From d848cbd2af2a09a0d8a220e4c087938902392b37 Mon Sep 17 00:00:00 2001 From: Tom David Mueller Date: Sun, 10 Aug 2025 14:38:20 +0200 Subject: [PATCH 01/21] adjust start page to have big buttons --- content/quickstart.py | 349 ++++++++++++++++++++++++++++++++++++++---- 1 file changed, 315 insertions(+), 34 deletions(-) diff --git a/content/quickstart.py b/content/quickstart.py index 2e3de961..6c381e83 100644 --- a/content/quickstart.py +++ b/content/quickstart.py @@ -5,47 +5,328 @@ page_setup(page="main") -st.markdown("# 👋 Quick Start") -st.markdown("## FLASHApp") - +def inject_workflow_button_css(): + """Inject CSS for custom workflow button styling with responsive design.""" + st.markdown( + """ + + """, + unsafe_allow_html=True, + ) -# main content -st.markdown('#### FLASHApp: A Platform for Your Favorite FLASH\* Tools!') +def create_workflow_button(emoji, title, subtitle, workflow_key, page_name): + """Create a workflow selection button with navigation.""" + button_html = f""" +
+
{emoji}
+
{title}
+
{subtitle}
+
+ """ + + if st.markdown(button_html, unsafe_allow_html=True): + return True + return False -st.info(""" - **💡 How to run FLASHApp** - 1. Go to the **⚙️ Workflow** page through the sidebar and run your analysis.\ - OR, go to the **📁 File Upload** page through the sidebar and upload FLASHDeconv output files (\*_annotated.mzML & \*_deconv.mzML) - 2. Click the **👀 Viewer** page on the sidebar to view the results in detail. - """) +def create_navigation_button(emoji, title, subtitle, page_path): + """Create a workflow button that navigates to the specified page.""" + button_html = f""" +
+
{emoji}
+
{title}
+
{subtitle}
+
+ """ + + # Display the styled button + st.markdown(button_html, unsafe_allow_html=True) + + # Create a button for navigation + if st.button(f"Start {title}", key=f"{title.lower()}_nav_btn", use_container_width=True, type="primary"): + st.switch_page(page_path) -if Path("OpenMS-App.zip").exists(): - st.subheader( +def render_workflow_selection(): + """Render the main workflow selection section.""" + # Hero section + st.markdown( """ -Download the latest version for Windows here by clicking the button below. -""" +
+

👋 Quick Start

+

FLASHApp: Choose Your Analysis Workflow

+
+ """, + unsafe_allow_html=True, ) - with open("OpenMS-App.zip", "rb") as file: - st.download_button( - label="Download for Windows", - data=file, - file_name="OpenMS-App.zip", - mime="archive/zip", - type="primary", + + # Main workflow selection buttons in 3-column layout + col1, col2, col3 = st.columns(3) + + with col1: + create_navigation_button( + "⚡️", + "Deconvolution", + "FLASHDeconv", + "content/FLASHDeconv/FLASHDeconvWorkflow.py" + ) + + with col2: + create_navigation_button( + "🧨", + "Identification", + "FLASHTnT", + "content/FLASHTnT/FLASHTnTWorkflow.py" ) + + with col3: + create_navigation_button( + "📊", + "Quantification", + "FLASHQuant", + "content/FLASHQuant/FLASHQuantFileUpload.py" + ) + +def render_enhanced_download_section(): + """Render the enhanced Windows download section.""" + if Path("OpenMS-App.zip").exists(): + st.markdown( + """ +
+

🪟 Download for Windows

+

Get the standalone Windows application for offline use

+
+ """, + unsafe_allow_html=True, + ) + + # Center the download button + col1, col2, col3 = st.columns([1, 2, 1]) + with col2: + with open("OpenMS-App.zip", "rb") as file: + st.download_button( + label="📥 Download for Windows", + data=file, + file_name="OpenMS-App.zip", + mime="archive/zip", + type="primary", + use_container_width=True, + ) + + st.markdown( + """ +
+ Extract the zip file and run the installer (.msi) to install the app.
+ Launch using the desktop icon after installation. +
+ """, + unsafe_allow_html=True, + ) + +def render_footer(): + """Render the footer section with new features and OpenMS logo.""" st.markdown( """ -Extract the zip file and run the installer (.msi) file to install the app. The app can then be launched using the corresponding desktop icon. -""" + ", unsafe_allow_html=True) -c1, c2 = st.columns(2) -c1.markdown( - """ -## ⭐ New - -- FLASHViewer is now FLASHApp -- Want to save your progress or share it with your team? Simply bookmark / share the URL! -""" -) -c2.image("assets/OpenMS.png", width=300) +# Main execution +def main(): + """Main function to render the quickstart page.""" + # Inject custom CSS + inject_workflow_button_css() + + # Render main sections + render_workflow_selection() + + v_space(2) + + render_enhanced_download_section() + + render_footer() + +# Execute main function +if __name__ == "__main__": + main() +else: + main() From 3bed97a0b9c5968fe8c820b8033657b4d84cea98 Mon Sep 17 00:00:00 2001 From: Tom David Mueller Date: Sun, 10 Aug 2025 14:53:24 +0200 Subject: [PATCH 02/21] styling --- content/quickstart.py | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/content/quickstart.py b/content/quickstart.py index 6c381e83..af33f2f1 100644 --- a/content/quickstart.py +++ b/content/quickstart.py @@ -37,18 +37,43 @@ def inject_workflow_button_css(): box-shadow: 0 8px 24px rgba(41, 55, 155, 0.3); } + .workflow-button:active { + background: linear-gradient(135deg, #1e2a7a 0%, #162159 100%); + border-color: #1e2a7a; + color: white !important; + transform: translateY(-2px) scale(0.98); + box-shadow: 0 4px 12px rgba(41, 55, 155, 0.4); + } + + .workflow-button:focus { + outline: 3px solid #29379b; + outline-offset: 2px; + } + .workflow-button:hover .workflow-emoji { transform: scale(1.1); } + .workflow-button:active .workflow-emoji { + transform: scale(1.05); + } + .workflow-button:hover .workflow-title { color: white !important; } + .workflow-button:active .workflow-title { + color: white !important; + } + .workflow-button:hover .workflow-subtitle { color: #e9ecef !important; } + .workflow-button:active .workflow-subtitle { + color: #e9ecef !important; + } + .workflow-emoji { font-size: 3.5rem; margin-bottom: 1rem; From 69ebc9ac53f61d54992abf7375fd17d098cc090f Mon Sep 17 00:00:00 2001 From: Tom David Mueller Date: Sun, 10 Aug 2025 16:11:35 +0200 Subject: [PATCH 03/21] remove duplicate styling --- content/quickstart.py | 131 +++++++++++++++++++++++++++++++++--------- 1 file changed, 105 insertions(+), 26 deletions(-) diff --git a/content/quickstart.py b/content/quickstart.py index af33f2f1..dc15d940 100644 --- a/content/quickstart.py +++ b/content/quickstart.py @@ -190,36 +190,115 @@ def inject_workflow_button_css(): unsafe_allow_html=True, ) -def create_workflow_button(emoji, title, subtitle, workflow_key, page_name): - """Create a workflow selection button with navigation.""" - button_html = f""" -
-
{emoji}
-
{title}
-
{subtitle}
-
- """ - - if st.markdown(button_html, unsafe_allow_html=True): - return True - return False - def create_navigation_button(emoji, title, subtitle, page_path): - """Create a workflow button that navigates to the specified page.""" - button_html = f""" -
-
{emoji}
-
{title}
-
{subtitle}
-
- """ + """Create a functional workflow button that navigates to the specified page.""" - # Display the styled button - st.markdown(button_html, unsafe_allow_html=True) + # Create unique key for this button + button_key = f"{title.lower().replace(' ', '_')}_nav_btn" - # Create a button for navigation - if st.button(f"Start {title}", key=f"{title.lower()}_nav_btn", use_container_width=True, type="primary"): + # Create the button with custom styling applied via CSS classes + button_label = f"{emoji} {title}" + + # Use Streamlit's button with custom styling + if st.button( + label=button_label, + key=button_key, + help=f"Navigate to {title} - {subtitle}", + use_container_width=True, + type="primary" + ): st.switch_page(page_path) + + # Apply custom CSS styling using the key-based selector approach + st.markdown( + f""" + + """, + unsafe_allow_html=True, + ) def render_workflow_selection(): """Render the main workflow selection section.""" From 0f17b20b7d90c76df5ec770d71e56d9f2ce4c228 Mon Sep 17 00:00:00 2001 From: Tom David Mueller Date: Sun, 10 Aug 2025 16:26:53 +0200 Subject: [PATCH 04/21] enable autoscaling --- content/quickstart.py | 118 +++++++++++++++++++++++++++++------------- 1 file changed, 81 insertions(+), 37 deletions(-) diff --git a/content/quickstart.py b/content/quickstart.py index dc15d940..3d012840 100644 --- a/content/quickstart.py +++ b/content/quickstart.py @@ -19,7 +19,7 @@ def inject_workflow_button_css(): text-align: center; cursor: pointer; transition: all 0.3s ease; - height: 240px; + height: max(280px, 20vh); display: flex; flex-direction: column; justify-content: center; @@ -75,21 +75,21 @@ def inject_workflow_button_css(): } .workflow-emoji { - font-size: 3.5rem; - margin-bottom: 1rem; + font-size: clamp(2.5rem, 4vw, 5rem); + margin-bottom: clamp(0.75rem, 1.5vh, 1.5rem); transition: transform 0.3s ease; } .workflow-title { - font-size: 1.5rem; + font-size: clamp(1.25rem, 2.5vw, 2rem); font-weight: 700; color: #29379b; - margin-bottom: 0.5rem; + margin-bottom: clamp(0.375rem, 0.75vh, 0.75rem); transition: color 0.3s ease; } .workflow-subtitle { - font-size: 1rem; + font-size: clamp(0.875rem, 1.5vw, 1.25rem); color: #6c757d; font-weight: 500; transition: color 0.3s ease; @@ -138,24 +138,44 @@ def inject_workflow_button_css(): border-top: 1px solid #dee2e6; } - /* Responsive design */ - @media (max-width: 768px) { + /* Responsive design with dynamic scaling */ + + /* Wide screens (> 1440px) - Maximum size */ + @media (min-width: 1441px) { .workflow-button { - height: 200px; - padding: 1.5rem 1rem; - margin-bottom: 1rem; + height: max(400px, 25vh); + padding: clamp(2.5rem, 3vw, 4rem) clamp(2rem, 2.5vw, 3rem); + max-width: 500px; + margin: 0 auto 1.5rem auto; } - - .workflow-emoji { - font-size: 2.5rem; + } + + /* Desktop (1024px - 1440px) - Significantly larger */ + @media (min-width: 1024px) and (max-width: 1440px) { + .workflow-button { + height: max(320px, 22vh); + padding: clamp(2rem, 2.5vw, 3rem) clamp(1.75rem, 2vw, 2.5rem); + max-width: 450px; + margin: 0 auto 1.25rem auto; } - - .workflow-title { - font-size: 1.25rem; + } + + /* Tablet (768px - 1023px) - Slightly larger */ + @media (min-width: 768px) and (max-width: 1023px) { + .workflow-button { + height: max(260px, 18vh); + padding: clamp(1.75rem, 2vw, 2.5rem) clamp(1.5rem, 1.75vw, 2rem); + max-width: 400px; + margin: 0 auto 1rem auto; } - - .workflow-subtitle { - font-size: 0.9rem; + } + + /* Mobile landscape (481px - 767px) - Moderate size */ + @media (min-width: 481px) and (max-width: 767px) { + .workflow-button { + height: max(240px, 16vh); + padding: 1.5rem 1.25rem; + margin-bottom: 1rem; } .hero-title { @@ -167,23 +187,46 @@ def inject_workflow_button_css(): } } + /* Mobile portrait (≤ 480px) - Compact size */ @media (max-width: 480px) { .workflow-button { - height: 180px; - padding: 1rem; - } - - .workflow-emoji { - font-size: 2rem; - } - - .workflow-title { - font-size: 1.1rem; + height: max(200px, 14vh); + padding: 1.25rem 1rem; + margin-bottom: 1rem; } .hero-title { font-size: 1.75rem; } + + .hero-subtitle { + font-size: 1rem; + } + } + + /* Optimize column spacing for workflow buttons */ + .main .block-container [data-testid="column"] { + padding-left: 0.5rem !important; + padding-right: 0.5rem !important; + } + + /* Ensure first and last columns have proper edge spacing */ + .main .block-container [data-testid="column"]:first-child { + padding-left: 0 !important; + } + + .main .block-container [data-testid="column"]:last-child { + padding-right: 0 !important; + } + + /* Reduce button margins for tighter layout */ + .workflow-button { + margin-bottom: 0.5rem !important; + } + + /* Container spacing optimization */ + .stColumn > div { + padding-top: 0 !important; } """, @@ -219,13 +262,13 @@ def create_navigation_button(emoji, title, subtitle, page_path): border: 2px solid #dee2e6 !important; border-radius: 12px !important; padding: 2rem 1.5rem !important; - height: 240px !important; - min-height: 240px !important; + height: max(280px, 20vh) !important; + min-height: max(280px, 20vh) !important; box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important; transition: all 0.3s ease !important; margin-bottom: 1rem !important; color: #29379b !important; - font-size: 1.5rem !important; + font-size: clamp(1.25rem, 2.5vw, 2rem) !important; font-weight: 700 !important; display: flex !important; flex-direction: column !important; @@ -238,7 +281,7 @@ def create_navigation_button(emoji, title, subtitle, page_path): .st-key-{button_key} button p {{ color: #29379b !important; - font-size: 1.5rem !important; + font-size: clamp(1.25rem, 2.5vw, 2rem) !important; font-weight: 700 !important; margin: 0 !important; }} @@ -278,7 +321,7 @@ def create_navigation_button(emoji, title, subtitle, page_path): .st-key-{button_key} button::after {{ content: "{subtitle}"; display: block; - font-size: 1rem !important; + font-size: clamp(0.875rem, 1.5vw, 1.25rem) !important; font-weight: 500 !important; color: #6c757d !important; margin-top: 0.5rem !important; @@ -313,8 +356,9 @@ def render_workflow_selection(): unsafe_allow_html=True, ) - # Main workflow selection buttons in 3-column layout - col1, col2, col3 = st.columns(3) + # Main workflow selection buttons with centered, compact layout + # Use spacing columns to center buttons and prevent wide-screen spreading + spacer1, col1, col2, col3, spacer2 = st.columns([1, 2, 2, 2, 1], gap="small") with col1: create_navigation_button( From b7cd8a973d9494a67c655ebc8abe2043007355a7 Mon Sep 17 00:00:00 2001 From: Tom David Mueller Date: Sun, 10 Aug 2025 16:37:11 +0200 Subject: [PATCH 05/21] update header --- content/quickstart.py | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/content/quickstart.py b/content/quickstart.py index 3d012840..36187c93 100644 --- a/content/quickstart.py +++ b/content/quickstart.py @@ -345,17 +345,31 @@ def create_navigation_button(emoji, title, subtitle, page_path): def render_workflow_selection(): """Render the main workflow selection section.""" - # Hero section + # Hero section with title on left and OpenMS logo on right st.markdown( """
-

👋 Quick Start

-

FLASHApp: Choose Your Analysis Workflow

-
""", unsafe_allow_html=True, ) + # Create columns for title and logo + spacer1, title_col, logo_col, spacer2 = st.columns([1, 4.5, 1.5, 1]) + + with title_col: + st.markdown( + """ +

👋 FLASHApp

+

A platform for your favourite FLASH Tools!

+ """, + unsafe_allow_html=True, + ) + + with logo_col: + st.image("assets/OpenMS.png", width=200) + + st.markdown("", unsafe_allow_html=True) + # Main workflow selection buttons with centered, compact layout # Use spacing columns to center buttons and prevent wide-screen spreading spacer1, col1, col2, col3, spacer2 = st.columns([1, 2, 2, 2, 1], gap="small") From 8bbf1044987e02cadf3466696f6969396c7b0705 Mon Sep 17 00:00:00 2001 From: Tom David Mueller Date: Sun, 10 Aug 2025 16:43:06 +0200 Subject: [PATCH 06/21] minor styling --- content/quickstart.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/content/quickstart.py b/content/quickstart.py index 36187c93..ea57dce6 100644 --- a/content/quickstart.py +++ b/content/quickstart.py @@ -481,14 +481,9 @@ def main(): # Render main sections render_workflow_selection() - v_space(2) render_enhanced_download_section() render_footer() -# Execute main function -if __name__ == "__main__": - main() -else: - main() +main() From 83f67d4b69de74e46c1f32bee5c0da33f52269fb Mon Sep 17 00:00:00 2001 From: Tom David Mueller Date: Sun, 10 Aug 2025 17:03:26 +0200 Subject: [PATCH 07/21] make offline mode less prominent --- content/quickstart.py | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/content/quickstart.py b/content/quickstart.py index ea57dce6..805e423a 100644 --- a/content/quickstart.py +++ b/content/quickstart.py @@ -399,28 +399,41 @@ def render_workflow_selection(): ) def render_enhanced_download_section(): - """Render the enhanced Windows download section.""" if Path("OpenMS-App.zip").exists(): + # Add spacing + st.markdown("


", unsafe_allow_html=True) + st.markdown( """ -
-

🪟 Download for Windows

-

Get the standalone Windows application for offline use

+
+

+ Want to use FLASHApp offline? +

+

+ FLASHApp is best enjoyed online but you can download an offline version for Windows systems below. +

""", unsafe_allow_html=True, ) - # Center the download button - col1, col2, col3 = st.columns([1, 2, 1]) + # Center the download button with smaller size + col1, col2, col3 = st.columns([2, 2, 2]) with col2: with open("OpenMS-App.zip", "rb") as file: st.download_button( - label="📥 Download for Windows", + label="📥 Download ZIP", data=file, file_name="OpenMS-App.zip", mime="archive/zip", - type="primary", + type="secondary", use_container_width=True, ) From 181d1832fea8f7ce188774373ed496f9c362f01c Mon Sep 17 00:00:00 2001 From: Tom David Mueller Date: Sun, 10 Aug 2025 17:14:13 +0200 Subject: [PATCH 08/21] finalize quickstart --- content/quickstart.py | 126 ++++++++++++++++++------------------------ 1 file changed, 53 insertions(+), 73 deletions(-) diff --git a/content/quickstart.py b/content/quickstart.py index 805e423a..267eed2c 100644 --- a/content/quickstart.py +++ b/content/quickstart.py @@ -403,87 +403,68 @@ def render_enhanced_download_section(): # Add spacing st.markdown("


", unsafe_allow_html=True) - st.markdown( - """ -
+ # Create Streamlit container with key for styling (similar to button approach) + container_key = "windows_download_container" + + with st.container(key=container_key): + st.markdown( + """

Want to use FLASHApp offline?

-

+

FLASHApp is best enjoyed online but you can download an offline version for Windows systems below.

-
- """, - unsafe_allow_html=True, - ) - - # Center the download button with smaller size - col1, col2, col3 = st.columns([2, 2, 2]) - with col2: - with open("OpenMS-App.zip", "rb") as file: - st.download_button( - label="📥 Download ZIP", - data=file, - file_name="OpenMS-App.zip", - mime="archive/zip", - type="secondary", - use_container_width=True, - ) - - st.markdown( - """ -
- Extract the zip file and run the installer (.msi) to install the app.
- Launch using the desktop icon after installation. -
- """, - unsafe_allow_html=True, - ) - -def render_footer(): - """Render the footer section with new features and OpenMS logo.""" - st.markdown( - """ - ", unsafe_allow_html=True) # Main execution def main(): @@ -497,6 +478,5 @@ def main(): render_enhanced_download_section() - render_footer() main() From e4ef45c939a811ec43b33cb3e93f1d30194b0928 Mon Sep 17 00:00:00 2001 From: Tom David Mueller Date: Sun, 10 Aug 2025 18:49:05 +0200 Subject: [PATCH 09/21] fix float display --- src/workflow/StreamlitUI.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/workflow/StreamlitUI.py b/src/workflow/StreamlitUI.py index a8f7cf51..bb76e9d3 100644 --- a/src/workflow/StreamlitUI.py +++ b/src/workflow/StreamlitUI.py @@ -749,6 +749,7 @@ def display_TOPP_params(params: dict, num_cols): value=float(p["value"]), step=1.0, help=p["description"], + format="%0.5f", key=key, ) From fda9a838a37f0f45488fda81a7ac1b58819ec450 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=20David=20M=C3=BCller?= <57191390+t0mdavid-m@users.noreply.github.com> Date: Sun, 10 Aug 2025 19:29:23 +0200 Subject: [PATCH 10/21] pin autowrap --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5f5caebc..362d4592 100644 --- a/Dockerfile +++ b/Dockerfile @@ -80,7 +80,7 @@ SHELL ["mamba", "run", "-n", "streamlit-env", "/bin/bash", "-c"] # Install up-to-date cmake via mamba and packages for pyOpenMS build. RUN mamba install cmake -RUN pip install --upgrade pip && python -m pip install -U setuptools nose 'Cython<3.1' autowrap pandas 'numpy==1.26.4' pytest +RUN pip install --upgrade pip && python -m pip install -U setuptools nose 'Cython<3.1' 'autowrap<0.23' pandas 'numpy==1.26.4' pytest # Clone OpenMS branch and the associcated contrib+thirdparties+pyOpenMS-doc submodules. RUN git clone --recursive --depth=1 -b ${OPENMS_BRANCH} --single-branch ${OPENMS_REPO} && cd /OpenMS From 9a87fcfbffa54d77726677bb5fa6755c96a47f45 Mon Sep 17 00:00:00 2001 From: Tom David Mueller Date: Mon, 11 Aug 2025 08:12:53 +0200 Subject: [PATCH 11/21] fix Z handling --- src/render/sequence.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/render/sequence.py b/src/render/sequence.py index 48b83bc5..5cb0b4e2 100644 --- a/src/render/sequence.py +++ b/src/render/sequence.py @@ -166,7 +166,8 @@ def getFragmentDataFromSeq(sequence, coverage=None, maxCoverage=None, modificati 'W': 186.079313, 'Y': 163.063329, 'V': 99.068414, - 'X' : 0 + 'X' : 0, + 'Z' : 0, # Glx does not have defined mass } def isMatchWithTolerance(A, t, s): From 866301b6dafbc1b286405569a3653fb2b7ba057d Mon Sep 17 00:00:00 2001 From: Tom David Mueller Date: Mon, 11 Aug 2025 08:14:10 +0200 Subject: [PATCH 12/21] bump version --- .github/workflows/build-windows-executable-app.yaml | 2 +- settings.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-windows-executable-app.yaml b/.github/workflows/build-windows-executable-app.yaml index feb31e08..4f6494d6 100644 --- a/.github/workflows/build-windows-executable-app.yaml +++ b/.github/workflows/build-windows-executable-app.yaml @@ -14,7 +14,7 @@ env: OPENMS_VERSION: 3.2.0 PYTHON_VERSION: 3.11.0 # Name of the installer - APP_NAME: FLASHApp-0.8.4 + APP_NAME: FLASHApp-0.9.0 APP_UpgradeCode: "69ae44ad-d554-4e3c-8715-7c4daf60f8bb" jobs: diff --git a/settings.json b/settings.json index 58bbb506..6d2f884e 100644 --- a/settings.json +++ b/settings.json @@ -1,7 +1,7 @@ { "app-name": "FLASHApp", "github-user": "OpenMS", - "version": "0.8.4", + "version": "0.9.0", "repository-name": "FLASHApp", "analytics": { "google-analytics": { From 1dfa9c52e6460fc7ab2c6606e289ff3914943722 Mon Sep 17 00:00:00 2001 From: Tom David Mueller Date: Wed, 13 Aug 2025 18:28:54 +0200 Subject: [PATCH 13/21] add support for ms1/2 heatmaps --- .../FLASHDeconv/FLASHDeconvLayoutManager.py | 4 ++ src/parse/deconv.py | 30 +++++++----- src/parse/masstable.py | 9 ++++ src/render/initialize.py | 49 ++++++++++++++++++- src/render/update.py | 14 +++--- 5 files changed, 85 insertions(+), 21 deletions(-) diff --git a/content/FLASHDeconv/FLASHDeconvLayoutManager.py b/content/FLASHDeconv/FLASHDeconvLayoutManager.py index 987a7356..a86164f5 100644 --- a/content/FLASHDeconv/FLASHDeconvLayoutManager.py +++ b/content/FLASHDeconv/FLASHDeconvLayoutManager.py @@ -8,7 +8,9 @@ COMPONENT_OPTIONS=[ 'MS1 raw heatmap', + 'MS2 raw heatmap', 'MS1 deconvolved heatmap', + 'MS2 deconvolved heatmap', 'Scan table', 'Deconvolved spectrum (Scan table needed)', 'Raw spectrum (Scan table needed)', @@ -20,7 +22,9 @@ COMPONENT_NAMES=[ 'ms1_raw_heatmap', + 'ms2_raw_heatmap', 'ms1_deconv_heat_map', + 'ms2_deconv_heat_map', 'scan_table', 'deconv_spectrum', 'anno_spectrum', diff --git a/src/parse/deconv.py b/src/parse/deconv.py index d7d6bb87..8f74ec93 100644 --- a/src/parse/deconv.py +++ b/src/parse/deconv.py @@ -22,22 +22,26 @@ def parseDeconv( # Create full sized version heatmap = getMSSignalDF(df) - # Store full sized version - file_manager.store_data( - dataset_id, f'ms1_{descriptor}_heatmap', heatmap - ) - - # Store compressed versions - for size in reversed(compute_compression_levels(20000, len(heatmap), logger=logger)): - + for ms_level in [1, 2]: - # Downsample iteratively - heatmap = downsample_heatmap(heatmap, max_datapoints=size) - # Store compressed version + relevant_heatmap = heatmap[heatmap['MSLevel'] == ms_level].drop(columns=['MSLevel']) + + # Store full sized version file_manager.store_data( - dataset_id, f'ms1_{descriptor}_heatmap_{size}', heatmap + dataset_id, f'ms{ms_level}_{descriptor}_heatmap', relevant_heatmap ) - + + # Store compressed versions + for size in reversed(compute_compression_levels(20000, len(relevant_heatmap), logger=logger)): + + + # Downsample iteratively + relevant_heatmap = downsample_heatmap(relevant_heatmap, max_datapoints=size) + # Store compressed version + file_manager.store_data( + dataset_id, f'ms{ms_level}_{descriptor}_heatmap_{size}', relevant_heatmap + ) + spectra_df = getSpectraTableDF(deconv_df) # scan_table diff --git a/src/parse/masstable.py b/src/parse/masstable.py index 53e6d9ad..dfd7a76a 100644 --- a/src/parse/masstable.py +++ b/src/parse/masstable.py @@ -176,6 +176,7 @@ def parseFLASHDeconvOutput(annotated, deconvolved, logger=None): df['NoisyPeaks'] = noisyPeaks df['CombinedPeaks'] = noisyPeaks df['MSLevel'] = msLevels + annotateddf['MSLevel'] = msLevels df['Scan'] = scans return df, annotateddf, tolerance, massoffset, chargemass @@ -214,6 +215,13 @@ def getMSSignalDF(anno_df: pd.DataFrame): ], dtype=np.float32 ) + levels = np.concatenate( + [ + [anno_df.loc[index, 'MSLevel']]*len(anno_df.loc[index, "intarray"]) + for index in anno_df.index + ], + dtype=np.int32 + ) mzs = np.concatenate( [ anno_df.loc[index, "mzarray"] @@ -232,6 +240,7 @@ def getMSSignalDF(anno_df: pd.DataFrame): ms_df = pd.DataFrame({ 'mass': mzs, 'rt': rts, 'intensity': ints, 'scan_idx': scan_idxs, 'mass_idx': mass_idxs, + 'MSLevel' : levels }) ms_df.dropna(subset=['intensity'], inplace=True) # remove Nan diff --git a/src/render/initialize.py b/src/render/initialize.py index b8988934..4ac6e1fd 100644 --- a/src/render/initialize.py +++ b/src/render/initialize.py @@ -32,6 +32,28 @@ def initialize_data(comp_name, selected_data, file_manager, tool): additional_data['deconv_heatmap_df'] = cached_compression_levels component_arguments = PlotlyHeatmap(title="Deconvolved MS1 Heatmap") + elif comp_name == 'ms2_deconv_heat_map': + + # Fetch full dataset + data_full = file_manager.get_results( + selected_data, ['ms2_deconv_heatmap'] + )['ms2_deconv_heatmap'] + + # Fetch all caches + cached_compression_levels = [] + for size in compute_compression_levels(20000, len(data_full)): + cached_compression_levels.append( + file_manager.get_results( + selected_data, [f'ms2_deconv_heatmap_{size}'] + )[f'ms2_deconv_heatmap_{size}'] + ) + cached_compression_levels.append(data_full) + + # Get smallest compression level + data_to_send['deconv_heatmap_df'] = cached_compression_levels[0] + + additional_data['deconv_heatmap_df'] = cached_compression_levels + component_arguments = PlotlyHeatmap(title="Deconvolved MS2 Heatmap") elif comp_name == 'ms1_raw_heatmap': @@ -56,6 +78,29 @@ def initialize_data(comp_name, selected_data, file_manager, tool): additional_data['raw_heatmap_df'] = cached_compression_levels component_arguments = PlotlyHeatmap(title="Raw MS1 Heatmap") + elif comp_name == 'ms2_raw_heatmap': + + # Fetch full dataset + data_full = file_manager.get_results( + selected_data, ['ms2_raw_heatmap'] + )['ms2_raw_heatmap'] + + # Fetch all caches + cached_compression_levels = [] + for size in compute_compression_levels(20000, len(data_full)): + cached_compression_levels.append( + file_manager.get_results( + selected_data, [f'ms2_raw_heatmap_{size}'] + )[f'ms2_raw_heatmap_{size}'] + ) + cached_compression_levels.append(data_full) + + # Get smallest compression level + data_to_send['raw_heatmap_df'] = cached_compression_levels[0] + + additional_data['raw_heatmap_df'] = cached_compression_levels + + component_arguments = PlotlyHeatmap(title="Raw MS2 Heatmap") elif comp_name == 'scan_table': data = file_manager.get_results(selected_data, ['scan_table']) data_to_send['per_scan_data'] = data['scan_table'] @@ -69,8 +114,8 @@ def initialize_data(comp_name, selected_data, file_manager, tool): data_to_send['per_scan_data'] = data['combined_spectrum'] component_arguments = PlotlyLineplotTagger(title="Augmented Deconvolved Spectrum") elif comp_name == 'anno_spectrum': - data = file_manager.get_results(selected_data, ['anno_spectrum']) - data_to_send['per_scan_data'] = data['anno_spectrum'] + data = file_manager.get_results(selected_data, ['combined_spectrum']) + data_to_send['per_scan_data'] = data['combined_spectrum'] component_arguments = PlotlyLineplot(title="Annotated Spectrum") elif comp_name == 'mass_table': data = file_manager.get_results(selected_data, ['mass_table']) diff --git a/src/render/update.py b/src/render/update.py index c696ee02..dd432dd7 100644 --- a/src/render/update.py +++ b/src/render/update.py @@ -110,18 +110,20 @@ def filter_data(data, out_components, selection_store, additional_data, tool): data['per_scan_data'] = filtered_table - elif (component == 'Deconvolved MS1 Heatmap'): - if 'heatmap_deconv' in selection_store: + elif (component in ['Deconvolved MS1 Heatmap', 'Deconvolved MS2 Heatmap']): + selection = 'heatmap_deconv' if '1' in component else 'heatmap_deconv2' + if selection in selection_store: data['deconv_heatmap_df'] = render_heatmap( additional_data['deconv_heatmap_df'], - selection_store['heatmap_deconv'], + selection_store[selection], additional_data['dataset'], component ) - elif (component == 'Raw MS1 Heatmap'): - if 'heatmap_raw' in selection_store: + elif (component == ['Raw MS1 Heatmap', 'Raw MS2 Heatmap']): + selection = 'heatmap_raw' if '1' in component else 'heatmap_raw2' + if selection in selection_store: data['raw_heatmap_df'] = render_heatmap( additional_data['raw_heatmap_df'], - selection_store['heatmap_raw'], + selection_store[selection], additional_data['dataset'], component ) From a029399bc33ad2fd112dd68e5dbf15807e352afd Mon Sep 17 00:00:00 2001 From: Tom David Mueller Date: Thu, 14 Aug 2025 15:20:58 +0200 Subject: [PATCH 14/21] fix download on windows --- content/FLASHDeconv/FLASHDeconvDownload.py | 2 +- content/FLASHTnT/FLASHTnTDownload.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/FLASHDeconv/FLASHDeconvDownload.py b/content/FLASHDeconv/FLASHDeconvDownload.py index 43b2f9aa..090377c1 100644 --- a/content/FLASHDeconv/FLASHDeconvDownload.py +++ b/content/FLASHDeconv/FLASHDeconvDownload.py @@ -62,7 +62,7 @@ zip_buffer.seek(0) file_manager.store_file( experiment, 'download_archive', zip_buffer, - file_name=f'{experiment}.zip' + file_name='download_archive.zip' ) out_zip = file_manager.get_results( experiment, ['download_archive'] diff --git a/content/FLASHTnT/FLASHTnTDownload.py b/content/FLASHTnT/FLASHTnTDownload.py index d8df98ae..ba9d0c42 100644 --- a/content/FLASHTnT/FLASHTnTDownload.py +++ b/content/FLASHTnT/FLASHTnTDownload.py @@ -62,7 +62,7 @@ zip_buffer.seek(0) file_manager.store_file( experiment, 'download_archive', zip_buffer, - file_name=f'{experiment}.zip' + file_name='download_archive.zip' ) out_zip = file_manager.get_results( experiment, ['download_archive'] From 85b620f01e3f38403ba5f6f8fcf83509ca1e7166 Mon Sep 17 00:00:00 2001 From: Tom David Mueller Date: Thu, 14 Aug 2025 15:31:55 +0200 Subject: [PATCH 15/21] strip string values in parameter handling --- src/workflow/ParameterManager.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/workflow/ParameterManager.py b/src/workflow/ParameterManager.py index 4348da7c..85a6e06c 100644 --- a/src/workflow/ParameterManager.py +++ b/src/workflow/ParameterManager.py @@ -71,6 +71,8 @@ def save_parameters(self) -> None: (ini_value != value) or (key.split(":1:")[1] in json_params[tool]) ): + if isinstance(value, str): + value = value.strip() # store non-default value json_params[tool][key.split(":1:")[1]] = value # Save to json file From 8da3b0f85bd5d24b152a0e220856b5f504b7438a Mon Sep 17 00:00:00 2001 From: Tom David Mueller Date: Thu, 14 Aug 2025 15:39:48 +0200 Subject: [PATCH 16/21] improve content messaging --- content/quickstart.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/content/quickstart.py b/content/quickstart.py index 267eed2c..f830a889 100644 --- a/content/quickstart.py +++ b/content/quickstart.py @@ -413,7 +413,7 @@ def render_enhanced_download_section(): Want to use FLASHApp offline?

- FLASHApp is best enjoyed online but you can download an offline version for Windows systems below. + FLASHApp is best enjoyed online but you can download an offline version for Windows systems below.

""", unsafe_allow_html=True, @@ -436,8 +436,9 @@ def render_enhanced_download_section(): st.markdown( """
- Extract the zip file and run the installer (.msi) to install the app.
- Launch using the desktop icon after installation. + Extract the zip file and run the installer (.msi) to install the app. + Launch using the desktop icon after installation.
+ Even offline, it’s still a web app - just packaged so you can use it without an internet connection.
""", unsafe_allow_html=True, From a0a27c5bdc46717fda1e24d6e979eae18672cb6a Mon Sep 17 00:00:00 2001 From: Tom David Mueller Date: Thu, 14 Aug 2025 16:12:07 +0200 Subject: [PATCH 17/21] add link to CLI tools --- content/quickstart.py | 227 +++++++++++++++++++++++++++++------------- 1 file changed, 160 insertions(+), 67 deletions(-) diff --git a/content/quickstart.py b/content/quickstart.py index f830a889..a0ffb0fd 100644 --- a/content/quickstart.py +++ b/content/quickstart.py @@ -5,6 +5,160 @@ page_setup(page="main") +def render_download_box(container_key, title, description, icon="", subtitle=""): + """Render a styled download box container with consistent styling.""" + with st.container(key=container_key): + st.markdown( + f""" +

+ {icon} {title} +

+

+ {description} +

+ """, + unsafe_allow_html=True, + ) + + # Return context for button placement + return st.columns([1, 2, 1]) + +def render_windows_download_box(): + """Render the Windows app download box.""" + if not Path("OpenMS-App.zip").exists(): + return False + + cols = render_download_box( + container_key="windows_download_container", + title="FLASHApp for Windows", + description="FLASHApp is best enjoyed online but you can download an offline version for Windows systems below.", + icon="" + ) + + # Center the download button + with cols[1]: + with open("OpenMS-App.zip", "rb") as file: + st.download_button( + label="📥 Download for Windows", + data=file, + file_name="OpenMS-App.zip", + mime="archive/zip", + type="secondary", + use_container_width=True, + help="Download FLASHApp for Windows systems" + ) + + # Add subtitle text + st.markdown( + """ +
+ Extract the zip file and run the installer (.msi) to install the app. + Launch using the desktop icon after installation.
+ Even offline, it's still a web app - just packaged so you can use it without an internet connection. +
+ """, + unsafe_allow_html=True, + ) + + return True + +def render_flash_cli_tools_box(): + """Render the FLASH* command line tools box.""" + cols = render_download_box( + container_key="flash_cli_tools_container", + title="FLASH* Command Line Tools", + description="Access FLASH* tools (FLASHDeconv, FLASHTnT, etc.) through the command line interface as part of OpenMS.", + icon="" + ) + + # Center the link button using Streamlit button with custom styling + with cols[1]: + + st.link_button( + "📥 Download Command Line Tools", + "https://openms.readthedocs.io/en/latest/getting-started/installation.html", + type="secondary", # matches the solid/primary button look + ) + + + # Add subtitle text + st.markdown( + """ +
+ FLASH* tools are a part of the OpenMS TOPP tools and can be used via command line interface for advanced custom automated workflows and scripting. +
+ """, + unsafe_allow_html=True, + ) + +def apply_download_box_styling(container_key): + """Apply consistent styling to a download box container.""" + st.markdown( + f""" + + """, + unsafe_allow_html=True, + ) + +def render_download_boxes_responsive(): + """Render download boxes in a responsive layout.""" + # Collect available boxes + available_boxes = [] + + # Check if Windows download is available + if Path("OpenMS-App.zip").exists(): + available_boxes.append("windows") + + # Always include FLASH* CLI tools + available_boxes.append("flash_cli") + + num_boxes = len(available_boxes) + + if num_boxes == 0: + return + + # Section header + st.markdown( + """ +

+ Want to use FLASHApp offline? +

+ """, + unsafe_allow_html=True, + ) + + # Render boxes based on count + if num_boxes == 1: + # Single box: centered + spacer1, center_col, spacer2 = st.columns([1, 2, 1]) + render_flash_cli_tools_box() + apply_download_box_styling("flash_cli_tools_container") + + elif num_boxes == 2: + # Two boxes: side by side + col1, col2 = st.columns(2) + with col1: + render_windows_download_box() + apply_download_box_styling("windows_download_container") + with col2: + render_flash_cli_tools_box() + apply_download_box_styling("flash_cli_tools_container") + + def inject_workflow_button_css(): """Inject CSS for custom workflow button styling with responsive design.""" st.markdown( @@ -399,73 +553,12 @@ def render_workflow_selection(): ) def render_enhanced_download_section(): - if Path("OpenMS-App.zip").exists(): - # Add spacing - st.markdown("


", unsafe_allow_html=True) - - # Create Streamlit container with key for styling (similar to button approach) - container_key = "windows_download_container" - - with st.container(key=container_key): - st.markdown( - """ -

- Want to use FLASHApp offline? -

-

- FLASHApp is best enjoyed online but you can download an offline version for Windows systems below. -

- """, - unsafe_allow_html=True, - ) - - # Center the Windows download button - col1, col2, col3 = st.columns([2, 2, 2]) - with col2: - with open("OpenMS-App.zip", "rb") as file: - st.download_button( - label="📥 Download for Windows", - data=file, - file_name="OpenMS-App.zip", - mime="archive/zip", - type="secondary", - use_container_width=True, - help="Download FLASHApp for Windows systems" - ) - - st.markdown( - """ -
- Extract the zip file and run the installer (.msi) to install the app. - Launch using the desktop icon after installation.
- Even offline, it’s still a web app - just packaged so you can use it without an internet connection. -
- """, - unsafe_allow_html=True, - ) - - # Apply container styling using key-based CSS targeting (similar to button styling approach) - st.markdown( - f""" - - """, - unsafe_allow_html=True, - ) + """Render the enhanced download section with modular components.""" + # Add spacing + st.markdown("


", unsafe_allow_html=True) + + # Render download boxes using responsive layout + render_download_boxes_responsive() # Main execution def main(): From a3e7d9f12a35c0fa4f8beea4340a440a81f955f6 Mon Sep 17 00:00:00 2001 From: Tom David Mueller Date: Thu, 14 Aug 2025 16:35:14 +0200 Subject: [PATCH 18/21] fix layout --- content/quickstart.py | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/content/quickstart.py b/content/quickstart.py index a0ffb0fd..90a44aea 100644 --- a/content/quickstart.py +++ b/content/quickstart.py @@ -76,7 +76,8 @@ def render_flash_cli_tools_box(): st.link_button( "📥 Download Command Line Tools", - "https://openms.readthedocs.io/en/latest/getting-started/installation.html", + "https://abibuilder.cs.uni-tuebingen.de/archive/openms/OpenMSInstaller/experimental/FVdeploy/", + use_container_width=True, type="secondary", # matches the solid/primary button look ) @@ -140,21 +141,19 @@ def render_download_boxes_responsive(): """, unsafe_allow_html=True, ) - + + spacer1, center_col, spacer2 = st.columns([2, 4, 2]) # Render boxes based on count if num_boxes == 1: # Single box: centered - spacer1, center_col, spacer2 = st.columns([1, 2, 1]) - render_flash_cli_tools_box() - apply_download_box_styling("flash_cli_tools_container") + with center_col: + render_flash_cli_tools_box() + apply_download_box_styling("flash_cli_tools_container") elif num_boxes == 2: - # Two boxes: side by side - col1, col2 = st.columns(2) - with col1: + with center_col: render_windows_download_box() apply_download_box_styling("windows_download_container") - with col2: render_flash_cli_tools_box() apply_download_box_styling("flash_cli_tools_container") From ad594162cae7b9382be3d348b9a1aa88e22b5ea0 Mon Sep 17 00:00:00 2001 From: Tom David Mueller Date: Thu, 14 Aug 2025 16:39:58 +0200 Subject: [PATCH 19/21] update vue --- .../{index-16b367b2.js => index-1a66aa50.js} | 278 +++++++++--------- ...{index-97c297ad.css => index-36755211.css} | 2 +- js-component/dist/index.html | 4 +- openms-streamlit-vue-component | 2 +- 4 files changed, 143 insertions(+), 143 deletions(-) rename js-component/dist/assets/{index-16b367b2.js => index-1a66aa50.js} (60%) rename js-component/dist/assets/{index-97c297ad.css => index-36755211.css} (56%) diff --git a/js-component/dist/assets/index-16b367b2.js b/js-component/dist/assets/index-1a66aa50.js similarity index 60% rename from js-component/dist/assets/index-16b367b2.js rename to js-component/dist/assets/index-1a66aa50.js index 6fd76cb0..a45506b1 100644 --- a/js-component/dist/assets/index-16b367b2.js +++ b/js-component/dist/assets/index-1a66aa50.js @@ -1,29 +1,29 @@ -(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const D of document.querySelectorAll('link[rel="modulepreload"]'))C(D);new MutationObserver(D=>{for(const k of D)if(k.type==="childList")for(const m of k.addedNodes)m.tagName==="LINK"&&m.rel==="modulepreload"&&C(m)}).observe(document,{childList:!0,subtree:!0});function r(D){const k={};return D.integrity&&(k.integrity=D.integrity),D.referrerPolicy&&(k.referrerPolicy=D.referrerPolicy),D.crossOrigin==="use-credentials"?k.credentials="include":D.crossOrigin==="anonymous"?k.credentials="omit":k.credentials="same-origin",k}function C(D){if(D.ep)return;D.ep=!0;const k=r(D);fetch(D.href,k)}})();function zx(n,e){const r=Object.create(null),C=n.split(",");for(let D=0;D!!r[D.toLowerCase()]:D=>!!r[D]}function Ys(n){if(gi(n)){const e={};for(let r=0;r{if(r){const C=r.split(i8);C.length>1&&(e[C[0].trim()]=C[1].trim())}}),e}function Qu(n){let e="";if(Po(n))e=n;else if(gi(n))for(let r=0;rPo(n)?n:n==null?"":gi(n)||so(n)&&(n.toString===yT||!Fi(n.toString))?JSON.stringify(n,mT,2):String(n),mT=(n,e)=>e&&e.__v_isRef?mT(n,e.value):Np(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((r,[C,D])=>(r[`${C} =>`]=D,r),{})}:gT(e)?{[`Set(${e.size})`]:[...e.values()]}:so(e)&&!gi(e)&&!bT(e)?String(e):e,io={},Bp=[],Dc=()=>{},u8=()=>!1,c8=/^on[^a-z]/,my=n=>c8.test(n),Fx=n=>n.startsWith("onUpdate:"),As=Object.assign,Bx=(n,e)=>{const r=n.indexOf(e);r>-1&&n.splice(r,1)},f8=Object.prototype.hasOwnProperty,ga=(n,e)=>f8.call(n,e),gi=Array.isArray,Np=n=>gy(n)==="[object Map]",gT=n=>gy(n)==="[object Set]",Fi=n=>typeof n=="function",Po=n=>typeof n=="string",Nx=n=>typeof n=="symbol",so=n=>n!==null&&typeof n=="object",vT=n=>so(n)&&Fi(n.then)&&Fi(n.catch),yT=Object.prototype.toString,gy=n=>yT.call(n),h8=n=>gy(n).slice(8,-1),bT=n=>gy(n)==="[object Object]",Vx=n=>Po(n)&&n!=="NaN"&&n[0]!=="-"&&""+parseInt(n,10)===n,fv=zx(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),vy=n=>{const e=Object.create(null);return r=>e[r]||(e[r]=n(r))},d8=/-(\w)/g,nc=vy(n=>n.replace(d8,(e,r)=>r?r.toUpperCase():"")),p8=/\B([A-Z])/g,h0=vy(n=>n.replace(p8,"-$1").toLowerCase()),sh=vy(n=>n.charAt(0).toUpperCase()+n.slice(1)),Q1=vy(n=>n?`on${sh(n)}`:""),xm=(n,e)=>!Object.is(n,e),hv=(n,e)=>{for(let r=0;r{Object.defineProperty(n,e,{configurable:!0,enumerable:!1,value:r})},kb=n=>{const e=parseFloat(n);return isNaN(e)?n:e},m8=n=>{const e=Po(n)?Number(n):NaN;return isNaN(e)?n:e};let c3;const g8=()=>c3||(c3=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let du;class xT{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=du,!e&&du&&(this.index=(du.scopes||(du.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const r=du;try{return du=this,e()}finally{du=r}}}on(){du=this}off(){du=this.parent}stop(e){if(this._active){let r,C;for(r=0,C=this.effects.length;r{const e=new Set(n);return e.w=0,e.n=0,e},wT=n=>(n.w&jh)>0,TT=n=>(n.n&jh)>0,y8=({deps:n})=>{if(n.length)for(let e=0;e{const{deps:e}=n;if(e.length){let r=0;for(let C=0;C{(i==="length"||i>=d)&&t.push(y)})}else switch(r!==void 0&&t.push(m.get(r)),e){case"add":gi(n)?Vx(r)&&t.push(m.get("length")):(t.push(m.get(Fd)),Np(n)&&t.push(m.get(Ab)));break;case"delete":gi(n)||(t.push(m.get(Fd)),Np(n)&&t.push(m.get(Ab)));break;case"set":Np(n)&&t.push(m.get(Fd));break}if(t.length===1)t[0]&&Sb(t[0]);else{const d=[];for(const y of t)y&&d.push(...y);Sb(jx(d))}}function Sb(n,e){const r=gi(n)?n:[...n];for(const C of r)C.computed&&h3(C);for(const C of r)C.computed||h3(C)}function h3(n,e){(n!==Lc||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}function x8(n,e){var r;return(r=Sv.get(n))===null||r===void 0?void 0:r.get(e)}const _8=zx("__proto__,__v_isRef,__isVue"),AT=new Set(Object.getOwnPropertyNames(Symbol).filter(n=>n!=="arguments"&&n!=="caller").map(n=>Symbol[n]).filter(Nx)),w8=Hx(),T8=Hx(!1,!0),k8=Hx(!0),d3=M8();function M8(){const n={};return["includes","indexOf","lastIndexOf"].forEach(e=>{n[e]=function(...r){const C=wi(this);for(let k=0,m=this.length;k{n[e]=function(...r){d0();const C=wi(this)[e].apply(this,r);return p0(),C}}),n}function A8(n){const e=wi(this);return Yl(e,"has",n),e.hasOwnProperty(n)}function Hx(n=!1,e=!1){return function(C,D,k){if(D==="__v_isReactive")return!n;if(D==="__v_isReadonly")return n;if(D==="__v_isShallow")return e;if(D==="__v_raw"&&k===(n?e?U8:IT:e?LT:ET).get(C))return C;const m=gi(C);if(!n){if(m&&ga(d3,D))return Reflect.get(d3,D,k);if(D==="hasOwnProperty")return A8}const t=Reflect.get(C,D,k);return(Nx(D)?AT.has(D):_8(D))||(n||Yl(C,"get",D),e)?t:eo(t)?m&&Vx(D)?t:t.value:so(t)?n?Hm(t):bl(t):t}}const S8=ST(),C8=ST(!0);function ST(n=!1){return function(r,C,D,k){let m=r[C];if(Yp(m)&&eo(m)&&!eo(D))return!1;if(!n&&(!Cv(D)&&!Yp(D)&&(m=wi(m),D=wi(D)),!gi(r)&&eo(m)&&!eo(D)))return m.value=D,!0;const t=gi(r)&&Vx(C)?Number(C)n,yy=n=>Reflect.getPrototypeOf(n);function Kg(n,e,r=!1,C=!1){n=n.__v_raw;const D=wi(n),k=wi(e);r||(e!==k&&Yl(D,"get",e),Yl(D,"get",k));const{has:m}=yy(D),t=C?Gx:r?$x:_m;if(m.call(D,e))return t(n.get(e));if(m.call(D,k))return t(n.get(k));n!==D&&n.get(e)}function Jg(n,e=!1){const r=this.__v_raw,C=wi(r),D=wi(n);return e||(n!==D&&Yl(C,"has",n),Yl(C,"has",D)),n===D?r.has(n):r.has(n)||r.has(D)}function Qg(n,e=!1){return n=n.__v_raw,!e&&Yl(wi(n),"iterate",Fd),Reflect.get(n,"size",n)}function p3(n){n=wi(n);const e=wi(this);return yy(e).has.call(e,n)||(e.add(n),th(e,"add",n,n)),this}function m3(n,e){e=wi(e);const r=wi(this),{has:C,get:D}=yy(r);let k=C.call(r,n);k||(n=wi(n),k=C.call(r,n));const m=D.call(r,n);return r.set(n,e),k?xm(e,m)&&th(r,"set",n,e):th(r,"add",n,e),this}function g3(n){const e=wi(this),{has:r,get:C}=yy(e);let D=r.call(e,n);D||(n=wi(n),D=r.call(e,n)),C&&C.call(e,n);const k=e.delete(n);return D&&th(e,"delete",n,void 0),k}function v3(){const n=wi(this),e=n.size!==0,r=n.clear();return e&&th(n,"clear",void 0,void 0),r}function ev(n,e){return function(C,D){const k=this,m=k.__v_raw,t=wi(m),d=e?Gx:n?$x:_m;return!n&&Yl(t,"iterate",Fd),m.forEach((y,i)=>C.call(D,d(y),d(i),k))}}function tv(n,e,r){return function(...C){const D=this.__v_raw,k=wi(D),m=Np(k),t=n==="entries"||n===Symbol.iterator&&m,d=n==="keys"&&m,y=D[n](...C),i=r?Gx:e?$x:_m;return!e&&Yl(k,"iterate",d?Ab:Fd),{next(){const{value:M,done:v}=y.next();return v?{value:M,done:v}:{value:t?[i(M[0]),i(M[1])]:i(M),done:v}},[Symbol.iterator](){return this}}}}function Sh(n){return function(...e){return n==="delete"?!1:this}}function O8(){const n={get(k){return Kg(this,k)},get size(){return Qg(this)},has:Jg,add:p3,set:m3,delete:g3,clear:v3,forEach:ev(!1,!1)},e={get(k){return Kg(this,k,!1,!0)},get size(){return Qg(this)},has:Jg,add:p3,set:m3,delete:g3,clear:v3,forEach:ev(!1,!0)},r={get(k){return Kg(this,k,!0)},get size(){return Qg(this,!0)},has(k){return Jg.call(this,k,!0)},add:Sh("add"),set:Sh("set"),delete:Sh("delete"),clear:Sh("clear"),forEach:ev(!0,!1)},C={get(k){return Kg(this,k,!0,!0)},get size(){return Qg(this,!0)},has(k){return Jg.call(this,k,!0)},add:Sh("add"),set:Sh("set"),delete:Sh("delete"),clear:Sh("clear"),forEach:ev(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(k=>{n[k]=tv(k,!1,!1),r[k]=tv(k,!0,!1),e[k]=tv(k,!1,!0),C[k]=tv(k,!0,!0)}),[n,r,e,C]}const[D8,z8,F8,B8]=O8();function qx(n,e){const r=e?n?B8:F8:n?z8:D8;return(C,D,k)=>D==="__v_isReactive"?!n:D==="__v_isReadonly"?n:D==="__v_raw"?C:Reflect.get(ga(r,D)&&D in C?r:C,D,k)}const N8={get:qx(!1,!1)},V8={get:qx(!1,!0)},j8={get:qx(!0,!1)},ET=new WeakMap,LT=new WeakMap,IT=new WeakMap,U8=new WeakMap;function H8(n){switch(n){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function G8(n){return n.__v_skip||!Object.isExtensible(n)?0:H8(h8(n))}function bl(n){return Yp(n)?n:Wx(n,!1,CT,N8,ET)}function q8(n){return Wx(n,!1,P8,V8,LT)}function Hm(n){return Wx(n,!0,R8,j8,IT)}function Wx(n,e,r,C,D){if(!so(n)||n.__v_raw&&!(e&&n.__v_isReactive))return n;const k=D.get(n);if(k)return k;const m=G8(n);if(m===0)return n;const t=new Proxy(n,m===2?C:r);return D.set(n,t),t}function Bh(n){return Yp(n)?Bh(n.__v_raw):!!(n&&n.__v_isReactive)}function Yp(n){return!!(n&&n.__v_isReadonly)}function Cv(n){return!!(n&&n.__v_isShallow)}function RT(n){return Bh(n)||Yp(n)}function wi(n){const e=n&&n.__v_raw;return e?wi(e):n}function Zp(n){return Av(n,"__v_skip",!0),n}const _m=n=>so(n)?bl(n):n,$x=n=>so(n)?Hm(n):n;function PT(n){Fh&&Lc&&(n=wi(n),MT(n.dep||(n.dep=jx())))}function OT(n,e){n=wi(n);const r=n.dep;r&&Sb(r)}function eo(n){return!!(n&&n.__v_isRef===!0)}function Vr(n){return DT(n,!1)}function Wr(n){return DT(n,!0)}function DT(n,e){return eo(n)?n:new W8(n,e)}class W8{constructor(e,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?e:wi(e),this._value=r?e:_m(e)}get value(){return PT(this),this._value}set value(e){const r=this.__v_isShallow||Cv(e)||Yp(e);e=r?e:wi(e),xm(e,this._rawValue)&&(this._rawValue=e,this._value=r?e:_m(e),OT(this))}}function yu(n){return eo(n)?n.value:n}const $8={get:(n,e,r)=>yu(Reflect.get(n,e,r)),set:(n,e,r,C)=>{const D=n[e];return eo(D)&&!eo(r)?(D.value=r,!0):Reflect.set(n,e,r,C)}};function zT(n){return Bh(n)?n:new Proxy(n,$8)}function by(n){const e=gi(n)?new Array(n.length):{};for(const r in n)e[r]=Cr(n,r);return e}class Y8{constructor(e,r,C){this._object=e,this._key=r,this._defaultValue=C,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return x8(wi(this._object),this._key)}}function Cr(n,e,r){const C=n[e];return eo(C)?C:new Y8(n,e,r)}var FT;class Z8{constructor(e,r,C,D){this._setter=r,this.dep=void 0,this.__v_isRef=!0,this[FT]=!1,this._dirty=!0,this.effect=new Ux(e,()=>{this._dirty||(this._dirty=!0,OT(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!D,this.__v_isReadonly=C}get value(){const e=wi(this);return PT(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}FT="__v_isReadonly";function X8(n,e,r=!1){let C,D;const k=Fi(n);return k?(C=n,D=Dc):(C=n.get,D=n.set),new Z8(C,D,k||!D,r)}function Nh(n,e,r,C){let D;try{D=C?n(...C):n()}catch(k){xy(k,e,r)}return D}function ec(n,e,r,C){if(Fi(n)){const k=Nh(n,e,r,C);return k&&vT(k)&&k.catch(m=>{xy(m,e,r)}),k}const D=[];for(let k=0;k>>1;Tm(Zs[C])lf&&Zs.splice(e,1)}function eE(n){gi(n)?Vp.push(...n):(!qf||!qf.includes(n,n.allowRecurse?kd+1:kd))&&Vp.push(n),NT()}function y3(n,e=wm?lf+1:0){for(;eTm(r)-Tm(C)),kd=0;kdn.id==null?1/0:n.id,tE=(n,e)=>{const r=Tm(n)-Tm(e);if(r===0){if(n.pre&&!e.pre)return-1;if(e.pre&&!n.pre)return 1}return r};function jT(n){Cb=!1,wm=!0,Zs.sort(tE);const e=Dc;try{for(lf=0;lfPo(h)?h.trim():h)),M&&(D=r.map(kb))}let t,d=C[t=Q1(e)]||C[t=Q1(nc(e))];!d&&k&&(d=C[t=Q1(h0(e))]),d&&ec(d,n,6,D);const y=C[t+"Once"];if(y){if(!n.emitted)n.emitted={};else if(n.emitted[t])return;n.emitted[t]=!0,ec(y,n,6,D)}}function UT(n,e,r=!1){const C=e.emitsCache,D=C.get(n);if(D!==void 0)return D;const k=n.emits;let m={},t=!1;if(!Fi(n)){const d=y=>{const i=UT(y,e,!0);i&&(t=!0,As(m,i))};!r&&e.mixins.length&&e.mixins.forEach(d),n.extends&&d(n.extends),n.mixins&&n.mixins.forEach(d)}return!k&&!t?(so(n)&&C.set(n,null),null):(gi(k)?k.forEach(d=>m[d]=null):As(m,k),so(n)&&C.set(n,m),m)}function _y(n,e){return!n||!my(e)?!1:(e=e.slice(2).replace(/Once$/,""),ga(n,e[0].toLowerCase()+e.slice(1))||ga(n,h0(e))||ga(n,e))}let Bs=null,wy=null;function Ev(n){const e=Bs;return Bs=n,wy=n&&n.type.__scopeId||null,e}function Ty(n){wy=n}function ky(){wy=null}function si(n,e=Bs,r){if(!e||n._n)return n;const C=(...D)=>{C._d&&E3(-1);const k=Ev(e);let m;try{m=n(...D)}finally{Ev(k),C._d&&E3(1)}return m};return C._n=!0,C._c=!0,C._d=!0,C}function eb(n){const{type:e,vnode:r,proxy:C,withProxy:D,props:k,propsOptions:[m],slots:t,attrs:d,emit:y,render:i,renderCache:M,data:v,setupState:h,ctx:l,inheritAttrs:a}=n;let u,s;const o=Ev(n);try{if(r.shapeFlag&4){const f=D||C;u=sf(i.call(f,f,M,k,h,v,l)),s=d}else{const f=e;u=sf(f.length>1?f(k,{attrs:d,slots:t,emit:y}):f(k,null)),s=e.props?d:rE(d)}}catch(f){dm.length=0,xy(f,n,1),u=gt(tc)}let c=u;if(s&&a!==!1){const f=Object.keys(s),{shapeFlag:p}=c;f.length&&p&7&&(m&&f.some(Fx)&&(s=iE(s,m)),c=nh(c,s))}return r.dirs&&(c=nh(c),c.dirs=c.dirs?c.dirs.concat(r.dirs):r.dirs),r.transition&&(c.transition=r.transition),u=c,Ev(o),u}const rE=n=>{let e;for(const r in n)(r==="class"||r==="style"||my(r))&&((e||(e={}))[r]=n[r]);return e},iE=(n,e)=>{const r={};for(const C in n)(!Fx(C)||!(C.slice(9)in e))&&(r[C]=n[C]);return r};function aE(n,e,r){const{props:C,children:D,component:k}=n,{props:m,children:t,patchFlag:d}=e,y=k.emitsOptions;if(e.dirs||e.transition)return!0;if(r&&d>=0){if(d&1024)return!0;if(d&16)return C?b3(C,m,y):!!m;if(d&8){const i=e.dynamicProps;for(let M=0;Mn.__isSuspense;function lE(n,e){e&&e.pendingBranch?gi(n)?e.effects.push(...n):e.effects.push(n):eE(n)}function rs(n,e){if(Wo){let r=Wo.provides;const C=Wo.parent&&Wo.parent.provides;C===r&&(r=Wo.provides=Object.create(C)),r[n]=e}}function ka(n,e,r=!1){const C=Wo||Bs;if(C){const D=C.parent==null?C.vnode.appContext&&C.vnode.appContext.provides:C.parent.provides;if(D&&n in D)return D[n];if(arguments.length>1)return r&&Fi(e)?e.call(C.proxy):e}}function wu(n,e){return Xx(n,null,e)}const nv={};function Yr(n,e,r){return Xx(n,e,r)}function Xx(n,e,{immediate:r,deep:C,flush:D,onTrack:k,onTrigger:m}=io){const t=_T()===(Wo==null?void 0:Wo.scope)?Wo:null;let d,y=!1,i=!1;if(eo(n)?(d=()=>n.value,y=Cv(n)):Bh(n)?(d=()=>n,C=!0):gi(n)?(i=!0,y=n.some(c=>Bh(c)||Cv(c)),d=()=>n.map(c=>{if(eo(c))return c.value;if(Bh(c))return Sd(c);if(Fi(c))return Nh(c,t,2)})):Fi(n)?e?d=()=>Nh(n,t,2):d=()=>{if(!(t&&t.isUnmounted))return M&&M(),ec(n,t,3,[v])}:d=Dc,e&&C){const c=d;d=()=>Sd(c())}let M,v=c=>{M=s.onStop=()=>{Nh(c,t,4)}},h;if(Sm)if(v=Dc,e?r&&ec(e,t,3,[d(),i?[]:void 0,v]):d(),D==="sync"){const c=JE();h=c.__watcherHandles||(c.__watcherHandles=[])}else return Dc;let l=i?new Array(n.length).fill(nv):nv;const a=()=>{if(s.active)if(e){const c=s.run();(C||y||(i?c.some((f,p)=>xm(f,l[p])):xm(c,l)))&&(M&&M(),ec(e,t,3,[c,l===nv?void 0:i&&l[0]===nv?[]:l,v]),l=c)}else s.run()};a.allowRecurse=!!e;let u;D==="sync"?u=a:D==="post"?u=()=>Vl(a,t&&t.suspense):(a.pre=!0,t&&(a.id=t.uid),u=()=>Zx(a));const s=new Ux(d,u);e?r?a():l=s.run():D==="post"?Vl(s.run.bind(s),t&&t.suspense):s.run();const o=()=>{s.stop(),t&&t.scope&&Bx(t.scope.effects,s)};return h&&h.push(o),o}function uE(n,e,r){const C=this.proxy,D=Po(n)?n.includes(".")?HT(C,n):()=>C[n]:n.bind(C,C);let k;Fi(e)?k=e:(k=e.handler,r=e);const m=Wo;Xp(this);const t=Xx(D,k.bind(C),r);return m?Xp(m):Bd(),t}function HT(n,e){const r=e.split(".");return()=>{let C=n;for(let D=0;D{Sd(r,e)});else if(bT(n))for(const r in n)Sd(n[r],e);return n}function GT(){const n={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Js(()=>{n.isMounted=!0}),kl(()=>{n.isUnmounting=!0}),n}const qu=[Function,Array],cE={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:qu,onEnter:qu,onAfterEnter:qu,onEnterCancelled:qu,onBeforeLeave:qu,onLeave:qu,onAfterLeave:qu,onLeaveCancelled:qu,onBeforeAppear:qu,onAppear:qu,onAfterAppear:qu,onAppearCancelled:qu},setup(n,{slots:e}){const r=Ey(),C=GT();let D;return()=>{const k=e.default&&Kx(e.default(),!0);if(!k||!k.length)return;let m=k[0];if(k.length>1){for(const a of k)if(a.type!==tc){m=a;break}}const t=wi(n),{mode:d}=t;if(C.isLeaving)return tb(m);const y=x3(m);if(!y)return tb(m);const i=km(y,t,C,r);Mm(y,i);const M=r.subTree,v=M&&x3(M);let h=!1;const{getTransitionKey:l}=y.type;if(l){const a=l();D===void 0?D=a:a!==D&&(D=a,h=!0)}if(v&&v.type!==tc&&(!Md(y,v)||h)){const a=km(v,t,C,r);if(Mm(v,a),d==="out-in")return C.isLeaving=!0,a.afterLeave=()=>{C.isLeaving=!1,r.update.active!==!1&&r.update()},tb(m);d==="in-out"&&y.type!==tc&&(a.delayLeave=(u,s,o)=>{const c=WT(C,v);c[String(v.key)]=v,u._leaveCb=()=>{s(),u._leaveCb=void 0,delete i.delayedLeave},i.delayedLeave=o})}return m}}},qT=cE;function WT(n,e){const{leavingVNodes:r}=n;let C=r.get(e.type);return C||(C=Object.create(null),r.set(e.type,C)),C}function km(n,e,r,C){const{appear:D,mode:k,persisted:m=!1,onBeforeEnter:t,onEnter:d,onAfterEnter:y,onEnterCancelled:i,onBeforeLeave:M,onLeave:v,onAfterLeave:h,onLeaveCancelled:l,onBeforeAppear:a,onAppear:u,onAfterAppear:s,onAppearCancelled:o}=e,c=String(n.key),f=WT(r,n),p=(S,x)=>{S&&ec(S,C,9,x)},w=(S,x)=>{const T=x[1];p(S,x),gi(S)?S.every(E=>E.length<=1)&&T():S.length<=1&&T()},g={mode:k,persisted:m,beforeEnter(S){let x=t;if(!r.isMounted)if(D)x=a||t;else return;S._leaveCb&&S._leaveCb(!0);const T=f[c];T&&Md(n,T)&&T.el._leaveCb&&T.el._leaveCb(),p(x,[S])},enter(S){let x=d,T=y,E=i;if(!r.isMounted)if(D)x=u||d,T=s||y,E=o||i;else return;let _=!1;const A=S._enterCb=L=>{_||(_=!0,L?p(E,[S]):p(T,[S]),g.delayedLeave&&g.delayedLeave(),S._enterCb=void 0)};x?w(x,[S,A]):A()},leave(S,x){const T=String(n.key);if(S._enterCb&&S._enterCb(!0),r.isUnmounting)return x();p(M,[S]);let E=!1;const _=S._leaveCb=A=>{E||(E=!0,x(),A?p(l,[S]):p(h,[S]),S._leaveCb=void 0,f[T]===n&&delete f[T])};f[T]=n,v?w(v,[S,_]):_()},clone(S){return km(S,e,r,C)}};return g}function tb(n){if(My(n))return n=nh(n),n.children=null,n}function x3(n){return My(n)?n.children?n.children[0]:void 0:n}function Mm(n,e){n.shapeFlag&6&&n.component?Mm(n.component.subTree,e):n.shapeFlag&128?(n.ssContent.transition=e.clone(n.ssContent),n.ssFallback.transition=e.clone(n.ssFallback)):n.transition=e}function Kx(n,e=!1,r){let C=[],D=0;for(let k=0;k1)for(let k=0;k!!n.type.__asyncLoader,My=n=>n.type.__isKeepAlive;function $T(n,e){ZT(n,"a",e)}function YT(n,e){ZT(n,"da",e)}function ZT(n,e,r=Wo){const C=n.__wdc||(n.__wdc=()=>{let D=r;for(;D;){if(D.isDeactivated)return;D=D.parent}return n()});if(Ay(e,C,r),r){let D=r.parent;for(;D&&D.parent;)My(D.parent.vnode)&&fE(C,e,r,D),D=D.parent}}function fE(n,e,r,C){const D=Ay(e,n,C,!0);JT(()=>{Bx(C[e],D)},r)}function Ay(n,e,r=Wo,C=!1){if(r){const D=r[n]||(r[n]=[]),k=e.__weh||(e.__weh=(...m)=>{if(r.isUnmounted)return;d0(),Xp(r);const t=ec(e,r,n,m);return Bd(),p0(),t});return C?D.unshift(k):D.push(k),k}}const lh=n=>(e,r=Wo)=>(!Sm||n==="sp")&&Ay(n,(...C)=>e(...C),r),Sy=lh("bm"),Js=lh("m"),XT=lh("bu"),KT=lh("u"),kl=lh("bum"),JT=lh("um"),hE=lh("sp"),dE=lh("rtg"),pE=lh("rtc");function mE(n,e=Wo){Ay("ec",n,e)}function Co(n,e){const r=Bs;if(r===null)return n;const C=Ly(r)||r.proxy,D=n.dirs||(n.dirs=[]);for(let k=0;ke(m,t,void 0,k&&k[t]));else{const m=Object.keys(n);D=new Array(m.length);for(let t=0,d=m.length;tIv(e)?!(e.type===tc||e.type===$r&&!e4(e.children)):!0)?n:null}const Eb=n=>n?f4(n)?Ly(n)||n.proxy:Eb(n.parent):null,fm=As(Object.create(null),{$:n=>n,$el:n=>n.vnode.el,$data:n=>n.data,$props:n=>n.props,$attrs:n=>n.attrs,$slots:n=>n.slots,$refs:n=>n.refs,$parent:n=>Eb(n.parent),$root:n=>Eb(n.root),$emit:n=>n.emit,$options:n=>e2(n),$forceUpdate:n=>n.f||(n.f=()=>Zx(n.update)),$nextTick:n=>n.n||(n.n=Ua.bind(n.proxy)),$watch:n=>uE.bind(n)}),rb=(n,e)=>n!==io&&!n.__isScriptSetup&&ga(n,e),yE={get({_:n},e){const{ctx:r,setupState:C,data:D,props:k,accessCache:m,type:t,appContext:d}=n;let y;if(e[0]!=="$"){const h=m[e];if(h!==void 0)switch(h){case 1:return C[e];case 2:return D[e];case 4:return r[e];case 3:return k[e]}else{if(rb(C,e))return m[e]=1,C[e];if(D!==io&&ga(D,e))return m[e]=2,D[e];if((y=n.propsOptions[0])&&ga(y,e))return m[e]=3,k[e];if(r!==io&&ga(r,e))return m[e]=4,r[e];Lb&&(m[e]=0)}}const i=fm[e];let M,v;if(i)return e==="$attrs"&&Yl(n,"get",e),i(n);if((M=t.__cssModules)&&(M=M[e]))return M;if(r!==io&&ga(r,e))return m[e]=4,r[e];if(v=d.config.globalProperties,ga(v,e))return v[e]},set({_:n},e,r){const{data:C,setupState:D,ctx:k}=n;return rb(D,e)?(D[e]=r,!0):C!==io&&ga(C,e)?(C[e]=r,!0):ga(n.props,e)||e[0]==="$"&&e.slice(1)in n?!1:(k[e]=r,!0)},has({_:{data:n,setupState:e,accessCache:r,ctx:C,appContext:D,propsOptions:k}},m){let t;return!!r[m]||n!==io&&ga(n,m)||rb(e,m)||(t=k[0])&&ga(t,m)||ga(C,m)||ga(fm,m)||ga(D.config.globalProperties,m)},defineProperty(n,e,r){return r.get!=null?n._.accessCache[e]=0:ga(r,"value")&&this.set(n,e,r.value,null),Reflect.defineProperty(n,e,r)}};let Lb=!0;function bE(n){const e=e2(n),r=n.proxy,C=n.ctx;Lb=!1,e.beforeCreate&&w3(e.beforeCreate,n,"bc");const{data:D,computed:k,methods:m,watch:t,provide:d,inject:y,created:i,beforeMount:M,mounted:v,beforeUpdate:h,updated:l,activated:a,deactivated:u,beforeDestroy:s,beforeUnmount:o,destroyed:c,unmounted:f,render:p,renderTracked:w,renderTriggered:g,errorCaptured:S,serverPrefetch:x,expose:T,inheritAttrs:E,components:_,directives:A,filters:L}=e;if(y&&xE(y,C,null,n.appContext.config.unwrapInjectedRef),m)for(const I in m){const O=m[I];Fi(O)&&(C[I]=O.bind(r))}if(D){const I=D.call(r,r);so(I)&&(n.data=bl(I))}if(Lb=!0,k)for(const I in k){const O=k[I],z=Fi(O)?O.bind(r,r):Fi(O.get)?O.get.bind(r,r):Dc,F=!Fi(O)&&Fi(O.set)?O.set.bind(r):Dc,B=cn({get:z,set:F});Object.defineProperty(C,I,{enumerable:!0,configurable:!0,get:()=>B.value,set:N=>B.value=N})}if(t)for(const I in t)t4(t[I],C,r,I);if(d){const I=Fi(d)?d.call(r):d;Reflect.ownKeys(I).forEach(O=>{rs(O,I[O])})}i&&w3(i,n,"c");function R(I,O){gi(O)?O.forEach(z=>I(z.bind(r))):O&&I(O.bind(r))}if(R(Sy,M),R(Js,v),R(XT,h),R(KT,l),R($T,a),R(YT,u),R(mE,S),R(pE,w),R(dE,g),R(kl,o),R(JT,f),R(hE,x),gi(T))if(T.length){const I=n.exposed||(n.exposed={});T.forEach(O=>{Object.defineProperty(I,O,{get:()=>r[O],set:z=>r[O]=z})})}else n.exposed||(n.exposed={});p&&n.render===Dc&&(n.render=p),E!=null&&(n.inheritAttrs=E),_&&(n.components=_),A&&(n.directives=A)}function xE(n,e,r=Dc,C=!1){gi(n)&&(n=Ib(n));for(const D in n){const k=n[D];let m;so(k)?"default"in k?m=ka(k.from||D,k.default,!0):m=ka(k.from||D):m=ka(k),eo(m)&&C?Object.defineProperty(e,D,{enumerable:!0,configurable:!0,get:()=>m.value,set:t=>m.value=t}):e[D]=m}}function w3(n,e,r){ec(gi(n)?n.map(C=>C.bind(e.proxy)):n.bind(e.proxy),e,r)}function t4(n,e,r,C){const D=C.includes(".")?HT(r,C):()=>r[C];if(Po(n)){const k=e[n];Fi(k)&&Yr(D,k)}else if(Fi(n))Yr(D,n.bind(r));else if(so(n))if(gi(n))n.forEach(k=>t4(k,e,r,C));else{const k=Fi(n.handler)?n.handler.bind(r):e[n.handler];Fi(k)&&Yr(D,k,n)}}function e2(n){const e=n.type,{mixins:r,extends:C}=e,{mixins:D,optionsCache:k,config:{optionMergeStrategies:m}}=n.appContext,t=k.get(e);let d;return t?d=t:!D.length&&!r&&!C?d=e:(d={},D.length&&D.forEach(y=>Lv(d,y,m,!0)),Lv(d,e,m)),so(e)&&k.set(e,d),d}function Lv(n,e,r,C=!1){const{mixins:D,extends:k}=e;k&&Lv(n,k,r,!0),D&&D.forEach(m=>Lv(n,m,r,!0));for(const m in e)if(!(C&&m==="expose")){const t=_E[m]||r&&r[m];n[m]=t?t(n[m],e[m]):e[m]}return n}const _E={data:T3,props:Td,emits:Td,methods:Td,computed:Td,beforeCreate:ml,created:ml,beforeMount:ml,mounted:ml,beforeUpdate:ml,updated:ml,beforeDestroy:ml,beforeUnmount:ml,destroyed:ml,unmounted:ml,activated:ml,deactivated:ml,errorCaptured:ml,serverPrefetch:ml,components:Td,directives:Td,watch:TE,provide:T3,inject:wE};function T3(n,e){return e?n?function(){return As(Fi(n)?n.call(this,this):n,Fi(e)?e.call(this,this):e)}:e:n}function wE(n,e){return Td(Ib(n),Ib(e))}function Ib(n){if(gi(n)){const e={};for(let r=0;r0)&&!(m&16)){if(m&8){const i=n.vnode.dynamicProps;for(let M=0;M{d=!0;const[v,h]=r4(M,e,!0);As(m,v),h&&t.push(...h)};!r&&e.mixins.length&&e.mixins.forEach(i),n.extends&&i(n.extends),n.mixins&&n.mixins.forEach(i)}if(!k&&!d)return so(n)&&C.set(n,Bp),Bp;if(gi(k))for(let i=0;i-1,h[1]=a<0||l-1||ga(h,"default"))&&t.push(M)}}}const y=[m,t];return so(n)&&C.set(n,y),y}function k3(n){return n[0]!=="$"}function M3(n){const e=n&&n.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:n===null?"null":""}function A3(n,e){return M3(n)===M3(e)}function S3(n,e){return gi(e)?e.findIndex(r=>A3(r,n)):Fi(e)&&A3(e,n)?0:-1}const i4=n=>n[0]==="_"||n==="$stable",t2=n=>gi(n)?n.map(sf):[sf(n)],AE=(n,e,r)=>{if(e._n)return e;const C=si((...D)=>t2(e(...D)),r);return C._c=!1,C},a4=(n,e,r)=>{const C=n._ctx;for(const D in n){if(i4(D))continue;const k=n[D];if(Fi(k))e[D]=AE(D,k,C);else if(k!=null){const m=t2(k);e[D]=()=>m}}},o4=(n,e)=>{const r=t2(e);n.slots.default=()=>r},SE=(n,e)=>{if(n.vnode.shapeFlag&32){const r=e._;r?(n.slots=wi(e),Av(e,"_",r)):a4(e,n.slots={})}else n.slots={},e&&o4(n,e);Av(n.slots,Cy,1)},CE=(n,e,r)=>{const{vnode:C,slots:D}=n;let k=!0,m=io;if(C.shapeFlag&32){const t=e._;t?r&&t===1?k=!1:(As(D,e),!r&&t===1&&delete D._):(k=!e.$stable,a4(e,D)),m=e}else e&&(o4(n,e),m={default:1});if(k)for(const t in D)!i4(t)&&!(t in m)&&delete D[t]};function s4(){return{app:null,config:{isNativeTag:u8,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let EE=0;function LE(n,e){return function(C,D=null){Fi(C)||(C=Object.assign({},C)),D!=null&&!so(D)&&(D=null);const k=s4(),m=new Set;let t=!1;const d=k.app={_uid:EE++,_component:C,_props:D,_container:null,_context:k,_instance:null,version:QE,get config(){return k.config},set config(y){},use(y,...i){return m.has(y)||(y&&Fi(y.install)?(m.add(y),y.install(d,...i)):Fi(y)&&(m.add(y),y(d,...i))),d},mixin(y){return k.mixins.includes(y)||k.mixins.push(y),d},component(y,i){return i?(k.components[y]=i,d):k.components[y]},directive(y,i){return i?(k.directives[y]=i,d):k.directives[y]},mount(y,i,M){if(!t){const v=gt(C,D);return v.appContext=k,i&&e?e(v,y):n(v,y,M),t=!0,d._container=y,y.__vue_app__=d,Ly(v.component)||v.component.proxy}},unmount(){t&&(n(null,d._container),delete d._container.__vue_app__)},provide(y,i){return k.provides[y]=i,d}};return d}}function Pb(n,e,r,C,D=!1){if(gi(n)){n.forEach((v,h)=>Pb(v,e&&(gi(e)?e[h]:e),r,C,D));return}if(cm(C)&&!D)return;const k=C.shapeFlag&4?Ly(C.component)||C.component.proxy:C.el,m=D?null:k,{i:t,r:d}=n,y=e&&e.r,i=t.refs===io?t.refs={}:t.refs,M=t.setupState;if(y!=null&&y!==d&&(Po(y)?(i[y]=null,ga(M,y)&&(M[y]=null)):eo(y)&&(y.value=null)),Fi(d))Nh(d,t,12,[m,i]);else{const v=Po(d),h=eo(d);if(v||h){const l=()=>{if(n.f){const a=v?ga(M,d)?M[d]:i[d]:d.value;D?gi(a)&&Bx(a,k):gi(a)?a.includes(k)||a.push(k):v?(i[d]=[k],ga(M,d)&&(M[d]=i[d])):(d.value=[k],n.k&&(i[n.k]=d.value))}else v?(i[d]=m,ga(M,d)&&(M[d]=m)):h&&(d.value=m,n.k&&(i[n.k]=m))};m?(l.id=-1,Vl(l,r)):l()}}}const Vl=lE;function IE(n){return RE(n)}function RE(n,e){const r=g8();r.__VUE__=!0;const{insert:C,remove:D,patchProp:k,createElement:m,createText:t,createComment:d,setText:y,setElementText:i,parentNode:M,nextSibling:v,setScopeId:h=Dc,insertStaticContent:l}=n,a=(Z,X,Q,re=null,ie=null,oe=null,ue=!1,ce=null,ye=!!X.dynamicChildren)=>{if(Z===X)return;Z&&!Md(Z,X)&&(re=G(Z),N(Z,ie,oe,!0),Z=null),X.patchFlag===-2&&(ye=!1,X.dynamicChildren=null);const{type:de,ref:me,shapeFlag:pe}=X;switch(de){case Gm:u(Z,X,Q,re);break;case tc:s(Z,X,Q,re);break;case dv:Z==null&&o(X,Q,re,ue);break;case $r:_(Z,X,Q,re,ie,oe,ue,ce,ye);break;default:pe&1?p(Z,X,Q,re,ie,oe,ue,ce,ye):pe&6?A(Z,X,Q,re,ie,oe,ue,ce,ye):(pe&64||pe&128)&&de.process(Z,X,Q,re,ie,oe,ue,ce,ye,H)}me!=null&&ie&&Pb(me,Z&&Z.ref,oe,X||Z,!X)},u=(Z,X,Q,re)=>{if(Z==null)C(X.el=t(X.children),Q,re);else{const ie=X.el=Z.el;X.children!==Z.children&&y(ie,X.children)}},s=(Z,X,Q,re)=>{Z==null?C(X.el=d(X.children||""),Q,re):X.el=Z.el},o=(Z,X,Q,re)=>{[Z.el,Z.anchor]=l(Z.children,X,Q,re,Z.el,Z.anchor)},c=({el:Z,anchor:X},Q,re)=>{let ie;for(;Z&&Z!==X;)ie=v(Z),C(Z,Q,re),Z=ie;C(X,Q,re)},f=({el:Z,anchor:X})=>{let Q;for(;Z&&Z!==X;)Q=v(Z),D(Z),Z=Q;D(X)},p=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{ue=ue||X.type==="svg",Z==null?w(X,Q,re,ie,oe,ue,ce,ye):x(Z,X,ie,oe,ue,ce,ye)},w=(Z,X,Q,re,ie,oe,ue,ce)=>{let ye,de;const{type:me,props:pe,shapeFlag:xe,transition:Pe,dirs:_e}=Z;if(ye=Z.el=m(Z.type,oe,pe&&pe.is,pe),xe&8?i(ye,Z.children):xe&16&&S(Z.children,ye,null,re,ie,oe&&me!=="foreignObject",ue,ce),_e&&vd(Z,null,re,"created"),g(ye,Z,Z.scopeId,ue,re),pe){for(const Se in pe)Se!=="value"&&!fv(Se)&&k(ye,Se,null,pe[Se],oe,Z.children,re,ie,U);"value"in pe&&k(ye,"value",null,pe.value),(de=pe.onVnodeBeforeMount)&&nf(de,re,Z)}_e&&vd(Z,null,re,"beforeMount");const Me=(!ie||ie&&!ie.pendingBranch)&&Pe&&!Pe.persisted;Me&&Pe.beforeEnter(ye),C(ye,X,Q),((de=pe&&pe.onVnodeMounted)||Me||_e)&&Vl(()=>{de&&nf(de,re,Z),Me&&Pe.enter(ye),_e&&vd(Z,null,re,"mounted")},ie)},g=(Z,X,Q,re,ie)=>{if(Q&&h(Z,Q),re)for(let oe=0;oe{for(let de=ye;de{const ce=X.el=Z.el;let{patchFlag:ye,dynamicChildren:de,dirs:me}=X;ye|=Z.patchFlag&16;const pe=Z.props||io,xe=X.props||io;let Pe;Q&&yd(Q,!1),(Pe=xe.onVnodeBeforeUpdate)&&nf(Pe,Q,X,Z),me&&vd(X,Z,Q,"beforeUpdate"),Q&&yd(Q,!0);const _e=ie&&X.type!=="foreignObject";if(de?T(Z.dynamicChildren,de,ce,Q,re,_e,oe):ue||O(Z,X,ce,null,Q,re,_e,oe,!1),ye>0){if(ye&16)E(ce,X,pe,xe,Q,re,ie);else if(ye&2&&pe.class!==xe.class&&k(ce,"class",null,xe.class,ie),ye&4&&k(ce,"style",pe.style,xe.style,ie),ye&8){const Me=X.dynamicProps;for(let Se=0;Se{Pe&&nf(Pe,Q,X,Z),me&&vd(X,Z,Q,"updated")},re)},T=(Z,X,Q,re,ie,oe,ue)=>{for(let ce=0;ce{if(Q!==re){if(Q!==io)for(const ce in Q)!fv(ce)&&!(ce in re)&&k(Z,ce,Q[ce],null,ue,X.children,ie,oe,U);for(const ce in re){if(fv(ce))continue;const ye=re[ce],de=Q[ce];ye!==de&&ce!=="value"&&k(Z,ce,de,ye,ue,X.children,ie,oe,U)}"value"in re&&k(Z,"value",Q.value,re.value)}},_=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{const de=X.el=Z?Z.el:t(""),me=X.anchor=Z?Z.anchor:t("");let{patchFlag:pe,dynamicChildren:xe,slotScopeIds:Pe}=X;Pe&&(ce=ce?ce.concat(Pe):Pe),Z==null?(C(de,Q,re),C(me,Q,re),S(X.children,Q,me,ie,oe,ue,ce,ye)):pe>0&&pe&64&&xe&&Z.dynamicChildren?(T(Z.dynamicChildren,xe,Q,ie,oe,ue,ce),(X.key!=null||ie&&X===ie.subTree)&&n2(Z,X,!0)):O(Z,X,Q,me,ie,oe,ue,ce,ye)},A=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{X.slotScopeIds=ce,Z==null?X.shapeFlag&512?ie.ctx.activate(X,Q,re,ue,ye):L(X,Q,re,ie,oe,ue,ye):b(Z,X,ye)},L=(Z,X,Q,re,ie,oe,ue)=>{const ce=Z.component=GE(Z,re,ie);if(My(Z)&&(ce.ctx.renderer=H),qE(ce),ce.asyncDep){if(ie&&ie.registerDep(ce,R),!Z.el){const ye=ce.subTree=gt(tc);s(null,ye,X,Q)}return}R(ce,Z,X,Q,ie,oe,ue)},b=(Z,X,Q)=>{const re=X.component=Z.component;if(aE(Z,X,Q))if(re.asyncDep&&!re.asyncResolved){I(re,X,Q);return}else re.next=X,Q8(re.update),re.update();else X.el=Z.el,re.vnode=X},R=(Z,X,Q,re,ie,oe,ue)=>{const ce=()=>{if(Z.isMounted){let{next:me,bu:pe,u:xe,parent:Pe,vnode:_e}=Z,Me=me,Se;yd(Z,!1),me?(me.el=_e.el,I(Z,me,ue)):me=_e,pe&&hv(pe),(Se=me.props&&me.props.onVnodeBeforeUpdate)&&nf(Se,Pe,me,_e),yd(Z,!0);const Ce=eb(Z),ae=Z.subTree;Z.subTree=Ce,a(ae,Ce,M(ae.el),G(ae),Z,ie,oe),me.el=Ce.el,Me===null&&oE(Z,Ce.el),xe&&Vl(xe,ie),(Se=me.props&&me.props.onVnodeUpdated)&&Vl(()=>nf(Se,Pe,me,_e),ie)}else{let me;const{el:pe,props:xe}=X,{bm:Pe,m:_e,parent:Me}=Z,Se=cm(X);if(yd(Z,!1),Pe&&hv(Pe),!Se&&(me=xe&&xe.onVnodeBeforeMount)&&nf(me,Me,X),yd(Z,!0),pe&&te){const Ce=()=>{Z.subTree=eb(Z),te(pe,Z.subTree,Z,ie,null)};Se?X.type.__asyncLoader().then(()=>!Z.isUnmounted&&Ce()):Ce()}else{const Ce=Z.subTree=eb(Z);a(null,Ce,Q,re,Z,ie,oe),X.el=Ce.el}if(_e&&Vl(_e,ie),!Se&&(me=xe&&xe.onVnodeMounted)){const Ce=X;Vl(()=>nf(me,Me,Ce),ie)}(X.shapeFlag&256||Me&&cm(Me.vnode)&&Me.vnode.shapeFlag&256)&&Z.a&&Vl(Z.a,ie),Z.isMounted=!0,X=Q=re=null}},ye=Z.effect=new Ux(ce,()=>Zx(de),Z.scope),de=Z.update=()=>ye.run();de.id=Z.uid,yd(Z,!0),de()},I=(Z,X,Q)=>{X.component=Z;const re=Z.vnode.props;Z.vnode=X,Z.next=null,ME(Z,X.props,re,Q),CE(Z,X.children,Q),d0(),y3(),p0()},O=(Z,X,Q,re,ie,oe,ue,ce,ye=!1)=>{const de=Z&&Z.children,me=Z?Z.shapeFlag:0,pe=X.children,{patchFlag:xe,shapeFlag:Pe}=X;if(xe>0){if(xe&128){F(de,pe,Q,re,ie,oe,ue,ce,ye);return}else if(xe&256){z(de,pe,Q,re,ie,oe,ue,ce,ye);return}}Pe&8?(me&16&&U(de,ie,oe),pe!==de&&i(Q,pe)):me&16?Pe&16?F(de,pe,Q,re,ie,oe,ue,ce,ye):U(de,ie,oe,!0):(me&8&&i(Q,""),Pe&16&&S(pe,Q,re,ie,oe,ue,ce,ye))},z=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{Z=Z||Bp,X=X||Bp;const de=Z.length,me=X.length,pe=Math.min(de,me);let xe;for(xe=0;xeme?U(Z,ie,oe,!0,!1,pe):S(X,Q,re,ie,oe,ue,ce,ye,pe)},F=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{let de=0;const me=X.length;let pe=Z.length-1,xe=me-1;for(;de<=pe&&de<=xe;){const Pe=Z[de],_e=X[de]=ye?Rh(X[de]):sf(X[de]);if(Md(Pe,_e))a(Pe,_e,Q,null,ie,oe,ue,ce,ye);else break;de++}for(;de<=pe&&de<=xe;){const Pe=Z[pe],_e=X[xe]=ye?Rh(X[xe]):sf(X[xe]);if(Md(Pe,_e))a(Pe,_e,Q,null,ie,oe,ue,ce,ye);else break;pe--,xe--}if(de>pe){if(de<=xe){const Pe=xe+1,_e=Pexe)for(;de<=pe;)N(Z[de],ie,oe,!0),de++;else{const Pe=de,_e=de,Me=new Map;for(de=_e;de<=xe;de++){const Be=X[de]=ye?Rh(X[de]):sf(X[de]);Be.key!=null&&Me.set(Be.key,de)}let Se,Ce=0;const ae=xe-_e+1;let he=!1,be=0;const ke=new Array(ae);for(de=0;de=ae){N(Be,ie,oe,!0);continue}let ze;if(Be.key!=null)ze=Me.get(Be.key);else for(Se=_e;Se<=xe;Se++)if(ke[Se-_e]===0&&Md(Be,X[Se])){ze=Se;break}ze===void 0?N(Be,ie,oe,!0):(ke[ze-_e]=de+1,ze>=be?be=ze:he=!0,a(Be,X[ze],Q,null,ie,oe,ue,ce,ye),Ce++)}const Le=he?PE(ke):Bp;for(Se=Le.length-1,de=ae-1;de>=0;de--){const Be=_e+de,ze=X[Be],je=Be+1{const{el:oe,type:ue,transition:ce,children:ye,shapeFlag:de}=Z;if(de&6){B(Z.component.subTree,X,Q,re);return}if(de&128){Z.suspense.move(X,Q,re);return}if(de&64){ue.move(Z,X,Q,H);return}if(ue===$r){C(oe,X,Q);for(let pe=0;pece.enter(oe),ie);else{const{leave:pe,delayLeave:xe,afterLeave:Pe}=ce,_e=()=>C(oe,X,Q),Me=()=>{pe(oe,()=>{_e(),Pe&&Pe()})};xe?xe(oe,_e,Me):Me()}else C(oe,X,Q)},N=(Z,X,Q,re=!1,ie=!1)=>{const{type:oe,props:ue,ref:ce,children:ye,dynamicChildren:de,shapeFlag:me,patchFlag:pe,dirs:xe}=Z;if(ce!=null&&Pb(ce,null,Q,Z,!0),me&256){X.ctx.deactivate(Z);return}const Pe=me&1&&xe,_e=!cm(Z);let Me;if(_e&&(Me=ue&&ue.onVnodeBeforeUnmount)&&nf(Me,X,Z),me&6)Y(Z.component,Q,re);else{if(me&128){Z.suspense.unmount(Q,re);return}Pe&&vd(Z,null,X,"beforeUnmount"),me&64?Z.type.remove(Z,X,Q,ie,H,re):de&&(oe!==$r||pe>0&&pe&64)?U(de,X,Q,!1,!0):(oe===$r&&pe&384||!ie&&me&16)&&U(ye,X,Q),re&&W(Z)}(_e&&(Me=ue&&ue.onVnodeUnmounted)||Pe)&&Vl(()=>{Me&&nf(Me,X,Z),Pe&&vd(Z,null,X,"unmounted")},Q)},W=Z=>{const{type:X,el:Q,anchor:re,transition:ie}=Z;if(X===$r){j(Q,re);return}if(X===dv){f(Z);return}const oe=()=>{D(Q),ie&&!ie.persisted&&ie.afterLeave&&ie.afterLeave()};if(Z.shapeFlag&1&&ie&&!ie.persisted){const{leave:ue,delayLeave:ce}=ie,ye=()=>ue(Q,oe);ce?ce(Z.el,oe,ye):ye()}else oe()},j=(Z,X)=>{let Q;for(;Z!==X;)Q=v(Z),D(Z),Z=Q;D(X)},Y=(Z,X,Q)=>{const{bum:re,scope:ie,update:oe,subTree:ue,um:ce}=Z;re&&hv(re),ie.stop(),oe&&(oe.active=!1,N(ue,Z,X,Q)),ce&&Vl(ce,X),Vl(()=>{Z.isUnmounted=!0},X),X&&X.pendingBranch&&!X.isUnmounted&&Z.asyncDep&&!Z.asyncResolved&&Z.suspenseId===X.pendingId&&(X.deps--,X.deps===0&&X.resolve())},U=(Z,X,Q,re=!1,ie=!1,oe=0)=>{for(let ue=oe;ueZ.shapeFlag&6?G(Z.component.subTree):Z.shapeFlag&128?Z.suspense.next():v(Z.anchor||Z.el),q=(Z,X,Q)=>{Z==null?X._vnode&&N(X._vnode,null,null,!0):a(X._vnode||null,Z,X,null,null,null,Q),y3(),VT(),X._vnode=Z},H={p:a,um:N,m:B,r:W,mt:L,mc:S,pc:O,pbc:T,n:G,o:n};let ne,te;return e&&([ne,te]=e(H)),{render:q,hydrate:ne,createApp:LE(q,ne)}}function yd({effect:n,update:e},r){n.allowRecurse=e.allowRecurse=r}function n2(n,e,r=!1){const C=n.children,D=e.children;if(gi(C)&&gi(D))for(let k=0;k>1,n[r[t]]0&&(e[C]=r[k-1]),r[k]=C)}}for(k=r.length,m=r[k-1];k-- >0;)r[k]=m,m=e[m];return r}const OE=n=>n.__isTeleport,hm=n=>n&&(n.disabled||n.disabled===""),C3=n=>typeof SVGElement<"u"&&n instanceof SVGElement,Ob=(n,e)=>{const r=n&&n.to;return Po(r)?e?e(r):null:r},DE={__isTeleport:!0,process(n,e,r,C,D,k,m,t,d,y){const{mc:i,pc:M,pbc:v,o:{insert:h,querySelector:l,createText:a,createComment:u}}=y,s=hm(e.props);let{shapeFlag:o,children:c,dynamicChildren:f}=e;if(n==null){const p=e.el=a(""),w=e.anchor=a("");h(p,r,C),h(w,r,C);const g=e.target=Ob(e.props,l),S=e.targetAnchor=a("");g&&(h(S,g),m=m||C3(g));const x=(T,E)=>{o&16&&i(c,T,E,D,k,m,t,d)};s?x(r,w):g&&x(g,S)}else{e.el=n.el;const p=e.anchor=n.anchor,w=e.target=n.target,g=e.targetAnchor=n.targetAnchor,S=hm(n.props),x=S?r:w,T=S?p:g;if(m=m||C3(w),f?(v(n.dynamicChildren,f,x,D,k,m,t),n2(n,e,!0)):d||M(n,e,x,T,D,k,m,t,!1),s)S||rv(e,r,p,y,1);else if((e.props&&e.props.to)!==(n.props&&n.props.to)){const E=e.target=Ob(e.props,l);E&&rv(e,E,null,y,0)}else S&&rv(e,w,g,y,1)}l4(e)},remove(n,e,r,C,{um:D,o:{remove:k}},m){const{shapeFlag:t,children:d,anchor:y,targetAnchor:i,target:M,props:v}=n;if(M&&k(i),(m||!hm(v))&&(k(y),t&16))for(let h=0;h0?Ic||Bp:null,BE(),Am>0&&Ic&&Ic.push(n),n}function ei(n,e,r,C,D,k){return u4(ti(n,e,r,C,D,k,!0))}function za(n,e,r,C,D){return u4(gt(n,e,r,C,D,!0))}function Iv(n){return n?n.__v_isVNode===!0:!1}function Md(n,e){return n.type===e.type&&n.key===e.key}const Cy="__vInternal",c4=({key:n})=>n??null,pv=({ref:n,ref_key:e,ref_for:r})=>n!=null?Po(n)||eo(n)||Fi(n)?{i:Bs,r:n,k:e,f:!!r}:n:null;function ti(n,e=null,r=null,C=0,D=null,k=n===$r?0:1,m=!1,t=!1){const d={__v_isVNode:!0,__v_skip:!0,type:n,props:e,key:e&&c4(e),ref:e&&pv(e),scopeId:wy,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:k,patchFlag:C,dynamicProps:D,dynamicChildren:null,appContext:null,ctx:Bs};return t?(r2(d,r),k&128&&n.normalize(d)):r&&(d.shapeFlag|=Po(r)?8:16),Am>0&&!m&&Ic&&(d.patchFlag>0||k&6)&&d.patchFlag!==32&&Ic.push(d),d}const gt=NE;function NE(n,e=null,r=null,C=0,D=null,k=!1){if((!n||n===QT)&&(n=tc),Iv(n)){const t=nh(n,e,!0);return r&&r2(t,r),Am>0&&!k&&Ic&&(t.shapeFlag&6?Ic[Ic.indexOf(n)]=t:Ic.push(t)),t.patchFlag|=-2,t}if(XE(n)&&(n=n.__vccOpts),e){e=VE(e);let{class:t,style:d}=e;t&&!Po(t)&&(e.class=Qu(t)),so(d)&&(RT(d)&&!gi(d)&&(d=As({},d)),e.style=Ys(d))}const m=Po(n)?1:sE(n)?128:OE(n)?64:so(n)?4:Fi(n)?2:0;return ti(n,e,r,C,D,m,k,!0)}function VE(n){return n?RT(n)||Cy in n?As({},n):n:null}function nh(n,e,r=!1){const{props:C,ref:D,patchFlag:k,children:m}=n,t=e?qr(C||{},e):C;return{__v_isVNode:!0,__v_skip:!0,type:n.type,props:t,key:t&&c4(t),ref:e&&e.ref?r&&D?gi(D)?D.concat(pv(e)):[D,pv(e)]:pv(e):D,scopeId:n.scopeId,slotScopeIds:n.slotScopeIds,children:m,target:n.target,targetAnchor:n.targetAnchor,staticCount:n.staticCount,shapeFlag:n.shapeFlag,patchFlag:e&&n.type!==$r?k===-1?16:k|16:k,dynamicProps:n.dynamicProps,dynamicChildren:n.dynamicChildren,appContext:n.appContext,dirs:n.dirs,transition:n.transition,component:n.component,suspense:n.suspense,ssContent:n.ssContent&&nh(n.ssContent),ssFallback:n.ssFallback&&nh(n.ssFallback),el:n.el,anchor:n.anchor,ctx:n.ctx,ce:n.ce}}function ea(n=" ",e=0){return gt(Gm,null,n,e)}function jE(n,e){const r=gt(dv,null,n);return r.staticCount=e,r}function Zi(n="",e=!1){return e?(Ir(),za(tc,null,n)):gt(tc,null,n)}function sf(n){return n==null||typeof n=="boolean"?gt(tc):gi(n)?gt($r,null,n.slice()):typeof n=="object"?Rh(n):gt(Gm,null,String(n))}function Rh(n){return n.el===null&&n.patchFlag!==-1||n.memo?n:nh(n)}function r2(n,e){let r=0;const{shapeFlag:C}=n;if(e==null)e=null;else if(gi(e))r=16;else if(typeof e=="object")if(C&65){const D=e.default;D&&(D._c&&(D._d=!1),r2(n,D()),D._c&&(D._d=!0));return}else{r=32;const D=e._;!D&&!(Cy in e)?e._ctx=Bs:D===3&&Bs&&(Bs.slots._===1?e._=1:(e._=2,n.patchFlag|=1024))}else Fi(e)?(e={default:e,_ctx:Bs},r=32):(e=String(e),C&64?(r=16,e=[ea(e)]):r=8);n.children=e,n.shapeFlag|=r}function qr(...n){const e={};for(let r=0;rWo||Bs,Xp=n=>{Wo=n,n.scope.on()},Bd=()=>{Wo&&Wo.scope.off(),Wo=null};function f4(n){return n.vnode.shapeFlag&4}let Sm=!1;function qE(n,e=!1){Sm=e;const{props:r,children:C}=n.vnode,D=f4(n);kE(n,r,D,e),SE(n,C);const k=D?WE(n,e):void 0;return Sm=!1,k}function WE(n,e){const r=n.type;n.accessCache=Object.create(null),n.proxy=Zp(new Proxy(n.ctx,yE));const{setup:C}=r;if(C){const D=n.setupContext=C.length>1?YE(n):null;Xp(n),d0();const k=Nh(C,n,0,[n.props,D]);if(p0(),Bd(),vT(k)){if(k.then(Bd,Bd),e)return k.then(m=>{L3(n,m,e)}).catch(m=>{xy(m,n,0)});n.asyncDep=k}else L3(n,k,e)}else h4(n,e)}function L3(n,e,r){Fi(e)?n.type.__ssrInlineRender?n.ssrRender=e:n.render=e:so(e)&&(n.setupState=zT(e)),h4(n,r)}let I3;function h4(n,e,r){const C=n.type;if(!n.render){if(!e&&I3&&!C.render){const D=C.template||e2(n).template;if(D){const{isCustomElement:k,compilerOptions:m}=n.appContext.config,{delimiters:t,compilerOptions:d}=C,y=As(As({isCustomElement:k,delimiters:t},m),d);C.render=I3(D,y)}}n.render=C.render||Dc}Xp(n),d0(),bE(n),p0(),Bd()}function $E(n){return new Proxy(n.attrs,{get(e,r){return Yl(n,"get","$attrs"),e[r]}})}function YE(n){const e=C=>{n.exposed=C||{}};let r;return{get attrs(){return r||(r=$E(n))},slots:n.slots,emit:n.emit,expose:e}}function Ly(n){if(n.exposed)return n.exposeProxy||(n.exposeProxy=new Proxy(zT(Zp(n.exposed)),{get(e,r){if(r in e)return e[r];if(r in fm)return fm[r](n)},has(e,r){return r in e||r in fm}}))}function ZE(n,e=!0){return Fi(n)?n.displayName||n.name:n.name||e&&n.__name}function XE(n){return Fi(n)&&"__vccOpts"in n}const cn=(n,e)=>X8(n,e,Sm);function Xh(n,e,r){const C=arguments.length;return C===2?so(e)&&!gi(e)?Iv(e)?gt(n,null,[e]):gt(n,e):gt(n,null,e):(C>3?r=Array.prototype.slice.call(arguments,2):C===3&&Iv(r)&&(r=[r]),gt(n,e,r))}const KE=Symbol(""),JE=()=>ka(KE),QE="3.2.47",e7="http://www.w3.org/2000/svg",Ad=typeof document<"u"?document:null,R3=Ad&&Ad.createElement("template"),t7={insert:(n,e,r)=>{e.insertBefore(n,r||null)},remove:n=>{const e=n.parentNode;e&&e.removeChild(n)},createElement:(n,e,r,C)=>{const D=e?Ad.createElementNS(e7,n):Ad.createElement(n,r?{is:r}:void 0);return n==="select"&&C&&C.multiple!=null&&D.setAttribute("multiple",C.multiple),D},createText:n=>Ad.createTextNode(n),createComment:n=>Ad.createComment(n),setText:(n,e)=>{n.nodeValue=e},setElementText:(n,e)=>{n.textContent=e},parentNode:n=>n.parentNode,nextSibling:n=>n.nextSibling,querySelector:n=>Ad.querySelector(n),setScopeId(n,e){n.setAttribute(e,"")},insertStaticContent(n,e,r,C,D,k){const m=r?r.previousSibling:e.lastChild;if(D&&(D===k||D.nextSibling))for(;e.insertBefore(D.cloneNode(!0),r),!(D===k||!(D=D.nextSibling)););else{R3.innerHTML=C?`${n}`:n;const t=R3.content;if(C){const d=t.firstChild;for(;d.firstChild;)t.appendChild(d.firstChild);t.removeChild(d)}e.insertBefore(t,r)}return[m?m.nextSibling:e.firstChild,r?r.previousSibling:e.lastChild]}};function n7(n,e,r){const C=n._vtc;C&&(e=(e?[e,...C]:[...C]).join(" ")),e==null?n.removeAttribute("class"):r?n.setAttribute("class",e):n.className=e}function r7(n,e,r){const C=n.style,D=Po(r);if(r&&!D){if(e&&!Po(e))for(const k in e)r[k]==null&&Db(C,k,"");for(const k in r)Db(C,k,r[k])}else{const k=C.display;D?e!==r&&(C.cssText=r):e&&n.removeAttribute("style"),"_vod"in n&&(C.display=k)}}const P3=/\s*!important$/;function Db(n,e,r){if(gi(r))r.forEach(C=>Db(n,e,C));else if(r==null&&(r=""),e.startsWith("--"))n.setProperty(e,r);else{const C=i7(n,e);P3.test(r)?n.setProperty(h0(C),r.replace(P3,""),"important"):n[C]=r}}const O3=["Webkit","Moz","ms"],ib={};function i7(n,e){const r=ib[e];if(r)return r;let C=nc(e);if(C!=="filter"&&C in n)return ib[e]=C;C=sh(C);for(let D=0;Dab||(c7.then(()=>ab=0),ab=Date.now());function h7(n,e){const r=C=>{if(!C._vts)C._vts=Date.now();else if(C._vts<=r.attached)return;ec(d7(C,r.value),e,5,[C])};return r.value=n,r.attached=f7(),r}function d7(n,e){if(gi(e)){const r=n.stopImmediatePropagation;return n.stopImmediatePropagation=()=>{r.call(n),n._stopped=!0},e.map(C=>D=>!D._stopped&&C&&C(D))}else return e}const F3=/^on[a-z]/,p7=(n,e,r,C,D=!1,k,m,t,d)=>{e==="class"?n7(n,C,D):e==="style"?r7(n,r,C):my(e)?Fx(e)||l7(n,e,r,C,m):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):m7(n,e,C,D))?o7(n,e,C,k,m,t,d):(e==="true-value"?n._trueValue=C:e==="false-value"&&(n._falseValue=C),a7(n,e,C,D))};function m7(n,e,r,C){return C?!!(e==="innerHTML"||e==="textContent"||e in n&&F3.test(e)&&Fi(r)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&n.tagName==="INPUT"||e==="type"&&n.tagName==="TEXTAREA"||F3.test(e)&&Po(r)?!1:e in n}const Ch="transition",tm="animation",xf=(n,{slots:e})=>Xh(qT,p4(n),e);xf.displayName="Transition";const d4={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},g7=xf.props=As({},qT.props,d4),bd=(n,e=[])=>{gi(n)?n.forEach(r=>r(...e)):n&&n(...e)},B3=n=>n?gi(n)?n.some(e=>e.length>1):n.length>1:!1;function p4(n){const e={};for(const _ in n)_ in d4||(e[_]=n[_]);if(n.css===!1)return e;const{name:r="v",type:C,duration:D,enterFromClass:k=`${r}-enter-from`,enterActiveClass:m=`${r}-enter-active`,enterToClass:t=`${r}-enter-to`,appearFromClass:d=k,appearActiveClass:y=m,appearToClass:i=t,leaveFromClass:M=`${r}-leave-from`,leaveActiveClass:v=`${r}-leave-active`,leaveToClass:h=`${r}-leave-to`}=n,l=v7(D),a=l&&l[0],u=l&&l[1],{onBeforeEnter:s,onEnter:o,onEnterCancelled:c,onLeave:f,onLeaveCancelled:p,onBeforeAppear:w=s,onAppear:g=o,onAppearCancelled:S=c}=e,x=(_,A,L)=>{Lh(_,A?i:t),Lh(_,A?y:m),L&&L()},T=(_,A)=>{_._isLeaving=!1,Lh(_,M),Lh(_,h),Lh(_,v),A&&A()},E=_=>(A,L)=>{const b=_?g:o,R=()=>x(A,_,L);bd(b,[A,R]),N3(()=>{Lh(A,_?d:k),Hf(A,_?i:t),B3(b)||V3(A,C,a,R)})};return As(e,{onBeforeEnter(_){bd(s,[_]),Hf(_,k),Hf(_,m)},onBeforeAppear(_){bd(w,[_]),Hf(_,d),Hf(_,y)},onEnter:E(!1),onAppear:E(!0),onLeave(_,A){_._isLeaving=!0;const L=()=>T(_,A);Hf(_,M),g4(),Hf(_,v),N3(()=>{_._isLeaving&&(Lh(_,M),Hf(_,h),B3(f)||V3(_,C,u,L))}),bd(f,[_,L])},onEnterCancelled(_){x(_,!1),bd(c,[_])},onAppearCancelled(_){x(_,!0),bd(S,[_])},onLeaveCancelled(_){T(_),bd(p,[_])}})}function v7(n){if(n==null)return null;if(so(n))return[ob(n.enter),ob(n.leave)];{const e=ob(n);return[e,e]}}function ob(n){return m8(n)}function Hf(n,e){e.split(/\s+/).forEach(r=>r&&n.classList.add(r)),(n._vtc||(n._vtc=new Set)).add(e)}function Lh(n,e){e.split(/\s+/).forEach(C=>C&&n.classList.remove(C));const{_vtc:r}=n;r&&(r.delete(e),r.size||(n._vtc=void 0))}function N3(n){requestAnimationFrame(()=>{requestAnimationFrame(n)})}let y7=0;function V3(n,e,r,C){const D=n._endId=++y7,k=()=>{D===n._endId&&C()};if(r)return setTimeout(k,r);const{type:m,timeout:t,propCount:d}=m4(n,e);if(!m)return C();const y=m+"end";let i=0;const M=()=>{n.removeEventListener(y,v),k()},v=h=>{h.target===n&&++i>=d&&M()};setTimeout(()=>{i(r[l]||"").split(", "),D=C(`${Ch}Delay`),k=C(`${Ch}Duration`),m=j3(D,k),t=C(`${tm}Delay`),d=C(`${tm}Duration`),y=j3(t,d);let i=null,M=0,v=0;e===Ch?m>0&&(i=Ch,M=m,v=k.length):e===tm?y>0&&(i=tm,M=y,v=d.length):(M=Math.max(m,y),i=M>0?m>y?Ch:tm:null,v=i?i===Ch?k.length:d.length:0);const h=i===Ch&&/\b(transform|all)(,|$)/.test(C(`${Ch}Property`).toString());return{type:i,timeout:M,propCount:v,hasTransform:h}}function j3(n,e){for(;n.lengthU3(r)+U3(n[C])))}function U3(n){return Number(n.slice(0,-1).replace(",","."))*1e3}function g4(){return document.body.offsetHeight}const v4=new WeakMap,y4=new WeakMap,b4={name:"TransitionGroup",props:As({},g7,{tag:String,moveClass:String}),setup(n,{slots:e}){const r=Ey(),C=GT();let D,k;return KT(()=>{if(!D.length)return;const m=n.moveClass||`${n.name||"v"}-move`;if(!k7(D[0].el,r.vnode.el,m))return;D.forEach(_7),D.forEach(w7);const t=D.filter(T7);g4(),t.forEach(d=>{const y=d.el,i=y.style;Hf(y,m),i.transform=i.webkitTransform=i.transitionDuration="";const M=y._moveCb=v=>{v&&v.target!==y||(!v||/transform$/.test(v.propertyName))&&(y.removeEventListener("transitionend",M),y._moveCb=null,Lh(y,m))};y.addEventListener("transitionend",M)})}),()=>{const m=wi(n),t=p4(m);let d=m.tag||$r;D=k,k=e.default?Kx(e.default()):[];for(let y=0;ydelete n.mode;b4.props;const x7=b4;function _7(n){const e=n.el;e._moveCb&&e._moveCb(),e._enterCb&&e._enterCb()}function w7(n){y4.set(n,n.el.getBoundingClientRect())}function T7(n){const e=v4.get(n),r=y4.get(n),C=e.left-r.left,D=e.top-r.top;if(C||D){const k=n.el.style;return k.transform=k.webkitTransform=`translate(${C}px,${D}px)`,k.transitionDuration="0s",n}}function k7(n,e,r){const C=n.cloneNode();n._vtc&&n._vtc.forEach(m=>{m.split(/\s+/).forEach(t=>t&&C.classList.remove(t))}),r.split(/\s+/).forEach(m=>m&&C.classList.add(m)),C.style.display="none";const D=e.nodeType===1?e:e.parentNode;D.appendChild(C);const{hasTransform:k}=m4(C);return D.removeChild(C),k}const H3=n=>{const e=n.props["onUpdate:modelValue"]||!1;return gi(e)?r=>hv(e,r):e};function M7(n){n.target.composing=!0}function G3(n){const e=n.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const A7={created(n,{modifiers:{lazy:e,trim:r,number:C}},D){n._assign=H3(D);const k=C||D.props&&D.props.type==="number";Ip(n,e?"change":"input",m=>{if(m.target.composing)return;let t=n.value;r&&(t=t.trim()),k&&(t=kb(t)),n._assign(t)}),r&&Ip(n,"change",()=>{n.value=n.value.trim()}),e||(Ip(n,"compositionstart",M7),Ip(n,"compositionend",G3),Ip(n,"change",G3))},mounted(n,{value:e}){n.value=e??""},beforeUpdate(n,{value:e,modifiers:{lazy:r,trim:C,number:D}},k){if(n._assign=H3(k),n.composing||document.activeElement===n&&n.type!=="range"&&(r||C&&n.value.trim()===e||(D||n.type==="number")&&kb(n.value)===e))return;const m=e??"";n.value!==m&&(n.value=m)}},S7=["ctrl","shift","alt","meta"],C7={stop:n=>n.stopPropagation(),prevent:n=>n.preventDefault(),self:n=>n.target!==n.currentTarget,ctrl:n=>!n.ctrlKey,shift:n=>!n.shiftKey,alt:n=>!n.altKey,meta:n=>!n.metaKey,left:n=>"button"in n&&n.button!==0,middle:n=>"button"in n&&n.button!==1,right:n=>"button"in n&&n.button!==2,exact:(n,e)=>S7.some(r=>n[`${r}Key`]&&!e.includes(r))},jp=(n,e)=>(r,...C)=>{for(let D=0;D{nm(n,!1)}):nm(n,e))},beforeUnmount(n,{value:e}){nm(n,e)}};function nm(n,e){n.style.display=e?n._vod:"none"}const E7=As({patchProp:p7},t7);let q3;function L7(){return q3||(q3=IE(E7))}const I7=(...n)=>{const e=L7().createApp(...n),{mount:r}=e;return e.mount=C=>{const D=R7(C);if(!D)return;const k=e._component;!Fi(k)&&!k.render&&!k.template&&(k.template=D.innerHTML),D.innerHTML="";const m=r(D,!1,D instanceof SVGElement);return D instanceof Element&&(D.removeAttribute("v-cloak"),D.setAttribute("data-v-app","")),m},e};function R7(n){return Po(n)?document.querySelector(n):n}var P7=!1;/*! +(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const D of document.querySelectorAll('link[rel="modulepreload"]'))C(D);new MutationObserver(D=>{for(const T of D)if(T.type==="childList")for(const p of T.addedNodes)p.tagName==="LINK"&&p.rel==="modulepreload"&&C(p)}).observe(document,{childList:!0,subtree:!0});function r(D){const T={};return D.integrity&&(T.integrity=D.integrity),D.referrerPolicy&&(T.referrerPolicy=D.referrerPolicy),D.crossOrigin==="use-credentials"?T.credentials="include":D.crossOrigin==="anonymous"?T.credentials="omit":T.credentials="same-origin",T}function C(D){if(D.ep)return;D.ep=!0;const T=r(D);fetch(D.href,T)}})();function zx(n,e){const r=Object.create(null),C=n.split(",");for(let D=0;D!!r[D.toLowerCase()]:D=>!!r[D]}function zs(n){if(gi(n)){const e={};for(let r=0;r{if(r){const C=r.split(a8);C.length>1&&(e[C[0].trim()]=C[1].trim())}}),e}function Ju(n){let e="";if(Po(n))e=n;else if(gi(n))for(let r=0;rPo(n)?n:n==null?"":gi(n)||so(n)&&(n.toString===bT||!Fi(n.toString))?JSON.stringify(n,gT,2):String(n),gT=(n,e)=>e&&e.__v_isRef?gT(n,e.value):Np(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((r,[C,D])=>(r[`${C} =>`]=D,r),{})}:vT(e)?{[`Set(${e.size})`]:[...e.values()]}:so(e)&&!gi(e)&&!xT(e)?String(e):e,io={},Bp=[],Dc=()=>{},c8=()=>!1,h8=/^on[^a-z]/,my=n=>h8.test(n),Fx=n=>n.startsWith("onUpdate:"),Ms=Object.assign,Bx=(n,e)=>{const r=n.indexOf(e);r>-1&&n.splice(r,1)},f8=Object.prototype.hasOwnProperty,ga=(n,e)=>f8.call(n,e),gi=Array.isArray,Np=n=>gy(n)==="[object Map]",vT=n=>gy(n)==="[object Set]",Fi=n=>typeof n=="function",Po=n=>typeof n=="string",Nx=n=>typeof n=="symbol",so=n=>n!==null&&typeof n=="object",yT=n=>so(n)&&Fi(n.then)&&Fi(n.catch),bT=Object.prototype.toString,gy=n=>bT.call(n),d8=n=>gy(n).slice(8,-1),xT=n=>gy(n)==="[object Object]",Vx=n=>Po(n)&&n!=="NaN"&&n[0]!=="-"&&""+parseInt(n,10)===n,hv=zx(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),vy=n=>{const e=Object.create(null);return r=>e[r]||(e[r]=n(r))},p8=/-(\w)/g,tc=vy(n=>n.replace(p8,(e,r)=>r?r.toUpperCase():"")),m8=/\B([A-Z])/g,f0=vy(n=>n.replace(m8,"-$1").toLowerCase()),sf=vy(n=>n.charAt(0).toUpperCase()+n.slice(1)),Q1=vy(n=>n?`on${sf(n)}`:""),xm=(n,e)=>!Object.is(n,e),fv=(n,e)=>{for(let r=0;r{Object.defineProperty(n,e,{configurable:!0,enumerable:!1,value:r})},kb=n=>{const e=parseFloat(n);return isNaN(e)?n:e},g8=n=>{const e=Po(n)?Number(n):NaN;return isNaN(e)?n:e};let c3;const v8=()=>c3||(c3=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let du;class _T{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=du,!e&&du&&(this.index=(du.scopes||(du.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const r=du;try{return du=this,e()}finally{du=r}}}on(){du=this}off(){du=this.parent}stop(e){if(this._active){let r,C;for(r=0,C=this.effects.length;r{const e=new Set(n);return e.w=0,e.n=0,e},TT=n=>(n.w&jf)>0,kT=n=>(n.n&jf)>0,b8=({deps:n})=>{if(n.length)for(let e=0;e{const{deps:e}=n;if(e.length){let r=0;for(let C=0;C{(i==="length"||i>=d)&&t.push(g)})}else switch(r!==void 0&&t.push(p.get(r)),e){case"add":gi(n)?Vx(r)&&t.push(p.get("length")):(t.push(p.get(Fd)),Np(n)&&t.push(p.get(Ab)));break;case"delete":gi(n)||(t.push(p.get(Fd)),Np(n)&&t.push(p.get(Ab)));break;case"set":Np(n)&&t.push(p.get(Fd));break}if(t.length===1)t[0]&&Sb(t[0]);else{const d=[];for(const g of t)g&&d.push(...g);Sb(jx(d))}}function Sb(n,e){const r=gi(n)?n:[...n];for(const C of r)C.computed&&f3(C);for(const C of r)C.computed||f3(C)}function f3(n,e){(n!==Lc||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}function _8(n,e){var r;return(r=Sv.get(n))===null||r===void 0?void 0:r.get(e)}const w8=zx("__proto__,__v_isRef,__isVue"),ST=new Set(Object.getOwnPropertyNames(Symbol).filter(n=>n!=="arguments"&&n!=="caller").map(n=>Symbol[n]).filter(Nx)),T8=Hx(),k8=Hx(!1,!0),M8=Hx(!0),d3=A8();function A8(){const n={};return["includes","indexOf","lastIndexOf"].forEach(e=>{n[e]=function(...r){const C=wi(this);for(let T=0,p=this.length;T{n[e]=function(...r){d0();const C=wi(this)[e].apply(this,r);return p0(),C}}),n}function S8(n){const e=wi(this);return $l(e,"has",n),e.hasOwnProperty(n)}function Hx(n=!1,e=!1){return function(C,D,T){if(D==="__v_isReactive")return!n;if(D==="__v_isReadonly")return n;if(D==="__v_isShallow")return e;if(D==="__v_raw"&&T===(n?e?H8:RT:e?IT:LT).get(C))return C;const p=gi(C);if(!n){if(p&&ga(d3,D))return Reflect.get(d3,D,T);if(D==="hasOwnProperty")return S8}const t=Reflect.get(C,D,T);return(Nx(D)?ST.has(D):w8(D))||(n||$l(C,"get",D),e)?t:eo(t)?p&&Vx(D)?t:t.value:so(t)?n?Hm(t):yl(t):t}}const C8=CT(),E8=CT(!0);function CT(n=!1){return function(r,C,D,T){let p=r[C];if($p(p)&&eo(p)&&!eo(D))return!1;if(!n&&(!Cv(D)&&!$p(D)&&(p=wi(p),D=wi(D)),!gi(r)&&eo(p)&&!eo(D)))return p.value=D,!0;const t=gi(r)&&Vx(C)?Number(C)n,yy=n=>Reflect.getPrototypeOf(n);function Kg(n,e,r=!1,C=!1){n=n.__v_raw;const D=wi(n),T=wi(e);r||(e!==T&&$l(D,"get",e),$l(D,"get",T));const{has:p}=yy(D),t=C?Gx:r?Yx:_m;if(p.call(D,e))return t(n.get(e));if(p.call(D,T))return t(n.get(T));n!==D&&n.get(e)}function Jg(n,e=!1){const r=this.__v_raw,C=wi(r),D=wi(n);return e||(n!==D&&$l(C,"has",n),$l(C,"has",D)),n===D?r.has(n):r.has(n)||r.has(D)}function Qg(n,e=!1){return n=n.__v_raw,!e&&$l(wi(n),"iterate",Fd),Reflect.get(n,"size",n)}function p3(n){n=wi(n);const e=wi(this);return yy(e).has.call(e,n)||(e.add(n),ef(e,"add",n,n)),this}function m3(n,e){e=wi(e);const r=wi(this),{has:C,get:D}=yy(r);let T=C.call(r,n);T||(n=wi(n),T=C.call(r,n));const p=D.call(r,n);return r.set(n,e),T?xm(e,p)&&ef(r,"set",n,e):ef(r,"add",n,e),this}function g3(n){const e=wi(this),{has:r,get:C}=yy(e);let D=r.call(e,n);D||(n=wi(n),D=r.call(e,n)),C&&C.call(e,n);const T=e.delete(n);return D&&ef(e,"delete",n,void 0),T}function v3(){const n=wi(this),e=n.size!==0,r=n.clear();return e&&ef(n,"clear",void 0,void 0),r}function ev(n,e){return function(C,D){const T=this,p=T.__v_raw,t=wi(p),d=e?Gx:n?Yx:_m;return!n&&$l(t,"iterate",Fd),p.forEach((g,i)=>C.call(D,d(g),d(i),T))}}function tv(n,e,r){return function(...C){const D=this.__v_raw,T=wi(D),p=Np(T),t=n==="entries"||n===Symbol.iterator&&p,d=n==="keys"&&p,g=D[n](...C),i=r?Gx:e?Yx:_m;return!e&&$l(T,"iterate",d?Ab:Fd),{next(){const{value:M,done:v}=g.next();return v?{value:M,done:v}:{value:t?[i(M[0]),i(M[1])]:i(M),done:v}},[Symbol.iterator](){return this}}}}function Sf(n){return function(...e){return n==="delete"?!1:this}}function D8(){const n={get(T){return Kg(this,T)},get size(){return Qg(this)},has:Jg,add:p3,set:m3,delete:g3,clear:v3,forEach:ev(!1,!1)},e={get(T){return Kg(this,T,!1,!0)},get size(){return Qg(this)},has:Jg,add:p3,set:m3,delete:g3,clear:v3,forEach:ev(!1,!0)},r={get(T){return Kg(this,T,!0)},get size(){return Qg(this,!0)},has(T){return Jg.call(this,T,!0)},add:Sf("add"),set:Sf("set"),delete:Sf("delete"),clear:Sf("clear"),forEach:ev(!0,!1)},C={get(T){return Kg(this,T,!0,!0)},get size(){return Qg(this,!0)},has(T){return Jg.call(this,T,!0)},add:Sf("add"),set:Sf("set"),delete:Sf("delete"),clear:Sf("clear"),forEach:ev(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(T=>{n[T]=tv(T,!1,!1),r[T]=tv(T,!0,!1),e[T]=tv(T,!1,!0),C[T]=tv(T,!0,!0)}),[n,r,e,C]}const[z8,F8,B8,N8]=D8();function qx(n,e){const r=e?n?N8:B8:n?F8:z8;return(C,D,T)=>D==="__v_isReactive"?!n:D==="__v_isReadonly"?n:D==="__v_raw"?C:Reflect.get(ga(r,D)&&D in C?r:C,D,T)}const V8={get:qx(!1,!1)},j8={get:qx(!1,!0)},U8={get:qx(!0,!1)},LT=new WeakMap,IT=new WeakMap,RT=new WeakMap,H8=new WeakMap;function G8(n){switch(n){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function q8(n){return n.__v_skip||!Object.isExtensible(n)?0:G8(d8(n))}function yl(n){return $p(n)?n:Wx(n,!1,ET,V8,LT)}function W8(n){return Wx(n,!1,O8,j8,IT)}function Hm(n){return Wx(n,!0,P8,U8,RT)}function Wx(n,e,r,C,D){if(!so(n)||n.__v_raw&&!(e&&n.__v_isReactive))return n;const T=D.get(n);if(T)return T;const p=q8(n);if(p===0)return n;const t=new Proxy(n,p===2?C:r);return D.set(n,t),t}function Bf(n){return $p(n)?Bf(n.__v_raw):!!(n&&n.__v_isReactive)}function $p(n){return!!(n&&n.__v_isReadonly)}function Cv(n){return!!(n&&n.__v_isShallow)}function PT(n){return Bf(n)||$p(n)}function wi(n){const e=n&&n.__v_raw;return e?wi(e):n}function Zp(n){return Av(n,"__v_skip",!0),n}const _m=n=>so(n)?yl(n):n,Yx=n=>so(n)?Hm(n):n;function OT(n){Ff&&Lc&&(n=wi(n),AT(n.dep||(n.dep=jx())))}function DT(n,e){n=wi(n);const r=n.dep;r&&Sb(r)}function eo(n){return!!(n&&n.__v_isRef===!0)}function Vr(n){return zT(n,!1)}function Wr(n){return zT(n,!0)}function zT(n,e){return eo(n)?n:new Y8(n,e)}class Y8{constructor(e,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?e:wi(e),this._value=r?e:_m(e)}get value(){return OT(this),this._value}set value(e){const r=this.__v_isShallow||Cv(e)||$p(e);e=r?e:wi(e),xm(e,this._rawValue)&&(this._rawValue=e,this._value=r?e:_m(e),DT(this))}}function yu(n){return eo(n)?n.value:n}const $8={get:(n,e,r)=>yu(Reflect.get(n,e,r)),set:(n,e,r,C)=>{const D=n[e];return eo(D)&&!eo(r)?(D.value=r,!0):Reflect.set(n,e,r,C)}};function FT(n){return Bf(n)?n:new Proxy(n,$8)}function by(n){const e=gi(n)?new Array(n.length):{};for(const r in n)e[r]=Cr(n,r);return e}class Z8{constructor(e,r,C){this._object=e,this._key=r,this._defaultValue=C,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return _8(wi(this._object),this._key)}}function Cr(n,e,r){const C=n[e];return eo(C)?C:new Z8(n,e,r)}var BT;class X8{constructor(e,r,C,D){this._setter=r,this.dep=void 0,this.__v_isRef=!0,this[BT]=!1,this._dirty=!0,this.effect=new Ux(e,()=>{this._dirty||(this._dirty=!0,DT(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!D,this.__v_isReadonly=C}get value(){const e=wi(this);return OT(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}BT="__v_isReadonly";function K8(n,e,r=!1){let C,D;const T=Fi(n);return T?(C=n,D=Dc):(C=n.get,D=n.set),new X8(C,D,T||!D,r)}function Nf(n,e,r,C){let D;try{D=C?n(...C):n()}catch(T){xy(T,e,r)}return D}function Qu(n,e,r,C){if(Fi(n)){const T=Nf(n,e,r,C);return T&&yT(T)&&T.catch(p=>{xy(p,e,r)}),T}const D=[];for(let T=0;T>>1;Tm($s[C])sh&&$s.splice(e,1)}function tE(n){gi(n)?Vp.push(...n):(!Gh||!Gh.includes(n,n.allowRecurse?kd+1:kd))&&Vp.push(n),VT()}function y3(n,e=wm?sh+1:0){for(;e<$s.length;e++){const r=$s[e];r&&r.pre&&($s.splice(e,1),e--,r())}}function jT(n){if(Vp.length){const e=[...new Set(Vp)];if(Vp.length=0,Gh){Gh.push(...e);return}for(Gh=e,Gh.sort((r,C)=>Tm(r)-Tm(C)),kd=0;kdn.id==null?1/0:n.id,nE=(n,e)=>{const r=Tm(n)-Tm(e);if(r===0){if(n.pre&&!e.pre)return-1;if(e.pre&&!n.pre)return 1}return r};function UT(n){Cb=!1,wm=!0,$s.sort(nE);const e=Dc;try{for(sh=0;sh<$s.length;sh++){const r=$s[sh];r&&r.active!==!1&&Nf(r,null,14)}}finally{sh=0,$s.length=0,jT(),wm=!1,$x=null,($s.length||Vp.length)&&UT()}}function rE(n,e,...r){if(n.isUnmounted)return;const C=n.vnode.props||io;let D=r;const T=e.startsWith("update:"),p=T&&e.slice(7);if(p&&p in C){const i=`${p==="modelValue"?"model":p}Modifiers`,{number:M,trim:v}=C[i]||io;v&&(D=r.map(f=>Po(f)?f.trim():f)),M&&(D=r.map(kb))}let t,d=C[t=Q1(e)]||C[t=Q1(tc(e))];!d&&T&&(d=C[t=Q1(f0(e))]),d&&Qu(d,n,6,D);const g=C[t+"Once"];if(g){if(!n.emitted)n.emitted={};else if(n.emitted[t])return;n.emitted[t]=!0,Qu(g,n,6,D)}}function HT(n,e,r=!1){const C=e.emitsCache,D=C.get(n);if(D!==void 0)return D;const T=n.emits;let p={},t=!1;if(!Fi(n)){const d=g=>{const i=HT(g,e,!0);i&&(t=!0,Ms(p,i))};!r&&e.mixins.length&&e.mixins.forEach(d),n.extends&&d(n.extends),n.mixins&&n.mixins.forEach(d)}return!T&&!t?(so(n)&&C.set(n,null),null):(gi(T)?T.forEach(d=>p[d]=null):Ms(p,T),so(n)&&C.set(n,p),p)}function _y(n,e){return!n||!my(e)?!1:(e=e.slice(2).replace(/Once$/,""),ga(n,e[0].toLowerCase()+e.slice(1))||ga(n,f0(e))||ga(n,e))}let Fs=null,wy=null;function Ev(n){const e=Fs;return Fs=n,wy=n&&n.type.__scopeId||null,e}function Ty(n){wy=n}function ky(){wy=null}function ci(n,e=Fs,r){if(!e||n._n)return n;const C=(...D)=>{C._d&&E3(-1);const T=Ev(e);let p;try{p=n(...D)}finally{Ev(T),C._d&&E3(1)}return p};return C._n=!0,C._c=!0,C._d=!0,C}function eb(n){const{type:e,vnode:r,proxy:C,withProxy:D,props:T,propsOptions:[p],slots:t,attrs:d,emit:g,render:i,renderCache:M,data:v,setupState:f,ctx:l,inheritAttrs:a}=n;let u,o;const s=Ev(n);try{if(r.shapeFlag&4){const h=D||C;u=oh(i.call(h,h,M,T,f,v,l)),o=d}else{const h=e;u=oh(h.length>1?h(T,{attrs:d,slots:t,emit:g}):h(T,null)),o=e.props?d:iE(d)}}catch(h){dm.length=0,xy(h,n,1),u=gt(ec)}let c=u;if(o&&a!==!1){const h=Object.keys(o),{shapeFlag:m}=c;h.length&&m&7&&(p&&h.some(Fx)&&(o=aE(o,p)),c=tf(c,o))}return r.dirs&&(c=tf(c),c.dirs=c.dirs?c.dirs.concat(r.dirs):r.dirs),r.transition&&(c.transition=r.transition),u=c,Ev(s),u}const iE=n=>{let e;for(const r in n)(r==="class"||r==="style"||my(r))&&((e||(e={}))[r]=n[r]);return e},aE=(n,e)=>{const r={};for(const C in n)(!Fx(C)||!(C.slice(9)in e))&&(r[C]=n[C]);return r};function oE(n,e,r){const{props:C,children:D,component:T}=n,{props:p,children:t,patchFlag:d}=e,g=T.emitsOptions;if(e.dirs||e.transition)return!0;if(r&&d>=0){if(d&1024)return!0;if(d&16)return C?b3(C,p,g):!!p;if(d&8){const i=e.dynamicProps;for(let M=0;Mn.__isSuspense;function uE(n,e){e&&e.pendingBranch?gi(n)?e.effects.push(...n):e.effects.push(n):tE(n)}function ts(n,e){if(Wo){let r=Wo.provides;const C=Wo.parent&&Wo.parent.provides;C===r&&(r=Wo.provides=Object.create(C)),r[n]=e}}function ka(n,e,r=!1){const C=Wo||Fs;if(C){const D=C.parent==null?C.vnode.appContext&&C.vnode.appContext.provides:C.parent.provides;if(D&&n in D)return D[n];if(arguments.length>1)return r&&Fi(e)?e.call(C.proxy):e}}function wu(n,e){return Xx(n,null,e)}const nv={};function $r(n,e,r){return Xx(n,e,r)}function Xx(n,e,{immediate:r,deep:C,flush:D,onTrack:T,onTrigger:p}=io){const t=wT()===(Wo==null?void 0:Wo.scope)?Wo:null;let d,g=!1,i=!1;if(eo(n)?(d=()=>n.value,g=Cv(n)):Bf(n)?(d=()=>n,C=!0):gi(n)?(i=!0,g=n.some(c=>Bf(c)||Cv(c)),d=()=>n.map(c=>{if(eo(c))return c.value;if(Bf(c))return Sd(c);if(Fi(c))return Nf(c,t,2)})):Fi(n)?e?d=()=>Nf(n,t,2):d=()=>{if(!(t&&t.isUnmounted))return M&&M(),Qu(n,t,3,[v])}:d=Dc,e&&C){const c=d;d=()=>Sd(c())}let M,v=c=>{M=o.onStop=()=>{Nf(c,t,4)}},f;if(Sm)if(v=Dc,e?r&&Qu(e,t,3,[d(),i?[]:void 0,v]):d(),D==="sync"){const c=QE();f=c.__watcherHandles||(c.__watcherHandles=[])}else return Dc;let l=i?new Array(n.length).fill(nv):nv;const a=()=>{if(o.active)if(e){const c=o.run();(C||g||(i?c.some((h,m)=>xm(h,l[m])):xm(c,l)))&&(M&&M(),Qu(e,t,3,[c,l===nv?void 0:i&&l[0]===nv?[]:l,v]),l=c)}else o.run()};a.allowRecurse=!!e;let u;D==="sync"?u=a:D==="post"?u=()=>Nl(a,t&&t.suspense):(a.pre=!0,t&&(a.id=t.uid),u=()=>Zx(a));const o=new Ux(d,u);e?r?a():l=o.run():D==="post"?Nl(o.run.bind(o),t&&t.suspense):o.run();const s=()=>{o.stop(),t&&t.scope&&Bx(t.scope.effects,o)};return f&&f.push(s),s}function cE(n,e,r){const C=this.proxy,D=Po(n)?n.includes(".")?GT(C,n):()=>C[n]:n.bind(C,C);let T;Fi(e)?T=e:(T=e.handler,r=e);const p=Wo;Xp(this);const t=Xx(D,T.bind(C),r);return p?Xp(p):Bd(),t}function GT(n,e){const r=e.split(".");return()=>{let C=n;for(let D=0;D{Sd(r,e)});else if(xT(n))for(const r in n)Sd(n[r],e);return n}function qT(){const n={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ks(()=>{n.isMounted=!0}),Tl(()=>{n.isUnmounting=!0}),n}const Gu=[Function,Array],hE={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Gu,onEnter:Gu,onAfterEnter:Gu,onEnterCancelled:Gu,onBeforeLeave:Gu,onLeave:Gu,onAfterLeave:Gu,onLeaveCancelled:Gu,onBeforeAppear:Gu,onAppear:Gu,onAfterAppear:Gu,onAppearCancelled:Gu},setup(n,{slots:e}){const r=Ey(),C=qT();let D;return()=>{const T=e.default&&Kx(e.default(),!0);if(!T||!T.length)return;let p=T[0];if(T.length>1){for(const a of T)if(a.type!==ec){p=a;break}}const t=wi(n),{mode:d}=t;if(C.isLeaving)return tb(p);const g=x3(p);if(!g)return tb(p);const i=km(g,t,C,r);Mm(g,i);const M=r.subTree,v=M&&x3(M);let f=!1;const{getTransitionKey:l}=g.type;if(l){const a=l();D===void 0?D=a:a!==D&&(D=a,f=!0)}if(v&&v.type!==ec&&(!Md(g,v)||f)){const a=km(v,t,C,r);if(Mm(v,a),d==="out-in")return C.isLeaving=!0,a.afterLeave=()=>{C.isLeaving=!1,r.update.active!==!1&&r.update()},tb(p);d==="in-out"&&g.type!==ec&&(a.delayLeave=(u,o,s)=>{const c=YT(C,v);c[String(v.key)]=v,u._leaveCb=()=>{o(),u._leaveCb=void 0,delete i.delayedLeave},i.delayedLeave=s})}return p}}},WT=hE;function YT(n,e){const{leavingVNodes:r}=n;let C=r.get(e.type);return C||(C=Object.create(null),r.set(e.type,C)),C}function km(n,e,r,C){const{appear:D,mode:T,persisted:p=!1,onBeforeEnter:t,onEnter:d,onAfterEnter:g,onEnterCancelled:i,onBeforeLeave:M,onLeave:v,onAfterLeave:f,onLeaveCancelled:l,onBeforeAppear:a,onAppear:u,onAfterAppear:o,onAppearCancelled:s}=e,c=String(n.key),h=YT(r,n),m=(S,_)=>{S&&Qu(S,C,9,_)},w=(S,_)=>{const k=_[1];m(S,_),gi(S)?S.every(E=>E.length<=1)&&k():S.length<=1&&k()},y={mode:T,persisted:p,beforeEnter(S){let _=t;if(!r.isMounted)if(D)_=a||t;else return;S._leaveCb&&S._leaveCb(!0);const k=h[c];k&&Md(n,k)&&k.el._leaveCb&&k.el._leaveCb(),m(_,[S])},enter(S){let _=d,k=g,E=i;if(!r.isMounted)if(D)_=u||d,k=o||g,E=s||i;else return;let x=!1;const A=S._enterCb=L=>{x||(x=!0,L?m(E,[S]):m(k,[S]),y.delayedLeave&&y.delayedLeave(),S._enterCb=void 0)};_?w(_,[S,A]):A()},leave(S,_){const k=String(n.key);if(S._enterCb&&S._enterCb(!0),r.isUnmounting)return _();m(M,[S]);let E=!1;const x=S._leaveCb=A=>{E||(E=!0,_(),A?m(l,[S]):m(f,[S]),S._leaveCb=void 0,h[k]===n&&delete h[k])};h[k]=n,v?w(v,[S,x]):x()},clone(S){return km(S,e,r,C)}};return y}function tb(n){if(My(n))return n=tf(n),n.children=null,n}function x3(n){return My(n)?n.children?n.children[0]:void 0:n}function Mm(n,e){n.shapeFlag&6&&n.component?Mm(n.component.subTree,e):n.shapeFlag&128?(n.ssContent.transition=e.clone(n.ssContent),n.ssFallback.transition=e.clone(n.ssFallback)):n.transition=e}function Kx(n,e=!1,r){let C=[],D=0;for(let T=0;T1)for(let T=0;T!!n.type.__asyncLoader,My=n=>n.type.__isKeepAlive;function $T(n,e){XT(n,"a",e)}function ZT(n,e){XT(n,"da",e)}function XT(n,e,r=Wo){const C=n.__wdc||(n.__wdc=()=>{let D=r;for(;D;){if(D.isDeactivated)return;D=D.parent}return n()});if(Ay(e,C,r),r){let D=r.parent;for(;D&&D.parent;)My(D.parent.vnode)&&fE(C,e,r,D),D=D.parent}}function fE(n,e,r,C){const D=Ay(e,n,C,!0);QT(()=>{Bx(C[e],D)},r)}function Ay(n,e,r=Wo,C=!1){if(r){const D=r[n]||(r[n]=[]),T=e.__weh||(e.__weh=(...p)=>{if(r.isUnmounted)return;d0(),Xp(r);const t=Qu(e,r,n,p);return Bd(),p0(),t});return C?D.unshift(T):D.push(T),T}}const lf=n=>(e,r=Wo)=>(!Sm||n==="sp")&&Ay(n,(...C)=>e(...C),r),Sy=lf("bm"),Ks=lf("m"),KT=lf("bu"),JT=lf("u"),Tl=lf("bum"),QT=lf("um"),dE=lf("sp"),pE=lf("rtg"),mE=lf("rtc");function gE(n,e=Wo){Ay("ec",n,e)}function Co(n,e){const r=Fs;if(r===null)return n;const C=Ly(r)||r.proxy,D=n.dirs||(n.dirs=[]);for(let T=0;Te(p,t,void 0,T&&T[t]));else{const p=Object.keys(n);D=new Array(p.length);for(let t=0,d=p.length;tIv(e)?!(e.type===ec||e.type===Yr&&!t4(e.children)):!0)?n:null}const Eb=n=>n?f4(n)?Ly(n)||n.proxy:Eb(n.parent):null,hm=Ms(Object.create(null),{$:n=>n,$el:n=>n.vnode.el,$data:n=>n.data,$props:n=>n.props,$attrs:n=>n.attrs,$slots:n=>n.slots,$refs:n=>n.refs,$parent:n=>Eb(n.parent),$root:n=>Eb(n.root),$emit:n=>n.emit,$options:n=>e2(n),$forceUpdate:n=>n.f||(n.f=()=>Zx(n.update)),$nextTick:n=>n.n||(n.n=Ua.bind(n.proxy)),$watch:n=>cE.bind(n)}),rb=(n,e)=>n!==io&&!n.__isScriptSetup&&ga(n,e),bE={get({_:n},e){const{ctx:r,setupState:C,data:D,props:T,accessCache:p,type:t,appContext:d}=n;let g;if(e[0]!=="$"){const f=p[e];if(f!==void 0)switch(f){case 1:return C[e];case 2:return D[e];case 4:return r[e];case 3:return T[e]}else{if(rb(C,e))return p[e]=1,C[e];if(D!==io&&ga(D,e))return p[e]=2,D[e];if((g=n.propsOptions[0])&&ga(g,e))return p[e]=3,T[e];if(r!==io&&ga(r,e))return p[e]=4,r[e];Lb&&(p[e]=0)}}const i=hm[e];let M,v;if(i)return e==="$attrs"&&$l(n,"get",e),i(n);if((M=t.__cssModules)&&(M=M[e]))return M;if(r!==io&&ga(r,e))return p[e]=4,r[e];if(v=d.config.globalProperties,ga(v,e))return v[e]},set({_:n},e,r){const{data:C,setupState:D,ctx:T}=n;return rb(D,e)?(D[e]=r,!0):C!==io&&ga(C,e)?(C[e]=r,!0):ga(n.props,e)||e[0]==="$"&&e.slice(1)in n?!1:(T[e]=r,!0)},has({_:{data:n,setupState:e,accessCache:r,ctx:C,appContext:D,propsOptions:T}},p){let t;return!!r[p]||n!==io&&ga(n,p)||rb(e,p)||(t=T[0])&&ga(t,p)||ga(C,p)||ga(hm,p)||ga(D.config.globalProperties,p)},defineProperty(n,e,r){return r.get!=null?n._.accessCache[e]=0:ga(r,"value")&&this.set(n,e,r.value,null),Reflect.defineProperty(n,e,r)}};let Lb=!0;function xE(n){const e=e2(n),r=n.proxy,C=n.ctx;Lb=!1,e.beforeCreate&&w3(e.beforeCreate,n,"bc");const{data:D,computed:T,methods:p,watch:t,provide:d,inject:g,created:i,beforeMount:M,mounted:v,beforeUpdate:f,updated:l,activated:a,deactivated:u,beforeDestroy:o,beforeUnmount:s,destroyed:c,unmounted:h,render:m,renderTracked:w,renderTriggered:y,errorCaptured:S,serverPrefetch:_,expose:k,inheritAttrs:E,components:x,directives:A,filters:L}=e;if(g&&_E(g,C,null,n.appContext.config.unwrapInjectedRef),p)for(const I in p){const O=p[I];Fi(O)&&(C[I]=O.bind(r))}if(D){const I=D.call(r,r);so(I)&&(n.data=yl(I))}if(Lb=!0,T)for(const I in T){const O=T[I],z=Fi(O)?O.bind(r,r):Fi(O.get)?O.get.bind(r,r):Dc,F=!Fi(O)&&Fi(O.set)?O.set.bind(r):Dc,B=cn({get:z,set:F});Object.defineProperty(C,I,{enumerable:!0,configurable:!0,get:()=>B.value,set:N=>B.value=N})}if(t)for(const I in t)n4(t[I],C,r,I);if(d){const I=Fi(d)?d.call(r):d;Reflect.ownKeys(I).forEach(O=>{ts(O,I[O])})}i&&w3(i,n,"c");function R(I,O){gi(O)?O.forEach(z=>I(z.bind(r))):O&&I(O.bind(r))}if(R(Sy,M),R(Ks,v),R(KT,f),R(JT,l),R($T,a),R(ZT,u),R(gE,S),R(mE,w),R(pE,y),R(Tl,s),R(QT,h),R(dE,_),gi(k))if(k.length){const I=n.exposed||(n.exposed={});k.forEach(O=>{Object.defineProperty(I,O,{get:()=>r[O],set:z=>r[O]=z})})}else n.exposed||(n.exposed={});m&&n.render===Dc&&(n.render=m),E!=null&&(n.inheritAttrs=E),x&&(n.components=x),A&&(n.directives=A)}function _E(n,e,r=Dc,C=!1){gi(n)&&(n=Ib(n));for(const D in n){const T=n[D];let p;so(T)?"default"in T?p=ka(T.from||D,T.default,!0):p=ka(T.from||D):p=ka(T),eo(p)&&C?Object.defineProperty(e,D,{enumerable:!0,configurable:!0,get:()=>p.value,set:t=>p.value=t}):e[D]=p}}function w3(n,e,r){Qu(gi(n)?n.map(C=>C.bind(e.proxy)):n.bind(e.proxy),e,r)}function n4(n,e,r,C){const D=C.includes(".")?GT(r,C):()=>r[C];if(Po(n)){const T=e[n];Fi(T)&&$r(D,T)}else if(Fi(n))$r(D,n.bind(r));else if(so(n))if(gi(n))n.forEach(T=>n4(T,e,r,C));else{const T=Fi(n.handler)?n.handler.bind(r):e[n.handler];Fi(T)&&$r(D,T,n)}}function e2(n){const e=n.type,{mixins:r,extends:C}=e,{mixins:D,optionsCache:T,config:{optionMergeStrategies:p}}=n.appContext,t=T.get(e);let d;return t?d=t:!D.length&&!r&&!C?d=e:(d={},D.length&&D.forEach(g=>Lv(d,g,p,!0)),Lv(d,e,p)),so(e)&&T.set(e,d),d}function Lv(n,e,r,C=!1){const{mixins:D,extends:T}=e;T&&Lv(n,T,r,!0),D&&D.forEach(p=>Lv(n,p,r,!0));for(const p in e)if(!(C&&p==="expose")){const t=wE[p]||r&&r[p];n[p]=t?t(n[p],e[p]):e[p]}return n}const wE={data:T3,props:Td,emits:Td,methods:Td,computed:Td,beforeCreate:pl,created:pl,beforeMount:pl,mounted:pl,beforeUpdate:pl,updated:pl,beforeDestroy:pl,beforeUnmount:pl,destroyed:pl,unmounted:pl,activated:pl,deactivated:pl,errorCaptured:pl,serverPrefetch:pl,components:Td,directives:Td,watch:kE,provide:T3,inject:TE};function T3(n,e){return e?n?function(){return Ms(Fi(n)?n.call(this,this):n,Fi(e)?e.call(this,this):e)}:e:n}function TE(n,e){return Td(Ib(n),Ib(e))}function Ib(n){if(gi(n)){const e={};for(let r=0;r0)&&!(p&16)){if(p&8){const i=n.vnode.dynamicProps;for(let M=0;M{d=!0;const[v,f]=i4(M,e,!0);Ms(p,v),f&&t.push(...f)};!r&&e.mixins.length&&e.mixins.forEach(i),n.extends&&i(n.extends),n.mixins&&n.mixins.forEach(i)}if(!T&&!d)return so(n)&&C.set(n,Bp),Bp;if(gi(T))for(let i=0;i-1,f[1]=a<0||l-1||ga(f,"default"))&&t.push(M)}}}const g=[p,t];return so(n)&&C.set(n,g),g}function k3(n){return n[0]!=="$"}function M3(n){const e=n&&n.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:n===null?"null":""}function A3(n,e){return M3(n)===M3(e)}function S3(n,e){return gi(e)?e.findIndex(r=>A3(r,n)):Fi(e)&&A3(e,n)?0:-1}const a4=n=>n[0]==="_"||n==="$stable",t2=n=>gi(n)?n.map(oh):[oh(n)],SE=(n,e,r)=>{if(e._n)return e;const C=ci((...D)=>t2(e(...D)),r);return C._c=!1,C},o4=(n,e,r)=>{const C=n._ctx;for(const D in n){if(a4(D))continue;const T=n[D];if(Fi(T))e[D]=SE(D,T,C);else if(T!=null){const p=t2(T);e[D]=()=>p}}},s4=(n,e)=>{const r=t2(e);n.slots.default=()=>r},CE=(n,e)=>{if(n.vnode.shapeFlag&32){const r=e._;r?(n.slots=wi(e),Av(e,"_",r)):o4(e,n.slots={})}else n.slots={},e&&s4(n,e);Av(n.slots,Cy,1)},EE=(n,e,r)=>{const{vnode:C,slots:D}=n;let T=!0,p=io;if(C.shapeFlag&32){const t=e._;t?r&&t===1?T=!1:(Ms(D,e),!r&&t===1&&delete D._):(T=!e.$stable,o4(e,D)),p=e}else e&&(s4(n,e),p={default:1});if(T)for(const t in D)!a4(t)&&!(t in p)&&delete D[t]};function l4(){return{app:null,config:{isNativeTag:c8,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let LE=0;function IE(n,e){return function(C,D=null){Fi(C)||(C=Object.assign({},C)),D!=null&&!so(D)&&(D=null);const T=l4(),p=new Set;let t=!1;const d=T.app={_uid:LE++,_component:C,_props:D,_container:null,_context:T,_instance:null,version:e7,get config(){return T.config},set config(g){},use(g,...i){return p.has(g)||(g&&Fi(g.install)?(p.add(g),g.install(d,...i)):Fi(g)&&(p.add(g),g(d,...i))),d},mixin(g){return T.mixins.includes(g)||T.mixins.push(g),d},component(g,i){return i?(T.components[g]=i,d):T.components[g]},directive(g,i){return i?(T.directives[g]=i,d):T.directives[g]},mount(g,i,M){if(!t){const v=gt(C,D);return v.appContext=T,i&&e?e(v,g):n(v,g,M),t=!0,d._container=g,g.__vue_app__=d,Ly(v.component)||v.component.proxy}},unmount(){t&&(n(null,d._container),delete d._container.__vue_app__)},provide(g,i){return T.provides[g]=i,d}};return d}}function Pb(n,e,r,C,D=!1){if(gi(n)){n.forEach((v,f)=>Pb(v,e&&(gi(e)?e[f]:e),r,C,D));return}if(cm(C)&&!D)return;const T=C.shapeFlag&4?Ly(C.component)||C.component.proxy:C.el,p=D?null:T,{i:t,r:d}=n,g=e&&e.r,i=t.refs===io?t.refs={}:t.refs,M=t.setupState;if(g!=null&&g!==d&&(Po(g)?(i[g]=null,ga(M,g)&&(M[g]=null)):eo(g)&&(g.value=null)),Fi(d))Nf(d,t,12,[p,i]);else{const v=Po(d),f=eo(d);if(v||f){const l=()=>{if(n.f){const a=v?ga(M,d)?M[d]:i[d]:d.value;D?gi(a)&&Bx(a,T):gi(a)?a.includes(T)||a.push(T):v?(i[d]=[T],ga(M,d)&&(M[d]=i[d])):(d.value=[T],n.k&&(i[n.k]=d.value))}else v?(i[d]=p,ga(M,d)&&(M[d]=p)):f&&(d.value=p,n.k&&(i[n.k]=p))};p?(l.id=-1,Nl(l,r)):l()}}}const Nl=uE;function RE(n){return PE(n)}function PE(n,e){const r=v8();r.__VUE__=!0;const{insert:C,remove:D,patchProp:T,createElement:p,createText:t,createComment:d,setText:g,setElementText:i,parentNode:M,nextSibling:v,setScopeId:f=Dc,insertStaticContent:l}=n,a=(Z,X,Q,re=null,ie=null,oe=null,ue=!1,ce=null,ye=!!X.dynamicChildren)=>{if(Z===X)return;Z&&!Md(Z,X)&&(re=G(Z),N(Z,ie,oe,!0),Z=null),X.patchFlag===-2&&(ye=!1,X.dynamicChildren=null);const{type:de,ref:me,shapeFlag:pe}=X;switch(de){case Gm:u(Z,X,Q,re);break;case ec:o(Z,X,Q,re);break;case dv:Z==null&&s(X,Q,re,ue);break;case Yr:x(Z,X,Q,re,ie,oe,ue,ce,ye);break;default:pe&1?m(Z,X,Q,re,ie,oe,ue,ce,ye):pe&6?A(Z,X,Q,re,ie,oe,ue,ce,ye):(pe&64||pe&128)&&de.process(Z,X,Q,re,ie,oe,ue,ce,ye,H)}me!=null&&ie&&Pb(me,Z&&Z.ref,oe,X||Z,!X)},u=(Z,X,Q,re)=>{if(Z==null)C(X.el=t(X.children),Q,re);else{const ie=X.el=Z.el;X.children!==Z.children&&g(ie,X.children)}},o=(Z,X,Q,re)=>{Z==null?C(X.el=d(X.children||""),Q,re):X.el=Z.el},s=(Z,X,Q,re)=>{[Z.el,Z.anchor]=l(Z.children,X,Q,re,Z.el,Z.anchor)},c=({el:Z,anchor:X},Q,re)=>{let ie;for(;Z&&Z!==X;)ie=v(Z),C(Z,Q,re),Z=ie;C(X,Q,re)},h=({el:Z,anchor:X})=>{let Q;for(;Z&&Z!==X;)Q=v(Z),D(Z),Z=Q;D(X)},m=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{ue=ue||X.type==="svg",Z==null?w(X,Q,re,ie,oe,ue,ce,ye):_(Z,X,ie,oe,ue,ce,ye)},w=(Z,X,Q,re,ie,oe,ue,ce)=>{let ye,de;const{type:me,props:pe,shapeFlag:xe,transition:Pe,dirs:_e}=Z;if(ye=Z.el=p(Z.type,oe,pe&&pe.is,pe),xe&8?i(ye,Z.children):xe&16&&S(Z.children,ye,null,re,ie,oe&&me!=="foreignObject",ue,ce),_e&&vd(Z,null,re,"created"),y(ye,Z,Z.scopeId,ue,re),pe){for(const Se in pe)Se!=="value"&&!hv(Se)&&T(ye,Se,null,pe[Se],oe,Z.children,re,ie,U);"value"in pe&&T(ye,"value",null,pe.value),(de=pe.onVnodeBeforeMount)&&nh(de,re,Z)}_e&&vd(Z,null,re,"beforeMount");const Me=(!ie||ie&&!ie.pendingBranch)&&Pe&&!Pe.persisted;Me&&Pe.beforeEnter(ye),C(ye,X,Q),((de=pe&&pe.onVnodeMounted)||Me||_e)&&Nl(()=>{de&&nh(de,re,Z),Me&&Pe.enter(ye),_e&&vd(Z,null,re,"mounted")},ie)},y=(Z,X,Q,re,ie)=>{if(Q&&f(Z,Q),re)for(let oe=0;oe{for(let de=ye;de{const ce=X.el=Z.el;let{patchFlag:ye,dynamicChildren:de,dirs:me}=X;ye|=Z.patchFlag&16;const pe=Z.props||io,xe=X.props||io;let Pe;Q&&yd(Q,!1),(Pe=xe.onVnodeBeforeUpdate)&&nh(Pe,Q,X,Z),me&&vd(X,Z,Q,"beforeUpdate"),Q&&yd(Q,!0);const _e=ie&&X.type!=="foreignObject";if(de?k(Z.dynamicChildren,de,ce,Q,re,_e,oe):ue||O(Z,X,ce,null,Q,re,_e,oe,!1),ye>0){if(ye&16)E(ce,X,pe,xe,Q,re,ie);else if(ye&2&&pe.class!==xe.class&&T(ce,"class",null,xe.class,ie),ye&4&&T(ce,"style",pe.style,xe.style,ie),ye&8){const Me=X.dynamicProps;for(let Se=0;Se{Pe&&nh(Pe,Q,X,Z),me&&vd(X,Z,Q,"updated")},re)},k=(Z,X,Q,re,ie,oe,ue)=>{for(let ce=0;ce{if(Q!==re){if(Q!==io)for(const ce in Q)!hv(ce)&&!(ce in re)&&T(Z,ce,Q[ce],null,ue,X.children,ie,oe,U);for(const ce in re){if(hv(ce))continue;const ye=re[ce],de=Q[ce];ye!==de&&ce!=="value"&&T(Z,ce,de,ye,ue,X.children,ie,oe,U)}"value"in re&&T(Z,"value",Q.value,re.value)}},x=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{const de=X.el=Z?Z.el:t(""),me=X.anchor=Z?Z.anchor:t("");let{patchFlag:pe,dynamicChildren:xe,slotScopeIds:Pe}=X;Pe&&(ce=ce?ce.concat(Pe):Pe),Z==null?(C(de,Q,re),C(me,Q,re),S(X.children,Q,me,ie,oe,ue,ce,ye)):pe>0&&pe&64&&xe&&Z.dynamicChildren?(k(Z.dynamicChildren,xe,Q,ie,oe,ue,ce),(X.key!=null||ie&&X===ie.subTree)&&n2(Z,X,!0)):O(Z,X,Q,me,ie,oe,ue,ce,ye)},A=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{X.slotScopeIds=ce,Z==null?X.shapeFlag&512?ie.ctx.activate(X,Q,re,ue,ye):L(X,Q,re,ie,oe,ue,ye):b(Z,X,ye)},L=(Z,X,Q,re,ie,oe,ue)=>{const ce=Z.component=qE(Z,re,ie);if(My(Z)&&(ce.ctx.renderer=H),WE(ce),ce.asyncDep){if(ie&&ie.registerDep(ce,R),!Z.el){const ye=ce.subTree=gt(ec);o(null,ye,X,Q)}return}R(ce,Z,X,Q,ie,oe,ue)},b=(Z,X,Q)=>{const re=X.component=Z.component;if(oE(Z,X,Q))if(re.asyncDep&&!re.asyncResolved){I(re,X,Q);return}else re.next=X,eE(re.update),re.update();else X.el=Z.el,re.vnode=X},R=(Z,X,Q,re,ie,oe,ue)=>{const ce=()=>{if(Z.isMounted){let{next:me,bu:pe,u:xe,parent:Pe,vnode:_e}=Z,Me=me,Se;yd(Z,!1),me?(me.el=_e.el,I(Z,me,ue)):me=_e,pe&&fv(pe),(Se=me.props&&me.props.onVnodeBeforeUpdate)&&nh(Se,Pe,me,_e),yd(Z,!0);const Ce=eb(Z),ae=Z.subTree;Z.subTree=Ce,a(ae,Ce,M(ae.el),G(ae),Z,ie,oe),me.el=Ce.el,Me===null&&sE(Z,Ce.el),xe&&Nl(xe,ie),(Se=me.props&&me.props.onVnodeUpdated)&&Nl(()=>nh(Se,Pe,me,_e),ie)}else{let me;const{el:pe,props:xe}=X,{bm:Pe,m:_e,parent:Me}=Z,Se=cm(X);if(yd(Z,!1),Pe&&fv(Pe),!Se&&(me=xe&&xe.onVnodeBeforeMount)&&nh(me,Me,X),yd(Z,!0),pe&&te){const Ce=()=>{Z.subTree=eb(Z),te(pe,Z.subTree,Z,ie,null)};Se?X.type.__asyncLoader().then(()=>!Z.isUnmounted&&Ce()):Ce()}else{const Ce=Z.subTree=eb(Z);a(null,Ce,Q,re,Z,ie,oe),X.el=Ce.el}if(_e&&Nl(_e,ie),!Se&&(me=xe&&xe.onVnodeMounted)){const Ce=X;Nl(()=>nh(me,Me,Ce),ie)}(X.shapeFlag&256||Me&&cm(Me.vnode)&&Me.vnode.shapeFlag&256)&&Z.a&&Nl(Z.a,ie),Z.isMounted=!0,X=Q=re=null}},ye=Z.effect=new Ux(ce,()=>Zx(de),Z.scope),de=Z.update=()=>ye.run();de.id=Z.uid,yd(Z,!0),de()},I=(Z,X,Q)=>{X.component=Z;const re=Z.vnode.props;Z.vnode=X,Z.next=null,AE(Z,X.props,re,Q),EE(Z,X.children,Q),d0(),y3(),p0()},O=(Z,X,Q,re,ie,oe,ue,ce,ye=!1)=>{const de=Z&&Z.children,me=Z?Z.shapeFlag:0,pe=X.children,{patchFlag:xe,shapeFlag:Pe}=X;if(xe>0){if(xe&128){F(de,pe,Q,re,ie,oe,ue,ce,ye);return}else if(xe&256){z(de,pe,Q,re,ie,oe,ue,ce,ye);return}}Pe&8?(me&16&&U(de,ie,oe),pe!==de&&i(Q,pe)):me&16?Pe&16?F(de,pe,Q,re,ie,oe,ue,ce,ye):U(de,ie,oe,!0):(me&8&&i(Q,""),Pe&16&&S(pe,Q,re,ie,oe,ue,ce,ye))},z=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{Z=Z||Bp,X=X||Bp;const de=Z.length,me=X.length,pe=Math.min(de,me);let xe;for(xe=0;xeme?U(Z,ie,oe,!0,!1,pe):S(X,Q,re,ie,oe,ue,ce,ye,pe)},F=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{let de=0;const me=X.length;let pe=Z.length-1,xe=me-1;for(;de<=pe&&de<=xe;){const Pe=Z[de],_e=X[de]=ye?Rf(X[de]):oh(X[de]);if(Md(Pe,_e))a(Pe,_e,Q,null,ie,oe,ue,ce,ye);else break;de++}for(;de<=pe&&de<=xe;){const Pe=Z[pe],_e=X[xe]=ye?Rf(X[xe]):oh(X[xe]);if(Md(Pe,_e))a(Pe,_e,Q,null,ie,oe,ue,ce,ye);else break;pe--,xe--}if(de>pe){if(de<=xe){const Pe=xe+1,_e=Pexe)for(;de<=pe;)N(Z[de],ie,oe,!0),de++;else{const Pe=de,_e=de,Me=new Map;for(de=_e;de<=xe;de++){const Be=X[de]=ye?Rf(X[de]):oh(X[de]);Be.key!=null&&Me.set(Be.key,de)}let Se,Ce=0;const ae=xe-_e+1;let fe=!1,be=0;const ke=new Array(ae);for(de=0;de=ae){N(Be,ie,oe,!0);continue}let ze;if(Be.key!=null)ze=Me.get(Be.key);else for(Se=_e;Se<=xe;Se++)if(ke[Se-_e]===0&&Md(Be,X[Se])){ze=Se;break}ze===void 0?N(Be,ie,oe,!0):(ke[ze-_e]=de+1,ze>=be?be=ze:fe=!0,a(Be,X[ze],Q,null,ie,oe,ue,ce,ye),Ce++)}const Le=fe?OE(ke):Bp;for(Se=Le.length-1,de=ae-1;de>=0;de--){const Be=_e+de,ze=X[Be],je=Be+1{const{el:oe,type:ue,transition:ce,children:ye,shapeFlag:de}=Z;if(de&6){B(Z.component.subTree,X,Q,re);return}if(de&128){Z.suspense.move(X,Q,re);return}if(de&64){ue.move(Z,X,Q,H);return}if(ue===Yr){C(oe,X,Q);for(let pe=0;pece.enter(oe),ie);else{const{leave:pe,delayLeave:xe,afterLeave:Pe}=ce,_e=()=>C(oe,X,Q),Me=()=>{pe(oe,()=>{_e(),Pe&&Pe()})};xe?xe(oe,_e,Me):Me()}else C(oe,X,Q)},N=(Z,X,Q,re=!1,ie=!1)=>{const{type:oe,props:ue,ref:ce,children:ye,dynamicChildren:de,shapeFlag:me,patchFlag:pe,dirs:xe}=Z;if(ce!=null&&Pb(ce,null,Q,Z,!0),me&256){X.ctx.deactivate(Z);return}const Pe=me&1&&xe,_e=!cm(Z);let Me;if(_e&&(Me=ue&&ue.onVnodeBeforeUnmount)&&nh(Me,X,Z),me&6)$(Z.component,Q,re);else{if(me&128){Z.suspense.unmount(Q,re);return}Pe&&vd(Z,null,X,"beforeUnmount"),me&64?Z.type.remove(Z,X,Q,ie,H,re):de&&(oe!==Yr||pe>0&&pe&64)?U(de,X,Q,!1,!0):(oe===Yr&&pe&384||!ie&&me&16)&&U(ye,X,Q),re&&W(Z)}(_e&&(Me=ue&&ue.onVnodeUnmounted)||Pe)&&Nl(()=>{Me&&nh(Me,X,Z),Pe&&vd(Z,null,X,"unmounted")},Q)},W=Z=>{const{type:X,el:Q,anchor:re,transition:ie}=Z;if(X===Yr){j(Q,re);return}if(X===dv){h(Z);return}const oe=()=>{D(Q),ie&&!ie.persisted&&ie.afterLeave&&ie.afterLeave()};if(Z.shapeFlag&1&&ie&&!ie.persisted){const{leave:ue,delayLeave:ce}=ie,ye=()=>ue(Q,oe);ce?ce(Z.el,oe,ye):ye()}else oe()},j=(Z,X)=>{let Q;for(;Z!==X;)Q=v(Z),D(Z),Z=Q;D(X)},$=(Z,X,Q)=>{const{bum:re,scope:ie,update:oe,subTree:ue,um:ce}=Z;re&&fv(re),ie.stop(),oe&&(oe.active=!1,N(ue,Z,X,Q)),ce&&Nl(ce,X),Nl(()=>{Z.isUnmounted=!0},X),X&&X.pendingBranch&&!X.isUnmounted&&Z.asyncDep&&!Z.asyncResolved&&Z.suspenseId===X.pendingId&&(X.deps--,X.deps===0&&X.resolve())},U=(Z,X,Q,re=!1,ie=!1,oe=0)=>{for(let ue=oe;ueZ.shapeFlag&6?G(Z.component.subTree):Z.shapeFlag&128?Z.suspense.next():v(Z.anchor||Z.el),q=(Z,X,Q)=>{Z==null?X._vnode&&N(X._vnode,null,null,!0):a(X._vnode||null,Z,X,null,null,null,Q),y3(),jT(),X._vnode=Z},H={p:a,um:N,m:B,r:W,mt:L,mc:S,pc:O,pbc:k,n:G,o:n};let ne,te;return e&&([ne,te]=e(H)),{render:q,hydrate:ne,createApp:IE(q,ne)}}function yd({effect:n,update:e},r){n.allowRecurse=e.allowRecurse=r}function n2(n,e,r=!1){const C=n.children,D=e.children;if(gi(C)&&gi(D))for(let T=0;T>1,n[r[t]]0&&(e[C]=r[T-1]),r[T]=C)}}for(T=r.length,p=r[T-1];T-- >0;)r[T]=p,p=e[p];return r}const DE=n=>n.__isTeleport,fm=n=>n&&(n.disabled||n.disabled===""),C3=n=>typeof SVGElement<"u"&&n instanceof SVGElement,Ob=(n,e)=>{const r=n&&n.to;return Po(r)?e?e(r):null:r},zE={__isTeleport:!0,process(n,e,r,C,D,T,p,t,d,g){const{mc:i,pc:M,pbc:v,o:{insert:f,querySelector:l,createText:a,createComment:u}}=g,o=fm(e.props);let{shapeFlag:s,children:c,dynamicChildren:h}=e;if(n==null){const m=e.el=a(""),w=e.anchor=a("");f(m,r,C),f(w,r,C);const y=e.target=Ob(e.props,l),S=e.targetAnchor=a("");y&&(f(S,y),p=p||C3(y));const _=(k,E)=>{s&16&&i(c,k,E,D,T,p,t,d)};o?_(r,w):y&&_(y,S)}else{e.el=n.el;const m=e.anchor=n.anchor,w=e.target=n.target,y=e.targetAnchor=n.targetAnchor,S=fm(n.props),_=S?r:w,k=S?m:y;if(p=p||C3(w),h?(v(n.dynamicChildren,h,_,D,T,p,t),n2(n,e,!0)):d||M(n,e,_,k,D,T,p,t,!1),o)S||rv(e,r,m,g,1);else if((e.props&&e.props.to)!==(n.props&&n.props.to)){const E=e.target=Ob(e.props,l);E&&rv(e,E,null,g,0)}else S&&rv(e,w,y,g,1)}u4(e)},remove(n,e,r,C,{um:D,o:{remove:T}},p){const{shapeFlag:t,children:d,anchor:g,targetAnchor:i,target:M,props:v}=n;if(M&&T(i),(p||!fm(v))&&(T(g),t&16))for(let f=0;f0?Ic||Bp:null,NE(),Am>0&&Ic&&Ic.push(n),n}function ei(n,e,r,C,D,T){return c4(ti(n,e,r,C,D,T,!0))}function za(n,e,r,C,D){return c4(gt(n,e,r,C,D,!0))}function Iv(n){return n?n.__v_isVNode===!0:!1}function Md(n,e){return n.type===e.type&&n.key===e.key}const Cy="__vInternal",h4=({key:n})=>n??null,pv=({ref:n,ref_key:e,ref_for:r})=>n!=null?Po(n)||eo(n)||Fi(n)?{i:Fs,r:n,k:e,f:!!r}:n:null;function ti(n,e=null,r=null,C=0,D=null,T=n===Yr?0:1,p=!1,t=!1){const d={__v_isVNode:!0,__v_skip:!0,type:n,props:e,key:e&&h4(e),ref:e&&pv(e),scopeId:wy,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:T,patchFlag:C,dynamicProps:D,dynamicChildren:null,appContext:null,ctx:Fs};return t?(r2(d,r),T&128&&n.normalize(d)):r&&(d.shapeFlag|=Po(r)?8:16),Am>0&&!p&&Ic&&(d.patchFlag>0||T&6)&&d.patchFlag!==32&&Ic.push(d),d}const gt=VE;function VE(n,e=null,r=null,C=0,D=null,T=!1){if((!n||n===e4)&&(n=ec),Iv(n)){const t=tf(n,e,!0);return r&&r2(t,r),Am>0&&!T&&Ic&&(t.shapeFlag&6?Ic[Ic.indexOf(n)]=t:Ic.push(t)),t.patchFlag|=-2,t}if(KE(n)&&(n=n.__vccOpts),e){e=jE(e);let{class:t,style:d}=e;t&&!Po(t)&&(e.class=Ju(t)),so(d)&&(PT(d)&&!gi(d)&&(d=Ms({},d)),e.style=zs(d))}const p=Po(n)?1:lE(n)?128:DE(n)?64:so(n)?4:Fi(n)?2:0;return ti(n,e,r,C,D,p,T,!0)}function jE(n){return n?PT(n)||Cy in n?Ms({},n):n:null}function tf(n,e,r=!1){const{props:C,ref:D,patchFlag:T,children:p}=n,t=e?qr(C||{},e):C;return{__v_isVNode:!0,__v_skip:!0,type:n.type,props:t,key:t&&h4(t),ref:e&&e.ref?r&&D?gi(D)?D.concat(pv(e)):[D,pv(e)]:pv(e):D,scopeId:n.scopeId,slotScopeIds:n.slotScopeIds,children:p,target:n.target,targetAnchor:n.targetAnchor,staticCount:n.staticCount,shapeFlag:n.shapeFlag,patchFlag:e&&n.type!==Yr?T===-1?16:T|16:T,dynamicProps:n.dynamicProps,dynamicChildren:n.dynamicChildren,appContext:n.appContext,dirs:n.dirs,transition:n.transition,component:n.component,suspense:n.suspense,ssContent:n.ssContent&&tf(n.ssContent),ssFallback:n.ssFallback&&tf(n.ssFallback),el:n.el,anchor:n.anchor,ctx:n.ctx,ce:n.ce}}function ia(n=" ",e=0){return gt(Gm,null,n,e)}function UE(n,e){const r=gt(dv,null,n);return r.staticCount=e,r}function Zi(n="",e=!1){return e?(Rr(),za(ec,null,n)):gt(ec,null,n)}function oh(n){return n==null||typeof n=="boolean"?gt(ec):gi(n)?gt(Yr,null,n.slice()):typeof n=="object"?Rf(n):gt(Gm,null,String(n))}function Rf(n){return n.el===null&&n.patchFlag!==-1||n.memo?n:tf(n)}function r2(n,e){let r=0;const{shapeFlag:C}=n;if(e==null)e=null;else if(gi(e))r=16;else if(typeof e=="object")if(C&65){const D=e.default;D&&(D._c&&(D._d=!1),r2(n,D()),D._c&&(D._d=!0));return}else{r=32;const D=e._;!D&&!(Cy in e)?e._ctx=Fs:D===3&&Fs&&(Fs.slots._===1?e._=1:(e._=2,n.patchFlag|=1024))}else Fi(e)?(e={default:e,_ctx:Fs},r=32):(e=String(e),C&64?(r=16,e=[ia(e)]):r=8);n.children=e,n.shapeFlag|=r}function qr(...n){const e={};for(let r=0;rWo||Fs,Xp=n=>{Wo=n,n.scope.on()},Bd=()=>{Wo&&Wo.scope.off(),Wo=null};function f4(n){return n.vnode.shapeFlag&4}let Sm=!1;function WE(n,e=!1){Sm=e;const{props:r,children:C}=n.vnode,D=f4(n);ME(n,r,D,e),CE(n,C);const T=D?YE(n,e):void 0;return Sm=!1,T}function YE(n,e){const r=n.type;n.accessCache=Object.create(null),n.proxy=Zp(new Proxy(n.ctx,bE));const{setup:C}=r;if(C){const D=n.setupContext=C.length>1?ZE(n):null;Xp(n),d0();const T=Nf(C,n,0,[n.props,D]);if(p0(),Bd(),yT(T)){if(T.then(Bd,Bd),e)return T.then(p=>{L3(n,p,e)}).catch(p=>{xy(p,n,0)});n.asyncDep=T}else L3(n,T,e)}else d4(n,e)}function L3(n,e,r){Fi(e)?n.type.__ssrInlineRender?n.ssrRender=e:n.render=e:so(e)&&(n.setupState=FT(e)),d4(n,r)}let I3;function d4(n,e,r){const C=n.type;if(!n.render){if(!e&&I3&&!C.render){const D=C.template||e2(n).template;if(D){const{isCustomElement:T,compilerOptions:p}=n.appContext.config,{delimiters:t,compilerOptions:d}=C,g=Ms(Ms({isCustomElement:T,delimiters:t},p),d);C.render=I3(D,g)}}n.render=C.render||Dc}Xp(n),d0(),xE(n),p0(),Bd()}function $E(n){return new Proxy(n.attrs,{get(e,r){return $l(n,"get","$attrs"),e[r]}})}function ZE(n){const e=C=>{n.exposed=C||{}};let r;return{get attrs(){return r||(r=$E(n))},slots:n.slots,emit:n.emit,expose:e}}function Ly(n){if(n.exposed)return n.exposeProxy||(n.exposeProxy=new Proxy(FT(Zp(n.exposed)),{get(e,r){if(r in e)return e[r];if(r in hm)return hm[r](n)},has(e,r){return r in e||r in hm}}))}function XE(n,e=!0){return Fi(n)?n.displayName||n.name:n.name||e&&n.__name}function KE(n){return Fi(n)&&"__vccOpts"in n}const cn=(n,e)=>K8(n,e,Sm);function Xf(n,e,r){const C=arguments.length;return C===2?so(e)&&!gi(e)?Iv(e)?gt(n,null,[e]):gt(n,e):gt(n,null,e):(C>3?r=Array.prototype.slice.call(arguments,2):C===3&&Iv(r)&&(r=[r]),gt(n,e,r))}const JE=Symbol(""),QE=()=>ka(JE),e7="3.2.47",t7="http://www.w3.org/2000/svg",Ad=typeof document<"u"?document:null,R3=Ad&&Ad.createElement("template"),n7={insert:(n,e,r)=>{e.insertBefore(n,r||null)},remove:n=>{const e=n.parentNode;e&&e.removeChild(n)},createElement:(n,e,r,C)=>{const D=e?Ad.createElementNS(t7,n):Ad.createElement(n,r?{is:r}:void 0);return n==="select"&&C&&C.multiple!=null&&D.setAttribute("multiple",C.multiple),D},createText:n=>Ad.createTextNode(n),createComment:n=>Ad.createComment(n),setText:(n,e)=>{n.nodeValue=e},setElementText:(n,e)=>{n.textContent=e},parentNode:n=>n.parentNode,nextSibling:n=>n.nextSibling,querySelector:n=>Ad.querySelector(n),setScopeId(n,e){n.setAttribute(e,"")},insertStaticContent(n,e,r,C,D,T){const p=r?r.previousSibling:e.lastChild;if(D&&(D===T||D.nextSibling))for(;e.insertBefore(D.cloneNode(!0),r),!(D===T||!(D=D.nextSibling)););else{R3.innerHTML=C?`${n}`:n;const t=R3.content;if(C){const d=t.firstChild;for(;d.firstChild;)t.appendChild(d.firstChild);t.removeChild(d)}e.insertBefore(t,r)}return[p?p.nextSibling:e.firstChild,r?r.previousSibling:e.lastChild]}};function r7(n,e,r){const C=n._vtc;C&&(e=(e?[e,...C]:[...C]).join(" ")),e==null?n.removeAttribute("class"):r?n.setAttribute("class",e):n.className=e}function i7(n,e,r){const C=n.style,D=Po(r);if(r&&!D){if(e&&!Po(e))for(const T in e)r[T]==null&&Db(C,T,"");for(const T in r)Db(C,T,r[T])}else{const T=C.display;D?e!==r&&(C.cssText=r):e&&n.removeAttribute("style"),"_vod"in n&&(C.display=T)}}const P3=/\s*!important$/;function Db(n,e,r){if(gi(r))r.forEach(C=>Db(n,e,C));else if(r==null&&(r=""),e.startsWith("--"))n.setProperty(e,r);else{const C=a7(n,e);P3.test(r)?n.setProperty(f0(C),r.replace(P3,""),"important"):n[C]=r}}const O3=["Webkit","Moz","ms"],ib={};function a7(n,e){const r=ib[e];if(r)return r;let C=tc(e);if(C!=="filter"&&C in n)return ib[e]=C;C=sf(C);for(let D=0;Dab||(h7.then(()=>ab=0),ab=Date.now());function d7(n,e){const r=C=>{if(!C._vts)C._vts=Date.now();else if(C._vts<=r.attached)return;Qu(p7(C,r.value),e,5,[C])};return r.value=n,r.attached=f7(),r}function p7(n,e){if(gi(e)){const r=n.stopImmediatePropagation;return n.stopImmediatePropagation=()=>{r.call(n),n._stopped=!0},e.map(C=>D=>!D._stopped&&C&&C(D))}else return e}const F3=/^on[a-z]/,m7=(n,e,r,C,D=!1,T,p,t,d)=>{e==="class"?r7(n,C,D):e==="style"?i7(n,r,C):my(e)?Fx(e)||u7(n,e,r,C,p):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):g7(n,e,C,D))?s7(n,e,C,T,p,t,d):(e==="true-value"?n._trueValue=C:e==="false-value"&&(n._falseValue=C),o7(n,e,C,D))};function g7(n,e,r,C){return C?!!(e==="innerHTML"||e==="textContent"||e in n&&F3.test(e)&&Fi(r)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&n.tagName==="INPUT"||e==="type"&&n.tagName==="TEXTAREA"||F3.test(e)&&Po(r)?!1:e in n}const Cf="transition",tm="animation",bh=(n,{slots:e})=>Xf(WT,m4(n),e);bh.displayName="Transition";const p4={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},v7=bh.props=Ms({},WT.props,p4),bd=(n,e=[])=>{gi(n)?n.forEach(r=>r(...e)):n&&n(...e)},B3=n=>n?gi(n)?n.some(e=>e.length>1):n.length>1:!1;function m4(n){const e={};for(const x in n)x in p4||(e[x]=n[x]);if(n.css===!1)return e;const{name:r="v",type:C,duration:D,enterFromClass:T=`${r}-enter-from`,enterActiveClass:p=`${r}-enter-active`,enterToClass:t=`${r}-enter-to`,appearFromClass:d=T,appearActiveClass:g=p,appearToClass:i=t,leaveFromClass:M=`${r}-leave-from`,leaveActiveClass:v=`${r}-leave-active`,leaveToClass:f=`${r}-leave-to`}=n,l=y7(D),a=l&&l[0],u=l&&l[1],{onBeforeEnter:o,onEnter:s,onEnterCancelled:c,onLeave:h,onLeaveCancelled:m,onBeforeAppear:w=o,onAppear:y=s,onAppearCancelled:S=c}=e,_=(x,A,L)=>{Lf(x,A?i:t),Lf(x,A?g:p),L&&L()},k=(x,A)=>{x._isLeaving=!1,Lf(x,M),Lf(x,f),Lf(x,v),A&&A()},E=x=>(A,L)=>{const b=x?y:s,R=()=>_(A,x,L);bd(b,[A,R]),N3(()=>{Lf(A,x?d:T),Uh(A,x?i:t),B3(b)||V3(A,C,a,R)})};return Ms(e,{onBeforeEnter(x){bd(o,[x]),Uh(x,T),Uh(x,p)},onBeforeAppear(x){bd(w,[x]),Uh(x,d),Uh(x,g)},onEnter:E(!1),onAppear:E(!0),onLeave(x,A){x._isLeaving=!0;const L=()=>k(x,A);Uh(x,M),v4(),Uh(x,v),N3(()=>{x._isLeaving&&(Lf(x,M),Uh(x,f),B3(h)||V3(x,C,u,L))}),bd(h,[x,L])},onEnterCancelled(x){_(x,!1),bd(c,[x])},onAppearCancelled(x){_(x,!0),bd(S,[x])},onLeaveCancelled(x){k(x),bd(m,[x])}})}function y7(n){if(n==null)return null;if(so(n))return[ob(n.enter),ob(n.leave)];{const e=ob(n);return[e,e]}}function ob(n){return g8(n)}function Uh(n,e){e.split(/\s+/).forEach(r=>r&&n.classList.add(r)),(n._vtc||(n._vtc=new Set)).add(e)}function Lf(n,e){e.split(/\s+/).forEach(C=>C&&n.classList.remove(C));const{_vtc:r}=n;r&&(r.delete(e),r.size||(n._vtc=void 0))}function N3(n){requestAnimationFrame(()=>{requestAnimationFrame(n)})}let b7=0;function V3(n,e,r,C){const D=n._endId=++b7,T=()=>{D===n._endId&&C()};if(r)return setTimeout(T,r);const{type:p,timeout:t,propCount:d}=g4(n,e);if(!p)return C();const g=p+"end";let i=0;const M=()=>{n.removeEventListener(g,v),T()},v=f=>{f.target===n&&++i>=d&&M()};setTimeout(()=>{i(r[l]||"").split(", "),D=C(`${Cf}Delay`),T=C(`${Cf}Duration`),p=j3(D,T),t=C(`${tm}Delay`),d=C(`${tm}Duration`),g=j3(t,d);let i=null,M=0,v=0;e===Cf?p>0&&(i=Cf,M=p,v=T.length):e===tm?g>0&&(i=tm,M=g,v=d.length):(M=Math.max(p,g),i=M>0?p>g?Cf:tm:null,v=i?i===Cf?T.length:d.length:0);const f=i===Cf&&/\b(transform|all)(,|$)/.test(C(`${Cf}Property`).toString());return{type:i,timeout:M,propCount:v,hasTransform:f}}function j3(n,e){for(;n.lengthU3(r)+U3(n[C])))}function U3(n){return Number(n.slice(0,-1).replace(",","."))*1e3}function v4(){return document.body.offsetHeight}const y4=new WeakMap,b4=new WeakMap,x4={name:"TransitionGroup",props:Ms({},v7,{tag:String,moveClass:String}),setup(n,{slots:e}){const r=Ey(),C=qT();let D,T;return JT(()=>{if(!D.length)return;const p=n.moveClass||`${n.name||"v"}-move`;if(!M7(D[0].el,r.vnode.el,p))return;D.forEach(w7),D.forEach(T7);const t=D.filter(k7);v4(),t.forEach(d=>{const g=d.el,i=g.style;Uh(g,p),i.transform=i.webkitTransform=i.transitionDuration="";const M=g._moveCb=v=>{v&&v.target!==g||(!v||/transform$/.test(v.propertyName))&&(g.removeEventListener("transitionend",M),g._moveCb=null,Lf(g,p))};g.addEventListener("transitionend",M)})}),()=>{const p=wi(n),t=m4(p);let d=p.tag||Yr;D=T,T=e.default?Kx(e.default()):[];for(let g=0;gdelete n.mode;x4.props;const _7=x4;function w7(n){const e=n.el;e._moveCb&&e._moveCb(),e._enterCb&&e._enterCb()}function T7(n){b4.set(n,n.el.getBoundingClientRect())}function k7(n){const e=y4.get(n),r=b4.get(n),C=e.left-r.left,D=e.top-r.top;if(C||D){const T=n.el.style;return T.transform=T.webkitTransform=`translate(${C}px,${D}px)`,T.transitionDuration="0s",n}}function M7(n,e,r){const C=n.cloneNode();n._vtc&&n._vtc.forEach(p=>{p.split(/\s+/).forEach(t=>t&&C.classList.remove(t))}),r.split(/\s+/).forEach(p=>p&&C.classList.add(p)),C.style.display="none";const D=e.nodeType===1?e:e.parentNode;D.appendChild(C);const{hasTransform:T}=g4(C);return D.removeChild(C),T}const H3=n=>{const e=n.props["onUpdate:modelValue"]||!1;return gi(e)?r=>fv(e,r):e};function A7(n){n.target.composing=!0}function G3(n){const e=n.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const S7={created(n,{modifiers:{lazy:e,trim:r,number:C}},D){n._assign=H3(D);const T=C||D.props&&D.props.type==="number";Ip(n,e?"change":"input",p=>{if(p.target.composing)return;let t=n.value;r&&(t=t.trim()),T&&(t=kb(t)),n._assign(t)}),r&&Ip(n,"change",()=>{n.value=n.value.trim()}),e||(Ip(n,"compositionstart",A7),Ip(n,"compositionend",G3),Ip(n,"change",G3))},mounted(n,{value:e}){n.value=e??""},beforeUpdate(n,{value:e,modifiers:{lazy:r,trim:C,number:D}},T){if(n._assign=H3(T),n.composing||document.activeElement===n&&n.type!=="range"&&(r||C&&n.value.trim()===e||(D||n.type==="number")&&kb(n.value)===e))return;const p=e??"";n.value!==p&&(n.value=p)}},C7=["ctrl","shift","alt","meta"],E7={stop:n=>n.stopPropagation(),prevent:n=>n.preventDefault(),self:n=>n.target!==n.currentTarget,ctrl:n=>!n.ctrlKey,shift:n=>!n.shiftKey,alt:n=>!n.altKey,meta:n=>!n.metaKey,left:n=>"button"in n&&n.button!==0,middle:n=>"button"in n&&n.button!==1,right:n=>"button"in n&&n.button!==2,exact:(n,e)=>C7.some(r=>n[`${r}Key`]&&!e.includes(r))},jp=(n,e)=>(r,...C)=>{for(let D=0;D{nm(n,!1)}):nm(n,e))},beforeUnmount(n,{value:e}){nm(n,e)}};function nm(n,e){n.style.display=e?n._vod:"none"}const L7=Ms({patchProp:m7},n7);let q3;function I7(){return q3||(q3=RE(L7))}const R7=(...n)=>{const e=I7().createApp(...n),{mount:r}=e;return e.mount=C=>{const D=P7(C);if(!D)return;const T=e._component;!Fi(T)&&!T.render&&!T.template&&(T.template=D.innerHTML),D.innerHTML="";const p=r(D,!1,D instanceof SVGElement);return D instanceof Element&&(D.removeAttribute("v-cloak"),D.setAttribute("data-v-app","")),p},e};function P7(n){return Po(n)?document.querySelector(n):n}var O7=!1;/*! * pinia v2.0.35 * (c) 2023 Eduardo San Martin Morote * @license MIT - */let x4;const Iy=n=>x4=n,_4=Symbol();function zb(n){return n&&typeof n=="object"&&Object.prototype.toString.call(n)==="[object Object]"&&typeof n.toJSON!="function"}var pm;(function(n){n.direct="direct",n.patchObject="patch object",n.patchFunction="patch function"})(pm||(pm={}));function O7(){const n=Um(!0),e=n.run(()=>Vr({}));let r=[],C=[];const D=Zp({install(k){Iy(D),D._a=k,k.provide(_4,D),k.config.globalProperties.$pinia=D,C.forEach(m=>r.push(m)),C=[]},use(k){return!this._a&&!P7?C.push(k):r.push(k),this},_p:r,_a:null,_e:n,_s:new Map,state:e});return D}const w4=()=>{};function W3(n,e,r,C=w4){n.push(e);const D=()=>{const k=n.indexOf(e);k>-1&&(n.splice(k,1),C())};return!r&&_T()&&Tl(D),D}function Mp(n,...e){n.slice().forEach(r=>{r(...e)})}function Fb(n,e){n instanceof Map&&e instanceof Map&&e.forEach((r,C)=>n.set(C,r)),n instanceof Set&&e instanceof Set&&e.forEach(n.add,n);for(const r in e){if(!e.hasOwnProperty(r))continue;const C=e[r],D=n[r];zb(D)&&zb(C)&&n.hasOwnProperty(r)&&!eo(C)&&!Bh(C)?n[r]=Fb(D,C):n[r]=C}return n}const D7=Symbol();function z7(n){return!zb(n)||!n.hasOwnProperty(D7)}const{assign:Ih}=Object;function F7(n){return!!(eo(n)&&n.effect)}function B7(n,e,r,C){const{state:D,actions:k,getters:m}=e,t=r.state.value[n];let d;function y(){t||(r.state.value[n]=D?D():{});const i=by(r.state.value[n]);return Ih(i,k,Object.keys(m||{}).reduce((M,v)=>(M[v]=Zp(cn(()=>{Iy(r);const h=r._s.get(n);return m[v].call(h,h)})),M),{}))}return d=T4(n,y,e,r,C,!0),d}function T4(n,e,r={},C,D,k){let m;const t=Ih({actions:{}},r),d={deep:!0};let y,i,M=Zp([]),v=Zp([]),h;const l=C.state.value[n];!k&&!l&&(C.state.value[n]={}),Vr({});let a;function u(g){let S;y=i=!1,typeof g=="function"?(g(C.state.value[n]),S={type:pm.patchFunction,storeId:n,events:h}):(Fb(C.state.value[n],g),S={type:pm.patchObject,payload:g,storeId:n,events:h});const x=a=Symbol();Ua().then(()=>{a===x&&(y=!0)}),i=!0,Mp(M,S,C.state.value[n])}const s=k?function(){const{state:S}=r,x=S?S():{};this.$patch(T=>{Ih(T,x)})}:w4;function o(){m.stop(),M=[],v=[],C._s.delete(n)}function c(g,S){return function(){Iy(C);const x=Array.from(arguments),T=[],E=[];function _(b){T.push(b)}function A(b){E.push(b)}Mp(v,{args:x,name:g,store:p,after:_,onError:A});let L;try{L=S.apply(this&&this.$id===n?this:p,x)}catch(b){throw Mp(E,b),b}return L instanceof Promise?L.then(b=>(Mp(T,b),b)).catch(b=>(Mp(E,b),Promise.reject(b))):(Mp(T,L),L)}}const f={_p:C,$id:n,$onAction:W3.bind(null,v),$patch:u,$reset:s,$subscribe(g,S={}){const x=W3(M,g,S.detached,()=>T()),T=m.run(()=>Yr(()=>C.state.value[n],E=>{(S.flush==="sync"?i:y)&&g({storeId:n,type:pm.direct,events:h},E)},Ih({},d,S)));return x},$dispose:o},p=bl(f);C._s.set(n,p);const w=C._e.run(()=>(m=Um(),m.run(()=>e())));for(const g in w){const S=w[g];if(eo(S)&&!F7(S)||Bh(S))k||(l&&z7(S)&&(eo(S)?S.value=l[g]:Fb(S,l[g])),C.state.value[n][g]=S);else if(typeof S=="function"){const x=c(g,S);w[g]=x,t.actions[g]=S}}return Ih(p,w),Ih(wi(p),w),Object.defineProperty(p,"$state",{get:()=>C.state.value[n],set:g=>{u(S=>{Ih(S,g)})}}),C._p.forEach(g=>{Ih(p,m.run(()=>g({store:p,app:C._a,pinia:C,options:t})))}),l&&k&&r.hydrate&&r.hydrate(p.$state,l),y=!0,i=!0,p}function i2(n,e,r){let C,D;const k=typeof e=="function";typeof n=="string"?(C=n,D=k?r:e):(D=n,C=n.id);function m(t,d){const y=Ey();return t=t||y&&ka(_4,null),t&&Iy(t),t=x4,t._s.has(C)||(k?T4(C,e,D,t):B7(C,D,t)),t._s.get(C)}return m.$id=C,m}var N7=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function a2(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var k4={exports:{}},Ba={};/** @license React v16.13.1 + */let _4;const Iy=n=>_4=n,w4=Symbol();function zb(n){return n&&typeof n=="object"&&Object.prototype.toString.call(n)==="[object Object]"&&typeof n.toJSON!="function"}var pm;(function(n){n.direct="direct",n.patchObject="patch object",n.patchFunction="patch function"})(pm||(pm={}));function D7(){const n=Um(!0),e=n.run(()=>Vr({}));let r=[],C=[];const D=Zp({install(T){Iy(D),D._a=T,T.provide(w4,D),T.config.globalProperties.$pinia=D,C.forEach(p=>r.push(p)),C=[]},use(T){return!this._a&&!O7?C.push(T):r.push(T),this},_p:r,_a:null,_e:n,_s:new Map,state:e});return D}const T4=()=>{};function W3(n,e,r,C=T4){n.push(e);const D=()=>{const T=n.indexOf(e);T>-1&&(n.splice(T,1),C())};return!r&&wT()&&wl(D),D}function Mp(n,...e){n.slice().forEach(r=>{r(...e)})}function Fb(n,e){n instanceof Map&&e instanceof Map&&e.forEach((r,C)=>n.set(C,r)),n instanceof Set&&e instanceof Set&&e.forEach(n.add,n);for(const r in e){if(!e.hasOwnProperty(r))continue;const C=e[r],D=n[r];zb(D)&&zb(C)&&n.hasOwnProperty(r)&&!eo(C)&&!Bf(C)?n[r]=Fb(D,C):n[r]=C}return n}const z7=Symbol();function F7(n){return!zb(n)||!n.hasOwnProperty(z7)}const{assign:If}=Object;function B7(n){return!!(eo(n)&&n.effect)}function N7(n,e,r,C){const{state:D,actions:T,getters:p}=e,t=r.state.value[n];let d;function g(){t||(r.state.value[n]=D?D():{});const i=by(r.state.value[n]);return If(i,T,Object.keys(p||{}).reduce((M,v)=>(M[v]=Zp(cn(()=>{Iy(r);const f=r._s.get(n);return p[v].call(f,f)})),M),{}))}return d=k4(n,g,e,r,C,!0),d}function k4(n,e,r={},C,D,T){let p;const t=If({actions:{}},r),d={deep:!0};let g,i,M=Zp([]),v=Zp([]),f;const l=C.state.value[n];!T&&!l&&(C.state.value[n]={}),Vr({});let a;function u(y){let S;g=i=!1,typeof y=="function"?(y(C.state.value[n]),S={type:pm.patchFunction,storeId:n,events:f}):(Fb(C.state.value[n],y),S={type:pm.patchObject,payload:y,storeId:n,events:f});const _=a=Symbol();Ua().then(()=>{a===_&&(g=!0)}),i=!0,Mp(M,S,C.state.value[n])}const o=T?function(){const{state:S}=r,_=S?S():{};this.$patch(k=>{If(k,_)})}:T4;function s(){p.stop(),M=[],v=[],C._s.delete(n)}function c(y,S){return function(){Iy(C);const _=Array.from(arguments),k=[],E=[];function x(b){k.push(b)}function A(b){E.push(b)}Mp(v,{args:_,name:y,store:m,after:x,onError:A});let L;try{L=S.apply(this&&this.$id===n?this:m,_)}catch(b){throw Mp(E,b),b}return L instanceof Promise?L.then(b=>(Mp(k,b),b)).catch(b=>(Mp(E,b),Promise.reject(b))):(Mp(k,L),L)}}const h={_p:C,$id:n,$onAction:W3.bind(null,v),$patch:u,$reset:o,$subscribe(y,S={}){const _=W3(M,y,S.detached,()=>k()),k=p.run(()=>$r(()=>C.state.value[n],E=>{(S.flush==="sync"?i:g)&&y({storeId:n,type:pm.direct,events:f},E)},If({},d,S)));return _},$dispose:s},m=yl(h);C._s.set(n,m);const w=C._e.run(()=>(p=Um(),p.run(()=>e())));for(const y in w){const S=w[y];if(eo(S)&&!B7(S)||Bf(S))T||(l&&F7(S)&&(eo(S)?S.value=l[y]:Fb(S,l[y])),C.state.value[n][y]=S);else if(typeof S=="function"){const _=c(y,S);w[y]=_,t.actions[y]=S}}return If(m,w),If(wi(m),w),Object.defineProperty(m,"$state",{get:()=>C.state.value[n],set:y=>{u(S=>{If(S,y)})}}),C._p.forEach(y=>{If(m,p.run(()=>y({store:m,app:C._a,pinia:C,options:t})))}),l&&T&&r.hydrate&&r.hydrate(m.$state,l),g=!0,i=!0,m}function i2(n,e,r){let C,D;const T=typeof e=="function";typeof n=="string"?(C=n,D=T?r:e):(D=n,C=n.id);function p(t,d){const g=Ey();return t=t||g&&ka(w4,null),t&&Iy(t),t=_4,t._s.has(C)||(T?k4(C,e,D,t):N7(C,D,t)),t._s.get(C)}return p.$id=C,p}var V7=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function a2(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var M4={exports:{}},Ba={};/** @license React v16.13.1 * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Ss=typeof Symbol=="function"&&Symbol.for,o2=Ss?Symbol.for("react.element"):60103,s2=Ss?Symbol.for("react.portal"):60106,Ry=Ss?Symbol.for("react.fragment"):60107,Py=Ss?Symbol.for("react.strict_mode"):60108,Oy=Ss?Symbol.for("react.profiler"):60114,Dy=Ss?Symbol.for("react.provider"):60109,zy=Ss?Symbol.for("react.context"):60110,l2=Ss?Symbol.for("react.async_mode"):60111,Fy=Ss?Symbol.for("react.concurrent_mode"):60111,By=Ss?Symbol.for("react.forward_ref"):60112,Ny=Ss?Symbol.for("react.suspense"):60113,V7=Ss?Symbol.for("react.suspense_list"):60120,Vy=Ss?Symbol.for("react.memo"):60115,jy=Ss?Symbol.for("react.lazy"):60116,j7=Ss?Symbol.for("react.block"):60121,U7=Ss?Symbol.for("react.fundamental"):60117,H7=Ss?Symbol.for("react.responder"):60118,G7=Ss?Symbol.for("react.scope"):60119;function ku(n){if(typeof n=="object"&&n!==null){var e=n.$$typeof;switch(e){case o2:switch(n=n.type,n){case l2:case Fy:case Ry:case Oy:case Py:case Ny:return n;default:switch(n=n&&n.$$typeof,n){case zy:case By:case jy:case Vy:case Dy:return n;default:return e}}case s2:return e}}}function M4(n){return ku(n)===Fy}Ba.AsyncMode=l2;Ba.ConcurrentMode=Fy;Ba.ContextConsumer=zy;Ba.ContextProvider=Dy;Ba.Element=o2;Ba.ForwardRef=By;Ba.Fragment=Ry;Ba.Lazy=jy;Ba.Memo=Vy;Ba.Portal=s2;Ba.Profiler=Oy;Ba.StrictMode=Py;Ba.Suspense=Ny;Ba.isAsyncMode=function(n){return M4(n)||ku(n)===l2};Ba.isConcurrentMode=M4;Ba.isContextConsumer=function(n){return ku(n)===zy};Ba.isContextProvider=function(n){return ku(n)===Dy};Ba.isElement=function(n){return typeof n=="object"&&n!==null&&n.$$typeof===o2};Ba.isForwardRef=function(n){return ku(n)===By};Ba.isFragment=function(n){return ku(n)===Ry};Ba.isLazy=function(n){return ku(n)===jy};Ba.isMemo=function(n){return ku(n)===Vy};Ba.isPortal=function(n){return ku(n)===s2};Ba.isProfiler=function(n){return ku(n)===Oy};Ba.isStrictMode=function(n){return ku(n)===Py};Ba.isSuspense=function(n){return ku(n)===Ny};Ba.isValidElementType=function(n){return typeof n=="string"||typeof n=="function"||n===Ry||n===Fy||n===Oy||n===Py||n===Ny||n===V7||typeof n=="object"&&n!==null&&(n.$$typeof===jy||n.$$typeof===Vy||n.$$typeof===Dy||n.$$typeof===zy||n.$$typeof===By||n.$$typeof===U7||n.$$typeof===H7||n.$$typeof===G7||n.$$typeof===j7)};Ba.typeOf=ku;k4.exports=Ba;var q7=k4.exports,A4=q7,W7={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},$7={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},S4={};S4[A4.ForwardRef]=W7;S4[A4.Memo]=$7;var C4={exports:{}},Na={};/* + */var As=typeof Symbol=="function"&&Symbol.for,o2=As?Symbol.for("react.element"):60103,s2=As?Symbol.for("react.portal"):60106,Ry=As?Symbol.for("react.fragment"):60107,Py=As?Symbol.for("react.strict_mode"):60108,Oy=As?Symbol.for("react.profiler"):60114,Dy=As?Symbol.for("react.provider"):60109,zy=As?Symbol.for("react.context"):60110,l2=As?Symbol.for("react.async_mode"):60111,Fy=As?Symbol.for("react.concurrent_mode"):60111,By=As?Symbol.for("react.forward_ref"):60112,Ny=As?Symbol.for("react.suspense"):60113,j7=As?Symbol.for("react.suspense_list"):60120,Vy=As?Symbol.for("react.memo"):60115,jy=As?Symbol.for("react.lazy"):60116,U7=As?Symbol.for("react.block"):60121,H7=As?Symbol.for("react.fundamental"):60117,G7=As?Symbol.for("react.responder"):60118,q7=As?Symbol.for("react.scope"):60119;function ku(n){if(typeof n=="object"&&n!==null){var e=n.$$typeof;switch(e){case o2:switch(n=n.type,n){case l2:case Fy:case Ry:case Oy:case Py:case Ny:return n;default:switch(n=n&&n.$$typeof,n){case zy:case By:case jy:case Vy:case Dy:return n;default:return e}}case s2:return e}}}function A4(n){return ku(n)===Fy}Ba.AsyncMode=l2;Ba.ConcurrentMode=Fy;Ba.ContextConsumer=zy;Ba.ContextProvider=Dy;Ba.Element=o2;Ba.ForwardRef=By;Ba.Fragment=Ry;Ba.Lazy=jy;Ba.Memo=Vy;Ba.Portal=s2;Ba.Profiler=Oy;Ba.StrictMode=Py;Ba.Suspense=Ny;Ba.isAsyncMode=function(n){return A4(n)||ku(n)===l2};Ba.isConcurrentMode=A4;Ba.isContextConsumer=function(n){return ku(n)===zy};Ba.isContextProvider=function(n){return ku(n)===Dy};Ba.isElement=function(n){return typeof n=="object"&&n!==null&&n.$$typeof===o2};Ba.isForwardRef=function(n){return ku(n)===By};Ba.isFragment=function(n){return ku(n)===Ry};Ba.isLazy=function(n){return ku(n)===jy};Ba.isMemo=function(n){return ku(n)===Vy};Ba.isPortal=function(n){return ku(n)===s2};Ba.isProfiler=function(n){return ku(n)===Oy};Ba.isStrictMode=function(n){return ku(n)===Py};Ba.isSuspense=function(n){return ku(n)===Ny};Ba.isValidElementType=function(n){return typeof n=="string"||typeof n=="function"||n===Ry||n===Fy||n===Oy||n===Py||n===Ny||n===j7||typeof n=="object"&&n!==null&&(n.$$typeof===jy||n.$$typeof===Vy||n.$$typeof===Dy||n.$$typeof===zy||n.$$typeof===By||n.$$typeof===H7||n.$$typeof===G7||n.$$typeof===q7||n.$$typeof===U7)};Ba.typeOf=ku;M4.exports=Ba;var W7=M4.exports,S4=W7,Y7={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},$7={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},C4={};C4[S4.ForwardRef]=Y7;C4[S4.Memo]=$7;var E4={exports:{}},Na={};/* object-assign (c) Sindre Sorhus @license MIT -*/var $3=Object.getOwnPropertySymbols,Y7=Object.prototype.hasOwnProperty,Z7=Object.prototype.propertyIsEnumerable;function X7(n){if(n==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(n)}function K7(){try{if(!Object.assign)return!1;var n=new String("abc");if(n[5]="de",Object.getOwnPropertyNames(n)[0]==="5")return!1;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;var C=Object.getOwnPropertyNames(e).map(function(k){return e[k]});if(C.join("")!=="0123456789")return!1;var D={};return"abcdefghijklmnopqrst".split("").forEach(function(k){D[k]=k}),Object.keys(Object.assign({},D)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var J7=K7()?Object.assign:function(n,e){for(var r,C=X7(n),D,k=1;kRv.length&&Rv.push(n)}function Bb(n,e,r,C){var D=typeof n;(D==="undefined"||D==="boolean")&&(n=null);var k=!1;if(n===null)k=!0;else switch(D){case"string":case"number":k=!0;break;case"object":switch(n.$$typeof){case qm:case Q7:k=!0}}if(k)return r(C,n,e===""?"."+sb(n,0):e),1;if(k=0,e=e===""?".":e+":",Array.isArray(n))for(var m=0;m=n.length&&(n=void 0),{value:n&&n[C++],done:!n}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function zi(n){return this instanceof zi?(this.v=n,this):new zi(n)}function gf(n,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var C=r.apply(n,e||[]),D,k=[];return D=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),t("next"),t("throw"),t("return",m),D[Symbol.asyncIterator]=function(){return this},D;function m(h){return function(l){return Promise.resolve(l).then(h,M)}}function t(h,l){C[h]&&(D[h]=function(a){return new Promise(function(u,s){k.push([h,a,u,s])>1||d(h,a)})},l&&(D[h]=l(D[h])))}function d(h,l){try{y(C[h](l))}catch(a){v(k[0][3],a)}}function y(h){h.value instanceof zi?Promise.resolve(h.value.v).then(i,M):v(k[0][2],h)}function i(h){d("next",h)}function M(h){d("throw",h)}function v(h,l){h(l),k.shift(),k.length&&d(k[0][0],k[0][1])}}function mv(n){var e,r;return e={},C("next"),C("throw",function(D){throw D}),C("return"),e[Symbol.iterator]=function(){return this},e;function C(D,k){e[D]=n[D]?function(m){return(r=!r)?{value:zi(n[D](m)),done:!1}:k?k(m):m}:k}}function Nd(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=n[Symbol.asyncIterator],r;return e?e.call(n):(n=typeof Z3=="function"?Z3(n):n[Symbol.iterator](),r={},C("next"),C("throw"),C("return"),r[Symbol.asyncIterator]=function(){return this},r);function C(k){r[k]=n[k]&&function(m){return new Promise(function(t,d){m=n[k](m),D(t,d,m.done,m.value)})}}function D(k,m,t,d){Promise.resolve(d).then(function(y){k({value:y,done:t})},m)}}const g9=new TextDecoder("utf-8"),jb=n=>g9.decode(n),v9=new TextEncoder,p2=n=>v9.encode(n),[UH,y9]=(()=>{const n=()=>{throw new Error("BigInt is not available in this environment")};function e(){throw n()}return e.asIntN=()=>{throw n()},e.asUintN=()=>{throw n()},typeof BigInt<"u"?[BigInt,!0]:[e,!1]})(),[$m,HH]=(()=>{const n=()=>{throw new Error("BigInt64Array is not available in this environment")};class e{static get BYTES_PER_ELEMENT(){return 8}static of(){throw n()}static from(){throw n()}constructor(){throw n()}}return typeof BigInt64Array<"u"?[BigInt64Array,!0]:[e,!1]})(),[Ym,GH]=(()=>{const n=()=>{throw new Error("BigUint64Array is not available in this environment")};class e{static get BYTES_PER_ELEMENT(){return 8}static of(){throw n()}static from(){throw n()}constructor(){throw n()}}return typeof BigUint64Array<"u"?[BigUint64Array,!0]:[e,!1]})(),b9=n=>typeof n=="number",N4=n=>typeof n=="boolean",fs=n=>typeof n=="function",Zl=n=>n!=null&&Object(n)===n,Uh=n=>Zl(n)&&fs(n.then),Zm=n=>Zl(n)&&fs(n[Symbol.iterator]),g0=n=>Zl(n)&&fs(n[Symbol.asyncIterator]),Ub=n=>Zl(n)&&Zl(n.schema),V4=n=>Zl(n)&&"done"in n&&"value"in n,j4=n=>Zl(n)&&fs(n.stat)&&b9(n.fd),U4=n=>Zl(n)&&m2(n.body),Uy=n=>"_getDOMStream"in n&&"_getNodeStream"in n,x9=n=>Zl(n)&&fs(n.abort)&&fs(n.getWriter)&&!Uy(n),m2=n=>Zl(n)&&fs(n.cancel)&&fs(n.getReader)&&!Uy(n),_9=n=>Zl(n)&&fs(n.end)&&fs(n.write)&&N4(n.writable)&&!Uy(n),H4=n=>Zl(n)&&fs(n.read)&&fs(n.pipe)&&N4(n.readable)&&!Uy(n),w9=n=>Zl(n)&&fs(n.clear)&&fs(n.bytes)&&fs(n.position)&&fs(n.setPosition)&&fs(n.capacity)&&fs(n.getBufferIdentifier)&&fs(n.createLong),g2=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:ArrayBuffer;function T9(n){const e=n[0]?[n[0]]:[];let r,C,D,k;for(let m,t,d=0,y=0,i=n.length;++di+M.byteLength,0);let D,k,m,t=0,d=-1;const y=Math.min(e||Number.POSITIVE_INFINITY,C);for(const i=r.length;++dqa(Int32Array,n),_a=n=>qa(Uint8Array,n),Hb=n=>(n.next(),n);function*k9(n,e){const r=function*(D){yield D},C=typeof e=="string"||ArrayBuffer.isView(e)||e instanceof ArrayBuffer||e instanceof g2?r(e):Zm(e)?e:r(e);return yield*Hb(function*(D){let k=null;do k=D.next(yield qa(n,k));while(!k.done)}(C[Symbol.iterator]())),new n}const M9=n=>k9(Uint8Array,n);function G4(n,e){return gf(this,arguments,function*(){if(Uh(e))return yield zi(yield zi(yield*mv(Nd(G4(n,yield zi(e))))));const C=function(m){return gf(this,arguments,function*(){yield yield zi(yield zi(m))})},D=function(m){return gf(this,arguments,function*(){yield zi(yield*mv(Nd(Hb(function*(t){let d=null;do d=t.next(yield d==null?void 0:d.value);while(!d.done)}(m[Symbol.iterator]())))))})},k=typeof e=="string"||ArrayBuffer.isView(e)||e instanceof ArrayBuffer||e instanceof g2?C(e):Zm(e)?D(e):g0(e)?e:C(e);return yield zi(yield*mv(Nd(Hb(function(m){return gf(this,arguments,function*(){let t=null;do t=yield zi(m.next(yield yield zi(qa(n,t))));while(!t.done)})}(k[Symbol.asyncIterator]()))))),yield zi(new n)})}const A9=n=>G4(Uint8Array,n);function v2(n,e,r){if(n!==0){r=r.slice(0,e+1);for(let C=-1;++C<=e;)r[C]+=n}return r}function S9(n,e){let r=0;const C=n.length;if(C!==e.length)return!1;if(C>0)do if(n[r]!==e[r])return!1;while(++r(n.next(),n);function*C9(n){let e,r=!1,C=[],D,k,m,t=0;function d(){return k==="peek"?_f(C,m)[0]:([D,C,t]=_f(C,m),D)}({cmd:k,size:m}=yield null);const y=M9(n)[Symbol.iterator]();try{do if({done:e,value:D}=Number.isNaN(m-t)?y.next():y.next(m-t),!e&&D.byteLength>0&&(C.push(D),t+=D.byteLength),e||m<=t)do({cmd:k,size:m}=yield d());while(m0&&(D.push(k),d+=k.byteLength),r||t<=d)do({cmd:m,size:t}=yield yield zi(y()));while(t0&&(D.push(_a(k)),d+=k.byteLength),r||t<=d)do({cmd:m,size:t}=yield yield zi(y()));while(t{})}get closed(){return this.reader?this.reader.closed.catch(()=>{}):Promise.resolve()}releaseLock(){this.reader&&this.reader.releaseLock(),this.reader=null}cancel(e){return yi(this,void 0,void 0,function*(){const{reader:r,source:C}=this;r&&(yield r.cancel(e).catch(()=>{})),C&&C.locked&&this.releaseLock()})}read(e){return yi(this,void 0,void 0,function*(){if(e===0)return{done:this.reader==null,value:new Uint8Array(0)};const r=yield this.reader.read();return!r.done&&(r.value=_a(r)),r})}}const lb=(n,e)=>{const r=D=>C([e,D]);let C;return[e,r,new Promise(D=>(C=D)&&n.once(e,r))]};function R9(n){return gf(this,arguments,function*(){const r=[];let C="error",D=!1,k=null,m,t,d=0,y=[],i;function M(){return m==="peek"?_f(y,t)[0]:([i,y,d]=_f(y,t),i)}if({cmd:m,size:t}=yield yield zi(null),n.isTTY)return yield yield zi(new Uint8Array(0)),yield zi(null);try{r[0]=lb(n,"end"),r[1]=lb(n,"error");do{if(r[2]=lb(n,"readable"),[C,k]=yield zi(Promise.race(r.map(h=>h[2]))),C==="error")break;if((D=C==="end")||(Number.isFinite(t-d)?(i=_a(n.read(t-d)),i.byteLength0&&(y.push(i),d+=i.byteLength)),D||t<=d)do({cmd:m,size:t}=yield yield zi(M()));while(t{for(const[s,o]of h)n.off(s,o);try{const s=n.destroy;s&&s.call(n,l),l=void 0}catch(s){l=s||l}finally{l!=null?u(l):a()}})}})}var gu;(function(n){n[n.V1=0]="V1",n[n.V2=1]="V2",n[n.V3=2]="V3",n[n.V4=3]="V4",n[n.V5=4]="V5"})(gu||(gu={}));var xu;(function(n){n[n.Sparse=0]="Sparse",n[n.Dense=1]="Dense"})(xu||(xu={}));var $l;(function(n){n[n.HALF=0]="HALF",n[n.SINGLE=1]="SINGLE",n[n.DOUBLE=2]="DOUBLE"})($l||($l={}));var rh;(function(n){n[n.DAY=0]="DAY",n[n.MILLISECOND=1]="MILLISECOND"})(rh||(rh={}));var wa;(function(n){n[n.SECOND=0]="SECOND",n[n.MILLISECOND=1]="MILLISECOND",n[n.MICROSECOND=2]="MICROSECOND",n[n.NANOSECOND=3]="NANOSECOND"})(wa||(wa={}));var Hh;(function(n){n[n.YEAR_MONTH=0]="YEAR_MONTH",n[n.DAY_TIME=1]="DAY_TIME",n[n.MONTH_DAY_NANO=2]="MONTH_DAY_NANO"})(Hh||(Hh={}));var Ca;(function(n){n[n.NONE=0]="NONE",n[n.Schema=1]="Schema",n[n.DictionaryBatch=2]="DictionaryBatch",n[n.RecordBatch=3]="RecordBatch",n[n.Tensor=4]="Tensor",n[n.SparseTensor=5]="SparseTensor"})(Ca||(Ca={}));var Jn;(function(n){n[n.NONE=0]="NONE",n[n.Null=1]="Null",n[n.Int=2]="Int",n[n.Float=3]="Float",n[n.Binary=4]="Binary",n[n.Utf8=5]="Utf8",n[n.Bool=6]="Bool",n[n.Decimal=7]="Decimal",n[n.Date=8]="Date",n[n.Time=9]="Time",n[n.Timestamp=10]="Timestamp",n[n.Interval=11]="Interval",n[n.List=12]="List",n[n.Struct=13]="Struct",n[n.Union=14]="Union",n[n.FixedSizeBinary=15]="FixedSizeBinary",n[n.FixedSizeList=16]="FixedSizeList",n[n.Map=17]="Map",n[n.Dictionary=-1]="Dictionary",n[n.Int8=-2]="Int8",n[n.Int16=-3]="Int16",n[n.Int32=-4]="Int32",n[n.Int64=-5]="Int64",n[n.Uint8=-6]="Uint8",n[n.Uint16=-7]="Uint16",n[n.Uint32=-8]="Uint32",n[n.Uint64=-9]="Uint64",n[n.Float16=-10]="Float16",n[n.Float32=-11]="Float32",n[n.Float64=-12]="Float64",n[n.DateDay=-13]="DateDay",n[n.DateMillisecond=-14]="DateMillisecond",n[n.TimestampSecond=-15]="TimestampSecond",n[n.TimestampMillisecond=-16]="TimestampMillisecond",n[n.TimestampMicrosecond=-17]="TimestampMicrosecond",n[n.TimestampNanosecond=-18]="TimestampNanosecond",n[n.TimeSecond=-19]="TimeSecond",n[n.TimeMillisecond=-20]="TimeMillisecond",n[n.TimeMicrosecond=-21]="TimeMicrosecond",n[n.TimeNanosecond=-22]="TimeNanosecond",n[n.DenseUnion=-23]="DenseUnion",n[n.SparseUnion=-24]="SparseUnion",n[n.IntervalDayTime=-25]="IntervalDayTime",n[n.IntervalYearMonth=-26]="IntervalYearMonth"})(Jn||(Jn={}));var Wf;(function(n){n[n.OFFSET=0]="OFFSET",n[n.DATA=1]="DATA",n[n.VALIDITY=2]="VALIDITY",n[n.TYPE=3]="TYPE"})(Wf||(Wf={}));const P9=void 0;function Cm(n){if(n===null)return"null";if(n===P9)return"undefined";switch(typeof n){case"number":return`${n}`;case"bigint":return`${n}`;case"string":return`"${n}"`}return typeof n[Symbol.toPrimitive]=="function"?n[Symbol.toPrimitive]("string"):ArrayBuffer.isView(n)?n instanceof $m||n instanceof Ym?`[${[...n].map(e=>Cm(e))}]`:`[${n}]`:ArrayBuffer.isView(n)?`[${n}]`:JSON.stringify(n,(e,r)=>typeof r=="bigint"?`${r}`:r)}const O9=Symbol.for("isArrowBigNum");function Bc(n,...e){return e.length===0?Object.setPrototypeOf(qa(this.TypedArray,n),this.constructor.prototype):Object.setPrototypeOf(new this.TypedArray(n,...e),this.constructor.prototype)}Bc.prototype[O9]=!0;Bc.prototype.toJSON=function(){return`"${Vd(this)}"`};Bc.prototype.valueOf=function(){return q4(this)};Bc.prototype.toString=function(){return Vd(this)};Bc.prototype[Symbol.toPrimitive]=function(n="default"){switch(n){case"number":return q4(this);case"string":return Vd(this);case"default":return Gb(this)}return Vd(this)};function Up(...n){return Bc.apply(this,n)}function Hp(...n){return Bc.apply(this,n)}function Em(...n){return Bc.apply(this,n)}Object.setPrototypeOf(Up.prototype,Object.create(Int32Array.prototype));Object.setPrototypeOf(Hp.prototype,Object.create(Uint32Array.prototype));Object.setPrototypeOf(Em.prototype,Object.create(Uint32Array.prototype));Object.assign(Up.prototype,Bc.prototype,{constructor:Up,signed:!0,TypedArray:Int32Array,BigIntArray:$m});Object.assign(Hp.prototype,Bc.prototype,{constructor:Hp,signed:!1,TypedArray:Uint32Array,BigIntArray:Ym});Object.assign(Em.prototype,Bc.prototype,{constructor:Em,signed:!0,TypedArray:Uint32Array,BigIntArray:Ym});function q4(n){const{buffer:e,byteOffset:r,length:C,signed:D}=n,k=new Ym(e,r,C),m=D&&k[k.length-1]&BigInt(1)<n.byteLength===8?new n.BigIntArray(n.buffer,n.byteOffset,1)[0]:ub(n),Vd=n=>n.byteLength===8?`${new n.BigIntArray(n.buffer,n.byteOffset,1)[0]}`:ub(n)):(Vd=ub,Gb=Vd);function ub(n){let e="";const r=new Uint32Array(2);let C=new Uint16Array(n.buffer,n.byteOffset,n.byteLength/2);const D=new Uint32Array((C=new Uint16Array(C).reverse()).buffer);let k=-1;const m=C.length-1;do{for(r[0]=C[k=0];k(n.children=null,n.ArrayType=Array,n[Symbol.toStringTag]="DataType"))(_i.prototype);let Gh=class extends _i{toString(){return"Null"}get typeId(){return Jn.Null}};$4=Symbol.toStringTag;Gh[$4]=(n=>n[Symbol.toStringTag]="Null")(Gh.prototype);class qh extends _i{constructor(e,r){super(),this.isSigned=e,this.bitWidth=r}get typeId(){return Jn.Int}get ArrayType(){switch(this.bitWidth){case 8:return this.isSigned?Int8Array:Uint8Array;case 16:return this.isSigned?Int16Array:Uint16Array;case 32:return this.isSigned?Int32Array:Uint32Array;case 64:return this.isSigned?$m:Ym}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`${this.isSigned?"I":"Ui"}nt${this.bitWidth}`}}Y4=Symbol.toStringTag;qh[Y4]=(n=>(n.isSigned=null,n.bitWidth=null,n[Symbol.toStringTag]="Int"))(qh.prototype);class Lm extends qh{constructor(){super(!0,32)}get ArrayType(){return Int32Array}}Object.defineProperty(Lm.prototype,"ArrayType",{value:Int32Array});class Im extends _i{constructor(e){super(),this.precision=e}get typeId(){return Jn.Float}get ArrayType(){switch(this.precision){case $l.HALF:return Uint16Array;case $l.SINGLE:return Float32Array;case $l.DOUBLE:return Float64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`Float${this.precision<<5||16}`}}Z4=Symbol.toStringTag;Im[Z4]=(n=>(n.precision=null,n[Symbol.toStringTag]="Float"))(Im.prototype);let Pv=class extends _i{constructor(){super()}get typeId(){return Jn.Binary}toString(){return"Binary"}};X4=Symbol.toStringTag;Pv[X4]=(n=>(n.ArrayType=Uint8Array,n[Symbol.toStringTag]="Binary"))(Pv.prototype);let Ov=class extends _i{constructor(){super()}get typeId(){return Jn.Utf8}toString(){return"Utf8"}};K4=Symbol.toStringTag;Ov[K4]=(n=>(n.ArrayType=Uint8Array,n[Symbol.toStringTag]="Utf8"))(Ov.prototype);let Dv=class extends _i{constructor(){super()}get typeId(){return Jn.Bool}toString(){return"Bool"}};J4=Symbol.toStringTag;Dv[J4]=(n=>(n.ArrayType=Uint8Array,n[Symbol.toStringTag]="Bool"))(Dv.prototype);let zv=class extends _i{constructor(e,r,C=128){super(),this.scale=e,this.precision=r,this.bitWidth=C}get typeId(){return Jn.Decimal}toString(){return`Decimal[${this.precision}e${this.scale>0?"+":""}${this.scale}]`}};Q4=Symbol.toStringTag;zv[Q4]=(n=>(n.scale=null,n.precision=null,n.ArrayType=Uint32Array,n[Symbol.toStringTag]="Decimal"))(zv.prototype);class Fv extends _i{constructor(e){super(),this.unit=e}get typeId(){return Jn.Date}toString(){return`Date${(this.unit+1)*32}<${rh[this.unit]}>`}}ek=Symbol.toStringTag;Fv[ek]=(n=>(n.unit=null,n.ArrayType=Int32Array,n[Symbol.toStringTag]="Date"))(Fv.prototype);class Rm extends _i{constructor(e,r){super(),this.unit=e,this.bitWidth=r}get typeId(){return Jn.Time}toString(){return`Time${this.bitWidth}<${wa[this.unit]}>`}get ArrayType(){switch(this.bitWidth){case 32:return Int32Array;case 64:return $m}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}}tk=Symbol.toStringTag;Rm[tk]=(n=>(n.unit=null,n.bitWidth=null,n[Symbol.toStringTag]="Time"))(Rm.prototype);class Bv extends _i{constructor(e,r){super(),this.unit=e,this.timezone=r}get typeId(){return Jn.Timestamp}toString(){return`Timestamp<${wa[this.unit]}${this.timezone?`, ${this.timezone}`:""}>`}}nk=Symbol.toStringTag;Bv[nk]=(n=>(n.unit=null,n.timezone=null,n.ArrayType=Int32Array,n[Symbol.toStringTag]="Timestamp"))(Bv.prototype);class Nv extends _i{constructor(e){super(),this.unit=e}get typeId(){return Jn.Interval}toString(){return`Interval<${Hh[this.unit]}>`}}rk=Symbol.toStringTag;Nv[rk]=(n=>(n.unit=null,n.ArrayType=Int32Array,n[Symbol.toStringTag]="Interval"))(Nv.prototype);let Vv=class extends _i{constructor(e){super(),this.children=[e]}get typeId(){return Jn.List}toString(){return`List<${this.valueType}>`}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}};ik=Symbol.toStringTag;Vv[ik]=(n=>(n.children=null,n[Symbol.toStringTag]="List"))(Vv.prototype);class xl extends _i{constructor(e){super(),this.children=e}get typeId(){return Jn.Struct}toString(){return`Struct<{${this.children.map(e=>`${e.name}:${e.type}`).join(", ")}}>`}}ak=Symbol.toStringTag;xl[ak]=(n=>(n.children=null,n[Symbol.toStringTag]="Struct"))(xl.prototype);class jv extends _i{constructor(e,r,C){super(),this.mode=e,this.children=C,this.typeIds=r=Int32Array.from(r),this.typeIdToChildIndex=r.reduce((D,k,m)=>(D[k]=m)&&D||D,Object.create(null))}get typeId(){return Jn.Union}toString(){return`${this[Symbol.toStringTag]}<${this.children.map(e=>`${e.type}`).join(" | ")}>`}}ok=Symbol.toStringTag;jv[ok]=(n=>(n.mode=null,n.typeIds=null,n.children=null,n.typeIdToChildIndex=null,n.ArrayType=Int8Array,n[Symbol.toStringTag]="Union"))(jv.prototype);let Uv=class extends _i{constructor(e){super(),this.byteWidth=e}get typeId(){return Jn.FixedSizeBinary}toString(){return`FixedSizeBinary[${this.byteWidth}]`}};sk=Symbol.toStringTag;Uv[sk]=(n=>(n.byteWidth=null,n.ArrayType=Uint8Array,n[Symbol.toStringTag]="FixedSizeBinary"))(Uv.prototype);let Hv=class extends _i{constructor(e,r){super(),this.listSize=e,this.children=[r]}get typeId(){return Jn.FixedSizeList}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}toString(){return`FixedSizeList[${this.listSize}]<${this.valueType}>`}};lk=Symbol.toStringTag;Hv[lk]=(n=>(n.children=null,n.listSize=null,n[Symbol.toStringTag]="FixedSizeList"))(Hv.prototype);class Gv extends _i{constructor(e,r=!1){super(),this.children=[e],this.keysSorted=r}get typeId(){return Jn.Map}get keyType(){return this.children[0].type.children[0].type}get valueType(){return this.children[0].type.children[1].type}get childType(){return this.children[0].type}toString(){return`Map<{${this.children[0].type.children.map(e=>`${e.name}:${e.type}`).join(", ")}}>`}}uk=Symbol.toStringTag;Gv[uk]=(n=>(n.children=null,n.keysSorted=null,n[Symbol.toStringTag]="Map_"))(Gv.prototype);const D9=(n=>()=>++n)(-1);class Kp extends _i{constructor(e,r,C,D){super(),this.indices=r,this.dictionary=e,this.isOrdered=D||!1,this.id=C==null?D9():typeof C=="number"?C:C.low}get typeId(){return Jn.Dictionary}get children(){return this.dictionary.children}get valueType(){return this.dictionary}get ArrayType(){return this.dictionary.ArrayType}toString(){return`Dictionary<${this.indices}, ${this.dictionary}>`}}ck=Symbol.toStringTag;Kp[ck]=(n=>(n.id=null,n.indices=null,n.isOrdered=null,n.dictionary=null,n[Symbol.toStringTag]="Dictionary"))(Kp.prototype);function $f(n){const e=n;switch(n.typeId){case Jn.Decimal:return n.bitWidth/32;case Jn.Timestamp:return 2;case Jn.Date:return 1+e.unit;case Jn.Interval:return 1+e.unit;case Jn.FixedSizeList:return e.listSize;case Jn.FixedSizeBinary:return e.byteWidth;default:return 1}}class aa{visitMany(e,...r){return e.map((C,D)=>this.visit(C,...r.map(k=>k[D])))}visit(...e){return this.getVisitFn(e[0],!1).apply(this,e)}getVisitFn(e,r=!0){return z9(this,e,r)}getVisitFnByTypeId(e,r=!0){return Rp(this,e,r)}visitNull(e,...r){return null}visitBool(e,...r){return null}visitInt(e,...r){return null}visitFloat(e,...r){return null}visitUtf8(e,...r){return null}visitBinary(e,...r){return null}visitFixedSizeBinary(e,...r){return null}visitDate(e,...r){return null}visitTimestamp(e,...r){return null}visitTime(e,...r){return null}visitDecimal(e,...r){return null}visitList(e,...r){return null}visitStruct(e,...r){return null}visitUnion(e,...r){return null}visitDictionary(e,...r){return null}visitInterval(e,...r){return null}visitFixedSizeList(e,...r){return null}visitMap(e,...r){return null}}function z9(n,e,r=!0){return typeof e=="number"?Rp(n,e,r):typeof e=="string"&&e in Jn?Rp(n,Jn[e],r):e&&e instanceof _i?Rp(n,K3(e),r):e!=null&&e.type&&e.type instanceof _i?Rp(n,K3(e.type),r):Rp(n,Jn.NONE,r)}function Rp(n,e,r=!0){let C=null;switch(e){case Jn.Null:C=n.visitNull;break;case Jn.Bool:C=n.visitBool;break;case Jn.Int:C=n.visitInt;break;case Jn.Int8:C=n.visitInt8||n.visitInt;break;case Jn.Int16:C=n.visitInt16||n.visitInt;break;case Jn.Int32:C=n.visitInt32||n.visitInt;break;case Jn.Int64:C=n.visitInt64||n.visitInt;break;case Jn.Uint8:C=n.visitUint8||n.visitInt;break;case Jn.Uint16:C=n.visitUint16||n.visitInt;break;case Jn.Uint32:C=n.visitUint32||n.visitInt;break;case Jn.Uint64:C=n.visitUint64||n.visitInt;break;case Jn.Float:C=n.visitFloat;break;case Jn.Float16:C=n.visitFloat16||n.visitFloat;break;case Jn.Float32:C=n.visitFloat32||n.visitFloat;break;case Jn.Float64:C=n.visitFloat64||n.visitFloat;break;case Jn.Utf8:C=n.visitUtf8;break;case Jn.Binary:C=n.visitBinary;break;case Jn.FixedSizeBinary:C=n.visitFixedSizeBinary;break;case Jn.Date:C=n.visitDate;break;case Jn.DateDay:C=n.visitDateDay||n.visitDate;break;case Jn.DateMillisecond:C=n.visitDateMillisecond||n.visitDate;break;case Jn.Timestamp:C=n.visitTimestamp;break;case Jn.TimestampSecond:C=n.visitTimestampSecond||n.visitTimestamp;break;case Jn.TimestampMillisecond:C=n.visitTimestampMillisecond||n.visitTimestamp;break;case Jn.TimestampMicrosecond:C=n.visitTimestampMicrosecond||n.visitTimestamp;break;case Jn.TimestampNanosecond:C=n.visitTimestampNanosecond||n.visitTimestamp;break;case Jn.Time:C=n.visitTime;break;case Jn.TimeSecond:C=n.visitTimeSecond||n.visitTime;break;case Jn.TimeMillisecond:C=n.visitTimeMillisecond||n.visitTime;break;case Jn.TimeMicrosecond:C=n.visitTimeMicrosecond||n.visitTime;break;case Jn.TimeNanosecond:C=n.visitTimeNanosecond||n.visitTime;break;case Jn.Decimal:C=n.visitDecimal;break;case Jn.List:C=n.visitList;break;case Jn.Struct:C=n.visitStruct;break;case Jn.Union:C=n.visitUnion;break;case Jn.DenseUnion:C=n.visitDenseUnion||n.visitUnion;break;case Jn.SparseUnion:C=n.visitSparseUnion||n.visitUnion;break;case Jn.Dictionary:C=n.visitDictionary;break;case Jn.Interval:C=n.visitInterval;break;case Jn.IntervalDayTime:C=n.visitIntervalDayTime||n.visitInterval;break;case Jn.IntervalYearMonth:C=n.visitIntervalYearMonth||n.visitInterval;break;case Jn.FixedSizeList:C=n.visitFixedSizeList;break;case Jn.Map:C=n.visitMap;break}if(typeof C=="function")return C;if(!r)return()=>null;throw new Error(`Unrecognized type '${Jn[e]}'`)}function K3(n){switch(n.typeId){case Jn.Null:return Jn.Null;case Jn.Int:{const{bitWidth:e,isSigned:r}=n;switch(e){case 8:return r?Jn.Int8:Jn.Uint8;case 16:return r?Jn.Int16:Jn.Uint16;case 32:return r?Jn.Int32:Jn.Uint32;case 64:return r?Jn.Int64:Jn.Uint64}return Jn.Int}case Jn.Float:switch(n.precision){case $l.HALF:return Jn.Float16;case $l.SINGLE:return Jn.Float32;case $l.DOUBLE:return Jn.Float64}return Jn.Float;case Jn.Binary:return Jn.Binary;case Jn.Utf8:return Jn.Utf8;case Jn.Bool:return Jn.Bool;case Jn.Decimal:return Jn.Decimal;case Jn.Time:switch(n.unit){case wa.SECOND:return Jn.TimeSecond;case wa.MILLISECOND:return Jn.TimeMillisecond;case wa.MICROSECOND:return Jn.TimeMicrosecond;case wa.NANOSECOND:return Jn.TimeNanosecond}return Jn.Time;case Jn.Timestamp:switch(n.unit){case wa.SECOND:return Jn.TimestampSecond;case wa.MILLISECOND:return Jn.TimestampMillisecond;case wa.MICROSECOND:return Jn.TimestampMicrosecond;case wa.NANOSECOND:return Jn.TimestampNanosecond}return Jn.Timestamp;case Jn.Date:switch(n.unit){case rh.DAY:return Jn.DateDay;case rh.MILLISECOND:return Jn.DateMillisecond}return Jn.Date;case Jn.Interval:switch(n.unit){case Hh.DAY_TIME:return Jn.IntervalDayTime;case Hh.YEAR_MONTH:return Jn.IntervalYearMonth}return Jn.Interval;case Jn.Map:return Jn.Map;case Jn.List:return Jn.List;case Jn.Struct:return Jn.Struct;case Jn.Union:switch(n.mode){case xu.Dense:return Jn.DenseUnion;case xu.Sparse:return Jn.SparseUnion}return Jn.Union;case Jn.FixedSizeBinary:return Jn.FixedSizeBinary;case Jn.FixedSizeList:return Jn.FixedSizeList;case Jn.Dictionary:return Jn.Dictionary}throw new Error(`Unrecognized type '${Jn[n.typeId]}'`)}aa.prototype.visitInt8=null;aa.prototype.visitInt16=null;aa.prototype.visitInt32=null;aa.prototype.visitInt64=null;aa.prototype.visitUint8=null;aa.prototype.visitUint16=null;aa.prototype.visitUint32=null;aa.prototype.visitUint64=null;aa.prototype.visitFloat16=null;aa.prototype.visitFloat32=null;aa.prototype.visitFloat64=null;aa.prototype.visitDateDay=null;aa.prototype.visitDateMillisecond=null;aa.prototype.visitTimestampSecond=null;aa.prototype.visitTimestampMillisecond=null;aa.prototype.visitTimestampMicrosecond=null;aa.prototype.visitTimestampNanosecond=null;aa.prototype.visitTimeSecond=null;aa.prototype.visitTimeMillisecond=null;aa.prototype.visitTimeMicrosecond=null;aa.prototype.visitTimeNanosecond=null;aa.prototype.visitDenseUnion=null;aa.prototype.visitSparseUnion=null;aa.prototype.visitIntervalDayTime=null;aa.prototype.visitIntervalYearMonth=null;const fk=new Float64Array(1),Ap=new Uint32Array(fk.buffer);function hk(n){const e=(n&31744)>>10,r=(n&1023)/1024,C=Math.pow(-1,(n&32768)>>15);switch(e){case 31:return C*(r?Number.NaN:1/0);case 0:return C*(r?6103515625e-14*r:0)}return C*Math.pow(2,e-15)*(1+r)}function F9(n){if(n!==n)return 32256;fk[0]=n;const e=(Ap[1]&2147483648)>>16&65535;let r=Ap[1]&2146435072,C=0;return r>=1089470464?Ap[0]>0?r=31744:(r=(r&2080374784)>>16,C=(Ap[1]&1048575)>>10):r<=1056964608?(C=1048576+(Ap[1]&1048575),C=1048576+(C<<(r>>20)-998)>>21,r=0):(r=r-1056964608>>10,C=(Ap[1]&1048575)+512>>10),e|r|C&65535}class Ci extends aa{}function Pi(n){return(e,r,C)=>{if(e.setValid(r,C!=null))return n(e,r,C)}}const B9=(n,e,r)=>{n[e]=Math.trunc(r/864e5)},b2=(n,e,r)=>{n[e]=Math.trunc(r%4294967296),n[e+1]=Math.trunc(r/4294967296)},N9=(n,e,r)=>{n[e]=Math.trunc(r*1e3%4294967296),n[e+1]=Math.trunc(r*1e3/4294967296)},V9=(n,e,r)=>{n[e]=Math.trunc(r*1e6%4294967296),n[e+1]=Math.trunc(r*1e6/4294967296)},dk=(n,e,r,C)=>{if(r+1{const D=n+r;C?e[D>>3]|=1<>3]&=~(1<{n[e]=r},x2=({values:n},e,r)=>{n[e]=r},pk=({values:n},e,r)=>{n[e]=F9(r)},U9=(n,e,r)=>{switch(n.type.precision){case $l.HALF:return pk(n,e,r);case $l.SINGLE:case $l.DOUBLE:return x2(n,e,r)}},mk=({values:n},e,r)=>{B9(n,e,r.valueOf())},gk=({values:n},e,r)=>{b2(n,e*2,r.valueOf())},H9=({stride:n,values:e},r,C)=>{e.set(C.subarray(0,n),n*r)},G9=({values:n,valueOffsets:e},r,C)=>dk(n,e,r,C),q9=({values:n,valueOffsets:e},r,C)=>{dk(n,e,r,p2(C))},W9=(n,e,r)=>{n.type.unit===rh.DAY?mk(n,e,r):gk(n,e,r)},vk=({values:n},e,r)=>b2(n,e*2,r/1e3),yk=({values:n},e,r)=>b2(n,e*2,r),bk=({values:n},e,r)=>N9(n,e*2,r),xk=({values:n},e,r)=>V9(n,e*2,r),$9=(n,e,r)=>{switch(n.type.unit){case wa.SECOND:return vk(n,e,r);case wa.MILLISECOND:return yk(n,e,r);case wa.MICROSECOND:return bk(n,e,r);case wa.NANOSECOND:return xk(n,e,r)}},_k=({values:n},e,r)=>{n[e]=r},wk=({values:n},e,r)=>{n[e]=r},Tk=({values:n},e,r)=>{n[e]=r},kk=({values:n},e,r)=>{n[e]=r},Y9=(n,e,r)=>{switch(n.type.unit){case wa.SECOND:return _k(n,e,r);case wa.MILLISECOND:return wk(n,e,r);case wa.MICROSECOND:return Tk(n,e,r);case wa.NANOSECOND:return kk(n,e,r)}},Z9=({values:n,stride:e},r,C)=>{n.set(C.subarray(0,e),e*r)},X9=(n,e,r)=>{const C=n.children[0],D=n.valueOffsets,k=rc.getVisitFn(C);if(Array.isArray(r))for(let m=-1,t=D[e],d=D[e+1];t{const C=n.children[0],{valueOffsets:D}=n,k=rc.getVisitFn(C);let{[e]:m,[e+1]:t}=D;const d=r instanceof Map?r.entries():Object.entries(r);for(const y of d)if(k(C,m,y),++m>=t)break},J9=(n,e)=>(r,C,D,k)=>C&&r(C,n,e[k]),Q9=(n,e)=>(r,C,D,k)=>C&&r(C,n,e.get(k)),eL=(n,e)=>(r,C,D,k)=>C&&r(C,n,e.get(D.name)),tL=(n,e)=>(r,C,D,k)=>C&&r(C,n,e[D.name]),nL=(n,e,r)=>{const C=n.type.children.map(k=>rc.getVisitFn(k.type)),D=r instanceof Map?eL(e,r):r instanceof Ta?Q9(e,r):Array.isArray(r)?J9(e,r):tL(e,r);n.type.children.forEach((k,m)=>D(C[m],n.children[m],k,m))},rL=(n,e,r)=>{n.type.mode===xu.Dense?Mk(n,e,r):Ak(n,e,r)},Mk=(n,e,r)=>{const C=n.type.typeIdToChildIndex[n.typeIds[e]],D=n.children[C];rc.visit(D,n.valueOffsets[e],r)},Ak=(n,e,r)=>{const C=n.type.typeIdToChildIndex[n.typeIds[e]],D=n.children[C];rc.visit(D,e,r)},iL=(n,e,r)=>{var C;(C=n.dictionary)===null||C===void 0||C.set(n.values[e],r)},aL=(n,e,r)=>{n.type.unit===Hh.DAY_TIME?Sk(n,e,r):Ck(n,e,r)},Sk=({values:n},e,r)=>{n.set(r.subarray(0,2),2*e)},Ck=({values:n},e,r)=>{n[e]=r[0]*12+r[1]%12},oL=(n,e,r)=>{const{stride:C}=n,D=n.children[0],k=rc.getVisitFn(D);if(Array.isArray(r))for(let m=-1,t=e*C;++m`${Cm(e)}: ${Cm(r)}`).join(", ")}}`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}[Symbol.iterator](){return new sL(this[Ec],this[Gp])}}class sL{constructor(e,r){this.childIndex=0,this.children=e.children,this.rowIndex=r,this.childFields=e.type.children,this.numChildren=this.childFields.length}[Symbol.iterator](){return this}next(){const e=this.childIndex;return er.name)}has(e,r){return e[Ec].type.children.findIndex(C=>C.name===r)!==-1}getOwnPropertyDescriptor(e,r){if(e[Ec].type.children.findIndex(C=>C.name===r)!==-1)return{writable:!0,enumerable:!0,configurable:!0}}get(e,r){if(Reflect.has(e,r))return e[r];const C=e[Ec].type.children.findIndex(D=>D.name===r);if(C!==-1){const D=Xl.visit(e[Ec].children[C],e[Gp]);return Reflect.set(e,r,D),D}}set(e,r,C){const D=e[Ec].type.children.findIndex(k=>k.name===r);return D!==-1?(rc.visit(e[Ec].children[D],e[Gp],C),Reflect.set(e,r,C)):Reflect.has(e,r)||typeof r=="symbol"?Reflect.set(e,r,C):!1}}class Ti extends aa{}function Ei(n){return(e,r)=>e.getValid(r)?n(e,r):null}const uL=(n,e)=>864e5*n[e],w2=(n,e)=>4294967296*n[e+1]+(n[e]>>>0),cL=(n,e)=>4294967296*(n[e+1]/1e3)+(n[e]>>>0)/1e3,fL=(n,e)=>4294967296*(n[e+1]/1e6)+(n[e]>>>0)/1e6,Ek=n=>new Date(n),hL=(n,e)=>Ek(uL(n,e)),dL=(n,e)=>Ek(w2(n,e)),pL=(n,e)=>null,Lk=(n,e,r)=>{if(r+1>=e.length)return null;const C=e[r],D=e[r+1];return n.subarray(C,D)},mL=({offset:n,values:e},r)=>{const C=n+r;return(e[C>>3]&1<hL(n,e),Rk=({values:n},e)=>dL(n,e*2),Kh=({stride:n,values:e},r)=>e[n*r],gL=({stride:n,values:e},r)=>hk(e[n*r]),Pk=({values:n},e)=>n[e],vL=({stride:n,values:e},r)=>e.subarray(n*r,n*(r+1)),yL=({values:n,valueOffsets:e},r)=>Lk(n,e,r),bL=({values:n,valueOffsets:e},r)=>{const C=Lk(n,e,r);return C!==null?jb(C):null},xL=({values:n},e)=>n[e],_L=({type:n,values:e},r)=>n.precision!==$l.HALF?e[r]:hk(e[r]),wL=(n,e)=>n.type.unit===rh.DAY?Ik(n,e):Rk(n,e),Ok=({values:n},e)=>1e3*w2(n,e*2),Dk=({values:n},e)=>w2(n,e*2),zk=({values:n},e)=>cL(n,e*2),Fk=({values:n},e)=>fL(n,e*2),TL=(n,e)=>{switch(n.type.unit){case wa.SECOND:return Ok(n,e);case wa.MILLISECOND:return Dk(n,e);case wa.MICROSECOND:return zk(n,e);case wa.NANOSECOND:return Fk(n,e)}},Bk=({values:n},e)=>n[e],Nk=({values:n},e)=>n[e],Vk=({values:n},e)=>n[e],jk=({values:n},e)=>n[e],kL=(n,e)=>{switch(n.type.unit){case wa.SECOND:return Bk(n,e);case wa.MILLISECOND:return Nk(n,e);case wa.MICROSECOND:return Vk(n,e);case wa.NANOSECOND:return jk(n,e)}},ML=({values:n,stride:e},r)=>y2.decimal(n.subarray(e*r,e*(r+1))),AL=(n,e)=>{const{valueOffsets:r,stride:C,children:D}=n,{[e*C]:k,[e*C+1]:m}=r,d=D[0].slice(k,m-k);return new Ta([d])},SL=(n,e)=>{const{valueOffsets:r,children:C}=n,{[e]:D,[e+1]:k}=r,m=C[0];return new T2(m.slice(D,k-D))},CL=(n,e)=>new _2(n,e),EL=(n,e)=>n.type.mode===xu.Dense?Uk(n,e):Hk(n,e),Uk=(n,e)=>{const r=n.type.typeIdToChildIndex[n.typeIds[e]],C=n.children[r];return Xl.visit(C,n.valueOffsets[e])},Hk=(n,e)=>{const r=n.type.typeIdToChildIndex[n.typeIds[e]],C=n.children[r];return Xl.visit(C,e)},LL=(n,e)=>{var r;return(r=n.dictionary)===null||r===void 0?void 0:r.get(n.values[e])},IL=(n,e)=>n.type.unit===Hh.DAY_TIME?Gk(n,e):qk(n,e),Gk=({values:n},e)=>n.subarray(2*e,2*(e+1)),qk=({values:n},e)=>{const r=n[e],C=new Int32Array(2);return C[0]=Math.trunc(r/12),C[1]=Math.trunc(r%12),C},RL=(n,e)=>{const{stride:r,children:C}=n,k=C[0].slice(e*r,r);return new Ta([k])};Ti.prototype.visitNull=Ei(pL);Ti.prototype.visitBool=Ei(mL);Ti.prototype.visitInt=Ei(xL);Ti.prototype.visitInt8=Ei(Kh);Ti.prototype.visitInt16=Ei(Kh);Ti.prototype.visitInt32=Ei(Kh);Ti.prototype.visitInt64=Ei(Pk);Ti.prototype.visitUint8=Ei(Kh);Ti.prototype.visitUint16=Ei(Kh);Ti.prototype.visitUint32=Ei(Kh);Ti.prototype.visitUint64=Ei(Pk);Ti.prototype.visitFloat=Ei(_L);Ti.prototype.visitFloat16=Ei(gL);Ti.prototype.visitFloat32=Ei(Kh);Ti.prototype.visitFloat64=Ei(Kh);Ti.prototype.visitUtf8=Ei(bL);Ti.prototype.visitBinary=Ei(yL);Ti.prototype.visitFixedSizeBinary=Ei(vL);Ti.prototype.visitDate=Ei(wL);Ti.prototype.visitDateDay=Ei(Ik);Ti.prototype.visitDateMillisecond=Ei(Rk);Ti.prototype.visitTimestamp=Ei(TL);Ti.prototype.visitTimestampSecond=Ei(Ok);Ti.prototype.visitTimestampMillisecond=Ei(Dk);Ti.prototype.visitTimestampMicrosecond=Ei(zk);Ti.prototype.visitTimestampNanosecond=Ei(Fk);Ti.prototype.visitTime=Ei(kL);Ti.prototype.visitTimeSecond=Ei(Bk);Ti.prototype.visitTimeMillisecond=Ei(Nk);Ti.prototype.visitTimeMicrosecond=Ei(Vk);Ti.prototype.visitTimeNanosecond=Ei(jk);Ti.prototype.visitDecimal=Ei(ML);Ti.prototype.visitList=Ei(AL);Ti.prototype.visitStruct=Ei(CL);Ti.prototype.visitUnion=Ei(EL);Ti.prototype.visitDenseUnion=Ei(Uk);Ti.prototype.visitSparseUnion=Ei(Hk);Ti.prototype.visitDictionary=Ei(LL);Ti.prototype.visitInterval=Ei(IL);Ti.prototype.visitIntervalDayTime=Ei(Gk);Ti.prototype.visitIntervalYearMonth=Ei(qk);Ti.prototype.visitFixedSizeList=Ei(RL);Ti.prototype.visitMap=Ei(SL);const Xl=new Ti,uf=Symbol.for("keys"),qp=Symbol.for("vals");class T2{constructor(e){return this[uf]=new Ta([e.children[0]]).memoize(),this[qp]=e.children[1],new Proxy(this,new OL)}[Symbol.iterator](){return new PL(this[uf],this[qp])}get size(){return this[uf].length}toArray(){return Object.values(this.toJSON())}toJSON(){const e=this[uf],r=this[qp],C={};for(let D=-1,k=e.length;++D`${Cm(e)}: ${Cm(r)}`).join(", ")}}`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}}class PL{constructor(e,r){this.keys=e,this.vals=r,this.keyIndex=0,this.numKeys=e.length}[Symbol.iterator](){return this}next(){const e=this.keyIndex;return e===this.numKeys?{done:!0,value:null}:(this.keyIndex++,{done:!1,value:[this.keys.get(e),Xl.visit(this.vals,e)]})}}class OL{isExtensible(){return!1}deleteProperty(){return!1}preventExtensions(){return!0}ownKeys(e){return e[uf].toArray().map(String)}has(e,r){return e[uf].includes(r)}getOwnPropertyDescriptor(e,r){if(e[uf].indexOf(r)!==-1)return{writable:!0,enumerable:!0,configurable:!0}}get(e,r){if(Reflect.has(e,r))return e[r];const C=e[uf].indexOf(r);if(C!==-1){const D=Xl.visit(Reflect.get(e,qp),C);return Reflect.set(e,r,D),D}}set(e,r,C){const D=e[uf].indexOf(r);return D!==-1?(rc.visit(Reflect.get(e,qp),D,C),Reflect.set(e,r,C)):Reflect.has(e,r)?Reflect.set(e,r,C):!1}}Object.defineProperties(T2.prototype,{[Symbol.toStringTag]:{enumerable:!1,configurable:!1,value:"Row"},[uf]:{writable:!0,enumerable:!1,configurable:!1,value:null},[qp]:{writable:!0,enumerable:!1,configurable:!1,value:null}});let J3;function Wk(n,e,r,C){const{length:D=0}=n;let k=typeof e!="number"?0:e,m=typeof r!="number"?D:r;return k<0&&(k=(k%D+D)%D),m<0&&(m=(m%D+D)%D),mD&&(m=D),C?C(n,k,m):[k,m]}const Q3=n=>n!==n;function v0(n){if(typeof n!=="object"||n===null)return Q3(n)?Q3:r=>r===n;if(n instanceof Date){const r=n.valueOf();return C=>C instanceof Date?C.valueOf()===r:!1}return ArrayBuffer.isView(n)?r=>r?S9(n,r):!1:n instanceof Map?zL(n):Array.isArray(n)?DL(n):n instanceof Ta?FL(n):BL(n,!0)}function DL(n){const e=[];for(let r=-1,C=n.length;++r!1;const C=[];for(let D=-1,k=r.length;++D{if(!r||typeof r!="object")return!1;switch(r.constructor){case Array:return NL(n,r);case Map:return e5(n,r,r.keys());case T2:case _2:case Object:case void 0:return e5(n,r,e||Object.keys(r))}return r instanceof Ta?VL(n,r):!1}}function NL(n,e){const r=n.length;if(e.length!==r)return!1;for(let C=-1;++C>C}function k2(n,e,r){const C=r.byteLength+7&-8;if(n>0||r.byteLength>3):qv(new M2(r,n,e,null,$k)).subarray(0,C)),D}return r}function qv(n){const e=[];let r=0,C=0,D=0;for(const m of n)m&&(D|=1<0)&&(e[r++]=D);const k=new Uint8Array(e.length+7&-8);return k.set(e),k}class M2{constructor(e,r,C,D,k){this.bytes=e,this.length=C,this.context=D,this.get=k,this.bit=r%8,this.byteIndex=r>>3,this.byte=e[this.byteIndex++],this.index=0}next(){return this.index>3<<3,D=e+(e%8===0?0:8-e%8);return qb(n,e,D)+qb(n,C,r)+UL(n,D>>3,C-D>>3)}function UL(n,e,r){let C=0,D=Math.trunc(e);const k=new DataView(n.buffer,n.byteOffset,n.byteLength),m=r===void 0?n.byteLength:D+r;for(;m-D>=4;)C+=cb(k.getUint32(D)),D+=4;for(;m-D>=2;)C+=cb(k.getUint16(D)),D+=2;for(;m-D>=1;)C+=cb(k.getUint8(D)),D+=1;return C}function cb(n){let e=Math.trunc(n);return e=e-(e>>>1&1431655765),e=(e&858993459)+(e>>>2&858993459),(e+(e>>>4)&252645135)*16843009>>>24}const HL=-1;class Qa{constructor(e,r,C,D,k,m=[],t){this.type=e,this.children=m,this.dictionary=t,this.offset=Math.floor(Math.max(r||0,0)),this.length=Math.floor(Math.max(C||0,0)),this._nullCount=Math.floor(Math.max(D||0,-1));let d;k instanceof Qa?(this.stride=k.stride,this.values=k.values,this.typeIds=k.typeIds,this.nullBitmap=k.nullBitmap,this.valueOffsets=k.valueOffsets):(this.stride=$f(e),k&&((d=k[0])&&(this.valueOffsets=d),(d=k[1])&&(this.values=d),(d=k[2])&&(this.nullBitmap=d),(d=k[3])&&(this.typeIds=d))),this.nullable=this._nullCount!==0&&this.nullBitmap&&this.nullBitmap.byteLength>0}get typeId(){return this.type.typeId}get ArrayType(){return this.type.ArrayType}get buffers(){return[this.valueOffsets,this.values,this.nullBitmap,this.typeIds]}get byteLength(){let e=0;const{valueOffsets:r,values:C,nullBitmap:D,typeIds:k}=this;return r&&(e+=r.byteLength),C&&(e+=C.byteLength),D&&(e+=D.byteLength),k&&(e+=k.byteLength),this.children.reduce((m,t)=>m+t.byteLength,e)}get nullCount(){let e=this._nullCount,r;return e<=HL&&(r=this.nullBitmap)&&(this._nullCount=e=this.length-qb(r,this.offset,this.offset+this.length)),e}getValid(e){if(this.nullable&&this.nullCount>0){const r=this.offset+e;return(this.nullBitmap[r>>3]&1<>3){const{nullBitmap:d}=this._changeLengthAndBackfillNullBitmap(this.length);Object.assign(this,{nullBitmap:d,_nullCount:0})}const{nullBitmap:C,offset:D}=this,k=D+e>>3,m=(D+e)%8,t=C[k]>>m&1;return r?t===0&&(C[k]|=1<>3).fill(255,0,r>>3);D[r>>3]=(1<0&&D.set(k2(this.offset,r,this.nullBitmap),0);const k=this.buffers;return k[Wf.VALIDITY]=D,this.clone(this.type,0,e,C+(e-r),k)}_sliceBuffers(e,r,C,D){let k;const{buffers:m}=this;return(k=m[Wf.TYPE])&&(m[Wf.TYPE]=k.subarray(e,e+r)),(k=m[Wf.OFFSET])&&(m[Wf.OFFSET]=k.subarray(e,e+r+1))||(k=m[Wf.DATA])&&(m[Wf.DATA]=D===6?k:k.subarray(C*e,C*(e+r))),m}_sliceChildren(e,r,C){return e.map(D=>D.slice(r,C))}}Qa.prototype.children=Object.freeze([]);class mm extends aa{visit(e){return this.getVisitFn(e.type).call(this,e)}visitNull(e){const{["type"]:r,["offset"]:C=0,["length"]:D=0}=e;return new Qa(r,C,D,0)}visitBool(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),k=qa(r.ArrayType,e.data),{["length"]:m=k.length>>3,["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,m,t,[void 0,k,D])}visitInt(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),k=qa(r.ArrayType,e.data),{["length"]:m=k.length,["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,m,t,[void 0,k,D])}visitFloat(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),k=qa(r.ArrayType,e.data),{["length"]:m=k.length,["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,m,t,[void 0,k,D])}visitUtf8(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.data),k=_a(e.nullBitmap),m=rm(e.valueOffsets),{["length"]:t=m.length-1,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,C,t,d,[m,D,k])}visitBinary(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.data),k=_a(e.nullBitmap),m=rm(e.valueOffsets),{["length"]:t=m.length-1,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,C,t,d,[m,D,k])}visitFixedSizeBinary(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),k=qa(r.ArrayType,e.data),{["length"]:m=k.length/$f(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,m,t,[void 0,k,D])}visitDate(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),k=qa(r.ArrayType,e.data),{["length"]:m=k.length/$f(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,m,t,[void 0,k,D])}visitTimestamp(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),k=qa(r.ArrayType,e.data),{["length"]:m=k.length/$f(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,m,t,[void 0,k,D])}visitTime(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),k=qa(r.ArrayType,e.data),{["length"]:m=k.length/$f(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,m,t,[void 0,k,D])}visitDecimal(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),k=qa(r.ArrayType,e.data),{["length"]:m=k.length/$f(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,m,t,[void 0,k,D])}visitList(e){const{["type"]:r,["offset"]:C=0,["child"]:D}=e,k=_a(e.nullBitmap),m=rm(e.valueOffsets),{["length"]:t=m.length-1,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,C,t,d,[m,void 0,k],[D])}visitStruct(e){const{["type"]:r,["offset"]:C=0,["children"]:D=[]}=e,k=_a(e.nullBitmap),{length:m=D.reduce((d,{length:y})=>Math.max(d,y),0),nullCount:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,m,t,[void 0,void 0,k],D)}visitUnion(e){const{["type"]:r,["offset"]:C=0,["children"]:D=[]}=e,k=_a(e.nullBitmap),m=qa(r.ArrayType,e.typeIds),{["length"]:t=m.length,["nullCount"]:d=e.nullBitmap?-1:0}=e;if(_i.isSparseUnion(r))return new Qa(r,C,t,d,[void 0,void 0,k,m],D);const y=rm(e.valueOffsets);return new Qa(r,C,t,d,[y,void 0,k,m],D)}visitDictionary(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),k=qa(r.indices.ArrayType,e.data),{["dictionary"]:m=new Ta([new mm().visit({type:r.dictionary})])}=e,{["length"]:t=k.length,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,C,t,d,[void 0,k,D],[],m)}visitInterval(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),k=qa(r.ArrayType,e.data),{["length"]:m=k.length/$f(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,m,t,[void 0,k,D])}visitFixedSizeList(e){const{["type"]:r,["offset"]:C=0,["child"]:D=new mm().visit({type:r.valueType})}=e,k=_a(e.nullBitmap),{["length"]:m=D.length/$f(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,m,t,[void 0,void 0,k],[D])}visitMap(e){const{["type"]:r,["offset"]:C=0,["child"]:D=new mm().visit({type:r.childType})}=e,k=_a(e.nullBitmap),m=rm(e.valueOffsets),{["length"]:t=m.length-1,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,C,t,d,[m,void 0,k],[D])}}function ia(n){return new mm().visit(n)}class t5{constructor(e=0,r){this.numChunks=e,this.getChunkIterator=r,this.chunkIndex=0,this.chunkIterator=this.getChunkIterator(0)}next(){for(;this.chunkIndexe+r.nullCount,0)}function Zk(n){return n.reduce((e,r,C)=>(e[C+1]=e[C]+r.length,e),new Uint32Array(n.length+1))}function Xk(n,e,r,C){const D=[];for(let k=-1,m=n.length;++k=C)break;if(r>=d+y)continue;if(d>=r&&d+y<=C){D.push(t);continue}const i=Math.max(0,r-d),M=Math.min(C-d,y);D.push(t.slice(i,M-i))}return D.length===0&&D.push(n[0].slice(0,0)),D}function A2(n,e,r,C){let D=0,k=0,m=e.length-1;do{if(D>=m-1)return r0?0:-1}function qL(n,e){const{nullBitmap:r}=n;if(!r||n.nullCount<=0)return-1;let C=0;for(const D of new M2(r,n.offset+(e||0),n.length,r,$k)){if(!D)return C;++C}return-1}function Vi(n,e,r){if(e===void 0)return-1;if(e===null)return qL(n,r);const C=Xl.getVisitFn(n),D=v0(e);for(let k=(r||0)-1,m=n.length;++k{const D=n.data[C];return D.values.subarray(0,D.length)[Symbol.iterator]()});let r=0;return new t5(n.data.length,C=>{const k=n.data[C].length,m=n.slice(r,r+k);return r+=k,new WL(m)})}class WL{constructor(e){this.vector=e,this.index=0}next(){return this.indexn+e;class Jh extends aa{visitNull(e,r){return 0}visitInt(e,r){return e.type.bitWidth/8}visitFloat(e,r){return e.type.ArrayType.BYTES_PER_ELEMENT}visitBool(e,r){return 1/8}visitDecimal(e,r){return e.type.bitWidth/8}visitDate(e,r){return(e.type.unit+1)*4}visitTime(e,r){return e.type.bitWidth/8}visitTimestamp(e,r){return e.type.unit===wa.SECOND?4:8}visitInterval(e,r){return(e.type.unit+1)*4}visitStruct(e,r){return e.children.reduce((C,D)=>C+wf.visit(D,r),0)}visitFixedSizeBinary(e,r){return e.type.byteWidth}visitMap(e,r){return 8+e.children.reduce((C,D)=>C+wf.visit(D,r),0)}visitDictionary(e,r){var C;return e.type.indices.bitWidth/8+(((C=e.dictionary)===null||C===void 0?void 0:C.getByteLength(e.values[r]))||0)}}const YL=({valueOffsets:n},e)=>8+(n[e+1]-n[e]),ZL=({valueOffsets:n},e)=>8+(n[e+1]-n[e]),XL=({valueOffsets:n,stride:e,children:r},C)=>{const D=r[0],{[C*e]:k}=n,{[C*e+1]:m}=n,t=wf.getVisitFn(D.type),d=D.slice(k,m-k);let y=8;for(let i=-1,M=m-k;++i{const C=e[0],D=C.slice(r*n,n),k=wf.getVisitFn(C.type);let m=0;for(let t=-1,d=D.length;++tn.type.mode===xu.Dense?eM(n,e):tM(n,e),eM=({type:n,children:e,typeIds:r,valueOffsets:C},D)=>{const k=n.typeIdToChildIndex[r[D]];return 8+wf.visit(e[k],C[D])},tM=({children:n},e)=>4+wf.visitMany(n,n.map(()=>e)).reduce($L,0);Jh.prototype.visitUtf8=YL;Jh.prototype.visitBinary=ZL;Jh.prototype.visitList=XL;Jh.prototype.visitFixedSizeList=KL;Jh.prototype.visitUnion=JL;Jh.prototype.visitDenseUnion=eM;Jh.prototype.visitSparseUnion=tM;const wf=new Jh;var nM;const rM={},iM={};class Ta{constructor(e){var r,C,D;const k=e[0]instanceof Ta?e.flatMap(t=>t.data):e;if(k.length===0||k.some(t=>!(t instanceof Qa)))throw new TypeError("Vector constructor expects an Array of Data instances.");const m=(r=k[0])===null||r===void 0?void 0:r.type;switch(k.length){case 0:this._offsets=[0];break;case 1:{const{get:t,set:d,indexOf:y,byteLength:i}=rM[m.typeId],M=k[0];this.isValid=v=>S2(M,v),this.get=v=>t(M,v),this.set=(v,h)=>d(M,v,h),this.indexOf=v=>y(M,v),this.getByteLength=v=>i(M,v),this._offsets=[0,M.length];break}default:Object.setPrototypeOf(this,iM[m.typeId]),this._offsets=Zk(k);break}this.data=k,this.type=m,this.stride=$f(m),this.numChildren=(D=(C=m.children)===null||C===void 0?void 0:C.length)!==null&&D!==void 0?D:0,this.length=this._offsets[this._offsets.length-1]}get byteLength(){return this._byteLength===-1&&(this._byteLength=this.data.reduce((e,r)=>e+r.byteLength,0)),this._byteLength}get nullCount(){return this._nullCount===-1&&(this._nullCount=Yk(this.data)),this._nullCount}get ArrayType(){return this.type.ArrayType}get[Symbol.toStringTag](){return`${this.VectorName}<${this.type[Symbol.toStringTag]}>`}get VectorName(){return`${Jn[this.type.typeId]}Vector`}isValid(e){return!1}get(e){return null}set(e,r){}indexOf(e,r){return-1}includes(e,r){return this.indexOf(e,r)>0}getByteLength(e){return 0}[Symbol.iterator](){return C2.visit(this)}concat(...e){return new Ta(this.data.concat(e.flatMap(r=>r.data).flat(Number.POSITIVE_INFINITY)))}slice(e,r){return new Ta(Wk(this,e,r,({data:C,_offsets:D},k,m)=>Xk(C,D,k,m)))}toJSON(){return[...this]}toArray(){const{type:e,data:r,length:C,stride:D,ArrayType:k}=this;switch(e.typeId){case Jn.Int:case Jn.Float:case Jn.Decimal:case Jn.Time:case Jn.Timestamp:switch(r.length){case 0:return new k;case 1:return r[0].values.subarray(0,C*D);default:return r.reduce((m,{values:t,length:d})=>(m.array.set(t.subarray(0,d*D),m.offset),m.offset+=d*D,m),{array:new k(C*D),offset:0}).array}}return[...this]}toString(){return`[${[...this].join(",")}]`}getChild(e){var r;return this.getChildAt((r=this.type.children)===null||r===void 0?void 0:r.findIndex(C=>C.name===e))}getChildAt(e){return e>-1&&er[e])):null}get isMemoized(){return _i.isDictionary(this.type)?this.data[0].dictionary.isMemoized:!1}memoize(){if(_i.isDictionary(this.type)){const e=new $v(this.data[0].dictionary),r=this.data.map(C=>{const D=C.clone();return D.dictionary=e,D});return new Ta(r)}return new $v(this)}unmemoize(){if(_i.isDictionary(this.type)&&this.isMemoized){const e=this.data[0].dictionary.unmemoize(),r=this.data.map(C=>{const D=C.clone();return D.dictionary=e,D});return new Ta(r)}return this}}nM=Symbol.toStringTag;Ta[nM]=(n=>{n.type=_i.prototype,n.data=[],n.length=0,n.stride=1,n.numChildren=0,n._nullCount=-1,n._byteLength=-1,n._offsets=new Uint32Array([0]),n[Symbol.isConcatSpreadable]=!0;const e=Object.keys(Jn).map(r=>Jn[r]).filter(r=>typeof r=="number"&&r!==Jn.NONE);for(const r of e){const C=Xl.getVisitFnByTypeId(r),D=rc.getVisitFnByTypeId(r),k=Wv.getVisitFnByTypeId(r),m=wf.getVisitFnByTypeId(r);rM[r]={get:C,set:D,indexOf:k,byteLength:m},iM[r]=Object.create(n,{isValid:{value:Wp(S2)},get:{value:Wp(Xl.getVisitFnByTypeId(r))},set:{value:Kk(rc.getVisitFnByTypeId(r))},indexOf:{value:Jk(Wv.getVisitFnByTypeId(r))},getByteLength:{value:Wp(wf.getVisitFnByTypeId(r))}})}return"Vector"})(Ta.prototype);class $v extends Ta{constructor(e){super(e.data);const r=this.get,C=this.set,D=this.slice,k=new Array(this.length);Object.defineProperty(this,"get",{value(m){const t=k[m];if(t!==void 0)return t;const d=r.call(this,m);return k[m]=d,d}}),Object.defineProperty(this,"set",{value(m,t){C.call(this,m,t),k[m]=t}}),Object.defineProperty(this,"slice",{value:(m,t)=>new $v(D.call(this,m,t))}),Object.defineProperty(this,"isMemoized",{value:!0}),Object.defineProperty(this,"unmemoize",{value:()=>new Ta(this.data)}),Object.defineProperty(this,"memoize",{value:()=>this})}}class Wb{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}offset(){return this.bb.readInt64(this.bb_pos)}metaDataLength(){return this.bb.readInt32(this.bb_pos+8)}bodyLength(){return this.bb.readInt64(this.bb_pos+16)}static sizeOf(){return 24}static createBlock(e,r,C,D){return e.prep(8,24),e.writeInt64(D),e.pad(4),e.writeInt32(C),e.writeInt64(r),e.offset()}}const fb=2,cf=4,Zf=4,Wa=4,Ph=new Int32Array(2),n5=new Float32Array(Ph.buffer),r5=new Float64Array(Ph.buffer),av=new Uint16Array(new Uint8Array([1,0]).buffer)[0]===1;let Qf=class $b{constructor(e,r){this.low=e|0,this.high=r|0}static create(e,r){return e==0&&r==0?$b.ZERO:new $b(e,r)}toFloat64(){return(this.low>>>0)+this.high*4294967296}equals(e){return this.low==e.low&&this.high==e.high}};Qf.ZERO=new Qf(0,0);var Yb;(function(n){n[n.UTF8_BYTES=1]="UTF8_BYTES",n[n.UTF16_STRING=2]="UTF16_STRING"})(Yb||(Yb={}));let Jp=class aM{constructor(e){this.bytes_=e,this.position_=0}static allocate(e){return new aM(new Uint8Array(e))}clear(){this.position_=0}bytes(){return this.bytes_}position(){return this.position_}setPosition(e){this.position_=e}capacity(){return this.bytes_.length}readInt8(e){return this.readUint8(e)<<24>>24}readUint8(e){return this.bytes_[e]}readInt16(e){return this.readUint16(e)<<16>>16}readUint16(e){return this.bytes_[e]|this.bytes_[e+1]<<8}readInt32(e){return this.bytes_[e]|this.bytes_[e+1]<<8|this.bytes_[e+2]<<16|this.bytes_[e+3]<<24}readUint32(e){return this.readInt32(e)>>>0}readInt64(e){return new Qf(this.readInt32(e),this.readInt32(e+4))}readUint64(e){return new Qf(this.readUint32(e),this.readUint32(e+4))}readFloat32(e){return Ph[0]=this.readInt32(e),n5[0]}readFloat64(e){return Ph[av?0:1]=this.readInt32(e),Ph[av?1:0]=this.readInt32(e+4),r5[0]}writeInt8(e,r){this.bytes_[e]=r}writeUint8(e,r){this.bytes_[e]=r}writeInt16(e,r){this.bytes_[e]=r,this.bytes_[e+1]=r>>8}writeUint16(e,r){this.bytes_[e]=r,this.bytes_[e+1]=r>>8}writeInt32(e,r){this.bytes_[e]=r,this.bytes_[e+1]=r>>8,this.bytes_[e+2]=r>>16,this.bytes_[e+3]=r>>24}writeUint32(e,r){this.bytes_[e]=r,this.bytes_[e+1]=r>>8,this.bytes_[e+2]=r>>16,this.bytes_[e+3]=r>>24}writeInt64(e,r){this.writeInt32(e,r.low),this.writeInt32(e+4,r.high)}writeUint64(e,r){this.writeUint32(e,r.low),this.writeUint32(e+4,r.high)}writeFloat32(e,r){n5[0]=r,this.writeInt32(e,Ph[0])}writeFloat64(e,r){r5[0]=r,this.writeInt32(e,Ph[av?0:1]),this.writeInt32(e+4,Ph[av?1:0])}getBufferIdentifier(){if(this.bytes_.length>10)+55296,(m&1024-1)+56320))}return D}__union_with_string(e,r){return typeof e=="string"?this.__string(r):this.__union(e,r)}__indirect(e){return e+this.readInt32(e)}__vector(e){return e+this.readInt32(e)+cf}__vector_len(e){return this.readInt32(e+this.readInt32(e))}__has_identifier(e){if(e.length!=Zf)throw new Error("FlatBuffers: file identifier must be length "+Zf);for(let r=0;rthis.minalign&&(this.minalign=e);const C=~(this.bb.capacity()-this.space+r)+1&e-1;for(;this.space=0&&this.vtable[r]==0;r--);const C=r+1;for(;r>=0;r--)this.addInt16(this.vtable[r]!=0?e-this.vtable[r]:0);const D=2;this.addInt16(e-this.object_start);const k=(C+D)*fb;this.addInt16(k);let m=0;const t=this.space;e:for(r=0;r=0;m--)this.writeInt8(k.charCodeAt(m))}this.prep(this.minalign,cf+D),this.addOffset(e),D&&this.addInt32(this.bb.capacity()-this.space),this.bb.setPosition(this.space)}finishSizePrefixed(e,r){this.finish(e,r,!0)}requiredField(e,r){const C=this.bb.capacity()-e,D=C-this.bb.readInt32(C);if(!(this.bb.readInt16(D+r)!=0))throw new Error("FlatBuffers: field "+r+" must be set")}startVector(e,r,C){this.notNested(),this.vector_num_elems=r,this.prep(cf,e*r),this.prep(C,e*r)}endVector(){return this.writeInt32(this.vector_num_elems),this.offset()}createSharedString(e){if(!e)return 0;if(this.string_maps||(this.string_maps=new Map),this.string_maps.has(e))return this.string_maps.get(e);const r=this.createString(e);return this.string_maps.set(e,r),r}createString(e){if(!e)return 0;let r;if(e instanceof Uint8Array)r=e;else{r=[];let C=0;for(;C=56320)D=k;else{const m=e.charCodeAt(C++);D=(k<<10)+m+(65536-56623104-56320)}D<128?r.push(D):(D<2048?r.push(D>>6&31|192):(D<65536?r.push(D>>12&15|224):r.push(D>>18&7|240,D>>12&63|128),r.push(D>>6&63|128)),r.push(D&63|128))}}this.addInt8(0),this.startVector(1,r.length,1),this.bb.setPosition(this.space-=r.length);for(let C=0,D=this.space,k=this.bb.bytes();C=0;C--)e.addInt32(r[C]);return e.endVector()}static startTypeIdsVector(e,r){e.startVector(4,r,4)}static endUnion(e){return e.endObject()}static createUnion(e,r,C){return ql.startUnion(e),ql.addMode(e,r),ql.addTypeIds(e,C),ql.endUnion(e)}}class Pd{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsUtf8(e,r){return(r||new Pd).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsUtf8(e,r){return e.setPosition(e.position()+Wa),(r||new Pd).__init(e.readInt32(e.position())+e.position(),e)}static startUtf8(e){e.startObject(0)}static endUtf8(e){return e.endObject()}static createUtf8(e){return Pd.startUtf8(e),Pd.endUtf8(e)}}var Ao;(function(n){n[n.NONE=0]="NONE",n[n.Null=1]="Null",n[n.Int=2]="Int",n[n.FloatingPoint=3]="FloatingPoint",n[n.Binary=4]="Binary",n[n.Utf8=5]="Utf8",n[n.Bool=6]="Bool",n[n.Decimal=7]="Decimal",n[n.Date=8]="Date",n[n.Time=9]="Time",n[n.Timestamp=10]="Timestamp",n[n.Interval=11]="Interval",n[n.List=12]="List",n[n.Struct_=13]="Struct_",n[n.Union=14]="Union",n[n.FixedSizeBinary=15]="FixedSizeBinary",n[n.FixedSizeList=16]="FixedSizeList",n[n.Map=17]="Map",n[n.Duration=18]="Duration",n[n.LargeBinary=19]="LargeBinary",n[n.LargeUtf8=20]="LargeUtf8",n[n.LargeList=21]="LargeList"})(Ao||(Ao={}));let Wu=class yv{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsField(e,r){return(r||new yv).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsField(e,r){return e.setPosition(e.position()+Wa),(r||new yv).__init(e.readInt32(e.position())+e.position(),e)}name(e){const r=this.bb.__offset(this.bb_pos,4);return r?this.bb.__string(this.bb_pos+r,e):null}nullable(){const e=this.bb.__offset(this.bb_pos,6);return e?!!this.bb.readInt8(this.bb_pos+e):!1}typeType(){const e=this.bb.__offset(this.bb_pos,8);return e?this.bb.readUint8(this.bb_pos+e):Ao.NONE}type(e){const r=this.bb.__offset(this.bb_pos,10);return r?this.bb.__union(e,this.bb_pos+r):null}dictionary(e){const r=this.bb.__offset(this.bb_pos,12);return r?(e||new Xf).__init(this.bb.__indirect(this.bb_pos+r),this.bb):null}children(e,r){const C=this.bb.__offset(this.bb_pos,14);return C?(r||new yv).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+C)+e*4),this.bb):null}childrenLength(){const e=this.bb.__offset(this.bb_pos,14);return e?this.bb.__vector_len(this.bb_pos+e):0}customMetadata(e,r){const C=this.bb.__offset(this.bb_pos,16);return C?(r||new hs).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+C)+e*4),this.bb):null}customMetadataLength(){const e=this.bb.__offset(this.bb_pos,16);return e?this.bb.__vector_len(this.bb_pos+e):0}static startField(e){e.startObject(7)}static addName(e,r){e.addFieldOffset(0,r,0)}static addNullable(e,r){e.addFieldInt8(1,+r,0)}static addTypeType(e,r){e.addFieldInt8(2,r,Ao.NONE)}static addType(e,r){e.addFieldOffset(3,r,0)}static addDictionary(e,r){e.addFieldOffset(4,r,0)}static addChildren(e,r){e.addFieldOffset(5,r,0)}static createChildrenVector(e,r){e.startVector(4,r.length,4);for(let C=r.length-1;C>=0;C--)e.addOffset(r[C]);return e.endVector()}static startChildrenVector(e,r){e.startVector(4,r,4)}static addCustomMetadata(e,r){e.addFieldOffset(6,r,0)}static createCustomMetadataVector(e,r){e.startVector(4,r.length,4);for(let C=r.length-1;C>=0;C--)e.addOffset(r[C]);return e.endVector()}static startCustomMetadataVector(e,r){e.startVector(4,r,4)}static endField(e){return e.endObject()}},af=class Gf{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsSchema(e,r){return(r||new Gf).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsSchema(e,r){return e.setPosition(e.position()+Wa),(r||new Gf).__init(e.readInt32(e.position())+e.position(),e)}endianness(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):e0.Little}fields(e,r){const C=this.bb.__offset(this.bb_pos,6);return C?(r||new Wu).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+C)+e*4),this.bb):null}fieldsLength(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.__vector_len(this.bb_pos+e):0}customMetadata(e,r){const C=this.bb.__offset(this.bb_pos,8);return C?(r||new hs).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+C)+e*4),this.bb):null}customMetadataLength(){const e=this.bb.__offset(this.bb_pos,8);return e?this.bb.__vector_len(this.bb_pos+e):0}features(e){const r=this.bb.__offset(this.bb_pos,10);return r?this.bb.readInt64(this.bb.__vector(this.bb_pos+r)+e*8):this.bb.createLong(0,0)}featuresLength(){const e=this.bb.__offset(this.bb_pos,10);return e?this.bb.__vector_len(this.bb_pos+e):0}static startSchema(e){e.startObject(4)}static addEndianness(e,r){e.addFieldInt16(0,r,e0.Little)}static addFields(e,r){e.addFieldOffset(1,r,0)}static createFieldsVector(e,r){e.startVector(4,r.length,4);for(let C=r.length-1;C>=0;C--)e.addOffset(r[C]);return e.endVector()}static startFieldsVector(e,r){e.startVector(4,r,4)}static addCustomMetadata(e,r){e.addFieldOffset(2,r,0)}static createCustomMetadataVector(e,r){e.startVector(4,r.length,4);for(let C=r.length-1;C>=0;C--)e.addOffset(r[C]);return e.endVector()}static startCustomMetadataVector(e,r){e.startVector(4,r,4)}static addFeatures(e,r){e.addFieldOffset(3,r,0)}static createFeaturesVector(e,r){e.startVector(8,r.length,8);for(let C=r.length-1;C>=0;C--)e.addInt64(r[C]);return e.endVector()}static startFeaturesVector(e,r){e.startVector(8,r,8)}static endSchema(e){return e.endObject()}static finishSchemaBuffer(e,r){e.finish(r)}static finishSizePrefixedSchemaBuffer(e,r){e.finish(r,void 0,!0)}static createSchema(e,r,C,D,k){return Gf.startSchema(e),Gf.addEndianness(e,r),Gf.addFields(e,C),Gf.addCustomMetadata(e,D),Gf.addFeatures(e,k),Gf.endSchema(e)}};class hu{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsFooter(e,r){return(r||new hu).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsFooter(e,r){return e.setPosition(e.position()+Wa),(r||new hu).__init(e.readInt32(e.position())+e.position(),e)}version(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):Qp.V1}schema(e){const r=this.bb.__offset(this.bb_pos,6);return r?(e||new af).__init(this.bb.__indirect(this.bb_pos+r),this.bb):null}dictionaries(e,r){const C=this.bb.__offset(this.bb_pos,8);return C?(r||new Wb).__init(this.bb.__vector(this.bb_pos+C)+e*24,this.bb):null}dictionariesLength(){const e=this.bb.__offset(this.bb_pos,8);return e?this.bb.__vector_len(this.bb_pos+e):0}recordBatches(e,r){const C=this.bb.__offset(this.bb_pos,10);return C?(r||new Wb).__init(this.bb.__vector(this.bb_pos+C)+e*24,this.bb):null}recordBatchesLength(){const e=this.bb.__offset(this.bb_pos,10);return e?this.bb.__vector_len(this.bb_pos+e):0}customMetadata(e,r){const C=this.bb.__offset(this.bb_pos,12);return C?(r||new hs).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+C)+e*4),this.bb):null}customMetadataLength(){const e=this.bb.__offset(this.bb_pos,12);return e?this.bb.__vector_len(this.bb_pos+e):0}static startFooter(e){e.startObject(5)}static addVersion(e,r){e.addFieldInt16(0,r,Qp.V1)}static addSchema(e,r){e.addFieldOffset(1,r,0)}static addDictionaries(e,r){e.addFieldOffset(2,r,0)}static startDictionariesVector(e,r){e.startVector(24,r,8)}static addRecordBatches(e,r){e.addFieldOffset(3,r,0)}static startRecordBatchesVector(e,r){e.startVector(24,r,8)}static addCustomMetadata(e,r){e.addFieldOffset(4,r,0)}static createCustomMetadataVector(e,r){e.startVector(4,r.length,4);for(let C=r.length-1;C>=0;C--)e.addOffset(r[C]);return e.endVector()}static startCustomMetadataVector(e,r){e.startVector(4,r,4)}static endFooter(e){return e.endObject()}static finishFooterBuffer(e,r){e.finish(r)}static finishSizePrefixedFooterBuffer(e,r){e.finish(r,void 0,!0)}}class Ea{constructor(e=[],r,C){this.fields=e||[],this.metadata=r||new Map,C||(C=Zb(e)),this.dictionaries=C}get[Symbol.toStringTag](){return"Schema"}get names(){return this.fields.map(e=>e.name)}toString(){return`Schema<{ ${this.fields.map((e,r)=>`${r}: ${e}`).join(", ")} }>`}select(e){const r=new Set(e),C=this.fields.filter(D=>r.has(D.name));return new Ea(C,this.metadata)}selectAt(e){const r=e.map(C=>this.fields[C]).filter(Boolean);return new Ea(r,this.metadata)}assign(...e){const r=e[0]instanceof Ea?e[0]:Array.isArray(e[0])?new Ea(e[0]):new Ea(e),C=[...this.fields],D=ov(ov(new Map,this.metadata),r.metadata),k=r.fields.filter(t=>{const d=C.findIndex(y=>y.name===t.name);return~d?(C[d]=t.clone({metadata:ov(ov(new Map,C[d].metadata),t.metadata)}))&&!1:!0}),m=Zb(k,new Map);return new Ea([...C,...k],D,new Map([...this.dictionaries,...m]))}}Ea.prototype.fields=null;Ea.prototype.metadata=null;Ea.prototype.dictionaries=null;class ao{constructor(e,r,C=!1,D){this.name=e,this.type=r,this.nullable=C,this.metadata=D||new Map}static new(...e){let[r,C,D,k]=e;return e[0]&&typeof e[0]=="object"&&({name:r}=e[0],C===void 0&&(C=e[0].type),D===void 0&&(D=e[0].nullable),k===void 0&&(k=e[0].metadata)),new ao(`${r}`,C,D,k)}get typeId(){return this.type.typeId}get[Symbol.toStringTag](){return"Field"}toString(){return`${this.name}: ${this.type}`}clone(...e){let[r,C,D,k]=e;return!e[0]||typeof e[0]!="object"?[r=this.name,C=this.type,D=this.nullable,k=this.metadata]=e:{name:r=this.name,type:C=this.type,nullable:D=this.nullable,metadata:k=this.metadata}=e[0],ao.new(r,C,D,k)}}ao.prototype.type=null;ao.prototype.name=null;ao.prototype.nullable=null;ao.prototype.metadata=null;function ov(n,e){return new Map([...n||new Map,...e||new Map])}function Zb(n,e=new Map){for(let r=-1,C=n.length;++r0&&Zb(k.children,e)}return e}var i5=Qf,QL=oM,eI=Jp;class Pm{constructor(e,r=gu.V4,C,D){this.schema=e,this.version=r,C&&(this._recordBatches=C),D&&(this._dictionaryBatches=D)}static decode(e){e=new eI(_a(e));const r=hu.getRootAsFooter(e),C=Ea.decode(r.schema());return new tI(C,r)}static encode(e){const r=new QL,C=Ea.encode(r,e.schema);hu.startRecordBatchesVector(r,e.numRecordBatches);for(const m of[...e.recordBatches()].slice().reverse())Wh.encode(r,m);const D=r.endVector();hu.startDictionariesVector(r,e.numDictionaries);for(const m of[...e.dictionaryBatches()].slice().reverse())Wh.encode(r,m);const k=r.endVector();return hu.startFooter(r),hu.addSchema(r,C),hu.addVersion(r,gu.V4),hu.addRecordBatches(r,D),hu.addDictionaries(r,k),hu.finishFooterBuffer(r,hu.endFooter(r)),r.asUint8Array()}get numRecordBatches(){return this._recordBatches.length}get numDictionaries(){return this._dictionaryBatches.length}*recordBatches(){for(let e,r=-1,C=this.numRecordBatches;++r=0&&e=0&&e=0&&e=0&&ethis._closedPromiseResolve=e)}get closed(){return this._closedPromise}cancel(e){return yi(this,void 0,void 0,function*(){yield this.return(e)})}write(e){this._ensureOpen()&&(this.resolvers.length<=0?this._values.push(e):this.resolvers.shift().resolve({done:!1,value:e}))}abort(e){this._closedPromiseResolve&&(this.resolvers.length<=0?this._error={error:e}:this.resolvers.shift().reject({done:!0,value:e}))}close(){if(this._closedPromiseResolve){const{resolvers:e}=this;for(;e.length>0;)e.shift().resolve(So);this._closedPromiseResolve(),this._closedPromiseResolve=void 0}}[Symbol.asyncIterator](){return this}toDOMStream(e){return Zu.toDOMStream(this._closedPromiseResolve||this._error?this:this._values,e)}toNodeStream(e){return Zu.toNodeStream(this._closedPromiseResolve||this._error?this:this._values,e)}throw(e){return yi(this,void 0,void 0,function*(){return yield this.abort(e),So})}return(e){return yi(this,void 0,void 0,function*(){return yield this.close(),So})}read(e){return yi(this,void 0,void 0,function*(){return(yield this.next(e,"read")).value})}peek(e){return yi(this,void 0,void 0,function*(){return(yield this.next(e,"peek")).value})}next(...e){return this._values.length>0?Promise.resolve({done:!1,value:this._values.shift()}):this._error?Promise.reject({done:!0,value:this._error.error}):this._closedPromiseResolve?new Promise((r,C)=>{this.resolvers.push({resolve:r,reject:C})}):Promise.resolve(So)}_ensureOpen(){if(this._closedPromiseResolve)return!0;throw new Error("AsyncQueue is closed")}}class bv extends nI{write(e){if((e=_a(e)).byteLength>0)return super.write(e)}toString(e=!1){return e?jb(this.toUint8Array(!0)):this.toUint8Array(!1).then(jb)}toUint8Array(e=!1){return e?_f(this._values)[0]:(()=>yi(this,void 0,void 0,function*(){var r,C;const D=[];let k=0;try{for(var m=Nd(this),t;t=yield m.next(),!t.done;){const d=t.value;D.push(d),k+=d.byteLength}}catch(d){r={error:d}}finally{try{t&&!t.done&&(C=m.return)&&(yield C.call(m))}finally{if(r)throw r.error}}return _f(D,k)[0]}))()}}class Qv{constructor(e){e&&(this.source=new rI(Zu.fromIterable(e)))}[Symbol.iterator](){return this}next(e){return this.source.next(e)}throw(e){return this.source.throw(e)}return(e){return this.source.return(e)}peek(e){return this.source.peek(e)}read(e){return this.source.read(e)}}class n0{constructor(e){e instanceof n0?this.source=e.source:e instanceof bv?this.source=new xd(Zu.fromAsyncIterable(e)):H4(e)?this.source=new xd(Zu.fromNodeStream(e)):m2(e)?this.source=new xd(Zu.fromDOMStream(e)):U4(e)?this.source=new xd(Zu.fromDOMStream(e.body)):Zm(e)?this.source=new xd(Zu.fromIterable(e)):Uh(e)?this.source=new xd(Zu.fromAsyncIterable(e)):g0(e)&&(this.source=new xd(Zu.fromAsyncIterable(e)))}[Symbol.asyncIterator](){return this}next(e){return this.source.next(e)}throw(e){return this.source.throw(e)}return(e){return this.source.return(e)}get closed(){return this.source.closed}cancel(e){return this.source.cancel(e)}peek(e){return this.source.peek(e)}read(e){return this.source.read(e)}}class rI{constructor(e){this.source=e}cancel(e){this.return(e)}peek(e){return this.next(e,"peek").value}read(e){return this.next(e,"read").value}next(e,r="read"){return this.source.next({cmd:r,size:e})}throw(e){return Object.create(this.source.throw&&this.source.throw(e)||So)}return(e){return Object.create(this.source.return&&this.source.return(e)||So)}}class xd{constructor(e){this.source=e,this._closedPromise=new Promise(r=>this._closedPromiseResolve=r)}cancel(e){return yi(this,void 0,void 0,function*(){yield this.return(e)})}get closed(){return this._closedPromise}read(e){return yi(this,void 0,void 0,function*(){return(yield this.next(e,"read")).value})}peek(e){return yi(this,void 0,void 0,function*(){return(yield this.next(e,"peek")).value})}next(e,r="read"){return yi(this,void 0,void 0,function*(){return yield this.source.next({cmd:r,size:e})})}throw(e){return yi(this,void 0,void 0,function*(){const r=this.source.throw&&(yield this.source.throw(e))||So;return this._closedPromiseResolve&&this._closedPromiseResolve(),this._closedPromiseResolve=void 0,Object.create(r)})}return(e){return yi(this,void 0,void 0,function*(){const r=this.source.return&&(yield this.source.return(e))||So;return this._closedPromiseResolve&&this._closedPromiseResolve(),this._closedPromiseResolve=void 0,Object.create(r)})}}class o5 extends Qv{constructor(e,r){super(),this.position=0,this.buffer=_a(e),this.size=typeof r>"u"?this.buffer.byteLength:r}readInt32(e){const{buffer:r,byteOffset:C}=this.readAt(e,4);return new DataView(r,C).getInt32(0,!0)}seek(e){return this.position=Math.min(e,this.size),eyi(this,void 0,void 0,function*(){this.size=(yield e.stat()).size,delete this._pending}))()}readInt32(e){return yi(this,void 0,void 0,function*(){const{buffer:r,byteOffset:C}=yield this.readAt(e,4);return new DataView(r,C).getInt32(0,!0)})}seek(e){return yi(this,void 0,void 0,function*(){return this._pending&&(yield this._pending),this.position=Math.min(e,this.size),e>>16,this.buffer[1]&65535,this.buffer[0]>>>16,this.buffer[0]&65535]),C=new Uint32Array([e.buffer[1]>>>16,e.buffer[1]&65535,e.buffer[0]>>>16,e.buffer[0]&65535]);let D=r[3]*C[3];this.buffer[0]=D&65535;let k=D>>>16;return D=r[2]*C[3],k+=D,D=r[3]*C[2]>>>0,k+=D,this.buffer[0]+=k<<16,this.buffer[1]=k>>>0>>16,this.buffer[1]+=r[1]*C[3]+r[2]*C[2]+r[3]*C[1],this.buffer[1]+=r[0]*C[3]+r[1]*C[2]+r[2]*C[1]+r[3]*C[0]<<16,this}_plus(e){const r=this.buffer[0]+e.buffer[0]>>>0;this.buffer[1]+=e.buffer[1],r>>0&&++this.buffer[1],this.buffer[0]=r}lessThan(e){return this.buffer[1]>>0,r[2]=this.buffer[2]+e.buffer[2]>>>0,r[1]=this.buffer[1]+e.buffer[1]>>>0,r[0]=this.buffer[0]+e.buffer[0]>>>0,r[0]>>0&&++r[1],r[1]>>0&&++r[2],r[2]>>0&&++r[3],this.buffer[3]=r[3],this.buffer[2]=r[2],this.buffer[1]=r[1],this.buffer[0]=r[0],this}hex(){return`${zp(this.buffer[3])} ${zp(this.buffer[2])} ${zp(this.buffer[1])} ${zp(this.buffer[0])}`}static multiply(e,r){return new of(new Uint32Array(e.buffer)).times(r)}static add(e,r){return new of(new Uint32Array(e.buffer)).plus(r)}static from(e,r=new Uint32Array(4)){return of.fromString(typeof e=="string"?e:e.toString(),r)}static fromNumber(e,r=new Uint32Array(4)){return of.fromString(e.toString(),r)}static fromString(e,r=new Uint32Array(4)){const C=e.startsWith("-"),D=e.length,k=new of(r);for(let m=C?1:0;m0&&this.readData(e,C)||new Uint8Array(0)}readOffsets(e,r){return this.readData(e,r)}readTypeIds(e,r){return this.readData(e,r)}readData(e,{length:r,offset:C}=this.nextBufferRange()){return this.bytes.subarray(C,C+r)}readDictionary(e){return this.dictionaries.get(e.id)}}class aI extends uM{constructor(e,r,C,D){super(new Uint8Array(0),r,C,D),this.sources=e}readNullBitmap(e,r,{offset:C}=this.nextBufferRange()){return r<=0?new Uint8Array(0):qv(this.sources[C])}readOffsets(e,{offset:r}=this.nextBufferRange()){return qa(Uint8Array,qa(Int32Array,this.sources[r]))}readTypeIds(e,{offset:r}=this.nextBufferRange()){return qa(Uint8Array,qa(e.ArrayType,this.sources[r]))}readData(e,{offset:r}=this.nextBufferRange()){const{sources:C}=this;return _i.isTimestamp(e)||(_i.isInt(e)||_i.isTime(e))&&e.bitWidth===64||_i.isDate(e)&&e.unit===rh.MILLISECOND?qa(Uint8Array,jl.convertArray(C[r])):_i.isDecimal(e)?qa(Uint8Array,of.convertArray(C[r])):_i.isBinary(e)||_i.isFixedSizeBinary(e)?oI(C[r]):_i.isBool(e)?qv(C[r]):_i.isUtf8(e)?p2(C[r].join("")):qa(Uint8Array,qa(e.ArrayType,C[r].map(D=>+D)))}}function oI(n){const e=n.join(""),r=new Uint8Array(e.length/2);for(let C=0;C>1]=Number.parseInt(e.slice(C,C+2),16);return r}class Ai extends aa{compareSchemas(e,r){return e===r||r instanceof e.constructor&&this.compareManyFields(e.fields,r.fields)}compareManyFields(e,r){return e===r||Array.isArray(e)&&Array.isArray(r)&&e.length===r.length&&e.every((C,D)=>this.compareFields(C,r[D]))}compareFields(e,r){return e===r||r instanceof e.constructor&&e.name===r.name&&e.nullable===r.nullable&&this.visit(e.type,r.type)}}function Kl(n,e){return e instanceof n.constructor}function Xm(n,e){return n===e||Kl(n,e)}function fh(n,e){return n===e||Kl(n,e)&&n.bitWidth===e.bitWidth&&n.isSigned===e.isSigned}function Gy(n,e){return n===e||Kl(n,e)&&n.precision===e.precision}function sI(n,e){return n===e||Kl(n,e)&&n.byteWidth===e.byteWidth}function I2(n,e){return n===e||Kl(n,e)&&n.unit===e.unit}function Km(n,e){return n===e||Kl(n,e)&&n.unit===e.unit&&n.timezone===e.timezone}function Jm(n,e){return n===e||Kl(n,e)&&n.unit===e.unit&&n.bitWidth===e.bitWidth}function lI(n,e){return n===e||Kl(n,e)&&n.children.length===e.children.length&&$h.compareManyFields(n.children,e.children)}function uI(n,e){return n===e||Kl(n,e)&&n.children.length===e.children.length&&$h.compareManyFields(n.children,e.children)}function R2(n,e){return n===e||Kl(n,e)&&n.mode===e.mode&&n.typeIds.every((r,C)=>r===e.typeIds[C])&&$h.compareManyFields(n.children,e.children)}function cI(n,e){return n===e||Kl(n,e)&&n.id===e.id&&n.isOrdered===e.isOrdered&&$h.visit(n.indices,e.indices)&&$h.visit(n.dictionary,e.dictionary)}function P2(n,e){return n===e||Kl(n,e)&&n.unit===e.unit}function fI(n,e){return n===e||Kl(n,e)&&n.listSize===e.listSize&&n.children.length===e.children.length&&$h.compareManyFields(n.children,e.children)}function hI(n,e){return n===e||Kl(n,e)&&n.keysSorted===e.keysSorted&&n.children.length===e.children.length&&$h.compareManyFields(n.children,e.children)}Ai.prototype.visitNull=Xm;Ai.prototype.visitBool=Xm;Ai.prototype.visitInt=fh;Ai.prototype.visitInt8=fh;Ai.prototype.visitInt16=fh;Ai.prototype.visitInt32=fh;Ai.prototype.visitInt64=fh;Ai.prototype.visitUint8=fh;Ai.prototype.visitUint16=fh;Ai.prototype.visitUint32=fh;Ai.prototype.visitUint64=fh;Ai.prototype.visitFloat=Gy;Ai.prototype.visitFloat16=Gy;Ai.prototype.visitFloat32=Gy;Ai.prototype.visitFloat64=Gy;Ai.prototype.visitUtf8=Xm;Ai.prototype.visitBinary=Xm;Ai.prototype.visitFixedSizeBinary=sI;Ai.prototype.visitDate=I2;Ai.prototype.visitDateDay=I2;Ai.prototype.visitDateMillisecond=I2;Ai.prototype.visitTimestamp=Km;Ai.prototype.visitTimestampSecond=Km;Ai.prototype.visitTimestampMillisecond=Km;Ai.prototype.visitTimestampMicrosecond=Km;Ai.prototype.visitTimestampNanosecond=Km;Ai.prototype.visitTime=Jm;Ai.prototype.visitTimeSecond=Jm;Ai.prototype.visitTimeMillisecond=Jm;Ai.prototype.visitTimeMicrosecond=Jm;Ai.prototype.visitTimeNanosecond=Jm;Ai.prototype.visitDecimal=Xm;Ai.prototype.visitList=lI;Ai.prototype.visitStruct=uI;Ai.prototype.visitUnion=R2;Ai.prototype.visitDenseUnion=R2;Ai.prototype.visitSparseUnion=R2;Ai.prototype.visitDictionary=cI;Ai.prototype.visitInterval=P2;Ai.prototype.visitIntervalDayTime=P2;Ai.prototype.visitIntervalYearMonth=P2;Ai.prototype.visitFixedSizeList=fI;Ai.prototype.visitMap=hI;const $h=new Ai;function Xb(n,e){return $h.compareSchemas(n,e)}function hb(n,e){return dI(n,e.map(r=>r.data.concat()))}function dI(n,e){const r=[...n.fields],C=[],D={numBatches:e.reduce((M,v)=>Math.max(M,v.length),0)};let k=0,m=0,t=-1;const d=e.length;let y,i=[];for(;D.numBatches-- >0;){for(m=Number.POSITIVE_INFINITY,t=-1;++t0&&(C[k++]=ia({type:new xl(r),length:m,nullCount:0,children:i.slice()})))}return[n=n.assign(r),C.map(M=>new Wl(n,M))]}function pI(n,e,r,C,D){var k;const m=(e+63&-64)>>3;for(let t=-1,d=C.length;++t=e)i===e?r[t]=y:(r[t]=y.slice(0,e),D.numBatches=Math.max(D.numBatches,C[t].unshift(y.slice(e,i-e))));else{const M=n[t];n[t]=M.clone({nullable:!0}),r[t]=(k=y==null?void 0:y._changeLengthAndBackfillNullBitmap(e))!==null&&k!==void 0?k:ia({type:M.type,length:e,nullCount:e,nullBitmap:new Uint8Array(m)})}}return r}var cM;class vl{constructor(...e){var r,C;if(e.length===0)return this.batches=[],this.schema=new Ea([]),this._offsets=[0],this;let D,k;e[0]instanceof Ea&&(D=e.shift()),e[e.length-1]instanceof Uint32Array&&(k=e.pop());const m=d=>{if(d){if(d instanceof Wl)return[d];if(d instanceof vl)return d.batches;if(d instanceof Qa){if(d.type instanceof xl)return[new Wl(new Ea(d.type.children),d)]}else{if(Array.isArray(d))return d.flatMap(y=>m(y));if(typeof d[Symbol.iterator]=="function")return[...d].flatMap(y=>m(y));if(typeof d=="object"){const y=Object.keys(d),i=y.map(h=>new Ta([d[h]])),M=new Ea(y.map((h,l)=>new ao(String(h),i[l].type))),[,v]=hb(M,i);return v.length===0?[new Wl(d)]:v}}}return[]},t=e.flatMap(d=>m(d));if(D=(C=D??((r=t[0])===null||r===void 0?void 0:r.schema))!==null&&C!==void 0?C:new Ea([]),!(D instanceof Ea))throw new TypeError("Table constructor expects a [Schema, RecordBatch[]] pair.");for(const d of t){if(!(d instanceof Wl))throw new TypeError("Table constructor expects a [Schema, RecordBatch[]] pair.");if(!Xb(D,d.schema))throw new TypeError("Table and inner RecordBatch schemas must be equivalent.")}this.schema=D,this.batches=t,this._offsets=k??Zk(this.data)}get data(){return this.batches.map(({data:e})=>e)}get numCols(){return this.schema.fields.length}get numRows(){return this.data.reduce((e,r)=>e+r.length,0)}get nullCount(){return this._nullCount===-1&&(this._nullCount=Yk(this.data)),this._nullCount}isValid(e){return!1}get(e){return null}set(e,r){}indexOf(e,r){return-1}getByteLength(e){return 0}[Symbol.iterator](){return this.batches.length>0?C2.visit(new Ta(this.data)):new Array(0)[Symbol.iterator]()}toArray(){return[...this]}toString(){return`[ + */var u2=Q7,Fc=typeof Symbol=="function"&&Symbol.for,qm=Fc?Symbol.for("react.element"):60103,e9=Fc?Symbol.for("react.portal"):60106,t9=Fc?Symbol.for("react.fragment"):60107,n9=Fc?Symbol.for("react.strict_mode"):60108,r9=Fc?Symbol.for("react.profiler"):60114,i9=Fc?Symbol.for("react.provider"):60109,a9=Fc?Symbol.for("react.context"):60110,o9=Fc?Symbol.for("react.forward_ref"):60112,s9=Fc?Symbol.for("react.suspense"):60113,l9=Fc?Symbol.for("react.memo"):60115,u9=Fc?Symbol.for("react.lazy"):60116,$3=typeof Symbol=="function"&&Symbol.iterator;function Wm(n){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+n,r=1;rRv.length&&Rv.push(n)}function Bb(n,e,r,C){var D=typeof n;(D==="undefined"||D==="boolean")&&(n=null);var T=!1;if(n===null)T=!0;else switch(D){case"string":case"number":T=!0;break;case"object":switch(n.$$typeof){case qm:case e9:T=!0}}if(T)return r(C,n,e===""?"."+sb(n,0):e),1;if(T=0,e=e===""?".":e+":",Array.isArray(n))for(var p=0;p=n.length&&(n=void 0),{value:n&&n[C++],done:!n}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function zi(n){return this instanceof zi?(this.v=n,this):new zi(n)}function mh(n,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var C=r.apply(n,e||[]),D,T=[];return D=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),t("next"),t("throw"),t("return",p),D[Symbol.asyncIterator]=function(){return this},D;function p(f){return function(l){return Promise.resolve(l).then(f,M)}}function t(f,l){C[f]&&(D[f]=function(a){return new Promise(function(u,o){T.push([f,a,u,o])>1||d(f,a)})},l&&(D[f]=l(D[f])))}function d(f,l){try{g(C[f](l))}catch(a){v(T[0][3],a)}}function g(f){f.value instanceof zi?Promise.resolve(f.value.v).then(i,M):v(T[0][2],f)}function i(f){d("next",f)}function M(f){d("throw",f)}function v(f,l){f(l),T.shift(),T.length&&d(T[0][0],T[0][1])}}function mv(n){var e,r;return e={},C("next"),C("throw",function(D){throw D}),C("return"),e[Symbol.iterator]=function(){return this},e;function C(D,T){e[D]=n[D]?function(p){return(r=!r)?{value:zi(n[D](p)),done:!1}:T?T(p):p}:T}}function Nd(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=n[Symbol.asyncIterator],r;return e?e.call(n):(n=typeof Z3=="function"?Z3(n):n[Symbol.iterator](),r={},C("next"),C("throw"),C("return"),r[Symbol.asyncIterator]=function(){return this},r);function C(T){r[T]=n[T]&&function(p){return new Promise(function(t,d){p=n[T](p),D(t,d,p.done,p.value)})}}function D(T,p,t,d){Promise.resolve(d).then(function(g){T({value:g,done:t})},p)}}const v9=new TextDecoder("utf-8"),jb=n=>v9.decode(n),y9=new TextEncoder,p2=n=>y9.encode(n),[NH,b9]=(()=>{const n=()=>{throw new Error("BigInt is not available in this environment")};function e(){throw n()}return e.asIntN=()=>{throw n()},e.asUintN=()=>{throw n()},typeof BigInt<"u"?[BigInt,!0]:[e,!1]})(),[Ym,VH]=(()=>{const n=()=>{throw new Error("BigInt64Array is not available in this environment")};class e{static get BYTES_PER_ELEMENT(){return 8}static of(){throw n()}static from(){throw n()}constructor(){throw n()}}return typeof BigInt64Array<"u"?[BigInt64Array,!0]:[e,!1]})(),[$m,jH]=(()=>{const n=()=>{throw new Error("BigUint64Array is not available in this environment")};class e{static get BYTES_PER_ELEMENT(){return 8}static of(){throw n()}static from(){throw n()}constructor(){throw n()}}return typeof BigUint64Array<"u"?[BigUint64Array,!0]:[e,!1]})(),x9=n=>typeof n=="number",V4=n=>typeof n=="boolean",us=n=>typeof n=="function",Zl=n=>n!=null&&Object(n)===n,Uf=n=>Zl(n)&&us(n.then),Zm=n=>Zl(n)&&us(n[Symbol.iterator]),g0=n=>Zl(n)&&us(n[Symbol.asyncIterator]),Ub=n=>Zl(n)&&Zl(n.schema),j4=n=>Zl(n)&&"done"in n&&"value"in n,U4=n=>Zl(n)&&us(n.stat)&&x9(n.fd),H4=n=>Zl(n)&&m2(n.body),Uy=n=>"_getDOMStream"in n&&"_getNodeStream"in n,_9=n=>Zl(n)&&us(n.abort)&&us(n.getWriter)&&!Uy(n),m2=n=>Zl(n)&&us(n.cancel)&&us(n.getReader)&&!Uy(n),w9=n=>Zl(n)&&us(n.end)&&us(n.write)&&V4(n.writable)&&!Uy(n),G4=n=>Zl(n)&&us(n.read)&&us(n.pipe)&&V4(n.readable)&&!Uy(n),T9=n=>Zl(n)&&us(n.clear)&&us(n.bytes)&&us(n.position)&&us(n.setPosition)&&us(n.capacity)&&us(n.getBufferIdentifier)&&us(n.createLong),g2=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:ArrayBuffer;function k9(n){const e=n[0]?[n[0]]:[];let r,C,D,T;for(let p,t,d=0,g=0,i=n.length;++di+M.byteLength,0);let D,T,p,t=0,d=-1;const g=Math.min(e||Number.POSITIVE_INFINITY,C);for(const i=r.length;++dqa(Int32Array,n),_a=n=>qa(Uint8Array,n),Hb=n=>(n.next(),n);function*M9(n,e){const r=function*(D){yield D},C=typeof e=="string"||ArrayBuffer.isView(e)||e instanceof ArrayBuffer||e instanceof g2?r(e):Zm(e)?e:r(e);return yield*Hb(function*(D){let T=null;do T=D.next(yield qa(n,T));while(!T.done)}(C[Symbol.iterator]())),new n}const A9=n=>M9(Uint8Array,n);function q4(n,e){return mh(this,arguments,function*(){if(Uf(e))return yield zi(yield zi(yield*mv(Nd(q4(n,yield zi(e))))));const C=function(p){return mh(this,arguments,function*(){yield yield zi(yield zi(p))})},D=function(p){return mh(this,arguments,function*(){yield zi(yield*mv(Nd(Hb(function*(t){let d=null;do d=t.next(yield d==null?void 0:d.value);while(!d.done)}(p[Symbol.iterator]())))))})},T=typeof e=="string"||ArrayBuffer.isView(e)||e instanceof ArrayBuffer||e instanceof g2?C(e):Zm(e)?D(e):g0(e)?e:C(e);return yield zi(yield*mv(Nd(Hb(function(p){return mh(this,arguments,function*(){let t=null;do t=yield zi(p.next(yield yield zi(qa(n,t))));while(!t.done)})}(T[Symbol.asyncIterator]()))))),yield zi(new n)})}const S9=n=>q4(Uint8Array,n);function v2(n,e,r){if(n!==0){r=r.slice(0,e+1);for(let C=-1;++C<=e;)r[C]+=n}return r}function C9(n,e){let r=0;const C=n.length;if(C!==e.length)return!1;if(C>0)do if(n[r]!==e[r])return!1;while(++r(n.next(),n);function*E9(n){let e,r=!1,C=[],D,T,p,t=0;function d(){return T==="peek"?xh(C,p)[0]:([D,C,t]=xh(C,p),D)}({cmd:T,size:p}=yield null);const g=A9(n)[Symbol.iterator]();try{do if({done:e,value:D}=Number.isNaN(p-t)?g.next():g.next(p-t),!e&&D.byteLength>0&&(C.push(D),t+=D.byteLength),e||p<=t)do({cmd:T,size:p}=yield d());while(p0&&(D.push(T),d+=T.byteLength),r||t<=d)do({cmd:p,size:t}=yield yield zi(g()));while(t0&&(D.push(_a(T)),d+=T.byteLength),r||t<=d)do({cmd:p,size:t}=yield yield zi(g()));while(t{})}get closed(){return this.reader?this.reader.closed.catch(()=>{}):Promise.resolve()}releaseLock(){this.reader&&this.reader.releaseLock(),this.reader=null}cancel(e){return yi(this,void 0,void 0,function*(){const{reader:r,source:C}=this;r&&(yield r.cancel(e).catch(()=>{})),C&&C.locked&&this.releaseLock()})}read(e){return yi(this,void 0,void 0,function*(){if(e===0)return{done:this.reader==null,value:new Uint8Array(0)};const r=yield this.reader.read();return!r.done&&(r.value=_a(r)),r})}}const lb=(n,e)=>{const r=D=>C([e,D]);let C;return[e,r,new Promise(D=>(C=D)&&n.once(e,r))]};function P9(n){return mh(this,arguments,function*(){const r=[];let C="error",D=!1,T=null,p,t,d=0,g=[],i;function M(){return p==="peek"?xh(g,t)[0]:([i,g,d]=xh(g,t),i)}if({cmd:p,size:t}=yield yield zi(null),n.isTTY)return yield yield zi(new Uint8Array(0)),yield zi(null);try{r[0]=lb(n,"end"),r[1]=lb(n,"error");do{if(r[2]=lb(n,"readable"),[C,T]=yield zi(Promise.race(r.map(f=>f[2]))),C==="error")break;if((D=C==="end")||(Number.isFinite(t-d)?(i=_a(n.read(t-d)),i.byteLength0&&(g.push(i),d+=i.byteLength)),D||t<=d)do({cmd:p,size:t}=yield yield zi(M()));while(t{for(const[o,s]of f)n.off(o,s);try{const o=n.destroy;o&&o.call(n,l),l=void 0}catch(o){l=o||l}finally{l!=null?u(l):a()}})}})}var gu;(function(n){n[n.V1=0]="V1",n[n.V2=1]="V2",n[n.V3=2]="V3",n[n.V4=3]="V4",n[n.V5=4]="V5"})(gu||(gu={}));var xu;(function(n){n[n.Sparse=0]="Sparse",n[n.Dense=1]="Dense"})(xu||(xu={}));var Yl;(function(n){n[n.HALF=0]="HALF",n[n.SINGLE=1]="SINGLE",n[n.DOUBLE=2]="DOUBLE"})(Yl||(Yl={}));var nf;(function(n){n[n.DAY=0]="DAY",n[n.MILLISECOND=1]="MILLISECOND"})(nf||(nf={}));var wa;(function(n){n[n.SECOND=0]="SECOND",n[n.MILLISECOND=1]="MILLISECOND",n[n.MICROSECOND=2]="MICROSECOND",n[n.NANOSECOND=3]="NANOSECOND"})(wa||(wa={}));var Hf;(function(n){n[n.YEAR_MONTH=0]="YEAR_MONTH",n[n.DAY_TIME=1]="DAY_TIME",n[n.MONTH_DAY_NANO=2]="MONTH_DAY_NANO"})(Hf||(Hf={}));var Ca;(function(n){n[n.NONE=0]="NONE",n[n.Schema=1]="Schema",n[n.DictionaryBatch=2]="DictionaryBatch",n[n.RecordBatch=3]="RecordBatch",n[n.Tensor=4]="Tensor",n[n.SparseTensor=5]="SparseTensor"})(Ca||(Ca={}));var Jn;(function(n){n[n.NONE=0]="NONE",n[n.Null=1]="Null",n[n.Int=2]="Int",n[n.Float=3]="Float",n[n.Binary=4]="Binary",n[n.Utf8=5]="Utf8",n[n.Bool=6]="Bool",n[n.Decimal=7]="Decimal",n[n.Date=8]="Date",n[n.Time=9]="Time",n[n.Timestamp=10]="Timestamp",n[n.Interval=11]="Interval",n[n.List=12]="List",n[n.Struct=13]="Struct",n[n.Union=14]="Union",n[n.FixedSizeBinary=15]="FixedSizeBinary",n[n.FixedSizeList=16]="FixedSizeList",n[n.Map=17]="Map",n[n.Dictionary=-1]="Dictionary",n[n.Int8=-2]="Int8",n[n.Int16=-3]="Int16",n[n.Int32=-4]="Int32",n[n.Int64=-5]="Int64",n[n.Uint8=-6]="Uint8",n[n.Uint16=-7]="Uint16",n[n.Uint32=-8]="Uint32",n[n.Uint64=-9]="Uint64",n[n.Float16=-10]="Float16",n[n.Float32=-11]="Float32",n[n.Float64=-12]="Float64",n[n.DateDay=-13]="DateDay",n[n.DateMillisecond=-14]="DateMillisecond",n[n.TimestampSecond=-15]="TimestampSecond",n[n.TimestampMillisecond=-16]="TimestampMillisecond",n[n.TimestampMicrosecond=-17]="TimestampMicrosecond",n[n.TimestampNanosecond=-18]="TimestampNanosecond",n[n.TimeSecond=-19]="TimeSecond",n[n.TimeMillisecond=-20]="TimeMillisecond",n[n.TimeMicrosecond=-21]="TimeMicrosecond",n[n.TimeNanosecond=-22]="TimeNanosecond",n[n.DenseUnion=-23]="DenseUnion",n[n.SparseUnion=-24]="SparseUnion",n[n.IntervalDayTime=-25]="IntervalDayTime",n[n.IntervalYearMonth=-26]="IntervalYearMonth"})(Jn||(Jn={}));var qh;(function(n){n[n.OFFSET=0]="OFFSET",n[n.DATA=1]="DATA",n[n.VALIDITY=2]="VALIDITY",n[n.TYPE=3]="TYPE"})(qh||(qh={}));const O9=void 0;function Cm(n){if(n===null)return"null";if(n===O9)return"undefined";switch(typeof n){case"number":return`${n}`;case"bigint":return`${n}`;case"string":return`"${n}"`}return typeof n[Symbol.toPrimitive]=="function"?n[Symbol.toPrimitive]("string"):ArrayBuffer.isView(n)?n instanceof Ym||n instanceof $m?`[${[...n].map(e=>Cm(e))}]`:`[${n}]`:ArrayBuffer.isView(n)?`[${n}]`:JSON.stringify(n,(e,r)=>typeof r=="bigint"?`${r}`:r)}const D9=Symbol.for("isArrowBigNum");function Bc(n,...e){return e.length===0?Object.setPrototypeOf(qa(this.TypedArray,n),this.constructor.prototype):Object.setPrototypeOf(new this.TypedArray(n,...e),this.constructor.prototype)}Bc.prototype[D9]=!0;Bc.prototype.toJSON=function(){return`"${Vd(this)}"`};Bc.prototype.valueOf=function(){return W4(this)};Bc.prototype.toString=function(){return Vd(this)};Bc.prototype[Symbol.toPrimitive]=function(n="default"){switch(n){case"number":return W4(this);case"string":return Vd(this);case"default":return Gb(this)}return Vd(this)};function Up(...n){return Bc.apply(this,n)}function Hp(...n){return Bc.apply(this,n)}function Em(...n){return Bc.apply(this,n)}Object.setPrototypeOf(Up.prototype,Object.create(Int32Array.prototype));Object.setPrototypeOf(Hp.prototype,Object.create(Uint32Array.prototype));Object.setPrototypeOf(Em.prototype,Object.create(Uint32Array.prototype));Object.assign(Up.prototype,Bc.prototype,{constructor:Up,signed:!0,TypedArray:Int32Array,BigIntArray:Ym});Object.assign(Hp.prototype,Bc.prototype,{constructor:Hp,signed:!1,TypedArray:Uint32Array,BigIntArray:$m});Object.assign(Em.prototype,Bc.prototype,{constructor:Em,signed:!0,TypedArray:Uint32Array,BigIntArray:$m});function W4(n){const{buffer:e,byteOffset:r,length:C,signed:D}=n,T=new $m(e,r,C),p=D&&T[T.length-1]&BigInt(1)<n.byteLength===8?new n.BigIntArray(n.buffer,n.byteOffset,1)[0]:ub(n),Vd=n=>n.byteLength===8?`${new n.BigIntArray(n.buffer,n.byteOffset,1)[0]}`:ub(n)):(Vd=ub,Gb=Vd);function ub(n){let e="";const r=new Uint32Array(2);let C=new Uint16Array(n.buffer,n.byteOffset,n.byteLength/2);const D=new Uint32Array((C=new Uint16Array(C).reverse()).buffer);let T=-1;const p=C.length-1;do{for(r[0]=C[T=0];T(n.children=null,n.ArrayType=Array,n[Symbol.toStringTag]="DataType"))(_i.prototype);let Gf=class extends _i{toString(){return"Null"}get typeId(){return Jn.Null}};$4=Symbol.toStringTag;Gf[$4]=(n=>n[Symbol.toStringTag]="Null")(Gf.prototype);class qf extends _i{constructor(e,r){super(),this.isSigned=e,this.bitWidth=r}get typeId(){return Jn.Int}get ArrayType(){switch(this.bitWidth){case 8:return this.isSigned?Int8Array:Uint8Array;case 16:return this.isSigned?Int16Array:Uint16Array;case 32:return this.isSigned?Int32Array:Uint32Array;case 64:return this.isSigned?Ym:$m}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`${this.isSigned?"I":"Ui"}nt${this.bitWidth}`}}Z4=Symbol.toStringTag;qf[Z4]=(n=>(n.isSigned=null,n.bitWidth=null,n[Symbol.toStringTag]="Int"))(qf.prototype);class Lm extends qf{constructor(){super(!0,32)}get ArrayType(){return Int32Array}}Object.defineProperty(Lm.prototype,"ArrayType",{value:Int32Array});class Im extends _i{constructor(e){super(),this.precision=e}get typeId(){return Jn.Float}get ArrayType(){switch(this.precision){case Yl.HALF:return Uint16Array;case Yl.SINGLE:return Float32Array;case Yl.DOUBLE:return Float64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`Float${this.precision<<5||16}`}}X4=Symbol.toStringTag;Im[X4]=(n=>(n.precision=null,n[Symbol.toStringTag]="Float"))(Im.prototype);let Pv=class extends _i{constructor(){super()}get typeId(){return Jn.Binary}toString(){return"Binary"}};K4=Symbol.toStringTag;Pv[K4]=(n=>(n.ArrayType=Uint8Array,n[Symbol.toStringTag]="Binary"))(Pv.prototype);let Ov=class extends _i{constructor(){super()}get typeId(){return Jn.Utf8}toString(){return"Utf8"}};J4=Symbol.toStringTag;Ov[J4]=(n=>(n.ArrayType=Uint8Array,n[Symbol.toStringTag]="Utf8"))(Ov.prototype);let Dv=class extends _i{constructor(){super()}get typeId(){return Jn.Bool}toString(){return"Bool"}};Q4=Symbol.toStringTag;Dv[Q4]=(n=>(n.ArrayType=Uint8Array,n[Symbol.toStringTag]="Bool"))(Dv.prototype);let zv=class extends _i{constructor(e,r,C=128){super(),this.scale=e,this.precision=r,this.bitWidth=C}get typeId(){return Jn.Decimal}toString(){return`Decimal[${this.precision}e${this.scale>0?"+":""}${this.scale}]`}};ek=Symbol.toStringTag;zv[ek]=(n=>(n.scale=null,n.precision=null,n.ArrayType=Uint32Array,n[Symbol.toStringTag]="Decimal"))(zv.prototype);class Fv extends _i{constructor(e){super(),this.unit=e}get typeId(){return Jn.Date}toString(){return`Date${(this.unit+1)*32}<${nf[this.unit]}>`}}tk=Symbol.toStringTag;Fv[tk]=(n=>(n.unit=null,n.ArrayType=Int32Array,n[Symbol.toStringTag]="Date"))(Fv.prototype);class Rm extends _i{constructor(e,r){super(),this.unit=e,this.bitWidth=r}get typeId(){return Jn.Time}toString(){return`Time${this.bitWidth}<${wa[this.unit]}>`}get ArrayType(){switch(this.bitWidth){case 32:return Int32Array;case 64:return Ym}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}}nk=Symbol.toStringTag;Rm[nk]=(n=>(n.unit=null,n.bitWidth=null,n[Symbol.toStringTag]="Time"))(Rm.prototype);class Bv extends _i{constructor(e,r){super(),this.unit=e,this.timezone=r}get typeId(){return Jn.Timestamp}toString(){return`Timestamp<${wa[this.unit]}${this.timezone?`, ${this.timezone}`:""}>`}}rk=Symbol.toStringTag;Bv[rk]=(n=>(n.unit=null,n.timezone=null,n.ArrayType=Int32Array,n[Symbol.toStringTag]="Timestamp"))(Bv.prototype);class Nv extends _i{constructor(e){super(),this.unit=e}get typeId(){return Jn.Interval}toString(){return`Interval<${Hf[this.unit]}>`}}ik=Symbol.toStringTag;Nv[ik]=(n=>(n.unit=null,n.ArrayType=Int32Array,n[Symbol.toStringTag]="Interval"))(Nv.prototype);let Vv=class extends _i{constructor(e){super(),this.children=[e]}get typeId(){return Jn.List}toString(){return`List<${this.valueType}>`}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}};ak=Symbol.toStringTag;Vv[ak]=(n=>(n.children=null,n[Symbol.toStringTag]="List"))(Vv.prototype);class bl extends _i{constructor(e){super(),this.children=e}get typeId(){return Jn.Struct}toString(){return`Struct<{${this.children.map(e=>`${e.name}:${e.type}`).join(", ")}}>`}}ok=Symbol.toStringTag;bl[ok]=(n=>(n.children=null,n[Symbol.toStringTag]="Struct"))(bl.prototype);class jv extends _i{constructor(e,r,C){super(),this.mode=e,this.children=C,this.typeIds=r=Int32Array.from(r),this.typeIdToChildIndex=r.reduce((D,T,p)=>(D[T]=p)&&D||D,Object.create(null))}get typeId(){return Jn.Union}toString(){return`${this[Symbol.toStringTag]}<${this.children.map(e=>`${e.type}`).join(" | ")}>`}}sk=Symbol.toStringTag;jv[sk]=(n=>(n.mode=null,n.typeIds=null,n.children=null,n.typeIdToChildIndex=null,n.ArrayType=Int8Array,n[Symbol.toStringTag]="Union"))(jv.prototype);let Uv=class extends _i{constructor(e){super(),this.byteWidth=e}get typeId(){return Jn.FixedSizeBinary}toString(){return`FixedSizeBinary[${this.byteWidth}]`}};lk=Symbol.toStringTag;Uv[lk]=(n=>(n.byteWidth=null,n.ArrayType=Uint8Array,n[Symbol.toStringTag]="FixedSizeBinary"))(Uv.prototype);let Hv=class extends _i{constructor(e,r){super(),this.listSize=e,this.children=[r]}get typeId(){return Jn.FixedSizeList}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}toString(){return`FixedSizeList[${this.listSize}]<${this.valueType}>`}};uk=Symbol.toStringTag;Hv[uk]=(n=>(n.children=null,n.listSize=null,n[Symbol.toStringTag]="FixedSizeList"))(Hv.prototype);class Gv extends _i{constructor(e,r=!1){super(),this.children=[e],this.keysSorted=r}get typeId(){return Jn.Map}get keyType(){return this.children[0].type.children[0].type}get valueType(){return this.children[0].type.children[1].type}get childType(){return this.children[0].type}toString(){return`Map<{${this.children[0].type.children.map(e=>`${e.name}:${e.type}`).join(", ")}}>`}}ck=Symbol.toStringTag;Gv[ck]=(n=>(n.children=null,n.keysSorted=null,n[Symbol.toStringTag]="Map_"))(Gv.prototype);const z9=(n=>()=>++n)(-1);class Kp extends _i{constructor(e,r,C,D){super(),this.indices=r,this.dictionary=e,this.isOrdered=D||!1,this.id=C==null?z9():typeof C=="number"?C:C.low}get typeId(){return Jn.Dictionary}get children(){return this.dictionary.children}get valueType(){return this.dictionary}get ArrayType(){return this.dictionary.ArrayType}toString(){return`Dictionary<${this.indices}, ${this.dictionary}>`}}hk=Symbol.toStringTag;Kp[hk]=(n=>(n.id=null,n.indices=null,n.isOrdered=null,n.dictionary=null,n[Symbol.toStringTag]="Dictionary"))(Kp.prototype);function Wh(n){const e=n;switch(n.typeId){case Jn.Decimal:return n.bitWidth/32;case Jn.Timestamp:return 2;case Jn.Date:return 1+e.unit;case Jn.Interval:return 1+e.unit;case Jn.FixedSizeList:return e.listSize;case Jn.FixedSizeBinary:return e.byteWidth;default:return 1}}class aa{visitMany(e,...r){return e.map((C,D)=>this.visit(C,...r.map(T=>T[D])))}visit(...e){return this.getVisitFn(e[0],!1).apply(this,e)}getVisitFn(e,r=!0){return F9(this,e,r)}getVisitFnByTypeId(e,r=!0){return Rp(this,e,r)}visitNull(e,...r){return null}visitBool(e,...r){return null}visitInt(e,...r){return null}visitFloat(e,...r){return null}visitUtf8(e,...r){return null}visitBinary(e,...r){return null}visitFixedSizeBinary(e,...r){return null}visitDate(e,...r){return null}visitTimestamp(e,...r){return null}visitTime(e,...r){return null}visitDecimal(e,...r){return null}visitList(e,...r){return null}visitStruct(e,...r){return null}visitUnion(e,...r){return null}visitDictionary(e,...r){return null}visitInterval(e,...r){return null}visitFixedSizeList(e,...r){return null}visitMap(e,...r){return null}}function F9(n,e,r=!0){return typeof e=="number"?Rp(n,e,r):typeof e=="string"&&e in Jn?Rp(n,Jn[e],r):e&&e instanceof _i?Rp(n,K3(e),r):e!=null&&e.type&&e.type instanceof _i?Rp(n,K3(e.type),r):Rp(n,Jn.NONE,r)}function Rp(n,e,r=!0){let C=null;switch(e){case Jn.Null:C=n.visitNull;break;case Jn.Bool:C=n.visitBool;break;case Jn.Int:C=n.visitInt;break;case Jn.Int8:C=n.visitInt8||n.visitInt;break;case Jn.Int16:C=n.visitInt16||n.visitInt;break;case Jn.Int32:C=n.visitInt32||n.visitInt;break;case Jn.Int64:C=n.visitInt64||n.visitInt;break;case Jn.Uint8:C=n.visitUint8||n.visitInt;break;case Jn.Uint16:C=n.visitUint16||n.visitInt;break;case Jn.Uint32:C=n.visitUint32||n.visitInt;break;case Jn.Uint64:C=n.visitUint64||n.visitInt;break;case Jn.Float:C=n.visitFloat;break;case Jn.Float16:C=n.visitFloat16||n.visitFloat;break;case Jn.Float32:C=n.visitFloat32||n.visitFloat;break;case Jn.Float64:C=n.visitFloat64||n.visitFloat;break;case Jn.Utf8:C=n.visitUtf8;break;case Jn.Binary:C=n.visitBinary;break;case Jn.FixedSizeBinary:C=n.visitFixedSizeBinary;break;case Jn.Date:C=n.visitDate;break;case Jn.DateDay:C=n.visitDateDay||n.visitDate;break;case Jn.DateMillisecond:C=n.visitDateMillisecond||n.visitDate;break;case Jn.Timestamp:C=n.visitTimestamp;break;case Jn.TimestampSecond:C=n.visitTimestampSecond||n.visitTimestamp;break;case Jn.TimestampMillisecond:C=n.visitTimestampMillisecond||n.visitTimestamp;break;case Jn.TimestampMicrosecond:C=n.visitTimestampMicrosecond||n.visitTimestamp;break;case Jn.TimestampNanosecond:C=n.visitTimestampNanosecond||n.visitTimestamp;break;case Jn.Time:C=n.visitTime;break;case Jn.TimeSecond:C=n.visitTimeSecond||n.visitTime;break;case Jn.TimeMillisecond:C=n.visitTimeMillisecond||n.visitTime;break;case Jn.TimeMicrosecond:C=n.visitTimeMicrosecond||n.visitTime;break;case Jn.TimeNanosecond:C=n.visitTimeNanosecond||n.visitTime;break;case Jn.Decimal:C=n.visitDecimal;break;case Jn.List:C=n.visitList;break;case Jn.Struct:C=n.visitStruct;break;case Jn.Union:C=n.visitUnion;break;case Jn.DenseUnion:C=n.visitDenseUnion||n.visitUnion;break;case Jn.SparseUnion:C=n.visitSparseUnion||n.visitUnion;break;case Jn.Dictionary:C=n.visitDictionary;break;case Jn.Interval:C=n.visitInterval;break;case Jn.IntervalDayTime:C=n.visitIntervalDayTime||n.visitInterval;break;case Jn.IntervalYearMonth:C=n.visitIntervalYearMonth||n.visitInterval;break;case Jn.FixedSizeList:C=n.visitFixedSizeList;break;case Jn.Map:C=n.visitMap;break}if(typeof C=="function")return C;if(!r)return()=>null;throw new Error(`Unrecognized type '${Jn[e]}'`)}function K3(n){switch(n.typeId){case Jn.Null:return Jn.Null;case Jn.Int:{const{bitWidth:e,isSigned:r}=n;switch(e){case 8:return r?Jn.Int8:Jn.Uint8;case 16:return r?Jn.Int16:Jn.Uint16;case 32:return r?Jn.Int32:Jn.Uint32;case 64:return r?Jn.Int64:Jn.Uint64}return Jn.Int}case Jn.Float:switch(n.precision){case Yl.HALF:return Jn.Float16;case Yl.SINGLE:return Jn.Float32;case Yl.DOUBLE:return Jn.Float64}return Jn.Float;case Jn.Binary:return Jn.Binary;case Jn.Utf8:return Jn.Utf8;case Jn.Bool:return Jn.Bool;case Jn.Decimal:return Jn.Decimal;case Jn.Time:switch(n.unit){case wa.SECOND:return Jn.TimeSecond;case wa.MILLISECOND:return Jn.TimeMillisecond;case wa.MICROSECOND:return Jn.TimeMicrosecond;case wa.NANOSECOND:return Jn.TimeNanosecond}return Jn.Time;case Jn.Timestamp:switch(n.unit){case wa.SECOND:return Jn.TimestampSecond;case wa.MILLISECOND:return Jn.TimestampMillisecond;case wa.MICROSECOND:return Jn.TimestampMicrosecond;case wa.NANOSECOND:return Jn.TimestampNanosecond}return Jn.Timestamp;case Jn.Date:switch(n.unit){case nf.DAY:return Jn.DateDay;case nf.MILLISECOND:return Jn.DateMillisecond}return Jn.Date;case Jn.Interval:switch(n.unit){case Hf.DAY_TIME:return Jn.IntervalDayTime;case Hf.YEAR_MONTH:return Jn.IntervalYearMonth}return Jn.Interval;case Jn.Map:return Jn.Map;case Jn.List:return Jn.List;case Jn.Struct:return Jn.Struct;case Jn.Union:switch(n.mode){case xu.Dense:return Jn.DenseUnion;case xu.Sparse:return Jn.SparseUnion}return Jn.Union;case Jn.FixedSizeBinary:return Jn.FixedSizeBinary;case Jn.FixedSizeList:return Jn.FixedSizeList;case Jn.Dictionary:return Jn.Dictionary}throw new Error(`Unrecognized type '${Jn[n.typeId]}'`)}aa.prototype.visitInt8=null;aa.prototype.visitInt16=null;aa.prototype.visitInt32=null;aa.prototype.visitInt64=null;aa.prototype.visitUint8=null;aa.prototype.visitUint16=null;aa.prototype.visitUint32=null;aa.prototype.visitUint64=null;aa.prototype.visitFloat16=null;aa.prototype.visitFloat32=null;aa.prototype.visitFloat64=null;aa.prototype.visitDateDay=null;aa.prototype.visitDateMillisecond=null;aa.prototype.visitTimestampSecond=null;aa.prototype.visitTimestampMillisecond=null;aa.prototype.visitTimestampMicrosecond=null;aa.prototype.visitTimestampNanosecond=null;aa.prototype.visitTimeSecond=null;aa.prototype.visitTimeMillisecond=null;aa.prototype.visitTimeMicrosecond=null;aa.prototype.visitTimeNanosecond=null;aa.prototype.visitDenseUnion=null;aa.prototype.visitSparseUnion=null;aa.prototype.visitIntervalDayTime=null;aa.prototype.visitIntervalYearMonth=null;const fk=new Float64Array(1),Ap=new Uint32Array(fk.buffer);function dk(n){const e=(n&31744)>>10,r=(n&1023)/1024,C=Math.pow(-1,(n&32768)>>15);switch(e){case 31:return C*(r?Number.NaN:1/0);case 0:return C*(r?6103515625e-14*r:0)}return C*Math.pow(2,e-15)*(1+r)}function B9(n){if(n!==n)return 32256;fk[0]=n;const e=(Ap[1]&2147483648)>>16&65535;let r=Ap[1]&2146435072,C=0;return r>=1089470464?Ap[0]>0?r=31744:(r=(r&2080374784)>>16,C=(Ap[1]&1048575)>>10):r<=1056964608?(C=1048576+(Ap[1]&1048575),C=1048576+(C<<(r>>20)-998)>>21,r=0):(r=r-1056964608>>10,C=(Ap[1]&1048575)+512>>10),e|r|C&65535}class Ci extends aa{}function Pi(n){return(e,r,C)=>{if(e.setValid(r,C!=null))return n(e,r,C)}}const N9=(n,e,r)=>{n[e]=Math.trunc(r/864e5)},b2=(n,e,r)=>{n[e]=Math.trunc(r%4294967296),n[e+1]=Math.trunc(r/4294967296)},V9=(n,e,r)=>{n[e]=Math.trunc(r*1e3%4294967296),n[e+1]=Math.trunc(r*1e3/4294967296)},j9=(n,e,r)=>{n[e]=Math.trunc(r*1e6%4294967296),n[e+1]=Math.trunc(r*1e6/4294967296)},pk=(n,e,r,C)=>{if(r+1{const D=n+r;C?e[D>>3]|=1<>3]&=~(1<{n[e]=r},x2=({values:n},e,r)=>{n[e]=r},mk=({values:n},e,r)=>{n[e]=B9(r)},H9=(n,e,r)=>{switch(n.type.precision){case Yl.HALF:return mk(n,e,r);case Yl.SINGLE:case Yl.DOUBLE:return x2(n,e,r)}},gk=({values:n},e,r)=>{N9(n,e,r.valueOf())},vk=({values:n},e,r)=>{b2(n,e*2,r.valueOf())},G9=({stride:n,values:e},r,C)=>{e.set(C.subarray(0,n),n*r)},q9=({values:n,valueOffsets:e},r,C)=>pk(n,e,r,C),W9=({values:n,valueOffsets:e},r,C)=>{pk(n,e,r,p2(C))},Y9=(n,e,r)=>{n.type.unit===nf.DAY?gk(n,e,r):vk(n,e,r)},yk=({values:n},e,r)=>b2(n,e*2,r/1e3),bk=({values:n},e,r)=>b2(n,e*2,r),xk=({values:n},e,r)=>V9(n,e*2,r),_k=({values:n},e,r)=>j9(n,e*2,r),$9=(n,e,r)=>{switch(n.type.unit){case wa.SECOND:return yk(n,e,r);case wa.MILLISECOND:return bk(n,e,r);case wa.MICROSECOND:return xk(n,e,r);case wa.NANOSECOND:return _k(n,e,r)}},wk=({values:n},e,r)=>{n[e]=r},Tk=({values:n},e,r)=>{n[e]=r},kk=({values:n},e,r)=>{n[e]=r},Mk=({values:n},e,r)=>{n[e]=r},Z9=(n,e,r)=>{switch(n.type.unit){case wa.SECOND:return wk(n,e,r);case wa.MILLISECOND:return Tk(n,e,r);case wa.MICROSECOND:return kk(n,e,r);case wa.NANOSECOND:return Mk(n,e,r)}},X9=({values:n,stride:e},r,C)=>{n.set(C.subarray(0,e),e*r)},K9=(n,e,r)=>{const C=n.children[0],D=n.valueOffsets,T=nc.getVisitFn(C);if(Array.isArray(r))for(let p=-1,t=D[e],d=D[e+1];t{const C=n.children[0],{valueOffsets:D}=n,T=nc.getVisitFn(C);let{[e]:p,[e+1]:t}=D;const d=r instanceof Map?r.entries():Object.entries(r);for(const g of d)if(T(C,p,g),++p>=t)break},Q9=(n,e)=>(r,C,D,T)=>C&&r(C,n,e[T]),eL=(n,e)=>(r,C,D,T)=>C&&r(C,n,e.get(T)),tL=(n,e)=>(r,C,D,T)=>C&&r(C,n,e.get(D.name)),nL=(n,e)=>(r,C,D,T)=>C&&r(C,n,e[D.name]),rL=(n,e,r)=>{const C=n.type.children.map(T=>nc.getVisitFn(T.type)),D=r instanceof Map?tL(e,r):r instanceof Ta?eL(e,r):Array.isArray(r)?Q9(e,r):nL(e,r);n.type.children.forEach((T,p)=>D(C[p],n.children[p],T,p))},iL=(n,e,r)=>{n.type.mode===xu.Dense?Ak(n,e,r):Sk(n,e,r)},Ak=(n,e,r)=>{const C=n.type.typeIdToChildIndex[n.typeIds[e]],D=n.children[C];nc.visit(D,n.valueOffsets[e],r)},Sk=(n,e,r)=>{const C=n.type.typeIdToChildIndex[n.typeIds[e]],D=n.children[C];nc.visit(D,e,r)},aL=(n,e,r)=>{var C;(C=n.dictionary)===null||C===void 0||C.set(n.values[e],r)},oL=(n,e,r)=>{n.type.unit===Hf.DAY_TIME?Ck(n,e,r):Ek(n,e,r)},Ck=({values:n},e,r)=>{n.set(r.subarray(0,2),2*e)},Ek=({values:n},e,r)=>{n[e]=r[0]*12+r[1]%12},sL=(n,e,r)=>{const{stride:C}=n,D=n.children[0],T=nc.getVisitFn(D);if(Array.isArray(r))for(let p=-1,t=e*C;++p`${Cm(e)}: ${Cm(r)}`).join(", ")}}`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}[Symbol.iterator](){return new lL(this[Ec],this[Gp])}}class lL{constructor(e,r){this.childIndex=0,this.children=e.children,this.rowIndex=r,this.childFields=e.type.children,this.numChildren=this.childFields.length}[Symbol.iterator](){return this}next(){const e=this.childIndex;return er.name)}has(e,r){return e[Ec].type.children.findIndex(C=>C.name===r)!==-1}getOwnPropertyDescriptor(e,r){if(e[Ec].type.children.findIndex(C=>C.name===r)!==-1)return{writable:!0,enumerable:!0,configurable:!0}}get(e,r){if(Reflect.has(e,r))return e[r];const C=e[Ec].type.children.findIndex(D=>D.name===r);if(C!==-1){const D=Xl.visit(e[Ec].children[C],e[Gp]);return Reflect.set(e,r,D),D}}set(e,r,C){const D=e[Ec].type.children.findIndex(T=>T.name===r);return D!==-1?(nc.visit(e[Ec].children[D],e[Gp],C),Reflect.set(e,r,C)):Reflect.has(e,r)||typeof r=="symbol"?Reflect.set(e,r,C):!1}}class Ti extends aa{}function Ei(n){return(e,r)=>e.getValid(r)?n(e,r):null}const cL=(n,e)=>864e5*n[e],w2=(n,e)=>4294967296*n[e+1]+(n[e]>>>0),hL=(n,e)=>4294967296*(n[e+1]/1e3)+(n[e]>>>0)/1e3,fL=(n,e)=>4294967296*(n[e+1]/1e6)+(n[e]>>>0)/1e6,Lk=n=>new Date(n),dL=(n,e)=>Lk(cL(n,e)),pL=(n,e)=>Lk(w2(n,e)),mL=(n,e)=>null,Ik=(n,e,r)=>{if(r+1>=e.length)return null;const C=e[r],D=e[r+1];return n.subarray(C,D)},gL=({offset:n,values:e},r)=>{const C=n+r;return(e[C>>3]&1<dL(n,e),Pk=({values:n},e)=>pL(n,e*2),Kf=({stride:n,values:e},r)=>e[n*r],vL=({stride:n,values:e},r)=>dk(e[n*r]),Ok=({values:n},e)=>n[e],yL=({stride:n,values:e},r)=>e.subarray(n*r,n*(r+1)),bL=({values:n,valueOffsets:e},r)=>Ik(n,e,r),xL=({values:n,valueOffsets:e},r)=>{const C=Ik(n,e,r);return C!==null?jb(C):null},_L=({values:n},e)=>n[e],wL=({type:n,values:e},r)=>n.precision!==Yl.HALF?e[r]:dk(e[r]),TL=(n,e)=>n.type.unit===nf.DAY?Rk(n,e):Pk(n,e),Dk=({values:n},e)=>1e3*w2(n,e*2),zk=({values:n},e)=>w2(n,e*2),Fk=({values:n},e)=>hL(n,e*2),Bk=({values:n},e)=>fL(n,e*2),kL=(n,e)=>{switch(n.type.unit){case wa.SECOND:return Dk(n,e);case wa.MILLISECOND:return zk(n,e);case wa.MICROSECOND:return Fk(n,e);case wa.NANOSECOND:return Bk(n,e)}},Nk=({values:n},e)=>n[e],Vk=({values:n},e)=>n[e],jk=({values:n},e)=>n[e],Uk=({values:n},e)=>n[e],ML=(n,e)=>{switch(n.type.unit){case wa.SECOND:return Nk(n,e);case wa.MILLISECOND:return Vk(n,e);case wa.MICROSECOND:return jk(n,e);case wa.NANOSECOND:return Uk(n,e)}},AL=({values:n,stride:e},r)=>y2.decimal(n.subarray(e*r,e*(r+1))),SL=(n,e)=>{const{valueOffsets:r,stride:C,children:D}=n,{[e*C]:T,[e*C+1]:p}=r,d=D[0].slice(T,p-T);return new Ta([d])},CL=(n,e)=>{const{valueOffsets:r,children:C}=n,{[e]:D,[e+1]:T}=r,p=C[0];return new T2(p.slice(D,T-D))},EL=(n,e)=>new _2(n,e),LL=(n,e)=>n.type.mode===xu.Dense?Hk(n,e):Gk(n,e),Hk=(n,e)=>{const r=n.type.typeIdToChildIndex[n.typeIds[e]],C=n.children[r];return Xl.visit(C,n.valueOffsets[e])},Gk=(n,e)=>{const r=n.type.typeIdToChildIndex[n.typeIds[e]],C=n.children[r];return Xl.visit(C,e)},IL=(n,e)=>{var r;return(r=n.dictionary)===null||r===void 0?void 0:r.get(n.values[e])},RL=(n,e)=>n.type.unit===Hf.DAY_TIME?qk(n,e):Wk(n,e),qk=({values:n},e)=>n.subarray(2*e,2*(e+1)),Wk=({values:n},e)=>{const r=n[e],C=new Int32Array(2);return C[0]=Math.trunc(r/12),C[1]=Math.trunc(r%12),C},PL=(n,e)=>{const{stride:r,children:C}=n,T=C[0].slice(e*r,r);return new Ta([T])};Ti.prototype.visitNull=Ei(mL);Ti.prototype.visitBool=Ei(gL);Ti.prototype.visitInt=Ei(_L);Ti.prototype.visitInt8=Ei(Kf);Ti.prototype.visitInt16=Ei(Kf);Ti.prototype.visitInt32=Ei(Kf);Ti.prototype.visitInt64=Ei(Ok);Ti.prototype.visitUint8=Ei(Kf);Ti.prototype.visitUint16=Ei(Kf);Ti.prototype.visitUint32=Ei(Kf);Ti.prototype.visitUint64=Ei(Ok);Ti.prototype.visitFloat=Ei(wL);Ti.prototype.visitFloat16=Ei(vL);Ti.prototype.visitFloat32=Ei(Kf);Ti.prototype.visitFloat64=Ei(Kf);Ti.prototype.visitUtf8=Ei(xL);Ti.prototype.visitBinary=Ei(bL);Ti.prototype.visitFixedSizeBinary=Ei(yL);Ti.prototype.visitDate=Ei(TL);Ti.prototype.visitDateDay=Ei(Rk);Ti.prototype.visitDateMillisecond=Ei(Pk);Ti.prototype.visitTimestamp=Ei(kL);Ti.prototype.visitTimestampSecond=Ei(Dk);Ti.prototype.visitTimestampMillisecond=Ei(zk);Ti.prototype.visitTimestampMicrosecond=Ei(Fk);Ti.prototype.visitTimestampNanosecond=Ei(Bk);Ti.prototype.visitTime=Ei(ML);Ti.prototype.visitTimeSecond=Ei(Nk);Ti.prototype.visitTimeMillisecond=Ei(Vk);Ti.prototype.visitTimeMicrosecond=Ei(jk);Ti.prototype.visitTimeNanosecond=Ei(Uk);Ti.prototype.visitDecimal=Ei(AL);Ti.prototype.visitList=Ei(SL);Ti.prototype.visitStruct=Ei(EL);Ti.prototype.visitUnion=Ei(LL);Ti.prototype.visitDenseUnion=Ei(Hk);Ti.prototype.visitSparseUnion=Ei(Gk);Ti.prototype.visitDictionary=Ei(IL);Ti.prototype.visitInterval=Ei(RL);Ti.prototype.visitIntervalDayTime=Ei(qk);Ti.prototype.visitIntervalYearMonth=Ei(Wk);Ti.prototype.visitFixedSizeList=Ei(PL);Ti.prototype.visitMap=Ei(CL);const Xl=new Ti,lh=Symbol.for("keys"),qp=Symbol.for("vals");class T2{constructor(e){return this[lh]=new Ta([e.children[0]]).memoize(),this[qp]=e.children[1],new Proxy(this,new DL)}[Symbol.iterator](){return new OL(this[lh],this[qp])}get size(){return this[lh].length}toArray(){return Object.values(this.toJSON())}toJSON(){const e=this[lh],r=this[qp],C={};for(let D=-1,T=e.length;++D`${Cm(e)}: ${Cm(r)}`).join(", ")}}`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}}class OL{constructor(e,r){this.keys=e,this.vals=r,this.keyIndex=0,this.numKeys=e.length}[Symbol.iterator](){return this}next(){const e=this.keyIndex;return e===this.numKeys?{done:!0,value:null}:(this.keyIndex++,{done:!1,value:[this.keys.get(e),Xl.visit(this.vals,e)]})}}class DL{isExtensible(){return!1}deleteProperty(){return!1}preventExtensions(){return!0}ownKeys(e){return e[lh].toArray().map(String)}has(e,r){return e[lh].includes(r)}getOwnPropertyDescriptor(e,r){if(e[lh].indexOf(r)!==-1)return{writable:!0,enumerable:!0,configurable:!0}}get(e,r){if(Reflect.has(e,r))return e[r];const C=e[lh].indexOf(r);if(C!==-1){const D=Xl.visit(Reflect.get(e,qp),C);return Reflect.set(e,r,D),D}}set(e,r,C){const D=e[lh].indexOf(r);return D!==-1?(nc.visit(Reflect.get(e,qp),D,C),Reflect.set(e,r,C)):Reflect.has(e,r)?Reflect.set(e,r,C):!1}}Object.defineProperties(T2.prototype,{[Symbol.toStringTag]:{enumerable:!1,configurable:!1,value:"Row"},[lh]:{writable:!0,enumerable:!1,configurable:!1,value:null},[qp]:{writable:!0,enumerable:!1,configurable:!1,value:null}});let J3;function Yk(n,e,r,C){const{length:D=0}=n;let T=typeof e!="number"?0:e,p=typeof r!="number"?D:r;return T<0&&(T=(T%D+D)%D),p<0&&(p=(p%D+D)%D),pD&&(p=D),C?C(n,T,p):[T,p]}const Q3=n=>n!==n;function v0(n){if(typeof n!=="object"||n===null)return Q3(n)?Q3:r=>r===n;if(n instanceof Date){const r=n.valueOf();return C=>C instanceof Date?C.valueOf()===r:!1}return ArrayBuffer.isView(n)?r=>r?C9(n,r):!1:n instanceof Map?FL(n):Array.isArray(n)?zL(n):n instanceof Ta?BL(n):NL(n,!0)}function zL(n){const e=[];for(let r=-1,C=n.length;++r!1;const C=[];for(let D=-1,T=r.length;++D{if(!r||typeof r!="object")return!1;switch(r.constructor){case Array:return VL(n,r);case Map:return e5(n,r,r.keys());case T2:case _2:case Object:case void 0:return e5(n,r,e||Object.keys(r))}return r instanceof Ta?jL(n,r):!1}}function VL(n,e){const r=n.length;if(e.length!==r)return!1;for(let C=-1;++C>C}function k2(n,e,r){const C=r.byteLength+7&-8;if(n>0||r.byteLength>3):qv(new M2(r,n,e,null,$k)).subarray(0,C)),D}return r}function qv(n){const e=[];let r=0,C=0,D=0;for(const p of n)p&&(D|=1<0)&&(e[r++]=D);const T=new Uint8Array(e.length+7&-8);return T.set(e),T}class M2{constructor(e,r,C,D,T){this.bytes=e,this.length=C,this.context=D,this.get=T,this.bit=r%8,this.byteIndex=r>>3,this.byte=e[this.byteIndex++],this.index=0}next(){return this.index>3<<3,D=e+(e%8===0?0:8-e%8);return qb(n,e,D)+qb(n,C,r)+HL(n,D>>3,C-D>>3)}function HL(n,e,r){let C=0,D=Math.trunc(e);const T=new DataView(n.buffer,n.byteOffset,n.byteLength),p=r===void 0?n.byteLength:D+r;for(;p-D>=4;)C+=cb(T.getUint32(D)),D+=4;for(;p-D>=2;)C+=cb(T.getUint16(D)),D+=2;for(;p-D>=1;)C+=cb(T.getUint8(D)),D+=1;return C}function cb(n){let e=Math.trunc(n);return e=e-(e>>>1&1431655765),e=(e&858993459)+(e>>>2&858993459),(e+(e>>>4)&252645135)*16843009>>>24}const GL=-1;class Qa{constructor(e,r,C,D,T,p=[],t){this.type=e,this.children=p,this.dictionary=t,this.offset=Math.floor(Math.max(r||0,0)),this.length=Math.floor(Math.max(C||0,0)),this._nullCount=Math.floor(Math.max(D||0,-1));let d;T instanceof Qa?(this.stride=T.stride,this.values=T.values,this.typeIds=T.typeIds,this.nullBitmap=T.nullBitmap,this.valueOffsets=T.valueOffsets):(this.stride=Wh(e),T&&((d=T[0])&&(this.valueOffsets=d),(d=T[1])&&(this.values=d),(d=T[2])&&(this.nullBitmap=d),(d=T[3])&&(this.typeIds=d))),this.nullable=this._nullCount!==0&&this.nullBitmap&&this.nullBitmap.byteLength>0}get typeId(){return this.type.typeId}get ArrayType(){return this.type.ArrayType}get buffers(){return[this.valueOffsets,this.values,this.nullBitmap,this.typeIds]}get byteLength(){let e=0;const{valueOffsets:r,values:C,nullBitmap:D,typeIds:T}=this;return r&&(e+=r.byteLength),C&&(e+=C.byteLength),D&&(e+=D.byteLength),T&&(e+=T.byteLength),this.children.reduce((p,t)=>p+t.byteLength,e)}get nullCount(){let e=this._nullCount,r;return e<=GL&&(r=this.nullBitmap)&&(this._nullCount=e=this.length-qb(r,this.offset,this.offset+this.length)),e}getValid(e){if(this.nullable&&this.nullCount>0){const r=this.offset+e;return(this.nullBitmap[r>>3]&1<>3){const{nullBitmap:d}=this._changeLengthAndBackfillNullBitmap(this.length);Object.assign(this,{nullBitmap:d,_nullCount:0})}const{nullBitmap:C,offset:D}=this,T=D+e>>3,p=(D+e)%8,t=C[T]>>p&1;return r?t===0&&(C[T]|=1<>3).fill(255,0,r>>3);D[r>>3]=(1<0&&D.set(k2(this.offset,r,this.nullBitmap),0);const T=this.buffers;return T[qh.VALIDITY]=D,this.clone(this.type,0,e,C+(e-r),T)}_sliceBuffers(e,r,C,D){let T;const{buffers:p}=this;return(T=p[qh.TYPE])&&(p[qh.TYPE]=T.subarray(e,e+r)),(T=p[qh.OFFSET])&&(p[qh.OFFSET]=T.subarray(e,e+r+1))||(T=p[qh.DATA])&&(p[qh.DATA]=D===6?T:T.subarray(C*e,C*(e+r))),p}_sliceChildren(e,r,C){return e.map(D=>D.slice(r,C))}}Qa.prototype.children=Object.freeze([]);class mm extends aa{visit(e){return this.getVisitFn(e.type).call(this,e)}visitNull(e){const{["type"]:r,["offset"]:C=0,["length"]:D=0}=e;return new Qa(r,C,D,0)}visitBool(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length>>3,["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,p,t,[void 0,T,D])}visitInt(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length,["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,p,t,[void 0,T,D])}visitFloat(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length,["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,p,t,[void 0,T,D])}visitUtf8(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.data),T=_a(e.nullBitmap),p=rm(e.valueOffsets),{["length"]:t=p.length-1,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,C,t,d,[p,D,T])}visitBinary(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.data),T=_a(e.nullBitmap),p=rm(e.valueOffsets),{["length"]:t=p.length-1,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,C,t,d,[p,D,T])}visitFixedSizeBinary(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,p,t,[void 0,T,D])}visitDate(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,p,t,[void 0,T,D])}visitTimestamp(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,p,t,[void 0,T,D])}visitTime(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,p,t,[void 0,T,D])}visitDecimal(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,p,t,[void 0,T,D])}visitList(e){const{["type"]:r,["offset"]:C=0,["child"]:D}=e,T=_a(e.nullBitmap),p=rm(e.valueOffsets),{["length"]:t=p.length-1,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,C,t,d,[p,void 0,T],[D])}visitStruct(e){const{["type"]:r,["offset"]:C=0,["children"]:D=[]}=e,T=_a(e.nullBitmap),{length:p=D.reduce((d,{length:g})=>Math.max(d,g),0),nullCount:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,p,t,[void 0,void 0,T],D)}visitUnion(e){const{["type"]:r,["offset"]:C=0,["children"]:D=[]}=e,T=_a(e.nullBitmap),p=qa(r.ArrayType,e.typeIds),{["length"]:t=p.length,["nullCount"]:d=e.nullBitmap?-1:0}=e;if(_i.isSparseUnion(r))return new Qa(r,C,t,d,[void 0,void 0,T,p],D);const g=rm(e.valueOffsets);return new Qa(r,C,t,d,[g,void 0,T,p],D)}visitDictionary(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),T=qa(r.indices.ArrayType,e.data),{["dictionary"]:p=new Ta([new mm().visit({type:r.dictionary})])}=e,{["length"]:t=T.length,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,C,t,d,[void 0,T,D],[],p)}visitInterval(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,p,t,[void 0,T,D])}visitFixedSizeList(e){const{["type"]:r,["offset"]:C=0,["child"]:D=new mm().visit({type:r.valueType})}=e,T=_a(e.nullBitmap),{["length"]:p=D.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,p,t,[void 0,void 0,T],[D])}visitMap(e){const{["type"]:r,["offset"]:C=0,["child"]:D=new mm().visit({type:r.childType})}=e,T=_a(e.nullBitmap),p=rm(e.valueOffsets),{["length"]:t=p.length-1,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,C,t,d,[p,void 0,T],[D])}}function ra(n){return new mm().visit(n)}class t5{constructor(e=0,r){this.numChunks=e,this.getChunkIterator=r,this.chunkIndex=0,this.chunkIterator=this.getChunkIterator(0)}next(){for(;this.chunkIndexe+r.nullCount,0)}function Xk(n){return n.reduce((e,r,C)=>(e[C+1]=e[C]+r.length,e),new Uint32Array(n.length+1))}function Kk(n,e,r,C){const D=[];for(let T=-1,p=n.length;++T=C)break;if(r>=d+g)continue;if(d>=r&&d+g<=C){D.push(t);continue}const i=Math.max(0,r-d),M=Math.min(C-d,g);D.push(t.slice(i,M-i))}return D.length===0&&D.push(n[0].slice(0,0)),D}function A2(n,e,r,C){let D=0,T=0,p=e.length-1;do{if(D>=p-1)return r0?0:-1}function WL(n,e){const{nullBitmap:r}=n;if(!r||n.nullCount<=0)return-1;let C=0;for(const D of new M2(r,n.offset+(e||0),n.length,r,$k)){if(!D)return C;++C}return-1}function Vi(n,e,r){if(e===void 0)return-1;if(e===null)return WL(n,r);const C=Xl.getVisitFn(n),D=v0(e);for(let T=(r||0)-1,p=n.length;++T{const D=n.data[C];return D.values.subarray(0,D.length)[Symbol.iterator]()});let r=0;return new t5(n.data.length,C=>{const T=n.data[C].length,p=n.slice(r,r+T);return r+=T,new YL(p)})}class YL{constructor(e){this.vector=e,this.index=0}next(){return this.indexn+e;class Jf extends aa{visitNull(e,r){return 0}visitInt(e,r){return e.type.bitWidth/8}visitFloat(e,r){return e.type.ArrayType.BYTES_PER_ELEMENT}visitBool(e,r){return 1/8}visitDecimal(e,r){return e.type.bitWidth/8}visitDate(e,r){return(e.type.unit+1)*4}visitTime(e,r){return e.type.bitWidth/8}visitTimestamp(e,r){return e.type.unit===wa.SECOND?4:8}visitInterval(e,r){return(e.type.unit+1)*4}visitStruct(e,r){return e.children.reduce((C,D)=>C+_h.visit(D,r),0)}visitFixedSizeBinary(e,r){return e.type.byteWidth}visitMap(e,r){return 8+e.children.reduce((C,D)=>C+_h.visit(D,r),0)}visitDictionary(e,r){var C;return e.type.indices.bitWidth/8+(((C=e.dictionary)===null||C===void 0?void 0:C.getByteLength(e.values[r]))||0)}}const ZL=({valueOffsets:n},e)=>8+(n[e+1]-n[e]),XL=({valueOffsets:n},e)=>8+(n[e+1]-n[e]),KL=({valueOffsets:n,stride:e,children:r},C)=>{const D=r[0],{[C*e]:T}=n,{[C*e+1]:p}=n,t=_h.getVisitFn(D.type),d=D.slice(T,p-T);let g=8;for(let i=-1,M=p-T;++i{const C=e[0],D=C.slice(r*n,n),T=_h.getVisitFn(C.type);let p=0;for(let t=-1,d=D.length;++tn.type.mode===xu.Dense?tM(n,e):nM(n,e),tM=({type:n,children:e,typeIds:r,valueOffsets:C},D)=>{const T=n.typeIdToChildIndex[r[D]];return 8+_h.visit(e[T],C[D])},nM=({children:n},e)=>4+_h.visitMany(n,n.map(()=>e)).reduce($L,0);Jf.prototype.visitUtf8=ZL;Jf.prototype.visitBinary=XL;Jf.prototype.visitList=KL;Jf.prototype.visitFixedSizeList=JL;Jf.prototype.visitUnion=QL;Jf.prototype.visitDenseUnion=tM;Jf.prototype.visitSparseUnion=nM;const _h=new Jf;var rM;const iM={},aM={};class Ta{constructor(e){var r,C,D;const T=e[0]instanceof Ta?e.flatMap(t=>t.data):e;if(T.length===0||T.some(t=>!(t instanceof Qa)))throw new TypeError("Vector constructor expects an Array of Data instances.");const p=(r=T[0])===null||r===void 0?void 0:r.type;switch(T.length){case 0:this._offsets=[0];break;case 1:{const{get:t,set:d,indexOf:g,byteLength:i}=iM[p.typeId],M=T[0];this.isValid=v=>S2(M,v),this.get=v=>t(M,v),this.set=(v,f)=>d(M,v,f),this.indexOf=v=>g(M,v),this.getByteLength=v=>i(M,v),this._offsets=[0,M.length];break}default:Object.setPrototypeOf(this,aM[p.typeId]),this._offsets=Xk(T);break}this.data=T,this.type=p,this.stride=Wh(p),this.numChildren=(D=(C=p.children)===null||C===void 0?void 0:C.length)!==null&&D!==void 0?D:0,this.length=this._offsets[this._offsets.length-1]}get byteLength(){return this._byteLength===-1&&(this._byteLength=this.data.reduce((e,r)=>e+r.byteLength,0)),this._byteLength}get nullCount(){return this._nullCount===-1&&(this._nullCount=Zk(this.data)),this._nullCount}get ArrayType(){return this.type.ArrayType}get[Symbol.toStringTag](){return`${this.VectorName}<${this.type[Symbol.toStringTag]}>`}get VectorName(){return`${Jn[this.type.typeId]}Vector`}isValid(e){return!1}get(e){return null}set(e,r){}indexOf(e,r){return-1}includes(e,r){return this.indexOf(e,r)>0}getByteLength(e){return 0}[Symbol.iterator](){return C2.visit(this)}concat(...e){return new Ta(this.data.concat(e.flatMap(r=>r.data).flat(Number.POSITIVE_INFINITY)))}slice(e,r){return new Ta(Yk(this,e,r,({data:C,_offsets:D},T,p)=>Kk(C,D,T,p)))}toJSON(){return[...this]}toArray(){const{type:e,data:r,length:C,stride:D,ArrayType:T}=this;switch(e.typeId){case Jn.Int:case Jn.Float:case Jn.Decimal:case Jn.Time:case Jn.Timestamp:switch(r.length){case 0:return new T;case 1:return r[0].values.subarray(0,C*D);default:return r.reduce((p,{values:t,length:d})=>(p.array.set(t.subarray(0,d*D),p.offset),p.offset+=d*D,p),{array:new T(C*D),offset:0}).array}}return[...this]}toString(){return`[${[...this].join(",")}]`}getChild(e){var r;return this.getChildAt((r=this.type.children)===null||r===void 0?void 0:r.findIndex(C=>C.name===e))}getChildAt(e){return e>-1&&er[e])):null}get isMemoized(){return _i.isDictionary(this.type)?this.data[0].dictionary.isMemoized:!1}memoize(){if(_i.isDictionary(this.type)){const e=new Yv(this.data[0].dictionary),r=this.data.map(C=>{const D=C.clone();return D.dictionary=e,D});return new Ta(r)}return new Yv(this)}unmemoize(){if(_i.isDictionary(this.type)&&this.isMemoized){const e=this.data[0].dictionary.unmemoize(),r=this.data.map(C=>{const D=C.clone();return D.dictionary=e,D});return new Ta(r)}return this}}rM=Symbol.toStringTag;Ta[rM]=(n=>{n.type=_i.prototype,n.data=[],n.length=0,n.stride=1,n.numChildren=0,n._nullCount=-1,n._byteLength=-1,n._offsets=new Uint32Array([0]),n[Symbol.isConcatSpreadable]=!0;const e=Object.keys(Jn).map(r=>Jn[r]).filter(r=>typeof r=="number"&&r!==Jn.NONE);for(const r of e){const C=Xl.getVisitFnByTypeId(r),D=nc.getVisitFnByTypeId(r),T=Wv.getVisitFnByTypeId(r),p=_h.getVisitFnByTypeId(r);iM[r]={get:C,set:D,indexOf:T,byteLength:p},aM[r]=Object.create(n,{isValid:{value:Wp(S2)},get:{value:Wp(Xl.getVisitFnByTypeId(r))},set:{value:Jk(nc.getVisitFnByTypeId(r))},indexOf:{value:Qk(Wv.getVisitFnByTypeId(r))},getByteLength:{value:Wp(_h.getVisitFnByTypeId(r))}})}return"Vector"})(Ta.prototype);class Yv extends Ta{constructor(e){super(e.data);const r=this.get,C=this.set,D=this.slice,T=new Array(this.length);Object.defineProperty(this,"get",{value(p){const t=T[p];if(t!==void 0)return t;const d=r.call(this,p);return T[p]=d,d}}),Object.defineProperty(this,"set",{value(p,t){C.call(this,p,t),T[p]=t}}),Object.defineProperty(this,"slice",{value:(p,t)=>new Yv(D.call(this,p,t))}),Object.defineProperty(this,"isMemoized",{value:!0}),Object.defineProperty(this,"unmemoize",{value:()=>new Ta(this.data)}),Object.defineProperty(this,"memoize",{value:()=>this})}}class Wb{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}offset(){return this.bb.readInt64(this.bb_pos)}metaDataLength(){return this.bb.readInt32(this.bb_pos+8)}bodyLength(){return this.bb.readInt64(this.bb_pos+16)}static sizeOf(){return 24}static createBlock(e,r,C,D){return e.prep(8,24),e.writeInt64(D),e.pad(4),e.writeInt32(C),e.writeInt64(r),e.offset()}}const hb=2,uh=4,$h=4,Wa=4,Pf=new Int32Array(2),n5=new Float32Array(Pf.buffer),r5=new Float64Array(Pf.buffer),av=new Uint16Array(new Uint8Array([1,0]).buffer)[0]===1;let Jh=class Yb{constructor(e,r){this.low=e|0,this.high=r|0}static create(e,r){return e==0&&r==0?Yb.ZERO:new Yb(e,r)}toFloat64(){return(this.low>>>0)+this.high*4294967296}equals(e){return this.low==e.low&&this.high==e.high}};Jh.ZERO=new Jh(0,0);var $b;(function(n){n[n.UTF8_BYTES=1]="UTF8_BYTES",n[n.UTF16_STRING=2]="UTF16_STRING"})($b||($b={}));let Jp=class oM{constructor(e){this.bytes_=e,this.position_=0}static allocate(e){return new oM(new Uint8Array(e))}clear(){this.position_=0}bytes(){return this.bytes_}position(){return this.position_}setPosition(e){this.position_=e}capacity(){return this.bytes_.length}readInt8(e){return this.readUint8(e)<<24>>24}readUint8(e){return this.bytes_[e]}readInt16(e){return this.readUint16(e)<<16>>16}readUint16(e){return this.bytes_[e]|this.bytes_[e+1]<<8}readInt32(e){return this.bytes_[e]|this.bytes_[e+1]<<8|this.bytes_[e+2]<<16|this.bytes_[e+3]<<24}readUint32(e){return this.readInt32(e)>>>0}readInt64(e){return new Jh(this.readInt32(e),this.readInt32(e+4))}readUint64(e){return new Jh(this.readUint32(e),this.readUint32(e+4))}readFloat32(e){return Pf[0]=this.readInt32(e),n5[0]}readFloat64(e){return Pf[av?0:1]=this.readInt32(e),Pf[av?1:0]=this.readInt32(e+4),r5[0]}writeInt8(e,r){this.bytes_[e]=r}writeUint8(e,r){this.bytes_[e]=r}writeInt16(e,r){this.bytes_[e]=r,this.bytes_[e+1]=r>>8}writeUint16(e,r){this.bytes_[e]=r,this.bytes_[e+1]=r>>8}writeInt32(e,r){this.bytes_[e]=r,this.bytes_[e+1]=r>>8,this.bytes_[e+2]=r>>16,this.bytes_[e+3]=r>>24}writeUint32(e,r){this.bytes_[e]=r,this.bytes_[e+1]=r>>8,this.bytes_[e+2]=r>>16,this.bytes_[e+3]=r>>24}writeInt64(e,r){this.writeInt32(e,r.low),this.writeInt32(e+4,r.high)}writeUint64(e,r){this.writeUint32(e,r.low),this.writeUint32(e+4,r.high)}writeFloat32(e,r){n5[0]=r,this.writeInt32(e,Pf[0])}writeFloat64(e,r){r5[0]=r,this.writeInt32(e,Pf[av?0:1]),this.writeInt32(e+4,Pf[av?1:0])}getBufferIdentifier(){if(this.bytes_.length>10)+55296,(p&1024-1)+56320))}return D}__union_with_string(e,r){return typeof e=="string"?this.__string(r):this.__union(e,r)}__indirect(e){return e+this.readInt32(e)}__vector(e){return e+this.readInt32(e)+uh}__vector_len(e){return this.readInt32(e+this.readInt32(e))}__has_identifier(e){if(e.length!=$h)throw new Error("FlatBuffers: file identifier must be length "+$h);for(let r=0;r<$h;r++)if(e.charCodeAt(r)!=this.readInt8(this.position()+uh+r))return!1;return!0}createLong(e,r){return Jh.create(e,r)}createScalarList(e,r){const C=[];for(let D=0;Dthis.minalign&&(this.minalign=e);const C=~(this.bb.capacity()-this.space+r)+1&e-1;for(;this.space=0&&this.vtable[r]==0;r--);const C=r+1;for(;r>=0;r--)this.addInt16(this.vtable[r]!=0?e-this.vtable[r]:0);const D=2;this.addInt16(e-this.object_start);const T=(C+D)*hb;this.addInt16(T);let p=0;const t=this.space;e:for(r=0;r=0;p--)this.writeInt8(T.charCodeAt(p))}this.prep(this.minalign,uh+D),this.addOffset(e),D&&this.addInt32(this.bb.capacity()-this.space),this.bb.setPosition(this.space)}finishSizePrefixed(e,r){this.finish(e,r,!0)}requiredField(e,r){const C=this.bb.capacity()-e,D=C-this.bb.readInt32(C);if(!(this.bb.readInt16(D+r)!=0))throw new Error("FlatBuffers: field "+r+" must be set")}startVector(e,r,C){this.notNested(),this.vector_num_elems=r,this.prep(uh,e*r),this.prep(C,e*r)}endVector(){return this.writeInt32(this.vector_num_elems),this.offset()}createSharedString(e){if(!e)return 0;if(this.string_maps||(this.string_maps=new Map),this.string_maps.has(e))return this.string_maps.get(e);const r=this.createString(e);return this.string_maps.set(e,r),r}createString(e){if(!e)return 0;let r;if(e instanceof Uint8Array)r=e;else{r=[];let C=0;for(;C=56320)D=T;else{const p=e.charCodeAt(C++);D=(T<<10)+p+(65536-56623104-56320)}D<128?r.push(D):(D<2048?r.push(D>>6&31|192):(D<65536?r.push(D>>12&15|224):r.push(D>>18&7|240,D>>12&63|128),r.push(D>>6&63|128)),r.push(D&63|128))}}this.addInt8(0),this.startVector(1,r.length,1),this.bb.setPosition(this.space-=r.length);for(let C=0,D=this.space,T=this.bb.bytes();C=0;C--)e.addInt32(r[C]);return e.endVector()}static startTypeIdsVector(e,r){e.startVector(4,r,4)}static endUnion(e){return e.endObject()}static createUnion(e,r,C){return Gl.startUnion(e),Gl.addMode(e,r),Gl.addTypeIds(e,C),Gl.endUnion(e)}}class Pd{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsUtf8(e,r){return(r||new Pd).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsUtf8(e,r){return e.setPosition(e.position()+Wa),(r||new Pd).__init(e.readInt32(e.position())+e.position(),e)}static startUtf8(e){e.startObject(0)}static endUtf8(e){return e.endObject()}static createUtf8(e){return Pd.startUtf8(e),Pd.endUtf8(e)}}var Ao;(function(n){n[n.NONE=0]="NONE",n[n.Null=1]="Null",n[n.Int=2]="Int",n[n.FloatingPoint=3]="FloatingPoint",n[n.Binary=4]="Binary",n[n.Utf8=5]="Utf8",n[n.Bool=6]="Bool",n[n.Decimal=7]="Decimal",n[n.Date=8]="Date",n[n.Time=9]="Time",n[n.Timestamp=10]="Timestamp",n[n.Interval=11]="Interval",n[n.List=12]="List",n[n.Struct_=13]="Struct_",n[n.Union=14]="Union",n[n.FixedSizeBinary=15]="FixedSizeBinary",n[n.FixedSizeList=16]="FixedSizeList",n[n.Map=17]="Map",n[n.Duration=18]="Duration",n[n.LargeBinary=19]="LargeBinary",n[n.LargeUtf8=20]="LargeUtf8",n[n.LargeList=21]="LargeList"})(Ao||(Ao={}));let qu=class yv{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsField(e,r){return(r||new yv).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsField(e,r){return e.setPosition(e.position()+Wa),(r||new yv).__init(e.readInt32(e.position())+e.position(),e)}name(e){const r=this.bb.__offset(this.bb_pos,4);return r?this.bb.__string(this.bb_pos+r,e):null}nullable(){const e=this.bb.__offset(this.bb_pos,6);return e?!!this.bb.readInt8(this.bb_pos+e):!1}typeType(){const e=this.bb.__offset(this.bb_pos,8);return e?this.bb.readUint8(this.bb_pos+e):Ao.NONE}type(e){const r=this.bb.__offset(this.bb_pos,10);return r?this.bb.__union(e,this.bb_pos+r):null}dictionary(e){const r=this.bb.__offset(this.bb_pos,12);return r?(e||new Zh).__init(this.bb.__indirect(this.bb_pos+r),this.bb):null}children(e,r){const C=this.bb.__offset(this.bb_pos,14);return C?(r||new yv).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+C)+e*4),this.bb):null}childrenLength(){const e=this.bb.__offset(this.bb_pos,14);return e?this.bb.__vector_len(this.bb_pos+e):0}customMetadata(e,r){const C=this.bb.__offset(this.bb_pos,16);return C?(r||new cs).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+C)+e*4),this.bb):null}customMetadataLength(){const e=this.bb.__offset(this.bb_pos,16);return e?this.bb.__vector_len(this.bb_pos+e):0}static startField(e){e.startObject(7)}static addName(e,r){e.addFieldOffset(0,r,0)}static addNullable(e,r){e.addFieldInt8(1,+r,0)}static addTypeType(e,r){e.addFieldInt8(2,r,Ao.NONE)}static addType(e,r){e.addFieldOffset(3,r,0)}static addDictionary(e,r){e.addFieldOffset(4,r,0)}static addChildren(e,r){e.addFieldOffset(5,r,0)}static createChildrenVector(e,r){e.startVector(4,r.length,4);for(let C=r.length-1;C>=0;C--)e.addOffset(r[C]);return e.endVector()}static startChildrenVector(e,r){e.startVector(4,r,4)}static addCustomMetadata(e,r){e.addFieldOffset(6,r,0)}static createCustomMetadataVector(e,r){e.startVector(4,r.length,4);for(let C=r.length-1;C>=0;C--)e.addOffset(r[C]);return e.endVector()}static startCustomMetadataVector(e,r){e.startVector(4,r,4)}static endField(e){return e.endObject()}},ih=class Hh{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsSchema(e,r){return(r||new Hh).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsSchema(e,r){return e.setPosition(e.position()+Wa),(r||new Hh).__init(e.readInt32(e.position())+e.position(),e)}endianness(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):e0.Little}fields(e,r){const C=this.bb.__offset(this.bb_pos,6);return C?(r||new qu).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+C)+e*4),this.bb):null}fieldsLength(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.__vector_len(this.bb_pos+e):0}customMetadata(e,r){const C=this.bb.__offset(this.bb_pos,8);return C?(r||new cs).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+C)+e*4),this.bb):null}customMetadataLength(){const e=this.bb.__offset(this.bb_pos,8);return e?this.bb.__vector_len(this.bb_pos+e):0}features(e){const r=this.bb.__offset(this.bb_pos,10);return r?this.bb.readInt64(this.bb.__vector(this.bb_pos+r)+e*8):this.bb.createLong(0,0)}featuresLength(){const e=this.bb.__offset(this.bb_pos,10);return e?this.bb.__vector_len(this.bb_pos+e):0}static startSchema(e){e.startObject(4)}static addEndianness(e,r){e.addFieldInt16(0,r,e0.Little)}static addFields(e,r){e.addFieldOffset(1,r,0)}static createFieldsVector(e,r){e.startVector(4,r.length,4);for(let C=r.length-1;C>=0;C--)e.addOffset(r[C]);return e.endVector()}static startFieldsVector(e,r){e.startVector(4,r,4)}static addCustomMetadata(e,r){e.addFieldOffset(2,r,0)}static createCustomMetadataVector(e,r){e.startVector(4,r.length,4);for(let C=r.length-1;C>=0;C--)e.addOffset(r[C]);return e.endVector()}static startCustomMetadataVector(e,r){e.startVector(4,r,4)}static addFeatures(e,r){e.addFieldOffset(3,r,0)}static createFeaturesVector(e,r){e.startVector(8,r.length,8);for(let C=r.length-1;C>=0;C--)e.addInt64(r[C]);return e.endVector()}static startFeaturesVector(e,r){e.startVector(8,r,8)}static endSchema(e){return e.endObject()}static finishSchemaBuffer(e,r){e.finish(r)}static finishSizePrefixedSchemaBuffer(e,r){e.finish(r,void 0,!0)}static createSchema(e,r,C,D,T){return Hh.startSchema(e),Hh.addEndianness(e,r),Hh.addFields(e,C),Hh.addCustomMetadata(e,D),Hh.addFeatures(e,T),Hh.endSchema(e)}};class fu{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsFooter(e,r){return(r||new fu).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsFooter(e,r){return e.setPosition(e.position()+Wa),(r||new fu).__init(e.readInt32(e.position())+e.position(),e)}version(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):Qp.V1}schema(e){const r=this.bb.__offset(this.bb_pos,6);return r?(e||new ih).__init(this.bb.__indirect(this.bb_pos+r),this.bb):null}dictionaries(e,r){const C=this.bb.__offset(this.bb_pos,8);return C?(r||new Wb).__init(this.bb.__vector(this.bb_pos+C)+e*24,this.bb):null}dictionariesLength(){const e=this.bb.__offset(this.bb_pos,8);return e?this.bb.__vector_len(this.bb_pos+e):0}recordBatches(e,r){const C=this.bb.__offset(this.bb_pos,10);return C?(r||new Wb).__init(this.bb.__vector(this.bb_pos+C)+e*24,this.bb):null}recordBatchesLength(){const e=this.bb.__offset(this.bb_pos,10);return e?this.bb.__vector_len(this.bb_pos+e):0}customMetadata(e,r){const C=this.bb.__offset(this.bb_pos,12);return C?(r||new cs).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+C)+e*4),this.bb):null}customMetadataLength(){const e=this.bb.__offset(this.bb_pos,12);return e?this.bb.__vector_len(this.bb_pos+e):0}static startFooter(e){e.startObject(5)}static addVersion(e,r){e.addFieldInt16(0,r,Qp.V1)}static addSchema(e,r){e.addFieldOffset(1,r,0)}static addDictionaries(e,r){e.addFieldOffset(2,r,0)}static startDictionariesVector(e,r){e.startVector(24,r,8)}static addRecordBatches(e,r){e.addFieldOffset(3,r,0)}static startRecordBatchesVector(e,r){e.startVector(24,r,8)}static addCustomMetadata(e,r){e.addFieldOffset(4,r,0)}static createCustomMetadataVector(e,r){e.startVector(4,r.length,4);for(let C=r.length-1;C>=0;C--)e.addOffset(r[C]);return e.endVector()}static startCustomMetadataVector(e,r){e.startVector(4,r,4)}static endFooter(e){return e.endObject()}static finishFooterBuffer(e,r){e.finish(r)}static finishSizePrefixedFooterBuffer(e,r){e.finish(r,void 0,!0)}}class Ea{constructor(e=[],r,C){this.fields=e||[],this.metadata=r||new Map,C||(C=Zb(e)),this.dictionaries=C}get[Symbol.toStringTag](){return"Schema"}get names(){return this.fields.map(e=>e.name)}toString(){return`Schema<{ ${this.fields.map((e,r)=>`${r}: ${e}`).join(", ")} }>`}select(e){const r=new Set(e),C=this.fields.filter(D=>r.has(D.name));return new Ea(C,this.metadata)}selectAt(e){const r=e.map(C=>this.fields[C]).filter(Boolean);return new Ea(r,this.metadata)}assign(...e){const r=e[0]instanceof Ea?e[0]:Array.isArray(e[0])?new Ea(e[0]):new Ea(e),C=[...this.fields],D=ov(ov(new Map,this.metadata),r.metadata),T=r.fields.filter(t=>{const d=C.findIndex(g=>g.name===t.name);return~d?(C[d]=t.clone({metadata:ov(ov(new Map,C[d].metadata),t.metadata)}))&&!1:!0}),p=Zb(T,new Map);return new Ea([...C,...T],D,new Map([...this.dictionaries,...p]))}}Ea.prototype.fields=null;Ea.prototype.metadata=null;Ea.prototype.dictionaries=null;class ao{constructor(e,r,C=!1,D){this.name=e,this.type=r,this.nullable=C,this.metadata=D||new Map}static new(...e){let[r,C,D,T]=e;return e[0]&&typeof e[0]=="object"&&({name:r}=e[0],C===void 0&&(C=e[0].type),D===void 0&&(D=e[0].nullable),T===void 0&&(T=e[0].metadata)),new ao(`${r}`,C,D,T)}get typeId(){return this.type.typeId}get[Symbol.toStringTag](){return"Field"}toString(){return`${this.name}: ${this.type}`}clone(...e){let[r,C,D,T]=e;return!e[0]||typeof e[0]!="object"?[r=this.name,C=this.type,D=this.nullable,T=this.metadata]=e:{name:r=this.name,type:C=this.type,nullable:D=this.nullable,metadata:T=this.metadata}=e[0],ao.new(r,C,D,T)}}ao.prototype.type=null;ao.prototype.name=null;ao.prototype.nullable=null;ao.prototype.metadata=null;function ov(n,e){return new Map([...n||new Map,...e||new Map])}function Zb(n,e=new Map){for(let r=-1,C=n.length;++r0&&Zb(T.children,e)}return e}var i5=Jh,eI=sM,tI=Jp;class Pm{constructor(e,r=gu.V4,C,D){this.schema=e,this.version=r,C&&(this._recordBatches=C),D&&(this._dictionaryBatches=D)}static decode(e){e=new tI(_a(e));const r=fu.getRootAsFooter(e),C=Ea.decode(r.schema());return new nI(C,r)}static encode(e){const r=new eI,C=Ea.encode(r,e.schema);fu.startRecordBatchesVector(r,e.numRecordBatches);for(const p of[...e.recordBatches()].slice().reverse())Wf.encode(r,p);const D=r.endVector();fu.startDictionariesVector(r,e.numDictionaries);for(const p of[...e.dictionaryBatches()].slice().reverse())Wf.encode(r,p);const T=r.endVector();return fu.startFooter(r),fu.addSchema(r,C),fu.addVersion(r,gu.V4),fu.addRecordBatches(r,D),fu.addDictionaries(r,T),fu.finishFooterBuffer(r,fu.endFooter(r)),r.asUint8Array()}get numRecordBatches(){return this._recordBatches.length}get numDictionaries(){return this._dictionaryBatches.length}*recordBatches(){for(let e,r=-1,C=this.numRecordBatches;++r=0&&e=0&&e=0&&e=0&&ethis._closedPromiseResolve=e)}get closed(){return this._closedPromise}cancel(e){return yi(this,void 0,void 0,function*(){yield this.return(e)})}write(e){this._ensureOpen()&&(this.resolvers.length<=0?this._values.push(e):this.resolvers.shift().resolve({done:!1,value:e}))}abort(e){this._closedPromiseResolve&&(this.resolvers.length<=0?this._error={error:e}:this.resolvers.shift().reject({done:!0,value:e}))}close(){if(this._closedPromiseResolve){const{resolvers:e}=this;for(;e.length>0;)e.shift().resolve(So);this._closedPromiseResolve(),this._closedPromiseResolve=void 0}}[Symbol.asyncIterator](){return this}toDOMStream(e){return $u.toDOMStream(this._closedPromiseResolve||this._error?this:this._values,e)}toNodeStream(e){return $u.toNodeStream(this._closedPromiseResolve||this._error?this:this._values,e)}throw(e){return yi(this,void 0,void 0,function*(){return yield this.abort(e),So})}return(e){return yi(this,void 0,void 0,function*(){return yield this.close(),So})}read(e){return yi(this,void 0,void 0,function*(){return(yield this.next(e,"read")).value})}peek(e){return yi(this,void 0,void 0,function*(){return(yield this.next(e,"peek")).value})}next(...e){return this._values.length>0?Promise.resolve({done:!1,value:this._values.shift()}):this._error?Promise.reject({done:!0,value:this._error.error}):this._closedPromiseResolve?new Promise((r,C)=>{this.resolvers.push({resolve:r,reject:C})}):Promise.resolve(So)}_ensureOpen(){if(this._closedPromiseResolve)return!0;throw new Error("AsyncQueue is closed")}}class bv extends rI{write(e){if((e=_a(e)).byteLength>0)return super.write(e)}toString(e=!1){return e?jb(this.toUint8Array(!0)):this.toUint8Array(!1).then(jb)}toUint8Array(e=!1){return e?xh(this._values)[0]:(()=>yi(this,void 0,void 0,function*(){var r,C;const D=[];let T=0;try{for(var p=Nd(this),t;t=yield p.next(),!t.done;){const d=t.value;D.push(d),T+=d.byteLength}}catch(d){r={error:d}}finally{try{t&&!t.done&&(C=p.return)&&(yield C.call(p))}finally{if(r)throw r.error}}return xh(D,T)[0]}))()}}class Qv{constructor(e){e&&(this.source=new iI($u.fromIterable(e)))}[Symbol.iterator](){return this}next(e){return this.source.next(e)}throw(e){return this.source.throw(e)}return(e){return this.source.return(e)}peek(e){return this.source.peek(e)}read(e){return this.source.read(e)}}class n0{constructor(e){e instanceof n0?this.source=e.source:e instanceof bv?this.source=new xd($u.fromAsyncIterable(e)):G4(e)?this.source=new xd($u.fromNodeStream(e)):m2(e)?this.source=new xd($u.fromDOMStream(e)):H4(e)?this.source=new xd($u.fromDOMStream(e.body)):Zm(e)?this.source=new xd($u.fromIterable(e)):Uf(e)?this.source=new xd($u.fromAsyncIterable(e)):g0(e)&&(this.source=new xd($u.fromAsyncIterable(e)))}[Symbol.asyncIterator](){return this}next(e){return this.source.next(e)}throw(e){return this.source.throw(e)}return(e){return this.source.return(e)}get closed(){return this.source.closed}cancel(e){return this.source.cancel(e)}peek(e){return this.source.peek(e)}read(e){return this.source.read(e)}}class iI{constructor(e){this.source=e}cancel(e){this.return(e)}peek(e){return this.next(e,"peek").value}read(e){return this.next(e,"read").value}next(e,r="read"){return this.source.next({cmd:r,size:e})}throw(e){return Object.create(this.source.throw&&this.source.throw(e)||So)}return(e){return Object.create(this.source.return&&this.source.return(e)||So)}}class xd{constructor(e){this.source=e,this._closedPromise=new Promise(r=>this._closedPromiseResolve=r)}cancel(e){return yi(this,void 0,void 0,function*(){yield this.return(e)})}get closed(){return this._closedPromise}read(e){return yi(this,void 0,void 0,function*(){return(yield this.next(e,"read")).value})}peek(e){return yi(this,void 0,void 0,function*(){return(yield this.next(e,"peek")).value})}next(e,r="read"){return yi(this,void 0,void 0,function*(){return yield this.source.next({cmd:r,size:e})})}throw(e){return yi(this,void 0,void 0,function*(){const r=this.source.throw&&(yield this.source.throw(e))||So;return this._closedPromiseResolve&&this._closedPromiseResolve(),this._closedPromiseResolve=void 0,Object.create(r)})}return(e){return yi(this,void 0,void 0,function*(){const r=this.source.return&&(yield this.source.return(e))||So;return this._closedPromiseResolve&&this._closedPromiseResolve(),this._closedPromiseResolve=void 0,Object.create(r)})}}class o5 extends Qv{constructor(e,r){super(),this.position=0,this.buffer=_a(e),this.size=typeof r>"u"?this.buffer.byteLength:r}readInt32(e){const{buffer:r,byteOffset:C}=this.readAt(e,4);return new DataView(r,C).getInt32(0,!0)}seek(e){return this.position=Math.min(e,this.size),eyi(this,void 0,void 0,function*(){this.size=(yield e.stat()).size,delete this._pending}))()}readInt32(e){return yi(this,void 0,void 0,function*(){const{buffer:r,byteOffset:C}=yield this.readAt(e,4);return new DataView(r,C).getInt32(0,!0)})}seek(e){return yi(this,void 0,void 0,function*(){return this._pending&&(yield this._pending),this.position=Math.min(e,this.size),e>>16,this.buffer[1]&65535,this.buffer[0]>>>16,this.buffer[0]&65535]),C=new Uint32Array([e.buffer[1]>>>16,e.buffer[1]&65535,e.buffer[0]>>>16,e.buffer[0]&65535]);let D=r[3]*C[3];this.buffer[0]=D&65535;let T=D>>>16;return D=r[2]*C[3],T+=D,D=r[3]*C[2]>>>0,T+=D,this.buffer[0]+=T<<16,this.buffer[1]=T>>>0>>16,this.buffer[1]+=r[1]*C[3]+r[2]*C[2]+r[3]*C[1],this.buffer[1]+=r[0]*C[3]+r[1]*C[2]+r[2]*C[1]+r[3]*C[0]<<16,this}_plus(e){const r=this.buffer[0]+e.buffer[0]>>>0;this.buffer[1]+=e.buffer[1],r>>0&&++this.buffer[1],this.buffer[0]=r}lessThan(e){return this.buffer[1]>>0,r[2]=this.buffer[2]+e.buffer[2]>>>0,r[1]=this.buffer[1]+e.buffer[1]>>>0,r[0]=this.buffer[0]+e.buffer[0]>>>0,r[0]>>0&&++r[1],r[1]>>0&&++r[2],r[2]>>0&&++r[3],this.buffer[3]=r[3],this.buffer[2]=r[2],this.buffer[1]=r[1],this.buffer[0]=r[0],this}hex(){return`${zp(this.buffer[3])} ${zp(this.buffer[2])} ${zp(this.buffer[1])} ${zp(this.buffer[0])}`}static multiply(e,r){return new ah(new Uint32Array(e.buffer)).times(r)}static add(e,r){return new ah(new Uint32Array(e.buffer)).plus(r)}static from(e,r=new Uint32Array(4)){return ah.fromString(typeof e=="string"?e:e.toString(),r)}static fromNumber(e,r=new Uint32Array(4)){return ah.fromString(e.toString(),r)}static fromString(e,r=new Uint32Array(4)){const C=e.startsWith("-"),D=e.length,T=new ah(r);for(let p=C?1:0;p0&&this.readData(e,C)||new Uint8Array(0)}readOffsets(e,r){return this.readData(e,r)}readTypeIds(e,r){return this.readData(e,r)}readData(e,{length:r,offset:C}=this.nextBufferRange()){return this.bytes.subarray(C,C+r)}readDictionary(e){return this.dictionaries.get(e.id)}}class oI extends cM{constructor(e,r,C,D){super(new Uint8Array(0),r,C,D),this.sources=e}readNullBitmap(e,r,{offset:C}=this.nextBufferRange()){return r<=0?new Uint8Array(0):qv(this.sources[C])}readOffsets(e,{offset:r}=this.nextBufferRange()){return qa(Uint8Array,qa(Int32Array,this.sources[r]))}readTypeIds(e,{offset:r}=this.nextBufferRange()){return qa(Uint8Array,qa(e.ArrayType,this.sources[r]))}readData(e,{offset:r}=this.nextBufferRange()){const{sources:C}=this;return _i.isTimestamp(e)||(_i.isInt(e)||_i.isTime(e))&&e.bitWidth===64||_i.isDate(e)&&e.unit===nf.MILLISECOND?qa(Uint8Array,Vl.convertArray(C[r])):_i.isDecimal(e)?qa(Uint8Array,ah.convertArray(C[r])):_i.isBinary(e)||_i.isFixedSizeBinary(e)?sI(C[r]):_i.isBool(e)?qv(C[r]):_i.isUtf8(e)?p2(C[r].join("")):qa(Uint8Array,qa(e.ArrayType,C[r].map(D=>+D)))}}function sI(n){const e=n.join(""),r=new Uint8Array(e.length/2);for(let C=0;C>1]=Number.parseInt(e.slice(C,C+2),16);return r}class Ai extends aa{compareSchemas(e,r){return e===r||r instanceof e.constructor&&this.compareManyFields(e.fields,r.fields)}compareManyFields(e,r){return e===r||Array.isArray(e)&&Array.isArray(r)&&e.length===r.length&&e.every((C,D)=>this.compareFields(C,r[D]))}compareFields(e,r){return e===r||r instanceof e.constructor&&e.name===r.name&&e.nullable===r.nullable&&this.visit(e.type,r.type)}}function Kl(n,e){return e instanceof n.constructor}function Xm(n,e){return n===e||Kl(n,e)}function hf(n,e){return n===e||Kl(n,e)&&n.bitWidth===e.bitWidth&&n.isSigned===e.isSigned}function Gy(n,e){return n===e||Kl(n,e)&&n.precision===e.precision}function lI(n,e){return n===e||Kl(n,e)&&n.byteWidth===e.byteWidth}function I2(n,e){return n===e||Kl(n,e)&&n.unit===e.unit}function Km(n,e){return n===e||Kl(n,e)&&n.unit===e.unit&&n.timezone===e.timezone}function Jm(n,e){return n===e||Kl(n,e)&&n.unit===e.unit&&n.bitWidth===e.bitWidth}function uI(n,e){return n===e||Kl(n,e)&&n.children.length===e.children.length&&Yf.compareManyFields(n.children,e.children)}function cI(n,e){return n===e||Kl(n,e)&&n.children.length===e.children.length&&Yf.compareManyFields(n.children,e.children)}function R2(n,e){return n===e||Kl(n,e)&&n.mode===e.mode&&n.typeIds.every((r,C)=>r===e.typeIds[C])&&Yf.compareManyFields(n.children,e.children)}function hI(n,e){return n===e||Kl(n,e)&&n.id===e.id&&n.isOrdered===e.isOrdered&&Yf.visit(n.indices,e.indices)&&Yf.visit(n.dictionary,e.dictionary)}function P2(n,e){return n===e||Kl(n,e)&&n.unit===e.unit}function fI(n,e){return n===e||Kl(n,e)&&n.listSize===e.listSize&&n.children.length===e.children.length&&Yf.compareManyFields(n.children,e.children)}function dI(n,e){return n===e||Kl(n,e)&&n.keysSorted===e.keysSorted&&n.children.length===e.children.length&&Yf.compareManyFields(n.children,e.children)}Ai.prototype.visitNull=Xm;Ai.prototype.visitBool=Xm;Ai.prototype.visitInt=hf;Ai.prototype.visitInt8=hf;Ai.prototype.visitInt16=hf;Ai.prototype.visitInt32=hf;Ai.prototype.visitInt64=hf;Ai.prototype.visitUint8=hf;Ai.prototype.visitUint16=hf;Ai.prototype.visitUint32=hf;Ai.prototype.visitUint64=hf;Ai.prototype.visitFloat=Gy;Ai.prototype.visitFloat16=Gy;Ai.prototype.visitFloat32=Gy;Ai.prototype.visitFloat64=Gy;Ai.prototype.visitUtf8=Xm;Ai.prototype.visitBinary=Xm;Ai.prototype.visitFixedSizeBinary=lI;Ai.prototype.visitDate=I2;Ai.prototype.visitDateDay=I2;Ai.prototype.visitDateMillisecond=I2;Ai.prototype.visitTimestamp=Km;Ai.prototype.visitTimestampSecond=Km;Ai.prototype.visitTimestampMillisecond=Km;Ai.prototype.visitTimestampMicrosecond=Km;Ai.prototype.visitTimestampNanosecond=Km;Ai.prototype.visitTime=Jm;Ai.prototype.visitTimeSecond=Jm;Ai.prototype.visitTimeMillisecond=Jm;Ai.prototype.visitTimeMicrosecond=Jm;Ai.prototype.visitTimeNanosecond=Jm;Ai.prototype.visitDecimal=Xm;Ai.prototype.visitList=uI;Ai.prototype.visitStruct=cI;Ai.prototype.visitUnion=R2;Ai.prototype.visitDenseUnion=R2;Ai.prototype.visitSparseUnion=R2;Ai.prototype.visitDictionary=hI;Ai.prototype.visitInterval=P2;Ai.prototype.visitIntervalDayTime=P2;Ai.prototype.visitIntervalYearMonth=P2;Ai.prototype.visitFixedSizeList=fI;Ai.prototype.visitMap=dI;const Yf=new Ai;function Xb(n,e){return Yf.compareSchemas(n,e)}function fb(n,e){return pI(n,e.map(r=>r.data.concat()))}function pI(n,e){const r=[...n.fields],C=[],D={numBatches:e.reduce((M,v)=>Math.max(M,v.length),0)};let T=0,p=0,t=-1;const d=e.length;let g,i=[];for(;D.numBatches-- >0;){for(p=Number.POSITIVE_INFINITY,t=-1;++t0&&(C[T++]=ra({type:new bl(r),length:p,nullCount:0,children:i.slice()})))}return[n=n.assign(r),C.map(M=>new ql(n,M))]}function mI(n,e,r,C,D){var T;const p=(e+63&-64)>>3;for(let t=-1,d=C.length;++t=e)i===e?r[t]=g:(r[t]=g.slice(0,e),D.numBatches=Math.max(D.numBatches,C[t].unshift(g.slice(e,i-e))));else{const M=n[t];n[t]=M.clone({nullable:!0}),r[t]=(T=g==null?void 0:g._changeLengthAndBackfillNullBitmap(e))!==null&&T!==void 0?T:ra({type:M.type,length:e,nullCount:e,nullBitmap:new Uint8Array(p)})}}return r}var hM;class ml{constructor(...e){var r,C;if(e.length===0)return this.batches=[],this.schema=new Ea([]),this._offsets=[0],this;let D,T;e[0]instanceof Ea&&(D=e.shift()),e[e.length-1]instanceof Uint32Array&&(T=e.pop());const p=d=>{if(d){if(d instanceof ql)return[d];if(d instanceof ml)return d.batches;if(d instanceof Qa){if(d.type instanceof bl)return[new ql(new Ea(d.type.children),d)]}else{if(Array.isArray(d))return d.flatMap(g=>p(g));if(typeof d[Symbol.iterator]=="function")return[...d].flatMap(g=>p(g));if(typeof d=="object"){const g=Object.keys(d),i=g.map(f=>new Ta([d[f]])),M=new Ea(g.map((f,l)=>new ao(String(f),i[l].type))),[,v]=fb(M,i);return v.length===0?[new ql(d)]:v}}}return[]},t=e.flatMap(d=>p(d));if(D=(C=D??((r=t[0])===null||r===void 0?void 0:r.schema))!==null&&C!==void 0?C:new Ea([]),!(D instanceof Ea))throw new TypeError("Table constructor expects a [Schema, RecordBatch[]] pair.");for(const d of t){if(!(d instanceof ql))throw new TypeError("Table constructor expects a [Schema, RecordBatch[]] pair.");if(!Xb(D,d.schema))throw new TypeError("Table and inner RecordBatch schemas must be equivalent.")}this.schema=D,this.batches=t,this._offsets=T??Xk(this.data)}get data(){return this.batches.map(({data:e})=>e)}get numCols(){return this.schema.fields.length}get numRows(){return this.data.reduce((e,r)=>e+r.length,0)}get nullCount(){return this._nullCount===-1&&(this._nullCount=Zk(this.data)),this._nullCount}isValid(e){return!1}get(e){return null}set(e,r){}indexOf(e,r){return-1}getByteLength(e){return 0}[Symbol.iterator](){return this.batches.length>0?C2.visit(new Ta(this.data)):new Array(0)[Symbol.iterator]()}toArray(){return[...this]}toString(){return`[ ${this.toArray().join(`, `)} -]`}concat(...e){const r=this.schema,C=this.data.concat(e.flatMap(({data:D})=>D));return new vl(r,C.map(D=>new Wl(r,D)))}slice(e,r){const C=this.schema;[e,r]=Wk({length:this.numRows},e,r);const D=Xk(this.data,this._offsets,e,r);return new vl(C,D.map(k=>new Wl(C,k)))}getChild(e){return this.getChildAt(this.schema.fields.findIndex(r=>r.name===e))}getChildAt(e){if(e>-1&&eC.children[e]);if(r.length===0){const{type:C}=this.schema.fields[e],D=ia({type:C,length:0,nullCount:0});r.push(D._changeLengthAndBackfillNullBitmap(this.numRows))}return new Ta(r)}return null}setChild(e,r){var C;return this.setChildAt((C=this.schema.fields)===null||C===void 0?void 0:C.findIndex(D=>D.name===e),r)}setChildAt(e,r){let C=this.schema,D=[...this.batches];if(e>-1&&ethis.getChildAt(y));[k[e],t[e]]=[m,r],[C,D]=hb(C,t)}return new vl(C,D)}select(e){const r=this.schema.fields.reduce((C,D,k)=>C.set(D.name,k),new Map);return this.selectAt(e.map(C=>r.get(C)).filter(C=>C>-1))}selectAt(e){const r=this.schema.selectAt(e),C=this.batches.map(D=>D.selectAt(e));return new vl(r,C)}assign(e){const r=this.schema.fields,[C,D]=e.schema.fields.reduce((t,d,y)=>{const[i,M]=t,v=r.findIndex(h=>h.name===d.name);return~v?M[v]=y:i.push(y),t},[[],[]]),k=this.schema.assign(e.schema),m=[...r.map((t,d)=>[d,D[d]]).map(([t,d])=>d===void 0?this.getChildAt(t):e.getChildAt(d)),...C.map(t=>e.getChildAt(t))].filter(Boolean);return new vl(...hb(k,m))}}cM=Symbol.toStringTag;vl[cM]=(n=>(n.schema=null,n.batches=[],n._offsets=new Uint32Array([0]),n._nullCount=-1,n[Symbol.isConcatSpreadable]=!0,n.isValid=Wp(S2),n.get=Wp(Xl.getVisitFn(Jn.Struct)),n.set=Kk(rc.getVisitFn(Jn.Struct)),n.indexOf=Jk(Wv.getVisitFn(Jn.Struct)),n.getByteLength=Wp(wf.getVisitFn(Jn.Struct)),"Table"))(vl.prototype);var fM;let Wl=class sm{constructor(...e){switch(e.length){case 2:{if([this.schema]=e,!(this.schema instanceof Ea))throw new TypeError("RecordBatch constructor expects a [Schema, Data] pair.");if([,this.data=ia({nullCount:0,type:new xl(this.schema.fields),children:this.schema.fields.map(r=>ia({type:r.type,nullCount:0}))})]=e,!(this.data instanceof Qa))throw new TypeError("RecordBatch constructor expects a [Schema, Data] pair.");[this.schema,this.data]=s5(this.schema,this.data.children);break}case 1:{const[r]=e,{fields:C,children:D,length:k}=Object.keys(r).reduce((d,y,i)=>(d.children[i]=r[y],d.length=Math.max(d.length,r[y].length),d.fields[i]=ao.new({name:y,type:r[y].type,nullable:!0}),d),{length:0,fields:new Array,children:new Array}),m=new Ea(C),t=ia({type:new xl(C),length:k,children:D,nullCount:0});[this.schema,this.data]=s5(m,t.children,k);break}default:throw new TypeError("RecordBatch constructor expects an Object mapping names to child Data, or a [Schema, Data] pair.")}}get dictionaries(){return this._dictionaries||(this._dictionaries=hM(this.schema.fields,this.data.children))}get numCols(){return this.schema.fields.length}get numRows(){return this.data.length}get nullCount(){return this.data.nullCount}isValid(e){return this.data.getValid(e)}get(e){return Xl.visit(this.data,e)}set(e,r){return rc.visit(this.data,e,r)}indexOf(e,r){return Wv.visit(this.data,e,r)}getByteLength(e){return wf.visit(this.data,e)}[Symbol.iterator](){return C2.visit(new Ta([this.data]))}toArray(){return[...this]}concat(...e){return new vl(this.schema,[this,...e])}slice(e,r){const[C]=new Ta([this.data]).slice(e,r).data;return new sm(this.schema,C)}getChild(e){var r;return this.getChildAt((r=this.schema.fields)===null||r===void 0?void 0:r.findIndex(C=>C.name===e))}getChildAt(e){return e>-1&&eD.name===e),r)}setChildAt(e,r){let C=this.schema,D=this.data;if(e>-1&&et.name===k);~m&&(D[m]=this.data.children[m])}return new sm(r,ia({type:C,length:this.numRows,children:D}))}selectAt(e){const r=this.schema.selectAt(e),C=e.map(k=>this.data.children[k]).filter(Boolean),D=ia({type:new xl(r.fields),length:this.numRows,children:C});return new sm(r,D)}};fM=Symbol.toStringTag;Wl[fM]=(n=>(n._nullCount=-1,n[Symbol.isConcatSpreadable]=!0,"RecordBatch"))(Wl.prototype);function s5(n,e,r=e.reduce((C,D)=>Math.max(C,D.length),0)){var C;const D=[...n.fields],k=[...e],m=(r+63&-64)>>3;for(const[t,d]of n.fields.entries()){const y=e[t];(!y||y.length!==r)&&(D[t]=d.clone({nullable:!0}),k[t]=(C=y==null?void 0:y._changeLengthAndBackfillNullBitmap(r))!==null&&C!==void 0?C:ia({type:d.type,length:r,nullCount:r,nullBitmap:new Uint8Array(m)}))}return[n.assign(D),ia({type:new xl(D),length:r,children:k})]}function hM(n,e,r=new Map){for(let C=-1,D=n.length;++C0&&hM(m.children,t.children,r)}return r}class O2 extends Wl{constructor(e){const r=e.fields.map(D=>ia({type:D.type})),C=ia({type:new xl(e.fields),nullCount:0,children:r});super(e,C)}}var ty;(function(n){n[n.BUFFER=0]="BUFFER"})(ty||(ty={}));var ny;(function(n){n[n.LZ4_FRAME=0]="LZ4_FRAME",n[n.ZSTD=1]="ZSTD"})(ny||(ny={}));class Oh{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsBodyCompression(e,r){return(r||new Oh).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsBodyCompression(e,r){return e.setPosition(e.position()+Wa),(r||new Oh).__init(e.readInt32(e.position())+e.position(),e)}codec(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt8(this.bb_pos+e):ny.LZ4_FRAME}method(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.readInt8(this.bb_pos+e):ty.BUFFER}static startBodyCompression(e){e.startObject(2)}static addCodec(e,r){e.addFieldInt8(0,r,ny.LZ4_FRAME)}static addMethod(e,r){e.addFieldInt8(1,r,ty.BUFFER)}static endBodyCompression(e){return e.endObject()}static createBodyCompression(e,r,C){return Oh.startBodyCompression(e),Oh.addCodec(e,r),Oh.addMethod(e,C),Oh.endBodyCompression(e)}}let dM=class{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}offset(){return this.bb.readInt64(this.bb_pos)}length(){return this.bb.readInt64(this.bb_pos+8)}static sizeOf(){return 16}static createBuffer(e,r,C){return e.prep(8,16),e.writeInt64(C),e.writeInt64(r),e.offset()}},pM=class{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}length(){return this.bb.readInt64(this.bb_pos)}nullCount(){return this.bb.readInt64(this.bb_pos+8)}static sizeOf(){return 16}static createFieldNode(e,r,C){return e.prep(8,16),e.writeInt64(C),e.writeInt64(r),e.offset()}},Yf=class Kb{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsRecordBatch(e,r){return(r||new Kb).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsRecordBatch(e,r){return e.setPosition(e.position()+Wa),(r||new Kb).__init(e.readInt32(e.position())+e.position(),e)}length(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt64(this.bb_pos+e):this.bb.createLong(0,0)}nodes(e,r){const C=this.bb.__offset(this.bb_pos,6);return C?(r||new pM).__init(this.bb.__vector(this.bb_pos+C)+e*16,this.bb):null}nodesLength(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.__vector_len(this.bb_pos+e):0}buffers(e,r){const C=this.bb.__offset(this.bb_pos,8);return C?(r||new dM).__init(this.bb.__vector(this.bb_pos+C)+e*16,this.bb):null}buffersLength(){const e=this.bb.__offset(this.bb_pos,8);return e?this.bb.__vector_len(this.bb_pos+e):0}compression(e){const r=this.bb.__offset(this.bb_pos,10);return r?(e||new Oh).__init(this.bb.__indirect(this.bb_pos+r),this.bb):null}static startRecordBatch(e){e.startObject(4)}static addLength(e,r){e.addFieldInt64(0,r,e.createLong(0,0))}static addNodes(e,r){e.addFieldOffset(1,r,0)}static startNodesVector(e,r){e.startVector(16,r,8)}static addBuffers(e,r){e.addFieldOffset(2,r,0)}static startBuffersVector(e,r){e.startVector(16,r,8)}static addCompression(e,r){e.addFieldOffset(3,r,0)}static endRecordBatch(e){return e.endObject()}},Dp=class Jb{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsDictionaryBatch(e,r){return(r||new Jb).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsDictionaryBatch(e,r){return e.setPosition(e.position()+Wa),(r||new Jb).__init(e.readInt32(e.position())+e.position(),e)}id(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt64(this.bb_pos+e):this.bb.createLong(0,0)}data(e){const r=this.bb.__offset(this.bb_pos,6);return r?(e||new Yf).__init(this.bb.__indirect(this.bb_pos+r),this.bb):null}isDelta(){const e=this.bb.__offset(this.bb_pos,8);return e?!!this.bb.readInt8(this.bb_pos+e):!1}static startDictionaryBatch(e){e.startObject(3)}static addId(e,r){e.addFieldInt64(0,r,e.createLong(0,0))}static addData(e,r){e.addFieldOffset(1,r,0)}static addIsDelta(e,r){e.addFieldInt8(2,+r,0)}static endDictionaryBatch(e){return e.endObject()}};var ry;(function(n){n[n.NONE=0]="NONE",n[n.Schema=1]="Schema",n[n.DictionaryBatch=2]="DictionaryBatch",n[n.RecordBatch=3]="RecordBatch",n[n.Tensor=4]="Tensor",n[n.SparseTensor=5]="SparseTensor"})(ry||(ry={}));let Eh=class rf{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsMessage(e,r){return(r||new rf).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsMessage(e,r){return e.setPosition(e.position()+Wa),(r||new rf).__init(e.readInt32(e.position())+e.position(),e)}version(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):Qp.V1}headerType(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.readUint8(this.bb_pos+e):ry.NONE}header(e){const r=this.bb.__offset(this.bb_pos,8);return r?this.bb.__union(e,this.bb_pos+r):null}bodyLength(){const e=this.bb.__offset(this.bb_pos,10);return e?this.bb.readInt64(this.bb_pos+e):this.bb.createLong(0,0)}customMetadata(e,r){const C=this.bb.__offset(this.bb_pos,12);return C?(r||new hs).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+C)+e*4),this.bb):null}customMetadataLength(){const e=this.bb.__offset(this.bb_pos,12);return e?this.bb.__vector_len(this.bb_pos+e):0}static startMessage(e){e.startObject(5)}static addVersion(e,r){e.addFieldInt16(0,r,Qp.V1)}static addHeaderType(e,r){e.addFieldInt8(1,r,ry.NONE)}static addHeader(e,r){e.addFieldOffset(2,r,0)}static addBodyLength(e,r){e.addFieldInt64(3,r,e.createLong(0,0))}static addCustomMetadata(e,r){e.addFieldOffset(4,r,0)}static createCustomMetadataVector(e,r){e.startVector(4,r.length,4);for(let C=r.length-1;C>=0;C--)e.addOffset(r[C]);return e.endVector()}static startCustomMetadataVector(e,r){e.startVector(4,r,4)}static endMessage(e){return e.endObject()}static finishMessageBuffer(e,r){e.finish(r)}static finishSizePrefixedMessageBuffer(e,r){e.finish(r,void 0,!0)}static createMessage(e,r,C,D,k,m){return rf.startMessage(e),rf.addVersion(e,r),rf.addHeaderType(e,C),rf.addHeader(e,D),rf.addBodyLength(e,k),rf.addCustomMetadata(e,m),rf.endMessage(e)}};var mI=Qf;class gI extends aa{visit(e,r){return e==null||r==null?void 0:super.visit(e,r)}visitNull(e,r){return Id.startNull(r),Id.endNull(r)}visitInt(e,r){return mu.startInt(r),mu.addBitWidth(r,e.bitWidth),mu.addIsSigned(r,e.isSigned),mu.endInt(r)}visitFloat(e,r){return df.startFloatingPoint(r),df.addPrecision(r,e.precision),df.endFloatingPoint(r)}visitBinary(e,r){return Cd.startBinary(r),Cd.endBinary(r)}visitBool(e,r){return Ed.startBool(r),Ed.endBool(r)}visitUtf8(e,r){return Pd.startUtf8(r),Pd.endUtf8(r)}visitDecimal(e,r){return Gl.startDecimal(r),Gl.addScale(r,e.scale),Gl.addPrecision(r,e.precision),Gl.addBitWidth(r,e.bitWidth),Gl.endDecimal(r)}visitDate(e,r){return gv.startDate(r),gv.addUnit(r,e.unit),gv.endDate(r)}visitTime(e,r){return Xu.startTime(r),Xu.addUnit(r,e.unit),Xu.addBitWidth(r,e.bitWidth),Xu.endTime(r)}visitTimestamp(e,r){const C=e.timezone&&r.createString(e.timezone)||void 0;return Ku.startTimestamp(r),Ku.addUnit(r,e.unit),C!==void 0&&Ku.addTimezone(r,C),Ku.endTimestamp(r)}visitInterval(e,r){return pf.startInterval(r),pf.addUnit(r,e.unit),pf.endInterval(r)}visitList(e,r){return Ld.startList(r),Ld.endList(r)}visitStruct(e,r){return Rd.startStruct_(r),Rd.endStruct_(r)}visitUnion(e,r){ql.startTypeIdsVector(r,e.typeIds.length);const C=ql.createTypeIdsVector(r,e.typeIds);return ql.startUnion(r),ql.addMode(r,e.mode),ql.addTypeIds(r,C),ql.endUnion(r)}visitDictionary(e,r){const C=this.visit(e.indices,r);return Xf.startDictionaryEncoding(r),Xf.addId(r,new mI(e.id,0)),Xf.addIsOrdered(r,e.isOrdered),C!==void 0&&Xf.addIndexType(r,C),Xf.endDictionaryEncoding(r)}visitFixedSizeBinary(e,r){return ff.startFixedSizeBinary(r),ff.addByteWidth(r,e.byteWidth),ff.endFixedSizeBinary(r)}visitFixedSizeList(e,r){return hf.startFixedSizeList(r),hf.addListSize(r,e.listSize),hf.endFixedSizeList(r)}visitMap(e,r){return vv.startMap(r),vv.addKeysSorted(r,e.keysSorted),vv.endMap(r)}}const db=new gI;function vI(n,e=new Map){return new Ea(bI(n,e),xv(n.customMetadata),e)}function mM(n){return new _u(n.count,gM(n.columns),vM(n.columns))}function yI(n){return new Tf(mM(n.data),n.id,n.isDelta)}function bI(n,e){return(n.fields||[]).filter(Boolean).map(r=>ao.fromJSON(r,e))}function l5(n,e){return(n.children||[]).filter(Boolean).map(r=>ao.fromJSON(r,e))}function gM(n){return(n||[]).reduce((e,r)=>[...e,new Jd(r.count,xI(r.VALIDITY)),...gM(r.children)],[])}function vM(n,e=[]){for(let r=-1,C=(n||[]).length;++re+ +(r===0),0)}function _I(n,e){let r,C,D,k,m,t;return!e||!(k=n.dictionary)?(m=c5(n,l5(n,e)),D=new ao(n.name,m,n.nullable,xv(n.customMetadata))):e.has(r=k.id)?(C=(C=k.indexType)?u5(C):new Lm,t=new Kp(e.get(r),C,r,k.isOrdered),D=new ao(n.name,t,n.nullable,xv(n.customMetadata))):(C=(C=k.indexType)?u5(C):new Lm,e.set(r,m=c5(n,l5(n,e))),t=new Kp(m,C,r,k.isOrdered),D=new ao(n.name,t,n.nullable,xv(n.customMetadata))),D||null}function xv(n){return new Map(Object.entries(n||{}))}function u5(n){return new qh(n.isSigned,n.bitWidth)}function c5(n,e){const r=n.type.name;switch(r){case"NONE":return new Gh;case"null":return new Gh;case"binary":return new Pv;case"utf8":return new Ov;case"bool":return new Dv;case"list":return new Vv((e||[])[0]);case"struct":return new xl(e||[]);case"struct_":return new xl(e||[])}switch(r){case"int":{const C=n.type;return new qh(C.isSigned,C.bitWidth)}case"floatingpoint":{const C=n.type;return new Im($l[C.precision])}case"decimal":{const C=n.type;return new zv(C.scale,C.precision,C.bitWidth)}case"date":{const C=n.type;return new Fv(rh[C.unit])}case"time":{const C=n.type;return new Rm(wa[C.unit],C.bitWidth)}case"timestamp":{const C=n.type;return new Bv(wa[C.unit],C.timezone)}case"interval":{const C=n.type;return new Nv(Hh[C.unit])}case"union":{const C=n.type;return new jv(xu[C.mode],C.typeIds||[],e||[])}case"fixedsizebinary":{const C=n.type;return new Uv(C.byteWidth)}case"fixedsizelist":{const C=n.type;return new Hv(C.listSize,(e||[])[0])}case"map":{const C=n.type;return new Gv((e||[])[0],C.keysSorted)}}throw new Error(`Unrecognized type: "${r}"`)}var Gd=Qf,wI=oM,TI=Jp;class _l{constructor(e,r,C,D){this._version=r,this._headerType=C,this.body=new Uint8Array(0),D&&(this._createHeader=()=>D),this._bodyLength=typeof e=="number"?e:e.low}static fromJSON(e,r){const C=new _l(0,gu.V4,r);return C._createHeader=kI(e,r),C}static decode(e){e=new TI(_a(e));const r=Eh.getRootAsMessage(e),C=r.bodyLength(),D=r.version(),k=r.headerType(),m=new _l(C,D,k);return m._createHeader=MI(r,k),m}static encode(e){const r=new wI;let C=-1;return e.isSchema()?C=Ea.encode(r,e.header()):e.isRecordBatch()?C=_u.encode(r,e.header()):e.isDictionaryBatch()&&(C=Tf.encode(r,e.header())),Eh.startMessage(r),Eh.addVersion(r,gu.V4),Eh.addHeader(r,C),Eh.addHeaderType(r,e.headerType),Eh.addBodyLength(r,new Gd(e.bodyLength,0)),Eh.finishMessageBuffer(r,Eh.endMessage(r)),r.asUint8Array()}static from(e,r=0){if(e instanceof Ea)return new _l(0,gu.V4,Ca.Schema,e);if(e instanceof _u)return new _l(r,gu.V4,Ca.RecordBatch,e);if(e instanceof Tf)return new _l(r,gu.V4,Ca.DictionaryBatch,e);throw new Error(`Unrecognized Message header: ${e}`)}get type(){return this.headerType}get version(){return this._version}get headerType(){return this._headerType}get bodyLength(){return this._bodyLength}header(){return this._createHeader()}isSchema(){return this.headerType===Ca.Schema}isRecordBatch(){return this.headerType===Ca.RecordBatch}isDictionaryBatch(){return this.headerType===Ca.DictionaryBatch}}class _u{constructor(e,r,C){this._nodes=r,this._buffers=C,this._length=typeof e=="number"?e:e.low}get nodes(){return this._nodes}get length(){return this._length}get buffers(){return this._buffers}}class Tf{constructor(e,r,C=!1){this._data=e,this._isDelta=C,this._id=typeof r=="number"?r:r.low}get id(){return this._id}get data(){return this._data}get isDelta(){return this._isDelta}get length(){return this.data.length}get nodes(){return this.data.nodes}get buffers(){return this.data.buffers}}class vf{constructor(e,r){this.offset=typeof e=="number"?e:e.low,this.length=typeof r=="number"?r:r.low}}class Jd{constructor(e,r){this.length=typeof e=="number"?e:e.low,this.nullCount=typeof r=="number"?r:r.low}}function kI(n,e){return()=>{switch(e){case Ca.Schema:return Ea.fromJSON(n);case Ca.RecordBatch:return _u.fromJSON(n);case Ca.DictionaryBatch:return Tf.fromJSON(n)}throw new Error(`Unrecognized Message type: { name: ${Ca[e]}, type: ${e} }`)}}function MI(n,e){return()=>{switch(e){case Ca.Schema:return Ea.decode(n.header(new af));case Ca.RecordBatch:return _u.decode(n.header(new Yf),n.version());case Ca.DictionaryBatch:return Tf.decode(n.header(new Dp),n.version())}throw new Error(`Unrecognized Message type: { name: ${Ca[e]}, type: ${e} }`)}}ao.encode=zI;ao.decode=OI;ao.fromJSON=_I;Ea.encode=DI;Ea.decode=AI;Ea.fromJSON=vI;_u.encode=FI;_u.decode=SI;_u.fromJSON=mM;Tf.encode=BI;Tf.decode=CI;Tf.fromJSON=yI;Jd.encode=NI;Jd.decode=LI;vf.encode=VI;vf.decode=EI;function AI(n,e=new Map){const r=PI(n,e);return new Ea(r,_v(n),e)}function SI(n,e=gu.V4){if(n.compression()!==null)throw new Error("Record batch compression not implemented");return new _u(n.length(),II(n),RI(n,e))}function CI(n,e=gu.V4){return new Tf(_u.decode(n.data(),e),n.id(),n.isDelta())}function EI(n){return new vf(n.offset(),n.length())}function LI(n){return new Jd(n.length(),n.nullCount())}function II(n){const e=[];for(let r,C=-1,D=-1,k=n.nodesLength();++Cao.encode(n,k));af.startFieldsVector(n,r.length);const C=af.createFieldsVector(n,r),D=e.metadata&&e.metadata.size>0?af.createCustomMetadataVector(n,[...e.metadata].map(([k,m])=>{const t=n.createString(`${k}`),d=n.createString(`${m}`);return hs.startKeyValue(n),hs.addKey(n,t),hs.addValue(n,d),hs.endKeyValue(n)})):-1;return af.startSchema(n),af.addFields(n,C),af.addEndianness(n,jI?e0.Little:e0.Big),D!==-1&&af.addCustomMetadata(n,D),af.endSchema(n)}function zI(n,e){let r=-1,C=-1,D=-1;const k=e.type;let m=e.typeId;_i.isDictionary(k)?(m=k.dictionary.typeId,D=db.visit(k,n),C=db.visit(k.dictionary,n)):C=db.visit(k,n);const t=(k.children||[]).map(i=>ao.encode(n,i)),d=Wu.createChildrenVector(n,t),y=e.metadata&&e.metadata.size>0?Wu.createCustomMetadataVector(n,[...e.metadata].map(([i,M])=>{const v=n.createString(`${i}`),h=n.createString(`${M}`);return hs.startKeyValue(n),hs.addKey(n,v),hs.addValue(n,h),hs.endKeyValue(n)})):-1;return e.name&&(r=n.createString(e.name)),Wu.startField(n),Wu.addType(n,C),Wu.addTypeType(n,m),Wu.addChildren(n,d),Wu.addNullable(n,!!e.nullable),r!==-1&&Wu.addName(n,r),D!==-1&&Wu.addDictionary(n,D),y!==-1&&Wu.addCustomMetadata(n,y),Wu.endField(n)}function FI(n,e){const r=e.nodes||[],C=e.buffers||[];Yf.startNodesVector(n,r.length);for(const m of r.slice().reverse())Jd.encode(n,m);const D=n.endVector();Yf.startBuffersVector(n,C.length);for(const m of C.slice().reverse())vf.encode(n,m);const k=n.endVector();return Yf.startRecordBatch(n),Yf.addLength(n,new Gd(e.length,0)),Yf.addNodes(n,D),Yf.addBuffers(n,k),Yf.endRecordBatch(n)}function BI(n,e){const r=_u.encode(n,e.data);return Dp.startDictionaryBatch(n),Dp.addId(n,new Gd(e.id,0)),Dp.addIsDelta(n,e.isDelta),Dp.addData(n,r),Dp.endDictionaryBatch(n)}function NI(n,e){return pM.createFieldNode(n,new Gd(e.length,0),new Gd(e.nullCount,0))}function VI(n,e){return dM.createBuffer(n,new Gd(e.offset,0),new Gd(e.length,0))}const jI=(()=>{const n=new ArrayBuffer(2);return new DataView(n).setInt16(0,256,!0),new Int16Array(n)[0]===256})(),D2=n=>`Expected ${Ca[n]} Message in stream, but was null or length 0.`,z2=n=>`Header pointer of flatbuffer-encoded ${Ca[n]} Message is null or length 0.`,yM=(n,e)=>`Expected to read ${n} metadata bytes, but only read ${e}.`,bM=(n,e)=>`Expected to read ${n} bytes for message body, but only read ${e}.`;class xM{constructor(e){this.source=e instanceof Qv?e:new Qv(e)}[Symbol.iterator](){return this}next(){let e;return(e=this.readMetadataLength()).done||e.value===-1&&(e=this.readMetadataLength()).done||(e=this.readMetadata(e.value)).done?So:e}throw(e){return this.source.throw(e)}return(e){return this.source.return(e)}readMessage(e){let r;if((r=this.next()).done)return null;if(e!=null&&r.value.headerType!==e)throw new Error(D2(e));return r.value}readMessageBody(e){if(e<=0)return new Uint8Array(0);const r=_a(this.source.read(e));if(r.byteLength[...D,...k.VALIDITY&&[k.VALIDITY]||[],...k.TYPE&&[k.TYPE]||[],...k.OFFSET&&[k.OFFSET]||[],...k.DATA&&[k.DATA]||[],...r(k.children)],[])}}readMessage(e){let r;if((r=this.next()).done)return null;if(e!=null&&r.value.headerType!==e)throw new Error(D2(e));return r.value}readSchema(){const e=Ca.Schema,r=this.readMessage(e),C=r==null?void 0:r.header();if(!r||!C)throw new Error(z2(e));return C}}const qy=4,Qb="ARROW1",Om=new Uint8Array(Qb.length);for(let n=0;nthis):this}readRecordBatch(e){return this._impl.isFile()?this._impl.readRecordBatch(e):null}[Symbol.iterator](){return this._impl[Symbol.iterator]()}[Symbol.asyncIterator](){return this._impl[Symbol.asyncIterator]()}toDOMStream(){return Zu.toDOMStream(this.isSync()?{[Symbol.iterator]:()=>this}:{[Symbol.asyncIterator]:()=>this})}toNodeStream(){return Zu.toNodeStream(this.isSync()?{[Symbol.iterator]:()=>this}:{[Symbol.asyncIterator]:()=>this},{objectMode:!0})}static throughNode(e){throw new Error('"throughNode" not available in this environment')}static throughDOM(e,r){throw new Error('"throughDOM" not available in this environment')}static from(e){return e instanceof eh?e:Ub(e)?YI(e):j4(e)?KI(e):Uh(e)?(()=>yi(this,void 0,void 0,function*(){return yield eh.from(yield e)}))():U4(e)||m2(e)||H4(e)||g0(e)?XI(new n0(e)):ZI(new Qv(e))}static readAll(e){return e instanceof eh?e.isSync()?p5(e):m5(e):Ub(e)||ArrayBuffer.isView(e)||Zm(e)||V4(e)?p5(e):m5(e)}}class iy extends eh{constructor(e){super(e),this._impl=e}readAll(){return[...this]}[Symbol.iterator](){return this._impl[Symbol.iterator]()}[Symbol.asyncIterator](){return gf(this,arguments,function*(){yield zi(yield*mv(Nd(this[Symbol.iterator]())))})}}class ay extends eh{constructor(e){super(e),this._impl=e}readAll(){var e,r;return yi(this,void 0,void 0,function*(){const C=new Array;try{for(var D=Nd(this),k;k=yield D.next(),!k.done;){const m=k.value;C.push(m)}}catch(m){e={error:m}}finally{try{k&&!k.done&&(r=D.return)&&(yield r.call(D))}finally{if(e)throw e.error}}return C})}[Symbol.iterator](){throw new Error("AsyncRecordBatchStreamReader is not Iterable")}[Symbol.asyncIterator](){return this._impl[Symbol.asyncIterator]()}}class wM extends iy{constructor(e){super(e),this._impl=e}}class qI extends ay{constructor(e){super(e),this._impl=e}}class TM{constructor(e=new Map){this.closed=!1,this.autoDestroy=!0,this._dictionaryIndex=0,this._recordBatchIndex=0,this.dictionaries=e}get numDictionaries(){return this._dictionaryIndex}get numRecordBatches(){return this._recordBatchIndex}isSync(){return!1}isAsync(){return!1}isFile(){return!1}isStream(){return!1}reset(e){return this._dictionaryIndex=0,this._recordBatchIndex=0,this.schema=e,this.dictionaries=new Map,this}_loadRecordBatch(e,r){const C=this._loadVectors(e,r,this.schema.fields),D=ia({type:new xl(this.schema.fields),length:e.length,children:C});return new Wl(this.schema,D)}_loadDictionaryBatch(e,r){const{id:C,isDelta:D}=e,{dictionaries:k,schema:m}=this,t=k.get(C);if(D||!t){const d=m.dictionaries.get(C),y=this._loadVectors(e.data,r,[d]);return(t&&D?t.concat(new Ta(y)):new Ta(y)).memoize()}return t.memoize()}_loadVectors(e,r,C){return new uM(r,e.nodes,e.buffers,this.dictionaries).visitMany(C)}}class oy extends TM{constructor(e,r){super(r),this._reader=Ub(e)?new HI(this._handle=e):new xM(this._handle=e)}isSync(){return!0}isStream(){return!0}[Symbol.iterator](){return this}cancel(){!this.closed&&(this.closed=!0)&&(this.reset()._reader.return(),this._reader=null,this.dictionaries=null)}open(e){return this.closed||(this.autoDestroy=MM(this,e),this.schema||(this.schema=this._reader.readSchema())||this.cancel()),this}throw(e){return!this.closed&&this.autoDestroy&&(this.closed=!0)?this.reset()._reader.throw(e):So}return(e){return!this.closed&&this.autoDestroy&&(this.closed=!0)?this.reset()._reader.return(e):So}next(){if(this.closed)return So;let e;const{_reader:r}=this;for(;e=this._readNextMessageAndValidate();)if(e.isSchema())this.reset(e.header());else if(e.isRecordBatch()){this._recordBatchIndex++;const C=e.header(),D=r.readMessageBody(e.bodyLength);return{done:!1,value:this._loadRecordBatch(C,D)}}else if(e.isDictionaryBatch()){this._dictionaryIndex++;const C=e.header(),D=r.readMessageBody(e.bodyLength),k=this._loadDictionaryBatch(C,D);this.dictionaries.set(C.id,k)}return this.schema&&this._recordBatchIndex===0?(this._recordBatchIndex++,{done:!1,value:new O2(this.schema)}):this.return()}_readNextMessageAndValidate(e){return this._reader.readMessage(e)}}class sy extends TM{constructor(e,r){super(r),this._reader=new UI(this._handle=e)}isAsync(){return!0}isStream(){return!0}[Symbol.asyncIterator](){return this}cancel(){return yi(this,void 0,void 0,function*(){!this.closed&&(this.closed=!0)&&(yield this.reset()._reader.return(),this._reader=null,this.dictionaries=null)})}open(e){return yi(this,void 0,void 0,function*(){return this.closed||(this.autoDestroy=MM(this,e),this.schema||(this.schema=yield this._reader.readSchema())||(yield this.cancel())),this})}throw(e){return yi(this,void 0,void 0,function*(){return!this.closed&&this.autoDestroy&&(this.closed=!0)?yield this.reset()._reader.throw(e):So})}return(e){return yi(this,void 0,void 0,function*(){return!this.closed&&this.autoDestroy&&(this.closed=!0)?yield this.reset()._reader.return(e):So})}next(){return yi(this,void 0,void 0,function*(){if(this.closed)return So;let e;const{_reader:r}=this;for(;e=yield this._readNextMessageAndValidate();)if(e.isSchema())yield this.reset(e.header());else if(e.isRecordBatch()){this._recordBatchIndex++;const C=e.header(),D=yield r.readMessageBody(e.bodyLength);return{done:!1,value:this._loadRecordBatch(C,D)}}else if(e.isDictionaryBatch()){this._dictionaryIndex++;const C=e.header(),D=yield r.readMessageBody(e.bodyLength),k=this._loadDictionaryBatch(C,D);this.dictionaries.set(C.id,k)}return this.schema&&this._recordBatchIndex===0?(this._recordBatchIndex++,{done:!1,value:new O2(this.schema)}):yield this.return()})}_readNextMessageAndValidate(e){return yi(this,void 0,void 0,function*(){return yield this._reader.readMessage(e)})}}class kM extends oy{constructor(e,r){super(e instanceof o5?e:new o5(e),r)}get footer(){return this._footer}get numDictionaries(){return this._footer?this._footer.numDictionaries:0}get numRecordBatches(){return this._footer?this._footer.numRecordBatches:0}isSync(){return!0}isFile(){return!0}open(e){if(!this.closed&&!this._footer){this.schema=(this._footer=this._readFooter()).schema;for(const r of this._footer.dictionaryBatches())r&&this._readDictionaryBatch(this._dictionaryIndex++)}return super.open(e)}readRecordBatch(e){var r;if(this.closed)return null;this._footer||this.open();const C=(r=this._footer)===null||r===void 0?void 0:r.getRecordBatch(e);if(C&&this._handle.seek(C.offset)){const D=this._reader.readMessage(Ca.RecordBatch);if(D!=null&&D.isRecordBatch()){const k=D.header(),m=this._reader.readMessageBody(D.bodyLength);return this._loadRecordBatch(k,m)}}return null}_readDictionaryBatch(e){var r;const C=(r=this._footer)===null||r===void 0?void 0:r.getDictionaryBatch(e);if(C&&this._handle.seek(C.offset)){const D=this._reader.readMessage(Ca.DictionaryBatch);if(D!=null&&D.isDictionaryBatch()){const k=D.header(),m=this._reader.readMessageBody(D.bodyLength),t=this._loadDictionaryBatch(k,m);this.dictionaries.set(k.id,t)}}}_readFooter(){const{_handle:e}=this,r=e.size-_M,C=e.readInt32(r),D=e.readAt(r-C,C);return Pm.decode(D)}_readNextMessageAndValidate(e){var r;if(this._footer||this.open(),this._footer&&this._recordBatchIndexsuper.open}});return yi(this,void 0,void 0,function*(){if(!this.closed&&!this._footer){this.schema=(this._footer=yield this._readFooter()).schema;for(const C of this._footer.dictionaryBatches())C&&(yield this._readDictionaryBatch(this._dictionaryIndex++))}return yield r.open.call(this,e)})}readRecordBatch(e){var r;return yi(this,void 0,void 0,function*(){if(this.closed)return null;this._footer||(yield this.open());const C=(r=this._footer)===null||r===void 0?void 0:r.getRecordBatch(e);if(C&&(yield this._handle.seek(C.offset))){const D=yield this._reader.readMessage(Ca.RecordBatch);if(D!=null&&D.isRecordBatch()){const k=D.header(),m=yield this._reader.readMessageBody(D.bodyLength);return this._loadRecordBatch(k,m)}}return null})}_readDictionaryBatch(e){var r;return yi(this,void 0,void 0,function*(){const C=(r=this._footer)===null||r===void 0?void 0:r.getDictionaryBatch(e);if(C&&(yield this._handle.seek(C.offset))){const D=yield this._reader.readMessage(Ca.DictionaryBatch);if(D!=null&&D.isDictionaryBatch()){const k=D.header(),m=yield this._reader.readMessageBody(D.bodyLength),t=this._loadDictionaryBatch(k,m);this.dictionaries.set(k.id,t)}}})}_readFooter(){return yi(this,void 0,void 0,function*(){const{_handle:e}=this;e._pending&&(yield e._pending);const r=e.size-_M,C=yield e.readInt32(r),D=yield e.readAt(r-C,C);return Pm.decode(D)})}_readNextMessageAndValidate(e){return yi(this,void 0,void 0,function*(){if(this._footer||(yield this.open()),this._footer&&this._recordBatchIndex=4?F2(e)?new wM(new kM(n.read())):new iy(new oy(n)):new iy(new oy(function*(){}()))}function XI(n){return yi(this,void 0,void 0,function*(){const e=yield n.peek(Qm+7&-8);return e&&e.byteLength>=4?F2(e)?new wM(new kM(yield n.read())):new ay(new sy(n)):new ay(new sy(function(){return gf(this,arguments,function*(){})}()))})}function KI(n){return yi(this,void 0,void 0,function*(){const{size:e}=yield n.stat(),r=new ey(n,e);return e>=GI&&F2(yield r.readAt(0,Qm+7&-8))?new qI(new WI(r)):new ay(new sy(r))})}class ts extends aa{constructor(){super(),this._byteLength=0,this._nodes=[],this._buffers=[],this._bufferRegions=[]}static assemble(...e){const r=D=>D.flatMap(k=>Array.isArray(k)?r(k):k instanceof Wl?k.data.children:k.data),C=new ts;return C.visitMany(r(e)),C}visit(e){if(e instanceof Ta)return this.visitMany(e.data),this;const{type:r}=e;if(!_i.isDictionary(r)){const{length:C,nullCount:D}=e;if(C>2147483647)throw new RangeError("Cannot write arrays larger than 2^31 - 1 in length");_i.isNull(r)||zc.call(this,D<=0?new Uint8Array(0):k2(e.offset,C,e.nullBitmap)),this.nodes.push(new Jd(C,D))}return super.visit(e)}visitNull(e){return this}visitDictionary(e){return this.visit(e.clone(e.type.indices))}get nodes(){return this._nodes}get buffers(){return this._buffers}get byteLength(){return this._byteLength}get bufferRegions(){return this._bufferRegions}}function zc(n){const e=n.byteLength+7&-8;return this.buffers.push(n),this.bufferRegions.push(new vf(this._byteLength,e)),this._byteLength+=e,this}function JI(n){const{type:e,length:r,typeIds:C,valueOffsets:D}=n;if(zc.call(this,C),e.mode===xu.Sparse)return ex.call(this,n);if(e.mode===xu.Dense){if(n.offset<=0)return zc.call(this,D),ex.call(this,n);{const k=C.reduce((i,M)=>Math.max(i,M),C[0]),m=new Int32Array(k+1),t=new Int32Array(k+1).fill(-1),d=new Int32Array(r),y=v2(-D[0],r,D);for(let i,M,v=-1;++v=n.length?zc.call(this,new Uint8Array(0)):(e=n.values)instanceof Uint8Array?zc.call(this,k2(n.offset,n.length,e)):zc.call(this,qv(n.values))}function Qh(n){return zc.call(this,n.values.subarray(0,n.length*n.stride))}function AM(n){const{length:e,values:r,valueOffsets:C}=n,D=C[0],k=C[e],m=Math.min(k-D,r.byteLength-D);return zc.call(this,v2(-C[0],e,C)),zc.call(this,r.subarray(D,D+m)),this}function B2(n){const{length:e,valueOffsets:r}=n;return r&&zc.call(this,v2(r[0],e,r)),this.visit(n.children[0])}function ex(n){return this.visitMany(n.type.children.map((e,r)=>n.children[r]).filter(Boolean))[0]}ts.prototype.visitBool=QI;ts.prototype.visitInt=Qh;ts.prototype.visitFloat=Qh;ts.prototype.visitUtf8=AM;ts.prototype.visitBinary=AM;ts.prototype.visitFixedSizeBinary=Qh;ts.prototype.visitDate=Qh;ts.prototype.visitTimestamp=Qh;ts.prototype.visitTime=Qh;ts.prototype.visitDecimal=Qh;ts.prototype.visitList=B2;ts.prototype.visitStruct=ex;ts.prototype.visitUnion=JI;ts.prototype.visitInterval=Qh;ts.prototype.visitFixedSizeList=B2;ts.prototype.visitMap=B2;class SM extends E2{constructor(e){super(),this._position=0,this._started=!1,this._sink=new bv,this._schema=null,this._dictionaryBlocks=[],this._recordBatchBlocks=[],this._dictionaryDeltaOffsets=new Map,Zl(e)||(e={autoDestroy:!0,writeLegacyIpcFormat:!1}),this._autoDestroy=typeof e.autoDestroy=="boolean"?e.autoDestroy:!0,this._writeLegacyIpcFormat=typeof e.writeLegacyIpcFormat=="boolean"?e.writeLegacyIpcFormat:!1}static throughNode(e){throw new Error('"throughNode" not available in this environment')}static throughDOM(e,r){throw new Error('"throughDOM" not available in this environment')}toString(e=!1){return this._sink.toString(e)}toUint8Array(e=!1){return this._sink.toUint8Array(e)}writeAll(e){return Uh(e)?e.then(r=>this.writeAll(r)):g0(e)?U2(this,e):j2(this,e)}get closed(){return this._sink.closed}[Symbol.asyncIterator](){return this._sink[Symbol.asyncIterator]()}toDOMStream(e){return this._sink.toDOMStream(e)}toNodeStream(e){return this._sink.toNodeStream(e)}close(){return this.reset()._sink.close()}abort(e){return this.reset()._sink.abort(e)}finish(){return this._autoDestroy?this.close():this.reset(this._sink,this._schema),this}reset(e=this._sink,r=null){return e===this._sink||e instanceof bv?this._sink=e:(this._sink=new bv,e&&x9(e)?this.toDOMStream({type:"bytes"}).pipeTo(e):e&&_9(e)&&this.toNodeStream({objectMode:!1}).pipe(e)),this._started&&this._schema&&this._writeFooter(this._schema),this._started=!1,this._dictionaryBlocks=[],this._recordBatchBlocks=[],this._dictionaryDeltaOffsets=new Map,(!r||!Xb(r,this._schema))&&(r==null?(this._position=0,this._schema=null):(this._started=!0,this._schema=r,this._writeSchema(r))),this}write(e){let r=null;if(this._sink){if(e==null)return this.finish()&&void 0;if(e instanceof vl&&!(r=e.schema))return this.finish()&&void 0;if(e instanceof Wl&&!(r=e.schema))return this.finish()&&void 0}else throw new Error("RecordBatchWriter is closed");if(r&&!Xb(r,this._schema)){if(this._started&&this._autoDestroy)return this.close();this.reset(this._sink,r)}e instanceof Wl?e instanceof O2||this._writeRecordBatch(e):e instanceof vl?this.writeAll(e.batches):Zm(e)&&this.writeAll(e)}_writeMessage(e,r=8){const C=r-1,D=_l.encode(e),k=D.byteLength,m=this._writeLegacyIpcFormat?4:8,t=k+m+C&~C,d=t-k-m;return e.headerType===Ca.RecordBatch?this._recordBatchBlocks.push(new Wh(t,e.bodyLength,this._position)):e.headerType===Ca.DictionaryBatch&&this._dictionaryBlocks.push(new Wh(t,e.bodyLength,this._position)),this._writeLegacyIpcFormat||this._write(Int32Array.of(-1)),this._write(Int32Array.of(t-m)),k>0&&this._write(D),this._writePadding(d)}_write(e){if(this._started){const r=_a(e);r&&r.byteLength>0&&(this._sink.write(r),this._position+=r.byteLength)}return this}_writeSchema(e){return this._writeMessage(_l.from(e))}_writeFooter(e){return this._writeLegacyIpcFormat?this._write(Int32Array.of(0)):this._write(Int32Array.of(-1,0))}_writeMagic(){return this._write(Om)}_writePadding(e){return e>0?this._write(new Uint8Array(e)):this}_writeRecordBatch(e){const{byteLength:r,nodes:C,bufferRegions:D,buffers:k}=ts.assemble(e),m=new _u(e.numRows,C,D),t=_l.from(m,r);return this._writeDictionaries(e)._writeMessage(t)._writeBodyBuffers(k)}_writeDictionaryBatch(e,r,C=!1){this._dictionaryDeltaOffsets.set(r,e.length+(this._dictionaryDeltaOffsets.get(r)||0));const{byteLength:D,nodes:k,bufferRegions:m,buffers:t}=ts.assemble(new Ta([e])),d=new _u(e.length,k,m),y=new Tf(d,r,C),i=_l.from(y,D);return this._writeMessage(i)._writeBodyBuffers(t)}_writeBodyBuffers(e){let r,C,D;for(let k=-1,m=e.length;++k0&&(this._write(r),(D=(C+7&-8)-C)>0&&this._writePadding(D));return this}_writeDictionaries(e){for(let[r,C]of e.dictionaries){let D=this._dictionaryDeltaOffsets.get(r)||0;if(D===0||(C=C==null?void 0:C.slice(D)).length>0)for(const k of C.data)this._writeDictionaryBatch(k,r,D>0),D+=k.length}return this}}class N2 extends SM{static writeAll(e,r){const C=new N2(r);return Uh(e)?e.then(D=>C.writeAll(D)):g0(e)?U2(C,e):j2(C,e)}}class V2 extends SM{static writeAll(e){const r=new V2;return Uh(e)?e.then(C=>r.writeAll(C)):g0(e)?U2(r,e):j2(r,e)}constructor(){super(),this._autoDestroy=!0}_writeSchema(e){return this._writeMagic()._writePadding(2)}_writeFooter(e){const r=Pm.encode(new Pm(e,gu.V4,this._recordBatchBlocks,this._dictionaryBlocks));return super._writeFooter(e)._write(r)._write(Int32Array.of(r.byteLength))._writeMagic()}}function j2(n,e){let r=e;e instanceof vl&&(r=e.batches,n.reset(void 0,e.schema));for(const C of r)n.write(C);return n.finish()}function U2(n,e){var r,C,D,k;return yi(this,void 0,void 0,function*(){try{for(r=Nd(e);C=yield r.next(),!C.done;){const m=C.value;n.write(m)}}catch(m){D={error:m}}finally{try{C&&!C.done&&(k=r.return)&&(yield k.call(r))}finally{if(D)throw D.error}}return n.finish()})}function lm(n){const e=eh.from(n);return Uh(e)?e.then(r=>lm(r)):e.isAsync()?e.readAll().then(r=>new vl(r)):new vl(e.readAll())}function pb(n,e="stream"){return(e==="stream"?N2:V2).writeAll(n).toUint8Array(!0)}var tx=function(){function n(e,r,C,D){var k=this;this.getCell=function(m,t){var d=m=k.headerRows&&t=k.headerColumns;if(d){var M=["blank"];return t>0&&M.push("level"+m),{type:"blank",classNames:M.join(" "),content:""}}else if(i){var v=t-k.headerColumns,M=["col_heading","level"+m,"col"+v];return{type:"columns",classNames:M.join(" "),content:k.getContent(k.columnsTable,v,m)}}else if(y){var h=m-k.headerRows,M=["row_heading","level"+t,"row"+h];return{type:"index",id:"T_".concat(k.uuid,"level").concat(t,"_row").concat(h),classNames:M.join(" "),content:k.getContent(k.indexTable,h,t)}}else{var h=m-k.headerRows,v=t-k.headerColumns,M=["data","row"+h,"col"+v],l=k.styler?k.getContent(k.styler.displayValuesTable,h,v):k.getContent(k.dataTable,h,v);return{type:"data",id:"T_".concat(k.uuid,"row").concat(h,"_col").concat(v),classNames:M.join(" "),content:l}}},this.getContent=function(m,t,d){var y=m.getChildAt(d);if(y===null)return"";var i=k.getColumnTypeId(m,d);switch(i){case Jn.Timestamp:return k.nanosToDate(y.get(t));default:return y.get(t)}},this.dataTable=lm(e),this.indexTable=lm(r),this.columnsTable=lm(C),this.styler=D?{caption:D.caption,displayValuesTable:lm(D.displayValues),styles:D.styles,uuid:D.uuid}:void 0}return Object.defineProperty(n.prototype,"rows",{get:function(){return this.indexTable.numRows+this.columnsTable.numCols},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"columns",{get:function(){return this.indexTable.numCols+this.columnsTable.numRows},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"headerRows",{get:function(){return this.rows-this.dataRows},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"headerColumns",{get:function(){return this.columns-this.dataColumns},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dataRows",{get:function(){return this.dataTable.numRows},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dataColumns",{get:function(){return this.dataTable.numCols},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uuid",{get:function(){return this.styler&&this.styler.uuid},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"caption",{get:function(){return this.styler&&this.styler.caption},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"styles",{get:function(){return this.styler&&this.styler.styles},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"table",{get:function(){return this.dataTable},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"index",{get:function(){return this.indexTable},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"columnTable",{get:function(){return this.columnsTable},enumerable:!1,configurable:!0}),n.prototype.serialize=function(){return{data:pb(this.dataTable),index:pb(this.indexTable),columns:pb(this.columnsTable)}},n.prototype.getColumnTypeId=function(e,r){return e.schema.fields[r].type.typeId},n.prototype.nanosToDate=function(e){return new Date(e/1e6)},n}(),gm=globalThis&&globalThis.__assign||function(){return gm=Object.assign||function(n){for(var e,r=1,C=arguments.length;r0?n.argsDataframeToObject(e.dfs):{};r=gm(gm({},r),C);var D=!!e.disabled,k=e.theme;k&&eR(k);var m={disabled:D,args:r,theme:k},t=new CustomEvent(n.RENDER_EVENT,{detail:m});n.events.dispatchEvent(t)},n.argsDataframeToObject=function(e){var r=e.map(function(C){var D=C.key,k=C.value;return[D,n.toArrowTable(k)]});return Object.fromEntries(r)},n.toArrowTable=function(e){var r,C=(r=e.data,r.data),D=r.index,k=r.columns,m=r.styler;return new tx(C,D,k,m)},n.sendBackMsg=function(e,r){window.parent.postMessage(gm({isStreamlitMessage:!0,type:e},r),"*")},n}(),eR=function(n){var e=document.createElement("style");document.head.appendChild(e),e.innerHTML=` +]`}concat(...e){const r=this.schema,C=this.data.concat(e.flatMap(({data:D})=>D));return new ml(r,C.map(D=>new ql(r,D)))}slice(e,r){const C=this.schema;[e,r]=Yk({length:this.numRows},e,r);const D=Kk(this.data,this._offsets,e,r);return new ml(C,D.map(T=>new ql(C,T)))}getChild(e){return this.getChildAt(this.schema.fields.findIndex(r=>r.name===e))}getChildAt(e){if(e>-1&&eC.children[e]);if(r.length===0){const{type:C}=this.schema.fields[e],D=ra({type:C,length:0,nullCount:0});r.push(D._changeLengthAndBackfillNullBitmap(this.numRows))}return new Ta(r)}return null}setChild(e,r){var C;return this.setChildAt((C=this.schema.fields)===null||C===void 0?void 0:C.findIndex(D=>D.name===e),r)}setChildAt(e,r){let C=this.schema,D=[...this.batches];if(e>-1&&ethis.getChildAt(g));[T[e],t[e]]=[p,r],[C,D]=fb(C,t)}return new ml(C,D)}select(e){const r=this.schema.fields.reduce((C,D,T)=>C.set(D.name,T),new Map);return this.selectAt(e.map(C=>r.get(C)).filter(C=>C>-1))}selectAt(e){const r=this.schema.selectAt(e),C=this.batches.map(D=>D.selectAt(e));return new ml(r,C)}assign(e){const r=this.schema.fields,[C,D]=e.schema.fields.reduce((t,d,g)=>{const[i,M]=t,v=r.findIndex(f=>f.name===d.name);return~v?M[v]=g:i.push(g),t},[[],[]]),T=this.schema.assign(e.schema),p=[...r.map((t,d)=>[d,D[d]]).map(([t,d])=>d===void 0?this.getChildAt(t):e.getChildAt(d)),...C.map(t=>e.getChildAt(t))].filter(Boolean);return new ml(...fb(T,p))}}hM=Symbol.toStringTag;ml[hM]=(n=>(n.schema=null,n.batches=[],n._offsets=new Uint32Array([0]),n._nullCount=-1,n[Symbol.isConcatSpreadable]=!0,n.isValid=Wp(S2),n.get=Wp(Xl.getVisitFn(Jn.Struct)),n.set=Jk(nc.getVisitFn(Jn.Struct)),n.indexOf=Qk(Wv.getVisitFn(Jn.Struct)),n.getByteLength=Wp(_h.getVisitFn(Jn.Struct)),"Table"))(ml.prototype);var fM;let ql=class sm{constructor(...e){switch(e.length){case 2:{if([this.schema]=e,!(this.schema instanceof Ea))throw new TypeError("RecordBatch constructor expects a [Schema, Data] pair.");if([,this.data=ra({nullCount:0,type:new bl(this.schema.fields),children:this.schema.fields.map(r=>ra({type:r.type,nullCount:0}))})]=e,!(this.data instanceof Qa))throw new TypeError("RecordBatch constructor expects a [Schema, Data] pair.");[this.schema,this.data]=s5(this.schema,this.data.children);break}case 1:{const[r]=e,{fields:C,children:D,length:T}=Object.keys(r).reduce((d,g,i)=>(d.children[i]=r[g],d.length=Math.max(d.length,r[g].length),d.fields[i]=ao.new({name:g,type:r[g].type,nullable:!0}),d),{length:0,fields:new Array,children:new Array}),p=new Ea(C),t=ra({type:new bl(C),length:T,children:D,nullCount:0});[this.schema,this.data]=s5(p,t.children,T);break}default:throw new TypeError("RecordBatch constructor expects an Object mapping names to child Data, or a [Schema, Data] pair.")}}get dictionaries(){return this._dictionaries||(this._dictionaries=dM(this.schema.fields,this.data.children))}get numCols(){return this.schema.fields.length}get numRows(){return this.data.length}get nullCount(){return this.data.nullCount}isValid(e){return this.data.getValid(e)}get(e){return Xl.visit(this.data,e)}set(e,r){return nc.visit(this.data,e,r)}indexOf(e,r){return Wv.visit(this.data,e,r)}getByteLength(e){return _h.visit(this.data,e)}[Symbol.iterator](){return C2.visit(new Ta([this.data]))}toArray(){return[...this]}concat(...e){return new ml(this.schema,[this,...e])}slice(e,r){const[C]=new Ta([this.data]).slice(e,r).data;return new sm(this.schema,C)}getChild(e){var r;return this.getChildAt((r=this.schema.fields)===null||r===void 0?void 0:r.findIndex(C=>C.name===e))}getChildAt(e){return e>-1&&eD.name===e),r)}setChildAt(e,r){let C=this.schema,D=this.data;if(e>-1&&et.name===T);~p&&(D[p]=this.data.children[p])}return new sm(r,ra({type:C,length:this.numRows,children:D}))}selectAt(e){const r=this.schema.selectAt(e),C=e.map(T=>this.data.children[T]).filter(Boolean),D=ra({type:new bl(r.fields),length:this.numRows,children:C});return new sm(r,D)}};fM=Symbol.toStringTag;ql[fM]=(n=>(n._nullCount=-1,n[Symbol.isConcatSpreadable]=!0,"RecordBatch"))(ql.prototype);function s5(n,e,r=e.reduce((C,D)=>Math.max(C,D.length),0)){var C;const D=[...n.fields],T=[...e],p=(r+63&-64)>>3;for(const[t,d]of n.fields.entries()){const g=e[t];(!g||g.length!==r)&&(D[t]=d.clone({nullable:!0}),T[t]=(C=g==null?void 0:g._changeLengthAndBackfillNullBitmap(r))!==null&&C!==void 0?C:ra({type:d.type,length:r,nullCount:r,nullBitmap:new Uint8Array(p)}))}return[n.assign(D),ra({type:new bl(D),length:r,children:T})]}function dM(n,e,r=new Map){for(let C=-1,D=n.length;++C0&&dM(p.children,t.children,r)}return r}class O2 extends ql{constructor(e){const r=e.fields.map(D=>ra({type:D.type})),C=ra({type:new bl(e.fields),nullCount:0,children:r});super(e,C)}}var ty;(function(n){n[n.BUFFER=0]="BUFFER"})(ty||(ty={}));var ny;(function(n){n[n.LZ4_FRAME=0]="LZ4_FRAME",n[n.ZSTD=1]="ZSTD"})(ny||(ny={}));class Of{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsBodyCompression(e,r){return(r||new Of).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsBodyCompression(e,r){return e.setPosition(e.position()+Wa),(r||new Of).__init(e.readInt32(e.position())+e.position(),e)}codec(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt8(this.bb_pos+e):ny.LZ4_FRAME}method(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.readInt8(this.bb_pos+e):ty.BUFFER}static startBodyCompression(e){e.startObject(2)}static addCodec(e,r){e.addFieldInt8(0,r,ny.LZ4_FRAME)}static addMethod(e,r){e.addFieldInt8(1,r,ty.BUFFER)}static endBodyCompression(e){return e.endObject()}static createBodyCompression(e,r,C){return Of.startBodyCompression(e),Of.addCodec(e,r),Of.addMethod(e,C),Of.endBodyCompression(e)}}let pM=class{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}offset(){return this.bb.readInt64(this.bb_pos)}length(){return this.bb.readInt64(this.bb_pos+8)}static sizeOf(){return 16}static createBuffer(e,r,C){return e.prep(8,16),e.writeInt64(C),e.writeInt64(r),e.offset()}},mM=class{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}length(){return this.bb.readInt64(this.bb_pos)}nullCount(){return this.bb.readInt64(this.bb_pos+8)}static sizeOf(){return 16}static createFieldNode(e,r,C){return e.prep(8,16),e.writeInt64(C),e.writeInt64(r),e.offset()}},Yh=class Kb{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsRecordBatch(e,r){return(r||new Kb).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsRecordBatch(e,r){return e.setPosition(e.position()+Wa),(r||new Kb).__init(e.readInt32(e.position())+e.position(),e)}length(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt64(this.bb_pos+e):this.bb.createLong(0,0)}nodes(e,r){const C=this.bb.__offset(this.bb_pos,6);return C?(r||new mM).__init(this.bb.__vector(this.bb_pos+C)+e*16,this.bb):null}nodesLength(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.__vector_len(this.bb_pos+e):0}buffers(e,r){const C=this.bb.__offset(this.bb_pos,8);return C?(r||new pM).__init(this.bb.__vector(this.bb_pos+C)+e*16,this.bb):null}buffersLength(){const e=this.bb.__offset(this.bb_pos,8);return e?this.bb.__vector_len(this.bb_pos+e):0}compression(e){const r=this.bb.__offset(this.bb_pos,10);return r?(e||new Of).__init(this.bb.__indirect(this.bb_pos+r),this.bb):null}static startRecordBatch(e){e.startObject(4)}static addLength(e,r){e.addFieldInt64(0,r,e.createLong(0,0))}static addNodes(e,r){e.addFieldOffset(1,r,0)}static startNodesVector(e,r){e.startVector(16,r,8)}static addBuffers(e,r){e.addFieldOffset(2,r,0)}static startBuffersVector(e,r){e.startVector(16,r,8)}static addCompression(e,r){e.addFieldOffset(3,r,0)}static endRecordBatch(e){return e.endObject()}},Dp=class Jb{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsDictionaryBatch(e,r){return(r||new Jb).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsDictionaryBatch(e,r){return e.setPosition(e.position()+Wa),(r||new Jb).__init(e.readInt32(e.position())+e.position(),e)}id(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt64(this.bb_pos+e):this.bb.createLong(0,0)}data(e){const r=this.bb.__offset(this.bb_pos,6);return r?(e||new Yh).__init(this.bb.__indirect(this.bb_pos+r),this.bb):null}isDelta(){const e=this.bb.__offset(this.bb_pos,8);return e?!!this.bb.readInt8(this.bb_pos+e):!1}static startDictionaryBatch(e){e.startObject(3)}static addId(e,r){e.addFieldInt64(0,r,e.createLong(0,0))}static addData(e,r){e.addFieldOffset(1,r,0)}static addIsDelta(e,r){e.addFieldInt8(2,+r,0)}static endDictionaryBatch(e){return e.endObject()}};var ry;(function(n){n[n.NONE=0]="NONE",n[n.Schema=1]="Schema",n[n.DictionaryBatch=2]="DictionaryBatch",n[n.RecordBatch=3]="RecordBatch",n[n.Tensor=4]="Tensor",n[n.SparseTensor=5]="SparseTensor"})(ry||(ry={}));let Ef=class rh{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsMessage(e,r){return(r||new rh).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsMessage(e,r){return e.setPosition(e.position()+Wa),(r||new rh).__init(e.readInt32(e.position())+e.position(),e)}version(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):Qp.V1}headerType(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.readUint8(this.bb_pos+e):ry.NONE}header(e){const r=this.bb.__offset(this.bb_pos,8);return r?this.bb.__union(e,this.bb_pos+r):null}bodyLength(){const e=this.bb.__offset(this.bb_pos,10);return e?this.bb.readInt64(this.bb_pos+e):this.bb.createLong(0,0)}customMetadata(e,r){const C=this.bb.__offset(this.bb_pos,12);return C?(r||new cs).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+C)+e*4),this.bb):null}customMetadataLength(){const e=this.bb.__offset(this.bb_pos,12);return e?this.bb.__vector_len(this.bb_pos+e):0}static startMessage(e){e.startObject(5)}static addVersion(e,r){e.addFieldInt16(0,r,Qp.V1)}static addHeaderType(e,r){e.addFieldInt8(1,r,ry.NONE)}static addHeader(e,r){e.addFieldOffset(2,r,0)}static addBodyLength(e,r){e.addFieldInt64(3,r,e.createLong(0,0))}static addCustomMetadata(e,r){e.addFieldOffset(4,r,0)}static createCustomMetadataVector(e,r){e.startVector(4,r.length,4);for(let C=r.length-1;C>=0;C--)e.addOffset(r[C]);return e.endVector()}static startCustomMetadataVector(e,r){e.startVector(4,r,4)}static endMessage(e){return e.endObject()}static finishMessageBuffer(e,r){e.finish(r)}static finishSizePrefixedMessageBuffer(e,r){e.finish(r,void 0,!0)}static createMessage(e,r,C,D,T,p){return rh.startMessage(e),rh.addVersion(e,r),rh.addHeaderType(e,C),rh.addHeader(e,D),rh.addBodyLength(e,T),rh.addCustomMetadata(e,p),rh.endMessage(e)}};var gI=Jh;class vI extends aa{visit(e,r){return e==null||r==null?void 0:super.visit(e,r)}visitNull(e,r){return Id.startNull(r),Id.endNull(r)}visitInt(e,r){return mu.startInt(r),mu.addBitWidth(r,e.bitWidth),mu.addIsSigned(r,e.isSigned),mu.endInt(r)}visitFloat(e,r){return fh.startFloatingPoint(r),fh.addPrecision(r,e.precision),fh.endFloatingPoint(r)}visitBinary(e,r){return Cd.startBinary(r),Cd.endBinary(r)}visitBool(e,r){return Ed.startBool(r),Ed.endBool(r)}visitUtf8(e,r){return Pd.startUtf8(r),Pd.endUtf8(r)}visitDecimal(e,r){return Hl.startDecimal(r),Hl.addScale(r,e.scale),Hl.addPrecision(r,e.precision),Hl.addBitWidth(r,e.bitWidth),Hl.endDecimal(r)}visitDate(e,r){return gv.startDate(r),gv.addUnit(r,e.unit),gv.endDate(r)}visitTime(e,r){return Zu.startTime(r),Zu.addUnit(r,e.unit),Zu.addBitWidth(r,e.bitWidth),Zu.endTime(r)}visitTimestamp(e,r){const C=e.timezone&&r.createString(e.timezone)||void 0;return Xu.startTimestamp(r),Xu.addUnit(r,e.unit),C!==void 0&&Xu.addTimezone(r,C),Xu.endTimestamp(r)}visitInterval(e,r){return dh.startInterval(r),dh.addUnit(r,e.unit),dh.endInterval(r)}visitList(e,r){return Ld.startList(r),Ld.endList(r)}visitStruct(e,r){return Rd.startStruct_(r),Rd.endStruct_(r)}visitUnion(e,r){Gl.startTypeIdsVector(r,e.typeIds.length);const C=Gl.createTypeIdsVector(r,e.typeIds);return Gl.startUnion(r),Gl.addMode(r,e.mode),Gl.addTypeIds(r,C),Gl.endUnion(r)}visitDictionary(e,r){const C=this.visit(e.indices,r);return Zh.startDictionaryEncoding(r),Zh.addId(r,new gI(e.id,0)),Zh.addIsOrdered(r,e.isOrdered),C!==void 0&&Zh.addIndexType(r,C),Zh.endDictionaryEncoding(r)}visitFixedSizeBinary(e,r){return ch.startFixedSizeBinary(r),ch.addByteWidth(r,e.byteWidth),ch.endFixedSizeBinary(r)}visitFixedSizeList(e,r){return hh.startFixedSizeList(r),hh.addListSize(r,e.listSize),hh.endFixedSizeList(r)}visitMap(e,r){return vv.startMap(r),vv.addKeysSorted(r,e.keysSorted),vv.endMap(r)}}const db=new vI;function yI(n,e=new Map){return new Ea(xI(n,e),xv(n.customMetadata),e)}function gM(n){return new _u(n.count,vM(n.columns),yM(n.columns))}function bI(n){return new wh(gM(n.data),n.id,n.isDelta)}function xI(n,e){return(n.fields||[]).filter(Boolean).map(r=>ao.fromJSON(r,e))}function l5(n,e){return(n.children||[]).filter(Boolean).map(r=>ao.fromJSON(r,e))}function vM(n){return(n||[]).reduce((e,r)=>[...e,new Jd(r.count,_I(r.VALIDITY)),...vM(r.children)],[])}function yM(n,e=[]){for(let r=-1,C=(n||[]).length;++re+ +(r===0),0)}function wI(n,e){let r,C,D,T,p,t;return!e||!(T=n.dictionary)?(p=c5(n,l5(n,e)),D=new ao(n.name,p,n.nullable,xv(n.customMetadata))):e.has(r=T.id)?(C=(C=T.indexType)?u5(C):new Lm,t=new Kp(e.get(r),C,r,T.isOrdered),D=new ao(n.name,t,n.nullable,xv(n.customMetadata))):(C=(C=T.indexType)?u5(C):new Lm,e.set(r,p=c5(n,l5(n,e))),t=new Kp(p,C,r,T.isOrdered),D=new ao(n.name,t,n.nullable,xv(n.customMetadata))),D||null}function xv(n){return new Map(Object.entries(n||{}))}function u5(n){return new qf(n.isSigned,n.bitWidth)}function c5(n,e){const r=n.type.name;switch(r){case"NONE":return new Gf;case"null":return new Gf;case"binary":return new Pv;case"utf8":return new Ov;case"bool":return new Dv;case"list":return new Vv((e||[])[0]);case"struct":return new bl(e||[]);case"struct_":return new bl(e||[])}switch(r){case"int":{const C=n.type;return new qf(C.isSigned,C.bitWidth)}case"floatingpoint":{const C=n.type;return new Im(Yl[C.precision])}case"decimal":{const C=n.type;return new zv(C.scale,C.precision,C.bitWidth)}case"date":{const C=n.type;return new Fv(nf[C.unit])}case"time":{const C=n.type;return new Rm(wa[C.unit],C.bitWidth)}case"timestamp":{const C=n.type;return new Bv(wa[C.unit],C.timezone)}case"interval":{const C=n.type;return new Nv(Hf[C.unit])}case"union":{const C=n.type;return new jv(xu[C.mode],C.typeIds||[],e||[])}case"fixedsizebinary":{const C=n.type;return new Uv(C.byteWidth)}case"fixedsizelist":{const C=n.type;return new Hv(C.listSize,(e||[])[0])}case"map":{const C=n.type;return new Gv((e||[])[0],C.keysSorted)}}throw new Error(`Unrecognized type: "${r}"`)}var Gd=Jh,TI=sM,kI=Jp;class xl{constructor(e,r,C,D){this._version=r,this._headerType=C,this.body=new Uint8Array(0),D&&(this._createHeader=()=>D),this._bodyLength=typeof e=="number"?e:e.low}static fromJSON(e,r){const C=new xl(0,gu.V4,r);return C._createHeader=MI(e,r),C}static decode(e){e=new kI(_a(e));const r=Ef.getRootAsMessage(e),C=r.bodyLength(),D=r.version(),T=r.headerType(),p=new xl(C,D,T);return p._createHeader=AI(r,T),p}static encode(e){const r=new TI;let C=-1;return e.isSchema()?C=Ea.encode(r,e.header()):e.isRecordBatch()?C=_u.encode(r,e.header()):e.isDictionaryBatch()&&(C=wh.encode(r,e.header())),Ef.startMessage(r),Ef.addVersion(r,gu.V4),Ef.addHeader(r,C),Ef.addHeaderType(r,e.headerType),Ef.addBodyLength(r,new Gd(e.bodyLength,0)),Ef.finishMessageBuffer(r,Ef.endMessage(r)),r.asUint8Array()}static from(e,r=0){if(e instanceof Ea)return new xl(0,gu.V4,Ca.Schema,e);if(e instanceof _u)return new xl(r,gu.V4,Ca.RecordBatch,e);if(e instanceof wh)return new xl(r,gu.V4,Ca.DictionaryBatch,e);throw new Error(`Unrecognized Message header: ${e}`)}get type(){return this.headerType}get version(){return this._version}get headerType(){return this._headerType}get bodyLength(){return this._bodyLength}header(){return this._createHeader()}isSchema(){return this.headerType===Ca.Schema}isRecordBatch(){return this.headerType===Ca.RecordBatch}isDictionaryBatch(){return this.headerType===Ca.DictionaryBatch}}class _u{constructor(e,r,C){this._nodes=r,this._buffers=C,this._length=typeof e=="number"?e:e.low}get nodes(){return this._nodes}get length(){return this._length}get buffers(){return this._buffers}}class wh{constructor(e,r,C=!1){this._data=e,this._isDelta=C,this._id=typeof r=="number"?r:r.low}get id(){return this._id}get data(){return this._data}get isDelta(){return this._isDelta}get length(){return this.data.length}get nodes(){return this.data.nodes}get buffers(){return this.data.buffers}}class gh{constructor(e,r){this.offset=typeof e=="number"?e:e.low,this.length=typeof r=="number"?r:r.low}}class Jd{constructor(e,r){this.length=typeof e=="number"?e:e.low,this.nullCount=typeof r=="number"?r:r.low}}function MI(n,e){return()=>{switch(e){case Ca.Schema:return Ea.fromJSON(n);case Ca.RecordBatch:return _u.fromJSON(n);case Ca.DictionaryBatch:return wh.fromJSON(n)}throw new Error(`Unrecognized Message type: { name: ${Ca[e]}, type: ${e} }`)}}function AI(n,e){return()=>{switch(e){case Ca.Schema:return Ea.decode(n.header(new ih));case Ca.RecordBatch:return _u.decode(n.header(new Yh),n.version());case Ca.DictionaryBatch:return wh.decode(n.header(new Dp),n.version())}throw new Error(`Unrecognized Message type: { name: ${Ca[e]}, type: ${e} }`)}}ao.encode=FI;ao.decode=DI;ao.fromJSON=wI;Ea.encode=zI;Ea.decode=SI;Ea.fromJSON=yI;_u.encode=BI;_u.decode=CI;_u.fromJSON=gM;wh.encode=NI;wh.decode=EI;wh.fromJSON=bI;Jd.encode=VI;Jd.decode=II;gh.encode=jI;gh.decode=LI;function SI(n,e=new Map){const r=OI(n,e);return new Ea(r,_v(n),e)}function CI(n,e=gu.V4){if(n.compression()!==null)throw new Error("Record batch compression not implemented");return new _u(n.length(),RI(n),PI(n,e))}function EI(n,e=gu.V4){return new wh(_u.decode(n.data(),e),n.id(),n.isDelta())}function LI(n){return new gh(n.offset(),n.length())}function II(n){return new Jd(n.length(),n.nullCount())}function RI(n){const e=[];for(let r,C=-1,D=-1,T=n.nodesLength();++Cao.encode(n,T));ih.startFieldsVector(n,r.length);const C=ih.createFieldsVector(n,r),D=e.metadata&&e.metadata.size>0?ih.createCustomMetadataVector(n,[...e.metadata].map(([T,p])=>{const t=n.createString(`${T}`),d=n.createString(`${p}`);return cs.startKeyValue(n),cs.addKey(n,t),cs.addValue(n,d),cs.endKeyValue(n)})):-1;return ih.startSchema(n),ih.addFields(n,C),ih.addEndianness(n,UI?e0.Little:e0.Big),D!==-1&&ih.addCustomMetadata(n,D),ih.endSchema(n)}function FI(n,e){let r=-1,C=-1,D=-1;const T=e.type;let p=e.typeId;_i.isDictionary(T)?(p=T.dictionary.typeId,D=db.visit(T,n),C=db.visit(T.dictionary,n)):C=db.visit(T,n);const t=(T.children||[]).map(i=>ao.encode(n,i)),d=qu.createChildrenVector(n,t),g=e.metadata&&e.metadata.size>0?qu.createCustomMetadataVector(n,[...e.metadata].map(([i,M])=>{const v=n.createString(`${i}`),f=n.createString(`${M}`);return cs.startKeyValue(n),cs.addKey(n,v),cs.addValue(n,f),cs.endKeyValue(n)})):-1;return e.name&&(r=n.createString(e.name)),qu.startField(n),qu.addType(n,C),qu.addTypeType(n,p),qu.addChildren(n,d),qu.addNullable(n,!!e.nullable),r!==-1&&qu.addName(n,r),D!==-1&&qu.addDictionary(n,D),g!==-1&&qu.addCustomMetadata(n,g),qu.endField(n)}function BI(n,e){const r=e.nodes||[],C=e.buffers||[];Yh.startNodesVector(n,r.length);for(const p of r.slice().reverse())Jd.encode(n,p);const D=n.endVector();Yh.startBuffersVector(n,C.length);for(const p of C.slice().reverse())gh.encode(n,p);const T=n.endVector();return Yh.startRecordBatch(n),Yh.addLength(n,new Gd(e.length,0)),Yh.addNodes(n,D),Yh.addBuffers(n,T),Yh.endRecordBatch(n)}function NI(n,e){const r=_u.encode(n,e.data);return Dp.startDictionaryBatch(n),Dp.addId(n,new Gd(e.id,0)),Dp.addIsDelta(n,e.isDelta),Dp.addData(n,r),Dp.endDictionaryBatch(n)}function VI(n,e){return mM.createFieldNode(n,new Gd(e.length,0),new Gd(e.nullCount,0))}function jI(n,e){return pM.createBuffer(n,new Gd(e.offset,0),new Gd(e.length,0))}const UI=(()=>{const n=new ArrayBuffer(2);return new DataView(n).setInt16(0,256,!0),new Int16Array(n)[0]===256})(),D2=n=>`Expected ${Ca[n]} Message in stream, but was null or length 0.`,z2=n=>`Header pointer of flatbuffer-encoded ${Ca[n]} Message is null or length 0.`,bM=(n,e)=>`Expected to read ${n} metadata bytes, but only read ${e}.`,xM=(n,e)=>`Expected to read ${n} bytes for message body, but only read ${e}.`;class _M{constructor(e){this.source=e instanceof Qv?e:new Qv(e)}[Symbol.iterator](){return this}next(){let e;return(e=this.readMetadataLength()).done||e.value===-1&&(e=this.readMetadataLength()).done||(e=this.readMetadata(e.value)).done?So:e}throw(e){return this.source.throw(e)}return(e){return this.source.return(e)}readMessage(e){let r;if((r=this.next()).done)return null;if(e!=null&&r.value.headerType!==e)throw new Error(D2(e));return r.value}readMessageBody(e){if(e<=0)return new Uint8Array(0);const r=_a(this.source.read(e));if(r.byteLength[...D,...T.VALIDITY&&[T.VALIDITY]||[],...T.TYPE&&[T.TYPE]||[],...T.OFFSET&&[T.OFFSET]||[],...T.DATA&&[T.DATA]||[],...r(T.children)],[])}}readMessage(e){let r;if((r=this.next()).done)return null;if(e!=null&&r.value.headerType!==e)throw new Error(D2(e));return r.value}readSchema(){const e=Ca.Schema,r=this.readMessage(e),C=r==null?void 0:r.header();if(!r||!C)throw new Error(z2(e));return C}}const qy=4,Qb="ARROW1",Om=new Uint8Array(Qb.length);for(let n=0;nthis):this}readRecordBatch(e){return this._impl.isFile()?this._impl.readRecordBatch(e):null}[Symbol.iterator](){return this._impl[Symbol.iterator]()}[Symbol.asyncIterator](){return this._impl[Symbol.asyncIterator]()}toDOMStream(){return $u.toDOMStream(this.isSync()?{[Symbol.iterator]:()=>this}:{[Symbol.asyncIterator]:()=>this})}toNodeStream(){return $u.toNodeStream(this.isSync()?{[Symbol.iterator]:()=>this}:{[Symbol.asyncIterator]:()=>this},{objectMode:!0})}static throughNode(e){throw new Error('"throughNode" not available in this environment')}static throughDOM(e,r){throw new Error('"throughDOM" not available in this environment')}static from(e){return e instanceof Qh?e:Ub(e)?ZI(e):U4(e)?JI(e):Uf(e)?(()=>yi(this,void 0,void 0,function*(){return yield Qh.from(yield e)}))():H4(e)||m2(e)||G4(e)||g0(e)?KI(new n0(e)):XI(new Qv(e))}static readAll(e){return e instanceof Qh?e.isSync()?p5(e):m5(e):Ub(e)||ArrayBuffer.isView(e)||Zm(e)||j4(e)?p5(e):m5(e)}}class iy extends Qh{constructor(e){super(e),this._impl=e}readAll(){return[...this]}[Symbol.iterator](){return this._impl[Symbol.iterator]()}[Symbol.asyncIterator](){return mh(this,arguments,function*(){yield zi(yield*mv(Nd(this[Symbol.iterator]())))})}}class ay extends Qh{constructor(e){super(e),this._impl=e}readAll(){var e,r;return yi(this,void 0,void 0,function*(){const C=new Array;try{for(var D=Nd(this),T;T=yield D.next(),!T.done;){const p=T.value;C.push(p)}}catch(p){e={error:p}}finally{try{T&&!T.done&&(r=D.return)&&(yield r.call(D))}finally{if(e)throw e.error}}return C})}[Symbol.iterator](){throw new Error("AsyncRecordBatchStreamReader is not Iterable")}[Symbol.asyncIterator](){return this._impl[Symbol.asyncIterator]()}}class TM extends iy{constructor(e){super(e),this._impl=e}}class WI extends ay{constructor(e){super(e),this._impl=e}}class kM{constructor(e=new Map){this.closed=!1,this.autoDestroy=!0,this._dictionaryIndex=0,this._recordBatchIndex=0,this.dictionaries=e}get numDictionaries(){return this._dictionaryIndex}get numRecordBatches(){return this._recordBatchIndex}isSync(){return!1}isAsync(){return!1}isFile(){return!1}isStream(){return!1}reset(e){return this._dictionaryIndex=0,this._recordBatchIndex=0,this.schema=e,this.dictionaries=new Map,this}_loadRecordBatch(e,r){const C=this._loadVectors(e,r,this.schema.fields),D=ra({type:new bl(this.schema.fields),length:e.length,children:C});return new ql(this.schema,D)}_loadDictionaryBatch(e,r){const{id:C,isDelta:D}=e,{dictionaries:T,schema:p}=this,t=T.get(C);if(D||!t){const d=p.dictionaries.get(C),g=this._loadVectors(e.data,r,[d]);return(t&&D?t.concat(new Ta(g)):new Ta(g)).memoize()}return t.memoize()}_loadVectors(e,r,C){return new cM(r,e.nodes,e.buffers,this.dictionaries).visitMany(C)}}class oy extends kM{constructor(e,r){super(r),this._reader=Ub(e)?new GI(this._handle=e):new _M(this._handle=e)}isSync(){return!0}isStream(){return!0}[Symbol.iterator](){return this}cancel(){!this.closed&&(this.closed=!0)&&(this.reset()._reader.return(),this._reader=null,this.dictionaries=null)}open(e){return this.closed||(this.autoDestroy=AM(this,e),this.schema||(this.schema=this._reader.readSchema())||this.cancel()),this}throw(e){return!this.closed&&this.autoDestroy&&(this.closed=!0)?this.reset()._reader.throw(e):So}return(e){return!this.closed&&this.autoDestroy&&(this.closed=!0)?this.reset()._reader.return(e):So}next(){if(this.closed)return So;let e;const{_reader:r}=this;for(;e=this._readNextMessageAndValidate();)if(e.isSchema())this.reset(e.header());else if(e.isRecordBatch()){this._recordBatchIndex++;const C=e.header(),D=r.readMessageBody(e.bodyLength);return{done:!1,value:this._loadRecordBatch(C,D)}}else if(e.isDictionaryBatch()){this._dictionaryIndex++;const C=e.header(),D=r.readMessageBody(e.bodyLength),T=this._loadDictionaryBatch(C,D);this.dictionaries.set(C.id,T)}return this.schema&&this._recordBatchIndex===0?(this._recordBatchIndex++,{done:!1,value:new O2(this.schema)}):this.return()}_readNextMessageAndValidate(e){return this._reader.readMessage(e)}}class sy extends kM{constructor(e,r){super(r),this._reader=new HI(this._handle=e)}isAsync(){return!0}isStream(){return!0}[Symbol.asyncIterator](){return this}cancel(){return yi(this,void 0,void 0,function*(){!this.closed&&(this.closed=!0)&&(yield this.reset()._reader.return(),this._reader=null,this.dictionaries=null)})}open(e){return yi(this,void 0,void 0,function*(){return this.closed||(this.autoDestroy=AM(this,e),this.schema||(this.schema=yield this._reader.readSchema())||(yield this.cancel())),this})}throw(e){return yi(this,void 0,void 0,function*(){return!this.closed&&this.autoDestroy&&(this.closed=!0)?yield this.reset()._reader.throw(e):So})}return(e){return yi(this,void 0,void 0,function*(){return!this.closed&&this.autoDestroy&&(this.closed=!0)?yield this.reset()._reader.return(e):So})}next(){return yi(this,void 0,void 0,function*(){if(this.closed)return So;let e;const{_reader:r}=this;for(;e=yield this._readNextMessageAndValidate();)if(e.isSchema())yield this.reset(e.header());else if(e.isRecordBatch()){this._recordBatchIndex++;const C=e.header(),D=yield r.readMessageBody(e.bodyLength);return{done:!1,value:this._loadRecordBatch(C,D)}}else if(e.isDictionaryBatch()){this._dictionaryIndex++;const C=e.header(),D=yield r.readMessageBody(e.bodyLength),T=this._loadDictionaryBatch(C,D);this.dictionaries.set(C.id,T)}return this.schema&&this._recordBatchIndex===0?(this._recordBatchIndex++,{done:!1,value:new O2(this.schema)}):yield this.return()})}_readNextMessageAndValidate(e){return yi(this,void 0,void 0,function*(){return yield this._reader.readMessage(e)})}}class MM extends oy{constructor(e,r){super(e instanceof o5?e:new o5(e),r)}get footer(){return this._footer}get numDictionaries(){return this._footer?this._footer.numDictionaries:0}get numRecordBatches(){return this._footer?this._footer.numRecordBatches:0}isSync(){return!0}isFile(){return!0}open(e){if(!this.closed&&!this._footer){this.schema=(this._footer=this._readFooter()).schema;for(const r of this._footer.dictionaryBatches())r&&this._readDictionaryBatch(this._dictionaryIndex++)}return super.open(e)}readRecordBatch(e){var r;if(this.closed)return null;this._footer||this.open();const C=(r=this._footer)===null||r===void 0?void 0:r.getRecordBatch(e);if(C&&this._handle.seek(C.offset)){const D=this._reader.readMessage(Ca.RecordBatch);if(D!=null&&D.isRecordBatch()){const T=D.header(),p=this._reader.readMessageBody(D.bodyLength);return this._loadRecordBatch(T,p)}}return null}_readDictionaryBatch(e){var r;const C=(r=this._footer)===null||r===void 0?void 0:r.getDictionaryBatch(e);if(C&&this._handle.seek(C.offset)){const D=this._reader.readMessage(Ca.DictionaryBatch);if(D!=null&&D.isDictionaryBatch()){const T=D.header(),p=this._reader.readMessageBody(D.bodyLength),t=this._loadDictionaryBatch(T,p);this.dictionaries.set(T.id,t)}}}_readFooter(){const{_handle:e}=this,r=e.size-wM,C=e.readInt32(r),D=e.readAt(r-C,C);return Pm.decode(D)}_readNextMessageAndValidate(e){var r;if(this._footer||this.open(),this._footer&&this._recordBatchIndexsuper.open}});return yi(this,void 0,void 0,function*(){if(!this.closed&&!this._footer){this.schema=(this._footer=yield this._readFooter()).schema;for(const C of this._footer.dictionaryBatches())C&&(yield this._readDictionaryBatch(this._dictionaryIndex++))}return yield r.open.call(this,e)})}readRecordBatch(e){var r;return yi(this,void 0,void 0,function*(){if(this.closed)return null;this._footer||(yield this.open());const C=(r=this._footer)===null||r===void 0?void 0:r.getRecordBatch(e);if(C&&(yield this._handle.seek(C.offset))){const D=yield this._reader.readMessage(Ca.RecordBatch);if(D!=null&&D.isRecordBatch()){const T=D.header(),p=yield this._reader.readMessageBody(D.bodyLength);return this._loadRecordBatch(T,p)}}return null})}_readDictionaryBatch(e){var r;return yi(this,void 0,void 0,function*(){const C=(r=this._footer)===null||r===void 0?void 0:r.getDictionaryBatch(e);if(C&&(yield this._handle.seek(C.offset))){const D=yield this._reader.readMessage(Ca.DictionaryBatch);if(D!=null&&D.isDictionaryBatch()){const T=D.header(),p=yield this._reader.readMessageBody(D.bodyLength),t=this._loadDictionaryBatch(T,p);this.dictionaries.set(T.id,t)}}})}_readFooter(){return yi(this,void 0,void 0,function*(){const{_handle:e}=this;e._pending&&(yield e._pending);const r=e.size-wM,C=yield e.readInt32(r),D=yield e.readAt(r-C,C);return Pm.decode(D)})}_readNextMessageAndValidate(e){return yi(this,void 0,void 0,function*(){if(this._footer||(yield this.open()),this._footer&&this._recordBatchIndex=4?F2(e)?new TM(new MM(n.read())):new iy(new oy(n)):new iy(new oy(function*(){}()))}function KI(n){return yi(this,void 0,void 0,function*(){const e=yield n.peek(Qm+7&-8);return e&&e.byteLength>=4?F2(e)?new TM(new MM(yield n.read())):new ay(new sy(n)):new ay(new sy(function(){return mh(this,arguments,function*(){})}()))})}function JI(n){return yi(this,void 0,void 0,function*(){const{size:e}=yield n.stat(),r=new ey(n,e);return e>=qI&&F2(yield r.readAt(0,Qm+7&-8))?new WI(new YI(r)):new ay(new sy(r))})}class Qo extends aa{constructor(){super(),this._byteLength=0,this._nodes=[],this._buffers=[],this._bufferRegions=[]}static assemble(...e){const r=D=>D.flatMap(T=>Array.isArray(T)?r(T):T instanceof ql?T.data.children:T.data),C=new Qo;return C.visitMany(r(e)),C}visit(e){if(e instanceof Ta)return this.visitMany(e.data),this;const{type:r}=e;if(!_i.isDictionary(r)){const{length:C,nullCount:D}=e;if(C>2147483647)throw new RangeError("Cannot write arrays larger than 2^31 - 1 in length");_i.isNull(r)||zc.call(this,D<=0?new Uint8Array(0):k2(e.offset,C,e.nullBitmap)),this.nodes.push(new Jd(C,D))}return super.visit(e)}visitNull(e){return this}visitDictionary(e){return this.visit(e.clone(e.type.indices))}get nodes(){return this._nodes}get buffers(){return this._buffers}get byteLength(){return this._byteLength}get bufferRegions(){return this._bufferRegions}}function zc(n){const e=n.byteLength+7&-8;return this.buffers.push(n),this.bufferRegions.push(new gh(this._byteLength,e)),this._byteLength+=e,this}function QI(n){const{type:e,length:r,typeIds:C,valueOffsets:D}=n;if(zc.call(this,C),e.mode===xu.Sparse)return ex.call(this,n);if(e.mode===xu.Dense){if(n.offset<=0)return zc.call(this,D),ex.call(this,n);{const T=C.reduce((i,M)=>Math.max(i,M),C[0]),p=new Int32Array(T+1),t=new Int32Array(T+1).fill(-1),d=new Int32Array(r),g=v2(-D[0],r,D);for(let i,M,v=-1;++v=n.length?zc.call(this,new Uint8Array(0)):(e=n.values)instanceof Uint8Array?zc.call(this,k2(n.offset,n.length,e)):zc.call(this,qv(n.values))}function Qf(n){return zc.call(this,n.values.subarray(0,n.length*n.stride))}function SM(n){const{length:e,values:r,valueOffsets:C}=n,D=C[0],T=C[e],p=Math.min(T-D,r.byteLength-D);return zc.call(this,v2(-C[0],e,C)),zc.call(this,r.subarray(D,D+p)),this}function B2(n){const{length:e,valueOffsets:r}=n;return r&&zc.call(this,v2(r[0],e,r)),this.visit(n.children[0])}function ex(n){return this.visitMany(n.type.children.map((e,r)=>n.children[r]).filter(Boolean))[0]}Qo.prototype.visitBool=eR;Qo.prototype.visitInt=Qf;Qo.prototype.visitFloat=Qf;Qo.prototype.visitUtf8=SM;Qo.prototype.visitBinary=SM;Qo.prototype.visitFixedSizeBinary=Qf;Qo.prototype.visitDate=Qf;Qo.prototype.visitTimestamp=Qf;Qo.prototype.visitTime=Qf;Qo.prototype.visitDecimal=Qf;Qo.prototype.visitList=B2;Qo.prototype.visitStruct=ex;Qo.prototype.visitUnion=QI;Qo.prototype.visitInterval=Qf;Qo.prototype.visitFixedSizeList=B2;Qo.prototype.visitMap=B2;class CM extends E2{constructor(e){super(),this._position=0,this._started=!1,this._sink=new bv,this._schema=null,this._dictionaryBlocks=[],this._recordBatchBlocks=[],this._dictionaryDeltaOffsets=new Map,Zl(e)||(e={autoDestroy:!0,writeLegacyIpcFormat:!1}),this._autoDestroy=typeof e.autoDestroy=="boolean"?e.autoDestroy:!0,this._writeLegacyIpcFormat=typeof e.writeLegacyIpcFormat=="boolean"?e.writeLegacyIpcFormat:!1}static throughNode(e){throw new Error('"throughNode" not available in this environment')}static throughDOM(e,r){throw new Error('"throughDOM" not available in this environment')}toString(e=!1){return this._sink.toString(e)}toUint8Array(e=!1){return this._sink.toUint8Array(e)}writeAll(e){return Uf(e)?e.then(r=>this.writeAll(r)):g0(e)?U2(this,e):j2(this,e)}get closed(){return this._sink.closed}[Symbol.asyncIterator](){return this._sink[Symbol.asyncIterator]()}toDOMStream(e){return this._sink.toDOMStream(e)}toNodeStream(e){return this._sink.toNodeStream(e)}close(){return this.reset()._sink.close()}abort(e){return this.reset()._sink.abort(e)}finish(){return this._autoDestroy?this.close():this.reset(this._sink,this._schema),this}reset(e=this._sink,r=null){return e===this._sink||e instanceof bv?this._sink=e:(this._sink=new bv,e&&_9(e)?this.toDOMStream({type:"bytes"}).pipeTo(e):e&&w9(e)&&this.toNodeStream({objectMode:!1}).pipe(e)),this._started&&this._schema&&this._writeFooter(this._schema),this._started=!1,this._dictionaryBlocks=[],this._recordBatchBlocks=[],this._dictionaryDeltaOffsets=new Map,(!r||!Xb(r,this._schema))&&(r==null?(this._position=0,this._schema=null):(this._started=!0,this._schema=r,this._writeSchema(r))),this}write(e){let r=null;if(this._sink){if(e==null)return this.finish()&&void 0;if(e instanceof ml&&!(r=e.schema))return this.finish()&&void 0;if(e instanceof ql&&!(r=e.schema))return this.finish()&&void 0}else throw new Error("RecordBatchWriter is closed");if(r&&!Xb(r,this._schema)){if(this._started&&this._autoDestroy)return this.close();this.reset(this._sink,r)}e instanceof ql?e instanceof O2||this._writeRecordBatch(e):e instanceof ml?this.writeAll(e.batches):Zm(e)&&this.writeAll(e)}_writeMessage(e,r=8){const C=r-1,D=xl.encode(e),T=D.byteLength,p=this._writeLegacyIpcFormat?4:8,t=T+p+C&~C,d=t-T-p;return e.headerType===Ca.RecordBatch?this._recordBatchBlocks.push(new Wf(t,e.bodyLength,this._position)):e.headerType===Ca.DictionaryBatch&&this._dictionaryBlocks.push(new Wf(t,e.bodyLength,this._position)),this._writeLegacyIpcFormat||this._write(Int32Array.of(-1)),this._write(Int32Array.of(t-p)),T>0&&this._write(D),this._writePadding(d)}_write(e){if(this._started){const r=_a(e);r&&r.byteLength>0&&(this._sink.write(r),this._position+=r.byteLength)}return this}_writeSchema(e){return this._writeMessage(xl.from(e))}_writeFooter(e){return this._writeLegacyIpcFormat?this._write(Int32Array.of(0)):this._write(Int32Array.of(-1,0))}_writeMagic(){return this._write(Om)}_writePadding(e){return e>0?this._write(new Uint8Array(e)):this}_writeRecordBatch(e){const{byteLength:r,nodes:C,bufferRegions:D,buffers:T}=Qo.assemble(e),p=new _u(e.numRows,C,D),t=xl.from(p,r);return this._writeDictionaries(e)._writeMessage(t)._writeBodyBuffers(T)}_writeDictionaryBatch(e,r,C=!1){this._dictionaryDeltaOffsets.set(r,e.length+(this._dictionaryDeltaOffsets.get(r)||0));const{byteLength:D,nodes:T,bufferRegions:p,buffers:t}=Qo.assemble(new Ta([e])),d=new _u(e.length,T,p),g=new wh(d,r,C),i=xl.from(g,D);return this._writeMessage(i)._writeBodyBuffers(t)}_writeBodyBuffers(e){let r,C,D;for(let T=-1,p=e.length;++T0&&(this._write(r),(D=(C+7&-8)-C)>0&&this._writePadding(D));return this}_writeDictionaries(e){for(let[r,C]of e.dictionaries){let D=this._dictionaryDeltaOffsets.get(r)||0;if(D===0||(C=C==null?void 0:C.slice(D)).length>0)for(const T of C.data)this._writeDictionaryBatch(T,r,D>0),D+=T.length}return this}}class N2 extends CM{static writeAll(e,r){const C=new N2(r);return Uf(e)?e.then(D=>C.writeAll(D)):g0(e)?U2(C,e):j2(C,e)}}class V2 extends CM{static writeAll(e){const r=new V2;return Uf(e)?e.then(C=>r.writeAll(C)):g0(e)?U2(r,e):j2(r,e)}constructor(){super(),this._autoDestroy=!0}_writeSchema(e){return this._writeMagic()._writePadding(2)}_writeFooter(e){const r=Pm.encode(new Pm(e,gu.V4,this._recordBatchBlocks,this._dictionaryBlocks));return super._writeFooter(e)._write(r)._write(Int32Array.of(r.byteLength))._writeMagic()}}function j2(n,e){let r=e;e instanceof ml&&(r=e.batches,n.reset(void 0,e.schema));for(const C of r)n.write(C);return n.finish()}function U2(n,e){var r,C,D,T;return yi(this,void 0,void 0,function*(){try{for(r=Nd(e);C=yield r.next(),!C.done;){const p=C.value;n.write(p)}}catch(p){D={error:p}}finally{try{C&&!C.done&&(T=r.return)&&(yield T.call(r))}finally{if(D)throw D.error}}return n.finish()})}function lm(n){const e=Qh.from(n);return Uf(e)?e.then(r=>lm(r)):e.isAsync()?e.readAll().then(r=>new ml(r)):new ml(e.readAll())}function pb(n,e="stream"){return(e==="stream"?N2:V2).writeAll(n).toUint8Array(!0)}var tx=function(){function n(e,r,C,D){var T=this;this.getCell=function(p,t){var d=p=T.headerRows&&t=T.headerColumns;if(d){var M=["blank"];return t>0&&M.push("level"+p),{type:"blank",classNames:M.join(" "),content:""}}else if(i){var v=t-T.headerColumns,M=["col_heading","level"+p,"col"+v];return{type:"columns",classNames:M.join(" "),content:T.getContent(T.columnsTable,v,p)}}else if(g){var f=p-T.headerRows,M=["row_heading","level"+t,"row"+f];return{type:"index",id:"T_".concat(T.uuid,"level").concat(t,"_row").concat(f),classNames:M.join(" "),content:T.getContent(T.indexTable,f,t)}}else{var f=p-T.headerRows,v=t-T.headerColumns,M=["data","row"+f,"col"+v],l=T.styler?T.getContent(T.styler.displayValuesTable,f,v):T.getContent(T.dataTable,f,v);return{type:"data",id:"T_".concat(T.uuid,"row").concat(f,"_col").concat(v),classNames:M.join(" "),content:l}}},this.getContent=function(p,t,d){var g=p.getChildAt(d);if(g===null)return"";var i=T.getColumnTypeId(p,d);switch(i){case Jn.Timestamp:return T.nanosToDate(g.get(t));default:return g.get(t)}},this.dataTable=lm(e),this.indexTable=lm(r),this.columnsTable=lm(C),this.styler=D?{caption:D.caption,displayValuesTable:lm(D.displayValues),styles:D.styles,uuid:D.uuid}:void 0}return Object.defineProperty(n.prototype,"rows",{get:function(){return this.indexTable.numRows+this.columnsTable.numCols},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"columns",{get:function(){return this.indexTable.numCols+this.columnsTable.numRows},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"headerRows",{get:function(){return this.rows-this.dataRows},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"headerColumns",{get:function(){return this.columns-this.dataColumns},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dataRows",{get:function(){return this.dataTable.numRows},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dataColumns",{get:function(){return this.dataTable.numCols},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uuid",{get:function(){return this.styler&&this.styler.uuid},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"caption",{get:function(){return this.styler&&this.styler.caption},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"styles",{get:function(){return this.styler&&this.styler.styles},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"table",{get:function(){return this.dataTable},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"index",{get:function(){return this.indexTable},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"columnTable",{get:function(){return this.columnsTable},enumerable:!1,configurable:!0}),n.prototype.serialize=function(){return{data:pb(this.dataTable),index:pb(this.indexTable),columns:pb(this.columnsTable)}},n.prototype.getColumnTypeId=function(e,r){return e.schema.fields[r].type.typeId},n.prototype.nanosToDate=function(e){return new Date(e/1e6)},n}(),gm=globalThis&&globalThis.__assign||function(){return gm=Object.assign||function(n){for(var e,r=1,C=arguments.length;r0?n.argsDataframeToObject(e.dfs):{};r=gm(gm({},r),C);var D=!!e.disabled,T=e.theme;T&&tR(T);var p={disabled:D,args:r,theme:T},t=new CustomEvent(n.RENDER_EVENT,{detail:p});n.events.dispatchEvent(t)},n.argsDataframeToObject=function(e){var r=e.map(function(C){var D=C.key,T=C.value;return[D,n.toArrowTable(T)]});return Object.fromEntries(r)},n.toArrowTable=function(e){var r,C=(r=e.data,r.data),D=r.index,T=r.columns,p=r.styler;return new tx(C,D,T,p)},n.sendBackMsg=function(e,r){window.parent.postMessage(gm({isStreamlitMessage:!0,type:e},r),"*")},n}(),tR=function(n){var e=document.createElement("style");document.head.appendChild(e),e.innerHTML=` :root { --primary-color: `.concat(n.primaryColor,`; --background-color: `).concat(n.backgroundColor,`; @@ -36,15 +36,15 @@ object-assign background-color: var(--background-color); color: var(--text-color); } - `)};function tR(n){var e=!1;try{e=n instanceof BigInt64Array||n instanceof BigUint64Array}catch{}return n instanceof Int8Array||n instanceof Uint8Array||n instanceof Uint8ClampedArray||n instanceof Int16Array||n instanceof Uint16Array||n instanceof Int32Array||n instanceof Uint32Array||n instanceof Float32Array||n instanceof Float64Array||e}var nR=globalThis&&globalThis.__extends||function(){var n=function(e,r){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,D){C.__proto__=D}||function(C,D){for(var k in D)Object.prototype.hasOwnProperty.call(D,k)&&(C[k]=D[k])},n(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");n(e,r);function C(){this.constructor=e}e.prototype=r===null?Object.create(r):(C.prototype=r.prototype,new C)}}();(function(n){nR(e,n);function e(){return n!==null&&n.apply(this,arguments)||this}return e.prototype.componentDidMount=function(){$u.setFrameHeight()},e.prototype.componentDidUpdate=function(){$u.setFrameHeight()},e})(m9.PureComponent);const Mu=i2("selection",{state:()=>({scanIndex:void 0,massIndex:void 0,proteinIndex:void 0,tagIndex:void 0,selectedObservedMass:void 0,AApos:void 0,tagData:void 0,counter:void 0,id:void 0,heatmap_deconv:void 0,heatmap_raw:void 0}),getters:{selectedScanIndex:n=>n.scanIndex,selectedMassIndex:n=>n.massIndex,selectedProteinIndex:n=>n.proteinIndex,selectedTagIndex:n=>n.tagIndex,selectedAApos:n=>n.AApos,selectedTag:n=>n.tagData,selectedDeconvHeatmap:n=>n.heatmap_deconv,selectedRawHeatmap:n=>n.heatmap_raw,selectedObservedMassFromFragmentTable:n=>n.selectedObservedMass},actions:{updateSelectedScan(n){this.scanIndex=n},updateSelectedMass(n){this.massIndex=n},updateSelectedProtein(n){this.proteinIndex=n},updateSelectedTag(n){this.tagIndex=n},selectedAminoAcid(n){this.selectedObservedMass=n},updateSelectedAA(n){this.AApos=n},updateTagData(n){this.tagData=n},updateRawHeatmapSelection(n){this.heatmap_raw=n},updateDeconvHeatmapSelection(n){this.heatmap_deconv=n}}}),Cs=i2("streamlit-data",{state:()=>({renderData:null,dataForDrawing:{},dataset:"",hash:""}),getters:{args:n=>{var e;return(e=n.renderData)==null?void 0:e.args},components(){return this.args.components},allDataForDrawing:n=>n.dataForDrawing,sequenceData:n=>n.dataForDrawing.sequence_data,settings:n=>n.dataForDrawing.settings,internalFragmentData:n=>n.dataForDrawing.internal_fragment_data,theme:n=>{var e;return(e=n.renderData)==null?void 0:e.theme}},actions:{updateRenderData(n){var D;if(Mu().$patch(k=>{if(n.args.selection_store.id!==k.id)for(const m in k)k[m]=void 0;Object.assign(k,n.args.selection_store)}),console.log(n.args.selection_store.id),this.hash===n.args.hash)return;this.hash=n.args.hash,delete n.args.selection_store,delete n.args.hash,this.dataForDrawing={},this.dataset=(D=n.args)==null?void 0:D.dataset,this.renderData=n;function r(k){if(typeof k=="bigint")return Number(k);if(k instanceof Ta){const m=[];for(let t=0;t{if(m instanceof tx){const t=[],d=m.table.schema.fields.map(y=>y.name);for(let y=0;y{var h;i[M]=r((h=m.table.getChildAt(v))==null?void 0:h.get(y))}),t.push(i)}this.dataForDrawing[k]=t}else this.dataForDrawing[k]=m})}}});var CM={exports:{}};(function(n,e){/*! For license information please see plotly.min.js.LICENSE.txt */(function(r,C){n.exports=C()})(self,function(){return function(){var r={98847:function(k,m,t){var d=t(71828),y={"X,X div":'direction:ltr;font-family:"Open Sans",verdana,arial,sans-serif;margin:0;padding:0;',"X input,X button":'font-family:"Open Sans",verdana,arial,sans-serif;',"X input:focus,X button:focus":"outline:none;","X a":"text-decoration:none;","X a:hover":"text-decoration:none;","X .crisp":"shape-rendering:crispEdges;","X .user-select-none":"-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;","X svg":"overflow:hidden;","X svg a":"fill:#447adb;","X svg a:hover":"fill:#3c6dc5;","X .main-svg":"position:absolute;top:0;left:0;pointer-events:none;","X .main-svg .draglayer":"pointer-events:all;","X .cursor-default":"cursor:default;","X .cursor-pointer":"cursor:pointer;","X .cursor-crosshair":"cursor:crosshair;","X .cursor-move":"cursor:move;","X .cursor-col-resize":"cursor:col-resize;","X .cursor-row-resize":"cursor:row-resize;","X .cursor-ns-resize":"cursor:ns-resize;","X .cursor-ew-resize":"cursor:ew-resize;","X .cursor-sw-resize":"cursor:sw-resize;","X .cursor-s-resize":"cursor:s-resize;","X .cursor-se-resize":"cursor:se-resize;","X .cursor-w-resize":"cursor:w-resize;","X .cursor-e-resize":"cursor:e-resize;","X .cursor-nw-resize":"cursor:nw-resize;","X .cursor-n-resize":"cursor:n-resize;","X .cursor-ne-resize":"cursor:ne-resize;","X .cursor-grab":"cursor:-webkit-grab;cursor:grab;","X .modebar":"position:absolute;top:2px;right:2px;","X .ease-bg":"-webkit-transition:background-color .3s ease 0s;-moz-transition:background-color .3s ease 0s;-ms-transition:background-color .3s ease 0s;-o-transition:background-color .3s ease 0s;transition:background-color .3s ease 0s;","X .modebar--hover>:not(.watermark)":"opacity:0;-webkit-transition:opacity .3s ease 0s;-moz-transition:opacity .3s ease 0s;-ms-transition:opacity .3s ease 0s;-o-transition:opacity .3s ease 0s;transition:opacity .3s ease 0s;","X:hover .modebar--hover .modebar-group":"opacity:1;","X .modebar-group":"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;","X .modebar-btn":"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;","X .modebar-btn svg":"position:relative;top:2px;","X .modebar.vertical":"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;","X .modebar.vertical svg":"top:-1px;","X .modebar.vertical .modebar-group":"display:block;float:none;padding-left:0px;padding-bottom:8px;","X .modebar.vertical .modebar-group .modebar-btn":"display:block;text-align:center;","X [data-title]:before,X [data-title]:after":"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none;opacity:0;z-index:1001;pointer-events:none;top:110%;right:50%;","X [data-title]:hover:before,X [data-title]:hover:after":"display:block;opacity:1;","X [data-title]:before":'content:"";position:absolute;background:rgba(0,0,0,0);border:6px solid rgba(0,0,0,0);z-index:1002;margin-top:-12px;border-bottom-color:#69738a;margin-right:-6px;',"X [data-title]:after":"content:attr(data-title);background:#69738a;color:#fff;padding:8px 10px;font-size:12px;line-height:12px;white-space:nowrap;margin-right:-18px;border-radius:2px;","X .vertical [data-title]:before,X .vertical [data-title]:after":"top:0%;right:200%;","X .vertical [data-title]:before":"border:6px solid rgba(0,0,0,0);border-left-color:#69738a;margin-top:8px;margin-right:-30px;",Y:'font-family:"Open Sans",verdana,arial,sans-serif;position:fixed;top:50px;right:20px;z-index:10000;font-size:10pt;max-width:180px;',"Y p":"margin:0;","Y .notifier-note":"min-width:180px;max-width:250px;border:1px solid #fff;z-index:3000;margin:0;background-color:#8c97af;background-color:rgba(140,151,175,.9);color:#fff;padding:10px;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-webkit-hyphens:auto;hyphens:auto;","Y .notifier-close":"color:#fff;opacity:.8;float:right;padding:0 5px;background:none;border:none;font-size:20px;font-weight:bold;line-height:20px;","Y .notifier-close:hover":"color:#444;text-decoration:none;cursor:pointer;"};for(var i in y){var M=i.replace(/^,/," ,").replace(/X/g,".js-plotly-plot .plotly").replace(/Y/g,".plotly-notifier");d.addStyleRule(M,y[i])}},98222:function(k,m,t){k.exports=t(82887)},27206:function(k,m,t){k.exports=t(60822)},59893:function(k,m,t){k.exports=t(23381)},5224:function(k,m,t){k.exports=t(83832)},59509:function(k,m,t){k.exports=t(72201)},75557:function(k,m,t){k.exports=t(91815)},40338:function(k,m,t){k.exports=t(21462)},35080:function(k,m,t){k.exports=t(51319)},61396:function(k,m,t){k.exports=t(57516)},40549:function(k,m,t){k.exports=t(98128)},49866:function(k,m,t){k.exports=t(99442)},36089:function(k,m,t){k.exports=t(93740)},19548:function(k,m,t){k.exports=t(8729)},35831:function(k,m,t){k.exports=t(93814)},61039:function(k,m,t){k.exports=t(14382)},97040:function(k,m,t){k.exports=t(51759)},77986:function(k,m,t){k.exports=t(10421)},24296:function(k,m,t){k.exports=t(43102)},58872:function(k,m,t){k.exports=t(92165)},29626:function(k,m,t){k.exports=t(3325)},65591:function(k,m,t){k.exports=t(36071)},69738:function(k,m,t){k.exports=t(43905)},92650:function(k,m,t){k.exports=t(35902)},35630:function(k,m,t){k.exports=t(69816)},73434:function(k,m,t){k.exports=t(94507)},27909:function(k,m,t){var d=t(19548);d.register([t(27206),t(5224),t(58872),t(65591),t(69738),t(92650),t(49866),t(25743),t(6197),t(97040),t(85461),t(73434),t(54201),t(81299),t(47645),t(35630),t(77986),t(83043),t(93005),t(96881),t(4534),t(50581),t(40549),t(77900),t(47582),t(35080),t(21641),t(17280),t(5861),t(29626),t(10021),t(65317),t(96268),t(61396),t(35831),t(16122),t(46163),t(40344),t(40338),t(48131),t(36089),t(55334),t(75557),t(19440),t(99488),t(59893),t(97393),t(98222),t(61039),t(24296),t(66398),t(59509)]),k.exports=d},46163:function(k,m,t){k.exports=t(15154)},96881:function(k,m,t){k.exports=t(64943)},50581:function(k,m,t){k.exports=t(21164)},55334:function(k,m,t){k.exports=t(54186)},65317:function(k,m,t){k.exports=t(94873)},10021:function(k,m,t){k.exports=t(67618)},54201:function(k,m,t){k.exports=t(58810)},5861:function(k,m,t){k.exports=t(20593)},16122:function(k,m,t){k.exports=t(29396)},83043:function(k,m,t){k.exports=t(13551)},48131:function(k,m,t){k.exports=t(46858)},47582:function(k,m,t){k.exports=t(17988)},21641:function(k,m,t){k.exports=t(68868)},96268:function(k,m,t){k.exports=t(20467)},19440:function(k,m,t){k.exports=t(91271)},99488:function(k,m,t){k.exports=t(21461)},97393:function(k,m,t){k.exports=t(85956)},25743:function(k,m,t){k.exports=t(52979)},66398:function(k,m,t){k.exports=t(32275)},17280:function(k,m,t){k.exports=t(6419)},77900:function(k,m,t){k.exports=t(61510)},81299:function(k,m,t){k.exports=t(87619)},93005:function(k,m,t){k.exports=t(93601)},40344:function(k,m,t){k.exports=t(96595)},47645:function(k,m,t){k.exports=t(70954)},6197:function(k,m,t){k.exports=t(47462)},4534:function(k,m,t){k.exports=t(17659)},85461:function(k,m,t){k.exports=t(19990)},82884:function(k){k.exports=[{path:"",backoff:0},{path:"M-2.4,-3V3L0.6,0Z",backoff:.6},{path:"M-3.7,-2.5V2.5L1.3,0Z",backoff:1.3},{path:"M-4.45,-3L-1.65,-0.2V0.2L-4.45,3L1.55,0Z",backoff:1.55},{path:"M-2.2,-2.2L-0.2,-0.2V0.2L-2.2,2.2L-1.4,3L1.6,0L-1.4,-3Z",backoff:1.6},{path:"M-4.4,-2.1L-0.6,-0.2V0.2L-4.4,2.1L-4,3L2,0L-4,-3Z",backoff:2},{path:"M2,0A2,2 0 1,1 0,-2A2,2 0 0,1 2,0Z",backoff:0,noRotate:!0},{path:"M2,2V-2H-2V2Z",backoff:0,noRotate:!0}]},50215:function(k,m,t){var d=t(82884),y=t(41940),i=t(85555),M=t(44467).templatedArray;t(24695),k.exports=M("annotation",{visible:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},text:{valType:"string",editType:"calc+arraydraw"},textangle:{valType:"angle",dflt:0,editType:"calc+arraydraw"},font:y({editType:"calc+arraydraw",colorEditType:"arraydraw"}),width:{valType:"number",min:1,dflt:null,editType:"calc+arraydraw"},height:{valType:"number",min:1,dflt:null,editType:"calc+arraydraw"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"arraydraw"},align:{valType:"enumerated",values:["left","center","right"],dflt:"center",editType:"arraydraw"},valign:{valType:"enumerated",values:["top","middle","bottom"],dflt:"middle",editType:"arraydraw"},bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},bordercolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},borderpad:{valType:"number",min:0,dflt:1,editType:"calc+arraydraw"},borderwidth:{valType:"number",min:0,dflt:1,editType:"calc+arraydraw"},showarrow:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},arrowcolor:{valType:"color",editType:"arraydraw"},arrowhead:{valType:"integer",min:0,max:d.length,dflt:1,editType:"arraydraw"},startarrowhead:{valType:"integer",min:0,max:d.length,dflt:1,editType:"arraydraw"},arrowside:{valType:"flaglist",flags:["end","start"],extras:["none"],dflt:"end",editType:"arraydraw"},arrowsize:{valType:"number",min:.3,dflt:1,editType:"calc+arraydraw"},startarrowsize:{valType:"number",min:.3,dflt:1,editType:"calc+arraydraw"},arrowwidth:{valType:"number",min:.1,editType:"calc+arraydraw"},standoff:{valType:"number",min:0,dflt:0,editType:"calc+arraydraw"},startstandoff:{valType:"number",min:0,dflt:0,editType:"calc+arraydraw"},ax:{valType:"any",editType:"calc+arraydraw"},ay:{valType:"any",editType:"calc+arraydraw"},axref:{valType:"enumerated",dflt:"pixel",values:["pixel",i.idRegex.x.toString()],editType:"calc"},ayref:{valType:"enumerated",dflt:"pixel",values:["pixel",i.idRegex.y.toString()],editType:"calc"},xref:{valType:"enumerated",values:["paper",i.idRegex.x.toString()],editType:"calc"},x:{valType:"any",editType:"calc+arraydraw"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto",editType:"calc+arraydraw"},xshift:{valType:"number",dflt:0,editType:"calc+arraydraw"},yref:{valType:"enumerated",values:["paper",i.idRegex.y.toString()],editType:"calc"},y:{valType:"any",editType:"calc+arraydraw"},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"auto",editType:"calc+arraydraw"},yshift:{valType:"number",dflt:0,editType:"calc+arraydraw"},clicktoshow:{valType:"enumerated",values:[!1,"onoff","onout"],dflt:!1,editType:"arraydraw"},xclick:{valType:"any",editType:"arraydraw"},yclick:{valType:"any",editType:"arraydraw"},hovertext:{valType:"string",editType:"arraydraw"},hoverlabel:{bgcolor:{valType:"color",editType:"arraydraw"},bordercolor:{valType:"color",editType:"arraydraw"},font:y({editType:"arraydraw"}),editType:"arraydraw"},captureevents:{valType:"boolean",editType:"arraydraw"},editType:"calc",_deprecated:{ref:{valType:"string",editType:"calc"}}})},3749:function(k,m,t){var d=t(71828),y=t(89298),i=t(92605).draw;function M(h){var l=h._fullLayout;d.filterVisible(l.annotations).forEach(function(a){var u=y.getFromId(h,a.xref),s=y.getFromId(h,a.yref),o=y.getRefType(a.xref),c=y.getRefType(a.yref);a._extremes={},o==="range"&&v(a,u),c==="range"&&v(a,s)})}function v(h,l){var a,u=l._id,s=u.charAt(0),o=h[s],c=h["a"+s],f=h[s+"ref"],p=h["a"+s+"ref"],w=h["_"+s+"padplus"],g=h["_"+s+"padminus"],S={x:1,y:-1}[s]*h[s+"shift"],x=3*h.arrowsize*h.arrowwidth||0,T=x+S,E=x-S,_=3*h.startarrowsize*h.arrowwidth||0,A=_+S,L=_-S;if(p===f){var b=y.findExtremes(l,[l.r2c(o)],{ppadplus:T,ppadminus:E}),R=y.findExtremes(l,[l.r2c(c)],{ppadplus:Math.max(w,A),ppadminus:Math.max(g,L)});a={min:[b.min[0],R.min[0]],max:[b.max[0],R.max[0]]}}else A=c?A+c:A,L=c?L-c:L,a=y.findExtremes(l,[l.r2c(o)],{ppadplus:Math.max(w,T,A),ppadminus:Math.max(g,E,L)});h._extremes[u]=a}k.exports=function(h){var l=h._fullLayout;if(d.filterVisible(l.annotations).length&&h._fullData.length)return d.syncOrAsync([i,M],h)}},44317:function(k,m,t){var d=t(71828),y=t(73972),i=t(44467).arrayEditor;function M(h,l){var a,u,s,o,c,f,p,w=h._fullLayout.annotations,g=[],S=[],x=[],T=(l||[]).length;for(a=0;a0||a.explicitOff.length>0},onClick:function(h,l){var a,u,s=M(h,l),o=s.on,c=s.off.concat(s.explicitOff),f={},p=h._fullLayout.annotations;if(o.length||c.length){for(a=0;a.6666666666666666?"right":"center"),{center:0,middle:0,left:.5,bottom:-.5,right:-.5,top:.5}[yt]}for(var Be=!1,ze=["x","y"],je=0;je1)&&(ot===st?((Vt=ft.r2fraction(T["a"+$e]))<0||Vt>1)&&(Be=!0):Be=!0),ge=ft._offset+ft.r2p(T[$e]),Ve=.5}else{var Ke=qt==="domain";$e==="x"?(Ee=T[$e],ge=Ke?ft._offset+ft._length*Ee:ge=O.l+O.w*Ee):(Ee=1-T[$e],ge=Ke?ft._offset+ft._length*Ee:ge=O.t+O.h*Ee),Ve=T.showarrow?.5:Ee}if(T.showarrow){Bt.head=ge;var Je=T["a"+$e];if(Ye=Et*Le(.5,T.xanchor)-kt*Le(.5,T.yanchor),ot===st){var qe=h.getRefType(ot);qe==="domain"?($e==="y"&&(Je=1-Je),Bt.tail=ft._offset+ft._length*Je):qe==="paper"?$e==="y"?(Je=1-Je,Bt.tail=O.t+O.h*Je):Bt.tail=O.l+O.w*Je:Bt.tail=ft._offset+ft.r2p(Je),we=Ye}else Bt.tail=ge+Je,we=Ye+Je;Bt.text=Bt.tail+Ye;var nt=I[$e==="x"?"width":"height"];if(st==="paper"&&(Bt.head=M.constrain(Bt.head,1,nt-1)),ot==="pixel"){var ht=-Math.max(Bt.tail-3,Bt.text),Re=Math.min(Bt.tail+3,Bt.text)-nt;ht>0?(Bt.tail+=ht,Bt.text+=ht):Re>0&&(Bt.tail-=Re,Bt.text-=Re)}Bt.tail+=Ot,Bt.head+=Ot}else we=Ye=xt*Le(Ve,Ft),Bt.text=ge+Ye;Bt.text+=Ot,Ye+=Ot,we+=Ot,T["_"+$e+"padplus"]=xt/2+we,T["_"+$e+"padminus"]=xt/2-we,T["_"+$e+"size"]=xt,T["_"+$e+"shift"]=Ye}if(Be)te.remove();else{var Ne=0,Qe=0;if(T.align!=="left"&&(Ne=(ae-Se)*(T.align==="center"?.5:1)),T.valign!=="top"&&(Qe=(he-Ce)*(T.valign==="middle"?.5:1)),_e)Pe.select("svg").attr({x:Q+Ne-1,y:Q+Qe}).call(a.setClipUrl,ie?j:null,x);else{var ut=Q+Qe-Me.top,dt=Q+Ne-Me.left;ye.call(s.positionText,dt,ut).call(a.setClipUrl,ie?j:null,x)}oe.select("rect").call(a.setRect,Q,Q,ae,he),re.call(a.setRect,Z/2,Z/2,be-Z,ke-Z),te.call(a.setTranslate,Math.round(Y.x.text-be/2),Math.round(Y.y.text-ke/2)),q.attr({transform:"rotate("+U+","+Y.x.text+","+Y.y.text+")"});var _t,It=function(Lt,yt){G.selectAll(".annotation-arrow-g").remove();var Pt=Y.x.head,wt=Y.y.head,Rt=Y.x.tail+Lt,Nt=Y.y.tail+yt,$t=Y.x.text+Lt,Wt=Y.y.text+yt,Xt=M.rotationXYMatrix(U,$t,Wt),Qt=M.apply2DTransform(Xt),rn=M.apply2DTransform2(Xt),xn=+re.attr("width"),un=+re.attr("height"),An=$t-.5*xn,$n=An+xn,kn=Wt-.5*un,sn=kn+un,Tn=[[An,kn,An,sn],[An,sn,$n,sn],[$n,sn,$n,kn],[$n,kn,An,kn]].map(rn);if(!Tn.reduce(function(or,vr){return or^!!M.segmentsIntersect(Pt,wt,Pt+1e6,wt+1e6,vr[0],vr[1],vr[2],vr[3])},!1)){Tn.forEach(function(or){var vr=M.segmentsIntersect(Rt,Nt,Pt,wt,or[0],or[1],or[2],or[3]);vr&&(Rt=vr.x,Nt=vr.y)});var dn=T.arrowwidth,pn=T.arrowcolor,Dn=T.arrowside,In=G.append("g").style({opacity:l.opacity(pn)}).classed("annotation-arrow-g",!0),jn=In.append("path").attr("d","M"+Rt+","+Nt+"L"+Pt+","+wt).style("stroke-width",dn+"px").call(l.stroke,l.rgb(pn));if(p(jn,Dn,T),z.annotationPosition&&jn.node().parentNode&&!_){var Gn=Pt,qn=wt;if(T.standoff){var lr=Math.sqrt(Math.pow(Pt-Rt,2)+Math.pow(wt-Nt,2));Gn+=T.standoff*(Rt-Pt)/lr,qn+=T.standoff*(Nt-wt)/lr}var rr,Sr,yr=In.append("path").classed("annotation-arrow",!0).classed("anndrag",!0).classed("cursor-move",!0).attr({d:"M3,3H-3V-3H3ZM0,0L"+(Rt-Gn)+","+(Nt-qn),transform:v(Gn,qn)}).style("stroke-width",dn+6+"px").call(l.stroke,"rgba(0,0,0,0)").call(l.fill,"rgba(0,0,0,0)");c.init({element:yr.node(),gd:x,prepFn:function(){var or=a.getTranslate(te);rr=or.x,Sr=or.y,A&&A.autorange&&B(A._name+".autorange",!0),L&&L.autorange&&B(L._name+".autorange",!0)},moveFn:function(or,vr){var _r=Qt(rr,Sr),Kt=_r[0]+or,bn=_r[1]+vr;te.call(a.setTranslate,Kt,bn),N("x",g(A,or,"x",O,T)),N("y",g(L,vr,"y",O,T)),T.axref===T.xref&&N("ax",g(A,or,"ax",O,T)),T.ayref===T.yref&&N("ay",g(L,vr,"ay",O,T)),In.attr("transform",v(or,vr)),q.attr({transform:"rotate("+U+","+Kt+","+bn+")"})},doneFn:function(){y.call("_guiRelayout",x,W());var or=document.querySelector(".js-notes-box-panel");or&&or.redraw(or.selectedObj)}})}}};T.showarrow&&It(0,0),H&&c.init({element:te.node(),gd:x,prepFn:function(){_t=q.attr("transform")},moveFn:function(Lt,yt){var Pt="pointer";if(T.showarrow)T.axref===T.xref?N("ax",g(A,Lt,"ax",O,T)):N("ax",T.ax+Lt),T.ayref===T.yref?N("ay",g(L,yt,"ay",O.w,T)):N("ay",T.ay+yt),It(Lt,yt);else{if(_)return;var wt,Rt;if(A)wt=g(A,Lt,"x",O,T);else{var Nt=T._xsize/O.w,$t=T.x+(T._xshift-T.xshift)/O.w-Nt/2;wt=c.align($t+Lt/O.w,Nt,0,1,T.xanchor)}if(L)Rt=g(L,yt,"y",O,T);else{var Wt=T._ysize/O.h,Xt=T.y-(T._yshift+T.yshift)/O.h-Wt/2;Rt=c.align(Xt-yt/O.h,Wt,0,1,T.yanchor)}N("x",wt),N("y",Rt),A&&L||(Pt=c.getCursor(A?.5:wt,L?.5:Rt,T.xanchor,T.yanchor))}q.attr({transform:v(Lt,yt)+_t}),o(te,Pt)},clickFn:function(Lt,yt){T.captureevents&&x.emit("plotly_clickannotation",de(yt))},doneFn:function(){o(te),y.call("_guiRelayout",x,W());var Lt=document.querySelector(".js-notes-box-panel");Lt&&Lt.redraw(Lt.selectedObj)}})}}}k.exports={draw:function(x){var T=x._fullLayout;T._infolayer.selectAll(".annotation").remove();for(var E=0;E=0,_=u.indexOf("end")>=0,A=g.backoff*x+s.standoff,L=S.backoff*T+s.startstandoff;if(w.nodeName==="line"){o={x:+a.attr("x1"),y:+a.attr("y1")},c={x:+a.attr("x2"),y:+a.attr("y2")};var b=o.x-c.x,R=o.y-c.y;if(p=(f=Math.atan2(R,b))+Math.PI,A&&L&&A+L>Math.sqrt(b*b+R*R))return void G();if(A){if(A*A>b*b+R*R)return void G();var I=A*Math.cos(f),O=A*Math.sin(f);c.x+=I,c.y+=O,a.attr({x2:c.x,y2:c.y})}if(L){if(L*L>b*b+R*R)return void G();var z=L*Math.cos(f),F=L*Math.sin(f);o.x-=z,o.y-=F,a.attr({x1:o.x,y1:o.y})}}else if(w.nodeName==="path"){var B=w.getTotalLength(),N="";if(B1){s=!0;break}}s?M.fullLayout._infolayer.select(".annotation-"+M.id+'[data-index="'+a+'"]').remove():(u._pdata=y(M.glplot.cameraParams,[v.xaxis.r2l(u.x)*h[0],v.yaxis.r2l(u.y)*h[1],v.zaxis.r2l(u.z)*h[2]]),d(M.graphDiv,u,a,M.id,u._xa,u._ya))}}},2468:function(k,m,t){var d=t(73972),y=t(71828);k.exports={moduleType:"component",name:"annotations3d",schema:{subplots:{scene:{annotations:t(26997)}}},layoutAttributes:t(26997),handleDefaults:t(20226),includeBasePlot:function(i,M){var v=d.subplotsRegistry.gl3d;if(v)for(var h=v.attrRegex,l=Object.keys(i),a=0;a=0)))return u;if(p===3)c[p]>1&&(c[p]=1);else if(c[p]>=1)return u}var w=Math.round(255*c[0])+", "+Math.round(255*c[1])+", "+Math.round(255*c[2]);return f?"rgba("+w+", "+c[3]+")":"rgb("+w+")"}M.tinyRGB=function(u){var s=u.toRgb();return"rgb("+Math.round(s.r)+", "+Math.round(s.g)+", "+Math.round(s.b)+")"},M.rgb=function(u){return M.tinyRGB(d(u))},M.opacity=function(u){return u?d(u).getAlpha():0},M.addOpacity=function(u,s){var o=d(u).toRgb();return"rgba("+Math.round(o.r)+", "+Math.round(o.g)+", "+Math.round(o.b)+", "+s+")"},M.combine=function(u,s){var o=d(u).toRgb();if(o.a===1)return d(u).toRgbString();var c=d(s||l).toRgb(),f=c.a===1?c:{r:255*(1-c.a)+c.r*c.a,g:255*(1-c.a)+c.g*c.a,b:255*(1-c.a)+c.b*c.a},p={r:f.r*(1-o.a)+o.r*o.a,g:f.g*(1-o.a)+o.g*o.a,b:f.b*(1-o.a)+o.b*o.a};return d(p).toRgbString()},M.contrast=function(u,s,o){var c=d(u);return c.getAlpha()!==1&&(c=d(M.combine(u,l))),(c.isDark()?s?c.lighten(s):l:o?c.darken(o):h).toString()},M.stroke=function(u,s){var o=d(s);u.style({stroke:M.tinyRGB(o),"stroke-opacity":o.getAlpha()})},M.fill=function(u,s){var o=d(s);u.style({fill:M.tinyRGB(o),"fill-opacity":o.getAlpha()})},M.clean=function(u){if(u&&typeof u=="object"){var s,o,c,f,p=Object.keys(u);for(s=0;s0?Je>=Ne:Je<=Ne));qe++)Je>ut&&Je0?Je>=Ne:Je<=Ne));qe++)Je>Ke[0]&&Je1){var ot=Math.pow(10,Math.floor(Math.log(st)/Math.LN10));Ye*=ot*l.roundUp(st/ot,[2,5,10]),(Math.abs(_e.start)/_e.size+1e-6)%1<2e-6&&(Ee.tick0=0)}Ee.dtick=Ye}Ee.domain=W?[ge+Q/ue.h,ge+ke-Q/ue.h]:[ge+X/ue.w,ge+ke-X/ue.w],Ee.setScale(),F.attr("transform",a(Math.round(ue.l),Math.round(ue.t)));var ft,bt=F.select("."+L.cbtitleunshift).attr("transform",a(-Math.round(ue.l),-Math.round(ue.t))),Et=Ee.ticklabelposition,kt=Ee.title.font.size,xt=F.select("."+L.cbaxis),Ft=0,Ot=0;function Bt(qt,Vt){var Ke={propContainer:Ee,propName:B._propPrefix+"title",traceIndex:B._traceIndex,_meta:B._meta,placeholder:oe._dfltTitle.colorbar,containerGroup:F.select("."+L.cbtitle)},Je=qt.charAt(0)==="h"?qt.substr(1):"h"+qt;F.selectAll("."+Je+",."+Je+"-math-group").remove(),f.draw(N,qt,u(Ke,Vt||{}))}return l.syncOrAsync([i.previousPromises,function(){var qt,Vt;(W&&Ve||!W&&!Ve)&&(me==="top"&&(qt=X+ue.l+ue.w*re,Vt=Q+ue.t+ue.h*(1-ge-ke)+3+.75*kt),me==="bottom"&&(qt=X+ue.l+ue.w*re,Vt=Q+ue.t+ue.h*(1-ge)-3-.25*kt),me==="right"&&(Vt=Q+ue.t+ue.h*ie+3+.75*kt,qt=X+ue.l+ue.w*ge),Bt(Ee._id+"title",{attributes:{x:qt,y:Vt,"text-anchor":W?"start":"middle"}}))},function(){if(!W&&!Ve||W&&Ve){var qt,Vt=F.select("."+L.cbtitle),Ke=Vt.select("text"),Je=[-q/2,q/2],qe=Vt.select(".h"+Ee._id+"title-math-group").node(),nt=15.6;if(Ke.node()&&(nt=parseInt(Ke.node().style.fontSize,10)*E),qe?(qt=o.bBox(qe),Ot=qt.width,(Ft=qt.height)>nt&&(Je[1]-=(Ft-nt)/2)):Ke.node()&&!Ke.classed(L.jsPlaceholder)&&(qt=o.bBox(Ke.node()),Ot=qt.width,Ft=qt.height),W){if(Ft){if(Ft+=5,me==="top")Ee.domain[1]-=Ft/ue.h,Je[1]*=-1;else{Ee.domain[0]+=Ft/ue.h;var ht=p.lineCount(Ke);Je[1]+=(1-ht)*nt}Vt.attr("transform",a(Je[0],Je[1])),Ee.setScale()}}else Ot&&(me==="right"&&(Ee.domain[0]+=(Ot+kt/2)/ue.w),Vt.attr("transform",a(Je[0],Je[1])),Ee.setScale())}F.selectAll("."+L.cbfills+",."+L.cblines).attr("transform",W?a(0,Math.round(ue.h*(1-Ee.domain[1]))):a(Math.round(ue.w*Ee.domain[0]),0)),xt.attr("transform",W?a(0,Math.round(-ue.t)):a(Math.round(-ue.l),0));var Re=F.select("."+L.cbfills).selectAll("rect."+L.cbfill).attr("style","").data(Se);Re.enter().append("rect").classed(L.cbfill,!0).style("stroke","none"),Re.exit().remove();var Ne=pe.map(Ee.c2p).map(Math.round).sort(function(It,Lt){return It-Lt});Re.each(function(It,Lt){var yt=[Lt===0?pe[0]:(Se[Lt]+Se[Lt-1])/2,Lt===Se.length-1?pe[1]:(Se[Lt]+Se[Lt+1])/2].map(Ee.c2p).map(Math.round);W&&(yt[1]=l.constrain(yt[1]+(yt[1]>yt[0])?1:-1,Ne[0],Ne[1]));var Pt=d.select(this).attr(W?"x":"y",Le).attr(W?"y":"x",d.min(yt)).attr(W?"width":"height",Math.max(ae,2)).attr(W?"height":"width",Math.max(d.max(yt)-d.min(yt),2));if(B._fillgradient)o.gradient(Pt,N,B._id,W?"vertical":"horizontalreversed",B._fillgradient,"fill");else{var wt=Pe(It).replace("e-","");Pt.attr("fill",y(wt).toHexString())}});var Qe=F.select("."+L.cblines).selectAll("path."+L.cbline).data(ye.color&&ye.width?Ce:[]);Qe.enter().append("path").classed(L.cbline,!0),Qe.exit().remove(),Qe.each(function(It){var Lt=Le,yt=Math.round(Ee.c2p(It))+ye.width/2%1;d.select(this).attr("d","M"+(W?Lt+","+yt:yt+","+Lt)+(W?"h":"v")+ae).call(o.lineGroupStyle,ye.width,xe(It),ye.dash)}),xt.selectAll("g."+Ee._id+"tick,path").remove();var ut=Le+ae+(q||0)/2-(B.ticks==="outside"?1:0),dt=v.calcTicks(Ee),_t=v.getTickSigns(Ee)[2];return v.drawTicks(N,Ee,{vals:Ee.ticks==="inside"?v.clipEnds(Ee,dt):dt,layer:xt,path:v.makeTickPath(Ee,ut,_t),transFn:v.makeTransTickFn(Ee)}),v.drawLabels(N,Ee,{vals:dt,layer:xt,transFn:v.makeTransTickLabelFn(Ee),labelFns:v.makeLabelFns(Ee,ut)})},function(){if(W&&!Ve||!W&&Ve){var qt,Vt,Ke=Ee.position||0,Je=Ee._offset+Ee._length/2;if(me==="right")Vt=Je,qt=ue.l+ue.w*Ke+10+kt*(Ee.showticklabels?1:.5);else if(qt=Je,me==="bottom"&&(Vt=ue.t+ue.h*Ke+10+(Et.indexOf("inside")===-1?Ee.tickfont.size:0)+(Ee.ticks!=="intside"&&B.ticklen||0)),me==="top"){var qe=de.text.split("
").length;Vt=ue.t+ue.h*Ke+10-ae-E*kt*qe}Bt((W?"h":"v")+Ee._id+"title",{avoid:{selection:d.select(N).selectAll("g."+Ee._id+"tick"),side:me,offsetTop:W?0:ue.t,offsetLeft:W?ue.l:0,maxShift:W?oe.width:oe.height},attributes:{x:qt,y:Vt,"text-anchor":"middle"},transform:{rotate:W?-90:0,offset:0}})}},i.previousPromises,function(){var qt,Vt=ae+q/2;Et.indexOf("inside")===-1&&(qt=o.bBox(xt.node()),Vt+=W?qt.width:qt.height),ft=bt.select("text");var Ke=0,Je=W&&me==="top",qe=!W&&me==="right",nt=0;if(ft.node()&&!ft.classed(L.jsPlaceholder)){var ht,Re=bt.select(".h"+Ee._id+"title-math-group").node();Re&&(W&&Ve||!W&&!Ve)?(Ke=(qt=o.bBox(Re)).width,ht=qt.height):(Ke=(qt=o.bBox(bt.node())).right-ue.l-(W?Le:we),ht=qt.bottom-ue.t-(W?we:Le),W||me!=="top"||(Vt+=qt.height,nt=qt.height)),qe&&(ft.attr("transform",a(Ke/2+kt/2,0)),Ke*=2),Vt=Math.max(Vt,W?Ke:ht)}var Ne=2*(W?X:Q)+Vt+H+q/2,Qe=0;!W&&de.text&&Z==="bottom"&&ie<=0&&(Ne+=Qe=Ne/2,nt+=Qe),oe._hColorbarMoveTitle=Qe,oe._hColorbarMoveCBTitle=nt;var ut=H+q;F.select("."+L.cbbg).attr("x",(W?Le:we)-ut/2-(W?X:0)).attr("y",(W?we:Le)-(W?be:Q+nt-Qe)).attr(W?"width":"height",Math.max(Ne-Qe,2)).attr(W?"height":"width",Math.max(be+ut,2)).call(c.fill,ne).call(c.stroke,B.bordercolor).style("stroke-width",H);var dt=qe?Math.max(Ke-10,0):0;if(F.selectAll("."+L.cboutline).attr("x",(W?Le:we+X)+dt).attr("y",(W?we+Q-be:Le)+(Je?Ft:0)).attr(W?"width":"height",Math.max(ae,2)).attr(W?"height":"width",Math.max(be-(W?2*Q+Ft:2*X+dt),2)).call(c.stroke,B.outlinecolor).style({fill:"none","stroke-width":q}),F.attr("transform",a(ue.l-(W?Be*Ne:0),ue.t-(W?0:(1-ze)*Ne-nt))),!W&&(H||y(ne).getAlpha()&&!y.equals(oe.paper_bgcolor,ne))){var _t=xt.selectAll("text"),It=_t[0].length,Lt=F.select("."+L.cbbg).node(),yt=o.bBox(Lt),Pt=o.getTranslate(F);_t.each(function(Qt,rn){var xn=It-1;if(rn===0||rn===xn){var un,An=o.bBox(this),$n=o.getTranslate(this);if(rn===xn){var kn=An.right+$n.x;(un=yt.right+Pt.x+we-H-2+re-kn)>0&&(un=0)}else if(rn===0){var sn=An.left+$n.x;(un=yt.left+Pt.x+we+H+2-sn)<0&&(un=0)}un&&(It<3?this.setAttribute("transform","translate("+un+",0) "+this.getAttribute("transform")):this.setAttribute("visibility","hidden"))}})}var wt={},Rt=_[te],Nt=A[te],$t=_[Z],Wt=A[Z],Xt=Ne-ae;W?(Y==="pixels"?(wt.y=ie,wt.t=be*$t,wt.b=be*Wt):(wt.t=wt.b=0,wt.yt=ie+j*$t,wt.yb=ie-j*Wt),G==="pixels"?(wt.x=re,wt.l=Ne*Rt,wt.r=Ne*Nt):(wt.l=Xt*Rt,wt.r=Xt*Nt,wt.xl=re-U*Rt,wt.xr=re+U*Nt)):(Y==="pixels"?(wt.x=re,wt.l=be*Rt,wt.r=be*Nt):(wt.l=wt.r=0,wt.xl=re+j*Rt,wt.xr=re-j*Nt),G==="pixels"?(wt.y=1-ie,wt.t=Ne*$t,wt.b=Ne*Wt):(wt.t=Xt*$t,wt.b=Xt*Wt,wt.yt=ie-U*$t,wt.yb=ie+U*Wt)),i.autoMargin(N,B._id,wt)}],N)}(O,I,b);z&&z.then&&(b._promises||[]).push(z),b._context.edits.colorbarPosition&&function(F,B,N){var W,j,Y,U=B.orientation==="v",G=N._fullLayout._size;h.init({element:F.node(),gd:N,prepFn:function(){W=F.attr("transform"),s(F)},moveFn:function(q,H){F.attr("transform",W+a(q,H)),j=h.align((U?B._uFrac:B._vFrac)+q/G.w,U?B._thickFrac:B._lenFrac,0,1,B.xanchor),Y=h.align((U?B._vFrac:1-B._uFrac)-H/G.h,U?B._lenFrac:B._thickFrac,0,1,B.yanchor);var ne=h.getCursor(j,Y,B.xanchor,B.yanchor);s(F,ne)},doneFn:function(){if(s(F),j!==void 0&&Y!==void 0){var q={};q[B._propPrefix+"x"]=j,q[B._propPrefix+"y"]=Y,B._traceIndex!==void 0?M.call("_guiRestyle",N,q,B._traceIndex):M.call("_guiRelayout",N,q)}}})}(O,I,b)}),R.exit().each(function(I){i.autoMargin(b,I._id)}).remove(),R.order()}}},76228:function(k,m,t){var d=t(71828);k.exports=function(y){return d.isPlainObject(y.colorbar)}},12311:function(k,m,t){k.exports={moduleType:"component",name:"colorbar",attributes:t(63583),supplyDefaults:t(62499),draw:t(98981).draw,hasColorbar:t(76228)}},50693:function(k,m,t){var d=t(63583),y=t(30587).counter,i=t(78607),M=t(63282).scales;function v(h){return"`"+h+"`"}i(M),k.exports=function(h,l){h=h||"";var a,u=(l=l||{}).cLetter||"c",s=("onlyIfNumerical"in l&&l.onlyIfNumerical,"noScale"in l?l.noScale:h==="marker.line"),o="showScaleDflt"in l?l.showScaleDflt:u==="z",c=typeof l.colorscaleDflt=="string"?M[l.colorscaleDflt]:null,f=l.editTypeOverride||"",p=h?h+".":"";"colorAttr"in l?(a=l.colorAttr,l.colorAttr):v(p+(a={z:"z",c:"color"}[u]));var w=u+"auto",g=u+"min",S=u+"max",x=u+"mid",T={};T[g]=T[S]=void 0;var E={};E[w]=!1;var _={};return a==="color"&&(_.color={valType:"color",arrayOk:!0,editType:f||"style"},l.anim&&(_.color.anim=!0)),_[w]={valType:"boolean",dflt:!0,editType:"calc",impliedEdits:T},_[g]={valType:"number",dflt:null,editType:f||"plot",impliedEdits:E},_[S]={valType:"number",dflt:null,editType:f||"plot",impliedEdits:E},_[x]={valType:"number",dflt:null,editType:"calc",impliedEdits:T},_.colorscale={valType:"colorscale",editType:"calc",dflt:c,impliedEdits:{autocolorscale:!1}},_.autocolorscale={valType:"boolean",dflt:l.autoColorDflt!==!1,editType:"calc",impliedEdits:{colorscale:void 0}},_.reversescale={valType:"boolean",dflt:!1,editType:"plot"},s||(_.showscale={valType:"boolean",dflt:o,editType:"calc"},_.colorbar=d),l.noColorAxis||(_.coloraxis={valType:"subplotid",regex:y("coloraxis"),dflt:null,editType:"calc"}),_}},78803:function(k,m,t){var d=t(92770),y=t(71828),i=t(52075).extractOpts;k.exports=function(M,v,h){var l,a=M._fullLayout,u=h.vals,s=h.containerStr,o=s?y.nestedProperty(v,s).get():v,c=i(o),f=c.auto!==!1,p=c.min,w=c.max,g=c.mid,S=function(){return y.aggNums(Math.min,null,u)},x=function(){return y.aggNums(Math.max,null,u)};p===void 0?p=S():f&&(p=o._colorAx&&d(p)?Math.min(p,S()):S()),w===void 0?w=x():f&&(w=o._colorAx&&d(w)?Math.max(w,x()):x()),f&&g!==void 0&&(w-g>g-p?p=g-(w-g):w-g=0?a.colorscale.sequential:a.colorscale.sequentialminus,c._sync("colorscale",l))}},33046:function(k,m,t){var d=t(71828),y=t(52075).hasColorscale,i=t(52075).extractOpts;k.exports=function(M,v){function h(f,p){var w=f["_"+p];w!==void 0&&(f[p]=w)}function l(f,p){var w=p.container?d.nestedProperty(f,p.container).get():f;if(w)if(w.coloraxis)w._colorAx=v[w.coloraxis];else{var g=i(w),S=g.auto;(S||g.min===void 0)&&h(w,p.min),(S||g.max===void 0)&&h(w,p.max),g.autocolorscale&&h(w,"colorscale")}}for(var a=0;a=0;S--,x++){var T=p[S];g[x]=[1-T[0],T[1]]}return g}function c(p,w){w=w||{};for(var g=p.domain,S=p.range,x=S.length,T=new Array(x),E=0;E1.3333333333333333-h?v:h}},70461:function(k,m,t){var d=t(71828),y=[["sw-resize","s-resize","se-resize"],["w-resize","move","e-resize"],["nw-resize","n-resize","ne-resize"]];k.exports=function(i,M,v,h){return i=v==="left"?0:v==="center"?1:v==="right"?2:d.constrain(Math.floor(3*i),0,2),M=h==="bottom"?0:h==="middle"?1:h==="top"?2:d.constrain(Math.floor(3*M),0,2),y[M][i]}},64505:function(k,m){m.selectMode=function(t){return t==="lasso"||t==="select"},m.drawMode=function(t){return t==="drawclosedpath"||t==="drawopenpath"||t==="drawline"||t==="drawrect"||t==="drawcircle"},m.openMode=function(t){return t==="drawline"||t==="drawopenpath"},m.rectMode=function(t){return t==="select"||t==="drawline"||t==="drawrect"||t==="drawcircle"},m.freeMode=function(t){return t==="lasso"||t==="drawclosedpath"||t==="drawopenpath"},m.selectingOrDrawing=function(t){return m.freeMode(t)||m.rectMode(t)}},28569:function(k,m,t){var d=t(48956),y=t(57035),i=t(38520),M=t(71828).removeElement,v=t(85555),h=k.exports={};h.align=t(92807),h.getCursor=t(70461);var l=t(26041);function a(){var s=document.createElement("div");s.className="dragcover";var o=s.style;return o.position="fixed",o.left=0,o.right=0,o.top=0,o.bottom=0,o.zIndex=999999999,o.background="none",document.body.appendChild(s),s}function u(s){return d(s.changedTouches?s.changedTouches[0]:s,document.body)}h.unhover=l.wrapped,h.unhoverRaw=l.raw,h.init=function(s){var o,c,f,p,w,g,S,x,T=s.gd,E=1,_=T._context.doubleClickDelay,A=s.element;T._mouseDownTime||(T._mouseDownTime=0),A.style.pointerEvents="all",A.onmousedown=b,i?(A._ontouchstart&&A.removeEventListener("touchstart",A._ontouchstart),A._ontouchstart=b,A.addEventListener("touchstart",b,{passive:!1})):A.ontouchstart=b;var L=s.clampFn||function(O,z,F){return Math.abs(O)_&&(E=Math.max(E-1,1)),T._dragged)s.doneFn&&s.doneFn();else if(s.clickFn&&s.clickFn(E,g),!x){var z;try{z=new MouseEvent("click",O)}catch{var F=u(O);(z=document.createEvent("MouseEvents")).initMouseEvent("click",O.bubbles,O.cancelable,O.view,O.detail,O.screenX,O.screenY,F[0],F[1],O.ctrlKey,O.altKey,O.shiftKey,O.metaKey,O.button,O.relatedTarget)}S.dispatchEvent(z)}T._dragging=!1,T._dragged=!1}else T._dragged=!1}},h.coverSlip=a},26041:function(k,m,t){var d=t(11086),y=t(79990),i=t(24401).getGraphDiv,M=t(26675),v=k.exports={};v.wrapped=function(h,l,a){(h=i(h))._fullLayout&&y.clear(h._fullLayout._uid+M.HOVERID),v.raw(h,l,a)},v.raw=function(h,l){var a=h._fullLayout,u=h._hoverdata;l||(l={}),l.target&&!h._dragged&&d.triggerHandler(h,"plotly_beforehover",l)===!1||(a._hoverlayer.selectAll("g").remove(),a._hoverlayer.selectAll("line").remove(),a._hoverlayer.selectAll("circle").remove(),h._hoverdata=void 0,l.target&&u&&h.emit("plotly_unhover",{event:l,points:u}))}},79952:function(k,m){m.P={valType:"string",values:["solid","dot","dash","longdash","dashdot","longdashdot"],dflt:"solid",editType:"style"},m.u={shape:{valType:"enumerated",values:["","/","\\","x","-","|","+","."],dflt:"",arrayOk:!0,editType:"style"},fillmode:{valType:"enumerated",values:["replace","overlay"],dflt:"replace",editType:"style"},bgcolor:{valType:"color",arrayOk:!0,editType:"style"},fgcolor:{valType:"color",arrayOk:!0,editType:"style"},fgopacity:{valType:"number",editType:"style",min:0,max:1},size:{valType:"number",min:0,dflt:8,arrayOk:!0,editType:"style"},solidity:{valType:"number",min:0,max:1,dflt:.3,arrayOk:!0,editType:"style"},editType:"style"}},91424:function(k,m,t){var d=t(39898),y=t(71828),i=y.numberFormat,M=t(92770),v=t(84267),h=t(73972),l=t(7901),a=t(21081),u=y.strTranslate,s=t(63893),o=t(77922),c=t(18783).LINE_SPACING,f=t(37822).DESELECTDIM,p=t(34098),w=t(39984),g=t(23469).appendArrayPointValue,S=k.exports={};function x(_e,Me,Se){var Ce=Me.fillpattern,ae=Ce&&S.getPatternAttr(Ce.shape,0,"");if(ae){var he=S.getPatternAttr(Ce.bgcolor,0,null),be=S.getPatternAttr(Ce.fgcolor,0,null),ke=Ce.fgopacity,Le=S.getPatternAttr(Ce.size,0,8),Be=S.getPatternAttr(Ce.solidity,0,.3),ze=Me.uid;S.pattern(_e,"point",Se,ze,ae,Le,Be,void 0,Ce.fillmode,he,be,ke)}else Me.fillcolor&&_e.call(l.fill,Me.fillcolor)}S.font=function(_e,Me,Se,Ce){y.isPlainObject(Me)&&(Ce=Me.color,Se=Me.size,Me=Me.family),Me&&_e.style("font-family",Me),Se+1&&_e.style("font-size",Se+"px"),Ce&&_e.call(l.fill,Ce)},S.setPosition=function(_e,Me,Se){_e.attr("x",Me).attr("y",Se)},S.setSize=function(_e,Me,Se){_e.attr("width",Me).attr("height",Se)},S.setRect=function(_e,Me,Se,Ce,ae){_e.call(S.setPosition,Me,Se).call(S.setSize,Ce,ae)},S.translatePoint=function(_e,Me,Se,Ce){var ae=Se.c2p(_e.x),he=Ce.c2p(_e.y);return!!(M(ae)&&M(he)&&Me.node())&&(Me.node().nodeName==="text"?Me.attr("x",ae).attr("y",he):Me.attr("transform",u(ae,he)),!0)},S.translatePoints=function(_e,Me,Se){_e.each(function(Ce){var ae=d.select(this);S.translatePoint(Ce,ae,Me,Se)})},S.hideOutsideRangePoint=function(_e,Me,Se,Ce,ae,he){Me.attr("display",Se.isPtWithinRange(_e,ae)&&Ce.isPtWithinRange(_e,he)?null:"none")},S.hideOutsideRangePoints=function(_e,Me){if(Me._hasClipOnAxisFalse){var Se=Me.xaxis,Ce=Me.yaxis;_e.each(function(ae){var he=ae[0].trace,be=he.xcalendar,ke=he.ycalendar,Le=h.traceIs(he,"bar-like")?".bartext":".point,.textpoint";_e.selectAll(Le).each(function(Be){S.hideOutsideRangePoint(Be,d.select(this),Se,Ce,be,ke)})})}},S.crispRound=function(_e,Me,Se){return Me&&M(Me)?_e._context.staticPlot?Me:Me<1?1:Math.round(Me):Se||0},S.singleLineStyle=function(_e,Me,Se,Ce,ae){Me.style("fill","none");var he=(((_e||[])[0]||{}).trace||{}).line||{},be=Se||he.width||0,ke=ae||he.dash||"";l.stroke(Me,Ce||he.color),S.dashLine(Me,ke,be)},S.lineGroupStyle=function(_e,Me,Se,Ce){_e.style("fill","none").each(function(ae){var he=(((ae||[])[0]||{}).trace||{}).line||{},be=Me||he.width||0,ke=Ce||he.dash||"";d.select(this).call(l.stroke,Se||he.color).call(S.dashLine,ke,be)})},S.dashLine=function(_e,Me,Se){Se=+Se||0,Me=S.dashStyle(Me,Se),_e.style({"stroke-dasharray":Me,"stroke-width":Se+"px"})},S.dashStyle=function(_e,Me){Me=+Me||1;var Se=Math.max(Me,3);return _e==="solid"?_e="":_e==="dot"?_e=Se+"px,"+Se+"px":_e==="dash"?_e=3*Se+"px,"+3*Se+"px":_e==="longdash"?_e=5*Se+"px,"+5*Se+"px":_e==="dashdot"?_e=3*Se+"px,"+Se+"px,"+Se+"px,"+Se+"px":_e==="longdashdot"&&(_e=5*Se+"px,"+2*Se+"px,"+Se+"px,"+2*Se+"px"),_e},S.singleFillStyle=function(_e,Me){var Se=d.select(_e.node());x(_e,((Se.data()[0]||[])[0]||{}).trace||{},Me)},S.fillGroupStyle=function(_e,Me){_e.style("stroke-width",0).each(function(Se){var Ce=d.select(this);Se[0].trace&&x(Ce,Se[0].trace,Me)})};var T=t(90998);S.symbolNames=[],S.symbolFuncs=[],S.symbolBackOffs=[],S.symbolNeedLines={},S.symbolNoDot={},S.symbolNoFill={},S.symbolList=[],Object.keys(T).forEach(function(_e){var Me=T[_e],Se=Me.n;S.symbolList.push(Se,String(Se),_e,Se+100,String(Se+100),_e+"-open"),S.symbolNames[Se]=_e,S.symbolFuncs[Se]=Me.f,S.symbolBackOffs[Se]=Me.backoff||0,Me.needLine&&(S.symbolNeedLines[Se]=!0),Me.noDot?S.symbolNoDot[Se]=!0:S.symbolList.push(Se+200,String(Se+200),_e+"-dot",Se+300,String(Se+300),_e+"-open-dot"),Me.noFill&&(S.symbolNoFill[Se]=!0)});var E=S.symbolNames.length;function _(_e,Me,Se,Ce){var ae=_e%100;return S.symbolFuncs[ae](Me,Se,Ce)+(_e>=200?"M0,0.5L0.5,0L0,-0.5L-0.5,0Z":"")}S.symbolNumber=function(_e){if(M(_e))_e=+_e;else if(typeof _e=="string"){var Me=0;_e.indexOf("-open")>0&&(Me=100,_e=_e.replace("-open","")),_e.indexOf("-dot")>0&&(Me+=200,_e=_e.replace("-dot","")),(_e=S.symbolNames.indexOf(_e))>=0&&(_e+=Me)}return _e%100>=E||_e>=400?0:Math.floor(Math.max(_e,0))};var A={x1:1,x2:0,y1:0,y2:0},L={x1:0,x2:0,y1:1,y2:0},b=i("~f"),R={radial:{node:"radialGradient"},radialreversed:{node:"radialGradient",reversed:!0},horizontal:{node:"linearGradient",attrs:A},horizontalreversed:{node:"linearGradient",attrs:A,reversed:!0},vertical:{node:"linearGradient",attrs:L},verticalreversed:{node:"linearGradient",attrs:L,reversed:!0}};S.gradient=function(_e,Me,Se,Ce,ae,he){for(var be=ae.length,ke=R[Ce],Le=new Array(be),Be=0;Be=100;var Be=Pe(_e,Se),ze=Q(_e,Se);Me.attr("d",_(Le,ke,Be,ze))}var je,ge,we,Ee=!1;if(_e.so)we=be.outlierwidth,ge=be.outliercolor,je=he.outliercolor;else{var Ve=(be||{}).width;we=(_e.mlw+1||Ve+1||(_e.trace?(_e.trace.marker.line||{}).width:0)+1)-1||0,ge="mlc"in _e?_e.mlcc=Ce.lineScale(_e.mlc):y.isArrayOrTypedArray(be.color)?l.defaultLine:be.color,y.isArrayOrTypedArray(he.color)&&(je=l.defaultLine,Ee=!0),je="mc"in _e?_e.mcc=Ce.markerScale(_e.mc):he.color||"rgba(0,0,0,0)",Ce.selectedColorFn&&(je=Ce.selectedColorFn(_e))}if(_e.om)Me.call(l.stroke,je).style({"stroke-width":(we||1)+"px",fill:"none"});else{Me.style("stroke-width",(_e.isBlank?0:we)+"px");var Ye=he.gradient,$e=_e.mgt;$e?Ee=!0:$e=Ye&&Ye.type,y.isArrayOrTypedArray($e)&&($e=$e[0],R[$e]||($e=0));var st=he.pattern,ot=st&&S.getPatternAttr(st.shape,_e.i,"");if($e&&$e!=="none"){var ft=_e.mgc;ft?Ee=!0:ft=Ye.color;var bt=Se.uid;Ee&&(bt+="-"+_e.i),S.gradient(Me,ae,bt,$e,[[0,ft],[1,je]],"fill")}else if(ot){var Et=S.getPatternAttr(st.bgcolor,_e.i,null),kt=S.getPatternAttr(st.fgcolor,_e.i,null),xt=st.fgopacity,Ft=S.getPatternAttr(st.size,_e.i,8),Ot=S.getPatternAttr(st.solidity,_e.i,.3),Bt=_e.mcc||y.isArrayOrTypedArray(st.shape)||y.isArrayOrTypedArray(st.bgcolor)||y.isArrayOrTypedArray(st.size)||y.isArrayOrTypedArray(st.solidity),qt=Se.uid;Bt&&(qt+="-"+_e.i),S.pattern(Me,"point",ae,qt,ot,Ft,Ot,_e.mcc,st.fillmode,Et,kt,xt)}else l.fill(Me,je);we&&l.stroke(Me,ge)}},S.makePointStyleFns=function(_e){var Me={},Se=_e.marker;return Me.markerScale=S.tryColorscale(Se,""),Me.lineScale=S.tryColorscale(Se,"line"),h.traceIs(_e,"symbols")&&(Me.ms2mrc=p.isBubble(_e)?w(_e):function(){return(Se.size||6)/2}),_e.selectedpoints&&y.extendFlat(Me,S.makeSelectedPointStyleFns(_e)),Me},S.makeSelectedPointStyleFns=function(_e){var Me={},Se=_e.selected||{},Ce=_e.unselected||{},ae=_e.marker||{},he=Se.marker||{},be=Ce.marker||{},ke=ae.opacity,Le=he.opacity,Be=be.opacity,ze=Le!==void 0,je=Be!==void 0;(y.isArrayOrTypedArray(ke)||ze||je)&&(Me.selectedOpacityFn=function(ft){var bt=ft.mo===void 0?ae.opacity:ft.mo;return ft.selected?ze?Le:bt:je?Be:f*bt});var ge=ae.color,we=he.color,Ee=be.color;(we||Ee)&&(Me.selectedColorFn=function(ft){var bt=ft.mcc||ge;return ft.selected?we||bt:Ee||bt});var Ve=ae.size,Ye=he.size,$e=be.size,st=Ye!==void 0,ot=$e!==void 0;return h.traceIs(_e,"symbols")&&(st||ot)&&(Me.selectedSizeFn=function(ft){var bt=ft.mrc||Ve/2;return ft.selected?st?Ye/2:bt:ot?$e/2:bt}),Me},S.makeSelectedTextStyleFns=function(_e){var Me={},Se=_e.selected||{},Ce=_e.unselected||{},ae=_e.textfont||{},he=Se.textfont||{},be=Ce.textfont||{},ke=ae.color,Le=he.color,Be=be.color;return Me.selectedTextColorFn=function(ze){var je=ze.tc||ke;return ze.selected?Le||je:Be||(Le?je:l.addOpacity(je,f))},Me},S.selectedPointStyle=function(_e,Me){if(_e.size()&&Me.selectedpoints){var Se=S.makeSelectedPointStyleFns(Me),Ce=Me.marker||{},ae=[];Se.selectedOpacityFn&&ae.push(function(he,be){he.style("opacity",Se.selectedOpacityFn(be))}),Se.selectedColorFn&&ae.push(function(he,be){l.fill(he,Se.selectedColorFn(be))}),Se.selectedSizeFn&&ae.push(function(he,be){var ke=be.mx||Ce.symbol||0,Le=Se.selectedSizeFn(be);he.attr("d",_(S.symbolNumber(ke),Le,Pe(be,Me),Q(be,Me))),be.mrc2=Le}),ae.length&&_e.each(function(he){for(var be=d.select(this),ke=0;ke0?Se:0}function N(_e,Me,Se){return Se&&(_e=q(_e)),Me?j(_e[1]):W(_e[0])}function W(_e){var Me=d.round(_e,2);return I=Me,Me}function j(_e){var Me=d.round(_e,2);return O=Me,Me}function Y(_e,Me,Se,Ce){var ae=_e[0]-Me[0],he=_e[1]-Me[1],be=Se[0]-Me[0],ke=Se[1]-Me[1],Le=Math.pow(ae*ae+he*he,.25),Be=Math.pow(be*be+ke*ke,.25),ze=(Be*Be*ae-Le*Le*be)*Ce,je=(Be*Be*he-Le*Le*ke)*Ce,ge=3*Be*(Le+Be),we=3*Le*(Le+Be);return[[W(Me[0]+(ge&&ze/ge)),j(Me[1]+(ge&&je/ge))],[W(Me[0]-(we&&ze/we)),j(Me[1]-(we&&je/we))]]}S.textPointStyle=function(_e,Me,Se){if(_e.size()){var Ce;if(Me.selectedpoints){var ae=S.makeSelectedTextStyleFns(Me);Ce=ae.selectedTextColorFn}var he=Me.texttemplate,be=Se._fullLayout;_e.each(function(ke){var Le=d.select(this),Be=he?y.extractOption(ke,Me,"txt","texttemplate"):y.extractOption(ke,Me,"tx","text");if(Be||Be===0){if(he){var ze=Me._module.formatLabels,je=ze?ze(ke,Me,be):{},ge={};g(ge,Me,ke.i);var we=Me._meta||{};Be=y.texttemplateString(Be,je,be._d3locale,ge,ke,we)}var Ee=ke.tp||Me.textposition,Ve=B(ke,Me),Ye=Ce?Ce(ke):ke.tc||Me.textfont.color;Le.call(S.font,ke.tf||Me.textfont.family,Ve,Ye).text(Be).call(s.convertToTspans,Se).call(F,Ee,Ve,ke.mrc)}else Le.remove()})}},S.selectedTextStyle=function(_e,Me){if(_e.size()&&Me.selectedpoints){var Se=S.makeSelectedTextStyleFns(Me);_e.each(function(Ce){var ae=d.select(this),he=Se.selectedTextColorFn(Ce),be=Ce.tp||Me.textposition,ke=B(Ce,Me);l.fill(ae,he);var Le=h.traceIs(Me,"bar-like");F(ae,be,ke,Ce.mrc2||Ce.mrc,Le)})}},S.smoothopen=function(_e,Me){if(_e.length<3)return"M"+_e.join("L");var Se,Ce="M"+_e[0],ae=[];for(Se=1;Se<_e.length-1;Se++)ae.push(Y(_e[Se-1],_e[Se],_e[Se+1],Me));for(Ce+="Q"+ae[0][0]+" "+_e[1],Se=2;Se<_e.length-1;Se++)Ce+="C"+ae[Se-2][1]+" "+ae[Se-1][0]+" "+_e[Se];return Ce+"Q"+ae[_e.length-3][1]+" "+_e[_e.length-1]},S.smoothclosed=function(_e,Me){if(_e.length<3)return"M"+_e.join("L")+"Z";var Se,Ce="M"+_e[0],ae=_e.length-1,he=[Y(_e[ae],_e[0],_e[1],Me)];for(Se=1;Se=Le||ft>=ze&&ft<=Le)&&(bt<=je&&bt>=Be||bt>=je&&bt<=Be)&&(_e=[ft,bt])}return _e}S.steps=function(_e){var Me=U[_e]||G;return function(Se){for(var Ce="M"+W(Se[0][0])+","+j(Se[0][1]),ae=Se.length,he=1;he=1e4&&(S.savedBBoxes={},H=0),Se&&(S.savedBBoxes[Se]=we),H++,y.extendFlat({},we)},S.setClipUrl=function(_e,Me,Se){_e.attr("clip-path",te(Me,Se))},S.getTranslate=function(_e){var Me=(_e[_e.attr?"attr":"getAttribute"]("transform")||"").replace(/.*\btranslate\((-?\d*\.?\d*)[^-\d]*(-?\d*\.?\d*)[^\d].*/,function(Se,Ce,ae){return[Ce,ae].join(" ")}).split(" ");return{x:+Me[0]||0,y:+Me[1]||0}},S.setTranslate=function(_e,Me,Se){var Ce=_e.attr?"attr":"getAttribute",ae=_e.attr?"attr":"setAttribute",he=_e[Ce]("transform")||"";return Me=Me||0,Se=Se||0,he=he.replace(/(\btranslate\(.*?\);?)/,"").trim(),he=(he+=u(Me,Se)).trim(),_e[ae]("transform",he),he},S.getScale=function(_e){var Me=(_e[_e.attr?"attr":"getAttribute"]("transform")||"").replace(/.*\bscale\((\d*\.?\d*)[^\d]*(\d*\.?\d*)[^\d].*/,function(Se,Ce,ae){return[Ce,ae].join(" ")}).split(" ");return{x:+Me[0]||1,y:+Me[1]||1}},S.setScale=function(_e,Me,Se){var Ce=_e.attr?"attr":"getAttribute",ae=_e.attr?"attr":"setAttribute",he=_e[Ce]("transform")||"";return Me=Me||1,Se=Se||1,he=he.replace(/(\bscale\(.*?\);?)/,"").trim(),he=(he+="scale("+Me+","+Se+")").trim(),_e[ae]("transform",he),he};var Z=/\s*sc.*/;S.setPointGroupScale=function(_e,Me,Se){if(Me=Me||1,Se=Se||1,_e){var Ce=Me===1&&Se===1?"":"scale("+Me+","+Se+")";_e.each(function(){var ae=(this.getAttribute("transform")||"").replace(Z,"");ae=(ae+=Ce).trim(),this.setAttribute("transform",ae)})}};var X=/translate\([^)]*\)\s*$/;function Q(_e,Me){var Se;return _e&&(Se=_e.mf),Se===void 0&&(Se=Me.marker&&Me.marker.standoff||0),Me._geo||Me._xA?Se:-Se}S.setTextPointsScale=function(_e,Me,Se){_e&&_e.each(function(){var Ce,ae=d.select(this),he=ae.select("text");if(he.node()){var be=parseFloat(he.attr("x")||0),ke=parseFloat(he.attr("y")||0),Le=(ae.attr("transform")||"").match(X);Ce=Me===1&&Se===1?[]:[u(be,ke),"scale("+Me+","+Se+")",u(-be,-ke)],Le&&Ce.push(Le),ae.attr("transform",Ce.join(""))}})},S.getMarkerStandoff=Q;var re,ie,oe,ue,ce,ye,de=Math.atan2,me=Math.cos,pe=Math.sin;function xe(_e,Me){var Se=Me[0],Ce=Me[1];return[Se*me(_e)-Ce*pe(_e),Se*pe(_e)+Ce*me(_e)]}function Pe(_e,Me){var Se,Ce,ae=_e.ma;ae===void 0&&(ae=Me.marker.angle||0);var he=Me.marker.angleref;if(he==="previous"||he==="north"){if(Me._geo){var be=Me._geo.project(_e.lonlat);Se=be[0],Ce=be[1]}else{var ke=Me._xA,Le=Me._yA;if(!ke||!Le)return 90;Se=ke.c2p(_e.x),Ce=Le.c2p(_e.y)}if(Me._geo){var Be,ze=_e.lonlat[0],je=_e.lonlat[1],ge=Me._geo.project([ze,je+1e-5]),we=Me._geo.project([ze+1e-5,je]),Ee=de(we[1]-Ce,we[0]-Se),Ve=de(ge[1]-Ce,ge[0]-Se);if(he==="north")Be=ae/180*Math.PI;else if(he==="previous"){var Ye=ze/180*Math.PI,$e=je/180*Math.PI,st=re/180*Math.PI,ot=ie/180*Math.PI,ft=st-Ye,bt=me(ot)*pe(ft),Et=pe(ot)*me($e)-me(ot)*pe($e)*me(ft);Be=-de(bt,Et)-Math.PI,re=ze,ie=je}var kt=xe(Ee,[me(Be),0]),xt=xe(Ve,[pe(Be),0]);ae=de(kt[1]+xt[1],kt[0]+xt[0])/Math.PI*180,he!=="previous"||ye===Me.uid&&_e.i===ce+1||(ae=null)}if(he==="previous"&&!Me._geo)if(ye===Me.uid&&_e.i===ce+1&&M(Se)&&M(Ce)){var Ft=Se-oe,Ot=Ce-ue,Bt=Me.line&&Me.line.shape||"",qt=Bt.slice(Bt.length-1);qt==="h"&&(Ot=0),qt==="v"&&(Ft=0),ae+=de(Ot,Ft)/Math.PI*180+90}else ae=null}return oe=Se,ue=Ce,ce=_e.i,ye=Me.uid,ae}S.getMarkerAngle=Pe},90998:function(k,m,t){var d,y,i,M,v=t(95616),h=t(39898).round,l="M0,0Z",a=Math.sqrt(2),u=Math.sqrt(3),s=Math.PI,o=Math.cos,c=Math.sin;function f(w){return w===null}function p(w,g,S){if(!(w&&w%360!=0||g))return S;if(i===w&&M===g&&d===S)return y;function x(N,W){var j=o(N),Y=c(N),U=W[0],G=W[1]+(g||0);return[U*j-G*Y,U*Y+G*j]}i=w,M=g,d=S;for(var T=w/180*s,E=0,_=0,A=v(S),L="",b=0;b0,c=v._context.staticPlot;h.each(function(f){var p,w=f[0].trace,g=w.error_x||{},S=w.error_y||{};w.ids&&(p=function(_){return _.id});var x=M.hasMarkers(w)&&w.marker.maxdisplayed>0;S.visible||g.visible||(f=[]);var T=d.select(this).selectAll("g.errorbar").data(f,p);if(T.exit().remove(),f.length){g.visible||T.selectAll("path.xerror").remove(),S.visible||T.selectAll("path.yerror").remove(),T.style("opacity",1);var E=T.enter().append("g").classed("errorbar",!0);o&&E.style("opacity",0).transition().duration(a.duration).style("opacity",1),i.setClipUrl(T,l.layerClipId,v),T.each(function(_){var A=d.select(this),L=function(F,B,N){var W={x:B.c2p(F.x),y:N.c2p(F.y)};return F.yh!==void 0&&(W.yh=N.c2p(F.yh),W.ys=N.c2p(F.ys),y(W.ys)||(W.noYS=!0,W.ys=N.c2p(F.ys,!0))),F.xh!==void 0&&(W.xh=B.c2p(F.xh),W.xs=B.c2p(F.xs),y(W.xs)||(W.noXS=!0,W.xs=B.c2p(F.xs,!0))),W}(_,u,s);if(!x||_.vis){var b,R=A.select("path.yerror");if(S.visible&&y(L.x)&&y(L.yh)&&y(L.ys)){var I=S.width;b="M"+(L.x-I)+","+L.yh+"h"+2*I+"m-"+I+",0V"+L.ys,L.noYS||(b+="m-"+I+",0h"+2*I),R.size()?o&&(R=R.transition().duration(a.duration).ease(a.easing)):R=A.append("path").style("vector-effect",c?"none":"non-scaling-stroke").classed("yerror",!0),R.attr("d",b)}else R.remove();var O=A.select("path.xerror");if(g.visible&&y(L.y)&&y(L.xh)&&y(L.xs)){var z=(g.copy_ystyle?S:g).width;b="M"+L.xh+","+(L.y-z)+"v"+2*z+"m0,-"+z+"H"+L.xs,L.noXS||(b+="m0,-"+z+"v"+2*z),O.size()?o&&(O=O.transition().duration(a.duration).ease(a.easing)):O=A.append("path").style("vector-effect",c?"none":"non-scaling-stroke").classed("xerror",!0),O.attr("d",b)}else O.remove()}})}})}},62662:function(k,m,t){var d=t(39898),y=t(7901);k.exports=function(i){i.each(function(M){var v=M[0].trace,h=v.error_y||{},l=v.error_x||{},a=d.select(this);a.selectAll("path.yerror").style("stroke-width",h.thickness+"px").call(y.stroke,h.color),l.copy_ystyle&&(l=h),a.selectAll("path.xerror").style("stroke-width",l.thickness+"px").call(y.stroke,l.color)})}},77914:function(k,m,t){var d=t(41940),y=t(528).hoverlabel,i=t(1426).extendFlat;k.exports={hoverlabel:{bgcolor:i({},y.bgcolor,{arrayOk:!0}),bordercolor:i({},y.bordercolor,{arrayOk:!0}),font:d({arrayOk:!0,editType:"none"}),align:i({},y.align,{arrayOk:!0}),namelength:i({},y.namelength,{arrayOk:!0}),editType:"none"}}},30732:function(k,m,t){var d=t(71828),y=t(73972);function i(M,v,h,l){l=l||d.identity,Array.isArray(M)&&(v[0][h]=l(M))}k.exports=function(M){var v=M.calcdata,h=M._fullLayout;function l(c){return function(f){return d.coerceHoverinfo({hoverinfo:f},{_module:c._module},h)}}for(var a=0;a=0&&u.indexae[0]._length||Je<0||Je>he[0]._length)return c.unhoverRaw(ue,ce)}else Ke="xpx"in ce?ce.xpx:ae[0]._length/2,Je="ypx"in ce?ce.ypx:he[0]._length/2;if(ce.pointerX=Ke+ae[0]._offset,ce.pointerY=Je+he[0]._offset,we="xval"in ce?w.flat(pe,ce.xval):w.p2c(ae,Ke),Ee="yval"in ce?w.flat(pe,ce.yval):w.p2c(he,Je),!y(we[0])||!y(Ee[0]))return M.warn("Fx.hover failed",ce,ue),c.unhoverRaw(ue,ce)}var ht=1/0;function Re(Kt,bn){for(Ye=0;YeFt&&(Ot.splice(0,Ft),ht=Ot[0].distance),Me&&ge!==0&&Ot.length===0){xt.distance=ge,xt.index=!1;var Yn=st._module.hoverPoints(xt,Et,kt,"closest",{hoverLayer:xe._hoverlayer});if(Yn&&(Yn=Yn.filter(function(Jt){return Jt.spikeDistance<=ge})),Yn&&Yn.length){var tr,mr=Yn.filter(function(Jt){return Jt.xa.showspikes&&Jt.xa.spikesnap!=="hovered data"});if(mr.length){var nn=mr[0];y(nn.x0)&&y(nn.y0)&&(tr=Qe(nn),(!qt.vLinePoint||qt.vLinePoint.spikeDistance>tr.spikeDistance)&&(qt.vLinePoint=tr))}var Pn=Yn.filter(function(Jt){return Jt.ya.showspikes&&Jt.ya.spikesnap!=="hovered data"});if(Pn.length){var jt=Pn[0];y(jt.x0)&&y(jt.y0)&&(tr=Qe(jt),(!qt.hLinePoint||qt.hLinePoint.spikeDistance>tr.spikeDistance)&&(qt.hLinePoint=tr))}}}}}function Ne(Kt,bn,Rn){for(var Ln,Un=null,Kn=1/0,Yn=0;Yn0&&Math.abs(Kt.distance)$t-1;Wt--)xn(Ot[Wt]);Ot=Xt,It()}var un=ue._hoverdata,An=[],$n=ne(ue),kn=te(ue);for(Ve=0;Ve1||Ot.length>1)||ze==="closest"&&Vt&&Ot.length>1,yr=o.combine(xe.plot_bgcolor||o.background,xe.paper_bgcolor),or=B(Ot,{gd:ue,hovermode:ze,rotateLabels:Sr,bgColor:yr,container:xe._hoverlayer,outerContainer:xe._paper.node(),commonLabelOpts:xe.hoverlabel,hoverdistance:xe.hoverdistance}),vr=or.hoverLabels;if(w.isUnifiedHover(ze)||(function(Kt,bn,Rn,Ln){var Un,Kn,Yn,tr,mr,nn,Pn,jt=bn?"xa":"ya",Jt=bn?"ya":"xa",fn=0,zn=1,On=Kt.size(),En=new Array(On),mn=0,wn=Ln.minX,gn=Ln.maxX,yn=Ln.minY,Sn=Ln.maxY,Vn=function(Lr){return Lr*Rn._invScaleX},Xn=function(Lr){return Lr*Rn._invScaleY};function nr(Lr){var zr=Lr[0],gr=Lr[Lr.length-1];if(Kn=zr.pmin-zr.pos-zr.dp+zr.size,Yn=gr.pos+gr.dp+gr.size-zr.pmax,Kn>.01){for(mr=Lr.length-1;mr>=0;mr--)Lr[mr].dp+=Kn;Un=!1}if(!(Yn<.01)){if(Kn<-.01){for(mr=Lr.length-1;mr>=0;mr--)Lr[mr].dp-=Yn;Un=!1}if(Un){var Fr=0;for(tr=0;trzr.pmax&&Fr++;for(tr=Lr.length-1;tr>=0&&!(Fr<=0);tr--)(nn=Lr[tr]).pos>zr.pmax-1&&(nn.del=!0,Fr--);for(tr=0;tr=0;mr--)Lr[mr].dp-=Yn;for(tr=Lr.length-1;tr>=0&&!(Fr<=0);tr--)(nn=Lr[tr]).pos+nn.dp+nn.size>zr.pmax&&(nn.del=!0,Fr--)}}}for(Kt.each(function(Lr){var zr=Lr[jt],gr=Lr[Jt],Fr=zr._id.charAt(0)==="x",ii=zr.range;mn===0&&ii&&ii[0]>ii[1]!==Fr&&(zn=-1);var ji=0,ta=Fr?Rn.width:Rn.height;if(Rn.hovermode==="x"||Rn.hovermode==="y"){var sa,uo,La=W(Lr,bn),Xi=Lr.anchor,Do=Xi==="end"?-1:1;if(Xi==="middle")uo=(sa=Lr.crossPos+(Fr?Xn(La.y-Lr.by/2):Vn(Lr.bx/2+Lr.tx2width/2)))+(Fr?Xn(Lr.by):Vn(Lr.bx));else if(Fr)uo=(sa=Lr.crossPos+Xn(b+La.y)-Xn(Lr.by/2-b))+Xn(Lr.by);else{var as=Vn(Do*b+La.x),tl=as+Vn(Do*Lr.bx);sa=Lr.crossPos+Math.min(as,tl),uo=Lr.crossPos+Math.max(as,tl)}Fr?yn!==void 0&&Sn!==void 0&&Math.min(uo,Sn)-Math.max(sa,yn)>1&&(gr.side==="left"?(ji=gr._mainLinePosition,ta=Rn.width):ta=gr._mainLinePosition):wn!==void 0&&gn!==void 0&&Math.min(uo,gn)-Math.max(sa,wn)>1&&(gr.side==="top"?(ji=gr._mainLinePosition,ta=Rn.height):ta=gr._mainLinePosition)}En[mn++]=[{datum:Lr,traceIndex:Lr.trace.index,dp:0,pos:Lr.pos,posref:Lr.posref,size:Lr.by*(Fr?_:1)/2,pmin:ji,pmax:ta}]}),En.sort(function(Lr,zr){return Lr[0].posref-zr[0].posref||zn*(zr[0].traceIndex-Lr[0].traceIndex)});!Un&&fn<=On;){for(fn++,Un=!0,tr=0;tr.01&&cr.pmin===pr.pmin&&cr.pmax===pr.pmax){for(mr=fr.length-1;mr>=0;mr--)fr[mr].dp+=Kn;for(Qn.push.apply(Qn,fr),En.splice(tr+1,1),Pn=0,mr=Qn.length-1;mr>=0;mr--)Pn+=Qn[mr].dp;for(Yn=Pn/Qn.length,mr=Qn.length-1;mr>=0;mr--)Qn[mr].dp-=Yn;Un=!1}else tr++}En.forEach(nr)}for(tr=En.length-1;tr>=0;tr--){var dr=En[tr];for(mr=dr.length-1;mr>=0;mr--){var br=dr[mr],Rr=br.datum;Rr.offset=br.dp,Rr.del=br.del}}}(vr,Sr,xe,or.commonLabelBoundingBox),j(vr,Sr,xe._invScaleX,xe._invScaleY)),me&&me.tagName){var _r=p.getComponentMethod("annotations","hasClickToShow")(ue,An);u(d.select(me),_r?"pointer":"")}me&&!de&&function(Kt,bn,Rn){if(!Rn||Rn.length!==Kt._hoverdata.length)return!0;for(var Ln=Rn.length-1;Ln>=0;Ln--){var Un=Rn[Ln],Kn=Kt._hoverdata[Ln];if(Un.curveNumber!==Kn.curveNumber||String(Un.pointNumber)!==String(Kn.pointNumber)||String(Un.pointNumbers)!==String(Kn.pointNumbers))return!0}return!1}(ue,0,un)&&(un&&ue.emit("plotly_unhover",{event:ce,points:un}),ue.emit("plotly_hover",{event:ce,points:ue._hoverdata,xaxes:ae,yaxes:he,xvals:we,yvals:Ee}))})(X,Q,re,ie,oe)})},m.loneHover=function(X,Q){var re=!0;Array.isArray(X)||(re=!1,X=[X]);var ie=Q.gd,oe=ne(ie),ue=te(ie),ce=B(X.map(function(me){var pe=me._x0||me.x0||me.x||0,xe=me._x1||me.x1||me.x||0,Pe=me._y0||me.y0||me.y||0,_e=me._y1||me.y1||me.y||0,Me=me.eventData;if(Me){var Se=Math.min(pe,xe),Ce=Math.max(pe,xe),ae=Math.min(Pe,_e),he=Math.max(Pe,_e),be=me.trace;if(p.traceIs(be,"gl3d")){var ke=ie._fullLayout[be.scene]._scene.container,Le=ke.offsetLeft,Be=ke.offsetTop;Se+=Le,Ce+=Le,ae+=Be,he+=Be}Me.bbox={x0:Se+ue,x1:Ce+ue,y0:ae+oe,y1:he+oe},Q.inOut_bbox&&Q.inOut_bbox.push(Me.bbox)}else Me=!1;return{color:me.color||o.defaultLine,x0:me.x0||me.x||0,x1:me.x1||me.x||0,y0:me.y0||me.y||0,y1:me.y1||me.y||0,xLabel:me.xLabel,yLabel:me.yLabel,zLabel:me.zLabel,text:me.text,name:me.name,idealAlign:me.idealAlign,borderColor:me.borderColor,fontFamily:me.fontFamily,fontSize:me.fontSize,fontColor:me.fontColor,nameLength:me.nameLength,textAlign:me.textAlign,trace:me.trace||{index:0,hoverinfo:""},xa:{_offset:0},ya:{_offset:0},index:0,hovertemplate:me.hovertemplate||!1,hovertemplateLabels:me.hovertemplateLabels||!1,eventData:Me}}),{gd:ie,hovermode:"closest",rotateLabels:!1,bgColor:Q.bgColor||o.background,container:d.select(Q.container),outerContainer:Q.outerContainer||Q.container}).hoverLabels,ye=0,de=0;return ce.sort(function(me,pe){return me.y0-pe.y0}).each(function(me,pe){var xe=me.y0-me.by/2;me.offset=xe-5([\s\S]*)<\/extra>/;function B(X,Q){var re=Q.gd,ie=re._fullLayout,oe=Q.hovermode,ue=Q.rotateLabels,ce=Q.bgColor,ye=Q.container,de=Q.outerContainer,me=Q.commonLabelOpts||{};if(X.length===0)return[[]];var pe=Q.fontFamily||g.HOVERFONT,xe=Q.fontSize||g.HOVERFONTSIZE,Pe=X[0],_e=Pe.xa,Me=Pe.ya,Se=oe.charAt(0),Ce=Se+"Label",ae=Pe[Ce];if(ae===void 0&&_e.type==="multicategory")for(var he=0;heie.width-kn?(xn=ie.width-kn,Nt.attr("d","M"+(kn-b)+",0L"+kn+","+$n+b+"v"+$n+(2*R+An.height)+"H-"+kn+"V"+$n+b+"H"+(kn-2*b)+"Z")):Nt.attr("d","M0,0L"+b+","+$n+b+"H"+kn+"v"+$n+(2*R+An.height)+"H-"+kn+"V"+$n+b+"H-"+b+"Z"),Ye.minX=xn-kn,Ye.maxX=xn+kn,_e.side==="top"?(Ye.minY=un-(2*R+An.height),Ye.maxY=un-R):(Ye.minY=un+R,Ye.maxY=un+(2*R+An.height))}else{var sn,Tn,dn;Me.side==="right"?(sn="start",Tn=1,dn="",xn=_e._offset+_e._length):(sn="end",Tn=-1,dn="-",xn=_e._offset),un=Me._offset+(Pe.y0+Pe.y1)/2,$t.attr("text-anchor",sn),Nt.attr("d","M0,0L"+dn+b+","+b+"V"+(R+An.height/2)+"h"+dn+(2*R+An.width)+"V-"+(R+An.height/2)+"H"+dn+b+"V-"+b+"Z"),Ye.minY=un-(R+An.height/2),Ye.maxY=un+(R+An.height/2),Me.side==="right"?(Ye.minX=xn+b,Ye.maxX=xn+b+(2*R+An.width)):(Ye.minX=xn-b-(2*R+An.width),Ye.maxX=xn-b);var pn,Dn=An.height/2,In=ke-An.top-Dn,jn="clip"+ie._uid+"commonlabel"+Me._id;if(xn=0?Je:qe+Re=0?qe:yt+Re=0?Vt:Ke+Ne=0?Ke:Pt+Ne=0,Rt.idealAlign!=="top"&&rr||!Sr?rr?(Dn+=jn/2,Rt.anchor="start"):Rt.anchor="middle":(Dn-=jn/2,Rt.anchor="end"),Rt.crossPos=Dn;else{if(Rt.pos=Dn,rr=pn+In/2+yr<=Le,Sr=pn-In/2-yr>=0,Rt.idealAlign!=="left"&&rr||!Sr)if(rr)pn+=In/2,Rt.anchor="start";else{Rt.anchor="middle";var or=yr/2,vr=pn+or-Le,_r=pn-or;vr>0&&(pn-=vr),_r<0&&(pn+=-_r)}else pn-=In/2,Rt.anchor="end";Rt.crossPos=pn}$n.attr("text-anchor",Rt.anchor),sn&&kn.attr("text-anchor",Rt.anchor),Nt.attr("transform",v(pn,Dn)+(ue?h(T):""))}),{hoverLabels:wt,commonLabelBoundingBox:Ye}}function N(X,Q,re,ie,oe,ue){var ce="",ye="";X.nameOverride!==void 0&&(X.name=X.nameOverride),X.name&&(X.trace._meta&&(X.name=M.templateString(X.name,X.trace._meta)),ce=q(X.name,X.nameLength));var de=re.charAt(0),me=de==="x"?"y":"x";X.zLabel!==void 0?(X.xLabel!==void 0&&(ye+="x: "+X.xLabel+"
"),X.yLabel!==void 0&&(ye+="y: "+X.yLabel+"
"),X.trace.type!=="choropleth"&&X.trace.type!=="choroplethmapbox"&&(ye+=(ye?"z: ":"")+X.zLabel)):Q&&X[de+"Label"]===oe?ye=X[me+"Label"]||"":X.xLabel===void 0?X.yLabel!==void 0&&X.trace.type!=="scattercarpet"&&(ye=X.yLabel):ye=X.yLabel===void 0?X.xLabel:"("+X.xLabel+", "+X.yLabel+")",!X.text&&X.text!==0||Array.isArray(X.text)||(ye+=(ye?"
":"")+X.text),X.extraText!==void 0&&(ye+=(ye?"
":"")+X.extraText),ue&&ye===""&&!X.hovertemplate&&(ce===""&&ue.remove(),ye=ce);var pe=X.hovertemplate||!1;if(pe){var xe=X.hovertemplateLabels||X;X[de+"Label"]!==oe&&(xe[de+"other"]=xe[de+"Val"],xe[de+"otherLabel"]=xe[de+"Label"]),ye=(ye=M.hovertemplateString(pe,xe,ie._d3locale,X.eventData[0]||{},X.trace._meta)).replace(F,function(Pe,_e){return ce=q(_e,X.nameLength),""})}return[ye,ce]}function W(X,Q){var re=0,ie=X.offset;return Q&&(ie*=-L,re=X.offset*A),{x:re,y:ie}}function j(X,Q,re,ie){var oe=function(ce){return ce*re},ue=function(ce){return ce*ie};X.each(function(ce){var ye=d.select(this);if(ce.del)return ye.remove();var de,me,pe,xe,Pe=ye.select("text.nums"),_e=ce.anchor,Me=_e==="end"?-1:1,Se=(xe=(pe=(me={start:1,end:-1,middle:0}[(de=ce).anchor])*(b+R))+me*(de.txwidth+R),de.anchor==="middle"&&(pe-=de.tx2width/2,xe+=de.txwidth/2+R),{alignShift:me,textShiftX:pe,text2ShiftX:xe}),Ce=W(ce,Q),ae=Ce.x,he=Ce.y,be=_e==="middle";ye.select("path").attr("d",be?"M-"+oe(ce.bx/2+ce.tx2width/2)+","+ue(he-ce.by/2)+"h"+oe(ce.bx)+"v"+ue(ce.by)+"h-"+oe(ce.bx)+"Z":"M0,0L"+oe(Me*b+ae)+","+ue(b+he)+"v"+ue(ce.by/2-b)+"h"+oe(Me*ce.bx)+"v-"+ue(ce.by)+"H"+oe(Me*b+ae)+"V"+ue(he-b)+"Z");var ke=ae+Se.textShiftX,Le=he+ce.ty0-ce.by/2+R,Be=ce.textAlign||"auto";Be!=="auto"&&(Be==="left"&&_e!=="start"?(Pe.attr("text-anchor","start"),ke=be?-ce.bx/2-ce.tx2width/2+R:-ce.bx-R):Be==="right"&&_e!=="end"&&(Pe.attr("text-anchor","end"),ke=be?ce.bx/2-ce.tx2width/2-R:ce.bx+R)),Pe.call(a.positionText,oe(ke),ue(Le)),ce.tx2width&&(ye.select("text.name").call(a.positionText,oe(Se.text2ShiftX+Se.alignShift*R+ae),ue(he+ce.ty0-ce.by/2+R)),ye.select("rect").call(s.setRect,oe(Se.text2ShiftX+(Se.alignShift-1)*ce.tx2width/2+ae),ue(he-ce.by/2-1),oe(ce.tx2width),ue(ce.by+2)))})}function Y(X,Q){var re=X.index,ie=X.trace||{},oe=X.cd[0],ue=X.cd[re]||{};function ce(Pe){return Pe||y(Pe)&&Pe===0}var ye=Array.isArray(re)?function(Pe,_e){var Me=M.castOption(oe,re,Pe);return ce(Me)?Me:M.extractOption({},ie,"",_e)}:function(Pe,_e){return M.extractOption(ue,ie,Pe,_e)};function de(Pe,_e,Me){var Se=ye(_e,Me);ce(Se)&&(X[Pe]=Se)}if(de("hoverinfo","hi","hoverinfo"),de("bgcolor","hbg","hoverlabel.bgcolor"),de("borderColor","hbc","hoverlabel.bordercolor"),de("fontFamily","htf","hoverlabel.font.family"),de("fontSize","hts","hoverlabel.font.size"),de("fontColor","htc","hoverlabel.font.color"),de("nameLength","hnl","hoverlabel.namelength"),de("textAlign","hta","hoverlabel.align"),X.posref=Q==="y"||Q==="closest"&&ie.orientation==="h"?X.xa._offset+(X.x0+X.x1)/2:X.ya._offset+(X.y0+X.y1)/2,X.x0=M.constrain(X.x0,0,X.xa._length),X.x1=M.constrain(X.x1,0,X.xa._length),X.y0=M.constrain(X.y0,0,X.ya._length),X.y1=M.constrain(X.y1,0,X.ya._length),X.xLabelVal!==void 0&&(X.xLabel="xLabel"in X?X.xLabel:f.hoverLabelText(X.xa,X.xLabelVal,ie.xhoverformat),X.xVal=X.xa.c2d(X.xLabelVal)),X.yLabelVal!==void 0&&(X.yLabel="yLabel"in X?X.yLabel:f.hoverLabelText(X.ya,X.yLabelVal,ie.yhoverformat),X.yVal=X.ya.c2d(X.yLabelVal)),X.zLabelVal!==void 0&&X.zLabel===void 0&&(X.zLabel=String(X.zLabelVal)),!(isNaN(X.xerr)||X.xa.type==="log"&&X.xerr<=0)){var me=f.tickText(X.xa,X.xa.c2l(X.xerr),"hover").text;X.xerrneg!==void 0?X.xLabel+=" +"+me+" / -"+f.tickText(X.xa,X.xa.c2l(X.xerrneg),"hover").text:X.xLabel+=" ± "+me,Q==="x"&&(X.distance+=1)}if(!(isNaN(X.yerr)||X.ya.type==="log"&&X.yerr<=0)){var pe=f.tickText(X.ya,X.ya.c2l(X.yerr),"hover").text;X.yerrneg!==void 0?X.yLabel+=" +"+pe+" / -"+f.tickText(X.ya,X.ya.c2l(X.yerrneg),"hover").text:X.yLabel+=" ± "+pe,Q==="y"&&(X.distance+=1)}var xe=X.hoverinfo||X.trace.hoverinfo;return xe&&xe!=="all"&&((xe=Array.isArray(xe)?xe:xe.split("+")).indexOf("x")===-1&&(X.xLabel=void 0),xe.indexOf("y")===-1&&(X.yLabel=void 0),xe.indexOf("z")===-1&&(X.zLabel=void 0),xe.indexOf("text")===-1&&(X.text=void 0),xe.indexOf("name")===-1&&(X.name=void 0)),X}function U(X,Q,re){var ie,oe,ue=re.container,ce=re.fullLayout,ye=ce._size,de=re.event,me=!!Q.hLinePoint,pe=!!Q.vLinePoint;if(ue.selectAll(".spikeline").remove(),pe||me){var xe=o.combine(ce.plot_bgcolor,ce.paper_bgcolor);if(me){var Pe,_e,Me=Q.hLinePoint;ie=Me&&Me.xa,(oe=Me&&Me.ya).spikesnap==="cursor"?(Pe=de.pointerX,_e=de.pointerY):(Pe=ie._offset+Me.x,_e=oe._offset+Me.y);var Se,Ce,ae=i.readability(Me.color,xe)<1.5?o.contrast(xe):Me.color,he=oe.spikemode,be=oe.spikethickness,ke=oe.spikecolor||ae,Le=f.getPxPosition(X,oe);if(he.indexOf("toaxis")!==-1||he.indexOf("across")!==-1){if(he.indexOf("toaxis")!==-1&&(Se=Le,Ce=Pe),he.indexOf("across")!==-1){var Be=oe._counterDomainMin,ze=oe._counterDomainMax;oe.anchor==="free"&&(Be=Math.min(Be,oe.position),ze=Math.max(ze,oe.position)),Se=ye.l+Be*ye.w,Ce=ye.l+ze*ye.w}ue.insert("line",":first-child").attr({x1:Se,x2:Ce,y1:_e,y2:_e,"stroke-width":be,stroke:ke,"stroke-dasharray":s.dashStyle(oe.spikedash,be)}).classed("spikeline",!0).classed("crisp",!0),ue.insert("line",":first-child").attr({x1:Se,x2:Ce,y1:_e,y2:_e,"stroke-width":be+2,stroke:xe}).classed("spikeline",!0).classed("crisp",!0)}he.indexOf("marker")!==-1&&ue.insert("circle",":first-child").attr({cx:Le+(oe.side!=="right"?be:-be),cy:_e,r:be,fill:ke}).classed("spikeline",!0)}if(pe){var je,ge,we=Q.vLinePoint;ie=we&&we.xa,oe=we&&we.ya,ie.spikesnap==="cursor"?(je=de.pointerX,ge=de.pointerY):(je=ie._offset+we.x,ge=oe._offset+we.y);var Ee,Ve,Ye=i.readability(we.color,xe)<1.5?o.contrast(xe):we.color,$e=ie.spikemode,st=ie.spikethickness,ot=ie.spikecolor||Ye,ft=f.getPxPosition(X,ie);if($e.indexOf("toaxis")!==-1||$e.indexOf("across")!==-1){if($e.indexOf("toaxis")!==-1&&(Ee=ft,Ve=ge),$e.indexOf("across")!==-1){var bt=ie._counterDomainMin,Et=ie._counterDomainMax;ie.anchor==="free"&&(bt=Math.min(bt,ie.position),Et=Math.max(Et,ie.position)),Ee=ye.t+(1-Et)*ye.h,Ve=ye.t+(1-bt)*ye.h}ue.insert("line",":first-child").attr({x1:je,x2:je,y1:Ee,y2:Ve,"stroke-width":st,stroke:ot,"stroke-dasharray":s.dashStyle(ie.spikedash,st)}).classed("spikeline",!0).classed("crisp",!0),ue.insert("line",":first-child").attr({x1:je,x2:je,y1:Ee,y2:Ve,"stroke-width":st+2,stroke:xe}).classed("spikeline",!0).classed("crisp",!0)}$e.indexOf("marker")!==-1&&ue.insert("circle",":first-child").attr({cx:je,cy:ft-(ie.side!=="top"?st:-st),r:st,fill:ot}).classed("spikeline",!0)}}}function G(X,Q){return!Q||Q.vLinePoint!==X._spikepoints.vLinePoint||Q.hLinePoint!==X._spikepoints.hLinePoint}function q(X,Q){return a.plainText(X||"",{len:Q,allowedTags:["br","sub","sup","b","i","em"]})}function H(X,Q,re){var ie=Q[X+"a"],oe=Q[X+"Val"],ue=Q.cd[0];if(ie.type==="category"||ie.type==="multicategory")oe=ie._categoriesMap[oe];else if(ie.type==="date"){var ce=Q.trace[X+"periodalignment"];if(ce){var ye=Q.cd[Q.index],de=ye[X+"Start"];de===void 0&&(de=ye[X]);var me=ye[X+"End"];me===void 0&&(me=ye[X]);var pe=me-de;ce==="end"?oe+=pe:ce==="middle"&&(oe+=pe/2)}oe=ie.d2c(oe)}return ue&&ue.t&&ue.t.posLetter===ie._id&&(re.boxmode!=="group"&&re.violinmode!=="group"||(oe+=ue.t.dPos)),oe}function ne(X){return X.offsetTop+X.clientTop}function te(X){return X.offsetLeft+X.clientLeft}function Z(X,Q){var re=X._fullLayout,ie=Q.getBoundingClientRect(),oe=ie.left,ue=ie.top,ce=oe+ie.width,ye=ue+ie.height,de=M.apply3DTransform(re._invTransform)(oe,ue),me=M.apply3DTransform(re._invTransform)(ce,ye),pe=de[0],xe=de[1],Pe=me[0],_e=me[1];return{x:pe,y:xe,width:Pe-pe,height:_e-xe,top:Math.min(xe,_e),left:Math.min(pe,Pe),right:Math.max(pe,Pe),bottom:Math.max(xe,_e)}}},38048:function(k,m,t){var d=t(71828),y=t(7901),i=t(23469).isUnifiedHover;k.exports=function(M,v,h,l){l=l||{};var a=v.legend;function u(s){l.font[s]||(l.font[s]=a?v.legend.font[s]:v.font[s])}v&&i(v.hovermode)&&(l.font||(l.font={}),u("size"),u("family"),u("color"),a?(l.bgcolor||(l.bgcolor=y.combine(v.legend.bgcolor,v.paper_bgcolor)),l.bordercolor||(l.bordercolor=v.legend.bordercolor)):l.bgcolor||(l.bgcolor=v.paper_bgcolor)),h("hoverlabel.bgcolor",l.bgcolor),h("hoverlabel.bordercolor",l.bordercolor),h("hoverlabel.namelength",l.namelength),d.coerceFont(h,"hoverlabel.font",l.font),h("hoverlabel.align",l.align)}},98212:function(k,m,t){var d=t(71828),y=t(528);k.exports=function(i,M){function v(h,l){return M[h]!==void 0?M[h]:d.coerce(i,M,y,h,l)}return v("clickmode"),v("hovermode")}},30211:function(k,m,t){var d=t(39898),y=t(71828),i=t(28569),M=t(23469),v=t(528),h=t(88335);k.exports={moduleType:"component",name:"fx",constants:t(26675),schema:{layout:v},attributes:t(77914),layoutAttributes:v,supplyLayoutGlobalDefaults:t(22774),supplyDefaults:t(54268),supplyLayoutDefaults:t(34938),calc:t(30732),getDistanceFunction:M.getDistanceFunction,getClosest:M.getClosest,inbox:M.inbox,quadrature:M.quadrature,appendArrayPointValue:M.appendArrayPointValue,castHoverOption:function(l,a,u){return y.castOption(l,a,"hoverlabel."+u)},castHoverinfo:function(l,a,u){return y.castOption(l,u,"hoverinfo",function(s){return y.coerceHoverinfo({hoverinfo:s},{_module:l._module},a)})},hover:h.hover,unhover:i.unhover,loneHover:h.loneHover,loneUnhover:function(l){var a=y.isD3Selection(l)?l:d.select(l);a.selectAll("g.hovertext").remove(),a.selectAll(".spikeline").remove()},click:t(75914)}},528:function(k,m,t){var d=t(26675),y=t(41940),i=y({editType:"none"});i.family.dflt=d.HOVERFONT,i.size.dflt=d.HOVERFONTSIZE,k.exports={clickmode:{valType:"flaglist",flags:["event","select"],dflt:"event",editType:"plot",extras:["none"]},dragmode:{valType:"enumerated",values:["zoom","pan","select","lasso","drawclosedpath","drawopenpath","drawline","drawrect","drawcircle","orbit","turntable",!1],dflt:"zoom",editType:"modebar"},hovermode:{valType:"enumerated",values:["x","y","closest",!1,"x unified","y unified"],dflt:"closest",editType:"modebar"},hoverdistance:{valType:"integer",min:-1,dflt:20,editType:"none"},spikedistance:{valType:"integer",min:-1,dflt:-1,editType:"none"},hoverlabel:{bgcolor:{valType:"color",editType:"none"},bordercolor:{valType:"color",editType:"none"},font:i,grouptitlefont:y({editType:"none"}),align:{valType:"enumerated",values:["left","right","auto"],dflt:"auto",editType:"none"},namelength:{valType:"integer",min:-1,dflt:15,editType:"none"},editType:"none"},selectdirection:{valType:"enumerated",values:["h","v","d","any"],dflt:"any",editType:"none"}}},34938:function(k,m,t){var d=t(71828),y=t(528),i=t(98212),M=t(38048);k.exports=function(v,h){function l(o,c){return d.coerce(v,h,y,o,c)}i(v,h)&&(l("hoverdistance"),l("spikedistance")),l("dragmode")==="select"&&l("selectdirection");var a=h._has("mapbox"),u=h._has("geo"),s=h._basePlotModules.length;h.dragmode==="zoom"&&((a||u)&&s===1||a&&u&&s===2)&&(h.dragmode="pan"),M(v,h,l),d.coerceFont(l,"hoverlabel.grouptitlefont",h.hoverlabel.font)}},22774:function(k,m,t){var d=t(71828),y=t(38048),i=t(528);k.exports=function(M,v){y(M,v,function(h,l){return d.coerce(M,v,i,h,l)})}},83312:function(k,m,t){var d=t(71828),y=t(30587).counter,i=t(27670).Y,M=t(85555).idRegex,v=t(44467),h={rows:{valType:"integer",min:1,editType:"plot"},roworder:{valType:"enumerated",values:["top to bottom","bottom to top"],dflt:"top to bottom",editType:"plot"},columns:{valType:"integer",min:1,editType:"plot"},subplots:{valType:"info_array",freeLength:!0,dimensions:2,items:{valType:"enumerated",values:[y("xy").toString(),""],editType:"plot"},editType:"plot"},xaxes:{valType:"info_array",freeLength:!0,items:{valType:"enumerated",values:[M.x.toString(),""],editType:"plot"},editType:"plot"},yaxes:{valType:"info_array",freeLength:!0,items:{valType:"enumerated",values:[M.y.toString(),""],editType:"plot"},editType:"plot"},pattern:{valType:"enumerated",values:["independent","coupled"],dflt:"coupled",editType:"plot"},xgap:{valType:"number",min:0,max:1,editType:"plot"},ygap:{valType:"number",min:0,max:1,editType:"plot"},domain:i({name:"grid",editType:"plot",noGridCell:!0},{}),xside:{valType:"enumerated",values:["bottom","bottom plot","top plot","top"],dflt:"bottom plot",editType:"plot"},yside:{valType:"enumerated",values:["left","left plot","right plot","right"],dflt:"left plot",editType:"plot"},editType:"plot"};function l(s,o,c){var f=o[c+"axes"],p=Object.keys((s._splomAxes||{})[c]||{});return Array.isArray(f)?f:p.length?p:void 0}function a(s,o,c,f,p,w){var g=o(s+"gap",c),S=o("domain."+s);o(s+"side",f);for(var x=new Array(p),T=S[0],E=(S[1]-T)/(p-g),_=E*(1-g),A=0;A1){S||x||T||F("pattern")==="independent"&&(S=!0),_._hasSubplotGrid=S;var b,R,I=F("roworder")==="top to bottom",O=S?.2:.1,z=S?.3:.1;E&&o._splomGridDflt&&(b=o._splomGridDflt.xside,R=o._splomGridDflt.yside),_._domains={x:a("x",F,O,b,L),y:a("y",F,z,R,A,I)}}else delete o.grid}function F(B,N){return d.coerce(c,_,h,B,N)}},contentDefaults:function(s,o){var c=o.grid;if(c&&c._domains){var f,p,w,g,S,x,T,E=s.grid||{},_=o._subplots,A=c._hasSubplotGrid,L=c.rows,b=c.columns,R=c.pattern==="independent",I=c._axisMap={};if(A){var O=E.subplots||[];x=c.subplots=new Array(L);var z=1;for(f=0;f1);if(R===!1&&(o.legend=void 0),(R!==!1||f.uirevision)&&(w("uirevision",o.uirevision),R!==!1)){w("borderwidth");var I,O,z,F=w("orientation")==="h";if(F?(I=0,d.getComponentMethod("rangeslider","isVisible")(s.xaxis)?(O=1.1,z="bottom"):(O=-.1,z="top")):(I=1.02,O=1,z="auto"),w("traceorder",L),l.isGrouped(o.legend)&&w("tracegroupgap"),w("entrywidth"),w("entrywidthmode"),w("itemsizing"),w("itemwidth"),w("itemclick"),w("itemdoubleclick"),w("groupclick"),w("x",I),w("xanchor"),w("y",O),w("yanchor",z),w("valign"),y.noneOrAll(f,p,["x","y"]),w("title.text")){w("title.side",F?"left":"top");var B=y.extendFlat({},g,{size:y.bigFont(g.size)});y.coerceFont(w,"title.font",B)}}}}k.exports=function(u,s,o){var c,f=["legend"];for(c=0;c1)}var ne=U.hiddenlabels||[];if(!(q||U.showlegend&&H.length))return j.selectAll("."+G).remove(),U._topdefs.select("#"+W).remove(),i.autoMargin(B,G);var te=y.ensureSingle(j,"g",G,function(ye){q||ye.attr("pointer-events","all")}),Z=y.ensureSingleById(U._topdefs,"clipPath",W,function(ye){ye.append("rect")}),X=y.ensureSingle(te,"rect","bg",function(ye){ye.attr("shape-rendering","crispEdges")});X.call(a.stroke,Y.bordercolor).call(a.fill,Y.bgcolor).style("stroke-width",Y.borderwidth+"px");var Q=y.ensureSingle(te,"g","scrollbox"),re=Y.title;if(Y._titleWidth=0,Y._titleHeight=0,re.text){var ie=y.ensureSingle(Q,"text",G+"titletext");ie.attr("text-anchor","start").call(l.font,re.font).text(re.text),I(ie,Q,B,Y,1)}else Q.selectAll("."+G+"titletext").remove();var oe=y.ensureSingle(te,"rect","scrollbar",function(ye){ye.attr(o.scrollBarEnterAttrs).call(a.fill,o.scrollBarColor)}),ue=Q.selectAll("g.groups").data(H);ue.enter().append("g").attr("class","groups"),ue.exit().remove();var ce=ue.selectAll("g.traces").data(y.identity);ce.enter().append("g").attr("class","traces"),ce.exit().remove(),ce.style("opacity",function(ye){var de=ye[0].trace;return M.traceIs(de,"pie-like")?ne.indexOf(ye[0].label)!==-1?.5:1:de.visible==="legendonly"?.5:1}).each(function(){d.select(this).call(L,B,Y)}).call(S,B,Y).each(function(){q||d.select(this).call(R,B,G)}),y.syncOrAsync([i.previousPromises,function(){return function(ye,de,me,pe){var xe=ye._fullLayout,Pe=F(pe);pe||(pe=xe[Pe]);var _e=xe._size,Me=x.isVertical(pe),Se=x.isGrouped(pe),Ce=pe.entrywidthmode==="fraction",ae=pe.borderwidth,he=2*ae,be=o.itemGap,ke=pe.itemwidth+2*be,Le=2*(ae+be),Be=z(pe),ze=pe.y<0||pe.y===0&&Be==="top",je=pe.y>1||pe.y===1&&Be==="bottom",ge=pe.tracegroupgap,we={};pe._maxHeight=Math.max(ze||je?xe.height/2:_e.h,30);var Ee=0;pe._width=0,pe._height=0;var Ve=function(Re){var Ne=0,Qe=0,ut=Re.title.side;return ut&&(ut.indexOf("left")!==-1&&(Ne=Re._titleWidth),ut.indexOf("top")!==-1&&(Qe=Re._titleHeight)),[Ne,Qe]}(pe);if(Me)me.each(function(Re){var Ne=Re[0].height;l.setTranslate(this,ae+Ve[0],ae+Ve[1]+pe._height+Ne/2+be),pe._height+=Ne,pe._width=Math.max(pe._width,Re[0].width)}),Ee=ke+pe._width,pe._width+=be+ke+he,pe._height+=Le,Se&&(de.each(function(Re,Ne){l.setTranslate(this,0,Ne*pe.tracegroupgap)}),pe._height+=(pe._lgroupsLength-1)*pe.tracegroupgap);else{var Ye=O(pe),$e=pe.x<0||pe.x===0&&Ye==="right",st=pe.x>1||pe.x===1&&Ye==="left",ot=je||ze,ft=xe.width/2;pe._maxWidth=Math.max($e?ot&&Ye==="left"?_e.l+_e.w:ft:st?ot&&Ye==="right"?_e.r+_e.w:ft:_e.w,2*ke);var bt=0,Et=0;me.each(function(Re){var Ne=_(Re,pe,ke);bt=Math.max(bt,Ne),Et+=Ne}),Ee=null;var kt=0;if(Se){var xt=0,Ft=0,Ot=0;de.each(function(){var Re=0,Ne=0;d.select(this).selectAll("g.traces").each(function(ut){var dt=_(ut,pe,ke),_t=ut[0].height;l.setTranslate(this,Ve[0],Ve[1]+ae+be+_t/2+Ne),Ne+=_t,Re=Math.max(Re,dt),we[ut[0].trace.legendgroup]=Re});var Qe=Re+be;Ft>0&&Qe+ae+Ft>pe._maxWidth?(kt=Math.max(kt,Ft),Ft=0,Ot+=xt+ge,xt=Ne):xt=Math.max(xt,Ne),l.setTranslate(this,Ft,Ot),Ft+=Qe}),pe._width=Math.max(kt,Ft)+ae,pe._height=Ot+xt+Le}else{var Bt=me.size(),qt=Et+he+(Bt-1)*be=pe._maxWidth&&(kt=Math.max(kt,qe),Ke=0,Je+=Vt,pe._height+=Vt,Vt=0),l.setTranslate(this,Ve[0]+ae+Ke,Ve[1]+ae+Je+Ne/2+be),qe=Ke+Qe+be,Ke+=ut,Vt=Math.max(Vt,Ne)}),qt?(pe._width=Ke+he,pe._height=Vt+Le):(pe._width=Math.max(kt,qe)+he,pe._height+=Vt+Le)}}pe._width=Math.ceil(Math.max(pe._width+Ve[0],pe._titleWidth+2*(ae+o.titlePad))),pe._height=Math.ceil(Math.max(pe._height+Ve[1],pe._titleHeight+2*(ae+o.itemGap))),pe._effHeight=Math.min(pe._height,pe._maxHeight);var nt=ye._context.edits,ht=nt.legendText||nt.legendPosition;me.each(function(Re){var Ne=d.select(this).select("."+Pe+"toggle"),Qe=Re[0].height,ut=Re[0].trace.legendgroup,dt=_(Re,pe,ke);Se&&ut!==""&&(dt=we[ut]);var _t=ht?ke:Ee||dt;Me||Ce||(_t+=be/2),l.setRect(Ne,0,-Qe/2,_t,Qe)})}(B,ue,ce,Y)},function(){var ye,de,me,pe,xe=U._size,Pe=Y.borderwidth;if(!q){var _e=function($e,st){var ot=$e._fullLayout[st],ft=O(ot),bt=z(ot);return i.autoMargin($e,st,{x:ot.x,y:ot.y,l:ot._width*p[ft],r:ot._width*w[ft],b:ot._effHeight*w[bt],t:ot._effHeight*p[bt]})}(B,G);if(_e)return;var Me=xe.l+xe.w*Y.x-p[O(Y)]*Y._width,Se=xe.t+xe.h*(1-Y.y)-p[z(Y)]*Y._effHeight;if(U.margin.autoexpand){var Ce=Me,ae=Se;Me=y.constrain(Me,0,U.width-Y._width),Se=y.constrain(Se,0,U.height-Y._effHeight),Me!==Ce&&y.log("Constrain "+G+".x to make legend fit inside graph"),Se!==ae&&y.log("Constrain "+G+".y to make legend fit inside graph")}l.setTranslate(te,Me,Se)}if(oe.on(".drag",null),te.on("wheel",null),q||Y._height<=Y._maxHeight||B._context.staticPlot){var he=Y._effHeight;q&&(he=Y._height),X.attr({width:Y._width-Pe,height:he-Pe,x:Pe/2,y:Pe/2}),l.setTranslate(Q,0,0),Z.select("rect").attr({width:Y._width-2*Pe,height:he-2*Pe,x:Pe,y:Pe}),l.setClipUrl(Q,W,B),l.setRect(oe,0,0,0,0),delete Y._scrollY}else{var be,ke,Le,Be=Math.max(o.scrollBarMinHeight,Y._effHeight*Y._effHeight/Y._height),ze=Y._effHeight-Be-2*o.scrollBarMargin,je=Y._height-Y._effHeight,ge=ze/je,we=Math.min(Y._scrollY||0,je);X.attr({width:Y._width-2*Pe+o.scrollBarWidth+o.scrollBarMargin,height:Y._effHeight-Pe,x:Pe/2,y:Pe/2}),Z.select("rect").attr({width:Y._width-2*Pe+o.scrollBarWidth+o.scrollBarMargin,height:Y._effHeight-2*Pe,x:Pe,y:Pe+we}),l.setClipUrl(Q,W,B),Ye(we,Be,ge),te.on("wheel",function(){Ye(we=y.constrain(Y._scrollY+d.event.deltaY/ze*je,0,je),Be,ge),we!==0&&we!==je&&d.event.preventDefault()});var Ee=d.behavior.drag().on("dragstart",function(){var $e=d.event.sourceEvent;be=$e.type==="touchstart"?$e.changedTouches[0].clientY:$e.clientY,Le=we}).on("drag",function(){var $e=d.event.sourceEvent;$e.buttons===2||$e.ctrlKey||(ke=$e.type==="touchmove"?$e.changedTouches[0].clientY:$e.clientY,we=function(st,ot,ft){var bt=(ft-ot)/ge+st;return y.constrain(bt,0,je)}(Le,be,ke),Ye(we,Be,ge))});oe.call(Ee);var Ve=d.behavior.drag().on("dragstart",function(){var $e=d.event.sourceEvent;$e.type==="touchstart"&&(be=$e.changedTouches[0].clientY,Le=we)}).on("drag",function(){var $e=d.event.sourceEvent;$e.type==="touchmove"&&(ke=$e.changedTouches[0].clientY,we=function(st,ot,ft){var bt=(ot-ft)/ge+st;return y.constrain(bt,0,je)}(Le,be,ke),Ye(we,Be,ge))});Q.call(Ve)}function Ye($e,st,ot){Y._scrollY=B._fullLayout[G]._scrollY=$e,l.setTranslate(Q,0,-$e),l.setRect(oe,Y._width,o.scrollBarMargin+$e*ot,o.scrollBarWidth,st),Z.select("rect").attr("y",Pe+$e)}B._context.edits.legendPosition&&(te.classed("cursor-move",!0),h.init({element:te.node(),gd:B,prepFn:function(){var $e=l.getTranslate(te);me=$e.x,pe=$e.y},moveFn:function($e,st){var ot=me+$e,ft=pe+st;l.setTranslate(te,ot,ft),ye=h.align(ot,Y._width,xe.l,xe.l+xe.w,Y.xanchor),de=h.align(ft+Y._height,-Y._height,xe.t+xe.h,xe.t,Y.yanchor)},doneFn:function(){if(ye!==void 0&&de!==void 0){var $e={};$e[G+".x"]=ye,$e[G+".y"]=de,M.call("_guiRelayout",B,$e)}},clickFn:function($e,st){var ot=ue.selectAll("g.traces").filter(function(){var ft=this.getBoundingClientRect();return st.clientX>=ft.left&&st.clientX<=ft.right&&st.clientY>=ft.top&&st.clientY<=ft.bottom});ot.size()>0&&A(B,te,ot,$e,st)}}))}],B)}}function _(B,N,W){var j=B[0],Y=j.width,U=N.entrywidthmode,G=j.trace.legendwidth||N.entrywidth;return U==="fraction"?N._maxWidth*G:W+(G||Y)}function A(B,N,W,j,Y){var U=W.data()[0][0].trace,G={event:Y,node:W.node(),curveNumber:U.index,expandedIndex:U._expandedIndex,data:B.data,layout:B.layout,frames:B._transitionData._frames,config:B._context,fullData:B._fullData,fullLayout:B._fullLayout};U._group&&(G.group=U._group),M.traceIs(U,"pie-like")&&(G.label=W.datum()[0].label),v.triggerHandler(B,"plotly_legendclick",G)!==!1&&(j===1?N._clickTimeout=setTimeout(function(){B._fullLayout&&s(W,B,j)},B._context.doubleClickDelay):j===2&&(N._clickTimeout&&clearTimeout(N._clickTimeout),B._legendMouseDownTime=0,v.triggerHandler(B,"plotly_legenddoubleclick",G)!==!1&&s(W,B,j)))}function L(B,N,W){var j,Y,U=F(W),G=B.data()[0][0],q=G.trace,H=M.traceIs(q,"pie-like"),ne=!W._inHover&&N._context.edits.legendText&&!H,te=W._maxNameLength;G.groupTitle?(j=G.groupTitle.text,Y=G.groupTitle.font):(Y=W.font,W.entries?j=G.text:(j=H?G.label:q.name,q._meta&&(j=y.templateString(j,q._meta))));var Z=y.ensureSingle(B,"text",U+"text");Z.attr("text-anchor","start").call(l.font,Y).text(ne?b(j,te):j);var X=W.itemwidth+2*o.itemGap;u.positionText(Z,X,0),ne?Z.call(u.makeEditable,{gd:N,text:j}).call(I,B,N,W).on("edit",function(Q){this.text(b(Q,te)).call(I,B,N,W);var re=G.trace._fullInput||{},ie={};if(M.hasTransform(re,"groupby")){var oe=M.getTransformIndices(re,"groupby"),ue=oe[oe.length-1],ce=y.keyedContainer(re,"transforms["+ue+"].styles","target","value.name");ce.set(G.trace._group,Q),ie=ce.constructUpdate()}else ie.name=Q;return M.call("_guiRestyle",N,ie,q.index)}):I(Z,B,N,W)}function b(B,N){var W=Math.max(4,N);if(B&&B.trim().length>=W/2)return B;for(var j=W-(B=B||"").length;j>0;j--)B+=" ";return B}function R(B,N,W){var j,Y=N._context.doubleClickDelay,U=1,G=y.ensureSingle(B,"rect",W+"toggle",function(q){N._context.staticPlot||q.style("cursor","pointer").attr("pointer-events","all"),q.call(a.fill,"rgba(0,0,0,0)")});N._context.staticPlot||(G.on("mousedown",function(){(j=new Date().getTime())-N._legendMouseDownTimeY&&(U=Math.max(U-1,1)),A(N,q,B,U,d.event)}}))}function I(B,N,W,j,Y){j._inHover&&B.attr("data-notex",!0),u.convertToTspans(B,W,function(){(function(U,G,q,H){var ne=U.data()[0][0];if(q._inHover||!ne||ne.trace.showlegend){var te=U.select("g[class*=math-group]"),Z=te.node(),X=F(q);q||(q=G._fullLayout[X]);var Q,re,ie=q.borderwidth,oe=(H===1?q.title.font:ne.groupTitle?ne.groupTitle.font:q.font).size*f;if(Z){var ue=l.bBox(Z);Q=ue.height,re=ue.width,H===1?l.setTranslate(te,ie,ie+.75*Q):l.setTranslate(te,0,.25*Q)}else{var ce="."+X+(H===1?"title":"")+"text",ye=U.select(ce),de=u.lineCount(ye),me=ye.node();if(Q=oe*de,re=me?l.bBox(me).width:0,H===1)q.title.side==="left"&&(re+=2*o.itemGap),u.positionText(ye,ie+o.titlePad,ie+oe);else{var pe=2*o.itemGap+q.itemwidth;ne.groupTitle&&(pe=o.itemGap,re-=q.itemwidth),u.positionText(ye,pe,-oe*((de-1)/2-.3))}}H===1?(q._titleWidth=re,q._titleHeight=Q):(ne.lineHeight=oe,ne.height=Math.max(Q,16)+3,ne.width=re)}else U.remove()})(N,W,j,Y)})}function O(B){return y.isRightAnchor(B)?"right":y.isCenterAnchor(B)?"center":"left"}function z(B){return y.isBottomAnchor(B)?"bottom":y.isMiddleAnchor(B)?"middle":"top"}function F(B){return B._id||"legend"}k.exports=function(B,N){if(N)E(B,N);else{var W=B._fullLayout,j=W._legends;W._infolayer.selectAll('[class^="legend"]').each(function(){var G=d.select(this),q=G.attr("class").split(" ")[0];q.match(T)&&j.indexOf(q)===-1&&G.remove()});for(var Y=0;Yz&&(O=z)}R[h][0]._groupMinRank=O,R[h][0]._preGroupSort=h}var F=function(Y,U){return Y.trace.legendrank-U.trace.legendrank||Y._preSort-U._preSort};for(R.forEach(function(Y,U){Y[0]._preGroupSort=U}),R.sort(function(Y,U){return Y[0]._groupMinRank-U[0]._groupMinRank||Y[0]._preGroupSort-U[0]._preGroupSort}),h=0;hS?S:w}k.exports=function(w,g,S){var x=g._fullLayout;S||(S=x.legend);var T=S.itemsizing==="constant",E=S.itemwidth,_=(E+2*o.itemGap)/2,A=M(_,0),L=function(I,O,z,F){var B;if(I+1)B=I;else{if(!(O&&O.width>0))return 0;B=O.width}return T?F:Math.min(B,z)};function b(I,O,z){var F=I[0].trace,B=F.marker||{},N=B.line||{},W=z?F.visible&&F.type===z:y.traceIs(F,"bar"),j=d.select(O).select("g.legendpoints").selectAll("path.legend"+z).data(W?[I]:[]);j.enter().append("path").classed("legend"+z,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",A),j.exit().remove(),j.each(function(Y){var U=d.select(this),G=Y[0],q=L(G.mlw,B.line,5,2);U.style("stroke-width",q+"px");var H=G.mcc;if(!S._inHover&&"mc"in G){var ne=l(B),te=ne.mid;te===void 0&&(te=(ne.max+ne.min)/2),H=v.tryColorscale(B,"")(te)}var Z=H||G.mc||B.color,X=B.pattern,Q=X&&v.getPatternAttr(X.shape,0,"");if(Q){var re=v.getPatternAttr(X.bgcolor,0,null),ie=v.getPatternAttr(X.fgcolor,0,null),oe=X.fgopacity,ue=p(X.size,8,10),ce=p(X.solidity,.5,1),ye="legend-"+F.uid;U.call(v.pattern,"legend",g,ye,Q,ue,ce,H,X.fillmode,re,ie,oe)}else U.call(h.fill,Z);q&&h.stroke(U,G.mlc||N.color)})}function R(I,O,z){var F=I[0],B=F.trace,N=z?B.visible&&B.type===z:y.traceIs(B,z),W=d.select(O).select("g.legendpoints").selectAll("path.legend"+z).data(N?[I]:[]);if(W.enter().append("path").classed("legend"+z,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",A),W.exit().remove(),W.size()){var j=(B.marker||{}).line,Y=L(s(j.width,F.pts),j,5,2),U=i.minExtend(B,{marker:{line:{width:Y}}});U.marker.line.color=j.color;var G=i.minExtend(F,{trace:U});u(W,G,U)}}w.each(function(I){var O=d.select(this),z=i.ensureSingle(O,"g","layers");z.style("opacity",I[0].trace.opacity);var F=S.valign,B=I[0].lineHeight,N=I[0].height;if(F!=="middle"&&B&&N){var W={top:1,bottom:-1}[F]*(.5*(B-N+3));z.attr("transform",M(0,W))}else z.attr("transform",null);z.selectAll("g.legendfill").data([I]).enter().append("g").classed("legendfill",!0),z.selectAll("g.legendlines").data([I]).enter().append("g").classed("legendlines",!0);var j=z.selectAll("g.legendsymbols").data([I]);j.enter().append("g").classed("legendsymbols",!0),j.selectAll("g.legendpoints").data([I]).enter().append("g").classed("legendpoints",!0)}).each(function(I){var O,z=I[0].trace,F=[];if(z.visible)switch(z.type){case"histogram2d":case"heatmap":F=[["M-15,-2V4H15V-2Z"]],O=!0;break;case"choropleth":case"choroplethmapbox":F=[["M-6,-6V6H6V-6Z"]],O=!0;break;case"densitymapbox":F=[["M-6,0 a6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0"]],O="radial";break;case"cone":F=[["M-6,2 A2,2 0 0,0 -6,6 V6L6,4Z"],["M-6,-6 A2,2 0 0,0 -6,-2 L6,-4Z"],["M-6,-2 A2,2 0 0,0 -6,2 L6,0Z"]],O=!1;break;case"streamtube":F=[["M-6,2 A2,2 0 0,0 -6,6 H6 A2,2 0 0,1 6,2 Z"],["M-6,-6 A2,2 0 0,0 -6,-2 H6 A2,2 0 0,1 6,-6 Z"],["M-6,-2 A2,2 0 0,0 -6,2 H6 A2,2 0 0,1 6,-2 Z"]],O=!1;break;case"surface":F=[["M-6,-6 A2,3 0 0,0 -6,0 H6 A2,3 0 0,1 6,-6 Z"],["M-6,1 A2,3 0 0,1 -6,6 H6 A2,3 0 0,0 6,0 Z"]],O=!0;break;case"mesh3d":F=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],O=!1;break;case"volume":F=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],O=!0;break;case"isosurface":F=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6 A12,24 0 0,0 6,-6 L0,6Z"]],O=!1}var B=d.select(this).select("g.legendpoints").selectAll("path.legend3dandfriends").data(F);B.enter().append("path").classed("legend3dandfriends",!0).attr("transform",A).style("stroke-miterlimit",1),B.exit().remove(),B.each(function(N,W){var j,Y=d.select(this),U=l(z),G=U.colorscale,q=U.reversescale;if(G){if(!O){var H=G.length;j=W===0?G[q?H-1:0][1]:W===1?G[q?0:H-1][1]:G[Math.floor((H-1)/2)][1]}}else{var ne=z.vertexcolor||z.facecolor||z.color;j=i.isArrayOrTypedArray(ne)?ne[W]||ne[0]:ne}Y.attr("d",N[0]),j?Y.call(h.fill,j):Y.call(function(te){if(te.size()){var Z="legendfill-"+z.uid;v.gradient(te,g,Z,c(q,O==="radial"),G,"fill")}})})}).each(function(I){var O=I[0].trace,z=O.type==="waterfall";if(I[0]._distinct&&z){var F=I[0].trace[I[0].dir].marker;return I[0].mc=F.color,I[0].mlw=F.line.width,I[0].mlc=F.line.color,b(I,this,"waterfall")}var B=[];O.visible&&z&&(B=I[0].hasTotals?[["increasing","M-6,-6V6H0Z"],["totals","M6,6H0L-6,-6H-0Z"],["decreasing","M6,6V-6H0Z"]]:[["increasing","M-6,-6V6H6Z"],["decreasing","M6,6V-6H-6Z"]]);var N=d.select(this).select("g.legendpoints").selectAll("path.legendwaterfall").data(B);N.enter().append("path").classed("legendwaterfall",!0).attr("transform",A).style("stroke-miterlimit",1),N.exit().remove(),N.each(function(W){var j=d.select(this),Y=O[W[0]].marker,U=L(void 0,Y.line,5,2);j.attr("d",W[1]).style("stroke-width",U+"px").call(h.fill,Y.color),U&&j.call(h.stroke,Y.line.color)})}).each(function(I){b(I,this,"funnel")}).each(function(I){b(I,this)}).each(function(I){var O=I[0].trace,z=d.select(this).select("g.legendpoints").selectAll("path.legendbox").data(O.visible&&y.traceIs(O,"box-violin")?[I]:[]);z.enter().append("path").classed("legendbox",!0).attr("d","M6,6H-6V-6H6Z").attr("transform",A),z.exit().remove(),z.each(function(){var F=d.select(this);if(O.boxpoints!=="all"&&O.points!=="all"||h.opacity(O.fillcolor)!==0||h.opacity((O.line||{}).color)!==0){var B=L(void 0,O.line,5,2);F.style("stroke-width",B+"px").call(h.fill,O.fillcolor),B&&h.stroke(F,O.line.color)}else{var N=i.minExtend(O,{marker:{size:T?12:i.constrain(O.marker.size,2,16),sizeref:1,sizemin:1,sizemode:"diameter"}});z.call(v.pointStyle,N,g)}})}).each(function(I){R(I,this,"funnelarea")}).each(function(I){R(I,this,"pie")}).each(function(I){var O,z,F=f(I),B=F.showFill,N=F.showLine,W=F.showGradientLine,j=F.showGradientFill,Y=F.anyFill,U=F.anyLine,G=I[0],q=G.trace,H=l(q),ne=H.colorscale,te=H.reversescale,Z=a.hasMarkers(q)||!Y?"M5,0":U?"M5,-2":"M5,-3",X=d.select(this),Q=X.select(".legendfill").selectAll("path").data(B||j?[I]:[]);if(Q.enter().append("path").classed("js-fill",!0),Q.exit().remove(),Q.attr("d",Z+"h"+E+"v6h-"+E+"z").call(function(oe){if(oe.size())if(B)v.fillGroupStyle(oe,g);else{var ue="legendfill-"+q.uid;v.gradient(oe,g,ue,c(te),ne,"fill")}}),N||W){var re=L(void 0,q.line,10,5);z=i.minExtend(q,{line:{width:re}}),O=[i.minExtend(G,{trace:z})]}var ie=X.select(".legendlines").selectAll("path").data(N||W?[O]:[]);ie.enter().append("path").classed("js-line",!0),ie.exit().remove(),ie.attr("d",Z+(W?"l"+E+",0.0001":"h"+E)).call(N?v.lineGroupStyle:function(oe){if(oe.size()){var ue="legendline-"+q.uid;v.lineGroupStyle(oe),v.gradient(oe,g,ue,c(te),ne,"stroke")}})}).each(function(I){var O,z,F=f(I),B=F.anyFill,N=F.anyLine,W=F.showLine,j=F.showMarker,Y=I[0],U=Y.trace,G=!j&&!N&&!B&&a.hasText(U);function q(ie,oe,ue,ce){var ye=i.nestedProperty(U,ie).get(),de=i.isArrayOrTypedArray(ye)&&oe?oe(ye):ye;if(T&&de&&ce!==void 0&&(de=ce),ue){if(deue[1])return ue[1]}return de}function H(ie){return Y._distinct&&Y.index&&ie[Y.index]?ie[Y.index]:ie[0]}if(j||G||W){var ne={},te={};if(j){ne.mc=q("marker.color",H),ne.mx=q("marker.symbol",H),ne.mo=q("marker.opacity",i.mean,[.2,1]),ne.mlc=q("marker.line.color",H),ne.mlw=q("marker.line.width",i.mean,[0,5],2),te.marker={sizeref:1,sizemin:1,sizemode:"diameter"};var Z=q("marker.size",i.mean,[2,16],12);ne.ms=Z,te.marker.size=Z}W&&(te.line={width:q("line.width",H,[0,10],5)}),G&&(ne.tx="Aa",ne.tp=q("textposition",H),ne.ts=10,ne.tc=q("textfont.color",H),ne.tf=q("textfont.family",H)),O=[i.minExtend(Y,ne)],(z=i.minExtend(U,te)).selectedpoints=null,z.texttemplate=null}var X=d.select(this).select("g.legendpoints"),Q=X.selectAll("path.scatterpts").data(j?O:[]);Q.enter().insert("path",":first-child").classed("scatterpts",!0).attr("transform",A),Q.exit().remove(),Q.call(v.pointStyle,z,g),j&&(O[0].mrc=3);var re=X.selectAll("g.pointtext").data(G?O:[]);re.enter().append("g").classed("pointtext",!0).append("text").attr("transform",A),re.exit().remove(),re.selectAll("text").call(v.textPointStyle,z,g)}).each(function(I){var O=I[0].trace,z=d.select(this).select("g.legendpoints").selectAll("path.legendcandle").data(O.visible&&O.type==="candlestick"?[I,I]:[]);z.enter().append("path").classed("legendcandle",!0).attr("d",function(F,B){return B?"M-15,0H-8M-8,6V-6H8Z":"M15,0H8M8,-6V6H-8Z"}).attr("transform",A).style("stroke-miterlimit",1),z.exit().remove(),z.each(function(F,B){var N=d.select(this),W=O[B?"increasing":"decreasing"],j=L(void 0,W.line,5,2);N.style("stroke-width",j+"px").call(h.fill,W.fillcolor),j&&h.stroke(N,W.line.color)})}).each(function(I){var O=I[0].trace,z=d.select(this).select("g.legendpoints").selectAll("path.legendohlc").data(O.visible&&O.type==="ohlc"?[I,I]:[]);z.enter().append("path").classed("legendohlc",!0).attr("d",function(F,B){return B?"M-15,0H0M-8,-6V0":"M15,0H0M8,6V0"}).attr("transform",A).style("stroke-miterlimit",1),z.exit().remove(),z.each(function(F,B){var N=d.select(this),W=O[B?"increasing":"decreasing"],j=L(void 0,W.line,5,2);N.style("fill","none").call(v.dashLine,W.line.dash,j),j&&h.stroke(N,W.line.color)})})}},42068:function(k,m,t){t(93348),k.exports={editType:"modebar",orientation:{valType:"enumerated",values:["v","h"],dflt:"h",editType:"modebar"},bgcolor:{valType:"color",editType:"modebar"},color:{valType:"color",editType:"modebar"},activecolor:{valType:"color",editType:"modebar"},uirevision:{valType:"any",editType:"none"},add:{valType:"string",arrayOk:!0,dflt:"",editType:"modebar"},remove:{valType:"string",arrayOk:!0,dflt:"",editType:"modebar"}}},26023:function(k,m,t){var d=t(73972),y=t(74875),i=t(41675),M=t(24255),v=t(34031).eraseActiveShape,h=t(71828),l=h._,a=k.exports={};function u(x,T){var E,_,A=T.currentTarget,L=A.getAttribute("data-attr"),b=A.getAttribute("data-val")||!0,R=x._fullLayout,I={},O=i.list(x,null,!0),z=R._cartesianSpikesEnabled;if(L==="zoom"){var F,B=b==="in"?.5:2,N=(1+B)/2,W=(1-B)/2;for(_=0;_1?(Z=["toggleHover"],X=["resetViews"]):I?(te=["zoomInGeo","zoomOutGeo"],Z=["hoverClosestGeo"],X=["resetGeo"]):R?(Z=["hoverClosest3d"],X=["resetCameraDefault3d","resetCameraLastSave3d"]):N?(te=["zoomInMapbox","zoomOutMapbox"],Z=["toggleHover"],X=["resetViewMapbox"]):F?Z=["hoverClosestGl2d"]:O?Z=["hoverClosestPie"]:Y?(Z=["hoverClosestCartesian","hoverCompareCartesian"],X=["resetViewSankey"]):Z=["toggleHover"],b&&(Z=["toggleSpikelines","hoverClosestCartesian","hoverCompareCartesian"]),(function(ye){for(var de=0;de0)){var g=function(x,T,E){for(var _=E.filter(function(R){return T[R].anchor===x._id}),A=0,L=0;L<_.length;L++){var b=T[_[L]].domain;b&&(A=Math.max(b[1],A))}return[x.domain[0],A+h.yPad]}(u,s,o);w("x",g[0]),w("y",g[1]),d.noneOrAll(a,u,["x","y"]),w("xanchor"),w("yanchor"),d.coerceFont(w,"font",s.font);var S=w("bgcolor");w("activecolor",y.contrast(S,h.lightAmount,h.darkAmount)),w("bordercolor"),w("borderwidth")}}},21598:function(k,m,t){var d=t(39898),y=t(73972),i=t(74875),M=t(7901),v=t(91424),h=t(71828),l=h.strTranslate,a=t(63893),u=t(41675),s=t(18783),o=s.LINE_SPACING,c=s.FROM_TL,f=s.FROM_BR,p=t(89573),w=t(70565);function g(T){return T._id}function S(T,E,_){var A=h.ensureSingle(T,"rect","selector-rect",function(L){L.attr("shape-rendering","crispEdges")});A.attr({rx:p.rx,ry:p.ry}),A.call(M.stroke,E.bordercolor).call(M.fill,function(L,b){return b._isActive||b._isHovered?L.activecolor:L.bgcolor}(E,_)).style("stroke-width",E.borderwidth+"px")}function x(T,E,_,A){var L,b;h.ensureSingle(T,"text","selector-text",function(R){R.attr("text-anchor","middle")}).call(v.font,E.font).text((L=_,b=A._fullLayout._meta,L.label?b?h.templateString(L.label,b):L.label:L.step==="all"?"all":L.count+L.step.charAt(0))).call(function(R){a.convertToTspans(R,A)})}k.exports=function(T){var E=T._fullLayout._infolayer.selectAll(".rangeselector").data(function(_){for(var A=u.list(_,"x",!0),L=[],b=0;b=pe.max)de=oe[me+1];else if(ye=pe.pmax)de=oe[me+1];else if(yeme._length||ke+Ve<0)return;ge=be+Ve,we=ke+Ve;break;case Pe:if(Ee="col-resize",be+Ve>me._length)return;ge=be+Ve,we=ke;break;case _e:if(Ee="col-resize",ke+Ve<0)return;ge=be,we=ke+Ve;break;default:Ee="ew-resize",ge=he,we=he+Ve}if(we=0;F--){var B=T.append("path").attr(_).style("opacity",F?.1:A).call(M.stroke,b).call(M.fill,L).call(v.dashLine,F?"solid":I,F?4+R:R);if(c(B,p,S),O){var N=h(p.layout,"selections",S);B.style({cursor:"move"});var W={element:B.node(),plotinfo:x,gd:p,editHelpers:N,isActiveSelection:!0},j=d(E,p);y(j,B,W)}else B.style("pointer-events",F?"all":"none");z[F]=B}var Y=z[0];z[1].node().addEventListener("click",function(){return function(U,G){if(s(U)){var q=+G.node().getAttribute("data-index");if(q>=0){if(q===U._fullLayout._activeSelectionIndex)return void f(U);U._fullLayout._activeSelectionIndex=q,U._fullLayout._deactivateSelection=f,u(U)}}}(p,Y)})}(p._fullLayout._selectionLayer)}function c(p,w,g){var S=g.xref+g.yref;v.setClipUrl(p,"clip"+w._fullLayout._uid+S,w)}function f(p){s(p)&&p._fullLayout._activeSelectionIndex>=0&&(i(p),delete p._fullLayout._activeSelectionIndex,u(p))}k.exports={draw:u,drawOne:o,activateLastSelection:function(p){if(s(p)){var w=p._fullLayout.selections.length-1;p._fullLayout._activeSelectionIndex=w,p._fullLayout._deactivateSelection=f,u(p)}}}},53777:function(k,m,t){var d=t(79952).P,y=t(1426).extendFlat;k.exports={newselection:{mode:{valType:"enumerated",values:["immediate","gradual"],dflt:"immediate",editType:"none"},line:{color:{valType:"color",editType:"none"},width:{valType:"number",min:1,dflt:1,editType:"none"},dash:y({},d,{dflt:"dot",editType:"none"}),editType:"none"},editType:"none"},activeselection:{fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"none"},opacity:{valType:"number",min:0,max:1,dflt:.5,editType:"none"},editType:"none"}}},90849:function(k){k.exports=function(m,t,d){d("newselection.mode"),d("newselection.line.width")&&(d("newselection.line.color"),d("newselection.line.dash")),d("activeselection.fillcolor"),d("activeselection.opacity")}},35855:function(k,m,t){var d=t(64505).selectMode,y=t(51873).clearOutline,i=t(60165),M=i.readPaths,v=i.writePaths,h=i.fixDatesForPaths;k.exports=function(l,a){if(l.length){var u=l[0][0];if(u){var s=u.getAttribute("d"),o=a.gd,c=o._fullLayout.newselection,f=a.plotinfo,p=f.xaxis,w=f.yaxis,g=a.isActiveSelection,S=a.dragmode,x=(o.layout||{}).selections||[];if(!d(S)&&g!==void 0){var T=o._fullLayout._activeSelectionIndex;if(T-1,qt=[];if(function(nt){return nt&&Array.isArray(nt)&&nt[0].hoverOnBox!==!0}(Ot)){re(ze,je,Ve);var Vt=function(nt,ht){var Re,Ne,Qe=nt[0],ut=-1,dt=[];for(Ne=0;Ne0?function(nt,ht){var Re,Ne,Qe,ut=[];for(Qe=0;Qe0&&ut.push(Re);if(ut.length===1&&ut[0]===ht.searchInfo&&(Ne=ht.searchInfo.cd[0].trace).selectedpoints.length===ht.pointNumbers.length){for(Qe=0;Qe1||(Ne+=ht.selectedpoints.length)>1))return!1;return Ne===1}($e)&&(Et=ye(Vt))){for(Ye&&Ye.remove(),Ft=0;Ft<$e.length;Ft++)(st=$e[Ft])._module.selectPoints(st,!1);de(je,$e),ie(Ve),Bt&&Be(je)}else{for(kt=ze.shiftKey&&(Et!==void 0?Et:ye(Vt)),ot=function(nt,ht,Re){return{pointNumber:nt,searchInfo:ht,subtract:!!Re}}(Vt.pointNumber,Vt.searchInfo,kt),ft=Q(Ve.selectionDefs.concat([ot])),Ft=0;Ft<$e.length;Ft++)if(bt=pe($e[Ft]._module.selectPoints($e[Ft],ft),$e[Ft]),qt.length)for(var Ke=0;Ke=0})(Ee)&&Ee._fullLayout._deactivateShape(Ee),function(bt){return bt._fullLayout._activeSelectionIndex>=0}(Ee)&&Ee._fullLayout._deactivateSelection(Ee);var Ve=Ee._fullLayout._zoomlayer,Ye=o(ge),$e=f(ge);if(Ye||$e){var st,ot,ft=Ve.selectAll(".select-outline-"+we.id);ft&&Ee._fullLayout._outlining&&(Ye&&(st=_(ft,ze)),st&&i.call("_guiRelayout",Ee,{shapes:st}),$e&&!ne(ze)&&(ot=A(ft,ze)),ot&&(Ee._fullLayout._noEmitSelectedAtStart=!0,i.call("_guiRelayout",Ee,{selections:ot}).then(function(){je&&L(Ee)})),Ee._fullLayout._outlining=!1)}we.selection={},we.selection.selectionDefs=ze.selectionDefs=[],we.selection.mergedPolygons=ze.mergedPolygons=[]}function oe(ze){return ze._id}function ue(ze,je,ge,we){if(!ze.calcdata)return[];var Ee,Ve,Ye,$e=[],st=je.map(oe),ot=ge.map(oe);for(Ye=0;Ye0?we[0]:ge;return!!je.selectedpoints&&je.selectedpoints.indexOf(Ee)>-1}function de(ze,je,ge){var we,Ee;for(we=0;we-1&&je;if(!Ve&&je){var Tn=Ce(ze,!0);if(Tn.length){var dn=Tn[0].xref,pn=Tn[0].yref;if(dn&&pn){var Dn=be(Tn);ke([z(ze,dn,"x"),z(ze,pn,"y")])(kn,Dn)}}ze._fullLayout._noEmitSelectedAtStart?ze._fullLayout._noEmitSelectedAtStart=!1:sn&&Le(ze,kn),Et._reselect=!1}if(!Ve&&Et._deselect){var In=Et._deselect;(function(jn,Gn,qn){for(var lr=0;lr=0)kt._fullLayout._deactivateShape(kt);else if(!ot){var pn=xt.clickmode;O.done(An).then(function(){if(O.clear(An),Tn===2){for(Xt.remove(),Qe=0;Qe-1&&te(dn,kt,we.xaxes,we.yaxes,we.subplot,we,Xt),pn==="event"&&Le(kt,void 0);h.click(kt,dn)}).catch(b.error)}},we.doneFn=function(){un.remove(),O.done(An).then(function(){O.clear(An),!Ft&&Ne&&we.selectionDefs&&(Ne.subtract=Wt,we.selectionDefs.push(Ne),we.mergedPolygons.length=0,[].push.apply(we.mergedPolygons,Re)),(Ft||ot)&&ie(we,Ft),we.doneFnCompleted&&we.doneFnCompleted($n),ft&&Le(kt,dt)}).catch(b.error)}},clearOutline:S,clearSelectionsCache:ie,selectOnClick:te}},89827:function(k,m,t){var d=t(50215),y=t(41940),i=t(82196).line,M=t(79952).P,v=t(1426).extendFlat,h=t(44467).templatedArray,l=(t(24695),t(5386).R),a=t(37281);k.exports=h("shape",{visible:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},type:{valType:"enumerated",values:["circle","rect","path","line"],editType:"calc+arraydraw"},layer:{valType:"enumerated",values:["below","above"],dflt:"above",editType:"arraydraw"},xref:v({},d.xref,{}),xsizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",editType:"calc+arraydraw"},xanchor:{valType:"any",editType:"calc+arraydraw"},x0:{valType:"any",editType:"calc+arraydraw"},x1:{valType:"any",editType:"calc+arraydraw"},yref:v({},d.yref,{}),ysizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",editType:"calc+arraydraw"},yanchor:{valType:"any",editType:"calc+arraydraw"},y0:{valType:"any",editType:"calc+arraydraw"},y1:{valType:"any",editType:"calc+arraydraw"},path:{valType:"string",editType:"calc+arraydraw"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"arraydraw"},line:{color:v({},i.color,{editType:"arraydraw"}),width:v({},i.width,{editType:"calc+arraydraw"}),dash:v({},M,{editType:"arraydraw"}),editType:"calc+arraydraw"},fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},fillrule:{valType:"enumerated",values:["evenodd","nonzero"],dflt:"evenodd",editType:"arraydraw"},editable:{valType:"boolean",dflt:!1,editType:"calc+arraydraw"},label:{text:{valType:"string",dflt:"",editType:"arraydraw"},texttemplate:l({},{keys:Object.keys(a)}),font:y({editType:"calc+arraydraw",colorEditType:"arraydraw"}),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right","start","middle","end"],editType:"arraydraw"},textangle:{valType:"angle",dflt:"auto",editType:"calc+arraydraw"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto",editType:"calc+arraydraw"},yanchor:{valType:"enumerated",values:["top","middle","bottom"],editType:"calc+arraydraw"},padding:{valType:"number",dflt:3,min:0,editType:"arraydraw"},editType:"arraydraw"},editType:"arraydraw"})},5627:function(k,m,t){var d=t(71828),y=t(89298),i=t(21459),M=t(30477);function v(u){return l(u.line.width,u.xsizemode,u.x0,u.x1,u.path,!1)}function h(u){return l(u.line.width,u.ysizemode,u.y0,u.y1,u.path,!0)}function l(u,s,o,c,f,p){var w=u/2,g=p;if(s==="pixel"){var S=f?M.extractPathCoords(f,p?i.paramIsY:i.paramIsX):[o,c],x=d.aggNums(Math.max,null,S),T=d.aggNums(Math.min,null,S),E=T<0?Math.abs(T)+w:w,_=x>0?x+w:w;return{ppad:w,ppadplus:g?E:_,ppadminus:g?_:E}}return{ppad:w}}function a(u,s,o,c,f){var p=u.type==="category"||u.type==="multicategory"?u.r2c:u.d2c;if(s!==void 0)return[p(s),p(o)];if(c){var w,g,S,x,T=1/0,E=-1/0,_=c.match(i.segmentRE);for(u.type==="date"&&(p=M.decodeDate(p)),w=0;w<_.length;w++)(g=f[_[w].charAt(0)].drawn)!==void 0&&(!(S=_[w].substr(1).match(i.paramRE))||S.lengthE&&(E=x)));return E>=T?[T,E]:void 0}}k.exports=function(u){var s=u._fullLayout,o=d.filterVisible(s.shapes);if(o.length&&u._fullData.length)for(var c=0;c1&&(ye.length!==2||ye[1][0]!=="Z")&&(W===0&&(ye[0][0]="M"),A[N]=ye,O(),z())}}()}}function X(oe,ue){(function(ce,ye){if(A.length)for(var de=0;deSe?(he=_e,Be="y0",be=Se,ze="y1"):(he=Se,Be="y1",be=_e,ze="y0"),Je(Ne),ht(pe,de),function(Qe,ut,dt){var _t=ut.xref,It=ut.yref,Lt=M.getFromId(dt,_t),yt=M.getFromId(dt,It),Pt="";_t==="paper"||Lt.autorange||(Pt+=_t),It==="paper"||yt.autorange||(Pt+=It),u.setClipUrl(Qe,Pt?"clip"+dt._fullLayout._uid+Pt:null,dt)}(ye,de,ce),Ke.moveFn=Ee==="move"?qe:nt,Ke.altKey=Ne.altKey)},doneFn:function(){E(ce)||(c(ye),Re(pe),L(ye,ce,de),y.call("_guiRelayout",ce,xe.getUpdateObj()))},clickFn:function(){E(ce)||Re(pe)}};function Je(Ne){if(E(ce))Ee=null;else if($e)Ee=Ne.target.tagName==="path"?"move":Ne.target.attributes["data-line-point"].value==="start-point"?"resize-over-start-point":"resize-over-end-point";else{var Qe=Ke.element.getBoundingClientRect(),ut=Qe.right-Qe.left,dt=Qe.bottom-Qe.top,_t=Ne.clientX-Qe.left,It=Ne.clientY-Qe.top,Lt=!st&&ut>10&&dt>10&&!Ne.shiftKey?o.getCursor(_t/ut,1-It/dt):"move";c(ye,Lt),Ee=Lt.split("-")[0]}}function qe(Ne,Qe){if(de.type==="path"){var ut=function(It){return It},dt=ut,_t=ut;Ve?ot("xanchor",de.xanchor=Bt(Ce+Ne)):(dt=function(It){return Bt(Ft(It)+Ne)},bt&&bt.type==="date"&&(dt=w.encodeDate(dt))),Ye?ot("yanchor",de.yanchor=qt(ae+Qe)):(_t=function(It){return qt(Ot(It)+Qe)},kt&&kt.type==="date"&&(_t=w.encodeDate(_t))),ot("path",de.path=R(we,dt,_t))}else Ve?ot("xanchor",de.xanchor=Bt(Ce+Ne)):(ot("x0",de.x0=Bt(Pe+Ne)),ot("x1",de.x1=Bt(Me+Ne))),Ye?ot("yanchor",de.yanchor=qt(ae+Qe)):(ot("y0",de.y0=qt(_e+Qe)),ot("y1",de.y1=qt(Se+Qe)));ye.attr("d",g(ce,de)),ht(pe,de),b(ce,me,de,ft)}function nt(Ne,Qe){if(st){var ut=function(un){return un},dt=ut,_t=ut;Ve?ot("xanchor",de.xanchor=Bt(Ce+Ne)):(dt=function(un){return Bt(Ft(un)+Ne)},bt&&bt.type==="date"&&(dt=w.encodeDate(dt))),Ye?ot("yanchor",de.yanchor=qt(ae+Qe)):(_t=function(un){return qt(Ot(un)+Qe)},kt&&kt.type==="date"&&(_t=w.encodeDate(_t))),ot("path",de.path=R(we,dt,_t))}else if($e){if(Ee==="resize-over-start-point"){var It=Pe+Ne,Lt=Ye?_e-Qe:_e+Qe;ot("x0",de.x0=Ve?It:Bt(It)),ot("y0",de.y0=Ye?Lt:qt(Lt))}else if(Ee==="resize-over-end-point"){var yt=Me+Ne,Pt=Ye?Se-Qe:Se+Qe;ot("x1",de.x1=Ve?yt:Bt(yt)),ot("y1",de.y1=Ye?Pt:qt(Pt))}}else{var wt=function(un){return Ee.indexOf(un)!==-1},Rt=wt("n"),Nt=wt("s"),$t=wt("w"),Wt=wt("e"),Xt=Rt?he+Qe:he,Qt=Nt?be+Qe:be,rn=$t?ke+Ne:ke,xn=Wt?Le+Ne:Le;Ye&&(Rt&&(Xt=he-Qe),Nt&&(Qt=be-Qe)),(!Ye&&Qt-Xt>10||Ye&&Xt-Qt>10)&&(ot(Be,de[Be]=Ye?Xt:qt(Xt)),ot(ze,de[ze]=Ye?Qt:qt(Qt))),xn-rn>10&&(ot(je,de[je]=Ve?rn:Bt(rn)),ot(ge,de[ge]=Ve?xn:Bt(xn)))}ye.attr("d",g(ce,de)),ht(pe,de),b(ce,me,de,ft)}function ht(Ne,Qe){(Ve||Ye)&&function(){var ut=Qe.type!=="path",dt=Ne.selectAll(".visual-cue").data([0]);dt.enter().append("path").attr({fill:"#fff","fill-rule":"evenodd",stroke:"#000","stroke-width":1}).classed("visual-cue",!0);var _t=Ft(Ve?Qe.xanchor:i.midRange(ut?[Qe.x0,Qe.x1]:w.extractPathCoords(Qe.path,p.paramIsX))),It=Ot(Ye?Qe.yanchor:i.midRange(ut?[Qe.y0,Qe.y1]:w.extractPathCoords(Qe.path,p.paramIsY)));if(_t=w.roundPositionForSharpStrokeRendering(_t,1),It=w.roundPositionForSharpStrokeRendering(It,1),Ve&&Ye){var Lt="M"+(_t-1-1)+","+(It-1-1)+"h-8v2h8 v8h2v-8 h8v-2h-8 v-8h-2 Z";dt.attr("d",Lt)}else if(Ve){var yt="M"+(_t-1-1)+","+(It-9-1)+"v18 h2 v-18 Z";dt.attr("d",yt)}else{var Pt="M"+(_t-9-1)+","+(It-1-1)+"h18 v2 h-18 Z";dt.attr("d",Pt)}}()}function Re(Ne){Ne.selectAll(".visual-cue").remove()}o.init(Ke),Vt.node().onmousemove=Je}(O,ie,B,z,j,Q):B.editable===!0&&ie.style("pointer-events",Z||a.opacity(q)*G<=.5?"stroke":"all");ie.node().addEventListener("click",function(){return function(ce,ye){if(_(ce)){var de=+ye.node().getAttribute("data-index");if(de>=0){if(de===ce._fullLayout._activeShapeIndex)return void I(ce);ce._fullLayout._activeShapeIndex=de,ce._fullLayout._deactivateShape=I,T(ce)}}}(O,ie)})}B._input&&B.visible!==!1&&(B.layer!=="below"?W(O._fullLayout._shapeUpperLayer):B.xref==="paper"||B.yref==="paper"?W(O._fullLayout._shapeLowerLayer):N._hadPlotinfo?W((N.mainplotinfo||N).shapelayer):W(O._fullLayout._shapeLowerLayer))}function L(O,z,F){var B=(F.xref+F.yref).replace(/paper/g,"").replace(/[xyz][1-9]* *domain/g,"");u.setClipUrl(O,B?"clip"+z._fullLayout._uid+B:null,z)}function b(O,z,F,B){if(B.selectAll(".shape-label").remove(),F.label.text||F.label.texttemplate){var N;if(F.label.texttemplate){var W={};if(F.type!=="path"){var j=M.getFromId(O,F.xref),Y=M.getFromId(O,F.yref);for(var U in S){var G=S[U](F,j,Y);G!==void 0&&(W[U]=G)}}N=i.texttemplateStringForShapes(F.label.texttemplate,{},O._fullLayout._d3locale,W)}else N=F.label.text;var q,H,ne,te,Z={"data-index":z},X=F.label.font,Q=B.append("g").attr(Z).classed("shape-label",!0).append("text").attr({"data-notex":1}).classed("shape-label-text",!0).text(N);if(F.path){var re=g(O,F),ie=v(re,O);q=1/0,ne=1/0,H=-1/0,te=-1/0;for(var oe=0;oe=Le?Be-je:je-Be,-180/Math.PI*Math.atan2(ge,we)}(q,ne,H,te):0),Q.call(function(Le){return Le.call(u.font,X).attr({}),f.convertToTspans(Le,O),Le});var ae=function(Le,Be,ze,je,ge,we,Ee){var Ve,Ye,$e,st,ot=ge.label.textposition,ft=ge.label.textangle,bt=ge.label.padding,Et=ge.type,kt=Math.PI/180*we,xt=Math.sin(kt),Ft=Math.cos(kt),Ot=ge.label.xanchor,Bt=ge.label.yanchor;if(Et==="line"){ot==="start"?(Ve=Le,Ye=Be):ot==="end"?(Ve=ze,Ye=je):(Ve=(Le+ze)/2,Ye=(Be+je)/2),Ot==="auto"&&(Ot=ot==="start"?ft==="auto"?ze>Le?"left":zeLe?"right":zeLe?"right":zeLe?"left":ze=U||(j[N]?G=z(G):Y[N]&&(G=F(G)),N++),G})})}function I(O){_(O)&&O._fullLayout._activeShapeIndex>=0&&(l(O),delete O._fullLayout._activeShapeIndex,T(O))}k.exports={draw:T,drawOne:A,eraseActiveShape:function(O){if(_(O)){l(O);var z=O._fullLayout._activeShapeIndex,F=(O.layout||{}).shapes||[];if(z0&&EZ&&(Q="X"),Q});return q>Z&&(X=X.replace(/[\s,]*X.*/,""),y.log("Ignoring extra params in segment "+G)),H+X})}(v,l,u);if(v.xsizemode==="pixel"){var E=l(v.xanchor);s=E+v.x0,o=E+v.x1}else s=l(v.x0),o=l(v.x1);if(v.ysizemode==="pixel"){var _=u(v.yanchor);c=_-v.y0,f=_-v.y1}else c=u(v.y0),f=u(v.y1);if(p==="line")return"M"+s+","+c+"L"+o+","+f;if(p==="rect")return"M"+s+","+c+"H"+o+"V"+f+"H"+s+"Z";var A=(s+o)/2,L=(c+f)/2,b=Math.abs(A-s),R=Math.abs(L-c),I="A"+b+","+R,O=A+b+","+L;return"M"+O+I+" 0 1,1 "+A+","+(L-R)+I+" 0 0,1 "+O+"Z"}},89853:function(k,m,t){var d=t(34031);k.exports={moduleType:"component",name:"shapes",layoutAttributes:t(89827),supplyLayoutDefaults:t(84726),supplyDrawNewShapeDefaults:t(45547),includeBasePlot:t(76325)("shapes"),calcAutorange:t(5627),draw:d.draw,drawOne:d.drawOne}},37281:function(k){function m(i,M){return M?M.d2l(i):i}function t(i,M){return M?M.l2d(i):i}function d(i,M){return m(i.x1,M)-m(i.x0,M)}function y(i,M,v){return m(i.y1,v)-m(i.y0,v)}k.exports={x0:function(i){return i.x0},x1:function(i){return i.x1},y0:function(i){return i.y0},y1:function(i){return i.y1},slope:function(i,M,v){return i.type!=="line"?void 0:y(i,0,v)/d(i,M)},dx:d,dy:y,width:function(i,M){return Math.abs(d(i,M))},height:function(i,M,v){return Math.abs(y(i,0,v))},length:function(i,M,v){return i.type!=="line"?void 0:Math.sqrt(Math.pow(d(i,M),2)+Math.pow(y(i,0,v),2))},xcenter:function(i,M){return t((m(i.x1,M)+m(i.x0,M))/2,M)},ycenter:function(i,M,v){return t((m(i.y1,v)+m(i.y0,v))/2,v)}}},75067:function(k,m,t){var d=t(41940),y=t(35025),i=t(1426).extendDeepAll,M=t(30962).overrideAll,v=t(85594),h=t(44467).templatedArray,l=t(98292),a=h("step",{visible:{valType:"boolean",dflt:!0},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle"},args:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},label:{valType:"string"},value:{valType:"string"},execute:{valType:"boolean",dflt:!0}});k.exports=M(h("slider",{visible:{valType:"boolean",dflt:!0},active:{valType:"number",min:0,dflt:0},steps:a,lenmode:{valType:"enumerated",values:["fraction","pixels"],dflt:"fraction"},len:{valType:"number",min:0,dflt:1},x:{valType:"number",min:-2,max:3,dflt:0},pad:i(y({editType:"arraydraw"}),{},{t:{dflt:20}}),xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left"},y:{valType:"number",min:-2,max:3,dflt:0},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top"},transition:{duration:{valType:"number",min:0,dflt:150},easing:{valType:"enumerated",values:v.transition.easing.values,dflt:"cubic-in-out"}},currentvalue:{visible:{valType:"boolean",dflt:!0},xanchor:{valType:"enumerated",values:["left","center","right"],dflt:"left"},offset:{valType:"number",dflt:10},prefix:{valType:"string"},suffix:{valType:"string"},font:d({})},font:d({}),activebgcolor:{valType:"color",dflt:l.gripBgActiveColor},bgcolor:{valType:"color",dflt:l.railBgColor},bordercolor:{valType:"color",dflt:l.railBorderColor},borderwidth:{valType:"number",min:0,dflt:l.railBorderWidth},ticklen:{valType:"number",min:0,dflt:l.tickLength},tickcolor:{valType:"color",dflt:l.tickColor},tickwidth:{valType:"number",min:0,dflt:1},minorticklen:{valType:"number",min:0,dflt:l.minorTickLength}}),"arraydraw","from-root")},98292:function(k){k.exports={name:"sliders",containerClassName:"slider-container",groupClassName:"slider-group",inputAreaClass:"slider-input-area",railRectClass:"slider-rail-rect",railTouchRectClass:"slider-rail-touch-rect",gripRectClass:"slider-grip-rect",tickRectClass:"slider-tick-rect",inputProxyClass:"slider-input-proxy",labelsClass:"slider-labels",labelGroupClass:"slider-label-group",labelClass:"slider-label",currentValueClass:"slider-current-value",railHeight:5,menuIndexAttrName:"slider-active-index",autoMarginIdRoot:"slider-",minWidth:30,minHeight:30,textPadX:40,arrowOffsetX:4,railRadius:2,railWidth:5,railBorder:4,railBorderWidth:1,railBorderColor:"#bec8d9",railBgColor:"#f8fafc",railInset:8,stepInset:10,gripRadius:10,gripWidth:20,gripHeight:20,gripBorder:20,gripBorderWidth:1,gripBorderColor:"#bec8d9",gripBgColor:"#f6f8fa",gripBgActiveColor:"#dbdde0",labelPadding:8,labelOffset:0,tickWidth:1,tickColor:"#333",tickOffset:25,tickLength:7,minorTickOffset:25,minorTickColor:"#333",minorTickLength:4,currentValuePadding:8,currentValueInset:0}},12343:function(k,m,t){var d=t(71828),y=t(85501),i=t(75067),M=t(98292).name,v=i.steps;function h(a,u,s){function o(g,S){return d.coerce(a,u,i,g,S)}for(var c=y(a,u,{name:"steps",handleItemDefaults:l}),f=0,p=0;p0&&(q=q.transition().duration(N.transition.duration).ease(N.transition.easing)),q.attr("transform",h(G-.5*u.gripWidth,N._dims.currentValueTotalHeight))}}function I(B,N){var W=B._dims;return W.inputAreaStart+u.stepInset+(W.inputAreaLength-2*u.stepInset)*Math.min(1,Math.max(0,N))}function O(B,N){var W=B._dims;return Math.min(1,Math.max(0,(N-u.stepInset-W.inputAreaStart)/(W.inputAreaLength-2*u.stepInset-2*W.inputAreaStart)))}function z(B,N,W){var j=W._dims,Y=v.ensureSingle(B,"rect",u.railTouchRectClass,function(U){U.call(L,N,B,W).style("pointer-events","all")});Y.attr({width:j.inputAreaLength,height:Math.max(j.inputAreaWidth,u.tickOffset+W.ticklen+j.labelHeight)}).call(i.fill,W.bgcolor).attr("opacity",0),M.setTranslate(Y,0,j.currentValueTotalHeight)}function F(B,N){var W=N._dims,j=W.inputAreaLength-2*u.railInset,Y=v.ensureSingle(B,"rect",u.railRectClass);Y.attr({width:j,height:u.railWidth,rx:u.railRadius,ry:u.railRadius,"shape-rendering":"crispEdges"}).call(i.stroke,N.bordercolor).call(i.fill,N.bgcolor).style("stroke-width",N.borderwidth+"px"),M.setTranslate(Y,u.railInset,.5*(W.inputAreaWidth-u.railWidth)+W.currentValueTotalHeight)}k.exports=function(B){var N=B._context.staticPlot,W=B._fullLayout,j=function(ne,te){for(var Z=ne[u.name],X=[],Q=0;Q0?[0]:[]);function U(ne){ne._commandObserver&&(ne._commandObserver.remove(),delete ne._commandObserver),y.autoMargin(B,p(ne))}if(Y.enter().append("g").classed(u.containerClassName,!0).style("cursor",N?null:"ew-resize"),Y.exit().each(function(){d.select(this).selectAll("g."+u.groupClassName).each(U)}).remove(),j.length!==0){var G=Y.selectAll("g."+u.groupClassName).data(j,w);G.enter().append("g").classed(u.groupClassName,!0),G.exit().each(U).remove();for(var q=0;q0||xe<0){var Se={left:[-Pe,0],right:[Pe,0],top:[0,-Pe],bottom:[0,Pe]}[_.side];X.attr("transform",h(Se[0],Se[1]))}}}return q.call(H),Y&&(F?q.on(".opacity",null):(I=0,O=!0,q.text(T).on("mouseover.opacity",function(){d.select(this).transition().duration(s.SHOW_PLACEHOLDER).style("opacity",1)}).on("mouseout.opacity",function(){d.select(this).transition().duration(s.HIDE_PLACEHOLDER).style("opacity",0)})),q.call(u.makeEditable,{gd:f}).on("edit",function(Z){E!==void 0?M.call("_guiRestyle",f,x,Z,E):M.call("_guiRelayout",f,x,Z)}).on("cancel",function(){this.text(this.attr("data-unformatted")).call(H)}).on("input",function(Z){this.text(Z||" ").call(u.positionText,A.x,A.y)})),q.classed("js-placeholder",O),b}}},7163:function(k,m,t){var d=t(41940),y=t(22399),i=t(1426).extendFlat,M=t(30962).overrideAll,v=t(35025),h=t(44467).templatedArray,l=h("button",{visible:{valType:"boolean"},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle"},args:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},args2:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},label:{valType:"string",dflt:""},execute:{valType:"boolean",dflt:!0}});k.exports=M(h("updatemenu",{_arrayAttrRegexps:[/^updatemenus\[(0|[1-9][0-9]+)\]\.buttons/],visible:{valType:"boolean"},type:{valType:"enumerated",values:["dropdown","buttons"],dflt:"dropdown"},direction:{valType:"enumerated",values:["left","right","up","down"],dflt:"down"},active:{valType:"integer",min:-1,dflt:0},showactive:{valType:"boolean",dflt:!0},buttons:l,x:{valType:"number",min:-2,max:3,dflt:-.05},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"right"},y:{valType:"number",min:-2,max:3,dflt:1},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top"},pad:i(v({editType:"arraydraw"}),{}),font:d({}),bgcolor:{valType:"color"},bordercolor:{valType:"color",dflt:y.borderLine},borderwidth:{valType:"number",min:0,dflt:1,editType:"arraydraw"}}),"arraydraw","from-root")},75909:function(k){k.exports={name:"updatemenus",containerClassName:"updatemenu-container",headerGroupClassName:"updatemenu-header-group",headerClassName:"updatemenu-header",headerArrowClassName:"updatemenu-header-arrow",dropdownButtonGroupClassName:"updatemenu-dropdown-button-group",dropdownButtonClassName:"updatemenu-dropdown-button",buttonClassName:"updatemenu-button",itemRectClassName:"updatemenu-item-rect",itemTextClassName:"updatemenu-item-text",menuIndexAttrName:"updatemenu-active-index",autoMarginIdRoot:"updatemenu-",blankHeaderOpts:{label:" "},minWidth:30,minHeight:30,textPadX:24,arrowPadX:16,rx:2,ry:2,textOffsetX:12,textOffsetY:3,arrowOffsetX:4,gapButtonHeader:5,gapButton:2,activeColor:"#F4FAFF",hoverColor:"#F4FAFF",arrowSymbol:{left:"◄",right:"►",up:"▲",down:"▼"}}},64897:function(k,m,t){var d=t(71828),y=t(85501),i=t(7163),M=t(75909).name,v=i.buttons;function h(a,u,s){function o(c,f){return d.coerce(a,u,i,c,f)}o("visible",y(a,u,{name:"buttons",handleItemDefaults:l}).length>0)&&(o("active"),o("direction"),o("type"),o("showactive"),o("x"),o("y"),d.noneOrAll(a,u,["x","y"]),o("xanchor"),o("yanchor"),o("pad.t"),o("pad.r"),o("pad.b"),o("pad.l"),d.coerceFont(o,"font",s.font),o("bgcolor",s.paper_bgcolor),o("bordercolor"),o("borderwidth"))}function l(a,u){function s(o,c){return d.coerce(a,u,v,o,c)}s("visible",a.method==="skip"||Array.isArray(a.args))&&(s("method"),s("args"),s("args2"),s("label"),s("execute"))}k.exports=function(a,u){y(a,u,{name:M,handleItemDefaults:h})}},13689:function(k,m,t){var d=t(39898),y=t(74875),i=t(7901),M=t(91424),v=t(71828),h=t(63893),l=t(44467).arrayEditor,a=t(18783).LINE_SPACING,u=t(75909),s=t(25849);function o(I){return I._index}function c(I,O){return+I.attr(u.menuIndexAttrName)===O._index}function f(I,O,z,F,B,N,W,j){O.active=W,l(I.layout,u.name,O).applyUpdate("active",W),O.type==="buttons"?w(I,F,null,null,O):O.type==="dropdown"&&(B.attr(u.menuIndexAttrName,"-1"),p(I,F,B,N,O),j||w(I,F,B,N,O))}function p(I,O,z,F,B){var N=v.ensureSingle(O,"g",u.headerClassName,function(q){q.style("pointer-events","all")}),W=B._dims,j=B.active,Y=B.buttons[j]||u.blankHeaderOpts,U={y:B.pad.t,yPad:0,x:B.pad.l,xPad:0,index:0},G={width:W.headerWidth,height:W.headerHeight};N.call(g,B,Y,I).call(b,B,U,G),v.ensureSingle(O,"text",u.headerArrowClassName,function(q){q.attr("text-anchor","end").call(M.font,B.font).text(u.arrowSymbol[B.direction])}).attr({x:W.headerWidth-u.arrowOffsetX+B.pad.l,y:W.headerHeight/2+u.textOffsetY+B.pad.t}),N.on("click",function(){z.call(R,String(c(z,B)?-1:B._index)),w(I,O,z,F,B)}),N.on("mouseover",function(){N.call(E)}),N.on("mouseout",function(){N.call(_,B)}),M.setTranslate(O,W.lx,W.ly)}function w(I,O,z,F,B){z||(z=O).attr("pointer-events","all");var N=function(X){return+X.attr(u.menuIndexAttrName)==-1}(z)&&B.type!=="buttons"?[]:B.buttons,W=B.type==="dropdown"?u.dropdownButtonClassName:u.buttonClassName,j=z.selectAll("g."+W).data(v.filterVisible(N)),Y=j.enter().append("g").classed(W,!0),U=j.exit();B.type==="dropdown"?(Y.attr("opacity","0").transition().attr("opacity","1"),U.transition().attr("opacity","0").remove()):U.remove();var G=0,q=0,H=B._dims,ne=["up","down"].indexOf(B.direction)!==-1;B.type==="dropdown"&&(ne?q=H.headerHeight+u.gapButtonHeader:G=H.headerWidth+u.gapButtonHeader),B.type==="dropdown"&&B.direction==="up"&&(q=-u.gapButtonHeader+u.gapButton-H.openHeight),B.type==="dropdown"&&B.direction==="left"&&(G=-u.gapButtonHeader+u.gapButton-H.openWidth);var te={x:H.lx+G+B.pad.l,y:H.ly+q+B.pad.t,yPad:u.gapButton,xPad:u.gapButton,index:0},Z={l:te.x+B.borderwidth,t:te.y+B.borderwidth};j.each(function(X,Q){var re=d.select(this);re.call(g,B,X,I).call(b,B,te),re.on("click",function(){d.event.defaultPrevented||(X.execute&&(X.args2&&B.active===Q?(f(I,B,0,O,z,F,-1),y.executeAPICommand(I,X.method,X.args2)):(f(I,B,0,O,z,F,Q),y.executeAPICommand(I,X.method,X.args))),I.emit("plotly_buttonclicked",{menu:B,button:X,active:B.active}))}),re.on("mouseover",function(){re.call(E)}),re.on("mouseout",function(){re.call(_,B),j.call(T,B)})}),j.call(T,B),ne?(Z.w=Math.max(H.openWidth,H.headerWidth),Z.h=te.y-Z.t):(Z.w=te.x-Z.l,Z.h=Math.max(H.openHeight,H.headerHeight)),Z.direction=B.direction,F&&(j.size()?function(X,Q,re,ie,oe,ue){var ce,ye,de,me=oe.direction,pe=me==="up"||me==="down",xe=oe._dims,Pe=oe.active;if(pe)for(ye=0,de=0;de0?[0]:[]);if(B.enter().append("g").classed(u.containerClassName,!0).style("cursor","pointer"),B.exit().each(function(){d.select(this).selectAll("g."+u.headerGroupClassName).each(F)}).remove(),z.length!==0){var N=B.selectAll("g."+u.headerGroupClassName).data(z,o);N.enter().append("g").classed(u.headerGroupClassName,!0);for(var W=v.ensureSingle(B,"g",u.dropdownButtonGroupClassName,function(q){q.style("pointer-events","all")}),j=0;jb,O=v.barLength+2*v.barPad,z=v.barWidth+2*v.barPad,F=g,B=x+T;B+z>o&&(B=o-z);var N=this.container.selectAll("rect.scrollbar-horizontal").data(I?[0]:[]);N.exit().on(".drag",null).remove(),N.enter().append("rect").classed("scrollbar-horizontal",!0).call(y.fill,v.barColor),I?(this.hbar=N.attr({rx:v.barRadius,ry:v.barRadius,x:F,y:B,width:O,height:z}),this._hbarXMin=F+O/2,this._hbarTranslateMax=b-O):(delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax);var W=T>R,j=v.barWidth+2*v.barPad,Y=v.barLength+2*v.barPad,U=g+S,G=x;U+j>s&&(U=s-j);var q=this.container.selectAll("rect.scrollbar-vertical").data(W?[0]:[]);q.exit().on(".drag",null).remove(),q.enter().append("rect").classed("scrollbar-vertical",!0).call(y.fill,v.barColor),W?(this.vbar=q.attr({rx:v.barRadius,ry:v.barRadius,x:U,y:G,width:j,height:Y}),this._vbarYMin=G+Y/2,this._vbarTranslateMax=R-Y):(delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax);var H=this.id,ne=c-.5,te=W?f+j+.5:f+.5,Z=p-.5,X=I?w+z+.5:w+.5,Q=u._topdefs.selectAll("#"+H).data(I||W?[0]:[]);if(Q.exit().remove(),Q.enter().append("clipPath").attr("id",H).append("rect"),I||W?(this._clipRect=Q.select("rect").attr({x:Math.floor(ne),y:Math.floor(Z),width:Math.ceil(te)-Math.floor(ne),height:Math.ceil(X)-Math.floor(Z)}),this.container.call(i.setClipUrl,H,this.gd),this.bg.attr({x:g,y:x,width:S,height:T})):(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(i.setClipUrl,null),delete this._clipRect),I||W){var re=d.behavior.drag().on("dragstart",function(){d.event.sourceEvent.preventDefault()}).on("drag",this._onBoxDrag.bind(this));this.container.on("wheel",null).on("wheel",this._onBoxWheel.bind(this)).on(".drag",null).call(re);var ie=d.behavior.drag().on("dragstart",function(){d.event.sourceEvent.preventDefault(),d.event.sourceEvent.stopPropagation()}).on("drag",this._onBarDrag.bind(this));I&&this.hbar.on(".drag",null).call(ie),W&&this.vbar.on(".drag",null).call(ie)}this.setTranslate(l,a)},v.prototype.disable=function(){(this.hbar||this.vbar)&&(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(i.setClipUrl,null),delete this._clipRect),this.hbar&&(this.hbar.on(".drag",null),this.hbar.remove(),delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax),this.vbar&&(this.vbar.on(".drag",null),this.vbar.remove(),delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax)},v.prototype._onBoxDrag=function(){var h=this.translateX,l=this.translateY;this.hbar&&(h-=d.event.dx),this.vbar&&(l-=d.event.dy),this.setTranslate(h,l)},v.prototype._onBoxWheel=function(){var h=this.translateX,l=this.translateY;this.hbar&&(h+=d.event.deltaY),this.vbar&&(l+=d.event.deltaY),this.setTranslate(h,l)},v.prototype._onBarDrag=function(){var h=this.translateX,l=this.translateY;if(this.hbar){var a=h+this._hbarXMin,u=a+this._hbarTranslateMax;h=(M.constrain(d.event.x,a,u)-a)/(u-a)*(this.position.w-this._box.w)}if(this.vbar){var s=l+this._vbarYMin,o=s+this._vbarTranslateMax;l=(M.constrain(d.event.y,s,o)-s)/(o-s)*(this.position.h-this._box.h)}this.setTranslate(h,l)},v.prototype.setTranslate=function(h,l){var a=this.position.w-this._box.w,u=this.position.h-this._box.h;if(h=M.constrain(h||0,0,a),l=M.constrain(l||0,0,u),this.translateX=h,this.translateY=l,this.container.call(i.setTranslate,this._box.l-this.position.l-h,this._box.t-this.position.t-l),this._clipRect&&this._clipRect.attr({x:Math.floor(this.position.l+h-.5),y:Math.floor(this.position.t+l-.5)}),this.hbar){var s=h/a;this.hbar.call(i.setTranslate,h+s*this._hbarTranslateMax,l)}if(this.vbar){var o=l/u;this.vbar.call(i.setTranslate,h,l+o*this._vbarTranslateMax)}}},18783:function(k){k.exports={FROM_BL:{left:0,center:.5,right:1,bottom:0,middle:.5,top:1},FROM_TL:{left:0,center:.5,right:1,bottom:1,middle:.5,top:0},FROM_BR:{left:1,center:.5,right:0,bottom:0,middle:.5,top:1},LINE_SPACING:1.3,CAP_SHIFT:.7,MID_SHIFT:.35,OPPOSITE_SIDE:{left:"right",right:"left",top:"bottom",bottom:"top"}}},24695:function(k){k.exports={axisRefDescription:function(m,t,d){return["If set to a",m,"axis id (e.g. *"+m+"* or","*"+m+"2*), the `"+m+"` position refers to a",m,"coordinate. If set to *paper*, the `"+m+"`","position refers to the distance from the",t,"of the plotting","area in normalized coordinates where *0* (*1*) corresponds to the",t,"("+d+"). If set to a",m,"axis ID followed by","*domain* (separated by a space), the position behaves like for","*paper*, but refers to the distance in fractions of the domain","length from the",t,"of the domain of that axis: e.g.,","*"+m+"2 domain* refers to the domain of the second",m," axis and a",m,"position of 0.5 refers to the","point between the",t,"and the",d,"of the domain of the","second",m,"axis."].join(" ")}}},22372:function(k){k.exports={INCREASING:{COLOR:"#3D9970",SYMBOL:"▲"},DECREASING:{COLOR:"#FF4136",SYMBOL:"▼"}}},31562:function(k){k.exports={FORMAT_LINK:"https://github.com/d3/d3-format/tree/v1.4.5#d3-format",DATE_FORMAT_LINK:"https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format"}},74808:function(k){k.exports={COMPARISON_OPS:["=","!=","<",">=",">","<="],COMPARISON_OPS2:["=","<",">=",">","<="],INTERVAL_OPS:["[]","()","[)","(]","][",")(","](",")["],SET_OPS:["{}","}{"],CONSTRAINT_REDUCTION:{"=":"=","<":"<","<=":"<",">":">",">=":">","[]":"[]","()":"[]","[)":"[]","(]":"[]","][":"][",")(":"][","](":"][",")[":"]["}}},29659:function(k){k.exports={solid:[[],0],dot:[[.5,1],200],dash:[[.5,1],50],longdash:[[.5,1],10],dashdot:[[.5,.625,.875,1],50],longdashdot:[[.5,.7,.8,1],10]}},87381:function(k){k.exports={circle:"●","circle-open":"○",square:"■","square-open":"□",diamond:"◆","diamond-open":"◇",cross:"+",x:"❌"}},37822:function(k){k.exports={SHOW_PLACEHOLDER:100,HIDE_PLACEHOLDER:1e3,DESELECTDIM:.2}},50606:function(k){k.exports={BADNUM:void 0,FP_SAFE:1e-4*Number.MAX_VALUE,ONEMAXYEAR:316224e5,ONEAVGYEAR:315576e5,ONEMINYEAR:31536e6,ONEMAXQUARTER:79488e5,ONEAVGQUARTER:78894e5,ONEMINQUARTER:76896e5,ONEMAXMONTH:26784e5,ONEAVGMONTH:26298e5,ONEMINMONTH:24192e5,ONEWEEK:6048e5,ONEDAY:864e5,ONEHOUR:36e5,ONEMIN:6e4,ONESEC:1e3,EPOCHJD:24405875e-1,ALMOST_EQUAL:.999999,LOG_CLIP:10,MINUS_SIGN:"−"}},77922:function(k,m){m.xmlns="http://www.w3.org/2000/xmlns/",m.svg="http://www.w3.org/2000/svg",m.xlink="http://www.w3.org/1999/xlink",m.svgAttrs={xmlns:m.svg,"xmlns:xlink":m.xlink}},8729:function(k,m,t){m.version=t(11506).version,t(7417),t(98847);for(var d=t(73972),y=m.register=d.register,i=t(10641),M=Object.keys(i),v=0;v",""," ",""," plotly-logomark"," "," "," "," "," "," "," "," "," "," "," "," "," ",""].join("")}}},99863:function(k,m){m.isLeftAnchor=function(t){return t.xanchor==="left"||t.xanchor==="auto"&&t.x<=.3333333333333333},m.isCenterAnchor=function(t){return t.xanchor==="center"||t.xanchor==="auto"&&t.x>.3333333333333333&&t.x<.6666666666666666},m.isRightAnchor=function(t){return t.xanchor==="right"||t.xanchor==="auto"&&t.x>=.6666666666666666},m.isTopAnchor=function(t){return t.yanchor==="top"||t.yanchor==="auto"&&t.y>=.6666666666666666},m.isMiddleAnchor=function(t){return t.yanchor==="middle"||t.yanchor==="auto"&&t.y>.3333333333333333&&t.y<.6666666666666666},m.isBottomAnchor=function(t){return t.yanchor==="bottom"||t.yanchor==="auto"&&t.y<=.3333333333333333}},26348:function(k,m,t){var d=t(64872),y=d.mod,i=d.modHalf,M=Math.PI,v=2*M;function h(s){return Math.abs(s[1]-s[0])>v-1e-14}function l(s,o){return i(o-s,v)}function a(s,o){if(h(o))return!0;var c,f;o[0](f=y(f,v))&&(f+=v);var p=y(s,v),w=p+v;return p>=c&&p<=f||w>=c&&w<=f}function u(s,o,c,f,p,w,g){p=p||0,w=w||0;var S,x,T,E,_,A=h([c,f]);function L(O,z){return[O*Math.cos(z)+p,w-O*Math.sin(z)]}A?(S=0,x=M,T=v):c=p&&s<=w);var p,w},pathArc:function(s,o,c,f,p){return u(null,s,o,c,f,p,0)},pathSector:function(s,o,c,f,p){return u(null,s,o,c,f,p,1)},pathAnnulus:function(s,o,c,f,p,w){return u(s,o,c,f,p,w,1)}}},73627:function(k,m){var t=Array.isArray,d=ArrayBuffer,y=DataView;function i(h){return d.isView(h)&&!(h instanceof y)}function M(h){return t(h)||i(h)}function v(h,l,a){if(M(h)){if(M(h[0])){for(var u=a,s=0;sw.max?f.set(p):f.set(+c)}},integer:{coerceFunction:function(c,f,p,w){c%1||!d(c)||w.min!==void 0&&cw.max?f.set(p):f.set(+c)}},string:{coerceFunction:function(c,f,p,w){if(typeof c!="string"){var g=typeof c=="number";w.strict!==!0&&g?f.set(String(c)):f.set(p)}else w.noBlank&&!c?f.set(p):f.set(c)}},color:{coerceFunction:function(c,f,p){y(c).isValid()?f.set(c):f.set(p)}},colorlist:{coerceFunction:function(c,f,p){Array.isArray(c)&&c.length&&c.every(function(w){return y(w).isValid()})?f.set(c):f.set(p)}},colorscale:{coerceFunction:function(c,f,p){f.set(M.get(c,p))}},angle:{coerceFunction:function(c,f,p){c==="auto"?f.set("auto"):d(c)?f.set(u(+c,360)):f.set(p)}},subplotid:{coerceFunction:function(c,f,p,w){var g=w.regex||a(p);typeof c=="string"&&g.test(c)?f.set(c):f.set(p)},validateFunction:function(c,f){var p=f.dflt;return c===p||typeof c=="string"&&!!a(p).test(c)}},flaglist:{coerceFunction:function(c,f,p,w){if((w.extras||[]).indexOf(c)===-1)if(typeof c=="string"){for(var g=c.split("+"),S=0;S=d&&N<=y?N:a}if(typeof N!="string"&&typeof N!="number")return a;N=String(N);var G=T(W),q=N.charAt(0);!G||q!=="G"&&q!=="g"||(N=N.substr(1),W="");var H=G&&W.substr(0,7)==="chinese",ne=N.match(H?S:g);if(!ne)return a;var te=ne[1],Z=ne[3]||"1",X=Number(ne[5]||1),Q=Number(ne[7]||0),re=Number(ne[9]||0),ie=Number(ne[11]||0);if(G){if(te.length===2)return a;var oe;te=Number(te);try{var ue=p.getComponentMethod("calendars","getCal")(W);if(H){var ce=Z.charAt(Z.length-1)==="i";Z=parseInt(Z,10),oe=ue.newDate(te,ue.toMonthIndex(te,Z,ce),X)}else oe=ue.newDate(te,Number(Z),X)}catch{return a}return oe?(oe.toJD()-f)*u+Q*s+re*o+ie*c:a}te=te.length===2?(Number(te)+2e3-x)%100+x:Number(te),Z-=1;var ye=new Date(Date.UTC(2e3,Z,X,Q,re));return ye.setUTCFullYear(te),ye.getUTCMonth()!==Z||ye.getUTCDate()!==X?a:ye.getTime()+ie*c},d=m.MIN_MS=m.dateTime2ms("-9999"),y=m.MAX_MS=m.dateTime2ms("9999-12-31 23:59:59.9999"),m.isDateTime=function(N,W){return m.dateTime2ms(N,W)!==a};var _=90*u,A=3*s,L=5*o;function b(N,W,j,Y,U){if((W||j||Y||U)&&(N+=" "+E(W,2)+":"+E(j,2),(Y||U)&&(N+=":"+E(Y,2),U))){for(var G=4;U%10==0;)G-=1,U/=10;N+="."+E(U,G)}return N}m.ms2DateTime=function(N,W,j){if(typeof N!="number"||!(N>=d&&N<=y))return a;W||(W=0);var Y,U,G,q,H,ne,te=Math.floor(10*h(N+.05,1)),Z=Math.round(N-te/10);if(T(j)){var X=Math.floor(Z/u)+f,Q=Math.floor(h(N,u));try{Y=p.getComponentMethod("calendars","getCal")(j).fromJD(X).formatDate("yyyy-mm-dd")}catch{Y=w("G%Y-%m-%d")(new Date(Z))}if(Y.charAt(0)==="-")for(;Y.length<11;)Y="-0"+Y.substr(1);else for(;Y.length<10;)Y="0"+Y;U=W<_?Math.floor(Q/s):0,G=W<_?Math.floor(Q%s/o):0,q=W=d+u&&N<=y-u))return a;var W=Math.floor(10*h(N+.05,1)),j=new Date(Math.round(N-W/10));return b(i("%Y-%m-%d")(j),j.getHours(),j.getMinutes(),j.getSeconds(),10*j.getUTCMilliseconds()+W)},m.cleanDate=function(N,W,j){if(N===a)return W;if(m.isJSDate(N)||typeof N=="number"&&isFinite(N)){if(T(j))return v.error("JS Dates and milliseconds are incompatible with world calendars",N),W;if(!(N=m.ms2DateTimeLocal(+N))&&W!==void 0)return W}else if(!m.isDateTime(N,j))return v.error("unrecognized date",N),W;return N};var R=/%\d?f/g,I=/%h/g,O={1:"1",2:"1",3:"2",4:"2"};function z(N,W,j,Y){N=N.replace(R,function(G){var q=Math.min(+G.charAt(1)||6,6);return(W/1e3%1+2).toFixed(q).substr(2).replace(/0+$/,"")||"0"});var U=new Date(Math.floor(W+.05));if(N=N.replace(I,function(){return O[j("%q")(U)]}),T(Y))try{N=p.getComponentMethod("calendars","worldCalFmt")(N,W,Y)}catch{return"Invalid"}return j(N)(U)}var F=[59,59.9,59.99,59.999,59.9999];m.formatDate=function(N,W,j,Y,U,G){if(U=T(U)&&U,!W)if(j==="y")W=G.year;else if(j==="m")W=G.month;else{if(j!=="d")return function(q,H){var ne=h(q+.05,u),te=E(Math.floor(ne/s),2)+":"+E(h(Math.floor(ne/o),60),2);if(H!=="M"){M(H)||(H=0);var Z=(100+Math.min(h(q/c,60),F[H])).toFixed(H).substr(1);H>0&&(Z=Z.replace(/0+$/,"").replace(/[\.]$/,"")),te+=":"+Z}return te}(N,j)+` -`+z(G.dayMonthYear,N,Y,U);W=G.dayMonth+` -`+G.year}return z(W,N,Y,U)};var B=3*u;m.incrementMonth=function(N,W,j){j=T(j)&&j;var Y=h(N,u);if(N=Math.round(N-Y),j)try{var U=Math.round(N/u)+f,G=p.getComponentMethod("calendars","getCal")(j),q=G.fromJD(U);return W%12?G.add(q,W,"m"):G.add(q,W/12,"y"),(q.toJD()-f)*u+Y}catch{v.error("invalid ms "+N+" in calendar "+j)}var H=new Date(N+B);return H.setUTCMonth(H.getUTCMonth()+W)+Y-B},m.findExactDates=function(N,W){for(var j,Y,U=0,G=0,q=0,H=0,ne=T(W)&&p.getComponentMethod("calendars","getCal")(W),te=0;te0&&b[R+1][0]<0)return R;return null}switch(w=_==="RUS"||_==="FJI"?function(b){var R;if(L(b)===null)R=b;else for(R=new Array(b.length),x=0;xR?I[O++]=[b[x][0]+360,b[x][1]]:x===R?(I[O++]=b[x],I[O++]=[b[x][0],-90]):I[O++]=b[x];var z=s.tester(I);z.pts.pop(),A.push(z)}:function(b){A.push(s.tester(b))},T.type){case"MultiPolygon":for(g=0;gj&&(j=G,B=U)}else B=N;return M.default(B).geometry.coordinates}(z),I.fIn=b,I.fOut=z,T.push(z)}else l.log(["Location",I.loc,"does not have a valid GeoJSON geometry.","Traces with locationmode *geojson-id* only support","*Polygon* and *MultiPolygon* geometries."].join(" "))}delete x[R]}switch(g.type){case"FeatureCollection":var A=g.features;for(S=0;S100?(clearInterval(R),L("Unexpected error while fetching from "+_)):void b++},50)})}for(var T=0;T0&&(M.push(v),v=[])}return v.length>0&&M.push(v),M},m.makeLine=function(y){return y.length===1?{type:"LineString",coordinates:y[0]}:{type:"MultiLineString",coordinates:y}},m.makePolygon=function(y){if(y.length===1)return{type:"Polygon",coordinates:y};for(var i=new Array(y.length),M=0;M1||A<0||A>1?null:{x:l+w*A,y:a+x*A}}function h(l,a,u,s,o){var c=s*l+o*a;if(c<0)return s*s+o*o;if(c>u){var f=s-l,p=o-a;return f*f+p*p}var w=s*a-o*l;return w*w/u}m.segmentsIntersect=v,m.segmentDistance=function(l,a,u,s,o,c,f,p){if(v(l,a,u,s,o,c,f,p))return 0;var w=u-l,g=s-a,S=f-o,x=p-c,T=w*w+g*g,E=S*S+x*x,_=Math.min(h(w,g,T,o-l,c-a),h(w,g,T,f-l,p-a),h(S,x,E,l-o,a-c),h(S,x,E,u-o,s-c));return Math.sqrt(_)},m.getTextLocation=function(l,a,u,s){if(l===y&&s===i||(d={},y=l,i=s),d[u])return d[u];var o=l.getPointAtLength(M(u-s/2,a)),c=l.getPointAtLength(M(u+s/2,a)),f=Math.atan((c.y-o.y)/(c.x-o.x)),p=l.getPointAtLength(M(u,a)),w={x:(4*p.x+o.x+c.x)/6,y:(4*p.y+o.y+c.y)/6,theta:f};return d[u]=w,w},m.clearLocationCache=function(){y=null},m.getVisibleSegment=function(l,a,u){var s,o,c=a.left,f=a.right,p=a.top,w=a.bottom,g=0,S=l.getTotalLength(),x=S;function T(_){var A=l.getPointAtLength(_);_===0?s=A:_===S&&(o=A);var L=A.xf?A.x-f:0,b=A.yw?A.y-w:0;return Math.sqrt(L*L+b*b)}for(var E=T(g);E;){if((g+=E+u)>x)return;E=T(g)}for(E=T(x);E;){if(g>(x-=E+u))return;E=T(x)}return{min:g,max:x,len:x-g,total:S,isClosed:g===0&&x===S&&Math.abs(s.x-o.x)<.1&&Math.abs(s.y-o.y)<.1}},m.findPointOnPath=function(l,a,u,s){for(var o,c,f,p=(s=s||{}).pathLength||l.getTotalLength(),w=s.tolerance||.001,g=s.iterationLimit||30,S=l.getPointAtLength(0)[u]>l.getPointAtLength(p)[u]?-1:1,x=0,T=0,E=p;x0?E=o:T=o,x++}return c}},81697:function(k,m,t){var d=t(92770),y=t(84267),i=t(25075),M=t(21081),v=t(22399).defaultLine,h=t(73627).isArrayOrTypedArray,l=i(v);function a(o,c){var f=o;return f[3]*=c,f}function u(o){if(d(o))return l;var c=i(o);return c.length?c:l}function s(o){return d(o)?o:1}k.exports={formatColor:function(o,c,f){var p,w,g,S,x,T=o.color,E=h(T),_=h(c),A=M.extractOpts(o),L=[];if(p=A.colorscale!==void 0?M.makeColorScaleFuncFromTrace(o):u,w=E?function(R,I){return R[I]===void 0?l:i(p(R[I]))}:u,g=_?function(R,I){return R[I]===void 0?1:s(R[I])}:s,E||_)for(var b=0;b1?(d*m+d*t)/d:m+t,i=String(y).length;if(i>16){var M=String(t).length;if(i>=String(m).length+M){var v=parseFloat(y).toPrecision(12);v.indexOf("e+")===-1&&(y=+v)}}return y}},71828:function(k,m,t){var d=t(39898),y=t(84096).g0,i=t(60721).WU,M=t(92770),v=t(50606),h=v.FP_SAFE,l=-h,a=v.BADNUM,u=k.exports={};u.adjustFormat=function(Q){return!Q||/^\d[.]\df/.test(Q)||/[.]\d%/.test(Q)?Q:Q==="0.f"?"~f":/^\d%/.test(Q)?"~%":/^\ds/.test(Q)?"~s":!/^[~,.0$]/.test(Q)&&/[&fps]/.test(Q)?"~"+Q:Q};var s={};u.warnBadFormat=function(Q){var re=String(Q);s[re]||(s[re]=1,u.warn('encountered bad format: "'+re+'"'))},u.noFormat=function(Q){return String(Q)},u.numberFormat=function(Q){var re;try{re=i(u.adjustFormat(Q))}catch{return u.warnBadFormat(Q),u.noFormat}return re},u.nestedProperty=t(65487),u.keyedContainer=t(66636),u.relativeAttr=t(6962),u.isPlainObject=t(41965),u.toLogRange=t(58163),u.relinkPrivateKeys=t(51332);var o=t(73627);u.isTypedArray=o.isTypedArray,u.isArrayOrTypedArray=o.isArrayOrTypedArray,u.isArray1D=o.isArray1D,u.ensureArray=o.ensureArray,u.concat=o.concat,u.maxRowLength=o.maxRowLength,u.minRowLength=o.minRowLength;var c=t(64872);u.mod=c.mod,u.modHalf=c.modHalf;var f=t(96554);u.valObjectMeta=f.valObjectMeta,u.coerce=f.coerce,u.coerce2=f.coerce2,u.coerceFont=f.coerceFont,u.coercePattern=f.coercePattern,u.coerceHoverinfo=f.coerceHoverinfo,u.coerceSelectionMarkerOpacity=f.coerceSelectionMarkerOpacity,u.validate=f.validate;var p=t(41631);u.dateTime2ms=p.dateTime2ms,u.isDateTime=p.isDateTime,u.ms2DateTime=p.ms2DateTime,u.ms2DateTimeLocal=p.ms2DateTimeLocal,u.cleanDate=p.cleanDate,u.isJSDate=p.isJSDate,u.formatDate=p.formatDate,u.incrementMonth=p.incrementMonth,u.dateTick0=p.dateTick0,u.dfltRange=p.dfltRange,u.findExactDates=p.findExactDates,u.MIN_MS=p.MIN_MS,u.MAX_MS=p.MAX_MS;var w=t(65888);u.findBin=w.findBin,u.sorterAsc=w.sorterAsc,u.sorterDes=w.sorterDes,u.distinctVals=w.distinctVals,u.roundUp=w.roundUp,u.sort=w.sort,u.findIndexOfMin=w.findIndexOfMin,u.sortObjectKeys=t(78607);var g=t(80038);u.aggNums=g.aggNums,u.len=g.len,u.mean=g.mean,u.median=g.median,u.midRange=g.midRange,u.variance=g.variance,u.stdev=g.stdev,u.interp=g.interp;var S=t(35657);u.init2dArray=S.init2dArray,u.transposeRagged=S.transposeRagged,u.dot=S.dot,u.translationMatrix=S.translationMatrix,u.rotationMatrix=S.rotationMatrix,u.rotationXYMatrix=S.rotationXYMatrix,u.apply3DTransform=S.apply3DTransform,u.apply2DTransform=S.apply2DTransform,u.apply2DTransform2=S.apply2DTransform2,u.convertCssMatrix=S.convertCssMatrix,u.inverseTransformMatrix=S.inverseTransformMatrix;var x=t(26348);u.deg2rad=x.deg2rad,u.rad2deg=x.rad2deg,u.angleDelta=x.angleDelta,u.angleDist=x.angleDist,u.isFullCircle=x.isFullCircle,u.isAngleInsideSector=x.isAngleInsideSector,u.isPtInsideSector=x.isPtInsideSector,u.pathArc=x.pathArc,u.pathSector=x.pathSector,u.pathAnnulus=x.pathAnnulus;var T=t(99863);u.isLeftAnchor=T.isLeftAnchor,u.isCenterAnchor=T.isCenterAnchor,u.isRightAnchor=T.isRightAnchor,u.isTopAnchor=T.isTopAnchor,u.isMiddleAnchor=T.isMiddleAnchor,u.isBottomAnchor=T.isBottomAnchor;var E=t(87642);u.segmentsIntersect=E.segmentsIntersect,u.segmentDistance=E.segmentDistance,u.getTextLocation=E.getTextLocation,u.clearLocationCache=E.clearLocationCache,u.getVisibleSegment=E.getVisibleSegment,u.findPointOnPath=E.findPointOnPath;var _=t(1426);u.extendFlat=_.extendFlat,u.extendDeep=_.extendDeep,u.extendDeepAll=_.extendDeepAll,u.extendDeepNoArrays=_.extendDeepNoArrays;var A=t(47769);u.log=A.log,u.warn=A.warn,u.error=A.error;var L=t(30587);u.counterRegex=L.counter;var b=t(79990);u.throttle=b.throttle,u.throttleDone=b.done,u.clearThrottle=b.clear;var R=t(24401);function I(Q){var re={};for(var ie in Q)for(var oe=Q[ie],ue=0;ueh||Q=re)&&M(Q)&&Q>=0&&Q%1==0},u.noop=t(64213),u.identity=t(23389),u.repeat=function(Q,re){for(var ie=new Array(re),oe=0;oeie?Math.max(ie,Math.min(re,Q)):Math.max(re,Math.min(ie,Q))},u.bBoxIntersect=function(Q,re,ie){return ie=ie||0,Q.left<=re.right+ie&&re.left<=Q.right+ie&&Q.top<=re.bottom+ie&&re.top<=Q.bottom+ie},u.simpleMap=function(Q,re,ie,oe,ue){for(var ce=Q.length,ye=new Array(ce),de=0;de=Math.pow(2,ie)?ue>10?(u.warn("randstr failed uniqueness"),me):Q(re,ie,oe,(ue||0)+1):me},u.OptionControl=function(Q,re){Q||(Q={}),re||(re="opt");var ie={optionList:[],_newoption:function(oe){oe[re]=Q,ie[oe.name]=oe,ie.optionList.push(oe)}};return ie["_"+re]=Q,ie},u.smooth=function(Q,re){if((re=Math.round(re)||0)<2)return Q;var ie,oe,ue,ce,ye=Q.length,de=2*ye,me=2*re-1,pe=new Array(me),xe=new Array(ye);for(ie=0;ie=de&&(ue-=de*Math.floor(ue/de)),ue<0?ue=-1-ue:ue>=ye&&(ue=de-1-ue),ce+=Q[ue]*pe[oe];xe[ie]=ce}return xe},u.syncOrAsync=function(Q,re,ie){var oe;function ue(){return u.syncOrAsync(Q,re,ie)}for(;Q.length;)if((oe=(0,Q.splice(0,1)[0])(re))&&oe.then)return oe.then(ue);return ie&&ie(re)},u.stripTrailingSlash=function(Q){return Q.substr(-1)==="/"?Q.substr(0,Q.length-1):Q},u.noneOrAll=function(Q,re,ie){if(Q){var oe,ue=!1,ce=!0;for(oe=0;oe0?ue:0})},u.fillArray=function(Q,re,ie,oe){if(oe=oe||u.identity,u.isArrayOrTypedArray(Q))for(var ue=0;ue1?ue+ye[1]:"";if(ce&&(ye.length>1||de.length>4||ie))for(;oe.test(de);)de=de.replace(oe,"$1"+ce+"$2");return de+me},u.TEMPLATE_STRING_REGEX=/%{([^\s%{}:]*)([:|\|][^}]*)?}/g;var W=/^\w*$/;u.templateString=function(Q,re){var ie={};return Q.replace(u.TEMPLATE_STRING_REGEX,function(oe,ue){var ce;return W.test(ue)?ce=re[ue]:(ie[ue]=ie[ue]||u.nestedProperty(re,ue).get,ce=ie[ue]()),u.isValidTextValue(ce)?ce:""})};var j={max:10,count:0,name:"hovertemplate"};u.hovertemplateString=function(){return ne.apply(j,arguments)};var Y={max:10,count:0,name:"texttemplate"};u.texttemplateString=function(){return ne.apply(Y,arguments)};var U=/^(\S+)([\*\/])(-?\d+(\.\d+)?)$/;function G(Q){var re=Q.match(U);return re?{key:re[1],op:re[2],number:Number(re[3])}:{key:Q,op:null,number:null}}var q={max:10,count:0,name:"texttemplate",parseMultDiv:!0};u.texttemplateStringForShapes=function(){return ne.apply(q,arguments)};var H=/^[:|\|]/;function ne(Q,re,ie){var oe=this,ue=arguments;re||(re={});var ce={};return Q.replace(u.TEMPLATE_STRING_REGEX,function(ye,de,me){var pe=de==="_xother"||de==="_yother",xe=de==="_xother_"||de==="_yother_",Pe=de==="xother_"||de==="yother_",_e=de==="xother"||de==="yother"||pe||Pe||xe,Me=de;(pe||xe)&&(Me=Me.substring(1)),(Pe||xe)&&(Me=Me.substring(0,Me.length-1));var Se,Ce,ae,he=null,be=null;if(oe.parseMultDiv){var ke=G(Me);Me=ke.key,he=ke.op,be=ke.number}if(_e){if((Se=re[Me])===void 0)return""}else for(ae=3;ae=48&&ye<=57,pe=de>=48&&de<=57;if(me&&(oe=10*oe+ye-48),pe&&(ue=10*ue+de-48),!me||!pe){if(oe!==ue)return oe-ue;if(ye!==de)return ye-de}}return ue-oe};var te=2e9;u.seedPseudoRandom=function(){te=2e9},u.pseudoRandom=function(){var Q=te;return te=(69069*te+1)%4294967296,Math.abs(te-Q)<429496729?u.pseudoRandom():te/4294967296},u.fillText=function(Q,re,ie){var oe=Array.isArray(ie)?function(ye){ie.push(ye)}:function(ye){ie.text=ye},ue=u.extractOption(Q,re,"htx","hovertext");if(u.isValidTextValue(ue))return oe(ue);var ce=u.extractOption(Q,re,"tx","text");return u.isValidTextValue(ce)?oe(ce):void 0},u.isValidTextValue=function(Q){return Q||Q===0},u.formatPercent=function(Q,re){re=re||0;for(var ie=(Math.round(100*Q*Math.pow(10,re))*Math.pow(.1,re)).toFixed(re)+"%",oe=0;oe1&&(pe=1):pe=0,u.strTranslate(ue-pe*(ie+ye),ce-pe*(oe+de))+u.strScale(pe)+(me?"rotate("+me+(re?"":" "+ie+" "+oe)+")":"")},u.setTransormAndDisplay=function(Q,re){Q.attr("transform",u.getTextTransform(re)),Q.style("display",re.scale?null:"none")},u.ensureUniformFontSize=function(Q,re){var ie=u.extendFlat({},re);return ie.size=Math.max(re.size,Q._fullLayout.uniformtext.minsize||0),ie},u.join2=function(Q,re,ie){var oe=Q.length;return oe>1?Q.slice(0,-1).join(re)+ie+Q[oe-1]:Q.join(re)},u.bigFont=function(Q){return Math.round(1.2*Q)};var Z=u.getFirefoxVersion(),X=Z!==null&&Z<86;u.getPositionFromD3Event=function(){return X?[d.event.layerX,d.event.layerY]:[d.event.offsetX,d.event.offsetY]}},41965:function(k){k.exports=function(m){return window&&window.process&&window.process.versions?Object.prototype.toString.call(m)==="[object Object]":Object.prototype.toString.call(m)==="[object Object]"&&Object.getPrototypeOf(m).hasOwnProperty("hasOwnProperty")}},66636:function(k,m,t){var d=t(65487),y=/^\w*$/;k.exports=function(i,M,v,h){var l,a,u;v=v||"name",h=h||"value";var s={};M&&M.length?(u=d(i,M),a=u.get()):a=i,M=M||"";var o={};if(a)for(l=0;l2)return s[w]=2|s[w],f.set(p,null);if(c){for(l=w;l1){var v=["LOG:"];for(M=0;M1){var h=[];for(M=0;M"),"long")}},i.warn=function(){var M;if(d.logging>0){var v=["WARN:"];for(M=0;M0){var h=[];for(M=0;M"),"stick")}},i.error=function(){var M;if(d.logging>0){var v=["ERROR:"];for(M=0;M0){var h=[];for(M=0;M"),"stick")}}},77310:function(k,m,t){var d=t(39898);k.exports=function(y,i,M){var v=y.selectAll("g."+M.replace(/\s/g,".")).data(i,function(l){return l[0].trace.uid});v.exit().remove(),v.enter().append("g").attr("class",M),v.order();var h=y.classed("rangeplot")?"nodeRangePlot3":"node3";return v.each(function(l){l[0][h]=d.select(this)}),v}},35657:function(k,m,t){var d=t(79576);m.init2dArray=function(y,i){for(var M=new Array(y),v=0;vt/2?m-Math.round(m/t)*t:m}}},65487:function(k,m,t){var d=t(92770),y=t(73627).isArrayOrTypedArray;function i(s,o){return function(){var c,f,p,w,g,S=s;for(w=0;w/g),f=0;fa||x===y||xs||g&&o(w))}:function(w,g){var S=w[0],x=w[1];if(S===y||Sa||x===y||xs)return!1;var T,E,_,A,L,b=h.length,R=h[0][0],I=h[0][1],O=0;for(T=1;TMath.max(E,R)||x>Math.max(_,I)))if(xf||Math.abs(d(u,w))>l)return!0;return!1},i.filter=function(M,v){var h=[M[0]],l=0,a=0;function u(s){M.push(s);var o=h.length,c=l;h.splice(a+1);for(var f=c+1;f1&&u(M.pop()),{addPt:u,raw:M,filtered:h}}},79749:function(k,m,t){var d=t(58617),y=t(98580);k.exports=function(i,M,v){var h=i._fullLayout,l=!0;return h._glcanvas.each(function(a){if(a.regl)a.regl.preloadCachedCode(v);else if(!a.pick||h._has("parcoords")){try{a.regl=y({canvas:this,attributes:{antialias:!a.pick,preserveDrawingBuffer:!0},pixelRatio:i._context.plotGlPixelRatio||t.g.devicePixelRatio,extensions:M||[],cachedCode:v||{}})}catch{l=!1}a.regl||(l=!1),l&&this.addEventListener("webglcontextlost",function(u){i&&i.emit&&i.emit("plotly_webglcontextlost",{event:u,layer:a.key})},!1)}}),l||d({container:h._glcontainer.node()}),l}},45142:function(k,m,t){var d=t(92770),y=t(35791);k.exports=function(i){var M;if(typeof(M=i&&i.hasOwnProperty("userAgent")?i.userAgent:function(){var o;return typeof navigator<"u"&&(o=navigator.userAgent),o&&o.headers&&typeof o.headers["user-agent"]=="string"&&(o=o.headers["user-agent"]),o}())!="string")return!0;var v=y({ua:{headers:{"user-agent":M}},tablet:!0,featureDetect:!1});if(!v){for(var h=M.split(" "),l=1;l-1;a--){var u=h[a];if(u.substr(0,8)==="Version/"){var s=u.substr(8).split(".")[0];if(d(s)&&(s=+s),s>=13)return!0}}}return v}},75138:function(k){k.exports=function(m,t){if(t instanceof RegExp){for(var d=t.toString(),y=0;yy.queueLength&&(M.undoQueue.queue.shift(),M.undoQueue.index--))},startSequence:function(M){M.undoQueue=M.undoQueue||{index:0,queue:[],sequence:!1},M.undoQueue.sequence=!0,M.undoQueue.beginSequence=!0},stopSequence:function(M){M.undoQueue=M.undoQueue||{index:0,queue:[],sequence:!1},M.undoQueue.sequence=!1,M.undoQueue.beginSequence=!1},undo:function(M){var v,h;if(!(M.undoQueue===void 0||isNaN(M.undoQueue.index)||M.undoQueue.index<=0)){for(M.undoQueue.index--,v=M.undoQueue.queue[M.undoQueue.index],M.undoQueue.inSequence=!0,h=0;h=M.undoQueue.queue.length)){for(v=M.undoQueue.queue[M.undoQueue.index],M.undoQueue.inSequence=!0,h=0;ho}function u(s,o){return s>=o}m.findBin=function(s,o,c){if(d(o.start))return c?Math.ceil((s-o.start)/o.size-v)-1:Math.floor((s-o.start)/o.size+v);var f,p,w=0,g=o.length,S=0,x=g>1?(o[g-1]-o[0])/(g-1):1;for(p=x>=0?c?h:l:c?u:a,s+=x*v*(c?-1:1)*(x>=0?1:-1);w90&&y.log("Long binary search..."),w-1},m.sorterAsc=function(s,o){return s-o},m.sorterDes=function(s,o){return o-s},m.distinctVals=function(s){var o,c=s.slice();for(c.sort(m.sorterAsc),o=c.length-1;o>-1&&c[o]===M;o--);for(var f,p=c[o]-c[0]||1,w=p/(o||1)/1e4,g=[],S=0;S<=o;S++){var x=c[S],T=x-f;f===void 0?(g.push(x),f=x):T>w&&(p=Math.min(p,T),g.push(x),f=x)}return{vals:g,minDiff:p}},m.roundUp=function(s,o,c){for(var f,p=0,w=o.length-1,g=0,S=c?0:1,x=c?1:0,T=c?Math.ceil:Math.floor;p0&&(f=1),c&&f)return s.sort(o)}return f?s:s.reverse()},m.findIndexOfMin=function(s,o){o=o||i;for(var c,f=1/0,p=0;pv.length)&&(h=v.length),d(M)||(M=!1),y(v[0])){for(a=new Array(h),l=0;li.length-1)return i[i.length-1];var v=M%1;return v*i[Math.ceil(M)]+(1-v)*i[Math.floor(M)]}},78614:function(k,m,t){var d=t(25075);k.exports=function(y){return y?d(y):[0,0,0,1]}},63893:function(k,m,t){var d=t(39898),y=t(71828),i=y.strTranslate,M=t(77922),v=t(18783).LINE_SPACING,h=/([^$]*)([$]+[^$]*[$]+)([^$]*)/;m.convertToTspans=function(N,W,j){var Y=N.text(),U=!N.attr("data-notex")&&W&&W._context.typesetMath&&typeof MathJax<"u"&&Y.match(h),G=d.select(N.node().parentNode);if(!G.empty()){var q=N.attr("class")?N.attr("class").split(" ")[0]:"text";return q+="-math",G.selectAll("svg."+q).remove(),G.selectAll("g."+q+"-group").remove(),N.style("display",null).attr({"data-unformatted":Y,"data-math":"N"}),U?(W&&W._promises||[]).push(new Promise(function(ne){N.style("display","none");var te=parseInt(N.node().style.fontSize,10),Z={fontSize:te};(function(X,Q,re){var ie,oe,ue,ce,ye=parseInt((MathJax.version||"").split(".")[0]);if(ye===2||ye===3){var de=function(){var pe="math-output-"+y.randstr({},64),xe=(ce=d.select("body").append("div").attr({id:pe}).style({visibility:"hidden",position:"absolute","font-size":Q.fontSize+"px"}).text(X.replace(l,"\\lt ").replace(a,"\\gt "))).node();return ye===2?MathJax.Hub.Typeset(xe):MathJax.typeset([xe])},me=function(){var pe=ce.select(ye===2?".MathJax_SVG":".MathJax"),xe=!pe.empty()&&ce.select("svg").node();if(xe){var Pe,_e=xe.getBoundingClientRect();Pe=ye===2?d.select("body").select("#MathJax_SVG_glyphs"):pe.select("defs"),re(pe,Pe,_e)}else y.log("There was an error in the tex syntax.",X),re();ce.remove()};ye===2?MathJax.Hub.Queue(function(){return oe=y.extendDeepAll({},MathJax.Hub.config),ue=MathJax.Hub.processSectionDelay,MathJax.Hub.processSectionDelay!==void 0&&(MathJax.Hub.processSectionDelay=0),MathJax.Hub.Config({messageStyle:"none",tex2jax:{inlineMath:u},displayAlign:"left"})},function(){if((ie=MathJax.Hub.config.menuSettings.renderer)!=="SVG")return MathJax.Hub.setRenderer("SVG")},de,me,function(){if(ie!=="SVG")return MathJax.Hub.setRenderer(ie)},function(){return ue!==void 0&&(MathJax.Hub.processSectionDelay=ue),MathJax.Hub.Config(oe)}):ye===3&&(oe=y.extendDeepAll({},MathJax.config),MathJax.config.tex||(MathJax.config.tex={}),MathJax.config.tex.inlineMath=u,(ie=MathJax.config.startup.output)!=="svg"&&(MathJax.config.startup.output="svg"),MathJax.startup.defaultReady(),MathJax.startup.promise.then(function(){de(),me(),ie!=="svg"&&(MathJax.config.startup.output=ie),MathJax.config=oe}))}else y.warn("No MathJax version:",MathJax.version)})(U[2],Z,function(X,Q,re){G.selectAll("svg."+q).remove(),G.selectAll("g."+q+"-group").remove();var ie=X&&X.select("svg");if(!ie||!ie.node())return H(),void ne();var oe=G.append("g").classed(q+"-group",!0).attr({"pointer-events":"none","data-unformatted":Y,"data-math":"Y"});oe.node().appendChild(ie.node()),Q&&Q.node()&&ie.node().insertBefore(Q.node().cloneNode(!0),ie.node().firstChild);var ue=re.width,ce=re.height;ie.attr({class:q,height:ce,preserveAspectRatio:"xMinYMin meet"}).style({overflow:"visible","pointer-events":"none"});var ye=N.node().style.fill||"black",de=ie.select("g");de.attr({fill:ye,stroke:ye});var me=de.node().getBoundingClientRect(),pe=me.width,xe=me.height;(pe>ue||xe>ce)&&(ie.style("overflow","hidden"),pe=(me=ie.node().getBoundingClientRect()).width,xe=me.height);var Pe=+N.attr("x"),_e=+N.attr("y"),Me=-(te||N.node().getBoundingClientRect().height)/4;if(q[0]==="y")oe.attr({transform:"rotate("+[-90,Pe,_e]+")"+i(-pe/2,Me-xe/2)});else if(q[0]==="l")_e=Me-xe/2;else if(q[0]==="a"&&q.indexOf("atitle")!==0)Pe=0,_e=Me;else{var Se=N.attr("text-anchor");Pe-=pe*(Se==="middle"?.5:Se==="end"?1:0),_e=_e+Me-xe/2}ie.attr({x:Pe,y:_e}),j&&j.call(N,oe),ne(oe)})})):H(),N}function H(){G.empty()||(q=N.attr("class")+"-math",G.select("svg."+q).remove()),N.text("").style("white-space","pre");var ne=function(te,Z){Z=Z.replace(w," ");var X,Q=!1,re=[],ie=-1;function oe(){ie++;var be=document.createElementNS(M.svg,"tspan");d.select(be).attr({class:"line",dy:ie*v+"em"}),te.appendChild(be),X=be;var ke=re;if(re=[{node:be}],ke.length>1)for(var Le=1;Le doesnt match end tag <"+be+">. Pretending it did match.",Z),X=re[re.length-1].node}else y.log("Ignoring unexpected end tag .",Z)}x.test(Z)?oe():(X=te,re=[{node:te}]);for(var de=Z.split(g),me=0;me|>|>)/g,u=[["$","$"],["\\(","\\)"]],s={sup:"font-size:70%",sub:"font-size:70%",b:"font-weight:bold",i:"font-style:italic",a:"cursor:pointer",span:"",em:"font-style:italic;font-weight:bold"},o={sub:"0.3em",sup:"-0.6em"},c={sub:"-0.21em",sup:"0.42em"},f="​",p=["http:","https:","mailto:","",void 0,":"],w=m.NEWLINES=/(\r\n?|\n)/g,g=/(<[^<>]*>)/,S=/<(\/?)([^ >]*)(\s+(.*))?>/i,x=//i;m.BR_TAG_ALL=//gi;var T=/(^|[\s"'])style\s*=\s*("([^"]*);?"|'([^']*);?')/i,E=/(^|[\s"'])href\s*=\s*("([^"]*)"|'([^']*)')/i,_=/(^|[\s"'])target\s*=\s*("([^"\s]*)"|'([^'\s]*)')/i,A=/(^|[\s"'])popup\s*=\s*("([\w=,]*)"|'([\w=,]*)')/i;function L(N,W){if(!N)return null;var j=N.match(W),Y=j&&(j[3]||j[4]);return Y&&O(Y)}var b=/(^|;)\s*color:/;m.plainText=function(N,W){for(var j=(W=W||{}).len!==void 0&&W.len!==-1?W.len:1/0,Y=W.allowedTags!==void 0?W.allowedTags:["br"],U=3,G=N.split(g),q=[],H="",ne=0,te=0;teU?q.push(Z.substr(0,ie-U)+"..."):q.push(Z.substr(0,ie));break}H=""}}return q.join("")};var R={mu:"μ",amp:"&",lt:"<",gt:">",nbsp:" ",times:"×",plusmn:"±",deg:"°"},I=/&(#\d+|#x[\da-fA-F]+|[a-z]+);/g;function O(N){return N.replace(I,function(W,j){return(j.charAt(0)==="#"?function(Y){if(!(Y>1114111)){var U=String.fromCodePoint;if(U)return U(Y);var G=String.fromCharCode;return Y<=65535?G(Y):G(55232+(Y>>10),Y%1024+56320)}}(j.charAt(1)==="x"?parseInt(j.substr(2),16):parseInt(j.substr(1),10)):R[j])||W})}function z(N){var W=encodeURI(decodeURI(N)),j=document.createElement("a"),Y=document.createElement("a");j.href=N,Y.href=W;var U=j.protocol,G=Y.protocol;return p.indexOf(U)!==-1&&p.indexOf(G)!==-1?W:""}function F(N,W,j){var Y,U,G,q=j.horizontalAlign,H=j.verticalAlign||"top",ne=N.node().getBoundingClientRect(),te=W.node().getBoundingClientRect();return U=H==="bottom"?function(){return ne.bottom-Y.height}:H==="middle"?function(){return ne.top+(ne.height-Y.height)/2}:function(){return ne.top},G=q==="right"?function(){return ne.right-Y.width}:q==="center"?function(){return ne.left+(ne.width-Y.width)/2}:function(){return ne.left},function(){Y=this.node().getBoundingClientRect();var Z=G()-te.left,X=U()-te.top,Q=j.gd||{};if(j.gd){Q._fullLayout._calcInverseTransform(Q);var re=y.apply3DTransform(Q._fullLayout._invTransform)(Z,X);Z=re[0],X=re[1]}return this.style({top:X+"px",left:Z+"px","z-index":1e3}),this}}m.convertEntities=O,m.sanitizeHTML=function(N){N=N.replace(w," ");for(var W=document.createElement("p"),j=W,Y=[],U=N.split(g),G=0;Gv.ts+i?a():v.timer=setTimeout(function(){a(),v.timer=null},i)},m.done=function(y){var i=t[y];return i&&i.timer?new Promise(function(M){var v=i.onDone;i.onDone=function(){v&&v(),M(),i.onDone=null}}):Promise.resolve()},m.clear=function(y){if(y)d(t[y]),delete t[y];else for(var i in t)m.clear(i)}},58163:function(k,m,t){var d=t(92770);k.exports=function(y,i){if(y>0)return Math.log(y)/Math.LN10;var M=Math.log(Math.min(i[0],i[1]))/Math.LN10;return d(M)||(M=Math.log(Math.max(i[0],i[1]))/Math.LN10-6),M}},90973:function(k,m,t){var d=k.exports={},y=t(78776).locationmodeToLayer,i=t(96892).zL;d.getTopojsonName=function(M){return[M.scope.replace(/ /g,"-"),"_",M.resolution.toString(),"m"].join("")},d.getTopojsonPath=function(M,v){return M+v+".json"},d.getTopojsonFeatures=function(M,v){var h=y[M.locationmode],l=v.objects[h];return i(v,l).features}},37815:function(k){k.exports={moduleType:"locale",name:"en-US",dictionary:{"Click to enter Colorscale title":"Click to enter Colorscale title"},format:{date:"%m/%d/%Y"}}},92177:function(k){k.exports={moduleType:"locale",name:"en",dictionary:{"Click to enter Colorscale title":"Click to enter Colourscale title"},format:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],periods:["AM","PM"],dateTime:"%a %b %e %X %Y",date:"%d/%m/%Y",time:"%H:%M:%S",decimal:".",thousands:",",grouping:[3],currency:["$",""],year:"%Y",month:"%b %Y",dayMonth:"%b %-d",dayMonthYear:"%b %-d, %Y"}}},14458:function(k,m,t){var d=t(73972);k.exports=function(y){for(var i,M,v=d.layoutArrayContainers,h=d.layoutArrayRegexes,l=y.split("[")[0],a=0;a0&&M.log("Clearing previous rejected promises from queue."),E._promises=[]},m.cleanLayout=function(E){var _,A;E||(E={}),E.xaxis1&&(E.xaxis||(E.xaxis=E.xaxis1),delete E.xaxis1),E.yaxis1&&(E.yaxis||(E.yaxis=E.yaxis1),delete E.yaxis1),E.scene1&&(E.scene||(E.scene=E.scene1),delete E.scene1);var L=(v.subplotsRegistry.cartesian||{}).attrRegex,b=(v.subplotsRegistry.polar||{}).attrRegex,R=(v.subplotsRegistry.ternary||{}).attrRegex,I=(v.subplotsRegistry.gl3d||{}).attrRegex,O=Object.keys(E);for(_=0;_3?(re.x=1.02,re.xanchor="left"):re.x<-2&&(re.x=-.02,re.xanchor="right"),re.y>3?(re.y=1.02,re.yanchor="bottom"):re.y<-2&&(re.y=-.02,re.yanchor="top")),c(E),E.dragmode==="rotate"&&(E.dragmode="orbit"),l.clean(E),E.template&&E.template.layout&&m.cleanLayout(E.template.layout),E},m.cleanData=function(E){for(var _=0;_0)return E.substr(0,_)}m.hasParent=function(E,_){for(var A=x(_);A;){if(A in E)return!0;A=x(A)}return!1};var T=["x","y","z"];m.clearAxisTypes=function(E,_,A){for(var L=0;L<_.length;L++)for(var b=E._fullData[L],R=0;R<3;R++){var I=u(E,b,T[R]);if(I&&I.type!=="log"){var O=I._name,z=I._id.substr(1);if(z.substr(0,5)==="scene"){if(A[z]!==void 0)continue;O=z+"."+O}var F=O+".type";A[O]===void 0&&A[F]===void 0&&M.nestedProperty(E.layout,F).set(null)}}}},10641:function(k,m,t){var d=t(72391);m._doPlot=d._doPlot,m.newPlot=d.newPlot,m.restyle=d.restyle,m.relayout=d.relayout,m.redraw=d.redraw,m.update=d.update,m._guiRestyle=d._guiRestyle,m._guiRelayout=d._guiRelayout,m._guiUpdate=d._guiUpdate,m._storeDirectGUIEdit=d._storeDirectGUIEdit,m.react=d.react,m.extendTraces=d.extendTraces,m.prependTraces=d.prependTraces,m.addTraces=d.addTraces,m.deleteTraces=d.deleteTraces,m.moveTraces=d.moveTraces,m.purge=d.purge,m.addFrames=d.addFrames,m.deleteFrames=d.deleteFrames,m.animate=d.animate,m.setPlotConfig=d.setPlotConfig,m.toImage=t(403),m.validate=t(84936),m.downloadImage=t(7239);var y=t(96318);m.makeTemplate=y.makeTemplate,m.validateTemplate=y.validateTemplate},6611:function(k,m,t){var d=t(41965),y=t(64213),i=t(47769),M=t(65888).sorterAsc,v=t(73972);m.containerArrayMatch=t(14458);var h=m.isAddVal=function(a){return a==="add"||d(a)},l=m.isRemoveVal=function(a){return a===null||a==="remove"};m.applyContainerArrayChanges=function(a,u,s,o,c){var f=u.astr,p=v.getComponentMethod(f,"supplyLayoutDefaults"),w=v.getComponentMethod(f,"draw"),g=v.getComponentMethod(f,"drawOne"),S=o.replot||o.recalc||p===y||w===y,x=a.layout,T=a._fullLayout;if(s[""]){Object.keys(s).length>1&&i.warn("Full array edits are incompatible with other edits",f);var E=s[""][""];if(l(E))u.set(null);else{if(!Array.isArray(E))return i.warn("Unrecognized full array edit value",f,E),!0;u.set(E)}return!S&&(p(x,T),w(a),!0)}var _,A,L,b,R,I,O,z,F=Object.keys(s).map(Number).sort(M),B=u.get(),N=B||[],W=c(T,f).get(),j=[],Y=-1,U=N.length;for(_=0;_N.length-(O?0:1))i.warn("index out of range",f,L);else if(I!==void 0)R.length>1&&i.warn("Insertion & removal are incompatible with edits to the same index.",f,L),l(I)?j.push(L):O?(I==="add"&&(I={}),N.splice(L,0,I),W&&W.splice(L,0,{})):i.warn("Unrecognized full object edit value",f,L,I),Y===-1&&(Y=L);else for(A=0;A=0;_--)N.splice(j[_],1),W&&W.splice(j[_],1);if(N.length?B||u.set(N):u.set(null),S)return!1;if(p(x,T),g!==y){var G;if(Y===-1)G=F;else{for(U=Math.max(N.length,U),G=[],_=0;_=Y);_++)G.push(L);for(_=Y;_=ae.data.length||Le<-ae.data.length)throw new Error(be+" must be valid indices for gd.data.");if(he.indexOf(Le,ke+1)>-1||Le>=0&&he.indexOf(-ae.data.length+Le)>-1||Le<0&&he.indexOf(ae.data.length+Le)>-1)throw new Error("each index in "+be+" must be unique.")}}function B(ae,he,be){if(!Array.isArray(ae.data))throw new Error("gd.data must be an array.");if(he===void 0)throw new Error("currentIndices is a required argument.");if(Array.isArray(he)||(he=[he]),F(ae,he,"currentIndices"),be===void 0||Array.isArray(be)||(be=[be]),be!==void 0&&F(ae,be,"newIndices"),be!==void 0&&he.length!==be.length)throw new Error("current and new indices must be of equal length.")}function N(ae,he,be,ke,Le){(function(Ye,$e,st,ot){var ft=M.isPlainObject(ot);if(!Array.isArray(Ye.data))throw new Error("gd.data must be an array");if(!M.isPlainObject($e))throw new Error("update must be a key:value object");if(st===void 0)throw new Error("indices must be an integer or array of integers");for(var bt in F(Ye,st,"indices"),$e){if(!Array.isArray($e[bt])||$e[bt].length!==st.length)throw new Error("attribute "+bt+" must be an array of length equal to indices array length");if(ft&&(!(bt in ot)||!Array.isArray(ot[bt])||ot[bt].length!==$e[bt].length))throw new Error("when maxPoints is set as a key:value object it must contain a 1:1 corrispondence with the keys and number of traces in the update object")}})(ae,he,be,ke);for(var Be=function(Ye,$e,st,ot){var ft,bt,Et,kt,xt,Ft=M.isPlainObject(ot),Ot=[];for(var Bt in Array.isArray(st)||(st=[st]),st=z(st,Ye.data.length-1),$e)for(var qt=0;qt-1&&be.indexOf("grouptitlefont")===-1?je(be,be.replace("titlefont","title.font")):be.indexOf("titleposition")>-1?je(be,be.replace("titleposition","title.position")):be.indexOf("titleside")>-1?je(be,be.replace("titleside","title.side")):be.indexOf("titleoffset")>-1&&je(be,be.replace("titleoffset","title.offset")):je(be,be.replace("title","title.text"));function je(ge,we){ae[we]=ae[ge],delete ae[ge]}}function ne(ae,he,be){ae=M.getGraphDiv(ae),T.clearPromiseQueue(ae);var ke={};if(typeof he=="string")ke[he]=be;else{if(!M.isPlainObject(he))return M.warn("Relayout fail.",he,be),Promise.reject();ke=M.extendFlat({},he)}Object.keys(ke).length&&(ae.changed=!0);var Le=ie(ae,ke),Be=Le.flags;Be.calc&&(ae.calcdata=void 0);var ze=[s.previousPromises];Be.layoutReplot?ze.push(E.layoutReplot):Object.keys(ke).length&&(te(ae,Be,Le)||s.supplyDefaults(ae),Be.legend&&ze.push(E.doLegend),Be.layoutstyle&&ze.push(E.layoutStyles),Be.axrange&&Z(ze,Le.rangesAltered),Be.ticks&&ze.push(E.doTicksRelayout),Be.modebar&&ze.push(E.doModeBar),Be.camera&&ze.push(E.doCamera),Be.colorbars&&ze.push(E.doColorBars),ze.push(b)),ze.push(s.rehover,s.redrag,s.reselect),l.add(ae,ne,[ae,Le.undoit],ne,[ae,Le.redoit]);var je=M.syncOrAsync(ze,ae);return je&&je.then||(je=Promise.resolve(ae)),je.then(function(){return ae.emit("plotly_relayout",Le.eventData),ae})}function te(ae,he,be){var ke=ae._fullLayout;if(!he.axrange)return!1;for(var Le in he)if(Le!=="axrange"&&he[Le])return!1;for(var Be in be.rangesAltered){var ze=o.id2name(Be),je=ae.layout[ze],ge=ke[ze];if(ge.autorange=je.autorange,je.range&&(ge.range=je.range.slice()),ge.cleanRange(),ge._matchGroup){for(var we in ge._matchGroup)if(we!==Be){var Ee=ke[o.id2name(we)];Ee.autorange=ge.autorange,Ee.range=ge.range.slice(),Ee._input.range=ge.range.slice()}}}return!0}function Z(ae,he){var be=he?function(ke){var Le=[];for(var Be in he){var ze=o.getFromId(ke,Be);if(Le.push(Be),(ze.ticklabelposition||"").indexOf("inside")!==-1&&ze._anchorAxis&&Le.push(ze._anchorAxis._id),ze._matchGroup)for(var je in ze._matchGroup)he[je]||Le.push(je)}return o.draw(ke,Le,{skipTitle:!0})}:function(ke){return o.draw(ke,"redraw")};ae.push(g,E.doAutoRangeAndConstraints,be,E.drawData,E.finalDraw)}var X=/^[xyz]axis[0-9]*\.range(\[[0|1]\])?$/,Q=/^[xyz]axis[0-9]*\.autorange$/,re=/^[xyz]axis[0-9]*\.domain(\[[0|1]\])?$/;function ie(ae,he){var be,ke,Le,Be=ae.layout,ze=ae._fullLayout,je=ze._guiEditing,ge=U(ze._preGUI,je),we=Object.keys(he),Ee=o.list(ae),Ve=M.extendDeepAll({},he),Ye={};for(H(he),we=Object.keys(he),ke=0;ke0&&typeof qt.parts[Ke]!="string";)Ke--;var Je=qt.parts[Ke],qe=qt.parts[Ke-1]+"."+Je,nt=qt.parts.slice(0,Ke).join("."),ht=v(ae.layout,nt).get(),Re=v(ze,nt).get(),Ne=qt.get();if(Vt!==void 0){bt[Bt]=Vt,Et[Bt]=Je==="reverse"?Vt:Y(Ne);var Qe=u.getLayoutValObject(ze,qt.parts);if(Qe&&Qe.impliedEdits&&Vt!==null)for(var ut in Qe.impliedEdits)kt(M.relativeAttr(Bt,ut),Qe.impliedEdits[ut]);if(["width","height"].indexOf(Bt)!==-1)if(Vt){kt("autosize",null);var dt=Bt==="height"?"width":"height";kt(dt,ze[dt])}else ze[Bt]=ae._initialAutoSize[Bt];else if(Bt==="autosize")kt("width",Vt?null:ze.width),kt("height",Vt?null:ze.height);else if(qe.match(X))Ot(qe),v(ze,nt+"._inputRange").set(null);else if(qe.match(Q)){Ot(qe),v(ze,nt+"._inputRange").set(null);var _t=v(ze,nt).get();_t._inputDomain&&(_t._input.domain=_t._inputDomain.slice())}else qe.match(re)&&v(ze,nt+"._inputDomain").set(null);if(Je==="type"){xt=ht;var It=Re.type==="linear"&&Vt==="log",Lt=Re.type==="log"&&Vt==="linear";if(It||Lt){if(xt&&xt.range)if(Re.autorange)It&&(xt.range=xt.range[1]>xt.range[0]?[1,2]:[2,1]);else{var yt=xt.range[0],Pt=xt.range[1];It?(yt<=0&&Pt<=0&&kt(nt+".autorange",!0),yt<=0?yt=Pt/1e6:Pt<=0&&(Pt=yt/1e6),kt(nt+".range[0]",Math.log(yt)/Math.LN10),kt(nt+".range[1]",Math.log(Pt)/Math.LN10)):(kt(nt+".range[0]",Math.pow(10,yt)),kt(nt+".range[1]",Math.pow(10,Pt)))}else kt(nt+".autorange",!0);Array.isArray(ze._subplots.polar)&&ze._subplots.polar.length&&ze[qt.parts[0]]&&qt.parts[1]==="radialaxis"&&delete ze[qt.parts[0]]._subplot.viewInitial["radialaxis.range"],a.getComponentMethod("annotations","convertCoords")(ae,Re,Vt,kt),a.getComponentMethod("images","convertCoords")(ae,Re,Vt,kt)}else kt(nt+".autorange",!0),kt(nt+".range",null);v(ze,nt+"._inputRange").set(null)}else if(Je.match(A)){var wt=v(ze,Bt).get(),Rt=(Vt||{}).type;Rt&&Rt!=="-"||(Rt="linear"),a.getComponentMethod("annotations","convertCoords")(ae,wt,Rt,kt),a.getComponentMethod("images","convertCoords")(ae,wt,Rt,kt)}var Nt=x.containerArrayMatch(Bt);if(Nt){be=Nt.array,ke=Nt.index;var $t=Nt.property,Wt=Qe||{editType:"calc"};ke!==""&&$t===""&&(x.isAddVal(Vt)?Et[Bt]=null:x.isRemoveVal(Vt)?Et[Bt]=(v(Be,be).get()||[])[ke]:M.warn("unrecognized full object value",he)),_.update(ft,Wt),Ye[be]||(Ye[be]={});var Xt=Ye[be][ke];Xt||(Xt=Ye[be][ke]={}),Xt[$t]=Vt,delete he[Bt]}else Je==="reverse"?(ht.range?ht.range.reverse():(kt(nt+".autorange",!0),ht.range=[1,0]),Re.autorange?ft.calc=!0:ft.plot=!0):(Bt==="dragmode"&&(Vt===!1&&Ne!==!1||Vt!==!1&&Ne===!1)||ze._has("scatter-like")&&ze._has("regl")&&Bt==="dragmode"&&(Vt==="lasso"||Vt==="select")&&Ne!=="lasso"&&Ne!=="select"||ze._has("gl2d")?ft.plot=!0:Qe?_.update(ft,Qe):ft.calc=!0,qt.set(Vt))}}for(be in Ye)x.applyContainerArrayChanges(ae,ge(Be,be),Ye[be],ft,ge)||(ft.plot=!0);for(var Qt in Ft){var rn=(xt=o.getFromId(ae,Qt))&&xt._constraintGroup;if(rn)for(var xn in ft.calc=!0,rn)Ft[xn]||(o.getFromId(ae,xn)._constraintShrinkable=!0)}return(oe(ae)||he.height||he.width)&&(ft.plot=!0),(ft.plot||ft.calc)&&(ft.layoutReplot=!0),{flags:ft,rangesAltered:Ft,undoit:Et,redoit:bt,eventData:Ve}}function oe(ae){var he=ae._fullLayout,be=he.width,ke=he.height;return ae.layout.autosize&&s.plotAutoSize(ae,ae.layout,he),he.width!==be||he.height!==ke}function ue(ae,he,be,ke){ae=M.getGraphDiv(ae),T.clearPromiseQueue(ae),M.isPlainObject(he)||(he={}),M.isPlainObject(be)||(be={}),Object.keys(he).length&&(ae.changed=!0),Object.keys(be).length&&(ae.changed=!0);var Le=T.coerceTraceIndices(ae,ke),Be=q(ae,M.extendFlat({},he),Le),ze=Be.flags,je=ie(ae,M.extendFlat({},be)),ge=je.flags;(ze.calc||ge.calc)&&(ae.calcdata=void 0),ze.clearAxisTypes&&T.clearAxisTypes(ae,Le,be);var we=[];ge.layoutReplot?we.push(E.layoutReplot):ze.fullReplot?we.push(m._doPlot):(we.push(s.previousPromises),te(ae,ge,je)||s.supplyDefaults(ae),ze.style&&we.push(E.doTraceStyle),(ze.colorbars||ge.colorbars)&&we.push(E.doColorBars),ge.legend&&we.push(E.doLegend),ge.layoutstyle&&we.push(E.layoutStyles),ge.axrange&&Z(we,je.rangesAltered),ge.ticks&&we.push(E.doTicksRelayout),ge.modebar&&we.push(E.doModeBar),ge.camera&&we.push(E.doCamera),we.push(b)),we.push(s.rehover,s.redrag,s.reselect),l.add(ae,ue,[ae,Be.undoit,je.undoit,Be.traces],ue,[ae,Be.redoit,je.redoit,Be.traces]);var Ee=M.syncOrAsync(we,ae);return Ee&&Ee.then||(Ee=Promise.resolve(ae)),Ee.then(function(){return ae.emit("plotly_update",{data:Be.eventData,layout:je.eventData}),ae})}function ce(ae){return function(he){he._fullLayout._guiEditing=!0;var be=ae.apply(null,arguments);return he._fullLayout._guiEditing=!1,be}}var ye=[{pattern:/^hiddenlabels/,attr:"legend.uirevision"},{pattern:/^((x|y)axis\d*)\.((auto)?range|title\.text)/},{pattern:/axis\d*\.showspikes$/,attr:"modebar.uirevision"},{pattern:/(hover|drag)mode$/,attr:"modebar.uirevision"},{pattern:/^(scene\d*)\.camera/},{pattern:/^(geo\d*)\.(projection|center|fitbounds)/},{pattern:/^(ternary\d*\.[abc]axis)\.(min|title\.text)$/},{pattern:/^(polar\d*\.radialaxis)\.((auto)?range|angle|title\.text)/},{pattern:/^(polar\d*\.angularaxis)\.rotation/},{pattern:/^(mapbox\d*)\.(center|zoom|bearing|pitch)/},{pattern:/^legend\.(x|y)$/,attr:"editrevision"},{pattern:/^(shapes|annotations)/,attr:"editrevision"},{pattern:/^title\.text$/,attr:"editrevision"}],de=[{pattern:/^selectedpoints$/,attr:"selectionrevision"},{pattern:/(^|value\.)visible$/,attr:"legend.uirevision"},{pattern:/^dimensions\[\d+\]\.constraintrange/},{pattern:/^node\.(x|y|groups)/},{pattern:/^level$/},{pattern:/(^|value\.)name$/},{pattern:/colorbar\.title\.text$/},{pattern:/colorbar\.(x|y)$/,attr:"editrevision"}];function me(ae,he){for(var be=0;be1;)if(ke.pop(),(be=v(he,ke.join(".")+".uirevision").get())!==void 0)return be;return he.uirevision}function xe(ae,he){for(var be=0;be=Le.length?Le[0]:Le[we]:Le}function je(we){return Array.isArray(Be)?we>=Be.length?Be[0]:Be[we]:Be}function ge(we,Ee){var Ve=0;return function(){if(we&&++Ve===Ee)return we()}}return ke._frameWaitingCnt===void 0&&(ke._frameWaitingCnt=0),new Promise(function(we,Ee){function Ve(){ae.emit("plotly_animating"),ke._lastFrameAt=-1/0,ke._timeToNext=0,ke._runningTransitions=0,ke._currentFrame=null;var Bt=function(){ke._animationRaf=window.requestAnimationFrame(Bt),Date.now()-ke._lastFrameAt>ke._timeToNext&&function(){ke._currentFrame&&ke._currentFrame.onComplete&&ke._currentFrame.onComplete();var qt=ke._currentFrame=ke._frameQueue.shift();if(qt){var Vt=qt.name?qt.name.toString():null;ae._fullLayout._currentFrame=Vt,ke._lastFrameAt=Date.now(),ke._timeToNext=qt.frameOpts.duration,s.transition(ae,qt.frame.data,qt.frame.layout,T.coerceTraceIndices(ae,qt.frame.traces),qt.frameOpts,qt.transitionOpts).then(function(){qt.onComplete&&qt.onComplete()}),ae.emit("plotly_animatingframe",{name:Vt,frame:qt.frame,animation:{frame:qt.frameOpts,transition:qt.transitionOpts}})}else ae.emit("plotly_animated"),window.cancelAnimationFrame(ke._animationRaf),ke._animationRaf=null}()};Bt()}var Ye,$e,st=0;function ot(Bt){return Array.isArray(Le)?st>=Le.length?Bt.transitionOpts=Le[st]:Bt.transitionOpts=Le[0]:Bt.transitionOpts=Le,st++,Bt}var ft=[],bt=he==null,Et=Array.isArray(he);if(bt||Et||!M.isPlainObject(he)){if(bt||["string","number"].indexOf(typeof he)!==-1)for(Ye=0;Ye0&&FtFt)&&Ot.push($e);ft=Ot}}ft.length>0?function(Bt){if(Bt.length!==0){for(var qt=0;qt=0;ke--)if(M.isPlainObject(he[ke])){var Ye=he[ke].name,$e=(ge[Ye]||Ve[Ye]||{}).name,st=he[ke].name,ot=ge[$e]||Ve[$e];$e&&st&&typeof st=="number"&&ot&&L<5&&(L++,M.warn('addFrames: overwriting frame "'+(ge[$e]||Ve[$e]).name+'" with a frame whose name of type "number" also equates to "'+$e+'". This is valid but may potentially lead to unexpected behavior since all plotly.js frame names are stored internally as strings.'),L===5&&M.warn("addFrames: This API call has yielded too many of these warnings. For the rest of this call, further warnings about numeric frame names will be suppressed.")),Ve[Ye]={name:Ye},Ee.push({frame:s.supplyFrameDefaults(he[ke]),index:be&&be[ke]!==void 0&&be[ke]!==null?be[ke]:we+ke})}Ee.sort(function(Bt,qt){return Bt.index>qt.index?-1:Bt.index=0;ke--){if(typeof(Le=Ee[ke].frame).name=="number"&&M.warn("Warning: addFrames accepts frames with numeric names, but the numbers areimplicitly cast to strings"),!Le.name)for(;ge[Le.name="frame "+ae._transitionData._counter++];);if(ge[Le.name]){for(Be=0;Be=0;be--)ke=he[be],Be.push({type:"delete",index:ke}),ze.unshift({type:"insert",index:ke,value:Le[ke]});var je=s.modifyFrames,ge=s.modifyFrames,we=[ae,ze],Ee=[ae,Be];return l&&l.add(ae,je,we,ge,Ee),s.modifyFrames(ae,Be)},m.addTraces=function ae(he,be,ke){he=M.getGraphDiv(he);var Le,Be,ze=[],je=m.deleteTraces,ge=ae,we=[he,ze],Ee=[he,be];for(function(Ve,Ye,$e){var st,ot;if(!Array.isArray(Ve.data))throw new Error("gd.data must be an array.");if(Ye===void 0)throw new Error("traces must be defined.");for(Array.isArray(Ye)||(Ye=[Ye]),st=0;st=0&&Ve=0&&Ve=F.length)return!1;if(b.dimensions===2){if(I++,R.length===I)return b;var B=R[I];if(!T(B))return!1;b=F[z][B]}else b=F[z]}else b=F}}return b}function T(b){return b===Math.round(b)&&b>=0}function E(){var b,R,I={};for(b in u(I,M),d.subplotsRegistry)if((R=d.subplotsRegistry[b]).layoutAttributes)if(Array.isArray(R.attr))for(var O=0;O=B.length)return!1;O=(I=(d.transformsRegistry[B[N].type]||{}).attributes)&&I[R[2]],F=3}else{var W=b._module;if(W||(W=(d.modules[b.type||i.type.dflt]||{})._module),!W)return!1;if(!(O=(I=W.attributes)&&I[z])){var j=W.basePlotModule;j&&j.attributes&&(O=j.attributes[z])}O||(O=i[z])}return x(O,R,F)},m.getLayoutValObject=function(b,R){var I=function(O,z){var F,B,N,W,j=O._basePlotModules;if(j){var Y;for(F=0;F=u&&(a._input||{})._templateitemname;o&&(s=u);var c,f=l+"["+s+"]";function p(){c={},o&&(c[f]={},c[f].templateitemname=o)}function w(S,x){o?d.nestedProperty(c[f],S).set(x):c[f+"."+S]=x}function g(){var S=c;return p(),S}return p(),{modifyBase:function(S,x){c[S]=x},modifyItem:w,getUpdateObj:g,applyUpdate:function(S,x){S&&w(S,x);var T=g();for(var E in T)d.nestedProperty(h,E).set(T[E])}}}},61549:function(k,m,t){var d=t(39898),y=t(73972),i=t(74875),M=t(71828),v=t(63893),h=t(33306),l=t(7901),a=t(91424),u=t(92998),s=t(64168),o=t(89298),c=t(18783),f=t(99082),p=f.enforce,w=f.clean,g=t(71739).doAutoRange,S="start";function x(L,b,R){for(var I=0;I=L[1]||O[1]<=L[0])&&z[0]b[0])return!0}return!1}function T(L){var b,R,I,O,z,F,B=L._fullLayout,N=B._size,W=N.p,j=o.list(L,"",!0);if(B._paperdiv.style({width:L._context.responsive&&B.autosize&&!L._context._hasZeroWidth&&!L.layout.width?"100%":B.width+"px",height:L._context.responsive&&B.autosize&&!L._context._hasZeroHeight&&!L.layout.height?"100%":B.height+"px"}).selectAll(".main-svg").call(a.setSize,B.width,B.height),L._context.setBackground(L,B.paper_bgcolor),m.drawMainTitle(L),s.manage(L),!B._has("cartesian"))return i.previousPromises(L);function Y(Ve,Ye,$e){var st=Ve._lw/2;return Ve._id.charAt(0)==="x"?Ye?$e==="top"?Ye._offset-W-st:Ye._offset+Ye._length+W+st:N.t+N.h*(1-(Ve.position||0))+st%1:Ye?$e==="right"?Ye._offset+Ye._length+W+st:Ye._offset-W-st:N.l+N.w*(Ve.position||0)+st%1}for(b=0;b.5?"t":"b",te=Y._fullLayout.margin[ne],Z=0;return U.yref==="paper"?Z=G+U.pad.t+U.pad.b:U.yref==="container"&&(Z=function(X,Q,re,ie,oe){var ue=0;return re==="middle"&&(ue+=oe/2),X==="t"?(re==="top"&&(ue+=oe),ue+=ie-Q*ie):(re==="bottom"&&(ue+=oe),ue+=Q*ie),ue}(ne,q,H,Y._fullLayout.height,G)+U.pad.t+U.pad.b),Z>te?Z:0}(L,R,W);j>0&&(function(Y,U,G,q){var H="title.automargin",ne=Y._fullLayout.title,te=ne.y>.5?"t":"b",Z={x:ne.x,y:ne.y,t:0,b:0},X={};ne.yref==="paper"&&function(Q,re,ie,oe,ue){var ce=re.yref==="paper"?Q._fullLayout._size.h:Q._fullLayout.height,ye=M.isTopAnchor(re)?oe:oe-ue,de=ie==="b"?ce-ye:ye;return!(M.isTopAnchor(re)&&ie==="t"||M.isBottomAnchor(re)&&ie==="b")&&deN?A.push({code:"unused",traceType:I,templateCount:B,dataCount:N}):N>B&&A.push({code:"reused",traceType:I,templateCount:B,dataCount:N})}}else A.push({code:"data"});if(function W(j,Y){for(var U in j)if(U.charAt(0)!=="_"){var G=j[U],q=f(j,U,Y);y(G)?(Array.isArray(j)&&G._template===!1&&G.templateitemname&&A.push({code:"missing",path:q,templateitemname:G.templateitemname}),W(G,q)):Array.isArray(G)&&p(G)&&W(G,q)}}({data:b,layout:L},""),A.length)return A.map(w)}},403:function(k,m,t){var d=t(92770),y=t(72391),i=t(74875),M=t(71828),v=t(25095),h=t(5900),l=t(70942),a=t(11506).version,u={format:{valType:"enumerated",values:["png","jpeg","webp","svg","full-json"],dflt:"png"},width:{valType:"number",min:1},height:{valType:"number",min:1},scale:{valType:"number",min:0,dflt:1},setBackground:{valType:"any",dflt:!1},imageDataOnly:{valType:"boolean",dflt:!1}};k.exports=function(s,o){var c,f,p,w;function g(N){return!(N in o)||M.validate(o[N],u[N])}if(o=o||{},M.isPlainObject(s)?(c=s.data||[],f=s.layout||{},p=s.config||{},w={}):(s=M.getGraphDiv(s),c=M.extendDeep([],s.data),f=M.extendDeep({},s.layout),p=s._context,w=s._fullLayout||{}),!g("width")&&o.width!==null||!g("height")&&o.height!==null)throw new Error("Height and width should be pixel values.");if(!g("format"))throw new Error("Export format is not "+M.join2(u.format.values,", "," or ")+".");var S={};function x(N,W){return M.coerce(o,S,u,N,W)}var T=x("format"),E=x("width"),_=x("height"),A=x("scale"),L=x("setBackground"),b=x("imageDataOnly"),R=document.createElement("div");R.style.position="absolute",R.style.left="-5000px",document.body.appendChild(R);var I=M.extendFlat({},f);E?I.width=E:o.width===null&&d(w.width)&&(I.width=w.width),_?I.height=_:o.height===null&&d(w.height)&&(I.height=w.height);var O=M.extendFlat({},p,{_exportedPlot:!0,staticPlot:!0,setBackground:L}),z=v.getRedrawFunc(R);function F(){return new Promise(function(N){setTimeout(N,v.getDelay(R._fullLayout))})}function B(){return new Promise(function(N,W){var j=h(R,T,A),Y=R._fullLayout.width,U=R._fullLayout.height;function G(){y.purge(R),document.body.removeChild(R)}if(T==="full-json"){var q=i.graphJson(R,!1,"keepdata","object",!0,!0);return q.version=a,q=JSON.stringify(q),G(),N(b?q:v.encodeJSON(q))}if(G(),T==="svg")return N(b?j:v.encodeSVG(j));var H=document.createElement("canvas");H.id=M.randstr(),l({format:T,width:Y,height:U,scale:A,canvas:H,svg:j,promise:!0}).then(N).catch(W)})}return new Promise(function(N,W){y.newPlot(R,c,I,O).then(z).then(F).then(B).then(function(j){N(function(Y){return b?Y.replace(v.IMAGE_URL_PREFIX,""):Y}(j))}).catch(function(j){W(j)})})}},84936:function(k,m,t){var d=t(71828),y=t(74875),i=t(86281),M=t(72075).dfltConfig,v=d.isPlainObject,h=Array.isArray,l=d.isArrayOrTypedArray;function a(S,x,T,E,_,A){A=A||[];for(var L=Object.keys(S),b=0;bz.length&&E.push(c("unused",_,I.concat(z.length)));var Y,U,G,q,H,ne=z.length,te=Array.isArray(j);if(te&&(ne=Math.min(ne,j.length)),F.dimensions===2)for(U=0;Uz[U].length&&E.push(c("unused",_,I.concat(U,z[U].length)));var Z=z[U].length;for(Y=0;Y<(te?Math.min(Z,j[U].length):Z);Y++)G=te?j[U][Y]:j,q=O[U][Y],H=z[U][Y],d.validate(q,G)?H!==q&&H!==+q&&E.push(c("dynamic",_,I.concat(U,Y),q,H)):E.push(c("value",_,I.concat(U,Y),q))}else E.push(c("array",_,I.concat(U),O[U]));else for(U=0;U1&&A.push(c("object","layout"))),y.supplyDefaults(L);for(var b=L._fullData,R=T.length,I=0;I0&&Math.round(f)===f))return{vals:u};o=f}for(var p=l.calendar,w=s==="start",g=s==="end",S=h[a+"period0"],x=i(S,p)||0,T=[],E=[],_=[],A=u.length,L=0;LO;)I=M(I,-o,p);for(;I<=O;)I=M(I,o,p);R=M(I,-o,p)}else{for(I=x+(b=Math.round((O-x)/c))*c;I>O;)I-=c;for(;I<=O;)I+=c;R=I-c}T[L]=w?R:g?I:(R+I)/2,E[L]=R,_[L]=I}return{vals:T,starts:E,ends:_}}},89502:function(k){k.exports={xaxis:{valType:"subplotid",dflt:"x",editType:"calc+clearAxisTypes"},yaxis:{valType:"subplotid",dflt:"y",editType:"calc+clearAxisTypes"}}},71739:function(k,m,t){var d=t(39898),y=t(92770),i=t(71828),M=t(50606).FP_SAFE,v=t(73972),h=t(91424),l=t(41675),a=l.getFromId,u=l.isLinked;function s(E,_){var A,L,b=[],R=E._fullLayout,I=c(R,_,0),O=c(R,_,1),z=f(E,_),F=z.min,B=z.max;if(F.length===0||B.length===0)return i.simpleMap(_.range,_.r2l);var N=F[0].val,W=B[0].val;for(A=1;A0&&((ne=re-I(U)-O(G))>ie?te/ne>oe&&(q=U,H=G,oe=te/ne):te/re>oe&&(q={val:U.val,nopad:1},H={val:G.val,nopad:1},oe=te/re));if(N===W){var ue=N-1,ce=N+1;if(X)if(N===0)b=[0,1];else{var ye=(N>0?B:F).reduce(function(me,pe){return Math.max(me,O(pe))},0),de=N/(1-Math.min(.5,ye/re));b=N>0?[0,de]:[de,0]}else b=Q?[Math.max(0,ue),Math.max(1,ce)]:[ue,ce]}else X?(q.val>=0&&(q={val:0,nopad:1}),H.val<=0&&(H={val:0,nopad:1})):Q&&(q.val-oe*I(q)<0&&(q={val:0,nopad:1}),H.val<=0&&(H={val:1,nopad:1})),oe=(H.val-q.val-o(_,U.val,G.val))/(re-I(q)-O(H)),b=[q.val-oe*I(q),H.val+oe*O(H)];return j&&b.reverse(),i.simpleMap(b,_.l2r||Number)}function o(E,_,A){var L=0;if(E.rangebreaks)for(var b=E.locateBreaks(_,A),R=0;R=A&&(F.extrapad||!I)){O=!1;break}b(_,F.val)&&F.pad<=A&&(I||!F.extrapad)&&(E.splice(z,1),z--)}if(O){var B=R&&_===0;E.push({val:_,pad:B?0:A,extrapad:!B&&I})}}function S(E){return y(E)&&Math.abs(E)=_}k.exports={getAutoRange:s,makePadFn:c,doAutoRange:function(E,_,A){if(_.setScale(),_.autorange){_.range=A?A.slice():s(E,_),_._r=_.range.slice(),_._rl=i.simpleMap(_._r,_.r2l);var L=_._input,b={};b[_._attr+".range"]=_.range,b[_._attr+".autorange"]=_.autorange,v.call("_storeDirectGUIEdit",E.layout,E._fullLayout._preGUI,b),L.range=_.range.slice(),L.autorange=_.autorange}var R=_._anchorAxis;if(R&&R.rangeslider){var I=R.rangeslider[_._name];I&&I.rangemode==="auto"&&(I.range=s(E,_)),R._input.rangeslider[_._name]=i.extendFlat({},I)}},findExtremes:function(E,_,A){A||(A={}),E._m||E.setScale();var L,b,R,I,O,z,F,B,N,W=[],j=[],Y=_.length,U=A.padded||!1,G=A.tozero&&(E.type==="linear"||E.type==="-"),q=E.type==="log",H=!1,ne=A.vpadLinearized||!1;function te(ce){if(Array.isArray(ce))return H=!0,function(de){return Math.max(Number(ce[de]||0),0)};var ye=Math.max(Number(ce||0),0);return function(){return ye}}var Z=te((E._m>0?A.ppadplus:A.ppadminus)||A.ppad||0),X=te((E._m>0?A.ppadminus:A.ppadplus)||A.ppad||0),Q=te(A.vpadplus||A.vpad),re=te(A.vpadminus||A.vpad);if(!H){if(B=1/0,N=-1/0,q)for(L=0;L0&&(B=b),b>N&&b-M&&(B=b),b>N&&b=ue;L--)oe(L);return{min:W,max:j,opts:A}},concatExtremes:f}},89298:function(k,m,t){var d=t(39898),y=t(92770),i=t(74875),M=t(73972),v=t(71828),h=v.strTranslate,l=t(63893),a=t(92998),u=t(7901),s=t(91424),o=t(13838),c=t(66287),f=t(50606),p=f.ONEMAXYEAR,w=f.ONEAVGYEAR,g=f.ONEMINYEAR,S=f.ONEMAXQUARTER,x=f.ONEAVGQUARTER,T=f.ONEMINQUARTER,E=f.ONEMAXMONTH,_=f.ONEAVGMONTH,A=f.ONEMINMONTH,L=f.ONEWEEK,b=f.ONEDAY,R=b/2,I=f.ONEHOUR,O=f.ONEMIN,z=f.ONESEC,F=f.MINUS_SIGN,B=f.BADNUM,N={K:"zeroline"},W={K:"gridline",L:"path"},j={K:"minor-gridline",L:"path"},Y={K:"tick",L:"path"},U={K:"tick",L:"text"},G={width:["x","r","l","xl","xr"],height:["y","t","b","yt","yb"],right:["r","xr"],left:["l","xl"],top:["t","yt"],bottom:["b","yb"]},q=t(18783),H=q.MID_SHIFT,ne=q.CAP_SHIFT,te=q.LINE_SPACING,Z=q.OPPOSITE_SIDE,X=k.exports={};X.setConvert=t(21994);var Q=t(4322),re=t(41675),ie=re.idSort,oe=re.isLinked;X.id2name=re.id2name,X.name2id=re.name2id,X.cleanId=re.cleanId,X.list=re.list,X.listIds=re.listIds,X.getFromId=re.getFromId,X.getFromTrace=re.getFromTrace;var ue=t(71739);function ce(Re){var Ne=1e-4*(Re[1]-Re[0]);return[Re[0]-Ne,Re[1]+Ne]}X.getAutoRange=ue.getAutoRange,X.findExtremes=ue.findExtremes,X.coerceRef=function(Re,Ne,Qe,ut,dt,_t){var It=ut.charAt(ut.length-1),Lt=Qe._fullLayout._subplots[It+"axis"],yt=ut+"ref",Pt={};return dt||(dt=Lt[0]||(typeof _t=="string"?_t:_t[0])),_t||(_t=dt),Lt=Lt.concat(Lt.map(function(wt){return wt+" domain"})),Pt[yt]={valType:"enumerated",values:Lt.concat(_t?typeof _t=="string"?[_t]:_t:[]),dflt:dt},v.coerce(Re,Ne,Pt,yt)},X.getRefType=function(Re){return Re===void 0?Re:Re==="paper"?"paper":Re==="pixel"?"pixel":/( domain)$/.test(Re)?"domain":"range"},X.coercePosition=function(Re,Ne,Qe,ut,dt,_t){var It,Lt;if(X.getRefType(ut)!=="range")It=v.ensureNumber,Lt=Qe(dt,_t);else{var yt=X.getFromId(Ne,ut);Lt=Qe(dt,_t=yt.fraction2r(_t)),It=yt.cleanPos}Re[dt]=It(Lt)},X.cleanPosition=function(Re,Ne,Qe){return(Qe==="paper"||Qe==="pixel"?v.ensureNumber:X.getFromId(Ne,Qe).cleanPos)(Re)},X.redrawComponents=function(Re,Ne){Ne=Ne||X.listIds(Re);var Qe=Re._fullLayout;function ut(dt,_t,It,Lt){for(var yt=M.getComponentMethod(dt,_t),Pt={},wt=0;wtQe&&wt2e-6||((Qe-Re._forceTick0)/Re._minDtick%1+1.000001)%1>2e-6)&&(Re._minDtick=0)):Re._minDtick=0},X.saveRangeInitial=function(Re,Ne){for(var Qe=X.list(Re,"",!0),ut=!1,dt=0;dt.3*Dn||dn(un)||dn(An))){var In=xn.dtick/2;Qt+=Qt+In.8){var kn=Number(xn.substr(1));$n.exactYears>.8&&kn%12==0?Qt=X.tickIncrement(Qt,"M6","reverse")+1.5*b:$n.exactMonths>.8?Qt=X.tickIncrement(Qt,"M1","reverse")+15.5*b:Qt-=R;var sn=X.tickIncrement(Qt,xn);if(sn<=un)return sn}return Qt}(Xt,Re,Wt,Lt,dt)),$t=Xt;$t<=yt;)$t=X.tickIncrement($t,Wt,!1,dt);return{start:Ne.c2r(Xt,0,dt),end:Ne.c2r($t,0,dt),size:Wt,_dataSpan:yt-Lt}},X.prepMinorTicks=function(Re,Ne,Qe){if(!Ne.minor.dtick){delete Re.dtick;var ut,dt=Ne.dtick&&y(Ne._tmin);if(dt){var _t=X.tickIncrement(Ne._tmin,Ne.dtick,!0);ut=[Ne._tmin,.99*_t+.01*Ne._tmin]}else{var It=v.simpleMap(Ne.range,Ne.r2l);ut=[It[0],.8*It[0]+.2*It[1]]}if(Re.range=v.simpleMap(ut,Ne.l2r),Re._isMinor=!0,X.prepTicks(Re,Qe),dt){var Lt=y(Ne.dtick),yt=y(Re.dtick),Pt=Lt?Ne.dtick:+Ne.dtick.substring(1),wt=yt?Re.dtick:+Re.dtick.substring(1);Lt&&yt?pe(Pt,wt)?Pt===2*L&&wt===2*b&&(Re.dtick=L):Pt===2*L&&wt===3*b?Re.dtick=L:Pt!==L||(Ne._input.minor||{}).nticks?xe(Pt/wt,2.5)?Re.dtick=Pt/2:Re.dtick=Pt:Re.dtick=b:String(Ne.dtick).charAt(0)==="M"?yt?Re.dtick="M1":pe(Pt,wt)?Pt>=12&&wt===2&&(Re.dtick="M3"):Re.dtick=Ne.dtick:String(Re.dtick).charAt(0)==="L"?String(Ne.dtick).charAt(0)==="L"?pe(Pt,wt)||(Re.dtick=xe(Pt/wt,2.5)?Ne.dtick/2:Ne.dtick):Re.dtick="D1":Re.dtick==="D2"&&+Ne.dtick>1&&(Re.dtick=1)}Re.range=Ne.range}Ne.minor._tick0Init===void 0&&(Re.tick0=Ne.tick0)},X.prepTicks=function(Re,Ne){var Qe=v.simpleMap(Re.range,Re.r2l,void 0,void 0,Ne);if(Re.tickmode==="auto"||!Re.dtick){var ut,dt=Re.nticks;dt||(Re.type==="category"||Re.type==="multicategory"?(ut=Re.tickfont?v.bigFont(Re.tickfont.size||12):15,dt=Re._length/ut):(ut=Re._id.charAt(0)==="y"?40:80,dt=v.constrain(Re._length/ut,4,9)+1),Re._name==="radialaxis"&&(dt*=2)),Re.minor&&Re.minor.tickmode!=="array"||Re.tickmode==="array"&&(dt*=100),Re._roughDTick=Math.abs(Qe[1]-Qe[0])/dt,X.autoTicks(Re,Re._roughDTick),Re._minDtick>0&&Re.dtick<2*Re._minDtick&&(Re.dtick=Re._minDtick,Re.tick0=Re.l2r(Re._forceTick0))}Re.ticklabelmode==="period"&&function(_t){var It;function Lt(){return!(y(_t.dtick)||_t.dtick.charAt(0)!=="M")}var yt=Lt(),Pt=X.getTickFormat(_t);if(Pt){var wt=_t._dtickInit!==_t.dtick;/%[fLQsSMX]/.test(Pt)||(/%[HI]/.test(Pt)?(It=I,wt&&!yt&&_t.dtick=(rn?0:1);xn--){var un=!xn;xn?(Re._dtickInit=Re.dtick,Re._tick0Init=Re.tick0):(Re.minor._dtickInit=Re.minor.dtick,Re.minor._tick0Init=Re.minor.tick0);var An=xn?Re:v.extendFlat({},Re,Re.minor);if(un?X.prepMinorTicks(An,Re,Ne):X.prepTicks(An,Ne),An.tickmode!=="array")if(An.tickmode!=="sync"){var $n=ce(yt),kn=$n[0],sn=$n[1],Tn=y(An.dtick),dn=dt==="log"&&!(Tn||An.dtick.charAt(0)==="L"),pn=X.tickFirst(An,Ne);if(xn){if(Re._tmin=pn,pn=sn:Gn<=sn;Gn=X.tickIncrement(Gn,qn,Pt,_t)){if(xn&&Dn++,An.rangebreaks&&!Pt){if(Gn=Rt)break}if(Xt.length>Nt||Gn===jn)break;jn=Gn;var lr={value:Gn};xn?(dn&&Gn!==(0|Gn)&&(lr.simpleLabel=!0),It>1&&Dn%It&&(lr.skipLabel=!0),Xt.push(lr)):(lr.minor=!0,Qt.push(lr))}}else Xt=[],$t=Me(Re);else xn?(Xt=[],$t=Se(Re)):(Qt=[],Wt=Se(Re))}if(rn&&!(Re.minor.ticks==="inside"&&Re.ticks==="outside"||Re.minor.ticks==="outside"&&Re.ticks==="inside")){for(var rr=Xt.map(function(Pn){return Pn.value}),Sr=[],yr=0;yr0?(On=fn-1,En=fn):(On=fn,En=fn);var mn,wn=Pn[On].value,gn=Pn[En].value,yn=Math.abs(gn-wn),Sn=Jt||yn,Vn=0;Sn>=g?Vn=yn>=g&&yn<=p?yn:w:Jt===x&&Sn>=T?Vn=yn>=T&&yn<=S?yn:x:Sn>=A?Vn=yn>=A&&yn<=E?yn:_:Jt===L&&Sn>=L?Vn=L:Sn>=b?Vn=b:Jt===R&&Sn>=R?Vn=R:Jt===I&&Sn>=I&&(Vn=I),Vn>=yn&&(Vn=yn,mn=!0);var Xn=zn+Vn;if(jt.rangebreaks&&Vn>0){for(var nr=0,Qn=0;Qn<84;Qn++){var fr=(Qn+.5)/84;jt.maskBreaks(zn*(1-fr)+fr*Xn)!==B&&nr++}(Vn*=nr/84)||(Pn[fn].drop=!0),mn&&yn>L&&(Vn=yn)}(Vn>0||fn===0)&&(Pn[fn].periodX=zn+Vn/2)}}(Xt,Re,Re._definedDelta),Re.rangebreaks){var bn=Re._id.charAt(0)==="y",Rn=1;Re.tickmode==="auto"&&(Rn=Re.tickfont?Re.tickfont.size:12);var Ln=NaN;for(Qe=Xt.length-1;Qe>-1;Qe--)if(Xt[Qe].drop)Xt.splice(Qe,1);else{Xt[Qe].value=Je(Xt[Qe].value,Re);var Un=Re.c2p(Xt[Qe].value);(bn?Ln>Un-Rn:LnRt||YnRt&&(Kn.periodX=Rt),Yn10||ut.substr(5)!=="01-01"?Re._tickround="d":Re._tickround=+Ne.substr(1)%12==0?"y":"m";else if(Ne>=b&&dt<=10||Ne>=15*b)Re._tickround="d";else if(Ne>=O&&dt<=16||Ne>=I)Re._tickround="M";else if(Ne>=z&&dt<=19||Ne>=O)Re._tickround="S";else{var _t=Re.l2r(Qe+Ne).replace(/^-/,"").length;Re._tickround=Math.max(dt,_t)-20,Re._tickround<0&&(Re._tickround=4)}}else if(y(Ne)||Ne.charAt(0)==="L"){var It=Re.range.map(Re.r2d||Number);y(Ne)||(Ne=Number(Ne.substr(1))),Re._tickround=2-Math.floor(Math.log(Ne)/Math.LN10+.01);var Lt=Math.max(Math.abs(It[0]),Math.abs(It[1])),yt=Math.floor(Math.log(Lt)/Math.LN10+.01),Pt=Re.minexponent===void 0?3:Re.minexponent;Math.abs(yt)>Pt&&(Ee(Re.exponentformat)&&!Ve(yt)?Re._tickexponent=3*Math.round((yt-1)/3):Re._tickexponent=yt)}else Re._tickround=null}function ge(Re,Ne,Qe){var ut=Re.tickfont||{};return{x:Ne,dx:0,dy:0,text:Qe||"",fontSize:ut.size,font:ut.family,fontColor:ut.color}}X.autoTicks=function(Re,Ne,Qe){var ut;function dt(Rt){return Math.pow(Rt,Math.floor(Math.log(Ne)/Math.LN10))}if(Re.type==="date"){Re.tick0=v.dateTick0(Re.calendar,0);var _t=2*Ne;if(_t>w)Ne/=w,ut=dt(10),Re.dtick="M"+12*ze(Ne,ut,Ce);else if(_t>_)Ne/=_,Re.dtick="M"+ze(Ne,1,ae);else if(_t>b){if(Re.dtick=ze(Ne,b,Re._hasDayOfWeekBreaks?[1,2,7,14]:be),!Qe){var It=X.getTickFormat(Re),Lt=Re.ticklabelmode==="period";Lt&&(Re._rawTick0=Re.tick0),/%[uVW]/.test(It)?Re.tick0=v.dateTick0(Re.calendar,2):Re.tick0=v.dateTick0(Re.calendar,1),Lt&&(Re._dowTick0=Re.tick0)}}else _t>I?Re.dtick=ze(Ne,I,ae):_t>O?Re.dtick=ze(Ne,O,he):_t>z?Re.dtick=ze(Ne,z,he):(ut=dt(10),Re.dtick=ze(Ne,ut,Ce))}else if(Re.type==="log"){Re.tick0=0;var yt=v.simpleMap(Re.range,Re.r2l);if(Re._isMinor&&(Ne*=1.5),Ne>.7)Re.dtick=Math.ceil(Ne);else if(Math.abs(yt[1]-yt[0])<1){var Pt=1.5*Math.abs((yt[1]-yt[0])/Ne);Ne=Math.abs(Math.pow(10,yt[1])-Math.pow(10,yt[0]))/Pt,ut=dt(10),Re.dtick="L"+ze(Ne,ut,Ce)}else Re.dtick=Ne>.3?"D2":"D1"}else Re.type==="category"||Re.type==="multicategory"?(Re.tick0=0,Re.dtick=Math.ceil(Math.max(Ne,1))):Ke(Re)?(Re.tick0=0,ut=1,Re.dtick=ze(Ne,ut,Be)):(Re.tick0=0,ut=dt(10),Re.dtick=ze(Ne,ut,Ce));if(Re.dtick===0&&(Re.dtick=1),!y(Re.dtick)&&typeof Re.dtick!="string"){var wt=Re.dtick;throw Re.dtick=1,"ax.dtick error: "+String(wt)}},X.tickIncrement=function(Re,Ne,Qe,ut){var dt=Qe?-1:1;if(y(Ne))return v.increment(Re,dt*Ne);var _t=Ne.charAt(0),It=dt*Number(Ne.substr(1));if(_t==="M")return v.incrementMonth(Re,It,ut);if(_t==="L")return Math.log(Math.pow(10,Re)+It)/Math.LN10;if(_t==="D"){var Lt=Ne==="D2"?Le:ke,yt=Re+.01*dt,Pt=v.roundUp(v.mod(yt,1),Lt,Qe);return Math.floor(yt)+Math.log(d.round(Math.pow(10,Pt),1))/Math.LN10}throw"unrecognized dtick "+String(Ne)},X.tickFirst=function(Re,Ne){var Qe=Re.r2l||Number,ut=v.simpleMap(Re.range,Qe,void 0,void 0,Ne),dt=ut[1] ")}else Qt._prevDateHead=kn,sn+="
"+kn;rn.text=sn}(Re,_t,Qe,Lt):yt==="log"?function(Qt,rn,xn,un,An){var $n=Qt.dtick,kn=rn.x,sn=Qt.tickformat,Tn=typeof $n=="string"&&$n.charAt(0);if(An==="never"&&(An=""),un&&Tn!=="L"&&($n="L3",Tn="L"),sn||Tn==="L")rn.text=Ye(Math.pow(10,kn),Qt,An,un);else if(y($n)||Tn==="D"&&v.mod(kn+.01,1)<.1){var dn=Math.round(kn),pn=Math.abs(dn),Dn=Qt.exponentformat;Dn==="power"||Ee(Dn)&&Ve(dn)?(rn.text=dn===0?1:dn===1?"10":"10"+(dn>1?"":F)+pn+"",rn.fontSize*=1.25):(Dn==="e"||Dn==="E")&&pn>2?rn.text="1"+Dn+(dn>0?"+":F)+pn:(rn.text=Ye(Math.pow(10,kn),Qt,"","fakehover"),$n==="D1"&&Qt._id.charAt(0)==="y"&&(rn.dy-=rn.fontSize/6))}else{if(Tn!=="D")throw"unrecognized dtick "+String($n);rn.text=String(Math.round(Math.pow(10,v.mod(kn,1)))),rn.fontSize*=.75}if(Qt.dtick==="D1"){var In=String(rn.text).charAt(0);In!=="0"&&In!=="1"||(Qt._id.charAt(0)==="y"?rn.dx-=rn.fontSize/4:(rn.dy+=rn.fontSize/2,rn.dx+=(Qt.range[1]>Qt.range[0]?1:-1)*rn.fontSize*(kn<0?.5:.25)))}}(Re,_t,0,Lt,$t):yt==="category"?function(Qt,rn){var xn=Qt._categories[Math.round(rn.x)];xn===void 0&&(xn=""),rn.text=String(xn)}(Re,_t):yt==="multicategory"?function(Qt,rn,xn){var un=Math.round(rn.x),An=Qt._categories[un]||[],$n=An[1]===void 0?"":String(An[1]),kn=An[0]===void 0?"":String(An[0]);xn?rn.text=kn+" - "+$n:(rn.text=$n,rn.text2=kn)}(Re,_t,Qe):Ke(Re)?function(Qt,rn,xn,un,An){if(Qt.thetaunit!=="radians"||xn)rn.text=Ye(rn.x,Qt,An,un);else{var $n=rn.x/180;if($n===0)rn.text="0";else{var kn=function(Tn){function dn(jn,Gn){return Math.abs(jn-Gn)<=1e-6}var pn=function(jn){for(var Gn=1;!dn(Math.round(jn*Gn)/Gn,jn);)Gn*=10;return Gn}(Tn),Dn=Tn*pn,In=Math.abs(function jn(Gn,qn){return dn(qn,0)?Gn:jn(qn,Gn%qn)}(Dn,pn));return[Math.round(Dn/In),Math.round(pn/In)]}($n);if(kn[1]>=100)rn.text=Ye(v.deg2rad(rn.x),Qt,An,un);else{var sn=rn.x<0;kn[1]===1?kn[0]===1?rn.text="π":rn.text=kn[0]+"π":rn.text=["",kn[0],"","⁄","",kn[1],"","π"].join(""),sn&&(rn.text=F+rn.text)}}}}(Re,_t,Qe,Lt,$t):function(Qt,rn,xn,un,An){An==="never"?An="":Qt.showexponent==="all"&&Math.abs(rn.x/Qt.dtick)<1e-6&&(An="hide"),rn.text=Ye(rn.x,Qt,An,un)}(Re,_t,0,Lt,$t),ut||(Re.tickprefix&&!Nt(Re.showtickprefix)&&(_t.text=Re.tickprefix+_t.text),Re.ticksuffix&&!Nt(Re.showticksuffix)&&(_t.text+=Re.ticksuffix)),Re.labelalias&&Re.labelalias.hasOwnProperty(_t.text)){var Wt=Re.labelalias[_t.text];typeof Wt=="string"&&(_t.text=Wt)}if(Re.tickson==="boundaries"||Re.showdividers){var Xt=function(Qt){var rn=Re.l2p(Qt);return rn>=0&&rn<=Re._length?Qt:null};_t.xbnd=[Xt(_t.x-.5),Xt(_t.x+Re.dtick-.5)]}return _t},X.hoverLabelText=function(Re,Ne,Qe){Qe&&(Re=v.extendFlat({},Re,{hoverformat:Qe}));var ut=Array.isArray(Ne)?Ne[0]:Ne,dt=Array.isArray(Ne)?Ne[1]:void 0;if(dt!==void 0&&dt!==ut)return X.hoverLabelText(Re,ut,Qe)+" - "+X.hoverLabelText(Re,dt,Qe);var _t=Re.type==="log"&&ut<=0,It=X.tickText(Re,Re.c2l(_t?-ut:ut),"hover").text;return _t?ut===0?"0":F+It:It};var we=["f","p","n","μ","m","","k","M","G","T"];function Ee(Re){return Re==="SI"||Re==="B"}function Ve(Re){return Re>14||Re<-15}function Ye(Re,Ne,Qe,ut){var dt=Re<0,_t=Ne._tickround,It=Qe||Ne.exponentformat||"B",Lt=Ne._tickexponent,yt=X.getTickFormat(Ne),Pt=Ne.separatethousands;if(ut){var wt={exponentformat:It,minexponent:Ne.minexponent,dtick:Ne.showexponent==="none"?Ne.dtick:y(Re)&&Math.abs(Re)||1,range:Ne.showexponent==="none"?Ne.range.map(Ne.r2d):[0,Re||1]};je(wt),_t=(Number(wt._tickround)||0)+4,Lt=wt._tickexponent,Ne.hoverformat&&(yt=Ne.hoverformat)}if(yt)return Ne._numFormat(yt)(Re).replace(/-/g,F);var Rt,Nt=Math.pow(10,-_t)/2;if(It==="none"&&(Lt=0),(Re=Math.abs(Re))"+Rt+"":It==="B"&&Lt===9?Re+="B":Ee(It)&&(Re+=we[Lt/3+5])),dt?F+Re:Re}function $e(Re,Ne){if(Re){var Qe=Object.keys(G).reduce(function(ut,dt){return Ne.indexOf(dt)!==-1&&G[dt].forEach(function(_t){ut[_t]=1}),ut},{});Object.keys(Re).forEach(function(ut){Qe[ut]||(ut.length===1?Re[ut]=0:delete Re[ut])})}}function st(Re,Ne){for(var Qe=[],ut={},dt=0;dt1&&Qe=dt.min&&Re=0,rn=wt(Nt,$t[1])<=0;return(Wt||Qt)&&(Xt||rn)}if(Re.tickformatstops&&Re.tickformatstops.length>0)switch(Re.type){case"date":case"linear":for(Ne=0;Ne=It(dt)))){Qe=ut;break}break;case"log":for(Ne=0;Ne=0&&dt.unshift(dt.splice(Pt,1).shift())}});var It={false:{left:0,right:0}};return v.syncOrAsync(dt.map(function(Lt){return function(){if(Lt){var yt=X.getFromId(Re,Lt);Qe||(Qe={}),Qe.axShifts=It,Qe.overlayingShiftedAx=_t;var Pt=X.drawOne(Re,yt,Qe);return yt._shiftPusher&&ht(yt,yt._fullDepth||0,It,!0),yt._r=yt.range.slice(),yt._rl=v.simpleMap(yt._r,yt.r2l),Pt}}}))},X.drawOne=function(Re,Ne,Qe){var ut,dt,_t,It=(Qe=Qe||{}).axShifts||{},Lt=Qe.overlayingShiftedAx||[];Ne.setScale();var yt=Re._fullLayout,Pt=Ne._id,wt=Pt.charAt(0),Rt=X.counterLetter(Pt),Nt=yt._plots[Ne._mainSubplot];if(Nt){if(Ne._shiftPusher=Ne.autoshift||Lt.indexOf(Ne._id)!==-1||Lt.indexOf(Ne.overlaying)!==-1,Ne._shiftPusher&Ne.anchor==="free"){var $t=Ne.linewidth/2||0;Ne.ticks==="inside"&&($t+=Ne.ticklen),ht(Ne,$t,It,!0),ht(Ne,Ne.shift||0,It,!1)}Qe.skipTitle===!0&&Ne._shift!==void 0||(Ne._shift=function(En,mn){return En.autoshift?mn[En.overlaying][En.side]:En.shift||0}(Ne,It));var Wt=Nt[wt+"axislayer"],Xt=Ne._mainLinePosition,Qt=Xt+=Ne._shift,rn=Ne._mainMirrorPosition,xn=Ne._vals=X.calcTicks(Ne),un=[Ne.mirror,Qt,rn].join("_");for(ut=0;ut0?En.bottom-Vn:0,Xn))));var nr=0,Qn=0;if(Ne._shiftPusher&&(nr=Math.max(Xn,En.height>0?yn==="l"?Vn-En.left:En.right-Vn:0),Ne.title.text!==yt._dfltTitle[wt]&&(Qn=(Ne._titleStandoff||0)+(Ne._titleScoot||0),yn==="l"&&(Qn+=bt(Ne))),Ne._fullDepth=Math.max(nr,Qn)),Ne.automargin){mn={x:0,y:0,r:0,l:0,t:0,b:0};var fr=[0,1],cr=typeof Ne._shift=="number"?Ne._shift:0;if(wt==="x"){if(yn==="b"?mn[yn]=Ne._depth:(mn[yn]=Ne._depth=Math.max(En.width>0?Vn-En.top:0,Xn),fr.reverse()),En.width>0){var pr=En.right-(Ne._offset+Ne._length);pr>0&&(mn.xr=1,mn.r=pr);var dr=Ne._offset-En.left;dr>0&&(mn.xl=0,mn.l=dr)}}else if(yn==="l"?(Ne._depth=Math.max(En.height>0?Vn-En.left:0,Xn),mn[yn]=Ne._depth-cr):(Ne._depth=Math.max(En.height>0?En.right-Vn:0,Xn),mn[yn]=Ne._depth+cr,fr.reverse()),En.height>0){var br=En.bottom-(Ne._offset+Ne._length);br>0&&(mn.yb=0,mn.b=br);var Rr=Ne._offset-En.top;Rr>0&&(mn.yt=1,mn.t=Rr)}mn[Rt]=Ne.anchor==="free"?Ne.position:Ne._anchorAxis.domain[fr[0]],Ne.title.text!==yt._dfltTitle[wt]&&(mn[yn]+=bt(Ne)+(Ne.title.standoff||0)),Ne.mirror&&Ne.anchor!=="free"&&((wn={x:0,y:0,r:0,l:0,t:0,b:0})[Sn]=Ne.linewidth,Ne.mirror&&Ne.mirror!==!0&&(wn[Sn]+=Xn),Ne.mirror===!0||Ne.mirror==="ticks"?wn[Rt]=Ne._anchorAxis.domain[fr[1]]:Ne.mirror!=="all"&&Ne.mirror!=="allticks"||(wn[Rt]=[Ne._counterDomainMin,Ne._counterDomainMax][fr[1]]))}zn&&(gn=M.getComponentMethod("rangeslider","autoMarginOpts")(Re,Ne)),typeof Ne.automargin=="string"&&($e(mn,Ne.automargin),$e(wn,Ne.automargin)),i.autoMargin(Re,xt(Ne),mn),i.autoMargin(Re,Ft(Ne),wn),i.autoMargin(Re,Ot(Ne),gn)}),v.syncOrAsync(Jt)}}function On(En){var mn=Pt+(En||"tick");return An[mn]||(An[mn]=function(wn,gn){var yn,Sn,Vn,Xn;return wn._selections[gn].size()?(yn=1/0,Sn=-1/0,Vn=1/0,Xn=-1/0,wn._selections[gn].each(function(){var nr=kt(this),Qn=s.bBox(nr.node().parentNode);yn=Math.min(yn,Qn.top),Sn=Math.max(Sn,Qn.bottom),Vn=Math.min(Vn,Qn.left),Xn=Math.max(Xn,Qn.right)})):(yn=0,Sn=0,Vn=0,Xn=0),{top:yn,bottom:Sn,left:Vn,right:Xn,height:Sn-yn,width:Xn-Vn}}(Ne,mn)),An[mn]}},X.getTickSigns=function(Re,Ne){var Qe=Re._id.charAt(0),ut={x:"top",y:"right"}[Qe],dt=Re.side===ut?1:-1,_t=[-1,1,dt,-dt];return(Ne?(Re.minor||{}).ticks:Re.ticks)!=="inside"==(Qe==="x")&&(_t=_t.map(function(It){return-It})),Re.side&&_t.push({l:-1,t:-1,r:1,b:1}[Re.side.charAt(0)]),_t},X.makeTransTickFn=function(Re){return Re._id.charAt(0)==="x"?function(Ne){return h(Re._offset+Re.l2p(Ne.x),0)}:function(Ne){return h(0,Re._offset+Re.l2p(Ne.x))}},X.makeTransTickLabelFn=function(Re){var Ne=function(dt){var _t=dt.ticklabelposition||"",It=function(rn){return _t.indexOf(rn)!==-1},Lt=It("top"),yt=It("left"),Pt=It("right"),wt=It("bottom"),Rt=It("inside"),Nt=wt||yt||Lt||Pt;if(!Nt&&!Rt)return[0,0];var $t=dt.side,Wt=Nt?(dt.tickwidth||0)/2:0,Xt=3,Qt=dt.tickfont?dt.tickfont.size:12;return(wt||Lt)&&(Wt+=Qt*ne,Xt+=(dt.linewidth||0)/2),(yt||Pt)&&(Wt+=(dt.linewidth||0)/2,Xt+=3),Rt&&$t==="top"&&(Xt-=Qt*(1-ne)),(yt||Lt)&&(Wt=-Wt),$t!=="bottom"&&$t!=="right"||(Xt=-Xt),[Nt?Wt:0,Rt?Xt:0]}(Re),Qe=Ne[0],ut=Ne[1];return Re._id.charAt(0)==="x"?function(dt){return h(Qe+Re._offset+Re.l2p(ot(dt)),ut)}:function(dt){return h(ut,Qe+Re._offset+Re.l2p(ot(dt)))}},X.makeTickPath=function(Re,Ne,Qe,ut){ut||(ut={});var dt=ut.minor;if(dt&&!Re.minor)return"";var _t=ut.len!==void 0?ut.len:dt?Re.minor.ticklen:Re.ticklen,It=Re._id.charAt(0),Lt=(Re.linewidth||1)/2;return It==="x"?"M0,"+(Ne+Lt*Qe)+"v"+_t*Qe:"M"+(Ne+Lt*Qe)+",0h"+_t*Qe},X.makeLabelFns=function(Re,Ne,Qe){var ut=Re.ticklabelposition||"",dt=function(Dn){return ut.indexOf(Dn)!==-1},_t=dt("top"),It=dt("left"),Lt=dt("right"),yt=dt("bottom")||It||_t||Lt,Pt=dt("inside"),wt=ut==="inside"&&Re.ticks==="inside"||!Pt&&Re.ticks==="outside"&&Re.tickson!=="boundaries",Rt=0,Nt=0,$t=wt?Re.ticklen:0;if(Pt?$t*=-1:yt&&($t=0),wt&&(Rt+=$t,Qe)){var Wt=v.deg2rad(Qe);Rt=$t*Math.cos(Wt)+1,Nt=$t*Math.sin(Wt)}Re.showticklabels&&(wt||Re.showline)&&(Rt+=.2*Re.tickfont.size);var Xt,Qt,rn,xn,un,An={labelStandoff:Rt+=(Re.linewidth||1)/2*(Pt?-1:1),labelShift:Nt},$n=0,kn=Re.side,sn=Re._id.charAt(0),Tn=Re.tickangle;if(sn==="x")xn=(un=!Pt&&kn==="bottom"||Pt&&kn==="top")?1:-1,Pt&&(xn*=-1),Xt=Nt*xn,Qt=Ne+Rt*xn,rn=un?1:-.2,Math.abs(Tn)===90&&(Pt?rn+=H:rn=Tn===-90&&kn==="bottom"?ne:Tn===90&&kn==="top"?H:.5,$n=H/2*(Tn/90)),An.xFn=function(Dn){return Dn.dx+Xt+$n*Dn.fontSize},An.yFn=function(Dn){return Dn.dy+Qt+Dn.fontSize*rn},An.anchorFn=function(Dn,In){if(yt){if(It)return"end";if(Lt)return"start"}return y(In)&&In!==0&&In!==180?In*xn<0!==Pt?"end":"start":"middle"},An.heightFn=function(Dn,In,jn){return In<-60||In>60?-.5*jn:Re.side==="top"!==Pt?-jn:0};else if(sn==="y"){if(xn=(un=!Pt&&kn==="left"||Pt&&kn==="right")?1:-1,Pt&&(xn*=-1),Xt=Rt,Qt=Nt*xn,rn=0,Pt||Math.abs(Tn)!==90||(rn=Tn===-90&&kn==="left"||Tn===90&&kn==="right"?ne:.5),Pt){var dn=y(Tn)?+Tn:0;if(dn!==0){var pn=v.deg2rad(dn);$n=Math.abs(Math.sin(pn))*ne*xn,rn=0}}An.xFn=function(Dn){return Dn.dx+Ne-(Xt+Dn.fontSize*rn)*xn+$n*Dn.fontSize},An.yFn=function(Dn){return Dn.dy+Qt+Dn.fontSize*H},An.anchorFn=function(Dn,In){return y(In)&&Math.abs(In)===90?"middle":un?"end":"start"},An.heightFn=function(Dn,In,jn){return Re.side==="right"&&(In*=-1),In<-30?-jn:In<30?-.5*jn:0}}return An},X.drawTicks=function(Re,Ne,Qe){Qe=Qe||{};var ut=Ne._id+"tick",dt=[].concat(Ne.minor&&Ne.minor.ticks?Qe.vals.filter(function(It){return It.minor&&!It.noTick}):[]).concat(Ne.ticks?Qe.vals.filter(function(It){return!It.minor&&!It.noTick}):[]),_t=Qe.layer.selectAll("path."+ut).data(dt,ft);_t.exit().remove(),_t.enter().append("path").classed(ut,1).classed("ticks",1).classed("crisp",Qe.crisp!==!1).each(function(It){return u.stroke(d.select(this),It.minor?Ne.minor.tickcolor:Ne.tickcolor)}).style("stroke-width",function(It){return s.crispRound(Re,It.minor?Ne.minor.tickwidth:Ne.tickwidth,1)+"px"}).attr("d",Qe.path).style("display",null),nt(Ne,[Y]),_t.attr("transform",Qe.transFn)},X.drawGrid=function(Re,Ne,Qe){if(Qe=Qe||{},Ne.tickmode!=="sync"){var ut=Ne._id+"grid",dt=Ne.minor&&Ne.minor.showgrid,_t=dt?Qe.vals.filter(function(rn){return rn.minor}):[],It=Ne.showgrid?Qe.vals.filter(function(rn){return!rn.minor}):[],Lt=Qe.counterAxis;if(Lt&&X.shouldShowZeroLine(Re,Ne,Lt))for(var yt=Ne.tickmode==="array",Pt=0;Pt=0;Wt--){var Xt=Wt?Nt:$t;if(Xt){var Qt=Xt.selectAll("path."+ut).data(Wt?It:_t,ft);Qt.exit().remove(),Qt.enter().append("path").classed(ut,1).classed("crisp",Qe.crisp!==!1),Qt.attr("transform",Qe.transFn).attr("d",Qe.path).each(function(rn){return u.stroke(d.select(this),rn.minor?Ne.minor.gridcolor:Ne.gridcolor||"#ddd")}).style("stroke-dasharray",function(rn){return s.dashStyle(rn.minor?Ne.minor.griddash:Ne.griddash,rn.minor?Ne.minor.gridwidth:Ne.gridwidth)}).style("stroke-width",function(rn){return(rn.minor?Rt:Ne._gw)+"px"}).style("display",null),typeof Qe.path=="function"&&Qt.attr("d",Qe.path)}}nt(Ne,[W,j])}},X.drawZeroLine=function(Re,Ne,Qe){Qe=Qe||Qe;var ut=Ne._id+"zl",dt=X.shouldShowZeroLine(Re,Ne,Qe.counterAxis),_t=Qe.layer.selectAll("path."+ut).data(dt?[{x:0,id:Ne._id}]:[]);_t.exit().remove(),_t.enter().append("path").classed(ut,1).classed("zl",1).classed("crisp",Qe.crisp!==!1).each(function(){Qe.layer.selectAll("path").sort(function(It,Lt){return ie(It.id,Lt.id)})}),_t.attr("transform",Qe.transFn).attr("d",Qe.path).call(u.stroke,Ne.zerolinecolor||u.defaultLine).style("stroke-width",s.crispRound(Re,Ne.zerolinewidth,Ne._gw||1)+"px").style("display",null),nt(Ne,[N])},X.drawLabels=function(Re,Ne,Qe){Qe=Qe||{};var ut=Re._fullLayout,dt=Ne._id,_t=dt.charAt(0),It=Qe.cls||dt+"tick",Lt=Qe.vals.filter(function(xn){return xn.text}),yt=Qe.labelFns,Pt=Qe.secondary?0:Ne.tickangle,wt=(Ne._prevTickAngles||{})[It],Rt=Qe.layer.selectAll("g."+It).data(Ne.showticklabels?Lt:[],ft),Nt=[];function $t(xn,un){xn.each(function(An){var $n=d.select(this),kn=$n.select(".text-math-group"),sn=yt.anchorFn(An,un),Tn=Qe.transFn.call($n.node(),An)+(y(un)&&+un!=0?" rotate("+un+","+yt.xFn(An)+","+(yt.yFn(An)-An.fontSize/2)+")":""),dn=l.lineCount($n),pn=te*An.fontSize,Dn=yt.heightFn(An,y(un)?+un:0,(dn-1)*pn);if(Dn&&(Tn+=h(0,Dn)),kn.empty()){var In=$n.select("text");In.attr({transform:Tn,"text-anchor":sn}),In.style("opacity",1),Ne._adjustTickLabelsOverflow&&Ne._adjustTickLabelsOverflow()}else{var jn=s.bBox(kn.node()).width*{end:-.5,start:.5}[sn];kn.attr("transform",Tn+h(jn,0))}})}Rt.enter().append("g").classed(It,1).append("text").attr("text-anchor","middle").each(function(xn){var un=d.select(this),An=Re._promises.length;un.call(l.positionText,yt.xFn(xn),yt.yFn(xn)).call(s.font,xn.font,xn.fontSize,xn.fontColor).text(xn.text).call(l.convertToTspans,Re),Re._promises[An]?Nt.push(Re._promises.pop().then(function(){$t(un,Pt)})):$t(un,Pt)}),nt(Ne,[U]),Rt.exit().remove(),Qe.repositionOnUpdate&&Rt.each(function(xn){d.select(this).select("text").call(l.positionText,yt.xFn(xn),yt.yFn(xn))}),Ne._adjustTickLabelsOverflow=function(){var xn=Ne.ticklabeloverflow;if(xn&&xn!=="allow"){var un=xn.indexOf("hide")!==-1,An=Ne._id.charAt(0)==="x",$n=0,kn=An?Re._fullLayout.width:Re._fullLayout.height;if(xn.indexOf("domain")!==-1){var sn=v.simpleMap(Ne.range,Ne.r2l);$n=Ne.l2p(sn[0])+Ne._offset,kn=Ne.l2p(sn[1])+Ne._offset}var Tn=Math.min($n,kn),dn=Math.max($n,kn),pn=Ne.side,Dn=1/0,In=-1/0;for(var jn in Rt.each(function(lr){var rr=d.select(this);if(rr.select(".text-math-group").empty()){var Sr=s.bBox(rr.node()),yr=0;An?(Sr.right>dn||Sr.leftdn||Sr.top+(Ne.tickangle?0:lr.fontSize/4)Ne["_visibleLabelMin_"+sn._id]?qn.style("display","none"):dn.K!=="tick"||Tn||qn.style("display",null)})})})})},$t(Rt,wt+1?wt:Pt);var Wt=null;Ne._selections&&(Ne._selections[It]=Rt);var Xt=[function(){return Nt.length&&Promise.all(Nt)}];Ne.automargin&&ut._redrawFromAutoMarginCount&&wt===90?(Wt=90,Xt.push(function(){$t(Rt,wt)})):Xt.push(function(){if($t(Rt,Pt),Lt.length&&_t==="x"&&!y(Pt)&&(Ne.type!=="log"||String(Ne.dtick).charAt(0)!=="D")){Wt=0;var xn,un=0,An=[];if(Rt.each(function(rr){un=Math.max(un,rr.fontSize);var Sr=Ne.l2p(rr.x),yr=kt(this),or=s.bBox(yr.node());An.push({top:0,bottom:10,height:10,left:Sr-or.width/2,right:Sr+or.width/2+2,width:or.width+2})}),Ne.tickson!=="boundaries"&&!Ne.showdividers||Qe.secondary){var $n=Lt.length,kn=Math.abs((Lt[$n-1].x-Lt[0].x)*Ne._m)/($n-1),sn=Ne.ticklabelposition||"",Tn=function(rr){return sn.indexOf(rr)!==-1},dn=Tn("top"),pn=Tn("left"),Dn=Tn("right"),In=Tn("bottom")||pn||dn||Dn?(Ne.tickwidth||0)+6:0,jn=kn<2.5*un||Ne.type==="multicategory"||Ne._name==="realaxis";for(xn=0;xn1)for(Lt=1;Lt2*b}(f,o))return"date";var x=c.autotypenumbers!=="strict";return function(T,E){for(var _=T.length,A=u(_),L=0,b=0,R={},I=0;I<_;I+=A){var O=T[l(I)],z=String(O);if(!R[z]){R[z]=1;var F=typeof O;F==="boolean"?b++:(E?h(O)!==i:F==="number")?L++:F==="string"&&b++}}return b>2*L}(f,x)?"category":function(T,E){for(var _=T.length,A=0;A<_;A++)if(a(T[A],E))return!0;return!1}(f,x)?"linear":"-"}},71453:function(k,m,t){var d=t(92770),y=t(73972),i=t(71828),M=t(44467),v=t(85501),h=t(13838),l=t(26218),a=t(38701),u=t(96115),s=t(89426),o=t(15258),c=t(92128),f=t(21994),p=t(85555).WEEKDAY_PATTERN,w=t(85555).HOUR_PATTERN;function g(T,E,_){function A(B,N){return i.coerce(T,E,h.rangebreaks,B,N)}if(A("enabled")){var L=A("bounds");if(L&&L.length>=2){var b,R,I="";if(L.length===2){for(b=0;b<2;b++)if(R=x(L[b])){I=p;break}}var O=A("pattern",I);if(O===p)for(b=0;b<2;b++)(R=x(L[b]))&&(E.bounds[b]=L[b]=R-1);if(O)for(b=0;b<2;b++)switch(R=L[b],O){case p:if(!d(R)||(R=+R)!==Math.floor(R)||R<0||R>=7)return void(E.enabled=!1);E.bounds[b]=L[b]=R;break;case w:if(!d(R)||(R=+R)<0||R>24)return void(E.enabled=!1);E.bounds[b]=L[b]=R}if(_.autorange===!1){var z=_.range;if(z[0]z[1])return void(E.enabled=!1)}else if(L[0]>z[0]&&L[1]l?1:-1:+(M.substr(1)||1)-+(v.substr(1)||1)},m.ref2id=function(M){return!!/^[xyz]/.test(M)&&M.split(" ")[0]},m.isLinked=function(M,v){return i(v,M._axisMatchGroups)||i(v,M._axisConstraintGroups)}},15258:function(k){k.exports=function(m,t,d,y){if(t.type==="category"){var i,M=m.categoryarray,v=Array.isArray(M)&&M.length>0;v&&(i="array");var h,l=d("categoryorder",i);l==="array"&&(h=d("categoryarray")),v||l!=="array"||(l=t.categoryorder="trace"),l==="trace"?t._initialCategories=[]:l==="array"?t._initialCategories=h.slice():(h=function(a,u){var s,o,c,f=u.dataAttr||a._id.charAt(0),p={};if(u.axData)s=u.axData;else for(s=[],o=0;oT?E.substr(T):_.substr(x))+A:E+_+g*S:A}function p(g,S){for(var x=S._size,T=x.h/x.w,E={},_=Object.keys(g),A=0;A<_.length;A++){var L=_[A],b=g[L];if(typeof b=="string"){var R=b.match(/^[xy]*/)[0],I=R.length;b=+b.substr(I);for(var O=R.charAt(0)==="y"?T:1/T,z=0;zl*F)||j){for(x=0;xQ&&ueZ&&(Z=ue);b/=(Z-te)/(2*X),te=_.l2r(te),Z=_.l2r(Z),_.range=_._input.range=q=0?Math.min(ue,.9):1/(1/Math.max(ue,-.3)+3.222))}function q(ue,ce,ye,de,me){return ue.append("path").attr("class","zoombox").style({fill:ce>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("transform",l(ye,de)).attr("d",me+"Z")}function H(ue,ce,ye){return ue.append("path").attr("class","zoombox-corners").style({fill:u.background,stroke:u.defaultLine,"stroke-width":1,opacity:0}).attr("transform",l(ce,ye)).attr("d","M0,0Z")}function ne(ue,ce,ye,de,me,pe){ue.attr("d",de+"M"+ye.l+","+ye.t+"v"+ye.h+"h"+ye.w+"v-"+ye.h+"h-"+ye.w+"Z"),te(ue,ce,me,pe)}function te(ue,ce,ye,de){ye||(ue.transition().style("fill",de>.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),ce.transition().style("opacity",1).duration(200))}function Z(ue){d.select(ue).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}function X(ue){B&&ue.data&&ue._context.showTips&&(y.notifier(y._(ue,"Double-click to zoom back out"),"long"),B=!1)}function Q(ue){var ce=Math.floor(Math.min(ue.b-ue.t,ue.r-ue.l,F)/2);return"M"+(ue.l-3.5)+","+(ue.t-.5+ce)+"h3v"+-ce+"h"+ce+"v-3h-"+(ce+3)+"ZM"+(ue.r+3.5)+","+(ue.t-.5+ce)+"h-3v"+-ce+"h"+-ce+"v-3h"+(ce+3)+"ZM"+(ue.r+3.5)+","+(ue.b+.5-ce)+"h-3v"+ce+"h"+-ce+"v3h"+(ce+3)+"ZM"+(ue.l-3.5)+","+(ue.b+.5-ce)+"h3v"+ce+"h"+ce+"v3h-"+(ce+3)+"Z"}function re(ue,ce,ye,de,me){for(var pe,xe,Pe,_e,Me=!1,Se={},Ce={},ae=(me||{}).xaHash,he=(me||{}).yaHash,be=0;be=0)dn._fullLayout._deactivateShape(dn);else{var pn=dn._fullLayout.clickmode;if(Z(dn),sn!==2||Ft||rn(),xt)pn.indexOf("select")>-1&&R(Tn,dn,ae,he,ce.id,dt),pn.indexOf("event")>-1&&o.click(dn,Tn,ce.id);else if(sn===1&&Ft){var Dn=xe?Me:_e,In=xe==="s"||Pe==="w"?0:1,jn=Dn._name+".range["+In+"]",Gn=function(rr,Sr){var yr,or=rr.range[Sr],vr=Math.abs(or-rr.range[1-Sr]);return rr.type==="date"?or:rr.type==="log"?(yr=Math.ceil(Math.max(0,-Math.log(vr)/Math.LN10))+3,i("."+yr+"g")(Math.pow(10,or))):(yr=Math.floor(Math.log(Math.abs(or))/Math.LN10)-Math.floor(Math.log(vr)/Math.LN10)+4,i("."+String(yr)+"g")(or))}(Dn,In),qn="left",lr="middle";if(Dn.fixedrange)return;xe?(lr=xe==="n"?"top":"bottom",Dn.side==="right"&&(qn="right")):Pe==="e"&&(qn="right"),dn._context.showAxisRangeEntryBoxes&&d.select(qt).call(a.makeEditable,{gd:dn,immediate:!0,background:dn._fullLayout.paper_bgcolor,text:String(Gn),fill:Dn.tickfont?Dn.tickfont.color:"#444",horizontalAlign:qn,verticalAlign:lr}).on("edit",function(rr){var Sr=Dn.d2r(rr);Sr!==void 0&&h.call("_guiRelayout",dn,jn,Sr)})}}}function Lt(sn,Tn){if(ue._transitioningWithDuration)return!1;var dn=Math.max(0,Math.min(Le,bt*sn+Vt)),pn=Math.max(0,Math.min(Be,Et*Tn+Ke)),Dn=Math.abs(dn-Vt),In=Math.abs(pn-Ke);function jn(){Re="",Je.r=Je.l,Je.t=Je.b,Qe.attr("d","M0,0Z")}if(Je.l=Math.min(Vt,dn),Je.r=Math.max(Vt,dn),Je.t=Math.min(Ke,pn),Je.b=Math.max(Ke,pn),ze.isSubplotConstrained)Dn>F||In>F?(Re="xy",Dn/Le>In/Be?(In=Dn*Be/Le,Ke>pn?Je.t=Ke-In:Je.b=Ke+In):(Dn=In*Le/Be,Vt>dn?Je.l=Vt-Dn:Je.r=Vt+Dn),Qe.attr("d",Q(Je))):jn();else if(je.isSubplotConstrained)if(Dn>F||In>F){Re="xy";var Gn=Math.min(Je.l/Le,(Be-Je.b)/Be),qn=Math.max(Je.r/Le,(Be-Je.t)/Be);Je.l=Gn*Le,Je.r=qn*Le,Je.b=(1-Gn)*Be,Je.t=(1-qn)*Be,Qe.attr("d",Q(Je))}else jn();else!we||In0){var lr;if(je.isSubplotConstrained||!ge&&we.length===1){for(lr=0;lr_[1]-.000244140625&&(M.domain=a),y.noneOrAll(i.domain,M.domain,a),M.tickmode==="sync"&&(M.tickmode="auto")}return v("layer"),M}},89426:function(k,m,t){var d=t(59652);k.exports=function(y,i,M,v,h){h||(h={});var l=h.tickSuffixDflt,a=d(y);M("tickprefix")&&M("showtickprefix",a),M("ticksuffix",l)&&M("showticksuffix",a)}},42449:function(k,m,t){var d=t(18783).FROM_BL;k.exports=function(y,i,M){M===void 0&&(M=d[y.constraintoward||"center"]);var v=[y.r2l(y.range[0]),y.r2l(y.range[1])],h=v[0]+(v[1]-v[0])*M;y.range=y._input.range=[y.l2r(h+(v[0]-h)*i),y.l2r(h+(v[1]-h)*i)],y.setScale()}},21994:function(k,m,t){var d=t(39898),y=t(84096).g0,i=t(71828),M=i.numberFormat,v=t(92770),h=i.cleanNumber,l=i.ms2DateTime,a=i.dateTime2ms,u=i.ensureNumber,s=i.isArrayOrTypedArray,o=t(50606),c=o.FP_SAFE,f=o.BADNUM,p=o.LOG_CLIP,w=o.ONEWEEK,g=o.ONEDAY,S=o.ONEHOUR,x=o.ONEMIN,T=o.ONESEC,E=t(41675),_=t(85555),A=_.HOUR_PATTERN,L=_.WEEKDAY_PATTERN;function b(I){return Math.pow(10,I)}function R(I){return I!=null}k.exports=function(I,O){O=O||{};var z=I._id||"x",F=z.charAt(0);function B(re,ie){if(re>0)return Math.log(re)/Math.LN10;if(re<=0&&ie&&I.range&&I.range.length===2){var oe=I.range[0],ue=I.range[1];return .5*(oe+ue-2*p*Math.abs(oe-ue))}return f}function N(re,ie,oe,ue){if((ue||{}).msUTC&&v(re))return+re;var ce=a(re,oe||I.calendar);if(ce===f){if(!v(re))return f;re=+re;var ye=Math.floor(10*i.mod(re+.05,1)),de=Math.round(re-ye/10);ce=a(new Date(de))+ye/10}return ce}function W(re,ie,oe){return l(re,ie,oe||I.calendar)}function j(re){return I._categories[Math.round(re)]}function Y(re){if(R(re)){if(I._categoriesMap===void 0&&(I._categoriesMap={}),I._categoriesMap[re]!==void 0)return I._categoriesMap[re];I._categories.push(typeof re=="number"?String(re):re);var ie=I._categories.length-1;return I._categoriesMap[re]=ie,ie}return f}function U(re){if(I._categoriesMap)return I._categoriesMap[re]}function G(re){var ie=U(re);return ie!==void 0?ie:v(re)?+re:void 0}function q(re){return v(re)?+re:U(re)}function H(re,ie,oe){return d.round(oe+ie*re,2)}function ne(re,ie,oe){return(re-oe)/ie}var te=function(re){return v(re)?H(re,I._m,I._b):f},Z=function(re){return ne(re,I._m,I._b)};if(I.rangebreaks){var X=F==="y";te=function(re){if(!v(re))return f;var ie=I._rangebreaks.length;if(!ie)return H(re,I._m,I._b);var oe=X;I.range[0]>I.range[1]&&(oe=!oe);for(var ue=oe?-1:1,ce=ue*re,ye=0,de=0;depe)){ye=ce<(me+pe)/2?de:de+1;break}ye=de+1}var xe=I._B[ye]||0;return isFinite(xe)?H(re,I._m2,xe):0},Z=function(re){var ie=I._rangebreaks.length;if(!ie)return ne(re,I._m,I._b);for(var oe=0,ue=0;ueI._rangebreaks[ue].pmax&&(oe=ue+1);return ne(re,I._m2,I._B[oe])}}I.c2l=I.type==="log"?B:u,I.l2c=I.type==="log"?b:u,I.l2p=te,I.p2l=Z,I.c2p=I.type==="log"?function(re,ie){return te(B(re,ie))}:te,I.p2c=I.type==="log"?function(re){return b(Z(re))}:Z,["linear","-"].indexOf(I.type)!==-1?(I.d2r=I.r2d=I.d2c=I.r2c=I.d2l=I.r2l=h,I.c2d=I.c2r=I.l2d=I.l2r=u,I.d2p=I.r2p=function(re){return I.l2p(h(re))},I.p2d=I.p2r=Z,I.cleanPos=u):I.type==="log"?(I.d2r=I.d2l=function(re,ie){return B(h(re),ie)},I.r2d=I.r2c=function(re){return b(h(re))},I.d2c=I.r2l=h,I.c2d=I.l2r=u,I.c2r=B,I.l2d=b,I.d2p=function(re,ie){return I.l2p(I.d2r(re,ie))},I.p2d=function(re){return b(Z(re))},I.r2p=function(re){return I.l2p(h(re))},I.p2r=Z,I.cleanPos=u):I.type==="date"?(I.d2r=I.r2d=i.identity,I.d2c=I.r2c=I.d2l=I.r2l=N,I.c2d=I.c2r=I.l2d=I.l2r=W,I.d2p=I.r2p=function(re,ie,oe){return I.l2p(N(re,0,oe))},I.p2d=I.p2r=function(re,ie,oe){return W(Z(re),ie,oe)},I.cleanPos=function(re){return i.cleanDate(re,f,I.calendar)}):I.type==="category"?(I.d2c=I.d2l=Y,I.r2d=I.c2d=I.l2d=j,I.d2r=I.d2l_noadd=G,I.r2c=function(re){var ie=q(re);return ie!==void 0?ie:I.fraction2r(.5)},I.l2r=I.c2r=u,I.r2l=q,I.d2p=function(re){return I.l2p(I.r2c(re))},I.p2d=function(re){return j(Z(re))},I.r2p=I.d2p,I.p2r=Z,I.cleanPos=function(re){return typeof re=="string"&&re!==""?re:u(re)}):I.type==="multicategory"&&(I.r2d=I.c2d=I.l2d=j,I.d2r=I.d2l_noadd=G,I.r2c=function(re){var ie=G(re);return ie!==void 0?ie:I.fraction2r(.5)},I.r2c_just_indices=U,I.l2r=I.c2r=u,I.r2l=G,I.d2p=function(re){return I.l2p(I.r2c(re))},I.p2d=function(re){return j(Z(re))},I.r2p=I.d2p,I.p2r=Z,I.cleanPos=function(re){return Array.isArray(re)||typeof re=="string"&&re!==""?re:u(re)},I.setupMultiCategory=function(re){var ie,oe,ue=I._traceIndices,ce=I._matchGroup;if(ce&&I._categories.length===0){for(var ye in ce)if(ye!==z){var de=O[E.id2name(ye)];ue=ue.concat(de._traceIndices)}}var me=[[0,{}],[0,{}]],pe=[];for(ie=0;iec&&(ce[oe]=c),ce[0]===ce[1]){var de=Math.max(1,Math.abs(1e-6*ce[0]));ce[0]-=de,ce[1]+=de}}else i.nestedProperty(I,re).set(ue)},I.setScale=function(re){var ie=O._size;if(I.overlaying){var oe=E.getFromId({_fullLayout:O},I.overlaying);I.domain=oe.domain}var ue=re&&I._r?"_r":"range",ce=I.calendar;I.cleanRange(ue);var ye,de,me=I.r2l(I[ue][0],ce),pe=I.r2l(I[ue][1],ce),xe=F==="y";if(xe?(I._offset=ie.t+(1-I.domain[1])*ie.h,I._length=ie.h*(I.domain[1]-I.domain[0]),I._m=I._length/(me-pe),I._b=-I._m*pe):(I._offset=ie.l+I.domain[0]*ie.w,I._length=ie.w*(I.domain[1]-I.domain[0]),I._m=I._length/(pe-me),I._b=-I._m*me),I._rangebreaks=[],I._lBreaks=0,I._m2=0,I._B=[],I.rangebreaks&&(I._rangebreaks=I.locateBreaks(Math.min(me,pe),Math.max(me,pe)),I._rangebreaks.length)){for(ye=0;yepe&&(Pe=!Pe),Pe&&I._rangebreaks.reverse();var _e=Pe?-1:1;for(I._m2=_e*I._length/(Math.abs(pe-me)-I._lBreaks),I._B.push(-I._m2*(xe?pe:me)),ye=0;yeue&&(ue+=7,ceue&&(ue+=24,ce=oe&&ce=oe&&re=je.min&&(keje.max&&(je.max=Le),Be=!1)}Be&&de.push({min:ke,max:Le})}};for(oe=0;oea.duration?(function(){for(var A={},L=0;L rect").call(M.setTranslate,0,0).call(M.setScale,1,1),x.plot.call(M.setTranslate,T._offset,E._offset).call(M.setScale,1,1);var _=x.plot.selectAll(".scatterlayer .trace");_.selectAll(".point").call(M.setPointGroupScale,1,1),_.selectAll(".textpoint").call(M.setTextPointsScale,1,1),_.call(M.hideOutsideRangePoints,x)}function S(x,T){var E=x.plotinfo,_=E.xaxis,A=E.yaxis,L=_._length,b=A._length,R=!!x.xr1,I=!!x.yr1,O=[];if(R){var z=i.simpleMap(x.xr0,_.r2l),F=i.simpleMap(x.xr1,_.r2l),B=z[1]-z[0],N=F[1]-F[0];O[0]=(z[0]*(1-T)+T*F[0]-z[0])/(z[1]-z[0])*L,O[2]=L*(1-T+T*N/B),_.range[0]=_.l2r(z[0]*(1-T)+T*F[0]),_.range[1]=_.l2r(z[1]*(1-T)+T*F[1])}else O[0]=0,O[2]=L;if(I){var W=i.simpleMap(x.yr0,A.r2l),j=i.simpleMap(x.yr1,A.r2l),Y=W[1]-W[0],U=j[1]-j[0];O[1]=(W[1]*(1-T)+T*j[1]-W[1])/(W[0]-W[1])*b,O[3]=b*(1-T+T*U/Y),A.range[0]=_.l2r(W[0]*(1-T)+T*j[0]),A.range[1]=A.l2r(W[1]*(1-T)+T*j[1])}else O[1]=0,O[3]=b;v.drawOne(h,_,{skipTitle:!0}),v.drawOne(h,A,{skipTitle:!0}),v.redrawComponents(h,[_._id,A._id]);var G=R?L/O[2]:1,q=I?b/O[3]:1,H=R?O[0]:0,ne=I?O[1]:0,te=R?O[0]/O[2]*L:0,Z=I?O[1]/O[3]*b:0,X=_._offset-te,Q=A._offset-Z;E.clipRect.call(M.setTranslate,H,ne).call(M.setScale,1/G,1/q),E.plot.call(M.setTranslate,X,Q).call(M.setScale,G,q),M.setPointGroupScale(E.zoomScalePts,1/G,1/q),M.setTextPointsScale(E.zoomScaleTxt,1/G,1/q)}v.redrawComponents(h)}},951:function(k,m,t){var d=t(73972).traceIs,y=t(4322);function i(v){return{v:"x",h:"y"}[v.orientation||"v"]}function M(v,h){var l=i(v),a=d(v,"box-violin"),u=d(v._fullInput||{},"candlestick");return a&&!u&&h===l&&v[l]===void 0&&v[l+"0"]===void 0}k.exports=function(v,h,l,a){l("autotypenumbers",a.autotypenumbersDflt),l("type",(a.splomStash||{}).type)==="-"&&(function(u,s){if(u.type==="-"){var o,c=u._id,f=c.charAt(0);c.indexOf("scene")!==-1&&(c=f);var p=function(A,L,b){for(var R=0;R0&&(I["_"+b+"axes"]||{})[L]||(I[b+"axis"]||b)===L&&(M(I,b)||(I[b]||[]).length||I[b+"0"]))return I}}(s,c,f);if(p)if(p.type!=="histogram"||f!=={v:"y",h:"x"}[p.orientation||"v"]){var w=f+"calendar",g=p[w],S={noMultiCategory:!d(p,"cartesian")||d(p,"noMultiCategory")};if(p.type==="box"&&p._hasPreCompStats&&f==={h:"x",v:"y"}[p.orientation||"v"]&&(S.noMultiCategory=!0),S.autotypenumbers=u.autotypenumbers,M(p,f)){var x=i(p),T=[];for(o=0;o0?".":"")+o;y.isPlainObject(c)?h(c,a,f,s+1):a(f,o,c)}})}m.manageCommandObserver=function(l,a,u,s){var o={},c=!0;a&&a._commandObserver&&(o=a._commandObserver),o.cache||(o.cache={}),o.lookupTable={};var f=m.hasSimpleAPICommandBindings(l,u,o.lookupTable);if(a&&a._commandObserver){if(f)return o;if(a._commandObserver.remove)return a._commandObserver.remove(),a._commandObserver=null,o}if(f){i(l,f,o.cache),o.check=function(){if(c){var g=i(l,f,o.cache);return g.changed&&s&&o.lookupTable[g.value]!==void 0&&(o.disable(),Promise.resolve(s({value:g.value,type:f.type,prop:f.prop,traces:f.traces,index:o.lookupTable[g.value]})).then(o.enable,o.enable)),g.changed}};for(var p=["plotly_relayout","plotly_redraw","plotly_restyle","plotly_update","plotly_animatingframe","plotly_afterplot"],w=0;w0&&N<0&&(N+=360);var Y=(N-B)/4;return{type:"Polygon",coordinates:[[[B,W],[B,j],[B+Y,j],[B+2*Y,j],[B+3*Y,j],[N,j],[N,W],[N-Y,W],[N-2*Y,W],[N-3*Y,W],[B,W]]]}}k.exports=function(O){return new b(O)},R.plot=function(O,z,F,B){var N=this;if(B)return N.update(O,z,!0);N._geoCalcData=O,N._fullLayout=z;var W=z[this.id],j=[],Y=!1;for(var U in E.layerNameToAdjective)if(U!=="frame"&&W["show"+U]){Y=!0;break}for(var G=!1,q=0;q0&&j._module.calcGeoJSON(W,z)}if(!F){if(this.updateProjection(O,z))return;this.viewInitial&&this.scope===B.scope||this.saveViewInitial(B)}this.scope=B.scope,this.updateBaseLayers(z,B),this.updateDims(z,B),this.updateFx(z,B),c.generalUpdatePerTraceModule(this.graphDiv,this,O,B);var Y=this.layers.frontplot.select(".scatterlayer");this.dataPoints.point=Y.selectAll(".point"),this.dataPoints.text=Y.selectAll("text"),this.dataPaths.line=Y.selectAll(".js-line");var U=this.layers.backplot.select(".choroplethlayer");this.dataPaths.choropleth=U.selectAll("path"),this._render()},R.updateProjection=function(O,z){var F=this.graphDiv,B=z[this.id],N=z._size,W=B.domain,j=B.projection,Y=B.lonaxis,U=B.lataxis,G=Y._ax,q=U._ax,H=this.projection=function(Ce){var ae=Ce.projection,he=ae.type,be=E.projNames[he];be="geo"+l.titleCase(be);for(var ke=(y[be]||v[be])(),Le=Ce._isSatellite?180*Math.acos(1/ae.distance)/Math.PI:Ce._isClipped?E.lonaxisSpan[he]/2:null,Be=["center","rotate","parallels","clipExtent"],ze=function(we){return we?ke:[]},je=0;jeLe*Math.PI/180}return!1},ke.getPath=function(){return i().projection(ke)},ke.getBounds=function(we){return ke.getPath().bounds(we)},ke.precision(E.precision),Ce._isSatellite&&ke.tilt(ae.tilt).distance(ae.distance),Le&&ke.clipAngle(Le-E.clipPad),ke}(B),ne=[[N.l+N.w*W.x[0],N.t+N.h*(1-W.y[1])],[N.l+N.w*W.x[1],N.t+N.h*(1-W.y[0])]],te=B.center||{},Z=j.rotation||{},X=Y.range||[],Q=U.range||[];if(B.fitbounds){G._length=ne[1][0]-ne[0][0],q._length=ne[1][1]-ne[0][1],G.range=p(F,G),q.range=p(F,q);var re=(G.range[0]+G.range[1])/2,ie=(q.range[0]+q.range[1])/2;if(B._isScoped)te={lon:re,lat:ie};else if(B._isClipped){te={lon:re,lat:ie},Z={lon:re,lat:ie,roll:Z.roll};var oe=j.type,ue=E.lonaxisSpan[oe]/2||180,ce=E.lataxisSpan[oe]/2||90;X=[re-ue,re+ue],Q=[ie-ce,ie+ce]}else te={lon:re,lat:ie},Z={lon:re,lat:Z.lat,roll:Z.roll}}H.center([te.lon-Z.lon,te.lat-Z.lat]).rotate([-Z.lon,-Z.lat,Z.roll]).parallels(j.parallels);var ye=I(X,Q);H.fitExtent(ne,ye);var de=this.bounds=H.getBounds(ye),me=this.fitScale=H.scale(),pe=H.translate();if(B.fitbounds){var xe=H.getBounds(I(G.range,q.range)),Pe=Math.min((de[1][0]-de[0][0])/(xe[1][0]-xe[0][0]),(de[1][1]-de[0][1])/(xe[1][1]-xe[0][1]));isFinite(Pe)?H.scale(Pe*me):l.warn("Something went wrong during"+this.id+"fitbounds computations.")}else H.scale(j.scale*me);var _e=this.midPt=[(de[0][0]+de[1][0])/2,(de[0][1]+de[1][1])/2];if(H.translate([pe[0]+(_e[0]-pe[0]),pe[1]+(_e[1]-pe[1])]).clipExtent(de),B._isAlbersUsa){var Me=H([te.lon,te.lat]),Se=H.translate();H.translate([Se[0]-(Me[0]-Se[0]),Se[1]-(Me[1]-Se[1])])}},R.updateBaseLayers=function(O,z){var F=this,B=F.topojson,N=F.layers,W=F.basePaths;function j(H){return H==="lonaxis"||H==="lataxis"}function Y(H){return!!E.lineLayers[H]}function U(H){return!!E.fillLayers[H]}var G=(this.hasChoropleth?E.layersForChoropleth:E.layers).filter(function(H){return Y(H)||U(H)?z["show"+H]:!j(H)||z[H].showgrid}),q=F.framework.selectAll(".layer").data(G,String);q.exit().each(function(H){delete N[H],delete W[H],d.select(this).remove()}),q.enter().append("g").attr("class",function(H){return"layer "+H}).each(function(H){var ne=N[H]=d.select(this);H==="bg"?F.bgRect=ne.append("rect").style("pointer-events","all"):j(H)?W[H]=ne.append("path").style("fill","none"):H==="backplot"?ne.append("g").classed("choroplethlayer",!0):H==="frontplot"?ne.append("g").classed("scatterlayer",!0):Y(H)?W[H]=ne.append("path").style("fill","none").style("stroke-miterlimit",2):U(H)&&(W[H]=ne.append("path").style("stroke","none"))}),q.order(),q.each(function(H){var ne=W[H],te=E.layerNameToAdjective[H];H==="frame"?ne.datum(E.sphereSVG):Y(H)||U(H)?ne.datum(L(B,B.objects[H])):j(H)&&ne.datum(function(Z,X,Q){var re,ie,oe,ue=X[Z],ce=E.scopeDefaults[X.scope];Z==="lonaxis"?(re=ce.lonaxisRange,ie=ce.lataxisRange,oe=function(Se,Ce){return[Se,Ce]}):Z==="lataxis"&&(re=ce.lataxisRange,ie=ce.lonaxisRange,oe=function(Se,Ce){return[Ce,Se]});var ye={type:"linear",range:[re[0],re[1]-1e-6],tick0:ue.tick0,dtick:ue.dtick};f.setConvert(ye,Q);var de=f.calcTicks(ye);X.isScoped||Z!=="lonaxis"||de.pop();for(var me=de.length,pe=new Array(me),xe=0;xe-1&&x(d.event,B,[F.xaxis],[F.yaxis],F.id,Y),j.indexOf("event")>-1&&o.click(B,d.event))})}function U(G){return F.projection.invert([G[0]+F.xaxis._offset,G[1]+F.yaxis._offset])}},R.makeFramework=function(){var O=this,z=O.graphDiv,F=z._fullLayout,B="clip"+F._uid+O.id;O.clipDef=F._clips.append("clipPath").attr("id",B),O.clipRect=O.clipDef.append("rect"),O.framework=d.select(O.container).append("g").attr("class","geo "+O.id).call(s.setClipUrl,B,z),O.project=function(N){var W=O.projection(N);return W?[W[0]-O.xaxis._offset,W[1]-O.yaxis._offset]:[null,null]},O.xaxis={_id:"x",c2p:function(N){return O.project(N)[0]}},O.yaxis={_id:"y",c2p:function(N){return O.project(N)[1]}},O.mockAxis={type:"linear",showexponent:"all",exponentformat:"B"},f.setConvert(O.mockAxis,F)},R.saveViewInitial=function(O){var z,F=O.center||{},B=O.projection,N=B.rotation||{};this.viewInitial={fitbounds:O.fitbounds,"projection.scale":B.scale},z=O._isScoped?{"center.lon":F.lon,"center.lat":F.lat}:O._isClipped?{"projection.rotation.lon":N.lon,"projection.rotation.lat":N.lat}:{"center.lon":F.lon,"center.lat":F.lat,"projection.rotation.lon":N.lon},l.extendFlat(this.viewInitial,z)},R.render=function(O){this._hasMarkerAngles&&O?this.plot(this._geoCalcData,this._fullLayout,[],!0):this._render()},R._render=function(){var O,z=this.projection,F=z.getPath();function B(W){var j=z(W.lonlat);return j?a(j[0],j[1]):null}function N(W){return z.isLonLatOverEdges(W.lonlat)?"none":null}for(O in this.basePaths)this.basePaths[O].attr("d",F);for(O in this.dataPaths)this.dataPaths[O].attr("d",function(W){return F(W.geojson)});for(O in this.dataPoints)this.dataPoints[O].attr("display",N).attr("transform",B)}},44622:function(k,m,t){var d=t(27659).AU,y=t(71828).counterRegex,i=t(69082),M="geo",v=y(M),h={};h.geo={valType:"subplotid",dflt:M,editType:"calc"},k.exports={attr:M,name:M,idRoot:M,idRegex:v,attrRegex:v,attributes:h,layoutAttributes:t(77519),supplyLayoutDefaults:t(82161),plot:function(l){for(var a=l._fullLayout,u=l.calcdata,s=a._subplots.geo,o=0;o0&&U<0&&(U+=360);var G,q,H,ne=(Y+U)/2;if(!S){var te=x?w.projRotate:[ne,0,0];G=s("projection.rotation.lon",te[0]),s("projection.rotation.lat",te[1]),s("projection.rotation.roll",te[2]),s("showcoastlines",!x&&L)&&(s("coastlinecolor"),s("coastlinewidth")),s("showocean",!!L&&void 0)&&s("oceancolor")}S?(q=-96.6,H=38.7):(q=x?ne:G,H=(j[0]+j[1])/2),s("center.lon",q),s("center.lat",H),T&&(s("projection.tilt"),s("projection.distance")),E&&s("projection.parallels",w.projParallels||[0,60]),s("projection.scale"),s("showland",!!L&&void 0)&&s("landcolor"),s("showlakes",!!L&&void 0)&&s("lakecolor"),s("showrivers",!!L&&void 0)&&(s("rivercolor"),s("riverwidth")),s("showcountries",x&&p!=="usa"&&L)&&(s("countrycolor"),s("countrywidth")),(p==="usa"||p==="north america"&&f===50)&&(s("showsubunits",L),s("subunitcolor"),s("subunitwidth")),x||s("showframe",L)&&(s("framecolor"),s("framewidth")),s("bgcolor"),s("fitbounds")&&(delete u.projection.scale,x?(delete u.center.lon,delete u.center.lat):_?(delete u.center.lon,delete u.center.lat,delete u.projection.rotation.lon,delete u.projection.rotation.lat,delete u.lonaxis.range,delete u.lataxis.range):(delete u.center.lon,delete u.center.lat,delete u.projection.rotation.lon))}k.exports=function(a,u,s){y(a,u,s,{type:"geo",attributes:v,handleDefaults:l,fullData:s,partition:"y"})}},74455:function(k,m,t){var d=t(39898),y=t(71828),i=t(73972),M=Math.PI/180,v=180/Math.PI,h={cursor:"pointer"},l={cursor:"auto"};function a(L,b){return d.behavior.zoom().translate(b.translate()).scale(b.scale())}function u(L,b,R){var I=L.id,O=L.graphDiv,z=O.layout,F=z[I],B=O._fullLayout,N=B[I],W={},j={};function Y(U,G){W[I+"."+U]=y.nestedProperty(F,U).get(),i.call("_storeDirectGUIEdit",z,B._preGUI,W);var q=y.nestedProperty(N,U);q.get()!==G&&(q.set(G),y.nestedProperty(F,U).set(G),j[I+"."+U]=G)}R(Y),Y("projection.scale",b.scale()/L.fitScale),Y("fitbounds",!1),O.emit("plotly_relayout",j)}function s(L,b){var R=a(0,b);function I(O){var z=b.invert(L.midPt);O("center.lon",z[0]),O("center.lat",z[1])}return R.on("zoomstart",function(){d.select(this).style(h)}).on("zoom",function(){b.scale(d.event.scale).translate(d.event.translate),L.render(!0);var O=b.invert(L.midPt);L.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":b.scale()/L.fitScale,"geo.center.lon":O[0],"geo.center.lat":O[1]})}).on("zoomend",function(){d.select(this).style(l),u(L,b,I)}),R}function o(L,b){var R,I,O,z,F,B,N,W,j,Y=a(0,b);function U(q){return b.invert(q)}function G(q){var H=b.rotate(),ne=b.invert(L.midPt);q("projection.rotation.lon",-H[0]),q("center.lon",ne[0]),q("center.lat",ne[1])}return Y.on("zoomstart",function(){d.select(this).style(h),R=d.mouse(this),I=b.rotate(),O=b.translate(),z=I,F=U(R)}).on("zoom",function(){if(B=d.mouse(this),function(ne){var te=U(ne);if(!te)return!0;var Z=b(te);return Math.abs(Z[0]-ne[0])>2||Math.abs(Z[1]-ne[1])>2}(R))return Y.scale(b.scale()),void Y.translate(b.translate());b.scale(d.event.scale),b.translate([O[0],d.event.translate[1]]),F?U(B)&&(W=U(B),N=[z[0]+(W[0]-F[0]),I[1],I[2]],b.rotate(N),z=N):F=U(R=B),j=!0,L.render(!0);var q=b.rotate(),H=b.invert(L.midPt);L.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":b.scale()/L.fitScale,"geo.center.lon":H[0],"geo.center.lat":H[1],"geo.projection.rotation.lon":-q[0]})}).on("zoomend",function(){d.select(this).style(l),j&&u(L,b,G)}),Y}function c(L,b){var R;b.rotate(),b.scale();var I=a(0,b),O=function(Y){for(var U=0,G=arguments.length,q=[];++UG?(z=(j>0?90:-90)-U,O=0):(z=Math.asin(j/G)*v-U,O=Math.sqrt(G*G-j*j));var q=180-z-2*U,H=(Math.atan2(Y,W)-Math.atan2(N,O))*v,ne=(Math.atan2(Y,W)-Math.atan2(N,-O))*v;return x(R[0],R[1],z,H)<=x(R[0],R[1],q,ne)?[z,H,R[2]]:[q,ne,R[2]]}function x(L,b,R,I){var O=T(R-L),z=T(I-b);return Math.sqrt(O*O+z*z)}function T(L){return(L%360+540)%360-180}function E(L,b,R){var I=R*M,O=L.slice(),z=b===0?1:0,F=b===2?1:2,B=Math.cos(I),N=Math.sin(I);return O[z]=L[z]*B-L[F]*N,O[F]=L[F]*B+L[z]*N,O}function _(L){return[Math.atan2(2*(L[0]*L[1]+L[2]*L[3]),1-2*(L[1]*L[1]+L[2]*L[2]))*v,Math.asin(Math.max(-1,Math.min(1,2*(L[0]*L[2]-L[3]*L[1]))))*v,Math.atan2(2*(L[0]*L[3]+L[1]*L[2]),1-2*(L[2]*L[2]+L[3]*L[3]))*v]}function A(L,b){for(var R=0,I=0,O=L.length;IMath.abs(S)?(s.boxEnd[1]=s.boxStart[1]+Math.abs(g)*F*(S>=0?1:-1),s.boxEnd[1]x[3]&&(s.boxEnd[1]=x[3],s.boxEnd[0]=s.boxStart[0]+(x[3]-s.boxStart[1])/Math.abs(F))):(s.boxEnd[0]=s.boxStart[0]+Math.abs(S)/F*(g>=0?1:-1),s.boxEnd[0]x[2]&&(s.boxEnd[0]=x[2],s.boxEnd[1]=s.boxStart[1]+(x[2]-s.boxStart[0])*Math.abs(F)))}}else s.boxEnabled?(g=s.boxStart[0]!==s.boxEnd[0],S=s.boxStart[1]!==s.boxEnd[1],g||S?(g&&(b(0,s.boxStart[0],s.boxEnd[0]),l.xaxis.autorange=!1),S&&(b(1,s.boxStart[1],s.boxEnd[1]),l.yaxis.autorange=!1),l.relayoutCallback()):l.glplot.setDirty(),s.boxEnabled=!1,s.boxInited=!1):s.boxInited&&(s.boxInited=!1);break;case"pan":s.boxEnabled=!1,s.boxInited=!1,f?(s.panning||(s.dragStart[0]=p,s.dragStart[1]=w),Math.abs(s.dragStart[0]-p).999&&(_="turntable"):_="turntable")}else _="turntable";c("dragmode",_),c("hovermode",f.getDfltFromLayout("hovermode"))}k.exports=function(s,o,c){var f=o._basePlotModules.length>1;M(s,o,c,{type:a,attributes:h,handleDefaults:u,fullLayout:o,font:o.font,fullData:c,getDfltFromLayout:function(p){if(!f)return d.validate(s[p],h[p])?s[p]:void 0},autotypenumbersDflt:o.autotypenumbers,paper_bgcolor:o.paper_bgcolor,calendar:o.calendar})}},65500:function(k,m,t){var d=t(77894),y=t(27670).Y,i=t(1426).extendFlat,M=t(71828).counterRegex;function v(h,l,a){return{x:{valType:"number",dflt:h,editType:"camera"},y:{valType:"number",dflt:l,editType:"camera"},z:{valType:"number",dflt:a,editType:"camera"},editType:"camera"}}k.exports={_arrayAttrRegexps:[M("scene",".annotations",!0)],bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"plot"},camera:{up:i(v(0,0,1),{}),center:i(v(0,0,0),{}),eye:i(v(1.25,1.25,1.25),{}),projection:{type:{valType:"enumerated",values:["perspective","orthographic"],dflt:"perspective",editType:"calc"},editType:"calc"},editType:"camera"},domain:y({name:"scene",editType:"plot"}),aspectmode:{valType:"enumerated",values:["auto","cube","data","manual"],dflt:"auto",editType:"plot",impliedEdits:{"aspectratio.x":void 0,"aspectratio.y":void 0,"aspectratio.z":void 0}},aspectratio:{x:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},y:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},z:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},editType:"plot",impliedEdits:{aspectmode:"manual"}},xaxis:d,yaxis:d,zaxis:d,dragmode:{valType:"enumerated",values:["orbit","turntable","zoom","pan",!1],editType:"plot"},hovermode:{valType:"enumerated",values:["closest",!1],dflt:"closest",editType:"modebar"},uirevision:{valType:"any",editType:"none"},editType:"plot",_deprecated:{cameraposition:{valType:"info_array",editType:"camera"}}}},13133:function(k,m,t){var d=t(78614),y=["xaxis","yaxis","zaxis"];function i(){this.enabled=[!0,!0,!0],this.colors=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.drawSides=[!0,!0,!0],this.lineWidth=[1,1,1]}i.prototype.merge=function(M){for(var v=0;v<3;++v){var h=M[y[v]];h.visible?(this.enabled[v]=h.showspikes,this.colors[v]=d(h.spikecolor),this.drawSides[v]=h.spikesides,this.lineWidth[v]=h.spikethickness):(this.enabled[v]=!1,this.drawSides[v]=!1)}},k.exports=function(M){var v=new i;return v.merge(M),v}},96085:function(k,m,t){k.exports=function(v){for(var h=v.axesOptions,l=v.glplot.axesPixels,a=v.fullSceneLayout,u=[[],[],[]],s=0;s<3;++s){var o=a[i[s]];if(o._length=(l[s].hi-l[s].lo)*l[s].pixelsPerDataUnit/v.dataScale[s],Math.abs(o._length)===1/0||isNaN(o._length))u[s]=[];else{o._input_range=o.range.slice(),o.range[0]=l[s].lo/v.dataScale[s],o.range[1]=l[s].hi/v.dataScale[s],o._m=1/(v.dataScale[s]*l[s].pixelsPerDataUnit),o.range[0]===o.range[1]&&(o.range[0]-=1,o.range[1]+=1);var c=o.tickmode;if(o.tickmode==="auto"){o.tickmode="linear";var f=o.nticks||y.constrain(o._length/40,4,9);d.autoTicks(o,Math.abs(o.range[1]-o.range[0])/f)}for(var p=d.calcTicks(o,{msUTC:!0}),w=0;w/g," "));u[s]=p,o.tickmode=c}}for(h.ticks=u,s=0;s<3;++s)for(M[s]=.5*(v.glplot.bounds[0][s]+v.glplot.bounds[1][s]),w=0;w<2;++w)h.bounds[w][s]=v.glplot.bounds[w][s];v.contourLevels=function(g){for(var S=new Array(3),x=0;x<3;++x){for(var T=g[x],E=new Array(T.length),_=0;_B.deltaY?1.1:.9090909090909091,W=R.glplot.getAspectratio();R.glplot.setAspectratio({x:N*W.x,y:N*W.y,z:N*W.z})}F(R)}},!!l&&{passive:!1}),R.glplot.canvas.addEventListener("mousemove",function(){if(R.fullSceneLayout.dragmode!==!1&&R.camera.mouseListener.buttons!==0){var B=z();R.graphDiv.emit("plotly_relayouting",B)}}),R.staticMode||R.glplot.canvas.addEventListener("webglcontextlost",function(B){I&&I.emit&&I.emit("plotly_webglcontextlost",{event:B,layer:R.id})},!1)),R.glplot.oncontextloss=function(){R.recoverContext()},R.glplot.onrender=function(){R.render()},!0},_.render=function(){var R,I=this,O=I.graphDiv,z=I.svgContainer,F=I.container.getBoundingClientRect();O._fullLayout._calcInverseTransform(O);var B=O._fullLayout._invScaleX,N=O._fullLayout._invScaleY,W=F.width*B,j=F.height*N;z.setAttributeNS(null,"viewBox","0 0 "+W+" "+j),z.setAttributeNS(null,"width",W),z.setAttributeNS(null,"height",j),x(I),I.glplot.axes.update(I.axesOptions);for(var Y=Object.keys(I.traces),U=null,G=I.glplot.selection,q=0;q")):R.type==="isosurface"||R.type==="volume"?(Q.valueLabel=o.hoverLabelText(I._mockAxis,I._mockAxis.d2l(G.traceCoordinate[3]),R.valuehoverformat),ue.push("value: "+Q.valueLabel),G.textLabel&&ue.push(G.textLabel),te=ue.join("
")):te=G.textLabel;var ce={x:G.traceCoordinate[0],y:G.traceCoordinate[1],z:G.traceCoordinate[2],data:Z._input,fullData:Z,curveNumber:Z.index,pointNumber:X};c.appendArrayPointValue(ce,Z,X),R._module.eventData&&(ce=Z._module.eventData(ce,G,Z,{},X));var ye={points:[ce]};if(I.fullSceneLayout.hovermode){var de=[];c.loneHover({trace:Z,x:(.5+.5*ne[0]/ne[3])*W,y:(.5-.5*ne[1]/ne[3])*j,xLabel:Q.xLabel,yLabel:Q.yLabel,zLabel:Q.zLabel,text:te,name:U.name,color:c.castHoverOption(Z,X,"bgcolor")||U.color,borderColor:c.castHoverOption(Z,X,"bordercolor"),fontFamily:c.castHoverOption(Z,X,"font.family"),fontSize:c.castHoverOption(Z,X,"font.size"),fontColor:c.castHoverOption(Z,X,"font.color"),nameLength:c.castHoverOption(Z,X,"namelength"),textAlign:c.castHoverOption(Z,X,"align"),hovertemplate:u.castOption(Z,X,"hovertemplate"),hovertemplateLabels:u.extendFlat({},ce,Q),eventData:[ce]},{container:z,gd:O,inOut_bbox:de}),ce.bbox=de[0]}G.distance<5&&(G.buttons||T)?O.emit("plotly_click",ye):O.emit("plotly_hover",ye),this.oldEventData=ye}else c.loneUnhover(z),this.oldEventData&&O.emit("plotly_unhover",this.oldEventData),this.oldEventData=void 0;I.drawAnnotations(I)},_.recoverContext=function(){var R=this;R.glplot.dispose();var I=function(){R.glplot.gl.isContextLost()?requestAnimationFrame(I):R.initializeGLPlot()?R.plot.apply(R,R.plotArgs):u.error("Catastrophic and unrecoverable WebGL error. Context lost.")};requestAnimationFrame(I)};var L=["xaxis","yaxis","zaxis"];function b(R,I,O){for(var z=R.fullSceneLayout,F=0;F<3;F++){var B=L[F],N=B.charAt(0),W=z[B],j=I[N],Y=I[N+"calendar"],U=I["_"+N+"length"];if(u.isArrayOrTypedArray(j))for(var G,q=0;q<(U||j.length);q++)if(u.isArrayOrTypedArray(j[q]))for(var H=0;HZ[1][N])Z[0][N]=-1,Z[1][N]=1;else{var pe=Z[1][N]-Z[0][N];Z[0][N]-=pe/32,Z[1][N]+=pe/32}if(j.autorange==="reversed"){var xe=Z[0][N];Z[0][N]=Z[1][N],Z[1][N]=xe}}else{var Pe=j.range;Z[0][N]=j.r2l(Pe[0]),Z[1][N]=j.r2l(Pe[1])}Z[0][N]===Z[1][N]&&(Z[0][N]-=1,Z[1][N]+=1),X[N]=Z[1][N]-Z[0][N],z.glplot.setBounds(N,{min:Z[0][N]*H[N],max:Z[1][N]*H[N]})}var _e=U.aspectmode;if(_e==="cube")te=[1,1,1];else if(_e==="manual"){var Me=U.aspectratio;te=[Me.x,Me.y,Me.z]}else{if(_e!=="auto"&&_e!=="data")throw new Error("scene.js aspectRatio was not one of the enumerated types");var Se=[1,1,1];for(N=0;N<3;++N){var Ce=Q[Y=(j=U[L[N]]).type];Se[N]=Math.pow(Ce.acc,1/Ce.count)/H[N]}te=_e==="data"||Math.max.apply(null,Se)/Math.min.apply(null,Se)<=4?Se:[1,1,1]}U.aspectratio.x=G.aspectratio.x=te[0],U.aspectratio.y=G.aspectratio.y=te[1],U.aspectratio.z=G.aspectratio.z=te[2],z.glplot.setAspectratio(U.aspectratio),z.viewInitial.aspectratio||(z.viewInitial.aspectratio={x:U.aspectratio.x,y:U.aspectratio.y,z:U.aspectratio.z}),z.viewInitial.aspectmode||(z.viewInitial.aspectmode=U.aspectmode);var ae=U.domain||null,he=I._size||null;if(ae&&he){var be=z.container.style;be.position="absolute",be.left=he.l+ae.x[0]*he.w+"px",be.top=he.t+(1-ae.y[1])*he.h+"px",be.width=he.w*(ae.x[1]-ae.x[0])+"px",be.height=he.h*(ae.y[1]-ae.y[0])+"px"}z.glplot.redraw()}},_.destroy=function(){var R=this;R.glplot&&(R.camera.mouseListener.enabled=!1,R.container.removeEventListener("wheel",R.camera.wheelListener),R.camera=null,R.glplot.dispose(),R.container.parentNode.removeChild(R.container),R.glplot=null)},_.getCamera=function(){var R,I=this;return I.camera.view.recalcMatrix(I.camera.view.lastT()),{up:{x:(R=I.camera).up[0],y:R.up[1],z:R.up[2]},center:{x:R.center[0],y:R.center[1],z:R.center[2]},eye:{x:R.eye[0],y:R.eye[1],z:R.eye[2]},projection:{type:R._ortho===!0?"orthographic":"perspective"}}},_.setViewport=function(R){var I,O=this,z=R.camera;O.camera.lookAt.apply(this,[[(I=z).eye.x,I.eye.y,I.eye.z],[I.center.x,I.center.y,I.center.z],[I.up.x,I.up.y,I.up.z]]),O.glplot.setAspectratio(R.aspectratio),z.projection.type==="orthographic"!==O.camera._ortho&&(O.glplot.redraw(),O.glplot.clearRGBA(),O.glplot.dispose(),O.initializeGLPlot())},_.isCameraChanged=function(R){var I=this.getCamera(),O=u.nestedProperty(R,this.id+".camera").get();function z(W,j,Y,U){var G=["up","center","eye"],q=["x","y","z"];return j[G[Y]]&&W[G[Y]][q[U]]===j[G[Y]][q[U]]}var F=!1;if(O===void 0)F=!0;else{for(var B=0;B<3;B++)for(var N=0;N<3;N++)if(!z(I,O,B,N)){F=!0;break}(!O.projection||I.projection&&I.projection.type!==O.projection.type)&&(F=!0)}return F},_.isAspectChanged=function(R){var I=this.glplot.getAspectratio(),O=u.nestedProperty(R,this.id+".aspectratio").get();return O===void 0||O.x!==I.x||O.y!==I.y||O.z!==I.z},_.saveLayout=function(R){var I,O,z,F,B,N,W=this,j=W.fullLayout,Y=W.isCameraChanged(R),U=W.isAspectChanged(R),G=Y||U;if(G){var q={};Y&&(I=W.getCamera(),z=(O=u.nestedProperty(R,W.id+".camera")).get(),q[W.id+".camera"]=z),U&&(F=W.glplot.getAspectratio(),N=(B=u.nestedProperty(R,W.id+".aspectratio")).get(),q[W.id+".aspectratio"]=N),a.call("_storeDirectGUIEdit",R,j._preGUI,q),Y&&(O.set(I),u.nestedProperty(j,W.id+".camera").set(I)),U&&(B.set(F),u.nestedProperty(j,W.id+".aspectratio").set(F),W.glplot.redraw())}return G},_.updateFx=function(R,I){var O=this,z=O.camera;if(z)if(R==="orbit")z.mode="orbit",z.keyBindingMode="rotate";else if(R==="turntable"){z.up=[0,0,1],z.mode="turntable",z.keyBindingMode="rotate";var F=O.graphDiv,B=F._fullLayout,N=O.fullSceneLayout.camera,W=N.up.x,j=N.up.y,Y=N.up.z;if(Y/Math.sqrt(W*W+j*j+Y*Y)<.999){var U=O.id+".camera.up",G={x:0,y:0,z:1},q={};q[U]=G;var H=F.layout;a.call("_storeDirectGUIEdit",H,B._preGUI,q),N.up=G,u.nestedProperty(H,U).set(G)}}else z.keyBindingMode=R;O.fullSceneLayout.hovermode=I},_.toImage=function(R){var I=this;R||(R="png"),I.staticMode&&I.container.appendChild(d),I.glplot.redraw();var O=I.glplot.gl,z=O.drawingBufferWidth,F=O.drawingBufferHeight;O.bindFramebuffer(O.FRAMEBUFFER,null);var B=new Uint8Array(z*F*4);O.readPixels(0,0,z,F,O.RGBA,O.UNSIGNED_BYTE,B),function(U,G,q){for(var H=0,ne=q-1;H0)for(var X=255/Z,Q=0;Q<3;++Q)U[te+Q]=Math.min(X*U[te+Q],255)}}(B,z,F);var N=document.createElement("canvas");N.width=z,N.height=F;var W,j=N.getContext("2d",{willReadFrequently:!0}),Y=j.createImageData(z,F);switch(Y.data.set(B),j.putImageData(Y,0,0),R){case"jpeg":W=N.toDataURL("image/jpeg");break;case"webp":W=N.toDataURL("image/webp");break;default:W=N.toDataURL("image/png")}return I.staticMode&&I.container.removeChild(d),W},_.setConvert=function(){for(var R=0;R<3;R++){var I=this.fullSceneLayout[L[R]];o.setConvert(I,this.fullLayout),I.setScale=u.noop}},_.make4thDimension=function(){var R=this,I=R.graphDiv._fullLayout;R._mockAxis={type:"linear",showexponent:"all",exponentformat:"B"},o.setConvert(R._mockAxis,I)},k.exports=E},90060:function(k){k.exports=function(m,t,d,y){y=y||m.length;for(var i=new Array(y),M=0;MOpenStreetMap contributors',i=['© Carto',y].join(" "),M=['Map tiles by Stamen Design','under CC BY 3.0',"|",'Data by OpenStreetMap contributors','under ODbL'].join(" "),v={"open-street-map":{id:"osm",version:8,sources:{"plotly-osm-tiles":{type:"raster",attribution:y,tiles:["https://a.tile.openstreetmap.org/{z}/{x}/{y}.png","https://b.tile.openstreetmap.org/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-osm-tiles",type:"raster",source:"plotly-osm-tiles",minzoom:0,maxzoom:22}]},"white-bg":{id:"white-bg",version:8,sources:{},layers:[{id:"white-bg",type:"background",paint:{"background-color":"#FFFFFF"},minzoom:0,maxzoom:22}]},"carto-positron":{id:"carto-positron",version:8,sources:{"plotly-carto-positron":{type:"raster",attribution:i,tiles:["https://cartodb-basemaps-c.global.ssl.fastly.net/light_all/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-carto-positron",type:"raster",source:"plotly-carto-positron",minzoom:0,maxzoom:22}]},"carto-darkmatter":{id:"carto-darkmatter",version:8,sources:{"plotly-carto-darkmatter":{type:"raster",attribution:i,tiles:["https://cartodb-basemaps-c.global.ssl.fastly.net/dark_all/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-carto-darkmatter",type:"raster",source:"plotly-carto-darkmatter",minzoom:0,maxzoom:22}]},"stamen-terrain":{id:"stamen-terrain",version:8,sources:{"plotly-stamen-terrain":{type:"raster",attribution:M,tiles:["https://stamen-tiles.a.ssl.fastly.net/terrain/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-terrain",type:"raster",source:"plotly-stamen-terrain",minzoom:0,maxzoom:22}]},"stamen-toner":{id:"stamen-toner",version:8,sources:{"plotly-stamen-toner":{type:"raster",attribution:M,tiles:["https://stamen-tiles.a.ssl.fastly.net/toner/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-toner",type:"raster",source:"plotly-stamen-toner",minzoom:0,maxzoom:22}]},"stamen-watercolor":{id:"stamen-watercolor",version:8,sources:{"plotly-stamen-watercolor":{type:"raster",attribution:['Map tiles by Stamen Design','under CC BY 3.0',"|",'Data by OpenStreetMap contributors','under CC BY SA'].join(" "),tiles:["https://stamen-tiles.a.ssl.fastly.net/watercolor/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-watercolor",type:"raster",source:"plotly-stamen-watercolor",minzoom:0,maxzoom:22}]}},h=d(v);k.exports={requiredVersion:"1.10.1",styleUrlPrefix:"mapbox://styles/mapbox/",styleUrlSuffix:"v9",styleValuesMapbox:["basic","streets","outdoors","light","dark","satellite","satellite-streets"],styleValueDflt:"basic",stylesNonMapbox:v,styleValuesNonMapbox:h,traceLayerPrefix:"plotly-trace-layer-",layoutLayerPrefix:"plotly-layout-layer-",wrongVersionErrorMsg:["Your custom plotly.js bundle is not using the correct mapbox-gl version","Please install mapbox-gl@1.10.1."].join(` + `)};function nR(n){var e=!1;try{e=n instanceof BigInt64Array||n instanceof BigUint64Array}catch{}return n instanceof Int8Array||n instanceof Uint8Array||n instanceof Uint8ClampedArray||n instanceof Int16Array||n instanceof Uint16Array||n instanceof Int32Array||n instanceof Uint32Array||n instanceof Float32Array||n instanceof Float64Array||e}var rR=globalThis&&globalThis.__extends||function(){var n=function(e,r){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,D){C.__proto__=D}||function(C,D){for(var T in D)Object.prototype.hasOwnProperty.call(D,T)&&(C[T]=D[T])},n(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");n(e,r);function C(){this.constructor=e}e.prototype=r===null?Object.create(r):(C.prototype=r.prototype,new C)}}();(function(n){rR(e,n);function e(){return n!==null&&n.apply(this,arguments)||this}return e.prototype.componentDidMount=function(){Wu.setFrameHeight()},e.prototype.componentDidUpdate=function(){Wu.setFrameHeight()},e})(g9.PureComponent);const rc=i2("selection",{state:()=>({scanIndex:void 0,massIndex:void 0,proteinIndex:void 0,tagIndex:void 0,selectedObservedMass:void 0,AApos:void 0,tagData:void 0,counter:void 0,id:void 0,heatmap_deconv:void 0,heatmap_deconv2:void 0,heatmap_raw:void 0,heatmap_raw2:void 0}),getters:{selectedScanIndex:n=>n.scanIndex,selectedMassIndex:n=>n.massIndex,selectedProteinIndex:n=>n.proteinIndex,selectedTagIndex:n=>n.tagIndex,selectedAApos:n=>n.AApos,selectedTag:n=>n.tagData,selectedDeconvMS2Heatmap:n=>n.heatmap_deconv2,selectedDeconvHeatmap:n=>n.heatmap_deconv,selectedRawHeatmap:n=>n.heatmap_raw,selectedRawMS2Heatmap:n=>n.heatmap_raw2,selectedObservedMassFromFragmentTable:n=>n.selectedObservedMass},actions:{updateSelectedScan(n){this.scanIndex=n},updateSelectedMass(n){this.massIndex=n},updateSelectedProtein(n){this.proteinIndex=n},updateSelectedTag(n){this.tagIndex=n},selectedAminoAcid(n){this.selectedObservedMass=n},updateSelectedAA(n){this.AApos=n},updateTagData(n){this.tagData=n},updateRawHeatmapSelection(n){this.heatmap_raw=n},updateRawMS2HeatmapSelection(n){this.heatmap_raw2=n},updateDeconvHeatmapSelection(n){this.heatmap_deconv=n},updateDeconvMS2HeatmapSelection(n){this.heatmap_deconv2=n}}}),Ns=i2("streamlit-data",{state:()=>({renderData:null,dataForDrawing:{},dataset:"",hash:""}),getters:{args:n=>{var e;return(e=n.renderData)==null?void 0:e.args},components(){return this.args.components},allDataForDrawing:n=>n.dataForDrawing,sequenceData:n=>n.dataForDrawing.sequence_data,settings:n=>n.dataForDrawing.settings,internalFragmentData:n=>n.dataForDrawing.internal_fragment_data,theme:n=>{var e;return(e=n.renderData)==null?void 0:e.theme}},actions:{updateRenderData(n){var D;if(rc().$patch(T=>{if(n.args.selection_store.id!==T.id)for(const p in T)T[p]=void 0;Object.assign(T,n.args.selection_store)}),console.log(n.args.selection_store.id),this.hash===n.args.hash)return;this.hash=n.args.hash,delete n.args.selection_store,delete n.args.hash,this.dataForDrawing={},this.dataset=(D=n.args)==null?void 0:D.dataset,this.renderData=n;function r(T){if(typeof T=="bigint")return Number(T);if(T instanceof Ta){const p=[];for(let t=0;t{if(p instanceof tx){const t=[],d=p.table.schema.fields.map(g=>g.name);for(let g=0;g{var f;i[M]=r((f=p.table.getChildAt(v))==null?void 0:f.get(g))}),t.push(i)}this.dataForDrawing[T]=t}else this.dataForDrawing[T]=p})}}});var EM={exports:{}};(function(n,e){/*! For license information please see plotly.min.js.LICENSE.txt */(function(r,C){n.exports=C()})(self,function(){return function(){var r={98847:function(T,p,t){var d=t(71828),g={"X,X div":'direction:ltr;font-family:"Open Sans",verdana,arial,sans-serif;margin:0;padding:0;',"X input,X button":'font-family:"Open Sans",verdana,arial,sans-serif;',"X input:focus,X button:focus":"outline:none;","X a":"text-decoration:none;","X a:hover":"text-decoration:none;","X .crisp":"shape-rendering:crispEdges;","X .user-select-none":"-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;","X svg":"overflow:hidden;","X svg a":"fill:#447adb;","X svg a:hover":"fill:#3c6dc5;","X .main-svg":"position:absolute;top:0;left:0;pointer-events:none;","X .main-svg .draglayer":"pointer-events:all;","X .cursor-default":"cursor:default;","X .cursor-pointer":"cursor:pointer;","X .cursor-crosshair":"cursor:crosshair;","X .cursor-move":"cursor:move;","X .cursor-col-resize":"cursor:col-resize;","X .cursor-row-resize":"cursor:row-resize;","X .cursor-ns-resize":"cursor:ns-resize;","X .cursor-ew-resize":"cursor:ew-resize;","X .cursor-sw-resize":"cursor:sw-resize;","X .cursor-s-resize":"cursor:s-resize;","X .cursor-se-resize":"cursor:se-resize;","X .cursor-w-resize":"cursor:w-resize;","X .cursor-e-resize":"cursor:e-resize;","X .cursor-nw-resize":"cursor:nw-resize;","X .cursor-n-resize":"cursor:n-resize;","X .cursor-ne-resize":"cursor:ne-resize;","X .cursor-grab":"cursor:-webkit-grab;cursor:grab;","X .modebar":"position:absolute;top:2px;right:2px;","X .ease-bg":"-webkit-transition:background-color .3s ease 0s;-moz-transition:background-color .3s ease 0s;-ms-transition:background-color .3s ease 0s;-o-transition:background-color .3s ease 0s;transition:background-color .3s ease 0s;","X .modebar--hover>:not(.watermark)":"opacity:0;-webkit-transition:opacity .3s ease 0s;-moz-transition:opacity .3s ease 0s;-ms-transition:opacity .3s ease 0s;-o-transition:opacity .3s ease 0s;transition:opacity .3s ease 0s;","X:hover .modebar--hover .modebar-group":"opacity:1;","X .modebar-group":"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;","X .modebar-btn":"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;","X .modebar-btn svg":"position:relative;top:2px;","X .modebar.vertical":"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;","X .modebar.vertical svg":"top:-1px;","X .modebar.vertical .modebar-group":"display:block;float:none;padding-left:0px;padding-bottom:8px;","X .modebar.vertical .modebar-group .modebar-btn":"display:block;text-align:center;","X [data-title]:before,X [data-title]:after":"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none;opacity:0;z-index:1001;pointer-events:none;top:110%;right:50%;","X [data-title]:hover:before,X [data-title]:hover:after":"display:block;opacity:1;","X [data-title]:before":'content:"";position:absolute;background:rgba(0,0,0,0);border:6px solid rgba(0,0,0,0);z-index:1002;margin-top:-12px;border-bottom-color:#69738a;margin-right:-6px;',"X [data-title]:after":"content:attr(data-title);background:#69738a;color:#fff;padding:8px 10px;font-size:12px;line-height:12px;white-space:nowrap;margin-right:-18px;border-radius:2px;","X .vertical [data-title]:before,X .vertical [data-title]:after":"top:0%;right:200%;","X .vertical [data-title]:before":"border:6px solid rgba(0,0,0,0);border-left-color:#69738a;margin-top:8px;margin-right:-30px;",Y:'font-family:"Open Sans",verdana,arial,sans-serif;position:fixed;top:50px;right:20px;z-index:10000;font-size:10pt;max-width:180px;',"Y p":"margin:0;","Y .notifier-note":"min-width:180px;max-width:250px;border:1px solid #fff;z-index:3000;margin:0;background-color:#8c97af;background-color:rgba(140,151,175,.9);color:#fff;padding:10px;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-webkit-hyphens:auto;hyphens:auto;","Y .notifier-close":"color:#fff;opacity:.8;float:right;padding:0 5px;background:none;border:none;font-size:20px;font-weight:bold;line-height:20px;","Y .notifier-close:hover":"color:#444;text-decoration:none;cursor:pointer;"};for(var i in g){var M=i.replace(/^,/," ,").replace(/X/g,".js-plotly-plot .plotly").replace(/Y/g,".plotly-notifier");d.addStyleRule(M,g[i])}},98222:function(T,p,t){T.exports=t(82887)},27206:function(T,p,t){T.exports=t(60822)},59893:function(T,p,t){T.exports=t(23381)},5224:function(T,p,t){T.exports=t(83832)},59509:function(T,p,t){T.exports=t(72201)},75557:function(T,p,t){T.exports=t(91815)},40338:function(T,p,t){T.exports=t(21462)},35080:function(T,p,t){T.exports=t(51319)},61396:function(T,p,t){T.exports=t(57516)},40549:function(T,p,t){T.exports=t(98128)},49866:function(T,p,t){T.exports=t(99442)},36089:function(T,p,t){T.exports=t(93740)},19548:function(T,p,t){T.exports=t(8729)},35831:function(T,p,t){T.exports=t(93814)},61039:function(T,p,t){T.exports=t(14382)},97040:function(T,p,t){T.exports=t(51759)},77986:function(T,p,t){T.exports=t(10421)},24296:function(T,p,t){T.exports=t(43102)},58872:function(T,p,t){T.exports=t(92165)},29626:function(T,p,t){T.exports=t(3325)},65591:function(T,p,t){T.exports=t(36071)},69738:function(T,p,t){T.exports=t(43905)},92650:function(T,p,t){T.exports=t(35902)},35630:function(T,p,t){T.exports=t(69816)},73434:function(T,p,t){T.exports=t(94507)},27909:function(T,p,t){var d=t(19548);d.register([t(27206),t(5224),t(58872),t(65591),t(69738),t(92650),t(49866),t(25743),t(6197),t(97040),t(85461),t(73434),t(54201),t(81299),t(47645),t(35630),t(77986),t(83043),t(93005),t(96881),t(4534),t(50581),t(40549),t(77900),t(47582),t(35080),t(21641),t(17280),t(5861),t(29626),t(10021),t(65317),t(96268),t(61396),t(35831),t(16122),t(46163),t(40344),t(40338),t(48131),t(36089),t(55334),t(75557),t(19440),t(99488),t(59893),t(97393),t(98222),t(61039),t(24296),t(66398),t(59509)]),T.exports=d},46163:function(T,p,t){T.exports=t(15154)},96881:function(T,p,t){T.exports=t(64943)},50581:function(T,p,t){T.exports=t(21164)},55334:function(T,p,t){T.exports=t(54186)},65317:function(T,p,t){T.exports=t(94873)},10021:function(T,p,t){T.exports=t(67618)},54201:function(T,p,t){T.exports=t(58810)},5861:function(T,p,t){T.exports=t(20593)},16122:function(T,p,t){T.exports=t(29396)},83043:function(T,p,t){T.exports=t(13551)},48131:function(T,p,t){T.exports=t(46858)},47582:function(T,p,t){T.exports=t(17988)},21641:function(T,p,t){T.exports=t(68868)},96268:function(T,p,t){T.exports=t(20467)},19440:function(T,p,t){T.exports=t(91271)},99488:function(T,p,t){T.exports=t(21461)},97393:function(T,p,t){T.exports=t(85956)},25743:function(T,p,t){T.exports=t(52979)},66398:function(T,p,t){T.exports=t(32275)},17280:function(T,p,t){T.exports=t(6419)},77900:function(T,p,t){T.exports=t(61510)},81299:function(T,p,t){T.exports=t(87619)},93005:function(T,p,t){T.exports=t(93601)},40344:function(T,p,t){T.exports=t(96595)},47645:function(T,p,t){T.exports=t(70954)},6197:function(T,p,t){T.exports=t(47462)},4534:function(T,p,t){T.exports=t(17659)},85461:function(T,p,t){T.exports=t(19990)},82884:function(T){T.exports=[{path:"",backoff:0},{path:"M-2.4,-3V3L0.6,0Z",backoff:.6},{path:"M-3.7,-2.5V2.5L1.3,0Z",backoff:1.3},{path:"M-4.45,-3L-1.65,-0.2V0.2L-4.45,3L1.55,0Z",backoff:1.55},{path:"M-2.2,-2.2L-0.2,-0.2V0.2L-2.2,2.2L-1.4,3L1.6,0L-1.4,-3Z",backoff:1.6},{path:"M-4.4,-2.1L-0.6,-0.2V0.2L-4.4,2.1L-4,3L2,0L-4,-3Z",backoff:2},{path:"M2,0A2,2 0 1,1 0,-2A2,2 0 0,1 2,0Z",backoff:0,noRotate:!0},{path:"M2,2V-2H-2V2Z",backoff:0,noRotate:!0}]},50215:function(T,p,t){var d=t(82884),g=t(41940),i=t(85555),M=t(44467).templatedArray;t(24695),T.exports=M("annotation",{visible:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},text:{valType:"string",editType:"calc+arraydraw"},textangle:{valType:"angle",dflt:0,editType:"calc+arraydraw"},font:g({editType:"calc+arraydraw",colorEditType:"arraydraw"}),width:{valType:"number",min:1,dflt:null,editType:"calc+arraydraw"},height:{valType:"number",min:1,dflt:null,editType:"calc+arraydraw"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"arraydraw"},align:{valType:"enumerated",values:["left","center","right"],dflt:"center",editType:"arraydraw"},valign:{valType:"enumerated",values:["top","middle","bottom"],dflt:"middle",editType:"arraydraw"},bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},bordercolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},borderpad:{valType:"number",min:0,dflt:1,editType:"calc+arraydraw"},borderwidth:{valType:"number",min:0,dflt:1,editType:"calc+arraydraw"},showarrow:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},arrowcolor:{valType:"color",editType:"arraydraw"},arrowhead:{valType:"integer",min:0,max:d.length,dflt:1,editType:"arraydraw"},startarrowhead:{valType:"integer",min:0,max:d.length,dflt:1,editType:"arraydraw"},arrowside:{valType:"flaglist",flags:["end","start"],extras:["none"],dflt:"end",editType:"arraydraw"},arrowsize:{valType:"number",min:.3,dflt:1,editType:"calc+arraydraw"},startarrowsize:{valType:"number",min:.3,dflt:1,editType:"calc+arraydraw"},arrowwidth:{valType:"number",min:.1,editType:"calc+arraydraw"},standoff:{valType:"number",min:0,dflt:0,editType:"calc+arraydraw"},startstandoff:{valType:"number",min:0,dflt:0,editType:"calc+arraydraw"},ax:{valType:"any",editType:"calc+arraydraw"},ay:{valType:"any",editType:"calc+arraydraw"},axref:{valType:"enumerated",dflt:"pixel",values:["pixel",i.idRegex.x.toString()],editType:"calc"},ayref:{valType:"enumerated",dflt:"pixel",values:["pixel",i.idRegex.y.toString()],editType:"calc"},xref:{valType:"enumerated",values:["paper",i.idRegex.x.toString()],editType:"calc"},x:{valType:"any",editType:"calc+arraydraw"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto",editType:"calc+arraydraw"},xshift:{valType:"number",dflt:0,editType:"calc+arraydraw"},yref:{valType:"enumerated",values:["paper",i.idRegex.y.toString()],editType:"calc"},y:{valType:"any",editType:"calc+arraydraw"},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"auto",editType:"calc+arraydraw"},yshift:{valType:"number",dflt:0,editType:"calc+arraydraw"},clicktoshow:{valType:"enumerated",values:[!1,"onoff","onout"],dflt:!1,editType:"arraydraw"},xclick:{valType:"any",editType:"arraydraw"},yclick:{valType:"any",editType:"arraydraw"},hovertext:{valType:"string",editType:"arraydraw"},hoverlabel:{bgcolor:{valType:"color",editType:"arraydraw"},bordercolor:{valType:"color",editType:"arraydraw"},font:g({editType:"arraydraw"}),editType:"arraydraw"},captureevents:{valType:"boolean",editType:"arraydraw"},editType:"calc",_deprecated:{ref:{valType:"string",editType:"calc"}}})},3749:function(T,p,t){var d=t(71828),g=t(89298),i=t(92605).draw;function M(f){var l=f._fullLayout;d.filterVisible(l.annotations).forEach(function(a){var u=g.getFromId(f,a.xref),o=g.getFromId(f,a.yref),s=g.getRefType(a.xref),c=g.getRefType(a.yref);a._extremes={},s==="range"&&v(a,u),c==="range"&&v(a,o)})}function v(f,l){var a,u=l._id,o=u.charAt(0),s=f[o],c=f["a"+o],h=f[o+"ref"],m=f["a"+o+"ref"],w=f["_"+o+"padplus"],y=f["_"+o+"padminus"],S={x:1,y:-1}[o]*f[o+"shift"],_=3*f.arrowsize*f.arrowwidth||0,k=_+S,E=_-S,x=3*f.startarrowsize*f.arrowwidth||0,A=x+S,L=x-S;if(m===h){var b=g.findExtremes(l,[l.r2c(s)],{ppadplus:k,ppadminus:E}),R=g.findExtremes(l,[l.r2c(c)],{ppadplus:Math.max(w,A),ppadminus:Math.max(y,L)});a={min:[b.min[0],R.min[0]],max:[b.max[0],R.max[0]]}}else A=c?A+c:A,L=c?L-c:L,a=g.findExtremes(l,[l.r2c(s)],{ppadplus:Math.max(w,k,A),ppadminus:Math.max(y,E,L)});f._extremes[u]=a}T.exports=function(f){var l=f._fullLayout;if(d.filterVisible(l.annotations).length&&f._fullData.length)return d.syncOrAsync([i,M],f)}},44317:function(T,p,t){var d=t(71828),g=t(73972),i=t(44467).arrayEditor;function M(f,l){var a,u,o,s,c,h,m,w=f._fullLayout.annotations,y=[],S=[],_=[],k=(l||[]).length;for(a=0;a0||a.explicitOff.length>0},onClick:function(f,l){var a,u,o=M(f,l),s=o.on,c=o.off.concat(o.explicitOff),h={},m=f._fullLayout.annotations;if(s.length||c.length){for(a=0;a.6666666666666666?"right":"center"),{center:0,middle:0,left:.5,bottom:-.5,right:-.5,top:.5}[yt]}for(var Be=!1,ze=["x","y"],je=0;je1)&&(ot===st?((Vt=ht.r2fraction(k["a"+Ye]))<0||Vt>1)&&(Be=!0):Be=!0),ge=ht._offset+ht.r2p(k[Ye]),Ve=.5}else{var Ke=qt==="domain";Ye==="x"?(Ee=k[Ye],ge=Ke?ht._offset+ht._length*Ee:ge=O.l+O.w*Ee):(Ee=1-k[Ye],ge=Ke?ht._offset+ht._length*Ee:ge=O.t+O.h*Ee),Ve=k.showarrow?.5:Ee}if(k.showarrow){Bt.head=ge;var Je=k["a"+Ye];if($e=Et*Le(.5,k.xanchor)-kt*Le(.5,k.yanchor),ot===st){var qe=f.getRefType(ot);qe==="domain"?(Ye==="y"&&(Je=1-Je),Bt.tail=ht._offset+ht._length*Je):qe==="paper"?Ye==="y"?(Je=1-Je,Bt.tail=O.t+O.h*Je):Bt.tail=O.l+O.w*Je:Bt.tail=ht._offset+ht.r2p(Je),we=$e}else Bt.tail=ge+Je,we=$e+Je;Bt.text=Bt.tail+$e;var nt=I[Ye==="x"?"width":"height"];if(st==="paper"&&(Bt.head=M.constrain(Bt.head,1,nt-1)),ot==="pixel"){var ft=-Math.max(Bt.tail-3,Bt.text),Re=Math.min(Bt.tail+3,Bt.text)-nt;ft>0?(Bt.tail+=ft,Bt.text+=ft):Re>0&&(Bt.tail-=Re,Bt.text-=Re)}Bt.tail+=Ot,Bt.head+=Ot}else we=$e=xt*Le(Ve,Ft),Bt.text=ge+$e;Bt.text+=Ot,$e+=Ot,we+=Ot,k["_"+Ye+"padplus"]=xt/2+we,k["_"+Ye+"padminus"]=xt/2-we,k["_"+Ye+"size"]=xt,k["_"+Ye+"shift"]=$e}if(Be)te.remove();else{var Ne=0,Qe=0;if(k.align!=="left"&&(Ne=(ae-Se)*(k.align==="center"?.5:1)),k.valign!=="top"&&(Qe=(fe-Ce)*(k.valign==="middle"?.5:1)),_e)Pe.select("svg").attr({x:Q+Ne-1,y:Q+Qe}).call(a.setClipUrl,ie?j:null,_);else{var ut=Q+Qe-Me.top,dt=Q+Ne-Me.left;ye.call(o.positionText,dt,ut).call(a.setClipUrl,ie?j:null,_)}oe.select("rect").call(a.setRect,Q,Q,ae,fe),re.call(a.setRect,Z/2,Z/2,be-Z,ke-Z),te.call(a.setTranslate,Math.round($.x.text-be/2),Math.round($.y.text-ke/2)),q.attr({transform:"rotate("+U+","+$.x.text+","+$.y.text+")"});var _t,It=function(Lt,yt){G.selectAll(".annotation-arrow-g").remove();var Pt=$.x.head,wt=$.y.head,Rt=$.x.tail+Lt,Nt=$.y.tail+yt,Yt=$.x.text+Lt,Wt=$.y.text+yt,Xt=M.rotationXYMatrix(U,Yt,Wt),Qt=M.apply2DTransform(Xt),rn=M.apply2DTransform2(Xt),xn=+re.attr("width"),un=+re.attr("height"),An=Yt-.5*xn,Yn=An+xn,kn=Wt-.5*un,sn=kn+un,Tn=[[An,kn,An,sn],[An,sn,Yn,sn],[Yn,sn,Yn,kn],[Yn,kn,An,kn]].map(rn);if(!Tn.reduce(function(or,vr){return or^!!M.segmentsIntersect(Pt,wt,Pt+1e6,wt+1e6,vr[0],vr[1],vr[2],vr[3])},!1)){Tn.forEach(function(or){var vr=M.segmentsIntersect(Rt,Nt,Pt,wt,or[0],or[1],or[2],or[3]);vr&&(Rt=vr.x,Nt=vr.y)});var dn=k.arrowwidth,pn=k.arrowcolor,Dn=k.arrowside,In=G.append("g").style({opacity:l.opacity(pn)}).classed("annotation-arrow-g",!0),jn=In.append("path").attr("d","M"+Rt+","+Nt+"L"+Pt+","+wt).style("stroke-width",dn+"px").call(l.stroke,l.rgb(pn));if(m(jn,Dn,k),z.annotationPosition&&jn.node().parentNode&&!x){var Gn=Pt,qn=wt;if(k.standoff){var lr=Math.sqrt(Math.pow(Pt-Rt,2)+Math.pow(wt-Nt,2));Gn+=k.standoff*(Rt-Pt)/lr,qn+=k.standoff*(Nt-wt)/lr}var rr,Sr,yr=In.append("path").classed("annotation-arrow",!0).classed("anndrag",!0).classed("cursor-move",!0).attr({d:"M3,3H-3V-3H3ZM0,0L"+(Rt-Gn)+","+(Nt-qn),transform:v(Gn,qn)}).style("stroke-width",dn+6+"px").call(l.stroke,"rgba(0,0,0,0)").call(l.fill,"rgba(0,0,0,0)");c.init({element:yr.node(),gd:_,prepFn:function(){var or=a.getTranslate(te);rr=or.x,Sr=or.y,A&&A.autorange&&B(A._name+".autorange",!0),L&&L.autorange&&B(L._name+".autorange",!0)},moveFn:function(or,vr){var _r=Qt(rr,Sr),Kt=_r[0]+or,bn=_r[1]+vr;te.call(a.setTranslate,Kt,bn),N("x",y(A,or,"x",O,k)),N("y",y(L,vr,"y",O,k)),k.axref===k.xref&&N("ax",y(A,or,"ax",O,k)),k.ayref===k.yref&&N("ay",y(L,vr,"ay",O,k)),In.attr("transform",v(or,vr)),q.attr({transform:"rotate("+U+","+Kt+","+bn+")"})},doneFn:function(){g.call("_guiRelayout",_,W());var or=document.querySelector(".js-notes-box-panel");or&&or.redraw(or.selectedObj)}})}}};k.showarrow&&It(0,0),H&&c.init({element:te.node(),gd:_,prepFn:function(){_t=q.attr("transform")},moveFn:function(Lt,yt){var Pt="pointer";if(k.showarrow)k.axref===k.xref?N("ax",y(A,Lt,"ax",O,k)):N("ax",k.ax+Lt),k.ayref===k.yref?N("ay",y(L,yt,"ay",O.w,k)):N("ay",k.ay+yt),It(Lt,yt);else{if(x)return;var wt,Rt;if(A)wt=y(A,Lt,"x",O,k);else{var Nt=k._xsize/O.w,Yt=k.x+(k._xshift-k.xshift)/O.w-Nt/2;wt=c.align(Yt+Lt/O.w,Nt,0,1,k.xanchor)}if(L)Rt=y(L,yt,"y",O,k);else{var Wt=k._ysize/O.h,Xt=k.y-(k._yshift+k.yshift)/O.h-Wt/2;Rt=c.align(Xt-yt/O.h,Wt,0,1,k.yanchor)}N("x",wt),N("y",Rt),A&&L||(Pt=c.getCursor(A?.5:wt,L?.5:Rt,k.xanchor,k.yanchor))}q.attr({transform:v(Lt,yt)+_t}),s(te,Pt)},clickFn:function(Lt,yt){k.captureevents&&_.emit("plotly_clickannotation",de(yt))},doneFn:function(){s(te),g.call("_guiRelayout",_,W());var Lt=document.querySelector(".js-notes-box-panel");Lt&&Lt.redraw(Lt.selectedObj)}})}}}T.exports={draw:function(_){var k=_._fullLayout;k._infolayer.selectAll(".annotation").remove();for(var E=0;E=0,x=u.indexOf("end")>=0,A=y.backoff*_+o.standoff,L=S.backoff*k+o.startstandoff;if(w.nodeName==="line"){s={x:+a.attr("x1"),y:+a.attr("y1")},c={x:+a.attr("x2"),y:+a.attr("y2")};var b=s.x-c.x,R=s.y-c.y;if(m=(h=Math.atan2(R,b))+Math.PI,A&&L&&A+L>Math.sqrt(b*b+R*R))return void G();if(A){if(A*A>b*b+R*R)return void G();var I=A*Math.cos(h),O=A*Math.sin(h);c.x+=I,c.y+=O,a.attr({x2:c.x,y2:c.y})}if(L){if(L*L>b*b+R*R)return void G();var z=L*Math.cos(h),F=L*Math.sin(h);s.x-=z,s.y-=F,a.attr({x1:s.x,y1:s.y})}}else if(w.nodeName==="path"){var B=w.getTotalLength(),N="";if(B1){o=!0;break}}o?M.fullLayout._infolayer.select(".annotation-"+M.id+'[data-index="'+a+'"]').remove():(u._pdata=g(M.glplot.cameraParams,[v.xaxis.r2l(u.x)*f[0],v.yaxis.r2l(u.y)*f[1],v.zaxis.r2l(u.z)*f[2]]),d(M.graphDiv,u,a,M.id,u._xa,u._ya))}}},2468:function(T,p,t){var d=t(73972),g=t(71828);T.exports={moduleType:"component",name:"annotations3d",schema:{subplots:{scene:{annotations:t(26997)}}},layoutAttributes:t(26997),handleDefaults:t(20226),includeBasePlot:function(i,M){var v=d.subplotsRegistry.gl3d;if(v)for(var f=v.attrRegex,l=Object.keys(i),a=0;a=0)))return u;if(m===3)c[m]>1&&(c[m]=1);else if(c[m]>=1)return u}var w=Math.round(255*c[0])+", "+Math.round(255*c[1])+", "+Math.round(255*c[2]);return h?"rgba("+w+", "+c[3]+")":"rgb("+w+")"}M.tinyRGB=function(u){var o=u.toRgb();return"rgb("+Math.round(o.r)+", "+Math.round(o.g)+", "+Math.round(o.b)+")"},M.rgb=function(u){return M.tinyRGB(d(u))},M.opacity=function(u){return u?d(u).getAlpha():0},M.addOpacity=function(u,o){var s=d(u).toRgb();return"rgba("+Math.round(s.r)+", "+Math.round(s.g)+", "+Math.round(s.b)+", "+o+")"},M.combine=function(u,o){var s=d(u).toRgb();if(s.a===1)return d(u).toRgbString();var c=d(o||l).toRgb(),h=c.a===1?c:{r:255*(1-c.a)+c.r*c.a,g:255*(1-c.a)+c.g*c.a,b:255*(1-c.a)+c.b*c.a},m={r:h.r*(1-s.a)+s.r*s.a,g:h.g*(1-s.a)+s.g*s.a,b:h.b*(1-s.a)+s.b*s.a};return d(m).toRgbString()},M.contrast=function(u,o,s){var c=d(u);return c.getAlpha()!==1&&(c=d(M.combine(u,l))),(c.isDark()?o?c.lighten(o):l:s?c.darken(s):f).toString()},M.stroke=function(u,o){var s=d(o);u.style({stroke:M.tinyRGB(s),"stroke-opacity":s.getAlpha()})},M.fill=function(u,o){var s=d(o);u.style({fill:M.tinyRGB(s),"fill-opacity":s.getAlpha()})},M.clean=function(u){if(u&&typeof u=="object"){var o,s,c,h,m=Object.keys(u);for(o=0;o0?Je>=Ne:Je<=Ne));qe++)Je>ut&&Je0?Je>=Ne:Je<=Ne));qe++)Je>Ke[0]&&Je1){var ot=Math.pow(10,Math.floor(Math.log(st)/Math.LN10));$e*=ot*l.roundUp(st/ot,[2,5,10]),(Math.abs(_e.start)/_e.size+1e-6)%1<2e-6&&(Ee.tick0=0)}Ee.dtick=$e}Ee.domain=W?[ge+Q/ue.h,ge+ke-Q/ue.h]:[ge+X/ue.w,ge+ke-X/ue.w],Ee.setScale(),F.attr("transform",a(Math.round(ue.l),Math.round(ue.t)));var ht,bt=F.select("."+L.cbtitleunshift).attr("transform",a(-Math.round(ue.l),-Math.round(ue.t))),Et=Ee.ticklabelposition,kt=Ee.title.font.size,xt=F.select("."+L.cbaxis),Ft=0,Ot=0;function Bt(qt,Vt){var Ke={propContainer:Ee,propName:B._propPrefix+"title",traceIndex:B._traceIndex,_meta:B._meta,placeholder:oe._dfltTitle.colorbar,containerGroup:F.select("."+L.cbtitle)},Je=qt.charAt(0)==="h"?qt.substr(1):"h"+qt;F.selectAll("."+Je+",."+Je+"-math-group").remove(),h.draw(N,qt,u(Ke,Vt||{}))}return l.syncOrAsync([i.previousPromises,function(){var qt,Vt;(W&&Ve||!W&&!Ve)&&(me==="top"&&(qt=X+ue.l+ue.w*re,Vt=Q+ue.t+ue.h*(1-ge-ke)+3+.75*kt),me==="bottom"&&(qt=X+ue.l+ue.w*re,Vt=Q+ue.t+ue.h*(1-ge)-3-.25*kt),me==="right"&&(Vt=Q+ue.t+ue.h*ie+3+.75*kt,qt=X+ue.l+ue.w*ge),Bt(Ee._id+"title",{attributes:{x:qt,y:Vt,"text-anchor":W?"start":"middle"}}))},function(){if(!W&&!Ve||W&&Ve){var qt,Vt=F.select("."+L.cbtitle),Ke=Vt.select("text"),Je=[-q/2,q/2],qe=Vt.select(".h"+Ee._id+"title-math-group").node(),nt=15.6;if(Ke.node()&&(nt=parseInt(Ke.node().style.fontSize,10)*E),qe?(qt=s.bBox(qe),Ot=qt.width,(Ft=qt.height)>nt&&(Je[1]-=(Ft-nt)/2)):Ke.node()&&!Ke.classed(L.jsPlaceholder)&&(qt=s.bBox(Ke.node()),Ot=qt.width,Ft=qt.height),W){if(Ft){if(Ft+=5,me==="top")Ee.domain[1]-=Ft/ue.h,Je[1]*=-1;else{Ee.domain[0]+=Ft/ue.h;var ft=m.lineCount(Ke);Je[1]+=(1-ft)*nt}Vt.attr("transform",a(Je[0],Je[1])),Ee.setScale()}}else Ot&&(me==="right"&&(Ee.domain[0]+=(Ot+kt/2)/ue.w),Vt.attr("transform",a(Je[0],Je[1])),Ee.setScale())}F.selectAll("."+L.cbfills+",."+L.cblines).attr("transform",W?a(0,Math.round(ue.h*(1-Ee.domain[1]))):a(Math.round(ue.w*Ee.domain[0]),0)),xt.attr("transform",W?a(0,Math.round(-ue.t)):a(Math.round(-ue.l),0));var Re=F.select("."+L.cbfills).selectAll("rect."+L.cbfill).attr("style","").data(Se);Re.enter().append("rect").classed(L.cbfill,!0).style("stroke","none"),Re.exit().remove();var Ne=pe.map(Ee.c2p).map(Math.round).sort(function(It,Lt){return It-Lt});Re.each(function(It,Lt){var yt=[Lt===0?pe[0]:(Se[Lt]+Se[Lt-1])/2,Lt===Se.length-1?pe[1]:(Se[Lt]+Se[Lt+1])/2].map(Ee.c2p).map(Math.round);W&&(yt[1]=l.constrain(yt[1]+(yt[1]>yt[0])?1:-1,Ne[0],Ne[1]));var Pt=d.select(this).attr(W?"x":"y",Le).attr(W?"y":"x",d.min(yt)).attr(W?"width":"height",Math.max(ae,2)).attr(W?"height":"width",Math.max(d.max(yt)-d.min(yt),2));if(B._fillgradient)s.gradient(Pt,N,B._id,W?"vertical":"horizontalreversed",B._fillgradient,"fill");else{var wt=Pe(It).replace("e-","");Pt.attr("fill",g(wt).toHexString())}});var Qe=F.select("."+L.cblines).selectAll("path."+L.cbline).data(ye.color&&ye.width?Ce:[]);Qe.enter().append("path").classed(L.cbline,!0),Qe.exit().remove(),Qe.each(function(It){var Lt=Le,yt=Math.round(Ee.c2p(It))+ye.width/2%1;d.select(this).attr("d","M"+(W?Lt+","+yt:yt+","+Lt)+(W?"h":"v")+ae).call(s.lineGroupStyle,ye.width,xe(It),ye.dash)}),xt.selectAll("g."+Ee._id+"tick,path").remove();var ut=Le+ae+(q||0)/2-(B.ticks==="outside"?1:0),dt=v.calcTicks(Ee),_t=v.getTickSigns(Ee)[2];return v.drawTicks(N,Ee,{vals:Ee.ticks==="inside"?v.clipEnds(Ee,dt):dt,layer:xt,path:v.makeTickPath(Ee,ut,_t),transFn:v.makeTransTickFn(Ee)}),v.drawLabels(N,Ee,{vals:dt,layer:xt,transFn:v.makeTransTickLabelFn(Ee),labelFns:v.makeLabelFns(Ee,ut)})},function(){if(W&&!Ve||!W&&Ve){var qt,Vt,Ke=Ee.position||0,Je=Ee._offset+Ee._length/2;if(me==="right")Vt=Je,qt=ue.l+ue.w*Ke+10+kt*(Ee.showticklabels?1:.5);else if(qt=Je,me==="bottom"&&(Vt=ue.t+ue.h*Ke+10+(Et.indexOf("inside")===-1?Ee.tickfont.size:0)+(Ee.ticks!=="intside"&&B.ticklen||0)),me==="top"){var qe=de.text.split("
").length;Vt=ue.t+ue.h*Ke+10-ae-E*kt*qe}Bt((W?"h":"v")+Ee._id+"title",{avoid:{selection:d.select(N).selectAll("g."+Ee._id+"tick"),side:me,offsetTop:W?0:ue.t,offsetLeft:W?ue.l:0,maxShift:W?oe.width:oe.height},attributes:{x:qt,y:Vt,"text-anchor":"middle"},transform:{rotate:W?-90:0,offset:0}})}},i.previousPromises,function(){var qt,Vt=ae+q/2;Et.indexOf("inside")===-1&&(qt=s.bBox(xt.node()),Vt+=W?qt.width:qt.height),ht=bt.select("text");var Ke=0,Je=W&&me==="top",qe=!W&&me==="right",nt=0;if(ht.node()&&!ht.classed(L.jsPlaceholder)){var ft,Re=bt.select(".h"+Ee._id+"title-math-group").node();Re&&(W&&Ve||!W&&!Ve)?(Ke=(qt=s.bBox(Re)).width,ft=qt.height):(Ke=(qt=s.bBox(bt.node())).right-ue.l-(W?Le:we),ft=qt.bottom-ue.t-(W?we:Le),W||me!=="top"||(Vt+=qt.height,nt=qt.height)),qe&&(ht.attr("transform",a(Ke/2+kt/2,0)),Ke*=2),Vt=Math.max(Vt,W?Ke:ft)}var Ne=2*(W?X:Q)+Vt+H+q/2,Qe=0;!W&&de.text&&Z==="bottom"&&ie<=0&&(Ne+=Qe=Ne/2,nt+=Qe),oe._hColorbarMoveTitle=Qe,oe._hColorbarMoveCBTitle=nt;var ut=H+q;F.select("."+L.cbbg).attr("x",(W?Le:we)-ut/2-(W?X:0)).attr("y",(W?we:Le)-(W?be:Q+nt-Qe)).attr(W?"width":"height",Math.max(Ne-Qe,2)).attr(W?"height":"width",Math.max(be+ut,2)).call(c.fill,ne).call(c.stroke,B.bordercolor).style("stroke-width",H);var dt=qe?Math.max(Ke-10,0):0;if(F.selectAll("."+L.cboutline).attr("x",(W?Le:we+X)+dt).attr("y",(W?we+Q-be:Le)+(Je?Ft:0)).attr(W?"width":"height",Math.max(ae,2)).attr(W?"height":"width",Math.max(be-(W?2*Q+Ft:2*X+dt),2)).call(c.stroke,B.outlinecolor).style({fill:"none","stroke-width":q}),F.attr("transform",a(ue.l-(W?Be*Ne:0),ue.t-(W?0:(1-ze)*Ne-nt))),!W&&(H||g(ne).getAlpha()&&!g.equals(oe.paper_bgcolor,ne))){var _t=xt.selectAll("text"),It=_t[0].length,Lt=F.select("."+L.cbbg).node(),yt=s.bBox(Lt),Pt=s.getTranslate(F);_t.each(function(Qt,rn){var xn=It-1;if(rn===0||rn===xn){var un,An=s.bBox(this),Yn=s.getTranslate(this);if(rn===xn){var kn=An.right+Yn.x;(un=yt.right+Pt.x+we-H-2+re-kn)>0&&(un=0)}else if(rn===0){var sn=An.left+Yn.x;(un=yt.left+Pt.x+we+H+2-sn)<0&&(un=0)}un&&(It<3?this.setAttribute("transform","translate("+un+",0) "+this.getAttribute("transform")):this.setAttribute("visibility","hidden"))}})}var wt={},Rt=x[te],Nt=A[te],Yt=x[Z],Wt=A[Z],Xt=Ne-ae;W?($==="pixels"?(wt.y=ie,wt.t=be*Yt,wt.b=be*Wt):(wt.t=wt.b=0,wt.yt=ie+j*Yt,wt.yb=ie-j*Wt),G==="pixels"?(wt.x=re,wt.l=Ne*Rt,wt.r=Ne*Nt):(wt.l=Xt*Rt,wt.r=Xt*Nt,wt.xl=re-U*Rt,wt.xr=re+U*Nt)):($==="pixels"?(wt.x=re,wt.l=be*Rt,wt.r=be*Nt):(wt.l=wt.r=0,wt.xl=re+j*Rt,wt.xr=re-j*Nt),G==="pixels"?(wt.y=1-ie,wt.t=Ne*Yt,wt.b=Ne*Wt):(wt.t=Xt*Yt,wt.b=Xt*Wt,wt.yt=ie-U*Yt,wt.yb=ie+U*Wt)),i.autoMargin(N,B._id,wt)}],N)}(O,I,b);z&&z.then&&(b._promises||[]).push(z),b._context.edits.colorbarPosition&&function(F,B,N){var W,j,$,U=B.orientation==="v",G=N._fullLayout._size;f.init({element:F.node(),gd:N,prepFn:function(){W=F.attr("transform"),o(F)},moveFn:function(q,H){F.attr("transform",W+a(q,H)),j=f.align((U?B._uFrac:B._vFrac)+q/G.w,U?B._thickFrac:B._lenFrac,0,1,B.xanchor),$=f.align((U?B._vFrac:1-B._uFrac)-H/G.h,U?B._lenFrac:B._thickFrac,0,1,B.yanchor);var ne=f.getCursor(j,$,B.xanchor,B.yanchor);o(F,ne)},doneFn:function(){if(o(F),j!==void 0&&$!==void 0){var q={};q[B._propPrefix+"x"]=j,q[B._propPrefix+"y"]=$,B._traceIndex!==void 0?M.call("_guiRestyle",N,q,B._traceIndex):M.call("_guiRelayout",N,q)}}})}(O,I,b)}),R.exit().each(function(I){i.autoMargin(b,I._id)}).remove(),R.order()}}},76228:function(T,p,t){var d=t(71828);T.exports=function(g){return d.isPlainObject(g.colorbar)}},12311:function(T,p,t){T.exports={moduleType:"component",name:"colorbar",attributes:t(63583),supplyDefaults:t(62499),draw:t(98981).draw,hasColorbar:t(76228)}},50693:function(T,p,t){var d=t(63583),g=t(30587).counter,i=t(78607),M=t(63282).scales;function v(f){return"`"+f+"`"}i(M),T.exports=function(f,l){f=f||"";var a,u=(l=l||{}).cLetter||"c",o=("onlyIfNumerical"in l&&l.onlyIfNumerical,"noScale"in l?l.noScale:f==="marker.line"),s="showScaleDflt"in l?l.showScaleDflt:u==="z",c=typeof l.colorscaleDflt=="string"?M[l.colorscaleDflt]:null,h=l.editTypeOverride||"",m=f?f+".":"";"colorAttr"in l?(a=l.colorAttr,l.colorAttr):v(m+(a={z:"z",c:"color"}[u]));var w=u+"auto",y=u+"min",S=u+"max",_=u+"mid",k={};k[y]=k[S]=void 0;var E={};E[w]=!1;var x={};return a==="color"&&(x.color={valType:"color",arrayOk:!0,editType:h||"style"},l.anim&&(x.color.anim=!0)),x[w]={valType:"boolean",dflt:!0,editType:"calc",impliedEdits:k},x[y]={valType:"number",dflt:null,editType:h||"plot",impliedEdits:E},x[S]={valType:"number",dflt:null,editType:h||"plot",impliedEdits:E},x[_]={valType:"number",dflt:null,editType:"calc",impliedEdits:k},x.colorscale={valType:"colorscale",editType:"calc",dflt:c,impliedEdits:{autocolorscale:!1}},x.autocolorscale={valType:"boolean",dflt:l.autoColorDflt!==!1,editType:"calc",impliedEdits:{colorscale:void 0}},x.reversescale={valType:"boolean",dflt:!1,editType:"plot"},o||(x.showscale={valType:"boolean",dflt:s,editType:"calc"},x.colorbar=d),l.noColorAxis||(x.coloraxis={valType:"subplotid",regex:g("coloraxis"),dflt:null,editType:"calc"}),x}},78803:function(T,p,t){var d=t(92770),g=t(71828),i=t(52075).extractOpts;T.exports=function(M,v,f){var l,a=M._fullLayout,u=f.vals,o=f.containerStr,s=o?g.nestedProperty(v,o).get():v,c=i(s),h=c.auto!==!1,m=c.min,w=c.max,y=c.mid,S=function(){return g.aggNums(Math.min,null,u)},_=function(){return g.aggNums(Math.max,null,u)};m===void 0?m=S():h&&(m=s._colorAx&&d(m)?Math.min(m,S()):S()),w===void 0?w=_():h&&(w=s._colorAx&&d(w)?Math.max(w,_()):_()),h&&y!==void 0&&(w-y>y-m?m=y-(w-y):w-y=0?a.colorscale.sequential:a.colorscale.sequentialminus,c._sync("colorscale",l))}},33046:function(T,p,t){var d=t(71828),g=t(52075).hasColorscale,i=t(52075).extractOpts;T.exports=function(M,v){function f(h,m){var w=h["_"+m];w!==void 0&&(h[m]=w)}function l(h,m){var w=m.container?d.nestedProperty(h,m.container).get():h;if(w)if(w.coloraxis)w._colorAx=v[w.coloraxis];else{var y=i(w),S=y.auto;(S||y.min===void 0)&&f(w,m.min),(S||y.max===void 0)&&f(w,m.max),y.autocolorscale&&f(w,"colorscale")}}for(var a=0;a=0;S--,_++){var k=m[S];y[_]=[1-k[0],k[1]]}return y}function c(m,w){w=w||{};for(var y=m.domain,S=m.range,_=S.length,k=new Array(_),E=0;E<_;E++){var x=g(S[E]).toRgb();k[E]=[x.r,x.g,x.b,x.a]}var A,L=d.scale.linear().domain(y).range(k).clamp(!0),b=w.noNumericCheck,R=w.returnArray;return(A=b&&R?L:b?function(I){return h(L(I))}:R?function(I){return i(I)?L(I):g(I).isValid()?I:v.defaultLine}:function(I){return i(I)?h(L(I)):g(I).isValid()?I:v.defaultLine}).domain=L.domain,A.range=function(){return S},A}function h(m){var w={r:m[0],g:m[1],b:m[2],a:m[3]};return g(w).toRgbString()}T.exports={hasColorscale:function(m,w,y){var S=w?M.nestedProperty(m,w).get()||{}:m,_=S[y||"color"],k=!1;if(M.isArrayOrTypedArray(_)){for(var E=0;E<_.length;E++)if(i(_[E])){k=!0;break}}return M.isPlainObject(S)&&(k||S.showscale===!0||i(S.cmin)&&i(S.cmax)||f(S.colorscale)||M.isPlainObject(S.colorbar))},extractOpts:u,extractScale:o,flipScale:s,makeColorScaleFunc:c,makeColorScaleFuncFromTrace:function(m,w){return c(o(m),w)}}},21081:function(T,p,t){var d=t(63282),g=t(52075);T.exports={moduleType:"component",name:"colorscale",attributes:t(50693),layoutAttributes:t(72673),supplyLayoutDefaults:t(30959),handleDefaults:t(1586),crossTraceDefaults:t(33046),calc:t(78803),scales:d.scales,defaultScale:d.defaultScale,getScale:d.get,isValidScale:d.isValid,hasColorscale:g.hasColorscale,extractOpts:g.extractOpts,extractScale:g.extractScale,flipScale:g.flipScale,makeColorScaleFunc:g.makeColorScaleFunc,makeColorScaleFuncFromTrace:g.makeColorScaleFuncFromTrace}},72673:function(T,p,t){var d=t(1426).extendFlat,g=t(50693),i=t(63282).scales;T.exports={editType:"calc",colorscale:{editType:"calc",sequential:{valType:"colorscale",dflt:i.Reds,editType:"calc"},sequentialminus:{valType:"colorscale",dflt:i.Blues,editType:"calc"},diverging:{valType:"colorscale",dflt:i.RdBu,editType:"calc"}},coloraxis:d({_isSubplotObj:!0,editType:"calc"},g("",{colorAttr:"corresponding trace color array(s)",noColorAxis:!0,showScaleDflt:!0}))}},30959:function(T,p,t){var d=t(71828),g=t(44467),i=t(72673),M=t(1586);T.exports=function(v,f){function l(w,y){return d.coerce(v,f,i,w,y)}l("colorscale.sequential"),l("colorscale.sequentialminus"),l("colorscale.diverging");var a,u,o=f._colorAxes;function s(w,y){return d.coerce(a,u,i.coloraxis,w,y)}for(var c in o){var h=o[c];if(h[0])a=v[c]||{},(u=g.newContainer(f,c,"coloraxis"))._name=c,M(a,u,f,s,{prefix:"",cLetter:"c"});else{for(var m=0;m1.3333333333333333-f?v:f}},70461:function(T,p,t){var d=t(71828),g=[["sw-resize","s-resize","se-resize"],["w-resize","move","e-resize"],["nw-resize","n-resize","ne-resize"]];T.exports=function(i,M,v,f){return i=v==="left"?0:v==="center"?1:v==="right"?2:d.constrain(Math.floor(3*i),0,2),M=f==="bottom"?0:f==="middle"?1:f==="top"?2:d.constrain(Math.floor(3*M),0,2),g[M][i]}},64505:function(T,p){p.selectMode=function(t){return t==="lasso"||t==="select"},p.drawMode=function(t){return t==="drawclosedpath"||t==="drawopenpath"||t==="drawline"||t==="drawrect"||t==="drawcircle"},p.openMode=function(t){return t==="drawline"||t==="drawopenpath"},p.rectMode=function(t){return t==="select"||t==="drawline"||t==="drawrect"||t==="drawcircle"},p.freeMode=function(t){return t==="lasso"||t==="drawclosedpath"||t==="drawopenpath"},p.selectingOrDrawing=function(t){return p.freeMode(t)||p.rectMode(t)}},28569:function(T,p,t){var d=t(48956),g=t(57035),i=t(38520),M=t(71828).removeElement,v=t(85555),f=T.exports={};f.align=t(92807),f.getCursor=t(70461);var l=t(26041);function a(){var o=document.createElement("div");o.className="dragcover";var s=o.style;return s.position="fixed",s.left=0,s.right=0,s.top=0,s.bottom=0,s.zIndex=999999999,s.background="none",document.body.appendChild(o),o}function u(o){return d(o.changedTouches?o.changedTouches[0]:o,document.body)}f.unhover=l.wrapped,f.unhoverRaw=l.raw,f.init=function(o){var s,c,h,m,w,y,S,_,k=o.gd,E=1,x=k._context.doubleClickDelay,A=o.element;k._mouseDownTime||(k._mouseDownTime=0),A.style.pointerEvents="all",A.onmousedown=b,i?(A._ontouchstart&&A.removeEventListener("touchstart",A._ontouchstart),A._ontouchstart=b,A.addEventListener("touchstart",b,{passive:!1})):A.ontouchstart=b;var L=o.clampFn||function(O,z,F){return Math.abs(O)x&&(E=Math.max(E-1,1)),k._dragged)o.doneFn&&o.doneFn();else if(o.clickFn&&o.clickFn(E,y),!_){var z;try{z=new MouseEvent("click",O)}catch{var F=u(O);(z=document.createEvent("MouseEvents")).initMouseEvent("click",O.bubbles,O.cancelable,O.view,O.detail,O.screenX,O.screenY,F[0],F[1],O.ctrlKey,O.altKey,O.shiftKey,O.metaKey,O.button,O.relatedTarget)}S.dispatchEvent(z)}k._dragging=!1,k._dragged=!1}else k._dragged=!1}},f.coverSlip=a},26041:function(T,p,t){var d=t(11086),g=t(79990),i=t(24401).getGraphDiv,M=t(26675),v=T.exports={};v.wrapped=function(f,l,a){(f=i(f))._fullLayout&&g.clear(f._fullLayout._uid+M.HOVERID),v.raw(f,l,a)},v.raw=function(f,l){var a=f._fullLayout,u=f._hoverdata;l||(l={}),l.target&&!f._dragged&&d.triggerHandler(f,"plotly_beforehover",l)===!1||(a._hoverlayer.selectAll("g").remove(),a._hoverlayer.selectAll("line").remove(),a._hoverlayer.selectAll("circle").remove(),f._hoverdata=void 0,l.target&&u&&f.emit("plotly_unhover",{event:l,points:u}))}},79952:function(T,p){p.P={valType:"string",values:["solid","dot","dash","longdash","dashdot","longdashdot"],dflt:"solid",editType:"style"},p.u={shape:{valType:"enumerated",values:["","/","\\","x","-","|","+","."],dflt:"",arrayOk:!0,editType:"style"},fillmode:{valType:"enumerated",values:["replace","overlay"],dflt:"replace",editType:"style"},bgcolor:{valType:"color",arrayOk:!0,editType:"style"},fgcolor:{valType:"color",arrayOk:!0,editType:"style"},fgopacity:{valType:"number",editType:"style",min:0,max:1},size:{valType:"number",min:0,dflt:8,arrayOk:!0,editType:"style"},solidity:{valType:"number",min:0,max:1,dflt:.3,arrayOk:!0,editType:"style"},editType:"style"}},91424:function(T,p,t){var d=t(39898),g=t(71828),i=g.numberFormat,M=t(92770),v=t(84267),f=t(73972),l=t(7901),a=t(21081),u=g.strTranslate,o=t(63893),s=t(77922),c=t(18783).LINE_SPACING,h=t(37822).DESELECTDIM,m=t(34098),w=t(39984),y=t(23469).appendArrayPointValue,S=T.exports={};function _(_e,Me,Se){var Ce=Me.fillpattern,ae=Ce&&S.getPatternAttr(Ce.shape,0,"");if(ae){var fe=S.getPatternAttr(Ce.bgcolor,0,null),be=S.getPatternAttr(Ce.fgcolor,0,null),ke=Ce.fgopacity,Le=S.getPatternAttr(Ce.size,0,8),Be=S.getPatternAttr(Ce.solidity,0,.3),ze=Me.uid;S.pattern(_e,"point",Se,ze,ae,Le,Be,void 0,Ce.fillmode,fe,be,ke)}else Me.fillcolor&&_e.call(l.fill,Me.fillcolor)}S.font=function(_e,Me,Se,Ce){g.isPlainObject(Me)&&(Ce=Me.color,Se=Me.size,Me=Me.family),Me&&_e.style("font-family",Me),Se+1&&_e.style("font-size",Se+"px"),Ce&&_e.call(l.fill,Ce)},S.setPosition=function(_e,Me,Se){_e.attr("x",Me).attr("y",Se)},S.setSize=function(_e,Me,Se){_e.attr("width",Me).attr("height",Se)},S.setRect=function(_e,Me,Se,Ce,ae){_e.call(S.setPosition,Me,Se).call(S.setSize,Ce,ae)},S.translatePoint=function(_e,Me,Se,Ce){var ae=Se.c2p(_e.x),fe=Ce.c2p(_e.y);return!!(M(ae)&&M(fe)&&Me.node())&&(Me.node().nodeName==="text"?Me.attr("x",ae).attr("y",fe):Me.attr("transform",u(ae,fe)),!0)},S.translatePoints=function(_e,Me,Se){_e.each(function(Ce){var ae=d.select(this);S.translatePoint(Ce,ae,Me,Se)})},S.hideOutsideRangePoint=function(_e,Me,Se,Ce,ae,fe){Me.attr("display",Se.isPtWithinRange(_e,ae)&&Ce.isPtWithinRange(_e,fe)?null:"none")},S.hideOutsideRangePoints=function(_e,Me){if(Me._hasClipOnAxisFalse){var Se=Me.xaxis,Ce=Me.yaxis;_e.each(function(ae){var fe=ae[0].trace,be=fe.xcalendar,ke=fe.ycalendar,Le=f.traceIs(fe,"bar-like")?".bartext":".point,.textpoint";_e.selectAll(Le).each(function(Be){S.hideOutsideRangePoint(Be,d.select(this),Se,Ce,be,ke)})})}},S.crispRound=function(_e,Me,Se){return Me&&M(Me)?_e._context.staticPlot?Me:Me<1?1:Math.round(Me):Se||0},S.singleLineStyle=function(_e,Me,Se,Ce,ae){Me.style("fill","none");var fe=(((_e||[])[0]||{}).trace||{}).line||{},be=Se||fe.width||0,ke=ae||fe.dash||"";l.stroke(Me,Ce||fe.color),S.dashLine(Me,ke,be)},S.lineGroupStyle=function(_e,Me,Se,Ce){_e.style("fill","none").each(function(ae){var fe=(((ae||[])[0]||{}).trace||{}).line||{},be=Me||fe.width||0,ke=Ce||fe.dash||"";d.select(this).call(l.stroke,Se||fe.color).call(S.dashLine,ke,be)})},S.dashLine=function(_e,Me,Se){Se=+Se||0,Me=S.dashStyle(Me,Se),_e.style({"stroke-dasharray":Me,"stroke-width":Se+"px"})},S.dashStyle=function(_e,Me){Me=+Me||1;var Se=Math.max(Me,3);return _e==="solid"?_e="":_e==="dot"?_e=Se+"px,"+Se+"px":_e==="dash"?_e=3*Se+"px,"+3*Se+"px":_e==="longdash"?_e=5*Se+"px,"+5*Se+"px":_e==="dashdot"?_e=3*Se+"px,"+Se+"px,"+Se+"px,"+Se+"px":_e==="longdashdot"&&(_e=5*Se+"px,"+2*Se+"px,"+Se+"px,"+2*Se+"px"),_e},S.singleFillStyle=function(_e,Me){var Se=d.select(_e.node());_(_e,((Se.data()[0]||[])[0]||{}).trace||{},Me)},S.fillGroupStyle=function(_e,Me){_e.style("stroke-width",0).each(function(Se){var Ce=d.select(this);Se[0].trace&&_(Ce,Se[0].trace,Me)})};var k=t(90998);S.symbolNames=[],S.symbolFuncs=[],S.symbolBackOffs=[],S.symbolNeedLines={},S.symbolNoDot={},S.symbolNoFill={},S.symbolList=[],Object.keys(k).forEach(function(_e){var Me=k[_e],Se=Me.n;S.symbolList.push(Se,String(Se),_e,Se+100,String(Se+100),_e+"-open"),S.symbolNames[Se]=_e,S.symbolFuncs[Se]=Me.f,S.symbolBackOffs[Se]=Me.backoff||0,Me.needLine&&(S.symbolNeedLines[Se]=!0),Me.noDot?S.symbolNoDot[Se]=!0:S.symbolList.push(Se+200,String(Se+200),_e+"-dot",Se+300,String(Se+300),_e+"-open-dot"),Me.noFill&&(S.symbolNoFill[Se]=!0)});var E=S.symbolNames.length;function x(_e,Me,Se,Ce){var ae=_e%100;return S.symbolFuncs[ae](Me,Se,Ce)+(_e>=200?"M0,0.5L0.5,0L0,-0.5L-0.5,0Z":"")}S.symbolNumber=function(_e){if(M(_e))_e=+_e;else if(typeof _e=="string"){var Me=0;_e.indexOf("-open")>0&&(Me=100,_e=_e.replace("-open","")),_e.indexOf("-dot")>0&&(Me+=200,_e=_e.replace("-dot","")),(_e=S.symbolNames.indexOf(_e))>=0&&(_e+=Me)}return _e%100>=E||_e>=400?0:Math.floor(Math.max(_e,0))};var A={x1:1,x2:0,y1:0,y2:0},L={x1:0,x2:0,y1:1,y2:0},b=i("~f"),R={radial:{node:"radialGradient"},radialreversed:{node:"radialGradient",reversed:!0},horizontal:{node:"linearGradient",attrs:A},horizontalreversed:{node:"linearGradient",attrs:A,reversed:!0},vertical:{node:"linearGradient",attrs:L},verticalreversed:{node:"linearGradient",attrs:L,reversed:!0}};S.gradient=function(_e,Me,Se,Ce,ae,fe){for(var be=ae.length,ke=R[Ce],Le=new Array(be),Be=0;Be=100;var Be=Pe(_e,Se),ze=Q(_e,Se);Me.attr("d",x(Le,ke,Be,ze))}var je,ge,we,Ee=!1;if(_e.so)we=be.outlierwidth,ge=be.outliercolor,je=fe.outliercolor;else{var Ve=(be||{}).width;we=(_e.mlw+1||Ve+1||(_e.trace?(_e.trace.marker.line||{}).width:0)+1)-1||0,ge="mlc"in _e?_e.mlcc=Ce.lineScale(_e.mlc):g.isArrayOrTypedArray(be.color)?l.defaultLine:be.color,g.isArrayOrTypedArray(fe.color)&&(je=l.defaultLine,Ee=!0),je="mc"in _e?_e.mcc=Ce.markerScale(_e.mc):fe.color||"rgba(0,0,0,0)",Ce.selectedColorFn&&(je=Ce.selectedColorFn(_e))}if(_e.om)Me.call(l.stroke,je).style({"stroke-width":(we||1)+"px",fill:"none"});else{Me.style("stroke-width",(_e.isBlank?0:we)+"px");var $e=fe.gradient,Ye=_e.mgt;Ye?Ee=!0:Ye=$e&&$e.type,g.isArrayOrTypedArray(Ye)&&(Ye=Ye[0],R[Ye]||(Ye=0));var st=fe.pattern,ot=st&&S.getPatternAttr(st.shape,_e.i,"");if(Ye&&Ye!=="none"){var ht=_e.mgc;ht?Ee=!0:ht=$e.color;var bt=Se.uid;Ee&&(bt+="-"+_e.i),S.gradient(Me,ae,bt,Ye,[[0,ht],[1,je]],"fill")}else if(ot){var Et=S.getPatternAttr(st.bgcolor,_e.i,null),kt=S.getPatternAttr(st.fgcolor,_e.i,null),xt=st.fgopacity,Ft=S.getPatternAttr(st.size,_e.i,8),Ot=S.getPatternAttr(st.solidity,_e.i,.3),Bt=_e.mcc||g.isArrayOrTypedArray(st.shape)||g.isArrayOrTypedArray(st.bgcolor)||g.isArrayOrTypedArray(st.size)||g.isArrayOrTypedArray(st.solidity),qt=Se.uid;Bt&&(qt+="-"+_e.i),S.pattern(Me,"point",ae,qt,ot,Ft,Ot,_e.mcc,st.fillmode,Et,kt,xt)}else l.fill(Me,je);we&&l.stroke(Me,ge)}},S.makePointStyleFns=function(_e){var Me={},Se=_e.marker;return Me.markerScale=S.tryColorscale(Se,""),Me.lineScale=S.tryColorscale(Se,"line"),f.traceIs(_e,"symbols")&&(Me.ms2mrc=m.isBubble(_e)?w(_e):function(){return(Se.size||6)/2}),_e.selectedpoints&&g.extendFlat(Me,S.makeSelectedPointStyleFns(_e)),Me},S.makeSelectedPointStyleFns=function(_e){var Me={},Se=_e.selected||{},Ce=_e.unselected||{},ae=_e.marker||{},fe=Se.marker||{},be=Ce.marker||{},ke=ae.opacity,Le=fe.opacity,Be=be.opacity,ze=Le!==void 0,je=Be!==void 0;(g.isArrayOrTypedArray(ke)||ze||je)&&(Me.selectedOpacityFn=function(ht){var bt=ht.mo===void 0?ae.opacity:ht.mo;return ht.selected?ze?Le:bt:je?Be:h*bt});var ge=ae.color,we=fe.color,Ee=be.color;(we||Ee)&&(Me.selectedColorFn=function(ht){var bt=ht.mcc||ge;return ht.selected?we||bt:Ee||bt});var Ve=ae.size,$e=fe.size,Ye=be.size,st=$e!==void 0,ot=Ye!==void 0;return f.traceIs(_e,"symbols")&&(st||ot)&&(Me.selectedSizeFn=function(ht){var bt=ht.mrc||Ve/2;return ht.selected?st?$e/2:bt:ot?Ye/2:bt}),Me},S.makeSelectedTextStyleFns=function(_e){var Me={},Se=_e.selected||{},Ce=_e.unselected||{},ae=_e.textfont||{},fe=Se.textfont||{},be=Ce.textfont||{},ke=ae.color,Le=fe.color,Be=be.color;return Me.selectedTextColorFn=function(ze){var je=ze.tc||ke;return ze.selected?Le||je:Be||(Le?je:l.addOpacity(je,h))},Me},S.selectedPointStyle=function(_e,Me){if(_e.size()&&Me.selectedpoints){var Se=S.makeSelectedPointStyleFns(Me),Ce=Me.marker||{},ae=[];Se.selectedOpacityFn&&ae.push(function(fe,be){fe.style("opacity",Se.selectedOpacityFn(be))}),Se.selectedColorFn&&ae.push(function(fe,be){l.fill(fe,Se.selectedColorFn(be))}),Se.selectedSizeFn&&ae.push(function(fe,be){var ke=be.mx||Ce.symbol||0,Le=Se.selectedSizeFn(be);fe.attr("d",x(S.symbolNumber(ke),Le,Pe(be,Me),Q(be,Me))),be.mrc2=Le}),ae.length&&_e.each(function(fe){for(var be=d.select(this),ke=0;ke0?Se:0}function N(_e,Me,Se){return Se&&(_e=q(_e)),Me?j(_e[1]):W(_e[0])}function W(_e){var Me=d.round(_e,2);return I=Me,Me}function j(_e){var Me=d.round(_e,2);return O=Me,Me}function $(_e,Me,Se,Ce){var ae=_e[0]-Me[0],fe=_e[1]-Me[1],be=Se[0]-Me[0],ke=Se[1]-Me[1],Le=Math.pow(ae*ae+fe*fe,.25),Be=Math.pow(be*be+ke*ke,.25),ze=(Be*Be*ae-Le*Le*be)*Ce,je=(Be*Be*fe-Le*Le*ke)*Ce,ge=3*Be*(Le+Be),we=3*Le*(Le+Be);return[[W(Me[0]+(ge&&ze/ge)),j(Me[1]+(ge&&je/ge))],[W(Me[0]-(we&&ze/we)),j(Me[1]-(we&&je/we))]]}S.textPointStyle=function(_e,Me,Se){if(_e.size()){var Ce;if(Me.selectedpoints){var ae=S.makeSelectedTextStyleFns(Me);Ce=ae.selectedTextColorFn}var fe=Me.texttemplate,be=Se._fullLayout;_e.each(function(ke){var Le=d.select(this),Be=fe?g.extractOption(ke,Me,"txt","texttemplate"):g.extractOption(ke,Me,"tx","text");if(Be||Be===0){if(fe){var ze=Me._module.formatLabels,je=ze?ze(ke,Me,be):{},ge={};y(ge,Me,ke.i);var we=Me._meta||{};Be=g.texttemplateString(Be,je,be._d3locale,ge,ke,we)}var Ee=ke.tp||Me.textposition,Ve=B(ke,Me),$e=Ce?Ce(ke):ke.tc||Me.textfont.color;Le.call(S.font,ke.tf||Me.textfont.family,Ve,$e).text(Be).call(o.convertToTspans,Se).call(F,Ee,Ve,ke.mrc)}else Le.remove()})}},S.selectedTextStyle=function(_e,Me){if(_e.size()&&Me.selectedpoints){var Se=S.makeSelectedTextStyleFns(Me);_e.each(function(Ce){var ae=d.select(this),fe=Se.selectedTextColorFn(Ce),be=Ce.tp||Me.textposition,ke=B(Ce,Me);l.fill(ae,fe);var Le=f.traceIs(Me,"bar-like");F(ae,be,ke,Ce.mrc2||Ce.mrc,Le)})}},S.smoothopen=function(_e,Me){if(_e.length<3)return"M"+_e.join("L");var Se,Ce="M"+_e[0],ae=[];for(Se=1;Se<_e.length-1;Se++)ae.push($(_e[Se-1],_e[Se],_e[Se+1],Me));for(Ce+="Q"+ae[0][0]+" "+_e[1],Se=2;Se<_e.length-1;Se++)Ce+="C"+ae[Se-2][1]+" "+ae[Se-1][0]+" "+_e[Se];return Ce+"Q"+ae[_e.length-3][1]+" "+_e[_e.length-1]},S.smoothclosed=function(_e,Me){if(_e.length<3)return"M"+_e.join("L")+"Z";var Se,Ce="M"+_e[0],ae=_e.length-1,fe=[$(_e[ae],_e[0],_e[1],Me)];for(Se=1;Se=Le||ht>=ze&&ht<=Le)&&(bt<=je&&bt>=Be||bt>=je&&bt<=Be)&&(_e=[ht,bt])}return _e}S.steps=function(_e){var Me=U[_e]||G;return function(Se){for(var Ce="M"+W(Se[0][0])+","+j(Se[0][1]),ae=Se.length,fe=1;fe=1e4&&(S.savedBBoxes={},H=0),Se&&(S.savedBBoxes[Se]=we),H++,g.extendFlat({},we)},S.setClipUrl=function(_e,Me,Se){_e.attr("clip-path",te(Me,Se))},S.getTranslate=function(_e){var Me=(_e[_e.attr?"attr":"getAttribute"]("transform")||"").replace(/.*\btranslate\((-?\d*\.?\d*)[^-\d]*(-?\d*\.?\d*)[^\d].*/,function(Se,Ce,ae){return[Ce,ae].join(" ")}).split(" ");return{x:+Me[0]||0,y:+Me[1]||0}},S.setTranslate=function(_e,Me,Se){var Ce=_e.attr?"attr":"getAttribute",ae=_e.attr?"attr":"setAttribute",fe=_e[Ce]("transform")||"";return Me=Me||0,Se=Se||0,fe=fe.replace(/(\btranslate\(.*?\);?)/,"").trim(),fe=(fe+=u(Me,Se)).trim(),_e[ae]("transform",fe),fe},S.getScale=function(_e){var Me=(_e[_e.attr?"attr":"getAttribute"]("transform")||"").replace(/.*\bscale\((\d*\.?\d*)[^\d]*(\d*\.?\d*)[^\d].*/,function(Se,Ce,ae){return[Ce,ae].join(" ")}).split(" ");return{x:+Me[0]||1,y:+Me[1]||1}},S.setScale=function(_e,Me,Se){var Ce=_e.attr?"attr":"getAttribute",ae=_e.attr?"attr":"setAttribute",fe=_e[Ce]("transform")||"";return Me=Me||1,Se=Se||1,fe=fe.replace(/(\bscale\(.*?\);?)/,"").trim(),fe=(fe+="scale("+Me+","+Se+")").trim(),_e[ae]("transform",fe),fe};var Z=/\s*sc.*/;S.setPointGroupScale=function(_e,Me,Se){if(Me=Me||1,Se=Se||1,_e){var Ce=Me===1&&Se===1?"":"scale("+Me+","+Se+")";_e.each(function(){var ae=(this.getAttribute("transform")||"").replace(Z,"");ae=(ae+=Ce).trim(),this.setAttribute("transform",ae)})}};var X=/translate\([^)]*\)\s*$/;function Q(_e,Me){var Se;return _e&&(Se=_e.mf),Se===void 0&&(Se=Me.marker&&Me.marker.standoff||0),Me._geo||Me._xA?Se:-Se}S.setTextPointsScale=function(_e,Me,Se){_e&&_e.each(function(){var Ce,ae=d.select(this),fe=ae.select("text");if(fe.node()){var be=parseFloat(fe.attr("x")||0),ke=parseFloat(fe.attr("y")||0),Le=(ae.attr("transform")||"").match(X);Ce=Me===1&&Se===1?[]:[u(be,ke),"scale("+Me+","+Se+")",u(-be,-ke)],Le&&Ce.push(Le),ae.attr("transform",Ce.join(""))}})},S.getMarkerStandoff=Q;var re,ie,oe,ue,ce,ye,de=Math.atan2,me=Math.cos,pe=Math.sin;function xe(_e,Me){var Se=Me[0],Ce=Me[1];return[Se*me(_e)-Ce*pe(_e),Se*pe(_e)+Ce*me(_e)]}function Pe(_e,Me){var Se,Ce,ae=_e.ma;ae===void 0&&(ae=Me.marker.angle||0);var fe=Me.marker.angleref;if(fe==="previous"||fe==="north"){if(Me._geo){var be=Me._geo.project(_e.lonlat);Se=be[0],Ce=be[1]}else{var ke=Me._xA,Le=Me._yA;if(!ke||!Le)return 90;Se=ke.c2p(_e.x),Ce=Le.c2p(_e.y)}if(Me._geo){var Be,ze=_e.lonlat[0],je=_e.lonlat[1],ge=Me._geo.project([ze,je+1e-5]),we=Me._geo.project([ze+1e-5,je]),Ee=de(we[1]-Ce,we[0]-Se),Ve=de(ge[1]-Ce,ge[0]-Se);if(fe==="north")Be=ae/180*Math.PI;else if(fe==="previous"){var $e=ze/180*Math.PI,Ye=je/180*Math.PI,st=re/180*Math.PI,ot=ie/180*Math.PI,ht=st-$e,bt=me(ot)*pe(ht),Et=pe(ot)*me(Ye)-me(ot)*pe(Ye)*me(ht);Be=-de(bt,Et)-Math.PI,re=ze,ie=je}var kt=xe(Ee,[me(Be),0]),xt=xe(Ve,[pe(Be),0]);ae=de(kt[1]+xt[1],kt[0]+xt[0])/Math.PI*180,fe!=="previous"||ye===Me.uid&&_e.i===ce+1||(ae=null)}if(fe==="previous"&&!Me._geo)if(ye===Me.uid&&_e.i===ce+1&&M(Se)&&M(Ce)){var Ft=Se-oe,Ot=Ce-ue,Bt=Me.line&&Me.line.shape||"",qt=Bt.slice(Bt.length-1);qt==="h"&&(Ot=0),qt==="v"&&(Ft=0),ae+=de(Ot,Ft)/Math.PI*180+90}else ae=null}return oe=Se,ue=Ce,ce=_e.i,ye=Me.uid,ae}S.getMarkerAngle=Pe},90998:function(T,p,t){var d,g,i,M,v=t(95616),f=t(39898).round,l="M0,0Z",a=Math.sqrt(2),u=Math.sqrt(3),o=Math.PI,s=Math.cos,c=Math.sin;function h(w){return w===null}function m(w,y,S){if(!(w&&w%360!=0||y))return S;if(i===w&&M===y&&d===S)return g;function _(N,W){var j=s(N),$=c(N),U=W[0],G=W[1]+(y||0);return[U*j-G*$,U*$+G*j]}i=w,M=y,d=S;for(var k=w/180*o,E=0,x=0,A=v(S),L="",b=0;b0,c=v._context.staticPlot;f.each(function(h){var m,w=h[0].trace,y=w.error_x||{},S=w.error_y||{};w.ids&&(m=function(x){return x.id});var _=M.hasMarkers(w)&&w.marker.maxdisplayed>0;S.visible||y.visible||(h=[]);var k=d.select(this).selectAll("g.errorbar").data(h,m);if(k.exit().remove(),h.length){y.visible||k.selectAll("path.xerror").remove(),S.visible||k.selectAll("path.yerror").remove(),k.style("opacity",1);var E=k.enter().append("g").classed("errorbar",!0);s&&E.style("opacity",0).transition().duration(a.duration).style("opacity",1),i.setClipUrl(k,l.layerClipId,v),k.each(function(x){var A=d.select(this),L=function(F,B,N){var W={x:B.c2p(F.x),y:N.c2p(F.y)};return F.yh!==void 0&&(W.yh=N.c2p(F.yh),W.ys=N.c2p(F.ys),g(W.ys)||(W.noYS=!0,W.ys=N.c2p(F.ys,!0))),F.xh!==void 0&&(W.xh=B.c2p(F.xh),W.xs=B.c2p(F.xs),g(W.xs)||(W.noXS=!0,W.xs=B.c2p(F.xs,!0))),W}(x,u,o);if(!_||x.vis){var b,R=A.select("path.yerror");if(S.visible&&g(L.x)&&g(L.yh)&&g(L.ys)){var I=S.width;b="M"+(L.x-I)+","+L.yh+"h"+2*I+"m-"+I+",0V"+L.ys,L.noYS||(b+="m-"+I+",0h"+2*I),R.size()?s&&(R=R.transition().duration(a.duration).ease(a.easing)):R=A.append("path").style("vector-effect",c?"none":"non-scaling-stroke").classed("yerror",!0),R.attr("d",b)}else R.remove();var O=A.select("path.xerror");if(y.visible&&g(L.y)&&g(L.xh)&&g(L.xs)){var z=(y.copy_ystyle?S:y).width;b="M"+L.xh+","+(L.y-z)+"v"+2*z+"m0,-"+z+"H"+L.xs,L.noXS||(b+="m0,-"+z+"v"+2*z),O.size()?s&&(O=O.transition().duration(a.duration).ease(a.easing)):O=A.append("path").style("vector-effect",c?"none":"non-scaling-stroke").classed("xerror",!0),O.attr("d",b)}else O.remove()}})}})}},62662:function(T,p,t){var d=t(39898),g=t(7901);T.exports=function(i){i.each(function(M){var v=M[0].trace,f=v.error_y||{},l=v.error_x||{},a=d.select(this);a.selectAll("path.yerror").style("stroke-width",f.thickness+"px").call(g.stroke,f.color),l.copy_ystyle&&(l=f),a.selectAll("path.xerror").style("stroke-width",l.thickness+"px").call(g.stroke,l.color)})}},77914:function(T,p,t){var d=t(41940),g=t(528).hoverlabel,i=t(1426).extendFlat;T.exports={hoverlabel:{bgcolor:i({},g.bgcolor,{arrayOk:!0}),bordercolor:i({},g.bordercolor,{arrayOk:!0}),font:d({arrayOk:!0,editType:"none"}),align:i({},g.align,{arrayOk:!0}),namelength:i({},g.namelength,{arrayOk:!0}),editType:"none"}}},30732:function(T,p,t){var d=t(71828),g=t(73972);function i(M,v,f,l){l=l||d.identity,Array.isArray(M)&&(v[0][f]=l(M))}T.exports=function(M){var v=M.calcdata,f=M._fullLayout;function l(c){return function(h){return d.coerceHoverinfo({hoverinfo:h},{_module:c._module},f)}}for(var a=0;a=0&&u.indexae[0]._length||Je<0||Je>fe[0]._length)return c.unhoverRaw(ue,ce)}else Ke="xpx"in ce?ce.xpx:ae[0]._length/2,Je="ypx"in ce?ce.ypx:fe[0]._length/2;if(ce.pointerX=Ke+ae[0]._offset,ce.pointerY=Je+fe[0]._offset,we="xval"in ce?w.flat(pe,ce.xval):w.p2c(ae,Ke),Ee="yval"in ce?w.flat(pe,ce.yval):w.p2c(fe,Je),!g(we[0])||!g(Ee[0]))return M.warn("Fx.hover failed",ce,ue),c.unhoverRaw(ue,ce)}var ft=1/0;function Re(Kt,bn){for($e=0;$eFt&&(Ot.splice(0,Ft),ft=Ot[0].distance),Me&&ge!==0&&Ot.length===0){xt.distance=ge,xt.index=!1;var $n=st._module.hoverPoints(xt,Et,kt,"closest",{hoverLayer:xe._hoverlayer});if($n&&($n=$n.filter(function(Jt){return Jt.spikeDistance<=ge})),$n&&$n.length){var tr,mr=$n.filter(function(Jt){return Jt.xa.showspikes&&Jt.xa.spikesnap!=="hovered data"});if(mr.length){var nn=mr[0];g(nn.x0)&&g(nn.y0)&&(tr=Qe(nn),(!qt.vLinePoint||qt.vLinePoint.spikeDistance>tr.spikeDistance)&&(qt.vLinePoint=tr))}var Pn=$n.filter(function(Jt){return Jt.ya.showspikes&&Jt.ya.spikesnap!=="hovered data"});if(Pn.length){var jt=Pn[0];g(jt.x0)&&g(jt.y0)&&(tr=Qe(jt),(!qt.hLinePoint||qt.hLinePoint.spikeDistance>tr.spikeDistance)&&(qt.hLinePoint=tr))}}}}}function Ne(Kt,bn,Rn){for(var Ln,Un=null,Kn=1/0,$n=0;$n0&&Math.abs(Kt.distance)Yt-1;Wt--)xn(Ot[Wt]);Ot=Xt,It()}var un=ue._hoverdata,An=[],Yn=ne(ue),kn=te(ue);for(Ve=0;Ve1||Ot.length>1)||ze==="closest"&&Vt&&Ot.length>1,yr=s.combine(xe.plot_bgcolor||s.background,xe.paper_bgcolor),or=B(Ot,{gd:ue,hovermode:ze,rotateLabels:Sr,bgColor:yr,container:xe._hoverlayer,outerContainer:xe._paper.node(),commonLabelOpts:xe.hoverlabel,hoverdistance:xe.hoverdistance}),vr=or.hoverLabels;if(w.isUnifiedHover(ze)||(function(Kt,bn,Rn,Ln){var Un,Kn,$n,tr,mr,nn,Pn,jt=bn?"xa":"ya",Jt=bn?"ya":"xa",hn=0,zn=1,On=Kt.size(),En=new Array(On),mn=0,wn=Ln.minX,gn=Ln.maxX,yn=Ln.minY,Sn=Ln.maxY,Vn=function(Lr){return Lr*Rn._invScaleX},Xn=function(Lr){return Lr*Rn._invScaleY};function nr(Lr){var zr=Lr[0],gr=Lr[Lr.length-1];if(Kn=zr.pmin-zr.pos-zr.dp+zr.size,$n=gr.pos+gr.dp+gr.size-zr.pmax,Kn>.01){for(mr=Lr.length-1;mr>=0;mr--)Lr[mr].dp+=Kn;Un=!1}if(!($n<.01)){if(Kn<-.01){for(mr=Lr.length-1;mr>=0;mr--)Lr[mr].dp-=$n;Un=!1}if(Un){var Fr=0;for(tr=0;trzr.pmax&&Fr++;for(tr=Lr.length-1;tr>=0&&!(Fr<=0);tr--)(nn=Lr[tr]).pos>zr.pmax-1&&(nn.del=!0,Fr--);for(tr=0;tr=0;mr--)Lr[mr].dp-=$n;for(tr=Lr.length-1;tr>=0&&!(Fr<=0);tr--)(nn=Lr[tr]).pos+nn.dp+nn.size>zr.pmax&&(nn.del=!0,Fr--)}}}for(Kt.each(function(Lr){var zr=Lr[jt],gr=Lr[Jt],Fr=zr._id.charAt(0)==="x",ii=zr.range;mn===0&&ii&&ii[0]>ii[1]!==Fr&&(zn=-1);var ji=0,ea=Fr?Rn.width:Rn.height;if(Rn.hovermode==="x"||Rn.hovermode==="y"){var sa,uo,La=W(Lr,bn),Xi=Lr.anchor,Do=Xi==="end"?-1:1;if(Xi==="middle")uo=(sa=Lr.crossPos+(Fr?Xn(La.y-Lr.by/2):Vn(Lr.bx/2+Lr.tx2width/2)))+(Fr?Xn(Lr.by):Vn(Lr.bx));else if(Fr)uo=(sa=Lr.crossPos+Xn(b+La.y)-Xn(Lr.by/2-b))+Xn(Lr.by);else{var rs=Vn(Do*b+La.x),el=rs+Vn(Do*Lr.bx);sa=Lr.crossPos+Math.min(rs,el),uo=Lr.crossPos+Math.max(rs,el)}Fr?yn!==void 0&&Sn!==void 0&&Math.min(uo,Sn)-Math.max(sa,yn)>1&&(gr.side==="left"?(ji=gr._mainLinePosition,ea=Rn.width):ea=gr._mainLinePosition):wn!==void 0&&gn!==void 0&&Math.min(uo,gn)-Math.max(sa,wn)>1&&(gr.side==="top"?(ji=gr._mainLinePosition,ea=Rn.height):ea=gr._mainLinePosition)}En[mn++]=[{datum:Lr,traceIndex:Lr.trace.index,dp:0,pos:Lr.pos,posref:Lr.posref,size:Lr.by*(Fr?x:1)/2,pmin:ji,pmax:ea}]}),En.sort(function(Lr,zr){return Lr[0].posref-zr[0].posref||zn*(zr[0].traceIndex-Lr[0].traceIndex)});!Un&&hn<=On;){for(hn++,Un=!0,tr=0;tr.01&&cr.pmin===pr.pmin&&cr.pmax===pr.pmax){for(mr=hr.length-1;mr>=0;mr--)hr[mr].dp+=Kn;for(Qn.push.apply(Qn,hr),En.splice(tr+1,1),Pn=0,mr=Qn.length-1;mr>=0;mr--)Pn+=Qn[mr].dp;for($n=Pn/Qn.length,mr=Qn.length-1;mr>=0;mr--)Qn[mr].dp-=$n;Un=!1}else tr++}En.forEach(nr)}for(tr=En.length-1;tr>=0;tr--){var dr=En[tr];for(mr=dr.length-1;mr>=0;mr--){var br=dr[mr],Ir=br.datum;Ir.offset=br.dp,Ir.del=br.del}}}(vr,Sr,xe,or.commonLabelBoundingBox),j(vr,Sr,xe._invScaleX,xe._invScaleY)),me&&me.tagName){var _r=m.getComponentMethod("annotations","hasClickToShow")(ue,An);u(d.select(me),_r?"pointer":"")}me&&!de&&function(Kt,bn,Rn){if(!Rn||Rn.length!==Kt._hoverdata.length)return!0;for(var Ln=Rn.length-1;Ln>=0;Ln--){var Un=Rn[Ln],Kn=Kt._hoverdata[Ln];if(Un.curveNumber!==Kn.curveNumber||String(Un.pointNumber)!==String(Kn.pointNumber)||String(Un.pointNumbers)!==String(Kn.pointNumbers))return!0}return!1}(ue,0,un)&&(un&&ue.emit("plotly_unhover",{event:ce,points:un}),ue.emit("plotly_hover",{event:ce,points:ue._hoverdata,xaxes:ae,yaxes:fe,xvals:we,yvals:Ee}))})(X,Q,re,ie,oe)})},p.loneHover=function(X,Q){var re=!0;Array.isArray(X)||(re=!1,X=[X]);var ie=Q.gd,oe=ne(ie),ue=te(ie),ce=B(X.map(function(me){var pe=me._x0||me.x0||me.x||0,xe=me._x1||me.x1||me.x||0,Pe=me._y0||me.y0||me.y||0,_e=me._y1||me.y1||me.y||0,Me=me.eventData;if(Me){var Se=Math.min(pe,xe),Ce=Math.max(pe,xe),ae=Math.min(Pe,_e),fe=Math.max(Pe,_e),be=me.trace;if(m.traceIs(be,"gl3d")){var ke=ie._fullLayout[be.scene]._scene.container,Le=ke.offsetLeft,Be=ke.offsetTop;Se+=Le,Ce+=Le,ae+=Be,fe+=Be}Me.bbox={x0:Se+ue,x1:Ce+ue,y0:ae+oe,y1:fe+oe},Q.inOut_bbox&&Q.inOut_bbox.push(Me.bbox)}else Me=!1;return{color:me.color||s.defaultLine,x0:me.x0||me.x||0,x1:me.x1||me.x||0,y0:me.y0||me.y||0,y1:me.y1||me.y||0,xLabel:me.xLabel,yLabel:me.yLabel,zLabel:me.zLabel,text:me.text,name:me.name,idealAlign:me.idealAlign,borderColor:me.borderColor,fontFamily:me.fontFamily,fontSize:me.fontSize,fontColor:me.fontColor,nameLength:me.nameLength,textAlign:me.textAlign,trace:me.trace||{index:0,hoverinfo:""},xa:{_offset:0},ya:{_offset:0},index:0,hovertemplate:me.hovertemplate||!1,hovertemplateLabels:me.hovertemplateLabels||!1,eventData:Me}}),{gd:ie,hovermode:"closest",rotateLabels:!1,bgColor:Q.bgColor||s.background,container:d.select(Q.container),outerContainer:Q.outerContainer||Q.container}).hoverLabels,ye=0,de=0;return ce.sort(function(me,pe){return me.y0-pe.y0}).each(function(me,pe){var xe=me.y0-me.by/2;me.offset=xe-5([\s\S]*)<\/extra>/;function B(X,Q){var re=Q.gd,ie=re._fullLayout,oe=Q.hovermode,ue=Q.rotateLabels,ce=Q.bgColor,ye=Q.container,de=Q.outerContainer,me=Q.commonLabelOpts||{};if(X.length===0)return[[]];var pe=Q.fontFamily||y.HOVERFONT,xe=Q.fontSize||y.HOVERFONTSIZE,Pe=X[0],_e=Pe.xa,Me=Pe.ya,Se=oe.charAt(0),Ce=Se+"Label",ae=Pe[Ce];if(ae===void 0&&_e.type==="multicategory")for(var fe=0;feie.width-kn?(xn=ie.width-kn,Nt.attr("d","M"+(kn-b)+",0L"+kn+","+Yn+b+"v"+Yn+(2*R+An.height)+"H-"+kn+"V"+Yn+b+"H"+(kn-2*b)+"Z")):Nt.attr("d","M0,0L"+b+","+Yn+b+"H"+kn+"v"+Yn+(2*R+An.height)+"H-"+kn+"V"+Yn+b+"H-"+b+"Z"),$e.minX=xn-kn,$e.maxX=xn+kn,_e.side==="top"?($e.minY=un-(2*R+An.height),$e.maxY=un-R):($e.minY=un+R,$e.maxY=un+(2*R+An.height))}else{var sn,Tn,dn;Me.side==="right"?(sn="start",Tn=1,dn="",xn=_e._offset+_e._length):(sn="end",Tn=-1,dn="-",xn=_e._offset),un=Me._offset+(Pe.y0+Pe.y1)/2,Yt.attr("text-anchor",sn),Nt.attr("d","M0,0L"+dn+b+","+b+"V"+(R+An.height/2)+"h"+dn+(2*R+An.width)+"V-"+(R+An.height/2)+"H"+dn+b+"V-"+b+"Z"),$e.minY=un-(R+An.height/2),$e.maxY=un+(R+An.height/2),Me.side==="right"?($e.minX=xn+b,$e.maxX=xn+b+(2*R+An.width)):($e.minX=xn-b-(2*R+An.width),$e.maxX=xn-b);var pn,Dn=An.height/2,In=ke-An.top-Dn,jn="clip"+ie._uid+"commonlabel"+Me._id;if(xn=0?Je:qe+Re=0?qe:yt+Re=0?Vt:Ke+Ne=0?Ke:Pt+Ne=0,Rt.idealAlign!=="top"&&rr||!Sr?rr?(Dn+=jn/2,Rt.anchor="start"):Rt.anchor="middle":(Dn-=jn/2,Rt.anchor="end"),Rt.crossPos=Dn;else{if(Rt.pos=Dn,rr=pn+In/2+yr<=Le,Sr=pn-In/2-yr>=0,Rt.idealAlign!=="left"&&rr||!Sr)if(rr)pn+=In/2,Rt.anchor="start";else{Rt.anchor="middle";var or=yr/2,vr=pn+or-Le,_r=pn-or;vr>0&&(pn-=vr),_r<0&&(pn+=-_r)}else pn-=In/2,Rt.anchor="end";Rt.crossPos=pn}Yn.attr("text-anchor",Rt.anchor),sn&&kn.attr("text-anchor",Rt.anchor),Nt.attr("transform",v(pn,Dn)+(ue?f(k):""))}),{hoverLabels:wt,commonLabelBoundingBox:$e}}function N(X,Q,re,ie,oe,ue){var ce="",ye="";X.nameOverride!==void 0&&(X.name=X.nameOverride),X.name&&(X.trace._meta&&(X.name=M.templateString(X.name,X.trace._meta)),ce=q(X.name,X.nameLength));var de=re.charAt(0),me=de==="x"?"y":"x";X.zLabel!==void 0?(X.xLabel!==void 0&&(ye+="x: "+X.xLabel+"
"),X.yLabel!==void 0&&(ye+="y: "+X.yLabel+"
"),X.trace.type!=="choropleth"&&X.trace.type!=="choroplethmapbox"&&(ye+=(ye?"z: ":"")+X.zLabel)):Q&&X[de+"Label"]===oe?ye=X[me+"Label"]||"":X.xLabel===void 0?X.yLabel!==void 0&&X.trace.type!=="scattercarpet"&&(ye=X.yLabel):ye=X.yLabel===void 0?X.xLabel:"("+X.xLabel+", "+X.yLabel+")",!X.text&&X.text!==0||Array.isArray(X.text)||(ye+=(ye?"
":"")+X.text),X.extraText!==void 0&&(ye+=(ye?"
":"")+X.extraText),ue&&ye===""&&!X.hovertemplate&&(ce===""&&ue.remove(),ye=ce);var pe=X.hovertemplate||!1;if(pe){var xe=X.hovertemplateLabels||X;X[de+"Label"]!==oe&&(xe[de+"other"]=xe[de+"Val"],xe[de+"otherLabel"]=xe[de+"Label"]),ye=(ye=M.hovertemplateString(pe,xe,ie._d3locale,X.eventData[0]||{},X.trace._meta)).replace(F,function(Pe,_e){return ce=q(_e,X.nameLength),""})}return[ye,ce]}function W(X,Q){var re=0,ie=X.offset;return Q&&(ie*=-L,re=X.offset*A),{x:re,y:ie}}function j(X,Q,re,ie){var oe=function(ce){return ce*re},ue=function(ce){return ce*ie};X.each(function(ce){var ye=d.select(this);if(ce.del)return ye.remove();var de,me,pe,xe,Pe=ye.select("text.nums"),_e=ce.anchor,Me=_e==="end"?-1:1,Se=(xe=(pe=(me={start:1,end:-1,middle:0}[(de=ce).anchor])*(b+R))+me*(de.txwidth+R),de.anchor==="middle"&&(pe-=de.tx2width/2,xe+=de.txwidth/2+R),{alignShift:me,textShiftX:pe,text2ShiftX:xe}),Ce=W(ce,Q),ae=Ce.x,fe=Ce.y,be=_e==="middle";ye.select("path").attr("d",be?"M-"+oe(ce.bx/2+ce.tx2width/2)+","+ue(fe-ce.by/2)+"h"+oe(ce.bx)+"v"+ue(ce.by)+"h-"+oe(ce.bx)+"Z":"M0,0L"+oe(Me*b+ae)+","+ue(b+fe)+"v"+ue(ce.by/2-b)+"h"+oe(Me*ce.bx)+"v-"+ue(ce.by)+"H"+oe(Me*b+ae)+"V"+ue(fe-b)+"Z");var ke=ae+Se.textShiftX,Le=fe+ce.ty0-ce.by/2+R,Be=ce.textAlign||"auto";Be!=="auto"&&(Be==="left"&&_e!=="start"?(Pe.attr("text-anchor","start"),ke=be?-ce.bx/2-ce.tx2width/2+R:-ce.bx-R):Be==="right"&&_e!=="end"&&(Pe.attr("text-anchor","end"),ke=be?ce.bx/2-ce.tx2width/2-R:ce.bx+R)),Pe.call(a.positionText,oe(ke),ue(Le)),ce.tx2width&&(ye.select("text.name").call(a.positionText,oe(Se.text2ShiftX+Se.alignShift*R+ae),ue(fe+ce.ty0-ce.by/2+R)),ye.select("rect").call(o.setRect,oe(Se.text2ShiftX+(Se.alignShift-1)*ce.tx2width/2+ae),ue(fe-ce.by/2-1),oe(ce.tx2width),ue(ce.by+2)))})}function $(X,Q){var re=X.index,ie=X.trace||{},oe=X.cd[0],ue=X.cd[re]||{};function ce(Pe){return Pe||g(Pe)&&Pe===0}var ye=Array.isArray(re)?function(Pe,_e){var Me=M.castOption(oe,re,Pe);return ce(Me)?Me:M.extractOption({},ie,"",_e)}:function(Pe,_e){return M.extractOption(ue,ie,Pe,_e)};function de(Pe,_e,Me){var Se=ye(_e,Me);ce(Se)&&(X[Pe]=Se)}if(de("hoverinfo","hi","hoverinfo"),de("bgcolor","hbg","hoverlabel.bgcolor"),de("borderColor","hbc","hoverlabel.bordercolor"),de("fontFamily","htf","hoverlabel.font.family"),de("fontSize","hts","hoverlabel.font.size"),de("fontColor","htc","hoverlabel.font.color"),de("nameLength","hnl","hoverlabel.namelength"),de("textAlign","hta","hoverlabel.align"),X.posref=Q==="y"||Q==="closest"&&ie.orientation==="h"?X.xa._offset+(X.x0+X.x1)/2:X.ya._offset+(X.y0+X.y1)/2,X.x0=M.constrain(X.x0,0,X.xa._length),X.x1=M.constrain(X.x1,0,X.xa._length),X.y0=M.constrain(X.y0,0,X.ya._length),X.y1=M.constrain(X.y1,0,X.ya._length),X.xLabelVal!==void 0&&(X.xLabel="xLabel"in X?X.xLabel:h.hoverLabelText(X.xa,X.xLabelVal,ie.xhoverformat),X.xVal=X.xa.c2d(X.xLabelVal)),X.yLabelVal!==void 0&&(X.yLabel="yLabel"in X?X.yLabel:h.hoverLabelText(X.ya,X.yLabelVal,ie.yhoverformat),X.yVal=X.ya.c2d(X.yLabelVal)),X.zLabelVal!==void 0&&X.zLabel===void 0&&(X.zLabel=String(X.zLabelVal)),!(isNaN(X.xerr)||X.xa.type==="log"&&X.xerr<=0)){var me=h.tickText(X.xa,X.xa.c2l(X.xerr),"hover").text;X.xerrneg!==void 0?X.xLabel+=" +"+me+" / -"+h.tickText(X.xa,X.xa.c2l(X.xerrneg),"hover").text:X.xLabel+=" ± "+me,Q==="x"&&(X.distance+=1)}if(!(isNaN(X.yerr)||X.ya.type==="log"&&X.yerr<=0)){var pe=h.tickText(X.ya,X.ya.c2l(X.yerr),"hover").text;X.yerrneg!==void 0?X.yLabel+=" +"+pe+" / -"+h.tickText(X.ya,X.ya.c2l(X.yerrneg),"hover").text:X.yLabel+=" ± "+pe,Q==="y"&&(X.distance+=1)}var xe=X.hoverinfo||X.trace.hoverinfo;return xe&&xe!=="all"&&((xe=Array.isArray(xe)?xe:xe.split("+")).indexOf("x")===-1&&(X.xLabel=void 0),xe.indexOf("y")===-1&&(X.yLabel=void 0),xe.indexOf("z")===-1&&(X.zLabel=void 0),xe.indexOf("text")===-1&&(X.text=void 0),xe.indexOf("name")===-1&&(X.name=void 0)),X}function U(X,Q,re){var ie,oe,ue=re.container,ce=re.fullLayout,ye=ce._size,de=re.event,me=!!Q.hLinePoint,pe=!!Q.vLinePoint;if(ue.selectAll(".spikeline").remove(),pe||me){var xe=s.combine(ce.plot_bgcolor,ce.paper_bgcolor);if(me){var Pe,_e,Me=Q.hLinePoint;ie=Me&&Me.xa,(oe=Me&&Me.ya).spikesnap==="cursor"?(Pe=de.pointerX,_e=de.pointerY):(Pe=ie._offset+Me.x,_e=oe._offset+Me.y);var Se,Ce,ae=i.readability(Me.color,xe)<1.5?s.contrast(xe):Me.color,fe=oe.spikemode,be=oe.spikethickness,ke=oe.spikecolor||ae,Le=h.getPxPosition(X,oe);if(fe.indexOf("toaxis")!==-1||fe.indexOf("across")!==-1){if(fe.indexOf("toaxis")!==-1&&(Se=Le,Ce=Pe),fe.indexOf("across")!==-1){var Be=oe._counterDomainMin,ze=oe._counterDomainMax;oe.anchor==="free"&&(Be=Math.min(Be,oe.position),ze=Math.max(ze,oe.position)),Se=ye.l+Be*ye.w,Ce=ye.l+ze*ye.w}ue.insert("line",":first-child").attr({x1:Se,x2:Ce,y1:_e,y2:_e,"stroke-width":be,stroke:ke,"stroke-dasharray":o.dashStyle(oe.spikedash,be)}).classed("spikeline",!0).classed("crisp",!0),ue.insert("line",":first-child").attr({x1:Se,x2:Ce,y1:_e,y2:_e,"stroke-width":be+2,stroke:xe}).classed("spikeline",!0).classed("crisp",!0)}fe.indexOf("marker")!==-1&&ue.insert("circle",":first-child").attr({cx:Le+(oe.side!=="right"?be:-be),cy:_e,r:be,fill:ke}).classed("spikeline",!0)}if(pe){var je,ge,we=Q.vLinePoint;ie=we&&we.xa,oe=we&&we.ya,ie.spikesnap==="cursor"?(je=de.pointerX,ge=de.pointerY):(je=ie._offset+we.x,ge=oe._offset+we.y);var Ee,Ve,$e=i.readability(we.color,xe)<1.5?s.contrast(xe):we.color,Ye=ie.spikemode,st=ie.spikethickness,ot=ie.spikecolor||$e,ht=h.getPxPosition(X,ie);if(Ye.indexOf("toaxis")!==-1||Ye.indexOf("across")!==-1){if(Ye.indexOf("toaxis")!==-1&&(Ee=ht,Ve=ge),Ye.indexOf("across")!==-1){var bt=ie._counterDomainMin,Et=ie._counterDomainMax;ie.anchor==="free"&&(bt=Math.min(bt,ie.position),Et=Math.max(Et,ie.position)),Ee=ye.t+(1-Et)*ye.h,Ve=ye.t+(1-bt)*ye.h}ue.insert("line",":first-child").attr({x1:je,x2:je,y1:Ee,y2:Ve,"stroke-width":st,stroke:ot,"stroke-dasharray":o.dashStyle(ie.spikedash,st)}).classed("spikeline",!0).classed("crisp",!0),ue.insert("line",":first-child").attr({x1:je,x2:je,y1:Ee,y2:Ve,"stroke-width":st+2,stroke:xe}).classed("spikeline",!0).classed("crisp",!0)}Ye.indexOf("marker")!==-1&&ue.insert("circle",":first-child").attr({cx:je,cy:ht-(ie.side!=="top"?st:-st),r:st,fill:ot}).classed("spikeline",!0)}}}function G(X,Q){return!Q||Q.vLinePoint!==X._spikepoints.vLinePoint||Q.hLinePoint!==X._spikepoints.hLinePoint}function q(X,Q){return a.plainText(X||"",{len:Q,allowedTags:["br","sub","sup","b","i","em"]})}function H(X,Q,re){var ie=Q[X+"a"],oe=Q[X+"Val"],ue=Q.cd[0];if(ie.type==="category"||ie.type==="multicategory")oe=ie._categoriesMap[oe];else if(ie.type==="date"){var ce=Q.trace[X+"periodalignment"];if(ce){var ye=Q.cd[Q.index],de=ye[X+"Start"];de===void 0&&(de=ye[X]);var me=ye[X+"End"];me===void 0&&(me=ye[X]);var pe=me-de;ce==="end"?oe+=pe:ce==="middle"&&(oe+=pe/2)}oe=ie.d2c(oe)}return ue&&ue.t&&ue.t.posLetter===ie._id&&(re.boxmode!=="group"&&re.violinmode!=="group"||(oe+=ue.t.dPos)),oe}function ne(X){return X.offsetTop+X.clientTop}function te(X){return X.offsetLeft+X.clientLeft}function Z(X,Q){var re=X._fullLayout,ie=Q.getBoundingClientRect(),oe=ie.left,ue=ie.top,ce=oe+ie.width,ye=ue+ie.height,de=M.apply3DTransform(re._invTransform)(oe,ue),me=M.apply3DTransform(re._invTransform)(ce,ye),pe=de[0],xe=de[1],Pe=me[0],_e=me[1];return{x:pe,y:xe,width:Pe-pe,height:_e-xe,top:Math.min(xe,_e),left:Math.min(pe,Pe),right:Math.max(pe,Pe),bottom:Math.max(xe,_e)}}},38048:function(T,p,t){var d=t(71828),g=t(7901),i=t(23469).isUnifiedHover;T.exports=function(M,v,f,l){l=l||{};var a=v.legend;function u(o){l.font[o]||(l.font[o]=a?v.legend.font[o]:v.font[o])}v&&i(v.hovermode)&&(l.font||(l.font={}),u("size"),u("family"),u("color"),a?(l.bgcolor||(l.bgcolor=g.combine(v.legend.bgcolor,v.paper_bgcolor)),l.bordercolor||(l.bordercolor=v.legend.bordercolor)):l.bgcolor||(l.bgcolor=v.paper_bgcolor)),f("hoverlabel.bgcolor",l.bgcolor),f("hoverlabel.bordercolor",l.bordercolor),f("hoverlabel.namelength",l.namelength),d.coerceFont(f,"hoverlabel.font",l.font),f("hoverlabel.align",l.align)}},98212:function(T,p,t){var d=t(71828),g=t(528);T.exports=function(i,M){function v(f,l){return M[f]!==void 0?M[f]:d.coerce(i,M,g,f,l)}return v("clickmode"),v("hovermode")}},30211:function(T,p,t){var d=t(39898),g=t(71828),i=t(28569),M=t(23469),v=t(528),f=t(88335);T.exports={moduleType:"component",name:"fx",constants:t(26675),schema:{layout:v},attributes:t(77914),layoutAttributes:v,supplyLayoutGlobalDefaults:t(22774),supplyDefaults:t(54268),supplyLayoutDefaults:t(34938),calc:t(30732),getDistanceFunction:M.getDistanceFunction,getClosest:M.getClosest,inbox:M.inbox,quadrature:M.quadrature,appendArrayPointValue:M.appendArrayPointValue,castHoverOption:function(l,a,u){return g.castOption(l,a,"hoverlabel."+u)},castHoverinfo:function(l,a,u){return g.castOption(l,u,"hoverinfo",function(o){return g.coerceHoverinfo({hoverinfo:o},{_module:l._module},a)})},hover:f.hover,unhover:i.unhover,loneHover:f.loneHover,loneUnhover:function(l){var a=g.isD3Selection(l)?l:d.select(l);a.selectAll("g.hovertext").remove(),a.selectAll(".spikeline").remove()},click:t(75914)}},528:function(T,p,t){var d=t(26675),g=t(41940),i=g({editType:"none"});i.family.dflt=d.HOVERFONT,i.size.dflt=d.HOVERFONTSIZE,T.exports={clickmode:{valType:"flaglist",flags:["event","select"],dflt:"event",editType:"plot",extras:["none"]},dragmode:{valType:"enumerated",values:["zoom","pan","select","lasso","drawclosedpath","drawopenpath","drawline","drawrect","drawcircle","orbit","turntable",!1],dflt:"zoom",editType:"modebar"},hovermode:{valType:"enumerated",values:["x","y","closest",!1,"x unified","y unified"],dflt:"closest",editType:"modebar"},hoverdistance:{valType:"integer",min:-1,dflt:20,editType:"none"},spikedistance:{valType:"integer",min:-1,dflt:-1,editType:"none"},hoverlabel:{bgcolor:{valType:"color",editType:"none"},bordercolor:{valType:"color",editType:"none"},font:i,grouptitlefont:g({editType:"none"}),align:{valType:"enumerated",values:["left","right","auto"],dflt:"auto",editType:"none"},namelength:{valType:"integer",min:-1,dflt:15,editType:"none"},editType:"none"},selectdirection:{valType:"enumerated",values:["h","v","d","any"],dflt:"any",editType:"none"}}},34938:function(T,p,t){var d=t(71828),g=t(528),i=t(98212),M=t(38048);T.exports=function(v,f){function l(s,c){return d.coerce(v,f,g,s,c)}i(v,f)&&(l("hoverdistance"),l("spikedistance")),l("dragmode")==="select"&&l("selectdirection");var a=f._has("mapbox"),u=f._has("geo"),o=f._basePlotModules.length;f.dragmode==="zoom"&&((a||u)&&o===1||a&&u&&o===2)&&(f.dragmode="pan"),M(v,f,l),d.coerceFont(l,"hoverlabel.grouptitlefont",f.hoverlabel.font)}},22774:function(T,p,t){var d=t(71828),g=t(38048),i=t(528);T.exports=function(M,v){g(M,v,function(f,l){return d.coerce(M,v,i,f,l)})}},83312:function(T,p,t){var d=t(71828),g=t(30587).counter,i=t(27670).Y,M=t(85555).idRegex,v=t(44467),f={rows:{valType:"integer",min:1,editType:"plot"},roworder:{valType:"enumerated",values:["top to bottom","bottom to top"],dflt:"top to bottom",editType:"plot"},columns:{valType:"integer",min:1,editType:"plot"},subplots:{valType:"info_array",freeLength:!0,dimensions:2,items:{valType:"enumerated",values:[g("xy").toString(),""],editType:"plot"},editType:"plot"},xaxes:{valType:"info_array",freeLength:!0,items:{valType:"enumerated",values:[M.x.toString(),""],editType:"plot"},editType:"plot"},yaxes:{valType:"info_array",freeLength:!0,items:{valType:"enumerated",values:[M.y.toString(),""],editType:"plot"},editType:"plot"},pattern:{valType:"enumerated",values:["independent","coupled"],dflt:"coupled",editType:"plot"},xgap:{valType:"number",min:0,max:1,editType:"plot"},ygap:{valType:"number",min:0,max:1,editType:"plot"},domain:i({name:"grid",editType:"plot",noGridCell:!0},{}),xside:{valType:"enumerated",values:["bottom","bottom plot","top plot","top"],dflt:"bottom plot",editType:"plot"},yside:{valType:"enumerated",values:["left","left plot","right plot","right"],dflt:"left plot",editType:"plot"},editType:"plot"};function l(o,s,c){var h=s[c+"axes"],m=Object.keys((o._splomAxes||{})[c]||{});return Array.isArray(h)?h:m.length?m:void 0}function a(o,s,c,h,m,w){var y=s(o+"gap",c),S=s("domain."+o);s(o+"side",h);for(var _=new Array(m),k=S[0],E=(S[1]-k)/(m-y),x=E*(1-y),A=0;A1){S||_||k||F("pattern")==="independent"&&(S=!0),x._hasSubplotGrid=S;var b,R,I=F("roworder")==="top to bottom",O=S?.2:.1,z=S?.3:.1;E&&s._splomGridDflt&&(b=s._splomGridDflt.xside,R=s._splomGridDflt.yside),x._domains={x:a("x",F,O,b,L),y:a("y",F,z,R,A,I)}}else delete s.grid}function F(B,N){return d.coerce(c,x,f,B,N)}},contentDefaults:function(o,s){var c=s.grid;if(c&&c._domains){var h,m,w,y,S,_,k,E=o.grid||{},x=s._subplots,A=c._hasSubplotGrid,L=c.rows,b=c.columns,R=c.pattern==="independent",I=c._axisMap={};if(A){var O=E.subplots||[];_=c.subplots=new Array(L);var z=1;for(h=0;h1);if(R===!1&&(s.legend=void 0),(R!==!1||h.uirevision)&&(w("uirevision",s.uirevision),R!==!1)){w("borderwidth");var I,O,z,F=w("orientation")==="h";if(F?(I=0,d.getComponentMethod("rangeslider","isVisible")(o.xaxis)?(O=1.1,z="bottom"):(O=-.1,z="top")):(I=1.02,O=1,z="auto"),w("traceorder",L),l.isGrouped(s.legend)&&w("tracegroupgap"),w("entrywidth"),w("entrywidthmode"),w("itemsizing"),w("itemwidth"),w("itemclick"),w("itemdoubleclick"),w("groupclick"),w("x",I),w("xanchor"),w("y",O),w("yanchor",z),w("valign"),g.noneOrAll(h,m,["x","y"]),w("title.text")){w("title.side",F?"left":"top");var B=g.extendFlat({},y,{size:g.bigFont(y.size)});g.coerceFont(w,"title.font",B)}}}}T.exports=function(u,o,s){var c,h=["legend"];for(c=0;c1)}var ne=U.hiddenlabels||[];if(!(q||U.showlegend&&H.length))return j.selectAll("."+G).remove(),U._topdefs.select("#"+W).remove(),i.autoMargin(B,G);var te=g.ensureSingle(j,"g",G,function(ye){q||ye.attr("pointer-events","all")}),Z=g.ensureSingleById(U._topdefs,"clipPath",W,function(ye){ye.append("rect")}),X=g.ensureSingle(te,"rect","bg",function(ye){ye.attr("shape-rendering","crispEdges")});X.call(a.stroke,$.bordercolor).call(a.fill,$.bgcolor).style("stroke-width",$.borderwidth+"px");var Q=g.ensureSingle(te,"g","scrollbox"),re=$.title;if($._titleWidth=0,$._titleHeight=0,re.text){var ie=g.ensureSingle(Q,"text",G+"titletext");ie.attr("text-anchor","start").call(l.font,re.font).text(re.text),I(ie,Q,B,$,1)}else Q.selectAll("."+G+"titletext").remove();var oe=g.ensureSingle(te,"rect","scrollbar",function(ye){ye.attr(s.scrollBarEnterAttrs).call(a.fill,s.scrollBarColor)}),ue=Q.selectAll("g.groups").data(H);ue.enter().append("g").attr("class","groups"),ue.exit().remove();var ce=ue.selectAll("g.traces").data(g.identity);ce.enter().append("g").attr("class","traces"),ce.exit().remove(),ce.style("opacity",function(ye){var de=ye[0].trace;return M.traceIs(de,"pie-like")?ne.indexOf(ye[0].label)!==-1?.5:1:de.visible==="legendonly"?.5:1}).each(function(){d.select(this).call(L,B,$)}).call(S,B,$).each(function(){q||d.select(this).call(R,B,G)}),g.syncOrAsync([i.previousPromises,function(){return function(ye,de,me,pe){var xe=ye._fullLayout,Pe=F(pe);pe||(pe=xe[Pe]);var _e=xe._size,Me=_.isVertical(pe),Se=_.isGrouped(pe),Ce=pe.entrywidthmode==="fraction",ae=pe.borderwidth,fe=2*ae,be=s.itemGap,ke=pe.itemwidth+2*be,Le=2*(ae+be),Be=z(pe),ze=pe.y<0||pe.y===0&&Be==="top",je=pe.y>1||pe.y===1&&Be==="bottom",ge=pe.tracegroupgap,we={};pe._maxHeight=Math.max(ze||je?xe.height/2:_e.h,30);var Ee=0;pe._width=0,pe._height=0;var Ve=function(Re){var Ne=0,Qe=0,ut=Re.title.side;return ut&&(ut.indexOf("left")!==-1&&(Ne=Re._titleWidth),ut.indexOf("top")!==-1&&(Qe=Re._titleHeight)),[Ne,Qe]}(pe);if(Me)me.each(function(Re){var Ne=Re[0].height;l.setTranslate(this,ae+Ve[0],ae+Ve[1]+pe._height+Ne/2+be),pe._height+=Ne,pe._width=Math.max(pe._width,Re[0].width)}),Ee=ke+pe._width,pe._width+=be+ke+fe,pe._height+=Le,Se&&(de.each(function(Re,Ne){l.setTranslate(this,0,Ne*pe.tracegroupgap)}),pe._height+=(pe._lgroupsLength-1)*pe.tracegroupgap);else{var $e=O(pe),Ye=pe.x<0||pe.x===0&&$e==="right",st=pe.x>1||pe.x===1&&$e==="left",ot=je||ze,ht=xe.width/2;pe._maxWidth=Math.max(Ye?ot&&$e==="left"?_e.l+_e.w:ht:st?ot&&$e==="right"?_e.r+_e.w:ht:_e.w,2*ke);var bt=0,Et=0;me.each(function(Re){var Ne=x(Re,pe,ke);bt=Math.max(bt,Ne),Et+=Ne}),Ee=null;var kt=0;if(Se){var xt=0,Ft=0,Ot=0;de.each(function(){var Re=0,Ne=0;d.select(this).selectAll("g.traces").each(function(ut){var dt=x(ut,pe,ke),_t=ut[0].height;l.setTranslate(this,Ve[0],Ve[1]+ae+be+_t/2+Ne),Ne+=_t,Re=Math.max(Re,dt),we[ut[0].trace.legendgroup]=Re});var Qe=Re+be;Ft>0&&Qe+ae+Ft>pe._maxWidth?(kt=Math.max(kt,Ft),Ft=0,Ot+=xt+ge,xt=Ne):xt=Math.max(xt,Ne),l.setTranslate(this,Ft,Ot),Ft+=Qe}),pe._width=Math.max(kt,Ft)+ae,pe._height=Ot+xt+Le}else{var Bt=me.size(),qt=Et+fe+(Bt-1)*be=pe._maxWidth&&(kt=Math.max(kt,qe),Ke=0,Je+=Vt,pe._height+=Vt,Vt=0),l.setTranslate(this,Ve[0]+ae+Ke,Ve[1]+ae+Je+Ne/2+be),qe=Ke+Qe+be,Ke+=ut,Vt=Math.max(Vt,Ne)}),qt?(pe._width=Ke+fe,pe._height=Vt+Le):(pe._width=Math.max(kt,qe)+fe,pe._height+=Vt+Le)}}pe._width=Math.ceil(Math.max(pe._width+Ve[0],pe._titleWidth+2*(ae+s.titlePad))),pe._height=Math.ceil(Math.max(pe._height+Ve[1],pe._titleHeight+2*(ae+s.itemGap))),pe._effHeight=Math.min(pe._height,pe._maxHeight);var nt=ye._context.edits,ft=nt.legendText||nt.legendPosition;me.each(function(Re){var Ne=d.select(this).select("."+Pe+"toggle"),Qe=Re[0].height,ut=Re[0].trace.legendgroup,dt=x(Re,pe,ke);Se&&ut!==""&&(dt=we[ut]);var _t=ft?ke:Ee||dt;Me||Ce||(_t+=be/2),l.setRect(Ne,0,-Qe/2,_t,Qe)})}(B,ue,ce,$)},function(){var ye,de,me,pe,xe=U._size,Pe=$.borderwidth;if(!q){var _e=function(Ye,st){var ot=Ye._fullLayout[st],ht=O(ot),bt=z(ot);return i.autoMargin(Ye,st,{x:ot.x,y:ot.y,l:ot._width*m[ht],r:ot._width*w[ht],b:ot._effHeight*w[bt],t:ot._effHeight*m[bt]})}(B,G);if(_e)return;var Me=xe.l+xe.w*$.x-m[O($)]*$._width,Se=xe.t+xe.h*(1-$.y)-m[z($)]*$._effHeight;if(U.margin.autoexpand){var Ce=Me,ae=Se;Me=g.constrain(Me,0,U.width-$._width),Se=g.constrain(Se,0,U.height-$._effHeight),Me!==Ce&&g.log("Constrain "+G+".x to make legend fit inside graph"),Se!==ae&&g.log("Constrain "+G+".y to make legend fit inside graph")}l.setTranslate(te,Me,Se)}if(oe.on(".drag",null),te.on("wheel",null),q||$._height<=$._maxHeight||B._context.staticPlot){var fe=$._effHeight;q&&(fe=$._height),X.attr({width:$._width-Pe,height:fe-Pe,x:Pe/2,y:Pe/2}),l.setTranslate(Q,0,0),Z.select("rect").attr({width:$._width-2*Pe,height:fe-2*Pe,x:Pe,y:Pe}),l.setClipUrl(Q,W,B),l.setRect(oe,0,0,0,0),delete $._scrollY}else{var be,ke,Le,Be=Math.max(s.scrollBarMinHeight,$._effHeight*$._effHeight/$._height),ze=$._effHeight-Be-2*s.scrollBarMargin,je=$._height-$._effHeight,ge=ze/je,we=Math.min($._scrollY||0,je);X.attr({width:$._width-2*Pe+s.scrollBarWidth+s.scrollBarMargin,height:$._effHeight-Pe,x:Pe/2,y:Pe/2}),Z.select("rect").attr({width:$._width-2*Pe+s.scrollBarWidth+s.scrollBarMargin,height:$._effHeight-2*Pe,x:Pe,y:Pe+we}),l.setClipUrl(Q,W,B),$e(we,Be,ge),te.on("wheel",function(){$e(we=g.constrain($._scrollY+d.event.deltaY/ze*je,0,je),Be,ge),we!==0&&we!==je&&d.event.preventDefault()});var Ee=d.behavior.drag().on("dragstart",function(){var Ye=d.event.sourceEvent;be=Ye.type==="touchstart"?Ye.changedTouches[0].clientY:Ye.clientY,Le=we}).on("drag",function(){var Ye=d.event.sourceEvent;Ye.buttons===2||Ye.ctrlKey||(ke=Ye.type==="touchmove"?Ye.changedTouches[0].clientY:Ye.clientY,we=function(st,ot,ht){var bt=(ht-ot)/ge+st;return g.constrain(bt,0,je)}(Le,be,ke),$e(we,Be,ge))});oe.call(Ee);var Ve=d.behavior.drag().on("dragstart",function(){var Ye=d.event.sourceEvent;Ye.type==="touchstart"&&(be=Ye.changedTouches[0].clientY,Le=we)}).on("drag",function(){var Ye=d.event.sourceEvent;Ye.type==="touchmove"&&(ke=Ye.changedTouches[0].clientY,we=function(st,ot,ht){var bt=(ot-ht)/ge+st;return g.constrain(bt,0,je)}(Le,be,ke),$e(we,Be,ge))});Q.call(Ve)}function $e(Ye,st,ot){$._scrollY=B._fullLayout[G]._scrollY=Ye,l.setTranslate(Q,0,-Ye),l.setRect(oe,$._width,s.scrollBarMargin+Ye*ot,s.scrollBarWidth,st),Z.select("rect").attr("y",Pe+Ye)}B._context.edits.legendPosition&&(te.classed("cursor-move",!0),f.init({element:te.node(),gd:B,prepFn:function(){var Ye=l.getTranslate(te);me=Ye.x,pe=Ye.y},moveFn:function(Ye,st){var ot=me+Ye,ht=pe+st;l.setTranslate(te,ot,ht),ye=f.align(ot,$._width,xe.l,xe.l+xe.w,$.xanchor),de=f.align(ht+$._height,-$._height,xe.t+xe.h,xe.t,$.yanchor)},doneFn:function(){if(ye!==void 0&&de!==void 0){var Ye={};Ye[G+".x"]=ye,Ye[G+".y"]=de,M.call("_guiRelayout",B,Ye)}},clickFn:function(Ye,st){var ot=ue.selectAll("g.traces").filter(function(){var ht=this.getBoundingClientRect();return st.clientX>=ht.left&&st.clientX<=ht.right&&st.clientY>=ht.top&&st.clientY<=ht.bottom});ot.size()>0&&A(B,te,ot,Ye,st)}}))}],B)}}function x(B,N,W){var j=B[0],$=j.width,U=N.entrywidthmode,G=j.trace.legendwidth||N.entrywidth;return U==="fraction"?N._maxWidth*G:W+(G||$)}function A(B,N,W,j,$){var U=W.data()[0][0].trace,G={event:$,node:W.node(),curveNumber:U.index,expandedIndex:U._expandedIndex,data:B.data,layout:B.layout,frames:B._transitionData._frames,config:B._context,fullData:B._fullData,fullLayout:B._fullLayout};U._group&&(G.group=U._group),M.traceIs(U,"pie-like")&&(G.label=W.datum()[0].label),v.triggerHandler(B,"plotly_legendclick",G)!==!1&&(j===1?N._clickTimeout=setTimeout(function(){B._fullLayout&&o(W,B,j)},B._context.doubleClickDelay):j===2&&(N._clickTimeout&&clearTimeout(N._clickTimeout),B._legendMouseDownTime=0,v.triggerHandler(B,"plotly_legenddoubleclick",G)!==!1&&o(W,B,j)))}function L(B,N,W){var j,$,U=F(W),G=B.data()[0][0],q=G.trace,H=M.traceIs(q,"pie-like"),ne=!W._inHover&&N._context.edits.legendText&&!H,te=W._maxNameLength;G.groupTitle?(j=G.groupTitle.text,$=G.groupTitle.font):($=W.font,W.entries?j=G.text:(j=H?G.label:q.name,q._meta&&(j=g.templateString(j,q._meta))));var Z=g.ensureSingle(B,"text",U+"text");Z.attr("text-anchor","start").call(l.font,$).text(ne?b(j,te):j);var X=W.itemwidth+2*s.itemGap;u.positionText(Z,X,0),ne?Z.call(u.makeEditable,{gd:N,text:j}).call(I,B,N,W).on("edit",function(Q){this.text(b(Q,te)).call(I,B,N,W);var re=G.trace._fullInput||{},ie={};if(M.hasTransform(re,"groupby")){var oe=M.getTransformIndices(re,"groupby"),ue=oe[oe.length-1],ce=g.keyedContainer(re,"transforms["+ue+"].styles","target","value.name");ce.set(G.trace._group,Q),ie=ce.constructUpdate()}else ie.name=Q;return M.call("_guiRestyle",N,ie,q.index)}):I(Z,B,N,W)}function b(B,N){var W=Math.max(4,N);if(B&&B.trim().length>=W/2)return B;for(var j=W-(B=B||"").length;j>0;j--)B+=" ";return B}function R(B,N,W){var j,$=N._context.doubleClickDelay,U=1,G=g.ensureSingle(B,"rect",W+"toggle",function(q){N._context.staticPlot||q.style("cursor","pointer").attr("pointer-events","all"),q.call(a.fill,"rgba(0,0,0,0)")});N._context.staticPlot||(G.on("mousedown",function(){(j=new Date().getTime())-N._legendMouseDownTime<$?U+=1:(U=1,N._legendMouseDownTime=j)}),G.on("mouseup",function(){if(!N._dragged&&!N._editing){var q=N._fullLayout[W];new Date().getTime()-N._legendMouseDownTime>$&&(U=Math.max(U-1,1)),A(N,q,B,U,d.event)}}))}function I(B,N,W,j,$){j._inHover&&B.attr("data-notex",!0),u.convertToTspans(B,W,function(){(function(U,G,q,H){var ne=U.data()[0][0];if(q._inHover||!ne||ne.trace.showlegend){var te=U.select("g[class*=math-group]"),Z=te.node(),X=F(q);q||(q=G._fullLayout[X]);var Q,re,ie=q.borderwidth,oe=(H===1?q.title.font:ne.groupTitle?ne.groupTitle.font:q.font).size*h;if(Z){var ue=l.bBox(Z);Q=ue.height,re=ue.width,H===1?l.setTranslate(te,ie,ie+.75*Q):l.setTranslate(te,0,.25*Q)}else{var ce="."+X+(H===1?"title":"")+"text",ye=U.select(ce),de=u.lineCount(ye),me=ye.node();if(Q=oe*de,re=me?l.bBox(me).width:0,H===1)q.title.side==="left"&&(re+=2*s.itemGap),u.positionText(ye,ie+s.titlePad,ie+oe);else{var pe=2*s.itemGap+q.itemwidth;ne.groupTitle&&(pe=s.itemGap,re-=q.itemwidth),u.positionText(ye,pe,-oe*((de-1)/2-.3))}}H===1?(q._titleWidth=re,q._titleHeight=Q):(ne.lineHeight=oe,ne.height=Math.max(Q,16)+3,ne.width=re)}else U.remove()})(N,W,j,$)})}function O(B){return g.isRightAnchor(B)?"right":g.isCenterAnchor(B)?"center":"left"}function z(B){return g.isBottomAnchor(B)?"bottom":g.isMiddleAnchor(B)?"middle":"top"}function F(B){return B._id||"legend"}T.exports=function(B,N){if(N)E(B,N);else{var W=B._fullLayout,j=W._legends;W._infolayer.selectAll('[class^="legend"]').each(function(){var G=d.select(this),q=G.attr("class").split(" ")[0];q.match(k)&&j.indexOf(q)===-1&&G.remove()});for(var $=0;$z&&(O=z)}R[f][0]._groupMinRank=O,R[f][0]._preGroupSort=f}var F=function($,U){return $.trace.legendrank-U.trace.legendrank||$._preSort-U._preSort};for(R.forEach(function($,U){$[0]._preGroupSort=U}),R.sort(function($,U){return $[0]._groupMinRank-U[0]._groupMinRank||$[0]._preGroupSort-U[0]._preGroupSort}),f=0;fS?S:w}T.exports=function(w,y,S){var _=y._fullLayout;S||(S=_.legend);var k=S.itemsizing==="constant",E=S.itemwidth,x=(E+2*s.itemGap)/2,A=M(x,0),L=function(I,O,z,F){var B;if(I+1)B=I;else{if(!(O&&O.width>0))return 0;B=O.width}return k?F:Math.min(B,z)};function b(I,O,z){var F=I[0].trace,B=F.marker||{},N=B.line||{},W=z?F.visible&&F.type===z:g.traceIs(F,"bar"),j=d.select(O).select("g.legendpoints").selectAll("path.legend"+z).data(W?[I]:[]);j.enter().append("path").classed("legend"+z,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",A),j.exit().remove(),j.each(function($){var U=d.select(this),G=$[0],q=L(G.mlw,B.line,5,2);U.style("stroke-width",q+"px");var H=G.mcc;if(!S._inHover&&"mc"in G){var ne=l(B),te=ne.mid;te===void 0&&(te=(ne.max+ne.min)/2),H=v.tryColorscale(B,"")(te)}var Z=H||G.mc||B.color,X=B.pattern,Q=X&&v.getPatternAttr(X.shape,0,"");if(Q){var re=v.getPatternAttr(X.bgcolor,0,null),ie=v.getPatternAttr(X.fgcolor,0,null),oe=X.fgopacity,ue=m(X.size,8,10),ce=m(X.solidity,.5,1),ye="legend-"+F.uid;U.call(v.pattern,"legend",y,ye,Q,ue,ce,H,X.fillmode,re,ie,oe)}else U.call(f.fill,Z);q&&f.stroke(U,G.mlc||N.color)})}function R(I,O,z){var F=I[0],B=F.trace,N=z?B.visible&&B.type===z:g.traceIs(B,z),W=d.select(O).select("g.legendpoints").selectAll("path.legend"+z).data(N?[I]:[]);if(W.enter().append("path").classed("legend"+z,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",A),W.exit().remove(),W.size()){var j=(B.marker||{}).line,$=L(o(j.width,F.pts),j,5,2),U=i.minExtend(B,{marker:{line:{width:$}}});U.marker.line.color=j.color;var G=i.minExtend(F,{trace:U});u(W,G,U)}}w.each(function(I){var O=d.select(this),z=i.ensureSingle(O,"g","layers");z.style("opacity",I[0].trace.opacity);var F=S.valign,B=I[0].lineHeight,N=I[0].height;if(F!=="middle"&&B&&N){var W={top:1,bottom:-1}[F]*(.5*(B-N+3));z.attr("transform",M(0,W))}else z.attr("transform",null);z.selectAll("g.legendfill").data([I]).enter().append("g").classed("legendfill",!0),z.selectAll("g.legendlines").data([I]).enter().append("g").classed("legendlines",!0);var j=z.selectAll("g.legendsymbols").data([I]);j.enter().append("g").classed("legendsymbols",!0),j.selectAll("g.legendpoints").data([I]).enter().append("g").classed("legendpoints",!0)}).each(function(I){var O,z=I[0].trace,F=[];if(z.visible)switch(z.type){case"histogram2d":case"heatmap":F=[["M-15,-2V4H15V-2Z"]],O=!0;break;case"choropleth":case"choroplethmapbox":F=[["M-6,-6V6H6V-6Z"]],O=!0;break;case"densitymapbox":F=[["M-6,0 a6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0"]],O="radial";break;case"cone":F=[["M-6,2 A2,2 0 0,0 -6,6 V6L6,4Z"],["M-6,-6 A2,2 0 0,0 -6,-2 L6,-4Z"],["M-6,-2 A2,2 0 0,0 -6,2 L6,0Z"]],O=!1;break;case"streamtube":F=[["M-6,2 A2,2 0 0,0 -6,6 H6 A2,2 0 0,1 6,2 Z"],["M-6,-6 A2,2 0 0,0 -6,-2 H6 A2,2 0 0,1 6,-6 Z"],["M-6,-2 A2,2 0 0,0 -6,2 H6 A2,2 0 0,1 6,-2 Z"]],O=!1;break;case"surface":F=[["M-6,-6 A2,3 0 0,0 -6,0 H6 A2,3 0 0,1 6,-6 Z"],["M-6,1 A2,3 0 0,1 -6,6 H6 A2,3 0 0,0 6,0 Z"]],O=!0;break;case"mesh3d":F=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],O=!1;break;case"volume":F=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],O=!0;break;case"isosurface":F=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6 A12,24 0 0,0 6,-6 L0,6Z"]],O=!1}var B=d.select(this).select("g.legendpoints").selectAll("path.legend3dandfriends").data(F);B.enter().append("path").classed("legend3dandfriends",!0).attr("transform",A).style("stroke-miterlimit",1),B.exit().remove(),B.each(function(N,W){var j,$=d.select(this),U=l(z),G=U.colorscale,q=U.reversescale;if(G){if(!O){var H=G.length;j=W===0?G[q?H-1:0][1]:W===1?G[q?0:H-1][1]:G[Math.floor((H-1)/2)][1]}}else{var ne=z.vertexcolor||z.facecolor||z.color;j=i.isArrayOrTypedArray(ne)?ne[W]||ne[0]:ne}$.attr("d",N[0]),j?$.call(f.fill,j):$.call(function(te){if(te.size()){var Z="legendfill-"+z.uid;v.gradient(te,y,Z,c(q,O==="radial"),G,"fill")}})})}).each(function(I){var O=I[0].trace,z=O.type==="waterfall";if(I[0]._distinct&&z){var F=I[0].trace[I[0].dir].marker;return I[0].mc=F.color,I[0].mlw=F.line.width,I[0].mlc=F.line.color,b(I,this,"waterfall")}var B=[];O.visible&&z&&(B=I[0].hasTotals?[["increasing","M-6,-6V6H0Z"],["totals","M6,6H0L-6,-6H-0Z"],["decreasing","M6,6V-6H0Z"]]:[["increasing","M-6,-6V6H6Z"],["decreasing","M6,6V-6H-6Z"]]);var N=d.select(this).select("g.legendpoints").selectAll("path.legendwaterfall").data(B);N.enter().append("path").classed("legendwaterfall",!0).attr("transform",A).style("stroke-miterlimit",1),N.exit().remove(),N.each(function(W){var j=d.select(this),$=O[W[0]].marker,U=L(void 0,$.line,5,2);j.attr("d",W[1]).style("stroke-width",U+"px").call(f.fill,$.color),U&&j.call(f.stroke,$.line.color)})}).each(function(I){b(I,this,"funnel")}).each(function(I){b(I,this)}).each(function(I){var O=I[0].trace,z=d.select(this).select("g.legendpoints").selectAll("path.legendbox").data(O.visible&&g.traceIs(O,"box-violin")?[I]:[]);z.enter().append("path").classed("legendbox",!0).attr("d","M6,6H-6V-6H6Z").attr("transform",A),z.exit().remove(),z.each(function(){var F=d.select(this);if(O.boxpoints!=="all"&&O.points!=="all"||f.opacity(O.fillcolor)!==0||f.opacity((O.line||{}).color)!==0){var B=L(void 0,O.line,5,2);F.style("stroke-width",B+"px").call(f.fill,O.fillcolor),B&&f.stroke(F,O.line.color)}else{var N=i.minExtend(O,{marker:{size:k?12:i.constrain(O.marker.size,2,16),sizeref:1,sizemin:1,sizemode:"diameter"}});z.call(v.pointStyle,N,y)}})}).each(function(I){R(I,this,"funnelarea")}).each(function(I){R(I,this,"pie")}).each(function(I){var O,z,F=h(I),B=F.showFill,N=F.showLine,W=F.showGradientLine,j=F.showGradientFill,$=F.anyFill,U=F.anyLine,G=I[0],q=G.trace,H=l(q),ne=H.colorscale,te=H.reversescale,Z=a.hasMarkers(q)||!$?"M5,0":U?"M5,-2":"M5,-3",X=d.select(this),Q=X.select(".legendfill").selectAll("path").data(B||j?[I]:[]);if(Q.enter().append("path").classed("js-fill",!0),Q.exit().remove(),Q.attr("d",Z+"h"+E+"v6h-"+E+"z").call(function(oe){if(oe.size())if(B)v.fillGroupStyle(oe,y);else{var ue="legendfill-"+q.uid;v.gradient(oe,y,ue,c(te),ne,"fill")}}),N||W){var re=L(void 0,q.line,10,5);z=i.minExtend(q,{line:{width:re}}),O=[i.minExtend(G,{trace:z})]}var ie=X.select(".legendlines").selectAll("path").data(N||W?[O]:[]);ie.enter().append("path").classed("js-line",!0),ie.exit().remove(),ie.attr("d",Z+(W?"l"+E+",0.0001":"h"+E)).call(N?v.lineGroupStyle:function(oe){if(oe.size()){var ue="legendline-"+q.uid;v.lineGroupStyle(oe),v.gradient(oe,y,ue,c(te),ne,"stroke")}})}).each(function(I){var O,z,F=h(I),B=F.anyFill,N=F.anyLine,W=F.showLine,j=F.showMarker,$=I[0],U=$.trace,G=!j&&!N&&!B&&a.hasText(U);function q(ie,oe,ue,ce){var ye=i.nestedProperty(U,ie).get(),de=i.isArrayOrTypedArray(ye)&&oe?oe(ye):ye;if(k&&de&&ce!==void 0&&(de=ce),ue){if(deue[1])return ue[1]}return de}function H(ie){return $._distinct&&$.index&&ie[$.index]?ie[$.index]:ie[0]}if(j||G||W){var ne={},te={};if(j){ne.mc=q("marker.color",H),ne.mx=q("marker.symbol",H),ne.mo=q("marker.opacity",i.mean,[.2,1]),ne.mlc=q("marker.line.color",H),ne.mlw=q("marker.line.width",i.mean,[0,5],2),te.marker={sizeref:1,sizemin:1,sizemode:"diameter"};var Z=q("marker.size",i.mean,[2,16],12);ne.ms=Z,te.marker.size=Z}W&&(te.line={width:q("line.width",H,[0,10],5)}),G&&(ne.tx="Aa",ne.tp=q("textposition",H),ne.ts=10,ne.tc=q("textfont.color",H),ne.tf=q("textfont.family",H)),O=[i.minExtend($,ne)],(z=i.minExtend(U,te)).selectedpoints=null,z.texttemplate=null}var X=d.select(this).select("g.legendpoints"),Q=X.selectAll("path.scatterpts").data(j?O:[]);Q.enter().insert("path",":first-child").classed("scatterpts",!0).attr("transform",A),Q.exit().remove(),Q.call(v.pointStyle,z,y),j&&(O[0].mrc=3);var re=X.selectAll("g.pointtext").data(G?O:[]);re.enter().append("g").classed("pointtext",!0).append("text").attr("transform",A),re.exit().remove(),re.selectAll("text").call(v.textPointStyle,z,y)}).each(function(I){var O=I[0].trace,z=d.select(this).select("g.legendpoints").selectAll("path.legendcandle").data(O.visible&&O.type==="candlestick"?[I,I]:[]);z.enter().append("path").classed("legendcandle",!0).attr("d",function(F,B){return B?"M-15,0H-8M-8,6V-6H8Z":"M15,0H8M8,-6V6H-8Z"}).attr("transform",A).style("stroke-miterlimit",1),z.exit().remove(),z.each(function(F,B){var N=d.select(this),W=O[B?"increasing":"decreasing"],j=L(void 0,W.line,5,2);N.style("stroke-width",j+"px").call(f.fill,W.fillcolor),j&&f.stroke(N,W.line.color)})}).each(function(I){var O=I[0].trace,z=d.select(this).select("g.legendpoints").selectAll("path.legendohlc").data(O.visible&&O.type==="ohlc"?[I,I]:[]);z.enter().append("path").classed("legendohlc",!0).attr("d",function(F,B){return B?"M-15,0H0M-8,-6V0":"M15,0H0M8,6V0"}).attr("transform",A).style("stroke-miterlimit",1),z.exit().remove(),z.each(function(F,B){var N=d.select(this),W=O[B?"increasing":"decreasing"],j=L(void 0,W.line,5,2);N.style("fill","none").call(v.dashLine,W.line.dash,j),j&&f.stroke(N,W.line.color)})})}},42068:function(T,p,t){t(93348),T.exports={editType:"modebar",orientation:{valType:"enumerated",values:["v","h"],dflt:"h",editType:"modebar"},bgcolor:{valType:"color",editType:"modebar"},color:{valType:"color",editType:"modebar"},activecolor:{valType:"color",editType:"modebar"},uirevision:{valType:"any",editType:"none"},add:{valType:"string",arrayOk:!0,dflt:"",editType:"modebar"},remove:{valType:"string",arrayOk:!0,dflt:"",editType:"modebar"}}},26023:function(T,p,t){var d=t(73972),g=t(74875),i=t(41675),M=t(24255),v=t(34031).eraseActiveShape,f=t(71828),l=f._,a=T.exports={};function u(_,k){var E,x,A=k.currentTarget,L=A.getAttribute("data-attr"),b=A.getAttribute("data-val")||!0,R=_._fullLayout,I={},O=i.list(_,null,!0),z=R._cartesianSpikesEnabled;if(L==="zoom"){var F,B=b==="in"?.5:2,N=(1+B)/2,W=(1-B)/2;for(x=0;x1?(Z=["toggleHover"],X=["resetViews"]):I?(te=["zoomInGeo","zoomOutGeo"],Z=["hoverClosestGeo"],X=["resetGeo"]):R?(Z=["hoverClosest3d"],X=["resetCameraDefault3d","resetCameraLastSave3d"]):N?(te=["zoomInMapbox","zoomOutMapbox"],Z=["toggleHover"],X=["resetViewMapbox"]):F?Z=["hoverClosestGl2d"]:O?Z=["hoverClosestPie"]:$?(Z=["hoverClosestCartesian","hoverCompareCartesian"],X=["resetViewSankey"]):Z=["toggleHover"],b&&(Z=["toggleSpikelines","hoverClosestCartesian","hoverCompareCartesian"]),(function(ye){for(var de=0;de0)){var y=function(_,k,E){for(var x=E.filter(function(R){return k[R].anchor===_._id}),A=0,L=0;L=pe.max)de=oe[me+1];else if(ye=pe.pmax)de=oe[me+1];else if(yeme._length||ke+Ve<0)return;ge=be+Ve,we=ke+Ve;break;case Pe:if(Ee="col-resize",be+Ve>me._length)return;ge=be+Ve,we=ke;break;case _e:if(Ee="col-resize",ke+Ve<0)return;ge=be,we=ke+Ve;break;default:Ee="ew-resize",ge=fe,we=fe+Ve}if(we=0;F--){var B=k.append("path").attr(x).style("opacity",F?.1:A).call(M.stroke,b).call(M.fill,L).call(v.dashLine,F?"solid":I,F?4+R:R);if(c(B,m,S),O){var N=f(m.layout,"selections",S);B.style({cursor:"move"});var W={element:B.node(),plotinfo:_,gd:m,editHelpers:N,isActiveSelection:!0},j=d(E,m);g(j,B,W)}else B.style("pointer-events",F?"all":"none");z[F]=B}var $=z[0];z[1].node().addEventListener("click",function(){return function(U,G){if(o(U)){var q=+G.node().getAttribute("data-index");if(q>=0){if(q===U._fullLayout._activeSelectionIndex)return void h(U);U._fullLayout._activeSelectionIndex=q,U._fullLayout._deactivateSelection=h,u(U)}}}(m,$)})}(m._fullLayout._selectionLayer)}function c(m,w,y){var S=y.xref+y.yref;v.setClipUrl(m,"clip"+w._fullLayout._uid+S,w)}function h(m){o(m)&&m._fullLayout._activeSelectionIndex>=0&&(i(m),delete m._fullLayout._activeSelectionIndex,u(m))}T.exports={draw:u,drawOne:s,activateLastSelection:function(m){if(o(m)){var w=m._fullLayout.selections.length-1;m._fullLayout._activeSelectionIndex=w,m._fullLayout._deactivateSelection=h,u(m)}}}},53777:function(T,p,t){var d=t(79952).P,g=t(1426).extendFlat;T.exports={newselection:{mode:{valType:"enumerated",values:["immediate","gradual"],dflt:"immediate",editType:"none"},line:{color:{valType:"color",editType:"none"},width:{valType:"number",min:1,dflt:1,editType:"none"},dash:g({},d,{dflt:"dot",editType:"none"}),editType:"none"},editType:"none"},activeselection:{fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"none"},opacity:{valType:"number",min:0,max:1,dflt:.5,editType:"none"},editType:"none"}}},90849:function(T){T.exports=function(p,t,d){d("newselection.mode"),d("newselection.line.width")&&(d("newselection.line.color"),d("newselection.line.dash")),d("activeselection.fillcolor"),d("activeselection.opacity")}},35855:function(T,p,t){var d=t(64505).selectMode,g=t(51873).clearOutline,i=t(60165),M=i.readPaths,v=i.writePaths,f=i.fixDatesForPaths;T.exports=function(l,a){if(l.length){var u=l[0][0];if(u){var o=u.getAttribute("d"),s=a.gd,c=s._fullLayout.newselection,h=a.plotinfo,m=h.xaxis,w=h.yaxis,y=a.isActiveSelection,S=a.dragmode,_=(s.layout||{}).selections||[];if(!d(S)&&y!==void 0){var k=s._fullLayout._activeSelectionIndex;if(k<_.length)switch(s._fullLayout.selections[k].type){case"rect":S="select";break;case"path":S="lasso"}}var E,x=M(o,s,h,y),A={xref:m._id,yref:w._id,opacity:c.opacity,line:{color:c.line.color,width:c.line.width,dash:c.line.dash}};x.length===1&&(E=x[0]),E&&E.length===5&&S==="select"?(A.type="rect",A.x0=E[0][1],A.y0=E[0][2],A.x1=E[2][1],A.y1=E[2][2]):(A.type="path",m&&w&&f(x,m,w),A.path=v(x),E=null),g(s);for(var L=a.editHelpers,b=(L||{}).modifyItem,R=[],I=0;I<_.length;I++){var O=s._fullLayout.selections[I];if(O){if(R[I]=O._input,y!==void 0&&I===s._fullLayout._activeSelectionIndex){var z=A;switch(O.type){case"rect":b("x0",z.x0),b("x1",z.x1),b("y0",z.y0),b("y1",z.y1);break;case"path":b("path",z.path)}}}else R[I]=O}return y===void 0?(R.push(A),R):L?L.getUpdateObj():{}}}}},75549:function(T,p,t){var d=t(71828).strTranslate;function g(i,M){switch(i.type){case"log":return i.p2d(M);case"date":return i.p2r(M,0,i.calendar);default:return i.p2r(M)}}T.exports={p2r:g,r2p:function(i,M){switch(i.type){case"log":return i.d2p(M);case"date":return i.r2p(M,0,i.calendar);default:return i.r2p(M)}},axValue:function(i){var M=i._id.charAt(0)==="y"?1:0;return function(v){return g(i,v[M])}},getTransform:function(i){return d(i.xaxis._offset,i.yaxis._offset)}}},47322:function(T,p,t){var d=t(32485),g=t(3937);T.exports={moduleType:"component",name:"selections",layoutAttributes:t(8389),supplyLayoutDefaults:t(59402),supplyDrawNewSelectionDefaults:t(90849),includeBasePlot:t(76325)("selections"),draw:d.draw,drawOne:d.drawOne,reselect:g.reselect,prepSelect:g.prepSelect,clearOutline:g.clearOutline,clearSelectionsCache:g.clearSelectionsCache,selectOnClick:g.selectOnClick}},3937:function(T,p,t){var d=t(52142),g=t(38258),i=t(73972),M=t(91424).dashStyle,v=t(7901),f=t(30211),l=t(23469).makeEventData,a=t(64505),u=a.freeMode,o=a.rectMode,s=a.drawMode,c=a.openMode,h=a.selectMode,m=t(30477),w=t(21459),y=t(42359),S=t(51873).clearOutline,_=t(60165),k=_.handleEllipse,E=_.readPaths,x=t(90551),A=t(35855),L=t(32485).activateLastSelection,b=t(71828),R=b.sorterAsc,I=t(61082),O=t(79990),z=t(41675).getFromId,F=t(33306),B=t(61549).redrawReglTraces,N=t(34122),W=N.MINSELECT,j=I.filter,$=I.tester,U=t(75549),G=U.p2r,q=U.axValue,H=U.getTransform;function ne(ze){return ze.subplot!==void 0}function te(ze,je,ge,we,Ee,Ve,$e){var Ye,st,ot,ht,bt,Et,kt,xt,Ft,Ot=je._hoverdata,Bt=je._fullLayout.clickmode.indexOf("event")>-1,qt=[];if(function(nt){return nt&&Array.isArray(nt)&&nt[0].hoverOnBox!==!0}(Ot)){re(ze,je,Ve);var Vt=function(nt,ft){var Re,Ne,Qe=nt[0],ut=-1,dt=[];for(Ne=0;Ne0?function(nt,ft){var Re,Ne,Qe,ut=[];for(Qe=0;Qe0&&ut.push(Re);if(ut.length===1&&ut[0]===ft.searchInfo&&(Ne=ft.searchInfo.cd[0].trace).selectedpoints.length===ft.pointNumbers.length){for(Qe=0;Qe1||(Ne+=ft.selectedpoints.length)>1))return!1;return Ne===1}(Ye)&&(Et=ye(Vt))){for($e&&$e.remove(),Ft=0;Ft=0})(Ee)&&Ee._fullLayout._deactivateShape(Ee),function(bt){return bt._fullLayout._activeSelectionIndex>=0}(Ee)&&Ee._fullLayout._deactivateSelection(Ee);var Ve=Ee._fullLayout._zoomlayer,$e=s(ge),Ye=h(ge);if($e||Ye){var st,ot,ht=Ve.selectAll(".select-outline-"+we.id);ht&&Ee._fullLayout._outlining&&($e&&(st=x(ht,ze)),st&&i.call("_guiRelayout",Ee,{shapes:st}),Ye&&!ne(ze)&&(ot=A(ht,ze)),ot&&(Ee._fullLayout._noEmitSelectedAtStart=!0,i.call("_guiRelayout",Ee,{selections:ot}).then(function(){je&&L(Ee)})),Ee._fullLayout._outlining=!1)}we.selection={},we.selection.selectionDefs=ze.selectionDefs=[],we.selection.mergedPolygons=ze.mergedPolygons=[]}function oe(ze){return ze._id}function ue(ze,je,ge,we){if(!ze.calcdata)return[];var Ee,Ve,$e,Ye=[],st=je.map(oe),ot=ge.map(oe);for($e=0;$e0?we[0]:ge;return!!je.selectedpoints&&je.selectedpoints.indexOf(Ee)>-1}function de(ze,je,ge){var we,Ee;for(we=0;we-1&&je;if(!Ve&&je){var Tn=Ce(ze,!0);if(Tn.length){var dn=Tn[0].xref,pn=Tn[0].yref;if(dn&&pn){var Dn=be(Tn);ke([z(ze,dn,"x"),z(ze,pn,"y")])(kn,Dn)}}ze._fullLayout._noEmitSelectedAtStart?ze._fullLayout._noEmitSelectedAtStart=!1:sn&&Le(ze,kn),Et._reselect=!1}if(!Ve&&Et._deselect){var In=Et._deselect;(function(jn,Gn,qn){for(var lr=0;lr=0)kt._fullLayout._deactivateShape(kt);else if(!ot){var pn=xt.clickmode;O.done(An).then(function(){if(O.clear(An),Tn===2){for(Xt.remove(),Qe=0;Qe-1&&te(dn,kt,we.xaxes,we.yaxes,we.subplot,we,Xt),pn==="event"&&Le(kt,void 0);f.click(kt,dn)}).catch(b.error)}},we.doneFn=function(){un.remove(),O.done(An).then(function(){O.clear(An),!Ft&&Ne&&we.selectionDefs&&(Ne.subtract=Wt,we.selectionDefs.push(Ne),we.mergedPolygons.length=0,[].push.apply(we.mergedPolygons,Re)),(Ft||ot)&&ie(we,Ft),we.doneFnCompleted&&we.doneFnCompleted(Yn),ht&&Le(kt,dt)}).catch(b.error)}},clearOutline:S,clearSelectionsCache:ie,selectOnClick:te}},89827:function(T,p,t){var d=t(50215),g=t(41940),i=t(82196).line,M=t(79952).P,v=t(1426).extendFlat,f=t(44467).templatedArray,l=(t(24695),t(5386).R),a=t(37281);T.exports=f("shape",{visible:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},type:{valType:"enumerated",values:["circle","rect","path","line"],editType:"calc+arraydraw"},layer:{valType:"enumerated",values:["below","above"],dflt:"above",editType:"arraydraw"},xref:v({},d.xref,{}),xsizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",editType:"calc+arraydraw"},xanchor:{valType:"any",editType:"calc+arraydraw"},x0:{valType:"any",editType:"calc+arraydraw"},x1:{valType:"any",editType:"calc+arraydraw"},yref:v({},d.yref,{}),ysizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",editType:"calc+arraydraw"},yanchor:{valType:"any",editType:"calc+arraydraw"},y0:{valType:"any",editType:"calc+arraydraw"},y1:{valType:"any",editType:"calc+arraydraw"},path:{valType:"string",editType:"calc+arraydraw"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"arraydraw"},line:{color:v({},i.color,{editType:"arraydraw"}),width:v({},i.width,{editType:"calc+arraydraw"}),dash:v({},M,{editType:"arraydraw"}),editType:"calc+arraydraw"},fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},fillrule:{valType:"enumerated",values:["evenodd","nonzero"],dflt:"evenodd",editType:"arraydraw"},editable:{valType:"boolean",dflt:!1,editType:"calc+arraydraw"},label:{text:{valType:"string",dflt:"",editType:"arraydraw"},texttemplate:l({},{keys:Object.keys(a)}),font:g({editType:"calc+arraydraw",colorEditType:"arraydraw"}),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right","start","middle","end"],editType:"arraydraw"},textangle:{valType:"angle",dflt:"auto",editType:"calc+arraydraw"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto",editType:"calc+arraydraw"},yanchor:{valType:"enumerated",values:["top","middle","bottom"],editType:"calc+arraydraw"},padding:{valType:"number",dflt:3,min:0,editType:"arraydraw"},editType:"arraydraw"},editType:"arraydraw"})},5627:function(T,p,t){var d=t(71828),g=t(89298),i=t(21459),M=t(30477);function v(u){return l(u.line.width,u.xsizemode,u.x0,u.x1,u.path,!1)}function f(u){return l(u.line.width,u.ysizemode,u.y0,u.y1,u.path,!0)}function l(u,o,s,c,h,m){var w=u/2,y=m;if(o==="pixel"){var S=h?M.extractPathCoords(h,m?i.paramIsY:i.paramIsX):[s,c],_=d.aggNums(Math.max,null,S),k=d.aggNums(Math.min,null,S),E=k<0?Math.abs(k)+w:w,x=_>0?_+w:w;return{ppad:w,ppadplus:y?E:x,ppadminus:y?x:E}}return{ppad:w}}function a(u,o,s,c,h){var m=u.type==="category"||u.type==="multicategory"?u.r2c:u.d2c;if(o!==void 0)return[m(o),m(s)];if(c){var w,y,S,_,k=1/0,E=-1/0,x=c.match(i.segmentRE);for(u.type==="date"&&(m=M.decodeDate(m)),w=0;wE&&(E=_)));return E>=k?[k,E]:void 0}}T.exports=function(u){var o=u._fullLayout,s=d.filterVisible(o.shapes);if(s.length&&u._fullData.length)for(var c=0;c1&&(ye.length!==2||ye[1][0]!=="Z")&&(W===0&&(ye[0][0]="M"),A[N]=ye,O(),z())}}()}}function X(oe,ue){(function(ce,ye){if(A.length)for(var de=0;deSe?(fe=_e,Be="y0",be=Se,ze="y1"):(fe=Se,Be="y1",be=_e,ze="y0"),Je(Ne),ft(pe,de),function(Qe,ut,dt){var _t=ut.xref,It=ut.yref,Lt=M.getFromId(dt,_t),yt=M.getFromId(dt,It),Pt="";_t==="paper"||Lt.autorange||(Pt+=_t),It==="paper"||yt.autorange||(Pt+=It),u.setClipUrl(Qe,Pt?"clip"+dt._fullLayout._uid+Pt:null,dt)}(ye,de,ce),Ke.moveFn=Ee==="move"?qe:nt,Ke.altKey=Ne.altKey)},doneFn:function(){E(ce)||(c(ye),Re(pe),L(ye,ce,de),g.call("_guiRelayout",ce,xe.getUpdateObj()))},clickFn:function(){E(ce)||Re(pe)}};function Je(Ne){if(E(ce))Ee=null;else if(Ye)Ee=Ne.target.tagName==="path"?"move":Ne.target.attributes["data-line-point"].value==="start-point"?"resize-over-start-point":"resize-over-end-point";else{var Qe=Ke.element.getBoundingClientRect(),ut=Qe.right-Qe.left,dt=Qe.bottom-Qe.top,_t=Ne.clientX-Qe.left,It=Ne.clientY-Qe.top,Lt=!st&&ut>10&&dt>10&&!Ne.shiftKey?s.getCursor(_t/ut,1-It/dt):"move";c(ye,Lt),Ee=Lt.split("-")[0]}}function qe(Ne,Qe){if(de.type==="path"){var ut=function(It){return It},dt=ut,_t=ut;Ve?ot("xanchor",de.xanchor=Bt(Ce+Ne)):(dt=function(It){return Bt(Ft(It)+Ne)},bt&&bt.type==="date"&&(dt=w.encodeDate(dt))),$e?ot("yanchor",de.yanchor=qt(ae+Qe)):(_t=function(It){return qt(Ot(It)+Qe)},kt&&kt.type==="date"&&(_t=w.encodeDate(_t))),ot("path",de.path=R(we,dt,_t))}else Ve?ot("xanchor",de.xanchor=Bt(Ce+Ne)):(ot("x0",de.x0=Bt(Pe+Ne)),ot("x1",de.x1=Bt(Me+Ne))),$e?ot("yanchor",de.yanchor=qt(ae+Qe)):(ot("y0",de.y0=qt(_e+Qe)),ot("y1",de.y1=qt(Se+Qe)));ye.attr("d",y(ce,de)),ft(pe,de),b(ce,me,de,ht)}function nt(Ne,Qe){if(st){var ut=function(un){return un},dt=ut,_t=ut;Ve?ot("xanchor",de.xanchor=Bt(Ce+Ne)):(dt=function(un){return Bt(Ft(un)+Ne)},bt&&bt.type==="date"&&(dt=w.encodeDate(dt))),$e?ot("yanchor",de.yanchor=qt(ae+Qe)):(_t=function(un){return qt(Ot(un)+Qe)},kt&&kt.type==="date"&&(_t=w.encodeDate(_t))),ot("path",de.path=R(we,dt,_t))}else if(Ye){if(Ee==="resize-over-start-point"){var It=Pe+Ne,Lt=$e?_e-Qe:_e+Qe;ot("x0",de.x0=Ve?It:Bt(It)),ot("y0",de.y0=$e?Lt:qt(Lt))}else if(Ee==="resize-over-end-point"){var yt=Me+Ne,Pt=$e?Se-Qe:Se+Qe;ot("x1",de.x1=Ve?yt:Bt(yt)),ot("y1",de.y1=$e?Pt:qt(Pt))}}else{var wt=function(un){return Ee.indexOf(un)!==-1},Rt=wt("n"),Nt=wt("s"),Yt=wt("w"),Wt=wt("e"),Xt=Rt?fe+Qe:fe,Qt=Nt?be+Qe:be,rn=Yt?ke+Ne:ke,xn=Wt?Le+Ne:Le;$e&&(Rt&&(Xt=fe-Qe),Nt&&(Qt=be-Qe)),(!$e&&Qt-Xt>10||$e&&Xt-Qt>10)&&(ot(Be,de[Be]=$e?Xt:qt(Xt)),ot(ze,de[ze]=$e?Qt:qt(Qt))),xn-rn>10&&(ot(je,de[je]=Ve?rn:Bt(rn)),ot(ge,de[ge]=Ve?xn:Bt(xn)))}ye.attr("d",y(ce,de)),ft(pe,de),b(ce,me,de,ht)}function ft(Ne,Qe){(Ve||$e)&&function(){var ut=Qe.type!=="path",dt=Ne.selectAll(".visual-cue").data([0]);dt.enter().append("path").attr({fill:"#fff","fill-rule":"evenodd",stroke:"#000","stroke-width":1}).classed("visual-cue",!0);var _t=Ft(Ve?Qe.xanchor:i.midRange(ut?[Qe.x0,Qe.x1]:w.extractPathCoords(Qe.path,m.paramIsX))),It=Ot($e?Qe.yanchor:i.midRange(ut?[Qe.y0,Qe.y1]:w.extractPathCoords(Qe.path,m.paramIsY)));if(_t=w.roundPositionForSharpStrokeRendering(_t,1),It=w.roundPositionForSharpStrokeRendering(It,1),Ve&&$e){var Lt="M"+(_t-1-1)+","+(It-1-1)+"h-8v2h8 v8h2v-8 h8v-2h-8 v-8h-2 Z";dt.attr("d",Lt)}else if(Ve){var yt="M"+(_t-1-1)+","+(It-9-1)+"v18 h2 v-18 Z";dt.attr("d",yt)}else{var Pt="M"+(_t-9-1)+","+(It-1-1)+"h18 v2 h-18 Z";dt.attr("d",Pt)}}()}function Re(Ne){Ne.selectAll(".visual-cue").remove()}s.init(Ke),Vt.node().onmousemove=Je}(O,ie,B,z,j,Q):B.editable===!0&&ie.style("pointer-events",Z||a.opacity(q)*G<=.5?"stroke":"all");ie.node().addEventListener("click",function(){return function(ce,ye){if(x(ce)){var de=+ye.node().getAttribute("data-index");if(de>=0){if(de===ce._fullLayout._activeShapeIndex)return void I(ce);ce._fullLayout._activeShapeIndex=de,ce._fullLayout._deactivateShape=I,k(ce)}}}(O,ie)})}B._input&&B.visible!==!1&&(B.layer!=="below"?W(O._fullLayout._shapeUpperLayer):B.xref==="paper"||B.yref==="paper"?W(O._fullLayout._shapeLowerLayer):N._hadPlotinfo?W((N.mainplotinfo||N).shapelayer):W(O._fullLayout._shapeLowerLayer))}function L(O,z,F){var B=(F.xref+F.yref).replace(/paper/g,"").replace(/[xyz][1-9]* *domain/g,"");u.setClipUrl(O,B?"clip"+z._fullLayout._uid+B:null,z)}function b(O,z,F,B){if(B.selectAll(".shape-label").remove(),F.label.text||F.label.texttemplate){var N;if(F.label.texttemplate){var W={};if(F.type!=="path"){var j=M.getFromId(O,F.xref),$=M.getFromId(O,F.yref);for(var U in S){var G=S[U](F,j,$);G!==void 0&&(W[U]=G)}}N=i.texttemplateStringForShapes(F.label.texttemplate,{},O._fullLayout._d3locale,W)}else N=F.label.text;var q,H,ne,te,Z={"data-index":z},X=F.label.font,Q=B.append("g").attr(Z).classed("shape-label",!0).append("text").attr({"data-notex":1}).classed("shape-label-text",!0).text(N);if(F.path){var re=y(O,F),ie=v(re,O);q=1/0,ne=1/0,H=-1/0,te=-1/0;for(var oe=0;oe=Le?Be-je:je-Be,-180/Math.PI*Math.atan2(ge,we)}(q,ne,H,te):0),Q.call(function(Le){return Le.call(u.font,X).attr({}),h.convertToTspans(Le,O),Le});var ae=function(Le,Be,ze,je,ge,we,Ee){var Ve,$e,Ye,st,ot=ge.label.textposition,ht=ge.label.textangle,bt=ge.label.padding,Et=ge.type,kt=Math.PI/180*we,xt=Math.sin(kt),Ft=Math.cos(kt),Ot=ge.label.xanchor,Bt=ge.label.yanchor;if(Et==="line"){ot==="start"?(Ve=Le,$e=Be):ot==="end"?(Ve=ze,$e=je):(Ve=(Le+ze)/2,$e=(Be+je)/2),Ot==="auto"&&(Ot=ot==="start"?ht==="auto"?ze>Le?"left":zeLe?"right":zeLe?"right":zeLe?"left":ze=U||(j[N]?G=z(G):$[N]&&(G=F(G)),N++),G})})}function I(O){x(O)&&O._fullLayout._activeShapeIndex>=0&&(l(O),delete O._fullLayout._activeShapeIndex,k(O))}T.exports={draw:k,drawOne:A,eraseActiveShape:function(O){if(x(O)){l(O);var z=O._fullLayout._activeShapeIndex,F=(O.layout||{}).shapes||[];if(z0&&EZ&&(Q="X"),Q});return q>Z&&(X=X.replace(/[\s,]*X.*/,""),g.log("Ignoring extra params in segment "+G)),H+X})}(v,l,u);if(v.xsizemode==="pixel"){var E=l(v.xanchor);o=E+v.x0,s=E+v.x1}else o=l(v.x0),s=l(v.x1);if(v.ysizemode==="pixel"){var x=u(v.yanchor);c=x-v.y0,h=x-v.y1}else c=u(v.y0),h=u(v.y1);if(m==="line")return"M"+o+","+c+"L"+s+","+h;if(m==="rect")return"M"+o+","+c+"H"+s+"V"+h+"H"+o+"Z";var A=(o+s)/2,L=(c+h)/2,b=Math.abs(A-o),R=Math.abs(L-c),I="A"+b+","+R,O=A+b+","+L;return"M"+O+I+" 0 1,1 "+A+","+(L-R)+I+" 0 0,1 "+O+"Z"}},89853:function(T,p,t){var d=t(34031);T.exports={moduleType:"component",name:"shapes",layoutAttributes:t(89827),supplyLayoutDefaults:t(84726),supplyDrawNewShapeDefaults:t(45547),includeBasePlot:t(76325)("shapes"),calcAutorange:t(5627),draw:d.draw,drawOne:d.drawOne}},37281:function(T){function p(i,M){return M?M.d2l(i):i}function t(i,M){return M?M.l2d(i):i}function d(i,M){return p(i.x1,M)-p(i.x0,M)}function g(i,M,v){return p(i.y1,v)-p(i.y0,v)}T.exports={x0:function(i){return i.x0},x1:function(i){return i.x1},y0:function(i){return i.y0},y1:function(i){return i.y1},slope:function(i,M,v){return i.type!=="line"?void 0:g(i,0,v)/d(i,M)},dx:d,dy:g,width:function(i,M){return Math.abs(d(i,M))},height:function(i,M,v){return Math.abs(g(i,0,v))},length:function(i,M,v){return i.type!=="line"?void 0:Math.sqrt(Math.pow(d(i,M),2)+Math.pow(g(i,0,v),2))},xcenter:function(i,M){return t((p(i.x1,M)+p(i.x0,M))/2,M)},ycenter:function(i,M,v){return t((p(i.y1,v)+p(i.y0,v))/2,v)}}},75067:function(T,p,t){var d=t(41940),g=t(35025),i=t(1426).extendDeepAll,M=t(30962).overrideAll,v=t(85594),f=t(44467).templatedArray,l=t(98292),a=f("step",{visible:{valType:"boolean",dflt:!0},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle"},args:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},label:{valType:"string"},value:{valType:"string"},execute:{valType:"boolean",dflt:!0}});T.exports=M(f("slider",{visible:{valType:"boolean",dflt:!0},active:{valType:"number",min:0,dflt:0},steps:a,lenmode:{valType:"enumerated",values:["fraction","pixels"],dflt:"fraction"},len:{valType:"number",min:0,dflt:1},x:{valType:"number",min:-2,max:3,dflt:0},pad:i(g({editType:"arraydraw"}),{},{t:{dflt:20}}),xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left"},y:{valType:"number",min:-2,max:3,dflt:0},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top"},transition:{duration:{valType:"number",min:0,dflt:150},easing:{valType:"enumerated",values:v.transition.easing.values,dflt:"cubic-in-out"}},currentvalue:{visible:{valType:"boolean",dflt:!0},xanchor:{valType:"enumerated",values:["left","center","right"],dflt:"left"},offset:{valType:"number",dflt:10},prefix:{valType:"string"},suffix:{valType:"string"},font:d({})},font:d({}),activebgcolor:{valType:"color",dflt:l.gripBgActiveColor},bgcolor:{valType:"color",dflt:l.railBgColor},bordercolor:{valType:"color",dflt:l.railBorderColor},borderwidth:{valType:"number",min:0,dflt:l.railBorderWidth},ticklen:{valType:"number",min:0,dflt:l.tickLength},tickcolor:{valType:"color",dflt:l.tickColor},tickwidth:{valType:"number",min:0,dflt:1},minorticklen:{valType:"number",min:0,dflt:l.minorTickLength}}),"arraydraw","from-root")},98292:function(T){T.exports={name:"sliders",containerClassName:"slider-container",groupClassName:"slider-group",inputAreaClass:"slider-input-area",railRectClass:"slider-rail-rect",railTouchRectClass:"slider-rail-touch-rect",gripRectClass:"slider-grip-rect",tickRectClass:"slider-tick-rect",inputProxyClass:"slider-input-proxy",labelsClass:"slider-labels",labelGroupClass:"slider-label-group",labelClass:"slider-label",currentValueClass:"slider-current-value",railHeight:5,menuIndexAttrName:"slider-active-index",autoMarginIdRoot:"slider-",minWidth:30,minHeight:30,textPadX:40,arrowOffsetX:4,railRadius:2,railWidth:5,railBorder:4,railBorderWidth:1,railBorderColor:"#bec8d9",railBgColor:"#f8fafc",railInset:8,stepInset:10,gripRadius:10,gripWidth:20,gripHeight:20,gripBorder:20,gripBorderWidth:1,gripBorderColor:"#bec8d9",gripBgColor:"#f6f8fa",gripBgActiveColor:"#dbdde0",labelPadding:8,labelOffset:0,tickWidth:1,tickColor:"#333",tickOffset:25,tickLength:7,minorTickOffset:25,minorTickColor:"#333",minorTickLength:4,currentValuePadding:8,currentValueInset:0}},12343:function(T,p,t){var d=t(71828),g=t(85501),i=t(75067),M=t(98292).name,v=i.steps;function f(a,u,o){function s(y,S){return d.coerce(a,u,i,y,S)}for(var c=g(a,u,{name:"steps",handleItemDefaults:l}),h=0,m=0;m0&&(q=q.transition().duration(N.transition.duration).ease(N.transition.easing)),q.attr("transform",f(G-.5*u.gripWidth,N._dims.currentValueTotalHeight))}}function I(B,N){var W=B._dims;return W.inputAreaStart+u.stepInset+(W.inputAreaLength-2*u.stepInset)*Math.min(1,Math.max(0,N))}function O(B,N){var W=B._dims;return Math.min(1,Math.max(0,(N-u.stepInset-W.inputAreaStart)/(W.inputAreaLength-2*u.stepInset-2*W.inputAreaStart)))}function z(B,N,W){var j=W._dims,$=v.ensureSingle(B,"rect",u.railTouchRectClass,function(U){U.call(L,N,B,W).style("pointer-events","all")});$.attr({width:j.inputAreaLength,height:Math.max(j.inputAreaWidth,u.tickOffset+W.ticklen+j.labelHeight)}).call(i.fill,W.bgcolor).attr("opacity",0),M.setTranslate($,0,j.currentValueTotalHeight)}function F(B,N){var W=N._dims,j=W.inputAreaLength-2*u.railInset,$=v.ensureSingle(B,"rect",u.railRectClass);$.attr({width:j,height:u.railWidth,rx:u.railRadius,ry:u.railRadius,"shape-rendering":"crispEdges"}).call(i.stroke,N.bordercolor).call(i.fill,N.bgcolor).style("stroke-width",N.borderwidth+"px"),M.setTranslate($,u.railInset,.5*(W.inputAreaWidth-u.railWidth)+W.currentValueTotalHeight)}T.exports=function(B){var N=B._context.staticPlot,W=B._fullLayout,j=function(ne,te){for(var Z=ne[u.name],X=[],Q=0;Q0?[0]:[]);function U(ne){ne._commandObserver&&(ne._commandObserver.remove(),delete ne._commandObserver),g.autoMargin(B,m(ne))}if($.enter().append("g").classed(u.containerClassName,!0).style("cursor",N?null:"ew-resize"),$.exit().each(function(){d.select(this).selectAll("g."+u.groupClassName).each(U)}).remove(),j.length!==0){var G=$.selectAll("g."+u.groupClassName).data(j,w);G.enter().append("g").classed(u.groupClassName,!0),G.exit().each(U).remove();for(var q=0;q0||xe<0){var Se={left:[-Pe,0],right:[Pe,0],top:[0,-Pe],bottom:[0,Pe]}[x.side];X.attr("transform",f(Se[0],Se[1]))}}}return q.call(H),$&&(F?q.on(".opacity",null):(I=0,O=!0,q.text(k).on("mouseover.opacity",function(){d.select(this).transition().duration(o.SHOW_PLACEHOLDER).style("opacity",1)}).on("mouseout.opacity",function(){d.select(this).transition().duration(o.HIDE_PLACEHOLDER).style("opacity",0)})),q.call(u.makeEditable,{gd:h}).on("edit",function(Z){E!==void 0?M.call("_guiRestyle",h,_,Z,E):M.call("_guiRelayout",h,_,Z)}).on("cancel",function(){this.text(this.attr("data-unformatted")).call(H)}).on("input",function(Z){this.text(Z||" ").call(u.positionText,A.x,A.y)})),q.classed("js-placeholder",O),b}}},7163:function(T,p,t){var d=t(41940),g=t(22399),i=t(1426).extendFlat,M=t(30962).overrideAll,v=t(35025),f=t(44467).templatedArray,l=f("button",{visible:{valType:"boolean"},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle"},args:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},args2:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},label:{valType:"string",dflt:""},execute:{valType:"boolean",dflt:!0}});T.exports=M(f("updatemenu",{_arrayAttrRegexps:[/^updatemenus\[(0|[1-9][0-9]+)\]\.buttons/],visible:{valType:"boolean"},type:{valType:"enumerated",values:["dropdown","buttons"],dflt:"dropdown"},direction:{valType:"enumerated",values:["left","right","up","down"],dflt:"down"},active:{valType:"integer",min:-1,dflt:0},showactive:{valType:"boolean",dflt:!0},buttons:l,x:{valType:"number",min:-2,max:3,dflt:-.05},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"right"},y:{valType:"number",min:-2,max:3,dflt:1},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top"},pad:i(v({editType:"arraydraw"}),{}),font:d({}),bgcolor:{valType:"color"},bordercolor:{valType:"color",dflt:g.borderLine},borderwidth:{valType:"number",min:0,dflt:1,editType:"arraydraw"}}),"arraydraw","from-root")},75909:function(T){T.exports={name:"updatemenus",containerClassName:"updatemenu-container",headerGroupClassName:"updatemenu-header-group",headerClassName:"updatemenu-header",headerArrowClassName:"updatemenu-header-arrow",dropdownButtonGroupClassName:"updatemenu-dropdown-button-group",dropdownButtonClassName:"updatemenu-dropdown-button",buttonClassName:"updatemenu-button",itemRectClassName:"updatemenu-item-rect",itemTextClassName:"updatemenu-item-text",menuIndexAttrName:"updatemenu-active-index",autoMarginIdRoot:"updatemenu-",blankHeaderOpts:{label:" "},minWidth:30,minHeight:30,textPadX:24,arrowPadX:16,rx:2,ry:2,textOffsetX:12,textOffsetY:3,arrowOffsetX:4,gapButtonHeader:5,gapButton:2,activeColor:"#F4FAFF",hoverColor:"#F4FAFF",arrowSymbol:{left:"◄",right:"►",up:"▲",down:"▼"}}},64897:function(T,p,t){var d=t(71828),g=t(85501),i=t(7163),M=t(75909).name,v=i.buttons;function f(a,u,o){function s(c,h){return d.coerce(a,u,i,c,h)}s("visible",g(a,u,{name:"buttons",handleItemDefaults:l}).length>0)&&(s("active"),s("direction"),s("type"),s("showactive"),s("x"),s("y"),d.noneOrAll(a,u,["x","y"]),s("xanchor"),s("yanchor"),s("pad.t"),s("pad.r"),s("pad.b"),s("pad.l"),d.coerceFont(s,"font",o.font),s("bgcolor",o.paper_bgcolor),s("bordercolor"),s("borderwidth"))}function l(a,u){function o(s,c){return d.coerce(a,u,v,s,c)}o("visible",a.method==="skip"||Array.isArray(a.args))&&(o("method"),o("args"),o("args2"),o("label"),o("execute"))}T.exports=function(a,u){g(a,u,{name:M,handleItemDefaults:f})}},13689:function(T,p,t){var d=t(39898),g=t(74875),i=t(7901),M=t(91424),v=t(71828),f=t(63893),l=t(44467).arrayEditor,a=t(18783).LINE_SPACING,u=t(75909),o=t(25849);function s(I){return I._index}function c(I,O){return+I.attr(u.menuIndexAttrName)===O._index}function h(I,O,z,F,B,N,W,j){O.active=W,l(I.layout,u.name,O).applyUpdate("active",W),O.type==="buttons"?w(I,F,null,null,O):O.type==="dropdown"&&(B.attr(u.menuIndexAttrName,"-1"),m(I,F,B,N,O),j||w(I,F,B,N,O))}function m(I,O,z,F,B){var N=v.ensureSingle(O,"g",u.headerClassName,function(q){q.style("pointer-events","all")}),W=B._dims,j=B.active,$=B.buttons[j]||u.blankHeaderOpts,U={y:B.pad.t,yPad:0,x:B.pad.l,xPad:0,index:0},G={width:W.headerWidth,height:W.headerHeight};N.call(y,B,$,I).call(b,B,U,G),v.ensureSingle(O,"text",u.headerArrowClassName,function(q){q.attr("text-anchor","end").call(M.font,B.font).text(u.arrowSymbol[B.direction])}).attr({x:W.headerWidth-u.arrowOffsetX+B.pad.l,y:W.headerHeight/2+u.textOffsetY+B.pad.t}),N.on("click",function(){z.call(R,String(c(z,B)?-1:B._index)),w(I,O,z,F,B)}),N.on("mouseover",function(){N.call(E)}),N.on("mouseout",function(){N.call(x,B)}),M.setTranslate(O,W.lx,W.ly)}function w(I,O,z,F,B){z||(z=O).attr("pointer-events","all");var N=function(X){return+X.attr(u.menuIndexAttrName)==-1}(z)&&B.type!=="buttons"?[]:B.buttons,W=B.type==="dropdown"?u.dropdownButtonClassName:u.buttonClassName,j=z.selectAll("g."+W).data(v.filterVisible(N)),$=j.enter().append("g").classed(W,!0),U=j.exit();B.type==="dropdown"?($.attr("opacity","0").transition().attr("opacity","1"),U.transition().attr("opacity","0").remove()):U.remove();var G=0,q=0,H=B._dims,ne=["up","down"].indexOf(B.direction)!==-1;B.type==="dropdown"&&(ne?q=H.headerHeight+u.gapButtonHeader:G=H.headerWidth+u.gapButtonHeader),B.type==="dropdown"&&B.direction==="up"&&(q=-u.gapButtonHeader+u.gapButton-H.openHeight),B.type==="dropdown"&&B.direction==="left"&&(G=-u.gapButtonHeader+u.gapButton-H.openWidth);var te={x:H.lx+G+B.pad.l,y:H.ly+q+B.pad.t,yPad:u.gapButton,xPad:u.gapButton,index:0},Z={l:te.x+B.borderwidth,t:te.y+B.borderwidth};j.each(function(X,Q){var re=d.select(this);re.call(y,B,X,I).call(b,B,te),re.on("click",function(){d.event.defaultPrevented||(X.execute&&(X.args2&&B.active===Q?(h(I,B,0,O,z,F,-1),g.executeAPICommand(I,X.method,X.args2)):(h(I,B,0,O,z,F,Q),g.executeAPICommand(I,X.method,X.args))),I.emit("plotly_buttonclicked",{menu:B,button:X,active:B.active}))}),re.on("mouseover",function(){re.call(E)}),re.on("mouseout",function(){re.call(x,B),j.call(k,B)})}),j.call(k,B),ne?(Z.w=Math.max(H.openWidth,H.headerWidth),Z.h=te.y-Z.t):(Z.w=te.x-Z.l,Z.h=Math.max(H.openHeight,H.headerHeight)),Z.direction=B.direction,F&&(j.size()?function(X,Q,re,ie,oe,ue){var ce,ye,de,me=oe.direction,pe=me==="up"||me==="down",xe=oe._dims,Pe=oe.active;if(pe)for(ye=0,de=0;de0?[0]:[]);if(B.enter().append("g").classed(u.containerClassName,!0).style("cursor","pointer"),B.exit().each(function(){d.select(this).selectAll("g."+u.headerGroupClassName).each(F)}).remove(),z.length!==0){var N=B.selectAll("g."+u.headerGroupClassName).data(z,s);N.enter().append("g").classed(u.headerGroupClassName,!0);for(var W=v.ensureSingle(B,"g",u.dropdownButtonGroupClassName,function(q){q.style("pointer-events","all")}),j=0;jb,O=v.barLength+2*v.barPad,z=v.barWidth+2*v.barPad,F=y,B=_+k;B+z>s&&(B=s-z);var N=this.container.selectAll("rect.scrollbar-horizontal").data(I?[0]:[]);N.exit().on(".drag",null).remove(),N.enter().append("rect").classed("scrollbar-horizontal",!0).call(g.fill,v.barColor),I?(this.hbar=N.attr({rx:v.barRadius,ry:v.barRadius,x:F,y:B,width:O,height:z}),this._hbarXMin=F+O/2,this._hbarTranslateMax=b-O):(delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax);var W=k>R,j=v.barWidth+2*v.barPad,$=v.barLength+2*v.barPad,U=y+S,G=_;U+j>o&&(U=o-j);var q=this.container.selectAll("rect.scrollbar-vertical").data(W?[0]:[]);q.exit().on(".drag",null).remove(),q.enter().append("rect").classed("scrollbar-vertical",!0).call(g.fill,v.barColor),W?(this.vbar=q.attr({rx:v.barRadius,ry:v.barRadius,x:U,y:G,width:j,height:$}),this._vbarYMin=G+$/2,this._vbarTranslateMax=R-$):(delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax);var H=this.id,ne=c-.5,te=W?h+j+.5:h+.5,Z=m-.5,X=I?w+z+.5:w+.5,Q=u._topdefs.selectAll("#"+H).data(I||W?[0]:[]);if(Q.exit().remove(),Q.enter().append("clipPath").attr("id",H).append("rect"),I||W?(this._clipRect=Q.select("rect").attr({x:Math.floor(ne),y:Math.floor(Z),width:Math.ceil(te)-Math.floor(ne),height:Math.ceil(X)-Math.floor(Z)}),this.container.call(i.setClipUrl,H,this.gd),this.bg.attr({x:y,y:_,width:S,height:k})):(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(i.setClipUrl,null),delete this._clipRect),I||W){var re=d.behavior.drag().on("dragstart",function(){d.event.sourceEvent.preventDefault()}).on("drag",this._onBoxDrag.bind(this));this.container.on("wheel",null).on("wheel",this._onBoxWheel.bind(this)).on(".drag",null).call(re);var ie=d.behavior.drag().on("dragstart",function(){d.event.sourceEvent.preventDefault(),d.event.sourceEvent.stopPropagation()}).on("drag",this._onBarDrag.bind(this));I&&this.hbar.on(".drag",null).call(ie),W&&this.vbar.on(".drag",null).call(ie)}this.setTranslate(l,a)},v.prototype.disable=function(){(this.hbar||this.vbar)&&(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(i.setClipUrl,null),delete this._clipRect),this.hbar&&(this.hbar.on(".drag",null),this.hbar.remove(),delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax),this.vbar&&(this.vbar.on(".drag",null),this.vbar.remove(),delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax)},v.prototype._onBoxDrag=function(){var f=this.translateX,l=this.translateY;this.hbar&&(f-=d.event.dx),this.vbar&&(l-=d.event.dy),this.setTranslate(f,l)},v.prototype._onBoxWheel=function(){var f=this.translateX,l=this.translateY;this.hbar&&(f+=d.event.deltaY),this.vbar&&(l+=d.event.deltaY),this.setTranslate(f,l)},v.prototype._onBarDrag=function(){var f=this.translateX,l=this.translateY;if(this.hbar){var a=f+this._hbarXMin,u=a+this._hbarTranslateMax;f=(M.constrain(d.event.x,a,u)-a)/(u-a)*(this.position.w-this._box.w)}if(this.vbar){var o=l+this._vbarYMin,s=o+this._vbarTranslateMax;l=(M.constrain(d.event.y,o,s)-o)/(s-o)*(this.position.h-this._box.h)}this.setTranslate(f,l)},v.prototype.setTranslate=function(f,l){var a=this.position.w-this._box.w,u=this.position.h-this._box.h;if(f=M.constrain(f||0,0,a),l=M.constrain(l||0,0,u),this.translateX=f,this.translateY=l,this.container.call(i.setTranslate,this._box.l-this.position.l-f,this._box.t-this.position.t-l),this._clipRect&&this._clipRect.attr({x:Math.floor(this.position.l+f-.5),y:Math.floor(this.position.t+l-.5)}),this.hbar){var o=f/a;this.hbar.call(i.setTranslate,f+o*this._hbarTranslateMax,l)}if(this.vbar){var s=l/u;this.vbar.call(i.setTranslate,f,l+s*this._vbarTranslateMax)}}},18783:function(T){T.exports={FROM_BL:{left:0,center:.5,right:1,bottom:0,middle:.5,top:1},FROM_TL:{left:0,center:.5,right:1,bottom:1,middle:.5,top:0},FROM_BR:{left:1,center:.5,right:0,bottom:0,middle:.5,top:1},LINE_SPACING:1.3,CAP_SHIFT:.7,MID_SHIFT:.35,OPPOSITE_SIDE:{left:"right",right:"left",top:"bottom",bottom:"top"}}},24695:function(T){T.exports={axisRefDescription:function(p,t,d){return["If set to a",p,"axis id (e.g. *"+p+"* or","*"+p+"2*), the `"+p+"` position refers to a",p,"coordinate. If set to *paper*, the `"+p+"`","position refers to the distance from the",t,"of the plotting","area in normalized coordinates where *0* (*1*) corresponds to the",t,"("+d+"). If set to a",p,"axis ID followed by","*domain* (separated by a space), the position behaves like for","*paper*, but refers to the distance in fractions of the domain","length from the",t,"of the domain of that axis: e.g.,","*"+p+"2 domain* refers to the domain of the second",p," axis and a",p,"position of 0.5 refers to the","point between the",t,"and the",d,"of the domain of the","second",p,"axis."].join(" ")}}},22372:function(T){T.exports={INCREASING:{COLOR:"#3D9970",SYMBOL:"▲"},DECREASING:{COLOR:"#FF4136",SYMBOL:"▼"}}},31562:function(T){T.exports={FORMAT_LINK:"https://github.com/d3/d3-format/tree/v1.4.5#d3-format",DATE_FORMAT_LINK:"https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format"}},74808:function(T){T.exports={COMPARISON_OPS:["=","!=","<",">=",">","<="],COMPARISON_OPS2:["=","<",">=",">","<="],INTERVAL_OPS:["[]","()","[)","(]","][",")(","](",")["],SET_OPS:["{}","}{"],CONSTRAINT_REDUCTION:{"=":"=","<":"<","<=":"<",">":">",">=":">","[]":"[]","()":"[]","[)":"[]","(]":"[]","][":"][",")(":"][","](":"][",")[":"]["}}},29659:function(T){T.exports={solid:[[],0],dot:[[.5,1],200],dash:[[.5,1],50],longdash:[[.5,1],10],dashdot:[[.5,.625,.875,1],50],longdashdot:[[.5,.7,.8,1],10]}},87381:function(T){T.exports={circle:"●","circle-open":"○",square:"■","square-open":"□",diamond:"◆","diamond-open":"◇",cross:"+",x:"❌"}},37822:function(T){T.exports={SHOW_PLACEHOLDER:100,HIDE_PLACEHOLDER:1e3,DESELECTDIM:.2}},50606:function(T){T.exports={BADNUM:void 0,FP_SAFE:1e-4*Number.MAX_VALUE,ONEMAXYEAR:316224e5,ONEAVGYEAR:315576e5,ONEMINYEAR:31536e6,ONEMAXQUARTER:79488e5,ONEAVGQUARTER:78894e5,ONEMINQUARTER:76896e5,ONEMAXMONTH:26784e5,ONEAVGMONTH:26298e5,ONEMINMONTH:24192e5,ONEWEEK:6048e5,ONEDAY:864e5,ONEHOUR:36e5,ONEMIN:6e4,ONESEC:1e3,EPOCHJD:24405875e-1,ALMOST_EQUAL:.999999,LOG_CLIP:10,MINUS_SIGN:"−"}},77922:function(T,p){p.xmlns="http://www.w3.org/2000/xmlns/",p.svg="http://www.w3.org/2000/svg",p.xlink="http://www.w3.org/1999/xlink",p.svgAttrs={xmlns:p.svg,"xmlns:xlink":p.xlink}},8729:function(T,p,t){p.version=t(11506).version,t(7417),t(98847);for(var d=t(73972),g=p.register=d.register,i=t(10641),M=Object.keys(i),v=0;v",""," ",""," plotly-logomark"," "," "," "," "," "," "," "," "," "," "," "," "," ",""].join("")}}},99863:function(T,p){p.isLeftAnchor=function(t){return t.xanchor==="left"||t.xanchor==="auto"&&t.x<=.3333333333333333},p.isCenterAnchor=function(t){return t.xanchor==="center"||t.xanchor==="auto"&&t.x>.3333333333333333&&t.x<.6666666666666666},p.isRightAnchor=function(t){return t.xanchor==="right"||t.xanchor==="auto"&&t.x>=.6666666666666666},p.isTopAnchor=function(t){return t.yanchor==="top"||t.yanchor==="auto"&&t.y>=.6666666666666666},p.isMiddleAnchor=function(t){return t.yanchor==="middle"||t.yanchor==="auto"&&t.y>.3333333333333333&&t.y<.6666666666666666},p.isBottomAnchor=function(t){return t.yanchor==="bottom"||t.yanchor==="auto"&&t.y<=.3333333333333333}},26348:function(T,p,t){var d=t(64872),g=d.mod,i=d.modHalf,M=Math.PI,v=2*M;function f(o){return Math.abs(o[1]-o[0])>v-1e-14}function l(o,s){return i(s-o,v)}function a(o,s){if(f(s))return!0;var c,h;s[0](h=g(h,v))&&(h+=v);var m=g(o,v),w=m+v;return m>=c&&m<=h||w>=c&&w<=h}function u(o,s,c,h,m,w,y){m=m||0,w=w||0;var S,_,k,E,x,A=f([c,h]);function L(O,z){return[O*Math.cos(z)+m,w-O*Math.sin(z)]}A?(S=0,_=M,k=v):c=m&&o<=w);var m,w},pathArc:function(o,s,c,h,m){return u(null,o,s,c,h,m,0)},pathSector:function(o,s,c,h,m){return u(null,o,s,c,h,m,1)},pathAnnulus:function(o,s,c,h,m,w){return u(o,s,c,h,m,w,1)}}},73627:function(T,p){var t=Array.isArray,d=ArrayBuffer,g=DataView;function i(f){return d.isView(f)&&!(f instanceof g)}function M(f){return t(f)||i(f)}function v(f,l,a){if(M(f)){if(M(f[0])){for(var u=a,o=0;ow.max?h.set(m):h.set(+c)}},integer:{coerceFunction:function(c,h,m,w){c%1||!d(c)||w.min!==void 0&&cw.max?h.set(m):h.set(+c)}},string:{coerceFunction:function(c,h,m,w){if(typeof c!="string"){var y=typeof c=="number";w.strict!==!0&&y?h.set(String(c)):h.set(m)}else w.noBlank&&!c?h.set(m):h.set(c)}},color:{coerceFunction:function(c,h,m){g(c).isValid()?h.set(c):h.set(m)}},colorlist:{coerceFunction:function(c,h,m){Array.isArray(c)&&c.length&&c.every(function(w){return g(w).isValid()})?h.set(c):h.set(m)}},colorscale:{coerceFunction:function(c,h,m){h.set(M.get(c,m))}},angle:{coerceFunction:function(c,h,m){c==="auto"?h.set("auto"):d(c)?h.set(u(+c,360)):h.set(m)}},subplotid:{coerceFunction:function(c,h,m,w){var y=w.regex||a(m);typeof c=="string"&&y.test(c)?h.set(c):h.set(m)},validateFunction:function(c,h){var m=h.dflt;return c===m||typeof c=="string"&&!!a(m).test(c)}},flaglist:{coerceFunction:function(c,h,m,w){if((w.extras||[]).indexOf(c)===-1)if(typeof c=="string"){for(var y=c.split("+"),S=0;S=d&&N<=g?N:a}if(typeof N!="string"&&typeof N!="number")return a;N=String(N);var G=k(W),q=N.charAt(0);!G||q!=="G"&&q!=="g"||(N=N.substr(1),W="");var H=G&&W.substr(0,7)==="chinese",ne=N.match(H?S:y);if(!ne)return a;var te=ne[1],Z=ne[3]||"1",X=Number(ne[5]||1),Q=Number(ne[7]||0),re=Number(ne[9]||0),ie=Number(ne[11]||0);if(G){if(te.length===2)return a;var oe;te=Number(te);try{var ue=m.getComponentMethod("calendars","getCal")(W);if(H){var ce=Z.charAt(Z.length-1)==="i";Z=parseInt(Z,10),oe=ue.newDate(te,ue.toMonthIndex(te,Z,ce),X)}else oe=ue.newDate(te,Number(Z),X)}catch{return a}return oe?(oe.toJD()-h)*u+Q*o+re*s+ie*c:a}te=te.length===2?(Number(te)+2e3-_)%100+_:Number(te),Z-=1;var ye=new Date(Date.UTC(2e3,Z,X,Q,re));return ye.setUTCFullYear(te),ye.getUTCMonth()!==Z||ye.getUTCDate()!==X?a:ye.getTime()+ie*c},d=p.MIN_MS=p.dateTime2ms("-9999"),g=p.MAX_MS=p.dateTime2ms("9999-12-31 23:59:59.9999"),p.isDateTime=function(N,W){return p.dateTime2ms(N,W)!==a};var x=90*u,A=3*o,L=5*s;function b(N,W,j,$,U){if((W||j||$||U)&&(N+=" "+E(W,2)+":"+E(j,2),($||U)&&(N+=":"+E($,2),U))){for(var G=4;U%10==0;)G-=1,U/=10;N+="."+E(U,G)}return N}p.ms2DateTime=function(N,W,j){if(typeof N!="number"||!(N>=d&&N<=g))return a;W||(W=0);var $,U,G,q,H,ne,te=Math.floor(10*f(N+.05,1)),Z=Math.round(N-te/10);if(k(j)){var X=Math.floor(Z/u)+h,Q=Math.floor(f(N,u));try{$=m.getComponentMethod("calendars","getCal")(j).fromJD(X).formatDate("yyyy-mm-dd")}catch{$=w("G%Y-%m-%d")(new Date(Z))}if($.charAt(0)==="-")for(;$.length<11;)$="-0"+$.substr(1);else for(;$.length<10;)$="0"+$;U=W=d+u&&N<=g-u))return a;var W=Math.floor(10*f(N+.05,1)),j=new Date(Math.round(N-W/10));return b(i("%Y-%m-%d")(j),j.getHours(),j.getMinutes(),j.getSeconds(),10*j.getUTCMilliseconds()+W)},p.cleanDate=function(N,W,j){if(N===a)return W;if(p.isJSDate(N)||typeof N=="number"&&isFinite(N)){if(k(j))return v.error("JS Dates and milliseconds are incompatible with world calendars",N),W;if(!(N=p.ms2DateTimeLocal(+N))&&W!==void 0)return W}else if(!p.isDateTime(N,j))return v.error("unrecognized date",N),W;return N};var R=/%\d?f/g,I=/%h/g,O={1:"1",2:"1",3:"2",4:"2"};function z(N,W,j,$){N=N.replace(R,function(G){var q=Math.min(+G.charAt(1)||6,6);return(W/1e3%1+2).toFixed(q).substr(2).replace(/0+$/,"")||"0"});var U=new Date(Math.floor(W+.05));if(N=N.replace(I,function(){return O[j("%q")(U)]}),k($))try{N=m.getComponentMethod("calendars","worldCalFmt")(N,W,$)}catch{return"Invalid"}return j(N)(U)}var F=[59,59.9,59.99,59.999,59.9999];p.formatDate=function(N,W,j,$,U,G){if(U=k(U)&&U,!W)if(j==="y")W=G.year;else if(j==="m")W=G.month;else{if(j!=="d")return function(q,H){var ne=f(q+.05,u),te=E(Math.floor(ne/o),2)+":"+E(f(Math.floor(ne/s),60),2);if(H!=="M"){M(H)||(H=0);var Z=(100+Math.min(f(q/c,60),F[H])).toFixed(H).substr(1);H>0&&(Z=Z.replace(/0+$/,"").replace(/[\.]$/,"")),te+=":"+Z}return te}(N,j)+` +`+z(G.dayMonthYear,N,$,U);W=G.dayMonth+` +`+G.year}return z(W,N,$,U)};var B=3*u;p.incrementMonth=function(N,W,j){j=k(j)&&j;var $=f(N,u);if(N=Math.round(N-$),j)try{var U=Math.round(N/u)+h,G=m.getComponentMethod("calendars","getCal")(j),q=G.fromJD(U);return W%12?G.add(q,W,"m"):G.add(q,W/12,"y"),(q.toJD()-h)*u+$}catch{v.error("invalid ms "+N+" in calendar "+j)}var H=new Date(N+B);return H.setUTCMonth(H.getUTCMonth()+W)+$-B},p.findExactDates=function(N,W){for(var j,$,U=0,G=0,q=0,H=0,ne=k(W)&&m.getComponentMethod("calendars","getCal")(W),te=0;te0&&b[R+1][0]<0)return R;return null}switch(w=x==="RUS"||x==="FJI"?function(b){var R;if(L(b)===null)R=b;else for(R=new Array(b.length),_=0;_R?I[O++]=[b[_][0]+360,b[_][1]]:_===R?(I[O++]=b[_],I[O++]=[b[_][0],-90]):I[O++]=b[_];var z=o.tester(I);z.pts.pop(),A.push(z)}:function(b){A.push(o.tester(b))},k.type){case"MultiPolygon":for(y=0;yj&&(j=G,B=U)}else B=N;return M.default(B).geometry.coordinates}(z),I.fIn=b,I.fOut=z,k.push(z)}else l.log(["Location",I.loc,"does not have a valid GeoJSON geometry.","Traces with locationmode *geojson-id* only support","*Polygon* and *MultiPolygon* geometries."].join(" "))}delete _[R]}switch(y.type){case"FeatureCollection":var A=y.features;for(S=0;S100?(clearInterval(R),L("Unexpected error while fetching from "+x)):void b++},50)})}for(var k=0;k0&&(M.push(v),v=[])}return v.length>0&&M.push(v),M},p.makeLine=function(g){return g.length===1?{type:"LineString",coordinates:g[0]}:{type:"MultiLineString",coordinates:g}},p.makePolygon=function(g){if(g.length===1)return{type:"Polygon",coordinates:g};for(var i=new Array(g.length),M=0;M1||A<0||A>1?null:{x:l+w*A,y:a+_*A}}function f(l,a,u,o,s){var c=o*l+s*a;if(c<0)return o*o+s*s;if(c>u){var h=o-l,m=s-a;return h*h+m*m}var w=o*a-s*l;return w*w/u}p.segmentsIntersect=v,p.segmentDistance=function(l,a,u,o,s,c,h,m){if(v(l,a,u,o,s,c,h,m))return 0;var w=u-l,y=o-a,S=h-s,_=m-c,k=w*w+y*y,E=S*S+_*_,x=Math.min(f(w,y,k,s-l,c-a),f(w,y,k,h-l,m-a),f(S,_,E,l-s,a-c),f(S,_,E,u-s,o-c));return Math.sqrt(x)},p.getTextLocation=function(l,a,u,o){if(l===g&&o===i||(d={},g=l,i=o),d[u])return d[u];var s=l.getPointAtLength(M(u-o/2,a)),c=l.getPointAtLength(M(u+o/2,a)),h=Math.atan((c.y-s.y)/(c.x-s.x)),m=l.getPointAtLength(M(u,a)),w={x:(4*m.x+s.x+c.x)/6,y:(4*m.y+s.y+c.y)/6,theta:h};return d[u]=w,w},p.clearLocationCache=function(){g=null},p.getVisibleSegment=function(l,a,u){var o,s,c=a.left,h=a.right,m=a.top,w=a.bottom,y=0,S=l.getTotalLength(),_=S;function k(x){var A=l.getPointAtLength(x);x===0?o=A:x===S&&(s=A);var L=A.xh?A.x-h:0,b=A.yw?A.y-w:0;return Math.sqrt(L*L+b*b)}for(var E=k(y);E;){if((y+=E+u)>_)return;E=k(y)}for(E=k(_);E;){if(y>(_-=E+u))return;E=k(_)}return{min:y,max:_,len:_-y,total:S,isClosed:y===0&&_===S&&Math.abs(o.x-s.x)<.1&&Math.abs(o.y-s.y)<.1}},p.findPointOnPath=function(l,a,u,o){for(var s,c,h,m=(o=o||{}).pathLength||l.getTotalLength(),w=o.tolerance||.001,y=o.iterationLimit||30,S=l.getPointAtLength(0)[u]>l.getPointAtLength(m)[u]?-1:1,_=0,k=0,E=m;_0?E=s:k=s,_++}return c}},81697:function(T,p,t){var d=t(92770),g=t(84267),i=t(25075),M=t(21081),v=t(22399).defaultLine,f=t(73627).isArrayOrTypedArray,l=i(v);function a(s,c){var h=s;return h[3]*=c,h}function u(s){if(d(s))return l;var c=i(s);return c.length?c:l}function o(s){return d(s)?s:1}T.exports={formatColor:function(s,c,h){var m,w,y,S,_,k=s.color,E=f(k),x=f(c),A=M.extractOpts(s),L=[];if(m=A.colorscale!==void 0?M.makeColorScaleFuncFromTrace(s):u,w=E?function(R,I){return R[I]===void 0?l:i(m(R[I]))}:u,y=x?function(R,I){return R[I]===void 0?1:o(R[I])}:o,E||x)for(var b=0;b1?(d*p+d*t)/d:p+t,i=String(g).length;if(i>16){var M=String(t).length;if(i>=String(p).length+M){var v=parseFloat(g).toPrecision(12);v.indexOf("e+")===-1&&(g=+v)}}return g}},71828:function(T,p,t){var d=t(39898),g=t(84096).g0,i=t(60721).WU,M=t(92770),v=t(50606),f=v.FP_SAFE,l=-f,a=v.BADNUM,u=T.exports={};u.adjustFormat=function(Q){return!Q||/^\d[.]\df/.test(Q)||/[.]\d%/.test(Q)?Q:Q==="0.f"?"~f":/^\d%/.test(Q)?"~%":/^\ds/.test(Q)?"~s":!/^[~,.0$]/.test(Q)&&/[&fps]/.test(Q)?"~"+Q:Q};var o={};u.warnBadFormat=function(Q){var re=String(Q);o[re]||(o[re]=1,u.warn('encountered bad format: "'+re+'"'))},u.noFormat=function(Q){return String(Q)},u.numberFormat=function(Q){var re;try{re=i(u.adjustFormat(Q))}catch{return u.warnBadFormat(Q),u.noFormat}return re},u.nestedProperty=t(65487),u.keyedContainer=t(66636),u.relativeAttr=t(6962),u.isPlainObject=t(41965),u.toLogRange=t(58163),u.relinkPrivateKeys=t(51332);var s=t(73627);u.isTypedArray=s.isTypedArray,u.isArrayOrTypedArray=s.isArrayOrTypedArray,u.isArray1D=s.isArray1D,u.ensureArray=s.ensureArray,u.concat=s.concat,u.maxRowLength=s.maxRowLength,u.minRowLength=s.minRowLength;var c=t(64872);u.mod=c.mod,u.modHalf=c.modHalf;var h=t(96554);u.valObjectMeta=h.valObjectMeta,u.coerce=h.coerce,u.coerce2=h.coerce2,u.coerceFont=h.coerceFont,u.coercePattern=h.coercePattern,u.coerceHoverinfo=h.coerceHoverinfo,u.coerceSelectionMarkerOpacity=h.coerceSelectionMarkerOpacity,u.validate=h.validate;var m=t(41631);u.dateTime2ms=m.dateTime2ms,u.isDateTime=m.isDateTime,u.ms2DateTime=m.ms2DateTime,u.ms2DateTimeLocal=m.ms2DateTimeLocal,u.cleanDate=m.cleanDate,u.isJSDate=m.isJSDate,u.formatDate=m.formatDate,u.incrementMonth=m.incrementMonth,u.dateTick0=m.dateTick0,u.dfltRange=m.dfltRange,u.findExactDates=m.findExactDates,u.MIN_MS=m.MIN_MS,u.MAX_MS=m.MAX_MS;var w=t(65888);u.findBin=w.findBin,u.sorterAsc=w.sorterAsc,u.sorterDes=w.sorterDes,u.distinctVals=w.distinctVals,u.roundUp=w.roundUp,u.sort=w.sort,u.findIndexOfMin=w.findIndexOfMin,u.sortObjectKeys=t(78607);var y=t(80038);u.aggNums=y.aggNums,u.len=y.len,u.mean=y.mean,u.median=y.median,u.midRange=y.midRange,u.variance=y.variance,u.stdev=y.stdev,u.interp=y.interp;var S=t(35657);u.init2dArray=S.init2dArray,u.transposeRagged=S.transposeRagged,u.dot=S.dot,u.translationMatrix=S.translationMatrix,u.rotationMatrix=S.rotationMatrix,u.rotationXYMatrix=S.rotationXYMatrix,u.apply3DTransform=S.apply3DTransform,u.apply2DTransform=S.apply2DTransform,u.apply2DTransform2=S.apply2DTransform2,u.convertCssMatrix=S.convertCssMatrix,u.inverseTransformMatrix=S.inverseTransformMatrix;var _=t(26348);u.deg2rad=_.deg2rad,u.rad2deg=_.rad2deg,u.angleDelta=_.angleDelta,u.angleDist=_.angleDist,u.isFullCircle=_.isFullCircle,u.isAngleInsideSector=_.isAngleInsideSector,u.isPtInsideSector=_.isPtInsideSector,u.pathArc=_.pathArc,u.pathSector=_.pathSector,u.pathAnnulus=_.pathAnnulus;var k=t(99863);u.isLeftAnchor=k.isLeftAnchor,u.isCenterAnchor=k.isCenterAnchor,u.isRightAnchor=k.isRightAnchor,u.isTopAnchor=k.isTopAnchor,u.isMiddleAnchor=k.isMiddleAnchor,u.isBottomAnchor=k.isBottomAnchor;var E=t(87642);u.segmentsIntersect=E.segmentsIntersect,u.segmentDistance=E.segmentDistance,u.getTextLocation=E.getTextLocation,u.clearLocationCache=E.clearLocationCache,u.getVisibleSegment=E.getVisibleSegment,u.findPointOnPath=E.findPointOnPath;var x=t(1426);u.extendFlat=x.extendFlat,u.extendDeep=x.extendDeep,u.extendDeepAll=x.extendDeepAll,u.extendDeepNoArrays=x.extendDeepNoArrays;var A=t(47769);u.log=A.log,u.warn=A.warn,u.error=A.error;var L=t(30587);u.counterRegex=L.counter;var b=t(79990);u.throttle=b.throttle,u.throttleDone=b.done,u.clearThrottle=b.clear;var R=t(24401);function I(Q){var re={};for(var ie in Q)for(var oe=Q[ie],ue=0;uef||Q=re)&&M(Q)&&Q>=0&&Q%1==0},u.noop=t(64213),u.identity=t(23389),u.repeat=function(Q,re){for(var ie=new Array(re),oe=0;oeie?Math.max(ie,Math.min(re,Q)):Math.max(re,Math.min(ie,Q))},u.bBoxIntersect=function(Q,re,ie){return ie=ie||0,Q.left<=re.right+ie&&re.left<=Q.right+ie&&Q.top<=re.bottom+ie&&re.top<=Q.bottom+ie},u.simpleMap=function(Q,re,ie,oe,ue){for(var ce=Q.length,ye=new Array(ce),de=0;de=Math.pow(2,ie)?ue>10?(u.warn("randstr failed uniqueness"),me):Q(re,ie,oe,(ue||0)+1):me},u.OptionControl=function(Q,re){Q||(Q={}),re||(re="opt");var ie={optionList:[],_newoption:function(oe){oe[re]=Q,ie[oe.name]=oe,ie.optionList.push(oe)}};return ie["_"+re]=Q,ie},u.smooth=function(Q,re){if((re=Math.round(re)||0)<2)return Q;var ie,oe,ue,ce,ye=Q.length,de=2*ye,me=2*re-1,pe=new Array(me),xe=new Array(ye);for(ie=0;ie=de&&(ue-=de*Math.floor(ue/de)),ue<0?ue=-1-ue:ue>=ye&&(ue=de-1-ue),ce+=Q[ue]*pe[oe];xe[ie]=ce}return xe},u.syncOrAsync=function(Q,re,ie){var oe;function ue(){return u.syncOrAsync(Q,re,ie)}for(;Q.length;)if((oe=(0,Q.splice(0,1)[0])(re))&&oe.then)return oe.then(ue);return ie&&ie(re)},u.stripTrailingSlash=function(Q){return Q.substr(-1)==="/"?Q.substr(0,Q.length-1):Q},u.noneOrAll=function(Q,re,ie){if(Q){var oe,ue=!1,ce=!0;for(oe=0;oe0?ue:0})},u.fillArray=function(Q,re,ie,oe){if(oe=oe||u.identity,u.isArrayOrTypedArray(Q))for(var ue=0;ue1?ue+ye[1]:"";if(ce&&(ye.length>1||de.length>4||ie))for(;oe.test(de);)de=de.replace(oe,"$1"+ce+"$2");return de+me},u.TEMPLATE_STRING_REGEX=/%{([^\s%{}:]*)([:|\|][^}]*)?}/g;var W=/^\w*$/;u.templateString=function(Q,re){var ie={};return Q.replace(u.TEMPLATE_STRING_REGEX,function(oe,ue){var ce;return W.test(ue)?ce=re[ue]:(ie[ue]=ie[ue]||u.nestedProperty(re,ue).get,ce=ie[ue]()),u.isValidTextValue(ce)?ce:""})};var j={max:10,count:0,name:"hovertemplate"};u.hovertemplateString=function(){return ne.apply(j,arguments)};var $={max:10,count:0,name:"texttemplate"};u.texttemplateString=function(){return ne.apply($,arguments)};var U=/^(\S+)([\*\/])(-?\d+(\.\d+)?)$/;function G(Q){var re=Q.match(U);return re?{key:re[1],op:re[2],number:Number(re[3])}:{key:Q,op:null,number:null}}var q={max:10,count:0,name:"texttemplate",parseMultDiv:!0};u.texttemplateStringForShapes=function(){return ne.apply(q,arguments)};var H=/^[:|\|]/;function ne(Q,re,ie){var oe=this,ue=arguments;re||(re={});var ce={};return Q.replace(u.TEMPLATE_STRING_REGEX,function(ye,de,me){var pe=de==="_xother"||de==="_yother",xe=de==="_xother_"||de==="_yother_",Pe=de==="xother_"||de==="yother_",_e=de==="xother"||de==="yother"||pe||Pe||xe,Me=de;(pe||xe)&&(Me=Me.substring(1)),(Pe||xe)&&(Me=Me.substring(0,Me.length-1));var Se,Ce,ae,fe=null,be=null;if(oe.parseMultDiv){var ke=G(Me);Me=ke.key,fe=ke.op,be=ke.number}if(_e){if((Se=re[Me])===void 0)return""}else for(ae=3;ae=48&&ye<=57,pe=de>=48&&de<=57;if(me&&(oe=10*oe+ye-48),pe&&(ue=10*ue+de-48),!me||!pe){if(oe!==ue)return oe-ue;if(ye!==de)return ye-de}}return ue-oe};var te=2e9;u.seedPseudoRandom=function(){te=2e9},u.pseudoRandom=function(){var Q=te;return te=(69069*te+1)%4294967296,Math.abs(te-Q)<429496729?u.pseudoRandom():te/4294967296},u.fillText=function(Q,re,ie){var oe=Array.isArray(ie)?function(ye){ie.push(ye)}:function(ye){ie.text=ye},ue=u.extractOption(Q,re,"htx","hovertext");if(u.isValidTextValue(ue))return oe(ue);var ce=u.extractOption(Q,re,"tx","text");return u.isValidTextValue(ce)?oe(ce):void 0},u.isValidTextValue=function(Q){return Q||Q===0},u.formatPercent=function(Q,re){re=re||0;for(var ie=(Math.round(100*Q*Math.pow(10,re))*Math.pow(.1,re)).toFixed(re)+"%",oe=0;oe1&&(pe=1):pe=0,u.strTranslate(ue-pe*(ie+ye),ce-pe*(oe+de))+u.strScale(pe)+(me?"rotate("+me+(re?"":" "+ie+" "+oe)+")":"")},u.setTransormAndDisplay=function(Q,re){Q.attr("transform",u.getTextTransform(re)),Q.style("display",re.scale?null:"none")},u.ensureUniformFontSize=function(Q,re){var ie=u.extendFlat({},re);return ie.size=Math.max(re.size,Q._fullLayout.uniformtext.minsize||0),ie},u.join2=function(Q,re,ie){var oe=Q.length;return oe>1?Q.slice(0,-1).join(re)+ie+Q[oe-1]:Q.join(re)},u.bigFont=function(Q){return Math.round(1.2*Q)};var Z=u.getFirefoxVersion(),X=Z!==null&&Z<86;u.getPositionFromD3Event=function(){return X?[d.event.layerX,d.event.layerY]:[d.event.offsetX,d.event.offsetY]}},41965:function(T){T.exports=function(p){return window&&window.process&&window.process.versions?Object.prototype.toString.call(p)==="[object Object]":Object.prototype.toString.call(p)==="[object Object]"&&Object.getPrototypeOf(p).hasOwnProperty("hasOwnProperty")}},66636:function(T,p,t){var d=t(65487),g=/^\w*$/;T.exports=function(i,M,v,f){var l,a,u;v=v||"name",f=f||"value";var o={};M&&M.length?(u=d(i,M),a=u.get()):a=i,M=M||"";var s={};if(a)for(l=0;l2)return o[w]=2|o[w],h.set(m,null);if(c){for(l=w;l1){var v=["LOG:"];for(M=0;M1){var f=[];for(M=0;M"),"long")}},i.warn=function(){var M;if(d.logging>0){var v=["WARN:"];for(M=0;M0){var f=[];for(M=0;M"),"stick")}},i.error=function(){var M;if(d.logging>0){var v=["ERROR:"];for(M=0;M0){var f=[];for(M=0;M"),"stick")}}},77310:function(T,p,t){var d=t(39898);T.exports=function(g,i,M){var v=g.selectAll("g."+M.replace(/\s/g,".")).data(i,function(l){return l[0].trace.uid});v.exit().remove(),v.enter().append("g").attr("class",M),v.order();var f=g.classed("rangeplot")?"nodeRangePlot3":"node3";return v.each(function(l){l[0][f]=d.select(this)}),v}},35657:function(T,p,t){var d=t(79576);p.init2dArray=function(g,i){for(var M=new Array(g),v=0;vt/2?p-Math.round(p/t)*t:p}}},65487:function(T,p,t){var d=t(92770),g=t(73627).isArrayOrTypedArray;function i(o,s){return function(){var c,h,m,w,y,S=o;for(w=0;w/g),h=0;ha||_===g||_o||y&&s(w))}:function(w,y){var S=w[0],_=w[1];if(S===g||Sa||_===g||_o)return!1;var k,E,x,A,L,b=f.length,R=f[0][0],I=f[0][1],O=0;for(k=1;kMath.max(E,R)||_>Math.max(x,I)))if(_h||Math.abs(d(u,w))>l)return!0;return!1},i.filter=function(M,v){var f=[M[0]],l=0,a=0;function u(o){M.push(o);var s=f.length,c=l;f.splice(a+1);for(var h=c+1;h1&&u(M.pop()),{addPt:u,raw:M,filtered:f}}},79749:function(T,p,t){var d=t(58617),g=t(98580);T.exports=function(i,M,v){var f=i._fullLayout,l=!0;return f._glcanvas.each(function(a){if(a.regl)a.regl.preloadCachedCode(v);else if(!a.pick||f._has("parcoords")){try{a.regl=g({canvas:this,attributes:{antialias:!a.pick,preserveDrawingBuffer:!0},pixelRatio:i._context.plotGlPixelRatio||t.g.devicePixelRatio,extensions:M||[],cachedCode:v||{}})}catch{l=!1}a.regl||(l=!1),l&&this.addEventListener("webglcontextlost",function(u){i&&i.emit&&i.emit("plotly_webglcontextlost",{event:u,layer:a.key})},!1)}}),l||d({container:f._glcontainer.node()}),l}},45142:function(T,p,t){var d=t(92770),g=t(35791);T.exports=function(i){var M;if(typeof(M=i&&i.hasOwnProperty("userAgent")?i.userAgent:function(){var s;return typeof navigator<"u"&&(s=navigator.userAgent),s&&s.headers&&typeof s.headers["user-agent"]=="string"&&(s=s.headers["user-agent"]),s}())!="string")return!0;var v=g({ua:{headers:{"user-agent":M}},tablet:!0,featureDetect:!1});if(!v){for(var f=M.split(" "),l=1;l-1;a--){var u=f[a];if(u.substr(0,8)==="Version/"){var o=u.substr(8).split(".")[0];if(d(o)&&(o=+o),o>=13)return!0}}}return v}},75138:function(T){T.exports=function(p,t){if(t instanceof RegExp){for(var d=t.toString(),g=0;gg.queueLength&&(M.undoQueue.queue.shift(),M.undoQueue.index--))},startSequence:function(M){M.undoQueue=M.undoQueue||{index:0,queue:[],sequence:!1},M.undoQueue.sequence=!0,M.undoQueue.beginSequence=!0},stopSequence:function(M){M.undoQueue=M.undoQueue||{index:0,queue:[],sequence:!1},M.undoQueue.sequence=!1,M.undoQueue.beginSequence=!1},undo:function(M){var v,f;if(!(M.undoQueue===void 0||isNaN(M.undoQueue.index)||M.undoQueue.index<=0)){for(M.undoQueue.index--,v=M.undoQueue.queue[M.undoQueue.index],M.undoQueue.inSequence=!0,f=0;f=M.undoQueue.queue.length)){for(v=M.undoQueue.queue[M.undoQueue.index],M.undoQueue.inSequence=!0,f=0;fs}function u(o,s){return o>=s}p.findBin=function(o,s,c){if(d(s.start))return c?Math.ceil((o-s.start)/s.size-v)-1:Math.floor((o-s.start)/s.size+v);var h,m,w=0,y=s.length,S=0,_=y>1?(s[y-1]-s[0])/(y-1):1;for(m=_>=0?c?f:l:c?u:a,o+=_*v*(c?-1:1)*(_>=0?1:-1);w90&&g.log("Long binary search..."),w-1},p.sorterAsc=function(o,s){return o-s},p.sorterDes=function(o,s){return s-o},p.distinctVals=function(o){var s,c=o.slice();for(c.sort(p.sorterAsc),s=c.length-1;s>-1&&c[s]===M;s--);for(var h,m=c[s]-c[0]||1,w=m/(s||1)/1e4,y=[],S=0;S<=s;S++){var _=c[S],k=_-h;h===void 0?(y.push(_),h=_):k>w&&(m=Math.min(m,k),y.push(_),h=_)}return{vals:y,minDiff:m}},p.roundUp=function(o,s,c){for(var h,m=0,w=s.length-1,y=0,S=c?0:1,_=c?1:0,k=c?Math.ceil:Math.floor;m0&&(h=1),c&&h)return o.sort(s)}return h?o:o.reverse()},p.findIndexOfMin=function(o,s){s=s||i;for(var c,h=1/0,m=0;mv.length)&&(f=v.length),d(M)||(M=!1),g(v[0])){for(a=new Array(f),l=0;li.length-1)return i[i.length-1];var v=M%1;return v*i[Math.ceil(M)]+(1-v)*i[Math.floor(M)]}},78614:function(T,p,t){var d=t(25075);T.exports=function(g){return g?d(g):[0,0,0,1]}},63893:function(T,p,t){var d=t(39898),g=t(71828),i=g.strTranslate,M=t(77922),v=t(18783).LINE_SPACING,f=/([^$]*)([$]+[^$]*[$]+)([^$]*)/;p.convertToTspans=function(N,W,j){var $=N.text(),U=!N.attr("data-notex")&&W&&W._context.typesetMath&&typeof MathJax<"u"&&$.match(f),G=d.select(N.node().parentNode);if(!G.empty()){var q=N.attr("class")?N.attr("class").split(" ")[0]:"text";return q+="-math",G.selectAll("svg."+q).remove(),G.selectAll("g."+q+"-group").remove(),N.style("display",null).attr({"data-unformatted":$,"data-math":"N"}),U?(W&&W._promises||[]).push(new Promise(function(ne){N.style("display","none");var te=parseInt(N.node().style.fontSize,10),Z={fontSize:te};(function(X,Q,re){var ie,oe,ue,ce,ye=parseInt((MathJax.version||"").split(".")[0]);if(ye===2||ye===3){var de=function(){var pe="math-output-"+g.randstr({},64),xe=(ce=d.select("body").append("div").attr({id:pe}).style({visibility:"hidden",position:"absolute","font-size":Q.fontSize+"px"}).text(X.replace(l,"\\lt ").replace(a,"\\gt "))).node();return ye===2?MathJax.Hub.Typeset(xe):MathJax.typeset([xe])},me=function(){var pe=ce.select(ye===2?".MathJax_SVG":".MathJax"),xe=!pe.empty()&&ce.select("svg").node();if(xe){var Pe,_e=xe.getBoundingClientRect();Pe=ye===2?d.select("body").select("#MathJax_SVG_glyphs"):pe.select("defs"),re(pe,Pe,_e)}else g.log("There was an error in the tex syntax.",X),re();ce.remove()};ye===2?MathJax.Hub.Queue(function(){return oe=g.extendDeepAll({},MathJax.Hub.config),ue=MathJax.Hub.processSectionDelay,MathJax.Hub.processSectionDelay!==void 0&&(MathJax.Hub.processSectionDelay=0),MathJax.Hub.Config({messageStyle:"none",tex2jax:{inlineMath:u},displayAlign:"left"})},function(){if((ie=MathJax.Hub.config.menuSettings.renderer)!=="SVG")return MathJax.Hub.setRenderer("SVG")},de,me,function(){if(ie!=="SVG")return MathJax.Hub.setRenderer(ie)},function(){return ue!==void 0&&(MathJax.Hub.processSectionDelay=ue),MathJax.Hub.Config(oe)}):ye===3&&(oe=g.extendDeepAll({},MathJax.config),MathJax.config.tex||(MathJax.config.tex={}),MathJax.config.tex.inlineMath=u,(ie=MathJax.config.startup.output)!=="svg"&&(MathJax.config.startup.output="svg"),MathJax.startup.defaultReady(),MathJax.startup.promise.then(function(){de(),me(),ie!=="svg"&&(MathJax.config.startup.output=ie),MathJax.config=oe}))}else g.warn("No MathJax version:",MathJax.version)})(U[2],Z,function(X,Q,re){G.selectAll("svg."+q).remove(),G.selectAll("g."+q+"-group").remove();var ie=X&&X.select("svg");if(!ie||!ie.node())return H(),void ne();var oe=G.append("g").classed(q+"-group",!0).attr({"pointer-events":"none","data-unformatted":$,"data-math":"Y"});oe.node().appendChild(ie.node()),Q&&Q.node()&&ie.node().insertBefore(Q.node().cloneNode(!0),ie.node().firstChild);var ue=re.width,ce=re.height;ie.attr({class:q,height:ce,preserveAspectRatio:"xMinYMin meet"}).style({overflow:"visible","pointer-events":"none"});var ye=N.node().style.fill||"black",de=ie.select("g");de.attr({fill:ye,stroke:ye});var me=de.node().getBoundingClientRect(),pe=me.width,xe=me.height;(pe>ue||xe>ce)&&(ie.style("overflow","hidden"),pe=(me=ie.node().getBoundingClientRect()).width,xe=me.height);var Pe=+N.attr("x"),_e=+N.attr("y"),Me=-(te||N.node().getBoundingClientRect().height)/4;if(q[0]==="y")oe.attr({transform:"rotate("+[-90,Pe,_e]+")"+i(-pe/2,Me-xe/2)});else if(q[0]==="l")_e=Me-xe/2;else if(q[0]==="a"&&q.indexOf("atitle")!==0)Pe=0,_e=Me;else{var Se=N.attr("text-anchor");Pe-=pe*(Se==="middle"?.5:Se==="end"?1:0),_e=_e+Me-xe/2}ie.attr({x:Pe,y:_e}),j&&j.call(N,oe),ne(oe)})})):H(),N}function H(){G.empty()||(q=N.attr("class")+"-math",G.select("svg."+q).remove()),N.text("").style("white-space","pre");var ne=function(te,Z){Z=Z.replace(w," ");var X,Q=!1,re=[],ie=-1;function oe(){ie++;var be=document.createElementNS(M.svg,"tspan");d.select(be).attr({class:"line",dy:ie*v+"em"}),te.appendChild(be),X=be;var ke=re;if(re=[{node:be}],ke.length>1)for(var Le=1;Le doesnt match end tag <"+be+">. Pretending it did match.",Z),X=re[re.length-1].node}else g.log("Ignoring unexpected end tag .",Z)}_.test(Z)?oe():(X=te,re=[{node:te}]);for(var de=Z.split(y),me=0;me|>|>)/g,u=[["$","$"],["\\(","\\)"]],o={sup:"font-size:70%",sub:"font-size:70%",b:"font-weight:bold",i:"font-style:italic",a:"cursor:pointer",span:"",em:"font-style:italic;font-weight:bold"},s={sub:"0.3em",sup:"-0.6em"},c={sub:"-0.21em",sup:"0.42em"},h="​",m=["http:","https:","mailto:","",void 0,":"],w=p.NEWLINES=/(\r\n?|\n)/g,y=/(<[^<>]*>)/,S=/<(\/?)([^ >]*)(\s+(.*))?>/i,_=//i;p.BR_TAG_ALL=//gi;var k=/(^|[\s"'])style\s*=\s*("([^"]*);?"|'([^']*);?')/i,E=/(^|[\s"'])href\s*=\s*("([^"]*)"|'([^']*)')/i,x=/(^|[\s"'])target\s*=\s*("([^"\s]*)"|'([^'\s]*)')/i,A=/(^|[\s"'])popup\s*=\s*("([\w=,]*)"|'([\w=,]*)')/i;function L(N,W){if(!N)return null;var j=N.match(W),$=j&&(j[3]||j[4]);return $&&O($)}var b=/(^|;)\s*color:/;p.plainText=function(N,W){for(var j=(W=W||{}).len!==void 0&&W.len!==-1?W.len:1/0,$=W.allowedTags!==void 0?W.allowedTags:["br"],U=3,G=N.split(y),q=[],H="",ne=0,te=0;teU?q.push(Z.substr(0,ie-U)+"..."):q.push(Z.substr(0,ie));break}H=""}}return q.join("")};var R={mu:"μ",amp:"&",lt:"<",gt:">",nbsp:" ",times:"×",plusmn:"±",deg:"°"},I=/&(#\d+|#x[\da-fA-F]+|[a-z]+);/g;function O(N){return N.replace(I,function(W,j){return(j.charAt(0)==="#"?function($){if(!($>1114111)){var U=String.fromCodePoint;if(U)return U($);var G=String.fromCharCode;return $<=65535?G($):G(55232+($>>10),$%1024+56320)}}(j.charAt(1)==="x"?parseInt(j.substr(2),16):parseInt(j.substr(1),10)):R[j])||W})}function z(N){var W=encodeURI(decodeURI(N)),j=document.createElement("a"),$=document.createElement("a");j.href=N,$.href=W;var U=j.protocol,G=$.protocol;return m.indexOf(U)!==-1&&m.indexOf(G)!==-1?W:""}function F(N,W,j){var $,U,G,q=j.horizontalAlign,H=j.verticalAlign||"top",ne=N.node().getBoundingClientRect(),te=W.node().getBoundingClientRect();return U=H==="bottom"?function(){return ne.bottom-$.height}:H==="middle"?function(){return ne.top+(ne.height-$.height)/2}:function(){return ne.top},G=q==="right"?function(){return ne.right-$.width}:q==="center"?function(){return ne.left+(ne.width-$.width)/2}:function(){return ne.left},function(){$=this.node().getBoundingClientRect();var Z=G()-te.left,X=U()-te.top,Q=j.gd||{};if(j.gd){Q._fullLayout._calcInverseTransform(Q);var re=g.apply3DTransform(Q._fullLayout._invTransform)(Z,X);Z=re[0],X=re[1]}return this.style({top:X+"px",left:Z+"px","z-index":1e3}),this}}p.convertEntities=O,p.sanitizeHTML=function(N){N=N.replace(w," ");for(var W=document.createElement("p"),j=W,$=[],U=N.split(y),G=0;Gv.ts+i?a():v.timer=setTimeout(function(){a(),v.timer=null},i)},p.done=function(g){var i=t[g];return i&&i.timer?new Promise(function(M){var v=i.onDone;i.onDone=function(){v&&v(),M(),i.onDone=null}}):Promise.resolve()},p.clear=function(g){if(g)d(t[g]),delete t[g];else for(var i in t)p.clear(i)}},58163:function(T,p,t){var d=t(92770);T.exports=function(g,i){if(g>0)return Math.log(g)/Math.LN10;var M=Math.log(Math.min(i[0],i[1]))/Math.LN10;return d(M)||(M=Math.log(Math.max(i[0],i[1]))/Math.LN10-6),M}},90973:function(T,p,t){var d=T.exports={},g=t(78776).locationmodeToLayer,i=t(96892).zL;d.getTopojsonName=function(M){return[M.scope.replace(/ /g,"-"),"_",M.resolution.toString(),"m"].join("")},d.getTopojsonPath=function(M,v){return M+v+".json"},d.getTopojsonFeatures=function(M,v){var f=g[M.locationmode],l=v.objects[f];return i(v,l).features}},37815:function(T){T.exports={moduleType:"locale",name:"en-US",dictionary:{"Click to enter Colorscale title":"Click to enter Colorscale title"},format:{date:"%m/%d/%Y"}}},92177:function(T){T.exports={moduleType:"locale",name:"en",dictionary:{"Click to enter Colorscale title":"Click to enter Colourscale title"},format:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],periods:["AM","PM"],dateTime:"%a %b %e %X %Y",date:"%d/%m/%Y",time:"%H:%M:%S",decimal:".",thousands:",",grouping:[3],currency:["$",""],year:"%Y",month:"%b %Y",dayMonth:"%b %-d",dayMonthYear:"%b %-d, %Y"}}},14458:function(T,p,t){var d=t(73972);T.exports=function(g){for(var i,M,v=d.layoutArrayContainers,f=d.layoutArrayRegexes,l=g.split("[")[0],a=0;a0&&M.log("Clearing previous rejected promises from queue."),E._promises=[]},p.cleanLayout=function(E){var x,A;E||(E={}),E.xaxis1&&(E.xaxis||(E.xaxis=E.xaxis1),delete E.xaxis1),E.yaxis1&&(E.yaxis||(E.yaxis=E.yaxis1),delete E.yaxis1),E.scene1&&(E.scene||(E.scene=E.scene1),delete E.scene1);var L=(v.subplotsRegistry.cartesian||{}).attrRegex,b=(v.subplotsRegistry.polar||{}).attrRegex,R=(v.subplotsRegistry.ternary||{}).attrRegex,I=(v.subplotsRegistry.gl3d||{}).attrRegex,O=Object.keys(E);for(x=0;x3?(re.x=1.02,re.xanchor="left"):re.x<-2&&(re.x=-.02,re.xanchor="right"),re.y>3?(re.y=1.02,re.yanchor="bottom"):re.y<-2&&(re.y=-.02,re.yanchor="top")),c(E),E.dragmode==="rotate"&&(E.dragmode="orbit"),l.clean(E),E.template&&E.template.layout&&p.cleanLayout(E.template.layout),E},p.cleanData=function(E){for(var x=0;x0)return E.substr(0,x)}p.hasParent=function(E,x){for(var A=_(x);A;){if(A in E)return!0;A=_(A)}return!1};var k=["x","y","z"];p.clearAxisTypes=function(E,x,A){for(var L=0;L1&&i.warn("Full array edits are incompatible with other edits",h);var E=o[""][""];if(l(E))u.set(null);else{if(!Array.isArray(E))return i.warn("Unrecognized full array edit value",h,E),!0;u.set(E)}return!S&&(m(_,k),w(a),!0)}var x,A,L,b,R,I,O,z,F=Object.keys(o).map(Number).sort(M),B=u.get(),N=B||[],W=c(k,h).get(),j=[],$=-1,U=N.length;for(x=0;xN.length-(O?0:1))i.warn("index out of range",h,L);else if(I!==void 0)R.length>1&&i.warn("Insertion & removal are incompatible with edits to the same index.",h,L),l(I)?j.push(L):O?(I==="add"&&(I={}),N.splice(L,0,I),W&&W.splice(L,0,{})):i.warn("Unrecognized full object edit value",h,L,I),$===-1&&($=L);else for(A=0;A=0;x--)N.splice(j[x],1),W&&W.splice(j[x],1);if(N.length?B||u.set(N):u.set(null),S)return!1;if(m(_,k),y!==g){var G;if($===-1)G=F;else{for(U=Math.max(N.length,U),G=[],x=0;x=$);x++)G.push(L);for(x=$;x=ae.data.length||Le<-ae.data.length)throw new Error(be+" must be valid indices for gd.data.");if(fe.indexOf(Le,ke+1)>-1||Le>=0&&fe.indexOf(-ae.data.length+Le)>-1||Le<0&&fe.indexOf(ae.data.length+Le)>-1)throw new Error("each index in "+be+" must be unique.")}}function B(ae,fe,be){if(!Array.isArray(ae.data))throw new Error("gd.data must be an array.");if(fe===void 0)throw new Error("currentIndices is a required argument.");if(Array.isArray(fe)||(fe=[fe]),F(ae,fe,"currentIndices"),be===void 0||Array.isArray(be)||(be=[be]),be!==void 0&&F(ae,be,"newIndices"),be!==void 0&&fe.length!==be.length)throw new Error("current and new indices must be of equal length.")}function N(ae,fe,be,ke,Le){(function($e,Ye,st,ot){var ht=M.isPlainObject(ot);if(!Array.isArray($e.data))throw new Error("gd.data must be an array");if(!M.isPlainObject(Ye))throw new Error("update must be a key:value object");if(st===void 0)throw new Error("indices must be an integer or array of integers");for(var bt in F($e,st,"indices"),Ye){if(!Array.isArray(Ye[bt])||Ye[bt].length!==st.length)throw new Error("attribute "+bt+" must be an array of length equal to indices array length");if(ht&&(!(bt in ot)||!Array.isArray(ot[bt])||ot[bt].length!==Ye[bt].length))throw new Error("when maxPoints is set as a key:value object it must contain a 1:1 corrispondence with the keys and number of traces in the update object")}})(ae,fe,be,ke);for(var Be=function($e,Ye,st,ot){var ht,bt,Et,kt,xt,Ft=M.isPlainObject(ot),Ot=[];for(var Bt in Array.isArray(st)||(st=[st]),st=z(st,$e.data.length-1),Ye)for(var qt=0;qt-1&&be.indexOf("grouptitlefont")===-1?je(be,be.replace("titlefont","title.font")):be.indexOf("titleposition")>-1?je(be,be.replace("titleposition","title.position")):be.indexOf("titleside")>-1?je(be,be.replace("titleside","title.side")):be.indexOf("titleoffset")>-1&&je(be,be.replace("titleoffset","title.offset")):je(be,be.replace("title","title.text"));function je(ge,we){ae[we]=ae[ge],delete ae[ge]}}function ne(ae,fe,be){ae=M.getGraphDiv(ae),k.clearPromiseQueue(ae);var ke={};if(typeof fe=="string")ke[fe]=be;else{if(!M.isPlainObject(fe))return M.warn("Relayout fail.",fe,be),Promise.reject();ke=M.extendFlat({},fe)}Object.keys(ke).length&&(ae.changed=!0);var Le=ie(ae,ke),Be=Le.flags;Be.calc&&(ae.calcdata=void 0);var ze=[o.previousPromises];Be.layoutReplot?ze.push(E.layoutReplot):Object.keys(ke).length&&(te(ae,Be,Le)||o.supplyDefaults(ae),Be.legend&&ze.push(E.doLegend),Be.layoutstyle&&ze.push(E.layoutStyles),Be.axrange&&Z(ze,Le.rangesAltered),Be.ticks&&ze.push(E.doTicksRelayout),Be.modebar&&ze.push(E.doModeBar),Be.camera&&ze.push(E.doCamera),Be.colorbars&&ze.push(E.doColorBars),ze.push(b)),ze.push(o.rehover,o.redrag,o.reselect),l.add(ae,ne,[ae,Le.undoit],ne,[ae,Le.redoit]);var je=M.syncOrAsync(ze,ae);return je&&je.then||(je=Promise.resolve(ae)),je.then(function(){return ae.emit("plotly_relayout",Le.eventData),ae})}function te(ae,fe,be){var ke=ae._fullLayout;if(!fe.axrange)return!1;for(var Le in fe)if(Le!=="axrange"&&fe[Le])return!1;for(var Be in be.rangesAltered){var ze=s.id2name(Be),je=ae.layout[ze],ge=ke[ze];if(ge.autorange=je.autorange,je.range&&(ge.range=je.range.slice()),ge.cleanRange(),ge._matchGroup){for(var we in ge._matchGroup)if(we!==Be){var Ee=ke[s.id2name(we)];Ee.autorange=ge.autorange,Ee.range=ge.range.slice(),Ee._input.range=ge.range.slice()}}}return!0}function Z(ae,fe){var be=fe?function(ke){var Le=[];for(var Be in fe){var ze=s.getFromId(ke,Be);if(Le.push(Be),(ze.ticklabelposition||"").indexOf("inside")!==-1&&ze._anchorAxis&&Le.push(ze._anchorAxis._id),ze._matchGroup)for(var je in ze._matchGroup)fe[je]||Le.push(je)}return s.draw(ke,Le,{skipTitle:!0})}:function(ke){return s.draw(ke,"redraw")};ae.push(y,E.doAutoRangeAndConstraints,be,E.drawData,E.finalDraw)}var X=/^[xyz]axis[0-9]*\.range(\[[0|1]\])?$/,Q=/^[xyz]axis[0-9]*\.autorange$/,re=/^[xyz]axis[0-9]*\.domain(\[[0|1]\])?$/;function ie(ae,fe){var be,ke,Le,Be=ae.layout,ze=ae._fullLayout,je=ze._guiEditing,ge=U(ze._preGUI,je),we=Object.keys(fe),Ee=s.list(ae),Ve=M.extendDeepAll({},fe),$e={};for(H(fe),we=Object.keys(fe),ke=0;ke0&&typeof qt.parts[Ke]!="string";)Ke--;var Je=qt.parts[Ke],qe=qt.parts[Ke-1]+"."+Je,nt=qt.parts.slice(0,Ke).join("."),ft=v(ae.layout,nt).get(),Re=v(ze,nt).get(),Ne=qt.get();if(Vt!==void 0){bt[Bt]=Vt,Et[Bt]=Je==="reverse"?Vt:$(Ne);var Qe=u.getLayoutValObject(ze,qt.parts);if(Qe&&Qe.impliedEdits&&Vt!==null)for(var ut in Qe.impliedEdits)kt(M.relativeAttr(Bt,ut),Qe.impliedEdits[ut]);if(["width","height"].indexOf(Bt)!==-1)if(Vt){kt("autosize",null);var dt=Bt==="height"?"width":"height";kt(dt,ze[dt])}else ze[Bt]=ae._initialAutoSize[Bt];else if(Bt==="autosize")kt("width",Vt?null:ze.width),kt("height",Vt?null:ze.height);else if(qe.match(X))Ot(qe),v(ze,nt+"._inputRange").set(null);else if(qe.match(Q)){Ot(qe),v(ze,nt+"._inputRange").set(null);var _t=v(ze,nt).get();_t._inputDomain&&(_t._input.domain=_t._inputDomain.slice())}else qe.match(re)&&v(ze,nt+"._inputDomain").set(null);if(Je==="type"){xt=ft;var It=Re.type==="linear"&&Vt==="log",Lt=Re.type==="log"&&Vt==="linear";if(It||Lt){if(xt&&xt.range)if(Re.autorange)It&&(xt.range=xt.range[1]>xt.range[0]?[1,2]:[2,1]);else{var yt=xt.range[0],Pt=xt.range[1];It?(yt<=0&&Pt<=0&&kt(nt+".autorange",!0),yt<=0?yt=Pt/1e6:Pt<=0&&(Pt=yt/1e6),kt(nt+".range[0]",Math.log(yt)/Math.LN10),kt(nt+".range[1]",Math.log(Pt)/Math.LN10)):(kt(nt+".range[0]",Math.pow(10,yt)),kt(nt+".range[1]",Math.pow(10,Pt)))}else kt(nt+".autorange",!0);Array.isArray(ze._subplots.polar)&&ze._subplots.polar.length&&ze[qt.parts[0]]&&qt.parts[1]==="radialaxis"&&delete ze[qt.parts[0]]._subplot.viewInitial["radialaxis.range"],a.getComponentMethod("annotations","convertCoords")(ae,Re,Vt,kt),a.getComponentMethod("images","convertCoords")(ae,Re,Vt,kt)}else kt(nt+".autorange",!0),kt(nt+".range",null);v(ze,nt+"._inputRange").set(null)}else if(Je.match(A)){var wt=v(ze,Bt).get(),Rt=(Vt||{}).type;Rt&&Rt!=="-"||(Rt="linear"),a.getComponentMethod("annotations","convertCoords")(ae,wt,Rt,kt),a.getComponentMethod("images","convertCoords")(ae,wt,Rt,kt)}var Nt=_.containerArrayMatch(Bt);if(Nt){be=Nt.array,ke=Nt.index;var Yt=Nt.property,Wt=Qe||{editType:"calc"};ke!==""&&Yt===""&&(_.isAddVal(Vt)?Et[Bt]=null:_.isRemoveVal(Vt)?Et[Bt]=(v(Be,be).get()||[])[ke]:M.warn("unrecognized full object value",fe)),x.update(ht,Wt),$e[be]||($e[be]={});var Xt=$e[be][ke];Xt||(Xt=$e[be][ke]={}),Xt[Yt]=Vt,delete fe[Bt]}else Je==="reverse"?(ft.range?ft.range.reverse():(kt(nt+".autorange",!0),ft.range=[1,0]),Re.autorange?ht.calc=!0:ht.plot=!0):(Bt==="dragmode"&&(Vt===!1&&Ne!==!1||Vt!==!1&&Ne===!1)||ze._has("scatter-like")&&ze._has("regl")&&Bt==="dragmode"&&(Vt==="lasso"||Vt==="select")&&Ne!=="lasso"&&Ne!=="select"||ze._has("gl2d")?ht.plot=!0:Qe?x.update(ht,Qe):ht.calc=!0,qt.set(Vt))}}for(be in $e)_.applyContainerArrayChanges(ae,ge(Be,be),$e[be],ht,ge)||(ht.plot=!0);for(var Qt in Ft){var rn=(xt=s.getFromId(ae,Qt))&&xt._constraintGroup;if(rn)for(var xn in ht.calc=!0,rn)Ft[xn]||(s.getFromId(ae,xn)._constraintShrinkable=!0)}return(oe(ae)||fe.height||fe.width)&&(ht.plot=!0),(ht.plot||ht.calc)&&(ht.layoutReplot=!0),{flags:ht,rangesAltered:Ft,undoit:Et,redoit:bt,eventData:Ve}}function oe(ae){var fe=ae._fullLayout,be=fe.width,ke=fe.height;return ae.layout.autosize&&o.plotAutoSize(ae,ae.layout,fe),fe.width!==be||fe.height!==ke}function ue(ae,fe,be,ke){ae=M.getGraphDiv(ae),k.clearPromiseQueue(ae),M.isPlainObject(fe)||(fe={}),M.isPlainObject(be)||(be={}),Object.keys(fe).length&&(ae.changed=!0),Object.keys(be).length&&(ae.changed=!0);var Le=k.coerceTraceIndices(ae,ke),Be=q(ae,M.extendFlat({},fe),Le),ze=Be.flags,je=ie(ae,M.extendFlat({},be)),ge=je.flags;(ze.calc||ge.calc)&&(ae.calcdata=void 0),ze.clearAxisTypes&&k.clearAxisTypes(ae,Le,be);var we=[];ge.layoutReplot?we.push(E.layoutReplot):ze.fullReplot?we.push(p._doPlot):(we.push(o.previousPromises),te(ae,ge,je)||o.supplyDefaults(ae),ze.style&&we.push(E.doTraceStyle),(ze.colorbars||ge.colorbars)&&we.push(E.doColorBars),ge.legend&&we.push(E.doLegend),ge.layoutstyle&&we.push(E.layoutStyles),ge.axrange&&Z(we,je.rangesAltered),ge.ticks&&we.push(E.doTicksRelayout),ge.modebar&&we.push(E.doModeBar),ge.camera&&we.push(E.doCamera),we.push(b)),we.push(o.rehover,o.redrag,o.reselect),l.add(ae,ue,[ae,Be.undoit,je.undoit,Be.traces],ue,[ae,Be.redoit,je.redoit,Be.traces]);var Ee=M.syncOrAsync(we,ae);return Ee&&Ee.then||(Ee=Promise.resolve(ae)),Ee.then(function(){return ae.emit("plotly_update",{data:Be.eventData,layout:je.eventData}),ae})}function ce(ae){return function(fe){fe._fullLayout._guiEditing=!0;var be=ae.apply(null,arguments);return fe._fullLayout._guiEditing=!1,be}}var ye=[{pattern:/^hiddenlabels/,attr:"legend.uirevision"},{pattern:/^((x|y)axis\d*)\.((auto)?range|title\.text)/},{pattern:/axis\d*\.showspikes$/,attr:"modebar.uirevision"},{pattern:/(hover|drag)mode$/,attr:"modebar.uirevision"},{pattern:/^(scene\d*)\.camera/},{pattern:/^(geo\d*)\.(projection|center|fitbounds)/},{pattern:/^(ternary\d*\.[abc]axis)\.(min|title\.text)$/},{pattern:/^(polar\d*\.radialaxis)\.((auto)?range|angle|title\.text)/},{pattern:/^(polar\d*\.angularaxis)\.rotation/},{pattern:/^(mapbox\d*)\.(center|zoom|bearing|pitch)/},{pattern:/^legend\.(x|y)$/,attr:"editrevision"},{pattern:/^(shapes|annotations)/,attr:"editrevision"},{pattern:/^title\.text$/,attr:"editrevision"}],de=[{pattern:/^selectedpoints$/,attr:"selectionrevision"},{pattern:/(^|value\.)visible$/,attr:"legend.uirevision"},{pattern:/^dimensions\[\d+\]\.constraintrange/},{pattern:/^node\.(x|y|groups)/},{pattern:/^level$/},{pattern:/(^|value\.)name$/},{pattern:/colorbar\.title\.text$/},{pattern:/colorbar\.(x|y)$/,attr:"editrevision"}];function me(ae,fe){for(var be=0;be1;)if(ke.pop(),(be=v(fe,ke.join(".")+".uirevision").get())!==void 0)return be;return fe.uirevision}function xe(ae,fe){for(var be=0;be=Le.length?Le[0]:Le[we]:Le}function je(we){return Array.isArray(Be)?we>=Be.length?Be[0]:Be[we]:Be}function ge(we,Ee){var Ve=0;return function(){if(we&&++Ve===Ee)return we()}}return ke._frameWaitingCnt===void 0&&(ke._frameWaitingCnt=0),new Promise(function(we,Ee){function Ve(){ae.emit("plotly_animating"),ke._lastFrameAt=-1/0,ke._timeToNext=0,ke._runningTransitions=0,ke._currentFrame=null;var Bt=function(){ke._animationRaf=window.requestAnimationFrame(Bt),Date.now()-ke._lastFrameAt>ke._timeToNext&&function(){ke._currentFrame&&ke._currentFrame.onComplete&&ke._currentFrame.onComplete();var qt=ke._currentFrame=ke._frameQueue.shift();if(qt){var Vt=qt.name?qt.name.toString():null;ae._fullLayout._currentFrame=Vt,ke._lastFrameAt=Date.now(),ke._timeToNext=qt.frameOpts.duration,o.transition(ae,qt.frame.data,qt.frame.layout,k.coerceTraceIndices(ae,qt.frame.traces),qt.frameOpts,qt.transitionOpts).then(function(){qt.onComplete&&qt.onComplete()}),ae.emit("plotly_animatingframe",{name:Vt,frame:qt.frame,animation:{frame:qt.frameOpts,transition:qt.transitionOpts}})}else ae.emit("plotly_animated"),window.cancelAnimationFrame(ke._animationRaf),ke._animationRaf=null}()};Bt()}var $e,Ye,st=0;function ot(Bt){return Array.isArray(Le)?st>=Le.length?Bt.transitionOpts=Le[st]:Bt.transitionOpts=Le[0]:Bt.transitionOpts=Le,st++,Bt}var ht=[],bt=fe==null,Et=Array.isArray(fe);if(bt||Et||!M.isPlainObject(fe)){if(bt||["string","number"].indexOf(typeof fe)!==-1)for($e=0;$e0&&FtFt)&&Ot.push(Ye);ht=Ot}}ht.length>0?function(Bt){if(Bt.length!==0){for(var qt=0;qt=0;ke--)if(M.isPlainObject(fe[ke])){var $e=fe[ke].name,Ye=(ge[$e]||Ve[$e]||{}).name,st=fe[ke].name,ot=ge[Ye]||Ve[Ye];Ye&&st&&typeof st=="number"&&ot&&L<5&&(L++,M.warn('addFrames: overwriting frame "'+(ge[Ye]||Ve[Ye]).name+'" with a frame whose name of type "number" also equates to "'+Ye+'". This is valid but may potentially lead to unexpected behavior since all plotly.js frame names are stored internally as strings.'),L===5&&M.warn("addFrames: This API call has yielded too many of these warnings. For the rest of this call, further warnings about numeric frame names will be suppressed.")),Ve[$e]={name:$e},Ee.push({frame:o.supplyFrameDefaults(fe[ke]),index:be&&be[ke]!==void 0&&be[ke]!==null?be[ke]:we+ke})}Ee.sort(function(Bt,qt){return Bt.index>qt.index?-1:Bt.index=0;ke--){if(typeof(Le=Ee[ke].frame).name=="number"&&M.warn("Warning: addFrames accepts frames with numeric names, but the numbers areimplicitly cast to strings"),!Le.name)for(;ge[Le.name="frame "+ae._transitionData._counter++];);if(ge[Le.name]){for(Be=0;Be=0;be--)ke=fe[be],Be.push({type:"delete",index:ke}),ze.unshift({type:"insert",index:ke,value:Le[ke]});var je=o.modifyFrames,ge=o.modifyFrames,we=[ae,ze],Ee=[ae,Be];return l&&l.add(ae,je,we,ge,Ee),o.modifyFrames(ae,Be)},p.addTraces=function ae(fe,be,ke){fe=M.getGraphDiv(fe);var Le,Be,ze=[],je=p.deleteTraces,ge=ae,we=[fe,ze],Ee=[fe,be];for(function(Ve,$e,Ye){var st,ot;if(!Array.isArray(Ve.data))throw new Error("gd.data must be an array.");if($e===void 0)throw new Error("traces must be defined.");for(Array.isArray($e)||($e=[$e]),st=0;st<$e.length;st++)if(typeof(ot=$e[st])!="object"||Array.isArray(ot)||ot===null)throw new Error("all values in traces array must be non-array objects");if(Ye===void 0||Array.isArray(Ye)||(Ye=[Ye]),Ye!==void 0&&Ye.length!==$e.length)throw new Error("if indices is specified, traces.length must equal indices.length")}(fe,be,ke),Array.isArray(be)||(be=[be]),be=be.map(function(Ve){return M.extendFlat({},Ve)}),k.cleanData(be),Le=0;Le=0&&Ve<$e.length?$e.splice(0,$e.length-Ve):[];return[$e,Ye]}var ze=N(fe=M.getGraphDiv(fe),be,ke,Le,Be),je=p.redraw(fe),ge=[fe,ze.update,ke,ze.maxPoints];return l.add(fe,p.prependTraces,ge,ae,arguments),je},p.moveTraces=function ae(fe,be,ke){var Le,Be=[],ze=[],je=ae,ge=ae,we=[fe=M.getGraphDiv(fe),ke,be],Ee=[fe,be,ke];if(B(fe,be,ke),be=Array.isArray(be)?be:[be],ke===void 0)for(ke=[],Le=0;Le=0&&Ve<$e.length?$e.splice(Ve,$e.length):[];return[$e,Ye]}var ze=N(fe=M.getGraphDiv(fe),be,ke,Le,Be),je=p.redraw(fe),ge=[fe,ze.update,ke,ze.maxPoints];return l.add(fe,p.extendTraces,ge,ae,arguments),je},p.newPlot=function(ae,fe,be,ke){return ae=M.getGraphDiv(ae),o.cleanPlot([],{},ae._fullData||[],ae._fullLayout||{}),o.purge(ae),p._doPlot(ae,fe,be,ke)},p._doPlot=function(ae,fe,be,ke){var Le;if(ae=M.getGraphDiv(ae),f.init(ae),M.isPlainObject(fe)){var Be=fe;fe=Be.data,be=Be.layout,ke=Be.config,Le=Be.frames}if(f.triggerHandler(ae,"plotly_beforeplot",[fe,be,ke])===!1)return Promise.reject();fe||be||M.isPlotDiv(ae)||M.warn("Calling _doPlot as if redrawing but this container doesn't yet have a plot.",ae),O(ae,ke),be||(be={}),d.select(ae).classed("js-plotly-plot",!0),c.makeTester(),Array.isArray(ae._promises)||(ae._promises=[]);var ze=(ae.data||[]).length===0&&Array.isArray(fe);Array.isArray(fe)&&(k.cleanData(fe),ze?ae.data=fe:ae.data.push.apply(ae.data,fe),ae.empty=!1),ae.layout&&!ze||(ae.layout=k.cleanLayout(be)),o.supplyDefaults(ae);var je=ae._fullLayout,ge=je._has("cartesian");je._replotting=!0,(ze||je._shouldCreateBgLayer)&&(function(bt){var Et=d.select(bt),kt=bt._fullLayout;if(kt._calcInverseTransform=Ce,kt._calcInverseTransform(bt),kt._container=Et.selectAll(".plot-container").data([0]),kt._container.enter().insert("div",":first-child").classed("plot-container",!0).classed("plotly",!0),kt._paperdiv=kt._container.selectAll(".svg-container").data([0]),kt._paperdiv.enter().append("div").classed("user-select-none",!0).classed("svg-container",!0).style("position","relative"),kt._glcontainer=kt._paperdiv.selectAll(".gl-container").data([{}]),kt._glcontainer.enter().append("div").classed("gl-container",!0),kt._paperdiv.selectAll(".main-svg").remove(),kt._paperdiv.select(".modebar-container").remove(),kt._paper=kt._paperdiv.insert("svg",":first-child").classed("main-svg",!0),kt._toppaper=kt._paperdiv.append("svg").classed("main-svg",!0),kt._modebardiv=kt._paperdiv.append("div"),delete kt._modeBar,kt._hoverpaper=kt._paperdiv.append("svg").classed("main-svg",!0),!kt._uid){var xt={};d.selectAll("defs").each(function(){this.id&&(xt[this.id.split("-")[1]]=1)}),kt._uid=M.randstr(xt)}kt._paperdiv.selectAll(".main-svg").attr(w.svgAttrs),kt._defs=kt._paper.append("defs").attr("id","defs-"+kt._uid),kt._clips=kt._defs.append("g").classed("clips",!0),kt._topdefs=kt._toppaper.append("defs").attr("id","topdefs-"+kt._uid),kt._topclips=kt._topdefs.append("g").classed("clips",!0),kt._bgLayer=kt._paper.append("g").classed("bglayer",!0),kt._draggers=kt._paper.append("g").classed("draglayer",!0);var Ft=kt._paper.append("g").classed("layer-below",!0);kt._imageLowerLayer=Ft.append("g").classed("imagelayer",!0),kt._shapeLowerLayer=Ft.append("g").classed("shapelayer",!0),kt._cartesianlayer=kt._paper.append("g").classed("cartesianlayer",!0),kt._polarlayer=kt._paper.append("g").classed("polarlayer",!0),kt._smithlayer=kt._paper.append("g").classed("smithlayer",!0),kt._ternarylayer=kt._paper.append("g").classed("ternarylayer",!0),kt._geolayer=kt._paper.append("g").classed("geolayer",!0),kt._funnelarealayer=kt._paper.append("g").classed("funnelarealayer",!0),kt._pielayer=kt._paper.append("g").classed("pielayer",!0),kt._iciclelayer=kt._paper.append("g").classed("iciclelayer",!0),kt._treemaplayer=kt._paper.append("g").classed("treemaplayer",!0),kt._sunburstlayer=kt._paper.append("g").classed("sunburstlayer",!0),kt._indicatorlayer=kt._toppaper.append("g").classed("indicatorlayer",!0),kt._glimages=kt._paper.append("g").classed("glimages",!0);var Ot=kt._toppaper.append("g").classed("layer-above",!0);kt._imageUpperLayer=Ot.append("g").classed("imagelayer",!0),kt._shapeUpperLayer=Ot.append("g").classed("shapelayer",!0),kt._selectionLayer=kt._toppaper.append("g").classed("selectionlayer",!0),kt._infolayer=kt._toppaper.append("g").classed("infolayer",!0),kt._menulayer=kt._toppaper.append("g").classed("menulayer",!0),kt._zoomlayer=kt._toppaper.append("g").classed("zoomlayer",!0),kt._hoverlayer=kt._hoverpaper.append("g").classed("hoverlayer",!0),kt._modebardiv.classed("modebar-container",!0).style("position","absolute").style("top","0px").style("right","0px"),bt.emit("plotly_framework")}(ae),je._shouldCreateBgLayer&&delete je._shouldCreateBgLayer),c.initGradients(ae),c.initPatterns(ae),ze&&s.saveShowSpikeInitial(ae);var we=!ae.calcdata||ae.calcdata.length!==(ae._fullData||[]).length;we&&o.doCalcdata(ae);for(var Ee=0;Ee=F.length)return!1;if(b.dimensions===2){if(I++,R.length===I)return b;var B=R[I];if(!k(B))return!1;b=F[z][B]}else b=F[z]}else b=F}}return b}function k(b){return b===Math.round(b)&&b>=0}function E(){var b,R,I={};for(b in u(I,M),d.subplotsRegistry)if((R=d.subplotsRegistry[b]).layoutAttributes)if(Array.isArray(R.attr))for(var O=0;O=B.length)return!1;O=(I=(d.transformsRegistry[B[N].type]||{}).attributes)&&I[R[2]],F=3}else{var W=b._module;if(W||(W=(d.modules[b.type||i.type.dflt]||{})._module),!W)return!1;if(!(O=(I=W.attributes)&&I[z])){var j=W.basePlotModule;j&&j.attributes&&(O=j.attributes[z])}O||(O=i[z])}return _(O,R,F)},p.getLayoutValObject=function(b,R){var I=function(O,z){var F,B,N,W,j=O._basePlotModules;if(j){var $;for(F=0;F=u&&(a._input||{})._templateitemname;s&&(o=u);var c,h=l+"["+o+"]";function m(){c={},s&&(c[h]={},c[h].templateitemname=s)}function w(S,_){s?d.nestedProperty(c[h],S).set(_):c[h+"."+S]=_}function y(){var S=c;return m(),S}return m(),{modifyBase:function(S,_){c[S]=_},modifyItem:w,getUpdateObj:y,applyUpdate:function(S,_){S&&w(S,_);var k=y();for(var E in k)d.nestedProperty(f,E).set(k[E])}}}},61549:function(T,p,t){var d=t(39898),g=t(73972),i=t(74875),M=t(71828),v=t(63893),f=t(33306),l=t(7901),a=t(91424),u=t(92998),o=t(64168),s=t(89298),c=t(18783),h=t(99082),m=h.enforce,w=h.clean,y=t(71739).doAutoRange,S="start";function _(L,b,R){for(var I=0;I=L[1]||O[1]<=L[0])&&z[0]b[0])return!0}return!1}function k(L){var b,R,I,O,z,F,B=L._fullLayout,N=B._size,W=N.p,j=s.list(L,"",!0);if(B._paperdiv.style({width:L._context.responsive&&B.autosize&&!L._context._hasZeroWidth&&!L.layout.width?"100%":B.width+"px",height:L._context.responsive&&B.autosize&&!L._context._hasZeroHeight&&!L.layout.height?"100%":B.height+"px"}).selectAll(".main-svg").call(a.setSize,B.width,B.height),L._context.setBackground(L,B.paper_bgcolor),p.drawMainTitle(L),o.manage(L),!B._has("cartesian"))return i.previousPromises(L);function $(Ve,$e,Ye){var st=Ve._lw/2;return Ve._id.charAt(0)==="x"?$e?Ye==="top"?$e._offset-W-st:$e._offset+$e._length+W+st:N.t+N.h*(1-(Ve.position||0))+st%1:$e?Ye==="right"?$e._offset+$e._length+W+st:$e._offset-W-st:N.l+N.w*(Ve.position||0)+st%1}for(b=0;b.5?"t":"b",te=$._fullLayout.margin[ne],Z=0;return U.yref==="paper"?Z=G+U.pad.t+U.pad.b:U.yref==="container"&&(Z=function(X,Q,re,ie,oe){var ue=0;return re==="middle"&&(ue+=oe/2),X==="t"?(re==="top"&&(ue+=oe),ue+=ie-Q*ie):(re==="bottom"&&(ue+=oe),ue+=Q*ie),ue}(ne,q,H,$._fullLayout.height,G)+U.pad.t+U.pad.b),Z>te?Z:0}(L,R,W);j>0&&(function($,U,G,q){var H="title.automargin",ne=$._fullLayout.title,te=ne.y>.5?"t":"b",Z={x:ne.x,y:ne.y,t:0,b:0},X={};ne.yref==="paper"&&function(Q,re,ie,oe,ue){var ce=re.yref==="paper"?Q._fullLayout._size.h:Q._fullLayout.height,ye=M.isTopAnchor(re)?oe:oe-ue,de=ie==="b"?ce-ye:ye;return!(M.isTopAnchor(re)&&ie==="t"||M.isBottomAnchor(re)&&ie==="b")&&deN?A.push({code:"unused",traceType:I,templateCount:B,dataCount:N}):N>B&&A.push({code:"reused",traceType:I,templateCount:B,dataCount:N})}}else A.push({code:"data"});if(function W(j,$){for(var U in j)if(U.charAt(0)!=="_"){var G=j[U],q=h(j,U,$);g(G)?(Array.isArray(j)&&G._template===!1&&G.templateitemname&&A.push({code:"missing",path:q,templateitemname:G.templateitemname}),W(G,q)):Array.isArray(G)&&m(G)&&W(G,q)}}({data:b,layout:L},""),A.length)return A.map(w)}},403:function(T,p,t){var d=t(92770),g=t(72391),i=t(74875),M=t(71828),v=t(25095),f=t(5900),l=t(70942),a=t(11506).version,u={format:{valType:"enumerated",values:["png","jpeg","webp","svg","full-json"],dflt:"png"},width:{valType:"number",min:1},height:{valType:"number",min:1},scale:{valType:"number",min:0,dflt:1},setBackground:{valType:"any",dflt:!1},imageDataOnly:{valType:"boolean",dflt:!1}};T.exports=function(o,s){var c,h,m,w;function y(N){return!(N in s)||M.validate(s[N],u[N])}if(s=s||{},M.isPlainObject(o)?(c=o.data||[],h=o.layout||{},m=o.config||{},w={}):(o=M.getGraphDiv(o),c=M.extendDeep([],o.data),h=M.extendDeep({},o.layout),m=o._context,w=o._fullLayout||{}),!y("width")&&s.width!==null||!y("height")&&s.height!==null)throw new Error("Height and width should be pixel values.");if(!y("format"))throw new Error("Export format is not "+M.join2(u.format.values,", "," or ")+".");var S={};function _(N,W){return M.coerce(s,S,u,N,W)}var k=_("format"),E=_("width"),x=_("height"),A=_("scale"),L=_("setBackground"),b=_("imageDataOnly"),R=document.createElement("div");R.style.position="absolute",R.style.left="-5000px",document.body.appendChild(R);var I=M.extendFlat({},h);E?I.width=E:s.width===null&&d(w.width)&&(I.width=w.width),x?I.height=x:s.height===null&&d(w.height)&&(I.height=w.height);var O=M.extendFlat({},m,{_exportedPlot:!0,staticPlot:!0,setBackground:L}),z=v.getRedrawFunc(R);function F(){return new Promise(function(N){setTimeout(N,v.getDelay(R._fullLayout))})}function B(){return new Promise(function(N,W){var j=f(R,k,A),$=R._fullLayout.width,U=R._fullLayout.height;function G(){g.purge(R),document.body.removeChild(R)}if(k==="full-json"){var q=i.graphJson(R,!1,"keepdata","object",!0,!0);return q.version=a,q=JSON.stringify(q),G(),N(b?q:v.encodeJSON(q))}if(G(),k==="svg")return N(b?j:v.encodeSVG(j));var H=document.createElement("canvas");H.id=M.randstr(),l({format:k,width:$,height:U,scale:A,canvas:H,svg:j,promise:!0}).then(N).catch(W)})}return new Promise(function(N,W){g.newPlot(R,c,I,O).then(z).then(F).then(B).then(function(j){N(function($){return b?$.replace(v.IMAGE_URL_PREFIX,""):$}(j))}).catch(function(j){W(j)})})}},84936:function(T,p,t){var d=t(71828),g=t(74875),i=t(86281),M=t(72075).dfltConfig,v=d.isPlainObject,f=Array.isArray,l=d.isArrayOrTypedArray;function a(S,_,k,E,x,A){A=A||[];for(var L=Object.keys(S),b=0;bz.length&&E.push(c("unused",x,I.concat(z.length)));var $,U,G,q,H,ne=z.length,te=Array.isArray(j);if(te&&(ne=Math.min(ne,j.length)),F.dimensions===2)for(U=0;Uz[U].length&&E.push(c("unused",x,I.concat(U,z[U].length)));var Z=z[U].length;for($=0;$<(te?Math.min(Z,j[U].length):Z);$++)G=te?j[U][$]:j,q=O[U][$],H=z[U][$],d.validate(q,G)?H!==q&&H!==+q&&E.push(c("dynamic",x,I.concat(U,$),q,H)):E.push(c("value",x,I.concat(U,$),q))}else E.push(c("array",x,I.concat(U),O[U]));else for(U=0;U1&&A.push(c("object","layout"))),g.supplyDefaults(L);for(var b=L._fullData,R=k.length,I=0;I0&&Math.round(h)===h))return{vals:u};s=h}for(var m=l.calendar,w=o==="start",y=o==="end",S=f[a+"period0"],_=i(S,m)||0,k=[],E=[],x=[],A=u.length,L=0;LO;)I=M(I,-s,m);for(;I<=O;)I=M(I,s,m);R=M(I,-s,m)}else{for(I=_+(b=Math.round((O-_)/c))*c;I>O;)I-=c;for(;I<=O;)I+=c;R=I-c}k[L]=w?R:y?I:(R+I)/2,E[L]=R,x[L]=I}return{vals:k,starts:E,ends:x}}},89502:function(T){T.exports={xaxis:{valType:"subplotid",dflt:"x",editType:"calc+clearAxisTypes"},yaxis:{valType:"subplotid",dflt:"y",editType:"calc+clearAxisTypes"}}},71739:function(T,p,t){var d=t(39898),g=t(92770),i=t(71828),M=t(50606).FP_SAFE,v=t(73972),f=t(91424),l=t(41675),a=l.getFromId,u=l.isLinked;function o(E,x){var A,L,b=[],R=E._fullLayout,I=c(R,x,0),O=c(R,x,1),z=h(E,x),F=z.min,B=z.max;if(F.length===0||B.length===0)return i.simpleMap(x.range,x.r2l);var N=F[0].val,W=B[0].val;for(A=1;A0&&((ne=re-I(U)-O(G))>ie?te/ne>oe&&(q=U,H=G,oe=te/ne):te/re>oe&&(q={val:U.val,nopad:1},H={val:G.val,nopad:1},oe=te/re));if(N===W){var ue=N-1,ce=N+1;if(X)if(N===0)b=[0,1];else{var ye=(N>0?B:F).reduce(function(me,pe){return Math.max(me,O(pe))},0),de=N/(1-Math.min(.5,ye/re));b=N>0?[0,de]:[de,0]}else b=Q?[Math.max(0,ue),Math.max(1,ce)]:[ue,ce]}else X?(q.val>=0&&(q={val:0,nopad:1}),H.val<=0&&(H={val:0,nopad:1})):Q&&(q.val-oe*I(q)<0&&(q={val:0,nopad:1}),H.val<=0&&(H={val:1,nopad:1})),oe=(H.val-q.val-s(x,U.val,G.val))/(re-I(q)-O(H)),b=[q.val-oe*I(q),H.val+oe*O(H)];return j&&b.reverse(),i.simpleMap(b,x.l2r||Number)}function s(E,x,A){var L=0;if(E.rangebreaks)for(var b=E.locateBreaks(x,A),R=0;R=A&&(F.extrapad||!I)){O=!1;break}b(x,F.val)&&F.pad<=A&&(I||!F.extrapad)&&(E.splice(z,1),z--)}if(O){var B=R&&x===0;E.push({val:x,pad:B?0:A,extrapad:!B&&I})}}function S(E){return g(E)&&Math.abs(E)=x}T.exports={getAutoRange:o,makePadFn:c,doAutoRange:function(E,x,A){if(x.setScale(),x.autorange){x.range=A?A.slice():o(E,x),x._r=x.range.slice(),x._rl=i.simpleMap(x._r,x.r2l);var L=x._input,b={};b[x._attr+".range"]=x.range,b[x._attr+".autorange"]=x.autorange,v.call("_storeDirectGUIEdit",E.layout,E._fullLayout._preGUI,b),L.range=x.range.slice(),L.autorange=x.autorange}var R=x._anchorAxis;if(R&&R.rangeslider){var I=R.rangeslider[x._name];I&&I.rangemode==="auto"&&(I.range=o(E,x)),R._input.rangeslider[x._name]=i.extendFlat({},I)}},findExtremes:function(E,x,A){A||(A={}),E._m||E.setScale();var L,b,R,I,O,z,F,B,N,W=[],j=[],$=x.length,U=A.padded||!1,G=A.tozero&&(E.type==="linear"||E.type==="-"),q=E.type==="log",H=!1,ne=A.vpadLinearized||!1;function te(ce){if(Array.isArray(ce))return H=!0,function(de){return Math.max(Number(ce[de]||0),0)};var ye=Math.max(Number(ce||0),0);return function(){return ye}}var Z=te((E._m>0?A.ppadplus:A.ppadminus)||A.ppad||0),X=te((E._m>0?A.ppadminus:A.ppadplus)||A.ppad||0),Q=te(A.vpadplus||A.vpad),re=te(A.vpadminus||A.vpad);if(!H){if(B=1/0,N=-1/0,q)for(L=0;L<$;L++)(b=x[L])0&&(B=b),b>N&&b-M&&(B=b),b>N&&b=ue;L--)oe(L);return{min:W,max:j,opts:A}},concatExtremes:h}},89298:function(T,p,t){var d=t(39898),g=t(92770),i=t(74875),M=t(73972),v=t(71828),f=v.strTranslate,l=t(63893),a=t(92998),u=t(7901),o=t(91424),s=t(13838),c=t(66287),h=t(50606),m=h.ONEMAXYEAR,w=h.ONEAVGYEAR,y=h.ONEMINYEAR,S=h.ONEMAXQUARTER,_=h.ONEAVGQUARTER,k=h.ONEMINQUARTER,E=h.ONEMAXMONTH,x=h.ONEAVGMONTH,A=h.ONEMINMONTH,L=h.ONEWEEK,b=h.ONEDAY,R=b/2,I=h.ONEHOUR,O=h.ONEMIN,z=h.ONESEC,F=h.MINUS_SIGN,B=h.BADNUM,N={K:"zeroline"},W={K:"gridline",L:"path"},j={K:"minor-gridline",L:"path"},$={K:"tick",L:"path"},U={K:"tick",L:"text"},G={width:["x","r","l","xl","xr"],height:["y","t","b","yt","yb"],right:["r","xr"],left:["l","xl"],top:["t","yt"],bottom:["b","yb"]},q=t(18783),H=q.MID_SHIFT,ne=q.CAP_SHIFT,te=q.LINE_SPACING,Z=q.OPPOSITE_SIDE,X=T.exports={};X.setConvert=t(21994);var Q=t(4322),re=t(41675),ie=re.idSort,oe=re.isLinked;X.id2name=re.id2name,X.name2id=re.name2id,X.cleanId=re.cleanId,X.list=re.list,X.listIds=re.listIds,X.getFromId=re.getFromId,X.getFromTrace=re.getFromTrace;var ue=t(71739);function ce(Re){var Ne=1e-4*(Re[1]-Re[0]);return[Re[0]-Ne,Re[1]+Ne]}X.getAutoRange=ue.getAutoRange,X.findExtremes=ue.findExtremes,X.coerceRef=function(Re,Ne,Qe,ut,dt,_t){var It=ut.charAt(ut.length-1),Lt=Qe._fullLayout._subplots[It+"axis"],yt=ut+"ref",Pt={};return dt||(dt=Lt[0]||(typeof _t=="string"?_t:_t[0])),_t||(_t=dt),Lt=Lt.concat(Lt.map(function(wt){return wt+" domain"})),Pt[yt]={valType:"enumerated",values:Lt.concat(_t?typeof _t=="string"?[_t]:_t:[]),dflt:dt},v.coerce(Re,Ne,Pt,yt)},X.getRefType=function(Re){return Re===void 0?Re:Re==="paper"?"paper":Re==="pixel"?"pixel":/( domain)$/.test(Re)?"domain":"range"},X.coercePosition=function(Re,Ne,Qe,ut,dt,_t){var It,Lt;if(X.getRefType(ut)!=="range")It=v.ensureNumber,Lt=Qe(dt,_t);else{var yt=X.getFromId(Ne,ut);Lt=Qe(dt,_t=yt.fraction2r(_t)),It=yt.cleanPos}Re[dt]=It(Lt)},X.cleanPosition=function(Re,Ne,Qe){return(Qe==="paper"||Qe==="pixel"?v.ensureNumber:X.getFromId(Ne,Qe).cleanPos)(Re)},X.redrawComponents=function(Re,Ne){Ne=Ne||X.listIds(Re);var Qe=Re._fullLayout;function ut(dt,_t,It,Lt){for(var yt=M.getComponentMethod(dt,_t),Pt={},wt=0;wtQe&&wt2e-6||((Qe-Re._forceTick0)/Re._minDtick%1+1.000001)%1>2e-6)&&(Re._minDtick=0)):Re._minDtick=0},X.saveRangeInitial=function(Re,Ne){for(var Qe=X.list(Re,"",!0),ut=!1,dt=0;dt.3*Dn||dn(un)||dn(An))){var In=xn.dtick/2;Qt+=Qt+In.8){var kn=Number(xn.substr(1));Yn.exactYears>.8&&kn%12==0?Qt=X.tickIncrement(Qt,"M6","reverse")+1.5*b:Yn.exactMonths>.8?Qt=X.tickIncrement(Qt,"M1","reverse")+15.5*b:Qt-=R;var sn=X.tickIncrement(Qt,xn);if(sn<=un)return sn}return Qt}(Xt,Re,Wt,Lt,dt)),Yt=Xt;Yt<=yt;)Yt=X.tickIncrement(Yt,Wt,!1,dt);return{start:Ne.c2r(Xt,0,dt),end:Ne.c2r(Yt,0,dt),size:Wt,_dataSpan:yt-Lt}},X.prepMinorTicks=function(Re,Ne,Qe){if(!Ne.minor.dtick){delete Re.dtick;var ut,dt=Ne.dtick&&g(Ne._tmin);if(dt){var _t=X.tickIncrement(Ne._tmin,Ne.dtick,!0);ut=[Ne._tmin,.99*_t+.01*Ne._tmin]}else{var It=v.simpleMap(Ne.range,Ne.r2l);ut=[It[0],.8*It[0]+.2*It[1]]}if(Re.range=v.simpleMap(ut,Ne.l2r),Re._isMinor=!0,X.prepTicks(Re,Qe),dt){var Lt=g(Ne.dtick),yt=g(Re.dtick),Pt=Lt?Ne.dtick:+Ne.dtick.substring(1),wt=yt?Re.dtick:+Re.dtick.substring(1);Lt&&yt?pe(Pt,wt)?Pt===2*L&&wt===2*b&&(Re.dtick=L):Pt===2*L&&wt===3*b?Re.dtick=L:Pt!==L||(Ne._input.minor||{}).nticks?xe(Pt/wt,2.5)?Re.dtick=Pt/2:Re.dtick=Pt:Re.dtick=b:String(Ne.dtick).charAt(0)==="M"?yt?Re.dtick="M1":pe(Pt,wt)?Pt>=12&&wt===2&&(Re.dtick="M3"):Re.dtick=Ne.dtick:String(Re.dtick).charAt(0)==="L"?String(Ne.dtick).charAt(0)==="L"?pe(Pt,wt)||(Re.dtick=xe(Pt/wt,2.5)?Ne.dtick/2:Ne.dtick):Re.dtick="D1":Re.dtick==="D2"&&+Ne.dtick>1&&(Re.dtick=1)}Re.range=Ne.range}Ne.minor._tick0Init===void 0&&(Re.tick0=Ne.tick0)},X.prepTicks=function(Re,Ne){var Qe=v.simpleMap(Re.range,Re.r2l,void 0,void 0,Ne);if(Re.tickmode==="auto"||!Re.dtick){var ut,dt=Re.nticks;dt||(Re.type==="category"||Re.type==="multicategory"?(ut=Re.tickfont?v.bigFont(Re.tickfont.size||12):15,dt=Re._length/ut):(ut=Re._id.charAt(0)==="y"?40:80,dt=v.constrain(Re._length/ut,4,9)+1),Re._name==="radialaxis"&&(dt*=2)),Re.minor&&Re.minor.tickmode!=="array"||Re.tickmode==="array"&&(dt*=100),Re._roughDTick=Math.abs(Qe[1]-Qe[0])/dt,X.autoTicks(Re,Re._roughDTick),Re._minDtick>0&&Re.dtick<2*Re._minDtick&&(Re.dtick=Re._minDtick,Re.tick0=Re.l2r(Re._forceTick0))}Re.ticklabelmode==="period"&&function(_t){var It;function Lt(){return!(g(_t.dtick)||_t.dtick.charAt(0)!=="M")}var yt=Lt(),Pt=X.getTickFormat(_t);if(Pt){var wt=_t._dtickInit!==_t.dtick;/%[fLQsSMX]/.test(Pt)||(/%[HI]/.test(Pt)?(It=I,wt&&!yt&&_t.dtick=(rn?0:1);xn--){var un=!xn;xn?(Re._dtickInit=Re.dtick,Re._tick0Init=Re.tick0):(Re.minor._dtickInit=Re.minor.dtick,Re.minor._tick0Init=Re.minor.tick0);var An=xn?Re:v.extendFlat({},Re,Re.minor);if(un?X.prepMinorTicks(An,Re,Ne):X.prepTicks(An,Ne),An.tickmode!=="array")if(An.tickmode!=="sync"){var Yn=ce(yt),kn=Yn[0],sn=Yn[1],Tn=g(An.dtick),dn=dt==="log"&&!(Tn||An.dtick.charAt(0)==="L"),pn=X.tickFirst(An,Ne);if(xn){if(Re._tmin=pn,pn=sn:Gn<=sn;Gn=X.tickIncrement(Gn,qn,Pt,_t)){if(xn&&Dn++,An.rangebreaks&&!Pt){if(Gn=Rt)break}if(Xt.length>Nt||Gn===jn)break;jn=Gn;var lr={value:Gn};xn?(dn&&Gn!==(0|Gn)&&(lr.simpleLabel=!0),It>1&&Dn%It&&(lr.skipLabel=!0),Xt.push(lr)):(lr.minor=!0,Qt.push(lr))}}else Xt=[],Yt=Me(Re);else xn?(Xt=[],Yt=Se(Re)):(Qt=[],Wt=Se(Re))}if(rn&&!(Re.minor.ticks==="inside"&&Re.ticks==="outside"||Re.minor.ticks==="outside"&&Re.ticks==="inside")){for(var rr=Xt.map(function(Pn){return Pn.value}),Sr=[],yr=0;yr0?(On=hn-1,En=hn):(On=hn,En=hn);var mn,wn=Pn[On].value,gn=Pn[En].value,yn=Math.abs(gn-wn),Sn=Jt||yn,Vn=0;Sn>=y?Vn=yn>=y&&yn<=m?yn:w:Jt===_&&Sn>=k?Vn=yn>=k&&yn<=S?yn:_:Sn>=A?Vn=yn>=A&&yn<=E?yn:x:Jt===L&&Sn>=L?Vn=L:Sn>=b?Vn=b:Jt===R&&Sn>=R?Vn=R:Jt===I&&Sn>=I&&(Vn=I),Vn>=yn&&(Vn=yn,mn=!0);var Xn=zn+Vn;if(jt.rangebreaks&&Vn>0){for(var nr=0,Qn=0;Qn<84;Qn++){var hr=(Qn+.5)/84;jt.maskBreaks(zn*(1-hr)+hr*Xn)!==B&&nr++}(Vn*=nr/84)||(Pn[hn].drop=!0),mn&&yn>L&&(Vn=yn)}(Vn>0||hn===0)&&(Pn[hn].periodX=zn+Vn/2)}}(Xt,Re,Re._definedDelta),Re.rangebreaks){var bn=Re._id.charAt(0)==="y",Rn=1;Re.tickmode==="auto"&&(Rn=Re.tickfont?Re.tickfont.size:12);var Ln=NaN;for(Qe=Xt.length-1;Qe>-1;Qe--)if(Xt[Qe].drop)Xt.splice(Qe,1);else{Xt[Qe].value=Je(Xt[Qe].value,Re);var Un=Re.c2p(Xt[Qe].value);(bn?Ln>Un-Rn:LnRt||$nRt&&(Kn.periodX=Rt),$n10||ut.substr(5)!=="01-01"?Re._tickround="d":Re._tickround=+Ne.substr(1)%12==0?"y":"m";else if(Ne>=b&&dt<=10||Ne>=15*b)Re._tickround="d";else if(Ne>=O&&dt<=16||Ne>=I)Re._tickround="M";else if(Ne>=z&&dt<=19||Ne>=O)Re._tickround="S";else{var _t=Re.l2r(Qe+Ne).replace(/^-/,"").length;Re._tickround=Math.max(dt,_t)-20,Re._tickround<0&&(Re._tickround=4)}}else if(g(Ne)||Ne.charAt(0)==="L"){var It=Re.range.map(Re.r2d||Number);g(Ne)||(Ne=Number(Ne.substr(1))),Re._tickround=2-Math.floor(Math.log(Ne)/Math.LN10+.01);var Lt=Math.max(Math.abs(It[0]),Math.abs(It[1])),yt=Math.floor(Math.log(Lt)/Math.LN10+.01),Pt=Re.minexponent===void 0?3:Re.minexponent;Math.abs(yt)>Pt&&(Ee(Re.exponentformat)&&!Ve(yt)?Re._tickexponent=3*Math.round((yt-1)/3):Re._tickexponent=yt)}else Re._tickround=null}function ge(Re,Ne,Qe){var ut=Re.tickfont||{};return{x:Ne,dx:0,dy:0,text:Qe||"",fontSize:ut.size,font:ut.family,fontColor:ut.color}}X.autoTicks=function(Re,Ne,Qe){var ut;function dt(Rt){return Math.pow(Rt,Math.floor(Math.log(Ne)/Math.LN10))}if(Re.type==="date"){Re.tick0=v.dateTick0(Re.calendar,0);var _t=2*Ne;if(_t>w)Ne/=w,ut=dt(10),Re.dtick="M"+12*ze(Ne,ut,Ce);else if(_t>x)Ne/=x,Re.dtick="M"+ze(Ne,1,ae);else if(_t>b){if(Re.dtick=ze(Ne,b,Re._hasDayOfWeekBreaks?[1,2,7,14]:be),!Qe){var It=X.getTickFormat(Re),Lt=Re.ticklabelmode==="period";Lt&&(Re._rawTick0=Re.tick0),/%[uVW]/.test(It)?Re.tick0=v.dateTick0(Re.calendar,2):Re.tick0=v.dateTick0(Re.calendar,1),Lt&&(Re._dowTick0=Re.tick0)}}else _t>I?Re.dtick=ze(Ne,I,ae):_t>O?Re.dtick=ze(Ne,O,fe):_t>z?Re.dtick=ze(Ne,z,fe):(ut=dt(10),Re.dtick=ze(Ne,ut,Ce))}else if(Re.type==="log"){Re.tick0=0;var yt=v.simpleMap(Re.range,Re.r2l);if(Re._isMinor&&(Ne*=1.5),Ne>.7)Re.dtick=Math.ceil(Ne);else if(Math.abs(yt[1]-yt[0])<1){var Pt=1.5*Math.abs((yt[1]-yt[0])/Ne);Ne=Math.abs(Math.pow(10,yt[1])-Math.pow(10,yt[0]))/Pt,ut=dt(10),Re.dtick="L"+ze(Ne,ut,Ce)}else Re.dtick=Ne>.3?"D2":"D1"}else Re.type==="category"||Re.type==="multicategory"?(Re.tick0=0,Re.dtick=Math.ceil(Math.max(Ne,1))):Ke(Re)?(Re.tick0=0,ut=1,Re.dtick=ze(Ne,ut,Be)):(Re.tick0=0,ut=dt(10),Re.dtick=ze(Ne,ut,Ce));if(Re.dtick===0&&(Re.dtick=1),!g(Re.dtick)&&typeof Re.dtick!="string"){var wt=Re.dtick;throw Re.dtick=1,"ax.dtick error: "+String(wt)}},X.tickIncrement=function(Re,Ne,Qe,ut){var dt=Qe?-1:1;if(g(Ne))return v.increment(Re,dt*Ne);var _t=Ne.charAt(0),It=dt*Number(Ne.substr(1));if(_t==="M")return v.incrementMonth(Re,It,ut);if(_t==="L")return Math.log(Math.pow(10,Re)+It)/Math.LN10;if(_t==="D"){var Lt=Ne==="D2"?Le:ke,yt=Re+.01*dt,Pt=v.roundUp(v.mod(yt,1),Lt,Qe);return Math.floor(yt)+Math.log(d.round(Math.pow(10,Pt),1))/Math.LN10}throw"unrecognized dtick "+String(Ne)},X.tickFirst=function(Re,Ne){var Qe=Re.r2l||Number,ut=v.simpleMap(Re.range,Qe,void 0,void 0,Ne),dt=ut[1] ")}else Qt._prevDateHead=kn,sn+="
"+kn;rn.text=sn}(Re,_t,Qe,Lt):yt==="log"?function(Qt,rn,xn,un,An){var Yn=Qt.dtick,kn=rn.x,sn=Qt.tickformat,Tn=typeof Yn=="string"&&Yn.charAt(0);if(An==="never"&&(An=""),un&&Tn!=="L"&&(Yn="L3",Tn="L"),sn||Tn==="L")rn.text=$e(Math.pow(10,kn),Qt,An,un);else if(g(Yn)||Tn==="D"&&v.mod(kn+.01,1)<.1){var dn=Math.round(kn),pn=Math.abs(dn),Dn=Qt.exponentformat;Dn==="power"||Ee(Dn)&&Ve(dn)?(rn.text=dn===0?1:dn===1?"10":"10"+(dn>1?"":F)+pn+"",rn.fontSize*=1.25):(Dn==="e"||Dn==="E")&&pn>2?rn.text="1"+Dn+(dn>0?"+":F)+pn:(rn.text=$e(Math.pow(10,kn),Qt,"","fakehover"),Yn==="D1"&&Qt._id.charAt(0)==="y"&&(rn.dy-=rn.fontSize/6))}else{if(Tn!=="D")throw"unrecognized dtick "+String(Yn);rn.text=String(Math.round(Math.pow(10,v.mod(kn,1)))),rn.fontSize*=.75}if(Qt.dtick==="D1"){var In=String(rn.text).charAt(0);In!=="0"&&In!=="1"||(Qt._id.charAt(0)==="y"?rn.dx-=rn.fontSize/4:(rn.dy+=rn.fontSize/2,rn.dx+=(Qt.range[1]>Qt.range[0]?1:-1)*rn.fontSize*(kn<0?.5:.25)))}}(Re,_t,0,Lt,Yt):yt==="category"?function(Qt,rn){var xn=Qt._categories[Math.round(rn.x)];xn===void 0&&(xn=""),rn.text=String(xn)}(Re,_t):yt==="multicategory"?function(Qt,rn,xn){var un=Math.round(rn.x),An=Qt._categories[un]||[],Yn=An[1]===void 0?"":String(An[1]),kn=An[0]===void 0?"":String(An[0]);xn?rn.text=kn+" - "+Yn:(rn.text=Yn,rn.text2=kn)}(Re,_t,Qe):Ke(Re)?function(Qt,rn,xn,un,An){if(Qt.thetaunit!=="radians"||xn)rn.text=$e(rn.x,Qt,An,un);else{var Yn=rn.x/180;if(Yn===0)rn.text="0";else{var kn=function(Tn){function dn(jn,Gn){return Math.abs(jn-Gn)<=1e-6}var pn=function(jn){for(var Gn=1;!dn(Math.round(jn*Gn)/Gn,jn);)Gn*=10;return Gn}(Tn),Dn=Tn*pn,In=Math.abs(function jn(Gn,qn){return dn(qn,0)?Gn:jn(qn,Gn%qn)}(Dn,pn));return[Math.round(Dn/In),Math.round(pn/In)]}(Yn);if(kn[1]>=100)rn.text=$e(v.deg2rad(rn.x),Qt,An,un);else{var sn=rn.x<0;kn[1]===1?kn[0]===1?rn.text="π":rn.text=kn[0]+"π":rn.text=["",kn[0],"","⁄","",kn[1],"","π"].join(""),sn&&(rn.text=F+rn.text)}}}}(Re,_t,Qe,Lt,Yt):function(Qt,rn,xn,un,An){An==="never"?An="":Qt.showexponent==="all"&&Math.abs(rn.x/Qt.dtick)<1e-6&&(An="hide"),rn.text=$e(rn.x,Qt,An,un)}(Re,_t,0,Lt,Yt),ut||(Re.tickprefix&&!Nt(Re.showtickprefix)&&(_t.text=Re.tickprefix+_t.text),Re.ticksuffix&&!Nt(Re.showticksuffix)&&(_t.text+=Re.ticksuffix)),Re.labelalias&&Re.labelalias.hasOwnProperty(_t.text)){var Wt=Re.labelalias[_t.text];typeof Wt=="string"&&(_t.text=Wt)}if(Re.tickson==="boundaries"||Re.showdividers){var Xt=function(Qt){var rn=Re.l2p(Qt);return rn>=0&&rn<=Re._length?Qt:null};_t.xbnd=[Xt(_t.x-.5),Xt(_t.x+Re.dtick-.5)]}return _t},X.hoverLabelText=function(Re,Ne,Qe){Qe&&(Re=v.extendFlat({},Re,{hoverformat:Qe}));var ut=Array.isArray(Ne)?Ne[0]:Ne,dt=Array.isArray(Ne)?Ne[1]:void 0;if(dt!==void 0&&dt!==ut)return X.hoverLabelText(Re,ut,Qe)+" - "+X.hoverLabelText(Re,dt,Qe);var _t=Re.type==="log"&&ut<=0,It=X.tickText(Re,Re.c2l(_t?-ut:ut),"hover").text;return _t?ut===0?"0":F+It:It};var we=["f","p","n","μ","m","","k","M","G","T"];function Ee(Re){return Re==="SI"||Re==="B"}function Ve(Re){return Re>14||Re<-15}function $e(Re,Ne,Qe,ut){var dt=Re<0,_t=Ne._tickround,It=Qe||Ne.exponentformat||"B",Lt=Ne._tickexponent,yt=X.getTickFormat(Ne),Pt=Ne.separatethousands;if(ut){var wt={exponentformat:It,minexponent:Ne.minexponent,dtick:Ne.showexponent==="none"?Ne.dtick:g(Re)&&Math.abs(Re)||1,range:Ne.showexponent==="none"?Ne.range.map(Ne.r2d):[0,Re||1]};je(wt),_t=(Number(wt._tickround)||0)+4,Lt=wt._tickexponent,Ne.hoverformat&&(yt=Ne.hoverformat)}if(yt)return Ne._numFormat(yt)(Re).replace(/-/g,F);var Rt,Nt=Math.pow(10,-_t)/2;if(It==="none"&&(Lt=0),(Re=Math.abs(Re))"+Rt+"":It==="B"&&Lt===9?Re+="B":Ee(It)&&(Re+=we[Lt/3+5])),dt?F+Re:Re}function Ye(Re,Ne){if(Re){var Qe=Object.keys(G).reduce(function(ut,dt){return Ne.indexOf(dt)!==-1&&G[dt].forEach(function(_t){ut[_t]=1}),ut},{});Object.keys(Re).forEach(function(ut){Qe[ut]||(ut.length===1?Re[ut]=0:delete Re[ut])})}}function st(Re,Ne){for(var Qe=[],ut={},dt=0;dt1&&Qe=dt.min&&Re=0,rn=wt(Nt,Yt[1])<=0;return(Wt||Qt)&&(Xt||rn)}if(Re.tickformatstops&&Re.tickformatstops.length>0)switch(Re.type){case"date":case"linear":for(Ne=0;Ne=It(dt)))){Qe=ut;break}break;case"log":for(Ne=0;Ne=0&&dt.unshift(dt.splice(Pt,1).shift())}});var It={false:{left:0,right:0}};return v.syncOrAsync(dt.map(function(Lt){return function(){if(Lt){var yt=X.getFromId(Re,Lt);Qe||(Qe={}),Qe.axShifts=It,Qe.overlayingShiftedAx=_t;var Pt=X.drawOne(Re,yt,Qe);return yt._shiftPusher&&ft(yt,yt._fullDepth||0,It,!0),yt._r=yt.range.slice(),yt._rl=v.simpleMap(yt._r,yt.r2l),Pt}}}))},X.drawOne=function(Re,Ne,Qe){var ut,dt,_t,It=(Qe=Qe||{}).axShifts||{},Lt=Qe.overlayingShiftedAx||[];Ne.setScale();var yt=Re._fullLayout,Pt=Ne._id,wt=Pt.charAt(0),Rt=X.counterLetter(Pt),Nt=yt._plots[Ne._mainSubplot];if(Nt){if(Ne._shiftPusher=Ne.autoshift||Lt.indexOf(Ne._id)!==-1||Lt.indexOf(Ne.overlaying)!==-1,Ne._shiftPusher&Ne.anchor==="free"){var Yt=Ne.linewidth/2||0;Ne.ticks==="inside"&&(Yt+=Ne.ticklen),ft(Ne,Yt,It,!0),ft(Ne,Ne.shift||0,It,!1)}Qe.skipTitle===!0&&Ne._shift!==void 0||(Ne._shift=function(En,mn){return En.autoshift?mn[En.overlaying][En.side]:En.shift||0}(Ne,It));var Wt=Nt[wt+"axislayer"],Xt=Ne._mainLinePosition,Qt=Xt+=Ne._shift,rn=Ne._mainMirrorPosition,xn=Ne._vals=X.calcTicks(Ne),un=[Ne.mirror,Qt,rn].join("_");for(ut=0;ut0?En.bottom-Vn:0,Xn))));var nr=0,Qn=0;if(Ne._shiftPusher&&(nr=Math.max(Xn,En.height>0?yn==="l"?Vn-En.left:En.right-Vn:0),Ne.title.text!==yt._dfltTitle[wt]&&(Qn=(Ne._titleStandoff||0)+(Ne._titleScoot||0),yn==="l"&&(Qn+=bt(Ne))),Ne._fullDepth=Math.max(nr,Qn)),Ne.automargin){mn={x:0,y:0,r:0,l:0,t:0,b:0};var hr=[0,1],cr=typeof Ne._shift=="number"?Ne._shift:0;if(wt==="x"){if(yn==="b"?mn[yn]=Ne._depth:(mn[yn]=Ne._depth=Math.max(En.width>0?Vn-En.top:0,Xn),hr.reverse()),En.width>0){var pr=En.right-(Ne._offset+Ne._length);pr>0&&(mn.xr=1,mn.r=pr);var dr=Ne._offset-En.left;dr>0&&(mn.xl=0,mn.l=dr)}}else if(yn==="l"?(Ne._depth=Math.max(En.height>0?Vn-En.left:0,Xn),mn[yn]=Ne._depth-cr):(Ne._depth=Math.max(En.height>0?En.right-Vn:0,Xn),mn[yn]=Ne._depth+cr,hr.reverse()),En.height>0){var br=En.bottom-(Ne._offset+Ne._length);br>0&&(mn.yb=0,mn.b=br);var Ir=Ne._offset-En.top;Ir>0&&(mn.yt=1,mn.t=Ir)}mn[Rt]=Ne.anchor==="free"?Ne.position:Ne._anchorAxis.domain[hr[0]],Ne.title.text!==yt._dfltTitle[wt]&&(mn[yn]+=bt(Ne)+(Ne.title.standoff||0)),Ne.mirror&&Ne.anchor!=="free"&&((wn={x:0,y:0,r:0,l:0,t:0,b:0})[Sn]=Ne.linewidth,Ne.mirror&&Ne.mirror!==!0&&(wn[Sn]+=Xn),Ne.mirror===!0||Ne.mirror==="ticks"?wn[Rt]=Ne._anchorAxis.domain[hr[1]]:Ne.mirror!=="all"&&Ne.mirror!=="allticks"||(wn[Rt]=[Ne._counterDomainMin,Ne._counterDomainMax][hr[1]]))}zn&&(gn=M.getComponentMethod("rangeslider","autoMarginOpts")(Re,Ne)),typeof Ne.automargin=="string"&&(Ye(mn,Ne.automargin),Ye(wn,Ne.automargin)),i.autoMargin(Re,xt(Ne),mn),i.autoMargin(Re,Ft(Ne),wn),i.autoMargin(Re,Ot(Ne),gn)}),v.syncOrAsync(Jt)}}function On(En){var mn=Pt+(En||"tick");return An[mn]||(An[mn]=function(wn,gn){var yn,Sn,Vn,Xn;return wn._selections[gn].size()?(yn=1/0,Sn=-1/0,Vn=1/0,Xn=-1/0,wn._selections[gn].each(function(){var nr=kt(this),Qn=o.bBox(nr.node().parentNode);yn=Math.min(yn,Qn.top),Sn=Math.max(Sn,Qn.bottom),Vn=Math.min(Vn,Qn.left),Xn=Math.max(Xn,Qn.right)})):(yn=0,Sn=0,Vn=0,Xn=0),{top:yn,bottom:Sn,left:Vn,right:Xn,height:Sn-yn,width:Xn-Vn}}(Ne,mn)),An[mn]}},X.getTickSigns=function(Re,Ne){var Qe=Re._id.charAt(0),ut={x:"top",y:"right"}[Qe],dt=Re.side===ut?1:-1,_t=[-1,1,dt,-dt];return(Ne?(Re.minor||{}).ticks:Re.ticks)!=="inside"==(Qe==="x")&&(_t=_t.map(function(It){return-It})),Re.side&&_t.push({l:-1,t:-1,r:1,b:1}[Re.side.charAt(0)]),_t},X.makeTransTickFn=function(Re){return Re._id.charAt(0)==="x"?function(Ne){return f(Re._offset+Re.l2p(Ne.x),0)}:function(Ne){return f(0,Re._offset+Re.l2p(Ne.x))}},X.makeTransTickLabelFn=function(Re){var Ne=function(dt){var _t=dt.ticklabelposition||"",It=function(rn){return _t.indexOf(rn)!==-1},Lt=It("top"),yt=It("left"),Pt=It("right"),wt=It("bottom"),Rt=It("inside"),Nt=wt||yt||Lt||Pt;if(!Nt&&!Rt)return[0,0];var Yt=dt.side,Wt=Nt?(dt.tickwidth||0)/2:0,Xt=3,Qt=dt.tickfont?dt.tickfont.size:12;return(wt||Lt)&&(Wt+=Qt*ne,Xt+=(dt.linewidth||0)/2),(yt||Pt)&&(Wt+=(dt.linewidth||0)/2,Xt+=3),Rt&&Yt==="top"&&(Xt-=Qt*(1-ne)),(yt||Lt)&&(Wt=-Wt),Yt!=="bottom"&&Yt!=="right"||(Xt=-Xt),[Nt?Wt:0,Rt?Xt:0]}(Re),Qe=Ne[0],ut=Ne[1];return Re._id.charAt(0)==="x"?function(dt){return f(Qe+Re._offset+Re.l2p(ot(dt)),ut)}:function(dt){return f(ut,Qe+Re._offset+Re.l2p(ot(dt)))}},X.makeTickPath=function(Re,Ne,Qe,ut){ut||(ut={});var dt=ut.minor;if(dt&&!Re.minor)return"";var _t=ut.len!==void 0?ut.len:dt?Re.minor.ticklen:Re.ticklen,It=Re._id.charAt(0),Lt=(Re.linewidth||1)/2;return It==="x"?"M0,"+(Ne+Lt*Qe)+"v"+_t*Qe:"M"+(Ne+Lt*Qe)+",0h"+_t*Qe},X.makeLabelFns=function(Re,Ne,Qe){var ut=Re.ticklabelposition||"",dt=function(Dn){return ut.indexOf(Dn)!==-1},_t=dt("top"),It=dt("left"),Lt=dt("right"),yt=dt("bottom")||It||_t||Lt,Pt=dt("inside"),wt=ut==="inside"&&Re.ticks==="inside"||!Pt&&Re.ticks==="outside"&&Re.tickson!=="boundaries",Rt=0,Nt=0,Yt=wt?Re.ticklen:0;if(Pt?Yt*=-1:yt&&(Yt=0),wt&&(Rt+=Yt,Qe)){var Wt=v.deg2rad(Qe);Rt=Yt*Math.cos(Wt)+1,Nt=Yt*Math.sin(Wt)}Re.showticklabels&&(wt||Re.showline)&&(Rt+=.2*Re.tickfont.size);var Xt,Qt,rn,xn,un,An={labelStandoff:Rt+=(Re.linewidth||1)/2*(Pt?-1:1),labelShift:Nt},Yn=0,kn=Re.side,sn=Re._id.charAt(0),Tn=Re.tickangle;if(sn==="x")xn=(un=!Pt&&kn==="bottom"||Pt&&kn==="top")?1:-1,Pt&&(xn*=-1),Xt=Nt*xn,Qt=Ne+Rt*xn,rn=un?1:-.2,Math.abs(Tn)===90&&(Pt?rn+=H:rn=Tn===-90&&kn==="bottom"?ne:Tn===90&&kn==="top"?H:.5,Yn=H/2*(Tn/90)),An.xFn=function(Dn){return Dn.dx+Xt+Yn*Dn.fontSize},An.yFn=function(Dn){return Dn.dy+Qt+Dn.fontSize*rn},An.anchorFn=function(Dn,In){if(yt){if(It)return"end";if(Lt)return"start"}return g(In)&&In!==0&&In!==180?In*xn<0!==Pt?"end":"start":"middle"},An.heightFn=function(Dn,In,jn){return In<-60||In>60?-.5*jn:Re.side==="top"!==Pt?-jn:0};else if(sn==="y"){if(xn=(un=!Pt&&kn==="left"||Pt&&kn==="right")?1:-1,Pt&&(xn*=-1),Xt=Rt,Qt=Nt*xn,rn=0,Pt||Math.abs(Tn)!==90||(rn=Tn===-90&&kn==="left"||Tn===90&&kn==="right"?ne:.5),Pt){var dn=g(Tn)?+Tn:0;if(dn!==0){var pn=v.deg2rad(dn);Yn=Math.abs(Math.sin(pn))*ne*xn,rn=0}}An.xFn=function(Dn){return Dn.dx+Ne-(Xt+Dn.fontSize*rn)*xn+Yn*Dn.fontSize},An.yFn=function(Dn){return Dn.dy+Qt+Dn.fontSize*H},An.anchorFn=function(Dn,In){return g(In)&&Math.abs(In)===90?"middle":un?"end":"start"},An.heightFn=function(Dn,In,jn){return Re.side==="right"&&(In*=-1),In<-30?-jn:In<30?-.5*jn:0}}return An},X.drawTicks=function(Re,Ne,Qe){Qe=Qe||{};var ut=Ne._id+"tick",dt=[].concat(Ne.minor&&Ne.minor.ticks?Qe.vals.filter(function(It){return It.minor&&!It.noTick}):[]).concat(Ne.ticks?Qe.vals.filter(function(It){return!It.minor&&!It.noTick}):[]),_t=Qe.layer.selectAll("path."+ut).data(dt,ht);_t.exit().remove(),_t.enter().append("path").classed(ut,1).classed("ticks",1).classed("crisp",Qe.crisp!==!1).each(function(It){return u.stroke(d.select(this),It.minor?Ne.minor.tickcolor:Ne.tickcolor)}).style("stroke-width",function(It){return o.crispRound(Re,It.minor?Ne.minor.tickwidth:Ne.tickwidth,1)+"px"}).attr("d",Qe.path).style("display",null),nt(Ne,[$]),_t.attr("transform",Qe.transFn)},X.drawGrid=function(Re,Ne,Qe){if(Qe=Qe||{},Ne.tickmode!=="sync"){var ut=Ne._id+"grid",dt=Ne.minor&&Ne.minor.showgrid,_t=dt?Qe.vals.filter(function(rn){return rn.minor}):[],It=Ne.showgrid?Qe.vals.filter(function(rn){return!rn.minor}):[],Lt=Qe.counterAxis;if(Lt&&X.shouldShowZeroLine(Re,Ne,Lt))for(var yt=Ne.tickmode==="array",Pt=0;Pt=0;Wt--){var Xt=Wt?Nt:Yt;if(Xt){var Qt=Xt.selectAll("path."+ut).data(Wt?It:_t,ht);Qt.exit().remove(),Qt.enter().append("path").classed(ut,1).classed("crisp",Qe.crisp!==!1),Qt.attr("transform",Qe.transFn).attr("d",Qe.path).each(function(rn){return u.stroke(d.select(this),rn.minor?Ne.minor.gridcolor:Ne.gridcolor||"#ddd")}).style("stroke-dasharray",function(rn){return o.dashStyle(rn.minor?Ne.minor.griddash:Ne.griddash,rn.minor?Ne.minor.gridwidth:Ne.gridwidth)}).style("stroke-width",function(rn){return(rn.minor?Rt:Ne._gw)+"px"}).style("display",null),typeof Qe.path=="function"&&Qt.attr("d",Qe.path)}}nt(Ne,[W,j])}},X.drawZeroLine=function(Re,Ne,Qe){Qe=Qe||Qe;var ut=Ne._id+"zl",dt=X.shouldShowZeroLine(Re,Ne,Qe.counterAxis),_t=Qe.layer.selectAll("path."+ut).data(dt?[{x:0,id:Ne._id}]:[]);_t.exit().remove(),_t.enter().append("path").classed(ut,1).classed("zl",1).classed("crisp",Qe.crisp!==!1).each(function(){Qe.layer.selectAll("path").sort(function(It,Lt){return ie(It.id,Lt.id)})}),_t.attr("transform",Qe.transFn).attr("d",Qe.path).call(u.stroke,Ne.zerolinecolor||u.defaultLine).style("stroke-width",o.crispRound(Re,Ne.zerolinewidth,Ne._gw||1)+"px").style("display",null),nt(Ne,[N])},X.drawLabels=function(Re,Ne,Qe){Qe=Qe||{};var ut=Re._fullLayout,dt=Ne._id,_t=dt.charAt(0),It=Qe.cls||dt+"tick",Lt=Qe.vals.filter(function(xn){return xn.text}),yt=Qe.labelFns,Pt=Qe.secondary?0:Ne.tickangle,wt=(Ne._prevTickAngles||{})[It],Rt=Qe.layer.selectAll("g."+It).data(Ne.showticklabels?Lt:[],ht),Nt=[];function Yt(xn,un){xn.each(function(An){var Yn=d.select(this),kn=Yn.select(".text-math-group"),sn=yt.anchorFn(An,un),Tn=Qe.transFn.call(Yn.node(),An)+(g(un)&&+un!=0?" rotate("+un+","+yt.xFn(An)+","+(yt.yFn(An)-An.fontSize/2)+")":""),dn=l.lineCount(Yn),pn=te*An.fontSize,Dn=yt.heightFn(An,g(un)?+un:0,(dn-1)*pn);if(Dn&&(Tn+=f(0,Dn)),kn.empty()){var In=Yn.select("text");In.attr({transform:Tn,"text-anchor":sn}),In.style("opacity",1),Ne._adjustTickLabelsOverflow&&Ne._adjustTickLabelsOverflow()}else{var jn=o.bBox(kn.node()).width*{end:-.5,start:.5}[sn];kn.attr("transform",Tn+f(jn,0))}})}Rt.enter().append("g").classed(It,1).append("text").attr("text-anchor","middle").each(function(xn){var un=d.select(this),An=Re._promises.length;un.call(l.positionText,yt.xFn(xn),yt.yFn(xn)).call(o.font,xn.font,xn.fontSize,xn.fontColor).text(xn.text).call(l.convertToTspans,Re),Re._promises[An]?Nt.push(Re._promises.pop().then(function(){Yt(un,Pt)})):Yt(un,Pt)}),nt(Ne,[U]),Rt.exit().remove(),Qe.repositionOnUpdate&&Rt.each(function(xn){d.select(this).select("text").call(l.positionText,yt.xFn(xn),yt.yFn(xn))}),Ne._adjustTickLabelsOverflow=function(){var xn=Ne.ticklabeloverflow;if(xn&&xn!=="allow"){var un=xn.indexOf("hide")!==-1,An=Ne._id.charAt(0)==="x",Yn=0,kn=An?Re._fullLayout.width:Re._fullLayout.height;if(xn.indexOf("domain")!==-1){var sn=v.simpleMap(Ne.range,Ne.r2l);Yn=Ne.l2p(sn[0])+Ne._offset,kn=Ne.l2p(sn[1])+Ne._offset}var Tn=Math.min(Yn,kn),dn=Math.max(Yn,kn),pn=Ne.side,Dn=1/0,In=-1/0;for(var jn in Rt.each(function(lr){var rr=d.select(this);if(rr.select(".text-math-group").empty()){var Sr=o.bBox(rr.node()),yr=0;An?(Sr.right>dn||Sr.leftdn||Sr.top+(Ne.tickangle?0:lr.fontSize/4)Ne["_visibleLabelMin_"+sn._id]?qn.style("display","none"):dn.K!=="tick"||Tn||qn.style("display",null)})})})})},Yt(Rt,wt+1?wt:Pt);var Wt=null;Ne._selections&&(Ne._selections[It]=Rt);var Xt=[function(){return Nt.length&&Promise.all(Nt)}];Ne.automargin&&ut._redrawFromAutoMarginCount&&wt===90?(Wt=90,Xt.push(function(){Yt(Rt,wt)})):Xt.push(function(){if(Yt(Rt,Pt),Lt.length&&_t==="x"&&!g(Pt)&&(Ne.type!=="log"||String(Ne.dtick).charAt(0)!=="D")){Wt=0;var xn,un=0,An=[];if(Rt.each(function(rr){un=Math.max(un,rr.fontSize);var Sr=Ne.l2p(rr.x),yr=kt(this),or=o.bBox(yr.node());An.push({top:0,bottom:10,height:10,left:Sr-or.width/2,right:Sr+or.width/2+2,width:or.width+2})}),Ne.tickson!=="boundaries"&&!Ne.showdividers||Qe.secondary){var Yn=Lt.length,kn=Math.abs((Lt[Yn-1].x-Lt[0].x)*Ne._m)/(Yn-1),sn=Ne.ticklabelposition||"",Tn=function(rr){return sn.indexOf(rr)!==-1},dn=Tn("top"),pn=Tn("left"),Dn=Tn("right"),In=Tn("bottom")||pn||dn||Dn?(Ne.tickwidth||0)+6:0,jn=kn<2.5*un||Ne.type==="multicategory"||Ne._name==="realaxis";for(xn=0;xn1)for(Lt=1;Lt2*b}(h,s))return"date";var _=c.autotypenumbers!=="strict";return function(k,E){for(var x=k.length,A=u(x),L=0,b=0,R={},I=0;I2*L}(h,_)?"category":function(k,E){for(var x=k.length,A=0;A=2){var b,R,I="";if(L.length===2){for(b=0;b<2;b++)if(R=_(L[b])){I=m;break}}var O=A("pattern",I);if(O===m)for(b=0;b<2;b++)(R=_(L[b]))&&(E.bounds[b]=L[b]=R-1);if(O)for(b=0;b<2;b++)switch(R=L[b],O){case m:if(!d(R)||(R=+R)!==Math.floor(R)||R<0||R>=7)return void(E.enabled=!1);E.bounds[b]=L[b]=R;break;case w:if(!d(R)||(R=+R)<0||R>24)return void(E.enabled=!1);E.bounds[b]=L[b]=R}if(x.autorange===!1){var z=x.range;if(z[0]z[1])return void(E.enabled=!1)}else if(L[0]>z[0]&&L[1]l?1:-1:+(M.substr(1)||1)-+(v.substr(1)||1)},p.ref2id=function(M){return!!/^[xyz]/.test(M)&&M.split(" ")[0]},p.isLinked=function(M,v){return i(v,M._axisMatchGroups)||i(v,M._axisConstraintGroups)}},15258:function(T){T.exports=function(p,t,d,g){if(t.type==="category"){var i,M=p.categoryarray,v=Array.isArray(M)&&M.length>0;v&&(i="array");var f,l=d("categoryorder",i);l==="array"&&(f=d("categoryarray")),v||l!=="array"||(l=t.categoryorder="trace"),l==="trace"?t._initialCategories=[]:l==="array"?t._initialCategories=f.slice():(f=function(a,u){var o,s,c,h=u.dataAttr||a._id.charAt(0),m={};if(u.axData)o=u.axData;else for(o=[],s=0;sk?E.substr(k):x.substr(_))+A:E+x+y*S:A}function m(y,S){for(var _=S._size,k=_.h/_.w,E={},x=Object.keys(y),A=0;Al*F)||j){for(_=0;_Q&&ueZ&&(Z=ue);b/=(Z-te)/(2*X),te=x.l2r(te),Z=x.l2r(Z),x.range=x._input.range=q=0?Math.min(ue,.9):1/(1/Math.max(ue,-.3)+3.222))}function q(ue,ce,ye,de,me){return ue.append("path").attr("class","zoombox").style({fill:ce>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("transform",l(ye,de)).attr("d",me+"Z")}function H(ue,ce,ye){return ue.append("path").attr("class","zoombox-corners").style({fill:u.background,stroke:u.defaultLine,"stroke-width":1,opacity:0}).attr("transform",l(ce,ye)).attr("d","M0,0Z")}function ne(ue,ce,ye,de,me,pe){ue.attr("d",de+"M"+ye.l+","+ye.t+"v"+ye.h+"h"+ye.w+"v-"+ye.h+"h-"+ye.w+"Z"),te(ue,ce,me,pe)}function te(ue,ce,ye,de){ye||(ue.transition().style("fill",de>.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),ce.transition().style("opacity",1).duration(200))}function Z(ue){d.select(ue).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}function X(ue){B&&ue.data&&ue._context.showTips&&(g.notifier(g._(ue,"Double-click to zoom back out"),"long"),B=!1)}function Q(ue){var ce=Math.floor(Math.min(ue.b-ue.t,ue.r-ue.l,F)/2);return"M"+(ue.l-3.5)+","+(ue.t-.5+ce)+"h3v"+-ce+"h"+ce+"v-3h-"+(ce+3)+"ZM"+(ue.r+3.5)+","+(ue.t-.5+ce)+"h-3v"+-ce+"h"+-ce+"v-3h"+(ce+3)+"ZM"+(ue.r+3.5)+","+(ue.b+.5-ce)+"h-3v"+ce+"h"+-ce+"v3h"+(ce+3)+"ZM"+(ue.l-3.5)+","+(ue.b+.5-ce)+"h3v"+ce+"h"+ce+"v3h-"+(ce+3)+"Z"}function re(ue,ce,ye,de,me){for(var pe,xe,Pe,_e,Me=!1,Se={},Ce={},ae=(me||{}).xaHash,fe=(me||{}).yaHash,be=0;be=0)dn._fullLayout._deactivateShape(dn);else{var pn=dn._fullLayout.clickmode;if(Z(dn),sn!==2||Ft||rn(),xt)pn.indexOf("select")>-1&&R(Tn,dn,ae,fe,ce.id,dt),pn.indexOf("event")>-1&&s.click(dn,Tn,ce.id);else if(sn===1&&Ft){var Dn=xe?Me:_e,In=xe==="s"||Pe==="w"?0:1,jn=Dn._name+".range["+In+"]",Gn=function(rr,Sr){var yr,or=rr.range[Sr],vr=Math.abs(or-rr.range[1-Sr]);return rr.type==="date"?or:rr.type==="log"?(yr=Math.ceil(Math.max(0,-Math.log(vr)/Math.LN10))+3,i("."+yr+"g")(Math.pow(10,or))):(yr=Math.floor(Math.log(Math.abs(or))/Math.LN10)-Math.floor(Math.log(vr)/Math.LN10)+4,i("."+String(yr)+"g")(or))}(Dn,In),qn="left",lr="middle";if(Dn.fixedrange)return;xe?(lr=xe==="n"?"top":"bottom",Dn.side==="right"&&(qn="right")):Pe==="e"&&(qn="right"),dn._context.showAxisRangeEntryBoxes&&d.select(qt).call(a.makeEditable,{gd:dn,immediate:!0,background:dn._fullLayout.paper_bgcolor,text:String(Gn),fill:Dn.tickfont?Dn.tickfont.color:"#444",horizontalAlign:qn,verticalAlign:lr}).on("edit",function(rr){var Sr=Dn.d2r(rr);Sr!==void 0&&f.call("_guiRelayout",dn,jn,Sr)})}}}function Lt(sn,Tn){if(ue._transitioningWithDuration)return!1;var dn=Math.max(0,Math.min(Le,bt*sn+Vt)),pn=Math.max(0,Math.min(Be,Et*Tn+Ke)),Dn=Math.abs(dn-Vt),In=Math.abs(pn-Ke);function jn(){Re="",Je.r=Je.l,Je.t=Je.b,Qe.attr("d","M0,0Z")}if(Je.l=Math.min(Vt,dn),Je.r=Math.max(Vt,dn),Je.t=Math.min(Ke,pn),Je.b=Math.max(Ke,pn),ze.isSubplotConstrained)Dn>F||In>F?(Re="xy",Dn/Le>In/Be?(In=Dn*Be/Le,Ke>pn?Je.t=Ke-In:Je.b=Ke+In):(Dn=In*Le/Be,Vt>dn?Je.l=Vt-Dn:Je.r=Vt+Dn),Qe.attr("d",Q(Je))):jn();else if(je.isSubplotConstrained)if(Dn>F||In>F){Re="xy";var Gn=Math.min(Je.l/Le,(Be-Je.b)/Be),qn=Math.max(Je.r/Le,(Be-Je.t)/Be);Je.l=Gn*Le,Je.r=qn*Le,Je.b=(1-Gn)*Be,Je.t=(1-qn)*Be,Qe.attr("d",Q(Je))}else jn();else!we||In0){var lr;if(je.isSubplotConstrained||!ge&&we.length===1){for(lr=0;lrx[1]-.000244140625&&(M.domain=a),g.noneOrAll(i.domain,M.domain,a),M.tickmode==="sync"&&(M.tickmode="auto")}return v("layer"),M}},89426:function(T,p,t){var d=t(59652);T.exports=function(g,i,M,v,f){f||(f={});var l=f.tickSuffixDflt,a=d(g);M("tickprefix")&&M("showtickprefix",a),M("ticksuffix",l)&&M("showticksuffix",a)}},42449:function(T,p,t){var d=t(18783).FROM_BL;T.exports=function(g,i,M){M===void 0&&(M=d[g.constraintoward||"center"]);var v=[g.r2l(g.range[0]),g.r2l(g.range[1])],f=v[0]+(v[1]-v[0])*M;g.range=g._input.range=[g.l2r(f+(v[0]-f)*i),g.l2r(f+(v[1]-f)*i)],g.setScale()}},21994:function(T,p,t){var d=t(39898),g=t(84096).g0,i=t(71828),M=i.numberFormat,v=t(92770),f=i.cleanNumber,l=i.ms2DateTime,a=i.dateTime2ms,u=i.ensureNumber,o=i.isArrayOrTypedArray,s=t(50606),c=s.FP_SAFE,h=s.BADNUM,m=s.LOG_CLIP,w=s.ONEWEEK,y=s.ONEDAY,S=s.ONEHOUR,_=s.ONEMIN,k=s.ONESEC,E=t(41675),x=t(85555),A=x.HOUR_PATTERN,L=x.WEEKDAY_PATTERN;function b(I){return Math.pow(10,I)}function R(I){return I!=null}T.exports=function(I,O){O=O||{};var z=I._id||"x",F=z.charAt(0);function B(re,ie){if(re>0)return Math.log(re)/Math.LN10;if(re<=0&&ie&&I.range&&I.range.length===2){var oe=I.range[0],ue=I.range[1];return .5*(oe+ue-2*m*Math.abs(oe-ue))}return h}function N(re,ie,oe,ue){if((ue||{}).msUTC&&v(re))return+re;var ce=a(re,oe||I.calendar);if(ce===h){if(!v(re))return h;re=+re;var ye=Math.floor(10*i.mod(re+.05,1)),de=Math.round(re-ye/10);ce=a(new Date(de))+ye/10}return ce}function W(re,ie,oe){return l(re,ie,oe||I.calendar)}function j(re){return I._categories[Math.round(re)]}function $(re){if(R(re)){if(I._categoriesMap===void 0&&(I._categoriesMap={}),I._categoriesMap[re]!==void 0)return I._categoriesMap[re];I._categories.push(typeof re=="number"?String(re):re);var ie=I._categories.length-1;return I._categoriesMap[re]=ie,ie}return h}function U(re){if(I._categoriesMap)return I._categoriesMap[re]}function G(re){var ie=U(re);return ie!==void 0?ie:v(re)?+re:void 0}function q(re){return v(re)?+re:U(re)}function H(re,ie,oe){return d.round(oe+ie*re,2)}function ne(re,ie,oe){return(re-oe)/ie}var te=function(re){return v(re)?H(re,I._m,I._b):h},Z=function(re){return ne(re,I._m,I._b)};if(I.rangebreaks){var X=F==="y";te=function(re){if(!v(re))return h;var ie=I._rangebreaks.length;if(!ie)return H(re,I._m,I._b);var oe=X;I.range[0]>I.range[1]&&(oe=!oe);for(var ue=oe?-1:1,ce=ue*re,ye=0,de=0;depe)){ye=ce<(me+pe)/2?de:de+1;break}ye=de+1}var xe=I._B[ye]||0;return isFinite(xe)?H(re,I._m2,xe):0},Z=function(re){var ie=I._rangebreaks.length;if(!ie)return ne(re,I._m,I._b);for(var oe=0,ue=0;ueI._rangebreaks[ue].pmax&&(oe=ue+1);return ne(re,I._m2,I._B[oe])}}I.c2l=I.type==="log"?B:u,I.l2c=I.type==="log"?b:u,I.l2p=te,I.p2l=Z,I.c2p=I.type==="log"?function(re,ie){return te(B(re,ie))}:te,I.p2c=I.type==="log"?function(re){return b(Z(re))}:Z,["linear","-"].indexOf(I.type)!==-1?(I.d2r=I.r2d=I.d2c=I.r2c=I.d2l=I.r2l=f,I.c2d=I.c2r=I.l2d=I.l2r=u,I.d2p=I.r2p=function(re){return I.l2p(f(re))},I.p2d=I.p2r=Z,I.cleanPos=u):I.type==="log"?(I.d2r=I.d2l=function(re,ie){return B(f(re),ie)},I.r2d=I.r2c=function(re){return b(f(re))},I.d2c=I.r2l=f,I.c2d=I.l2r=u,I.c2r=B,I.l2d=b,I.d2p=function(re,ie){return I.l2p(I.d2r(re,ie))},I.p2d=function(re){return b(Z(re))},I.r2p=function(re){return I.l2p(f(re))},I.p2r=Z,I.cleanPos=u):I.type==="date"?(I.d2r=I.r2d=i.identity,I.d2c=I.r2c=I.d2l=I.r2l=N,I.c2d=I.c2r=I.l2d=I.l2r=W,I.d2p=I.r2p=function(re,ie,oe){return I.l2p(N(re,0,oe))},I.p2d=I.p2r=function(re,ie,oe){return W(Z(re),ie,oe)},I.cleanPos=function(re){return i.cleanDate(re,h,I.calendar)}):I.type==="category"?(I.d2c=I.d2l=$,I.r2d=I.c2d=I.l2d=j,I.d2r=I.d2l_noadd=G,I.r2c=function(re){var ie=q(re);return ie!==void 0?ie:I.fraction2r(.5)},I.l2r=I.c2r=u,I.r2l=q,I.d2p=function(re){return I.l2p(I.r2c(re))},I.p2d=function(re){return j(Z(re))},I.r2p=I.d2p,I.p2r=Z,I.cleanPos=function(re){return typeof re=="string"&&re!==""?re:u(re)}):I.type==="multicategory"&&(I.r2d=I.c2d=I.l2d=j,I.d2r=I.d2l_noadd=G,I.r2c=function(re){var ie=G(re);return ie!==void 0?ie:I.fraction2r(.5)},I.r2c_just_indices=U,I.l2r=I.c2r=u,I.r2l=G,I.d2p=function(re){return I.l2p(I.r2c(re))},I.p2d=function(re){return j(Z(re))},I.r2p=I.d2p,I.p2r=Z,I.cleanPos=function(re){return Array.isArray(re)||typeof re=="string"&&re!==""?re:u(re)},I.setupMultiCategory=function(re){var ie,oe,ue=I._traceIndices,ce=I._matchGroup;if(ce&&I._categories.length===0){for(var ye in ce)if(ye!==z){var de=O[E.id2name(ye)];ue=ue.concat(de._traceIndices)}}var me=[[0,{}],[0,{}]],pe=[];for(ie=0;iec&&(ce[oe]=c),ce[0]===ce[1]){var de=Math.max(1,Math.abs(1e-6*ce[0]));ce[0]-=de,ce[1]+=de}}else i.nestedProperty(I,re).set(ue)},I.setScale=function(re){var ie=O._size;if(I.overlaying){var oe=E.getFromId({_fullLayout:O},I.overlaying);I.domain=oe.domain}var ue=re&&I._r?"_r":"range",ce=I.calendar;I.cleanRange(ue);var ye,de,me=I.r2l(I[ue][0],ce),pe=I.r2l(I[ue][1],ce),xe=F==="y";if(xe?(I._offset=ie.t+(1-I.domain[1])*ie.h,I._length=ie.h*(I.domain[1]-I.domain[0]),I._m=I._length/(me-pe),I._b=-I._m*pe):(I._offset=ie.l+I.domain[0]*ie.w,I._length=ie.w*(I.domain[1]-I.domain[0]),I._m=I._length/(pe-me),I._b=-I._m*me),I._rangebreaks=[],I._lBreaks=0,I._m2=0,I._B=[],I.rangebreaks&&(I._rangebreaks=I.locateBreaks(Math.min(me,pe),Math.max(me,pe)),I._rangebreaks.length)){for(ye=0;yepe&&(Pe=!Pe),Pe&&I._rangebreaks.reverse();var _e=Pe?-1:1;for(I._m2=_e*I._length/(Math.abs(pe-me)-I._lBreaks),I._B.push(-I._m2*(xe?pe:me)),ye=0;yeue&&(ue+=7,ceue&&(ue+=24,ce=oe&&ce=oe&&re=je.min&&(keje.max&&(je.max=Le),Be=!1)}Be&&de.push({min:ke,max:Le})}};for(oe=0;oea.duration?(function(){for(var A={},L=0;L rect").call(M.setTranslate,0,0).call(M.setScale,1,1),_.plot.call(M.setTranslate,k._offset,E._offset).call(M.setScale,1,1);var x=_.plot.selectAll(".scatterlayer .trace");x.selectAll(".point").call(M.setPointGroupScale,1,1),x.selectAll(".textpoint").call(M.setTextPointsScale,1,1),x.call(M.hideOutsideRangePoints,_)}function S(_,k){var E=_.plotinfo,x=E.xaxis,A=E.yaxis,L=x._length,b=A._length,R=!!_.xr1,I=!!_.yr1,O=[];if(R){var z=i.simpleMap(_.xr0,x.r2l),F=i.simpleMap(_.xr1,x.r2l),B=z[1]-z[0],N=F[1]-F[0];O[0]=(z[0]*(1-k)+k*F[0]-z[0])/(z[1]-z[0])*L,O[2]=L*(1-k+k*N/B),x.range[0]=x.l2r(z[0]*(1-k)+k*F[0]),x.range[1]=x.l2r(z[1]*(1-k)+k*F[1])}else O[0]=0,O[2]=L;if(I){var W=i.simpleMap(_.yr0,A.r2l),j=i.simpleMap(_.yr1,A.r2l),$=W[1]-W[0],U=j[1]-j[0];O[1]=(W[1]*(1-k)+k*j[1]-W[1])/(W[0]-W[1])*b,O[3]=b*(1-k+k*U/$),A.range[0]=x.l2r(W[0]*(1-k)+k*j[0]),A.range[1]=A.l2r(W[1]*(1-k)+k*j[1])}else O[1]=0,O[3]=b;v.drawOne(f,x,{skipTitle:!0}),v.drawOne(f,A,{skipTitle:!0}),v.redrawComponents(f,[x._id,A._id]);var G=R?L/O[2]:1,q=I?b/O[3]:1,H=R?O[0]:0,ne=I?O[1]:0,te=R?O[0]/O[2]*L:0,Z=I?O[1]/O[3]*b:0,X=x._offset-te,Q=A._offset-Z;E.clipRect.call(M.setTranslate,H,ne).call(M.setScale,1/G,1/q),E.plot.call(M.setTranslate,X,Q).call(M.setScale,G,q),M.setPointGroupScale(E.zoomScalePts,1/G,1/q),M.setTextPointsScale(E.zoomScaleTxt,1/G,1/q)}v.redrawComponents(f)}},951:function(T,p,t){var d=t(73972).traceIs,g=t(4322);function i(v){return{v:"x",h:"y"}[v.orientation||"v"]}function M(v,f){var l=i(v),a=d(v,"box-violin"),u=d(v._fullInput||{},"candlestick");return a&&!u&&f===l&&v[l]===void 0&&v[l+"0"]===void 0}T.exports=function(v,f,l,a){l("autotypenumbers",a.autotypenumbersDflt),l("type",(a.splomStash||{}).type)==="-"&&(function(u,o){if(u.type==="-"){var s,c=u._id,h=c.charAt(0);c.indexOf("scene")!==-1&&(c=h);var m=function(A,L,b){for(var R=0;R0&&(I["_"+b+"axes"]||{})[L]||(I[b+"axis"]||b)===L&&(M(I,b)||(I[b]||[]).length||I[b+"0"]))return I}}(o,c,h);if(m)if(m.type!=="histogram"||h!=={v:"y",h:"x"}[m.orientation||"v"]){var w=h+"calendar",y=m[w],S={noMultiCategory:!d(m,"cartesian")||d(m,"noMultiCategory")};if(m.type==="box"&&m._hasPreCompStats&&h==={h:"x",v:"y"}[m.orientation||"v"]&&(S.noMultiCategory=!0),S.autotypenumbers=u.autotypenumbers,M(m,h)){var _=i(m),k=[];for(s=0;s0?".":"")+s;g.isPlainObject(c)?f(c,a,h,o+1):a(h,s,c)}})}p.manageCommandObserver=function(l,a,u,o){var s={},c=!0;a&&a._commandObserver&&(s=a._commandObserver),s.cache||(s.cache={}),s.lookupTable={};var h=p.hasSimpleAPICommandBindings(l,u,s.lookupTable);if(a&&a._commandObserver){if(h)return s;if(a._commandObserver.remove)return a._commandObserver.remove(),a._commandObserver=null,s}if(h){i(l,h,s.cache),s.check=function(){if(c){var y=i(l,h,s.cache);return y.changed&&o&&s.lookupTable[y.value]!==void 0&&(s.disable(),Promise.resolve(o({value:y.value,type:h.type,prop:h.prop,traces:h.traces,index:s.lookupTable[y.value]})).then(s.enable,s.enable)),y.changed}};for(var m=["plotly_relayout","plotly_redraw","plotly_restyle","plotly_update","plotly_animatingframe","plotly_afterplot"],w=0;w0&&N<0&&(N+=360);var $=(N-B)/4;return{type:"Polygon",coordinates:[[[B,W],[B,j],[B+$,j],[B+2*$,j],[B+3*$,j],[N,j],[N,W],[N-$,W],[N-2*$,W],[N-3*$,W],[B,W]]]}}T.exports=function(O){return new b(O)},R.plot=function(O,z,F,B){var N=this;if(B)return N.update(O,z,!0);N._geoCalcData=O,N._fullLayout=z;var W=z[this.id],j=[],$=!1;for(var U in E.layerNameToAdjective)if(U!=="frame"&&W["show"+U]){$=!0;break}for(var G=!1,q=0;q0&&j._module.calcGeoJSON(W,z)}if(!F){if(this.updateProjection(O,z))return;this.viewInitial&&this.scope===B.scope||this.saveViewInitial(B)}this.scope=B.scope,this.updateBaseLayers(z,B),this.updateDims(z,B),this.updateFx(z,B),c.generalUpdatePerTraceModule(this.graphDiv,this,O,B);var $=this.layers.frontplot.select(".scatterlayer");this.dataPoints.point=$.selectAll(".point"),this.dataPoints.text=$.selectAll("text"),this.dataPaths.line=$.selectAll(".js-line");var U=this.layers.backplot.select(".choroplethlayer");this.dataPaths.choropleth=U.selectAll("path"),this._render()},R.updateProjection=function(O,z){var F=this.graphDiv,B=z[this.id],N=z._size,W=B.domain,j=B.projection,$=B.lonaxis,U=B.lataxis,G=$._ax,q=U._ax,H=this.projection=function(Ce){var ae=Ce.projection,fe=ae.type,be=E.projNames[fe];be="geo"+l.titleCase(be);for(var ke=(g[be]||v[be])(),Le=Ce._isSatellite?180*Math.acos(1/ae.distance)/Math.PI:Ce._isClipped?E.lonaxisSpan[fe]/2:null,Be=["center","rotate","parallels","clipExtent"],ze=function(we){return we?ke:[]},je=0;jeLe*Math.PI/180}return!1},ke.getPath=function(){return i().projection(ke)},ke.getBounds=function(we){return ke.getPath().bounds(we)},ke.precision(E.precision),Ce._isSatellite&&ke.tilt(ae.tilt).distance(ae.distance),Le&&ke.clipAngle(Le-E.clipPad),ke}(B),ne=[[N.l+N.w*W.x[0],N.t+N.h*(1-W.y[1])],[N.l+N.w*W.x[1],N.t+N.h*(1-W.y[0])]],te=B.center||{},Z=j.rotation||{},X=$.range||[],Q=U.range||[];if(B.fitbounds){G._length=ne[1][0]-ne[0][0],q._length=ne[1][1]-ne[0][1],G.range=m(F,G),q.range=m(F,q);var re=(G.range[0]+G.range[1])/2,ie=(q.range[0]+q.range[1])/2;if(B._isScoped)te={lon:re,lat:ie};else if(B._isClipped){te={lon:re,lat:ie},Z={lon:re,lat:ie,roll:Z.roll};var oe=j.type,ue=E.lonaxisSpan[oe]/2||180,ce=E.lataxisSpan[oe]/2||90;X=[re-ue,re+ue],Q=[ie-ce,ie+ce]}else te={lon:re,lat:ie},Z={lon:re,lat:Z.lat,roll:Z.roll}}H.center([te.lon-Z.lon,te.lat-Z.lat]).rotate([-Z.lon,-Z.lat,Z.roll]).parallels(j.parallels);var ye=I(X,Q);H.fitExtent(ne,ye);var de=this.bounds=H.getBounds(ye),me=this.fitScale=H.scale(),pe=H.translate();if(B.fitbounds){var xe=H.getBounds(I(G.range,q.range)),Pe=Math.min((de[1][0]-de[0][0])/(xe[1][0]-xe[0][0]),(de[1][1]-de[0][1])/(xe[1][1]-xe[0][1]));isFinite(Pe)?H.scale(Pe*me):l.warn("Something went wrong during"+this.id+"fitbounds computations.")}else H.scale(j.scale*me);var _e=this.midPt=[(de[0][0]+de[1][0])/2,(de[0][1]+de[1][1])/2];if(H.translate([pe[0]+(_e[0]-pe[0]),pe[1]+(_e[1]-pe[1])]).clipExtent(de),B._isAlbersUsa){var Me=H([te.lon,te.lat]),Se=H.translate();H.translate([Se[0]-(Me[0]-Se[0]),Se[1]-(Me[1]-Se[1])])}},R.updateBaseLayers=function(O,z){var F=this,B=F.topojson,N=F.layers,W=F.basePaths;function j(H){return H==="lonaxis"||H==="lataxis"}function $(H){return!!E.lineLayers[H]}function U(H){return!!E.fillLayers[H]}var G=(this.hasChoropleth?E.layersForChoropleth:E.layers).filter(function(H){return $(H)||U(H)?z["show"+H]:!j(H)||z[H].showgrid}),q=F.framework.selectAll(".layer").data(G,String);q.exit().each(function(H){delete N[H],delete W[H],d.select(this).remove()}),q.enter().append("g").attr("class",function(H){return"layer "+H}).each(function(H){var ne=N[H]=d.select(this);H==="bg"?F.bgRect=ne.append("rect").style("pointer-events","all"):j(H)?W[H]=ne.append("path").style("fill","none"):H==="backplot"?ne.append("g").classed("choroplethlayer",!0):H==="frontplot"?ne.append("g").classed("scatterlayer",!0):$(H)?W[H]=ne.append("path").style("fill","none").style("stroke-miterlimit",2):U(H)&&(W[H]=ne.append("path").style("stroke","none"))}),q.order(),q.each(function(H){var ne=W[H],te=E.layerNameToAdjective[H];H==="frame"?ne.datum(E.sphereSVG):$(H)||U(H)?ne.datum(L(B,B.objects[H])):j(H)&&ne.datum(function(Z,X,Q){var re,ie,oe,ue=X[Z],ce=E.scopeDefaults[X.scope];Z==="lonaxis"?(re=ce.lonaxisRange,ie=ce.lataxisRange,oe=function(Se,Ce){return[Se,Ce]}):Z==="lataxis"&&(re=ce.lataxisRange,ie=ce.lonaxisRange,oe=function(Se,Ce){return[Ce,Se]});var ye={type:"linear",range:[re[0],re[1]-1e-6],tick0:ue.tick0,dtick:ue.dtick};h.setConvert(ye,Q);var de=h.calcTicks(ye);X.isScoped||Z!=="lonaxis"||de.pop();for(var me=de.length,pe=new Array(me),xe=0;xe-1&&_(d.event,B,[F.xaxis],[F.yaxis],F.id,$),j.indexOf("event")>-1&&s.click(B,d.event))})}function U(G){return F.projection.invert([G[0]+F.xaxis._offset,G[1]+F.yaxis._offset])}},R.makeFramework=function(){var O=this,z=O.graphDiv,F=z._fullLayout,B="clip"+F._uid+O.id;O.clipDef=F._clips.append("clipPath").attr("id",B),O.clipRect=O.clipDef.append("rect"),O.framework=d.select(O.container).append("g").attr("class","geo "+O.id).call(o.setClipUrl,B,z),O.project=function(N){var W=O.projection(N);return W?[W[0]-O.xaxis._offset,W[1]-O.yaxis._offset]:[null,null]},O.xaxis={_id:"x",c2p:function(N){return O.project(N)[0]}},O.yaxis={_id:"y",c2p:function(N){return O.project(N)[1]}},O.mockAxis={type:"linear",showexponent:"all",exponentformat:"B"},h.setConvert(O.mockAxis,F)},R.saveViewInitial=function(O){var z,F=O.center||{},B=O.projection,N=B.rotation||{};this.viewInitial={fitbounds:O.fitbounds,"projection.scale":B.scale},z=O._isScoped?{"center.lon":F.lon,"center.lat":F.lat}:O._isClipped?{"projection.rotation.lon":N.lon,"projection.rotation.lat":N.lat}:{"center.lon":F.lon,"center.lat":F.lat,"projection.rotation.lon":N.lon},l.extendFlat(this.viewInitial,z)},R.render=function(O){this._hasMarkerAngles&&O?this.plot(this._geoCalcData,this._fullLayout,[],!0):this._render()},R._render=function(){var O,z=this.projection,F=z.getPath();function B(W){var j=z(W.lonlat);return j?a(j[0],j[1]):null}function N(W){return z.isLonLatOverEdges(W.lonlat)?"none":null}for(O in this.basePaths)this.basePaths[O].attr("d",F);for(O in this.dataPaths)this.dataPaths[O].attr("d",function(W){return F(W.geojson)});for(O in this.dataPoints)this.dataPoints[O].attr("display",N).attr("transform",B)}},44622:function(T,p,t){var d=t(27659).AU,g=t(71828).counterRegex,i=t(69082),M="geo",v=g(M),f={};f.geo={valType:"subplotid",dflt:M,editType:"calc"},T.exports={attr:M,name:M,idRoot:M,idRegex:v,attrRegex:v,attributes:f,layoutAttributes:t(77519),supplyLayoutDefaults:t(82161),plot:function(l){for(var a=l._fullLayout,u=l.calcdata,o=a._subplots.geo,s=0;s0&&U<0&&(U+=360);var G,q,H,ne=($+U)/2;if(!S){var te=_?w.projRotate:[ne,0,0];G=o("projection.rotation.lon",te[0]),o("projection.rotation.lat",te[1]),o("projection.rotation.roll",te[2]),o("showcoastlines",!_&&L)&&(o("coastlinecolor"),o("coastlinewidth")),o("showocean",!!L&&void 0)&&o("oceancolor")}S?(q=-96.6,H=38.7):(q=_?ne:G,H=(j[0]+j[1])/2),o("center.lon",q),o("center.lat",H),k&&(o("projection.tilt"),o("projection.distance")),E&&o("projection.parallels",w.projParallels||[0,60]),o("projection.scale"),o("showland",!!L&&void 0)&&o("landcolor"),o("showlakes",!!L&&void 0)&&o("lakecolor"),o("showrivers",!!L&&void 0)&&(o("rivercolor"),o("riverwidth")),o("showcountries",_&&m!=="usa"&&L)&&(o("countrycolor"),o("countrywidth")),(m==="usa"||m==="north america"&&h===50)&&(o("showsubunits",L),o("subunitcolor"),o("subunitwidth")),_||o("showframe",L)&&(o("framecolor"),o("framewidth")),o("bgcolor"),o("fitbounds")&&(delete u.projection.scale,_?(delete u.center.lon,delete u.center.lat):x?(delete u.center.lon,delete u.center.lat,delete u.projection.rotation.lon,delete u.projection.rotation.lat,delete u.lonaxis.range,delete u.lataxis.range):(delete u.center.lon,delete u.center.lat,delete u.projection.rotation.lon))}T.exports=function(a,u,o){g(a,u,o,{type:"geo",attributes:v,handleDefaults:l,fullData:o,partition:"y"})}},74455:function(T,p,t){var d=t(39898),g=t(71828),i=t(73972),M=Math.PI/180,v=180/Math.PI,f={cursor:"pointer"},l={cursor:"auto"};function a(L,b){return d.behavior.zoom().translate(b.translate()).scale(b.scale())}function u(L,b,R){var I=L.id,O=L.graphDiv,z=O.layout,F=z[I],B=O._fullLayout,N=B[I],W={},j={};function $(U,G){W[I+"."+U]=g.nestedProperty(F,U).get(),i.call("_storeDirectGUIEdit",z,B._preGUI,W);var q=g.nestedProperty(N,U);q.get()!==G&&(q.set(G),g.nestedProperty(F,U).set(G),j[I+"."+U]=G)}R($),$("projection.scale",b.scale()/L.fitScale),$("fitbounds",!1),O.emit("plotly_relayout",j)}function o(L,b){var R=a(0,b);function I(O){var z=b.invert(L.midPt);O("center.lon",z[0]),O("center.lat",z[1])}return R.on("zoomstart",function(){d.select(this).style(f)}).on("zoom",function(){b.scale(d.event.scale).translate(d.event.translate),L.render(!0);var O=b.invert(L.midPt);L.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":b.scale()/L.fitScale,"geo.center.lon":O[0],"geo.center.lat":O[1]})}).on("zoomend",function(){d.select(this).style(l),u(L,b,I)}),R}function s(L,b){var R,I,O,z,F,B,N,W,j,$=a(0,b);function U(q){return b.invert(q)}function G(q){var H=b.rotate(),ne=b.invert(L.midPt);q("projection.rotation.lon",-H[0]),q("center.lon",ne[0]),q("center.lat",ne[1])}return $.on("zoomstart",function(){d.select(this).style(f),R=d.mouse(this),I=b.rotate(),O=b.translate(),z=I,F=U(R)}).on("zoom",function(){if(B=d.mouse(this),function(ne){var te=U(ne);if(!te)return!0;var Z=b(te);return Math.abs(Z[0]-ne[0])>2||Math.abs(Z[1]-ne[1])>2}(R))return $.scale(b.scale()),void $.translate(b.translate());b.scale(d.event.scale),b.translate([O[0],d.event.translate[1]]),F?U(B)&&(W=U(B),N=[z[0]+(W[0]-F[0]),I[1],I[2]],b.rotate(N),z=N):F=U(R=B),j=!0,L.render(!0);var q=b.rotate(),H=b.invert(L.midPt);L.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":b.scale()/L.fitScale,"geo.center.lon":H[0],"geo.center.lat":H[1],"geo.projection.rotation.lon":-q[0]})}).on("zoomend",function(){d.select(this).style(l),j&&u(L,b,G)}),$}function c(L,b){var R;b.rotate(),b.scale();var I=a(0,b),O=function($){for(var U=0,G=arguments.length,q=[];++UG?(z=(j>0?90:-90)-U,O=0):(z=Math.asin(j/G)*v-U,O=Math.sqrt(G*G-j*j));var q=180-z-2*U,H=(Math.atan2($,W)-Math.atan2(N,O))*v,ne=(Math.atan2($,W)-Math.atan2(N,-O))*v;return _(R[0],R[1],z,H)<=_(R[0],R[1],q,ne)?[z,H,R[2]]:[q,ne,R[2]]}function _(L,b,R,I){var O=k(R-L),z=k(I-b);return Math.sqrt(O*O+z*z)}function k(L){return(L%360+540)%360-180}function E(L,b,R){var I=R*M,O=L.slice(),z=b===0?1:0,F=b===2?1:2,B=Math.cos(I),N=Math.sin(I);return O[z]=L[z]*B-L[F]*N,O[F]=L[F]*B+L[z]*N,O}function x(L){return[Math.atan2(2*(L[0]*L[1]+L[2]*L[3]),1-2*(L[1]*L[1]+L[2]*L[2]))*v,Math.asin(Math.max(-1,Math.min(1,2*(L[0]*L[2]-L[3]*L[1]))))*v,Math.atan2(2*(L[0]*L[3]+L[1]*L[2]),1-2*(L[2]*L[2]+L[3]*L[3]))*v]}function A(L,b){for(var R=0,I=0,O=L.length;IMath.abs(S)?(o.boxEnd[1]=o.boxStart[1]+Math.abs(y)*F*(S>=0?1:-1),o.boxEnd[1]<_[1]?(o.boxEnd[1]=_[1],o.boxEnd[0]=o.boxStart[0]+(_[1]-o.boxStart[1])/Math.abs(F)):o.boxEnd[1]>_[3]&&(o.boxEnd[1]=_[3],o.boxEnd[0]=o.boxStart[0]+(_[3]-o.boxStart[1])/Math.abs(F))):(o.boxEnd[0]=o.boxStart[0]+Math.abs(S)/F*(y>=0?1:-1),o.boxEnd[0]<_[0]?(o.boxEnd[0]=_[0],o.boxEnd[1]=o.boxStart[1]+(_[0]-o.boxStart[0])*Math.abs(F)):o.boxEnd[0]>_[2]&&(o.boxEnd[0]=_[2],o.boxEnd[1]=o.boxStart[1]+(_[2]-o.boxStart[0])*Math.abs(F)))}}else o.boxEnabled?(y=o.boxStart[0]!==o.boxEnd[0],S=o.boxStart[1]!==o.boxEnd[1],y||S?(y&&(b(0,o.boxStart[0],o.boxEnd[0]),l.xaxis.autorange=!1),S&&(b(1,o.boxStart[1],o.boxEnd[1]),l.yaxis.autorange=!1),l.relayoutCallback()):l.glplot.setDirty(),o.boxEnabled=!1,o.boxInited=!1):o.boxInited&&(o.boxInited=!1);break;case"pan":o.boxEnabled=!1,o.boxInited=!1,h?(o.panning||(o.dragStart[0]=m,o.dragStart[1]=w),Math.abs(o.dragStart[0]-m).999&&(x="turntable"):x="turntable")}else x="turntable";c("dragmode",x),c("hovermode",h.getDfltFromLayout("hovermode"))}T.exports=function(o,s,c){var h=s._basePlotModules.length>1;M(o,s,c,{type:a,attributes:f,handleDefaults:u,fullLayout:s,font:s.font,fullData:c,getDfltFromLayout:function(m){if(!h)return d.validate(o[m],f[m])?o[m]:void 0},autotypenumbersDflt:s.autotypenumbers,paper_bgcolor:s.paper_bgcolor,calendar:s.calendar})}},65500:function(T,p,t){var d=t(77894),g=t(27670).Y,i=t(1426).extendFlat,M=t(71828).counterRegex;function v(f,l,a){return{x:{valType:"number",dflt:f,editType:"camera"},y:{valType:"number",dflt:l,editType:"camera"},z:{valType:"number",dflt:a,editType:"camera"},editType:"camera"}}T.exports={_arrayAttrRegexps:[M("scene",".annotations",!0)],bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"plot"},camera:{up:i(v(0,0,1),{}),center:i(v(0,0,0),{}),eye:i(v(1.25,1.25,1.25),{}),projection:{type:{valType:"enumerated",values:["perspective","orthographic"],dflt:"perspective",editType:"calc"},editType:"calc"},editType:"camera"},domain:g({name:"scene",editType:"plot"}),aspectmode:{valType:"enumerated",values:["auto","cube","data","manual"],dflt:"auto",editType:"plot",impliedEdits:{"aspectratio.x":void 0,"aspectratio.y":void 0,"aspectratio.z":void 0}},aspectratio:{x:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},y:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},z:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},editType:"plot",impliedEdits:{aspectmode:"manual"}},xaxis:d,yaxis:d,zaxis:d,dragmode:{valType:"enumerated",values:["orbit","turntable","zoom","pan",!1],editType:"plot"},hovermode:{valType:"enumerated",values:["closest",!1],dflt:"closest",editType:"modebar"},uirevision:{valType:"any",editType:"none"},editType:"plot",_deprecated:{cameraposition:{valType:"info_array",editType:"camera"}}}},13133:function(T,p,t){var d=t(78614),g=["xaxis","yaxis","zaxis"];function i(){this.enabled=[!0,!0,!0],this.colors=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.drawSides=[!0,!0,!0],this.lineWidth=[1,1,1]}i.prototype.merge=function(M){for(var v=0;v<3;++v){var f=M[g[v]];f.visible?(this.enabled[v]=f.showspikes,this.colors[v]=d(f.spikecolor),this.drawSides[v]=f.spikesides,this.lineWidth[v]=f.spikethickness):(this.enabled[v]=!1,this.drawSides[v]=!1)}},T.exports=function(M){var v=new i;return v.merge(M),v}},96085:function(T,p,t){T.exports=function(v){for(var f=v.axesOptions,l=v.glplot.axesPixels,a=v.fullSceneLayout,u=[[],[],[]],o=0;o<3;++o){var s=a[i[o]];if(s._length=(l[o].hi-l[o].lo)*l[o].pixelsPerDataUnit/v.dataScale[o],Math.abs(s._length)===1/0||isNaN(s._length))u[o]=[];else{s._input_range=s.range.slice(),s.range[0]=l[o].lo/v.dataScale[o],s.range[1]=l[o].hi/v.dataScale[o],s._m=1/(v.dataScale[o]*l[o].pixelsPerDataUnit),s.range[0]===s.range[1]&&(s.range[0]-=1,s.range[1]+=1);var c=s.tickmode;if(s.tickmode==="auto"){s.tickmode="linear";var h=s.nticks||g.constrain(s._length/40,4,9);d.autoTicks(s,Math.abs(s.range[1]-s.range[0])/h)}for(var m=d.calcTicks(s,{msUTC:!0}),w=0;w/g," "));u[o]=m,s.tickmode=c}}for(f.ticks=u,o=0;o<3;++o)for(M[o]=.5*(v.glplot.bounds[0][o]+v.glplot.bounds[1][o]),w=0;w<2;++w)f.bounds[w][o]=v.glplot.bounds[w][o];v.contourLevels=function(y){for(var S=new Array(3),_=0;_<3;++_){for(var k=y[_],E=new Array(k.length),x=0;xB.deltaY?1.1:.9090909090909091,W=R.glplot.getAspectratio();R.glplot.setAspectratio({x:N*W.x,y:N*W.y,z:N*W.z})}F(R)}},!!l&&{passive:!1}),R.glplot.canvas.addEventListener("mousemove",function(){if(R.fullSceneLayout.dragmode!==!1&&R.camera.mouseListener.buttons!==0){var B=z();R.graphDiv.emit("plotly_relayouting",B)}}),R.staticMode||R.glplot.canvas.addEventListener("webglcontextlost",function(B){I&&I.emit&&I.emit("plotly_webglcontextlost",{event:B,layer:R.id})},!1)),R.glplot.oncontextloss=function(){R.recoverContext()},R.glplot.onrender=function(){R.render()},!0},x.render=function(){var R,I=this,O=I.graphDiv,z=I.svgContainer,F=I.container.getBoundingClientRect();O._fullLayout._calcInverseTransform(O);var B=O._fullLayout._invScaleX,N=O._fullLayout._invScaleY,W=F.width*B,j=F.height*N;z.setAttributeNS(null,"viewBox","0 0 "+W+" "+j),z.setAttributeNS(null,"width",W),z.setAttributeNS(null,"height",j),_(I),I.glplot.axes.update(I.axesOptions);for(var $=Object.keys(I.traces),U=null,G=I.glplot.selection,q=0;q<$.length;++q)(R=I.traces[$[q]]).data.hoverinfo!=="skip"&&R.handlePick(G)&&(U=R),R.setContourLevels&&R.setContourLevels();function H(me,pe,xe){var Pe=I.fullSceneLayout[me+"axis"];return Pe.type!=="log"&&(pe=Pe.d2l(pe)),s.hoverLabelText(Pe,pe,xe)}if(U!==null){var ne=w(I.glplot.cameraParams,G.dataCoordinate);R=U.data;var te,Z=O._fullData[R.index],X=G.index,Q={xLabel:H("x",G.traceCoordinate[0],R.xhoverformat),yLabel:H("y",G.traceCoordinate[1],R.yhoverformat),zLabel:H("z",G.traceCoordinate[2],R.zhoverformat)},re=c.castHoverinfo(Z,I.fullLayout,X),ie=(re||"").split("+"),oe=re&&re==="all";Z.hovertemplate||oe||(ie.indexOf("x")===-1&&(Q.xLabel=void 0),ie.indexOf("y")===-1&&(Q.yLabel=void 0),ie.indexOf("z")===-1&&(Q.zLabel=void 0),ie.indexOf("text")===-1&&(G.textLabel=void 0),ie.indexOf("name")===-1&&(U.name=void 0));var ue=[];R.type==="cone"||R.type==="streamtube"?(Q.uLabel=H("x",G.traceCoordinate[3],R.uhoverformat),(oe||ie.indexOf("u")!==-1)&&ue.push("u: "+Q.uLabel),Q.vLabel=H("y",G.traceCoordinate[4],R.vhoverformat),(oe||ie.indexOf("v")!==-1)&&ue.push("v: "+Q.vLabel),Q.wLabel=H("z",G.traceCoordinate[5],R.whoverformat),(oe||ie.indexOf("w")!==-1)&&ue.push("w: "+Q.wLabel),Q.normLabel=G.traceCoordinate[6].toPrecision(3),(oe||ie.indexOf("norm")!==-1)&&ue.push("norm: "+Q.normLabel),R.type==="streamtube"&&(Q.divergenceLabel=G.traceCoordinate[7].toPrecision(3),(oe||ie.indexOf("divergence")!==-1)&&ue.push("divergence: "+Q.divergenceLabel)),G.textLabel&&ue.push(G.textLabel),te=ue.join("
")):R.type==="isosurface"||R.type==="volume"?(Q.valueLabel=s.hoverLabelText(I._mockAxis,I._mockAxis.d2l(G.traceCoordinate[3]),R.valuehoverformat),ue.push("value: "+Q.valueLabel),G.textLabel&&ue.push(G.textLabel),te=ue.join("
")):te=G.textLabel;var ce={x:G.traceCoordinate[0],y:G.traceCoordinate[1],z:G.traceCoordinate[2],data:Z._input,fullData:Z,curveNumber:Z.index,pointNumber:X};c.appendArrayPointValue(ce,Z,X),R._module.eventData&&(ce=Z._module.eventData(ce,G,Z,{},X));var ye={points:[ce]};if(I.fullSceneLayout.hovermode){var de=[];c.loneHover({trace:Z,x:(.5+.5*ne[0]/ne[3])*W,y:(.5-.5*ne[1]/ne[3])*j,xLabel:Q.xLabel,yLabel:Q.yLabel,zLabel:Q.zLabel,text:te,name:U.name,color:c.castHoverOption(Z,X,"bgcolor")||U.color,borderColor:c.castHoverOption(Z,X,"bordercolor"),fontFamily:c.castHoverOption(Z,X,"font.family"),fontSize:c.castHoverOption(Z,X,"font.size"),fontColor:c.castHoverOption(Z,X,"font.color"),nameLength:c.castHoverOption(Z,X,"namelength"),textAlign:c.castHoverOption(Z,X,"align"),hovertemplate:u.castOption(Z,X,"hovertemplate"),hovertemplateLabels:u.extendFlat({},ce,Q),eventData:[ce]},{container:z,gd:O,inOut_bbox:de}),ce.bbox=de[0]}G.distance<5&&(G.buttons||k)?O.emit("plotly_click",ye):O.emit("plotly_hover",ye),this.oldEventData=ye}else c.loneUnhover(z),this.oldEventData&&O.emit("plotly_unhover",this.oldEventData),this.oldEventData=void 0;I.drawAnnotations(I)},x.recoverContext=function(){var R=this;R.glplot.dispose();var I=function(){R.glplot.gl.isContextLost()?requestAnimationFrame(I):R.initializeGLPlot()?R.plot.apply(R,R.plotArgs):u.error("Catastrophic and unrecoverable WebGL error. Context lost.")};requestAnimationFrame(I)};var L=["xaxis","yaxis","zaxis"];function b(R,I,O){for(var z=R.fullSceneLayout,F=0;F<3;F++){var B=L[F],N=B.charAt(0),W=z[B],j=I[N],$=I[N+"calendar"],U=I["_"+N+"length"];if(u.isArrayOrTypedArray(j))for(var G,q=0;q<(U||j.length);q++)if(u.isArrayOrTypedArray(j[q]))for(var H=0;HZ[1][N])Z[0][N]=-1,Z[1][N]=1;else{var pe=Z[1][N]-Z[0][N];Z[0][N]-=pe/32,Z[1][N]+=pe/32}if(j.autorange==="reversed"){var xe=Z[0][N];Z[0][N]=Z[1][N],Z[1][N]=xe}}else{var Pe=j.range;Z[0][N]=j.r2l(Pe[0]),Z[1][N]=j.r2l(Pe[1])}Z[0][N]===Z[1][N]&&(Z[0][N]-=1,Z[1][N]+=1),X[N]=Z[1][N]-Z[0][N],z.glplot.setBounds(N,{min:Z[0][N]*H[N],max:Z[1][N]*H[N]})}var _e=U.aspectmode;if(_e==="cube")te=[1,1,1];else if(_e==="manual"){var Me=U.aspectratio;te=[Me.x,Me.y,Me.z]}else{if(_e!=="auto"&&_e!=="data")throw new Error("scene.js aspectRatio was not one of the enumerated types");var Se=[1,1,1];for(N=0;N<3;++N){var Ce=Q[$=(j=U[L[N]]).type];Se[N]=Math.pow(Ce.acc,1/Ce.count)/H[N]}te=_e==="data"||Math.max.apply(null,Se)/Math.min.apply(null,Se)<=4?Se:[1,1,1]}U.aspectratio.x=G.aspectratio.x=te[0],U.aspectratio.y=G.aspectratio.y=te[1],U.aspectratio.z=G.aspectratio.z=te[2],z.glplot.setAspectratio(U.aspectratio),z.viewInitial.aspectratio||(z.viewInitial.aspectratio={x:U.aspectratio.x,y:U.aspectratio.y,z:U.aspectratio.z}),z.viewInitial.aspectmode||(z.viewInitial.aspectmode=U.aspectmode);var ae=U.domain||null,fe=I._size||null;if(ae&&fe){var be=z.container.style;be.position="absolute",be.left=fe.l+ae.x[0]*fe.w+"px",be.top=fe.t+(1-ae.y[1])*fe.h+"px",be.width=fe.w*(ae.x[1]-ae.x[0])+"px",be.height=fe.h*(ae.y[1]-ae.y[0])+"px"}z.glplot.redraw()}},x.destroy=function(){var R=this;R.glplot&&(R.camera.mouseListener.enabled=!1,R.container.removeEventListener("wheel",R.camera.wheelListener),R.camera=null,R.glplot.dispose(),R.container.parentNode.removeChild(R.container),R.glplot=null)},x.getCamera=function(){var R,I=this;return I.camera.view.recalcMatrix(I.camera.view.lastT()),{up:{x:(R=I.camera).up[0],y:R.up[1],z:R.up[2]},center:{x:R.center[0],y:R.center[1],z:R.center[2]},eye:{x:R.eye[0],y:R.eye[1],z:R.eye[2]},projection:{type:R._ortho===!0?"orthographic":"perspective"}}},x.setViewport=function(R){var I,O=this,z=R.camera;O.camera.lookAt.apply(this,[[(I=z).eye.x,I.eye.y,I.eye.z],[I.center.x,I.center.y,I.center.z],[I.up.x,I.up.y,I.up.z]]),O.glplot.setAspectratio(R.aspectratio),z.projection.type==="orthographic"!==O.camera._ortho&&(O.glplot.redraw(),O.glplot.clearRGBA(),O.glplot.dispose(),O.initializeGLPlot())},x.isCameraChanged=function(R){var I=this.getCamera(),O=u.nestedProperty(R,this.id+".camera").get();function z(W,j,$,U){var G=["up","center","eye"],q=["x","y","z"];return j[G[$]]&&W[G[$]][q[U]]===j[G[$]][q[U]]}var F=!1;if(O===void 0)F=!0;else{for(var B=0;B<3;B++)for(var N=0;N<3;N++)if(!z(I,O,B,N)){F=!0;break}(!O.projection||I.projection&&I.projection.type!==O.projection.type)&&(F=!0)}return F},x.isAspectChanged=function(R){var I=this.glplot.getAspectratio(),O=u.nestedProperty(R,this.id+".aspectratio").get();return O===void 0||O.x!==I.x||O.y!==I.y||O.z!==I.z},x.saveLayout=function(R){var I,O,z,F,B,N,W=this,j=W.fullLayout,$=W.isCameraChanged(R),U=W.isAspectChanged(R),G=$||U;if(G){var q={};$&&(I=W.getCamera(),z=(O=u.nestedProperty(R,W.id+".camera")).get(),q[W.id+".camera"]=z),U&&(F=W.glplot.getAspectratio(),N=(B=u.nestedProperty(R,W.id+".aspectratio")).get(),q[W.id+".aspectratio"]=N),a.call("_storeDirectGUIEdit",R,j._preGUI,q),$&&(O.set(I),u.nestedProperty(j,W.id+".camera").set(I)),U&&(B.set(F),u.nestedProperty(j,W.id+".aspectratio").set(F),W.glplot.redraw())}return G},x.updateFx=function(R,I){var O=this,z=O.camera;if(z)if(R==="orbit")z.mode="orbit",z.keyBindingMode="rotate";else if(R==="turntable"){z.up=[0,0,1],z.mode="turntable",z.keyBindingMode="rotate";var F=O.graphDiv,B=F._fullLayout,N=O.fullSceneLayout.camera,W=N.up.x,j=N.up.y,$=N.up.z;if($/Math.sqrt(W*W+j*j+$*$)<.999){var U=O.id+".camera.up",G={x:0,y:0,z:1},q={};q[U]=G;var H=F.layout;a.call("_storeDirectGUIEdit",H,B._preGUI,q),N.up=G,u.nestedProperty(H,U).set(G)}}else z.keyBindingMode=R;O.fullSceneLayout.hovermode=I},x.toImage=function(R){var I=this;R||(R="png"),I.staticMode&&I.container.appendChild(d),I.glplot.redraw();var O=I.glplot.gl,z=O.drawingBufferWidth,F=O.drawingBufferHeight;O.bindFramebuffer(O.FRAMEBUFFER,null);var B=new Uint8Array(z*F*4);O.readPixels(0,0,z,F,O.RGBA,O.UNSIGNED_BYTE,B),function(U,G,q){for(var H=0,ne=q-1;H0)for(var X=255/Z,Q=0;Q<3;++Q)U[te+Q]=Math.min(X*U[te+Q],255)}}(B,z,F);var N=document.createElement("canvas");N.width=z,N.height=F;var W,j=N.getContext("2d",{willReadFrequently:!0}),$=j.createImageData(z,F);switch($.data.set(B),j.putImageData($,0,0),R){case"jpeg":W=N.toDataURL("image/jpeg");break;case"webp":W=N.toDataURL("image/webp");break;default:W=N.toDataURL("image/png")}return I.staticMode&&I.container.removeChild(d),W},x.setConvert=function(){for(var R=0;R<3;R++){var I=this.fullSceneLayout[L[R]];s.setConvert(I,this.fullLayout),I.setScale=u.noop}},x.make4thDimension=function(){var R=this,I=R.graphDiv._fullLayout;R._mockAxis={type:"linear",showexponent:"all",exponentformat:"B"},s.setConvert(R._mockAxis,I)},T.exports=E},90060:function(T){T.exports=function(p,t,d,g){g=g||p.length;for(var i=new Array(g),M=0;MOpenStreetMap contributors',i=['© Carto',g].join(" "),M=['Map tiles by Stamen Design','under CC BY 3.0',"|",'Data by OpenStreetMap contributors','under ODbL'].join(" "),v={"open-street-map":{id:"osm",version:8,sources:{"plotly-osm-tiles":{type:"raster",attribution:g,tiles:["https://a.tile.openstreetmap.org/{z}/{x}/{y}.png","https://b.tile.openstreetmap.org/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-osm-tiles",type:"raster",source:"plotly-osm-tiles",minzoom:0,maxzoom:22}]},"white-bg":{id:"white-bg",version:8,sources:{},layers:[{id:"white-bg",type:"background",paint:{"background-color":"#FFFFFF"},minzoom:0,maxzoom:22}]},"carto-positron":{id:"carto-positron",version:8,sources:{"plotly-carto-positron":{type:"raster",attribution:i,tiles:["https://cartodb-basemaps-c.global.ssl.fastly.net/light_all/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-carto-positron",type:"raster",source:"plotly-carto-positron",minzoom:0,maxzoom:22}]},"carto-darkmatter":{id:"carto-darkmatter",version:8,sources:{"plotly-carto-darkmatter":{type:"raster",attribution:i,tiles:["https://cartodb-basemaps-c.global.ssl.fastly.net/dark_all/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-carto-darkmatter",type:"raster",source:"plotly-carto-darkmatter",minzoom:0,maxzoom:22}]},"stamen-terrain":{id:"stamen-terrain",version:8,sources:{"plotly-stamen-terrain":{type:"raster",attribution:M,tiles:["https://stamen-tiles.a.ssl.fastly.net/terrain/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-terrain",type:"raster",source:"plotly-stamen-terrain",minzoom:0,maxzoom:22}]},"stamen-toner":{id:"stamen-toner",version:8,sources:{"plotly-stamen-toner":{type:"raster",attribution:M,tiles:["https://stamen-tiles.a.ssl.fastly.net/toner/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-toner",type:"raster",source:"plotly-stamen-toner",minzoom:0,maxzoom:22}]},"stamen-watercolor":{id:"stamen-watercolor",version:8,sources:{"plotly-stamen-watercolor":{type:"raster",attribution:['Map tiles by Stamen Design','under CC BY 3.0',"|",'Data by OpenStreetMap contributors','under CC BY SA'].join(" "),tiles:["https://stamen-tiles.a.ssl.fastly.net/watercolor/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-watercolor",type:"raster",source:"plotly-stamen-watercolor",minzoom:0,maxzoom:22}]}},f=d(v);T.exports={requiredVersion:"1.10.1",styleUrlPrefix:"mapbox://styles/mapbox/",styleUrlSuffix:"v9",styleValuesMapbox:["basic","streets","outdoors","light","dark","satellite","satellite-streets"],styleValueDflt:"basic",stylesNonMapbox:v,styleValuesNonMapbox:f,traceLayerPrefix:"plotly-trace-layer-",layoutLayerPrefix:"plotly-layout-layer-",wrongVersionErrorMsg:["Your custom plotly.js bundle is not using the correct mapbox-gl version","Please install mapbox-gl@1.10.1."].join(` `),noAccessTokenErrorMsg:["Missing Mapbox access token.","Mapbox trace type require a Mapbox access token to be registered.","For example:"," Plotly.newPlot(gd, data, layout, { mapboxAccessToken: 'my-access-token' });","More info here: https://www.mapbox.com/help/define-access-token/"].join(` -`),missingStyleErrorMsg:["No valid mapbox style found, please set `mapbox.style` to one of:",h.join(", "),"or register a Mapbox access token to use a Mapbox-served style."].join(` +`),missingStyleErrorMsg:["No valid mapbox style found, please set `mapbox.style` to one of:",f.join(", "),"or register a Mapbox access token to use a Mapbox-served style."].join(` `),multipleTokensErrorMsg:["Set multiple mapbox access token across different mapbox subplot,","using first token found as mapbox-gl does not allow multipleaccess tokens on the same page."].join(` -`),mapOnErrorMsg:"Mapbox error.",mapboxLogo:{path0:"m 10.5,1.24 c -5.11,0 -9.25,4.15 -9.25,9.25 0,5.1 4.15,9.25 9.25,9.25 5.1,0 9.25,-4.15 9.25,-9.25 0,-5.11 -4.14,-9.25 -9.25,-9.25 z m 4.39,11.53 c -1.93,1.93 -4.78,2.31 -6.7,2.31 -0.7,0 -1.41,-0.05 -2.1,-0.16 0,0 -1.02,-5.64 2.14,-8.81 0.83,-0.83 1.95,-1.28 3.13,-1.28 1.27,0 2.49,0.51 3.39,1.42 1.84,1.84 1.89,4.75 0.14,6.52 z",path1:"M 10.5,-0.01 C 4.7,-0.01 0,4.7 0,10.49 c 0,5.79 4.7,10.5 10.5,10.5 5.8,0 10.5,-4.7 10.5,-10.5 C 20.99,4.7 16.3,-0.01 10.5,-0.01 Z m 0,19.75 c -5.11,0 -9.25,-4.15 -9.25,-9.25 0,-5.1 4.14,-9.26 9.25,-9.26 5.11,0 9.25,4.15 9.25,9.25 0,5.13 -4.14,9.26 -9.25,9.26 z",path2:"M 14.74,6.25 C 12.9,4.41 9.98,4.35 8.23,6.1 5.07,9.27 6.09,14.91 6.09,14.91 c 0,0 5.64,1.02 8.81,-2.14 C 16.64,11 16.59,8.09 14.74,6.25 Z m -2.27,4.09 -0.91,1.87 -0.9,-1.87 -1.86,-0.91 1.86,-0.9 0.9,-1.87 0.91,1.87 1.86,0.9 z",polygon:"11.56,12.21 10.66,10.34 8.8,9.43 10.66,8.53 11.56,6.66 12.47,8.53 14.33,9.43 12.47,10.34"},styleRules:{map:"overflow:hidden;position:relative;","missing-css":"display:none;",canary:"background-color:salmon;","ctrl-bottom-left":"position: absolute; pointer-events: none; z-index: 2; bottom: 0; left: 0;","ctrl-bottom-right":"position: absolute; pointer-events: none; z-index: 2; right: 0; bottom: 0;",ctrl:"clear: both; pointer-events: auto; transform: translate(0, 0);","ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-inner":"display: none;","ctrl-attrib.mapboxgl-compact:hover .mapboxgl-ctrl-attrib-inner":"display: block; margin-top:2px","ctrl-attrib.mapboxgl-compact:hover":"padding: 2px 24px 2px 4px; visibility: visible; margin-top: 6px;","ctrl-attrib.mapboxgl-compact::after":`content: ""; cursor: pointer; position: absolute; background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"%3E %3Cpath fill="%23333333" fill-rule="evenodd" d="M4,10a6,6 0 1,0 12,0a6,6 0 1,0 -12,0 M9,7a1,1 0 1,0 2,0a1,1 0 1,0 -2,0 M9,10a1,1 0 1,1 2,0l0,3a1,1 0 1,1 -2,0"/%3E %3C/svg%3E'); background-color: rgba(255, 255, 255, 0.5); width: 24px; height: 24px; box-sizing: border-box; border-radius: 12px;`,"ctrl-attrib.mapboxgl-compact":"min-height: 20px; padding: 0; margin: 10px; position: relative; background-color: #fff; border-radius: 3px 12px 12px 3px;","ctrl-bottom-right > .mapboxgl-ctrl-attrib.mapboxgl-compact::after":"bottom: 0; right: 0","ctrl-bottom-left > .mapboxgl-ctrl-attrib.mapboxgl-compact::after":"bottom: 0; left: 0","ctrl-bottom-left .mapboxgl-ctrl":"margin: 0 0 10px 10px; float: left;","ctrl-bottom-right .mapboxgl-ctrl":"margin: 0 10px 10px 0; float: right;","ctrl-attrib":"color: rgba(0, 0, 0, 0.75); text-decoration: none; font-size: 12px","ctrl-attrib a":"color: rgba(0, 0, 0, 0.75); text-decoration: none; font-size: 12px","ctrl-attrib a:hover":"color: inherit; text-decoration: underline;","ctrl-attrib .mapbox-improve-map":"font-weight: bold; margin-left: 2px;","attrib-empty":"display: none;","ctrl-logo":`display:block; width: 21px; height: 21px; background-image: url('data:image/svg+xml;charset=utf-8,%3C?xml version="1.0" encoding="utf-8"?%3E %3Csvg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 21 21" style="enable-background:new 0 0 21 21;" xml:space="preserve"%3E%3Cg transform="translate(0,0.01)"%3E%3Cpath d="m 10.5,1.24 c -5.11,0 -9.25,4.15 -9.25,9.25 0,5.1 4.15,9.25 9.25,9.25 5.1,0 9.25,-4.15 9.25,-9.25 0,-5.11 -4.14,-9.25 -9.25,-9.25 z m 4.39,11.53 c -1.93,1.93 -4.78,2.31 -6.7,2.31 -0.7,0 -1.41,-0.05 -2.1,-0.16 0,0 -1.02,-5.64 2.14,-8.81 0.83,-0.83 1.95,-1.28 3.13,-1.28 1.27,0 2.49,0.51 3.39,1.42 1.84,1.84 1.89,4.75 0.14,6.52 z" style="opacity:0.9;fill:%23ffffff;enable-background:new" class="st0"/%3E%3Cpath d="M 10.5,-0.01 C 4.7,-0.01 0,4.7 0,10.49 c 0,5.79 4.7,10.5 10.5,10.5 5.8,0 10.5,-4.7 10.5,-10.5 C 20.99,4.7 16.3,-0.01 10.5,-0.01 Z m 0,19.75 c -5.11,0 -9.25,-4.15 -9.25,-9.25 0,-5.1 4.14,-9.26 9.25,-9.26 5.11,0 9.25,4.15 9.25,9.25 0,5.13 -4.14,9.26 -9.25,9.26 z" style="opacity:0.35;enable-background:new" class="st1"/%3E%3Cpath d="M 14.74,6.25 C 12.9,4.41 9.98,4.35 8.23,6.1 5.07,9.27 6.09,14.91 6.09,14.91 c 0,0 5.64,1.02 8.81,-2.14 C 16.64,11 16.59,8.09 14.74,6.25 Z m -2.27,4.09 -0.91,1.87 -0.9,-1.87 -1.86,-0.91 1.86,-0.9 0.9,-1.87 0.91,1.87 1.86,0.9 z" style="opacity:0.35;enable-background:new" class="st1"/%3E%3Cpolygon points="11.56,12.21 10.66,10.34 8.8,9.43 10.66,8.53 11.56,6.66 12.47,8.53 14.33,9.43 12.47,10.34 " style="opacity:0.9;fill:%23ffffff;enable-background:new" class="st0"/%3E%3C/g%3E%3C/svg%3E')`}}},13056:function(k,m,t){var d=t(71828);k.exports=function(y,i){var M=y.split(" "),v=M[0],h=M[1],l=d.isArrayOrTypedArray(i)?d.mean(i):i,a=.5+l/100,u=1.5+l/100,s=["",""],o=[0,0];switch(v){case"top":s[0]="top",o[1]=-u;break;case"bottom":s[0]="bottom",o[1]=u}switch(h){case"left":s[1]="right",o[0]=-a;break;case"right":s[1]="left",o[0]=a}return{anchor:s[0]&&s[1]?s.join("-"):s[0]?s[0]:s[1]?s[1]:"center",offset:o}}},50101:function(k,m,t){var d=t(44517),y=t(71828),i=y.strTranslate,M=y.strScale,v=t(27659).AU,h=t(77922),l=t(39898),a=t(91424),u=t(63893),s=t(10481),o="mapbox",c=m.constants=t(77734);function f(p){return typeof p=="string"&&(c.styleValuesMapbox.indexOf(p)!==-1||p.indexOf("mapbox://")===0)}m.name=o,m.attr="subplot",m.idRoot=o,m.idRegex=m.attrRegex=y.counterRegex(o),m.attributes={subplot:{valType:"subplotid",dflt:"mapbox",editType:"calc"}},m.layoutAttributes=t(23585),m.supplyLayoutDefaults=t(77882),m.plot=function(p){var w=p._fullLayout,g=p.calcdata,S=w._subplots.mapbox;if(d.version!==c.requiredVersion)throw new Error(c.wrongVersionErrorMsg);var x=function(b,R){var I=b._fullLayout;if(b._context.mapboxAccessToken==="")return"";for(var O=[],z=[],F=!1,B=!1,N=0;N1&&y.warn(c.multipleTokensErrorMsg),O[0]):(z.length&&y.log(["Listed mapbox access token(s)",z.join(","),"but did not use a Mapbox map style, ignoring token(s)."].join(" ")),"")}(p,S);d.accessToken=x;for(var T=0;Tz/2){var F=b.split("|").join("
");I.text(F).attr("data-unformatted",F).call(u.convertToTspans,p),O=a.bBox(I.node())}I.attr("transform",i(-3,8-O.height)),R.insert("rect",".static-attribution").attr({x:-O.width-6,y:-O.height-3,width:O.width+6,height:O.height+3,fill:"rgba(255, 255, 255, 0.75)"});var B=1;O.width+6>z&&(B=z/(O.width+6));var N=[S.l+S.w*E.x[1],S.t+S.h*(1-E.y[0])];R.attr("transform",i(N[0],N[1])+M(B))}},m.updateFx=function(p){for(var w=p._fullLayout,g=w._subplots.mapbox,S=0;S0){for(var o=0;o0}function a(u){var s={},o={};switch(u.type){case"circle":d.extendFlat(o,{"circle-radius":u.circle.radius,"circle-color":u.color,"circle-opacity":u.opacity});break;case"line":d.extendFlat(o,{"line-width":u.line.width,"line-color":u.color,"line-opacity":u.opacity,"line-dasharray":u.line.dash});break;case"fill":d.extendFlat(o,{"fill-color":u.color,"fill-outline-color":u.fill.outlinecolor,"fill-opacity":u.opacity});break;case"symbol":var c=u.symbol,f=i(c.textposition,c.iconsize);d.extendFlat(s,{"icon-image":c.icon+"-15","icon-size":c.iconsize/10,"text-field":c.text,"text-size":c.textfont.size,"text-anchor":f.anchor,"text-offset":f.offset,"symbol-placement":c.placement}),d.extendFlat(o,{"icon-color":u.color,"text-color":c.textfont.color,"text-opacity":u.opacity});break;case"raster":d.extendFlat(o,{"raster-fade-duration":0,"raster-opacity":u.opacity})}return{layout:s,paint:o}}h.update=function(u){this.visible?this.needsNewImage(u)?this.updateImage(u):this.needsNewSource(u)?(this.removeLayer(),this.updateSource(u),this.updateLayer(u)):this.needsNewLayer(u)?this.updateLayer(u):this.updateStyle(u):(this.updateSource(u),this.updateLayer(u)),this.visible=l(u)},h.needsNewImage=function(u){return this.subplot.map.getSource(this.idSource)&&this.sourceType==="image"&&u.sourcetype==="image"&&(this.source!==u.source||JSON.stringify(this.coordinates)!==JSON.stringify(u.coordinates))},h.needsNewSource=function(u){return this.sourceType!==u.sourcetype||JSON.stringify(this.source)!==JSON.stringify(u.source)||this.layerType!==u.type},h.needsNewLayer=function(u){return this.layerType!==u.type||this.below!==this.subplot.belowLookup["layout-"+this.index]},h.lookupBelow=function(){return this.subplot.belowLookup["layout-"+this.index]},h.updateImage=function(u){this.subplot.map.getSource(this.idSource).updateImage({url:u.source,coordinates:u.coordinates});var s=this.findFollowingMapboxLayerId(this.lookupBelow());s!==null&&this.subplot.map.moveLayer(this.idLayer,s)},h.updateSource=function(u){var s=this.subplot.map;if(s.getSource(this.idSource)&&s.removeSource(this.idSource),this.sourceType=u.sourcetype,this.source=u.source,l(u)){var o=function(c){var f,p=c.sourcetype,w=c.source,g={type:p};return p==="geojson"?f="data":p==="vector"?f=typeof w=="string"?"url":"tiles":p==="raster"?(f="tiles",g.tileSize=256):p==="image"&&(f="url",g.coordinates=c.coordinates),g[f]=w,c.sourceattribution&&(g.attribution=y(c.sourceattribution)),g}(u);s.addSource(this.idSource,o)}},h.findFollowingMapboxLayerId=function(u){if(u==="traces")for(var s=this.subplot.getMapLayers(),o=0;o1)for(R=0;R-1&&p(N.originalEvent,I,[R.xaxis],[R.yaxis],R.id,B),W.indexOf("event")>-1&&l.click(I,N.originalEvent)}}},x.updateFx=function(L){var b=this,R=b.map,I=b.gd;if(!b.isStatic){var O,z=L.dragmode;O=function(N,W){W.isRect?(N.range={})[b.id]=[B([W.xmin,W.ymin]),B([W.xmax,W.ymax])]:(N.lassoPoints={})[b.id]=W.map(B)};var F=b.dragOptions;b.dragOptions=y.extendDeep(F||{},{dragmode:L.dragmode,element:b.div,gd:I,plotinfo:{id:b.id,domain:L[b.id].domain,xaxis:b.xaxis,yaxis:b.yaxis,fillRangeItems:O},xaxes:[b.xaxis],yaxes:[b.yaxis],subplot:b.id}),R.off("click",b.onClickInPanHandler),s(z)||u(z)?(R.dragPan.disable(),R.on("zoomstart",b.clearOutline),b.dragOptions.prepFn=function(N,W,j){o(N,W,j,b.dragOptions,z)},h.init(b.dragOptions)):(R.dragPan.enable(),R.off("zoomstart",b.clearOutline),b.div.onmousedown=null,b.div.ontouchstart=null,b.div.removeEventListener("touchstart",b.div._ontouchstart),b.onClickInPanHandler=b.onClickInPanFn(b.dragOptions),R.on("click",b.onClickInPanHandler))}function B(N){var W=b.map.unproject(N);return[W.lng,W.lat]}},x.updateFramework=function(L){var b=L[this.id].domain,R=L._size,I=this.div.style;I.width=R.w*(b.x[1]-b.x[0])+"px",I.height=R.h*(b.y[1]-b.y[0])+"px",I.left=R.l+b.x[0]*R.w+"px",I.top=R.t+(1-b.y[1])*R.h+"px",this.xaxis._offset=R.l+b.x[0]*R.w,this.xaxis._length=R.w*(b.x[1]-b.x[0]),this.yaxis._offset=R.t+(1-b.y[1])*R.h,this.yaxis._length=R.h*(b.y[1]-b.y[0])},x.updateLayers=function(L){var b,R=L[this.id].layers,I=this.layerList;if(R.length!==I.length){for(b=0;b=G.width-20?(ne["text-anchor"]="start",ne.x=5):(ne["text-anchor"]="end",ne.x=G._paper.attr("width")-7),q.attr(ne);var te=q.select(".js-link-to-tool"),Z=q.select(".js-link-spacer"),X=q.select(".js-sourcelinks");U._context.showSources&&U._context.showSources(U),U._context.showLink&&function(Q,re){re.text("");var ie=re.append("a").attr({"xlink:xlink:href":"#",class:"link--impt link--embedview","font-weight":"bold"}).text(Q._context.linkText+" "+String.fromCharCode(187));if(Q._context.sendData)ie.on("click",function(){T.sendDataToCloud(Q)});else{var oe=window.location.pathname.split("/"),ue=window.location.search;ie.attr({"xlink:xlink:show":"new","xlink:xlink:href":"/"+oe[2].split(".")[0]+"/"+oe[1]+ue})}}(U,te),Z.text(te.text()&&X.text()?" - ":"")}},T.sendDataToCloud=function(U){var G=(window.PLOTLYENV||{}).BASE_URL||U._context.plotlyServerURL;if(G){U.emit("plotly_beforeexport");var q=d.select(U).append("div").attr("id","hiddenform").style("display","none"),H=q.append("form").attr({action:G+"/external",method:"post",target:"_blank"});return H.append("input").attr({type:"text",name:"data"}).node().value=T.graphJson(U,!1,"keepdata"),H.node().submit(),q.remove(),U.emit("plotly_afterexport"),!1}};var A=["days","shortDays","months","shortMonths","periods","dateTime","date","time","decimal","thousands","grouping","currency"],L=["year","month","dayMonth","dayMonthYear"];function b(U,G){var q=U._context.locale;q||(q="en-US");var H=!1,ne={};function te(oe){for(var ue=!0,ce=0;ce1&&Se.length>1){for(v.getComponentMethod("grid","sizeDefaults")(Z,te),ne=0;ne15&&Se.length>15&&te.shapes.length===0&&te.images.length===0,T.linkSubplots(Q,te,X,H),T.cleanPlot(Q,te,X,H);var ke=!(!H._has||!H._has("gl2d")),Le=!(!te._has||!te._has("gl2d")),Be=!(!H._has||!H._has("cartesian"))||ke,ze=!(!te._has||!te._has("cartesian"))||Le;Be&&!ze?H._bgLayer.remove():ze&&!Be&&(te._shouldCreateBgLayer=!0),H._zoomlayer&&!U._dragging&&c({_fullLayout:H}),function(Ee,Ve){var Ye,$e=[];Ve.meta&&(Ye=Ve._meta={meta:Ve.meta,layout:{meta:Ve.meta}});for(var st=0;st0){var re=1-2*Z;H=Math.round(re*H),ne=Math.round(re*ne)}}var ie=T.layoutAttributes.width.min,oe=T.layoutAttributes.height.min;H1,ce=!G.height&&Math.abs(q.height-ne)>1;(ce||ue)&&(ue&&(q.width=H),ce&&(q.height=ne)),U._initialAutoSize||(U._initialAutoSize={width:H,height:ne}),T.sanitizeMargins(q)},T.supplyLayoutModuleDefaults=function(U,G,q,H){var ne,te,Z,X=v.componentsRegistry,Q=G._basePlotModules,re=v.subplotsRegistry.cartesian;for(ne in X)(Z=X[ne]).includeBasePlot&&Z.includeBasePlot(U,G);for(var ie in Q.length||Q.push(re),G._has("cartesian")&&(v.getComponentMethod("grid","contentDefaults")(U,G),re.finalizeSubplots(U,G)),G._subplots)G._subplots[ie].sort(a.subplotSort);for(te=0;te1&&(q.l/=me,q.r/=me)}if(ue){var pe=(q.t+q.b)/ue;pe>1&&(q.t/=pe,q.b/=pe)}var xe=q.xl!==void 0?q.xl:q.x,Pe=q.xr!==void 0?q.xr:q.x,_e=q.yt!==void 0?q.yt:q.y,Me=q.yb!==void 0?q.yb:q.y;ce[G]={l:{val:xe,size:q.l+de},r:{val:Pe,size:q.r+de},b:{val:Me,size:q.b+de},t:{val:_e,size:q.t+de}},ye[G]=1}else delete ce[G],delete ye[G];if(!H._replotting)return T.doAutoMargin(U)}},T.doAutoMargin=function(U){var G=U._fullLayout,q=G.width,H=G.height;G._size||(G._size={}),F(G);var ne=G._size,te=G.margin,Z={t:0,b:0,l:0,r:0},X=a.extendFlat({},ne),Q=U._fullLayout._reservedMargin;for(var re in Q)for(var ie in Q[re]){var oe=Q[re][ie];Z[ie]=Math.max(Z[ie],oe)}var ue=te.l,ce=te.r,ye=te.t,de=te.b,me=G._pushmargin,pe=G._pushmarginIds,xe=G.minreducedwidth,Pe=G.minreducedheight;if(G.margin.autoexpand!==!1){for(var _e in me)pe[_e]||delete me[_e];for(var Me in me.base={l:{val:0,size:ue},r:{val:1,size:ce},t:{val:1,size:ye},b:{val:0,size:de}},me){var Se=me[Me].l||{},Ce=me[Me].b||{},ae=Se.val,he=Se.size,be=Ce.val,ke=Ce.size,Le=q-Z.r-Z.l,Be=H-Z.t-Z.b;for(var ze in me){if(M(he)&&me[ze].r){var je=me[ze].r.val,ge=me[ze].r.size;if(je>ae){var we=(he*je+(ge-Le)*ae)/(je-ae),Ee=(ge*(1-ae)+(he-Le)*(1-je))/(je-ae);we+Ee>ue+ce&&(ue=we,ce=Ee)}}if(M(ke)&&me[ze].t){var Ve=me[ze].t.val,Ye=me[ze].t.size;if(Ve>be){var $e=(ke*Ve+(Ye-Be)*be)/(Ve-be),st=(Ye*(1-be)+(ke-Be)*(1-Ve))/(Ve-be);$e+st>de+ye&&(de=$e,ye=st)}}}}}var ot=a.constrain(q-te.l-te.r,2,xe),ft=a.constrain(H-te.t-te.b,2,Pe),bt=Math.max(0,q-ot),Et=Math.max(0,H-ft);if(bt){var kt=(ue+ce)/bt;kt>1&&(ue/=kt,ce/=kt)}if(Et){var xt=(de+ye)/Et;xt>1&&(de/=xt,ye/=xt)}if(ne.l=Math.round(ue)+Z.l,ne.r=Math.round(ce)+Z.r,ne.t=Math.round(ye)+Z.t,ne.b=Math.round(de)+Z.b,ne.p=Math.round(te.pad),ne.w=Math.round(q)-ne.l-ne.r,ne.h=Math.round(H)-ne.t-ne.b,!G._replotting&&(T.didMarginChange(X,ne)||function(Ot){if("_redrawFromAutoMarginCount"in Ot._fullLayout)return!1;var Bt=o.list(Ot,"",!0);for(var qt in Bt)if(Bt[qt].autoshift||Bt[qt].shift)return!0;return!1}(U))){"_redrawFromAutoMarginCount"in G?G._redrawFromAutoMarginCount++:G._redrawFromAutoMarginCount=1;var Ft=3*(1+Object.keys(pe).length);if(G._redrawFromAutoMarginCount0&&(U._transitioningWithDuration=!0),U._transitionData._interruptCallbacks.push(function(){H=!0}),q.redraw&&U._transitionData._interruptCallbacks.push(function(){return v.call("redraw",U)}),U._transitionData._interruptCallbacks.push(function(){U.emit("plotly_transitioninterrupted",[])});var X=0,Q=0;function re(){return X++,function(){var ie;Q++,H||Q!==X||(ie=Z,U._transitionData&&(function(oe){if(oe)for(;oe.length;)oe.shift()}(U._transitionData._interruptCallbacks),Promise.resolve().then(function(){if(q.redraw)return v.call("redraw",U)}).then(function(){U._transitioning=!1,U._transitioningWithDuration=!1,U.emit("plotly_transitioned",[])}).then(ie)))}}q.runFn(re),setTimeout(re())})}],te=a.syncOrAsync(ne,U);return te&&te.then||(te=Promise.resolve()),te.then(function(){return U})}T.didMarginChange=function(U,G){for(var q=0;q1)return!0}return!1},T.graphJson=function(U,G,q,H,ne,te){(ne&&G&&!U._fullData||ne&&!G&&!U._fullLayout)&&T.supplyDefaults(U);var Z=ne?U._fullData:U.data,X=ne?U._fullLayout:U.layout,Q=(U._transitionData||{})._frames;function re(ue,ce){if(typeof ue=="function")return ce?"_function_":null;if(a.isPlainObject(ue)){var ye,de={};return Object.keys(ue).sort().forEach(function(me){if(["_","["].indexOf(me.charAt(0))===-1)if(typeof ue[me]!="function"){if(q==="keepdata"){if(me.substr(me.length-3)==="src")return}else if(q==="keepstream"){if(typeof(ye=ue[me+"src"])=="string"&&ye.indexOf(":")>0&&!a.isPlainObject(ue.stream))return}else if(q!=="keepall"&&typeof(ye=ue[me+"src"])=="string"&&ye.indexOf(":")>0)return;de[me]=re(ue[me],ce)}else ce&&(de[me]="_function")}),de}return Array.isArray(ue)?ue.map(function(me){return re(me,ce)}):a.isTypedArray(ue)?a.simpleMap(ue,a.identity):a.isJSDate(ue)?a.ms2DateTimeLocal(+ue):ue}var ie={data:(Z||[]).map(function(ue){var ce=re(ue);return G&&delete ce.fit,ce})};if(!G&&(ie.layout=re(X),ne)){var oe=X._size;ie.layout.computed={margin:{b:oe.b,l:oe.l,r:oe.r,t:oe.t}}}return Q&&(ie.frames=re(Q)),te&&(ie.config=re(U._context,!0)),H==="object"?ie:JSON.stringify(ie)},T.modifyFrames=function(U,G){var q,H,ne,te=U._transitionData._frames,Z=U._transitionData._frameHash;for(q=0;q=0;te--)if(Me[te].enabled){q._indexToPoints=Me[te]._indexToPoints;break}H&&H.calc&&(_e=H.calc(U,q))}Array.isArray(_e)&&_e[0]||(_e=[{x:s,y:s}]),_e[0].t||(_e[0].t={}),_e[0].trace=q,re[xe]=_e}}for(j(Z,X,Q),ne=0;ne1e-10?o:0}function s(o,c,f){c=c||0,f=f||0;for(var p=o.length,w=new Array(p),g=0;g0?g:1/0}),p=d.mod(f+1,c.length);return[c[f],c[p]]},findIntersectionXY:l,findXYatLength:function(o,c,f,p){var w=-c*f,g=c*c+1,S=2*(c*w-f),x=w*w+f*f-o*o,T=Math.sqrt(S*S-4*g*x),E=(-S+T)/(2*g),_=(-S-T)/(2*g);return[[E,c*E+w+p],[_,c*_+w+p]]},clampTiny:u,pathPolygon:function(o,c,f,p,w,g){return"M"+s(a(o,c,f,p),w,g).join("L")},pathPolygonAnnulus:function(o,c,f,p,w,g,S){var x,T;o=90||kt>90&&xt>=450?1:Ot<=0&&qt<=0?0:Math.max(Ot,qt),[kt<=180&&xt>=180||kt>180&&xt>=540?-1:Ft>=0&&Bt>=0?0:Math.min(Ft,Bt),kt<=270&&xt>=270||kt>270&&xt>=630?-1:Ot>=0&&qt>=0?0:Math.min(Ot,qt),xt>=360?1:Ft<=0&&Bt<=0?0:Math.max(Ft,Bt),ft]}(pe),ae=Ce[2]-Ce[0],he=Ce[3]-Ce[1],be=me/de,ke=Math.abs(he/ae);be>ke?(xe=de,Se=(me-(Pe=de*ke))/ie.h/2,_e=[ce[0],ce[1]],Me=[ye[0]+Se,ye[1]-Se]):(Pe=me,Se=(de-(xe=me/ke))/ie.w/2,_e=[ce[0]+Se,ce[1]-Se],Me=[ye[0],ye[1]]),Q.xLength2=xe,Q.yLength2=Pe,Q.xDomain2=_e,Q.yDomain2=Me;var Le,Be=Q.xOffset2=ie.l+ie.w*_e[0],ze=Q.yOffset2=ie.t+ie.h*(1-Me[1]),je=Q.radius=xe/ae,ge=Q.innerRadius=Q.getHole(X)*je,we=Q.cx=Be-je*Ce[0],Ee=Q.cy=ze+je*Ce[3],Ve=Q.cxx=we-Be,Ye=Q.cyy=Ee-ze,$e=oe.side;$e==="counterclockwise"?(Le=$e,$e="top"):$e==="clockwise"&&(Le=$e,$e="bottom"),Q.radialAxis=Q.mockAxis(Z,X,oe,{_id:"x",side:$e,_trueSide:Le,domain:[ge/ie.w,je/ie.w]}),Q.angularAxis=Q.mockAxis(Z,X,ue,{side:"right",domain:[0,Math.PI],autorange:!1}),Q.doAutoRange(Z,X),Q.updateAngularAxis(Z,X),Q.updateRadialAxis(Z,X),Q.updateRadialAxisTitle(Z,X),Q.xaxis=Q.mockCartesianAxis(Z,X,{_id:"x",domain:_e}),Q.yaxis=Q.mockCartesianAxis(Z,X,{_id:"y",domain:Me});var st=Q.pathSubplot();Q.clipPaths.forTraces.select("path").attr("d",st).attr("transform",h(Ve,Ye)),re.frontplot.attr("transform",h(Be,ze)).call(a.setClipUrl,Q._hasClipOnAxisFalse?null:Q.clipIds.forTraces,Q.gd),re.bg.attr("d",st).attr("transform",h(we,Ee)).call(l.fill,X.bgcolor)},q.mockAxis=function(Z,X,Q,re){var ie=M.extendFlat({},Q,re);return c(ie,X,Z),ie},q.mockCartesianAxis=function(Z,X,Q){var re=this,ie=re.isSmith,oe=Q._id,ue=M.extendFlat({type:"linear"},Q);o(ue,Z);var ce={x:[0,2],y:[1,3]};return ue.setRange=function(){var ye=re.sectorBBox,de=ce[oe],me=re.radialAxis._rl,pe=(me[1]-me[0])/(1-re.getHole(X));ue.range=[ye[de[0]]*pe,ye[de[1]]*pe]},ue.isPtWithinRange=oe!=="x"||ie?function(){return!0}:function(ye){return re.isPtInside(ye)},ue.setRange(),ue.setScale(),ue},q.doAutoRange=function(Z,X){var Q=this,re=Q.gd,ie=Q.radialAxis,oe=Q.getRadial(X);f(re,ie);var ue=ie.range;oe.range=ue.slice(),oe._input.range=ue.slice(),ie._rl=[ie.r2l(ue[0],null,"gregorian"),ie.r2l(ue[1],null,"gregorian")]},q.updateRadialAxis=function(Z,X){var Q=this,re=Q.gd,ie=Q.layers,oe=Q.radius,ue=Q.innerRadius,ce=Q.cx,ye=Q.cy,de=Q.getRadial(X),me=j(Q.getSector(X)[0],360),pe=Q.radialAxis,xe=ue90&&me<=270&&(pe.tickangle=180);var _e=Pe?function(ze){var je=N(Q,z([ze.x,0]));return h(je[0]-ce,je[1]-ye)}:function(ze){return h(pe.l2p(ze.x)+ue,0)},Me=Pe?function(ze){return B(Q,ze.x,-1/0,1/0)}:function(ze){return Q.pathArc(pe.r2p(ze.x)+ue)},Se=H(de);if(Q.radialTickLayout!==Se&&(ie["radial-axis"].selectAll(".xtick").remove(),Q.radialTickLayout=Se),xe){pe.setScale();var Ce=0,ae=Pe?(pe.tickvals||[]).filter(function(ze){return ze>=0}).map(function(ze){return s.tickText(pe,ze,!0,!1)}):s.calcTicks(pe),he=Pe?ae:s.clipEnds(pe,ae),be=s.getTickSigns(pe)[2];Pe&&((pe.ticks==="top"&&pe.side==="bottom"||pe.ticks==="bottom"&&pe.side==="top")&&(be=-be),pe.ticks==="top"&&pe.side==="top"&&(Ce=-pe.ticklen),pe.ticks==="bottom"&&pe.side==="bottom"&&(Ce=pe.ticklen)),s.drawTicks(re,pe,{vals:ae,layer:ie["radial-axis"],path:s.makeTickPath(pe,0,be),transFn:_e,crisp:!1}),s.drawGrid(re,pe,{vals:he,layer:ie["radial-grid"],path:Me,transFn:M.noop,crisp:!1}),s.drawLabels(re,pe,{vals:ae,layer:ie["radial-axis"],transFn:_e,labelFns:s.makeLabelFns(pe,Ce)})}var ke=Q.radialAxisAngle=Q.vangles?U(ne(Y(de.angle),Q.vangles)):de.angle,Le=h(ce,ye),Be=Le+v(-ke);te(ie["radial-axis"],xe&&(de.showticklabels||de.ticks),{transform:Be}),te(ie["radial-grid"],xe&&de.showgrid,{transform:Pe?"":Le}),te(ie["radial-line"].select("line"),xe&&de.showline,{x1:Pe?-oe:ue,y1:0,x2:oe,y2:0,transform:Be}).attr("stroke-width",de.linewidth).call(l.stroke,de.linecolor)},q.updateRadialAxisTitle=function(Z,X,Q){if(!this.isSmith){var re=this,ie=re.gd,oe=re.radius,ue=re.cx,ce=re.cy,ye=re.getRadial(X),de=re.id+"title",me=0;if(ye.title){var pe=a.bBox(re.layers["radial-axis"].node()).height,xe=ye.title.font.size,Pe=ye.side;me=Pe==="top"?xe:Pe==="counterclockwise"?-(pe+.4*xe):pe+.8*xe}var _e=Q!==void 0?Q:re.radialAxisAngle,Me=Y(_e),Se=Math.cos(Me),Ce=Math.sin(Me),ae=ue+oe/2*Se+me*Ce,he=ce-oe/2*Ce+me*Se;re.layers["radial-axis-title"]=S.draw(ie,de,{propContainer:ye,propName:re.id+".radialaxis.title",placeholder:W(ie,"Click to enter radial axis title"),attributes:{x:ae,y:he,"text-anchor":"middle"},transform:{rotate:-_e}})}},q.updateAngularAxis=function(Z,X){var Q=this,re=Q.gd,ie=Q.layers,oe=Q.radius,ue=Q.innerRadius,ce=Q.cx,ye=Q.cy,de=Q.getAngular(X),me=Q.angularAxis,pe=Q.isSmith;pe||(Q.fillViewInitialKey("angularaxis.rotation",de.rotation),me.setGeometry(),me.setScale());var xe=pe?function(ze){var je=N(Q,z([0,ze.x]));return Math.atan2(je[0]-ce,je[1]-ye)-Math.PI/2}:function(ze){return me.t2g(ze.x)};me.type==="linear"&&me.thetaunit==="radians"&&(me.tick0=U(me.tick0),me.dtick=U(me.dtick));var Pe=function(ze){return h(ce+oe*Math.cos(ze),ye-oe*Math.sin(ze))},_e=pe?function(ze){var je=N(Q,z([0,ze.x]));return h(je[0],je[1])}:function(ze){return Pe(xe(ze))},Me=pe?function(ze){var je=N(Q,z([0,ze.x])),ge=Math.atan2(je[0]-ce,je[1]-ye)-Math.PI/2;return h(je[0],je[1])+v(-U(ge))}:function(ze){var je=xe(ze);return Pe(je)+v(-U(je))},Se=pe?function(ze){return F(Q,ze.x,0,1/0)}:function(ze){var je=xe(ze),ge=Math.cos(je),we=Math.sin(je);return"M"+[ce+ue*ge,ye-ue*we]+"L"+[ce+oe*ge,ye-oe*we]},Ce=s.makeLabelFns(me,0).labelStandoff,ae={xFn:function(ze){var je=xe(ze);return Math.cos(je)*Ce},yFn:function(ze){var je=xe(ze),ge=Math.sin(je)>0?.2:1;return-Math.sin(je)*(Ce+ze.fontSize*ge)+Math.abs(Math.cos(je))*(ze.fontSize*b)},anchorFn:function(ze){var je=xe(ze),ge=Math.cos(je);return Math.abs(ge)<.1?"middle":ge>0?"start":"end"},heightFn:function(ze,je,ge){var we=xe(ze);return-.5*(1+Math.sin(we))*ge}},he=H(de);Q.angularTickLayout!==he&&(ie["angular-axis"].selectAll("."+me._id+"tick").remove(),Q.angularTickLayout=he);var be,ke=pe?[1/0].concat(me.tickvals||[]).map(function(ze){return s.tickText(me,ze,!0,!1)}):s.calcTicks(me);if(pe&&(ke[0].text="∞",ke[0].fontSize*=1.75),X.gridshape==="linear"?(be=ke.map(xe),M.angleDelta(be[0],be[1])<0&&(be=be.slice().reverse())):be=null,Q.vangles=be,me.type==="category"&&(ke=ke.filter(function(ze){return M.isAngleInsideSector(xe(ze),Q.sectorInRad)})),me.visible){var Le=me.ticks==="inside"?-1:1,Be=(me.linewidth||1)/2;s.drawTicks(re,me,{vals:ke,layer:ie["angular-axis"],path:"M"+Le*Be+",0h"+Le*me.ticklen,transFn:Me,crisp:!1}),s.drawGrid(re,me,{vals:ke,layer:ie["angular-grid"],path:Se,transFn:M.noop,crisp:!1}),s.drawLabels(re,me,{vals:ke,layer:ie["angular-axis"],repositionOnUpdate:!0,transFn:_e,labelFns:ae})}te(ie["angular-line"].select("path"),de.showline,{d:Q.pathSubplot(),transform:h(ce,ye)}).attr("stroke-width",de.linewidth).call(l.stroke,de.linecolor)},q.updateFx=function(Z,X){this.gd._context.staticPlot||(!this.isSmith&&(this.updateAngularDrag(Z),this.updateRadialDrag(Z,X,0),this.updateRadialDrag(Z,X,1)),this.updateHoverAndMainDrag(Z))},q.updateHoverAndMainDrag=function(Z){var X,Q,re=this,ie=re.isSmith,oe=re.gd,ue=re.layers,ce=Z._zoomlayer,ye=R.MINZOOM,de=R.OFFEDGE,me=re.radius,pe=re.innerRadius,xe=re.cx,Pe=re.cy,_e=re.cxx,Me=re.cyy,Se=re.sectorInRad,Ce=re.vangles,ae=re.radialAxis,he=I.clampTiny,be=I.findXYatLength,ke=I.findEnclosingVertexAngles,Le=R.cornerHalfWidth,Be=R.cornerLen/2,ze=p.makeDragger(ue,"path","maindrag",Z.dragmode===!1?"none":"crosshair");d.select(ze).attr("d",re.pathSubplot()).attr("transform",h(xe,Pe)),ze.onmousemove=function(Re){g.hover(oe,Re,re.id),oe._fullLayout._lasthover=ze,oe._fullLayout._hoversubplot=re.id},ze.onmouseout=function(Re){oe._dragging||w.unhover(oe,Re)};var je,ge,we,Ee,Ve,Ye,$e,st,ot,ft={element:ze,gd:oe,subplot:re.id,plotinfo:{id:re.id,xaxis:re.xaxis,yaxis:re.yaxis},xaxes:[re.xaxis],yaxes:[re.yaxis]};function bt(Re,Ne){return Math.sqrt(Re*Re+Ne*Ne)}function Et(Re,Ne){return bt(Re-_e,Ne-Me)}function kt(Re,Ne){return Math.atan2(Me-Ne,Re-_e)}function xt(Re,Ne){return[Re*Math.cos(Ne),Re*Math.sin(-Ne)]}function Ft(Re,Ne){if(Re===0)return re.pathSector(2*Le);var Qe=Be/Re,ut=Ne-Qe,dt=Ne+Qe,_t=Math.max(0,Math.min(Re,me)),It=_t-Le,Lt=_t+Le;return"M"+xt(It,ut)+"A"+[It,It]+" 0,0,0 "+xt(It,dt)+"L"+xt(Lt,dt)+"A"+[Lt,Lt]+" 0,0,1 "+xt(Lt,ut)+"Z"}function Ot(Re,Ne,Qe){if(Re===0)return re.pathSector(2*Le);var ut,dt,_t=xt(Re,Ne),It=xt(Re,Qe),Lt=he((_t[0]+It[0])/2),yt=he((_t[1]+It[1])/2);if(Lt&&yt){var Pt=yt/Lt,wt=-1/Pt,Rt=be(Le,Pt,Lt,yt);ut=be(Be,wt,Rt[0][0],Rt[0][1]),dt=be(Be,wt,Rt[1][0],Rt[1][1])}else{var Nt,$t;yt?(Nt=Be,$t=Le):(Nt=Le,$t=Be),ut=[[Lt-Nt,yt-$t],[Lt+Nt,yt-$t]],dt=[[Lt-Nt,yt+$t],[Lt+Nt,yt+$t]]}return"M"+ut.join("L")+"L"+dt.reverse().join("L")+"Z"}function Bt(Re,Ne){return Ne=Math.max(Math.min(Ne,me),pe),Reye?(Re-1&&Re===1&&T(Ne,oe,[re.xaxis],[re.yaxis],re.id,ft),Qe.indexOf("event")>-1&&g.click(oe,Ne,re.id)}ft.prepFn=function(Re,Ne,Qe){var ut=oe._fullLayout.dragmode,dt=ze.getBoundingClientRect();oe._fullLayout._calcInverseTransform(oe);var _t=oe._fullLayout._invTransform;X=oe._fullLayout._invScaleX,Q=oe._fullLayout._invScaleY;var It=M.apply3DTransform(_t)(Ne-dt.left,Qe-dt.top);if(je=It[0],ge=It[1],Ce){var Lt=I.findPolygonOffset(me,Se[0],Se[1],Ce);je+=_e+Lt[0],ge+=Me+Lt[1]}switch(ut){case"zoom":ft.clickFn=ht,ie||(ft.moveFn=Ce?Je:Vt,ft.doneFn=qe,function(){we=null,Ee=null,Ve=re.pathSubplot(),Ye=!1;var yt=oe._fullLayout[re.id];$e=y(yt.bgcolor).getLuminance(),(st=p.makeZoombox(ce,$e,xe,Pe,Ve)).attr("fill-rule","evenodd"),ot=p.makeCorners(ce,xe,Pe),E(oe)}());break;case"select":case"lasso":x(Re,Ne,Qe,ft,ut)}},w.init(ft)},q.updateRadialDrag=function(Z,X,Q){var re=this,ie=re.gd,oe=re.layers,ue=re.radius,ce=re.innerRadius,ye=re.cx,de=re.cy,me=re.radialAxis,pe=R.radialDragBoxSize,xe=pe/2;if(me.visible){var Pe,_e,Me,Se=Y(re.radialAxisAngle),Ce=me._rl,ae=Ce[0],he=Ce[1],be=Ce[Q],ke=.75*(Ce[1]-Ce[0])/(1-re.getHole(X))/ue;Q?(Pe=ye+(ue+xe)*Math.cos(Se),_e=de-(ue+xe)*Math.sin(Se),Me="radialdrag"):(Pe=ye+(ce-xe)*Math.cos(Se),_e=de-(ce-xe)*Math.sin(Se),Me="radialdrag-inner");var Le,Be,ze,je=p.makeRectDragger(oe,Me,"crosshair",-xe,-xe,pe,pe),ge={element:je,gd:ie};Z.dragmode===!1&&(ge.dragmode=!1),te(d.select(je),me.visible&&ce0==(Q?ze>ae:zec?function(S){return S<=0}:function(S){return S>=0};a.c2g=function(S){var x=a.c2l(S)-o;return(g(x)?x:0)+w},a.g2c=function(S){return a.l2c(S+o-w)},a.g2p=function(S){return S*p},a.c2p=function(S){return a.g2p(a.c2g(S))}}})(v,h);break;case"angularaxis":(function(a,u){var s=a.type;if(s==="linear"){var o=a.d2c,c=a.c2d;a.d2c=function(f,p){return function(w,g){return g==="degrees"?i(w):w}(o(f),p)},a.c2d=function(f,p){return c(function(w,g){return g==="degrees"?M(w):w}(f,p))}}a.makeCalcdata=function(f,p){var w,g,S=f[p],x=f._length,T=function(b){return a.d2c(b,f.thetaunit)};if(S){if(d.isTypedArray(S)&&s==="linear"){if(x===S.length)return S;if(S.subarray)return S.subarray(0,x)}for(w=new Array(x),g=0;g0?1:0}function t(i){var M=i[0],v=i[1];if(!isFinite(M)||!isFinite(v))return[1,0];var h=(M+1)*(M+1)+v*v;return[(M*M+v*v-1)/h,2*v/h]}function d(i,M){var v=M[0],h=M[1];return[v*i.radius+i.cx,-h*i.radius+i.cy]}function y(i,M){return M*i.radius}k.exports={smith:t,reactanceArc:function(i,M,v,h){var l=d(i,t([v,M])),a=l[0],u=l[1],s=d(i,t([h,M])),o=s[0],c=s[1];if(M===0)return["M"+a+","+u,"L"+o+","+c].join(" ");var f=y(i,1/Math.abs(M));return["M"+a+","+u,"A"+f+","+f+" 0 0,"+(M<0?1:0)+" "+o+","+c].join(" ")},resistanceArc:function(i,M,v,h){var l=y(i,1/(M+1)),a=d(i,t([M,v])),u=a[0],s=a[1],o=d(i,t([M,h])),c=o[0],f=o[1];if(m(v)!==m(h)){var p=d(i,t([M,0]));return["M"+u+","+s,"A"+l+","+l+" 0 0,"+(00){for(var h=[],l=0;l=A&&(b.min=0,R.min=0,I.min=0,p.aaxis&&delete p.aaxis.min,p.baxis&&delete p.baxis.min,p.caxis&&delete p.caxis.min)}function f(p,w,g,S){var x=s[w._name];function T(R,I){return i.coerce(p,w,x,R,I)}T("uirevision",S.uirevision),w.type="linear";var E=T("color"),_=E!==x.color.dflt?E:g.font.color,A=w._name.charAt(0).toUpperCase(),L="Component "+A,b=T("title.text",L);w._hovertitle=b===L?b:A,i.coerceFont(T,"title.font",{family:g.font.family,size:i.bigFont(g.font.size),color:_}),T("min"),a(p,w,T,"linear"),h(p,w,T,"linear"),v(p,w,T,"linear"),l(p,w,T,{outerTicks:!0}),T("showticklabels")&&(i.coerceFont(T,"tickfont",{family:g.font.family,size:g.font.size,color:_}),T("tickangle"),T("tickformat")),u(p,w,T,{dfltColor:E,bgColor:g.bgColor,blend:60,showLine:!0,showGrid:!0,noZeroLine:!0,attributes:x}),T("hoverformat"),T("layer")}k.exports=function(p,w,g){M(p,w,g,{type:"ternary",attributes:s,handleDefaults:c,font:w.font,paper_bgcolor:w.paper_bgcolor})}},64380:function(k,m,t){var d=t(39898),y=t(84267),i=t(73972),M=t(71828),v=M.strTranslate,h=M._,l=t(7901),a=t(91424),u=t(21994),s=t(1426).extendFlat,o=t(74875),c=t(89298),f=t(28569),p=t(30211),w=t(64505),g=w.freeMode,S=w.rectMode,x=t(92998),T=t(47322).prepSelect,E=t(47322).selectOnClick,_=t(47322).clearOutline,A=t(47322).clearSelectionsCache,L=t(85555);function b(j,Y){this.id=j.id,this.graphDiv=j.graphDiv,this.init(Y),this.makeFramework(Y),this.aTickLayout=null,this.bTickLayout=null,this.cTickLayout=null}k.exports=b;var R=b.prototype;R.init=function(j){this.container=j._ternarylayer,this.defs=j._defs,this.layoutId=j._uid,this.traceHash={},this.layers={}},R.plot=function(j,Y){var U=this,G=Y[U.id],q=Y._size;U._hasClipOnAxisFalse=!1;for(var H=0;HI*ce?q=(H=ce)*I:H=(q=ue)/I,ne=ie*q/ue,te=oe*H/ce,U=Y.l+Y.w*Q-q/2,G=Y.t+Y.h*(1-re)-H/2,Z.x0=U,Z.y0=G,Z.w=q,Z.h=H,Z.sum=ye,Z.xaxis={type:"linear",range:[de+2*pe-ye,ye-de-2*me],domain:[Q-ne/2,Q+ne/2],_id:"x"},u(Z.xaxis,Z.graphDiv._fullLayout),Z.xaxis.setScale(),Z.xaxis.isPtWithinRange=function(Le){return Le.a>=Z.aaxis.range[0]&&Le.a<=Z.aaxis.range[1]&&Le.b>=Z.baxis.range[1]&&Le.b<=Z.baxis.range[0]&&Le.c>=Z.caxis.range[1]&&Le.c<=Z.caxis.range[0]},Z.yaxis={type:"linear",range:[de,ye-me-pe],domain:[re-te/2,re+te/2],_id:"y"},u(Z.yaxis,Z.graphDiv._fullLayout),Z.yaxis.setScale(),Z.yaxis.isPtWithinRange=function(){return!0};var xe=Z.yaxis.domain[0],Pe=Z.aaxis=s({},j.aaxis,{range:[de,ye-me-pe],side:"left",tickangle:(+j.aaxis.tickangle||0)-30,domain:[xe,xe+te*I],anchor:"free",position:0,_id:"y",_length:q});u(Pe,Z.graphDiv._fullLayout),Pe.setScale();var _e=Z.baxis=s({},j.baxis,{range:[ye-de-pe,me],side:"bottom",domain:Z.xaxis.domain,anchor:"free",position:0,_id:"x",_length:q});u(_e,Z.graphDiv._fullLayout),_e.setScale();var Me=Z.caxis=s({},j.caxis,{range:[ye-de-me,pe],side:"right",tickangle:(+j.caxis.tickangle||0)+30,domain:[xe,xe+te*I],anchor:"free",position:0,_id:"y",_length:q});u(Me,Z.graphDiv._fullLayout),Me.setScale();var Se="M"+U+","+(G+H)+"h"+q+"l-"+q/2+",-"+H+"Z";Z.clipDef.select("path").attr("d",Se),Z.layers.plotbg.select("path").attr("d",Se);var Ce="M0,"+H+"h"+q+"l-"+q/2+",-"+H+"Z";Z.clipDefRelative.select("path").attr("d",Ce);var ae=v(U,G);Z.plotContainer.selectAll(".scatterlayer,.maplayer").attr("transform",ae),Z.clipDefRelative.select("path").attr("transform",null);var he=v(U-_e._offset,G+H);Z.layers.baxis.attr("transform",he),Z.layers.bgrid.attr("transform",he);var be=v(U+q/2,G)+"rotate(30)"+v(0,-Pe._offset);Z.layers.aaxis.attr("transform",be),Z.layers.agrid.attr("transform",be);var ke=v(U+q/2,G)+"rotate(-30)"+v(0,-Me._offset);Z.layers.caxis.attr("transform",ke),Z.layers.cgrid.attr("transform",ke),Z.drawAxes(!0),Z.layers.aline.select("path").attr("d",Pe.showline?"M"+U+","+(G+H)+"l"+q/2+",-"+H:"M0,0").call(l.stroke,Pe.linecolor||"#000").style("stroke-width",(Pe.linewidth||0)+"px"),Z.layers.bline.select("path").attr("d",_e.showline?"M"+U+","+(G+H)+"h"+q:"M0,0").call(l.stroke,_e.linecolor||"#000").style("stroke-width",(_e.linewidth||0)+"px"),Z.layers.cline.select("path").attr("d",Me.showline?"M"+(U+q/2)+","+G+"l"+q/2+","+H:"M0,0").call(l.stroke,Me.linecolor||"#000").style("stroke-width",(Me.linewidth||0)+"px"),Z.graphDiv._context.staticPlot||Z.initInteractions(),a.setClipUrl(Z.layers.frontplot,Z._hasClipOnAxisFalse?null:Z.clipId,Z.graphDiv)},R.drawAxes=function(j){var Y=this,U=Y.graphDiv,G=Y.id.substr(7)+"title",q=Y.layers,H=Y.aaxis,ne=Y.baxis,te=Y.caxis;if(Y.drawAx(H),Y.drawAx(ne),Y.drawAx(te),j){var Z=Math.max(H.showticklabels?H.tickfont.size/2:0,(te.showticklabels?.75*te.tickfont.size:0)+(te.ticks==="outside"?.87*te.ticklen:0)),X=(ne.showticklabels?ne.tickfont.size:0)+(ne.ticks==="outside"?ne.ticklen:0)+3;q["a-title"]=x.draw(U,"a"+G,{propContainer:H,propName:Y.id+".aaxis.title",placeholder:h(U,"Click to enter Component A title"),attributes:{x:Y.x0+Y.w/2,y:Y.y0-H.title.font.size/3-Z,"text-anchor":"middle"}}),q["b-title"]=x.draw(U,"b"+G,{propContainer:ne,propName:Y.id+".baxis.title",placeholder:h(U,"Click to enter Component B title"),attributes:{x:Y.x0-X,y:Y.y0+Y.h+.83*ne.title.font.size+X,"text-anchor":"middle"}}),q["c-title"]=x.draw(U,"c"+G,{propContainer:te,propName:Y.id+".caxis.title",placeholder:h(U,"Click to enter Component C title"),attributes:{x:Y.x0+Y.w+X,y:Y.y0+Y.h+.83*te.title.font.size+X,"text-anchor":"middle"}})}},R.drawAx=function(j){var Y,U=this,G=U.graphDiv,q=j._name,H=q.charAt(0),ne=j._id,te=U.layers[q],Z=H+"tickLayout",X=(Y=j).ticks+String(Y.ticklen)+String(Y.showticklabels);U[Z]!==X&&(te.selectAll("."+ne+"tick").remove(),U[Z]=X),j.setScale();var Q=c.calcTicks(j),re=c.clipEnds(j,Q),ie=c.makeTransTickFn(j),oe=c.getTickSigns(j)[2],ue=M.deg2rad(30),ce=oe*(j.linewidth||1)/2,ye=oe*j.ticklen,de=U.w,me=U.h,pe=H==="b"?"M0,"+ce+"l"+Math.sin(ue)*ye+","+Math.cos(ue)*ye:"M"+ce+",0l"+Math.cos(ue)*ye+","+-Math.sin(ue)*ye,xe={a:"M0,0l"+me+",-"+de/2,b:"M0,0l-"+de/2+",-"+me,c:"M0,0l-"+me+","+de/2}[H];c.drawTicks(G,j,{vals:j.ticks==="inside"?re:Q,layer:te,path:pe,transFn:ie,crisp:!1}),c.drawGrid(G,j,{vals:re,layer:U.layers[H+"grid"],path:xe,transFn:ie,crisp:!1}),c.drawLabels(G,j,{vals:Q,layer:te,transFn:ie,labelFns:c.makeLabelFns(j,0,30)})};var O=L.MINZOOM/2+.87,z="m-0.87,.5h"+O+"v3h-"+(O+5.2)+"l"+(O/2+2.6)+",-"+(.87*O+4.5)+"l2.6,1.5l-"+O/2+","+.87*O+"Z",F="m0.87,.5h-"+O+"v3h"+(O+5.2)+"l-"+(O/2+2.6)+",-"+(.87*O+4.5)+"l-2.6,1.5l"+O/2+","+.87*O+"Z",B="m0,1l"+O/2+","+.87*O+"l2.6,-1.5l-"+(O/2+2.6)+",-"+(.87*O+4.5)+"l-"+(O/2+2.6)+","+(.87*O+4.5)+"l2.6,1.5l"+O/2+",-"+.87*O+"Z",N=!0;function W(j){d.select(j).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}R.clearOutline=function(){A(this.dragOptions),_(this.dragOptions.gd)},R.initInteractions=function(){var j,Y,U,G,q,H,ne,te,Z,X,Q,re,ie=this,oe=ie.layers.plotbg.select("path").node(),ue=ie.graphDiv,ce=ue._fullLayout._zoomlayer;function ye(Ce){var ae={};return ae[ie.id+".aaxis.min"]=Ce.a,ae[ie.id+".baxis.min"]=Ce.b,ae[ie.id+".caxis.min"]=Ce.c,ae}function de(Ce,ae){var he=ue._fullLayout.clickmode;W(ue),Ce===2&&(ue.emit("plotly_doubleclick",null),i.call("_guiRelayout",ue,ye({a:0,b:0,c:0}))),he.indexOf("select")>-1&&Ce===1&&E(ae,ue,[ie.xaxis],[ie.yaxis],ie.id,ie.dragOptions),he.indexOf("event")>-1&&p.click(ue,ae,ie.id)}function me(Ce,ae){return 1-ae/ie.h}function pe(Ce,ae){return 1-(Ce+(ie.h-ae)/Math.sqrt(3))/ie.w}function xe(Ce,ae){return(Ce-(ie.h-ae)/Math.sqrt(3))/ie.w}function Pe(Ce,ae){var he=U+Ce*j,be=G+ae*Y,ke=Math.max(0,Math.min(1,me(0,G),me(0,be))),Le=Math.max(0,Math.min(1,pe(U,G),pe(he,be))),Be=Math.max(0,Math.min(1,xe(U,G),xe(he,be))),ze=(ke/2+Be)*ie.w,je=(1-ke/2-Le)*ie.w,ge=(ze+je)/2,we=je-ze,Ee=(1-ke)*ie.h,Ve=Ee-we/I;we.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),re.transition().style("opacity",1).duration(200),X=!0),ue.emit("plotly_relayouting",ye(ne))}function _e(){W(ue),ne!==q&&(i.call("_guiRelayout",ue,ye(ne)),N&&ue.data&&ue._context.showTips&&(M.notifier(h(ue,"Double-click to zoom back out"),"long"),N=!1))}function Me(Ce,ae){var he=Ce/ie.xaxis._m,be=ae/ie.yaxis._m,ke=[(ne={a:q.a-be,b:q.b+(he+be)/2,c:q.c-(he-be)/2}).a,ne.b,ne.c].sort(M.sorterAsc),Le=ke.indexOf(ne.a),Be=ke.indexOf(ne.b),ze=ke.indexOf(ne.c);ke[0]<0&&(ke[1]+ke[0]/2<0?(ke[2]+=ke[0]+ke[1],ke[0]=ke[1]=0):(ke[2]+=ke[0]/2,ke[1]+=ke[0]/2,ke[0]=0),ne={a:ke[Le],b:ke[Be],c:ke[ze]},ae=(q.a-ne.a)*ie.yaxis._m,Ce=(q.c-ne.c-q.b+ne.b)*ie.xaxis._m);var je=v(ie.x0+Ce,ie.y0+ae);ie.plotContainer.selectAll(".scatterlayer,.maplayer").attr("transform",je);var ge=v(-Ce,-ae);ie.clipDefRelative.select("path").attr("transform",ge),ie.aaxis.range=[ne.a,ie.sum-ne.b-ne.c],ie.baxis.range=[ie.sum-ne.a-ne.c,ne.b],ie.caxis.range=[ie.sum-ne.a-ne.b,ne.c],ie.drawAxes(!1),ie._hasClipOnAxisFalse&&ie.plotContainer.select(".scatterlayer").selectAll(".trace").call(a.hideOutsideRangePoints,ie),ue.emit("plotly_relayouting",ye(ne))}function Se(){i.call("_guiRelayout",ue,ye(ne))}this.dragOptions={element:oe,gd:ue,plotinfo:{id:ie.id,domain:ue._fullLayout[ie.id].domain,xaxis:ie.xaxis,yaxis:ie.yaxis},subplot:ie.id,prepFn:function(Ce,ae,he){ie.dragOptions.xaxes=[ie.xaxis],ie.dragOptions.yaxes=[ie.yaxis],j=ue._fullLayout._invScaleX,Y=ue._fullLayout._invScaleY;var be=ie.dragOptions.dragmode=ue._fullLayout.dragmode;g(be)?ie.dragOptions.minDrag=1:ie.dragOptions.minDrag=void 0,be==="zoom"?(ie.dragOptions.moveFn=Pe,ie.dragOptions.clickFn=de,ie.dragOptions.doneFn=_e,function(ke,Le,Be){var ze=oe.getBoundingClientRect();U=Le-ze.left,G=Be-ze.top,ue._fullLayout._calcInverseTransform(ue);var je=ue._fullLayout._invTransform,ge=M.apply3DTransform(je)(U,G);U=ge[0],G=ge[1],q={a:ie.aaxis.range[0],b:ie.baxis.range[1],c:ie.caxis.range[1]},ne=q,H=ie.aaxis.range[1]-q.a,te=y(ie.graphDiv._fullLayout[ie.id].bgcolor).getLuminance(),Z="M0,"+ie.h+"L"+ie.w/2+", 0L"+ie.w+","+ie.h+"Z",X=!1,Q=ce.append("path").attr("class","zoombox").attr("transform",v(ie.x0,ie.y0)).style({fill:te>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("d",Z),re=ce.append("path").attr("class","zoombox-corners").attr("transform",v(ie.x0,ie.y0)).style({fill:l.background,stroke:l.defaultLine,"stroke-width":1,opacity:0}).attr("d","M0,0Z"),ie.clearOutline(ue)}(0,ae,he)):be==="pan"?(ie.dragOptions.moveFn=Me,ie.dragOptions.clickFn=de,ie.dragOptions.doneFn=Se,q={a:ie.aaxis.range[0],b:ie.baxis.range[1],c:ie.caxis.range[1]},ne=q,ie.clearOutline(ue)):(S(be)||g(be))&&T(Ce,ae,he,ie.dragOptions,be)}},oe.onmousemove=function(Ce){p.hover(ue,Ce,ie.id),ue._fullLayout._lasthover=oe,ue._fullLayout._hoversubplot=ie.id},oe.onmouseout=function(Ce){ue._dragging||f.unhover(ue,Ce)},f.init(this.dragOptions)}},73972:function(k,m,t){var d=t(47769),y=t(64213),i=t(75138),M=t(41965),v=t(24401).addStyleRule,h=t(1426),l=t(9012),a=t(10820),u=h.extendFlat,s=h.extendDeepAll;function o(E){var _=E.name,A=E.categories,L=E.meta;if(m.modules[_])d.log("Type "+_+" already registered");else{m.subplotsRegistry[E.basePlotModule.name]||function(N){var W=N.name;if(m.subplotsRegistry[W])d.log("Plot type "+W+" already registered.");else for(var j in w(N),m.subplotsRegistry[W]=N,m.componentsRegistry)x(j,N.name)}(E.basePlotModule);for(var b={},R=0;R-1&&(f[w[a]].title={text:""});for(a=0;a")!==-1?"":R.html(O).text()});return R.remove(),I}(L)).replace(/&(?!\w+;|\#[0-9]+;| \#x[0-9A-F]+;)/g,"&")).replace(a,"'"),y.isIE()&&(L=(L=(L=L.replace(/"/gi,"'")).replace(/(\('#)([^']*)('\))/gi,'("#$2")')).replace(/(\\')/gi,'"')),L}},75341:function(k,m,t){var d=t(71828);k.exports=function(y,i){for(var M=0;MI+b||!d(R))}for(var z=0;z<_.length;z++){for(var F=_[z],B=F[0].trace,N=[],W=!1,j=!1,Y=0;Ya))return v}return h!==void 0?h:M.dflt},m.coerceColor=function(M,v,h){return y(v).isValid()?v:h!==void 0?h:M.dflt},m.coerceEnumerated=function(M,v,h){return M.coerceNumber&&(v=+v),M.values.indexOf(v)!==-1?v:h!==void 0?h:M.dflt},m.getValue=function(M,v){var h;return Array.isArray(M)?v0?ye+=de:g<0&&(ye-=de)}return ye}function te(ce){var ye=g,de=ce.b,me=ne(ce);return d.inbox(de-ye,me-ye,O+(me-ye)/(me-de)-1)}var Z=s[S+"a"],X=s[x+"a"];_=Math.abs(Z.r2c(Z.range[1])-Z.r2c(Z.range[0]));var Q=d.getDistanceFunction(f,T,E,function(ce){return(T(ce)+E(ce))/2});if(d.getClosest(A,Q,s),s.index!==!1&&A[s.index].p!==l){B||(U=function(ce){return Math.min(N(ce),ce.p-b.bargroupwidth/2)},G=function(ce){return Math.max(W(ce),ce.p+b.bargroupwidth/2)});var re=A[s.index],ie=L.base?re.b+re.s:re.s;s[x+"0"]=s[x+"1"]=X.c2p(re[x],!0),s[x+"LabelVal"]=ie;var oe=b.extents[b.extents.round(re.p)];s[S+"0"]=Z.c2p(R?U(re):oe[0],!0),s[S+"1"]=Z.c2p(R?G(re):oe[1],!0);var ue=re.orig_p!==void 0;return s[S+"LabelVal"]=ue?re.orig_p:re.p,s.labelLabel=h(Z,s[S+"LabelVal"],L[S+"hoverformat"]),s.valueLabel=h(X,s[x+"LabelVal"],L[x+"hoverformat"]),s.baseLabel=h(X,re.b,L[x+"hoverformat"]),s.spikeDistance=(function(ce){var ye=g,de=ce.b,me=ne(ce);return d.inbox(de-ye,me-ye,z+(me-ye)/(me-de)-1)}(re)+function(ce){return q(N(ce),W(ce),z)}(re))/2,s[S+"Spike"]=Z.c2p(re.p,!0),M(re,L,s),s.hovertemplate=L.hovertemplate,s}}function u(s,o){var c=o.mcc||s.marker.color,f=o.mlcc||s.marker.line.color,p=v(s,o);return i.opacity(c)?c:i.opacity(f)&&p?f:void 0}k.exports={hoverPoints:function(s,o,c,f,p){var w=a(s,o,c,f,p);if(w){var g=w.cd,S=g[0].trace,x=g[w.index];return w.color=u(S,x),y.getComponentMethod("errorbars","hoverInfo")(x,S,w),[w]}},hoverOnBars:a,getTraceColor:u}},60822:function(k,m,t){k.exports={attributes:t(1486),layoutAttributes:t(43641),supplyDefaults:t(90769).supplyDefaults,crossTraceDefaults:t(90769).crossTraceDefaults,supplyLayoutDefaults:t(13957),calc:t(92290),crossTraceCalc:t(11661).crossTraceCalc,colorbar:t(4898),arraysToCalcdata:t(75341),plot:t(17295).plot,style:t(16688).style,styleOnSelect:t(16688).styleOnSelect,hoverPoints:t(95423).hoverPoints,eventData:t(58065),selectPoints:t(81974),moduleType:"trace",name:"bar",basePlotModule:t(93612),categories:["bar-like","cartesian","svg","bar","oriented","errorBarsOK","showLegend","zoomScale"],animatable:!0,meta:{}}},43641:function(k){k.exports={barmode:{valType:"enumerated",values:["stack","group","overlay","relative"],dflt:"group",editType:"calc"},barnorm:{valType:"enumerated",values:["","fraction","percent"],dflt:"",editType:"calc"},bargap:{valType:"number",min:0,max:1,editType:"calc"},bargroupgap:{valType:"number",min:0,max:1,dflt:0,editType:"calc"}}},13957:function(k,m,t){var d=t(73972),y=t(89298),i=t(71828),M=t(43641);k.exports=function(v,h,l){function a(S,x){return i.coerce(v,h,M,S,x)}for(var u=!1,s=!1,o=!1,c={},f=a("barmode"),p=0;p0}function R(z){return z==="auto"?0:z}function I(z,F){var B=Math.PI/180*F,N=Math.abs(Math.sin(B)),W=Math.abs(Math.cos(B));return{x:z.width*W+z.height*N,y:z.width*N+z.height*W}}function O(z,F,B,N,W,j){var Y=!!j.isHorizontal,U=!!j.constrained,G=j.angle||0,q=j.anchor||"end",H=q==="end",ne=q==="start",te=((j.leftToRight||0)+1)/2,Z=1-te,X=W.width,Q=W.height,re=Math.abs(F-z),ie=Math.abs(N-B),oe=re>2*T&&ie>2*T?T:0;re-=2*oe,ie-=2*oe;var ue=R(G);G!=="auto"||X<=re&&Q<=ie||!(X>re||Q>ie)||(X>ie||Q>re)&&X.01?Be:function(we,Ee,Ve){return Ve&&we===Ee?we:Math.abs(we-Ee)>=2?Be(we):we>Ee?Math.ceil(we):Math.floor(we)};Ce=ze(Ce,ae,oe),ae=ze(ae,Ce,oe),he=ze(he,be,!oe),be=ze(be,he,!oe)}var je=L(i.ensureSingle(Me,"path"),G,W,j);if(je.style("vector-effect",q?"none":"non-scaling-stroke").attr("d",isNaN((ae-Ce)*(be-he))||ke&&z._context.staticPlot?"M0,0Z":"M"+Ce+","+he+"V"+be+"H"+ae+"V"+he+"Z").call(h.setClipUrl,F.layerClipId,z),!G.uniformtext.mode&&ue){var ge=h.makePointStyleFns(Z);h.singlePointStyle(pe,je,Z,ge,z)}(function(we,Ee,Ve,Ye,$e,st,ot,ft,bt,Et,kt){var xt,Ft=Ee.xaxis,Ot=Ee.yaxis,Bt=we._fullLayout;function qt(Qt,rn,xn){return i.ensureSingle(Qt,"text").text(rn).attr({class:"bartext bartext-"+xt,"text-anchor":"middle","data-notex":1}).call(h.font,xn).call(M.convertToTspans,we)}var Vt=Ye[0].trace,Ke=Vt.orientation==="h",Je=function(Qt,rn,xn,un,An){var $n,kn=rn[0].trace;return $n=kn.texttemplate?function(sn,Tn,dn,pn,Dn){var In=Tn[0].trace,jn=i.castOption(In,dn,"texttemplate");if(!jn)return"";var Gn,qn,lr,rr,Sr=In.type==="histogram",yr=In.type==="waterfall",or=In.type==="funnel",vr=In.orientation==="h";function _r(Yn){return a(rr,rr.c2l(Yn),!0).text}vr?(Gn="y",qn=Dn,lr="x",rr=pn):(Gn="x",qn=pn,lr="y",rr=Dn);var Kt,bn=Tn[dn],Rn={};Rn.label=bn.p,Rn.labelLabel=Rn[Gn+"Label"]=(Kt=bn.p,a(qn,qn.c2l(Kt),!0).text);var Ln=i.castOption(In,bn.i,"text");(Ln===0||Ln)&&(Rn.text=Ln),Rn.value=bn.s,Rn.valueLabel=Rn[lr+"Label"]=_r(bn.s);var Un={};x(Un,In,bn.i),(Sr||Un.x===void 0)&&(Un.x=vr?Rn.value:Rn.label),(Sr||Un.y===void 0)&&(Un.y=vr?Rn.label:Rn.value),(Sr||Un.xLabel===void 0)&&(Un.xLabel=vr?Rn.valueLabel:Rn.labelLabel),(Sr||Un.yLabel===void 0)&&(Un.yLabel=vr?Rn.labelLabel:Rn.valueLabel),yr&&(Rn.delta=+bn.rawS||bn.s,Rn.deltaLabel=_r(Rn.delta),Rn.final=bn.v,Rn.finalLabel=_r(Rn.final),Rn.initial=Rn.final-Rn.delta,Rn.initialLabel=_r(Rn.initial)),or&&(Rn.value=bn.s,Rn.valueLabel=_r(Rn.value),Rn.percentInitial=bn.begR,Rn.percentInitialLabel=i.formatPercent(bn.begR),Rn.percentPrevious=bn.difR,Rn.percentPreviousLabel=i.formatPercent(bn.difR),Rn.percentTotal=bn.sumR,Rn.percenTotalLabel=i.formatPercent(bn.sumR));var Kn=i.castOption(In,bn.i,"customdata");return Kn&&(Rn.customdata=Kn),i.texttemplateString(jn,Rn,sn._d3locale,Un,Rn,In._meta||{})}(Qt,rn,xn,un,An):kn.textinfo?function(sn,Tn,dn,pn){var Dn=sn[0].trace,In=Dn.orientation==="h",jn=Dn.type==="waterfall",Gn=Dn.type==="funnel";function qn(Kn){return a(In?dn:pn,+Kn,!0).text}var lr,rr,Sr=Dn.textinfo,yr=sn[Tn],or=Sr.split("+"),vr=[],_r=function(Kn){return or.indexOf(Kn)!==-1};if(_r("label")&&vr.push((rr=sn[Tn].p,a(In?pn:dn,rr,!0).text)),_r("text")&&((lr=i.castOption(Dn,yr.i,"text"))===0||lr)&&vr.push(lr),jn){var Kt=+yr.rawS||yr.s,bn=yr.v,Rn=bn-Kt;_r("initial")&&vr.push(qn(Rn)),_r("delta")&&vr.push(qn(Kt)),_r("final")&&vr.push(qn(bn))}if(Gn){_r("value")&&vr.push(qn(yr.s));var Ln=0;_r("percent initial")&&Ln++,_r("percent previous")&&Ln++,_r("percent total")&&Ln++;var Un=Ln>1;_r("percent initial")&&(lr=i.formatPercent(yr.begR),Un&&(lr+=" of initial"),vr.push(lr)),_r("percent previous")&&(lr=i.formatPercent(yr.difR),Un&&(lr+=" of previous"),vr.push(lr)),_r("percent total")&&(lr=i.formatPercent(yr.sumR),Un&&(lr+=" of total"),vr.push(lr))}return vr.join("
")}(rn,xn,un,An):f.getValue(kn.text,xn),f.coerceString(g,$n)}(Bt,Ye,$e,Ft,Ot);xt=function(Qt,rn){var xn=f.getValue(Qt.textposition,rn);return f.coerceEnumerated(S,xn)}(Vt,$e);var qe=Et.mode==="stack"||Et.mode==="relative",nt=Ye[$e],ht=!qe||nt._outmost;if(Je&&xt!=="none"&&(!nt.isBlank&&st!==ot&&ft!==bt||xt!=="auto"&&xt!=="inside")){var Re=Bt.font,Ne=c.getBarColor(Ye[$e],Vt),Qe=c.getInsideTextFont(Vt,$e,Re,Ne),ut=c.getOutsideTextFont(Vt,$e,Re),dt=Ve.datum();Ke?Ft.type==="log"&&dt.s0<=0&&(st=Ft.range[0]0&&yt>0&&(Lt<=wt&&yt<=Rt||Lt<=Rt&&yt<=wt||(Ke?wt>=Lt*(Rt/yt):Rt>=yt*(wt/Lt)))?xt="inside":(xt="outside",_t.remove(),_t=null)):xt="inside"),!_t){var Nt=(_t=qt(Ve,Je,Pt=i.ensureUniformFontSize(we,xt==="outside"?ut:Qe))).attr("transform");if(_t.attr("transform",""),Lt=(It=h.bBox(_t.node())).width,yt=It.height,_t.attr("transform",Nt),Lt<=0||yt<=0)return void _t.remove()}var $t,Wt=Vt.textangle;$t=xt==="outside"?function(Qt,rn,xn,un,An,$n){var kn,sn=!!$n.isHorizontal,Tn=!!$n.constrained,dn=$n.angle||0,pn=An.width,Dn=An.height,In=Math.abs(rn-Qt),jn=Math.abs(un-xn);kn=sn?jn>2*T?T:0:In>2*T?T:0;var Gn=1;Tn&&(Gn=sn?Math.min(1,jn/Dn):Math.min(1,In/pn));var qn=R(dn),lr=I(An,qn),rr=(sn?lr.x:lr.y)/2,Sr=(An.left+An.right)/2,yr=(An.top+An.bottom)/2,or=(Qt+rn)/2,vr=(xn+un)/2,_r=0,Kt=0,bn=sn?A(rn,Qt):A(xn,un);return sn?(or=rn-bn*kn,_r=bn*rr):(vr=un+bn*kn,Kt=-bn*rr),{textX:Sr,textY:yr,targetX:or,targetY:vr,anchorX:_r,anchorY:Kt,scale:Gn,rotate:qn}}(st,ot,ft,bt,It,{isHorizontal:Ke,constrained:Vt.constraintext==="both"||Vt.constraintext==="outside",angle:Wt}):O(st,ot,ft,bt,It,{isHorizontal:Ke,constrained:Vt.constraintext==="both"||Vt.constraintext==="inside",angle:Wt,anchor:Vt.insidetextanchor}),$t.fontSize=Pt.size,s(Vt.type==="histogram"?"bar":Vt.type,$t,Bt),nt.transform=$t;var Xt=L(_t,Bt,Et,kt);i.setTransormAndDisplay(Xt,$t)}else Ve.select("text").remove()})(z,F,Me,ne,xe,Ce,ae,he,be,W,j),F.layerClipId&&h.hideOutsideRangePoint(pe,Me.select("text"),Y,U,Z.xcalendar,Z.ycalendar)});var me=Z.cliponaxis===!1;h.setClipUrl(te,me?null:F.layerClipId,z)});l.getComponentMethod("errorbars","plot")(z,H,F,W)},toMoveInsideBar:O}},81974:function(k){function m(t,d,y,i,M){var v=d.c2p(i?t.s0:t.p0,!0),h=d.c2p(i?t.s1:t.p1,!0),l=y.c2p(i?t.p0:t.s0,!0),a=y.c2p(i?t.p1:t.s1,!0);return M?[(v+h)/2,(l+a)/2]:i?[h,(l+a)/2]:[(v+h)/2,a]}k.exports=function(t,d){var y,i=t.cd,M=t.xaxis,v=t.yaxis,h=i[0].trace,l=h.type==="funnel",a=h.orientation==="h",u=[];if(d===!1)for(y=0;y1||L.bargap===0&&L.bargroupgap===0&&!b[0].trace.marker.line.width)&&d.select(this).attr("shape-rendering","crispEdges")}),_.selectAll("g.points").each(function(b){c(d.select(this),b[0].trace,E)}),v.getComponentMethod("errorbars","style")(_)},styleTextPoints:f,styleOnSelect:function(E,_,A){var L=_[0].trace;L.selectedpoints?function(b,R,I){i.selectedPointStyle(b.selectAll("path"),R),function(O,z,F){O.each(function(B){var N,W=d.select(this);if(B.selected){N=M.ensureUniformFontSize(F,p(W,B,z,F));var j=z.selected.textfont&&z.selected.textfont.color;j&&(N.color=j),i.font(W,N)}else i.selectedTextStyle(W,z)})}(b.selectAll("text"),R,I)}(A,L,E):(c(A,L,E),v.getComponentMethod("errorbars","style")(A))},getInsideTextFont:g,getOutsideTextFont:S,getBarColor:T,resizeText:h}},98340:function(k,m,t){var d=t(7901),y=t(52075).hasColorscale,i=t(1586),M=t(71828).coercePattern;k.exports=function(v,h,l,a,u){var s=l("marker.color",a),o=y(v,"marker");o&&i(v,h,u,l,{prefix:"marker.",cLetter:"c"}),l("marker.line.color",d.defaultLine),y(v,"marker.line")&&i(v,h,u,l,{prefix:"marker.line.",cLetter:"c"}),l("marker.line.width"),l("marker.opacity"),M(l,"marker.pattern",s,o),l("selected.marker.color"),l("unselected.marker.color")}},72597:function(k,m,t){var d=t(39898),y=t(71828);function i(M){return"_"+M+"Text_minsize"}k.exports={recordMinTextSize:function(M,v,h){if(h.uniformtext.mode){var l=i(M),a=h.uniformtext.minsize,u=v.scale*v.fontSize;v.hide=uf.range[1]&&(E+=Math.PI),d.getClosest(s,function(L){return g(T,E,[L.rp0,L.rp1],[L.thetag0,L.thetag1],w)?S+Math.min(1,Math.abs(L.thetag1-L.thetag0)/x)-1+(L.rp1-T)/(L.rp1-L.rp0)-1:1/0},l),l.index!==!1){var _=s[l.index];l.x0=l.x1=_.ct[0],l.y0=l.y1=_.ct[1];var A=y.extendFlat({},_,{r:_.s,theta:_.p});return M(_,o,l),v(A,o,c,l),l.hovertemplate=o.hovertemplate,l.color=i(o,_),l.xLabelVal=l.yLabelVal=void 0,_.s<0&&(l.idealAlign="left"),[l]}}},23381:function(k,m,t){k.exports={moduleType:"trace",name:"barpolar",basePlotModule:t(23580),categories:["polar","bar","showLegend"],attributes:t(55023),layoutAttributes:t(40151),supplyDefaults:t(6135),supplyLayoutDefaults:t(19860),calc:t(74692).calc,crossTraceCalc:t(74692).crossTraceCalc,plot:t(60173),colorbar:t(4898),formatLabels:t(98608),style:t(16688).style,styleOnSelect:t(16688).styleOnSelect,hoverPoints:t(27379),selectPoints:t(81974),meta:{}}},40151:function(k){k.exports={barmode:{valType:"enumerated",values:["stack","overlay"],dflt:"stack",editType:"calc"},bargap:{valType:"number",dflt:.1,min:0,max:1,editType:"calc"}}},19860:function(k,m,t){var d=t(71828),y=t(40151);k.exports=function(i,M,v){var h,l={};function a(o,c){return d.coerce(i[h]||{},M[h],y,o,c)}for(var u=0;u0?(L=_,b=A):(L=A,b=_);var R=[v.findEnclosingVertexAngles(L,g.vangles)[0],(L+b)/2,v.findEnclosingVertexAngles(b,g.vangles)[1]];return v.pathPolygonAnnulus(T,E,L,b,R,S,x)}:function(T,E,_,A){return i.pathAnnulus(T,E,_,A,S,x)}}(l),w=l.layers.frontplot.select("g.barlayer");i.makeTraceGroups(w,a,"trace bars").each(function(){var g=d.select(this),S=i.ensureSingle(g,"g","points").selectAll("g.point").data(i.identity);S.enter().append("g").style("vector-effect",u?"none":"non-scaling-stroke").style("stroke-miterlimit",2).classed("point",!0),S.exit().remove(),S.each(function(x){var T,E=d.select(this),_=x.rp0=c.c2p(x.s0),A=x.rp1=c.c2p(x.s1),L=x.thetag0=f.c2g(x.p0),b=x.thetag1=f.c2g(x.p1);if(y(_)&&y(A)&&y(L)&&y(b)&&_!==A&&L!==b){var R=c.c2g(x.s1),I=(L+b)/2;x.ct=[s.c2p(R*Math.cos(I)),o.c2p(R*Math.sin(I))],T=p(_,A,L,b)}else T="M0,0Z";i.ensureSingle(E,"path").attr("d",T)}),M.setClipUrl(g,l._hasClipOnAxisFalse?l.clipIds.forTraces:null,h)})}},53522:function(k,m,t){var d=t(82196),y=t(1486),i=t(22399),M=t(12663).axisHoverFormat,v=t(5386).fF,h=t(1426).extendFlat,l=d.marker,a=l.line;k.exports={y:{valType:"data_array",editType:"calc+clearAxisTypes"},x:{valType:"data_array",editType:"calc+clearAxisTypes"},x0:{valType:"any",editType:"calc+clearAxisTypes"},y0:{valType:"any",editType:"calc+clearAxisTypes"},dx:{valType:"number",editType:"calc"},dy:{valType:"number",editType:"calc"},xperiod:d.xperiod,yperiod:d.yperiod,xperiod0:d.xperiod0,yperiod0:d.yperiod0,xperiodalignment:d.xperiodalignment,yperiodalignment:d.yperiodalignment,xhoverformat:M("x"),yhoverformat:M("y"),name:{valType:"string",editType:"calc+clearAxisTypes"},q1:{valType:"data_array",editType:"calc+clearAxisTypes"},median:{valType:"data_array",editType:"calc+clearAxisTypes"},q3:{valType:"data_array",editType:"calc+clearAxisTypes"},lowerfence:{valType:"data_array",editType:"calc"},upperfence:{valType:"data_array",editType:"calc"},notched:{valType:"boolean",editType:"calc"},notchwidth:{valType:"number",min:0,max:.5,dflt:.25,editType:"calc"},notchspan:{valType:"data_array",editType:"calc"},boxpoints:{valType:"enumerated",values:["all","outliers","suspectedoutliers",!1],editType:"calc"},jitter:{valType:"number",min:0,max:1,editType:"calc"},pointpos:{valType:"number",min:-2,max:2,editType:"calc"},boxmean:{valType:"enumerated",values:[!0,"sd",!1],editType:"calc"},mean:{valType:"data_array",editType:"calc"},sd:{valType:"data_array",editType:"calc"},orientation:{valType:"enumerated",values:["v","h"],editType:"calc+clearAxisTypes"},quartilemethod:{valType:"enumerated",values:["linear","exclusive","inclusive"],dflt:"linear",editType:"calc"},width:{valType:"number",min:0,dflt:0,editType:"calc"},marker:{outliercolor:{valType:"color",dflt:"rgba(0, 0, 0, 0)",editType:"style"},symbol:h({},l.symbol,{arrayOk:!1,editType:"plot"}),opacity:h({},l.opacity,{arrayOk:!1,dflt:1,editType:"style"}),angle:h({},l.angle,{arrayOk:!1,editType:"calc"}),size:h({},l.size,{arrayOk:!1,editType:"calc"}),color:h({},l.color,{arrayOk:!1,editType:"style"}),line:{color:h({},a.color,{arrayOk:!1,dflt:i.defaultLine,editType:"style"}),width:h({},a.width,{arrayOk:!1,dflt:0,editType:"style"}),outliercolor:{valType:"color",editType:"style"},outlierwidth:{valType:"number",min:0,dflt:1,editType:"style"},editType:"style"},editType:"plot"},line:{color:{valType:"color",editType:"style"},width:{valType:"number",min:0,dflt:2,editType:"style"},editType:"plot"},fillcolor:d.fillcolor,whiskerwidth:{valType:"number",min:0,max:1,dflt:.5,editType:"calc"},offsetgroup:y.offsetgroup,alignmentgroup:y.alignmentgroup,selected:{marker:d.selected.marker,editType:"style"},unselected:{marker:d.unselected.marker,editType:"style"},text:h({},d.text,{}),hovertext:h({},d.hovertext,{}),hovertemplate:v({}),hoveron:{valType:"flaglist",flags:["boxes","points"],dflt:"boxes+points",editType:"style"}}},48518:function(k,m,t){var d=t(92770),y=t(89298),i=t(42973),M=t(71828),v=t(50606).BADNUM,h=M._;k.exports=function(g,S){var x,T,E,_,A,L,b,R=g._fullLayout,I=y.getFromId(g,S.xaxis||"x"),O=y.getFromId(g,S.yaxis||"y"),z=[],F=S.type==="violin"?"_numViolins":"_numBoxes";S.orientation==="h"?(E=I,_="x",A=O,L="y",b=!!S.yperiodalignment):(E=O,_="y",A=I,L="x",b=!!S.xperiodalignment);var B,N,W,j,Y,U,G=function(Ee,Ve,Ye,$e){var st,ot=Ve+"0"in Ee;if(Ve in Ee||ot&&"d"+Ve in Ee){var ft=Ye.makeCalcdata(Ee,Ve);return[i(Ee,Ye,Ve,ft).vals,ft]}st=ot?Ee[Ve+"0"]:"name"in Ee&&(Ye.type==="category"||d(Ee.name)&&["linear","log"].indexOf(Ye.type)!==-1||M.isDateTime(Ee.name)&&Ye.type==="date")?Ee.name:$e;for(var bt=Ye.type==="multicategory"?Ye.r2c_just_indices(st):Ye.d2c(st,0,Ee[Ve+"calendar"]),Et=Ee._length,kt=new Array(Et),xt=0;xtB.uf};if(S._hasPreCompStats){var Q=S[_],re=function(Ee){return E.d2c((S[Ee]||[])[x])},ie=1/0,oe=-1/0;for(x=0;x=B.q1&&B.q3>=B.med){var ce=re("lowerfence");B.lf=ce!==v&&ce<=B.q1?ce:o(B,W,j);var ye=re("upperfence");B.uf=ye!==v&&ye>=B.q3?ye:c(B,W,j);var de=re("mean");B.mean=de!==v?de:j?M.mean(W,j):(B.q1+B.q3)/2;var me=re("sd");B.sd=de!==v&&me>=0?me:j?M.stdev(W,j,B.mean):B.q3-B.q1,B.lo=f(B),B.uo=p(B);var pe=re("notchspan");pe=pe!==v&&pe>0?pe:w(B,j),B.ln=B.med-pe,B.un=B.med+pe;var xe=B.lf,Pe=B.uf;S.boxpoints&&W.length&&(xe=Math.min(xe,W[0]),Pe=Math.max(Pe,W[j-1])),S.notched&&(xe=Math.min(xe,B.ln),Pe=Math.max(Pe,B.un)),B.min=xe,B.max=Pe}else{var _e;M.warn(["Invalid input - make sure that q1 <= median <= q3","q1 = "+B.q1,"median = "+B.med,"q3 = "+B.q3].join(` -`)),_e=B.med!==v?B.med:B.q1!==v?B.q3!==v?(B.q1+B.q3)/2:B.q1:B.q3!==v?B.q3:0,B.med=_e,B.q1=B.q3=_e,B.lf=B.uf=_e,B.mean=B.sd=_e,B.ln=B.un=_e,B.min=B.max=_e}ie=Math.min(ie,B.min),oe=Math.max(oe,B.max),B.pts2=N.filter(X),z.push(B)}}S._extremes[E._id]=y.findExtremes(E,[ie,oe],{padded:!0})}else{var Me=E.makeCalcdata(S,_),Se=function(Ee,Ve){for(var Ye=Ee.length,$e=new Array(Ye+1),st=0;st=0&&he0){var je,ge;(B={}).pos=B[L]=te[x],N=B.pts=ae[x].sort(u),j=(W=B[_]=N.map(s)).length,B.min=W[0],B.max=W[j-1],B.mean=M.mean(W,j),B.sd=M.stdev(W,j,B.mean),B.med=M.interp(W,.5),j%2&&(Be||ze)?(Be?(je=W.slice(0,j/2),ge=W.slice(j/2+1)):ze&&(je=W.slice(0,j/2+1),ge=W.slice(j/2)),B.q1=M.interp(je,.5),B.q3=M.interp(ge,.5)):(B.q1=M.interp(W,.25),B.q3=M.interp(W,.75)),B.lf=o(B,W,j),B.uf=c(B,W,j),B.lo=f(B),B.uo=p(B);var we=w(B,j);B.ln=B.med-we,B.un=B.med+we,be=Math.min(be,B.ln),ke=Math.max(ke,B.un),B.pts2=N.filter(X),z.push(B)}S._extremes[E._id]=y.findExtremes(E,S.notched?Me.concat([be,ke]):Me,{padded:!0})}return function(Ee,Ve){if(M.isArrayOrTypedArray(Ve.selectedpoints))for(var Ye=0;Ye0?(z[0].t={num:R[F],dPos:Z,posLetter:L,valLetter:_,labels:{med:h(g,"median:"),min:h(g,"min:"),q1:h(g,"q1:"),q3:h(g,"q3:"),max:h(g,"max:"),mean:S.boxmean==="sd"?h(g,"mean ± σ:"):h(g,"mean:"),lf:h(g,"lower fence:"),uf:h(g,"upper fence:")}},R[F]++,z):[{t:{empty:!0}}]};var l={text:"tx",hovertext:"htx"};function a(g,S,x){for(var T in l)M.isArrayOrTypedArray(S[T])&&(Array.isArray(x)?M.isArrayOrTypedArray(S[T][x[0]])&&(g[l[T]]=S[T][x[0]][x[1]]):g[l[T]]=S[T][x])}function u(g,S){return g.v-S.v}function s(g){return g.v}function o(g,S,x){return x===0?g.q1:Math.min(g.q1,S[Math.min(M.findBin(2.5*g.q1-1.5*g.q3,S,!0)+1,x-1)])}function c(g,S,x){return x===0?g.q3:Math.max(g.q3,S[Math.max(M.findBin(2.5*g.q3-1.5*g.q1,S),0)])}function f(g){return 4*g.q1-3*g.q3}function p(g){return 4*g.q3-3*g.q1}function w(g,S){return S===0?0:1.57*(g.q3-g.q1)/Math.sqrt(S)}},37188:function(k,m,t){var d=t(89298),y=t(71828),i=t(99082).getAxisGroup,M=["v","h"];function v(h,l,a,u){var s,o,c,f=l.calcdata,p=l._fullLayout,w=u._id,g=w.charAt(0),S=[],x=0;for(s=0;s1,L=1-p[h+"gap"],b=1-p[h+"groupgap"];for(s=0;s0){var ue=N.pointpos,ce=N.jitter,ye=N.marker.size/2,de=0;ue+ce>=0&&((de=ie*(ue+ce))>F?(oe=!0,Q=ye,Z=de):de>ne&&(Q=ye,Z=F)),de<=F&&(Z=F);var me=0;ue-ce<=0&&((me=-ie*(ue-ce))>B?(oe=!0,re=ye,X=me):me>te&&(re=ye,X=B)),me<=B&&(X=B)}else Z=F,X=B;var pe=new Array(c.length);for(o=0;o0?(A="v",L=R>0?Math.min(O,I):Math.min(I)):R>0?(A="h",L=Math.min(O)):L=0;if(L){o._length=L;var j=c("orientation",A);o._hasPreCompStats?j==="v"&&R===0?(c("x0",0),c("dx",1)):j==="h"&&b===0&&(c("y0",0),c("dy",1)):j==="v"&&R===0?c("x0"):j==="h"&&b===0&&c("y0"),y.getComponentMethod("calendars","handleTraceDefaults")(s,o,["x","y"],f)}else o.visible=!1}function u(s,o,c,f){var p=f.prefix,w=d.coerce2(s,o,l,"marker.outliercolor"),g=c("marker.line.outliercolor"),S="outliers";o._hasPreCompStats?S="all":(w||g)&&(S="suspectedoutliers");var x=c(p+"points",S);x?(c("jitter",x==="all"?.3:0),c("pointpos",x==="all"?-1.5:0),c("marker.symbol"),c("marker.opacity"),c("marker.size"),c("marker.angle"),c("marker.color",o.line.color),c("marker.line.color"),c("marker.line.width"),x==="suspectedoutliers"&&(c("marker.line.outliercolor",o.marker.color),c("marker.line.outlierwidth")),c("selected.marker.color"),c("unselected.marker.color"),c("selected.marker.size"),c("unselected.marker.size"),c("text"),c("hovertext")):delete o.marker;var T=c("hoveron");T!=="all"&&T.indexOf("points")===-1||c("hovertemplate"),d.coerceSelectionMarkerOpacity(o,c)}k.exports={supplyDefaults:function(s,o,c,f){function p(_,A){return d.coerce(s,o,l,_,A)}if(a(s,o,p,f),o.visible!==!1){M(s,o,f,p),p("xhoverformat"),p("yhoverformat");var w=o._hasPreCompStats;w&&(p("lowerfence"),p("upperfence")),p("line.color",(s.marker||{}).color||c),p("line.width"),p("fillcolor",i.addOpacity(o.line.color,.5));var g=!1;if(w){var S=p("mean"),x=p("sd");S&&S.length&&(g=!0,x&&x.length&&(g="sd"))}p("boxmean",g),p("whiskerwidth"),p("width"),p("quartilemethod");var T=!1;if(w){var E=p("notchspan");E&&E.length&&(T=!0)}else d.validate(s.notchwidth,l.notchwidth)&&(T=!0);p("notched",T)&&p("notchwidth"),u(s,o,p,{prefix:"box"})}},crossTraceDefaults:function(s,o){var c,f;function p(S){return d.coerce(f._input,f,l,S)}for(var w=0;wx.lo&&(W.so=!0)}return _});S.enter().append("path").classed("point",!0),S.exit().remove(),S.call(i.translatePoints,o,c)}function h(l,a,u,s){var o,c,f=a.val,p=a.pos,w=!!p.rangebreaks,g=s.bPos,S=s.bPosPxOffset||0,x=u.boxmean||(u.meanline||{}).visible;Array.isArray(s.bdPos)?(o=s.bdPos[0],c=s.bdPos[1]):(o=s.bdPos,c=s.bdPos);var T=l.selectAll("path.mean").data(u.type==="box"&&u.boxmean||u.type==="violin"&&u.box.visible&&u.meanline.visible?y.identity:[]);T.enter().append("path").attr("class","mean").style({fill:"none","vector-effect":"non-scaling-stroke"}),T.exit().remove(),T.each(function(E){var _=p.c2l(E.pos+g,!0),A=p.l2p(_-o)+S,L=p.l2p(_+c)+S,b=w?(A+L)/2:p.l2p(_)+S,R=f.c2p(E.mean,!0),I=f.c2p(E.mean-E.sd,!0),O=f.c2p(E.mean+E.sd,!0);u.orientation==="h"?d.select(this).attr("d","M"+R+","+A+"V"+L+(x==="sd"?"m0,0L"+I+","+b+"L"+R+","+A+"L"+O+","+b+"Z":"")):d.select(this).attr("d","M"+A+","+R+"H"+L+(x==="sd"?"m0,0L"+b+","+I+"L"+A+","+R+"L"+b+","+O+"Z":""))})}k.exports={plot:function(l,a,u,s){var o=l._context.staticPlot,c=a.xaxis,f=a.yaxis;y.makeTraceGroups(s,u,"trace boxes").each(function(p){var w,g,S=d.select(this),x=p[0],T=x.t,E=x.trace;T.wdPos=T.bdPos*E.whiskerwidth,E.visible!==!0||T.empty?S.remove():(E.orientation==="h"?(w=f,g=c):(w=c,g=f),M(S,{pos:w,val:g},E,T,o),v(S,{x:c,y:f},E,T),h(S,{pos:w,val:g},E,T))})},plotBoxAndWhiskers:M,plotPoints:v,plotBoxMean:h}},24626:function(k){k.exports=function(m,t){var d,y,i=m.cd,M=m.xaxis,v=m.yaxis,h=[];if(t===!1)for(d=0;d=10)return null;for(var v=1/0,h=-1/0,l=i.length,a=0;a0?Math.floor:Math.ceil,j=B>0?Math.ceil:Math.floor,Y=B>0?Math.min:Math.max,U=B>0?Math.max:Math.min,G=W(z+N),q=j(F-N),H=[[c=O(z)]];for(h=G;h*B=0;i--)M[u-i]=m[s][i],v[u-i]=t[s][i];for(h.push({x:M,y:v,bicubic:l}),i=s,M=[],v=[];i>=0;i--)M[s-i]=m[i][0],v[s-i]=t[i][0];return h.push({x:M,y:v,bicubic:a}),h}},20347:function(k,m,t){var d=t(89298),y=t(1426).extendFlat;k.exports=function(i,M,v){var h,l,a,u,s,o,c,f,p,w,g,S,x,T,E=i["_"+M],_=i[M+"axis"],A=_._gridlines=[],L=_._minorgridlines=[],b=_._boundarylines=[],R=i["_"+v],I=i[v+"axis"];_.tickmode==="array"&&(_.tickvals=E.slice());var O=i._xctrl,z=i._yctrl,F=O[0].length,B=O.length,N=i._a.length,W=i._b.length;d.prepTicks(_),_.tickmode==="array"&&delete _.tickvals;var j=_.smoothing?3:1;function Y(G){var q,H,ne,te,Z,X,Q,re,ie,oe,ue,ce,ye=[],de=[],me={};if(M==="b")for(H=i.b2j(G),ne=Math.floor(Math.max(0,Math.min(W-2,H))),te=H-ne,me.length=W,me.crossLength=N,me.xy=function(pe){return i.evalxy([],pe,H)},me.dxy=function(pe,xe){return i.dxydi([],pe,ne,xe,te)},q=0;q0&&(ie=i.dxydi([],q-1,ne,0,te),ye.push(Z[0]+ie[0]/3),de.push(Z[1]+ie[1]/3),oe=i.dxydi([],q-1,ne,1,te),ye.push(re[0]-oe[0]/3),de.push(re[1]-oe[1]/3)),ye.push(re[0]),de.push(re[1]),Z=re;else for(q=i.a2i(G),X=Math.floor(Math.max(0,Math.min(N-2,q))),Q=q-X,me.length=N,me.crossLength=W,me.xy=function(pe){return i.evalxy([],q,pe)},me.dxy=function(pe,xe){return i.dxydj([],X,pe,Q,xe)},H=0;H0&&(ue=i.dxydj([],X,H-1,Q,0),ye.push(Z[0]+ue[0]/3),de.push(Z[1]+ue[1]/3),ce=i.dxydj([],X,H-1,Q,1),ye.push(re[0]-ce[0]/3),de.push(re[1]-ce[1]/3)),ye.push(re[0]),de.push(re[1]),Z=re;return me.axisLetter=M,me.axis=_,me.crossAxis=I,me.value=G,me.constvar=v,me.index=f,me.x=ye,me.y=de,me.smoothing=I.smoothing,me}function U(G){var q,H,ne,te,Z,X=[],Q=[],re={};if(re.length=E.length,re.crossLength=R.length,M==="b")for(ne=Math.max(0,Math.min(W-2,G)),Z=Math.min(1,Math.max(0,G-ne)),re.xy=function(ie){return i.evalxy([],ie,G)},re.dxy=function(ie,oe){return i.dxydi([],ie,ne,oe,Z)},q=0;qE.length-1||A.push(y(U(l),{color:_.gridcolor,width:_.gridwidth,dash:_.griddash}));for(f=o;fE.length-1||g<0||g>E.length-1))for(S=E[a],x=E[g],h=0;h<_.minorgridcount;h++)(T=g-a)<=0||(w=S+(x-S)*(h+1)/(_.minorgridcount+1)*(_.arraydtick/T))E[E.length-1]||L.push(y(Y(w),{color:_.minorgridcolor,width:_.minorgridwidth,dash:_.minorgriddash}));_.startline&&b.push(y(U(0),{color:_.startlinecolor,width:_.startlinewidth})),_.endline&&b.push(y(U(E.length-1),{color:_.endlinecolor,width:_.endlinewidth}))}else{for(u=5e-15,o=(s=[Math.floor((E[E.length-1]-_.tick0)/_.dtick*(1+u)),Math.ceil((E[0]-_.tick0)/_.dtick/(1+u))].sort(function(G,q){return G-q}))[0],c=s[1],f=o;f<=c;f++)p=_.tick0+_.dtick*f,A.push(y(Y(p),{color:_.gridcolor,width:_.gridwidth,dash:_.griddash}));for(f=o-1;fE[E.length-1]||L.push(y(Y(w),{color:_.minorgridcolor,width:_.minorgridwidth,dash:_.minorgriddash}));_.startline&&b.push(y(Y(E[0]),{color:_.startlinecolor,width:_.startlinewidth})),_.endline&&b.push(y(Y(E[E.length-1]),{color:_.endlinecolor,width:_.endlinewidth}))}}},83311:function(k,m,t){var d=t(89298),y=t(1426).extendFlat;k.exports=function(i,M){var v,h,l,a=M._labels=[],u=M._gridlines;for(v=0;vi.length&&(y=y.slice(0,i.length)):y=[],v=0;v90&&(c-=180,l=-l),{angle:c,flip:l,p:m.c2p(y,t,d),offsetMultplier:a}}},89740:function(k,m,t){var d=t(39898),y=t(91424),i=t(27669),M=t(67961),v=t(11651),h=t(63893),l=t(71828),a=l.strRotate,u=l.strTranslate,s=t(18783);function o(g,S,x,T,E,_,A){var L="const-"+E+"-lines",b=x.selectAll("."+L).data(_);b.enter().append("path").classed(L,!0).style("vector-effect",A?"none":"non-scaling-stroke"),b.each(function(R){var I=R,O=I.x,z=I.y,F=i([],O,g.c2p),B=i([],z,S.c2p),N="M"+M(F,B,I.smoothing);d.select(this).attr("d",N).style("stroke-width",I.width).style("stroke",I.color).style("stroke-dasharray",y.dashStyle(I.dash,I.width)).style("fill","none")}),b.exit().remove()}function c(g,S,x,T,E,_,A,L){var b=_.selectAll("text."+L).data(A);b.enter().append("text").classed(L,!0);var R=0,I={};return b.each(function(O,z){var F;if(O.axis.tickangle==="auto")F=v(T,S,x,O.xy,O.dxy);else{var B=(O.axis.tickangle+180)*Math.PI/180;F=v(T,S,x,O.xy,[Math.cos(B),Math.sin(B)])}z||(I={angle:F.angle,flip:F.flip});var N=(O.endAnchor?-1:1)*F.flip,W=d.select(this).attr({"text-anchor":N>0?"start":"end","data-notex":1}).call(y.font,O.font).text(O.text).call(h.convertToTspans,g),j=y.bBox(this);W.attr("transform",u(F.p[0],F.p[1])+a(F.angle)+u(O.axis.labelpadding*N,.3*j.height)),R=Math.max(R,j.width+O.axis.labelpadding)}),b.exit().remove(),I.maxExtent=R,I}k.exports=function(g,S,x,T){var E=g._context.staticPlot,_=S.xaxis,A=S.yaxis,L=g._fullLayout._clips;l.makeTraceGroups(T,x,"trace").each(function(b){var R=d.select(this),I=b[0],O=I.trace,z=O.aaxis,F=O.baxis,B=l.ensureSingle(R,"g","minorlayer"),N=l.ensureSingle(R,"g","majorlayer"),W=l.ensureSingle(R,"g","boundarylayer"),j=l.ensureSingle(R,"g","labellayer");R.style("opacity",O.opacity),o(_,A,N,0,"a",z._gridlines,!0),o(_,A,N,0,"b",F._gridlines,!0),o(_,A,B,0,"a",z._minorgridlines,!0),o(_,A,B,0,"b",F._minorgridlines,!0),o(_,A,W,0,"a-boundary",z._boundarylines,E),o(_,A,W,0,"b-boundary",F._boundarylines,E);var Y=c(g,_,A,O,0,j,z._labels,"a-label"),U=c(g,_,A,O,0,j,F._labels,"b-label");(function(G,q,H,ne,te,Z,X,Q){var re,ie,oe,ue,ce=l.aggNums(Math.min,null,H.a),ye=l.aggNums(Math.max,null,H.a),de=l.aggNums(Math.min,null,H.b),me=l.aggNums(Math.max,null,H.b);re=.5*(ce+ye),ie=de,oe=H.ab2xy(re,ie,!0),ue=H.dxyda_rough(re,ie),X.angle===void 0&&l.extendFlat(X,v(H,te,Z,oe,H.dxydb_rough(re,ie))),w(G,q,H,0,oe,ue,H.aaxis,te,Z,X,"a-title"),re=ce,ie=.5*(de+me),oe=H.ab2xy(re,ie,!0),ue=H.dxydb_rough(re,ie),Q.angle===void 0&&l.extendFlat(Q,v(H,te,Z,oe,H.dxyda_rough(re,ie))),w(G,q,H,0,oe,ue,H.baxis,te,Z,Q,"b-title")})(g,j,O,0,_,A,Y,U),function(G,q,H,ne,te){var Z,X,Q,re,ie=H.select("#"+G._clipPathId);ie.size()||(ie=H.append("clipPath").classed("carpetclip",!0));var oe=l.ensureSingle(ie,"path","carpetboundary"),ue=q.clipsegments,ce=[];for(re=0;re90&&W<270,Y=d.select(this);Y.text(A.title.text).call(h.convertToTspans,g),j&&(F=(-h.lineCount(Y)+p)*f*N-F),Y.attr("transform",u(B.p[0],B.p[1])+a(B.angle)+u(0,F)).attr("text-anchor","middle").call(y.font,A.title.font)}),z.exit().remove()}},11435:function(k,m,t){var d=t(35509),y=t(65888).findBin,i=t(45664),M=t(20349),v=t(54495),h=t(73057);k.exports=function(l){var a=l._a,u=l._b,s=a.length,o=u.length,c=l.aaxis,f=l.baxis,p=a[0],w=a[s-1],g=u[0],S=u[o-1],x=a[a.length-1]-a[0],T=u[u.length-1]-u[0],E=x*d.RELATIVE_CULL_TOLERANCE,_=T*d.RELATIVE_CULL_TOLERANCE;p-=E,w+=E,g-=_,S+=_,l.isVisible=function(A,L){return A>p&&Ag&&Lw||LS},l.setScale=function(){var A=l._x,L=l._y,b=i(l._xctrl,l._yctrl,A,L,c.smoothing,f.smoothing);l._xctrl=b[0],l._yctrl=b[1],l.evalxy=M([l._xctrl,l._yctrl],s,o,c.smoothing,f.smoothing),l.dxydi=v([l._xctrl,l._yctrl],c.smoothing,f.smoothing),l.dxydj=h([l._xctrl,l._yctrl],c.smoothing,f.smoothing)},l.i2a=function(A){var L=Math.max(0,Math.floor(A[0]),s-2),b=A[0]-L;return(1-b)*a[L]+b*a[L+1]},l.j2b=function(A){var L=Math.max(0,Math.floor(A[1]),s-2),b=A[1]-L;return(1-b)*u[L]+b*u[L+1]},l.ij2ab=function(A){return[l.i2a(A[0]),l.j2b(A[1])]},l.a2i=function(A){var L=Math.max(0,Math.min(y(A,a),s-2)),b=a[L],R=a[L+1];return Math.max(0,Math.min(s-1,L+(A-b)/(R-b)))},l.b2j=function(A){var L=Math.max(0,Math.min(y(A,u),o-2)),b=u[L],R=u[L+1];return Math.max(0,Math.min(o-1,L+(A-b)/(R-b)))},l.ab2ij=function(A){return[l.a2i(A[0]),l.b2j(A[1])]},l.i2c=function(A,L){return l.evalxy([],A,L)},l.ab2xy=function(A,L,b){if(!b&&(Aa[s-1]|Lu[o-1]))return[!1,!1];var R=l.a2i(A),I=l.b2j(L),O=l.evalxy([],R,I);if(b){var z,F,B,N,W=0,j=0,Y=[];Aa[s-1]?(z=s-2,F=1,W=(A-a[s-1])/(a[s-1]-a[s-2])):F=R-(z=Math.max(0,Math.min(s-2,Math.floor(R)))),Lu[o-1]?(B=o-2,N=1,j=(L-u[o-1])/(u[o-1]-u[o-2])):N=I-(B=Math.max(0,Math.min(o-2,Math.floor(I)))),W&&(l.dxydi(Y,z,B,F,N),O[0]+=Y[0]*W,O[1]+=Y[1]*W),j&&(l.dxydj(Y,z,B,F,N),O[0]+=Y[0]*j,O[1]+=Y[1]*j)}return O},l.c2p=function(A,L,b){return[L.c2p(A[0]),b.c2p(A[1])]},l.p2x=function(A,L,b){return[L.p2c(A[0]),b.p2c(A[1])]},l.dadi=function(A){var L=Math.max(0,Math.min(a.length-2,A));return a[L+1]-a[L]},l.dbdj=function(A){var L=Math.max(0,Math.min(u.length-2,A));return u[L+1]-u[L]},l.dxyda=function(A,L,b,R){var I=l.dxydi(null,A,L,b,R),O=l.dadi(A,b);return[I[0]/O,I[1]/O]},l.dxydb=function(A,L,b,R){var I=l.dxydj(null,A,L,b,R),O=l.dbdj(L,R);return[I[0]/O,I[1]/O]},l.dxyda_rough=function(A,L,b){var R=x*(b||.1),I=l.ab2xy(A+R,L,!0),O=l.ab2xy(A-R,L,!0);return[.5*(I[0]-O[0])/R,.5*(I[1]-O[1])/R]},l.dxydb_rough=function(A,L,b){var R=T*(b||.1),I=l.ab2xy(A,L+R,!0),O=l.ab2xy(A,L-R,!0);return[.5*(I[0]-O[0])/R,.5*(I[1]-O[1])/R]},l.dpdx=function(A){return A._m},l.dpdy=function(A){return A._m}}},72505:function(k,m,t){var d=t(71828);k.exports=function(y,i,M){var v,h,l,a=[],u=[],s=y[0].length,o=y.length;function c(G,q){var H,ne=0,te=0;return G>0&&(H=y[q][G-1])!==void 0&&(te++,ne+=H),G0&&(H=y[q-1][G])!==void 0&&(te++,ne+=H),q0&&h0&&v1e-5);return d.log("Smoother converged to",R,"after",I,"iterations"),y}},19237:function(k,m,t){var d=t(71828).isArray1D;k.exports=function(y,i,M){var v=M("x"),h=v&&v.length,l=M("y"),a=l&&l.length;if(!h&&!a)return!1;if(i._cheater=!v,h&&!d(v)||a&&!d(l))i._length=null;else{var u=h?v.length:1/0;a&&(u=Math.min(u,l.length)),i.a&&i.a.length&&(u=Math.min(u,i.a.length)),i.b&&i.b.length&&(u=Math.min(u,i.b.length)),i._length=u}return!0}},69568:function(k,m,t){var d=t(5386).fF,y=t(19316),i=t(50693),M=t(9012),v=t(22399).defaultLine,h=t(1426).extendFlat,l=y.marker.line;k.exports=h({locations:{valType:"data_array",editType:"calc"},locationmode:y.locationmode,z:{valType:"data_array",editType:"calc"},geojson:h({},y.geojson,{}),featureidkey:y.featureidkey,text:h({},y.text,{}),hovertext:h({},y.hovertext,{}),marker:{line:{color:h({},l.color,{dflt:v}),width:h({},l.width,{dflt:1}),editType:"calc"},opacity:{valType:"number",arrayOk:!0,min:0,max:1,dflt:1,editType:"style"},editType:"calc"},selected:{marker:{opacity:y.selected.marker.opacity,editType:"plot"},editType:"plot"},unselected:{marker:{opacity:y.unselected.marker.opacity,editType:"plot"},editType:"plot"},hoverinfo:h({},M.hoverinfo,{editType:"calc",flags:["location","z","text","name"]}),hovertemplate:d(),showlegend:h({},M.showlegend,{dflt:!1})},i("",{cLetter:"z",editTypeOverride:"calc"}))},38675:function(k,m,t){var d=t(92770),y=t(50606).BADNUM,i=t(78803),M=t(75225),v=t(66279);function h(l){return l&&typeof l=="string"}k.exports=function(l,a){var u,s=a._length,o=new Array(s);u=a.geojson?function(g){return h(g)||d(g)}:h;for(var c=0;c")}}(M,c,l),[M]}},51319:function(k,m,t){k.exports={attributes:t(69568),supplyDefaults:t(61869),colorbar:t(61243),calc:t(38675),calcGeoJSON:t(99841).calcGeoJSON,plot:t(99841).plot,style:t(99636).style,styleOnSelect:t(99636).styleOnSelect,hoverPoints:t(42300),eventData:t(92069),selectPoints:t(81253),moduleType:"trace",name:"choropleth",basePlotModule:t(44622),categories:["geo","noOpacity","showLegend"],meta:{}}},99841:function(k,m,t){var d=t(39898),y=t(71828),i=t(41327),M=t(90973).getTopojsonFeatures,v=t(71739).findExtremes,h=t(99636).style;k.exports={calcGeoJSON:function(l,a){for(var u=l[0].trace,s=a[u.geo],o=s._subplot,c=u.locationmode,f=u._length,p=c==="geojson-id"?i.extractTraceFeature(l):M(u,o.topojson),w=[],g=[],S=0;S=0;M--){var v=i[M].id;if(typeof v=="string"&&v.indexOf("water")===0){for(var h=M+1;h=0;a--)h.removeLayer(l[a][1])},v.dispose=function(){var h=this.subplot.map;this._removeLayers(),h.removeSource(this.sourceId)},k.exports=function(h,l){var a=l[0].trace,u=new M(h,a.uid),s=u.sourceId,o=d(l),c=u.below=h.belowLookup["trace-"+a.uid];return h.map.addSource(s,{type:"geojson",data:o.geojson}),u._addLayers(o,c),l[0].trace._glTrace=u,u}},12674:function(k,m,t){var d=t(50693),y=t(12663).axisHoverFormat,i=t(5386).fF,M=t(2418),v=t(9012),h=t(1426).extendFlat,l={x:{valType:"data_array",editType:"calc+clearAxisTypes"},y:{valType:"data_array",editType:"calc+clearAxisTypes"},z:{valType:"data_array",editType:"calc+clearAxisTypes"},u:{valType:"data_array",editType:"calc"},v:{valType:"data_array",editType:"calc"},w:{valType:"data_array",editType:"calc"},sizemode:{valType:"enumerated",values:["scaled","absolute"],editType:"calc",dflt:"scaled"},sizeref:{valType:"number",editType:"calc",min:0},anchor:{valType:"enumerated",editType:"calc",values:["tip","tail","cm","center"],dflt:"cm"},text:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertemplate:i({editType:"calc"},{keys:["norm"]}),uhoverformat:y("u",1),vhoverformat:y("v",1),whoverformat:y("w",1),xhoverformat:y("x"),yhoverformat:y("y"),zhoverformat:y("z"),showlegend:h({},v.showlegend,{dflt:!1})};h(l,d("",{colorAttr:"u/v/w norm",showScaleDflt:!0,editTypeOverride:"calc"})),["opacity","lightposition","lighting"].forEach(function(a){l[a]=M[a]}),l.hoverinfo=h({},v.hoverinfo,{editType:"calc",flags:["x","y","z","u","v","w","norm","text","name"],dflt:"x+y+z+norm+text+name"}),l.transforms=void 0,k.exports=l},31371:function(k,m,t){var d=t(78803);k.exports=function(y,i){for(var M=i.u,v=i.v,h=i.w,l=Math.min(i.x.length,i.y.length,i.z.length,M.length,v.length,h.length),a=-1/0,u=1/0,s=0;sv.level||v.starts.length&&M===v.level)}break;case"constraint":if(y.prefixBoundary=!1,y.edgepaths.length)return;var h=y.x.length,l=y.y.length,a=-1/0,u=1/0;for(d=0;d":c>a&&(y.prefixBoundary=!0);break;case"<":(ca||y.starts.length&&o===u)&&(y.prefixBoundary=!0);break;case"][":s=Math.min(c[0],c[1]),o=Math.max(c[0],c[1]),sa&&(y.prefixBoundary=!0)}}}},90654:function(k,m,t){var d=t(21081),y=t(86068),i=t(53572);k.exports={min:"zmin",max:"zmax",calc:function(M,v,h){var l=v.contours,a=v.line,u=l.size||1,s=l.coloring,o=y(v,{isColorbar:!0});if(s==="heatmap"){var c=d.extractOpts(v);h._fillgradient=c.reversescale?d.flipScale(c.colorscale):c.colorscale,h._zrange=[c.min,c.max]}else s==="fill"&&(h._fillcolor=o);h._line={color:s==="lines"?o:a.color,width:l.showlines!==!1?a.width:0,dash:a.dash},h._levels={start:l.start,end:i(l),size:u}}}},36914:function(k){k.exports={BOTTOMSTART:[1,9,13,104,713],TOPSTART:[4,6,7,104,713],LEFTSTART:[8,12,14,208,1114],RIGHTSTART:[2,3,11,208,1114],NEWDELTA:[null,[-1,0],[0,-1],[-1,0],[1,0],null,[0,-1],[-1,0],[0,1],[0,1],null,[0,1],[1,0],[1,0],[0,-1]],CHOOSESADDLE:{104:[4,1],208:[2,8],713:[7,13],1114:[11,14]},SADDLEREMAINDER:{1:4,2:8,4:1,7:13,8:2,11:14,13:7,14:11},LABELDISTANCE:2,LABELINCREASE:10,LABELMIN:3,LABELMAX:10,LABELOPTIMIZER:{EDGECOST:1,ANGLECOST:1,NEIGHBORCOST:5,SAMELEVELFACTOR:10,SAMELEVELDISTANCE:5,MAXCOST:100,INITIALSEARCHPOINTS:10,ITERATIONS:5}}},83179:function(k,m,t){var d=t(92770),y=t(14523),i=t(7901),M=i.addOpacity,v=i.opacity,h=t(74808),l=h.CONSTRAINT_REDUCTION,a=h.COMPARISON_OPS2;k.exports=function(u,s,o,c,f,p){var w,g,S,x=s.contours,T=o("contours.operation");x._operation=l[T],function(E,_){var A;a.indexOf(_.operation)===-1?(E("contours.value",[0,1]),Array.isArray(_.value)?_.value.length>2?_.value=_.value.slice(2):_.length===0?_.value=[0,1]:_.length<2?(A=parseFloat(_.value[0]),_.value=[A,A+1]):_.value=[parseFloat(_.value[0]),parseFloat(_.value[1])]:d(_.value)&&(A=parseFloat(_.value),_.value=[A,A+1])):(E("contours.value",0),d(_.value)||(Array.isArray(_.value)?_.value=parseFloat(_.value[0]):_.value=0))}(o,x),T==="="?w=x.showlines=!0:(w=o("contours.showlines"),S=o("fillcolor",M((u.line||{}).color||f,.5))),w&&(g=o("line.color",S&&v(S)?M(s.fillcolor,1):f),o("line.width",2),o("line.dash")),o("line.smoothing"),y(o,c,g,p)}},64237:function(k,m,t){var d=t(74808),y=t(92770);function i(h,l){var a,u=Array.isArray(l);function s(o){return y(o)?+o:null}return d.COMPARISON_OPS2.indexOf(h)!==-1?a=s(u?l[0]:l):d.INTERVAL_OPS.indexOf(h)!==-1?a=u?[s(l[0]),s(l[1])]:[s(l),s(l)]:d.SET_OPS.indexOf(h)!==-1&&(a=u?l.map(s):[s(l)]),a}function M(h){return function(l){l=i(h,l);var a=Math.min(l[0],l[1]),u=Math.max(l[0],l[1]);return{start:a,end:u,size:u-a}}}function v(h){return function(l){return{start:l=i(h,l),end:1/0,size:1/0}}}k.exports={"[]":M("[]"),"][":M("]["),">":v(">"),"<":v("<"),"=":v("=")}},67217:function(k){k.exports=function(m,t,d,y){var i=y("contours.start"),M=y("contours.end"),v=i===!1||M===!1,h=d("contours.size");!(v?t.autocontour=!0:d("autocontour",!1))&&h||d("ncontours")}},84857:function(k,m,t){var d=t(71828);function y(i){return d.extendFlat({},i,{edgepaths:d.extendDeep([],i.edgepaths),paths:d.extendDeep([],i.paths),starts:d.extendDeep([],i.starts)})}k.exports=function(i,M){var v,h,l,a=function(o){return o.reverse()},u=function(o){return o};switch(M){case"=":case"<":return i;case">":for(i.length!==1&&d.warn("Contour data invalid for the specified inequality operation."),h=i[0],v=0;v1e3){d.warn("Too many contours, clipping at 1000",M);break}return u}},53572:function(k){k.exports=function(m){return m.end+m.size/1e6}},81696:function(k,m,t){var d=t(71828),y=t(36914);function i(h,l,a,u){return Math.abs(h[0]-l[0])20&&oe?ie===208||ie===1114?ce=ue[0]===0?1:-1:ye=ue[1]===0?1:-1:y.BOTTOMSTART.indexOf(ie)!==-1?ye=1:y.LEFTSTART.indexOf(ie)!==-1?ce=1:y.TOPSTART.indexOf(ie)!==-1?ye=-1:ce=-1,[ce,ye]}(f,a,l),w=[v(h,l,[-p[0],-p[1]])],g=h.z.length,S=h.z[0].length,x=l.slice(),T=p.slice();for(o=0;o<1e4;o++){if(f>20?(f=y.CHOOSESADDLE[f][(p[0]||p[1])<0?0:1],h.crossings[c]=y.SADDLEREMAINDER[f]):delete h.crossings[c],!(p=y.NEWDELTA[f])){d.log("Found bad marching index:",f,l,h.level);break}w.push(v(h,l,p)),l[0]+=p[0],l[1]+=p[1],c=l.join(","),i(w[w.length-1],w[w.length-2],u,s)&&w.pop();var E=p[0]&&(l[0]<0||l[0]>S-2)||p[1]&&(l[1]<0||l[1]>g-2);if(l[0]===x[0]&&l[1]===x[1]&&p[0]===T[0]&&p[1]===T[1]||a&&E)break;f=h.crossings[c]}o===1e4&&d.log("Infinite loop in contour?");var _,A,L,b,R,I,O,z,F,B,N,W,j,Y,U,G=i(w[0],w[w.length-1],u,s),q=0,H=.2*h.smoothing,ne=[],te=0;for(o=1;o=te;o--)if((_=ne[o])=te&&_+ne[A]z&&F--,h.edgepaths[F]=N.concat(w,B));break}re||(h.edgepaths[z]=w.concat(B))}for(z=0;zi?0:1)+(M[0][1]>i?0:2)+(M[1][1]>i?0:4)+(M[1][0]>i?0:8);return v===5||v===10?i>(M[0][0]+M[0][1]+M[1][0]+M[1][1])/4?v===5?713:1114:v===5?104:208:v===15?0:v}k.exports=function(i){var M,v,h,l,a,u,s,o,c,f=i[0].z,p=f.length,w=f[0].length,g=p===2||w===2;for(v=0;v=0&&(A=U,b=R):Math.abs(_[1]-A[1])<.01?Math.abs(_[1]-U[1])<.01&&(U[0]-_[0])*(A[0]-U[0])>=0&&(A=U,b=R):y.log("endpt to newendpt is not vert. or horz.",_,A,U)}if(_=A,b>=0)break;z+="L"+A}if(b===T.edgepaths.length){y.log("unclosed perimeter path");break}F=b,(N=B.indexOf(F)===-1)&&(F=B[0],z+="Z")}for(F=0;FA.center?A.right-R:R-A.left)/(z+Math.abs(Math.sin(O)*b)),N=(I>A.middle?A.bottom-I:I-A.top)/(Math.abs(F)+Math.cos(O)*b);if(B<1||N<1)return 1/0;var W=w.EDGECOST*(1/(B-1)+1/(N-1));W+=w.ANGLECOST*O*O;for(var j=R-z,Y=I-F,U=R+z,G=I+F,q=0;q<_.length;q++){var H=_[q],ne=Math.cos(H.theta)*H.width/2,te=Math.sin(H.theta)*H.width/2,Z=2*y.segmentDistance(j,Y,U,G,H.x-ne,H.y-te,H.x+ne,H.y+te)/(E.height+H.height),X=H.level===E.level,Q=X?w.SAMELEVELDISTANCE:1;if(Z<=Q)return 1/0;W+=w.NEIGHBORCOST*(X?w.SAMELEVELFACTOR:1)/(Z-Q)}return W}function x(T){var E,_,A=T.trace._emptypoints,L=[],b=T.z.length,R=T.z[0].length,I=[];for(E=0;E2*w.MAXCOST)break;N&&(R/=2),I=(b=O-R/2)+1.5*R}if(B<=w.MAXCOST)return z},m.addLabelData=function(T,E,_,A){var L=E.fontSize,b=E.width+L/3,R=Math.max(0,E.height-L/3),I=T.x,O=T.y,z=T.theta,F=Math.sin(z),B=Math.cos(z),N=function(j,Y){return[I+j*B-Y*F,O+j*F+Y*B]},W=[N(-b/2,-R/2),N(-b/2,R/2),N(b/2,R/2),N(b/2,-R/2)];_.push({text:E.text,x:I,y:O,dy:E.dy,theta:z,level:E.level,width:b,height:R}),A.push(W)},m.drawLabels=function(T,E,_,A,L){var b=T.selectAll("text").data(E,function(O){return O.text+","+O.x+","+O.y+","+O.theta});if(b.exit().remove(),b.enter().append("text").attr({"data-notex":1,"text-anchor":"middle"}).each(function(O){var z=O.x+Math.sin(O.theta)*O.dy,F=O.y-Math.cos(O.theta)*O.dy;d.select(this).text(O.text).attr({x:z,y:F,transform:"rotate("+180*O.theta/Math.PI+" "+z+" "+F+")"}).call(v.convertToTspans,_)}),L){for(var R="",I=0;Ih.end&&(h.start=h.end=(h.start+h.end)/2),M._input.contours||(M._input.contours={}),y.extendFlat(M._input.contours,{start:h.start,end:h.end,size:h.size}),M._input.autocontour=!0}else if(h.type!=="constraint"){var s,o=h.start,c=h.end,f=M._input.contours;o>c&&(h.start=f.start=c,c=h.end=f.end=o,o=h.start),h.size>0||(s=o===c?1:i(o,c,M.ncontours).dtick,f.size=h.size=s)}}},84426:function(k,m,t){var d=t(39898),y=t(91424),i=t(70035),M=t(86068);k.exports=function(v){var h=d.select(v).selectAll("g.contour");h.style("opacity",function(l){return l[0].trace.opacity}),h.each(function(l){var a=d.select(this),u=l[0].trace,s=u.contours,o=u.line,c=s.size||1,f=s.start,p=s.type==="constraint",w=!p&&s.coloring==="lines",g=!p&&s.coloring==="fill",S=w||g?M(u):null;a.selectAll("g.contourlevel").each(function(E){d.select(this).selectAll("path").call(y.lineGroupStyle,o.width,w?S(E.level):o.color,o.dash)});var x=s.labelfont;if(a.selectAll("g.contourlabels text").each(function(E){y.font(d.select(this),{family:x.family,size:x.size,color:x.color||(w?S(E.level):o.color)})}),p)a.selectAll("g.contourfill path").style("fill",u.fillcolor);else if(g){var T;a.selectAll("g.contourfill path").style("fill",function(E){return T===void 0&&(T=E.level),S(E.level+.5*c)}),T===void 0&&(T=f),a.selectAll("g.contourbg path").style("fill",S(T-.5*c))}}),i(v)}},8724:function(k,m,t){var d=t(1586),y=t(14523);k.exports=function(i,M,v,h,l){var a,u=v("contours.coloring"),s="";u==="fill"&&(a=v("contours.showlines")),a!==!1&&(u!=="lines"&&(s=v("line.color","#000")),v("line.width",.5),v("line.dash")),u!=="none"&&(i.showlegend!==!0&&(M.showlegend=!1),M._dfltShowLegend=!1,d(i,M,h,v,{prefix:"",cLetter:"z"})),v("line.smoothing"),y(v,h,s,l)}},88085:function(k,m,t){var d=t(21606),y=t(70600),i=t(50693),M=t(1426).extendFlat,v=y.contours;k.exports=M({carpet:{valType:"string",editType:"calc"},z:d.z,a:d.x,a0:d.x0,da:d.dx,b:d.y,b0:d.y0,db:d.dy,text:d.text,hovertext:d.hovertext,transpose:d.transpose,atype:d.xtype,btype:d.ytype,fillcolor:y.fillcolor,autocontour:y.autocontour,ncontours:y.ncontours,contours:{type:v.type,start:v.start,end:v.end,size:v.size,coloring:{valType:"enumerated",values:["fill","lines","none"],dflt:"fill",editType:"calc"},showlines:v.showlines,showlabels:v.showlabels,labelfont:v.labelfont,labelformat:v.labelformat,operation:v.operation,value:v.value,editType:"calc",impliedEdits:{autocontour:!1}},line:{color:y.line.color,width:y.line.width,dash:y.line.dash,smoothing:y.line.smoothing,editType:"plot"},transforms:void 0},i("",{cLetter:"z",autoColorDflt:!1}))},59885:function(k,m,t){var d=t(78803),y=t(71828),i=t(68296),M=t(4742),v=t(824),h=t(43907),l=t(70769),a=t(75005),u=t(22882),s=t(18670);k.exports=function(o,c){var f=c._carpetTrace=u(o,c);if(f&&f.visible&&f.visible!=="legendonly"){if(!c.a||!c.b){var p=o.data[f.index],w=o.data[c.index];w.a||(w.a=p.a),w.b||(w.b=p.b),a(w,c,c._defaultColor,o._fullLayout)}var g=function(S,x){var T,E,_,A,L,b,R,I=x._carpetTrace,O=I.aaxis,z=I.baxis;O._minDtick=0,z._minDtick=0,y.isArray1D(x.z)&&i(x,O,z,"a","b",["z"]),T=x._a=x._a||x.a,A=x._b=x._b||x.b,T=T?O.makeCalcdata(x,"_a"):[],A=A?z.makeCalcdata(x,"_b"):[],E=x.a0||0,_=x.da||1,L=x.b0||0,b=x.db||1,R=x._z=M(x._z||x.z,x.transpose),x._emptypoints=h(R),v(R,x._emptypoints);var F=y.maxRowLength(R),B=x.xtype==="scaled"?"":T,N=l(x,B,E,_,F,O),W=x.ytype==="scaled"?"":A,j={a:N,b:l(x,W,L,b,R.length,z),z:R};return x.contours.type==="levels"&&x.contours.coloring!=="none"&&d(S,x,{vals:R,containerStr:"",cLetter:"z"}),[j]}(o,c);return s(c,c._z),g}}},75005:function(k,m,t){var d=t(71828),y=t(67684),i=t(88085),M=t(83179),v=t(67217),h=t(8724);k.exports=function(l,a,u,s){function o(c,f){return d.coerce(l,a,i,c,f)}if(o("carpet"),l.a&&l.b){if(!y(l,a,o,s,"a","b"))return void(a.visible=!1);o("text"),o("contours.type")==="constraint"?M(l,a,o,s,u,{hasHover:!1}):(v(l,a,o,function(c){return d.coerce2(l,a,i,c)}),h(l,a,o,s,{hasHover:!1}))}else a._defaultColor=u,a._length=null}},93740:function(k,m,t){k.exports={attributes:t(88085),supplyDefaults:t(75005),colorbar:t(90654),calc:t(59885),plot:t(51048),style:t(84426),moduleType:"trace",name:"contourcarpet",basePlotModule:t(93612),categories:["cartesian","svg","carpet","contour","symbols","showLegend","hasLines","carpetDependent","noHover","noSortingByValue"],meta:{}}},51048:function(k,m,t){var d=t(39898),y=t(27669),i=t(67961),M=t(91424),v=t(71828),h=t(87678),l=t(81696),a=t(29854),u=t(36914),s=t(84857),o=t(87558),c=t(20083),f=t(22882),p=t(4536);function w(x,T,E){var _=x.getPointAtLength(T),A=x.getPointAtLength(E),L=A.x-_.x,b=A.y-_.y,R=Math.sqrt(L*L+b*b);return[L/R,b/R]}function g(x){var T=Math.sqrt(x[0]*x[0]+x[1]*x[1]);return[x[0]/T,x[1]/T]}function S(x,T){var E=Math.abs(x[0]*T[0]+x[1]*T[1]);return Math.sqrt(1-E*E)/E}k.exports=function(x,T,E,_){var A=T.xaxis,L=T.yaxis;v.makeTraceGroups(_,E,"contour").each(function(b){var R=d.select(this),I=b[0],O=I.trace,z=O._carpetTrace=f(x,O),F=x.calcdata[z.index][0];if(z.visible&&z.visible!=="legendonly"){var B=I.a,N=I.b,W=O.contours,j=o(W,T,I),Y=W.type==="constraint",U=W._operation,G=Y?U==="="?"lines":"fill":W.coloring,q=[[B[0],N[N.length-1]],[B[B.length-1],N[N.length-1]],[B[B.length-1],N[0]],[B[0],N[0]]];h(j);var H=1e-8*(B[B.length-1]-B[0]),ne=1e-8*(N[N.length-1]-N[0]);l(j,H,ne);var te,Z,X,Q,re=j;W.type==="constraint"&&(re=s(j,U)),function(ce,ye){var de,me,pe,xe,Pe,_e,Me,Se,Ce;for(de=0;de=0;Q--)te=F.clipsegments[Q],Z=y([],te.x,A.c2p),X=y([],te.y,L.c2p),Z.reverse(),X.reverse(),ie.push(i(Z,X,te.bicubic));var oe="M"+ie.join("L")+"Z";(function(ce,ye,de,me,pe,xe){var Pe,_e,Me,Se,Ce=v.ensureSingle(ce,"g","contourbg").selectAll("path").data(xe!=="fill"||pe?[]:[0]);Ce.enter().append("path"),Ce.exit().remove();var ae=[];for(Se=0;Se=0&&(st=ht,ft=bt):Math.abs($e[1]-st[1])=0&&(st=ht,ft=bt):v.log("endpt to newendpt is not vert. or horz.",$e,st,ht)}if(ft>=0)break;kt+=qe($e,st),$e=st}if(ft===Be.edgepaths.length){v.log("unclosed perimeter path");break}Ye=ft,(Ft=xt.indexOf(Ye)===-1)&&(Ye=xt[0],kt+=qe($e,st)+"Z",$e=null)}for(Ye=0;YeLt&&(Ke.max=Lt),Ke.len=Ke.max-Ke.min}function yt(Pt,wt){var Rt,Nt=0,$t=.1;return(Math.abs(Pt[0]-Re)<$t||Math.abs(Pt[0]-Ne)<$t)&&(Rt=g(Je.dxydb_rough(Pt[0],Pt[1],$t)),Nt=Math.max(Nt,qe*S(wt,Rt)/2)),(Math.abs(Pt[1]-Qe)<$t||Math.abs(Pt[1]-ut)<$t)&&(Rt=g(Je.dxyda_rough(Pt[0],Pt[1],$t)),Nt=Math.max(Nt,qe*S(wt,Rt)/2)),Nt}}(Et,bt,ot,kt,Pe,ft.height),!(kt.len<(ft.width+ft.height)*u.LABELMIN)))for(var xt=Math.min(Math.ceil(kt.len/st),u.LABELMAX),Ft=0;Ft0?+p[o]:0),c.push({type:"Feature",geometry:{type:"Point",coordinates:x},properties:T})}}var _=M.extractOpts(a),A=_.reversescale?M.flipScale(_.colorscale):_.colorscale,L=A[0][1],b=["interpolate",["linear"],["heatmap-density"],0,i.opacity(L)<1?L:i.addOpacity(L,0)];for(o=1;o=0;l--)v.removeLayer(h[l][1])},M.dispose=function(){var v=this.subplot.map;this._removeLayers(),v.removeSource(this.sourceId)},k.exports=function(v,h){var l=h[0].trace,a=new i(v,l.uid),u=a.sourceId,s=d(h),o=a.below=v.belowLookup["trace-"+l.uid];return v.map.addSource(u,{type:"geojson",data:s.geojson}),a._addLayers(s,o),a}},49789:function(k,m,t){var d=t(71828);k.exports=function(y,i){for(var M=0;M"),u.color=function(T,E){var _=T.marker,A=E.mc||_.color,L=E.mlc||_.line.color,b=E.mlw||_.line.width;return d(A)?A:d(L)&&b?L:void 0}(o,f),[u]}}},51759:function(k,m,t){k.exports={attributes:t(1285),layoutAttributes:t(10440),supplyDefaults:t(26199).supplyDefaults,crossTraceDefaults:t(26199).crossTraceDefaults,supplyLayoutDefaults:t(93138),calc:t(9532),crossTraceCalc:t(8984),plot:t(80461),style:t(68266).style,hoverPoints:t(63341),eventData:t(34598),selectPoints:t(81974),moduleType:"trace",name:"funnel",basePlotModule:t(93612),categories:["bar-like","cartesian","svg","oriented","showLegend","zoomScale"],meta:{}}},10440:function(k){k.exports={funnelmode:{valType:"enumerated",values:["stack","group","overlay"],dflt:"stack",editType:"calc"},funnelgap:{valType:"number",min:0,max:1,editType:"calc"},funnelgroupgap:{valType:"number",min:0,max:1,dflt:0,editType:"calc"}}},93138:function(k,m,t){var d=t(71828),y=t(10440);k.exports=function(i,M,v){var h=!1;function l(s,o){return d.coerce(i,M,y,s,o)}for(var a=0;a path").each(function(w){if(!w.isBlank){var g=p.marker;d.select(this).call(i.fill,w.mc||g.color).call(i.stroke,w.mlc||g.line.color).call(y.dashLine,g.line.dash,w.mlw||g.line.width).style("opacity",p.selectedpoints&&!w.selected?M:1)}}),l(f,p,a),f.selectAll(".regions").each(function(){d.select(this).selectAll("path").style("stroke-width",0).call(i.fill,p.connector.fillcolor)}),f.selectAll(".lines").each(function(){var w=p.connector.line;y.lineGroupStyle(d.select(this).selectAll("path"),w.width,w.color,w.dash)})})}}},86807:function(k,m,t){var d=t(34e3),y=t(9012),i=t(27670).Y,M=t(5386).fF,v=t(5386).si,h=t(1426).extendFlat;k.exports={labels:d.labels,label0:d.label0,dlabel:d.dlabel,values:d.values,marker:{colors:d.marker.colors,line:{color:h({},d.marker.line.color,{dflt:null}),width:h({},d.marker.line.width,{dflt:1}),editType:"calc"},editType:"calc"},text:d.text,hovertext:d.hovertext,scalegroup:h({},d.scalegroup,{}),textinfo:h({},d.textinfo,{flags:["label","text","value","percent"]}),texttemplate:v({editType:"plot"},{keys:["label","color","value","text","percent"]}),hoverinfo:h({},y.hoverinfo,{flags:["label","text","value","percent","name"]}),hovertemplate:M({},{keys:["label","color","value","text","percent"]}),textposition:h({},d.textposition,{values:["inside","none"],dflt:"inside"}),textfont:d.textfont,insidetextfont:d.insidetextfont,title:{text:d.title.text,font:d.title.font,position:h({},d.title.position,{values:["top left","top center","top right"],dflt:"top center"}),editType:"plot"},domain:i({name:"funnelarea",trace:!0,editType:"calc"}),aspectratio:{valType:"number",min:0,dflt:1,editType:"plot"},baseratio:{valType:"number",min:0,max:1,dflt:.333,editType:"plot"}}},6452:function(k,m,t){var d=t(74875);m.name="funnelarea",m.plot=function(y,i,M,v){d.plotBasePlot(m.name,y,i,M,v)},m.clean=function(y,i,M,v){d.cleanBasePlot(m.name,y,i,M,v)}},89574:function(k,m,t){var d=t(32354);k.exports={calc:function(y,i){return d.calc(y,i)},crossTraceCalc:function(y){d.crossTraceCalc(y,{type:"funnelarea"})}}},86282:function(k,m,t){var d=t(71828),y=t(86807),i=t(27670).c,M=t(90769).handleText,v=t(37434).handleLabelsAndValues;k.exports=function(h,l,a,u){function s(T,E){return d.coerce(h,l,y,T,E)}var o=s("labels"),c=s("values"),f=v(o,c),p=f.len;if(l._hasLabels=f.hasLabels,l._hasValues=f.hasValues,!l._hasLabels&&l._hasValues&&(s("label0"),s("dlabel")),p){l._length=p,s("marker.line.width")&&s("marker.line.color",u.paper_bgcolor),s("marker.colors"),s("scalegroup");var w,g=s("text"),S=s("texttemplate");if(S||(w=s("textinfo",Array.isArray(g)?"text+percent":"percent")),s("hovertext"),s("hovertemplate"),S||w&&w!=="none"){var x=s("textposition");M(h,l,u,s,x,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1})}i(l,u,s),s("title.text")&&(s("title.position"),d.coerceFont(s,"title.font",u.font)),s("aspectratio"),s("baseratio")}else l.visible=!1}},10421:function(k,m,t){k.exports={moduleType:"trace",name:"funnelarea",basePlotModule:t(6452),categories:["pie-like","funnelarea","showLegend"],attributes:t(86807),layoutAttributes:t(80097),supplyDefaults:t(86282),supplyLayoutDefaults:t(57402),calc:t(89574).calc,crossTraceCalc:t(89574).crossTraceCalc,plot:t(79187),style:t(71858),styleOne:t(63463),meta:{}}},80097:function(k,m,t){var d=t(92774).hiddenlabels;k.exports={hiddenlabels:d,funnelareacolorway:{valType:"colorlist",editType:"calc"},extendfunnelareacolors:{valType:"boolean",dflt:!0,editType:"calc"}}},57402:function(k,m,t){var d=t(71828),y=t(80097);k.exports=function(i,M){function v(h,l){return d.coerce(i,M,y,h,l)}v("hiddenlabels"),v("funnelareacolorway",M.colorway),v("extendfunnelareacolors")}},79187:function(k,m,t){var d=t(39898),y=t(91424),i=t(71828),M=i.strScale,v=i.strTranslate,h=t(63893),l=t(17295).toMoveInsideBar,a=t(72597),u=a.recordMinTextSize,s=a.clearMinTextSize,o=t(53581),c=t(14575),f=c.attachFxHandlers,p=c.determineInsideTextFont,w=c.layoutAreas,g=c.prerenderTitles,S=c.positionTitleOutside,x=c.formatSliceLabel;function T(E,_){return"l"+(_[0]-E[0])+","+(_[1]-E[1])}k.exports=function(E,_){var A=E._context.staticPlot,L=E._fullLayout;s("funnelarea",L),g(_,E),w(_,L._size),i.makeTraceGroups(L._funnelarealayer,_,"trace").each(function(b){var R=d.select(this),I=b[0],O=I.trace;(function(z){if(z.length){var F=z[0],B=F.trace,N=B.aspectratio,W=B.baseratio;W>.999&&(W=.999);var j,Y,U,G=Math.pow(W,2),q=F.vTotal,H=q,ne=q*G/(1-G)/q,te=[];for(te.push(Me()),Y=z.length-1;Y>-1;Y--)if(!(U=z[Y]).hidden){var Z=U.v/H;ne+=Z,te.push(Me())}var X=1/0,Q=-1/0;for(Y=0;Y-1;Y--)if(!(U=z[Y]).hidden){var Pe=te[xe+=1][0],_e=te[xe][1];U.TL=[-Pe,_e],U.TR=[Pe,_e],U.BL=me,U.BR=pe,U.pxmid=(ye=U.TR,de=U.BR,[.5*(ye[0]+de[0]),.5*(ye[1]+de[1])]),me=U.TL,pe=U.TR}}function Me(){var Se,Ce={x:Se=Math.sqrt(ne),y:-Se};return[Ce.x,Ce.y]}})(b),R.each(function(){var z=d.select(this).selectAll("g.slice").data(b);z.enter().append("g").classed("slice",!0),z.exit().remove(),z.each(function(B,N){if(B.hidden)d.select(this).selectAll("path,g").remove();else{B.pointNumber=B.i,B.curveNumber=O.index;var W=I.cx,j=I.cy,Y=d.select(this),U=Y.selectAll("path.surface").data([B]);U.enter().append("path").classed("surface",!0).style({"pointer-events":A?"none":"all"}),Y.call(f,E,b);var G="M"+(W+B.TR[0])+","+(j+B.TR[1])+T(B.TR,B.BR)+T(B.BR,B.BL)+T(B.BL,B.TL)+"Z";U.attr("d",G),x(E,B,I);var q=o.castOption(O.textposition,B.pts),H=Y.selectAll("g.slicetext").data(B.text&&q!=="none"?[0]:[]);H.enter().append("g").classed("slicetext",!0),H.exit().remove(),H.each(function(){var ne=i.ensureSingle(d.select(this),"text","",function(ue){ue.attr("data-notex",1)}),te=i.ensureUniformFontSize(E,p(O,B,L.font));ne.text(B.text).attr({class:"slicetext",transform:"","text-anchor":"middle"}).call(y.font,te).call(h.convertToTspans,E);var Z,X,Q,re=y.bBox(ne.node()),ie=Math.min(B.BL[1],B.BR[1])+j,oe=Math.max(B.TL[1],B.TR[1])+j;X=Math.max(B.TL[0],B.BL[0])+W,Q=Math.min(B.TR[0],B.BR[0])+W,(Z=l(X,Q,ie,oe,re,{isHorizontal:!0,constrained:!0,angle:0,anchor:"middle"})).fontSize=te.size,u(O.type,Z,L),b[N].transform=Z,i.setTransormAndDisplay(ne,Z)})}});var F=d.select(this).selectAll("g.titletext").data(O.title.text?[0]:[]);F.enter().append("g").classed("titletext",!0),F.exit().remove(),F.each(function(){var B=i.ensureSingle(d.select(this),"text","",function(j){j.attr("data-notex",1)}),N=O.title.text;O._meta&&(N=i.templateString(N,O._meta)),B.text(N).attr({class:"titletext",transform:"","text-anchor":"middle"}).call(y.font,O.title.font).call(h.convertToTspans,E);var W=S(I,L._size);B.attr("transform",v(W.x,W.y)+M(Math.min(1,W.scale))+v(W.tx,W.ty))})})})}},71858:function(k,m,t){var d=t(39898),y=t(63463),i=t(72597).resizeText;k.exports=function(M){var v=M._fullLayout._funnelarealayer.selectAll(".trace");i(M,v,"funnelarea"),v.each(function(h){var l=h[0].trace,a=d.select(this);a.style({opacity:l.opacity}),a.selectAll("path.surface").each(function(u){d.select(this).call(y,u,l)})})}},21606:function(k,m,t){var d=t(82196),y=t(9012),i=t(41940),M=t(12663).axisHoverFormat,v=t(5386).fF,h=t(5386).si,l=t(50693),a=t(1426).extendFlat;k.exports=a({z:{valType:"data_array",editType:"calc"},x:a({},d.x,{impliedEdits:{xtype:"array"}}),x0:a({},d.x0,{impliedEdits:{xtype:"scaled"}}),dx:a({},d.dx,{impliedEdits:{xtype:"scaled"}}),y:a({},d.y,{impliedEdits:{ytype:"array"}}),y0:a({},d.y0,{impliedEdits:{ytype:"scaled"}}),dy:a({},d.dy,{impliedEdits:{ytype:"scaled"}}),xperiod:a({},d.xperiod,{impliedEdits:{xtype:"scaled"}}),yperiod:a({},d.yperiod,{impliedEdits:{ytype:"scaled"}}),xperiod0:a({},d.xperiod0,{impliedEdits:{xtype:"scaled"}}),yperiod0:a({},d.yperiod0,{impliedEdits:{ytype:"scaled"}}),xperiodalignment:a({},d.xperiodalignment,{impliedEdits:{xtype:"scaled"}}),yperiodalignment:a({},d.yperiodalignment,{impliedEdits:{ytype:"scaled"}}),text:{valType:"data_array",editType:"calc"},hovertext:{valType:"data_array",editType:"calc"},transpose:{valType:"boolean",dflt:!1,editType:"calc"},xtype:{valType:"enumerated",values:["array","scaled"],editType:"calc+clearAxisTypes"},ytype:{valType:"enumerated",values:["array","scaled"],editType:"calc+clearAxisTypes"},zsmooth:{valType:"enumerated",values:["fast","best",!1],dflt:!1,editType:"calc"},hoverongaps:{valType:"boolean",dflt:!0,editType:"none"},connectgaps:{valType:"boolean",editType:"calc"},xgap:{valType:"number",dflt:0,min:0,editType:"plot"},ygap:{valType:"number",dflt:0,min:0,editType:"plot"},xhoverformat:M("x"),yhoverformat:M("y"),zhoverformat:M("z",1),hovertemplate:v(),texttemplate:h({arrayOk:!1,editType:"plot"},{keys:["x","y","z","text"]}),textfont:i({editType:"plot",autoSize:!0,autoColor:!0,colorEditType:"style"}),showlegend:a({},y.showlegend,{dflt:!1})},{transforms:void 0},l("",{cLetter:"z",autoColorDflt:!1}))},90757:function(k,m,t){var d=t(73972),y=t(71828),i=t(89298),M=t(42973),v=t(17562),h=t(78803),l=t(68296),a=t(4742),u=t(824),s=t(43907),o=t(70769),c=t(50606).BADNUM;function f(p){for(var w=[],g=p.length,S=0;SG){Y("x scale is not linear");break}}if(E.length&&W==="fast"){var q=(E[E.length-1]-E[0])/(E.length-1),H=Math.abs(q/100);for(R=0;RH){Y("y scale is not linear");break}}}}var ne=y.maxRowLength(b),te=w.xtype==="scaled"?"":g,Z=o(w,te,S,x,ne,O),X=w.ytype==="scaled"?"":E,Q=o(w,X,_,A,b.length,z);N||(w._extremes[O._id]=i.findExtremes(O,Z),w._extremes[z._id]=i.findExtremes(z,Q));var re={x:Z,y:Q,z:b,text:w._text||w.text,hovertext:w._hovertext||w.hovertext};if(w.xperiodalignment&&T&&(re.orig_x=T),w.yperiodalignment&&L&&(re.orig_y=L),te&&te.length===Z.length-1&&(re.xCenter=te),X&&X.length===Q.length-1&&(re.yCenter=X),B&&(re.xRanges=I.xRanges,re.yRanges=I.yRanges,re.pts=I.pts),F||h(p,w,{vals:b,cLetter:"z"}),F&&w.contours&&w.contours.coloring==="heatmap"){var ie={type:w.type==="contour"?"heatmap":"histogram2d",xcalendar:w.xcalendar,ycalendar:w.ycalendar};re.xfill=o(ie,te,S,x,ne,O),re.yfill=o(ie,X,_,A,b.length,z)}return[re]}},4742:function(k,m,t){var d=t(92770),y=t(71828),i=t(50606).BADNUM;k.exports=function(M,v,h,l){var a,u,s,o,c,f;function p(E){if(d(E))return+E}if(v&&v.transpose){for(a=0,c=0;c=0;l--)(a=((c[[(M=(h=f[l])[0])-1,v=h[1]]]||g)[2]+(c[[M+1,v]]||g)[2]+(c[[M,v-1]]||g)[2]+(c[[M,v+1]]||g)[2])/20)&&(u[h]=[M,v,a],f.splice(l,1),s=!0);if(!s)throw"findEmpties iterated with no new neighbors";for(h in u)c[h]=u[h],o.push(u[h])}return o.sort(function(x,T){return T[2]-x[2]})}},46248:function(k,m,t){var d=t(30211),y=t(71828),i=t(89298),M=t(21081).extractOpts;k.exports=function(v,h,l,a,u){u||(u={});var s,o,c,f,p=u.isContour,w=v.cd[0],g=w.trace,S=v.xa,x=v.ya,T=w.x,E=w.y,_=w.z,A=w.xCenter,L=w.yCenter,b=w.zmask,R=g.zhoverformat,I=T,O=E;if(v.index!==!1){try{c=Math.round(v.index[1]),f=Math.round(v.index[0])}catch{return void y.error("Error hovering on heatmap, pointNumber must be [row,col], found:",v.index)}if(c<0||c>=_[0].length||f<0||f>_.length)return}else{if(d.inbox(h-T[0],h-T[T.length-1],0)>0||d.inbox(l-E[0],l-E[E.length-1],0)>0)return;if(p){var z;for(I=[2*T[0]-T[1]],z=1;zT&&(_=Math.max(_,Math.abs(v[u][s]-x)/(E-T))))}return _}k.exports=function(v,h){var l,a=1;for(M(v,h),l=0;l.01;l++)a=M(v,h,i(a));return a>.01&&d.log("interp2d didn't converge quickly",a),v}},58623:function(k,m,t){var d=t(71828);k.exports=function(y,i){y("texttemplate");var M=d.extendFlat({},i.font,{color:"auto",size:"auto"});d.coerceFont(y,"textfont",M)}},70769:function(k,m,t){var d=t(73972),y=t(71828).isArrayOrTypedArray;k.exports=function(i,M,v,h,l,a){var u,s,o,c=[],f=d.traceIs(i,"contour"),p=d.traceIs(i,"histogram"),w=d.traceIs(i,"gl2d");if(y(M)&&M.length>1&&!p&&a.type!=="category"){var g=M.length;if(!(g<=l))return f?M.slice(0,l):M.slice(0,l+1);if(f||w)c=M.slice(0,l);else if(l===1)c=[M[0]-.5,M[0]+.5];else{for(c=[1.5*M[0]-.5*M[1]],o=1;o0;)z=b.c2p(Z[W]),W--;for(z0;)N=R.c2p(X[W]),W--;if(NWt||Wt>R._length))for(j=wt;jQt||Qt>b._length)){var rn=a({x:Xt,y:$t},q,E._fullLayout);rn.x=Xt,rn.y=$t;var xn=G.z[W][j];xn===void 0?(rn.z="",rn.zLabel=""):(rn.z=xn,rn.zLabel=v.tickText(It,xn,"hover").text);var un=G.text&&G.text[W]&&G.text[W][j];un!==void 0&&un!==!1||(un=""),rn.text=un;var An=h.texttemplateString(dt,rn,E._fullLayout._d3locale,rn,q._meta||{});if(An){var $n=An.split("
"),kn=$n.length,sn=0;for(Y=0;Y0&&(T=!0);for(var A=0;Ah){var l=h-M[y];return M[y]=h,l}}return 0},max:function(y,i,M,v){var h=v[i];if(d(h)){if(h=Number(h),!d(M[y]))return M[y]=h,h;if(M[y]l?f>M?f>1.1*y?y:f>1.1*i?i:M:f>v?v:f>h?h:l:Math.pow(10,Math.floor(Math.log(f)/Math.LN10))}function o(f,p,w,g,S,x){if(g&&f>M){var T=c(p,S,x),E=c(w,S,x),_=f===y?0:1;return T[_]!==E[_]}return Math.floor(w/f)-Math.floor(p/f)>.1}function c(f,p,w){var g=p.c2d(f,y,w).split("-");return g[0]===""&&(g.unshift(),g[0]="-"+g[0]),g}k.exports=function(f,p,w,g,S){var x,T,E=-1.1*p,_=-.1*p,A=f-_,L=w[0],b=w[1],R=Math.min(u(L+_,L+A,g,S),u(b+_,b+A,g,S)),I=Math.min(u(L+E,L+_,g,S),u(b+E,b+_,g,S));if(R>I&&IM){var O=x===y?1:6,z=x===y?"M12":"M1";return function(F,B){var N=g.c2d(F,y,S),W=N.indexOf("-",O);W>0&&(N=N.substr(0,W));var j=g.d2c(N,0,S);if(jf.r2l(re)&&(oe=M.tickIncrement(oe,I.size,!0,T)),te.start=f.l2r(oe),Q||y.nestedProperty(c,L+".start").set(te.start)}var ue=I.end,ce=f.r2l(ne.end),ye=ce!==void 0;if((I.endFound||ye)&&ce!==f.r2l(ue)){var de=ye?ce:y.aggNums(Math.max,null,E);te.end=f.l2r(de),ye||y.nestedProperty(c,L+".start").set(te.end)}var me="autobin"+p;return c._input[me]===!1&&(c._input[L]=y.extendFlat({},c[L]||{}),delete c._input[me],delete c[me]),[te,E]}k.exports={calc:function(o,c){var f,p,w,g,S=[],x=[],T=c.orientation==="h",E=M.getFromId(o,T?c.yaxis:c.xaxis),_=T?"y":"x",A={x:"y",y:"x"}[_],L=c[_+"calendar"],b=c.cumulative,R=s(o,c,E,_),I=R[0],O=R[1],z=typeof I.size=="string",F=[],B=z?F:I,N=[],W=[],j=[],Y=0,U=c.histnorm,G=c.histfunc,q=U.indexOf("density")!==-1;b.enabled&&q&&(U=U.replace(/ ?density$/,""),q=!1);var H,ne=G==="max"||G==="min"?null:0,te=h.count,Z=l[U],X=!1,Q=function(Ce){return E.r2c(Ce,0,L)};for(y.isArrayOrTypedArray(c[A])&&G!=="count"&&(H=c[A],X=G==="avg",te=h[G]),f=Q(I.start),w=Q(I.end)+(f-M.tickIncrement(f,I.size,!1,L))/1e6;f=0&&g=0;be--)ze(be);else if(ae==="increasing"){for(be=1;be=0;be--)Ce[be]+=Ce[be+1];he==="exclude"&&(Ce.push(0),Ce.shift())}}(x,b.direction,b.currentbin);var xe=Math.min(S.length,x.length),Pe=[],_e=0,Me=xe-1;for(f=0;f=_e;f--)if(x[f]){Me=f;break}for(f=_e;f<=Me;f++)if(d(S[f])&&d(x[f])){var Se={p:S[f],s:x[f],b:0};b.enabled||(Se.pts=j[f],ce?Se.ph0=Se.ph1=j[f].length?O[j[f][0]]:S[f]:(c._computePh=!0,Se.ph0=oe(F[f]),Se.ph1=oe(F[f+1],!0))),Pe.push(Se)}return Pe.length===1&&(Pe[0].width1=M.tickIncrement(Pe[0].p,I.size,!1,L)-Pe[0].p),v(Pe,c),y.isArrayOrTypedArray(c.selectedpoints)&&y.tagSelected(Pe,c,me),Pe},calcAllAutoBins:s}},72406:function(k){k.exports={eventDataKeys:["binNumber"]}},82222:function(k,m,t){var d=t(71828),y=t(41675),i=t(73972).traceIs,M=t(26125),v=d.nestedProperty,h=t(99082).getAxisGroup,l=[{aStr:{x:"xbins.start",y:"ybins.start"},name:"start"},{aStr:{x:"xbins.end",y:"ybins.end"},name:"end"},{aStr:{x:"xbins.size",y:"ybins.size"},name:"size"},{aStr:{x:"nbinsx",y:"nbinsy"},name:"nbins"}],a=["x","y"];k.exports=function(u,s){var o,c,f,p,w,g,S,x=s._histogramBinOpts={},T=[],E={},_=[];function A(q,H){return d.coerce(o._input,o,o._module.attributes,q,H)}function L(q){return q.orientation==="v"?"x":"y"}function b(q,H,ne){var te=q.uid+"__"+ne;H||(H=te);var Z=function(ie,oe){return y.getFromTrace({_fullLayout:s},ie,oe).type}(q,ne),X=q[ne+"calendar"]||"",Q=x[H],re=!0;Q&&(Z===Q.axType&&X===Q.calendar?(re=!1,Q.traces.push(q),Q.dirs.push(ne)):(H=te,Z!==Q.axType&&d.warn(["Attempted to group the bins of trace",q.index,"set on a","type:"+Z,"axis","with bins on","type:"+Q.axType,"axis."].join(" ")),X!==Q.calendar&&d.warn(["Attempted to group the bins of trace",q.index,"set with a",X,"calendar","with bins",Q.calendar?"on a "+Q.calendar+" calendar":"w/o a set calendar"].join(" ")))),re&&(x[H]={traces:[q],dirs:[ne],axType:Z,calendar:q[ne+"calendar"]||""}),q["_"+ne+"bingroup"]=H}for(w=0;wF&&R.splice(F,R.length-F),z.length>F&&z.splice(F,z.length-F);var B=[],N=[],W=[],j=typeof b.size=="string",Y=typeof O.size=="string",U=[],G=[],q=j?U:b,H=Y?G:O,ne=0,te=[],Z=[],X=c.histnorm,Q=c.histfunc,re=X.indexOf("density")!==-1,ie=Q==="max"||Q==="min"?null:0,oe=i.count,ue=M[X],ce=!1,ye=[],de=[],me="z"in c?c.z:"marker"in c&&Array.isArray(c.marker.color)?c.marker.color:"";me&&Q!=="count"&&(ce=Q==="avg",oe=i[Q]);var pe=b.size,xe=_(b.start),Pe=_(b.end)+(xe-y.tickIncrement(xe,pe,!1,T))/1e6;for(f=xe;f=0&&w=0&&g-1,flipY:N.tiling.flip.indexOf("y")>-1,orientation:N.tiling.orientation,pad:{inner:N.tiling.pad},maxDepth:N._maxDepth}).descendants(),G=1/0,q=-1/0;U.forEach(function(X){var Q=X.depth;Q>=N._maxDepth?(X.x0=X.x1=(X.x0+X.x1)/2,X.y0=X.y1=(X.y0+X.y1)/2):(G=Math.min(G,Q),q=Math.max(q,Q))}),w=w.data(U,a.getPtId),N._maxVisibleLayers=isFinite(q)?q-G+1:0,w.enter().append("g").classed("slice",!0),R(w,o,{},[S,x],_),w.order();var H=null;if(b&&z){var ne=a.getPtId(z);w.each(function(X){H===null&&a.getPtId(X)===ne&&(H={x0:X.x0,x1:X.x1,y0:X.y0,y1:X.y1})})}var te=function(){return H||{x0:0,x1:S,y0:0,y1:x}},Z=w;return b&&(Z=Z.transition().each("end",function(){var X=d.select(this);a.setSliceCursor(X,c,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})})),Z.each(function(X){X._x0=T(X.x0),X._x1=T(X.x1),X._y0=E(X.y0),X._y1=E(X.y1),X._hoverX=T(X.x1-N.tiling.pad),X._hoverY=E(Y?X.y1-N.tiling.pad/2:X.y0+N.tiling.pad/2);var Q=d.select(this),re=y.ensureSingle(Q,"path","surface",function(ce){ce.style("pointer-events",F?"none":"all")});b?re.transition().attrTween("d",function(ce){var ye=I(ce,o,te(),[S,x],{orientation:N.tiling.orientation,flipX:N.tiling.flip.indexOf("x")>-1,flipY:N.tiling.flip.indexOf("y")>-1});return function(de){return _(ye(de))}}):re.attr("d",_),Q.call(u,p,c,f,{styleOne:h,eventDataKeys:l.eventDataKeys,transitionTime:l.CLICK_TRANSITION_TIME,transitionEasing:l.CLICK_TRANSITION_EASING}).call(a.setSliceCursor,c,{isTransitioning:c._transitioning}),re.call(h,X,N,{hovered:!1}),X.x0===X.x1||X.y0===X.y1?X._text="":X._text=s(X,p,N,f,B)||"";var ie=y.ensureSingle(Q,"g","slicetext"),oe=y.ensureSingle(ie,"text","",function(ce){ce.attr("data-notex",1)}),ue=y.ensureUniformFontSize(c,a.determineTextFont(N,X,B.font));oe.text(X._text||" ").classed("slicetext",!0).attr("text-anchor",j?"end":W?"start":"middle").call(i.font,ue).call(M.convertToTspans,c),X.textBB=i.bBox(oe.node()),X.transform=A(X,{fontSize:ue.size}),X.transform.fontSize=ue.size,b?oe.transition().attrTween("transform",function(ce){var ye=O(ce,o,te(),[S,x]);return function(de){return L(ye(de))}}):oe.attr("transform",L(X))}),H}},69816:function(k,m,t){k.exports={moduleType:"trace",name:"icicle",basePlotModule:t(96346),categories:[],animatable:!0,attributes:t(46291),layoutAttributes:t(92894),supplyDefaults:t(56524),supplyLayoutDefaults:t(21070),calc:t(46584).y,crossTraceCalc:t(46584).T,plot:t(85596),style:t(82454).style,colorbar:t(4898),meta:{}}},92894:function(k){k.exports={iciclecolorway:{valType:"colorlist",editType:"calc"},extendiciclecolors:{valType:"boolean",dflt:!0,editType:"calc"}}},21070:function(k,m,t){var d=t(71828),y=t(92894);k.exports=function(i,M){function v(h,l){return d.coerce(i,M,y,h,l)}v("iciclecolorway",M.colorway),v("extendiciclecolors")}},21538:function(k,m,t){var d=t(674),y=t(14102);k.exports=function(i,M,v){var h=v.flipX,l=v.flipY,a=v.orientation==="h",u=v.maxDepth,s=M[0],o=M[1];u&&(s=(i.height+1)*M[0]/Math.min(i.height+1,u),o=(i.height+1)*M[1]/Math.min(i.height+1,u));var c=d.partition().padding(v.pad.inner).size(a?[M[1],s]:[M[0],o])(i);return(a||h||l)&&y(c,M,{swapXY:a,flipX:h,flipY:l}),c}},85596:function(k,m,t){var d=t(80694),y=t(90666);k.exports=function(i,M,v,h){return d(i,M,v,h,{type:"icicle",drawDescendants:y})}},82454:function(k,m,t){var d=t(39898),y=t(7901),i=t(71828),M=t(72597).resizeText;function v(h,l,a){var u=l.data.data,s=!l.children,o=u.i,c=i.castOption(a,o,"marker.line.color")||y.defaultLine,f=i.castOption(a,o,"marker.line.width")||0;h.style("stroke-width",f).call(y.fill,u.color).call(y.stroke,c).style("opacity",s?a.leaf.opacity:null)}k.exports={style:function(h){var l=h._fullLayout._iciclelayer.selectAll(".trace");M(h,l,"icicle"),l.each(function(a){var u=d.select(this),s=a[0].trace;u.style("opacity",s.opacity),u.selectAll("path.surface").each(function(o){d.select(this).call(v,o,s)})})},styleOne:v}},17230:function(k,m,t){for(var d=t(9012),y=t(5386).fF,i=t(1426).extendFlat,M=t(51877).colormodel,v=["rgb","rgba","rgba256","hsl","hsla"],h=[],l=[],a=0;a0||d.inbox(h-l.y0,h-(l.y0+l.h*a.dy),0)>0)){var o,c=Math.floor((v-l.x0)/a.dx),f=Math.floor(Math.abs(h-l.y0)/a.dy);if(a._hasZ?o=l.z[f][c]:a._hasSource&&(o=a._canvas.el.getContext("2d",{willReadFrequently:!0}).getImageData(c,f,1,1).data),o){var p,w=l.hi||a.hoverinfo;if(w){var g=w.split("+");g.indexOf("all")!==-1&&(g=["color"]),g.indexOf("color")!==-1&&(p=!0)}var S,x=i.colormodel[a.colormodel],T=x.colormodel||a.colormodel,E=T.length,_=a._scaler(o),A=x.suffix,L=[];(a.hovertemplate||p)&&(L.push("["+[_[0]+A[0],_[1]+A[1],_[2]+A[2]].join(", ")),E===4&&L.push(", "+_[3]+A[3]),L.push("]"),L=L.join(""),M.extraText=T.toUpperCase()+": "+L),Array.isArray(a.hovertext)&&Array.isArray(a.hovertext[f])?S=a.hovertext[f][c]:Array.isArray(a.text)&&Array.isArray(a.text[f])&&(S=a.text[f][c]);var b=s.c2p(l.y0+(f+.5)*a.dy),R=l.x0+(c+.5)*a.dx,I=l.y0+(f+.5)*a.dy,O="["+o.slice(0,a.colormodel.length).join(", ")+"]";return[y.extendFlat(M,{index:[f,c],x0:u.c2p(l.x0+c*a.dx),x1:u.c2p(l.x0+(c+1)*a.dx),y0:b,y1:b,color:_,xVal:R,xLabelVal:R,yVal:I,yLabelVal:I,zLabelVal:O,text:S,hovertemplateLabels:{zLabel:O,colorLabel:L,"color[0]Label":_[0]+A[0],"color[1]Label":_[1]+A[1],"color[2]Label":_[2]+A[2],"color[3]Label":_[3]+A[3]}})]}}}},94507:function(k,m,t){k.exports={attributes:t(17230),supplyDefaults:t(13245),calc:t(71113),plot:t(60775),style:t(12826),hoverPoints:t(28749),eventData:t(30835),moduleType:"trace",name:"image",basePlotModule:t(93612),categories:["cartesian","svg","2dMap","noSortingByValue"],animatable:!1,meta:{}}},60775:function(k,m,t){var d=t(39898),y=t(71828),i=y.strTranslate,M=t(77922),v=t(51877),h=y.isIOS()||y.isSafari()||y.isIE();k.exports=function(l,a,u,s){var o=a.xaxis,c=a.yaxis,f=!(h||l._context._exportedPlot);y.makeTraceGroups(s,u,"im").each(function(p){var w=d.select(this),g=p[0],S=g.trace,x=(S.zsmooth==="fast"||S.zsmooth===!1&&f)&&!S._hasZ&&S._hasSource&&o.type==="linear"&&c.type==="linear";S._realImage=x;var T,E,_,A,L,b,R=g.z,I=g.x0,O=g.y0,z=g.w,F=g.h,B=S.dx,N=S.dy;for(b=0;T===void 0&&b0;)E=o.c2p(I+b*B),b--;for(b=0;A===void 0&&b0;)L=c.c2p(O+b*N),b--;Eq[0];if(H||ne){var te=T+W/2,Z=A+j/2;U+="transform:"+i(te+"px",Z+"px")+"scale("+(H?-1:1)+","+(ne?-1:1)+")"+i(-te+"px",-Z+"px")+";"}}Y.attr("style",U);var X=new Promise(function(re){if(S._hasZ)re();else if(S._hasSource)if(S._canvas&&S._canvas.el.width===z&&S._canvas.el.height===F&&S._canvas.source===S.source)re();else{var ie=document.createElement("canvas");ie.width=z,ie.height=F;var oe=ie.getContext("2d",{willReadFrequently:!0});S._image=S._image||new Image;var ue=S._image;ue.onload=function(){oe.drawImage(ue,0,0),S._canvas={el:ie,source:S.source},re()},ue.setAttribute("src",S.source)}}).then(function(){var re,ie;if(S._hasZ)ie=Q(function(ue,ce){return R[ce][ue]}),re=ie.toDataURL("image/png");else if(S._hasSource)if(x)re=S.source;else{var oe=S._canvas.el.getContext("2d",{willReadFrequently:!0}).getImageData(0,0,z,F).data;ie=Q(function(ue,ce){var ye=4*(ce*z+ue);return[oe[ye],oe[ye+1],oe[ye+2],oe[ye+3]]}),re=ie.toDataURL("image/png")}Y.attr({"xlink:href":re,height:j,width:W,x:T,y:A})});l._promises.push(X)}function Q(re){var ie=document.createElement("canvas");ie.width=W,ie.height=j;var oe,ue=ie.getContext("2d",{willReadFrequently:!0}),ce=function(Ce){return y.constrain(Math.round(o.c2p(I+Ce*B)-T),0,W)},ye=function(Ce){return y.constrain(Math.round(c.c2p(O+Ce*N)-A),0,j)},de=v.colormodel[S.colormodel],me=de.colormodel||S.colormodel,pe=de.fmt;for(b=0;b0}function _(I){I.each(function(O){g.stroke(d.select(this),O.line.color)}).each(function(O){g.fill(d.select(this),O.color)}).style("stroke-width",function(O){return O.line.width})}function A(I,O,z){var F=I._fullLayout,B=M.extendFlat({type:"linear",ticks:"outside",range:z,showline:!0},O),N={type:"linear",_id:"x"+O._id},W={letter:"x",font:F.font,noHover:!0,noTickson:!0};function j(Y,U){return M.coerce(B,N,w,Y,U)}return f(B,N,j,W,F),p(B,N,j,W),N}function L(I,O,z){return[Math.min(O/I.width,z/I.height),I,O+"x"+z]}function b(I,O,z,F){var B=document.createElementNS("http://www.w3.org/2000/svg","text"),N=d.select(B);return N.text(I).attr("x",0).attr("y",0).attr("text-anchor",z).attr("data-unformatted",I).call(o.convertToTspans,F).call(u.font,O),u.bBox(N.node())}function R(I,O,z,F,B,N){var W="_cache"+O;I[W]&&I[W].key===B||(I[W]={key:B,value:z});var j=M.aggNums(N,null,[I[W].value,F],2);return I[W].value=j,j}k.exports=function(I,O,z,F){var B,N=I._fullLayout;E(z)&&F&&(B=F()),M.makeTraceGroups(N._indicatorlayer,O,"trace").each(function(W){var j,Y,U,G,q,H=W[0].trace,ne=d.select(this),te=H._hasGauge,Z=H._isAngular,X=H._isBullet,Q=H.domain,re={w:N._size.w*(Q.x[1]-Q.x[0]),h:N._size.h*(Q.y[1]-Q.y[0]),l:N._size.l+N._size.w*Q.x[0],r:N._size.r+N._size.w*(1-Q.x[1]),t:N._size.t+N._size.h*(1-Q.y[1]),b:N._size.b+N._size.h*Q.y[0]},ie=re.l+re.w/2,oe=re.t+re.h/2,ue=Math.min(re.w/2,re.h),ce=s.innerRadius*ue,ye=H.align||"center";if(Y=oe,te){if(Z&&(j=ie,Y=oe+ue/2,U=function(Se){return function(Ce,ae){return[ae/Math.sqrt(Ce.width/2*(Ce.width/2)+Ce.height*Ce.height),Ce,ae]}(Se,.9*ce)}),X){var de=s.bulletPadding,me=1-s.bulletNumberDomainSize+de;j=re.l+(me+(1-me)*x[ye])*re.w,U=function(Se){return L(Se,(s.bulletNumberDomainSize-de)*re.w,re.h)}}}else j=re.l+x[ye]*re.w,U=function(Se){return L(Se,re.w,re.h)};(function(Se,Ce,ae,he){var be,ke,Le,Be=ae[0].trace,ze=he.numbersX,je=he.numbersY,ge=Be.align||"center",we=S[ge],Ee=he.transitionOpts,Ve=he.onComplete,Ye=M.ensureSingle(Ce,"g","numbers"),$e=[];Be._hasNumber&&$e.push("number"),Be._hasDelta&&($e.push("delta"),Be.delta.position==="left"&&$e.reverse());var st=Ye.selectAll("text").data($e);function ot(Bt,qt,Vt,Ke){if(!Bt.match("s")||Vt>=0==Ke>=0||qt(Vt).slice(-1).match(T)||qt(Ke).slice(-1).match(T))return qt;var Je=Bt.slice().replace("s","f").replace(/\d+/,function(nt){return parseInt(nt)-1}),qe=A(Se,{tickformat:Je});return function(nt){return Math.abs(nt)<1?c.tickText(qe,nt).text:qt(nt)}}st.enter().append("text"),st.attr("text-anchor",function(){return we}).attr("class",function(Bt){return Bt}).attr("x",null).attr("y",null).attr("dx",null).attr("dy",null),st.exit().remove();var ft,bt=Be.mode+Be.align;if(Be._hasDelta&&(ft=function(){var Bt=A(Se,{tickformat:Be.delta.valueformat},Be._range);Bt.setScale(),c.prepTicks(Bt);var qt=function(Ne){return c.tickText(Bt,Ne).text},Vt=Be.delta.suffix,Ke=Be.delta.prefix,Je=function(Ne){return Be.delta.relative?Ne.relativeDelta:Ne.delta},qe=function(Ne,Qe){return Ne===0||typeof Ne!="number"||isNaN(Ne)?"-":(Ne>0?Be.delta.increasing.symbol:Be.delta.decreasing.symbol)+Ke+Qe(Ne)+Vt},nt=function(Ne){return Ne.delta>=0?Be.delta.increasing.color:Be.delta.decreasing.color};Be._deltaLastValue===void 0&&(Be._deltaLastValue=Je(ae[0]));var ht=Ye.select("text.delta");function Re(){ht.text(qe(Je(ae[0]),qt)).call(g.fill,nt(ae[0])).call(o.convertToTspans,Se)}return ht.call(u.font,Be.delta.font).call(g.fill,nt({delta:Be._deltaLastValue})),E(Ee)?ht.transition().duration(Ee.duration).ease(Ee.easing).tween("text",function(){var Ne=d.select(this),Qe=Je(ae[0]),ut=Be._deltaLastValue,dt=ot(Be.delta.valueformat,qt,ut,Qe),_t=i(ut,Qe);return Be._deltaLastValue=Qe,function(It){Ne.text(qe(_t(It),dt)),Ne.call(g.fill,nt({delta:_t(It)}))}}).each("end",function(){Re(),Ve&&Ve()}).each("interrupt",function(){Re(),Ve&&Ve()}):Re(),ke=b(qe(Je(ae[0]),qt),Be.delta.font,we,Se),ht}(),bt+=Be.delta.position+Be.delta.font.size+Be.delta.font.family+Be.delta.valueformat,bt+=Be.delta.increasing.symbol+Be.delta.decreasing.symbol,Le=ke),Be._hasNumber&&(function(){var Bt=A(Se,{tickformat:Be.number.valueformat},Be._range);Bt.setScale(),c.prepTicks(Bt);var qt=function(nt){return c.tickText(Bt,nt).text},Vt=Be.number.suffix,Ke=Be.number.prefix,Je=Ye.select("text.number");function qe(){var nt=typeof ae[0].y=="number"?Ke+qt(ae[0].y)+Vt:"-";Je.text(nt).call(u.font,Be.number.font).call(o.convertToTspans,Se)}E(Ee)?Je.transition().duration(Ee.duration).ease(Ee.easing).each("end",function(){qe(),Ve&&Ve()}).each("interrupt",function(){qe(),Ve&&Ve()}).attrTween("text",function(){var nt=d.select(this),ht=i(ae[0].lastY,ae[0].y);Be._lastValue=ae[0].y;var Re=ot(Be.number.valueformat,qt,ae[0].lastY,ae[0].y);return function(Ne){nt.text(Ke+Re(ht(Ne))+Vt)}}):qe(),be=b(Ke+qt(ae[0].y)+Vt,Be.number.font,we,Se)}(),bt+=Be.number.font.size+Be.number.font.family+Be.number.valueformat+Be.number.suffix+Be.number.prefix,Le=be),Be._hasDelta&&Be._hasNumber){var Et,kt,xt=[(be.left+be.right)/2,(be.top+be.bottom)/2],Ft=[(ke.left+ke.right)/2,(ke.top+ke.bottom)/2],Ot=.75*Be.delta.font.size;Be.delta.position==="left"&&(Et=R(Be,"deltaPos",0,-1*(be.width*x[Be.align]+ke.width*(1-x[Be.align])+Ot),bt,Math.min),kt=xt[1]-Ft[1],Le={width:be.width+ke.width+Ot,height:Math.max(be.height,ke.height),left:ke.left+Et,right:be.right,top:Math.min(be.top,ke.top+kt),bottom:Math.max(be.bottom,ke.bottom+kt)}),Be.delta.position==="right"&&(Et=R(Be,"deltaPos",0,be.width*(1-x[Be.align])+ke.width*x[Be.align]+Ot,bt,Math.max),kt=xt[1]-Ft[1],Le={width:be.width+ke.width+Ot,height:Math.max(be.height,ke.height),left:be.left,right:ke.right+Et,top:Math.min(be.top,ke.top+kt),bottom:Math.max(be.bottom,ke.bottom+kt)}),Be.delta.position==="bottom"&&(Et=null,kt=ke.height,Le={width:Math.max(be.width,ke.width),height:be.height+ke.height,left:Math.min(be.left,ke.left),right:Math.max(be.right,ke.right),top:be.bottom-be.height,bottom:be.bottom+ke.height}),Be.delta.position==="top"&&(Et=null,kt=be.top,Le={width:Math.max(be.width,ke.width),height:be.height+ke.height,left:Math.min(be.left,ke.left),right:Math.max(be.right,ke.right),top:be.bottom-be.height-ke.height,bottom:be.bottom}),ft.attr({dx:Et,dy:kt})}(Be._hasNumber||Be._hasDelta)&&Ye.attr("transform",function(){var Bt=he.numbersScaler(Le);bt+=Bt[2];var qt,Vt=R(Be,"numbersScale",1,Bt[0],bt,Math.min);Be._scaleNumbers||(Vt=1),qt=Be._isAngular?je-Vt*Le.bottom:je-Vt*(Le.top+Le.bottom)/2,Be._numbersTop=Vt*Le.top+qt;var Ke=Le[ge];ge==="center"&&(Ke=(Le.left+Le.right)/2);var Je=ze-Vt*Ke;return Je=R(Be,"numbersTranslate",0,Je,bt,Math.max),h(Je,qt)+v(Vt)})})(I,ne,W,{numbersX:j,numbersY:Y,numbersScaler:U,transitionOpts:z,onComplete:B}),te&&(G={range:H.gauge.axis.range,color:H.gauge.bgcolor,line:{color:H.gauge.bordercolor,width:0},thickness:1},q={range:H.gauge.axis.range,color:"rgba(0, 0, 0, 0)",line:{color:H.gauge.bordercolor,width:H.gauge.borderwidth},thickness:1});var pe=ne.selectAll("g.angular").data(Z?W:[]);pe.exit().remove();var xe=ne.selectAll("g.angularaxis").data(Z?W:[]);xe.exit().remove(),Z&&function(Se,Ce,ae,he){var be,ke,Le,Be,ze=ae[0].trace,je=he.size,ge=he.radius,we=he.innerRadius,Ee=he.gaugeBg,Ve=he.gaugeOutline,Ye=[je.l+je.w/2,je.t+je.h/2+ge/2],$e=he.gauge,st=he.layer,ot=he.transitionOpts,ft=he.onComplete,bt=Math.PI/2;function Et(It){var Lt=ze.gauge.axis.range[0],yt=(It-Lt)/(ze.gauge.axis.range[1]-Lt)*Math.PI-bt;return yt<-bt?-bt:yt>bt?bt:yt}function kt(It){return d.svg.arc().innerRadius((we+ge)/2-It/2*(ge-we)).outerRadius((we+ge)/2+It/2*(ge-we)).startAngle(-bt)}function xt(It){It.attr("d",function(Lt){return kt(Lt.thickness).startAngle(Et(Lt.range[0])).endAngle(Et(Lt.range[1]))()})}$e.enter().append("g").classed("angular",!0),$e.attr("transform",h(Ye[0],Ye[1])),st.enter().append("g").classed("angularaxis",!0).classed("crisp",!0),st.selectAll("g.xangularaxistick,path,text").remove(),(be=A(Se,ze.gauge.axis)).type="linear",be.range=ze.gauge.axis.range,be._id="xangularaxis",be.ticklabeloverflow="allow",be.setScale();var Ft=function(It){return(be.range[0]-It.x)/(be.range[1]-be.range[0])*Math.PI+Math.PI},Ot={},Bt=c.makeLabelFns(be,0).labelStandoff;Ot.xFn=function(It){var Lt=Ft(It);return Math.cos(Lt)*Bt},Ot.yFn=function(It){var Lt=Ft(It),yt=Math.sin(Lt)>0?.2:1;return-Math.sin(Lt)*(Bt+It.fontSize*yt)+Math.abs(Math.cos(Lt))*(It.fontSize*a)},Ot.anchorFn=function(It){var Lt=Ft(It),yt=Math.cos(Lt);return Math.abs(yt)<.1?"middle":yt>0?"start":"end"},Ot.heightFn=function(It,Lt,yt){var Pt=Ft(It);return-.5*(1+Math.sin(Pt))*yt};var qt=function(It){return h(Ye[0]+ge*Math.cos(It),Ye[1]-ge*Math.sin(It))};if(Le=function(It){return qt(Ft(It))},ke=c.calcTicks(be),Be=c.getTickSigns(be)[2],be.visible){Be=be.ticks==="inside"?-1:1;var Vt=(be.linewidth||1)/2;c.drawTicks(Se,be,{vals:ke,layer:st,path:"M"+Be*Vt+",0h"+Be*be.ticklen,transFn:function(It){var Lt=Ft(It);return qt(Lt)+"rotate("+-l(Lt)+")"}}),c.drawLabels(Se,be,{vals:ke,layer:st,transFn:Le,labelFns:Ot})}var Ke=[Ee].concat(ze.gauge.steps),Je=$e.selectAll("g.bg-arc").data(Ke);Je.enter().append("g").classed("bg-arc",!0).append("path"),Je.select("path").call(xt).call(_),Je.exit().remove();var qe=kt(ze.gauge.bar.thickness),nt=$e.selectAll("g.value-arc").data([ze.gauge.bar]);nt.enter().append("g").classed("value-arc",!0).append("path");var ht,Re,Ne,Qe=nt.select("path");E(ot)?(Qe.transition().duration(ot.duration).ease(ot.easing).each("end",function(){ft&&ft()}).each("interrupt",function(){ft&&ft()}).attrTween("d",(ht=qe,Re=Et(ae[0].lastY),Ne=Et(ae[0].y),function(){var It=y(Re,Ne);return function(Lt){return ht.endAngle(It(Lt))()}})),ze._lastValue=ae[0].y):Qe.attr("d",typeof ae[0].y=="number"?qe.endAngle(Et(ae[0].y)):"M0,0Z"),Qe.call(_),nt.exit().remove(),Ke=[];var ut=ze.gauge.threshold.value;(ut||ut===0)&&Ke.push({range:[ut,ut],color:ze.gauge.threshold.color,line:{color:ze.gauge.threshold.line.color,width:ze.gauge.threshold.line.width},thickness:ze.gauge.threshold.thickness});var dt=$e.selectAll("g.threshold-arc").data(Ke);dt.enter().append("g").classed("threshold-arc",!0).append("path"),dt.select("path").call(xt).call(_),dt.exit().remove();var _t=$e.selectAll("g.gauge-outline").data([Ve]);_t.enter().append("g").classed("gauge-outline",!0).append("path"),_t.select("path").call(xt).call(_),_t.exit().remove()}(I,0,W,{radius:ue,innerRadius:ce,gauge:pe,layer:xe,size:re,gaugeBg:G,gaugeOutline:q,transitionOpts:z,onComplete:B});var Pe=ne.selectAll("g.bullet").data(X?W:[]);Pe.exit().remove();var _e=ne.selectAll("g.bulletaxis").data(X?W:[]);_e.exit().remove(),X&&function(Se,Ce,ae,he){var be,ke,Le,Be,ze,je=ae[0].trace,ge=he.gauge,we=he.layer,Ee=he.gaugeBg,Ve=he.gaugeOutline,Ye=he.size,$e=je.domain,st=he.transitionOpts,ot=he.onComplete;ge.enter().append("g").classed("bullet",!0),ge.attr("transform",h(Ye.l,Ye.t)),we.enter().append("g").classed("bulletaxis",!0).classed("crisp",!0),we.selectAll("g.xbulletaxistick,path,text").remove();var ft=Ye.h,bt=je.gauge.bar.thickness*ft,Et=$e.x[0],kt=$e.x[0]+($e.x[1]-$e.x[0])*(je._hasNumber||je._hasDelta?1-s.bulletNumberDomainSize:1);function xt(Je){Je.attr("width",function(qe){return Math.max(0,be.c2p(qe.range[1])-be.c2p(qe.range[0]))}).attr("x",function(qe){return be.c2p(qe.range[0])}).attr("y",function(qe){return .5*(1-qe.thickness)*ft}).attr("height",function(qe){return qe.thickness*ft})}(be=A(Se,je.gauge.axis))._id="xbulletaxis",be.domain=[Et,kt],be.setScale(),ke=c.calcTicks(be),Le=c.makeTransTickFn(be),Be=c.getTickSigns(be)[2],ze=Ye.t+Ye.h,be.visible&&(c.drawTicks(Se,be,{vals:be.ticks==="inside"?c.clipEnds(be,ke):ke,layer:we,path:c.makeTickPath(be,ze,Be),transFn:Le}),c.drawLabels(Se,be,{vals:ke,layer:we,transFn:Le,labelFns:c.makeLabelFns(be,ze)}));var Ft=[Ee].concat(je.gauge.steps),Ot=ge.selectAll("g.bg-bullet").data(Ft);Ot.enter().append("g").classed("bg-bullet",!0).append("rect"),Ot.select("rect").call(xt).call(_),Ot.exit().remove();var Bt=ge.selectAll("g.value-bullet").data([je.gauge.bar]);Bt.enter().append("g").classed("value-bullet",!0).append("rect"),Bt.select("rect").attr("height",bt).attr("y",(ft-bt)/2).call(_),E(st)?Bt.select("rect").transition().duration(st.duration).ease(st.easing).each("end",function(){ot&&ot()}).each("interrupt",function(){ot&&ot()}).attr("width",Math.max(0,be.c2p(Math.min(je.gauge.axis.range[1],ae[0].y)))):Bt.select("rect").attr("width",typeof ae[0].y=="number"?Math.max(0,be.c2p(Math.min(je.gauge.axis.range[1],ae[0].y))):0),Bt.exit().remove();var qt=ae.filter(function(){return je.gauge.threshold.value||je.gauge.threshold.value===0}),Vt=ge.selectAll("g.threshold-bullet").data(qt);Vt.enter().append("g").classed("threshold-bullet",!0).append("line"),Vt.select("line").attr("x1",be.c2p(je.gauge.threshold.value)).attr("x2",be.c2p(je.gauge.threshold.value)).attr("y1",(1-je.gauge.threshold.thickness)/2*ft).attr("y2",(1-(1-je.gauge.threshold.thickness)/2)*ft).call(g.stroke,je.gauge.threshold.line.color).style("stroke-width",je.gauge.threshold.line.width),Vt.exit().remove();var Ke=ge.selectAll("g.gauge-outline").data([Ve]);Ke.enter().append("g").classed("gauge-outline",!0).append("rect"),Ke.select("rect").call(xt).call(_),Ke.exit().remove()}(I,0,W,{gauge:Pe,layer:_e,size:re,gaugeBg:G,gaugeOutline:q,transitionOpts:z,onComplete:B});var Me=ne.selectAll("text.title").data(W);Me.exit().remove(),Me.enter().append("text").classed("title",!0),Me.attr("text-anchor",function(){return X?S.right:S[H.title.align]}).text(H.title.text).call(u.font,H.title.font).call(o.convertToTspans,I),Me.attr("transform",function(){var Se,Ce=re.l+re.w*x[H.title.align],ae=s.titlePadding,he=u.bBox(Me.node());return te?(Z&&(Se=H.gauge.axis.visible?u.bBox(xe.node()).top-ae-he.bottom:re.t+re.h/2-ue/2-he.bottom-ae),X&&(Se=Y-(he.top+he.bottom)/2,Ce=re.l-s.bulletPadding*re.w)):Se=H._numbersTop-ae-he.bottom,h(Ce,Se)})})}},16249:function(k,m,t){var d=t(50693),y=t(12663).axisHoverFormat,i=t(5386).fF,M=t(2418),v=t(9012),h=t(1426).extendFlat,l=t(30962).overrideAll,a=k.exports=l(h({x:{valType:"data_array"},y:{valType:"data_array"},z:{valType:"data_array"},value:{valType:"data_array"},isomin:{valType:"number"},isomax:{valType:"number"},surface:{show:{valType:"boolean",dflt:!0},count:{valType:"integer",dflt:2,min:1},fill:{valType:"number",min:0,max:1,dflt:1},pattern:{valType:"flaglist",flags:["A","B","C","D","E"],extras:["all","odd","even"],dflt:"all"}},spaceframe:{show:{valType:"boolean",dflt:!1},fill:{valType:"number",min:0,max:1,dflt:.15}},slices:{x:{show:{valType:"boolean",dflt:!1},locations:{valType:"data_array",dflt:[]},fill:{valType:"number",min:0,max:1,dflt:1}},y:{show:{valType:"boolean",dflt:!1},locations:{valType:"data_array",dflt:[]},fill:{valType:"number",min:0,max:1,dflt:1}},z:{show:{valType:"boolean",dflt:!1},locations:{valType:"data_array",dflt:[]},fill:{valType:"number",min:0,max:1,dflt:1}}},caps:{x:{show:{valType:"boolean",dflt:!0},fill:{valType:"number",min:0,max:1,dflt:1}},y:{show:{valType:"boolean",dflt:!0},fill:{valType:"number",min:0,max:1,dflt:1}},z:{show:{valType:"boolean",dflt:!0},fill:{valType:"number",min:0,max:1,dflt:1}}},text:{valType:"string",dflt:"",arrayOk:!0},hovertext:{valType:"string",dflt:"",arrayOk:!0},hovertemplate:i(),xhoverformat:y("x"),yhoverformat:y("y"),zhoverformat:y("z"),valuehoverformat:y("value",1),showlegend:h({},v.showlegend,{dflt:!1})},d("",{colorAttr:"`value`",showScaleDflt:!0,editTypeOverride:"calc"}),{opacity:M.opacity,lightposition:M.lightposition,lighting:M.lighting,flatshading:M.flatshading,contour:M.contour,hoverinfo:h({},v.hoverinfo)}),"calc","nested");a.flatshading.dflt=!0,a.lighting.facenormalsepsilon.dflt=0,a.x.editType=a.y.editType=a.z.editType=a.value.editType="calc+clearAxisTypes",a.transforms=void 0},56959:function(k,m,t){var d=t(78803),y=t(88489).processGrid,i=t(88489).filter;k.exports=function(M,v){v._len=Math.min(v.x.length,v.y.length,v.z.length,v.value.length),v._x=i(v.x,v._len),v._y=i(v.y,v._len),v._z=i(v.z,v._len),v._value=i(v.value,v._len);var h=y(v);v._gridFill=h.fill,v._Xs=h.Xs,v._Ys=h.Ys,v._Zs=h.Zs,v._len=h.len;for(var l=1/0,a=-1/0,u=0;u0;f--){var p=Math.min(c[f],c[f-1]),w=Math.max(c[f],c[f-1]);if(w>p&&p-1}function ie(je,ge){return je===null?ge:je}function oe(je,ge,we){ne();var Ee,Ve,Ye,$e=[ge],st=[we];if(x>=1)$e=[ge],st=[we];else if(x>0){var ot=function(qt,Vt){var Ke=qt[0],Je=qt[1],qe=qt[2],nt=function(It,Lt,yt){for(var Pt=[],wt=0;wt-1?we[Et]:H(kt,xt,Ft);bt[Et]=Bt>-1?Bt:Z(kt,xt,Ft,ie(je,Ot))}Ee=bt[0],Ve=bt[1],Ye=bt[2],o._meshI.push(Ee),o._meshJ.push(Ve),o._meshK.push(Ye),++R}}function ue(je,ge,we,Ee){var Ve=je[3];VeEe&&(Ve=Ee);for(var Ye=(je[3]-Ve)/(je[3]-ge[3]+1e-9),$e=[],st=0;st<4;st++)$e[st]=(1-Ye)*je[st]+Ye*ge[st];return $e}function ce(je,ge,we){return je>=ge&&je<=we}function ye(je){var ge=.001*(q-G);return je>=G-ge&&je<=q+ge}function de(je){for(var ge=[],we=0;we<4;we++){var Ee=je[we];ge.push([o._x[Ee],o._y[Ee],o._z[Ee],o._value[Ee]])}return ge}function me(je,ge,we,Ee,Ve,Ye){Ye||(Ye=1),we=[-1,-1,-1];var $e=!1,st=[ce(ge[0][3],Ee,Ve),ce(ge[1][3],Ee,Ve),ce(ge[2][3],Ee,Ve)];if(!st[0]&&!st[1]&&!st[2])return!1;var ot=function(bt,Et,kt){return ye(Et[0][3])&&ye(Et[1][3])&&ye(Et[2][3])?(oe(bt,Et,kt),!0):Ye<3&&me(bt,Et,kt,G,q,++Ye)};if(st[0]&&st[1]&&st[2])return ot(je,ge,we)||$e;var ft=!1;return[[0,1,2],[2,0,1],[1,2,0]].forEach(function(bt){if(st[bt[0]]&&st[bt[1]]&&!st[bt[2]]){var Et=ge[bt[0]],kt=ge[bt[1]],xt=ge[bt[2]],Ft=ue(xt,Et,Ee,Ve),Ot=ue(xt,kt,Ee,Ve);$e=ot(je,[Ot,Ft,Et],[-1,-1,we[bt[0]]])||$e,$e=ot(je,[Et,kt,Ot],[we[bt[0]],we[bt[1]],-1])||$e,ft=!0}}),ft||[[0,1,2],[1,2,0],[2,0,1]].forEach(function(bt){if(st[bt[0]]&&!st[bt[1]]&&!st[bt[2]]){var Et=ge[bt[0]],kt=ge[bt[1]],xt=ge[bt[2]],Ft=ue(kt,Et,Ee,Ve),Ot=ue(xt,Et,Ee,Ve);$e=ot(je,[Ot,Ft,Et],[-1,-1,we[bt[0]]])||$e,ft=!0}}),$e}function pe(je,ge,we,Ee){var Ve=!1,Ye=de(ge),$e=[ce(Ye[0][3],we,Ee),ce(Ye[1][3],we,Ee),ce(Ye[2][3],we,Ee),ce(Ye[3][3],we,Ee)];if(!($e[0]||$e[1]||$e[2]||$e[3]))return Ve;if($e[0]&&$e[1]&&$e[2]&&$e[3])return b&&(Ve=function(ot,ft,bt){var Et=function(kt,xt,Ft){oe(ot,[ft[kt],ft[xt],ft[Ft]],[bt[kt],bt[xt],bt[Ft]])};Et(0,1,2),Et(3,0,1),Et(2,3,0),Et(1,2,3)}(je,Ye,ge)||Ve),Ve;var st=!1;return[[0,1,2,3],[3,0,1,2],[2,3,0,1],[1,2,3,0]].forEach(function(ot){if($e[ot[0]]&&$e[ot[1]]&&$e[ot[2]]&&!$e[ot[3]]){var ft=Ye[ot[0]],bt=Ye[ot[1]],Et=Ye[ot[2]],kt=Ye[ot[3]];if(b)Ve=oe(je,[ft,bt,Et],[ge[ot[0]],ge[ot[1]],ge[ot[2]]])||Ve;else{var xt=ue(kt,ft,we,Ee),Ft=ue(kt,bt,we,Ee),Ot=ue(kt,Et,we,Ee);Ve=oe(null,[xt,Ft,Ot],[-1,-1,-1])||Ve}st=!0}}),st||([[0,1,2,3],[1,2,3,0],[2,3,0,1],[3,0,1,2],[0,2,3,1],[1,3,2,0]].forEach(function(ot){if($e[ot[0]]&&$e[ot[1]]&&!$e[ot[2]]&&!$e[ot[3]]){var ft=Ye[ot[0]],bt=Ye[ot[1]],Et=Ye[ot[2]],kt=Ye[ot[3]],xt=ue(Et,ft,we,Ee),Ft=ue(Et,bt,we,Ee),Ot=ue(kt,bt,we,Ee),Bt=ue(kt,ft,we,Ee);b?(Ve=oe(je,[ft,Bt,xt],[ge[ot[0]],-1,-1])||Ve,Ve=oe(je,[bt,Ft,Ot],[ge[ot[1]],-1,-1])||Ve):Ve=function(qt,Vt,Ke){var Je=function(qe,nt,ht){oe(null,[Vt[qe],Vt[nt],Vt[ht]],[Ke[qe],Ke[nt],Ke[ht]])};Je(0,1,2),Je(2,3,0)}(0,[xt,Ft,Ot,Bt],[-1,-1,-1,-1])||Ve,st=!0}}),st||[[0,1,2,3],[1,2,3,0],[2,3,0,1],[3,0,1,2]].forEach(function(ot){if($e[ot[0]]&&!$e[ot[1]]&&!$e[ot[2]]&&!$e[ot[3]]){var ft=Ye[ot[0]],bt=Ye[ot[1]],Et=Ye[ot[2]],kt=Ye[ot[3]],xt=ue(bt,ft,we,Ee),Ft=ue(Et,ft,we,Ee),Ot=ue(kt,ft,we,Ee);b?(Ve=oe(je,[ft,xt,Ft],[ge[ot[0]],-1,-1])||Ve,Ve=oe(je,[ft,Ft,Ot],[ge[ot[0]],-1,-1])||Ve,Ve=oe(je,[ft,Ot,xt],[ge[ot[0]],-1,-1])||Ve):Ve=oe(null,[xt,Ft,Ot],[-1,-1,-1])||Ve,st=!0}})),Ve}function xe(je,ge,we,Ee,Ve,Ye,$e,st,ot,ft,bt){var Et=!1;return L&&(re(je,"A")&&(Et=pe(null,[ge,we,Ee,Ye],ft,bt)||Et),re(je,"B")&&(Et=pe(null,[we,Ee,Ve,ot],ft,bt)||Et),re(je,"C")&&(Et=pe(null,[we,Ye,$e,ot],ft,bt)||Et),re(je,"D")&&(Et=pe(null,[Ee,Ye,st,ot],ft,bt)||Et),re(je,"E")&&(Et=pe(null,[we,Ee,Ye,ot],ft,bt)||Et)),b&&(Et=pe(je,[we,Ee,Ye,ot],ft,bt)||Et),Et}function Pe(je,ge,we,Ee,Ve,Ye,$e,st){return[st[0]===!0||me(je,de([ge,we,Ee]),[ge,we,Ee],Ye,$e),st[1]===!0||me(je,de([Ee,Ve,ge]),[Ee,Ve,ge],Ye,$e)]}function _e(je,ge,we,Ee,Ve,Ye,$e,st,ot){return st?Pe(je,ge,we,Ve,Ee,Ye,$e,ot):Pe(je,we,Ve,Ee,ge,Ye,$e,ot)}function Me(je,ge,we,Ee,Ve,Ye,$e){var st,ot,ft,bt,Et=!1,kt=function(){Et=me(je,[st,ot,ft],[-1,-1,-1],Ve,Ye)||Et,Et=me(je,[ft,bt,st],[-1,-1,-1],Ve,Ye)||Et},xt=$e[0],Ft=$e[1],Ot=$e[2];return xt&&(st=X(de([j(ge,we-0,Ee-0)])[0],de([j(ge-1,we-0,Ee-0)])[0],xt),ot=X(de([j(ge,we-0,Ee-1)])[0],de([j(ge-1,we-0,Ee-1)])[0],xt),ft=X(de([j(ge,we-1,Ee-1)])[0],de([j(ge-1,we-1,Ee-1)])[0],xt),bt=X(de([j(ge,we-1,Ee-0)])[0],de([j(ge-1,we-1,Ee-0)])[0],xt),kt()),Ft&&(st=X(de([j(ge-0,we,Ee-0)])[0],de([j(ge-0,we-1,Ee-0)])[0],Ft),ot=X(de([j(ge-0,we,Ee-1)])[0],de([j(ge-0,we-1,Ee-1)])[0],Ft),ft=X(de([j(ge-1,we,Ee-1)])[0],de([j(ge-1,we-1,Ee-1)])[0],Ft),bt=X(de([j(ge-1,we,Ee-0)])[0],de([j(ge-1,we-1,Ee-0)])[0],Ft),kt()),Ot&&(st=X(de([j(ge-0,we-0,Ee)])[0],de([j(ge-0,we-0,Ee-1)])[0],Ot),ot=X(de([j(ge-0,we-1,Ee)])[0],de([j(ge-0,we-1,Ee-1)])[0],Ot),ft=X(de([j(ge-1,we-1,Ee)])[0],de([j(ge-1,we-1,Ee-1)])[0],Ot),bt=X(de([j(ge-1,we-0,Ee)])[0],de([j(ge-1,we-0,Ee-1)])[0],Ot),kt()),Et}function Se(je,ge,we,Ee,Ve,Ye,$e,st,ot,ft,bt,Et){var kt=je;return Et?(L&&je==="even"&&(kt=null),xe(kt,ge,we,Ee,Ve,Ye,$e,st,ot,ft,bt)):(L&&je==="odd"&&(kt=null),xe(kt,ot,st,$e,Ye,Ve,Ee,we,ge,ft,bt))}function Ce(je,ge,we,Ee,Ve){for(var Ye=[],$e=0,st=0;stMath.abs(Ye-U)?[Y,Ye]:[Ye,U];L=!0,be(ge,$e[0],$e[1]),L=!1}}var st=[[Math.min(G,U),Math.max(G,U)],[Math.min(Y,q),Math.max(Y,q)]];["x","y","z"].forEach(function(ot){for(var ft=[],bt=0;bt0&&(Bt.push(Ke.id),ot==="x"?qt.push([Ke.distRatio,0,0]):ot==="y"?qt.push([0,Ke.distRatio,0]):qt.push([0,0,Ke.distRatio]))}else Ot=ze(1,ot==="x"?F-1:ot==="y"?B-1:N-1);Bt.length>0&&(ft[Et]=ot==="x"?ke(je,Bt,kt,xt,qt,ft[Et]):ot==="y"?Le(je,Bt,kt,xt,qt,ft[Et]):Be(je,Bt,kt,xt,qt,ft[Et]),Et++),Ot.length>0&&(ft[Et]=ot==="x"?Ce(je,Ot,kt,xt,ft[Et]):ot==="y"?ae(je,Ot,kt,xt,ft[Et]):he(je,Ot,kt,xt,ft[Et]),Et++)}var Je=o.caps[ot];Je.show&&Je.fill&&(Q(Je.fill),ft[Et]=ot==="x"?Ce(je,[0,F-1],kt,xt,ft[Et]):ot==="y"?ae(je,[0,B-1],kt,xt,ft[Et]):he(je,[0,N-1],kt,xt,ft[Et]),Et++)}}),R===0&&te(),o._meshX=p,o._meshY=w,o._meshZ=g,o._meshIntensity=S,o._Xs=I,o._Ys=O,o._Zs=z}(),o}k.exports={findNearestOnAxis:h,generateIsoMeshes:s,createIsosurfaceTrace:function(o,c){var f=o.glplot.gl,p=d({gl:f}),w=new l(o,p,c.uid);return p._trace=w,w.update(c),o.glplot.add(p),w}}},82738:function(k,m,t){var d=t(71828),y=t(73972),i=t(16249),M=t(1586);function v(h,l,a,u,s){var o=s("isomin"),c=s("isomax");c!=null&&o!=null&&o>c&&(l.isomin=null,l.isomax=null);var f=s("x"),p=s("y"),w=s("z"),g=s("value");f&&f.length&&p&&p.length&&w&&w.length&&g&&g.length?(y.getComponentMethod("calendars","handleTraceDefaults")(h,l,["x","y","z"],u),s("valuehoverformat"),["x","y","z"].forEach(function(S){s(S+"hoverformat");var x="caps."+S;s(x+".show")&&s(x+".fill");var T="slices."+S;s(T+".show")&&(s(T+".fill"),s(T+".locations"))}),s("spaceframe.show")&&s("spaceframe.fill"),s("surface.show")&&(s("surface.count"),s("surface.fill"),s("surface.pattern")),s("contour.show")&&(s("contour.color"),s("contour.width")),["text","hovertext","hovertemplate","lighting.ambient","lighting.diffuse","lighting.specular","lighting.roughness","lighting.fresnel","lighting.vertexnormalsepsilon","lighting.facenormalsepsilon","lightposition.x","lightposition.y","lightposition.z","flatshading","opacity"].forEach(function(S){s(S)}),M(h,l,u,s,{prefix:"",cLetter:"c"}),l._length=null):l.visible=!1}k.exports={supplyDefaults:function(h,l,a,u){v(h,l,0,u,function(s,o){return d.coerce(h,l,i,s,o)})},supplyIsoDefaults:v}},64943:function(k,m,t){k.exports={attributes:t(16249),supplyDefaults:t(82738).supplyDefaults,calc:t(56959),colorbar:{min:"cmin",max:"cmax"},plot:t(22674).createIsosurfaceTrace,moduleType:"trace",name:"isosurface",basePlotModule:t(58547),categories:["gl3d","showLegend"],meta:{}}},2418:function(k,m,t){var d=t(50693),y=t(12663).axisHoverFormat,i=t(5386).fF,M=t(54532),v=t(9012),h=t(1426).extendFlat;k.exports=h({x:{valType:"data_array",editType:"calc+clearAxisTypes"},y:{valType:"data_array",editType:"calc+clearAxisTypes"},z:{valType:"data_array",editType:"calc+clearAxisTypes"},i:{valType:"data_array",editType:"calc"},j:{valType:"data_array",editType:"calc"},k:{valType:"data_array",editType:"calc"},text:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertemplate:i({editType:"calc"}),xhoverformat:y("x"),yhoverformat:y("y"),zhoverformat:y("z"),delaunayaxis:{valType:"enumerated",values:["x","y","z"],dflt:"z",editType:"calc"},alphahull:{valType:"number",dflt:-1,editType:"calc"},intensity:{valType:"data_array",editType:"calc"},intensitymode:{valType:"enumerated",values:["vertex","cell"],dflt:"vertex",editType:"calc"},color:{valType:"color",editType:"calc"},vertexcolor:{valType:"data_array",editType:"calc"},facecolor:{valType:"data_array",editType:"calc"},transforms:void 0},d("",{colorAttr:"`intensity`",showScaleDflt:!0,editTypeOverride:"calc"}),{opacity:M.opacity,flatshading:{valType:"boolean",dflt:!1,editType:"calc"},contour:{show:h({},M.contours.x.show,{}),color:M.contours.x.color,width:M.contours.x.width,editType:"calc"},lightposition:{x:h({},M.lightposition.x,{dflt:1e5}),y:h({},M.lightposition.y,{dflt:1e5}),z:h({},M.lightposition.z,{dflt:0}),editType:"calc"},lighting:h({vertexnormalsepsilon:{valType:"number",min:0,max:1,dflt:1e-12,editType:"calc"},facenormalsepsilon:{valType:"number",min:0,max:1,dflt:1e-6,editType:"calc"},editType:"calc"},M.lighting),hoverinfo:h({},v.hoverinfo,{editType:"calc"}),showlegend:h({},v.showlegend,{dflt:!1})})},82932:function(k,m,t){var d=t(78803);k.exports=function(y,i){i.intensity&&d(y,i,{vals:i.intensity,containerStr:"",cLetter:"c"})}},91134:function(k,m,t){var d=t(9330).gl_mesh3d,y=t(9330).delaunay_triangulate,i=t(9330).alpha_shape,M=t(9330).convex_hull,v=t(81697).parseColorScale,h=t(78614),l=t(21081).extractOpts,a=t(90060);function u(w,g,S){this.scene=w,this.uid=S,this.mesh=g,this.name="",this.color="#fff",this.data=null,this.showContour=!1}var s=u.prototype;function o(w){for(var g=[],S=w.length,x=0;x=g-.5)return!1;return!0}s.handlePick=function(w){if(w.object===this.mesh){var g=w.index=w.data.index;w.data._cellCenter?w.traceCoordinate=w.data.dataCoordinate:w.traceCoordinate=[this.data.x[g],this.data.y[g],this.data.z[g]];var S=this.data.hovertext||this.data.text;return Array.isArray(S)&&S[g]!==void 0?w.textLabel=S[g]:S&&(w.textLabel=S),!0}},s.update=function(w){var g=this.scene,S=g.fullSceneLayout;this.data=w;var x,T=w.x.length,E=a(c(S.xaxis,w.x,g.dataScale[0],w.xcalendar),c(S.yaxis,w.y,g.dataScale[1],w.ycalendar),c(S.zaxis,w.z,g.dataScale[2],w.zcalendar));if(w.i&&w.j&&w.k){if(w.i.length!==w.j.length||w.j.length!==w.k.length||!p(w.i,T)||!p(w.j,T)||!p(w.k,T))return;x=a(f(w.i),f(w.j),f(w.k))}else x=w.alphahull===0?M(E):w.alphahull>0?i(w.alphahull,E):function(b,R){for(var I=["x","y","z"].indexOf(b),O=[],z=R.length,F=0;F_):E=F>I,_=F;var B=f(I,O,z,F);B.pos=R,B.yc=(I+F)/2,B.i=b,B.dir=E?"increasing":"decreasing",B.x=B.pos,B.y=[z,O],A&&(B.orig_p=s[b]),x&&(B.tx=u.text[b]),T&&(B.htx=u.hovertext[b]),L.push(B)}else L.push({pos:R,empty:!0})}return u._extremes[c._id]=i.findExtremes(c,d.concat(g,w),{padded:!0}),L.length&&(L[0].t={labels:{open:y(a,"open:")+" ",high:y(a,"high:")+" ",low:y(a,"low:")+" ",close:y(a,"close:")+" "}}),L}k.exports={calc:function(a,u){var s=i.getFromId(a,u.xaxis),o=i.getFromId(a,u.yaxis),c=function(S,x,T){var E=T._minDiff;if(!E){var _,A=S._fullData,L=[];for(E=1/0,_=0;_"+x.labels[O]+d.hoverLabelText(g,z,S.yhoverformat):((I=y.extendFlat({},E)).y0=I.y1=F,I.yLabelVal=z,I.yLabel=x.labels[O]+d.hoverLabelText(g,z,S.yhoverformat),I.name="",T.push(I),b[z]=I)}return T}function s(o,c,f,p){var w=o.cd,g=o.ya,S=w[0].trace,x=w[0].t,T=a(o,c,f,p);if(!T)return[];var E=w[T.index],_=T.index=E.i,A=E.dir;function L(B){return x.labels[B]+d.hoverLabelText(g,S[B][_],S.yhoverformat)}var b=E.hi||S.hoverinfo,R=b.split("+"),I=b==="all",O=I||R.indexOf("y")!==-1,z=I||R.indexOf("text")!==-1,F=O?[L("open"),L("high"),L("low"),L("close")+" "+l[A]]:[];return z&&v(E,S,F),T.extraText=F.join("
"),T.y0=T.y1=g.c2p(E.yc,!0),[T]}k.exports={hoverPoints:function(o,c,f,p){return o.cd[0].trace.hoverlabel.split?u(o,c,f,p):s(o,c,f,p)},hoverSplit:u,hoverOnPoints:s}},54186:function(k,m,t){k.exports={moduleType:"trace",name:"ohlc",basePlotModule:t(93612),categories:["cartesian","svg","showLegend"],meta:{},attributes:t(2522),supplyDefaults:t(16169),calc:t(3485).calc,plot:t(72314),style:t(53101),hoverPoints:t(66449).hoverPoints,selectPoints:t(67324)}},14555:function(k,m,t){var d=t(73972),y=t(71828);k.exports=function(i,M,v,h){var l=v("x"),a=v("open"),u=v("high"),s=v("low"),o=v("close");if(v("hoverlabel.split"),d.getComponentMethod("calendars","handleTraceDefaults")(i,M,["x"],h),a&&u&&s&&o){var c=Math.min(a.length,u.length,s.length,o.length);return l&&(c=Math.min(c,y.minRowLength(l))),M._length=c,c}}},72314:function(k,m,t){var d=t(39898),y=t(71828);k.exports=function(i,M,v,h){var l=M.yaxis,a=M.xaxis,u=!!a.rangebreaks;y.makeTraceGroups(h,v,"trace ohlc").each(function(s){var o=d.select(this),c=s[0],f=c.t;if(c.trace.visible!==!0||f.empty)o.remove();else{var p=f.tickLen,w=o.selectAll("path").data(y.identity);w.enter().append("path"),w.exit().remove(),w.attr("d",function(g){if(g.empty)return"M0,0Z";var S=a.c2p(g.pos-p,!0),x=a.c2p(g.pos+p,!0),T=u?(S+x)/2:a.c2p(g.pos,!0);return"M"+S+","+l.c2p(g.o,!0)+"H"+T+"M"+T+","+l.c2p(g.h,!0)+"V"+l.c2p(g.l,!0)+"M"+x+","+l.c2p(g.c,!0)+"H"+T})}})}},67324:function(k){k.exports=function(m,t){var d,y=m.cd,i=m.xaxis,M=m.yaxis,v=[],h=y[0].t.bPos||0;if(t===!1)for(d=0;d=Z.length||X[Z[Q]]!==void 0)return!1;X[Z[Q]]=!0}return!0}(te))for(ne=0;ne0;g&&(p="array");var S=o("categoryorder",p);S==="array"?(o("categoryarray"),o("ticktext")):(delete u.categoryarray,delete u.ticktext),g||S!=="array"||(s.categoryorder="trace")}}k.exports=function(u,s,o,c){function f(x,T){return d.coerce(u,s,h,x,T)}var p=v(u,s,{name:"dimensions",handleItemDefaults:a}),w=function(x,T,E,_,A){A("line.shape"),A("line.hovertemplate");var L=A("line.color",_.colorway[0]);if(y(x,"line")&&d.isArrayOrTypedArray(L)){if(L.length)return A("line.colorscale"),i(x,T,_,A,{prefix:"line.",cLetter:"c"}),L.length;T.line.color=E}return 1/0}(u,s,o,c,f);M(s,c,f),Array.isArray(p)&&p.length||(s.visible=!1),l(s,p,"values",w),f("hoveron"),f("hovertemplate"),f("arrangement"),f("bundlecolors"),f("sortpaths"),f("counts");var g={family:c.font.family,size:Math.round(c.font.size),color:c.font.color};d.coerceFont(f,"labelfont",g);var S={family:c.font.family,size:Math.round(c.font.size/1.2),color:c.font.color};d.coerceFont(f,"tickfont",S)}},94873:function(k,m,t){k.exports={attributes:t(99506),supplyDefaults:t(14647),calc:t(28699),plot:t(45784),colorbar:{container:"line",min:"cmin",max:"cmax"},moduleType:"trace",name:"parcats",basePlotModule:t(27677),categories:["noOpacity"],meta:{}}},45460:function(k,m,t){var d=t(39898),y=t(81684).k4,i=t(72391),M=t(30211),v=t(71828),h=v.strTranslate,l=t(91424),a=t(84267),u=t(63893);function s(te,Z,X,Q){var re=Z._context.staticPlot,ie=te.map(U.bind(0,Z,X)),oe=Q.selectAll("g.parcatslayer").data([null]);oe.enter().append("g").attr("class","parcatslayer").style("pointer-events",re?"none":"all");var ue=oe.selectAll("g.trace.parcats").data(ie,o),ce=ue.enter().append("g").attr("class","trace parcats");ue.attr("transform",function(Se){return h(Se.x,Se.y)}),ce.append("g").attr("class","paths");var ye=ue.select("g.paths").selectAll("path.path").data(function(Se){return Se.paths},o);ye.attr("fill",function(Se){return Se.model.color});var de=ye.enter().append("path").attr("class","path").attr("stroke-opacity",0).attr("fill",function(Se){return Se.model.color}).attr("fill-opacity",0);T(de),ye.attr("d",function(Se){return Se.svgD}),de.empty()||ye.sort(f),ye.exit().remove(),ye.on("mouseover",p).on("mouseout",w).on("click",x),ce.append("g").attr("class","dimensions");var me=ue.select("g.dimensions").selectAll("g.dimension").data(function(Se){return Se.dimensions},o);me.enter().append("g").attr("class","dimension"),me.attr("transform",function(Se){return h(Se.x,0)}),me.exit().remove();var pe=me.selectAll("g.category").data(function(Se){return Se.categories},o),xe=pe.enter().append("g").attr("class","category");pe.attr("transform",function(Se){return h(0,Se.y)}),xe.append("rect").attr("class","catrect").attr("pointer-events","none"),pe.select("rect.catrect").attr("fill","none").attr("width",function(Se){return Se.width}).attr("height",function(Se){return Se.height}),_(xe);var Pe=pe.selectAll("rect.bandrect").data(function(Se){return Se.bands},o);Pe.each(function(){v.raiseToTop(this)}),Pe.attr("fill",function(Se){return Se.color});var _e=Pe.enter().append("rect").attr("class","bandrect").attr("stroke-opacity",0).attr("fill",function(Se){return Se.color}).attr("fill-opacity",0);Pe.attr("fill",function(Se){return Se.color}).attr("width",function(Se){return Se.width}).attr("height",function(Se){return Se.height}).attr("y",function(Se){return Se.y}).attr("cursor",function(Se){return Se.parcatsViewModel.arrangement==="fixed"?"default":Se.parcatsViewModel.arrangement==="perpendicular"?"ns-resize":"move"}),A(_e),Pe.exit().remove(),xe.append("text").attr("class","catlabel").attr("pointer-events","none");var Me=Z._fullLayout.paper_bgcolor;pe.select("text.catlabel").attr("text-anchor",function(Se){return c(Se)?"start":"end"}).attr("alignment-baseline","middle").style("text-shadow",u.makeTextShadow(Me)).style("fill","rgb(0, 0, 0)").attr("x",function(Se){return c(Se)?Se.width+5:-5}).attr("y",function(Se){return Se.height/2}).text(function(Se){return Se.model.categoryLabel}).each(function(Se){l.font(d.select(this),Se.parcatsViewModel.categorylabelfont),u.convertToTspans(d.select(this),Z)}),xe.append("text").attr("class","dimlabel"),pe.select("text.dimlabel").attr("text-anchor","middle").attr("alignment-baseline","baseline").attr("cursor",function(Se){return Se.parcatsViewModel.arrangement==="fixed"?"default":"ew-resize"}).attr("x",function(Se){return Se.width/2}).attr("y",-5).text(function(Se,Ce){return Ce===0?Se.parcatsViewModel.model.dimensions[Se.model.dimensionInd].dimensionLabel:null}).each(function(Se){l.font(d.select(this),Se.parcatsViewModel.labelfont)}),pe.selectAll("rect.bandrect").on("mouseover",O).on("mouseout",z),pe.exit().remove(),me.call(d.behavior.drag().origin(function(Se){return{x:Se.x,y:0}}).on("dragstart",F).on("drag",B).on("dragend",N)),ue.each(function(Se){Se.traceSelection=d.select(this),Se.pathSelection=d.select(this).selectAll("g.paths").selectAll("path.path"),Se.dimensionSelection=d.select(this).selectAll("g.dimensions").selectAll("g.dimension")}),ue.exit().remove()}function o(te){return te.key}function c(te){var Z=te.parcatsViewModel.dimensions.length,X=te.parcatsViewModel.dimensions[Z-1].model.dimensionInd;return te.model.dimensionInd===X}function f(te,Z){return te.model.rawColor>Z.model.rawColor?1:te.model.rawColor"),ke=d.mouse(ue)[0];M.loneHover({trace:ce,x:Pe-de.left+me.left,y:_e-de.top+me.top,text:be,color:te.model.color,borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontSize:10,fontColor:Me,idealAlign:ke1&&me.displayInd===de.dimensions.length-1?(Q=ce.left,re="left"):(Q=ce.left+ce.width,re="right");var Pe=ye.model.count,_e=ye.model.categoryLabel,Me=Pe/ye.parcatsViewModel.model.count,Se={countLabel:Pe,categoryLabel:_e,probabilityLabel:Me.toFixed(3)},Ce=[];ye.parcatsViewModel.hoverinfoItems.indexOf("count")!==-1&&Ce.push(["Count:",Se.countLabel].join(" ")),ye.parcatsViewModel.hoverinfoItems.indexOf("probability")!==-1&&Ce.push(["P("+Se.categoryLabel+"):",Se.probabilityLabel].join(" "));var ae=Ce.join("
");return{trace:pe,x:ie*(Q-Z.left),y:oe*(xe-Z.top),text:ae,color:"lightgray",borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontSize:12,fontColor:"black",idealAlign:re,hovertemplate:pe.hovertemplate,hovertemplateLabels:Se,eventData:[{data:pe._input,fullData:pe,count:Pe,category:_e,probability:Me}]}}function O(te){if(!te.parcatsViewModel.dragDimension&&te.parcatsViewModel.hoverinfoItems.indexOf("skip")===-1){if(d.mouse(this)[1]<-1)return;var Z,X=te.parcatsViewModel.graphDiv,Q=X._fullLayout,re=Q._paperdiv.node().getBoundingClientRect(),ie=te.parcatsViewModel.hoveron,oe=this;ie==="color"?(function(ue){var ce=d.select(ue).datum(),ye=L(ce);E(ye),ye.each(function(){v.raiseToTop(this)}),d.select(ue.parentNode).selectAll("rect.bandrect").filter(function(de){return de.color===ce.color}).each(function(){v.raiseToTop(this),d.select(this).attr("stroke","black").attr("stroke-width",1.5)})}(oe),R(oe,"plotly_hover",d.event)):(function(ue){d.select(ue.parentNode).selectAll("rect.bandrect").each(function(ce){var ye=L(ce);E(ye),ye.each(function(){v.raiseToTop(this)})}),d.select(ue.parentNode).select("rect.catrect").attr("stroke","black").attr("stroke-width",2.5)}(oe),b(oe,"plotly_hover",d.event)),te.parcatsViewModel.hoverinfoItems.indexOf("none")===-1&&(ie==="category"?Z=I(X,re,oe):ie==="color"?Z=function(ue,ce,ye){ue._fullLayout._calcInverseTransform(ue);var de,me,pe=ue._fullLayout._invScaleX,xe=ue._fullLayout._invScaleY,Pe=ye.getBoundingClientRect(),_e=d.select(ye).datum(),Me=_e.categoryViewModel,Se=Me.parcatsViewModel,Ce=Se.model.dimensions[Me.model.dimensionInd],ae=Se.trace,he=Pe.y+Pe.height/2;Se.dimensions.length>1&&Ce.displayInd===Se.dimensions.length-1?(de=Pe.left,me="left"):(de=Pe.left+Pe.width,me="right");var be=Me.model.categoryLabel,ke=_e.parcatsViewModel.model.count,Le=0;_e.categoryViewModel.bands.forEach(function(st){st.color===_e.color&&(Le+=st.count)});var Be=Me.model.count,ze=0;Se.pathSelection.each(function(st){st.model.color===_e.color&&(ze+=st.model.count)});var je=Le/ke,ge=Le/ze,we=Le/Be,Ee={countLabel:ke,categoryLabel:be,probabilityLabel:je.toFixed(3)},Ve=[];Me.parcatsViewModel.hoverinfoItems.indexOf("count")!==-1&&Ve.push(["Count:",Ee.countLabel].join(" ")),Me.parcatsViewModel.hoverinfoItems.indexOf("probability")!==-1&&(Ve.push("P(color ∩ "+be+"): "+Ee.probabilityLabel),Ve.push("P("+be+" | color): "+ge.toFixed(3)),Ve.push("P(color | "+be+"): "+we.toFixed(3)));var Ye=Ve.join("
"),$e=a.mostReadable(_e.color,["black","white"]);return{trace:ae,x:pe*(de-ce.left),y:xe*(he-ce.top),text:Ye,color:_e.color,borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontColor:$e,fontSize:10,idealAlign:me,hovertemplate:ae.hovertemplate,hovertemplateLabels:Ee,eventData:[{data:ae._input,fullData:ae,category:be,count:ke,probability:je,categorycount:Be,colorcount:ze,bandcolorcount:Le}]}}(X,re,oe):ie==="dimension"&&(Z=function(ue,ce,ye){var de=[];return d.select(ye.parentNode.parentNode).selectAll("g.category").select("rect.catrect").each(function(){de.push(I(ue,ce,this))}),de}(X,re,oe)),Z&&M.loneHover(Z,{container:Q._hoverlayer.node(),outerContainer:Q._paper.node(),gd:X}))}}function z(te){var Z=te.parcatsViewModel;Z.dragDimension||(T(Z.pathSelection),_(Z.dimensionSelection.selectAll("g.category")),A(Z.dimensionSelection.selectAll("g.category").selectAll("rect.bandrect")),M.loneUnhover(Z.graphDiv._fullLayout._hoverlayer.node()),Z.pathSelection.sort(f),Z.hoverinfoItems.indexOf("skip")!==-1)||(te.parcatsViewModel.hoveron==="color"?R(this,"plotly_unhover",d.event):b(this,"plotly_unhover",d.event))}function F(te){te.parcatsViewModel.arrangement!=="fixed"&&(te.dragDimensionDisplayInd=te.model.displayInd,te.initialDragDimensionDisplayInds=te.parcatsViewModel.model.dimensions.map(function(Z){return Z.displayInd}),te.dragHasMoved=!1,te.dragCategoryDisplayInd=null,d.select(this).selectAll("g.category").select("rect.catrect").each(function(Z){var X=d.mouse(this)[0],Q=d.mouse(this)[1];-2<=X&&X<=Z.width+2&&-2<=Q&&Q<=Z.height+2&&(te.dragCategoryDisplayInd=Z.model.displayInd,te.initialDragCategoryDisplayInds=te.model.categories.map(function(re){return re.displayInd}),Z.model.dragY=Z.y,v.raiseToTop(this.parentNode),d.select(this.parentNode).selectAll("rect.bandrect").each(function(re){re.yde.y+de.height/2&&(ie.model.displayInd=de.model.displayInd,de.model.displayInd=ue),te.dragCategoryDisplayInd=ie.model.displayInd}if(te.dragCategoryDisplayInd===null||te.parcatsViewModel.arrangement==="freeform"){re.model.dragX=d.event.x;var me=te.parcatsViewModel.dimensions[X],pe=te.parcatsViewModel.dimensions[Q];me!==void 0&&re.model.dragXpe.x&&(re.model.displayInd=pe.model.displayInd,pe.model.displayInd=te.dragDimensionDisplayInd),te.dragDimensionDisplayInd=re.model.displayInd}H(te.parcatsViewModel),q(te.parcatsViewModel),Y(te.parcatsViewModel),j(te.parcatsViewModel)}}function N(te){if(te.parcatsViewModel.arrangement!=="fixed"&&te.dragDimensionDisplayInd!==null){d.select(this).selectAll("text").attr("font-weight","normal");var Z={},X=W(te.parcatsViewModel),Q=te.parcatsViewModel.model.dimensions.map(function(de){return de.displayInd}),re=te.initialDragDimensionDisplayInds.some(function(de,me){return de!==Q[me]});re&&Q.forEach(function(de,me){var pe=te.parcatsViewModel.model.dimensions[me].containerInd;Z["dimensions["+pe+"].displayindex"]=de});var ie=!1;if(te.dragCategoryDisplayInd!==null){var oe=te.model.categories.map(function(de){return de.displayInd});if(ie=te.initialDragCategoryDisplayInds.some(function(de,me){return de!==oe[me]})){var ue=te.model.categories.slice().sort(function(de,me){return de.displayInd-me.displayInd}),ce=ue.map(function(de){return de.categoryValue}),ye=ue.map(function(de){return de.categoryLabel});Z["dimensions["+te.model.containerInd+"].categoryarray"]=[ce],Z["dimensions["+te.model.containerInd+"].ticktext"]=[ye],Z["dimensions["+te.model.containerInd+"].categoryorder"]="array"}}te.parcatsViewModel.hoverinfoItems.indexOf("skip")===-1&&!te.dragHasMoved&&te.potentialClickBand&&(te.parcatsViewModel.hoveron==="color"?R(te.potentialClickBand,"plotly_click",d.event.sourceEvent):b(te.potentialClickBand,"plotly_click",d.event.sourceEvent)),te.model.dragX=null,te.dragCategoryDisplayInd!==null&&(te.parcatsViewModel.dimensions[te.dragDimensionDisplayInd].categories[te.dragCategoryDisplayInd].model.dragY=null,te.dragCategoryDisplayInd=null),te.dragDimensionDisplayInd=null,te.parcatsViewModel.dragDimension=null,te.dragHasMoved=null,te.potentialClickBand=null,H(te.parcatsViewModel),q(te.parcatsViewModel),d.transition().duration(300).ease("cubic-in-out").each(function(){Y(te.parcatsViewModel,!0),j(te.parcatsViewModel,!0)}).each("end",function(){(re||ie)&&i.restyle(te.parcatsViewModel.graphDiv,Z,[X])})}}function W(te){for(var Z,X=te.graphDiv._fullData,Q=0;Q=0;oe--)ye+="C"+ce[oe]+","+(Z[oe+1]+Q)+" "+ue[oe]+","+(Z[oe]+Q)+" "+(te[oe]+X[oe])+","+(Z[oe]+Q),ye+="l-"+X[oe]+",0 ";return ye+"Z"}function q(te){var Z=te.dimensions,X=te.model,Q=Z.map(function(Ee){return Ee.categories.map(function(Ve){return Ve.y})}),re=te.model.dimensions.map(function(Ee){return Ee.categories.map(function(Ve){return Ve.displayInd})}),ie=te.model.dimensions.map(function(Ee){return Ee.displayInd}),oe=te.dimensions.map(function(Ee){return Ee.model.dimensionInd}),ue=Z.map(function(Ee){return Ee.x}),ce=Z.map(function(Ee){return Ee.width}),ye=[];for(var de in X.paths)X.paths.hasOwnProperty(de)&&ye.push(X.paths[de]);function me(Ee){var Ve=Ee.categoryInds.map(function(Ye,$e){return re[$e][Ye]});return oe.map(function(Ye){return Ve[Ye]})}ye.sort(function(Ee,Ve){var Ye=me(Ee),$e=me(Ve);return te.sortpaths==="backward"&&(Ye.reverse(),$e.reverse()),Ye.push(Ee.valueInds[0]),$e.push(Ve.valueInds[0]),te.bundlecolors&&(Ye.unshift(Ee.rawColor),$e.unshift(Ve.rawColor)),Ye<$e?-1:Ye>$e?1:0});for(var pe=new Array(ye.length),xe=Z[0].model.count,Pe=Z[0].categories.map(function(Ee){return Ee.height}).reduce(function(Ee,Ve){return Ee+Ve}),_e=0;_e0?Pe*(Se.count/xe):0;for(var Ce,ae=new Array(Q.length),he=0;he1?(te.width-80-16)/(Q-1):0)*re;var ie,oe,ue,ce,ye,de=[],me=te.model.maxCats,pe=Z.categories.length,xe=Z.count,Pe=te.height-8*(me-1),_e=8*(me-pe)/2,Me=Z.categories.map(function(Se){return{displayInd:Se.displayInd,categoryInd:Se.categoryInd}});for(Me.sort(function(Se,Ce){return Se.displayInd-Ce.displayInd}),ye=0;ye0?oe.count/xe*Pe:0,ue={key:oe.valueInds[0],model:oe,width:16,height:ie,y:oe.dragY!==null?oe.dragY:_e,bands:[],parcatsViewModel:te},_e=_e+ie+8,de.push(ue);return{key:Z.dimensionInd,x:Z.dragX!==null?Z.dragX:X,y:0,width:16,model:Z,categories:de,parcatsViewModel:te,dragCategoryDisplayInd:null,dragDimensionDisplayInd:null,initialDragDimensionDisplayInds:null,initialDragCategoryDisplayInds:null,dragHasMoved:null,potentialClickBand:null}}k.exports=function(te,Z,X,Q){s(X,te,Q,Z)}},45784:function(k,m,t){var d=t(45460);k.exports=function(y,i,M,v){var h=y._fullLayout,l=h._paper,a=h._size;d(y,l,i,{width:a.w,height:a.h,margin:{t:a.t,r:a.r,b:a.b,l:a.l}},M,v)}},73362:function(k,m,t){var d=t(50693),y=t(13838),i=t(41940),M=t(27670).Y,v=t(1426).extendFlat,h=t(44467).templatedArray;k.exports={domain:M({name:"parcoords",trace:!0,editType:"plot"}),labelangle:{valType:"angle",dflt:0,editType:"plot"},labelside:{valType:"enumerated",values:["top","bottom"],dflt:"top",editType:"plot"},labelfont:i({editType:"plot"}),tickfont:i({editType:"plot"}),rangefont:i({editType:"plot"}),dimensions:h("dimension",{label:{valType:"string",editType:"plot"},tickvals:v({},y.tickvals,{editType:"plot"}),ticktext:v({},y.ticktext,{editType:"plot"}),tickformat:v({},y.tickformat,{editType:"plot"}),visible:{valType:"boolean",dflt:!0,editType:"plot"},range:{valType:"info_array",items:[{valType:"number",editType:"plot"},{valType:"number",editType:"plot"}],editType:"plot"},constraintrange:{valType:"info_array",freeLength:!0,dimensions:"1-2",items:[{valType:"any",editType:"plot"},{valType:"any",editType:"plot"}],editType:"plot"},multiselect:{valType:"boolean",dflt:!0,editType:"plot"},values:{valType:"data_array",editType:"calc"},editType:"calc"}),line:v({editType:"calc"},d("line",{colorscaleDflt:"Viridis",autoColorDflt:!1,editTypeOverride:"calc"})),unselected:{line:{color:{valType:"color",dflt:"#7f7f7f",editType:"plot"},opacity:{valType:"number",min:0,max:1,dflt:"auto",editType:"plot"},editType:"plot"},editType:"plot"}}},57920:function(k,m,t){var d=t(25706),y=t(39898),i=t(28984).keyFun,M=t(28984).repeat,v=t(71828).sorterAsc,h=t(71828).strTranslate,l=d.bar.snapRatio;function a(I,O){return I*(1-l)+O*l}var u=d.bar.snapClose;function s(I,O){return I*(1-u)+O*u}function o(I,O,z,F){if(function(ne,te){for(var Z=0;Z=te[Z][0]&&ne<=te[Z][1])return!0;return!1}(z,F))return z;var B=I?-1:1,N=0,W=O.length-1;if(B<0){var j=N;N=W,W=j}for(var Y=O[N],U=Y,G=N;B*GO){q=z;break}}if(B=U,isNaN(B)&&(B=isNaN(G)||isNaN(q)?isNaN(G)?q:G:O-Y[G][1]re[1]+oe||ie=.9*re[1]+.1*re[0]?"n":ie<=.9*re[0]+.1*re[1]?"s":"ns"}(ne,O);te&&(N.interval=j[B],N.intervalPix=ne,N.region=te)}}if(I.ordinal&&!N.region){var Z=I.unitTickvals,X=I.unitToPaddedPx.invert(O);for(z=0;z=Q[0]&&X<=Q[1]){N.clickableOrdinalRange=Q;break}}}return N}function E(I,O){y.event.sourceEvent.stopPropagation();var z=O.height-y.mouse(I)[1]-2*d.verticalPadding,F=O.brush.svgBrush;F.wasDragged=!0,F._dragging=!0,F.grabbingBar?F.newExtent=[z-F.grabPoint,z+F.barLength-F.grabPoint].map(O.unitToPaddedPx.invert):F.newExtent=[F.startExtent,O.unitToPaddedPx.invert(z)].sort(v),O.brush.filterSpecified=!0,F.extent=F.stayingIntervals.concat([F.newExtent]),F.brushCallback(O),x(I.parentNode)}function _(I,O){var z=T(O,O.height-y.mouse(I)[1]-2*d.verticalPadding),F="crosshair";z.clickableOrdinalRange?F="pointer":z.region&&(F=z.region+"-resize"),y.select(document.body).style("cursor",F)}function A(I){I.on("mousemove",function(O){y.event.preventDefault(),O.parent.inBrushDrag||_(this,O)}).on("mouseleave",function(O){O.parent.inBrushDrag||g()}).call(y.behavior.drag().on("dragstart",function(O){(function(z,F){y.event.sourceEvent.stopPropagation();var B=F.height-y.mouse(z)[1]-2*d.verticalPadding,N=F.unitToPaddedPx.invert(B),W=F.brush,j=T(F,B),Y=j.interval,U=W.svgBrush;if(U.wasDragged=!1,U.grabbingBar=j.region==="ns",U.grabbingBar){var G=Y.map(F.unitToPaddedPx);U.grabPoint=B-G[0]-d.verticalPadding,U.barLength=G[1]-G[0]}U.clickableOrdinalRange=j.clickableOrdinalRange,U.stayingIntervals=F.multiselect&&W.filterSpecified?W.filter.getConsolidated():[],Y&&(U.stayingIntervals=U.stayingIntervals.filter(function(q){return q[0]!==Y[0]&&q[1]!==Y[1]})),U.startExtent=j.region?Y[j.region==="s"?1:0]:N,F.parent.inBrushDrag=!0,U.brushStartCallback()})(this,O)}).on("drag",function(O){E(this,O)}).on("dragend",function(O){(function(z,F){var B=F.brush,N=B.filter,W=B.svgBrush;W._dragging||(_(z,F),E(z,F),F.brush.svgBrush.wasDragged=!1),W._dragging=!1,y.event.sourceEvent.stopPropagation();var j=W.grabbingBar;if(W.grabbingBar=!1,W.grabLocation=void 0,F.parent.inBrushDrag=!1,g(),!W.wasDragged)return W.wasDragged=void 0,W.clickableOrdinalRange?B.filterSpecified&&F.multiselect?W.extent.push(W.clickableOrdinalRange):(W.extent=[W.clickableOrdinalRange],B.filterSpecified=!0):j?(W.extent=W.stayingIntervals,W.extent.length===0&&b(B)):b(B),W.brushCallback(F),x(z.parentNode),void W.brushEndCallback(B.filterSpecified?N.getConsolidated():[]);var Y=function(){N.set(N.getConsolidated())};if(F.ordinal){var U=F.unitTickvals;U[U.length-1]W.newExtent[0];W.extent=W.stayingIntervals.concat(G?[W.newExtent]:[]),W.extent.length||b(B),W.brushCallback(F),G?x(z.parentNode,Y):(Y(),x(z.parentNode))}else Y();W.brushEndCallback(B.filterSpecified?N.getConsolidated():[])})(this,O)}))}function L(I,O){return I[0]-O[0]}function b(I){I.filterSpecified=!1,I.svgBrush.extent=[[-1/0,1/0]]}function R(I){for(var O,z=I.slice(),F=[],B=z.shift();B;){for(O=B.slice();(B=z.shift())&&B[0]<=O[1];)O[1]=Math.max(O[1],B[1]);F.push(O)}return F.length===1&&F[0][0]>F[0][1]&&(F=[]),F}k.exports={makeBrush:function(I,O,z,F,B,N){var W,j=function(){var Y,U,G=[];return{set:function(q){(G=q.map(function(H){return H.slice().sort(v)}).sort(L)).length===1&&G[0][0]===-1/0&&G[0][1]===1/0&&(G=[[0,-1]]),Y=R(G),U=G.reduce(function(H,ne){return[Math.min(H[0],ne[0]),Math.max(H[1],ne[1])]},[1/0,-1/0])},get:function(){return G.slice()},getConsolidated:function(){return Y},getBounds:function(){return U}}}();return j.set(z),{filter:j,filterSpecified:O,svgBrush:{extent:[],brushStartCallback:F,brushCallback:(W=B,function(Y){var U=Y.brush,G=function(H){return H.svgBrush.extent.map(function(ne){return ne.slice()})}(U),q=G.slice();U.filter.set(q),W()}),brushEndCallback:N}}},ensureAxisBrush:function(I,O,z){var F=I.selectAll("."+d.cn.axisBrush).data(M,i);F.enter().append("g").classed(d.cn.axisBrush,!0),function(B,N,W){var j=W._context.staticPlot,Y=B.selectAll(".background").data(M);Y.enter().append("rect").classed("background",!0).call(c).call(f).style("pointer-events",j?"none":"auto").attr("transform",h(0,d.verticalPadding)),Y.call(A).attr("height",function(q){return q.height-d.verticalPadding});var U=B.selectAll(".highlight-shadow").data(M);U.enter().append("line").classed("highlight-shadow",!0).attr("x",-d.bar.width/2).attr("stroke-width",d.bar.width+d.bar.strokeWidth).attr("stroke",N).attr("opacity",d.bar.strokeOpacity).attr("stroke-linecap","butt"),U.attr("y1",function(q){return q.height}).call(S);var G=B.selectAll(".highlight").data(M);G.enter().append("line").classed("highlight",!0).attr("x",-d.bar.width/2).attr("stroke-width",d.bar.width-d.bar.strokeWidth).attr("stroke",d.bar.fillColor).attr("opacity",d.bar.fillOpacity).attr("stroke-linecap","butt"),G.attr("y1",function(q){return q.height}).call(S)}(F,O,z)},cleanRanges:function(I,O){if(Array.isArray(I[0])?(I=I.map(function(F){return F.sort(v)}),I=O.multiselect?R(I.sort(L)):[I[0]]):I=[I.sort(v)],O.tickvals){var z=O.tickvals.slice().sort(v);if(!(I=I.map(function(F){var B=[o(0,z,F[0],[]),o(1,z,F[1],[])];if(B[1]>B[0])return B}).filter(function(F){return F})).length)return}return I.length>1?I:I[0]}}},71791:function(k,m,t){k.exports={attributes:t(73362),supplyDefaults:t(3633),calc:t(24639),colorbar:{container:"line",min:"cmin",max:"cmax"},moduleType:"trace",name:"parcoords",basePlotModule:t(49351),categories:["gl","regl","noOpacity","noHover"],meta:{}}},49351:function(k,m,t){var d=t(39898),y=t(27659).a0,i=t(21341),M=t(77922);m.name="parcoords",m.plot=function(v){var h=y(v.calcdata,"parcoords")[0];h.length&&i(v,h)},m.clean=function(v,h,l,a){var u=a._has&&a._has("parcoords"),s=h._has&&h._has("parcoords");u&&!s&&(a._paperdiv.selectAll(".parcoords").remove(),a._glimages.selectAll("*").remove())},m.toSVG=function(v){var h=v._fullLayout._glimages,l=d.select(v).selectAll(".svg-container");l.filter(function(a,u){return u===l.size()-1}).selectAll(".gl-canvas-context, .gl-canvas-focus").each(function(){var a=this,u=a.toDataURL("image/png");h.append("svg:image").attr({xmlns:M.svg,"xlink:href":u,preserveAspectRatio:"none",x:0,y:0,width:a.style.width,height:a.style.height})}),window.setTimeout(function(){d.selectAll("#filterBarPattern").attr("id","filterBarPattern")},60)}},24639:function(k,m,t){var d=t(71828).isArrayOrTypedArray,y=t(21081),i=t(28984).wrap;k.exports=function(M,v){var h,l;return y.hasColorscale(v,"line")&&d(v.line.color)?(h=v.line.color,l=y.extractOpts(v.line).colorscale,y.calc(M,v,{vals:h,containerStr:"line",cLetter:"c"})):(h=function(a){for(var u=new Array(a),s=0;su&&(d.log("parcoords traces support up to "+u+" dimensions at the moment"),S.splice(u));var x=v(c,f,{name:"dimensions",layout:w,handleItemDefaults:o}),T=function(_,A,L,b,R){var I=R("line.color",L);if(y(_,"line")&&d.isArrayOrTypedArray(I)){if(I.length)return R("line.colorscale"),i(_,A,b,R,{prefix:"line.",cLetter:"c"}),I.length;A.line.color=L}return 1/0}(c,f,p,w,g);M(f,w,g),Array.isArray(x)&&x.length||(f.visible=!1),s(f,x,"values",T);var E={family:w.font.family,size:Math.round(w.font.size/1.2),color:w.font.color};d.coerceFont(g,"labelfont",E),d.coerceFont(g,"tickfont",E),d.coerceFont(g,"rangefont",E),g("labelangle"),g("labelside"),g("unselected.line.color"),g("unselected.line.opacity")}},1602:function(k,m,t){var d=t(71828).isTypedArray;m.convertTypedArray=function(y){return d(y)?Array.prototype.slice.call(y):y},m.isOrdinal=function(y){return!!y.tickvals},m.isVisible=function(y){return y.visible||!("visible"in y)}},67618:function(k,m,t){var d=t(71791);d.plot=t(21341),k.exports=d},83398:function(k,m,t){var d=t(56068),y=d([`precision highp float; +`),mapOnErrorMsg:"Mapbox error.",mapboxLogo:{path0:"m 10.5,1.24 c -5.11,0 -9.25,4.15 -9.25,9.25 0,5.1 4.15,9.25 9.25,9.25 5.1,0 9.25,-4.15 9.25,-9.25 0,-5.11 -4.14,-9.25 -9.25,-9.25 z m 4.39,11.53 c -1.93,1.93 -4.78,2.31 -6.7,2.31 -0.7,0 -1.41,-0.05 -2.1,-0.16 0,0 -1.02,-5.64 2.14,-8.81 0.83,-0.83 1.95,-1.28 3.13,-1.28 1.27,0 2.49,0.51 3.39,1.42 1.84,1.84 1.89,4.75 0.14,6.52 z",path1:"M 10.5,-0.01 C 4.7,-0.01 0,4.7 0,10.49 c 0,5.79 4.7,10.5 10.5,10.5 5.8,0 10.5,-4.7 10.5,-10.5 C 20.99,4.7 16.3,-0.01 10.5,-0.01 Z m 0,19.75 c -5.11,0 -9.25,-4.15 -9.25,-9.25 0,-5.1 4.14,-9.26 9.25,-9.26 5.11,0 9.25,4.15 9.25,9.25 0,5.13 -4.14,9.26 -9.25,9.26 z",path2:"M 14.74,6.25 C 12.9,4.41 9.98,4.35 8.23,6.1 5.07,9.27 6.09,14.91 6.09,14.91 c 0,0 5.64,1.02 8.81,-2.14 C 16.64,11 16.59,8.09 14.74,6.25 Z m -2.27,4.09 -0.91,1.87 -0.9,-1.87 -1.86,-0.91 1.86,-0.9 0.9,-1.87 0.91,1.87 1.86,0.9 z",polygon:"11.56,12.21 10.66,10.34 8.8,9.43 10.66,8.53 11.56,6.66 12.47,8.53 14.33,9.43 12.47,10.34"},styleRules:{map:"overflow:hidden;position:relative;","missing-css":"display:none;",canary:"background-color:salmon;","ctrl-bottom-left":"position: absolute; pointer-events: none; z-index: 2; bottom: 0; left: 0;","ctrl-bottom-right":"position: absolute; pointer-events: none; z-index: 2; right: 0; bottom: 0;",ctrl:"clear: both; pointer-events: auto; transform: translate(0, 0);","ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-inner":"display: none;","ctrl-attrib.mapboxgl-compact:hover .mapboxgl-ctrl-attrib-inner":"display: block; margin-top:2px","ctrl-attrib.mapboxgl-compact:hover":"padding: 2px 24px 2px 4px; visibility: visible; margin-top: 6px;","ctrl-attrib.mapboxgl-compact::after":`content: ""; cursor: pointer; position: absolute; background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"%3E %3Cpath fill="%23333333" fill-rule="evenodd" d="M4,10a6,6 0 1,0 12,0a6,6 0 1,0 -12,0 M9,7a1,1 0 1,0 2,0a1,1 0 1,0 -2,0 M9,10a1,1 0 1,1 2,0l0,3a1,1 0 1,1 -2,0"/%3E %3C/svg%3E'); background-color: rgba(255, 255, 255, 0.5); width: 24px; height: 24px; box-sizing: border-box; border-radius: 12px;`,"ctrl-attrib.mapboxgl-compact":"min-height: 20px; padding: 0; margin: 10px; position: relative; background-color: #fff; border-radius: 3px 12px 12px 3px;","ctrl-bottom-right > .mapboxgl-ctrl-attrib.mapboxgl-compact::after":"bottom: 0; right: 0","ctrl-bottom-left > .mapboxgl-ctrl-attrib.mapboxgl-compact::after":"bottom: 0; left: 0","ctrl-bottom-left .mapboxgl-ctrl":"margin: 0 0 10px 10px; float: left;","ctrl-bottom-right .mapboxgl-ctrl":"margin: 0 10px 10px 0; float: right;","ctrl-attrib":"color: rgba(0, 0, 0, 0.75); text-decoration: none; font-size: 12px","ctrl-attrib a":"color: rgba(0, 0, 0, 0.75); text-decoration: none; font-size: 12px","ctrl-attrib a:hover":"color: inherit; text-decoration: underline;","ctrl-attrib .mapbox-improve-map":"font-weight: bold; margin-left: 2px;","attrib-empty":"display: none;","ctrl-logo":`display:block; width: 21px; height: 21px; background-image: url('data:image/svg+xml;charset=utf-8,%3C?xml version="1.0" encoding="utf-8"?%3E %3Csvg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 21 21" style="enable-background:new 0 0 21 21;" xml:space="preserve"%3E%3Cg transform="translate(0,0.01)"%3E%3Cpath d="m 10.5,1.24 c -5.11,0 -9.25,4.15 -9.25,9.25 0,5.1 4.15,9.25 9.25,9.25 5.1,0 9.25,-4.15 9.25,-9.25 0,-5.11 -4.14,-9.25 -9.25,-9.25 z m 4.39,11.53 c -1.93,1.93 -4.78,2.31 -6.7,2.31 -0.7,0 -1.41,-0.05 -2.1,-0.16 0,0 -1.02,-5.64 2.14,-8.81 0.83,-0.83 1.95,-1.28 3.13,-1.28 1.27,0 2.49,0.51 3.39,1.42 1.84,1.84 1.89,4.75 0.14,6.52 z" style="opacity:0.9;fill:%23ffffff;enable-background:new" class="st0"/%3E%3Cpath d="M 10.5,-0.01 C 4.7,-0.01 0,4.7 0,10.49 c 0,5.79 4.7,10.5 10.5,10.5 5.8,0 10.5,-4.7 10.5,-10.5 C 20.99,4.7 16.3,-0.01 10.5,-0.01 Z m 0,19.75 c -5.11,0 -9.25,-4.15 -9.25,-9.25 0,-5.1 4.14,-9.26 9.25,-9.26 5.11,0 9.25,4.15 9.25,9.25 0,5.13 -4.14,9.26 -9.25,9.26 z" style="opacity:0.35;enable-background:new" class="st1"/%3E%3Cpath d="M 14.74,6.25 C 12.9,4.41 9.98,4.35 8.23,6.1 5.07,9.27 6.09,14.91 6.09,14.91 c 0,0 5.64,1.02 8.81,-2.14 C 16.64,11 16.59,8.09 14.74,6.25 Z m -2.27,4.09 -0.91,1.87 -0.9,-1.87 -1.86,-0.91 1.86,-0.9 0.9,-1.87 0.91,1.87 1.86,0.9 z" style="opacity:0.35;enable-background:new" class="st1"/%3E%3Cpolygon points="11.56,12.21 10.66,10.34 8.8,9.43 10.66,8.53 11.56,6.66 12.47,8.53 14.33,9.43 12.47,10.34 " style="opacity:0.9;fill:%23ffffff;enable-background:new" class="st0"/%3E%3C/g%3E%3C/svg%3E')`}}},13056:function(T,p,t){var d=t(71828);T.exports=function(g,i){var M=g.split(" "),v=M[0],f=M[1],l=d.isArrayOrTypedArray(i)?d.mean(i):i,a=.5+l/100,u=1.5+l/100,o=["",""],s=[0,0];switch(v){case"top":o[0]="top",s[1]=-u;break;case"bottom":o[0]="bottom",s[1]=u}switch(f){case"left":o[1]="right",s[0]=-a;break;case"right":o[1]="left",s[0]=a}return{anchor:o[0]&&o[1]?o.join("-"):o[0]?o[0]:o[1]?o[1]:"center",offset:s}}},50101:function(T,p,t){var d=t(44517),g=t(71828),i=g.strTranslate,M=g.strScale,v=t(27659).AU,f=t(77922),l=t(39898),a=t(91424),u=t(63893),o=t(10481),s="mapbox",c=p.constants=t(77734);function h(m){return typeof m=="string"&&(c.styleValuesMapbox.indexOf(m)!==-1||m.indexOf("mapbox://")===0)}p.name=s,p.attr="subplot",p.idRoot=s,p.idRegex=p.attrRegex=g.counterRegex(s),p.attributes={subplot:{valType:"subplotid",dflt:"mapbox",editType:"calc"}},p.layoutAttributes=t(23585),p.supplyLayoutDefaults=t(77882),p.plot=function(m){var w=m._fullLayout,y=m.calcdata,S=w._subplots.mapbox;if(d.version!==c.requiredVersion)throw new Error(c.wrongVersionErrorMsg);var _=function(b,R){var I=b._fullLayout;if(b._context.mapboxAccessToken==="")return"";for(var O=[],z=[],F=!1,B=!1,N=0;N1&&g.warn(c.multipleTokensErrorMsg),O[0]):(z.length&&g.log(["Listed mapbox access token(s)",z.join(","),"but did not use a Mapbox map style, ignoring token(s)."].join(" ")),"")}(m,S);d.accessToken=_;for(var k=0;kz/2){var F=b.split("|").join("
");I.text(F).attr("data-unformatted",F).call(u.convertToTspans,m),O=a.bBox(I.node())}I.attr("transform",i(-3,8-O.height)),R.insert("rect",".static-attribution").attr({x:-O.width-6,y:-O.height-3,width:O.width+6,height:O.height+3,fill:"rgba(255, 255, 255, 0.75)"});var B=1;O.width+6>z&&(B=z/(O.width+6));var N=[S.l+S.w*E.x[1],S.t+S.h*(1-E.y[0])];R.attr("transform",i(N[0],N[1])+M(B))}},p.updateFx=function(m){for(var w=m._fullLayout,y=w._subplots.mapbox,S=0;S0){for(var s=0;s0}function a(u){var o={},s={};switch(u.type){case"circle":d.extendFlat(s,{"circle-radius":u.circle.radius,"circle-color":u.color,"circle-opacity":u.opacity});break;case"line":d.extendFlat(s,{"line-width":u.line.width,"line-color":u.color,"line-opacity":u.opacity,"line-dasharray":u.line.dash});break;case"fill":d.extendFlat(s,{"fill-color":u.color,"fill-outline-color":u.fill.outlinecolor,"fill-opacity":u.opacity});break;case"symbol":var c=u.symbol,h=i(c.textposition,c.iconsize);d.extendFlat(o,{"icon-image":c.icon+"-15","icon-size":c.iconsize/10,"text-field":c.text,"text-size":c.textfont.size,"text-anchor":h.anchor,"text-offset":h.offset,"symbol-placement":c.placement}),d.extendFlat(s,{"icon-color":u.color,"text-color":c.textfont.color,"text-opacity":u.opacity});break;case"raster":d.extendFlat(s,{"raster-fade-duration":0,"raster-opacity":u.opacity})}return{layout:o,paint:s}}f.update=function(u){this.visible?this.needsNewImage(u)?this.updateImage(u):this.needsNewSource(u)?(this.removeLayer(),this.updateSource(u),this.updateLayer(u)):this.needsNewLayer(u)?this.updateLayer(u):this.updateStyle(u):(this.updateSource(u),this.updateLayer(u)),this.visible=l(u)},f.needsNewImage=function(u){return this.subplot.map.getSource(this.idSource)&&this.sourceType==="image"&&u.sourcetype==="image"&&(this.source!==u.source||JSON.stringify(this.coordinates)!==JSON.stringify(u.coordinates))},f.needsNewSource=function(u){return this.sourceType!==u.sourcetype||JSON.stringify(this.source)!==JSON.stringify(u.source)||this.layerType!==u.type},f.needsNewLayer=function(u){return this.layerType!==u.type||this.below!==this.subplot.belowLookup["layout-"+this.index]},f.lookupBelow=function(){return this.subplot.belowLookup["layout-"+this.index]},f.updateImage=function(u){this.subplot.map.getSource(this.idSource).updateImage({url:u.source,coordinates:u.coordinates});var o=this.findFollowingMapboxLayerId(this.lookupBelow());o!==null&&this.subplot.map.moveLayer(this.idLayer,o)},f.updateSource=function(u){var o=this.subplot.map;if(o.getSource(this.idSource)&&o.removeSource(this.idSource),this.sourceType=u.sourcetype,this.source=u.source,l(u)){var s=function(c){var h,m=c.sourcetype,w=c.source,y={type:m};return m==="geojson"?h="data":m==="vector"?h=typeof w=="string"?"url":"tiles":m==="raster"?(h="tiles",y.tileSize=256):m==="image"&&(h="url",y.coordinates=c.coordinates),y[h]=w,c.sourceattribution&&(y.attribution=g(c.sourceattribution)),y}(u);o.addSource(this.idSource,s)}},f.findFollowingMapboxLayerId=function(u){if(u==="traces")for(var o=this.subplot.getMapLayers(),s=0;s1)for(R=0;R-1&&m(N.originalEvent,I,[R.xaxis],[R.yaxis],R.id,B),W.indexOf("event")>-1&&l.click(I,N.originalEvent)}}},_.updateFx=function(L){var b=this,R=b.map,I=b.gd;if(!b.isStatic){var O,z=L.dragmode;O=function(N,W){W.isRect?(N.range={})[b.id]=[B([W.xmin,W.ymin]),B([W.xmax,W.ymax])]:(N.lassoPoints={})[b.id]=W.map(B)};var F=b.dragOptions;b.dragOptions=g.extendDeep(F||{},{dragmode:L.dragmode,element:b.div,gd:I,plotinfo:{id:b.id,domain:L[b.id].domain,xaxis:b.xaxis,yaxis:b.yaxis,fillRangeItems:O},xaxes:[b.xaxis],yaxes:[b.yaxis],subplot:b.id}),R.off("click",b.onClickInPanHandler),o(z)||u(z)?(R.dragPan.disable(),R.on("zoomstart",b.clearOutline),b.dragOptions.prepFn=function(N,W,j){s(N,W,j,b.dragOptions,z)},f.init(b.dragOptions)):(R.dragPan.enable(),R.off("zoomstart",b.clearOutline),b.div.onmousedown=null,b.div.ontouchstart=null,b.div.removeEventListener("touchstart",b.div._ontouchstart),b.onClickInPanHandler=b.onClickInPanFn(b.dragOptions),R.on("click",b.onClickInPanHandler))}function B(N){var W=b.map.unproject(N);return[W.lng,W.lat]}},_.updateFramework=function(L){var b=L[this.id].domain,R=L._size,I=this.div.style;I.width=R.w*(b.x[1]-b.x[0])+"px",I.height=R.h*(b.y[1]-b.y[0])+"px",I.left=R.l+b.x[0]*R.w+"px",I.top=R.t+(1-b.y[1])*R.h+"px",this.xaxis._offset=R.l+b.x[0]*R.w,this.xaxis._length=R.w*(b.x[1]-b.x[0]),this.yaxis._offset=R.t+(1-b.y[1])*R.h,this.yaxis._length=R.h*(b.y[1]-b.y[0])},_.updateLayers=function(L){var b,R=L[this.id].layers,I=this.layerList;if(R.length!==I.length){for(b=0;b=G.width-20?(ne["text-anchor"]="start",ne.x=5):(ne["text-anchor"]="end",ne.x=G._paper.attr("width")-7),q.attr(ne);var te=q.select(".js-link-to-tool"),Z=q.select(".js-link-spacer"),X=q.select(".js-sourcelinks");U._context.showSources&&U._context.showSources(U),U._context.showLink&&function(Q,re){re.text("");var ie=re.append("a").attr({"xlink:xlink:href":"#",class:"link--impt link--embedview","font-weight":"bold"}).text(Q._context.linkText+" "+String.fromCharCode(187));if(Q._context.sendData)ie.on("click",function(){k.sendDataToCloud(Q)});else{var oe=window.location.pathname.split("/"),ue=window.location.search;ie.attr({"xlink:xlink:show":"new","xlink:xlink:href":"/"+oe[2].split(".")[0]+"/"+oe[1]+ue})}}(U,te),Z.text(te.text()&&X.text()?" - ":"")}},k.sendDataToCloud=function(U){var G=(window.PLOTLYENV||{}).BASE_URL||U._context.plotlyServerURL;if(G){U.emit("plotly_beforeexport");var q=d.select(U).append("div").attr("id","hiddenform").style("display","none"),H=q.append("form").attr({action:G+"/external",method:"post",target:"_blank"});return H.append("input").attr({type:"text",name:"data"}).node().value=k.graphJson(U,!1,"keepdata"),H.node().submit(),q.remove(),U.emit("plotly_afterexport"),!1}};var A=["days","shortDays","months","shortMonths","periods","dateTime","date","time","decimal","thousands","grouping","currency"],L=["year","month","dayMonth","dayMonthYear"];function b(U,G){var q=U._context.locale;q||(q="en-US");var H=!1,ne={};function te(oe){for(var ue=!0,ce=0;ce1&&Se.length>1){for(v.getComponentMethod("grid","sizeDefaults")(Z,te),ne=0;ne15&&Se.length>15&&te.shapes.length===0&&te.images.length===0,k.linkSubplots(Q,te,X,H),k.cleanPlot(Q,te,X,H);var ke=!(!H._has||!H._has("gl2d")),Le=!(!te._has||!te._has("gl2d")),Be=!(!H._has||!H._has("cartesian"))||ke,ze=!(!te._has||!te._has("cartesian"))||Le;Be&&!ze?H._bgLayer.remove():ze&&!Be&&(te._shouldCreateBgLayer=!0),H._zoomlayer&&!U._dragging&&c({_fullLayout:H}),function(Ee,Ve){var $e,Ye=[];Ve.meta&&($e=Ve._meta={meta:Ve.meta,layout:{meta:Ve.meta}});for(var st=0;st0){var re=1-2*Z;H=Math.round(re*H),ne=Math.round(re*ne)}}var ie=k.layoutAttributes.width.min,oe=k.layoutAttributes.height.min;H1,ce=!G.height&&Math.abs(q.height-ne)>1;(ce||ue)&&(ue&&(q.width=H),ce&&(q.height=ne)),U._initialAutoSize||(U._initialAutoSize={width:H,height:ne}),k.sanitizeMargins(q)},k.supplyLayoutModuleDefaults=function(U,G,q,H){var ne,te,Z,X=v.componentsRegistry,Q=G._basePlotModules,re=v.subplotsRegistry.cartesian;for(ne in X)(Z=X[ne]).includeBasePlot&&Z.includeBasePlot(U,G);for(var ie in Q.length||Q.push(re),G._has("cartesian")&&(v.getComponentMethod("grid","contentDefaults")(U,G),re.finalizeSubplots(U,G)),G._subplots)G._subplots[ie].sort(a.subplotSort);for(te=0;te1&&(q.l/=me,q.r/=me)}if(ue){var pe=(q.t+q.b)/ue;pe>1&&(q.t/=pe,q.b/=pe)}var xe=q.xl!==void 0?q.xl:q.x,Pe=q.xr!==void 0?q.xr:q.x,_e=q.yt!==void 0?q.yt:q.y,Me=q.yb!==void 0?q.yb:q.y;ce[G]={l:{val:xe,size:q.l+de},r:{val:Pe,size:q.r+de},b:{val:Me,size:q.b+de},t:{val:_e,size:q.t+de}},ye[G]=1}else delete ce[G],delete ye[G];if(!H._replotting)return k.doAutoMargin(U)}},k.doAutoMargin=function(U){var G=U._fullLayout,q=G.width,H=G.height;G._size||(G._size={}),F(G);var ne=G._size,te=G.margin,Z={t:0,b:0,l:0,r:0},X=a.extendFlat({},ne),Q=U._fullLayout._reservedMargin;for(var re in Q)for(var ie in Q[re]){var oe=Q[re][ie];Z[ie]=Math.max(Z[ie],oe)}var ue=te.l,ce=te.r,ye=te.t,de=te.b,me=G._pushmargin,pe=G._pushmarginIds,xe=G.minreducedwidth,Pe=G.minreducedheight;if(G.margin.autoexpand!==!1){for(var _e in me)pe[_e]||delete me[_e];for(var Me in me.base={l:{val:0,size:ue},r:{val:1,size:ce},t:{val:1,size:ye},b:{val:0,size:de}},me){var Se=me[Me].l||{},Ce=me[Me].b||{},ae=Se.val,fe=Se.size,be=Ce.val,ke=Ce.size,Le=q-Z.r-Z.l,Be=H-Z.t-Z.b;for(var ze in me){if(M(fe)&&me[ze].r){var je=me[ze].r.val,ge=me[ze].r.size;if(je>ae){var we=(fe*je+(ge-Le)*ae)/(je-ae),Ee=(ge*(1-ae)+(fe-Le)*(1-je))/(je-ae);we+Ee>ue+ce&&(ue=we,ce=Ee)}}if(M(ke)&&me[ze].t){var Ve=me[ze].t.val,$e=me[ze].t.size;if(Ve>be){var Ye=(ke*Ve+($e-Be)*be)/(Ve-be),st=($e*(1-be)+(ke-Be)*(1-Ve))/(Ve-be);Ye+st>de+ye&&(de=Ye,ye=st)}}}}}var ot=a.constrain(q-te.l-te.r,2,xe),ht=a.constrain(H-te.t-te.b,2,Pe),bt=Math.max(0,q-ot),Et=Math.max(0,H-ht);if(bt){var kt=(ue+ce)/bt;kt>1&&(ue/=kt,ce/=kt)}if(Et){var xt=(de+ye)/Et;xt>1&&(de/=xt,ye/=xt)}if(ne.l=Math.round(ue)+Z.l,ne.r=Math.round(ce)+Z.r,ne.t=Math.round(ye)+Z.t,ne.b=Math.round(de)+Z.b,ne.p=Math.round(te.pad),ne.w=Math.round(q)-ne.l-ne.r,ne.h=Math.round(H)-ne.t-ne.b,!G._replotting&&(k.didMarginChange(X,ne)||function(Ot){if("_redrawFromAutoMarginCount"in Ot._fullLayout)return!1;var Bt=s.list(Ot,"",!0);for(var qt in Bt)if(Bt[qt].autoshift||Bt[qt].shift)return!0;return!1}(U))){"_redrawFromAutoMarginCount"in G?G._redrawFromAutoMarginCount++:G._redrawFromAutoMarginCount=1;var Ft=3*(1+Object.keys(pe).length);if(G._redrawFromAutoMarginCount0&&(U._transitioningWithDuration=!0),U._transitionData._interruptCallbacks.push(function(){H=!0}),q.redraw&&U._transitionData._interruptCallbacks.push(function(){return v.call("redraw",U)}),U._transitionData._interruptCallbacks.push(function(){U.emit("plotly_transitioninterrupted",[])});var X=0,Q=0;function re(){return X++,function(){var ie;Q++,H||Q!==X||(ie=Z,U._transitionData&&(function(oe){if(oe)for(;oe.length;)oe.shift()}(U._transitionData._interruptCallbacks),Promise.resolve().then(function(){if(q.redraw)return v.call("redraw",U)}).then(function(){U._transitioning=!1,U._transitioningWithDuration=!1,U.emit("plotly_transitioned",[])}).then(ie)))}}q.runFn(re),setTimeout(re())})}],te=a.syncOrAsync(ne,U);return te&&te.then||(te=Promise.resolve()),te.then(function(){return U})}k.didMarginChange=function(U,G){for(var q=0;q1)return!0}return!1},k.graphJson=function(U,G,q,H,ne,te){(ne&&G&&!U._fullData||ne&&!G&&!U._fullLayout)&&k.supplyDefaults(U);var Z=ne?U._fullData:U.data,X=ne?U._fullLayout:U.layout,Q=(U._transitionData||{})._frames;function re(ue,ce){if(typeof ue=="function")return ce?"_function_":null;if(a.isPlainObject(ue)){var ye,de={};return Object.keys(ue).sort().forEach(function(me){if(["_","["].indexOf(me.charAt(0))===-1)if(typeof ue[me]!="function"){if(q==="keepdata"){if(me.substr(me.length-3)==="src")return}else if(q==="keepstream"){if(typeof(ye=ue[me+"src"])=="string"&&ye.indexOf(":")>0&&!a.isPlainObject(ue.stream))return}else if(q!=="keepall"&&typeof(ye=ue[me+"src"])=="string"&&ye.indexOf(":")>0)return;de[me]=re(ue[me],ce)}else ce&&(de[me]="_function")}),de}return Array.isArray(ue)?ue.map(function(me){return re(me,ce)}):a.isTypedArray(ue)?a.simpleMap(ue,a.identity):a.isJSDate(ue)?a.ms2DateTimeLocal(+ue):ue}var ie={data:(Z||[]).map(function(ue){var ce=re(ue);return G&&delete ce.fit,ce})};if(!G&&(ie.layout=re(X),ne)){var oe=X._size;ie.layout.computed={margin:{b:oe.b,l:oe.l,r:oe.r,t:oe.t}}}return Q&&(ie.frames=re(Q)),te&&(ie.config=re(U._context,!0)),H==="object"?ie:JSON.stringify(ie)},k.modifyFrames=function(U,G){var q,H,ne,te=U._transitionData._frames,Z=U._transitionData._frameHash;for(q=0;q=0;te--)if(Me[te].enabled){q._indexToPoints=Me[te]._indexToPoints;break}H&&H.calc&&(_e=H.calc(U,q))}Array.isArray(_e)&&_e[0]||(_e=[{x:o,y:o}]),_e[0].t||(_e[0].t={}),_e[0].trace=q,re[xe]=_e}}for(j(Z,X,Q),ne=0;ne1e-10?s:0}function o(s,c,h){c=c||0,h=h||0;for(var m=s.length,w=new Array(m),y=0;y0?y:1/0}),m=d.mod(h+1,c.length);return[c[h],c[m]]},findIntersectionXY:l,findXYatLength:function(s,c,h,m){var w=-c*h,y=c*c+1,S=2*(c*w-h),_=w*w+h*h-s*s,k=Math.sqrt(S*S-4*y*_),E=(-S+k)/(2*y),x=(-S-k)/(2*y);return[[E,c*E+w+m],[x,c*x+w+m]]},clampTiny:u,pathPolygon:function(s,c,h,m,w,y){return"M"+o(a(s,c,h,m),w,y).join("L")},pathPolygonAnnulus:function(s,c,h,m,w,y,S){var _,k;s=90||kt>90&&xt>=450?1:Ot<=0&&qt<=0?0:Math.max(Ot,qt),[kt<=180&&xt>=180||kt>180&&xt>=540?-1:Ft>=0&&Bt>=0?0:Math.min(Ft,Bt),kt<=270&&xt>=270||kt>270&&xt>=630?-1:Ot>=0&&qt>=0?0:Math.min(Ot,qt),xt>=360?1:Ft<=0&&Bt<=0?0:Math.max(Ft,Bt),ht]}(pe),ae=Ce[2]-Ce[0],fe=Ce[3]-Ce[1],be=me/de,ke=Math.abs(fe/ae);be>ke?(xe=de,Se=(me-(Pe=de*ke))/ie.h/2,_e=[ce[0],ce[1]],Me=[ye[0]+Se,ye[1]-Se]):(Pe=me,Se=(de-(xe=me/ke))/ie.w/2,_e=[ce[0]+Se,ce[1]-Se],Me=[ye[0],ye[1]]),Q.xLength2=xe,Q.yLength2=Pe,Q.xDomain2=_e,Q.yDomain2=Me;var Le,Be=Q.xOffset2=ie.l+ie.w*_e[0],ze=Q.yOffset2=ie.t+ie.h*(1-Me[1]),je=Q.radius=xe/ae,ge=Q.innerRadius=Q.getHole(X)*je,we=Q.cx=Be-je*Ce[0],Ee=Q.cy=ze+je*Ce[3],Ve=Q.cxx=we-Be,$e=Q.cyy=Ee-ze,Ye=oe.side;Ye==="counterclockwise"?(Le=Ye,Ye="top"):Ye==="clockwise"&&(Le=Ye,Ye="bottom"),Q.radialAxis=Q.mockAxis(Z,X,oe,{_id:"x",side:Ye,_trueSide:Le,domain:[ge/ie.w,je/ie.w]}),Q.angularAxis=Q.mockAxis(Z,X,ue,{side:"right",domain:[0,Math.PI],autorange:!1}),Q.doAutoRange(Z,X),Q.updateAngularAxis(Z,X),Q.updateRadialAxis(Z,X),Q.updateRadialAxisTitle(Z,X),Q.xaxis=Q.mockCartesianAxis(Z,X,{_id:"x",domain:_e}),Q.yaxis=Q.mockCartesianAxis(Z,X,{_id:"y",domain:Me});var st=Q.pathSubplot();Q.clipPaths.forTraces.select("path").attr("d",st).attr("transform",f(Ve,$e)),re.frontplot.attr("transform",f(Be,ze)).call(a.setClipUrl,Q._hasClipOnAxisFalse?null:Q.clipIds.forTraces,Q.gd),re.bg.attr("d",st).attr("transform",f(we,Ee)).call(l.fill,X.bgcolor)},q.mockAxis=function(Z,X,Q,re){var ie=M.extendFlat({},Q,re);return c(ie,X,Z),ie},q.mockCartesianAxis=function(Z,X,Q){var re=this,ie=re.isSmith,oe=Q._id,ue=M.extendFlat({type:"linear"},Q);s(ue,Z);var ce={x:[0,2],y:[1,3]};return ue.setRange=function(){var ye=re.sectorBBox,de=ce[oe],me=re.radialAxis._rl,pe=(me[1]-me[0])/(1-re.getHole(X));ue.range=[ye[de[0]]*pe,ye[de[1]]*pe]},ue.isPtWithinRange=oe!=="x"||ie?function(){return!0}:function(ye){return re.isPtInside(ye)},ue.setRange(),ue.setScale(),ue},q.doAutoRange=function(Z,X){var Q=this,re=Q.gd,ie=Q.radialAxis,oe=Q.getRadial(X);h(re,ie);var ue=ie.range;oe.range=ue.slice(),oe._input.range=ue.slice(),ie._rl=[ie.r2l(ue[0],null,"gregorian"),ie.r2l(ue[1],null,"gregorian")]},q.updateRadialAxis=function(Z,X){var Q=this,re=Q.gd,ie=Q.layers,oe=Q.radius,ue=Q.innerRadius,ce=Q.cx,ye=Q.cy,de=Q.getRadial(X),me=j(Q.getSector(X)[0],360),pe=Q.radialAxis,xe=ue90&&me<=270&&(pe.tickangle=180);var _e=Pe?function(ze){var je=N(Q,z([ze.x,0]));return f(je[0]-ce,je[1]-ye)}:function(ze){return f(pe.l2p(ze.x)+ue,0)},Me=Pe?function(ze){return B(Q,ze.x,-1/0,1/0)}:function(ze){return Q.pathArc(pe.r2p(ze.x)+ue)},Se=H(de);if(Q.radialTickLayout!==Se&&(ie["radial-axis"].selectAll(".xtick").remove(),Q.radialTickLayout=Se),xe){pe.setScale();var Ce=0,ae=Pe?(pe.tickvals||[]).filter(function(ze){return ze>=0}).map(function(ze){return o.tickText(pe,ze,!0,!1)}):o.calcTicks(pe),fe=Pe?ae:o.clipEnds(pe,ae),be=o.getTickSigns(pe)[2];Pe&&((pe.ticks==="top"&&pe.side==="bottom"||pe.ticks==="bottom"&&pe.side==="top")&&(be=-be),pe.ticks==="top"&&pe.side==="top"&&(Ce=-pe.ticklen),pe.ticks==="bottom"&&pe.side==="bottom"&&(Ce=pe.ticklen)),o.drawTicks(re,pe,{vals:ae,layer:ie["radial-axis"],path:o.makeTickPath(pe,0,be),transFn:_e,crisp:!1}),o.drawGrid(re,pe,{vals:fe,layer:ie["radial-grid"],path:Me,transFn:M.noop,crisp:!1}),o.drawLabels(re,pe,{vals:ae,layer:ie["radial-axis"],transFn:_e,labelFns:o.makeLabelFns(pe,Ce)})}var ke=Q.radialAxisAngle=Q.vangles?U(ne($(de.angle),Q.vangles)):de.angle,Le=f(ce,ye),Be=Le+v(-ke);te(ie["radial-axis"],xe&&(de.showticklabels||de.ticks),{transform:Be}),te(ie["radial-grid"],xe&&de.showgrid,{transform:Pe?"":Le}),te(ie["radial-line"].select("line"),xe&&de.showline,{x1:Pe?-oe:ue,y1:0,x2:oe,y2:0,transform:Be}).attr("stroke-width",de.linewidth).call(l.stroke,de.linecolor)},q.updateRadialAxisTitle=function(Z,X,Q){if(!this.isSmith){var re=this,ie=re.gd,oe=re.radius,ue=re.cx,ce=re.cy,ye=re.getRadial(X),de=re.id+"title",me=0;if(ye.title){var pe=a.bBox(re.layers["radial-axis"].node()).height,xe=ye.title.font.size,Pe=ye.side;me=Pe==="top"?xe:Pe==="counterclockwise"?-(pe+.4*xe):pe+.8*xe}var _e=Q!==void 0?Q:re.radialAxisAngle,Me=$(_e),Se=Math.cos(Me),Ce=Math.sin(Me),ae=ue+oe/2*Se+me*Ce,fe=ce-oe/2*Ce+me*Se;re.layers["radial-axis-title"]=S.draw(ie,de,{propContainer:ye,propName:re.id+".radialaxis.title",placeholder:W(ie,"Click to enter radial axis title"),attributes:{x:ae,y:fe,"text-anchor":"middle"},transform:{rotate:-_e}})}},q.updateAngularAxis=function(Z,X){var Q=this,re=Q.gd,ie=Q.layers,oe=Q.radius,ue=Q.innerRadius,ce=Q.cx,ye=Q.cy,de=Q.getAngular(X),me=Q.angularAxis,pe=Q.isSmith;pe||(Q.fillViewInitialKey("angularaxis.rotation",de.rotation),me.setGeometry(),me.setScale());var xe=pe?function(ze){var je=N(Q,z([0,ze.x]));return Math.atan2(je[0]-ce,je[1]-ye)-Math.PI/2}:function(ze){return me.t2g(ze.x)};me.type==="linear"&&me.thetaunit==="radians"&&(me.tick0=U(me.tick0),me.dtick=U(me.dtick));var Pe=function(ze){return f(ce+oe*Math.cos(ze),ye-oe*Math.sin(ze))},_e=pe?function(ze){var je=N(Q,z([0,ze.x]));return f(je[0],je[1])}:function(ze){return Pe(xe(ze))},Me=pe?function(ze){var je=N(Q,z([0,ze.x])),ge=Math.atan2(je[0]-ce,je[1]-ye)-Math.PI/2;return f(je[0],je[1])+v(-U(ge))}:function(ze){var je=xe(ze);return Pe(je)+v(-U(je))},Se=pe?function(ze){return F(Q,ze.x,0,1/0)}:function(ze){var je=xe(ze),ge=Math.cos(je),we=Math.sin(je);return"M"+[ce+ue*ge,ye-ue*we]+"L"+[ce+oe*ge,ye-oe*we]},Ce=o.makeLabelFns(me,0).labelStandoff,ae={xFn:function(ze){var je=xe(ze);return Math.cos(je)*Ce},yFn:function(ze){var je=xe(ze),ge=Math.sin(je)>0?.2:1;return-Math.sin(je)*(Ce+ze.fontSize*ge)+Math.abs(Math.cos(je))*(ze.fontSize*b)},anchorFn:function(ze){var je=xe(ze),ge=Math.cos(je);return Math.abs(ge)<.1?"middle":ge>0?"start":"end"},heightFn:function(ze,je,ge){var we=xe(ze);return-.5*(1+Math.sin(we))*ge}},fe=H(de);Q.angularTickLayout!==fe&&(ie["angular-axis"].selectAll("."+me._id+"tick").remove(),Q.angularTickLayout=fe);var be,ke=pe?[1/0].concat(me.tickvals||[]).map(function(ze){return o.tickText(me,ze,!0,!1)}):o.calcTicks(me);if(pe&&(ke[0].text="∞",ke[0].fontSize*=1.75),X.gridshape==="linear"?(be=ke.map(xe),M.angleDelta(be[0],be[1])<0&&(be=be.slice().reverse())):be=null,Q.vangles=be,me.type==="category"&&(ke=ke.filter(function(ze){return M.isAngleInsideSector(xe(ze),Q.sectorInRad)})),me.visible){var Le=me.ticks==="inside"?-1:1,Be=(me.linewidth||1)/2;o.drawTicks(re,me,{vals:ke,layer:ie["angular-axis"],path:"M"+Le*Be+",0h"+Le*me.ticklen,transFn:Me,crisp:!1}),o.drawGrid(re,me,{vals:ke,layer:ie["angular-grid"],path:Se,transFn:M.noop,crisp:!1}),o.drawLabels(re,me,{vals:ke,layer:ie["angular-axis"],repositionOnUpdate:!0,transFn:_e,labelFns:ae})}te(ie["angular-line"].select("path"),de.showline,{d:Q.pathSubplot(),transform:f(ce,ye)}).attr("stroke-width",de.linewidth).call(l.stroke,de.linecolor)},q.updateFx=function(Z,X){this.gd._context.staticPlot||(!this.isSmith&&(this.updateAngularDrag(Z),this.updateRadialDrag(Z,X,0),this.updateRadialDrag(Z,X,1)),this.updateHoverAndMainDrag(Z))},q.updateHoverAndMainDrag=function(Z){var X,Q,re=this,ie=re.isSmith,oe=re.gd,ue=re.layers,ce=Z._zoomlayer,ye=R.MINZOOM,de=R.OFFEDGE,me=re.radius,pe=re.innerRadius,xe=re.cx,Pe=re.cy,_e=re.cxx,Me=re.cyy,Se=re.sectorInRad,Ce=re.vangles,ae=re.radialAxis,fe=I.clampTiny,be=I.findXYatLength,ke=I.findEnclosingVertexAngles,Le=R.cornerHalfWidth,Be=R.cornerLen/2,ze=m.makeDragger(ue,"path","maindrag",Z.dragmode===!1?"none":"crosshair");d.select(ze).attr("d",re.pathSubplot()).attr("transform",f(xe,Pe)),ze.onmousemove=function(Re){y.hover(oe,Re,re.id),oe._fullLayout._lasthover=ze,oe._fullLayout._hoversubplot=re.id},ze.onmouseout=function(Re){oe._dragging||w.unhover(oe,Re)};var je,ge,we,Ee,Ve,$e,Ye,st,ot,ht={element:ze,gd:oe,subplot:re.id,plotinfo:{id:re.id,xaxis:re.xaxis,yaxis:re.yaxis},xaxes:[re.xaxis],yaxes:[re.yaxis]};function bt(Re,Ne){return Math.sqrt(Re*Re+Ne*Ne)}function Et(Re,Ne){return bt(Re-_e,Ne-Me)}function kt(Re,Ne){return Math.atan2(Me-Ne,Re-_e)}function xt(Re,Ne){return[Re*Math.cos(Ne),Re*Math.sin(-Ne)]}function Ft(Re,Ne){if(Re===0)return re.pathSector(2*Le);var Qe=Be/Re,ut=Ne-Qe,dt=Ne+Qe,_t=Math.max(0,Math.min(Re,me)),It=_t-Le,Lt=_t+Le;return"M"+xt(It,ut)+"A"+[It,It]+" 0,0,0 "+xt(It,dt)+"L"+xt(Lt,dt)+"A"+[Lt,Lt]+" 0,0,1 "+xt(Lt,ut)+"Z"}function Ot(Re,Ne,Qe){if(Re===0)return re.pathSector(2*Le);var ut,dt,_t=xt(Re,Ne),It=xt(Re,Qe),Lt=fe((_t[0]+It[0])/2),yt=fe((_t[1]+It[1])/2);if(Lt&&yt){var Pt=yt/Lt,wt=-1/Pt,Rt=be(Le,Pt,Lt,yt);ut=be(Be,wt,Rt[0][0],Rt[0][1]),dt=be(Be,wt,Rt[1][0],Rt[1][1])}else{var Nt,Yt;yt?(Nt=Be,Yt=Le):(Nt=Le,Yt=Be),ut=[[Lt-Nt,yt-Yt],[Lt+Nt,yt-Yt]],dt=[[Lt-Nt,yt+Yt],[Lt+Nt,yt+Yt]]}return"M"+ut.join("L")+"L"+dt.reverse().join("L")+"Z"}function Bt(Re,Ne){return Ne=Math.max(Math.min(Ne,me),pe),Reye?(Re-1&&Re===1&&k(Ne,oe,[re.xaxis],[re.yaxis],re.id,ht),Qe.indexOf("event")>-1&&y.click(oe,Ne,re.id)}ht.prepFn=function(Re,Ne,Qe){var ut=oe._fullLayout.dragmode,dt=ze.getBoundingClientRect();oe._fullLayout._calcInverseTransform(oe);var _t=oe._fullLayout._invTransform;X=oe._fullLayout._invScaleX,Q=oe._fullLayout._invScaleY;var It=M.apply3DTransform(_t)(Ne-dt.left,Qe-dt.top);if(je=It[0],ge=It[1],Ce){var Lt=I.findPolygonOffset(me,Se[0],Se[1],Ce);je+=_e+Lt[0],ge+=Me+Lt[1]}switch(ut){case"zoom":ht.clickFn=ft,ie||(ht.moveFn=Ce?Je:Vt,ht.doneFn=qe,function(){we=null,Ee=null,Ve=re.pathSubplot(),$e=!1;var yt=oe._fullLayout[re.id];Ye=g(yt.bgcolor).getLuminance(),(st=m.makeZoombox(ce,Ye,xe,Pe,Ve)).attr("fill-rule","evenodd"),ot=m.makeCorners(ce,xe,Pe),E(oe)}());break;case"select":case"lasso":_(Re,Ne,Qe,ht,ut)}},w.init(ht)},q.updateRadialDrag=function(Z,X,Q){var re=this,ie=re.gd,oe=re.layers,ue=re.radius,ce=re.innerRadius,ye=re.cx,de=re.cy,me=re.radialAxis,pe=R.radialDragBoxSize,xe=pe/2;if(me.visible){var Pe,_e,Me,Se=$(re.radialAxisAngle),Ce=me._rl,ae=Ce[0],fe=Ce[1],be=Ce[Q],ke=.75*(Ce[1]-Ce[0])/(1-re.getHole(X))/ue;Q?(Pe=ye+(ue+xe)*Math.cos(Se),_e=de-(ue+xe)*Math.sin(Se),Me="radialdrag"):(Pe=ye+(ce-xe)*Math.cos(Se),_e=de-(ce-xe)*Math.sin(Se),Me="radialdrag-inner");var Le,Be,ze,je=m.makeRectDragger(oe,Me,"crosshair",-xe,-xe,pe,pe),ge={element:je,gd:ie};Z.dragmode===!1&&(ge.dragmode=!1),te(d.select(je),me.visible&&ce0==(Q?ze>ae:zec?function(S){return S<=0}:function(S){return S>=0};a.c2g=function(S){var _=a.c2l(S)-s;return(y(_)?_:0)+w},a.g2c=function(S){return a.l2c(S+s-w)},a.g2p=function(S){return S*m},a.c2p=function(S){return a.g2p(a.c2g(S))}}})(v,f);break;case"angularaxis":(function(a,u){var o=a.type;if(o==="linear"){var s=a.d2c,c=a.c2d;a.d2c=function(h,m){return function(w,y){return y==="degrees"?i(w):w}(s(h),m)},a.c2d=function(h,m){return c(function(w,y){return y==="degrees"?M(w):w}(h,m))}}a.makeCalcdata=function(h,m){var w,y,S=h[m],_=h._length,k=function(b){return a.d2c(b,h.thetaunit)};if(S){if(d.isTypedArray(S)&&o==="linear"){if(_===S.length)return S;if(S.subarray)return S.subarray(0,_)}for(w=new Array(_),y=0;y<_;y++)w[y]=k(S[y])}else{var E=m+"0",x="d"+m,A=E in h?k(h[E]):0,L=h[x]?k(h[x]):(a.period||2*Math.PI)/_;for(w=new Array(_),y=0;y<_;y++)w[y]=A+y*L}return w},a.setGeometry=function(){var h,m,w,y,S=u.sector,_=S.map(i),k={clockwise:-1,counterclockwise:1}[a.direction],E=i(a.rotation),x=function(R){return k*R+E},A=function(R){return(R-E)/k};switch(o){case"linear":m=h=d.identity,y=i,w=M,a.range=d.isFullCircle(_)?[S[0],S[0]+360]:_.map(A).map(M);break;case"category":var L=a._categories.length,b=a.period?Math.max(a.period,L):L;b===0&&(b=1),m=y=function(R){return 2*R*Math.PI/b},h=w=function(R){return R*b/Math.PI/2},a.range=[0,b]}a.c2g=function(R){return x(m(R))},a.g2c=function(R){return h(A(R))},a.t2g=function(R){return x(y(R))},a.g2t=function(R){return w(A(R))}}})(v,f)}}},39779:function(T){T.exports={attr:"subplot",name:"smith",axisNames:["realaxis","imaginaryaxis"],axisName2dataArray:{imaginaryaxis:"imag",realaxis:"real"}}},23893:function(T){function p(i){return i<0?-1:i>0?1:0}function t(i){var M=i[0],v=i[1];if(!isFinite(M)||!isFinite(v))return[1,0];var f=(M+1)*(M+1)+v*v;return[(M*M+v*v-1)/f,2*v/f]}function d(i,M){var v=M[0],f=M[1];return[v*i.radius+i.cx,-f*i.radius+i.cy]}function g(i,M){return M*i.radius}T.exports={smith:t,reactanceArc:function(i,M,v,f){var l=d(i,t([v,M])),a=l[0],u=l[1],o=d(i,t([f,M])),s=o[0],c=o[1];if(M===0)return["M"+a+","+u,"L"+s+","+c].join(" ");var h=g(i,1/Math.abs(M));return["M"+a+","+u,"A"+h+","+h+" 0 0,"+(M<0?1:0)+" "+s+","+c].join(" ")},resistanceArc:function(i,M,v,f){var l=g(i,1/(M+1)),a=d(i,t([M,v])),u=a[0],o=a[1],s=d(i,t([M,f])),c=s[0],h=s[1];if(p(v)!==p(f)){var m=d(i,t([M,0]));return["M"+u+","+o,"A"+l+","+l+" 0 0,"+(00){for(var f=[],l=0;l=A&&(b.min=0,R.min=0,I.min=0,m.aaxis&&delete m.aaxis.min,m.baxis&&delete m.baxis.min,m.caxis&&delete m.caxis.min)}function h(m,w,y,S){var _=o[w._name];function k(R,I){return i.coerce(m,w,_,R,I)}k("uirevision",S.uirevision),w.type="linear";var E=k("color"),x=E!==_.color.dflt?E:y.font.color,A=w._name.charAt(0).toUpperCase(),L="Component "+A,b=k("title.text",L);w._hovertitle=b===L?b:A,i.coerceFont(k,"title.font",{family:y.font.family,size:i.bigFont(y.font.size),color:x}),k("min"),a(m,w,k,"linear"),f(m,w,k,"linear"),v(m,w,k,"linear"),l(m,w,k,{outerTicks:!0}),k("showticklabels")&&(i.coerceFont(k,"tickfont",{family:y.font.family,size:y.font.size,color:x}),k("tickangle"),k("tickformat")),u(m,w,k,{dfltColor:E,bgColor:y.bgColor,blend:60,showLine:!0,showGrid:!0,noZeroLine:!0,attributes:_}),k("hoverformat"),k("layer")}T.exports=function(m,w,y){M(m,w,y,{type:"ternary",attributes:o,handleDefaults:c,font:w.font,paper_bgcolor:w.paper_bgcolor})}},64380:function(T,p,t){var d=t(39898),g=t(84267),i=t(73972),M=t(71828),v=M.strTranslate,f=M._,l=t(7901),a=t(91424),u=t(21994),o=t(1426).extendFlat,s=t(74875),c=t(89298),h=t(28569),m=t(30211),w=t(64505),y=w.freeMode,S=w.rectMode,_=t(92998),k=t(47322).prepSelect,E=t(47322).selectOnClick,x=t(47322).clearOutline,A=t(47322).clearSelectionsCache,L=t(85555);function b(j,$){this.id=j.id,this.graphDiv=j.graphDiv,this.init($),this.makeFramework($),this.aTickLayout=null,this.bTickLayout=null,this.cTickLayout=null}T.exports=b;var R=b.prototype;R.init=function(j){this.container=j._ternarylayer,this.defs=j._defs,this.layoutId=j._uid,this.traceHash={},this.layers={}},R.plot=function(j,$){var U=this,G=$[U.id],q=$._size;U._hasClipOnAxisFalse=!1;for(var H=0;HI*ce?q=(H=ce)*I:H=(q=ue)/I,ne=ie*q/ue,te=oe*H/ce,U=$.l+$.w*Q-q/2,G=$.t+$.h*(1-re)-H/2,Z.x0=U,Z.y0=G,Z.w=q,Z.h=H,Z.sum=ye,Z.xaxis={type:"linear",range:[de+2*pe-ye,ye-de-2*me],domain:[Q-ne/2,Q+ne/2],_id:"x"},u(Z.xaxis,Z.graphDiv._fullLayout),Z.xaxis.setScale(),Z.xaxis.isPtWithinRange=function(Le){return Le.a>=Z.aaxis.range[0]&&Le.a<=Z.aaxis.range[1]&&Le.b>=Z.baxis.range[1]&&Le.b<=Z.baxis.range[0]&&Le.c>=Z.caxis.range[1]&&Le.c<=Z.caxis.range[0]},Z.yaxis={type:"linear",range:[de,ye-me-pe],domain:[re-te/2,re+te/2],_id:"y"},u(Z.yaxis,Z.graphDiv._fullLayout),Z.yaxis.setScale(),Z.yaxis.isPtWithinRange=function(){return!0};var xe=Z.yaxis.domain[0],Pe=Z.aaxis=o({},j.aaxis,{range:[de,ye-me-pe],side:"left",tickangle:(+j.aaxis.tickangle||0)-30,domain:[xe,xe+te*I],anchor:"free",position:0,_id:"y",_length:q});u(Pe,Z.graphDiv._fullLayout),Pe.setScale();var _e=Z.baxis=o({},j.baxis,{range:[ye-de-pe,me],side:"bottom",domain:Z.xaxis.domain,anchor:"free",position:0,_id:"x",_length:q});u(_e,Z.graphDiv._fullLayout),_e.setScale();var Me=Z.caxis=o({},j.caxis,{range:[ye-de-me,pe],side:"right",tickangle:(+j.caxis.tickangle||0)+30,domain:[xe,xe+te*I],anchor:"free",position:0,_id:"y",_length:q});u(Me,Z.graphDiv._fullLayout),Me.setScale();var Se="M"+U+","+(G+H)+"h"+q+"l-"+q/2+",-"+H+"Z";Z.clipDef.select("path").attr("d",Se),Z.layers.plotbg.select("path").attr("d",Se);var Ce="M0,"+H+"h"+q+"l-"+q/2+",-"+H+"Z";Z.clipDefRelative.select("path").attr("d",Ce);var ae=v(U,G);Z.plotContainer.selectAll(".scatterlayer,.maplayer").attr("transform",ae),Z.clipDefRelative.select("path").attr("transform",null);var fe=v(U-_e._offset,G+H);Z.layers.baxis.attr("transform",fe),Z.layers.bgrid.attr("transform",fe);var be=v(U+q/2,G)+"rotate(30)"+v(0,-Pe._offset);Z.layers.aaxis.attr("transform",be),Z.layers.agrid.attr("transform",be);var ke=v(U+q/2,G)+"rotate(-30)"+v(0,-Me._offset);Z.layers.caxis.attr("transform",ke),Z.layers.cgrid.attr("transform",ke),Z.drawAxes(!0),Z.layers.aline.select("path").attr("d",Pe.showline?"M"+U+","+(G+H)+"l"+q/2+",-"+H:"M0,0").call(l.stroke,Pe.linecolor||"#000").style("stroke-width",(Pe.linewidth||0)+"px"),Z.layers.bline.select("path").attr("d",_e.showline?"M"+U+","+(G+H)+"h"+q:"M0,0").call(l.stroke,_e.linecolor||"#000").style("stroke-width",(_e.linewidth||0)+"px"),Z.layers.cline.select("path").attr("d",Me.showline?"M"+(U+q/2)+","+G+"l"+q/2+","+H:"M0,0").call(l.stroke,Me.linecolor||"#000").style("stroke-width",(Me.linewidth||0)+"px"),Z.graphDiv._context.staticPlot||Z.initInteractions(),a.setClipUrl(Z.layers.frontplot,Z._hasClipOnAxisFalse?null:Z.clipId,Z.graphDiv)},R.drawAxes=function(j){var $=this,U=$.graphDiv,G=$.id.substr(7)+"title",q=$.layers,H=$.aaxis,ne=$.baxis,te=$.caxis;if($.drawAx(H),$.drawAx(ne),$.drawAx(te),j){var Z=Math.max(H.showticklabels?H.tickfont.size/2:0,(te.showticklabels?.75*te.tickfont.size:0)+(te.ticks==="outside"?.87*te.ticklen:0)),X=(ne.showticklabels?ne.tickfont.size:0)+(ne.ticks==="outside"?ne.ticklen:0)+3;q["a-title"]=_.draw(U,"a"+G,{propContainer:H,propName:$.id+".aaxis.title",placeholder:f(U,"Click to enter Component A title"),attributes:{x:$.x0+$.w/2,y:$.y0-H.title.font.size/3-Z,"text-anchor":"middle"}}),q["b-title"]=_.draw(U,"b"+G,{propContainer:ne,propName:$.id+".baxis.title",placeholder:f(U,"Click to enter Component B title"),attributes:{x:$.x0-X,y:$.y0+$.h+.83*ne.title.font.size+X,"text-anchor":"middle"}}),q["c-title"]=_.draw(U,"c"+G,{propContainer:te,propName:$.id+".caxis.title",placeholder:f(U,"Click to enter Component C title"),attributes:{x:$.x0+$.w+X,y:$.y0+$.h+.83*te.title.font.size+X,"text-anchor":"middle"}})}},R.drawAx=function(j){var $,U=this,G=U.graphDiv,q=j._name,H=q.charAt(0),ne=j._id,te=U.layers[q],Z=H+"tickLayout",X=($=j).ticks+String($.ticklen)+String($.showticklabels);U[Z]!==X&&(te.selectAll("."+ne+"tick").remove(),U[Z]=X),j.setScale();var Q=c.calcTicks(j),re=c.clipEnds(j,Q),ie=c.makeTransTickFn(j),oe=c.getTickSigns(j)[2],ue=M.deg2rad(30),ce=oe*(j.linewidth||1)/2,ye=oe*j.ticklen,de=U.w,me=U.h,pe=H==="b"?"M0,"+ce+"l"+Math.sin(ue)*ye+","+Math.cos(ue)*ye:"M"+ce+",0l"+Math.cos(ue)*ye+","+-Math.sin(ue)*ye,xe={a:"M0,0l"+me+",-"+de/2,b:"M0,0l-"+de/2+",-"+me,c:"M0,0l-"+me+","+de/2}[H];c.drawTicks(G,j,{vals:j.ticks==="inside"?re:Q,layer:te,path:pe,transFn:ie,crisp:!1}),c.drawGrid(G,j,{vals:re,layer:U.layers[H+"grid"],path:xe,transFn:ie,crisp:!1}),c.drawLabels(G,j,{vals:Q,layer:te,transFn:ie,labelFns:c.makeLabelFns(j,0,30)})};var O=L.MINZOOM/2+.87,z="m-0.87,.5h"+O+"v3h-"+(O+5.2)+"l"+(O/2+2.6)+",-"+(.87*O+4.5)+"l2.6,1.5l-"+O/2+","+.87*O+"Z",F="m0.87,.5h-"+O+"v3h"+(O+5.2)+"l-"+(O/2+2.6)+",-"+(.87*O+4.5)+"l-2.6,1.5l"+O/2+","+.87*O+"Z",B="m0,1l"+O/2+","+.87*O+"l2.6,-1.5l-"+(O/2+2.6)+",-"+(.87*O+4.5)+"l-"+(O/2+2.6)+","+(.87*O+4.5)+"l2.6,1.5l"+O/2+",-"+.87*O+"Z",N=!0;function W(j){d.select(j).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}R.clearOutline=function(){A(this.dragOptions),x(this.dragOptions.gd)},R.initInteractions=function(){var j,$,U,G,q,H,ne,te,Z,X,Q,re,ie=this,oe=ie.layers.plotbg.select("path").node(),ue=ie.graphDiv,ce=ue._fullLayout._zoomlayer;function ye(Ce){var ae={};return ae[ie.id+".aaxis.min"]=Ce.a,ae[ie.id+".baxis.min"]=Ce.b,ae[ie.id+".caxis.min"]=Ce.c,ae}function de(Ce,ae){var fe=ue._fullLayout.clickmode;W(ue),Ce===2&&(ue.emit("plotly_doubleclick",null),i.call("_guiRelayout",ue,ye({a:0,b:0,c:0}))),fe.indexOf("select")>-1&&Ce===1&&E(ae,ue,[ie.xaxis],[ie.yaxis],ie.id,ie.dragOptions),fe.indexOf("event")>-1&&m.click(ue,ae,ie.id)}function me(Ce,ae){return 1-ae/ie.h}function pe(Ce,ae){return 1-(Ce+(ie.h-ae)/Math.sqrt(3))/ie.w}function xe(Ce,ae){return(Ce-(ie.h-ae)/Math.sqrt(3))/ie.w}function Pe(Ce,ae){var fe=U+Ce*j,be=G+ae*$,ke=Math.max(0,Math.min(1,me(0,G),me(0,be))),Le=Math.max(0,Math.min(1,pe(U,G),pe(fe,be))),Be=Math.max(0,Math.min(1,xe(U,G),xe(fe,be))),ze=(ke/2+Be)*ie.w,je=(1-ke/2-Le)*ie.w,ge=(ze+je)/2,we=je-ze,Ee=(1-ke)*ie.h,Ve=Ee-we/I;we.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),re.transition().style("opacity",1).duration(200),X=!0),ue.emit("plotly_relayouting",ye(ne))}function _e(){W(ue),ne!==q&&(i.call("_guiRelayout",ue,ye(ne)),N&&ue.data&&ue._context.showTips&&(M.notifier(f(ue,"Double-click to zoom back out"),"long"),N=!1))}function Me(Ce,ae){var fe=Ce/ie.xaxis._m,be=ae/ie.yaxis._m,ke=[(ne={a:q.a-be,b:q.b+(fe+be)/2,c:q.c-(fe-be)/2}).a,ne.b,ne.c].sort(M.sorterAsc),Le=ke.indexOf(ne.a),Be=ke.indexOf(ne.b),ze=ke.indexOf(ne.c);ke[0]<0&&(ke[1]+ke[0]/2<0?(ke[2]+=ke[0]+ke[1],ke[0]=ke[1]=0):(ke[2]+=ke[0]/2,ke[1]+=ke[0]/2,ke[0]=0),ne={a:ke[Le],b:ke[Be],c:ke[ze]},ae=(q.a-ne.a)*ie.yaxis._m,Ce=(q.c-ne.c-q.b+ne.b)*ie.xaxis._m);var je=v(ie.x0+Ce,ie.y0+ae);ie.plotContainer.selectAll(".scatterlayer,.maplayer").attr("transform",je);var ge=v(-Ce,-ae);ie.clipDefRelative.select("path").attr("transform",ge),ie.aaxis.range=[ne.a,ie.sum-ne.b-ne.c],ie.baxis.range=[ie.sum-ne.a-ne.c,ne.b],ie.caxis.range=[ie.sum-ne.a-ne.b,ne.c],ie.drawAxes(!1),ie._hasClipOnAxisFalse&&ie.plotContainer.select(".scatterlayer").selectAll(".trace").call(a.hideOutsideRangePoints,ie),ue.emit("plotly_relayouting",ye(ne))}function Se(){i.call("_guiRelayout",ue,ye(ne))}this.dragOptions={element:oe,gd:ue,plotinfo:{id:ie.id,domain:ue._fullLayout[ie.id].domain,xaxis:ie.xaxis,yaxis:ie.yaxis},subplot:ie.id,prepFn:function(Ce,ae,fe){ie.dragOptions.xaxes=[ie.xaxis],ie.dragOptions.yaxes=[ie.yaxis],j=ue._fullLayout._invScaleX,$=ue._fullLayout._invScaleY;var be=ie.dragOptions.dragmode=ue._fullLayout.dragmode;y(be)?ie.dragOptions.minDrag=1:ie.dragOptions.minDrag=void 0,be==="zoom"?(ie.dragOptions.moveFn=Pe,ie.dragOptions.clickFn=de,ie.dragOptions.doneFn=_e,function(ke,Le,Be){var ze=oe.getBoundingClientRect();U=Le-ze.left,G=Be-ze.top,ue._fullLayout._calcInverseTransform(ue);var je=ue._fullLayout._invTransform,ge=M.apply3DTransform(je)(U,G);U=ge[0],G=ge[1],q={a:ie.aaxis.range[0],b:ie.baxis.range[1],c:ie.caxis.range[1]},ne=q,H=ie.aaxis.range[1]-q.a,te=g(ie.graphDiv._fullLayout[ie.id].bgcolor).getLuminance(),Z="M0,"+ie.h+"L"+ie.w/2+", 0L"+ie.w+","+ie.h+"Z",X=!1,Q=ce.append("path").attr("class","zoombox").attr("transform",v(ie.x0,ie.y0)).style({fill:te>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("d",Z),re=ce.append("path").attr("class","zoombox-corners").attr("transform",v(ie.x0,ie.y0)).style({fill:l.background,stroke:l.defaultLine,"stroke-width":1,opacity:0}).attr("d","M0,0Z"),ie.clearOutline(ue)}(0,ae,fe)):be==="pan"?(ie.dragOptions.moveFn=Me,ie.dragOptions.clickFn=de,ie.dragOptions.doneFn=Se,q={a:ie.aaxis.range[0],b:ie.baxis.range[1],c:ie.caxis.range[1]},ne=q,ie.clearOutline(ue)):(S(be)||y(be))&&k(Ce,ae,fe,ie.dragOptions,be)}},oe.onmousemove=function(Ce){m.hover(ue,Ce,ie.id),ue._fullLayout._lasthover=oe,ue._fullLayout._hoversubplot=ie.id},oe.onmouseout=function(Ce){ue._dragging||h.unhover(ue,Ce)},h.init(this.dragOptions)}},73972:function(T,p,t){var d=t(47769),g=t(64213),i=t(75138),M=t(41965),v=t(24401).addStyleRule,f=t(1426),l=t(9012),a=t(10820),u=f.extendFlat,o=f.extendDeepAll;function s(E){var x=E.name,A=E.categories,L=E.meta;if(p.modules[x])d.log("Type "+x+" already registered");else{p.subplotsRegistry[E.basePlotModule.name]||function(N){var W=N.name;if(p.subplotsRegistry[W])d.log("Plot type "+W+" already registered.");else for(var j in w(N),p.subplotsRegistry[W]=N,p.componentsRegistry)_(j,N.name)}(E.basePlotModule);for(var b={},R=0;R-1&&(h[w[a]].title={text:""});for(a=0;a")!==-1?"":R.html(O).text()});return R.remove(),I}(L)).replace(/&(?!\w+;|\#[0-9]+;| \#x[0-9A-F]+;)/g,"&")).replace(a,"'"),g.isIE()&&(L=(L=(L=L.replace(/"/gi,"'")).replace(/(\('#)([^']*)('\))/gi,'("#$2")')).replace(/(\\')/gi,'"')),L}},75341:function(T,p,t){var d=t(71828);T.exports=function(g,i){for(var M=0;MI+b||!d(R))}for(var z=0;za))return v}return f!==void 0?f:M.dflt},p.coerceColor=function(M,v,f){return g(v).isValid()?v:f!==void 0?f:M.dflt},p.coerceEnumerated=function(M,v,f){return M.coerceNumber&&(v=+v),M.values.indexOf(v)!==-1?v:f!==void 0?f:M.dflt},p.getValue=function(M,v){var f;return Array.isArray(M)?v0?ye+=de:y<0&&(ye-=de)}return ye}function te(ce){var ye=y,de=ce.b,me=ne(ce);return d.inbox(de-ye,me-ye,O+(me-ye)/(me-de)-1)}var Z=o[S+"a"],X=o[_+"a"];x=Math.abs(Z.r2c(Z.range[1])-Z.r2c(Z.range[0]));var Q=d.getDistanceFunction(h,k,E,function(ce){return(k(ce)+E(ce))/2});if(d.getClosest(A,Q,o),o.index!==!1&&A[o.index].p!==l){B||(U=function(ce){return Math.min(N(ce),ce.p-b.bargroupwidth/2)},G=function(ce){return Math.max(W(ce),ce.p+b.bargroupwidth/2)});var re=A[o.index],ie=L.base?re.b+re.s:re.s;o[_+"0"]=o[_+"1"]=X.c2p(re[_],!0),o[_+"LabelVal"]=ie;var oe=b.extents[b.extents.round(re.p)];o[S+"0"]=Z.c2p(R?U(re):oe[0],!0),o[S+"1"]=Z.c2p(R?G(re):oe[1],!0);var ue=re.orig_p!==void 0;return o[S+"LabelVal"]=ue?re.orig_p:re.p,o.labelLabel=f(Z,o[S+"LabelVal"],L[S+"hoverformat"]),o.valueLabel=f(X,o[_+"LabelVal"],L[_+"hoverformat"]),o.baseLabel=f(X,re.b,L[_+"hoverformat"]),o.spikeDistance=(function(ce){var ye=y,de=ce.b,me=ne(ce);return d.inbox(de-ye,me-ye,z+(me-ye)/(me-de)-1)}(re)+function(ce){return q(N(ce),W(ce),z)}(re))/2,o[S+"Spike"]=Z.c2p(re.p,!0),M(re,L,o),o.hovertemplate=L.hovertemplate,o}}function u(o,s){var c=s.mcc||o.marker.color,h=s.mlcc||o.marker.line.color,m=v(o,s);return i.opacity(c)?c:i.opacity(h)&&m?h:void 0}T.exports={hoverPoints:function(o,s,c,h,m){var w=a(o,s,c,h,m);if(w){var y=w.cd,S=y[0].trace,_=y[w.index];return w.color=u(S,_),g.getComponentMethod("errorbars","hoverInfo")(_,S,w),[w]}},hoverOnBars:a,getTraceColor:u}},60822:function(T,p,t){T.exports={attributes:t(1486),layoutAttributes:t(43641),supplyDefaults:t(90769).supplyDefaults,crossTraceDefaults:t(90769).crossTraceDefaults,supplyLayoutDefaults:t(13957),calc:t(92290),crossTraceCalc:t(11661).crossTraceCalc,colorbar:t(4898),arraysToCalcdata:t(75341),plot:t(17295).plot,style:t(16688).style,styleOnSelect:t(16688).styleOnSelect,hoverPoints:t(95423).hoverPoints,eventData:t(58065),selectPoints:t(81974),moduleType:"trace",name:"bar",basePlotModule:t(93612),categories:["bar-like","cartesian","svg","bar","oriented","errorBarsOK","showLegend","zoomScale"],animatable:!0,meta:{}}},43641:function(T){T.exports={barmode:{valType:"enumerated",values:["stack","group","overlay","relative"],dflt:"group",editType:"calc"},barnorm:{valType:"enumerated",values:["","fraction","percent"],dflt:"",editType:"calc"},bargap:{valType:"number",min:0,max:1,editType:"calc"},bargroupgap:{valType:"number",min:0,max:1,dflt:0,editType:"calc"}}},13957:function(T,p,t){var d=t(73972),g=t(89298),i=t(71828),M=t(43641);T.exports=function(v,f,l){function a(S,_){return i.coerce(v,f,M,S,_)}for(var u=!1,o=!1,s=!1,c={},h=a("barmode"),m=0;m0}function R(z){return z==="auto"?0:z}function I(z,F){var B=Math.PI/180*F,N=Math.abs(Math.sin(B)),W=Math.abs(Math.cos(B));return{x:z.width*W+z.height*N,y:z.width*N+z.height*W}}function O(z,F,B,N,W,j){var $=!!j.isHorizontal,U=!!j.constrained,G=j.angle||0,q=j.anchor||"end",H=q==="end",ne=q==="start",te=((j.leftToRight||0)+1)/2,Z=1-te,X=W.width,Q=W.height,re=Math.abs(F-z),ie=Math.abs(N-B),oe=re>2*k&&ie>2*k?k:0;re-=2*oe,ie-=2*oe;var ue=R(G);G!=="auto"||X<=re&&Q<=ie||!(X>re||Q>ie)||(X>ie||Q>re)&&X.01?Be:function(we,Ee,Ve){return Ve&&we===Ee?we:Math.abs(we-Ee)>=2?Be(we):we>Ee?Math.ceil(we):Math.floor(we)};Ce=ze(Ce,ae,oe),ae=ze(ae,Ce,oe),fe=ze(fe,be,!oe),be=ze(be,fe,!oe)}var je=L(i.ensureSingle(Me,"path"),G,W,j);if(je.style("vector-effect",q?"none":"non-scaling-stroke").attr("d",isNaN((ae-Ce)*(be-fe))||ke&&z._context.staticPlot?"M0,0Z":"M"+Ce+","+fe+"V"+be+"H"+ae+"V"+fe+"Z").call(f.setClipUrl,F.layerClipId,z),!G.uniformtext.mode&&ue){var ge=f.makePointStyleFns(Z);f.singlePointStyle(pe,je,Z,ge,z)}(function(we,Ee,Ve,$e,Ye,st,ot,ht,bt,Et,kt){var xt,Ft=Ee.xaxis,Ot=Ee.yaxis,Bt=we._fullLayout;function qt(Qt,rn,xn){return i.ensureSingle(Qt,"text").text(rn).attr({class:"bartext bartext-"+xt,"text-anchor":"middle","data-notex":1}).call(f.font,xn).call(M.convertToTspans,we)}var Vt=$e[0].trace,Ke=Vt.orientation==="h",Je=function(Qt,rn,xn,un,An){var Yn,kn=rn[0].trace;return Yn=kn.texttemplate?function(sn,Tn,dn,pn,Dn){var In=Tn[0].trace,jn=i.castOption(In,dn,"texttemplate");if(!jn)return"";var Gn,qn,lr,rr,Sr=In.type==="histogram",yr=In.type==="waterfall",or=In.type==="funnel",vr=In.orientation==="h";function _r($n){return a(rr,rr.c2l($n),!0).text}vr?(Gn="y",qn=Dn,lr="x",rr=pn):(Gn="x",qn=pn,lr="y",rr=Dn);var Kt,bn=Tn[dn],Rn={};Rn.label=bn.p,Rn.labelLabel=Rn[Gn+"Label"]=(Kt=bn.p,a(qn,qn.c2l(Kt),!0).text);var Ln=i.castOption(In,bn.i,"text");(Ln===0||Ln)&&(Rn.text=Ln),Rn.value=bn.s,Rn.valueLabel=Rn[lr+"Label"]=_r(bn.s);var Un={};_(Un,In,bn.i),(Sr||Un.x===void 0)&&(Un.x=vr?Rn.value:Rn.label),(Sr||Un.y===void 0)&&(Un.y=vr?Rn.label:Rn.value),(Sr||Un.xLabel===void 0)&&(Un.xLabel=vr?Rn.valueLabel:Rn.labelLabel),(Sr||Un.yLabel===void 0)&&(Un.yLabel=vr?Rn.labelLabel:Rn.valueLabel),yr&&(Rn.delta=+bn.rawS||bn.s,Rn.deltaLabel=_r(Rn.delta),Rn.final=bn.v,Rn.finalLabel=_r(Rn.final),Rn.initial=Rn.final-Rn.delta,Rn.initialLabel=_r(Rn.initial)),or&&(Rn.value=bn.s,Rn.valueLabel=_r(Rn.value),Rn.percentInitial=bn.begR,Rn.percentInitialLabel=i.formatPercent(bn.begR),Rn.percentPrevious=bn.difR,Rn.percentPreviousLabel=i.formatPercent(bn.difR),Rn.percentTotal=bn.sumR,Rn.percenTotalLabel=i.formatPercent(bn.sumR));var Kn=i.castOption(In,bn.i,"customdata");return Kn&&(Rn.customdata=Kn),i.texttemplateString(jn,Rn,sn._d3locale,Un,Rn,In._meta||{})}(Qt,rn,xn,un,An):kn.textinfo?function(sn,Tn,dn,pn){var Dn=sn[0].trace,In=Dn.orientation==="h",jn=Dn.type==="waterfall",Gn=Dn.type==="funnel";function qn(Kn){return a(In?dn:pn,+Kn,!0).text}var lr,rr,Sr=Dn.textinfo,yr=sn[Tn],or=Sr.split("+"),vr=[],_r=function(Kn){return or.indexOf(Kn)!==-1};if(_r("label")&&vr.push((rr=sn[Tn].p,a(In?pn:dn,rr,!0).text)),_r("text")&&((lr=i.castOption(Dn,yr.i,"text"))===0||lr)&&vr.push(lr),jn){var Kt=+yr.rawS||yr.s,bn=yr.v,Rn=bn-Kt;_r("initial")&&vr.push(qn(Rn)),_r("delta")&&vr.push(qn(Kt)),_r("final")&&vr.push(qn(bn))}if(Gn){_r("value")&&vr.push(qn(yr.s));var Ln=0;_r("percent initial")&&Ln++,_r("percent previous")&&Ln++,_r("percent total")&&Ln++;var Un=Ln>1;_r("percent initial")&&(lr=i.formatPercent(yr.begR),Un&&(lr+=" of initial"),vr.push(lr)),_r("percent previous")&&(lr=i.formatPercent(yr.difR),Un&&(lr+=" of previous"),vr.push(lr)),_r("percent total")&&(lr=i.formatPercent(yr.sumR),Un&&(lr+=" of total"),vr.push(lr))}return vr.join("
")}(rn,xn,un,An):h.getValue(kn.text,xn),h.coerceString(y,Yn)}(Bt,$e,Ye,Ft,Ot);xt=function(Qt,rn){var xn=h.getValue(Qt.textposition,rn);return h.coerceEnumerated(S,xn)}(Vt,Ye);var qe=Et.mode==="stack"||Et.mode==="relative",nt=$e[Ye],ft=!qe||nt._outmost;if(Je&&xt!=="none"&&(!nt.isBlank&&st!==ot&&ht!==bt||xt!=="auto"&&xt!=="inside")){var Re=Bt.font,Ne=c.getBarColor($e[Ye],Vt),Qe=c.getInsideTextFont(Vt,Ye,Re,Ne),ut=c.getOutsideTextFont(Vt,Ye,Re),dt=Ve.datum();Ke?Ft.type==="log"&&dt.s0<=0&&(st=Ft.range[0]0&&yt>0&&(Lt<=wt&&yt<=Rt||Lt<=Rt&&yt<=wt||(Ke?wt>=Lt*(Rt/yt):Rt>=yt*(wt/Lt)))?xt="inside":(xt="outside",_t.remove(),_t=null)):xt="inside"),!_t){var Nt=(_t=qt(Ve,Je,Pt=i.ensureUniformFontSize(we,xt==="outside"?ut:Qe))).attr("transform");if(_t.attr("transform",""),Lt=(It=f.bBox(_t.node())).width,yt=It.height,_t.attr("transform",Nt),Lt<=0||yt<=0)return void _t.remove()}var Yt,Wt=Vt.textangle;Yt=xt==="outside"?function(Qt,rn,xn,un,An,Yn){var kn,sn=!!Yn.isHorizontal,Tn=!!Yn.constrained,dn=Yn.angle||0,pn=An.width,Dn=An.height,In=Math.abs(rn-Qt),jn=Math.abs(un-xn);kn=sn?jn>2*k?k:0:In>2*k?k:0;var Gn=1;Tn&&(Gn=sn?Math.min(1,jn/Dn):Math.min(1,In/pn));var qn=R(dn),lr=I(An,qn),rr=(sn?lr.x:lr.y)/2,Sr=(An.left+An.right)/2,yr=(An.top+An.bottom)/2,or=(Qt+rn)/2,vr=(xn+un)/2,_r=0,Kt=0,bn=sn?A(rn,Qt):A(xn,un);return sn?(or=rn-bn*kn,_r=bn*rr):(vr=un+bn*kn,Kt=-bn*rr),{textX:Sr,textY:yr,targetX:or,targetY:vr,anchorX:_r,anchorY:Kt,scale:Gn,rotate:qn}}(st,ot,ht,bt,It,{isHorizontal:Ke,constrained:Vt.constraintext==="both"||Vt.constraintext==="outside",angle:Wt}):O(st,ot,ht,bt,It,{isHorizontal:Ke,constrained:Vt.constraintext==="both"||Vt.constraintext==="inside",angle:Wt,anchor:Vt.insidetextanchor}),Yt.fontSize=Pt.size,o(Vt.type==="histogram"?"bar":Vt.type,Yt,Bt),nt.transform=Yt;var Xt=L(_t,Bt,Et,kt);i.setTransormAndDisplay(Xt,Yt)}else Ve.select("text").remove()})(z,F,Me,ne,xe,Ce,ae,fe,be,W,j),F.layerClipId&&f.hideOutsideRangePoint(pe,Me.select("text"),$,U,Z.xcalendar,Z.ycalendar)});var me=Z.cliponaxis===!1;f.setClipUrl(te,me?null:F.layerClipId,z)});l.getComponentMethod("errorbars","plot")(z,H,F,W)},toMoveInsideBar:O}},81974:function(T){function p(t,d,g,i,M){var v=d.c2p(i?t.s0:t.p0,!0),f=d.c2p(i?t.s1:t.p1,!0),l=g.c2p(i?t.p0:t.s0,!0),a=g.c2p(i?t.p1:t.s1,!0);return M?[(v+f)/2,(l+a)/2]:i?[f,(l+a)/2]:[(v+f)/2,a]}T.exports=function(t,d){var g,i=t.cd,M=t.xaxis,v=t.yaxis,f=i[0].trace,l=f.type==="funnel",a=f.orientation==="h",u=[];if(d===!1)for(g=0;g1||L.bargap===0&&L.bargroupgap===0&&!b[0].trace.marker.line.width)&&d.select(this).attr("shape-rendering","crispEdges")}),x.selectAll("g.points").each(function(b){c(d.select(this),b[0].trace,E)}),v.getComponentMethod("errorbars","style")(x)},styleTextPoints:h,styleOnSelect:function(E,x,A){var L=x[0].trace;L.selectedpoints?function(b,R,I){i.selectedPointStyle(b.selectAll("path"),R),function(O,z,F){O.each(function(B){var N,W=d.select(this);if(B.selected){N=M.ensureUniformFontSize(F,m(W,B,z,F));var j=z.selected.textfont&&z.selected.textfont.color;j&&(N.color=j),i.font(W,N)}else i.selectedTextStyle(W,z)})}(b.selectAll("text"),R,I)}(A,L,E):(c(A,L,E),v.getComponentMethod("errorbars","style")(A))},getInsideTextFont:y,getOutsideTextFont:S,getBarColor:k,resizeText:f}},98340:function(T,p,t){var d=t(7901),g=t(52075).hasColorscale,i=t(1586),M=t(71828).coercePattern;T.exports=function(v,f,l,a,u){var o=l("marker.color",a),s=g(v,"marker");s&&i(v,f,u,l,{prefix:"marker.",cLetter:"c"}),l("marker.line.color",d.defaultLine),g(v,"marker.line")&&i(v,f,u,l,{prefix:"marker.line.",cLetter:"c"}),l("marker.line.width"),l("marker.opacity"),M(l,"marker.pattern",o,s),l("selected.marker.color"),l("unselected.marker.color")}},72597:function(T,p,t){var d=t(39898),g=t(71828);function i(M){return"_"+M+"Text_minsize"}T.exports={recordMinTextSize:function(M,v,f){if(f.uniformtext.mode){var l=i(M),a=f.uniformtext.minsize,u=v.scale*v.fontSize;v.hide=uh.range[1]&&(E+=Math.PI),d.getClosest(o,function(L){return y(k,E,[L.rp0,L.rp1],[L.thetag0,L.thetag1],w)?S+Math.min(1,Math.abs(L.thetag1-L.thetag0)/_)-1+(L.rp1-k)/(L.rp1-L.rp0)-1:1/0},l),l.index!==!1){var x=o[l.index];l.x0=l.x1=x.ct[0],l.y0=l.y1=x.ct[1];var A=g.extendFlat({},x,{r:x.s,theta:x.p});return M(x,s,l),v(A,s,c,l),l.hovertemplate=s.hovertemplate,l.color=i(s,x),l.xLabelVal=l.yLabelVal=void 0,x.s<0&&(l.idealAlign="left"),[l]}}},23381:function(T,p,t){T.exports={moduleType:"trace",name:"barpolar",basePlotModule:t(23580),categories:["polar","bar","showLegend"],attributes:t(55023),layoutAttributes:t(40151),supplyDefaults:t(6135),supplyLayoutDefaults:t(19860),calc:t(74692).calc,crossTraceCalc:t(74692).crossTraceCalc,plot:t(60173),colorbar:t(4898),formatLabels:t(98608),style:t(16688).style,styleOnSelect:t(16688).styleOnSelect,hoverPoints:t(27379),selectPoints:t(81974),meta:{}}},40151:function(T){T.exports={barmode:{valType:"enumerated",values:["stack","overlay"],dflt:"stack",editType:"calc"},bargap:{valType:"number",dflt:.1,min:0,max:1,editType:"calc"}}},19860:function(T,p,t){var d=t(71828),g=t(40151);T.exports=function(i,M,v){var f,l={};function a(s,c){return d.coerce(i[f]||{},M[f],g,s,c)}for(var u=0;u0?(L=x,b=A):(L=A,b=x);var R=[v.findEnclosingVertexAngles(L,y.vangles)[0],(L+b)/2,v.findEnclosingVertexAngles(b,y.vangles)[1]];return v.pathPolygonAnnulus(k,E,L,b,R,S,_)}:function(k,E,x,A){return i.pathAnnulus(k,E,x,A,S,_)}}(l),w=l.layers.frontplot.select("g.barlayer");i.makeTraceGroups(w,a,"trace bars").each(function(){var y=d.select(this),S=i.ensureSingle(y,"g","points").selectAll("g.point").data(i.identity);S.enter().append("g").style("vector-effect",u?"none":"non-scaling-stroke").style("stroke-miterlimit",2).classed("point",!0),S.exit().remove(),S.each(function(_){var k,E=d.select(this),x=_.rp0=c.c2p(_.s0),A=_.rp1=c.c2p(_.s1),L=_.thetag0=h.c2g(_.p0),b=_.thetag1=h.c2g(_.p1);if(g(x)&&g(A)&&g(L)&&g(b)&&x!==A&&L!==b){var R=c.c2g(_.s1),I=(L+b)/2;_.ct=[o.c2p(R*Math.cos(I)),s.c2p(R*Math.sin(I))],k=m(x,A,L,b)}else k="M0,0Z";i.ensureSingle(E,"path").attr("d",k)}),M.setClipUrl(y,l._hasClipOnAxisFalse?l.clipIds.forTraces:null,f)})}},53522:function(T,p,t){var d=t(82196),g=t(1486),i=t(22399),M=t(12663).axisHoverFormat,v=t(5386).fF,f=t(1426).extendFlat,l=d.marker,a=l.line;T.exports={y:{valType:"data_array",editType:"calc+clearAxisTypes"},x:{valType:"data_array",editType:"calc+clearAxisTypes"},x0:{valType:"any",editType:"calc+clearAxisTypes"},y0:{valType:"any",editType:"calc+clearAxisTypes"},dx:{valType:"number",editType:"calc"},dy:{valType:"number",editType:"calc"},xperiod:d.xperiod,yperiod:d.yperiod,xperiod0:d.xperiod0,yperiod0:d.yperiod0,xperiodalignment:d.xperiodalignment,yperiodalignment:d.yperiodalignment,xhoverformat:M("x"),yhoverformat:M("y"),name:{valType:"string",editType:"calc+clearAxisTypes"},q1:{valType:"data_array",editType:"calc+clearAxisTypes"},median:{valType:"data_array",editType:"calc+clearAxisTypes"},q3:{valType:"data_array",editType:"calc+clearAxisTypes"},lowerfence:{valType:"data_array",editType:"calc"},upperfence:{valType:"data_array",editType:"calc"},notched:{valType:"boolean",editType:"calc"},notchwidth:{valType:"number",min:0,max:.5,dflt:.25,editType:"calc"},notchspan:{valType:"data_array",editType:"calc"},boxpoints:{valType:"enumerated",values:["all","outliers","suspectedoutliers",!1],editType:"calc"},jitter:{valType:"number",min:0,max:1,editType:"calc"},pointpos:{valType:"number",min:-2,max:2,editType:"calc"},boxmean:{valType:"enumerated",values:[!0,"sd",!1],editType:"calc"},mean:{valType:"data_array",editType:"calc"},sd:{valType:"data_array",editType:"calc"},orientation:{valType:"enumerated",values:["v","h"],editType:"calc+clearAxisTypes"},quartilemethod:{valType:"enumerated",values:["linear","exclusive","inclusive"],dflt:"linear",editType:"calc"},width:{valType:"number",min:0,dflt:0,editType:"calc"},marker:{outliercolor:{valType:"color",dflt:"rgba(0, 0, 0, 0)",editType:"style"},symbol:f({},l.symbol,{arrayOk:!1,editType:"plot"}),opacity:f({},l.opacity,{arrayOk:!1,dflt:1,editType:"style"}),angle:f({},l.angle,{arrayOk:!1,editType:"calc"}),size:f({},l.size,{arrayOk:!1,editType:"calc"}),color:f({},l.color,{arrayOk:!1,editType:"style"}),line:{color:f({},a.color,{arrayOk:!1,dflt:i.defaultLine,editType:"style"}),width:f({},a.width,{arrayOk:!1,dflt:0,editType:"style"}),outliercolor:{valType:"color",editType:"style"},outlierwidth:{valType:"number",min:0,dflt:1,editType:"style"},editType:"style"},editType:"plot"},line:{color:{valType:"color",editType:"style"},width:{valType:"number",min:0,dflt:2,editType:"style"},editType:"plot"},fillcolor:d.fillcolor,whiskerwidth:{valType:"number",min:0,max:1,dflt:.5,editType:"calc"},offsetgroup:g.offsetgroup,alignmentgroup:g.alignmentgroup,selected:{marker:d.selected.marker,editType:"style"},unselected:{marker:d.unselected.marker,editType:"style"},text:f({},d.text,{}),hovertext:f({},d.hovertext,{}),hovertemplate:v({}),hoveron:{valType:"flaglist",flags:["boxes","points"],dflt:"boxes+points",editType:"style"}}},48518:function(T,p,t){var d=t(92770),g=t(89298),i=t(42973),M=t(71828),v=t(50606).BADNUM,f=M._;T.exports=function(y,S){var _,k,E,x,A,L,b,R=y._fullLayout,I=g.getFromId(y,S.xaxis||"x"),O=g.getFromId(y,S.yaxis||"y"),z=[],F=S.type==="violin"?"_numViolins":"_numBoxes";S.orientation==="h"?(E=I,x="x",A=O,L="y",b=!!S.yperiodalignment):(E=O,x="y",A=I,L="x",b=!!S.xperiodalignment);var B,N,W,j,$,U,G=function(Ee,Ve,$e,Ye){var st,ot=Ve+"0"in Ee;if(Ve in Ee||ot&&"d"+Ve in Ee){var ht=$e.makeCalcdata(Ee,Ve);return[i(Ee,$e,Ve,ht).vals,ht]}st=ot?Ee[Ve+"0"]:"name"in Ee&&($e.type==="category"||d(Ee.name)&&["linear","log"].indexOf($e.type)!==-1||M.isDateTime(Ee.name)&&$e.type==="date")?Ee.name:Ye;for(var bt=$e.type==="multicategory"?$e.r2c_just_indices(st):$e.d2c(st,0,Ee[Ve+"calendar"]),Et=Ee._length,kt=new Array(Et),xt=0;xtB.uf};if(S._hasPreCompStats){var Q=S[x],re=function(Ee){return E.d2c((S[Ee]||[])[_])},ie=1/0,oe=-1/0;for(_=0;_=B.q1&&B.q3>=B.med){var ce=re("lowerfence");B.lf=ce!==v&&ce<=B.q1?ce:s(B,W,j);var ye=re("upperfence");B.uf=ye!==v&&ye>=B.q3?ye:c(B,W,j);var de=re("mean");B.mean=de!==v?de:j?M.mean(W,j):(B.q1+B.q3)/2;var me=re("sd");B.sd=de!==v&&me>=0?me:j?M.stdev(W,j,B.mean):B.q3-B.q1,B.lo=h(B),B.uo=m(B);var pe=re("notchspan");pe=pe!==v&&pe>0?pe:w(B,j),B.ln=B.med-pe,B.un=B.med+pe;var xe=B.lf,Pe=B.uf;S.boxpoints&&W.length&&(xe=Math.min(xe,W[0]),Pe=Math.max(Pe,W[j-1])),S.notched&&(xe=Math.min(xe,B.ln),Pe=Math.max(Pe,B.un)),B.min=xe,B.max=Pe}else{var _e;M.warn(["Invalid input - make sure that q1 <= median <= q3","q1 = "+B.q1,"median = "+B.med,"q3 = "+B.q3].join(` +`)),_e=B.med!==v?B.med:B.q1!==v?B.q3!==v?(B.q1+B.q3)/2:B.q1:B.q3!==v?B.q3:0,B.med=_e,B.q1=B.q3=_e,B.lf=B.uf=_e,B.mean=B.sd=_e,B.ln=B.un=_e,B.min=B.max=_e}ie=Math.min(ie,B.min),oe=Math.max(oe,B.max),B.pts2=N.filter(X),z.push(B)}}S._extremes[E._id]=g.findExtremes(E,[ie,oe],{padded:!0})}else{var Me=E.makeCalcdata(S,x),Se=function(Ee,Ve){for(var $e=Ee.length,Ye=new Array($e+1),st=0;st<$e;st++)Ye[st]=Ee[st]-Ve;return Ye[$e]=Ee[$e-1]+Ve,Ye}(te,Z),Ce=te.length,ae=function(Ee){for(var Ve=new Array(Ee),$e=0;$e=0&&fe0){var je,ge;(B={}).pos=B[L]=te[_],N=B.pts=ae[_].sort(u),j=(W=B[x]=N.map(o)).length,B.min=W[0],B.max=W[j-1],B.mean=M.mean(W,j),B.sd=M.stdev(W,j,B.mean),B.med=M.interp(W,.5),j%2&&(Be||ze)?(Be?(je=W.slice(0,j/2),ge=W.slice(j/2+1)):ze&&(je=W.slice(0,j/2+1),ge=W.slice(j/2)),B.q1=M.interp(je,.5),B.q3=M.interp(ge,.5)):(B.q1=M.interp(W,.25),B.q3=M.interp(W,.75)),B.lf=s(B,W,j),B.uf=c(B,W,j),B.lo=h(B),B.uo=m(B);var we=w(B,j);B.ln=B.med-we,B.un=B.med+we,be=Math.min(be,B.ln),ke=Math.max(ke,B.un),B.pts2=N.filter(X),z.push(B)}S._extremes[E._id]=g.findExtremes(E,S.notched?Me.concat([be,ke]):Me,{padded:!0})}return function(Ee,Ve){if(M.isArrayOrTypedArray(Ve.selectedpoints))for(var $e=0;$e0?(z[0].t={num:R[F],dPos:Z,posLetter:L,valLetter:x,labels:{med:f(y,"median:"),min:f(y,"min:"),q1:f(y,"q1:"),q3:f(y,"q3:"),max:f(y,"max:"),mean:S.boxmean==="sd"?f(y,"mean ± σ:"):f(y,"mean:"),lf:f(y,"lower fence:"),uf:f(y,"upper fence:")}},R[F]++,z):[{t:{empty:!0}}]};var l={text:"tx",hovertext:"htx"};function a(y,S,_){for(var k in l)M.isArrayOrTypedArray(S[k])&&(Array.isArray(_)?M.isArrayOrTypedArray(S[k][_[0]])&&(y[l[k]]=S[k][_[0]][_[1]]):y[l[k]]=S[k][_])}function u(y,S){return y.v-S.v}function o(y){return y.v}function s(y,S,_){return _===0?y.q1:Math.min(y.q1,S[Math.min(M.findBin(2.5*y.q1-1.5*y.q3,S,!0)+1,_-1)])}function c(y,S,_){return _===0?y.q3:Math.max(y.q3,S[Math.max(M.findBin(2.5*y.q3-1.5*y.q1,S),0)])}function h(y){return 4*y.q1-3*y.q3}function m(y){return 4*y.q3-3*y.q1}function w(y,S){return S===0?0:1.57*(y.q3-y.q1)/Math.sqrt(S)}},37188:function(T,p,t){var d=t(89298),g=t(71828),i=t(99082).getAxisGroup,M=["v","h"];function v(f,l,a,u){var o,s,c,h=l.calcdata,m=l._fullLayout,w=u._id,y=w.charAt(0),S=[],_=0;for(o=0;o1,L=1-m[f+"gap"],b=1-m[f+"groupgap"];for(o=0;o0){var ue=N.pointpos,ce=N.jitter,ye=N.marker.size/2,de=0;ue+ce>=0&&((de=ie*(ue+ce))>F?(oe=!0,Q=ye,Z=de):de>ne&&(Q=ye,Z=F)),de<=F&&(Z=F);var me=0;ue-ce<=0&&((me=-ie*(ue-ce))>B?(oe=!0,re=ye,X=me):me>te&&(re=ye,X=B)),me<=B&&(X=B)}else Z=F,X=B;var pe=new Array(c.length);for(s=0;s0?(A="v",L=R>0?Math.min(O,I):Math.min(I)):R>0?(A="h",L=Math.min(O)):L=0;if(L){s._length=L;var j=c("orientation",A);s._hasPreCompStats?j==="v"&&R===0?(c("x0",0),c("dx",1)):j==="h"&&b===0&&(c("y0",0),c("dy",1)):j==="v"&&R===0?c("x0"):j==="h"&&b===0&&c("y0"),g.getComponentMethod("calendars","handleTraceDefaults")(o,s,["x","y"],h)}else s.visible=!1}function u(o,s,c,h){var m=h.prefix,w=d.coerce2(o,s,l,"marker.outliercolor"),y=c("marker.line.outliercolor"),S="outliers";s._hasPreCompStats?S="all":(w||y)&&(S="suspectedoutliers");var _=c(m+"points",S);_?(c("jitter",_==="all"?.3:0),c("pointpos",_==="all"?-1.5:0),c("marker.symbol"),c("marker.opacity"),c("marker.size"),c("marker.angle"),c("marker.color",s.line.color),c("marker.line.color"),c("marker.line.width"),_==="suspectedoutliers"&&(c("marker.line.outliercolor",s.marker.color),c("marker.line.outlierwidth")),c("selected.marker.color"),c("unselected.marker.color"),c("selected.marker.size"),c("unselected.marker.size"),c("text"),c("hovertext")):delete s.marker;var k=c("hoveron");k!=="all"&&k.indexOf("points")===-1||c("hovertemplate"),d.coerceSelectionMarkerOpacity(s,c)}T.exports={supplyDefaults:function(o,s,c,h){function m(x,A){return d.coerce(o,s,l,x,A)}if(a(o,s,m,h),s.visible!==!1){M(o,s,h,m),m("xhoverformat"),m("yhoverformat");var w=s._hasPreCompStats;w&&(m("lowerfence"),m("upperfence")),m("line.color",(o.marker||{}).color||c),m("line.width"),m("fillcolor",i.addOpacity(s.line.color,.5));var y=!1;if(w){var S=m("mean"),_=m("sd");S&&S.length&&(y=!0,_&&_.length&&(y="sd"))}m("boxmean",y),m("whiskerwidth"),m("width"),m("quartilemethod");var k=!1;if(w){var E=m("notchspan");E&&E.length&&(k=!0)}else d.validate(o.notchwidth,l.notchwidth)&&(k=!0);m("notched",k)&&m("notchwidth"),u(o,s,m,{prefix:"box"})}},crossTraceDefaults:function(o,s){var c,h;function m(S){return d.coerce(h._input,h,l,S)}for(var w=0;w_.lo&&(W.so=!0)}return x});S.enter().append("path").classed("point",!0),S.exit().remove(),S.call(i.translatePoints,s,c)}function f(l,a,u,o){var s,c,h=a.val,m=a.pos,w=!!m.rangebreaks,y=o.bPos,S=o.bPosPxOffset||0,_=u.boxmean||(u.meanline||{}).visible;Array.isArray(o.bdPos)?(s=o.bdPos[0],c=o.bdPos[1]):(s=o.bdPos,c=o.bdPos);var k=l.selectAll("path.mean").data(u.type==="box"&&u.boxmean||u.type==="violin"&&u.box.visible&&u.meanline.visible?g.identity:[]);k.enter().append("path").attr("class","mean").style({fill:"none","vector-effect":"non-scaling-stroke"}),k.exit().remove(),k.each(function(E){var x=m.c2l(E.pos+y,!0),A=m.l2p(x-s)+S,L=m.l2p(x+c)+S,b=w?(A+L)/2:m.l2p(x)+S,R=h.c2p(E.mean,!0),I=h.c2p(E.mean-E.sd,!0),O=h.c2p(E.mean+E.sd,!0);u.orientation==="h"?d.select(this).attr("d","M"+R+","+A+"V"+L+(_==="sd"?"m0,0L"+I+","+b+"L"+R+","+A+"L"+O+","+b+"Z":"")):d.select(this).attr("d","M"+A+","+R+"H"+L+(_==="sd"?"m0,0L"+b+","+I+"L"+A+","+R+"L"+b+","+O+"Z":""))})}T.exports={plot:function(l,a,u,o){var s=l._context.staticPlot,c=a.xaxis,h=a.yaxis;g.makeTraceGroups(o,u,"trace boxes").each(function(m){var w,y,S=d.select(this),_=m[0],k=_.t,E=_.trace;k.wdPos=k.bdPos*E.whiskerwidth,E.visible!==!0||k.empty?S.remove():(E.orientation==="h"?(w=h,y=c):(w=c,y=h),M(S,{pos:w,val:y},E,k,s),v(S,{x:c,y:h},E,k),f(S,{pos:w,val:y},E,k))})},plotBoxAndWhiskers:M,plotPoints:v,plotBoxMean:f}},24626:function(T){T.exports=function(p,t){var d,g,i=p.cd,M=p.xaxis,v=p.yaxis,f=[];if(t===!1)for(d=0;d=10)return null;for(var v=1/0,f=-1/0,l=i.length,a=0;a0?Math.floor:Math.ceil,j=B>0?Math.ceil:Math.floor,$=B>0?Math.min:Math.max,U=B>0?Math.max:Math.min,G=W(z+N),q=j(F-N),H=[[c=O(z)]];for(f=G;f*B=0;i--)M[u-i]=p[o][i],v[u-i]=t[o][i];for(f.push({x:M,y:v,bicubic:l}),i=o,M=[],v=[];i>=0;i--)M[o-i]=p[i][0],v[o-i]=t[i][0];return f.push({x:M,y:v,bicubic:a}),f}},20347:function(T,p,t){var d=t(89298),g=t(1426).extendFlat;T.exports=function(i,M,v){var f,l,a,u,o,s,c,h,m,w,y,S,_,k,E=i["_"+M],x=i[M+"axis"],A=x._gridlines=[],L=x._minorgridlines=[],b=x._boundarylines=[],R=i["_"+v],I=i[v+"axis"];x.tickmode==="array"&&(x.tickvals=E.slice());var O=i._xctrl,z=i._yctrl,F=O[0].length,B=O.length,N=i._a.length,W=i._b.length;d.prepTicks(x),x.tickmode==="array"&&delete x.tickvals;var j=x.smoothing?3:1;function $(G){var q,H,ne,te,Z,X,Q,re,ie,oe,ue,ce,ye=[],de=[],me={};if(M==="b")for(H=i.b2j(G),ne=Math.floor(Math.max(0,Math.min(W-2,H))),te=H-ne,me.length=W,me.crossLength=N,me.xy=function(pe){return i.evalxy([],pe,H)},me.dxy=function(pe,xe){return i.dxydi([],pe,ne,xe,te)},q=0;q0&&(ie=i.dxydi([],q-1,ne,0,te),ye.push(Z[0]+ie[0]/3),de.push(Z[1]+ie[1]/3),oe=i.dxydi([],q-1,ne,1,te),ye.push(re[0]-oe[0]/3),de.push(re[1]-oe[1]/3)),ye.push(re[0]),de.push(re[1]),Z=re;else for(q=i.a2i(G),X=Math.floor(Math.max(0,Math.min(N-2,q))),Q=q-X,me.length=N,me.crossLength=W,me.xy=function(pe){return i.evalxy([],q,pe)},me.dxy=function(pe,xe){return i.dxydj([],X,pe,Q,xe)},H=0;H0&&(ue=i.dxydj([],X,H-1,Q,0),ye.push(Z[0]+ue[0]/3),de.push(Z[1]+ue[1]/3),ce=i.dxydj([],X,H-1,Q,1),ye.push(re[0]-ce[0]/3),de.push(re[1]-ce[1]/3)),ye.push(re[0]),de.push(re[1]),Z=re;return me.axisLetter=M,me.axis=x,me.crossAxis=I,me.value=G,me.constvar=v,me.index=h,me.x=ye,me.y=de,me.smoothing=I.smoothing,me}function U(G){var q,H,ne,te,Z,X=[],Q=[],re={};if(re.length=E.length,re.crossLength=R.length,M==="b")for(ne=Math.max(0,Math.min(W-2,G)),Z=Math.min(1,Math.max(0,G-ne)),re.xy=function(ie){return i.evalxy([],ie,G)},re.dxy=function(ie,oe){return i.dxydi([],ie,ne,oe,Z)},q=0;qE.length-1||A.push(g(U(l),{color:x.gridcolor,width:x.gridwidth,dash:x.griddash}));for(h=s;hE.length-1||y<0||y>E.length-1))for(S=E[a],_=E[y],f=0;fE[E.length-1]||L.push(g($(w),{color:x.minorgridcolor,width:x.minorgridwidth,dash:x.minorgriddash}));x.startline&&b.push(g(U(0),{color:x.startlinecolor,width:x.startlinewidth})),x.endline&&b.push(g(U(E.length-1),{color:x.endlinecolor,width:x.endlinewidth}))}else{for(u=5e-15,s=(o=[Math.floor((E[E.length-1]-x.tick0)/x.dtick*(1+u)),Math.ceil((E[0]-x.tick0)/x.dtick/(1+u))].sort(function(G,q){return G-q}))[0],c=o[1],h=s;h<=c;h++)m=x.tick0+x.dtick*h,A.push(g($(m),{color:x.gridcolor,width:x.gridwidth,dash:x.griddash}));for(h=s-1;hE[E.length-1]||L.push(g($(w),{color:x.minorgridcolor,width:x.minorgridwidth,dash:x.minorgriddash}));x.startline&&b.push(g($(E[0]),{color:x.startlinecolor,width:x.startlinewidth})),x.endline&&b.push(g($(E[E.length-1]),{color:x.endlinecolor,width:x.endlinewidth}))}}},83311:function(T,p,t){var d=t(89298),g=t(1426).extendFlat;T.exports=function(i,M){var v,f,l,a=M._labels=[],u=M._gridlines;for(v=0;vi.length&&(g=g.slice(0,i.length)):g=[],v=0;v90&&(c-=180,l=-l),{angle:c,flip:l,p:p.c2p(g,t,d),offsetMultplier:a}}},89740:function(T,p,t){var d=t(39898),g=t(91424),i=t(27669),M=t(67961),v=t(11651),f=t(63893),l=t(71828),a=l.strRotate,u=l.strTranslate,o=t(18783);function s(y,S,_,k,E,x,A){var L="const-"+E+"-lines",b=_.selectAll("."+L).data(x);b.enter().append("path").classed(L,!0).style("vector-effect",A?"none":"non-scaling-stroke"),b.each(function(R){var I=R,O=I.x,z=I.y,F=i([],O,y.c2p),B=i([],z,S.c2p),N="M"+M(F,B,I.smoothing);d.select(this).attr("d",N).style("stroke-width",I.width).style("stroke",I.color).style("stroke-dasharray",g.dashStyle(I.dash,I.width)).style("fill","none")}),b.exit().remove()}function c(y,S,_,k,E,x,A,L){var b=x.selectAll("text."+L).data(A);b.enter().append("text").classed(L,!0);var R=0,I={};return b.each(function(O,z){var F;if(O.axis.tickangle==="auto")F=v(k,S,_,O.xy,O.dxy);else{var B=(O.axis.tickangle+180)*Math.PI/180;F=v(k,S,_,O.xy,[Math.cos(B),Math.sin(B)])}z||(I={angle:F.angle,flip:F.flip});var N=(O.endAnchor?-1:1)*F.flip,W=d.select(this).attr({"text-anchor":N>0?"start":"end","data-notex":1}).call(g.font,O.font).text(O.text).call(f.convertToTspans,y),j=g.bBox(this);W.attr("transform",u(F.p[0],F.p[1])+a(F.angle)+u(O.axis.labelpadding*N,.3*j.height)),R=Math.max(R,j.width+O.axis.labelpadding)}),b.exit().remove(),I.maxExtent=R,I}T.exports=function(y,S,_,k){var E=y._context.staticPlot,x=S.xaxis,A=S.yaxis,L=y._fullLayout._clips;l.makeTraceGroups(k,_,"trace").each(function(b){var R=d.select(this),I=b[0],O=I.trace,z=O.aaxis,F=O.baxis,B=l.ensureSingle(R,"g","minorlayer"),N=l.ensureSingle(R,"g","majorlayer"),W=l.ensureSingle(R,"g","boundarylayer"),j=l.ensureSingle(R,"g","labellayer");R.style("opacity",O.opacity),s(x,A,N,0,"a",z._gridlines,!0),s(x,A,N,0,"b",F._gridlines,!0),s(x,A,B,0,"a",z._minorgridlines,!0),s(x,A,B,0,"b",F._minorgridlines,!0),s(x,A,W,0,"a-boundary",z._boundarylines,E),s(x,A,W,0,"b-boundary",F._boundarylines,E);var $=c(y,x,A,O,0,j,z._labels,"a-label"),U=c(y,x,A,O,0,j,F._labels,"b-label");(function(G,q,H,ne,te,Z,X,Q){var re,ie,oe,ue,ce=l.aggNums(Math.min,null,H.a),ye=l.aggNums(Math.max,null,H.a),de=l.aggNums(Math.min,null,H.b),me=l.aggNums(Math.max,null,H.b);re=.5*(ce+ye),ie=de,oe=H.ab2xy(re,ie,!0),ue=H.dxyda_rough(re,ie),X.angle===void 0&&l.extendFlat(X,v(H,te,Z,oe,H.dxydb_rough(re,ie))),w(G,q,H,0,oe,ue,H.aaxis,te,Z,X,"a-title"),re=ce,ie=.5*(de+me),oe=H.ab2xy(re,ie,!0),ue=H.dxydb_rough(re,ie),Q.angle===void 0&&l.extendFlat(Q,v(H,te,Z,oe,H.dxyda_rough(re,ie))),w(G,q,H,0,oe,ue,H.baxis,te,Z,Q,"b-title")})(y,j,O,0,x,A,$,U),function(G,q,H,ne,te){var Z,X,Q,re,ie=H.select("#"+G._clipPathId);ie.size()||(ie=H.append("clipPath").classed("carpetclip",!0));var oe=l.ensureSingle(ie,"path","carpetboundary"),ue=q.clipsegments,ce=[];for(re=0;re90&&W<270,$=d.select(this);$.text(A.title.text).call(f.convertToTspans,y),j&&(F=(-f.lineCount($)+m)*h*N-F),$.attr("transform",u(B.p[0],B.p[1])+a(B.angle)+u(0,F)).attr("text-anchor","middle").call(g.font,A.title.font)}),z.exit().remove()}},11435:function(T,p,t){var d=t(35509),g=t(65888).findBin,i=t(45664),M=t(20349),v=t(54495),f=t(73057);T.exports=function(l){var a=l._a,u=l._b,o=a.length,s=u.length,c=l.aaxis,h=l.baxis,m=a[0],w=a[o-1],y=u[0],S=u[s-1],_=a[a.length-1]-a[0],k=u[u.length-1]-u[0],E=_*d.RELATIVE_CULL_TOLERANCE,x=k*d.RELATIVE_CULL_TOLERANCE;m-=E,w+=E,y-=x,S+=x,l.isVisible=function(A,L){return A>m&&Ay&&Lw||LS},l.setScale=function(){var A=l._x,L=l._y,b=i(l._xctrl,l._yctrl,A,L,c.smoothing,h.smoothing);l._xctrl=b[0],l._yctrl=b[1],l.evalxy=M([l._xctrl,l._yctrl],o,s,c.smoothing,h.smoothing),l.dxydi=v([l._xctrl,l._yctrl],c.smoothing,h.smoothing),l.dxydj=f([l._xctrl,l._yctrl],c.smoothing,h.smoothing)},l.i2a=function(A){var L=Math.max(0,Math.floor(A[0]),o-2),b=A[0]-L;return(1-b)*a[L]+b*a[L+1]},l.j2b=function(A){var L=Math.max(0,Math.floor(A[1]),o-2),b=A[1]-L;return(1-b)*u[L]+b*u[L+1]},l.ij2ab=function(A){return[l.i2a(A[0]),l.j2b(A[1])]},l.a2i=function(A){var L=Math.max(0,Math.min(g(A,a),o-2)),b=a[L],R=a[L+1];return Math.max(0,Math.min(o-1,L+(A-b)/(R-b)))},l.b2j=function(A){var L=Math.max(0,Math.min(g(A,u),s-2)),b=u[L],R=u[L+1];return Math.max(0,Math.min(s-1,L+(A-b)/(R-b)))},l.ab2ij=function(A){return[l.a2i(A[0]),l.b2j(A[1])]},l.i2c=function(A,L){return l.evalxy([],A,L)},l.ab2xy=function(A,L,b){if(!b&&(Aa[o-1]|Lu[s-1]))return[!1,!1];var R=l.a2i(A),I=l.b2j(L),O=l.evalxy([],R,I);if(b){var z,F,B,N,W=0,j=0,$=[];Aa[o-1]?(z=o-2,F=1,W=(A-a[o-1])/(a[o-1]-a[o-2])):F=R-(z=Math.max(0,Math.min(o-2,Math.floor(R)))),Lu[s-1]?(B=s-2,N=1,j=(L-u[s-1])/(u[s-1]-u[s-2])):N=I-(B=Math.max(0,Math.min(s-2,Math.floor(I)))),W&&(l.dxydi($,z,B,F,N),O[0]+=$[0]*W,O[1]+=$[1]*W),j&&(l.dxydj($,z,B,F,N),O[0]+=$[0]*j,O[1]+=$[1]*j)}return O},l.c2p=function(A,L,b){return[L.c2p(A[0]),b.c2p(A[1])]},l.p2x=function(A,L,b){return[L.p2c(A[0]),b.p2c(A[1])]},l.dadi=function(A){var L=Math.max(0,Math.min(a.length-2,A));return a[L+1]-a[L]},l.dbdj=function(A){var L=Math.max(0,Math.min(u.length-2,A));return u[L+1]-u[L]},l.dxyda=function(A,L,b,R){var I=l.dxydi(null,A,L,b,R),O=l.dadi(A,b);return[I[0]/O,I[1]/O]},l.dxydb=function(A,L,b,R){var I=l.dxydj(null,A,L,b,R),O=l.dbdj(L,R);return[I[0]/O,I[1]/O]},l.dxyda_rough=function(A,L,b){var R=_*(b||.1),I=l.ab2xy(A+R,L,!0),O=l.ab2xy(A-R,L,!0);return[.5*(I[0]-O[0])/R,.5*(I[1]-O[1])/R]},l.dxydb_rough=function(A,L,b){var R=k*(b||.1),I=l.ab2xy(A,L+R,!0),O=l.ab2xy(A,L-R,!0);return[.5*(I[0]-O[0])/R,.5*(I[1]-O[1])/R]},l.dpdx=function(A){return A._m},l.dpdy=function(A){return A._m}}},72505:function(T,p,t){var d=t(71828);T.exports=function(g,i,M){var v,f,l,a=[],u=[],o=g[0].length,s=g.length;function c(G,q){var H,ne=0,te=0;return G>0&&(H=g[q][G-1])!==void 0&&(te++,ne+=H),G0&&(H=g[q-1][G])!==void 0&&(te++,ne+=H),q0&&f0&&v1e-5);return d.log("Smoother converged to",R,"after",I,"iterations"),g}},19237:function(T,p,t){var d=t(71828).isArray1D;T.exports=function(g,i,M){var v=M("x"),f=v&&v.length,l=M("y"),a=l&&l.length;if(!f&&!a)return!1;if(i._cheater=!v,f&&!d(v)||a&&!d(l))i._length=null;else{var u=f?v.length:1/0;a&&(u=Math.min(u,l.length)),i.a&&i.a.length&&(u=Math.min(u,i.a.length)),i.b&&i.b.length&&(u=Math.min(u,i.b.length)),i._length=u}return!0}},69568:function(T,p,t){var d=t(5386).fF,g=t(19316),i=t(50693),M=t(9012),v=t(22399).defaultLine,f=t(1426).extendFlat,l=g.marker.line;T.exports=f({locations:{valType:"data_array",editType:"calc"},locationmode:g.locationmode,z:{valType:"data_array",editType:"calc"},geojson:f({},g.geojson,{}),featureidkey:g.featureidkey,text:f({},g.text,{}),hovertext:f({},g.hovertext,{}),marker:{line:{color:f({},l.color,{dflt:v}),width:f({},l.width,{dflt:1}),editType:"calc"},opacity:{valType:"number",arrayOk:!0,min:0,max:1,dflt:1,editType:"style"},editType:"calc"},selected:{marker:{opacity:g.selected.marker.opacity,editType:"plot"},editType:"plot"},unselected:{marker:{opacity:g.unselected.marker.opacity,editType:"plot"},editType:"plot"},hoverinfo:f({},M.hoverinfo,{editType:"calc",flags:["location","z","text","name"]}),hovertemplate:d(),showlegend:f({},M.showlegend,{dflt:!1})},i("",{cLetter:"z",editTypeOverride:"calc"}))},38675:function(T,p,t){var d=t(92770),g=t(50606).BADNUM,i=t(78803),M=t(75225),v=t(66279);function f(l){return l&&typeof l=="string"}T.exports=function(l,a){var u,o=a._length,s=new Array(o);u=a.geojson?function(y){return f(y)||d(y)}:f;for(var c=0;c")}}(M,c,l),[M]}},51319:function(T,p,t){T.exports={attributes:t(69568),supplyDefaults:t(61869),colorbar:t(61243),calc:t(38675),calcGeoJSON:t(99841).calcGeoJSON,plot:t(99841).plot,style:t(99636).style,styleOnSelect:t(99636).styleOnSelect,hoverPoints:t(42300),eventData:t(92069),selectPoints:t(81253),moduleType:"trace",name:"choropleth",basePlotModule:t(44622),categories:["geo","noOpacity","showLegend"],meta:{}}},99841:function(T,p,t){var d=t(39898),g=t(71828),i=t(41327),M=t(90973).getTopojsonFeatures,v=t(71739).findExtremes,f=t(99636).style;T.exports={calcGeoJSON:function(l,a){for(var u=l[0].trace,o=a[u.geo],s=o._subplot,c=u.locationmode,h=u._length,m=c==="geojson-id"?i.extractTraceFeature(l):M(u,s.topojson),w=[],y=[],S=0;S=0;M--){var v=i[M].id;if(typeof v=="string"&&v.indexOf("water")===0){for(var f=M+1;f=0;a--)f.removeLayer(l[a][1])},v.dispose=function(){var f=this.subplot.map;this._removeLayers(),f.removeSource(this.sourceId)},T.exports=function(f,l){var a=l[0].trace,u=new M(f,a.uid),o=u.sourceId,s=d(l),c=u.below=f.belowLookup["trace-"+a.uid];return f.map.addSource(o,{type:"geojson",data:s.geojson}),u._addLayers(s,c),l[0].trace._glTrace=u,u}},12674:function(T,p,t){var d=t(50693),g=t(12663).axisHoverFormat,i=t(5386).fF,M=t(2418),v=t(9012),f=t(1426).extendFlat,l={x:{valType:"data_array",editType:"calc+clearAxisTypes"},y:{valType:"data_array",editType:"calc+clearAxisTypes"},z:{valType:"data_array",editType:"calc+clearAxisTypes"},u:{valType:"data_array",editType:"calc"},v:{valType:"data_array",editType:"calc"},w:{valType:"data_array",editType:"calc"},sizemode:{valType:"enumerated",values:["scaled","absolute"],editType:"calc",dflt:"scaled"},sizeref:{valType:"number",editType:"calc",min:0},anchor:{valType:"enumerated",editType:"calc",values:["tip","tail","cm","center"],dflt:"cm"},text:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertemplate:i({editType:"calc"},{keys:["norm"]}),uhoverformat:g("u",1),vhoverformat:g("v",1),whoverformat:g("w",1),xhoverformat:g("x"),yhoverformat:g("y"),zhoverformat:g("z"),showlegend:f({},v.showlegend,{dflt:!1})};f(l,d("",{colorAttr:"u/v/w norm",showScaleDflt:!0,editTypeOverride:"calc"})),["opacity","lightposition","lighting"].forEach(function(a){l[a]=M[a]}),l.hoverinfo=f({},v.hoverinfo,{editType:"calc",flags:["x","y","z","u","v","w","norm","text","name"],dflt:"x+y+z+norm+text+name"}),l.transforms=void 0,T.exports=l},31371:function(T,p,t){var d=t(78803);T.exports=function(g,i){for(var M=i.u,v=i.v,f=i.w,l=Math.min(i.x.length,i.y.length,i.z.length,M.length,v.length,f.length),a=-1/0,u=1/0,o=0;ov.level||v.starts.length&&M===v.level)}break;case"constraint":if(g.prefixBoundary=!1,g.edgepaths.length)return;var f=g.x.length,l=g.y.length,a=-1/0,u=1/0;for(d=0;d":c>a&&(g.prefixBoundary=!0);break;case"<":(ca||g.starts.length&&s===u)&&(g.prefixBoundary=!0);break;case"][":o=Math.min(c[0],c[1]),s=Math.max(c[0],c[1]),oa&&(g.prefixBoundary=!0)}}}},90654:function(T,p,t){var d=t(21081),g=t(86068),i=t(53572);T.exports={min:"zmin",max:"zmax",calc:function(M,v,f){var l=v.contours,a=v.line,u=l.size||1,o=l.coloring,s=g(v,{isColorbar:!0});if(o==="heatmap"){var c=d.extractOpts(v);f._fillgradient=c.reversescale?d.flipScale(c.colorscale):c.colorscale,f._zrange=[c.min,c.max]}else o==="fill"&&(f._fillcolor=s);f._line={color:o==="lines"?s:a.color,width:l.showlines!==!1?a.width:0,dash:a.dash},f._levels={start:l.start,end:i(l),size:u}}}},36914:function(T){T.exports={BOTTOMSTART:[1,9,13,104,713],TOPSTART:[4,6,7,104,713],LEFTSTART:[8,12,14,208,1114],RIGHTSTART:[2,3,11,208,1114],NEWDELTA:[null,[-1,0],[0,-1],[-1,0],[1,0],null,[0,-1],[-1,0],[0,1],[0,1],null,[0,1],[1,0],[1,0],[0,-1]],CHOOSESADDLE:{104:[4,1],208:[2,8],713:[7,13],1114:[11,14]},SADDLEREMAINDER:{1:4,2:8,4:1,7:13,8:2,11:14,13:7,14:11},LABELDISTANCE:2,LABELINCREASE:10,LABELMIN:3,LABELMAX:10,LABELOPTIMIZER:{EDGECOST:1,ANGLECOST:1,NEIGHBORCOST:5,SAMELEVELFACTOR:10,SAMELEVELDISTANCE:5,MAXCOST:100,INITIALSEARCHPOINTS:10,ITERATIONS:5}}},83179:function(T,p,t){var d=t(92770),g=t(14523),i=t(7901),M=i.addOpacity,v=i.opacity,f=t(74808),l=f.CONSTRAINT_REDUCTION,a=f.COMPARISON_OPS2;T.exports=function(u,o,s,c,h,m){var w,y,S,_=o.contours,k=s("contours.operation");_._operation=l[k],function(E,x){var A;a.indexOf(x.operation)===-1?(E("contours.value",[0,1]),Array.isArray(x.value)?x.value.length>2?x.value=x.value.slice(2):x.length===0?x.value=[0,1]:x.length<2?(A=parseFloat(x.value[0]),x.value=[A,A+1]):x.value=[parseFloat(x.value[0]),parseFloat(x.value[1])]:d(x.value)&&(A=parseFloat(x.value),x.value=[A,A+1])):(E("contours.value",0),d(x.value)||(Array.isArray(x.value)?x.value=parseFloat(x.value[0]):x.value=0))}(s,_),k==="="?w=_.showlines=!0:(w=s("contours.showlines"),S=s("fillcolor",M((u.line||{}).color||h,.5))),w&&(y=s("line.color",S&&v(S)?M(o.fillcolor,1):h),s("line.width",2),s("line.dash")),s("line.smoothing"),g(s,c,y,m)}},64237:function(T,p,t){var d=t(74808),g=t(92770);function i(f,l){var a,u=Array.isArray(l);function o(s){return g(s)?+s:null}return d.COMPARISON_OPS2.indexOf(f)!==-1?a=o(u?l[0]:l):d.INTERVAL_OPS.indexOf(f)!==-1?a=u?[o(l[0]),o(l[1])]:[o(l),o(l)]:d.SET_OPS.indexOf(f)!==-1&&(a=u?l.map(o):[o(l)]),a}function M(f){return function(l){l=i(f,l);var a=Math.min(l[0],l[1]),u=Math.max(l[0],l[1]);return{start:a,end:u,size:u-a}}}function v(f){return function(l){return{start:l=i(f,l),end:1/0,size:1/0}}}T.exports={"[]":M("[]"),"][":M("]["),">":v(">"),"<":v("<"),"=":v("=")}},67217:function(T){T.exports=function(p,t,d,g){var i=g("contours.start"),M=g("contours.end"),v=i===!1||M===!1,f=d("contours.size");!(v?t.autocontour=!0:d("autocontour",!1))&&f||d("ncontours")}},84857:function(T,p,t){var d=t(71828);function g(i){return d.extendFlat({},i,{edgepaths:d.extendDeep([],i.edgepaths),paths:d.extendDeep([],i.paths),starts:d.extendDeep([],i.starts)})}T.exports=function(i,M){var v,f,l,a=function(s){return s.reverse()},u=function(s){return s};switch(M){case"=":case"<":return i;case">":for(i.length!==1&&d.warn("Contour data invalid for the specified inequality operation."),f=i[0],v=0;v1e3){d.warn("Too many contours, clipping at 1000",M);break}return u}},53572:function(T){T.exports=function(p){return p.end+p.size/1e6}},81696:function(T,p,t){var d=t(71828),g=t(36914);function i(f,l,a,u){return Math.abs(f[0]-l[0])20&&oe?ie===208||ie===1114?ce=ue[0]===0?1:-1:ye=ue[1]===0?1:-1:g.BOTTOMSTART.indexOf(ie)!==-1?ye=1:g.LEFTSTART.indexOf(ie)!==-1?ce=1:g.TOPSTART.indexOf(ie)!==-1?ye=-1:ce=-1,[ce,ye]}(h,a,l),w=[v(f,l,[-m[0],-m[1]])],y=f.z.length,S=f.z[0].length,_=l.slice(),k=m.slice();for(s=0;s<1e4;s++){if(h>20?(h=g.CHOOSESADDLE[h][(m[0]||m[1])<0?0:1],f.crossings[c]=g.SADDLEREMAINDER[h]):delete f.crossings[c],!(m=g.NEWDELTA[h])){d.log("Found bad marching index:",h,l,f.level);break}w.push(v(f,l,m)),l[0]+=m[0],l[1]+=m[1],c=l.join(","),i(w[w.length-1],w[w.length-2],u,o)&&w.pop();var E=m[0]&&(l[0]<0||l[0]>S-2)||m[1]&&(l[1]<0||l[1]>y-2);if(l[0]===_[0]&&l[1]===_[1]&&m[0]===k[0]&&m[1]===k[1]||a&&E)break;h=f.crossings[c]}s===1e4&&d.log("Infinite loop in contour?");var x,A,L,b,R,I,O,z,F,B,N,W,j,$,U,G=i(w[0],w[w.length-1],u,o),q=0,H=.2*f.smoothing,ne=[],te=0;for(s=1;s=te;s--)if((x=ne[s])=te&&x+ne[A]z&&F--,f.edgepaths[F]=N.concat(w,B));break}re||(f.edgepaths[z]=w.concat(B))}for(z=0;zi?0:1)+(M[0][1]>i?0:2)+(M[1][1]>i?0:4)+(M[1][0]>i?0:8);return v===5||v===10?i>(M[0][0]+M[0][1]+M[1][0]+M[1][1])/4?v===5?713:1114:v===5?104:208:v===15?0:v}T.exports=function(i){var M,v,f,l,a,u,o,s,c,h=i[0].z,m=h.length,w=h[0].length,y=m===2||w===2;for(v=0;v=0&&(A=U,b=R):Math.abs(x[1]-A[1])<.01?Math.abs(x[1]-U[1])<.01&&(U[0]-x[0])*(A[0]-U[0])>=0&&(A=U,b=R):g.log("endpt to newendpt is not vert. or horz.",x,A,U)}if(x=A,b>=0)break;z+="L"+A}if(b===k.edgepaths.length){g.log("unclosed perimeter path");break}F=b,(N=B.indexOf(F)===-1)&&(F=B[0],z+="Z")}for(F=0;FA.center?A.right-R:R-A.left)/(z+Math.abs(Math.sin(O)*b)),N=(I>A.middle?A.bottom-I:I-A.top)/(Math.abs(F)+Math.cos(O)*b);if(B<1||N<1)return 1/0;var W=w.EDGECOST*(1/(B-1)+1/(N-1));W+=w.ANGLECOST*O*O;for(var j=R-z,$=I-F,U=R+z,G=I+F,q=0;q2*w.MAXCOST)break;N&&(R/=2),I=(b=O-R/2)+1.5*R}if(B<=w.MAXCOST)return z},p.addLabelData=function(k,E,x,A){var L=E.fontSize,b=E.width+L/3,R=Math.max(0,E.height-L/3),I=k.x,O=k.y,z=k.theta,F=Math.sin(z),B=Math.cos(z),N=function(j,$){return[I+j*B-$*F,O+j*F+$*B]},W=[N(-b/2,-R/2),N(-b/2,R/2),N(b/2,R/2),N(b/2,-R/2)];x.push({text:E.text,x:I,y:O,dy:E.dy,theta:z,level:E.level,width:b,height:R}),A.push(W)},p.drawLabels=function(k,E,x,A,L){var b=k.selectAll("text").data(E,function(O){return O.text+","+O.x+","+O.y+","+O.theta});if(b.exit().remove(),b.enter().append("text").attr({"data-notex":1,"text-anchor":"middle"}).each(function(O){var z=O.x+Math.sin(O.theta)*O.dy,F=O.y-Math.cos(O.theta)*O.dy;d.select(this).text(O.text).attr({x:z,y:F,transform:"rotate("+180*O.theta/Math.PI+" "+z+" "+F+")"}).call(v.convertToTspans,x)}),L){for(var R="",I=0;If.end&&(f.start=f.end=(f.start+f.end)/2),M._input.contours||(M._input.contours={}),g.extendFlat(M._input.contours,{start:f.start,end:f.end,size:f.size}),M._input.autocontour=!0}else if(f.type!=="constraint"){var o,s=f.start,c=f.end,h=M._input.contours;s>c&&(f.start=h.start=c,c=f.end=h.end=s,s=f.start),f.size>0||(o=s===c?1:i(s,c,M.ncontours).dtick,h.size=f.size=o)}}},84426:function(T,p,t){var d=t(39898),g=t(91424),i=t(70035),M=t(86068);T.exports=function(v){var f=d.select(v).selectAll("g.contour");f.style("opacity",function(l){return l[0].trace.opacity}),f.each(function(l){var a=d.select(this),u=l[0].trace,o=u.contours,s=u.line,c=o.size||1,h=o.start,m=o.type==="constraint",w=!m&&o.coloring==="lines",y=!m&&o.coloring==="fill",S=w||y?M(u):null;a.selectAll("g.contourlevel").each(function(E){d.select(this).selectAll("path").call(g.lineGroupStyle,s.width,w?S(E.level):s.color,s.dash)});var _=o.labelfont;if(a.selectAll("g.contourlabels text").each(function(E){g.font(d.select(this),{family:_.family,size:_.size,color:_.color||(w?S(E.level):s.color)})}),m)a.selectAll("g.contourfill path").style("fill",u.fillcolor);else if(y){var k;a.selectAll("g.contourfill path").style("fill",function(E){return k===void 0&&(k=E.level),S(E.level+.5*c)}),k===void 0&&(k=h),a.selectAll("g.contourbg path").style("fill",S(k-.5*c))}}),i(v)}},8724:function(T,p,t){var d=t(1586),g=t(14523);T.exports=function(i,M,v,f,l){var a,u=v("contours.coloring"),o="";u==="fill"&&(a=v("contours.showlines")),a!==!1&&(u!=="lines"&&(o=v("line.color","#000")),v("line.width",.5),v("line.dash")),u!=="none"&&(i.showlegend!==!0&&(M.showlegend=!1),M._dfltShowLegend=!1,d(i,M,f,v,{prefix:"",cLetter:"z"})),v("line.smoothing"),g(v,f,o,l)}},88085:function(T,p,t){var d=t(21606),g=t(70600),i=t(50693),M=t(1426).extendFlat,v=g.contours;T.exports=M({carpet:{valType:"string",editType:"calc"},z:d.z,a:d.x,a0:d.x0,da:d.dx,b:d.y,b0:d.y0,db:d.dy,text:d.text,hovertext:d.hovertext,transpose:d.transpose,atype:d.xtype,btype:d.ytype,fillcolor:g.fillcolor,autocontour:g.autocontour,ncontours:g.ncontours,contours:{type:v.type,start:v.start,end:v.end,size:v.size,coloring:{valType:"enumerated",values:["fill","lines","none"],dflt:"fill",editType:"calc"},showlines:v.showlines,showlabels:v.showlabels,labelfont:v.labelfont,labelformat:v.labelformat,operation:v.operation,value:v.value,editType:"calc",impliedEdits:{autocontour:!1}},line:{color:g.line.color,width:g.line.width,dash:g.line.dash,smoothing:g.line.smoothing,editType:"plot"},transforms:void 0},i("",{cLetter:"z",autoColorDflt:!1}))},59885:function(T,p,t){var d=t(78803),g=t(71828),i=t(68296),M=t(4742),v=t(824),f=t(43907),l=t(70769),a=t(75005),u=t(22882),o=t(18670);T.exports=function(s,c){var h=c._carpetTrace=u(s,c);if(h&&h.visible&&h.visible!=="legendonly"){if(!c.a||!c.b){var m=s.data[h.index],w=s.data[c.index];w.a||(w.a=m.a),w.b||(w.b=m.b),a(w,c,c._defaultColor,s._fullLayout)}var y=function(S,_){var k,E,x,A,L,b,R,I=_._carpetTrace,O=I.aaxis,z=I.baxis;O._minDtick=0,z._minDtick=0,g.isArray1D(_.z)&&i(_,O,z,"a","b",["z"]),k=_._a=_._a||_.a,A=_._b=_._b||_.b,k=k?O.makeCalcdata(_,"_a"):[],A=A?z.makeCalcdata(_,"_b"):[],E=_.a0||0,x=_.da||1,L=_.b0||0,b=_.db||1,R=_._z=M(_._z||_.z,_.transpose),_._emptypoints=f(R),v(R,_._emptypoints);var F=g.maxRowLength(R),B=_.xtype==="scaled"?"":k,N=l(_,B,E,x,F,O),W=_.ytype==="scaled"?"":A,j={a:N,b:l(_,W,L,b,R.length,z),z:R};return _.contours.type==="levels"&&_.contours.coloring!=="none"&&d(S,_,{vals:R,containerStr:"",cLetter:"z"}),[j]}(s,c);return o(c,c._z),y}}},75005:function(T,p,t){var d=t(71828),g=t(67684),i=t(88085),M=t(83179),v=t(67217),f=t(8724);T.exports=function(l,a,u,o){function s(c,h){return d.coerce(l,a,i,c,h)}if(s("carpet"),l.a&&l.b){if(!g(l,a,s,o,"a","b"))return void(a.visible=!1);s("text"),s("contours.type")==="constraint"?M(l,a,s,o,u,{hasHover:!1}):(v(l,a,s,function(c){return d.coerce2(l,a,i,c)}),f(l,a,s,o,{hasHover:!1}))}else a._defaultColor=u,a._length=null}},93740:function(T,p,t){T.exports={attributes:t(88085),supplyDefaults:t(75005),colorbar:t(90654),calc:t(59885),plot:t(51048),style:t(84426),moduleType:"trace",name:"contourcarpet",basePlotModule:t(93612),categories:["cartesian","svg","carpet","contour","symbols","showLegend","hasLines","carpetDependent","noHover","noSortingByValue"],meta:{}}},51048:function(T,p,t){var d=t(39898),g=t(27669),i=t(67961),M=t(91424),v=t(71828),f=t(87678),l=t(81696),a=t(29854),u=t(36914),o=t(84857),s=t(87558),c=t(20083),h=t(22882),m=t(4536);function w(_,k,E){var x=_.getPointAtLength(k),A=_.getPointAtLength(E),L=A.x-x.x,b=A.y-x.y,R=Math.sqrt(L*L+b*b);return[L/R,b/R]}function y(_){var k=Math.sqrt(_[0]*_[0]+_[1]*_[1]);return[_[0]/k,_[1]/k]}function S(_,k){var E=Math.abs(_[0]*k[0]+_[1]*k[1]);return Math.sqrt(1-E*E)/E}T.exports=function(_,k,E,x){var A=k.xaxis,L=k.yaxis;v.makeTraceGroups(x,E,"contour").each(function(b){var R=d.select(this),I=b[0],O=I.trace,z=O._carpetTrace=h(_,O),F=_.calcdata[z.index][0];if(z.visible&&z.visible!=="legendonly"){var B=I.a,N=I.b,W=O.contours,j=s(W,k,I),$=W.type==="constraint",U=W._operation,G=$?U==="="?"lines":"fill":W.coloring,q=[[B[0],N[N.length-1]],[B[B.length-1],N[N.length-1]],[B[B.length-1],N[0]],[B[0],N[0]]];f(j);var H=1e-8*(B[B.length-1]-B[0]),ne=1e-8*(N[N.length-1]-N[0]);l(j,H,ne);var te,Z,X,Q,re=j;W.type==="constraint"&&(re=o(j,U)),function(ce,ye){var de,me,pe,xe,Pe,_e,Me,Se,Ce;for(de=0;de=0;Q--)te=F.clipsegments[Q],Z=g([],te.x,A.c2p),X=g([],te.y,L.c2p),Z.reverse(),X.reverse(),ie.push(i(Z,X,te.bicubic));var oe="M"+ie.join("L")+"Z";(function(ce,ye,de,me,pe,xe){var Pe,_e,Me,Se,Ce=v.ensureSingle(ce,"g","contourbg").selectAll("path").data(xe!=="fill"||pe?[]:[0]);Ce.enter().append("path"),Ce.exit().remove();var ae=[];for(Se=0;Se=0&&(st=ft,ht=bt):Math.abs(Ye[1]-st[1])=0&&(st=ft,ht=bt):v.log("endpt to newendpt is not vert. or horz.",Ye,st,ft)}if(ht>=0)break;kt+=qe(Ye,st),Ye=st}if(ht===Be.edgepaths.length){v.log("unclosed perimeter path");break}$e=ht,(Ft=xt.indexOf($e)===-1)&&($e=xt[0],kt+=qe(Ye,st)+"Z",Ye=null)}for($e=0;$eLt&&(Ke.max=Lt),Ke.len=Ke.max-Ke.min}function yt(Pt,wt){var Rt,Nt=0,Yt=.1;return(Math.abs(Pt[0]-Re)0?+m[s]:0),c.push({type:"Feature",geometry:{type:"Point",coordinates:_},properties:k})}}var x=M.extractOpts(a),A=x.reversescale?M.flipScale(x.colorscale):x.colorscale,L=A[0][1],b=["interpolate",["linear"],["heatmap-density"],0,i.opacity(L)<1?L:i.addOpacity(L,0)];for(s=1;s=0;l--)v.removeLayer(f[l][1])},M.dispose=function(){var v=this.subplot.map;this._removeLayers(),v.removeSource(this.sourceId)},T.exports=function(v,f){var l=f[0].trace,a=new i(v,l.uid),u=a.sourceId,o=d(f),s=a.below=v.belowLookup["trace-"+l.uid];return v.map.addSource(u,{type:"geojson",data:o.geojson}),a._addLayers(o,s),a}},49789:function(T,p,t){var d=t(71828);T.exports=function(g,i){for(var M=0;M"),u.color=function(k,E){var x=k.marker,A=E.mc||x.color,L=E.mlc||x.line.color,b=E.mlw||x.line.width;return d(A)?A:d(L)&&b?L:void 0}(s,h),[u]}}},51759:function(T,p,t){T.exports={attributes:t(1285),layoutAttributes:t(10440),supplyDefaults:t(26199).supplyDefaults,crossTraceDefaults:t(26199).crossTraceDefaults,supplyLayoutDefaults:t(93138),calc:t(9532),crossTraceCalc:t(8984),plot:t(80461),style:t(68266).style,hoverPoints:t(63341),eventData:t(34598),selectPoints:t(81974),moduleType:"trace",name:"funnel",basePlotModule:t(93612),categories:["bar-like","cartesian","svg","oriented","showLegend","zoomScale"],meta:{}}},10440:function(T){T.exports={funnelmode:{valType:"enumerated",values:["stack","group","overlay"],dflt:"stack",editType:"calc"},funnelgap:{valType:"number",min:0,max:1,editType:"calc"},funnelgroupgap:{valType:"number",min:0,max:1,dflt:0,editType:"calc"}}},93138:function(T,p,t){var d=t(71828),g=t(10440);T.exports=function(i,M,v){var f=!1;function l(o,s){return d.coerce(i,M,g,o,s)}for(var a=0;a path").each(function(w){if(!w.isBlank){var y=m.marker;d.select(this).call(i.fill,w.mc||y.color).call(i.stroke,w.mlc||y.line.color).call(g.dashLine,y.line.dash,w.mlw||y.line.width).style("opacity",m.selectedpoints&&!w.selected?M:1)}}),l(h,m,a),h.selectAll(".regions").each(function(){d.select(this).selectAll("path").style("stroke-width",0).call(i.fill,m.connector.fillcolor)}),h.selectAll(".lines").each(function(){var w=m.connector.line;g.lineGroupStyle(d.select(this).selectAll("path"),w.width,w.color,w.dash)})})}}},86807:function(T,p,t){var d=t(34e3),g=t(9012),i=t(27670).Y,M=t(5386).fF,v=t(5386).si,f=t(1426).extendFlat;T.exports={labels:d.labels,label0:d.label0,dlabel:d.dlabel,values:d.values,marker:{colors:d.marker.colors,line:{color:f({},d.marker.line.color,{dflt:null}),width:f({},d.marker.line.width,{dflt:1}),editType:"calc"},editType:"calc"},text:d.text,hovertext:d.hovertext,scalegroup:f({},d.scalegroup,{}),textinfo:f({},d.textinfo,{flags:["label","text","value","percent"]}),texttemplate:v({editType:"plot"},{keys:["label","color","value","text","percent"]}),hoverinfo:f({},g.hoverinfo,{flags:["label","text","value","percent","name"]}),hovertemplate:M({},{keys:["label","color","value","text","percent"]}),textposition:f({},d.textposition,{values:["inside","none"],dflt:"inside"}),textfont:d.textfont,insidetextfont:d.insidetextfont,title:{text:d.title.text,font:d.title.font,position:f({},d.title.position,{values:["top left","top center","top right"],dflt:"top center"}),editType:"plot"},domain:i({name:"funnelarea",trace:!0,editType:"calc"}),aspectratio:{valType:"number",min:0,dflt:1,editType:"plot"},baseratio:{valType:"number",min:0,max:1,dflt:.333,editType:"plot"}}},6452:function(T,p,t){var d=t(74875);p.name="funnelarea",p.plot=function(g,i,M,v){d.plotBasePlot(p.name,g,i,M,v)},p.clean=function(g,i,M,v){d.cleanBasePlot(p.name,g,i,M,v)}},89574:function(T,p,t){var d=t(32354);T.exports={calc:function(g,i){return d.calc(g,i)},crossTraceCalc:function(g){d.crossTraceCalc(g,{type:"funnelarea"})}}},86282:function(T,p,t){var d=t(71828),g=t(86807),i=t(27670).c,M=t(90769).handleText,v=t(37434).handleLabelsAndValues;T.exports=function(f,l,a,u){function o(k,E){return d.coerce(f,l,g,k,E)}var s=o("labels"),c=o("values"),h=v(s,c),m=h.len;if(l._hasLabels=h.hasLabels,l._hasValues=h.hasValues,!l._hasLabels&&l._hasValues&&(o("label0"),o("dlabel")),m){l._length=m,o("marker.line.width")&&o("marker.line.color",u.paper_bgcolor),o("marker.colors"),o("scalegroup");var w,y=o("text"),S=o("texttemplate");if(S||(w=o("textinfo",Array.isArray(y)?"text+percent":"percent")),o("hovertext"),o("hovertemplate"),S||w&&w!=="none"){var _=o("textposition");M(f,l,u,o,_,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1})}i(l,u,o),o("title.text")&&(o("title.position"),d.coerceFont(o,"title.font",u.font)),o("aspectratio"),o("baseratio")}else l.visible=!1}},10421:function(T,p,t){T.exports={moduleType:"trace",name:"funnelarea",basePlotModule:t(6452),categories:["pie-like","funnelarea","showLegend"],attributes:t(86807),layoutAttributes:t(80097),supplyDefaults:t(86282),supplyLayoutDefaults:t(57402),calc:t(89574).calc,crossTraceCalc:t(89574).crossTraceCalc,plot:t(79187),style:t(71858),styleOne:t(63463),meta:{}}},80097:function(T,p,t){var d=t(92774).hiddenlabels;T.exports={hiddenlabels:d,funnelareacolorway:{valType:"colorlist",editType:"calc"},extendfunnelareacolors:{valType:"boolean",dflt:!0,editType:"calc"}}},57402:function(T,p,t){var d=t(71828),g=t(80097);T.exports=function(i,M){function v(f,l){return d.coerce(i,M,g,f,l)}v("hiddenlabels"),v("funnelareacolorway",M.colorway),v("extendfunnelareacolors")}},79187:function(T,p,t){var d=t(39898),g=t(91424),i=t(71828),M=i.strScale,v=i.strTranslate,f=t(63893),l=t(17295).toMoveInsideBar,a=t(72597),u=a.recordMinTextSize,o=a.clearMinTextSize,s=t(53581),c=t(14575),h=c.attachFxHandlers,m=c.determineInsideTextFont,w=c.layoutAreas,y=c.prerenderTitles,S=c.positionTitleOutside,_=c.formatSliceLabel;function k(E,x){return"l"+(x[0]-E[0])+","+(x[1]-E[1])}T.exports=function(E,x){var A=E._context.staticPlot,L=E._fullLayout;o("funnelarea",L),y(x,E),w(x,L._size),i.makeTraceGroups(L._funnelarealayer,x,"trace").each(function(b){var R=d.select(this),I=b[0],O=I.trace;(function(z){if(z.length){var F=z[0],B=F.trace,N=B.aspectratio,W=B.baseratio;W>.999&&(W=.999);var j,$,U,G=Math.pow(W,2),q=F.vTotal,H=q,ne=q*G/(1-G)/q,te=[];for(te.push(Me()),$=z.length-1;$>-1;$--)if(!(U=z[$]).hidden){var Z=U.v/H;ne+=Z,te.push(Me())}var X=1/0,Q=-1/0;for($=0;$-1;$--)if(!(U=z[$]).hidden){var Pe=te[xe+=1][0],_e=te[xe][1];U.TL=[-Pe,_e],U.TR=[Pe,_e],U.BL=me,U.BR=pe,U.pxmid=(ye=U.TR,de=U.BR,[.5*(ye[0]+de[0]),.5*(ye[1]+de[1])]),me=U.TL,pe=U.TR}}function Me(){var Se,Ce={x:Se=Math.sqrt(ne),y:-Se};return[Ce.x,Ce.y]}})(b),R.each(function(){var z=d.select(this).selectAll("g.slice").data(b);z.enter().append("g").classed("slice",!0),z.exit().remove(),z.each(function(B,N){if(B.hidden)d.select(this).selectAll("path,g").remove();else{B.pointNumber=B.i,B.curveNumber=O.index;var W=I.cx,j=I.cy,$=d.select(this),U=$.selectAll("path.surface").data([B]);U.enter().append("path").classed("surface",!0).style({"pointer-events":A?"none":"all"}),$.call(h,E,b);var G="M"+(W+B.TR[0])+","+(j+B.TR[1])+k(B.TR,B.BR)+k(B.BR,B.BL)+k(B.BL,B.TL)+"Z";U.attr("d",G),_(E,B,I);var q=s.castOption(O.textposition,B.pts),H=$.selectAll("g.slicetext").data(B.text&&q!=="none"?[0]:[]);H.enter().append("g").classed("slicetext",!0),H.exit().remove(),H.each(function(){var ne=i.ensureSingle(d.select(this),"text","",function(ue){ue.attr("data-notex",1)}),te=i.ensureUniformFontSize(E,m(O,B,L.font));ne.text(B.text).attr({class:"slicetext",transform:"","text-anchor":"middle"}).call(g.font,te).call(f.convertToTspans,E);var Z,X,Q,re=g.bBox(ne.node()),ie=Math.min(B.BL[1],B.BR[1])+j,oe=Math.max(B.TL[1],B.TR[1])+j;X=Math.max(B.TL[0],B.BL[0])+W,Q=Math.min(B.TR[0],B.BR[0])+W,(Z=l(X,Q,ie,oe,re,{isHorizontal:!0,constrained:!0,angle:0,anchor:"middle"})).fontSize=te.size,u(O.type,Z,L),b[N].transform=Z,i.setTransormAndDisplay(ne,Z)})}});var F=d.select(this).selectAll("g.titletext").data(O.title.text?[0]:[]);F.enter().append("g").classed("titletext",!0),F.exit().remove(),F.each(function(){var B=i.ensureSingle(d.select(this),"text","",function(j){j.attr("data-notex",1)}),N=O.title.text;O._meta&&(N=i.templateString(N,O._meta)),B.text(N).attr({class:"titletext",transform:"","text-anchor":"middle"}).call(g.font,O.title.font).call(f.convertToTspans,E);var W=S(I,L._size);B.attr("transform",v(W.x,W.y)+M(Math.min(1,W.scale))+v(W.tx,W.ty))})})})}},71858:function(T,p,t){var d=t(39898),g=t(63463),i=t(72597).resizeText;T.exports=function(M){var v=M._fullLayout._funnelarealayer.selectAll(".trace");i(M,v,"funnelarea"),v.each(function(f){var l=f[0].trace,a=d.select(this);a.style({opacity:l.opacity}),a.selectAll("path.surface").each(function(u){d.select(this).call(g,u,l)})})}},21606:function(T,p,t){var d=t(82196),g=t(9012),i=t(41940),M=t(12663).axisHoverFormat,v=t(5386).fF,f=t(5386).si,l=t(50693),a=t(1426).extendFlat;T.exports=a({z:{valType:"data_array",editType:"calc"},x:a({},d.x,{impliedEdits:{xtype:"array"}}),x0:a({},d.x0,{impliedEdits:{xtype:"scaled"}}),dx:a({},d.dx,{impliedEdits:{xtype:"scaled"}}),y:a({},d.y,{impliedEdits:{ytype:"array"}}),y0:a({},d.y0,{impliedEdits:{ytype:"scaled"}}),dy:a({},d.dy,{impliedEdits:{ytype:"scaled"}}),xperiod:a({},d.xperiod,{impliedEdits:{xtype:"scaled"}}),yperiod:a({},d.yperiod,{impliedEdits:{ytype:"scaled"}}),xperiod0:a({},d.xperiod0,{impliedEdits:{xtype:"scaled"}}),yperiod0:a({},d.yperiod0,{impliedEdits:{ytype:"scaled"}}),xperiodalignment:a({},d.xperiodalignment,{impliedEdits:{xtype:"scaled"}}),yperiodalignment:a({},d.yperiodalignment,{impliedEdits:{ytype:"scaled"}}),text:{valType:"data_array",editType:"calc"},hovertext:{valType:"data_array",editType:"calc"},transpose:{valType:"boolean",dflt:!1,editType:"calc"},xtype:{valType:"enumerated",values:["array","scaled"],editType:"calc+clearAxisTypes"},ytype:{valType:"enumerated",values:["array","scaled"],editType:"calc+clearAxisTypes"},zsmooth:{valType:"enumerated",values:["fast","best",!1],dflt:!1,editType:"calc"},hoverongaps:{valType:"boolean",dflt:!0,editType:"none"},connectgaps:{valType:"boolean",editType:"calc"},xgap:{valType:"number",dflt:0,min:0,editType:"plot"},ygap:{valType:"number",dflt:0,min:0,editType:"plot"},xhoverformat:M("x"),yhoverformat:M("y"),zhoverformat:M("z",1),hovertemplate:v(),texttemplate:f({arrayOk:!1,editType:"plot"},{keys:["x","y","z","text"]}),textfont:i({editType:"plot",autoSize:!0,autoColor:!0,colorEditType:"style"}),showlegend:a({},g.showlegend,{dflt:!1})},{transforms:void 0},l("",{cLetter:"z",autoColorDflt:!1}))},90757:function(T,p,t){var d=t(73972),g=t(71828),i=t(89298),M=t(42973),v=t(17562),f=t(78803),l=t(68296),a=t(4742),u=t(824),o=t(43907),s=t(70769),c=t(50606).BADNUM;function h(m){for(var w=[],y=m.length,S=0;SG){$("x scale is not linear");break}}if(E.length&&W==="fast"){var q=(E[E.length-1]-E[0])/(E.length-1),H=Math.abs(q/100);for(R=0;RH){$("y scale is not linear");break}}}}var ne=g.maxRowLength(b),te=w.xtype==="scaled"?"":y,Z=s(w,te,S,_,ne,O),X=w.ytype==="scaled"?"":E,Q=s(w,X,x,A,b.length,z);N||(w._extremes[O._id]=i.findExtremes(O,Z),w._extremes[z._id]=i.findExtremes(z,Q));var re={x:Z,y:Q,z:b,text:w._text||w.text,hovertext:w._hovertext||w.hovertext};if(w.xperiodalignment&&k&&(re.orig_x=k),w.yperiodalignment&&L&&(re.orig_y=L),te&&te.length===Z.length-1&&(re.xCenter=te),X&&X.length===Q.length-1&&(re.yCenter=X),B&&(re.xRanges=I.xRanges,re.yRanges=I.yRanges,re.pts=I.pts),F||f(m,w,{vals:b,cLetter:"z"}),F&&w.contours&&w.contours.coloring==="heatmap"){var ie={type:w.type==="contour"?"heatmap":"histogram2d",xcalendar:w.xcalendar,ycalendar:w.ycalendar};re.xfill=s(ie,te,S,_,ne,O),re.yfill=s(ie,X,x,A,b.length,z)}return[re]}},4742:function(T,p,t){var d=t(92770),g=t(71828),i=t(50606).BADNUM;T.exports=function(M,v,f,l){var a,u,o,s,c,h;function m(E){if(d(E))return+E}if(v&&v.transpose){for(a=0,c=0;c=0;l--)(a=((c[[(M=(f=h[l])[0])-1,v=f[1]]]||y)[2]+(c[[M+1,v]]||y)[2]+(c[[M,v-1]]||y)[2]+(c[[M,v+1]]||y)[2])/20)&&(u[f]=[M,v,a],h.splice(l,1),o=!0);if(!o)throw"findEmpties iterated with no new neighbors";for(f in u)c[f]=u[f],s.push(u[f])}return s.sort(function(_,k){return k[2]-_[2]})}},46248:function(T,p,t){var d=t(30211),g=t(71828),i=t(89298),M=t(21081).extractOpts;T.exports=function(v,f,l,a,u){u||(u={});var o,s,c,h,m=u.isContour,w=v.cd[0],y=w.trace,S=v.xa,_=v.ya,k=w.x,E=w.y,x=w.z,A=w.xCenter,L=w.yCenter,b=w.zmask,R=y.zhoverformat,I=k,O=E;if(v.index!==!1){try{c=Math.round(v.index[1]),h=Math.round(v.index[0])}catch{return void g.error("Error hovering on heatmap, pointNumber must be [row,col], found:",v.index)}if(c<0||c>=x[0].length||h<0||h>x.length)return}else{if(d.inbox(f-k[0],f-k[k.length-1],0)>0||d.inbox(l-E[0],l-E[E.length-1],0)>0)return;if(m){var z;for(I=[2*k[0]-k[1]],z=1;zk&&(x=Math.max(x,Math.abs(v[u][o]-_)/(E-k))))}return x}T.exports=function(v,f){var l,a=1;for(M(v,f),l=0;l.01;l++)a=M(v,f,i(a));return a>.01&&d.log("interp2d didn't converge quickly",a),v}},58623:function(T,p,t){var d=t(71828);T.exports=function(g,i){g("texttemplate");var M=d.extendFlat({},i.font,{color:"auto",size:"auto"});d.coerceFont(g,"textfont",M)}},70769:function(T,p,t){var d=t(73972),g=t(71828).isArrayOrTypedArray;T.exports=function(i,M,v,f,l,a){var u,o,s,c=[],h=d.traceIs(i,"contour"),m=d.traceIs(i,"histogram"),w=d.traceIs(i,"gl2d");if(g(M)&&M.length>1&&!m&&a.type!=="category"){var y=M.length;if(!(y<=l))return h?M.slice(0,l):M.slice(0,l+1);if(h||w)c=M.slice(0,l);else if(l===1)c=[M[0]-.5,M[0]+.5];else{for(c=[1.5*M[0]-.5*M[1]],s=1;s0;)z=b.c2p(Z[W]),W--;for(z0;)N=R.c2p(X[W]),W--;if(NWt||Wt>R._length))for(j=wt;jQt||Qt>b._length)){var rn=a({x:Xt,y:Yt},q,E._fullLayout);rn.x=Xt,rn.y=Yt;var xn=G.z[W][j];xn===void 0?(rn.z="",rn.zLabel=""):(rn.z=xn,rn.zLabel=v.tickText(It,xn,"hover").text);var un=G.text&&G.text[W]&&G.text[W][j];un!==void 0&&un!==!1||(un=""),rn.text=un;var An=f.texttemplateString(dt,rn,E._fullLayout._d3locale,rn,q._meta||{});if(An){var Yn=An.split("
"),kn=Yn.length,sn=0;for($=0;$0&&(k=!0);for(var A=0;Af){var l=f-M[g];return M[g]=f,l}}return 0},max:function(g,i,M,v){var f=v[i];if(d(f)){if(f=Number(f),!d(M[g]))return M[g]=f,f;if(M[g]l?h>M?h>1.1*g?g:h>1.1*i?i:M:h>v?v:h>f?f:l:Math.pow(10,Math.floor(Math.log(h)/Math.LN10))}function s(h,m,w,y,S,_){if(y&&h>M){var k=c(m,S,_),E=c(w,S,_),x=h===g?0:1;return k[x]!==E[x]}return Math.floor(w/h)-Math.floor(m/h)>.1}function c(h,m,w){var y=m.c2d(h,g,w).split("-");return y[0]===""&&(y.unshift(),y[0]="-"+y[0]),y}T.exports=function(h,m,w,y,S){var _,k,E=-1.1*m,x=-.1*m,A=h-x,L=w[0],b=w[1],R=Math.min(u(L+x,L+A,y,S),u(b+x,b+A,y,S)),I=Math.min(u(L+E,L+x,y,S),u(b+E,b+x,y,S));if(R>I&&IM){var O=_===g?1:6,z=_===g?"M12":"M1";return function(F,B){var N=y.c2d(F,g,S),W=N.indexOf("-",O);W>0&&(N=N.substr(0,W));var j=y.d2c(N,0,S);if(jh.r2l(re)&&(oe=M.tickIncrement(oe,I.size,!0,k)),te.start=h.l2r(oe),Q||g.nestedProperty(c,L+".start").set(te.start)}var ue=I.end,ce=h.r2l(ne.end),ye=ce!==void 0;if((I.endFound||ye)&&ce!==h.r2l(ue)){var de=ye?ce:g.aggNums(Math.max,null,E);te.end=h.l2r(de),ye||g.nestedProperty(c,L+".start").set(te.end)}var me="autobin"+m;return c._input[me]===!1&&(c._input[L]=g.extendFlat({},c[L]||{}),delete c._input[me],delete c[me]),[te,E]}T.exports={calc:function(s,c){var h,m,w,y,S=[],_=[],k=c.orientation==="h",E=M.getFromId(s,k?c.yaxis:c.xaxis),x=k?"y":"x",A={x:"y",y:"x"}[x],L=c[x+"calendar"],b=c.cumulative,R=o(s,c,E,x),I=R[0],O=R[1],z=typeof I.size=="string",F=[],B=z?F:I,N=[],W=[],j=[],$=0,U=c.histnorm,G=c.histfunc,q=U.indexOf("density")!==-1;b.enabled&&q&&(U=U.replace(/ ?density$/,""),q=!1);var H,ne=G==="max"||G==="min"?null:0,te=f.count,Z=l[U],X=!1,Q=function(Ce){return E.r2c(Ce,0,L)};for(g.isArrayOrTypedArray(c[A])&&G!=="count"&&(H=c[A],X=G==="avg",te=f[G]),h=Q(I.start),w=Q(I.end)+(h-M.tickIncrement(h,I.size,!1,L))/1e6;h=0&&y=0;be--)ze(be);else if(ae==="increasing"){for(be=1;be=0;be--)Ce[be]+=Ce[be+1];fe==="exclude"&&(Ce.push(0),Ce.shift())}}(_,b.direction,b.currentbin);var xe=Math.min(S.length,_.length),Pe=[],_e=0,Me=xe-1;for(h=0;h=_e;h--)if(_[h]){Me=h;break}for(h=_e;h<=Me;h++)if(d(S[h])&&d(_[h])){var Se={p:S[h],s:_[h],b:0};b.enabled||(Se.pts=j[h],ce?Se.ph0=Se.ph1=j[h].length?O[j[h][0]]:S[h]:(c._computePh=!0,Se.ph0=oe(F[h]),Se.ph1=oe(F[h+1],!0))),Pe.push(Se)}return Pe.length===1&&(Pe[0].width1=M.tickIncrement(Pe[0].p,I.size,!1,L)-Pe[0].p),v(Pe,c),g.isArrayOrTypedArray(c.selectedpoints)&&g.tagSelected(Pe,c,me),Pe},calcAllAutoBins:o}},72406:function(T){T.exports={eventDataKeys:["binNumber"]}},82222:function(T,p,t){var d=t(71828),g=t(41675),i=t(73972).traceIs,M=t(26125),v=d.nestedProperty,f=t(99082).getAxisGroup,l=[{aStr:{x:"xbins.start",y:"ybins.start"},name:"start"},{aStr:{x:"xbins.end",y:"ybins.end"},name:"end"},{aStr:{x:"xbins.size",y:"ybins.size"},name:"size"},{aStr:{x:"nbinsx",y:"nbinsy"},name:"nbins"}],a=["x","y"];T.exports=function(u,o){var s,c,h,m,w,y,S,_=o._histogramBinOpts={},k=[],E={},x=[];function A(q,H){return d.coerce(s._input,s,s._module.attributes,q,H)}function L(q){return q.orientation==="v"?"x":"y"}function b(q,H,ne){var te=q.uid+"__"+ne;H||(H=te);var Z=function(ie,oe){return g.getFromTrace({_fullLayout:o},ie,oe).type}(q,ne),X=q[ne+"calendar"]||"",Q=_[H],re=!0;Q&&(Z===Q.axType&&X===Q.calendar?(re=!1,Q.traces.push(q),Q.dirs.push(ne)):(H=te,Z!==Q.axType&&d.warn(["Attempted to group the bins of trace",q.index,"set on a","type:"+Z,"axis","with bins on","type:"+Q.axType,"axis."].join(" ")),X!==Q.calendar&&d.warn(["Attempted to group the bins of trace",q.index,"set with a",X,"calendar","with bins",Q.calendar?"on a "+Q.calendar+" calendar":"w/o a set calendar"].join(" ")))),re&&(_[H]={traces:[q],dirs:[ne],axType:Z,calendar:q[ne+"calendar"]||""}),q["_"+ne+"bingroup"]=H}for(w=0;wF&&R.splice(F,R.length-F),z.length>F&&z.splice(F,z.length-F);var B=[],N=[],W=[],j=typeof b.size=="string",$=typeof O.size=="string",U=[],G=[],q=j?U:b,H=$?G:O,ne=0,te=[],Z=[],X=c.histnorm,Q=c.histfunc,re=X.indexOf("density")!==-1,ie=Q==="max"||Q==="min"?null:0,oe=i.count,ue=M[X],ce=!1,ye=[],de=[],me="z"in c?c.z:"marker"in c&&Array.isArray(c.marker.color)?c.marker.color:"";me&&Q!=="count"&&(ce=Q==="avg",oe=i[Q]);var pe=b.size,xe=x(b.start),Pe=x(b.end)+(xe-g.tickIncrement(xe,pe,!1,k))/1e6;for(h=xe;h=0&&w=0&&y-1,flipY:N.tiling.flip.indexOf("y")>-1,orientation:N.tiling.orientation,pad:{inner:N.tiling.pad},maxDepth:N._maxDepth}).descendants(),G=1/0,q=-1/0;U.forEach(function(X){var Q=X.depth;Q>=N._maxDepth?(X.x0=X.x1=(X.x0+X.x1)/2,X.y0=X.y1=(X.y0+X.y1)/2):(G=Math.min(G,Q),q=Math.max(q,Q))}),w=w.data(U,a.getPtId),N._maxVisibleLayers=isFinite(q)?q-G+1:0,w.enter().append("g").classed("slice",!0),R(w,s,{},[S,_],x),w.order();var H=null;if(b&&z){var ne=a.getPtId(z);w.each(function(X){H===null&&a.getPtId(X)===ne&&(H={x0:X.x0,x1:X.x1,y0:X.y0,y1:X.y1})})}var te=function(){return H||{x0:0,x1:S,y0:0,y1:_}},Z=w;return b&&(Z=Z.transition().each("end",function(){var X=d.select(this);a.setSliceCursor(X,c,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})})),Z.each(function(X){X._x0=k(X.x0),X._x1=k(X.x1),X._y0=E(X.y0),X._y1=E(X.y1),X._hoverX=k(X.x1-N.tiling.pad),X._hoverY=E($?X.y1-N.tiling.pad/2:X.y0+N.tiling.pad/2);var Q=d.select(this),re=g.ensureSingle(Q,"path","surface",function(ce){ce.style("pointer-events",F?"none":"all")});b?re.transition().attrTween("d",function(ce){var ye=I(ce,s,te(),[S,_],{orientation:N.tiling.orientation,flipX:N.tiling.flip.indexOf("x")>-1,flipY:N.tiling.flip.indexOf("y")>-1});return function(de){return x(ye(de))}}):re.attr("d",x),Q.call(u,m,c,h,{styleOne:f,eventDataKeys:l.eventDataKeys,transitionTime:l.CLICK_TRANSITION_TIME,transitionEasing:l.CLICK_TRANSITION_EASING}).call(a.setSliceCursor,c,{isTransitioning:c._transitioning}),re.call(f,X,N,{hovered:!1}),X.x0===X.x1||X.y0===X.y1?X._text="":X._text=o(X,m,N,h,B)||"";var ie=g.ensureSingle(Q,"g","slicetext"),oe=g.ensureSingle(ie,"text","",function(ce){ce.attr("data-notex",1)}),ue=g.ensureUniformFontSize(c,a.determineTextFont(N,X,B.font));oe.text(X._text||" ").classed("slicetext",!0).attr("text-anchor",j?"end":W?"start":"middle").call(i.font,ue).call(M.convertToTspans,c),X.textBB=i.bBox(oe.node()),X.transform=A(X,{fontSize:ue.size}),X.transform.fontSize=ue.size,b?oe.transition().attrTween("transform",function(ce){var ye=O(ce,s,te(),[S,_]);return function(de){return L(ye(de))}}):oe.attr("transform",L(X))}),H}},69816:function(T,p,t){T.exports={moduleType:"trace",name:"icicle",basePlotModule:t(96346),categories:[],animatable:!0,attributes:t(46291),layoutAttributes:t(92894),supplyDefaults:t(56524),supplyLayoutDefaults:t(21070),calc:t(46584).y,crossTraceCalc:t(46584).T,plot:t(85596),style:t(82454).style,colorbar:t(4898),meta:{}}},92894:function(T){T.exports={iciclecolorway:{valType:"colorlist",editType:"calc"},extendiciclecolors:{valType:"boolean",dflt:!0,editType:"calc"}}},21070:function(T,p,t){var d=t(71828),g=t(92894);T.exports=function(i,M){function v(f,l){return d.coerce(i,M,g,f,l)}v("iciclecolorway",M.colorway),v("extendiciclecolors")}},21538:function(T,p,t){var d=t(674),g=t(14102);T.exports=function(i,M,v){var f=v.flipX,l=v.flipY,a=v.orientation==="h",u=v.maxDepth,o=M[0],s=M[1];u&&(o=(i.height+1)*M[0]/Math.min(i.height+1,u),s=(i.height+1)*M[1]/Math.min(i.height+1,u));var c=d.partition().padding(v.pad.inner).size(a?[M[1],o]:[M[0],s])(i);return(a||f||l)&&g(c,M,{swapXY:a,flipX:f,flipY:l}),c}},85596:function(T,p,t){var d=t(80694),g=t(90666);T.exports=function(i,M,v,f){return d(i,M,v,f,{type:"icicle",drawDescendants:g})}},82454:function(T,p,t){var d=t(39898),g=t(7901),i=t(71828),M=t(72597).resizeText;function v(f,l,a){var u=l.data.data,o=!l.children,s=u.i,c=i.castOption(a,s,"marker.line.color")||g.defaultLine,h=i.castOption(a,s,"marker.line.width")||0;f.style("stroke-width",h).call(g.fill,u.color).call(g.stroke,c).style("opacity",o?a.leaf.opacity:null)}T.exports={style:function(f){var l=f._fullLayout._iciclelayer.selectAll(".trace");M(f,l,"icicle"),l.each(function(a){var u=d.select(this),o=a[0].trace;u.style("opacity",o.opacity),u.selectAll("path.surface").each(function(s){d.select(this).call(v,s,o)})})},styleOne:v}},17230:function(T,p,t){for(var d=t(9012),g=t(5386).fF,i=t(1426).extendFlat,M=t(51877).colormodel,v=["rgb","rgba","rgba256","hsl","hsla"],f=[],l=[],a=0;a0||d.inbox(f-l.y0,f-(l.y0+l.h*a.dy),0)>0)){var s,c=Math.floor((v-l.x0)/a.dx),h=Math.floor(Math.abs(f-l.y0)/a.dy);if(a._hasZ?s=l.z[h][c]:a._hasSource&&(s=a._canvas.el.getContext("2d",{willReadFrequently:!0}).getImageData(c,h,1,1).data),s){var m,w=l.hi||a.hoverinfo;if(w){var y=w.split("+");y.indexOf("all")!==-1&&(y=["color"]),y.indexOf("color")!==-1&&(m=!0)}var S,_=i.colormodel[a.colormodel],k=_.colormodel||a.colormodel,E=k.length,x=a._scaler(s),A=_.suffix,L=[];(a.hovertemplate||m)&&(L.push("["+[x[0]+A[0],x[1]+A[1],x[2]+A[2]].join(", ")),E===4&&L.push(", "+x[3]+A[3]),L.push("]"),L=L.join(""),M.extraText=k.toUpperCase()+": "+L),Array.isArray(a.hovertext)&&Array.isArray(a.hovertext[h])?S=a.hovertext[h][c]:Array.isArray(a.text)&&Array.isArray(a.text[h])&&(S=a.text[h][c]);var b=o.c2p(l.y0+(h+.5)*a.dy),R=l.x0+(c+.5)*a.dx,I=l.y0+(h+.5)*a.dy,O="["+s.slice(0,a.colormodel.length).join(", ")+"]";return[g.extendFlat(M,{index:[h,c],x0:u.c2p(l.x0+c*a.dx),x1:u.c2p(l.x0+(c+1)*a.dx),y0:b,y1:b,color:x,xVal:R,xLabelVal:R,yVal:I,yLabelVal:I,zLabelVal:O,text:S,hovertemplateLabels:{zLabel:O,colorLabel:L,"color[0]Label":x[0]+A[0],"color[1]Label":x[1]+A[1],"color[2]Label":x[2]+A[2],"color[3]Label":x[3]+A[3]}})]}}}},94507:function(T,p,t){T.exports={attributes:t(17230),supplyDefaults:t(13245),calc:t(71113),plot:t(60775),style:t(12826),hoverPoints:t(28749),eventData:t(30835),moduleType:"trace",name:"image",basePlotModule:t(93612),categories:["cartesian","svg","2dMap","noSortingByValue"],animatable:!1,meta:{}}},60775:function(T,p,t){var d=t(39898),g=t(71828),i=g.strTranslate,M=t(77922),v=t(51877),f=g.isIOS()||g.isSafari()||g.isIE();T.exports=function(l,a,u,o){var s=a.xaxis,c=a.yaxis,h=!(f||l._context._exportedPlot);g.makeTraceGroups(o,u,"im").each(function(m){var w=d.select(this),y=m[0],S=y.trace,_=(S.zsmooth==="fast"||S.zsmooth===!1&&h)&&!S._hasZ&&S._hasSource&&s.type==="linear"&&c.type==="linear";S._realImage=_;var k,E,x,A,L,b,R=y.z,I=y.x0,O=y.y0,z=y.w,F=y.h,B=S.dx,N=S.dy;for(b=0;k===void 0&&b0;)E=s.c2p(I+b*B),b--;for(b=0;A===void 0&&b0;)L=c.c2p(O+b*N),b--;Eq[0];if(H||ne){var te=k+W/2,Z=A+j/2;U+="transform:"+i(te+"px",Z+"px")+"scale("+(H?-1:1)+","+(ne?-1:1)+")"+i(-te+"px",-Z+"px")+";"}}$.attr("style",U);var X=new Promise(function(re){if(S._hasZ)re();else if(S._hasSource)if(S._canvas&&S._canvas.el.width===z&&S._canvas.el.height===F&&S._canvas.source===S.source)re();else{var ie=document.createElement("canvas");ie.width=z,ie.height=F;var oe=ie.getContext("2d",{willReadFrequently:!0});S._image=S._image||new Image;var ue=S._image;ue.onload=function(){oe.drawImage(ue,0,0),S._canvas={el:ie,source:S.source},re()},ue.setAttribute("src",S.source)}}).then(function(){var re,ie;if(S._hasZ)ie=Q(function(ue,ce){return R[ce][ue]}),re=ie.toDataURL("image/png");else if(S._hasSource)if(_)re=S.source;else{var oe=S._canvas.el.getContext("2d",{willReadFrequently:!0}).getImageData(0,0,z,F).data;ie=Q(function(ue,ce){var ye=4*(ce*z+ue);return[oe[ye],oe[ye+1],oe[ye+2],oe[ye+3]]}),re=ie.toDataURL("image/png")}$.attr({"xlink:href":re,height:j,width:W,x:k,y:A})});l._promises.push(X)}function Q(re){var ie=document.createElement("canvas");ie.width=W,ie.height=j;var oe,ue=ie.getContext("2d",{willReadFrequently:!0}),ce=function(Ce){return g.constrain(Math.round(s.c2p(I+Ce*B)-k),0,W)},ye=function(Ce){return g.constrain(Math.round(c.c2p(O+Ce*N)-A),0,j)},de=v.colormodel[S.colormodel],me=de.colormodel||S.colormodel,pe=de.fmt;for(b=0;b0}function x(I){I.each(function(O){y.stroke(d.select(this),O.line.color)}).each(function(O){y.fill(d.select(this),O.color)}).style("stroke-width",function(O){return O.line.width})}function A(I,O,z){var F=I._fullLayout,B=M.extendFlat({type:"linear",ticks:"outside",range:z,showline:!0},O),N={type:"linear",_id:"x"+O._id},W={letter:"x",font:F.font,noHover:!0,noTickson:!0};function j($,U){return M.coerce(B,N,w,$,U)}return h(B,N,j,W,F),m(B,N,j,W),N}function L(I,O,z){return[Math.min(O/I.width,z/I.height),I,O+"x"+z]}function b(I,O,z,F){var B=document.createElementNS("http://www.w3.org/2000/svg","text"),N=d.select(B);return N.text(I).attr("x",0).attr("y",0).attr("text-anchor",z).attr("data-unformatted",I).call(s.convertToTspans,F).call(u.font,O),u.bBox(N.node())}function R(I,O,z,F,B,N){var W="_cache"+O;I[W]&&I[W].key===B||(I[W]={key:B,value:z});var j=M.aggNums(N,null,[I[W].value,F],2);return I[W].value=j,j}T.exports=function(I,O,z,F){var B,N=I._fullLayout;E(z)&&F&&(B=F()),M.makeTraceGroups(N._indicatorlayer,O,"trace").each(function(W){var j,$,U,G,q,H=W[0].trace,ne=d.select(this),te=H._hasGauge,Z=H._isAngular,X=H._isBullet,Q=H.domain,re={w:N._size.w*(Q.x[1]-Q.x[0]),h:N._size.h*(Q.y[1]-Q.y[0]),l:N._size.l+N._size.w*Q.x[0],r:N._size.r+N._size.w*(1-Q.x[1]),t:N._size.t+N._size.h*(1-Q.y[1]),b:N._size.b+N._size.h*Q.y[0]},ie=re.l+re.w/2,oe=re.t+re.h/2,ue=Math.min(re.w/2,re.h),ce=o.innerRadius*ue,ye=H.align||"center";if($=oe,te){if(Z&&(j=ie,$=oe+ue/2,U=function(Se){return function(Ce,ae){return[ae/Math.sqrt(Ce.width/2*(Ce.width/2)+Ce.height*Ce.height),Ce,ae]}(Se,.9*ce)}),X){var de=o.bulletPadding,me=1-o.bulletNumberDomainSize+de;j=re.l+(me+(1-me)*_[ye])*re.w,U=function(Se){return L(Se,(o.bulletNumberDomainSize-de)*re.w,re.h)}}}else j=re.l+_[ye]*re.w,U=function(Se){return L(Se,re.w,re.h)};(function(Se,Ce,ae,fe){var be,ke,Le,Be=ae[0].trace,ze=fe.numbersX,je=fe.numbersY,ge=Be.align||"center",we=S[ge],Ee=fe.transitionOpts,Ve=fe.onComplete,$e=M.ensureSingle(Ce,"g","numbers"),Ye=[];Be._hasNumber&&Ye.push("number"),Be._hasDelta&&(Ye.push("delta"),Be.delta.position==="left"&&Ye.reverse());var st=$e.selectAll("text").data(Ye);function ot(Bt,qt,Vt,Ke){if(!Bt.match("s")||Vt>=0==Ke>=0||qt(Vt).slice(-1).match(k)||qt(Ke).slice(-1).match(k))return qt;var Je=Bt.slice().replace("s","f").replace(/\d+/,function(nt){return parseInt(nt)-1}),qe=A(Se,{tickformat:Je});return function(nt){return Math.abs(nt)<1?c.tickText(qe,nt).text:qt(nt)}}st.enter().append("text"),st.attr("text-anchor",function(){return we}).attr("class",function(Bt){return Bt}).attr("x",null).attr("y",null).attr("dx",null).attr("dy",null),st.exit().remove();var ht,bt=Be.mode+Be.align;if(Be._hasDelta&&(ht=function(){var Bt=A(Se,{tickformat:Be.delta.valueformat},Be._range);Bt.setScale(),c.prepTicks(Bt);var qt=function(Ne){return c.tickText(Bt,Ne).text},Vt=Be.delta.suffix,Ke=Be.delta.prefix,Je=function(Ne){return Be.delta.relative?Ne.relativeDelta:Ne.delta},qe=function(Ne,Qe){return Ne===0||typeof Ne!="number"||isNaN(Ne)?"-":(Ne>0?Be.delta.increasing.symbol:Be.delta.decreasing.symbol)+Ke+Qe(Ne)+Vt},nt=function(Ne){return Ne.delta>=0?Be.delta.increasing.color:Be.delta.decreasing.color};Be._deltaLastValue===void 0&&(Be._deltaLastValue=Je(ae[0]));var ft=$e.select("text.delta");function Re(){ft.text(qe(Je(ae[0]),qt)).call(y.fill,nt(ae[0])).call(s.convertToTspans,Se)}return ft.call(u.font,Be.delta.font).call(y.fill,nt({delta:Be._deltaLastValue})),E(Ee)?ft.transition().duration(Ee.duration).ease(Ee.easing).tween("text",function(){var Ne=d.select(this),Qe=Je(ae[0]),ut=Be._deltaLastValue,dt=ot(Be.delta.valueformat,qt,ut,Qe),_t=i(ut,Qe);return Be._deltaLastValue=Qe,function(It){Ne.text(qe(_t(It),dt)),Ne.call(y.fill,nt({delta:_t(It)}))}}).each("end",function(){Re(),Ve&&Ve()}).each("interrupt",function(){Re(),Ve&&Ve()}):Re(),ke=b(qe(Je(ae[0]),qt),Be.delta.font,we,Se),ft}(),bt+=Be.delta.position+Be.delta.font.size+Be.delta.font.family+Be.delta.valueformat,bt+=Be.delta.increasing.symbol+Be.delta.decreasing.symbol,Le=ke),Be._hasNumber&&(function(){var Bt=A(Se,{tickformat:Be.number.valueformat},Be._range);Bt.setScale(),c.prepTicks(Bt);var qt=function(nt){return c.tickText(Bt,nt).text},Vt=Be.number.suffix,Ke=Be.number.prefix,Je=$e.select("text.number");function qe(){var nt=typeof ae[0].y=="number"?Ke+qt(ae[0].y)+Vt:"-";Je.text(nt).call(u.font,Be.number.font).call(s.convertToTspans,Se)}E(Ee)?Je.transition().duration(Ee.duration).ease(Ee.easing).each("end",function(){qe(),Ve&&Ve()}).each("interrupt",function(){qe(),Ve&&Ve()}).attrTween("text",function(){var nt=d.select(this),ft=i(ae[0].lastY,ae[0].y);Be._lastValue=ae[0].y;var Re=ot(Be.number.valueformat,qt,ae[0].lastY,ae[0].y);return function(Ne){nt.text(Ke+Re(ft(Ne))+Vt)}}):qe(),be=b(Ke+qt(ae[0].y)+Vt,Be.number.font,we,Se)}(),bt+=Be.number.font.size+Be.number.font.family+Be.number.valueformat+Be.number.suffix+Be.number.prefix,Le=be),Be._hasDelta&&Be._hasNumber){var Et,kt,xt=[(be.left+be.right)/2,(be.top+be.bottom)/2],Ft=[(ke.left+ke.right)/2,(ke.top+ke.bottom)/2],Ot=.75*Be.delta.font.size;Be.delta.position==="left"&&(Et=R(Be,"deltaPos",0,-1*(be.width*_[Be.align]+ke.width*(1-_[Be.align])+Ot),bt,Math.min),kt=xt[1]-Ft[1],Le={width:be.width+ke.width+Ot,height:Math.max(be.height,ke.height),left:ke.left+Et,right:be.right,top:Math.min(be.top,ke.top+kt),bottom:Math.max(be.bottom,ke.bottom+kt)}),Be.delta.position==="right"&&(Et=R(Be,"deltaPos",0,be.width*(1-_[Be.align])+ke.width*_[Be.align]+Ot,bt,Math.max),kt=xt[1]-Ft[1],Le={width:be.width+ke.width+Ot,height:Math.max(be.height,ke.height),left:be.left,right:ke.right+Et,top:Math.min(be.top,ke.top+kt),bottom:Math.max(be.bottom,ke.bottom+kt)}),Be.delta.position==="bottom"&&(Et=null,kt=ke.height,Le={width:Math.max(be.width,ke.width),height:be.height+ke.height,left:Math.min(be.left,ke.left),right:Math.max(be.right,ke.right),top:be.bottom-be.height,bottom:be.bottom+ke.height}),Be.delta.position==="top"&&(Et=null,kt=be.top,Le={width:Math.max(be.width,ke.width),height:be.height+ke.height,left:Math.min(be.left,ke.left),right:Math.max(be.right,ke.right),top:be.bottom-be.height-ke.height,bottom:be.bottom}),ht.attr({dx:Et,dy:kt})}(Be._hasNumber||Be._hasDelta)&&$e.attr("transform",function(){var Bt=fe.numbersScaler(Le);bt+=Bt[2];var qt,Vt=R(Be,"numbersScale",1,Bt[0],bt,Math.min);Be._scaleNumbers||(Vt=1),qt=Be._isAngular?je-Vt*Le.bottom:je-Vt*(Le.top+Le.bottom)/2,Be._numbersTop=Vt*Le.top+qt;var Ke=Le[ge];ge==="center"&&(Ke=(Le.left+Le.right)/2);var Je=ze-Vt*Ke;return Je=R(Be,"numbersTranslate",0,Je,bt,Math.max),f(Je,qt)+v(Vt)})})(I,ne,W,{numbersX:j,numbersY:$,numbersScaler:U,transitionOpts:z,onComplete:B}),te&&(G={range:H.gauge.axis.range,color:H.gauge.bgcolor,line:{color:H.gauge.bordercolor,width:0},thickness:1},q={range:H.gauge.axis.range,color:"rgba(0, 0, 0, 0)",line:{color:H.gauge.bordercolor,width:H.gauge.borderwidth},thickness:1});var pe=ne.selectAll("g.angular").data(Z?W:[]);pe.exit().remove();var xe=ne.selectAll("g.angularaxis").data(Z?W:[]);xe.exit().remove(),Z&&function(Se,Ce,ae,fe){var be,ke,Le,Be,ze=ae[0].trace,je=fe.size,ge=fe.radius,we=fe.innerRadius,Ee=fe.gaugeBg,Ve=fe.gaugeOutline,$e=[je.l+je.w/2,je.t+je.h/2+ge/2],Ye=fe.gauge,st=fe.layer,ot=fe.transitionOpts,ht=fe.onComplete,bt=Math.PI/2;function Et(It){var Lt=ze.gauge.axis.range[0],yt=(It-Lt)/(ze.gauge.axis.range[1]-Lt)*Math.PI-bt;return yt<-bt?-bt:yt>bt?bt:yt}function kt(It){return d.svg.arc().innerRadius((we+ge)/2-It/2*(ge-we)).outerRadius((we+ge)/2+It/2*(ge-we)).startAngle(-bt)}function xt(It){It.attr("d",function(Lt){return kt(Lt.thickness).startAngle(Et(Lt.range[0])).endAngle(Et(Lt.range[1]))()})}Ye.enter().append("g").classed("angular",!0),Ye.attr("transform",f($e[0],$e[1])),st.enter().append("g").classed("angularaxis",!0).classed("crisp",!0),st.selectAll("g.xangularaxistick,path,text").remove(),(be=A(Se,ze.gauge.axis)).type="linear",be.range=ze.gauge.axis.range,be._id="xangularaxis",be.ticklabeloverflow="allow",be.setScale();var Ft=function(It){return(be.range[0]-It.x)/(be.range[1]-be.range[0])*Math.PI+Math.PI},Ot={},Bt=c.makeLabelFns(be,0).labelStandoff;Ot.xFn=function(It){var Lt=Ft(It);return Math.cos(Lt)*Bt},Ot.yFn=function(It){var Lt=Ft(It),yt=Math.sin(Lt)>0?.2:1;return-Math.sin(Lt)*(Bt+It.fontSize*yt)+Math.abs(Math.cos(Lt))*(It.fontSize*a)},Ot.anchorFn=function(It){var Lt=Ft(It),yt=Math.cos(Lt);return Math.abs(yt)<.1?"middle":yt>0?"start":"end"},Ot.heightFn=function(It,Lt,yt){var Pt=Ft(It);return-.5*(1+Math.sin(Pt))*yt};var qt=function(It){return f($e[0]+ge*Math.cos(It),$e[1]-ge*Math.sin(It))};if(Le=function(It){return qt(Ft(It))},ke=c.calcTicks(be),Be=c.getTickSigns(be)[2],be.visible){Be=be.ticks==="inside"?-1:1;var Vt=(be.linewidth||1)/2;c.drawTicks(Se,be,{vals:ke,layer:st,path:"M"+Be*Vt+",0h"+Be*be.ticklen,transFn:function(It){var Lt=Ft(It);return qt(Lt)+"rotate("+-l(Lt)+")"}}),c.drawLabels(Se,be,{vals:ke,layer:st,transFn:Le,labelFns:Ot})}var Ke=[Ee].concat(ze.gauge.steps),Je=Ye.selectAll("g.bg-arc").data(Ke);Je.enter().append("g").classed("bg-arc",!0).append("path"),Je.select("path").call(xt).call(x),Je.exit().remove();var qe=kt(ze.gauge.bar.thickness),nt=Ye.selectAll("g.value-arc").data([ze.gauge.bar]);nt.enter().append("g").classed("value-arc",!0).append("path");var ft,Re,Ne,Qe=nt.select("path");E(ot)?(Qe.transition().duration(ot.duration).ease(ot.easing).each("end",function(){ht&&ht()}).each("interrupt",function(){ht&&ht()}).attrTween("d",(ft=qe,Re=Et(ae[0].lastY),Ne=Et(ae[0].y),function(){var It=g(Re,Ne);return function(Lt){return ft.endAngle(It(Lt))()}})),ze._lastValue=ae[0].y):Qe.attr("d",typeof ae[0].y=="number"?qe.endAngle(Et(ae[0].y)):"M0,0Z"),Qe.call(x),nt.exit().remove(),Ke=[];var ut=ze.gauge.threshold.value;(ut||ut===0)&&Ke.push({range:[ut,ut],color:ze.gauge.threshold.color,line:{color:ze.gauge.threshold.line.color,width:ze.gauge.threshold.line.width},thickness:ze.gauge.threshold.thickness});var dt=Ye.selectAll("g.threshold-arc").data(Ke);dt.enter().append("g").classed("threshold-arc",!0).append("path"),dt.select("path").call(xt).call(x),dt.exit().remove();var _t=Ye.selectAll("g.gauge-outline").data([Ve]);_t.enter().append("g").classed("gauge-outline",!0).append("path"),_t.select("path").call(xt).call(x),_t.exit().remove()}(I,0,W,{radius:ue,innerRadius:ce,gauge:pe,layer:xe,size:re,gaugeBg:G,gaugeOutline:q,transitionOpts:z,onComplete:B});var Pe=ne.selectAll("g.bullet").data(X?W:[]);Pe.exit().remove();var _e=ne.selectAll("g.bulletaxis").data(X?W:[]);_e.exit().remove(),X&&function(Se,Ce,ae,fe){var be,ke,Le,Be,ze,je=ae[0].trace,ge=fe.gauge,we=fe.layer,Ee=fe.gaugeBg,Ve=fe.gaugeOutline,$e=fe.size,Ye=je.domain,st=fe.transitionOpts,ot=fe.onComplete;ge.enter().append("g").classed("bullet",!0),ge.attr("transform",f($e.l,$e.t)),we.enter().append("g").classed("bulletaxis",!0).classed("crisp",!0),we.selectAll("g.xbulletaxistick,path,text").remove();var ht=$e.h,bt=je.gauge.bar.thickness*ht,Et=Ye.x[0],kt=Ye.x[0]+(Ye.x[1]-Ye.x[0])*(je._hasNumber||je._hasDelta?1-o.bulletNumberDomainSize:1);function xt(Je){Je.attr("width",function(qe){return Math.max(0,be.c2p(qe.range[1])-be.c2p(qe.range[0]))}).attr("x",function(qe){return be.c2p(qe.range[0])}).attr("y",function(qe){return .5*(1-qe.thickness)*ht}).attr("height",function(qe){return qe.thickness*ht})}(be=A(Se,je.gauge.axis))._id="xbulletaxis",be.domain=[Et,kt],be.setScale(),ke=c.calcTicks(be),Le=c.makeTransTickFn(be),Be=c.getTickSigns(be)[2],ze=$e.t+$e.h,be.visible&&(c.drawTicks(Se,be,{vals:be.ticks==="inside"?c.clipEnds(be,ke):ke,layer:we,path:c.makeTickPath(be,ze,Be),transFn:Le}),c.drawLabels(Se,be,{vals:ke,layer:we,transFn:Le,labelFns:c.makeLabelFns(be,ze)}));var Ft=[Ee].concat(je.gauge.steps),Ot=ge.selectAll("g.bg-bullet").data(Ft);Ot.enter().append("g").classed("bg-bullet",!0).append("rect"),Ot.select("rect").call(xt).call(x),Ot.exit().remove();var Bt=ge.selectAll("g.value-bullet").data([je.gauge.bar]);Bt.enter().append("g").classed("value-bullet",!0).append("rect"),Bt.select("rect").attr("height",bt).attr("y",(ht-bt)/2).call(x),E(st)?Bt.select("rect").transition().duration(st.duration).ease(st.easing).each("end",function(){ot&&ot()}).each("interrupt",function(){ot&&ot()}).attr("width",Math.max(0,be.c2p(Math.min(je.gauge.axis.range[1],ae[0].y)))):Bt.select("rect").attr("width",typeof ae[0].y=="number"?Math.max(0,be.c2p(Math.min(je.gauge.axis.range[1],ae[0].y))):0),Bt.exit().remove();var qt=ae.filter(function(){return je.gauge.threshold.value||je.gauge.threshold.value===0}),Vt=ge.selectAll("g.threshold-bullet").data(qt);Vt.enter().append("g").classed("threshold-bullet",!0).append("line"),Vt.select("line").attr("x1",be.c2p(je.gauge.threshold.value)).attr("x2",be.c2p(je.gauge.threshold.value)).attr("y1",(1-je.gauge.threshold.thickness)/2*ht).attr("y2",(1-(1-je.gauge.threshold.thickness)/2)*ht).call(y.stroke,je.gauge.threshold.line.color).style("stroke-width",je.gauge.threshold.line.width),Vt.exit().remove();var Ke=ge.selectAll("g.gauge-outline").data([Ve]);Ke.enter().append("g").classed("gauge-outline",!0).append("rect"),Ke.select("rect").call(xt).call(x),Ke.exit().remove()}(I,0,W,{gauge:Pe,layer:_e,size:re,gaugeBg:G,gaugeOutline:q,transitionOpts:z,onComplete:B});var Me=ne.selectAll("text.title").data(W);Me.exit().remove(),Me.enter().append("text").classed("title",!0),Me.attr("text-anchor",function(){return X?S.right:S[H.title.align]}).text(H.title.text).call(u.font,H.title.font).call(s.convertToTspans,I),Me.attr("transform",function(){var Se,Ce=re.l+re.w*_[H.title.align],ae=o.titlePadding,fe=u.bBox(Me.node());return te?(Z&&(Se=H.gauge.axis.visible?u.bBox(xe.node()).top-ae-fe.bottom:re.t+re.h/2-ue/2-fe.bottom-ae),X&&(Se=$-(fe.top+fe.bottom)/2,Ce=re.l-o.bulletPadding*re.w)):Se=H._numbersTop-ae-fe.bottom,f(Ce,Se)})})}},16249:function(T,p,t){var d=t(50693),g=t(12663).axisHoverFormat,i=t(5386).fF,M=t(2418),v=t(9012),f=t(1426).extendFlat,l=t(30962).overrideAll,a=T.exports=l(f({x:{valType:"data_array"},y:{valType:"data_array"},z:{valType:"data_array"},value:{valType:"data_array"},isomin:{valType:"number"},isomax:{valType:"number"},surface:{show:{valType:"boolean",dflt:!0},count:{valType:"integer",dflt:2,min:1},fill:{valType:"number",min:0,max:1,dflt:1},pattern:{valType:"flaglist",flags:["A","B","C","D","E"],extras:["all","odd","even"],dflt:"all"}},spaceframe:{show:{valType:"boolean",dflt:!1},fill:{valType:"number",min:0,max:1,dflt:.15}},slices:{x:{show:{valType:"boolean",dflt:!1},locations:{valType:"data_array",dflt:[]},fill:{valType:"number",min:0,max:1,dflt:1}},y:{show:{valType:"boolean",dflt:!1},locations:{valType:"data_array",dflt:[]},fill:{valType:"number",min:0,max:1,dflt:1}},z:{show:{valType:"boolean",dflt:!1},locations:{valType:"data_array",dflt:[]},fill:{valType:"number",min:0,max:1,dflt:1}}},caps:{x:{show:{valType:"boolean",dflt:!0},fill:{valType:"number",min:0,max:1,dflt:1}},y:{show:{valType:"boolean",dflt:!0},fill:{valType:"number",min:0,max:1,dflt:1}},z:{show:{valType:"boolean",dflt:!0},fill:{valType:"number",min:0,max:1,dflt:1}}},text:{valType:"string",dflt:"",arrayOk:!0},hovertext:{valType:"string",dflt:"",arrayOk:!0},hovertemplate:i(),xhoverformat:g("x"),yhoverformat:g("y"),zhoverformat:g("z"),valuehoverformat:g("value",1),showlegend:f({},v.showlegend,{dflt:!1})},d("",{colorAttr:"`value`",showScaleDflt:!0,editTypeOverride:"calc"}),{opacity:M.opacity,lightposition:M.lightposition,lighting:M.lighting,flatshading:M.flatshading,contour:M.contour,hoverinfo:f({},v.hoverinfo)}),"calc","nested");a.flatshading.dflt=!0,a.lighting.facenormalsepsilon.dflt=0,a.x.editType=a.y.editType=a.z.editType=a.value.editType="calc+clearAxisTypes",a.transforms=void 0},56959:function(T,p,t){var d=t(78803),g=t(88489).processGrid,i=t(88489).filter;T.exports=function(M,v){v._len=Math.min(v.x.length,v.y.length,v.z.length,v.value.length),v._x=i(v.x,v._len),v._y=i(v.y,v._len),v._z=i(v.z,v._len),v._value=i(v.value,v._len);var f=g(v);v._gridFill=f.fill,v._Xs=f.Xs,v._Ys=f.Ys,v._Zs=f.Zs,v._len=f.len;for(var l=1/0,a=-1/0,u=0;u0;h--){var m=Math.min(c[h],c[h-1]),w=Math.max(c[h],c[h-1]);if(w>m&&m-1}function ie(je,ge){return je===null?ge:je}function oe(je,ge,we){ne();var Ee,Ve,$e,Ye=[ge],st=[we];if(_>=1)Ye=[ge],st=[we];else if(_>0){var ot=function(qt,Vt){var Ke=qt[0],Je=qt[1],qe=qt[2],nt=function(It,Lt,yt){for(var Pt=[],wt=0;wt-1?we[Et]:H(kt,xt,Ft);bt[Et]=Bt>-1?Bt:Z(kt,xt,Ft,ie(je,Ot))}Ee=bt[0],Ve=bt[1],$e=bt[2],s._meshI.push(Ee),s._meshJ.push(Ve),s._meshK.push($e),++R}}function ue(je,ge,we,Ee){var Ve=je[3];VeEe&&(Ve=Ee);for(var $e=(je[3]-Ve)/(je[3]-ge[3]+1e-9),Ye=[],st=0;st<4;st++)Ye[st]=(1-$e)*je[st]+$e*ge[st];return Ye}function ce(je,ge,we){return je>=ge&&je<=we}function ye(je){var ge=.001*(q-G);return je>=G-ge&&je<=q+ge}function de(je){for(var ge=[],we=0;we<4;we++){var Ee=je[we];ge.push([s._x[Ee],s._y[Ee],s._z[Ee],s._value[Ee]])}return ge}function me(je,ge,we,Ee,Ve,$e){$e||($e=1),we=[-1,-1,-1];var Ye=!1,st=[ce(ge[0][3],Ee,Ve),ce(ge[1][3],Ee,Ve),ce(ge[2][3],Ee,Ve)];if(!st[0]&&!st[1]&&!st[2])return!1;var ot=function(bt,Et,kt){return ye(Et[0][3])&&ye(Et[1][3])&&ye(Et[2][3])?(oe(bt,Et,kt),!0):$e<3&&me(bt,Et,kt,G,q,++$e)};if(st[0]&&st[1]&&st[2])return ot(je,ge,we)||Ye;var ht=!1;return[[0,1,2],[2,0,1],[1,2,0]].forEach(function(bt){if(st[bt[0]]&&st[bt[1]]&&!st[bt[2]]){var Et=ge[bt[0]],kt=ge[bt[1]],xt=ge[bt[2]],Ft=ue(xt,Et,Ee,Ve),Ot=ue(xt,kt,Ee,Ve);Ye=ot(je,[Ot,Ft,Et],[-1,-1,we[bt[0]]])||Ye,Ye=ot(je,[Et,kt,Ot],[we[bt[0]],we[bt[1]],-1])||Ye,ht=!0}}),ht||[[0,1,2],[1,2,0],[2,0,1]].forEach(function(bt){if(st[bt[0]]&&!st[bt[1]]&&!st[bt[2]]){var Et=ge[bt[0]],kt=ge[bt[1]],xt=ge[bt[2]],Ft=ue(kt,Et,Ee,Ve),Ot=ue(xt,Et,Ee,Ve);Ye=ot(je,[Ot,Ft,Et],[-1,-1,we[bt[0]]])||Ye,ht=!0}}),Ye}function pe(je,ge,we,Ee){var Ve=!1,$e=de(ge),Ye=[ce($e[0][3],we,Ee),ce($e[1][3],we,Ee),ce($e[2][3],we,Ee),ce($e[3][3],we,Ee)];if(!(Ye[0]||Ye[1]||Ye[2]||Ye[3]))return Ve;if(Ye[0]&&Ye[1]&&Ye[2]&&Ye[3])return b&&(Ve=function(ot,ht,bt){var Et=function(kt,xt,Ft){oe(ot,[ht[kt],ht[xt],ht[Ft]],[bt[kt],bt[xt],bt[Ft]])};Et(0,1,2),Et(3,0,1),Et(2,3,0),Et(1,2,3)}(je,$e,ge)||Ve),Ve;var st=!1;return[[0,1,2,3],[3,0,1,2],[2,3,0,1],[1,2,3,0]].forEach(function(ot){if(Ye[ot[0]]&&Ye[ot[1]]&&Ye[ot[2]]&&!Ye[ot[3]]){var ht=$e[ot[0]],bt=$e[ot[1]],Et=$e[ot[2]],kt=$e[ot[3]];if(b)Ve=oe(je,[ht,bt,Et],[ge[ot[0]],ge[ot[1]],ge[ot[2]]])||Ve;else{var xt=ue(kt,ht,we,Ee),Ft=ue(kt,bt,we,Ee),Ot=ue(kt,Et,we,Ee);Ve=oe(null,[xt,Ft,Ot],[-1,-1,-1])||Ve}st=!0}}),st||([[0,1,2,3],[1,2,3,0],[2,3,0,1],[3,0,1,2],[0,2,3,1],[1,3,2,0]].forEach(function(ot){if(Ye[ot[0]]&&Ye[ot[1]]&&!Ye[ot[2]]&&!Ye[ot[3]]){var ht=$e[ot[0]],bt=$e[ot[1]],Et=$e[ot[2]],kt=$e[ot[3]],xt=ue(Et,ht,we,Ee),Ft=ue(Et,bt,we,Ee),Ot=ue(kt,bt,we,Ee),Bt=ue(kt,ht,we,Ee);b?(Ve=oe(je,[ht,Bt,xt],[ge[ot[0]],-1,-1])||Ve,Ve=oe(je,[bt,Ft,Ot],[ge[ot[1]],-1,-1])||Ve):Ve=function(qt,Vt,Ke){var Je=function(qe,nt,ft){oe(null,[Vt[qe],Vt[nt],Vt[ft]],[Ke[qe],Ke[nt],Ke[ft]])};Je(0,1,2),Je(2,3,0)}(0,[xt,Ft,Ot,Bt],[-1,-1,-1,-1])||Ve,st=!0}}),st||[[0,1,2,3],[1,2,3,0],[2,3,0,1],[3,0,1,2]].forEach(function(ot){if(Ye[ot[0]]&&!Ye[ot[1]]&&!Ye[ot[2]]&&!Ye[ot[3]]){var ht=$e[ot[0]],bt=$e[ot[1]],Et=$e[ot[2]],kt=$e[ot[3]],xt=ue(bt,ht,we,Ee),Ft=ue(Et,ht,we,Ee),Ot=ue(kt,ht,we,Ee);b?(Ve=oe(je,[ht,xt,Ft],[ge[ot[0]],-1,-1])||Ve,Ve=oe(je,[ht,Ft,Ot],[ge[ot[0]],-1,-1])||Ve,Ve=oe(je,[ht,Ot,xt],[ge[ot[0]],-1,-1])||Ve):Ve=oe(null,[xt,Ft,Ot],[-1,-1,-1])||Ve,st=!0}})),Ve}function xe(je,ge,we,Ee,Ve,$e,Ye,st,ot,ht,bt){var Et=!1;return L&&(re(je,"A")&&(Et=pe(null,[ge,we,Ee,$e],ht,bt)||Et),re(je,"B")&&(Et=pe(null,[we,Ee,Ve,ot],ht,bt)||Et),re(je,"C")&&(Et=pe(null,[we,$e,Ye,ot],ht,bt)||Et),re(je,"D")&&(Et=pe(null,[Ee,$e,st,ot],ht,bt)||Et),re(je,"E")&&(Et=pe(null,[we,Ee,$e,ot],ht,bt)||Et)),b&&(Et=pe(je,[we,Ee,$e,ot],ht,bt)||Et),Et}function Pe(je,ge,we,Ee,Ve,$e,Ye,st){return[st[0]===!0||me(je,de([ge,we,Ee]),[ge,we,Ee],$e,Ye),st[1]===!0||me(je,de([Ee,Ve,ge]),[Ee,Ve,ge],$e,Ye)]}function _e(je,ge,we,Ee,Ve,$e,Ye,st,ot){return st?Pe(je,ge,we,Ve,Ee,$e,Ye,ot):Pe(je,we,Ve,Ee,ge,$e,Ye,ot)}function Me(je,ge,we,Ee,Ve,$e,Ye){var st,ot,ht,bt,Et=!1,kt=function(){Et=me(je,[st,ot,ht],[-1,-1,-1],Ve,$e)||Et,Et=me(je,[ht,bt,st],[-1,-1,-1],Ve,$e)||Et},xt=Ye[0],Ft=Ye[1],Ot=Ye[2];return xt&&(st=X(de([j(ge,we-0,Ee-0)])[0],de([j(ge-1,we-0,Ee-0)])[0],xt),ot=X(de([j(ge,we-0,Ee-1)])[0],de([j(ge-1,we-0,Ee-1)])[0],xt),ht=X(de([j(ge,we-1,Ee-1)])[0],de([j(ge-1,we-1,Ee-1)])[0],xt),bt=X(de([j(ge,we-1,Ee-0)])[0],de([j(ge-1,we-1,Ee-0)])[0],xt),kt()),Ft&&(st=X(de([j(ge-0,we,Ee-0)])[0],de([j(ge-0,we-1,Ee-0)])[0],Ft),ot=X(de([j(ge-0,we,Ee-1)])[0],de([j(ge-0,we-1,Ee-1)])[0],Ft),ht=X(de([j(ge-1,we,Ee-1)])[0],de([j(ge-1,we-1,Ee-1)])[0],Ft),bt=X(de([j(ge-1,we,Ee-0)])[0],de([j(ge-1,we-1,Ee-0)])[0],Ft),kt()),Ot&&(st=X(de([j(ge-0,we-0,Ee)])[0],de([j(ge-0,we-0,Ee-1)])[0],Ot),ot=X(de([j(ge-0,we-1,Ee)])[0],de([j(ge-0,we-1,Ee-1)])[0],Ot),ht=X(de([j(ge-1,we-1,Ee)])[0],de([j(ge-1,we-1,Ee-1)])[0],Ot),bt=X(de([j(ge-1,we-0,Ee)])[0],de([j(ge-1,we-0,Ee-1)])[0],Ot),kt()),Et}function Se(je,ge,we,Ee,Ve,$e,Ye,st,ot,ht,bt,Et){var kt=je;return Et?(L&&je==="even"&&(kt=null),xe(kt,ge,we,Ee,Ve,$e,Ye,st,ot,ht,bt)):(L&&je==="odd"&&(kt=null),xe(kt,ot,st,Ye,$e,Ve,Ee,we,ge,ht,bt))}function Ce(je,ge,we,Ee,Ve){for(var $e=[],Ye=0,st=0;stMath.abs($e-U)?[$,$e]:[$e,U];L=!0,be(ge,Ye[0],Ye[1]),L=!1}}var st=[[Math.min(G,U),Math.max(G,U)],[Math.min($,q),Math.max($,q)]];["x","y","z"].forEach(function(ot){for(var ht=[],bt=0;bt0&&(Bt.push(Ke.id),ot==="x"?qt.push([Ke.distRatio,0,0]):ot==="y"?qt.push([0,Ke.distRatio,0]):qt.push([0,0,Ke.distRatio]))}else Ot=ze(1,ot==="x"?F-1:ot==="y"?B-1:N-1);Bt.length>0&&(ht[Et]=ot==="x"?ke(je,Bt,kt,xt,qt,ht[Et]):ot==="y"?Le(je,Bt,kt,xt,qt,ht[Et]):Be(je,Bt,kt,xt,qt,ht[Et]),Et++),Ot.length>0&&(ht[Et]=ot==="x"?Ce(je,Ot,kt,xt,ht[Et]):ot==="y"?ae(je,Ot,kt,xt,ht[Et]):fe(je,Ot,kt,xt,ht[Et]),Et++)}var Je=s.caps[ot];Je.show&&Je.fill&&(Q(Je.fill),ht[Et]=ot==="x"?Ce(je,[0,F-1],kt,xt,ht[Et]):ot==="y"?ae(je,[0,B-1],kt,xt,ht[Et]):fe(je,[0,N-1],kt,xt,ht[Et]),Et++)}}),R===0&&te(),s._meshX=m,s._meshY=w,s._meshZ=y,s._meshIntensity=S,s._Xs=I,s._Ys=O,s._Zs=z}(),s}T.exports={findNearestOnAxis:f,generateIsoMeshes:o,createIsosurfaceTrace:function(s,c){var h=s.glplot.gl,m=d({gl:h}),w=new l(s,m,c.uid);return m._trace=w,w.update(c),s.glplot.add(m),w}}},82738:function(T,p,t){var d=t(71828),g=t(73972),i=t(16249),M=t(1586);function v(f,l,a,u,o){var s=o("isomin"),c=o("isomax");c!=null&&s!=null&&s>c&&(l.isomin=null,l.isomax=null);var h=o("x"),m=o("y"),w=o("z"),y=o("value");h&&h.length&&m&&m.length&&w&&w.length&&y&&y.length?(g.getComponentMethod("calendars","handleTraceDefaults")(f,l,["x","y","z"],u),o("valuehoverformat"),["x","y","z"].forEach(function(S){o(S+"hoverformat");var _="caps."+S;o(_+".show")&&o(_+".fill");var k="slices."+S;o(k+".show")&&(o(k+".fill"),o(k+".locations"))}),o("spaceframe.show")&&o("spaceframe.fill"),o("surface.show")&&(o("surface.count"),o("surface.fill"),o("surface.pattern")),o("contour.show")&&(o("contour.color"),o("contour.width")),["text","hovertext","hovertemplate","lighting.ambient","lighting.diffuse","lighting.specular","lighting.roughness","lighting.fresnel","lighting.vertexnormalsepsilon","lighting.facenormalsepsilon","lightposition.x","lightposition.y","lightposition.z","flatshading","opacity"].forEach(function(S){o(S)}),M(f,l,u,o,{prefix:"",cLetter:"c"}),l._length=null):l.visible=!1}T.exports={supplyDefaults:function(f,l,a,u){v(f,l,0,u,function(o,s){return d.coerce(f,l,i,o,s)})},supplyIsoDefaults:v}},64943:function(T,p,t){T.exports={attributes:t(16249),supplyDefaults:t(82738).supplyDefaults,calc:t(56959),colorbar:{min:"cmin",max:"cmax"},plot:t(22674).createIsosurfaceTrace,moduleType:"trace",name:"isosurface",basePlotModule:t(58547),categories:["gl3d","showLegend"],meta:{}}},2418:function(T,p,t){var d=t(50693),g=t(12663).axisHoverFormat,i=t(5386).fF,M=t(54532),v=t(9012),f=t(1426).extendFlat;T.exports=f({x:{valType:"data_array",editType:"calc+clearAxisTypes"},y:{valType:"data_array",editType:"calc+clearAxisTypes"},z:{valType:"data_array",editType:"calc+clearAxisTypes"},i:{valType:"data_array",editType:"calc"},j:{valType:"data_array",editType:"calc"},k:{valType:"data_array",editType:"calc"},text:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertemplate:i({editType:"calc"}),xhoverformat:g("x"),yhoverformat:g("y"),zhoverformat:g("z"),delaunayaxis:{valType:"enumerated",values:["x","y","z"],dflt:"z",editType:"calc"},alphahull:{valType:"number",dflt:-1,editType:"calc"},intensity:{valType:"data_array",editType:"calc"},intensitymode:{valType:"enumerated",values:["vertex","cell"],dflt:"vertex",editType:"calc"},color:{valType:"color",editType:"calc"},vertexcolor:{valType:"data_array",editType:"calc"},facecolor:{valType:"data_array",editType:"calc"},transforms:void 0},d("",{colorAttr:"`intensity`",showScaleDflt:!0,editTypeOverride:"calc"}),{opacity:M.opacity,flatshading:{valType:"boolean",dflt:!1,editType:"calc"},contour:{show:f({},M.contours.x.show,{}),color:M.contours.x.color,width:M.contours.x.width,editType:"calc"},lightposition:{x:f({},M.lightposition.x,{dflt:1e5}),y:f({},M.lightposition.y,{dflt:1e5}),z:f({},M.lightposition.z,{dflt:0}),editType:"calc"},lighting:f({vertexnormalsepsilon:{valType:"number",min:0,max:1,dflt:1e-12,editType:"calc"},facenormalsepsilon:{valType:"number",min:0,max:1,dflt:1e-6,editType:"calc"},editType:"calc"},M.lighting),hoverinfo:f({},v.hoverinfo,{editType:"calc"}),showlegend:f({},v.showlegend,{dflt:!1})})},82932:function(T,p,t){var d=t(78803);T.exports=function(g,i){i.intensity&&d(g,i,{vals:i.intensity,containerStr:"",cLetter:"c"})}},91134:function(T,p,t){var d=t(9330).gl_mesh3d,g=t(9330).delaunay_triangulate,i=t(9330).alpha_shape,M=t(9330).convex_hull,v=t(81697).parseColorScale,f=t(78614),l=t(21081).extractOpts,a=t(90060);function u(w,y,S){this.scene=w,this.uid=S,this.mesh=y,this.name="",this.color="#fff",this.data=null,this.showContour=!1}var o=u.prototype;function s(w){for(var y=[],S=w.length,_=0;_=y-.5)return!1;return!0}o.handlePick=function(w){if(w.object===this.mesh){var y=w.index=w.data.index;w.data._cellCenter?w.traceCoordinate=w.data.dataCoordinate:w.traceCoordinate=[this.data.x[y],this.data.y[y],this.data.z[y]];var S=this.data.hovertext||this.data.text;return Array.isArray(S)&&S[y]!==void 0?w.textLabel=S[y]:S&&(w.textLabel=S),!0}},o.update=function(w){var y=this.scene,S=y.fullSceneLayout;this.data=w;var _,k=w.x.length,E=a(c(S.xaxis,w.x,y.dataScale[0],w.xcalendar),c(S.yaxis,w.y,y.dataScale[1],w.ycalendar),c(S.zaxis,w.z,y.dataScale[2],w.zcalendar));if(w.i&&w.j&&w.k){if(w.i.length!==w.j.length||w.j.length!==w.k.length||!m(w.i,k)||!m(w.j,k)||!m(w.k,k))return;_=a(h(w.i),h(w.j),h(w.k))}else _=w.alphahull===0?M(E):w.alphahull>0?i(w.alphahull,E):function(b,R){for(var I=["x","y","z"].indexOf(b),O=[],z=R.length,F=0;Fx):E=F>I,x=F;var B=h(I,O,z,F);B.pos=R,B.yc=(I+F)/2,B.i=b,B.dir=E?"increasing":"decreasing",B.x=B.pos,B.y=[z,O],A&&(B.orig_p=o[b]),_&&(B.tx=u.text[b]),k&&(B.htx=u.hovertext[b]),L.push(B)}else L.push({pos:R,empty:!0})}return u._extremes[c._id]=i.findExtremes(c,d.concat(y,w),{padded:!0}),L.length&&(L[0].t={labels:{open:g(a,"open:")+" ",high:g(a,"high:")+" ",low:g(a,"low:")+" ",close:g(a,"close:")+" "}}),L}T.exports={calc:function(a,u){var o=i.getFromId(a,u.xaxis),s=i.getFromId(a,u.yaxis),c=function(S,_,k){var E=k._minDiff;if(!E){var x,A=S._fullData,L=[];for(E=1/0,x=0;x"+_.labels[O]+d.hoverLabelText(y,z,S.yhoverformat):((I=g.extendFlat({},E)).y0=I.y1=F,I.yLabelVal=z,I.yLabel=_.labels[O]+d.hoverLabelText(y,z,S.yhoverformat),I.name="",k.push(I),b[z]=I)}return k}function o(s,c,h,m){var w=s.cd,y=s.ya,S=w[0].trace,_=w[0].t,k=a(s,c,h,m);if(!k)return[];var E=w[k.index],x=k.index=E.i,A=E.dir;function L(B){return _.labels[B]+d.hoverLabelText(y,S[B][x],S.yhoverformat)}var b=E.hi||S.hoverinfo,R=b.split("+"),I=b==="all",O=I||R.indexOf("y")!==-1,z=I||R.indexOf("text")!==-1,F=O?[L("open"),L("high"),L("low"),L("close")+" "+l[A]]:[];return z&&v(E,S,F),k.extraText=F.join("
"),k.y0=k.y1=y.c2p(E.yc,!0),[k]}T.exports={hoverPoints:function(s,c,h,m){return s.cd[0].trace.hoverlabel.split?u(s,c,h,m):o(s,c,h,m)},hoverSplit:u,hoverOnPoints:o}},54186:function(T,p,t){T.exports={moduleType:"trace",name:"ohlc",basePlotModule:t(93612),categories:["cartesian","svg","showLegend"],meta:{},attributes:t(2522),supplyDefaults:t(16169),calc:t(3485).calc,plot:t(72314),style:t(53101),hoverPoints:t(66449).hoverPoints,selectPoints:t(67324)}},14555:function(T,p,t){var d=t(73972),g=t(71828);T.exports=function(i,M,v,f){var l=v("x"),a=v("open"),u=v("high"),o=v("low"),s=v("close");if(v("hoverlabel.split"),d.getComponentMethod("calendars","handleTraceDefaults")(i,M,["x"],f),a&&u&&o&&s){var c=Math.min(a.length,u.length,o.length,s.length);return l&&(c=Math.min(c,g.minRowLength(l))),M._length=c,c}}},72314:function(T,p,t){var d=t(39898),g=t(71828);T.exports=function(i,M,v,f){var l=M.yaxis,a=M.xaxis,u=!!a.rangebreaks;g.makeTraceGroups(f,v,"trace ohlc").each(function(o){var s=d.select(this),c=o[0],h=c.t;if(c.trace.visible!==!0||h.empty)s.remove();else{var m=h.tickLen,w=s.selectAll("path").data(g.identity);w.enter().append("path"),w.exit().remove(),w.attr("d",function(y){if(y.empty)return"M0,0Z";var S=a.c2p(y.pos-m,!0),_=a.c2p(y.pos+m,!0),k=u?(S+_)/2:a.c2p(y.pos,!0);return"M"+S+","+l.c2p(y.o,!0)+"H"+k+"M"+k+","+l.c2p(y.h,!0)+"V"+l.c2p(y.l,!0)+"M"+_+","+l.c2p(y.c,!0)+"H"+k})}})}},67324:function(T){T.exports=function(p,t){var d,g=p.cd,i=p.xaxis,M=p.yaxis,v=[],f=g[0].t.bPos||0;if(t===!1)for(d=0;d=Z.length||X[Z[Q]]!==void 0)return!1;X[Z[Q]]=!0}return!0}(te))for(ne=0;ne0;y&&(m="array");var S=s("categoryorder",m);S==="array"?(s("categoryarray"),s("ticktext")):(delete u.categoryarray,delete u.ticktext),y||S!=="array"||(o.categoryorder="trace")}}T.exports=function(u,o,s,c){function h(_,k){return d.coerce(u,o,f,_,k)}var m=v(u,o,{name:"dimensions",handleItemDefaults:a}),w=function(_,k,E,x,A){A("line.shape"),A("line.hovertemplate");var L=A("line.color",x.colorway[0]);if(g(_,"line")&&d.isArrayOrTypedArray(L)){if(L.length)return A("line.colorscale"),i(_,k,x,A,{prefix:"line.",cLetter:"c"}),L.length;k.line.color=E}return 1/0}(u,o,s,c,h);M(o,c,h),Array.isArray(m)&&m.length||(o.visible=!1),l(o,m,"values",w),h("hoveron"),h("hovertemplate"),h("arrangement"),h("bundlecolors"),h("sortpaths"),h("counts");var y={family:c.font.family,size:Math.round(c.font.size),color:c.font.color};d.coerceFont(h,"labelfont",y);var S={family:c.font.family,size:Math.round(c.font.size/1.2),color:c.font.color};d.coerceFont(h,"tickfont",S)}},94873:function(T,p,t){T.exports={attributes:t(99506),supplyDefaults:t(14647),calc:t(28699),plot:t(45784),colorbar:{container:"line",min:"cmin",max:"cmax"},moduleType:"trace",name:"parcats",basePlotModule:t(27677),categories:["noOpacity"],meta:{}}},45460:function(T,p,t){var d=t(39898),g=t(81684).k4,i=t(72391),M=t(30211),v=t(71828),f=v.strTranslate,l=t(91424),a=t(84267),u=t(63893);function o(te,Z,X,Q){var re=Z._context.staticPlot,ie=te.map(U.bind(0,Z,X)),oe=Q.selectAll("g.parcatslayer").data([null]);oe.enter().append("g").attr("class","parcatslayer").style("pointer-events",re?"none":"all");var ue=oe.selectAll("g.trace.parcats").data(ie,s),ce=ue.enter().append("g").attr("class","trace parcats");ue.attr("transform",function(Se){return f(Se.x,Se.y)}),ce.append("g").attr("class","paths");var ye=ue.select("g.paths").selectAll("path.path").data(function(Se){return Se.paths},s);ye.attr("fill",function(Se){return Se.model.color});var de=ye.enter().append("path").attr("class","path").attr("stroke-opacity",0).attr("fill",function(Se){return Se.model.color}).attr("fill-opacity",0);k(de),ye.attr("d",function(Se){return Se.svgD}),de.empty()||ye.sort(h),ye.exit().remove(),ye.on("mouseover",m).on("mouseout",w).on("click",_),ce.append("g").attr("class","dimensions");var me=ue.select("g.dimensions").selectAll("g.dimension").data(function(Se){return Se.dimensions},s);me.enter().append("g").attr("class","dimension"),me.attr("transform",function(Se){return f(Se.x,0)}),me.exit().remove();var pe=me.selectAll("g.category").data(function(Se){return Se.categories},s),xe=pe.enter().append("g").attr("class","category");pe.attr("transform",function(Se){return f(0,Se.y)}),xe.append("rect").attr("class","catrect").attr("pointer-events","none"),pe.select("rect.catrect").attr("fill","none").attr("width",function(Se){return Se.width}).attr("height",function(Se){return Se.height}),x(xe);var Pe=pe.selectAll("rect.bandrect").data(function(Se){return Se.bands},s);Pe.each(function(){v.raiseToTop(this)}),Pe.attr("fill",function(Se){return Se.color});var _e=Pe.enter().append("rect").attr("class","bandrect").attr("stroke-opacity",0).attr("fill",function(Se){return Se.color}).attr("fill-opacity",0);Pe.attr("fill",function(Se){return Se.color}).attr("width",function(Se){return Se.width}).attr("height",function(Se){return Se.height}).attr("y",function(Se){return Se.y}).attr("cursor",function(Se){return Se.parcatsViewModel.arrangement==="fixed"?"default":Se.parcatsViewModel.arrangement==="perpendicular"?"ns-resize":"move"}),A(_e),Pe.exit().remove(),xe.append("text").attr("class","catlabel").attr("pointer-events","none");var Me=Z._fullLayout.paper_bgcolor;pe.select("text.catlabel").attr("text-anchor",function(Se){return c(Se)?"start":"end"}).attr("alignment-baseline","middle").style("text-shadow",u.makeTextShadow(Me)).style("fill","rgb(0, 0, 0)").attr("x",function(Se){return c(Se)?Se.width+5:-5}).attr("y",function(Se){return Se.height/2}).text(function(Se){return Se.model.categoryLabel}).each(function(Se){l.font(d.select(this),Se.parcatsViewModel.categorylabelfont),u.convertToTspans(d.select(this),Z)}),xe.append("text").attr("class","dimlabel"),pe.select("text.dimlabel").attr("text-anchor","middle").attr("alignment-baseline","baseline").attr("cursor",function(Se){return Se.parcatsViewModel.arrangement==="fixed"?"default":"ew-resize"}).attr("x",function(Se){return Se.width/2}).attr("y",-5).text(function(Se,Ce){return Ce===0?Se.parcatsViewModel.model.dimensions[Se.model.dimensionInd].dimensionLabel:null}).each(function(Se){l.font(d.select(this),Se.parcatsViewModel.labelfont)}),pe.selectAll("rect.bandrect").on("mouseover",O).on("mouseout",z),pe.exit().remove(),me.call(d.behavior.drag().origin(function(Se){return{x:Se.x,y:0}}).on("dragstart",F).on("drag",B).on("dragend",N)),ue.each(function(Se){Se.traceSelection=d.select(this),Se.pathSelection=d.select(this).selectAll("g.paths").selectAll("path.path"),Se.dimensionSelection=d.select(this).selectAll("g.dimensions").selectAll("g.dimension")}),ue.exit().remove()}function s(te){return te.key}function c(te){var Z=te.parcatsViewModel.dimensions.length,X=te.parcatsViewModel.dimensions[Z-1].model.dimensionInd;return te.model.dimensionInd===X}function h(te,Z){return te.model.rawColor>Z.model.rawColor?1:te.model.rawColor"),ke=d.mouse(ue)[0];M.loneHover({trace:ce,x:Pe-de.left+me.left,y:_e-de.top+me.top,text:be,color:te.model.color,borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontSize:10,fontColor:Me,idealAlign:ke1&&me.displayInd===de.dimensions.length-1?(Q=ce.left,re="left"):(Q=ce.left+ce.width,re="right");var Pe=ye.model.count,_e=ye.model.categoryLabel,Me=Pe/ye.parcatsViewModel.model.count,Se={countLabel:Pe,categoryLabel:_e,probabilityLabel:Me.toFixed(3)},Ce=[];ye.parcatsViewModel.hoverinfoItems.indexOf("count")!==-1&&Ce.push(["Count:",Se.countLabel].join(" ")),ye.parcatsViewModel.hoverinfoItems.indexOf("probability")!==-1&&Ce.push(["P("+Se.categoryLabel+"):",Se.probabilityLabel].join(" "));var ae=Ce.join("
");return{trace:pe,x:ie*(Q-Z.left),y:oe*(xe-Z.top),text:ae,color:"lightgray",borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontSize:12,fontColor:"black",idealAlign:re,hovertemplate:pe.hovertemplate,hovertemplateLabels:Se,eventData:[{data:pe._input,fullData:pe,count:Pe,category:_e,probability:Me}]}}function O(te){if(!te.parcatsViewModel.dragDimension&&te.parcatsViewModel.hoverinfoItems.indexOf("skip")===-1){if(d.mouse(this)[1]<-1)return;var Z,X=te.parcatsViewModel.graphDiv,Q=X._fullLayout,re=Q._paperdiv.node().getBoundingClientRect(),ie=te.parcatsViewModel.hoveron,oe=this;ie==="color"?(function(ue){var ce=d.select(ue).datum(),ye=L(ce);E(ye),ye.each(function(){v.raiseToTop(this)}),d.select(ue.parentNode).selectAll("rect.bandrect").filter(function(de){return de.color===ce.color}).each(function(){v.raiseToTop(this),d.select(this).attr("stroke","black").attr("stroke-width",1.5)})}(oe),R(oe,"plotly_hover",d.event)):(function(ue){d.select(ue.parentNode).selectAll("rect.bandrect").each(function(ce){var ye=L(ce);E(ye),ye.each(function(){v.raiseToTop(this)})}),d.select(ue.parentNode).select("rect.catrect").attr("stroke","black").attr("stroke-width",2.5)}(oe),b(oe,"plotly_hover",d.event)),te.parcatsViewModel.hoverinfoItems.indexOf("none")===-1&&(ie==="category"?Z=I(X,re,oe):ie==="color"?Z=function(ue,ce,ye){ue._fullLayout._calcInverseTransform(ue);var de,me,pe=ue._fullLayout._invScaleX,xe=ue._fullLayout._invScaleY,Pe=ye.getBoundingClientRect(),_e=d.select(ye).datum(),Me=_e.categoryViewModel,Se=Me.parcatsViewModel,Ce=Se.model.dimensions[Me.model.dimensionInd],ae=Se.trace,fe=Pe.y+Pe.height/2;Se.dimensions.length>1&&Ce.displayInd===Se.dimensions.length-1?(de=Pe.left,me="left"):(de=Pe.left+Pe.width,me="right");var be=Me.model.categoryLabel,ke=_e.parcatsViewModel.model.count,Le=0;_e.categoryViewModel.bands.forEach(function(st){st.color===_e.color&&(Le+=st.count)});var Be=Me.model.count,ze=0;Se.pathSelection.each(function(st){st.model.color===_e.color&&(ze+=st.model.count)});var je=Le/ke,ge=Le/ze,we=Le/Be,Ee={countLabel:ke,categoryLabel:be,probabilityLabel:je.toFixed(3)},Ve=[];Me.parcatsViewModel.hoverinfoItems.indexOf("count")!==-1&&Ve.push(["Count:",Ee.countLabel].join(" ")),Me.parcatsViewModel.hoverinfoItems.indexOf("probability")!==-1&&(Ve.push("P(color ∩ "+be+"): "+Ee.probabilityLabel),Ve.push("P("+be+" | color): "+ge.toFixed(3)),Ve.push("P(color | "+be+"): "+we.toFixed(3)));var $e=Ve.join("
"),Ye=a.mostReadable(_e.color,["black","white"]);return{trace:ae,x:pe*(de-ce.left),y:xe*(fe-ce.top),text:$e,color:_e.color,borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontColor:Ye,fontSize:10,idealAlign:me,hovertemplate:ae.hovertemplate,hovertemplateLabels:Ee,eventData:[{data:ae._input,fullData:ae,category:be,count:ke,probability:je,categorycount:Be,colorcount:ze,bandcolorcount:Le}]}}(X,re,oe):ie==="dimension"&&(Z=function(ue,ce,ye){var de=[];return d.select(ye.parentNode.parentNode).selectAll("g.category").select("rect.catrect").each(function(){de.push(I(ue,ce,this))}),de}(X,re,oe)),Z&&M.loneHover(Z,{container:Q._hoverlayer.node(),outerContainer:Q._paper.node(),gd:X}))}}function z(te){var Z=te.parcatsViewModel;Z.dragDimension||(k(Z.pathSelection),x(Z.dimensionSelection.selectAll("g.category")),A(Z.dimensionSelection.selectAll("g.category").selectAll("rect.bandrect")),M.loneUnhover(Z.graphDiv._fullLayout._hoverlayer.node()),Z.pathSelection.sort(h),Z.hoverinfoItems.indexOf("skip")!==-1)||(te.parcatsViewModel.hoveron==="color"?R(this,"plotly_unhover",d.event):b(this,"plotly_unhover",d.event))}function F(te){te.parcatsViewModel.arrangement!=="fixed"&&(te.dragDimensionDisplayInd=te.model.displayInd,te.initialDragDimensionDisplayInds=te.parcatsViewModel.model.dimensions.map(function(Z){return Z.displayInd}),te.dragHasMoved=!1,te.dragCategoryDisplayInd=null,d.select(this).selectAll("g.category").select("rect.catrect").each(function(Z){var X=d.mouse(this)[0],Q=d.mouse(this)[1];-2<=X&&X<=Z.width+2&&-2<=Q&&Q<=Z.height+2&&(te.dragCategoryDisplayInd=Z.model.displayInd,te.initialDragCategoryDisplayInds=te.model.categories.map(function(re){return re.displayInd}),Z.model.dragY=Z.y,v.raiseToTop(this.parentNode),d.select(this.parentNode).selectAll("rect.bandrect").each(function(re){re.yde.y+de.height/2&&(ie.model.displayInd=de.model.displayInd,de.model.displayInd=ue),te.dragCategoryDisplayInd=ie.model.displayInd}if(te.dragCategoryDisplayInd===null||te.parcatsViewModel.arrangement==="freeform"){re.model.dragX=d.event.x;var me=te.parcatsViewModel.dimensions[X],pe=te.parcatsViewModel.dimensions[Q];me!==void 0&&re.model.dragXpe.x&&(re.model.displayInd=pe.model.displayInd,pe.model.displayInd=te.dragDimensionDisplayInd),te.dragDimensionDisplayInd=re.model.displayInd}H(te.parcatsViewModel),q(te.parcatsViewModel),$(te.parcatsViewModel),j(te.parcatsViewModel)}}function N(te){if(te.parcatsViewModel.arrangement!=="fixed"&&te.dragDimensionDisplayInd!==null){d.select(this).selectAll("text").attr("font-weight","normal");var Z={},X=W(te.parcatsViewModel),Q=te.parcatsViewModel.model.dimensions.map(function(de){return de.displayInd}),re=te.initialDragDimensionDisplayInds.some(function(de,me){return de!==Q[me]});re&&Q.forEach(function(de,me){var pe=te.parcatsViewModel.model.dimensions[me].containerInd;Z["dimensions["+pe+"].displayindex"]=de});var ie=!1;if(te.dragCategoryDisplayInd!==null){var oe=te.model.categories.map(function(de){return de.displayInd});if(ie=te.initialDragCategoryDisplayInds.some(function(de,me){return de!==oe[me]})){var ue=te.model.categories.slice().sort(function(de,me){return de.displayInd-me.displayInd}),ce=ue.map(function(de){return de.categoryValue}),ye=ue.map(function(de){return de.categoryLabel});Z["dimensions["+te.model.containerInd+"].categoryarray"]=[ce],Z["dimensions["+te.model.containerInd+"].ticktext"]=[ye],Z["dimensions["+te.model.containerInd+"].categoryorder"]="array"}}te.parcatsViewModel.hoverinfoItems.indexOf("skip")===-1&&!te.dragHasMoved&&te.potentialClickBand&&(te.parcatsViewModel.hoveron==="color"?R(te.potentialClickBand,"plotly_click",d.event.sourceEvent):b(te.potentialClickBand,"plotly_click",d.event.sourceEvent)),te.model.dragX=null,te.dragCategoryDisplayInd!==null&&(te.parcatsViewModel.dimensions[te.dragDimensionDisplayInd].categories[te.dragCategoryDisplayInd].model.dragY=null,te.dragCategoryDisplayInd=null),te.dragDimensionDisplayInd=null,te.parcatsViewModel.dragDimension=null,te.dragHasMoved=null,te.potentialClickBand=null,H(te.parcatsViewModel),q(te.parcatsViewModel),d.transition().duration(300).ease("cubic-in-out").each(function(){$(te.parcatsViewModel,!0),j(te.parcatsViewModel,!0)}).each("end",function(){(re||ie)&&i.restyle(te.parcatsViewModel.graphDiv,Z,[X])})}}function W(te){for(var Z,X=te.graphDiv._fullData,Q=0;Q=0;oe--)ye+="C"+ce[oe]+","+(Z[oe+1]+Q)+" "+ue[oe]+","+(Z[oe]+Q)+" "+(te[oe]+X[oe])+","+(Z[oe]+Q),ye+="l-"+X[oe]+",0 ";return ye+"Z"}function q(te){var Z=te.dimensions,X=te.model,Q=Z.map(function(Ee){return Ee.categories.map(function(Ve){return Ve.y})}),re=te.model.dimensions.map(function(Ee){return Ee.categories.map(function(Ve){return Ve.displayInd})}),ie=te.model.dimensions.map(function(Ee){return Ee.displayInd}),oe=te.dimensions.map(function(Ee){return Ee.model.dimensionInd}),ue=Z.map(function(Ee){return Ee.x}),ce=Z.map(function(Ee){return Ee.width}),ye=[];for(var de in X.paths)X.paths.hasOwnProperty(de)&&ye.push(X.paths[de]);function me(Ee){var Ve=Ee.categoryInds.map(function($e,Ye){return re[Ye][$e]});return oe.map(function($e){return Ve[$e]})}ye.sort(function(Ee,Ve){var $e=me(Ee),Ye=me(Ve);return te.sortpaths==="backward"&&($e.reverse(),Ye.reverse()),$e.push(Ee.valueInds[0]),Ye.push(Ve.valueInds[0]),te.bundlecolors&&($e.unshift(Ee.rawColor),Ye.unshift(Ve.rawColor)),$eYe?1:0});for(var pe=new Array(ye.length),xe=Z[0].model.count,Pe=Z[0].categories.map(function(Ee){return Ee.height}).reduce(function(Ee,Ve){return Ee+Ve}),_e=0;_e0?Pe*(Se.count/xe):0;for(var Ce,ae=new Array(Q.length),fe=0;fe1?(te.width-80-16)/(Q-1):0)*re;var ie,oe,ue,ce,ye,de=[],me=te.model.maxCats,pe=Z.categories.length,xe=Z.count,Pe=te.height-8*(me-1),_e=8*(me-pe)/2,Me=Z.categories.map(function(Se){return{displayInd:Se.displayInd,categoryInd:Se.categoryInd}});for(Me.sort(function(Se,Ce){return Se.displayInd-Ce.displayInd}),ye=0;ye0?oe.count/xe*Pe:0,ue={key:oe.valueInds[0],model:oe,width:16,height:ie,y:oe.dragY!==null?oe.dragY:_e,bands:[],parcatsViewModel:te},_e=_e+ie+8,de.push(ue);return{key:Z.dimensionInd,x:Z.dragX!==null?Z.dragX:X,y:0,width:16,model:Z,categories:de,parcatsViewModel:te,dragCategoryDisplayInd:null,dragDimensionDisplayInd:null,initialDragDimensionDisplayInds:null,initialDragCategoryDisplayInds:null,dragHasMoved:null,potentialClickBand:null}}T.exports=function(te,Z,X,Q){o(X,te,Q,Z)}},45784:function(T,p,t){var d=t(45460);T.exports=function(g,i,M,v){var f=g._fullLayout,l=f._paper,a=f._size;d(g,l,i,{width:a.w,height:a.h,margin:{t:a.t,r:a.r,b:a.b,l:a.l}},M,v)}},73362:function(T,p,t){var d=t(50693),g=t(13838),i=t(41940),M=t(27670).Y,v=t(1426).extendFlat,f=t(44467).templatedArray;T.exports={domain:M({name:"parcoords",trace:!0,editType:"plot"}),labelangle:{valType:"angle",dflt:0,editType:"plot"},labelside:{valType:"enumerated",values:["top","bottom"],dflt:"top",editType:"plot"},labelfont:i({editType:"plot"}),tickfont:i({editType:"plot"}),rangefont:i({editType:"plot"}),dimensions:f("dimension",{label:{valType:"string",editType:"plot"},tickvals:v({},g.tickvals,{editType:"plot"}),ticktext:v({},g.ticktext,{editType:"plot"}),tickformat:v({},g.tickformat,{editType:"plot"}),visible:{valType:"boolean",dflt:!0,editType:"plot"},range:{valType:"info_array",items:[{valType:"number",editType:"plot"},{valType:"number",editType:"plot"}],editType:"plot"},constraintrange:{valType:"info_array",freeLength:!0,dimensions:"1-2",items:[{valType:"any",editType:"plot"},{valType:"any",editType:"plot"}],editType:"plot"},multiselect:{valType:"boolean",dflt:!0,editType:"plot"},values:{valType:"data_array",editType:"calc"},editType:"calc"}),line:v({editType:"calc"},d("line",{colorscaleDflt:"Viridis",autoColorDflt:!1,editTypeOverride:"calc"})),unselected:{line:{color:{valType:"color",dflt:"#7f7f7f",editType:"plot"},opacity:{valType:"number",min:0,max:1,dflt:"auto",editType:"plot"},editType:"plot"},editType:"plot"}}},57920:function(T,p,t){var d=t(25706),g=t(39898),i=t(28984).keyFun,M=t(28984).repeat,v=t(71828).sorterAsc,f=t(71828).strTranslate,l=d.bar.snapRatio;function a(I,O){return I*(1-l)+O*l}var u=d.bar.snapClose;function o(I,O){return I*(1-u)+O*u}function s(I,O,z,F){if(function(ne,te){for(var Z=0;Z=te[Z][0]&&ne<=te[Z][1])return!0;return!1}(z,F))return z;var B=I?-1:1,N=0,W=O.length-1;if(B<0){var j=N;N=W,W=j}for(var $=O[N],U=$,G=N;B*GO){q=z;break}}if(B=U,isNaN(B)&&(B=isNaN(G)||isNaN(q)?isNaN(G)?q:G:O-$[G][1]<$[q][0]-O?G:q),!isNaN(B)){var ne=$[B],te=function(re,ie){var oe=d.bar.handleHeight;if(!(ie>re[1]+oe||ie=.9*re[1]+.1*re[0]?"n":ie<=.9*re[0]+.1*re[1]?"s":"ns"}(ne,O);te&&(N.interval=j[B],N.intervalPix=ne,N.region=te)}}if(I.ordinal&&!N.region){var Z=I.unitTickvals,X=I.unitToPaddedPx.invert(O);for(z=0;z=Q[0]&&X<=Q[1]){N.clickableOrdinalRange=Q;break}}}return N}function E(I,O){g.event.sourceEvent.stopPropagation();var z=O.height-g.mouse(I)[1]-2*d.verticalPadding,F=O.brush.svgBrush;F.wasDragged=!0,F._dragging=!0,F.grabbingBar?F.newExtent=[z-F.grabPoint,z+F.barLength-F.grabPoint].map(O.unitToPaddedPx.invert):F.newExtent=[F.startExtent,O.unitToPaddedPx.invert(z)].sort(v),O.brush.filterSpecified=!0,F.extent=F.stayingIntervals.concat([F.newExtent]),F.brushCallback(O),_(I.parentNode)}function x(I,O){var z=k(O,O.height-g.mouse(I)[1]-2*d.verticalPadding),F="crosshair";z.clickableOrdinalRange?F="pointer":z.region&&(F=z.region+"-resize"),g.select(document.body).style("cursor",F)}function A(I){I.on("mousemove",function(O){g.event.preventDefault(),O.parent.inBrushDrag||x(this,O)}).on("mouseleave",function(O){O.parent.inBrushDrag||y()}).call(g.behavior.drag().on("dragstart",function(O){(function(z,F){g.event.sourceEvent.stopPropagation();var B=F.height-g.mouse(z)[1]-2*d.verticalPadding,N=F.unitToPaddedPx.invert(B),W=F.brush,j=k(F,B),$=j.interval,U=W.svgBrush;if(U.wasDragged=!1,U.grabbingBar=j.region==="ns",U.grabbingBar){var G=$.map(F.unitToPaddedPx);U.grabPoint=B-G[0]-d.verticalPadding,U.barLength=G[1]-G[0]}U.clickableOrdinalRange=j.clickableOrdinalRange,U.stayingIntervals=F.multiselect&&W.filterSpecified?W.filter.getConsolidated():[],$&&(U.stayingIntervals=U.stayingIntervals.filter(function(q){return q[0]!==$[0]&&q[1]!==$[1]})),U.startExtent=j.region?$[j.region==="s"?1:0]:N,F.parent.inBrushDrag=!0,U.brushStartCallback()})(this,O)}).on("drag",function(O){E(this,O)}).on("dragend",function(O){(function(z,F){var B=F.brush,N=B.filter,W=B.svgBrush;W._dragging||(x(z,F),E(z,F),F.brush.svgBrush.wasDragged=!1),W._dragging=!1,g.event.sourceEvent.stopPropagation();var j=W.grabbingBar;if(W.grabbingBar=!1,W.grabLocation=void 0,F.parent.inBrushDrag=!1,y(),!W.wasDragged)return W.wasDragged=void 0,W.clickableOrdinalRange?B.filterSpecified&&F.multiselect?W.extent.push(W.clickableOrdinalRange):(W.extent=[W.clickableOrdinalRange],B.filterSpecified=!0):j?(W.extent=W.stayingIntervals,W.extent.length===0&&b(B)):b(B),W.brushCallback(F),_(z.parentNode),void W.brushEndCallback(B.filterSpecified?N.getConsolidated():[]);var $=function(){N.set(N.getConsolidated())};if(F.ordinal){var U=F.unitTickvals;U[U.length-1]W.newExtent[0];W.extent=W.stayingIntervals.concat(G?[W.newExtent]:[]),W.extent.length||b(B),W.brushCallback(F),G?_(z.parentNode,$):($(),_(z.parentNode))}else $();W.brushEndCallback(B.filterSpecified?N.getConsolidated():[])})(this,O)}))}function L(I,O){return I[0]-O[0]}function b(I){I.filterSpecified=!1,I.svgBrush.extent=[[-1/0,1/0]]}function R(I){for(var O,z=I.slice(),F=[],B=z.shift();B;){for(O=B.slice();(B=z.shift())&&B[0]<=O[1];)O[1]=Math.max(O[1],B[1]);F.push(O)}return F.length===1&&F[0][0]>F[0][1]&&(F=[]),F}T.exports={makeBrush:function(I,O,z,F,B,N){var W,j=function(){var $,U,G=[];return{set:function(q){(G=q.map(function(H){return H.slice().sort(v)}).sort(L)).length===1&&G[0][0]===-1/0&&G[0][1]===1/0&&(G=[[0,-1]]),$=R(G),U=G.reduce(function(H,ne){return[Math.min(H[0],ne[0]),Math.max(H[1],ne[1])]},[1/0,-1/0])},get:function(){return G.slice()},getConsolidated:function(){return $},getBounds:function(){return U}}}();return j.set(z),{filter:j,filterSpecified:O,svgBrush:{extent:[],brushStartCallback:F,brushCallback:(W=B,function($){var U=$.brush,G=function(H){return H.svgBrush.extent.map(function(ne){return ne.slice()})}(U),q=G.slice();U.filter.set(q),W()}),brushEndCallback:N}}},ensureAxisBrush:function(I,O,z){var F=I.selectAll("."+d.cn.axisBrush).data(M,i);F.enter().append("g").classed(d.cn.axisBrush,!0),function(B,N,W){var j=W._context.staticPlot,$=B.selectAll(".background").data(M);$.enter().append("rect").classed("background",!0).call(c).call(h).style("pointer-events",j?"none":"auto").attr("transform",f(0,d.verticalPadding)),$.call(A).attr("height",function(q){return q.height-d.verticalPadding});var U=B.selectAll(".highlight-shadow").data(M);U.enter().append("line").classed("highlight-shadow",!0).attr("x",-d.bar.width/2).attr("stroke-width",d.bar.width+d.bar.strokeWidth).attr("stroke",N).attr("opacity",d.bar.strokeOpacity).attr("stroke-linecap","butt"),U.attr("y1",function(q){return q.height}).call(S);var G=B.selectAll(".highlight").data(M);G.enter().append("line").classed("highlight",!0).attr("x",-d.bar.width/2).attr("stroke-width",d.bar.width-d.bar.strokeWidth).attr("stroke",d.bar.fillColor).attr("opacity",d.bar.fillOpacity).attr("stroke-linecap","butt"),G.attr("y1",function(q){return q.height}).call(S)}(F,O,z)},cleanRanges:function(I,O){if(Array.isArray(I[0])?(I=I.map(function(F){return F.sort(v)}),I=O.multiselect?R(I.sort(L)):[I[0]]):I=[I.sort(v)],O.tickvals){var z=O.tickvals.slice().sort(v);if(!(I=I.map(function(F){var B=[s(0,z,F[0],[]),s(1,z,F[1],[])];if(B[1]>B[0])return B}).filter(function(F){return F})).length)return}return I.length>1?I:I[0]}}},71791:function(T,p,t){T.exports={attributes:t(73362),supplyDefaults:t(3633),calc:t(24639),colorbar:{container:"line",min:"cmin",max:"cmax"},moduleType:"trace",name:"parcoords",basePlotModule:t(49351),categories:["gl","regl","noOpacity","noHover"],meta:{}}},49351:function(T,p,t){var d=t(39898),g=t(27659).a0,i=t(21341),M=t(77922);p.name="parcoords",p.plot=function(v){var f=g(v.calcdata,"parcoords")[0];f.length&&i(v,f)},p.clean=function(v,f,l,a){var u=a._has&&a._has("parcoords"),o=f._has&&f._has("parcoords");u&&!o&&(a._paperdiv.selectAll(".parcoords").remove(),a._glimages.selectAll("*").remove())},p.toSVG=function(v){var f=v._fullLayout._glimages,l=d.select(v).selectAll(".svg-container");l.filter(function(a,u){return u===l.size()-1}).selectAll(".gl-canvas-context, .gl-canvas-focus").each(function(){var a=this,u=a.toDataURL("image/png");f.append("svg:image").attr({xmlns:M.svg,"xlink:href":u,preserveAspectRatio:"none",x:0,y:0,width:a.style.width,height:a.style.height})}),window.setTimeout(function(){d.selectAll("#filterBarPattern").attr("id","filterBarPattern")},60)}},24639:function(T,p,t){var d=t(71828).isArrayOrTypedArray,g=t(21081),i=t(28984).wrap;T.exports=function(M,v){var f,l;return g.hasColorscale(v,"line")&&d(v.line.color)?(f=v.line.color,l=g.extractOpts(v.line).colorscale,g.calc(M,v,{vals:f,containerStr:"line",cLetter:"c"})):(f=function(a){for(var u=new Array(a),o=0;ou&&(d.log("parcoords traces support up to "+u+" dimensions at the moment"),S.splice(u));var _=v(c,h,{name:"dimensions",layout:w,handleItemDefaults:s}),k=function(x,A,L,b,R){var I=R("line.color",L);if(g(x,"line")&&d.isArrayOrTypedArray(I)){if(I.length)return R("line.colorscale"),i(x,A,b,R,{prefix:"line.",cLetter:"c"}),I.length;A.line.color=L}return 1/0}(c,h,m,w,y);M(h,w,y),Array.isArray(_)&&_.length||(h.visible=!1),o(h,_,"values",k);var E={family:w.font.family,size:Math.round(w.font.size/1.2),color:w.font.color};d.coerceFont(y,"labelfont",E),d.coerceFont(y,"tickfont",E),d.coerceFont(y,"rangefont",E),y("labelangle"),y("labelside"),y("unselected.line.color"),y("unselected.line.opacity")}},1602:function(T,p,t){var d=t(71828).isTypedArray;p.convertTypedArray=function(g){return d(g)?Array.prototype.slice.call(g):g},p.isOrdinal=function(g){return!!g.tickvals},p.isVisible=function(g){return g.visible||!("visible"in g)}},67618:function(T,p,t){var d=t(71791);d.plot=t(21341),T.exports=d},83398:function(T,p,t){var d=t(56068),g=d([`precision highp float; #define GLSLIFY 1 varying vec4 fragColor; @@ -176,11 +176,11 @@ varying vec4 fragColor; void main() { gl_FragColor = fragColor; } -`]),M=t(25706).maxDimensionCount,v=t(71828),h=new Uint8Array(4),l=new Uint8Array(4),a={shape:[256,1],format:"rgba",type:"uint8",mag:"nearest",min:"nearest"};function u(x,T,E,_,A){var L=x._gl;L.enable(L.SCISSOR_TEST),L.scissor(T,E,_,A),x.clear({color:[0,0,0,0],depth:1})}function s(x,T,E,_,A,L){var b=L.key;E.drawCompleted||(function(R){R.read({x:0,y:0,width:1,height:1,data:h})}(x),E.drawCompleted=!0),function R(I){var O=Math.min(_,A-I*_);I===0&&(window.cancelAnimationFrame(E.currentRafs[b]),delete E.currentRafs[b],u(x,L.scissorX,L.scissorY,L.scissorWidth,L.viewBoxSize[1])),E.clearOnly||(L.count=2*O,L.offset=2*I*_,T(L),I*_+O>>8*T)%256/255}function f(x,T,E){for(var _=new Array(8*T),A=0,L=0;Lie&&(ie=q[te].dim1.canvasX,X=te);Q===0&&u(O,0,0,E.canvasWidth,E.canvasHeight);var oe=function(Me){var Se,Ce,ae,he=[[],[]];for(ae=0;ae<64;ae++){var be=!Me&&aeoe._length&&(Pe=Pe.slice(0,oe._length));var _e,Me=oe.tickvals;function Se(ke,Le){return{val:ke,text:_e[Le]}}function Ce(ke,Le){return ke.val-Le.val}if(Array.isArray(Me)&&Me.length){_e=oe.ticktext,Array.isArray(_e)&&_e.length?_e.length>Me.length?_e=_e.slice(0,Me.length):Me.length>_e.length&&(Me=Me.slice(0,_e.length)):_e=Me.map(i(oe.tickformat));for(var ae=1;ae=Be||we>=ze)return;var Ee=ke.lineLayer.readPixel(ge,ze-1-we),Ve=Ee[3]!==0,Ye=Ve?Ee[2]+256*(Ee[1]+256*Ee[0]):null,$e={x:ge,y:we,clientX:Le.clientX,clientY:Le.clientY,dataIndex:ke.model.key,curveNumber:Ye};Ye!==ye&&(Ve?q.hover($e):q.unhover&&q.unhover($e),ye=Ye)}}),ce.style("opacity",function(ke){return ke.pick?0:1}),te.style("background","rgba(255, 255, 255, 0)");var de=te.selectAll("."+g.cn.parcoords).data(ue,c);de.exit().remove(),de.enter().append("g").classed(g.cn.parcoords,!0).style("shape-rendering","crispEdges").style("pointer-events","none"),de.attr("transform",function(ke){return l(ke.model.translateX,ke.model.translateY)});var me=de.selectAll("."+g.cn.parcoordsControlView).data(f,c);me.enter().append("g").classed(g.cn.parcoordsControlView,!0),me.attr("transform",function(ke){return l(ke.model.pad.l,ke.model.pad.t)});var pe=me.selectAll("."+g.cn.yAxis).data(function(ke){return ke.dimensions},c);pe.enter().append("g").classed(g.cn.yAxis,!0),me.each(function(ke){N(pe,ke,X)}),ce.each(function(ke){if(ke.viewModel){!ke.lineLayer||q?ke.lineLayer=x(this,ke):ke.lineLayer.update(ke),(ke.key||ke.key===0)&&(ke.viewModel[ke.key]=ke.lineLayer);var Le=!ke.context||q;ke.lineLayer.render(ke.viewModel.panels,Le)}}),pe.attr("transform",function(ke){return l(ke.xScale(ke.xIndex),0)}),pe.call(d.behavior.drag().origin(function(ke){return ke}).on("drag",function(ke){var Le=ke.parent;oe.linePickActive(!1),ke.x=Math.max(-g.overdrag,Math.min(ke.model.width+g.overdrag,d.event.x)),ke.canvasX=ke.x*ke.model.canvasPixelRatio,pe.sort(function(Be,ze){return Be.x-ze.x}).each(function(Be,ze){Be.xIndex=ze,Be.x=ke===Be?Be.x:Be.xScale(Be.xIndex),Be.canvasX=Be.x*Be.model.canvasPixelRatio}),N(pe,Le,X),pe.filter(function(Be){return Math.abs(ke.xIndex-Be.xIndex)!==0}).attr("transform",function(Be){return l(Be.xScale(Be.xIndex),0)}),d.select(this).attr("transform",l(ke.x,0)),pe.each(function(Be,ze,je){je===ke.parent.key&&(Le.dimensions[ze]=Be)}),Le.contextLayer&&Le.contextLayer.render(Le.panels,!1,!I(Le)),Le.focusLayer.render&&Le.focusLayer.render(Le.panels)}).on("dragend",function(ke){var Le=ke.parent;ke.x=ke.xScale(ke.xIndex),ke.canvasX=ke.x*ke.model.canvasPixelRatio,N(pe,Le,X),d.select(this).attr("transform",function(Be){return l(Be.x,0)}),Le.contextLayer&&Le.contextLayer.render(Le.panels,!1,!I(Le)),Le.focusLayer&&Le.focusLayer.render(Le.panels),Le.pickLayer&&Le.pickLayer.render(Le.panels,!0),oe.linePickActive(!0),q&&q.axesMoved&&q.axesMoved(Le.key,Le.dimensions.map(function(Be){return Be.crossfilterDimensionIndex}))})),pe.exit().remove();var xe=pe.selectAll("."+g.cn.axisOverlays).data(f,c);xe.enter().append("g").classed(g.cn.axisOverlays,!0),xe.selectAll("."+g.cn.axis).remove();var Pe=xe.selectAll("."+g.cn.axis).data(f,c);Pe.enter().append("g").classed(g.cn.axis,!0),Pe.each(function(ke){var Le=ke.model.height/ke.model.tickDistance,Be=ke.domainScale,ze=Be.domain();d.select(this).call(d.svg.axis().orient("left").tickSize(4).outerTickSize(2).ticks(Le,ke.tickFormat).tickValues(ke.ordinal?ze:null).tickFormat(function(je){return w.isOrdinal(ke)?je:W(ke.model.dimensions[ke.visibleIndex],je)}).scale(Be)),u.font(Pe.selectAll("text"),ke.model.tickFont)}),Pe.selectAll(".domain, .tick>line").attr("fill","none").attr("stroke","black").attr("stroke-opacity",.25).attr("stroke-width","1px"),Pe.selectAll("text").style("text-shadow",a.makeTextShadow(Q)).style("cursor","default");var _e=xe.selectAll("."+g.cn.axisHeading).data(f,c);_e.enter().append("g").classed(g.cn.axisHeading,!0);var Me=_e.selectAll("."+g.cn.axisTitle).data(f,c);Me.enter().append("text").classed(g.cn.axisTitle,!0).attr("text-anchor","middle").style("cursor","ew-resize").style("pointer-events",H?"none":"auto"),Me.text(function(ke){return ke.label}).each(function(ke){var Le=d.select(this);u.font(Le,ke.model.labelFont),a.convertToTspans(Le,Y)}).attr("transform",function(ke){var Le=B(ke.model.labelAngle,ke.model.labelSide),Be=g.axisTitleOffset;return(Le.dir>0?"":l(0,2*Be+ke.model.height))+h(Le.degrees)+l(-Be*Le.dx,-Be*Le.dy)}).attr("text-anchor",function(ke){var Le=B(ke.model.labelAngle,ke.model.labelSide);return 2*Math.abs(Le.dx)>Math.abs(Le.dy)?Le.dir*Le.dx<0?"start":"end":"middle"});var Se=xe.selectAll("."+g.cn.axisExtent).data(f,c);Se.enter().append("g").classed(g.cn.axisExtent,!0);var Ce=Se.selectAll("."+g.cn.axisExtentTop).data(f,c);Ce.enter().append("g").classed(g.cn.axisExtentTop,!0),Ce.attr("transform",l(0,-g.axisExtentOffset));var ae=Ce.selectAll("."+g.cn.axisExtentTopText).data(f,c);ae.enter().append("text").classed(g.cn.axisExtentTopText,!0).call(F),ae.text(function(ke){return j(ke,!0)}).each(function(ke){u.font(d.select(this),ke.model.rangeFont)});var he=Se.selectAll("."+g.cn.axisExtentBottom).data(f,c);he.enter().append("g").classed(g.cn.axisExtentBottom,!0),he.attr("transform",function(ke){return l(0,ke.model.height+g.axisExtentOffset)});var be=he.selectAll("."+g.cn.axisExtentBottomText).data(f,c);be.enter().append("text").classed(g.cn.axisExtentBottomText,!0).attr("dy","0.75em").call(F),be.text(function(ke){return j(ke,!1)}).each(function(ke){u.font(d.select(this),ke.model.rangeFont)}),S.ensureAxisBrush(xe,Q,Y)}},21341:function(k,m,t){var d=t(17171),y=t(79749),i=t(1602).isVisible,M={};function v(h,l,a){var u=l.indexOf(a),s=h.indexOf(u);return s===-1&&(s+=l.length),s}(k.exports=function(h,l){var a=h._fullLayout;if(y(h,[],M)){var u={},s={},o={},c={},f=a._size;l.forEach(function(p,w){var g=p[0].trace;o[w]=g.index;var S=c[w]=g._fullInput.index;u[w]=h.data[S].dimensions,s[w]=h.data[S].dimensions.slice()}),d(h,l,{width:f.w,height:f.h,margin:{t:f.t,r:f.r,b:f.b,l:f.l}},{filterChanged:function(p,w,g){var S=s[p][w],x=g.map(function(b){return b.slice()}),T="dimensions["+w+"].constraintrange",E=a._tracePreGUI[h._fullData[o[p]]._fullInput.uid];if(E[T]===void 0){var _=S.constraintrange;E[T]=_||null}var A=h._fullData[o[p]].dimensions[w];x.length?(x.length===1&&(x=x[0]),S.constraintrange=x,A.constraintrange=x.slice(),x=[x]):(delete S.constraintrange,delete A.constraintrange,x=null);var L={};L[T]=x,h.emit("plotly_restyle",[L,[c[p]]])},hover:function(p){h.emit("plotly_hover",p)},unhover:function(p){h.emit("plotly_unhover",p)},axesMoved:function(p,w){var g=function(S,x){return function(T,E){return v(S,x,T)-v(S,x,E)}}(w,s[p].filter(i));u[p].sort(g),s[p].filter(function(S){return!i(S)}).sort(function(S){return s[p].indexOf(S)}).forEach(function(S){u[p].splice(u[p].indexOf(S),1),u[p].splice(s[p].indexOf(S),0,S)}),h.emit("plotly_restyle",[{dimensions:[u[p]]},[c[p]]])}})}}).reglPrecompiled=M},34e3:function(k,m,t){var d=t(9012),y=t(27670).Y,i=t(41940),M=t(22399),v=t(5386).fF,h=t(5386).si,l=t(1426).extendFlat,a=i({editType:"plot",arrayOk:!0,colorEditType:"plot"});k.exports={labels:{valType:"data_array",editType:"calc"},label0:{valType:"number",dflt:0,editType:"calc"},dlabel:{valType:"number",dflt:1,editType:"calc"},values:{valType:"data_array",editType:"calc"},marker:{colors:{valType:"data_array",editType:"calc"},line:{color:{valType:"color",dflt:M.defaultLine,arrayOk:!0,editType:"style"},width:{valType:"number",min:0,dflt:0,arrayOk:!0,editType:"style"},editType:"calc"},editType:"calc"},text:{valType:"data_array",editType:"plot"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"style"},scalegroup:{valType:"string",dflt:"",editType:"calc"},textinfo:{valType:"flaglist",flags:["label","text","value","percent"],extras:["none"],editType:"calc"},hoverinfo:l({},d.hoverinfo,{flags:["label","text","value","percent","name"]}),hovertemplate:v({},{keys:["label","color","value","percent","text"]}),texttemplate:h({editType:"plot"},{keys:["label","color","value","percent","text"]}),textposition:{valType:"enumerated",values:["inside","outside","auto","none"],dflt:"auto",arrayOk:!0,editType:"plot"},textfont:l({},a,{}),insidetextorientation:{valType:"enumerated",values:["horizontal","radial","tangential","auto"],dflt:"auto",editType:"plot"},insidetextfont:l({},a,{}),outsidetextfont:l({},a,{}),automargin:{valType:"boolean",dflt:!1,editType:"plot"},title:{text:{valType:"string",dflt:"",editType:"plot"},font:l({},a,{}),position:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],editType:"plot"},editType:"plot"},domain:y({name:"pie",trace:!0,editType:"calc"}),hole:{valType:"number",min:0,max:1,dflt:0,editType:"calc"},sort:{valType:"boolean",dflt:!0,editType:"calc"},direction:{valType:"enumerated",values:["clockwise","counterclockwise"],dflt:"counterclockwise",editType:"calc"},rotation:{valType:"angle",dflt:0,editType:"calc"},pull:{valType:"number",min:0,max:1,dflt:0,arrayOk:!0,editType:"calc"},_deprecated:{title:{valType:"string",dflt:"",editType:"calc"},titlefont:l({},a,{}),titleposition:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],editType:"calc"}}}},13584:function(k,m,t){var d=t(74875);m.name="pie",m.plot=function(y,i,M,v){d.plotBasePlot(m.name,y,i,M,v)},m.clean=function(y,i,M,v){d.cleanBasePlot(m.name,y,i,M,v)}},32354:function(k,m,t){var d=t(92770),y=t(84267),i=t(7901),M={};function v(l){return function(a,u){return!!a&&!!(a=y(a)).isValid()&&(a=i.addOpacity(a,a.getAlpha()),l[u]||(l[u]=a),a)}}function h(l,a){var u,s=JSON.stringify(l),o=a[s];if(!o){for(o=l.slice(),u=0;u=0}),(a.type==="funnelarea"?A:a.sort)&&o.sort(function(O,z){return z.v-O.v}),o[0]&&(o[0].vTotal=_),o},crossTraceCalc:function(l,a){var u=(a||{}).type;u||(u="pie");var s=l._fullLayout,o=l.calcdata,c=s[u+"colorway"],f=s["_"+u+"colormap"];s["extend"+u+"colors"]&&(c=h(c,M));for(var p=0,w=0;w0){c=!0;break}}c||(o=0)}return{hasLabels:u,hasValues:s,len:o}}k.exports={handleLabelsAndValues:h,supplyDefaults:function(l,a,u,s){function o(E,_){return y.coerce(l,a,i,E,_)}var c=h(o("labels"),o("values")),f=c.len;if(a._hasLabels=c.hasLabels,a._hasValues=c.hasValues,!a._hasLabels&&a._hasValues&&(o("label0"),o("dlabel")),f){a._length=f,o("marker.line.width")&&o("marker.line.color"),o("marker.colors"),o("scalegroup");var p,w=o("text"),g=o("texttemplate");if(g||(p=o("textinfo",Array.isArray(w)?"text+percent":"percent")),o("hovertext"),o("hovertemplate"),g||p&&p!=="none"){var S=o("textposition");v(l,a,s,o,S,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),(Array.isArray(S)||S==="auto"||S==="outside")&&o("automargin"),(S==="inside"||S==="auto"||Array.isArray(S))&&o("insidetextorientation")}M(a,s,o);var x=o("hole");if(o("title.text")){var T=o("title.position",x?"middle center":"top center");x||T!=="middle center"||(a.title.position="top center"),y.coerceFont(o,"title.font",s.font)}o("sort"),o("direction"),o("rotation"),o("pull")}else a.visible=!1}}},20007:function(k,m,t){var d=t(23469).appendArrayMultiPointValues;k.exports=function(y,i){var M={curveNumber:i.index,pointNumbers:y.pts,data:i._input,fullData:i,label:y.label,color:y.color,value:y.v,percent:y.percent,text:y.text,bbox:y.bbox,v:y.v};return y.pts.length===1&&(M.pointNumber=M.i=y.pts[0]),d(M,i,y.pts),i.type==="funnelarea"&&(delete M.v,delete M.i),M}},53581:function(k,m,t){var d=t(71828);function y(i){return i.indexOf("e")!==-1?i.replace(/[.]?0+e/,"e"):i.indexOf(".")!==-1?i.replace(/[.]?0+$/,""):i}m.formatPiePercent=function(i,M){var v=y((100*i).toPrecision(3));return d.numSeparate(v,M)+"%"},m.formatPieValue=function(i,M){var v=y(i.toPrecision(10));return d.numSeparate(v,M)},m.getFirstFilled=function(i,M){if(Array.isArray(i))for(var v=0;v"),name:ie.hovertemplate||oe.indexOf("name")!==-1?ie.name:void 0,idealAlign:Q.pxmid[0]<0?"left":"right",color:p.castOption(xe.bgcolor,Q.pts)||Q.color,borderColor:p.castOption(xe.bordercolor,Q.pts),fontFamily:p.castOption(Pe.family,Q.pts),fontSize:p.castOption(Pe.size,Q.pts),fontColor:p.castOption(Pe.color,Q.pts),nameLength:p.castOption(xe.namelength,Q.pts),textAlign:p.castOption(xe.align,Q.pts),hovertemplate:p.castOption(ie.hovertemplate,Q.pts),hovertemplateLabels:Q,eventData:[w(Q,ie)]},{container:re._hoverlayer.node(),outerContainer:re._paper.node(),gd:G,inOut_bbox:_e}),Q.bbox=_e[0],Z._hasHoverLabel=!0}Z._hasHoverEvent=!0,G.emit("plotly_hover",{points:[w(Q,ie)],event:d.event})}}),U.on("mouseout",function(Q){var re=G._fullLayout,ie=G._fullData[Z.index],oe=d.select(this).datum();Z._hasHoverEvent&&(Q.originalEvent=d.event,G.emit("plotly_unhover",{points:[w(oe,ie)],event:d.event}),Z._hasHoverEvent=!1),Z._hasHoverLabel&&(i.loneUnhover(re._hoverlayer.node()),Z._hasHoverLabel=!1)}),U.on("click",function(Q){var re=G._fullLayout,ie=G._fullData[Z.index];G._dragging||re.hovermode===!1||(G._hoverdata=[w(Q,ie)],i.click(G,d.event))})}function x(U,G,q){var H=p.castOption(U.insidetextfont.color,G.pts);!H&&U._input.textfont&&(H=p.castOption(U._input.textfont.color,G.pts));var ne=p.castOption(U.insidetextfont.family,G.pts)||p.castOption(U.textfont.family,G.pts)||q.family,te=p.castOption(U.insidetextfont.size,G.pts)||p.castOption(U.textfont.size,G.pts)||q.size;return{color:H||M.contrast(G.color),family:ne,size:te}}function T(U,G){for(var q,H,ne=0;neBe&&Be>je||ze=-4;me-=2)pe(Math.PI*me,"tan");for(me=4;me>=-4;me-=2)pe(Math.PI*(me+1),"tan")}if(oe||ce){for(me=4;me>=-4;me-=2)pe(Math.PI*(me+1.5),"rad");for(me=4;me>=-4;me-=2)pe(Math.PI*(me+.5),"rad")}}if(X||ye||oe){var xe=Math.sqrt(U.width*U.width+U.height*U.height);if((te={scale:ne*H*2/xe,rCenter:1-ne,rotate:0}).textPosAngle=(G.startangle+G.stopangle)/2,te.scale>=1)return te;de.push(te)}(ye||ce)&&((te=_(U,H,Z,Q,re)).textPosAngle=(G.startangle+G.stopangle)/2,de.push(te)),(ye||ue)&&((te=A(U,H,Z,Q,re)).textPosAngle=(G.startangle+G.stopangle)/2,de.push(te));for(var Pe=0,_e=0,Me=0;Me=1)break}return de[Pe]}function _(U,G,q,H,ne){G=Math.max(0,G-2*f);var te=U.width/U.height,Z=R(te,H,G,q);return{scale:2*Z/U.height,rCenter:L(te,Z/G),rotate:b(ne)}}function A(U,G,q,H,ne){G=Math.max(0,G-2*f);var te=U.height/U.width,Z=R(te,H,G,q);return{scale:2*Z/U.width,rCenter:L(te,Z/G),rotate:b(ne+Math.PI/2)}}function L(U,G){return Math.cos(G)-U*G}function b(U){return(180/Math.PI*U+720)%180-90}function R(U,G,q,H){var ne=U+1/(2*Math.tan(G));return q*Math.min(1/(Math.sqrt(ne*ne+.5)+ne),H/(Math.sqrt(U*U+H/2)+U))}function I(U,G){return U.v!==G.vTotal||G.trace.hole?Math.min(1/(1+1/Math.sin(U.halfangle)),U.ring/2):1}function O(U,G){var q=G.pxmid[0],H=G.pxmid[1],ne=U.width/2,te=U.height/2;return q<0&&(ne*=-1),H<0&&(te*=-1),{scale:1,rCenter:1,rotate:0,x:ne+Math.abs(te)*(ne>0?1:-1)/2,y:te/(1+q*q/(H*H)),outside:!0}}function z(U,G){var q,H,ne,te=U.trace,Z={x:U.cx,y:U.cy},X={tx:0,ty:0};X.ty+=te.title.font.size,ne=B(te),te.title.position.indexOf("top")!==-1?(Z.y-=(1+ne)*U.r,X.ty-=U.titleBox.height):te.title.position.indexOf("bottom")!==-1&&(Z.y+=(1+ne)*U.r);var Q,re=U.r/((Q=U.trace.aspectratio)===void 0?1:Q),ie=G.w*(te.domain.x[1]-te.domain.x[0])/2;return te.title.position.indexOf("left")!==-1?(ie+=re,Z.x-=(1+ne)*re,X.tx+=U.titleBox.width/2):te.title.position.indexOf("center")!==-1?ie*=2:te.title.position.indexOf("right")!==-1&&(ie+=re,Z.x+=(1+ne)*re,X.tx-=U.titleBox.width/2),q=ie/U.titleBox.width,H=F(U,G)/U.titleBox.height,{x:Z.x,y:Z.y,scale:Math.min(q,H),tx:X.tx,ty:X.ty}}function F(U,G){var q=U.trace,H=G.h*(q.domain.y[1]-q.domain.y[0]);return Math.min(U.titleBox.height,H/2)}function B(U){var G,q=U.pull;if(!q)return 0;if(Array.isArray(q))for(q=0,G=0;Gq&&(q=U.pull[G]);return q}function N(U,G){for(var q=[],H=0;H1?Me=(_e=ce.r)/de.aspectratio:_e=(Me=ce.r)*de.aspectratio,Pe=(_e*=(1+de.baseratio)/2)*Me}pe=Math.min(pe,Pe/ce.vTotal)}for(ye=0;ye")}if(te){var me=h.castOption(ne,G.i,"texttemplate");if(me){var pe=function(Pe){return{label:Pe.label,value:Pe.v,valueLabel:p.formatPieValue(Pe.v,H.separators),percent:Pe.v/q.vTotal,percentLabel:p.formatPiePercent(Pe.v/q.vTotal,H.separators),color:Pe.color,text:Pe.text,customdata:h.castOption(ne,Pe.i,"customdata")}}(G),xe=p.getFirstFilled(ne.text,G.pts);(g(xe)||xe==="")&&(pe.text=xe),G.text=h.texttemplateString(me,pe,U._fullLayout._d3locale,pe,ne._meta||{})}else G.text=""}}function Y(U,G){var q=U.rotate*Math.PI/180,H=Math.cos(q),ne=Math.sin(q),te=(G.left+G.right)/2,Z=(G.top+G.bottom)/2;U.textX=te*H-Z*ne,U.textY=te*ne+Z*H,U.noCenter=!0}k.exports={plot:function(U,G){var q=U._context.staticPlot,H=U._fullLayout,ne=H._size;c("pie",H),T(G,U),N(G,ne);var te=h.makeTraceGroups(H._pielayer,G,"trace").each(function(Z){var X=d.select(this),Q=Z[0],re=Q.trace;(function(ie){var oe,ue,ce,ye=ie[0],de=ye.r,me=ye.trace,pe=p.getRotationAngle(me.rotation),xe=2*Math.PI/ye.vTotal,Pe="px0",_e="px1";if(me.direction==="counterclockwise"){for(oe=0;oeye.vTotal/2?1:0,ue.halfangle=Math.PI*Math.min(ue.v/ye.vTotal,.5),ue.ring=1-me.hole,ue.rInscribed=I(ue,ye))})(Z),X.attr("stroke-linejoin","round"),X.each(function(){var ie=d.select(this).selectAll("g.slice").data(Z);ie.enter().append("g").classed("slice",!0),ie.exit().remove();var oe=[[[],[]],[[],[]]],ue=!1;ie.each(function(_e,Me){if(_e.hidden)d.select(this).selectAll("path,g").remove();else{_e.pointNumber=_e.i,_e.curveNumber=re.index,oe[_e.pxmid[1]<0?0:1][_e.pxmid[0]<0?0:1].push(_e);var Se=Q.cx,Ce=Q.cy,ae=d.select(this),he=ae.selectAll("path.surface").data([_e]);if(he.enter().append("path").classed("surface",!0).style({"pointer-events":q?"none":"all"}),ae.call(S,U,Z),re.pull){var be=+p.castOption(re.pull,_e.pts)||0;be>0&&(Se+=be*_e.pxmid[0],Ce+=be*_e.pxmid[1])}_e.cxFinal=Se,_e.cyFinal=Ce;var ke=re.hole;if(_e.v===Q.vTotal){var Le="M"+(Se+_e.px0[0])+","+(Ce+_e.px0[1])+we(_e.px0,_e.pxmid,!0,1)+we(_e.pxmid,_e.px0,!0,1)+"Z";ke?he.attr("d","M"+(Se+ke*_e.px0[0])+","+(Ce+ke*_e.px0[1])+we(_e.px0,_e.pxmid,!1,ke)+we(_e.pxmid,_e.px0,!1,ke)+"Z"+Le):he.attr("d",Le)}else{var Be=we(_e.px0,_e.px1,!0,1);if(ke){var ze=1-ke;he.attr("d","M"+(Se+ke*_e.px1[0])+","+(Ce+ke*_e.px1[1])+we(_e.px1,_e.px0,!1,ke)+"l"+ze*_e.px0[0]+","+ze*_e.px0[1]+Be+"Z")}else he.attr("d","M"+Se+","+Ce+"l"+_e.px0[0]+","+_e.px0[1]+Be+"Z")}j(U,_e,Q);var je=p.castOption(re.textposition,_e.pts),ge=ae.selectAll("g.slicetext").data(_e.text&&je!=="none"?[0]:[]);ge.enter().append("g").classed("slicetext",!0),ge.exit().remove(),ge.each(function(){var Ee=h.ensureSingle(d.select(this),"text","",function(Et){Et.attr("data-notex",1)}),Ve=h.ensureUniformFontSize(U,je==="outside"?function(Et,kt,xt){return{color:p.castOption(Et.outsidetextfont.color,kt.pts)||p.castOption(Et.textfont.color,kt.pts)||xt.color,family:p.castOption(Et.outsidetextfont.family,kt.pts)||p.castOption(Et.textfont.family,kt.pts)||xt.family,size:p.castOption(Et.outsidetextfont.size,kt.pts)||p.castOption(Et.textfont.size,kt.pts)||xt.size}}(re,_e,H.font):x(re,_e,H.font));Ee.text(_e.text).attr({class:"slicetext",transform:"","text-anchor":"middle"}).call(v.font,Ve).call(u.convertToTspans,U);var Ye,$e=v.bBox(Ee.node());if(je==="outside")Ye=O($e,_e);else if(Ye=E($e,_e,Q),je==="auto"&&Ye.scale<1){var st=h.ensureUniformFontSize(U,re.outsidetextfont);Ee.call(v.font,st),Ye=O($e=v.bBox(Ee.node()),_e)}var ot=Ye.textPosAngle,ft=ot===void 0?_e.pxmid:W(Q.r,ot);if(Ye.targetX=Se+ft[0]*Ye.rCenter+(Ye.x||0),Ye.targetY=Ce+ft[1]*Ye.rCenter+(Ye.y||0),Y(Ye,$e),Ye.outside){var bt=Ye.targetY;_e.yLabelMin=bt-$e.height/2,_e.yLabelMid=bt,_e.yLabelMax=bt+$e.height/2,_e.labelExtraX=0,_e.labelExtraY=0,ue=!0}Ye.fontSize=Ve.size,o(re.type,Ye,H),Z[Me].transform=Ye,h.setTransormAndDisplay(Ee,Ye)})}function we(Ee,Ve,Ye,$e){var st=$e*(Ve[0]-Ee[0]),ot=$e*(Ve[1]-Ee[1]);return"a"+$e*Q.r+","+$e*Q.r+" 0 "+_e.largeArc+(Ye?" 1 ":" 0 ")+st+","+ot}});var ce=d.select(this).selectAll("g.titletext").data(re.title.text?[0]:[]);if(ce.enter().append("g").classed("titletext",!0),ce.exit().remove(),ce.each(function(){var _e,Me=h.ensureSingle(d.select(this),"text","",function(Ce){Ce.attr("data-notex",1)}),Se=re.title.text;re._meta&&(Se=h.templateString(Se,re._meta)),Me.text(Se).attr({class:"titletext",transform:"","text-anchor":"middle"}).call(v.font,re.title.font).call(u.convertToTspans,U),_e=re.title.position==="middle center"?function(Ce){var ae=Math.sqrt(Ce.titleBox.width*Ce.titleBox.width+Ce.titleBox.height*Ce.titleBox.height);return{x:Ce.cx,y:Ce.cy,scale:Ce.trace.hole*Ce.r*2/ae,tx:0,ty:-Ce.titleBox.height/2+Ce.trace.title.font.size}}(Q):z(Q,ne),Me.attr("transform",a(_e.x,_e.y)+l(Math.min(1,_e.scale))+a(_e.tx,_e.ty))}),ue&&function(_e,Me){var Se,Ce,ae,he,be,ke,Le,Be,ze,je,ge,we,Ee;function Ve(ot,ft){return ot.pxmid[1]-ft.pxmid[1]}function Ye(ot,ft){return ft.pxmid[1]-ot.pxmid[1]}function $e(ot,ft){ft||(ft={});var bt,Et,kt,xt,Ft=ft.labelExtraY+(Ce?ft.yLabelMax:ft.yLabelMin),Ot=Ce?ot.yLabelMin:ot.yLabelMax,Bt=Ce?ot.yLabelMax:ot.yLabelMin,qt=ot.cyFinal+be(ot.px0[1],ot.px1[1]),Vt=Ft-Ot;if(Vt*Le>0&&(ot.labelExtraY=Vt),Array.isArray(Me.pull))for(Et=0;Et=(p.castOption(Me.pull,kt.pts)||0)||((ot.pxmid[1]-kt.pxmid[1])*Le>0?(Vt=kt.cyFinal+be(kt.px0[1],kt.px1[1])-Ot-ot.labelExtraY)*Le>0&&(ot.labelExtraY+=Vt):(Bt+ot.labelExtraY-qt)*Le>0&&(bt=3*ke*Math.abs(Et-je.indexOf(ot)),(xt=kt.cxFinal+he(kt.px0[0],kt.px1[0])+bt-(ot.cxFinal+ot.pxmid[0])-ot.labelExtraX)*ke>0&&(ot.labelExtraX+=xt)))}for(Ce=0;Ce<2;Ce++)for(ae=Ce?Ve:Ye,be=Ce?Math.max:Math.min,Le=Ce?1:-1,Se=0;Se<2;Se++){for(he=Se?Math.max:Math.min,ke=Se?1:-1,(Be=_e[Ce][Se]).sort(ae),ze=_e[1-Ce][Se],je=ze.concat(Be),we=[],ge=0;geMath.abs(Be)?be+="l"+Be*Se.pxmid[0]/Se.pxmid[1]+","+Be+"H"+(he+Se.labelExtraX+ke):be+="l"+Se.labelExtraX+","+Le+"v"+(Be-Le)+"h"+ke}else be+="V"+(Se.yLabelMid+Se.labelExtraY)+"h"+ke;h.ensureSingle(Ce,"path","textline").call(M.stroke,Me.outsidetextfont.color).attr({"stroke-width":Math.min(2,Me.outsidetextfont.size/8),d:be,fill:"none"})}else Ce.select("path.textline").remove()})}(ie,re),ue&&re.automargin){var ye=v.bBox(X.node()),de=re.domain,me=ne.w*(de.x[1]-de.x[0]),pe=ne.h*(de.y[1]-de.y[0]),xe=(.5*me-Q.r)/ne.w,Pe=(.5*pe-Q.r)/ne.h;y.autoMargin(U,"pie."+re.uid+".automargin",{xl:de.x[0]-xe,xr:de.x[1]+xe,yb:de.y[0]-Pe,yt:de.y[1]+Pe,l:Math.max(Q.cx-Q.r-ye.left,0),r:Math.max(ye.right-(Q.cx+Q.r),0),b:Math.max(ye.bottom-(Q.cy+Q.r),0),t:Math.max(Q.cy-Q.r-ye.top,0),pad:5})}})});setTimeout(function(){te.selectAll("tspan").each(function(){var Z=d.select(this);Z.attr("dy")&&Z.attr("dy",Z.attr("dy"))})},0)},formatSliceLabel:j,transformInsideText:E,determineInsideTextFont:x,positionTitleOutside:z,prerenderTitles:T,layoutAreas:N,attachFxHandlers:S,computeTransform:Y}},68357:function(k,m,t){var d=t(39898),y=t(63463),i=t(72597).resizeText;k.exports=function(M){var v=M._fullLayout._pielayer.selectAll(".trace");i(M,v,"pie"),v.each(function(h){var l=h[0].trace,a=d.select(this);a.style({opacity:l.opacity}),a.selectAll("path.surface").each(function(u){d.select(this).call(y,u,l)})})}},63463:function(k,m,t){var d=t(7901),y=t(53581).castOption;k.exports=function(i,M,v){var h=v.marker.line,l=y(h.color,M.pts)||d.defaultLine,a=y(h.width,M.pts)||0;i.style("stroke-width",a).call(d.fill,M.color).call(d.stroke,l)}},10959:function(k,m,t){var d=t(82196);k.exports={x:d.x,y:d.y,xy:{valType:"data_array",editType:"calc"},indices:{valType:"data_array",editType:"calc"},xbounds:{valType:"data_array",editType:"calc"},ybounds:{valType:"data_array",editType:"calc"},text:d.text,marker:{color:{valType:"color",arrayOk:!1,editType:"calc"},opacity:{valType:"number",min:0,max:1,dflt:1,arrayOk:!1,editType:"calc"},blend:{valType:"boolean",dflt:null,editType:"calc"},sizemin:{valType:"number",min:.1,max:2,dflt:.5,editType:"calc"},sizemax:{valType:"number",min:.1,dflt:20,editType:"calc"},border:{color:{valType:"color",arrayOk:!1,editType:"calc"},arearatio:{valType:"number",min:0,max:1,dflt:0,editType:"calc"},editType:"calc"},editType:"calc"},transforms:void 0}},42743:function(k,m,t){var d=t(9330).gl_pointcloud2d,y=t(78614),i=t(71739).findExtremes,M=t(34603);function v(l,a){this.scene=l,this.uid=a,this.type="pointcloud",this.pickXData=[],this.pickYData=[],this.xData=[],this.yData=[],this.textLabels=[],this.color="rgb(0, 0, 0)",this.name="",this.hoverinfo="all",this.idToIndex=new Int32Array(0),this.bounds=[0,0,0,0],this.pointcloudOptions={positions:new Float32Array(0),idToIndex:this.idToIndex,sizemin:.5,sizemax:12,color:[0,0,0,1],areaRatio:1,borderColor:[0,0,0,1]},this.pointcloud=d(l.glplot,this.pointcloudOptions),this.pointcloud._trace=this}var h=v.prototype;h.handlePick=function(l){var a=this.idToIndex[l.pointId];return{trace:this,dataCoord:l.dataCoord,traceCoord:this.pickXYData?[this.pickXYData[2*a],this.pickXYData[2*a+1]]:[this.pickXData[a],this.pickYData[a]],textLabel:Array.isArray(this.textLabels)?this.textLabels[a]:this.textLabels,color:this.color,name:this.name,pointIndex:a,hoverinfo:this.hoverinfo}},h.update=function(l){this.index=l.index,this.textLabels=l.text,this.name=l.name,this.hoverinfo=l.hoverinfo,this.bounds=[1/0,1/0,-1/0,-1/0],this.updateFast(l),this.color=M(l,{})},h.updateFast=function(l){var a,u,s,o,c,f,p=this.xData=this.pickXData=l.x,w=this.yData=this.pickYData=l.y,g=this.pickXYData=l.xy,S=l.xbounds&&l.ybounds,x=l.indices,T=this.bounds;if(g){if(s=g,a=g.length>>>1,S)T[0]=l.xbounds[0],T[2]=l.xbounds[1],T[1]=l.ybounds[0],T[3]=l.ybounds[1];else for(f=0;fT[2]&&(T[2]=o),cT[3]&&(T[3]=c);if(x)u=x;else for(u=new Int32Array(a),f=0;fT[2]&&(T[2]=o),cT[3]&&(T[3]=c);this.idToIndex=u,this.pointcloudOptions.idToIndex=u,this.pointcloudOptions.positions=s;var E=y(l.marker.color),_=y(l.marker.border.color),A=l.opacity*l.marker.opacity;E[3]*=A,this.pointcloudOptions.color=E;var L=l.marker.blend;L===null&&(L=p.length<100||w.length<100),this.pointcloudOptions.blend=L,_[3]*=A,this.pointcloudOptions.borderColor=_;var b=l.marker.sizemin,R=Math.max(l.marker.sizemax,l.marker.sizemin);this.pointcloudOptions.sizeMin=b,this.pointcloudOptions.sizeMax=R,this.pointcloudOptions.areaRatio=l.marker.border.arearatio,this.pointcloud.update(this.pointcloudOptions);var I=this.scene.xaxis,O=this.scene.yaxis,z=R/2||.5;l._extremes[I._id]=i(I,[T[0],T[2]],{ppad:z}),l._extremes[O._id]=i(O,[T[1],T[3]],{ppad:z})},h.dispose=function(){this.pointcloud.dispose()},k.exports=function(l,a){var u=new v(l,a.uid);return u.update(a),u}},33876:function(k,m,t){var d=t(71828),y=t(10959);k.exports=function(i,M,v){function h(l,a){return d.coerce(i,M,y,l,a)}h("x"),h("y"),h("xbounds"),h("ybounds"),i.xy&&i.xy instanceof Float32Array&&(M.xy=i.xy),i.indices&&i.indices instanceof Int32Array&&(M.indices=i.indices),h("text"),h("marker.color",v),h("marker.opacity"),h("marker.blend"),h("marker.sizemin"),h("marker.sizemax"),h("marker.border.color",v),h("marker.border.arearatio"),M._length=null}},20593:function(k,m,t){k.exports={attributes:t(10959),supplyDefaults:t(33876),calc:t(36563),plot:t(42743),moduleType:"trace",name:"pointcloud",basePlotModule:t(4796),categories:["gl","gl2d","showLegend"],meta:{}}},39953:function(k,m,t){var d=t(41940),y=t(9012),i=t(22399),M=t(77914),v=t(27670).Y,h=t(5386).fF,l=t(50693),a=t(44467).templatedArray,u=t(12663).descriptionOnlyNumbers,s=t(1426).extendFlat,o=t(30962).overrideAll;(k.exports=o({hoverinfo:s({},y.hoverinfo,{flags:[],arrayOk:!1}),hoverlabel:M.hoverlabel,domain:v({name:"sankey",trace:!0}),orientation:{valType:"enumerated",values:["v","h"],dflt:"h"},valueformat:{valType:"string",dflt:".3s",description:u("value")},valuesuffix:{valType:"string",dflt:""},arrangement:{valType:"enumerated",values:["snap","perpendicular","freeform","fixed"],dflt:"snap"},textfont:d({}),customdata:void 0,node:{label:{valType:"data_array",dflt:[]},groups:{valType:"info_array",impliedEdits:{x:[],y:[]},dimensions:2,freeLength:!0,dflt:[],items:{valType:"number",editType:"calc"}},x:{valType:"data_array",dflt:[]},y:{valType:"data_array",dflt:[]},color:{valType:"color",arrayOk:!0},customdata:{valType:"data_array",editType:"calc"},line:{color:{valType:"color",dflt:i.defaultLine,arrayOk:!0},width:{valType:"number",min:0,dflt:.5,arrayOk:!0}},pad:{valType:"number",arrayOk:!1,min:0,dflt:20},thickness:{valType:"number",arrayOk:!1,min:1,dflt:20},hoverinfo:{valType:"enumerated",values:["all","none","skip"],dflt:"all"},hoverlabel:M.hoverlabel,hovertemplate:h({},{keys:["value","label"]})},link:{arrowlen:{valType:"number",min:0,dflt:0},label:{valType:"data_array",dflt:[]},color:{valType:"color",arrayOk:!0},customdata:{valType:"data_array",editType:"calc"},line:{color:{valType:"color",dflt:i.defaultLine,arrayOk:!0},width:{valType:"number",min:0,dflt:0,arrayOk:!0}},source:{valType:"data_array",dflt:[]},target:{valType:"data_array",dflt:[]},value:{valType:"data_array",dflt:[]},hoverinfo:{valType:"enumerated",values:["all","none","skip"],dflt:"all"},hoverlabel:M.hoverlabel,hovertemplate:h({},{keys:["value","label"]}),colorscales:a("concentrationscales",{editType:"calc",label:{valType:"string",editType:"calc",dflt:""},cmax:{valType:"number",editType:"calc",dflt:1},cmin:{valType:"number",editType:"calc",dflt:0},colorscale:s(l().colorscale,{dflt:[[0,"white"],[1,"black"]]})})}},"calc","nested")).transforms=void 0},75536:function(k,m,t){var d=t(30962).overrideAll,y=t(27659).a0,i=t(60436),M=t(528),v=t(6964),h=t(28569),l=t(47322).prepSelect,a=t(71828),u=t(73972),s="sankey";function o(c,f){var p=c._fullData[f],w=c._fullLayout,g=w.dragmode,S=w.dragmode==="pan"?"move":"crosshair",x=p._bgRect;if(x&&g!=="pan"&&g!=="zoom"){v(x,S);var T={_id:"x",c2p:a.identity,_offset:p._sankey.translateX,_length:p._sankey.width},E={_id:"y",c2p:a.identity,_offset:p._sankey.translateY,_length:p._sankey.height},_={gd:c,element:x.node(),plotinfo:{id:f,xaxis:T,yaxis:E,fillRangeItems:a.noop},subplot:f,xaxes:[T],yaxes:[E],doneFnCompleted:function(A){var L,b=c._fullData[f],R=b.node.groups.slice(),I=[];function O(N){for(var W=b._sankey.graph.nodes,j=0;jL&&(L=f.source[o]),f.target[o]>L&&(L=f.target[o]);var b,R=L+1;s.node._count=R;var I=s.node.groups,O={};for(o=0;o0&&v(j,R)&&v(Y,R)&&(!O.hasOwnProperty(j)||!O.hasOwnProperty(Y)||O[j]!==O[Y])){O.hasOwnProperty(Y)&&(Y=O[Y]),O.hasOwnProperty(j)&&(j=O[j]),Y=+Y,S[j=+j]=S[Y]=!0;var U="";f.label&&f.label[o]&&(U=f.label[o]);var G=null;U&&x.hasOwnProperty(U)&&(G=x[U]),p.push({pointNumber:o,label:U,color:w?f.color[o]:f.color,customdata:g?f.customdata[o]:f.customdata,concentrationscale:G,source:j,target:Y,value:+W}),N.source.push(j),N.target.push(Y)}}var q=R+I.length,H=M(c.color),ne=M(c.customdata),te=[];for(o=0;oR-1,childrenNodes:[],pointNumber:o,label:Z,color:H?c.color[o]:c.color,customdata:ne?c.customdata[o]:c.customdata})}var X=!1;return function(Q,re,ie){for(var oe=y.init2dArray(Q,0),ue=0;ue1})}(q,N.source,N.target)&&(X=!0),{circular:X,links:p,nodes:te,groups:I,groupLookup:O}}(a);return i({circular:u.circular,_nodes:u.nodes,_links:u.links,_groups:u.groups,_groupLookup:u.groupLookup})}},85247:function(k){k.exports={nodeTextOffsetHorizontal:4,nodeTextOffsetVertical:3,nodePadAcross:10,sankeyIterations:50,forceIterations:5,forceTicksPerFrame:10,duration:500,ease:"linear",cn:{sankey:"sankey",sankeyLinks:"sankey-links",sankeyLink:"sankey-link",sankeyNodeSet:"sankey-node-set",sankeyNode:"sankey-node",nodeRect:"node-rect",nodeLabel:"node-label"}}},26857:function(k,m,t){var d=t(71828),y=t(39953),i=t(7901),M=t(84267),v=t(27670).c,h=t(38048),l=t(44467),a=t(85501);function u(s,o){function c(f,p){return d.coerce(s,o,y.link.colorscales,f,p)}c("label"),c("cmin"),c("cmax"),c("colorscale")}k.exports=function(s,o,c,f){function p(R,I){return d.coerce(s,o,y,R,I)}var w=d.extendDeep(f.hoverlabel,s.hoverlabel),g=s.node,S=l.newContainer(o,"node");function x(R,I){return d.coerce(g,S,y.node,R,I)}x("label"),x("groups"),x("x"),x("y"),x("pad"),x("thickness"),x("line.color"),x("line.width"),x("hoverinfo",s.hoverinfo),h(g,S,x,w),x("hovertemplate");var T=f.colorway;x("color",S.label.map(function(R,I){return i.addOpacity(function(O){return T[O%T.length]}(I),.8)})),x("customdata");var E=s.link||{},_=l.newContainer(o,"link");function A(R,I){return d.coerce(E,_,y.link,R,I)}A("label"),A("arrowlen"),A("source"),A("target"),A("value"),A("line.color"),A("line.width"),A("hoverinfo",s.hoverinfo),h(E,_,A,w),A("hovertemplate");var L,b=M(f.paper_bgcolor).getLuminance()<.333?"rgba(255, 255, 255, 0.6)":"rgba(0, 0, 0, 0.2)";A("color",d.repeat(b,_.value.length)),A("customdata"),a(E,_,{name:"colorscales",handleItemDefaults:u}),v(o,f,p),p("orientation"),p("valueformat"),p("valuesuffix"),S.x.length&&S.y.length&&(L="freeform"),p("arrangement",L),d.coerceFont(p,"textfont",d.extendFlat({},f.font)),o._length=null}},29396:function(k,m,t){k.exports={attributes:t(39953),supplyDefaults:t(26857),calc:t(92930),plot:t(60436),moduleType:"trace",name:"sankey",basePlotModule:t(75536),selectPoints:t(84564),categories:["noOpacity"],meta:{}}},60436:function(k,m,t){var d=t(39898),y=t(71828),i=y.numberFormat,M=t(3393),v=t(30211),h=t(7901),l=t(85247).cn,a=y._;function u(E){return E!==""}function s(E,_){return E.filter(function(A){return A.key===_.traceId})}function o(E,_){d.select(E).select("path").style("fill-opacity",_),d.select(E).select("rect").style("fill-opacity",_)}function c(E){d.select(E).select("text.name").style("fill","black")}function f(E){return function(_){return E.node.sourceLinks.indexOf(_.link)!==-1||E.node.targetLinks.indexOf(_.link)!==-1}}function p(E){return function(_){return _.node.sourceLinks.indexOf(E.link)!==-1||_.node.targetLinks.indexOf(E.link)!==-1}}function w(E,_,A){_&&A&&s(A,_).selectAll("."+l.sankeyLink).filter(f(_)).call(S.bind(0,_,A,!1))}function g(E,_,A){_&&A&&s(A,_).selectAll("."+l.sankeyLink).filter(f(_)).call(x.bind(0,_,A,!1))}function S(E,_,A,L){var b=L.datum().link.label;L.style("fill-opacity",function(R){if(!R.link.concentrationscale)return .4}),b&&s(_,E).selectAll("."+l.sankeyLink).filter(function(R){return R.link.label===b}).style("fill-opacity",function(R){if(!R.link.concentrationscale)return .4}),A&&s(_,E).selectAll("."+l.sankeyNode).filter(p(E)).call(w)}function x(E,_,A,L){var b=L.datum().link.label;L.style("fill-opacity",function(R){return R.tinyColorAlpha}),b&&s(_,E).selectAll("."+l.sankeyLink).filter(function(R){return R.link.label===b}).style("fill-opacity",function(R){return R.tinyColorAlpha}),A&&s(_,E).selectAll(l.sankeyNode).filter(p(E)).call(g)}function T(E,_){var A=E.hoverlabel||{},L=y.nestedProperty(A,_).get();return!Array.isArray(L)&&L}k.exports=function(E,_){for(var A=E._fullLayout,L=A._paper,b=A._size,R=0;R"),color:T(Y,"bgcolor")||h.addOpacity(H.color,1),borderColor:T(Y,"bordercolor"),fontFamily:T(Y,"font.family"),fontSize:T(Y,"font.size"),fontColor:T(Y,"font.color"),nameLength:T(Y,"namelength"),textAlign:T(Y,"align"),idealAlign:d.event.x"),color:T(Y,"bgcolor")||j.tinyColorHue,borderColor:T(Y,"bordercolor"),fontFamily:T(Y,"font.family"),fontSize:T(Y,"font.size"),fontColor:T(Y,"font.color"),nameLength:T(Y,"namelength"),textAlign:T(Y,"align"),idealAlign:"left",hovertemplate:Y.hovertemplate,hovertemplateLabels:Z,eventData:[j.node]},{container:A._hoverlayer.node(),outerContainer:A._paper.node(),gd:E});o(re,.85),c(re)}}},unhover:function(W,j,Y){E._fullLayout.hovermode!==!1&&(d.select(W).call(g,j,Y),j.node.trace.node.hoverinfo!=="skip"&&(j.node.fullData=j.node.trace,E.emit("plotly_unhover",{event:d.event,points:[j.node]})),v.loneUnhover(A._hoverlayer.node()))},select:function(W,j,Y){var U=j.node;U.originalEvent=d.event,E._hoverdata=[U],d.select(W).call(g,j,Y),v.click(E,{target:!0})}}})}},3393:function(k,m,t){var d=t(49887),y=t(81684).k4,i=t(39898),M=t(30838),v=t(86781),h=t(85247),l=t(84267),a=t(7901),u=t(91424),s=t(71828),o=s.strTranslate,c=s.strRotate,f=t(28984),p=f.keyFun,w=f.repeat,g=f.unwrap,S=t(63893),x=t(73972),T=t(18783),E=T.CAP_SHIFT,_=T.LINE_SPACING;function A(q,H,ne){var te,Z=g(H),X=Z.trace,Q=X.domain,re=X.orientation==="h",ie=X.node.pad,oe=X.node.thickness,ue=q.width*(Q.x[1]-Q.x[0]),ce=q.height*(Q.y[1]-Q.y[0]),ye=Z._nodes,de=Z._links,me=Z.circular;(te=me?v.sankeyCircular().circularLinkGap(0):M.sankey()).iterations(h.sankeyIterations).size(re?[ue,ce]:[ce,ue]).nodeWidth(oe).nodePadding(ie).nodeId(function(ke){return ke.pointNumber}).nodes(ye).links(de);var pe,xe,Pe,_e=te();for(var Me in te.nodePadding()we+oe&&(ge+=1,Le=Ee.x0),we=Ee.x0,je[ge]||(je[ge]=[]),je[ge].push(Ee),Be=Le-Ee.x0,Ee.x0+=Be,Ee.x1+=Be}return je}(ye=_e.nodes).forEach(function(ke){var Le,Be,ze,je=0,ge=ke.length;for(ke.sort(function(we,Ee){return we.y0-Ee.y0}),ze=0;ze=je||(Be=je-Le.y0)>1e-6&&(Le.y0+=Be,Le.y1+=Be),je=Le.y1+ie}),te.update(_e)}return{circular:me,key:ne,trace:X,guid:s.randstr(),horizontal:re,width:ue,height:ce,nodePad:X.node.pad,nodeLineColor:X.node.line.color,nodeLineWidth:X.node.line.width,linkLineColor:X.link.line.color,linkLineWidth:X.link.line.width,linkArrowLength:X.link.arrowlen,valueFormat:X.valueformat,valueSuffix:X.valuesuffix,textFont:X.textfont,translateX:Q.x[0]*q.width+q.margin.l,translateY:q.height-Q.y[1]*q.height+q.margin.t,dragParallel:re?ce:ue,dragPerpendicular:re?ue:ce,arrangement:X.arrangement,sankey:te,graph:_e,forceLayouts:{},interactionState:{dragInProgress:!1,hovered:!1}}}function L(q,H,ne){var te=l(H.color),Z=H.source.label+"|"+H.target.label+"__"+ne;return H.trace=q.trace,H.curveNumber=q.trace.index,{circular:q.circular,key:Z,traceId:q.key,pointNumber:H.pointNumber,link:H,tinyColorHue:a.tinyRGB(te),tinyColorAlpha:te.getAlpha(),linkPath:b,linkLineColor:q.linkLineColor,linkLineWidth:q.linkLineWidth,linkArrowLength:q.linkArrowLength,valueFormat:q.valueFormat,valueSuffix:q.valueSuffix,sankey:q.sankey,parent:q,interactionState:q.interactionState,flow:H.flow}}function b(){return function(q){var H=q.linkArrowLength;if(q.link.circular)return function(xe,Pe){var _e=xe.width/2,Me=xe.circularPathData;return xe.circularLinkType==="top"?"M "+(Me.targetX-Pe)+" "+(Me.targetY+_e)+" L"+(Me.rightInnerExtent-Pe)+" "+(Me.targetY+_e)+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightSmallArcRadius+_e)+" 0 0 1 "+(Me.rightFullExtent-_e-Pe)+" "+(Me.targetY-Me.rightSmallArcRadius)+"L"+(Me.rightFullExtent-_e-Pe)+" "+Me.verticalRightInnerExtent+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightLargeArcRadius+_e)+" 0 0 1 "+(Me.rightInnerExtent-Pe)+" "+(Me.verticalFullExtent-_e)+"L"+Me.leftInnerExtent+" "+(Me.verticalFullExtent-_e)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftLargeArcRadius+_e)+" 0 0 1 "+(Me.leftFullExtent+_e)+" "+Me.verticalLeftInnerExtent+"L"+(Me.leftFullExtent+_e)+" "+(Me.sourceY-Me.leftSmallArcRadius)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftSmallArcRadius+_e)+" 0 0 1 "+Me.leftInnerExtent+" "+(Me.sourceY+_e)+"L"+Me.sourceX+" "+(Me.sourceY+_e)+"L"+Me.sourceX+" "+(Me.sourceY-_e)+"L"+Me.leftInnerExtent+" "+(Me.sourceY-_e)+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftSmallArcRadius-_e)+" 0 0 0 "+(Me.leftFullExtent-_e)+" "+(Me.sourceY-Me.leftSmallArcRadius)+"L"+(Me.leftFullExtent-_e)+" "+Me.verticalLeftInnerExtent+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftLargeArcRadius-_e)+" 0 0 0 "+Me.leftInnerExtent+" "+(Me.verticalFullExtent+_e)+"L"+(Me.rightInnerExtent-Pe)+" "+(Me.verticalFullExtent+_e)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightLargeArcRadius-_e)+" 0 0 0 "+(Me.rightFullExtent+_e-Pe)+" "+Me.verticalRightInnerExtent+"L"+(Me.rightFullExtent+_e-Pe)+" "+(Me.targetY-Me.rightSmallArcRadius)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightSmallArcRadius-_e)+" 0 0 0 "+(Me.rightInnerExtent-Pe)+" "+(Me.targetY-_e)+"L"+(Me.targetX-Pe)+" "+(Me.targetY-_e)+(Pe>0?"L"+Me.targetX+" "+Me.targetY:"")+"Z":"M "+(Me.targetX-Pe)+" "+(Me.targetY-_e)+" L"+(Me.rightInnerExtent-Pe)+" "+(Me.targetY-_e)+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightSmallArcRadius+_e)+" 0 0 0 "+(Me.rightFullExtent-_e-Pe)+" "+(Me.targetY+Me.rightSmallArcRadius)+"L"+(Me.rightFullExtent-_e-Pe)+" "+Me.verticalRightInnerExtent+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightLargeArcRadius+_e)+" 0 0 0 "+(Me.rightInnerExtent-Pe)+" "+(Me.verticalFullExtent+_e)+"L"+Me.leftInnerExtent+" "+(Me.verticalFullExtent+_e)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftLargeArcRadius+_e)+" 0 0 0 "+(Me.leftFullExtent+_e)+" "+Me.verticalLeftInnerExtent+"L"+(Me.leftFullExtent+_e)+" "+(Me.sourceY+Me.leftSmallArcRadius)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftSmallArcRadius+_e)+" 0 0 0 "+Me.leftInnerExtent+" "+(Me.sourceY-_e)+"L"+Me.sourceX+" "+(Me.sourceY-_e)+"L"+Me.sourceX+" "+(Me.sourceY+_e)+"L"+Me.leftInnerExtent+" "+(Me.sourceY+_e)+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftSmallArcRadius-_e)+" 0 0 1 "+(Me.leftFullExtent-_e)+" "+(Me.sourceY+Me.leftSmallArcRadius)+"L"+(Me.leftFullExtent-_e)+" "+Me.verticalLeftInnerExtent+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftLargeArcRadius-_e)+" 0 0 1 "+Me.leftInnerExtent+" "+(Me.verticalFullExtent-_e)+"L"+(Me.rightInnerExtent-Pe)+" "+(Me.verticalFullExtent-_e)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightLargeArcRadius-_e)+" 0 0 1 "+(Me.rightFullExtent+_e-Pe)+" "+Me.verticalRightInnerExtent+"L"+(Me.rightFullExtent+_e-Pe)+" "+(Me.targetY+Me.rightSmallArcRadius)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightSmallArcRadius-_e)+" 0 0 1 "+(Me.rightInnerExtent-Pe)+" "+(Me.targetY+_e)+"L"+(Me.targetX-Pe)+" "+(Me.targetY+_e)+(Pe>0?"L"+Me.targetX+" "+Me.targetY:"")+"Z"}(q.link,H);var ne=Math.abs((q.link.target.x0-q.link.source.x1)/2);H>ne&&(H=ne);var te=q.link.source.x1,Z=q.link.target.x0-H,X=y(te,Z),Q=X(.5),re=X(.5),ie=q.link.y0-q.link.width/2,oe=q.link.y0+q.link.width/2,ue=q.link.y1-q.link.width/2,ce=q.link.y1+q.link.width/2,ye="M"+te+","+ie,de="C"+Q+","+ie+" "+re+","+ue+" "+Z+","+ue,me="C"+re+","+ce+" "+Q+","+oe+" "+te+","+oe,pe=H>0?"L"+(Z+H)+","+(ue+q.link.width/2):"";return ye+de+(pe+="L"+Z+","+ce)+me+"Z"}}function R(q,H){var ne=l(H.color),te=h.nodePadAcross,Z=q.nodePad/2;H.dx=H.x1-H.x0,H.dy=H.y1-H.y0;var X=H.dx,Q=Math.max(.5,H.dy),re="node_"+H.pointNumber;return H.group&&(re=s.randstr()),H.trace=q.trace,H.curveNumber=q.trace.index,{index:H.pointNumber,key:re,partOfGroup:H.partOfGroup||!1,group:H.group,traceId:q.key,trace:q.trace,node:H,nodePad:q.nodePad,nodeLineColor:q.nodeLineColor,nodeLineWidth:q.nodeLineWidth,textFont:q.textFont,size:q.horizontal?q.height:q.width,visibleWidth:Math.ceil(X),visibleHeight:Q,zoneX:-te,zoneY:-Z,zoneWidth:X+2*te,zoneHeight:Q+2*Z,labelY:q.horizontal?H.dy/2+1:H.dx/2+1,left:H.originalLayer===1,sizeAcross:q.width,forceLayouts:q.forceLayouts,horizontal:q.horizontal,darkBackground:ne.getBrightness()<=128,tinyColorHue:a.tinyRGB(ne),tinyColorAlpha:ne.getAlpha(),valueFormat:q.valueFormat,valueSuffix:q.valueSuffix,sankey:q.sankey,graph:q.graph,arrangement:q.arrangement,uniqueNodeLabelPathId:[q.guid,q.key,re].join("_"),interactionState:q.interactionState,figure:q}}function I(q){q.attr("transform",function(H){return o(H.node.x0.toFixed(3),H.node.y0.toFixed(3))})}function O(q){q.call(I)}function z(q,H){q.call(O),H.attr("d",b())}function F(q){q.attr("width",function(H){return H.node.x1-H.node.x0}).attr("height",function(H){return H.visibleHeight})}function B(q){return q.link.width>1||q.linkLineWidth>0}function N(q){return o(q.translateX,q.translateY)+(q.horizontal?"matrix(1 0 0 1 0 0)":"matrix(0 1 1 0 0 0)")}function W(q,H,ne){q.on(".basic",null).on("mouseover.basic",function(te){te.interactionState.dragInProgress||te.partOfGroup||(ne.hover(this,te,H),te.interactionState.hovered=[this,te])}).on("mousemove.basic",function(te){te.interactionState.dragInProgress||te.partOfGroup||(ne.follow(this,te),te.interactionState.hovered=[this,te])}).on("mouseout.basic",function(te){te.interactionState.dragInProgress||te.partOfGroup||(ne.unhover(this,te,H),te.interactionState.hovered=!1)}).on("click.basic",function(te){te.interactionState.hovered&&(ne.unhover(this,te,H),te.interactionState.hovered=!1),te.interactionState.dragInProgress||te.partOfGroup||ne.select(this,te,H)})}function j(q,H,ne,te){var Z=i.behavior.drag().origin(function(X){return{x:X.node.x0+X.visibleWidth/2,y:X.node.y0+X.visibleHeight/2}}).on("dragstart",function(X){if(X.arrangement!=="fixed"&&(s.ensureSingle(te._fullLayout._infolayer,"g","dragcover",function(re){te._fullLayout._dragCover=re}),s.raiseToTop(this),X.interactionState.dragInProgress=X.node,U(X.node),X.interactionState.hovered&&(ne.nodeEvents.unhover.apply(0,X.interactionState.hovered),X.interactionState.hovered=!1),X.arrangement==="snap")){var Q=X.traceId+"|"+X.key;X.forceLayouts[Q]?X.forceLayouts[Q].alpha(1):function(re,ie,oe,ue){(function(ye){for(var de=0;de0&&pe.forceLayouts[de].alpha(0)}}(0,ie,ce,oe)).stop()}(0,Q,X),function(re,ie,oe,ue,ce){window.requestAnimationFrame(function ye(){var de;for(de=0;de0)window.requestAnimationFrame(ye);else{var me=oe.node.originalX;oe.node.x0=me-oe.visibleWidth/2,oe.node.x1=me+oe.visibleWidth/2,Y(oe,ce)}})}(q,H,X,Q,te)}}).on("drag",function(X){if(X.arrangement!=="fixed"){var Q=i.event.x,re=i.event.y;X.arrangement==="snap"?(X.node.x0=Q-X.visibleWidth/2,X.node.x1=Q+X.visibleWidth/2,X.node.y0=re-X.visibleHeight/2,X.node.y1=re+X.visibleHeight/2):(X.arrangement==="freeform"&&(X.node.x0=Q-X.visibleWidth/2,X.node.x1=Q+X.visibleWidth/2),re=Math.max(0,Math.min(X.size-X.visibleHeight/2,re)),X.node.y0=re-X.visibleHeight/2,X.node.y1=re+X.visibleHeight/2),U(X.node),X.arrangement!=="snap"&&(X.sankey.update(X.graph),z(q.filter(G(X)),H))}}).on("dragend",function(X){if(X.arrangement!=="fixed"){X.interactionState.dragInProgress=!1;for(var Q=0;Qx&&j[E].gap;)E--;for(A=j[E].s,T=j.length-1;T>E;T--)j[T].s=A;for(;xz[c]&&c=0;c--){var f=M[c];if(f.type==="scatter"&&f.xaxis===s.xaxis&&f.yaxis===s.yaxis){f.opacity=void 0;break}}}}}},17438:function(k,m,t){var d=t(71828),y=t(73972),i=t(82196),M=t(47581),v=t(34098),h=t(67513),l=t(73927),a=t(565),u=t(49508),s=t(11058),o=t(94039),c=t(82410),f=t(28908),p=t(71828).coercePattern;k.exports=function(w,g,S,x){function T(O,z){return d.coerce(w,g,i,O,z)}var E=h(w,g,x,T);if(E||(g.visible=!1),g.visible){l(w,g,x,T),T("xhoverformat"),T("yhoverformat");var _=a(w,g,x,T);x.scattermode==="group"&&g.orientation===void 0&&T("orientation","v");var A=!_&&E=Math.min(me,pe)&&w<=Math.max(me,pe)?0:1/0}var xe=Math.max(3,de.mrc||0),Pe=1-1/xe,_e=Math.abs(f.c2p(de.x)-w);return _e=Math.min(me,pe)&&g<=Math.max(me,pe)?0:1/0}var xe=Math.max(3,de.mrc||0),Pe=1-1/xe,_e=Math.abs(p.c2p(de.y)-g);return _ece!=(te=U[j][1])>=ce&&(q=U[j-1][0],H=U[j][0],te-ne&&(G=q+(H-q)*(ce-ne)/(te-ne),re=Math.min(re,G),ie=Math.max(ie,G)));re=Math.max(re,0),ie=Math.min(ie,f._length);var ye=v.defaultLine;return v.opacity(c.fillcolor)?ye=c.fillcolor:v.opacity((c.line||{}).color)&&(ye=c.line.color),d.extendFlat(l,{distance:l.maxHoverDistance,x0:re,x1:ie,y0:ce,y1:ce,color:ye,hovertemplate:!1}),delete l.index,c.text&&!Array.isArray(c.text)?l.text=String(c.text):l.text=c.name,[l]}}}},67368:function(k,m,t){var d=t(34098);k.exports={hasLines:d.hasLines,hasMarkers:d.hasMarkers,hasText:d.hasText,isBubble:d.isBubble,attributes:t(82196),layoutAttributes:t(21479),supplyDefaults:t(17438),crossTraceDefaults:t(34936),supplyLayoutDefaults:t(79334),calc:t(47761).calc,crossTraceCalc:t(72626),arraysToCalcdata:t(75225),plot:t(32663),colorbar:t(4898),formatLabels:t(8225),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(33720),selectPoints:t(98002),animatable:!0,moduleType:"trace",name:"scatter",basePlotModule:t(93612),categories:["cartesian","svg","symbols","errorBarsOK","showLegend","scatter-like","zoomScale"],meta:{}}},21479:function(k){k.exports={scattermode:{valType:"enumerated",values:["group","overlay"],dflt:"overlay",editType:"calc"},scattergap:{valType:"number",min:0,max:1,editType:"calc"}}},79334:function(k,m,t){var d=t(71828),y=t(21479);k.exports=function(i,M){var v,h=M.barmode==="group";M.scattermode==="group"&&(v=h?M.bargap:.2,d.coerce(i,M,y,"scattergap",v))}},11058:function(k,m,t){var d=t(71828).isArrayOrTypedArray,y=t(52075).hasColorscale,i=t(1586);k.exports=function(M,v,h,l,a,u){u||(u={});var s=(M.marker||{}).color;a("line.color",h),y(M,"line")?i(M,v,l,a,{prefix:"line.",cLetter:"c"}):a("line.color",!d(s)&&s||h),a("line.width"),u.noDash||a("line.dash"),u.backoff&&a("line.backoff")}},34621:function(k,m,t){var d=t(91424),y=t(50606),i=y.BADNUM,M=y.LOG_CLIP,v=M+.5,h=M-.5,l=t(71828),a=l.segmentsIntersect,u=l.constrain,s=t(47581);k.exports=function(o,c){var f,p,w,g,S,x,T,E,_,A,L,b,R,I,O,z,F,B,N=c.trace||{},W=c.xaxis,j=c.yaxis,Y=W.type==="log",U=j.type==="log",G=W._length,q=j._length,H=c.backoff,ne=N.marker,te=c.connectGaps,Z=c.baseTolerance,X=c.shape,Q=X==="linear",re=N.fill&&N.fill!=="none",ie=[],oe=s.minTolerance,ue=o.length,ce=new Array(ue),ye=0;function de(Vt){var Ke=o[Vt];if(!Ke)return!1;var Je=c.linearized?W.l2p(Ke.x):W.c2p(Ke.x),qe=c.linearized?j.l2p(Ke.y):j.c2p(Ke.y);if(Je===i){if(Y&&(Je=W.c2p(Ke.x,!0)),Je===i)return!1;U&&qe===i&&(Je*=Math.abs(W._m*q*(W._m>0?v:h)/(j._m*G*(j._m>0?v:h)))),Je*=1e3}if(qe===i){if(U&&(qe=j.c2p(Ke.y,!0)),qe===i)return!1;qe*=1e3}return[Je,qe]}function me(Vt,Ke,Je,qe){var nt=Je-Vt,ht=qe-Ke,Re=.5-Vt,Ne=.5-Ke,Qe=nt*nt+ht*ht,ut=nt*Re+ht*Ne;if(ut>0&&utLe||Vt[1]ze)return[u(Vt[0],ke,Le),u(Vt[1],Be,ze)]}function we(Vt,Ke){return Vt[0]===Ke[0]&&(Vt[0]===ke||Vt[0]===Le)||Vt[1]===Ke[1]&&(Vt[1]===Be||Vt[1]===ze)||void 0}function Ee(Vt,Ke,Je){return function(qe,nt){var ht=ge(qe),Re=ge(nt),Ne=[];if(ht&&Re&&we(ht,Re))return Ne;ht&&Ne.push(ht),Re&&Ne.push(Re);var Qe=2*l.constrain((qe[Vt]+nt[Vt])/2,Ke,Je)-((ht||qe)[Vt]+(Re||nt)[Vt]);return Qe&&((ht&&Re?Qe>0==ht[Vt]>Re[Vt]?ht:Re:ht||Re)[Vt]+=Qe),Ne}}function Ve(Vt){var Ke=Vt[0],Je=Vt[1],qe=Ke===ce[ye-1][0],nt=Je===ce[ye-1][1];if(!qe||!nt)if(ye>1){var ht=Ke===ce[ye-2][0],Re=Je===ce[ye-2][1];qe&&(Ke===ke||Ke===Le)&&ht?Re?ye--:ce[ye-1]=Vt:nt&&(Je===Be||Je===ze)&&Re?ht?ye--:ce[ye-1]=Vt:ce[ye++]=Vt}else ce[ye++]=Vt}function Ye(Vt){ce[ye-1][0]!==Vt[0]&&ce[ye-1][1]!==Vt[1]&&Ve([Me,Se]),Ve(Vt),Ce=null,Me=Se=0}X==="linear"||X==="spline"?he=function(Vt,Ke){for(var Je=[],qe=0,nt=0;nt<4;nt++){var ht=je[nt],Re=a(Vt[0],Vt[1],Ke[0],Ke[1],ht[0],ht[1],ht[2],ht[3]);Re&&(!qe||Math.abs(Re.x-Je[0][0])>1||Math.abs(Re.y-Je[0][1])>1)&&(Re=[Re.x,Re.y],qe&&xe(Re,Vt)Le?Le:0,_e=Vt[1]ze?ze:0,Pe||_e){if(ye)if(Ce){var Ke=he(Ce,Vt);Ke.length>1&&(Ye(Ke[0]),ce[ye++]=Ke[1])}else ae=he(ce[ye-1],Vt)[0],ce[ye++]=ae;else ce[ye++]=[Pe||Vt[0],_e||Vt[1]];var Je=ce[ye-1];Pe&&_e&&(Je[0]!==Pe||Je[1]!==_e)?(Ce&&(Me!==Pe&&Se!==_e?Ve(Me&&Se?(qe=Ce,ht=(nt=Vt)[0]-qe[0],Re=(nt[1]-qe[1])/ht,(qe[1]*nt[0]-nt[1]*qe[0])/ht>0?[Re>0?ke:Le,ze]:[Re>0?Le:ke,Be]):[Me||Pe,Se||_e]):Me&&Se&&Ve([Me,Se])),Ve([Pe,_e])):Me-Pe&&Se-_e&&Ve([Pe||Me,_e||Se]),Ce=Vt,Me=Pe,Se=_e}else Ce&&Ye(he(Ce,Vt)[0]),ce[ye++]=Vt;var qe,nt,ht,Re}for(f=0;fpe(x,ot))break;w=x,(R=_[0]*E[0]+_[1]*E[1])>L?(L=R,g=x,T=!1):R=o.length||!x)break;st(x),p=x}}else st(g)}Ce&&Ve([Me||Ce[0],Se||Ce[1]]),ie.push(ce.slice(0,ye))}var ft=X.slice(X.length-1);if(H&&ft!=="h"&&ft!=="v"){for(var bt=!1,Et=-1,kt=[],xt=0;xt=0?l=c:(l=c=o,o++),l0?Math.max(u,h):0}}},4898:function(k){k.exports={container:"marker",min:"cmin",max:"cmax"}},49508:function(k,m,t){var d=t(7901),y=t(52075).hasColorscale,i=t(1586),M=t(34098);k.exports=function(v,h,l,a,u,s){var o=M.isBubble(v),c=(v.line||{}).color;s=s||{},c&&(l=c),u("marker.symbol"),u("marker.opacity",o?.7:1),u("marker.size"),s.noAngle||(u("marker.angle"),s.noAngleRef||u("marker.angleref"),s.noStandOff||u("marker.standoff")),u("marker.color",l),y(v,"marker")&&i(v,h,a,u,{prefix:"marker.",cLetter:"c"}),s.noSelect||(u("selected.marker.color"),u("unselected.marker.color"),u("selected.marker.size"),u("unselected.marker.size")),s.noLine||(u("marker.line.color",c&&!Array.isArray(c)&&h.marker.color!==c?c:o?d.background:d.defaultLine),y(v,"marker.line")&&i(v,h,a,u,{prefix:"marker.line.",cLetter:"c"}),u("marker.line.width",o?1:0)),o&&(u("marker.sizeref"),u("marker.sizemin"),u("marker.sizemode")),s.gradient&&u("marker.gradient.type")!=="none"&&u("marker.gradient.color")}},73927:function(k,m,t){var d=t(71828).dateTick0,y=t(50606).ONEWEEK;function i(M,v){return d(v,M%y==0?1:0)}k.exports=function(M,v,h,l,a){if(a||(a={x:!0,y:!0}),a.x){var u=l("xperiod");u&&(l("xperiod0",i(u,v.xcalendar)),l("xperiodalignment"))}if(a.y){var s=l("yperiod");s&&(l("yperiod0",i(s,v.ycalendar)),l("yperiodalignment"))}}},32663:function(k,m,t){var d=t(39898),y=t(73972),i=t(71828),M=i.ensureSingle,v=i.identity,h=t(91424),l=t(34098),a=t(34621),u=t(68687),s=t(61082).tester;function o(c,f,p,w,g,S,x){var T,E=c._context.staticPlot;(function(he,be,ke,Le,Be){var ze=ke.xaxis,je=ke.yaxis,ge=d.extent(i.simpleMap(ze.range,ze.r2c)),we=d.extent(i.simpleMap(je.range,je.r2c)),Ee=Le[0].trace;if(l.hasMarkers(Ee)){var Ve=Ee.marker.maxdisplayed;if(Ve!==0){var Ye=Le.filter(function(ft){return ft.x>=ge[0]&&ft.x<=ge[1]&&ft.y>=we[0]&&ft.y<=we[1]}),$e=Math.ceil(Ye.length/Ve),st=0;Be.forEach(function(ft,bt){var Et=ft[0].trace;l.hasMarkers(Et)&&Et.marker.maxdisplayed>0&&bt0;function A(he){return _?he.transition():he}var L=p.xaxis,b=p.yaxis,R=w[0].trace,I=R.line,O=d.select(S),z=M(O,"g","errorbars"),F=M(O,"g","lines"),B=M(O,"g","points"),N=M(O,"g","text");if(y.getComponentMethod("errorbars","plot")(c,z,p,x),R.visible===!0){var W,j;A(O).style("opacity",R.opacity);var Y=R.fill.charAt(R.fill.length-1);Y!=="x"&&Y!=="y"&&(Y=""),w[0][p.isRangePlot?"nodeRangePlot3":"node3"]=O;var U,G,q="",H=[],ne=R._prevtrace;ne&&(q=ne._prevRevpath||"",j=ne._nextFill,H=ne._polygons);var te,Z,X,Q,re,ie,oe,ue="",ce="",ye=[],de=i.noop;if(W=R._ownFill,l.hasLines(R)||R.fill!=="none"){for(j&&j.datum(w),["hv","vh","hvh","vhv"].indexOf(I.shape)!==-1?(te=h.steps(I.shape),Z=h.steps(I.shape.split("").reverse().join(""))):te=Z=I.shape==="spline"?function(he){var be=he[he.length-1];return he.length>1&&he[0][0]===be[0]&&he[0][1]===be[1]?h.smoothclosed(he.slice(1),I.smoothing):h.smoothopen(he,I.smoothing)}:function(he){return"M"+he.join("L")},X=function(he){return Z(he.reverse())},ye=a(w,{xaxis:L,yaxis:b,trace:R,connectGaps:R.connectgaps,baseTolerance:Math.max(I.width||1,3)/4,shape:I.shape,backoff:I.backoff,simplify:I.simplify,fill:R.fill}),oe=R._polygons=new Array(ye.length),T=0;T0,A=u(c,f,p);(x=w.selectAll("g.trace").data(A,function(L){return L[0].trace.uid})).enter().append("g").attr("class",function(L){return"trace scatter trace"+L[0].trace.uid}).style("stroke-miterlimit",2),x.order(),function(L,b,R){b.each(function(I){var O=M(d.select(this),"g","fills");h.setClipUrl(O,R.layerClipId,L);var z=I[0].trace,F=[];z._ownfill&&F.push("_ownFill"),z._nexttrace&&F.push("_nextFill");var B=O.selectAll("g").data(F,v);B.enter().append("g"),B.exit().each(function(N){z[N]=null}).remove(),B.order().each(function(N){z[N]=M(d.select(this),"path","js-fill")})})}(c,x,f),_?(S&&(T=S()),d.transition().duration(g.duration).ease(g.easing).each("end",function(){T&&T()}).each("interrupt",function(){T&&T()}).each(function(){w.selectAll("g.trace").each(function(L,b){o(c,b,f,L,A,this,g)})})):x.each(function(L,b){o(c,b,f,L,A,this,g)}),E&&x.exit().remove(),w.selectAll("path:not([d])").remove()}},98002:function(k,m,t){var d=t(34098);k.exports=function(y,i){var M,v,h,l,a=y.cd,u=y.xaxis,s=y.yaxis,o=[],c=a[0].trace;if(!d.hasMarkers(c)&&!d.hasText(c))return[];if(i===!1)for(M=0;M0){var p=h.c2l(c);h._lowerLogErrorBound||(h._lowerLogErrorBound=p),h._lowerErrorBound=Math.min(h._lowerLogErrorBound,p)}}else a[u]=[-s[0]*v,s[1]*v]}return a}k.exports=function(i,M,v){var h=[y(i.x,i.error_x,M[0],v.xaxis),y(i.y,i.error_y,M[1],v.yaxis),y(i.z,i.error_z,M[2],v.zaxis)],l=function(f){for(var p=0;p-1?-1:b.indexOf("right")>-1?1:0}function x(b){return b==null?0:b.indexOf("top")>-1?-1:b.indexOf("bottom")>-1?1:0}function T(b,R){return R(4*b)}function E(b){return o[b]}function _(b,R,I,O,z){var F=null;if(h.isArrayOrTypedArray(b)){F=[];for(var B=0;B=0){var j=function(Y,U,G){var q,H=(G+1)%3,ne=(G+2)%3,te=[],Z=[];for(q=0;q=0&&c("surfacecolor",p||w);for(var g=["x","y","z"],S=0;S<3;++S){var x="projection."+g[S];c(x+".show")&&(c(x+".opacity"),c(x+".scale"))}var T=d.getComponentMethod("errorbars","supplyDefaults");T(a,u,p||w||s,{axis:"z"}),T(a,u,p||w||s,{axis:"y",inherit:"z"}),T(a,u,p||w||s,{axis:"x",inherit:"z"})}else u.visible=!1}},13551:function(k,m,t){k.exports={plot:t(58925),attributes:t(44542),markerSymbols:t(87381),supplyDefaults:t(21428),colorbar:[{container:"marker",min:"cmin",max:"cmax"},{container:"line",min:"cmin",max:"cmax"}],calc:t(36563),moduleType:"trace",name:"scatter3d",basePlotModule:t(58547),categories:["gl3d","symbols","showLegend","scatter-like"],meta:{}}},97001:function(k,m,t){var d=t(82196),y=t(9012),i=t(5386).fF,M=t(5386).si,v=t(50693),h=t(1426).extendFlat,l=d.marker,a=d.line,u=l.line;k.exports={carpet:{valType:"string",editType:"calc"},a:{valType:"data_array",editType:"calc"},b:{valType:"data_array",editType:"calc"},mode:h({},d.mode,{dflt:"markers"}),text:h({},d.text,{}),texttemplate:M({editType:"plot"},{keys:["a","b","text"]}),hovertext:h({},d.hovertext,{}),line:{color:a.color,width:a.width,dash:a.dash,backoff:a.backoff,shape:h({},a.shape,{values:["linear","spline"]}),smoothing:a.smoothing,editType:"calc"},connectgaps:d.connectgaps,fill:h({},d.fill,{values:["none","toself","tonext"],dflt:"none"}),fillcolor:d.fillcolor,marker:h({symbol:l.symbol,opacity:l.opacity,maxdisplayed:l.maxdisplayed,angle:l.angle,angleref:l.angleref,standoff:l.standoff,size:l.size,sizeref:l.sizeref,sizemin:l.sizemin,sizemode:l.sizemode,line:h({width:u.width,editType:"calc"},v("marker.line")),gradient:l.gradient,editType:"calc"},v("marker")),textfont:d.textfont,textposition:d.textposition,selected:d.selected,unselected:d.unselected,hoverinfo:h({},y.hoverinfo,{flags:["a","b","text","name"]}),hoveron:d.hoveron,hovertemplate:i()}},34618:function(k,m,t){var d=t(92770),y=t(36922),i=t(75225),M=t(66279),v=t(47761).calcMarkerSize,h=t(22882);k.exports=function(l,a){var u=a._carpetTrace=h(l,a);if(u&&u.visible&&u.visible!=="legendonly"){var s;a.xaxis=u.xaxis,a.yaxis=u.yaxis;var o,c,f=a._length,p=new Array(f),w=!1;for(s=0;s")}return l}function T(E,_){var A;A=E.labelprefix&&E.labelprefix.length>0?E.labelprefix.replace(/ = $/,""):E._hovertitle,S.push(A+": "+_.toFixed(3)+E.labelsuffix)}}},46858:function(k,m,t){k.exports={attributes:t(97001),supplyDefaults:t(98965),colorbar:t(4898),formatLabels:t(48953),calc:t(34618),plot:t(1913),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(22931),selectPoints:t(98002),eventData:t(16165),moduleType:"trace",name:"scattercarpet",basePlotModule:t(93612),categories:["svg","carpet","symbols","showLegend","carpetDependent","zoomScale"],meta:{}}},1913:function(k,m,t){var d=t(32663),y=t(89298),i=t(91424);k.exports=function(M,v,h,l){var a,u,s,o=h[0][0].carpet,c=y.getFromId(M,o.xaxis||"x"),f=y.getFromId(M,o.yaxis||"y"),p={xaxis:c,yaxis:f,plot:v.plot};for(a=0;a")}function j(Y){return Y+"°"}}(s,g,h,u[0].t.labels),h.hovertemplate=s.hovertemplate,[h]}}},17988:function(k,m,t){k.exports={attributes:t(19316),supplyDefaults:t(10659),colorbar:t(4898),formatLabels:t(82719),calc:t(84622),calcGeoJSON:t(89171).calcGeoJSON,plot:t(89171).plot,style:t(33095),styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(14977),eventData:t(84084),selectPoints:t(20548),moduleType:"trace",name:"scattergeo",basePlotModule:t(44622),categories:["geo","symbols","showLegend","scatter-like"],meta:{}}},89171:function(k,m,t){var d=t(39898),y=t(71828),i=t(90973).getTopojsonFeatures,M=t(18214),v=t(41327),h=t(71739).findExtremes,l=t(50606).BADNUM,a=t(47761).calcMarkerSize,u=t(34098),s=t(33095);k.exports={calcGeoJSON:function(o,c){var f,p,w=o[0].trace,g=c[w.geo],S=g._subplot,x=w._length;if(Array.isArray(w.locations)){var T=w.locationmode,E=T==="geojson-id"?v.extractTraceFeature(o):i(w,S.topojson);for(f=0;f=p,R=2*L,I={},O=E.makeCalcdata(S,"x"),z=_.makeCalcdata(S,"y"),F=v(S,E,"x",O),B=v(S,_,"y",z),N=F.vals,W=B.vals;S._x=N,S._y=W,S.xperiodalignment&&(S._origX=O,S._xStarts=F.starts,S._xEnds=F.ends),S.yperiodalignment&&(S._origY=z,S._yStarts=B.starts,S._yEnds=B.ends);var j=new Array(R),Y=new Array(L);for(x=0;x1&&y.extendFlat(re.line,o.linePositions(H,te,Z)),re.errorX||re.errorY){var ie=o.errorBarPositions(H,te,Z,X,Q);re.errorX&&y.extendFlat(re.errorX,ie.x),re.errorY&&y.extendFlat(re.errorY,ie.y)}return re.text&&(y.extendFlat(re.text,{positions:Z},o.textPosition(H,te,re.text,re.marker)),y.extendFlat(re.textSel,{positions:Z},o.textPosition(H,te,re.text,re.markerSel)),y.extendFlat(re.textUnsel,{positions:Z},o.textPosition(H,te,re.text,re.markerUnsel))),re}(g,0,S,j,N,W),q=c(g,A);return u(T,S),b?G.marker&&(U=G.marker.sizeAvg||Math.max(G.marker.size,3)):U=l(S,L),a(g,S,E,_,N,W,U),G.errorX&&w(S,E,G.errorX),G.errorY&&w(S,_,G.errorY),G.fill&&!q.fill2d&&(q.fill2d=!0),G.marker&&!q.scatter2d&&(q.scatter2d=!0),G.line&&!q.line2d&&(q.line2d=!0),!G.errorX&&!G.errorY||q.error2d||(q.error2d=!0),G.text&&!q.glText&&(q.glText=!0),G.marker&&(G.marker.snap=L),q.lineOptions.push(G.line),q.errorXOptions.push(G.errorX),q.errorYOptions.push(G.errorY),q.fillOptions.push(G.fill),q.markerOptions.push(G.marker),q.markerSelectedOptions.push(G.markerSel),q.markerUnselectedOptions.push(G.markerUnsel),q.textOptions.push(G.text),q.textSelectedOptions.push(G.textSel),q.textUnselectedOptions.push(G.textUnsel),q.selectBatch.push([]),q.unselectBatch.push([]),I._scene=q,I.index=q.count,I.x=N,I.y=W,I.positions=j,q.count++,[{x:!1,y:!1,t:I,trace:S}]}},78232:function(k){k.exports={TOO_MANY_POINTS:1e5,SYMBOL_SDF_SIZE:200,SYMBOL_SIZE:20,SYMBOL_STROKE:1,DOT_RE:/-dot/,OPEN_RE:/-open/,DASHES:{solid:[1],dot:[1,1],dash:[4,1],longdash:[8,1],dashdot:[4,1,1,1],longdashdot:[8,1,1,1]}}},19635:function(k,m,t){var d=t(92770),y=t(82019),i=t(25075),M=t(73972),v=t(71828),h=t(91424),l=t(41675),a=t(81697).formatColor,u=t(34098),s=t(39984),o=t(68645),c=t(78232),f=t(37822).DESELECTDIM,p={start:1,left:1,end:-1,right:-1,middle:0,center:0,bottom:1,top:-1},w=t(23469).appendArrayPointValue;function g(O,z){var F,B=O._fullLayout,N=z._length,W=z.textfont,j=z.textposition,Y=Array.isArray(j)?j:[j],U=W.color,G=W.size,q=W.family,H={},ne=O._context.plotGlPixelRatio,te=z.texttemplate;if(te){H.text=[];var Z=B._d3locale,X=Array.isArray(te),Q=X?Math.min(te.length,N):N,re=X?function(me){return te[me]}:function(){return te};for(F=0;Fc.TOO_MANY_POINTS||u.hasMarkers(z)?"rect":"round";if(G&&z.connectgaps){var H=B[0],ne=B[1];for(N=0;N1?U[N]:U[0]:U,te=Array.isArray(G)?G.length>1?G[N]:G[0]:G,Z=p[ne],X=p[te],Q=q?q/.8+1:0,re=-X*Q-.5*X;j.offset[N]=[Z*Q/H,re/H]}}return j}}},47148:function(k,m,t){var d=t(71828),y=t(73972),i=t(68645),M=t(42341),v=t(47581),h=t(34098),l=t(67513),a=t(73927),u=t(49508),s=t(11058),o=t(28908),c=t(82410);k.exports=function(f,p,w,g){function S(R,I){return d.coerce(f,p,M,R,I)}var x=!!f.marker&&i.isOpenSymbol(f.marker.symbol),T=h.isBubble(f),E=l(f,p,g,S);if(E){a(f,p,g,S),S("xhoverformat"),S("yhoverformat");var _=E100},m.isDotSymbol=function(y){return typeof y=="string"?d.DOT_RE.test(y):y>200}},20794:function(k,m,t){var d=t(73972),y=t(71828),i=t(34603);function M(v,h,l,a){var u=v.xa,s=v.ya,o=v.distance,c=v.dxy,f=v.index,p={pointNumber:f,x:h[f],y:l[f]};p.tx=Array.isArray(a.text)?a.text[f]:a.text,p.htx=Array.isArray(a.hovertext)?a.hovertext[f]:a.hovertext,p.data=Array.isArray(a.customdata)?a.customdata[f]:a.customdata,p.tp=Array.isArray(a.textposition)?a.textposition[f]:a.textposition;var w=a.textfont;w&&(p.ts=y.isArrayOrTypedArray(w.size)?w.size[f]:w.size,p.tc=Array.isArray(w.color)?w.color[f]:w.color,p.tf=Array.isArray(w.family)?w.family[f]:w.family);var g=a.marker;g&&(p.ms=y.isArrayOrTypedArray(g.size)?g.size[f]:g.size,p.mo=y.isArrayOrTypedArray(g.opacity)?g.opacity[f]:g.opacity,p.mx=y.isArrayOrTypedArray(g.symbol)?g.symbol[f]:g.symbol,p.ma=y.isArrayOrTypedArray(g.angle)?g.angle[f]:g.angle,p.mc=y.isArrayOrTypedArray(g.color)?g.color[f]:g.color);var S=g&&g.line;S&&(p.mlc=Array.isArray(S.color)?S.color[f]:S.color,p.mlw=y.isArrayOrTypedArray(S.width)?S.width[f]:S.width);var x=g&&g.gradient;x&&x.type!=="none"&&(p.mgt=Array.isArray(x.type)?x.type[f]:x.type,p.mgc=Array.isArray(x.color)?x.color[f]:x.color);var T=u.c2p(p.x,!0),E=s.c2p(p.y,!0),_=p.mrc||1,A=a.hoverlabel;A&&(p.hbg=Array.isArray(A.bgcolor)?A.bgcolor[f]:A.bgcolor,p.hbc=Array.isArray(A.bordercolor)?A.bordercolor[f]:A.bordercolor,p.hts=y.isArrayOrTypedArray(A.font.size)?A.font.size[f]:A.font.size,p.htc=Array.isArray(A.font.color)?A.font.color[f]:A.font.color,p.htf=Array.isArray(A.font.family)?A.font.family[f]:A.font.family,p.hnl=y.isArrayOrTypedArray(A.namelength)?A.namelength[f]:A.namelength);var L=a.hoverinfo;L&&(p.hi=Array.isArray(L)?L[f]:L);var b=a.hovertemplate;b&&(p.ht=Array.isArray(b)?b[f]:b);var R={};R[v.index]=p;var I=a._origX,O=a._origY,z=y.extendFlat({},v,{color:i(a,p),x0:T-_,x1:T+_,xLabelVal:I?I[f]:p.x,y0:E-_,y1:E+_,yLabelVal:O?O[f]:p.y,cd:R,distance:o,spikeDistance:c,hovertemplate:p.ht});return p.htx?z.text=p.htx:p.tx?z.text=p.tx:a.text&&(z.text=a.text),y.fillText(p,a,z),d.getComponentMethod("errorbars","hoverInfo")(p,a,z),z}k.exports={hoverPoints:function(v,h,l,a){var u,s,o,c,f,p,w,g,S,x,T=v.cd,E=T[0].t,_=T[0].trace,A=v.xa,L=v.ya,b=E.x,R=E.y,I=A.c2p(h),O=L.c2p(l),z=v.distance;if(E.tree){var F=A.p2c(I-z),B=A.p2c(I+z),N=L.p2c(O-z),W=L.p2c(O+z);u=a==="x"?E.tree.range(Math.min(F,B),Math.min(L._rl[0],L._rl[1]),Math.max(F,B),Math.max(L._rl[0],L._rl[1])):E.tree.range(Math.min(F,B),Math.min(N,W),Math.max(F,B),Math.max(N,W))}else u=E.ids;var j=z;if(a==="x"){var Y=!!_.xperiodalignment,U=!!_.yperiodalignment;for(p=0;p=Math.min(G,q)&&I<=Math.max(G,q)?0:1/0}if(w=Math.min(H,ne)&&O<=Math.max(H,ne)?0:1/0}x=Math.sqrt(w*w+g*g),o=u[p]}}}else for(p=u.length-1;p>-1;p--)c=b[s=u[p]],f=R[s],w=A.c2p(c)-I,g=L.c2p(f)-O,(S=Math.sqrt(w*w+g*g))T.glText.length){var b=A-T.glText.length;for(g=0;gue&&(isNaN(oe[ce])||isNaN(oe[ce+1]));)ce-=2;ie.positions=oe.slice(ue,ce+2)}return ie}),T.line2d.update(T.lineOptions)),T.error2d){var I=(T.errorXOptions||[]).concat(T.errorYOptions||[]);T.error2d.update(I)}T.scatter2d&&T.scatter2d.update(T.markerOptions),T.fillOrder=v.repeat(null,A),T.fill2d&&(T.fillOptions=T.fillOptions.map(function(ie,oe){var ue=w[oe];if(ie&&ue&&ue[0]&&ue[0].trace){var ce,ye,de=ue[0],me=de.trace,pe=de.t,xe=T.lineOptions[oe],Pe=[];me._ownfill&&Pe.push(oe),me._nexttrace&&Pe.push(oe+1),Pe.length&&(T.fillOrder[oe]=Pe);var _e,Me,Se=[],Ce=xe&&xe.positions||pe.positions;if(me.fill==="tozeroy"){for(_e=0;_e_e&&isNaN(Ce[Me+1]);)Me-=2;Ce[_e+1]!==0&&(Se=[Ce[_e],0]),Se=Se.concat(Ce.slice(_e,Me+2)),Ce[Me+1]!==0&&(Se=Se.concat([Ce[Me],0]))}else if(me.fill==="tozerox"){for(_e=0;_e_e&&isNaN(Ce[Me]);)Me-=2;Ce[_e]!==0&&(Se=[0,Ce[_e+1]]),Se=Se.concat(Ce.slice(_e,Me+2)),Ce[Me]!==0&&(Se=Se.concat([0,Ce[Me+1]]))}else if(me.fill==="toself"||me.fill==="tonext"){for(Se=[],ce=0,ie.splitNull=!0,ye=0;ye-1;for(g=0;g")}function S(x){return x+"°"}}k.exports={hoverPoints:function(a,u,s){var o=a.cd,c=o[0].trace,f=a.xa,p=a.ya,w=a.subplot,g=[],S=h+c.uid+"-circle",x=c.cluster&&c.cluster.enabled;if(x){var T=w.map.queryRenderedFeatures(null,{layers:[S]});g=T.map(function(B){return B.id})}var E=360*(u>=0?Math.floor((u+180)/360):Math.ceil((u-180)/360)),_=u-E;if(d.getClosest(o,function(B){var N=B.lonlat;if(N[0]===v||x&&g.indexOf(B.i+1)===-1)return 1/0;var W=y.modHalf(N[0],360),j=N[1],Y=w.project([W,j]),U=Y.x-f.c2p([_,j]),G=Y.y-p.c2p([W,s]),q=Math.max(3,B.mrc||0);return Math.max(Math.sqrt(U*U+G*G)-q,1-3/q)},a),a.index!==!1){var A=o[a.index],L=A.lonlat,b=[y.modHalf(L[0],360)+E,L[1]],R=f.c2p(b),I=p.c2p(b),O=A.mrc||1;a.x0=R-O,a.x1=R+O,a.y0=I-O,a.y1=I+O;var z={};z[c.subplot]={_subplot:w};var F=c._module.formatLabels(A,c,z);return a.lonLabel=F.lonLabel,a.latLabel=F.latLabel,a.color=i(c,A),a.extraText=l(c,A,o[0].t.labels),a.hovertemplate=c.hovertemplate,[a]}},getExtraText:l}},20467:function(k,m,t){k.exports={attributes:t(99181),supplyDefaults:t(76645),colorbar:t(4898),formatLabels:t(15636),calc:t(84622),plot:t(86951),hoverPoints:t(28178).hoverPoints,eventData:t(53353),selectPoints:t(86387),styleOnSelect:function(d,y){y&&y[0].trace._glTrace.update(y)},moduleType:"trace",name:"scattermapbox",basePlotModule:t(50101),categories:["mapbox","gl","symbols","showLegend","scatter-like"],meta:{}}},86951:function(k,m,t){var d=t(71828),y=t(15790),i=t(77734).traceLayerPrefix,M={cluster:["cluster","clusterCount","circle"],nonCluster:["fill","line","circle","symbol"]};function v(l,a,u,s){this.type="scattermapbox",this.subplot=l,this.uid=a,this.clusterEnabled=u,this.isHidden=s,this.sourceIds={fill:"source-"+a+"-fill",line:"source-"+a+"-line",circle:"source-"+a+"-circle",symbol:"source-"+a+"-symbol",cluster:"source-"+a+"-circle",clusterCount:"source-"+a+"-circle"},this.layerIds={fill:i+a+"-fill",line:i+a+"-line",circle:i+a+"-circle",symbol:i+a+"-symbol",cluster:i+a+"-cluster",clusterCount:i+a+"-cluster-count"},this.below=null}var h=v.prototype;h.addSource=function(l,a,u){var s={type:"geojson",data:a.geojson};u&&u.enabled&&d.extendFlat(s,{cluster:!0,clusterMaxZoom:u.maxzoom});var o=this.subplot.map.getSource(this.sourceIds[l]);o?o.setData(a.geojson):this.subplot.map.addSource(this.sourceIds[l],s)},h.setSourceData=function(l,a){this.subplot.map.getSource(this.sourceIds[l]).setData(a.geojson)},h.addLayer=function(l,a,u){var s={type:a.type,id:this.layerIds[l],source:this.sourceIds[l],layout:a.layout,paint:a.paint};a.filter&&(s.filter=a.filter);for(var o,c=this.layerIds[l],f=this.subplot.getMapLayers(),p=0;p=0;b--){var R=L[b];s.removeLayer(w.layerIds[R])}A||s.removeSource(w.sourceIds.circle)}(_):function(A){for(var L=M.nonCluster,b=L.length-1;b>=0;b--){var R=L[b];s.removeLayer(w.layerIds[R]),A||s.removeSource(w.sourceIds[R])}}(_)}function S(_){f?function(A){A||w.addSource("circle",o.circle,a.cluster);for(var L=M.cluster,b=0;b=0;u--){var s=a[u];l.removeLayer(this.layerIds[s]),l.removeSource(this.sourceIds[s])}},k.exports=function(l,a){var u,s,o,c=a[0].trace,f=c.cluster&&c.cluster.enabled,p=c.visible!==!0,w=new v(l,c.uid,f,p),g=y(l.gd,a),S=w.below=l.belowLookup["trace-"+c.uid];if(f)for(w.addSource("circle",g.circle,c.cluster),u=0;u")}}k.exports={hoverPoints:function(i,M,v,h){var l=d(i,M,v,h);if(l&&l[0].index!==!1){var a=l[0];if(a.index===void 0)return l;var u=i.subplot,s=a.cd[a.index],o=a.trace;if(u.isPtInside(s))return a.xLabelVal=void 0,a.yLabelVal=void 0,y(s,o,u,a),a.hovertemplate=o.hovertemplate,l}},makeHoverPointText:y}},91271:function(k,m,t){k.exports={moduleType:"trace",name:"scatterpolar",basePlotModule:t(23580),categories:["polar","symbols","showLegend","scatter-like"],attributes:t(81245),supplyDefaults:t(22184).supplyDefaults,colorbar:t(4898),formatLabels:t(98608),calc:t(26442),plot:t(45162),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(59150).hoverPoints,selectPoints:t(98002),meta:{}}},45162:function(k,m,t){var d=t(32663),y=t(50606).BADNUM;k.exports=function(i,M,v){for(var h=M.layers.frontplot.select("g.scatterlayer"),l=M.xaxis,a=M.yaxis,u={xaxis:l,yaxis:a,plot:M.framework,layerClipId:M._hasClipOnAxisFalse?M.clipIds.forTraces:null},s=M.radialAxis,o=M.angularAxis,c=0;c=l&&(A.marker.cluster=x.tree),A.marker&&(A.markerSel.positions=A.markerUnsel.positions=A.marker.positions=R),A.line&&R.length>1&&h.extendFlat(A.line,v.linePositions(a,S,R)),A.text&&(h.extendFlat(A.text,{positions:R},v.textPosition(a,S,A.text,A.marker)),h.extendFlat(A.textSel,{positions:R},v.textPosition(a,S,A.text,A.markerSel)),h.extendFlat(A.textUnsel,{positions:R},v.textPosition(a,S,A.text,A.markerUnsel))),A.fill&&!f.fill2d&&(f.fill2d=!0),A.marker&&!f.scatter2d&&(f.scatter2d=!0),A.line&&!f.line2d&&(f.line2d=!0),A.text&&!f.glText&&(f.glText=!0),f.lineOptions.push(A.line),f.fillOptions.push(A.fill),f.markerOptions.push(A.marker),f.markerSelectedOptions.push(A.markerSel),f.markerUnselectedOptions.push(A.markerUnsel),f.textOptions.push(A.text),f.textSelectedOptions.push(A.textSel),f.textUnselectedOptions.push(A.textUnsel),f.selectBatch.push([]),f.unselectBatch.push([]),x.x=I,x.y=O,x.rawx=I,x.rawy=O,x.r=E,x.theta=_,x.positions=R,x._scene=f,x.index=f.count,f.count++}}),i(a,u,s)}},k.exports.reglPrecompiled={}},48300:function(k,m,t){var d=t(5386).fF,y=t(5386).si,i=t(1426).extendFlat,M=t(82196),v=t(9012),h=M.line;k.exports={mode:M.mode,real:{valType:"data_array",editType:"calc+clearAxisTypes"},imag:{valType:"data_array",editType:"calc+clearAxisTypes"},text:M.text,texttemplate:y({editType:"plot"},{keys:["real","imag","text"]}),hovertext:M.hovertext,line:{color:h.color,width:h.width,dash:h.dash,backoff:h.backoff,shape:i({},h.shape,{values:["linear","spline"]}),smoothing:h.smoothing,editType:"calc"},connectgaps:M.connectgaps,marker:M.marker,cliponaxis:i({},M.cliponaxis,{dflt:!1}),textposition:M.textposition,textfont:M.textfont,fill:i({},M.fill,{values:["none","toself","tonext"],dflt:"none"}),fillcolor:M.fillcolor,hoverinfo:i({},v.hoverinfo,{flags:["real","imag","text","name"]}),hoveron:M.hoveron,hovertemplate:d(),selected:M.selected,unselected:M.unselected}},30621:function(k,m,t){var d=t(92770),y=t(50606).BADNUM,i=t(36922),M=t(75225),v=t(66279),h=t(47761).calcMarkerSize;k.exports=function(l,a){for(var u=l._fullLayout,s=a.subplot,o=u[s].realaxis,c=u[s].imaginaryaxis,f=o.makeCalcdata(a,"real"),p=c.makeCalcdata(a,"imag"),w=a._length,g=new Array(w),S=0;S")}}k.exports={hoverPoints:function(i,M,v,h){var l=d(i,M,v,h);if(l&&l[0].index!==!1){var a=l[0];if(a.index===void 0)return l;var u=i.subplot,s=a.cd[a.index],o=a.trace;if(u.isPtInside(s))return a.xLabelVal=void 0,a.yLabelVal=void 0,y(s,o,u,a),a.hovertemplate=o.hovertemplate,l}},makeHoverPointText:y}},85956:function(k,m,t){k.exports={moduleType:"trace",name:"scattersmith",basePlotModule:t(7504),categories:["smith","symbols","showLegend","scatter-like"],attributes:t(48300),supplyDefaults:t(65269),colorbar:t(4898),formatLabels:t(62047),calc:t(30621),plot:t(12480),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(11350).hoverPoints,selectPoints:t(98002),meta:{}}},12480:function(k,m,t){var d=t(32663),y=t(50606).BADNUM,i=t(23893).smith;k.exports=function(M,v,h){for(var l=v.layers.frontplot.select("g.scatterlayer"),a=v.xaxis,u=v.yaxis,s={xaxis:a,yaxis:u,plot:v.framework,layerClipId:v._hasClipOnAxisFalse?v.clipIds.forTraces:null},o=0;o"),l.hovertemplate=f.hovertemplate,h}function E(_,A){x.push(_._hovertitle+": "+A)}}},52979:function(k,m,t){k.exports={attributes:t(50413),supplyDefaults:t(46008),colorbar:t(4898),formatLabels:t(93645),calc:t(54337),plot:t(7507),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(47250),selectPoints:t(98002),eventData:t(4524),moduleType:"trace",name:"scatterternary",basePlotModule:t(61639),categories:["ternary","symbols","showLegend","scatter-like"],meta:{}}},7507:function(k,m,t){var d=t(32663);k.exports=function(y,i,M){var v=i.plotContainer;v.select(".scatterlayer").selectAll("*").remove();for(var h=i.xaxis,l=i.yaxis,a={xaxis:h,yaxis:l,plot:v,layerClipId:i._hasClipOnAxisFalse?i.clipIdRelative:null},u=i.layers.frontplot.select("g.scatterlayer"),s=0;ss?_.sizeAvg||Math.max(_.size,3):i(c,E),p=0;pR&&z||b-1,j=!0;if(M(_)||w.selectedpoints||W){var Y=w._length;if(w.selectedpoints){S.selectBatch=w.selectedpoints;var U=w.selectedpoints,G={};for(s=0;s1&&(p=T[A-1],g=E[A-1],x=_[A-1]),l=0;lp?"-":"+")+"x")).replace("y",(w>g?"-":"+")+"y")).replace("z",(S>x?"-":"+")+"z");var j=function(){A=0,B=[],N=[],W=[]};(!A||A2?f.slice(1,p-1):p===2?[(f[0]+f[1])/2]:f}function o(f){var p=f.length;return p===1?[.5,.5]:[f[1]-f[0],f[p-1]-f[p-2]]}function c(f,p){var w=f.fullSceneLayout,g=f.dataScale,S=p._len,x={};function T(te,Z){var X=w[Z],Q=g[l[Z]];return i.simpleMap(te,function(re){return X.d2l(re)*Q})}if(x.vectors=h(T(p._u,"xaxis"),T(p._v,"yaxis"),T(p._w,"zaxis"),S),!S)return{positions:[],cells:[]};var E=T(p._Xs,"xaxis"),_=T(p._Ys,"yaxis"),A=T(p._Zs,"zaxis");if(x.meshgrid=[E,_,A],x.gridFill=p._gridFill,p._slen)x.startingPositions=h(T(p._startsX,"xaxis"),T(p._startsY,"yaxis"),T(p._startsZ,"zaxis"));else{for(var L=_[0],b=s(E),R=s(A),I=new Array(b.length*R.length),O=0,z=0;z=0};L?(w=Math.min(A.length,R.length),g=function(ue){return N(A[ue])&&W(ue)},S=function(ue){return String(A[ue])}):(w=Math.min(b.length,R.length),g=function(ue){return N(b[ue])&&W(ue)},S=function(ue){return String(b[ue])}),O&&(w=Math.min(w,I.length));for(var j=0;j1){for(var q=i.randstr(),H=0;H>>8*k)%256/255}function h(_,k,E){for(var x=new Array(8*k),A=0,L=0;Lie&&(ie=q[te].dim1.canvasX,X=te);Q===0&&u(O,0,0,E.canvasWidth,E.canvasHeight);var oe=function(Me){var Se,Ce,ae,fe=[[],[]];for(ae=0;ae<64;ae++){var be=!Me&&aeoe._length&&(Pe=Pe.slice(0,oe._length));var _e,Me=oe.tickvals;function Se(ke,Le){return{val:ke,text:_e[Le]}}function Ce(ke,Le){return ke.val-Le.val}if(Array.isArray(Me)&&Me.length){_e=oe.ticktext,Array.isArray(_e)&&_e.length?_e.length>Me.length?_e=_e.slice(0,Me.length):Me.length>_e.length&&(Me=Me.slice(0,_e.length)):_e=Me.map(i(oe.tickformat));for(var ae=1;ae=Be||we>=ze)return;var Ee=ke.lineLayer.readPixel(ge,ze-1-we),Ve=Ee[3]!==0,$e=Ve?Ee[2]+256*(Ee[1]+256*Ee[0]):null,Ye={x:ge,y:we,clientX:Le.clientX,clientY:Le.clientY,dataIndex:ke.model.key,curveNumber:$e};$e!==ye&&(Ve?q.hover(Ye):q.unhover&&q.unhover(Ye),ye=$e)}}),ce.style("opacity",function(ke){return ke.pick?0:1}),te.style("background","rgba(255, 255, 255, 0)");var de=te.selectAll("."+y.cn.parcoords).data(ue,c);de.exit().remove(),de.enter().append("g").classed(y.cn.parcoords,!0).style("shape-rendering","crispEdges").style("pointer-events","none"),de.attr("transform",function(ke){return l(ke.model.translateX,ke.model.translateY)});var me=de.selectAll("."+y.cn.parcoordsControlView).data(h,c);me.enter().append("g").classed(y.cn.parcoordsControlView,!0),me.attr("transform",function(ke){return l(ke.model.pad.l,ke.model.pad.t)});var pe=me.selectAll("."+y.cn.yAxis).data(function(ke){return ke.dimensions},c);pe.enter().append("g").classed(y.cn.yAxis,!0),me.each(function(ke){N(pe,ke,X)}),ce.each(function(ke){if(ke.viewModel){!ke.lineLayer||q?ke.lineLayer=_(this,ke):ke.lineLayer.update(ke),(ke.key||ke.key===0)&&(ke.viewModel[ke.key]=ke.lineLayer);var Le=!ke.context||q;ke.lineLayer.render(ke.viewModel.panels,Le)}}),pe.attr("transform",function(ke){return l(ke.xScale(ke.xIndex),0)}),pe.call(d.behavior.drag().origin(function(ke){return ke}).on("drag",function(ke){var Le=ke.parent;oe.linePickActive(!1),ke.x=Math.max(-y.overdrag,Math.min(ke.model.width+y.overdrag,d.event.x)),ke.canvasX=ke.x*ke.model.canvasPixelRatio,pe.sort(function(Be,ze){return Be.x-ze.x}).each(function(Be,ze){Be.xIndex=ze,Be.x=ke===Be?Be.x:Be.xScale(Be.xIndex),Be.canvasX=Be.x*Be.model.canvasPixelRatio}),N(pe,Le,X),pe.filter(function(Be){return Math.abs(ke.xIndex-Be.xIndex)!==0}).attr("transform",function(Be){return l(Be.xScale(Be.xIndex),0)}),d.select(this).attr("transform",l(ke.x,0)),pe.each(function(Be,ze,je){je===ke.parent.key&&(Le.dimensions[ze]=Be)}),Le.contextLayer&&Le.contextLayer.render(Le.panels,!1,!I(Le)),Le.focusLayer.render&&Le.focusLayer.render(Le.panels)}).on("dragend",function(ke){var Le=ke.parent;ke.x=ke.xScale(ke.xIndex),ke.canvasX=ke.x*ke.model.canvasPixelRatio,N(pe,Le,X),d.select(this).attr("transform",function(Be){return l(Be.x,0)}),Le.contextLayer&&Le.contextLayer.render(Le.panels,!1,!I(Le)),Le.focusLayer&&Le.focusLayer.render(Le.panels),Le.pickLayer&&Le.pickLayer.render(Le.panels,!0),oe.linePickActive(!0),q&&q.axesMoved&&q.axesMoved(Le.key,Le.dimensions.map(function(Be){return Be.crossfilterDimensionIndex}))})),pe.exit().remove();var xe=pe.selectAll("."+y.cn.axisOverlays).data(h,c);xe.enter().append("g").classed(y.cn.axisOverlays,!0),xe.selectAll("."+y.cn.axis).remove();var Pe=xe.selectAll("."+y.cn.axis).data(h,c);Pe.enter().append("g").classed(y.cn.axis,!0),Pe.each(function(ke){var Le=ke.model.height/ke.model.tickDistance,Be=ke.domainScale,ze=Be.domain();d.select(this).call(d.svg.axis().orient("left").tickSize(4).outerTickSize(2).ticks(Le,ke.tickFormat).tickValues(ke.ordinal?ze:null).tickFormat(function(je){return w.isOrdinal(ke)?je:W(ke.model.dimensions[ke.visibleIndex],je)}).scale(Be)),u.font(Pe.selectAll("text"),ke.model.tickFont)}),Pe.selectAll(".domain, .tick>line").attr("fill","none").attr("stroke","black").attr("stroke-opacity",.25).attr("stroke-width","1px"),Pe.selectAll("text").style("text-shadow",a.makeTextShadow(Q)).style("cursor","default");var _e=xe.selectAll("."+y.cn.axisHeading).data(h,c);_e.enter().append("g").classed(y.cn.axisHeading,!0);var Me=_e.selectAll("."+y.cn.axisTitle).data(h,c);Me.enter().append("text").classed(y.cn.axisTitle,!0).attr("text-anchor","middle").style("cursor","ew-resize").style("pointer-events",H?"none":"auto"),Me.text(function(ke){return ke.label}).each(function(ke){var Le=d.select(this);u.font(Le,ke.model.labelFont),a.convertToTspans(Le,$)}).attr("transform",function(ke){var Le=B(ke.model.labelAngle,ke.model.labelSide),Be=y.axisTitleOffset;return(Le.dir>0?"":l(0,2*Be+ke.model.height))+f(Le.degrees)+l(-Be*Le.dx,-Be*Le.dy)}).attr("text-anchor",function(ke){var Le=B(ke.model.labelAngle,ke.model.labelSide);return 2*Math.abs(Le.dx)>Math.abs(Le.dy)?Le.dir*Le.dx<0?"start":"end":"middle"});var Se=xe.selectAll("."+y.cn.axisExtent).data(h,c);Se.enter().append("g").classed(y.cn.axisExtent,!0);var Ce=Se.selectAll("."+y.cn.axisExtentTop).data(h,c);Ce.enter().append("g").classed(y.cn.axisExtentTop,!0),Ce.attr("transform",l(0,-y.axisExtentOffset));var ae=Ce.selectAll("."+y.cn.axisExtentTopText).data(h,c);ae.enter().append("text").classed(y.cn.axisExtentTopText,!0).call(F),ae.text(function(ke){return j(ke,!0)}).each(function(ke){u.font(d.select(this),ke.model.rangeFont)});var fe=Se.selectAll("."+y.cn.axisExtentBottom).data(h,c);fe.enter().append("g").classed(y.cn.axisExtentBottom,!0),fe.attr("transform",function(ke){return l(0,ke.model.height+y.axisExtentOffset)});var be=fe.selectAll("."+y.cn.axisExtentBottomText).data(h,c);be.enter().append("text").classed(y.cn.axisExtentBottomText,!0).attr("dy","0.75em").call(F),be.text(function(ke){return j(ke,!1)}).each(function(ke){u.font(d.select(this),ke.model.rangeFont)}),S.ensureAxisBrush(xe,Q,$)}},21341:function(T,p,t){var d=t(17171),g=t(79749),i=t(1602).isVisible,M={};function v(f,l,a){var u=l.indexOf(a),o=f.indexOf(u);return o===-1&&(o+=l.length),o}(T.exports=function(f,l){var a=f._fullLayout;if(g(f,[],M)){var u={},o={},s={},c={},h=a._size;l.forEach(function(m,w){var y=m[0].trace;s[w]=y.index;var S=c[w]=y._fullInput.index;u[w]=f.data[S].dimensions,o[w]=f.data[S].dimensions.slice()}),d(f,l,{width:h.w,height:h.h,margin:{t:h.t,r:h.r,b:h.b,l:h.l}},{filterChanged:function(m,w,y){var S=o[m][w],_=y.map(function(b){return b.slice()}),k="dimensions["+w+"].constraintrange",E=a._tracePreGUI[f._fullData[s[m]]._fullInput.uid];if(E[k]===void 0){var x=S.constraintrange;E[k]=x||null}var A=f._fullData[s[m]].dimensions[w];_.length?(_.length===1&&(_=_[0]),S.constraintrange=_,A.constraintrange=_.slice(),_=[_]):(delete S.constraintrange,delete A.constraintrange,_=null);var L={};L[k]=_,f.emit("plotly_restyle",[L,[c[m]]])},hover:function(m){f.emit("plotly_hover",m)},unhover:function(m){f.emit("plotly_unhover",m)},axesMoved:function(m,w){var y=function(S,_){return function(k,E){return v(S,_,k)-v(S,_,E)}}(w,o[m].filter(i));u[m].sort(y),o[m].filter(function(S){return!i(S)}).sort(function(S){return o[m].indexOf(S)}).forEach(function(S){u[m].splice(u[m].indexOf(S),1),u[m].splice(o[m].indexOf(S),0,S)}),f.emit("plotly_restyle",[{dimensions:[u[m]]},[c[m]]])}})}}).reglPrecompiled=M},34e3:function(T,p,t){var d=t(9012),g=t(27670).Y,i=t(41940),M=t(22399),v=t(5386).fF,f=t(5386).si,l=t(1426).extendFlat,a=i({editType:"plot",arrayOk:!0,colorEditType:"plot"});T.exports={labels:{valType:"data_array",editType:"calc"},label0:{valType:"number",dflt:0,editType:"calc"},dlabel:{valType:"number",dflt:1,editType:"calc"},values:{valType:"data_array",editType:"calc"},marker:{colors:{valType:"data_array",editType:"calc"},line:{color:{valType:"color",dflt:M.defaultLine,arrayOk:!0,editType:"style"},width:{valType:"number",min:0,dflt:0,arrayOk:!0,editType:"style"},editType:"calc"},editType:"calc"},text:{valType:"data_array",editType:"plot"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"style"},scalegroup:{valType:"string",dflt:"",editType:"calc"},textinfo:{valType:"flaglist",flags:["label","text","value","percent"],extras:["none"],editType:"calc"},hoverinfo:l({},d.hoverinfo,{flags:["label","text","value","percent","name"]}),hovertemplate:v({},{keys:["label","color","value","percent","text"]}),texttemplate:f({editType:"plot"},{keys:["label","color","value","percent","text"]}),textposition:{valType:"enumerated",values:["inside","outside","auto","none"],dflt:"auto",arrayOk:!0,editType:"plot"},textfont:l({},a,{}),insidetextorientation:{valType:"enumerated",values:["horizontal","radial","tangential","auto"],dflt:"auto",editType:"plot"},insidetextfont:l({},a,{}),outsidetextfont:l({},a,{}),automargin:{valType:"boolean",dflt:!1,editType:"plot"},title:{text:{valType:"string",dflt:"",editType:"plot"},font:l({},a,{}),position:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],editType:"plot"},editType:"plot"},domain:g({name:"pie",trace:!0,editType:"calc"}),hole:{valType:"number",min:0,max:1,dflt:0,editType:"calc"},sort:{valType:"boolean",dflt:!0,editType:"calc"},direction:{valType:"enumerated",values:["clockwise","counterclockwise"],dflt:"counterclockwise",editType:"calc"},rotation:{valType:"angle",dflt:0,editType:"calc"},pull:{valType:"number",min:0,max:1,dflt:0,arrayOk:!0,editType:"calc"},_deprecated:{title:{valType:"string",dflt:"",editType:"calc"},titlefont:l({},a,{}),titleposition:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],editType:"calc"}}}},13584:function(T,p,t){var d=t(74875);p.name="pie",p.plot=function(g,i,M,v){d.plotBasePlot(p.name,g,i,M,v)},p.clean=function(g,i,M,v){d.cleanBasePlot(p.name,g,i,M,v)}},32354:function(T,p,t){var d=t(92770),g=t(84267),i=t(7901),M={};function v(l){return function(a,u){return!!a&&!!(a=g(a)).isValid()&&(a=i.addOpacity(a,a.getAlpha()),l[u]||(l[u]=a),a)}}function f(l,a){var u,o=JSON.stringify(l),s=a[o];if(!s){for(s=l.slice(),u=0;u=0}),(a.type==="funnelarea"?A:a.sort)&&s.sort(function(O,z){return z.v-O.v}),s[0]&&(s[0].vTotal=x),s},crossTraceCalc:function(l,a){var u=(a||{}).type;u||(u="pie");var o=l._fullLayout,s=l.calcdata,c=o[u+"colorway"],h=o["_"+u+"colormap"];o["extend"+u+"colors"]&&(c=f(c,M));for(var m=0,w=0;w0){c=!0;break}}c||(s=0)}return{hasLabels:u,hasValues:o,len:s}}T.exports={handleLabelsAndValues:f,supplyDefaults:function(l,a,u,o){function s(E,x){return g.coerce(l,a,i,E,x)}var c=f(s("labels"),s("values")),h=c.len;if(a._hasLabels=c.hasLabels,a._hasValues=c.hasValues,!a._hasLabels&&a._hasValues&&(s("label0"),s("dlabel")),h){a._length=h,s("marker.line.width")&&s("marker.line.color"),s("marker.colors"),s("scalegroup");var m,w=s("text"),y=s("texttemplate");if(y||(m=s("textinfo",Array.isArray(w)?"text+percent":"percent")),s("hovertext"),s("hovertemplate"),y||m&&m!=="none"){var S=s("textposition");v(l,a,o,s,S,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),(Array.isArray(S)||S==="auto"||S==="outside")&&s("automargin"),(S==="inside"||S==="auto"||Array.isArray(S))&&s("insidetextorientation")}M(a,o,s);var _=s("hole");if(s("title.text")){var k=s("title.position",_?"middle center":"top center");_||k!=="middle center"||(a.title.position="top center"),g.coerceFont(s,"title.font",o.font)}s("sort"),s("direction"),s("rotation"),s("pull")}else a.visible=!1}}},20007:function(T,p,t){var d=t(23469).appendArrayMultiPointValues;T.exports=function(g,i){var M={curveNumber:i.index,pointNumbers:g.pts,data:i._input,fullData:i,label:g.label,color:g.color,value:g.v,percent:g.percent,text:g.text,bbox:g.bbox,v:g.v};return g.pts.length===1&&(M.pointNumber=M.i=g.pts[0]),d(M,i,g.pts),i.type==="funnelarea"&&(delete M.v,delete M.i),M}},53581:function(T,p,t){var d=t(71828);function g(i){return i.indexOf("e")!==-1?i.replace(/[.]?0+e/,"e"):i.indexOf(".")!==-1?i.replace(/[.]?0+$/,""):i}p.formatPiePercent=function(i,M){var v=g((100*i).toPrecision(3));return d.numSeparate(v,M)+"%"},p.formatPieValue=function(i,M){var v=g(i.toPrecision(10));return d.numSeparate(v,M)},p.getFirstFilled=function(i,M){if(Array.isArray(i))for(var v=0;v"),name:ie.hovertemplate||oe.indexOf("name")!==-1?ie.name:void 0,idealAlign:Q.pxmid[0]<0?"left":"right",color:m.castOption(xe.bgcolor,Q.pts)||Q.color,borderColor:m.castOption(xe.bordercolor,Q.pts),fontFamily:m.castOption(Pe.family,Q.pts),fontSize:m.castOption(Pe.size,Q.pts),fontColor:m.castOption(Pe.color,Q.pts),nameLength:m.castOption(xe.namelength,Q.pts),textAlign:m.castOption(xe.align,Q.pts),hovertemplate:m.castOption(ie.hovertemplate,Q.pts),hovertemplateLabels:Q,eventData:[w(Q,ie)]},{container:re._hoverlayer.node(),outerContainer:re._paper.node(),gd:G,inOut_bbox:_e}),Q.bbox=_e[0],Z._hasHoverLabel=!0}Z._hasHoverEvent=!0,G.emit("plotly_hover",{points:[w(Q,ie)],event:d.event})}}),U.on("mouseout",function(Q){var re=G._fullLayout,ie=G._fullData[Z.index],oe=d.select(this).datum();Z._hasHoverEvent&&(Q.originalEvent=d.event,G.emit("plotly_unhover",{points:[w(oe,ie)],event:d.event}),Z._hasHoverEvent=!1),Z._hasHoverLabel&&(i.loneUnhover(re._hoverlayer.node()),Z._hasHoverLabel=!1)}),U.on("click",function(Q){var re=G._fullLayout,ie=G._fullData[Z.index];G._dragging||re.hovermode===!1||(G._hoverdata=[w(Q,ie)],i.click(G,d.event))})}function _(U,G,q){var H=m.castOption(U.insidetextfont.color,G.pts);!H&&U._input.textfont&&(H=m.castOption(U._input.textfont.color,G.pts));var ne=m.castOption(U.insidetextfont.family,G.pts)||m.castOption(U.textfont.family,G.pts)||q.family,te=m.castOption(U.insidetextfont.size,G.pts)||m.castOption(U.textfont.size,G.pts)||q.size;return{color:H||M.contrast(G.color),family:ne,size:te}}function k(U,G){for(var q,H,ne=0;neBe&&Be>je||ze=-4;me-=2)pe(Math.PI*me,"tan");for(me=4;me>=-4;me-=2)pe(Math.PI*(me+1),"tan")}if(oe||ce){for(me=4;me>=-4;me-=2)pe(Math.PI*(me+1.5),"rad");for(me=4;me>=-4;me-=2)pe(Math.PI*(me+.5),"rad")}}if(X||ye||oe){var xe=Math.sqrt(U.width*U.width+U.height*U.height);if((te={scale:ne*H*2/xe,rCenter:1-ne,rotate:0}).textPosAngle=(G.startangle+G.stopangle)/2,te.scale>=1)return te;de.push(te)}(ye||ce)&&((te=x(U,H,Z,Q,re)).textPosAngle=(G.startangle+G.stopangle)/2,de.push(te)),(ye||ue)&&((te=A(U,H,Z,Q,re)).textPosAngle=(G.startangle+G.stopangle)/2,de.push(te));for(var Pe=0,_e=0,Me=0;Me=1)break}return de[Pe]}function x(U,G,q,H,ne){G=Math.max(0,G-2*h);var te=U.width/U.height,Z=R(te,H,G,q);return{scale:2*Z/U.height,rCenter:L(te,Z/G),rotate:b(ne)}}function A(U,G,q,H,ne){G=Math.max(0,G-2*h);var te=U.height/U.width,Z=R(te,H,G,q);return{scale:2*Z/U.width,rCenter:L(te,Z/G),rotate:b(ne+Math.PI/2)}}function L(U,G){return Math.cos(G)-U*G}function b(U){return(180/Math.PI*U+720)%180-90}function R(U,G,q,H){var ne=U+1/(2*Math.tan(G));return q*Math.min(1/(Math.sqrt(ne*ne+.5)+ne),H/(Math.sqrt(U*U+H/2)+U))}function I(U,G){return U.v!==G.vTotal||G.trace.hole?Math.min(1/(1+1/Math.sin(U.halfangle)),U.ring/2):1}function O(U,G){var q=G.pxmid[0],H=G.pxmid[1],ne=U.width/2,te=U.height/2;return q<0&&(ne*=-1),H<0&&(te*=-1),{scale:1,rCenter:1,rotate:0,x:ne+Math.abs(te)*(ne>0?1:-1)/2,y:te/(1+q*q/(H*H)),outside:!0}}function z(U,G){var q,H,ne,te=U.trace,Z={x:U.cx,y:U.cy},X={tx:0,ty:0};X.ty+=te.title.font.size,ne=B(te),te.title.position.indexOf("top")!==-1?(Z.y-=(1+ne)*U.r,X.ty-=U.titleBox.height):te.title.position.indexOf("bottom")!==-1&&(Z.y+=(1+ne)*U.r);var Q,re=U.r/((Q=U.trace.aspectratio)===void 0?1:Q),ie=G.w*(te.domain.x[1]-te.domain.x[0])/2;return te.title.position.indexOf("left")!==-1?(ie+=re,Z.x-=(1+ne)*re,X.tx+=U.titleBox.width/2):te.title.position.indexOf("center")!==-1?ie*=2:te.title.position.indexOf("right")!==-1&&(ie+=re,Z.x+=(1+ne)*re,X.tx-=U.titleBox.width/2),q=ie/U.titleBox.width,H=F(U,G)/U.titleBox.height,{x:Z.x,y:Z.y,scale:Math.min(q,H),tx:X.tx,ty:X.ty}}function F(U,G){var q=U.trace,H=G.h*(q.domain.y[1]-q.domain.y[0]);return Math.min(U.titleBox.height,H/2)}function B(U){var G,q=U.pull;if(!q)return 0;if(Array.isArray(q))for(q=0,G=0;Gq&&(q=U.pull[G]);return q}function N(U,G){for(var q=[],H=0;H1?Me=(_e=ce.r)/de.aspectratio:_e=(Me=ce.r)*de.aspectratio,Pe=(_e*=(1+de.baseratio)/2)*Me}pe=Math.min(pe,Pe/ce.vTotal)}for(ye=0;ye")}if(te){var me=f.castOption(ne,G.i,"texttemplate");if(me){var pe=function(Pe){return{label:Pe.label,value:Pe.v,valueLabel:m.formatPieValue(Pe.v,H.separators),percent:Pe.v/q.vTotal,percentLabel:m.formatPiePercent(Pe.v/q.vTotal,H.separators),color:Pe.color,text:Pe.text,customdata:f.castOption(ne,Pe.i,"customdata")}}(G),xe=m.getFirstFilled(ne.text,G.pts);(y(xe)||xe==="")&&(pe.text=xe),G.text=f.texttemplateString(me,pe,U._fullLayout._d3locale,pe,ne._meta||{})}else G.text=""}}function $(U,G){var q=U.rotate*Math.PI/180,H=Math.cos(q),ne=Math.sin(q),te=(G.left+G.right)/2,Z=(G.top+G.bottom)/2;U.textX=te*H-Z*ne,U.textY=te*ne+Z*H,U.noCenter=!0}T.exports={plot:function(U,G){var q=U._context.staticPlot,H=U._fullLayout,ne=H._size;c("pie",H),k(G,U),N(G,ne);var te=f.makeTraceGroups(H._pielayer,G,"trace").each(function(Z){var X=d.select(this),Q=Z[0],re=Q.trace;(function(ie){var oe,ue,ce,ye=ie[0],de=ye.r,me=ye.trace,pe=m.getRotationAngle(me.rotation),xe=2*Math.PI/ye.vTotal,Pe="px0",_e="px1";if(me.direction==="counterclockwise"){for(oe=0;oeye.vTotal/2?1:0,ue.halfangle=Math.PI*Math.min(ue.v/ye.vTotal,.5),ue.ring=1-me.hole,ue.rInscribed=I(ue,ye))})(Z),X.attr("stroke-linejoin","round"),X.each(function(){var ie=d.select(this).selectAll("g.slice").data(Z);ie.enter().append("g").classed("slice",!0),ie.exit().remove();var oe=[[[],[]],[[],[]]],ue=!1;ie.each(function(_e,Me){if(_e.hidden)d.select(this).selectAll("path,g").remove();else{_e.pointNumber=_e.i,_e.curveNumber=re.index,oe[_e.pxmid[1]<0?0:1][_e.pxmid[0]<0?0:1].push(_e);var Se=Q.cx,Ce=Q.cy,ae=d.select(this),fe=ae.selectAll("path.surface").data([_e]);if(fe.enter().append("path").classed("surface",!0).style({"pointer-events":q?"none":"all"}),ae.call(S,U,Z),re.pull){var be=+m.castOption(re.pull,_e.pts)||0;be>0&&(Se+=be*_e.pxmid[0],Ce+=be*_e.pxmid[1])}_e.cxFinal=Se,_e.cyFinal=Ce;var ke=re.hole;if(_e.v===Q.vTotal){var Le="M"+(Se+_e.px0[0])+","+(Ce+_e.px0[1])+we(_e.px0,_e.pxmid,!0,1)+we(_e.pxmid,_e.px0,!0,1)+"Z";ke?fe.attr("d","M"+(Se+ke*_e.px0[0])+","+(Ce+ke*_e.px0[1])+we(_e.px0,_e.pxmid,!1,ke)+we(_e.pxmid,_e.px0,!1,ke)+"Z"+Le):fe.attr("d",Le)}else{var Be=we(_e.px0,_e.px1,!0,1);if(ke){var ze=1-ke;fe.attr("d","M"+(Se+ke*_e.px1[0])+","+(Ce+ke*_e.px1[1])+we(_e.px1,_e.px0,!1,ke)+"l"+ze*_e.px0[0]+","+ze*_e.px0[1]+Be+"Z")}else fe.attr("d","M"+Se+","+Ce+"l"+_e.px0[0]+","+_e.px0[1]+Be+"Z")}j(U,_e,Q);var je=m.castOption(re.textposition,_e.pts),ge=ae.selectAll("g.slicetext").data(_e.text&&je!=="none"?[0]:[]);ge.enter().append("g").classed("slicetext",!0),ge.exit().remove(),ge.each(function(){var Ee=f.ensureSingle(d.select(this),"text","",function(Et){Et.attr("data-notex",1)}),Ve=f.ensureUniformFontSize(U,je==="outside"?function(Et,kt,xt){return{color:m.castOption(Et.outsidetextfont.color,kt.pts)||m.castOption(Et.textfont.color,kt.pts)||xt.color,family:m.castOption(Et.outsidetextfont.family,kt.pts)||m.castOption(Et.textfont.family,kt.pts)||xt.family,size:m.castOption(Et.outsidetextfont.size,kt.pts)||m.castOption(Et.textfont.size,kt.pts)||xt.size}}(re,_e,H.font):_(re,_e,H.font));Ee.text(_e.text).attr({class:"slicetext",transform:"","text-anchor":"middle"}).call(v.font,Ve).call(u.convertToTspans,U);var $e,Ye=v.bBox(Ee.node());if(je==="outside")$e=O(Ye,_e);else if($e=E(Ye,_e,Q),je==="auto"&&$e.scale<1){var st=f.ensureUniformFontSize(U,re.outsidetextfont);Ee.call(v.font,st),$e=O(Ye=v.bBox(Ee.node()),_e)}var ot=$e.textPosAngle,ht=ot===void 0?_e.pxmid:W(Q.r,ot);if($e.targetX=Se+ht[0]*$e.rCenter+($e.x||0),$e.targetY=Ce+ht[1]*$e.rCenter+($e.y||0),$($e,Ye),$e.outside){var bt=$e.targetY;_e.yLabelMin=bt-Ye.height/2,_e.yLabelMid=bt,_e.yLabelMax=bt+Ye.height/2,_e.labelExtraX=0,_e.labelExtraY=0,ue=!0}$e.fontSize=Ve.size,s(re.type,$e,H),Z[Me].transform=$e,f.setTransormAndDisplay(Ee,$e)})}function we(Ee,Ve,$e,Ye){var st=Ye*(Ve[0]-Ee[0]),ot=Ye*(Ve[1]-Ee[1]);return"a"+Ye*Q.r+","+Ye*Q.r+" 0 "+_e.largeArc+($e?" 1 ":" 0 ")+st+","+ot}});var ce=d.select(this).selectAll("g.titletext").data(re.title.text?[0]:[]);if(ce.enter().append("g").classed("titletext",!0),ce.exit().remove(),ce.each(function(){var _e,Me=f.ensureSingle(d.select(this),"text","",function(Ce){Ce.attr("data-notex",1)}),Se=re.title.text;re._meta&&(Se=f.templateString(Se,re._meta)),Me.text(Se).attr({class:"titletext",transform:"","text-anchor":"middle"}).call(v.font,re.title.font).call(u.convertToTspans,U),_e=re.title.position==="middle center"?function(Ce){var ae=Math.sqrt(Ce.titleBox.width*Ce.titleBox.width+Ce.titleBox.height*Ce.titleBox.height);return{x:Ce.cx,y:Ce.cy,scale:Ce.trace.hole*Ce.r*2/ae,tx:0,ty:-Ce.titleBox.height/2+Ce.trace.title.font.size}}(Q):z(Q,ne),Me.attr("transform",a(_e.x,_e.y)+l(Math.min(1,_e.scale))+a(_e.tx,_e.ty))}),ue&&function(_e,Me){var Se,Ce,ae,fe,be,ke,Le,Be,ze,je,ge,we,Ee;function Ve(ot,ht){return ot.pxmid[1]-ht.pxmid[1]}function $e(ot,ht){return ht.pxmid[1]-ot.pxmid[1]}function Ye(ot,ht){ht||(ht={});var bt,Et,kt,xt,Ft=ht.labelExtraY+(Ce?ht.yLabelMax:ht.yLabelMin),Ot=Ce?ot.yLabelMin:ot.yLabelMax,Bt=Ce?ot.yLabelMax:ot.yLabelMin,qt=ot.cyFinal+be(ot.px0[1],ot.px1[1]),Vt=Ft-Ot;if(Vt*Le>0&&(ot.labelExtraY=Vt),Array.isArray(Me.pull))for(Et=0;Et=(m.castOption(Me.pull,kt.pts)||0)||((ot.pxmid[1]-kt.pxmid[1])*Le>0?(Vt=kt.cyFinal+be(kt.px0[1],kt.px1[1])-Ot-ot.labelExtraY)*Le>0&&(ot.labelExtraY+=Vt):(Bt+ot.labelExtraY-qt)*Le>0&&(bt=3*ke*Math.abs(Et-je.indexOf(ot)),(xt=kt.cxFinal+fe(kt.px0[0],kt.px1[0])+bt-(ot.cxFinal+ot.pxmid[0])-ot.labelExtraX)*ke>0&&(ot.labelExtraX+=xt)))}for(Ce=0;Ce<2;Ce++)for(ae=Ce?Ve:$e,be=Ce?Math.max:Math.min,Le=Ce?1:-1,Se=0;Se<2;Se++){for(fe=Se?Math.max:Math.min,ke=Se?1:-1,(Be=_e[Ce][Se]).sort(ae),ze=_e[1-Ce][Se],je=ze.concat(Be),we=[],ge=0;geMath.abs(Be)?be+="l"+Be*Se.pxmid[0]/Se.pxmid[1]+","+Be+"H"+(fe+Se.labelExtraX+ke):be+="l"+Se.labelExtraX+","+Le+"v"+(Be-Le)+"h"+ke}else be+="V"+(Se.yLabelMid+Se.labelExtraY)+"h"+ke;f.ensureSingle(Ce,"path","textline").call(M.stroke,Me.outsidetextfont.color).attr({"stroke-width":Math.min(2,Me.outsidetextfont.size/8),d:be,fill:"none"})}else Ce.select("path.textline").remove()})}(ie,re),ue&&re.automargin){var ye=v.bBox(X.node()),de=re.domain,me=ne.w*(de.x[1]-de.x[0]),pe=ne.h*(de.y[1]-de.y[0]),xe=(.5*me-Q.r)/ne.w,Pe=(.5*pe-Q.r)/ne.h;g.autoMargin(U,"pie."+re.uid+".automargin",{xl:de.x[0]-xe,xr:de.x[1]+xe,yb:de.y[0]-Pe,yt:de.y[1]+Pe,l:Math.max(Q.cx-Q.r-ye.left,0),r:Math.max(ye.right-(Q.cx+Q.r),0),b:Math.max(ye.bottom-(Q.cy+Q.r),0),t:Math.max(Q.cy-Q.r-ye.top,0),pad:5})}})});setTimeout(function(){te.selectAll("tspan").each(function(){var Z=d.select(this);Z.attr("dy")&&Z.attr("dy",Z.attr("dy"))})},0)},formatSliceLabel:j,transformInsideText:E,determineInsideTextFont:_,positionTitleOutside:z,prerenderTitles:k,layoutAreas:N,attachFxHandlers:S,computeTransform:$}},68357:function(T,p,t){var d=t(39898),g=t(63463),i=t(72597).resizeText;T.exports=function(M){var v=M._fullLayout._pielayer.selectAll(".trace");i(M,v,"pie"),v.each(function(f){var l=f[0].trace,a=d.select(this);a.style({opacity:l.opacity}),a.selectAll("path.surface").each(function(u){d.select(this).call(g,u,l)})})}},63463:function(T,p,t){var d=t(7901),g=t(53581).castOption;T.exports=function(i,M,v){var f=v.marker.line,l=g(f.color,M.pts)||d.defaultLine,a=g(f.width,M.pts)||0;i.style("stroke-width",a).call(d.fill,M.color).call(d.stroke,l)}},10959:function(T,p,t){var d=t(82196);T.exports={x:d.x,y:d.y,xy:{valType:"data_array",editType:"calc"},indices:{valType:"data_array",editType:"calc"},xbounds:{valType:"data_array",editType:"calc"},ybounds:{valType:"data_array",editType:"calc"},text:d.text,marker:{color:{valType:"color",arrayOk:!1,editType:"calc"},opacity:{valType:"number",min:0,max:1,dflt:1,arrayOk:!1,editType:"calc"},blend:{valType:"boolean",dflt:null,editType:"calc"},sizemin:{valType:"number",min:.1,max:2,dflt:.5,editType:"calc"},sizemax:{valType:"number",min:.1,dflt:20,editType:"calc"},border:{color:{valType:"color",arrayOk:!1,editType:"calc"},arearatio:{valType:"number",min:0,max:1,dflt:0,editType:"calc"},editType:"calc"},editType:"calc"},transforms:void 0}},42743:function(T,p,t){var d=t(9330).gl_pointcloud2d,g=t(78614),i=t(71739).findExtremes,M=t(34603);function v(l,a){this.scene=l,this.uid=a,this.type="pointcloud",this.pickXData=[],this.pickYData=[],this.xData=[],this.yData=[],this.textLabels=[],this.color="rgb(0, 0, 0)",this.name="",this.hoverinfo="all",this.idToIndex=new Int32Array(0),this.bounds=[0,0,0,0],this.pointcloudOptions={positions:new Float32Array(0),idToIndex:this.idToIndex,sizemin:.5,sizemax:12,color:[0,0,0,1],areaRatio:1,borderColor:[0,0,0,1]},this.pointcloud=d(l.glplot,this.pointcloudOptions),this.pointcloud._trace=this}var f=v.prototype;f.handlePick=function(l){var a=this.idToIndex[l.pointId];return{trace:this,dataCoord:l.dataCoord,traceCoord:this.pickXYData?[this.pickXYData[2*a],this.pickXYData[2*a+1]]:[this.pickXData[a],this.pickYData[a]],textLabel:Array.isArray(this.textLabels)?this.textLabels[a]:this.textLabels,color:this.color,name:this.name,pointIndex:a,hoverinfo:this.hoverinfo}},f.update=function(l){this.index=l.index,this.textLabels=l.text,this.name=l.name,this.hoverinfo=l.hoverinfo,this.bounds=[1/0,1/0,-1/0,-1/0],this.updateFast(l),this.color=M(l,{})},f.updateFast=function(l){var a,u,o,s,c,h,m=this.xData=this.pickXData=l.x,w=this.yData=this.pickYData=l.y,y=this.pickXYData=l.xy,S=l.xbounds&&l.ybounds,_=l.indices,k=this.bounds;if(y){if(o=y,a=y.length>>>1,S)k[0]=l.xbounds[0],k[2]=l.xbounds[1],k[1]=l.ybounds[0],k[3]=l.ybounds[1];else for(h=0;hk[2]&&(k[2]=s),ck[3]&&(k[3]=c);if(_)u=_;else for(u=new Int32Array(a),h=0;hk[2]&&(k[2]=s),ck[3]&&(k[3]=c);this.idToIndex=u,this.pointcloudOptions.idToIndex=u,this.pointcloudOptions.positions=o;var E=g(l.marker.color),x=g(l.marker.border.color),A=l.opacity*l.marker.opacity;E[3]*=A,this.pointcloudOptions.color=E;var L=l.marker.blend;L===null&&(L=m.length<100||w.length<100),this.pointcloudOptions.blend=L,x[3]*=A,this.pointcloudOptions.borderColor=x;var b=l.marker.sizemin,R=Math.max(l.marker.sizemax,l.marker.sizemin);this.pointcloudOptions.sizeMin=b,this.pointcloudOptions.sizeMax=R,this.pointcloudOptions.areaRatio=l.marker.border.arearatio,this.pointcloud.update(this.pointcloudOptions);var I=this.scene.xaxis,O=this.scene.yaxis,z=R/2||.5;l._extremes[I._id]=i(I,[k[0],k[2]],{ppad:z}),l._extremes[O._id]=i(O,[k[1],k[3]],{ppad:z})},f.dispose=function(){this.pointcloud.dispose()},T.exports=function(l,a){var u=new v(l,a.uid);return u.update(a),u}},33876:function(T,p,t){var d=t(71828),g=t(10959);T.exports=function(i,M,v){function f(l,a){return d.coerce(i,M,g,l,a)}f("x"),f("y"),f("xbounds"),f("ybounds"),i.xy&&i.xy instanceof Float32Array&&(M.xy=i.xy),i.indices&&i.indices instanceof Int32Array&&(M.indices=i.indices),f("text"),f("marker.color",v),f("marker.opacity"),f("marker.blend"),f("marker.sizemin"),f("marker.sizemax"),f("marker.border.color",v),f("marker.border.arearatio"),M._length=null}},20593:function(T,p,t){T.exports={attributes:t(10959),supplyDefaults:t(33876),calc:t(36563),plot:t(42743),moduleType:"trace",name:"pointcloud",basePlotModule:t(4796),categories:["gl","gl2d","showLegend"],meta:{}}},39953:function(T,p,t){var d=t(41940),g=t(9012),i=t(22399),M=t(77914),v=t(27670).Y,f=t(5386).fF,l=t(50693),a=t(44467).templatedArray,u=t(12663).descriptionOnlyNumbers,o=t(1426).extendFlat,s=t(30962).overrideAll;(T.exports=s({hoverinfo:o({},g.hoverinfo,{flags:[],arrayOk:!1}),hoverlabel:M.hoverlabel,domain:v({name:"sankey",trace:!0}),orientation:{valType:"enumerated",values:["v","h"],dflt:"h"},valueformat:{valType:"string",dflt:".3s",description:u("value")},valuesuffix:{valType:"string",dflt:""},arrangement:{valType:"enumerated",values:["snap","perpendicular","freeform","fixed"],dflt:"snap"},textfont:d({}),customdata:void 0,node:{label:{valType:"data_array",dflt:[]},groups:{valType:"info_array",impliedEdits:{x:[],y:[]},dimensions:2,freeLength:!0,dflt:[],items:{valType:"number",editType:"calc"}},x:{valType:"data_array",dflt:[]},y:{valType:"data_array",dflt:[]},color:{valType:"color",arrayOk:!0},customdata:{valType:"data_array",editType:"calc"},line:{color:{valType:"color",dflt:i.defaultLine,arrayOk:!0},width:{valType:"number",min:0,dflt:.5,arrayOk:!0}},pad:{valType:"number",arrayOk:!1,min:0,dflt:20},thickness:{valType:"number",arrayOk:!1,min:1,dflt:20},hoverinfo:{valType:"enumerated",values:["all","none","skip"],dflt:"all"},hoverlabel:M.hoverlabel,hovertemplate:f({},{keys:["value","label"]})},link:{arrowlen:{valType:"number",min:0,dflt:0},label:{valType:"data_array",dflt:[]},color:{valType:"color",arrayOk:!0},customdata:{valType:"data_array",editType:"calc"},line:{color:{valType:"color",dflt:i.defaultLine,arrayOk:!0},width:{valType:"number",min:0,dflt:0,arrayOk:!0}},source:{valType:"data_array",dflt:[]},target:{valType:"data_array",dflt:[]},value:{valType:"data_array",dflt:[]},hoverinfo:{valType:"enumerated",values:["all","none","skip"],dflt:"all"},hoverlabel:M.hoverlabel,hovertemplate:f({},{keys:["value","label"]}),colorscales:a("concentrationscales",{editType:"calc",label:{valType:"string",editType:"calc",dflt:""},cmax:{valType:"number",editType:"calc",dflt:1},cmin:{valType:"number",editType:"calc",dflt:0},colorscale:o(l().colorscale,{dflt:[[0,"white"],[1,"black"]]})})}},"calc","nested")).transforms=void 0},75536:function(T,p,t){var d=t(30962).overrideAll,g=t(27659).a0,i=t(60436),M=t(528),v=t(6964),f=t(28569),l=t(47322).prepSelect,a=t(71828),u=t(73972),o="sankey";function s(c,h){var m=c._fullData[h],w=c._fullLayout,y=w.dragmode,S=w.dragmode==="pan"?"move":"crosshair",_=m._bgRect;if(_&&y!=="pan"&&y!=="zoom"){v(_,S);var k={_id:"x",c2p:a.identity,_offset:m._sankey.translateX,_length:m._sankey.width},E={_id:"y",c2p:a.identity,_offset:m._sankey.translateY,_length:m._sankey.height},x={gd:c,element:_.node(),plotinfo:{id:h,xaxis:k,yaxis:E,fillRangeItems:a.noop},subplot:h,xaxes:[k],yaxes:[E],doneFnCompleted:function(A){var L,b=c._fullData[h],R=b.node.groups.slice(),I=[];function O(N){for(var W=b._sankey.graph.nodes,j=0;jL&&(L=h.source[s]),h.target[s]>L&&(L=h.target[s]);var b,R=L+1;o.node._count=R;var I=o.node.groups,O={};for(s=0;s0&&v(j,R)&&v($,R)&&(!O.hasOwnProperty(j)||!O.hasOwnProperty($)||O[j]!==O[$])){O.hasOwnProperty($)&&($=O[$]),O.hasOwnProperty(j)&&(j=O[j]),$=+$,S[j=+j]=S[$]=!0;var U="";h.label&&h.label[s]&&(U=h.label[s]);var G=null;U&&_.hasOwnProperty(U)&&(G=_[U]),m.push({pointNumber:s,label:U,color:w?h.color[s]:h.color,customdata:y?h.customdata[s]:h.customdata,concentrationscale:G,source:j,target:$,value:+W}),N.source.push(j),N.target.push($)}}var q=R+I.length,H=M(c.color),ne=M(c.customdata),te=[];for(s=0;sR-1,childrenNodes:[],pointNumber:s,label:Z,color:H?c.color[s]:c.color,customdata:ne?c.customdata[s]:c.customdata})}var X=!1;return function(Q,re,ie){for(var oe=g.init2dArray(Q,0),ue=0;ue1})}(q,N.source,N.target)&&(X=!0),{circular:X,links:m,nodes:te,groups:I,groupLookup:O}}(a);return i({circular:u.circular,_nodes:u.nodes,_links:u.links,_groups:u.groups,_groupLookup:u.groupLookup})}},85247:function(T){T.exports={nodeTextOffsetHorizontal:4,nodeTextOffsetVertical:3,nodePadAcross:10,sankeyIterations:50,forceIterations:5,forceTicksPerFrame:10,duration:500,ease:"linear",cn:{sankey:"sankey",sankeyLinks:"sankey-links",sankeyLink:"sankey-link",sankeyNodeSet:"sankey-node-set",sankeyNode:"sankey-node",nodeRect:"node-rect",nodeLabel:"node-label"}}},26857:function(T,p,t){var d=t(71828),g=t(39953),i=t(7901),M=t(84267),v=t(27670).c,f=t(38048),l=t(44467),a=t(85501);function u(o,s){function c(h,m){return d.coerce(o,s,g.link.colorscales,h,m)}c("label"),c("cmin"),c("cmax"),c("colorscale")}T.exports=function(o,s,c,h){function m(R,I){return d.coerce(o,s,g,R,I)}var w=d.extendDeep(h.hoverlabel,o.hoverlabel),y=o.node,S=l.newContainer(s,"node");function _(R,I){return d.coerce(y,S,g.node,R,I)}_("label"),_("groups"),_("x"),_("y"),_("pad"),_("thickness"),_("line.color"),_("line.width"),_("hoverinfo",o.hoverinfo),f(y,S,_,w),_("hovertemplate");var k=h.colorway;_("color",S.label.map(function(R,I){return i.addOpacity(function(O){return k[O%k.length]}(I),.8)})),_("customdata");var E=o.link||{},x=l.newContainer(s,"link");function A(R,I){return d.coerce(E,x,g.link,R,I)}A("label"),A("arrowlen"),A("source"),A("target"),A("value"),A("line.color"),A("line.width"),A("hoverinfo",o.hoverinfo),f(E,x,A,w),A("hovertemplate");var L,b=M(h.paper_bgcolor).getLuminance()<.333?"rgba(255, 255, 255, 0.6)":"rgba(0, 0, 0, 0.2)";A("color",d.repeat(b,x.value.length)),A("customdata"),a(E,x,{name:"colorscales",handleItemDefaults:u}),v(s,h,m),m("orientation"),m("valueformat"),m("valuesuffix"),S.x.length&&S.y.length&&(L="freeform"),m("arrangement",L),d.coerceFont(m,"textfont",d.extendFlat({},h.font)),s._length=null}},29396:function(T,p,t){T.exports={attributes:t(39953),supplyDefaults:t(26857),calc:t(92930),plot:t(60436),moduleType:"trace",name:"sankey",basePlotModule:t(75536),selectPoints:t(84564),categories:["noOpacity"],meta:{}}},60436:function(T,p,t){var d=t(39898),g=t(71828),i=g.numberFormat,M=t(3393),v=t(30211),f=t(7901),l=t(85247).cn,a=g._;function u(E){return E!==""}function o(E,x){return E.filter(function(A){return A.key===x.traceId})}function s(E,x){d.select(E).select("path").style("fill-opacity",x),d.select(E).select("rect").style("fill-opacity",x)}function c(E){d.select(E).select("text.name").style("fill","black")}function h(E){return function(x){return E.node.sourceLinks.indexOf(x.link)!==-1||E.node.targetLinks.indexOf(x.link)!==-1}}function m(E){return function(x){return x.node.sourceLinks.indexOf(E.link)!==-1||x.node.targetLinks.indexOf(E.link)!==-1}}function w(E,x,A){x&&A&&o(A,x).selectAll("."+l.sankeyLink).filter(h(x)).call(S.bind(0,x,A,!1))}function y(E,x,A){x&&A&&o(A,x).selectAll("."+l.sankeyLink).filter(h(x)).call(_.bind(0,x,A,!1))}function S(E,x,A,L){var b=L.datum().link.label;L.style("fill-opacity",function(R){if(!R.link.concentrationscale)return .4}),b&&o(x,E).selectAll("."+l.sankeyLink).filter(function(R){return R.link.label===b}).style("fill-opacity",function(R){if(!R.link.concentrationscale)return .4}),A&&o(x,E).selectAll("."+l.sankeyNode).filter(m(E)).call(w)}function _(E,x,A,L){var b=L.datum().link.label;L.style("fill-opacity",function(R){return R.tinyColorAlpha}),b&&o(x,E).selectAll("."+l.sankeyLink).filter(function(R){return R.link.label===b}).style("fill-opacity",function(R){return R.tinyColorAlpha}),A&&o(x,E).selectAll(l.sankeyNode).filter(m(E)).call(y)}function k(E,x){var A=E.hoverlabel||{},L=g.nestedProperty(A,x).get();return!Array.isArray(L)&&L}T.exports=function(E,x){for(var A=E._fullLayout,L=A._paper,b=A._size,R=0;R"),color:k($,"bgcolor")||f.addOpacity(H.color,1),borderColor:k($,"bordercolor"),fontFamily:k($,"font.family"),fontSize:k($,"font.size"),fontColor:k($,"font.color"),nameLength:k($,"namelength"),textAlign:k($,"align"),idealAlign:d.event.x"),color:k($,"bgcolor")||j.tinyColorHue,borderColor:k($,"bordercolor"),fontFamily:k($,"font.family"),fontSize:k($,"font.size"),fontColor:k($,"font.color"),nameLength:k($,"namelength"),textAlign:k($,"align"),idealAlign:"left",hovertemplate:$.hovertemplate,hovertemplateLabels:Z,eventData:[j.node]},{container:A._hoverlayer.node(),outerContainer:A._paper.node(),gd:E});s(re,.85),c(re)}}},unhover:function(W,j,$){E._fullLayout.hovermode!==!1&&(d.select(W).call(y,j,$),j.node.trace.node.hoverinfo!=="skip"&&(j.node.fullData=j.node.trace,E.emit("plotly_unhover",{event:d.event,points:[j.node]})),v.loneUnhover(A._hoverlayer.node()))},select:function(W,j,$){var U=j.node;U.originalEvent=d.event,E._hoverdata=[U],d.select(W).call(y,j,$),v.click(E,{target:!0})}}})}},3393:function(T,p,t){var d=t(49887),g=t(81684).k4,i=t(39898),M=t(30838),v=t(86781),f=t(85247),l=t(84267),a=t(7901),u=t(91424),o=t(71828),s=o.strTranslate,c=o.strRotate,h=t(28984),m=h.keyFun,w=h.repeat,y=h.unwrap,S=t(63893),_=t(73972),k=t(18783),E=k.CAP_SHIFT,x=k.LINE_SPACING;function A(q,H,ne){var te,Z=y(H),X=Z.trace,Q=X.domain,re=X.orientation==="h",ie=X.node.pad,oe=X.node.thickness,ue=q.width*(Q.x[1]-Q.x[0]),ce=q.height*(Q.y[1]-Q.y[0]),ye=Z._nodes,de=Z._links,me=Z.circular;(te=me?v.sankeyCircular().circularLinkGap(0):M.sankey()).iterations(f.sankeyIterations).size(re?[ue,ce]:[ce,ue]).nodeWidth(oe).nodePadding(ie).nodeId(function(ke){return ke.pointNumber}).nodes(ye).links(de);var pe,xe,Pe,_e=te();for(var Me in te.nodePadding()we+oe&&(ge+=1,Le=Ee.x0),we=Ee.x0,je[ge]||(je[ge]=[]),je[ge].push(Ee),Be=Le-Ee.x0,Ee.x0+=Be,Ee.x1+=Be}return je}(ye=_e.nodes).forEach(function(ke){var Le,Be,ze,je=0,ge=ke.length;for(ke.sort(function(we,Ee){return we.y0-Ee.y0}),ze=0;ze=je||(Be=je-Le.y0)>1e-6&&(Le.y0+=Be,Le.y1+=Be),je=Le.y1+ie}),te.update(_e)}return{circular:me,key:ne,trace:X,guid:o.randstr(),horizontal:re,width:ue,height:ce,nodePad:X.node.pad,nodeLineColor:X.node.line.color,nodeLineWidth:X.node.line.width,linkLineColor:X.link.line.color,linkLineWidth:X.link.line.width,linkArrowLength:X.link.arrowlen,valueFormat:X.valueformat,valueSuffix:X.valuesuffix,textFont:X.textfont,translateX:Q.x[0]*q.width+q.margin.l,translateY:q.height-Q.y[1]*q.height+q.margin.t,dragParallel:re?ce:ue,dragPerpendicular:re?ue:ce,arrangement:X.arrangement,sankey:te,graph:_e,forceLayouts:{},interactionState:{dragInProgress:!1,hovered:!1}}}function L(q,H,ne){var te=l(H.color),Z=H.source.label+"|"+H.target.label+"__"+ne;return H.trace=q.trace,H.curveNumber=q.trace.index,{circular:q.circular,key:Z,traceId:q.key,pointNumber:H.pointNumber,link:H,tinyColorHue:a.tinyRGB(te),tinyColorAlpha:te.getAlpha(),linkPath:b,linkLineColor:q.linkLineColor,linkLineWidth:q.linkLineWidth,linkArrowLength:q.linkArrowLength,valueFormat:q.valueFormat,valueSuffix:q.valueSuffix,sankey:q.sankey,parent:q,interactionState:q.interactionState,flow:H.flow}}function b(){return function(q){var H=q.linkArrowLength;if(q.link.circular)return function(xe,Pe){var _e=xe.width/2,Me=xe.circularPathData;return xe.circularLinkType==="top"?"M "+(Me.targetX-Pe)+" "+(Me.targetY+_e)+" L"+(Me.rightInnerExtent-Pe)+" "+(Me.targetY+_e)+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightSmallArcRadius+_e)+" 0 0 1 "+(Me.rightFullExtent-_e-Pe)+" "+(Me.targetY-Me.rightSmallArcRadius)+"L"+(Me.rightFullExtent-_e-Pe)+" "+Me.verticalRightInnerExtent+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightLargeArcRadius+_e)+" 0 0 1 "+(Me.rightInnerExtent-Pe)+" "+(Me.verticalFullExtent-_e)+"L"+Me.leftInnerExtent+" "+(Me.verticalFullExtent-_e)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftLargeArcRadius+_e)+" 0 0 1 "+(Me.leftFullExtent+_e)+" "+Me.verticalLeftInnerExtent+"L"+(Me.leftFullExtent+_e)+" "+(Me.sourceY-Me.leftSmallArcRadius)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftSmallArcRadius+_e)+" 0 0 1 "+Me.leftInnerExtent+" "+(Me.sourceY+_e)+"L"+Me.sourceX+" "+(Me.sourceY+_e)+"L"+Me.sourceX+" "+(Me.sourceY-_e)+"L"+Me.leftInnerExtent+" "+(Me.sourceY-_e)+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftSmallArcRadius-_e)+" 0 0 0 "+(Me.leftFullExtent-_e)+" "+(Me.sourceY-Me.leftSmallArcRadius)+"L"+(Me.leftFullExtent-_e)+" "+Me.verticalLeftInnerExtent+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftLargeArcRadius-_e)+" 0 0 0 "+Me.leftInnerExtent+" "+(Me.verticalFullExtent+_e)+"L"+(Me.rightInnerExtent-Pe)+" "+(Me.verticalFullExtent+_e)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightLargeArcRadius-_e)+" 0 0 0 "+(Me.rightFullExtent+_e-Pe)+" "+Me.verticalRightInnerExtent+"L"+(Me.rightFullExtent+_e-Pe)+" "+(Me.targetY-Me.rightSmallArcRadius)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightSmallArcRadius-_e)+" 0 0 0 "+(Me.rightInnerExtent-Pe)+" "+(Me.targetY-_e)+"L"+(Me.targetX-Pe)+" "+(Me.targetY-_e)+(Pe>0?"L"+Me.targetX+" "+Me.targetY:"")+"Z":"M "+(Me.targetX-Pe)+" "+(Me.targetY-_e)+" L"+(Me.rightInnerExtent-Pe)+" "+(Me.targetY-_e)+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightSmallArcRadius+_e)+" 0 0 0 "+(Me.rightFullExtent-_e-Pe)+" "+(Me.targetY+Me.rightSmallArcRadius)+"L"+(Me.rightFullExtent-_e-Pe)+" "+Me.verticalRightInnerExtent+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightLargeArcRadius+_e)+" 0 0 0 "+(Me.rightInnerExtent-Pe)+" "+(Me.verticalFullExtent+_e)+"L"+Me.leftInnerExtent+" "+(Me.verticalFullExtent+_e)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftLargeArcRadius+_e)+" 0 0 0 "+(Me.leftFullExtent+_e)+" "+Me.verticalLeftInnerExtent+"L"+(Me.leftFullExtent+_e)+" "+(Me.sourceY+Me.leftSmallArcRadius)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftSmallArcRadius+_e)+" 0 0 0 "+Me.leftInnerExtent+" "+(Me.sourceY-_e)+"L"+Me.sourceX+" "+(Me.sourceY-_e)+"L"+Me.sourceX+" "+(Me.sourceY+_e)+"L"+Me.leftInnerExtent+" "+(Me.sourceY+_e)+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftSmallArcRadius-_e)+" 0 0 1 "+(Me.leftFullExtent-_e)+" "+(Me.sourceY+Me.leftSmallArcRadius)+"L"+(Me.leftFullExtent-_e)+" "+Me.verticalLeftInnerExtent+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftLargeArcRadius-_e)+" 0 0 1 "+Me.leftInnerExtent+" "+(Me.verticalFullExtent-_e)+"L"+(Me.rightInnerExtent-Pe)+" "+(Me.verticalFullExtent-_e)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightLargeArcRadius-_e)+" 0 0 1 "+(Me.rightFullExtent+_e-Pe)+" "+Me.verticalRightInnerExtent+"L"+(Me.rightFullExtent+_e-Pe)+" "+(Me.targetY+Me.rightSmallArcRadius)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightSmallArcRadius-_e)+" 0 0 1 "+(Me.rightInnerExtent-Pe)+" "+(Me.targetY+_e)+"L"+(Me.targetX-Pe)+" "+(Me.targetY+_e)+(Pe>0?"L"+Me.targetX+" "+Me.targetY:"")+"Z"}(q.link,H);var ne=Math.abs((q.link.target.x0-q.link.source.x1)/2);H>ne&&(H=ne);var te=q.link.source.x1,Z=q.link.target.x0-H,X=g(te,Z),Q=X(.5),re=X(.5),ie=q.link.y0-q.link.width/2,oe=q.link.y0+q.link.width/2,ue=q.link.y1-q.link.width/2,ce=q.link.y1+q.link.width/2,ye="M"+te+","+ie,de="C"+Q+","+ie+" "+re+","+ue+" "+Z+","+ue,me="C"+re+","+ce+" "+Q+","+oe+" "+te+","+oe,pe=H>0?"L"+(Z+H)+","+(ue+q.link.width/2):"";return ye+de+(pe+="L"+Z+","+ce)+me+"Z"}}function R(q,H){var ne=l(H.color),te=f.nodePadAcross,Z=q.nodePad/2;H.dx=H.x1-H.x0,H.dy=H.y1-H.y0;var X=H.dx,Q=Math.max(.5,H.dy),re="node_"+H.pointNumber;return H.group&&(re=o.randstr()),H.trace=q.trace,H.curveNumber=q.trace.index,{index:H.pointNumber,key:re,partOfGroup:H.partOfGroup||!1,group:H.group,traceId:q.key,trace:q.trace,node:H,nodePad:q.nodePad,nodeLineColor:q.nodeLineColor,nodeLineWidth:q.nodeLineWidth,textFont:q.textFont,size:q.horizontal?q.height:q.width,visibleWidth:Math.ceil(X),visibleHeight:Q,zoneX:-te,zoneY:-Z,zoneWidth:X+2*te,zoneHeight:Q+2*Z,labelY:q.horizontal?H.dy/2+1:H.dx/2+1,left:H.originalLayer===1,sizeAcross:q.width,forceLayouts:q.forceLayouts,horizontal:q.horizontal,darkBackground:ne.getBrightness()<=128,tinyColorHue:a.tinyRGB(ne),tinyColorAlpha:ne.getAlpha(),valueFormat:q.valueFormat,valueSuffix:q.valueSuffix,sankey:q.sankey,graph:q.graph,arrangement:q.arrangement,uniqueNodeLabelPathId:[q.guid,q.key,re].join("_"),interactionState:q.interactionState,figure:q}}function I(q){q.attr("transform",function(H){return s(H.node.x0.toFixed(3),H.node.y0.toFixed(3))})}function O(q){q.call(I)}function z(q,H){q.call(O),H.attr("d",b())}function F(q){q.attr("width",function(H){return H.node.x1-H.node.x0}).attr("height",function(H){return H.visibleHeight})}function B(q){return q.link.width>1||q.linkLineWidth>0}function N(q){return s(q.translateX,q.translateY)+(q.horizontal?"matrix(1 0 0 1 0 0)":"matrix(0 1 1 0 0 0)")}function W(q,H,ne){q.on(".basic",null).on("mouseover.basic",function(te){te.interactionState.dragInProgress||te.partOfGroup||(ne.hover(this,te,H),te.interactionState.hovered=[this,te])}).on("mousemove.basic",function(te){te.interactionState.dragInProgress||te.partOfGroup||(ne.follow(this,te),te.interactionState.hovered=[this,te])}).on("mouseout.basic",function(te){te.interactionState.dragInProgress||te.partOfGroup||(ne.unhover(this,te,H),te.interactionState.hovered=!1)}).on("click.basic",function(te){te.interactionState.hovered&&(ne.unhover(this,te,H),te.interactionState.hovered=!1),te.interactionState.dragInProgress||te.partOfGroup||ne.select(this,te,H)})}function j(q,H,ne,te){var Z=i.behavior.drag().origin(function(X){return{x:X.node.x0+X.visibleWidth/2,y:X.node.y0+X.visibleHeight/2}}).on("dragstart",function(X){if(X.arrangement!=="fixed"&&(o.ensureSingle(te._fullLayout._infolayer,"g","dragcover",function(re){te._fullLayout._dragCover=re}),o.raiseToTop(this),X.interactionState.dragInProgress=X.node,U(X.node),X.interactionState.hovered&&(ne.nodeEvents.unhover.apply(0,X.interactionState.hovered),X.interactionState.hovered=!1),X.arrangement==="snap")){var Q=X.traceId+"|"+X.key;X.forceLayouts[Q]?X.forceLayouts[Q].alpha(1):function(re,ie,oe,ue){(function(ye){for(var de=0;de0&&pe.forceLayouts[de].alpha(0)}}(0,ie,ce,oe)).stop()}(0,Q,X),function(re,ie,oe,ue,ce){window.requestAnimationFrame(function ye(){var de;for(de=0;de0)window.requestAnimationFrame(ye);else{var me=oe.node.originalX;oe.node.x0=me-oe.visibleWidth/2,oe.node.x1=me+oe.visibleWidth/2,$(oe,ce)}})}(q,H,X,Q,te)}}).on("drag",function(X){if(X.arrangement!=="fixed"){var Q=i.event.x,re=i.event.y;X.arrangement==="snap"?(X.node.x0=Q-X.visibleWidth/2,X.node.x1=Q+X.visibleWidth/2,X.node.y0=re-X.visibleHeight/2,X.node.y1=re+X.visibleHeight/2):(X.arrangement==="freeform"&&(X.node.x0=Q-X.visibleWidth/2,X.node.x1=Q+X.visibleWidth/2),re=Math.max(0,Math.min(X.size-X.visibleHeight/2,re)),X.node.y0=re-X.visibleHeight/2,X.node.y1=re+X.visibleHeight/2),U(X.node),X.arrangement!=="snap"&&(X.sankey.update(X.graph),z(q.filter(G(X)),H))}}).on("dragend",function(X){if(X.arrangement!=="fixed"){X.interactionState.dragInProgress=!1;for(var Q=0;Q_&&j[E].gap;)E--;for(A=j[E].s,k=j.length-1;k>E;k--)j[k].s=A;for(;_z[c]&&c=0;c--){var h=M[c];if(h.type==="scatter"&&h.xaxis===o.xaxis&&h.yaxis===o.yaxis){h.opacity=void 0;break}}}}}},17438:function(T,p,t){var d=t(71828),g=t(73972),i=t(82196),M=t(47581),v=t(34098),f=t(67513),l=t(73927),a=t(565),u=t(49508),o=t(11058),s=t(94039),c=t(82410),h=t(28908),m=t(71828).coercePattern;T.exports=function(w,y,S,_){function k(O,z){return d.coerce(w,y,i,O,z)}var E=f(w,y,_,k);if(E||(y.visible=!1),y.visible){l(w,y,_,k),k("xhoverformat"),k("yhoverformat");var x=a(w,y,_,k);_.scattermode==="group"&&y.orientation===void 0&&k("orientation","v");var A=!x&&E=Math.min(me,pe)&&w<=Math.max(me,pe)?0:1/0}var xe=Math.max(3,de.mrc||0),Pe=1-1/xe,_e=Math.abs(h.c2p(de.x)-w);return _e=Math.min(me,pe)&&y<=Math.max(me,pe)?0:1/0}var xe=Math.max(3,de.mrc||0),Pe=1-1/xe,_e=Math.abs(m.c2p(de.y)-y);return _ece!=(te=U[j][1])>=ce&&(q=U[j-1][0],H=U[j][0],te-ne&&(G=q+(H-q)*(ce-ne)/(te-ne),re=Math.min(re,G),ie=Math.max(ie,G)));re=Math.max(re,0),ie=Math.min(ie,h._length);var ye=v.defaultLine;return v.opacity(c.fillcolor)?ye=c.fillcolor:v.opacity((c.line||{}).color)&&(ye=c.line.color),d.extendFlat(l,{distance:l.maxHoverDistance,x0:re,x1:ie,y0:ce,y1:ce,color:ye,hovertemplate:!1}),delete l.index,c.text&&!Array.isArray(c.text)?l.text=String(c.text):l.text=c.name,[l]}}}},67368:function(T,p,t){var d=t(34098);T.exports={hasLines:d.hasLines,hasMarkers:d.hasMarkers,hasText:d.hasText,isBubble:d.isBubble,attributes:t(82196),layoutAttributes:t(21479),supplyDefaults:t(17438),crossTraceDefaults:t(34936),supplyLayoutDefaults:t(79334),calc:t(47761).calc,crossTraceCalc:t(72626),arraysToCalcdata:t(75225),plot:t(32663),colorbar:t(4898),formatLabels:t(8225),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(33720),selectPoints:t(98002),animatable:!0,moduleType:"trace",name:"scatter",basePlotModule:t(93612),categories:["cartesian","svg","symbols","errorBarsOK","showLegend","scatter-like","zoomScale"],meta:{}}},21479:function(T){T.exports={scattermode:{valType:"enumerated",values:["group","overlay"],dflt:"overlay",editType:"calc"},scattergap:{valType:"number",min:0,max:1,editType:"calc"}}},79334:function(T,p,t){var d=t(71828),g=t(21479);T.exports=function(i,M){var v,f=M.barmode==="group";M.scattermode==="group"&&(v=f?M.bargap:.2,d.coerce(i,M,g,"scattergap",v))}},11058:function(T,p,t){var d=t(71828).isArrayOrTypedArray,g=t(52075).hasColorscale,i=t(1586);T.exports=function(M,v,f,l,a,u){u||(u={});var o=(M.marker||{}).color;a("line.color",f),g(M,"line")?i(M,v,l,a,{prefix:"line.",cLetter:"c"}):a("line.color",!d(o)&&o||f),a("line.width"),u.noDash||a("line.dash"),u.backoff&&a("line.backoff")}},34621:function(T,p,t){var d=t(91424),g=t(50606),i=g.BADNUM,M=g.LOG_CLIP,v=M+.5,f=M-.5,l=t(71828),a=l.segmentsIntersect,u=l.constrain,o=t(47581);T.exports=function(s,c){var h,m,w,y,S,_,k,E,x,A,L,b,R,I,O,z,F,B,N=c.trace||{},W=c.xaxis,j=c.yaxis,$=W.type==="log",U=j.type==="log",G=W._length,q=j._length,H=c.backoff,ne=N.marker,te=c.connectGaps,Z=c.baseTolerance,X=c.shape,Q=X==="linear",re=N.fill&&N.fill!=="none",ie=[],oe=o.minTolerance,ue=s.length,ce=new Array(ue),ye=0;function de(Vt){var Ke=s[Vt];if(!Ke)return!1;var Je=c.linearized?W.l2p(Ke.x):W.c2p(Ke.x),qe=c.linearized?j.l2p(Ke.y):j.c2p(Ke.y);if(Je===i){if($&&(Je=W.c2p(Ke.x,!0)),Je===i)return!1;U&&qe===i&&(Je*=Math.abs(W._m*q*(W._m>0?v:f)/(j._m*G*(j._m>0?v:f)))),Je*=1e3}if(qe===i){if(U&&(qe=j.c2p(Ke.y,!0)),qe===i)return!1;qe*=1e3}return[Je,qe]}function me(Vt,Ke,Je,qe){var nt=Je-Vt,ft=qe-Ke,Re=.5-Vt,Ne=.5-Ke,Qe=nt*nt+ft*ft,ut=nt*Re+ft*Ne;if(ut>0&&utLe||Vt[1]ze)return[u(Vt[0],ke,Le),u(Vt[1],Be,ze)]}function we(Vt,Ke){return Vt[0]===Ke[0]&&(Vt[0]===ke||Vt[0]===Le)||Vt[1]===Ke[1]&&(Vt[1]===Be||Vt[1]===ze)||void 0}function Ee(Vt,Ke,Je){return function(qe,nt){var ft=ge(qe),Re=ge(nt),Ne=[];if(ft&&Re&&we(ft,Re))return Ne;ft&&Ne.push(ft),Re&&Ne.push(Re);var Qe=2*l.constrain((qe[Vt]+nt[Vt])/2,Ke,Je)-((ft||qe)[Vt]+(Re||nt)[Vt]);return Qe&&((ft&&Re?Qe>0==ft[Vt]>Re[Vt]?ft:Re:ft||Re)[Vt]+=Qe),Ne}}function Ve(Vt){var Ke=Vt[0],Je=Vt[1],qe=Ke===ce[ye-1][0],nt=Je===ce[ye-1][1];if(!qe||!nt)if(ye>1){var ft=Ke===ce[ye-2][0],Re=Je===ce[ye-2][1];qe&&(Ke===ke||Ke===Le)&&ft?Re?ye--:ce[ye-1]=Vt:nt&&(Je===Be||Je===ze)&&Re?ft?ye--:ce[ye-1]=Vt:ce[ye++]=Vt}else ce[ye++]=Vt}function $e(Vt){ce[ye-1][0]!==Vt[0]&&ce[ye-1][1]!==Vt[1]&&Ve([Me,Se]),Ve(Vt),Ce=null,Me=Se=0}X==="linear"||X==="spline"?fe=function(Vt,Ke){for(var Je=[],qe=0,nt=0;nt<4;nt++){var ft=je[nt],Re=a(Vt[0],Vt[1],Ke[0],Ke[1],ft[0],ft[1],ft[2],ft[3]);Re&&(!qe||Math.abs(Re.x-Je[0][0])>1||Math.abs(Re.y-Je[0][1])>1)&&(Re=[Re.x,Re.y],qe&&xe(Re,Vt)Le?Le:0,_e=Vt[1]ze?ze:0,Pe||_e){if(ye)if(Ce){var Ke=fe(Ce,Vt);Ke.length>1&&($e(Ke[0]),ce[ye++]=Ke[1])}else ae=fe(ce[ye-1],Vt)[0],ce[ye++]=ae;else ce[ye++]=[Pe||Vt[0],_e||Vt[1]];var Je=ce[ye-1];Pe&&_e&&(Je[0]!==Pe||Je[1]!==_e)?(Ce&&(Me!==Pe&&Se!==_e?Ve(Me&&Se?(qe=Ce,ft=(nt=Vt)[0]-qe[0],Re=(nt[1]-qe[1])/ft,(qe[1]*nt[0]-nt[1]*qe[0])/ft>0?[Re>0?ke:Le,ze]:[Re>0?Le:ke,Be]):[Me||Pe,Se||_e]):Me&&Se&&Ve([Me,Se])),Ve([Pe,_e])):Me-Pe&&Se-_e&&Ve([Pe||Me,_e||Se]),Ce=Vt,Me=Pe,Se=_e}else Ce&&$e(fe(Ce,Vt)[0]),ce[ye++]=Vt;var qe,nt,ft,Re}for(h=0;hpe(_,ot))break;w=_,(R=x[0]*E[0]+x[1]*E[1])>L?(L=R,y=_,k=!1):R=s.length||!_)break;st(_),m=_}}else st(y)}Ce&&Ve([Me||Ce[0],Se||Ce[1]]),ie.push(ce.slice(0,ye))}var ht=X.slice(X.length-1);if(H&&ht!=="h"&&ht!=="v"){for(var bt=!1,Et=-1,kt=[],xt=0;xt=0?l=c:(l=c=s,s++),l0?Math.max(u,f):0}}},4898:function(T){T.exports={container:"marker",min:"cmin",max:"cmax"}},49508:function(T,p,t){var d=t(7901),g=t(52075).hasColorscale,i=t(1586),M=t(34098);T.exports=function(v,f,l,a,u,o){var s=M.isBubble(v),c=(v.line||{}).color;o=o||{},c&&(l=c),u("marker.symbol"),u("marker.opacity",s?.7:1),u("marker.size"),o.noAngle||(u("marker.angle"),o.noAngleRef||u("marker.angleref"),o.noStandOff||u("marker.standoff")),u("marker.color",l),g(v,"marker")&&i(v,f,a,u,{prefix:"marker.",cLetter:"c"}),o.noSelect||(u("selected.marker.color"),u("unselected.marker.color"),u("selected.marker.size"),u("unselected.marker.size")),o.noLine||(u("marker.line.color",c&&!Array.isArray(c)&&f.marker.color!==c?c:s?d.background:d.defaultLine),g(v,"marker.line")&&i(v,f,a,u,{prefix:"marker.line.",cLetter:"c"}),u("marker.line.width",s?1:0)),s&&(u("marker.sizeref"),u("marker.sizemin"),u("marker.sizemode")),o.gradient&&u("marker.gradient.type")!=="none"&&u("marker.gradient.color")}},73927:function(T,p,t){var d=t(71828).dateTick0,g=t(50606).ONEWEEK;function i(M,v){return d(v,M%g==0?1:0)}T.exports=function(M,v,f,l,a){if(a||(a={x:!0,y:!0}),a.x){var u=l("xperiod");u&&(l("xperiod0",i(u,v.xcalendar)),l("xperiodalignment"))}if(a.y){var o=l("yperiod");o&&(l("yperiod0",i(o,v.ycalendar)),l("yperiodalignment"))}}},32663:function(T,p,t){var d=t(39898),g=t(73972),i=t(71828),M=i.ensureSingle,v=i.identity,f=t(91424),l=t(34098),a=t(34621),u=t(68687),o=t(61082).tester;function s(c,h,m,w,y,S,_){var k,E=c._context.staticPlot;(function(fe,be,ke,Le,Be){var ze=ke.xaxis,je=ke.yaxis,ge=d.extent(i.simpleMap(ze.range,ze.r2c)),we=d.extent(i.simpleMap(je.range,je.r2c)),Ee=Le[0].trace;if(l.hasMarkers(Ee)){var Ve=Ee.marker.maxdisplayed;if(Ve!==0){var $e=Le.filter(function(ht){return ht.x>=ge[0]&&ht.x<=ge[1]&&ht.y>=we[0]&&ht.y<=we[1]}),Ye=Math.ceil($e.length/Ve),st=0;Be.forEach(function(ht,bt){var Et=ht[0].trace;l.hasMarkers(Et)&&Et.marker.maxdisplayed>0&&bt0;function A(fe){return x?fe.transition():fe}var L=m.xaxis,b=m.yaxis,R=w[0].trace,I=R.line,O=d.select(S),z=M(O,"g","errorbars"),F=M(O,"g","lines"),B=M(O,"g","points"),N=M(O,"g","text");if(g.getComponentMethod("errorbars","plot")(c,z,m,_),R.visible===!0){var W,j;A(O).style("opacity",R.opacity);var $=R.fill.charAt(R.fill.length-1);$!=="x"&&$!=="y"&&($=""),w[0][m.isRangePlot?"nodeRangePlot3":"node3"]=O;var U,G,q="",H=[],ne=R._prevtrace;ne&&(q=ne._prevRevpath||"",j=ne._nextFill,H=ne._polygons);var te,Z,X,Q,re,ie,oe,ue="",ce="",ye=[],de=i.noop;if(W=R._ownFill,l.hasLines(R)||R.fill!=="none"){for(j&&j.datum(w),["hv","vh","hvh","vhv"].indexOf(I.shape)!==-1?(te=f.steps(I.shape),Z=f.steps(I.shape.split("").reverse().join(""))):te=Z=I.shape==="spline"?function(fe){var be=fe[fe.length-1];return fe.length>1&&fe[0][0]===be[0]&&fe[0][1]===be[1]?f.smoothclosed(fe.slice(1),I.smoothing):f.smoothopen(fe,I.smoothing)}:function(fe){return"M"+fe.join("L")},X=function(fe){return Z(fe.reverse())},ye=a(w,{xaxis:L,yaxis:b,trace:R,connectGaps:R.connectgaps,baseTolerance:Math.max(I.width||1,3)/4,shape:I.shape,backoff:I.backoff,simplify:I.simplify,fill:R.fill}),oe=R._polygons=new Array(ye.length),k=0;k0,A=u(c,h,m);(_=w.selectAll("g.trace").data(A,function(L){return L[0].trace.uid})).enter().append("g").attr("class",function(L){return"trace scatter trace"+L[0].trace.uid}).style("stroke-miterlimit",2),_.order(),function(L,b,R){b.each(function(I){var O=M(d.select(this),"g","fills");f.setClipUrl(O,R.layerClipId,L);var z=I[0].trace,F=[];z._ownfill&&F.push("_ownFill"),z._nexttrace&&F.push("_nextFill");var B=O.selectAll("g").data(F,v);B.enter().append("g"),B.exit().each(function(N){z[N]=null}).remove(),B.order().each(function(N){z[N]=M(d.select(this),"path","js-fill")})})}(c,_,h),x?(S&&(k=S()),d.transition().duration(y.duration).ease(y.easing).each("end",function(){k&&k()}).each("interrupt",function(){k&&k()}).each(function(){w.selectAll("g.trace").each(function(L,b){s(c,b,h,L,A,this,y)})})):_.each(function(L,b){s(c,b,h,L,A,this,y)}),E&&_.exit().remove(),w.selectAll("path:not([d])").remove()}},98002:function(T,p,t){var d=t(34098);T.exports=function(g,i){var M,v,f,l,a=g.cd,u=g.xaxis,o=g.yaxis,s=[],c=a[0].trace;if(!d.hasMarkers(c)&&!d.hasText(c))return[];if(i===!1)for(M=0;M0){var m=f.c2l(c);f._lowerLogErrorBound||(f._lowerLogErrorBound=m),f._lowerErrorBound=Math.min(f._lowerLogErrorBound,m)}}else a[u]=[-o[0]*v,o[1]*v]}return a}T.exports=function(i,M,v){var f=[g(i.x,i.error_x,M[0],v.xaxis),g(i.y,i.error_y,M[1],v.yaxis),g(i.z,i.error_z,M[2],v.zaxis)],l=function(h){for(var m=0;m-1?-1:b.indexOf("right")>-1?1:0}function _(b){return b==null?0:b.indexOf("top")>-1?-1:b.indexOf("bottom")>-1?1:0}function k(b,R){return R(4*b)}function E(b){return s[b]}function x(b,R,I,O,z){var F=null;if(f.isArrayOrTypedArray(b)){F=[];for(var B=0;B=0){var j=function($,U,G){var q,H=(G+1)%3,ne=(G+2)%3,te=[],Z=[];for(q=0;q<$.length;++q){var X=$[q];!isNaN(X[H])&&isFinite(X[H])&&!isNaN(X[ne])&&isFinite(X[ne])&&(te.push([X[H],X[ne]]),Z.push(q))}var Q=v(te);for(q=0;q=0&&c("surfacecolor",m||w);for(var y=["x","y","z"],S=0;S<3;++S){var _="projection."+y[S];c(_+".show")&&(c(_+".opacity"),c(_+".scale"))}var k=d.getComponentMethod("errorbars","supplyDefaults");k(a,u,m||w||o,{axis:"z"}),k(a,u,m||w||o,{axis:"y",inherit:"z"}),k(a,u,m||w||o,{axis:"x",inherit:"z"})}else u.visible=!1}},13551:function(T,p,t){T.exports={plot:t(58925),attributes:t(44542),markerSymbols:t(87381),supplyDefaults:t(21428),colorbar:[{container:"marker",min:"cmin",max:"cmax"},{container:"line",min:"cmin",max:"cmax"}],calc:t(36563),moduleType:"trace",name:"scatter3d",basePlotModule:t(58547),categories:["gl3d","symbols","showLegend","scatter-like"],meta:{}}},97001:function(T,p,t){var d=t(82196),g=t(9012),i=t(5386).fF,M=t(5386).si,v=t(50693),f=t(1426).extendFlat,l=d.marker,a=d.line,u=l.line;T.exports={carpet:{valType:"string",editType:"calc"},a:{valType:"data_array",editType:"calc"},b:{valType:"data_array",editType:"calc"},mode:f({},d.mode,{dflt:"markers"}),text:f({},d.text,{}),texttemplate:M({editType:"plot"},{keys:["a","b","text"]}),hovertext:f({},d.hovertext,{}),line:{color:a.color,width:a.width,dash:a.dash,backoff:a.backoff,shape:f({},a.shape,{values:["linear","spline"]}),smoothing:a.smoothing,editType:"calc"},connectgaps:d.connectgaps,fill:f({},d.fill,{values:["none","toself","tonext"],dflt:"none"}),fillcolor:d.fillcolor,marker:f({symbol:l.symbol,opacity:l.opacity,maxdisplayed:l.maxdisplayed,angle:l.angle,angleref:l.angleref,standoff:l.standoff,size:l.size,sizeref:l.sizeref,sizemin:l.sizemin,sizemode:l.sizemode,line:f({width:u.width,editType:"calc"},v("marker.line")),gradient:l.gradient,editType:"calc"},v("marker")),textfont:d.textfont,textposition:d.textposition,selected:d.selected,unselected:d.unselected,hoverinfo:f({},g.hoverinfo,{flags:["a","b","text","name"]}),hoveron:d.hoveron,hovertemplate:i()}},34618:function(T,p,t){var d=t(92770),g=t(36922),i=t(75225),M=t(66279),v=t(47761).calcMarkerSize,f=t(22882);T.exports=function(l,a){var u=a._carpetTrace=f(l,a);if(u&&u.visible&&u.visible!=="legendonly"){var o;a.xaxis=u.xaxis,a.yaxis=u.yaxis;var s,c,h=a._length,m=new Array(h),w=!1;for(o=0;o")}return l}function k(E,x){var A;A=E.labelprefix&&E.labelprefix.length>0?E.labelprefix.replace(/ = $/,""):E._hovertitle,S.push(A+": "+x.toFixed(3)+E.labelsuffix)}}},46858:function(T,p,t){T.exports={attributes:t(97001),supplyDefaults:t(98965),colorbar:t(4898),formatLabels:t(48953),calc:t(34618),plot:t(1913),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(22931),selectPoints:t(98002),eventData:t(16165),moduleType:"trace",name:"scattercarpet",basePlotModule:t(93612),categories:["svg","carpet","symbols","showLegend","carpetDependent","zoomScale"],meta:{}}},1913:function(T,p,t){var d=t(32663),g=t(89298),i=t(91424);T.exports=function(M,v,f,l){var a,u,o,s=f[0][0].carpet,c=g.getFromId(M,s.xaxis||"x"),h=g.getFromId(M,s.yaxis||"y"),m={xaxis:c,yaxis:h,plot:v.plot};for(a=0;a")}function j($){return $+"°"}}(o,y,f,u[0].t.labels),f.hovertemplate=o.hovertemplate,[f]}}},17988:function(T,p,t){T.exports={attributes:t(19316),supplyDefaults:t(10659),colorbar:t(4898),formatLabels:t(82719),calc:t(84622),calcGeoJSON:t(89171).calcGeoJSON,plot:t(89171).plot,style:t(33095),styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(14977),eventData:t(84084),selectPoints:t(20548),moduleType:"trace",name:"scattergeo",basePlotModule:t(44622),categories:["geo","symbols","showLegend","scatter-like"],meta:{}}},89171:function(T,p,t){var d=t(39898),g=t(71828),i=t(90973).getTopojsonFeatures,M=t(18214),v=t(41327),f=t(71739).findExtremes,l=t(50606).BADNUM,a=t(47761).calcMarkerSize,u=t(34098),o=t(33095);T.exports={calcGeoJSON:function(s,c){var h,m,w=s[0].trace,y=c[w.geo],S=y._subplot,_=w._length;if(Array.isArray(w.locations)){var k=w.locationmode,E=k==="geojson-id"?v.extractTraceFeature(s):i(w,S.topojson);for(h=0;h<_;h++){m=s[h];var x=k==="geojson-id"?m.fOut:v.locationToFeature(k,m.loc,E);m.lonlat=x?x.properties.ct:[l,l]}}var A,L,b={padded:!0};if(y.fitbounds==="geojson"&&w.locationmode==="geojson-id"){var R=v.computeBbox(v.getTraceGeojson(w));A=[R[0],R[2]],L=[R[1],R[3]]}else{for(A=new Array(_),L=new Array(_),h=0;h<_;h++)m=s[h],A[h]=m.lonlat[0],L[h]=m.lonlat[1];b.ppad=a(w,_)}w._extremes.lon=f(y.lonaxis._ax,A,b),w._extremes.lat=f(y.lataxis._ax,L,b)},plot:function(s,c,h){var m=c.layers.frontplot.select(".scatterlayer"),w=g.makeTraceGroups(m,h,"trace scattergeo");function y(S,_){S.lonlat[0]===l&&d.select(_).remove()}w.selectAll("*").remove(),w.each(function(S){var _=d.select(this),k=S[0].trace;if(u.hasLines(k)||k.fill!=="none"){var E=M.calcTraceToLineCoords(S),x=k.fill!=="none"?M.makePolygon(E):M.makeLine(E);_.selectAll("path.js-line").data([{geojson:x,trace:k}]).enter().append("path").classed("js-line",!0).style("stroke-miterlimit",2)}u.hasMarkers(k)&&_.selectAll("path.point").data(g.identity).enter().append("path").classed("point",!0).each(function(A){y(A,this)}),u.hasText(k)&&_.selectAll("g").data(g.identity).enter().append("g").append("text").each(function(A){y(A,this)}),o(s,S)})}}},20548:function(T,p,t){var d=t(34098),g=t(50606).BADNUM;T.exports=function(i,M){var v,f,l,a,u,o=i.cd,s=i.xaxis,c=i.yaxis,h=[],m=o[0].trace;if(!d.hasMarkers(m)&&!d.hasText(m))return[];if(M===!1)for(u=0;u=m,R=2*L,I={},O=E.makeCalcdata(S,"x"),z=x.makeCalcdata(S,"y"),F=v(S,E,"x",O),B=v(S,x,"y",z),N=F.vals,W=B.vals;S._x=N,S._y=W,S.xperiodalignment&&(S._origX=O,S._xStarts=F.starts,S._xEnds=F.ends),S.yperiodalignment&&(S._origY=z,S._yStarts=B.starts,S._yEnds=B.ends);var j=new Array(R),$=new Array(L);for(_=0;_1&&g.extendFlat(re.line,s.linePositions(H,te,Z)),re.errorX||re.errorY){var ie=s.errorBarPositions(H,te,Z,X,Q);re.errorX&&g.extendFlat(re.errorX,ie.x),re.errorY&&g.extendFlat(re.errorY,ie.y)}return re.text&&(g.extendFlat(re.text,{positions:Z},s.textPosition(H,te,re.text,re.marker)),g.extendFlat(re.textSel,{positions:Z},s.textPosition(H,te,re.text,re.markerSel)),g.extendFlat(re.textUnsel,{positions:Z},s.textPosition(H,te,re.text,re.markerUnsel))),re}(y,0,S,j,N,W),q=c(y,A);return u(k,S),b?G.marker&&(U=G.marker.sizeAvg||Math.max(G.marker.size,3)):U=l(S,L),a(y,S,E,x,N,W,U),G.errorX&&w(S,E,G.errorX),G.errorY&&w(S,x,G.errorY),G.fill&&!q.fill2d&&(q.fill2d=!0),G.marker&&!q.scatter2d&&(q.scatter2d=!0),G.line&&!q.line2d&&(q.line2d=!0),!G.errorX&&!G.errorY||q.error2d||(q.error2d=!0),G.text&&!q.glText&&(q.glText=!0),G.marker&&(G.marker.snap=L),q.lineOptions.push(G.line),q.errorXOptions.push(G.errorX),q.errorYOptions.push(G.errorY),q.fillOptions.push(G.fill),q.markerOptions.push(G.marker),q.markerSelectedOptions.push(G.markerSel),q.markerUnselectedOptions.push(G.markerUnsel),q.textOptions.push(G.text),q.textSelectedOptions.push(G.textSel),q.textUnselectedOptions.push(G.textUnsel),q.selectBatch.push([]),q.unselectBatch.push([]),I._scene=q,I.index=q.count,I.x=N,I.y=W,I.positions=j,q.count++,[{x:!1,y:!1,t:I,trace:S}]}},78232:function(T){T.exports={TOO_MANY_POINTS:1e5,SYMBOL_SDF_SIZE:200,SYMBOL_SIZE:20,SYMBOL_STROKE:1,DOT_RE:/-dot/,OPEN_RE:/-open/,DASHES:{solid:[1],dot:[1,1],dash:[4,1],longdash:[8,1],dashdot:[4,1,1,1],longdashdot:[8,1,1,1]}}},19635:function(T,p,t){var d=t(92770),g=t(82019),i=t(25075),M=t(73972),v=t(71828),f=t(91424),l=t(41675),a=t(81697).formatColor,u=t(34098),o=t(39984),s=t(68645),c=t(78232),h=t(37822).DESELECTDIM,m={start:1,left:1,end:-1,right:-1,middle:0,center:0,bottom:1,top:-1},w=t(23469).appendArrayPointValue;function y(O,z){var F,B=O._fullLayout,N=z._length,W=z.textfont,j=z.textposition,$=Array.isArray(j)?j:[j],U=W.color,G=W.size,q=W.family,H={},ne=O._context.plotGlPixelRatio,te=z.texttemplate;if(te){H.text=[];var Z=B._d3locale,X=Array.isArray(te),Q=X?Math.min(te.length,N):N,re=X?function(me){return te[me]}:function(){return te};for(F=0;Fc.TOO_MANY_POINTS||u.hasMarkers(z)?"rect":"round";if(G&&z.connectgaps){var H=B[0],ne=B[1];for(N=0;N1?U[N]:U[0]:U,te=Array.isArray(G)?G.length>1?G[N]:G[0]:G,Z=m[ne],X=m[te],Q=q?q/.8+1:0,re=-X*Q-.5*X;j.offset[N]=[Z*Q/H,re/H]}}return j}}},47148:function(T,p,t){var d=t(71828),g=t(73972),i=t(68645),M=t(42341),v=t(47581),f=t(34098),l=t(67513),a=t(73927),u=t(49508),o=t(11058),s=t(28908),c=t(82410);T.exports=function(h,m,w,y){function S(R,I){return d.coerce(h,m,M,R,I)}var _=!!h.marker&&i.isOpenSymbol(h.marker.symbol),k=f.isBubble(h),E=l(h,m,y,S);if(E){a(h,m,y,S),S("xhoverformat"),S("yhoverformat");var x=E100},p.isDotSymbol=function(g){return typeof g=="string"?d.DOT_RE.test(g):g>200}},20794:function(T,p,t){var d=t(73972),g=t(71828),i=t(34603);function M(v,f,l,a){var u=v.xa,o=v.ya,s=v.distance,c=v.dxy,h=v.index,m={pointNumber:h,x:f[h],y:l[h]};m.tx=Array.isArray(a.text)?a.text[h]:a.text,m.htx=Array.isArray(a.hovertext)?a.hovertext[h]:a.hovertext,m.data=Array.isArray(a.customdata)?a.customdata[h]:a.customdata,m.tp=Array.isArray(a.textposition)?a.textposition[h]:a.textposition;var w=a.textfont;w&&(m.ts=g.isArrayOrTypedArray(w.size)?w.size[h]:w.size,m.tc=Array.isArray(w.color)?w.color[h]:w.color,m.tf=Array.isArray(w.family)?w.family[h]:w.family);var y=a.marker;y&&(m.ms=g.isArrayOrTypedArray(y.size)?y.size[h]:y.size,m.mo=g.isArrayOrTypedArray(y.opacity)?y.opacity[h]:y.opacity,m.mx=g.isArrayOrTypedArray(y.symbol)?y.symbol[h]:y.symbol,m.ma=g.isArrayOrTypedArray(y.angle)?y.angle[h]:y.angle,m.mc=g.isArrayOrTypedArray(y.color)?y.color[h]:y.color);var S=y&&y.line;S&&(m.mlc=Array.isArray(S.color)?S.color[h]:S.color,m.mlw=g.isArrayOrTypedArray(S.width)?S.width[h]:S.width);var _=y&&y.gradient;_&&_.type!=="none"&&(m.mgt=Array.isArray(_.type)?_.type[h]:_.type,m.mgc=Array.isArray(_.color)?_.color[h]:_.color);var k=u.c2p(m.x,!0),E=o.c2p(m.y,!0),x=m.mrc||1,A=a.hoverlabel;A&&(m.hbg=Array.isArray(A.bgcolor)?A.bgcolor[h]:A.bgcolor,m.hbc=Array.isArray(A.bordercolor)?A.bordercolor[h]:A.bordercolor,m.hts=g.isArrayOrTypedArray(A.font.size)?A.font.size[h]:A.font.size,m.htc=Array.isArray(A.font.color)?A.font.color[h]:A.font.color,m.htf=Array.isArray(A.font.family)?A.font.family[h]:A.font.family,m.hnl=g.isArrayOrTypedArray(A.namelength)?A.namelength[h]:A.namelength);var L=a.hoverinfo;L&&(m.hi=Array.isArray(L)?L[h]:L);var b=a.hovertemplate;b&&(m.ht=Array.isArray(b)?b[h]:b);var R={};R[v.index]=m;var I=a._origX,O=a._origY,z=g.extendFlat({},v,{color:i(a,m),x0:k-x,x1:k+x,xLabelVal:I?I[h]:m.x,y0:E-x,y1:E+x,yLabelVal:O?O[h]:m.y,cd:R,distance:s,spikeDistance:c,hovertemplate:m.ht});return m.htx?z.text=m.htx:m.tx?z.text=m.tx:a.text&&(z.text=a.text),g.fillText(m,a,z),d.getComponentMethod("errorbars","hoverInfo")(m,a,z),z}T.exports={hoverPoints:function(v,f,l,a){var u,o,s,c,h,m,w,y,S,_,k=v.cd,E=k[0].t,x=k[0].trace,A=v.xa,L=v.ya,b=E.x,R=E.y,I=A.c2p(f),O=L.c2p(l),z=v.distance;if(E.tree){var F=A.p2c(I-z),B=A.p2c(I+z),N=L.p2c(O-z),W=L.p2c(O+z);u=a==="x"?E.tree.range(Math.min(F,B),Math.min(L._rl[0],L._rl[1]),Math.max(F,B),Math.max(L._rl[0],L._rl[1])):E.tree.range(Math.min(F,B),Math.min(N,W),Math.max(F,B),Math.max(N,W))}else u=E.ids;var j=z;if(a==="x"){var $=!!x.xperiodalignment,U=!!x.yperiodalignment;for(m=0;m=Math.min(G,q)&&I<=Math.max(G,q)?0:1/0}if(w=Math.min(H,ne)&&O<=Math.max(H,ne)?0:1/0}_=Math.sqrt(w*w+y*y),s=u[m]}}}else for(m=u.length-1;m>-1;m--)c=b[o=u[m]],h=R[o],w=A.c2p(c)-I,y=L.c2p(h)-O,(S=Math.sqrt(w*w+y*y))k.glText.length){var b=A-k.glText.length;for(y=0;yue&&(isNaN(oe[ce])||isNaN(oe[ce+1]));)ce-=2;ie.positions=oe.slice(ue,ce+2)}return ie}),k.line2d.update(k.lineOptions)),k.error2d){var I=(k.errorXOptions||[]).concat(k.errorYOptions||[]);k.error2d.update(I)}k.scatter2d&&k.scatter2d.update(k.markerOptions),k.fillOrder=v.repeat(null,A),k.fill2d&&(k.fillOptions=k.fillOptions.map(function(ie,oe){var ue=w[oe];if(ie&&ue&&ue[0]&&ue[0].trace){var ce,ye,de=ue[0],me=de.trace,pe=de.t,xe=k.lineOptions[oe],Pe=[];me._ownfill&&Pe.push(oe),me._nexttrace&&Pe.push(oe+1),Pe.length&&(k.fillOrder[oe]=Pe);var _e,Me,Se=[],Ce=xe&&xe.positions||pe.positions;if(me.fill==="tozeroy"){for(_e=0;_e_e&&isNaN(Ce[Me+1]);)Me-=2;Ce[_e+1]!==0&&(Se=[Ce[_e],0]),Se=Se.concat(Ce.slice(_e,Me+2)),Ce[Me+1]!==0&&(Se=Se.concat([Ce[Me],0]))}else if(me.fill==="tozerox"){for(_e=0;_e_e&&isNaN(Ce[Me]);)Me-=2;Ce[_e]!==0&&(Se=[0,Ce[_e+1]]),Se=Se.concat(Ce.slice(_e,Me+2)),Ce[Me]!==0&&(Se=Se.concat([0,Ce[Me+1]]))}else if(me.fill==="toself"||me.fill==="tonext"){for(Se=[],ce=0,ie.splitNull=!0,ye=0;ye-1;for(y=0;y")}function S(_){return _+"°"}}T.exports={hoverPoints:function(a,u,o){var s=a.cd,c=s[0].trace,h=a.xa,m=a.ya,w=a.subplot,y=[],S=f+c.uid+"-circle",_=c.cluster&&c.cluster.enabled;if(_){var k=w.map.queryRenderedFeatures(null,{layers:[S]});y=k.map(function(B){return B.id})}var E=360*(u>=0?Math.floor((u+180)/360):Math.ceil((u-180)/360)),x=u-E;if(d.getClosest(s,function(B){var N=B.lonlat;if(N[0]===v||_&&y.indexOf(B.i+1)===-1)return 1/0;var W=g.modHalf(N[0],360),j=N[1],$=w.project([W,j]),U=$.x-h.c2p([x,j]),G=$.y-m.c2p([W,o]),q=Math.max(3,B.mrc||0);return Math.max(Math.sqrt(U*U+G*G)-q,1-3/q)},a),a.index!==!1){var A=s[a.index],L=A.lonlat,b=[g.modHalf(L[0],360)+E,L[1]],R=h.c2p(b),I=m.c2p(b),O=A.mrc||1;a.x0=R-O,a.x1=R+O,a.y0=I-O,a.y1=I+O;var z={};z[c.subplot]={_subplot:w};var F=c._module.formatLabels(A,c,z);return a.lonLabel=F.lonLabel,a.latLabel=F.latLabel,a.color=i(c,A),a.extraText=l(c,A,s[0].t.labels),a.hovertemplate=c.hovertemplate,[a]}},getExtraText:l}},20467:function(T,p,t){T.exports={attributes:t(99181),supplyDefaults:t(76645),colorbar:t(4898),formatLabels:t(15636),calc:t(84622),plot:t(86951),hoverPoints:t(28178).hoverPoints,eventData:t(53353),selectPoints:t(86387),styleOnSelect:function(d,g){g&&g[0].trace._glTrace.update(g)},moduleType:"trace",name:"scattermapbox",basePlotModule:t(50101),categories:["mapbox","gl","symbols","showLegend","scatter-like"],meta:{}}},86951:function(T,p,t){var d=t(71828),g=t(15790),i=t(77734).traceLayerPrefix,M={cluster:["cluster","clusterCount","circle"],nonCluster:["fill","line","circle","symbol"]};function v(l,a,u,o){this.type="scattermapbox",this.subplot=l,this.uid=a,this.clusterEnabled=u,this.isHidden=o,this.sourceIds={fill:"source-"+a+"-fill",line:"source-"+a+"-line",circle:"source-"+a+"-circle",symbol:"source-"+a+"-symbol",cluster:"source-"+a+"-circle",clusterCount:"source-"+a+"-circle"},this.layerIds={fill:i+a+"-fill",line:i+a+"-line",circle:i+a+"-circle",symbol:i+a+"-symbol",cluster:i+a+"-cluster",clusterCount:i+a+"-cluster-count"},this.below=null}var f=v.prototype;f.addSource=function(l,a,u){var o={type:"geojson",data:a.geojson};u&&u.enabled&&d.extendFlat(o,{cluster:!0,clusterMaxZoom:u.maxzoom});var s=this.subplot.map.getSource(this.sourceIds[l]);s?s.setData(a.geojson):this.subplot.map.addSource(this.sourceIds[l],o)},f.setSourceData=function(l,a){this.subplot.map.getSource(this.sourceIds[l]).setData(a.geojson)},f.addLayer=function(l,a,u){var o={type:a.type,id:this.layerIds[l],source:this.sourceIds[l],layout:a.layout,paint:a.paint};a.filter&&(o.filter=a.filter);for(var s,c=this.layerIds[l],h=this.subplot.getMapLayers(),m=0;m=0;b--){var R=L[b];o.removeLayer(w.layerIds[R])}A||o.removeSource(w.sourceIds.circle)}(x):function(A){for(var L=M.nonCluster,b=L.length-1;b>=0;b--){var R=L[b];o.removeLayer(w.layerIds[R]),A||o.removeSource(w.sourceIds[R])}}(x)}function S(x){h?function(A){A||w.addSource("circle",s.circle,a.cluster);for(var L=M.cluster,b=0;b=0;u--){var o=a[u];l.removeLayer(this.layerIds[o]),l.removeSource(this.sourceIds[o])}},T.exports=function(l,a){var u,o,s,c=a[0].trace,h=c.cluster&&c.cluster.enabled,m=c.visible!==!0,w=new v(l,c.uid,h,m),y=g(l.gd,a),S=w.below=l.belowLookup["trace-"+c.uid];if(h)for(w.addSource("circle",y.circle,c.cluster),u=0;u")}}T.exports={hoverPoints:function(i,M,v,f){var l=d(i,M,v,f);if(l&&l[0].index!==!1){var a=l[0];if(a.index===void 0)return l;var u=i.subplot,o=a.cd[a.index],s=a.trace;if(u.isPtInside(o))return a.xLabelVal=void 0,a.yLabelVal=void 0,g(o,s,u,a),a.hovertemplate=s.hovertemplate,l}},makeHoverPointText:g}},91271:function(T,p,t){T.exports={moduleType:"trace",name:"scatterpolar",basePlotModule:t(23580),categories:["polar","symbols","showLegend","scatter-like"],attributes:t(81245),supplyDefaults:t(22184).supplyDefaults,colorbar:t(4898),formatLabels:t(98608),calc:t(26442),plot:t(45162),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(59150).hoverPoints,selectPoints:t(98002),meta:{}}},45162:function(T,p,t){var d=t(32663),g=t(50606).BADNUM;T.exports=function(i,M,v){for(var f=M.layers.frontplot.select("g.scatterlayer"),l=M.xaxis,a=M.yaxis,u={xaxis:l,yaxis:a,plot:M.framework,layerClipId:M._hasClipOnAxisFalse?M.clipIds.forTraces:null},o=M.radialAxis,s=M.angularAxis,c=0;c=l&&(A.marker.cluster=_.tree),A.marker&&(A.markerSel.positions=A.markerUnsel.positions=A.marker.positions=R),A.line&&R.length>1&&f.extendFlat(A.line,v.linePositions(a,S,R)),A.text&&(f.extendFlat(A.text,{positions:R},v.textPosition(a,S,A.text,A.marker)),f.extendFlat(A.textSel,{positions:R},v.textPosition(a,S,A.text,A.markerSel)),f.extendFlat(A.textUnsel,{positions:R},v.textPosition(a,S,A.text,A.markerUnsel))),A.fill&&!h.fill2d&&(h.fill2d=!0),A.marker&&!h.scatter2d&&(h.scatter2d=!0),A.line&&!h.line2d&&(h.line2d=!0),A.text&&!h.glText&&(h.glText=!0),h.lineOptions.push(A.line),h.fillOptions.push(A.fill),h.markerOptions.push(A.marker),h.markerSelectedOptions.push(A.markerSel),h.markerUnselectedOptions.push(A.markerUnsel),h.textOptions.push(A.text),h.textSelectedOptions.push(A.textSel),h.textUnselectedOptions.push(A.textUnsel),h.selectBatch.push([]),h.unselectBatch.push([]),_.x=I,_.y=O,_.rawx=I,_.rawy=O,_.r=E,_.theta=x,_.positions=R,_._scene=h,_.index=h.count,h.count++}}),i(a,u,o)}},T.exports.reglPrecompiled={}},48300:function(T,p,t){var d=t(5386).fF,g=t(5386).si,i=t(1426).extendFlat,M=t(82196),v=t(9012),f=M.line;T.exports={mode:M.mode,real:{valType:"data_array",editType:"calc+clearAxisTypes"},imag:{valType:"data_array",editType:"calc+clearAxisTypes"},text:M.text,texttemplate:g({editType:"plot"},{keys:["real","imag","text"]}),hovertext:M.hovertext,line:{color:f.color,width:f.width,dash:f.dash,backoff:f.backoff,shape:i({},f.shape,{values:["linear","spline"]}),smoothing:f.smoothing,editType:"calc"},connectgaps:M.connectgaps,marker:M.marker,cliponaxis:i({},M.cliponaxis,{dflt:!1}),textposition:M.textposition,textfont:M.textfont,fill:i({},M.fill,{values:["none","toself","tonext"],dflt:"none"}),fillcolor:M.fillcolor,hoverinfo:i({},v.hoverinfo,{flags:["real","imag","text","name"]}),hoveron:M.hoveron,hovertemplate:d(),selected:M.selected,unselected:M.unselected}},30621:function(T,p,t){var d=t(92770),g=t(50606).BADNUM,i=t(36922),M=t(75225),v=t(66279),f=t(47761).calcMarkerSize;T.exports=function(l,a){for(var u=l._fullLayout,o=a.subplot,s=u[o].realaxis,c=u[o].imaginaryaxis,h=s.makeCalcdata(a,"real"),m=c.makeCalcdata(a,"imag"),w=a._length,y=new Array(w),S=0;S")}}T.exports={hoverPoints:function(i,M,v,f){var l=d(i,M,v,f);if(l&&l[0].index!==!1){var a=l[0];if(a.index===void 0)return l;var u=i.subplot,o=a.cd[a.index],s=a.trace;if(u.isPtInside(o))return a.xLabelVal=void 0,a.yLabelVal=void 0,g(o,s,u,a),a.hovertemplate=s.hovertemplate,l}},makeHoverPointText:g}},85956:function(T,p,t){T.exports={moduleType:"trace",name:"scattersmith",basePlotModule:t(7504),categories:["smith","symbols","showLegend","scatter-like"],attributes:t(48300),supplyDefaults:t(65269),colorbar:t(4898),formatLabels:t(62047),calc:t(30621),plot:t(12480),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(11350).hoverPoints,selectPoints:t(98002),meta:{}}},12480:function(T,p,t){var d=t(32663),g=t(50606).BADNUM,i=t(23893).smith;T.exports=function(M,v,f){for(var l=v.layers.frontplot.select("g.scatterlayer"),a=v.xaxis,u=v.yaxis,o={xaxis:a,yaxis:u,plot:v.framework,layerClipId:v._hasClipOnAxisFalse?v.clipIds.forTraces:null},s=0;s"),l.hovertemplate=h.hovertemplate,f}function E(x,A){_.push(x._hovertitle+": "+A)}}},52979:function(T,p,t){T.exports={attributes:t(50413),supplyDefaults:t(46008),colorbar:t(4898),formatLabels:t(93645),calc:t(54337),plot:t(7507),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(47250),selectPoints:t(98002),eventData:t(4524),moduleType:"trace",name:"scatterternary",basePlotModule:t(61639),categories:["ternary","symbols","showLegend","scatter-like"],meta:{}}},7507:function(T,p,t){var d=t(32663);T.exports=function(g,i,M){var v=i.plotContainer;v.select(".scatterlayer").selectAll("*").remove();for(var f=i.xaxis,l=i.yaxis,a={xaxis:f,yaxis:l,plot:v,layerClipId:i._hasClipOnAxisFalse?i.clipIdRelative:null},u=i.layers.frontplot.select("g.scatterlayer"),o=0;oo?x.sizeAvg||Math.max(x.size,3):i(c,E),m=0;mR&&z||b-1,j=!0;if(M(x)||w.selectedpoints||W){var $=w._length;if(w.selectedpoints){S.selectBatch=w.selectedpoints;var U=w.selectedpoints,G={};for(o=0;o1&&(m=k[A-1],y=E[A-1],_=x[A-1]),l=0;lm?"-":"+")+"x")).replace("y",(w>y?"-":"+")+"y")).replace("z",(S>_?"-":"+")+"z");var j=function(){A=0,B=[],N=[],W=[]};(!A||A2?h.slice(1,m-1):m===2?[(h[0]+h[1])/2]:h}function s(h){var m=h.length;return m===1?[.5,.5]:[h[1]-h[0],h[m-1]-h[m-2]]}function c(h,m){var w=h.fullSceneLayout,y=h.dataScale,S=m._len,_={};function k(te,Z){var X=w[Z],Q=y[l[Z]];return i.simpleMap(te,function(re){return X.d2l(re)*Q})}if(_.vectors=f(k(m._u,"xaxis"),k(m._v,"yaxis"),k(m._w,"zaxis"),S),!S)return{positions:[],cells:[]};var E=k(m._Xs,"xaxis"),x=k(m._Ys,"yaxis"),A=k(m._Zs,"zaxis");if(_.meshgrid=[E,x,A],_.gridFill=m._gridFill,m._slen)_.startingPositions=f(k(m._startsX,"xaxis"),k(m._startsY,"yaxis"),k(m._startsZ,"zaxis"));else{for(var L=x[0],b=o(E),R=o(A),I=new Array(b.length*R.length),O=0,z=0;z=0};L?(w=Math.min(A.length,R.length),y=function(ue){return N(A[ue])&&W(ue)},S=function(ue){return String(A[ue])}):(w=Math.min(b.length,R.length),y=function(ue){return N(b[ue])&&W(ue)},S=function(ue){return String(b[ue])}),O&&(w=Math.min(w,I.length));for(var j=0;j1){for(var q=i.randstr(),H=0;H"),name:B||ne("name")?L.name:void 0,color:F("hoverlabel.bgcolor")||b.color,borderColor:F("hoverlabel.bordercolor"),fontFamily:F("hoverlabel.font.family"),fontSize:F("hoverlabel.font.size"),fontColor:F("hoverlabel.font.color"),nameLength:F("hoverlabel.namelength"),textAlign:F("hoverlabel.align"),hovertemplate:B,hovertemplateLabels:G,eventData:A};x&&(X.x0=j-E.rInscribed*E.rpx1,X.x1=j+E.rInscribed*E.rpx1,X.idealAlign=E.pxmid[0]<0?"left":"right"),T&&(X.x=j,X.idealAlign=j<0?"left":"right");var Q=[];M.loneHover(X,{container:_._hoverlayer.node(),outerContainer:_._paper.node(),gd:c,inOut_bbox:Q}),A[0].bbox=Q[0],g._hasHoverLabel=!0}if(T){var re=s.select("path.surface");p.styleOne(re,E,L,{hovered:!0})}g._hasHoverEvent=!0,c.emit("plotly_hover",{points:A||[u(E,L,p.eventDataKeys)],event:d.event})}}),s.on("mouseout",function(E){var _=c._fullLayout,A=c._fullData[g.index],L=d.select(this).datum();if(g._hasHoverEvent&&(E.originalEvent=d.event,c.emit("plotly_unhover",{points:[u(L,A,p.eventDataKeys)],event:d.event}),g._hasHoverEvent=!1),g._hasHoverLabel&&(M.loneUnhover(_._hoverlayer.node()),g._hasHoverLabel=!1),T){var b=s.select("path.surface");p.styleOne(b,L,A,{hovered:!1})}}),s.on("click",function(E){var _=c._fullLayout,A=c._fullData[g.index],L=x&&(l.isHierarchyRoot(E)||l.isLeaf(E)),b=l.getPtId(E),R=l.isEntry(E)?l.findEntryWithChild(S,b):l.findEntryWithLevel(S,b),I=l.getPtId(R),O={points:[u(E,A,p.eventDataKeys)],event:d.event};L||(O.nextLevel=I);var z=h.triggerHandler(c,"plotly_"+g.type+"click",O);if(z!==!1&&_.hovermode&&(c._hoverdata=[u(E,A,p.eventDataKeys)],M.click(c,d.event)),!L&&z!==!1&&!c._dragging&&!c._transitioning){y.call("_storeDirectGUIEdit",A,_._tracePreGUI[A.uid],{level:A.level});var F={data:[{level:I}],traces:[g.index]},B={frame:{redraw:!1,duration:p.transitionTime},transition:{duration:p.transitionTime,easing:p.transitionEasing},mode:"immediate",fromcurrent:!0};M.loneUnhover(_._hoverlayer.node()),y.call("animate",c,F,B)}})}},2791:function(k,m,t){var d=t(71828),y=t(7901),i=t(6964),M=t(53581);function v(h){return h.data.data.pid}m.findEntryWithLevel=function(h,l){var a;return l&&h.eachAfter(function(u){if(m.getPtId(u)===l)return a=u.copy()}),a||h},m.findEntryWithChild=function(h,l){var a;return h.eachAfter(function(u){for(var s=u.children||[],o=0;o0)},m.getMaxDepth=function(h){return h.maxdepth>=0?h.maxdepth:1/0},m.isHeader=function(h,l){return!(m.isLeaf(h)||h.depth===l._maxDepth-1)},m.getParent=function(h,l){return m.findEntryWithLevel(h,v(l))},m.listPath=function(h,l){var a=h.parent;if(!a)return[];var u=l?[a.data[l]]:[a];return m.listPath(a,l).concat(u)},m.getPath=function(h){return m.listPath(h,"label").join("/")+"/"},m.formatValue=M.formatPieValue,m.formatPercent=function(h,l){var a=d.formatPercent(h,0);return a==="0%"&&(a=M.formatPiePercent(h,l)),a}},87619:function(k,m,t){k.exports={moduleType:"trace",name:"sunburst",basePlotModule:t(66888),categories:[],animatable:!0,attributes:t(57564),layoutAttributes:t(2654),supplyDefaults:t(17094),supplyLayoutDefaults:t(57034),calc:t(52147).calc,crossTraceCalc:t(52147).crossTraceCalc,plot:t(24714).plot,style:t(29969).style,colorbar:t(4898),meta:{}}},2654:function(k){k.exports={sunburstcolorway:{valType:"colorlist",editType:"calc"},extendsunburstcolors:{valType:"boolean",dflt:!0,editType:"calc"}}},57034:function(k,m,t){var d=t(71828),y=t(2654);k.exports=function(i,M){function v(h,l){return d.coerce(i,M,y,h,l)}v("sunburstcolorway",M.colorway),v("extendsunburstcolors")}},24714:function(k,m,t){var d=t(39898),y=t(674),i=t(81684).sX,M=t(91424),v=t(71828),h=t(63893),l=t(72597),a=l.recordMinTextSize,u=l.clearMinTextSize,s=t(14575),o=t(53581).getRotationAngle,c=s.computeTransform,f=s.transformInsideText,p=t(29969).styleOne,w=t(16688).resizeText,g=t(83523),S=t(7055),x=t(2791);function T(_,A,L,b){var R=_._context.staticPlot,I=_._fullLayout,O=!I.uniformtext.mode&&x.hasTransition(b),z=d.select(L).selectAll("g.slice"),F=A[0],B=F.trace,N=F.hierarchy,W=x.findEntryWithLevel(N,B.level),j=x.getMaxDepth(B),Y=I._size,U=B.domain,G=Y.w*(U.x[1]-U.x[0]),q=Y.h*(U.y[1]-U.y[0]),H=.5*Math.min(G,q),ne=F.cx=Y.l+Y.w*(U.x[1]+U.x[0])/2,te=F.cy=Y.t+Y.h*(1-U.y[0])-q/2;if(!W)return z.remove();var Z=null,X={};O&&z.each(function(Ce){X[x.getPtId(Ce)]={rpx0:Ce.rpx0,rpx1:Ce.rpx1,x0:Ce.x0,x1:Ce.x1,transform:Ce.transform},!Z&&x.isEntry(Ce)&&(Z=Ce)});var Q=function(Ce){return y.partition().size([2*Math.PI,Ce.height+1])(Ce)}(W).descendants(),re=W.height+1,ie=0,oe=j;F.hasMultipleRoots&&x.isHierarchyRoot(W)&&(Q=Q.slice(1),re-=1,ie=1,oe+=1),Q=Q.filter(function(Ce){return Ce.y1<=oe});var ue=o(B.rotation);ue&&Q.forEach(function(Ce){Ce.x0+=ue,Ce.x1+=ue});var ce=Math.min(re,j),ye=function(Ce){return(Ce-ie)/ce*H},de=function(Ce,ae){return[Ce*Math.cos(ae),-Ce*Math.sin(ae)]},me=function(Ce){return v.pathAnnulus(Ce.rpx0,Ce.rpx1,Ce.x0,Ce.x1,ne,te)},pe=function(Ce){return ne+E(Ce)[0]*(Ce.transform.rCenter||0)+(Ce.transform.x||0)},xe=function(Ce){return te+E(Ce)[1]*(Ce.transform.rCenter||0)+(Ce.transform.y||0)};(z=z.data(Q,x.getPtId)).enter().append("g").classed("slice",!0),O?z.exit().transition().each(function(){var Ce=d.select(this);Ce.select("path.surface").transition().attrTween("d",function(ae){var he=function(be){var ke,Le=x.getPtId(be),Be=X[Le],ze=X[x.getPtId(W)];if(ze){var je=(be.x1>ze.x1?2*Math.PI:0)+ue;ke=be.rpx1Pe?2*Math.PI:0)+ue;Ee={x0:$e,x1:$e}}else Ee={rpx0:H,rpx1:H},v.extendFlat(Ee,Se(we));else Ee={rpx0:0,rpx1:0};else Ee={x0:ue,x1:ue};return i(Ee,Ye)}(je);return function(we){return me(ge(we))}}):he.attr("d",me),ae.call(g,W,_,A,{eventDataKeys:S.eventDataKeys,transitionTime:S.CLICK_TRANSITION_TIME,transitionEasing:S.CLICK_TRANSITION_EASING}).call(x.setSliceCursor,_,{hideOnRoot:!0,hideOnLeaves:!0,isTransitioning:_._transitioning}),he.call(p,Ce,B);var be=v.ensureSingle(ae,"g","slicetext"),ke=v.ensureSingle(be,"text","",function(je){je.attr("data-notex",1)}),Le=v.ensureUniformFontSize(_,x.determineTextFont(B,Ce,I.font));ke.text(m.formatSliceLabel(Ce,W,B,A,I)).classed("slicetext",!0).attr("text-anchor","middle").call(M.font,Le).call(h.convertToTspans,_);var Be=M.bBox(ke.node());Ce.transform=f(Be,Ce,F),Ce.transform.targetX=pe(Ce),Ce.transform.targetY=xe(Ce);var ze=function(je,ge){var we=je.transform;return c(we,ge),we.fontSize=Le.size,a(B.type,we,I),v.getTextTransform(we)};O?ke.transition().attrTween("transform",function(je){var ge=function(we){var Ee,Ve=X[x.getPtId(we)],Ye=we.transform;if(Ve)Ee=Ve;else if(Ee={rpx1:we.rpx1,transform:{textPosAngle:Ye.textPosAngle,scale:0,rotate:Ye.rotate,rCenter:Ye.rCenter,x:Ye.x,y:Ye.y}},Z)if(we.parent)if(Pe){var $e=we.x1>Pe?2*Math.PI:0;Ee.x0=Ee.x1=$e}else v.extendFlat(Ee,Se(we));else Ee.x0=Ee.x1=ue;else Ee.x0=Ee.x1=ue;var st=i(Ee.transform.textPosAngle,we.transform.textPosAngle),ot=i(Ee.rpx1,we.rpx1),ft=i(Ee.x0,we.x0),bt=i(Ee.x1,we.x1),Et=i(Ee.transform.scale,Ye.scale),kt=i(Ee.transform.rotate,Ye.rotate),xt=Ye.rCenter===0?3:Ee.transform.rCenter===0?1/3:1,Ft=i(Ee.transform.rCenter,Ye.rCenter);return function(Ot){var Bt=ot(Ot),qt=ft(Ot),Vt=bt(Ot),Ke=function(qe){return Ft(Math.pow(qe,xt))}(Ot),Je={pxmid:de(Bt,(qt+Vt)/2),rpx1:Bt,transform:{textPosAngle:st(Ot),rCenter:Ke,x:Ye.x,y:Ye.y}};return a(B.type,Ye,I),{transform:{targetX:pe(Je),targetY:xe(Je),scale:Et(Ot),rotate:kt(Ot),rCenter:Ke}}}}(je);return function(we){return ze(ge(we),Be)}}):ke.attr("transform",ze(Ce,Be))})}function E(_){return A=_.rpx1,L=_.transform.textPosAngle,[A*Math.sin(L),-A*Math.cos(L)];var A,L}m.plot=function(_,A,L,b){var R,I,O=_._fullLayout,z=O._sunburstlayer,F=!L,B=!O.uniformtext.mode&&x.hasTransition(L);u("sunburst",O),(R=z.selectAll("g.trace.sunburst").data(A,function(N){return N[0].trace.uid})).enter().append("g").classed("trace",!0).classed("sunburst",!0).attr("stroke-linejoin","round"),R.order(),B?(b&&(I=b()),d.transition().duration(L.duration).ease(L.easing).each("end",function(){I&&I()}).each("interrupt",function(){I&&I()}).each(function(){z.selectAll("g.trace").each(function(N){T(_,N,this,L)})})):(R.each(function(N){T(_,N,this,L)}),O.uniformtext.mode&&w(_,O._sunburstlayer.selectAll(".trace"),"sunburst")),F&&R.exit().remove()},m.formatSliceLabel=function(_,A,L,b,R){var I=L.texttemplate,O=L.textinfo;if(!(I||O&&O!=="none"))return"";var z=R.separators,F=b[0],B=_.data.data,N=F.hierarchy,W=x.isHierarchyRoot(_),j=x.getParent(N,_),Y=x.getValue(_);if(!I){var U,G=O.split("+"),q=function(oe){return G.indexOf(oe)!==-1},H=[];if(q("label")&&B.label&&H.push(B.label),B.hasOwnProperty("v")&&q("value")&&H.push(x.formatValue(B.v,z)),!W){q("current path")&&H.push(x.getPath(_.data));var ne=0;q("percent parent")&&ne++,q("percent entry")&&ne++,q("percent root")&&ne++;var te=ne>1;if(ne){var Z,X=function(oe){U=x.formatPercent(Z,z),te&&(U+=" of "+oe),H.push(U)};q("percent parent")&&!W&&(Z=Y/x.getValue(j),X("parent")),q("percent entry")&&(Z=Y/x.getValue(A),X("entry")),q("percent root")&&(Z=Y/x.getValue(N),X("root"))}}return q("text")&&(U=v.castOption(L,B.i,"text"),v.isValidTextValue(U)&&H.push(U)),H.join("
")}var Q=v.castOption(L,B.i,"texttemplate");if(!Q)return"";var re={};B.label&&(re.label=B.label),B.hasOwnProperty("v")&&(re.value=B.v,re.valueLabel=x.formatValue(B.v,z)),re.currentPath=x.getPath(_.data),W||(re.percentParent=Y/x.getValue(j),re.percentParentLabel=x.formatPercent(re.percentParent,z),re.parent=x.getPtLabel(j)),re.percentEntry=Y/x.getValue(A),re.percentEntryLabel=x.formatPercent(re.percentEntry,z),re.entry=x.getPtLabel(A),re.percentRoot=Y/x.getValue(N),re.percentRootLabel=x.formatPercent(re.percentRoot,z),re.root=x.getPtLabel(N),B.hasOwnProperty("color")&&(re.color=B.color);var ie=v.castOption(L,B.i,"text");return(v.isValidTextValue(ie)||ie==="")&&(re.text=ie),re.customdata=v.castOption(L,B.i,"customdata"),v.texttemplateString(Q,re,R._d3locale,re,L._meta||{})}},29969:function(k,m,t){var d=t(39898),y=t(7901),i=t(71828),M=t(72597).resizeText;function v(h,l,a){var u=l.data.data,s=!l.children,o=u.i,c=i.castOption(a,o,"marker.line.color")||y.defaultLine,f=i.castOption(a,o,"marker.line.width")||0;h.style("stroke-width",f).call(y.fill,u.color).call(y.stroke,c).style("opacity",s?a.leaf.opacity:null)}k.exports={style:function(h){var l=h._fullLayout._sunburstlayer.selectAll(".trace");M(h,l,"sunburst"),l.each(function(a){var u=d.select(this),s=a[0].trace;u.style("opacity",s.opacity),u.selectAll("path.surface").each(function(o){d.select(this).call(v,o,s)})})},styleOne:v}},54532:function(k,m,t){var d=t(7901),y=t(50693),i=t(12663).axisHoverFormat,M=t(5386).fF,v=t(9012),h=t(1426).extendFlat,l=t(30962).overrideAll;function a(s){return{show:{valType:"boolean",dflt:!1},start:{valType:"number",dflt:null,editType:"plot"},end:{valType:"number",dflt:null,editType:"plot"},size:{valType:"number",dflt:null,min:0,editType:"plot"},project:{x:{valType:"boolean",dflt:!1},y:{valType:"boolean",dflt:!1},z:{valType:"boolean",dflt:!1}},color:{valType:"color",dflt:d.defaultLine},usecolormap:{valType:"boolean",dflt:!1},width:{valType:"number",min:1,max:16,dflt:2},highlight:{valType:"boolean",dflt:!0},highlightcolor:{valType:"color",dflt:d.defaultLine},highlightwidth:{valType:"number",min:1,max:16,dflt:2}}}var u=k.exports=l(h({z:{valType:"data_array"},x:{valType:"data_array"},y:{valType:"data_array"},text:{valType:"string",dflt:"",arrayOk:!0},hovertext:{valType:"string",dflt:"",arrayOk:!0},hovertemplate:M(),xhoverformat:i("x"),yhoverformat:i("y"),zhoverformat:i("z"),connectgaps:{valType:"boolean",dflt:!1,editType:"calc"},surfacecolor:{valType:"data_array"}},y("",{colorAttr:"z or surfacecolor",showScaleDflt:!0,autoColorDflt:!1,editTypeOverride:"calc"}),{contours:{x:a(),y:a(),z:a()},hidesurface:{valType:"boolean",dflt:!1},lightposition:{x:{valType:"number",min:-1e5,max:1e5,dflt:10},y:{valType:"number",min:-1e5,max:1e5,dflt:1e4},z:{valType:"number",min:-1e5,max:1e5,dflt:0}},lighting:{ambient:{valType:"number",min:0,max:1,dflt:.8},diffuse:{valType:"number",min:0,max:1,dflt:.8},specular:{valType:"number",min:0,max:2,dflt:.05},roughness:{valType:"number",min:0,max:1,dflt:.5},fresnel:{valType:"number",min:0,max:5,dflt:.2}},opacity:{valType:"number",min:0,max:1,dflt:1},opacityscale:{valType:"any",editType:"calc"},_deprecated:{zauto:h({},y.zauto,{}),zmin:h({},y.zmin,{}),zmax:h({},y.zmax,{})},hoverinfo:h({},v.hoverinfo),showlegend:h({},v.showlegend,{dflt:!1})}),"calc","nested");u.x.editType=u.y.editType=u.z.editType="calc+clearAxisTypes",u.transforms=void 0},18396:function(k,m,t){var d=t(78803);k.exports=function(y,i){i.surfacecolor?d(y,i,{vals:i.surfacecolor,containerStr:"",cLetter:"c"}):d(y,i,{vals:i.z,containerStr:"",cLetter:"c"})}},43768:function(k,m,t){var d=t(9330).gl_surface3d,y=t(9330).ndarray,i=t(9330).ndarray_linear_interpolate.d2,M=t(824),v=t(43907),h=t(71828).isArrayOrTypedArray,l=t(81697).parseColorScale,a=t(78614),u=t(21081).extractOpts;function s(L,b,R){this.scene=L,this.uid=R,this.surface=b,this.data=null,this.showContour=[!1,!1,!1],this.contourStart=[null,null,null],this.contourEnd=[null,null,null],this.contourSize=[0,0,0],this.minValues=[1/0,1/0,1/0],this.maxValues=[-1/0,-1/0,-1/0],this.dataScaleX=1,this.dataScaleY=1,this.refineData=!0,this.objectOffset=[0,0,0]}var o=s.prototype;o.getXat=function(L,b,R,I){var O=h(this.data.x)?h(this.data.x[0])?this.data.x[b][L]:this.data.x[L]:L;return R===void 0?O:I.d2l(O,0,R)},o.getYat=function(L,b,R,I){var O=h(this.data.y)?h(this.data.y[0])?this.data.y[b][L]:this.data.y[b]:b;return R===void 0?O:I.d2l(O,0,R)},o.getZat=function(L,b,R,I){var O=this.data.z[b][L];return O===null&&this.data.connectgaps&&this.data._interpolatedZ&&(O=this.data._interpolatedZ[b][L]),R===void 0?O:I.d2l(O,0,R)},o.handlePick=function(L){if(L.object===this.surface){var b=(L.data.index[0]-1)/this.dataScaleX-1,R=(L.data.index[1]-1)/this.dataScaleY-1,I=Math.max(Math.min(Math.round(b),this.data.z[0].length-1),0),O=Math.max(Math.min(Math.round(R),this.data._ylength-1),0);L.index=[I,O],L.traceCoordinate=[this.getXat(I,O),this.getYat(I,O),this.getZat(I,O)],L.dataCoordinate=[this.getXat(I,O,this.data.xcalendar,this.scene.fullSceneLayout.xaxis),this.getYat(I,O,this.data.ycalendar,this.scene.fullSceneLayout.yaxis),this.getZat(I,O,this.data.zcalendar,this.scene.fullSceneLayout.zaxis)];for(var z=0;z<3;z++)L.dataCoordinate[z]!=null&&(L.dataCoordinate[z]*=this.scene.dataScale[z]);var F=this.data.hovertext||this.data.text;return Array.isArray(F)&&F[O]&&F[O][I]!==void 0?L.textLabel=F[O][I]:L.textLabel=F||"",L.data.dataCoordinate=L.dataCoordinate.slice(),this.surface.highlight(L.data),this.scene.glplot.spikes.position=L.dataCoordinate,!0}};var c=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997,1009,1013,1019,1021,1031,1033,1039,1049,1051,1061,1063,1069,1087,1091,1093,1097,1103,1109,1117,1123,1129,1151,1153,1163,1171,1181,1187,1193,1201,1213,1217,1223,1229,1231,1237,1249,1259,1277,1279,1283,1289,1291,1297,1301,1303,1307,1319,1321,1327,1361,1367,1373,1381,1399,1409,1423,1427,1429,1433,1439,1447,1451,1453,1459,1471,1481,1483,1487,1489,1493,1499,1511,1523,1531,1543,1549,1553,1559,1567,1571,1579,1583,1597,1601,1607,1609,1613,1619,1621,1627,1637,1657,1663,1667,1669,1693,1697,1699,1709,1721,1723,1733,1741,1747,1753,1759,1777,1783,1787,1789,1801,1811,1823,1831,1847,1861,1867,1871,1873,1877,1879,1889,1901,1907,1913,1931,1933,1949,1951,1973,1979,1987,1993,1997,1999,2003,2011,2017,2027,2029,2039,2053,2063,2069,2081,2083,2087,2089,2099,2111,2113,2129,2131,2137,2141,2143,2153,2161,2179,2203,2207,2213,2221,2237,2239,2243,2251,2267,2269,2273,2281,2287,2293,2297,2309,2311,2333,2339,2341,2347,2351,2357,2371,2377,2381,2383,2389,2393,2399,2411,2417,2423,2437,2441,2447,2459,2467,2473,2477,2503,2521,2531,2539,2543,2549,2551,2557,2579,2591,2593,2609,2617,2621,2633,2647,2657,2659,2663,2671,2677,2683,2687,2689,2693,2699,2707,2711,2713,2719,2729,2731,2741,2749,2753,2767,2777,2789,2791,2797,2801,2803,2819,2833,2837,2843,2851,2857,2861,2879,2887,2897,2903,2909,2917,2927,2939,2953,2957,2963,2969,2971,2999];function f(L,b){if(L0){R=c[I];break}return R}function g(L,b){if(!(L<1||b<1)){for(var R=p(L),I=p(b),O=1,z=0;zT;)R--,R/=w(R),++R1?I:1},o.refineCoords=function(L){for(var b=this.dataScaleX,R=this.dataScaleY,I=L[0].shape[0],O=L[0].shape[1],z=0|Math.floor(L[0].shape[0]*b+1),F=0|Math.floor(L[0].shape[1]*R+1),B=1+I+1,N=1+O+1,W=y(new Float32Array(B*N),[B,N]),j=[1/b,0,0,0,1/R,0,0,0,1],Y=0;Y0&&this.contourStart[L]!==null&&this.contourEnd[L]!==null&&this.contourEnd[L]>this.contourStart[L]))for(O[L]=!0,b=this.contourStart[L];bO&&(this.minValues[b]=O),this.maxValues[b]",maxDimensionCount:60,overdrag:45,releaseTransitionDuration:120,releaseTransitionEase:"cubic-out",scrollbarCaptureWidth:18,scrollbarHideDelay:1e3,scrollbarHideDuration:1e3,scrollbarOffset:5,scrollbarWidth:8,transitionDuration:100,transitionEase:"cubic-out",uplift:5,wrapSpacer:" ",wrapSplitCharacter:" ",cn:{table:"table",tableControlView:"table-control-view",scrollBackground:"scroll-background",yColumn:"y-column",columnBlock:"column-block",scrollAreaClip:"scroll-area-clip",scrollAreaClipRect:"scroll-area-clip-rect",columnBoundary:"column-boundary",columnBoundaryClippath:"column-boundary-clippath",columnBoundaryRect:"column-boundary-rect",columnCells:"column-cells",columnCell:"column-cell",cellRect:"cell-rect",cellText:"cell-text",cellTextHolder:"cell-text-holder",scrollbarKit:"scrollbar-kit",scrollbar:"scrollbar",scrollbarSlider:"scrollbar-slider",scrollbarGlyph:"scrollbar-glyph",scrollbarCaptureZone:"scrollbar-capture-zone"}}},51018:function(k,m,t){var d=t(49850),y=t(1426).extendFlat,i=t(92770);function M(o){if(Array.isArray(o)){for(var c=0,f=0;f=c||E===o.length-1)&&(p[w]=S,S.key=T++,S.firstRowIndex=x,S.lastRowIndex=E,S={firstRowIndex:null,lastRowIndex:null,rows:[]},w+=g,x=E+1,g=0);return p}k.exports=function(o,c){var f=h(c.cells.values),p=function(W){return W.slice(c.header.values.length,W.length)},w=h(c.header.values);w.length&&!w[0].length&&(w[0]=[""],w=h(w));var g=w.concat(p(f).map(function(){return l((w[0]||[""]).length)})),S=c.domain,x=Math.floor(o._fullLayout._size.w*(S.x[1]-S.x[0])),T=Math.floor(o._fullLayout._size.h*(S.y[1]-S.y[0])),E=c.header.values.length?g[0].map(function(){return c.header.height}):[d.emptyHeaderHeight],_=f.length?f[0].map(function(){return c.cells.height}):[],A=E.reduce(v,0),L=s(_,T-A+d.uplift),b=u(s(E,A),[]),R=u(L,b),I={},O=c._fullInput.columnorder.concat(p(f.map(function(W,j){return j}))),z=g.map(function(W,j){var Y=Array.isArray(c.columnwidth)?c.columnwidth[Math.min(j,c.columnwidth.length-1)]:c.columnwidth;return i(Y)?Number(Y):1}),F=z.reduce(v,0);z=z.map(function(W){return W/F*x});var B=Math.max(M(c.header.line.width),M(c.cells.line.width)),N={key:c.uid+o._context.staticPlot,translateX:S.x[0]*o._fullLayout._size.w,translateY:o._fullLayout._size.h*(1-S.y[1]),size:o._fullLayout._size,width:x,maxLineWidth:B,height:T,columnOrder:O,groupHeight:T,rowBlocks:R,headerRowBlocks:b,scrollY:0,cells:y({},c.cells,{values:f}),headerCells:y({},c.header,{values:g}),gdColumns:g.map(function(W){return W[0]}),gdColumnsOriginalOrder:g.map(function(W){return W[0]}),prevPages:[0,0],scrollbarState:{scrollbarScrollInProgress:!1},columns:g.map(function(W,j){var Y=I[W];return I[W]=(Y||0)+1,{key:W+"__"+I[W],label:W,specIndex:j,xIndex:O[j],xScale:a,x:void 0,calcdata:void 0,columnWidth:z[j]}})};return N.columns.forEach(function(W){W.calcdata=N,W.x=a(W)}),N}},56269:function(k,m,t){var d=t(1426).extendFlat;m.splitToPanels=function(y){var i=[0,0],M=d({},y,{key:"header",type:"header",page:0,prevPages:i,currentRepaint:[null,null],dragHandle:!0,values:y.calcdata.headerCells.values[y.specIndex],rowBlocks:y.calcdata.headerRowBlocks,calcdata:d({},y.calcdata,{cells:y.calcdata.headerCells})});return[d({},y,{key:"cells1",type:"cells",page:0,prevPages:i,currentRepaint:[null,null],dragHandle:!1,values:y.calcdata.cells.values[y.specIndex],rowBlocks:y.calcdata.rowBlocks}),d({},y,{key:"cells2",type:"cells",page:1,prevPages:i,currentRepaint:[null,null],dragHandle:!1,values:y.calcdata.cells.values[y.specIndex],rowBlocks:y.calcdata.rowBlocks}),M]},m.splitToCells=function(y){var i=function(M){var v=M.rowBlocks[M.page],h=v?v.rows[0].rowIndex:0;return[h,v?h+v.rows.length:0]}(y);return(y.values||[]).slice(i[0],i[1]).map(function(M,v){return{keyWithinBlock:v+(typeof M=="string"&&M.match(/[<$&> ]/)?"_keybuster_"+Math.random():""),key:i[0]+v,column:y,calcdata:y.calcdata,page:y.page,rowBlocks:y.rowBlocks,value:M}})}},39754:function(k,m,t){var d=t(71828),y=t(44464),i=t(27670).c;k.exports=function(M,v,h,l){function a(u,s){return d.coerce(M,v,y,u,s)}i(v,l,a),a("columnwidth"),a("header.values"),a("header.format"),a("header.align"),a("header.prefix"),a("header.suffix"),a("header.height"),a("header.line.width"),a("header.line.color"),a("header.fill.color"),d.coerceFont(a,"header.font",d.extendFlat({},l.font)),function(u,s){for(var o=u.columnorder||[],c=u.header.values.length,f=o.slice(0,c),p=f.slice().sort(function(S,x){return S-x}),w=f.map(function(S){return p.indexOf(S)}),g=w.length;g/i),ue=!ie||oe;Z.mayHaveMarkup=ie&&re.match(/[<&>]/);var ce,ye=typeof(ce=re)=="string"&&ce.match(d.latexCheck);Z.latex=ye;var de,me,pe=ye?"":_(Z.calcdata.cells.prefix,X,Q)||"",xe=ye?"":_(Z.calcdata.cells.suffix,X,Q)||"",Pe=ye?null:_(Z.calcdata.cells.format,X,Q)||null,_e=pe+(Pe?i(Pe)(Z.value):Z.value)+xe;if(Z.wrappingNeeded=!Z.wrapped&&!ue&&!ye&&(de=E(_e)),Z.cellHeightMayIncrease=oe||ye||Z.mayHaveMarkup||(de===void 0?E(_e):de),Z.needsConvertToTspans=Z.mayHaveMarkup||Z.wrappingNeeded||Z.latex,Z.wrappingNeeded){var Me=(d.wrapSplitCharacter===" "?_e.replace(/me&&de.push(pe),me+=_e}return de}(Z,ie,re);oe.length===1&&(oe[0]===Z.length-1?oe.unshift(oe[0]-1):oe.push(oe[0]+1)),oe[0]%2&&oe.reverse(),H.each(function(ue,ce){ue.page=oe[ce],ue.scrollY=ie}),H.attr("transform",function(ue){var ce=j(ue.rowBlocks,ue.page)-ue.scrollY;return a(0,ce)}),q&&(z(q,ne,H,oe,te.prevPages,te,0),z(q,ne,H,oe,te.prevPages,te,1),S(ne,q))}}function O(q,H,ne,te){return function(Z){var X=Z.calcdata?Z.calcdata:Z,Q=H.filter(function(ue){return X.key===ue.key}),re=ne||X.scrollbarState.dragMultiplier,ie=X.scrollY;X.scrollY=te===void 0?X.scrollY+re*y.event.dy:te;var oe=Q.selectAll("."+d.cn.yColumn).selectAll("."+d.cn.columnBlock).filter(L);return I(q,oe,Q),X.scrollY===ie}}function z(q,H,ne,te,Z,X,Q){te[Q]!==Z[Q]&&(clearTimeout(X.currentRepaint[Q]),X.currentRepaint[Q]=setTimeout(function(){var re=ne.filter(function(ie,oe){return oe===Q&&te[oe]!==Z[oe]});x(q,H,re,ne),Z[Q]=te[Q]}))}function F(q,H,ne,te){return function(){var Z=y.select(H.parentNode);Z.each(function(X){var Q=X.fragments;Z.selectAll("tspan.line").each(function(me,pe){Q[pe].width=this.getComputedTextLength()});var re,ie,oe=Q[Q.length-1].width,ue=Q.slice(0,-1),ce=[],ye=0,de=X.column.columnWidth-2*d.cellPad;for(X.value="";ue.length;)ye+(ie=(re=ue.shift()).width+oe)>de&&(X.value+=ce.join(d.wrapSpacer)+d.lineBreaker,ce=[],ye=0),ce.push(re.text),ye+=ie;ye&&(X.value+=ce.join(d.wrapSpacer)),X.wrapped=!0}),Z.selectAll("tspan.line").remove(),T(Z.select("."+d.cn.cellText),ne,q,te),y.select(H.parentNode.parentNode).call(W)}}function B(q,H,ne,te,Z){return function(){if(!Z.settledY){var X=y.select(H.parentNode),Q=G(Z),re=Z.key-Q.firstRowIndex,ie=Q.rows[re].rowHeight,oe=Z.cellHeightMayIncrease?H.parentNode.getBoundingClientRect().height+2*d.cellPad:ie,ue=Math.max(oe,ie);ue-Q.rows[re].rowHeight&&(Q.rows[re].rowHeight=ue,q.selectAll("."+d.cn.columnCell).call(W),I(null,q.filter(L),0),S(ne,te,!0)),X.attr("transform",function(){var ce=this,ye=ce.parentNode.getBoundingClientRect(),de=y.select(ce.parentNode).select("."+d.cn.cellRect).node().getBoundingClientRect(),me=ce.transform.baseVal.consolidate(),pe=de.top-ye.top+(me?me.matrix.f:d.cellPad);return a(N(Z,y.select(ce.parentNode).select("."+d.cn.cellTextHolder).node().getBoundingClientRect().width),pe)}),Z.settledY=!0}}}function N(q,H){switch(q.align){case"left":default:return d.cellPad;case"right":return q.column.columnWidth-(H||0)-d.cellPad;case"center":return(q.column.columnWidth-(H||0))/2}}function W(q){q.attr("transform",function(H){var ne=H.rowBlocks[0].auxiliaryBlocks.reduce(function(Z,X){return Z+Y(X,1/0)},0),te=Y(G(H),H.key);return a(0,te+ne)}).selectAll("."+d.cn.cellRect).attr("height",function(H){return(ne=G(H),te=H.key,ne.rows[te-ne.firstRowIndex]).rowHeight;var ne,te})}function j(q,H){for(var ne=0,te=H-1;te>=0;te--)ne+=U(q[te]);return ne}function Y(q,H){for(var ne=0,te=0;te","<","|","/","\\"],dflt:">",editType:"plot"},thickness:{valType:"number",min:12,editType:"plot"},textfont:a({},v.textfont,{}),editType:"calc"},text:v.text,textinfo:h.textinfo,texttemplate:y({editType:"plot"},{keys:l.eventDataKeys.concat(["label","value"])}),hovertext:v.hovertext,hoverinfo:h.hoverinfo,hovertemplate:d({},{keys:l.eventDataKeys}),textfont:v.textfont,insidetextfont:v.insidetextfont,outsidetextfont:a({},v.outsidetextfont,{}),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],dflt:"top left",editType:"plot"},sort:v.sort,root:h.root,domain:M({name:"treemap",trace:!0,editType:"calc"})}},78018:function(k,m,t){var d=t(74875);m.name="treemap",m.plot=function(y,i,M,v){d.plotBasePlot(m.name,y,i,M,v)},m.clean=function(y,i,M,v){d.cleanBasePlot(m.name,y,i,M,v)}},65039:function(k,m,t){var d=t(52147);m.y=function(y,i){return d.calc(y,i)},m.T=function(y){return d._runCrossTraceCalc("treemap",y)}},43473:function(k){k.exports={CLICK_TRANSITION_TIME:750,CLICK_TRANSITION_EASING:"poly",eventDataKeys:["currentPath","root","entry","percentRoot","percentEntry","percentParent"],gapWithPathbar:1}},91174:function(k,m,t){var d=t(71828),y=t(45802),i=t(7901),M=t(27670).c,v=t(90769).handleText,h=t(97313).TEXTPAD,l=t(21081),a=l.hasColorscale,u=l.handleDefaults;k.exports=function(s,o,c,f){function p(L,b){return d.coerce(s,o,y,L,b)}var w=p("labels"),g=p("parents");if(w&&w.length&&g&&g.length){var S=p("values");S&&S.length?p("branchvalues"):p("count"),p("level"),p("maxdepth"),p("tiling.packing")==="squarify"&&p("tiling.squarifyratio"),p("tiling.flip"),p("tiling.pad");var x=p("text");p("texttemplate"),o.texttemplate||p("textinfo",Array.isArray(x)?"text+label":"label"),p("hovertext"),p("hovertemplate");var T=p("pathbar.visible");v(s,o,f,p,"auto",{hasPathbar:T,moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),p("textposition");var E=o.textposition.indexOf("bottom")!==-1;p("marker.line.width")&&p("marker.line.color",f.paper_bgcolor);var _=p("marker.colors");(o._hasColorscale=a(s,"marker","colors")||(s.marker||{}).coloraxis)?u(s,o,f,p,{prefix:"marker.",cLetter:"c"}):p("marker.depthfade",!(_||[]).length);var A=2*o.textfont.size;p("marker.pad.t",E?A/4:A),p("marker.pad.l",A/4),p("marker.pad.r",A/4),p("marker.pad.b",E?A:A/4),p("marker.cornerradius"),o._hovered={marker:{line:{width:2,color:i.contrast(f.paper_bgcolor)}}},T&&(p("pathbar.thickness",o.pathbar.textfont.size+2*h),p("pathbar.side"),p("pathbar.edgeshape")),p("sort"),p("root.color"),M(o,f,p),o._length=null}else o.visible=!1}},80694:function(k,m,t){var d=t(39898),y=t(2791),i=t(72597).clearMinTextSize,M=t(16688).resizeText,v=t(46650);k.exports=function(h,l,a,u,s){var o,c,f=s.type,p=s.drawDescendants,w=h._fullLayout,g=w["_"+f+"layer"],S=!a;i(f,w),(o=g.selectAll("g.trace."+f).data(l,function(x){return x[0].trace.uid})).enter().append("g").classed("trace",!0).classed(f,!0),o.order(),!w.uniformtext.mode&&y.hasTransition(a)?(u&&(c=u()),d.transition().duration(a.duration).ease(a.easing).each("end",function(){c&&c()}).each("interrupt",function(){c&&c()}).each(function(){g.selectAll("g.trace").each(function(x){v(h,x,this,a,p)})})):(o.each(function(x){v(h,x,this,a,p)}),w.uniformtext.mode&&M(h,g.selectAll(".trace"),f)),S&&o.exit().remove()}},66209:function(k,m,t){var d=t(39898),y=t(71828),i=t(91424),M=t(63893),v=t(37210),h=t(96362).styleOne,l=t(43473),a=t(2791),u=t(83523),s=!0;k.exports=function(o,c,f,p,w){var g=w.barDifY,S=w.width,x=w.height,T=w.viewX,E=w.viewY,_=w.pathSlice,A=w.toMoveInsideSlice,L=w.strTransform,b=w.hasTransition,R=w.handleSlicesExit,I=w.makeUpdateSliceInterpolator,O=w.makeUpdateTextInterpolator,z={},F=o._context.staticPlot,B=o._fullLayout,N=c[0],W=N.trace,j=N.hierarchy,Y=S/W._entryDepth,U=a.listPath(f.data,"id"),G=v(j.copy(),[S,x],{packing:"dice",pad:{inner:0,top:0,left:0,right:0,bottom:0}}).descendants();(G=G.filter(function(H){var ne=U.indexOf(H.data.id);return ne!==-1&&(H.x0=Y*ne,H.x1=Y*(ne+1),H.y0=g,H.y1=g+x,H.onPathbar=!0,!0)})).reverse(),(p=p.data(G,a.getPtId)).enter().append("g").classed("pathbar",!0),R(p,s,z,[S,x],_),p.order();var q=p;b&&(q=q.transition().each("end",function(){var H=d.select(this);a.setSliceCursor(H,o,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:!1})})),q.each(function(H){H._x0=T(H.x0),H._x1=T(H.x1),H._y0=E(H.y0),H._y1=E(H.y1),H._hoverX=T(H.x1-Math.min(S,x)/2),H._hoverY=E(H.y1-x/2);var ne=d.select(this),te=y.ensureSingle(ne,"path","surface",function(re){re.style("pointer-events",F?"none":"all")});b?te.transition().attrTween("d",function(re){var ie=I(re,s,z,[S,x]);return function(oe){return _(ie(oe))}}):te.attr("d",_),ne.call(u,f,o,c,{styleOne:h,eventDataKeys:l.eventDataKeys,transitionTime:l.CLICK_TRANSITION_TIME,transitionEasing:l.CLICK_TRANSITION_EASING}).call(a.setSliceCursor,o,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:o._transitioning}),te.call(h,H,W,{hovered:!1}),H._text=(a.getPtLabel(H)||"").split("
").join(" ")||"";var Z=y.ensureSingle(ne,"g","slicetext"),X=y.ensureSingle(Z,"text","",function(re){re.attr("data-notex",1)}),Q=y.ensureUniformFontSize(o,a.determineTextFont(W,H,B.font,{onPathbar:!0}));X.text(H._text||" ").classed("slicetext",!0).attr("text-anchor","start").call(i.font,Q).call(M.convertToTspans,o),H.textBB=i.bBox(X.node()),H.transform=A(H,{fontSize:Q.size,onPathbar:!0}),H.transform.fontSize=Q.size,b?X.transition().attrTween("transform",function(re){var ie=O(re,s,z,[S,x]);return function(oe){return L(ie(oe))}}):X.attr("transform",L(H))})}},52583:function(k,m,t){var d=t(39898),y=t(71828),i=t(91424),M=t(63893),v=t(37210),h=t(96362).styleOne,l=t(43473),a=t(2791),u=t(83523),s=t(24714).formatSliceLabel,o=!1;k.exports=function(c,f,p,w,g){var S=g.width,x=g.height,T=g.viewX,E=g.viewY,_=g.pathSlice,A=g.toMoveInsideSlice,L=g.strTransform,b=g.hasTransition,R=g.handleSlicesExit,I=g.makeUpdateSliceInterpolator,O=g.makeUpdateTextInterpolator,z=g.prevEntry,F=c._context.staticPlot,B=c._fullLayout,N=f[0].trace,W=N.textposition.indexOf("left")!==-1,j=N.textposition.indexOf("right")!==-1,Y=N.textposition.indexOf("bottom")!==-1,U=!Y&&!N.marker.pad.t||Y&&!N.marker.pad.b,G=v(p,[S,x],{packing:N.tiling.packing,squarifyratio:N.tiling.squarifyratio,flipX:N.tiling.flip.indexOf("x")>-1,flipY:N.tiling.flip.indexOf("y")>-1,pad:{inner:N.tiling.pad,top:N.marker.pad.t,left:N.marker.pad.l,right:N.marker.pad.r,bottom:N.marker.pad.b}}).descendants(),q=1/0,H=-1/0;G.forEach(function(Q){var re=Q.depth;re>=N._maxDepth?(Q.x0=Q.x1=(Q.x0+Q.x1)/2,Q.y0=Q.y1=(Q.y0+Q.y1)/2):(q=Math.min(q,re),H=Math.max(H,re))}),w=w.data(G,a.getPtId),N._maxVisibleLayers=isFinite(H)?H-q+1:0,w.enter().append("g").classed("slice",!0),R(w,o,{},[S,x],_),w.order();var ne=null;if(b&&z){var te=a.getPtId(z);w.each(function(Q){ne===null&&a.getPtId(Q)===te&&(ne={x0:Q.x0,x1:Q.x1,y0:Q.y0,y1:Q.y1})})}var Z=function(){return ne||{x0:0,x1:S,y0:0,y1:x}},X=w;return b&&(X=X.transition().each("end",function(){var Q=d.select(this);a.setSliceCursor(Q,c,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})})),X.each(function(Q){var re=a.isHeader(Q,N);Q._x0=T(Q.x0),Q._x1=T(Q.x1),Q._y0=E(Q.y0),Q._y1=E(Q.y1),Q._hoverX=T(Q.x1-N.marker.pad.r),Q._hoverY=E(Y?Q.y1-N.marker.pad.b/2:Q.y0+N.marker.pad.t/2);var ie=d.select(this),oe=y.ensureSingle(ie,"path","surface",function(de){de.style("pointer-events",F?"none":"all")});b?oe.transition().attrTween("d",function(de){var me=I(de,o,Z(),[S,x]);return function(pe){return _(me(pe))}}):oe.attr("d",_),ie.call(u,p,c,f,{styleOne:h,eventDataKeys:l.eventDataKeys,transitionTime:l.CLICK_TRANSITION_TIME,transitionEasing:l.CLICK_TRANSITION_EASING}).call(a.setSliceCursor,c,{isTransitioning:c._transitioning}),oe.call(h,Q,N,{hovered:!1}),Q.x0===Q.x1||Q.y0===Q.y1?Q._text="":Q._text=re?U?"":a.getPtLabel(Q)||"":s(Q,p,N,f,B)||"";var ue=y.ensureSingle(ie,"g","slicetext"),ce=y.ensureSingle(ue,"text","",function(de){de.attr("data-notex",1)}),ye=y.ensureUniformFontSize(c,a.determineTextFont(N,Q,B.font));ce.text(Q._text||" ").classed("slicetext",!0).attr("text-anchor",j?"end":W||re?"start":"middle").call(i.font,ye).call(M.convertToTspans,c),Q.textBB=i.bBox(ce.node()),Q.transform=A(Q,{fontSize:ye.size,isHeader:re}),Q.transform.fontSize=ye.size,b?ce.transition().attrTween("transform",function(de){var me=O(de,o,Z(),[S,x]);return function(pe){return L(me(pe))}}):ce.attr("transform",L(Q))}),ne}},14102:function(k){k.exports=function m(t,d,y){var i;y.swapXY&&(i=t.x0,t.x0=t.y0,t.y0=i,i=t.x1,t.x1=t.y1,t.y1=i),y.flipX&&(i=t.x0,t.x0=d[0]-t.x1,t.x1=d[0]-i),y.flipY&&(i=t.y0,t.y0=d[1]-t.y1,t.y1=d[1]-i);var M=t.children;if(M)for(var v=0;v-1?N+Y:-(j+Y):0,G={x0:W,x1:W,y0:U,y1:U+j},q=function(ge,we,Ee){var Ve=x.tiling.pad,Ye=function(ft){return ft-Ve<=we.x0},$e=function(ft){return ft+Ve>=we.x1},st=function(ft){return ft-Ve<=we.y0},ot=function(ft){return ft+Ve>=we.y1};return ge.x0===we.x0&&ge.x1===we.x1&&ge.y0===we.y0&&ge.y1===we.y1?{x0:ge.x0,x1:ge.x1,y0:ge.y0,y1:ge.y1}:{x0:Ye(ge.x0-Ve)?0:$e(ge.x0-Ve)?Ee[0]:ge.x0,x1:Ye(ge.x1+Ve)?0:$e(ge.x1+Ve)?Ee[0]:ge.x1,y0:st(ge.y0-Ve)?0:ot(ge.y0-Ve)?Ee[1]:ge.y0,y1:st(ge.y1+Ve)?0:ot(ge.y1+Ve)?Ee[1]:ge.y1}},H=null,ne={},te={},Z=null,X=function(ge,we){return we?ne[s(ge)]:te[s(ge)]};S.hasMultipleRoots&&R&&O++,x._maxDepth=O,x._backgroundColor=g.paper_bgcolor,x._entryDepth=_.data.depth,x._atRootLevel=R;var Q=-B/2+z.l+z.w*(F.x[1]+F.x[0])/2,re=-N/2+z.t+z.h*(1-(F.y[1]+F.y[0])/2),ie=function(ge){return Q+ge},oe=function(ge){return re+ge},ue=oe(0),ce=ie(0),ye=function(ge){return ce+ge},de=function(ge){return ue+ge};function me(ge,we){return ge+","+we}var pe=ye(0),xe=function(ge){ge.x=Math.max(pe,ge.x)},Pe=x.pathbar.edgeshape,_e=x[T?"tiling":"marker"].pad,Me=function(ge){return x.textposition.indexOf(ge)!==-1},Se=Me("top"),Ce=Me("left"),ae=Me("right"),he=Me("bottom"),be=function(ge,we){var Ee=ge.x0,Ve=ge.x1,Ye=ge.y0,$e=ge.y1,st=ge.textBB,ot=Se||we.isHeader&&!he?"start":he?"end":"middle",ft=Me("right"),bt=Me("left")||we.onPathbar?-1:ft?1:0;if(we.isHeader){if((Ee+=(T?_e:_e.l)-v)>=(Ve-=(T?_e:_e.r)-v)){var Et=(Ee+Ve)/2;Ee=Et,Ve=Et}var kt;he?Ye<(kt=$e-(T?_e:_e.b))&&kt<$e&&(Ye=kt):Ye<(kt=Ye+(T?_e:_e.t))&&kt<$e&&($e=kt)}var xt=h(Ee,Ve,Ye,$e,st,{isHorizontal:!1,constrained:!0,angle:0,anchor:ot,leftToRight:bt});return xt.fontSize=we.fontSize,xt.targetX=ie(xt.targetX),xt.targetY=oe(xt.targetY),isNaN(xt.targetX)||isNaN(xt.targetY)?{}:(Ee!==Ve&&Ye!==$e&&l(x.type,xt,g),{scale:xt.scale,rotate:xt.rotate,textX:xt.textX,textY:xt.textY,anchorX:xt.anchorX,anchorY:xt.anchorY,targetX:xt.targetX,targetY:xt.targetY})},ke=function(ge,we){for(var Ee,Ve=0,Ye=ge;!Ee&&Ve"?(ft.x-=$e,bt.x-=$e,Et.x-=$e,kt.x-=$e):Pe==="/"?(Et.x-=$e,kt.x-=$e,st.x-=$e/2,ot.x-=$e/2):Pe==="\\"?(ft.x-=$e,bt.x-=$e,st.x-=$e/2,ot.x-=$e/2):Pe==="<"&&(st.x-=$e,ot.x-=$e),xe(ft),xe(kt),xe(st),xe(bt),xe(Et),xe(ot),"M"+me(ft.x,ft.y)+"L"+me(bt.x,bt.y)+"L"+me(ot.x,ot.y)+"L"+me(Et.x,Et.y)+"L"+me(kt.x,kt.y)+"L"+me(st.x,st.y)+"Z"},toMoveInsideSlice:be,makeUpdateSliceInterpolator:Le,makeUpdateTextInterpolator:Be,handleSlicesExit:ze,hasTransition:I,strTransform:je}):L.remove()}},96362:function(k,m,t){var d=t(39898),y=t(7901),i=t(71828),M=t(2791),v=t(72597).resizeText;function h(l,a,u,s){var o,c,f=(s||{}).hovered,p=a.data.data,w=p.i,g=p.color,S=M.isHierarchyRoot(a),x=1;if(f)o=u._hovered.marker.line.color,c=u._hovered.marker.line.width;else if(S&&g===u.root.color)x=100,o="rgba(0,0,0,0)",c=0;else if(o=i.castOption(u,w,"marker.line.color")||y.defaultLine,c=i.castOption(u,w,"marker.line.width")||0,!u._hasColorscale&&!a.onPathbar){var T=u.marker.depthfade;if(T){var E,_=y.combine(y.addOpacity(u._backgroundColor,.75),g);if(T===!0){var A=M.getMaxDepth(u);E=isFinite(A)?M.isLeaf(a)?0:u._maxVisibleLayers-(a.data.depth-u._entryDepth):a.data.height+1}else E=a.data.depth-u._entryDepth,u._atRootLevel||E++;if(E>0)for(var L=0;L0){var _,A,L,b,R,I=h.xa,O=h.ya;w.orientation==="h"?(R=l,_="y",L=O,A="x",b=I):(R=a,_="x",L=I,A="y",b=O);var z=p[h.index];if(R>=z.span[0]&&R<=z.span[1]){var F=y.extendFlat({},h),B=b.c2p(R,!0),N=v.getKdeValue(z,w,R),W=v.getPositionOnKdePath(z,w,B),j=L._offset,Y=L._length;F[_+"0"]=W[0],F[_+"1"]=W[1],F[A+"0"]=F[A+"1"]=B,F[A+"Label"]=A+": "+i.hoverLabelText(b,R,w[A+"hoverformat"])+", "+p[0].t.labels.kde+" "+N.toFixed(3);for(var U=0,G=0;G")),c.color=function(O,z){var F=O[z.dir].marker,B=F.color,N=F.line.color,W=F.line.width;return y(B)?B:y(N)&&W?N:void 0}(p,x),[c]}function I(O){return d(S,O,p[g+"hoverformat"])}}},19990:function(k,m,t){k.exports={attributes:t(43037),layoutAttributes:t(13494),supplyDefaults:t(83266).supplyDefaults,crossTraceDefaults:t(83266).crossTraceDefaults,supplyLayoutDefaults:t(5176),calc:t(52752),crossTraceCalc:t(70766),plot:t(30436),style:t(55750).style,hoverPoints:t(61326),eventData:t(58593),selectPoints:t(81974),moduleType:"trace",name:"waterfall",basePlotModule:t(93612),categories:["bar-like","cartesian","svg","oriented","showLegend","zoomScale"],meta:{}}},13494:function(k){k.exports={waterfallmode:{valType:"enumerated",values:["group","overlay"],dflt:"group",editType:"calc"},waterfallgap:{valType:"number",min:0,max:1,editType:"calc"},waterfallgroupgap:{valType:"number",min:0,max:1,dflt:0,editType:"calc"}}},5176:function(k,m,t){var d=t(71828),y=t(13494);k.exports=function(i,M,v){var h=!1;function l(s,o){return d.coerce(i,M,y,s,o)}for(var a=0;a0&&(N+=A?"M"+F[0]+","+B[1]+"V"+B[0]:"M"+F[1]+","+B[0]+"H"+F[0]),L!=="between"&&(I.isSum||O path").each(function(w){if(!w.isBlank){var g=p[w.dir].marker;d.select(this).call(i.fill,g.color).call(i.stroke,g.line.color).call(y.dashLine,g.line.dash,g.line.width).style("opacity",p.selectedpoints&&!w.selected?M:1)}}),l(f,p,a),f.selectAll(".lines").each(function(){var w=p.connector.line;y.lineGroupStyle(d.select(this).selectAll("path"),w.width,w.color,w.dash)})})}}},82887:function(k,m,t){var d=t(89298),y=t(71828),i=t(86281),M=t(79344).p,v=t(50606).BADNUM;m.moduleType="transform",m.name="aggregate";var h=m.attributes={enabled:{valType:"boolean",dflt:!0,editType:"calc"},groups:{valType:"string",strict:!0,noBlank:!0,arrayOk:!0,dflt:"x",editType:"calc"},aggregations:{_isLinkedToArray:"aggregation",target:{valType:"string",editType:"calc"},func:{valType:"enumerated",values:["count","sum","avg","median","mode","rms","stddev","min","max","first","last","change","range"],dflt:"first",editType:"calc"},funcmode:{valType:"enumerated",values:["sample","population"],dflt:"sample",editType:"calc"},enabled:{valType:"boolean",dflt:!0,editType:"calc"},editType:"calc"},editType:"calc"},l=h.aggregations;function a(c,f,p,w){if(w.enabled){for(var g=w.target,S=y.nestedProperty(f,g),x=S.get(),T=function(A,L){var b=A.func,R=L.d2c,I=L.c2d;switch(b){case"count":return u;case"first":return s;case"last":return o;case"sum":return function(O,z){for(var F=0,B=0;BB&&(B=Y,N=j)}}return B?I(N):v};case"rms":return function(O,z){for(var F=0,B=0,N=0;N":return function(H){return q(H)>U};case">=":return function(H){return q(H)>=U};case"[]":return function(H){var ne=q(H);return ne>=U[0]&&ne<=U[1]};case"()":return function(H){var ne=q(H);return ne>U[0]&&ne=U[0]&&neU[0]&&ne<=U[1]};case"][":return function(H){var ne=q(H);return ne<=U[0]||ne>=U[1]};case")(":return function(H){var ne=q(H);return neU[1]};case"](":return function(H){var ne=q(H);return ne<=U[0]||ne>U[1]};case")[":return function(H){var ne=q(H);return ne=U[1]};case"{}":return function(H){return U.indexOf(q(H))!==-1};case"}{":return function(H){return U.indexOf(q(H))===-1}}}(o,i.getDataToCoordFunc(u,s,f,c),w),A={},L={},b=0;S?(T=function(z){A[z.astr]=d.extendDeep([],z.get()),z.set(new Array(p))},E=function(z,F){var B=A[z.astr][F];z.get()[F]=B}):(T=function(z){A[z.astr]=d.extendDeep([],z.get()),z.set([])},E=function(z,F){var B=A[z.astr][F];z.get().push(B)}),O(T);for(var R=M(s.transforms,o),I=0;I1?"%{group} (%{trace})":"%{group}");var c=h.styles,f=s.styles=[];if(c)for(u=0;uT)throw new RangeError('The value "'+ge+'" is invalid for option "size"');var we=new Uint8Array(ge);return Object.setPrototypeOf(we,_.prototype),we}function _(ge,we,Ee){if(typeof ge=="number"){if(typeof we=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return b(ge)}return A(ge,we,Ee)}function A(ge,we,Ee){if(typeof ge=="string")return function($e,st){if(typeof st=="string"&&st!==""||(st="utf8"),!_.isEncoding(st))throw new TypeError("Unknown encoding: "+st);var ot=0|z($e,st),ft=E(ot),bt=ft.write($e,st);return bt!==ot&&(ft=ft.slice(0,bt)),ft}(ge,we);if(ArrayBuffer.isView(ge))return function($e){if(ke($e,Uint8Array)){var st=new Uint8Array($e);return I(st.buffer,st.byteOffset,st.byteLength)}return R($e)}(ge);if(ge==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+w(ge));if(ke(ge,ArrayBuffer)||ge&&ke(ge.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(ke(ge,SharedArrayBuffer)||ge&&ke(ge.buffer,SharedArrayBuffer)))return I(ge,we,Ee);if(typeof ge=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var Ve=ge.valueOf&&ge.valueOf();if(Ve!=null&&Ve!==ge)return _.from(Ve,we,Ee);var Ye=function($e){if(_.isBuffer($e)){var st=0|O($e.length),ot=E(st);return ot.length===0||$e.copy(ot,0,0,st),ot}return $e.length!==void 0?typeof $e.length!="number"||Le($e.length)?E(0):R($e):$e.type==="Buffer"&&Array.isArray($e.data)?R($e.data):void 0}(ge);if(Ye)return Ye;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof ge[Symbol.toPrimitive]=="function")return _.from(ge[Symbol.toPrimitive]("string"),we,Ee);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+w(ge))}function L(ge){if(typeof ge!="number")throw new TypeError('"size" argument must be of type number');if(ge<0)throw new RangeError('The value "'+ge+'" is invalid for option "size"')}function b(ge){return L(ge),E(ge<0?0:0|O(ge))}function R(ge){for(var we=ge.length<0?0:0|O(ge.length),Ee=E(we),Ve=0;Ve=T)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+T.toString(16)+" bytes");return 0|ge}function z(ge,we){if(_.isBuffer(ge))return ge.length;if(ArrayBuffer.isView(ge)||ke(ge,ArrayBuffer))return ge.byteLength;if(typeof ge!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+w(ge));var Ee=ge.length,Ve=arguments.length>2&&arguments[2]===!0;if(!Ve&&Ee===0)return 0;for(var Ye=!1;;)switch(we){case"ascii":case"latin1":case"binary":return Ee;case"utf8":case"utf-8":return ae(ge).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*Ee;case"hex":return Ee>>>1;case"base64":return he(ge).length;default:if(Ye)return Ve?-1:ae(ge).length;we=(""+we).toLowerCase(),Ye=!0}}function F(ge,we,Ee){var Ve=!1;if((we===void 0||we<0)&&(we=0),we>this.length||((Ee===void 0||Ee>this.length)&&(Ee=this.length),Ee<=0)||(Ee>>>=0)<=(we>>>=0))return"";for(ge||(ge="utf8");;)switch(ge){case"hex":return Q(this,we,Ee);case"utf8":case"utf-8":return ne(this,we,Ee);case"ascii":return Z(this,we,Ee);case"latin1":case"binary":return X(this,we,Ee);case"base64":return H(this,we,Ee);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return re(this,we,Ee);default:if(Ve)throw new TypeError("Unknown encoding: "+ge);ge=(ge+"").toLowerCase(),Ve=!0}}function B(ge,we,Ee){var Ve=ge[we];ge[we]=ge[Ee],ge[Ee]=Ve}function N(ge,we,Ee,Ve,Ye){if(ge.length===0)return-1;if(typeof Ee=="string"?(Ve=Ee,Ee=0):Ee>2147483647?Ee=2147483647:Ee<-2147483648&&(Ee=-2147483648),Le(Ee=+Ee)&&(Ee=Ye?0:ge.length-1),Ee<0&&(Ee=ge.length+Ee),Ee>=ge.length){if(Ye)return-1;Ee=ge.length-1}else if(Ee<0){if(!Ye)return-1;Ee=0}if(typeof we=="string"&&(we=_.from(we,Ve)),_.isBuffer(we))return we.length===0?-1:W(ge,we,Ee,Ve,Ye);if(typeof we=="number")return we&=255,typeof Uint8Array.prototype.indexOf=="function"?Ye?Uint8Array.prototype.indexOf.call(ge,we,Ee):Uint8Array.prototype.lastIndexOf.call(ge,we,Ee):W(ge,[we],Ee,Ve,Ye);throw new TypeError("val must be string, number or Buffer")}function W(ge,we,Ee,Ve,Ye){var $e,st=1,ot=ge.length,ft=we.length;if(Ve!==void 0&&((Ve=String(Ve).toLowerCase())==="ucs2"||Ve==="ucs-2"||Ve==="utf16le"||Ve==="utf-16le")){if(ge.length<2||we.length<2)return-1;st=2,ot/=2,ft/=2,Ee/=2}function bt(Ft,Ot){return st===1?Ft[Ot]:Ft.readUInt16BE(Ot*st)}if(Ye){var Et=-1;for($e=Ee;$eot&&(Ee=ot-ft),$e=Ee;$e>=0;$e--){for(var kt=!0,xt=0;xtYe&&(Ve=Ye):Ve=Ye;var $e,st=we.length;for(Ve>st/2&&(Ve=st/2),$e=0;$e>8,ft=st%256,bt.push(ft),bt.push(ot);return bt}(we,ge.length-Ee),ge,Ee,Ve)}function H(ge,we,Ee){return we===0&&Ee===ge.length?g.fromByteArray(ge):g.fromByteArray(ge.slice(we,Ee))}function ne(ge,we,Ee){Ee=Math.min(ge.length,Ee);for(var Ve=[],Ye=we;Ye239?4:$e>223?3:$e>191?2:1;if(Ye+ot<=Ee){var ft=void 0,bt=void 0,Et=void 0,kt=void 0;switch(ot){case 1:$e<128&&(st=$e);break;case 2:(192&(ft=ge[Ye+1]))==128&&(kt=(31&$e)<<6|63&ft)>127&&(st=kt);break;case 3:ft=ge[Ye+1],bt=ge[Ye+2],(192&ft)==128&&(192&bt)==128&&(kt=(15&$e)<<12|(63&ft)<<6|63&bt)>2047&&(kt<55296||kt>57343)&&(st=kt);break;case 4:ft=ge[Ye+1],bt=ge[Ye+2],Et=ge[Ye+3],(192&ft)==128&&(192&bt)==128&&(192&Et)==128&&(kt=(15&$e)<<18|(63&ft)<<12|(63&bt)<<6|63&Et)>65535&&kt<1114112&&(st=kt)}}st===null?(st=65533,ot=1):st>65535&&(st-=65536,Ve.push(st>>>10&1023|55296),st=56320|1023&st),Ve.push(st),Ye+=ot}return function(xt){var Ft=xt.length;if(Ft<=te)return String.fromCharCode.apply(String,xt);for(var Ot="",Bt=0;Bt"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(_.prototype,"parent",{enumerable:!0,get:function(){if(_.isBuffer(this))return this.buffer}}),Object.defineProperty(_.prototype,"offset",{enumerable:!0,get:function(){if(_.isBuffer(this))return this.byteOffset}}),_.poolSize=8192,_.from=function(ge,we,Ee){return A(ge,we,Ee)},Object.setPrototypeOf(_.prototype,Uint8Array.prototype),Object.setPrototypeOf(_,Uint8Array),_.alloc=function(ge,we,Ee){return function(Ve,Ye,$e){return L(Ve),Ve<=0?E(Ve):Ye!==void 0?typeof $e=="string"?E(Ve).fill(Ye,$e):E(Ve).fill(Ye):E(Ve)}(ge,we,Ee)},_.allocUnsafe=function(ge){return b(ge)},_.allocUnsafeSlow=function(ge){return b(ge)},_.isBuffer=function(ge){return ge!=null&&ge._isBuffer===!0&&ge!==_.prototype},_.compare=function(ge,we){if(ke(ge,Uint8Array)&&(ge=_.from(ge,ge.offset,ge.byteLength)),ke(we,Uint8Array)&&(we=_.from(we,we.offset,we.byteLength)),!_.isBuffer(ge)||!_.isBuffer(we))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ge===we)return 0;for(var Ee=ge.length,Ve=we.length,Ye=0,$e=Math.min(Ee,Ve);Ye<$e;++Ye)if(ge[Ye]!==we[Ye]){Ee=ge[Ye],Ve=we[Ye];break}return EeVe.length?(_.isBuffer($e)||($e=_.from($e)),$e.copy(Ve,Ye)):Uint8Array.prototype.set.call(Ve,$e,Ye);else{if(!_.isBuffer($e))throw new TypeError('"list" argument must be an Array of Buffers');$e.copy(Ve,Ye)}Ye+=$e.length}return Ve},_.byteLength=z,_.prototype._isBuffer=!0,_.prototype.swap16=function(){var ge=this.length;if(ge%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var we=0;wewe&&(ge+=" ... "),""},x&&(_.prototype[x]=_.prototype.inspect),_.prototype.compare=function(ge,we,Ee,Ve,Ye){if(ke(ge,Uint8Array)&&(ge=_.from(ge,ge.offset,ge.byteLength)),!_.isBuffer(ge))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+w(ge));if(we===void 0&&(we=0),Ee===void 0&&(Ee=ge?ge.length:0),Ve===void 0&&(Ve=0),Ye===void 0&&(Ye=this.length),we<0||Ee>ge.length||Ve<0||Ye>this.length)throw new RangeError("out of range index");if(Ve>=Ye&&we>=Ee)return 0;if(Ve>=Ye)return-1;if(we>=Ee)return 1;if(this===ge)return 0;for(var $e=(Ye>>>=0)-(Ve>>>=0),st=(Ee>>>=0)-(we>>>=0),ot=Math.min($e,st),ft=this.slice(Ve,Ye),bt=ge.slice(we,Ee),Et=0;Et>>=0,isFinite(Ee)?(Ee>>>=0,Ve===void 0&&(Ve="utf8")):(Ve=Ee,Ee=void 0)}var Ye=this.length-we;if((Ee===void 0||Ee>Ye)&&(Ee=Ye),ge.length>0&&(Ee<0||we<0)||we>this.length)throw new RangeError("Attempt to write outside buffer bounds");Ve||(Ve="utf8");for(var $e=!1;;)switch(Ve){case"hex":return j(this,ge,we,Ee);case"utf8":case"utf-8":return Y(this,ge,we,Ee);case"ascii":case"latin1":case"binary":return U(this,ge,we,Ee);case"base64":return G(this,ge,we,Ee);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return q(this,ge,we,Ee);default:if($e)throw new TypeError("Unknown encoding: "+Ve);Ve=(""+Ve).toLowerCase(),$e=!0}},_.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var te=4096;function Z(ge,we,Ee){var Ve="";Ee=Math.min(ge.length,Ee);for(var Ye=we;YeVe)&&(Ee=Ve);for(var Ye="",$e=we;$eEe)throw new RangeError("Trying to access beyond buffer length")}function oe(ge,we,Ee,Ve,Ye,$e){if(!_.isBuffer(ge))throw new TypeError('"buffer" argument must be a Buffer instance');if(we>Ye||we<$e)throw new RangeError('"value" argument is out of bounds');if(Ee+Ve>ge.length)throw new RangeError("Index out of range")}function ue(ge,we,Ee,Ve,Ye){_e(we,Ve,Ye,ge,Ee,7);var $e=Number(we&BigInt(4294967295));ge[Ee++]=$e,$e>>=8,ge[Ee++]=$e,$e>>=8,ge[Ee++]=$e,$e>>=8,ge[Ee++]=$e;var st=Number(we>>BigInt(32)&BigInt(4294967295));return ge[Ee++]=st,st>>=8,ge[Ee++]=st,st>>=8,ge[Ee++]=st,st>>=8,ge[Ee++]=st,Ee}function ce(ge,we,Ee,Ve,Ye){_e(we,Ve,Ye,ge,Ee,7);var $e=Number(we&BigInt(4294967295));ge[Ee+7]=$e,$e>>=8,ge[Ee+6]=$e,$e>>=8,ge[Ee+5]=$e,$e>>=8,ge[Ee+4]=$e;var st=Number(we>>BigInt(32)&BigInt(4294967295));return ge[Ee+3]=st,st>>=8,ge[Ee+2]=st,st>>=8,ge[Ee+1]=st,st>>=8,ge[Ee]=st,Ee+8}function ye(ge,we,Ee,Ve,Ye,$e){if(Ee+Ve>ge.length)throw new RangeError("Index out of range");if(Ee<0)throw new RangeError("Index out of range")}function de(ge,we,Ee,Ve,Ye){return we=+we,Ee>>>=0,Ye||ye(ge,0,Ee,4),S.write(ge,we,Ee,Ve,23,4),Ee+4}function me(ge,we,Ee,Ve,Ye){return we=+we,Ee>>>=0,Ye||ye(ge,0,Ee,8),S.write(ge,we,Ee,Ve,52,8),Ee+8}_.prototype.slice=function(ge,we){var Ee=this.length;(ge=~~ge)<0?(ge+=Ee)<0&&(ge=0):ge>Ee&&(ge=Ee),(we=we===void 0?Ee:~~we)<0?(we+=Ee)<0&&(we=0):we>Ee&&(we=Ee),we>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=this[ge],Ye=1,$e=0;++$e>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=this[ge+--we],Ye=1;we>0&&(Ye*=256);)Ve+=this[ge+--we]*Ye;return Ve},_.prototype.readUint8=_.prototype.readUInt8=function(ge,we){return ge>>>=0,we||ie(ge,1,this.length),this[ge]},_.prototype.readUint16LE=_.prototype.readUInt16LE=function(ge,we){return ge>>>=0,we||ie(ge,2,this.length),this[ge]|this[ge+1]<<8},_.prototype.readUint16BE=_.prototype.readUInt16BE=function(ge,we){return ge>>>=0,we||ie(ge,2,this.length),this[ge]<<8|this[ge+1]},_.prototype.readUint32LE=_.prototype.readUInt32LE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),(this[ge]|this[ge+1]<<8|this[ge+2]<<16)+16777216*this[ge+3]},_.prototype.readUint32BE=_.prototype.readUInt32BE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),16777216*this[ge]+(this[ge+1]<<16|this[ge+2]<<8|this[ge+3])},_.prototype.readBigUInt64LE=ze(function(ge){Me(ge>>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=we+this[++ge]*Math.pow(2,8)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,24),Ye=this[++ge]+this[++ge]*Math.pow(2,8)+this[++ge]*Math.pow(2,16)+Ee*Math.pow(2,24);return BigInt(Ve)+(BigInt(Ye)<>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=we*Math.pow(2,24)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,8)+this[++ge],Ye=this[++ge]*Math.pow(2,24)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,8)+Ee;return(BigInt(Ve)<>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=this[ge],Ye=1,$e=0;++$e=(Ye*=128)&&(Ve-=Math.pow(2,8*we)),Ve},_.prototype.readIntBE=function(ge,we,Ee){ge>>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=we,Ye=1,$e=this[ge+--Ve];Ve>0&&(Ye*=256);)$e+=this[ge+--Ve]*Ye;return $e>=(Ye*=128)&&($e-=Math.pow(2,8*we)),$e},_.prototype.readInt8=function(ge,we){return ge>>>=0,we||ie(ge,1,this.length),128&this[ge]?-1*(255-this[ge]+1):this[ge]},_.prototype.readInt16LE=function(ge,we){ge>>>=0,we||ie(ge,2,this.length);var Ee=this[ge]|this[ge+1]<<8;return 32768&Ee?4294901760|Ee:Ee},_.prototype.readInt16BE=function(ge,we){ge>>>=0,we||ie(ge,2,this.length);var Ee=this[ge+1]|this[ge]<<8;return 32768&Ee?4294901760|Ee:Ee},_.prototype.readInt32LE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),this[ge]|this[ge+1]<<8|this[ge+2]<<16|this[ge+3]<<24},_.prototype.readInt32BE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),this[ge]<<24|this[ge+1]<<16|this[ge+2]<<8|this[ge+3]},_.prototype.readBigInt64LE=ze(function(ge){Me(ge>>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=this[ge+4]+this[ge+5]*Math.pow(2,8)+this[ge+6]*Math.pow(2,16)+(Ee<<24);return(BigInt(Ve)<>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=(we<<24)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,8)+this[++ge];return(BigInt(Ve)<>>=0,we||ie(ge,4,this.length),S.read(this,ge,!0,23,4)},_.prototype.readFloatBE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),S.read(this,ge,!1,23,4)},_.prototype.readDoubleLE=function(ge,we){return ge>>>=0,we||ie(ge,8,this.length),S.read(this,ge,!0,52,8)},_.prototype.readDoubleBE=function(ge,we){return ge>>>=0,we||ie(ge,8,this.length),S.read(this,ge,!1,52,8)},_.prototype.writeUintLE=_.prototype.writeUIntLE=function(ge,we,Ee,Ve){ge=+ge,we>>>=0,Ee>>>=0,Ve||oe(this,ge,we,Ee,Math.pow(2,8*Ee)-1,0);var Ye=1,$e=0;for(this[we]=255≥++$e>>=0,Ee>>>=0,Ve||oe(this,ge,we,Ee,Math.pow(2,8*Ee)-1,0);var Ye=Ee-1,$e=1;for(this[we+Ye]=255≥--Ye>=0&&($e*=256);)this[we+Ye]=ge/$e&255;return we+Ee},_.prototype.writeUint8=_.prototype.writeUInt8=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,1,255,0),this[we]=255&ge,we+1},_.prototype.writeUint16LE=_.prototype.writeUInt16LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,65535,0),this[we]=255&ge,this[we+1]=ge>>>8,we+2},_.prototype.writeUint16BE=_.prototype.writeUInt16BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,65535,0),this[we]=ge>>>8,this[we+1]=255&ge,we+2},_.prototype.writeUint32LE=_.prototype.writeUInt32LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,4294967295,0),this[we+3]=ge>>>24,this[we+2]=ge>>>16,this[we+1]=ge>>>8,this[we]=255&ge,we+4},_.prototype.writeUint32BE=_.prototype.writeUInt32BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,4294967295,0),this[we]=ge>>>24,this[we+1]=ge>>>16,this[we+2]=ge>>>8,this[we+3]=255&ge,we+4},_.prototype.writeBigUInt64LE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ue(this,ge,we,BigInt(0),BigInt("0xffffffffffffffff"))}),_.prototype.writeBigUInt64BE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ce(this,ge,we,BigInt(0),BigInt("0xffffffffffffffff"))}),_.prototype.writeIntLE=function(ge,we,Ee,Ve){if(ge=+ge,we>>>=0,!Ve){var Ye=Math.pow(2,8*Ee-1);oe(this,ge,we,Ee,Ye-1,-Ye)}var $e=0,st=1,ot=0;for(this[we]=255≥++$e>0)-ot&255;return we+Ee},_.prototype.writeIntBE=function(ge,we,Ee,Ve){if(ge=+ge,we>>>=0,!Ve){var Ye=Math.pow(2,8*Ee-1);oe(this,ge,we,Ee,Ye-1,-Ye)}var $e=Ee-1,st=1,ot=0;for(this[we+$e]=255≥--$e>=0&&(st*=256);)ge<0&&ot===0&&this[we+$e+1]!==0&&(ot=1),this[we+$e]=(ge/st>>0)-ot&255;return we+Ee},_.prototype.writeInt8=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,1,127,-128),ge<0&&(ge=255+ge+1),this[we]=255&ge,we+1},_.prototype.writeInt16LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,32767,-32768),this[we]=255&ge,this[we+1]=ge>>>8,we+2},_.prototype.writeInt16BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,32767,-32768),this[we]=ge>>>8,this[we+1]=255&ge,we+2},_.prototype.writeInt32LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,2147483647,-2147483648),this[we]=255&ge,this[we+1]=ge>>>8,this[we+2]=ge>>>16,this[we+3]=ge>>>24,we+4},_.prototype.writeInt32BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,2147483647,-2147483648),ge<0&&(ge=4294967295+ge+1),this[we]=ge>>>24,this[we+1]=ge>>>16,this[we+2]=ge>>>8,this[we+3]=255&ge,we+4},_.prototype.writeBigInt64LE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ue(this,ge,we,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),_.prototype.writeBigInt64BE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ce(this,ge,we,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),_.prototype.writeFloatLE=function(ge,we,Ee){return de(this,ge,we,!0,Ee)},_.prototype.writeFloatBE=function(ge,we,Ee){return de(this,ge,we,!1,Ee)},_.prototype.writeDoubleLE=function(ge,we,Ee){return me(this,ge,we,!0,Ee)},_.prototype.writeDoubleBE=function(ge,we,Ee){return me(this,ge,we,!1,Ee)},_.prototype.copy=function(ge,we,Ee,Ve){if(!_.isBuffer(ge))throw new TypeError("argument should be a Buffer");if(Ee||(Ee=0),Ve||Ve===0||(Ve=this.length),we>=ge.length&&(we=ge.length),we||(we=0),Ve>0&&Ve=this.length)throw new RangeError("Index out of range");if(Ve<0)throw new RangeError("sourceEnd out of bounds");Ve>this.length&&(Ve=this.length),ge.length-we>>=0,Ee=Ee===void 0?this.length:Ee>>>0,ge||(ge=0),typeof ge=="number")for($e=we;$e"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var Et,kt=p(st);if(ot){var xt=p(this).constructor;Et=Reflect.construct(kt,arguments,xt)}else Et=kt.apply(this,arguments);return c(this,Et)});function bt(){var Et;return u(this,bt),Et=ft.call(this),Object.defineProperty(f(Et),"message",{value:we.apply(f(Et),arguments),writable:!0,configurable:!0}),Et.name="".concat(Et.name," [").concat(ge,"]"),Et.stack,delete Et.name,Et}return Ye=bt,($e=[{key:"code",get:function(){return ge},set:function(Et){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:Et,writable:!0})}},{key:"toString",value:function(){return"".concat(this.name," [").concat(ge,"]: ").concat(this.message)}}])&&s(Ye.prototype,$e),Object.defineProperty(Ye,"prototype",{writable:!1}),bt}(Ee)}function Pe(ge){for(var we="",Ee=ge.length,Ve=ge[0]==="-"?1:0;Ee>=Ve+4;Ee-=3)we="_".concat(ge.slice(Ee-3,Ee)).concat(we);return"".concat(ge.slice(0,Ee)).concat(we)}function _e(ge,we,Ee,Ve,Ye,$e){if(ge>Ee||ge3?we===0||we===BigInt(0)?">= 0".concat(ot," and < 2").concat(ot," ** ").concat(8*($e+1)).concat(ot):">= -(2".concat(ot," ** ").concat(8*($e+1)-1).concat(ot,") and < 2 ** ")+"".concat(8*($e+1)-1).concat(ot):">= ".concat(we).concat(ot," and <= ").concat(Ee).concat(ot),new pe.ERR_OUT_OF_RANGE("value",st,ge)}(function(ft,bt,Et){Me(bt,"offset"),ft[bt]!==void 0&&ft[bt+Et]!==void 0||Se(bt,ft.length-(Et+1))})(Ve,Ye,$e)}function Me(ge,we){if(typeof ge!="number")throw new pe.ERR_INVALID_ARG_TYPE(we,"number",ge)}function Se(ge,we,Ee){throw Math.floor(ge)!==ge?(Me(ge,Ee),new pe.ERR_OUT_OF_RANGE(Ee||"offset","an integer",ge)):we<0?new pe.ERR_BUFFER_OUT_OF_BOUNDS:new pe.ERR_OUT_OF_RANGE(Ee||"offset",">= ".concat(Ee?1:0," and <= ").concat(we),ge)}xe("ERR_BUFFER_OUT_OF_BOUNDS",function(ge){return ge?"".concat(ge," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"},RangeError),xe("ERR_INVALID_ARG_TYPE",function(ge,we){return'The "'.concat(ge,'" argument must be of type number. Received type ').concat(w(we))},TypeError),xe("ERR_OUT_OF_RANGE",function(ge,we,Ee){var Ve='The value of "'.concat(ge,'" is out of range.'),Ye=Ee;return Number.isInteger(Ee)&&Math.abs(Ee)>Math.pow(2,32)?Ye=Pe(String(Ee)):typeof Ee=="bigint"&&(Ye=String(Ee),(Ee>Math.pow(BigInt(2),BigInt(32))||Ee<-Math.pow(BigInt(2),BigInt(32)))&&(Ye=Pe(Ye)),Ye+="n"),Ve+" It must be ".concat(we,". Received ").concat(Ye)},RangeError);var Ce=/[^+/0-9A-Za-z-_]/g;function ae(ge,we){var Ee;we=we||1/0;for(var Ve=ge.length,Ye=null,$e=[],st=0;st55295&&Ee<57344){if(!Ye){if(Ee>56319){(we-=3)>-1&&$e.push(239,191,189);continue}if(st+1===Ve){(we-=3)>-1&&$e.push(239,191,189);continue}Ye=Ee;continue}if(Ee<56320){(we-=3)>-1&&$e.push(239,191,189),Ye=Ee;continue}Ee=65536+(Ye-55296<<10|Ee-56320)}else Ye&&(we-=3)>-1&&$e.push(239,191,189);if(Ye=null,Ee<128){if((we-=1)<0)break;$e.push(Ee)}else if(Ee<2048){if((we-=2)<0)break;$e.push(Ee>>6|192,63&Ee|128)}else if(Ee<65536){if((we-=3)<0)break;$e.push(Ee>>12|224,Ee>>6&63|128,63&Ee|128)}else{if(!(Ee<1114112))throw new Error("Invalid code point");if((we-=4)<0)break;$e.push(Ee>>18|240,Ee>>12&63|128,Ee>>6&63|128,63&Ee|128)}}return $e}function he(ge){return g.toByteArray(function(we){if((we=(we=we.split("=")[0]).trim().replace(Ce,"")).length<2)return"";for(;we.length%4!=0;)we+="=";return we}(ge))}function be(ge,we,Ee,Ve){var Ye;for(Ye=0;Ye=we.length||Ye>=ge.length);++Ye)we[Ye+Ee]=ge[Ye];return Ye}function ke(ge,we){return ge instanceof we||ge!=null&&ge.constructor!=null&&ge.constructor.name!=null&&ge.constructor.name===we.name}function Le(ge){return ge!=ge}var Be=function(){for(var ge="0123456789abcdef",we=new Array(256),Ee=0;Ee<16;++Ee)for(var Ve=16*Ee,Ye=0;Ye<16;++Ye)we[Ve+Ye]=ge[Ee]+ge[Ye];return we}();function ze(ge){return typeof BigInt>"u"?je:ge}function je(){throw new Error("BigInt not supported")}},2321:function(h){h.exports=s,h.exports.isMobile=s,h.exports.default=s;var l=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,a=/CrOS/,u=/android|ipad|playbook|silk/i;function s(o){o||(o={});var c=o.ua;if(c||typeof navigator>"u"||(c=navigator.userAgent),c&&c.headers&&typeof c.headers["user-agent"]=="string"&&(c=c.headers["user-agent"]),typeof c!="string")return!1;var f=l.test(c)&&!a.test(c)||!!o.tablet&&u.test(c);return!f&&o.tablet&&o.featureDetect&&navigator&&navigator.maxTouchPoints>1&&c.indexOf("Macintosh")!==-1&&c.indexOf("Safari")!==-1&&(f=!0),f}},3910:function(h,l){l.byteLength=function(g){var S=p(g),x=S[0],T=S[1];return 3*(x+T)/4-T},l.toByteArray=function(g){var S,x,T=p(g),E=T[0],_=T[1],A=new s(function(R,I,O){return 3*(I+O)/4-O}(0,E,_)),L=0,b=_>0?E-4:E;for(x=0;x>16&255,A[L++]=S>>8&255,A[L++]=255&S;return _===2&&(S=u[g.charCodeAt(x)]<<2|u[g.charCodeAt(x+1)]>>4,A[L++]=255&S),_===1&&(S=u[g.charCodeAt(x)]<<10|u[g.charCodeAt(x+1)]<<4|u[g.charCodeAt(x+2)]>>2,A[L++]=S>>8&255,A[L++]=255&S),A},l.fromByteArray=function(g){for(var S,x=g.length,T=x%3,E=[],_=16383,A=0,L=x-T;AL?L:A+_));return T===1?(S=g[x-1],E.push(a[S>>2]+a[S<<4&63]+"==")):T===2&&(S=(g[x-2]<<8)+g[x-1],E.push(a[S>>10]+a[S>>4&63]+a[S<<2&63]+"=")),E.join("")};for(var a=[],u=[],s=typeof Uint8Array<"u"?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=0,f=o.length;c0)throw new Error("Invalid string. Length must be a multiple of 4");var x=g.indexOf("=");return x===-1&&(x=S),[x,x===S?0:4-x%4]}function w(g,S,x){for(var T,E,_=[],A=S;A>18&63]+a[E>>12&63]+a[E>>6&63]+a[63&E]);return _.join("")}u["-".charCodeAt(0)]=62,u["_".charCodeAt(0)]=63},3187:function(h,l){l.read=function(a,u,s,o,c){var f,p,w=8*c-o-1,g=(1<>1,x=-7,T=s?c-1:0,E=s?-1:1,_=a[u+T];for(T+=E,f=_&(1<<-x)-1,_>>=-x,x+=w;x>0;f=256*f+a[u+T],T+=E,x-=8);for(p=f&(1<<-x)-1,f>>=-x,x+=o;x>0;p=256*p+a[u+T],T+=E,x-=8);if(f===0)f=1-S;else{if(f===g)return p?NaN:1/0*(_?-1:1);p+=Math.pow(2,o),f-=S}return(_?-1:1)*p*Math.pow(2,f-o)},l.write=function(a,u,s,o,c,f){var p,w,g,S=8*f-c-1,x=(1<>1,E=c===23?Math.pow(2,-24)-Math.pow(2,-77):0,_=o?0:f-1,A=o?1:-1,L=u<0||u===0&&1/u<0?1:0;for(u=Math.abs(u),isNaN(u)||u===1/0?(w=isNaN(u)?1:0,p=x):(p=Math.floor(Math.log(u)/Math.LN2),u*(g=Math.pow(2,-p))<1&&(p--,g*=2),(u+=p+T>=1?E/g:E*Math.pow(2,1-T))*g>=2&&(p++,g/=2),p+T>=x?(w=0,p=x):p+T>=1?(w=(u*g-1)*Math.pow(2,c),p+=T):(w=u*Math.pow(2,T-1)*Math.pow(2,c),p=0));c>=8;a[s+_]=255&w,_+=A,w/=256,c-=8);for(p=p<0;a[s+_]=255&p,_+=A,p/=256,S-=8);a[s+_-A]|=128*L}},1152:function(h,l,a){h.exports=function(p){var w=(p=p||{}).eye||[0,0,1],g=p.center||[0,0,0],S=p.up||[0,1,0],x=p.distanceLimits||[0,1/0],T=p.mode||"turntable",E=u(),_=s(),A=o();return E.setDistanceLimits(x[0],x[1]),E.lookAt(0,w,g,S),_.setDistanceLimits(x[0],x[1]),_.lookAt(0,w,g,S),A.setDistanceLimits(x[0],x[1]),A.lookAt(0,w,g,S),new c({turntable:E,orbit:_,matrix:A},T)};var u=a(3440),s=a(7774),o=a(9298);function c(p,w){this._controllerNames=Object.keys(p),this._controllerList=this._controllerNames.map(function(g){return p[g]}),this._mode=w,this._active=p[w],this._active||(this._mode="turntable",this._active=p.turntable),this.modes=this._controllerNames,this.computedMatrix=this._active.computedMatrix,this.computedEye=this._active.computedEye,this.computedUp=this._active.computedUp,this.computedCenter=this._active.computedCenter,this.computedRadius=this._active.computedRadius}var f=c.prototype;f.flush=function(p){for(var w=this._controllerList,g=0;g"u"?a(5346):WeakMap,s=a(5827),o=a(2944),c=new u;h.exports=function(f){var p=c.get(f),w=p&&(p._triangleBuffer.handle||p._triangleBuffer.buffer);if(!w||!f.isBuffer(w)){var g=s(f,new Float32Array([-1,-1,-1,4,4,-1]));(p=o(f,[{buffer:g,type:f.FLOAT,size:2}]))._triangleBuffer=g,c.set(f,p)}p.bind(),f.drawArrays(f.TRIANGLES,0,3),p.unbind()}},8008:function(h,l,a){var u=a(4930);h.exports=function(s,o,c){o=typeof o=="number"?o:1,c=c||": ";var f=s.split(/\r?\n/),p=String(f.length+o-1).length;return f.map(function(w,g){var S=g+o,x=String(S).length;return u(S,p-x)+c+w}).join(` -`)}},2153:function(h,l,a){h.exports=function(o){var c=o.length;if(c===0)return[];if(c===1)return[0];for(var f=o[0].length,p=[o[0]],w=[0],g=1;g0?x=x.ushln(E):E<0&&(T=T.ushln(-E)),f(x,T)}},234:function(h,l,a){var u=a(3218);h.exports=function(s){return Array.isArray(s)&&s.length===2&&u(s[0])&&u(s[1])}},4275:function(h,l,a){var u=a(1928);h.exports=function(s){return s.cmp(new u(0))}},9958:function(h,l,a){var u=a(4275);h.exports=function(s){var o=s.length,c=s.words,f=0;if(o===1)f=c[0];else if(o===2)f=c[0]+67108864*c[1];else for(var p=0;p20?52:f+32}},3218:function(h,l,a){a(1928),h.exports=function(u){return u&&typeof u=="object"&&!!u.words}},5514:function(h,l,a){var u=a(1928),s=a(8362);h.exports=function(o){var c=s.exponent(o);return c<52?new u(o):new u(o*Math.pow(2,52-c)).ushln(c-52)}},8524:function(h,l,a){var u=a(5514),s=a(4275);h.exports=function(o,c){var f=s(o),p=s(c);if(f===0)return[u(0),u(1)];if(p===0)return[u(0),u(0)];p<0&&(o=o.neg(),c=c.neg());var w=o.gcd(c);return w.cmpn(1)?[o.div(w),c.div(w)]:[o,c]}},2813:function(h,l,a){var u=a(1928);h.exports=function(s){return new u(s)}},3962:function(h,l,a){var u=a(8524);h.exports=function(s,o){return u(s[0].mul(o[0]),s[1].mul(o[1]))}},4951:function(h,l,a){var u=a(4275);h.exports=function(s){return u(s[0])*u(s[1])}},4354:function(h,l,a){var u=a(8524);h.exports=function(s,o){return u(s[0].mul(o[1]).sub(s[1].mul(o[0])),s[1].mul(o[1]))}},7999:function(h,l,a){var u=a(9958),s=a(1112);h.exports=function(o){var c=o[0],f=o[1];if(c.cmpn(0)===0)return 0;var p=c.abs().divmod(f.abs()),w=p.div,g=u(w),S=p.mod,x=c.negative!==f.negative?-1:1;if(S.cmpn(0)===0)return x*g;if(g){var T=s(g)+4,E=u(S.ushln(T).divRound(f));return x*(g+E*Math.pow(2,-T))}var _=f.bitLength()-S.bitLength()+53;return E=u(S.ushln(_).divRound(f)),_<1023?x*E*Math.pow(2,-_):x*(E*=Math.pow(2,-1023))*Math.pow(2,1023-_)}},5070:function(h){function l(f,p,w,g,S){for(var x=S+1;g<=S;){var T=g+S>>>1,E=f[T];(w!==void 0?w(E,p):E-p)>=0?(x=T,S=T-1):g=T+1}return x}function a(f,p,w,g,S){for(var x=S+1;g<=S;){var T=g+S>>>1,E=f[T];(w!==void 0?w(E,p):E-p)>0?(x=T,S=T-1):g=T+1}return x}function u(f,p,w,g,S){for(var x=g-1;g<=S;){var T=g+S>>>1,E=f[T];(w!==void 0?w(E,p):E-p)<0?(x=T,g=T+1):S=T-1}return x}function s(f,p,w,g,S){for(var x=g-1;g<=S;){var T=g+S>>>1,E=f[T];(w!==void 0?w(E,p):E-p)<=0?(x=T,g=T+1):S=T-1}return x}function o(f,p,w,g,S){for(;g<=S;){var x=g+S>>>1,T=f[x],E=w!==void 0?w(T,p):T-p;if(E===0)return x;E<=0?g=x+1:S=x-1}return-1}function c(f,p,w,g,S,x){return typeof w=="function"?x(f,p,w,g===void 0?0:0|g,S===void 0?f.length-1:0|S):x(f,p,void 0,w===void 0?0:0|w,g===void 0?f.length-1:0|g)}h.exports={ge:function(f,p,w,g,S){return c(f,p,w,g,S,l)},gt:function(f,p,w,g,S){return c(f,p,w,g,S,a)},lt:function(f,p,w,g,S){return c(f,p,w,g,S,u)},le:function(f,p,w,g,S){return c(f,p,w,g,S,s)},eq:function(f,p,w,g,S){return c(f,p,w,g,S,o)}}},2288:function(h,l){function a(s){var o=32;return(s&=-s)&&o--,65535&s&&(o-=16),16711935&s&&(o-=8),252645135&s&&(o-=4),858993459&s&&(o-=2),1431655765&s&&(o-=1),o}l.INT_BITS=32,l.INT_MAX=2147483647,l.INT_MIN=-2147483648,l.sign=function(s){return(s>0)-(s<0)},l.abs=function(s){var o=s>>31;return(s^o)-o},l.min=function(s,o){return o^(s^o)&-(s65535)<<4,o|=c=((s>>>=o)>255)<<3,o|=c=((s>>>=c)>15)<<2,(o|=c=((s>>>=c)>3)<<1)|(s>>>=c)>>1},l.log10=function(s){return s>=1e9?9:s>=1e8?8:s>=1e7?7:s>=1e6?6:s>=1e5?5:s>=1e4?4:s>=1e3?3:s>=100?2:s>=10?1:0},l.popCount=function(s){return 16843009*((s=(858993459&(s-=s>>>1&1431655765))+(s>>>2&858993459))+(s>>>4)&252645135)>>>24},l.countTrailingZeros=a,l.nextPow2=function(s){return s+=s===0,--s,s|=s>>>1,s|=s>>>2,s|=s>>>4,1+((s|=s>>>8)|s>>>16)},l.prevPow2=function(s){return s|=s>>>1,s|=s>>>2,s|=s>>>4,s|=s>>>8,(s|=s>>>16)-(s>>>1)},l.parity=function(s){return s^=s>>>16,s^=s>>>8,s^=s>>>4,27030>>>(s&=15)&1};var u=new Array(256);(function(s){for(var o=0;o<256;++o){var c=o,f=o,p=7;for(c>>>=1;c;c>>>=1)f<<=1,f|=1&c,--p;s[o]=f<>>8&255]<<16|u[s>>>16&255]<<8|u[s>>>24&255]},l.interleave2=function(s,o){return(s=1431655765&((s=858993459&((s=252645135&((s=16711935&((s&=65535)|s<<8))|s<<4))|s<<2))|s<<1))|(o=1431655765&((o=858993459&((o=252645135&((o=16711935&((o&=65535)|o<<8))|o<<4))|o<<2))|o<<1))<<1},l.deinterleave2=function(s,o){return(s=65535&((s=16711935&((s=252645135&((s=858993459&((s=s>>>o&1431655765)|s>>>1))|s>>>2))|s>>>4))|s>>>16))<<16>>16},l.interleave3=function(s,o,c){return s=1227133513&((s=3272356035&((s=251719695&((s=4278190335&((s&=1023)|s<<16))|s<<8))|s<<4))|s<<2),(s|=(o=1227133513&((o=3272356035&((o=251719695&((o=4278190335&((o&=1023)|o<<16))|o<<8))|o<<4))|o<<2))<<1)|(c=1227133513&((c=3272356035&((c=251719695&((c=4278190335&((c&=1023)|c<<16))|c<<8))|c<<4))|c<<2))<<2},l.deinterleave3=function(s,o){return(s=1023&((s=4278190335&((s=251719695&((s=3272356035&((s=s>>>o&1227133513)|s>>>2))|s>>>4))|s>>>8))|s>>>16))<<22>>22},l.nextCombination=function(s){var o=s|s-1;return o+1|(~o&-~o)-1>>>a(s)+1}},1928:function(h,l,a){(function(u,s){function o(j,Y){if(!j)throw new Error(Y||"Assertion failed")}function c(j,Y){j.super_=Y;var U=function(){};U.prototype=Y.prototype,j.prototype=new U,j.prototype.constructor=j}function f(j,Y,U){if(f.isBN(j))return j;this.negative=0,this.words=null,this.length=0,this.red=null,j!==null&&(Y!=="le"&&Y!=="be"||(U=Y,Y=10),this._init(j||0,Y||10,U||"be"))}var p;typeof u=="object"?u.exports=f:s.BN=f,f.BN=f,f.wordSize=26;try{p=typeof window<"u"&&window.Buffer!==void 0?window.Buffer:a(6601).Buffer}catch{}function w(j,Y){var U=j.charCodeAt(Y);return U>=65&&U<=70?U-55:U>=97&&U<=102?U-87:U-48&15}function g(j,Y,U){var G=w(j,U);return U-1>=Y&&(G|=w(j,U-1)<<4),G}function S(j,Y,U,G){for(var q=0,H=Math.min(j.length,U),ne=Y;ne=49?te-49+10:te>=17?te-17+10:te}return q}f.isBN=function(j){return j instanceof f||j!==null&&typeof j=="object"&&j.constructor.wordSize===f.wordSize&&Array.isArray(j.words)},f.max=function(j,Y){return j.cmp(Y)>0?j:Y},f.min=function(j,Y){return j.cmp(Y)<0?j:Y},f.prototype._init=function(j,Y,U){if(typeof j=="number")return this._initNumber(j,Y,U);if(typeof j=="object")return this._initArray(j,Y,U);Y==="hex"&&(Y=16),o(Y===(0|Y)&&Y>=2&&Y<=36);var G=0;(j=j.toString().replace(/\s+/g,""))[0]==="-"&&(G++,this.negative=1),G=0;G-=3)H=j[G]|j[G-1]<<8|j[G-2]<<16,this.words[q]|=H<>>26-ne&67108863,(ne+=24)>=26&&(ne-=26,q++);else if(U==="le")for(G=0,q=0;G>>26-ne&67108863,(ne+=24)>=26&&(ne-=26,q++);return this.strip()},f.prototype._parseHex=function(j,Y,U){this.length=Math.ceil((j.length-Y)/6),this.words=new Array(this.length);for(var G=0;G=Y;G-=2)q=g(j,Y,G)<=18?(H-=18,ne+=1,this.words[ne]|=q>>>26):H+=8;else for(G=(j.length-Y)%2==0?Y+1:Y;G=18?(H-=18,ne+=1,this.words[ne]|=q>>>26):H+=8;this.strip()},f.prototype._parseBase=function(j,Y,U){this.words=[0],this.length=1;for(var G=0,q=1;q<=67108863;q*=Y)G++;G--,q=q/Y|0;for(var H=j.length-U,ne=H%G,te=Math.min(H,H-ne)+U,Z=0,X=U;X1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},f.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},f.prototype.inspect=function(){return(this.red?""};var x=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],T=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],E=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function _(j,Y,U){U.negative=Y.negative^j.negative;var G=j.length+Y.length|0;U.length=G,G=G-1|0;var q=0|j.words[0],H=0|Y.words[0],ne=q*H,te=67108863&ne,Z=ne/67108864|0;U.words[0]=te;for(var X=1;X>>26,re=67108863&Z,ie=Math.min(X,Y.length-1),oe=Math.max(0,X-j.length+1);oe<=ie;oe++){var ue=X-oe|0;Q+=(ne=(q=0|j.words[ue])*(H=0|Y.words[oe])+re)/67108864|0,re=67108863&ne}U.words[X]=0|re,Z=0|Q}return Z!==0?U.words[X]=0|Z:U.length--,U.strip()}f.prototype.toString=function(j,Y){var U;if(Y=0|Y||1,(j=j||10)===16||j==="hex"){U="";for(var G=0,q=0,H=0;H>>24-G&16777215)!=0||H!==this.length-1?x[6-te.length]+te+U:te+U,(G+=2)>=26&&(G-=26,H--)}for(q!==0&&(U=q.toString(16)+U);U.length%Y!=0;)U="0"+U;return this.negative!==0&&(U="-"+U),U}if(j===(0|j)&&j>=2&&j<=36){var Z=T[j],X=E[j];U="";var Q=this.clone();for(Q.negative=0;!Q.isZero();){var re=Q.modn(X).toString(j);U=(Q=Q.idivn(X)).isZero()?re+U:x[Z-re.length]+re+U}for(this.isZero()&&(U="0"+U);U.length%Y!=0;)U="0"+U;return this.negative!==0&&(U="-"+U),U}o(!1,"Base should be between 2 and 36")},f.prototype.toNumber=function(){var j=this.words[0];return this.length===2?j+=67108864*this.words[1]:this.length===3&&this.words[2]===1?j+=4503599627370496+67108864*this.words[1]:this.length>2&&o(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-j:j},f.prototype.toJSON=function(){return this.toString(16)},f.prototype.toBuffer=function(j,Y){return o(p!==void 0),this.toArrayLike(p,j,Y)},f.prototype.toArray=function(j,Y){return this.toArrayLike(Array,j,Y)},f.prototype.toArrayLike=function(j,Y,U){var G=this.byteLength(),q=U||Math.max(1,G);o(G<=q,"byte array longer than desired length"),o(q>0,"Requested array length <= 0"),this.strip();var H,ne,te=Y==="le",Z=new j(q),X=this.clone();if(te){for(ne=0;!X.isZero();ne++)H=X.andln(255),X.iushrn(8),Z[ne]=H;for(;ne=4096&&(U+=13,Y>>>=13),Y>=64&&(U+=7,Y>>>=7),Y>=8&&(U+=4,Y>>>=4),Y>=2&&(U+=2,Y>>>=2),U+Y},f.prototype._zeroBits=function(j){if(j===0)return 26;var Y=j,U=0;return!(8191&Y)&&(U+=13,Y>>>=13),!(127&Y)&&(U+=7,Y>>>=7),!(15&Y)&&(U+=4,Y>>>=4),!(3&Y)&&(U+=2,Y>>>=2),!(1&Y)&&U++,U},f.prototype.bitLength=function(){var j=this.words[this.length-1],Y=this._countBits(j);return 26*(this.length-1)+Y},f.prototype.zeroBits=function(){if(this.isZero())return 0;for(var j=0,Y=0;Yj.length?this.clone().ior(j):j.clone().ior(this)},f.prototype.uor=function(j){return this.length>j.length?this.clone().iuor(j):j.clone().iuor(this)},f.prototype.iuand=function(j){var Y;Y=this.length>j.length?j:this;for(var U=0;Uj.length?this.clone().iand(j):j.clone().iand(this)},f.prototype.uand=function(j){return this.length>j.length?this.clone().iuand(j):j.clone().iuand(this)},f.prototype.iuxor=function(j){var Y,U;this.length>j.length?(Y=this,U=j):(Y=j,U=this);for(var G=0;Gj.length?this.clone().ixor(j):j.clone().ixor(this)},f.prototype.uxor=function(j){return this.length>j.length?this.clone().iuxor(j):j.clone().iuxor(this)},f.prototype.inotn=function(j){o(typeof j=="number"&&j>=0);var Y=0|Math.ceil(j/26),U=j%26;this._expand(Y),U>0&&Y--;for(var G=0;G0&&(this.words[G]=~this.words[G]&67108863>>26-U),this.strip()},f.prototype.notn=function(j){return this.clone().inotn(j)},f.prototype.setn=function(j,Y){o(typeof j=="number"&&j>=0);var U=j/26|0,G=j%26;return this._expand(U+1),this.words[U]=Y?this.words[U]|1<j.length?(U=this,G=j):(U=j,G=this);for(var q=0,H=0;H>>26;for(;q!==0&&H>>26;if(this.length=U.length,q!==0)this.words[this.length]=q,this.length++;else if(U!==this)for(;Hj.length?this.clone().iadd(j):j.clone().iadd(this)},f.prototype.isub=function(j){if(j.negative!==0){j.negative=0;var Y=this.iadd(j);return j.negative=1,Y._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(j),this.negative=1,this._normSign();var U,G,q=this.cmp(j);if(q===0)return this.negative=0,this.length=1,this.words[0]=0,this;q>0?(U=this,G=j):(U=j,G=this);for(var H=0,ne=0;ne>26,this.words[ne]=67108863&Y;for(;H!==0&&ne>26,this.words[ne]=67108863&Y;if(H===0&&ne>>13,oe=0|ne[1],ue=8191&oe,ce=oe>>>13,ye=0|ne[2],de=8191&ye,me=ye>>>13,pe=0|ne[3],xe=8191&pe,Pe=pe>>>13,_e=0|ne[4],Me=8191&_e,Se=_e>>>13,Ce=0|ne[5],ae=8191&Ce,he=Ce>>>13,be=0|ne[6],ke=8191&be,Le=be>>>13,Be=0|ne[7],ze=8191&Be,je=Be>>>13,ge=0|ne[8],we=8191&ge,Ee=ge>>>13,Ve=0|ne[9],Ye=8191&Ve,$e=Ve>>>13,st=0|te[0],ot=8191&st,ft=st>>>13,bt=0|te[1],Et=8191&bt,kt=bt>>>13,xt=0|te[2],Ft=8191&xt,Ot=xt>>>13,Bt=0|te[3],qt=8191&Bt,Vt=Bt>>>13,Ke=0|te[4],Je=8191&Ke,qe=Ke>>>13,nt=0|te[5],ht=8191&nt,Re=nt>>>13,Ne=0|te[6],Qe=8191&Ne,ut=Ne>>>13,dt=0|te[7],_t=8191&dt,It=dt>>>13,Lt=0|te[8],yt=8191&Lt,Pt=Lt>>>13,wt=0|te[9],Rt=8191&wt,Nt=wt>>>13;U.negative=j.negative^Y.negative,U.length=19;var $t=(X+(G=Math.imul(re,ot))|0)+((8191&(q=(q=Math.imul(re,ft))+Math.imul(ie,ot)|0))<<13)|0;X=((H=Math.imul(ie,ft))+(q>>>13)|0)+($t>>>26)|0,$t&=67108863,G=Math.imul(ue,ot),q=(q=Math.imul(ue,ft))+Math.imul(ce,ot)|0,H=Math.imul(ce,ft);var Wt=(X+(G=G+Math.imul(re,Et)|0)|0)+((8191&(q=(q=q+Math.imul(re,kt)|0)+Math.imul(ie,Et)|0))<<13)|0;X=((H=H+Math.imul(ie,kt)|0)+(q>>>13)|0)+(Wt>>>26)|0,Wt&=67108863,G=Math.imul(de,ot),q=(q=Math.imul(de,ft))+Math.imul(me,ot)|0,H=Math.imul(me,ft),G=G+Math.imul(ue,Et)|0,q=(q=q+Math.imul(ue,kt)|0)+Math.imul(ce,Et)|0,H=H+Math.imul(ce,kt)|0;var Xt=(X+(G=G+Math.imul(re,Ft)|0)|0)+((8191&(q=(q=q+Math.imul(re,Ot)|0)+Math.imul(ie,Ft)|0))<<13)|0;X=((H=H+Math.imul(ie,Ot)|0)+(q>>>13)|0)+(Xt>>>26)|0,Xt&=67108863,G=Math.imul(xe,ot),q=(q=Math.imul(xe,ft))+Math.imul(Pe,ot)|0,H=Math.imul(Pe,ft),G=G+Math.imul(de,Et)|0,q=(q=q+Math.imul(de,kt)|0)+Math.imul(me,Et)|0,H=H+Math.imul(me,kt)|0,G=G+Math.imul(ue,Ft)|0,q=(q=q+Math.imul(ue,Ot)|0)+Math.imul(ce,Ft)|0,H=H+Math.imul(ce,Ot)|0;var Qt=(X+(G=G+Math.imul(re,qt)|0)|0)+((8191&(q=(q=q+Math.imul(re,Vt)|0)+Math.imul(ie,qt)|0))<<13)|0;X=((H=H+Math.imul(ie,Vt)|0)+(q>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,G=Math.imul(Me,ot),q=(q=Math.imul(Me,ft))+Math.imul(Se,ot)|0,H=Math.imul(Se,ft),G=G+Math.imul(xe,Et)|0,q=(q=q+Math.imul(xe,kt)|0)+Math.imul(Pe,Et)|0,H=H+Math.imul(Pe,kt)|0,G=G+Math.imul(de,Ft)|0,q=(q=q+Math.imul(de,Ot)|0)+Math.imul(me,Ft)|0,H=H+Math.imul(me,Ot)|0,G=G+Math.imul(ue,qt)|0,q=(q=q+Math.imul(ue,Vt)|0)+Math.imul(ce,qt)|0,H=H+Math.imul(ce,Vt)|0;var rn=(X+(G=G+Math.imul(re,Je)|0)|0)+((8191&(q=(q=q+Math.imul(re,qe)|0)+Math.imul(ie,Je)|0))<<13)|0;X=((H=H+Math.imul(ie,qe)|0)+(q>>>13)|0)+(rn>>>26)|0,rn&=67108863,G=Math.imul(ae,ot),q=(q=Math.imul(ae,ft))+Math.imul(he,ot)|0,H=Math.imul(he,ft),G=G+Math.imul(Me,Et)|0,q=(q=q+Math.imul(Me,kt)|0)+Math.imul(Se,Et)|0,H=H+Math.imul(Se,kt)|0,G=G+Math.imul(xe,Ft)|0,q=(q=q+Math.imul(xe,Ot)|0)+Math.imul(Pe,Ft)|0,H=H+Math.imul(Pe,Ot)|0,G=G+Math.imul(de,qt)|0,q=(q=q+Math.imul(de,Vt)|0)+Math.imul(me,qt)|0,H=H+Math.imul(me,Vt)|0,G=G+Math.imul(ue,Je)|0,q=(q=q+Math.imul(ue,qe)|0)+Math.imul(ce,Je)|0,H=H+Math.imul(ce,qe)|0;var xn=(X+(G=G+Math.imul(re,ht)|0)|0)+((8191&(q=(q=q+Math.imul(re,Re)|0)+Math.imul(ie,ht)|0))<<13)|0;X=((H=H+Math.imul(ie,Re)|0)+(q>>>13)|0)+(xn>>>26)|0,xn&=67108863,G=Math.imul(ke,ot),q=(q=Math.imul(ke,ft))+Math.imul(Le,ot)|0,H=Math.imul(Le,ft),G=G+Math.imul(ae,Et)|0,q=(q=q+Math.imul(ae,kt)|0)+Math.imul(he,Et)|0,H=H+Math.imul(he,kt)|0,G=G+Math.imul(Me,Ft)|0,q=(q=q+Math.imul(Me,Ot)|0)+Math.imul(Se,Ft)|0,H=H+Math.imul(Se,Ot)|0,G=G+Math.imul(xe,qt)|0,q=(q=q+Math.imul(xe,Vt)|0)+Math.imul(Pe,qt)|0,H=H+Math.imul(Pe,Vt)|0,G=G+Math.imul(de,Je)|0,q=(q=q+Math.imul(de,qe)|0)+Math.imul(me,Je)|0,H=H+Math.imul(me,qe)|0,G=G+Math.imul(ue,ht)|0,q=(q=q+Math.imul(ue,Re)|0)+Math.imul(ce,ht)|0,H=H+Math.imul(ce,Re)|0;var un=(X+(G=G+Math.imul(re,Qe)|0)|0)+((8191&(q=(q=q+Math.imul(re,ut)|0)+Math.imul(ie,Qe)|0))<<13)|0;X=((H=H+Math.imul(ie,ut)|0)+(q>>>13)|0)+(un>>>26)|0,un&=67108863,G=Math.imul(ze,ot),q=(q=Math.imul(ze,ft))+Math.imul(je,ot)|0,H=Math.imul(je,ft),G=G+Math.imul(ke,Et)|0,q=(q=q+Math.imul(ke,kt)|0)+Math.imul(Le,Et)|0,H=H+Math.imul(Le,kt)|0,G=G+Math.imul(ae,Ft)|0,q=(q=q+Math.imul(ae,Ot)|0)+Math.imul(he,Ft)|0,H=H+Math.imul(he,Ot)|0,G=G+Math.imul(Me,qt)|0,q=(q=q+Math.imul(Me,Vt)|0)+Math.imul(Se,qt)|0,H=H+Math.imul(Se,Vt)|0,G=G+Math.imul(xe,Je)|0,q=(q=q+Math.imul(xe,qe)|0)+Math.imul(Pe,Je)|0,H=H+Math.imul(Pe,qe)|0,G=G+Math.imul(de,ht)|0,q=(q=q+Math.imul(de,Re)|0)+Math.imul(me,ht)|0,H=H+Math.imul(me,Re)|0,G=G+Math.imul(ue,Qe)|0,q=(q=q+Math.imul(ue,ut)|0)+Math.imul(ce,Qe)|0,H=H+Math.imul(ce,ut)|0;var An=(X+(G=G+Math.imul(re,_t)|0)|0)+((8191&(q=(q=q+Math.imul(re,It)|0)+Math.imul(ie,_t)|0))<<13)|0;X=((H=H+Math.imul(ie,It)|0)+(q>>>13)|0)+(An>>>26)|0,An&=67108863,G=Math.imul(we,ot),q=(q=Math.imul(we,ft))+Math.imul(Ee,ot)|0,H=Math.imul(Ee,ft),G=G+Math.imul(ze,Et)|0,q=(q=q+Math.imul(ze,kt)|0)+Math.imul(je,Et)|0,H=H+Math.imul(je,kt)|0,G=G+Math.imul(ke,Ft)|0,q=(q=q+Math.imul(ke,Ot)|0)+Math.imul(Le,Ft)|0,H=H+Math.imul(Le,Ot)|0,G=G+Math.imul(ae,qt)|0,q=(q=q+Math.imul(ae,Vt)|0)+Math.imul(he,qt)|0,H=H+Math.imul(he,Vt)|0,G=G+Math.imul(Me,Je)|0,q=(q=q+Math.imul(Me,qe)|0)+Math.imul(Se,Je)|0,H=H+Math.imul(Se,qe)|0,G=G+Math.imul(xe,ht)|0,q=(q=q+Math.imul(xe,Re)|0)+Math.imul(Pe,ht)|0,H=H+Math.imul(Pe,Re)|0,G=G+Math.imul(de,Qe)|0,q=(q=q+Math.imul(de,ut)|0)+Math.imul(me,Qe)|0,H=H+Math.imul(me,ut)|0,G=G+Math.imul(ue,_t)|0,q=(q=q+Math.imul(ue,It)|0)+Math.imul(ce,_t)|0,H=H+Math.imul(ce,It)|0;var $n=(X+(G=G+Math.imul(re,yt)|0)|0)+((8191&(q=(q=q+Math.imul(re,Pt)|0)+Math.imul(ie,yt)|0))<<13)|0;X=((H=H+Math.imul(ie,Pt)|0)+(q>>>13)|0)+($n>>>26)|0,$n&=67108863,G=Math.imul(Ye,ot),q=(q=Math.imul(Ye,ft))+Math.imul($e,ot)|0,H=Math.imul($e,ft),G=G+Math.imul(we,Et)|0,q=(q=q+Math.imul(we,kt)|0)+Math.imul(Ee,Et)|0,H=H+Math.imul(Ee,kt)|0,G=G+Math.imul(ze,Ft)|0,q=(q=q+Math.imul(ze,Ot)|0)+Math.imul(je,Ft)|0,H=H+Math.imul(je,Ot)|0,G=G+Math.imul(ke,qt)|0,q=(q=q+Math.imul(ke,Vt)|0)+Math.imul(Le,qt)|0,H=H+Math.imul(Le,Vt)|0,G=G+Math.imul(ae,Je)|0,q=(q=q+Math.imul(ae,qe)|0)+Math.imul(he,Je)|0,H=H+Math.imul(he,qe)|0,G=G+Math.imul(Me,ht)|0,q=(q=q+Math.imul(Me,Re)|0)+Math.imul(Se,ht)|0,H=H+Math.imul(Se,Re)|0,G=G+Math.imul(xe,Qe)|0,q=(q=q+Math.imul(xe,ut)|0)+Math.imul(Pe,Qe)|0,H=H+Math.imul(Pe,ut)|0,G=G+Math.imul(de,_t)|0,q=(q=q+Math.imul(de,It)|0)+Math.imul(me,_t)|0,H=H+Math.imul(me,It)|0,G=G+Math.imul(ue,yt)|0,q=(q=q+Math.imul(ue,Pt)|0)+Math.imul(ce,yt)|0,H=H+Math.imul(ce,Pt)|0;var kn=(X+(G=G+Math.imul(re,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(re,Nt)|0)+Math.imul(ie,Rt)|0))<<13)|0;X=((H=H+Math.imul(ie,Nt)|0)+(q>>>13)|0)+(kn>>>26)|0,kn&=67108863,G=Math.imul(Ye,Et),q=(q=Math.imul(Ye,kt))+Math.imul($e,Et)|0,H=Math.imul($e,kt),G=G+Math.imul(we,Ft)|0,q=(q=q+Math.imul(we,Ot)|0)+Math.imul(Ee,Ft)|0,H=H+Math.imul(Ee,Ot)|0,G=G+Math.imul(ze,qt)|0,q=(q=q+Math.imul(ze,Vt)|0)+Math.imul(je,qt)|0,H=H+Math.imul(je,Vt)|0,G=G+Math.imul(ke,Je)|0,q=(q=q+Math.imul(ke,qe)|0)+Math.imul(Le,Je)|0,H=H+Math.imul(Le,qe)|0,G=G+Math.imul(ae,ht)|0,q=(q=q+Math.imul(ae,Re)|0)+Math.imul(he,ht)|0,H=H+Math.imul(he,Re)|0,G=G+Math.imul(Me,Qe)|0,q=(q=q+Math.imul(Me,ut)|0)+Math.imul(Se,Qe)|0,H=H+Math.imul(Se,ut)|0,G=G+Math.imul(xe,_t)|0,q=(q=q+Math.imul(xe,It)|0)+Math.imul(Pe,_t)|0,H=H+Math.imul(Pe,It)|0,G=G+Math.imul(de,yt)|0,q=(q=q+Math.imul(de,Pt)|0)+Math.imul(me,yt)|0,H=H+Math.imul(me,Pt)|0;var sn=(X+(G=G+Math.imul(ue,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(ue,Nt)|0)+Math.imul(ce,Rt)|0))<<13)|0;X=((H=H+Math.imul(ce,Nt)|0)+(q>>>13)|0)+(sn>>>26)|0,sn&=67108863,G=Math.imul(Ye,Ft),q=(q=Math.imul(Ye,Ot))+Math.imul($e,Ft)|0,H=Math.imul($e,Ot),G=G+Math.imul(we,qt)|0,q=(q=q+Math.imul(we,Vt)|0)+Math.imul(Ee,qt)|0,H=H+Math.imul(Ee,Vt)|0,G=G+Math.imul(ze,Je)|0,q=(q=q+Math.imul(ze,qe)|0)+Math.imul(je,Je)|0,H=H+Math.imul(je,qe)|0,G=G+Math.imul(ke,ht)|0,q=(q=q+Math.imul(ke,Re)|0)+Math.imul(Le,ht)|0,H=H+Math.imul(Le,Re)|0,G=G+Math.imul(ae,Qe)|0,q=(q=q+Math.imul(ae,ut)|0)+Math.imul(he,Qe)|0,H=H+Math.imul(he,ut)|0,G=G+Math.imul(Me,_t)|0,q=(q=q+Math.imul(Me,It)|0)+Math.imul(Se,_t)|0,H=H+Math.imul(Se,It)|0,G=G+Math.imul(xe,yt)|0,q=(q=q+Math.imul(xe,Pt)|0)+Math.imul(Pe,yt)|0,H=H+Math.imul(Pe,Pt)|0;var Tn=(X+(G=G+Math.imul(de,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(de,Nt)|0)+Math.imul(me,Rt)|0))<<13)|0;X=((H=H+Math.imul(me,Nt)|0)+(q>>>13)|0)+(Tn>>>26)|0,Tn&=67108863,G=Math.imul(Ye,qt),q=(q=Math.imul(Ye,Vt))+Math.imul($e,qt)|0,H=Math.imul($e,Vt),G=G+Math.imul(we,Je)|0,q=(q=q+Math.imul(we,qe)|0)+Math.imul(Ee,Je)|0,H=H+Math.imul(Ee,qe)|0,G=G+Math.imul(ze,ht)|0,q=(q=q+Math.imul(ze,Re)|0)+Math.imul(je,ht)|0,H=H+Math.imul(je,Re)|0,G=G+Math.imul(ke,Qe)|0,q=(q=q+Math.imul(ke,ut)|0)+Math.imul(Le,Qe)|0,H=H+Math.imul(Le,ut)|0,G=G+Math.imul(ae,_t)|0,q=(q=q+Math.imul(ae,It)|0)+Math.imul(he,_t)|0,H=H+Math.imul(he,It)|0,G=G+Math.imul(Me,yt)|0,q=(q=q+Math.imul(Me,Pt)|0)+Math.imul(Se,yt)|0,H=H+Math.imul(Se,Pt)|0;var dn=(X+(G=G+Math.imul(xe,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(xe,Nt)|0)+Math.imul(Pe,Rt)|0))<<13)|0;X=((H=H+Math.imul(Pe,Nt)|0)+(q>>>13)|0)+(dn>>>26)|0,dn&=67108863,G=Math.imul(Ye,Je),q=(q=Math.imul(Ye,qe))+Math.imul($e,Je)|0,H=Math.imul($e,qe),G=G+Math.imul(we,ht)|0,q=(q=q+Math.imul(we,Re)|0)+Math.imul(Ee,ht)|0,H=H+Math.imul(Ee,Re)|0,G=G+Math.imul(ze,Qe)|0,q=(q=q+Math.imul(ze,ut)|0)+Math.imul(je,Qe)|0,H=H+Math.imul(je,ut)|0,G=G+Math.imul(ke,_t)|0,q=(q=q+Math.imul(ke,It)|0)+Math.imul(Le,_t)|0,H=H+Math.imul(Le,It)|0,G=G+Math.imul(ae,yt)|0,q=(q=q+Math.imul(ae,Pt)|0)+Math.imul(he,yt)|0,H=H+Math.imul(he,Pt)|0;var pn=(X+(G=G+Math.imul(Me,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(Me,Nt)|0)+Math.imul(Se,Rt)|0))<<13)|0;X=((H=H+Math.imul(Se,Nt)|0)+(q>>>13)|0)+(pn>>>26)|0,pn&=67108863,G=Math.imul(Ye,ht),q=(q=Math.imul(Ye,Re))+Math.imul($e,ht)|0,H=Math.imul($e,Re),G=G+Math.imul(we,Qe)|0,q=(q=q+Math.imul(we,ut)|0)+Math.imul(Ee,Qe)|0,H=H+Math.imul(Ee,ut)|0,G=G+Math.imul(ze,_t)|0,q=(q=q+Math.imul(ze,It)|0)+Math.imul(je,_t)|0,H=H+Math.imul(je,It)|0,G=G+Math.imul(ke,yt)|0,q=(q=q+Math.imul(ke,Pt)|0)+Math.imul(Le,yt)|0,H=H+Math.imul(Le,Pt)|0;var Dn=(X+(G=G+Math.imul(ae,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(ae,Nt)|0)+Math.imul(he,Rt)|0))<<13)|0;X=((H=H+Math.imul(he,Nt)|0)+(q>>>13)|0)+(Dn>>>26)|0,Dn&=67108863,G=Math.imul(Ye,Qe),q=(q=Math.imul(Ye,ut))+Math.imul($e,Qe)|0,H=Math.imul($e,ut),G=G+Math.imul(we,_t)|0,q=(q=q+Math.imul(we,It)|0)+Math.imul(Ee,_t)|0,H=H+Math.imul(Ee,It)|0,G=G+Math.imul(ze,yt)|0,q=(q=q+Math.imul(ze,Pt)|0)+Math.imul(je,yt)|0,H=H+Math.imul(je,Pt)|0;var In=(X+(G=G+Math.imul(ke,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(ke,Nt)|0)+Math.imul(Le,Rt)|0))<<13)|0;X=((H=H+Math.imul(Le,Nt)|0)+(q>>>13)|0)+(In>>>26)|0,In&=67108863,G=Math.imul(Ye,_t),q=(q=Math.imul(Ye,It))+Math.imul($e,_t)|0,H=Math.imul($e,It),G=G+Math.imul(we,yt)|0,q=(q=q+Math.imul(we,Pt)|0)+Math.imul(Ee,yt)|0,H=H+Math.imul(Ee,Pt)|0;var jn=(X+(G=G+Math.imul(ze,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(ze,Nt)|0)+Math.imul(je,Rt)|0))<<13)|0;X=((H=H+Math.imul(je,Nt)|0)+(q>>>13)|0)+(jn>>>26)|0,jn&=67108863,G=Math.imul(Ye,yt),q=(q=Math.imul(Ye,Pt))+Math.imul($e,yt)|0,H=Math.imul($e,Pt);var Gn=(X+(G=G+Math.imul(we,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(we,Nt)|0)+Math.imul(Ee,Rt)|0))<<13)|0;X=((H=H+Math.imul(Ee,Nt)|0)+(q>>>13)|0)+(Gn>>>26)|0,Gn&=67108863;var qn=(X+(G=Math.imul(Ye,Rt))|0)+((8191&(q=(q=Math.imul(Ye,Nt))+Math.imul($e,Rt)|0))<<13)|0;return X=((H=Math.imul($e,Nt))+(q>>>13)|0)+(qn>>>26)|0,qn&=67108863,Z[0]=$t,Z[1]=Wt,Z[2]=Xt,Z[3]=Qt,Z[4]=rn,Z[5]=xn,Z[6]=un,Z[7]=An,Z[8]=$n,Z[9]=kn,Z[10]=sn,Z[11]=Tn,Z[12]=dn,Z[13]=pn,Z[14]=Dn,Z[15]=In,Z[16]=jn,Z[17]=Gn,Z[18]=qn,X!==0&&(Z[19]=X,U.length++),U};function L(j,Y,U){return new b().mulp(j,Y,U)}function b(j,Y){this.x=j,this.y=Y}Math.imul||(A=_),f.prototype.mulTo=function(j,Y){var U,G=this.length+j.length;return U=this.length===10&&j.length===10?A(this,j,Y):G<63?_(this,j,Y):G<1024?function(q,H,ne){ne.negative=H.negative^q.negative,ne.length=q.length+H.length;for(var te=0,Z=0,X=0;X>>26)|0)>>>26,Q&=67108863}ne.words[X]=re,te=Q,Q=Z}return te!==0?ne.words[X]=te:ne.length--,ne.strip()}(this,j,Y):L(this,j,Y),U},b.prototype.makeRBT=function(j){for(var Y=new Array(j),U=f.prototype._countBits(j)-1,G=0;G>=1;return G},b.prototype.permute=function(j,Y,U,G,q,H){for(var ne=0;ne>>=1)q++;return 1<>>=13,U[2*H+1]=8191&q,q>>>=13;for(H=2*Y;H>=26,Y+=G/67108864|0,Y+=q>>>26,this.words[U]=67108863&q}return Y!==0&&(this.words[U]=Y,this.length++),this},f.prototype.muln=function(j){return this.clone().imuln(j)},f.prototype.sqr=function(){return this.mul(this)},f.prototype.isqr=function(){return this.imul(this.clone())},f.prototype.pow=function(j){var Y=function(H){for(var ne=new Array(H.bitLength()),te=0;te>>X}return ne}(j);if(Y.length===0)return new f(1);for(var U=this,G=0;G=0);var Y,U=j%26,G=(j-U)/26,q=67108863>>>26-U<<26-U;if(U!==0){var H=0;for(Y=0;Y>>26-U}H&&(this.words[Y]=H,this.length++)}if(G!==0){for(Y=this.length-1;Y>=0;Y--)this.words[Y+G]=this.words[Y];for(Y=0;Y=0),G=Y?(Y-Y%26)/26:0;var q=j%26,H=Math.min((j-q)/26,this.length),ne=67108863^67108863>>>q<H)for(this.length-=H,Z=0;Z=0&&(X!==0||Z>=G);Z--){var Q=0|this.words[Z];this.words[Z]=X<<26-q|Q>>>q,X=Q&ne}return te&&X!==0&&(te.words[te.length++]=X),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},f.prototype.ishrn=function(j,Y,U){return o(this.negative===0),this.iushrn(j,Y,U)},f.prototype.shln=function(j){return this.clone().ishln(j)},f.prototype.ushln=function(j){return this.clone().iushln(j)},f.prototype.shrn=function(j){return this.clone().ishrn(j)},f.prototype.ushrn=function(j){return this.clone().iushrn(j)},f.prototype.testn=function(j){o(typeof j=="number"&&j>=0);var Y=j%26,U=(j-Y)/26,G=1<=0);var Y=j%26,U=(j-Y)/26;if(o(this.negative===0,"imaskn works only with positive numbers"),this.length<=U)return this;if(Y!==0&&U++,this.length=Math.min(U,this.length),Y!==0){var G=67108863^67108863>>>Y<=67108864;Y++)this.words[Y]-=67108864,Y===this.length-1?this.words[Y+1]=1:this.words[Y+1]++;return this.length=Math.max(this.length,Y+1),this},f.prototype.isubn=function(j){if(o(typeof j=="number"),o(j<67108864),j<0)return this.iaddn(-j);if(this.negative!==0)return this.negative=0,this.iaddn(j),this.negative=1,this;if(this.words[0]-=j,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var Y=0;Y>26)-(te/67108864|0),this.words[G+U]=67108863&q}for(;G>26,this.words[G+U]=67108863&q;if(ne===0)return this.strip();for(o(ne===-1),ne=0,G=0;G>26,this.words[G]=67108863&q;return this.negative=1,this.strip()},f.prototype._wordDiv=function(j,Y){var U=(this.length,j.length),G=this.clone(),q=j,H=0|q.words[q.length-1];(U=26-this._countBits(H))!=0&&(q=q.ushln(U),G.iushln(U),H=0|q.words[q.length-1]);var ne,te=G.length-q.length;if(Y!=="mod"){(ne=new f(null)).length=te+1,ne.words=new Array(ne.length);for(var Z=0;Z=0;Q--){var re=67108864*(0|G.words[q.length+Q])+(0|G.words[q.length+Q-1]);for(re=Math.min(re/H|0,67108863),G._ishlnsubmul(q,re,Q);G.negative!==0;)re--,G.negative=0,G._ishlnsubmul(q,1,Q),G.isZero()||(G.negative^=1);ne&&(ne.words[Q]=re)}return ne&&ne.strip(),G.strip(),Y!=="div"&&U!==0&&G.iushrn(U),{div:ne||null,mod:G}},f.prototype.divmod=function(j,Y,U){return o(!j.isZero()),this.isZero()?{div:new f(0),mod:new f(0)}:this.negative!==0&&j.negative===0?(H=this.neg().divmod(j,Y),Y!=="mod"&&(G=H.div.neg()),Y!=="div"&&(q=H.mod.neg(),U&&q.negative!==0&&q.iadd(j)),{div:G,mod:q}):this.negative===0&&j.negative!==0?(H=this.divmod(j.neg(),Y),Y!=="mod"&&(G=H.div.neg()),{div:G,mod:H.mod}):this.negative&j.negative?(H=this.neg().divmod(j.neg(),Y),Y!=="div"&&(q=H.mod.neg(),U&&q.negative!==0&&q.isub(j)),{div:H.div,mod:q}):j.length>this.length||this.cmp(j)<0?{div:new f(0),mod:this}:j.length===1?Y==="div"?{div:this.divn(j.words[0]),mod:null}:Y==="mod"?{div:null,mod:new f(this.modn(j.words[0]))}:{div:this.divn(j.words[0]),mod:new f(this.modn(j.words[0]))}:this._wordDiv(j,Y);var G,q,H},f.prototype.div=function(j){return this.divmod(j,"div",!1).div},f.prototype.mod=function(j){return this.divmod(j,"mod",!1).mod},f.prototype.umod=function(j){return this.divmod(j,"mod",!0).mod},f.prototype.divRound=function(j){var Y=this.divmod(j);if(Y.mod.isZero())return Y.div;var U=Y.div.negative!==0?Y.mod.isub(j):Y.mod,G=j.ushrn(1),q=j.andln(1),H=U.cmp(G);return H<0||q===1&&H===0?Y.div:Y.div.negative!==0?Y.div.isubn(1):Y.div.iaddn(1)},f.prototype.modn=function(j){o(j<=67108863);for(var Y=67108864%j,U=0,G=this.length-1;G>=0;G--)U=(Y*U+(0|this.words[G]))%j;return U},f.prototype.idivn=function(j){o(j<=67108863);for(var Y=0,U=this.length-1;U>=0;U--){var G=(0|this.words[U])+67108864*Y;this.words[U]=G/j|0,Y=G%j}return this.strip()},f.prototype.divn=function(j){return this.clone().idivn(j)},f.prototype.egcd=function(j){o(j.negative===0),o(!j.isZero());var Y=this,U=j.clone();Y=Y.negative!==0?Y.umod(j):Y.clone();for(var G=new f(1),q=new f(0),H=new f(0),ne=new f(1),te=0;Y.isEven()&&U.isEven();)Y.iushrn(1),U.iushrn(1),++te;for(var Z=U.clone(),X=Y.clone();!Y.isZero();){for(var Q=0,re=1;!(Y.words[0]&re)&&Q<26;++Q,re<<=1);if(Q>0)for(Y.iushrn(Q);Q-- >0;)(G.isOdd()||q.isOdd())&&(G.iadd(Z),q.isub(X)),G.iushrn(1),q.iushrn(1);for(var ie=0,oe=1;!(U.words[0]&oe)&&ie<26;++ie,oe<<=1);if(ie>0)for(U.iushrn(ie);ie-- >0;)(H.isOdd()||ne.isOdd())&&(H.iadd(Z),ne.isub(X)),H.iushrn(1),ne.iushrn(1);Y.cmp(U)>=0?(Y.isub(U),G.isub(H),q.isub(ne)):(U.isub(Y),H.isub(G),ne.isub(q))}return{a:H,b:ne,gcd:U.iushln(te)}},f.prototype._invmp=function(j){o(j.negative===0),o(!j.isZero());var Y=this,U=j.clone();Y=Y.negative!==0?Y.umod(j):Y.clone();for(var G,q=new f(1),H=new f(0),ne=U.clone();Y.cmpn(1)>0&&U.cmpn(1)>0;){for(var te=0,Z=1;!(Y.words[0]&Z)&&te<26;++te,Z<<=1);if(te>0)for(Y.iushrn(te);te-- >0;)q.isOdd()&&q.iadd(ne),q.iushrn(1);for(var X=0,Q=1;!(U.words[0]&Q)&&X<26;++X,Q<<=1);if(X>0)for(U.iushrn(X);X-- >0;)H.isOdd()&&H.iadd(ne),H.iushrn(1);Y.cmp(U)>=0?(Y.isub(U),q.isub(H)):(U.isub(Y),H.isub(q))}return(G=Y.cmpn(1)===0?q:H).cmpn(0)<0&&G.iadd(j),G},f.prototype.gcd=function(j){if(this.isZero())return j.abs();if(j.isZero())return this.abs();var Y=this.clone(),U=j.clone();Y.negative=0,U.negative=0;for(var G=0;Y.isEven()&&U.isEven();G++)Y.iushrn(1),U.iushrn(1);for(;;){for(;Y.isEven();)Y.iushrn(1);for(;U.isEven();)U.iushrn(1);var q=Y.cmp(U);if(q<0){var H=Y;Y=U,U=H}else if(q===0||U.cmpn(1)===0)break;Y.isub(U)}return U.iushln(G)},f.prototype.invm=function(j){return this.egcd(j).a.umod(j)},f.prototype.isEven=function(){return(1&this.words[0])==0},f.prototype.isOdd=function(){return(1&this.words[0])==1},f.prototype.andln=function(j){return this.words[0]&j},f.prototype.bincn=function(j){o(typeof j=="number");var Y=j%26,U=(j-Y)/26,G=1<>>26,ne&=67108863,this.words[H]=ne}return q!==0&&(this.words[H]=q,this.length++),this},f.prototype.isZero=function(){return this.length===1&&this.words[0]===0},f.prototype.cmpn=function(j){var Y,U=j<0;if(this.negative!==0&&!U)return-1;if(this.negative===0&&U)return 1;if(this.strip(),this.length>1)Y=1;else{U&&(j=-j),o(j<=67108863,"Number is too big");var G=0|this.words[0];Y=G===j?0:Gj.length)return 1;if(this.length=0;U--){var G=0|this.words[U],q=0|j.words[U];if(G!==q){Gq&&(Y=1);break}}return Y},f.prototype.gtn=function(j){return this.cmpn(j)===1},f.prototype.gt=function(j){return this.cmp(j)===1},f.prototype.gten=function(j){return this.cmpn(j)>=0},f.prototype.gte=function(j){return this.cmp(j)>=0},f.prototype.ltn=function(j){return this.cmpn(j)===-1},f.prototype.lt=function(j){return this.cmp(j)===-1},f.prototype.lten=function(j){return this.cmpn(j)<=0},f.prototype.lte=function(j){return this.cmp(j)<=0},f.prototype.eqn=function(j){return this.cmpn(j)===0},f.prototype.eq=function(j){return this.cmp(j)===0},f.red=function(j){return new N(j)},f.prototype.toRed=function(j){return o(!this.red,"Already a number in reduction context"),o(this.negative===0,"red works only with positives"),j.convertTo(this)._forceRed(j)},f.prototype.fromRed=function(){return o(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},f.prototype._forceRed=function(j){return this.red=j,this},f.prototype.forceRed=function(j){return o(!this.red,"Already a number in reduction context"),this._forceRed(j)},f.prototype.redAdd=function(j){return o(this.red,"redAdd works only with red numbers"),this.red.add(this,j)},f.prototype.redIAdd=function(j){return o(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,j)},f.prototype.redSub=function(j){return o(this.red,"redSub works only with red numbers"),this.red.sub(this,j)},f.prototype.redISub=function(j){return o(this.red,"redISub works only with red numbers"),this.red.isub(this,j)},f.prototype.redShl=function(j){return o(this.red,"redShl works only with red numbers"),this.red.shl(this,j)},f.prototype.redMul=function(j){return o(this.red,"redMul works only with red numbers"),this.red._verify2(this,j),this.red.mul(this,j)},f.prototype.redIMul=function(j){return o(this.red,"redMul works only with red numbers"),this.red._verify2(this,j),this.red.imul(this,j)},f.prototype.redSqr=function(){return o(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},f.prototype.redISqr=function(){return o(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},f.prototype.redSqrt=function(){return o(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},f.prototype.redInvm=function(){return o(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},f.prototype.redNeg=function(){return o(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},f.prototype.redPow=function(j){return o(this.red&&!j.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,j)};var R={k256:null,p224:null,p192:null,p25519:null};function I(j,Y){this.name=j,this.p=new f(Y,16),this.n=this.p.bitLength(),this.k=new f(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function O(){I.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function z(){I.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function F(){I.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function B(){I.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function N(j){if(typeof j=="string"){var Y=f._prime(j);this.m=Y.p,this.prime=Y}else o(j.gtn(1),"modulus must be greater than 1"),this.m=j,this.prime=null}function W(j){N.call(this,j),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new f(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}I.prototype._tmp=function(){var j=new f(null);return j.words=new Array(Math.ceil(this.n/13)),j},I.prototype.ireduce=function(j){var Y,U=j;do this.split(U,this.tmp),Y=(U=(U=this.imulK(U)).iadd(this.tmp)).bitLength();while(Y>this.n);var G=Y0?U.isub(this.p):U.strip!==void 0?U.strip():U._strip(),U},I.prototype.split=function(j,Y){j.iushrn(this.n,0,Y)},I.prototype.imulK=function(j){return j.imul(this.k)},c(O,I),O.prototype.split=function(j,Y){for(var U=4194303,G=Math.min(j.length,9),q=0;q>>22,H=ne}H>>>=22,j.words[q-10]=H,H===0&&j.length>10?j.length-=10:j.length-=9},O.prototype.imulK=function(j){j.words[j.length]=0,j.words[j.length+1]=0,j.length+=2;for(var Y=0,U=0;U>>=26,j.words[U]=q,Y=G}return Y!==0&&(j.words[j.length++]=Y),j},f._prime=function(j){if(R[j])return R[j];var Y;if(j==="k256")Y=new O;else if(j==="p224")Y=new z;else if(j==="p192")Y=new F;else{if(j!=="p25519")throw new Error("Unknown prime "+j);Y=new B}return R[j]=Y,Y},N.prototype._verify1=function(j){o(j.negative===0,"red works only with positives"),o(j.red,"red works only with red numbers")},N.prototype._verify2=function(j,Y){o((j.negative|Y.negative)==0,"red works only with positives"),o(j.red&&j.red===Y.red,"red works only with red numbers")},N.prototype.imod=function(j){return this.prime?this.prime.ireduce(j)._forceRed(this):j.umod(this.m)._forceRed(this)},N.prototype.neg=function(j){return j.isZero()?j.clone():this.m.sub(j)._forceRed(this)},N.prototype.add=function(j,Y){this._verify2(j,Y);var U=j.add(Y);return U.cmp(this.m)>=0&&U.isub(this.m),U._forceRed(this)},N.prototype.iadd=function(j,Y){this._verify2(j,Y);var U=j.iadd(Y);return U.cmp(this.m)>=0&&U.isub(this.m),U},N.prototype.sub=function(j,Y){this._verify2(j,Y);var U=j.sub(Y);return U.cmpn(0)<0&&U.iadd(this.m),U._forceRed(this)},N.prototype.isub=function(j,Y){this._verify2(j,Y);var U=j.isub(Y);return U.cmpn(0)<0&&U.iadd(this.m),U},N.prototype.shl=function(j,Y){return this._verify1(j),this.imod(j.ushln(Y))},N.prototype.imul=function(j,Y){return this._verify2(j,Y),this.imod(j.imul(Y))},N.prototype.mul=function(j,Y){return this._verify2(j,Y),this.imod(j.mul(Y))},N.prototype.isqr=function(j){return this.imul(j,j.clone())},N.prototype.sqr=function(j){return this.mul(j,j)},N.prototype.sqrt=function(j){if(j.isZero())return j.clone();var Y=this.m.andln(3);if(o(Y%2==1),Y===3){var U=this.m.add(new f(1)).iushrn(2);return this.pow(j,U)}for(var G=this.m.subn(1),q=0;!G.isZero()&&G.andln(1)===0;)q++,G.iushrn(1);o(!G.isZero());var H=new f(1).toRed(this),ne=H.redNeg(),te=this.m.subn(1).iushrn(1),Z=this.m.bitLength();for(Z=new f(2*Z*Z).toRed(this);this.pow(Z,te).cmp(ne)!==0;)Z.redIAdd(ne);for(var X=this.pow(Z,G),Q=this.pow(j,G.addn(1).iushrn(1)),re=this.pow(j,G),ie=q;re.cmp(H)!==0;){for(var oe=re,ue=0;oe.cmp(H)!==0;ue++)oe=oe.redSqr();o(ue=0;G--){for(var Z=Y.words[G],X=te-1;X>=0;X--){var Q=Z>>X&1;q!==U[0]&&(q=this.sqr(q)),Q!==0||H!==0?(H<<=1,H|=Q,(++ne==4||G===0&&X===0)&&(q=this.mul(q,U[H]),ne=0,H=0)):ne=0}te=26}return q},N.prototype.convertTo=function(j){var Y=j.umod(this.m);return Y===j?Y.clone():Y},N.prototype.convertFrom=function(j){var Y=j.clone();return Y.red=null,Y},f.mont=function(j){return new W(j)},c(W,N),W.prototype.convertTo=function(j){return this.imod(j.ushln(this.shift))},W.prototype.convertFrom=function(j){var Y=this.imod(j.mul(this.rinv));return Y.red=null,Y},W.prototype.imul=function(j,Y){if(j.isZero()||Y.isZero())return j.words[0]=0,j.length=1,j;var U=j.imul(Y),G=U.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),q=U.isub(G).iushrn(this.shift),H=q;return q.cmp(this.m)>=0?H=q.isub(this.m):q.cmpn(0)<0&&(H=q.iadd(this.m)),H._forceRed(this)},W.prototype.mul=function(j,Y){if(j.isZero()||Y.isZero())return new f(0)._forceRed(this);var U=j.mul(Y),G=U.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),q=U.isub(G).iushrn(this.shift),H=q;return q.cmp(this.m)>=0?H=q.isub(this.m):q.cmpn(0)<0&&(H=q.iadd(this.m)),H._forceRed(this)},W.prototype.invm=function(j){return this.imod(j._invmp(this.m).mul(this.r2))._forceRed(this)}})(h=a.nmd(h),this)},2692:function(h){h.exports=function(l){var a,u,s,o=l.length,c=0;for(a=0;a>>1;if(!(R<=0)){var I,O=s.mallocDouble(2*R*L),z=s.mallocInt32(L);if((L=p(T,R,O,z))>0){if(R===1&&A)o.init(L),I=o.sweepComplete(R,_,0,L,O,z,0,L,O,z);else{var F=s.mallocDouble(2*R*b),B=s.mallocInt32(b);(b=p(E,R,F,B))>0&&(o.init(L+b),I=R===1?o.sweepBipartite(R,_,0,L,O,z,0,b,F,B):c(R,_,A,L,O,z,b,F,B),s.free(F),s.free(B))}s.free(O),s.free(z)}return I}}}function g(T,E){u.push([T,E])}function S(T){return u=[],w(T,T,g,!0),u}function x(T,E){return u=[],w(T,E,g,!1),u}},7333:function(h,l){function a(u){return u?function(s,o,c,f,p,w,g,S,x,T,E){return p-f>x-S?function(_,A,L,b,R,I,O,z,F,B,N){for(var W=2*_,j=b,Y=W*b;jT-x?f?function(A,L,b,R,I,O,z,F,B,N,W){for(var j=2*A,Y=R,U=j*R;Y0;){var te=6*(H-=1),Z=L[te],X=L[te+1],Q=L[te+2],re=L[te+3],ie=L[te+4],oe=L[te+5],ue=2*H,ce=b[ue],ye=b[ue+1],de=1&oe,me=!!(16&oe),pe=W,xe=j,Pe=U,_e=G;if(de&&(pe=U,xe=G,Pe=W,_e=j),!(2&oe&&(Q=T(z,Z,X,Q,pe,xe,ye),X>=Q)||4&oe&&(X=E(z,Z,X,Q,pe,xe,ce))>=Q)){var Me=Q-X,Se=ie-re;if(me){if(z*Me*(Me+Se)<4194304){if((q=p.scanComplete(z,Z,F,X,Q,pe,xe,re,ie,Pe,_e))!==void 0)return q;continue}}else{if(z*Math.min(Me,Se)<128){if((q=c(z,Z,F,de,X,Q,pe,xe,re,ie,Pe,_e))!==void 0)return q;continue}if(z*Me*Se<4194304){if((q=p.scanBipartite(z,Z,F,de,X,Q,pe,xe,re,ie,Pe,_e))!==void 0)return q;continue}}var Ce=S(z,Z,X,Q,pe,xe,ce,ye);if(X=p0)&&!(p1>=hi)"),x=g("lo===p0"),T=g("lo>>1,E=2*o,_=T,A=w[E*T+c];S=O?(_=I,A=O):R>=F?(_=b,A=R):(_=z,A=F):O>=F?(_=I,A=O):F>=R?(_=b,A=R):(_=z,A=F);for(var B=E*(x-1),N=E*_,W=0;Wf&&w[A+c]>E;--_,A-=S){for(var L=A,b=A+S,R=0;RE;++E,g+=w)if(c[g+T]===p)if(x===E)x+=1,S+=w;else{for(var _=0;w>_;++_){var A=c[g+_];c[g+_]=c[S],c[S++]=A}var L=f[E];f[E]=f[x],f[x++]=L}return x},"loE;++E,g+=w)if(c[g+T]_;++_){var A=c[g+_];c[g+_]=c[S],c[S++]=A}var L=f[E];f[E]=f[x],f[x++]=L}return x},"lo<=p0":function(a,u,s,o,c,f,p){for(var w=2*a,g=w*s,S=g,x=s,T=a+u,E=s;o>E;++E,g+=w)if(c[g+T]<=p)if(x===E)x+=1,S+=w;else{for(var _=0;w>_;++_){var A=c[g+_];c[g+_]=c[S],c[S++]=A}var L=f[E];f[E]=f[x],f[x++]=L}return x},"hi<=p0":function(a,u,s,o,c,f,p){for(var w=2*a,g=w*s,S=g,x=s,T=a+u,E=s;o>E;++E,g+=w)if(c[g+T]<=p)if(x===E)x+=1,S+=w;else{for(var _=0;w>_;++_){var A=c[g+_];c[g+_]=c[S],c[S++]=A}var L=f[E];f[E]=f[x],f[x++]=L}return x},"lo_;++_,g+=w){var A=c[g+T],L=c[g+E];if(Ab;++b){var R=c[g+b];c[g+b]=c[S],c[S++]=R}var I=f[_];f[_]=f[x],f[x++]=I}}return x},"lo<=p0&&p0<=hi":function(a,u,s,o,c,f,p){for(var w=2*a,g=w*s,S=g,x=s,T=u,E=a+u,_=s;o>_;++_,g+=w){var A=c[g+T],L=c[g+E];if(A<=p&&p<=L)if(x===_)x+=1,S+=w;else{for(var b=0;w>b;++b){var R=c[g+b];c[g+b]=c[S],c[S++]=R}var I=f[_];f[_]=f[x],f[x++]=I}}return x},"!(lo>=p0)&&!(p1>=hi)":function(a,u,s,o,c,f,p,w){for(var g=2*a,S=g*s,x=S,T=s,E=u,_=a+u,A=s;o>A;++A,S+=g){var L=c[S+E],b=c[S+_];if(!(L>=p||w>=b))if(T===A)T+=1,x+=g;else{for(var R=0;g>R;++R){var I=c[S+R];c[S+R]=c[x],c[x++]=I}var O=f[A];f[A]=f[T],f[T++]=O}}return T}}},309:function(h){function l(w,g,S){for(var x=2*(w+1),T=w+1;T<=g;++T){for(var E=S[x++],_=S[x++],A=T,L=x-2;A-- >w;){var b=S[L-2],R=S[L-1];if(bS[g+1])}function f(w,g,S,x){var T=x[w*=2];return T>1,A=_-x,L=_+x,b=T,R=A,I=_,O=L,z=E,F=w+1,B=g-1,N=0;c(b,R,S)&&(N=b,b=R,R=N),c(O,z,S)&&(N=O,O=z,z=N),c(b,I,S)&&(N=b,b=I,I=N),c(R,I,S)&&(N=R,R=I,I=N),c(b,O,S)&&(N=b,b=O,O=N),c(I,O,S)&&(N=I,I=O,O=N),c(R,z,S)&&(N=R,R=z,z=N),c(R,I,S)&&(N=R,R=I,I=N),c(O,z,S)&&(N=O,O=z,z=N);for(var W=S[2*R],j=S[2*R+1],Y=S[2*O],U=S[2*O+1],G=2*b,q=2*I,H=2*z,ne=2*T,te=2*_,Z=2*E,X=0;X<2;++X){var Q=S[G+X],re=S[q+X],ie=S[H+X];S[ne+X]=Q,S[te+X]=re,S[Z+X]=ie}u(A,w,S),u(L,g,S);for(var oe=F;oe<=B;++oe)if(f(oe,W,j,S))oe!==F&&a(oe,F,S),++F;else if(!f(oe,Y,U,S))for(;;){if(f(B,Y,U,S)){f(B,W,j,S)?(s(oe,F,B,S),++F,--B):(a(oe,B,S),--B);break}if(--B>>1;o(E,Z);var X=0,Q=0;for(q=0;q=c)_(g,S,Q--,re=re-c|0);else if(re>=0)_(p,w,X--,re);else if(re<=-268435456){re=-re-c|0;for(var ie=0;ie>>1;o(E,Z);var X=0,Q=0,re=0;for(q=0;q>1==E[2*q+3]>>1&&(oe=2,q+=1),ie<0){for(var ue=-(ie>>1)-1,ce=0;ce>1)-1,oe===0?_(p,w,X--,ue):oe===1?_(g,S,Q--,ue):oe===2&&_(x,T,re--,ue)}},scanBipartite:function(L,b,R,I,O,z,F,B,N,W,j,Y){var U=0,G=2*L,q=b,H=b+L,ne=1,te=1;I?te=c:ne=c;for(var Z=O;Z>>1;o(E,ie);var oe=0;for(Z=0;Z=c?(ce=!I,X-=c):(ce=!!I,X-=1),ce)A(p,w,oe++,X);else{var ye=Y[X],de=G*X,me=j[de+b+1],pe=j[de+b+1+L];e:for(var xe=0;xe>>1;o(E,X);var Q=0;for(H=0;H=c)p[Q++]=ne-c;else{var ie=j[ne-=1],oe=U*ne,ue=W[oe+b+1],ce=W[oe+b+1+L];e:for(var ye=0;ye=0;--ye)if(p[ye]===ne){for(xe=ye+1;xe0;){for(var A=f.pop(),L=(T=-1,E=-1,S=w[g=f.pop()],1);L=0||(c.flip(g,A),s(o,c,f,T,g,E),s(o,c,f,g,E,T),s(o,c,f,E,A,T),s(o,c,f,A,T,E))}}},7098:function(h,l,a){var u,s=a(5070);function o(f,p,w,g,S,x,T){this.cells=f,this.neighbor=p,this.flags=g,this.constraint=w,this.active=S,this.next=x,this.boundary=T}function c(f,p){return f[0]-p[0]||f[1]-p[1]||f[2]-p[2]}h.exports=function(f,p,w){var g=function(F,B){for(var N=F.cells(),W=N.length,j=0;j0||T.length>0;){for(;x.length>0;){var b=x.pop();if(E[b]!==-S){E[b]=S,_[b];for(var R=0;R<3;++R){var I=L[3*b+R];I>=0&&E[I]===0&&(A[3*b+R]?T.push(I):(x.push(I),E[I]=S))}}}var O=T;T=x,x=O,T.length=0,S=-S}var z=function(F,B,N){for(var W=0,j=0;j1&&s(_[z[F-2]],_[z[F-1]],A)>0;)T.push([z[F-1],z[F-2],L]),F-=1;z.length=F,z.push(L);var B=O.upperIds;for(F=B.length;F>1&&s(_[B[F-2]],_[B[F-1]],A)<0;)T.push([B[F-2],B[F-1],L]),F-=1;B.length=F,B.push(L)}}function g(T,E){var _;return(_=T.a[0]O[0]&&L.push(new c(O,I,2,b),new c(I,O,1,b))}L.sort(f);for(var z=L[0].a[0]-(1+Math.abs(L[0].a[0]))*Math.pow(2,-52),F=[new o([z,1],[z,0],-1,[],[])],B=[],N=(b=0,L.length);b=0}}(),o.removeTriangle=function(f,p,w){var g=this.stars;c(g[f],p,w),c(g[p],w,f),c(g[w],f,p)},o.addTriangle=function(f,p,w){var g=this.stars;g[f].push(p,w),g[p].push(w,f),g[w].push(f,p)},o.opposite=function(f,p){for(var w=this.stars[p],g=1,S=w.length;gI[2]?1:0)}function L(R,I,O){if(R.length!==0){if(I)for(var z=0;z=0;--H){var ue=Y[ne=(_e=G[H])[0]],ce=ue[0],ye=ue[1],de=j[ce],me=j[ye];if((de[0]-me[0]||de[1]-me[1])<0){var pe=ce;ce=ye,ye=pe}ue[0]=ce;var xe,Pe=ue[1]=_e[1];for(q&&(xe=ue[2]);H>0&&G[H-1][0]===ne;){var _e,Me=(_e=G[--H])[1];q?Y.push([Pe,Me,xe]):Y.push([Pe,Me]),Pe=Me}q?Y.push([Pe,ye,xe]):Y.push([Pe,ye])}return te}(R,I,F,B,O),W=E(R,N);return L(I,W,O),!!W||F.length>0||B.length>0}},5528:function(h,l,a){h.exports=function(S,x,T,E){var _=f(x,S),A=f(E,T),L=g(_,A);if(c(L)===0)return null;var b=g(A,f(S,T)),R=s(b,L),I=w(_,R);return p(S,I)};var u=a(3962),s=a(9189),o=a(4354),c=a(4951),f=a(6695),p=a(7584),w=a(4469);function g(S,x){return o(u(S[0],x[1]),u(S[1],x[0]))}},5692:function(h){h.exports={jet:[{index:0,rgb:[0,0,131]},{index:.125,rgb:[0,60,170]},{index:.375,rgb:[5,255,255]},{index:.625,rgb:[255,255,0]},{index:.875,rgb:[250,0,0]},{index:1,rgb:[128,0,0]}],hsv:[{index:0,rgb:[255,0,0]},{index:.169,rgb:[253,255,2]},{index:.173,rgb:[247,255,2]},{index:.337,rgb:[0,252,4]},{index:.341,rgb:[0,252,10]},{index:.506,rgb:[1,249,255]},{index:.671,rgb:[2,0,253]},{index:.675,rgb:[8,0,253]},{index:.839,rgb:[255,0,251]},{index:.843,rgb:[255,0,245]},{index:1,rgb:[255,0,6]}],hot:[{index:0,rgb:[0,0,0]},{index:.3,rgb:[230,0,0]},{index:.6,rgb:[255,210,0]},{index:1,rgb:[255,255,255]}],spring:[{index:0,rgb:[255,0,255]},{index:1,rgb:[255,255,0]}],summer:[{index:0,rgb:[0,128,102]},{index:1,rgb:[255,255,102]}],autumn:[{index:0,rgb:[255,0,0]},{index:1,rgb:[255,255,0]}],winter:[{index:0,rgb:[0,0,255]},{index:1,rgb:[0,255,128]}],bone:[{index:0,rgb:[0,0,0]},{index:.376,rgb:[84,84,116]},{index:.753,rgb:[169,200,200]},{index:1,rgb:[255,255,255]}],copper:[{index:0,rgb:[0,0,0]},{index:.804,rgb:[255,160,102]},{index:1,rgb:[255,199,127]}],greys:[{index:0,rgb:[0,0,0]},{index:1,rgb:[255,255,255]}],yignbu:[{index:0,rgb:[8,29,88]},{index:.125,rgb:[37,52,148]},{index:.25,rgb:[34,94,168]},{index:.375,rgb:[29,145,192]},{index:.5,rgb:[65,182,196]},{index:.625,rgb:[127,205,187]},{index:.75,rgb:[199,233,180]},{index:.875,rgb:[237,248,217]},{index:1,rgb:[255,255,217]}],greens:[{index:0,rgb:[0,68,27]},{index:.125,rgb:[0,109,44]},{index:.25,rgb:[35,139,69]},{index:.375,rgb:[65,171,93]},{index:.5,rgb:[116,196,118]},{index:.625,rgb:[161,217,155]},{index:.75,rgb:[199,233,192]},{index:.875,rgb:[229,245,224]},{index:1,rgb:[247,252,245]}],yiorrd:[{index:0,rgb:[128,0,38]},{index:.125,rgb:[189,0,38]},{index:.25,rgb:[227,26,28]},{index:.375,rgb:[252,78,42]},{index:.5,rgb:[253,141,60]},{index:.625,rgb:[254,178,76]},{index:.75,rgb:[254,217,118]},{index:.875,rgb:[255,237,160]},{index:1,rgb:[255,255,204]}],bluered:[{index:0,rgb:[0,0,255]},{index:1,rgb:[255,0,0]}],rdbu:[{index:0,rgb:[5,10,172]},{index:.35,rgb:[106,137,247]},{index:.5,rgb:[190,190,190]},{index:.6,rgb:[220,170,132]},{index:.7,rgb:[230,145,90]},{index:1,rgb:[178,10,28]}],picnic:[{index:0,rgb:[0,0,255]},{index:.1,rgb:[51,153,255]},{index:.2,rgb:[102,204,255]},{index:.3,rgb:[153,204,255]},{index:.4,rgb:[204,204,255]},{index:.5,rgb:[255,255,255]},{index:.6,rgb:[255,204,255]},{index:.7,rgb:[255,153,255]},{index:.8,rgb:[255,102,204]},{index:.9,rgb:[255,102,102]},{index:1,rgb:[255,0,0]}],rainbow:[{index:0,rgb:[150,0,90]},{index:.125,rgb:[0,0,200]},{index:.25,rgb:[0,25,255]},{index:.375,rgb:[0,152,255]},{index:.5,rgb:[44,255,150]},{index:.625,rgb:[151,255,0]},{index:.75,rgb:[255,234,0]},{index:.875,rgb:[255,111,0]},{index:1,rgb:[255,0,0]}],portland:[{index:0,rgb:[12,51,131]},{index:.25,rgb:[10,136,186]},{index:.5,rgb:[242,211,56]},{index:.75,rgb:[242,143,56]},{index:1,rgb:[217,30,30]}],blackbody:[{index:0,rgb:[0,0,0]},{index:.2,rgb:[230,0,0]},{index:.4,rgb:[230,210,0]},{index:.7,rgb:[255,255,255]},{index:1,rgb:[160,200,255]}],earth:[{index:0,rgb:[0,0,130]},{index:.1,rgb:[0,180,180]},{index:.2,rgb:[40,210,40]},{index:.4,rgb:[230,230,50]},{index:.6,rgb:[120,70,20]},{index:1,rgb:[255,255,255]}],electric:[{index:0,rgb:[0,0,0]},{index:.15,rgb:[30,0,100]},{index:.4,rgb:[120,0,100]},{index:.6,rgb:[160,90,0]},{index:.8,rgb:[230,200,0]},{index:1,rgb:[255,250,220]}],alpha:[{index:0,rgb:[255,255,255,0]},{index:1,rgb:[255,255,255,1]}],viridis:[{index:0,rgb:[68,1,84]},{index:.13,rgb:[71,44,122]},{index:.25,rgb:[59,81,139]},{index:.38,rgb:[44,113,142]},{index:.5,rgb:[33,144,141]},{index:.63,rgb:[39,173,129]},{index:.75,rgb:[92,200,99]},{index:.88,rgb:[170,220,50]},{index:1,rgb:[253,231,37]}],inferno:[{index:0,rgb:[0,0,4]},{index:.13,rgb:[31,12,72]},{index:.25,rgb:[85,15,109]},{index:.38,rgb:[136,34,106]},{index:.5,rgb:[186,54,85]},{index:.63,rgb:[227,89,51]},{index:.75,rgb:[249,140,10]},{index:.88,rgb:[249,201,50]},{index:1,rgb:[252,255,164]}],magma:[{index:0,rgb:[0,0,4]},{index:.13,rgb:[28,16,68]},{index:.25,rgb:[79,18,123]},{index:.38,rgb:[129,37,129]},{index:.5,rgb:[181,54,122]},{index:.63,rgb:[229,80,100]},{index:.75,rgb:[251,135,97]},{index:.88,rgb:[254,194,135]},{index:1,rgb:[252,253,191]}],plasma:[{index:0,rgb:[13,8,135]},{index:.13,rgb:[75,3,161]},{index:.25,rgb:[125,3,168]},{index:.38,rgb:[168,34,150]},{index:.5,rgb:[203,70,121]},{index:.63,rgb:[229,107,93]},{index:.75,rgb:[248,148,65]},{index:.88,rgb:[253,195,40]},{index:1,rgb:[240,249,33]}],warm:[{index:0,rgb:[125,0,179]},{index:.13,rgb:[172,0,187]},{index:.25,rgb:[219,0,170]},{index:.38,rgb:[255,0,130]},{index:.5,rgb:[255,63,74]},{index:.63,rgb:[255,123,0]},{index:.75,rgb:[234,176,0]},{index:.88,rgb:[190,228,0]},{index:1,rgb:[147,255,0]}],cool:[{index:0,rgb:[125,0,179]},{index:.13,rgb:[116,0,218]},{index:.25,rgb:[98,74,237]},{index:.38,rgb:[68,146,231]},{index:.5,rgb:[0,204,197]},{index:.63,rgb:[0,247,146]},{index:.75,rgb:[0,255,88]},{index:.88,rgb:[40,255,8]},{index:1,rgb:[147,255,0]}],"rainbow-soft":[{index:0,rgb:[125,0,179]},{index:.1,rgb:[199,0,180]},{index:.2,rgb:[255,0,121]},{index:.3,rgb:[255,108,0]},{index:.4,rgb:[222,194,0]},{index:.5,rgb:[150,255,0]},{index:.6,rgb:[0,255,55]},{index:.7,rgb:[0,246,150]},{index:.8,rgb:[50,167,222]},{index:.9,rgb:[103,51,235]},{index:1,rgb:[124,0,186]}],bathymetry:[{index:0,rgb:[40,26,44]},{index:.13,rgb:[59,49,90]},{index:.25,rgb:[64,76,139]},{index:.38,rgb:[63,110,151]},{index:.5,rgb:[72,142,158]},{index:.63,rgb:[85,174,163]},{index:.75,rgb:[120,206,163]},{index:.88,rgb:[187,230,172]},{index:1,rgb:[253,254,204]}],cdom:[{index:0,rgb:[47,15,62]},{index:.13,rgb:[87,23,86]},{index:.25,rgb:[130,28,99]},{index:.38,rgb:[171,41,96]},{index:.5,rgb:[206,67,86]},{index:.63,rgb:[230,106,84]},{index:.75,rgb:[242,149,103]},{index:.88,rgb:[249,193,135]},{index:1,rgb:[254,237,176]}],chlorophyll:[{index:0,rgb:[18,36,20]},{index:.13,rgb:[25,63,41]},{index:.25,rgb:[24,91,59]},{index:.38,rgb:[13,119,72]},{index:.5,rgb:[18,148,80]},{index:.63,rgb:[80,173,89]},{index:.75,rgb:[132,196,122]},{index:.88,rgb:[175,221,162]},{index:1,rgb:[215,249,208]}],density:[{index:0,rgb:[54,14,36]},{index:.13,rgb:[89,23,80]},{index:.25,rgb:[110,45,132]},{index:.38,rgb:[120,77,178]},{index:.5,rgb:[120,113,213]},{index:.63,rgb:[115,151,228]},{index:.75,rgb:[134,185,227]},{index:.88,rgb:[177,214,227]},{index:1,rgb:[230,241,241]}],"freesurface-blue":[{index:0,rgb:[30,4,110]},{index:.13,rgb:[47,14,176]},{index:.25,rgb:[41,45,236]},{index:.38,rgb:[25,99,212]},{index:.5,rgb:[68,131,200]},{index:.63,rgb:[114,156,197]},{index:.75,rgb:[157,181,203]},{index:.88,rgb:[200,208,216]},{index:1,rgb:[241,237,236]}],"freesurface-red":[{index:0,rgb:[60,9,18]},{index:.13,rgb:[100,17,27]},{index:.25,rgb:[142,20,29]},{index:.38,rgb:[177,43,27]},{index:.5,rgb:[192,87,63]},{index:.63,rgb:[205,125,105]},{index:.75,rgb:[216,162,148]},{index:.88,rgb:[227,199,193]},{index:1,rgb:[241,237,236]}],oxygen:[{index:0,rgb:[64,5,5]},{index:.13,rgb:[106,6,15]},{index:.25,rgb:[144,26,7]},{index:.38,rgb:[168,64,3]},{index:.5,rgb:[188,100,4]},{index:.63,rgb:[206,136,11]},{index:.75,rgb:[220,174,25]},{index:.88,rgb:[231,215,44]},{index:1,rgb:[248,254,105]}],par:[{index:0,rgb:[51,20,24]},{index:.13,rgb:[90,32,35]},{index:.25,rgb:[129,44,34]},{index:.38,rgb:[159,68,25]},{index:.5,rgb:[182,99,19]},{index:.63,rgb:[199,134,22]},{index:.75,rgb:[212,171,35]},{index:.88,rgb:[221,210,54]},{index:1,rgb:[225,253,75]}],phase:[{index:0,rgb:[145,105,18]},{index:.13,rgb:[184,71,38]},{index:.25,rgb:[186,58,115]},{index:.38,rgb:[160,71,185]},{index:.5,rgb:[110,97,218]},{index:.63,rgb:[50,123,164]},{index:.75,rgb:[31,131,110]},{index:.88,rgb:[77,129,34]},{index:1,rgb:[145,105,18]}],salinity:[{index:0,rgb:[42,24,108]},{index:.13,rgb:[33,50,162]},{index:.25,rgb:[15,90,145]},{index:.38,rgb:[40,118,137]},{index:.5,rgb:[59,146,135]},{index:.63,rgb:[79,175,126]},{index:.75,rgb:[120,203,104]},{index:.88,rgb:[193,221,100]},{index:1,rgb:[253,239,154]}],temperature:[{index:0,rgb:[4,35,51]},{index:.13,rgb:[23,51,122]},{index:.25,rgb:[85,59,157]},{index:.38,rgb:[129,79,143]},{index:.5,rgb:[175,95,130]},{index:.63,rgb:[222,112,101]},{index:.75,rgb:[249,146,66]},{index:.88,rgb:[249,196,65]},{index:1,rgb:[232,250,91]}],turbidity:[{index:0,rgb:[34,31,27]},{index:.13,rgb:[65,50,41]},{index:.25,rgb:[98,69,52]},{index:.38,rgb:[131,89,57]},{index:.5,rgb:[161,112,59]},{index:.63,rgb:[185,140,66]},{index:.75,rgb:[202,174,88]},{index:.88,rgb:[216,209,126]},{index:1,rgb:[233,246,171]}],"velocity-blue":[{index:0,rgb:[17,32,64]},{index:.13,rgb:[35,52,116]},{index:.25,rgb:[29,81,156]},{index:.38,rgb:[31,113,162]},{index:.5,rgb:[50,144,169]},{index:.63,rgb:[87,173,176]},{index:.75,rgb:[149,196,189]},{index:.88,rgb:[203,221,211]},{index:1,rgb:[254,251,230]}],"velocity-green":[{index:0,rgb:[23,35,19]},{index:.13,rgb:[24,64,38]},{index:.25,rgb:[11,95,45]},{index:.38,rgb:[39,123,35]},{index:.5,rgb:[95,146,12]},{index:.63,rgb:[152,165,18]},{index:.75,rgb:[201,186,69]},{index:.88,rgb:[233,216,137]},{index:1,rgb:[255,253,205]}],cubehelix:[{index:0,rgb:[0,0,0]},{index:.07,rgb:[22,5,59]},{index:.13,rgb:[60,4,105]},{index:.2,rgb:[109,1,135]},{index:.27,rgb:[161,0,147]},{index:.33,rgb:[210,2,142]},{index:.4,rgb:[251,11,123]},{index:.47,rgb:[255,29,97]},{index:.53,rgb:[255,54,69]},{index:.6,rgb:[255,85,46]},{index:.67,rgb:[255,120,34]},{index:.73,rgb:[255,157,37]},{index:.8,rgb:[241,191,57]},{index:.87,rgb:[224,220,93]},{index:.93,rgb:[218,241,142]},{index:1,rgb:[227,253,198]}]}},9156:function(h,l,a){var u=a(5692),s=a(3578);function o(p){return[p[0]/255,p[1]/255,p[2]/255,p[3]]}function c(p){for(var w,g="#",S=0;S<3;++S)g+=("00"+(w=(w=p[S]).toString(16))).substr(w.length);return g}function f(p){return"rgba("+p.join(",")+")"}h.exports=function(p){var w,g,S,x,T,E,_,A,L,b;if(p||(p={}),A=(p.nshades||72)-1,_=p.format||"hex",(E=p.colormap)||(E="jet"),typeof E=="string"){if(E=E.toLowerCase(),!u[E])throw Error(E+" not a supported colorscale");T=u[E]}else{if(!Array.isArray(E))throw Error("unsupported colormap option",E);T=E.slice()}if(T.length>A+1)throw new Error(E+" map requires nshades to be at least size "+T.length);L=Array.isArray(p.alpha)?p.alpha.length!==2?[1,1]:p.alpha.slice():typeof p.alpha=="number"?[p.alpha,p.alpha]:[1,1],w=T.map(function(F){return Math.round(F.index*A)}),L[0]=Math.min(Math.max(L[0],0),1),L[1]=Math.min(Math.max(L[1],0),1);var R=T.map(function(F,B){var N=T[B].index,W=T[B].rgb.slice();return W.length===4&&W[3]>=0&&W[3]<=1||(W[3]=L[0]+(L[1]-L[0])*N),W}),I=[];for(b=0;b0||p(w,g,x)?-1:1:E===0?_>0||p(w,g,S)?1:-1:s(_-E)}var L=u(w,g,S);return L>0?T>0&&u(w,g,x)>0?1:-1:L<0?T>0||u(w,g,x)>0?1:-1:u(w,g,x)>0||p(w,g,S)?1:-1};var u=a(417),s=a(7538),o=a(87),c=a(2019),f=a(9662);function p(w,g,S){var x=o(w[0],-g[0]),T=o(w[1],-g[1]),E=o(S[0],-g[0]),_=o(S[1],-g[1]),A=f(c(x,E),c(T,_));return A[A.length-1]>=0}},7538:function(h){h.exports=function(l){return l<0?-1:l>0?1:0}},9209:function(h){h.exports=function(u,s){var o=u.length,c=u.length-s.length;if(c)return c;switch(o){case 0:return 0;case 1:return u[0]-s[0];case 2:return u[0]+u[1]-s[0]-s[1]||l(u[0],u[1])-l(s[0],s[1]);case 3:var f=u[0]+u[1],p=s[0]+s[1];if(c=f+u[2]-(p+s[2]))return c;var w=l(u[0],u[1]),g=l(s[0],s[1]);return l(w,u[2])-l(g,s[2])||l(w+u[2],f)-l(g+s[2],p);case 4:var S=u[0],x=u[1],T=u[2],E=u[3],_=s[0],A=s[1],L=s[2],b=s[3];return S+x+T+E-(_+A+L+b)||l(S,x,T,E)-l(_,A,L,b,_)||l(S+x,S+T,S+E,x+T,x+E,T+E)-l(_+A,_+L,_+b,A+L,A+b,L+b)||l(S+x+T,S+x+E,S+T+E,x+T+E)-l(_+A+L,_+A+b,_+L+b,A+L+b);default:for(var R=u.slice().sort(a),I=s.slice().sort(a),O=0;Ol[u][0]&&(u=s);return au?[[u],[a]]:[[a]]}},8722:function(h,l,a){h.exports=function(s){var o=u(s),c=o.length;if(c<=2)return[];for(var f=new Array(c),p=o[c-1],w=0;w=S[b]&&(L+=1);_[A]=L}}return g}(u(p,!0),f)}};var u=a(2183),s=a(2153)},9680:function(h){h.exports=function(l,a,u,s,o,c){var f=o-1,p=o*o,w=f*f,g=(1+2*o)*w,S=o*w,x=p*(3-2*o),T=p*f;if(l.length){c||(c=new Array(l.length));for(var E=l.length-1;E>=0;--E)c[E]=g*l[E]+S*a[E]+x*u[E]+T*s[E];return c}return g*l+S*a+x*u+T*s},h.exports.derivative=function(l,a,u,s,o,c){var f=6*o*o-6*o,p=3*o*o-4*o+1,w=-6*o*o+6*o,g=3*o*o-2*o;if(l.length){c||(c=new Array(l.length));for(var S=l.length-1;S>=0;--S)c[S]=f*l[S]+p*a[S]+w*u[S]+g*s[S];return c}return f*l+p*a+w*u[S]+g*s}},4419:function(h,l,a){var u=a(2183),s=a(1215);function o(f,p){this.point=f,this.index=p}function c(f,p){for(var w=f.point,g=p.point,S=w.length,x=0;x=2)return!1;N[j]=Y}return!0}):B.filter(function(N){for(var W=0;W<=g;++W){var j=I[N[W]];if(j<0)return!1;N[W]=j}return!0}),1&g)for(T=0;T>>31},h.exports.exponent=function(o){return(h.exports.hi(o)<<1>>>21)-1023},h.exports.fraction=function(o){var c=h.exports.lo(o),f=h.exports.hi(o),p=1048575&f;return 2146435072&f&&(p+=1048576),[c,p]},h.exports.denormalized=function(o){return!(2146435072&h.exports.hi(o))}},3094:function(h){function l(a,u,s){var o=0|a[s];if(o<=0)return[];var c,f=new Array(o);if(s===a.length-1)for(c=0;c0)return function(s,o){var c,f;for(c=new Array(s),f=0;f=S-1){b=E.length-1;var I=w-g[S-1];for(R=0;R=S-1)for(var L=E.length-1,b=(g[S-1],0);b=0;--S)if(w[--g])return!1;return!0},f.jump=function(w){var g=this.lastT(),S=this.dimension;if(!(w0;--R)x.push(o(A[R-1],L[R-1],arguments[R])),T.push(0)}},f.push=function(w){var g=this.lastT(),S=this.dimension;if(!(w1e-6?1/_:0;this._time.push(w);for(var I=S;I>0;--I){var O=o(L[I-1],b[I-1],arguments[I]);x.push(O),T.push((O-x[E++])*R)}}},f.set=function(w){var g=this.dimension;if(!(w0;--A)S.push(o(E[A-1],_[A-1],arguments[A])),x.push(0)}},f.move=function(w){var g=this.lastT(),S=this.dimension;if(!(w<=g||arguments.length!==S+1)){var x=this._state,T=this._velocity,E=x.length-this.dimension,_=this.bounds,A=_[0],L=_[1],b=w-g,R=b>1e-6?1/b:0;this._time.push(w);for(var I=S;I>0;--I){var O=arguments[I];x.push(o(A[I-1],L[I-1],x[E++]+O)),T.push(O*R)}}},f.idle=function(w){var g=this.lastT();if(!(w=0;--R)x.push(o(A[R],L[R],x[E]+b*T[E])),T.push(0),E+=1}}},7080:function(h){function l(E,_,A,L,b,R){this._color=E,this.key=_,this.value=A,this.left=L,this.right=b,this._count=R}function a(E){return new l(E._color,E.key,E.value,E.left,E.right,E._count)}function u(E,_){return new l(E,_.key,_.value,_.left,_.right,_._count)}function s(E){E._count=1+(E.left?E.left._count:0)+(E.right?E.right._count:0)}function o(E,_){this._compare=E,this.root=_}h.exports=function(E){return new o(E||T,null)};var c=o.prototype;function f(E,_){var A;return _.left&&(A=f(E,_.left))?A:(A=E(_.key,_.value))||(_.right?f(E,_.right):void 0)}function p(E,_,A,L){if(_(E,L.key)<=0){var b;if(L.left&&(b=p(E,_,A,L.left))||(b=A(L.key,L.value)))return b}if(L.right)return p(E,_,A,L.right)}function w(E,_,A,L,b){var R,I=A(E,b.key),O=A(_,b.key);if(I<=0&&(b.left&&(R=w(E,_,A,L,b.left))||O>0&&(R=L(b.key,b.value))))return R;if(O>0&&b.right)return w(E,_,A,L,b.right)}function g(E,_){this.tree=E,this._stack=_}Object.defineProperty(c,"keys",{get:function(){var E=[];return this.forEach(function(_,A){E.push(_)}),E}}),Object.defineProperty(c,"values",{get:function(){var E=[];return this.forEach(function(_,A){E.push(A)}),E}}),Object.defineProperty(c,"length",{get:function(){return this.root?this.root._count:0}}),c.insert=function(E,_){for(var A=this._compare,L=this.root,b=[],R=[];L;){var I=A(E,L.key);b.push(L),R.push(I),L=I<=0?L.left:L.right}b.push(new l(0,E,_,null,null,1));for(var O=b.length-2;O>=0;--O)L=b[O],R[O]<=0?b[O]=new l(L._color,L.key,L.value,b[O+1],L.right,L._count+1):b[O]=new l(L._color,L.key,L.value,L.left,b[O+1],L._count+1);for(O=b.length-1;O>1;--O){var z=b[O-1];if(L=b[O],z._color===1||L._color===1)break;var F=b[O-2];if(F.left===z)if(z.left===L){if(!(B=F.right)||B._color!==0){F._color=0,F.left=z.right,z._color=1,z.right=F,b[O-2]=z,b[O-1]=L,s(F),s(z),O>=3&&((N=b[O-3]).left===F?N.left=z:N.right=z);break}z._color=1,F.right=u(1,B),F._color=0,O-=1}else{if(!(B=F.right)||B._color!==0){z.right=L.left,F._color=0,F.left=L.right,L._color=1,L.left=z,L.right=F,b[O-2]=L,b[O-1]=z,s(F),s(z),s(L),O>=3&&((N=b[O-3]).left===F?N.left=L:N.right=L);break}z._color=1,F.right=u(1,B),F._color=0,O-=1}else if(z.right===L){if(!(B=F.left)||B._color!==0){F._color=0,F.right=z.left,z._color=1,z.left=F,b[O-2]=z,b[O-1]=L,s(F),s(z),O>=3&&((N=b[O-3]).right===F?N.right=z:N.left=z);break}z._color=1,F.left=u(1,B),F._color=0,O-=1}else{var B;if(!(B=F.left)||B._color!==0){var N;z.left=L.right,F._color=0,F.right=L.left,L._color=1,L.right=z,L.left=F,b[O-2]=L,b[O-1]=z,s(F),s(z),s(L),O>=3&&((N=b[O-3]).right===F?N.right=L:N.left=L);break}z._color=1,F.left=u(1,B),F._color=0,O-=1}}return b[0]._color=1,new o(A,b[0])},c.forEach=function(E,_,A){if(this.root)switch(arguments.length){case 1:return f(E,this.root);case 2:return p(_,this._compare,E,this.root);case 3:return this._compare(_,A)>=0?void 0:w(_,A,this._compare,E,this.root)}},Object.defineProperty(c,"begin",{get:function(){for(var E=[],_=this.root;_;)E.push(_),_=_.left;return new g(this,E)}}),Object.defineProperty(c,"end",{get:function(){for(var E=[],_=this.root;_;)E.push(_),_=_.right;return new g(this,E)}}),c.at=function(E){if(E<0)return new g(this,[]);for(var _=this.root,A=[];;){if(A.push(_),_.left){if(E<_.left._count){_=_.left;continue}E-=_.left._count}if(!E)return new g(this,A);if(E-=1,!_.right||E>=_.right._count)break;_=_.right}return new g(this,[])},c.ge=function(E){for(var _=this._compare,A=this.root,L=[],b=0;A;){var R=_(E,A.key);L.push(A),R<=0&&(b=L.length),A=R<=0?A.left:A.right}return L.length=b,new g(this,L)},c.gt=function(E){for(var _=this._compare,A=this.root,L=[],b=0;A;){var R=_(E,A.key);L.push(A),R<0&&(b=L.length),A=R<0?A.left:A.right}return L.length=b,new g(this,L)},c.lt=function(E){for(var _=this._compare,A=this.root,L=[],b=0;A;){var R=_(E,A.key);L.push(A),R>0&&(b=L.length),A=R<=0?A.left:A.right}return L.length=b,new g(this,L)},c.le=function(E){for(var _=this._compare,A=this.root,L=[],b=0;A;){var R=_(E,A.key);L.push(A),R>=0&&(b=L.length),A=R<0?A.left:A.right}return L.length=b,new g(this,L)},c.find=function(E){for(var _=this._compare,A=this.root,L=[];A;){var b=_(E,A.key);if(L.push(A),b===0)return new g(this,L);A=b<=0?A.left:A.right}return new g(this,[])},c.remove=function(E){var _=this.find(E);return _?_.remove():this},c.get=function(E){for(var _=this._compare,A=this.root;A;){var L=_(E,A.key);if(L===0)return A.value;A=L<=0?A.left:A.right}};var S=g.prototype;function x(E,_){E.key=_.key,E.value=_.value,E.left=_.left,E.right=_.right,E._color=_._color,E._count=_._count}function T(E,_){return E<_?-1:E>_?1:0}Object.defineProperty(S,"valid",{get:function(){return this._stack.length>0}}),Object.defineProperty(S,"node",{get:function(){return this._stack.length>0?this._stack[this._stack.length-1]:null},enumerable:!0}),S.clone=function(){return new g(this.tree,this._stack.slice())},S.remove=function(){var E=this._stack;if(E.length===0)return this.tree;var _=new Array(E.length),A=E[E.length-1];_[_.length-1]=new l(A._color,A.key,A.value,A.left,A.right,A._count);for(var L=E.length-2;L>=0;--L)(A=E[L]).left===E[L+1]?_[L]=new l(A._color,A.key,A.value,_[L+1],A.right,A._count):_[L]=new l(A._color,A.key,A.value,A.left,_[L+1],A._count);if((A=_[_.length-1]).left&&A.right){var b=_.length;for(A=A.left;A.right;)_.push(A),A=A.right;var R=_[b-1];for(_.push(new l(A._color,R.key,R.value,A.left,A.right,A._count)),_[b-1].key=A.key,_[b-1].value=A.value,L=_.length-2;L>=b;--L)A=_[L],_[L]=new l(A._color,A.key,A.value,A.left,_[L+1],A._count);_[b-1].left=_[b]}if((A=_[_.length-1])._color===0){var I=_[_.length-2];for(I.left===A?I.left=null:I.right===A&&(I.right=null),_.pop(),L=0;L<_.length;++L)_[L]._count--;return new o(this.tree._compare,_[0])}if(A.left||A.right){for(A.left?x(A,A.left):A.right&&x(A,A.right),A._color=1,L=0;L<_.length-1;++L)_[L]._count--;return new o(this.tree._compare,_[0])}if(_.length===1)return new o(this.tree._compare,null);for(L=0;L<_.length;++L)_[L]._count--;var O=_[_.length-2];return function(z){for(var F,B,N,W,j=z.length-1;j>=0;--j){if(F=z[j],j===0)return void(F._color=1);if((B=z[j-1]).left===F){if((N=B.right).right&&N.right._color===0)return W=(N=B.right=a(N)).right=a(N.right),B.right=N.left,N.left=B,N.right=W,N._color=B._color,F._color=1,B._color=1,W._color=1,s(B),s(N),j>1&&((Y=z[j-2]).left===B?Y.left=N:Y.right=N),void(z[j-1]=N);if(N.left&&N.left._color===0)return W=(N=B.right=a(N)).left=a(N.left),B.right=W.left,N.left=W.right,W.left=B,W.right=N,W._color=B._color,B._color=1,N._color=1,F._color=1,s(B),s(N),s(W),j>1&&((Y=z[j-2]).left===B?Y.left=W:Y.right=W),void(z[j-1]=W);if(N._color===1){if(B._color===0)return B._color=1,void(B.right=u(0,N));B.right=u(0,N);continue}N=a(N),B.right=N.left,N.left=B,N._color=B._color,B._color=0,s(B),s(N),j>1&&((Y=z[j-2]).left===B?Y.left=N:Y.right=N),z[j-1]=N,z[j]=B,j+11&&((Y=z[j-2]).right===B?Y.right=N:Y.left=N),void(z[j-1]=N);if(N.right&&N.right._color===0)return W=(N=B.left=a(N)).right=a(N.right),B.left=W.right,N.right=W.left,W.right=B,W.left=N,W._color=B._color,B._color=1,N._color=1,F._color=1,s(B),s(N),s(W),j>1&&((Y=z[j-2]).right===B?Y.right=W:Y.left=W),void(z[j-1]=W);if(N._color===1){if(B._color===0)return B._color=1,void(B.left=u(0,N));B.left=u(0,N);continue}var Y;N=a(N),B.left=N.right,N.right=B,N._color=B._color,B._color=0,s(B),s(N),j>1&&((Y=z[j-2]).right===B?Y.right=N:Y.left=N),z[j-1]=N,z[j]=B,j+10)return this._stack[this._stack.length-1].key},enumerable:!0}),Object.defineProperty(S,"value",{get:function(){if(this._stack.length>0)return this._stack[this._stack.length-1].value},enumerable:!0}),Object.defineProperty(S,"index",{get:function(){var E=0,_=this._stack;if(_.length===0){var A=this.tree.root;return A?A._count:0}_[_.length-1].left&&(E=_[_.length-1].left._count);for(var L=_.length-2;L>=0;--L)_[L+1]===_[L].right&&(++E,_[L].left&&(E+=_[L].left._count));return E},enumerable:!0}),S.next=function(){var E=this._stack;if(E.length!==0){var _=E[E.length-1];if(_.right)for(_=_.right;_;)E.push(_),_=_.left;else for(E.pop();E.length>0&&E[E.length-1].right===_;)_=E[E.length-1],E.pop()}},Object.defineProperty(S,"hasNext",{get:function(){var E=this._stack;if(E.length===0)return!1;if(E[E.length-1].right)return!0;for(var _=E.length-1;_>0;--_)if(E[_-1].left===E[_])return!0;return!1}}),S.update=function(E){var _=this._stack;if(_.length===0)throw new Error("Can't update empty node!");var A=new Array(_.length),L=_[_.length-1];A[A.length-1]=new l(L._color,L.key,E,L.left,L.right,L._count);for(var b=_.length-2;b>=0;--b)(L=_[b]).left===_[b+1]?A[b]=new l(L._color,L.key,L.value,A[b+1],L.right,L._count):A[b]=new l(L._color,L.key,L.value,L.left,A[b+1],L._count);return new o(this.tree._compare,A[0])},S.prev=function(){var E=this._stack;if(E.length!==0){var _=E[E.length-1];if(_.left)for(_=_.left;_;)E.push(_),_=_.right;else for(E.pop();E.length>0&&E[E.length-1].left===_;)_=E[E.length-1],E.pop()}},Object.defineProperty(S,"hasPrev",{get:function(){var E=this._stack;if(E.length===0)return!1;if(E[E.length-1].left)return!0;for(var _=E.length-1;_>0;--_)if(E[_-1].right===E[_])return!0;return!1}})},7453:function(h,l,a){h.exports=function(I,O){var z=new g(I);return z.update(O),z};var u=a(9557),s=a(1681),o=a(1011),c=a(2864),f=a(8468),p=new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]);function w(I,O){return I[0]=O[0],I[1]=O[1],I[2]=O[2],I}function g(I){this.gl=I,this.pixelRatio=1,this.bounds=[[-10,-10,-10],[10,10,10]],this.ticks=[[],[],[]],this.autoTicks=!0,this.tickSpacing=[1,1,1],this.tickEnable=[!0,!0,!0],this.tickFont=["sans-serif","sans-serif","sans-serif"],this.tickSize=[12,12,12],this.tickAngle=[0,0,0],this.tickAlign=["auto","auto","auto"],this.tickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.tickPad=[10,10,10],this.lastCubeProps={cubeEdges:[0,0,0],axis:[0,0,0]},this.labels=["x","y","z"],this.labelEnable=[!0,!0,!0],this.labelFont="sans-serif",this.labelSize=[20,20,20],this.labelAngle=[0,0,0],this.labelAlign=["auto","auto","auto"],this.labelColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.labelPad=[10,10,10],this.lineEnable=[!0,!0,!0],this.lineMirror=[!1,!1,!1],this.lineWidth=[1,1,1],this.lineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.lineTickEnable=[!0,!0,!0],this.lineTickMirror=[!1,!1,!1],this.lineTickLength=[0,0,0],this.lineTickWidth=[1,1,1],this.lineTickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.gridEnable=[!0,!0,!0],this.gridWidth=[1,1,1],this.gridColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroEnable=[!0,!0,!0],this.zeroLineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroLineWidth=[2,2,2],this.backgroundEnable=[!1,!1,!1],this.backgroundColor=[[.8,.8,.8,.5],[.8,.8,.8,.5],[.8,.8,.8,.5]],this._firstInit=!0,this._text=null,this._lines=null,this._background=o(I)}var S=g.prototype;function x(){this.primalOffset=[0,0,0],this.primalMinor=[0,0,0],this.mirrorOffset=[0,0,0],this.mirrorMinor=[0,0,0]}S.update=function(I){function O(ne,te,Z){if(Z in I){var X,Q=I[Z],re=this[Z];(ne?Array.isArray(Q)&&Array.isArray(Q[0]):Array.isArray(Q))?this[Z]=X=[te(Q[0]),te(Q[1]),te(Q[2])]:this[Z]=X=[te(Q),te(Q),te(Q)];for(var ie=0;ie<3;++ie)if(X[ie]!==re[ie])return!0}return!1}I=I||{};var z,F=O.bind(this,!1,Number),B=O.bind(this,!1,Boolean),N=O.bind(this,!1,String),W=O.bind(this,!0,function(ne){if(Array.isArray(ne)){if(ne.length===3)return[+ne[0],+ne[1],+ne[2],1];if(ne.length===4)return[+ne[0],+ne[1],+ne[2],+ne[3]]}return[0,0,0,1]}),j=!1,Y=!1;if("bounds"in I)for(var U=I.bounds,G=0;G<2;++G)for(var q=0;q<3;++q)U[G][q]!==this.bounds[G][q]&&(Y=!0),this.bounds[G][q]=U[G][q];if("ticks"in I)for(z=I.ticks,j=!0,this.autoTicks=!1,G=0;G<3;++G)this.tickSpacing[G]=0;else F("tickSpacing")&&(this.autoTicks=!0,Y=!0);if(this._firstInit&&("ticks"in I||"tickSpacing"in I||(this.autoTicks=!0),Y=!0,j=!0,this._firstInit=!1),Y&&this.autoTicks&&(z=f.create(this.bounds,this.tickSpacing),j=!0),j){for(G=0;G<3;++G)z[G].sort(function(ne,te){return ne.x-te.x});f.equal(z,this.ticks)?j=!1:this.ticks=z}B("tickEnable"),N("tickFont")&&(j=!0),F("tickSize"),F("tickAngle"),F("tickPad"),W("tickColor");var H=N("labels");N("labelFont")&&(H=!0),B("labelEnable"),F("labelSize"),F("labelPad"),W("labelColor"),B("lineEnable"),B("lineMirror"),F("lineWidth"),W("lineColor"),B("lineTickEnable"),B("lineTickMirror"),F("lineTickLength"),F("lineTickWidth"),W("lineTickColor"),B("gridEnable"),F("gridWidth"),W("gridColor"),B("zeroEnable"),W("zeroLineColor"),F("zeroLineWidth"),B("backgroundEnable"),W("backgroundColor"),this._text?this._text&&(H||j)&&this._text.update(this.bounds,this.labels,this.labelFont,this.ticks,this.tickFont):this._text=u(this.gl,this.bounds,this.labels,this.labelFont,this.ticks,this.tickFont),this._lines&&j&&(this._lines.dispose(),this._lines=null),this._lines||(this._lines=s(this.gl,this.bounds,this.ticks))};var T=[new x,new x,new x];function E(I,O,z,F,B){for(var N=I.primalOffset,W=I.primalMinor,j=I.mirrorOffset,Y=I.mirrorMinor,U=F[O],G=0;G<3;++G)if(O!==G){var q=N,H=j,ne=W,te=Y;U&1<0?(ne[G]=-1,te[G]=0):(ne[G]=0,te[G]=1)}}var _=[0,0,0],A={model:p,view:p,projection:p,_ortho:!1};S.isOpaque=function(){return!0},S.isTransparent=function(){return!1},S.drawTransparent=function(I){};var L=[0,0,0],b=[0,0,0],R=[0,0,0];S.draw=function(I){I=I||A;for(var O=this.gl,z=I.model||p,F=I.view||p,B=I.projection||p,N=this.bounds,W=I._ortho||!1,j=c(z,F,B,N,W),Y=j.cubeEdges,U=j.axis,G=F[12],q=F[13],H=F[14],ne=F[15],te=(W?2:1)*this.pixelRatio*(B[3]*G+B[7]*q+B[11]*H+B[15]*ne)/O.drawingBufferHeight,Z=0;Z<3;++Z)this.lastCubeProps.cubeEdges[Z]=Y[Z],this.lastCubeProps.axis[Z]=U[Z];var X=T;for(Z=0;Z<3;++Z)E(T[Z],Z,this.bounds,Y,U);O=this.gl;var Q,re,ie,oe=_;for(Z=0;Z<3;++Z)this.backgroundEnable[Z]?oe[Z]=U[Z]:oe[Z]=0;for(this._background.draw(z,F,B,N,oe,this.backgroundColor),this._lines.bind(z,F,B,this),Z=0;Z<3;++Z){var ue=[0,0,0];U[Z]>0?ue[Z]=N[1][Z]:ue[Z]=N[0][Z];for(var ce=0;ce<2;++ce){var ye=(Z+1+ce)%3,de=(Z+1+(1^ce))%3;this.gridEnable[ye]&&this._lines.drawGrid(ye,de,this.bounds,ue,this.gridColor[ye],this.gridWidth[ye]*this.pixelRatio)}for(ce=0;ce<2;++ce)ye=(Z+1+ce)%3,de=(Z+1+(1^ce))%3,this.zeroEnable[de]&&Math.min(N[0][de],N[1][de])<=0&&Math.max(N[0][de],N[1][de])>=0&&this._lines.drawZero(ye,de,this.bounds,ue,this.zeroLineColor[de],this.zeroLineWidth[de]*this.pixelRatio)}for(Z=0;Z<3;++Z){this.lineEnable[Z]&&this._lines.drawAxisLine(Z,this.bounds,X[Z].primalOffset,this.lineColor[Z],this.lineWidth[Z]*this.pixelRatio),this.lineMirror[Z]&&this._lines.drawAxisLine(Z,this.bounds,X[Z].mirrorOffset,this.lineColor[Z],this.lineWidth[Z]*this.pixelRatio);var me=w(L,X[Z].primalMinor),pe=w(b,X[Z].mirrorMinor),xe=this.lineTickLength;for(ce=0;ce<3;++ce){var Pe=te/z[5*ce];me[ce]*=xe[ce]*Pe,pe[ce]*=xe[ce]*Pe}this.lineTickEnable[Z]&&this._lines.drawAxisTicks(Z,X[Z].primalOffset,me,this.lineTickColor[Z],this.lineTickWidth[Z]*this.pixelRatio),this.lineTickMirror[Z]&&this._lines.drawAxisTicks(Z,X[Z].mirrorOffset,pe,this.lineTickColor[Z],this.lineTickWidth[Z]*this.pixelRatio)}function _e(be){(ie=[0,0,0])[be]=1}function Me(be,ke,Le){var Be=(be+1)%3,ze=(be+2)%3,je=ke[Be],ge=ke[ze],we=Le[Be],Ee=Le[ze];je>0&&Ee>0||je>0&&Ee<0||je<0&&Ee>0||je<0&&Ee<0?_e(Be):(ge>0&&we>0||ge>0&&we<0||ge<0&&we>0||ge<0&&we<0)&&_e(ze)}for(this._lines.unbind(),this._text.bind(z,F,B,this.pixelRatio),Z=0;Z<3;++Z){var Se=X[Z].primalMinor,Ce=X[Z].mirrorMinor,ae=w(R,X[Z].primalOffset);for(ce=0;ce<3;++ce)this.lineTickEnable[Z]&&(ae[ce]+=te*Se[ce]*Math.max(this.lineTickLength[ce],0)/z[5*ce]);var he=[0,0,0];if(he[Z]=1,this.tickEnable[Z]){for(this.tickAngle[Z]===-3600?(this.tickAngle[Z]=0,this.tickAlign[Z]="auto"):this.tickAlign[Z]=-1,re=1,(Q=[this.tickAlign[Z],.5,re])[0]==="auto"?Q[0]=0:Q[0]=parseInt(""+Q[0]),ie=[0,0,0],Me(Z,Se,Ce),ce=0;ce<3;++ce)ae[ce]+=te*Se[ce]*this.tickPad[ce]/z[5*ce];this._text.drawTicks(Z,this.tickSize[Z],this.tickAngle[Z],ae,this.tickColor[Z],he,ie,Q)}if(this.labelEnable[Z]){for(re=0,ie=[0,0,0],this.labels[Z].length>4&&(_e(Z),re=1),(Q=[this.labelAlign[Z],.5,re])[0]==="auto"?Q[0]=0:Q[0]=parseInt(""+Q[0]),ce=0;ce<3;++ce)ae[ce]+=te*Se[ce]*this.labelPad[ce]/z[5*ce];ae[Z]+=.5*(N[0][Z]+N[1][Z]),this._text.drawLabel(Z,this.labelSize[Z],this.labelAngle[Z],ae,this.labelColor[Z],[0,0,0],ie,Q)}}this._text.unbind()},S.dispose=function(){this._text.dispose(),this._lines.dispose(),this._background.dispose(),this._lines=null,this._text=null,this._background=null,this.gl=null}},1011:function(h,l,a){h.exports=function(p){for(var w=[],g=[],S=0,x=0;x<3;++x)for(var T=(x+1)%3,E=(x+2)%3,_=[0,0,0],A=[0,0,0],L=-1;L<=1;L+=2){g.push(S,S+2,S+1,S+1,S+2,S+3),_[x]=L,A[x]=L;for(var b=-1;b<=1;b+=2){_[T]=b;for(var R=-1;R<=1;R+=2)_[E]=R,w.push(_[0],_[1],_[2],A[0],A[1],A[2]),S+=1}var I=T;T=E,E=I}var O=u(p,new Float32Array(w)),z=u(p,new Uint16Array(g),p.ELEMENT_ARRAY_BUFFER),F=s(p,[{buffer:O,type:p.FLOAT,size:3,offset:0,stride:24},{buffer:O,type:p.FLOAT,size:3,offset:12,stride:24}],z),B=o(p);return B.attributes.position.location=0,B.attributes.normal.location=1,new c(p,O,F,B)};var u=a(5827),s=a(2944),o=a(1943).bg;function c(p,w,g,S){this.gl=p,this.buffer=w,this.vao=g,this.shader=S}var f=c.prototype;f.draw=function(p,w,g,S,x,T){for(var E=!1,_=0;_<3;++_)E=E||x[_];if(E){var A=this.gl;A.enable(A.POLYGON_OFFSET_FILL),A.polygonOffset(1,2),this.shader.bind(),this.shader.uniforms={model:p,view:w,projection:g,bounds:S,enable:x,colors:T},this.vao.bind(),this.vao.draw(this.gl.TRIANGLES,36),this.vao.unbind(),A.disable(A.POLYGON_OFFSET_FILL)}},f.dispose=function(){this.vao.dispose(),this.buffer.dispose(),this.shader.dispose()}},2864:function(h,l,a){h.exports=function(b,R,I,O,z){s(f,R,b),s(f,I,f);for(var F=0,B=0;B<2;++B){g[2]=O[B][2];for(var N=0;N<2;++N){g[1]=O[N][1];for(var W=0;W<2;++W)g[0]=O[W][0],x(p[F],g,f),F+=1}}var j=-1;for(B=0;B<8;++B){for(var Y=p[B][3],U=0;U<3;++U)w[B][U]=p[B][U]/Y;z&&(w[B][2]*=-1),Y<0&&(j<0||w[B][2]ne&&(j|=1<ne&&(j|=1<w[B][1])&&(ue=B);var ce=-1;for(B=0;B<3;++B)(de=ue^1<w[ye][0]&&(ye=de))}var me=_;me[0]=me[1]=me[2]=0,me[u.log2(ce^ue)]=ue&ce,me[u.log2(ue^ye)]=ue&ye;var pe=7^ye;pe===j||pe===oe?(pe=7^ce,me[u.log2(ye^pe)]=pe&ye):me[u.log2(ce^pe)]=pe&ce;var xe=A,Pe=j;for(G=0;G<3;++G)xe[G]=Pe&1<"),name:B||ne("name")?L.name:void 0,color:F("hoverlabel.bgcolor")||b.color,borderColor:F("hoverlabel.bordercolor"),fontFamily:F("hoverlabel.font.family"),fontSize:F("hoverlabel.font.size"),fontColor:F("hoverlabel.font.color"),nameLength:F("hoverlabel.namelength"),textAlign:F("hoverlabel.align"),hovertemplate:B,hovertemplateLabels:G,eventData:A};_&&(X.x0=j-E.rInscribed*E.rpx1,X.x1=j+E.rInscribed*E.rpx1,X.idealAlign=E.pxmid[0]<0?"left":"right"),k&&(X.x=j,X.idealAlign=j<0?"left":"right");var Q=[];M.loneHover(X,{container:x._hoverlayer.node(),outerContainer:x._paper.node(),gd:c,inOut_bbox:Q}),A[0].bbox=Q[0],y._hasHoverLabel=!0}if(k){var re=o.select("path.surface");m.styleOne(re,E,L,{hovered:!0})}y._hasHoverEvent=!0,c.emit("plotly_hover",{points:A||[u(E,L,m.eventDataKeys)],event:d.event})}}),o.on("mouseout",function(E){var x=c._fullLayout,A=c._fullData[y.index],L=d.select(this).datum();if(y._hasHoverEvent&&(E.originalEvent=d.event,c.emit("plotly_unhover",{points:[u(L,A,m.eventDataKeys)],event:d.event}),y._hasHoverEvent=!1),y._hasHoverLabel&&(M.loneUnhover(x._hoverlayer.node()),y._hasHoverLabel=!1),k){var b=o.select("path.surface");m.styleOne(b,L,A,{hovered:!1})}}),o.on("click",function(E){var x=c._fullLayout,A=c._fullData[y.index],L=_&&(l.isHierarchyRoot(E)||l.isLeaf(E)),b=l.getPtId(E),R=l.isEntry(E)?l.findEntryWithChild(S,b):l.findEntryWithLevel(S,b),I=l.getPtId(R),O={points:[u(E,A,m.eventDataKeys)],event:d.event};L||(O.nextLevel=I);var z=f.triggerHandler(c,"plotly_"+y.type+"click",O);if(z!==!1&&x.hovermode&&(c._hoverdata=[u(E,A,m.eventDataKeys)],M.click(c,d.event)),!L&&z!==!1&&!c._dragging&&!c._transitioning){g.call("_storeDirectGUIEdit",A,x._tracePreGUI[A.uid],{level:A.level});var F={data:[{level:I}],traces:[y.index]},B={frame:{redraw:!1,duration:m.transitionTime},transition:{duration:m.transitionTime,easing:m.transitionEasing},mode:"immediate",fromcurrent:!0};M.loneUnhover(x._hoverlayer.node()),g.call("animate",c,F,B)}})}},2791:function(T,p,t){var d=t(71828),g=t(7901),i=t(6964),M=t(53581);function v(f){return f.data.data.pid}p.findEntryWithLevel=function(f,l){var a;return l&&f.eachAfter(function(u){if(p.getPtId(u)===l)return a=u.copy()}),a||f},p.findEntryWithChild=function(f,l){var a;return f.eachAfter(function(u){for(var o=u.children||[],s=0;s0)},p.getMaxDepth=function(f){return f.maxdepth>=0?f.maxdepth:1/0},p.isHeader=function(f,l){return!(p.isLeaf(f)||f.depth===l._maxDepth-1)},p.getParent=function(f,l){return p.findEntryWithLevel(f,v(l))},p.listPath=function(f,l){var a=f.parent;if(!a)return[];var u=l?[a.data[l]]:[a];return p.listPath(a,l).concat(u)},p.getPath=function(f){return p.listPath(f,"label").join("/")+"/"},p.formatValue=M.formatPieValue,p.formatPercent=function(f,l){var a=d.formatPercent(f,0);return a==="0%"&&(a=M.formatPiePercent(f,l)),a}},87619:function(T,p,t){T.exports={moduleType:"trace",name:"sunburst",basePlotModule:t(66888),categories:[],animatable:!0,attributes:t(57564),layoutAttributes:t(2654),supplyDefaults:t(17094),supplyLayoutDefaults:t(57034),calc:t(52147).calc,crossTraceCalc:t(52147).crossTraceCalc,plot:t(24714).plot,style:t(29969).style,colorbar:t(4898),meta:{}}},2654:function(T){T.exports={sunburstcolorway:{valType:"colorlist",editType:"calc"},extendsunburstcolors:{valType:"boolean",dflt:!0,editType:"calc"}}},57034:function(T,p,t){var d=t(71828),g=t(2654);T.exports=function(i,M){function v(f,l){return d.coerce(i,M,g,f,l)}v("sunburstcolorway",M.colorway),v("extendsunburstcolors")}},24714:function(T,p,t){var d=t(39898),g=t(674),i=t(81684).sX,M=t(91424),v=t(71828),f=t(63893),l=t(72597),a=l.recordMinTextSize,u=l.clearMinTextSize,o=t(14575),s=t(53581).getRotationAngle,c=o.computeTransform,h=o.transformInsideText,m=t(29969).styleOne,w=t(16688).resizeText,y=t(83523),S=t(7055),_=t(2791);function k(x,A,L,b){var R=x._context.staticPlot,I=x._fullLayout,O=!I.uniformtext.mode&&_.hasTransition(b),z=d.select(L).selectAll("g.slice"),F=A[0],B=F.trace,N=F.hierarchy,W=_.findEntryWithLevel(N,B.level),j=_.getMaxDepth(B),$=I._size,U=B.domain,G=$.w*(U.x[1]-U.x[0]),q=$.h*(U.y[1]-U.y[0]),H=.5*Math.min(G,q),ne=F.cx=$.l+$.w*(U.x[1]+U.x[0])/2,te=F.cy=$.t+$.h*(1-U.y[0])-q/2;if(!W)return z.remove();var Z=null,X={};O&&z.each(function(Ce){X[_.getPtId(Ce)]={rpx0:Ce.rpx0,rpx1:Ce.rpx1,x0:Ce.x0,x1:Ce.x1,transform:Ce.transform},!Z&&_.isEntry(Ce)&&(Z=Ce)});var Q=function(Ce){return g.partition().size([2*Math.PI,Ce.height+1])(Ce)}(W).descendants(),re=W.height+1,ie=0,oe=j;F.hasMultipleRoots&&_.isHierarchyRoot(W)&&(Q=Q.slice(1),re-=1,ie=1,oe+=1),Q=Q.filter(function(Ce){return Ce.y1<=oe});var ue=s(B.rotation);ue&&Q.forEach(function(Ce){Ce.x0+=ue,Ce.x1+=ue});var ce=Math.min(re,j),ye=function(Ce){return(Ce-ie)/ce*H},de=function(Ce,ae){return[Ce*Math.cos(ae),-Ce*Math.sin(ae)]},me=function(Ce){return v.pathAnnulus(Ce.rpx0,Ce.rpx1,Ce.x0,Ce.x1,ne,te)},pe=function(Ce){return ne+E(Ce)[0]*(Ce.transform.rCenter||0)+(Ce.transform.x||0)},xe=function(Ce){return te+E(Ce)[1]*(Ce.transform.rCenter||0)+(Ce.transform.y||0)};(z=z.data(Q,_.getPtId)).enter().append("g").classed("slice",!0),O?z.exit().transition().each(function(){var Ce=d.select(this);Ce.select("path.surface").transition().attrTween("d",function(ae){var fe=function(be){var ke,Le=_.getPtId(be),Be=X[Le],ze=X[_.getPtId(W)];if(ze){var je=(be.x1>ze.x1?2*Math.PI:0)+ue;ke=be.rpx1Pe?2*Math.PI:0)+ue;Ee={x0:Ye,x1:Ye}}else Ee={rpx0:H,rpx1:H},v.extendFlat(Ee,Se(we));else Ee={rpx0:0,rpx1:0};else Ee={x0:ue,x1:ue};return i(Ee,$e)}(je);return function(we){return me(ge(we))}}):fe.attr("d",me),ae.call(y,W,x,A,{eventDataKeys:S.eventDataKeys,transitionTime:S.CLICK_TRANSITION_TIME,transitionEasing:S.CLICK_TRANSITION_EASING}).call(_.setSliceCursor,x,{hideOnRoot:!0,hideOnLeaves:!0,isTransitioning:x._transitioning}),fe.call(m,Ce,B);var be=v.ensureSingle(ae,"g","slicetext"),ke=v.ensureSingle(be,"text","",function(je){je.attr("data-notex",1)}),Le=v.ensureUniformFontSize(x,_.determineTextFont(B,Ce,I.font));ke.text(p.formatSliceLabel(Ce,W,B,A,I)).classed("slicetext",!0).attr("text-anchor","middle").call(M.font,Le).call(f.convertToTspans,x);var Be=M.bBox(ke.node());Ce.transform=h(Be,Ce,F),Ce.transform.targetX=pe(Ce),Ce.transform.targetY=xe(Ce);var ze=function(je,ge){var we=je.transform;return c(we,ge),we.fontSize=Le.size,a(B.type,we,I),v.getTextTransform(we)};O?ke.transition().attrTween("transform",function(je){var ge=function(we){var Ee,Ve=X[_.getPtId(we)],$e=we.transform;if(Ve)Ee=Ve;else if(Ee={rpx1:we.rpx1,transform:{textPosAngle:$e.textPosAngle,scale:0,rotate:$e.rotate,rCenter:$e.rCenter,x:$e.x,y:$e.y}},Z)if(we.parent)if(Pe){var Ye=we.x1>Pe?2*Math.PI:0;Ee.x0=Ee.x1=Ye}else v.extendFlat(Ee,Se(we));else Ee.x0=Ee.x1=ue;else Ee.x0=Ee.x1=ue;var st=i(Ee.transform.textPosAngle,we.transform.textPosAngle),ot=i(Ee.rpx1,we.rpx1),ht=i(Ee.x0,we.x0),bt=i(Ee.x1,we.x1),Et=i(Ee.transform.scale,$e.scale),kt=i(Ee.transform.rotate,$e.rotate),xt=$e.rCenter===0?3:Ee.transform.rCenter===0?1/3:1,Ft=i(Ee.transform.rCenter,$e.rCenter);return function(Ot){var Bt=ot(Ot),qt=ht(Ot),Vt=bt(Ot),Ke=function(qe){return Ft(Math.pow(qe,xt))}(Ot),Je={pxmid:de(Bt,(qt+Vt)/2),rpx1:Bt,transform:{textPosAngle:st(Ot),rCenter:Ke,x:$e.x,y:$e.y}};return a(B.type,$e,I),{transform:{targetX:pe(Je),targetY:xe(Je),scale:Et(Ot),rotate:kt(Ot),rCenter:Ke}}}}(je);return function(we){return ze(ge(we),Be)}}):ke.attr("transform",ze(Ce,Be))})}function E(x){return A=x.rpx1,L=x.transform.textPosAngle,[A*Math.sin(L),-A*Math.cos(L)];var A,L}p.plot=function(x,A,L,b){var R,I,O=x._fullLayout,z=O._sunburstlayer,F=!L,B=!O.uniformtext.mode&&_.hasTransition(L);u("sunburst",O),(R=z.selectAll("g.trace.sunburst").data(A,function(N){return N[0].trace.uid})).enter().append("g").classed("trace",!0).classed("sunburst",!0).attr("stroke-linejoin","round"),R.order(),B?(b&&(I=b()),d.transition().duration(L.duration).ease(L.easing).each("end",function(){I&&I()}).each("interrupt",function(){I&&I()}).each(function(){z.selectAll("g.trace").each(function(N){k(x,N,this,L)})})):(R.each(function(N){k(x,N,this,L)}),O.uniformtext.mode&&w(x,O._sunburstlayer.selectAll(".trace"),"sunburst")),F&&R.exit().remove()},p.formatSliceLabel=function(x,A,L,b,R){var I=L.texttemplate,O=L.textinfo;if(!(I||O&&O!=="none"))return"";var z=R.separators,F=b[0],B=x.data.data,N=F.hierarchy,W=_.isHierarchyRoot(x),j=_.getParent(N,x),$=_.getValue(x);if(!I){var U,G=O.split("+"),q=function(oe){return G.indexOf(oe)!==-1},H=[];if(q("label")&&B.label&&H.push(B.label),B.hasOwnProperty("v")&&q("value")&&H.push(_.formatValue(B.v,z)),!W){q("current path")&&H.push(_.getPath(x.data));var ne=0;q("percent parent")&&ne++,q("percent entry")&&ne++,q("percent root")&&ne++;var te=ne>1;if(ne){var Z,X=function(oe){U=_.formatPercent(Z,z),te&&(U+=" of "+oe),H.push(U)};q("percent parent")&&!W&&(Z=$/_.getValue(j),X("parent")),q("percent entry")&&(Z=$/_.getValue(A),X("entry")),q("percent root")&&(Z=$/_.getValue(N),X("root"))}}return q("text")&&(U=v.castOption(L,B.i,"text"),v.isValidTextValue(U)&&H.push(U)),H.join("
")}var Q=v.castOption(L,B.i,"texttemplate");if(!Q)return"";var re={};B.label&&(re.label=B.label),B.hasOwnProperty("v")&&(re.value=B.v,re.valueLabel=_.formatValue(B.v,z)),re.currentPath=_.getPath(x.data),W||(re.percentParent=$/_.getValue(j),re.percentParentLabel=_.formatPercent(re.percentParent,z),re.parent=_.getPtLabel(j)),re.percentEntry=$/_.getValue(A),re.percentEntryLabel=_.formatPercent(re.percentEntry,z),re.entry=_.getPtLabel(A),re.percentRoot=$/_.getValue(N),re.percentRootLabel=_.formatPercent(re.percentRoot,z),re.root=_.getPtLabel(N),B.hasOwnProperty("color")&&(re.color=B.color);var ie=v.castOption(L,B.i,"text");return(v.isValidTextValue(ie)||ie==="")&&(re.text=ie),re.customdata=v.castOption(L,B.i,"customdata"),v.texttemplateString(Q,re,R._d3locale,re,L._meta||{})}},29969:function(T,p,t){var d=t(39898),g=t(7901),i=t(71828),M=t(72597).resizeText;function v(f,l,a){var u=l.data.data,o=!l.children,s=u.i,c=i.castOption(a,s,"marker.line.color")||g.defaultLine,h=i.castOption(a,s,"marker.line.width")||0;f.style("stroke-width",h).call(g.fill,u.color).call(g.stroke,c).style("opacity",o?a.leaf.opacity:null)}T.exports={style:function(f){var l=f._fullLayout._sunburstlayer.selectAll(".trace");M(f,l,"sunburst"),l.each(function(a){var u=d.select(this),o=a[0].trace;u.style("opacity",o.opacity),u.selectAll("path.surface").each(function(s){d.select(this).call(v,s,o)})})},styleOne:v}},54532:function(T,p,t){var d=t(7901),g=t(50693),i=t(12663).axisHoverFormat,M=t(5386).fF,v=t(9012),f=t(1426).extendFlat,l=t(30962).overrideAll;function a(o){return{show:{valType:"boolean",dflt:!1},start:{valType:"number",dflt:null,editType:"plot"},end:{valType:"number",dflt:null,editType:"plot"},size:{valType:"number",dflt:null,min:0,editType:"plot"},project:{x:{valType:"boolean",dflt:!1},y:{valType:"boolean",dflt:!1},z:{valType:"boolean",dflt:!1}},color:{valType:"color",dflt:d.defaultLine},usecolormap:{valType:"boolean",dflt:!1},width:{valType:"number",min:1,max:16,dflt:2},highlight:{valType:"boolean",dflt:!0},highlightcolor:{valType:"color",dflt:d.defaultLine},highlightwidth:{valType:"number",min:1,max:16,dflt:2}}}var u=T.exports=l(f({z:{valType:"data_array"},x:{valType:"data_array"},y:{valType:"data_array"},text:{valType:"string",dflt:"",arrayOk:!0},hovertext:{valType:"string",dflt:"",arrayOk:!0},hovertemplate:M(),xhoverformat:i("x"),yhoverformat:i("y"),zhoverformat:i("z"),connectgaps:{valType:"boolean",dflt:!1,editType:"calc"},surfacecolor:{valType:"data_array"}},g("",{colorAttr:"z or surfacecolor",showScaleDflt:!0,autoColorDflt:!1,editTypeOverride:"calc"}),{contours:{x:a(),y:a(),z:a()},hidesurface:{valType:"boolean",dflt:!1},lightposition:{x:{valType:"number",min:-1e5,max:1e5,dflt:10},y:{valType:"number",min:-1e5,max:1e5,dflt:1e4},z:{valType:"number",min:-1e5,max:1e5,dflt:0}},lighting:{ambient:{valType:"number",min:0,max:1,dflt:.8},diffuse:{valType:"number",min:0,max:1,dflt:.8},specular:{valType:"number",min:0,max:2,dflt:.05},roughness:{valType:"number",min:0,max:1,dflt:.5},fresnel:{valType:"number",min:0,max:5,dflt:.2}},opacity:{valType:"number",min:0,max:1,dflt:1},opacityscale:{valType:"any",editType:"calc"},_deprecated:{zauto:f({},g.zauto,{}),zmin:f({},g.zmin,{}),zmax:f({},g.zmax,{})},hoverinfo:f({},v.hoverinfo),showlegend:f({},v.showlegend,{dflt:!1})}),"calc","nested");u.x.editType=u.y.editType=u.z.editType="calc+clearAxisTypes",u.transforms=void 0},18396:function(T,p,t){var d=t(78803);T.exports=function(g,i){i.surfacecolor?d(g,i,{vals:i.surfacecolor,containerStr:"",cLetter:"c"}):d(g,i,{vals:i.z,containerStr:"",cLetter:"c"})}},43768:function(T,p,t){var d=t(9330).gl_surface3d,g=t(9330).ndarray,i=t(9330).ndarray_linear_interpolate.d2,M=t(824),v=t(43907),f=t(71828).isArrayOrTypedArray,l=t(81697).parseColorScale,a=t(78614),u=t(21081).extractOpts;function o(L,b,R){this.scene=L,this.uid=R,this.surface=b,this.data=null,this.showContour=[!1,!1,!1],this.contourStart=[null,null,null],this.contourEnd=[null,null,null],this.contourSize=[0,0,0],this.minValues=[1/0,1/0,1/0],this.maxValues=[-1/0,-1/0,-1/0],this.dataScaleX=1,this.dataScaleY=1,this.refineData=!0,this.objectOffset=[0,0,0]}var s=o.prototype;s.getXat=function(L,b,R,I){var O=f(this.data.x)?f(this.data.x[0])?this.data.x[b][L]:this.data.x[L]:L;return R===void 0?O:I.d2l(O,0,R)},s.getYat=function(L,b,R,I){var O=f(this.data.y)?f(this.data.y[0])?this.data.y[b][L]:this.data.y[b]:b;return R===void 0?O:I.d2l(O,0,R)},s.getZat=function(L,b,R,I){var O=this.data.z[b][L];return O===null&&this.data.connectgaps&&this.data._interpolatedZ&&(O=this.data._interpolatedZ[b][L]),R===void 0?O:I.d2l(O,0,R)},s.handlePick=function(L){if(L.object===this.surface){var b=(L.data.index[0]-1)/this.dataScaleX-1,R=(L.data.index[1]-1)/this.dataScaleY-1,I=Math.max(Math.min(Math.round(b),this.data.z[0].length-1),0),O=Math.max(Math.min(Math.round(R),this.data._ylength-1),0);L.index=[I,O],L.traceCoordinate=[this.getXat(I,O),this.getYat(I,O),this.getZat(I,O)],L.dataCoordinate=[this.getXat(I,O,this.data.xcalendar,this.scene.fullSceneLayout.xaxis),this.getYat(I,O,this.data.ycalendar,this.scene.fullSceneLayout.yaxis),this.getZat(I,O,this.data.zcalendar,this.scene.fullSceneLayout.zaxis)];for(var z=0;z<3;z++)L.dataCoordinate[z]!=null&&(L.dataCoordinate[z]*=this.scene.dataScale[z]);var F=this.data.hovertext||this.data.text;return Array.isArray(F)&&F[O]&&F[O][I]!==void 0?L.textLabel=F[O][I]:L.textLabel=F||"",L.data.dataCoordinate=L.dataCoordinate.slice(),this.surface.highlight(L.data),this.scene.glplot.spikes.position=L.dataCoordinate,!0}};var c=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997,1009,1013,1019,1021,1031,1033,1039,1049,1051,1061,1063,1069,1087,1091,1093,1097,1103,1109,1117,1123,1129,1151,1153,1163,1171,1181,1187,1193,1201,1213,1217,1223,1229,1231,1237,1249,1259,1277,1279,1283,1289,1291,1297,1301,1303,1307,1319,1321,1327,1361,1367,1373,1381,1399,1409,1423,1427,1429,1433,1439,1447,1451,1453,1459,1471,1481,1483,1487,1489,1493,1499,1511,1523,1531,1543,1549,1553,1559,1567,1571,1579,1583,1597,1601,1607,1609,1613,1619,1621,1627,1637,1657,1663,1667,1669,1693,1697,1699,1709,1721,1723,1733,1741,1747,1753,1759,1777,1783,1787,1789,1801,1811,1823,1831,1847,1861,1867,1871,1873,1877,1879,1889,1901,1907,1913,1931,1933,1949,1951,1973,1979,1987,1993,1997,1999,2003,2011,2017,2027,2029,2039,2053,2063,2069,2081,2083,2087,2089,2099,2111,2113,2129,2131,2137,2141,2143,2153,2161,2179,2203,2207,2213,2221,2237,2239,2243,2251,2267,2269,2273,2281,2287,2293,2297,2309,2311,2333,2339,2341,2347,2351,2357,2371,2377,2381,2383,2389,2393,2399,2411,2417,2423,2437,2441,2447,2459,2467,2473,2477,2503,2521,2531,2539,2543,2549,2551,2557,2579,2591,2593,2609,2617,2621,2633,2647,2657,2659,2663,2671,2677,2683,2687,2689,2693,2699,2707,2711,2713,2719,2729,2731,2741,2749,2753,2767,2777,2789,2791,2797,2801,2803,2819,2833,2837,2843,2851,2857,2861,2879,2887,2897,2903,2909,2917,2927,2939,2953,2957,2963,2969,2971,2999];function h(L,b){if(L0){R=c[I];break}return R}function y(L,b){if(!(L<1||b<1)){for(var R=m(L),I=m(b),O=1,z=0;zk;)R--,R/=w(R),++R<_&&(R=k);var I=Math.round(R/L);return I>1?I:1},s.refineCoords=function(L){for(var b=this.dataScaleX,R=this.dataScaleY,I=L[0].shape[0],O=L[0].shape[1],z=0|Math.floor(L[0].shape[0]*b+1),F=0|Math.floor(L[0].shape[1]*R+1),B=1+I+1,N=1+O+1,W=g(new Float32Array(B*N),[B,N]),j=[1/b,0,0,0,1/R,0,0,0,1],$=0;$0&&this.contourStart[L]!==null&&this.contourEnd[L]!==null&&this.contourEnd[L]>this.contourStart[L]))for(O[L]=!0,b=this.contourStart[L];bO&&(this.minValues[b]=O),this.maxValues[b]",maxDimensionCount:60,overdrag:45,releaseTransitionDuration:120,releaseTransitionEase:"cubic-out",scrollbarCaptureWidth:18,scrollbarHideDelay:1e3,scrollbarHideDuration:1e3,scrollbarOffset:5,scrollbarWidth:8,transitionDuration:100,transitionEase:"cubic-out",uplift:5,wrapSpacer:" ",wrapSplitCharacter:" ",cn:{table:"table",tableControlView:"table-control-view",scrollBackground:"scroll-background",yColumn:"y-column",columnBlock:"column-block",scrollAreaClip:"scroll-area-clip",scrollAreaClipRect:"scroll-area-clip-rect",columnBoundary:"column-boundary",columnBoundaryClippath:"column-boundary-clippath",columnBoundaryRect:"column-boundary-rect",columnCells:"column-cells",columnCell:"column-cell",cellRect:"cell-rect",cellText:"cell-text",cellTextHolder:"cell-text-holder",scrollbarKit:"scrollbar-kit",scrollbar:"scrollbar",scrollbarSlider:"scrollbar-slider",scrollbarGlyph:"scrollbar-glyph",scrollbarCaptureZone:"scrollbar-capture-zone"}}},51018:function(T,p,t){var d=t(49850),g=t(1426).extendFlat,i=t(92770);function M(s){if(Array.isArray(s)){for(var c=0,h=0;h=c||E===s.length-1)&&(m[w]=S,S.key=k++,S.firstRowIndex=_,S.lastRowIndex=E,S={firstRowIndex:null,lastRowIndex:null,rows:[]},w+=y,_=E+1,y=0);return m}T.exports=function(s,c){var h=f(c.cells.values),m=function(W){return W.slice(c.header.values.length,W.length)},w=f(c.header.values);w.length&&!w[0].length&&(w[0]=[""],w=f(w));var y=w.concat(m(h).map(function(){return l((w[0]||[""]).length)})),S=c.domain,_=Math.floor(s._fullLayout._size.w*(S.x[1]-S.x[0])),k=Math.floor(s._fullLayout._size.h*(S.y[1]-S.y[0])),E=c.header.values.length?y[0].map(function(){return c.header.height}):[d.emptyHeaderHeight],x=h.length?h[0].map(function(){return c.cells.height}):[],A=E.reduce(v,0),L=o(x,k-A+d.uplift),b=u(o(E,A),[]),R=u(L,b),I={},O=c._fullInput.columnorder.concat(m(h.map(function(W,j){return j}))),z=y.map(function(W,j){var $=Array.isArray(c.columnwidth)?c.columnwidth[Math.min(j,c.columnwidth.length-1)]:c.columnwidth;return i($)?Number($):1}),F=z.reduce(v,0);z=z.map(function(W){return W/F*_});var B=Math.max(M(c.header.line.width),M(c.cells.line.width)),N={key:c.uid+s._context.staticPlot,translateX:S.x[0]*s._fullLayout._size.w,translateY:s._fullLayout._size.h*(1-S.y[1]),size:s._fullLayout._size,width:_,maxLineWidth:B,height:k,columnOrder:O,groupHeight:k,rowBlocks:R,headerRowBlocks:b,scrollY:0,cells:g({},c.cells,{values:h}),headerCells:g({},c.header,{values:y}),gdColumns:y.map(function(W){return W[0]}),gdColumnsOriginalOrder:y.map(function(W){return W[0]}),prevPages:[0,0],scrollbarState:{scrollbarScrollInProgress:!1},columns:y.map(function(W,j){var $=I[W];return I[W]=($||0)+1,{key:W+"__"+I[W],label:W,specIndex:j,xIndex:O[j],xScale:a,x:void 0,calcdata:void 0,columnWidth:z[j]}})};return N.columns.forEach(function(W){W.calcdata=N,W.x=a(W)}),N}},56269:function(T,p,t){var d=t(1426).extendFlat;p.splitToPanels=function(g){var i=[0,0],M=d({},g,{key:"header",type:"header",page:0,prevPages:i,currentRepaint:[null,null],dragHandle:!0,values:g.calcdata.headerCells.values[g.specIndex],rowBlocks:g.calcdata.headerRowBlocks,calcdata:d({},g.calcdata,{cells:g.calcdata.headerCells})});return[d({},g,{key:"cells1",type:"cells",page:0,prevPages:i,currentRepaint:[null,null],dragHandle:!1,values:g.calcdata.cells.values[g.specIndex],rowBlocks:g.calcdata.rowBlocks}),d({},g,{key:"cells2",type:"cells",page:1,prevPages:i,currentRepaint:[null,null],dragHandle:!1,values:g.calcdata.cells.values[g.specIndex],rowBlocks:g.calcdata.rowBlocks}),M]},p.splitToCells=function(g){var i=function(M){var v=M.rowBlocks[M.page],f=v?v.rows[0].rowIndex:0;return[f,v?f+v.rows.length:0]}(g);return(g.values||[]).slice(i[0],i[1]).map(function(M,v){return{keyWithinBlock:v+(typeof M=="string"&&M.match(/[<$&> ]/)?"_keybuster_"+Math.random():""),key:i[0]+v,column:g,calcdata:g.calcdata,page:g.page,rowBlocks:g.rowBlocks,value:M}})}},39754:function(T,p,t){var d=t(71828),g=t(44464),i=t(27670).c;T.exports=function(M,v,f,l){function a(u,o){return d.coerce(M,v,g,u,o)}i(v,l,a),a("columnwidth"),a("header.values"),a("header.format"),a("header.align"),a("header.prefix"),a("header.suffix"),a("header.height"),a("header.line.width"),a("header.line.color"),a("header.fill.color"),d.coerceFont(a,"header.font",d.extendFlat({},l.font)),function(u,o){for(var s=u.columnorder||[],c=u.header.values.length,h=s.slice(0,c),m=h.slice().sort(function(S,_){return S-_}),w=h.map(function(S){return m.indexOf(S)}),y=w.length;y/i),ue=!ie||oe;Z.mayHaveMarkup=ie&&re.match(/[<&>]/);var ce,ye=typeof(ce=re)=="string"&&ce.match(d.latexCheck);Z.latex=ye;var de,me,pe=ye?"":x(Z.calcdata.cells.prefix,X,Q)||"",xe=ye?"":x(Z.calcdata.cells.suffix,X,Q)||"",Pe=ye?null:x(Z.calcdata.cells.format,X,Q)||null,_e=pe+(Pe?i(Pe)(Z.value):Z.value)+xe;if(Z.wrappingNeeded=!Z.wrapped&&!ue&&!ye&&(de=E(_e)),Z.cellHeightMayIncrease=oe||ye||Z.mayHaveMarkup||(de===void 0?E(_e):de),Z.needsConvertToTspans=Z.mayHaveMarkup||Z.wrappingNeeded||Z.latex,Z.wrappingNeeded){var Me=(d.wrapSplitCharacter===" "?_e.replace(/
me&&de.push(pe),me+=_e}return de}(Z,ie,re);oe.length===1&&(oe[0]===Z.length-1?oe.unshift(oe[0]-1):oe.push(oe[0]+1)),oe[0]%2&&oe.reverse(),H.each(function(ue,ce){ue.page=oe[ce],ue.scrollY=ie}),H.attr("transform",function(ue){var ce=j(ue.rowBlocks,ue.page)-ue.scrollY;return a(0,ce)}),q&&(z(q,ne,H,oe,te.prevPages,te,0),z(q,ne,H,oe,te.prevPages,te,1),S(ne,q))}}function O(q,H,ne,te){return function(Z){var X=Z.calcdata?Z.calcdata:Z,Q=H.filter(function(ue){return X.key===ue.key}),re=ne||X.scrollbarState.dragMultiplier,ie=X.scrollY;X.scrollY=te===void 0?X.scrollY+re*g.event.dy:te;var oe=Q.selectAll("."+d.cn.yColumn).selectAll("."+d.cn.columnBlock).filter(L);return I(q,oe,Q),X.scrollY===ie}}function z(q,H,ne,te,Z,X,Q){te[Q]!==Z[Q]&&(clearTimeout(X.currentRepaint[Q]),X.currentRepaint[Q]=setTimeout(function(){var re=ne.filter(function(ie,oe){return oe===Q&&te[oe]!==Z[oe]});_(q,H,re,ne),Z[Q]=te[Q]}))}function F(q,H,ne,te){return function(){var Z=g.select(H.parentNode);Z.each(function(X){var Q=X.fragments;Z.selectAll("tspan.line").each(function(me,pe){Q[pe].width=this.getComputedTextLength()});var re,ie,oe=Q[Q.length-1].width,ue=Q.slice(0,-1),ce=[],ye=0,de=X.column.columnWidth-2*d.cellPad;for(X.value="";ue.length;)ye+(ie=(re=ue.shift()).width+oe)>de&&(X.value+=ce.join(d.wrapSpacer)+d.lineBreaker,ce=[],ye=0),ce.push(re.text),ye+=ie;ye&&(X.value+=ce.join(d.wrapSpacer)),X.wrapped=!0}),Z.selectAll("tspan.line").remove(),k(Z.select("."+d.cn.cellText),ne,q,te),g.select(H.parentNode.parentNode).call(W)}}function B(q,H,ne,te,Z){return function(){if(!Z.settledY){var X=g.select(H.parentNode),Q=G(Z),re=Z.key-Q.firstRowIndex,ie=Q.rows[re].rowHeight,oe=Z.cellHeightMayIncrease?H.parentNode.getBoundingClientRect().height+2*d.cellPad:ie,ue=Math.max(oe,ie);ue-Q.rows[re].rowHeight&&(Q.rows[re].rowHeight=ue,q.selectAll("."+d.cn.columnCell).call(W),I(null,q.filter(L),0),S(ne,te,!0)),X.attr("transform",function(){var ce=this,ye=ce.parentNode.getBoundingClientRect(),de=g.select(ce.parentNode).select("."+d.cn.cellRect).node().getBoundingClientRect(),me=ce.transform.baseVal.consolidate(),pe=de.top-ye.top+(me?me.matrix.f:d.cellPad);return a(N(Z,g.select(ce.parentNode).select("."+d.cn.cellTextHolder).node().getBoundingClientRect().width),pe)}),Z.settledY=!0}}}function N(q,H){switch(q.align){case"left":default:return d.cellPad;case"right":return q.column.columnWidth-(H||0)-d.cellPad;case"center":return(q.column.columnWidth-(H||0))/2}}function W(q){q.attr("transform",function(H){var ne=H.rowBlocks[0].auxiliaryBlocks.reduce(function(Z,X){return Z+$(X,1/0)},0),te=$(G(H),H.key);return a(0,te+ne)}).selectAll("."+d.cn.cellRect).attr("height",function(H){return(ne=G(H),te=H.key,ne.rows[te-ne.firstRowIndex]).rowHeight;var ne,te})}function j(q,H){for(var ne=0,te=H-1;te>=0;te--)ne+=U(q[te]);return ne}function $(q,H){for(var ne=0,te=0;te","<","|","/","\\"],dflt:">",editType:"plot"},thickness:{valType:"number",min:12,editType:"plot"},textfont:a({},v.textfont,{}),editType:"calc"},text:v.text,textinfo:f.textinfo,texttemplate:g({editType:"plot"},{keys:l.eventDataKeys.concat(["label","value"])}),hovertext:v.hovertext,hoverinfo:f.hoverinfo,hovertemplate:d({},{keys:l.eventDataKeys}),textfont:v.textfont,insidetextfont:v.insidetextfont,outsidetextfont:a({},v.outsidetextfont,{}),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],dflt:"top left",editType:"plot"},sort:v.sort,root:f.root,domain:M({name:"treemap",trace:!0,editType:"calc"})}},78018:function(T,p,t){var d=t(74875);p.name="treemap",p.plot=function(g,i,M,v){d.plotBasePlot(p.name,g,i,M,v)},p.clean=function(g,i,M,v){d.cleanBasePlot(p.name,g,i,M,v)}},65039:function(T,p,t){var d=t(52147);p.y=function(g,i){return d.calc(g,i)},p.T=function(g){return d._runCrossTraceCalc("treemap",g)}},43473:function(T){T.exports={CLICK_TRANSITION_TIME:750,CLICK_TRANSITION_EASING:"poly",eventDataKeys:["currentPath","root","entry","percentRoot","percentEntry","percentParent"],gapWithPathbar:1}},91174:function(T,p,t){var d=t(71828),g=t(45802),i=t(7901),M=t(27670).c,v=t(90769).handleText,f=t(97313).TEXTPAD,l=t(21081),a=l.hasColorscale,u=l.handleDefaults;T.exports=function(o,s,c,h){function m(L,b){return d.coerce(o,s,g,L,b)}var w=m("labels"),y=m("parents");if(w&&w.length&&y&&y.length){var S=m("values");S&&S.length?m("branchvalues"):m("count"),m("level"),m("maxdepth"),m("tiling.packing")==="squarify"&&m("tiling.squarifyratio"),m("tiling.flip"),m("tiling.pad");var _=m("text");m("texttemplate"),s.texttemplate||m("textinfo",Array.isArray(_)?"text+label":"label"),m("hovertext"),m("hovertemplate");var k=m("pathbar.visible");v(o,s,h,m,"auto",{hasPathbar:k,moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),m("textposition");var E=s.textposition.indexOf("bottom")!==-1;m("marker.line.width")&&m("marker.line.color",h.paper_bgcolor);var x=m("marker.colors");(s._hasColorscale=a(o,"marker","colors")||(o.marker||{}).coloraxis)?u(o,s,h,m,{prefix:"marker.",cLetter:"c"}):m("marker.depthfade",!(x||[]).length);var A=2*s.textfont.size;m("marker.pad.t",E?A/4:A),m("marker.pad.l",A/4),m("marker.pad.r",A/4),m("marker.pad.b",E?A:A/4),m("marker.cornerradius"),s._hovered={marker:{line:{width:2,color:i.contrast(h.paper_bgcolor)}}},k&&(m("pathbar.thickness",s.pathbar.textfont.size+2*f),m("pathbar.side"),m("pathbar.edgeshape")),m("sort"),m("root.color"),M(s,h,m),s._length=null}else s.visible=!1}},80694:function(T,p,t){var d=t(39898),g=t(2791),i=t(72597).clearMinTextSize,M=t(16688).resizeText,v=t(46650);T.exports=function(f,l,a,u,o){var s,c,h=o.type,m=o.drawDescendants,w=f._fullLayout,y=w["_"+h+"layer"],S=!a;i(h,w),(s=y.selectAll("g.trace."+h).data(l,function(_){return _[0].trace.uid})).enter().append("g").classed("trace",!0).classed(h,!0),s.order(),!w.uniformtext.mode&&g.hasTransition(a)?(u&&(c=u()),d.transition().duration(a.duration).ease(a.easing).each("end",function(){c&&c()}).each("interrupt",function(){c&&c()}).each(function(){y.selectAll("g.trace").each(function(_){v(f,_,this,a,m)})})):(s.each(function(_){v(f,_,this,a,m)}),w.uniformtext.mode&&M(f,y.selectAll(".trace"),h)),S&&s.exit().remove()}},66209:function(T,p,t){var d=t(39898),g=t(71828),i=t(91424),M=t(63893),v=t(37210),f=t(96362).styleOne,l=t(43473),a=t(2791),u=t(83523),o=!0;T.exports=function(s,c,h,m,w){var y=w.barDifY,S=w.width,_=w.height,k=w.viewX,E=w.viewY,x=w.pathSlice,A=w.toMoveInsideSlice,L=w.strTransform,b=w.hasTransition,R=w.handleSlicesExit,I=w.makeUpdateSliceInterpolator,O=w.makeUpdateTextInterpolator,z={},F=s._context.staticPlot,B=s._fullLayout,N=c[0],W=N.trace,j=N.hierarchy,$=S/W._entryDepth,U=a.listPath(h.data,"id"),G=v(j.copy(),[S,_],{packing:"dice",pad:{inner:0,top:0,left:0,right:0,bottom:0}}).descendants();(G=G.filter(function(H){var ne=U.indexOf(H.data.id);return ne!==-1&&(H.x0=$*ne,H.x1=$*(ne+1),H.y0=y,H.y1=y+_,H.onPathbar=!0,!0)})).reverse(),(m=m.data(G,a.getPtId)).enter().append("g").classed("pathbar",!0),R(m,o,z,[S,_],x),m.order();var q=m;b&&(q=q.transition().each("end",function(){var H=d.select(this);a.setSliceCursor(H,s,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:!1})})),q.each(function(H){H._x0=k(H.x0),H._x1=k(H.x1),H._y0=E(H.y0),H._y1=E(H.y1),H._hoverX=k(H.x1-Math.min(S,_)/2),H._hoverY=E(H.y1-_/2);var ne=d.select(this),te=g.ensureSingle(ne,"path","surface",function(re){re.style("pointer-events",F?"none":"all")});b?te.transition().attrTween("d",function(re){var ie=I(re,o,z,[S,_]);return function(oe){return x(ie(oe))}}):te.attr("d",x),ne.call(u,h,s,c,{styleOne:f,eventDataKeys:l.eventDataKeys,transitionTime:l.CLICK_TRANSITION_TIME,transitionEasing:l.CLICK_TRANSITION_EASING}).call(a.setSliceCursor,s,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:s._transitioning}),te.call(f,H,W,{hovered:!1}),H._text=(a.getPtLabel(H)||"").split("
").join(" ")||"";var Z=g.ensureSingle(ne,"g","slicetext"),X=g.ensureSingle(Z,"text","",function(re){re.attr("data-notex",1)}),Q=g.ensureUniformFontSize(s,a.determineTextFont(W,H,B.font,{onPathbar:!0}));X.text(H._text||" ").classed("slicetext",!0).attr("text-anchor","start").call(i.font,Q).call(M.convertToTspans,s),H.textBB=i.bBox(X.node()),H.transform=A(H,{fontSize:Q.size,onPathbar:!0}),H.transform.fontSize=Q.size,b?X.transition().attrTween("transform",function(re){var ie=O(re,o,z,[S,_]);return function(oe){return L(ie(oe))}}):X.attr("transform",L(H))})}},52583:function(T,p,t){var d=t(39898),g=t(71828),i=t(91424),M=t(63893),v=t(37210),f=t(96362).styleOne,l=t(43473),a=t(2791),u=t(83523),o=t(24714).formatSliceLabel,s=!1;T.exports=function(c,h,m,w,y){var S=y.width,_=y.height,k=y.viewX,E=y.viewY,x=y.pathSlice,A=y.toMoveInsideSlice,L=y.strTransform,b=y.hasTransition,R=y.handleSlicesExit,I=y.makeUpdateSliceInterpolator,O=y.makeUpdateTextInterpolator,z=y.prevEntry,F=c._context.staticPlot,B=c._fullLayout,N=h[0].trace,W=N.textposition.indexOf("left")!==-1,j=N.textposition.indexOf("right")!==-1,$=N.textposition.indexOf("bottom")!==-1,U=!$&&!N.marker.pad.t||$&&!N.marker.pad.b,G=v(m,[S,_],{packing:N.tiling.packing,squarifyratio:N.tiling.squarifyratio,flipX:N.tiling.flip.indexOf("x")>-1,flipY:N.tiling.flip.indexOf("y")>-1,pad:{inner:N.tiling.pad,top:N.marker.pad.t,left:N.marker.pad.l,right:N.marker.pad.r,bottom:N.marker.pad.b}}).descendants(),q=1/0,H=-1/0;G.forEach(function(Q){var re=Q.depth;re>=N._maxDepth?(Q.x0=Q.x1=(Q.x0+Q.x1)/2,Q.y0=Q.y1=(Q.y0+Q.y1)/2):(q=Math.min(q,re),H=Math.max(H,re))}),w=w.data(G,a.getPtId),N._maxVisibleLayers=isFinite(H)?H-q+1:0,w.enter().append("g").classed("slice",!0),R(w,s,{},[S,_],x),w.order();var ne=null;if(b&&z){var te=a.getPtId(z);w.each(function(Q){ne===null&&a.getPtId(Q)===te&&(ne={x0:Q.x0,x1:Q.x1,y0:Q.y0,y1:Q.y1})})}var Z=function(){return ne||{x0:0,x1:S,y0:0,y1:_}},X=w;return b&&(X=X.transition().each("end",function(){var Q=d.select(this);a.setSliceCursor(Q,c,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})})),X.each(function(Q){var re=a.isHeader(Q,N);Q._x0=k(Q.x0),Q._x1=k(Q.x1),Q._y0=E(Q.y0),Q._y1=E(Q.y1),Q._hoverX=k(Q.x1-N.marker.pad.r),Q._hoverY=E($?Q.y1-N.marker.pad.b/2:Q.y0+N.marker.pad.t/2);var ie=d.select(this),oe=g.ensureSingle(ie,"path","surface",function(de){de.style("pointer-events",F?"none":"all")});b?oe.transition().attrTween("d",function(de){var me=I(de,s,Z(),[S,_]);return function(pe){return x(me(pe))}}):oe.attr("d",x),ie.call(u,m,c,h,{styleOne:f,eventDataKeys:l.eventDataKeys,transitionTime:l.CLICK_TRANSITION_TIME,transitionEasing:l.CLICK_TRANSITION_EASING}).call(a.setSliceCursor,c,{isTransitioning:c._transitioning}),oe.call(f,Q,N,{hovered:!1}),Q.x0===Q.x1||Q.y0===Q.y1?Q._text="":Q._text=re?U?"":a.getPtLabel(Q)||"":o(Q,m,N,h,B)||"";var ue=g.ensureSingle(ie,"g","slicetext"),ce=g.ensureSingle(ue,"text","",function(de){de.attr("data-notex",1)}),ye=g.ensureUniformFontSize(c,a.determineTextFont(N,Q,B.font));ce.text(Q._text||" ").classed("slicetext",!0).attr("text-anchor",j?"end":W||re?"start":"middle").call(i.font,ye).call(M.convertToTspans,c),Q.textBB=i.bBox(ce.node()),Q.transform=A(Q,{fontSize:ye.size,isHeader:re}),Q.transform.fontSize=ye.size,b?ce.transition().attrTween("transform",function(de){var me=O(de,s,Z(),[S,_]);return function(pe){return L(me(pe))}}):ce.attr("transform",L(Q))}),ne}},14102:function(T){T.exports=function p(t,d,g){var i;g.swapXY&&(i=t.x0,t.x0=t.y0,t.y0=i,i=t.x1,t.x1=t.y1,t.y1=i),g.flipX&&(i=t.x0,t.x0=d[0]-t.x1,t.x1=d[0]-i),g.flipY&&(i=t.y0,t.y0=d[1]-t.y1,t.y1=d[1]-i);var M=t.children;if(M)for(var v=0;v-1?N+$:-(j+$):0,G={x0:W,x1:W,y0:U,y1:U+j},q=function(ge,we,Ee){var Ve=_.tiling.pad,$e=function(ht){return ht-Ve<=we.x0},Ye=function(ht){return ht+Ve>=we.x1},st=function(ht){return ht-Ve<=we.y0},ot=function(ht){return ht+Ve>=we.y1};return ge.x0===we.x0&&ge.x1===we.x1&&ge.y0===we.y0&&ge.y1===we.y1?{x0:ge.x0,x1:ge.x1,y0:ge.y0,y1:ge.y1}:{x0:$e(ge.x0-Ve)?0:Ye(ge.x0-Ve)?Ee[0]:ge.x0,x1:$e(ge.x1+Ve)?0:Ye(ge.x1+Ve)?Ee[0]:ge.x1,y0:st(ge.y0-Ve)?0:ot(ge.y0-Ve)?Ee[1]:ge.y0,y1:st(ge.y1+Ve)?0:ot(ge.y1+Ve)?Ee[1]:ge.y1}},H=null,ne={},te={},Z=null,X=function(ge,we){return we?ne[o(ge)]:te[o(ge)]};S.hasMultipleRoots&&R&&O++,_._maxDepth=O,_._backgroundColor=y.paper_bgcolor,_._entryDepth=x.data.depth,_._atRootLevel=R;var Q=-B/2+z.l+z.w*(F.x[1]+F.x[0])/2,re=-N/2+z.t+z.h*(1-(F.y[1]+F.y[0])/2),ie=function(ge){return Q+ge},oe=function(ge){return re+ge},ue=oe(0),ce=ie(0),ye=function(ge){return ce+ge},de=function(ge){return ue+ge};function me(ge,we){return ge+","+we}var pe=ye(0),xe=function(ge){ge.x=Math.max(pe,ge.x)},Pe=_.pathbar.edgeshape,_e=_[k?"tiling":"marker"].pad,Me=function(ge){return _.textposition.indexOf(ge)!==-1},Se=Me("top"),Ce=Me("left"),ae=Me("right"),fe=Me("bottom"),be=function(ge,we){var Ee=ge.x0,Ve=ge.x1,$e=ge.y0,Ye=ge.y1,st=ge.textBB,ot=Se||we.isHeader&&!fe?"start":fe?"end":"middle",ht=Me("right"),bt=Me("left")||we.onPathbar?-1:ht?1:0;if(we.isHeader){if((Ee+=(k?_e:_e.l)-v)>=(Ve-=(k?_e:_e.r)-v)){var Et=(Ee+Ve)/2;Ee=Et,Ve=Et}var kt;fe?$e<(kt=Ye-(k?_e:_e.b))&&kt"?(ht.x-=Ye,bt.x-=Ye,Et.x-=Ye,kt.x-=Ye):Pe==="/"?(Et.x-=Ye,kt.x-=Ye,st.x-=Ye/2,ot.x-=Ye/2):Pe==="\\"?(ht.x-=Ye,bt.x-=Ye,st.x-=Ye/2,ot.x-=Ye/2):Pe==="<"&&(st.x-=Ye,ot.x-=Ye),xe(ht),xe(kt),xe(st),xe(bt),xe(Et),xe(ot),"M"+me(ht.x,ht.y)+"L"+me(bt.x,bt.y)+"L"+me(ot.x,ot.y)+"L"+me(Et.x,Et.y)+"L"+me(kt.x,kt.y)+"L"+me(st.x,st.y)+"Z"},toMoveInsideSlice:be,makeUpdateSliceInterpolator:Le,makeUpdateTextInterpolator:Be,handleSlicesExit:ze,hasTransition:I,strTransform:je}):L.remove()}},96362:function(T,p,t){var d=t(39898),g=t(7901),i=t(71828),M=t(2791),v=t(72597).resizeText;function f(l,a,u,o){var s,c,h=(o||{}).hovered,m=a.data.data,w=m.i,y=m.color,S=M.isHierarchyRoot(a),_=1;if(h)s=u._hovered.marker.line.color,c=u._hovered.marker.line.width;else if(S&&y===u.root.color)_=100,s="rgba(0,0,0,0)",c=0;else if(s=i.castOption(u,w,"marker.line.color")||g.defaultLine,c=i.castOption(u,w,"marker.line.width")||0,!u._hasColorscale&&!a.onPathbar){var k=u.marker.depthfade;if(k){var E,x=g.combine(g.addOpacity(u._backgroundColor,.75),y);if(k===!0){var A=M.getMaxDepth(u);E=isFinite(A)?M.isLeaf(a)?0:u._maxVisibleLayers-(a.data.depth-u._entryDepth):a.data.height+1}else E=a.data.depth-u._entryDepth,u._atRootLevel||E++;if(E>0)for(var L=0;L0){var x,A,L,b,R,I=f.xa,O=f.ya;w.orientation==="h"?(R=l,x="y",L=O,A="x",b=I):(R=a,x="x",L=I,A="y",b=O);var z=m[f.index];if(R>=z.span[0]&&R<=z.span[1]){var F=g.extendFlat({},f),B=b.c2p(R,!0),N=v.getKdeValue(z,w,R),W=v.getPositionOnKdePath(z,w,B),j=L._offset,$=L._length;F[x+"0"]=W[0],F[x+"1"]=W[1],F[A+"0"]=F[A+"1"]=B,F[A+"Label"]=A+": "+i.hoverLabelText(b,R,w[A+"hoverformat"])+", "+m[0].t.labels.kde+" "+N.toFixed(3);for(var U=0,G=0;G")),c.color=function(O,z){var F=O[z.dir].marker,B=F.color,N=F.line.color,W=F.line.width;return g(B)?B:g(N)&&W?N:void 0}(m,_),[c]}function I(O){return d(S,O,m[y+"hoverformat"])}}},19990:function(T,p,t){T.exports={attributes:t(43037),layoutAttributes:t(13494),supplyDefaults:t(83266).supplyDefaults,crossTraceDefaults:t(83266).crossTraceDefaults,supplyLayoutDefaults:t(5176),calc:t(52752),crossTraceCalc:t(70766),plot:t(30436),style:t(55750).style,hoverPoints:t(61326),eventData:t(58593),selectPoints:t(81974),moduleType:"trace",name:"waterfall",basePlotModule:t(93612),categories:["bar-like","cartesian","svg","oriented","showLegend","zoomScale"],meta:{}}},13494:function(T){T.exports={waterfallmode:{valType:"enumerated",values:["group","overlay"],dflt:"group",editType:"calc"},waterfallgap:{valType:"number",min:0,max:1,editType:"calc"},waterfallgroupgap:{valType:"number",min:0,max:1,dflt:0,editType:"calc"}}},5176:function(T,p,t){var d=t(71828),g=t(13494);T.exports=function(i,M,v){var f=!1;function l(o,s){return d.coerce(i,M,g,o,s)}for(var a=0;a0&&(N+=A?"M"+F[0]+","+B[1]+"V"+B[0]:"M"+F[1]+","+B[0]+"H"+F[0]),L!=="between"&&(I.isSum||O path").each(function(w){if(!w.isBlank){var y=m[w.dir].marker;d.select(this).call(i.fill,y.color).call(i.stroke,y.line.color).call(g.dashLine,y.line.dash,y.line.width).style("opacity",m.selectedpoints&&!w.selected?M:1)}}),l(h,m,a),h.selectAll(".lines").each(function(){var w=m.connector.line;g.lineGroupStyle(d.select(this).selectAll("path"),w.width,w.color,w.dash)})})}}},82887:function(T,p,t){var d=t(89298),g=t(71828),i=t(86281),M=t(79344).p,v=t(50606).BADNUM;p.moduleType="transform",p.name="aggregate";var f=p.attributes={enabled:{valType:"boolean",dflt:!0,editType:"calc"},groups:{valType:"string",strict:!0,noBlank:!0,arrayOk:!0,dflt:"x",editType:"calc"},aggregations:{_isLinkedToArray:"aggregation",target:{valType:"string",editType:"calc"},func:{valType:"enumerated",values:["count","sum","avg","median","mode","rms","stddev","min","max","first","last","change","range"],dflt:"first",editType:"calc"},funcmode:{valType:"enumerated",values:["sample","population"],dflt:"sample",editType:"calc"},enabled:{valType:"boolean",dflt:!0,editType:"calc"},editType:"calc"},editType:"calc"},l=f.aggregations;function a(c,h,m,w){if(w.enabled){for(var y=w.target,S=g.nestedProperty(h,y),_=S.get(),k=function(A,L){var b=A.func,R=L.d2c,I=L.c2d;switch(b){case"count":return u;case"first":return o;case"last":return s;case"sum":return function(O,z){for(var F=0,B=0;BB&&(B=$,N=j)}}return B?I(N):v};case"rms":return function(O,z){for(var F=0,B=0,N=0;N":return function(H){return q(H)>U};case">=":return function(H){return q(H)>=U};case"[]":return function(H){var ne=q(H);return ne>=U[0]&&ne<=U[1]};case"()":return function(H){var ne=q(H);return ne>U[0]&&ne=U[0]&&neU[0]&&ne<=U[1]};case"][":return function(H){var ne=q(H);return ne<=U[0]||ne>=U[1]};case")(":return function(H){var ne=q(H);return neU[1]};case"](":return function(H){var ne=q(H);return ne<=U[0]||ne>U[1]};case")[":return function(H){var ne=q(H);return ne=U[1]};case"{}":return function(H){return U.indexOf(q(H))!==-1};case"}{":return function(H){return U.indexOf(q(H))===-1}}}(s,i.getDataToCoordFunc(u,o,h,c),w),A={},L={},b=0;S?(k=function(z){A[z.astr]=d.extendDeep([],z.get()),z.set(new Array(m))},E=function(z,F){var B=A[z.astr][F];z.get()[F]=B}):(k=function(z){A[z.astr]=d.extendDeep([],z.get()),z.set([])},E=function(z,F){var B=A[z.astr][F];z.get().push(B)}),O(k);for(var R=M(o.transforms,s),I=0;I1?"%{group} (%{trace})":"%{group}");var c=f.styles,h=o.styles=[];if(c)for(u=0;uk)throw new RangeError('The value "'+ge+'" is invalid for option "size"');var we=new Uint8Array(ge);return Object.setPrototypeOf(we,x.prototype),we}function x(ge,we,Ee){if(typeof ge=="number"){if(typeof we=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return b(ge)}return A(ge,we,Ee)}function A(ge,we,Ee){if(typeof ge=="string")return function(Ye,st){if(typeof st=="string"&&st!==""||(st="utf8"),!x.isEncoding(st))throw new TypeError("Unknown encoding: "+st);var ot=0|z(Ye,st),ht=E(ot),bt=ht.write(Ye,st);return bt!==ot&&(ht=ht.slice(0,bt)),ht}(ge,we);if(ArrayBuffer.isView(ge))return function(Ye){if(ke(Ye,Uint8Array)){var st=new Uint8Array(Ye);return I(st.buffer,st.byteOffset,st.byteLength)}return R(Ye)}(ge);if(ge==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+w(ge));if(ke(ge,ArrayBuffer)||ge&&ke(ge.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(ke(ge,SharedArrayBuffer)||ge&&ke(ge.buffer,SharedArrayBuffer)))return I(ge,we,Ee);if(typeof ge=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var Ve=ge.valueOf&&ge.valueOf();if(Ve!=null&&Ve!==ge)return x.from(Ve,we,Ee);var $e=function(Ye){if(x.isBuffer(Ye)){var st=0|O(Ye.length),ot=E(st);return ot.length===0||Ye.copy(ot,0,0,st),ot}return Ye.length!==void 0?typeof Ye.length!="number"||Le(Ye.length)?E(0):R(Ye):Ye.type==="Buffer"&&Array.isArray(Ye.data)?R(Ye.data):void 0}(ge);if($e)return $e;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof ge[Symbol.toPrimitive]=="function")return x.from(ge[Symbol.toPrimitive]("string"),we,Ee);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+w(ge))}function L(ge){if(typeof ge!="number")throw new TypeError('"size" argument must be of type number');if(ge<0)throw new RangeError('The value "'+ge+'" is invalid for option "size"')}function b(ge){return L(ge),E(ge<0?0:0|O(ge))}function R(ge){for(var we=ge.length<0?0:0|O(ge.length),Ee=E(we),Ve=0;Ve=k)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+k.toString(16)+" bytes");return 0|ge}function z(ge,we){if(x.isBuffer(ge))return ge.length;if(ArrayBuffer.isView(ge)||ke(ge,ArrayBuffer))return ge.byteLength;if(typeof ge!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+w(ge));var Ee=ge.length,Ve=arguments.length>2&&arguments[2]===!0;if(!Ve&&Ee===0)return 0;for(var $e=!1;;)switch(we){case"ascii":case"latin1":case"binary":return Ee;case"utf8":case"utf-8":return ae(ge).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*Ee;case"hex":return Ee>>>1;case"base64":return fe(ge).length;default:if($e)return Ve?-1:ae(ge).length;we=(""+we).toLowerCase(),$e=!0}}function F(ge,we,Ee){var Ve=!1;if((we===void 0||we<0)&&(we=0),we>this.length||((Ee===void 0||Ee>this.length)&&(Ee=this.length),Ee<=0)||(Ee>>>=0)<=(we>>>=0))return"";for(ge||(ge="utf8");;)switch(ge){case"hex":return Q(this,we,Ee);case"utf8":case"utf-8":return ne(this,we,Ee);case"ascii":return Z(this,we,Ee);case"latin1":case"binary":return X(this,we,Ee);case"base64":return H(this,we,Ee);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return re(this,we,Ee);default:if(Ve)throw new TypeError("Unknown encoding: "+ge);ge=(ge+"").toLowerCase(),Ve=!0}}function B(ge,we,Ee){var Ve=ge[we];ge[we]=ge[Ee],ge[Ee]=Ve}function N(ge,we,Ee,Ve,$e){if(ge.length===0)return-1;if(typeof Ee=="string"?(Ve=Ee,Ee=0):Ee>2147483647?Ee=2147483647:Ee<-2147483648&&(Ee=-2147483648),Le(Ee=+Ee)&&(Ee=$e?0:ge.length-1),Ee<0&&(Ee=ge.length+Ee),Ee>=ge.length){if($e)return-1;Ee=ge.length-1}else if(Ee<0){if(!$e)return-1;Ee=0}if(typeof we=="string"&&(we=x.from(we,Ve)),x.isBuffer(we))return we.length===0?-1:W(ge,we,Ee,Ve,$e);if(typeof we=="number")return we&=255,typeof Uint8Array.prototype.indexOf=="function"?$e?Uint8Array.prototype.indexOf.call(ge,we,Ee):Uint8Array.prototype.lastIndexOf.call(ge,we,Ee):W(ge,[we],Ee,Ve,$e);throw new TypeError("val must be string, number or Buffer")}function W(ge,we,Ee,Ve,$e){var Ye,st=1,ot=ge.length,ht=we.length;if(Ve!==void 0&&((Ve=String(Ve).toLowerCase())==="ucs2"||Ve==="ucs-2"||Ve==="utf16le"||Ve==="utf-16le")){if(ge.length<2||we.length<2)return-1;st=2,ot/=2,ht/=2,Ee/=2}function bt(Ft,Ot){return st===1?Ft[Ot]:Ft.readUInt16BE(Ot*st)}if($e){var Et=-1;for(Ye=Ee;Yeot&&(Ee=ot-ht),Ye=Ee;Ye>=0;Ye--){for(var kt=!0,xt=0;xt$e&&(Ve=$e):Ve=$e;var Ye,st=we.length;for(Ve>st/2&&(Ve=st/2),Ye=0;Ye>8,ht=st%256,bt.push(ht),bt.push(ot);return bt}(we,ge.length-Ee),ge,Ee,Ve)}function H(ge,we,Ee){return we===0&&Ee===ge.length?y.fromByteArray(ge):y.fromByteArray(ge.slice(we,Ee))}function ne(ge,we,Ee){Ee=Math.min(ge.length,Ee);for(var Ve=[],$e=we;$e239?4:Ye>223?3:Ye>191?2:1;if($e+ot<=Ee){var ht=void 0,bt=void 0,Et=void 0,kt=void 0;switch(ot){case 1:Ye<128&&(st=Ye);break;case 2:(192&(ht=ge[$e+1]))==128&&(kt=(31&Ye)<<6|63&ht)>127&&(st=kt);break;case 3:ht=ge[$e+1],bt=ge[$e+2],(192&ht)==128&&(192&bt)==128&&(kt=(15&Ye)<<12|(63&ht)<<6|63&bt)>2047&&(kt<55296||kt>57343)&&(st=kt);break;case 4:ht=ge[$e+1],bt=ge[$e+2],Et=ge[$e+3],(192&ht)==128&&(192&bt)==128&&(192&Et)==128&&(kt=(15&Ye)<<18|(63&ht)<<12|(63&bt)<<6|63&Et)>65535&&kt<1114112&&(st=kt)}}st===null?(st=65533,ot=1):st>65535&&(st-=65536,Ve.push(st>>>10&1023|55296),st=56320|1023&st),Ve.push(st),$e+=ot}return function(xt){var Ft=xt.length;if(Ft<=te)return String.fromCharCode.apply(String,xt);for(var Ot="",Bt=0;Bt"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(x.prototype,"parent",{enumerable:!0,get:function(){if(x.isBuffer(this))return this.buffer}}),Object.defineProperty(x.prototype,"offset",{enumerable:!0,get:function(){if(x.isBuffer(this))return this.byteOffset}}),x.poolSize=8192,x.from=function(ge,we,Ee){return A(ge,we,Ee)},Object.setPrototypeOf(x.prototype,Uint8Array.prototype),Object.setPrototypeOf(x,Uint8Array),x.alloc=function(ge,we,Ee){return function(Ve,$e,Ye){return L(Ve),Ve<=0?E(Ve):$e!==void 0?typeof Ye=="string"?E(Ve).fill($e,Ye):E(Ve).fill($e):E(Ve)}(ge,we,Ee)},x.allocUnsafe=function(ge){return b(ge)},x.allocUnsafeSlow=function(ge){return b(ge)},x.isBuffer=function(ge){return ge!=null&&ge._isBuffer===!0&&ge!==x.prototype},x.compare=function(ge,we){if(ke(ge,Uint8Array)&&(ge=x.from(ge,ge.offset,ge.byteLength)),ke(we,Uint8Array)&&(we=x.from(we,we.offset,we.byteLength)),!x.isBuffer(ge)||!x.isBuffer(we))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ge===we)return 0;for(var Ee=ge.length,Ve=we.length,$e=0,Ye=Math.min(Ee,Ve);$eVe.length?(x.isBuffer(Ye)||(Ye=x.from(Ye)),Ye.copy(Ve,$e)):Uint8Array.prototype.set.call(Ve,Ye,$e);else{if(!x.isBuffer(Ye))throw new TypeError('"list" argument must be an Array of Buffers');Ye.copy(Ve,$e)}$e+=Ye.length}return Ve},x.byteLength=z,x.prototype._isBuffer=!0,x.prototype.swap16=function(){var ge=this.length;if(ge%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var we=0;wewe&&(ge+=" ... "),""},_&&(x.prototype[_]=x.prototype.inspect),x.prototype.compare=function(ge,we,Ee,Ve,$e){if(ke(ge,Uint8Array)&&(ge=x.from(ge,ge.offset,ge.byteLength)),!x.isBuffer(ge))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+w(ge));if(we===void 0&&(we=0),Ee===void 0&&(Ee=ge?ge.length:0),Ve===void 0&&(Ve=0),$e===void 0&&($e=this.length),we<0||Ee>ge.length||Ve<0||$e>this.length)throw new RangeError("out of range index");if(Ve>=$e&&we>=Ee)return 0;if(Ve>=$e)return-1;if(we>=Ee)return 1;if(this===ge)return 0;for(var Ye=($e>>>=0)-(Ve>>>=0),st=(Ee>>>=0)-(we>>>=0),ot=Math.min(Ye,st),ht=this.slice(Ve,$e),bt=ge.slice(we,Ee),Et=0;Et>>=0,isFinite(Ee)?(Ee>>>=0,Ve===void 0&&(Ve="utf8")):(Ve=Ee,Ee=void 0)}var $e=this.length-we;if((Ee===void 0||Ee>$e)&&(Ee=$e),ge.length>0&&(Ee<0||we<0)||we>this.length)throw new RangeError("Attempt to write outside buffer bounds");Ve||(Ve="utf8");for(var Ye=!1;;)switch(Ve){case"hex":return j(this,ge,we,Ee);case"utf8":case"utf-8":return $(this,ge,we,Ee);case"ascii":case"latin1":case"binary":return U(this,ge,we,Ee);case"base64":return G(this,ge,we,Ee);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return q(this,ge,we,Ee);default:if(Ye)throw new TypeError("Unknown encoding: "+Ve);Ve=(""+Ve).toLowerCase(),Ye=!0}},x.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var te=4096;function Z(ge,we,Ee){var Ve="";Ee=Math.min(ge.length,Ee);for(var $e=we;$eVe)&&(Ee=Ve);for(var $e="",Ye=we;YeEe)throw new RangeError("Trying to access beyond buffer length")}function oe(ge,we,Ee,Ve,$e,Ye){if(!x.isBuffer(ge))throw new TypeError('"buffer" argument must be a Buffer instance');if(we>$e||wege.length)throw new RangeError("Index out of range")}function ue(ge,we,Ee,Ve,$e){_e(we,Ve,$e,ge,Ee,7);var Ye=Number(we&BigInt(4294967295));ge[Ee++]=Ye,Ye>>=8,ge[Ee++]=Ye,Ye>>=8,ge[Ee++]=Ye,Ye>>=8,ge[Ee++]=Ye;var st=Number(we>>BigInt(32)&BigInt(4294967295));return ge[Ee++]=st,st>>=8,ge[Ee++]=st,st>>=8,ge[Ee++]=st,st>>=8,ge[Ee++]=st,Ee}function ce(ge,we,Ee,Ve,$e){_e(we,Ve,$e,ge,Ee,7);var Ye=Number(we&BigInt(4294967295));ge[Ee+7]=Ye,Ye>>=8,ge[Ee+6]=Ye,Ye>>=8,ge[Ee+5]=Ye,Ye>>=8,ge[Ee+4]=Ye;var st=Number(we>>BigInt(32)&BigInt(4294967295));return ge[Ee+3]=st,st>>=8,ge[Ee+2]=st,st>>=8,ge[Ee+1]=st,st>>=8,ge[Ee]=st,Ee+8}function ye(ge,we,Ee,Ve,$e,Ye){if(Ee+Ve>ge.length)throw new RangeError("Index out of range");if(Ee<0)throw new RangeError("Index out of range")}function de(ge,we,Ee,Ve,$e){return we=+we,Ee>>>=0,$e||ye(ge,0,Ee,4),S.write(ge,we,Ee,Ve,23,4),Ee+4}function me(ge,we,Ee,Ve,$e){return we=+we,Ee>>>=0,$e||ye(ge,0,Ee,8),S.write(ge,we,Ee,Ve,52,8),Ee+8}x.prototype.slice=function(ge,we){var Ee=this.length;(ge=~~ge)<0?(ge+=Ee)<0&&(ge=0):ge>Ee&&(ge=Ee),(we=we===void 0?Ee:~~we)<0?(we+=Ee)<0&&(we=0):we>Ee&&(we=Ee),we>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=this[ge],$e=1,Ye=0;++Ye>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=this[ge+--we],$e=1;we>0&&($e*=256);)Ve+=this[ge+--we]*$e;return Ve},x.prototype.readUint8=x.prototype.readUInt8=function(ge,we){return ge>>>=0,we||ie(ge,1,this.length),this[ge]},x.prototype.readUint16LE=x.prototype.readUInt16LE=function(ge,we){return ge>>>=0,we||ie(ge,2,this.length),this[ge]|this[ge+1]<<8},x.prototype.readUint16BE=x.prototype.readUInt16BE=function(ge,we){return ge>>>=0,we||ie(ge,2,this.length),this[ge]<<8|this[ge+1]},x.prototype.readUint32LE=x.prototype.readUInt32LE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),(this[ge]|this[ge+1]<<8|this[ge+2]<<16)+16777216*this[ge+3]},x.prototype.readUint32BE=x.prototype.readUInt32BE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),16777216*this[ge]+(this[ge+1]<<16|this[ge+2]<<8|this[ge+3])},x.prototype.readBigUInt64LE=ze(function(ge){Me(ge>>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=we+this[++ge]*Math.pow(2,8)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,24),$e=this[++ge]+this[++ge]*Math.pow(2,8)+this[++ge]*Math.pow(2,16)+Ee*Math.pow(2,24);return BigInt(Ve)+(BigInt($e)<>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=we*Math.pow(2,24)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,8)+this[++ge],$e=this[++ge]*Math.pow(2,24)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,8)+Ee;return(BigInt(Ve)<>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=this[ge],$e=1,Ye=0;++Ye=($e*=128)&&(Ve-=Math.pow(2,8*we)),Ve},x.prototype.readIntBE=function(ge,we,Ee){ge>>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=we,$e=1,Ye=this[ge+--Ve];Ve>0&&($e*=256);)Ye+=this[ge+--Ve]*$e;return Ye>=($e*=128)&&(Ye-=Math.pow(2,8*we)),Ye},x.prototype.readInt8=function(ge,we){return ge>>>=0,we||ie(ge,1,this.length),128&this[ge]?-1*(255-this[ge]+1):this[ge]},x.prototype.readInt16LE=function(ge,we){ge>>>=0,we||ie(ge,2,this.length);var Ee=this[ge]|this[ge+1]<<8;return 32768&Ee?4294901760|Ee:Ee},x.prototype.readInt16BE=function(ge,we){ge>>>=0,we||ie(ge,2,this.length);var Ee=this[ge+1]|this[ge]<<8;return 32768&Ee?4294901760|Ee:Ee},x.prototype.readInt32LE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),this[ge]|this[ge+1]<<8|this[ge+2]<<16|this[ge+3]<<24},x.prototype.readInt32BE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),this[ge]<<24|this[ge+1]<<16|this[ge+2]<<8|this[ge+3]},x.prototype.readBigInt64LE=ze(function(ge){Me(ge>>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=this[ge+4]+this[ge+5]*Math.pow(2,8)+this[ge+6]*Math.pow(2,16)+(Ee<<24);return(BigInt(Ve)<>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=(we<<24)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,8)+this[++ge];return(BigInt(Ve)<>>=0,we||ie(ge,4,this.length),S.read(this,ge,!0,23,4)},x.prototype.readFloatBE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),S.read(this,ge,!1,23,4)},x.prototype.readDoubleLE=function(ge,we){return ge>>>=0,we||ie(ge,8,this.length),S.read(this,ge,!0,52,8)},x.prototype.readDoubleBE=function(ge,we){return ge>>>=0,we||ie(ge,8,this.length),S.read(this,ge,!1,52,8)},x.prototype.writeUintLE=x.prototype.writeUIntLE=function(ge,we,Ee,Ve){ge=+ge,we>>>=0,Ee>>>=0,Ve||oe(this,ge,we,Ee,Math.pow(2,8*Ee)-1,0);var $e=1,Ye=0;for(this[we]=255≥++Ye>>=0,Ee>>>=0,Ve||oe(this,ge,we,Ee,Math.pow(2,8*Ee)-1,0);var $e=Ee-1,Ye=1;for(this[we+$e]=255≥--$e>=0&&(Ye*=256);)this[we+$e]=ge/Ye&255;return we+Ee},x.prototype.writeUint8=x.prototype.writeUInt8=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,1,255,0),this[we]=255&ge,we+1},x.prototype.writeUint16LE=x.prototype.writeUInt16LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,65535,0),this[we]=255&ge,this[we+1]=ge>>>8,we+2},x.prototype.writeUint16BE=x.prototype.writeUInt16BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,65535,0),this[we]=ge>>>8,this[we+1]=255&ge,we+2},x.prototype.writeUint32LE=x.prototype.writeUInt32LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,4294967295,0),this[we+3]=ge>>>24,this[we+2]=ge>>>16,this[we+1]=ge>>>8,this[we]=255&ge,we+4},x.prototype.writeUint32BE=x.prototype.writeUInt32BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,4294967295,0),this[we]=ge>>>24,this[we+1]=ge>>>16,this[we+2]=ge>>>8,this[we+3]=255&ge,we+4},x.prototype.writeBigUInt64LE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ue(this,ge,we,BigInt(0),BigInt("0xffffffffffffffff"))}),x.prototype.writeBigUInt64BE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ce(this,ge,we,BigInt(0),BigInt("0xffffffffffffffff"))}),x.prototype.writeIntLE=function(ge,we,Ee,Ve){if(ge=+ge,we>>>=0,!Ve){var $e=Math.pow(2,8*Ee-1);oe(this,ge,we,Ee,$e-1,-$e)}var Ye=0,st=1,ot=0;for(this[we]=255≥++Ye>0)-ot&255;return we+Ee},x.prototype.writeIntBE=function(ge,we,Ee,Ve){if(ge=+ge,we>>>=0,!Ve){var $e=Math.pow(2,8*Ee-1);oe(this,ge,we,Ee,$e-1,-$e)}var Ye=Ee-1,st=1,ot=0;for(this[we+Ye]=255≥--Ye>=0&&(st*=256);)ge<0&&ot===0&&this[we+Ye+1]!==0&&(ot=1),this[we+Ye]=(ge/st>>0)-ot&255;return we+Ee},x.prototype.writeInt8=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,1,127,-128),ge<0&&(ge=255+ge+1),this[we]=255&ge,we+1},x.prototype.writeInt16LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,32767,-32768),this[we]=255&ge,this[we+1]=ge>>>8,we+2},x.prototype.writeInt16BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,32767,-32768),this[we]=ge>>>8,this[we+1]=255&ge,we+2},x.prototype.writeInt32LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,2147483647,-2147483648),this[we]=255&ge,this[we+1]=ge>>>8,this[we+2]=ge>>>16,this[we+3]=ge>>>24,we+4},x.prototype.writeInt32BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,2147483647,-2147483648),ge<0&&(ge=4294967295+ge+1),this[we]=ge>>>24,this[we+1]=ge>>>16,this[we+2]=ge>>>8,this[we+3]=255&ge,we+4},x.prototype.writeBigInt64LE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ue(this,ge,we,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),x.prototype.writeBigInt64BE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ce(this,ge,we,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),x.prototype.writeFloatLE=function(ge,we,Ee){return de(this,ge,we,!0,Ee)},x.prototype.writeFloatBE=function(ge,we,Ee){return de(this,ge,we,!1,Ee)},x.prototype.writeDoubleLE=function(ge,we,Ee){return me(this,ge,we,!0,Ee)},x.prototype.writeDoubleBE=function(ge,we,Ee){return me(this,ge,we,!1,Ee)},x.prototype.copy=function(ge,we,Ee,Ve){if(!x.isBuffer(ge))throw new TypeError("argument should be a Buffer");if(Ee||(Ee=0),Ve||Ve===0||(Ve=this.length),we>=ge.length&&(we=ge.length),we||(we=0),Ve>0&&Ve=this.length)throw new RangeError("Index out of range");if(Ve<0)throw new RangeError("sourceEnd out of bounds");Ve>this.length&&(Ve=this.length),ge.length-we>>=0,Ee=Ee===void 0?this.length:Ee>>>0,ge||(ge=0),typeof ge=="number")for(Ye=we;Ye"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var Et,kt=m(st);if(ot){var xt=m(this).constructor;Et=Reflect.construct(kt,arguments,xt)}else Et=kt.apply(this,arguments);return c(this,Et)});function bt(){var Et;return u(this,bt),Et=ht.call(this),Object.defineProperty(h(Et),"message",{value:we.apply(h(Et),arguments),writable:!0,configurable:!0}),Et.name="".concat(Et.name," [").concat(ge,"]"),Et.stack,delete Et.name,Et}return $e=bt,(Ye=[{key:"code",get:function(){return ge},set:function(Et){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:Et,writable:!0})}},{key:"toString",value:function(){return"".concat(this.name," [").concat(ge,"]: ").concat(this.message)}}])&&o($e.prototype,Ye),Object.defineProperty($e,"prototype",{writable:!1}),bt}(Ee)}function Pe(ge){for(var we="",Ee=ge.length,Ve=ge[0]==="-"?1:0;Ee>=Ve+4;Ee-=3)we="_".concat(ge.slice(Ee-3,Ee)).concat(we);return"".concat(ge.slice(0,Ee)).concat(we)}function _e(ge,we,Ee,Ve,$e,Ye){if(ge>Ee||ge3?we===0||we===BigInt(0)?">= 0".concat(ot," and < 2").concat(ot," ** ").concat(8*(Ye+1)).concat(ot):">= -(2".concat(ot," ** ").concat(8*(Ye+1)-1).concat(ot,") and < 2 ** ")+"".concat(8*(Ye+1)-1).concat(ot):">= ".concat(we).concat(ot," and <= ").concat(Ee).concat(ot),new pe.ERR_OUT_OF_RANGE("value",st,ge)}(function(ht,bt,Et){Me(bt,"offset"),ht[bt]!==void 0&&ht[bt+Et]!==void 0||Se(bt,ht.length-(Et+1))})(Ve,$e,Ye)}function Me(ge,we){if(typeof ge!="number")throw new pe.ERR_INVALID_ARG_TYPE(we,"number",ge)}function Se(ge,we,Ee){throw Math.floor(ge)!==ge?(Me(ge,Ee),new pe.ERR_OUT_OF_RANGE(Ee||"offset","an integer",ge)):we<0?new pe.ERR_BUFFER_OUT_OF_BOUNDS:new pe.ERR_OUT_OF_RANGE(Ee||"offset",">= ".concat(Ee?1:0," and <= ").concat(we),ge)}xe("ERR_BUFFER_OUT_OF_BOUNDS",function(ge){return ge?"".concat(ge," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"},RangeError),xe("ERR_INVALID_ARG_TYPE",function(ge,we){return'The "'.concat(ge,'" argument must be of type number. Received type ').concat(w(we))},TypeError),xe("ERR_OUT_OF_RANGE",function(ge,we,Ee){var Ve='The value of "'.concat(ge,'" is out of range.'),$e=Ee;return Number.isInteger(Ee)&&Math.abs(Ee)>Math.pow(2,32)?$e=Pe(String(Ee)):typeof Ee=="bigint"&&($e=String(Ee),(Ee>Math.pow(BigInt(2),BigInt(32))||Ee<-Math.pow(BigInt(2),BigInt(32)))&&($e=Pe($e)),$e+="n"),Ve+" It must be ".concat(we,". Received ").concat($e)},RangeError);var Ce=/[^+/0-9A-Za-z-_]/g;function ae(ge,we){var Ee;we=we||1/0;for(var Ve=ge.length,$e=null,Ye=[],st=0;st55295&&Ee<57344){if(!$e){if(Ee>56319){(we-=3)>-1&&Ye.push(239,191,189);continue}if(st+1===Ve){(we-=3)>-1&&Ye.push(239,191,189);continue}$e=Ee;continue}if(Ee<56320){(we-=3)>-1&&Ye.push(239,191,189),$e=Ee;continue}Ee=65536+($e-55296<<10|Ee-56320)}else $e&&(we-=3)>-1&&Ye.push(239,191,189);if($e=null,Ee<128){if((we-=1)<0)break;Ye.push(Ee)}else if(Ee<2048){if((we-=2)<0)break;Ye.push(Ee>>6|192,63&Ee|128)}else if(Ee<65536){if((we-=3)<0)break;Ye.push(Ee>>12|224,Ee>>6&63|128,63&Ee|128)}else{if(!(Ee<1114112))throw new Error("Invalid code point");if((we-=4)<0)break;Ye.push(Ee>>18|240,Ee>>12&63|128,Ee>>6&63|128,63&Ee|128)}}return Ye}function fe(ge){return y.toByteArray(function(we){if((we=(we=we.split("=")[0]).trim().replace(Ce,"")).length<2)return"";for(;we.length%4!=0;)we+="=";return we}(ge))}function be(ge,we,Ee,Ve){var $e;for($e=0;$e=we.length||$e>=ge.length);++$e)we[$e+Ee]=ge[$e];return $e}function ke(ge,we){return ge instanceof we||ge!=null&&ge.constructor!=null&&ge.constructor.name!=null&&ge.constructor.name===we.name}function Le(ge){return ge!=ge}var Be=function(){for(var ge="0123456789abcdef",we=new Array(256),Ee=0;Ee<16;++Ee)for(var Ve=16*Ee,$e=0;$e<16;++$e)we[Ve+$e]=ge[Ee]+ge[$e];return we}();function ze(ge){return typeof BigInt>"u"?je:ge}function je(){throw new Error("BigInt not supported")}},2321:function(f){f.exports=o,f.exports.isMobile=o,f.exports.default=o;var l=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,a=/CrOS/,u=/android|ipad|playbook|silk/i;function o(s){s||(s={});var c=s.ua;if(c||typeof navigator>"u"||(c=navigator.userAgent),c&&c.headers&&typeof c.headers["user-agent"]=="string"&&(c=c.headers["user-agent"]),typeof c!="string")return!1;var h=l.test(c)&&!a.test(c)||!!s.tablet&&u.test(c);return!h&&s.tablet&&s.featureDetect&&navigator&&navigator.maxTouchPoints>1&&c.indexOf("Macintosh")!==-1&&c.indexOf("Safari")!==-1&&(h=!0),h}},3910:function(f,l){l.byteLength=function(y){var S=m(y),_=S[0],k=S[1];return 3*(_+k)/4-k},l.toByteArray=function(y){var S,_,k=m(y),E=k[0],x=k[1],A=new o(function(R,I,O){return 3*(I+O)/4-O}(0,E,x)),L=0,b=x>0?E-4:E;for(_=0;_>16&255,A[L++]=S>>8&255,A[L++]=255&S;return x===2&&(S=u[y.charCodeAt(_)]<<2|u[y.charCodeAt(_+1)]>>4,A[L++]=255&S),x===1&&(S=u[y.charCodeAt(_)]<<10|u[y.charCodeAt(_+1)]<<4|u[y.charCodeAt(_+2)]>>2,A[L++]=S>>8&255,A[L++]=255&S),A},l.fromByteArray=function(y){for(var S,_=y.length,k=_%3,E=[],x=16383,A=0,L=_-k;AL?L:A+x));return k===1?(S=y[_-1],E.push(a[S>>2]+a[S<<4&63]+"==")):k===2&&(S=(y[_-2]<<8)+y[_-1],E.push(a[S>>10]+a[S>>4&63]+a[S<<2&63]+"=")),E.join("")};for(var a=[],u=[],o=typeof Uint8Array<"u"?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=0,h=s.length;c0)throw new Error("Invalid string. Length must be a multiple of 4");var _=y.indexOf("=");return _===-1&&(_=S),[_,_===S?0:4-_%4]}function w(y,S,_){for(var k,E,x=[],A=S;A<_;A+=3)k=(y[A]<<16&16711680)+(y[A+1]<<8&65280)+(255&y[A+2]),x.push(a[(E=k)>>18&63]+a[E>>12&63]+a[E>>6&63]+a[63&E]);return x.join("")}u["-".charCodeAt(0)]=62,u["_".charCodeAt(0)]=63},3187:function(f,l){l.read=function(a,u,o,s,c){var h,m,w=8*c-s-1,y=(1<>1,_=-7,k=o?c-1:0,E=o?-1:1,x=a[u+k];for(k+=E,h=x&(1<<-_)-1,x>>=-_,_+=w;_>0;h=256*h+a[u+k],k+=E,_-=8);for(m=h&(1<<-_)-1,h>>=-_,_+=s;_>0;m=256*m+a[u+k],k+=E,_-=8);if(h===0)h=1-S;else{if(h===y)return m?NaN:1/0*(x?-1:1);m+=Math.pow(2,s),h-=S}return(x?-1:1)*m*Math.pow(2,h-s)},l.write=function(a,u,o,s,c,h){var m,w,y,S=8*h-c-1,_=(1<>1,E=c===23?Math.pow(2,-24)-Math.pow(2,-77):0,x=s?0:h-1,A=s?1:-1,L=u<0||u===0&&1/u<0?1:0;for(u=Math.abs(u),isNaN(u)||u===1/0?(w=isNaN(u)?1:0,m=_):(m=Math.floor(Math.log(u)/Math.LN2),u*(y=Math.pow(2,-m))<1&&(m--,y*=2),(u+=m+k>=1?E/y:E*Math.pow(2,1-k))*y>=2&&(m++,y/=2),m+k>=_?(w=0,m=_):m+k>=1?(w=(u*y-1)*Math.pow(2,c),m+=k):(w=u*Math.pow(2,k-1)*Math.pow(2,c),m=0));c>=8;a[o+x]=255&w,x+=A,w/=256,c-=8);for(m=m<0;a[o+x]=255&m,x+=A,m/=256,S-=8);a[o+x-A]|=128*L}},1152:function(f,l,a){f.exports=function(m){var w=(m=m||{}).eye||[0,0,1],y=m.center||[0,0,0],S=m.up||[0,1,0],_=m.distanceLimits||[0,1/0],k=m.mode||"turntable",E=u(),x=o(),A=s();return E.setDistanceLimits(_[0],_[1]),E.lookAt(0,w,y,S),x.setDistanceLimits(_[0],_[1]),x.lookAt(0,w,y,S),A.setDistanceLimits(_[0],_[1]),A.lookAt(0,w,y,S),new c({turntable:E,orbit:x,matrix:A},k)};var u=a(3440),o=a(7774),s=a(9298);function c(m,w){this._controllerNames=Object.keys(m),this._controllerList=this._controllerNames.map(function(y){return m[y]}),this._mode=w,this._active=m[w],this._active||(this._mode="turntable",this._active=m.turntable),this.modes=this._controllerNames,this.computedMatrix=this._active.computedMatrix,this.computedEye=this._active.computedEye,this.computedUp=this._active.computedUp,this.computedCenter=this._active.computedCenter,this.computedRadius=this._active.computedRadius}var h=c.prototype;h.flush=function(m){for(var w=this._controllerList,y=0;y"u"?a(5346):WeakMap,o=a(5827),s=a(2944),c=new u;f.exports=function(h){var m=c.get(h),w=m&&(m._triangleBuffer.handle||m._triangleBuffer.buffer);if(!w||!h.isBuffer(w)){var y=o(h,new Float32Array([-1,-1,-1,4,4,-1]));(m=s(h,[{buffer:y,type:h.FLOAT,size:2}]))._triangleBuffer=y,c.set(h,m)}m.bind(),h.drawArrays(h.TRIANGLES,0,3),m.unbind()}},8008:function(f,l,a){var u=a(4930);f.exports=function(o,s,c){s=typeof s=="number"?s:1,c=c||": ";var h=o.split(/\r?\n/),m=String(h.length+s-1).length;return h.map(function(w,y){var S=y+s,_=String(S).length;return u(S,m-_)+c+w}).join(` +`)}},2153:function(f,l,a){f.exports=function(s){var c=s.length;if(c===0)return[];if(c===1)return[0];for(var h=s[0].length,m=[s[0]],w=[0],y=1;y0?_=_.ushln(E):E<0&&(k=k.ushln(-E)),h(_,k)}},234:function(f,l,a){var u=a(3218);f.exports=function(o){return Array.isArray(o)&&o.length===2&&u(o[0])&&u(o[1])}},4275:function(f,l,a){var u=a(1928);f.exports=function(o){return o.cmp(new u(0))}},9958:function(f,l,a){var u=a(4275);f.exports=function(o){var s=o.length,c=o.words,h=0;if(s===1)h=c[0];else if(s===2)h=c[0]+67108864*c[1];else for(var m=0;m20?52:h+32}},3218:function(f,l,a){a(1928),f.exports=function(u){return u&&typeof u=="object"&&!!u.words}},5514:function(f,l,a){var u=a(1928),o=a(8362);f.exports=function(s){var c=o.exponent(s);return c<52?new u(s):new u(s*Math.pow(2,52-c)).ushln(c-52)}},8524:function(f,l,a){var u=a(5514),o=a(4275);f.exports=function(s,c){var h=o(s),m=o(c);if(h===0)return[u(0),u(1)];if(m===0)return[u(0),u(0)];m<0&&(s=s.neg(),c=c.neg());var w=s.gcd(c);return w.cmpn(1)?[s.div(w),c.div(w)]:[s,c]}},2813:function(f,l,a){var u=a(1928);f.exports=function(o){return new u(o)}},3962:function(f,l,a){var u=a(8524);f.exports=function(o,s){return u(o[0].mul(s[0]),o[1].mul(s[1]))}},4951:function(f,l,a){var u=a(4275);f.exports=function(o){return u(o[0])*u(o[1])}},4354:function(f,l,a){var u=a(8524);f.exports=function(o,s){return u(o[0].mul(s[1]).sub(o[1].mul(s[0])),o[1].mul(s[1]))}},7999:function(f,l,a){var u=a(9958),o=a(1112);f.exports=function(s){var c=s[0],h=s[1];if(c.cmpn(0)===0)return 0;var m=c.abs().divmod(h.abs()),w=m.div,y=u(w),S=m.mod,_=c.negative!==h.negative?-1:1;if(S.cmpn(0)===0)return _*y;if(y){var k=o(y)+4,E=u(S.ushln(k).divRound(h));return _*(y+E*Math.pow(2,-k))}var x=h.bitLength()-S.bitLength()+53;return E=u(S.ushln(x).divRound(h)),x<1023?_*E*Math.pow(2,-x):_*(E*=Math.pow(2,-1023))*Math.pow(2,1023-x)}},5070:function(f){function l(h,m,w,y,S){for(var _=S+1;y<=S;){var k=y+S>>>1,E=h[k];(w!==void 0?w(E,m):E-m)>=0?(_=k,S=k-1):y=k+1}return _}function a(h,m,w,y,S){for(var _=S+1;y<=S;){var k=y+S>>>1,E=h[k];(w!==void 0?w(E,m):E-m)>0?(_=k,S=k-1):y=k+1}return _}function u(h,m,w,y,S){for(var _=y-1;y<=S;){var k=y+S>>>1,E=h[k];(w!==void 0?w(E,m):E-m)<0?(_=k,y=k+1):S=k-1}return _}function o(h,m,w,y,S){for(var _=y-1;y<=S;){var k=y+S>>>1,E=h[k];(w!==void 0?w(E,m):E-m)<=0?(_=k,y=k+1):S=k-1}return _}function s(h,m,w,y,S){for(;y<=S;){var _=y+S>>>1,k=h[_],E=w!==void 0?w(k,m):k-m;if(E===0)return _;E<=0?y=_+1:S=_-1}return-1}function c(h,m,w,y,S,_){return typeof w=="function"?_(h,m,w,y===void 0?0:0|y,S===void 0?h.length-1:0|S):_(h,m,void 0,w===void 0?0:0|w,y===void 0?h.length-1:0|y)}f.exports={ge:function(h,m,w,y,S){return c(h,m,w,y,S,l)},gt:function(h,m,w,y,S){return c(h,m,w,y,S,a)},lt:function(h,m,w,y,S){return c(h,m,w,y,S,u)},le:function(h,m,w,y,S){return c(h,m,w,y,S,o)},eq:function(h,m,w,y,S){return c(h,m,w,y,S,s)}}},2288:function(f,l){function a(o){var s=32;return(o&=-o)&&s--,65535&o&&(s-=16),16711935&o&&(s-=8),252645135&o&&(s-=4),858993459&o&&(s-=2),1431655765&o&&(s-=1),s}l.INT_BITS=32,l.INT_MAX=2147483647,l.INT_MIN=-2147483648,l.sign=function(o){return(o>0)-(o<0)},l.abs=function(o){var s=o>>31;return(o^s)-s},l.min=function(o,s){return s^(o^s)&-(o65535)<<4,s|=c=((o>>>=s)>255)<<3,s|=c=((o>>>=c)>15)<<2,(s|=c=((o>>>=c)>3)<<1)|(o>>>=c)>>1},l.log10=function(o){return o>=1e9?9:o>=1e8?8:o>=1e7?7:o>=1e6?6:o>=1e5?5:o>=1e4?4:o>=1e3?3:o>=100?2:o>=10?1:0},l.popCount=function(o){return 16843009*((o=(858993459&(o-=o>>>1&1431655765))+(o>>>2&858993459))+(o>>>4)&252645135)>>>24},l.countTrailingZeros=a,l.nextPow2=function(o){return o+=o===0,--o,o|=o>>>1,o|=o>>>2,o|=o>>>4,1+((o|=o>>>8)|o>>>16)},l.prevPow2=function(o){return o|=o>>>1,o|=o>>>2,o|=o>>>4,o|=o>>>8,(o|=o>>>16)-(o>>>1)},l.parity=function(o){return o^=o>>>16,o^=o>>>8,o^=o>>>4,27030>>>(o&=15)&1};var u=new Array(256);(function(o){for(var s=0;s<256;++s){var c=s,h=s,m=7;for(c>>>=1;c;c>>>=1)h<<=1,h|=1&c,--m;o[s]=h<>>8&255]<<16|u[o>>>16&255]<<8|u[o>>>24&255]},l.interleave2=function(o,s){return(o=1431655765&((o=858993459&((o=252645135&((o=16711935&((o&=65535)|o<<8))|o<<4))|o<<2))|o<<1))|(s=1431655765&((s=858993459&((s=252645135&((s=16711935&((s&=65535)|s<<8))|s<<4))|s<<2))|s<<1))<<1},l.deinterleave2=function(o,s){return(o=65535&((o=16711935&((o=252645135&((o=858993459&((o=o>>>s&1431655765)|o>>>1))|o>>>2))|o>>>4))|o>>>16))<<16>>16},l.interleave3=function(o,s,c){return o=1227133513&((o=3272356035&((o=251719695&((o=4278190335&((o&=1023)|o<<16))|o<<8))|o<<4))|o<<2),(o|=(s=1227133513&((s=3272356035&((s=251719695&((s=4278190335&((s&=1023)|s<<16))|s<<8))|s<<4))|s<<2))<<1)|(c=1227133513&((c=3272356035&((c=251719695&((c=4278190335&((c&=1023)|c<<16))|c<<8))|c<<4))|c<<2))<<2},l.deinterleave3=function(o,s){return(o=1023&((o=4278190335&((o=251719695&((o=3272356035&((o=o>>>s&1227133513)|o>>>2))|o>>>4))|o>>>8))|o>>>16))<<22>>22},l.nextCombination=function(o){var s=o|o-1;return s+1|(~s&-~s)-1>>>a(o)+1}},1928:function(f,l,a){(function(u,o){function s(j,$){if(!j)throw new Error($||"Assertion failed")}function c(j,$){j.super_=$;var U=function(){};U.prototype=$.prototype,j.prototype=new U,j.prototype.constructor=j}function h(j,$,U){if(h.isBN(j))return j;this.negative=0,this.words=null,this.length=0,this.red=null,j!==null&&($!=="le"&&$!=="be"||(U=$,$=10),this._init(j||0,$||10,U||"be"))}var m;typeof u=="object"?u.exports=h:o.BN=h,h.BN=h,h.wordSize=26;try{m=typeof window<"u"&&window.Buffer!==void 0?window.Buffer:a(6601).Buffer}catch{}function w(j,$){var U=j.charCodeAt($);return U>=65&&U<=70?U-55:U>=97&&U<=102?U-87:U-48&15}function y(j,$,U){var G=w(j,U);return U-1>=$&&(G|=w(j,U-1)<<4),G}function S(j,$,U,G){for(var q=0,H=Math.min(j.length,U),ne=$;ne=49?te-49+10:te>=17?te-17+10:te}return q}h.isBN=function(j){return j instanceof h||j!==null&&typeof j=="object"&&j.constructor.wordSize===h.wordSize&&Array.isArray(j.words)},h.max=function(j,$){return j.cmp($)>0?j:$},h.min=function(j,$){return j.cmp($)<0?j:$},h.prototype._init=function(j,$,U){if(typeof j=="number")return this._initNumber(j,$,U);if(typeof j=="object")return this._initArray(j,$,U);$==="hex"&&($=16),s($===(0|$)&&$>=2&&$<=36);var G=0;(j=j.toString().replace(/\s+/g,""))[0]==="-"&&(G++,this.negative=1),G=0;G-=3)H=j[G]|j[G-1]<<8|j[G-2]<<16,this.words[q]|=H<>>26-ne&67108863,(ne+=24)>=26&&(ne-=26,q++);else if(U==="le")for(G=0,q=0;G>>26-ne&67108863,(ne+=24)>=26&&(ne-=26,q++);return this.strip()},h.prototype._parseHex=function(j,$,U){this.length=Math.ceil((j.length-$)/6),this.words=new Array(this.length);for(var G=0;G=$;G-=2)q=y(j,$,G)<=18?(H-=18,ne+=1,this.words[ne]|=q>>>26):H+=8;else for(G=(j.length-$)%2==0?$+1:$;G=18?(H-=18,ne+=1,this.words[ne]|=q>>>26):H+=8;this.strip()},h.prototype._parseBase=function(j,$,U){this.words=[0],this.length=1;for(var G=0,q=1;q<=67108863;q*=$)G++;G--,q=q/$|0;for(var H=j.length-U,ne=H%G,te=Math.min(H,H-ne)+U,Z=0,X=U;X1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},h.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},h.prototype.inspect=function(){return(this.red?""};var _=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],k=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],E=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function x(j,$,U){U.negative=$.negative^j.negative;var G=j.length+$.length|0;U.length=G,G=G-1|0;var q=0|j.words[0],H=0|$.words[0],ne=q*H,te=67108863&ne,Z=ne/67108864|0;U.words[0]=te;for(var X=1;X>>26,re=67108863&Z,ie=Math.min(X,$.length-1),oe=Math.max(0,X-j.length+1);oe<=ie;oe++){var ue=X-oe|0;Q+=(ne=(q=0|j.words[ue])*(H=0|$.words[oe])+re)/67108864|0,re=67108863&ne}U.words[X]=0|re,Z=0|Q}return Z!==0?U.words[X]=0|Z:U.length--,U.strip()}h.prototype.toString=function(j,$){var U;if($=0|$||1,(j=j||10)===16||j==="hex"){U="";for(var G=0,q=0,H=0;H>>24-G&16777215)!=0||H!==this.length-1?_[6-te.length]+te+U:te+U,(G+=2)>=26&&(G-=26,H--)}for(q!==0&&(U=q.toString(16)+U);U.length%$!=0;)U="0"+U;return this.negative!==0&&(U="-"+U),U}if(j===(0|j)&&j>=2&&j<=36){var Z=k[j],X=E[j];U="";var Q=this.clone();for(Q.negative=0;!Q.isZero();){var re=Q.modn(X).toString(j);U=(Q=Q.idivn(X)).isZero()?re+U:_[Z-re.length]+re+U}for(this.isZero()&&(U="0"+U);U.length%$!=0;)U="0"+U;return this.negative!==0&&(U="-"+U),U}s(!1,"Base should be between 2 and 36")},h.prototype.toNumber=function(){var j=this.words[0];return this.length===2?j+=67108864*this.words[1]:this.length===3&&this.words[2]===1?j+=4503599627370496+67108864*this.words[1]:this.length>2&&s(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-j:j},h.prototype.toJSON=function(){return this.toString(16)},h.prototype.toBuffer=function(j,$){return s(m!==void 0),this.toArrayLike(m,j,$)},h.prototype.toArray=function(j,$){return this.toArrayLike(Array,j,$)},h.prototype.toArrayLike=function(j,$,U){var G=this.byteLength(),q=U||Math.max(1,G);s(G<=q,"byte array longer than desired length"),s(q>0,"Requested array length <= 0"),this.strip();var H,ne,te=$==="le",Z=new j(q),X=this.clone();if(te){for(ne=0;!X.isZero();ne++)H=X.andln(255),X.iushrn(8),Z[ne]=H;for(;ne=4096&&(U+=13,$>>>=13),$>=64&&(U+=7,$>>>=7),$>=8&&(U+=4,$>>>=4),$>=2&&(U+=2,$>>>=2),U+$},h.prototype._zeroBits=function(j){if(j===0)return 26;var $=j,U=0;return!(8191&$)&&(U+=13,$>>>=13),!(127&$)&&(U+=7,$>>>=7),!(15&$)&&(U+=4,$>>>=4),!(3&$)&&(U+=2,$>>>=2),!(1&$)&&U++,U},h.prototype.bitLength=function(){var j=this.words[this.length-1],$=this._countBits(j);return 26*(this.length-1)+$},h.prototype.zeroBits=function(){if(this.isZero())return 0;for(var j=0,$=0;$j.length?this.clone().ior(j):j.clone().ior(this)},h.prototype.uor=function(j){return this.length>j.length?this.clone().iuor(j):j.clone().iuor(this)},h.prototype.iuand=function(j){var $;$=this.length>j.length?j:this;for(var U=0;U<$.length;U++)this.words[U]=this.words[U]&j.words[U];return this.length=$.length,this.strip()},h.prototype.iand=function(j){return s((this.negative|j.negative)==0),this.iuand(j)},h.prototype.and=function(j){return this.length>j.length?this.clone().iand(j):j.clone().iand(this)},h.prototype.uand=function(j){return this.length>j.length?this.clone().iuand(j):j.clone().iuand(this)},h.prototype.iuxor=function(j){var $,U;this.length>j.length?($=this,U=j):($=j,U=this);for(var G=0;Gj.length?this.clone().ixor(j):j.clone().ixor(this)},h.prototype.uxor=function(j){return this.length>j.length?this.clone().iuxor(j):j.clone().iuxor(this)},h.prototype.inotn=function(j){s(typeof j=="number"&&j>=0);var $=0|Math.ceil(j/26),U=j%26;this._expand($),U>0&&$--;for(var G=0;G<$;G++)this.words[G]=67108863&~this.words[G];return U>0&&(this.words[G]=~this.words[G]&67108863>>26-U),this.strip()},h.prototype.notn=function(j){return this.clone().inotn(j)},h.prototype.setn=function(j,$){s(typeof j=="number"&&j>=0);var U=j/26|0,G=j%26;return this._expand(U+1),this.words[U]=$?this.words[U]|1<j.length?(U=this,G=j):(U=j,G=this);for(var q=0,H=0;H>>26;for(;q!==0&&H>>26;if(this.length=U.length,q!==0)this.words[this.length]=q,this.length++;else if(U!==this)for(;Hj.length?this.clone().iadd(j):j.clone().iadd(this)},h.prototype.isub=function(j){if(j.negative!==0){j.negative=0;var $=this.iadd(j);return j.negative=1,$._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(j),this.negative=1,this._normSign();var U,G,q=this.cmp(j);if(q===0)return this.negative=0,this.length=1,this.words[0]=0,this;q>0?(U=this,G=j):(U=j,G=this);for(var H=0,ne=0;ne>26,this.words[ne]=67108863&$;for(;H!==0&&ne>26,this.words[ne]=67108863&$;if(H===0&&ne>>13,oe=0|ne[1],ue=8191&oe,ce=oe>>>13,ye=0|ne[2],de=8191&ye,me=ye>>>13,pe=0|ne[3],xe=8191&pe,Pe=pe>>>13,_e=0|ne[4],Me=8191&_e,Se=_e>>>13,Ce=0|ne[5],ae=8191&Ce,fe=Ce>>>13,be=0|ne[6],ke=8191&be,Le=be>>>13,Be=0|ne[7],ze=8191&Be,je=Be>>>13,ge=0|ne[8],we=8191&ge,Ee=ge>>>13,Ve=0|ne[9],$e=8191&Ve,Ye=Ve>>>13,st=0|te[0],ot=8191&st,ht=st>>>13,bt=0|te[1],Et=8191&bt,kt=bt>>>13,xt=0|te[2],Ft=8191&xt,Ot=xt>>>13,Bt=0|te[3],qt=8191&Bt,Vt=Bt>>>13,Ke=0|te[4],Je=8191&Ke,qe=Ke>>>13,nt=0|te[5],ft=8191&nt,Re=nt>>>13,Ne=0|te[6],Qe=8191&Ne,ut=Ne>>>13,dt=0|te[7],_t=8191&dt,It=dt>>>13,Lt=0|te[8],yt=8191&Lt,Pt=Lt>>>13,wt=0|te[9],Rt=8191&wt,Nt=wt>>>13;U.negative=j.negative^$.negative,U.length=19;var Yt=(X+(G=Math.imul(re,ot))|0)+((8191&(q=(q=Math.imul(re,ht))+Math.imul(ie,ot)|0))<<13)|0;X=((H=Math.imul(ie,ht))+(q>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,G=Math.imul(ue,ot),q=(q=Math.imul(ue,ht))+Math.imul(ce,ot)|0,H=Math.imul(ce,ht);var Wt=(X+(G=G+Math.imul(re,Et)|0)|0)+((8191&(q=(q=q+Math.imul(re,kt)|0)+Math.imul(ie,Et)|0))<<13)|0;X=((H=H+Math.imul(ie,kt)|0)+(q>>>13)|0)+(Wt>>>26)|0,Wt&=67108863,G=Math.imul(de,ot),q=(q=Math.imul(de,ht))+Math.imul(me,ot)|0,H=Math.imul(me,ht),G=G+Math.imul(ue,Et)|0,q=(q=q+Math.imul(ue,kt)|0)+Math.imul(ce,Et)|0,H=H+Math.imul(ce,kt)|0;var Xt=(X+(G=G+Math.imul(re,Ft)|0)|0)+((8191&(q=(q=q+Math.imul(re,Ot)|0)+Math.imul(ie,Ft)|0))<<13)|0;X=((H=H+Math.imul(ie,Ot)|0)+(q>>>13)|0)+(Xt>>>26)|0,Xt&=67108863,G=Math.imul(xe,ot),q=(q=Math.imul(xe,ht))+Math.imul(Pe,ot)|0,H=Math.imul(Pe,ht),G=G+Math.imul(de,Et)|0,q=(q=q+Math.imul(de,kt)|0)+Math.imul(me,Et)|0,H=H+Math.imul(me,kt)|0,G=G+Math.imul(ue,Ft)|0,q=(q=q+Math.imul(ue,Ot)|0)+Math.imul(ce,Ft)|0,H=H+Math.imul(ce,Ot)|0;var Qt=(X+(G=G+Math.imul(re,qt)|0)|0)+((8191&(q=(q=q+Math.imul(re,Vt)|0)+Math.imul(ie,qt)|0))<<13)|0;X=((H=H+Math.imul(ie,Vt)|0)+(q>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,G=Math.imul(Me,ot),q=(q=Math.imul(Me,ht))+Math.imul(Se,ot)|0,H=Math.imul(Se,ht),G=G+Math.imul(xe,Et)|0,q=(q=q+Math.imul(xe,kt)|0)+Math.imul(Pe,Et)|0,H=H+Math.imul(Pe,kt)|0,G=G+Math.imul(de,Ft)|0,q=(q=q+Math.imul(de,Ot)|0)+Math.imul(me,Ft)|0,H=H+Math.imul(me,Ot)|0,G=G+Math.imul(ue,qt)|0,q=(q=q+Math.imul(ue,Vt)|0)+Math.imul(ce,qt)|0,H=H+Math.imul(ce,Vt)|0;var rn=(X+(G=G+Math.imul(re,Je)|0)|0)+((8191&(q=(q=q+Math.imul(re,qe)|0)+Math.imul(ie,Je)|0))<<13)|0;X=((H=H+Math.imul(ie,qe)|0)+(q>>>13)|0)+(rn>>>26)|0,rn&=67108863,G=Math.imul(ae,ot),q=(q=Math.imul(ae,ht))+Math.imul(fe,ot)|0,H=Math.imul(fe,ht),G=G+Math.imul(Me,Et)|0,q=(q=q+Math.imul(Me,kt)|0)+Math.imul(Se,Et)|0,H=H+Math.imul(Se,kt)|0,G=G+Math.imul(xe,Ft)|0,q=(q=q+Math.imul(xe,Ot)|0)+Math.imul(Pe,Ft)|0,H=H+Math.imul(Pe,Ot)|0,G=G+Math.imul(de,qt)|0,q=(q=q+Math.imul(de,Vt)|0)+Math.imul(me,qt)|0,H=H+Math.imul(me,Vt)|0,G=G+Math.imul(ue,Je)|0,q=(q=q+Math.imul(ue,qe)|0)+Math.imul(ce,Je)|0,H=H+Math.imul(ce,qe)|0;var xn=(X+(G=G+Math.imul(re,ft)|0)|0)+((8191&(q=(q=q+Math.imul(re,Re)|0)+Math.imul(ie,ft)|0))<<13)|0;X=((H=H+Math.imul(ie,Re)|0)+(q>>>13)|0)+(xn>>>26)|0,xn&=67108863,G=Math.imul(ke,ot),q=(q=Math.imul(ke,ht))+Math.imul(Le,ot)|0,H=Math.imul(Le,ht),G=G+Math.imul(ae,Et)|0,q=(q=q+Math.imul(ae,kt)|0)+Math.imul(fe,Et)|0,H=H+Math.imul(fe,kt)|0,G=G+Math.imul(Me,Ft)|0,q=(q=q+Math.imul(Me,Ot)|0)+Math.imul(Se,Ft)|0,H=H+Math.imul(Se,Ot)|0,G=G+Math.imul(xe,qt)|0,q=(q=q+Math.imul(xe,Vt)|0)+Math.imul(Pe,qt)|0,H=H+Math.imul(Pe,Vt)|0,G=G+Math.imul(de,Je)|0,q=(q=q+Math.imul(de,qe)|0)+Math.imul(me,Je)|0,H=H+Math.imul(me,qe)|0,G=G+Math.imul(ue,ft)|0,q=(q=q+Math.imul(ue,Re)|0)+Math.imul(ce,ft)|0,H=H+Math.imul(ce,Re)|0;var un=(X+(G=G+Math.imul(re,Qe)|0)|0)+((8191&(q=(q=q+Math.imul(re,ut)|0)+Math.imul(ie,Qe)|0))<<13)|0;X=((H=H+Math.imul(ie,ut)|0)+(q>>>13)|0)+(un>>>26)|0,un&=67108863,G=Math.imul(ze,ot),q=(q=Math.imul(ze,ht))+Math.imul(je,ot)|0,H=Math.imul(je,ht),G=G+Math.imul(ke,Et)|0,q=(q=q+Math.imul(ke,kt)|0)+Math.imul(Le,Et)|0,H=H+Math.imul(Le,kt)|0,G=G+Math.imul(ae,Ft)|0,q=(q=q+Math.imul(ae,Ot)|0)+Math.imul(fe,Ft)|0,H=H+Math.imul(fe,Ot)|0,G=G+Math.imul(Me,qt)|0,q=(q=q+Math.imul(Me,Vt)|0)+Math.imul(Se,qt)|0,H=H+Math.imul(Se,Vt)|0,G=G+Math.imul(xe,Je)|0,q=(q=q+Math.imul(xe,qe)|0)+Math.imul(Pe,Je)|0,H=H+Math.imul(Pe,qe)|0,G=G+Math.imul(de,ft)|0,q=(q=q+Math.imul(de,Re)|0)+Math.imul(me,ft)|0,H=H+Math.imul(me,Re)|0,G=G+Math.imul(ue,Qe)|0,q=(q=q+Math.imul(ue,ut)|0)+Math.imul(ce,Qe)|0,H=H+Math.imul(ce,ut)|0;var An=(X+(G=G+Math.imul(re,_t)|0)|0)+((8191&(q=(q=q+Math.imul(re,It)|0)+Math.imul(ie,_t)|0))<<13)|0;X=((H=H+Math.imul(ie,It)|0)+(q>>>13)|0)+(An>>>26)|0,An&=67108863,G=Math.imul(we,ot),q=(q=Math.imul(we,ht))+Math.imul(Ee,ot)|0,H=Math.imul(Ee,ht),G=G+Math.imul(ze,Et)|0,q=(q=q+Math.imul(ze,kt)|0)+Math.imul(je,Et)|0,H=H+Math.imul(je,kt)|0,G=G+Math.imul(ke,Ft)|0,q=(q=q+Math.imul(ke,Ot)|0)+Math.imul(Le,Ft)|0,H=H+Math.imul(Le,Ot)|0,G=G+Math.imul(ae,qt)|0,q=(q=q+Math.imul(ae,Vt)|0)+Math.imul(fe,qt)|0,H=H+Math.imul(fe,Vt)|0,G=G+Math.imul(Me,Je)|0,q=(q=q+Math.imul(Me,qe)|0)+Math.imul(Se,Je)|0,H=H+Math.imul(Se,qe)|0,G=G+Math.imul(xe,ft)|0,q=(q=q+Math.imul(xe,Re)|0)+Math.imul(Pe,ft)|0,H=H+Math.imul(Pe,Re)|0,G=G+Math.imul(de,Qe)|0,q=(q=q+Math.imul(de,ut)|0)+Math.imul(me,Qe)|0,H=H+Math.imul(me,ut)|0,G=G+Math.imul(ue,_t)|0,q=(q=q+Math.imul(ue,It)|0)+Math.imul(ce,_t)|0,H=H+Math.imul(ce,It)|0;var Yn=(X+(G=G+Math.imul(re,yt)|0)|0)+((8191&(q=(q=q+Math.imul(re,Pt)|0)+Math.imul(ie,yt)|0))<<13)|0;X=((H=H+Math.imul(ie,Pt)|0)+(q>>>13)|0)+(Yn>>>26)|0,Yn&=67108863,G=Math.imul($e,ot),q=(q=Math.imul($e,ht))+Math.imul(Ye,ot)|0,H=Math.imul(Ye,ht),G=G+Math.imul(we,Et)|0,q=(q=q+Math.imul(we,kt)|0)+Math.imul(Ee,Et)|0,H=H+Math.imul(Ee,kt)|0,G=G+Math.imul(ze,Ft)|0,q=(q=q+Math.imul(ze,Ot)|0)+Math.imul(je,Ft)|0,H=H+Math.imul(je,Ot)|0,G=G+Math.imul(ke,qt)|0,q=(q=q+Math.imul(ke,Vt)|0)+Math.imul(Le,qt)|0,H=H+Math.imul(Le,Vt)|0,G=G+Math.imul(ae,Je)|0,q=(q=q+Math.imul(ae,qe)|0)+Math.imul(fe,Je)|0,H=H+Math.imul(fe,qe)|0,G=G+Math.imul(Me,ft)|0,q=(q=q+Math.imul(Me,Re)|0)+Math.imul(Se,ft)|0,H=H+Math.imul(Se,Re)|0,G=G+Math.imul(xe,Qe)|0,q=(q=q+Math.imul(xe,ut)|0)+Math.imul(Pe,Qe)|0,H=H+Math.imul(Pe,ut)|0,G=G+Math.imul(de,_t)|0,q=(q=q+Math.imul(de,It)|0)+Math.imul(me,_t)|0,H=H+Math.imul(me,It)|0,G=G+Math.imul(ue,yt)|0,q=(q=q+Math.imul(ue,Pt)|0)+Math.imul(ce,yt)|0,H=H+Math.imul(ce,Pt)|0;var kn=(X+(G=G+Math.imul(re,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(re,Nt)|0)+Math.imul(ie,Rt)|0))<<13)|0;X=((H=H+Math.imul(ie,Nt)|0)+(q>>>13)|0)+(kn>>>26)|0,kn&=67108863,G=Math.imul($e,Et),q=(q=Math.imul($e,kt))+Math.imul(Ye,Et)|0,H=Math.imul(Ye,kt),G=G+Math.imul(we,Ft)|0,q=(q=q+Math.imul(we,Ot)|0)+Math.imul(Ee,Ft)|0,H=H+Math.imul(Ee,Ot)|0,G=G+Math.imul(ze,qt)|0,q=(q=q+Math.imul(ze,Vt)|0)+Math.imul(je,qt)|0,H=H+Math.imul(je,Vt)|0,G=G+Math.imul(ke,Je)|0,q=(q=q+Math.imul(ke,qe)|0)+Math.imul(Le,Je)|0,H=H+Math.imul(Le,qe)|0,G=G+Math.imul(ae,ft)|0,q=(q=q+Math.imul(ae,Re)|0)+Math.imul(fe,ft)|0,H=H+Math.imul(fe,Re)|0,G=G+Math.imul(Me,Qe)|0,q=(q=q+Math.imul(Me,ut)|0)+Math.imul(Se,Qe)|0,H=H+Math.imul(Se,ut)|0,G=G+Math.imul(xe,_t)|0,q=(q=q+Math.imul(xe,It)|0)+Math.imul(Pe,_t)|0,H=H+Math.imul(Pe,It)|0,G=G+Math.imul(de,yt)|0,q=(q=q+Math.imul(de,Pt)|0)+Math.imul(me,yt)|0,H=H+Math.imul(me,Pt)|0;var sn=(X+(G=G+Math.imul(ue,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(ue,Nt)|0)+Math.imul(ce,Rt)|0))<<13)|0;X=((H=H+Math.imul(ce,Nt)|0)+(q>>>13)|0)+(sn>>>26)|0,sn&=67108863,G=Math.imul($e,Ft),q=(q=Math.imul($e,Ot))+Math.imul(Ye,Ft)|0,H=Math.imul(Ye,Ot),G=G+Math.imul(we,qt)|0,q=(q=q+Math.imul(we,Vt)|0)+Math.imul(Ee,qt)|0,H=H+Math.imul(Ee,Vt)|0,G=G+Math.imul(ze,Je)|0,q=(q=q+Math.imul(ze,qe)|0)+Math.imul(je,Je)|0,H=H+Math.imul(je,qe)|0,G=G+Math.imul(ke,ft)|0,q=(q=q+Math.imul(ke,Re)|0)+Math.imul(Le,ft)|0,H=H+Math.imul(Le,Re)|0,G=G+Math.imul(ae,Qe)|0,q=(q=q+Math.imul(ae,ut)|0)+Math.imul(fe,Qe)|0,H=H+Math.imul(fe,ut)|0,G=G+Math.imul(Me,_t)|0,q=(q=q+Math.imul(Me,It)|0)+Math.imul(Se,_t)|0,H=H+Math.imul(Se,It)|0,G=G+Math.imul(xe,yt)|0,q=(q=q+Math.imul(xe,Pt)|0)+Math.imul(Pe,yt)|0,H=H+Math.imul(Pe,Pt)|0;var Tn=(X+(G=G+Math.imul(de,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(de,Nt)|0)+Math.imul(me,Rt)|0))<<13)|0;X=((H=H+Math.imul(me,Nt)|0)+(q>>>13)|0)+(Tn>>>26)|0,Tn&=67108863,G=Math.imul($e,qt),q=(q=Math.imul($e,Vt))+Math.imul(Ye,qt)|0,H=Math.imul(Ye,Vt),G=G+Math.imul(we,Je)|0,q=(q=q+Math.imul(we,qe)|0)+Math.imul(Ee,Je)|0,H=H+Math.imul(Ee,qe)|0,G=G+Math.imul(ze,ft)|0,q=(q=q+Math.imul(ze,Re)|0)+Math.imul(je,ft)|0,H=H+Math.imul(je,Re)|0,G=G+Math.imul(ke,Qe)|0,q=(q=q+Math.imul(ke,ut)|0)+Math.imul(Le,Qe)|0,H=H+Math.imul(Le,ut)|0,G=G+Math.imul(ae,_t)|0,q=(q=q+Math.imul(ae,It)|0)+Math.imul(fe,_t)|0,H=H+Math.imul(fe,It)|0,G=G+Math.imul(Me,yt)|0,q=(q=q+Math.imul(Me,Pt)|0)+Math.imul(Se,yt)|0,H=H+Math.imul(Se,Pt)|0;var dn=(X+(G=G+Math.imul(xe,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(xe,Nt)|0)+Math.imul(Pe,Rt)|0))<<13)|0;X=((H=H+Math.imul(Pe,Nt)|0)+(q>>>13)|0)+(dn>>>26)|0,dn&=67108863,G=Math.imul($e,Je),q=(q=Math.imul($e,qe))+Math.imul(Ye,Je)|0,H=Math.imul(Ye,qe),G=G+Math.imul(we,ft)|0,q=(q=q+Math.imul(we,Re)|0)+Math.imul(Ee,ft)|0,H=H+Math.imul(Ee,Re)|0,G=G+Math.imul(ze,Qe)|0,q=(q=q+Math.imul(ze,ut)|0)+Math.imul(je,Qe)|0,H=H+Math.imul(je,ut)|0,G=G+Math.imul(ke,_t)|0,q=(q=q+Math.imul(ke,It)|0)+Math.imul(Le,_t)|0,H=H+Math.imul(Le,It)|0,G=G+Math.imul(ae,yt)|0,q=(q=q+Math.imul(ae,Pt)|0)+Math.imul(fe,yt)|0,H=H+Math.imul(fe,Pt)|0;var pn=(X+(G=G+Math.imul(Me,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(Me,Nt)|0)+Math.imul(Se,Rt)|0))<<13)|0;X=((H=H+Math.imul(Se,Nt)|0)+(q>>>13)|0)+(pn>>>26)|0,pn&=67108863,G=Math.imul($e,ft),q=(q=Math.imul($e,Re))+Math.imul(Ye,ft)|0,H=Math.imul(Ye,Re),G=G+Math.imul(we,Qe)|0,q=(q=q+Math.imul(we,ut)|0)+Math.imul(Ee,Qe)|0,H=H+Math.imul(Ee,ut)|0,G=G+Math.imul(ze,_t)|0,q=(q=q+Math.imul(ze,It)|0)+Math.imul(je,_t)|0,H=H+Math.imul(je,It)|0,G=G+Math.imul(ke,yt)|0,q=(q=q+Math.imul(ke,Pt)|0)+Math.imul(Le,yt)|0,H=H+Math.imul(Le,Pt)|0;var Dn=(X+(G=G+Math.imul(ae,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(ae,Nt)|0)+Math.imul(fe,Rt)|0))<<13)|0;X=((H=H+Math.imul(fe,Nt)|0)+(q>>>13)|0)+(Dn>>>26)|0,Dn&=67108863,G=Math.imul($e,Qe),q=(q=Math.imul($e,ut))+Math.imul(Ye,Qe)|0,H=Math.imul(Ye,ut),G=G+Math.imul(we,_t)|0,q=(q=q+Math.imul(we,It)|0)+Math.imul(Ee,_t)|0,H=H+Math.imul(Ee,It)|0,G=G+Math.imul(ze,yt)|0,q=(q=q+Math.imul(ze,Pt)|0)+Math.imul(je,yt)|0,H=H+Math.imul(je,Pt)|0;var In=(X+(G=G+Math.imul(ke,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(ke,Nt)|0)+Math.imul(Le,Rt)|0))<<13)|0;X=((H=H+Math.imul(Le,Nt)|0)+(q>>>13)|0)+(In>>>26)|0,In&=67108863,G=Math.imul($e,_t),q=(q=Math.imul($e,It))+Math.imul(Ye,_t)|0,H=Math.imul(Ye,It),G=G+Math.imul(we,yt)|0,q=(q=q+Math.imul(we,Pt)|0)+Math.imul(Ee,yt)|0,H=H+Math.imul(Ee,Pt)|0;var jn=(X+(G=G+Math.imul(ze,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(ze,Nt)|0)+Math.imul(je,Rt)|0))<<13)|0;X=((H=H+Math.imul(je,Nt)|0)+(q>>>13)|0)+(jn>>>26)|0,jn&=67108863,G=Math.imul($e,yt),q=(q=Math.imul($e,Pt))+Math.imul(Ye,yt)|0,H=Math.imul(Ye,Pt);var Gn=(X+(G=G+Math.imul(we,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(we,Nt)|0)+Math.imul(Ee,Rt)|0))<<13)|0;X=((H=H+Math.imul(Ee,Nt)|0)+(q>>>13)|0)+(Gn>>>26)|0,Gn&=67108863;var qn=(X+(G=Math.imul($e,Rt))|0)+((8191&(q=(q=Math.imul($e,Nt))+Math.imul(Ye,Rt)|0))<<13)|0;return X=((H=Math.imul(Ye,Nt))+(q>>>13)|0)+(qn>>>26)|0,qn&=67108863,Z[0]=Yt,Z[1]=Wt,Z[2]=Xt,Z[3]=Qt,Z[4]=rn,Z[5]=xn,Z[6]=un,Z[7]=An,Z[8]=Yn,Z[9]=kn,Z[10]=sn,Z[11]=Tn,Z[12]=dn,Z[13]=pn,Z[14]=Dn,Z[15]=In,Z[16]=jn,Z[17]=Gn,Z[18]=qn,X!==0&&(Z[19]=X,U.length++),U};function L(j,$,U){return new b().mulp(j,$,U)}function b(j,$){this.x=j,this.y=$}Math.imul||(A=x),h.prototype.mulTo=function(j,$){var U,G=this.length+j.length;return U=this.length===10&&j.length===10?A(this,j,$):G<63?x(this,j,$):G<1024?function(q,H,ne){ne.negative=H.negative^q.negative,ne.length=q.length+H.length;for(var te=0,Z=0,X=0;X>>26)|0)>>>26,Q&=67108863}ne.words[X]=re,te=Q,Q=Z}return te!==0?ne.words[X]=te:ne.length--,ne.strip()}(this,j,$):L(this,j,$),U},b.prototype.makeRBT=function(j){for(var $=new Array(j),U=h.prototype._countBits(j)-1,G=0;G>=1;return G},b.prototype.permute=function(j,$,U,G,q,H){for(var ne=0;ne>>=1)q++;return 1<>>=13,U[2*H+1]=8191&q,q>>>=13;for(H=2*$;H>=26,$+=G/67108864|0,$+=q>>>26,this.words[U]=67108863&q}return $!==0&&(this.words[U]=$,this.length++),this},h.prototype.muln=function(j){return this.clone().imuln(j)},h.prototype.sqr=function(){return this.mul(this)},h.prototype.isqr=function(){return this.imul(this.clone())},h.prototype.pow=function(j){var $=function(H){for(var ne=new Array(H.bitLength()),te=0;te>>X}return ne}(j);if($.length===0)return new h(1);for(var U=this,G=0;G<$.length&&$[G]===0;G++,U=U.sqr());if(++G<$.length)for(var q=U.sqr();G<$.length;G++,q=q.sqr())$[G]!==0&&(U=U.mul(q));return U},h.prototype.iushln=function(j){s(typeof j=="number"&&j>=0);var $,U=j%26,G=(j-U)/26,q=67108863>>>26-U<<26-U;if(U!==0){var H=0;for($=0;$>>26-U}H&&(this.words[$]=H,this.length++)}if(G!==0){for($=this.length-1;$>=0;$--)this.words[$+G]=this.words[$];for($=0;$=0),G=$?($-$%26)/26:0;var q=j%26,H=Math.min((j-q)/26,this.length),ne=67108863^67108863>>>q<H)for(this.length-=H,Z=0;Z=0&&(X!==0||Z>=G);Z--){var Q=0|this.words[Z];this.words[Z]=X<<26-q|Q>>>q,X=Q&ne}return te&&X!==0&&(te.words[te.length++]=X),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},h.prototype.ishrn=function(j,$,U){return s(this.negative===0),this.iushrn(j,$,U)},h.prototype.shln=function(j){return this.clone().ishln(j)},h.prototype.ushln=function(j){return this.clone().iushln(j)},h.prototype.shrn=function(j){return this.clone().ishrn(j)},h.prototype.ushrn=function(j){return this.clone().iushrn(j)},h.prototype.testn=function(j){s(typeof j=="number"&&j>=0);var $=j%26,U=(j-$)/26,G=1<<$;return!(this.length<=U||!(this.words[U]&G))},h.prototype.imaskn=function(j){s(typeof j=="number"&&j>=0);var $=j%26,U=(j-$)/26;if(s(this.negative===0,"imaskn works only with positive numbers"),this.length<=U)return this;if($!==0&&U++,this.length=Math.min(U,this.length),$!==0){var G=67108863^67108863>>>$<<$;this.words[this.length-1]&=G}return this.strip()},h.prototype.maskn=function(j){return this.clone().imaskn(j)},h.prototype.iaddn=function(j){return s(typeof j=="number"),s(j<67108864),j<0?this.isubn(-j):this.negative!==0?this.length===1&&(0|this.words[0])=67108864;$++)this.words[$]-=67108864,$===this.length-1?this.words[$+1]=1:this.words[$+1]++;return this.length=Math.max(this.length,$+1),this},h.prototype.isubn=function(j){if(s(typeof j=="number"),s(j<67108864),j<0)return this.iaddn(-j);if(this.negative!==0)return this.negative=0,this.iaddn(j),this.negative=1,this;if(this.words[0]-=j,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var $=0;$>26)-(te/67108864|0),this.words[G+U]=67108863&q}for(;G>26,this.words[G+U]=67108863&q;if(ne===0)return this.strip();for(s(ne===-1),ne=0,G=0;G>26,this.words[G]=67108863&q;return this.negative=1,this.strip()},h.prototype._wordDiv=function(j,$){var U=(this.length,j.length),G=this.clone(),q=j,H=0|q.words[q.length-1];(U=26-this._countBits(H))!=0&&(q=q.ushln(U),G.iushln(U),H=0|q.words[q.length-1]);var ne,te=G.length-q.length;if($!=="mod"){(ne=new h(null)).length=te+1,ne.words=new Array(ne.length);for(var Z=0;Z=0;Q--){var re=67108864*(0|G.words[q.length+Q])+(0|G.words[q.length+Q-1]);for(re=Math.min(re/H|0,67108863),G._ishlnsubmul(q,re,Q);G.negative!==0;)re--,G.negative=0,G._ishlnsubmul(q,1,Q),G.isZero()||(G.negative^=1);ne&&(ne.words[Q]=re)}return ne&&ne.strip(),G.strip(),$!=="div"&&U!==0&&G.iushrn(U),{div:ne||null,mod:G}},h.prototype.divmod=function(j,$,U){return s(!j.isZero()),this.isZero()?{div:new h(0),mod:new h(0)}:this.negative!==0&&j.negative===0?(H=this.neg().divmod(j,$),$!=="mod"&&(G=H.div.neg()),$!=="div"&&(q=H.mod.neg(),U&&q.negative!==0&&q.iadd(j)),{div:G,mod:q}):this.negative===0&&j.negative!==0?(H=this.divmod(j.neg(),$),$!=="mod"&&(G=H.div.neg()),{div:G,mod:H.mod}):this.negative&j.negative?(H=this.neg().divmod(j.neg(),$),$!=="div"&&(q=H.mod.neg(),U&&q.negative!==0&&q.isub(j)),{div:H.div,mod:q}):j.length>this.length||this.cmp(j)<0?{div:new h(0),mod:this}:j.length===1?$==="div"?{div:this.divn(j.words[0]),mod:null}:$==="mod"?{div:null,mod:new h(this.modn(j.words[0]))}:{div:this.divn(j.words[0]),mod:new h(this.modn(j.words[0]))}:this._wordDiv(j,$);var G,q,H},h.prototype.div=function(j){return this.divmod(j,"div",!1).div},h.prototype.mod=function(j){return this.divmod(j,"mod",!1).mod},h.prototype.umod=function(j){return this.divmod(j,"mod",!0).mod},h.prototype.divRound=function(j){var $=this.divmod(j);if($.mod.isZero())return $.div;var U=$.div.negative!==0?$.mod.isub(j):$.mod,G=j.ushrn(1),q=j.andln(1),H=U.cmp(G);return H<0||q===1&&H===0?$.div:$.div.negative!==0?$.div.isubn(1):$.div.iaddn(1)},h.prototype.modn=function(j){s(j<=67108863);for(var $=67108864%j,U=0,G=this.length-1;G>=0;G--)U=($*U+(0|this.words[G]))%j;return U},h.prototype.idivn=function(j){s(j<=67108863);for(var $=0,U=this.length-1;U>=0;U--){var G=(0|this.words[U])+67108864*$;this.words[U]=G/j|0,$=G%j}return this.strip()},h.prototype.divn=function(j){return this.clone().idivn(j)},h.prototype.egcd=function(j){s(j.negative===0),s(!j.isZero());var $=this,U=j.clone();$=$.negative!==0?$.umod(j):$.clone();for(var G=new h(1),q=new h(0),H=new h(0),ne=new h(1),te=0;$.isEven()&&U.isEven();)$.iushrn(1),U.iushrn(1),++te;for(var Z=U.clone(),X=$.clone();!$.isZero();){for(var Q=0,re=1;!($.words[0]&re)&&Q<26;++Q,re<<=1);if(Q>0)for($.iushrn(Q);Q-- >0;)(G.isOdd()||q.isOdd())&&(G.iadd(Z),q.isub(X)),G.iushrn(1),q.iushrn(1);for(var ie=0,oe=1;!(U.words[0]&oe)&&ie<26;++ie,oe<<=1);if(ie>0)for(U.iushrn(ie);ie-- >0;)(H.isOdd()||ne.isOdd())&&(H.iadd(Z),ne.isub(X)),H.iushrn(1),ne.iushrn(1);$.cmp(U)>=0?($.isub(U),G.isub(H),q.isub(ne)):(U.isub($),H.isub(G),ne.isub(q))}return{a:H,b:ne,gcd:U.iushln(te)}},h.prototype._invmp=function(j){s(j.negative===0),s(!j.isZero());var $=this,U=j.clone();$=$.negative!==0?$.umod(j):$.clone();for(var G,q=new h(1),H=new h(0),ne=U.clone();$.cmpn(1)>0&&U.cmpn(1)>0;){for(var te=0,Z=1;!($.words[0]&Z)&&te<26;++te,Z<<=1);if(te>0)for($.iushrn(te);te-- >0;)q.isOdd()&&q.iadd(ne),q.iushrn(1);for(var X=0,Q=1;!(U.words[0]&Q)&&X<26;++X,Q<<=1);if(X>0)for(U.iushrn(X);X-- >0;)H.isOdd()&&H.iadd(ne),H.iushrn(1);$.cmp(U)>=0?($.isub(U),q.isub(H)):(U.isub($),H.isub(q))}return(G=$.cmpn(1)===0?q:H).cmpn(0)<0&&G.iadd(j),G},h.prototype.gcd=function(j){if(this.isZero())return j.abs();if(j.isZero())return this.abs();var $=this.clone(),U=j.clone();$.negative=0,U.negative=0;for(var G=0;$.isEven()&&U.isEven();G++)$.iushrn(1),U.iushrn(1);for(;;){for(;$.isEven();)$.iushrn(1);for(;U.isEven();)U.iushrn(1);var q=$.cmp(U);if(q<0){var H=$;$=U,U=H}else if(q===0||U.cmpn(1)===0)break;$.isub(U)}return U.iushln(G)},h.prototype.invm=function(j){return this.egcd(j).a.umod(j)},h.prototype.isEven=function(){return(1&this.words[0])==0},h.prototype.isOdd=function(){return(1&this.words[0])==1},h.prototype.andln=function(j){return this.words[0]&j},h.prototype.bincn=function(j){s(typeof j=="number");var $=j%26,U=(j-$)/26,G=1<<$;if(this.length<=U)return this._expand(U+1),this.words[U]|=G,this;for(var q=G,H=U;q!==0&&H>>26,ne&=67108863,this.words[H]=ne}return q!==0&&(this.words[H]=q,this.length++),this},h.prototype.isZero=function(){return this.length===1&&this.words[0]===0},h.prototype.cmpn=function(j){var $,U=j<0;if(this.negative!==0&&!U)return-1;if(this.negative===0&&U)return 1;if(this.strip(),this.length>1)$=1;else{U&&(j=-j),s(j<=67108863,"Number is too big");var G=0|this.words[0];$=G===j?0:Gj.length)return 1;if(this.length=0;U--){var G=0|this.words[U],q=0|j.words[U];if(G!==q){Gq&&($=1);break}}return $},h.prototype.gtn=function(j){return this.cmpn(j)===1},h.prototype.gt=function(j){return this.cmp(j)===1},h.prototype.gten=function(j){return this.cmpn(j)>=0},h.prototype.gte=function(j){return this.cmp(j)>=0},h.prototype.ltn=function(j){return this.cmpn(j)===-1},h.prototype.lt=function(j){return this.cmp(j)===-1},h.prototype.lten=function(j){return this.cmpn(j)<=0},h.prototype.lte=function(j){return this.cmp(j)<=0},h.prototype.eqn=function(j){return this.cmpn(j)===0},h.prototype.eq=function(j){return this.cmp(j)===0},h.red=function(j){return new N(j)},h.prototype.toRed=function(j){return s(!this.red,"Already a number in reduction context"),s(this.negative===0,"red works only with positives"),j.convertTo(this)._forceRed(j)},h.prototype.fromRed=function(){return s(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},h.prototype._forceRed=function(j){return this.red=j,this},h.prototype.forceRed=function(j){return s(!this.red,"Already a number in reduction context"),this._forceRed(j)},h.prototype.redAdd=function(j){return s(this.red,"redAdd works only with red numbers"),this.red.add(this,j)},h.prototype.redIAdd=function(j){return s(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,j)},h.prototype.redSub=function(j){return s(this.red,"redSub works only with red numbers"),this.red.sub(this,j)},h.prototype.redISub=function(j){return s(this.red,"redISub works only with red numbers"),this.red.isub(this,j)},h.prototype.redShl=function(j){return s(this.red,"redShl works only with red numbers"),this.red.shl(this,j)},h.prototype.redMul=function(j){return s(this.red,"redMul works only with red numbers"),this.red._verify2(this,j),this.red.mul(this,j)},h.prototype.redIMul=function(j){return s(this.red,"redMul works only with red numbers"),this.red._verify2(this,j),this.red.imul(this,j)},h.prototype.redSqr=function(){return s(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},h.prototype.redISqr=function(){return s(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},h.prototype.redSqrt=function(){return s(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},h.prototype.redInvm=function(){return s(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},h.prototype.redNeg=function(){return s(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},h.prototype.redPow=function(j){return s(this.red&&!j.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,j)};var R={k256:null,p224:null,p192:null,p25519:null};function I(j,$){this.name=j,this.p=new h($,16),this.n=this.p.bitLength(),this.k=new h(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function O(){I.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function z(){I.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function F(){I.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function B(){I.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function N(j){if(typeof j=="string"){var $=h._prime(j);this.m=$.p,this.prime=$}else s(j.gtn(1),"modulus must be greater than 1"),this.m=j,this.prime=null}function W(j){N.call(this,j),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new h(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}I.prototype._tmp=function(){var j=new h(null);return j.words=new Array(Math.ceil(this.n/13)),j},I.prototype.ireduce=function(j){var $,U=j;do this.split(U,this.tmp),$=(U=(U=this.imulK(U)).iadd(this.tmp)).bitLength();while($>this.n);var G=$0?U.isub(this.p):U.strip!==void 0?U.strip():U._strip(),U},I.prototype.split=function(j,$){j.iushrn(this.n,0,$)},I.prototype.imulK=function(j){return j.imul(this.k)},c(O,I),O.prototype.split=function(j,$){for(var U=4194303,G=Math.min(j.length,9),q=0;q>>22,H=ne}H>>>=22,j.words[q-10]=H,H===0&&j.length>10?j.length-=10:j.length-=9},O.prototype.imulK=function(j){j.words[j.length]=0,j.words[j.length+1]=0,j.length+=2;for(var $=0,U=0;U>>=26,j.words[U]=q,$=G}return $!==0&&(j.words[j.length++]=$),j},h._prime=function(j){if(R[j])return R[j];var $;if(j==="k256")$=new O;else if(j==="p224")$=new z;else if(j==="p192")$=new F;else{if(j!=="p25519")throw new Error("Unknown prime "+j);$=new B}return R[j]=$,$},N.prototype._verify1=function(j){s(j.negative===0,"red works only with positives"),s(j.red,"red works only with red numbers")},N.prototype._verify2=function(j,$){s((j.negative|$.negative)==0,"red works only with positives"),s(j.red&&j.red===$.red,"red works only with red numbers")},N.prototype.imod=function(j){return this.prime?this.prime.ireduce(j)._forceRed(this):j.umod(this.m)._forceRed(this)},N.prototype.neg=function(j){return j.isZero()?j.clone():this.m.sub(j)._forceRed(this)},N.prototype.add=function(j,$){this._verify2(j,$);var U=j.add($);return U.cmp(this.m)>=0&&U.isub(this.m),U._forceRed(this)},N.prototype.iadd=function(j,$){this._verify2(j,$);var U=j.iadd($);return U.cmp(this.m)>=0&&U.isub(this.m),U},N.prototype.sub=function(j,$){this._verify2(j,$);var U=j.sub($);return U.cmpn(0)<0&&U.iadd(this.m),U._forceRed(this)},N.prototype.isub=function(j,$){this._verify2(j,$);var U=j.isub($);return U.cmpn(0)<0&&U.iadd(this.m),U},N.prototype.shl=function(j,$){return this._verify1(j),this.imod(j.ushln($))},N.prototype.imul=function(j,$){return this._verify2(j,$),this.imod(j.imul($))},N.prototype.mul=function(j,$){return this._verify2(j,$),this.imod(j.mul($))},N.prototype.isqr=function(j){return this.imul(j,j.clone())},N.prototype.sqr=function(j){return this.mul(j,j)},N.prototype.sqrt=function(j){if(j.isZero())return j.clone();var $=this.m.andln(3);if(s($%2==1),$===3){var U=this.m.add(new h(1)).iushrn(2);return this.pow(j,U)}for(var G=this.m.subn(1),q=0;!G.isZero()&&G.andln(1)===0;)q++,G.iushrn(1);s(!G.isZero());var H=new h(1).toRed(this),ne=H.redNeg(),te=this.m.subn(1).iushrn(1),Z=this.m.bitLength();for(Z=new h(2*Z*Z).toRed(this);this.pow(Z,te).cmp(ne)!==0;)Z.redIAdd(ne);for(var X=this.pow(Z,G),Q=this.pow(j,G.addn(1).iushrn(1)),re=this.pow(j,G),ie=q;re.cmp(H)!==0;){for(var oe=re,ue=0;oe.cmp(H)!==0;ue++)oe=oe.redSqr();s(ue=0;G--){for(var Z=$.words[G],X=te-1;X>=0;X--){var Q=Z>>X&1;q!==U[0]&&(q=this.sqr(q)),Q!==0||H!==0?(H<<=1,H|=Q,(++ne==4||G===0&&X===0)&&(q=this.mul(q,U[H]),ne=0,H=0)):ne=0}te=26}return q},N.prototype.convertTo=function(j){var $=j.umod(this.m);return $===j?$.clone():$},N.prototype.convertFrom=function(j){var $=j.clone();return $.red=null,$},h.mont=function(j){return new W(j)},c(W,N),W.prototype.convertTo=function(j){return this.imod(j.ushln(this.shift))},W.prototype.convertFrom=function(j){var $=this.imod(j.mul(this.rinv));return $.red=null,$},W.prototype.imul=function(j,$){if(j.isZero()||$.isZero())return j.words[0]=0,j.length=1,j;var U=j.imul($),G=U.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),q=U.isub(G).iushrn(this.shift),H=q;return q.cmp(this.m)>=0?H=q.isub(this.m):q.cmpn(0)<0&&(H=q.iadd(this.m)),H._forceRed(this)},W.prototype.mul=function(j,$){if(j.isZero()||$.isZero())return new h(0)._forceRed(this);var U=j.mul($),G=U.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),q=U.isub(G).iushrn(this.shift),H=q;return q.cmp(this.m)>=0?H=q.isub(this.m):q.cmpn(0)<0&&(H=q.iadd(this.m)),H._forceRed(this)},W.prototype.invm=function(j){return this.imod(j._invmp(this.m).mul(this.r2))._forceRed(this)}})(f=a.nmd(f),this)},2692:function(f){f.exports=function(l){var a,u,o,s=l.length,c=0;for(a=0;a>>1;if(!(R<=0)){var I,O=o.mallocDouble(2*R*L),z=o.mallocInt32(L);if((L=m(k,R,O,z))>0){if(R===1&&A)s.init(L),I=s.sweepComplete(R,x,0,L,O,z,0,L,O,z);else{var F=o.mallocDouble(2*R*b),B=o.mallocInt32(b);(b=m(E,R,F,B))>0&&(s.init(L+b),I=R===1?s.sweepBipartite(R,x,0,L,O,z,0,b,F,B):c(R,x,A,L,O,z,b,F,B),o.free(F),o.free(B))}o.free(O),o.free(z)}return I}}}function y(k,E){u.push([k,E])}function S(k){return u=[],w(k,k,y,!0),u}function _(k,E){return u=[],w(k,E,y,!1),u}},7333:function(f,l){function a(u){return u?function(o,s,c,h,m,w,y,S,_,k,E){return m-h>_-S?function(x,A,L,b,R,I,O,z,F,B,N){for(var W=2*x,j=b,$=W*b;jk-_?h?function(A,L,b,R,I,O,z,F,B,N,W){for(var j=2*A,$=R,U=j*R;$0;){var te=6*(H-=1),Z=L[te],X=L[te+1],Q=L[te+2],re=L[te+3],ie=L[te+4],oe=L[te+5],ue=2*H,ce=b[ue],ye=b[ue+1],de=1&oe,me=!!(16&oe),pe=W,xe=j,Pe=U,_e=G;if(de&&(pe=U,xe=G,Pe=W,_e=j),!(2&oe&&(Q=k(z,Z,X,Q,pe,xe,ye),X>=Q)||4&oe&&(X=E(z,Z,X,Q,pe,xe,ce))>=Q)){var Me=Q-X,Se=ie-re;if(me){if(z*Me*(Me+Se)<4194304){if((q=m.scanComplete(z,Z,F,X,Q,pe,xe,re,ie,Pe,_e))!==void 0)return q;continue}}else{if(z*Math.min(Me,Se)<128){if((q=c(z,Z,F,de,X,Q,pe,xe,re,ie,Pe,_e))!==void 0)return q;continue}if(z*Me*Se<4194304){if((q=m.scanBipartite(z,Z,F,de,X,Q,pe,xe,re,ie,Pe,_e))!==void 0)return q;continue}}var Ce=S(z,Z,X,Q,pe,xe,ce,ye);if(X=p0)&&!(p1>=hi)"),_=y("lo===p0"),k=y("lo>>1,E=2*s,x=k,A=w[E*k+c];S<_;){if(_-S<8){o(s,c,S,_,w,y),A=w[E*k+c];break}var L=_-S,b=Math.random()*L+S|0,R=w[E*b+c],I=Math.random()*L+S|0,O=w[E*I+c],z=Math.random()*L+S|0,F=w[E*z+c];R<=O?F>=O?(x=I,A=O):R>=F?(x=b,A=R):(x=z,A=F):O>=F?(x=I,A=O):F>=R?(x=b,A=R):(x=z,A=F);for(var B=E*(_-1),N=E*x,W=0;Wh&&w[A+c]>E;--x,A-=S){for(var L=A,b=A+S,R=0;RE;++E,y+=w)if(c[y+k]===m)if(_===E)_+=1,S+=w;else{for(var x=0;w>x;++x){var A=c[y+x];c[y+x]=c[S],c[S++]=A}var L=h[E];h[E]=h[_],h[_++]=L}return _},"loE;++E,y+=w)if(c[y+k]x;++x){var A=c[y+x];c[y+x]=c[S],c[S++]=A}var L=h[E];h[E]=h[_],h[_++]=L}return _},"lo<=p0":function(a,u,o,s,c,h,m){for(var w=2*a,y=w*o,S=y,_=o,k=a+u,E=o;s>E;++E,y+=w)if(c[y+k]<=m)if(_===E)_+=1,S+=w;else{for(var x=0;w>x;++x){var A=c[y+x];c[y+x]=c[S],c[S++]=A}var L=h[E];h[E]=h[_],h[_++]=L}return _},"hi<=p0":function(a,u,o,s,c,h,m){for(var w=2*a,y=w*o,S=y,_=o,k=a+u,E=o;s>E;++E,y+=w)if(c[y+k]<=m)if(_===E)_+=1,S+=w;else{for(var x=0;w>x;++x){var A=c[y+x];c[y+x]=c[S],c[S++]=A}var L=h[E];h[E]=h[_],h[_++]=L}return _},"lox;++x,y+=w){var A=c[y+k],L=c[y+E];if(Ab;++b){var R=c[y+b];c[y+b]=c[S],c[S++]=R}var I=h[x];h[x]=h[_],h[_++]=I}}return _},"lo<=p0&&p0<=hi":function(a,u,o,s,c,h,m){for(var w=2*a,y=w*o,S=y,_=o,k=u,E=a+u,x=o;s>x;++x,y+=w){var A=c[y+k],L=c[y+E];if(A<=m&&m<=L)if(_===x)_+=1,S+=w;else{for(var b=0;w>b;++b){var R=c[y+b];c[y+b]=c[S],c[S++]=R}var I=h[x];h[x]=h[_],h[_++]=I}}return _},"!(lo>=p0)&&!(p1>=hi)":function(a,u,o,s,c,h,m,w){for(var y=2*a,S=y*o,_=S,k=o,E=u,x=a+u,A=o;s>A;++A,S+=y){var L=c[S+E],b=c[S+x];if(!(L>=m||w>=b))if(k===A)k+=1,_+=y;else{for(var R=0;y>R;++R){var I=c[S+R];c[S+R]=c[_],c[_++]=I}var O=h[A];h[A]=h[k],h[k++]=O}}return k}}},309:function(f){function l(w,y,S){for(var _=2*(w+1),k=w+1;k<=y;++k){for(var E=S[_++],x=S[_++],A=k,L=_-2;A-- >w;){var b=S[L-2],R=S[L-1];if(bS[y+1])}function h(w,y,S,_){var k=_[w*=2];return k>1,A=x-_,L=x+_,b=k,R=A,I=x,O=L,z=E,F=w+1,B=y-1,N=0;c(b,R,S)&&(N=b,b=R,R=N),c(O,z,S)&&(N=O,O=z,z=N),c(b,I,S)&&(N=b,b=I,I=N),c(R,I,S)&&(N=R,R=I,I=N),c(b,O,S)&&(N=b,b=O,O=N),c(I,O,S)&&(N=I,I=O,O=N),c(R,z,S)&&(N=R,R=z,z=N),c(R,I,S)&&(N=R,R=I,I=N),c(O,z,S)&&(N=O,O=z,z=N);for(var W=S[2*R],j=S[2*R+1],$=S[2*O],U=S[2*O+1],G=2*b,q=2*I,H=2*z,ne=2*k,te=2*x,Z=2*E,X=0;X<2;++X){var Q=S[G+X],re=S[q+X],ie=S[H+X];S[ne+X]=Q,S[te+X]=re,S[Z+X]=ie}u(A,w,S),u(L,y,S);for(var oe=F;oe<=B;++oe)if(h(oe,W,j,S))oe!==F&&a(oe,F,S),++F;else if(!h(oe,$,U,S))for(;;){if(h(B,$,U,S)){h(B,W,j,S)?(o(oe,F,B,S),++F,--B):(a(oe,B,S),--B);break}if(--B>>1;s(E,Z);var X=0,Q=0;for(q=0;q=c)x(y,S,Q--,re=re-c|0);else if(re>=0)x(m,w,X--,re);else if(re<=-268435456){re=-re-c|0;for(var ie=0;ie>>1;s(E,Z);var X=0,Q=0,re=0;for(q=0;q>1==E[2*q+3]>>1&&(oe=2,q+=1),ie<0){for(var ue=-(ie>>1)-1,ce=0;ce>1)-1,oe===0?x(m,w,X--,ue):oe===1?x(y,S,Q--,ue):oe===2&&x(_,k,re--,ue)}},scanBipartite:function(L,b,R,I,O,z,F,B,N,W,j,$){var U=0,G=2*L,q=b,H=b+L,ne=1,te=1;I?te=c:ne=c;for(var Z=O;Z>>1;s(E,ie);var oe=0;for(Z=0;Z=c?(ce=!I,X-=c):(ce=!!I,X-=1),ce)A(m,w,oe++,X);else{var ye=$[X],de=G*X,me=j[de+b+1],pe=j[de+b+1+L];e:for(var xe=0;xe>>1;s(E,X);var Q=0;for(H=0;H=c)m[Q++]=ne-c;else{var ie=j[ne-=1],oe=U*ne,ue=W[oe+b+1],ce=W[oe+b+1+L];e:for(var ye=0;ye=0;--ye)if(m[ye]===ne){for(xe=ye+1;xe0;){for(var A=h.pop(),L=(k=-1,E=-1,S=w[y=h.pop()],1);L=0||(c.flip(y,A),o(s,c,h,k,y,E),o(s,c,h,y,E,k),o(s,c,h,E,A,k),o(s,c,h,A,k,E))}}},7098:function(f,l,a){var u,o=a(5070);function s(h,m,w,y,S,_,k){this.cells=h,this.neighbor=m,this.flags=y,this.constraint=w,this.active=S,this.next=_,this.boundary=k}function c(h,m){return h[0]-m[0]||h[1]-m[1]||h[2]-m[2]}f.exports=function(h,m,w){var y=function(F,B){for(var N=F.cells(),W=N.length,j=0;j0||k.length>0;){for(;_.length>0;){var b=_.pop();if(E[b]!==-S){E[b]=S,x[b];for(var R=0;R<3;++R){var I=L[3*b+R];I>=0&&E[I]===0&&(A[3*b+R]?k.push(I):(_.push(I),E[I]=S))}}}var O=k;k=_,_=O,k.length=0,S=-S}var z=function(F,B,N){for(var W=0,j=0;j1&&o(x[z[F-2]],x[z[F-1]],A)>0;)k.push([z[F-1],z[F-2],L]),F-=1;z.length=F,z.push(L);var B=O.upperIds;for(F=B.length;F>1&&o(x[B[F-2]],x[B[F-1]],A)<0;)k.push([B[F-2],B[F-1],L]),F-=1;B.length=F,B.push(L)}}function y(k,E){var x;return(x=k.a[0]O[0]&&L.push(new c(O,I,2,b),new c(I,O,1,b))}L.sort(h);for(var z=L[0].a[0]-(1+Math.abs(L[0].a[0]))*Math.pow(2,-52),F=[new s([z,1],[z,0],-1,[],[])],B=[],N=(b=0,L.length);b=0}}(),s.removeTriangle=function(h,m,w){var y=this.stars;c(y[h],m,w),c(y[m],w,h),c(y[w],h,m)},s.addTriangle=function(h,m,w){var y=this.stars;y[h].push(m,w),y[m].push(w,h),y[w].push(h,m)},s.opposite=function(h,m){for(var w=this.stars[m],y=1,S=w.length;yI[2]?1:0)}function L(R,I,O){if(R.length!==0){if(I)for(var z=0;z=0;--H){var ue=$[ne=(_e=G[H])[0]],ce=ue[0],ye=ue[1],de=j[ce],me=j[ye];if((de[0]-me[0]||de[1]-me[1])<0){var pe=ce;ce=ye,ye=pe}ue[0]=ce;var xe,Pe=ue[1]=_e[1];for(q&&(xe=ue[2]);H>0&&G[H-1][0]===ne;){var _e,Me=(_e=G[--H])[1];q?$.push([Pe,Me,xe]):$.push([Pe,Me]),Pe=Me}q?$.push([Pe,ye,xe]):$.push([Pe,ye])}return te}(R,I,F,B,O),W=E(R,N);return L(I,W,O),!!W||F.length>0||B.length>0}},5528:function(f,l,a){f.exports=function(S,_,k,E){var x=h(_,S),A=h(E,k),L=y(x,A);if(c(L)===0)return null;var b=y(A,h(S,k)),R=o(b,L),I=w(x,R);return m(S,I)};var u=a(3962),o=a(9189),s=a(4354),c=a(4951),h=a(6695),m=a(7584),w=a(4469);function y(S,_){return s(u(S[0],_[1]),u(S[1],_[0]))}},5692:function(f){f.exports={jet:[{index:0,rgb:[0,0,131]},{index:.125,rgb:[0,60,170]},{index:.375,rgb:[5,255,255]},{index:.625,rgb:[255,255,0]},{index:.875,rgb:[250,0,0]},{index:1,rgb:[128,0,0]}],hsv:[{index:0,rgb:[255,0,0]},{index:.169,rgb:[253,255,2]},{index:.173,rgb:[247,255,2]},{index:.337,rgb:[0,252,4]},{index:.341,rgb:[0,252,10]},{index:.506,rgb:[1,249,255]},{index:.671,rgb:[2,0,253]},{index:.675,rgb:[8,0,253]},{index:.839,rgb:[255,0,251]},{index:.843,rgb:[255,0,245]},{index:1,rgb:[255,0,6]}],hot:[{index:0,rgb:[0,0,0]},{index:.3,rgb:[230,0,0]},{index:.6,rgb:[255,210,0]},{index:1,rgb:[255,255,255]}],spring:[{index:0,rgb:[255,0,255]},{index:1,rgb:[255,255,0]}],summer:[{index:0,rgb:[0,128,102]},{index:1,rgb:[255,255,102]}],autumn:[{index:0,rgb:[255,0,0]},{index:1,rgb:[255,255,0]}],winter:[{index:0,rgb:[0,0,255]},{index:1,rgb:[0,255,128]}],bone:[{index:0,rgb:[0,0,0]},{index:.376,rgb:[84,84,116]},{index:.753,rgb:[169,200,200]},{index:1,rgb:[255,255,255]}],copper:[{index:0,rgb:[0,0,0]},{index:.804,rgb:[255,160,102]},{index:1,rgb:[255,199,127]}],greys:[{index:0,rgb:[0,0,0]},{index:1,rgb:[255,255,255]}],yignbu:[{index:0,rgb:[8,29,88]},{index:.125,rgb:[37,52,148]},{index:.25,rgb:[34,94,168]},{index:.375,rgb:[29,145,192]},{index:.5,rgb:[65,182,196]},{index:.625,rgb:[127,205,187]},{index:.75,rgb:[199,233,180]},{index:.875,rgb:[237,248,217]},{index:1,rgb:[255,255,217]}],greens:[{index:0,rgb:[0,68,27]},{index:.125,rgb:[0,109,44]},{index:.25,rgb:[35,139,69]},{index:.375,rgb:[65,171,93]},{index:.5,rgb:[116,196,118]},{index:.625,rgb:[161,217,155]},{index:.75,rgb:[199,233,192]},{index:.875,rgb:[229,245,224]},{index:1,rgb:[247,252,245]}],yiorrd:[{index:0,rgb:[128,0,38]},{index:.125,rgb:[189,0,38]},{index:.25,rgb:[227,26,28]},{index:.375,rgb:[252,78,42]},{index:.5,rgb:[253,141,60]},{index:.625,rgb:[254,178,76]},{index:.75,rgb:[254,217,118]},{index:.875,rgb:[255,237,160]},{index:1,rgb:[255,255,204]}],bluered:[{index:0,rgb:[0,0,255]},{index:1,rgb:[255,0,0]}],rdbu:[{index:0,rgb:[5,10,172]},{index:.35,rgb:[106,137,247]},{index:.5,rgb:[190,190,190]},{index:.6,rgb:[220,170,132]},{index:.7,rgb:[230,145,90]},{index:1,rgb:[178,10,28]}],picnic:[{index:0,rgb:[0,0,255]},{index:.1,rgb:[51,153,255]},{index:.2,rgb:[102,204,255]},{index:.3,rgb:[153,204,255]},{index:.4,rgb:[204,204,255]},{index:.5,rgb:[255,255,255]},{index:.6,rgb:[255,204,255]},{index:.7,rgb:[255,153,255]},{index:.8,rgb:[255,102,204]},{index:.9,rgb:[255,102,102]},{index:1,rgb:[255,0,0]}],rainbow:[{index:0,rgb:[150,0,90]},{index:.125,rgb:[0,0,200]},{index:.25,rgb:[0,25,255]},{index:.375,rgb:[0,152,255]},{index:.5,rgb:[44,255,150]},{index:.625,rgb:[151,255,0]},{index:.75,rgb:[255,234,0]},{index:.875,rgb:[255,111,0]},{index:1,rgb:[255,0,0]}],portland:[{index:0,rgb:[12,51,131]},{index:.25,rgb:[10,136,186]},{index:.5,rgb:[242,211,56]},{index:.75,rgb:[242,143,56]},{index:1,rgb:[217,30,30]}],blackbody:[{index:0,rgb:[0,0,0]},{index:.2,rgb:[230,0,0]},{index:.4,rgb:[230,210,0]},{index:.7,rgb:[255,255,255]},{index:1,rgb:[160,200,255]}],earth:[{index:0,rgb:[0,0,130]},{index:.1,rgb:[0,180,180]},{index:.2,rgb:[40,210,40]},{index:.4,rgb:[230,230,50]},{index:.6,rgb:[120,70,20]},{index:1,rgb:[255,255,255]}],electric:[{index:0,rgb:[0,0,0]},{index:.15,rgb:[30,0,100]},{index:.4,rgb:[120,0,100]},{index:.6,rgb:[160,90,0]},{index:.8,rgb:[230,200,0]},{index:1,rgb:[255,250,220]}],alpha:[{index:0,rgb:[255,255,255,0]},{index:1,rgb:[255,255,255,1]}],viridis:[{index:0,rgb:[68,1,84]},{index:.13,rgb:[71,44,122]},{index:.25,rgb:[59,81,139]},{index:.38,rgb:[44,113,142]},{index:.5,rgb:[33,144,141]},{index:.63,rgb:[39,173,129]},{index:.75,rgb:[92,200,99]},{index:.88,rgb:[170,220,50]},{index:1,rgb:[253,231,37]}],inferno:[{index:0,rgb:[0,0,4]},{index:.13,rgb:[31,12,72]},{index:.25,rgb:[85,15,109]},{index:.38,rgb:[136,34,106]},{index:.5,rgb:[186,54,85]},{index:.63,rgb:[227,89,51]},{index:.75,rgb:[249,140,10]},{index:.88,rgb:[249,201,50]},{index:1,rgb:[252,255,164]}],magma:[{index:0,rgb:[0,0,4]},{index:.13,rgb:[28,16,68]},{index:.25,rgb:[79,18,123]},{index:.38,rgb:[129,37,129]},{index:.5,rgb:[181,54,122]},{index:.63,rgb:[229,80,100]},{index:.75,rgb:[251,135,97]},{index:.88,rgb:[254,194,135]},{index:1,rgb:[252,253,191]}],plasma:[{index:0,rgb:[13,8,135]},{index:.13,rgb:[75,3,161]},{index:.25,rgb:[125,3,168]},{index:.38,rgb:[168,34,150]},{index:.5,rgb:[203,70,121]},{index:.63,rgb:[229,107,93]},{index:.75,rgb:[248,148,65]},{index:.88,rgb:[253,195,40]},{index:1,rgb:[240,249,33]}],warm:[{index:0,rgb:[125,0,179]},{index:.13,rgb:[172,0,187]},{index:.25,rgb:[219,0,170]},{index:.38,rgb:[255,0,130]},{index:.5,rgb:[255,63,74]},{index:.63,rgb:[255,123,0]},{index:.75,rgb:[234,176,0]},{index:.88,rgb:[190,228,0]},{index:1,rgb:[147,255,0]}],cool:[{index:0,rgb:[125,0,179]},{index:.13,rgb:[116,0,218]},{index:.25,rgb:[98,74,237]},{index:.38,rgb:[68,146,231]},{index:.5,rgb:[0,204,197]},{index:.63,rgb:[0,247,146]},{index:.75,rgb:[0,255,88]},{index:.88,rgb:[40,255,8]},{index:1,rgb:[147,255,0]}],"rainbow-soft":[{index:0,rgb:[125,0,179]},{index:.1,rgb:[199,0,180]},{index:.2,rgb:[255,0,121]},{index:.3,rgb:[255,108,0]},{index:.4,rgb:[222,194,0]},{index:.5,rgb:[150,255,0]},{index:.6,rgb:[0,255,55]},{index:.7,rgb:[0,246,150]},{index:.8,rgb:[50,167,222]},{index:.9,rgb:[103,51,235]},{index:1,rgb:[124,0,186]}],bathymetry:[{index:0,rgb:[40,26,44]},{index:.13,rgb:[59,49,90]},{index:.25,rgb:[64,76,139]},{index:.38,rgb:[63,110,151]},{index:.5,rgb:[72,142,158]},{index:.63,rgb:[85,174,163]},{index:.75,rgb:[120,206,163]},{index:.88,rgb:[187,230,172]},{index:1,rgb:[253,254,204]}],cdom:[{index:0,rgb:[47,15,62]},{index:.13,rgb:[87,23,86]},{index:.25,rgb:[130,28,99]},{index:.38,rgb:[171,41,96]},{index:.5,rgb:[206,67,86]},{index:.63,rgb:[230,106,84]},{index:.75,rgb:[242,149,103]},{index:.88,rgb:[249,193,135]},{index:1,rgb:[254,237,176]}],chlorophyll:[{index:0,rgb:[18,36,20]},{index:.13,rgb:[25,63,41]},{index:.25,rgb:[24,91,59]},{index:.38,rgb:[13,119,72]},{index:.5,rgb:[18,148,80]},{index:.63,rgb:[80,173,89]},{index:.75,rgb:[132,196,122]},{index:.88,rgb:[175,221,162]},{index:1,rgb:[215,249,208]}],density:[{index:0,rgb:[54,14,36]},{index:.13,rgb:[89,23,80]},{index:.25,rgb:[110,45,132]},{index:.38,rgb:[120,77,178]},{index:.5,rgb:[120,113,213]},{index:.63,rgb:[115,151,228]},{index:.75,rgb:[134,185,227]},{index:.88,rgb:[177,214,227]},{index:1,rgb:[230,241,241]}],"freesurface-blue":[{index:0,rgb:[30,4,110]},{index:.13,rgb:[47,14,176]},{index:.25,rgb:[41,45,236]},{index:.38,rgb:[25,99,212]},{index:.5,rgb:[68,131,200]},{index:.63,rgb:[114,156,197]},{index:.75,rgb:[157,181,203]},{index:.88,rgb:[200,208,216]},{index:1,rgb:[241,237,236]}],"freesurface-red":[{index:0,rgb:[60,9,18]},{index:.13,rgb:[100,17,27]},{index:.25,rgb:[142,20,29]},{index:.38,rgb:[177,43,27]},{index:.5,rgb:[192,87,63]},{index:.63,rgb:[205,125,105]},{index:.75,rgb:[216,162,148]},{index:.88,rgb:[227,199,193]},{index:1,rgb:[241,237,236]}],oxygen:[{index:0,rgb:[64,5,5]},{index:.13,rgb:[106,6,15]},{index:.25,rgb:[144,26,7]},{index:.38,rgb:[168,64,3]},{index:.5,rgb:[188,100,4]},{index:.63,rgb:[206,136,11]},{index:.75,rgb:[220,174,25]},{index:.88,rgb:[231,215,44]},{index:1,rgb:[248,254,105]}],par:[{index:0,rgb:[51,20,24]},{index:.13,rgb:[90,32,35]},{index:.25,rgb:[129,44,34]},{index:.38,rgb:[159,68,25]},{index:.5,rgb:[182,99,19]},{index:.63,rgb:[199,134,22]},{index:.75,rgb:[212,171,35]},{index:.88,rgb:[221,210,54]},{index:1,rgb:[225,253,75]}],phase:[{index:0,rgb:[145,105,18]},{index:.13,rgb:[184,71,38]},{index:.25,rgb:[186,58,115]},{index:.38,rgb:[160,71,185]},{index:.5,rgb:[110,97,218]},{index:.63,rgb:[50,123,164]},{index:.75,rgb:[31,131,110]},{index:.88,rgb:[77,129,34]},{index:1,rgb:[145,105,18]}],salinity:[{index:0,rgb:[42,24,108]},{index:.13,rgb:[33,50,162]},{index:.25,rgb:[15,90,145]},{index:.38,rgb:[40,118,137]},{index:.5,rgb:[59,146,135]},{index:.63,rgb:[79,175,126]},{index:.75,rgb:[120,203,104]},{index:.88,rgb:[193,221,100]},{index:1,rgb:[253,239,154]}],temperature:[{index:0,rgb:[4,35,51]},{index:.13,rgb:[23,51,122]},{index:.25,rgb:[85,59,157]},{index:.38,rgb:[129,79,143]},{index:.5,rgb:[175,95,130]},{index:.63,rgb:[222,112,101]},{index:.75,rgb:[249,146,66]},{index:.88,rgb:[249,196,65]},{index:1,rgb:[232,250,91]}],turbidity:[{index:0,rgb:[34,31,27]},{index:.13,rgb:[65,50,41]},{index:.25,rgb:[98,69,52]},{index:.38,rgb:[131,89,57]},{index:.5,rgb:[161,112,59]},{index:.63,rgb:[185,140,66]},{index:.75,rgb:[202,174,88]},{index:.88,rgb:[216,209,126]},{index:1,rgb:[233,246,171]}],"velocity-blue":[{index:0,rgb:[17,32,64]},{index:.13,rgb:[35,52,116]},{index:.25,rgb:[29,81,156]},{index:.38,rgb:[31,113,162]},{index:.5,rgb:[50,144,169]},{index:.63,rgb:[87,173,176]},{index:.75,rgb:[149,196,189]},{index:.88,rgb:[203,221,211]},{index:1,rgb:[254,251,230]}],"velocity-green":[{index:0,rgb:[23,35,19]},{index:.13,rgb:[24,64,38]},{index:.25,rgb:[11,95,45]},{index:.38,rgb:[39,123,35]},{index:.5,rgb:[95,146,12]},{index:.63,rgb:[152,165,18]},{index:.75,rgb:[201,186,69]},{index:.88,rgb:[233,216,137]},{index:1,rgb:[255,253,205]}],cubehelix:[{index:0,rgb:[0,0,0]},{index:.07,rgb:[22,5,59]},{index:.13,rgb:[60,4,105]},{index:.2,rgb:[109,1,135]},{index:.27,rgb:[161,0,147]},{index:.33,rgb:[210,2,142]},{index:.4,rgb:[251,11,123]},{index:.47,rgb:[255,29,97]},{index:.53,rgb:[255,54,69]},{index:.6,rgb:[255,85,46]},{index:.67,rgb:[255,120,34]},{index:.73,rgb:[255,157,37]},{index:.8,rgb:[241,191,57]},{index:.87,rgb:[224,220,93]},{index:.93,rgb:[218,241,142]},{index:1,rgb:[227,253,198]}]}},9156:function(f,l,a){var u=a(5692),o=a(3578);function s(m){return[m[0]/255,m[1]/255,m[2]/255,m[3]]}function c(m){for(var w,y="#",S=0;S<3;++S)y+=("00"+(w=(w=m[S]).toString(16))).substr(w.length);return y}function h(m){return"rgba("+m.join(",")+")"}f.exports=function(m){var w,y,S,_,k,E,x,A,L,b;if(m||(m={}),A=(m.nshades||72)-1,x=m.format||"hex",(E=m.colormap)||(E="jet"),typeof E=="string"){if(E=E.toLowerCase(),!u[E])throw Error(E+" not a supported colorscale");k=u[E]}else{if(!Array.isArray(E))throw Error("unsupported colormap option",E);k=E.slice()}if(k.length>A+1)throw new Error(E+" map requires nshades to be at least size "+k.length);L=Array.isArray(m.alpha)?m.alpha.length!==2?[1,1]:m.alpha.slice():typeof m.alpha=="number"?[m.alpha,m.alpha]:[1,1],w=k.map(function(F){return Math.round(F.index*A)}),L[0]=Math.min(Math.max(L[0],0),1),L[1]=Math.min(Math.max(L[1],0),1);var R=k.map(function(F,B){var N=k[B].index,W=k[B].rgb.slice();return W.length===4&&W[3]>=0&&W[3]<=1||(W[3]=L[0]+(L[1]-L[0])*N),W}),I=[];for(b=0;b0||m(w,y,_)?-1:1:E===0?x>0||m(w,y,S)?1:-1:o(x-E)}var L=u(w,y,S);return L>0?k>0&&u(w,y,_)>0?1:-1:L<0?k>0||u(w,y,_)>0?1:-1:u(w,y,_)>0||m(w,y,S)?1:-1};var u=a(417),o=a(7538),s=a(87),c=a(2019),h=a(9662);function m(w,y,S){var _=s(w[0],-y[0]),k=s(w[1],-y[1]),E=s(S[0],-y[0]),x=s(S[1],-y[1]),A=h(c(_,E),c(k,x));return A[A.length-1]>=0}},7538:function(f){f.exports=function(l){return l<0?-1:l>0?1:0}},9209:function(f){f.exports=function(u,o){var s=u.length,c=u.length-o.length;if(c)return c;switch(s){case 0:return 0;case 1:return u[0]-o[0];case 2:return u[0]+u[1]-o[0]-o[1]||l(u[0],u[1])-l(o[0],o[1]);case 3:var h=u[0]+u[1],m=o[0]+o[1];if(c=h+u[2]-(m+o[2]))return c;var w=l(u[0],u[1]),y=l(o[0],o[1]);return l(w,u[2])-l(y,o[2])||l(w+u[2],h)-l(y+o[2],m);case 4:var S=u[0],_=u[1],k=u[2],E=u[3],x=o[0],A=o[1],L=o[2],b=o[3];return S+_+k+E-(x+A+L+b)||l(S,_,k,E)-l(x,A,L,b,x)||l(S+_,S+k,S+E,_+k,_+E,k+E)-l(x+A,x+L,x+b,A+L,A+b,L+b)||l(S+_+k,S+_+E,S+k+E,_+k+E)-l(x+A+L,x+A+b,x+L+b,A+L+b);default:for(var R=u.slice().sort(a),I=o.slice().sort(a),O=0;Ol[u][0]&&(u=o);return au?[[u],[a]]:[[a]]}},8722:function(f,l,a){f.exports=function(o){var s=u(o),c=s.length;if(c<=2)return[];for(var h=new Array(c),m=s[c-1],w=0;w=S[b]&&(L+=1);x[A]=L}}return y}(u(m,!0),h)}};var u=a(2183),o=a(2153)},9680:function(f){f.exports=function(l,a,u,o,s,c){var h=s-1,m=s*s,w=h*h,y=(1+2*s)*w,S=s*w,_=m*(3-2*s),k=m*h;if(l.length){c||(c=new Array(l.length));for(var E=l.length-1;E>=0;--E)c[E]=y*l[E]+S*a[E]+_*u[E]+k*o[E];return c}return y*l+S*a+_*u+k*o},f.exports.derivative=function(l,a,u,o,s,c){var h=6*s*s-6*s,m=3*s*s-4*s+1,w=-6*s*s+6*s,y=3*s*s-2*s;if(l.length){c||(c=new Array(l.length));for(var S=l.length-1;S>=0;--S)c[S]=h*l[S]+m*a[S]+w*u[S]+y*o[S];return c}return h*l+m*a+w*u[S]+y*o}},4419:function(f,l,a){var u=a(2183),o=a(1215);function s(h,m){this.point=h,this.index=m}function c(h,m){for(var w=h.point,y=m.point,S=w.length,_=0;_=2)return!1;N[j]=$}return!0}):B.filter(function(N){for(var W=0;W<=y;++W){var j=I[N[W]];if(j<0)return!1;N[W]=j}return!0}),1&y)for(k=0;k>>31},f.exports.exponent=function(s){return(f.exports.hi(s)<<1>>>21)-1023},f.exports.fraction=function(s){var c=f.exports.lo(s),h=f.exports.hi(s),m=1048575&h;return 2146435072&h&&(m+=1048576),[c,m]},f.exports.denormalized=function(s){return!(2146435072&f.exports.hi(s))}},3094:function(f){function l(a,u,o){var s=0|a[o];if(s<=0)return[];var c,h=new Array(s);if(o===a.length-1)for(c=0;c0)return function(o,s){var c,h;for(c=new Array(o),h=0;h=S-1){b=E.length-1;var I=w-y[S-1];for(R=0;R=S-1)for(var L=E.length-1,b=(y[S-1],0);b=0;--S)if(w[--y])return!1;return!0},h.jump=function(w){var y=this.lastT(),S=this.dimension;if(!(w0;--R)_.push(s(A[R-1],L[R-1],arguments[R])),k.push(0)}},h.push=function(w){var y=this.lastT(),S=this.dimension;if(!(w1e-6?1/x:0;this._time.push(w);for(var I=S;I>0;--I){var O=s(L[I-1],b[I-1],arguments[I]);_.push(O),k.push((O-_[E++])*R)}}},h.set=function(w){var y=this.dimension;if(!(w0;--A)S.push(s(E[A-1],x[A-1],arguments[A])),_.push(0)}},h.move=function(w){var y=this.lastT(),S=this.dimension;if(!(w<=y||arguments.length!==S+1)){var _=this._state,k=this._velocity,E=_.length-this.dimension,x=this.bounds,A=x[0],L=x[1],b=w-y,R=b>1e-6?1/b:0;this._time.push(w);for(var I=S;I>0;--I){var O=arguments[I];_.push(s(A[I-1],L[I-1],_[E++]+O)),k.push(O*R)}}},h.idle=function(w){var y=this.lastT();if(!(w=0;--R)_.push(s(A[R],L[R],_[E]+b*k[E])),k.push(0),E+=1}}},7080:function(f){function l(E,x,A,L,b,R){this._color=E,this.key=x,this.value=A,this.left=L,this.right=b,this._count=R}function a(E){return new l(E._color,E.key,E.value,E.left,E.right,E._count)}function u(E,x){return new l(E,x.key,x.value,x.left,x.right,x._count)}function o(E){E._count=1+(E.left?E.left._count:0)+(E.right?E.right._count:0)}function s(E,x){this._compare=E,this.root=x}f.exports=function(E){return new s(E||k,null)};var c=s.prototype;function h(E,x){var A;return x.left&&(A=h(E,x.left))?A:(A=E(x.key,x.value))||(x.right?h(E,x.right):void 0)}function m(E,x,A,L){if(x(E,L.key)<=0){var b;if(L.left&&(b=m(E,x,A,L.left))||(b=A(L.key,L.value)))return b}if(L.right)return m(E,x,A,L.right)}function w(E,x,A,L,b){var R,I=A(E,b.key),O=A(x,b.key);if(I<=0&&(b.left&&(R=w(E,x,A,L,b.left))||O>0&&(R=L(b.key,b.value))))return R;if(O>0&&b.right)return w(E,x,A,L,b.right)}function y(E,x){this.tree=E,this._stack=x}Object.defineProperty(c,"keys",{get:function(){var E=[];return this.forEach(function(x,A){E.push(x)}),E}}),Object.defineProperty(c,"values",{get:function(){var E=[];return this.forEach(function(x,A){E.push(A)}),E}}),Object.defineProperty(c,"length",{get:function(){return this.root?this.root._count:0}}),c.insert=function(E,x){for(var A=this._compare,L=this.root,b=[],R=[];L;){var I=A(E,L.key);b.push(L),R.push(I),L=I<=0?L.left:L.right}b.push(new l(0,E,x,null,null,1));for(var O=b.length-2;O>=0;--O)L=b[O],R[O]<=0?b[O]=new l(L._color,L.key,L.value,b[O+1],L.right,L._count+1):b[O]=new l(L._color,L.key,L.value,L.left,b[O+1],L._count+1);for(O=b.length-1;O>1;--O){var z=b[O-1];if(L=b[O],z._color===1||L._color===1)break;var F=b[O-2];if(F.left===z)if(z.left===L){if(!(B=F.right)||B._color!==0){F._color=0,F.left=z.right,z._color=1,z.right=F,b[O-2]=z,b[O-1]=L,o(F),o(z),O>=3&&((N=b[O-3]).left===F?N.left=z:N.right=z);break}z._color=1,F.right=u(1,B),F._color=0,O-=1}else{if(!(B=F.right)||B._color!==0){z.right=L.left,F._color=0,F.left=L.right,L._color=1,L.left=z,L.right=F,b[O-2]=L,b[O-1]=z,o(F),o(z),o(L),O>=3&&((N=b[O-3]).left===F?N.left=L:N.right=L);break}z._color=1,F.right=u(1,B),F._color=0,O-=1}else if(z.right===L){if(!(B=F.left)||B._color!==0){F._color=0,F.right=z.left,z._color=1,z.left=F,b[O-2]=z,b[O-1]=L,o(F),o(z),O>=3&&((N=b[O-3]).right===F?N.right=z:N.left=z);break}z._color=1,F.left=u(1,B),F._color=0,O-=1}else{var B;if(!(B=F.left)||B._color!==0){var N;z.left=L.right,F._color=0,F.right=L.left,L._color=1,L.right=z,L.left=F,b[O-2]=L,b[O-1]=z,o(F),o(z),o(L),O>=3&&((N=b[O-3]).right===F?N.right=L:N.left=L);break}z._color=1,F.left=u(1,B),F._color=0,O-=1}}return b[0]._color=1,new s(A,b[0])},c.forEach=function(E,x,A){if(this.root)switch(arguments.length){case 1:return h(E,this.root);case 2:return m(x,this._compare,E,this.root);case 3:return this._compare(x,A)>=0?void 0:w(x,A,this._compare,E,this.root)}},Object.defineProperty(c,"begin",{get:function(){for(var E=[],x=this.root;x;)E.push(x),x=x.left;return new y(this,E)}}),Object.defineProperty(c,"end",{get:function(){for(var E=[],x=this.root;x;)E.push(x),x=x.right;return new y(this,E)}}),c.at=function(E){if(E<0)return new y(this,[]);for(var x=this.root,A=[];;){if(A.push(x),x.left){if(E=x.right._count)break;x=x.right}return new y(this,[])},c.ge=function(E){for(var x=this._compare,A=this.root,L=[],b=0;A;){var R=x(E,A.key);L.push(A),R<=0&&(b=L.length),A=R<=0?A.left:A.right}return L.length=b,new y(this,L)},c.gt=function(E){for(var x=this._compare,A=this.root,L=[],b=0;A;){var R=x(E,A.key);L.push(A),R<0&&(b=L.length),A=R<0?A.left:A.right}return L.length=b,new y(this,L)},c.lt=function(E){for(var x=this._compare,A=this.root,L=[],b=0;A;){var R=x(E,A.key);L.push(A),R>0&&(b=L.length),A=R<=0?A.left:A.right}return L.length=b,new y(this,L)},c.le=function(E){for(var x=this._compare,A=this.root,L=[],b=0;A;){var R=x(E,A.key);L.push(A),R>=0&&(b=L.length),A=R<0?A.left:A.right}return L.length=b,new y(this,L)},c.find=function(E){for(var x=this._compare,A=this.root,L=[];A;){var b=x(E,A.key);if(L.push(A),b===0)return new y(this,L);A=b<=0?A.left:A.right}return new y(this,[])},c.remove=function(E){var x=this.find(E);return x?x.remove():this},c.get=function(E){for(var x=this._compare,A=this.root;A;){var L=x(E,A.key);if(L===0)return A.value;A=L<=0?A.left:A.right}};var S=y.prototype;function _(E,x){E.key=x.key,E.value=x.value,E.left=x.left,E.right=x.right,E._color=x._color,E._count=x._count}function k(E,x){return Ex?1:0}Object.defineProperty(S,"valid",{get:function(){return this._stack.length>0}}),Object.defineProperty(S,"node",{get:function(){return this._stack.length>0?this._stack[this._stack.length-1]:null},enumerable:!0}),S.clone=function(){return new y(this.tree,this._stack.slice())},S.remove=function(){var E=this._stack;if(E.length===0)return this.tree;var x=new Array(E.length),A=E[E.length-1];x[x.length-1]=new l(A._color,A.key,A.value,A.left,A.right,A._count);for(var L=E.length-2;L>=0;--L)(A=E[L]).left===E[L+1]?x[L]=new l(A._color,A.key,A.value,x[L+1],A.right,A._count):x[L]=new l(A._color,A.key,A.value,A.left,x[L+1],A._count);if((A=x[x.length-1]).left&&A.right){var b=x.length;for(A=A.left;A.right;)x.push(A),A=A.right;var R=x[b-1];for(x.push(new l(A._color,R.key,R.value,A.left,A.right,A._count)),x[b-1].key=A.key,x[b-1].value=A.value,L=x.length-2;L>=b;--L)A=x[L],x[L]=new l(A._color,A.key,A.value,A.left,x[L+1],A._count);x[b-1].left=x[b]}if((A=x[x.length-1])._color===0){var I=x[x.length-2];for(I.left===A?I.left=null:I.right===A&&(I.right=null),x.pop(),L=0;L=0;--j){if(F=z[j],j===0)return void(F._color=1);if((B=z[j-1]).left===F){if((N=B.right).right&&N.right._color===0)return W=(N=B.right=a(N)).right=a(N.right),B.right=N.left,N.left=B,N.right=W,N._color=B._color,F._color=1,B._color=1,W._color=1,o(B),o(N),j>1&&(($=z[j-2]).left===B?$.left=N:$.right=N),void(z[j-1]=N);if(N.left&&N.left._color===0)return W=(N=B.right=a(N)).left=a(N.left),B.right=W.left,N.left=W.right,W.left=B,W.right=N,W._color=B._color,B._color=1,N._color=1,F._color=1,o(B),o(N),o(W),j>1&&(($=z[j-2]).left===B?$.left=W:$.right=W),void(z[j-1]=W);if(N._color===1){if(B._color===0)return B._color=1,void(B.right=u(0,N));B.right=u(0,N);continue}N=a(N),B.right=N.left,N.left=B,N._color=B._color,B._color=0,o(B),o(N),j>1&&(($=z[j-2]).left===B?$.left=N:$.right=N),z[j-1]=N,z[j]=B,j+11&&(($=z[j-2]).right===B?$.right=N:$.left=N),void(z[j-1]=N);if(N.right&&N.right._color===0)return W=(N=B.left=a(N)).right=a(N.right),B.left=W.right,N.right=W.left,W.right=B,W.left=N,W._color=B._color,B._color=1,N._color=1,F._color=1,o(B),o(N),o(W),j>1&&(($=z[j-2]).right===B?$.right=W:$.left=W),void(z[j-1]=W);if(N._color===1){if(B._color===0)return B._color=1,void(B.left=u(0,N));B.left=u(0,N);continue}var $;N=a(N),B.left=N.right,N.right=B,N._color=B._color,B._color=0,o(B),o(N),j>1&&(($=z[j-2]).right===B?$.right=N:$.left=N),z[j-1]=N,z[j]=B,j+10)return this._stack[this._stack.length-1].key},enumerable:!0}),Object.defineProperty(S,"value",{get:function(){if(this._stack.length>0)return this._stack[this._stack.length-1].value},enumerable:!0}),Object.defineProperty(S,"index",{get:function(){var E=0,x=this._stack;if(x.length===0){var A=this.tree.root;return A?A._count:0}x[x.length-1].left&&(E=x[x.length-1].left._count);for(var L=x.length-2;L>=0;--L)x[L+1]===x[L].right&&(++E,x[L].left&&(E+=x[L].left._count));return E},enumerable:!0}),S.next=function(){var E=this._stack;if(E.length!==0){var x=E[E.length-1];if(x.right)for(x=x.right;x;)E.push(x),x=x.left;else for(E.pop();E.length>0&&E[E.length-1].right===x;)x=E[E.length-1],E.pop()}},Object.defineProperty(S,"hasNext",{get:function(){var E=this._stack;if(E.length===0)return!1;if(E[E.length-1].right)return!0;for(var x=E.length-1;x>0;--x)if(E[x-1].left===E[x])return!0;return!1}}),S.update=function(E){var x=this._stack;if(x.length===0)throw new Error("Can't update empty node!");var A=new Array(x.length),L=x[x.length-1];A[A.length-1]=new l(L._color,L.key,E,L.left,L.right,L._count);for(var b=x.length-2;b>=0;--b)(L=x[b]).left===x[b+1]?A[b]=new l(L._color,L.key,L.value,A[b+1],L.right,L._count):A[b]=new l(L._color,L.key,L.value,L.left,A[b+1],L._count);return new s(this.tree._compare,A[0])},S.prev=function(){var E=this._stack;if(E.length!==0){var x=E[E.length-1];if(x.left)for(x=x.left;x;)E.push(x),x=x.right;else for(E.pop();E.length>0&&E[E.length-1].left===x;)x=E[E.length-1],E.pop()}},Object.defineProperty(S,"hasPrev",{get:function(){var E=this._stack;if(E.length===0)return!1;if(E[E.length-1].left)return!0;for(var x=E.length-1;x>0;--x)if(E[x-1].right===E[x])return!0;return!1}})},7453:function(f,l,a){f.exports=function(I,O){var z=new y(I);return z.update(O),z};var u=a(9557),o=a(1681),s=a(1011),c=a(2864),h=a(8468),m=new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]);function w(I,O){return I[0]=O[0],I[1]=O[1],I[2]=O[2],I}function y(I){this.gl=I,this.pixelRatio=1,this.bounds=[[-10,-10,-10],[10,10,10]],this.ticks=[[],[],[]],this.autoTicks=!0,this.tickSpacing=[1,1,1],this.tickEnable=[!0,!0,!0],this.tickFont=["sans-serif","sans-serif","sans-serif"],this.tickSize=[12,12,12],this.tickAngle=[0,0,0],this.tickAlign=["auto","auto","auto"],this.tickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.tickPad=[10,10,10],this.lastCubeProps={cubeEdges:[0,0,0],axis:[0,0,0]},this.labels=["x","y","z"],this.labelEnable=[!0,!0,!0],this.labelFont="sans-serif",this.labelSize=[20,20,20],this.labelAngle=[0,0,0],this.labelAlign=["auto","auto","auto"],this.labelColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.labelPad=[10,10,10],this.lineEnable=[!0,!0,!0],this.lineMirror=[!1,!1,!1],this.lineWidth=[1,1,1],this.lineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.lineTickEnable=[!0,!0,!0],this.lineTickMirror=[!1,!1,!1],this.lineTickLength=[0,0,0],this.lineTickWidth=[1,1,1],this.lineTickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.gridEnable=[!0,!0,!0],this.gridWidth=[1,1,1],this.gridColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroEnable=[!0,!0,!0],this.zeroLineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroLineWidth=[2,2,2],this.backgroundEnable=[!1,!1,!1],this.backgroundColor=[[.8,.8,.8,.5],[.8,.8,.8,.5],[.8,.8,.8,.5]],this._firstInit=!0,this._text=null,this._lines=null,this._background=s(I)}var S=y.prototype;function _(){this.primalOffset=[0,0,0],this.primalMinor=[0,0,0],this.mirrorOffset=[0,0,0],this.mirrorMinor=[0,0,0]}S.update=function(I){function O(ne,te,Z){if(Z in I){var X,Q=I[Z],re=this[Z];(ne?Array.isArray(Q)&&Array.isArray(Q[0]):Array.isArray(Q))?this[Z]=X=[te(Q[0]),te(Q[1]),te(Q[2])]:this[Z]=X=[te(Q),te(Q),te(Q)];for(var ie=0;ie<3;++ie)if(X[ie]!==re[ie])return!0}return!1}I=I||{};var z,F=O.bind(this,!1,Number),B=O.bind(this,!1,Boolean),N=O.bind(this,!1,String),W=O.bind(this,!0,function(ne){if(Array.isArray(ne)){if(ne.length===3)return[+ne[0],+ne[1],+ne[2],1];if(ne.length===4)return[+ne[0],+ne[1],+ne[2],+ne[3]]}return[0,0,0,1]}),j=!1,$=!1;if("bounds"in I)for(var U=I.bounds,G=0;G<2;++G)for(var q=0;q<3;++q)U[G][q]!==this.bounds[G][q]&&($=!0),this.bounds[G][q]=U[G][q];if("ticks"in I)for(z=I.ticks,j=!0,this.autoTicks=!1,G=0;G<3;++G)this.tickSpacing[G]=0;else F("tickSpacing")&&(this.autoTicks=!0,$=!0);if(this._firstInit&&("ticks"in I||"tickSpacing"in I||(this.autoTicks=!0),$=!0,j=!0,this._firstInit=!1),$&&this.autoTicks&&(z=h.create(this.bounds,this.tickSpacing),j=!0),j){for(G=0;G<3;++G)z[G].sort(function(ne,te){return ne.x-te.x});h.equal(z,this.ticks)?j=!1:this.ticks=z}B("tickEnable"),N("tickFont")&&(j=!0),F("tickSize"),F("tickAngle"),F("tickPad"),W("tickColor");var H=N("labels");N("labelFont")&&(H=!0),B("labelEnable"),F("labelSize"),F("labelPad"),W("labelColor"),B("lineEnable"),B("lineMirror"),F("lineWidth"),W("lineColor"),B("lineTickEnable"),B("lineTickMirror"),F("lineTickLength"),F("lineTickWidth"),W("lineTickColor"),B("gridEnable"),F("gridWidth"),W("gridColor"),B("zeroEnable"),W("zeroLineColor"),F("zeroLineWidth"),B("backgroundEnable"),W("backgroundColor"),this._text?this._text&&(H||j)&&this._text.update(this.bounds,this.labels,this.labelFont,this.ticks,this.tickFont):this._text=u(this.gl,this.bounds,this.labels,this.labelFont,this.ticks,this.tickFont),this._lines&&j&&(this._lines.dispose(),this._lines=null),this._lines||(this._lines=o(this.gl,this.bounds,this.ticks))};var k=[new _,new _,new _];function E(I,O,z,F,B){for(var N=I.primalOffset,W=I.primalMinor,j=I.mirrorOffset,$=I.mirrorMinor,U=F[O],G=0;G<3;++G)if(O!==G){var q=N,H=j,ne=W,te=$;U&1<0?(ne[G]=-1,te[G]=0):(ne[G]=0,te[G]=1)}}var x=[0,0,0],A={model:m,view:m,projection:m,_ortho:!1};S.isOpaque=function(){return!0},S.isTransparent=function(){return!1},S.drawTransparent=function(I){};var L=[0,0,0],b=[0,0,0],R=[0,0,0];S.draw=function(I){I=I||A;for(var O=this.gl,z=I.model||m,F=I.view||m,B=I.projection||m,N=this.bounds,W=I._ortho||!1,j=c(z,F,B,N,W),$=j.cubeEdges,U=j.axis,G=F[12],q=F[13],H=F[14],ne=F[15],te=(W?2:1)*this.pixelRatio*(B[3]*G+B[7]*q+B[11]*H+B[15]*ne)/O.drawingBufferHeight,Z=0;Z<3;++Z)this.lastCubeProps.cubeEdges[Z]=$[Z],this.lastCubeProps.axis[Z]=U[Z];var X=k;for(Z=0;Z<3;++Z)E(k[Z],Z,this.bounds,$,U);O=this.gl;var Q,re,ie,oe=x;for(Z=0;Z<3;++Z)this.backgroundEnable[Z]?oe[Z]=U[Z]:oe[Z]=0;for(this._background.draw(z,F,B,N,oe,this.backgroundColor),this._lines.bind(z,F,B,this),Z=0;Z<3;++Z){var ue=[0,0,0];U[Z]>0?ue[Z]=N[1][Z]:ue[Z]=N[0][Z];for(var ce=0;ce<2;++ce){var ye=(Z+1+ce)%3,de=(Z+1+(1^ce))%3;this.gridEnable[ye]&&this._lines.drawGrid(ye,de,this.bounds,ue,this.gridColor[ye],this.gridWidth[ye]*this.pixelRatio)}for(ce=0;ce<2;++ce)ye=(Z+1+ce)%3,de=(Z+1+(1^ce))%3,this.zeroEnable[de]&&Math.min(N[0][de],N[1][de])<=0&&Math.max(N[0][de],N[1][de])>=0&&this._lines.drawZero(ye,de,this.bounds,ue,this.zeroLineColor[de],this.zeroLineWidth[de]*this.pixelRatio)}for(Z=0;Z<3;++Z){this.lineEnable[Z]&&this._lines.drawAxisLine(Z,this.bounds,X[Z].primalOffset,this.lineColor[Z],this.lineWidth[Z]*this.pixelRatio),this.lineMirror[Z]&&this._lines.drawAxisLine(Z,this.bounds,X[Z].mirrorOffset,this.lineColor[Z],this.lineWidth[Z]*this.pixelRatio);var me=w(L,X[Z].primalMinor),pe=w(b,X[Z].mirrorMinor),xe=this.lineTickLength;for(ce=0;ce<3;++ce){var Pe=te/z[5*ce];me[ce]*=xe[ce]*Pe,pe[ce]*=xe[ce]*Pe}this.lineTickEnable[Z]&&this._lines.drawAxisTicks(Z,X[Z].primalOffset,me,this.lineTickColor[Z],this.lineTickWidth[Z]*this.pixelRatio),this.lineTickMirror[Z]&&this._lines.drawAxisTicks(Z,X[Z].mirrorOffset,pe,this.lineTickColor[Z],this.lineTickWidth[Z]*this.pixelRatio)}function _e(be){(ie=[0,0,0])[be]=1}function Me(be,ke,Le){var Be=(be+1)%3,ze=(be+2)%3,je=ke[Be],ge=ke[ze],we=Le[Be],Ee=Le[ze];je>0&&Ee>0||je>0&&Ee<0||je<0&&Ee>0||je<0&&Ee<0?_e(Be):(ge>0&&we>0||ge>0&&we<0||ge<0&&we>0||ge<0&&we<0)&&_e(ze)}for(this._lines.unbind(),this._text.bind(z,F,B,this.pixelRatio),Z=0;Z<3;++Z){var Se=X[Z].primalMinor,Ce=X[Z].mirrorMinor,ae=w(R,X[Z].primalOffset);for(ce=0;ce<3;++ce)this.lineTickEnable[Z]&&(ae[ce]+=te*Se[ce]*Math.max(this.lineTickLength[ce],0)/z[5*ce]);var fe=[0,0,0];if(fe[Z]=1,this.tickEnable[Z]){for(this.tickAngle[Z]===-3600?(this.tickAngle[Z]=0,this.tickAlign[Z]="auto"):this.tickAlign[Z]=-1,re=1,(Q=[this.tickAlign[Z],.5,re])[0]==="auto"?Q[0]=0:Q[0]=parseInt(""+Q[0]),ie=[0,0,0],Me(Z,Se,Ce),ce=0;ce<3;++ce)ae[ce]+=te*Se[ce]*this.tickPad[ce]/z[5*ce];this._text.drawTicks(Z,this.tickSize[Z],this.tickAngle[Z],ae,this.tickColor[Z],fe,ie,Q)}if(this.labelEnable[Z]){for(re=0,ie=[0,0,0],this.labels[Z].length>4&&(_e(Z),re=1),(Q=[this.labelAlign[Z],.5,re])[0]==="auto"?Q[0]=0:Q[0]=parseInt(""+Q[0]),ce=0;ce<3;++ce)ae[ce]+=te*Se[ce]*this.labelPad[ce]/z[5*ce];ae[Z]+=.5*(N[0][Z]+N[1][Z]),this._text.drawLabel(Z,this.labelSize[Z],this.labelAngle[Z],ae,this.labelColor[Z],[0,0,0],ie,Q)}}this._text.unbind()},S.dispose=function(){this._text.dispose(),this._lines.dispose(),this._background.dispose(),this._lines=null,this._text=null,this._background=null,this.gl=null}},1011:function(f,l,a){f.exports=function(m){for(var w=[],y=[],S=0,_=0;_<3;++_)for(var k=(_+1)%3,E=(_+2)%3,x=[0,0,0],A=[0,0,0],L=-1;L<=1;L+=2){y.push(S,S+2,S+1,S+1,S+2,S+3),x[_]=L,A[_]=L;for(var b=-1;b<=1;b+=2){x[k]=b;for(var R=-1;R<=1;R+=2)x[E]=R,w.push(x[0],x[1],x[2],A[0],A[1],A[2]),S+=1}var I=k;k=E,E=I}var O=u(m,new Float32Array(w)),z=u(m,new Uint16Array(y),m.ELEMENT_ARRAY_BUFFER),F=o(m,[{buffer:O,type:m.FLOAT,size:3,offset:0,stride:24},{buffer:O,type:m.FLOAT,size:3,offset:12,stride:24}],z),B=s(m);return B.attributes.position.location=0,B.attributes.normal.location=1,new c(m,O,F,B)};var u=a(5827),o=a(2944),s=a(1943).bg;function c(m,w,y,S){this.gl=m,this.buffer=w,this.vao=y,this.shader=S}var h=c.prototype;h.draw=function(m,w,y,S,_,k){for(var E=!1,x=0;x<3;++x)E=E||_[x];if(E){var A=this.gl;A.enable(A.POLYGON_OFFSET_FILL),A.polygonOffset(1,2),this.shader.bind(),this.shader.uniforms={model:m,view:w,projection:y,bounds:S,enable:_,colors:k},this.vao.bind(),this.vao.draw(this.gl.TRIANGLES,36),this.vao.unbind(),A.disable(A.POLYGON_OFFSET_FILL)}},h.dispose=function(){this.vao.dispose(),this.buffer.dispose(),this.shader.dispose()}},2864:function(f,l,a){f.exports=function(b,R,I,O,z){o(h,R,b),o(h,I,h);for(var F=0,B=0;B<2;++B){y[2]=O[B][2];for(var N=0;N<2;++N){y[1]=O[N][1];for(var W=0;W<2;++W)y[0]=O[W][0],_(m[F],y,h),F+=1}}var j=-1;for(B=0;B<8;++B){for(var $=m[B][3],U=0;U<3;++U)w[B][U]=m[B][U]/$;z&&(w[B][2]*=-1),$<0&&(j<0||w[B][2]ne&&(j|=1<ne&&(j|=1<w[B][1])&&(ue=B);var ce=-1;for(B=0;B<3;++B)(de=ue^1<w[ye][0]&&(ye=de))}var me=x;me[0]=me[1]=me[2]=0,me[u.log2(ce^ue)]=ue&ce,me[u.log2(ue^ye)]=ue&ye;var pe=7^ye;pe===j||pe===oe?(pe=7^ce,me[u.log2(ye^pe)]=pe&ye):me[u.log2(ce^pe)]=pe&ce;var xe=A,Pe=j;for(G=0;G<3;++G)xe[G]=Pe&1<=0;--oe){var ue=Z[ie[oe]];L.push(te*ue[0],-te*ue[1],W)}}for(var R=[0,0,0],I=[0,0,0],O=[0,0,0],z=[0,0,0],F={breaklines:!0,bolds:!0,italics:!0,subscripts:!0,superscripts:!0},B=0;B<3;++B){O[B]=L.length/3|0,b(.5*(x[0][B]+x[1][B]),T[B],E[B],12,1.25,F),z[B]=(L.length/3|0)-O[B],R[B]=L.length/3|0;for(var N=0;N<_[B].length;++N)_[B][N].text&&b(_[B][N].x,_[B][N].text,_[B][N].font||A,_[B][N].fontSize||12,1.25,F);I[B]=(L.length/3|0)-R[B]}this.buffer.update(L),this.tickOffset=R,this.tickCount=I,this.labelOffset=O,this.labelCount=z},g.drawTicks=function(x,T,E,_,A,L,b,R){this.tickCount[x]&&(this.shader.uniforms.axis=L,this.shader.uniforms.color=A,this.shader.uniforms.angle=E,this.shader.uniforms.scale=T,this.shader.uniforms.offset=_,this.shader.uniforms.alignDir=b,this.shader.uniforms.alignOpt=R,this.vao.draw(this.gl.TRIANGLES,this.tickCount[x],this.tickOffset[x]))},g.drawLabel=function(x,T,E,_,A,L,b,R){this.labelCount[x]&&(this.shader.uniforms.axis=L,this.shader.uniforms.color=A,this.shader.uniforms.angle=E,this.shader.uniforms.scale=T,this.shader.uniforms.offset=_,this.shader.uniforms.alignDir=b,this.shader.uniforms.alignOpt=R,this.vao.draw(this.gl.TRIANGLES,this.labelCount[x],this.labelOffset[x]))},g.dispose=function(){this.shader.dispose(),this.vao.dispose(),this.buffer.dispose()}},8468:function(h,l){function a(u,s){var o=u+"",c=o.indexOf("."),f=0;c>=0&&(f=o.length-c-1);var p=Math.pow(10,f),w=Math.round(u*s*p),g=w+"";if(g.indexOf("e")>=0)return g;var S=w/p,x=w%p;w<0?(S=0|-Math.ceil(S),x=0|-x):(S=0|Math.floor(S),x|=0);var T=""+S;if(w<0&&(T="-"+T),f){for(var E=""+x;E.length=u[0][c];--p)f.push({x:p*s[c],text:a(s[c],p)});o.push(f)}return o},l.equal=function(u,s){for(var o=0;o<3;++o){if(u[o].length!==s[o].length)return!1;for(var c=0;cT)throw new Error("gl-buffer: If resizing buffer, must not specify offset");return S.bufferSubData(x,A,_),T}function g(S,x){for(var T=u.malloc(S.length,x),E=S.length,_=0;_=0;--I){if(b[I]!==R)return!1;R*=L[I]}return!0}(S.shape,S.stride))S.offset===0&&S.data.length===S.shape[0]?this.length=w(this.gl,this.type,this.length,this.usage,S.data,x):this.length=w(this.gl,this.type,this.length,this.usage,S.data.subarray(S.offset,S.shape[0]),x);else{var E=u.malloc(S.size,T),_=o(E,S.shape);s.assign(_,S),this.length=w(this.gl,this.type,this.length,this.usage,x<0?E:E.subarray(0,S.size),x),u.free(E)}}else if(Array.isArray(S)){var A;A=this.type===this.gl.ELEMENT_ARRAY_BUFFER?g(S,"uint16"):g(S,"float32"),this.length=w(this.gl,this.type,this.length,this.usage,x<0?A:A.subarray(0,S.length),x),u.free(A)}else if(typeof S=="object"&&typeof S.length=="number")this.length=w(this.gl,this.type,this.length,this.usage,S,x);else{if(typeof S!="number"&&S!==void 0)throw new Error("gl-buffer: Invalid data type");if(x>=0)throw new Error("gl-buffer: Cannot specify offset when resizing buffer");(S|=0)<=0&&(S=1),this.gl.bufferData(this.type,0|S,this.usage),this.length=S}},h.exports=function(S,x,T,E){if(T=T||S.ARRAY_BUFFER,E=E||S.DYNAMIC_DRAW,T!==S.ARRAY_BUFFER&&T!==S.ELEMENT_ARRAY_BUFFER)throw new Error("gl-buffer: Invalid type for webgl buffer, must be either gl.ARRAY_BUFFER or gl.ELEMENT_ARRAY_BUFFER");if(E!==S.DYNAMIC_DRAW&&E!==S.STATIC_DRAW&&E!==S.STREAM_DRAW)throw new Error("gl-buffer: Invalid usage for buffer, must be either gl.DYNAMIC_DRAW, gl.STATIC_DRAW or gl.STREAM_DRAW");var _=S.createBuffer(),A=new f(S,T,_,0,E);return A.update(x),A}},1140:function(h,l,a){var u=a(2858);h.exports=function(o,c){var f=o.positions,p=o.vectors,w={positions:[],vertexIntensity:[],vertexIntensityBounds:o.vertexIntensityBounds,vectors:[],cells:[],coneOffset:o.coneOffset,colormap:o.colormap};if(o.positions.length===0)return c&&(c[0]=[0,0,0],c[1]=[0,0,0]),w;for(var g=0,S=1/0,x=-1/0,T=1/0,E=-1/0,_=1/0,A=-1/0,L=null,b=null,R=[],I=1/0,O=!1,z=0;zg&&(g=u.length(B)),z){var N=2*u.distance(L,F)/(u.length(b)+u.length(B));N?(I=Math.min(I,N),O=!1):O=!0}O||(L=F,b=B),R.push(B)}var W=[S,T,_],j=[x,E,A];c&&(c[0]=W,c[1]=j),g===0&&(g=1);var Y=1/g;isFinite(I)||(I=1),w.vectorScale=I;var U=o.coneSize||.5;o.absoluteConeSize&&(U=o.absoluteConeSize*Y),w.coneScale=U,z=0;for(var G=0;z=1},T.isTransparent=function(){return this.opacity<1},T.pickSlots=1,T.setPickBase=function(A){this.pickId=A},T.update=function(A){A=A||{};var L=this.gl;this.dirty=!0,"lightPosition"in A&&(this.lightPosition=A.lightPosition),"opacity"in A&&(this.opacity=A.opacity),"ambient"in A&&(this.ambientLight=A.ambient),"diffuse"in A&&(this.diffuseLight=A.diffuse),"specular"in A&&(this.specularLight=A.specular),"roughness"in A&&(this.roughness=A.roughness),"fresnel"in A&&(this.fresnel=A.fresnel),A.tubeScale!==void 0&&(this.tubeScale=A.tubeScale),A.vectorScale!==void 0&&(this.vectorScale=A.vectorScale),A.coneScale!==void 0&&(this.coneScale=A.coneScale),A.coneOffset!==void 0&&(this.coneOffset=A.coneOffset),A.colormap&&(this.texture.shape=[256,256],this.texture.minFilter=L.LINEAR_MIPMAP_LINEAR,this.texture.magFilter=L.LINEAR,this.texture.setPixels(function(ue){for(var ce=g({colormap:ue,nshades:256,format:"rgba"}),ye=new Uint8Array(1024),de=0;de<256;++de){for(var me=ce[de],pe=0;pe<3;++pe)ye[4*de+pe]=me[pe];ye[4*de+3]=255*me[3]}return w(ye,[256,256,4],[4,0,1])}(A.colormap)),this.texture.generateMipmap());var b=A.cells,R=A.positions,I=A.vectors;if(R&&b&&I){var O=[],z=[],F=[],B=[],N=[];this.cells=b,this.positions=R,this.vectors=I;var W=A.meshColor||[1,1,1,1],j=A.vertexIntensity,Y=1/0,U=-1/0;if(j)if(A.vertexIntensityBounds)Y=+A.vertexIntensityBounds[0],U=+A.vertexIntensityBounds[1];else for(var G=0;G0){var Y=this.triShader;Y.bind(),Y.uniforms=F,this.triangleVAO.bind(),L.drawArrays(L.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind()}},T.drawPick=function(A){A=A||{};for(var L=this.gl,b=A.model||S,R=A.view||S,I=A.projection||S,O=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],z=0;z<3;++z)O[0][z]=Math.max(O[0][z],this.clipBounds[0][z]),O[1][z]=Math.min(O[1][z],this.clipBounds[1][z]);this._model=[].slice.call(b),this._view=[].slice.call(R),this._projection=[].slice.call(I),this._resolution=[L.drawingBufferWidth,L.drawingBufferHeight];var F={model:b,view:R,projection:I,clipBounds:O,tubeScale:this.tubeScale,vectorScale:this.vectorScale,coneScale:this.coneScale,coneOffset:this.coneOffset,pickId:this.pickId/255},B=this.pickShader;B.bind(),B.uniforms=F,this.triangleCount>0&&(this.triangleVAO.bind(),L.drawArrays(L.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind())},T.pick=function(A){if(!A||A.id!==this.pickId)return null;var L=A.value[0]+256*A.value[1]+65536*A.value[2],b=this.cells[L],R=this.positions[b[1]].slice(0,3),I={position:R,dataCoordinate:R,index:Math.floor(b[1]/48)};return this.traceType==="cone"?I.index=Math.floor(b[1]/48):this.traceType==="streamtube"&&(I.intensity=this.intensity[b[1]],I.velocity=this.vectors[b[1]].slice(0,3),I.divergence=this.vectors[b[1]][3],I.index=L),I},T.dispose=function(){this.texture.dispose(),this.triShader.dispose(),this.pickShader.dispose(),this.triangleVAO.dispose(),this.trianglePositions.dispose(),this.triangleVectors.dispose(),this.triangleColors.dispose(),this.triangleUVs.dispose(),this.triangleIds.dispose()},h.exports=function(A,L,b){var R=b.shaders;arguments.length===1&&(A=(L=A).gl);var I=E(A,R),O=_(A,R),z=c(A,w(new Uint8Array([255,255,255,255]),[1,1,4]));z.generateMipmap(),z.minFilter=A.LINEAR_MIPMAP_LINEAR,z.magFilter=A.LINEAR;var F=s(A),B=s(A),N=s(A),W=s(A),j=s(A),Y=o(A,[{buffer:F,type:A.FLOAT,size:4},{buffer:j,type:A.UNSIGNED_BYTE,size:4,normalized:!0},{buffer:N,type:A.FLOAT,size:4},{buffer:W,type:A.FLOAT,size:2},{buffer:B,type:A.FLOAT,size:4}]),U=new x(A,z,I,O,F,B,j,N,W,Y,b.traceType||"cone");return U.update(L),U}},7234:function(h,l,a){var u=a(6832),s=u([`precision highp float; +}`]);l.bg=function(S){return o(S,w,y,null,[{name:"position",type:"vec3"},{name:"normal",type:"vec3"}])}},9557:function(f,l,a){f.exports=function(_,k,E,x,A,L){var b=u(_),R=o(_,[{buffer:b,size:3}]),I=c(_);I.attributes.position.location=0;var O=new w(_,I,b,R);return O.update(k,E,x,A,L),O};var u=a(5827),o=a(2944),s=a(875),c=a(1943).f,h=window||g.global||{},m=h.__TEXT_CACHE||{};function w(_,k,E,x){this.gl=_,this.shader=k,this.buffer=E,this.vao=x,this.tickOffset=this.tickCount=this.labelOffset=this.labelCount=null}h.__TEXT_CACHE={};var y=w.prototype,S=[0,0];y.bind=function(_,k,E,x){this.vao.bind(),this.shader.bind();var A=this.shader.uniforms;A.model=_,A.view=k,A.projection=E,A.pixelScale=x,S[0]=this.gl.drawingBufferWidth,S[1]=this.gl.drawingBufferHeight,this.shader.uniforms.resolution=S},y.unbind=function(){this.vao.unbind()},y.update=function(_,k,E,x,A){var L=[];function b(W,j,$,U,G,q){var H=m[$];H||(H=m[$]={});var ne=H[j];ne||(ne=H[j]=function(ce,ye){try{return s(ce,ye)}catch(de){return console.warn('error vectorizing text:"'+ce+'" error:',de),{cells:[],positions:[]}}}(j,{triangles:!0,font:$,textAlign:"center",textBaseline:"middle",lineSpacing:G,styletags:q}));for(var te=(U||12)/12,Z=ne.positions,X=ne.cells,Q=0,re=X.length;Q=0;--oe){var ue=Z[ie[oe]];L.push(te*ue[0],-te*ue[1],W)}}for(var R=[0,0,0],I=[0,0,0],O=[0,0,0],z=[0,0,0],F={breaklines:!0,bolds:!0,italics:!0,subscripts:!0,superscripts:!0},B=0;B<3;++B){O[B]=L.length/3|0,b(.5*(_[0][B]+_[1][B]),k[B],E[B],12,1.25,F),z[B]=(L.length/3|0)-O[B],R[B]=L.length/3|0;for(var N=0;N=0&&(h=s.length-c-1);var m=Math.pow(10,h),w=Math.round(u*o*m),y=w+"";if(y.indexOf("e")>=0)return y;var S=w/m,_=w%m;w<0?(S=0|-Math.ceil(S),_=0|-_):(S=0|Math.floor(S),_|=0);var k=""+S;if(w<0&&(k="-"+k),h){for(var E=""+_;E.length=u[0][c];--m)h.push({x:m*o[c],text:a(o[c],m)});s.push(h)}return s},l.equal=function(u,o){for(var s=0;s<3;++s){if(u[s].length!==o[s].length)return!1;for(var c=0;ck)throw new Error("gl-buffer: If resizing buffer, must not specify offset");return S.bufferSubData(_,A,x),k}function y(S,_){for(var k=u.malloc(S.length,_),E=S.length,x=0;x=0;--I){if(b[I]!==R)return!1;R*=L[I]}return!0}(S.shape,S.stride))S.offset===0&&S.data.length===S.shape[0]?this.length=w(this.gl,this.type,this.length,this.usage,S.data,_):this.length=w(this.gl,this.type,this.length,this.usage,S.data.subarray(S.offset,S.shape[0]),_);else{var E=u.malloc(S.size,k),x=s(E,S.shape);o.assign(x,S),this.length=w(this.gl,this.type,this.length,this.usage,_<0?E:E.subarray(0,S.size),_),u.free(E)}}else if(Array.isArray(S)){var A;A=this.type===this.gl.ELEMENT_ARRAY_BUFFER?y(S,"uint16"):y(S,"float32"),this.length=w(this.gl,this.type,this.length,this.usage,_<0?A:A.subarray(0,S.length),_),u.free(A)}else if(typeof S=="object"&&typeof S.length=="number")this.length=w(this.gl,this.type,this.length,this.usage,S,_);else{if(typeof S!="number"&&S!==void 0)throw new Error("gl-buffer: Invalid data type");if(_>=0)throw new Error("gl-buffer: Cannot specify offset when resizing buffer");(S|=0)<=0&&(S=1),this.gl.bufferData(this.type,0|S,this.usage),this.length=S}},f.exports=function(S,_,k,E){if(k=k||S.ARRAY_BUFFER,E=E||S.DYNAMIC_DRAW,k!==S.ARRAY_BUFFER&&k!==S.ELEMENT_ARRAY_BUFFER)throw new Error("gl-buffer: Invalid type for webgl buffer, must be either gl.ARRAY_BUFFER or gl.ELEMENT_ARRAY_BUFFER");if(E!==S.DYNAMIC_DRAW&&E!==S.STATIC_DRAW&&E!==S.STREAM_DRAW)throw new Error("gl-buffer: Invalid usage for buffer, must be either gl.DYNAMIC_DRAW, gl.STATIC_DRAW or gl.STREAM_DRAW");var x=S.createBuffer(),A=new h(S,k,x,0,E);return A.update(_),A}},1140:function(f,l,a){var u=a(2858);f.exports=function(s,c){var h=s.positions,m=s.vectors,w={positions:[],vertexIntensity:[],vertexIntensityBounds:s.vertexIntensityBounds,vectors:[],cells:[],coneOffset:s.coneOffset,colormap:s.colormap};if(s.positions.length===0)return c&&(c[0]=[0,0,0],c[1]=[0,0,0]),w;for(var y=0,S=1/0,_=-1/0,k=1/0,E=-1/0,x=1/0,A=-1/0,L=null,b=null,R=[],I=1/0,O=!1,z=0;zy&&(y=u.length(B)),z){var N=2*u.distance(L,F)/(u.length(b)+u.length(B));N?(I=Math.min(I,N),O=!1):O=!0}O||(L=F,b=B),R.push(B)}var W=[S,k,x],j=[_,E,A];c&&(c[0]=W,c[1]=j),y===0&&(y=1);var $=1/y;isFinite(I)||(I=1),w.vectorScale=I;var U=s.coneSize||.5;s.absoluteConeSize&&(U=s.absoluteConeSize*$),w.coneScale=U,z=0;for(var G=0;z=1},k.isTransparent=function(){return this.opacity<1},k.pickSlots=1,k.setPickBase=function(A){this.pickId=A},k.update=function(A){A=A||{};var L=this.gl;this.dirty=!0,"lightPosition"in A&&(this.lightPosition=A.lightPosition),"opacity"in A&&(this.opacity=A.opacity),"ambient"in A&&(this.ambientLight=A.ambient),"diffuse"in A&&(this.diffuseLight=A.diffuse),"specular"in A&&(this.specularLight=A.specular),"roughness"in A&&(this.roughness=A.roughness),"fresnel"in A&&(this.fresnel=A.fresnel),A.tubeScale!==void 0&&(this.tubeScale=A.tubeScale),A.vectorScale!==void 0&&(this.vectorScale=A.vectorScale),A.coneScale!==void 0&&(this.coneScale=A.coneScale),A.coneOffset!==void 0&&(this.coneOffset=A.coneOffset),A.colormap&&(this.texture.shape=[256,256],this.texture.minFilter=L.LINEAR_MIPMAP_LINEAR,this.texture.magFilter=L.LINEAR,this.texture.setPixels(function(ue){for(var ce=y({colormap:ue,nshades:256,format:"rgba"}),ye=new Uint8Array(1024),de=0;de<256;++de){for(var me=ce[de],pe=0;pe<3;++pe)ye[4*de+pe]=me[pe];ye[4*de+3]=255*me[3]}return w(ye,[256,256,4],[4,0,1])}(A.colormap)),this.texture.generateMipmap());var b=A.cells,R=A.positions,I=A.vectors;if(R&&b&&I){var O=[],z=[],F=[],B=[],N=[];this.cells=b,this.positions=R,this.vectors=I;var W=A.meshColor||[1,1,1,1],j=A.vertexIntensity,$=1/0,U=-1/0;if(j)if(A.vertexIntensityBounds)$=+A.vertexIntensityBounds[0],U=+A.vertexIntensityBounds[1];else for(var G=0;G0){var $=this.triShader;$.bind(),$.uniforms=F,this.triangleVAO.bind(),L.drawArrays(L.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind()}},k.drawPick=function(A){A=A||{};for(var L=this.gl,b=A.model||S,R=A.view||S,I=A.projection||S,O=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],z=0;z<3;++z)O[0][z]=Math.max(O[0][z],this.clipBounds[0][z]),O[1][z]=Math.min(O[1][z],this.clipBounds[1][z]);this._model=[].slice.call(b),this._view=[].slice.call(R),this._projection=[].slice.call(I),this._resolution=[L.drawingBufferWidth,L.drawingBufferHeight];var F={model:b,view:R,projection:I,clipBounds:O,tubeScale:this.tubeScale,vectorScale:this.vectorScale,coneScale:this.coneScale,coneOffset:this.coneOffset,pickId:this.pickId/255},B=this.pickShader;B.bind(),B.uniforms=F,this.triangleCount>0&&(this.triangleVAO.bind(),L.drawArrays(L.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind())},k.pick=function(A){if(!A||A.id!==this.pickId)return null;var L=A.value[0]+256*A.value[1]+65536*A.value[2],b=this.cells[L],R=this.positions[b[1]].slice(0,3),I={position:R,dataCoordinate:R,index:Math.floor(b[1]/48)};return this.traceType==="cone"?I.index=Math.floor(b[1]/48):this.traceType==="streamtube"&&(I.intensity=this.intensity[b[1]],I.velocity=this.vectors[b[1]].slice(0,3),I.divergence=this.vectors[b[1]][3],I.index=L),I},k.dispose=function(){this.texture.dispose(),this.triShader.dispose(),this.pickShader.dispose(),this.triangleVAO.dispose(),this.trianglePositions.dispose(),this.triangleVectors.dispose(),this.triangleColors.dispose(),this.triangleUVs.dispose(),this.triangleIds.dispose()},f.exports=function(A,L,b){var R=b.shaders;arguments.length===1&&(A=(L=A).gl);var I=E(A,R),O=x(A,R),z=c(A,w(new Uint8Array([255,255,255,255]),[1,1,4]));z.generateMipmap(),z.minFilter=A.LINEAR_MIPMAP_LINEAR,z.magFilter=A.LINEAR;var F=o(A),B=o(A),N=o(A),W=o(A),j=o(A),$=s(A,[{buffer:F,type:A.FLOAT,size:4},{buffer:j,type:A.UNSIGNED_BYTE,size:4,normalized:!0},{buffer:N,type:A.FLOAT,size:4},{buffer:W,type:A.FLOAT,size:2},{buffer:B,type:A.FLOAT,size:4}]),U=new _(A,z,I,O,F,B,j,N,W,$,b.traceType||"cone");return U.update(L),U}},7234:function(f,l,a){var u=a(6832),o=u([`precision highp float; precision highp float; #define GLSLIFY 1 @@ -510,7 +510,7 @@ void main() { f_position = position.xyz; f_uv = uv; } -`]),o=u([`#extension GL_OES_standard_derivatives : enable +`]),s=u([`#extension GL_OES_standard_derivatives : enable precision highp float; #define GLSLIFY 1 @@ -700,7 +700,7 @@ void main() { f_id = id; f_position = position.xyz; } -`]),f=u([`precision highp float; +`]),h=u([`precision highp float; #define GLSLIFY 1 bool outOfRange(float a, float b, float p) { @@ -733,7 +733,7 @@ void main() { if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard; gl_FragColor = vec4(pickId, f_id.xyz); -}`]);l.meshShader={vertex:s,fragment:o,attributes:[{name:"position",type:"vec4"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"},{name:"vector",type:"vec3"}]},l.pickShader={vertex:c,fragment:f,attributes:[{name:"position",type:"vec4"},{name:"id",type:"vec4"},{name:"vector",type:"vec3"}]}},1950:function(h){h.exports={0:"NONE",1:"ONE",2:"LINE_LOOP",3:"LINE_STRIP",4:"TRIANGLES",5:"TRIANGLE_STRIP",6:"TRIANGLE_FAN",256:"DEPTH_BUFFER_BIT",512:"NEVER",513:"LESS",514:"EQUAL",515:"LEQUAL",516:"GREATER",517:"NOTEQUAL",518:"GEQUAL",519:"ALWAYS",768:"SRC_COLOR",769:"ONE_MINUS_SRC_COLOR",770:"SRC_ALPHA",771:"ONE_MINUS_SRC_ALPHA",772:"DST_ALPHA",773:"ONE_MINUS_DST_ALPHA",774:"DST_COLOR",775:"ONE_MINUS_DST_COLOR",776:"SRC_ALPHA_SATURATE",1024:"STENCIL_BUFFER_BIT",1028:"FRONT",1029:"BACK",1032:"FRONT_AND_BACK",1280:"INVALID_ENUM",1281:"INVALID_VALUE",1282:"INVALID_OPERATION",1285:"OUT_OF_MEMORY",1286:"INVALID_FRAMEBUFFER_OPERATION",2304:"CW",2305:"CCW",2849:"LINE_WIDTH",2884:"CULL_FACE",2885:"CULL_FACE_MODE",2886:"FRONT_FACE",2928:"DEPTH_RANGE",2929:"DEPTH_TEST",2930:"DEPTH_WRITEMASK",2931:"DEPTH_CLEAR_VALUE",2932:"DEPTH_FUNC",2960:"STENCIL_TEST",2961:"STENCIL_CLEAR_VALUE",2962:"STENCIL_FUNC",2963:"STENCIL_VALUE_MASK",2964:"STENCIL_FAIL",2965:"STENCIL_PASS_DEPTH_FAIL",2966:"STENCIL_PASS_DEPTH_PASS",2967:"STENCIL_REF",2968:"STENCIL_WRITEMASK",2978:"VIEWPORT",3024:"DITHER",3042:"BLEND",3088:"SCISSOR_BOX",3089:"SCISSOR_TEST",3106:"COLOR_CLEAR_VALUE",3107:"COLOR_WRITEMASK",3317:"UNPACK_ALIGNMENT",3333:"PACK_ALIGNMENT",3379:"MAX_TEXTURE_SIZE",3386:"MAX_VIEWPORT_DIMS",3408:"SUBPIXEL_BITS",3410:"RED_BITS",3411:"GREEN_BITS",3412:"BLUE_BITS",3413:"ALPHA_BITS",3414:"DEPTH_BITS",3415:"STENCIL_BITS",3553:"TEXTURE_2D",4352:"DONT_CARE",4353:"FASTEST",4354:"NICEST",5120:"BYTE",5121:"UNSIGNED_BYTE",5122:"SHORT",5123:"UNSIGNED_SHORT",5124:"INT",5125:"UNSIGNED_INT",5126:"FLOAT",5386:"INVERT",5890:"TEXTURE",6401:"STENCIL_INDEX",6402:"DEPTH_COMPONENT",6406:"ALPHA",6407:"RGB",6408:"RGBA",6409:"LUMINANCE",6410:"LUMINANCE_ALPHA",7680:"KEEP",7681:"REPLACE",7682:"INCR",7683:"DECR",7936:"VENDOR",7937:"RENDERER",7938:"VERSION",9728:"NEAREST",9729:"LINEAR",9984:"NEAREST_MIPMAP_NEAREST",9985:"LINEAR_MIPMAP_NEAREST",9986:"NEAREST_MIPMAP_LINEAR",9987:"LINEAR_MIPMAP_LINEAR",10240:"TEXTURE_MAG_FILTER",10241:"TEXTURE_MIN_FILTER",10242:"TEXTURE_WRAP_S",10243:"TEXTURE_WRAP_T",10497:"REPEAT",10752:"POLYGON_OFFSET_UNITS",16384:"COLOR_BUFFER_BIT",32769:"CONSTANT_COLOR",32770:"ONE_MINUS_CONSTANT_COLOR",32771:"CONSTANT_ALPHA",32772:"ONE_MINUS_CONSTANT_ALPHA",32773:"BLEND_COLOR",32774:"FUNC_ADD",32777:"BLEND_EQUATION_RGB",32778:"FUNC_SUBTRACT",32779:"FUNC_REVERSE_SUBTRACT",32819:"UNSIGNED_SHORT_4_4_4_4",32820:"UNSIGNED_SHORT_5_5_5_1",32823:"POLYGON_OFFSET_FILL",32824:"POLYGON_OFFSET_FACTOR",32854:"RGBA4",32855:"RGB5_A1",32873:"TEXTURE_BINDING_2D",32926:"SAMPLE_ALPHA_TO_COVERAGE",32928:"SAMPLE_COVERAGE",32936:"SAMPLE_BUFFERS",32937:"SAMPLES",32938:"SAMPLE_COVERAGE_VALUE",32939:"SAMPLE_COVERAGE_INVERT",32968:"BLEND_DST_RGB",32969:"BLEND_SRC_RGB",32970:"BLEND_DST_ALPHA",32971:"BLEND_SRC_ALPHA",33071:"CLAMP_TO_EDGE",33170:"GENERATE_MIPMAP_HINT",33189:"DEPTH_COMPONENT16",33306:"DEPTH_STENCIL_ATTACHMENT",33635:"UNSIGNED_SHORT_5_6_5",33648:"MIRRORED_REPEAT",33901:"ALIASED_POINT_SIZE_RANGE",33902:"ALIASED_LINE_WIDTH_RANGE",33984:"TEXTURE0",33985:"TEXTURE1",33986:"TEXTURE2",33987:"TEXTURE3",33988:"TEXTURE4",33989:"TEXTURE5",33990:"TEXTURE6",33991:"TEXTURE7",33992:"TEXTURE8",33993:"TEXTURE9",33994:"TEXTURE10",33995:"TEXTURE11",33996:"TEXTURE12",33997:"TEXTURE13",33998:"TEXTURE14",33999:"TEXTURE15",34e3:"TEXTURE16",34001:"TEXTURE17",34002:"TEXTURE18",34003:"TEXTURE19",34004:"TEXTURE20",34005:"TEXTURE21",34006:"TEXTURE22",34007:"TEXTURE23",34008:"TEXTURE24",34009:"TEXTURE25",34010:"TEXTURE26",34011:"TEXTURE27",34012:"TEXTURE28",34013:"TEXTURE29",34014:"TEXTURE30",34015:"TEXTURE31",34016:"ACTIVE_TEXTURE",34024:"MAX_RENDERBUFFER_SIZE",34041:"DEPTH_STENCIL",34055:"INCR_WRAP",34056:"DECR_WRAP",34067:"TEXTURE_CUBE_MAP",34068:"TEXTURE_BINDING_CUBE_MAP",34069:"TEXTURE_CUBE_MAP_POSITIVE_X",34070:"TEXTURE_CUBE_MAP_NEGATIVE_X",34071:"TEXTURE_CUBE_MAP_POSITIVE_Y",34072:"TEXTURE_CUBE_MAP_NEGATIVE_Y",34073:"TEXTURE_CUBE_MAP_POSITIVE_Z",34074:"TEXTURE_CUBE_MAP_NEGATIVE_Z",34076:"MAX_CUBE_MAP_TEXTURE_SIZE",34338:"VERTEX_ATTRIB_ARRAY_ENABLED",34339:"VERTEX_ATTRIB_ARRAY_SIZE",34340:"VERTEX_ATTRIB_ARRAY_STRIDE",34341:"VERTEX_ATTRIB_ARRAY_TYPE",34342:"CURRENT_VERTEX_ATTRIB",34373:"VERTEX_ATTRIB_ARRAY_POINTER",34466:"NUM_COMPRESSED_TEXTURE_FORMATS",34467:"COMPRESSED_TEXTURE_FORMATS",34660:"BUFFER_SIZE",34661:"BUFFER_USAGE",34816:"STENCIL_BACK_FUNC",34817:"STENCIL_BACK_FAIL",34818:"STENCIL_BACK_PASS_DEPTH_FAIL",34819:"STENCIL_BACK_PASS_DEPTH_PASS",34877:"BLEND_EQUATION_ALPHA",34921:"MAX_VERTEX_ATTRIBS",34922:"VERTEX_ATTRIB_ARRAY_NORMALIZED",34930:"MAX_TEXTURE_IMAGE_UNITS",34962:"ARRAY_BUFFER",34963:"ELEMENT_ARRAY_BUFFER",34964:"ARRAY_BUFFER_BINDING",34965:"ELEMENT_ARRAY_BUFFER_BINDING",34975:"VERTEX_ATTRIB_ARRAY_BUFFER_BINDING",35040:"STREAM_DRAW",35044:"STATIC_DRAW",35048:"DYNAMIC_DRAW",35632:"FRAGMENT_SHADER",35633:"VERTEX_SHADER",35660:"MAX_VERTEX_TEXTURE_IMAGE_UNITS",35661:"MAX_COMBINED_TEXTURE_IMAGE_UNITS",35663:"SHADER_TYPE",35664:"FLOAT_VEC2",35665:"FLOAT_VEC3",35666:"FLOAT_VEC4",35667:"INT_VEC2",35668:"INT_VEC3",35669:"INT_VEC4",35670:"BOOL",35671:"BOOL_VEC2",35672:"BOOL_VEC3",35673:"BOOL_VEC4",35674:"FLOAT_MAT2",35675:"FLOAT_MAT3",35676:"FLOAT_MAT4",35678:"SAMPLER_2D",35680:"SAMPLER_CUBE",35712:"DELETE_STATUS",35713:"COMPILE_STATUS",35714:"LINK_STATUS",35715:"VALIDATE_STATUS",35716:"INFO_LOG_LENGTH",35717:"ATTACHED_SHADERS",35718:"ACTIVE_UNIFORMS",35719:"ACTIVE_UNIFORM_MAX_LENGTH",35720:"SHADER_SOURCE_LENGTH",35721:"ACTIVE_ATTRIBUTES",35722:"ACTIVE_ATTRIBUTE_MAX_LENGTH",35724:"SHADING_LANGUAGE_VERSION",35725:"CURRENT_PROGRAM",36003:"STENCIL_BACK_REF",36004:"STENCIL_BACK_VALUE_MASK",36005:"STENCIL_BACK_WRITEMASK",36006:"FRAMEBUFFER_BINDING",36007:"RENDERBUFFER_BINDING",36048:"FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE",36049:"FRAMEBUFFER_ATTACHMENT_OBJECT_NAME",36050:"FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL",36051:"FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE",36053:"FRAMEBUFFER_COMPLETE",36054:"FRAMEBUFFER_INCOMPLETE_ATTACHMENT",36055:"FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT",36057:"FRAMEBUFFER_INCOMPLETE_DIMENSIONS",36061:"FRAMEBUFFER_UNSUPPORTED",36064:"COLOR_ATTACHMENT0",36096:"DEPTH_ATTACHMENT",36128:"STENCIL_ATTACHMENT",36160:"FRAMEBUFFER",36161:"RENDERBUFFER",36162:"RENDERBUFFER_WIDTH",36163:"RENDERBUFFER_HEIGHT",36164:"RENDERBUFFER_INTERNAL_FORMAT",36168:"STENCIL_INDEX8",36176:"RENDERBUFFER_RED_SIZE",36177:"RENDERBUFFER_GREEN_SIZE",36178:"RENDERBUFFER_BLUE_SIZE",36179:"RENDERBUFFER_ALPHA_SIZE",36180:"RENDERBUFFER_DEPTH_SIZE",36181:"RENDERBUFFER_STENCIL_SIZE",36194:"RGB565",36336:"LOW_FLOAT",36337:"MEDIUM_FLOAT",36338:"HIGH_FLOAT",36339:"LOW_INT",36340:"MEDIUM_INT",36341:"HIGH_INT",36346:"SHADER_COMPILER",36347:"MAX_VERTEX_UNIFORM_VECTORS",36348:"MAX_VARYING_VECTORS",36349:"MAX_FRAGMENT_UNIFORM_VECTORS",37440:"UNPACK_FLIP_Y_WEBGL",37441:"UNPACK_PREMULTIPLY_ALPHA_WEBGL",37442:"CONTEXT_LOST_WEBGL",37443:"UNPACK_COLORSPACE_CONVERSION_WEBGL",37444:"BROWSER_DEFAULT_WEBGL"}},6603:function(h,l,a){var u=a(1950);h.exports=function(s){return u[s]}},3110:function(h,l,a){h.exports=function(x){var T=x.gl,E=u(T),_=s(T,[{buffer:E,type:T.FLOAT,size:3,offset:0,stride:40},{buffer:E,type:T.FLOAT,size:4,offset:12,stride:40},{buffer:E,type:T.FLOAT,size:3,offset:28,stride:40}]),A=o(T);A.attributes.position.location=0,A.attributes.color.location=1,A.attributes.offset.location=2;var L=new f(T,E,_,A);return L.update(x),L};var u=a(5827),s=a(2944),o=a(7667),c=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function f(x,T,E,_){this.gl=x,this.shader=_,this.buffer=T,this.vao=E,this.pixelRatio=1,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.lineWidth=[1,1,1],this.capSize=[10,10,10],this.lineCount=[0,0,0],this.lineOffset=[0,0,0],this.opacity=1,this.hasAlpha=!1}var p=f.prototype;function w(x,T){for(var E=0;E<3;++E)x[0][E]=Math.min(x[0][E],T[E]),x[1][E]=Math.max(x[1][E],T[E])}p.isOpaque=function(){return!this.hasAlpha},p.isTransparent=function(){return this.hasAlpha},p.drawTransparent=p.draw=function(x){var T=this.gl,E=this.shader.uniforms;this.shader.bind();var _=E.view=x.view||c,A=E.projection=x.projection||c;E.model=x.model||c,E.clipBounds=this.clipBounds,E.opacity=this.opacity;var L=_[12],b=_[13],R=_[14],I=_[15],O=(x._ortho?2:1)*this.pixelRatio*(A[3]*L+A[7]*b+A[11]*R+A[15]*I)/T.drawingBufferHeight;this.vao.bind();for(var z=0;z<3;++z)T.lineWidth(this.lineWidth[z]*this.pixelRatio),E.capSize=this.capSize[z]*O,this.lineCount[z]&&T.drawArrays(T.LINES,this.lineOffset[z],this.lineCount[z]);this.vao.unbind()};var g=function(){for(var x=new Array(3),T=0;T<3;++T){for(var E=[],_=1;_<=2;++_)for(var A=-1;A<=1;A+=2){var L=[0,0,0];L[(_+T)%3]=A,E.push(L)}x[T]=E}return x}();function S(x,T,E,_){for(var A=g[_],L=0;L0&&((F=O.slice())[R]+=B[1][R],A.push(O[0],O[1],O[2],N[0],N[1],N[2],N[3],0,0,0,F[0],F[1],F[2],N[0],N[1],N[2],N[3],0,0,0),w(this.bounds,F),b+=2+S(A,F,N,R)))}this.lineCount[R]=b-this.lineOffset[R]}this.buffer.update(A)}},p.dispose=function(){this.shader.dispose(),this.buffer.dispose(),this.vao.dispose()}},7667:function(h,l,a){var u=a(6832),s=a(5158),o=u([`precision highp float; +}`]);l.meshShader={vertex:o,fragment:s,attributes:[{name:"position",type:"vec4"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"},{name:"vector",type:"vec3"}]},l.pickShader={vertex:c,fragment:h,attributes:[{name:"position",type:"vec4"},{name:"id",type:"vec4"},{name:"vector",type:"vec3"}]}},1950:function(f){f.exports={0:"NONE",1:"ONE",2:"LINE_LOOP",3:"LINE_STRIP",4:"TRIANGLES",5:"TRIANGLE_STRIP",6:"TRIANGLE_FAN",256:"DEPTH_BUFFER_BIT",512:"NEVER",513:"LESS",514:"EQUAL",515:"LEQUAL",516:"GREATER",517:"NOTEQUAL",518:"GEQUAL",519:"ALWAYS",768:"SRC_COLOR",769:"ONE_MINUS_SRC_COLOR",770:"SRC_ALPHA",771:"ONE_MINUS_SRC_ALPHA",772:"DST_ALPHA",773:"ONE_MINUS_DST_ALPHA",774:"DST_COLOR",775:"ONE_MINUS_DST_COLOR",776:"SRC_ALPHA_SATURATE",1024:"STENCIL_BUFFER_BIT",1028:"FRONT",1029:"BACK",1032:"FRONT_AND_BACK",1280:"INVALID_ENUM",1281:"INVALID_VALUE",1282:"INVALID_OPERATION",1285:"OUT_OF_MEMORY",1286:"INVALID_FRAMEBUFFER_OPERATION",2304:"CW",2305:"CCW",2849:"LINE_WIDTH",2884:"CULL_FACE",2885:"CULL_FACE_MODE",2886:"FRONT_FACE",2928:"DEPTH_RANGE",2929:"DEPTH_TEST",2930:"DEPTH_WRITEMASK",2931:"DEPTH_CLEAR_VALUE",2932:"DEPTH_FUNC",2960:"STENCIL_TEST",2961:"STENCIL_CLEAR_VALUE",2962:"STENCIL_FUNC",2963:"STENCIL_VALUE_MASK",2964:"STENCIL_FAIL",2965:"STENCIL_PASS_DEPTH_FAIL",2966:"STENCIL_PASS_DEPTH_PASS",2967:"STENCIL_REF",2968:"STENCIL_WRITEMASK",2978:"VIEWPORT",3024:"DITHER",3042:"BLEND",3088:"SCISSOR_BOX",3089:"SCISSOR_TEST",3106:"COLOR_CLEAR_VALUE",3107:"COLOR_WRITEMASK",3317:"UNPACK_ALIGNMENT",3333:"PACK_ALIGNMENT",3379:"MAX_TEXTURE_SIZE",3386:"MAX_VIEWPORT_DIMS",3408:"SUBPIXEL_BITS",3410:"RED_BITS",3411:"GREEN_BITS",3412:"BLUE_BITS",3413:"ALPHA_BITS",3414:"DEPTH_BITS",3415:"STENCIL_BITS",3553:"TEXTURE_2D",4352:"DONT_CARE",4353:"FASTEST",4354:"NICEST",5120:"BYTE",5121:"UNSIGNED_BYTE",5122:"SHORT",5123:"UNSIGNED_SHORT",5124:"INT",5125:"UNSIGNED_INT",5126:"FLOAT",5386:"INVERT",5890:"TEXTURE",6401:"STENCIL_INDEX",6402:"DEPTH_COMPONENT",6406:"ALPHA",6407:"RGB",6408:"RGBA",6409:"LUMINANCE",6410:"LUMINANCE_ALPHA",7680:"KEEP",7681:"REPLACE",7682:"INCR",7683:"DECR",7936:"VENDOR",7937:"RENDERER",7938:"VERSION",9728:"NEAREST",9729:"LINEAR",9984:"NEAREST_MIPMAP_NEAREST",9985:"LINEAR_MIPMAP_NEAREST",9986:"NEAREST_MIPMAP_LINEAR",9987:"LINEAR_MIPMAP_LINEAR",10240:"TEXTURE_MAG_FILTER",10241:"TEXTURE_MIN_FILTER",10242:"TEXTURE_WRAP_S",10243:"TEXTURE_WRAP_T",10497:"REPEAT",10752:"POLYGON_OFFSET_UNITS",16384:"COLOR_BUFFER_BIT",32769:"CONSTANT_COLOR",32770:"ONE_MINUS_CONSTANT_COLOR",32771:"CONSTANT_ALPHA",32772:"ONE_MINUS_CONSTANT_ALPHA",32773:"BLEND_COLOR",32774:"FUNC_ADD",32777:"BLEND_EQUATION_RGB",32778:"FUNC_SUBTRACT",32779:"FUNC_REVERSE_SUBTRACT",32819:"UNSIGNED_SHORT_4_4_4_4",32820:"UNSIGNED_SHORT_5_5_5_1",32823:"POLYGON_OFFSET_FILL",32824:"POLYGON_OFFSET_FACTOR",32854:"RGBA4",32855:"RGB5_A1",32873:"TEXTURE_BINDING_2D",32926:"SAMPLE_ALPHA_TO_COVERAGE",32928:"SAMPLE_COVERAGE",32936:"SAMPLE_BUFFERS",32937:"SAMPLES",32938:"SAMPLE_COVERAGE_VALUE",32939:"SAMPLE_COVERAGE_INVERT",32968:"BLEND_DST_RGB",32969:"BLEND_SRC_RGB",32970:"BLEND_DST_ALPHA",32971:"BLEND_SRC_ALPHA",33071:"CLAMP_TO_EDGE",33170:"GENERATE_MIPMAP_HINT",33189:"DEPTH_COMPONENT16",33306:"DEPTH_STENCIL_ATTACHMENT",33635:"UNSIGNED_SHORT_5_6_5",33648:"MIRRORED_REPEAT",33901:"ALIASED_POINT_SIZE_RANGE",33902:"ALIASED_LINE_WIDTH_RANGE",33984:"TEXTURE0",33985:"TEXTURE1",33986:"TEXTURE2",33987:"TEXTURE3",33988:"TEXTURE4",33989:"TEXTURE5",33990:"TEXTURE6",33991:"TEXTURE7",33992:"TEXTURE8",33993:"TEXTURE9",33994:"TEXTURE10",33995:"TEXTURE11",33996:"TEXTURE12",33997:"TEXTURE13",33998:"TEXTURE14",33999:"TEXTURE15",34e3:"TEXTURE16",34001:"TEXTURE17",34002:"TEXTURE18",34003:"TEXTURE19",34004:"TEXTURE20",34005:"TEXTURE21",34006:"TEXTURE22",34007:"TEXTURE23",34008:"TEXTURE24",34009:"TEXTURE25",34010:"TEXTURE26",34011:"TEXTURE27",34012:"TEXTURE28",34013:"TEXTURE29",34014:"TEXTURE30",34015:"TEXTURE31",34016:"ACTIVE_TEXTURE",34024:"MAX_RENDERBUFFER_SIZE",34041:"DEPTH_STENCIL",34055:"INCR_WRAP",34056:"DECR_WRAP",34067:"TEXTURE_CUBE_MAP",34068:"TEXTURE_BINDING_CUBE_MAP",34069:"TEXTURE_CUBE_MAP_POSITIVE_X",34070:"TEXTURE_CUBE_MAP_NEGATIVE_X",34071:"TEXTURE_CUBE_MAP_POSITIVE_Y",34072:"TEXTURE_CUBE_MAP_NEGATIVE_Y",34073:"TEXTURE_CUBE_MAP_POSITIVE_Z",34074:"TEXTURE_CUBE_MAP_NEGATIVE_Z",34076:"MAX_CUBE_MAP_TEXTURE_SIZE",34338:"VERTEX_ATTRIB_ARRAY_ENABLED",34339:"VERTEX_ATTRIB_ARRAY_SIZE",34340:"VERTEX_ATTRIB_ARRAY_STRIDE",34341:"VERTEX_ATTRIB_ARRAY_TYPE",34342:"CURRENT_VERTEX_ATTRIB",34373:"VERTEX_ATTRIB_ARRAY_POINTER",34466:"NUM_COMPRESSED_TEXTURE_FORMATS",34467:"COMPRESSED_TEXTURE_FORMATS",34660:"BUFFER_SIZE",34661:"BUFFER_USAGE",34816:"STENCIL_BACK_FUNC",34817:"STENCIL_BACK_FAIL",34818:"STENCIL_BACK_PASS_DEPTH_FAIL",34819:"STENCIL_BACK_PASS_DEPTH_PASS",34877:"BLEND_EQUATION_ALPHA",34921:"MAX_VERTEX_ATTRIBS",34922:"VERTEX_ATTRIB_ARRAY_NORMALIZED",34930:"MAX_TEXTURE_IMAGE_UNITS",34962:"ARRAY_BUFFER",34963:"ELEMENT_ARRAY_BUFFER",34964:"ARRAY_BUFFER_BINDING",34965:"ELEMENT_ARRAY_BUFFER_BINDING",34975:"VERTEX_ATTRIB_ARRAY_BUFFER_BINDING",35040:"STREAM_DRAW",35044:"STATIC_DRAW",35048:"DYNAMIC_DRAW",35632:"FRAGMENT_SHADER",35633:"VERTEX_SHADER",35660:"MAX_VERTEX_TEXTURE_IMAGE_UNITS",35661:"MAX_COMBINED_TEXTURE_IMAGE_UNITS",35663:"SHADER_TYPE",35664:"FLOAT_VEC2",35665:"FLOAT_VEC3",35666:"FLOAT_VEC4",35667:"INT_VEC2",35668:"INT_VEC3",35669:"INT_VEC4",35670:"BOOL",35671:"BOOL_VEC2",35672:"BOOL_VEC3",35673:"BOOL_VEC4",35674:"FLOAT_MAT2",35675:"FLOAT_MAT3",35676:"FLOAT_MAT4",35678:"SAMPLER_2D",35680:"SAMPLER_CUBE",35712:"DELETE_STATUS",35713:"COMPILE_STATUS",35714:"LINK_STATUS",35715:"VALIDATE_STATUS",35716:"INFO_LOG_LENGTH",35717:"ATTACHED_SHADERS",35718:"ACTIVE_UNIFORMS",35719:"ACTIVE_UNIFORM_MAX_LENGTH",35720:"SHADER_SOURCE_LENGTH",35721:"ACTIVE_ATTRIBUTES",35722:"ACTIVE_ATTRIBUTE_MAX_LENGTH",35724:"SHADING_LANGUAGE_VERSION",35725:"CURRENT_PROGRAM",36003:"STENCIL_BACK_REF",36004:"STENCIL_BACK_VALUE_MASK",36005:"STENCIL_BACK_WRITEMASK",36006:"FRAMEBUFFER_BINDING",36007:"RENDERBUFFER_BINDING",36048:"FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE",36049:"FRAMEBUFFER_ATTACHMENT_OBJECT_NAME",36050:"FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL",36051:"FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE",36053:"FRAMEBUFFER_COMPLETE",36054:"FRAMEBUFFER_INCOMPLETE_ATTACHMENT",36055:"FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT",36057:"FRAMEBUFFER_INCOMPLETE_DIMENSIONS",36061:"FRAMEBUFFER_UNSUPPORTED",36064:"COLOR_ATTACHMENT0",36096:"DEPTH_ATTACHMENT",36128:"STENCIL_ATTACHMENT",36160:"FRAMEBUFFER",36161:"RENDERBUFFER",36162:"RENDERBUFFER_WIDTH",36163:"RENDERBUFFER_HEIGHT",36164:"RENDERBUFFER_INTERNAL_FORMAT",36168:"STENCIL_INDEX8",36176:"RENDERBUFFER_RED_SIZE",36177:"RENDERBUFFER_GREEN_SIZE",36178:"RENDERBUFFER_BLUE_SIZE",36179:"RENDERBUFFER_ALPHA_SIZE",36180:"RENDERBUFFER_DEPTH_SIZE",36181:"RENDERBUFFER_STENCIL_SIZE",36194:"RGB565",36336:"LOW_FLOAT",36337:"MEDIUM_FLOAT",36338:"HIGH_FLOAT",36339:"LOW_INT",36340:"MEDIUM_INT",36341:"HIGH_INT",36346:"SHADER_COMPILER",36347:"MAX_VERTEX_UNIFORM_VECTORS",36348:"MAX_VARYING_VECTORS",36349:"MAX_FRAGMENT_UNIFORM_VECTORS",37440:"UNPACK_FLIP_Y_WEBGL",37441:"UNPACK_PREMULTIPLY_ALPHA_WEBGL",37442:"CONTEXT_LOST_WEBGL",37443:"UNPACK_COLORSPACE_CONVERSION_WEBGL",37444:"BROWSER_DEFAULT_WEBGL"}},6603:function(f,l,a){var u=a(1950);f.exports=function(o){return u[o]}},3110:function(f,l,a){f.exports=function(_){var k=_.gl,E=u(k),x=o(k,[{buffer:E,type:k.FLOAT,size:3,offset:0,stride:40},{buffer:E,type:k.FLOAT,size:4,offset:12,stride:40},{buffer:E,type:k.FLOAT,size:3,offset:28,stride:40}]),A=s(k);A.attributes.position.location=0,A.attributes.color.location=1,A.attributes.offset.location=2;var L=new h(k,E,x,A);return L.update(_),L};var u=a(5827),o=a(2944),s=a(7667),c=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function h(_,k,E,x){this.gl=_,this.shader=x,this.buffer=k,this.vao=E,this.pixelRatio=1,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.lineWidth=[1,1,1],this.capSize=[10,10,10],this.lineCount=[0,0,0],this.lineOffset=[0,0,0],this.opacity=1,this.hasAlpha=!1}var m=h.prototype;function w(_,k){for(var E=0;E<3;++E)_[0][E]=Math.min(_[0][E],k[E]),_[1][E]=Math.max(_[1][E],k[E])}m.isOpaque=function(){return!this.hasAlpha},m.isTransparent=function(){return this.hasAlpha},m.drawTransparent=m.draw=function(_){var k=this.gl,E=this.shader.uniforms;this.shader.bind();var x=E.view=_.view||c,A=E.projection=_.projection||c;E.model=_.model||c,E.clipBounds=this.clipBounds,E.opacity=this.opacity;var L=x[12],b=x[13],R=x[14],I=x[15],O=(_._ortho?2:1)*this.pixelRatio*(A[3]*L+A[7]*b+A[11]*R+A[15]*I)/k.drawingBufferHeight;this.vao.bind();for(var z=0;z<3;++z)k.lineWidth(this.lineWidth[z]*this.pixelRatio),E.capSize=this.capSize[z]*O,this.lineCount[z]&&k.drawArrays(k.LINES,this.lineOffset[z],this.lineCount[z]);this.vao.unbind()};var y=function(){for(var _=new Array(3),k=0;k<3;++k){for(var E=[],x=1;x<=2;++x)for(var A=-1;A<=1;A+=2){var L=[0,0,0];L[(x+k)%3]=A,E.push(L)}_[k]=E}return _}();function S(_,k,E,x){for(var A=y[x],L=0;L0&&((F=O.slice())[R]+=B[1][R],A.push(O[0],O[1],O[2],N[0],N[1],N[2],N[3],0,0,0,F[0],F[1],F[2],N[0],N[1],N[2],N[3],0,0,0),w(this.bounds,F),b+=2+S(A,F,N,R)))}this.lineCount[R]=b-this.lineOffset[R]}this.buffer.update(A)}},m.dispose=function(){this.shader.dispose(),this.buffer.dispose(),this.vao.dispose()}},7667:function(f,l,a){var u=a(6832),o=a(5158),s=u([`precision highp float; #define GLSLIFY 1 attribute vec3 position, offset; @@ -784,13 +784,13 @@ void main() { ) discard; gl_FragColor = opacity * fragColor; -}`]);h.exports=function(f){return s(f,o,c,null,[{name:"position",type:"vec3"},{name:"color",type:"vec4"},{name:"offset",type:"vec3"}])}},4234:function(h,l,a){var u=a(8931);h.exports=function(L,b,R,I){s||(s=L.FRAMEBUFFER_UNSUPPORTED,o=L.FRAMEBUFFER_INCOMPLETE_ATTACHMENT,c=L.FRAMEBUFFER_INCOMPLETE_DIMENSIONS,f=L.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT);var O=L.getExtension("WEBGL_draw_buffers");if(!p&&O&&function(Y,U){var G=Y.getParameter(U.MAX_COLOR_ATTACHMENTS_WEBGL);p=new Array(G+1);for(var q=0;q<=G;++q){for(var H=new Array(G),ne=0;nez||R<0||R>z)throw new Error("gl-fbo: Parameters are too large for FBO");var F=1;if("color"in(I=I||{})){if((F=Math.max(0|I.color,0))<0)throw new Error("gl-fbo: Must specify a nonnegative number of colors");if(F>1){if(!O)throw new Error("gl-fbo: Multiple draw buffer extension not supported");if(F>L.getParameter(O.MAX_COLOR_ATTACHMENTS_WEBGL))throw new Error("gl-fbo: Context does not support "+F+" draw buffers")}}var B=L.UNSIGNED_BYTE,N=L.getExtension("OES_texture_float");if(I.float&&F>0){if(!N)throw new Error("gl-fbo: Context does not support floating point textures");B=L.FLOAT}else I.preferFloat&&F>0&&N&&(B=L.FLOAT);var W=!0;"depth"in I&&(W=!!I.depth);var j=!1;return"stencil"in I&&(j=!!I.stencil),new E(L,b,R,B,F,W,j,O)};var s,o,c,f,p=null;function w(L){return[L.getParameter(L.FRAMEBUFFER_BINDING),L.getParameter(L.RENDERBUFFER_BINDING),L.getParameter(L.TEXTURE_BINDING_2D)]}function g(L,b){L.bindFramebuffer(L.FRAMEBUFFER,b[0]),L.bindRenderbuffer(L.RENDERBUFFER,b[1]),L.bindTexture(L.TEXTURE_2D,b[2])}function S(L){switch(L){case s:throw new Error("gl-fbo: Framebuffer unsupported");case o:throw new Error("gl-fbo: Framebuffer incomplete attachment");case c:throw new Error("gl-fbo: Framebuffer incomplete dimensions");case f:throw new Error("gl-fbo: Framebuffer incomplete missing attachment");default:throw new Error("gl-fbo: Framebuffer failed for unspecified reason")}}function x(L,b,R,I,O,z){if(!I)return null;var F=u(L,b,R,O,I);return F.magFilter=L.NEAREST,F.minFilter=L.NEAREST,F.mipSamples=1,F.bind(),L.framebufferTexture2D(L.FRAMEBUFFER,z,L.TEXTURE_2D,F.handle,0),F}function T(L,b,R,I,O){var z=L.createRenderbuffer();return L.bindRenderbuffer(L.RENDERBUFFER,z),L.renderbufferStorage(L.RENDERBUFFER,I,b,R),L.framebufferRenderbuffer(L.FRAMEBUFFER,O,L.RENDERBUFFER,z),z}function E(L,b,R,I,O,z,F,B){this.gl=L,this._shape=[0|b,0|R],this._destroyed=!1,this._ext=B,this.color=new Array(O);for(var N=0;N1&&Z.drawBuffersWEBGL(p[te]);var oe=G.getExtension("WEBGL_depth_texture");oe?X?Y.depth=x(G,H,ne,oe.UNSIGNED_INT_24_8_WEBGL,G.DEPTH_STENCIL,G.DEPTH_STENCIL_ATTACHMENT):Q&&(Y.depth=x(G,H,ne,G.UNSIGNED_SHORT,G.DEPTH_COMPONENT,G.DEPTH_ATTACHMENT)):Q&&X?Y._depth_rb=T(G,H,ne,G.DEPTH_STENCIL,G.DEPTH_STENCIL_ATTACHMENT):Q?Y._depth_rb=T(G,H,ne,G.DEPTH_COMPONENT16,G.DEPTH_ATTACHMENT):X&&(Y._depth_rb=T(G,H,ne,G.STENCIL_INDEX,G.STENCIL_ATTACHMENT));var ue=G.checkFramebufferStatus(G.FRAMEBUFFER);if(ue!==G.FRAMEBUFFER_COMPLETE){for(Y._destroyed=!0,G.bindFramebuffer(G.FRAMEBUFFER,null),G.deleteFramebuffer(Y.handle),Y.handle=null,Y.depth&&(Y.depth.dispose(),Y.depth=null),Y._depth_rb&&(G.deleteRenderbuffer(Y._depth_rb),Y._depth_rb=null),ie=0;ieO||R<0||R>O)throw new Error("gl-fbo: Can't resize FBO, invalid dimensions");L._shape[0]=b,L._shape[1]=R;for(var z=w(I),F=0;Fz||R<0||R>z)throw new Error("gl-fbo: Parameters are too large for FBO");var F=1;if("color"in(I=I||{})){if((F=Math.max(0|I.color,0))<0)throw new Error("gl-fbo: Must specify a nonnegative number of colors");if(F>1){if(!O)throw new Error("gl-fbo: Multiple draw buffer extension not supported");if(F>L.getParameter(O.MAX_COLOR_ATTACHMENTS_WEBGL))throw new Error("gl-fbo: Context does not support "+F+" draw buffers")}}var B=L.UNSIGNED_BYTE,N=L.getExtension("OES_texture_float");if(I.float&&F>0){if(!N)throw new Error("gl-fbo: Context does not support floating point textures");B=L.FLOAT}else I.preferFloat&&F>0&&N&&(B=L.FLOAT);var W=!0;"depth"in I&&(W=!!I.depth);var j=!1;return"stencil"in I&&(j=!!I.stencil),new E(L,b,R,B,F,W,j,O)};var o,s,c,h,m=null;function w(L){return[L.getParameter(L.FRAMEBUFFER_BINDING),L.getParameter(L.RENDERBUFFER_BINDING),L.getParameter(L.TEXTURE_BINDING_2D)]}function y(L,b){L.bindFramebuffer(L.FRAMEBUFFER,b[0]),L.bindRenderbuffer(L.RENDERBUFFER,b[1]),L.bindTexture(L.TEXTURE_2D,b[2])}function S(L){switch(L){case o:throw new Error("gl-fbo: Framebuffer unsupported");case s:throw new Error("gl-fbo: Framebuffer incomplete attachment");case c:throw new Error("gl-fbo: Framebuffer incomplete dimensions");case h:throw new Error("gl-fbo: Framebuffer incomplete missing attachment");default:throw new Error("gl-fbo: Framebuffer failed for unspecified reason")}}function _(L,b,R,I,O,z){if(!I)return null;var F=u(L,b,R,O,I);return F.magFilter=L.NEAREST,F.minFilter=L.NEAREST,F.mipSamples=1,F.bind(),L.framebufferTexture2D(L.FRAMEBUFFER,z,L.TEXTURE_2D,F.handle,0),F}function k(L,b,R,I,O){var z=L.createRenderbuffer();return L.bindRenderbuffer(L.RENDERBUFFER,z),L.renderbufferStorage(L.RENDERBUFFER,I,b,R),L.framebufferRenderbuffer(L.FRAMEBUFFER,O,L.RENDERBUFFER,z),z}function E(L,b,R,I,O,z,F,B){this.gl=L,this._shape=[0|b,0|R],this._destroyed=!1,this._ext=B,this.color=new Array(O);for(var N=0;N1&&Z.drawBuffersWEBGL(m[te]);var oe=G.getExtension("WEBGL_depth_texture");oe?X?$.depth=_(G,H,ne,oe.UNSIGNED_INT_24_8_WEBGL,G.DEPTH_STENCIL,G.DEPTH_STENCIL_ATTACHMENT):Q&&($.depth=_(G,H,ne,G.UNSIGNED_SHORT,G.DEPTH_COMPONENT,G.DEPTH_ATTACHMENT)):Q&&X?$._depth_rb=k(G,H,ne,G.DEPTH_STENCIL,G.DEPTH_STENCIL_ATTACHMENT):Q?$._depth_rb=k(G,H,ne,G.DEPTH_COMPONENT16,G.DEPTH_ATTACHMENT):X&&($._depth_rb=k(G,H,ne,G.STENCIL_INDEX,G.STENCIL_ATTACHMENT));var ue=G.checkFramebufferStatus(G.FRAMEBUFFER);if(ue!==G.FRAMEBUFFER_COMPLETE){for($._destroyed=!0,G.bindFramebuffer(G.FRAMEBUFFER,null),G.deleteFramebuffer($.handle),$.handle=null,$.depth&&($.depth.dispose(),$.depth=null),$._depth_rb&&(G.deleteRenderbuffer($._depth_rb),$._depth_rb=null),ie=0;ie<$.color.length;++ie)$.color[ie].dispose(),$.color[ie]=null;$._color_rb&&(G.deleteRenderbuffer($._color_rb),$._color_rb=null),y(G,U),S(ue)}y(G,U)}(this)}var x=E.prototype;function A(L,b,R){if(L._destroyed)throw new Error("gl-fbo: Can't resize destroyed FBO");if(L._shape[0]!==b||L._shape[1]!==R){var I=L.gl,O=I.getParameter(I.MAX_RENDERBUFFER_SIZE);if(b<0||b>O||R<0||R>O)throw new Error("gl-fbo: Can't resize FBO, invalid dimensions");L._shape[0]=b,L._shape[1]=R;for(var z=w(I),F=0;F>8*W&255;this.pickOffset=_,L.bind();var j=L.uniforms;j.viewTransform=T,j.pickOffset=E,j.shape=this.shape;var Y=L.attributes;return this.positionBuffer.bind(),Y.position.pointer(),this.weightBuffer.bind(),Y.weight.pointer(I.UNSIGNED_BYTE,!1),this.idBuffer.bind(),Y.pickId.pointer(I.UNSIGNED_BYTE,!1),I.drawArrays(I.TRIANGLES,0,R),_+this.shape[0]*this.shape[1]}}}(),S.pick=function(T,E,_){var A=this.pickOffset,L=this.shape[0]*this.shape[1];if(_=A+L)return null;var b=_-A,R=this.xData,I=this.yData;return{object:this,pointId:b,dataCoord:[R[b%this.shape[0]],I[b/this.shape[0]|0]]}},S.update=function(T){var E=(T=T||{}).shape||[0,0],_=T.x||s(E[0]),A=T.y||s(E[1]),L=T.z||new Float32Array(E[0]*E[1]),b=T.zsmooth!==!1;this.xData=_,this.yData=A;var R,I,O,z,F=T.colorLevels||[0],B=T.colorValues||[0,0,0,1],N=F.length,W=this.bounds;b?(R=W[0]=_[0],I=W[1]=A[0],O=W[2]=_[_.length-1],z=W[3]=A[A.length-1]):(R=W[0]=_[0]+(_[1]-_[0])/2,I=W[1]=A[0]+(A[1]-A[0])/2,O=W[2]=_[_.length-1]+(_[_.length-1]-_[_.length-2])/2,z=W[3]=A[A.length-1]+(A[A.length-1]-A[A.length-2])/2);var j=1/(O-R),Y=1/(z-I),U=E[0],G=E[1];this.shape=[U,G];var q=(b?(U-1)*(G-1):U*G)*(x.length>>>1);this.numVertices=q;for(var H=o.mallocUint8(4*q),ne=o.mallocFloat32(2*q),te=o.mallocUint8(2*q),Z=o.mallocUint32(q),X=0,Q=b?U-1:U,re=b?G-1:G,ie=0;ie>8*W&255;this.pickOffset=x,L.bind();var j=L.uniforms;j.viewTransform=k,j.pickOffset=E,j.shape=this.shape;var $=L.attributes;return this.positionBuffer.bind(),$.position.pointer(),this.weightBuffer.bind(),$.weight.pointer(I.UNSIGNED_BYTE,!1),this.idBuffer.bind(),$.pickId.pointer(I.UNSIGNED_BYTE,!1),I.drawArrays(I.TRIANGLES,0,R),x+this.shape[0]*this.shape[1]}}}(),S.pick=function(k,E,x){var A=this.pickOffset,L=this.shape[0]*this.shape[1];if(x=A+L)return null;var b=x-A,R=this.xData,I=this.yData;return{object:this,pointId:b,dataCoord:[R[b%this.shape[0]],I[b/this.shape[0]|0]]}},S.update=function(k){var E=(k=k||{}).shape||[0,0],x=k.x||o(E[0]),A=k.y||o(E[1]),L=k.z||new Float32Array(E[0]*E[1]),b=k.zsmooth!==!1;this.xData=x,this.yData=A;var R,I,O,z,F=k.colorLevels||[0],B=k.colorValues||[0,0,0,1],N=F.length,W=this.bounds;b?(R=W[0]=x[0],I=W[1]=A[0],O=W[2]=x[x.length-1],z=W[3]=A[A.length-1]):(R=W[0]=x[0]+(x[1]-x[0])/2,I=W[1]=A[0]+(A[1]-A[0])/2,O=W[2]=x[x.length-1]+(x[x.length-1]-x[x.length-2])/2,z=W[3]=A[A.length-1]+(A[A.length-1]-A[A.length-2])/2);var j=1/(O-R),$=1/(z-I),U=E[0],G=E[1];this.shape=[U,G];var q=(b?(U-1)*(G-1):U*G)*(_.length>>>1);this.numVertices=q;for(var H=s.mallocUint8(4*q),ne=s.mallocFloat32(2*q),te=s.mallocUint8(2*q),Z=s.mallocUint32(q),X=0,Q=b?U-1:U,re=b?G-1:G,ie=0;ie0){for(var re=0;re<24;++re)F.push(F[F.length-12]);j+=2,H=!0}continue e}Y[0][O]=Math.min(Y[0][O],X[O],Q[O]),Y[1][O]=Math.max(Y[1][O],X[O],Q[O])}Array.isArray(G[0])?(ne=G.length>I-1?G[I-1]:G.length>0?G[G.length-1]:[0,0,0,1],te=G.length>I?G[I]:G.length>0?G[G.length-1]:[0,0,0,1]):ne=te=G,ne.length===3&&(ne=[ne[0],ne[1],ne[2],1]),te.length===3&&(te=[te[0],te[1],te[2],1]),!this.hasAlpha&&ne[3]<1&&(this.hasAlpha=!0),Z=Array.isArray(q)?q.length>I-1?q[I-1]:q.length>0?q[q.length-1]:[0,0,0,1]:q;var ie=W;if(W+=E(X,Q),H){for(O=0;O<2;++O)F.push(X[0],X[1],X[2],Q[0],Q[1],Q[2],ie,Z,ne[0],ne[1],ne[2],ne[3]);j+=2,H=!1}F.push(X[0],X[1],X[2],Q[0],Q[1],Q[2],ie,Z,ne[0],ne[1],ne[2],ne[3],X[0],X[1],X[2],Q[0],Q[1],Q[2],ie,-Z,ne[0],ne[1],ne[2],ne[3],Q[0],Q[1],Q[2],X[0],X[1],X[2],W,-Z,te[0],te[1],te[2],te[3],Q[0],Q[1],Q[2],X[0],X[1],X[2],W,Z,te[0],te[1],te[2],te[3]),j+=4}}if(this.buffer.update(F),B.push(W),N.push(U[U.length-1].slice()),this.bounds=Y,this.vertexCount=j,this.points=N,this.arcLength=B,"dashes"in R){var oe=R.dashes.slice();for(oe.unshift(0),I=1;I1.0001)return null;O+=I[_]}return Math.abs(O-1)>.001?null:[A,f(p,I),I]}},2056:function(h,l,a){var u=a(6832),s=u([`precision highp float; +}`]),m=[{name:"position",type:"vec3"},{name:"nextPosition",type:"vec3"},{name:"arcLength",type:"float"},{name:"lineWidth",type:"float"},{name:"color",type:"vec4"}];l.createShader=function(w){return o(w,s,c,null,m)},l.createPickShader=function(w){return o(w,s,h,null,m)}},6086:function(f,l,a){f.exports=function(R){var I=R.gl||R.scene&&R.scene.gl,O=S(I);O.attributes.position.location=0,O.attributes.nextPosition.location=1,O.attributes.arcLength.location=2,O.attributes.lineWidth.location=3,O.attributes.color.location=4;var z=_(I);z.attributes.position.location=0,z.attributes.nextPosition.location=1,z.attributes.arcLength.location=2,z.attributes.lineWidth.location=3,z.attributes.color.location=4;for(var F=u(I),B=o(I,[{buffer:F,size:3,offset:0,stride:48},{buffer:F,size:3,offset:12,stride:48},{buffer:F,size:1,offset:24,stride:48},{buffer:F,size:1,offset:28,stride:48},{buffer:F,size:4,offset:32,stride:48}]),N=w(new Array(1024),[256,1,4]),W=0;W<1024;++W)N.data[W]=255;var j=s(I,N);j.wrap=I.REPEAT;var $=new L(I,O,z,F,B,j);return $.update(R),$};var u=a(5827),o=a(2944),s=a(8931),c=new Uint8Array(4),h=new Float32Array(c.buffer),m=a(5070),w=a(5050),y=a(248),S=y.createShader,_=y.createPickShader,k=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function E(R,I){for(var O=0,z=0;z<3;++z){var F=R[z]-I[z];O+=F*F}return Math.sqrt(O)}function x(R){for(var I=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],O=0;O<3;++O)I[0][O]=Math.max(R[0][O],I[0][O]),I[1][O]=Math.min(R[1][O],I[1][O]);return I}function A(R,I,O,z){this.arcLength=R,this.position=I,this.index=O,this.dataCoordinate=z}function L(R,I,O,z,F,B){this.gl=R,this.shader=I,this.pickShader=O,this.buffer=z,this.vao=F,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.points=[],this.arcLength=[],this.vertexCount=0,this.bounds=[[0,0,0],[0,0,0]],this.pickId=0,this.lineWidth=1,this.texture=B,this.dashScale=1,this.opacity=1,this.hasAlpha=!1,this.dirty=!0,this.pixelRatio=1}var b=L.prototype;b.isTransparent=function(){return this.hasAlpha},b.isOpaque=function(){return!this.hasAlpha},b.pickSlots=1,b.setPickBase=function(R){this.pickId=R},b.drawTransparent=b.draw=function(R){if(this.vertexCount){var I=this.gl,O=this.shader,z=this.vao;O.bind(),O.uniforms={model:R.model||k,view:R.view||k,projection:R.projection||k,clipBounds:x(this.clipBounds),dashTexture:this.texture.bind(),dashScale:this.dashScale/this.arcLength[this.arcLength.length-1],opacity:this.opacity,screenShape:[I.drawingBufferWidth,I.drawingBufferHeight],pixelRatio:this.pixelRatio},z.bind(),z.draw(I.TRIANGLE_STRIP,this.vertexCount),z.unbind()}},b.drawPick=function(R){if(this.vertexCount){var I=this.gl,O=this.pickShader,z=this.vao;O.bind(),O.uniforms={model:R.model||k,view:R.view||k,projection:R.projection||k,pickId:this.pickId,clipBounds:x(this.clipBounds),screenShape:[I.drawingBufferWidth,I.drawingBufferHeight],pixelRatio:this.pixelRatio},z.bind(),z.draw(I.TRIANGLE_STRIP,this.vertexCount),z.unbind()}},b.update=function(R){var I,O;this.dirty=!0;var z=!!R.connectGaps;"dashScale"in R&&(this.dashScale=R.dashScale),this.hasAlpha=!1,"opacity"in R&&(this.opacity=+R.opacity,this.opacity<1&&(this.hasAlpha=!0));var F=[],B=[],N=[],W=0,j=0,$=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],U=R.position||R.positions;if(U){var G=R.color||R.colors||[0,0,0,1],q=R.lineWidth||1,H=!1;e:for(I=1;I0){for(var re=0;re<24;++re)F.push(F[F.length-12]);j+=2,H=!0}continue e}$[0][O]=Math.min($[0][O],X[O],Q[O]),$[1][O]=Math.max($[1][O],X[O],Q[O])}Array.isArray(G[0])?(ne=G.length>I-1?G[I-1]:G.length>0?G[G.length-1]:[0,0,0,1],te=G.length>I?G[I]:G.length>0?G[G.length-1]:[0,0,0,1]):ne=te=G,ne.length===3&&(ne=[ne[0],ne[1],ne[2],1]),te.length===3&&(te=[te[0],te[1],te[2],1]),!this.hasAlpha&&ne[3]<1&&(this.hasAlpha=!0),Z=Array.isArray(q)?q.length>I-1?q[I-1]:q.length>0?q[q.length-1]:[0,0,0,1]:q;var ie=W;if(W+=E(X,Q),H){for(O=0;O<2;++O)F.push(X[0],X[1],X[2],Q[0],Q[1],Q[2],ie,Z,ne[0],ne[1],ne[2],ne[3]);j+=2,H=!1}F.push(X[0],X[1],X[2],Q[0],Q[1],Q[2],ie,Z,ne[0],ne[1],ne[2],ne[3],X[0],X[1],X[2],Q[0],Q[1],Q[2],ie,-Z,ne[0],ne[1],ne[2],ne[3],Q[0],Q[1],Q[2],X[0],X[1],X[2],W,-Z,te[0],te[1],te[2],te[3],Q[0],Q[1],Q[2],X[0],X[1],X[2],W,Z,te[0],te[1],te[2],te[3]),j+=4}}if(this.buffer.update(F),B.push(W),N.push(U[U.length-1].slice()),this.bounds=$,this.vertexCount=j,this.points=N,this.arcLength=B,"dashes"in R){var oe=R.dashes.slice();for(oe.unshift(0),I=1;I1.0001)return null;O+=I[x]}return Math.abs(O-1)>.001?null:[A,h(m,I),I]}},2056:function(f,l,a){var u=a(6832),o=u([`precision highp float; #define GLSLIFY 1 attribute vec3 position, normal; @@ -1060,7 +1060,7 @@ void main() { f_data = position; f_uv = uv; } -`]),o=u([`#extension GL_OES_standard_derivatives : enable +`]),s=u([`#extension GL_OES_standard_derivatives : enable precision highp float; #define GLSLIFY 1 @@ -1183,7 +1183,7 @@ void main() { f_color = color; f_data = position; f_uv = uv; -}`]),f=u([`precision highp float; +}`]),h=u([`precision highp float; #define GLSLIFY 1 bool outOfRange(float a, float b, float p) { @@ -1218,7 +1218,7 @@ void main() { if (outOfRange(clipBounds[0], clipBounds[1], f_data)) discard; gl_FragColor = f_color * texture2D(texture, f_uv) * opacity; -}`]),p=u([`precision highp float; +}`]),m=u([`precision highp float; #define GLSLIFY 1 bool outOfRange(float a, float b, float p) { @@ -1277,7 +1277,7 @@ void main() { discard; } gl_FragColor = f_color * texture2D(texture, f_uv) * opacity; -}`]),g=u([`precision highp float; +}`]),y=u([`precision highp float; #define GLSLIFY 1 attribute vec3 position; @@ -1325,7 +1325,7 @@ void main() { if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard; gl_FragColor = vec4(pickId, f_id.xyz); -}`]),x=u([`precision highp float; +}`]),_=u([`precision highp float; #define GLSLIFY 1 bool outOfRange(float a, float b, float p) { @@ -1368,7 +1368,7 @@ void main() { } f_id = id; f_position = position; -}`]),T=u([`precision highp float; +}`]),k=u([`precision highp float; #define GLSLIFY 1 attribute vec3 position; @@ -1385,13 +1385,13 @@ uniform vec3 contourColor; void main() { gl_FragColor = vec4(contourColor, 1.0); } -`]);l.meshShader={vertex:s,fragment:o,attributes:[{name:"position",type:"vec3"},{name:"normal",type:"vec3"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"}]},l.wireShader={vertex:c,fragment:f,attributes:[{name:"position",type:"vec3"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"}]},l.pointShader={vertex:p,fragment:w,attributes:[{name:"position",type:"vec3"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"},{name:"pointSize",type:"float"}]},l.pickShader={vertex:g,fragment:S,attributes:[{name:"position",type:"vec3"},{name:"id",type:"vec4"}]},l.pointPickShader={vertex:x,fragment:S,attributes:[{name:"position",type:"vec3"},{name:"pointSize",type:"float"},{name:"id",type:"vec4"}]},l.contourShader={vertex:T,fragment:E,attributes:[{name:"position",type:"vec3"}]}},8116:function(h,l,a){var u=a(5158),s=a(5827),o=a(2944),c=a(8931),f=a(115),p=a(104),w=a(7437),g=a(5050),S=a(9156),x=a(7212),T=a(5306),E=a(2056),_=a(4340),A=E.meshShader,L=E.wireShader,b=E.pointShader,R=E.pickShader,I=E.pointPickShader,O=E.contourShader,z=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function F(H,ne,te,Z,X,Q,re,ie,oe,ue,ce,ye,de,me,pe,xe,Pe,_e,Me,Se,Ce,ae,he,be,ke,Le,Be){this.gl=H,this.pixelRatio=1,this.cells=[],this.positions=[],this.intensity=[],this.texture=ne,this.dirty=!0,this.triShader=te,this.lineShader=Z,this.pointShader=X,this.pickShader=Q,this.pointPickShader=re,this.contourShader=ie,this.trianglePositions=oe,this.triangleColors=ce,this.triangleNormals=de,this.triangleUVs=ye,this.triangleIds=ue,this.triangleVAO=me,this.triangleCount=0,this.lineWidth=1,this.edgePositions=pe,this.edgeColors=Pe,this.edgeUVs=_e,this.edgeIds=xe,this.edgeVAO=Me,this.edgeCount=0,this.pointPositions=Se,this.pointColors=ae,this.pointUVs=he,this.pointSizes=be,this.pointIds=Ce,this.pointVAO=ke,this.pointCount=0,this.contourLineWidth=1,this.contourPositions=Le,this.contourVAO=Be,this.contourCount=0,this.contourColor=[0,0,0],this.contourEnable=!0,this.pickVertex=!0,this.pickId=1,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.lightPosition=[1e5,1e5,0],this.ambientLight=.8,this.diffuseLight=.8,this.specularLight=2,this.roughness=.5,this.fresnel=1.5,this.opacity=1,this.hasAlpha=!1,this.opacityscale=!1,this._model=z,this._view=z,this._projection=z,this._resolution=[1,1]}var B=F.prototype;function N(H,ne){if(!ne||!ne.length)return 1;for(var te=0;teH&&te>0){var Z=(ne[te][0]-H)/(ne[te][0]-ne[te-1][0]);return ne[te][1]*(1-Z)+Z*ne[te-1][1]}}return 1}function W(H){var ne=u(H,A.vertex,A.fragment);return ne.attributes.position.location=0,ne.attributes.color.location=2,ne.attributes.uv.location=3,ne.attributes.normal.location=4,ne}function j(H){var ne=u(H,L.vertex,L.fragment);return ne.attributes.position.location=0,ne.attributes.color.location=2,ne.attributes.uv.location=3,ne}function Y(H){var ne=u(H,b.vertex,b.fragment);return ne.attributes.position.location=0,ne.attributes.color.location=2,ne.attributes.uv.location=3,ne.attributes.pointSize.location=4,ne}function U(H){var ne=u(H,R.vertex,R.fragment);return ne.attributes.position.location=0,ne.attributes.id.location=1,ne}function G(H){var ne=u(H,I.vertex,I.fragment);return ne.attributes.position.location=0,ne.attributes.id.location=1,ne.attributes.pointSize.location=4,ne}function q(H){var ne=u(H,O.vertex,O.fragment);return ne.attributes.position.location=0,ne}B.isOpaque=function(){return!this.hasAlpha},B.isTransparent=function(){return this.hasAlpha},B.pickSlots=1,B.setPickBase=function(H){this.pickId=H},B.highlight=function(H){if(H&&this.contourEnable){for(var ne=x(this.cells,this.intensity,H.intensity),te=ne.cells,Z=ne.vertexIds,X=ne.vertexWeights,Q=te.length,re=T.mallocFloat32(6*Q),ie=0,oe=0;oe0&&((ue=this.triShader).bind(),ue.uniforms=ie,this.triangleVAO.bind(),ne.drawArrays(ne.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind()),this.edgeCount>0&&this.lineWidth>0&&((ue=this.lineShader).bind(),ue.uniforms=ie,this.edgeVAO.bind(),ne.lineWidth(this.lineWidth*this.pixelRatio),ne.drawArrays(ne.LINES,0,2*this.edgeCount),this.edgeVAO.unbind()),this.pointCount>0&&((ue=this.pointShader).bind(),ue.uniforms=ie,this.pointVAO.bind(),ne.drawArrays(ne.POINTS,0,this.pointCount),this.pointVAO.unbind()),this.contourEnable&&this.contourCount>0&&this.contourLineWidth>0&&((ue=this.contourShader).bind(),ue.uniforms=ie,this.contourVAO.bind(),ne.drawArrays(ne.LINES,0,this.contourCount),this.contourVAO.unbind())},B.drawPick=function(H){H=H||{};for(var ne=this.gl,te=H.model||z,Z=H.view||z,X=H.projection||z,Q=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],re=0;re<3;++re)Q[0][re]=Math.max(Q[0][re],this.clipBounds[0][re]),Q[1][re]=Math.min(Q[1][re],this.clipBounds[1][re]);this._model=[].slice.call(te),this._view=[].slice.call(Z),this._projection=[].slice.call(X),this._resolution=[ne.drawingBufferWidth,ne.drawingBufferHeight];var ie,oe={model:te,view:Z,projection:X,clipBounds:Q,pickId:this.pickId/255};(ie=this.pickShader).bind(),ie.uniforms=oe,this.triangleCount>0&&(this.triangleVAO.bind(),ne.drawArrays(ne.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind()),this.edgeCount>0&&(this.edgeVAO.bind(),ne.lineWidth(this.lineWidth*this.pixelRatio),ne.drawArrays(ne.LINES,0,2*this.edgeCount),this.edgeVAO.unbind()),this.pointCount>0&&((ie=this.pointPickShader).bind(),ie.uniforms=oe,this.pointVAO.bind(),ne.drawArrays(ne.POINTS,0,this.pointCount),this.pointVAO.unbind())},B.pick=function(H){if(!H||H.id!==this.pickId)return null;for(var ne=H.value[0]+256*H.value[1]+65536*H.value[2],te=this.cells[ne],Z=this.positions,X=new Array(te.length),Q=0;QH&&te>0){var Z=(ne[te][0]-H)/(ne[te][0]-ne[te-1][0]);return ne[te][1]*(1-Z)+Z*ne[te-1][1]}}return 1}function W(H){var ne=u(H,A.vertex,A.fragment);return ne.attributes.position.location=0,ne.attributes.color.location=2,ne.attributes.uv.location=3,ne.attributes.normal.location=4,ne}function j(H){var ne=u(H,L.vertex,L.fragment);return ne.attributes.position.location=0,ne.attributes.color.location=2,ne.attributes.uv.location=3,ne}function $(H){var ne=u(H,b.vertex,b.fragment);return ne.attributes.position.location=0,ne.attributes.color.location=2,ne.attributes.uv.location=3,ne.attributes.pointSize.location=4,ne}function U(H){var ne=u(H,R.vertex,R.fragment);return ne.attributes.position.location=0,ne.attributes.id.location=1,ne}function G(H){var ne=u(H,I.vertex,I.fragment);return ne.attributes.position.location=0,ne.attributes.id.location=1,ne.attributes.pointSize.location=4,ne}function q(H){var ne=u(H,O.vertex,O.fragment);return ne.attributes.position.location=0,ne}B.isOpaque=function(){return!this.hasAlpha},B.isTransparent=function(){return this.hasAlpha},B.pickSlots=1,B.setPickBase=function(H){this.pickId=H},B.highlight=function(H){if(H&&this.contourEnable){for(var ne=_(this.cells,this.intensity,H.intensity),te=ne.cells,Z=ne.vertexIds,X=ne.vertexWeights,Q=te.length,re=k.mallocFloat32(6*Q),ie=0,oe=0;oe0&&((ue=this.triShader).bind(),ue.uniforms=ie,this.triangleVAO.bind(),ne.drawArrays(ne.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind()),this.edgeCount>0&&this.lineWidth>0&&((ue=this.lineShader).bind(),ue.uniforms=ie,this.edgeVAO.bind(),ne.lineWidth(this.lineWidth*this.pixelRatio),ne.drawArrays(ne.LINES,0,2*this.edgeCount),this.edgeVAO.unbind()),this.pointCount>0&&((ue=this.pointShader).bind(),ue.uniforms=ie,this.pointVAO.bind(),ne.drawArrays(ne.POINTS,0,this.pointCount),this.pointVAO.unbind()),this.contourEnable&&this.contourCount>0&&this.contourLineWidth>0&&((ue=this.contourShader).bind(),ue.uniforms=ie,this.contourVAO.bind(),ne.drawArrays(ne.LINES,0,this.contourCount),this.contourVAO.unbind())},B.drawPick=function(H){H=H||{};for(var ne=this.gl,te=H.model||z,Z=H.view||z,X=H.projection||z,Q=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],re=0;re<3;++re)Q[0][re]=Math.max(Q[0][re],this.clipBounds[0][re]),Q[1][re]=Math.min(Q[1][re],this.clipBounds[1][re]);this._model=[].slice.call(te),this._view=[].slice.call(Z),this._projection=[].slice.call(X),this._resolution=[ne.drawingBufferWidth,ne.drawingBufferHeight];var ie,oe={model:te,view:Z,projection:X,clipBounds:Q,pickId:this.pickId/255};(ie=this.pickShader).bind(),ie.uniforms=oe,this.triangleCount>0&&(this.triangleVAO.bind(),ne.drawArrays(ne.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind()),this.edgeCount>0&&(this.edgeVAO.bind(),ne.lineWidth(this.lineWidth*this.pixelRatio),ne.drawArrays(ne.LINES,0,2*this.edgeCount),this.edgeVAO.unbind()),this.pointCount>0&&((ie=this.pointPickShader).bind(),ie.uniforms=oe,this.pointVAO.bind(),ne.drawArrays(ne.POINTS,0,this.pointCount),this.pointVAO.unbind())},B.pick=function(H){if(!H||H.id!==this.pickId)return null;for(var ne=H.value[0]+256*H.value[1]+65536*H.value[2],te=this.cells[ne],Z=this.positions,X=new Array(te.length),Q=0;QI[X]&&(b.uniforms.dataAxis=w,b.uniforms.screenOffset=g,b.uniforms.color=Y[A],b.uniforms.angle=U[A],O.drawArrays(O.TRIANGLES,I[X],I[Q]-I[X]))),G[A]&&Z&&(g[1^A]-=re*N*q[A],b.uniforms.dataAxis=S,b.uniforms.screenOffset=g,b.uniforms.color=H[A],b.uniforms.angle=ne[A],O.drawArrays(O.TRIANGLES,te,Z)),g[1^A]=re*z[2+(1^A)]-1,W[A+2]&&(g[1^A]+=re*N*j[A+2],XI[X]&&(b.uniforms.dataAxis=w,b.uniforms.screenOffset=g,b.uniforms.color=Y[A+2],b.uniforms.angle=U[A+2],O.drawArrays(O.TRIANGLES,I[X],I[Q]-I[X]))),G[A+2]&&Z&&(g[1^A]+=re*N*q[A+2],b.uniforms.dataAxis=S,b.uniforms.screenOffset=g,b.uniforms.color=H[A+2],b.uniforms.angle=ne[A+2],O.drawArrays(O.TRIANGLES,te,Z))}),_.drawTitle=function(){var A=[0,0],L=[0,0];return function(){var b=this.plot,R=this.shader,I=b.gl,O=b.screenBox,z=b.titleCenter,F=b.titleAngle,B=b.titleColor,N=b.pixelRatio;if(this.titleCount){for(var W=0;W<2;++W)L[W]=2*(z[W]*N-O[W])/(O[2+W]-O[W])-1;R.bind(),R.uniforms.dataAxis=A,R.uniforms.screenOffset=L,R.uniforms.angle=F,R.uniforms.color=B,I.drawArrays(I.TRIANGLES,this.titleOffset,this.titleCount)}}}(),_.bind=(x=[0,0],T=[0,0],E=[0,0],function(){var A=this.plot,L=this.shader,b=A._tickBounds,R=A.dataBox,I=A.screenBox,O=A.viewBox;L.bind();for(var z=0;z<2;++z){var F=b[z],B=b[z+2]-F,N=.5*(R[z+2]+R[z]),W=R[z+2]-R[z],j=O[z],Y=O[z+2]-j,U=I[z],G=I[z+2]-U;T[z]=2*B/W*Y/G,x[z]=2*(F-N)/W*Y/G}E[1]=2*A.pixelRatio/(I[3]-I[1]),E[0]=E[1]*(I[3]-I[1])/(I[2]-I[0]),L.uniforms.dataScale=T,L.uniforms.dataShift=x,L.uniforms.textScale=E,this.vbo.bind(),L.attributes.textCoordinate.pointer()}),_.update=function(A){var L,b,R,I,O,z=[],F=A.ticks,B=A.bounds;for(O=0;O<2;++O){var N=[Math.floor(z.length/3)],W=[-1/0],j=F[O];for(L=0;L=0){var j=T[W]-_[W]*(T[W+2]-T[W])/(_[W+2]-_[W]);W===0?b.drawLine(j,T[1],j,T[3],N[W],B[W]):b.drawLine(T[0],j,T[2],j,N[W],B[W])}}for(W=0;W=0;--x)this.objects[x].dispose();for(this.objects.length=0,x=this.overlays.length-1;x>=0;--x)this.overlays[x].dispose();this.overlays.length=0,this.gl=null},w.addObject=function(x){this.objects.indexOf(x)<0&&(this.objects.push(x),this.setDirty())},w.removeObject=function(x){for(var T=this.objects,E=0;EMath.abs(I))x.rotate(F,0,0,-R*O*Math.PI*L.rotateSpeed/window.innerWidth);else if(!L._ortho){var B=-L.zoomSpeed*z*I/window.innerHeight*(F-x.lastT())/20;x.pan(F,0,0,E*(Math.exp(B)-1))}}},!0)},L.enableMouseListeners(),L};var u=a(8161),s=a(1152),o=a(6145),c=a(6475),f=a(2565),p=a(5233)},8245:function(h,l,a){var u=a(6832),s=a(5158),o=u([`precision mediump float; +`])}},5613:function(f,l,a){f.exports=function(A){var L=A.gl;return new m(A,u(L),o(L,h.textVert,h.textFrag))};var u=a(5827),o=a(5158),s=a(6946),c=a(5070),h=a(2709);function m(A,L,b){this.plot=A,this.vbo=L,this.shader=b,this.tickOffset=[[],[]],this.tickX=[[],[]],this.labelOffset=[0,0],this.labelCount=[0,0]}var w,y,S,_,k,E,x=m.prototype;x.drawTicks=(w=[0,0],y=[0,0],S=[0,0],function(A){var L=this.plot,b=this.shader,R=this.tickX[A],I=this.tickOffset[A],O=L.gl,z=L.viewBox,F=L.dataBox,B=L.screenBox,N=L.pixelRatio,W=L.tickEnable,j=L.tickPad,$=L.tickColor,U=L.tickAngle,G=L.labelEnable,q=L.labelPad,H=L.labelColor,ne=L.labelAngle,te=this.labelOffset[A],Z=this.labelCount[A],X=c.lt(R,F[A]),Q=c.le(R,F[A+2]);w[0]=w[1]=0,w[A]=1,y[A]=(z[2+A]+z[A])/(B[2+A]-B[A])-1;var re=2/B[2+(1^A)]-B[1^A];y[1^A]=re*z[1^A]-1,W[A]&&(y[1^A]-=re*N*j[A],XI[X]&&(b.uniforms.dataAxis=w,b.uniforms.screenOffset=y,b.uniforms.color=$[A],b.uniforms.angle=U[A],O.drawArrays(O.TRIANGLES,I[X],I[Q]-I[X]))),G[A]&&Z&&(y[1^A]-=re*N*q[A],b.uniforms.dataAxis=S,b.uniforms.screenOffset=y,b.uniforms.color=H[A],b.uniforms.angle=ne[A],O.drawArrays(O.TRIANGLES,te,Z)),y[1^A]=re*z[2+(1^A)]-1,W[A+2]&&(y[1^A]+=re*N*j[A+2],XI[X]&&(b.uniforms.dataAxis=w,b.uniforms.screenOffset=y,b.uniforms.color=$[A+2],b.uniforms.angle=U[A+2],O.drawArrays(O.TRIANGLES,I[X],I[Q]-I[X]))),G[A+2]&&Z&&(y[1^A]+=re*N*q[A+2],b.uniforms.dataAxis=S,b.uniforms.screenOffset=y,b.uniforms.color=H[A+2],b.uniforms.angle=ne[A+2],O.drawArrays(O.TRIANGLES,te,Z))}),x.drawTitle=function(){var A=[0,0],L=[0,0];return function(){var b=this.plot,R=this.shader,I=b.gl,O=b.screenBox,z=b.titleCenter,F=b.titleAngle,B=b.titleColor,N=b.pixelRatio;if(this.titleCount){for(var W=0;W<2;++W)L[W]=2*(z[W]*N-O[W])/(O[2+W]-O[W])-1;R.bind(),R.uniforms.dataAxis=A,R.uniforms.screenOffset=L,R.uniforms.angle=F,R.uniforms.color=B,I.drawArrays(I.TRIANGLES,this.titleOffset,this.titleCount)}}}(),x.bind=(_=[0,0],k=[0,0],E=[0,0],function(){var A=this.plot,L=this.shader,b=A._tickBounds,R=A.dataBox,I=A.screenBox,O=A.viewBox;L.bind();for(var z=0;z<2;++z){var F=b[z],B=b[z+2]-F,N=.5*(R[z+2]+R[z]),W=R[z+2]-R[z],j=O[z],$=O[z+2]-j,U=I[z],G=I[z+2]-U;k[z]=2*B/W*$/G,_[z]=2*(F-N)/W*$/G}E[1]=2*A.pixelRatio/(I[3]-I[1]),E[0]=E[1]*(I[3]-I[1])/(I[2]-I[0]),L.uniforms.dataScale=k,L.uniforms.dataShift=_,L.uniforms.textScale=E,this.vbo.bind(),L.attributes.textCoordinate.pointer()}),x.update=function(A){var L,b,R,I,O,z=[],F=A.ticks,B=A.bounds;for(O=0;O<2;++O){var N=[Math.floor(z.length/3)],W=[-1/0],j=F[O];for(L=0;L=0){var j=k[W]-x[W]*(k[W+2]-k[W])/(x[W+2]-x[W]);W===0?b.drawLine(j,k[1],j,k[3],N[W],B[W]):b.drawLine(k[0],j,k[2],j,N[W],B[W])}}for(W=0;W=0;--_)this.objects[_].dispose();for(this.objects.length=0,_=this.overlays.length-1;_>=0;--_)this.overlays[_].dispose();this.overlays.length=0,this.gl=null},w.addObject=function(_){this.objects.indexOf(_)<0&&(this.objects.push(_),this.setDirty())},w.removeObject=function(_){for(var k=this.objects,E=0;EMath.abs(I))_.rotate(F,0,0,-R*O*Math.PI*L.rotateSpeed/window.innerWidth);else if(!L._ortho){var B=-L.zoomSpeed*z*I/window.innerHeight*(F-_.lastT())/20;_.pan(F,0,0,E*(Math.exp(B)-1))}}},!0)},L.enableMouseListeners(),L};var u=a(8161),o=a(1152),s=a(6145),c=a(6475),h=a(2565),m=a(5233)},8245:function(f,l,a){var u=a(6832),o=a(5158),s=u([`precision mediump float; #define GLSLIFY 1 attribute vec2 position; varying vec2 uv; @@ -1483,7 +1483,7 @@ varying vec2 uv; void main() { vec4 accum = texture2D(accumBuffer, 0.5 * (uv + 1.0)); gl_FragColor = min(vec4(1,1,1,1), accum); -}`]);h.exports=function(f){return s(f,o,c,null,[{name:"position",type:"vec2"}])}},1059:function(h,l,a){var u=a(4296),s=a(7453),o=a(2771),c=a(6496),f=a(2611),p=a(4234),w=a(8126),g=a(6145),S=a(1120),x=a(5268),T=a(8245),E=a(2321)({tablet:!0,featureDetect:!0});function _(){this.mouse=[-1,-1],this.screen=null,this.distance=1/0,this.index=null,this.dataCoordinate=null,this.dataPosition=null,this.object=null,this.data=null}function A(b){var R=Math.round(Math.log(Math.abs(b))/Math.log(10));if(R<0){var I=Math.round(Math.pow(10,-R));return Math.ceil(b*I)/I}return R>0?(I=Math.round(Math.pow(10,R)),Math.ceil(b/I)*I):Math.ceil(b)}function L(b){return typeof b!="boolean"||b}h.exports={createScene:function(b){(b=b||{}).camera=b.camera||{};var R=b.canvas;R||(R=document.createElement("canvas"),b.container?b.container.appendChild(R):document.body.appendChild(R));var I=b.gl;if(I||(b.glOptions&&(E=!!b.glOptions.preserveDrawingBuffer),I=function(Pe,_e){var Me=null;try{(Me=Pe.getContext("webgl",_e))||(Me=Pe.getContext("experimental-webgl",_e))}catch{return null}return Me}(R,b.glOptions||{premultipliedAlpha:!0,antialias:!0,preserveDrawingBuffer:E})),!I)throw new Error("webgl not supported");var O=b.bounds||[[-10,-10,-10],[10,10,10]],z=new _,F=p(I,I.drawingBufferWidth,I.drawingBufferHeight,{preferFloat:!E}),B=T(I),N=b.cameraObject&&b.cameraObject._ortho===!0||b.camera.projection&&b.camera.projection.type==="orthographic"||!1,W={eye:b.camera.eye||[2,0,0],center:b.camera.center||[0,0,0],up:b.camera.up||[0,1,0],zoomMin:b.camera.zoomMax||.1,zoomMax:b.camera.zoomMin||100,mode:b.camera.mode||"turntable",_ortho:N},j=b.axes||{},Y=s(I,j);Y.enable=!j.disable;var U=b.spikes||{},G=c(I,U),q=[],H=[],ne=[],te=[],Z=!0,X=!0,Q={view:null,projection:new Array(16),model:new Array(16),_ortho:!1},re=(X=!0,[I.drawingBufferWidth,I.drawingBufferHeight]),ie=b.cameraObject||u(R,W),oe={gl:I,contextLost:!1,pixelRatio:b.pixelRatio||1,canvas:R,selection:z,camera:ie,axes:Y,axesPixels:null,spikes:G,bounds:O,objects:q,shape:re,aspect:b.aspectRatio||[1,1,1],pickRadius:b.pickRadius||10,zNear:b.zNear||.01,zFar:b.zFar||1e3,fovy:b.fovy||Math.PI/4,clearColor:b.clearColor||[0,0,0,0],autoResize:L(b.autoResize),autoBounds:L(b.autoBounds),autoScale:!!b.autoScale,autoCenter:L(b.autoCenter),clipToBounds:L(b.clipToBounds),snapToData:!!b.snapToData,onselect:b.onselect||null,onrender:b.onrender||null,onclick:b.onclick||null,cameraParams:Q,oncontextloss:null,mouseListener:null,_stopped:!1,getAspectratio:function(){return{x:this.aspect[0],y:this.aspect[1],z:this.aspect[2]}},setAspectratio:function(Pe){this.aspect[0]=Pe.x,this.aspect[1]=Pe.y,this.aspect[2]=Pe.z,X=!0},setBounds:function(Pe,_e){this.bounds[0][Pe]=_e.min,this.bounds[1][Pe]=_e.max},setClearColor:function(Pe){this.clearColor=Pe},clearRGBA:function(){this.gl.clearColor(this.clearColor[0],this.clearColor[1],this.clearColor[2],this.clearColor[3]),this.gl.clear(this.gl.COLOR_BUFFER_BIT|this.gl.DEPTH_BUFFER_BIT)}},ue=[I.drawingBufferWidth/oe.pixelRatio|0,I.drawingBufferHeight/oe.pixelRatio|0];function ce(){if(!oe._stopped&&oe.autoResize){var Pe=R.parentNode,_e=1,Me=1;Pe&&Pe!==document.body?(_e=Pe.clientWidth,Me=Pe.clientHeight):(_e=window.innerWidth,Me=window.innerHeight);var Se=0|Math.ceil(_e*oe.pixelRatio),Ce=0|Math.ceil(Me*oe.pixelRatio);if(Se!==R.width||Ce!==R.height){R.width=Se,R.height=Ce;var ae=R.style;ae.position=ae.position||"absolute",ae.left="0px",ae.top="0px",ae.width=_e+"px",ae.height=Me+"px",Z=!0}}}function ye(){for(var Pe=q.length,_e=te.length,Me=0;Me<_e;++Me)ne[Me]=0;e:for(Me=0;Me0&&ne[_e-1]===0;)ne.pop(),te.pop().dispose()}function de(){if(oe.contextLost)return!0;I.isContextLost()&&(oe.contextLost=!0,oe.mouseListener.enabled=!1,oe.selection.object=null,oe.oncontextloss&&oe.oncontextloss())}oe.autoResize&&ce(),window.addEventListener("resize",ce),oe.update=function(Pe){oe._stopped||(Z=!0,X=!0)},oe.add=function(Pe){oe._stopped||(Pe.axes=Y,q.push(Pe),H.push(-1),Z=!0,X=!0,ye())},oe.remove=function(Pe){if(!oe._stopped){var _e=q.indexOf(Pe);_e<0||(q.splice(_e,1),H.pop(),Z=!0,X=!0,ye())}},oe.dispose=function(){if(!oe._stopped&&(oe._stopped=!0,window.removeEventListener("resize",ce),R.removeEventListener("webglcontextlost",de),oe.mouseListener.enabled=!1,!oe.contextLost)){Y.dispose(),G.dispose();for(var Pe=0;Pez.distance)continue;for(var Le=0;Le0?(I=Math.round(Math.pow(10,R)),Math.ceil(b/I)*I):Math.ceil(b)}function L(b){return typeof b!="boolean"||b}f.exports={createScene:function(b){(b=b||{}).camera=b.camera||{};var R=b.canvas;R||(R=document.createElement("canvas"),b.container?b.container.appendChild(R):document.body.appendChild(R));var I=b.gl;if(I||(b.glOptions&&(E=!!b.glOptions.preserveDrawingBuffer),I=function(Pe,_e){var Me=null;try{(Me=Pe.getContext("webgl",_e))||(Me=Pe.getContext("experimental-webgl",_e))}catch{return null}return Me}(R,b.glOptions||{premultipliedAlpha:!0,antialias:!0,preserveDrawingBuffer:E})),!I)throw new Error("webgl not supported");var O=b.bounds||[[-10,-10,-10],[10,10,10]],z=new x,F=m(I,I.drawingBufferWidth,I.drawingBufferHeight,{preferFloat:!E}),B=k(I),N=b.cameraObject&&b.cameraObject._ortho===!0||b.camera.projection&&b.camera.projection.type==="orthographic"||!1,W={eye:b.camera.eye||[2,0,0],center:b.camera.center||[0,0,0],up:b.camera.up||[0,1,0],zoomMin:b.camera.zoomMax||.1,zoomMax:b.camera.zoomMin||100,mode:b.camera.mode||"turntable",_ortho:N},j=b.axes||{},$=o(I,j);$.enable=!j.disable;var U=b.spikes||{},G=c(I,U),q=[],H=[],ne=[],te=[],Z=!0,X=!0,Q={view:null,projection:new Array(16),model:new Array(16),_ortho:!1},re=(X=!0,[I.drawingBufferWidth,I.drawingBufferHeight]),ie=b.cameraObject||u(R,W),oe={gl:I,contextLost:!1,pixelRatio:b.pixelRatio||1,canvas:R,selection:z,camera:ie,axes:$,axesPixels:null,spikes:G,bounds:O,objects:q,shape:re,aspect:b.aspectRatio||[1,1,1],pickRadius:b.pickRadius||10,zNear:b.zNear||.01,zFar:b.zFar||1e3,fovy:b.fovy||Math.PI/4,clearColor:b.clearColor||[0,0,0,0],autoResize:L(b.autoResize),autoBounds:L(b.autoBounds),autoScale:!!b.autoScale,autoCenter:L(b.autoCenter),clipToBounds:L(b.clipToBounds),snapToData:!!b.snapToData,onselect:b.onselect||null,onrender:b.onrender||null,onclick:b.onclick||null,cameraParams:Q,oncontextloss:null,mouseListener:null,_stopped:!1,getAspectratio:function(){return{x:this.aspect[0],y:this.aspect[1],z:this.aspect[2]}},setAspectratio:function(Pe){this.aspect[0]=Pe.x,this.aspect[1]=Pe.y,this.aspect[2]=Pe.z,X=!0},setBounds:function(Pe,_e){this.bounds[0][Pe]=_e.min,this.bounds[1][Pe]=_e.max},setClearColor:function(Pe){this.clearColor=Pe},clearRGBA:function(){this.gl.clearColor(this.clearColor[0],this.clearColor[1],this.clearColor[2],this.clearColor[3]),this.gl.clear(this.gl.COLOR_BUFFER_BIT|this.gl.DEPTH_BUFFER_BIT)}},ue=[I.drawingBufferWidth/oe.pixelRatio|0,I.drawingBufferHeight/oe.pixelRatio|0];function ce(){if(!oe._stopped&&oe.autoResize){var Pe=R.parentNode,_e=1,Me=1;Pe&&Pe!==document.body?(_e=Pe.clientWidth,Me=Pe.clientHeight):(_e=window.innerWidth,Me=window.innerHeight);var Se=0|Math.ceil(_e*oe.pixelRatio),Ce=0|Math.ceil(Me*oe.pixelRatio);if(Se!==R.width||Ce!==R.height){R.width=Se,R.height=Ce;var ae=R.style;ae.position=ae.position||"absolute",ae.left="0px",ae.top="0px",ae.width=_e+"px",ae.height=Me+"px",Z=!0}}}function ye(){for(var Pe=q.length,_e=te.length,Me=0;Me<_e;++Me)ne[Me]=0;e:for(Me=0;Me0&&ne[_e-1]===0;)ne.pop(),te.pop().dispose()}function de(){if(oe.contextLost)return!0;I.isContextLost()&&(oe.contextLost=!0,oe.mouseListener.enabled=!1,oe.selection.object=null,oe.oncontextloss&&oe.oncontextloss())}oe.autoResize&&ce(),window.addEventListener("resize",ce),oe.update=function(Pe){oe._stopped||(Z=!0,X=!0)},oe.add=function(Pe){oe._stopped||(Pe.axes=$,q.push(Pe),H.push(-1),Z=!0,X=!0,ye())},oe.remove=function(Pe){if(!oe._stopped){var _e=q.indexOf(Pe);_e<0||(q.splice(_e,1),H.pop(),Z=!0,X=!0,ye())}},oe.dispose=function(){if(!oe._stopped&&(oe._stopped=!0,window.removeEventListener("resize",ce),R.removeEventListener("webglcontextlost",de),oe.mouseListener.enabled=!1,!oe.contextLost)){$.dispose(),G.dispose();for(var Pe=0;Pez.distance)continue;for(var Le=0;Le>>1,_=S.positions instanceof Float32Array,A=S.idToIndex instanceof Int32Array&&S.idToIndex.length>=E,L=S.positions,b=_?L:o.mallocFloat32(L.length),R=A?S.idToIndex:o.mallocInt32(E);if(_||b.set(L),!A)for(b.set(L),x=0;x>>1;for(B=0;B=F[0]&&j<=F[2]&&Y>=F[1]&&Y<=F[3]&&N++}return N}(this.points,_),R=this.plot.pickPixelRatio*Math.max(Math.min(this.sizeMinCap,this.sizeMin),Math.min(this.sizeMax,this.sizeMax/Math.pow(b,.33333)));p[0]=2/A,p[4]=2/L,p[6]=-2*_[0]/A-1,p[7]=-2*_[1]/L-1,this.offsetBuffer.bind(),T.bind(),T.attributes.position.pointer(),T.uniforms.matrix=p,T.uniforms.color=this.color,T.uniforms.borderColor=this.borderColor,T.uniforms.pointCloud=R<5,T.uniforms.pointSize=R,T.uniforms.centerFraction=Math.min(1,Math.max(0,Math.sqrt(1-this.areaRatio))),x&&(w[0]=255&S,w[1]=S>>8&255,w[2]=S>>16&255,w[3]=S>>24&255,this.pickBuffer.bind(),T.attributes.pickId.pointer(E.UNSIGNED_BYTE),T.uniforms.pickOffset=w,this.pickOffset=S);var I=E.getParameter(E.BLEND),O=E.getParameter(E.DITHER);return I&&!this.blend&&E.disable(E.BLEND),O&&E.disable(E.DITHER),E.drawArrays(E.POINTS,0,this.pointCount),I&&!this.blend&&E.enable(E.BLEND),O&&E.enable(E.DITHER),S+this.pointCount}),g.draw=g.unifiedDraw,g.drawPick=g.unifiedDraw,g.pick=function(S,x,T){var E=this.pickOffset,_=this.pointCount;if(T=E+_)return null;var A=T-E,L=this.points;return{object:this,pointId:A,dataCoord:[L[2*A],L[2*A+1]]}}},6093:function(h){h.exports=function(l,a,u,s){var o,c,f,p,w,g=a[0],S=a[1],x=a[2],T=a[3],E=u[0],_=u[1],A=u[2],L=u[3];return(c=g*E+S*_+x*A+T*L)<0&&(c=-c,E=-E,_=-_,A=-A,L=-L),1-c>1e-6?(o=Math.acos(c),f=Math.sin(o),p=Math.sin((1-s)*o)/f,w=Math.sin(s*o)/f):(p=1-s,w=s),l[0]=p*g+w*E,l[1]=p*S+w*_,l[2]=p*x+w*A,l[3]=p*T+w*L,l}},8240:function(h){h.exports=function(l){return l||l===0?l.toString():""}},4123:function(h,l,a){var u=a(875);h.exports=function(o,c,f){var p=s[c];if(p||(p=s[c]={}),o in p)return p[o];var w={textAlign:"center",textBaseline:"middle",lineHeight:1,font:c,lineSpacing:1.25,styletags:{breaklines:!0,bolds:!0,italics:!0,subscripts:!0,superscripts:!0},triangles:!0},g=u(o,w);w.triangles=!1;var S,x,T=u(o,w);if(f&&f!==1){for(S=0;S>>1,x=S.positions instanceof Float32Array,A=S.idToIndex instanceof Int32Array&&S.idToIndex.length>=E,L=S.positions,b=x?L:s.mallocFloat32(L.length),R=A?S.idToIndex:s.mallocInt32(E);if(x||b.set(L),!A)for(b.set(L),_=0;_>>1;for(B=0;B=F[0]&&j<=F[2]&&$>=F[1]&&$<=F[3]&&N++}return N}(this.points,x),R=this.plot.pickPixelRatio*Math.max(Math.min(this.sizeMinCap,this.sizeMin),Math.min(this.sizeMax,this.sizeMax/Math.pow(b,.33333)));m[0]=2/A,m[4]=2/L,m[6]=-2*x[0]/A-1,m[7]=-2*x[1]/L-1,this.offsetBuffer.bind(),k.bind(),k.attributes.position.pointer(),k.uniforms.matrix=m,k.uniforms.color=this.color,k.uniforms.borderColor=this.borderColor,k.uniforms.pointCloud=R<5,k.uniforms.pointSize=R,k.uniforms.centerFraction=Math.min(1,Math.max(0,Math.sqrt(1-this.areaRatio))),_&&(w[0]=255&S,w[1]=S>>8&255,w[2]=S>>16&255,w[3]=S>>24&255,this.pickBuffer.bind(),k.attributes.pickId.pointer(E.UNSIGNED_BYTE),k.uniforms.pickOffset=w,this.pickOffset=S);var I=E.getParameter(E.BLEND),O=E.getParameter(E.DITHER);return I&&!this.blend&&E.disable(E.BLEND),O&&E.disable(E.DITHER),E.drawArrays(E.POINTS,0,this.pointCount),I&&!this.blend&&E.enable(E.BLEND),O&&E.enable(E.DITHER),S+this.pointCount}),y.draw=y.unifiedDraw,y.drawPick=y.unifiedDraw,y.pick=function(S,_,k){var E=this.pickOffset,x=this.pointCount;if(k=E+x)return null;var A=k-E,L=this.points;return{object:this,pointId:A,dataCoord:[L[2*A],L[2*A+1]]}}},6093:function(f){f.exports=function(l,a,u,o){var s,c,h,m,w,y=a[0],S=a[1],_=a[2],k=a[3],E=u[0],x=u[1],A=u[2],L=u[3];return(c=y*E+S*x+_*A+k*L)<0&&(c=-c,E=-E,x=-x,A=-A,L=-L),1-c>1e-6?(s=Math.acos(c),h=Math.sin(s),m=Math.sin((1-o)*s)/h,w=Math.sin(o*s)/h):(m=1-o,w=o),l[0]=m*y+w*E,l[1]=m*S+w*x,l[2]=m*_+w*A,l[3]=m*k+w*L,l}},8240:function(f){f.exports=function(l){return l||l===0?l.toString():""}},4123:function(f,l,a){var u=a(875);f.exports=function(s,c,h){var m=o[c];if(m||(m=o[c]={}),s in m)return m[s];var w={textAlign:"center",textBaseline:"middle",lineHeight:1,font:c,lineSpacing:1.25,styletags:{breaklines:!0,bolds:!0,italics:!0,subscripts:!0,superscripts:!0},triangles:!0},y=u(s,w);w.triangles=!1;var S,_,k=u(s,w);if(h&&h!==1){for(S=0;S1?1:H}function A(H,ne,te,Z,X,Q,re,ie,oe,ue,ce,ye){this.gl=H,this.pixelRatio=1,this.shader=ne,this.orthoShader=te,this.projectShader=Z,this.pointBuffer=X,this.colorBuffer=Q,this.glyphBuffer=re,this.idBuffer=ie,this.vao=oe,this.vertexCount=0,this.lineVertexCount=0,this.opacity=1,this.hasAlpha=!1,this.lineWidth=0,this.projectScale=[.6666666666666666,.6666666666666666,.6666666666666666],this.projectOpacity=[1,1,1],this.projectHasAlpha=!1,this.pickId=0,this.pickPerspectiveShader=ue,this.pickOrthoShader=ce,this.pickProjectShader=ye,this.points=[],this._selectResult=new E(0,[0,0,0]),this.useOrtho=!0,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.axesProject=[!0,!0,!0],this.axesBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.highlightId=[1,1,1,1],this.highlightScale=2,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.dirty=!0}h.exports=function(H){var ne=H.gl,te=p.createPerspective(ne),Z=p.createOrtho(ne),X=p.createProject(ne),Q=p.createPickPerspective(ne),re=p.createPickOrtho(ne),ie=p.createPickProject(ne),oe=s(ne),ue=s(ne),ce=s(ne),ye=s(ne),de=new A(ne,te,Z,X,oe,ue,ce,ye,o(ne,[{buffer:oe,size:3,type:ne.FLOAT},{buffer:ue,size:4,type:ne.FLOAT},{buffer:ce,size:2,type:ne.FLOAT},{buffer:ye,size:4,type:ne.UNSIGNED_BYTE,normalized:!0}]),Q,re,ie);return de.update(H),de};var L=A.prototype;L.pickSlots=1,L.setPickBase=function(H){this.pickId=H},L.isTransparent=function(){if(this.hasAlpha)return!0;for(var H=0;H<3;++H)if(this.axesProject[H]&&this.projectHasAlpha)return!0;return!1},L.isOpaque=function(){if(!this.hasAlpha)return!0;for(var H=0;H<3;++H)if(this.axesProject[H]&&!this.projectHasAlpha)return!0;return!1};var b=[0,0],R=[0,0,0],I=[0,0,0],O=[0,0,0,1],z=[0,0,0,1],F=S.slice(),B=[0,0,0],N=[[0,0,0],[0,0,0]];function W(H){return H[0]=H[1]=H[2]=0,H}function j(H,ne){return H[0]=ne[0],H[1]=ne[1],H[2]=ne[2],H[3]=1,H}function Y(H,ne,te,Z){return H[0]=ne[0],H[1]=ne[1],H[2]=ne[2],H[te]=Z,H}var U=[[-1e8,-1e8,-1e8],[1e8,1e8,1e8]];function G(H,ne,te,Z,X,Q,re){var ie=te.gl;if((Q===te.projectHasAlpha||re)&&function(ue,ce,ye,de){var me,pe=ce.axesProject,xe=ce.gl,Pe=ue.uniforms,_e=ye.model||S,Me=ye.view||S,Se=ye.projection||S,Ce=ce.axesBounds,ae=function(st){for(var ot=N,ft=0;ft<2;++ft)for(var bt=0;bt<3;++bt)ot[ft][bt]=Math.max(Math.min(st[ft][bt],1e8),-1e8);return ot}(ce.clipBounds);me=ce.axes&&ce.axes.lastCubeProps?ce.axes.lastCubeProps.axis:[1,1,1],b[0]=2/xe.drawingBufferWidth,b[1]=2/xe.drawingBufferHeight,ue.bind(),Pe.view=Me,Pe.projection=Se,Pe.screenSize=b,Pe.highlightId=ce.highlightId,Pe.highlightScale=ce.highlightScale,Pe.clipBounds=ae,Pe.pickGroup=ce.pickId/255,Pe.pixelRatio=de;for(var he=0;he<3;++he)if(pe[he]){Pe.scale=ce.projectScale[he],Pe.opacity=ce.projectOpacity[he];for(var be=F,ke=0;ke<16;++ke)be[ke]=0;for(ke=0;ke<4;++ke)be[5*ke]=1;be[5*he]=0,me[he]<0?be[12+he]=Ce[0][he]:be[12+he]=Ce[1][he],f(be,_e,be),Pe.model=be;var Le=(he+1)%3,Be=(he+2)%3,ze=W(R),je=W(I);ze[Le]=1,je[Be]=1;var ge=T(0,0,0,j(O,ze)),we=T(0,0,0,j(z,je));if(Math.abs(ge[1])>Math.abs(we[1])){var Ee=ge;ge=we,we=Ee,Ee=ze,ze=je,je=Ee;var Ve=Le;Le=Be,Be=Ve}ge[0]<0&&(ze[Le]=-1),we[1]>0&&(je[Be]=-1);var Ye=0,$e=0;for(ke=0;ke<4;++ke)Ye+=Math.pow(_e[4*Le+ke],2),$e+=Math.pow(_e[4*Be+ke],2);ze[Le]/=Math.sqrt(Ye),je[Be]/=Math.sqrt($e),Pe.axes[0]=ze,Pe.axes[1]=je,Pe.fragClipBounds[0]=Y(B,ae[0],he,-1e8),Pe.fragClipBounds[1]=Y(B,ae[1],he,1e8),ce.vao.bind(),ce.vao.draw(xe.TRIANGLES,ce.vertexCount),ce.lineWidth>0&&(xe.lineWidth(ce.lineWidth*de),ce.vao.draw(xe.LINES,ce.lineVertexCount,ce.vertexCount)),ce.vao.unbind()}}(ne,te,Z,X),Q===te.hasAlpha||re){H.bind();var oe=H.uniforms;oe.model=Z.model||S,oe.view=Z.view||S,oe.projection=Z.projection||S,b[0]=2/ie.drawingBufferWidth,b[1]=2/ie.drawingBufferHeight,oe.screenSize=b,oe.highlightId=te.highlightId,oe.highlightScale=te.highlightScale,oe.fragClipBounds=U,oe.clipBounds=te.axes.bounds,oe.opacity=te.opacity,oe.pickGroup=te.pickId/255,oe.pixelRatio=X,te.vao.bind(),te.vao.draw(ie.TRIANGLES,te.vertexCount),te.lineWidth>0&&(ie.lineWidth(te.lineWidth*X),te.vao.draw(ie.LINES,te.lineVertexCount,te.vertexCount)),te.vao.unbind()}}function q(H,ne,te,Z){var X;X=Array.isArray(H)?ne=this.pointCount||ne<0)return null;var te=this.points[ne],Z=this._selectResult;Z.index=ne;for(var X=0;X<3;++X)Z.position[X]=Z.dataCoordinate[X]=te[X];return Z},L.highlight=function(H){if(H){var ne=H.index,te=255&ne,Z=ne>>8&255,X=ne>>16&255;this.highlightId=[te/255,Z/255,X/255,0]}else this.highlightId=[1,1,1,1]},L.update=function(H){if("perspective"in(H=H||{})&&(this.useOrtho=!H.perspective),"orthographic"in H&&(this.useOrtho=!!H.orthographic),"lineWidth"in H&&(this.lineWidth=H.lineWidth),"project"in H)if(Array.isArray(H.project))this.axesProject=H.project;else{var ne=!!H.project;this.axesProject=[ne,ne,ne]}if("projectScale"in H)if(Array.isArray(H.projectScale))this.projectScale=H.projectScale.slice();else{var te=+H.projectScale;this.projectScale=[te,te,te]}if(this.projectHasAlpha=!1,"projectOpacity"in H){Array.isArray(H.projectOpacity)?this.projectOpacity=H.projectOpacity.slice():(te=+H.projectOpacity,this.projectOpacity=[te,te,te]);for(var Z=0;Z<3;++Z)this.projectOpacity[Z]=_(this.projectOpacity[Z]),this.projectOpacity[Z]<1&&(this.projectHasAlpha=!0)}this.hasAlpha=!1,"opacity"in H&&(this.opacity=_(H.opacity),this.opacity<1&&(this.hasAlpha=!0)),this.dirty=!0;var X,Q,re=H.position,ie=H.font||"normal",oe=H.alignment||[0,0];if(oe.length===2)X=oe[0],Q=oe[1];else for(X=[],Q=[],Z=0;Z0){var we=0,Ee=_e,Ve=[0,0,0,1],Ye=[0,0,0,1],$e=Array.isArray(de)&&Array.isArray(de[0]),st=Array.isArray(xe)&&Array.isArray(xe[0]);e:for(Z=0;Z0?1-ke[0][0]:Ot<0?1+ke[1][0]:1,Bt*=Bt>0?1-ke[0][1]:Bt<0?1+ke[1][1]:1],Vt=he.cells||[],Ke=he.positions||[];for(ae=0;ae1?1:H}function A(H,ne,te,Z,X,Q,re,ie,oe,ue,ce,ye){this.gl=H,this.pixelRatio=1,this.shader=ne,this.orthoShader=te,this.projectShader=Z,this.pointBuffer=X,this.colorBuffer=Q,this.glyphBuffer=re,this.idBuffer=ie,this.vao=oe,this.vertexCount=0,this.lineVertexCount=0,this.opacity=1,this.hasAlpha=!1,this.lineWidth=0,this.projectScale=[.6666666666666666,.6666666666666666,.6666666666666666],this.projectOpacity=[1,1,1],this.projectHasAlpha=!1,this.pickId=0,this.pickPerspectiveShader=ue,this.pickOrthoShader=ce,this.pickProjectShader=ye,this.points=[],this._selectResult=new E(0,[0,0,0]),this.useOrtho=!0,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.axesProject=[!0,!0,!0],this.axesBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.highlightId=[1,1,1,1],this.highlightScale=2,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.dirty=!0}f.exports=function(H){var ne=H.gl,te=m.createPerspective(ne),Z=m.createOrtho(ne),X=m.createProject(ne),Q=m.createPickPerspective(ne),re=m.createPickOrtho(ne),ie=m.createPickProject(ne),oe=o(ne),ue=o(ne),ce=o(ne),ye=o(ne),de=new A(ne,te,Z,X,oe,ue,ce,ye,s(ne,[{buffer:oe,size:3,type:ne.FLOAT},{buffer:ue,size:4,type:ne.FLOAT},{buffer:ce,size:2,type:ne.FLOAT},{buffer:ye,size:4,type:ne.UNSIGNED_BYTE,normalized:!0}]),Q,re,ie);return de.update(H),de};var L=A.prototype;L.pickSlots=1,L.setPickBase=function(H){this.pickId=H},L.isTransparent=function(){if(this.hasAlpha)return!0;for(var H=0;H<3;++H)if(this.axesProject[H]&&this.projectHasAlpha)return!0;return!1},L.isOpaque=function(){if(!this.hasAlpha)return!0;for(var H=0;H<3;++H)if(this.axesProject[H]&&!this.projectHasAlpha)return!0;return!1};var b=[0,0],R=[0,0,0],I=[0,0,0],O=[0,0,0,1],z=[0,0,0,1],F=S.slice(),B=[0,0,0],N=[[0,0,0],[0,0,0]];function W(H){return H[0]=H[1]=H[2]=0,H}function j(H,ne){return H[0]=ne[0],H[1]=ne[1],H[2]=ne[2],H[3]=1,H}function $(H,ne,te,Z){return H[0]=ne[0],H[1]=ne[1],H[2]=ne[2],H[te]=Z,H}var U=[[-1e8,-1e8,-1e8],[1e8,1e8,1e8]];function G(H,ne,te,Z,X,Q,re){var ie=te.gl;if((Q===te.projectHasAlpha||re)&&function(ue,ce,ye,de){var me,pe=ce.axesProject,xe=ce.gl,Pe=ue.uniforms,_e=ye.model||S,Me=ye.view||S,Se=ye.projection||S,Ce=ce.axesBounds,ae=function(st){for(var ot=N,ht=0;ht<2;++ht)for(var bt=0;bt<3;++bt)ot[ht][bt]=Math.max(Math.min(st[ht][bt],1e8),-1e8);return ot}(ce.clipBounds);me=ce.axes&&ce.axes.lastCubeProps?ce.axes.lastCubeProps.axis:[1,1,1],b[0]=2/xe.drawingBufferWidth,b[1]=2/xe.drawingBufferHeight,ue.bind(),Pe.view=Me,Pe.projection=Se,Pe.screenSize=b,Pe.highlightId=ce.highlightId,Pe.highlightScale=ce.highlightScale,Pe.clipBounds=ae,Pe.pickGroup=ce.pickId/255,Pe.pixelRatio=de;for(var fe=0;fe<3;++fe)if(pe[fe]){Pe.scale=ce.projectScale[fe],Pe.opacity=ce.projectOpacity[fe];for(var be=F,ke=0;ke<16;++ke)be[ke]=0;for(ke=0;ke<4;++ke)be[5*ke]=1;be[5*fe]=0,me[fe]<0?be[12+fe]=Ce[0][fe]:be[12+fe]=Ce[1][fe],h(be,_e,be),Pe.model=be;var Le=(fe+1)%3,Be=(fe+2)%3,ze=W(R),je=W(I);ze[Le]=1,je[Be]=1;var ge=k(0,0,0,j(O,ze)),we=k(0,0,0,j(z,je));if(Math.abs(ge[1])>Math.abs(we[1])){var Ee=ge;ge=we,we=Ee,Ee=ze,ze=je,je=Ee;var Ve=Le;Le=Be,Be=Ve}ge[0]<0&&(ze[Le]=-1),we[1]>0&&(je[Be]=-1);var $e=0,Ye=0;for(ke=0;ke<4;++ke)$e+=Math.pow(_e[4*Le+ke],2),Ye+=Math.pow(_e[4*Be+ke],2);ze[Le]/=Math.sqrt($e),je[Be]/=Math.sqrt(Ye),Pe.axes[0]=ze,Pe.axes[1]=je,Pe.fragClipBounds[0]=$(B,ae[0],fe,-1e8),Pe.fragClipBounds[1]=$(B,ae[1],fe,1e8),ce.vao.bind(),ce.vao.draw(xe.TRIANGLES,ce.vertexCount),ce.lineWidth>0&&(xe.lineWidth(ce.lineWidth*de),ce.vao.draw(xe.LINES,ce.lineVertexCount,ce.vertexCount)),ce.vao.unbind()}}(ne,te,Z,X),Q===te.hasAlpha||re){H.bind();var oe=H.uniforms;oe.model=Z.model||S,oe.view=Z.view||S,oe.projection=Z.projection||S,b[0]=2/ie.drawingBufferWidth,b[1]=2/ie.drawingBufferHeight,oe.screenSize=b,oe.highlightId=te.highlightId,oe.highlightScale=te.highlightScale,oe.fragClipBounds=U,oe.clipBounds=te.axes.bounds,oe.opacity=te.opacity,oe.pickGroup=te.pickId/255,oe.pixelRatio=X,te.vao.bind(),te.vao.draw(ie.TRIANGLES,te.vertexCount),te.lineWidth>0&&(ie.lineWidth(te.lineWidth*X),te.vao.draw(ie.LINES,te.lineVertexCount,te.vertexCount)),te.vao.unbind()}}function q(H,ne,te,Z){var X;X=Array.isArray(H)?ne=this.pointCount||ne<0)return null;var te=this.points[ne],Z=this._selectResult;Z.index=ne;for(var X=0;X<3;++X)Z.position[X]=Z.dataCoordinate[X]=te[X];return Z},L.highlight=function(H){if(H){var ne=H.index,te=255&ne,Z=ne>>8&255,X=ne>>16&255;this.highlightId=[te/255,Z/255,X/255,0]}else this.highlightId=[1,1,1,1]},L.update=function(H){if("perspective"in(H=H||{})&&(this.useOrtho=!H.perspective),"orthographic"in H&&(this.useOrtho=!!H.orthographic),"lineWidth"in H&&(this.lineWidth=H.lineWidth),"project"in H)if(Array.isArray(H.project))this.axesProject=H.project;else{var ne=!!H.project;this.axesProject=[ne,ne,ne]}if("projectScale"in H)if(Array.isArray(H.projectScale))this.projectScale=H.projectScale.slice();else{var te=+H.projectScale;this.projectScale=[te,te,te]}if(this.projectHasAlpha=!1,"projectOpacity"in H){Array.isArray(H.projectOpacity)?this.projectOpacity=H.projectOpacity.slice():(te=+H.projectOpacity,this.projectOpacity=[te,te,te]);for(var Z=0;Z<3;++Z)this.projectOpacity[Z]=x(this.projectOpacity[Z]),this.projectOpacity[Z]<1&&(this.projectHasAlpha=!0)}this.hasAlpha=!1,"opacity"in H&&(this.opacity=x(H.opacity),this.opacity<1&&(this.hasAlpha=!0)),this.dirty=!0;var X,Q,re=H.position,ie=H.font||"normal",oe=H.alignment||[0,0];if(oe.length===2)X=oe[0],Q=oe[1];else for(X=[],Q=[],Z=0;Z0){var we=0,Ee=_e,Ve=[0,0,0,1],$e=[0,0,0,1],Ye=Array.isArray(de)&&Array.isArray(de[0]),st=Array.isArray(xe)&&Array.isArray(xe[0]);e:for(Z=0;Z0?1-ke[0][0]:Ot<0?1+ke[1][0]:1,Bt*=Bt>0?1-ke[0][1]:Bt<0?1+ke[1][1]:1],Vt=fe.cells||[],Ke=fe.positions||[];for(ae=0;ae0){var N=g*b;E.drawBox(R-N,I-N,O+N,I+N,T),E.drawBox(R-N,z-N,O+N,z+N,T),E.drawBox(R-N,I-N,R+N,z+N,T),E.drawBox(O-N,I-N,O+N,z+N,T)}}}},f.update=function(p){p=p||{},this.innerFill=!!p.innerFill,this.outerFill=!!p.outerFill,this.innerColor=(p.innerColor||[0,0,0,.5]).slice(),this.outerColor=(p.outerColor||[0,0,0,.5]).slice(),this.borderColor=(p.borderColor||[0,0,0,1]).slice(),this.borderWidth=p.borderWidth||0,this.selectBox=(p.selectBox||this.selectBox).slice()},f.dispose=function(){this.boxBuffer.dispose(),this.boxShader.dispose(),this.plot.removeOverlay(this)}},2611:function(h,l,a){h.exports=function(g,S){var x=S[0],T=S[1];return new p(g,u(g,x,T,{}),s.mallocUint8(x*T*4))};var u=a(4234),s=a(5306),o=a(5050),c=a(2288).nextPow2;function f(g,S,x,T,E){this.coord=[g,S],this.id=x,this.value=T,this.distance=E}function p(g,S,x){this.gl=g,this.fbo=S,this.buffer=x,this._readTimeout=null;var T=this;this._readCallback=function(){T.gl&&(S.bind(),g.readPixels(0,0,S.shape[0],S.shape[1],g.RGBA,g.UNSIGNED_BYTE,T.buffer),T._readTimeout=null)}}var w=p.prototype;Object.defineProperty(w,"shape",{get:function(){return this.gl?this.fbo.shape.slice():[0,0]},set:function(g){if(this.gl){this.fbo.shape=g;var S=this.fbo.shape[0],x=this.fbo.shape[1];if(x*S*4>this.buffer.length){s.free(this.buffer);for(var T=this.buffer=s.mallocUint8(c(x*S*4)),E=0;EE)for(x=E;xT)for(x=T;x=0){for(var Y=0|j.type.charAt(j.type.length-1),U=new Array(Y),G=0;G=0;)q+=1;W[F]=q}var H=new Array(E.length);function ne(){L.program=c.program(b,L._vref,L._fref,N,W);for(var te=0;te=0){if((I=b.charCodeAt(b.length-1)-48)<2||I>4)throw new u("","Invalid data type for attribute "+L+": "+b);f(w,g,R[0],x,I,T,L)}else{if(!(b.indexOf("mat")>=0))throw new u("","Unknown data type for attribute "+L+": "+b);var I;if((I=b.charCodeAt(b.length-1)-48)<2||I>4)throw new u("","Invalid data type for attribute "+L+": "+b);p(w,g,R,x,I,T,L)}}}return T};var u=a(9068);function s(w,g,S,x,T,E){this._gl=w,this._wrapper=g,this._index=S,this._locations=x,this._dimension=T,this._constFunc=E}var o=s.prototype;o.pointer=function(w,g,S,x){var T=this,E=T._gl,_=T._locations[T._index];E.vertexAttribPointer(_,T._dimension,w||E.FLOAT,!!g,S||0,x||0),E.enableVertexAttribArray(_)},o.set=function(w,g,S,x){return this._constFunc(this._locations[this._index],w,g,S,x)},Object.defineProperty(o,"location",{get:function(){return this._locations[this._index]},set:function(w){return w!==this._locations[this._index]&&(this._locations[this._index]=0|w,this._wrapper.program=null),0|w}});var c=[function(w,g,S){return S.length===void 0?w.vertexAttrib1f(g,S):w.vertexAttrib1fv(g,S)},function(w,g,S,x){return S.length===void 0?w.vertexAttrib2f(g,S,x):w.vertexAttrib2fv(g,S)},function(w,g,S,x,T){return S.length===void 0?w.vertexAttrib3f(g,S,x,T):w.vertexAttrib3fv(g,S)},function(w,g,S,x,T,E){return S.length===void 0?w.vertexAttrib4f(g,S,x,T,E):w.vertexAttrib4fv(g,S)}];function f(w,g,S,x,T,E,_){var A=c[T],L=new s(w,g,S,x,T,A);Object.defineProperty(E,_,{set:function(b){return w.disableVertexAttribArray(x[S]),A(w,x[S],b),b},get:function(){return L},enumerable:!0})}function p(w,g,S,x,T,E,_){for(var A=new Array(T),L=new Array(T),b=0;b4)throw new s("","Invalid uniform dimension type for matrix "+name+": "+U);f["uniformMatrix"+Y+"fv"](g[z],!1,F);break}throw new s("","Unknown uniform data type for "+name+": "+U)}if((Y=U.charCodeAt(U.length-1)-48)<2||Y>4)throw new s("","Invalid data type");switch(U.charAt(0)){case"b":case"i":f["uniform"+Y+"iv"](g[z],F);break;case"v":f["uniform"+Y+"fv"](g[z],F);break;default:throw new s("","Unrecognized data type for vector "+name+": "+U)}}}}}}function x(A,L){if(typeof L!="object")return[[A,L]];var b=[];for(var R in L){var I=L[R],O=A;parseInt(R)+""===R?O+="["+R+"]":O+="."+R,typeof I=="object"?b.push.apply(b,x(O,I)):b.push([O,I])}return b}function T(A,L,b){if(typeof b=="object"){var R=E(b);Object.defineProperty(A,L,{get:o(R),set:S(b),enumerable:!0,configurable:!1})}else g[b]?Object.defineProperty(A,L,{get:(I=b,function(O,z,F){return O.getUniform(z.program,F[I])}),set:S(b),enumerable:!0,configurable:!1}):A[L]=function(O){switch(O){case"bool":return!1;case"int":case"sampler2D":case"samplerCube":case"float":return 0;default:var z=O.indexOf("vec");if(0<=z&&z<=1&&O.length===4+z){if((F=O.charCodeAt(O.length-1)-48)<2||F>4)throw new s("","Invalid data type");return O.charAt(0)==="b"?c(F,!1):c(F,0)}if(O.indexOf("mat")===0&&O.length===4){var F;if((F=O.charCodeAt(O.length-1)-48)<2||F>4)throw new s("","Invalid uniform dimension type for matrix "+name+": "+O);return c(F*F,0)}throw new s("","Unknown uniform data type for "+name+": "+O)}}(w[b].type);var I}function E(A){var L;if(Array.isArray(A)){L=new Array(A.length);for(var b=0;b1){p[0]in c||(c[p[0]]=[]),c=c[p[0]];for(var w=1;w1)for(var x=0;x"u"?a(4037):WeakMap),c=0;function f(S,x,T,E,_,A,L){this.id=S,this.src=x,this.type=T,this.shader=E,this.count=A,this.programs=[],this.cache=L}function p(S){this.gl=S,this.shaders=[{},{}],this.programs={}}f.prototype.dispose=function(){if(--this.count==0){for(var S=this.cache,x=S.gl,T=this.programs,E=0,_=T.length;E<_;++E){var A=S.programs[T[E]];A&&(delete S.programs[E],x.deleteProgram(A))}x.deleteShader(this.shader),delete S.shaders[this.type===x.FRAGMENT_SHADER|0][this.src]}};var w=p.prototype;function g(S){var x=o.get(S);return x||(x=new p(S),o.set(S,x)),x}w.getShaderReference=function(S,x){var T=this.gl,E=this.shaders[S===T.FRAGMENT_SHADER|0],_=E[x];if(_&&T.isShader(_.shader))_.count+=1;else{var A=function(L,b,R){var I=L.createShader(b);if(L.shaderSource(I,R),L.compileShader(I),!L.getShaderParameter(I,L.COMPILE_STATUS)){var O=L.getShaderInfoLog(I);try{var z=s(O,R,b)}catch(F){throw console.warn("Failed to format compiler error: "+F),new u(O,`Error compiling shader: -`+O)}throw new u(O,z.short,z.long)}return I}(T,S,x);_=E[x]=new f(c++,x,S,A,[],1,this)}return _},w.getProgram=function(S,x,T,E){var _=[S.id,x.id,T.join(":"),E.join(":")].join("@"),A=this.programs[_];return A&&this.gl.isProgram(A)||(this.programs[_]=A=function(L,b,R,I,O){var z=L.createProgram();L.attachShader(z,b),L.attachShader(z,R);for(var F=0;F0){var N=y*b;E.drawBox(R-N,I-N,O+N,I+N,k),E.drawBox(R-N,z-N,O+N,z+N,k),E.drawBox(R-N,I-N,R+N,z+N,k),E.drawBox(O-N,I-N,O+N,z+N,k)}}}},h.update=function(m){m=m||{},this.innerFill=!!m.innerFill,this.outerFill=!!m.outerFill,this.innerColor=(m.innerColor||[0,0,0,.5]).slice(),this.outerColor=(m.outerColor||[0,0,0,.5]).slice(),this.borderColor=(m.borderColor||[0,0,0,1]).slice(),this.borderWidth=m.borderWidth||0,this.selectBox=(m.selectBox||this.selectBox).slice()},h.dispose=function(){this.boxBuffer.dispose(),this.boxShader.dispose(),this.plot.removeOverlay(this)}},2611:function(f,l,a){f.exports=function(y,S){var _=S[0],k=S[1];return new m(y,u(y,_,k,{}),o.mallocUint8(_*k*4))};var u=a(4234),o=a(5306),s=a(5050),c=a(2288).nextPow2;function h(y,S,_,k,E){this.coord=[y,S],this.id=_,this.value=k,this.distance=E}function m(y,S,_){this.gl=y,this.fbo=S,this.buffer=_,this._readTimeout=null;var k=this;this._readCallback=function(){k.gl&&(S.bind(),y.readPixels(0,0,S.shape[0],S.shape[1],y.RGBA,y.UNSIGNED_BYTE,k.buffer),k._readTimeout=null)}}var w=m.prototype;Object.defineProperty(w,"shape",{get:function(){return this.gl?this.fbo.shape.slice():[0,0]},set:function(y){if(this.gl){this.fbo.shape=y;var S=this.fbo.shape[0],_=this.fbo.shape[1];if(_*S*4>this.buffer.length){o.free(this.buffer);for(var k=this.buffer=o.mallocUint8(c(_*S*4)),E=0;E<_*S*4;++E)k[E]=255}return y}}}),w.begin=function(){var y=this.gl;this.shape,y&&(this.fbo.bind(),y.clearColor(1,1,1,1),y.clear(y.COLOR_BUFFER_BIT|y.DEPTH_BUFFER_BIT))},w.end=function(){var y=this.gl;y&&(y.bindFramebuffer(y.FRAMEBUFFER,null),this._readTimeout||clearTimeout(this._readTimeout),this._readTimeout=setTimeout(this._readCallback,1))},w.query=function(y,S,_){if(!this.gl)return null;var k=this.fbo.shape.slice();y|=0,S|=0,typeof _!="number"&&(_=1);var E=0|Math.min(Math.max(y-_,0),k[0]),x=0|Math.min(Math.max(y+_,0),k[0]),A=0|Math.min(Math.max(S-_,0),k[1]),L=0|Math.min(Math.max(S+_,0),k[1]);if(x<=E||L<=A)return null;var b=[x-E,L-A],R=s(this.buffer,[b[0],b[1],4],[4,4*k[0],1],4*(E+k[0]*A)),I=function(F,B,N){for(var W=1e8,j=-1,$=-1,U=F.shape[0],G=F.shape[1],q=0;qE)for(_=E;_k)for(_=k;_=0){for(var $=0|j.type.charAt(j.type.length-1),U=new Array($),G=0;G<$;++G)U[G]=W.length,N.push(j.name+"["+G+"]"),typeof j.location=="number"?W.push(j.location+G):Array.isArray(j.location)&&j.location.length===$&&typeof j.location[G]=="number"?W.push(0|j.location[G]):W.push(-1);B.push({name:j.name,type:j.type,locations:U})}else B.push({name:j.name,type:j.type,locations:[W.length]}),N.push(j.name),typeof j.location=="number"?W.push(0|j.location):W.push(-1)}var q=0;for(F=0;F=0;)q+=1;W[F]=q}var H=new Array(E.length);function ne(){L.program=c.program(b,L._vref,L._fref,N,W);for(var te=0;te=0){if((I=b.charCodeAt(b.length-1)-48)<2||I>4)throw new u("","Invalid data type for attribute "+L+": "+b);h(w,y,R[0],_,I,k,L)}else{if(!(b.indexOf("mat")>=0))throw new u("","Unknown data type for attribute "+L+": "+b);var I;if((I=b.charCodeAt(b.length-1)-48)<2||I>4)throw new u("","Invalid data type for attribute "+L+": "+b);m(w,y,R,_,I,k,L)}}}return k};var u=a(9068);function o(w,y,S,_,k,E){this._gl=w,this._wrapper=y,this._index=S,this._locations=_,this._dimension=k,this._constFunc=E}var s=o.prototype;s.pointer=function(w,y,S,_){var k=this,E=k._gl,x=k._locations[k._index];E.vertexAttribPointer(x,k._dimension,w||E.FLOAT,!!y,S||0,_||0),E.enableVertexAttribArray(x)},s.set=function(w,y,S,_){return this._constFunc(this._locations[this._index],w,y,S,_)},Object.defineProperty(s,"location",{get:function(){return this._locations[this._index]},set:function(w){return w!==this._locations[this._index]&&(this._locations[this._index]=0|w,this._wrapper.program=null),0|w}});var c=[function(w,y,S){return S.length===void 0?w.vertexAttrib1f(y,S):w.vertexAttrib1fv(y,S)},function(w,y,S,_){return S.length===void 0?w.vertexAttrib2f(y,S,_):w.vertexAttrib2fv(y,S)},function(w,y,S,_,k){return S.length===void 0?w.vertexAttrib3f(y,S,_,k):w.vertexAttrib3fv(y,S)},function(w,y,S,_,k,E){return S.length===void 0?w.vertexAttrib4f(y,S,_,k,E):w.vertexAttrib4fv(y,S)}];function h(w,y,S,_,k,E,x){var A=c[k],L=new o(w,y,S,_,k,A);Object.defineProperty(E,x,{set:function(b){return w.disableVertexAttribArray(_[S]),A(w,_[S],b),b},get:function(){return L},enumerable:!0})}function m(w,y,S,_,k,E,x){for(var A=new Array(k),L=new Array(k),b=0;b4)throw new o("","Invalid uniform dimension type for matrix "+name+": "+U);h["uniformMatrix"+$+"fv"](y[z],!1,F);break}throw new o("","Unknown uniform data type for "+name+": "+U)}if(($=U.charCodeAt(U.length-1)-48)<2||$>4)throw new o("","Invalid data type");switch(U.charAt(0)){case"b":case"i":h["uniform"+$+"iv"](y[z],F);break;case"v":h["uniform"+$+"fv"](y[z],F);break;default:throw new o("","Unrecognized data type for vector "+name+": "+U)}}}}}}function _(A,L){if(typeof L!="object")return[[A,L]];var b=[];for(var R in L){var I=L[R],O=A;parseInt(R)+""===R?O+="["+R+"]":O+="."+R,typeof I=="object"?b.push.apply(b,_(O,I)):b.push([O,I])}return b}function k(A,L,b){if(typeof b=="object"){var R=E(b);Object.defineProperty(A,L,{get:s(R),set:S(b),enumerable:!0,configurable:!1})}else y[b]?Object.defineProperty(A,L,{get:(I=b,function(O,z,F){return O.getUniform(z.program,F[I])}),set:S(b),enumerable:!0,configurable:!1}):A[L]=function(O){switch(O){case"bool":return!1;case"int":case"sampler2D":case"samplerCube":case"float":return 0;default:var z=O.indexOf("vec");if(0<=z&&z<=1&&O.length===4+z){if((F=O.charCodeAt(O.length-1)-48)<2||F>4)throw new o("","Invalid data type");return O.charAt(0)==="b"?c(F,!1):c(F,0)}if(O.indexOf("mat")===0&&O.length===4){var F;if((F=O.charCodeAt(O.length-1)-48)<2||F>4)throw new o("","Invalid uniform dimension type for matrix "+name+": "+O);return c(F*F,0)}throw new o("","Unknown uniform data type for "+name+": "+O)}}(w[b].type);var I}function E(A){var L;if(Array.isArray(A)){L=new Array(A.length);for(var b=0;b1){m[0]in c||(c[m[0]]=[]),c=c[m[0]];for(var w=1;w1)for(var _=0;_"u"?a(4037):WeakMap),c=0;function h(S,_,k,E,x,A,L){this.id=S,this.src=_,this.type=k,this.shader=E,this.count=A,this.programs=[],this.cache=L}function m(S){this.gl=S,this.shaders=[{},{}],this.programs={}}h.prototype.dispose=function(){if(--this.count==0){for(var S=this.cache,_=S.gl,k=this.programs,E=0,x=k.length;Ex)return T-1}return T},f=function(S,x,T){return ST?T:S},p=function(S){var x=1/0;S.sort(function(A,L){return A-L});for(var T=S.length,E=1;Eke-1||Ee>Le-1||Ve>Be-1)return u.create();var Ye,$e,st,ot,ft,bt,Et=Ce[0][ze],kt=Ce[0][we],xt=Ce[1][je],Ft=Ce[1][Ee],Ot=Ce[2][ge],Bt=(ae-Et)/(kt-Et),qt=(he-xt)/(Ft-xt),Vt=(be-Ot)/(Ce[2][Ve]-Ot);switch(isFinite(Bt)||(Bt=.5),isFinite(qt)||(qt=.5),isFinite(Vt)||(Vt=.5),Me.reversedX&&(ze=ke-1-ze,we=ke-1-we),Me.reversedY&&(je=Le-1-je,Ee=Le-1-Ee),Me.reversedZ&&(ge=Be-1-ge,Ve=Be-1-Ve),Me.filled){case 5:ft=ge,bt=Ve,st=je*Be,ot=Ee*Be,Ye=ze*Be*Le,$e=we*Be*Le;break;case 4:ft=ge,bt=Ve,Ye=ze*Be,$e=we*Be,st=je*Be*ke,ot=Ee*Be*ke;break;case 3:st=je,ot=Ee,ft=ge*Le,bt=Ve*Le,Ye=ze*Le*Be,$e=we*Le*Be;break;case 2:st=je,ot=Ee,Ye=ze*Le,$e=we*Le,ft=ge*Le*ke,bt=Ve*Le*ke;break;case 1:Ye=ze,$e=we,ft=ge*ke,bt=Ve*ke,st=je*ke*Be,ot=Ee*ke*Be;break;default:Ye=ze,$e=we,st=je*ke,ot=Ee*ke,ft=ge*ke*Le,bt=Ve*ke*Le}var Ke=Se[Ye+st+ft],Je=Se[Ye+st+bt],qe=Se[Ye+ot+ft],nt=Se[Ye+ot+bt],ht=Se[$e+st+ft],Re=Se[$e+st+bt],Ne=Se[$e+ot+ft],Qe=Se[$e+ot+bt],ut=u.create(),dt=u.create(),_t=u.create(),It=u.create();u.lerp(ut,Ke,ht,Bt),u.lerp(dt,Je,Re,Bt),u.lerp(_t,qe,Ne,Bt),u.lerp(It,nt,Qe,Bt);var Lt=u.create(),yt=u.create();u.lerp(Lt,ut,_t,qt),u.lerp(yt,dt,It,qt);var Pt=u.create();return u.lerp(Pt,Lt,yt,Vt),Pt}(xe,S,b)},I=S.getDivergence||function(xe,Pe){var _e=u.create(),Me=1e-4;u.add(_e,xe,[Me,0,0]);var Se=R(_e);u.subtract(Se,Se,Pe),u.scale(Se,Se,1/Me),u.add(_e,xe,[0,Me,0]);var Ce=R(_e);u.subtract(Ce,Ce,Pe),u.scale(Ce,Ce,1/Me),u.add(_e,xe,[0,0,Me]);var ae=R(_e);return u.subtract(ae,ae,Pe),u.scale(ae,ae,1/Me),u.add(_e,Se,Ce),u.add(_e,_e,ae),_e},O=[],z=x[0][0],F=x[0][1],B=x[0][2],N=x[1][0],W=x[1][1],j=x[1][2],Y=function(xe){var Pe=xe[0],_e=xe[1],Me=xe[2];return!(PeN||_eW||Mej)},U=10*u.distance(x[0],x[1])/E,G=U*U,q=1,H=0,ne=T.length;ne>1&&(q=function(xe){for(var Pe=[],_e=[],Me=[],Se={},Ce={},ae={},he=xe.length,be=0;beH&&(H=ce),oe.push(ce),O.push({points:X,velocities:Q,divergences:oe});for(var ye=0;ye<100*E&&X.lengthG&&u.scale(de,de,U/Math.sqrt(me)),u.add(de,de,Z),re=R(de),u.squaredDistance(ie,de)-G>-1e-4*G&&(X.push(de),ie=de,Q.push(re),ue=I(de,re),ce=u.length(ue),isFinite(ce)&&ce>H&&(H=ce),oe.push(ce)),Z=de}}var pe=function(xe,Pe,_e,Me){for(var Se=0,Ce=0;Ce0)for(ut=0;ut<8;ut++){var dt=(ut+1)%8;xt.push(Bt[ut],qt[ut],qt[dt],qt[dt],Bt[dt],Bt[ut]),Ot.push(nt,qe,qe,qe,nt,nt),Vt.push(Ke,Je,Je,Je,Ke,Ke);var _t=xt.length;Ft.push([_t-6,_t-5,_t-4],[_t-3,_t-2,_t-1])}var It=Bt;Bt=qt,qt=It;var Lt=nt;nt=qe,qe=Lt;var yt=Ke;Ke=Je,Je=yt}return{positions:xt,cells:Ft,vectors:Ot,vertexIntensity:Vt}}(Ye,_e,Me,Se)}),ke=[],Le=[],Be=[],ze=[];for(Ce=0;Ce_)return k-1}return k},h=function(S,_,k){return S<_?_:S>k?k:S},m=function(S){var _=1/0;S.sort(function(A,L){return A-L});for(var k=S.length,E=1;Eke-1||Ee>Le-1||Ve>Be-1)return u.create();var $e,Ye,st,ot,ht,bt,Et=Ce[0][ze],kt=Ce[0][we],xt=Ce[1][je],Ft=Ce[1][Ee],Ot=Ce[2][ge],Bt=(ae-Et)/(kt-Et),qt=(fe-xt)/(Ft-xt),Vt=(be-Ot)/(Ce[2][Ve]-Ot);switch(isFinite(Bt)||(Bt=.5),isFinite(qt)||(qt=.5),isFinite(Vt)||(Vt=.5),Me.reversedX&&(ze=ke-1-ze,we=ke-1-we),Me.reversedY&&(je=Le-1-je,Ee=Le-1-Ee),Me.reversedZ&&(ge=Be-1-ge,Ve=Be-1-Ve),Me.filled){case 5:ht=ge,bt=Ve,st=je*Be,ot=Ee*Be,$e=ze*Be*Le,Ye=we*Be*Le;break;case 4:ht=ge,bt=Ve,$e=ze*Be,Ye=we*Be,st=je*Be*ke,ot=Ee*Be*ke;break;case 3:st=je,ot=Ee,ht=ge*Le,bt=Ve*Le,$e=ze*Le*Be,Ye=we*Le*Be;break;case 2:st=je,ot=Ee,$e=ze*Le,Ye=we*Le,ht=ge*Le*ke,bt=Ve*Le*ke;break;case 1:$e=ze,Ye=we,ht=ge*ke,bt=Ve*ke,st=je*ke*Be,ot=Ee*ke*Be;break;default:$e=ze,Ye=we,st=je*ke,ot=Ee*ke,ht=ge*ke*Le,bt=Ve*ke*Le}var Ke=Se[$e+st+ht],Je=Se[$e+st+bt],qe=Se[$e+ot+ht],nt=Se[$e+ot+bt],ft=Se[Ye+st+ht],Re=Se[Ye+st+bt],Ne=Se[Ye+ot+ht],Qe=Se[Ye+ot+bt],ut=u.create(),dt=u.create(),_t=u.create(),It=u.create();u.lerp(ut,Ke,ft,Bt),u.lerp(dt,Je,Re,Bt),u.lerp(_t,qe,Ne,Bt),u.lerp(It,nt,Qe,Bt);var Lt=u.create(),yt=u.create();u.lerp(Lt,ut,_t,qt),u.lerp(yt,dt,It,qt);var Pt=u.create();return u.lerp(Pt,Lt,yt,Vt),Pt}(xe,S,b)},I=S.getDivergence||function(xe,Pe){var _e=u.create(),Me=1e-4;u.add(_e,xe,[Me,0,0]);var Se=R(_e);u.subtract(Se,Se,Pe),u.scale(Se,Se,1/Me),u.add(_e,xe,[0,Me,0]);var Ce=R(_e);u.subtract(Ce,Ce,Pe),u.scale(Ce,Ce,1/Me),u.add(_e,xe,[0,0,Me]);var ae=R(_e);return u.subtract(ae,ae,Pe),u.scale(ae,ae,1/Me),u.add(_e,Se,Ce),u.add(_e,_e,ae),_e},O=[],z=_[0][0],F=_[0][1],B=_[0][2],N=_[1][0],W=_[1][1],j=_[1][2],$=function(xe){var Pe=xe[0],_e=xe[1],Me=xe[2];return!(PeN||_eW||Mej)},U=10*u.distance(_[0],_[1])/E,G=U*U,q=1,H=0,ne=k.length;ne>1&&(q=function(xe){for(var Pe=[],_e=[],Me=[],Se={},Ce={},ae={},fe=xe.length,be=0;beH&&(H=ce),oe.push(ce),O.push({points:X,velocities:Q,divergences:oe});for(var ye=0;ye<100*E&&X.lengthG&&u.scale(de,de,U/Math.sqrt(me)),u.add(de,de,Z),re=R(de),u.squaredDistance(ie,de)-G>-1e-4*G&&(X.push(de),ie=de,Q.push(re),ue=I(de,re),ce=u.length(ue),isFinite(ce)&&ce>H&&(H=ce),oe.push(ce)),Z=de}}var pe=function(xe,Pe,_e,Me){for(var Se=0,Ce=0;Ce0)for(ut=0;ut<8;ut++){var dt=(ut+1)%8;xt.push(Bt[ut],qt[ut],qt[dt],qt[dt],Bt[dt],Bt[ut]),Ot.push(nt,qe,qe,qe,nt,nt),Vt.push(Ke,Je,Je,Je,Ke,Ke);var _t=xt.length;Ft.push([_t-6,_t-5,_t-4],[_t-3,_t-2,_t-1])}var It=Bt;Bt=qt,qt=It;var Lt=nt;nt=qe,qe=Lt;var yt=Ke;Ke=Je,Je=yt}return{positions:xt,cells:Ft,vectors:Ot,vertexIntensity:Vt}}($e,_e,Me,Se)}),ke=[],Le=[],Be=[],ze=[];for(Ce=0;Cepe&&Pe>0){var _e=(xe[Pe][0]-pe)/(xe[Pe][0]-xe[Pe-1][0]);return xe[Pe][1]*(1-_e)+_e*xe[Pe-1][1]}}return 1}(de/255,oe):ye[3];return me<1&&(ue=!0),[ye[0],ye[1],ye[2],255*me]})]);return w.divseq(ce,255),this.hasAlphaScale=ue,ce},j.isTransparent=function(){return this.opacity<1||this.hasAlphaScale},j.isOpaque=function(){return!this.isTransparent()},j.pickSlots=1,j.setPickBase=function(ie){this.pickId=ie};var Y=[0,0,0],U={showSurface:!1,showContour:!1,projections:[z.slice(),z.slice(),z.slice()],clipBounds:[[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]]]};function G(ie,oe){var ue,ce,ye,de=oe.axes&&oe.axes.lastCubeProps.axis||Y,me=oe.showSurface,pe=oe.showContour;for(ue=0;ue<3;++ue)for(me=me||oe.surfaceProject[ue],ce=0;ce<3;++ce)pe=pe||oe.contourProject[ue][ce];for(ue=0;ue<3;++ue){var xe=U.projections[ue];for(ce=0;ce<16;++ce)xe[ce]=0;for(ce=0;ce<4;++ce)xe[5*ce]=1;xe[5*ue]=0,xe[12+ue]=oe.axesBounds[+(de[ue]>0)][ue],T(xe,ie.model,xe);var Pe=U.clipBounds[ue];for(ye=0;ye<2;++ye)for(ce=0;ce<3;++ce)Pe[ye][ce]=ie.clipBounds[ye][ce];Pe[0][ue]=-1e8,Pe[1][ue]=1e8}return U.showSurface=me,U.showContour=pe,U}var q={model:z,view:z,projection:z,inverseModel:z.slice(),lowerBound:[0,0,0],upperBound:[0,0,0],colorMap:0,clipBounds:[[0,0,0],[0,0,0]],height:0,contourTint:0,contourColor:[0,0,0,1],permutation:[1,0,0,0,1,0,0,0,1],zOffset:-1e-4,objectOffset:[0,0,0],kambient:1,kdiffuse:1,kspecular:1,lightPosition:[1e3,1e3,1e3],eyePosition:[0,0,0],roughness:1,fresnel:1,opacity:1,vertexColor:0},H=z.slice(),ne=[1,0,0,0,1,0,0,0,1];function te(ie,oe){ie=ie||{};var ue=this.gl;ue.disable(ue.CULL_FACE),this._colorMap.bind(0);var ce=q;ce.model=ie.model||z,ce.view=ie.view||z,ce.projection=ie.projection||z,ce.lowerBound=[this.bounds[0][0],this.bounds[0][1],this.colorBounds[0]||this.bounds[0][2]],ce.upperBound=[this.bounds[1][0],this.bounds[1][1],this.colorBounds[1]||this.bounds[1][2]],ce.objectOffset=this.objectOffset,ce.contourColor=this.contourColor[0],ce.inverseModel=E(ce.inverseModel,ce.model);for(var ye=0;ye<2;++ye)for(var de=ce.clipBounds[ye],me=0;me<3;++me)de[me]=Math.min(Math.max(this.clipBounds[ye][me],-1e8),1e8);ce.kambient=this.ambientLight,ce.kdiffuse=this.diffuseLight,ce.kspecular=this.specularLight,ce.roughness=this.roughness,ce.fresnel=this.fresnel,ce.opacity=this.opacity,ce.height=0,ce.permutation=ne,ce.vertexColor=this.vertexColor;var pe=H;for(T(pe,ce.view,ce.model),T(pe,ce.projection,pe),E(pe,pe),ye=0;ye<3;++ye)ce.eyePosition[ye]=pe[12+ye]/pe[15];var xe=pe[15];for(ye=0;ye<3;++ye)xe+=this.lightPosition[ye]*pe[4*ye+3];for(ye=0;ye<3;++ye){var Pe=pe[12+ye];for(me=0;me<3;++me)Pe+=pe[4*me+ye]*this.lightPosition[me];ce.lightPosition[ye]=Pe/xe}var _e=G(ce,this);if(_e.showSurface){for(this._shader.bind(),this._shader.uniforms=ce,this._vao.bind(),this.showSurface&&this._vertexCount&&this._vao.draw(ue.TRIANGLES,this._vertexCount),ye=0;ye<3;++ye)this.surfaceProject[ye]&&this.vertexCount&&(this._shader.uniforms.model=_e.projections[ye],this._shader.uniforms.clipBounds=_e.clipBounds[ye],this._vao.draw(ue.TRIANGLES,this._vertexCount));this._vao.unbind()}if(_e.showContour){var Me=this._contourShader;ce.kambient=1,ce.kdiffuse=0,ce.kspecular=0,ce.opacity=1,Me.bind(),Me.uniforms=ce;var Se=this._contourVAO;for(Se.bind(),ye=0;ye<3;++ye)for(Me.uniforms.permutation=B[ye],ue.lineWidth(this.contourWidth[ye]*this.pixelRatio),me=0;me>4)/16)/255,ye=Math.floor(ce),de=ce-ye,me=oe[1]*(ie.value[1]+(15&ie.value[2])/16)/255,pe=Math.floor(me),xe=me-pe;ye+=1,pe+=1;var Pe=ue.position;Pe[0]=Pe[1]=Pe[2]=0;for(var _e=0;_e<2;++_e)for(var Me=_e?de:1-de,Se=0;Se<2;++Se)for(var Ce=ye+_e,ae=pe+Se,he=Me*(Se?xe:1-xe),be=0;be<3;++be)Pe[be]+=this._field[be].get(Ce,ae)*he;for(var ke=this._pickResult.level,Le=0;Le<3;++Le)if(ke[Le]=_.le(this.contourLevels[Le],Pe[Le]),ke[Le]<0)this.contourLevels[Le].length>0&&(ke[Le]=0);else if(ke[Le]Math.abs(ze-Pe[Le])&&(ke[Le]+=1)}for(ue.index[0]=de<.5?ye:ye+1,ue.index[1]=xe<.5?pe:pe+1,ue.uv[0]=ce/oe[0],ue.uv[1]=me/oe[1],be=0;be<3;++be)ue.dataCoordinate[be]=this._field[be].get(ue.index[0],ue.index[1]);return ue},j.padField=function(ie,oe){var ue=oe.shape.slice(),ce=ie.shape.slice();w.assign(ie.lo(1,1).hi(ue[0],ue[1]),oe),w.assign(ie.lo(1).hi(ue[0],1),oe.hi(ue[0],1)),w.assign(ie.lo(1,ce[1]-1).hi(ue[0],1),oe.lo(0,ue[1]-1).hi(ue[0],1)),w.assign(ie.lo(0,1).hi(1,ue[1]),oe.hi(1)),w.assign(ie.lo(ce[0]-1,1).hi(1,ue[1]),oe.lo(ue[0]-1)),ie.set(0,0,oe.get(0,0)),ie.set(0,ce[1]-1,oe.get(0,ue[1]-1)),ie.set(ce[0]-1,0,oe.get(ue[0]-1,0)),ie.set(ce[0]-1,ce[1]-1,oe.get(ue[0]-1,ue[1]-1))},j.update=function(ie){ie=ie||{},this.objectOffset=ie.objectOffset||this.objectOffset,this.dirty=!0,"contourWidth"in ie&&(this.contourWidth=X(ie.contourWidth,Number)),"showContour"in ie&&(this.showContour=X(ie.showContour,Boolean)),"showSurface"in ie&&(this.showSurface=!!ie.showSurface),"contourTint"in ie&&(this.contourTint=X(ie.contourTint,Boolean)),"contourColor"in ie&&(this.contourColor=re(ie.contourColor)),"contourProject"in ie&&(this.contourProject=X(ie.contourProject,function(kn){return X(kn,Boolean)})),"surfaceProject"in ie&&(this.surfaceProject=ie.surfaceProject),"dynamicColor"in ie&&(this.dynamicColor=re(ie.dynamicColor)),"dynamicTint"in ie&&(this.dynamicTint=X(ie.dynamicTint,Number)),"dynamicWidth"in ie&&(this.dynamicWidth=X(ie.dynamicWidth,Number)),"opacity"in ie&&(this.opacity=ie.opacity),"opacityscale"in ie&&(this.opacityscale=ie.opacityscale),"colorBounds"in ie&&(this.colorBounds=ie.colorBounds),"vertexColor"in ie&&(this.vertexColor=ie.vertexColor?1:0),"colormap"in ie&&this._colorMap.setPixels(this.genColormap(ie.colormap,this.opacityscale));var oe=ie.field||ie.coords&&ie.coords[2]||null,ue=!1;if(oe||(oe=this._field[2].shape[0]||this._field[2].shape[2]?this._field[2].lo(1,1).hi(this._field[2].shape[0]-2,this._field[2].shape[1]-2):this._field[2].hi(0,0)),"field"in ie||"coords"in ie){var ce=(oe.shape[0]+2)*(oe.shape[1]+2);ce>this._field[2].data.length&&(f.freeFloat(this._field[2].data),this._field[2].data=f.mallocFloat(u.nextPow2(ce))),this._field[2]=S(this._field[2].data,[oe.shape[0]+2,oe.shape[1]+2]),this.padField(this._field[2],oe),this.shape=oe.shape.slice();for(var ye=this.shape,de=0;de<2;++de)this._field[2].size>this._field[de].data.length&&(f.freeFloat(this._field[de].data),this._field[de].data=f.mallocFloat(this._field[2].size)),this._field[de]=S(this._field[de].data,[ye[0]+2,ye[1]+2]);if(ie.coords){var me=ie.coords;if(!Array.isArray(me)||me.length!==3)throw new Error("gl-surface: invalid coordinates for x/y");for(de=0;de<2;++de){var pe=me[de];for(Se=0;Se<2;++Se)if(pe.shape[Se]!==ye[Se])throw new Error("gl-surface: coords have incorrect shape");this.padField(this._field[de],pe)}}else if(ie.ticks){var xe=ie.ticks;if(!Array.isArray(xe)||xe.length!==2)throw new Error("gl-surface: invalid ticks");for(de=0;de<2;++de){var Pe=xe[de];if((Array.isArray(Pe)||Pe.length)&&(Pe=S(Pe)),Pe.shape[0]!==ye[de])throw new Error("gl-surface: invalid tick length");var _e=S(Pe.data,ye);_e.stride[de]=Pe.stride[0],_e.stride[1^de]=0,this.padField(this._field[de],_e)}}else{for(de=0;de<2;++de){var Me=[0,0];Me[de]=1,this._field[de]=S(this._field[de].data,[ye[0]+2,ye[1]+2],Me,0)}this._field[0].set(0,0,0);for(var Se=0;Se0){for(var An=0;An<5;++An)ht.pop();kt-=1}continue e}ht.push(dt[0],dt[1],Lt[0],Lt[1],dt[2]),kt+=1}}ut.push(kt)}this._contourOffsets[Re]=Qe,this._contourCounts[Re]=ut}var $n=f.mallocFloat(ht.length);for(de=0;deB||z<0||z>B)throw new Error("gl-texture2d: Invalid texture size");return I._shape=[O,z],I.bind(),F.texImage2D(F.TEXTURE_2D,0,I.format,O,z,0,I.format,I.type,null),I._mipLevels=[0],I}function T(I,O,z,F,B,N){this.gl=I,this.handle=O,this.format=B,this.type=N,this._shape=[z,F],this._mipLevels=[0],this._magFilter=I.NEAREST,this._minFilter=I.NEAREST,this._wrapS=I.CLAMP_TO_EDGE,this._wrapT=I.CLAMP_TO_EDGE,this._anisoSamples=1;var W=this,j=[this._wrapS,this._wrapT];Object.defineProperties(j,[{get:function(){return W._wrapS},set:function(U){return W.wrapS=U}},{get:function(){return W._wrapT},set:function(U){return W.wrapT=U}}]),this._wrapVector=j;var Y=[this._shape[0],this._shape[1]];Object.defineProperties(Y,[{get:function(){return W._shape[0]},set:function(U){return W.width=U}},{get:function(){return W._shape[1]},set:function(U){return W.height=U}}]),this._shapeVector=Y}var E=T.prototype;function _(I,O){return I.length===3?O[2]===1&&O[1]===I[0]*I[2]&&O[0]===I[2]:O[0]===1&&O[1]===I[0]}function A(I){var O=I.createTexture();return I.bindTexture(I.TEXTURE_2D,O),I.texParameteri(I.TEXTURE_2D,I.TEXTURE_MIN_FILTER,I.NEAREST),I.texParameteri(I.TEXTURE_2D,I.TEXTURE_MAG_FILTER,I.NEAREST),I.texParameteri(I.TEXTURE_2D,I.TEXTURE_WRAP_S,I.CLAMP_TO_EDGE),I.texParameteri(I.TEXTURE_2D,I.TEXTURE_WRAP_T,I.CLAMP_TO_EDGE),O}function L(I,O,z,F,B){var N=I.getParameter(I.MAX_TEXTURE_SIZE);if(O<0||O>N||z<0||z>N)throw new Error("gl-texture2d: Invalid texture shape");if(B===I.FLOAT&&!I.getExtension("OES_texture_float"))throw new Error("gl-texture2d: Floating point textures not supported on this platform");var W=A(I);return I.texImage2D(I.TEXTURE_2D,0,F,O,z,0,F,B,null),new T(I,W,O,z,F,B)}function b(I,O,z,F,B,N){var W=A(I);return I.texImage2D(I.TEXTURE_2D,0,B,B,N,O),new T(I,W,z,F,B,N)}function R(I,O){var z=O.dtype,F=O.shape.slice(),B=I.getParameter(I.MAX_TEXTURE_SIZE);if(F[0]<0||F[0]>B||F[1]<0||F[1]>B)throw new Error("gl-texture2d: Invalid texture size");var N=_(F,O.stride.slice()),W=0;z==="float32"?W=I.FLOAT:z==="float64"?(W=I.FLOAT,N=!1,z="float32"):z==="uint8"?W=I.UNSIGNED_BYTE:(W=I.UNSIGNED_BYTE,N=!1,z="uint8");var j,Y,U=0;if(F.length===2)U=I.LUMINANCE,F=[F[0],F[1],1],O=u(O.data,F,[O.stride[0],O.stride[1],1],O.offset);else{if(F.length!==3)throw new Error("gl-texture2d: Invalid shape for texture");if(F[2]===1)U=I.ALPHA;else if(F[2]===2)U=I.LUMINANCE_ALPHA;else if(F[2]===3)U=I.RGB;else{if(F[2]!==4)throw new Error("gl-texture2d: Invalid shape for pixel coords");U=I.RGBA}}W!==I.FLOAT||I.getExtension("OES_texture_float")||(W=I.UNSIGNED_BYTE,N=!1);var G=O.size;if(N)j=O.offset===0&&O.data.length===G?O.data:O.data.subarray(O.offset,O.offset+G);else{var q=[F[2],F[2]*F[0],1];Y=o.malloc(G,z);var H=u(Y,F,q,0);z!=="float32"&&z!=="float64"||W!==I.UNSIGNED_BYTE?s.assign(H,O):S(H,O),j=Y.subarray(0,G)}var ne=A(I);return I.texImage2D(I.TEXTURE_2D,0,U,F[0],F[1],0,U,W,j),N||o.free(Y),new T(I,ne,F[0],F[1],U,W)}Object.defineProperties(E,{minFilter:{get:function(){return this._minFilter},set:function(I){this.bind();var O=this.gl;if(this.type===O.FLOAT&&c.indexOf(I)>=0&&(O.getExtension("OES_texture_float_linear")||(I=O.NEAREST)),f.indexOf(I)<0)throw new Error("gl-texture2d: Unknown filter mode "+I);return O.texParameteri(O.TEXTURE_2D,O.TEXTURE_MIN_FILTER,I),this._minFilter=I}},magFilter:{get:function(){return this._magFilter},set:function(I){this.bind();var O=this.gl;if(this.type===O.FLOAT&&c.indexOf(I)>=0&&(O.getExtension("OES_texture_float_linear")||(I=O.NEAREST)),f.indexOf(I)<0)throw new Error("gl-texture2d: Unknown filter mode "+I);return O.texParameteri(O.TEXTURE_2D,O.TEXTURE_MAG_FILTER,I),this._magFilter=I}},mipSamples:{get:function(){return this._anisoSamples},set:function(I){var O=this._anisoSamples;if(this._anisoSamples=0|Math.max(I,1),O!==this._anisoSamples){var z=this.gl.getExtension("EXT_texture_filter_anisotropic");z&&this.gl.texParameterf(this.gl.TEXTURE_2D,z.TEXTURE_MAX_ANISOTROPY_EXT,this._anisoSamples)}return this._anisoSamples}},wrapS:{get:function(){return this._wrapS},set:function(I){if(this.bind(),p.indexOf(I)<0)throw new Error("gl-texture2d: Unknown wrap mode "+I);return this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_S,I),this._wrapS=I}},wrapT:{get:function(){return this._wrapT},set:function(I){if(this.bind(),p.indexOf(I)<0)throw new Error("gl-texture2d: Unknown wrap mode "+I);return this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_T,I),this._wrapT=I}},wrap:{get:function(){return this._wrapVector},set:function(I){if(Array.isArray(I)||(I=[I,I]),I.length!==2)throw new Error("gl-texture2d: Must specify wrap mode for rows and columns");for(var O=0;O<2;++O)if(p.indexOf(I[O])<0)throw new Error("gl-texture2d: Unknown wrap mode "+I);this._wrapS=I[0],this._wrapT=I[1];var z=this.gl;return this.bind(),z.texParameteri(z.TEXTURE_2D,z.TEXTURE_WRAP_S,this._wrapS),z.texParameteri(z.TEXTURE_2D,z.TEXTURE_WRAP_T,this._wrapT),I}},shape:{get:function(){return this._shapeVector},set:function(I){if(Array.isArray(I)){if(I.length!==2)throw new Error("gl-texture2d: Invalid texture shape")}else I=[0|I,0|I];return x(this,0|I[0],0|I[1]),[0|I[0],0|I[1]]}},width:{get:function(){return this._shape[0]},set:function(I){return x(this,I|=0,this._shape[1]),I}},height:{get:function(){return this._shape[1]},set:function(I){return I|=0,x(this,this._shape[0],I),I}}}),E.bind=function(I){var O=this.gl;return I!==void 0&&O.activeTexture(O.TEXTURE0+(0|I)),O.bindTexture(O.TEXTURE_2D,this.handle),I!==void 0?0|I:O.getParameter(O.ACTIVE_TEXTURE)-O.TEXTURE0},E.dispose=function(){this.gl.deleteTexture(this.handle)},E.generateMipmap=function(){this.bind(),this.gl.generateMipmap(this.gl.TEXTURE_2D);for(var I=Math.min(this._shape[0],this._shape[1]),O=0;I>0;++O,I>>>=1)this._mipLevels.indexOf(O)<0&&this._mipLevels.push(O)},E.setPixels=function(I,O,z,F){var B=this.gl;this.bind(),Array.isArray(O)?(F=z,z=0|O[1],O=0|O[0]):(O=O||0,z=z||0),F=F||0;var N=g(I)?I:I.raw;if(N)this._mipLevels.indexOf(F)<0?(B.texImage2D(B.TEXTURE_2D,0,this.format,this.format,this.type,N),this._mipLevels.push(F)):B.texSubImage2D(B.TEXTURE_2D,F,O,z,this.format,this.type,N);else{if(!(I.shape&&I.stride&&I.data))throw new Error("gl-texture2d: Unsupported data type");if(I.shape.length<2||O+I.shape[1]>this._shape[1]>>>F||z+I.shape[0]>this._shape[0]>>>F||O<0||z<0)throw new Error("gl-texture2d: Texture dimensions are out of bounds");(function(W,j,Y,U,G,q,H,ne){var te=ne.dtype,Z=ne.shape.slice();if(Z.length<2||Z.length>3)throw new Error("gl-texture2d: Invalid ndarray, must be 2d or 3d");var X=0,Q=0,re=_(Z,ne.stride.slice());if(te==="float32"?X=W.FLOAT:te==="float64"?(X=W.FLOAT,re=!1,te="float32"):te==="uint8"?X=W.UNSIGNED_BYTE:(X=W.UNSIGNED_BYTE,re=!1,te="uint8"),Z.length===2)Q=W.LUMINANCE,Z=[Z[0],Z[1],1],ne=u(ne.data,Z,[ne.stride[0],ne.stride[1],1],ne.offset);else{if(Z.length!==3)throw new Error("gl-texture2d: Invalid shape for texture");if(Z[2]===1)Q=W.ALPHA;else if(Z[2]===2)Q=W.LUMINANCE_ALPHA;else if(Z[2]===3)Q=W.RGB;else{if(Z[2]!==4)throw new Error("gl-texture2d: Invalid shape for pixel coords");Q=W.RGBA}Z[2]}if(Q!==W.LUMINANCE&&Q!==W.ALPHA||G!==W.LUMINANCE&&G!==W.ALPHA||(Q=G),Q!==G)throw new Error("gl-texture2d: Incompatible texture format for setPixels");var ie=ne.size,oe=H.indexOf(U)<0;if(oe&&H.push(U),X===q&&re)ne.offset===0&&ne.data.length===ie?oe?W.texImage2D(W.TEXTURE_2D,U,G,Z[0],Z[1],0,G,q,ne.data):W.texSubImage2D(W.TEXTURE_2D,U,j,Y,Z[0],Z[1],G,q,ne.data):oe?W.texImage2D(W.TEXTURE_2D,U,G,Z[0],Z[1],0,G,q,ne.data.subarray(ne.offset,ne.offset+ie)):W.texSubImage2D(W.TEXTURE_2D,U,j,Y,Z[0],Z[1],G,q,ne.data.subarray(ne.offset,ne.offset+ie));else{var ue;ue=q===W.FLOAT?o.mallocFloat32(ie):o.mallocUint8(ie);var ce=u(ue,Z,[Z[2],Z[2]*Z[0],1]);X===W.FLOAT&&q===W.UNSIGNED_BYTE?S(ce,ne):s.assign(ce,ne),oe?W.texImage2D(W.TEXTURE_2D,U,G,Z[0],Z[1],0,G,q,ue.subarray(0,ie)):W.texSubImage2D(W.TEXTURE_2D,U,j,Y,Z[0],Z[1],G,q,ue.subarray(0,ie)),q===W.FLOAT?o.freeFloat32(ue):o.freeUint8(ue)}})(B,O,z,F,this.format,this.type,this._mipLevels,I)}}},3056:function(h){h.exports=function(l,a,u){a?a.bind():l.bindBuffer(l.ELEMENT_ARRAY_BUFFER,null);var s=0|l.getParameter(l.MAX_VERTEX_ATTRIBS);if(u){if(u.length>s)throw new Error("gl-vao: Too many vertex attributes");for(var o=0;o1?0:Math.acos(g)};var u=a(5415),s=a(899),o=a(9305)},8827:function(h){h.exports=function(l,a){return l[0]=Math.ceil(a[0]),l[1]=Math.ceil(a[1]),l[2]=Math.ceil(a[2]),l}},7622:function(h){h.exports=function(l){var a=new Float32Array(3);return a[0]=l[0],a[1]=l[1],a[2]=l[2],a}},8782:function(h){h.exports=function(l,a){return l[0]=a[0],l[1]=a[1],l[2]=a[2],l}},8501:function(h){h.exports=function(){var l=new Float32Array(3);return l[0]=0,l[1]=0,l[2]=0,l}},903:function(h){h.exports=function(l,a,u){var s=a[0],o=a[1],c=a[2],f=u[0],p=u[1],w=u[2];return l[0]=o*w-c*p,l[1]=c*f-s*w,l[2]=s*p-o*f,l}},5981:function(h,l,a){h.exports=a(8288)},8288:function(h){h.exports=function(l,a){var u=a[0]-l[0],s=a[1]-l[1],o=a[2]-l[2];return Math.sqrt(u*u+s*s+o*o)}},8629:function(h,l,a){h.exports=a(7979)},7979:function(h){h.exports=function(l,a,u){return l[0]=a[0]/u[0],l[1]=a[1]/u[1],l[2]=a[2]/u[2],l}},9305:function(h){h.exports=function(l,a){return l[0]*a[0]+l[1]*a[1]+l[2]*a[2]}},154:function(h){h.exports=1e-6},4932:function(h,l,a){h.exports=function(s,o){var c=s[0],f=s[1],p=s[2],w=o[0],g=o[1],S=o[2];return Math.abs(c-w)<=u*Math.max(1,Math.abs(c),Math.abs(w))&&Math.abs(f-g)<=u*Math.max(1,Math.abs(f),Math.abs(g))&&Math.abs(p-S)<=u*Math.max(1,Math.abs(p),Math.abs(S))};var u=a(154)},5777:function(h){h.exports=function(l,a){return l[0]===a[0]&&l[1]===a[1]&&l[2]===a[2]}},3306:function(h){h.exports=function(l,a){return l[0]=Math.floor(a[0]),l[1]=Math.floor(a[1]),l[2]=Math.floor(a[2]),l}},7447:function(h,l,a){h.exports=function(s,o,c,f,p,w){var g,S;for(o||(o=3),c||(c=0),S=f?Math.min(f*o+c,s.length):s.length,g=c;g0&&(c=1/Math.sqrt(c),l[0]=a[0]*c,l[1]=a[1]*c,l[2]=a[2]*c),l}},6660:function(h){h.exports=function(l,a){a=a||1;var u=2*Math.random()*Math.PI,s=2*Math.random()-1,o=Math.sqrt(1-s*s)*a;return l[0]=Math.cos(u)*o,l[1]=Math.sin(u)*o,l[2]=s*a,l}},392:function(h){h.exports=function(l,a,u,s){var o=u[1],c=u[2],f=a[1]-o,p=a[2]-c,w=Math.sin(s),g=Math.cos(s);return l[0]=a[0],l[1]=o+f*g-p*w,l[2]=c+f*w+p*g,l}},3222:function(h){h.exports=function(l,a,u,s){var o=u[0],c=u[2],f=a[0]-o,p=a[2]-c,w=Math.sin(s),g=Math.cos(s);return l[0]=o+p*w+f*g,l[1]=a[1],l[2]=c+p*g-f*w,l}},3388:function(h){h.exports=function(l,a,u,s){var o=u[0],c=u[1],f=a[0]-o,p=a[1]-c,w=Math.sin(s),g=Math.cos(s);return l[0]=o+f*g-p*w,l[1]=c+f*w+p*g,l[2]=a[2],l}},1624:function(h){h.exports=function(l,a){return l[0]=Math.round(a[0]),l[1]=Math.round(a[1]),l[2]=Math.round(a[2]),l}},5685:function(h){h.exports=function(l,a,u){return l[0]=a[0]*u,l[1]=a[1]*u,l[2]=a[2]*u,l}},6722:function(h){h.exports=function(l,a,u,s){return l[0]=a[0]+u[0]*s,l[1]=a[1]+u[1]*s,l[2]=a[2]+u[2]*s,l}},831:function(h){h.exports=function(l,a,u,s){return l[0]=a,l[1]=u,l[2]=s,l}},5294:function(h,l,a){h.exports=a(6403)},3303:function(h,l,a){h.exports=a(4337)},6403:function(h){h.exports=function(l,a){var u=a[0]-l[0],s=a[1]-l[1],o=a[2]-l[2];return u*u+s*s+o*o}},4337:function(h){h.exports=function(l){var a=l[0],u=l[1],s=l[2];return a*a+u*u+s*s}},8921:function(h,l,a){h.exports=a(911)},911:function(h){h.exports=function(l,a,u){return l[0]=a[0]-u[0],l[1]=a[1]-u[1],l[2]=a[2]-u[2],l}},9908:function(h){h.exports=function(l,a,u){var s=a[0],o=a[1],c=a[2];return l[0]=s*u[0]+o*u[3]+c*u[6],l[1]=s*u[1]+o*u[4]+c*u[7],l[2]=s*u[2]+o*u[5]+c*u[8],l}},3255:function(h){h.exports=function(l,a,u){var s=a[0],o=a[1],c=a[2],f=u[3]*s+u[7]*o+u[11]*c+u[15];return f=f||1,l[0]=(u[0]*s+u[4]*o+u[8]*c+u[12])/f,l[1]=(u[1]*s+u[5]*o+u[9]*c+u[13])/f,l[2]=(u[2]*s+u[6]*o+u[10]*c+u[14])/f,l}},6568:function(h){h.exports=function(l,a,u){var s=a[0],o=a[1],c=a[2],f=u[0],p=u[1],w=u[2],g=u[3],S=g*s+p*c-w*o,x=g*o+w*s-f*c,T=g*c+f*o-p*s,E=-f*s-p*o-w*c;return l[0]=S*g+E*-f+x*-w-T*-p,l[1]=x*g+E*-p+T*-f-S*-w,l[2]=T*g+E*-w+S*-p-x*-f,l}},3433:function(h){h.exports=function(l,a,u){return l[0]=a[0]+u[0],l[1]=a[1]+u[1],l[2]=a[2]+u[2],l[3]=a[3]+u[3],l}},1413:function(h){h.exports=function(l){var a=new Float32Array(4);return a[0]=l[0],a[1]=l[1],a[2]=l[2],a[3]=l[3],a}},3470:function(h){h.exports=function(l,a){return l[0]=a[0],l[1]=a[1],l[2]=a[2],l[3]=a[3],l}},5313:function(h){h.exports=function(){var l=new Float32Array(4);return l[0]=0,l[1]=0,l[2]=0,l[3]=0,l}},5446:function(h){h.exports=function(l,a){var u=a[0]-l[0],s=a[1]-l[1],o=a[2]-l[2],c=a[3]-l[3];return Math.sqrt(u*u+s*s+o*o+c*c)}},205:function(h){h.exports=function(l,a,u){return l[0]=a[0]/u[0],l[1]=a[1]/u[1],l[2]=a[2]/u[2],l[3]=a[3]/u[3],l}},4242:function(h){h.exports=function(l,a){return l[0]*a[0]+l[1]*a[1]+l[2]*a[2]+l[3]*a[3]}},5680:function(h){h.exports=function(l,a,u,s){var o=new Float32Array(4);return o[0]=l,o[1]=a,o[2]=u,o[3]=s,o}},4020:function(h,l,a){h.exports={create:a(5313),clone:a(1413),fromValues:a(5680),copy:a(3470),set:a(6453),add:a(3433),subtract:a(2705),multiply:a(746),divide:a(205),min:a(2170),max:a(3030),scale:a(5510),scaleAndAdd:a(4224),distance:a(5446),squaredDistance:a(1542),length:a(8177),squaredLength:a(9037),negate:a(6459),inverse:a(8057),normalize:a(381),dot:a(4242),lerp:a(8746),random:a(3770),transformMat4:a(6342),transformQuat:a(5022)}},8057:function(h){h.exports=function(l,a){return l[0]=1/a[0],l[1]=1/a[1],l[2]=1/a[2],l[3]=1/a[3],l}},8177:function(h){h.exports=function(l){var a=l[0],u=l[1],s=l[2],o=l[3];return Math.sqrt(a*a+u*u+s*s+o*o)}},8746:function(h){h.exports=function(l,a,u,s){var o=a[0],c=a[1],f=a[2],p=a[3];return l[0]=o+s*(u[0]-o),l[1]=c+s*(u[1]-c),l[2]=f+s*(u[2]-f),l[3]=p+s*(u[3]-p),l}},3030:function(h){h.exports=function(l,a,u){return l[0]=Math.max(a[0],u[0]),l[1]=Math.max(a[1],u[1]),l[2]=Math.max(a[2],u[2]),l[3]=Math.max(a[3],u[3]),l}},2170:function(h){h.exports=function(l,a,u){return l[0]=Math.min(a[0],u[0]),l[1]=Math.min(a[1],u[1]),l[2]=Math.min(a[2],u[2]),l[3]=Math.min(a[3],u[3]),l}},746:function(h){h.exports=function(l,a,u){return l[0]=a[0]*u[0],l[1]=a[1]*u[1],l[2]=a[2]*u[2],l[3]=a[3]*u[3],l}},6459:function(h){h.exports=function(l,a){return l[0]=-a[0],l[1]=-a[1],l[2]=-a[2],l[3]=-a[3],l}},381:function(h){h.exports=function(l,a){var u=a[0],s=a[1],o=a[2],c=a[3],f=u*u+s*s+o*o+c*c;return f>0&&(f=1/Math.sqrt(f),l[0]=u*f,l[1]=s*f,l[2]=o*f,l[3]=c*f),l}},3770:function(h,l,a){var u=a(381),s=a(5510);h.exports=function(o,c){return c=c||1,o[0]=Math.random(),o[1]=Math.random(),o[2]=Math.random(),o[3]=Math.random(),u(o,o),s(o,o,c),o}},5510:function(h){h.exports=function(l,a,u){return l[0]=a[0]*u,l[1]=a[1]*u,l[2]=a[2]*u,l[3]=a[3]*u,l}},4224:function(h){h.exports=function(l,a,u,s){return l[0]=a[0]+u[0]*s,l[1]=a[1]+u[1]*s,l[2]=a[2]+u[2]*s,l[3]=a[3]+u[3]*s,l}},6453:function(h){h.exports=function(l,a,u,s,o){return l[0]=a,l[1]=u,l[2]=s,l[3]=o,l}},1542:function(h){h.exports=function(l,a){var u=a[0]-l[0],s=a[1]-l[1],o=a[2]-l[2],c=a[3]-l[3];return u*u+s*s+o*o+c*c}},9037:function(h){h.exports=function(l){var a=l[0],u=l[1],s=l[2],o=l[3];return a*a+u*u+s*s+o*o}},2705:function(h){h.exports=function(l,a,u){return l[0]=a[0]-u[0],l[1]=a[1]-u[1],l[2]=a[2]-u[2],l[3]=a[3]-u[3],l}},6342:function(h){h.exports=function(l,a,u){var s=a[0],o=a[1],c=a[2],f=a[3];return l[0]=u[0]*s+u[4]*o+u[8]*c+u[12]*f,l[1]=u[1]*s+u[5]*o+u[9]*c+u[13]*f,l[2]=u[2]*s+u[6]*o+u[10]*c+u[14]*f,l[3]=u[3]*s+u[7]*o+u[11]*c+u[15]*f,l}},5022:function(h){h.exports=function(l,a,u){var s=a[0],o=a[1],c=a[2],f=u[0],p=u[1],w=u[2],g=u[3],S=g*s+p*c-w*o,x=g*o+w*s-f*c,T=g*c+f*o-p*s,E=-f*s-p*o-w*c;return l[0]=S*g+E*-f+x*-w-T*-p,l[1]=x*g+E*-p+T*-f-S*-w,l[2]=T*g+E*-w+S*-p-x*-f,l[3]=a[3],l}},9365:function(h,l,a){var u=a(8096),s=a(7896);h.exports=function(o){for(var c=Array.isArray(o)?o:u(o),f=0;f0)continue;ye=ue.slice(0,1).join("")}return G(ye),z+=ye.length,(b=b.slice(ye.length)).length}}function Q(){return/[^a-fA-F0-9]/.test(x)?(G(b.join("")),L=p,_):(b.push(x),T=x,_+1)}function re(){return x==="."||/[eE]/.test(x)?(b.push(x),L=5,T=x,_+1):x==="x"&&b.length===1&&b[0]==="0"?(L=11,b.push(x),T=x,_+1):/[^\d]/.test(x)?(G(b.join("")),L=p,_):(b.push(x),T=x,_+1)}function ie(){return x==="f"&&(b.push(x),T=x,_+=1),/[eE]/.test(x)?(b.push(x),T=x,_+1):(x!=="-"&&x!=="+"||!/[eE]/.test(T))&&/[^\d]/.test(x)?(G(b.join("")),L=p,_):(b.push(x),T=x,_+1)}function oe(){if(/[^\d\w_]/.test(x)){var ue=b.join("");return L=U[ue]?8:Y[ue]?7:6,G(b.join("")),L=p,_}return b.push(x),T=x,_+1}};var u=a(399),s=a(9746),o=a(9525),c=a(9458),f=a(3585),p=999,w=9999,g=["block-comment","line-comment","preprocessor","operator","integer","float","ident","builtin","keyword","whitespace","eof","integer"]},3585:function(h,l,a){var u=a(9525);u=u.slice().filter(function(s){return!/^(gl\_|texture)/.test(s)}),h.exports=u.concat(["gl_VertexID","gl_InstanceID","gl_Position","gl_PointSize","gl_FragCoord","gl_FrontFacing","gl_FragDepth","gl_PointCoord","gl_MaxVertexAttribs","gl_MaxVertexUniformVectors","gl_MaxVertexOutputVectors","gl_MaxFragmentInputVectors","gl_MaxVertexTextureImageUnits","gl_MaxCombinedTextureImageUnits","gl_MaxTextureImageUnits","gl_MaxFragmentUniformVectors","gl_MaxDrawBuffers","gl_MinProgramTexelOffset","gl_MaxProgramTexelOffset","gl_DepthRangeParameters","gl_DepthRange","trunc","round","roundEven","isnan","isinf","floatBitsToInt","floatBitsToUint","intBitsToFloat","uintBitsToFloat","packSnorm2x16","unpackSnorm2x16","packUnorm2x16","unpackUnorm2x16","packHalf2x16","unpackHalf2x16","outerProduct","transpose","determinant","inverse","texture","textureSize","textureProj","textureLod","textureOffset","texelFetch","texelFetchOffset","textureProjOffset","textureLodOffset","textureProjLod","textureProjLodOffset","textureGrad","textureGradOffset","textureProjGrad","textureProjGradOffset"])},9525:function(h){h.exports=["abs","acos","all","any","asin","atan","ceil","clamp","cos","cross","dFdx","dFdy","degrees","distance","dot","equal","exp","exp2","faceforward","floor","fract","gl_BackColor","gl_BackLightModelProduct","gl_BackLightProduct","gl_BackMaterial","gl_BackSecondaryColor","gl_ClipPlane","gl_ClipVertex","gl_Color","gl_DepthRange","gl_DepthRangeParameters","gl_EyePlaneQ","gl_EyePlaneR","gl_EyePlaneS","gl_EyePlaneT","gl_Fog","gl_FogCoord","gl_FogFragCoord","gl_FogParameters","gl_FragColor","gl_FragCoord","gl_FragData","gl_FragDepth","gl_FragDepthEXT","gl_FrontColor","gl_FrontFacing","gl_FrontLightModelProduct","gl_FrontLightProduct","gl_FrontMaterial","gl_FrontSecondaryColor","gl_LightModel","gl_LightModelParameters","gl_LightModelProducts","gl_LightProducts","gl_LightSource","gl_LightSourceParameters","gl_MaterialParameters","gl_MaxClipPlanes","gl_MaxCombinedTextureImageUnits","gl_MaxDrawBuffers","gl_MaxFragmentUniformComponents","gl_MaxLights","gl_MaxTextureCoords","gl_MaxTextureImageUnits","gl_MaxTextureUnits","gl_MaxVaryingFloats","gl_MaxVertexAttribs","gl_MaxVertexTextureImageUnits","gl_MaxVertexUniformComponents","gl_ModelViewMatrix","gl_ModelViewMatrixInverse","gl_ModelViewMatrixInverseTranspose","gl_ModelViewMatrixTranspose","gl_ModelViewProjectionMatrix","gl_ModelViewProjectionMatrixInverse","gl_ModelViewProjectionMatrixInverseTranspose","gl_ModelViewProjectionMatrixTranspose","gl_MultiTexCoord0","gl_MultiTexCoord1","gl_MultiTexCoord2","gl_MultiTexCoord3","gl_MultiTexCoord4","gl_MultiTexCoord5","gl_MultiTexCoord6","gl_MultiTexCoord7","gl_Normal","gl_NormalMatrix","gl_NormalScale","gl_ObjectPlaneQ","gl_ObjectPlaneR","gl_ObjectPlaneS","gl_ObjectPlaneT","gl_Point","gl_PointCoord","gl_PointParameters","gl_PointSize","gl_Position","gl_ProjectionMatrix","gl_ProjectionMatrixInverse","gl_ProjectionMatrixInverseTranspose","gl_ProjectionMatrixTranspose","gl_SecondaryColor","gl_TexCoord","gl_TextureEnvColor","gl_TextureMatrix","gl_TextureMatrixInverse","gl_TextureMatrixInverseTranspose","gl_TextureMatrixTranspose","gl_Vertex","greaterThan","greaterThanEqual","inversesqrt","length","lessThan","lessThanEqual","log","log2","matrixCompMult","max","min","mix","mod","normalize","not","notEqual","pow","radians","reflect","refract","sign","sin","smoothstep","sqrt","step","tan","texture2D","texture2DLod","texture2DProj","texture2DProjLod","textureCube","textureCubeLod","texture2DLodEXT","texture2DProjLodEXT","textureCubeLodEXT","texture2DGradEXT","texture2DProjGradEXT","textureCubeGradEXT"]},9458:function(h,l,a){var u=a(399);h.exports=u.slice().concat(["layout","centroid","smooth","case","mat2x2","mat2x3","mat2x4","mat3x2","mat3x3","mat3x4","mat4x2","mat4x3","mat4x4","uvec2","uvec3","uvec4","samplerCubeShadow","sampler2DArray","sampler2DArrayShadow","isampler2D","isampler3D","isamplerCube","isampler2DArray","usampler2D","usampler3D","usamplerCube","usampler2DArray","coherent","restrict","readonly","writeonly","resource","atomic_uint","noperspective","patch","sample","subroutine","common","partition","active","filter","image1D","image2D","image3D","imageCube","iimage1D","iimage2D","iimage3D","iimageCube","uimage1D","uimage2D","uimage3D","uimageCube","image1DArray","image2DArray","iimage1DArray","iimage2DArray","uimage1DArray","uimage2DArray","image1DShadow","image2DShadow","image1DArrayShadow","image2DArrayShadow","imageBuffer","iimageBuffer","uimageBuffer","sampler1DArray","sampler1DArrayShadow","isampler1D","isampler1DArray","usampler1D","usampler1DArray","isampler2DRect","usampler2DRect","samplerBuffer","isamplerBuffer","usamplerBuffer","sampler2DMS","isampler2DMS","usampler2DMS","sampler2DMSArray","isampler2DMSArray","usampler2DMSArray"])},399:function(h){h.exports=["precision","highp","mediump","lowp","attribute","const","uniform","varying","break","continue","do","for","while","if","else","in","out","inout","float","int","uint","void","bool","true","false","discard","return","mat2","mat3","mat4","vec2","vec3","vec4","ivec2","ivec3","ivec4","bvec2","bvec3","bvec4","sampler1D","sampler2D","sampler3D","samplerCube","sampler1DShadow","sampler2DShadow","struct","asm","class","union","enum","typedef","template","this","packed","goto","switch","default","inline","noinline","volatile","public","static","extern","external","interface","long","short","double","half","fixed","unsigned","input","output","hvec2","hvec3","hvec4","dvec2","dvec3","dvec4","fvec2","fvec3","fvec4","sampler2DRect","sampler3DRect","sampler2DRectShadow","sizeof","cast","namespace","using"]},9746:function(h){h.exports=["<<=",">>=","++","--","<<",">>","<=",">=","==","!=","&&","||","+=","-=","*=","/=","%=","&=","^^","^=","|=","(",")","[","]",".","!","~","*","/","%","+","-","<",">","&","^","|","?",":","=",",",";","{","}"]},8096:function(h,l,a){var u=a(3193);h.exports=function(s,o){var c=u(o),f=[];return(f=f.concat(c(s))).concat(c(null))}},6832:function(h){h.exports=function(l){typeof l=="string"&&(l=[l]);for(var a=[].slice.call(arguments,1),u=[],s=0;s0;)for(var b=(S=L.pop()).adjacent,R=0;R<=T;++R){var I=b[R];if(I.boundary&&!(I.lastVisited<=-E)){for(var O=I.vertices,z=0;z<=T;++z){var F=O[z];_[z]=F<0?x:A[F]}var B=this.orient();if(B>0)return I;I.lastVisited=-E,B===0&&L.push(I)}}return null},g.walk=function(S,x){var T=this.vertices.length-1,E=this.dimension,_=this.vertices,A=this.tuple,L=x?this.interior.length*Math.random()|0:this.interior.length-1,b=this.interior[L];e:for(;!b.boundary;){for(var R=b.vertices,I=b.adjacent,O=0;O<=E;++O)A[O]=_[R[O]];for(b.lastVisited=T,O=0;O<=E;++O){var z=I[O];if(!(z.lastVisited>=T)){var F=A[O];A[O]=S;var B=this.orient();if(A[O]=F,B<0){b=z;continue e}z.boundary?z.lastVisited=-T:z.lastVisited=T}}return}return b},g.addPeaks=function(S,x){var T=this.vertices.length-1,E=this.dimension,_=this.vertices,A=this.tuple,L=this.interior,b=this.simplices,R=[x];x.lastVisited=T,x.vertices[x.vertices.indexOf(-1)]=T,x.boundary=!1,L.push(x);for(var I=[];R.length>0;){var O=(x=R.pop()).vertices,z=x.adjacent,F=O.indexOf(T);if(!(F<0)){for(var B=0;B<=E;++B)if(B!==F){var N=z[B];if(N.boundary&&!(N.lastVisited>=T)){var W=N.vertices;if(N.lastVisited!==-T){for(var j=0,Y=0;Y<=E;++Y)W[Y]<0?(j=Y,A[Y]=S):A[Y]=_[W[Y]];if(this.orient()>0){W[j]=T,N.boundary=!1,L.push(N),R.push(N),N.lastVisited=T;continue}N.lastVisited=-T}var U=N.adjacent,G=O.slice(),q=z.slice(),H=new o(G,q,!0);b.push(H);var ne=U.indexOf(x);if(!(ne<0))for(U[ne]=H,q[F]=N,G[B]=-1,q[B]=x,z[B]=H,H.flip(),Y=0;Y<=E;++Y){var te=G[Y];if(!(te<0||te===T)){for(var Z=new Array(E-1),X=0,Q=0;Q<=E;++Q){var re=G[Q];re<0||Q===Y||(Z[X++]=re)}I.push(new c(Z,H,Y))}}}}}}for(I.sort(f),B=0;B+1=0?L[R++]=b[O]:I=1&O;if(I===(1&S)){var z=L[0];L[0]=L[1],L[1]=z}x.push(L)}}return x}},9014:function(h,l,a){var u=a(5070);function s(R,I,O,z,F){this.mid=R,this.left=I,this.right=O,this.leftPoints=z,this.rightPoints=F,this.count=(I?I.count:0)+(O?O.count:0)+z.length}h.exports=function(R){return R&&R.length!==0?new L(A(R)):new L(null)};var o=s.prototype;function c(R,I){R.mid=I.mid,R.left=I.left,R.right=I.right,R.leftPoints=I.leftPoints,R.rightPoints=I.rightPoints,R.count=I.count}function f(R,I){var O=A(I);R.mid=O.mid,R.left=O.left,R.right=O.right,R.leftPoints=O.leftPoints,R.rightPoints=O.rightPoints,R.count=O.count}function p(R,I){var O=R.intervals([]);O.push(I),f(R,O)}function w(R,I){var O=R.intervals([]),z=O.indexOf(I);return z<0?0:(O.splice(z,1),f(R,O),1)}function g(R,I,O){for(var z=0;z=0&&R[z][1]>=I;--z){var F=O(R[z]);if(F)return F}}function x(R,I){for(var O=0;O>1],F=[],B=[],N=[];for(O=0;O3*(I+1)?p(this,R):this.left.insert(R):this.left=A([R]);else if(R[0]>this.mid)this.right?4*(this.right.count+1)>3*(I+1)?p(this,R):this.right.insert(R):this.right=A([R]);else{var O=u.ge(this.leftPoints,R,E),z=u.ge(this.rightPoints,R,_);this.leftPoints.splice(O,0,R),this.rightPoints.splice(z,0,R)}},o.remove=function(R){var I=this.count-this.leftPoints;if(R[1]3*(I-1)?w(this,R):(B=this.left.remove(R))===2?(this.left=null,this.count-=1,1):(B===1&&(this.count-=1),B):0;if(R[0]>this.mid)return this.right?4*(this.left?this.left.count:0)>3*(I-1)?w(this,R):(B=this.right.remove(R))===2?(this.right=null,this.count-=1,1):(B===1&&(this.count-=1),B):0;if(this.count===1)return this.leftPoints[0]===R?2:0;if(this.leftPoints.length===1&&this.leftPoints[0]===R){if(this.left&&this.right){for(var O=this,z=this.left;z.right;)O=z,z=z.right;if(O===this)z.right=this.right;else{var F=this.left,B=this.right;O.count-=z.count,O.right=z.left,z.left=F,z.right=B}c(this,z),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?c(this,this.left):c(this,this.right);return 1}for(F=u.ge(this.leftPoints,R,E);Fthis.mid?this.right&&(O=this.right.queryPoint(R,I))?O:S(this.rightPoints,R,I):x(this.leftPoints,I);var O},o.queryInterval=function(R,I,O){var z;return Rthis.mid&&this.right&&(z=this.right.queryInterval(R,I,O))?z:Ithis.mid?S(this.rightPoints,R,O):x(this.leftPoints,O)};var b=L.prototype;b.insert=function(R){this.root?this.root.insert(R):this.root=new s(R[0],null,null,[R],[R])},b.remove=function(R){if(this.root){var I=this.root.remove(R);return I===2&&(this.root=null),I!==0}return!1},b.queryPoint=function(R,I){if(this.root)return this.root.queryPoint(R,I)},b.queryInterval=function(R,I,O){if(R<=I&&this.root)return this.root.queryInterval(R,I,O)},Object.defineProperty(b,"count",{get:function(){return this.root?this.root.count:0}}),Object.defineProperty(b,"intervals",{get:function(){return this.root?this.root.intervals([]):[]}})},9560:function(h){h.exports=function(l){for(var a=new Array(l),u=0;u13)&&a!==32&&a!==133&&a!==160&&a!==5760&&a!==6158&&(a<8192||a>8205)&&a!==8232&&a!==8233&&a!==8239&&a!==8287&&a!==8288&&a!==12288&&a!==65279)return!1;return!0}},3578:function(h){h.exports=function(l,a,u){return l*(1-u)+a*u}},7191:function(h,l,a){var u=a(4690),s=a(9823),o=a(7332),c=a(7787),f=a(7437),p=a(2142),w={length:a(4693),normalize:a(899),dot:a(9305),cross:a(903)},g=s(),S=s(),x=[0,0,0,0],T=[[0,0,0],[0,0,0],[0,0,0]],E=[0,0,0];function _(A,L,b,R,I){A[0]=L[0]*R+b[0]*I,A[1]=L[1]*R+b[1]*I,A[2]=L[2]*R+b[2]*I}h.exports=function(A,L,b,R,I,O){if(L||(L=[0,0,0]),b||(b=[0,0,0]),R||(R=[0,0,0]),I||(I=[0,0,0,1]),O||(O=[0,0,0,1]),!u(g,A)||(o(S,g),S[3]=0,S[7]=0,S[11]=0,S[15]=1,Math.abs(c(S)<1e-8)))return!1;var z,F,B,N,W,j,Y,U=g[3],G=g[7],q=g[11],H=g[12],ne=g[13],te=g[14],Z=g[15];if(U!==0||G!==0||q!==0){if(x[0]=U,x[1]=G,x[2]=q,x[3]=Z,!f(S,S))return!1;p(S,S),z=I,B=S,N=(F=x)[0],W=F[1],j=F[2],Y=F[3],z[0]=B[0]*N+B[4]*W+B[8]*j+B[12]*Y,z[1]=B[1]*N+B[5]*W+B[9]*j+B[13]*Y,z[2]=B[2]*N+B[6]*W+B[10]*j+B[14]*Y,z[3]=B[3]*N+B[7]*W+B[11]*j+B[15]*Y}else I[0]=I[1]=I[2]=0,I[3]=1;if(L[0]=H,L[1]=ne,L[2]=te,function(Q,re){Q[0][0]=re[0],Q[0][1]=re[1],Q[0][2]=re[2],Q[1][0]=re[4],Q[1][1]=re[5],Q[1][2]=re[6],Q[2][0]=re[8],Q[2][1]=re[9],Q[2][2]=re[10]}(T,g),b[0]=w.length(T[0]),w.normalize(T[0],T[0]),R[0]=w.dot(T[0],T[1]),_(T[1],T[1],T[0],1,-R[0]),b[1]=w.length(T[1]),w.normalize(T[1],T[1]),R[0]/=b[1],R[1]=w.dot(T[0],T[2]),_(T[2],T[2],T[0],1,-R[1]),R[2]=w.dot(T[1],T[2]),_(T[2],T[2],T[1],1,-R[2]),b[2]=w.length(T[2]),w.normalize(T[2],T[2]),R[1]/=b[2],R[2]/=b[2],w.cross(E,T[1],T[2]),w.dot(T[0],E)<0)for(var X=0;X<3;X++)b[X]*=-1,T[X][0]*=-1,T[X][1]*=-1,T[X][2]*=-1;return O[0]=.5*Math.sqrt(Math.max(1+T[0][0]-T[1][1]-T[2][2],0)),O[1]=.5*Math.sqrt(Math.max(1-T[0][0]+T[1][1]-T[2][2],0)),O[2]=.5*Math.sqrt(Math.max(1-T[0][0]-T[1][1]+T[2][2],0)),O[3]=.5*Math.sqrt(Math.max(1+T[0][0]+T[1][1]+T[2][2],0)),T[2][1]>T[1][2]&&(O[0]=-O[0]),T[0][2]>T[2][0]&&(O[1]=-O[1]),T[1][0]>T[0][1]&&(O[2]=-O[2]),!0}},4690:function(h){h.exports=function(l,a){var u=a[15];if(u===0)return!1;for(var s=1/u,o=0;o<16;o++)l[o]=a[o]*s;return!0}},7649:function(h,l,a){var u=a(1868),s=a(1102),o=a(7191),c=a(7787),f=a(1116),p=S(),w=S(),g=S();function S(){return{translate:x(),scale:x(1),skew:x(),perspective:[0,0,0,1],quaternion:[0,0,0,1]}}function x(T){return[T||0,T||0,T||0]}h.exports=function(T,E,_,A){if(c(E)===0||c(_)===0)return!1;var L=o(E,p.translate,p.scale,p.skew,p.perspective,p.quaternion),b=o(_,w.translate,w.scale,w.skew,w.perspective,w.quaternion);return!(!L||!b||(u(g.translate,p.translate,w.translate,A),u(g.skew,p.skew,w.skew,A),u(g.scale,p.scale,w.scale,A),u(g.perspective,p.perspective,w.perspective,A),f(g.quaternion,p.quaternion,w.quaternion,A),s(T,g.translate,g.scale,g.skew,g.perspective,g.quaternion),0))}},1102:function(h,l,a){var u={identity:a(9947),translate:a(998),multiply:a(104),create:a(9823),scale:a(3668),fromRotationTranslation:a(7280)},s=(u.create(),u.create());h.exports=function(o,c,f,p,w,g){return u.identity(o),u.fromRotationTranslation(o,g,c),o[3]=w[0],o[7]=w[1],o[11]=w[2],o[15]=w[3],u.identity(s),p[2]!==0&&(s[9]=p[2],u.multiply(o,o,s)),p[1]!==0&&(s[9]=0,s[8]=p[1],u.multiply(o,o,s)),p[0]!==0&&(s[8]=0,s[4]=p[0],u.multiply(o,o,s)),u.scale(o,o,f),o}},9298:function(h,l,a){var u=a(5070),s=a(7649),o=a(7437),c=a(6109),f=a(7115),p=a(5240),w=a(3012),g=a(998),S=(a(3668),a(899)),x=[0,0,0];function T(A){this._components=A.slice(),this._time=[0],this.prevMatrix=A.slice(),this.nextMatrix=A.slice(),this.computedMatrix=A.slice(),this.computedInverse=A.slice(),this.computedEye=[0,0,0],this.computedUp=[0,0,0],this.computedCenter=[0,0,0],this.computedRadius=[0],this._limits=[-1/0,1/0]}h.exports=function(A){return new T((A=A||{}).matrix||[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1])};var E=T.prototype;E.recalcMatrix=function(A){var L=this._time,b=u.le(L,A),R=this.computedMatrix;if(!(b<0)){var I=this._components;if(b===L.length-1)for(var O=16*b,z=0;z<16;++z)R[z]=I[O++];else{var F=L[b+1]-L[b],B=(O=16*b,this.prevMatrix),N=!0;for(z=0;z<16;++z)B[z]=I[O++];var W=this.nextMatrix;for(z=0;z<16;++z)W[z]=I[O++],N=N&&B[z]===W[z];if(F<1e-6||N)for(z=0;z<16;++z)R[z]=B[z];else s(R,B,W,(A-L[b])/F)}var j=this.computedUp;j[0]=R[1],j[1]=R[5],j[2]=R[9],S(j,j);var Y=this.computedInverse;o(Y,R);var U=this.computedEye,G=Y[15];U[0]=Y[12]/G,U[1]=Y[13]/G,U[2]=Y[14]/G;var q=this.computedCenter,H=Math.exp(this.computedRadius[0]);for(z=0;z<3;++z)q[z]=U[z]-R[2+4*z]*H}},E.idle=function(A){if(!(A1&&u(s[w[T-2]],s[w[T-1]],x)<=0;)T-=1,w.pop();for(w.push(S),T=g.length;T>1&&u(s[g[T-2]],s[g[T-1]],x)>=0;)T-=1,g.pop();g.push(S)}c=new Array(g.length+w.length-2);for(var E=0,_=(f=0,w.length);f<_;++f)c[E++]=w[f];for(var A=g.length-2;A>0;--A)c[E++]=g[A];return c};var u=a(417)[3]},6145:function(h,l,a){h.exports=function(s,o){o||(o=s,s=window);var c=0,f=0,p=0,w={shift:!1,alt:!1,control:!1,meta:!1},g=!1;function S(O){var z=!1;return"altKey"in O&&(z=z||O.altKey!==w.alt,w.alt=!!O.altKey),"shiftKey"in O&&(z=z||O.shiftKey!==w.shift,w.shift=!!O.shiftKey),"ctrlKey"in O&&(z=z||O.ctrlKey!==w.control,w.control=!!O.ctrlKey),"metaKey"in O&&(z=z||O.metaKey!==w.meta,w.meta=!!O.metaKey),z}function x(O,z){var F=u.x(z),B=u.y(z);"buttons"in z&&(O=0|z.buttons),(O!==c||F!==f||B!==p||S(z))&&(c=0|O,f=F||0,p=B||0,o&&o(c,f,p,w))}function T(O){x(0,O)}function E(){(c||f||p||w.shift||w.alt||w.meta||w.control)&&(f=p=0,c=0,w.shift=w.alt=w.control=w.meta=!1,o&&o(0,0,0,w))}function _(O){S(O)&&o&&o(c,f,p,w)}function A(O){u.buttons(O)===0?x(0,O):x(c,O)}function L(O){x(c|u.buttons(O),O)}function b(O){x(c&~u.buttons(O),O)}function R(){g||(g=!0,s.addEventListener("mousemove",A),s.addEventListener("mousedown",L),s.addEventListener("mouseup",b),s.addEventListener("mouseleave",T),s.addEventListener("mouseenter",T),s.addEventListener("mouseout",T),s.addEventListener("mouseover",T),s.addEventListener("blur",E),s.addEventListener("keyup",_),s.addEventListener("keydown",_),s.addEventListener("keypress",_),s!==window&&(window.addEventListener("blur",E),window.addEventListener("keyup",_),window.addEventListener("keydown",_),window.addEventListener("keypress",_)))}R();var I={element:s};return Object.defineProperties(I,{enabled:{get:function(){return g},set:function(O){O?R():g&&(g=!1,s.removeEventListener("mousemove",A),s.removeEventListener("mousedown",L),s.removeEventListener("mouseup",b),s.removeEventListener("mouseleave",T),s.removeEventListener("mouseenter",T),s.removeEventListener("mouseout",T),s.removeEventListener("mouseover",T),s.removeEventListener("blur",E),s.removeEventListener("keyup",_),s.removeEventListener("keydown",_),s.removeEventListener("keypress",_),s!==window&&(window.removeEventListener("blur",E),window.removeEventListener("keyup",_),window.removeEventListener("keydown",_),window.removeEventListener("keypress",_)))},enumerable:!0},buttons:{get:function(){return c},enumerable:!0},x:{get:function(){return f},enumerable:!0},y:{get:function(){return p},enumerable:!0},mods:{get:function(){return w},enumerable:!0}}),I};var u=a(4110)},2565:function(h){var l={left:0,top:0};h.exports=function(a,u,s){u=u||a.currentTarget||a.srcElement,Array.isArray(s)||(s=[0,0]);var o,c=a.clientX||0,f=a.clientY||0,p=(o=u)===window||o===document||o===document.body?l:o.getBoundingClientRect();return s[0]=c-p.left,s[1]=f-p.top,s}},4110:function(h,l){function a(u){return u.target||u.srcElement||window}l.buttons=function(u){if(typeof u=="object"){if("buttons"in u)return u.buttons;if("which"in u){if((s=u.which)===2)return 4;if(s===3)return 2;if(s>0)return 1<=0)return 1< 0"),typeof o.vertex!="function"&&c("Must specify vertex creation function"),typeof o.cell!="function"&&c("Must specify cell creation function"),typeof o.phase!="function"&&c("Must specify phase function");for(var w=o.getters||[],g=new Array(p),S=0;S=0?g[S]=!0:g[S]=!1;return function(x,T,E,_,A,L){var b=[L,A].join(",");return(0,s[b])(x,T,E,u.mallocUint32,u.freeUint32)}(o.vertex,o.cell,o.phase,0,f,g)};var s={"false,0,1":function(o,c,f,p,w){return function(g,S,x,T){var E,_=0|g.shape[0],A=0|g.shape[1],L=g.data,b=0|g.offset,R=0|g.stride[0],I=0|g.stride[1],O=b,z=0|-R,F=0,B=0|-I,N=0,W=-R-I|0,j=0,Y=0|R,U=I-R*_|0,G=0,q=0,H=0,ne=2*_|0,te=p(ne),Z=p(ne),X=0,Q=0,re=-1,ie=-1,oe=0,ue=0|-_,ce=0|_,ye=0,de=-_-1|0,me=_-1|0,pe=0,xe=0,Pe=0;for(G=0;G<_;++G)te[X++]=f(L[O],S,x,T),O+=Y;if(O+=U,A>0){if(q=1,te[X++]=f(L[O],S,x,T),O+=Y,_>0)for(G=1,E=L[O],Q=te[X]=f(E,S,x,T),oe=te[X+re],ye=te[X+ue],pe=te[X+de],Q===oe&&Q===ye&&Q===pe||(F=L[O+z],N=L[O+B],j=L[O+W],o(G,q,E,F,N,j,Q,oe,ye,pe,S,x,T),xe=Z[X]=H++),X+=1,O+=Y,G=2;G<_;++G)E=L[O],Q=te[X]=f(E,S,x,T),oe=te[X+re],ye=te[X+ue],pe=te[X+de],Q===oe&&Q===ye&&Q===pe||(F=L[O+z],N=L[O+B],j=L[O+W],o(G,q,E,F,N,j,Q,oe,ye,pe,S,x,T),xe=Z[X]=H++,pe!==oe&&c(Z[X+re],xe,j,F,pe,oe,S,x,T)),X+=1,O+=Y;for(O+=U,X=0,Pe=re,re=ie,ie=Pe,Pe=ue,ue=ce,ce=Pe,Pe=de,de=me,me=Pe,q=2;q0)for(G=1,E=L[O],Q=te[X]=f(E,S,x,T),oe=te[X+re],ye=te[X+ue],pe=te[X+de],Q===oe&&Q===ye&&Q===pe||(F=L[O+z],N=L[O+B],j=L[O+W],o(G,q,E,F,N,j,Q,oe,ye,pe,S,x,T),xe=Z[X]=H++,pe!==ye&&c(Z[X+ue],xe,N,j,ye,pe,S,x,T)),X+=1,O+=Y,G=2;G<_;++G)E=L[O],Q=te[X]=f(E,S,x,T),oe=te[X+re],ye=te[X+ue],pe=te[X+de],Q===oe&&Q===ye&&Q===pe||(F=L[O+z],N=L[O+B],j=L[O+W],o(G,q,E,F,N,j,Q,oe,ye,pe,S,x,T),xe=Z[X]=H++,pe!==ye&&c(Z[X+ue],xe,N,j,ye,pe,S,x,T),pe!==oe&&c(Z[X+re],xe,j,F,pe,oe,S,x,T)),X+=1,O+=Y;1&q&&(X=0),Pe=re,re=ie,ie=Pe,Pe=ue,ue=ce,ce=Pe,Pe=de,de=me,me=Pe,O+=U}}w(Z),w(te)}},"false,1,0":function(o,c,f,p,w){return function(g,S,x,T){var E,_=0|g.shape[0],A=0|g.shape[1],L=g.data,b=0|g.offset,R=0|g.stride[0],I=0|g.stride[1],O=b,z=0|-R,F=0,B=0|-I,N=0,W=-R-I|0,j=0,Y=0|I,U=R-I*A|0,G=0,q=0,H=0,ne=2*A|0,te=p(ne),Z=p(ne),X=0,Q=0,re=-1,ie=-1,oe=0,ue=0|-A,ce=0|A,ye=0,de=-A-1|0,me=A-1|0,pe=0,xe=0,Pe=0;for(q=0;q0){if(G=1,te[X++]=f(L[O],S,x,T),O+=Y,A>0)for(q=1,E=L[O],Q=te[X]=f(E,S,x,T),ye=te[X+ue],oe=te[X+re],pe=te[X+de],Q===ye&&Q===oe&&Q===pe||(F=L[O+z],N=L[O+B],j=L[O+W],o(G,q,E,F,N,j,Q,ye,oe,pe,S,x,T),xe=Z[X]=H++),X+=1,O+=Y,q=2;q0)for(q=1,E=L[O],Q=te[X]=f(E,S,x,T),ye=te[X+ue],oe=te[X+re],pe=te[X+de],Q===ye&&Q===oe&&Q===pe||(F=L[O+z],N=L[O+B],j=L[O+W],o(G,q,E,F,N,j,Q,ye,oe,pe,S,x,T),xe=Z[X]=H++,pe!==ye&&c(Z[X+ue],xe,j,F,pe,ye,S,x,T)),X+=1,O+=Y,q=2;q2&&O[1]>2&&b(I.pick(-1,-1).lo(1,1).hi(O[0]-2,O[1]-2),R.pick(-1,-1,0).lo(1,1).hi(O[0]-2,O[1]-2),R.pick(-1,-1,1).lo(1,1).hi(O[0]-2,O[1]-2)),O[1]>2&&(L(I.pick(0,-1).lo(1).hi(O[1]-2),R.pick(0,-1,1).lo(1).hi(O[1]-2)),A(R.pick(0,-1,0).lo(1).hi(O[1]-2))),O[1]>2&&(L(I.pick(O[0]-1,-1).lo(1).hi(O[1]-2),R.pick(O[0]-1,-1,1).lo(1).hi(O[1]-2)),A(R.pick(O[0]-1,-1,0).lo(1).hi(O[1]-2))),O[0]>2&&(L(I.pick(-1,0).lo(1).hi(O[0]-2),R.pick(-1,0,0).lo(1).hi(O[0]-2)),A(R.pick(-1,0,1).lo(1).hi(O[0]-2))),O[0]>2&&(L(I.pick(-1,O[1]-1).lo(1).hi(O[0]-2),R.pick(-1,O[1]-1,0).lo(1).hi(O[0]-2)),A(R.pick(-1,O[1]-1,1).lo(1).hi(O[0]-2))),R.set(0,0,0,0),R.set(0,0,1,0),R.set(O[0]-1,0,0,0),R.set(O[0]-1,0,1,0),R.set(0,O[1]-1,0,0),R.set(0,O[1]-1,1,0),R.set(O[0]-1,O[1]-1,0,0),R.set(O[0]-1,O[1]-1,1,0),R}}h.exports=function(_,A,L){return Array.isArray(L)||(L=u(A.dimension,typeof L=="string"?L:"clamp")),A.size===0?_:A.dimension===0?(_.set(0),_):function(b){var R=b.join();if(F=g[R])return F;for(var I=b.length,O=[S,x],z=1;z<=I;++z)O.push(T(z));var F=E.apply(void 0,O);return g[R]=F,F}(L)(_,A)}},3581:function(h){function l(o,c){var f=Math.floor(c),p=c-f,w=0<=f&&f0;){W<64?(_=W,W=0):(_=64,W-=64);for(var j=0|f[1];j>0;){j<64?(A=j,j=0):(A=64,j-=64),g=B+W*b+j*R,T=N+W*O+j*z;var Y=0,U=0,G=0,q=I,H=b-L*I,ne=R-_*b,te=F,Z=O-L*F,X=z-_*O;for(G=0;G0;){z<64?(_=z,z=0):(_=64,z-=64);for(var F=0|f[0];F>0;){F<64?(E=F,F=0):(E=64,F-=64),g=I+z*L+F*A,T=O+z*R+F*b;var B=0,N=0,W=L,j=A-_*L,Y=R,U=b-_*R;for(N=0;N0;){N<64?(A=N,N=0):(A=64,N-=64);for(var W=0|f[0];W>0;){W<64?(E=W,W=0):(E=64,W-=64);for(var j=0|f[1];j>0;){j<64?(_=j,j=0):(_=64,j-=64),g=F+N*R+W*L+j*b,T=B+N*z+W*I+j*O;var Y=0,U=0,G=0,q=R,H=L-A*R,ne=b-E*L,te=z,Z=I-A*z,X=O-E*I;for(G=0;G<_;++G){for(U=0;Ug;){N=0,W=F-E;t:for(B=0;BY)break t;W+=R,N+=I}for(N=F,W=F-E,B=0;B>1,Ce=Se-Pe,ae=Se+Pe,he=_e,be=Ce,ke=Se,Le=ae,Be=Me,ze=x+1,je=T-1,ge=!0,we=0,Ee=0,Ve=0,Ye=R,$e=w(Ye),st=w(Ye);ne=A*he,te=A*be,xe=_;e:for(H=0;H0){B=he,he=be,be=B;break e}if(Ve<0)break e;xe+=O}ne=A*Le,te=A*Be,xe=_;e:for(H=0;H0){B=Le,Le=Be,Be=B;break e}if(Ve<0)break e;xe+=O}ne=A*he,te=A*ke,xe=_;e:for(H=0;H0){B=he,he=ke,ke=B;break e}if(Ve<0)break e;xe+=O}ne=A*be,te=A*ke,xe=_;e:for(H=0;H0){B=be,be=ke,ke=B;break e}if(Ve<0)break e;xe+=O}ne=A*he,te=A*Le,xe=_;e:for(H=0;H0){B=he,he=Le,Le=B;break e}if(Ve<0)break e;xe+=O}ne=A*ke,te=A*Le,xe=_;e:for(H=0;H0){B=ke,ke=Le,Le=B;break e}if(Ve<0)break e;xe+=O}ne=A*be,te=A*Be,xe=_;e:for(H=0;H0){B=be,be=Be,Be=B;break e}if(Ve<0)break e;xe+=O}ne=A*be,te=A*ke,xe=_;e:for(H=0;H0){B=be,be=ke,ke=B;break e}if(Ve<0)break e;xe+=O}ne=A*Le,te=A*Be,xe=_;e:for(H=0;H0){B=Le,Le=Be,Be=B;break e}if(Ve<0)break e;xe+=O}for(ne=A*he,te=A*be,Z=A*ke,X=A*Le,Q=A*Be,re=A*_e,ie=A*Se,oe=A*Me,pe=0,xe=_,H=0;H0)){if(Ve<0){for(ne=A*Y,te=A*ze,Z=A*je,xe=_,H=0;H0)for(;;){for(U=_+je*A,pe=0,H=0;H0)){for(U=_+je*A,pe=0,H=0;HMe){e:for(;;){for(U=_+ze*A,pe=0,xe=_,H=0;H1&&L?R(A,L[0],L[1]):R(A)}(p,w,x);return S(x,T)}},8729:function(h,l,a){var u=a(8139),s={};h.exports=function(o){var c=o.order,f=o.dtype,p=[c,f].join(":"),w=s[p];return w||(s[p]=w=u(c,f)),w(o),o}},5050:function(h,l,a){var u=a(4780),s=typeof Float64Array<"u";function o(g,S){return g[0]-S[0]}function c(){var g,S=this.stride,x=new Array(S.length);for(g=0;g=0&&(A+=R*(L=0|_),b-=L),new T(this.data,b,R,A)},E.step=function(_){var A=this.shape[0],L=this.stride[0],b=this.offset,R=0,I=Math.ceil;return typeof _=="number"&&((R=0|_)<0?(b+=L*(A-1),A=I(-A/R)):A=I(A/R),L*=R),new T(this.data,A,L,b)},E.transpose=function(_){_=_===void 0?0:0|_;var A=this.shape,L=this.stride;return new T(this.data,A[_],L[_],this.offset)},E.pick=function(_){var A=[],L=[],b=this.offset;return typeof _=="number"&&_>=0?b=b+this.stride[0]*_|0:(A.push(this.shape[0]),L.push(this.stride[0])),(0,S[A.length+1])(this.data,A,L,b)},function(_,A,L,b){return new T(_,A[0],L[0],b)}},2:function(g,S,x){function T(_,A,L,b,R,I){this.data=_,this.shape=[A,L],this.stride=[b,R],this.offset=0|I}var E=T.prototype;return E.dtype=g,E.dimension=2,Object.defineProperty(E,"size",{get:function(){return this.shape[0]*this.shape[1]}}),Object.defineProperty(E,"order",{get:function(){return Math.abs(this.stride[0])>Math.abs(this.stride[1])?[1,0]:[0,1]}}),E.set=function(_,A,L){return g==="generic"?this.data.set(this.offset+this.stride[0]*_+this.stride[1]*A,L):this.data[this.offset+this.stride[0]*_+this.stride[1]*A]=L},E.get=function(_,A){return g==="generic"?this.data.get(this.offset+this.stride[0]*_+this.stride[1]*A):this.data[this.offset+this.stride[0]*_+this.stride[1]*A]},E.index=function(_,A){return this.offset+this.stride[0]*_+this.stride[1]*A},E.hi=function(_,A){return new T(this.data,typeof _!="number"||_<0?this.shape[0]:0|_,typeof A!="number"||A<0?this.shape[1]:0|A,this.stride[0],this.stride[1],this.offset)},E.lo=function(_,A){var L=this.offset,b=0,R=this.shape[0],I=this.shape[1],O=this.stride[0],z=this.stride[1];return typeof _=="number"&&_>=0&&(L+=O*(b=0|_),R-=b),typeof A=="number"&&A>=0&&(L+=z*(b=0|A),I-=b),new T(this.data,R,I,O,z,L)},E.step=function(_,A){var L=this.shape[0],b=this.shape[1],R=this.stride[0],I=this.stride[1],O=this.offset,z=0,F=Math.ceil;return typeof _=="number"&&((z=0|_)<0?(O+=R*(L-1),L=F(-L/z)):L=F(L/z),R*=z),typeof A=="number"&&((z=0|A)<0?(O+=I*(b-1),b=F(-b/z)):b=F(b/z),I*=z),new T(this.data,L,b,R,I,O)},E.transpose=function(_,A){_=_===void 0?0:0|_,A=A===void 0?1:0|A;var L=this.shape,b=this.stride;return new T(this.data,L[_],L[A],b[_],b[A],this.offset)},E.pick=function(_,A){var L=[],b=[],R=this.offset;return typeof _=="number"&&_>=0?R=R+this.stride[0]*_|0:(L.push(this.shape[0]),b.push(this.stride[0])),typeof A=="number"&&A>=0?R=R+this.stride[1]*A|0:(L.push(this.shape[1]),b.push(this.stride[1])),(0,S[L.length+1])(this.data,L,b,R)},function(_,A,L,b){return new T(_,A[0],A[1],L[0],L[1],b)}},3:function(g,S,x){function T(_,A,L,b,R,I,O,z){this.data=_,this.shape=[A,L,b],this.stride=[R,I,O],this.offset=0|z}var E=T.prototype;return E.dtype=g,E.dimension=3,Object.defineProperty(E,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]}}),Object.defineProperty(E,"order",{get:function(){var _=Math.abs(this.stride[0]),A=Math.abs(this.stride[1]),L=Math.abs(this.stride[2]);return _>A?A>L?[2,1,0]:_>L?[1,2,0]:[1,0,2]:_>L?[2,0,1]:L>A?[0,1,2]:[0,2,1]}}),E.set=function(_,A,L,b){return g==="generic"?this.data.set(this.offset+this.stride[0]*_+this.stride[1]*A+this.stride[2]*L,b):this.data[this.offset+this.stride[0]*_+this.stride[1]*A+this.stride[2]*L]=b},E.get=function(_,A,L){return g==="generic"?this.data.get(this.offset+this.stride[0]*_+this.stride[1]*A+this.stride[2]*L):this.data[this.offset+this.stride[0]*_+this.stride[1]*A+this.stride[2]*L]},E.index=function(_,A,L){return this.offset+this.stride[0]*_+this.stride[1]*A+this.stride[2]*L},E.hi=function(_,A,L){return new T(this.data,typeof _!="number"||_<0?this.shape[0]:0|_,typeof A!="number"||A<0?this.shape[1]:0|A,typeof L!="number"||L<0?this.shape[2]:0|L,this.stride[0],this.stride[1],this.stride[2],this.offset)},E.lo=function(_,A,L){var b=this.offset,R=0,I=this.shape[0],O=this.shape[1],z=this.shape[2],F=this.stride[0],B=this.stride[1],N=this.stride[2];return typeof _=="number"&&_>=0&&(b+=F*(R=0|_),I-=R),typeof A=="number"&&A>=0&&(b+=B*(R=0|A),O-=R),typeof L=="number"&&L>=0&&(b+=N*(R=0|L),z-=R),new T(this.data,I,O,z,F,B,N,b)},E.step=function(_,A,L){var b=this.shape[0],R=this.shape[1],I=this.shape[2],O=this.stride[0],z=this.stride[1],F=this.stride[2],B=this.offset,N=0,W=Math.ceil;return typeof _=="number"&&((N=0|_)<0?(B+=O*(b-1),b=W(-b/N)):b=W(b/N),O*=N),typeof A=="number"&&((N=0|A)<0?(B+=z*(R-1),R=W(-R/N)):R=W(R/N),z*=N),typeof L=="number"&&((N=0|L)<0?(B+=F*(I-1),I=W(-I/N)):I=W(I/N),F*=N),new T(this.data,b,R,I,O,z,F,B)},E.transpose=function(_,A,L){_=_===void 0?0:0|_,A=A===void 0?1:0|A,L=L===void 0?2:0|L;var b=this.shape,R=this.stride;return new T(this.data,b[_],b[A],b[L],R[_],R[A],R[L],this.offset)},E.pick=function(_,A,L){var b=[],R=[],I=this.offset;return typeof _=="number"&&_>=0?I=I+this.stride[0]*_|0:(b.push(this.shape[0]),R.push(this.stride[0])),typeof A=="number"&&A>=0?I=I+this.stride[1]*A|0:(b.push(this.shape[1]),R.push(this.stride[1])),typeof L=="number"&&L>=0?I=I+this.stride[2]*L|0:(b.push(this.shape[2]),R.push(this.stride[2])),(0,S[b.length+1])(this.data,b,R,I)},function(_,A,L,b){return new T(_,A[0],A[1],A[2],L[0],L[1],L[2],b)}},4:function(g,S,x){function T(_,A,L,b,R,I,O,z,F,B){this.data=_,this.shape=[A,L,b,R],this.stride=[I,O,z,F],this.offset=0|B}var E=T.prototype;return E.dtype=g,E.dimension=4,Object.defineProperty(E,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]*this.shape[3]}}),Object.defineProperty(E,"order",{get:x}),E.set=function(_,A,L,b,R){return g==="generic"?this.data.set(this.offset+this.stride[0]*_+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b,R):this.data[this.offset+this.stride[0]*_+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b]=R},E.get=function(_,A,L,b){return g==="generic"?this.data.get(this.offset+this.stride[0]*_+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b):this.data[this.offset+this.stride[0]*_+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b]},E.index=function(_,A,L,b){return this.offset+this.stride[0]*_+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b},E.hi=function(_,A,L,b){return new T(this.data,typeof _!="number"||_<0?this.shape[0]:0|_,typeof A!="number"||A<0?this.shape[1]:0|A,typeof L!="number"||L<0?this.shape[2]:0|L,typeof b!="number"||b<0?this.shape[3]:0|b,this.stride[0],this.stride[1],this.stride[2],this.stride[3],this.offset)},E.lo=function(_,A,L,b){var R=this.offset,I=0,O=this.shape[0],z=this.shape[1],F=this.shape[2],B=this.shape[3],N=this.stride[0],W=this.stride[1],j=this.stride[2],Y=this.stride[3];return typeof _=="number"&&_>=0&&(R+=N*(I=0|_),O-=I),typeof A=="number"&&A>=0&&(R+=W*(I=0|A),z-=I),typeof L=="number"&&L>=0&&(R+=j*(I=0|L),F-=I),typeof b=="number"&&b>=0&&(R+=Y*(I=0|b),B-=I),new T(this.data,O,z,F,B,N,W,j,Y,R)},E.step=function(_,A,L,b){var R=this.shape[0],I=this.shape[1],O=this.shape[2],z=this.shape[3],F=this.stride[0],B=this.stride[1],N=this.stride[2],W=this.stride[3],j=this.offset,Y=0,U=Math.ceil;return typeof _=="number"&&((Y=0|_)<0?(j+=F*(R-1),R=U(-R/Y)):R=U(R/Y),F*=Y),typeof A=="number"&&((Y=0|A)<0?(j+=B*(I-1),I=U(-I/Y)):I=U(I/Y),B*=Y),typeof L=="number"&&((Y=0|L)<0?(j+=N*(O-1),O=U(-O/Y)):O=U(O/Y),N*=Y),typeof b=="number"&&((Y=0|b)<0?(j+=W*(z-1),z=U(-z/Y)):z=U(z/Y),W*=Y),new T(this.data,R,I,O,z,F,B,N,W,j)},E.transpose=function(_,A,L,b){_=_===void 0?0:0|_,A=A===void 0?1:0|A,L=L===void 0?2:0|L,b=b===void 0?3:0|b;var R=this.shape,I=this.stride;return new T(this.data,R[_],R[A],R[L],R[b],I[_],I[A],I[L],I[b],this.offset)},E.pick=function(_,A,L,b){var R=[],I=[],O=this.offset;return typeof _=="number"&&_>=0?O=O+this.stride[0]*_|0:(R.push(this.shape[0]),I.push(this.stride[0])),typeof A=="number"&&A>=0?O=O+this.stride[1]*A|0:(R.push(this.shape[1]),I.push(this.stride[1])),typeof L=="number"&&L>=0?O=O+this.stride[2]*L|0:(R.push(this.shape[2]),I.push(this.stride[2])),typeof b=="number"&&b>=0?O=O+this.stride[3]*b|0:(R.push(this.shape[3]),I.push(this.stride[3])),(0,S[R.length+1])(this.data,R,I,O)},function(_,A,L,b){return new T(_,A[0],A[1],A[2],A[3],L[0],L[1],L[2],L[3],b)}},5:function(g,S,x){function T(_,A,L,b,R,I,O,z,F,B,N,W){this.data=_,this.shape=[A,L,b,R,I],this.stride=[O,z,F,B,N],this.offset=0|W}var E=T.prototype;return E.dtype=g,E.dimension=5,Object.defineProperty(E,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]*this.shape[3]*this.shape[4]}}),Object.defineProperty(E,"order",{get:x}),E.set=function(_,A,L,b,R,I){return g==="generic"?this.data.set(this.offset+this.stride[0]*_+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*R,I):this.data[this.offset+this.stride[0]*_+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*R]=I},E.get=function(_,A,L,b,R){return g==="generic"?this.data.get(this.offset+this.stride[0]*_+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*R):this.data[this.offset+this.stride[0]*_+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*R]},E.index=function(_,A,L,b,R){return this.offset+this.stride[0]*_+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*R},E.hi=function(_,A,L,b,R){return new T(this.data,typeof _!="number"||_<0?this.shape[0]:0|_,typeof A!="number"||A<0?this.shape[1]:0|A,typeof L!="number"||L<0?this.shape[2]:0|L,typeof b!="number"||b<0?this.shape[3]:0|b,typeof R!="number"||R<0?this.shape[4]:0|R,this.stride[0],this.stride[1],this.stride[2],this.stride[3],this.stride[4],this.offset)},E.lo=function(_,A,L,b,R){var I=this.offset,O=0,z=this.shape[0],F=this.shape[1],B=this.shape[2],N=this.shape[3],W=this.shape[4],j=this.stride[0],Y=this.stride[1],U=this.stride[2],G=this.stride[3],q=this.stride[4];return typeof _=="number"&&_>=0&&(I+=j*(O=0|_),z-=O),typeof A=="number"&&A>=0&&(I+=Y*(O=0|A),F-=O),typeof L=="number"&&L>=0&&(I+=U*(O=0|L),B-=O),typeof b=="number"&&b>=0&&(I+=G*(O=0|b),N-=O),typeof R=="number"&&R>=0&&(I+=q*(O=0|R),W-=O),new T(this.data,z,F,B,N,W,j,Y,U,G,q,I)},E.step=function(_,A,L,b,R){var I=this.shape[0],O=this.shape[1],z=this.shape[2],F=this.shape[3],B=this.shape[4],N=this.stride[0],W=this.stride[1],j=this.stride[2],Y=this.stride[3],U=this.stride[4],G=this.offset,q=0,H=Math.ceil;return typeof _=="number"&&((q=0|_)<0?(G+=N*(I-1),I=H(-I/q)):I=H(I/q),N*=q),typeof A=="number"&&((q=0|A)<0?(G+=W*(O-1),O=H(-O/q)):O=H(O/q),W*=q),typeof L=="number"&&((q=0|L)<0?(G+=j*(z-1),z=H(-z/q)):z=H(z/q),j*=q),typeof b=="number"&&((q=0|b)<0?(G+=Y*(F-1),F=H(-F/q)):F=H(F/q),Y*=q),typeof R=="number"&&((q=0|R)<0?(G+=U*(B-1),B=H(-B/q)):B=H(B/q),U*=q),new T(this.data,I,O,z,F,B,N,W,j,Y,U,G)},E.transpose=function(_,A,L,b,R){_=_===void 0?0:0|_,A=A===void 0?1:0|A,L=L===void 0?2:0|L,b=b===void 0?3:0|b,R=R===void 0?4:0|R;var I=this.shape,O=this.stride;return new T(this.data,I[_],I[A],I[L],I[b],I[R],O[_],O[A],O[L],O[b],O[R],this.offset)},E.pick=function(_,A,L,b,R){var I=[],O=[],z=this.offset;return typeof _=="number"&&_>=0?z=z+this.stride[0]*_|0:(I.push(this.shape[0]),O.push(this.stride[0])),typeof A=="number"&&A>=0?z=z+this.stride[1]*A|0:(I.push(this.shape[1]),O.push(this.stride[1])),typeof L=="number"&&L>=0?z=z+this.stride[2]*L|0:(I.push(this.shape[2]),O.push(this.stride[2])),typeof b=="number"&&b>=0?z=z+this.stride[3]*b|0:(I.push(this.shape[3]),O.push(this.stride[3])),typeof R=="number"&&R>=0?z=z+this.stride[4]*R|0:(I.push(this.shape[4]),O.push(this.stride[4])),(0,S[I.length+1])(this.data,I,O,z)},function(_,A,L,b){return new T(_,A[0],A[1],A[2],A[3],A[4],L[0],L[1],L[2],L[3],L[4],b)}}};function p(g,S){var x=S===-1?"T":String(S),T=f[x];return S===-1?T(g):S===0?T(g,w[g][0]):T(g,w[g],c)}var w={generic:[],buffer:[],array:[],float32:[],float64:[],int8:[],int16:[],int32:[],uint8_clamped:[],uint8:[],uint16:[],uint32:[],bigint64:[],biguint64:[]};h.exports=function(g,S,x,T){if(g===void 0)return(0,w.array[0])([]);typeof g=="number"&&(g=[g]),S===void 0&&(S=[g.length]);var E=S.length;if(x===void 0){x=new Array(E);for(var _=E-1,A=1;_>=0;--_)x[_]=A,A*=S[_]}if(T===void 0)for(T=0,_=0;_>>0;h.exports=function(c,f){if(isNaN(c)||isNaN(f))return NaN;if(c===f)return c;if(c===0)return f<0?-s:s;var p=u.hi(c),w=u.lo(c);return f>c==c>0?w===o?(p+=1,w=0):w+=1:w===0?(w=o,p-=1):w-=1,u.pack(w,p)}},115:function(h,l){l.vertexNormals=function(a,u,s){for(var o=u.length,c=new Array(o),f=s===void 0?1e-6:s,p=0;pf){var z=c[S],F=1/Math.sqrt(b*I);for(O=0;O<3;++O){var B=(O+1)%3,N=(O+2)%3;z[O]+=F*(R[B]*L[N]-R[N]*L[B])}}}for(p=0;pf)for(F=1/Math.sqrt(W),O=0;O<3;++O)z[O]*=F;else for(O=0;O<3;++O)z[O]=0}return c},l.faceNormals=function(a,u,s){for(var o=a.length,c=new Array(o),f=s===void 0?1e-6:s,p=0;pf?1/Math.sqrt(_):0,S=0;S<3;++S)E[S]*=_;c[p]=E}return c}},567:function(h){h.exports=function(l,a,u,s,o,c,f,p,w,g){var S=a+c+g;if(x>0){var x=Math.sqrt(S+1);l[0]=.5*(f-w)/x,l[1]=.5*(p-s)/x,l[2]=.5*(u-c)/x,l[3]=.5*x}else{var T=Math.max(a,c,g);x=Math.sqrt(2*T-S+1),a>=T?(l[0]=.5*x,l[1]=.5*(o+u)/x,l[2]=.5*(p+s)/x,l[3]=.5*(f-w)/x):c>=T?(l[0]=.5*(u+o)/x,l[1]=.5*x,l[2]=.5*(w+f)/x,l[3]=.5*(p-s)/x):(l[0]=.5*(s+p)/x,l[1]=.5*(f+w)/x,l[2]=.5*x,l[3]=.5*(u-o)/x)}return l}},7774:function(h,l,a){h.exports=function(T){var E=(T=T||{}).center||[0,0,0],_=T.rotation||[0,0,0,1],A=T.radius||1;E=[].slice.call(E,0,3),g(_=[].slice.call(_,0,4),_);var L=new S(_,E,Math.log(A));return L.setDistanceLimits(T.zoomMin,T.zoomMax),("eye"in T||"up"in T)&&L.lookAt(0,T.eye,T.center,T.up),L};var u=a(8444),s=a(3012),o=a(5950),c=a(7437),f=a(567);function p(T,E,_){return Math.sqrt(Math.pow(T,2)+Math.pow(E,2)+Math.pow(_,2))}function w(T,E,_,A){return Math.sqrt(Math.pow(T,2)+Math.pow(E,2)+Math.pow(_,2)+Math.pow(A,2))}function g(T,E){var _=E[0],A=E[1],L=E[2],b=E[3],R=w(_,A,L,b);R>1e-6?(T[0]=_/R,T[1]=A/R,T[2]=L/R,T[3]=b/R):(T[0]=T[1]=T[2]=0,T[3]=1)}function S(T,E,_){this.radius=u([_]),this.center=u(E),this.rotation=u(T),this.computedRadius=this.radius.curve(0),this.computedCenter=this.center.curve(0),this.computedRotation=this.rotation.curve(0),this.computedUp=[.1,0,0],this.computedEye=[.1,0,0],this.computedMatrix=[.1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this.recalcMatrix(0)}var x=S.prototype;x.lastT=function(){return Math.max(this.radius.lastT(),this.center.lastT(),this.rotation.lastT())},x.recalcMatrix=function(T){this.radius.curve(T),this.center.curve(T),this.rotation.curve(T);var E=this.computedRotation;g(E,E);var _=this.computedMatrix;o(_,E);var A=this.computedCenter,L=this.computedEye,b=this.computedUp,R=Math.exp(this.computedRadius[0]);L[0]=A[0]+R*_[2],L[1]=A[1]+R*_[6],L[2]=A[2]+R*_[10],b[0]=_[1],b[1]=_[5],b[2]=_[9];for(var I=0;I<3;++I){for(var O=0,z=0;z<3;++z)O+=_[I+4*z]*L[z];_[12+I]=-O}},x.getMatrix=function(T,E){this.recalcMatrix(T);var _=this.computedMatrix;if(E){for(var A=0;A<16;++A)E[A]=_[A];return E}return _},x.idle=function(T){this.center.idle(T),this.radius.idle(T),this.rotation.idle(T)},x.flush=function(T){this.center.flush(T),this.radius.flush(T),this.rotation.flush(T)},x.pan=function(T,E,_,A){E=E||0,_=_||0,A=A||0,this.recalcMatrix(T);var L=this.computedMatrix,b=L[1],R=L[5],I=L[9],O=p(b,R,I);b/=O,R/=O,I/=O;var z=L[0],F=L[4],B=L[8],N=z*b+F*R+B*I,W=p(z-=b*N,F-=R*N,B-=I*N);z/=W,F/=W,B/=W,L[2],L[6],L[10];var j=z*E+b*_,Y=F*E+R*_,U=B*E+I*_;this.center.move(T,j,Y,U);var G=Math.exp(this.computedRadius[0]);G=Math.max(1e-4,G+A),this.radius.set(T,Math.log(G))},x.rotate=function(T,E,_,A){this.recalcMatrix(T),E=E||0,_=_||0;var L=this.computedMatrix,b=L[0],R=L[4],I=L[8],O=L[1],z=L[5],F=L[9],B=L[2],N=L[6],W=L[10],j=E*b+_*O,Y=E*R+_*z,U=E*I+_*F,G=-(N*U-W*Y),q=-(W*j-B*U),H=-(B*Y-N*j),ne=Math.sqrt(Math.max(0,1-Math.pow(G,2)-Math.pow(q,2)-Math.pow(H,2))),te=w(G,q,H,ne);te>1e-6?(G/=te,q/=te,H/=te,ne/=te):(G=q=H=0,ne=1);var Z=this.computedRotation,X=Z[0],Q=Z[1],re=Z[2],ie=Z[3],oe=X*ne+ie*G+Q*H-re*q,ue=Q*ne+ie*q+re*G-X*H,ce=re*ne+ie*H+X*q-Q*G,ye=ie*ne-X*G-Q*q-re*H;if(A){G=B,q=N,H=W;var de=Math.sin(A)/p(G,q,H);G*=de,q*=de,H*=de,ye=ye*(ne=Math.cos(E))-(oe=oe*ne+ye*G+ue*H-ce*q)*G-(ue=ue*ne+ye*q+ce*G-oe*H)*q-(ce=ce*ne+ye*H+oe*q-ue*G)*H}var me=w(oe,ue,ce,ye);me>1e-6?(oe/=me,ue/=me,ce/=me,ye/=me):(oe=ue=ce=0,ye=1),this.rotation.set(T,oe,ue,ce,ye)},x.lookAt=function(T,E,_,A){this.recalcMatrix(T),_=_||this.computedCenter,E=E||this.computedEye,A=A||this.computedUp;var L=this.computedMatrix;s(L,E,_,A);var b=this.computedRotation;f(b,L[0],L[1],L[2],L[4],L[5],L[6],L[8],L[9],L[10]),g(b,b),this.rotation.set(T,b[0],b[1],b[2],b[3]);for(var R=0,I=0;I<3;++I)R+=Math.pow(_[I]-E[I],2);this.radius.set(T,.5*Math.log(Math.max(R,1e-6))),this.center.set(T,_[0],_[1],_[2])},x.translate=function(T,E,_,A){this.center.move(T,E||0,_||0,A||0)},x.setMatrix=function(T,E){var _=this.computedRotation;f(_,E[0],E[1],E[2],E[4],E[5],E[6],E[8],E[9],E[10]),g(_,_),this.rotation.set(T,_[0],_[1],_[2],_[3]);var A=this.computedMatrix;c(A,E);var L=A[15];if(Math.abs(L)>1e-6){var b=A[12]/L,R=A[13]/L,I=A[14]/L;this.recalcMatrix(T);var O=Math.exp(this.computedRadius[0]);this.center.set(T,b-A[2]*O,R-A[6]*O,I-A[10]*O),this.radius.idle(T)}else this.center.idle(T),this.radius.idle(T)},x.setDistance=function(T,E){E>0&&this.radius.set(T,Math.log(E))},x.setDistanceLimits=function(T,E){T=T>0?Math.log(T):-1/0,E=E>0?Math.log(E):1/0,E=Math.max(E,T),this.radius.bounds[0][0]=T,this.radius.bounds[1][0]=E},x.getDistanceLimits=function(T){var E=this.radius.bounds;return T?(T[0]=Math.exp(E[0][0]),T[1]=Math.exp(E[1][0]),T):[Math.exp(E[0][0]),Math.exp(E[1][0])]},x.toJSON=function(){return this.recalcMatrix(this.lastT()),{center:this.computedCenter.slice(),rotation:this.computedRotation.slice(),distance:Math.log(this.computedRadius[0]),zoomMin:this.radius.bounds[0][0],zoomMax:this.radius.bounds[1][0]}},x.fromJSON=function(T){var E=this.lastT(),_=T.center;_&&this.center.set(E,_[0],_[1],_[2]);var A=T.rotation;A&&this.rotation.set(E,A[0],A[1],A[2],A[3]);var L=T.distance;L&&L>0&&this.radius.set(E,Math.log(L)),this.setDistanceLimits(T.zoomMin,T.zoomMax)}},4930:function(h,l,a){var u=a(6184);h.exports=function(s,o,c){return u(c=c!==void 0?c+"":" ",o)+s}},4405:function(h){h.exports=function(l,a){a||(a=[0,""]),l=String(l);var u=parseFloat(l,10);return a[0]=u,a[1]=l.match(/[\d.\-\+]*\s*(.*)/)[1]||"",a}},4166:function(h,l,a){h.exports=function(s,o){for(var c=0|o.length,f=s.length,p=[new Array(c),new Array(c)],w=0;w0){z=p[N][I][0],B=N;break}F=z[1^B];for(var W=0;W<2;++W)for(var j=p[W][I],Y=0;Y0&&(z=U,F=G,B=W)}return O||z&&x(z,B),F}function E(R,I){var O=p[I][R][0],z=[R];x(O,I);for(var F=O[1^I];;){for(;F!==R;)z.push(F),F=T(z[z.length-2],F,!1);if(p[0][R].length+p[1][R].length===0)break;var B=z[z.length-1],N=R,W=z[1],j=T(B,N,!0);if(u(o[B],o[N],o[W],o[j])<0)break;z.push(R),F=T(B,N)}return z}function _(R,I){return I[1]===I[I.length-1]}for(w=0;w0;){p[0][w].length;var b=E(w,A);_(0,b)?L.push.apply(L,b):(L.length>0&&S.push(L),L=b)}L.length>0&&S.push(L)}return S};var u=a(9398)},3959:function(h,l,a){h.exports=function(s,o){for(var c=u(s,o.length),f=new Array(o.length),p=new Array(o.length),w=[],g=0;g0;){var x=w.pop();f[x]=!1;var T=c[x];for(g=0;g0})).length,R=new Array(b),I=new Array(b);for(A=0;A0;){var ue=ie.pop(),ce=q[ue];p(ce,function(Pe,_e){return Pe-_e});var ye,de=ce.length,me=oe[ue];if(me===0){var pe=L[ue];ye=[pe]}for(A=0;A=0||(oe[xe]=1^me,ie.push(xe),me===0&&(re(pe=L[xe])||(pe.reverse(),ye.push(pe))))}me===0&&T.push(ye)}return T};var u=a(8348),s=a(4166),o=a(211),c=a(9660),f=a(9662),p=a(1215),w=a(3959);function g(S,x){for(var T=new Array(S),E=0;E0&&N[j]===W[0]))return 1;Y=B[j-1]}for(var U=1;Y;){var G=Y.key,q=u(W,G[0],G[1]);if(G[0][0]0))return 0;U=-1,Y=Y.right}else if(q>0)Y=Y.left;else{if(!(q<0))return 0;U=1,Y=Y.right}}return U}}(z.slabs,z.coordinates);return T.length===0?F:function(B,N){return function(W){return B(W[0],W[1])?0:N(W)}}(p(T),F)};var u=a(417)[3],s=a(4385),o=a(9014),c=a(5070);function f(){return!0}function p(g){for(var S={},x=0;x=g?(N=1,R=g+2*T+_):R=T*(N=-T/g)+_):(N=0,E>=0?(W=0,R=_):-E>=x?(W=1,R=x+2*E+_):R=E*(W=-E/x)+_);else if(W<0)W=0,T>=0?(N=0,R=_):-T>=g?(N=1,R=g+2*T+_):R=T*(N=-T/g)+_;else{var j=1/B;R=(N*=j)*(g*N+S*(W*=j)+2*T)+W*(S*N+x*W+2*E)+_}else N<0?(O=x+E)>(I=S+T)?(z=O-I)>=(F=g-2*S+x)?(N=1,W=0,R=g+2*T+_):R=(N=z/F)*(g*N+S*(W=1-N)+2*T)+W*(S*N+x*W+2*E)+_:(N=0,O<=0?(W=1,R=x+2*E+_):E>=0?(W=0,R=_):R=E*(W=-E/x)+_):W<0?(O=g+T)>(I=S+E)?(z=O-I)>=(F=g-2*S+x)?(W=1,N=0,R=x+2*E+_):R=(N=1-(W=z/F))*(g*N+S*W+2*T)+W*(S*N+x*W+2*E)+_:(W=0,O<=0?(N=1,R=g+2*T+_):T>=0?(N=0,R=_):R=T*(N=-T/g)+_):(z=x+E-S-T)<=0?(N=0,W=1,R=x+2*E+_):z>=(F=g-2*S+x)?(N=1,W=0,R=g+2*T+_):R=(N=z/F)*(g*N+S*(W=1-N)+2*T)+W*(S*N+x*W+2*E)+_;var Y=1-N-W;for(w=0;w0){var x=c[p-1];if(u(g,x)===0&&o(x)!==S){p-=1;continue}}c[p++]=g}}return c.length=p,c}},6184:function(h){var l,a="";h.exports=function(u,s){if(typeof u!="string")throw new TypeError("expected a string");if(s===1)return u;if(s===2)return u+u;var o=u.length*s;if(l!==u||l===void 0)l=u,a="";else if(a.length>=o)return a.substr(0,o);for(;o>a.length&&s>1;)1&s&&(a+=u),s>>=1,u+=u;return a=(a+=u).substr(0,o)}},8161:function(h,l,a){h.exports=a.g.performance&&a.g.performance.now?function(){return performance.now()}:Date.now||function(){return+new Date}},402:function(h){h.exports=function(l){for(var a=l.length,u=l[l.length-1],s=a,o=a-2;o>=0;--o){var c=u,f=l[o];(w=f-((u=c+f)-c))&&(l[--s]=u,u=w)}var p=0;for(o=s;o0){if(O<=0)return z;R=I+O}else{if(!(I<0)||O>=0)return z;R=-(I+O)}var F=33306690738754716e-32*R;return z>=F||z<=-F?z:S(A,L,b)},function(A,L,b,R){var I=A[0]-R[0],O=L[0]-R[0],z=b[0]-R[0],F=A[1]-R[1],B=L[1]-R[1],N=b[1]-R[1],W=A[2]-R[2],j=L[2]-R[2],Y=b[2]-R[2],U=O*N,G=z*B,q=z*F,H=I*N,ne=I*B,te=O*F,Z=W*(U-G)+j*(q-H)+Y*(ne-te),X=7771561172376103e-31*((Math.abs(U)+Math.abs(G))*Math.abs(W)+(Math.abs(q)+Math.abs(H))*Math.abs(j)+(Math.abs(ne)+Math.abs(te))*Math.abs(Y));return Z>X||-Z>X?Z:x(A,L,b,R)}];function E(A){var L=T[A.length];return L||(L=T[A.length]=g(A.length)),L.apply(void 0,A)}function _(A,L,b,R,I,O,z){return function(F,B,N,W,j){switch(arguments.length){case 0:case 1:return 0;case 2:return R(F,B);case 3:return I(F,B,N);case 4:return O(F,B,N,W);case 5:return z(F,B,N,W,j)}for(var Y=new Array(arguments.length),U=0;U0&&w>0||p<0&&w<0)return!1;var g=u(c,s,o),S=u(f,s,o);return!(g>0&&S>0||g<0&&S<0)&&(p!==0||w!==0||g!==0||S!==0||function(x,T,E,_){for(var A=0;A<2;++A){var L=x[A],b=T[A],R=Math.min(L,b),I=Math.max(L,b),O=E[A],z=_[A],F=Math.min(O,z);if(Math.max(O,z)=s?(o=x,(w+=1)=s?(o=x,(w+=1)>1,x=s[2*S+1];if(x===p)return S;p>1,x=s[2*S+1];if(x===p)return S;p>1,x=s[2*S+1];if(x===p)return S;p0)-(s<0)},l.abs=function(s){var o=s>>31;return(s^o)-o},l.min=function(s,o){return o^(s^o)&-(s65535)<<4,o|=c=((s>>>=o)>255)<<3,o|=c=((s>>>=c)>15)<<2,(o|=c=((s>>>=c)>3)<<1)|(s>>>=c)>>1},l.log10=function(s){return s>=1e9?9:s>=1e8?8:s>=1e7?7:s>=1e6?6:s>=1e5?5:s>=1e4?4:s>=1e3?3:s>=100?2:s>=10?1:0},l.popCount=function(s){return 16843009*((s=(858993459&(s-=s>>>1&1431655765))+(s>>>2&858993459))+(s>>>4)&252645135)>>>24},l.countTrailingZeros=a,l.nextPow2=function(s){return s+=s===0,--s,s|=s>>>1,s|=s>>>2,s|=s>>>4,1+((s|=s>>>8)|s>>>16)},l.prevPow2=function(s){return s|=s>>>1,s|=s>>>2,s|=s>>>4,s|=s>>>8,(s|=s>>>16)-(s>>>1)},l.parity=function(s){return s^=s>>>16,s^=s>>>8,s^=s>>>4,27030>>>(s&=15)&1};var u=new Array(256);(function(s){for(var o=0;o<256;++o){var c=o,f=o,p=7;for(c>>>=1;c;c>>>=1)f<<=1,f|=1&c,--p;s[o]=f<>>8&255]<<16|u[s>>>16&255]<<8|u[s>>>24&255]},l.interleave2=function(s,o){return(s=1431655765&((s=858993459&((s=252645135&((s=16711935&((s&=65535)|s<<8))|s<<4))|s<<2))|s<<1))|(o=1431655765&((o=858993459&((o=252645135&((o=16711935&((o&=65535)|o<<8))|o<<4))|o<<2))|o<<1))<<1},l.deinterleave2=function(s,o){return(s=65535&((s=16711935&((s=252645135&((s=858993459&((s=s>>>o&1431655765)|s>>>1))|s>>>2))|s>>>4))|s>>>16))<<16>>16},l.interleave3=function(s,o,c){return s=1227133513&((s=3272356035&((s=251719695&((s=4278190335&((s&=1023)|s<<16))|s<<8))|s<<4))|s<<2),(s|=(o=1227133513&((o=3272356035&((o=251719695&((o=4278190335&((o&=1023)|o<<16))|o<<8))|o<<4))|o<<2))<<1)|(c=1227133513&((c=3272356035&((c=251719695&((c=4278190335&((c&=1023)|c<<16))|c<<8))|c<<4))|c<<2))<<2},l.deinterleave3=function(s,o){return(s=1023&((s=4278190335&((s=251719695&((s=3272356035&((s=s>>>o&1227133513)|s>>>2))|s>>>4))|s>>>8))|s>>>16))<<22>>22},l.nextCombination=function(s){var o=s|s-1;return o+1|(~o&-~o)-1>>>a(s)+1}},6656:function(h,l,a){var u=a(9392),s=a(9521);function o(x,T){var E=x.length,_=x.length-T.length,A=Math.min;if(_)return _;switch(E){case 0:return 0;case 1:return x[0]-T[0];case 2:return(R=x[0]+x[1]-T[0]-T[1])||A(x[0],x[1])-A(T[0],T[1]);case 3:var L=x[0]+x[1],b=T[0]+T[1];if(R=L+x[2]-(b+T[2]))return R;var R,I=A(x[0],x[1]),O=A(T[0],T[1]);return(R=A(I,x[2])-A(O,T[2]))||A(I+x[2],L)-A(O+T[2],b);default:var z=x.slice(0);z.sort();var F=T.slice(0);F.sort();for(var B=0;B>1,b=o(x[L],T);b<=0?(b===0&&(A=L),E=L+1):b>0&&(_=L-1)}return A}function g(x,T){for(var E=new Array(x.length),_=0,A=E.length;_=x.length||o(x[N],L)!==0););}return E}function S(x,T){if(T<0)return[];for(var E=[],_=(1<>>O&1&&I.push(A[O]);T.push(I)}return f(T)},l.skeleton=S,l.boundary=function(x){for(var T=[],E=0,_=x.length;E<_;++E)for(var A=x[E],L=0,b=A.length;L>1:(te>>1)-1}function z(te){for(var Z=I(te);;){var X=Z,Q=2*te+1,re=2*(te+1),ie=te;if(Q0;){var X=O(te);if(!(X>=0&&Z0){var te=j[0];return R(0,U-1),U-=1,z(0),te}return-1}function N(te,Z){var X=j[te];return x[X]===Z?te:(x[X]=-1/0,F(te),B(),x[X]=Z,F((U+=1)-1))}function W(te){if(!T[te]){T[te]=!0;var Z=g[te],X=S[te];g[X]>=0&&(g[X]=Z),S[Z]>=0&&(S[Z]=X),Y[Z]>=0&&N(Y[Z],b(Z)),Y[X]>=0&&N(Y[X],b(X))}}var j=[],Y=new Array(p);for(E=0;E>1;E>=0;--E)z(E);for(;;){var G=B();if(G<0||x[G]>f)break;W(G)}var q=[];for(E=0;E=0&&X>=0&&Z!==X){var Q=Y[Z],re=Y[X];Q!==re&&ne.push([Q,re])}}),s.unique(s.normalize(ne)),{positions:q,edges:ne}};var u=a(417),s=a(6656)},6638:function(h,l,a){h.exports=function(o,c){var f,p,w,g;if(c[0][0]c[1][0]))return s(c,o);f=c[1],p=c[0]}if(o[0][0]o[1][0]))return-s(o,c);w=o[1],g=o[0]}var S=u(f,p,g),x=u(f,p,w);if(S<0){if(x<=0)return S}else if(S>0){if(x>=0)return S}else if(x)return x;if(S=u(g,w,p),x=u(g,w,f),S<0){if(x<=0)return S}else if(S>0){if(x>=0)return S}else if(x)return x;return p[0]-g[0]};var u=a(417);function s(o,c){var f,p,w,g;if(c[0][0]c[1][0])){var S=Math.min(o[0][1],o[1][1]),x=Math.max(o[0][1],o[1][1]),T=Math.min(c[0][1],c[1][1]),E=Math.max(c[0][1],c[1][1]);return xE?S-E:x-E}f=c[1],p=c[0]}o[0][1]0)if(T[0]!==L[1][0])E=x,x=x.right;else{if(R=w(x.right,T))return R;x=x.left}else{if(T[0]!==L[1][0])return x;var R;if(R=w(x.right,T))return R;x=x.left}}return E}function g(x,T,E,_){this.y=x,this.index=T,this.start=E,this.closed=_}function S(x,T,E,_){this.x=x,this.segment=T,this.create=E,this.index=_}f.prototype.castUp=function(x){var T=u.le(this.coordinates,x[0]);if(T<0)return-1;this.slabs[T];var E=w(this.slabs[T],x),_=-1;if(E&&(_=E.value),this.coordinates[T]===x[0]){var A=null;if(E&&(A=E.key),T>0){var L=w(this.slabs[T-1],x);L&&(A?c(L.key,A)>0&&(A=L.key,_=L.value):(_=L.value,A=L.key))}var b=this.horizontal[T];if(b.length>0){var R=u.ge(b,x[1],p);if(R=b.length)return _;I=b[R]}}if(I.start)if(A){var O=o(A[0],A[1],[x[0],I.y]);A[0][0]>A[1][0]&&(O=-O),O>0&&(_=I.index)}else _=I.index;else I.y!==x[1]&&(_=I.index)}}}return _}},4670:function(h,l,a){var u=a(9130),s=a(9662);function o(f,p){var w=s(u(f,p),[p[p.length-1]]);return w[w.length-1]}function c(f,p,w,g){var S=-p/(g-p);S<0?S=0:S>1&&(S=1);for(var x=1-S,T=f.length,E=new Array(T),_=0;_0||S>0&&_<0){var A=c(x,_,T,S);w.push(A),g.push(A.slice())}_<0?g.push(T.slice()):_>0?w.push(T.slice()):(w.push(T.slice()),g.push(T.slice())),S=_}return{positive:w,negative:g}},h.exports.positive=function(f,p){for(var w=[],g=o(f[f.length-1],p),S=f[f.length-1],x=f[0],T=0;T0||g>0&&E<0)&&w.push(c(S,E,x,g)),E>=0&&w.push(x.slice()),g=E}return w},h.exports.negative=function(f,p){for(var w=[],g=o(f[f.length-1],p),S=f[f.length-1],x=f[0],T=0;T0||g>0&&E<0)&&w.push(c(S,E,x,g)),E<=0&&w.push(x.slice()),g=E}return w}},8974:function(h,l,a){var u;(function(){var s={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function o(g){return f(w(g),arguments)}function c(g,S){return o.apply(null,[g].concat(S||[]))}function f(g,S){var x,T,E,_,A,L,b,R,I,O=1,z=g.length,F="";for(T=0;T=0),_.type){case"b":x=parseInt(x,10).toString(2);break;case"c":x=String.fromCharCode(parseInt(x,10));break;case"d":case"i":x=parseInt(x,10);break;case"j":x=JSON.stringify(x,null,_.width?parseInt(_.width):0);break;case"e":x=_.precision?parseFloat(x).toExponential(_.precision):parseFloat(x).toExponential();break;case"f":x=_.precision?parseFloat(x).toFixed(_.precision):parseFloat(x);break;case"g":x=_.precision?String(Number(x.toPrecision(_.precision))):parseFloat(x);break;case"o":x=(parseInt(x,10)>>>0).toString(8);break;case"s":x=String(x),x=_.precision?x.substring(0,_.precision):x;break;case"t":x=String(!!x),x=_.precision?x.substring(0,_.precision):x;break;case"T":x=Object.prototype.toString.call(x).slice(8,-1).toLowerCase(),x=_.precision?x.substring(0,_.precision):x;break;case"u":x=parseInt(x,10)>>>0;break;case"v":x=x.valueOf(),x=_.precision?x.substring(0,_.precision):x;break;case"x":x=(parseInt(x,10)>>>0).toString(16);break;case"X":x=(parseInt(x,10)>>>0).toString(16).toUpperCase()}s.json.test(_.type)?F+=x:(!s.number.test(_.type)||R&&!_.sign?I="":(I=R?"+":"-",x=x.toString().replace(s.sign,"")),L=_.pad_char?_.pad_char==="0"?"0":_.pad_char.charAt(1):" ",b=_.width-(I+x).length,A=_.width&&b>0?L.repeat(b):"",F+=_.align?I+x+A:L==="0"?I+A+x:A+I+x)}return F}var p=Object.create(null);function w(g){if(p[g])return p[g];for(var S,x=g,T=[],E=0;x;){if((S=s.text.exec(x))!==null)T.push(S[0]);else if((S=s.modulo.exec(x))!==null)T.push("%");else{if((S=s.placeholder.exec(x))===null)throw new SyntaxError("[sprintf] unexpected placeholder");if(S[2]){E|=1;var _=[],A=S[2],L=[];if((L=s.key.exec(A))===null)throw new SyntaxError("[sprintf] failed to parse named argument key");for(_.push(L[1]);(A=A.substring(L[0].length))!=="";)if((L=s.key_access.exec(A))!==null)_.push(L[1]);else{if((L=s.index_access.exec(A))===null)throw new SyntaxError("[sprintf] failed to parse named argument key");_.push(L[1])}S[2]=_}else E|=2;if(E===3)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");T.push({placeholder:S[0],param_no:S[1],keys:S[2],sign:S[3],pad_char:S[4],align:S[5],width:S[6],precision:S[7],type:S[8]})}x=x.substring(S[0].length)}return p[g]=T}l.sprintf=o,l.vsprintf=c,typeof window<"u"&&(window.sprintf=o,window.vsprintf=c,(u=(function(){return{sprintf:o,vsprintf:c}}).call(l,a,l,h))===void 0||(h.exports=u))})()},4162:function(h,l,a){h.exports=function(f,p){if(f.dimension<=0)return{positions:[],cells:[]};if(f.dimension===1)return function(S,x){for(var T=s(S,x),E=T.length,_=new Array(E),A=new Array(E),L=0;LE|0},vertex:function(S,x,T,E,_,A,L,b,R,I,O,z,F){var B=(L<<0)+(b<<1)+(R<<2)+(I<<3)|0;if(B!==0&&B!==15)switch(B){case 0:case 15:O.push([S-.5,x-.5]);break;case 1:O.push([S-.25-.25*(E+T-2*F)/(T-E),x-.25-.25*(_+T-2*F)/(T-_)]);break;case 2:O.push([S-.75-.25*(-E-T+2*F)/(E-T),x-.25-.25*(A+E-2*F)/(E-A)]);break;case 3:O.push([S-.5,x-.5-.5*(_+T+A+E-4*F)/(T-_+E-A)]);break;case 4:O.push([S-.25-.25*(A+_-2*F)/(_-A),x-.75-.25*(-_-T+2*F)/(_-T)]);break;case 5:O.push([S-.5-.5*(E+T+A+_-4*F)/(T-E+_-A),x-.5]);break;case 6:O.push([S-.5-.25*(-E-T+A+_)/(E-T+_-A),x-.5-.25*(-_-T+A+E)/(_-T+E-A)]);break;case 7:O.push([S-.75-.25*(A+_-2*F)/(_-A),x-.75-.25*(A+E-2*F)/(E-A)]);break;case 8:O.push([S-.75-.25*(-A-_+2*F)/(A-_),x-.75-.25*(-A-E+2*F)/(A-E)]);break;case 9:O.push([S-.5-.25*(E+T+-A-_)/(T-E+A-_),x-.5-.25*(_+T+-A-E)/(T-_+A-E)]);break;case 10:O.push([S-.5-.5*(-E-T-A-_+4*F)/(E-T+A-_),x-.5]);break;case 11:O.push([S-.25-.25*(-A-_+2*F)/(A-_),x-.75-.25*(_+T-2*F)/(T-_)]);break;case 12:O.push([S-.5,x-.5-.5*(-_-T-A-E+4*F)/(_-T+A-E)]);break;case 13:O.push([S-.75-.25*(E+T-2*F)/(T-E),x-.25-.25*(-A-E+2*F)/(A-E)]);break;case 14:O.push([S-.25-.25*(-E-T+2*F)/(E-T),x-.25-.25*(-_-T+2*F)/(_-T)])}},cell:function(S,x,T,E,_,A,L,b,R){_?b.push([S,x]):b.push([x,S])}});return function(S,x){var T=[],E=[];return g(S,T,E,x),{positions:T,cells:E}}}},c={}},6946:function(h,l,a){h.exports=function c(f,p,w){w=w||{};var g=o[f];g||(g=o[f]={" ":{data:new Float32Array(0),shape:.2}});var S=g[p];if(!S)if(p.length<=1||!/\d/.test(p))S=g[p]=function(z){for(var F=z.cells,B=z.positions,N=new Float32Array(6*F.length),W=0,j=0,Y=0;Y0&&(_+=.02);var L=new Float32Array(E),b=0,R=-.5*_;for(A=0;AMath.max(L,b)?R[2]=1:L>Math.max(A,b)?R[0]=1:R[1]=1;for(var I=0,O=0,z=0;z<3;++z)I+=_[z]*_[z],O+=R[z]*_[z];for(z=0;z<3;++z)R[z]-=O/I*_[z];return f(R,R),R}function x(_,A,L,b,R,I,O,z){this.center=u(L),this.up=u(b),this.right=u(R),this.radius=u([I]),this.angle=u([O,z]),this.angle.bounds=[[-1/0,-Math.PI/2],[1/0,Math.PI/2]],this.setDistanceLimits(_,A),this.computedCenter=this.center.curve(0),this.computedUp=this.up.curve(0),this.computedRight=this.right.curve(0),this.computedRadius=this.radius.curve(0),this.computedAngle=this.angle.curve(0),this.computedToward=[0,0,0],this.computedEye=[0,0,0],this.computedMatrix=new Array(16);for(var F=0;F<16;++F)this.computedMatrix[F]=.5;this.recalcMatrix(0)}var T=x.prototype;T.setDistanceLimits=function(_,A){_=_>0?Math.log(_):-1/0,A=A>0?Math.log(A):1/0,A=Math.max(A,_),this.radius.bounds[0][0]=_,this.radius.bounds[1][0]=A},T.getDistanceLimits=function(_){var A=this.radius.bounds[0];return _?(_[0]=Math.exp(A[0][0]),_[1]=Math.exp(A[1][0]),_):[Math.exp(A[0][0]),Math.exp(A[1][0])]},T.recalcMatrix=function(_){this.center.curve(_),this.up.curve(_),this.right.curve(_),this.radius.curve(_),this.angle.curve(_);for(var A=this.computedUp,L=this.computedRight,b=0,R=0,I=0;I<3;++I)R+=A[I]*L[I],b+=A[I]*A[I];var O=Math.sqrt(b),z=0;for(I=0;I<3;++I)L[I]-=A[I]*R/b,z+=L[I]*L[I],A[I]/=O;var F=Math.sqrt(z);for(I=0;I<3;++I)L[I]/=F;var B=this.computedToward;c(B,A,L),f(B,B);var N=Math.exp(this.computedRadius[0]),W=this.computedAngle[0],j=this.computedAngle[1],Y=Math.cos(W),U=Math.sin(W),G=Math.cos(j),q=Math.sin(j),H=this.computedCenter,ne=Y*G,te=U*G,Z=q,X=-Y*q,Q=-U*q,re=G,ie=this.computedEye,oe=this.computedMatrix;for(I=0;I<3;++I){var ue=ne*L[I]+te*B[I]+Z*A[I];oe[4*I+1]=X*L[I]+Q*B[I]+re*A[I],oe[4*I+2]=ue,oe[4*I+3]=0}var ce=oe[1],ye=oe[5],de=oe[9],me=oe[2],pe=oe[6],xe=oe[10],Pe=ye*xe-de*pe,_e=de*me-ce*xe,Me=ce*pe-ye*me,Se=w(Pe,_e,Me);for(Pe/=Se,_e/=Se,Me/=Se,oe[0]=Pe,oe[4]=_e,oe[8]=Me,I=0;I<3;++I)ie[I]=H[I]+oe[2+4*I]*N;for(I=0;I<3;++I){z=0;for(var Ce=0;Ce<3;++Ce)z+=oe[I+4*Ce]*ie[Ce];oe[12+I]=-z}oe[15]=1},T.getMatrix=function(_,A){this.recalcMatrix(_);var L=this.computedMatrix;if(A){for(var b=0;b<16;++b)A[b]=L[b];return A}return L};var E=[0,0,0];T.rotate=function(_,A,L,b){if(this.angle.move(_,A,L),b){this.recalcMatrix(_);var R=this.computedMatrix;E[0]=R[2],E[1]=R[6],E[2]=R[10];for(var I=this.computedUp,O=this.computedRight,z=this.computedToward,F=0;F<3;++F)R[4*F]=I[F],R[4*F+1]=O[F],R[4*F+2]=z[F];for(o(R,R,b,E),F=0;F<3;++F)I[F]=R[4*F],O[F]=R[4*F+1];this.up.set(_,I[0],I[1],I[2]),this.right.set(_,O[0],O[1],O[2])}},T.pan=function(_,A,L,b){A=A||0,L=L||0,b=b||0,this.recalcMatrix(_);var R=this.computedMatrix,I=(Math.exp(this.computedRadius[0]),R[1]),O=R[5],z=R[9],F=w(I,O,z);I/=F,O/=F,z/=F;var B=R[0],N=R[4],W=R[8],j=B*I+N*O+W*z,Y=w(B-=I*j,N-=O*j,W-=z*j),U=(B/=Y)*A+I*L,G=(N/=Y)*A+O*L,q=(W/=Y)*A+z*L;this.center.move(_,U,G,q);var H=Math.exp(this.computedRadius[0]);H=Math.max(1e-4,H+b),this.radius.set(_,Math.log(H))},T.translate=function(_,A,L,b){this.center.move(_,A||0,L||0,b||0)},T.setMatrix=function(_,A,L,b){var R=1;typeof L=="number"&&(R=0|L),(R<0||R>3)&&(R=1);var I=(R+2)%3;A||(this.recalcMatrix(_),A=this.computedMatrix);var O=A[R],z=A[R+4],F=A[R+8];if(b){var B=Math.abs(O),N=Math.abs(z),W=Math.abs(F),j=Math.max(B,N,W);B===j?(O=O<0?-1:1,z=F=0):W===j?(F=F<0?-1:1,O=z=0):(z=z<0?-1:1,O=F=0)}else{var Y=w(O,z,F);O/=Y,z/=Y,F/=Y}var U,G,q=A[I],H=A[I+4],ne=A[I+8],te=q*O+H*z+ne*F,Z=w(q-=O*te,H-=z*te,ne-=F*te),X=z*(ne/=Z)-F*(H/=Z),Q=F*(q/=Z)-O*ne,re=O*H-z*q,ie=w(X,Q,re);if(X/=ie,Q/=ie,re/=ie,this.center.jump(_,ke,Le,Be),this.radius.idle(_),this.up.jump(_,O,z,F),this.right.jump(_,q,H,ne),R===2){var oe=A[1],ue=A[5],ce=A[9],ye=oe*q+ue*H+ce*ne,de=oe*X+ue*Q+ce*re;U=Pe<0?-Math.PI/2:Math.PI/2,G=Math.atan2(de,ye)}else{var me=A[2],pe=A[6],xe=A[10],Pe=me*O+pe*z+xe*F,_e=me*q+pe*H+xe*ne,Me=me*X+pe*Q+xe*re;U=Math.asin(g(Pe)),G=Math.atan2(Me,_e)}this.angle.jump(_,G,U),this.recalcMatrix(_);var Se=A[2],Ce=A[6],ae=A[10],he=this.computedMatrix;s(he,A);var be=he[15],ke=he[12]/be,Le=he[13]/be,Be=he[14]/be,ze=Math.exp(this.computedRadius[0]);this.center.jump(_,ke-Se*ze,Le-Ce*ze,Be-ae*ze)},T.lastT=function(){return Math.max(this.center.lastT(),this.up.lastT(),this.right.lastT(),this.radius.lastT(),this.angle.lastT())},T.idle=function(_){this.center.idle(_),this.up.idle(_),this.right.idle(_),this.radius.idle(_),this.angle.idle(_)},T.flush=function(_){this.center.flush(_),this.up.flush(_),this.right.flush(_),this.radius.flush(_),this.angle.flush(_)},T.setDistance=function(_,A){A>0&&this.radius.set(_,Math.log(A))},T.lookAt=function(_,A,L,b){this.recalcMatrix(_),A=A||this.computedEye,L=L||this.computedCenter;var R=(b=b||this.computedUp)[0],I=b[1],O=b[2],z=w(R,I,O);if(!(z<1e-6)){R/=z,I/=z,O/=z;var F=A[0]-L[0],B=A[1]-L[1],N=A[2]-L[2],W=w(F,B,N);if(!(W<1e-6)){F/=W,B/=W,N/=W;var j=this.computedRight,Y=j[0],U=j[1],G=j[2],q=R*Y+I*U+O*G,H=w(Y-=q*R,U-=q*I,G-=q*O);if(!(H<.01&&(H=w(Y=I*N-O*B,U=O*F-R*N,G=R*B-I*F))<1e-6)){Y/=H,U/=H,G/=H,this.up.set(_,R,I,O),this.right.set(_,Y,U,G),this.center.set(_,L[0],L[1],L[2]),this.radius.set(_,Math.log(W));var ne=I*G-O*U,te=O*Y-R*G,Z=R*U-I*Y,X=w(ne,te,Z),Q=R*F+I*B+O*N,re=Y*F+U*B+G*N,ie=(ne/=X)*F+(te/=X)*B+(Z/=X)*N,oe=Math.asin(g(Q)),ue=Math.atan2(ie,re),ce=this.angle._state,ye=ce[ce.length-1],de=ce[ce.length-2];ye%=2*Math.PI;var me=Math.abs(ye+2*Math.PI-ue),pe=Math.abs(ye-ue),xe=Math.abs(ye-2*Math.PI-ue);me0?U.pop():new ArrayBuffer(j)}function E(j){return new Uint8Array(T(j),0,j)}function _(j){return new Uint16Array(T(2*j),0,j)}function A(j){return new Uint32Array(T(4*j),0,j)}function L(j){return new Int8Array(T(j),0,j)}function b(j){return new Int16Array(T(2*j),0,j)}function R(j){return new Int32Array(T(4*j),0,j)}function I(j){return new Float32Array(T(4*j),0,j)}function O(j){return new Float64Array(T(8*j),0,j)}function z(j){return c?new Uint8ClampedArray(T(j),0,j):E(j)}function F(j){return f?new BigUint64Array(T(8*j),0,j):null}function B(j){return p?new BigInt64Array(T(8*j),0,j):null}function N(j){return new DataView(T(j),0,j)}function W(j){j=u.nextPow2(j);var Y=u.log2(j),U=S[Y];return U.length>0?U.pop():new o(j)}l.free=function(j){if(o.isBuffer(j))S[u.log2(j.length)].push(j);else{if(Object.prototype.toString.call(j)!=="[object ArrayBuffer]"&&(j=j.buffer),!j)return;var Y=j.length||j.byteLength,U=0|u.log2(Y);g[U].push(j)}},l.freeUint8=l.freeUint16=l.freeUint32=l.freeBigUint64=l.freeInt8=l.freeInt16=l.freeInt32=l.freeBigInt64=l.freeFloat32=l.freeFloat=l.freeFloat64=l.freeDouble=l.freeUint8Clamped=l.freeDataView=function(j){x(j.buffer)},l.freeArrayBuffer=x,l.freeBuffer=function(j){S[u.log2(j.length)].push(j)},l.malloc=function(j,Y){if(Y===void 0||Y==="arraybuffer")return T(j);switch(Y){case"uint8":return E(j);case"uint16":return _(j);case"uint32":return A(j);case"int8":return L(j);case"int16":return b(j);case"int32":return R(j);case"float":case"float32":return I(j);case"double":case"float64":return O(j);case"uint8_clamped":return z(j);case"bigint64":return B(j);case"biguint64":return F(j);case"buffer":return W(j);case"data":case"dataview":return N(j);default:return null}return null},l.mallocArrayBuffer=T,l.mallocUint8=E,l.mallocUint16=_,l.mallocUint32=A,l.mallocInt8=L,l.mallocInt16=b,l.mallocInt32=R,l.mallocFloat32=l.mallocFloat=I,l.mallocFloat64=l.mallocDouble=O,l.mallocUint8Clamped=z,l.mallocBigUint64=F,l.mallocBigInt64=B,l.mallocDataView=N,l.mallocBuffer=W,l.clearCache=function(){for(var j=0;j<32;++j)w.UINT8[j].length=0,w.UINT16[j].length=0,w.UINT32[j].length=0,w.INT8[j].length=0,w.INT16[j].length=0,w.INT32[j].length=0,w.FLOAT[j].length=0,w.DOUBLE[j].length=0,w.BIGUINT64[j].length=0,w.BIGINT64[j].length=0,w.UINT8C[j].length=0,g[j].length=0,S[j].length=0}},1731:function(h){function l(u){this.roots=new Array(u),this.ranks=new Array(u);for(var s=0;s0&&(R=b.size),b.lineSpacing&&b.lineSpacing>0&&(I=b.lineSpacing),b.styletags&&b.styletags.breaklines&&(O.breaklines=!!b.styletags.breaklines),b.styletags&&b.styletags.bolds&&(O.bolds=!!b.styletags.bolds),b.styletags&&b.styletags.italics&&(O.italics=!!b.styletags.italics),b.styletags&&b.styletags.subscripts&&(O.subscripts=!!b.styletags.subscripts),b.styletags&&b.styletags.superscripts&&(O.superscripts=!!b.styletags.superscripts)),L.font=[b.fontStyle,b.fontVariant,b.fontWeight,R+"px",b.font].filter(function(z){return z}).join(" "),L.textAlign="start",L.textBaseline="alphabetic",L.direction="ltr",E(function(z,F,B,N,W,j){B=B.replace(/\n/g,""),B=j.breaklines===!0?B.replace(/\/g,` -`):B.replace(/\/g," ");var Y="",U=[];for(ne=0;ne-1?parseInt(he[1+Le]):0,je=Be>-1?parseInt(be[1+Be]):0;ze!==je&&(ke=ke.replace(xe(),"?px "),X*=Math.pow(.75,je-ze),ke=ke.replace("?px ",xe())),Z+=.25*ie*(je-ze)}if(j.superscripts===!0){var ge=he.indexOf("+"),we=be.indexOf("+"),Ee=ge>-1?parseInt(he[1+ge]):0,Ve=we>-1?parseInt(be[1+we]):0;Ee!==Ve&&(ke=ke.replace(xe(),"?px "),X*=Math.pow(.75,Ve-Ee),ke=ke.replace("?px ",xe())),Z-=.25*ie*(Ve-Ee)}if(j.bolds===!0){var Ye=he.indexOf(w)>-1,$e=be.indexOf(w)>-1;!Ye&&$e&&(ke=st?ke.replace("italic ","italic bold "):"bold "+ke),Ye&&!$e&&(ke=ke.replace("bold ",""))}if(j.italics===!0){var st=he.indexOf(g)>-1,ot=be.indexOf(g)>-1;!st&&ot&&(ke="italic "+ke),st&&!ot&&(ke=ke.replace("italic ",""))}F.font=ke}for(H=0;H",I="",O=R.length,z=I.length,F=A[0]==="+"||A[0]==="-",B=0,N=-z;B>-1&&(B=L.indexOf(R,B))!==-1&&(N=L.indexOf(I,B+O))!==-1&&!(N<=B);){for(var W=B;W=N)b[W]=null,L=L.substr(0,W)+" "+L.substr(W+1);else if(b[W]!==null){var j=b[W].indexOf(A[0]);j===-1?b[W]+=A:F&&(b[W]=b[W].substr(0,j+1)+(1+parseInt(b[W][j+1]))+b[W].substr(j+2))}var Y=B+O,U=L.substr(Y,N-Y).indexOf(R);B=U!==-1?U:N+z}return b}function x(_,A){var L=u(_,128);return A?o(L.cells,L.positions,.25):{edges:L.cells,positions:L.positions}}function T(_,A,L,b){var R=x(_,b),I=function(H,ne,te){for(var Z=ne.textAlign||"start",X=ne.textBaseline||"alphabetic",Q=[1<<30,1<<30],re=[0,0],ie=H.length,oe=0;oe"u"||!ses.ok||ses.ok()){typeof ses<"u"&&(ses.weakMapPermitHostObjects=A);var l=!1;if(typeof WeakMap=="function"){var a=WeakMap;if(!(typeof navigator<"u"&&/Firefox/.test(navigator.userAgent))){var u=new a,s=Object.freeze({});if(u.set(s,1),u.get(s)===1)return void(h.exports=WeakMap);l=!0}}var o=Object.getOwnPropertyNames,c=Object.defineProperty,f=Object.isExtensible,p="weakmap:",w="weakmap:ident:"+Math.random()+"___";if(typeof crypto<"u"&&typeof crypto.getRandomValues=="function"&&typeof ArrayBuffer=="function"&&typeof Uint8Array=="function"){var g=new ArrayBuffer(25),S=new Uint8Array(g);crypto.getRandomValues(S),w="weakmap:rand:"+Array.prototype.map.call(S,function(O){return(O%36).toString(36)}).join("")+"___"}if(c(Object,"getOwnPropertyNames",{value:function(O){return o(O).filter(L)}}),"getPropertyNames"in Object){var x=Object.getPropertyNames;c(Object,"getPropertyNames",{value:function(O){return x(O).filter(L)}})}(function(){var O=Object.freeze;c(Object,"freeze",{value:function(B){return b(B),O(B)}});var z=Object.seal;c(Object,"seal",{value:function(B){return b(B),z(B)}});var F=Object.preventExtensions;c(Object,"preventExtensions",{value:function(B){return b(B),F(B)}})})();var T=!1,E=0,_=function(){this instanceof _||I();var O=[],z=[],F=E++;return Object.create(_.prototype,{get___:{value:R(function(B,N){var W,j=b(B);return j?F in j?j[F]:N:(W=O.indexOf(B))>=0?z[W]:N})},has___:{value:R(function(B){var N=b(B);return N?F in N:O.indexOf(B)>=0})},set___:{value:R(function(B,N){var W,j=b(B);return j?j[F]=N:(W=O.indexOf(B))>=0?z[W]=N:(W=O.length,z[W]=N,O[W]=B),this})},delete___:{value:R(function(B){var N,W,j=b(B);return j?F in j&&delete j[F]:!((N=O.indexOf(B))<0||(W=O.length-1,O[N]=void 0,z[N]=z[W],O[N]=O[W],O.length=W,z.length=W,0))})}})};_.prototype=Object.create(Object.prototype,{get:{value:function(O,z){return this.get___(O,z)},writable:!0,configurable:!0},has:{value:function(O){return this.has___(O)},writable:!0,configurable:!0},set:{value:function(O,z){return this.set___(O,z)},writable:!0,configurable:!0},delete:{value:function(O){return this.delete___(O)},writable:!0,configurable:!0}}),typeof a=="function"?function(){function O(){this instanceof _||I();var z,F=new a,B=void 0,N=!1;return z=l?function(W,j){return F.set(W,j),F.has(W)||(B||(B=new _),B.set(W,j)),this}:function(W,j){if(N)try{F.set(W,j)}catch{B||(B=new _),B.set___(W,j)}else F.set(W,j);return this},Object.create(_.prototype,{get___:{value:R(function(W,j){return B?F.has(W)?F.get(W):B.get___(W,j):F.get(W,j)})},has___:{value:R(function(W){return F.has(W)||!!B&&B.has___(W)})},set___:{value:R(z)},delete___:{value:R(function(W){var j=!!F.delete(W);return B&&B.delete___(W)||j})},permitHostObjects___:{value:R(function(W){if(W!==A)throw new Error("bogus call to permitHostObjects___");N=!0})}})}l&&typeof Proxy<"u"&&(Proxy=void 0),O.prototype=_.prototype,h.exports=O,Object.defineProperty(WeakMap.prototype,"constructor",{value:WeakMap,enumerable:!1,configurable:!0,writable:!0})}():(typeof Proxy<"u"&&(Proxy=void 0),h.exports=_)}function A(O){O.permitHostObjects___&&O.permitHostObjects___(A)}function L(O){return!(O.substr(0,p.length)==p&&O.substr(O.length-3)==="___")}function b(O){if(O!==Object(O))throw new TypeError("Not an object: "+O);var z=O[w];if(z&&z.key===O)return z;if(f(O)){z={key:O};try{return c(O,w,{value:z,writable:!1,enumerable:!1,configurable:!1}),z}catch{return}}}function R(O){return O.prototype=null,Object.freeze(O)}function I(){T||typeof console>"u"||(T=!0,console.warn("WeakMap should be invoked as new WeakMap(), not WeakMap(). This will be an error in the future."))}})()},9222:function(h,l,a){var u=a(7178);h.exports=function(){var s={};return function(o){if((typeof o!="object"||o===null)&&typeof o!="function")throw new Error("Weakmap-shim: Key must be object");var c=o.valueOf(s);return c&&c.identity===s?c:u(o,s)}}},7178:function(h){h.exports=function(l,a){var u={identity:a},s=l.valueOf;return Object.defineProperty(l,"valueOf",{value:function(o){return o!==a?s.apply(this,arguments):u},writable:!0}),u}},4037:function(h,l,a){var u=a(9222);h.exports=function(){var s=u();return{get:function(o,c){var f=s(o);return f.hasOwnProperty("value")?f.value:c},set:function(o,c){return s(o).value=c,this},has:function(o){return"value"in s(o)},delete:function(o){return delete s(o).value}}}},6183:function(h){h.exports=function(l){var a={};return function(u,s,o){var c=u.dtype,f=u.order,p=[c,f.join()].join(),w=a[p];return w||(a[p]=w=l([c,f])),w(u.shape.slice(0),u.data,u.stride,0|u.offset,s,o)}}((function(){return function(l,a,u,s,o,c){var f=l[0],p=u[0],w=[0],g=p;s|=0;var S=0,x=p;for(S=0;S=0!=E>=0&&o.push(w[0]+.5+.5*(T+E)/(T-E)),s+=x,++w[0]}}}).bind(void 0,{funcName:"zeroCrossings"}))},9584:function(h,l,a){h.exports=function(s,o){var c=[];return o=+o||0,u(s.hi(s.shape[0]-1),c,o),c};var u=a(6183)},6601:function(){}},M={};function v(h){var l=M[h];if(l!==void 0)return l.exports;var a=M[h]={id:h,loaded:!1,exports:{}};return i[h].call(a.exports,a,a.exports,v),a.loaded=!0,a.exports}return v.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),v.nmd=function(h){return h.paths=[],h.children||(h.children=[]),h},v(7386)}()},k.exports=d()},12856:function(k,m,t){function d(ae,he){if(!(ae instanceof he))throw new TypeError("Cannot call a class as a function")}function y(ae,he){for(var be=0;beo)throw new RangeError('The value "'+ae+'" is invalid for option "size"');var he=new Uint8Array(ae);return Object.setPrototypeOf(he,f.prototype),he}function f(ae,he,be){if(typeof ae=="number"){if(typeof he=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return g(ae)}return p(ae,he,be)}function p(ae,he,be){if(typeof ae=="string")return function(Be,ze){if(typeof ze=="string"&&ze!==""||(ze="utf8"),!f.isEncoding(ze))throw new TypeError("Unknown encoding: "+ze);var je=0|E(Be,ze),ge=c(je),we=ge.write(Be,ze);return we!==je&&(ge=ge.slice(0,we)),ge}(ae,he);if(ArrayBuffer.isView(ae))return function(Be){if(Pe(Be,Uint8Array)){var ze=new Uint8Array(Be);return x(ze.buffer,ze.byteOffset,ze.byteLength)}return S(Be)}(ae);if(ae==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+l(ae));if(Pe(ae,ArrayBuffer)||ae&&Pe(ae.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Pe(ae,SharedArrayBuffer)||ae&&Pe(ae.buffer,SharedArrayBuffer)))return x(ae,he,be);if(typeof ae=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var ke=ae.valueOf&&ae.valueOf();if(ke!=null&&ke!==ae)return f.from(ke,he,be);var Le=function(Be){if(f.isBuffer(Be)){var ze=0|T(Be.length),je=c(ze);return je.length===0||Be.copy(je,0,0,ze),je}return Be.length!==void 0?typeof Be.length!="number"||_e(Be.length)?c(0):S(Be):Be.type==="Buffer"&&Array.isArray(Be.data)?S(Be.data):void 0}(ae);if(Le)return Le;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof ae[Symbol.toPrimitive]=="function")return f.from(ae[Symbol.toPrimitive]("string"),he,be);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+l(ae))}function w(ae){if(typeof ae!="number")throw new TypeError('"size" argument must be of type number');if(ae<0)throw new RangeError('The value "'+ae+'" is invalid for option "size"')}function g(ae){return w(ae),c(ae<0?0:0|T(ae))}function S(ae){for(var he=ae.length<0?0:0|T(ae.length),be=c(he),ke=0;ke=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return 0|ae}function E(ae,he){if(f.isBuffer(ae))return ae.length;if(ArrayBuffer.isView(ae)||Pe(ae,ArrayBuffer))return ae.byteLength;if(typeof ae!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+l(ae));var be=ae.length,ke=arguments.length>2&&arguments[2]===!0;if(!ke&&be===0)return 0;for(var Le=!1;;)switch(he){case"ascii":case"latin1":case"binary":return be;case"utf8":case"utf-8":return me(ae).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*be;case"hex":return be>>>1;case"base64":return pe(ae).length;default:if(Le)return ke?-1:me(ae).length;he=(""+he).toLowerCase(),Le=!0}}function _(ae,he,be){var ke=!1;if((he===void 0||he<0)&&(he=0),he>this.length||((be===void 0||be>this.length)&&(be=this.length),be<=0)||(be>>>=0)<=(he>>>=0))return"";for(ae||(ae="utf8");;)switch(ae){case"hex":return U(this,he,be);case"utf8":case"utf-8":return N(this,he,be);case"ascii":return j(this,he,be);case"latin1":case"binary":return Y(this,he,be);case"base64":return B(this,he,be);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return G(this,he,be);default:if(ke)throw new TypeError("Unknown encoding: "+ae);ae=(ae+"").toLowerCase(),ke=!0}}function A(ae,he,be){var ke=ae[he];ae[he]=ae[be],ae[be]=ke}function L(ae,he,be,ke,Le){if(ae.length===0)return-1;if(typeof be=="string"?(ke=be,be=0):be>2147483647?be=2147483647:be<-2147483648&&(be=-2147483648),_e(be=+be)&&(be=Le?0:ae.length-1),be<0&&(be=ae.length+be),be>=ae.length){if(Le)return-1;be=ae.length-1}else if(be<0){if(!Le)return-1;be=0}if(typeof he=="string"&&(he=f.from(he,ke)),f.isBuffer(he))return he.length===0?-1:b(ae,he,be,ke,Le);if(typeof he=="number")return he&=255,typeof Uint8Array.prototype.indexOf=="function"?Le?Uint8Array.prototype.indexOf.call(ae,he,be):Uint8Array.prototype.lastIndexOf.call(ae,he,be):b(ae,[he],be,ke,Le);throw new TypeError("val must be string, number or Buffer")}function b(ae,he,be,ke,Le){var Be,ze=1,je=ae.length,ge=he.length;if(ke!==void 0&&((ke=String(ke).toLowerCase())==="ucs2"||ke==="ucs-2"||ke==="utf16le"||ke==="utf-16le")){if(ae.length<2||he.length<2)return-1;ze=2,je/=2,ge/=2,be/=2}function we($e,st){return ze===1?$e[st]:$e.readUInt16BE(st*ze)}if(Le){var Ee=-1;for(Be=be;Beje&&(be=je-ge),Be=be;Be>=0;Be--){for(var Ve=!0,Ye=0;YeLe&&(ke=Le):ke=Le;var Be,ze=he.length;for(ke>ze/2&&(ke=ze/2),Be=0;Be>8,ge=ze%256,we.push(ge),we.push(je);return we}(he,ae.length-be),ae,be,ke)}function B(ae,he,be){return he===0&&be===ae.length?a.fromByteArray(ae):a.fromByteArray(ae.slice(he,be))}function N(ae,he,be){be=Math.min(ae.length,be);for(var ke=[],Le=he;Le239?4:Be>223?3:Be>191?2:1;if(Le+je<=be){var ge=void 0,we=void 0,Ee=void 0,Ve=void 0;switch(je){case 1:Be<128&&(ze=Be);break;case 2:(192&(ge=ae[Le+1]))==128&&(Ve=(31&Be)<<6|63&ge)>127&&(ze=Ve);break;case 3:ge=ae[Le+1],we=ae[Le+2],(192&ge)==128&&(192&we)==128&&(Ve=(15&Be)<<12|(63&ge)<<6|63&we)>2047&&(Ve<55296||Ve>57343)&&(ze=Ve);break;case 4:ge=ae[Le+1],we=ae[Le+2],Ee=ae[Le+3],(192&ge)==128&&(192&we)==128&&(192&Ee)==128&&(Ve=(15&Be)<<18|(63&ge)<<12|(63&we)<<6|63&Ee)>65535&&Ve<1114112&&(ze=Ve)}}ze===null?(ze=65533,je=1):ze>65535&&(ze-=65536,ke.push(ze>>>10&1023|55296),ze=56320|1023&ze),ke.push(ze),Le+=je}return function(Ye){var $e=Ye.length;if($e<=W)return String.fromCharCode.apply(String,Ye);for(var st="",ot=0;ot<$e;)st+=String.fromCharCode.apply(String,Ye.slice(ot,ot+=W));return st}(ke)}m.kMaxLength=o,f.TYPED_ARRAY_SUPPORT=function(){try{var ae=new Uint8Array(1),he={foo:function(){return 42}};return Object.setPrototypeOf(he,Uint8Array.prototype),Object.setPrototypeOf(ae,he),ae.foo()===42}catch{return!1}}(),f.TYPED_ARRAY_SUPPORT||typeof console>"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(f.prototype,"parent",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.buffer}}),Object.defineProperty(f.prototype,"offset",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.byteOffset}}),f.poolSize=8192,f.from=function(ae,he,be){return p(ae,he,be)},Object.setPrototypeOf(f.prototype,Uint8Array.prototype),Object.setPrototypeOf(f,Uint8Array),f.alloc=function(ae,he,be){return function(ke,Le,Be){return w(ke),ke<=0?c(ke):Le!==void 0?typeof Be=="string"?c(ke).fill(Le,Be):c(ke).fill(Le):c(ke)}(ae,he,be)},f.allocUnsafe=function(ae){return g(ae)},f.allocUnsafeSlow=function(ae){return g(ae)},f.isBuffer=function(ae){return ae!=null&&ae._isBuffer===!0&&ae!==f.prototype},f.compare=function(ae,he){if(Pe(ae,Uint8Array)&&(ae=f.from(ae,ae.offset,ae.byteLength)),Pe(he,Uint8Array)&&(he=f.from(he,he.offset,he.byteLength)),!f.isBuffer(ae)||!f.isBuffer(he))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ae===he)return 0;for(var be=ae.length,ke=he.length,Le=0,Be=Math.min(be,ke);Leke.length?(f.isBuffer(Be)||(Be=f.from(Be)),Be.copy(ke,Le)):Uint8Array.prototype.set.call(ke,Be,Le);else{if(!f.isBuffer(Be))throw new TypeError('"list" argument must be an Array of Buffers');Be.copy(ke,Le)}Le+=Be.length}return ke},f.byteLength=E,f.prototype._isBuffer=!0,f.prototype.swap16=function(){var ae=this.length;if(ae%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var he=0;hehe&&(ae+=" ... "),""},s&&(f.prototype[s]=f.prototype.inspect),f.prototype.compare=function(ae,he,be,ke,Le){if(Pe(ae,Uint8Array)&&(ae=f.from(ae,ae.offset,ae.byteLength)),!f.isBuffer(ae))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+l(ae));if(he===void 0&&(he=0),be===void 0&&(be=ae?ae.length:0),ke===void 0&&(ke=0),Le===void 0&&(Le=this.length),he<0||be>ae.length||ke<0||Le>this.length)throw new RangeError("out of range index");if(ke>=Le&&he>=be)return 0;if(ke>=Le)return-1;if(he>=be)return 1;if(this===ae)return 0;for(var Be=(Le>>>=0)-(ke>>>=0),ze=(be>>>=0)-(he>>>=0),je=Math.min(Be,ze),ge=this.slice(ke,Le),we=ae.slice(he,be),Ee=0;Ee>>=0,isFinite(be)?(be>>>=0,ke===void 0&&(ke="utf8")):(ke=be,be=void 0)}var Le=this.length-he;if((be===void 0||be>Le)&&(be=Le),ae.length>0&&(be<0||he<0)||he>this.length)throw new RangeError("Attempt to write outside buffer bounds");ke||(ke="utf8");for(var Be=!1;;)switch(ke){case"hex":return R(this,ae,he,be);case"utf8":case"utf-8":return I(this,ae,he,be);case"ascii":case"latin1":case"binary":return O(this,ae,he,be);case"base64":return z(this,ae,he,be);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F(this,ae,he,be);default:if(Be)throw new TypeError("Unknown encoding: "+ke);ke=(""+ke).toLowerCase(),Be=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var W=4096;function j(ae,he,be){var ke="";be=Math.min(ae.length,be);for(var Le=he;Leke)&&(be=ke);for(var Le="",Be=he;Bebe)throw new RangeError("Trying to access beyond buffer length")}function H(ae,he,be,ke,Le,Be){if(!f.isBuffer(ae))throw new TypeError('"buffer" argument must be a Buffer instance');if(he>Le||heae.length)throw new RangeError("Index out of range")}function ne(ae,he,be,ke,Le){ue(he,ke,Le,ae,be,7);var Be=Number(he&BigInt(4294967295));ae[be++]=Be,Be>>=8,ae[be++]=Be,Be>>=8,ae[be++]=Be,Be>>=8,ae[be++]=Be;var ze=Number(he>>BigInt(32)&BigInt(4294967295));return ae[be++]=ze,ze>>=8,ae[be++]=ze,ze>>=8,ae[be++]=ze,ze>>=8,ae[be++]=ze,be}function te(ae,he,be,ke,Le){ue(he,ke,Le,ae,be,7);var Be=Number(he&BigInt(4294967295));ae[be+7]=Be,Be>>=8,ae[be+6]=Be,Be>>=8,ae[be+5]=Be,Be>>=8,ae[be+4]=Be;var ze=Number(he>>BigInt(32)&BigInt(4294967295));return ae[be+3]=ze,ze>>=8,ae[be+2]=ze,ze>>=8,ae[be+1]=ze,ze>>=8,ae[be]=ze,be+8}function Z(ae,he,be,ke,Le,Be){if(be+ke>ae.length)throw new RangeError("Index out of range");if(be<0)throw new RangeError("Index out of range")}function X(ae,he,be,ke,Le){return he=+he,be>>>=0,Le||Z(ae,0,be,4),u.write(ae,he,be,ke,23,4),be+4}function Q(ae,he,be,ke,Le){return he=+he,be>>>=0,Le||Z(ae,0,be,8),u.write(ae,he,be,ke,52,8),be+8}f.prototype.slice=function(ae,he){var be=this.length;(ae=~~ae)<0?(ae+=be)<0&&(ae=0):ae>be&&(ae=be),(he=he===void 0?be:~~he)<0?(he+=be)<0&&(he=0):he>be&&(he=be),he>>=0,he>>>=0,be||q(ae,he,this.length);for(var ke=this[ae],Le=1,Be=0;++Be>>=0,he>>>=0,be||q(ae,he,this.length);for(var ke=this[ae+--he],Le=1;he>0&&(Le*=256);)ke+=this[ae+--he]*Le;return ke},f.prototype.readUint8=f.prototype.readUInt8=function(ae,he){return ae>>>=0,he||q(ae,1,this.length),this[ae]},f.prototype.readUint16LE=f.prototype.readUInt16LE=function(ae,he){return ae>>>=0,he||q(ae,2,this.length),this[ae]|this[ae+1]<<8},f.prototype.readUint16BE=f.prototype.readUInt16BE=function(ae,he){return ae>>>=0,he||q(ae,2,this.length),this[ae]<<8|this[ae+1]},f.prototype.readUint32LE=f.prototype.readUInt32LE=function(ae,he){return ae>>>=0,he||q(ae,4,this.length),(this[ae]|this[ae+1]<<8|this[ae+2]<<16)+16777216*this[ae+3]},f.prototype.readUint32BE=f.prototype.readUInt32BE=function(ae,he){return ae>>>=0,he||q(ae,4,this.length),16777216*this[ae]+(this[ae+1]<<16|this[ae+2]<<8|this[ae+3])},f.prototype.readBigUInt64LE=Se(function(ae){ce(ae>>>=0,"offset");var he=this[ae],be=this[ae+7];he!==void 0&&be!==void 0||ye(ae,this.length-8);var ke=he+this[++ae]*Math.pow(2,8)+this[++ae]*Math.pow(2,16)+this[++ae]*Math.pow(2,24),Le=this[++ae]+this[++ae]*Math.pow(2,8)+this[++ae]*Math.pow(2,16)+be*Math.pow(2,24);return BigInt(ke)+(BigInt(Le)<>>=0,"offset");var he=this[ae],be=this[ae+7];he!==void 0&&be!==void 0||ye(ae,this.length-8);var ke=he*Math.pow(2,24)+this[++ae]*Math.pow(2,16)+this[++ae]*Math.pow(2,8)+this[++ae],Le=this[++ae]*Math.pow(2,24)+this[++ae]*Math.pow(2,16)+this[++ae]*Math.pow(2,8)+be;return(BigInt(ke)<>>=0,he>>>=0,be||q(ae,he,this.length);for(var ke=this[ae],Le=1,Be=0;++Be=(Le*=128)&&(ke-=Math.pow(2,8*he)),ke},f.prototype.readIntBE=function(ae,he,be){ae>>>=0,he>>>=0,be||q(ae,he,this.length);for(var ke=he,Le=1,Be=this[ae+--ke];ke>0&&(Le*=256);)Be+=this[ae+--ke]*Le;return Be>=(Le*=128)&&(Be-=Math.pow(2,8*he)),Be},f.prototype.readInt8=function(ae,he){return ae>>>=0,he||q(ae,1,this.length),128&this[ae]?-1*(255-this[ae]+1):this[ae]},f.prototype.readInt16LE=function(ae,he){ae>>>=0,he||q(ae,2,this.length);var be=this[ae]|this[ae+1]<<8;return 32768&be?4294901760|be:be},f.prototype.readInt16BE=function(ae,he){ae>>>=0,he||q(ae,2,this.length);var be=this[ae+1]|this[ae]<<8;return 32768&be?4294901760|be:be},f.prototype.readInt32LE=function(ae,he){return ae>>>=0,he||q(ae,4,this.length),this[ae]|this[ae+1]<<8|this[ae+2]<<16|this[ae+3]<<24},f.prototype.readInt32BE=function(ae,he){return ae>>>=0,he||q(ae,4,this.length),this[ae]<<24|this[ae+1]<<16|this[ae+2]<<8|this[ae+3]},f.prototype.readBigInt64LE=Se(function(ae){ce(ae>>>=0,"offset");var he=this[ae],be=this[ae+7];he!==void 0&&be!==void 0||ye(ae,this.length-8);var ke=this[ae+4]+this[ae+5]*Math.pow(2,8)+this[ae+6]*Math.pow(2,16)+(be<<24);return(BigInt(ke)<>>=0,"offset");var he=this[ae],be=this[ae+7];he!==void 0&&be!==void 0||ye(ae,this.length-8);var ke=(he<<24)+this[++ae]*Math.pow(2,16)+this[++ae]*Math.pow(2,8)+this[++ae];return(BigInt(ke)<>>=0,he||q(ae,4,this.length),u.read(this,ae,!0,23,4)},f.prototype.readFloatBE=function(ae,he){return ae>>>=0,he||q(ae,4,this.length),u.read(this,ae,!1,23,4)},f.prototype.readDoubleLE=function(ae,he){return ae>>>=0,he||q(ae,8,this.length),u.read(this,ae,!0,52,8)},f.prototype.readDoubleBE=function(ae,he){return ae>>>=0,he||q(ae,8,this.length),u.read(this,ae,!1,52,8)},f.prototype.writeUintLE=f.prototype.writeUIntLE=function(ae,he,be,ke){ae=+ae,he>>>=0,be>>>=0,ke||H(this,ae,he,be,Math.pow(2,8*be)-1,0);var Le=1,Be=0;for(this[he]=255&ae;++Be>>=0,be>>>=0,ke||H(this,ae,he,be,Math.pow(2,8*be)-1,0);var Le=be-1,Be=1;for(this[he+Le]=255&ae;--Le>=0&&(Be*=256);)this[he+Le]=ae/Be&255;return he+be},f.prototype.writeUint8=f.prototype.writeUInt8=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,1,255,0),this[he]=255&ae,he+1},f.prototype.writeUint16LE=f.prototype.writeUInt16LE=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,2,65535,0),this[he]=255&ae,this[he+1]=ae>>>8,he+2},f.prototype.writeUint16BE=f.prototype.writeUInt16BE=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,2,65535,0),this[he]=ae>>>8,this[he+1]=255&ae,he+2},f.prototype.writeUint32LE=f.prototype.writeUInt32LE=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,4,4294967295,0),this[he+3]=ae>>>24,this[he+2]=ae>>>16,this[he+1]=ae>>>8,this[he]=255&ae,he+4},f.prototype.writeUint32BE=f.prototype.writeUInt32BE=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,4,4294967295,0),this[he]=ae>>>24,this[he+1]=ae>>>16,this[he+2]=ae>>>8,this[he+3]=255&ae,he+4},f.prototype.writeBigUInt64LE=Se(function(ae){var he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ne(this,ae,he,BigInt(0),BigInt("0xffffffffffffffff"))}),f.prototype.writeBigUInt64BE=Se(function(ae){var he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return te(this,ae,he,BigInt(0),BigInt("0xffffffffffffffff"))}),f.prototype.writeIntLE=function(ae,he,be,ke){if(ae=+ae,he>>>=0,!ke){var Le=Math.pow(2,8*be-1);H(this,ae,he,be,Le-1,-Le)}var Be=0,ze=1,je=0;for(this[he]=255&ae;++Be>0)-je&255;return he+be},f.prototype.writeIntBE=function(ae,he,be,ke){if(ae=+ae,he>>>=0,!ke){var Le=Math.pow(2,8*be-1);H(this,ae,he,be,Le-1,-Le)}var Be=be-1,ze=1,je=0;for(this[he+Be]=255&ae;--Be>=0&&(ze*=256);)ae<0&&je===0&&this[he+Be+1]!==0&&(je=1),this[he+Be]=(ae/ze>>0)-je&255;return he+be},f.prototype.writeInt8=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,1,127,-128),ae<0&&(ae=255+ae+1),this[he]=255&ae,he+1},f.prototype.writeInt16LE=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,2,32767,-32768),this[he]=255&ae,this[he+1]=ae>>>8,he+2},f.prototype.writeInt16BE=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,2,32767,-32768),this[he]=ae>>>8,this[he+1]=255&ae,he+2},f.prototype.writeInt32LE=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,4,2147483647,-2147483648),this[he]=255&ae,this[he+1]=ae>>>8,this[he+2]=ae>>>16,this[he+3]=ae>>>24,he+4},f.prototype.writeInt32BE=function(ae,he,be){return ae=+ae,he>>>=0,be||H(this,ae,he,4,2147483647,-2147483648),ae<0&&(ae=4294967295+ae+1),this[he]=ae>>>24,this[he+1]=ae>>>16,this[he+2]=ae>>>8,this[he+3]=255&ae,he+4},f.prototype.writeBigInt64LE=Se(function(ae){var he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ne(this,ae,he,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),f.prototype.writeBigInt64BE=Se(function(ae){var he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return te(this,ae,he,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),f.prototype.writeFloatLE=function(ae,he,be){return X(this,ae,he,!0,be)},f.prototype.writeFloatBE=function(ae,he,be){return X(this,ae,he,!1,be)},f.prototype.writeDoubleLE=function(ae,he,be){return Q(this,ae,he,!0,be)},f.prototype.writeDoubleBE=function(ae,he,be){return Q(this,ae,he,!1,be)},f.prototype.copy=function(ae,he,be,ke){if(!f.isBuffer(ae))throw new TypeError("argument should be a Buffer");if(be||(be=0),ke||ke===0||(ke=this.length),he>=ae.length&&(he=ae.length),he||(he=0),ke>0&&ke=this.length)throw new RangeError("Index out of range");if(ke<0)throw new RangeError("sourceEnd out of bounds");ke>this.length&&(ke=this.length),ae.length-he>>=0,be=be===void 0?this.length:be>>>0,ae||(ae=0),typeof ae=="number")for(Be=he;Be"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var Ee,Ve=h(ze);if(je){var Ye=h(this).constructor;Ee=Reflect.construct(Ve,arguments,Ye)}else Ee=Ve.apply(this,arguments);return M(this,Ee)});function we(){var Ee;return d(this,we),Ee=ge.call(this),Object.defineProperty(v(Ee),"message",{value:he.apply(v(Ee),arguments),writable:!0,configurable:!0}),Ee.name="".concat(Ee.name," [").concat(ae,"]"),Ee.stack,delete Ee.name,Ee}return Le=we,(Be=[{key:"code",get:function(){return ae},set:function(Ee){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:Ee,writable:!0})}},{key:"toString",value:function(){return"".concat(this.name," [").concat(ae,"]: ").concat(this.message)}}])&&y(Le.prototype,Be),Object.defineProperty(Le,"prototype",{writable:!1}),we}(be)}function oe(ae){for(var he="",be=ae.length,ke=ae[0]==="-"?1:0;be>=ke+4;be-=3)he="_".concat(ae.slice(be-3,be)).concat(he);return"".concat(ae.slice(0,be)).concat(he)}function ue(ae,he,be,ke,Le,Be){if(ae>be||ae3?he===0||he===BigInt(0)?">= 0".concat(je," and < 2").concat(je," ** ").concat(8*(Be+1)).concat(je):">= -(2".concat(je," ** ").concat(8*(Be+1)-1).concat(je,") and < 2 ** ")+"".concat(8*(Be+1)-1).concat(je):">= ".concat(he).concat(je," and <= ").concat(be).concat(je),new re.ERR_OUT_OF_RANGE("value",ze,ae)}(function(ge,we,Ee){ce(we,"offset"),ge[we]!==void 0&&ge[we+Ee]!==void 0||ye(we,ge.length-(Ee+1))})(ke,Le,Be)}function ce(ae,he){if(typeof ae!="number")throw new re.ERR_INVALID_ARG_TYPE(he,"number",ae)}function ye(ae,he,be){throw Math.floor(ae)!==ae?(ce(ae,be),new re.ERR_OUT_OF_RANGE(be||"offset","an integer",ae)):he<0?new re.ERR_BUFFER_OUT_OF_BOUNDS:new re.ERR_OUT_OF_RANGE(be||"offset",">= ".concat(be?1:0," and <= ").concat(he),ae)}ie("ERR_BUFFER_OUT_OF_BOUNDS",function(ae){return ae?"".concat(ae," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"},RangeError),ie("ERR_INVALID_ARG_TYPE",function(ae,he){return'The "'.concat(ae,'" argument must be of type number. Received type ').concat(l(he))},TypeError),ie("ERR_OUT_OF_RANGE",function(ae,he,be){var ke='The value of "'.concat(ae,'" is out of range.'),Le=be;return Number.isInteger(be)&&Math.abs(be)>Math.pow(2,32)?Le=oe(String(be)):typeof be=="bigint"&&(Le=String(be),(be>Math.pow(BigInt(2),BigInt(32))||be<-Math.pow(BigInt(2),BigInt(32)))&&(Le=oe(Le)),Le+="n"),ke+" It must be ".concat(he,". Received ").concat(Le)},RangeError);var de=/[^+/0-9A-Za-z-_]/g;function me(ae,he){var be;he=he||1/0;for(var ke=ae.length,Le=null,Be=[],ze=0;ze55295&&be<57344){if(!Le){if(be>56319){(he-=3)>-1&&Be.push(239,191,189);continue}if(ze+1===ke){(he-=3)>-1&&Be.push(239,191,189);continue}Le=be;continue}if(be<56320){(he-=3)>-1&&Be.push(239,191,189),Le=be;continue}be=65536+(Le-55296<<10|be-56320)}else Le&&(he-=3)>-1&&Be.push(239,191,189);if(Le=null,be<128){if((he-=1)<0)break;Be.push(be)}else if(be<2048){if((he-=2)<0)break;Be.push(be>>6|192,63&be|128)}else if(be<65536){if((he-=3)<0)break;Be.push(be>>12|224,be>>6&63|128,63&be|128)}else{if(!(be<1114112))throw new Error("Invalid code point");if((he-=4)<0)break;Be.push(be>>18|240,be>>12&63|128,be>>6&63|128,63&be|128)}}return Be}function pe(ae){return a.toByteArray(function(he){if((he=(he=he.split("=")[0]).trim().replace(de,"")).length<2)return"";for(;he.length%4!=0;)he+="=";return he}(ae))}function xe(ae,he,be,ke){var Le;for(Le=0;Le=he.length||Le>=ae.length);++Le)he[Le+be]=ae[Le];return Le}function Pe(ae,he){return ae instanceof he||ae!=null&&ae.constructor!=null&&ae.constructor.name!=null&&ae.constructor.name===he.name}function _e(ae){return ae!=ae}var Me=function(){for(var ae="0123456789abcdef",he=new Array(256),be=0;be<16;++be)for(var ke=16*be,Le=0;Le<16;++Le)he[ke+Le]=ae[be]+ae[Le];return he}();function Se(ae){return typeof BigInt>"u"?Ce:ae}function Ce(){throw new Error("BigInt not supported")}},35791:function(k){k.exports=y,k.exports.isMobile=y,k.exports.default=y;var m=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,t=/CrOS/,d=/android|ipad|playbook|silk/i;function y(i){i||(i={});var M=i.ua;if(M||typeof navigator>"u"||(M=navigator.userAgent),M&&M.headers&&typeof M.headers["user-agent"]=="string"&&(M=M.headers["user-agent"]),typeof M!="string")return!1;var v=m.test(M)&&!t.test(M)||!!i.tablet&&d.test(M);return!v&&i.tablet&&i.featureDetect&&navigator&&navigator.maxTouchPoints>1&&M.indexOf("Macintosh")!==-1&&M.indexOf("Safari")!==-1&&(v=!0),v}},86781:function(k,m,t){t.r(m),t.d(m,{sankeyCenter:function(){return s},sankeyCircular:function(){return O},sankeyJustify:function(){return u},sankeyLeft:function(){return l},sankeyRight:function(){return a}});var d=t(33064),y=t(15140),i=t(45879),M=t(2502),v=t.n(M);function h(pe){return pe.target.depth}function l(pe){return pe.depth}function a(pe,xe){return xe-1-pe.height}function u(pe,xe){return pe.sourceLinks.length?pe.depth:xe-1}function s(pe){return pe.targetLinks.length?pe.depth:pe.sourceLinks.length?(0,d.VV)(pe.sourceLinks,h)-1:0}function o(pe){return function(){return pe}}var c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(pe){return typeof pe}:function(pe){return pe&&typeof Symbol=="function"&&pe.constructor===Symbol&&pe!==Symbol.prototype?"symbol":typeof pe};function f(pe,xe){return w(pe.source,xe.source)||pe.index-xe.index}function p(pe,xe){return w(pe.target,xe.target)||pe.index-xe.index}function w(pe,xe){return pe.partOfCycle===xe.partOfCycle?pe.y0-xe.y0:pe.circularLinkType==="top"||xe.circularLinkType==="bottom"?-1:1}function g(pe){return pe.value}function S(pe){return(pe.y0+pe.y1)/2}function x(pe){return S(pe.source)}function T(pe){return S(pe.target)}function E(pe){return pe.index}function _(pe){return pe.nodes}function A(pe){return pe.links}function L(pe,xe){var Pe=pe.get(xe);if(!Pe)throw new Error("missing: "+xe);return Pe}function b(pe,xe){return xe(pe)}var R=25,I=10;function O(){var pe,xe,Pe=0,_e=0,Me=1,Se=1,Ce=24,ae=E,he=u,be=_,ke=A,Le=32,Be=2,ze=null;function je(){var $e={nodes:be.apply(null,arguments),links:ke.apply(null,arguments)};ge($e),z($e,0,ze),we($e),Ee($e),F($e,ae),Ve($e,Le,ae),Ye($e);for(var st=4,ot=0;ot0?Je+R+I:Je,bottom:qe=qe>0?qe+R+I:qe,left:ht=ht>0?ht+R+I:ht,right:nt=nt>0?nt+R+I:nt}}($e),Vt=function(Ke,Je){var qe=(0,d.Fp)(Ke.nodes,function(Qe){return Qe.column}),nt=Me-Pe,ht=Se-_e,Re=nt/(nt+Je.right+Je.left),Ne=ht/(ht+Je.top+Je.bottom);return Pe=Pe*Re+Je.left,Me=Je.right==0?Me:Me*Re,_e=_e*Ne+Je.top,Se*=Ne,Ke.nodes.forEach(function(Qe){Qe.x0=Pe+Qe.column*((Me-Pe-Ce)/qe),Qe.x1=Qe.x0+Ce}),Ne}($e,qt);Bt*=Vt,$e.links.forEach(function(Ke){Ke.width=Ke.value*Bt}),ft.forEach(function(Ke){var Je=Ke.length;Ke.forEach(function(qe,nt){qe.depth==ft.length-1&&Je==1||qe.depth==0&&Je==1?(qe.y0=Se/2-qe.value*Bt,qe.y1=qe.y0+qe.value*Bt):qe.partOfCycle?N(qe,Ft)==0?(qe.y0=Se/2+nt,qe.y1=qe.y0+qe.value*Bt):qe.circularLinkType=="top"?(qe.y0=_e+nt,qe.y1=qe.y0+qe.value*Bt):(qe.y0=Se-qe.value*Bt-nt,qe.y1=qe.y0+qe.value*Bt):qt.top==0||qt.bottom==0?(qe.y0=(Se-_e)/Je*nt,qe.y1=qe.y0+qe.value*Bt):(qe.y0=(Se-_e)/2-Je/2+nt,qe.y1=qe.y0+qe.value*Bt)})})})(ot),xt();for(var bt=1,Et=st;Et>0;--Et)kt(bt*=.99,ot),xt();function kt(Ft,Ot){var Bt=ft.length;ft.forEach(function(qt){var Vt=qt.length,Ke=qt[0].depth;qt.forEach(function(Je){var qe;if((Je.sourceLinks.length||Je.targetLinks.length)&&!(Je.partOfCycle&&N(Je,Ot)>0))if(Ke==0&&Vt==1)qe=Je.y1-Je.y0,Je.y0=Se/2-qe/2,Je.y1=Se/2+qe/2;else if(Ke==Bt-1&&Vt==1)qe=Je.y1-Je.y0,Je.y0=Se/2-qe/2,Je.y1=Se/2+qe/2;else{var nt=(0,d.J6)(Je.sourceLinks,T),ht=(0,d.J6)(Je.targetLinks,x),Re=((nt&&ht?(nt+ht)/2:nt||ht)-S(Je))*Ft;Je.y0+=Re,Je.y1+=Re}})})}function xt(){ft.forEach(function(Ft){var Ot,Bt,qt,Vt=_e,Ke=Ft.length;for(Ft.sort(w),qt=0;qt0&&(Ot.y0+=Bt,Ot.y1+=Bt),Vt=Ot.y1+pe;if((Bt=Vt-pe-Se)>0)for(Vt=Ot.y0-=Bt,Ot.y1-=Bt,qt=Ke-2;qt>=0;--qt)(Bt=(Ot=Ft[qt]).y1+pe-Vt)>0&&(Ot.y0-=Bt,Ot.y1-=Bt),Vt=Ot.y0})}}function Ye($e){$e.nodes.forEach(function(st){st.sourceLinks.sort(p),st.targetLinks.sort(f)}),$e.nodes.forEach(function(st){var ot=st.y0,ft=ot,bt=st.y1,Et=bt;st.sourceLinks.forEach(function(kt){kt.circular?(kt.y0=bt-kt.width/2,bt-=kt.width):(kt.y0=ot+kt.width/2,ot+=kt.width)}),st.targetLinks.forEach(function(kt){kt.circular?(kt.y1=Et-kt.width/2,Et-=kt.width):(kt.y1=ft+kt.width/2,ft+=kt.width)})})}return je.nodeId=function($e){return arguments.length?(ae=typeof $e=="function"?$e:o($e),je):ae},je.nodeAlign=function($e){return arguments.length?(he=typeof $e=="function"?$e:o($e),je):he},je.nodeWidth=function($e){return arguments.length?(Ce=+$e,je):Ce},je.nodePadding=function($e){return arguments.length?(pe=+$e,je):pe},je.nodes=function($e){return arguments.length?(be=typeof $e=="function"?$e:o($e),je):be},je.links=function($e){return arguments.length?(ke=typeof $e=="function"?$e:o($e),je):ke},je.size=function($e){return arguments.length?(Pe=_e=0,Me=+$e[0],Se=+$e[1],je):[Me-Pe,Se-_e]},je.extent=function($e){return arguments.length?(Pe=+$e[0][0],Me=+$e[1][0],_e=+$e[0][1],Se=+$e[1][1],je):[[Pe,_e],[Me,Se]]},je.iterations=function($e){return arguments.length?(Le=+$e,je):Le},je.circularLinkGap=function($e){return arguments.length?(Be=+$e,je):Be},je.nodePaddingRatio=function($e){return arguments.length?(xe=+$e,je):xe},je.sortNodes=function($e){return arguments.length?(ze=$e,je):ze},je.update=function($e){return F($e,ae),Ye($e),$e.links.forEach(function(st){st.circular&&(st.circularLinkType=st.y0+st.y11||Me>1)}function j(pe,xe,Pe){return pe.sort(U),pe.forEach(function(_e,Me){var Se,Ce,ae=0;if(de(_e,Pe)&&W(_e))_e.circularPathData.verticalBuffer=ae+_e.width/2;else{for(var he=0;heCe.source.column)){var be=pe[he].circularPathData.verticalBuffer+pe[he].width/2+xe;ae=be>ae?be:ae}_e.circularPathData.verticalBuffer=ae+_e.width/2}}),pe}function Y(pe,xe,Pe,_e){var Me=(0,d.VV)(pe.links,function(Se){return Se.source.y0});pe.links.forEach(function(Se){Se.circular&&(Se.circularPathData={})}),j(pe.links.filter(function(Se){return Se.circularLinkType=="top"}),xe,_e),j(pe.links.filter(function(Se){return Se.circularLinkType=="bottom"}),xe,_e),pe.links.forEach(function(Se){if(Se.circular){if(Se.circularPathData.arcRadius=Se.width+I,Se.circularPathData.leftNodeBuffer=5,Se.circularPathData.rightNodeBuffer=5,Se.circularPathData.sourceWidth=Se.source.x1-Se.source.x0,Se.circularPathData.sourceX=Se.source.x0+Se.circularPathData.sourceWidth,Se.circularPathData.targetX=Se.target.x0,Se.circularPathData.sourceY=Se.y0,Se.circularPathData.targetY=Se.y1,de(Se,_e)&&W(Se))Se.circularPathData.leftSmallArcRadius=I+Se.width/2,Se.circularPathData.leftLargeArcRadius=I+Se.width/2,Se.circularPathData.rightSmallArcRadius=I+Se.width/2,Se.circularPathData.rightLargeArcRadius=I+Se.width/2,Se.circularLinkType=="bottom"?(Se.circularPathData.verticalFullExtent=Se.source.y1+R+Se.circularPathData.verticalBuffer,Se.circularPathData.verticalLeftInnerExtent=Se.circularPathData.verticalFullExtent-Se.circularPathData.leftLargeArcRadius,Se.circularPathData.verticalRightInnerExtent=Se.circularPathData.verticalFullExtent-Se.circularPathData.rightLargeArcRadius):(Se.circularPathData.verticalFullExtent=Se.source.y0-R-Se.circularPathData.verticalBuffer,Se.circularPathData.verticalLeftInnerExtent=Se.circularPathData.verticalFullExtent+Se.circularPathData.leftLargeArcRadius,Se.circularPathData.verticalRightInnerExtent=Se.circularPathData.verticalFullExtent+Se.circularPathData.rightLargeArcRadius);else{var Ce=Se.source.column,ae=Se.circularLinkType,he=pe.links.filter(function(Le){return Le.source.column==Ce&&Le.circularLinkType==ae});Se.circularLinkType=="bottom"?he.sort(q):he.sort(G);var be=0;he.forEach(function(Le,Be){Le.circularLinkID==Se.circularLinkID&&(Se.circularPathData.leftSmallArcRadius=I+Se.width/2+be,Se.circularPathData.leftLargeArcRadius=I+Se.width/2+Be*xe+be),be+=Le.width}),Ce=Se.target.column,he=pe.links.filter(function(Le){return Le.target.column==Ce&&Le.circularLinkType==ae}),Se.circularLinkType=="bottom"?he.sort(ne):he.sort(H),be=0,he.forEach(function(Le,Be){Le.circularLinkID==Se.circularLinkID&&(Se.circularPathData.rightSmallArcRadius=I+Se.width/2+be,Se.circularPathData.rightLargeArcRadius=I+Se.width/2+Be*xe+be),be+=Le.width}),Se.circularLinkType=="bottom"?(Se.circularPathData.verticalFullExtent=Math.max(Pe,Se.source.y1,Se.target.y1)+R+Se.circularPathData.verticalBuffer,Se.circularPathData.verticalLeftInnerExtent=Se.circularPathData.verticalFullExtent-Se.circularPathData.leftLargeArcRadius,Se.circularPathData.verticalRightInnerExtent=Se.circularPathData.verticalFullExtent-Se.circularPathData.rightLargeArcRadius):(Se.circularPathData.verticalFullExtent=Me-R-Se.circularPathData.verticalBuffer,Se.circularPathData.verticalLeftInnerExtent=Se.circularPathData.verticalFullExtent+Se.circularPathData.leftLargeArcRadius,Se.circularPathData.verticalRightInnerExtent=Se.circularPathData.verticalFullExtent+Se.circularPathData.rightLargeArcRadius)}Se.circularPathData.leftInnerExtent=Se.circularPathData.sourceX+Se.circularPathData.leftNodeBuffer,Se.circularPathData.rightInnerExtent=Se.circularPathData.targetX-Se.circularPathData.rightNodeBuffer,Se.circularPathData.leftFullExtent=Se.circularPathData.sourceX+Se.circularPathData.leftLargeArcRadius+Se.circularPathData.leftNodeBuffer,Se.circularPathData.rightFullExtent=Se.circularPathData.targetX-Se.circularPathData.rightLargeArcRadius-Se.circularPathData.rightNodeBuffer}if(Se.circular)Se.path=function(Le){return Le.circularLinkType=="top"?"M"+Le.circularPathData.sourceX+" "+Le.circularPathData.sourceY+" L"+Le.circularPathData.leftInnerExtent+" "+Le.circularPathData.sourceY+" A"+Le.circularPathData.leftLargeArcRadius+" "+Le.circularPathData.leftSmallArcRadius+" 0 0 0 "+Le.circularPathData.leftFullExtent+" "+(Le.circularPathData.sourceY-Le.circularPathData.leftSmallArcRadius)+" L"+Le.circularPathData.leftFullExtent+" "+Le.circularPathData.verticalLeftInnerExtent+" A"+Le.circularPathData.leftLargeArcRadius+" "+Le.circularPathData.leftLargeArcRadius+" 0 0 0 "+Le.circularPathData.leftInnerExtent+" "+Le.circularPathData.verticalFullExtent+" L"+Le.circularPathData.rightInnerExtent+" "+Le.circularPathData.verticalFullExtent+" A"+Le.circularPathData.rightLargeArcRadius+" "+Le.circularPathData.rightLargeArcRadius+" 0 0 0 "+Le.circularPathData.rightFullExtent+" "+Le.circularPathData.verticalRightInnerExtent+" L"+Le.circularPathData.rightFullExtent+" "+(Le.circularPathData.targetY-Le.circularPathData.rightSmallArcRadius)+" A"+Le.circularPathData.rightLargeArcRadius+" "+Le.circularPathData.rightSmallArcRadius+" 0 0 0 "+Le.circularPathData.rightInnerExtent+" "+Le.circularPathData.targetY+" L"+Le.circularPathData.targetX+" "+Le.circularPathData.targetY:"M"+Le.circularPathData.sourceX+" "+Le.circularPathData.sourceY+" L"+Le.circularPathData.leftInnerExtent+" "+Le.circularPathData.sourceY+" A"+Le.circularPathData.leftLargeArcRadius+" "+Le.circularPathData.leftSmallArcRadius+" 0 0 1 "+Le.circularPathData.leftFullExtent+" "+(Le.circularPathData.sourceY+Le.circularPathData.leftSmallArcRadius)+" L"+Le.circularPathData.leftFullExtent+" "+Le.circularPathData.verticalLeftInnerExtent+" A"+Le.circularPathData.leftLargeArcRadius+" "+Le.circularPathData.leftLargeArcRadius+" 0 0 1 "+Le.circularPathData.leftInnerExtent+" "+Le.circularPathData.verticalFullExtent+" L"+Le.circularPathData.rightInnerExtent+" "+Le.circularPathData.verticalFullExtent+" A"+Le.circularPathData.rightLargeArcRadius+" "+Le.circularPathData.rightLargeArcRadius+" 0 0 1 "+Le.circularPathData.rightFullExtent+" "+Le.circularPathData.verticalRightInnerExtent+" L"+Le.circularPathData.rightFullExtent+" "+(Le.circularPathData.targetY+Le.circularPathData.rightSmallArcRadius)+" A"+Le.circularPathData.rightLargeArcRadius+" "+Le.circularPathData.rightSmallArcRadius+" 0 0 1 "+Le.circularPathData.rightInnerExtent+" "+Le.circularPathData.targetY+" L"+Le.circularPathData.targetX+" "+Le.circularPathData.targetY}(Se);else{var ke=(0,i.h5)().source(function(Le){return[Le.source.x0+(Le.source.x1-Le.source.x0),Le.y0]}).target(function(Le){return[Le.target.x0,Le.y1]});Se.path=ke(Se)}})}function U(pe,xe){return te(pe)==te(xe)?pe.circularLinkType=="bottom"?q(pe,xe):G(pe,xe):te(xe)-te(pe)}function G(pe,xe){return pe.y0-xe.y0}function q(pe,xe){return xe.y0-pe.y0}function H(pe,xe){return pe.y1-xe.y1}function ne(pe,xe){return xe.y1-pe.y1}function te(pe){return pe.target.column-pe.source.column}function Z(pe){return pe.target.x0-pe.source.x1}function X(pe,xe){var Pe=B(pe),_e=Z(xe)/Math.tan(Pe);return ye(pe)=="up"?pe.y1+_e:pe.y1-_e}function Q(pe,xe){var Pe=B(pe),_e=Z(xe)/Math.tan(Pe);return ye(pe)=="up"?pe.y1-_e:pe.y1+_e}function re(pe,xe,Pe,_e){pe.links.forEach(function(Me){if(!Me.circular&&Me.target.column-Me.source.column>1){var Se=Me.source.column+1,Ce=Me.target.column-1,ae=1,he=Ce-Se+1;for(ae=1;Se<=Ce;Se++,ae++)pe.nodes.forEach(function(be){if(be.column==Se){var ke,Le=ae/(he+1),Be=Math.pow(1-Le,3),ze=3*Le*Math.pow(1-Le,2),je=3*Math.pow(Le,2)*(1-Le),ge=Math.pow(Le,3),we=Be*Me.y0+ze*Me.y0+je*Me.y1+ge*Me.y1,Ee=we-Me.width/2,Ve=we+Me.width/2;Ee>be.y0&&Eest.y0&&$e.y0st.y0&&$e.y1st.y1)&&ie(Ye,ke,xe,Pe)})):(Ve>be.y0&&Vebe.y1)&&(ke=Ve-be.y0+10,be=ie(be,ke,xe,Pe),pe.nodes.forEach(function(Ye){b(Ye,_e)!=b(be,_e)&&Ye.column==be.column&&Ye.y0be.y1&&ie(Ye,ke,xe,Pe)}))}})}})}function ie(pe,xe,Pe,_e){return pe.y0+xe>=Pe&&pe.y1+xe<=_e&&(pe.y0=pe.y0+xe,pe.y1=pe.y1+xe,pe.targetLinks.forEach(function(Me){Me.y1=Me.y1+xe}),pe.sourceLinks.forEach(function(Me){Me.y0=Me.y0+xe})),pe}function oe(pe,xe,Pe,_e){pe.nodes.forEach(function(Me){_e&&Me.y+(Me.y1-Me.y0)>xe&&(Me.y=Me.y-(Me.y+(Me.y1-Me.y0)-xe));var Se=pe.links.filter(function(he){return b(he.source,Pe)==b(Me,Pe)}),Ce=Se.length;Ce>1&&Se.sort(function(he,be){if(!he.circular&&!be.circular){if(he.target.column==be.target.column||!ce(he,be))return he.y1-be.y1;if(he.target.column>be.target.column){var ke=Q(be,he);return he.y1-ke}if(be.target.column>he.target.column)return Q(he,be)-be.y1}return he.circular&&!be.circular?he.circularLinkType=="top"?-1:1:be.circular&&!he.circular?be.circularLinkType=="top"?1:-1:he.circular&&be.circular?he.circularLinkType===be.circularLinkType&&he.circularLinkType=="top"?he.target.column===be.target.column?he.target.y1-be.target.y1:be.target.column-he.target.column:he.circularLinkType===be.circularLinkType&&he.circularLinkType=="bottom"?he.target.column===be.target.column?be.target.y1-he.target.y1:he.target.column-be.target.column:he.circularLinkType=="top"?-1:1:void 0});var ae=Me.y0;Se.forEach(function(he){he.y0=ae+he.width/2,ae+=he.width}),Se.forEach(function(he,be){if(he.circularLinkType=="bottom"){for(var ke=be+1,Le=0;ke1&&Me.sort(function(ae,he){if(!ae.circular&&!he.circular){if(ae.source.column==he.source.column||!ce(ae,he))return ae.y0-he.y0;if(he.source.column0?"up":"down"}function de(pe,xe){return b(pe.source,xe)==b(pe.target,xe)}function me(pe,xe,Pe){var _e=pe.nodes,Me=pe.links,Se=!1,Ce=!1;if(Me.forEach(function(be){be.circularLinkType=="top"?Se=!0:be.circularLinkType=="bottom"&&(Ce=!0)}),Se==0||Ce==0){var ae=(0,d.VV)(_e,function(be){return be.y0}),he=(Pe-xe)/((0,d.Fp)(_e,function(be){return be.y1})-ae);_e.forEach(function(be){var ke=(be.y1-be.y0)*he;be.y0=(be.y0-ae)*he,be.y1=be.y0+ke}),Me.forEach(function(be){be.y0=(be.y0-ae)*he,be.y1=(be.y1-ae)*he,be.width=be.width*he})}}},30838:function(k,m,t){t.r(m),t.d(m,{sankey:function(){return E},sankeyCenter:function(){return l},sankeyJustify:function(){return h},sankeyLeft:function(){return M},sankeyLinkHorizontal:function(){return b},sankeyRight:function(){return v}});var d=t(33064),y=t(15140);function i(R){return R.target.depth}function M(R){return R.depth}function v(R,I){return I-1-R.height}function h(R,I){return R.sourceLinks.length?R.depth:I-1}function l(R){return R.targetLinks.length?R.depth:R.sourceLinks.length?(0,d.VV)(R.sourceLinks,i)-1:0}function a(R){return function(){return R}}function u(R,I){return o(R.source,I.source)||R.index-I.index}function s(R,I){return o(R.target,I.target)||R.index-I.index}function o(R,I){return R.y0-I.y0}function c(R){return R.value}function f(R){return(R.y0+R.y1)/2}function p(R){return f(R.source)*R.value}function w(R){return f(R.target)*R.value}function g(R){return R.index}function S(R){return R.nodes}function x(R){return R.links}function T(R,I){var O=R.get(I);if(!O)throw new Error("missing: "+I);return O}function E(){var R=0,I=0,O=1,z=1,F=24,B=8,N=g,W=h,j=S,Y=x,U=32;function G(){var X={nodes:j.apply(null,arguments),links:Y.apply(null,arguments)};return q(X),H(X),ne(X),te(X),Z(X),X}function q(X){X.nodes.forEach(function(re,ie){re.index=ie,re.sourceLinks=[],re.targetLinks=[]});var Q=(0,y.UI)(X.nodes,N);X.links.forEach(function(re,ie){re.index=ie;var oe=re.source,ue=re.target;typeof oe!="object"&&(oe=re.source=T(Q,oe)),typeof ue!="object"&&(ue=re.target=T(Q,ue)),oe.sourceLinks.push(re),ue.targetLinks.push(re)})}function H(X){X.nodes.forEach(function(Q){Q.value=Math.max((0,d.Sm)(Q.sourceLinks,c),(0,d.Sm)(Q.targetLinks,c))})}function ne(X){var Q,re,ie;for(Q=X.nodes,re=[],ie=0;Q.length;++ie,Q=re,re=[])Q.forEach(function(ue){ue.depth=ie,ue.sourceLinks.forEach(function(ce){re.indexOf(ce.target)<0&&re.push(ce.target)})});for(Q=X.nodes,re=[],ie=0;Q.length;++ie,Q=re,re=[])Q.forEach(function(ue){ue.height=ie,ue.targetLinks.forEach(function(ce){re.indexOf(ce.source)<0&&re.push(ce.source)})});var oe=(O-R-F)/(ie-1);X.nodes.forEach(function(ue){ue.x1=(ue.x0=R+Math.max(0,Math.min(ie-1,Math.floor(W.call(null,ue,ie))))*oe)+F})}function te(X){var Q=(0,y.b1)().key(function(ye){return ye.x0}).sortKeys(d.j2).entries(X.nodes).map(function(ye){return ye.values});(function(){var ye=(0,d.Fp)(Q,function(pe){return pe.length}),de=.6666666666666666*(z-I)/(ye-1);B>de&&(B=de);var me=(0,d.VV)(Q,function(pe){return(z-I-(pe.length-1)*B)/(0,d.Sm)(pe,c)});Q.forEach(function(pe){pe.forEach(function(xe,Pe){xe.y1=(xe.y0=Pe)+xe.value*me})}),X.links.forEach(function(pe){pe.width=pe.value*me})})(),ce();for(var re=1,ie=U;ie>0;--ie)ue(re*=.99),ce(),oe(re),ce();function oe(ye){Q.forEach(function(de){de.forEach(function(me){if(me.targetLinks.length){var pe=((0,d.Sm)(me.targetLinks,p)/(0,d.Sm)(me.targetLinks,c)-f(me))*ye;me.y0+=pe,me.y1+=pe}})})}function ue(ye){Q.slice().reverse().forEach(function(de){de.forEach(function(me){if(me.sourceLinks.length){var pe=((0,d.Sm)(me.sourceLinks,w)/(0,d.Sm)(me.sourceLinks,c)-f(me))*ye;me.y0+=pe,me.y1+=pe}})})}function ce(){Q.forEach(function(ye){var de,me,pe,xe=I,Pe=ye.length;for(ye.sort(o),pe=0;pe0&&(de.y0+=me,de.y1+=me),xe=de.y1+B;if((me=xe-B-z)>0)for(xe=de.y0-=me,de.y1-=me,pe=Pe-2;pe>=0;--pe)(me=(de=ye[pe]).y1+B-xe)>0&&(de.y0-=me,de.y1-=me),xe=de.y0})}}function Z(X){X.nodes.forEach(function(Q){Q.sourceLinks.sort(s),Q.targetLinks.sort(u)}),X.nodes.forEach(function(Q){var re=Q.y0,ie=re;Q.sourceLinks.forEach(function(oe){oe.y0=re+oe.width/2,re+=oe.width}),Q.targetLinks.forEach(function(oe){oe.y1=ie+oe.width/2,ie+=oe.width})})}return G.update=function(X){return Z(X),X},G.nodeId=function(X){return arguments.length?(N=typeof X=="function"?X:a(X),G):N},G.nodeAlign=function(X){return arguments.length?(W=typeof X=="function"?X:a(X),G):W},G.nodeWidth=function(X){return arguments.length?(F=+X,G):F},G.nodePadding=function(X){return arguments.length?(B=+X,G):B},G.nodes=function(X){return arguments.length?(j=typeof X=="function"?X:a(X),G):j},G.links=function(X){return arguments.length?(Y=typeof X=="function"?X:a(X),G):Y},G.size=function(X){return arguments.length?(R=I=0,O=+X[0],z=+X[1],G):[O-R,z-I]},G.extent=function(X){return arguments.length?(R=+X[0][0],O=+X[1][0],I=+X[0][1],z=+X[1][1],G):[[R,I],[O,z]]},G.iterations=function(X){return arguments.length?(U=+X,G):U},G}var _=t(45879);function A(R){return[R.source.x1,R.y0]}function L(R){return[R.target.x0,R.y1]}function b(){return(0,_.h5)().source(A).target(L)}},39898:function(k,m,t){var d,y;(function(){var i={version:"3.8.0"},M=[].slice,v=function(se){return M.call(se)},h=self.document;function l(se){return se&&(se.ownerDocument||se.document||se).documentElement}function a(se){return se&&(se.ownerDocument&&se.ownerDocument.defaultView||se.document&&se||se.defaultView)}if(h)try{v(h.documentElement.childNodes)[0].nodeType}catch{v=function(ve){for(var Ie=ve.length,Fe=new Array(Ie);Ie--;)Fe[Ie]=ve[Ie];return Fe}}if(Date.now||(Date.now=function(){return+new Date}),h)try{h.createElement("DIV").style.setProperty("opacity",0,"")}catch{var u=this.Element.prototype,s=u.setAttribute,o=u.setAttributeNS,c=this.CSSStyleDeclaration.prototype,f=c.setProperty;u.setAttribute=function(ve,Ie){s.call(this,ve,Ie+"")},u.setAttributeNS=function(ve,Ie,Fe){o.call(this,ve,Ie,Fe+"")},c.setProperty=function(ve,Ie,Fe){f.call(this,ve,Ie+"",Fe)}}function p(se,ve){return seve?1:se>=ve?0:NaN}function w(se){return se===null?NaN:+se}function g(se){return!isNaN(se)}function S(se){return{left:function(ve,Ie,Fe,Ue){for(arguments.length<3&&(Fe=0),arguments.length<4&&(Ue=ve.length);Fe>>1;se(ve[We],Ie)<0?Fe=We+1:Ue=We}return Fe},right:function(ve,Ie,Fe,Ue){for(arguments.length<3&&(Fe=0),arguments.length<4&&(Ue=ve.length);Fe>>1;se(ve[We],Ie)>0?Ue=We:Fe=We+1}return Fe}}}i.ascending=p,i.descending=function(se,ve){return vese?1:ve>=se?0:NaN},i.min=function(se,ve){var Ie,Fe,Ue=-1,We=se.length;if(arguments.length===1){for(;++Ue=Fe){Ie=Fe;break}for(;++UeFe&&(Ie=Fe)}else{for(;++Ue=Fe){Ie=Fe;break}for(;++UeFe&&(Ie=Fe)}return Ie},i.max=function(se,ve){var Ie,Fe,Ue=-1,We=se.length;if(arguments.length===1){for(;++Ue=Fe){Ie=Fe;break}for(;++UeIe&&(Ie=Fe)}else{for(;++Ue=Fe){Ie=Fe;break}for(;++UeIe&&(Ie=Fe)}return Ie},i.extent=function(se,ve){var Ie,Fe,Ue,We=-1,Xe=se.length;if(arguments.length===1){for(;++We=Fe){Ie=Ue=Fe;break}for(;++WeFe&&(Ie=Fe),Ue=Fe){Ie=Ue=Fe;break}for(;++WeFe&&(Ie=Fe),Ue1)return Xe/(lt-1)},i.deviation=function(){var se=i.variance.apply(this,arguments);return se&&Math.sqrt(se)};var x=S(p);function T(se){return se.length}i.bisectLeft=x.left,i.bisect=i.bisectRight=x.right,i.bisector=function(se){return S(se.length===1?function(ve,Ie){return p(se(ve),Ie)}:se)},i.shuffle=function(se,ve,Ie){(We=arguments.length)<3&&(Ie=se.length,We<2&&(ve=0));for(var Fe,Ue,We=Ie-ve;We;)Ue=Math.random()*We--|0,Fe=se[We+ve],se[We+ve]=se[Ue+ve],se[Ue+ve]=Fe;return se},i.permute=function(se,ve){for(var Ie=ve.length,Fe=new Array(Ie);Ie--;)Fe[Ie]=se[ve[Ie]];return Fe},i.pairs=function(se){for(var ve=0,Ie=se.length-1,Fe=se[0],Ue=new Array(Ie<0?0:Ie);ve=0;)for(ve=(Fe=se[Ue]).length;--ve>=0;)Ie[--Xe]=Fe[ve];return Ie};var E=Math.abs;function _(se){for(var ve=1;se*ve%1;)ve*=10;return ve}function A(se,ve){for(var Ie in ve)Object.defineProperty(se.prototype,Ie,{value:ve[Ie],enumerable:!1})}function L(){this._=Object.create(null)}function b(se){return(se+="")=="__proto__"||se[0]==="\0"?"\0"+se:se}function R(se){return(se+="")[0]==="\0"?se.slice(1):se}function I(se){return b(se)in this._}function O(se){return(se=b(se))in this._&&delete this._[se]}function z(){var se=[];for(var ve in this._)se.push(R(ve));return se}function F(){var se=0;for(var ve in this._)++se;return se}function B(){for(var se in this._)return!1;return!0}function N(){this._=Object.create(null)}function W(se){return se}function j(se,ve,Ie){return function(){var Fe=Ie.apply(ve,arguments);return Fe===ve?se:Fe}}function Y(se,ve){if(ve in se)return ve;ve=ve.charAt(0).toUpperCase()+ve.slice(1);for(var Ie=0,Fe=U.length;Ieve;)Ue.push(Fe/We);else for(;(Fe=se+Ie*++Xe)=Fe.length)return ve?ve.call(Ie,lt):se?lt.sort(se):lt;for(var zt,Ut,Ht,en,vn=-1,tn=lt.length,ln=Fe[mt++],an=new L;++vn=Fe.length)return tt;var mt=[],zt=Ue[lt++];return tt.forEach(function(Ut,Ht){mt.push({key:Ut,values:Xe(Ht,lt)})}),zt?mt.sort(function(Ut,Ht){return zt(Ut.key,Ht.key)}):mt}return Ie.map=function(tt,lt){return We(lt,tt,0)},Ie.entries=function(tt){return Xe(We(i.map,tt,0),0)},Ie.key=function(tt){return Fe.push(tt),Ie},Ie.sortKeys=function(tt){return Ue[Fe.length-1]=tt,Ie},Ie.sortValues=function(tt){return se=tt,Ie},Ie.rollup=function(tt){return ve=tt,Ie},Ie},i.set=function(se){var ve=new N;if(se)for(var Ie=0,Fe=se.length;Ie=0&&(Fe=se.slice(Ie+1),se=se.slice(0,Ie)),se)return arguments.length<2?this[se].on(Fe):this[se].on(Fe,ve);if(arguments.length===2){if(ve==null)for(se in this)this.hasOwnProperty(se)&&this[se].on(Fe,null);return this}},i.event=null,i.requote=function(se){return se.replace(X,"\\$&")};var X=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,Q={}.__proto__?function(se,ve){se.__proto__=ve}:function(se,ve){for(var Ie in ve)se[Ie]=ve[Ie]};function re(se){return Q(se,ce),se}var ie=function(se,ve){return ve.querySelector(se)},oe=function(se,ve){return ve.querySelectorAll(se)},ue=function(se,ve){var Ie=se.matches||se[Y(se,"matchesSelector")];return ue=function(Fe,Ue){return Ie.call(Fe,Ue)},ue(se,ve)};typeof Sizzle=="function"&&(ie=function(se,ve){return Sizzle(se,ve)[0]||null},oe=Sizzle,ue=Sizzle.matchesSelector),i.selection=function(){return i.select(h.documentElement)};var ce=i.selection.prototype=[];function ye(se){return typeof se=="function"?se:function(){return ie(se,this)}}function de(se){return typeof se=="function"?se:function(){return oe(se,this)}}ce.select=function(se){var ve,Ie,Fe,Ue,We=[];se=ye(se);for(var Xe=-1,tt=this.length;++Xe=0&&(Ie=se.slice(0,ve))!=="xmlns"&&(se=se.slice(ve+1)),pe.hasOwnProperty(Ie)?{space:pe[Ie],local:se}:se}},ce.attr=function(se,ve){if(arguments.length<2){if(typeof se=="string"){var Ie=this.node();return(se=i.ns.qualify(se)).local?Ie.getAttributeNS(se.space,se.local):Ie.getAttribute(se)}for(ve in se)this.each(xe(ve,se[ve]));return this}return this.each(xe(se,ve))},ce.classed=function(se,ve){if(arguments.length<2){if(typeof se=="string"){var Ie=this.node(),Fe=(se=Me(se)).length,Ue=-1;if(ve=Ie.classList){for(;++Ue=0;)(Ie=Fe[Ue])&&(We&&We!==Ie.nextSibling&&We.parentNode.insertBefore(Ie,We),We=Ie);return this},ce.sort=function(se){se=ze.apply(this,arguments);for(var ve=-1,Ie=this.length;++ve=ve&&(ve=Ue+1);!(Xe=tt[ve])&&++ve0&&(se=se.slice(0,Ue));var Xe=Ye.get(se);function tt(){var lt=this[Fe];lt&&(this.removeEventListener(se,lt,lt.$),delete this[Fe])}return Xe&&(se=Xe,We=st),Ue?ve?function(){var lt=We(ve,v(arguments));tt.call(this),this.addEventListener(se,this[Fe]=lt,lt.$=Ie),lt._=ve}:tt:ve?G:function(){var lt,mt=new RegExp("^__on([^.]+)"+i.requote(se)+"$");for(var zt in this)if(lt=zt.match(mt)){var Ut=this[zt];this.removeEventListener(lt[1],Ut,Ut.$),delete this[zt]}}}i.selection.enter=ge,i.selection.enter.prototype=we,we.append=ce.append,we.empty=ce.empty,we.node=ce.node,we.call=ce.call,we.size=ce.size,we.select=function(se){for(var ve,Ie,Fe,Ue,We,Xe=[],tt=-1,lt=this.length;++tt1?Vt:se<-1?-Vt:Math.asin(se)}function nt(se){return((se=Math.exp(se))+1/se)/2}var ht=Math.SQRT2;i.interpolateZoom=function(se,ve){var Ie,Fe,Ue=se[0],We=se[1],Xe=se[2],tt=ve[0],lt=ve[1],mt=ve[2],zt=tt-Ue,Ut=lt-We,Ht=zt*zt+Ut*Ut;if(Ht<1e-12)Fe=Math.log(mt/Xe)/ht,Ie=function(Cn){return[Ue+Cn*zt,We+Cn*Ut,Xe*Math.exp(ht*Cn*Fe)]};else{var en=Math.sqrt(Ht),vn=(mt*mt-Xe*Xe+4*Ht)/(2*Xe*2*en),tn=(mt*mt-Xe*Xe-4*Ht)/(2*mt*2*en),ln=Math.log(Math.sqrt(vn*vn+1)-vn),an=Math.log(Math.sqrt(tn*tn+1)-tn);Fe=(an-ln)/ht,Ie=function(Cn){var _n,on=Cn*Fe,Fn=nt(ln),Hn=Xe/(2*en)*(Fn*(_n=ht*on+ln,((_n=Math.exp(2*_n))-1)/(_n+1))-function(ir){return((ir=Math.exp(ir))-1/ir)/2}(ln));return[Ue+Hn*zt,We+Hn*Ut,Xe*Fn/nt(ht*on+ln)]}}return Ie.duration=1e3*Fe,Ie},i.behavior.zoom=function(){var se,ve,Ie,Fe,Ue,We,Xe,tt,lt,mt={x:0,y:0,k:1},zt=[960,500],Ut=Qe,Ht=250,en=0,vn="mousedown.zoom",tn="mousemove.zoom",ln="mouseup.zoom",an="touchstart.zoom",Cn=Z(_n,"zoomstart","zoom","zoomend");function _n(wr){wr.on(vn,kr).on(Ne+".zoom",hi).on("dblclick.zoom",di).on(an,jr)}function on(wr){return[(wr[0]-mt.x)/mt.k,(wr[1]-mt.y)/mt.k]}function Fn(wr){mt.k=Math.max(Ut[0],Math.min(Ut[1],wr))}function Hn(wr,Ur){Ur=function(oi){return[oi[0]*mt.k+mt.x,oi[1]*mt.k+mt.y]}(Ur),mt.x+=wr[0]-Ur[0],mt.y+=wr[1]-Ur[1]}function ir(wr,Ur,oi,ai){wr.__chart__={x:mt.x,y:mt.y,k:mt.k},Fn(Math.pow(2,ai)),Hn(ve=Ur,oi),wr=i.select(wr),Ht>0&&(wr=wr.transition().duration(Ht)),wr.call(_n.event)}function ar(){Xe&&Xe.domain(We.range().map(function(wr){return(wr-mt.x)/mt.k}).map(We.invert)),lt&<.domain(tt.range().map(function(wr){return(wr-mt.y)/mt.k}).map(tt.invert))}function Mr(wr){en++||wr({type:"zoomstart"})}function Er(wr){ar(),wr({type:"zoom",scale:mt.k,translate:[mt.x,mt.y]})}function xr(wr){--en||(wr({type:"zoomend"}),ve=null)}function kr(){var wr=this,Ur=Cn.of(wr,arguments),oi=0,ai=i.select(a(wr)).on(tn,Ni).on(ln,na),Ii=on(i.mouse(wr)),vi=bt(wr);function Ni(){oi=1,Hn(i.mouse(wr),Ii),Er(Ur)}function na(){ai.on(tn,null).on(ln,null),vi(oi),xr(Ur)}la.call(wr),Mr(Ur)}function jr(){var wr,Ur=this,oi=Cn.of(Ur,arguments),ai={},Ii=0,vi=".zoom-"+i.event.changedTouches[0].identifier,Ni="touchmove"+vi,na="touchend"+vi,pa=[],ua=i.select(Ur),Qi=bt(Ur);function ra(){var Za=i.touches(Ur);return wr=mt.k,Za.forEach(function(ui){ui.identifier in ai&&(ai[ui.identifier]=on(ui))}),Za}function ca(){var Za=i.event.target;i.select(Za).on(Ni,Ia).on(na,zl),pa.push(Za);for(var ui=i.event.changedTouches,fo=0,_o=ui.length;fo<_o;++fo)ai[ui[fo].identifier]=null;var Aa=ra(),Ds=Date.now();if(Aa.length===1){if(Ds-Ue<500){var Ri=Aa[0];ir(Ur,Ri,ai[Ri.identifier],Math.floor(Math.log(mt.k)/Math.LN2)+1),ne()}Ue=Ds}else if(Aa.length>1){Ri=Aa[0];var Xa=Aa[1],jo=Ri[0]-Xa[0],Kc=Ri[1]-Xa[1];Ii=jo*jo+Kc*Kc}}function Ia(){var Za,ui,fo,_o,Aa=i.touches(Ur);la.call(Ur);for(var Ds=0,Ri=Aa.length;Ds360?tt-=360:tt<0&&(tt+=360),tt<60?Fe+(Ue-Fe)*tt/60:tt<180?Ue:tt<240?Fe+(Ue-Fe)*(240-tt)/60:Fe}(Xe))}return se=isNaN(se)?0:(se%=360)<0?se+360:se,ve=isNaN(ve)||ve<0?0:ve>1?1:ve,Fe=2*(Ie=Ie<0?0:Ie>1?1:Ie)-(Ue=Ie<=.5?Ie*(1+ve):Ie+ve-Ie*ve),new An(We(se+120),We(se),We(se-120))}function Lt(se,ve,Ie){return this instanceof Lt?(this.h=+se,this.c=+ve,void(this.l=+Ie)):arguments.length<2?se instanceof Lt?new Lt(se.h,se.c,se.l):Qt(se instanceof wt?se.l:(se=Dn((se=i.rgb(se)).r,se.g,se.b)).l,se.a,se.b):new Lt(se,ve,Ie)}_t.brighter=function(se){return se=Math.pow(.7,arguments.length?se:1),new dt(this.h,this.s,this.l/se)},_t.darker=function(se){return se=Math.pow(.7,arguments.length?se:1),new dt(this.h,this.s,se*this.l)},_t.rgb=function(){return It(this.h,this.s,this.l)},i.hcl=Lt;var yt=Lt.prototype=new ut;function Pt(se,ve,Ie){return isNaN(se)&&(se=0),isNaN(ve)&&(ve=0),new wt(Ie,Math.cos(se*=Ke)*ve,Math.sin(se)*ve)}function wt(se,ve,Ie){return this instanceof wt?(this.l=+se,this.a=+ve,void(this.b=+Ie)):arguments.length<2?se instanceof wt?new wt(se.l,se.a,se.b):se instanceof Lt?Pt(se.h,se.c,se.l):Dn((se=An(se)).r,se.g,se.b):new wt(se,ve,Ie)}yt.brighter=function(se){return new Lt(this.h,this.c,Math.min(100,this.l+Rt*(arguments.length?se:1)))},yt.darker=function(se){return new Lt(this.h,this.c,Math.max(0,this.l-Rt*(arguments.length?se:1)))},yt.rgb=function(){return Pt(this.h,this.c,this.l).rgb()},i.lab=wt;var Rt=18,Nt=.95047,$t=1.08883,Wt=wt.prototype=new ut;function Xt(se,ve,Ie){var Fe=(se+16)/116,Ue=Fe+ve/500,We=Fe-Ie/200;return new An(un(3.2404542*(Ue=rn(Ue)*Nt)-1.5371385*(Fe=1*rn(Fe))-.4985314*(We=rn(We)*$t)),un(-.969266*Ue+1.8760108*Fe+.041556*We),un(.0556434*Ue-.2040259*Fe+1.0572252*We))}function Qt(se,ve,Ie){return se>0?new Lt(Math.atan2(Ie,ve)*Je,Math.sqrt(ve*ve+Ie*Ie),se):new Lt(NaN,NaN,se)}function rn(se){return se>.206893034?se*se*se:(se-.13793103448275862)/7.787037}function xn(se){return se>.008856?Math.pow(se,.3333333333333333):7.787037*se+.13793103448275862}function un(se){return Math.round(255*(se<=.00304?12.92*se:1.055*Math.pow(se,.4166666666666667)-.055))}function An(se,ve,Ie){return this instanceof An?(this.r=~~se,this.g=~~ve,void(this.b=~~Ie)):arguments.length<2?se instanceof An?new An(se.r,se.g,se.b):dn(""+se,An,It):new An(se,ve,Ie)}function $n(se){return new An(se>>16,se>>8&255,255&se)}function kn(se){return $n(se)+""}Wt.brighter=function(se){return new wt(Math.min(100,this.l+Rt*(arguments.length?se:1)),this.a,this.b)},Wt.darker=function(se){return new wt(Math.max(0,this.l-Rt*(arguments.length?se:1)),this.a,this.b)},Wt.rgb=function(){return Xt(this.l,this.a,this.b)},i.rgb=An;var sn=An.prototype=new ut;function Tn(se){return se<16?"0"+Math.max(0,se).toString(16):Math.min(255,se).toString(16)}function dn(se,ve,Ie){var Fe,Ue,We,Xe=0,tt=0,lt=0;if(Fe=/([a-z]+)\((.*)\)/.exec(se=se.toLowerCase()))switch(Ue=Fe[2].split(","),Fe[1]){case"hsl":return Ie(parseFloat(Ue[0]),parseFloat(Ue[1])/100,parseFloat(Ue[2])/100);case"rgb":return ve(jn(Ue[0]),jn(Ue[1]),jn(Ue[2]))}return(We=Gn.get(se))?ve(We.r,We.g,We.b):(se==null||se.charAt(0)!=="#"||isNaN(We=parseInt(se.slice(1),16))||(se.length===4?(Xe=(3840&We)>>4,Xe|=Xe>>4,tt=240&We,tt|=tt>>4,lt=15&We,lt|=lt<<4):se.length===7&&(Xe=(16711680&We)>>16,tt=(65280&We)>>8,lt=255&We)),ve(Xe,tt,lt))}function pn(se,ve,Ie){var Fe,Ue,We=Math.min(se/=255,ve/=255,Ie/=255),Xe=Math.max(se,ve,Ie),tt=Xe-We,lt=(Xe+We)/2;return tt?(Ue=lt<.5?tt/(Xe+We):tt/(2-Xe-We),Fe=se==Xe?(ve-Ie)/tt+(ve0&<<1?0:Fe),new dt(Fe,Ue,lt)}function Dn(se,ve,Ie){var Fe=xn((.4124564*(se=In(se))+.3575761*(ve=In(ve))+.1804375*(Ie=In(Ie)))/Nt),Ue=xn((.2126729*se+.7151522*ve+.072175*Ie)/1);return wt(116*Ue-16,500*(Fe-Ue),200*(Ue-xn((.0193339*se+.119192*ve+.9503041*Ie)/$t)))}function In(se){return(se/=255)<=.04045?se/12.92:Math.pow((se+.055)/1.055,2.4)}function jn(se){var ve=parseFloat(se);return se.charAt(se.length-1)==="%"?Math.round(2.55*ve):ve}sn.brighter=function(se){se=Math.pow(.7,arguments.length?se:1);var ve=this.r,Ie=this.g,Fe=this.b,Ue=30;return ve||Ie||Fe?(ve&&ve=200&&Ut<300||Ut===304){try{zt=Ie.call(Ue,tt)}catch(Ht){return void We.error.call(Ue,Ht)}We.load.call(Ue,zt)}else We.error.call(Ue,tt)}return self.XDomainRequest&&!("withCredentials"in tt)&&/^(http(s)?:)?\/\//.test(se)&&(tt=new XDomainRequest),"onload"in tt?tt.onload=tt.onerror=mt:tt.onreadystatechange=function(){tt.readyState>3&&mt()},tt.onprogress=function(zt){var Ut=i.event;i.event=zt;try{We.progress.call(Ue,tt)}finally{i.event=Ut}},Ue.header=function(zt,Ut){return zt=(zt+"").toLowerCase(),arguments.length<2?Xe[zt]:(Ut==null?delete Xe[zt]:Xe[zt]=Ut+"",Ue)},Ue.mimeType=function(zt){return arguments.length?(ve=zt==null?null:zt+"",Ue):ve},Ue.responseType=function(zt){return arguments.length?(lt=zt,Ue):lt},Ue.response=function(zt){return Ie=zt,Ue},["get","post"].forEach(function(zt){Ue[zt]=function(){return Ue.send.apply(Ue,[zt].concat(v(arguments)))}}),Ue.send=function(zt,Ut,Ht){if(arguments.length===2&&typeof Ut=="function"&&(Ht=Ut,Ut=null),tt.open(zt,se,!0),ve==null||"accept"in Xe||(Xe.accept=ve+",*/*"),tt.setRequestHeader)for(var en in Xe)tt.setRequestHeader(en,Xe[en]);return ve!=null&&tt.overrideMimeType&&tt.overrideMimeType(ve),lt!=null&&(tt.responseType=lt),Ht!=null&&Ue.on("error",Ht).on("load",function(vn){Ht(null,vn)}),We.beforesend.call(Ue,tt),tt.send(Ut??null),Ue},Ue.abort=function(){return tt.abort(),Ue},i.rebind(Ue,We,"on"),Fe==null?Ue:Ue.get(function(zt){return zt.length===1?function(Ut,Ht){zt(Ut==null?Ht:null)}:zt}(Fe))}Gn.forEach(function(se,ve){Gn.set(se,$n(ve))}),i.functor=qn,i.xhr=lr(W),i.dsv=function(se,ve){var Ie=new RegExp('["'+se+` +`]);l.createShader=function(w){var y=u(w,s,c,null,[{name:"uv",type:"vec4"},{name:"f",type:"vec3"},{name:"normal",type:"vec3"}]);return y.attributes.uv.location=0,y.attributes.f.location=1,y.attributes.normal.location=2,y},l.createPickShader=function(w){var y=u(w,s,m,null,[{name:"uv",type:"vec4"},{name:"f",type:"vec3"},{name:"normal",type:"vec3"}]);return y.attributes.uv.location=0,y.attributes.f.location=1,y.attributes.normal.location=2,y},l.createContourShader=function(w){var y=u(w,h,c,null,[{name:"uv",type:"vec4"},{name:"f",type:"float"}]);return y.attributes.uv.location=0,y.attributes.f.location=1,y},l.createPickContourShader=function(w){var y=u(w,h,m,null,[{name:"uv",type:"vec4"},{name:"f",type:"float"}]);return y.attributes.uv.location=0,y.attributes.f.location=1,y}},3754:function(f,l,a){f.exports=function(ie){var oe=ie.gl,ue=b(oe),ce=I(oe),ye=R(oe),de=O(oe),me=o(oe),pe=s(oe,[{buffer:me,size:4,stride:40,offset:0},{buffer:me,size:3,stride:40,offset:16},{buffer:me,size:3,stride:40,offset:28}]),xe=o(oe),Pe=s(oe,[{buffer:xe,size:4,stride:20,offset:0},{buffer:xe,size:1,stride:20,offset:16}]),_e=o(oe),Me=s(oe,[{buffer:_e,size:2,type:oe.FLOAT}]),Se=c(oe,1,256,oe.RGBA,oe.UNSIGNED_BYTE);Se.minFilter=oe.LINEAR,Se.magFilter=oe.LINEAR;var Ce=new W(oe,[0,0],[[0,0,0],[0,0,0]],ue,ce,me,pe,Se,ye,de,xe,Pe,_e,Me,[0,0,0]),ae={levels:[[],[],[]]};for(var fe in ie)ae[fe]=ie[fe];return ae.colormap=ae.colormap||"jet",Ce.update(ae),Ce};var u=a(2288),o=a(5827),s=a(2944),c=a(8931),h=a(5306),m=a(9156),w=a(7498),y=a(7382),S=a(5050),_=a(4162),k=a(104),E=a(7437),x=a(5070),A=a(9144),L=a(9054),b=L.createShader,R=L.createContourShader,I=L.createPickShader,O=L.createPickContourShader,z=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],F=[[0,0],[0,1],[1,0],[1,1],[1,0],[0,1]],B=[[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0]];function N(ie,oe,ue,ce,ye){this.position=ie,this.index=oe,this.uv=ue,this.level=ce,this.dataCoordinate=ye}function W(ie,oe,ue,ce,ye,de,me,pe,xe,Pe,_e,Me,Se,Ce,ae){this.gl=ie,this.shape=oe,this.bounds=ue,this.objectOffset=ae,this.intensityBounds=[],this._shader=ce,this._pickShader=ye,this._coordinateBuffer=de,this._vao=me,this._colorMap=pe,this._contourShader=xe,this._contourPickShader=Pe,this._contourBuffer=_e,this._contourVAO=Me,this._contourOffsets=[[],[],[]],this._contourCounts=[[],[],[]],this._vertexCount=0,this._pickResult=new N([0,0,0],[0,0],[0,0],[0,0,0],[0,0,0]),this._dynamicBuffer=Se,this._dynamicVAO=Ce,this._dynamicOffsets=[0,0,0],this._dynamicCounts=[0,0,0],this.contourWidth=[1,1,1],this.contourLevels=[[1],[1],[1]],this.contourTint=[0,0,0],this.contourColor=[[.5,.5,.5,1],[.5,.5,.5,1],[.5,.5,.5,1]],this.showContour=!0,this.showSurface=!0,this.enableHighlight=[!0,!0,!0],this.highlightColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.highlightTint=[1,1,1],this.highlightLevel=[-1,-1,-1],this.enableDynamic=[!0,!0,!0],this.dynamicLevel=[NaN,NaN,NaN],this.dynamicColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.dynamicTint=[1,1,1],this.dynamicWidth=[1,1,1],this.axesBounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.surfaceProject=[!1,!1,!1],this.contourProject=[[!1,!1,!1],[!1,!1,!1],[!1,!1,!1]],this.colorBounds=[!1,!1],this._field=[S(h.mallocFloat(1024),[0,0]),S(h.mallocFloat(1024),[0,0]),S(h.mallocFloat(1024),[0,0])],this.pickId=1,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.snapToData=!1,this.pixelRatio=1,this.opacity=1,this.lightPosition=[10,1e4,0],this.ambientLight=.8,this.diffuseLight=.8,this.specularLight=2,this.roughness=.5,this.fresnel=1.5,this.vertexColor=0,this.dirty=!0}(function(){for(var ie=0;ie<3;++ie){var oe=B[ie],ue=(ie+2)%3;oe[(ie+1)%3+0]=1,oe[ue+3]=1,oe[ie+6]=1}})();var j=W.prototype;j.genColormap=function(ie,oe){var ue=!1,ce=y([m({colormap:ie,nshades:256,format:"rgba"}).map(function(ye,de){var me=oe?function(pe,xe){if(!xe||!xe.length)return 1;for(var Pe=0;Pepe&&Pe>0){var _e=(xe[Pe][0]-pe)/(xe[Pe][0]-xe[Pe-1][0]);return xe[Pe][1]*(1-_e)+_e*xe[Pe-1][1]}}return 1}(de/255,oe):ye[3];return me<1&&(ue=!0),[ye[0],ye[1],ye[2],255*me]})]);return w.divseq(ce,255),this.hasAlphaScale=ue,ce},j.isTransparent=function(){return this.opacity<1||this.hasAlphaScale},j.isOpaque=function(){return!this.isTransparent()},j.pickSlots=1,j.setPickBase=function(ie){this.pickId=ie};var $=[0,0,0],U={showSurface:!1,showContour:!1,projections:[z.slice(),z.slice(),z.slice()],clipBounds:[[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]]]};function G(ie,oe){var ue,ce,ye,de=oe.axes&&oe.axes.lastCubeProps.axis||$,me=oe.showSurface,pe=oe.showContour;for(ue=0;ue<3;++ue)for(me=me||oe.surfaceProject[ue],ce=0;ce<3;++ce)pe=pe||oe.contourProject[ue][ce];for(ue=0;ue<3;++ue){var xe=U.projections[ue];for(ce=0;ce<16;++ce)xe[ce]=0;for(ce=0;ce<4;++ce)xe[5*ce]=1;xe[5*ue]=0,xe[12+ue]=oe.axesBounds[+(de[ue]>0)][ue],k(xe,ie.model,xe);var Pe=U.clipBounds[ue];for(ye=0;ye<2;++ye)for(ce=0;ce<3;++ce)Pe[ye][ce]=ie.clipBounds[ye][ce];Pe[0][ue]=-1e8,Pe[1][ue]=1e8}return U.showSurface=me,U.showContour=pe,U}var q={model:z,view:z,projection:z,inverseModel:z.slice(),lowerBound:[0,0,0],upperBound:[0,0,0],colorMap:0,clipBounds:[[0,0,0],[0,0,0]],height:0,contourTint:0,contourColor:[0,0,0,1],permutation:[1,0,0,0,1,0,0,0,1],zOffset:-1e-4,objectOffset:[0,0,0],kambient:1,kdiffuse:1,kspecular:1,lightPosition:[1e3,1e3,1e3],eyePosition:[0,0,0],roughness:1,fresnel:1,opacity:1,vertexColor:0},H=z.slice(),ne=[1,0,0,0,1,0,0,0,1];function te(ie,oe){ie=ie||{};var ue=this.gl;ue.disable(ue.CULL_FACE),this._colorMap.bind(0);var ce=q;ce.model=ie.model||z,ce.view=ie.view||z,ce.projection=ie.projection||z,ce.lowerBound=[this.bounds[0][0],this.bounds[0][1],this.colorBounds[0]||this.bounds[0][2]],ce.upperBound=[this.bounds[1][0],this.bounds[1][1],this.colorBounds[1]||this.bounds[1][2]],ce.objectOffset=this.objectOffset,ce.contourColor=this.contourColor[0],ce.inverseModel=E(ce.inverseModel,ce.model);for(var ye=0;ye<2;++ye)for(var de=ce.clipBounds[ye],me=0;me<3;++me)de[me]=Math.min(Math.max(this.clipBounds[ye][me],-1e8),1e8);ce.kambient=this.ambientLight,ce.kdiffuse=this.diffuseLight,ce.kspecular=this.specularLight,ce.roughness=this.roughness,ce.fresnel=this.fresnel,ce.opacity=this.opacity,ce.height=0,ce.permutation=ne,ce.vertexColor=this.vertexColor;var pe=H;for(k(pe,ce.view,ce.model),k(pe,ce.projection,pe),E(pe,pe),ye=0;ye<3;++ye)ce.eyePosition[ye]=pe[12+ye]/pe[15];var xe=pe[15];for(ye=0;ye<3;++ye)xe+=this.lightPosition[ye]*pe[4*ye+3];for(ye=0;ye<3;++ye){var Pe=pe[12+ye];for(me=0;me<3;++me)Pe+=pe[4*me+ye]*this.lightPosition[me];ce.lightPosition[ye]=Pe/xe}var _e=G(ce,this);if(_e.showSurface){for(this._shader.bind(),this._shader.uniforms=ce,this._vao.bind(),this.showSurface&&this._vertexCount&&this._vao.draw(ue.TRIANGLES,this._vertexCount),ye=0;ye<3;++ye)this.surfaceProject[ye]&&this.vertexCount&&(this._shader.uniforms.model=_e.projections[ye],this._shader.uniforms.clipBounds=_e.clipBounds[ye],this._vao.draw(ue.TRIANGLES,this._vertexCount));this._vao.unbind()}if(_e.showContour){var Me=this._contourShader;ce.kambient=1,ce.kdiffuse=0,ce.kspecular=0,ce.opacity=1,Me.bind(),Me.uniforms=ce;var Se=this._contourVAO;for(Se.bind(),ye=0;ye<3;++ye)for(Me.uniforms.permutation=B[ye],ue.lineWidth(this.contourWidth[ye]*this.pixelRatio),me=0;me>4)/16)/255,ye=Math.floor(ce),de=ce-ye,me=oe[1]*(ie.value[1]+(15&ie.value[2])/16)/255,pe=Math.floor(me),xe=me-pe;ye+=1,pe+=1;var Pe=ue.position;Pe[0]=Pe[1]=Pe[2]=0;for(var _e=0;_e<2;++_e)for(var Me=_e?de:1-de,Se=0;Se<2;++Se)for(var Ce=ye+_e,ae=pe+Se,fe=Me*(Se?xe:1-xe),be=0;be<3;++be)Pe[be]+=this._field[be].get(Ce,ae)*fe;for(var ke=this._pickResult.level,Le=0;Le<3;++Le)if(ke[Le]=x.le(this.contourLevels[Le],Pe[Le]),ke[Le]<0)this.contourLevels[Le].length>0&&(ke[Le]=0);else if(ke[Le]Math.abs(ze-Pe[Le])&&(ke[Le]+=1)}for(ue.index[0]=de<.5?ye:ye+1,ue.index[1]=xe<.5?pe:pe+1,ue.uv[0]=ce/oe[0],ue.uv[1]=me/oe[1],be=0;be<3;++be)ue.dataCoordinate[be]=this._field[be].get(ue.index[0],ue.index[1]);return ue},j.padField=function(ie,oe){var ue=oe.shape.slice(),ce=ie.shape.slice();w.assign(ie.lo(1,1).hi(ue[0],ue[1]),oe),w.assign(ie.lo(1).hi(ue[0],1),oe.hi(ue[0],1)),w.assign(ie.lo(1,ce[1]-1).hi(ue[0],1),oe.lo(0,ue[1]-1).hi(ue[0],1)),w.assign(ie.lo(0,1).hi(1,ue[1]),oe.hi(1)),w.assign(ie.lo(ce[0]-1,1).hi(1,ue[1]),oe.lo(ue[0]-1)),ie.set(0,0,oe.get(0,0)),ie.set(0,ce[1]-1,oe.get(0,ue[1]-1)),ie.set(ce[0]-1,0,oe.get(ue[0]-1,0)),ie.set(ce[0]-1,ce[1]-1,oe.get(ue[0]-1,ue[1]-1))},j.update=function(ie){ie=ie||{},this.objectOffset=ie.objectOffset||this.objectOffset,this.dirty=!0,"contourWidth"in ie&&(this.contourWidth=X(ie.contourWidth,Number)),"showContour"in ie&&(this.showContour=X(ie.showContour,Boolean)),"showSurface"in ie&&(this.showSurface=!!ie.showSurface),"contourTint"in ie&&(this.contourTint=X(ie.contourTint,Boolean)),"contourColor"in ie&&(this.contourColor=re(ie.contourColor)),"contourProject"in ie&&(this.contourProject=X(ie.contourProject,function(kn){return X(kn,Boolean)})),"surfaceProject"in ie&&(this.surfaceProject=ie.surfaceProject),"dynamicColor"in ie&&(this.dynamicColor=re(ie.dynamicColor)),"dynamicTint"in ie&&(this.dynamicTint=X(ie.dynamicTint,Number)),"dynamicWidth"in ie&&(this.dynamicWidth=X(ie.dynamicWidth,Number)),"opacity"in ie&&(this.opacity=ie.opacity),"opacityscale"in ie&&(this.opacityscale=ie.opacityscale),"colorBounds"in ie&&(this.colorBounds=ie.colorBounds),"vertexColor"in ie&&(this.vertexColor=ie.vertexColor?1:0),"colormap"in ie&&this._colorMap.setPixels(this.genColormap(ie.colormap,this.opacityscale));var oe=ie.field||ie.coords&&ie.coords[2]||null,ue=!1;if(oe||(oe=this._field[2].shape[0]||this._field[2].shape[2]?this._field[2].lo(1,1).hi(this._field[2].shape[0]-2,this._field[2].shape[1]-2):this._field[2].hi(0,0)),"field"in ie||"coords"in ie){var ce=(oe.shape[0]+2)*(oe.shape[1]+2);ce>this._field[2].data.length&&(h.freeFloat(this._field[2].data),this._field[2].data=h.mallocFloat(u.nextPow2(ce))),this._field[2]=S(this._field[2].data,[oe.shape[0]+2,oe.shape[1]+2]),this.padField(this._field[2],oe),this.shape=oe.shape.slice();for(var ye=this.shape,de=0;de<2;++de)this._field[2].size>this._field[de].data.length&&(h.freeFloat(this._field[de].data),this._field[de].data=h.mallocFloat(this._field[2].size)),this._field[de]=S(this._field[de].data,[ye[0]+2,ye[1]+2]);if(ie.coords){var me=ie.coords;if(!Array.isArray(me)||me.length!==3)throw new Error("gl-surface: invalid coordinates for x/y");for(de=0;de<2;++de){var pe=me[de];for(Se=0;Se<2;++Se)if(pe.shape[Se]!==ye[Se])throw new Error("gl-surface: coords have incorrect shape");this.padField(this._field[de],pe)}}else if(ie.ticks){var xe=ie.ticks;if(!Array.isArray(xe)||xe.length!==2)throw new Error("gl-surface: invalid ticks");for(de=0;de<2;++de){var Pe=xe[de];if((Array.isArray(Pe)||Pe.length)&&(Pe=S(Pe)),Pe.shape[0]!==ye[de])throw new Error("gl-surface: invalid tick length");var _e=S(Pe.data,ye);_e.stride[de]=Pe.stride[0],_e.stride[1^de]=0,this.padField(this._field[de],_e)}}else{for(de=0;de<2;++de){var Me=[0,0];Me[de]=1,this._field[de]=S(this._field[de].data,[ye[0]+2,ye[1]+2],Me,0)}this._field[0].set(0,0,0);for(var Se=0;Se0){for(var An=0;An<5;++An)ft.pop();kt-=1}continue e}ft.push(dt[0],dt[1],Lt[0],Lt[1],dt[2]),kt+=1}}ut.push(kt)}this._contourOffsets[Re]=Qe,this._contourCounts[Re]=ut}var Yn=h.mallocFloat(ft.length);for(de=0;deB||z<0||z>B)throw new Error("gl-texture2d: Invalid texture size");return I._shape=[O,z],I.bind(),F.texImage2D(F.TEXTURE_2D,0,I.format,O,z,0,I.format,I.type,null),I._mipLevels=[0],I}function k(I,O,z,F,B,N){this.gl=I,this.handle=O,this.format=B,this.type=N,this._shape=[z,F],this._mipLevels=[0],this._magFilter=I.NEAREST,this._minFilter=I.NEAREST,this._wrapS=I.CLAMP_TO_EDGE,this._wrapT=I.CLAMP_TO_EDGE,this._anisoSamples=1;var W=this,j=[this._wrapS,this._wrapT];Object.defineProperties(j,[{get:function(){return W._wrapS},set:function(U){return W.wrapS=U}},{get:function(){return W._wrapT},set:function(U){return W.wrapT=U}}]),this._wrapVector=j;var $=[this._shape[0],this._shape[1]];Object.defineProperties($,[{get:function(){return W._shape[0]},set:function(U){return W.width=U}},{get:function(){return W._shape[1]},set:function(U){return W.height=U}}]),this._shapeVector=$}var E=k.prototype;function x(I,O){return I.length===3?O[2]===1&&O[1]===I[0]*I[2]&&O[0]===I[2]:O[0]===1&&O[1]===I[0]}function A(I){var O=I.createTexture();return I.bindTexture(I.TEXTURE_2D,O),I.texParameteri(I.TEXTURE_2D,I.TEXTURE_MIN_FILTER,I.NEAREST),I.texParameteri(I.TEXTURE_2D,I.TEXTURE_MAG_FILTER,I.NEAREST),I.texParameteri(I.TEXTURE_2D,I.TEXTURE_WRAP_S,I.CLAMP_TO_EDGE),I.texParameteri(I.TEXTURE_2D,I.TEXTURE_WRAP_T,I.CLAMP_TO_EDGE),O}function L(I,O,z,F,B){var N=I.getParameter(I.MAX_TEXTURE_SIZE);if(O<0||O>N||z<0||z>N)throw new Error("gl-texture2d: Invalid texture shape");if(B===I.FLOAT&&!I.getExtension("OES_texture_float"))throw new Error("gl-texture2d: Floating point textures not supported on this platform");var W=A(I);return I.texImage2D(I.TEXTURE_2D,0,F,O,z,0,F,B,null),new k(I,W,O,z,F,B)}function b(I,O,z,F,B,N){var W=A(I);return I.texImage2D(I.TEXTURE_2D,0,B,B,N,O),new k(I,W,z,F,B,N)}function R(I,O){var z=O.dtype,F=O.shape.slice(),B=I.getParameter(I.MAX_TEXTURE_SIZE);if(F[0]<0||F[0]>B||F[1]<0||F[1]>B)throw new Error("gl-texture2d: Invalid texture size");var N=x(F,O.stride.slice()),W=0;z==="float32"?W=I.FLOAT:z==="float64"?(W=I.FLOAT,N=!1,z="float32"):z==="uint8"?W=I.UNSIGNED_BYTE:(W=I.UNSIGNED_BYTE,N=!1,z="uint8");var j,$,U=0;if(F.length===2)U=I.LUMINANCE,F=[F[0],F[1],1],O=u(O.data,F,[O.stride[0],O.stride[1],1],O.offset);else{if(F.length!==3)throw new Error("gl-texture2d: Invalid shape for texture");if(F[2]===1)U=I.ALPHA;else if(F[2]===2)U=I.LUMINANCE_ALPHA;else if(F[2]===3)U=I.RGB;else{if(F[2]!==4)throw new Error("gl-texture2d: Invalid shape for pixel coords");U=I.RGBA}}W!==I.FLOAT||I.getExtension("OES_texture_float")||(W=I.UNSIGNED_BYTE,N=!1);var G=O.size;if(N)j=O.offset===0&&O.data.length===G?O.data:O.data.subarray(O.offset,O.offset+G);else{var q=[F[2],F[2]*F[0],1];$=s.malloc(G,z);var H=u($,F,q,0);z!=="float32"&&z!=="float64"||W!==I.UNSIGNED_BYTE?o.assign(H,O):S(H,O),j=$.subarray(0,G)}var ne=A(I);return I.texImage2D(I.TEXTURE_2D,0,U,F[0],F[1],0,U,W,j),N||s.free($),new k(I,ne,F[0],F[1],U,W)}Object.defineProperties(E,{minFilter:{get:function(){return this._minFilter},set:function(I){this.bind();var O=this.gl;if(this.type===O.FLOAT&&c.indexOf(I)>=0&&(O.getExtension("OES_texture_float_linear")||(I=O.NEAREST)),h.indexOf(I)<0)throw new Error("gl-texture2d: Unknown filter mode "+I);return O.texParameteri(O.TEXTURE_2D,O.TEXTURE_MIN_FILTER,I),this._minFilter=I}},magFilter:{get:function(){return this._magFilter},set:function(I){this.bind();var O=this.gl;if(this.type===O.FLOAT&&c.indexOf(I)>=0&&(O.getExtension("OES_texture_float_linear")||(I=O.NEAREST)),h.indexOf(I)<0)throw new Error("gl-texture2d: Unknown filter mode "+I);return O.texParameteri(O.TEXTURE_2D,O.TEXTURE_MAG_FILTER,I),this._magFilter=I}},mipSamples:{get:function(){return this._anisoSamples},set:function(I){var O=this._anisoSamples;if(this._anisoSamples=0|Math.max(I,1),O!==this._anisoSamples){var z=this.gl.getExtension("EXT_texture_filter_anisotropic");z&&this.gl.texParameterf(this.gl.TEXTURE_2D,z.TEXTURE_MAX_ANISOTROPY_EXT,this._anisoSamples)}return this._anisoSamples}},wrapS:{get:function(){return this._wrapS},set:function(I){if(this.bind(),m.indexOf(I)<0)throw new Error("gl-texture2d: Unknown wrap mode "+I);return this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_S,I),this._wrapS=I}},wrapT:{get:function(){return this._wrapT},set:function(I){if(this.bind(),m.indexOf(I)<0)throw new Error("gl-texture2d: Unknown wrap mode "+I);return this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_T,I),this._wrapT=I}},wrap:{get:function(){return this._wrapVector},set:function(I){if(Array.isArray(I)||(I=[I,I]),I.length!==2)throw new Error("gl-texture2d: Must specify wrap mode for rows and columns");for(var O=0;O<2;++O)if(m.indexOf(I[O])<0)throw new Error("gl-texture2d: Unknown wrap mode "+I);this._wrapS=I[0],this._wrapT=I[1];var z=this.gl;return this.bind(),z.texParameteri(z.TEXTURE_2D,z.TEXTURE_WRAP_S,this._wrapS),z.texParameteri(z.TEXTURE_2D,z.TEXTURE_WRAP_T,this._wrapT),I}},shape:{get:function(){return this._shapeVector},set:function(I){if(Array.isArray(I)){if(I.length!==2)throw new Error("gl-texture2d: Invalid texture shape")}else I=[0|I,0|I];return _(this,0|I[0],0|I[1]),[0|I[0],0|I[1]]}},width:{get:function(){return this._shape[0]},set:function(I){return _(this,I|=0,this._shape[1]),I}},height:{get:function(){return this._shape[1]},set:function(I){return I|=0,_(this,this._shape[0],I),I}}}),E.bind=function(I){var O=this.gl;return I!==void 0&&O.activeTexture(O.TEXTURE0+(0|I)),O.bindTexture(O.TEXTURE_2D,this.handle),I!==void 0?0|I:O.getParameter(O.ACTIVE_TEXTURE)-O.TEXTURE0},E.dispose=function(){this.gl.deleteTexture(this.handle)},E.generateMipmap=function(){this.bind(),this.gl.generateMipmap(this.gl.TEXTURE_2D);for(var I=Math.min(this._shape[0],this._shape[1]),O=0;I>0;++O,I>>>=1)this._mipLevels.indexOf(O)<0&&this._mipLevels.push(O)},E.setPixels=function(I,O,z,F){var B=this.gl;this.bind(),Array.isArray(O)?(F=z,z=0|O[1],O=0|O[0]):(O=O||0,z=z||0),F=F||0;var N=y(I)?I:I.raw;if(N)this._mipLevels.indexOf(F)<0?(B.texImage2D(B.TEXTURE_2D,0,this.format,this.format,this.type,N),this._mipLevels.push(F)):B.texSubImage2D(B.TEXTURE_2D,F,O,z,this.format,this.type,N);else{if(!(I.shape&&I.stride&&I.data))throw new Error("gl-texture2d: Unsupported data type");if(I.shape.length<2||O+I.shape[1]>this._shape[1]>>>F||z+I.shape[0]>this._shape[0]>>>F||O<0||z<0)throw new Error("gl-texture2d: Texture dimensions are out of bounds");(function(W,j,$,U,G,q,H,ne){var te=ne.dtype,Z=ne.shape.slice();if(Z.length<2||Z.length>3)throw new Error("gl-texture2d: Invalid ndarray, must be 2d or 3d");var X=0,Q=0,re=x(Z,ne.stride.slice());if(te==="float32"?X=W.FLOAT:te==="float64"?(X=W.FLOAT,re=!1,te="float32"):te==="uint8"?X=W.UNSIGNED_BYTE:(X=W.UNSIGNED_BYTE,re=!1,te="uint8"),Z.length===2)Q=W.LUMINANCE,Z=[Z[0],Z[1],1],ne=u(ne.data,Z,[ne.stride[0],ne.stride[1],1],ne.offset);else{if(Z.length!==3)throw new Error("gl-texture2d: Invalid shape for texture");if(Z[2]===1)Q=W.ALPHA;else if(Z[2]===2)Q=W.LUMINANCE_ALPHA;else if(Z[2]===3)Q=W.RGB;else{if(Z[2]!==4)throw new Error("gl-texture2d: Invalid shape for pixel coords");Q=W.RGBA}Z[2]}if(Q!==W.LUMINANCE&&Q!==W.ALPHA||G!==W.LUMINANCE&&G!==W.ALPHA||(Q=G),Q!==G)throw new Error("gl-texture2d: Incompatible texture format for setPixels");var ie=ne.size,oe=H.indexOf(U)<0;if(oe&&H.push(U),X===q&&re)ne.offset===0&&ne.data.length===ie?oe?W.texImage2D(W.TEXTURE_2D,U,G,Z[0],Z[1],0,G,q,ne.data):W.texSubImage2D(W.TEXTURE_2D,U,j,$,Z[0],Z[1],G,q,ne.data):oe?W.texImage2D(W.TEXTURE_2D,U,G,Z[0],Z[1],0,G,q,ne.data.subarray(ne.offset,ne.offset+ie)):W.texSubImage2D(W.TEXTURE_2D,U,j,$,Z[0],Z[1],G,q,ne.data.subarray(ne.offset,ne.offset+ie));else{var ue;ue=q===W.FLOAT?s.mallocFloat32(ie):s.mallocUint8(ie);var ce=u(ue,Z,[Z[2],Z[2]*Z[0],1]);X===W.FLOAT&&q===W.UNSIGNED_BYTE?S(ce,ne):o.assign(ce,ne),oe?W.texImage2D(W.TEXTURE_2D,U,G,Z[0],Z[1],0,G,q,ue.subarray(0,ie)):W.texSubImage2D(W.TEXTURE_2D,U,j,$,Z[0],Z[1],G,q,ue.subarray(0,ie)),q===W.FLOAT?s.freeFloat32(ue):s.freeUint8(ue)}})(B,O,z,F,this.format,this.type,this._mipLevels,I)}}},3056:function(f){f.exports=function(l,a,u){a?a.bind():l.bindBuffer(l.ELEMENT_ARRAY_BUFFER,null);var o=0|l.getParameter(l.MAX_VERTEX_ATTRIBS);if(u){if(u.length>o)throw new Error("gl-vao: Too many vertex attributes");for(var s=0;s1?0:Math.acos(y)};var u=a(5415),o=a(899),s=a(9305)},8827:function(f){f.exports=function(l,a){return l[0]=Math.ceil(a[0]),l[1]=Math.ceil(a[1]),l[2]=Math.ceil(a[2]),l}},7622:function(f){f.exports=function(l){var a=new Float32Array(3);return a[0]=l[0],a[1]=l[1],a[2]=l[2],a}},8782:function(f){f.exports=function(l,a){return l[0]=a[0],l[1]=a[1],l[2]=a[2],l}},8501:function(f){f.exports=function(){var l=new Float32Array(3);return l[0]=0,l[1]=0,l[2]=0,l}},903:function(f){f.exports=function(l,a,u){var o=a[0],s=a[1],c=a[2],h=u[0],m=u[1],w=u[2];return l[0]=s*w-c*m,l[1]=c*h-o*w,l[2]=o*m-s*h,l}},5981:function(f,l,a){f.exports=a(8288)},8288:function(f){f.exports=function(l,a){var u=a[0]-l[0],o=a[1]-l[1],s=a[2]-l[2];return Math.sqrt(u*u+o*o+s*s)}},8629:function(f,l,a){f.exports=a(7979)},7979:function(f){f.exports=function(l,a,u){return l[0]=a[0]/u[0],l[1]=a[1]/u[1],l[2]=a[2]/u[2],l}},9305:function(f){f.exports=function(l,a){return l[0]*a[0]+l[1]*a[1]+l[2]*a[2]}},154:function(f){f.exports=1e-6},4932:function(f,l,a){f.exports=function(o,s){var c=o[0],h=o[1],m=o[2],w=s[0],y=s[1],S=s[2];return Math.abs(c-w)<=u*Math.max(1,Math.abs(c),Math.abs(w))&&Math.abs(h-y)<=u*Math.max(1,Math.abs(h),Math.abs(y))&&Math.abs(m-S)<=u*Math.max(1,Math.abs(m),Math.abs(S))};var u=a(154)},5777:function(f){f.exports=function(l,a){return l[0]===a[0]&&l[1]===a[1]&&l[2]===a[2]}},3306:function(f){f.exports=function(l,a){return l[0]=Math.floor(a[0]),l[1]=Math.floor(a[1]),l[2]=Math.floor(a[2]),l}},7447:function(f,l,a){f.exports=function(o,s,c,h,m,w){var y,S;for(s||(s=3),c||(c=0),S=h?Math.min(h*s+c,o.length):o.length,y=c;y0&&(c=1/Math.sqrt(c),l[0]=a[0]*c,l[1]=a[1]*c,l[2]=a[2]*c),l}},6660:function(f){f.exports=function(l,a){a=a||1;var u=2*Math.random()*Math.PI,o=2*Math.random()-1,s=Math.sqrt(1-o*o)*a;return l[0]=Math.cos(u)*s,l[1]=Math.sin(u)*s,l[2]=o*a,l}},392:function(f){f.exports=function(l,a,u,o){var s=u[1],c=u[2],h=a[1]-s,m=a[2]-c,w=Math.sin(o),y=Math.cos(o);return l[0]=a[0],l[1]=s+h*y-m*w,l[2]=c+h*w+m*y,l}},3222:function(f){f.exports=function(l,a,u,o){var s=u[0],c=u[2],h=a[0]-s,m=a[2]-c,w=Math.sin(o),y=Math.cos(o);return l[0]=s+m*w+h*y,l[1]=a[1],l[2]=c+m*y-h*w,l}},3388:function(f){f.exports=function(l,a,u,o){var s=u[0],c=u[1],h=a[0]-s,m=a[1]-c,w=Math.sin(o),y=Math.cos(o);return l[0]=s+h*y-m*w,l[1]=c+h*w+m*y,l[2]=a[2],l}},1624:function(f){f.exports=function(l,a){return l[0]=Math.round(a[0]),l[1]=Math.round(a[1]),l[2]=Math.round(a[2]),l}},5685:function(f){f.exports=function(l,a,u){return l[0]=a[0]*u,l[1]=a[1]*u,l[2]=a[2]*u,l}},6722:function(f){f.exports=function(l,a,u,o){return l[0]=a[0]+u[0]*o,l[1]=a[1]+u[1]*o,l[2]=a[2]+u[2]*o,l}},831:function(f){f.exports=function(l,a,u,o){return l[0]=a,l[1]=u,l[2]=o,l}},5294:function(f,l,a){f.exports=a(6403)},3303:function(f,l,a){f.exports=a(4337)},6403:function(f){f.exports=function(l,a){var u=a[0]-l[0],o=a[1]-l[1],s=a[2]-l[2];return u*u+o*o+s*s}},4337:function(f){f.exports=function(l){var a=l[0],u=l[1],o=l[2];return a*a+u*u+o*o}},8921:function(f,l,a){f.exports=a(911)},911:function(f){f.exports=function(l,a,u){return l[0]=a[0]-u[0],l[1]=a[1]-u[1],l[2]=a[2]-u[2],l}},9908:function(f){f.exports=function(l,a,u){var o=a[0],s=a[1],c=a[2];return l[0]=o*u[0]+s*u[3]+c*u[6],l[1]=o*u[1]+s*u[4]+c*u[7],l[2]=o*u[2]+s*u[5]+c*u[8],l}},3255:function(f){f.exports=function(l,a,u){var o=a[0],s=a[1],c=a[2],h=u[3]*o+u[7]*s+u[11]*c+u[15];return h=h||1,l[0]=(u[0]*o+u[4]*s+u[8]*c+u[12])/h,l[1]=(u[1]*o+u[5]*s+u[9]*c+u[13])/h,l[2]=(u[2]*o+u[6]*s+u[10]*c+u[14])/h,l}},6568:function(f){f.exports=function(l,a,u){var o=a[0],s=a[1],c=a[2],h=u[0],m=u[1],w=u[2],y=u[3],S=y*o+m*c-w*s,_=y*s+w*o-h*c,k=y*c+h*s-m*o,E=-h*o-m*s-w*c;return l[0]=S*y+E*-h+_*-w-k*-m,l[1]=_*y+E*-m+k*-h-S*-w,l[2]=k*y+E*-w+S*-m-_*-h,l}},3433:function(f){f.exports=function(l,a,u){return l[0]=a[0]+u[0],l[1]=a[1]+u[1],l[2]=a[2]+u[2],l[3]=a[3]+u[3],l}},1413:function(f){f.exports=function(l){var a=new Float32Array(4);return a[0]=l[0],a[1]=l[1],a[2]=l[2],a[3]=l[3],a}},3470:function(f){f.exports=function(l,a){return l[0]=a[0],l[1]=a[1],l[2]=a[2],l[3]=a[3],l}},5313:function(f){f.exports=function(){var l=new Float32Array(4);return l[0]=0,l[1]=0,l[2]=0,l[3]=0,l}},5446:function(f){f.exports=function(l,a){var u=a[0]-l[0],o=a[1]-l[1],s=a[2]-l[2],c=a[3]-l[3];return Math.sqrt(u*u+o*o+s*s+c*c)}},205:function(f){f.exports=function(l,a,u){return l[0]=a[0]/u[0],l[1]=a[1]/u[1],l[2]=a[2]/u[2],l[3]=a[3]/u[3],l}},4242:function(f){f.exports=function(l,a){return l[0]*a[0]+l[1]*a[1]+l[2]*a[2]+l[3]*a[3]}},5680:function(f){f.exports=function(l,a,u,o){var s=new Float32Array(4);return s[0]=l,s[1]=a,s[2]=u,s[3]=o,s}},4020:function(f,l,a){f.exports={create:a(5313),clone:a(1413),fromValues:a(5680),copy:a(3470),set:a(6453),add:a(3433),subtract:a(2705),multiply:a(746),divide:a(205),min:a(2170),max:a(3030),scale:a(5510),scaleAndAdd:a(4224),distance:a(5446),squaredDistance:a(1542),length:a(8177),squaredLength:a(9037),negate:a(6459),inverse:a(8057),normalize:a(381),dot:a(4242),lerp:a(8746),random:a(3770),transformMat4:a(6342),transformQuat:a(5022)}},8057:function(f){f.exports=function(l,a){return l[0]=1/a[0],l[1]=1/a[1],l[2]=1/a[2],l[3]=1/a[3],l}},8177:function(f){f.exports=function(l){var a=l[0],u=l[1],o=l[2],s=l[3];return Math.sqrt(a*a+u*u+o*o+s*s)}},8746:function(f){f.exports=function(l,a,u,o){var s=a[0],c=a[1],h=a[2],m=a[3];return l[0]=s+o*(u[0]-s),l[1]=c+o*(u[1]-c),l[2]=h+o*(u[2]-h),l[3]=m+o*(u[3]-m),l}},3030:function(f){f.exports=function(l,a,u){return l[0]=Math.max(a[0],u[0]),l[1]=Math.max(a[1],u[1]),l[2]=Math.max(a[2],u[2]),l[3]=Math.max(a[3],u[3]),l}},2170:function(f){f.exports=function(l,a,u){return l[0]=Math.min(a[0],u[0]),l[1]=Math.min(a[1],u[1]),l[2]=Math.min(a[2],u[2]),l[3]=Math.min(a[3],u[3]),l}},746:function(f){f.exports=function(l,a,u){return l[0]=a[0]*u[0],l[1]=a[1]*u[1],l[2]=a[2]*u[2],l[3]=a[3]*u[3],l}},6459:function(f){f.exports=function(l,a){return l[0]=-a[0],l[1]=-a[1],l[2]=-a[2],l[3]=-a[3],l}},381:function(f){f.exports=function(l,a){var u=a[0],o=a[1],s=a[2],c=a[3],h=u*u+o*o+s*s+c*c;return h>0&&(h=1/Math.sqrt(h),l[0]=u*h,l[1]=o*h,l[2]=s*h,l[3]=c*h),l}},3770:function(f,l,a){var u=a(381),o=a(5510);f.exports=function(s,c){return c=c||1,s[0]=Math.random(),s[1]=Math.random(),s[2]=Math.random(),s[3]=Math.random(),u(s,s),o(s,s,c),s}},5510:function(f){f.exports=function(l,a,u){return l[0]=a[0]*u,l[1]=a[1]*u,l[2]=a[2]*u,l[3]=a[3]*u,l}},4224:function(f){f.exports=function(l,a,u,o){return l[0]=a[0]+u[0]*o,l[1]=a[1]+u[1]*o,l[2]=a[2]+u[2]*o,l[3]=a[3]+u[3]*o,l}},6453:function(f){f.exports=function(l,a,u,o,s){return l[0]=a,l[1]=u,l[2]=o,l[3]=s,l}},1542:function(f){f.exports=function(l,a){var u=a[0]-l[0],o=a[1]-l[1],s=a[2]-l[2],c=a[3]-l[3];return u*u+o*o+s*s+c*c}},9037:function(f){f.exports=function(l){var a=l[0],u=l[1],o=l[2],s=l[3];return a*a+u*u+o*o+s*s}},2705:function(f){f.exports=function(l,a,u){return l[0]=a[0]-u[0],l[1]=a[1]-u[1],l[2]=a[2]-u[2],l[3]=a[3]-u[3],l}},6342:function(f){f.exports=function(l,a,u){var o=a[0],s=a[1],c=a[2],h=a[3];return l[0]=u[0]*o+u[4]*s+u[8]*c+u[12]*h,l[1]=u[1]*o+u[5]*s+u[9]*c+u[13]*h,l[2]=u[2]*o+u[6]*s+u[10]*c+u[14]*h,l[3]=u[3]*o+u[7]*s+u[11]*c+u[15]*h,l}},5022:function(f){f.exports=function(l,a,u){var o=a[0],s=a[1],c=a[2],h=u[0],m=u[1],w=u[2],y=u[3],S=y*o+m*c-w*s,_=y*s+w*o-h*c,k=y*c+h*s-m*o,E=-h*o-m*s-w*c;return l[0]=S*y+E*-h+_*-w-k*-m,l[1]=_*y+E*-m+k*-h-S*-w,l[2]=k*y+E*-w+S*-m-_*-h,l[3]=a[3],l}},9365:function(f,l,a){var u=a(8096),o=a(7896);f.exports=function(s){for(var c=Array.isArray(s)?s:u(s),h=0;h0)continue;ye=ue.slice(0,1).join("")}return G(ye),z+=ye.length,(b=b.slice(ye.length)).length}}function Q(){return/[^a-fA-F0-9]/.test(_)?(G(b.join("")),L=m,x):(b.push(_),k=_,x+1)}function re(){return _==="."||/[eE]/.test(_)?(b.push(_),L=5,k=_,x+1):_==="x"&&b.length===1&&b[0]==="0"?(L=11,b.push(_),k=_,x+1):/[^\d]/.test(_)?(G(b.join("")),L=m,x):(b.push(_),k=_,x+1)}function ie(){return _==="f"&&(b.push(_),k=_,x+=1),/[eE]/.test(_)?(b.push(_),k=_,x+1):(_!=="-"&&_!=="+"||!/[eE]/.test(k))&&/[^\d]/.test(_)?(G(b.join("")),L=m,x):(b.push(_),k=_,x+1)}function oe(){if(/[^\d\w_]/.test(_)){var ue=b.join("");return L=U[ue]?8:$[ue]?7:6,G(b.join("")),L=m,x}return b.push(_),k=_,x+1}};var u=a(399),o=a(9746),s=a(9525),c=a(9458),h=a(3585),m=999,w=9999,y=["block-comment","line-comment","preprocessor","operator","integer","float","ident","builtin","keyword","whitespace","eof","integer"]},3585:function(f,l,a){var u=a(9525);u=u.slice().filter(function(o){return!/^(gl\_|texture)/.test(o)}),f.exports=u.concat(["gl_VertexID","gl_InstanceID","gl_Position","gl_PointSize","gl_FragCoord","gl_FrontFacing","gl_FragDepth","gl_PointCoord","gl_MaxVertexAttribs","gl_MaxVertexUniformVectors","gl_MaxVertexOutputVectors","gl_MaxFragmentInputVectors","gl_MaxVertexTextureImageUnits","gl_MaxCombinedTextureImageUnits","gl_MaxTextureImageUnits","gl_MaxFragmentUniformVectors","gl_MaxDrawBuffers","gl_MinProgramTexelOffset","gl_MaxProgramTexelOffset","gl_DepthRangeParameters","gl_DepthRange","trunc","round","roundEven","isnan","isinf","floatBitsToInt","floatBitsToUint","intBitsToFloat","uintBitsToFloat","packSnorm2x16","unpackSnorm2x16","packUnorm2x16","unpackUnorm2x16","packHalf2x16","unpackHalf2x16","outerProduct","transpose","determinant","inverse","texture","textureSize","textureProj","textureLod","textureOffset","texelFetch","texelFetchOffset","textureProjOffset","textureLodOffset","textureProjLod","textureProjLodOffset","textureGrad","textureGradOffset","textureProjGrad","textureProjGradOffset"])},9525:function(f){f.exports=["abs","acos","all","any","asin","atan","ceil","clamp","cos","cross","dFdx","dFdy","degrees","distance","dot","equal","exp","exp2","faceforward","floor","fract","gl_BackColor","gl_BackLightModelProduct","gl_BackLightProduct","gl_BackMaterial","gl_BackSecondaryColor","gl_ClipPlane","gl_ClipVertex","gl_Color","gl_DepthRange","gl_DepthRangeParameters","gl_EyePlaneQ","gl_EyePlaneR","gl_EyePlaneS","gl_EyePlaneT","gl_Fog","gl_FogCoord","gl_FogFragCoord","gl_FogParameters","gl_FragColor","gl_FragCoord","gl_FragData","gl_FragDepth","gl_FragDepthEXT","gl_FrontColor","gl_FrontFacing","gl_FrontLightModelProduct","gl_FrontLightProduct","gl_FrontMaterial","gl_FrontSecondaryColor","gl_LightModel","gl_LightModelParameters","gl_LightModelProducts","gl_LightProducts","gl_LightSource","gl_LightSourceParameters","gl_MaterialParameters","gl_MaxClipPlanes","gl_MaxCombinedTextureImageUnits","gl_MaxDrawBuffers","gl_MaxFragmentUniformComponents","gl_MaxLights","gl_MaxTextureCoords","gl_MaxTextureImageUnits","gl_MaxTextureUnits","gl_MaxVaryingFloats","gl_MaxVertexAttribs","gl_MaxVertexTextureImageUnits","gl_MaxVertexUniformComponents","gl_ModelViewMatrix","gl_ModelViewMatrixInverse","gl_ModelViewMatrixInverseTranspose","gl_ModelViewMatrixTranspose","gl_ModelViewProjectionMatrix","gl_ModelViewProjectionMatrixInverse","gl_ModelViewProjectionMatrixInverseTranspose","gl_ModelViewProjectionMatrixTranspose","gl_MultiTexCoord0","gl_MultiTexCoord1","gl_MultiTexCoord2","gl_MultiTexCoord3","gl_MultiTexCoord4","gl_MultiTexCoord5","gl_MultiTexCoord6","gl_MultiTexCoord7","gl_Normal","gl_NormalMatrix","gl_NormalScale","gl_ObjectPlaneQ","gl_ObjectPlaneR","gl_ObjectPlaneS","gl_ObjectPlaneT","gl_Point","gl_PointCoord","gl_PointParameters","gl_PointSize","gl_Position","gl_ProjectionMatrix","gl_ProjectionMatrixInverse","gl_ProjectionMatrixInverseTranspose","gl_ProjectionMatrixTranspose","gl_SecondaryColor","gl_TexCoord","gl_TextureEnvColor","gl_TextureMatrix","gl_TextureMatrixInverse","gl_TextureMatrixInverseTranspose","gl_TextureMatrixTranspose","gl_Vertex","greaterThan","greaterThanEqual","inversesqrt","length","lessThan","lessThanEqual","log","log2","matrixCompMult","max","min","mix","mod","normalize","not","notEqual","pow","radians","reflect","refract","sign","sin","smoothstep","sqrt","step","tan","texture2D","texture2DLod","texture2DProj","texture2DProjLod","textureCube","textureCubeLod","texture2DLodEXT","texture2DProjLodEXT","textureCubeLodEXT","texture2DGradEXT","texture2DProjGradEXT","textureCubeGradEXT"]},9458:function(f,l,a){var u=a(399);f.exports=u.slice().concat(["layout","centroid","smooth","case","mat2x2","mat2x3","mat2x4","mat3x2","mat3x3","mat3x4","mat4x2","mat4x3","mat4x4","uvec2","uvec3","uvec4","samplerCubeShadow","sampler2DArray","sampler2DArrayShadow","isampler2D","isampler3D","isamplerCube","isampler2DArray","usampler2D","usampler3D","usamplerCube","usampler2DArray","coherent","restrict","readonly","writeonly","resource","atomic_uint","noperspective","patch","sample","subroutine","common","partition","active","filter","image1D","image2D","image3D","imageCube","iimage1D","iimage2D","iimage3D","iimageCube","uimage1D","uimage2D","uimage3D","uimageCube","image1DArray","image2DArray","iimage1DArray","iimage2DArray","uimage1DArray","uimage2DArray","image1DShadow","image2DShadow","image1DArrayShadow","image2DArrayShadow","imageBuffer","iimageBuffer","uimageBuffer","sampler1DArray","sampler1DArrayShadow","isampler1D","isampler1DArray","usampler1D","usampler1DArray","isampler2DRect","usampler2DRect","samplerBuffer","isamplerBuffer","usamplerBuffer","sampler2DMS","isampler2DMS","usampler2DMS","sampler2DMSArray","isampler2DMSArray","usampler2DMSArray"])},399:function(f){f.exports=["precision","highp","mediump","lowp","attribute","const","uniform","varying","break","continue","do","for","while","if","else","in","out","inout","float","int","uint","void","bool","true","false","discard","return","mat2","mat3","mat4","vec2","vec3","vec4","ivec2","ivec3","ivec4","bvec2","bvec3","bvec4","sampler1D","sampler2D","sampler3D","samplerCube","sampler1DShadow","sampler2DShadow","struct","asm","class","union","enum","typedef","template","this","packed","goto","switch","default","inline","noinline","volatile","public","static","extern","external","interface","long","short","double","half","fixed","unsigned","input","output","hvec2","hvec3","hvec4","dvec2","dvec3","dvec4","fvec2","fvec3","fvec4","sampler2DRect","sampler3DRect","sampler2DRectShadow","sizeof","cast","namespace","using"]},9746:function(f){f.exports=["<<=",">>=","++","--","<<",">>","<=",">=","==","!=","&&","||","+=","-=","*=","/=","%=","&=","^^","^=","|=","(",")","[","]",".","!","~","*","/","%","+","-","<",">","&","^","|","?",":","=",",",";","{","}"]},8096:function(f,l,a){var u=a(3193);f.exports=function(o,s){var c=u(s),h=[];return(h=h.concat(c(o))).concat(c(null))}},6832:function(f){f.exports=function(l){typeof l=="string"&&(l=[l]);for(var a=[].slice.call(arguments,1),u=[],o=0;o0;)for(var b=(S=L.pop()).adjacent,R=0;R<=k;++R){var I=b[R];if(I.boundary&&!(I.lastVisited<=-E)){for(var O=I.vertices,z=0;z<=k;++z){var F=O[z];x[z]=F<0?_:A[F]}var B=this.orient();if(B>0)return I;I.lastVisited=-E,B===0&&L.push(I)}}return null},y.walk=function(S,_){var k=this.vertices.length-1,E=this.dimension,x=this.vertices,A=this.tuple,L=_?this.interior.length*Math.random()|0:this.interior.length-1,b=this.interior[L];e:for(;!b.boundary;){for(var R=b.vertices,I=b.adjacent,O=0;O<=E;++O)A[O]=x[R[O]];for(b.lastVisited=k,O=0;O<=E;++O){var z=I[O];if(!(z.lastVisited>=k)){var F=A[O];A[O]=S;var B=this.orient();if(A[O]=F,B<0){b=z;continue e}z.boundary?z.lastVisited=-k:z.lastVisited=k}}return}return b},y.addPeaks=function(S,_){var k=this.vertices.length-1,E=this.dimension,x=this.vertices,A=this.tuple,L=this.interior,b=this.simplices,R=[_];_.lastVisited=k,_.vertices[_.vertices.indexOf(-1)]=k,_.boundary=!1,L.push(_);for(var I=[];R.length>0;){var O=(_=R.pop()).vertices,z=_.adjacent,F=O.indexOf(k);if(!(F<0)){for(var B=0;B<=E;++B)if(B!==F){var N=z[B];if(N.boundary&&!(N.lastVisited>=k)){var W=N.vertices;if(N.lastVisited!==-k){for(var j=0,$=0;$<=E;++$)W[$]<0?(j=$,A[$]=S):A[$]=x[W[$]];if(this.orient()>0){W[j]=k,N.boundary=!1,L.push(N),R.push(N),N.lastVisited=k;continue}N.lastVisited=-k}var U=N.adjacent,G=O.slice(),q=z.slice(),H=new s(G,q,!0);b.push(H);var ne=U.indexOf(_);if(!(ne<0))for(U[ne]=H,q[F]=N,G[B]=-1,q[B]=_,z[B]=H,H.flip(),$=0;$<=E;++$){var te=G[$];if(!(te<0||te===k)){for(var Z=new Array(E-1),X=0,Q=0;Q<=E;++Q){var re=G[Q];re<0||Q===$||(Z[X++]=re)}I.push(new c(Z,H,$))}}}}}}for(I.sort(h),B=0;B+1=0?L[R++]=b[O]:I=1&O;if(I===(1&S)){var z=L[0];L[0]=L[1],L[1]=z}_.push(L)}}return _}},9014:function(f,l,a){var u=a(5070);function o(R,I,O,z,F){this.mid=R,this.left=I,this.right=O,this.leftPoints=z,this.rightPoints=F,this.count=(I?I.count:0)+(O?O.count:0)+z.length}f.exports=function(R){return R&&R.length!==0?new L(A(R)):new L(null)};var s=o.prototype;function c(R,I){R.mid=I.mid,R.left=I.left,R.right=I.right,R.leftPoints=I.leftPoints,R.rightPoints=I.rightPoints,R.count=I.count}function h(R,I){var O=A(I);R.mid=O.mid,R.left=O.left,R.right=O.right,R.leftPoints=O.leftPoints,R.rightPoints=O.rightPoints,R.count=O.count}function m(R,I){var O=R.intervals([]);O.push(I),h(R,O)}function w(R,I){var O=R.intervals([]),z=O.indexOf(I);return z<0?0:(O.splice(z,1),h(R,O),1)}function y(R,I,O){for(var z=0;z=0&&R[z][1]>=I;--z){var F=O(R[z]);if(F)return F}}function _(R,I){for(var O=0;O>1],F=[],B=[],N=[];for(O=0;O3*(I+1)?m(this,R):this.left.insert(R):this.left=A([R]);else if(R[0]>this.mid)this.right?4*(this.right.count+1)>3*(I+1)?m(this,R):this.right.insert(R):this.right=A([R]);else{var O=u.ge(this.leftPoints,R,E),z=u.ge(this.rightPoints,R,x);this.leftPoints.splice(O,0,R),this.rightPoints.splice(z,0,R)}},s.remove=function(R){var I=this.count-this.leftPoints;if(R[1]3*(I-1)?w(this,R):(B=this.left.remove(R))===2?(this.left=null,this.count-=1,1):(B===1&&(this.count-=1),B):0;if(R[0]>this.mid)return this.right?4*(this.left?this.left.count:0)>3*(I-1)?w(this,R):(B=this.right.remove(R))===2?(this.right=null,this.count-=1,1):(B===1&&(this.count-=1),B):0;if(this.count===1)return this.leftPoints[0]===R?2:0;if(this.leftPoints.length===1&&this.leftPoints[0]===R){if(this.left&&this.right){for(var O=this,z=this.left;z.right;)O=z,z=z.right;if(O===this)z.right=this.right;else{var F=this.left,B=this.right;O.count-=z.count,O.right=z.left,z.left=F,z.right=B}c(this,z),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?c(this,this.left):c(this,this.right);return 1}for(F=u.ge(this.leftPoints,R,E);Fthis.mid?this.right&&(O=this.right.queryPoint(R,I))?O:S(this.rightPoints,R,I):_(this.leftPoints,I);var O},s.queryInterval=function(R,I,O){var z;return Rthis.mid&&this.right&&(z=this.right.queryInterval(R,I,O))?z:Ithis.mid?S(this.rightPoints,R,O):_(this.leftPoints,O)};var b=L.prototype;b.insert=function(R){this.root?this.root.insert(R):this.root=new o(R[0],null,null,[R],[R])},b.remove=function(R){if(this.root){var I=this.root.remove(R);return I===2&&(this.root=null),I!==0}return!1},b.queryPoint=function(R,I){if(this.root)return this.root.queryPoint(R,I)},b.queryInterval=function(R,I,O){if(R<=I&&this.root)return this.root.queryInterval(R,I,O)},Object.defineProperty(b,"count",{get:function(){return this.root?this.root.count:0}}),Object.defineProperty(b,"intervals",{get:function(){return this.root?this.root.intervals([]):[]}})},9560:function(f){f.exports=function(l){for(var a=new Array(l),u=0;u13)&&a!==32&&a!==133&&a!==160&&a!==5760&&a!==6158&&(a<8192||a>8205)&&a!==8232&&a!==8233&&a!==8239&&a!==8287&&a!==8288&&a!==12288&&a!==65279)return!1;return!0}},3578:function(f){f.exports=function(l,a,u){return l*(1-u)+a*u}},7191:function(f,l,a){var u=a(4690),o=a(9823),s=a(7332),c=a(7787),h=a(7437),m=a(2142),w={length:a(4693),normalize:a(899),dot:a(9305),cross:a(903)},y=o(),S=o(),_=[0,0,0,0],k=[[0,0,0],[0,0,0],[0,0,0]],E=[0,0,0];function x(A,L,b,R,I){A[0]=L[0]*R+b[0]*I,A[1]=L[1]*R+b[1]*I,A[2]=L[2]*R+b[2]*I}f.exports=function(A,L,b,R,I,O){if(L||(L=[0,0,0]),b||(b=[0,0,0]),R||(R=[0,0,0]),I||(I=[0,0,0,1]),O||(O=[0,0,0,1]),!u(y,A)||(s(S,y),S[3]=0,S[7]=0,S[11]=0,S[15]=1,Math.abs(c(S)<1e-8)))return!1;var z,F,B,N,W,j,$,U=y[3],G=y[7],q=y[11],H=y[12],ne=y[13],te=y[14],Z=y[15];if(U!==0||G!==0||q!==0){if(_[0]=U,_[1]=G,_[2]=q,_[3]=Z,!h(S,S))return!1;m(S,S),z=I,B=S,N=(F=_)[0],W=F[1],j=F[2],$=F[3],z[0]=B[0]*N+B[4]*W+B[8]*j+B[12]*$,z[1]=B[1]*N+B[5]*W+B[9]*j+B[13]*$,z[2]=B[2]*N+B[6]*W+B[10]*j+B[14]*$,z[3]=B[3]*N+B[7]*W+B[11]*j+B[15]*$}else I[0]=I[1]=I[2]=0,I[3]=1;if(L[0]=H,L[1]=ne,L[2]=te,function(Q,re){Q[0][0]=re[0],Q[0][1]=re[1],Q[0][2]=re[2],Q[1][0]=re[4],Q[1][1]=re[5],Q[1][2]=re[6],Q[2][0]=re[8],Q[2][1]=re[9],Q[2][2]=re[10]}(k,y),b[0]=w.length(k[0]),w.normalize(k[0],k[0]),R[0]=w.dot(k[0],k[1]),x(k[1],k[1],k[0],1,-R[0]),b[1]=w.length(k[1]),w.normalize(k[1],k[1]),R[0]/=b[1],R[1]=w.dot(k[0],k[2]),x(k[2],k[2],k[0],1,-R[1]),R[2]=w.dot(k[1],k[2]),x(k[2],k[2],k[1],1,-R[2]),b[2]=w.length(k[2]),w.normalize(k[2],k[2]),R[1]/=b[2],R[2]/=b[2],w.cross(E,k[1],k[2]),w.dot(k[0],E)<0)for(var X=0;X<3;X++)b[X]*=-1,k[X][0]*=-1,k[X][1]*=-1,k[X][2]*=-1;return O[0]=.5*Math.sqrt(Math.max(1+k[0][0]-k[1][1]-k[2][2],0)),O[1]=.5*Math.sqrt(Math.max(1-k[0][0]+k[1][1]-k[2][2],0)),O[2]=.5*Math.sqrt(Math.max(1-k[0][0]-k[1][1]+k[2][2],0)),O[3]=.5*Math.sqrt(Math.max(1+k[0][0]+k[1][1]+k[2][2],0)),k[2][1]>k[1][2]&&(O[0]=-O[0]),k[0][2]>k[2][0]&&(O[1]=-O[1]),k[1][0]>k[0][1]&&(O[2]=-O[2]),!0}},4690:function(f){f.exports=function(l,a){var u=a[15];if(u===0)return!1;for(var o=1/u,s=0;s<16;s++)l[s]=a[s]*o;return!0}},7649:function(f,l,a){var u=a(1868),o=a(1102),s=a(7191),c=a(7787),h=a(1116),m=S(),w=S(),y=S();function S(){return{translate:_(),scale:_(1),skew:_(),perspective:[0,0,0,1],quaternion:[0,0,0,1]}}function _(k){return[k||0,k||0,k||0]}f.exports=function(k,E,x,A){if(c(E)===0||c(x)===0)return!1;var L=s(E,m.translate,m.scale,m.skew,m.perspective,m.quaternion),b=s(x,w.translate,w.scale,w.skew,w.perspective,w.quaternion);return!(!L||!b||(u(y.translate,m.translate,w.translate,A),u(y.skew,m.skew,w.skew,A),u(y.scale,m.scale,w.scale,A),u(y.perspective,m.perspective,w.perspective,A),h(y.quaternion,m.quaternion,w.quaternion,A),o(k,y.translate,y.scale,y.skew,y.perspective,y.quaternion),0))}},1102:function(f,l,a){var u={identity:a(9947),translate:a(998),multiply:a(104),create:a(9823),scale:a(3668),fromRotationTranslation:a(7280)},o=(u.create(),u.create());f.exports=function(s,c,h,m,w,y){return u.identity(s),u.fromRotationTranslation(s,y,c),s[3]=w[0],s[7]=w[1],s[11]=w[2],s[15]=w[3],u.identity(o),m[2]!==0&&(o[9]=m[2],u.multiply(s,s,o)),m[1]!==0&&(o[9]=0,o[8]=m[1],u.multiply(s,s,o)),m[0]!==0&&(o[8]=0,o[4]=m[0],u.multiply(s,s,o)),u.scale(s,s,h),s}},9298:function(f,l,a){var u=a(5070),o=a(7649),s=a(7437),c=a(6109),h=a(7115),m=a(5240),w=a(3012),y=a(998),S=(a(3668),a(899)),_=[0,0,0];function k(A){this._components=A.slice(),this._time=[0],this.prevMatrix=A.slice(),this.nextMatrix=A.slice(),this.computedMatrix=A.slice(),this.computedInverse=A.slice(),this.computedEye=[0,0,0],this.computedUp=[0,0,0],this.computedCenter=[0,0,0],this.computedRadius=[0],this._limits=[-1/0,1/0]}f.exports=function(A){return new k((A=A||{}).matrix||[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1])};var E=k.prototype;E.recalcMatrix=function(A){var L=this._time,b=u.le(L,A),R=this.computedMatrix;if(!(b<0)){var I=this._components;if(b===L.length-1)for(var O=16*b,z=0;z<16;++z)R[z]=I[O++];else{var F=L[b+1]-L[b],B=(O=16*b,this.prevMatrix),N=!0;for(z=0;z<16;++z)B[z]=I[O++];var W=this.nextMatrix;for(z=0;z<16;++z)W[z]=I[O++],N=N&&B[z]===W[z];if(F<1e-6||N)for(z=0;z<16;++z)R[z]=B[z];else o(R,B,W,(A-L[b])/F)}var j=this.computedUp;j[0]=R[1],j[1]=R[5],j[2]=R[9],S(j,j);var $=this.computedInverse;s($,R);var U=this.computedEye,G=$[15];U[0]=$[12]/G,U[1]=$[13]/G,U[2]=$[14]/G;var q=this.computedCenter,H=Math.exp(this.computedRadius[0]);for(z=0;z<3;++z)q[z]=U[z]-R[2+4*z]*H}},E.idle=function(A){if(!(A1&&u(o[w[k-2]],o[w[k-1]],_)<=0;)k-=1,w.pop();for(w.push(S),k=y.length;k>1&&u(o[y[k-2]],o[y[k-1]],_)>=0;)k-=1,y.pop();y.push(S)}c=new Array(y.length+w.length-2);for(var E=0,x=(h=0,w.length);h0;--A)c[E++]=y[A];return c};var u=a(417)[3]},6145:function(f,l,a){f.exports=function(o,s){s||(s=o,o=window);var c=0,h=0,m=0,w={shift:!1,alt:!1,control:!1,meta:!1},y=!1;function S(O){var z=!1;return"altKey"in O&&(z=z||O.altKey!==w.alt,w.alt=!!O.altKey),"shiftKey"in O&&(z=z||O.shiftKey!==w.shift,w.shift=!!O.shiftKey),"ctrlKey"in O&&(z=z||O.ctrlKey!==w.control,w.control=!!O.ctrlKey),"metaKey"in O&&(z=z||O.metaKey!==w.meta,w.meta=!!O.metaKey),z}function _(O,z){var F=u.x(z),B=u.y(z);"buttons"in z&&(O=0|z.buttons),(O!==c||F!==h||B!==m||S(z))&&(c=0|O,h=F||0,m=B||0,s&&s(c,h,m,w))}function k(O){_(0,O)}function E(){(c||h||m||w.shift||w.alt||w.meta||w.control)&&(h=m=0,c=0,w.shift=w.alt=w.control=w.meta=!1,s&&s(0,0,0,w))}function x(O){S(O)&&s&&s(c,h,m,w)}function A(O){u.buttons(O)===0?_(0,O):_(c,O)}function L(O){_(c|u.buttons(O),O)}function b(O){_(c&~u.buttons(O),O)}function R(){y||(y=!0,o.addEventListener("mousemove",A),o.addEventListener("mousedown",L),o.addEventListener("mouseup",b),o.addEventListener("mouseleave",k),o.addEventListener("mouseenter",k),o.addEventListener("mouseout",k),o.addEventListener("mouseover",k),o.addEventListener("blur",E),o.addEventListener("keyup",x),o.addEventListener("keydown",x),o.addEventListener("keypress",x),o!==window&&(window.addEventListener("blur",E),window.addEventListener("keyup",x),window.addEventListener("keydown",x),window.addEventListener("keypress",x)))}R();var I={element:o};return Object.defineProperties(I,{enabled:{get:function(){return y},set:function(O){O?R():y&&(y=!1,o.removeEventListener("mousemove",A),o.removeEventListener("mousedown",L),o.removeEventListener("mouseup",b),o.removeEventListener("mouseleave",k),o.removeEventListener("mouseenter",k),o.removeEventListener("mouseout",k),o.removeEventListener("mouseover",k),o.removeEventListener("blur",E),o.removeEventListener("keyup",x),o.removeEventListener("keydown",x),o.removeEventListener("keypress",x),o!==window&&(window.removeEventListener("blur",E),window.removeEventListener("keyup",x),window.removeEventListener("keydown",x),window.removeEventListener("keypress",x)))},enumerable:!0},buttons:{get:function(){return c},enumerable:!0},x:{get:function(){return h},enumerable:!0},y:{get:function(){return m},enumerable:!0},mods:{get:function(){return w},enumerable:!0}}),I};var u=a(4110)},2565:function(f){var l={left:0,top:0};f.exports=function(a,u,o){u=u||a.currentTarget||a.srcElement,Array.isArray(o)||(o=[0,0]);var s,c=a.clientX||0,h=a.clientY||0,m=(s=u)===window||s===document||s===document.body?l:s.getBoundingClientRect();return o[0]=c-m.left,o[1]=h-m.top,o}},4110:function(f,l){function a(u){return u.target||u.srcElement||window}l.buttons=function(u){if(typeof u=="object"){if("buttons"in u)return u.buttons;if("which"in u){if((o=u.which)===2)return 4;if(o===3)return 2;if(o>0)return 1<=0)return 1< 0"),typeof s.vertex!="function"&&c("Must specify vertex creation function"),typeof s.cell!="function"&&c("Must specify cell creation function"),typeof s.phase!="function"&&c("Must specify phase function");for(var w=s.getters||[],y=new Array(m),S=0;S=0?y[S]=!0:y[S]=!1;return function(_,k,E,x,A,L){var b=[L,A].join(",");return(0,o[b])(_,k,E,u.mallocUint32,u.freeUint32)}(s.vertex,s.cell,s.phase,0,h,y)};var o={"false,0,1":function(s,c,h,m,w){return function(y,S,_,k){var E,x=0|y.shape[0],A=0|y.shape[1],L=y.data,b=0|y.offset,R=0|y.stride[0],I=0|y.stride[1],O=b,z=0|-R,F=0,B=0|-I,N=0,W=-R-I|0,j=0,$=0|R,U=I-R*x|0,G=0,q=0,H=0,ne=2*x|0,te=m(ne),Z=m(ne),X=0,Q=0,re=-1,ie=-1,oe=0,ue=0|-x,ce=0|x,ye=0,de=-x-1|0,me=x-1|0,pe=0,xe=0,Pe=0;for(G=0;G0){if(q=1,te[X++]=h(L[O],S,_,k),O+=$,x>0)for(G=1,E=L[O],Q=te[X]=h(E,S,_,k),oe=te[X+re],ye=te[X+ue],pe=te[X+de],Q===oe&&Q===ye&&Q===pe||(F=L[O+z],N=L[O+B],j=L[O+W],s(G,q,E,F,N,j,Q,oe,ye,pe,S,_,k),xe=Z[X]=H++),X+=1,O+=$,G=2;G0)for(G=1,E=L[O],Q=te[X]=h(E,S,_,k),oe=te[X+re],ye=te[X+ue],pe=te[X+de],Q===oe&&Q===ye&&Q===pe||(F=L[O+z],N=L[O+B],j=L[O+W],s(G,q,E,F,N,j,Q,oe,ye,pe,S,_,k),xe=Z[X]=H++,pe!==ye&&c(Z[X+ue],xe,N,j,ye,pe,S,_,k)),X+=1,O+=$,G=2;G0){if(G=1,te[X++]=h(L[O],S,_,k),O+=$,A>0)for(q=1,E=L[O],Q=te[X]=h(E,S,_,k),ye=te[X+ue],oe=te[X+re],pe=te[X+de],Q===ye&&Q===oe&&Q===pe||(F=L[O+z],N=L[O+B],j=L[O+W],s(G,q,E,F,N,j,Q,ye,oe,pe,S,_,k),xe=Z[X]=H++),X+=1,O+=$,q=2;q0)for(q=1,E=L[O],Q=te[X]=h(E,S,_,k),ye=te[X+ue],oe=te[X+re],pe=te[X+de],Q===ye&&Q===oe&&Q===pe||(F=L[O+z],N=L[O+B],j=L[O+W],s(G,q,E,F,N,j,Q,ye,oe,pe,S,_,k),xe=Z[X]=H++,pe!==ye&&c(Z[X+ue],xe,j,F,pe,ye,S,_,k)),X+=1,O+=$,q=2;q2&&O[1]>2&&b(I.pick(-1,-1).lo(1,1).hi(O[0]-2,O[1]-2),R.pick(-1,-1,0).lo(1,1).hi(O[0]-2,O[1]-2),R.pick(-1,-1,1).lo(1,1).hi(O[0]-2,O[1]-2)),O[1]>2&&(L(I.pick(0,-1).lo(1).hi(O[1]-2),R.pick(0,-1,1).lo(1).hi(O[1]-2)),A(R.pick(0,-1,0).lo(1).hi(O[1]-2))),O[1]>2&&(L(I.pick(O[0]-1,-1).lo(1).hi(O[1]-2),R.pick(O[0]-1,-1,1).lo(1).hi(O[1]-2)),A(R.pick(O[0]-1,-1,0).lo(1).hi(O[1]-2))),O[0]>2&&(L(I.pick(-1,0).lo(1).hi(O[0]-2),R.pick(-1,0,0).lo(1).hi(O[0]-2)),A(R.pick(-1,0,1).lo(1).hi(O[0]-2))),O[0]>2&&(L(I.pick(-1,O[1]-1).lo(1).hi(O[0]-2),R.pick(-1,O[1]-1,0).lo(1).hi(O[0]-2)),A(R.pick(-1,O[1]-1,1).lo(1).hi(O[0]-2))),R.set(0,0,0,0),R.set(0,0,1,0),R.set(O[0]-1,0,0,0),R.set(O[0]-1,0,1,0),R.set(0,O[1]-1,0,0),R.set(0,O[1]-1,1,0),R.set(O[0]-1,O[1]-1,0,0),R.set(O[0]-1,O[1]-1,1,0),R}}f.exports=function(x,A,L){return Array.isArray(L)||(L=u(A.dimension,typeof L=="string"?L:"clamp")),A.size===0?x:A.dimension===0?(x.set(0),x):function(b){var R=b.join();if(F=y[R])return F;for(var I=b.length,O=[S,_],z=1;z<=I;++z)O.push(k(z));var F=E.apply(void 0,O);return y[R]=F,F}(L)(x,A)}},3581:function(f){function l(s,c){var h=Math.floor(c),m=c-h,w=0<=h&&h0;){W<64?(x=W,W=0):(x=64,W-=64);for(var j=0|h[1];j>0;){j<64?(A=j,j=0):(A=64,j-=64),y=B+W*b+j*R,k=N+W*O+j*z;var $=0,U=0,G=0,q=I,H=b-L*I,ne=R-x*b,te=F,Z=O-L*F,X=z-x*O;for(G=0;G0;){z<64?(x=z,z=0):(x=64,z-=64);for(var F=0|h[0];F>0;){F<64?(E=F,F=0):(E=64,F-=64),y=I+z*L+F*A,k=O+z*R+F*b;var B=0,N=0,W=L,j=A-x*L,$=R,U=b-x*R;for(N=0;N0;){N<64?(A=N,N=0):(A=64,N-=64);for(var W=0|h[0];W>0;){W<64?(E=W,W=0):(E=64,W-=64);for(var j=0|h[1];j>0;){j<64?(x=j,j=0):(x=64,j-=64),y=F+N*R+W*L+j*b,k=B+N*z+W*I+j*O;var $=0,U=0,G=0,q=R,H=L-A*R,ne=b-E*L,te=z,Z=I-A*z,X=O-E*I;for(G=0;Gy;){N=0,W=F-E;t:for(B=0;B$)break t;W+=R,N+=I}for(N=F,W=F-E,B=0;B>1,Ce=Se-Pe,ae=Se+Pe,fe=_e,be=Ce,ke=Se,Le=ae,Be=Me,ze=_+1,je=k-1,ge=!0,we=0,Ee=0,Ve=0,$e=R,Ye=w($e),st=w($e);ne=A*fe,te=A*be,xe=x;e:for(H=0;H0){B=fe,fe=be,be=B;break e}if(Ve<0)break e;xe+=O}ne=A*Le,te=A*Be,xe=x;e:for(H=0;H0){B=Le,Le=Be,Be=B;break e}if(Ve<0)break e;xe+=O}ne=A*fe,te=A*ke,xe=x;e:for(H=0;H0){B=fe,fe=ke,ke=B;break e}if(Ve<0)break e;xe+=O}ne=A*be,te=A*ke,xe=x;e:for(H=0;H0){B=be,be=ke,ke=B;break e}if(Ve<0)break e;xe+=O}ne=A*fe,te=A*Le,xe=x;e:for(H=0;H0){B=fe,fe=Le,Le=B;break e}if(Ve<0)break e;xe+=O}ne=A*ke,te=A*Le,xe=x;e:for(H=0;H0){B=ke,ke=Le,Le=B;break e}if(Ve<0)break e;xe+=O}ne=A*be,te=A*Be,xe=x;e:for(H=0;H0){B=be,be=Be,Be=B;break e}if(Ve<0)break e;xe+=O}ne=A*be,te=A*ke,xe=x;e:for(H=0;H0){B=be,be=ke,ke=B;break e}if(Ve<0)break e;xe+=O}ne=A*Le,te=A*Be,xe=x;e:for(H=0;H0){B=Le,Le=Be,Be=B;break e}if(Ve<0)break e;xe+=O}for(ne=A*fe,te=A*be,Z=A*ke,X=A*Le,Q=A*Be,re=A*_e,ie=A*Se,oe=A*Me,pe=0,xe=x,H=0;H0)){if(Ve<0){for(ne=A*$,te=A*ze,Z=A*je,xe=x,H=0;H0)for(;;){for(U=x+je*A,pe=0,H=0;H0)){for(U=x+je*A,pe=0,H=0;HMe){e:for(;;){for(U=x+ze*A,pe=0,xe=x,H=0;H1&&L?R(A,L[0],L[1]):R(A)}(m,w,_);return S(_,k)}},8729:function(f,l,a){var u=a(8139),o={};f.exports=function(s){var c=s.order,h=s.dtype,m=[c,h].join(":"),w=o[m];return w||(o[m]=w=u(c,h)),w(s),s}},5050:function(f,l,a){var u=a(4780),o=typeof Float64Array<"u";function s(y,S){return y[0]-S[0]}function c(){var y,S=this.stride,_=new Array(S.length);for(y=0;y<_.length;++y)_[y]=[Math.abs(S[y]),y];_.sort(s);var k=new Array(_.length);for(y=0;y=0&&(A+=R*(L=0|x),b-=L),new k(this.data,b,R,A)},E.step=function(x){var A=this.shape[0],L=this.stride[0],b=this.offset,R=0,I=Math.ceil;return typeof x=="number"&&((R=0|x)<0?(b+=L*(A-1),A=I(-A/R)):A=I(A/R),L*=R),new k(this.data,A,L,b)},E.transpose=function(x){x=x===void 0?0:0|x;var A=this.shape,L=this.stride;return new k(this.data,A[x],L[x],this.offset)},E.pick=function(x){var A=[],L=[],b=this.offset;return typeof x=="number"&&x>=0?b=b+this.stride[0]*x|0:(A.push(this.shape[0]),L.push(this.stride[0])),(0,S[A.length+1])(this.data,A,L,b)},function(x,A,L,b){return new k(x,A[0],L[0],b)}},2:function(y,S,_){function k(x,A,L,b,R,I){this.data=x,this.shape=[A,L],this.stride=[b,R],this.offset=0|I}var E=k.prototype;return E.dtype=y,E.dimension=2,Object.defineProperty(E,"size",{get:function(){return this.shape[0]*this.shape[1]}}),Object.defineProperty(E,"order",{get:function(){return Math.abs(this.stride[0])>Math.abs(this.stride[1])?[1,0]:[0,1]}}),E.set=function(x,A,L){return y==="generic"?this.data.set(this.offset+this.stride[0]*x+this.stride[1]*A,L):this.data[this.offset+this.stride[0]*x+this.stride[1]*A]=L},E.get=function(x,A){return y==="generic"?this.data.get(this.offset+this.stride[0]*x+this.stride[1]*A):this.data[this.offset+this.stride[0]*x+this.stride[1]*A]},E.index=function(x,A){return this.offset+this.stride[0]*x+this.stride[1]*A},E.hi=function(x,A){return new k(this.data,typeof x!="number"||x<0?this.shape[0]:0|x,typeof A!="number"||A<0?this.shape[1]:0|A,this.stride[0],this.stride[1],this.offset)},E.lo=function(x,A){var L=this.offset,b=0,R=this.shape[0],I=this.shape[1],O=this.stride[0],z=this.stride[1];return typeof x=="number"&&x>=0&&(L+=O*(b=0|x),R-=b),typeof A=="number"&&A>=0&&(L+=z*(b=0|A),I-=b),new k(this.data,R,I,O,z,L)},E.step=function(x,A){var L=this.shape[0],b=this.shape[1],R=this.stride[0],I=this.stride[1],O=this.offset,z=0,F=Math.ceil;return typeof x=="number"&&((z=0|x)<0?(O+=R*(L-1),L=F(-L/z)):L=F(L/z),R*=z),typeof A=="number"&&((z=0|A)<0?(O+=I*(b-1),b=F(-b/z)):b=F(b/z),I*=z),new k(this.data,L,b,R,I,O)},E.transpose=function(x,A){x=x===void 0?0:0|x,A=A===void 0?1:0|A;var L=this.shape,b=this.stride;return new k(this.data,L[x],L[A],b[x],b[A],this.offset)},E.pick=function(x,A){var L=[],b=[],R=this.offset;return typeof x=="number"&&x>=0?R=R+this.stride[0]*x|0:(L.push(this.shape[0]),b.push(this.stride[0])),typeof A=="number"&&A>=0?R=R+this.stride[1]*A|0:(L.push(this.shape[1]),b.push(this.stride[1])),(0,S[L.length+1])(this.data,L,b,R)},function(x,A,L,b){return new k(x,A[0],A[1],L[0],L[1],b)}},3:function(y,S,_){function k(x,A,L,b,R,I,O,z){this.data=x,this.shape=[A,L,b],this.stride=[R,I,O],this.offset=0|z}var E=k.prototype;return E.dtype=y,E.dimension=3,Object.defineProperty(E,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]}}),Object.defineProperty(E,"order",{get:function(){var x=Math.abs(this.stride[0]),A=Math.abs(this.stride[1]),L=Math.abs(this.stride[2]);return x>A?A>L?[2,1,0]:x>L?[1,2,0]:[1,0,2]:x>L?[2,0,1]:L>A?[0,1,2]:[0,2,1]}}),E.set=function(x,A,L,b){return y==="generic"?this.data.set(this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L,b):this.data[this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L]=b},E.get=function(x,A,L){return y==="generic"?this.data.get(this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L):this.data[this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L]},E.index=function(x,A,L){return this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L},E.hi=function(x,A,L){return new k(this.data,typeof x!="number"||x<0?this.shape[0]:0|x,typeof A!="number"||A<0?this.shape[1]:0|A,typeof L!="number"||L<0?this.shape[2]:0|L,this.stride[0],this.stride[1],this.stride[2],this.offset)},E.lo=function(x,A,L){var b=this.offset,R=0,I=this.shape[0],O=this.shape[1],z=this.shape[2],F=this.stride[0],B=this.stride[1],N=this.stride[2];return typeof x=="number"&&x>=0&&(b+=F*(R=0|x),I-=R),typeof A=="number"&&A>=0&&(b+=B*(R=0|A),O-=R),typeof L=="number"&&L>=0&&(b+=N*(R=0|L),z-=R),new k(this.data,I,O,z,F,B,N,b)},E.step=function(x,A,L){var b=this.shape[0],R=this.shape[1],I=this.shape[2],O=this.stride[0],z=this.stride[1],F=this.stride[2],B=this.offset,N=0,W=Math.ceil;return typeof x=="number"&&((N=0|x)<0?(B+=O*(b-1),b=W(-b/N)):b=W(b/N),O*=N),typeof A=="number"&&((N=0|A)<0?(B+=z*(R-1),R=W(-R/N)):R=W(R/N),z*=N),typeof L=="number"&&((N=0|L)<0?(B+=F*(I-1),I=W(-I/N)):I=W(I/N),F*=N),new k(this.data,b,R,I,O,z,F,B)},E.transpose=function(x,A,L){x=x===void 0?0:0|x,A=A===void 0?1:0|A,L=L===void 0?2:0|L;var b=this.shape,R=this.stride;return new k(this.data,b[x],b[A],b[L],R[x],R[A],R[L],this.offset)},E.pick=function(x,A,L){var b=[],R=[],I=this.offset;return typeof x=="number"&&x>=0?I=I+this.stride[0]*x|0:(b.push(this.shape[0]),R.push(this.stride[0])),typeof A=="number"&&A>=0?I=I+this.stride[1]*A|0:(b.push(this.shape[1]),R.push(this.stride[1])),typeof L=="number"&&L>=0?I=I+this.stride[2]*L|0:(b.push(this.shape[2]),R.push(this.stride[2])),(0,S[b.length+1])(this.data,b,R,I)},function(x,A,L,b){return new k(x,A[0],A[1],A[2],L[0],L[1],L[2],b)}},4:function(y,S,_){function k(x,A,L,b,R,I,O,z,F,B){this.data=x,this.shape=[A,L,b,R],this.stride=[I,O,z,F],this.offset=0|B}var E=k.prototype;return E.dtype=y,E.dimension=4,Object.defineProperty(E,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]*this.shape[3]}}),Object.defineProperty(E,"order",{get:_}),E.set=function(x,A,L,b,R){return y==="generic"?this.data.set(this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b,R):this.data[this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b]=R},E.get=function(x,A,L,b){return y==="generic"?this.data.get(this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b):this.data[this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b]},E.index=function(x,A,L,b){return this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b},E.hi=function(x,A,L,b){return new k(this.data,typeof x!="number"||x<0?this.shape[0]:0|x,typeof A!="number"||A<0?this.shape[1]:0|A,typeof L!="number"||L<0?this.shape[2]:0|L,typeof b!="number"||b<0?this.shape[3]:0|b,this.stride[0],this.stride[1],this.stride[2],this.stride[3],this.offset)},E.lo=function(x,A,L,b){var R=this.offset,I=0,O=this.shape[0],z=this.shape[1],F=this.shape[2],B=this.shape[3],N=this.stride[0],W=this.stride[1],j=this.stride[2],$=this.stride[3];return typeof x=="number"&&x>=0&&(R+=N*(I=0|x),O-=I),typeof A=="number"&&A>=0&&(R+=W*(I=0|A),z-=I),typeof L=="number"&&L>=0&&(R+=j*(I=0|L),F-=I),typeof b=="number"&&b>=0&&(R+=$*(I=0|b),B-=I),new k(this.data,O,z,F,B,N,W,j,$,R)},E.step=function(x,A,L,b){var R=this.shape[0],I=this.shape[1],O=this.shape[2],z=this.shape[3],F=this.stride[0],B=this.stride[1],N=this.stride[2],W=this.stride[3],j=this.offset,$=0,U=Math.ceil;return typeof x=="number"&&(($=0|x)<0?(j+=F*(R-1),R=U(-R/$)):R=U(R/$),F*=$),typeof A=="number"&&(($=0|A)<0?(j+=B*(I-1),I=U(-I/$)):I=U(I/$),B*=$),typeof L=="number"&&(($=0|L)<0?(j+=N*(O-1),O=U(-O/$)):O=U(O/$),N*=$),typeof b=="number"&&(($=0|b)<0?(j+=W*(z-1),z=U(-z/$)):z=U(z/$),W*=$),new k(this.data,R,I,O,z,F,B,N,W,j)},E.transpose=function(x,A,L,b){x=x===void 0?0:0|x,A=A===void 0?1:0|A,L=L===void 0?2:0|L,b=b===void 0?3:0|b;var R=this.shape,I=this.stride;return new k(this.data,R[x],R[A],R[L],R[b],I[x],I[A],I[L],I[b],this.offset)},E.pick=function(x,A,L,b){var R=[],I=[],O=this.offset;return typeof x=="number"&&x>=0?O=O+this.stride[0]*x|0:(R.push(this.shape[0]),I.push(this.stride[0])),typeof A=="number"&&A>=0?O=O+this.stride[1]*A|0:(R.push(this.shape[1]),I.push(this.stride[1])),typeof L=="number"&&L>=0?O=O+this.stride[2]*L|0:(R.push(this.shape[2]),I.push(this.stride[2])),typeof b=="number"&&b>=0?O=O+this.stride[3]*b|0:(R.push(this.shape[3]),I.push(this.stride[3])),(0,S[R.length+1])(this.data,R,I,O)},function(x,A,L,b){return new k(x,A[0],A[1],A[2],A[3],L[0],L[1],L[2],L[3],b)}},5:function(y,S,_){function k(x,A,L,b,R,I,O,z,F,B,N,W){this.data=x,this.shape=[A,L,b,R,I],this.stride=[O,z,F,B,N],this.offset=0|W}var E=k.prototype;return E.dtype=y,E.dimension=5,Object.defineProperty(E,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]*this.shape[3]*this.shape[4]}}),Object.defineProperty(E,"order",{get:_}),E.set=function(x,A,L,b,R,I){return y==="generic"?this.data.set(this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*R,I):this.data[this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*R]=I},E.get=function(x,A,L,b,R){return y==="generic"?this.data.get(this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*R):this.data[this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*R]},E.index=function(x,A,L,b,R){return this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*R},E.hi=function(x,A,L,b,R){return new k(this.data,typeof x!="number"||x<0?this.shape[0]:0|x,typeof A!="number"||A<0?this.shape[1]:0|A,typeof L!="number"||L<0?this.shape[2]:0|L,typeof b!="number"||b<0?this.shape[3]:0|b,typeof R!="number"||R<0?this.shape[4]:0|R,this.stride[0],this.stride[1],this.stride[2],this.stride[3],this.stride[4],this.offset)},E.lo=function(x,A,L,b,R){var I=this.offset,O=0,z=this.shape[0],F=this.shape[1],B=this.shape[2],N=this.shape[3],W=this.shape[4],j=this.stride[0],$=this.stride[1],U=this.stride[2],G=this.stride[3],q=this.stride[4];return typeof x=="number"&&x>=0&&(I+=j*(O=0|x),z-=O),typeof A=="number"&&A>=0&&(I+=$*(O=0|A),F-=O),typeof L=="number"&&L>=0&&(I+=U*(O=0|L),B-=O),typeof b=="number"&&b>=0&&(I+=G*(O=0|b),N-=O),typeof R=="number"&&R>=0&&(I+=q*(O=0|R),W-=O),new k(this.data,z,F,B,N,W,j,$,U,G,q,I)},E.step=function(x,A,L,b,R){var I=this.shape[0],O=this.shape[1],z=this.shape[2],F=this.shape[3],B=this.shape[4],N=this.stride[0],W=this.stride[1],j=this.stride[2],$=this.stride[3],U=this.stride[4],G=this.offset,q=0,H=Math.ceil;return typeof x=="number"&&((q=0|x)<0?(G+=N*(I-1),I=H(-I/q)):I=H(I/q),N*=q),typeof A=="number"&&((q=0|A)<0?(G+=W*(O-1),O=H(-O/q)):O=H(O/q),W*=q),typeof L=="number"&&((q=0|L)<0?(G+=j*(z-1),z=H(-z/q)):z=H(z/q),j*=q),typeof b=="number"&&((q=0|b)<0?(G+=$*(F-1),F=H(-F/q)):F=H(F/q),$*=q),typeof R=="number"&&((q=0|R)<0?(G+=U*(B-1),B=H(-B/q)):B=H(B/q),U*=q),new k(this.data,I,O,z,F,B,N,W,j,$,U,G)},E.transpose=function(x,A,L,b,R){x=x===void 0?0:0|x,A=A===void 0?1:0|A,L=L===void 0?2:0|L,b=b===void 0?3:0|b,R=R===void 0?4:0|R;var I=this.shape,O=this.stride;return new k(this.data,I[x],I[A],I[L],I[b],I[R],O[x],O[A],O[L],O[b],O[R],this.offset)},E.pick=function(x,A,L,b,R){var I=[],O=[],z=this.offset;return typeof x=="number"&&x>=0?z=z+this.stride[0]*x|0:(I.push(this.shape[0]),O.push(this.stride[0])),typeof A=="number"&&A>=0?z=z+this.stride[1]*A|0:(I.push(this.shape[1]),O.push(this.stride[1])),typeof L=="number"&&L>=0?z=z+this.stride[2]*L|0:(I.push(this.shape[2]),O.push(this.stride[2])),typeof b=="number"&&b>=0?z=z+this.stride[3]*b|0:(I.push(this.shape[3]),O.push(this.stride[3])),typeof R=="number"&&R>=0?z=z+this.stride[4]*R|0:(I.push(this.shape[4]),O.push(this.stride[4])),(0,S[I.length+1])(this.data,I,O,z)},function(x,A,L,b){return new k(x,A[0],A[1],A[2],A[3],A[4],L[0],L[1],L[2],L[3],L[4],b)}}};function m(y,S){var _=S===-1?"T":String(S),k=h[_];return S===-1?k(y):S===0?k(y,w[y][0]):k(y,w[y],c)}var w={generic:[],buffer:[],array:[],float32:[],float64:[],int8:[],int16:[],int32:[],uint8_clamped:[],uint8:[],uint16:[],uint32:[],bigint64:[],biguint64:[]};f.exports=function(y,S,_,k){if(y===void 0)return(0,w.array[0])([]);typeof y=="number"&&(y=[y]),S===void 0&&(S=[y.length]);var E=S.length;if(_===void 0){_=new Array(E);for(var x=E-1,A=1;x>=0;--x)_[x]=A,A*=S[x]}if(k===void 0)for(k=0,x=0;x>>0;f.exports=function(c,h){if(isNaN(c)||isNaN(h))return NaN;if(c===h)return c;if(c===0)return h<0?-o:o;var m=u.hi(c),w=u.lo(c);return h>c==c>0?w===s?(m+=1,w=0):w+=1:w===0?(w=s,m-=1):w-=1,u.pack(w,m)}},115:function(f,l){l.vertexNormals=function(a,u,o){for(var s=u.length,c=new Array(s),h=o===void 0?1e-6:o,m=0;mh){var z=c[S],F=1/Math.sqrt(b*I);for(O=0;O<3;++O){var B=(O+1)%3,N=(O+2)%3;z[O]+=F*(R[B]*L[N]-R[N]*L[B])}}}for(m=0;mh)for(F=1/Math.sqrt(W),O=0;O<3;++O)z[O]*=F;else for(O=0;O<3;++O)z[O]=0}return c},l.faceNormals=function(a,u,o){for(var s=a.length,c=new Array(s),h=o===void 0?1e-6:o,m=0;mh?1/Math.sqrt(x):0,S=0;S<3;++S)E[S]*=x;c[m]=E}return c}},567:function(f){f.exports=function(l,a,u,o,s,c,h,m,w,y){var S=a+c+y;if(_>0){var _=Math.sqrt(S+1);l[0]=.5*(h-w)/_,l[1]=.5*(m-o)/_,l[2]=.5*(u-c)/_,l[3]=.5*_}else{var k=Math.max(a,c,y);_=Math.sqrt(2*k-S+1),a>=k?(l[0]=.5*_,l[1]=.5*(s+u)/_,l[2]=.5*(m+o)/_,l[3]=.5*(h-w)/_):c>=k?(l[0]=.5*(u+s)/_,l[1]=.5*_,l[2]=.5*(w+h)/_,l[3]=.5*(m-o)/_):(l[0]=.5*(o+m)/_,l[1]=.5*(h+w)/_,l[2]=.5*_,l[3]=.5*(u-s)/_)}return l}},7774:function(f,l,a){f.exports=function(k){var E=(k=k||{}).center||[0,0,0],x=k.rotation||[0,0,0,1],A=k.radius||1;E=[].slice.call(E,0,3),y(x=[].slice.call(x,0,4),x);var L=new S(x,E,Math.log(A));return L.setDistanceLimits(k.zoomMin,k.zoomMax),("eye"in k||"up"in k)&&L.lookAt(0,k.eye,k.center,k.up),L};var u=a(8444),o=a(3012),s=a(5950),c=a(7437),h=a(567);function m(k,E,x){return Math.sqrt(Math.pow(k,2)+Math.pow(E,2)+Math.pow(x,2))}function w(k,E,x,A){return Math.sqrt(Math.pow(k,2)+Math.pow(E,2)+Math.pow(x,2)+Math.pow(A,2))}function y(k,E){var x=E[0],A=E[1],L=E[2],b=E[3],R=w(x,A,L,b);R>1e-6?(k[0]=x/R,k[1]=A/R,k[2]=L/R,k[3]=b/R):(k[0]=k[1]=k[2]=0,k[3]=1)}function S(k,E,x){this.radius=u([x]),this.center=u(E),this.rotation=u(k),this.computedRadius=this.radius.curve(0),this.computedCenter=this.center.curve(0),this.computedRotation=this.rotation.curve(0),this.computedUp=[.1,0,0],this.computedEye=[.1,0,0],this.computedMatrix=[.1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this.recalcMatrix(0)}var _=S.prototype;_.lastT=function(){return Math.max(this.radius.lastT(),this.center.lastT(),this.rotation.lastT())},_.recalcMatrix=function(k){this.radius.curve(k),this.center.curve(k),this.rotation.curve(k);var E=this.computedRotation;y(E,E);var x=this.computedMatrix;s(x,E);var A=this.computedCenter,L=this.computedEye,b=this.computedUp,R=Math.exp(this.computedRadius[0]);L[0]=A[0]+R*x[2],L[1]=A[1]+R*x[6],L[2]=A[2]+R*x[10],b[0]=x[1],b[1]=x[5],b[2]=x[9];for(var I=0;I<3;++I){for(var O=0,z=0;z<3;++z)O+=x[I+4*z]*L[z];x[12+I]=-O}},_.getMatrix=function(k,E){this.recalcMatrix(k);var x=this.computedMatrix;if(E){for(var A=0;A<16;++A)E[A]=x[A];return E}return x},_.idle=function(k){this.center.idle(k),this.radius.idle(k),this.rotation.idle(k)},_.flush=function(k){this.center.flush(k),this.radius.flush(k),this.rotation.flush(k)},_.pan=function(k,E,x,A){E=E||0,x=x||0,A=A||0,this.recalcMatrix(k);var L=this.computedMatrix,b=L[1],R=L[5],I=L[9],O=m(b,R,I);b/=O,R/=O,I/=O;var z=L[0],F=L[4],B=L[8],N=z*b+F*R+B*I,W=m(z-=b*N,F-=R*N,B-=I*N);z/=W,F/=W,B/=W,L[2],L[6],L[10];var j=z*E+b*x,$=F*E+R*x,U=B*E+I*x;this.center.move(k,j,$,U);var G=Math.exp(this.computedRadius[0]);G=Math.max(1e-4,G+A),this.radius.set(k,Math.log(G))},_.rotate=function(k,E,x,A){this.recalcMatrix(k),E=E||0,x=x||0;var L=this.computedMatrix,b=L[0],R=L[4],I=L[8],O=L[1],z=L[5],F=L[9],B=L[2],N=L[6],W=L[10],j=E*b+x*O,$=E*R+x*z,U=E*I+x*F,G=-(N*U-W*$),q=-(W*j-B*U),H=-(B*$-N*j),ne=Math.sqrt(Math.max(0,1-Math.pow(G,2)-Math.pow(q,2)-Math.pow(H,2))),te=w(G,q,H,ne);te>1e-6?(G/=te,q/=te,H/=te,ne/=te):(G=q=H=0,ne=1);var Z=this.computedRotation,X=Z[0],Q=Z[1],re=Z[2],ie=Z[3],oe=X*ne+ie*G+Q*H-re*q,ue=Q*ne+ie*q+re*G-X*H,ce=re*ne+ie*H+X*q-Q*G,ye=ie*ne-X*G-Q*q-re*H;if(A){G=B,q=N,H=W;var de=Math.sin(A)/m(G,q,H);G*=de,q*=de,H*=de,ye=ye*(ne=Math.cos(E))-(oe=oe*ne+ye*G+ue*H-ce*q)*G-(ue=ue*ne+ye*q+ce*G-oe*H)*q-(ce=ce*ne+ye*H+oe*q-ue*G)*H}var me=w(oe,ue,ce,ye);me>1e-6?(oe/=me,ue/=me,ce/=me,ye/=me):(oe=ue=ce=0,ye=1),this.rotation.set(k,oe,ue,ce,ye)},_.lookAt=function(k,E,x,A){this.recalcMatrix(k),x=x||this.computedCenter,E=E||this.computedEye,A=A||this.computedUp;var L=this.computedMatrix;o(L,E,x,A);var b=this.computedRotation;h(b,L[0],L[1],L[2],L[4],L[5],L[6],L[8],L[9],L[10]),y(b,b),this.rotation.set(k,b[0],b[1],b[2],b[3]);for(var R=0,I=0;I<3;++I)R+=Math.pow(x[I]-E[I],2);this.radius.set(k,.5*Math.log(Math.max(R,1e-6))),this.center.set(k,x[0],x[1],x[2])},_.translate=function(k,E,x,A){this.center.move(k,E||0,x||0,A||0)},_.setMatrix=function(k,E){var x=this.computedRotation;h(x,E[0],E[1],E[2],E[4],E[5],E[6],E[8],E[9],E[10]),y(x,x),this.rotation.set(k,x[0],x[1],x[2],x[3]);var A=this.computedMatrix;c(A,E);var L=A[15];if(Math.abs(L)>1e-6){var b=A[12]/L,R=A[13]/L,I=A[14]/L;this.recalcMatrix(k);var O=Math.exp(this.computedRadius[0]);this.center.set(k,b-A[2]*O,R-A[6]*O,I-A[10]*O),this.radius.idle(k)}else this.center.idle(k),this.radius.idle(k)},_.setDistance=function(k,E){E>0&&this.radius.set(k,Math.log(E))},_.setDistanceLimits=function(k,E){k=k>0?Math.log(k):-1/0,E=E>0?Math.log(E):1/0,E=Math.max(E,k),this.radius.bounds[0][0]=k,this.radius.bounds[1][0]=E},_.getDistanceLimits=function(k){var E=this.radius.bounds;return k?(k[0]=Math.exp(E[0][0]),k[1]=Math.exp(E[1][0]),k):[Math.exp(E[0][0]),Math.exp(E[1][0])]},_.toJSON=function(){return this.recalcMatrix(this.lastT()),{center:this.computedCenter.slice(),rotation:this.computedRotation.slice(),distance:Math.log(this.computedRadius[0]),zoomMin:this.radius.bounds[0][0],zoomMax:this.radius.bounds[1][0]}},_.fromJSON=function(k){var E=this.lastT(),x=k.center;x&&this.center.set(E,x[0],x[1],x[2]);var A=k.rotation;A&&this.rotation.set(E,A[0],A[1],A[2],A[3]);var L=k.distance;L&&L>0&&this.radius.set(E,Math.log(L)),this.setDistanceLimits(k.zoomMin,k.zoomMax)}},4930:function(f,l,a){var u=a(6184);f.exports=function(o,s,c){return u(c=c!==void 0?c+"":" ",s)+o}},4405:function(f){f.exports=function(l,a){a||(a=[0,""]),l=String(l);var u=parseFloat(l,10);return a[0]=u,a[1]=l.match(/[\d.\-\+]*\s*(.*)/)[1]||"",a}},4166:function(f,l,a){f.exports=function(o,s){for(var c=0|s.length,h=o.length,m=[new Array(c),new Array(c)],w=0;w0){z=m[N][I][0],B=N;break}F=z[1^B];for(var W=0;W<2;++W)for(var j=m[W][I],$=0;$0&&(z=U,F=G,B=W)}return O||z&&_(z,B),F}function E(R,I){var O=m[I][R][0],z=[R];_(O,I);for(var F=O[1^I];;){for(;F!==R;)z.push(F),F=k(z[z.length-2],F,!1);if(m[0][R].length+m[1][R].length===0)break;var B=z[z.length-1],N=R,W=z[1],j=k(B,N,!0);if(u(s[B],s[N],s[W],s[j])<0)break;z.push(R),F=k(B,N)}return z}function x(R,I){return I[1]===I[I.length-1]}for(w=0;w0;){m[0][w].length;var b=E(w,A);x(0,b)?L.push.apply(L,b):(L.length>0&&S.push(L),L=b)}L.length>0&&S.push(L)}return S};var u=a(9398)},3959:function(f,l,a){f.exports=function(o,s){for(var c=u(o,s.length),h=new Array(s.length),m=new Array(s.length),w=[],y=0;y0;){var _=w.pop();h[_]=!1;var k=c[_];for(y=0;y0})).length,R=new Array(b),I=new Array(b);for(A=0;A0;){var ue=ie.pop(),ce=q[ue];m(ce,function(Pe,_e){return Pe-_e});var ye,de=ce.length,me=oe[ue];if(me===0){var pe=L[ue];ye=[pe]}for(A=0;A=0||(oe[xe]=1^me,ie.push(xe),me===0&&(re(pe=L[xe])||(pe.reverse(),ye.push(pe))))}me===0&&k.push(ye)}return k};var u=a(8348),o=a(4166),s=a(211),c=a(9660),h=a(9662),m=a(1215),w=a(3959);function y(S,_){for(var k=new Array(S),E=0;E0&&N[j]===W[0]))return 1;$=B[j-1]}for(var U=1;$;){var G=$.key,q=u(W,G[0],G[1]);if(G[0][0]0))return 0;U=-1,$=$.right}else if(q>0)$=$.left;else{if(!(q<0))return 0;U=1,$=$.right}}return U}}(z.slabs,z.coordinates);return k.length===0?F:function(B,N){return function(W){return B(W[0],W[1])?0:N(W)}}(m(k),F)};var u=a(417)[3],o=a(4385),s=a(9014),c=a(5070);function h(){return!0}function m(y){for(var S={},_=0;_=y?(N=1,R=y+2*k+x):R=k*(N=-k/y)+x):(N=0,E>=0?(W=0,R=x):-E>=_?(W=1,R=_+2*E+x):R=E*(W=-E/_)+x);else if(W<0)W=0,k>=0?(N=0,R=x):-k>=y?(N=1,R=y+2*k+x):R=k*(N=-k/y)+x;else{var j=1/B;R=(N*=j)*(y*N+S*(W*=j)+2*k)+W*(S*N+_*W+2*E)+x}else N<0?(O=_+E)>(I=S+k)?(z=O-I)>=(F=y-2*S+_)?(N=1,W=0,R=y+2*k+x):R=(N=z/F)*(y*N+S*(W=1-N)+2*k)+W*(S*N+_*W+2*E)+x:(N=0,O<=0?(W=1,R=_+2*E+x):E>=0?(W=0,R=x):R=E*(W=-E/_)+x):W<0?(O=y+k)>(I=S+E)?(z=O-I)>=(F=y-2*S+_)?(W=1,N=0,R=_+2*E+x):R=(N=1-(W=z/F))*(y*N+S*W+2*k)+W*(S*N+_*W+2*E)+x:(W=0,O<=0?(N=1,R=y+2*k+x):k>=0?(N=0,R=x):R=k*(N=-k/y)+x):(z=_+E-S-k)<=0?(N=0,W=1,R=_+2*E+x):z>=(F=y-2*S+_)?(N=1,W=0,R=y+2*k+x):R=(N=z/F)*(y*N+S*(W=1-N)+2*k)+W*(S*N+_*W+2*E)+x;var $=1-N-W;for(w=0;w0){var _=c[m-1];if(u(y,_)===0&&s(_)!==S){m-=1;continue}}c[m++]=y}}return c.length=m,c}},6184:function(f){var l,a="";f.exports=function(u,o){if(typeof u!="string")throw new TypeError("expected a string");if(o===1)return u;if(o===2)return u+u;var s=u.length*o;if(l!==u||l===void 0)l=u,a="";else if(a.length>=s)return a.substr(0,s);for(;s>a.length&&o>1;)1&o&&(a+=u),o>>=1,u+=u;return a=(a+=u).substr(0,s)}},8161:function(f,l,a){f.exports=a.g.performance&&a.g.performance.now?function(){return performance.now()}:Date.now||function(){return+new Date}},402:function(f){f.exports=function(l){for(var a=l.length,u=l[l.length-1],o=a,s=a-2;s>=0;--s){var c=u,h=l[s];(w=h-((u=c+h)-c))&&(l[--o]=u,u=w)}var m=0;for(s=o;s0){if(O<=0)return z;R=I+O}else{if(!(I<0)||O>=0)return z;R=-(I+O)}var F=33306690738754716e-32*R;return z>=F||z<=-F?z:S(A,L,b)},function(A,L,b,R){var I=A[0]-R[0],O=L[0]-R[0],z=b[0]-R[0],F=A[1]-R[1],B=L[1]-R[1],N=b[1]-R[1],W=A[2]-R[2],j=L[2]-R[2],$=b[2]-R[2],U=O*N,G=z*B,q=z*F,H=I*N,ne=I*B,te=O*F,Z=W*(U-G)+j*(q-H)+$*(ne-te),X=7771561172376103e-31*((Math.abs(U)+Math.abs(G))*Math.abs(W)+(Math.abs(q)+Math.abs(H))*Math.abs(j)+(Math.abs(ne)+Math.abs(te))*Math.abs($));return Z>X||-Z>X?Z:_(A,L,b,R)}];function E(A){var L=k[A.length];return L||(L=k[A.length]=y(A.length)),L.apply(void 0,A)}function x(A,L,b,R,I,O,z){return function(F,B,N,W,j){switch(arguments.length){case 0:case 1:return 0;case 2:return R(F,B);case 3:return I(F,B,N);case 4:return O(F,B,N,W);case 5:return z(F,B,N,W,j)}for(var $=new Array(arguments.length),U=0;U0&&w>0||m<0&&w<0)return!1;var y=u(c,o,s),S=u(h,o,s);return!(y>0&&S>0||y<0&&S<0)&&(m!==0||w!==0||y!==0||S!==0||function(_,k,E,x){for(var A=0;A<2;++A){var L=_[A],b=k[A],R=Math.min(L,b),I=Math.max(L,b),O=E[A],z=x[A],F=Math.min(O,z);if(Math.max(O,z)=o?(s=_,(w+=1)=o?(s=_,(w+=1)>1,_=o[2*S+1];if(_===m)return S;m<_?y=S:w=S+1}return w}return function(u,o,s,c){for(var h=u.length,m=[],w=0;w>1,_=o[2*S+1];if(_===m)return S;m<_?y=S:w=S+1}return w}return function(u,o,s,c){for(var h=u.length,m=[],w=0;w>1,_=o[2*S+1];if(_===m)return S;m<_?y=S:w=S+1}return w}return function(u,o,s,c){for(var h=u.length,m=[],w=0;w0)-(o<0)},l.abs=function(o){var s=o>>31;return(o^s)-s},l.min=function(o,s){return s^(o^s)&-(o65535)<<4,s|=c=((o>>>=s)>255)<<3,s|=c=((o>>>=c)>15)<<2,(s|=c=((o>>>=c)>3)<<1)|(o>>>=c)>>1},l.log10=function(o){return o>=1e9?9:o>=1e8?8:o>=1e7?7:o>=1e6?6:o>=1e5?5:o>=1e4?4:o>=1e3?3:o>=100?2:o>=10?1:0},l.popCount=function(o){return 16843009*((o=(858993459&(o-=o>>>1&1431655765))+(o>>>2&858993459))+(o>>>4)&252645135)>>>24},l.countTrailingZeros=a,l.nextPow2=function(o){return o+=o===0,--o,o|=o>>>1,o|=o>>>2,o|=o>>>4,1+((o|=o>>>8)|o>>>16)},l.prevPow2=function(o){return o|=o>>>1,o|=o>>>2,o|=o>>>4,o|=o>>>8,(o|=o>>>16)-(o>>>1)},l.parity=function(o){return o^=o>>>16,o^=o>>>8,o^=o>>>4,27030>>>(o&=15)&1};var u=new Array(256);(function(o){for(var s=0;s<256;++s){var c=s,h=s,m=7;for(c>>>=1;c;c>>>=1)h<<=1,h|=1&c,--m;o[s]=h<>>8&255]<<16|u[o>>>16&255]<<8|u[o>>>24&255]},l.interleave2=function(o,s){return(o=1431655765&((o=858993459&((o=252645135&((o=16711935&((o&=65535)|o<<8))|o<<4))|o<<2))|o<<1))|(s=1431655765&((s=858993459&((s=252645135&((s=16711935&((s&=65535)|s<<8))|s<<4))|s<<2))|s<<1))<<1},l.deinterleave2=function(o,s){return(o=65535&((o=16711935&((o=252645135&((o=858993459&((o=o>>>s&1431655765)|o>>>1))|o>>>2))|o>>>4))|o>>>16))<<16>>16},l.interleave3=function(o,s,c){return o=1227133513&((o=3272356035&((o=251719695&((o=4278190335&((o&=1023)|o<<16))|o<<8))|o<<4))|o<<2),(o|=(s=1227133513&((s=3272356035&((s=251719695&((s=4278190335&((s&=1023)|s<<16))|s<<8))|s<<4))|s<<2))<<1)|(c=1227133513&((c=3272356035&((c=251719695&((c=4278190335&((c&=1023)|c<<16))|c<<8))|c<<4))|c<<2))<<2},l.deinterleave3=function(o,s){return(o=1023&((o=4278190335&((o=251719695&((o=3272356035&((o=o>>>s&1227133513)|o>>>2))|o>>>4))|o>>>8))|o>>>16))<<22>>22},l.nextCombination=function(o){var s=o|o-1;return s+1|(~s&-~s)-1>>>a(o)+1}},6656:function(f,l,a){var u=a(9392),o=a(9521);function s(_,k){var E=_.length,x=_.length-k.length,A=Math.min;if(x)return x;switch(E){case 0:return 0;case 1:return _[0]-k[0];case 2:return(R=_[0]+_[1]-k[0]-k[1])||A(_[0],_[1])-A(k[0],k[1]);case 3:var L=_[0]+_[1],b=k[0]+k[1];if(R=L+_[2]-(b+k[2]))return R;var R,I=A(_[0],_[1]),O=A(k[0],k[1]);return(R=A(I,_[2])-A(O,k[2]))||A(I+_[2],L)-A(O+k[2],b);default:var z=_.slice(0);z.sort();var F=k.slice(0);F.sort();for(var B=0;B>1,b=s(_[L],k);b<=0?(b===0&&(A=L),E=L+1):b>0&&(x=L-1)}return A}function y(_,k){for(var E=new Array(_.length),x=0,A=E.length;x=_.length||s(_[N],L)!==0););}return E}function S(_,k){if(k<0)return[];for(var E=[],x=(1<>>O&1&&I.push(A[O]);k.push(I)}return h(k)},l.skeleton=S,l.boundary=function(_){for(var k=[],E=0,x=_.length;E>1:(te>>1)-1}function z(te){for(var Z=I(te);;){var X=Z,Q=2*te+1,re=2*(te+1),ie=te;if(Q0;){var X=O(te);if(!(X>=0&&Z0){var te=j[0];return R(0,U-1),U-=1,z(0),te}return-1}function N(te,Z){var X=j[te];return _[X]===Z?te:(_[X]=-1/0,F(te),B(),_[X]=Z,F((U+=1)-1))}function W(te){if(!k[te]){k[te]=!0;var Z=y[te],X=S[te];y[X]>=0&&(y[X]=Z),S[Z]>=0&&(S[Z]=X),$[Z]>=0&&N($[Z],b(Z)),$[X]>=0&&N($[X],b(X))}}var j=[],$=new Array(m);for(E=0;E>1;E>=0;--E)z(E);for(;;){var G=B();if(G<0||_[G]>h)break;W(G)}var q=[];for(E=0;E=0&&X>=0&&Z!==X){var Q=$[Z],re=$[X];Q!==re&&ne.push([Q,re])}}),o.unique(o.normalize(ne)),{positions:q,edges:ne}};var u=a(417),o=a(6656)},6638:function(f,l,a){f.exports=function(s,c){var h,m,w,y;if(c[0][0]c[1][0]))return o(c,s);h=c[1],m=c[0]}if(s[0][0]s[1][0]))return-o(s,c);w=s[1],y=s[0]}var S=u(h,m,y),_=u(h,m,w);if(S<0){if(_<=0)return S}else if(S>0){if(_>=0)return S}else if(_)return _;if(S=u(y,w,m),_=u(y,w,h),S<0){if(_<=0)return S}else if(S>0){if(_>=0)return S}else if(_)return _;return m[0]-y[0]};var u=a(417);function o(s,c){var h,m,w,y;if(c[0][0]c[1][0])){var S=Math.min(s[0][1],s[1][1]),_=Math.max(s[0][1],s[1][1]),k=Math.min(c[0][1],c[1][1]),E=Math.max(c[0][1],c[1][1]);return _E?S-E:_-E}h=c[1],m=c[0]}s[0][1]0)if(k[0]!==L[1][0])E=_,_=_.right;else{if(R=w(_.right,k))return R;_=_.left}else{if(k[0]!==L[1][0])return _;var R;if(R=w(_.right,k))return R;_=_.left}}return E}function y(_,k,E,x){this.y=_,this.index=k,this.start=E,this.closed=x}function S(_,k,E,x){this.x=_,this.segment=k,this.create=E,this.index=x}h.prototype.castUp=function(_){var k=u.le(this.coordinates,_[0]);if(k<0)return-1;this.slabs[k];var E=w(this.slabs[k],_),x=-1;if(E&&(x=E.value),this.coordinates[k]===_[0]){var A=null;if(E&&(A=E.key),k>0){var L=w(this.slabs[k-1],_);L&&(A?c(L.key,A)>0&&(A=L.key,x=L.value):(x=L.value,A=L.key))}var b=this.horizontal[k];if(b.length>0){var R=u.ge(b,_[1],m);if(R=b.length)return x;I=b[R]}}if(I.start)if(A){var O=s(A[0],A[1],[_[0],I.y]);A[0][0]>A[1][0]&&(O=-O),O>0&&(x=I.index)}else x=I.index;else I.y!==_[1]&&(x=I.index)}}}return x}},4670:function(f,l,a){var u=a(9130),o=a(9662);function s(h,m){var w=o(u(h,m),[m[m.length-1]]);return w[w.length-1]}function c(h,m,w,y){var S=-m/(y-m);S<0?S=0:S>1&&(S=1);for(var _=1-S,k=h.length,E=new Array(k),x=0;x0||S>0&&x<0){var A=c(_,x,k,S);w.push(A),y.push(A.slice())}x<0?y.push(k.slice()):x>0?w.push(k.slice()):(w.push(k.slice()),y.push(k.slice())),S=x}return{positive:w,negative:y}},f.exports.positive=function(h,m){for(var w=[],y=s(h[h.length-1],m),S=h[h.length-1],_=h[0],k=0;k0||y>0&&E<0)&&w.push(c(S,E,_,y)),E>=0&&w.push(_.slice()),y=E}return w},f.exports.negative=function(h,m){for(var w=[],y=s(h[h.length-1],m),S=h[h.length-1],_=h[0],k=0;k0||y>0&&E<0)&&w.push(c(S,E,_,y)),E<=0&&w.push(_.slice()),y=E}return w}},8974:function(f,l,a){var u;(function(){var o={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function s(y){return h(w(y),arguments)}function c(y,S){return s.apply(null,[y].concat(S||[]))}function h(y,S){var _,k,E,x,A,L,b,R,I,O=1,z=y.length,F="";for(k=0;k=0),x.type){case"b":_=parseInt(_,10).toString(2);break;case"c":_=String.fromCharCode(parseInt(_,10));break;case"d":case"i":_=parseInt(_,10);break;case"j":_=JSON.stringify(_,null,x.width?parseInt(x.width):0);break;case"e":_=x.precision?parseFloat(_).toExponential(x.precision):parseFloat(_).toExponential();break;case"f":_=x.precision?parseFloat(_).toFixed(x.precision):parseFloat(_);break;case"g":_=x.precision?String(Number(_.toPrecision(x.precision))):parseFloat(_);break;case"o":_=(parseInt(_,10)>>>0).toString(8);break;case"s":_=String(_),_=x.precision?_.substring(0,x.precision):_;break;case"t":_=String(!!_),_=x.precision?_.substring(0,x.precision):_;break;case"T":_=Object.prototype.toString.call(_).slice(8,-1).toLowerCase(),_=x.precision?_.substring(0,x.precision):_;break;case"u":_=parseInt(_,10)>>>0;break;case"v":_=_.valueOf(),_=x.precision?_.substring(0,x.precision):_;break;case"x":_=(parseInt(_,10)>>>0).toString(16);break;case"X":_=(parseInt(_,10)>>>0).toString(16).toUpperCase()}o.json.test(x.type)?F+=_:(!o.number.test(x.type)||R&&!x.sign?I="":(I=R?"+":"-",_=_.toString().replace(o.sign,"")),L=x.pad_char?x.pad_char==="0"?"0":x.pad_char.charAt(1):" ",b=x.width-(I+_).length,A=x.width&&b>0?L.repeat(b):"",F+=x.align?I+_+A:L==="0"?I+A+_:A+I+_)}return F}var m=Object.create(null);function w(y){if(m[y])return m[y];for(var S,_=y,k=[],E=0;_;){if((S=o.text.exec(_))!==null)k.push(S[0]);else if((S=o.modulo.exec(_))!==null)k.push("%");else{if((S=o.placeholder.exec(_))===null)throw new SyntaxError("[sprintf] unexpected placeholder");if(S[2]){E|=1;var x=[],A=S[2],L=[];if((L=o.key.exec(A))===null)throw new SyntaxError("[sprintf] failed to parse named argument key");for(x.push(L[1]);(A=A.substring(L[0].length))!=="";)if((L=o.key_access.exec(A))!==null)x.push(L[1]);else{if((L=o.index_access.exec(A))===null)throw new SyntaxError("[sprintf] failed to parse named argument key");x.push(L[1])}S[2]=x}else E|=2;if(E===3)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");k.push({placeholder:S[0],param_no:S[1],keys:S[2],sign:S[3],pad_char:S[4],align:S[5],width:S[6],precision:S[7],type:S[8]})}_=_.substring(S[0].length)}return m[y]=k}l.sprintf=s,l.vsprintf=c,typeof window<"u"&&(window.sprintf=s,window.vsprintf=c,(u=(function(){return{sprintf:s,vsprintf:c}}).call(l,a,l,f))===void 0||(f.exports=u))})()},4162:function(f,l,a){f.exports=function(h,m){if(h.dimension<=0)return{positions:[],cells:[]};if(h.dimension===1)return function(S,_){for(var k=o(S,_),E=k.length,x=new Array(E),A=new Array(E),L=0;LE|0},vertex:function(S,_,k,E,x,A,L,b,R,I,O,z,F){var B=(L<<0)+(b<<1)+(R<<2)+(I<<3)|0;if(B!==0&&B!==15)switch(B){case 0:case 15:O.push([S-.5,_-.5]);break;case 1:O.push([S-.25-.25*(E+k-2*F)/(k-E),_-.25-.25*(x+k-2*F)/(k-x)]);break;case 2:O.push([S-.75-.25*(-E-k+2*F)/(E-k),_-.25-.25*(A+E-2*F)/(E-A)]);break;case 3:O.push([S-.5,_-.5-.5*(x+k+A+E-4*F)/(k-x+E-A)]);break;case 4:O.push([S-.25-.25*(A+x-2*F)/(x-A),_-.75-.25*(-x-k+2*F)/(x-k)]);break;case 5:O.push([S-.5-.5*(E+k+A+x-4*F)/(k-E+x-A),_-.5]);break;case 6:O.push([S-.5-.25*(-E-k+A+x)/(E-k+x-A),_-.5-.25*(-x-k+A+E)/(x-k+E-A)]);break;case 7:O.push([S-.75-.25*(A+x-2*F)/(x-A),_-.75-.25*(A+E-2*F)/(E-A)]);break;case 8:O.push([S-.75-.25*(-A-x+2*F)/(A-x),_-.75-.25*(-A-E+2*F)/(A-E)]);break;case 9:O.push([S-.5-.25*(E+k+-A-x)/(k-E+A-x),_-.5-.25*(x+k+-A-E)/(k-x+A-E)]);break;case 10:O.push([S-.5-.5*(-E-k-A-x+4*F)/(E-k+A-x),_-.5]);break;case 11:O.push([S-.25-.25*(-A-x+2*F)/(A-x),_-.75-.25*(x+k-2*F)/(k-x)]);break;case 12:O.push([S-.5,_-.5-.5*(-x-k-A-E+4*F)/(x-k+A-E)]);break;case 13:O.push([S-.75-.25*(E+k-2*F)/(k-E),_-.25-.25*(-A-E+2*F)/(A-E)]);break;case 14:O.push([S-.25-.25*(-E-k+2*F)/(E-k),_-.25-.25*(-x-k+2*F)/(x-k)])}},cell:function(S,_,k,E,x,A,L,b,R){x?b.push([S,_]):b.push([_,S])}});return function(S,_){var k=[],E=[];return y(S,k,E,_),{positions:k,cells:E}}}},c={}},6946:function(f,l,a){f.exports=function c(h,m,w){w=w||{};var y=s[h];y||(y=s[h]={" ":{data:new Float32Array(0),shape:.2}});var S=y[m];if(!S)if(m.length<=1||!/\d/.test(m))S=y[m]=function(z){for(var F=z.cells,B=z.positions,N=new Float32Array(6*F.length),W=0,j=0,$=0;$0&&(x+=.02);var L=new Float32Array(E),b=0,R=-.5*x;for(A=0;AMath.max(L,b)?R[2]=1:L>Math.max(A,b)?R[0]=1:R[1]=1;for(var I=0,O=0,z=0;z<3;++z)I+=x[z]*x[z],O+=R[z]*x[z];for(z=0;z<3;++z)R[z]-=O/I*x[z];return h(R,R),R}function _(x,A,L,b,R,I,O,z){this.center=u(L),this.up=u(b),this.right=u(R),this.radius=u([I]),this.angle=u([O,z]),this.angle.bounds=[[-1/0,-Math.PI/2],[1/0,Math.PI/2]],this.setDistanceLimits(x,A),this.computedCenter=this.center.curve(0),this.computedUp=this.up.curve(0),this.computedRight=this.right.curve(0),this.computedRadius=this.radius.curve(0),this.computedAngle=this.angle.curve(0),this.computedToward=[0,0,0],this.computedEye=[0,0,0],this.computedMatrix=new Array(16);for(var F=0;F<16;++F)this.computedMatrix[F]=.5;this.recalcMatrix(0)}var k=_.prototype;k.setDistanceLimits=function(x,A){x=x>0?Math.log(x):-1/0,A=A>0?Math.log(A):1/0,A=Math.max(A,x),this.radius.bounds[0][0]=x,this.radius.bounds[1][0]=A},k.getDistanceLimits=function(x){var A=this.radius.bounds[0];return x?(x[0]=Math.exp(A[0][0]),x[1]=Math.exp(A[1][0]),x):[Math.exp(A[0][0]),Math.exp(A[1][0])]},k.recalcMatrix=function(x){this.center.curve(x),this.up.curve(x),this.right.curve(x),this.radius.curve(x),this.angle.curve(x);for(var A=this.computedUp,L=this.computedRight,b=0,R=0,I=0;I<3;++I)R+=A[I]*L[I],b+=A[I]*A[I];var O=Math.sqrt(b),z=0;for(I=0;I<3;++I)L[I]-=A[I]*R/b,z+=L[I]*L[I],A[I]/=O;var F=Math.sqrt(z);for(I=0;I<3;++I)L[I]/=F;var B=this.computedToward;c(B,A,L),h(B,B);var N=Math.exp(this.computedRadius[0]),W=this.computedAngle[0],j=this.computedAngle[1],$=Math.cos(W),U=Math.sin(W),G=Math.cos(j),q=Math.sin(j),H=this.computedCenter,ne=$*G,te=U*G,Z=q,X=-$*q,Q=-U*q,re=G,ie=this.computedEye,oe=this.computedMatrix;for(I=0;I<3;++I){var ue=ne*L[I]+te*B[I]+Z*A[I];oe[4*I+1]=X*L[I]+Q*B[I]+re*A[I],oe[4*I+2]=ue,oe[4*I+3]=0}var ce=oe[1],ye=oe[5],de=oe[9],me=oe[2],pe=oe[6],xe=oe[10],Pe=ye*xe-de*pe,_e=de*me-ce*xe,Me=ce*pe-ye*me,Se=w(Pe,_e,Me);for(Pe/=Se,_e/=Se,Me/=Se,oe[0]=Pe,oe[4]=_e,oe[8]=Me,I=0;I<3;++I)ie[I]=H[I]+oe[2+4*I]*N;for(I=0;I<3;++I){z=0;for(var Ce=0;Ce<3;++Ce)z+=oe[I+4*Ce]*ie[Ce];oe[12+I]=-z}oe[15]=1},k.getMatrix=function(x,A){this.recalcMatrix(x);var L=this.computedMatrix;if(A){for(var b=0;b<16;++b)A[b]=L[b];return A}return L};var E=[0,0,0];k.rotate=function(x,A,L,b){if(this.angle.move(x,A,L),b){this.recalcMatrix(x);var R=this.computedMatrix;E[0]=R[2],E[1]=R[6],E[2]=R[10];for(var I=this.computedUp,O=this.computedRight,z=this.computedToward,F=0;F<3;++F)R[4*F]=I[F],R[4*F+1]=O[F],R[4*F+2]=z[F];for(s(R,R,b,E),F=0;F<3;++F)I[F]=R[4*F],O[F]=R[4*F+1];this.up.set(x,I[0],I[1],I[2]),this.right.set(x,O[0],O[1],O[2])}},k.pan=function(x,A,L,b){A=A||0,L=L||0,b=b||0,this.recalcMatrix(x);var R=this.computedMatrix,I=(Math.exp(this.computedRadius[0]),R[1]),O=R[5],z=R[9],F=w(I,O,z);I/=F,O/=F,z/=F;var B=R[0],N=R[4],W=R[8],j=B*I+N*O+W*z,$=w(B-=I*j,N-=O*j,W-=z*j),U=(B/=$)*A+I*L,G=(N/=$)*A+O*L,q=(W/=$)*A+z*L;this.center.move(x,U,G,q);var H=Math.exp(this.computedRadius[0]);H=Math.max(1e-4,H+b),this.radius.set(x,Math.log(H))},k.translate=function(x,A,L,b){this.center.move(x,A||0,L||0,b||0)},k.setMatrix=function(x,A,L,b){var R=1;typeof L=="number"&&(R=0|L),(R<0||R>3)&&(R=1);var I=(R+2)%3;A||(this.recalcMatrix(x),A=this.computedMatrix);var O=A[R],z=A[R+4],F=A[R+8];if(b){var B=Math.abs(O),N=Math.abs(z),W=Math.abs(F),j=Math.max(B,N,W);B===j?(O=O<0?-1:1,z=F=0):W===j?(F=F<0?-1:1,O=z=0):(z=z<0?-1:1,O=F=0)}else{var $=w(O,z,F);O/=$,z/=$,F/=$}var U,G,q=A[I],H=A[I+4],ne=A[I+8],te=q*O+H*z+ne*F,Z=w(q-=O*te,H-=z*te,ne-=F*te),X=z*(ne/=Z)-F*(H/=Z),Q=F*(q/=Z)-O*ne,re=O*H-z*q,ie=w(X,Q,re);if(X/=ie,Q/=ie,re/=ie,this.center.jump(x,ke,Le,Be),this.radius.idle(x),this.up.jump(x,O,z,F),this.right.jump(x,q,H,ne),R===2){var oe=A[1],ue=A[5],ce=A[9],ye=oe*q+ue*H+ce*ne,de=oe*X+ue*Q+ce*re;U=Pe<0?-Math.PI/2:Math.PI/2,G=Math.atan2(de,ye)}else{var me=A[2],pe=A[6],xe=A[10],Pe=me*O+pe*z+xe*F,_e=me*q+pe*H+xe*ne,Me=me*X+pe*Q+xe*re;U=Math.asin(y(Pe)),G=Math.atan2(Me,_e)}this.angle.jump(x,G,U),this.recalcMatrix(x);var Se=A[2],Ce=A[6],ae=A[10],fe=this.computedMatrix;o(fe,A);var be=fe[15],ke=fe[12]/be,Le=fe[13]/be,Be=fe[14]/be,ze=Math.exp(this.computedRadius[0]);this.center.jump(x,ke-Se*ze,Le-Ce*ze,Be-ae*ze)},k.lastT=function(){return Math.max(this.center.lastT(),this.up.lastT(),this.right.lastT(),this.radius.lastT(),this.angle.lastT())},k.idle=function(x){this.center.idle(x),this.up.idle(x),this.right.idle(x),this.radius.idle(x),this.angle.idle(x)},k.flush=function(x){this.center.flush(x),this.up.flush(x),this.right.flush(x),this.radius.flush(x),this.angle.flush(x)},k.setDistance=function(x,A){A>0&&this.radius.set(x,Math.log(A))},k.lookAt=function(x,A,L,b){this.recalcMatrix(x),A=A||this.computedEye,L=L||this.computedCenter;var R=(b=b||this.computedUp)[0],I=b[1],O=b[2],z=w(R,I,O);if(!(z<1e-6)){R/=z,I/=z,O/=z;var F=A[0]-L[0],B=A[1]-L[1],N=A[2]-L[2],W=w(F,B,N);if(!(W<1e-6)){F/=W,B/=W,N/=W;var j=this.computedRight,$=j[0],U=j[1],G=j[2],q=R*$+I*U+O*G,H=w($-=q*R,U-=q*I,G-=q*O);if(!(H<.01&&(H=w($=I*N-O*B,U=O*F-R*N,G=R*B-I*F))<1e-6)){$/=H,U/=H,G/=H,this.up.set(x,R,I,O),this.right.set(x,$,U,G),this.center.set(x,L[0],L[1],L[2]),this.radius.set(x,Math.log(W));var ne=I*G-O*U,te=O*$-R*G,Z=R*U-I*$,X=w(ne,te,Z),Q=R*F+I*B+O*N,re=$*F+U*B+G*N,ie=(ne/=X)*F+(te/=X)*B+(Z/=X)*N,oe=Math.asin(y(Q)),ue=Math.atan2(ie,re),ce=this.angle._state,ye=ce[ce.length-1],de=ce[ce.length-2];ye%=2*Math.PI;var me=Math.abs(ye+2*Math.PI-ue),pe=Math.abs(ye-ue),xe=Math.abs(ye-2*Math.PI-ue);me0?U.pop():new ArrayBuffer(j)}function E(j){return new Uint8Array(k(j),0,j)}function x(j){return new Uint16Array(k(2*j),0,j)}function A(j){return new Uint32Array(k(4*j),0,j)}function L(j){return new Int8Array(k(j),0,j)}function b(j){return new Int16Array(k(2*j),0,j)}function R(j){return new Int32Array(k(4*j),0,j)}function I(j){return new Float32Array(k(4*j),0,j)}function O(j){return new Float64Array(k(8*j),0,j)}function z(j){return c?new Uint8ClampedArray(k(j),0,j):E(j)}function F(j){return h?new BigUint64Array(k(8*j),0,j):null}function B(j){return m?new BigInt64Array(k(8*j),0,j):null}function N(j){return new DataView(k(j),0,j)}function W(j){j=u.nextPow2(j);var $=u.log2(j),U=S[$];return U.length>0?U.pop():new s(j)}l.free=function(j){if(s.isBuffer(j))S[u.log2(j.length)].push(j);else{if(Object.prototype.toString.call(j)!=="[object ArrayBuffer]"&&(j=j.buffer),!j)return;var $=j.length||j.byteLength,U=0|u.log2($);y[U].push(j)}},l.freeUint8=l.freeUint16=l.freeUint32=l.freeBigUint64=l.freeInt8=l.freeInt16=l.freeInt32=l.freeBigInt64=l.freeFloat32=l.freeFloat=l.freeFloat64=l.freeDouble=l.freeUint8Clamped=l.freeDataView=function(j){_(j.buffer)},l.freeArrayBuffer=_,l.freeBuffer=function(j){S[u.log2(j.length)].push(j)},l.malloc=function(j,$){if($===void 0||$==="arraybuffer")return k(j);switch($){case"uint8":return E(j);case"uint16":return x(j);case"uint32":return A(j);case"int8":return L(j);case"int16":return b(j);case"int32":return R(j);case"float":case"float32":return I(j);case"double":case"float64":return O(j);case"uint8_clamped":return z(j);case"bigint64":return B(j);case"biguint64":return F(j);case"buffer":return W(j);case"data":case"dataview":return N(j);default:return null}return null},l.mallocArrayBuffer=k,l.mallocUint8=E,l.mallocUint16=x,l.mallocUint32=A,l.mallocInt8=L,l.mallocInt16=b,l.mallocInt32=R,l.mallocFloat32=l.mallocFloat=I,l.mallocFloat64=l.mallocDouble=O,l.mallocUint8Clamped=z,l.mallocBigUint64=F,l.mallocBigInt64=B,l.mallocDataView=N,l.mallocBuffer=W,l.clearCache=function(){for(var j=0;j<32;++j)w.UINT8[j].length=0,w.UINT16[j].length=0,w.UINT32[j].length=0,w.INT8[j].length=0,w.INT16[j].length=0,w.INT32[j].length=0,w.FLOAT[j].length=0,w.DOUBLE[j].length=0,w.BIGUINT64[j].length=0,w.BIGINT64[j].length=0,w.UINT8C[j].length=0,y[j].length=0,S[j].length=0}},1731:function(f){function l(u){this.roots=new Array(u),this.ranks=new Array(u);for(var o=0;o0&&(R=b.size),b.lineSpacing&&b.lineSpacing>0&&(I=b.lineSpacing),b.styletags&&b.styletags.breaklines&&(O.breaklines=!!b.styletags.breaklines),b.styletags&&b.styletags.bolds&&(O.bolds=!!b.styletags.bolds),b.styletags&&b.styletags.italics&&(O.italics=!!b.styletags.italics),b.styletags&&b.styletags.subscripts&&(O.subscripts=!!b.styletags.subscripts),b.styletags&&b.styletags.superscripts&&(O.superscripts=!!b.styletags.superscripts)),L.font=[b.fontStyle,b.fontVariant,b.fontWeight,R+"px",b.font].filter(function(z){return z}).join(" "),L.textAlign="start",L.textBaseline="alphabetic",L.direction="ltr",E(function(z,F,B,N,W,j){B=B.replace(/\n/g,""),B=j.breaklines===!0?B.replace(/\/g,` +`):B.replace(/\/g," ");var $="",U=[];for(ne=0;ne-1?parseInt(fe[1+Le]):0,je=Be>-1?parseInt(be[1+Be]):0;ze!==je&&(ke=ke.replace(xe(),"?px "),X*=Math.pow(.75,je-ze),ke=ke.replace("?px ",xe())),Z+=.25*ie*(je-ze)}if(j.superscripts===!0){var ge=fe.indexOf("+"),we=be.indexOf("+"),Ee=ge>-1?parseInt(fe[1+ge]):0,Ve=we>-1?parseInt(be[1+we]):0;Ee!==Ve&&(ke=ke.replace(xe(),"?px "),X*=Math.pow(.75,Ve-Ee),ke=ke.replace("?px ",xe())),Z-=.25*ie*(Ve-Ee)}if(j.bolds===!0){var $e=fe.indexOf(w)>-1,Ye=be.indexOf(w)>-1;!$e&&Ye&&(ke=st?ke.replace("italic ","italic bold "):"bold "+ke),$e&&!Ye&&(ke=ke.replace("bold ",""))}if(j.italics===!0){var st=fe.indexOf(y)>-1,ot=be.indexOf(y)>-1;!st&&ot&&(ke="italic "+ke),st&&!ot&&(ke=ke.replace("italic ",""))}F.font=ke}for(H=0;H",I="",O=R.length,z=I.length,F=A[0]==="+"||A[0]==="-",B=0,N=-z;B>-1&&(B=L.indexOf(R,B))!==-1&&(N=L.indexOf(I,B+O))!==-1&&!(N<=B);){for(var W=B;W=N)b[W]=null,L=L.substr(0,W)+" "+L.substr(W+1);else if(b[W]!==null){var j=b[W].indexOf(A[0]);j===-1?b[W]+=A:F&&(b[W]=b[W].substr(0,j+1)+(1+parseInt(b[W][j+1]))+b[W].substr(j+2))}var $=B+O,U=L.substr($,N-$).indexOf(R);B=U!==-1?U:N+z}return b}function _(x,A){var L=u(x,128);return A?s(L.cells,L.positions,.25):{edges:L.cells,positions:L.positions}}function k(x,A,L,b){var R=_(x,b),I=function(H,ne,te){for(var Z=ne.textAlign||"start",X=ne.textBaseline||"alphabetic",Q=[1<<30,1<<30],re=[0,0],ie=H.length,oe=0;oe"u"||!ses.ok||ses.ok()){typeof ses<"u"&&(ses.weakMapPermitHostObjects=A);var l=!1;if(typeof WeakMap=="function"){var a=WeakMap;if(!(typeof navigator<"u"&&/Firefox/.test(navigator.userAgent))){var u=new a,o=Object.freeze({});if(u.set(o,1),u.get(o)===1)return void(f.exports=WeakMap);l=!0}}var s=Object.getOwnPropertyNames,c=Object.defineProperty,h=Object.isExtensible,m="weakmap:",w="weakmap:ident:"+Math.random()+"___";if(typeof crypto<"u"&&typeof crypto.getRandomValues=="function"&&typeof ArrayBuffer=="function"&&typeof Uint8Array=="function"){var y=new ArrayBuffer(25),S=new Uint8Array(y);crypto.getRandomValues(S),w="weakmap:rand:"+Array.prototype.map.call(S,function(O){return(O%36).toString(36)}).join("")+"___"}if(c(Object,"getOwnPropertyNames",{value:function(O){return s(O).filter(L)}}),"getPropertyNames"in Object){var _=Object.getPropertyNames;c(Object,"getPropertyNames",{value:function(O){return _(O).filter(L)}})}(function(){var O=Object.freeze;c(Object,"freeze",{value:function(B){return b(B),O(B)}});var z=Object.seal;c(Object,"seal",{value:function(B){return b(B),z(B)}});var F=Object.preventExtensions;c(Object,"preventExtensions",{value:function(B){return b(B),F(B)}})})();var k=!1,E=0,x=function(){this instanceof x||I();var O=[],z=[],F=E++;return Object.create(x.prototype,{get___:{value:R(function(B,N){var W,j=b(B);return j?F in j?j[F]:N:(W=O.indexOf(B))>=0?z[W]:N})},has___:{value:R(function(B){var N=b(B);return N?F in N:O.indexOf(B)>=0})},set___:{value:R(function(B,N){var W,j=b(B);return j?j[F]=N:(W=O.indexOf(B))>=0?z[W]=N:(W=O.length,z[W]=N,O[W]=B),this})},delete___:{value:R(function(B){var N,W,j=b(B);return j?F in j&&delete j[F]:!((N=O.indexOf(B))<0||(W=O.length-1,O[N]=void 0,z[N]=z[W],O[N]=O[W],O.length=W,z.length=W,0))})}})};x.prototype=Object.create(Object.prototype,{get:{value:function(O,z){return this.get___(O,z)},writable:!0,configurable:!0},has:{value:function(O){return this.has___(O)},writable:!0,configurable:!0},set:{value:function(O,z){return this.set___(O,z)},writable:!0,configurable:!0},delete:{value:function(O){return this.delete___(O)},writable:!0,configurable:!0}}),typeof a=="function"?function(){function O(){this instanceof x||I();var z,F=new a,B=void 0,N=!1;return z=l?function(W,j){return F.set(W,j),F.has(W)||(B||(B=new x),B.set(W,j)),this}:function(W,j){if(N)try{F.set(W,j)}catch{B||(B=new x),B.set___(W,j)}else F.set(W,j);return this},Object.create(x.prototype,{get___:{value:R(function(W,j){return B?F.has(W)?F.get(W):B.get___(W,j):F.get(W,j)})},has___:{value:R(function(W){return F.has(W)||!!B&&B.has___(W)})},set___:{value:R(z)},delete___:{value:R(function(W){var j=!!F.delete(W);return B&&B.delete___(W)||j})},permitHostObjects___:{value:R(function(W){if(W!==A)throw new Error("bogus call to permitHostObjects___");N=!0})}})}l&&typeof Proxy<"u"&&(Proxy=void 0),O.prototype=x.prototype,f.exports=O,Object.defineProperty(WeakMap.prototype,"constructor",{value:WeakMap,enumerable:!1,configurable:!0,writable:!0})}():(typeof Proxy<"u"&&(Proxy=void 0),f.exports=x)}function A(O){O.permitHostObjects___&&O.permitHostObjects___(A)}function L(O){return!(O.substr(0,m.length)==m&&O.substr(O.length-3)==="___")}function b(O){if(O!==Object(O))throw new TypeError("Not an object: "+O);var z=O[w];if(z&&z.key===O)return z;if(h(O)){z={key:O};try{return c(O,w,{value:z,writable:!1,enumerable:!1,configurable:!1}),z}catch{return}}}function R(O){return O.prototype=null,Object.freeze(O)}function I(){k||typeof console>"u"||(k=!0,console.warn("WeakMap should be invoked as new WeakMap(), not WeakMap(). This will be an error in the future."))}})()},9222:function(f,l,a){var u=a(7178);f.exports=function(){var o={};return function(s){if((typeof s!="object"||s===null)&&typeof s!="function")throw new Error("Weakmap-shim: Key must be object");var c=s.valueOf(o);return c&&c.identity===o?c:u(s,o)}}},7178:function(f){f.exports=function(l,a){var u={identity:a},o=l.valueOf;return Object.defineProperty(l,"valueOf",{value:function(s){return s!==a?o.apply(this,arguments):u},writable:!0}),u}},4037:function(f,l,a){var u=a(9222);f.exports=function(){var o=u();return{get:function(s,c){var h=o(s);return h.hasOwnProperty("value")?h.value:c},set:function(s,c){return o(s).value=c,this},has:function(s){return"value"in o(s)},delete:function(s){return delete o(s).value}}}},6183:function(f){f.exports=function(l){var a={};return function(u,o,s){var c=u.dtype,h=u.order,m=[c,h.join()].join(),w=a[m];return w||(a[m]=w=l([c,h])),w(u.shape.slice(0),u.data,u.stride,0|u.offset,o,s)}}((function(){return function(l,a,u,o,s,c){var h=l[0],m=u[0],w=[0],y=m;o|=0;var S=0,_=m;for(S=0;S=0!=E>=0&&s.push(w[0]+.5+.5*(k+E)/(k-E)),o+=_,++w[0]}}}).bind(void 0,{funcName:"zeroCrossings"}))},9584:function(f,l,a){f.exports=function(o,s){var c=[];return s=+s||0,u(o.hi(o.shape[0]-1),c,s),c};var u=a(6183)},6601:function(){}},M={};function v(f){var l=M[f];if(l!==void 0)return l.exports;var a=M[f]={id:f,loaded:!1,exports:{}};return i[f].call(a.exports,a,a.exports,v),a.loaded=!0,a.exports}return v.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),v.nmd=function(f){return f.paths=[],f.children||(f.children=[]),f},v(7386)}()},T.exports=d()},12856:function(T,p,t){function d(ae,fe){if(!(ae instanceof fe))throw new TypeError("Cannot call a class as a function")}function g(ae,fe){for(var be=0;bes)throw new RangeError('The value "'+ae+'" is invalid for option "size"');var fe=new Uint8Array(ae);return Object.setPrototypeOf(fe,h.prototype),fe}function h(ae,fe,be){if(typeof ae=="number"){if(typeof fe=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return y(ae)}return m(ae,fe,be)}function m(ae,fe,be){if(typeof ae=="string")return function(Be,ze){if(typeof ze=="string"&&ze!==""||(ze="utf8"),!h.isEncoding(ze))throw new TypeError("Unknown encoding: "+ze);var je=0|E(Be,ze),ge=c(je),we=ge.write(Be,ze);return we!==je&&(ge=ge.slice(0,we)),ge}(ae,fe);if(ArrayBuffer.isView(ae))return function(Be){if(Pe(Be,Uint8Array)){var ze=new Uint8Array(Be);return _(ze.buffer,ze.byteOffset,ze.byteLength)}return S(Be)}(ae);if(ae==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+l(ae));if(Pe(ae,ArrayBuffer)||ae&&Pe(ae.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Pe(ae,SharedArrayBuffer)||ae&&Pe(ae.buffer,SharedArrayBuffer)))return _(ae,fe,be);if(typeof ae=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var ke=ae.valueOf&&ae.valueOf();if(ke!=null&&ke!==ae)return h.from(ke,fe,be);var Le=function(Be){if(h.isBuffer(Be)){var ze=0|k(Be.length),je=c(ze);return je.length===0||Be.copy(je,0,0,ze),je}return Be.length!==void 0?typeof Be.length!="number"||_e(Be.length)?c(0):S(Be):Be.type==="Buffer"&&Array.isArray(Be.data)?S(Be.data):void 0}(ae);if(Le)return Le;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof ae[Symbol.toPrimitive]=="function")return h.from(ae[Symbol.toPrimitive]("string"),fe,be);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+l(ae))}function w(ae){if(typeof ae!="number")throw new TypeError('"size" argument must be of type number');if(ae<0)throw new RangeError('The value "'+ae+'" is invalid for option "size"')}function y(ae){return w(ae),c(ae<0?0:0|k(ae))}function S(ae){for(var fe=ae.length<0?0:0|k(ae.length),be=c(fe),ke=0;ke=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|ae}function E(ae,fe){if(h.isBuffer(ae))return ae.length;if(ArrayBuffer.isView(ae)||Pe(ae,ArrayBuffer))return ae.byteLength;if(typeof ae!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+l(ae));var be=ae.length,ke=arguments.length>2&&arguments[2]===!0;if(!ke&&be===0)return 0;for(var Le=!1;;)switch(fe){case"ascii":case"latin1":case"binary":return be;case"utf8":case"utf-8":return me(ae).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*be;case"hex":return be>>>1;case"base64":return pe(ae).length;default:if(Le)return ke?-1:me(ae).length;fe=(""+fe).toLowerCase(),Le=!0}}function x(ae,fe,be){var ke=!1;if((fe===void 0||fe<0)&&(fe=0),fe>this.length||((be===void 0||be>this.length)&&(be=this.length),be<=0)||(be>>>=0)<=(fe>>>=0))return"";for(ae||(ae="utf8");;)switch(ae){case"hex":return U(this,fe,be);case"utf8":case"utf-8":return N(this,fe,be);case"ascii":return j(this,fe,be);case"latin1":case"binary":return $(this,fe,be);case"base64":return B(this,fe,be);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return G(this,fe,be);default:if(ke)throw new TypeError("Unknown encoding: "+ae);ae=(ae+"").toLowerCase(),ke=!0}}function A(ae,fe,be){var ke=ae[fe];ae[fe]=ae[be],ae[be]=ke}function L(ae,fe,be,ke,Le){if(ae.length===0)return-1;if(typeof be=="string"?(ke=be,be=0):be>2147483647?be=2147483647:be<-2147483648&&(be=-2147483648),_e(be=+be)&&(be=Le?0:ae.length-1),be<0&&(be=ae.length+be),be>=ae.length){if(Le)return-1;be=ae.length-1}else if(be<0){if(!Le)return-1;be=0}if(typeof fe=="string"&&(fe=h.from(fe,ke)),h.isBuffer(fe))return fe.length===0?-1:b(ae,fe,be,ke,Le);if(typeof fe=="number")return fe&=255,typeof Uint8Array.prototype.indexOf=="function"?Le?Uint8Array.prototype.indexOf.call(ae,fe,be):Uint8Array.prototype.lastIndexOf.call(ae,fe,be):b(ae,[fe],be,ke,Le);throw new TypeError("val must be string, number or Buffer")}function b(ae,fe,be,ke,Le){var Be,ze=1,je=ae.length,ge=fe.length;if(ke!==void 0&&((ke=String(ke).toLowerCase())==="ucs2"||ke==="ucs-2"||ke==="utf16le"||ke==="utf-16le")){if(ae.length<2||fe.length<2)return-1;ze=2,je/=2,ge/=2,be/=2}function we(Ye,st){return ze===1?Ye[st]:Ye.readUInt16BE(st*ze)}if(Le){var Ee=-1;for(Be=be;Beje&&(be=je-ge),Be=be;Be>=0;Be--){for(var Ve=!0,$e=0;$eLe&&(ke=Le):ke=Le;var Be,ze=fe.length;for(ke>ze/2&&(ke=ze/2),Be=0;Be>8,ge=ze%256,we.push(ge),we.push(je);return we}(fe,ae.length-be),ae,be,ke)}function B(ae,fe,be){return fe===0&&be===ae.length?a.fromByteArray(ae):a.fromByteArray(ae.slice(fe,be))}function N(ae,fe,be){be=Math.min(ae.length,be);for(var ke=[],Le=fe;Le239?4:Be>223?3:Be>191?2:1;if(Le+je<=be){var ge=void 0,we=void 0,Ee=void 0,Ve=void 0;switch(je){case 1:Be<128&&(ze=Be);break;case 2:(192&(ge=ae[Le+1]))==128&&(Ve=(31&Be)<<6|63&ge)>127&&(ze=Ve);break;case 3:ge=ae[Le+1],we=ae[Le+2],(192&ge)==128&&(192&we)==128&&(Ve=(15&Be)<<12|(63&ge)<<6|63&we)>2047&&(Ve<55296||Ve>57343)&&(ze=Ve);break;case 4:ge=ae[Le+1],we=ae[Le+2],Ee=ae[Le+3],(192&ge)==128&&(192&we)==128&&(192&Ee)==128&&(Ve=(15&Be)<<18|(63&ge)<<12|(63&we)<<6|63&Ee)>65535&&Ve<1114112&&(ze=Ve)}}ze===null?(ze=65533,je=1):ze>65535&&(ze-=65536,ke.push(ze>>>10&1023|55296),ze=56320|1023&ze),ke.push(ze),Le+=je}return function($e){var Ye=$e.length;if(Ye<=W)return String.fromCharCode.apply(String,$e);for(var st="",ot=0;ot"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(h.prototype,"parent",{enumerable:!0,get:function(){if(h.isBuffer(this))return this.buffer}}),Object.defineProperty(h.prototype,"offset",{enumerable:!0,get:function(){if(h.isBuffer(this))return this.byteOffset}}),h.poolSize=8192,h.from=function(ae,fe,be){return m(ae,fe,be)},Object.setPrototypeOf(h.prototype,Uint8Array.prototype),Object.setPrototypeOf(h,Uint8Array),h.alloc=function(ae,fe,be){return function(ke,Le,Be){return w(ke),ke<=0?c(ke):Le!==void 0?typeof Be=="string"?c(ke).fill(Le,Be):c(ke).fill(Le):c(ke)}(ae,fe,be)},h.allocUnsafe=function(ae){return y(ae)},h.allocUnsafeSlow=function(ae){return y(ae)},h.isBuffer=function(ae){return ae!=null&&ae._isBuffer===!0&&ae!==h.prototype},h.compare=function(ae,fe){if(Pe(ae,Uint8Array)&&(ae=h.from(ae,ae.offset,ae.byteLength)),Pe(fe,Uint8Array)&&(fe=h.from(fe,fe.offset,fe.byteLength)),!h.isBuffer(ae)||!h.isBuffer(fe))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ae===fe)return 0;for(var be=ae.length,ke=fe.length,Le=0,Be=Math.min(be,ke);Leke.length?(h.isBuffer(Be)||(Be=h.from(Be)),Be.copy(ke,Le)):Uint8Array.prototype.set.call(ke,Be,Le);else{if(!h.isBuffer(Be))throw new TypeError('"list" argument must be an Array of Buffers');Be.copy(ke,Le)}Le+=Be.length}return ke},h.byteLength=E,h.prototype._isBuffer=!0,h.prototype.swap16=function(){var ae=this.length;if(ae%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var fe=0;fefe&&(ae+=" ... "),""},o&&(h.prototype[o]=h.prototype.inspect),h.prototype.compare=function(ae,fe,be,ke,Le){if(Pe(ae,Uint8Array)&&(ae=h.from(ae,ae.offset,ae.byteLength)),!h.isBuffer(ae))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+l(ae));if(fe===void 0&&(fe=0),be===void 0&&(be=ae?ae.length:0),ke===void 0&&(ke=0),Le===void 0&&(Le=this.length),fe<0||be>ae.length||ke<0||Le>this.length)throw new RangeError("out of range index");if(ke>=Le&&fe>=be)return 0;if(ke>=Le)return-1;if(fe>=be)return 1;if(this===ae)return 0;for(var Be=(Le>>>=0)-(ke>>>=0),ze=(be>>>=0)-(fe>>>=0),je=Math.min(Be,ze),ge=this.slice(ke,Le),we=ae.slice(fe,be),Ee=0;Ee>>=0,isFinite(be)?(be>>>=0,ke===void 0&&(ke="utf8")):(ke=be,be=void 0)}var Le=this.length-fe;if((be===void 0||be>Le)&&(be=Le),ae.length>0&&(be<0||fe<0)||fe>this.length)throw new RangeError("Attempt to write outside buffer bounds");ke||(ke="utf8");for(var Be=!1;;)switch(ke){case"hex":return R(this,ae,fe,be);case"utf8":case"utf-8":return I(this,ae,fe,be);case"ascii":case"latin1":case"binary":return O(this,ae,fe,be);case"base64":return z(this,ae,fe,be);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F(this,ae,fe,be);default:if(Be)throw new TypeError("Unknown encoding: "+ke);ke=(""+ke).toLowerCase(),Be=!0}},h.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var W=4096;function j(ae,fe,be){var ke="";be=Math.min(ae.length,be);for(var Le=fe;Leke)&&(be=ke);for(var Le="",Be=fe;Bebe)throw new RangeError("Trying to access beyond buffer length")}function H(ae,fe,be,ke,Le,Be){if(!h.isBuffer(ae))throw new TypeError('"buffer" argument must be a Buffer instance');if(fe>Le||feae.length)throw new RangeError("Index out of range")}function ne(ae,fe,be,ke,Le){ue(fe,ke,Le,ae,be,7);var Be=Number(fe&BigInt(4294967295));ae[be++]=Be,Be>>=8,ae[be++]=Be,Be>>=8,ae[be++]=Be,Be>>=8,ae[be++]=Be;var ze=Number(fe>>BigInt(32)&BigInt(4294967295));return ae[be++]=ze,ze>>=8,ae[be++]=ze,ze>>=8,ae[be++]=ze,ze>>=8,ae[be++]=ze,be}function te(ae,fe,be,ke,Le){ue(fe,ke,Le,ae,be,7);var Be=Number(fe&BigInt(4294967295));ae[be+7]=Be,Be>>=8,ae[be+6]=Be,Be>>=8,ae[be+5]=Be,Be>>=8,ae[be+4]=Be;var ze=Number(fe>>BigInt(32)&BigInt(4294967295));return ae[be+3]=ze,ze>>=8,ae[be+2]=ze,ze>>=8,ae[be+1]=ze,ze>>=8,ae[be]=ze,be+8}function Z(ae,fe,be,ke,Le,Be){if(be+ke>ae.length)throw new RangeError("Index out of range");if(be<0)throw new RangeError("Index out of range")}function X(ae,fe,be,ke,Le){return fe=+fe,be>>>=0,Le||Z(ae,0,be,4),u.write(ae,fe,be,ke,23,4),be+4}function Q(ae,fe,be,ke,Le){return fe=+fe,be>>>=0,Le||Z(ae,0,be,8),u.write(ae,fe,be,ke,52,8),be+8}h.prototype.slice=function(ae,fe){var be=this.length;(ae=~~ae)<0?(ae+=be)<0&&(ae=0):ae>be&&(ae=be),(fe=fe===void 0?be:~~fe)<0?(fe+=be)<0&&(fe=0):fe>be&&(fe=be),fe>>=0,fe>>>=0,be||q(ae,fe,this.length);for(var ke=this[ae],Le=1,Be=0;++Be>>=0,fe>>>=0,be||q(ae,fe,this.length);for(var ke=this[ae+--fe],Le=1;fe>0&&(Le*=256);)ke+=this[ae+--fe]*Le;return ke},h.prototype.readUint8=h.prototype.readUInt8=function(ae,fe){return ae>>>=0,fe||q(ae,1,this.length),this[ae]},h.prototype.readUint16LE=h.prototype.readUInt16LE=function(ae,fe){return ae>>>=0,fe||q(ae,2,this.length),this[ae]|this[ae+1]<<8},h.prototype.readUint16BE=h.prototype.readUInt16BE=function(ae,fe){return ae>>>=0,fe||q(ae,2,this.length),this[ae]<<8|this[ae+1]},h.prototype.readUint32LE=h.prototype.readUInt32LE=function(ae,fe){return ae>>>=0,fe||q(ae,4,this.length),(this[ae]|this[ae+1]<<8|this[ae+2]<<16)+16777216*this[ae+3]},h.prototype.readUint32BE=h.prototype.readUInt32BE=function(ae,fe){return ae>>>=0,fe||q(ae,4,this.length),16777216*this[ae]+(this[ae+1]<<16|this[ae+2]<<8|this[ae+3])},h.prototype.readBigUInt64LE=Se(function(ae){ce(ae>>>=0,"offset");var fe=this[ae],be=this[ae+7];fe!==void 0&&be!==void 0||ye(ae,this.length-8);var ke=fe+this[++ae]*Math.pow(2,8)+this[++ae]*Math.pow(2,16)+this[++ae]*Math.pow(2,24),Le=this[++ae]+this[++ae]*Math.pow(2,8)+this[++ae]*Math.pow(2,16)+be*Math.pow(2,24);return BigInt(ke)+(BigInt(Le)<>>=0,"offset");var fe=this[ae],be=this[ae+7];fe!==void 0&&be!==void 0||ye(ae,this.length-8);var ke=fe*Math.pow(2,24)+this[++ae]*Math.pow(2,16)+this[++ae]*Math.pow(2,8)+this[++ae],Le=this[++ae]*Math.pow(2,24)+this[++ae]*Math.pow(2,16)+this[++ae]*Math.pow(2,8)+be;return(BigInt(ke)<>>=0,fe>>>=0,be||q(ae,fe,this.length);for(var ke=this[ae],Le=1,Be=0;++Be=(Le*=128)&&(ke-=Math.pow(2,8*fe)),ke},h.prototype.readIntBE=function(ae,fe,be){ae>>>=0,fe>>>=0,be||q(ae,fe,this.length);for(var ke=fe,Le=1,Be=this[ae+--ke];ke>0&&(Le*=256);)Be+=this[ae+--ke]*Le;return Be>=(Le*=128)&&(Be-=Math.pow(2,8*fe)),Be},h.prototype.readInt8=function(ae,fe){return ae>>>=0,fe||q(ae,1,this.length),128&this[ae]?-1*(255-this[ae]+1):this[ae]},h.prototype.readInt16LE=function(ae,fe){ae>>>=0,fe||q(ae,2,this.length);var be=this[ae]|this[ae+1]<<8;return 32768&be?4294901760|be:be},h.prototype.readInt16BE=function(ae,fe){ae>>>=0,fe||q(ae,2,this.length);var be=this[ae+1]|this[ae]<<8;return 32768&be?4294901760|be:be},h.prototype.readInt32LE=function(ae,fe){return ae>>>=0,fe||q(ae,4,this.length),this[ae]|this[ae+1]<<8|this[ae+2]<<16|this[ae+3]<<24},h.prototype.readInt32BE=function(ae,fe){return ae>>>=0,fe||q(ae,4,this.length),this[ae]<<24|this[ae+1]<<16|this[ae+2]<<8|this[ae+3]},h.prototype.readBigInt64LE=Se(function(ae){ce(ae>>>=0,"offset");var fe=this[ae],be=this[ae+7];fe!==void 0&&be!==void 0||ye(ae,this.length-8);var ke=this[ae+4]+this[ae+5]*Math.pow(2,8)+this[ae+6]*Math.pow(2,16)+(be<<24);return(BigInt(ke)<>>=0,"offset");var fe=this[ae],be=this[ae+7];fe!==void 0&&be!==void 0||ye(ae,this.length-8);var ke=(fe<<24)+this[++ae]*Math.pow(2,16)+this[++ae]*Math.pow(2,8)+this[++ae];return(BigInt(ke)<>>=0,fe||q(ae,4,this.length),u.read(this,ae,!0,23,4)},h.prototype.readFloatBE=function(ae,fe){return ae>>>=0,fe||q(ae,4,this.length),u.read(this,ae,!1,23,4)},h.prototype.readDoubleLE=function(ae,fe){return ae>>>=0,fe||q(ae,8,this.length),u.read(this,ae,!0,52,8)},h.prototype.readDoubleBE=function(ae,fe){return ae>>>=0,fe||q(ae,8,this.length),u.read(this,ae,!1,52,8)},h.prototype.writeUintLE=h.prototype.writeUIntLE=function(ae,fe,be,ke){ae=+ae,fe>>>=0,be>>>=0,ke||H(this,ae,fe,be,Math.pow(2,8*be)-1,0);var Le=1,Be=0;for(this[fe]=255&ae;++Be>>=0,be>>>=0,ke||H(this,ae,fe,be,Math.pow(2,8*be)-1,0);var Le=be-1,Be=1;for(this[fe+Le]=255&ae;--Le>=0&&(Be*=256);)this[fe+Le]=ae/Be&255;return fe+be},h.prototype.writeUint8=h.prototype.writeUInt8=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,1,255,0),this[fe]=255&ae,fe+1},h.prototype.writeUint16LE=h.prototype.writeUInt16LE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,2,65535,0),this[fe]=255&ae,this[fe+1]=ae>>>8,fe+2},h.prototype.writeUint16BE=h.prototype.writeUInt16BE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,2,65535,0),this[fe]=ae>>>8,this[fe+1]=255&ae,fe+2},h.prototype.writeUint32LE=h.prototype.writeUInt32LE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,4,4294967295,0),this[fe+3]=ae>>>24,this[fe+2]=ae>>>16,this[fe+1]=ae>>>8,this[fe]=255&ae,fe+4},h.prototype.writeUint32BE=h.prototype.writeUInt32BE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,4,4294967295,0),this[fe]=ae>>>24,this[fe+1]=ae>>>16,this[fe+2]=ae>>>8,this[fe+3]=255&ae,fe+4},h.prototype.writeBigUInt64LE=Se(function(ae){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ne(this,ae,fe,BigInt(0),BigInt("0xffffffffffffffff"))}),h.prototype.writeBigUInt64BE=Se(function(ae){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return te(this,ae,fe,BigInt(0),BigInt("0xffffffffffffffff"))}),h.prototype.writeIntLE=function(ae,fe,be,ke){if(ae=+ae,fe>>>=0,!ke){var Le=Math.pow(2,8*be-1);H(this,ae,fe,be,Le-1,-Le)}var Be=0,ze=1,je=0;for(this[fe]=255&ae;++Be>0)-je&255;return fe+be},h.prototype.writeIntBE=function(ae,fe,be,ke){if(ae=+ae,fe>>>=0,!ke){var Le=Math.pow(2,8*be-1);H(this,ae,fe,be,Le-1,-Le)}var Be=be-1,ze=1,je=0;for(this[fe+Be]=255&ae;--Be>=0&&(ze*=256);)ae<0&&je===0&&this[fe+Be+1]!==0&&(je=1),this[fe+Be]=(ae/ze>>0)-je&255;return fe+be},h.prototype.writeInt8=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,1,127,-128),ae<0&&(ae=255+ae+1),this[fe]=255&ae,fe+1},h.prototype.writeInt16LE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,2,32767,-32768),this[fe]=255&ae,this[fe+1]=ae>>>8,fe+2},h.prototype.writeInt16BE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,2,32767,-32768),this[fe]=ae>>>8,this[fe+1]=255&ae,fe+2},h.prototype.writeInt32LE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,4,2147483647,-2147483648),this[fe]=255&ae,this[fe+1]=ae>>>8,this[fe+2]=ae>>>16,this[fe+3]=ae>>>24,fe+4},h.prototype.writeInt32BE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,4,2147483647,-2147483648),ae<0&&(ae=4294967295+ae+1),this[fe]=ae>>>24,this[fe+1]=ae>>>16,this[fe+2]=ae>>>8,this[fe+3]=255&ae,fe+4},h.prototype.writeBigInt64LE=Se(function(ae){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ne(this,ae,fe,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),h.prototype.writeBigInt64BE=Se(function(ae){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return te(this,ae,fe,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),h.prototype.writeFloatLE=function(ae,fe,be){return X(this,ae,fe,!0,be)},h.prototype.writeFloatBE=function(ae,fe,be){return X(this,ae,fe,!1,be)},h.prototype.writeDoubleLE=function(ae,fe,be){return Q(this,ae,fe,!0,be)},h.prototype.writeDoubleBE=function(ae,fe,be){return Q(this,ae,fe,!1,be)},h.prototype.copy=function(ae,fe,be,ke){if(!h.isBuffer(ae))throw new TypeError("argument should be a Buffer");if(be||(be=0),ke||ke===0||(ke=this.length),fe>=ae.length&&(fe=ae.length),fe||(fe=0),ke>0&&ke=this.length)throw new RangeError("Index out of range");if(ke<0)throw new RangeError("sourceEnd out of bounds");ke>this.length&&(ke=this.length),ae.length-fe>>=0,be=be===void 0?this.length:be>>>0,ae||(ae=0),typeof ae=="number")for(Be=fe;Be"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var Ee,Ve=f(ze);if(je){var $e=f(this).constructor;Ee=Reflect.construct(Ve,arguments,$e)}else Ee=Ve.apply(this,arguments);return M(this,Ee)});function we(){var Ee;return d(this,we),Ee=ge.call(this),Object.defineProperty(v(Ee),"message",{value:fe.apply(v(Ee),arguments),writable:!0,configurable:!0}),Ee.name="".concat(Ee.name," [").concat(ae,"]"),Ee.stack,delete Ee.name,Ee}return Le=we,(Be=[{key:"code",get:function(){return ae},set:function(Ee){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:Ee,writable:!0})}},{key:"toString",value:function(){return"".concat(this.name," [").concat(ae,"]: ").concat(this.message)}}])&&g(Le.prototype,Be),Object.defineProperty(Le,"prototype",{writable:!1}),we}(be)}function oe(ae){for(var fe="",be=ae.length,ke=ae[0]==="-"?1:0;be>=ke+4;be-=3)fe="_".concat(ae.slice(be-3,be)).concat(fe);return"".concat(ae.slice(0,be)).concat(fe)}function ue(ae,fe,be,ke,Le,Be){if(ae>be||ae3?fe===0||fe===BigInt(0)?">= 0".concat(je," and < 2").concat(je," ** ").concat(8*(Be+1)).concat(je):">= -(2".concat(je," ** ").concat(8*(Be+1)-1).concat(je,") and < 2 ** ")+"".concat(8*(Be+1)-1).concat(je):">= ".concat(fe).concat(je," and <= ").concat(be).concat(je),new re.ERR_OUT_OF_RANGE("value",ze,ae)}(function(ge,we,Ee){ce(we,"offset"),ge[we]!==void 0&&ge[we+Ee]!==void 0||ye(we,ge.length-(Ee+1))})(ke,Le,Be)}function ce(ae,fe){if(typeof ae!="number")throw new re.ERR_INVALID_ARG_TYPE(fe,"number",ae)}function ye(ae,fe,be){throw Math.floor(ae)!==ae?(ce(ae,be),new re.ERR_OUT_OF_RANGE(be||"offset","an integer",ae)):fe<0?new re.ERR_BUFFER_OUT_OF_BOUNDS:new re.ERR_OUT_OF_RANGE(be||"offset",">= ".concat(be?1:0," and <= ").concat(fe),ae)}ie("ERR_BUFFER_OUT_OF_BOUNDS",function(ae){return ae?"".concat(ae," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"},RangeError),ie("ERR_INVALID_ARG_TYPE",function(ae,fe){return'The "'.concat(ae,'" argument must be of type number. Received type ').concat(l(fe))},TypeError),ie("ERR_OUT_OF_RANGE",function(ae,fe,be){var ke='The value of "'.concat(ae,'" is out of range.'),Le=be;return Number.isInteger(be)&&Math.abs(be)>Math.pow(2,32)?Le=oe(String(be)):typeof be=="bigint"&&(Le=String(be),(be>Math.pow(BigInt(2),BigInt(32))||be<-Math.pow(BigInt(2),BigInt(32)))&&(Le=oe(Le)),Le+="n"),ke+" It must be ".concat(fe,". Received ").concat(Le)},RangeError);var de=/[^+/0-9A-Za-z-_]/g;function me(ae,fe){var be;fe=fe||1/0;for(var ke=ae.length,Le=null,Be=[],ze=0;ze55295&&be<57344){if(!Le){if(be>56319){(fe-=3)>-1&&Be.push(239,191,189);continue}if(ze+1===ke){(fe-=3)>-1&&Be.push(239,191,189);continue}Le=be;continue}if(be<56320){(fe-=3)>-1&&Be.push(239,191,189),Le=be;continue}be=65536+(Le-55296<<10|be-56320)}else Le&&(fe-=3)>-1&&Be.push(239,191,189);if(Le=null,be<128){if((fe-=1)<0)break;Be.push(be)}else if(be<2048){if((fe-=2)<0)break;Be.push(be>>6|192,63&be|128)}else if(be<65536){if((fe-=3)<0)break;Be.push(be>>12|224,be>>6&63|128,63&be|128)}else{if(!(be<1114112))throw new Error("Invalid code point");if((fe-=4)<0)break;Be.push(be>>18|240,be>>12&63|128,be>>6&63|128,63&be|128)}}return Be}function pe(ae){return a.toByteArray(function(fe){if((fe=(fe=fe.split("=")[0]).trim().replace(de,"")).length<2)return"";for(;fe.length%4!=0;)fe+="=";return fe}(ae))}function xe(ae,fe,be,ke){var Le;for(Le=0;Le=fe.length||Le>=ae.length);++Le)fe[Le+be]=ae[Le];return Le}function Pe(ae,fe){return ae instanceof fe||ae!=null&&ae.constructor!=null&&ae.constructor.name!=null&&ae.constructor.name===fe.name}function _e(ae){return ae!=ae}var Me=function(){for(var ae="0123456789abcdef",fe=new Array(256),be=0;be<16;++be)for(var ke=16*be,Le=0;Le<16;++Le)fe[ke+Le]=ae[be]+ae[Le];return fe}();function Se(ae){return typeof BigInt>"u"?Ce:ae}function Ce(){throw new Error("BigInt not supported")}},35791:function(T){T.exports=g,T.exports.isMobile=g,T.exports.default=g;var p=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,t=/CrOS/,d=/android|ipad|playbook|silk/i;function g(i){i||(i={});var M=i.ua;if(M||typeof navigator>"u"||(M=navigator.userAgent),M&&M.headers&&typeof M.headers["user-agent"]=="string"&&(M=M.headers["user-agent"]),typeof M!="string")return!1;var v=p.test(M)&&!t.test(M)||!!i.tablet&&d.test(M);return!v&&i.tablet&&i.featureDetect&&navigator&&navigator.maxTouchPoints>1&&M.indexOf("Macintosh")!==-1&&M.indexOf("Safari")!==-1&&(v=!0),v}},86781:function(T,p,t){t.r(p),t.d(p,{sankeyCenter:function(){return o},sankeyCircular:function(){return O},sankeyJustify:function(){return u},sankeyLeft:function(){return l},sankeyRight:function(){return a}});var d=t(33064),g=t(15140),i=t(45879),M=t(2502),v=t.n(M);function f(pe){return pe.target.depth}function l(pe){return pe.depth}function a(pe,xe){return xe-1-pe.height}function u(pe,xe){return pe.sourceLinks.length?pe.depth:xe-1}function o(pe){return pe.targetLinks.length?pe.depth:pe.sourceLinks.length?(0,d.VV)(pe.sourceLinks,f)-1:0}function s(pe){return function(){return pe}}var c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(pe){return typeof pe}:function(pe){return pe&&typeof Symbol=="function"&&pe.constructor===Symbol&&pe!==Symbol.prototype?"symbol":typeof pe};function h(pe,xe){return w(pe.source,xe.source)||pe.index-xe.index}function m(pe,xe){return w(pe.target,xe.target)||pe.index-xe.index}function w(pe,xe){return pe.partOfCycle===xe.partOfCycle?pe.y0-xe.y0:pe.circularLinkType==="top"||xe.circularLinkType==="bottom"?-1:1}function y(pe){return pe.value}function S(pe){return(pe.y0+pe.y1)/2}function _(pe){return S(pe.source)}function k(pe){return S(pe.target)}function E(pe){return pe.index}function x(pe){return pe.nodes}function A(pe){return pe.links}function L(pe,xe){var Pe=pe.get(xe);if(!Pe)throw new Error("missing: "+xe);return Pe}function b(pe,xe){return xe(pe)}var R=25,I=10;function O(){var pe,xe,Pe=0,_e=0,Me=1,Se=1,Ce=24,ae=E,fe=u,be=x,ke=A,Le=32,Be=2,ze=null;function je(){var Ye={nodes:be.apply(null,arguments),links:ke.apply(null,arguments)};ge(Ye),z(Ye,0,ze),we(Ye),Ee(Ye),F(Ye,ae),Ve(Ye,Le,ae),$e(Ye);for(var st=4,ot=0;ot0?Je+R+I:Je,bottom:qe=qe>0?qe+R+I:qe,left:ft=ft>0?ft+R+I:ft,right:nt=nt>0?nt+R+I:nt}}(Ye),Vt=function(Ke,Je){var qe=(0,d.Fp)(Ke.nodes,function(Qe){return Qe.column}),nt=Me-Pe,ft=Se-_e,Re=nt/(nt+Je.right+Je.left),Ne=ft/(ft+Je.top+Je.bottom);return Pe=Pe*Re+Je.left,Me=Je.right==0?Me:Me*Re,_e=_e*Ne+Je.top,Se*=Ne,Ke.nodes.forEach(function(Qe){Qe.x0=Pe+Qe.column*((Me-Pe-Ce)/qe),Qe.x1=Qe.x0+Ce}),Ne}(Ye,qt);Bt*=Vt,Ye.links.forEach(function(Ke){Ke.width=Ke.value*Bt}),ht.forEach(function(Ke){var Je=Ke.length;Ke.forEach(function(qe,nt){qe.depth==ht.length-1&&Je==1||qe.depth==0&&Je==1?(qe.y0=Se/2-qe.value*Bt,qe.y1=qe.y0+qe.value*Bt):qe.partOfCycle?N(qe,Ft)==0?(qe.y0=Se/2+nt,qe.y1=qe.y0+qe.value*Bt):qe.circularLinkType=="top"?(qe.y0=_e+nt,qe.y1=qe.y0+qe.value*Bt):(qe.y0=Se-qe.value*Bt-nt,qe.y1=qe.y0+qe.value*Bt):qt.top==0||qt.bottom==0?(qe.y0=(Se-_e)/Je*nt,qe.y1=qe.y0+qe.value*Bt):(qe.y0=(Se-_e)/2-Je/2+nt,qe.y1=qe.y0+qe.value*Bt)})})})(ot),xt();for(var bt=1,Et=st;Et>0;--Et)kt(bt*=.99,ot),xt();function kt(Ft,Ot){var Bt=ht.length;ht.forEach(function(qt){var Vt=qt.length,Ke=qt[0].depth;qt.forEach(function(Je){var qe;if((Je.sourceLinks.length||Je.targetLinks.length)&&!(Je.partOfCycle&&N(Je,Ot)>0))if(Ke==0&&Vt==1)qe=Je.y1-Je.y0,Je.y0=Se/2-qe/2,Je.y1=Se/2+qe/2;else if(Ke==Bt-1&&Vt==1)qe=Je.y1-Je.y0,Je.y0=Se/2-qe/2,Je.y1=Se/2+qe/2;else{var nt=(0,d.J6)(Je.sourceLinks,k),ft=(0,d.J6)(Je.targetLinks,_),Re=((nt&&ft?(nt+ft)/2:nt||ft)-S(Je))*Ft;Je.y0+=Re,Je.y1+=Re}})})}function xt(){ht.forEach(function(Ft){var Ot,Bt,qt,Vt=_e,Ke=Ft.length;for(Ft.sort(w),qt=0;qt0&&(Ot.y0+=Bt,Ot.y1+=Bt),Vt=Ot.y1+pe;if((Bt=Vt-pe-Se)>0)for(Vt=Ot.y0-=Bt,Ot.y1-=Bt,qt=Ke-2;qt>=0;--qt)(Bt=(Ot=Ft[qt]).y1+pe-Vt)>0&&(Ot.y0-=Bt,Ot.y1-=Bt),Vt=Ot.y0})}}function $e(Ye){Ye.nodes.forEach(function(st){st.sourceLinks.sort(m),st.targetLinks.sort(h)}),Ye.nodes.forEach(function(st){var ot=st.y0,ht=ot,bt=st.y1,Et=bt;st.sourceLinks.forEach(function(kt){kt.circular?(kt.y0=bt-kt.width/2,bt-=kt.width):(kt.y0=ot+kt.width/2,ot+=kt.width)}),st.targetLinks.forEach(function(kt){kt.circular?(kt.y1=Et-kt.width/2,Et-=kt.width):(kt.y1=ht+kt.width/2,ht+=kt.width)})})}return je.nodeId=function(Ye){return arguments.length?(ae=typeof Ye=="function"?Ye:s(Ye),je):ae},je.nodeAlign=function(Ye){return arguments.length?(fe=typeof Ye=="function"?Ye:s(Ye),je):fe},je.nodeWidth=function(Ye){return arguments.length?(Ce=+Ye,je):Ce},je.nodePadding=function(Ye){return arguments.length?(pe=+Ye,je):pe},je.nodes=function(Ye){return arguments.length?(be=typeof Ye=="function"?Ye:s(Ye),je):be},je.links=function(Ye){return arguments.length?(ke=typeof Ye=="function"?Ye:s(Ye),je):ke},je.size=function(Ye){return arguments.length?(Pe=_e=0,Me=+Ye[0],Se=+Ye[1],je):[Me-Pe,Se-_e]},je.extent=function(Ye){return arguments.length?(Pe=+Ye[0][0],Me=+Ye[1][0],_e=+Ye[0][1],Se=+Ye[1][1],je):[[Pe,_e],[Me,Se]]},je.iterations=function(Ye){return arguments.length?(Le=+Ye,je):Le},je.circularLinkGap=function(Ye){return arguments.length?(Be=+Ye,je):Be},je.nodePaddingRatio=function(Ye){return arguments.length?(xe=+Ye,je):xe},je.sortNodes=function(Ye){return arguments.length?(ze=Ye,je):ze},je.update=function(Ye){return F(Ye,ae),$e(Ye),Ye.links.forEach(function(st){st.circular&&(st.circularLinkType=st.y0+st.y11||Me>1)}function j(pe,xe,Pe){return pe.sort(U),pe.forEach(function(_e,Me){var Se,Ce,ae=0;if(de(_e,Pe)&&W(_e))_e.circularPathData.verticalBuffer=ae+_e.width/2;else{for(var fe=0;feCe.source.column)){var be=pe[fe].circularPathData.verticalBuffer+pe[fe].width/2+xe;ae=be>ae?be:ae}_e.circularPathData.verticalBuffer=ae+_e.width/2}}),pe}function $(pe,xe,Pe,_e){var Me=(0,d.VV)(pe.links,function(Se){return Se.source.y0});pe.links.forEach(function(Se){Se.circular&&(Se.circularPathData={})}),j(pe.links.filter(function(Se){return Se.circularLinkType=="top"}),xe,_e),j(pe.links.filter(function(Se){return Se.circularLinkType=="bottom"}),xe,_e),pe.links.forEach(function(Se){if(Se.circular){if(Se.circularPathData.arcRadius=Se.width+I,Se.circularPathData.leftNodeBuffer=5,Se.circularPathData.rightNodeBuffer=5,Se.circularPathData.sourceWidth=Se.source.x1-Se.source.x0,Se.circularPathData.sourceX=Se.source.x0+Se.circularPathData.sourceWidth,Se.circularPathData.targetX=Se.target.x0,Se.circularPathData.sourceY=Se.y0,Se.circularPathData.targetY=Se.y1,de(Se,_e)&&W(Se))Se.circularPathData.leftSmallArcRadius=I+Se.width/2,Se.circularPathData.leftLargeArcRadius=I+Se.width/2,Se.circularPathData.rightSmallArcRadius=I+Se.width/2,Se.circularPathData.rightLargeArcRadius=I+Se.width/2,Se.circularLinkType=="bottom"?(Se.circularPathData.verticalFullExtent=Se.source.y1+R+Se.circularPathData.verticalBuffer,Se.circularPathData.verticalLeftInnerExtent=Se.circularPathData.verticalFullExtent-Se.circularPathData.leftLargeArcRadius,Se.circularPathData.verticalRightInnerExtent=Se.circularPathData.verticalFullExtent-Se.circularPathData.rightLargeArcRadius):(Se.circularPathData.verticalFullExtent=Se.source.y0-R-Se.circularPathData.verticalBuffer,Se.circularPathData.verticalLeftInnerExtent=Se.circularPathData.verticalFullExtent+Se.circularPathData.leftLargeArcRadius,Se.circularPathData.verticalRightInnerExtent=Se.circularPathData.verticalFullExtent+Se.circularPathData.rightLargeArcRadius);else{var Ce=Se.source.column,ae=Se.circularLinkType,fe=pe.links.filter(function(Le){return Le.source.column==Ce&&Le.circularLinkType==ae});Se.circularLinkType=="bottom"?fe.sort(q):fe.sort(G);var be=0;fe.forEach(function(Le,Be){Le.circularLinkID==Se.circularLinkID&&(Se.circularPathData.leftSmallArcRadius=I+Se.width/2+be,Se.circularPathData.leftLargeArcRadius=I+Se.width/2+Be*xe+be),be+=Le.width}),Ce=Se.target.column,fe=pe.links.filter(function(Le){return Le.target.column==Ce&&Le.circularLinkType==ae}),Se.circularLinkType=="bottom"?fe.sort(ne):fe.sort(H),be=0,fe.forEach(function(Le,Be){Le.circularLinkID==Se.circularLinkID&&(Se.circularPathData.rightSmallArcRadius=I+Se.width/2+be,Se.circularPathData.rightLargeArcRadius=I+Se.width/2+Be*xe+be),be+=Le.width}),Se.circularLinkType=="bottom"?(Se.circularPathData.verticalFullExtent=Math.max(Pe,Se.source.y1,Se.target.y1)+R+Se.circularPathData.verticalBuffer,Se.circularPathData.verticalLeftInnerExtent=Se.circularPathData.verticalFullExtent-Se.circularPathData.leftLargeArcRadius,Se.circularPathData.verticalRightInnerExtent=Se.circularPathData.verticalFullExtent-Se.circularPathData.rightLargeArcRadius):(Se.circularPathData.verticalFullExtent=Me-R-Se.circularPathData.verticalBuffer,Se.circularPathData.verticalLeftInnerExtent=Se.circularPathData.verticalFullExtent+Se.circularPathData.leftLargeArcRadius,Se.circularPathData.verticalRightInnerExtent=Se.circularPathData.verticalFullExtent+Se.circularPathData.rightLargeArcRadius)}Se.circularPathData.leftInnerExtent=Se.circularPathData.sourceX+Se.circularPathData.leftNodeBuffer,Se.circularPathData.rightInnerExtent=Se.circularPathData.targetX-Se.circularPathData.rightNodeBuffer,Se.circularPathData.leftFullExtent=Se.circularPathData.sourceX+Se.circularPathData.leftLargeArcRadius+Se.circularPathData.leftNodeBuffer,Se.circularPathData.rightFullExtent=Se.circularPathData.targetX-Se.circularPathData.rightLargeArcRadius-Se.circularPathData.rightNodeBuffer}if(Se.circular)Se.path=function(Le){return Le.circularLinkType=="top"?"M"+Le.circularPathData.sourceX+" "+Le.circularPathData.sourceY+" L"+Le.circularPathData.leftInnerExtent+" "+Le.circularPathData.sourceY+" A"+Le.circularPathData.leftLargeArcRadius+" "+Le.circularPathData.leftSmallArcRadius+" 0 0 0 "+Le.circularPathData.leftFullExtent+" "+(Le.circularPathData.sourceY-Le.circularPathData.leftSmallArcRadius)+" L"+Le.circularPathData.leftFullExtent+" "+Le.circularPathData.verticalLeftInnerExtent+" A"+Le.circularPathData.leftLargeArcRadius+" "+Le.circularPathData.leftLargeArcRadius+" 0 0 0 "+Le.circularPathData.leftInnerExtent+" "+Le.circularPathData.verticalFullExtent+" L"+Le.circularPathData.rightInnerExtent+" "+Le.circularPathData.verticalFullExtent+" A"+Le.circularPathData.rightLargeArcRadius+" "+Le.circularPathData.rightLargeArcRadius+" 0 0 0 "+Le.circularPathData.rightFullExtent+" "+Le.circularPathData.verticalRightInnerExtent+" L"+Le.circularPathData.rightFullExtent+" "+(Le.circularPathData.targetY-Le.circularPathData.rightSmallArcRadius)+" A"+Le.circularPathData.rightLargeArcRadius+" "+Le.circularPathData.rightSmallArcRadius+" 0 0 0 "+Le.circularPathData.rightInnerExtent+" "+Le.circularPathData.targetY+" L"+Le.circularPathData.targetX+" "+Le.circularPathData.targetY:"M"+Le.circularPathData.sourceX+" "+Le.circularPathData.sourceY+" L"+Le.circularPathData.leftInnerExtent+" "+Le.circularPathData.sourceY+" A"+Le.circularPathData.leftLargeArcRadius+" "+Le.circularPathData.leftSmallArcRadius+" 0 0 1 "+Le.circularPathData.leftFullExtent+" "+(Le.circularPathData.sourceY+Le.circularPathData.leftSmallArcRadius)+" L"+Le.circularPathData.leftFullExtent+" "+Le.circularPathData.verticalLeftInnerExtent+" A"+Le.circularPathData.leftLargeArcRadius+" "+Le.circularPathData.leftLargeArcRadius+" 0 0 1 "+Le.circularPathData.leftInnerExtent+" "+Le.circularPathData.verticalFullExtent+" L"+Le.circularPathData.rightInnerExtent+" "+Le.circularPathData.verticalFullExtent+" A"+Le.circularPathData.rightLargeArcRadius+" "+Le.circularPathData.rightLargeArcRadius+" 0 0 1 "+Le.circularPathData.rightFullExtent+" "+Le.circularPathData.verticalRightInnerExtent+" L"+Le.circularPathData.rightFullExtent+" "+(Le.circularPathData.targetY+Le.circularPathData.rightSmallArcRadius)+" A"+Le.circularPathData.rightLargeArcRadius+" "+Le.circularPathData.rightSmallArcRadius+" 0 0 1 "+Le.circularPathData.rightInnerExtent+" "+Le.circularPathData.targetY+" L"+Le.circularPathData.targetX+" "+Le.circularPathData.targetY}(Se);else{var ke=(0,i.h5)().source(function(Le){return[Le.source.x0+(Le.source.x1-Le.source.x0),Le.y0]}).target(function(Le){return[Le.target.x0,Le.y1]});Se.path=ke(Se)}})}function U(pe,xe){return te(pe)==te(xe)?pe.circularLinkType=="bottom"?q(pe,xe):G(pe,xe):te(xe)-te(pe)}function G(pe,xe){return pe.y0-xe.y0}function q(pe,xe){return xe.y0-pe.y0}function H(pe,xe){return pe.y1-xe.y1}function ne(pe,xe){return xe.y1-pe.y1}function te(pe){return pe.target.column-pe.source.column}function Z(pe){return pe.target.x0-pe.source.x1}function X(pe,xe){var Pe=B(pe),_e=Z(xe)/Math.tan(Pe);return ye(pe)=="up"?pe.y1+_e:pe.y1-_e}function Q(pe,xe){var Pe=B(pe),_e=Z(xe)/Math.tan(Pe);return ye(pe)=="up"?pe.y1-_e:pe.y1+_e}function re(pe,xe,Pe,_e){pe.links.forEach(function(Me){if(!Me.circular&&Me.target.column-Me.source.column>1){var Se=Me.source.column+1,Ce=Me.target.column-1,ae=1,fe=Ce-Se+1;for(ae=1;Se<=Ce;Se++,ae++)pe.nodes.forEach(function(be){if(be.column==Se){var ke,Le=ae/(fe+1),Be=Math.pow(1-Le,3),ze=3*Le*Math.pow(1-Le,2),je=3*Math.pow(Le,2)*(1-Le),ge=Math.pow(Le,3),we=Be*Me.y0+ze*Me.y0+je*Me.y1+ge*Me.y1,Ee=we-Me.width/2,Ve=we+Me.width/2;Ee>be.y0&&Eest.y0&&Ye.y0st.y0&&Ye.y1st.y1)&&ie($e,ke,xe,Pe)})):(Ve>be.y0&&Vebe.y1)&&(ke=Ve-be.y0+10,be=ie(be,ke,xe,Pe),pe.nodes.forEach(function($e){b($e,_e)!=b(be,_e)&&$e.column==be.column&&$e.y0be.y1&&ie($e,ke,xe,Pe)}))}})}})}function ie(pe,xe,Pe,_e){return pe.y0+xe>=Pe&&pe.y1+xe<=_e&&(pe.y0=pe.y0+xe,pe.y1=pe.y1+xe,pe.targetLinks.forEach(function(Me){Me.y1=Me.y1+xe}),pe.sourceLinks.forEach(function(Me){Me.y0=Me.y0+xe})),pe}function oe(pe,xe,Pe,_e){pe.nodes.forEach(function(Me){_e&&Me.y+(Me.y1-Me.y0)>xe&&(Me.y=Me.y-(Me.y+(Me.y1-Me.y0)-xe));var Se=pe.links.filter(function(fe){return b(fe.source,Pe)==b(Me,Pe)}),Ce=Se.length;Ce>1&&Se.sort(function(fe,be){if(!fe.circular&&!be.circular){if(fe.target.column==be.target.column||!ce(fe,be))return fe.y1-be.y1;if(fe.target.column>be.target.column){var ke=Q(be,fe);return fe.y1-ke}if(be.target.column>fe.target.column)return Q(fe,be)-be.y1}return fe.circular&&!be.circular?fe.circularLinkType=="top"?-1:1:be.circular&&!fe.circular?be.circularLinkType=="top"?1:-1:fe.circular&&be.circular?fe.circularLinkType===be.circularLinkType&&fe.circularLinkType=="top"?fe.target.column===be.target.column?fe.target.y1-be.target.y1:be.target.column-fe.target.column:fe.circularLinkType===be.circularLinkType&&fe.circularLinkType=="bottom"?fe.target.column===be.target.column?be.target.y1-fe.target.y1:fe.target.column-be.target.column:fe.circularLinkType=="top"?-1:1:void 0});var ae=Me.y0;Se.forEach(function(fe){fe.y0=ae+fe.width/2,ae+=fe.width}),Se.forEach(function(fe,be){if(fe.circularLinkType=="bottom"){for(var ke=be+1,Le=0;ke1&&Me.sort(function(ae,fe){if(!ae.circular&&!fe.circular){if(ae.source.column==fe.source.column||!ce(ae,fe))return ae.y0-fe.y0;if(fe.source.column0?"up":"down"}function de(pe,xe){return b(pe.source,xe)==b(pe.target,xe)}function me(pe,xe,Pe){var _e=pe.nodes,Me=pe.links,Se=!1,Ce=!1;if(Me.forEach(function(be){be.circularLinkType=="top"?Se=!0:be.circularLinkType=="bottom"&&(Ce=!0)}),Se==0||Ce==0){var ae=(0,d.VV)(_e,function(be){return be.y0}),fe=(Pe-xe)/((0,d.Fp)(_e,function(be){return be.y1})-ae);_e.forEach(function(be){var ke=(be.y1-be.y0)*fe;be.y0=(be.y0-ae)*fe,be.y1=be.y0+ke}),Me.forEach(function(be){be.y0=(be.y0-ae)*fe,be.y1=(be.y1-ae)*fe,be.width=be.width*fe})}}},30838:function(T,p,t){t.r(p),t.d(p,{sankey:function(){return E},sankeyCenter:function(){return l},sankeyJustify:function(){return f},sankeyLeft:function(){return M},sankeyLinkHorizontal:function(){return b},sankeyRight:function(){return v}});var d=t(33064),g=t(15140);function i(R){return R.target.depth}function M(R){return R.depth}function v(R,I){return I-1-R.height}function f(R,I){return R.sourceLinks.length?R.depth:I-1}function l(R){return R.targetLinks.length?R.depth:R.sourceLinks.length?(0,d.VV)(R.sourceLinks,i)-1:0}function a(R){return function(){return R}}function u(R,I){return s(R.source,I.source)||R.index-I.index}function o(R,I){return s(R.target,I.target)||R.index-I.index}function s(R,I){return R.y0-I.y0}function c(R){return R.value}function h(R){return(R.y0+R.y1)/2}function m(R){return h(R.source)*R.value}function w(R){return h(R.target)*R.value}function y(R){return R.index}function S(R){return R.nodes}function _(R){return R.links}function k(R,I){var O=R.get(I);if(!O)throw new Error("missing: "+I);return O}function E(){var R=0,I=0,O=1,z=1,F=24,B=8,N=y,W=f,j=S,$=_,U=32;function G(){var X={nodes:j.apply(null,arguments),links:$.apply(null,arguments)};return q(X),H(X),ne(X),te(X),Z(X),X}function q(X){X.nodes.forEach(function(re,ie){re.index=ie,re.sourceLinks=[],re.targetLinks=[]});var Q=(0,g.UI)(X.nodes,N);X.links.forEach(function(re,ie){re.index=ie;var oe=re.source,ue=re.target;typeof oe!="object"&&(oe=re.source=k(Q,oe)),typeof ue!="object"&&(ue=re.target=k(Q,ue)),oe.sourceLinks.push(re),ue.targetLinks.push(re)})}function H(X){X.nodes.forEach(function(Q){Q.value=Math.max((0,d.Sm)(Q.sourceLinks,c),(0,d.Sm)(Q.targetLinks,c))})}function ne(X){var Q,re,ie;for(Q=X.nodes,re=[],ie=0;Q.length;++ie,Q=re,re=[])Q.forEach(function(ue){ue.depth=ie,ue.sourceLinks.forEach(function(ce){re.indexOf(ce.target)<0&&re.push(ce.target)})});for(Q=X.nodes,re=[],ie=0;Q.length;++ie,Q=re,re=[])Q.forEach(function(ue){ue.height=ie,ue.targetLinks.forEach(function(ce){re.indexOf(ce.source)<0&&re.push(ce.source)})});var oe=(O-R-F)/(ie-1);X.nodes.forEach(function(ue){ue.x1=(ue.x0=R+Math.max(0,Math.min(ie-1,Math.floor(W.call(null,ue,ie))))*oe)+F})}function te(X){var Q=(0,g.b1)().key(function(ye){return ye.x0}).sortKeys(d.j2).entries(X.nodes).map(function(ye){return ye.values});(function(){var ye=(0,d.Fp)(Q,function(pe){return pe.length}),de=.6666666666666666*(z-I)/(ye-1);B>de&&(B=de);var me=(0,d.VV)(Q,function(pe){return(z-I-(pe.length-1)*B)/(0,d.Sm)(pe,c)});Q.forEach(function(pe){pe.forEach(function(xe,Pe){xe.y1=(xe.y0=Pe)+xe.value*me})}),X.links.forEach(function(pe){pe.width=pe.value*me})})(),ce();for(var re=1,ie=U;ie>0;--ie)ue(re*=.99),ce(),oe(re),ce();function oe(ye){Q.forEach(function(de){de.forEach(function(me){if(me.targetLinks.length){var pe=((0,d.Sm)(me.targetLinks,m)/(0,d.Sm)(me.targetLinks,c)-h(me))*ye;me.y0+=pe,me.y1+=pe}})})}function ue(ye){Q.slice().reverse().forEach(function(de){de.forEach(function(me){if(me.sourceLinks.length){var pe=((0,d.Sm)(me.sourceLinks,w)/(0,d.Sm)(me.sourceLinks,c)-h(me))*ye;me.y0+=pe,me.y1+=pe}})})}function ce(){Q.forEach(function(ye){var de,me,pe,xe=I,Pe=ye.length;for(ye.sort(s),pe=0;pe0&&(de.y0+=me,de.y1+=me),xe=de.y1+B;if((me=xe-B-z)>0)for(xe=de.y0-=me,de.y1-=me,pe=Pe-2;pe>=0;--pe)(me=(de=ye[pe]).y1+B-xe)>0&&(de.y0-=me,de.y1-=me),xe=de.y0})}}function Z(X){X.nodes.forEach(function(Q){Q.sourceLinks.sort(o),Q.targetLinks.sort(u)}),X.nodes.forEach(function(Q){var re=Q.y0,ie=re;Q.sourceLinks.forEach(function(oe){oe.y0=re+oe.width/2,re+=oe.width}),Q.targetLinks.forEach(function(oe){oe.y1=ie+oe.width/2,ie+=oe.width})})}return G.update=function(X){return Z(X),X},G.nodeId=function(X){return arguments.length?(N=typeof X=="function"?X:a(X),G):N},G.nodeAlign=function(X){return arguments.length?(W=typeof X=="function"?X:a(X),G):W},G.nodeWidth=function(X){return arguments.length?(F=+X,G):F},G.nodePadding=function(X){return arguments.length?(B=+X,G):B},G.nodes=function(X){return arguments.length?(j=typeof X=="function"?X:a(X),G):j},G.links=function(X){return arguments.length?($=typeof X=="function"?X:a(X),G):$},G.size=function(X){return arguments.length?(R=I=0,O=+X[0],z=+X[1],G):[O-R,z-I]},G.extent=function(X){return arguments.length?(R=+X[0][0],O=+X[1][0],I=+X[0][1],z=+X[1][1],G):[[R,I],[O,z]]},G.iterations=function(X){return arguments.length?(U=+X,G):U},G}var x=t(45879);function A(R){return[R.source.x1,R.y0]}function L(R){return[R.target.x0,R.y1]}function b(){return(0,x.h5)().source(A).target(L)}},39898:function(T,p,t){var d,g;(function(){var i={version:"3.8.0"},M=[].slice,v=function(se){return M.call(se)},f=self.document;function l(se){return se&&(se.ownerDocument||se.document||se).documentElement}function a(se){return se&&(se.ownerDocument&&se.ownerDocument.defaultView||se.document&&se||se.defaultView)}if(f)try{v(f.documentElement.childNodes)[0].nodeType}catch{v=function(ve){for(var Ie=ve.length,Fe=new Array(Ie);Ie--;)Fe[Ie]=ve[Ie];return Fe}}if(Date.now||(Date.now=function(){return+new Date}),f)try{f.createElement("DIV").style.setProperty("opacity",0,"")}catch{var u=this.Element.prototype,o=u.setAttribute,s=u.setAttributeNS,c=this.CSSStyleDeclaration.prototype,h=c.setProperty;u.setAttribute=function(ve,Ie){o.call(this,ve,Ie+"")},u.setAttributeNS=function(ve,Ie,Fe){s.call(this,ve,Ie,Fe+"")},c.setProperty=function(ve,Ie,Fe){h.call(this,ve,Ie+"",Fe)}}function m(se,ve){return seve?1:se>=ve?0:NaN}function w(se){return se===null?NaN:+se}function y(se){return!isNaN(se)}function S(se){return{left:function(ve,Ie,Fe,Ue){for(arguments.length<3&&(Fe=0),arguments.length<4&&(Ue=ve.length);Fe>>1;se(ve[We],Ie)<0?Fe=We+1:Ue=We}return Fe},right:function(ve,Ie,Fe,Ue){for(arguments.length<3&&(Fe=0),arguments.length<4&&(Ue=ve.length);Fe>>1;se(ve[We],Ie)>0?Ue=We:Fe=We+1}return Fe}}}i.ascending=m,i.descending=function(se,ve){return vese?1:ve>=se?0:NaN},i.min=function(se,ve){var Ie,Fe,Ue=-1,We=se.length;if(arguments.length===1){for(;++Ue=Fe){Ie=Fe;break}for(;++UeFe&&(Ie=Fe)}else{for(;++Ue=Fe){Ie=Fe;break}for(;++UeFe&&(Ie=Fe)}return Ie},i.max=function(se,ve){var Ie,Fe,Ue=-1,We=se.length;if(arguments.length===1){for(;++Ue=Fe){Ie=Fe;break}for(;++UeIe&&(Ie=Fe)}else{for(;++Ue=Fe){Ie=Fe;break}for(;++UeIe&&(Ie=Fe)}return Ie},i.extent=function(se,ve){var Ie,Fe,Ue,We=-1,Xe=se.length;if(arguments.length===1){for(;++We=Fe){Ie=Ue=Fe;break}for(;++WeFe&&(Ie=Fe),Ue=Fe){Ie=Ue=Fe;break}for(;++WeFe&&(Ie=Fe),Ue1)return Xe/(lt-1)},i.deviation=function(){var se=i.variance.apply(this,arguments);return se&&Math.sqrt(se)};var _=S(m);function k(se){return se.length}i.bisectLeft=_.left,i.bisect=i.bisectRight=_.right,i.bisector=function(se){return S(se.length===1?function(ve,Ie){return m(se(ve),Ie)}:se)},i.shuffle=function(se,ve,Ie){(We=arguments.length)<3&&(Ie=se.length,We<2&&(ve=0));for(var Fe,Ue,We=Ie-ve;We;)Ue=Math.random()*We--|0,Fe=se[We+ve],se[We+ve]=se[Ue+ve],se[Ue+ve]=Fe;return se},i.permute=function(se,ve){for(var Ie=ve.length,Fe=new Array(Ie);Ie--;)Fe[Ie]=se[ve[Ie]];return Fe},i.pairs=function(se){for(var ve=0,Ie=se.length-1,Fe=se[0],Ue=new Array(Ie<0?0:Ie);ve=0;)for(ve=(Fe=se[Ue]).length;--ve>=0;)Ie[--Xe]=Fe[ve];return Ie};var E=Math.abs;function x(se){for(var ve=1;se*ve%1;)ve*=10;return ve}function A(se,ve){for(var Ie in ve)Object.defineProperty(se.prototype,Ie,{value:ve[Ie],enumerable:!1})}function L(){this._=Object.create(null)}function b(se){return(se+="")=="__proto__"||se[0]==="\0"?"\0"+se:se}function R(se){return(se+="")[0]==="\0"?se.slice(1):se}function I(se){return b(se)in this._}function O(se){return(se=b(se))in this._&&delete this._[se]}function z(){var se=[];for(var ve in this._)se.push(R(ve));return se}function F(){var se=0;for(var ve in this._)++se;return se}function B(){for(var se in this._)return!1;return!0}function N(){this._=Object.create(null)}function W(se){return se}function j(se,ve,Ie){return function(){var Fe=Ie.apply(ve,arguments);return Fe===ve?se:Fe}}function $(se,ve){if(ve in se)return ve;ve=ve.charAt(0).toUpperCase()+ve.slice(1);for(var Ie=0,Fe=U.length;Ieve;)Ue.push(Fe/We);else for(;(Fe=se+Ie*++Xe)=Fe.length)return ve?ve.call(Ie,lt):se?lt.sort(se):lt;for(var zt,Ut,Ht,en,vn=-1,tn=lt.length,ln=Fe[mt++],an=new L;++vn=Fe.length)return tt;var mt=[],zt=Ue[lt++];return tt.forEach(function(Ut,Ht){mt.push({key:Ut,values:Xe(Ht,lt)})}),zt?mt.sort(function(Ut,Ht){return zt(Ut.key,Ht.key)}):mt}return Ie.map=function(tt,lt){return We(lt,tt,0)},Ie.entries=function(tt){return Xe(We(i.map,tt,0),0)},Ie.key=function(tt){return Fe.push(tt),Ie},Ie.sortKeys=function(tt){return Ue[Fe.length-1]=tt,Ie},Ie.sortValues=function(tt){return se=tt,Ie},Ie.rollup=function(tt){return ve=tt,Ie},Ie},i.set=function(se){var ve=new N;if(se)for(var Ie=0,Fe=se.length;Ie=0&&(Fe=se.slice(Ie+1),se=se.slice(0,Ie)),se)return arguments.length<2?this[se].on(Fe):this[se].on(Fe,ve);if(arguments.length===2){if(ve==null)for(se in this)this.hasOwnProperty(se)&&this[se].on(Fe,null);return this}},i.event=null,i.requote=function(se){return se.replace(X,"\\$&")};var X=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,Q={}.__proto__?function(se,ve){se.__proto__=ve}:function(se,ve){for(var Ie in ve)se[Ie]=ve[Ie]};function re(se){return Q(se,ce),se}var ie=function(se,ve){return ve.querySelector(se)},oe=function(se,ve){return ve.querySelectorAll(se)},ue=function(se,ve){var Ie=se.matches||se[$(se,"matchesSelector")];return ue=function(Fe,Ue){return Ie.call(Fe,Ue)},ue(se,ve)};typeof Sizzle=="function"&&(ie=function(se,ve){return Sizzle(se,ve)[0]||null},oe=Sizzle,ue=Sizzle.matchesSelector),i.selection=function(){return i.select(f.documentElement)};var ce=i.selection.prototype=[];function ye(se){return typeof se=="function"?se:function(){return ie(se,this)}}function de(se){return typeof se=="function"?se:function(){return oe(se,this)}}ce.select=function(se){var ve,Ie,Fe,Ue,We=[];se=ye(se);for(var Xe=-1,tt=this.length;++Xe=0&&(Ie=se.slice(0,ve))!=="xmlns"&&(se=se.slice(ve+1)),pe.hasOwnProperty(Ie)?{space:pe[Ie],local:se}:se}},ce.attr=function(se,ve){if(arguments.length<2){if(typeof se=="string"){var Ie=this.node();return(se=i.ns.qualify(se)).local?Ie.getAttributeNS(se.space,se.local):Ie.getAttribute(se)}for(ve in se)this.each(xe(ve,se[ve]));return this}return this.each(xe(se,ve))},ce.classed=function(se,ve){if(arguments.length<2){if(typeof se=="string"){var Ie=this.node(),Fe=(se=Me(se)).length,Ue=-1;if(ve=Ie.classList){for(;++Ue=0;)(Ie=Fe[Ue])&&(We&&We!==Ie.nextSibling&&We.parentNode.insertBefore(Ie,We),We=Ie);return this},ce.sort=function(se){se=ze.apply(this,arguments);for(var ve=-1,Ie=this.length;++ve=ve&&(ve=Ue+1);!(Xe=tt[ve])&&++ve0&&(se=se.slice(0,Ue));var Xe=$e.get(se);function tt(){var lt=this[Fe];lt&&(this.removeEventListener(se,lt,lt.$),delete this[Fe])}return Xe&&(se=Xe,We=st),Ue?ve?function(){var lt=We(ve,v(arguments));tt.call(this),this.addEventListener(se,this[Fe]=lt,lt.$=Ie),lt._=ve}:tt:ve?G:function(){var lt,mt=new RegExp("^__on([^.]+)"+i.requote(se)+"$");for(var zt in this)if(lt=zt.match(mt)){var Ut=this[zt];this.removeEventListener(lt[1],Ut,Ut.$),delete this[zt]}}}i.selection.enter=ge,i.selection.enter.prototype=we,we.append=ce.append,we.empty=ce.empty,we.node=ce.node,we.call=ce.call,we.size=ce.size,we.select=function(se){for(var ve,Ie,Fe,Ue,We,Xe=[],tt=-1,lt=this.length;++tt1?Vt:se<-1?-Vt:Math.asin(se)}function nt(se){return((se=Math.exp(se))+1/se)/2}var ft=Math.SQRT2;i.interpolateZoom=function(se,ve){var Ie,Fe,Ue=se[0],We=se[1],Xe=se[2],tt=ve[0],lt=ve[1],mt=ve[2],zt=tt-Ue,Ut=lt-We,Ht=zt*zt+Ut*Ut;if(Ht<1e-12)Fe=Math.log(mt/Xe)/ft,Ie=function(Cn){return[Ue+Cn*zt,We+Cn*Ut,Xe*Math.exp(ft*Cn*Fe)]};else{var en=Math.sqrt(Ht),vn=(mt*mt-Xe*Xe+4*Ht)/(2*Xe*2*en),tn=(mt*mt-Xe*Xe-4*Ht)/(2*mt*2*en),ln=Math.log(Math.sqrt(vn*vn+1)-vn),an=Math.log(Math.sqrt(tn*tn+1)-tn);Fe=(an-ln)/ft,Ie=function(Cn){var _n,on=Cn*Fe,Fn=nt(ln),Hn=Xe/(2*en)*(Fn*(_n=ft*on+ln,((_n=Math.exp(2*_n))-1)/(_n+1))-function(ir){return((ir=Math.exp(ir))-1/ir)/2}(ln));return[Ue+Hn*zt,We+Hn*Ut,Xe*Fn/nt(ft*on+ln)]}}return Ie.duration=1e3*Fe,Ie},i.behavior.zoom=function(){var se,ve,Ie,Fe,Ue,We,Xe,tt,lt,mt={x:0,y:0,k:1},zt=[960,500],Ut=Qe,Ht=250,en=0,vn="mousedown.zoom",tn="mousemove.zoom",ln="mouseup.zoom",an="touchstart.zoom",Cn=Z(_n,"zoomstart","zoom","zoomend");function _n(wr){wr.on(vn,kr).on(Ne+".zoom",fi).on("dblclick.zoom",di).on(an,jr)}function on(wr){return[(wr[0]-mt.x)/mt.k,(wr[1]-mt.y)/mt.k]}function Fn(wr){mt.k=Math.max(Ut[0],Math.min(Ut[1],wr))}function Hn(wr,Ur){Ur=function(oi){return[oi[0]*mt.k+mt.x,oi[1]*mt.k+mt.y]}(Ur),mt.x+=wr[0]-Ur[0],mt.y+=wr[1]-Ur[1]}function ir(wr,Ur,oi,ai){wr.__chart__={x:mt.x,y:mt.y,k:mt.k},Fn(Math.pow(2,ai)),Hn(ve=Ur,oi),wr=i.select(wr),Ht>0&&(wr=wr.transition().duration(Ht)),wr.call(_n.event)}function ar(){Xe&&Xe.domain(We.range().map(function(wr){return(wr-mt.x)/mt.k}).map(We.invert)),lt&<.domain(tt.range().map(function(wr){return(wr-mt.y)/mt.k}).map(tt.invert))}function Mr(wr){en++||wr({type:"zoomstart"})}function Er(wr){ar(),wr({type:"zoom",scale:mt.k,translate:[mt.x,mt.y]})}function xr(wr){--en||(wr({type:"zoomend"}),ve=null)}function kr(){var wr=this,Ur=Cn.of(wr,arguments),oi=0,ai=i.select(a(wr)).on(tn,Ni).on(ln,ta),Ii=on(i.mouse(wr)),vi=bt(wr);function Ni(){oi=1,Hn(i.mouse(wr),Ii),Er(Ur)}function ta(){ai.on(tn,null).on(ln,null),vi(oi),xr(Ur)}la.call(wr),Mr(Ur)}function jr(){var wr,Ur=this,oi=Cn.of(Ur,arguments),ai={},Ii=0,vi=".zoom-"+i.event.changedTouches[0].identifier,Ni="touchmove"+vi,ta="touchend"+vi,pa=[],ua=i.select(Ur),Qi=bt(Ur);function na(){var Za=i.touches(Ur);return wr=mt.k,Za.forEach(function(li){li.identifier in ai&&(ai[li.identifier]=on(li))}),Za}function ca(){var Za=i.event.target;i.select(Za).on(Ni,Ia).on(ta,Dl),pa.push(Za);for(var li=i.event.changedTouches,ho=0,_o=li.length;ho<_o;++ho)ai[li[ho].identifier]=null;var Aa=na(),Ps=Date.now();if(Aa.length===1){if(Ps-Ue<500){var Ri=Aa[0];ir(Ur,Ri,ai[Ri.identifier],Math.floor(Math.log(mt.k)/Math.LN2)+1),ne()}Ue=Ps}else if(Aa.length>1){Ri=Aa[0];var Xa=Aa[1],jo=Ri[0]-Xa[0],Kc=Ri[1]-Xa[1];Ii=jo*jo+Kc*Kc}}function Ia(){var Za,li,ho,_o,Aa=i.touches(Ur);la.call(Ur);for(var Ps=0,Ri=Aa.length;Ps360?tt-=360:tt<0&&(tt+=360),tt<60?Fe+(Ue-Fe)*tt/60:tt<180?Ue:tt<240?Fe+(Ue-Fe)*(240-tt)/60:Fe}(Xe))}return se=isNaN(se)?0:(se%=360)<0?se+360:se,ve=isNaN(ve)||ve<0?0:ve>1?1:ve,Fe=2*(Ie=Ie<0?0:Ie>1?1:Ie)-(Ue=Ie<=.5?Ie*(1+ve):Ie+ve-Ie*ve),new An(We(se+120),We(se),We(se-120))}function Lt(se,ve,Ie){return this instanceof Lt?(this.h=+se,this.c=+ve,void(this.l=+Ie)):arguments.length<2?se instanceof Lt?new Lt(se.h,se.c,se.l):Qt(se instanceof wt?se.l:(se=Dn((se=i.rgb(se)).r,se.g,se.b)).l,se.a,se.b):new Lt(se,ve,Ie)}_t.brighter=function(se){return se=Math.pow(.7,arguments.length?se:1),new dt(this.h,this.s,this.l/se)},_t.darker=function(se){return se=Math.pow(.7,arguments.length?se:1),new dt(this.h,this.s,se*this.l)},_t.rgb=function(){return It(this.h,this.s,this.l)},i.hcl=Lt;var yt=Lt.prototype=new ut;function Pt(se,ve,Ie){return isNaN(se)&&(se=0),isNaN(ve)&&(ve=0),new wt(Ie,Math.cos(se*=Ke)*ve,Math.sin(se)*ve)}function wt(se,ve,Ie){return this instanceof wt?(this.l=+se,this.a=+ve,void(this.b=+Ie)):arguments.length<2?se instanceof wt?new wt(se.l,se.a,se.b):se instanceof Lt?Pt(se.h,se.c,se.l):Dn((se=An(se)).r,se.g,se.b):new wt(se,ve,Ie)}yt.brighter=function(se){return new Lt(this.h,this.c,Math.min(100,this.l+Rt*(arguments.length?se:1)))},yt.darker=function(se){return new Lt(this.h,this.c,Math.max(0,this.l-Rt*(arguments.length?se:1)))},yt.rgb=function(){return Pt(this.h,this.c,this.l).rgb()},i.lab=wt;var Rt=18,Nt=.95047,Yt=1.08883,Wt=wt.prototype=new ut;function Xt(se,ve,Ie){var Fe=(se+16)/116,Ue=Fe+ve/500,We=Fe-Ie/200;return new An(un(3.2404542*(Ue=rn(Ue)*Nt)-1.5371385*(Fe=1*rn(Fe))-.4985314*(We=rn(We)*Yt)),un(-.969266*Ue+1.8760108*Fe+.041556*We),un(.0556434*Ue-.2040259*Fe+1.0572252*We))}function Qt(se,ve,Ie){return se>0?new Lt(Math.atan2(Ie,ve)*Je,Math.sqrt(ve*ve+Ie*Ie),se):new Lt(NaN,NaN,se)}function rn(se){return se>.206893034?se*se*se:(se-.13793103448275862)/7.787037}function xn(se){return se>.008856?Math.pow(se,.3333333333333333):7.787037*se+.13793103448275862}function un(se){return Math.round(255*(se<=.00304?12.92*se:1.055*Math.pow(se,.4166666666666667)-.055))}function An(se,ve,Ie){return this instanceof An?(this.r=~~se,this.g=~~ve,void(this.b=~~Ie)):arguments.length<2?se instanceof An?new An(se.r,se.g,se.b):dn(""+se,An,It):new An(se,ve,Ie)}function Yn(se){return new An(se>>16,se>>8&255,255&se)}function kn(se){return Yn(se)+""}Wt.brighter=function(se){return new wt(Math.min(100,this.l+Rt*(arguments.length?se:1)),this.a,this.b)},Wt.darker=function(se){return new wt(Math.max(0,this.l-Rt*(arguments.length?se:1)),this.a,this.b)},Wt.rgb=function(){return Xt(this.l,this.a,this.b)},i.rgb=An;var sn=An.prototype=new ut;function Tn(se){return se<16?"0"+Math.max(0,se).toString(16):Math.min(255,se).toString(16)}function dn(se,ve,Ie){var Fe,Ue,We,Xe=0,tt=0,lt=0;if(Fe=/([a-z]+)\((.*)\)/.exec(se=se.toLowerCase()))switch(Ue=Fe[2].split(","),Fe[1]){case"hsl":return Ie(parseFloat(Ue[0]),parseFloat(Ue[1])/100,parseFloat(Ue[2])/100);case"rgb":return ve(jn(Ue[0]),jn(Ue[1]),jn(Ue[2]))}return(We=Gn.get(se))?ve(We.r,We.g,We.b):(se==null||se.charAt(0)!=="#"||isNaN(We=parseInt(se.slice(1),16))||(se.length===4?(Xe=(3840&We)>>4,Xe|=Xe>>4,tt=240&We,tt|=tt>>4,lt=15&We,lt|=lt<<4):se.length===7&&(Xe=(16711680&We)>>16,tt=(65280&We)>>8,lt=255&We)),ve(Xe,tt,lt))}function pn(se,ve,Ie){var Fe,Ue,We=Math.min(se/=255,ve/=255,Ie/=255),Xe=Math.max(se,ve,Ie),tt=Xe-We,lt=(Xe+We)/2;return tt?(Ue=lt<.5?tt/(Xe+We):tt/(2-Xe-We),Fe=se==Xe?(ve-Ie)/tt+(ve0&<<1?0:Fe),new dt(Fe,Ue,lt)}function Dn(se,ve,Ie){var Fe=xn((.4124564*(se=In(se))+.3575761*(ve=In(ve))+.1804375*(Ie=In(Ie)))/Nt),Ue=xn((.2126729*se+.7151522*ve+.072175*Ie)/1);return wt(116*Ue-16,500*(Fe-Ue),200*(Ue-xn((.0193339*se+.119192*ve+.9503041*Ie)/Yt)))}function In(se){return(se/=255)<=.04045?se/12.92:Math.pow((se+.055)/1.055,2.4)}function jn(se){var ve=parseFloat(se);return se.charAt(se.length-1)==="%"?Math.round(2.55*ve):ve}sn.brighter=function(se){se=Math.pow(.7,arguments.length?se:1);var ve=this.r,Ie=this.g,Fe=this.b,Ue=30;return ve||Ie||Fe?(ve&&ve=200&&Ut<300||Ut===304){try{zt=Ie.call(Ue,tt)}catch(Ht){return void We.error.call(Ue,Ht)}We.load.call(Ue,zt)}else We.error.call(Ue,tt)}return self.XDomainRequest&&!("withCredentials"in tt)&&/^(http(s)?:)?\/\//.test(se)&&(tt=new XDomainRequest),"onload"in tt?tt.onload=tt.onerror=mt:tt.onreadystatechange=function(){tt.readyState>3&&mt()},tt.onprogress=function(zt){var Ut=i.event;i.event=zt;try{We.progress.call(Ue,tt)}finally{i.event=Ut}},Ue.header=function(zt,Ut){return zt=(zt+"").toLowerCase(),arguments.length<2?Xe[zt]:(Ut==null?delete Xe[zt]:Xe[zt]=Ut+"",Ue)},Ue.mimeType=function(zt){return arguments.length?(ve=zt==null?null:zt+"",Ue):ve},Ue.responseType=function(zt){return arguments.length?(lt=zt,Ue):lt},Ue.response=function(zt){return Ie=zt,Ue},["get","post"].forEach(function(zt){Ue[zt]=function(){return Ue.send.apply(Ue,[zt].concat(v(arguments)))}}),Ue.send=function(zt,Ut,Ht){if(arguments.length===2&&typeof Ut=="function"&&(Ht=Ut,Ut=null),tt.open(zt,se,!0),ve==null||"accept"in Xe||(Xe.accept=ve+",*/*"),tt.setRequestHeader)for(var en in Xe)tt.setRequestHeader(en,Xe[en]);return ve!=null&&tt.overrideMimeType&&tt.overrideMimeType(ve),lt!=null&&(tt.responseType=lt),Ht!=null&&Ue.on("error",Ht).on("load",function(vn){Ht(null,vn)}),We.beforesend.call(Ue,tt),tt.send(Ut??null),Ue},Ue.abort=function(){return tt.abort(),Ue},i.rebind(Ue,We,"on"),Fe==null?Ue:Ue.get(function(zt){return zt.length===1?function(Ut,Ht){zt(Ut==null?Ht:null)}:zt}(Fe))}Gn.forEach(function(se,ve){Gn.set(se,Yn(ve))}),i.functor=qn,i.xhr=lr(W),i.dsv=function(se,ve){var Ie=new RegExp('["'+se+` ]`),Fe=se.charCodeAt(0);function Ue(mt,zt,Ut){arguments.length<3&&(Ut=zt,zt=null);var Ht=rr(mt,ve,zt==null?We:Xe(zt),Ut);return Ht.row=function(en){return arguments.length?Ht.response((zt=en)==null?We:Xe(en)):zt},Ht}function We(mt){return Ue.parse(mt.responseText)}function Xe(mt){return function(zt){return Ue.parse(zt.responseText,mt)}}function tt(mt){return mt.map(lt).join(se)}function lt(mt){return Ie.test(mt)?'"'+mt.replace(/\"/g,'""')+'"':mt}return Ue.parse=function(mt,zt){var Ut;return Ue.parseRows(mt,function(Ht,en){if(Ut)return Ut(Ht,en-1);var vn=function(tn){for(var ln={},an=Ht.length,Cn=0;Cn=ln)return vn;if(Ht)return Ht=!1,en;var Fn=an;if(mt.charCodeAt(Fn)===34){for(var Hn=Fn;Hn++24?(isFinite(ve)&&(clearTimeout(vr),vr=setTimeout(bn,ve)),or=0):(or=1,_r(bn))}function Rn(){for(var se=Date.now(),ve=Sr;ve;)se>=ve.t&&ve.c(se-ve.t)&&(ve.c=null),ve=ve.n;return se}function Ln(){for(var se,ve=Sr,Ie=1/0;ve;)ve.c?(ve.t1&&(ve=se[We[Xe-2]],Ie=se[We[Xe-1]],Fe=se[tt],(Ie[0]-ve[0])*(Fe[1]-ve[1])-(Ie[1]-ve[1])*(Fe[0]-ve[0])<=0);)--Xe;We[Xe++]=tt}return We.slice(0,Xe)}function tr(se,ve){return se[0]-ve[0]||se[1]-ve[1]}i.timer=function(){Kt.apply(this,arguments)},i.timer.flush=function(){Rn(),Ln()},i.round=function(se,ve){return ve?Math.round(se*(ve=Math.pow(10,ve)))/ve:Math.round(se)},i.geom={},i.geom.hull=function(se){var ve=Un,Ie=Kn;if(arguments.length)return Fe(se);function Fe(Ue){if(Ue.length<3)return[];var We,Xe=qn(ve),tt=qn(Ie),lt=Ue.length,mt=[],zt=[];for(We=0;We=0;--We)tn.push(Ue[mt[Ut[We]][2]]);for(We=+en;WeFt)tt=tt.L;else{if(!((Ue=We-Qn(tt,Xe))>Ft)){Fe>-Ft?(ve=tt.P,Ie=tt):Ue>-Ft?(ve=tt,Ie=tt.N):ve=Ie=tt;break}if(!tt.R){ve=tt;break}tt=tt.R}var lt=yn(se);if(zn.insert(ve,lt),ve||Ie){if(ve===Ie)return br(ve),Ie=yn(ve.site),zn.insert(lt,Ie),lt.edge=Ie.edge=zr(ve.site,lt.site),dr(ve),void dr(Ie);if(Ie){br(ve),br(Ie);var mt=ve.site,zt=mt.x,Ut=mt.y,Ht=se.x-zt,en=se.y-Ut,vn=Ie.site,tn=vn.x-zt,ln=vn.y-Ut,an=2*(Ht*ln-en*tn),Cn=Ht*Ht+en*en,_n=tn*tn+ln*ln,on={x:(ln*Cn-en*_n)/an+zt,y:(Ht*_n-tn*Cn)/an+Ut};gr(Ie.edge,mt,vn,on),lt.edge=zr(mt,se,null,on),Ie.edge=zr(se,vn,null,on),dr(ve),dr(Ie)}else lt.edge=zr(ve.site,lt.site)}}function nr(se,ve){var Ie=se.site,Fe=Ie.x,Ue=Ie.y,We=Ue-ve;if(!We)return Fe;var Xe=se.P;if(!Xe)return-1/0;var tt=(Ie=Xe.site).x,lt=Ie.y,mt=lt-ve;if(!mt)return tt;var zt=tt-Fe,Ut=1/We-1/mt,Ht=zt/mt;return Ut?(-Ht+Math.sqrt(Ht*Ht-2*Ut*(zt*zt/(-2*mt)-lt+mt/2+Ue-We/2)))/Ut+Fe:(Fe+tt)/2}function Qn(se,ve){var Ie=se.N;if(Ie)return nr(Ie,ve);var Fe=se.site;return Fe.y===ve?Fe.x:1/0}function fr(se){this.site=se,this.edges=[]}function cr(se,ve){return ve.angle-se.angle}function pr(){ji(this),this.x=this.y=this.arc=this.site=this.cy=null}function dr(se){var ve=se.P,Ie=se.N;if(ve&&Ie){var Fe=ve.site,Ue=se.site,We=Ie.site;if(Fe!==We){var Xe=Ue.x,tt=Ue.y,lt=Fe.x-Xe,mt=Fe.y-tt,zt=We.x-Xe,Ut=2*(lt*(ln=We.y-tt)-mt*zt);if(!(Ut>=-1e-12)){var Ht=lt*lt+mt*mt,en=zt*zt+ln*ln,vn=(ln*Ht-mt*en)/Ut,tn=(lt*en-zt*Ht)/Ut,ln=tn+tt,an=wn.pop()||new pr;an.arc=se,an.site=Ue,an.x=vn+Xe,an.y=ln+Math.sqrt(vn*vn+tn*tn),an.cy=ln,se.circle=an;for(var Cn=null,_n=En._;_n;)if(an.y<_n.y||an.y===_n.y&&an.x<=_n.x){if(!_n.L){Cn=_n.P;break}_n=_n.L}else{if(!_n.R){Cn=_n;break}_n=_n.R}En.insert(Cn,an),Cn||(On=an)}}}}function br(se){var ve=se.circle;ve&&(ve.P||(On=ve.N),En.remove(ve),wn.push(ve),ji(ve),se.circle=null)}function Rr(se,ve){var Ie=se.b;if(Ie)return!0;var Fe,Ue,We=se.a,Xe=ve[0][0],tt=ve[1][0],lt=ve[0][1],mt=ve[1][1],zt=se.l,Ut=se.r,Ht=zt.x,en=zt.y,vn=Ut.x,tn=Ut.y,ln=(Ht+vn)/2,an=(en+tn)/2;if(tn===en){if(ln=tt)return;if(Ht>vn){if(We){if(We.y>=mt)return}else We={x:ln,y:lt};Ie={x:ln,y:mt}}else{if(We){if(We.y1)if(Ht>vn){if(We){if(We.y>=mt)return}else We={x:(lt-Ue)/Fe,y:lt};Ie={x:(mt-Ue)/Fe,y:mt}}else{if(We){if(We.y=tt)return}else We={x:Xe,y:Fe*Xe+Ue};Ie={x:tt,y:Fe*tt+Ue}}else{if(We){if(We.x0)){if(an/=ar,ar<0){if(an0){if(an>ir)return;an>Hn&&(Hn=an)}if(an=Ut-on,ar||!(an<0)){if(an/=ar,ar<0){if(an>ir)return;an>Hn&&(Hn=an)}else if(ar>0){if(an0)){if(an/=Mr,Mr<0){if(an0){if(an>ir)return;an>Hn&&(Hn=an)}if(an=Ht-Fn,Mr||!(an<0)){if(an/=Mr,Mr<0){if(an>ir)return;an>Hn&&(Hn=an)}else if(Mr>0){if(an0&&(ln.a={x:on+Hn*ar,y:Fn+Hn*Mr}),ir<1&&(ln.b={x:on+ir*ar,y:Fn+ir*Mr}),ln}}}}}),tn=en.length;tn--;)(!Rr(lt=en[tn],tt)||!vn(lt)||E(lt.a.x-lt.b.x)Ft||E(Ut-mt)>Ft)&&(vn.splice(en,0,new Fr((ar=Ht.site,Mr=an,Er=E(zt-Cn)Ft?{x:Cn,y:E(lt-Cn)Ft?{x:E(mt-Fn)Ft?{x:_n,y:E(lt-_n)Ft?{x:E(mt-on)=zt&&an.x<=Ht&&an.y>=Ut&&an.y<=en?[[zt,en],[Ht,en],[Ht,Ut],[zt,Ut]]:[]).point=lt[tn]}),mt}function tt(lt){return lt.map(function(mt,zt){return{x:Math.round(Fe(mt,zt)/Ft)*Ft,y:Math.round(Ue(mt,zt)/Ft)*Ft,i:zt}})}return Xe.links=function(lt){return La(tt(lt)).edges.filter(function(mt){return mt.l&&mt.r}).map(function(mt){return{source:lt[mt.l.i],target:lt[mt.r.i]}})},Xe.triangles=function(lt){var mt=[];return La(tt(lt)).cells.forEach(function(zt,Ut){for(var Ht,en,vn,tn,ln=zt.site,an=zt.edges.sort(cr),Cn=-1,_n=an.length,on=an[_n-1].edge,Fn=on.l===ln?on.r:on.l;++Cn<_n;)Ht=Fn,Fn=(on=an[Cn].edge).l===ln?on.r:on.l,UtWe||Ht>Xe||en=Hn)<<1|ve>=Fn,ar=ir+4;irWe&&(Ue=ve.slice(We,Ue),tt[Xe]?tt[Xe]+=Ue:tt[++Xe]=Ue),(Ie=Ie[0])===(Fe=Fe[0])?tt[Xe]?tt[Xe]+=Fe:tt[++Xe]=Fe:(tt[++Xe]=null,lt.push({i:Xe,x:os(Ie,Fe)})),We=fc.lastIndex;return Wean&&(an=zt.x),zt.y>Cn&&(Cn=zt.y),Ut.push(zt.x),Ht.push(zt.y);else for(en=0;enan&&(an=Fn),Hn>Cn&&(Cn=Hn),Ut.push(Fn),Ht.push(Hn)}var ir=an-tn,ar=Cn-ln;function Mr(kr,jr,hi,di,wr,Ur,oi,ai){if(!isNaN(hi)&&!isNaN(di))if(kr.leaf){var Ii=kr.x,vi=kr.y;if(Ii!=null)if(E(Ii-hi)+E(vi-di)<.01)Er(kr,jr,hi,di,wr,Ur,oi,ai);else{var Ni=kr.point;kr.x=kr.y=kr.point=null,Er(kr,Ni,Ii,vi,wr,Ur,oi,ai),Er(kr,jr,hi,di,wr,Ur,oi,ai)}else kr.x=hi,kr.y=di,kr.point=jr}else Er(kr,jr,hi,di,wr,Ur,oi,ai)}function Er(kr,jr,hi,di,wr,Ur,oi,ai){var Ii=.5*(wr+oi),vi=.5*(Ur+ai),Ni=hi>=Ii,na=di>=vi,pa=na<<1|Ni;kr.leaf=!1,Ni?wr=Ii:oi=Ii,na?Ur=vi:ai=vi,Mr(kr=kr.nodes[pa]||(kr.nodes[pa]={leaf:!0,nodes:[],point:null,x:null,y:null}),jr,hi,di,wr,Ur,oi,ai)}ir>ar?Cn=ln+ir:an=tn+ar;var xr={leaf:!0,nodes:[],point:null,x:null,y:null,add:function(kr){Mr(xr,kr,+_n(kr,++en),+on(kr,en),tn,ln,an,Cn)},visit:function(kr){Eu(kr,xr,tn,ln,an,Cn)},find:function(kr){return gh(xr,kr[0],kr[1],tn,ln,an,Cn)}};if(en=-1,ve==null){for(;++en=0&&!(Ie=i.interpolators[Fe](se,ve)););return Ie}function ss(se,ve){var Ie,Fe=[],Ue=[],We=se.length,Xe=ve.length,tt=Math.min(se.length,ve.length);for(Ie=0;Ie=1?1:se(ve)}}function Is(se){return function(ve){return 1-se(1-ve)}}function js(se){return function(ve){return .5*(ve<.5?se(2*ve):2-se(2-2*ve))}}function hc(se){return se*se}function vh(se){return se*se*se}function nl(se){if(se<=0)return 0;if(se>=1)return 1;var ve=se*se,Ie=ve*se;return 4*(se<.5?Ie:3*(se-ve)+Ie-.75)}function yh(se){return 1-Math.cos(se*Vt)}function bh(se){return Math.pow(2,10*(se-1))}function id(se){return 1-Math.sqrt(1-se*se)}function Cf(se){return se<.36363636363636365?7.5625*se*se:se<.7272727272727273?7.5625*(se-=.5454545454545454)*se+.75:se<.9090909090909091?7.5625*(se-=.8181818181818182)*se+.9375:7.5625*(se-=.9545454545454546)*se+.984375}function xh(se,ve){return ve-=se,function(Ie){return Math.round(se+ve*Ie)}}function Ef(se){var ve,Ie,Fe,Ue=[se.a,se.b],We=[se.c,se.d],Xe=il(Ue),tt=rl(Ue,We),lt=il(((ve=We)[0]+=(Fe=-tt)*(Ie=Ue)[0],ve[1]+=Fe*Ie[1],ve))||0;Ue[0]*We[1]=0?se.slice(0,ve):se,Fe=ve>=0?se.slice(ve+1):"in";return Ie=Ui.get(Ie)||Al,ms((Fe=Sl.get(Fe)||W)(Ie.apply(null,M.call(arguments,1))))},i.interpolateHcl=function(se,ve){se=i.hcl(se),ve=i.hcl(ve);var Ie=se.h,Fe=se.c,Ue=se.l,We=ve.h-Ie,Xe=ve.c-Fe,tt=ve.l-Ue;return isNaN(Xe)&&(Xe=0,Fe=isNaN(Fe)?ve.c:Fe),isNaN(We)?(We=0,Ie=isNaN(Ie)?ve.h:Ie):We>180?We-=360:We<-180&&(We+=360),function(lt){return Pt(Ie+We*lt,Fe+Xe*lt,Ue+tt*lt)+""}},i.interpolateHsl=function(se,ve){se=i.hsl(se),ve=i.hsl(ve);var Ie=se.h,Fe=se.s,Ue=se.l,We=ve.h-Ie,Xe=ve.s-Fe,tt=ve.l-Ue;return isNaN(Xe)&&(Xe=0,Fe=isNaN(Fe)?ve.s:Fe),isNaN(We)?(We=0,Ie=isNaN(Ie)?ve.h:Ie):We>180?We-=360:We<-180&&(We+=360),function(lt){return It(Ie+We*lt,Fe+Xe*lt,Ue+tt*lt)+""}},i.interpolateLab=function(se,ve){se=i.lab(se),ve=i.lab(ve);var Ie=se.l,Fe=se.a,Ue=se.b,We=ve.l-Ie,Xe=ve.a-Fe,tt=ve.b-Ue;return function(lt){return Xt(Ie+We*lt,Fe+Xe*lt,Ue+tt*lt)+""}},i.interpolateRound=xh,i.transform=function(se){var ve=h.createElementNS(i.ns.prefix.svg,"g");return(i.transform=function(Ie){if(Ie!=null){ve.setAttribute("transform",Ie);var Fe=ve.transform.baseVal.consolidate()}return new Ef(Fe?Fe.matrix:Iu)})(se)},Ef.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var Iu={a:1,b:0,c:0,d:1,e:0,f:0};function al(se){return se.length?se.pop()+",":""}function Lf(se,ve){var Ie=[],Fe=[];return se=i.transform(se),ve=i.transform(ve),function(Ue,We,Xe,tt){if(Ue[0]!==We[0]||Ue[1]!==We[1]){var lt=Xe.push("translate(",null,",",null,")");tt.push({i:lt-4,x:os(Ue[0],We[0])},{i:lt-2,x:os(Ue[1],We[1])})}else(We[0]||We[1])&&Xe.push("translate("+We+")")}(se.translate,ve.translate,Ie,Fe),function(Ue,We,Xe,tt){Ue!==We?(Ue-We>180?We+=360:We-Ue>180&&(Ue+=360),tt.push({i:Xe.push(al(Xe)+"rotate(",null,")")-2,x:os(Ue,We)})):We&&Xe.push(al(Xe)+"rotate("+We+")")}(se.rotate,ve.rotate,Ie,Fe),function(Ue,We,Xe,tt){Ue!==We?tt.push({i:Xe.push(al(Xe)+"skewX(",null,")")-2,x:os(Ue,We)}):We&&Xe.push(al(Xe)+"skewX("+We+")")}(se.skew,ve.skew,Ie,Fe),function(Ue,We,Xe,tt){if(Ue[0]!==We[0]||Ue[1]!==We[1]){var lt=Xe.push(al(Xe)+"scale(",null,",",null,")");tt.push({i:lt-4,x:os(Ue[0],We[0])},{i:lt-2,x:os(Ue[1],We[1])})}else We[0]===1&&We[1]===1||Xe.push(al(Xe)+"scale("+We+")")}(se.scale,ve.scale,Ie,Fe),se=ve=null,function(Ue){for(var We,Xe=-1,tt=Fe.length;++Xe0?Ie=on:(se.c=null,se.t=NaN,se=null,tt.end({type:"end",alpha:Ie=0})):on>0&&(tt.start({type:"start",alpha:Ie=on}),se=Kt(Xe.tick)),Xe):Ie},Xe.start=function(){var on,Fn,Hn,ir=ln.length,ar=an.length,Mr=lt[0],Er=lt[1];for(on=0;on=0;)Ie.push(Ue[Fe])}function gs(se,ve){for(var Ie=[se],Fe=[];(se=Ie.pop())!=null;)if(Fe.push(se),(We=se.children)&&(Ue=We.length))for(var Ue,We,Xe=-1;++Xe=0;)Xe.push(zt=mt[lt]),zt.parent=We,zt.depth=We.depth+1;Ie&&(We.value=0),We.children=mt}else Ie&&(We.value=+Ie.call(Fe,We,We.depth)||0),delete We.children;return gs(Ue,function(Ut){var Ht,en;se&&(Ht=Ut.children)&&Ht.sort(se),Ie&&(en=Ut.parent)&&(en.value+=Ut.value)}),tt}return Fe.sort=function(Ue){return arguments.length?(se=Ue,Fe):se},Fe.children=function(Ue){return arguments.length?(ve=Ue,Fe):ve},Fe.value=function(Ue){return arguments.length?(Ie=Ue,Fe):Ie},Fe.revalue=function(Ue){return Ie&&(Pu(Ue,function(We){We.children&&(We.value=0)}),gs(Ue,function(We){var Xe;We.children||(We.value=+Ie.call(Fe,We,We.depth)||0),(Xe=We.parent)&&(Xe.value+=We.value)})),Ue},Fe},i.layout.partition=function(){var se=i.layout.hierarchy(),ve=[1,1];function Ie(We,Xe,tt,lt){var mt=We.children;if(We.x=Xe,We.y=We.depth*lt,We.dx=tt,We.dy=lt,mt&&(zt=mt.length)){var zt,Ut,Ht,en=-1;for(tt=We.value?tt/We.value:0;++entt&&(tt=Fe),Xe.push(Fe)}for(Ie=0;IeUe&&(Fe=Ie,Ue=ve);return Fe}function Ll(se){return se.reduce(Hc,0)}function Hc(se,ve){return se+ve[1]}function xc(se,ve){return Of(se,Math.ceil(Math.log(ve.length)/Math.LN2+1))}function Of(se,ve){for(var Ie=-1,Fe=+se[0],Ue=(se[1]-Fe)/ve,We=[];++Ie<=ve;)We[Ie]=Ue*Ie+Fe;return We}function _c(se){return[i.min(se),i.max(se)]}function zu(se,ve){return se.value-ve.value}function ru(se,ve){var Ie=se._pack_next;se._pack_next=ve,ve._pack_prev=se,ve._pack_next=Ie,Ie._pack_prev=ve}function iu(se,ve){se._pack_next=ve,ve._pack_prev=se}function Ki(se,ve){var Ie=ve.x-se.x,Fe=ve.y-se.y,Ue=se.r+ve.r;return .999*Ue*Ue>Ie*Ie+Fe*Fe}function Il(se){if((ve=se.children)&&(lt=ve.length)){var ve,Ie,Fe,Ue,We,Xe,tt,lt,mt=1/0,zt=-1/0,Ut=1/0,Ht=-1/0;if(ve.forEach(Rl),(Ie=ve[0]).x=-Ie.r,Ie.y=0,_n(Ie),lt>1&&((Fe=ve[1]).x=Fe.r,Fe.y=0,_n(Fe),lt>2))for(Bi(Ie,Fe,Ue=ve[2]),_n(Ue),ru(Ie,Ue),Ie._pack_prev=Ue,ru(Ue,Fe),Fe=Ie._pack_next,We=3;We0)for(Xe=-1;++Xe=Ut[0]&<<=Ut[1]&&((tt=mt[i.bisect(Ht,lt,1,vn)-1]).y+=tn,tt.push(We[Xe]));return mt}return Ue.value=function(We){return arguments.length?(ve=We,Ue):ve},Ue.range=function(We){return arguments.length?(Ie=qn(We),Ue):Ie},Ue.bins=function(We){return arguments.length?(Fe=typeof We=="number"?function(Xe){return Of(Xe,We)}:qn(We),Ue):Fe},Ue.frequency=function(We){return arguments.length?(se=!!We,Ue):se},Ue},i.layout.pack=function(){var se,ve=i.layout.hierarchy().sort(zu),Ie=0,Fe=[1,1];function Ue(We,Xe){var tt=ve.call(this,We,Xe),lt=tt[0],mt=Fe[0],zt=Fe[1],Ut=se==null?Math.sqrt:typeof se=="function"?se:function(){return se};if(lt.x=lt.y=0,gs(lt,function(en){en.r=+Ut(en.value)}),gs(lt,Il),Ie){var Ht=Ie*(se?1:Math.max(2*lt.r/mt,2*lt.r/zt))/2;gs(lt,function(en){en.r+=Ht}),gs(lt,Il),gs(lt,function(en){en.r-=Ht})}return Oi(lt,mt/2,zt/2,se?1:1/Math.max(2*lt.r/mt,2*lt.r/zt)),tt}return Ue.size=function(We){return arguments.length?(Fe=We,Ue):Fe},Ue.radius=function(We){return arguments.length?(se=We==null||typeof We=="function"?We:+We,Ue):se},Ue.padding=function(We){return arguments.length?(Ie=+We,Ue):Ie},eu(Ue,ve)},i.layout.tree=function(){var se=i.layout.hierarchy().sort(null).value(null),ve=sl,Ie=[1,1],Fe=null;function Ue(lt,mt){var zt=se.call(this,lt,mt),Ut=zt[0],Ht=function(_n){for(var on,Fn={A:null,children:[_n]},Hn=[Fn];(on=Hn.pop())!=null;)for(var ir,ar=on.children,Mr=0,Er=ar.length;Mrvn.x&&(vn=_n),_n.depth>tn.depth&&(tn=_n)});var ln=ve(en,vn)/2-en.x,an=Ie[0]/(vn.x+ve(vn,en)/2+ln),Cn=Ie[1]/(tn.depth||1);Pu(Ut,function(_n){_n.x=(_n.x+ln)*an,_n.y=_n.depth*Cn})}return zt}function We(lt){var mt=lt.children,zt=lt.parent.children,Ut=lt.i?zt[lt.i-1]:null;if(mt.length){(function(en){for(var vn,tn=0,ln=0,an=en.children,Cn=an.length;--Cn>=0;)(vn=an[Cn]).z+=tn,vn.m+=tn,tn+=vn.s+(ln+=vn.c)})(lt);var Ht=(mt[0].z+mt[mt.length-1].z)/2;Ut?(lt.z=Ut.z+ve(lt._,Ut._),lt.m=lt.z-Ht):lt.z=Ht}else Ut&&(lt.z=Ut.z+ve(lt._,Ut._));lt.parent.A=function(en,vn,tn){if(vn){for(var ln,an=en,Cn=en,_n=vn,on=an.parent.children[0],Fn=an.m,Hn=Cn.m,ir=_n.m,ar=on.m;_n=Gc(_n),an=Us(an),_n&&an;)on=Us(on),(Cn=Gc(Cn)).a=en,(ln=_n.z+ir-an.z-Fn+ve(_n._,an._))>0&&(Df(au(_n,en,tn),en,ln),Fn+=ln,Hn+=ln),ir+=_n.m,Fn+=an.m,ar+=on.m,Hn+=Cn.m;_n&&!Gc(Cn)&&(Cn.t=_n,Cn.m+=ir-Hn),an&&!Us(on)&&(on.t=an,on.m+=Fn-ar,tn=en)}return tn}(lt,Ut,lt.parent.A||zt[0])}function Xe(lt){lt._.x=lt.z+lt.parent.m,lt.m+=lt.parent.m}function tt(lt){lt.x*=Ie[0],lt.y=lt.depth*Ie[1]}return Ue.separation=function(lt){return arguments.length?(ve=lt,Ue):ve},Ue.size=function(lt){return arguments.length?(Fe=(Ie=lt)==null?tt:null,Ue):Fe?null:Ie},Ue.nodeSize=function(lt){return arguments.length?(Fe=(Ie=lt)==null?null:tt,Ue):Fe?Ie:null},eu(Ue,se)},i.layout.cluster=function(){var se=i.layout.hierarchy().sort(null).value(null),ve=sl,Ie=[1,1],Fe=!1;function Ue(We,Xe){var tt,lt=se.call(this,We,Xe),mt=lt[0],zt=0;gs(mt,function(tn){var ln=tn.children;ln&&ln.length?(tn.x=function(an){return an.reduce(function(Cn,_n){return Cn+_n.x},0)/an.length}(ln),tn.y=function(an){return 1+i.max(an,function(Cn){return Cn.y})}(ln)):(tn.x=tt?zt+=ve(tn,tt):0,tn.y=0,tt=tn)});var Ut=zf(mt),Ht=ou(mt),en=Ut.x-ve(Ut,Ht)/2,vn=Ht.x+ve(Ht,Ut)/2;return gs(mt,Fe?function(tn){tn.x=(tn.x-mt.x)*Ie[0],tn.y=(mt.y-tn.y)*Ie[1]}:function(tn){tn.x=(tn.x-en)/(vn-en)*Ie[0],tn.y=(1-(mt.y?tn.y/mt.y:1))*Ie[1]}),lt}return Ue.separation=function(We){return arguments.length?(ve=We,Ue):ve},Ue.size=function(We){return arguments.length?(Fe=(Ie=We)==null,Ue):Fe?null:Ie},Ue.nodeSize=function(We){return arguments.length?(Fe=(Ie=We)!=null,Ue):Fe?Ie:null},eu(Ue,se)},i.layout.treemap=function(){var se,ve=i.layout.hierarchy(),Ie=Math.round,Fe=[1,1],Ue=null,We=ll,Xe=!1,tt="squarify",lt=.5*(1+Math.sqrt(5));function mt(tn,ln){for(var an,Cn,_n=-1,on=tn.length;++_n0;)Fn.push(an=Hn[_n-1]),Fn.area+=an.area,tt!=="squarify"||(Cn=Ht(Fn,ar))<=ir?(Hn.pop(),ir=Cn):(Fn.area-=Fn.pop().area,en(Fn,ar,on,!1),ar=Math.min(on.dx,on.dy),Fn.length=Fn.area=0,ir=1/0);Fn.length&&(en(Fn,ar,on,!0),Fn.length=Fn.area=0),ln.forEach(zt)}}function Ut(tn){var ln=tn.children;if(ln&&ln.length){var an,Cn=We(tn),_n=ln.slice(),on=[];for(mt(_n,Cn.dx*Cn.dy/tn.value),on.area=0;an=_n.pop();)on.push(an),on.area+=an.area,an.z!=null&&(en(on,an.z?Cn.dx:Cn.dy,Cn,!_n.length),on.length=on.area=0);ln.forEach(Ut)}}function Ht(tn,ln){for(var an,Cn=tn.area,_n=0,on=1/0,Fn=-1,Hn=tn.length;++Fn_n&&(_n=an));return ln*=ln,(Cn*=Cn)?Math.max(ln*_n*lt/Cn,Cn/(ln*on*lt)):1/0}function en(tn,ln,an,Cn){var _n,on=-1,Fn=tn.length,Hn=an.x,ir=an.y,ar=ln?Ie(tn.area/ln):0;if(ln==an.dx){for((Cn||ar>an.dy)&&(ar=an.dy);++onan.dx)&&(ar=an.dx);++on1);return se+ve*Fe*Math.sqrt(-2*Math.log(We)/We)}},logNormal:function(){var se=i.random.normal.apply(i,arguments);return function(){return Math.exp(se())}},bates:function(se){var ve=i.random.irwinHall(se);return function(){return ve()/se}},irwinHall:function(se){return function(){for(var ve=0,Ie=0;Ie2?co:lu,mt=Fe?Jl:If;return Ue=lt(se,ve,mt,Ie),We=lt(ve,se,mt,Yo),tt}function tt(lt){return Ue(lt)}return tt.invert=function(lt){return We(lt)},tt.domain=function(lt){return arguments.length?(se=lt.map(Number),Xe()):se},tt.range=function(lt){return arguments.length?(ve=lt,Xe()):ve},tt.rangeRound=function(lt){return tt.range(lt).interpolate(xh)},tt.clamp=function(lt){return arguments.length?(Fe=lt,Xe()):Fe},tt.interpolate=function(lt){return arguments.length?(Ie=lt,Xe()):Ie},tt.ticks=function(lt){return Zo(se,lt)},tt.tickFormat=function(lt,mt){return d3_scale_linearTickFormat(se,lt,mt)},tt.nice=function(lt){return ys(se,lt),Xe()},tt.copy=function(){return zo(se,ve,Ie,Fe)},Xe()}function Pl(se,ve){return i.rebind(se,ve,"range","rangeRound","interpolate","clamp")}function ys(se,ve){return Ha(se,mo(Ya(se,ve)[2])),Ha(se,mo(Ya(se,ve)[2])),se}function Ya(se,ve){ve==null&&(ve=10);var Ie=da(se),Fe=Ie[1]-Ie[0],Ue=Math.pow(10,Math.floor(Math.log(Fe/ve)/Math.LN10)),We=ve/Fe*Ue;return We<=.15?Ue*=10:We<=.35?Ue*=5:We<=.75&&(Ue*=2),Ie[0]=Math.ceil(Ie[0]/Ue)*Ue,Ie[1]=Math.floor(Ie[1]/Ue)*Ue+.5*Ue,Ie[2]=Ue,Ie}function Zo(se,ve){return i.range.apply(i,Ya(se,ve))}function qc(se,ve,Ie,Fe){function Ue(tt){return(Ie?Math.log(tt<0?0:tt):-Math.log(tt>0?0:-tt))/Math.log(ve)}function We(tt){return Ie?Math.pow(ve,tt):-Math.pow(ve,-tt)}function Xe(tt){return se(Ue(tt))}return Xe.invert=function(tt){return We(se.invert(tt))},Xe.domain=function(tt){return arguments.length?(Ie=tt[0]>=0,se.domain((Fe=tt.map(Number)).map(Ue)),Xe):Fe},Xe.base=function(tt){return arguments.length?(ve=+tt,se.domain(Fe.map(Ue)),Xe):ve},Xe.nice=function(){var tt=Ha(Fe.map(Ue),Ie?Math:Wc);return se.domain(tt),Fe=tt.map(We),Xe},Xe.ticks=function(){var tt=da(Fe),lt=[],mt=tt[0],zt=tt[1],Ut=Math.floor(Ue(mt)),Ht=Math.ceil(Ue(zt)),en=ve%1?2:ve;if(isFinite(Ht-Ut)){if(Ie){for(;Ut0;vn--)lt.push(We(Ut)*vn);for(Ut=0;lt[Ut]zt;Ht--);lt=lt.slice(Ut,Ht)}return lt},Xe.copy=function(){return qc(se.copy(),ve,Ie,Fe)},Pl(Xe,se)}i.scale.linear=function(){return zo([0,1],[0,1],Yo,!1)},i.scale.log=function(){return qc(i.scale.linear().domain([0,1]),10,!0,[1,10])};var Wc={floor:function(se){return-Math.ceil(-se)},ceil:function(se){return-Math.floor(-se)}};function Lo(se,ve,Ie){var Fe=Dr(ve),Ue=Dr(1/ve);function We(Xe){return se(Fe(Xe))}return We.invert=function(Xe){return Ue(se.invert(Xe))},We.domain=function(Xe){return arguments.length?(se.domain((Ie=Xe.map(Number)).map(Fe)),We):Ie},We.ticks=function(Xe){return Zo(Ie,Xe)},We.tickFormat=function(Xe,tt){return d3_scale_linearTickFormat(Ie,Xe,tt)},We.nice=function(Xe){return We.domain(ys(Ie,Xe))},We.exponent=function(Xe){return arguments.length?(Fe=Dr(ve=Xe),Ue=Dr(1/ve),se.domain(Ie.map(Fe)),We):ve},We.copy=function(){return Lo(se.copy(),ve,Ie)},Pl(We,se)}function Dr(se){return function(ve){return ve<0?-Math.pow(-ve,se):Math.pow(ve,se)}}function uu(se,ve){var Ie,Fe,Ue;function We(tt){return Fe[((Ie.get(tt)||(ve.t==="range"?Ie.set(tt,se.push(tt)):NaN))-1)%Fe.length]}function Xe(tt,lt){return i.range(se.length).map(function(mt){return tt+lt*mt})}return We.domain=function(tt){if(!arguments.length)return se;se=[],Ie=new L;for(var lt,mt=-1,zt=tt.length;++mt0?Ie[We-1]:se[0],WeHt?0:1;if(zt=qt)return lt(zt,vn)+(mt?lt(mt,1-vn):"")+"Z";var tn,ln,an,Cn,_n,on,Fn,Hn,ir,ar,Mr,Er,xr=0,kr=0,jr=[];if((Cn=(+Xe.apply(this,arguments)||0)/2)&&(an=Fe===wc?Math.sqrt(mt*mt+zt*zt):+Fe.apply(this,arguments),vn||(kr*=-1),zt&&(kr=qe(an/zt*Math.sin(Cn))),mt&&(xr=qe(an/mt*Math.sin(Cn)))),zt){_n=zt*Math.cos(Ut+kr),on=zt*Math.sin(Ut+kr),Fn=zt*Math.cos(Ht-kr),Hn=zt*Math.sin(Ht-kr);var hi=Math.abs(Ht-Ut-2*kr)<=Ot?0:1;if(kr&&Rs(_n,on,Fn,Hn)===vn^hi){var di=(Ut+Ht)/2;_n=zt*Math.cos(di),on=zt*Math.sin(di),Fn=Hn=null}}else _n=on=0;if(mt){ir=mt*Math.cos(Ht-xr),ar=mt*Math.sin(Ht-xr),Mr=mt*Math.cos(Ut+xr),Er=mt*Math.sin(Ut+xr);var wr=Math.abs(Ut-Ht+2*xr)<=Ot?0:1;if(xr&&Rs(ir,ar,Mr,Er)===1-vn^wr){var Ur=(Ut+Ht)/2;ir=mt*Math.cos(Ur),ar=mt*Math.sin(Ur),Mr=Er=null}}else ir=ar=0;if(en>Ft&&(tn=Math.min(Math.abs(zt-mt)/2,+Ie.apply(this,arguments)))>.001){ln=mt0?0:1}function xs(se,ve,Ie,Fe,Ue){var We=se[0]-ve[0],Xe=se[1]-ve[1],tt=(Ue?Fe:-Fe)/Math.sqrt(We*We+Xe*Xe),lt=tt*Xe,mt=-tt*We,zt=se[0]+lt,Ut=se[1]+mt,Ht=ve[0]+lt,en=ve[1]+mt,vn=(zt+Ht)/2,tn=(Ut+en)/2,ln=Ht-zt,an=en-Ut,Cn=ln*ln+an*an,_n=Ie-Fe,on=zt*en-Ht*Ut,Fn=(an<0?-1:1)*Math.sqrt(Math.max(0,_n*_n*Cn-on*on)),Hn=(on*an-ln*Fn)/Cn,ir=(-on*ln-an*Fn)/Cn,ar=(on*an+ln*Fn)/Cn,Mr=(-on*ln+an*Fn)/Cn,Er=Hn-vn,xr=ir-tn,kr=ar-vn,jr=Mr-tn;return Er*Er+xr*xr>kr*kr+jr*jr&&(Hn=ar,ir=Mr),[[Hn-lt,ir-mt],[Hn*Ie/_n,ir*Ie/_n]]}function fu(){return!0}function yo(se){var ve=Un,Ie=Kn,Fe=fu,Ue=$i,We=Ue.key,Xe=.7;function tt(lt){var mt,zt=[],Ut=[],Ht=-1,en=lt.length,vn=qn(ve),tn=qn(Ie);function ln(){zt.push("M",Ue(se(Ut),Xe))}for(;++Ht1&&Ue.push("H",Fe[0]),Ue.join("")},"step-before":ls,"step-after":ws,basis:Wi,"basis-open":function(se){if(se.length<4)return $i(se);for(var ve,Ie=[],Fe=-1,Ue=se.length,We=[0],Xe=[0];++Fe<3;)ve=se[Fe],We.push(ve[0]),Xe.push(ve[1]);for(Ie.push(no(qs,We)+","+no(qs,Xe)),--Fe;++Fe9&&(We=3*Ie/Math.sqrt(We),tt[lt]=We*Fe,tt[lt+1]=We*Ue);for(lt=-1;++lt<=mt;)We=(ve[Math.min(mt,lt+1)][0]-ve[Math.max(0,lt-1)][0])/(6*(1+tt[lt]*tt[lt])),Xe.push([We||0,tt[lt]*We||0]);return Xe}(se))}});function $i(se){return se.length>1?se.join("L"):se+"Z"}function Tc(se){return se.join("L")+"Z"}function ls(se){for(var ve=0,Ie=se.length,Fe=se[0],Ue=[Fe[0],",",Fe[1]];++ve1){tt=ve[1],We=se[lt],lt++,Fe+="C"+(Ue[0]+Xe[0])+","+(Ue[1]+Xe[1])+","+(We[0]-tt[0])+","+(We[1]-tt[1])+","+We[0]+","+We[1];for(var mt=2;mtOt)+",1 "+zt}function lt(mt,zt,Ut,Ht){return"Q 0,0 "+Ht}return We.radius=function(mt){return arguments.length?(Ie=qn(mt),We):Ie},We.source=function(mt){return arguments.length?(se=qn(mt),We):se},We.target=function(mt){return arguments.length?(ve=qn(mt),We):ve},We.startAngle=function(mt){return arguments.length?(Fe=qn(mt),We):Fe},We.endAngle=function(mt){return arguments.length?(Ue=qn(mt),We):Ue},We},i.svg.diagonal=function(){var se=Gr,ve=ni,Ie=fl;function Fe(Ue,We){var Xe=se.call(this,Ue,We),tt=ve.call(this,Ue,We),lt=(Xe.y+tt.y)/2,mt=[Xe,{x:Xe.x,y:lt},{x:tt.x,y:lt},tt];return"M"+(mt=mt.map(Ie))[0]+"C"+mt[1]+" "+mt[2]+" "+mt[3]}return Fe.source=function(Ue){return arguments.length?(se=qn(Ue),Fe):se},Fe.target=function(Ue){return arguments.length?(ve=qn(Ue),Fe):ve},Fe.projection=function(Ue){return arguments.length?(Ie=Ue,Fe):Ie},Fe},i.svg.diagonal.radial=function(){var se=i.svg.diagonal(),ve=fl,Ie=se.projection;return se.projection=function(Fe){return arguments.length?Ie(Os(ve=Fe)):ve},se},i.svg.symbol=function(){var se=Zc,ve=xo;function Ie(Fe,Ue){return(Uu.get(se.call(this,Fe,Ue))||Vo)(ve.call(this,Fe,Ue))}return Ie.type=function(Fe){return arguments.length?(se=qn(Fe),Ie):se},Ie.size=function(Fe){return arguments.length?(ve=qn(Fe),Ie):ve},Ie};var Uu=i.map({circle:Vo,cross:function(se){var ve=Math.sqrt(se/5)/2;return"M"+-3*ve+","+-ve+"H"+-ve+"V"+-3*ve+"H"+ve+"V"+-ve+"H"+3*ve+"V"+ve+"H"+ve+"V"+3*ve+"H"+-ve+"V"+ve+"H"+-3*ve+"Z"},diamond:function(se){var ve=Math.sqrt(se/(2*Ji)),Ie=ve*Ji;return"M0,"+-ve+"L"+Ie+",0 0,"+ve+" "+-Ie+",0Z"},square:function(se){var ve=Math.sqrt(se)/2;return"M"+-ve+","+-ve+"L"+ve+","+-ve+" "+ve+","+ve+" "+-ve+","+ve+"Z"},"triangle-down":function(se){var ve=Math.sqrt(se/hl),Ie=ve*hl/2;return"M0,"+Ie+"L"+ve+","+-Ie+" "+-ve+","+-Ie+"Z"},"triangle-up":function(se){var ve=Math.sqrt(se/hl),Ie=ve*hl/2;return"M0,"+-Ie+"L"+ve+","+Ie+" "+-ve+","+Ie+"Z"}});i.svg.symbolTypes=Uu.keys();var hl=Math.sqrt(3),Ji=Math.tan(30*Ke);ce.transition=function(se){for(var ve,Ie,Fe=rt||++St,Ue=ee(se),We=[],Xe=ct||{time:Date.now(),ease:nl,delay:0,duration:250},tt=-1,lt=this.length;++tt0;)mt[--an].call(se,ln);if(tn>=1)return Ut.event&&Ut.event.end.call(se,se.__data__,ve),--zt.count?delete zt[Fe]:delete se[Ie],1}Ut||(We=Ue.time,Xe=Kt(function(vn){var tn=Ut.delay;if(Xe.t=tn+We,tn<=vn)return Ht(vn-tn);Xe.c=Ht},0,We),Ut=zt[Fe]={tween:new L,time:We,timer:Xe,delay:Ue.delay,duration:Ue.duration,ease:Ue.ease,index:ve},Ue=null,++zt.count)}vt.call=ce.call,vt.empty=ce.empty,vt.node=ce.node,vt.size=ce.size,i.transition=function(se,ve){return se&&se.transition?rt?se.transition(ve):se:i.selection().transition(se)},i.transition.prototype=vt,vt.select=function(se){var ve,Ie,Fe,Ue=this.id,We=this.namespace,Xe=[];se=ye(se);for(var tt=-1,lt=this.length;++ttrect,.s>rect").attr("width",We[1]-We[0])}function en(tn){tn.select(".extent").attr("y",Xe[0]),tn.selectAll(".extent,.e>rect,.w>rect").attr("height",Xe[1]-Xe[0])}function vn(){var tn,ln,an=this,Cn=i.select(i.event.target),_n=Ie.of(an,arguments),on=i.select(an),Fn=Cn.datum(),Hn=!/^(n|s)$/.test(Fn)&&Fe,ir=!/^(e|w)$/.test(Fn)&&Ue,ar=Cn.classed("extent"),Mr=bt(an),Er=i.mouse(an),xr=i.select(a(an)).on("keydown.brush",hi).on("keyup.brush",di);if(i.event.changedTouches?xr.on("touchmove.brush",wr).on("touchend.brush",oi):xr.on("mousemove.brush",wr).on("mouseup.brush",oi),on.interrupt().selectAll("*").interrupt(),ar)Er[0]=We[0]-Er[0],Er[1]=Xe[0]-Er[1];else if(Fn){var kr=+/w$/.test(Fn),jr=+/^n/.test(Fn);ln=[We[1-kr]-Er[0],Xe[1-jr]-Er[1]],Er[0]=We[kr],Er[1]=Xe[jr]}else i.event.altKey&&(tn=Er.slice());function hi(){i.event.keyCode==32&&(ar||(tn=null,Er[0]-=We[1],Er[1]-=Xe[1],ar=2),ne())}function di(){i.event.keyCode==32&&ar==2&&(Er[0]+=We[1],Er[1]+=Xe[1],ar=0,ne())}function wr(){var ai=i.mouse(an),Ii=!1;ln&&(ai[0]+=ln[0],ai[1]+=ln[1]),ar||(i.event.altKey?(tn||(tn=[(We[0]+We[1])/2,(Xe[0]+Xe[1])/2]),Er[0]=We[+(ai[0]>>1;f.dtype||(f.dtype="array"),typeof f.dtype=="string"?g=new(u(f.dtype))(x):f.dtype&&(g=f.dtype,Array.isArray(g)&&(g.length=x));for(var T=0;Tp||H>1073741824){for(var Q=0;Qpe+Pe||ie>xe+Pe||oe=ce||Me===Se)){var Ce=E[_e];Se===void 0&&(Se=Ce.length);for(var ae=Me;ae=ne&&be<=Z&&ke>=te&&ke<=X&&ye.push(he)}var Le=_[_e],Be=Le[4*Me+0],ze=Le[4*Me+1],je=Le[4*Me+2],ge=Le[4*Me+3],we=me(Le,Me+1),Ee=.5*Pe,Ve=_e+1;de(pe,xe,Ee,Ve,Be,ze||je||ge||we),de(pe,xe+Ee,Ee,Ve,ze,je||ge||we),de(pe+Ee,xe,Ee,Ve,je,ge||we),de(pe+Ee,xe+Ee,Ee,Ve,ge,we)}}function me(pe,xe){for(var Pe=null,_e=0;Pe===null;)if(Pe=pe[4*xe+_e],++_e>pe.length)return null;return Pe}return de(0,0,1,0,0,1),ye},g;function B(W,j,Y,U,G){for(var q=[],H=0;H0){l+=Math.abs(M(h[0]));for(var a=1;a2){for(c=0;c=0))throw new Error("precision must be a positive number");var p=Math.pow(10,f||0);return Math.round(c*p)/p},m.radiansToLength=a,m.lengthToRadians=u,m.lengthToDegrees=function(c,f){return s(u(c,f))},m.bearingToAzimuth=function(c){var f=c%360;return f<0&&(f+=360),f},m.radiansToDegrees=s,m.degreesToRadians=function(c){return c%360*Math.PI/180},m.convertLength=function(c,f,p){if(f===void 0&&(f="kilometers"),p===void 0&&(p="kilometers"),!(c>=0))throw new Error("length must be a positive number");return a(u(c,f),p)},m.convertArea=function(c,f,p){if(f===void 0&&(f="meters"),p===void 0&&(p="kilometers"),!(c>=0))throw new Error("area must be a positive number");var w=m.areaFactors[f];if(!w)throw new Error("invalid original units");var g=m.areaFactors[p];if(!g)throw new Error("invalid final units");return c/w*g},m.isNumber=o,m.isObject=function(c){return!!c&&c.constructor===Object},m.validateBBox=function(c){if(!c)throw new Error("bbox is required");if(!Array.isArray(c))throw new Error("bbox must be an Array");if(c.length!==4&&c.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");c.forEach(function(f){if(!o(f))throw new Error("bbox must only contain numbers")})},m.validateId=function(c){if(!c)throw new Error("id is required");if(["string","number"].indexOf(typeof c)===-1)throw new Error("id must be a number or a string")}},60302:function(k,m,t){Object.defineProperty(m,"__esModule",{value:!0});var d=t(23132);function y(u,s,o){if(u!==null)for(var c,f,p,w,g,S,x,T,E=0,_=0,A=u.type,L=A==="FeatureCollection",b=A==="Feature",R=L?u.features.length:1,I=0;IS||L>x||b>T)return g=E,S=c,x=L,T=b,void(p=0);var R=d.lineString([g,E],o.properties);if(s(R,c,f,b,p)===!1)return!1;p++,g=E})!==!1&&void 0}}})}function a(u,s){if(!u)throw new Error("geojson is required");h(u,function(o,c,f){if(o.geometry!==null){var p=o.geometry.type,w=o.geometry.coordinates;switch(p){case"LineString":if(s(o,c,f,0,0)===!1)return!1;break;case"Polygon":for(var g=0;gv[0]&&(M[0]=v[0]),M[1]>v[1]&&(M[1]=v[1]),M[2]=0))throw new Error("precision must be a positive number");var p=Math.pow(10,f||0);return Math.round(c*p)/p},m.radiansToLength=a,m.lengthToRadians=u,m.lengthToDegrees=function(c,f){return s(u(c,f))},m.bearingToAzimuth=function(c){var f=c%360;return f<0&&(f+=360),f},m.radiansToDegrees=s,m.degreesToRadians=function(c){return c%360*Math.PI/180},m.convertLength=function(c,f,p){if(f===void 0&&(f="kilometers"),p===void 0&&(p="kilometers"),!(c>=0))throw new Error("length must be a positive number");return a(u(c,f),p)},m.convertArea=function(c,f,p){if(f===void 0&&(f="meters"),p===void 0&&(p="kilometers"),!(c>=0))throw new Error("area must be a positive number");var w=m.areaFactors[f];if(!w)throw new Error("invalid original units");var g=m.areaFactors[p];if(!g)throw new Error("invalid final units");return c/w*g},m.isNumber=o,m.isObject=function(c){return!!c&&c.constructor===Object},m.validateBBox=function(c){if(!c)throw new Error("bbox is required");if(!Array.isArray(c))throw new Error("bbox must be an Array");if(c.length!==4&&c.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");c.forEach(function(f){if(!o(f))throw new Error("bbox must only contain numbers")})},m.validateId=function(c){if(!c)throw new Error("id is required");if(["string","number"].indexOf(typeof c)===-1)throw new Error("id must be a number or a string")}},27138:function(k,m,t){Object.defineProperty(m,"__esModule",{value:!0});var d=t(94228);function y(u,s,o){if(u!==null)for(var c,f,p,w,g,S,x,T,E=0,_=0,A=u.type,L=A==="FeatureCollection",b=A==="Feature",R=L?u.features.length:1,I=0;IS||L>x||b>T)return g=E,S=c,x=L,T=b,void(p=0);var R=d.lineString([g,E],o.properties);if(s(R,c,f,b,p)===!1)return!1;p++,g=E})!==!1&&void 0}}})}function a(u,s){if(!u)throw new Error("geojson is required");h(u,function(o,c,f){if(o.geometry!==null){var p=o.geometry.type,w=o.geometry.coordinates;switch(p){case"LineString":if(s(o,c,f,0,0)===!1)return!1;break;case"Polygon":for(var g=0;g=0))throw new Error("precision must be a positive number");var p=Math.pow(10,f||0);return Math.round(c*p)/p},m.radiansToLength=a,m.lengthToRadians=u,m.lengthToDegrees=function(c,f){return s(u(c,f))},m.bearingToAzimuth=function(c){var f=c%360;return f<0&&(f+=360),f},m.radiansToDegrees=s,m.degreesToRadians=function(c){return c%360*Math.PI/180},m.convertLength=function(c,f,p){if(f===void 0&&(f="kilometers"),p===void 0&&(p="kilometers"),!(c>=0))throw new Error("length must be a positive number");return a(u(c,f),p)},m.convertArea=function(c,f,p){if(f===void 0&&(f="meters"),p===void 0&&(p="kilometers"),!(c>=0))throw new Error("area must be a positive number");var w=m.areaFactors[f];if(!w)throw new Error("invalid original units");var g=m.areaFactors[p];if(!g)throw new Error("invalid final units");return c/w*g},m.isNumber=o,m.isObject=function(c){return!!c&&c.constructor===Object},m.validateBBox=function(c){if(!c)throw new Error("bbox is required");if(!Array.isArray(c))throw new Error("bbox must be an Array");if(c.length!==4&&c.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");c.forEach(function(f){if(!o(f))throw new Error("bbox must only contain numbers")})},m.validateId=function(c){if(!c)throw new Error("id is required");if(["string","number"].indexOf(typeof c)===-1)throw new Error("id must be a number or a string")},m.radians2degrees=function(){throw new Error("method has been renamed to `radiansToDegrees`")},m.degrees2radians=function(){throw new Error("method has been renamed to `degreesToRadians`")},m.distanceToDegrees=function(){throw new Error("method has been renamed to `lengthToDegrees`")},m.distanceToRadians=function(){throw new Error("method has been renamed to `lengthToRadians`")},m.radiansToDistance=function(){throw new Error("method has been renamed to `radiansToLength`")},m.bearingToAngle=function(){throw new Error("method has been renamed to `bearingToAzimuth`")},m.convertDistance=function(){throw new Error("method has been renamed to `convertLength`")}},88553:function(k,m,t){Object.defineProperty(m,"__esModule",{value:!0});var d=t(64182);function y(u,s,o){if(u!==null)for(var c,f,p,w,g,S,x,T,E=0,_=0,A=u.type,L=A==="FeatureCollection",b=A==="Feature",R=L?u.features.length:1,I=0;IS||L>x||b>T)return g=E,S=c,x=L,T=b,void(p=0);var R=d.lineString([g,E],o.properties);if(s(R,c,f,b,p)===!1)return!1;p++,g=E})!==!1&&void 0}}})}function a(u,s){if(!u)throw new Error("geojson is required");h(u,function(o,c,f){if(o.geometry!==null){var p=o.geometry.type,w=o.geometry.coordinates;switch(p){case"LineString":if(s(o,c,f,0,0)===!1)return!1;break;case"Polygon":for(var g=0;gi&&(i=m[v]),m[v]1?G-1:0),H=1;H1?G-1:0),H=1;H1?G-1:0),H=1;H1?G-1:0),H=1;H24?(isFinite(ve)&&(clearTimeout(vr),vr=setTimeout(bn,ve)),or=0):(or=1,_r(bn))}function Rn(){for(var se=Date.now(),ve=Sr;ve;)se>=ve.t&&ve.c(se-ve.t)&&(ve.c=null),ve=ve.n;return se}function Ln(){for(var se,ve=Sr,Ie=1/0;ve;)ve.c?(ve.t1&&(ve=se[We[Xe-2]],Ie=se[We[Xe-1]],Fe=se[tt],(Ie[0]-ve[0])*(Fe[1]-ve[1])-(Ie[1]-ve[1])*(Fe[0]-ve[0])<=0);)--Xe;We[Xe++]=tt}return We.slice(0,Xe)}function tr(se,ve){return se[0]-ve[0]||se[1]-ve[1]}i.timer=function(){Kt.apply(this,arguments)},i.timer.flush=function(){Rn(),Ln()},i.round=function(se,ve){return ve?Math.round(se*(ve=Math.pow(10,ve)))/ve:Math.round(se)},i.geom={},i.geom.hull=function(se){var ve=Un,Ie=Kn;if(arguments.length)return Fe(se);function Fe(Ue){if(Ue.length<3)return[];var We,Xe=qn(ve),tt=qn(Ie),lt=Ue.length,mt=[],zt=[];for(We=0;We=0;--We)tn.push(Ue[mt[Ut[We]][2]]);for(We=+en;WeFt)tt=tt.L;else{if(!((Ue=We-Qn(tt,Xe))>Ft)){Fe>-Ft?(ve=tt.P,Ie=tt):Ue>-Ft?(ve=tt,Ie=tt.N):ve=Ie=tt;break}if(!tt.R){ve=tt;break}tt=tt.R}var lt=yn(se);if(zn.insert(ve,lt),ve||Ie){if(ve===Ie)return br(ve),Ie=yn(ve.site),zn.insert(lt,Ie),lt.edge=Ie.edge=zr(ve.site,lt.site),dr(ve),void dr(Ie);if(Ie){br(ve),br(Ie);var mt=ve.site,zt=mt.x,Ut=mt.y,Ht=se.x-zt,en=se.y-Ut,vn=Ie.site,tn=vn.x-zt,ln=vn.y-Ut,an=2*(Ht*ln-en*tn),Cn=Ht*Ht+en*en,_n=tn*tn+ln*ln,on={x:(ln*Cn-en*_n)/an+zt,y:(Ht*_n-tn*Cn)/an+Ut};gr(Ie.edge,mt,vn,on),lt.edge=zr(mt,se,null,on),Ie.edge=zr(se,vn,null,on),dr(ve),dr(Ie)}else lt.edge=zr(ve.site,lt.site)}}function nr(se,ve){var Ie=se.site,Fe=Ie.x,Ue=Ie.y,We=Ue-ve;if(!We)return Fe;var Xe=se.P;if(!Xe)return-1/0;var tt=(Ie=Xe.site).x,lt=Ie.y,mt=lt-ve;if(!mt)return tt;var zt=tt-Fe,Ut=1/We-1/mt,Ht=zt/mt;return Ut?(-Ht+Math.sqrt(Ht*Ht-2*Ut*(zt*zt/(-2*mt)-lt+mt/2+Ue-We/2)))/Ut+Fe:(Fe+tt)/2}function Qn(se,ve){var Ie=se.N;if(Ie)return nr(Ie,ve);var Fe=se.site;return Fe.y===ve?Fe.x:1/0}function hr(se){this.site=se,this.edges=[]}function cr(se,ve){return ve.angle-se.angle}function pr(){ji(this),this.x=this.y=this.arc=this.site=this.cy=null}function dr(se){var ve=se.P,Ie=se.N;if(ve&&Ie){var Fe=ve.site,Ue=se.site,We=Ie.site;if(Fe!==We){var Xe=Ue.x,tt=Ue.y,lt=Fe.x-Xe,mt=Fe.y-tt,zt=We.x-Xe,Ut=2*(lt*(ln=We.y-tt)-mt*zt);if(!(Ut>=-1e-12)){var Ht=lt*lt+mt*mt,en=zt*zt+ln*ln,vn=(ln*Ht-mt*en)/Ut,tn=(lt*en-zt*Ht)/Ut,ln=tn+tt,an=wn.pop()||new pr;an.arc=se,an.site=Ue,an.x=vn+Xe,an.y=ln+Math.sqrt(vn*vn+tn*tn),an.cy=ln,se.circle=an;for(var Cn=null,_n=En._;_n;)if(an.y<_n.y||an.y===_n.y&&an.x<=_n.x){if(!_n.L){Cn=_n.P;break}_n=_n.L}else{if(!_n.R){Cn=_n;break}_n=_n.R}En.insert(Cn,an),Cn||(On=an)}}}}function br(se){var ve=se.circle;ve&&(ve.P||(On=ve.N),En.remove(ve),wn.push(ve),ji(ve),se.circle=null)}function Ir(se,ve){var Ie=se.b;if(Ie)return!0;var Fe,Ue,We=se.a,Xe=ve[0][0],tt=ve[1][0],lt=ve[0][1],mt=ve[1][1],zt=se.l,Ut=se.r,Ht=zt.x,en=zt.y,vn=Ut.x,tn=Ut.y,ln=(Ht+vn)/2,an=(en+tn)/2;if(tn===en){if(ln=tt)return;if(Ht>vn){if(We){if(We.y>=mt)return}else We={x:ln,y:lt};Ie={x:ln,y:mt}}else{if(We){if(We.y1)if(Ht>vn){if(We){if(We.y>=mt)return}else We={x:(lt-Ue)/Fe,y:lt};Ie={x:(mt-Ue)/Fe,y:mt}}else{if(We){if(We.y=tt)return}else We={x:Xe,y:Fe*Xe+Ue};Ie={x:tt,y:Fe*tt+Ue}}else{if(We){if(We.x0)){if(an/=ar,ar<0){if(an0){if(an>ir)return;an>Hn&&(Hn=an)}if(an=Ut-on,ar||!(an<0)){if(an/=ar,ar<0){if(an>ir)return;an>Hn&&(Hn=an)}else if(ar>0){if(an0)){if(an/=Mr,Mr<0){if(an0){if(an>ir)return;an>Hn&&(Hn=an)}if(an=Ht-Fn,Mr||!(an<0)){if(an/=Mr,Mr<0){if(an>ir)return;an>Hn&&(Hn=an)}else if(Mr>0){if(an0&&(ln.a={x:on+Hn*ar,y:Fn+Hn*Mr}),ir<1&&(ln.b={x:on+ir*ar,y:Fn+ir*Mr}),ln}}}}}),tn=en.length;tn--;)(!Ir(lt=en[tn],tt)||!vn(lt)||E(lt.a.x-lt.b.x)Ft||E(Ut-mt)>Ft)&&(vn.splice(en,0,new Fr((ar=Ht.site,Mr=an,Er=E(zt-Cn)Ft?{x:Cn,y:E(lt-Cn)Ft?{x:E(mt-Fn)Ft?{x:_n,y:E(lt-_n)Ft?{x:E(mt-on)=zt&&an.x<=Ht&&an.y>=Ut&&an.y<=en?[[zt,en],[Ht,en],[Ht,Ut],[zt,Ut]]:[]).point=lt[tn]}),mt}function tt(lt){return lt.map(function(mt,zt){return{x:Math.round(Fe(mt,zt)/Ft)*Ft,y:Math.round(Ue(mt,zt)/Ft)*Ft,i:zt}})}return Xe.links=function(lt){return La(tt(lt)).edges.filter(function(mt){return mt.l&&mt.r}).map(function(mt){return{source:lt[mt.l.i],target:lt[mt.r.i]}})},Xe.triangles=function(lt){var mt=[];return La(tt(lt)).cells.forEach(function(zt,Ut){for(var Ht,en,vn,tn,ln=zt.site,an=zt.edges.sort(cr),Cn=-1,_n=an.length,on=an[_n-1].edge,Fn=on.l===ln?on.r:on.l;++Cn<_n;)Ht=Fn,Fn=(on=an[Cn].edge).l===ln?on.r:on.l,UtWe||Ht>Xe||en=Hn)<<1|ve>=Fn,ar=ir+4;irWe&&(Ue=ve.slice(We,Ue),tt[Xe]?tt[Xe]+=Ue:tt[++Xe]=Ue),(Ie=Ie[0])===(Fe=Fe[0])?tt[Xe]?tt[Xe]+=Fe:tt[++Xe]=Fe:(tt[++Xe]=null,lt.push({i:Xe,x:is(Ie,Fe)})),We=hc.lastIndex;return Wean&&(an=zt.x),zt.y>Cn&&(Cn=zt.y),Ut.push(zt.x),Ht.push(zt.y);else for(en=0;enan&&(an=Fn),Hn>Cn&&(Cn=Hn),Ut.push(Fn),Ht.push(Hn)}var ir=an-tn,ar=Cn-ln;function Mr(kr,jr,fi,di,wr,Ur,oi,ai){if(!isNaN(fi)&&!isNaN(di))if(kr.leaf){var Ii=kr.x,vi=kr.y;if(Ii!=null)if(E(Ii-fi)+E(vi-di)<.01)Er(kr,jr,fi,di,wr,Ur,oi,ai);else{var Ni=kr.point;kr.x=kr.y=kr.point=null,Er(kr,Ni,Ii,vi,wr,Ur,oi,ai),Er(kr,jr,fi,di,wr,Ur,oi,ai)}else kr.x=fi,kr.y=di,kr.point=jr}else Er(kr,jr,fi,di,wr,Ur,oi,ai)}function Er(kr,jr,fi,di,wr,Ur,oi,ai){var Ii=.5*(wr+oi),vi=.5*(Ur+ai),Ni=fi>=Ii,ta=di>=vi,pa=ta<<1|Ni;kr.leaf=!1,Ni?wr=Ii:oi=Ii,ta?Ur=vi:ai=vi,Mr(kr=kr.nodes[pa]||(kr.nodes[pa]={leaf:!0,nodes:[],point:null,x:null,y:null}),jr,fi,di,wr,Ur,oi,ai)}ir>ar?Cn=ln+ir:an=tn+ar;var xr={leaf:!0,nodes:[],point:null,x:null,y:null,add:function(kr){Mr(xr,kr,+_n(kr,++en),+on(kr,en),tn,ln,an,Cn)},visit:function(kr){Cu(kr,xr,tn,ln,an,Cn)},find:function(kr){return gf(xr,kr[0],kr[1],tn,ln,an,Cn)}};if(en=-1,ve==null){for(;++en=0&&!(Ie=i.interpolators[Fe](se,ve)););return Ie}function as(se,ve){var Ie,Fe=[],Ue=[],We=se.length,Xe=ve.length,tt=Math.min(se.length,ve.length);for(Ie=0;Ie=1?1:se(ve)}}function Es(se){return function(ve){return 1-se(1-ve)}}function js(se){return function(ve){return .5*(ve<.5?se(2*ve):2-se(2-2*ve))}}function fc(se){return se*se}function vf(se){return se*se*se}function tl(se){if(se<=0)return 0;if(se>=1)return 1;var ve=se*se,Ie=ve*se;return 4*(se<.5?Ie:3*(se-ve)+Ie-.75)}function yf(se){return 1-Math.cos(se*Vt)}function bf(se){return Math.pow(2,10*(se-1))}function id(se){return 1-Math.sqrt(1-se*se)}function Sh(se){return se<.36363636363636365?7.5625*se*se:se<.7272727272727273?7.5625*(se-=.5454545454545454)*se+.75:se<.9090909090909091?7.5625*(se-=.8181818181818182)*se+.9375:7.5625*(se-=.9545454545454546)*se+.984375}function xf(se,ve){return ve-=se,function(Ie){return Math.round(se+ve*Ie)}}function Ch(se){var ve,Ie,Fe,Ue=[se.a,se.b],We=[se.c,se.d],Xe=rl(Ue),tt=nl(Ue,We),lt=rl(((ve=We)[0]+=(Fe=-tt)*(Ie=Ue)[0],ve[1]+=Fe*Ie[1],ve))||0;Ue[0]*We[1]=0?se.slice(0,ve):se,Fe=ve>=0?se.slice(ve+1):"in";return Ie=Ui.get(Ie)||Ml,ps((Fe=Al.get(Fe)||W)(Ie.apply(null,M.call(arguments,1))))},i.interpolateHcl=function(se,ve){se=i.hcl(se),ve=i.hcl(ve);var Ie=se.h,Fe=se.c,Ue=se.l,We=ve.h-Ie,Xe=ve.c-Fe,tt=ve.l-Ue;return isNaN(Xe)&&(Xe=0,Fe=isNaN(Fe)?ve.c:Fe),isNaN(We)?(We=0,Ie=isNaN(Ie)?ve.h:Ie):We>180?We-=360:We<-180&&(We+=360),function(lt){return Pt(Ie+We*lt,Fe+Xe*lt,Ue+tt*lt)+""}},i.interpolateHsl=function(se,ve){se=i.hsl(se),ve=i.hsl(ve);var Ie=se.h,Fe=se.s,Ue=se.l,We=ve.h-Ie,Xe=ve.s-Fe,tt=ve.l-Ue;return isNaN(Xe)&&(Xe=0,Fe=isNaN(Fe)?ve.s:Fe),isNaN(We)?(We=0,Ie=isNaN(Ie)?ve.h:Ie):We>180?We-=360:We<-180&&(We+=360),function(lt){return It(Ie+We*lt,Fe+Xe*lt,Ue+tt*lt)+""}},i.interpolateLab=function(se,ve){se=i.lab(se),ve=i.lab(ve);var Ie=se.l,Fe=se.a,Ue=se.b,We=ve.l-Ie,Xe=ve.a-Fe,tt=ve.b-Ue;return function(lt){return Xt(Ie+We*lt,Fe+Xe*lt,Ue+tt*lt)+""}},i.interpolateRound=xf,i.transform=function(se){var ve=f.createElementNS(i.ns.prefix.svg,"g");return(i.transform=function(Ie){if(Ie!=null){ve.setAttribute("transform",Ie);var Fe=ve.transform.baseVal.consolidate()}return new Ch(Fe?Fe.matrix:Lu)})(se)},Ch.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var Lu={a:1,b:0,c:0,d:1,e:0,f:0};function il(se){return se.length?se.pop()+",":""}function Eh(se,ve){var Ie=[],Fe=[];return se=i.transform(se),ve=i.transform(ve),function(Ue,We,Xe,tt){if(Ue[0]!==We[0]||Ue[1]!==We[1]){var lt=Xe.push("translate(",null,",",null,")");tt.push({i:lt-4,x:is(Ue[0],We[0])},{i:lt-2,x:is(Ue[1],We[1])})}else(We[0]||We[1])&&Xe.push("translate("+We+")")}(se.translate,ve.translate,Ie,Fe),function(Ue,We,Xe,tt){Ue!==We?(Ue-We>180?We+=360:We-Ue>180&&(Ue+=360),tt.push({i:Xe.push(il(Xe)+"rotate(",null,")")-2,x:is(Ue,We)})):We&&Xe.push(il(Xe)+"rotate("+We+")")}(se.rotate,ve.rotate,Ie,Fe),function(Ue,We,Xe,tt){Ue!==We?tt.push({i:Xe.push(il(Xe)+"skewX(",null,")")-2,x:is(Ue,We)}):We&&Xe.push(il(Xe)+"skewX("+We+")")}(se.skew,ve.skew,Ie,Fe),function(Ue,We,Xe,tt){if(Ue[0]!==We[0]||Ue[1]!==We[1]){var lt=Xe.push(il(Xe)+"scale(",null,",",null,")");tt.push({i:lt-4,x:is(Ue[0],We[0])},{i:lt-2,x:is(Ue[1],We[1])})}else We[0]===1&&We[1]===1||Xe.push(il(Xe)+"scale("+We+")")}(se.scale,ve.scale,Ie,Fe),se=ve=null,function(Ue){for(var We,Xe=-1,tt=Fe.length;++Xe0?Ie=on:(se.c=null,se.t=NaN,se=null,tt.end({type:"end",alpha:Ie=0})):on>0&&(tt.start({type:"start",alpha:Ie=on}),se=Kt(Xe.tick)),Xe):Ie},Xe.start=function(){var on,Fn,Hn,ir=ln.length,ar=an.length,Mr=lt[0],Er=lt[1];for(on=0;on=0;)Ie.push(Ue[Fe])}function ms(se,ve){for(var Ie=[se],Fe=[];(se=Ie.pop())!=null;)if(Fe.push(se),(We=se.children)&&(Ue=We.length))for(var Ue,We,Xe=-1;++Xe=0;)Xe.push(zt=mt[lt]),zt.parent=We,zt.depth=We.depth+1;Ie&&(We.value=0),We.children=mt}else Ie&&(We.value=+Ie.call(Fe,We,We.depth)||0),delete We.children;return ms(Ue,function(Ut){var Ht,en;se&&(Ht=Ut.children)&&Ht.sort(se),Ie&&(en=Ut.parent)&&(en.value+=Ut.value)}),tt}return Fe.sort=function(Ue){return arguments.length?(se=Ue,Fe):se},Fe.children=function(Ue){return arguments.length?(ve=Ue,Fe):ve},Fe.value=function(Ue){return arguments.length?(Ie=Ue,Fe):Ie},Fe.revalue=function(Ue){return Ie&&(Ru(Ue,function(We){We.children&&(We.value=0)}),ms(Ue,function(We){var Xe;We.children||(We.value=+Ie.call(Fe,We,We.depth)||0),(Xe=We.parent)&&(Xe.value+=We.value)})),Ue},Fe},i.layout.partition=function(){var se=i.layout.hierarchy(),ve=[1,1];function Ie(We,Xe,tt,lt){var mt=We.children;if(We.x=Xe,We.y=We.depth*lt,We.dx=tt,We.dy=lt,mt&&(zt=mt.length)){var zt,Ut,Ht,en=-1;for(tt=We.value?tt/We.value:0;++entt&&(tt=Fe),Xe.push(Fe)}for(Ie=0;IeUe&&(Fe=Ie,Ue=ve);return Fe}function El(se){return se.reduce(Hc,0)}function Hc(se,ve){return se+ve[1]}function xc(se,ve){return Ph(se,Math.ceil(Math.log(ve.length)/Math.LN2+1))}function Ph(se,ve){for(var Ie=-1,Fe=+se[0],Ue=(se[1]-Fe)/ve,We=[];++Ie<=ve;)We[Ie]=Ue*Ie+Fe;return We}function _c(se){return[i.min(se),i.max(se)]}function Du(se,ve){return se.value-ve.value}function ru(se,ve){var Ie=se._pack_next;se._pack_next=ve,ve._pack_prev=se,ve._pack_next=Ie,Ie._pack_prev=ve}function iu(se,ve){se._pack_next=ve,ve._pack_prev=se}function Ki(se,ve){var Ie=ve.x-se.x,Fe=ve.y-se.y,Ue=se.r+ve.r;return .999*Ue*Ue>Ie*Ie+Fe*Fe}function Ll(se){if((ve=se.children)&&(lt=ve.length)){var ve,Ie,Fe,Ue,We,Xe,tt,lt,mt=1/0,zt=-1/0,Ut=1/0,Ht=-1/0;if(ve.forEach(Il),(Ie=ve[0]).x=-Ie.r,Ie.y=0,_n(Ie),lt>1&&((Fe=ve[1]).x=Fe.r,Fe.y=0,_n(Fe),lt>2))for(Bi(Ie,Fe,Ue=ve[2]),_n(Ue),ru(Ie,Ue),Ie._pack_prev=Ue,ru(Ue,Fe),Fe=Ie._pack_next,We=3;We0)for(Xe=-1;++Xe=Ut[0]&<<=Ut[1]&&((tt=mt[i.bisect(Ht,lt,1,vn)-1]).y+=tn,tt.push(We[Xe]));return mt}return Ue.value=function(We){return arguments.length?(ve=We,Ue):ve},Ue.range=function(We){return arguments.length?(Ie=qn(We),Ue):Ie},Ue.bins=function(We){return arguments.length?(Fe=typeof We=="number"?function(Xe){return Ph(Xe,We)}:qn(We),Ue):Fe},Ue.frequency=function(We){return arguments.length?(se=!!We,Ue):se},Ue},i.layout.pack=function(){var se,ve=i.layout.hierarchy().sort(Du),Ie=0,Fe=[1,1];function Ue(We,Xe){var tt=ve.call(this,We,Xe),lt=tt[0],mt=Fe[0],zt=Fe[1],Ut=se==null?Math.sqrt:typeof se=="function"?se:function(){return se};if(lt.x=lt.y=0,ms(lt,function(en){en.r=+Ut(en.value)}),ms(lt,Ll),Ie){var Ht=Ie*(se?1:Math.max(2*lt.r/mt,2*lt.r/zt))/2;ms(lt,function(en){en.r+=Ht}),ms(lt,Ll),ms(lt,function(en){en.r-=Ht})}return Oi(lt,mt/2,zt/2,se?1:1/Math.max(2*lt.r/mt,2*lt.r/zt)),tt}return Ue.size=function(We){return arguments.length?(Fe=We,Ue):Fe},Ue.radius=function(We){return arguments.length?(se=We==null||typeof We=="function"?We:+We,Ue):se},Ue.padding=function(We){return arguments.length?(Ie=+We,Ue):Ie},eu(Ue,ve)},i.layout.tree=function(){var se=i.layout.hierarchy().sort(null).value(null),ve=ol,Ie=[1,1],Fe=null;function Ue(lt,mt){var zt=se.call(this,lt,mt),Ut=zt[0],Ht=function(_n){for(var on,Fn={A:null,children:[_n]},Hn=[Fn];(on=Hn.pop())!=null;)for(var ir,ar=on.children,Mr=0,Er=ar.length;Mrvn.x&&(vn=_n),_n.depth>tn.depth&&(tn=_n)});var ln=ve(en,vn)/2-en.x,an=Ie[0]/(vn.x+ve(vn,en)/2+ln),Cn=Ie[1]/(tn.depth||1);Ru(Ut,function(_n){_n.x=(_n.x+ln)*an,_n.y=_n.depth*Cn})}return zt}function We(lt){var mt=lt.children,zt=lt.parent.children,Ut=lt.i?zt[lt.i-1]:null;if(mt.length){(function(en){for(var vn,tn=0,ln=0,an=en.children,Cn=an.length;--Cn>=0;)(vn=an[Cn]).z+=tn,vn.m+=tn,tn+=vn.s+(ln+=vn.c)})(lt);var Ht=(mt[0].z+mt[mt.length-1].z)/2;Ut?(lt.z=Ut.z+ve(lt._,Ut._),lt.m=lt.z-Ht):lt.z=Ht}else Ut&&(lt.z=Ut.z+ve(lt._,Ut._));lt.parent.A=function(en,vn,tn){if(vn){for(var ln,an=en,Cn=en,_n=vn,on=an.parent.children[0],Fn=an.m,Hn=Cn.m,ir=_n.m,ar=on.m;_n=Gc(_n),an=Us(an),_n&&an;)on=Us(on),(Cn=Gc(Cn)).a=en,(ln=_n.z+ir-an.z-Fn+ve(_n._,an._))>0&&(Oh(au(_n,en,tn),en,ln),Fn+=ln,Hn+=ln),ir+=_n.m,Fn+=an.m,ar+=on.m,Hn+=Cn.m;_n&&!Gc(Cn)&&(Cn.t=_n,Cn.m+=ir-Hn),an&&!Us(on)&&(on.t=an,on.m+=Fn-ar,tn=en)}return tn}(lt,Ut,lt.parent.A||zt[0])}function Xe(lt){lt._.x=lt.z+lt.parent.m,lt.m+=lt.parent.m}function tt(lt){lt.x*=Ie[0],lt.y=lt.depth*Ie[1]}return Ue.separation=function(lt){return arguments.length?(ve=lt,Ue):ve},Ue.size=function(lt){return arguments.length?(Fe=(Ie=lt)==null?tt:null,Ue):Fe?null:Ie},Ue.nodeSize=function(lt){return arguments.length?(Fe=(Ie=lt)==null?null:tt,Ue):Fe?Ie:null},eu(Ue,se)},i.layout.cluster=function(){var se=i.layout.hierarchy().sort(null).value(null),ve=ol,Ie=[1,1],Fe=!1;function Ue(We,Xe){var tt,lt=se.call(this,We,Xe),mt=lt[0],zt=0;ms(mt,function(tn){var ln=tn.children;ln&&ln.length?(tn.x=function(an){return an.reduce(function(Cn,_n){return Cn+_n.x},0)/an.length}(ln),tn.y=function(an){return 1+i.max(an,function(Cn){return Cn.y})}(ln)):(tn.x=tt?zt+=ve(tn,tt):0,tn.y=0,tt=tn)});var Ut=Dh(mt),Ht=ou(mt),en=Ut.x-ve(Ut,Ht)/2,vn=Ht.x+ve(Ht,Ut)/2;return ms(mt,Fe?function(tn){tn.x=(tn.x-mt.x)*Ie[0],tn.y=(mt.y-tn.y)*Ie[1]}:function(tn){tn.x=(tn.x-en)/(vn-en)*Ie[0],tn.y=(1-(mt.y?tn.y/mt.y:1))*Ie[1]}),lt}return Ue.separation=function(We){return arguments.length?(ve=We,Ue):ve},Ue.size=function(We){return arguments.length?(Fe=(Ie=We)==null,Ue):Fe?null:Ie},Ue.nodeSize=function(We){return arguments.length?(Fe=(Ie=We)!=null,Ue):Fe?Ie:null},eu(Ue,se)},i.layout.treemap=function(){var se,ve=i.layout.hierarchy(),Ie=Math.round,Fe=[1,1],Ue=null,We=sl,Xe=!1,tt="squarify",lt=.5*(1+Math.sqrt(5));function mt(tn,ln){for(var an,Cn,_n=-1,on=tn.length;++_n0;)Fn.push(an=Hn[_n-1]),Fn.area+=an.area,tt!=="squarify"||(Cn=Ht(Fn,ar))<=ir?(Hn.pop(),ir=Cn):(Fn.area-=Fn.pop().area,en(Fn,ar,on,!1),ar=Math.min(on.dx,on.dy),Fn.length=Fn.area=0,ir=1/0);Fn.length&&(en(Fn,ar,on,!0),Fn.length=Fn.area=0),ln.forEach(zt)}}function Ut(tn){var ln=tn.children;if(ln&&ln.length){var an,Cn=We(tn),_n=ln.slice(),on=[];for(mt(_n,Cn.dx*Cn.dy/tn.value),on.area=0;an=_n.pop();)on.push(an),on.area+=an.area,an.z!=null&&(en(on,an.z?Cn.dx:Cn.dy,Cn,!_n.length),on.length=on.area=0);ln.forEach(Ut)}}function Ht(tn,ln){for(var an,Cn=tn.area,_n=0,on=1/0,Fn=-1,Hn=tn.length;++Fn_n&&(_n=an));return ln*=ln,(Cn*=Cn)?Math.max(ln*_n*lt/Cn,Cn/(ln*on*lt)):1/0}function en(tn,ln,an,Cn){var _n,on=-1,Fn=tn.length,Hn=an.x,ir=an.y,ar=ln?Ie(tn.area/ln):0;if(ln==an.dx){for((Cn||ar>an.dy)&&(ar=an.dy);++onan.dx)&&(ar=an.dx);++on1);return se+ve*Fe*Math.sqrt(-2*Math.log(We)/We)}},logNormal:function(){var se=i.random.normal.apply(i,arguments);return function(){return Math.exp(se())}},bates:function(se){var ve=i.random.irwinHall(se);return function(){return ve()/se}},irwinHall:function(se){return function(){for(var ve=0,Ie=0;Ie2?co:lu,mt=Fe?Jl:Lh;return Ue=lt(se,ve,mt,Ie),We=lt(ve,se,mt,Yo),tt}function tt(lt){return Ue(lt)}return tt.invert=function(lt){return We(lt)},tt.domain=function(lt){return arguments.length?(se=lt.map(Number),Xe()):se},tt.range=function(lt){return arguments.length?(ve=lt,Xe()):ve},tt.rangeRound=function(lt){return tt.range(lt).interpolate(xf)},tt.clamp=function(lt){return arguments.length?(Fe=lt,Xe()):Fe},tt.interpolate=function(lt){return arguments.length?(Ie=lt,Xe()):Ie},tt.ticks=function(lt){return $o(se,lt)},tt.tickFormat=function(lt,mt){return d3_scale_linearTickFormat(se,lt,mt)},tt.nice=function(lt){return vs(se,lt),Xe()},tt.copy=function(){return zo(se,ve,Ie,Fe)},Xe()}function Rl(se,ve){return i.rebind(se,ve,"range","rangeRound","interpolate","clamp")}function vs(se,ve){return Ha(se,mo($a(se,ve)[2])),Ha(se,mo($a(se,ve)[2])),se}function $a(se,ve){ve==null&&(ve=10);var Ie=da(se),Fe=Ie[1]-Ie[0],Ue=Math.pow(10,Math.floor(Math.log(Fe/ve)/Math.LN10)),We=ve/Fe*Ue;return We<=.15?Ue*=10:We<=.35?Ue*=5:We<=.75&&(Ue*=2),Ie[0]=Math.ceil(Ie[0]/Ue)*Ue,Ie[1]=Math.floor(Ie[1]/Ue)*Ue+.5*Ue,Ie[2]=Ue,Ie}function $o(se,ve){return i.range.apply(i,$a(se,ve))}function qc(se,ve,Ie,Fe){function Ue(tt){return(Ie?Math.log(tt<0?0:tt):-Math.log(tt>0?0:-tt))/Math.log(ve)}function We(tt){return Ie?Math.pow(ve,tt):-Math.pow(ve,-tt)}function Xe(tt){return se(Ue(tt))}return Xe.invert=function(tt){return We(se.invert(tt))},Xe.domain=function(tt){return arguments.length?(Ie=tt[0]>=0,se.domain((Fe=tt.map(Number)).map(Ue)),Xe):Fe},Xe.base=function(tt){return arguments.length?(ve=+tt,se.domain(Fe.map(Ue)),Xe):ve},Xe.nice=function(){var tt=Ha(Fe.map(Ue),Ie?Math:Wc);return se.domain(tt),Fe=tt.map(We),Xe},Xe.ticks=function(){var tt=da(Fe),lt=[],mt=tt[0],zt=tt[1],Ut=Math.floor(Ue(mt)),Ht=Math.ceil(Ue(zt)),en=ve%1?2:ve;if(isFinite(Ht-Ut)){if(Ie){for(;Ut0;vn--)lt.push(We(Ut)*vn);for(Ut=0;lt[Ut]zt;Ht--);lt=lt.slice(Ut,Ht)}return lt},Xe.copy=function(){return qc(se.copy(),ve,Ie,Fe)},Rl(Xe,se)}i.scale.linear=function(){return zo([0,1],[0,1],Yo,!1)},i.scale.log=function(){return qc(i.scale.linear().domain([0,1]),10,!0,[1,10])};var Wc={floor:function(se){return-Math.ceil(-se)},ceil:function(se){return-Math.floor(-se)}};function Lo(se,ve,Ie){var Fe=Dr(ve),Ue=Dr(1/ve);function We(Xe){return se(Fe(Xe))}return We.invert=function(Xe){return Ue(se.invert(Xe))},We.domain=function(Xe){return arguments.length?(se.domain((Ie=Xe.map(Number)).map(Fe)),We):Ie},We.ticks=function(Xe){return $o(Ie,Xe)},We.tickFormat=function(Xe,tt){return d3_scale_linearTickFormat(Ie,Xe,tt)},We.nice=function(Xe){return We.domain(vs(Ie,Xe))},We.exponent=function(Xe){return arguments.length?(Fe=Dr(ve=Xe),Ue=Dr(1/ve),se.domain(Ie.map(Fe)),We):ve},We.copy=function(){return Lo(se.copy(),ve,Ie)},Rl(We,se)}function Dr(se){return function(ve){return ve<0?-Math.pow(-ve,se):Math.pow(ve,se)}}function uu(se,ve){var Ie,Fe,Ue;function We(tt){return Fe[((Ie.get(tt)||(ve.t==="range"?Ie.set(tt,se.push(tt)):NaN))-1)%Fe.length]}function Xe(tt,lt){return i.range(se.length).map(function(mt){return tt+lt*mt})}return We.domain=function(tt){if(!arguments.length)return se;se=[],Ie=new L;for(var lt,mt=-1,zt=tt.length;++mt0?Ie[We-1]:se[0],WeHt?0:1;if(zt=qt)return lt(zt,vn)+(mt?lt(mt,1-vn):"")+"Z";var tn,ln,an,Cn,_n,on,Fn,Hn,ir,ar,Mr,Er,xr=0,kr=0,jr=[];if((Cn=(+Xe.apply(this,arguments)||0)/2)&&(an=Fe===wc?Math.sqrt(mt*mt+zt*zt):+Fe.apply(this,arguments),vn||(kr*=-1),zt&&(kr=qe(an/zt*Math.sin(Cn))),mt&&(xr=qe(an/mt*Math.sin(Cn)))),zt){_n=zt*Math.cos(Ut+kr),on=zt*Math.sin(Ut+kr),Fn=zt*Math.cos(Ht-kr),Hn=zt*Math.sin(Ht-kr);var fi=Math.abs(Ht-Ut-2*kr)<=Ot?0:1;if(kr&&Ls(_n,on,Fn,Hn)===vn^fi){var di=(Ut+Ht)/2;_n=zt*Math.cos(di),on=zt*Math.sin(di),Fn=Hn=null}}else _n=on=0;if(mt){ir=mt*Math.cos(Ht-xr),ar=mt*Math.sin(Ht-xr),Mr=mt*Math.cos(Ut+xr),Er=mt*Math.sin(Ut+xr);var wr=Math.abs(Ut-Ht+2*xr)<=Ot?0:1;if(xr&&Ls(ir,ar,Mr,Er)===1-vn^wr){var Ur=(Ut+Ht)/2;ir=mt*Math.cos(Ur),ar=mt*Math.sin(Ur),Mr=Er=null}}else ir=ar=0;if(en>Ft&&(tn=Math.min(Math.abs(zt-mt)/2,+Ie.apply(this,arguments)))>.001){ln=mt0?0:1}function bs(se,ve,Ie,Fe,Ue){var We=se[0]-ve[0],Xe=se[1]-ve[1],tt=(Ue?Fe:-Fe)/Math.sqrt(We*We+Xe*Xe),lt=tt*Xe,mt=-tt*We,zt=se[0]+lt,Ut=se[1]+mt,Ht=ve[0]+lt,en=ve[1]+mt,vn=(zt+Ht)/2,tn=(Ut+en)/2,ln=Ht-zt,an=en-Ut,Cn=ln*ln+an*an,_n=Ie-Fe,on=zt*en-Ht*Ut,Fn=(an<0?-1:1)*Math.sqrt(Math.max(0,_n*_n*Cn-on*on)),Hn=(on*an-ln*Fn)/Cn,ir=(-on*ln-an*Fn)/Cn,ar=(on*an+ln*Fn)/Cn,Mr=(-on*ln+an*Fn)/Cn,Er=Hn-vn,xr=ir-tn,kr=ar-vn,jr=Mr-tn;return Er*Er+xr*xr>kr*kr+jr*jr&&(Hn=ar,ir=Mr),[[Hn-lt,ir-mt],[Hn*Ie/_n,ir*Ie/_n]]}function hu(){return!0}function yo(se){var ve=Un,Ie=Kn,Fe=hu,Ue=Yi,We=Ue.key,Xe=.7;function tt(lt){var mt,zt=[],Ut=[],Ht=-1,en=lt.length,vn=qn(ve),tn=qn(Ie);function ln(){zt.push("M",Ue(se(Ut),Xe))}for(;++Ht1&&Ue.push("H",Fe[0]),Ue.join("")},"step-before":os,"step-after":_s,basis:Wi,"basis-open":function(se){if(se.length<4)return Yi(se);for(var ve,Ie=[],Fe=-1,Ue=se.length,We=[0],Xe=[0];++Fe<3;)ve=se[Fe],We.push(ve[0]),Xe.push(ve[1]);for(Ie.push(no(qs,We)+","+no(qs,Xe)),--Fe;++Fe9&&(We=3*Ie/Math.sqrt(We),tt[lt]=We*Fe,tt[lt+1]=We*Ue);for(lt=-1;++lt<=mt;)We=(ve[Math.min(mt,lt+1)][0]-ve[Math.max(0,lt-1)][0])/(6*(1+tt[lt]*tt[lt])),Xe.push([We||0,tt[lt]*We||0]);return Xe}(se))}});function Yi(se){return se.length>1?se.join("L"):se+"Z"}function Tc(se){return se.join("L")+"Z"}function os(se){for(var ve=0,Ie=se.length,Fe=se[0],Ue=[Fe[0],",",Fe[1]];++ve1){tt=ve[1],We=se[lt],lt++,Fe+="C"+(Ue[0]+Xe[0])+","+(Ue[1]+Xe[1])+","+(We[0]-tt[0])+","+(We[1]-tt[1])+","+We[0]+","+We[1];for(var mt=2;mtOt)+",1 "+zt}function lt(mt,zt,Ut,Ht){return"Q 0,0 "+Ht}return We.radius=function(mt){return arguments.length?(Ie=qn(mt),We):Ie},We.source=function(mt){return arguments.length?(se=qn(mt),We):se},We.target=function(mt){return arguments.length?(ve=qn(mt),We):ve},We.startAngle=function(mt){return arguments.length?(Fe=qn(mt),We):Fe},We.endAngle=function(mt){return arguments.length?(Ue=qn(mt),We):Ue},We},i.svg.diagonal=function(){var se=Hr,ve=ni,Ie=cl;function Fe(Ue,We){var Xe=se.call(this,Ue,We),tt=ve.call(this,Ue,We),lt=(Xe.y+tt.y)/2,mt=[Xe,{x:Xe.x,y:lt},{x:tt.x,y:lt},tt];return"M"+(mt=mt.map(Ie))[0]+"C"+mt[1]+" "+mt[2]+" "+mt[3]}return Fe.source=function(Ue){return arguments.length?(se=qn(Ue),Fe):se},Fe.target=function(Ue){return arguments.length?(ve=qn(Ue),Fe):ve},Fe.projection=function(Ue){return arguments.length?(Ie=Ue,Fe):Ie},Fe},i.svg.diagonal.radial=function(){var se=i.svg.diagonal(),ve=cl,Ie=se.projection;return se.projection=function(Fe){return arguments.length?Ie(Rs(ve=Fe)):ve},se},i.svg.symbol=function(){var se=Zc,ve=xo;function Ie(Fe,Ue){return(ju.get(se.call(this,Fe,Ue))||Vo)(ve.call(this,Fe,Ue))}return Ie.type=function(Fe){return arguments.length?(se=qn(Fe),Ie):se},Ie.size=function(Fe){return arguments.length?(ve=qn(Fe),Ie):ve},Ie};var ju=i.map({circle:Vo,cross:function(se){var ve=Math.sqrt(se/5)/2;return"M"+-3*ve+","+-ve+"H"+-ve+"V"+-3*ve+"H"+ve+"V"+-ve+"H"+3*ve+"V"+ve+"H"+ve+"V"+3*ve+"H"+-ve+"V"+ve+"H"+-3*ve+"Z"},diamond:function(se){var ve=Math.sqrt(se/(2*Ji)),Ie=ve*Ji;return"M0,"+-ve+"L"+Ie+",0 0,"+ve+" "+-Ie+",0Z"},square:function(se){var ve=Math.sqrt(se)/2;return"M"+-ve+","+-ve+"L"+ve+","+-ve+" "+ve+","+ve+" "+-ve+","+ve+"Z"},"triangle-down":function(se){var ve=Math.sqrt(se/hl),Ie=ve*hl/2;return"M0,"+Ie+"L"+ve+","+-Ie+" "+-ve+","+-Ie+"Z"},"triangle-up":function(se){var ve=Math.sqrt(se/hl),Ie=ve*hl/2;return"M0,"+-Ie+"L"+ve+","+Ie+" "+-ve+","+Ie+"Z"}});i.svg.symbolTypes=ju.keys();var hl=Math.sqrt(3),Ji=Math.tan(30*Ke);ce.transition=function(se){for(var ve,Ie,Fe=rt||++St,Ue=ee(se),We=[],Xe=ct||{time:Date.now(),ease:tl,delay:0,duration:250},tt=-1,lt=this.length;++tt0;)mt[--an].call(se,ln);if(tn>=1)return Ut.event&&Ut.event.end.call(se,se.__data__,ve),--zt.count?delete zt[Fe]:delete se[Ie],1}Ut||(We=Ue.time,Xe=Kt(function(vn){var tn=Ut.delay;if(Xe.t=tn+We,tn<=vn)return Ht(vn-tn);Xe.c=Ht},0,We),Ut=zt[Fe]={tween:new L,time:We,timer:Xe,delay:Ue.delay,duration:Ue.duration,ease:Ue.ease,index:ve},Ue=null,++zt.count)}vt.call=ce.call,vt.empty=ce.empty,vt.node=ce.node,vt.size=ce.size,i.transition=function(se,ve){return se&&se.transition?rt?se.transition(ve):se:i.selection().transition(se)},i.transition.prototype=vt,vt.select=function(se){var ve,Ie,Fe,Ue=this.id,We=this.namespace,Xe=[];se=ye(se);for(var tt=-1,lt=this.length;++ttrect,.s>rect").attr("width",We[1]-We[0])}function en(tn){tn.select(".extent").attr("y",Xe[0]),tn.selectAll(".extent,.e>rect,.w>rect").attr("height",Xe[1]-Xe[0])}function vn(){var tn,ln,an=this,Cn=i.select(i.event.target),_n=Ie.of(an,arguments),on=i.select(an),Fn=Cn.datum(),Hn=!/^(n|s)$/.test(Fn)&&Fe,ir=!/^(e|w)$/.test(Fn)&&Ue,ar=Cn.classed("extent"),Mr=bt(an),Er=i.mouse(an),xr=i.select(a(an)).on("keydown.brush",fi).on("keyup.brush",di);if(i.event.changedTouches?xr.on("touchmove.brush",wr).on("touchend.brush",oi):xr.on("mousemove.brush",wr).on("mouseup.brush",oi),on.interrupt().selectAll("*").interrupt(),ar)Er[0]=We[0]-Er[0],Er[1]=Xe[0]-Er[1];else if(Fn){var kr=+/w$/.test(Fn),jr=+/^n/.test(Fn);ln=[We[1-kr]-Er[0],Xe[1-jr]-Er[1]],Er[0]=We[kr],Er[1]=Xe[jr]}else i.event.altKey&&(tn=Er.slice());function fi(){i.event.keyCode==32&&(ar||(tn=null,Er[0]-=We[1],Er[1]-=Xe[1],ar=2),ne())}function di(){i.event.keyCode==32&&ar==2&&(Er[0]+=We[1],Er[1]+=Xe[1],ar=0,ne())}function wr(){var ai=i.mouse(an),Ii=!1;ln&&(ai[0]+=ln[0],ai[1]+=ln[1]),ar||(i.event.altKey?(tn||(tn=[(We[0]+We[1])/2,(Xe[0]+Xe[1])/2]),Er[0]=We[+(ai[0]>>1;h.dtype||(h.dtype="array"),typeof h.dtype=="string"?y=new(u(h.dtype))(_):h.dtype&&(y=h.dtype,Array.isArray(y)&&(y.length=_));for(var k=0;k<_;++k)y[k]=k;var E=[],x=[],A=[],L=[];(function W(j,$,U,G,q,H){if(!G.length)return null;var ne=E[q]||(E[q]=[]),te=A[q]||(A[q]=[]),Z=x[q]||(x[q]=[]),X=ne.length;if(++q>m||H>1073741824){for(var Q=0;Qpe+Pe||ie>xe+Pe||oe=ce||Me===Se)){var Ce=E[_e];Se===void 0&&(Se=Ce.length);for(var ae=Me;ae=ne&&be<=Z&&ke>=te&&ke<=X&&ye.push(fe)}var Le=x[_e],Be=Le[4*Me+0],ze=Le[4*Me+1],je=Le[4*Me+2],ge=Le[4*Me+3],we=me(Le,Me+1),Ee=.5*Pe,Ve=_e+1;de(pe,xe,Ee,Ve,Be,ze||je||ge||we),de(pe,xe+Ee,Ee,Ve,ze,je||ge||we),de(pe+Ee,xe,Ee,Ve,je,ge||we),de(pe+Ee,xe+Ee,Ee,Ve,ge,we)}}function me(pe,xe){for(var Pe=null,_e=0;Pe===null;)if(Pe=pe[4*xe+_e],++_e>pe.length)return null;return Pe}return de(0,0,1,0,0,1),ye},y;function B(W,j,$,U,G){for(var q=[],H=0;H0){l+=Math.abs(M(f[0]));for(var a=1;a2){for(c=0;c=0))throw new Error("precision must be a positive number");var m=Math.pow(10,h||0);return Math.round(c*m)/m},p.radiansToLength=a,p.lengthToRadians=u,p.lengthToDegrees=function(c,h){return o(u(c,h))},p.bearingToAzimuth=function(c){var h=c%360;return h<0&&(h+=360),h},p.radiansToDegrees=o,p.degreesToRadians=function(c){return c%360*Math.PI/180},p.convertLength=function(c,h,m){if(h===void 0&&(h="kilometers"),m===void 0&&(m="kilometers"),!(c>=0))throw new Error("length must be a positive number");return a(u(c,h),m)},p.convertArea=function(c,h,m){if(h===void 0&&(h="meters"),m===void 0&&(m="kilometers"),!(c>=0))throw new Error("area must be a positive number");var w=p.areaFactors[h];if(!w)throw new Error("invalid original units");var y=p.areaFactors[m];if(!y)throw new Error("invalid final units");return c/w*y},p.isNumber=s,p.isObject=function(c){return!!c&&c.constructor===Object},p.validateBBox=function(c){if(!c)throw new Error("bbox is required");if(!Array.isArray(c))throw new Error("bbox must be an Array");if(c.length!==4&&c.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");c.forEach(function(h){if(!s(h))throw new Error("bbox must only contain numbers")})},p.validateId=function(c){if(!c)throw new Error("id is required");if(["string","number"].indexOf(typeof c)===-1)throw new Error("id must be a number or a string")}},60302:function(T,p,t){Object.defineProperty(p,"__esModule",{value:!0});var d=t(23132);function g(u,o,s){if(u!==null)for(var c,h,m,w,y,S,_,k,E=0,x=0,A=u.type,L=A==="FeatureCollection",b=A==="Feature",R=L?u.features.length:1,I=0;IS||L>_||b>k)return y=E,S=c,_=L,k=b,void(m=0);var R=d.lineString([y,E],s.properties);if(o(R,c,h,b,m)===!1)return!1;m++,y=E})!==!1&&void 0}}})}function a(u,o){if(!u)throw new Error("geojson is required");f(u,function(s,c,h){if(s.geometry!==null){var m=s.geometry.type,w=s.geometry.coordinates;switch(m){case"LineString":if(o(s,c,h,0,0)===!1)return!1;break;case"Polygon":for(var y=0;yv[0]&&(M[0]=v[0]),M[1]>v[1]&&(M[1]=v[1]),M[2]=0))throw new Error("precision must be a positive number");var m=Math.pow(10,h||0);return Math.round(c*m)/m},p.radiansToLength=a,p.lengthToRadians=u,p.lengthToDegrees=function(c,h){return o(u(c,h))},p.bearingToAzimuth=function(c){var h=c%360;return h<0&&(h+=360),h},p.radiansToDegrees=o,p.degreesToRadians=function(c){return c%360*Math.PI/180},p.convertLength=function(c,h,m){if(h===void 0&&(h="kilometers"),m===void 0&&(m="kilometers"),!(c>=0))throw new Error("length must be a positive number");return a(u(c,h),m)},p.convertArea=function(c,h,m){if(h===void 0&&(h="meters"),m===void 0&&(m="kilometers"),!(c>=0))throw new Error("area must be a positive number");var w=p.areaFactors[h];if(!w)throw new Error("invalid original units");var y=p.areaFactors[m];if(!y)throw new Error("invalid final units");return c/w*y},p.isNumber=s,p.isObject=function(c){return!!c&&c.constructor===Object},p.validateBBox=function(c){if(!c)throw new Error("bbox is required");if(!Array.isArray(c))throw new Error("bbox must be an Array");if(c.length!==4&&c.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");c.forEach(function(h){if(!s(h))throw new Error("bbox must only contain numbers")})},p.validateId=function(c){if(!c)throw new Error("id is required");if(["string","number"].indexOf(typeof c)===-1)throw new Error("id must be a number or a string")}},27138:function(T,p,t){Object.defineProperty(p,"__esModule",{value:!0});var d=t(94228);function g(u,o,s){if(u!==null)for(var c,h,m,w,y,S,_,k,E=0,x=0,A=u.type,L=A==="FeatureCollection",b=A==="Feature",R=L?u.features.length:1,I=0;IS||L>_||b>k)return y=E,S=c,_=L,k=b,void(m=0);var R=d.lineString([y,E],s.properties);if(o(R,c,h,b,m)===!1)return!1;m++,y=E})!==!1&&void 0}}})}function a(u,o){if(!u)throw new Error("geojson is required");f(u,function(s,c,h){if(s.geometry!==null){var m=s.geometry.type,w=s.geometry.coordinates;switch(m){case"LineString":if(o(s,c,h,0,0)===!1)return!1;break;case"Polygon":for(var y=0;y=0))throw new Error("precision must be a positive number");var m=Math.pow(10,h||0);return Math.round(c*m)/m},p.radiansToLength=a,p.lengthToRadians=u,p.lengthToDegrees=function(c,h){return o(u(c,h))},p.bearingToAzimuth=function(c){var h=c%360;return h<0&&(h+=360),h},p.radiansToDegrees=o,p.degreesToRadians=function(c){return c%360*Math.PI/180},p.convertLength=function(c,h,m){if(h===void 0&&(h="kilometers"),m===void 0&&(m="kilometers"),!(c>=0))throw new Error("length must be a positive number");return a(u(c,h),m)},p.convertArea=function(c,h,m){if(h===void 0&&(h="meters"),m===void 0&&(m="kilometers"),!(c>=0))throw new Error("area must be a positive number");var w=p.areaFactors[h];if(!w)throw new Error("invalid original units");var y=p.areaFactors[m];if(!y)throw new Error("invalid final units");return c/w*y},p.isNumber=s,p.isObject=function(c){return!!c&&c.constructor===Object},p.validateBBox=function(c){if(!c)throw new Error("bbox is required");if(!Array.isArray(c))throw new Error("bbox must be an Array");if(c.length!==4&&c.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");c.forEach(function(h){if(!s(h))throw new Error("bbox must only contain numbers")})},p.validateId=function(c){if(!c)throw new Error("id is required");if(["string","number"].indexOf(typeof c)===-1)throw new Error("id must be a number or a string")},p.radians2degrees=function(){throw new Error("method has been renamed to `radiansToDegrees`")},p.degrees2radians=function(){throw new Error("method has been renamed to `degreesToRadians`")},p.distanceToDegrees=function(){throw new Error("method has been renamed to `lengthToDegrees`")},p.distanceToRadians=function(){throw new Error("method has been renamed to `lengthToRadians`")},p.radiansToDistance=function(){throw new Error("method has been renamed to `radiansToLength`")},p.bearingToAngle=function(){throw new Error("method has been renamed to `bearingToAzimuth`")},p.convertDistance=function(){throw new Error("method has been renamed to `convertLength`")}},88553:function(T,p,t){Object.defineProperty(p,"__esModule",{value:!0});var d=t(64182);function g(u,o,s){if(u!==null)for(var c,h,m,w,y,S,_,k,E=0,x=0,A=u.type,L=A==="FeatureCollection",b=A==="Feature",R=L?u.features.length:1,I=0;IS||L>_||b>k)return y=E,S=c,_=L,k=b,void(m=0);var R=d.lineString([y,E],s.properties);if(o(R,c,h,b,m)===!1)return!1;m++,y=E})!==!1&&void 0}}})}function a(u,o){if(!u)throw new Error("geojson is required");f(u,function(s,c,h){if(s.geometry!==null){var m=s.geometry.type,w=s.geometry.coordinates;switch(m){case"LineString":if(o(s,c,h,0,0)===!1)return!1;break;case"Polygon":for(var y=0;yi&&(i=p[v]),p[v]1?G-1:0),H=1;H1?G-1:0),H=1;H1?G-1:0),H=1;H1?G-1:0),H=1;H"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function a(L,b,R){return a=l()?Reflect.construct:function(I,O,z){var F=[null];F.push.apply(F,O);var B=new(Function.bind.apply(I,F));return z&&u(B,z.prototype),B},a.apply(null,arguments)}function u(L,b){return u=Object.setPrototypeOf||function(R,I){return R.__proto__=I,R},u(L,b)}function s(L){return s=Object.setPrototypeOf?Object.getPrototypeOf:function(b){return b.__proto__||Object.getPrototypeOf(b)},s(L)}function o(L){return o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(b){return typeof b}:function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},o(L)}var c=t(43827).inspect,f=t(79616).codes.ERR_INVALID_ARG_TYPE;function p(L,b,R){return(R===void 0||R>L.length)&&(R=L.length),L.substring(R-b.length,R)===b}var w="",g="",S="",x="",T={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function E(L){var b=Object.keys(L),R=Object.create(Object.getPrototypeOf(L));return b.forEach(function(I){R[I]=L[I]}),Object.defineProperty(R,"message",{value:L.message}),R}function _(L){return c(L,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}var A=function(L){function b(O){var z;if(function(te,Z){if(!(te instanceof Z))throw new TypeError("Cannot call a class as a function")}(this,b),o(O)!=="object"||O===null)throw new f("options","Object",O);var F=O.message,B=O.operator,N=O.stackStartFn,W=O.actual,j=O.expected,Y=Error.stackTraceLimit;if(Error.stackTraceLimit=0,F!=null)z=M(this,s(b).call(this,String(F)));else if(d.stderr&&d.stderr.isTTY&&(d.stderr&&d.stderr.getColorDepth&&d.stderr.getColorDepth()!==1?(w="\x1B[34m",g="\x1B[32m",x="\x1B[39m",S="\x1B[31m"):(w="",g="",x="",S="")),o(W)==="object"&&W!==null&&o(j)==="object"&&j!==null&&"stack"in W&&W instanceof Error&&"stack"in j&&j instanceof Error&&(W=E(W),j=E(j)),B==="deepStrictEqual"||B==="strictEqual")z=M(this,s(b).call(this,function(te,Z,X){var Q="",re="",ie=0,oe="",ue=!1,ce=_(te),ye=ce.split(` -`),de=_(Z).split(` -`),me=0,pe="";if(X==="strictEqual"&&o(te)==="object"&&o(Z)==="object"&&te!==null&&Z!==null&&(X="strictEqualObject"),ye.length===1&&de.length===1&&ye[0]!==de[0]){var xe=ye[0].length+de[0].length;if(xe<=10){if(!(o(te)==="object"&&te!==null||o(Z)==="object"&&Z!==null||te===0&&Z===0))return"".concat(T[X],` +`))}throw q}},E.strict=y(j,E,{equal:E.strictEqual,deepEqual:E.deepStrictEqual,notEqual:E.notStrictEqual,notDeepEqual:E.notDeepStrictEqual}),E.strict.strict=E.strict},73894:function(T,p,t){var d=t(90386);function g(L,b,R){return b in L?Object.defineProperty(L,b,{value:R,enumerable:!0,configurable:!0,writable:!0}):L[b]=R,L}function i(L,b){for(var R=0;R"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function a(L,b,R){return a=l()?Reflect.construct:function(I,O,z){var F=[null];F.push.apply(F,O);var B=new(Function.bind.apply(I,F));return z&&u(B,z.prototype),B},a.apply(null,arguments)}function u(L,b){return u=Object.setPrototypeOf||function(R,I){return R.__proto__=I,R},u(L,b)}function o(L){return o=Object.setPrototypeOf?Object.getPrototypeOf:function(b){return b.__proto__||Object.getPrototypeOf(b)},o(L)}function s(L){return s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(b){return typeof b}:function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},s(L)}var c=t(43827).inspect,h=t(79616).codes.ERR_INVALID_ARG_TYPE;function m(L,b,R){return(R===void 0||R>L.length)&&(R=L.length),L.substring(R-b.length,R)===b}var w="",y="",S="",_="",k={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function E(L){var b=Object.keys(L),R=Object.create(Object.getPrototypeOf(L));return b.forEach(function(I){R[I]=L[I]}),Object.defineProperty(R,"message",{value:L.message}),R}function x(L){return c(L,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}var A=function(L){function b(O){var z;if(function(te,Z){if(!(te instanceof Z))throw new TypeError("Cannot call a class as a function")}(this,b),s(O)!=="object"||O===null)throw new h("options","Object",O);var F=O.message,B=O.operator,N=O.stackStartFn,W=O.actual,j=O.expected,$=Error.stackTraceLimit;if(Error.stackTraceLimit=0,F!=null)z=M(this,o(b).call(this,String(F)));else if(d.stderr&&d.stderr.isTTY&&(d.stderr&&d.stderr.getColorDepth&&d.stderr.getColorDepth()!==1?(w="\x1B[34m",y="\x1B[32m",_="\x1B[39m",S="\x1B[31m"):(w="",y="",_="",S="")),s(W)==="object"&&W!==null&&s(j)==="object"&&j!==null&&"stack"in W&&W instanceof Error&&"stack"in j&&j instanceof Error&&(W=E(W),j=E(j)),B==="deepStrictEqual"||B==="strictEqual")z=M(this,o(b).call(this,function(te,Z,X){var Q="",re="",ie=0,oe="",ue=!1,ce=x(te),ye=ce.split(` +`),de=x(Z).split(` +`),me=0,pe="";if(X==="strictEqual"&&s(te)==="object"&&s(Z)==="object"&&te!==null&&Z!==null&&(X="strictEqualObject"),ye.length===1&&de.length===1&&ye[0]!==de[0]){var xe=ye[0].length+de[0].length;if(xe<=10){if(!(s(te)==="object"&&te!==null||s(Z)==="object"&&Z!==null||te===0&&Z===0))return"".concat(k[X],` `)+"".concat(ye[0]," !== ").concat(de[0],` `)}else if(X!=="strictEqualObject"&&xe<(d.stderr&&d.stderr.isTTY?d.stderr.columns:80)){for(;ye[0][me]===de[0][me];)me++;me>2&&(pe=` `.concat(function(ze,je){if(je=Math.floor(je),ze.length==0||je==0)return"";var ge=ze.length*je;for(je=Math.floor(Math.log(je)/Math.log(2));je;)ze+=ze,je--;return ze+ze.substring(0,ge-ze.length)}(" ",me),"^"),me=0)}}for(var Pe=ye[ye.length-1],_e=de[de.length-1];Pe===_e&&(me++<2?oe=` `.concat(Pe).concat(oe):Q=Pe,ye.pop(),de.pop(),ye.length!==0&&de.length!==0);)Pe=ye[ye.length-1],_e=de[de.length-1];var Me=Math.max(ye.length,de.length);if(Me===0){var Se=ce.split(` -`);if(Se.length>30)for(Se[26]="".concat(w,"...").concat(x);Se.length>27;)Se.pop();return"".concat(T.notIdentical,` +`);if(Se.length>30)for(Se[26]="".concat(w,"...").concat(_);Se.length>27;)Se.pop();return"".concat(k.notIdentical,` `).concat(Se.join(` `),` `)}me>3&&(oe=` -`.concat(w,"...").concat(x).concat(oe),ue=!0),Q!==""&&(oe=` - `.concat(Q).concat(oe),Q="");var Ce=0,ae=T[X]+` -`.concat(g,"+ actual").concat(x," ").concat(S,"- expected").concat(x),he=" ".concat(w,"...").concat(x," Lines skipped");for(me=0;me1&&me>2&&(be>4?(re+=` -`.concat(w,"...").concat(x),ue=!0):be>3&&(re+=` +`.concat(w,"...").concat(_).concat(oe),ue=!0),Q!==""&&(oe=` + `.concat(Q).concat(oe),Q="");var Ce=0,ae=k[X]+` +`.concat(y,"+ actual").concat(_," ").concat(S,"- expected").concat(_),fe=" ".concat(w,"...").concat(_," Lines skipped");for(me=0;me1&&me>2&&(be>4?(re+=` +`.concat(w,"...").concat(_),ue=!0):be>3&&(re+=` `.concat(de[me-2]),Ce++),re+=` `.concat(de[me-1]),Ce++),ie=me,Q+=` -`.concat(S,"-").concat(x," ").concat(de[me]),Ce++;else if(de.length1&&me>2&&(be>4?(re+=` -`.concat(w,"...").concat(x),ue=!0):be>3&&(re+=` +`.concat(S,"-").concat(_," ").concat(de[me]),Ce++;else if(de.length1&&me>2&&(be>4?(re+=` +`.concat(w,"...").concat(_),ue=!0):be>3&&(re+=` `.concat(ye[me-2]),Ce++),re+=` `.concat(ye[me-1]),Ce++),ie=me,re+=` -`.concat(g,"+").concat(x," ").concat(ye[me]),Ce++;else{var ke=de[me],Le=ye[me],Be=Le!==ke&&(!p(Le,",")||Le.slice(0,-1)!==ke);Be&&p(ke,",")&&ke.slice(0,-1)===Le&&(Be=!1,Le+=","),Be?(be>1&&me>2&&(be>4?(re+=` -`.concat(w,"...").concat(x),ue=!0):be>3&&(re+=` +`.concat(y,"+").concat(_," ").concat(ye[me]),Ce++;else{var ke=de[me],Le=ye[me],Be=Le!==ke&&(!m(Le,",")||Le.slice(0,-1)!==ke);Be&&m(ke,",")&&ke.slice(0,-1)===Le&&(Be=!1,Le+=","),Be?(be>1&&me>2&&(be>4?(re+=` +`.concat(w,"...").concat(_),ue=!0):be>3&&(re+=` `.concat(ye[me-2]),Ce++),re+=` `.concat(ye[me-1]),Ce++),ie=me,re+=` -`.concat(g,"+").concat(x," ").concat(Le),Q+=` -`.concat(S,"-").concat(x," ").concat(ke),Ce+=2):(re+=Q,Q="",be!==1&&me!==0||(re+=` - `.concat(Le),Ce++))}if(Ce>20&&me20&&me30)for(G[26]="".concat(w,"...").concat(x);G.length>27;)G.pop();z=G.length===1?M(this,s(b).call(this,"".concat(U," ").concat(G[0]))):M(this,s(b).call(this,"".concat(U,` +`).concat(w,"...").concat(_).concat(Q,` +`)+"".concat(w,"...").concat(_)}return"".concat(ae).concat(ue?fe:"",` +`).concat(re).concat(Q).concat(oe).concat(pe)}(W,j,B)));else if(B==="notDeepStrictEqual"||B==="notStrictEqual"){var U=k[B],G=x(W).split(` +`);if(B==="notStrictEqual"&&s(W)==="object"&&W!==null&&(U=k.notStrictEqualObject),G.length>30)for(G[26]="".concat(w,"...").concat(_);G.length>27;)G.pop();z=G.length===1?M(this,o(b).call(this,"".concat(U," ").concat(G[0]))):M(this,o(b).call(this,"".concat(U,` `).concat(G.join(` `),` -`)))}else{var q=_(W),H="",ne=T[B];B==="notDeepEqual"||B==="notEqual"?(q="".concat(T[B],` +`)))}else{var q=x(W),H="",ne=k[B];B==="notDeepEqual"||B==="notEqual"?(q="".concat(k[B],` -`).concat(q)).length>1024&&(q="".concat(q.slice(0,1021),"...")):(H="".concat(_(j)),q.length>512&&(q="".concat(q.slice(0,509),"...")),H.length>512&&(H="".concat(H.slice(0,509),"...")),B==="deepEqual"||B==="equal"?q="".concat(ne,` +`).concat(q)).length>1024&&(q="".concat(q.slice(0,1021),"...")):(H="".concat(x(j)),q.length>512&&(q="".concat(q.slice(0,509),"...")),H.length>512&&(H="".concat(H.slice(0,509),"...")),B==="deepEqual"||B==="equal"?q="".concat(ne,` `).concat(q,` should equal -`):H=" ".concat(B," ").concat(H)),z=M(this,s(b).call(this,"".concat(q).concat(H)))}return Error.stackTraceLimit=Y,z.generatedMessage=!F,Object.defineProperty(v(z),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),z.code="ERR_ASSERTION",z.actual=W,z.expected=j,z.operator=B,Error.captureStackTrace&&Error.captureStackTrace(v(z),N),z.stack,z.name="AssertionError",M(z)}var R,I;return function(O,z){if(typeof z!="function"&&z!==null)throw new TypeError("Super expression must either be null or a function");O.prototype=Object.create(z&&z.prototype,{constructor:{value:O,writable:!0,configurable:!0}}),z&&u(O,z)}(b,L),R=b,I=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:c.custom,value:function(O,z){return c(this,function(F){for(var B=1;B2?"one of ".concat(s," ").concat(u.slice(0,o-1).join(", "),", or ")+u[o-1]:o===2?"one of ".concat(s," ").concat(u[0]," or ").concat(u[1]):"of ".concat(s," ").concat(u[0])}return"of ".concat(s," ").concat(String(u))}l("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),l("ERR_INVALID_ARG_TYPE",function(u,s,o){var c,f,p,w,g;if(M===void 0&&(M=t(32791)),M(typeof u=="string","'name' must be a string"),typeof s=="string"&&(f="not ",s.substr(0,f.length)===f)?(c="must not be",s=s.replace(/^not /,"")):c="must be",function(x,T,E){return(E===void 0||E>x.length)&&(E=x.length),x.substring(E-T.length,E)===T}(u," argument"))p="The ".concat(u," ").concat(c," ").concat(a(s,"type"));else{var S=(typeof g!="number"&&(g=0),g+1>(w=u).length||w.indexOf(".",g)===-1?"argument":"property");p='The "'.concat(u,'" ').concat(S," ").concat(c," ").concat(a(s,"type"))}return p+". Received type ".concat(d(o))},TypeError),l("ERR_INVALID_ARG_VALUE",function(u,s){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";v===void 0&&(v=t(43827));var c=v.inspect(s);return c.length>128&&(c="".concat(c.slice(0,128),"...")),"The argument '".concat(u,"' ").concat(o,". Received ").concat(c)},TypeError),l("ERR_INVALID_RETURN_VALUE",function(u,s,o){var c;return c=o&&o.constructor&&o.constructor.name?"instance of ".concat(o.constructor.name):"type ".concat(d(o)),"Expected ".concat(u,' to be returned from the "').concat(s,'"')+" function but got ".concat(c,".")},TypeError),l("ERR_MISSING_ARGS",function(){for(var u=arguments.length,s=new Array(u),o=0;o0,"At least one arg needs to be specified");var c="The ",f=s.length;switch(s=s.map(function(p){return'"'.concat(p,'"')}),f){case 1:c+="".concat(s[0]," argument");break;case 2:c+="".concat(s[0]," and ").concat(s[1]," arguments");break;default:c+=s.slice(0,f-1).join(", "),c+=", and ".concat(s[f-1]," arguments")}return"".concat(c," must be specified")},TypeError),k.exports.codes=h},74061:function(k,m,t){function d(Z,X){return function(Q){if(Array.isArray(Q))return Q}(Z)||function(Q,re){var ie=[],oe=!0,ue=!1,ce=void 0;try{for(var ye,de=Q[Symbol.iterator]();!(oe=(ye=de.next()).done)&&(ie.push(ye.value),!re||ie.length!==re);oe=!0);}catch(me){ue=!0,ce=me}finally{try{oe||de.return==null||de.return()}finally{if(ue)throw ce}}return ie}(Z,X)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function y(Z){return y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(X){return typeof X}:function(X){return X&&typeof Symbol=="function"&&X.constructor===Symbol&&X!==Symbol.prototype?"symbol":typeof X},y(Z)}var i=/a/g.flags!==void 0,M=function(Z){var X=[];return Z.forEach(function(Q){return X.push(Q)}),X},v=function(Z){var X=[];return Z.forEach(function(Q,re){return X.push([re,Q])}),X},h=Object.is?Object.is:t(64003),l=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},a=Number.isNaN?Number.isNaN:t(15567);function u(Z){return Z.call.bind(Z)}var s=u(Object.prototype.hasOwnProperty),o=u(Object.prototype.propertyIsEnumerable),c=u(Object.prototype.toString),f=t(43827).types,p=f.isAnyArrayBuffer,w=f.isArrayBufferView,g=f.isDate,S=f.isMap,x=f.isRegExp,T=f.isSet,E=f.isNativeError,_=f.isBoxedPrimitive,A=f.isNumberObject,L=f.isStringObject,b=f.isBooleanObject,R=f.isBigIntObject,I=f.isSymbolObject,O=f.isFloat32Array,z=f.isFloat64Array;function F(Z){if(Z.length===0||Z.length>10)return!0;for(var X=0;X57)return!0}return Z.length===10&&Z>=Math.pow(2,32)}function B(Z){return Object.keys(Z).filter(F).concat(l(Z).filter(Object.prototype.propertyIsEnumerable.bind(Z)))}function N(Z,X){if(Z===X)return 0;for(var Q=Z.length,re=X.length,ie=0,oe=Math.min(Q,re);ie0?c-4:c;for(s=0;s>16&255,p[w++]=u>>8&255,p[w++]=255&u;return f===2&&(u=d[a.charCodeAt(s)]<<2|d[a.charCodeAt(s+1)]>>4,p[w++]=255&u),f===1&&(u=d[a.charCodeAt(s)]<<10|d[a.charCodeAt(s+1)]<<4|d[a.charCodeAt(s+2)]>>2,p[w++]=u>>8&255,p[w++]=255&u),p},m.fromByteArray=function(a){for(var u,s=a.length,o=s%3,c=[],f=16383,p=0,w=s-o;pw?w:p+f));return o===1?(u=a[s-1],c.push(t[u>>2]+t[u<<4&63]+"==")):o===2&&(u=(a[s-2]<<8)+a[s-1],c.push(t[u>>10]+t[u>>4&63]+t[u<<2&63]+"=")),c.join("")};for(var t=[],d=[],y=typeof Uint8Array<"u"?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",M=0,v=i.length;M0)throw new Error("Invalid string. Length must be a multiple of 4");var s=a.indexOf("=");return s===-1&&(s=u),[s,s===u?0:4-s%4]}function l(a,u,s){for(var o,c,f=[],p=u;p>18&63]+t[c>>12&63]+t[c>>6&63]+t[63&c]);return f.join("")}d["-".charCodeAt(0)]=62,d["_".charCodeAt(0)]=63},91358:function(k){function m(v,h,l,a,u){for(var s=u+1;a<=u;){var o=a+u>>>1,c=v[o];(l!==void 0?l(c,h):c-h)>=0?(s=o,u=o-1):a=o+1}return s}function t(v,h,l,a,u){for(var s=u+1;a<=u;){var o=a+u>>>1,c=v[o];(l!==void 0?l(c,h):c-h)>0?(s=o,u=o-1):a=o+1}return s}function d(v,h,l,a,u){for(var s=a-1;a<=u;){var o=a+u>>>1,c=v[o];(l!==void 0?l(c,h):c-h)<0?(s=o,a=o+1):u=o-1}return s}function y(v,h,l,a,u){for(var s=a-1;a<=u;){var o=a+u>>>1,c=v[o];(l!==void 0?l(c,h):c-h)<=0?(s=o,a=o+1):u=o-1}return s}function i(v,h,l,a,u){for(;a<=u;){var s=a+u>>>1,o=v[s],c=l!==void 0?l(o,h):o-h;if(c===0)return s;c<=0?a=s+1:u=s-1}return-1}function M(v,h,l,a,u,s){return typeof l=="function"?s(v,h,l,a===void 0?0:0|a,u===void 0?v.length-1:0|u):s(v,h,void 0,l===void 0?0:0|l,a===void 0?v.length-1:0|a)}k.exports={ge:function(v,h,l,a,u){return M(v,h,l,a,u,m)},gt:function(v,h,l,a,u){return M(v,h,l,a,u,t)},lt:function(v,h,l,a,u){return M(v,h,l,a,u,d)},le:function(v,h,l,a,u){return M(v,h,l,a,u,y)},eq:function(v,h,l,a,u){return M(v,h,l,a,u,i)}}},13547:function(k,m){function t(y){var i=32;return(y&=-y)&&i--,65535&y&&(i-=16),16711935&y&&(i-=8),252645135&y&&(i-=4),858993459&y&&(i-=2),1431655765&y&&(i-=1),i}m.INT_BITS=32,m.INT_MAX=2147483647,m.INT_MIN=-2147483648,m.sign=function(y){return(y>0)-(y<0)},m.abs=function(y){var i=y>>31;return(y^i)-i},m.min=function(y,i){return i^(y^i)&-(y65535)<<4,i|=M=((y>>>=i)>255)<<3,i|=M=((y>>>=M)>15)<<2,(i|=M=((y>>>=M)>3)<<1)|(y>>>=M)>>1},m.log10=function(y){return y>=1e9?9:y>=1e8?8:y>=1e7?7:y>=1e6?6:y>=1e5?5:y>=1e4?4:y>=1e3?3:y>=100?2:y>=10?1:0},m.popCount=function(y){return 16843009*((y=(858993459&(y-=y>>>1&1431655765))+(y>>>2&858993459))+(y>>>4)&252645135)>>>24},m.countTrailingZeros=t,m.nextPow2=function(y){return y+=y===0,--y,y|=y>>>1,y|=y>>>2,y|=y>>>4,y|=y>>>8,1+(y|=y>>>16)},m.prevPow2=function(y){return y|=y>>>1,y|=y>>>2,y|=y>>>4,y|=y>>>8,(y|=y>>>16)-(y>>>1)},m.parity=function(y){return y^=y>>>16,y^=y>>>8,y^=y>>>4,27030>>>(y&=15)&1};var d=new Array(256);(function(y){for(var i=0;i<256;++i){var M=i,v=i,h=7;for(M>>>=1;M;M>>>=1)v<<=1,v|=1&M,--h;y[i]=v<>>8&255]<<16|d[y>>>16&255]<<8|d[y>>>24&255]},m.interleave2=function(y,i){return(y=1431655765&((y=858993459&((y=252645135&((y=16711935&((y&=65535)|y<<8))|y<<4))|y<<2))|y<<1))|(i=1431655765&((i=858993459&((i=252645135&((i=16711935&((i&=65535)|i<<8))|i<<4))|i<<2))|i<<1))<<1},m.deinterleave2=function(y,i){return(y=65535&((y=16711935&((y=252645135&((y=858993459&((y=y>>>i&1431655765)|y>>>1))|y>>>2))|y>>>4))|y>>>16))<<16>>16},m.interleave3=function(y,i,M){return y=1227133513&((y=3272356035&((y=251719695&((y=4278190335&((y&=1023)|y<<16))|y<<8))|y<<4))|y<<2),(y|=(i=1227133513&((i=3272356035&((i=251719695&((i=4278190335&((i&=1023)|i<<16))|i<<8))|i<<4))|i<<2))<<1)|(M=1227133513&((M=3272356035&((M=251719695&((M=4278190335&((M&=1023)|M<<16))|M<<8))|M<<4))|M<<2))<<2},m.deinterleave3=function(y,i){return(y=1023&((y=4278190335&((y=251719695&((y=3272356035&((y=y>>>i&1227133513)|y>>>2))|y>>>4))|y>>>8))|y>>>16))<<22>>22},m.nextCombination=function(y){var i=y|y-1;return i+1|(~i&-~i)-1>>>t(y)+1}},44781:function(k,m,t){var d=t(53435);k.exports=function(v,h){h||(h={});var l,a,u,s,o,c,f,p,w,g,S,x=h.cutoff==null?.25:h.cutoff,T=h.radius==null?8:h.radius,E=h.channel||0;if(ArrayBuffer.isView(v)||Array.isArray(v)){if(!h.width||!h.height)throw Error("For raw data width and height should be provided by options");l=h.width,a=h.height,s=v,c=h.stride?h.stride:Math.floor(v.length/l/a)}else window.HTMLCanvasElement&&v instanceof window.HTMLCanvasElement?(f=(p=v).getContext("2d"),l=p.width,a=p.height,s=(w=f.getImageData(0,0,l,a)).data,c=4):window.CanvasRenderingContext2D&&v instanceof window.CanvasRenderingContext2D?(f=v,l=(p=v.canvas).width,a=p.height,s=(w=f.getImageData(0,0,l,a)).data,c=4):window.ImageData&&v instanceof window.ImageData&&(w=v,l=v.width,a=v.height,s=w.data,c=4);if(u=Math.max(l,a),window.Uint8ClampedArray&&s instanceof window.Uint8ClampedArray||window.Uint8Array&&s instanceof window.Uint8Array)for(o=s,s=Array(l*a),g=0,S=o.length;g-1?y(h):h}},68222:function(k,m,t){var d=t(77575),y=t(68318),i=y("%Function.prototype.apply%"),M=y("%Function.prototype.call%"),v=y("%Reflect.apply%",!0)||d.call(M,i),h=y("%Object.getOwnPropertyDescriptor%",!0),l=y("%Object.defineProperty%",!0),a=y("%Math.max%");if(l)try{l({},"a",{value:1})}catch{l=null}k.exports=function(s){var o=v(d,M,arguments);if(h&&l){var c=h(o,"length");c.configurable&&l(o,"length",{value:1+a(0,s.length-(arguments.length-1))})}return o};var u=function(){return v(d,i,arguments)};l?l(k.exports,"apply",{value:u}):k.exports.apply=u},53435:function(k){k.exports=function(m,t,d){return td?d:m:mt?t:m}},6475:function(k,m,t){var d=t(53435);function y(i,M){M==null&&(M=!0);var v=i[0],h=i[1],l=i[2],a=i[3];return a==null&&(a=M?1:255),M&&(v*=255,h*=255,l*=255,a*=255),16777216*(v=255&d(v,0,255))+((h=255&d(h,0,255))<<16)+((l=255&d(l,0,255))<<8)+(255&d(a,0,255))}k.exports=y,k.exports.to=y,k.exports.from=function(i,M){var v=(i=+i)>>>24,h=(16711680&i)>>>16,l=(65280&i)>>>8,a=255&i;return M===!1?[v,h,l,a]:[v/255,h/255,l/255,a/255]}},76857:function(k){k.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},25075:function(k,m,t){var d=t(36652),y=t(53435),i=t(90660);k.exports=function(M,v){v!=="float"&&v||(v="array"),v==="uint"&&(v="uint8"),v==="uint_clamped"&&(v="uint8_clamped");var h=new(i(v))(4),l=v!=="uint8"&&v!=="uint8_clamped";return M.length&&typeof M!="string"||((M=d(M))[0]/=255,M[1]/=255,M[2]/=255),function(a){return a instanceof Uint8Array||a instanceof Uint8ClampedArray||!!(Array.isArray(a)&&(a[0]>1||a[0]===0)&&(a[1]>1||a[1]===0)&&(a[2]>1||a[2]===0)&&(!a[3]||a[3]>1))}(M)?(h[0]=M[0],h[1]=M[1],h[2]=M[2],h[3]=M[3]!=null?M[3]:255,l&&(h[0]/=255,h[1]/=255,h[2]/=255,h[3]/=255),h):(l?(h[0]=M[0],h[1]=M[1],h[2]=M[2],h[3]=M[3]!=null?M[3]:1):(h[0]=y(Math.floor(255*M[0]),0,255),h[1]=y(Math.floor(255*M[1]),0,255),h[2]=y(Math.floor(255*M[2]),0,255),h[3]=M[3]==null?255:y(Math.floor(255*M[3]),0,255)),h)}},90736:function(k,m,t){var d=t(76857),y=t(10973),i=t(46775);k.exports=function(v){var h,l,a=[],u=1;if(typeof v=="string")if(d[v])a=d[v].slice(),l="rgb";else if(v==="transparent")u=0,l="rgb",a=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(v)){var s=(f=v.slice(1)).length;u=1,s<=4?(a=[parseInt(f[0]+f[0],16),parseInt(f[1]+f[1],16),parseInt(f[2]+f[2],16)],s===4&&(u=parseInt(f[3]+f[3],16)/255)):(a=[parseInt(f[0]+f[1],16),parseInt(f[2]+f[3],16),parseInt(f[4]+f[5],16)],s===8&&(u=parseInt(f[6]+f[7],16)/255)),a[0]||(a[0]=0),a[1]||(a[1]=0),a[2]||(a[2]=0),l="rgb"}else if(h=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(v)){var o=h[1],c=o==="rgb",f=o.replace(/a$/,"");l=f,s=f==="cmyk"?4:f==="gray"?1:3,a=h[2].trim().split(/\s*,\s*/).map(function(w,g){if(/%$/.test(w))return g===s?parseFloat(w)/100:f==="rgb"?255*parseFloat(w)/100:parseFloat(w);if(f[g]==="h"){if(/deg$/.test(w))return parseFloat(w);if(M[w]!==void 0)return M[w]}return parseFloat(w)}),o===f&&a.push(1),u=c||a[s]===void 0?1:a[s],a=a.slice(0,s)}else v.length>10&&/[0-9](?:\s|\/)/.test(v)&&(a=v.match(/([0-9]+)/g).map(function(w){return parseFloat(w)}),l=v.match(/([a-z])/gi).join("").toLowerCase());else if(isNaN(v))if(y(v)){var p=i(v.r,v.red,v.R,null);p!==null?(l="rgb",a=[p,i(v.g,v.green,v.G),i(v.b,v.blue,v.B)]):(l="hsl",a=[i(v.h,v.hue,v.H),i(v.s,v.saturation,v.S),i(v.l,v.lightness,v.L,v.b,v.brightness)]),u=i(v.a,v.alpha,v.opacity,1),v.opacity!=null&&(u/=100)}else(Array.isArray(v)||t.g.ArrayBuffer&&ArrayBuffer.isView&&ArrayBuffer.isView(v))&&(a=[v[0],v[1],v[2]],l="rgb",u=v.length===4?v[3]:1);else l="rgb",a=[v>>>16,(65280&v)>>>8,255&v];return{space:l,values:a,alpha:u}};var M={red:0,orange:60,yellow:120,green:180,blue:240,purple:300}},36652:function(k,m,t){var d=t(90736),y=t(80009),i=t(53435);k.exports=function(M){var v,h=d(M);return h.space?((v=Array(3))[0]=i(h.values[0],0,255),v[1]=i(h.values[1],0,255),v[2]=i(h.values[2],0,255),h.space[0]==="h"&&(v=y.rgb(v)),v.push(i(h.alpha,0,1)),v):[]}},80009:function(k,m,t){var d=t(6866);k.exports={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(y){var i,M,v,h,l,a=y[0]/360,u=y[1]/100,s=y[2]/100;if(u===0)return[l=255*s,l,l];i=2*s-(M=s<.5?s*(1+u):s+u-s*u),h=[0,0,0];for(var o=0;o<3;o++)(v=a+.3333333333333333*-(o-1))<0?v++:v>1&&v--,l=6*v<1?i+6*(M-i)*v:2*v<1?M:3*v<2?i+(M-i)*(.6666666666666666-v)*6:i,h[o]=255*l;return h}},d.hsl=function(y){var i,M,v=y[0]/255,h=y[1]/255,l=y[2]/255,a=Math.min(v,h,l),u=Math.max(v,h,l),s=u-a;return u===a?i=0:v===u?i=(h-l)/s:h===u?i=2+(l-v)/s:l===u&&(i=4+(v-h)/s),(i=Math.min(60*i,360))<0&&(i+=360),M=(a+u)/2,[i,100*(u===a?0:M<=.5?s/(u+a):s/(2-u-a)),100*M]}},6866:function(k){k.exports={name:"rgb",min:[0,0,0],max:[255,255,255],channel:["red","green","blue"],alias:["RGB"]}},24138:function(k){k.exports={AFG:"afghan",ALA:"\\b\\wland",ALB:"albania",DZA:"algeria",ASM:"^(?=.*americ).*samoa",AND:"andorra",AGO:"angola",AIA:"anguill?a",ATA:"antarctica",ATG:"antigua",ARG:"argentin",ARM:"armenia",ABW:"^(?!.*bonaire).*\\baruba",AUS:"australia",AUT:"^(?!.*hungary).*austria|\\baustri.*\\bemp",AZE:"azerbaijan",BHS:"bahamas",BHR:"bahrain",BGD:"bangladesh|^(?=.*east).*paki?stan",BRB:"barbados",BLR:"belarus|byelo",BEL:"^(?!.*luxem).*belgium",BLZ:"belize|^(?=.*british).*honduras",BEN:"benin|dahome",BMU:"bermuda",BTN:"bhutan",BOL:"bolivia",BES:"^(?=.*bonaire).*eustatius|^(?=.*carib).*netherlands|\\bbes.?islands",BIH:"herzegovina|bosnia",BWA:"botswana|bechuana",BVT:"bouvet",BRA:"brazil",IOT:"british.?indian.?ocean",BRN:"brunei",BGR:"bulgaria",BFA:"burkina|\\bfaso|upper.?volta",BDI:"burundi",CPV:"verde",KHM:"cambodia|kampuchea|khmer",CMR:"cameroon",CAN:"canada",CYM:"cayman",CAF:"\\bcentral.african.republic",TCD:"\\bchad",CHL:"\\bchile",CHN:"^(?!.*\\bmac)(?!.*\\bhong)(?!.*\\btai)(?!.*\\brep).*china|^(?=.*peo)(?=.*rep).*china",CXR:"christmas",CCK:"\\bcocos|keeling",COL:"colombia",COM:"comoro",COG:"^(?!.*\\bdem)(?!.*\\bd[\\.]?r)(?!.*kinshasa)(?!.*zaire)(?!.*belg)(?!.*l.opoldville)(?!.*free).*\\bcongo",COK:"\\bcook",CRI:"costa.?rica",CIV:"ivoire|ivory",HRV:"croatia",CUB:"\\bcuba",CUW:"^(?!.*bonaire).*\\bcura(c|ç)ao",CYP:"cyprus",CSK:"czechoslovakia",CZE:"^(?=.*rep).*czech|czechia|bohemia",COD:"\\bdem.*congo|congo.*\\bdem|congo.*\\bd[\\.]?r|\\bd[\\.]?r.*congo|belgian.?congo|congo.?free.?state|kinshasa|zaire|l.opoldville|drc|droc|rdc",DNK:"denmark",DJI:"djibouti",DMA:"dominica(?!n)",DOM:"dominican.rep",ECU:"ecuador",EGY:"egypt",SLV:"el.?salvador",GNQ:"guine.*eq|eq.*guine|^(?=.*span).*guinea",ERI:"eritrea",EST:"estonia",ETH:"ethiopia|abyssinia",FLK:"falkland|malvinas",FRO:"faroe|faeroe",FJI:"fiji",FIN:"finland",FRA:"^(?!.*\\bdep)(?!.*martinique).*france|french.?republic|\\bgaul",GUF:"^(?=.*french).*guiana",PYF:"french.?polynesia|tahiti",ATF:"french.?southern",GAB:"gabon",GMB:"gambia",GEO:"^(?!.*south).*georgia",DDR:"german.?democratic.?republic|democratic.?republic.*germany|east.germany",DEU:"^(?!.*east).*germany|^(?=.*\\bfed.*\\brep).*german",GHA:"ghana|gold.?coast",GIB:"gibraltar",GRC:"greece|hellenic|hellas",GRL:"greenland",GRD:"grenada",GLP:"guadeloupe",GUM:"\\bguam",GTM:"guatemala",GGY:"guernsey",GIN:"^(?!.*eq)(?!.*span)(?!.*bissau)(?!.*portu)(?!.*new).*guinea",GNB:"bissau|^(?=.*portu).*guinea",GUY:"guyana|british.?guiana",HTI:"haiti",HMD:"heard.*mcdonald",VAT:"holy.?see|vatican|papal.?st",HND:"^(?!.*brit).*honduras",HKG:"hong.?kong",HUN:"^(?!.*austr).*hungary",ISL:"iceland",IND:"india(?!.*ocea)",IDN:"indonesia",IRN:"\\biran|persia",IRQ:"\\biraq|mesopotamia",IRL:"(^ireland)|(^republic.*ireland)",IMN:"^(?=.*isle).*\\bman",ISR:"israel",ITA:"italy",JAM:"jamaica",JPN:"japan",JEY:"jersey",JOR:"jordan",KAZ:"kazak",KEN:"kenya|british.?east.?africa|east.?africa.?prot",KIR:"kiribati",PRK:"^(?=.*democrat|people|north|d.*p.*.r).*\\bkorea|dprk|korea.*(d.*p.*r)",KWT:"kuwait",KGZ:"kyrgyz|kirghiz",LAO:"\\blaos?\\b",LVA:"latvia",LBN:"lebanon",LSO:"lesotho|basuto",LBR:"liberia",LBY:"libya",LIE:"liechtenstein",LTU:"lithuania",LUX:"^(?!.*belg).*luxem",MAC:"maca(o|u)",MDG:"madagascar|malagasy",MWI:"malawi|nyasa",MYS:"malaysia",MDV:"maldive",MLI:"\\bmali\\b",MLT:"\\bmalta",MHL:"marshall",MTQ:"martinique",MRT:"mauritania",MUS:"mauritius",MYT:"\\bmayotte",MEX:"\\bmexic",FSM:"fed.*micronesia|micronesia.*fed",MCO:"monaco",MNG:"mongolia",MNE:"^(?!.*serbia).*montenegro",MSR:"montserrat",MAR:"morocco|\\bmaroc",MOZ:"mozambique",MMR:"myanmar|burma",NAM:"namibia",NRU:"nauru",NPL:"nepal",NLD:"^(?!.*\\bant)(?!.*\\bcarib).*netherlands",ANT:"^(?=.*\\bant).*(nether|dutch)",NCL:"new.?caledonia",NZL:"new.?zealand",NIC:"nicaragua",NER:"\\bniger(?!ia)",NGA:"nigeria",NIU:"niue",NFK:"norfolk",MNP:"mariana",NOR:"norway",OMN:"\\boman|trucial",PAK:"^(?!.*east).*paki?stan",PLW:"palau",PSE:"palestin|\\bgaza|west.?bank",PAN:"panama",PNG:"papua|new.?guinea",PRY:"paraguay",PER:"peru",PHL:"philippines",PCN:"pitcairn",POL:"poland",PRT:"portugal",PRI:"puerto.?rico",QAT:"qatar",KOR:"^(?!.*d.*p.*r)(?!.*democrat)(?!.*people)(?!.*north).*\\bkorea(?!.*d.*p.*r)",MDA:"moldov|b(a|e)ssarabia",REU:"r(e|é)union",ROU:"r(o|u|ou)mania",RUS:"\\brussia|soviet.?union|u\\.?s\\.?s\\.?r|socialist.?republics",RWA:"rwanda",BLM:"barth(e|é)lemy",SHN:"helena",KNA:"kitts|\\bnevis",LCA:"\\blucia",MAF:"^(?=.*collectivity).*martin|^(?=.*france).*martin(?!ique)|^(?=.*french).*martin(?!ique)",SPM:"miquelon",VCT:"vincent",WSM:"^(?!.*amer).*samoa",SMR:"san.?marino",STP:"\\bs(a|ã)o.?tom(e|é)",SAU:"\\bsa\\w*.?arabia",SEN:"senegal",SRB:"^(?!.*monte).*serbia",SYC:"seychell",SLE:"sierra",SGP:"singapore",SXM:"^(?!.*martin)(?!.*saba).*maarten",SVK:"^(?!.*cze).*slovak",SVN:"slovenia",SLB:"solomon",SOM:"somali",ZAF:"south.africa|s\\\\..?africa",SGS:"south.?georgia|sandwich",SSD:"\\bs\\w*.?sudan",ESP:"spain",LKA:"sri.?lanka|ceylon",SDN:"^(?!.*\\bs(?!u)).*sudan",SUR:"surinam|dutch.?guiana",SJM:"svalbard",SWZ:"swaziland",SWE:"sweden",CHE:"switz|swiss",SYR:"syria",TWN:"taiwan|taipei|formosa|^(?!.*peo)(?=.*rep).*china",TJK:"tajik",THA:"thailand|\\bsiam",MKD:"macedonia|fyrom",TLS:"^(?=.*leste).*timor|^(?=.*east).*timor",TGO:"togo",TKL:"tokelau",TON:"tonga",TTO:"trinidad|tobago",TUN:"tunisia",TUR:"turkey",TKM:"turkmen",TCA:"turks",TUV:"tuvalu",UGA:"uganda",UKR:"ukrain",ARE:"emirates|^u\\.?a\\.?e\\.?$|united.?arab.?em",GBR:"united.?kingdom|britain|^u\\.?k\\.?$",TZA:"tanzania",USA:"united.?states\\b(?!.*islands)|\\bu\\.?s\\.?a\\.?\\b|^\\s*u\\.?s\\.?\\b(?!.*islands)",UMI:"minor.?outlying.?is",URY:"uruguay",UZB:"uzbek",VUT:"vanuatu|new.?hebrides",VEN:"venezuela",VNM:"^(?!.*republic).*viet.?nam|^(?=.*socialist).*viet.?nam",VGB:"^(?=.*\\bu\\.?\\s?k).*virgin|^(?=.*brit).*virgin|^(?=.*kingdom).*virgin",VIR:"^(?=.*\\bu\\.?\\s?s).*virgin|^(?=.*states).*virgin",WLF:"futuna|wallis",ESH:"western.sahara",YEM:"^(?!.*arab)(?!.*north)(?!.*sana)(?!.*peo)(?!.*dem)(?!.*south)(?!.*aden)(?!.*\\bp\\.?d\\.?r).*yemen",YMD:"^(?=.*peo).*yemen|^(?!.*rep)(?=.*dem).*yemen|^(?=.*south).*yemen|^(?=.*aden).*yemen|^(?=.*\\bp\\.?d\\.?r).*yemen",YUG:"yugoslavia",ZMB:"zambia|northern.?rhodesia",EAZ:"zanzibar",ZWE:"zimbabwe|^(?!.*northern).*rhodesia"}},72791:function(k,m,t){k.exports={parse:t(41004),stringify:t(53313)}},63625:function(k,m,t){var d=t(40402);k.exports={isSize:function(y){return/^[\d\.]/.test(y)||y.indexOf("/")!==-1||d.indexOf(y)!==-1}}},41004:function(k,m,t){var d=t(90448),y=t(38732),i=t(41901),M=t(15659),v=t(96209),h=t(83794),l=t(99011),a=t(63625).isSize;k.exports=s;var u=s.cache={};function s(c){if(typeof c!="string")throw new Error("Font argument must be a string.");if(u[c])return u[c];if(c==="")throw new Error("Cannot parse an empty string.");if(i.indexOf(c)!==-1)return u[c]={system:c};for(var f,p={style:"normal",variant:"normal",weight:"normal",stretch:"normal",lineHeight:"normal",size:"1rem",family:["serif"]},w=l(c,/\s+/);f=w.shift();){if(y.indexOf(f)!==-1)return["style","variant","weight","stretch"].forEach(function(S){p[S]=f}),u[c]=p;if(v.indexOf(f)===-1)if(f!=="normal"&&f!=="small-caps")if(h.indexOf(f)===-1){if(M.indexOf(f)===-1){if(a(f)){var g=l(f,"/");if(p.size=g[0],g[1]!=null?p.lineHeight=o(g[1]):w[0]==="/"&&(w.shift(),p.lineHeight=o(w.shift())),!w.length)throw new Error("Missing required font-family.");return p.family=l(w.join(" "),/\s*,\s*/).map(d),u[c]=p}throw new Error("Unknown or unsupported font token: "+f)}p.weight=f}else p.stretch=f;else p.variant=f;else p.style=f}throw new Error("Missing required font-size.")}function o(c){var f=parseFloat(c);return f.toString()===c?f:c}},53313:function(k,m,t){var d=t(71299),y=t(63625).isSize,i=c(t(38732)),M=c(t(41901)),v=c(t(15659)),h=c(t(96209)),l=c(t(83794)),a={normal:1,"small-caps":1},u={serif:1,"sans-serif":1,monospace:1,cursive:1,fantasy:1,"system-ui":1},s="serif";function o(f,p){if(f&&!p[f]&&!i[f])throw Error("Unknown keyword `"+f+"`");return f}function c(f){for(var p={},w=0;wc?1:o>=c?0:NaN}t.d(m,{j2:function(){return d},Fp:function(){return M},J6:function(){return h},TS:function(){return l},VV:function(){return a},w6:function(){return u},Sm:function(){return s}}),(y=d).length===1&&(i=y,y=function(o,c){return d(i(o),c)});var y,i;function M(o,c){var f,p,w=o.length,g=-1;if(c==null){for(;++g=f)for(p=f;++gp&&(p=f)}else for(;++g=f)for(p=f;++gp&&(p=f);return p}function v(o){return o===null?NaN:+o}function h(o,c){var f,p=o.length,w=p,g=-1,S=0;if(c==null)for(;++g=0;)for(c=(p=o[w]).length;--c>=0;)f[--S]=p[c];return f}function a(o,c){var f,p,w=o.length,g=-1;if(c==null){for(;++g=f)for(p=f;++gf&&(p=f)}else for(;++g=f)for(p=f;++gf&&(p=f);return p}function u(o,c,f){o=+o,c=+c,f=(w=arguments.length)<2?(c=o,o=0,1):w<3?1:+f;for(var p=-1,w=0|Math.max(0,Math.ceil((c-o)/f)),g=new Array(w);++p=w.length)return c!=null&&T.sort(c),f!=null?f(T):T;for(var L,b,R,I=-1,O=T.length,z=w[E++],F=M(),B=_();++Iw.length)return T;var _,A=g[E-1];return f!=null&&E>=w.length?_=T.entries():(_=[],T.each(function(L,b){_.push({key:b,values:x(L,E)})})),A!=null?_.sort(function(L,b){return A(L.key,b.key)}):_}return p={object:function(T){return S(T,0,h,l)},map:function(T){return S(T,0,a,u)},entries:function(T){return x(S(T,0,a,u),0)},key:function(T){return w.push(T),p},sortKeys:function(T){return g[w.length-1]=T,p},sortValues:function(T){return c=T,p},rollup:function(T){return f=T,p}}}function h(){return{}}function l(c,f,p){c[f]=p}function a(){return M()}function u(c,f,p){c.set(f,p)}function s(){}var o=M.prototype;s.prototype={constructor:s,has:o.has,add:function(c){return this[d+(c+="")]=c,this},remove:o.remove,clear:o.clear,values:o.keys,size:o.size,empty:o.empty,each:o.each}},49887:function(k,m,t){function d(me,pe){var xe;function Pe(){var _e,Me,Se=xe.length,Ce=0,ae=0;for(_e=0;_e=(Me=(je+we)/2))?je=Me:we=Me,(be=xe>=(Se=(ge+Ee)/2))?ge=Se:Ee=Se,_e=Be,!(Be=Be[ke=be<<1|he]))return _e[ke]=ze,me;if(Ce=+me._x.call(null,Be.data),ae=+me._y.call(null,Be.data),pe===Ce&&xe===ae)return ze.next=Be,_e?_e[ke]=ze:me._root=ze,me;do _e=_e?_e[ke]=new Array(4):me._root=new Array(4),(he=pe>=(Me=(je+we)/2))?je=Me:we=Me,(be=xe>=(Se=(ge+Ee)/2))?ge=Se:Ee=Se;while((ke=be<<1|he)==(Le=(ae>=Se)<<1|Ce>=Me));return _e[Le]=Be,_e[ke]=ze,me}function v(me,pe,xe,Pe,_e){this.node=me,this.x0=pe,this.y0=xe,this.x1=Pe,this.y1=_e}function h(me){return me[0]}function l(me){return me[1]}function a(me,pe,xe){var Pe=new u(pe??h,xe??l,NaN,NaN,NaN,NaN);return me==null?Pe:Pe.addAll(me)}function u(me,pe,xe,Pe,_e,Me){this._x=me,this._y=pe,this._x0=xe,this._y0=Pe,this._x1=_e,this._y1=Me,this._root=void 0}function s(me){for(var pe={data:me.data},xe=pe;me=me.next;)xe=xe.next={data:me.data};return pe}t.r(m),t.d(m,{forceCenter:function(){return d},forceCollide:function(){return p},forceLink:function(){return x},forceManyBody:function(){return ue},forceRadial:function(){return ce},forceSimulation:function(){return oe},forceX:function(){return ye},forceY:function(){return de}});var o=a.prototype=u.prototype;function c(me){return me.x+me.vx}function f(me){return me.y+me.vy}function p(me){var pe,xe,Pe=1,_e=1;function Me(){for(var ae,he,be,ke,Le,Be,ze,je=pe.length,ge=0;ge<_e;++ge)for(he=a(pe,c,f).visitAfter(Se),ae=0;aeke+bt||$eLe+bt||stbe.index){var Et=ke-ot.x-ot.vx,kt=Le-ot.y-ot.vy,xt=Et*Et+kt*kt;xtae.r&&(ae.r=ae[he].r)}function Ce(){if(pe){var ae,he,be=pe.length;for(xe=new Array(be),ae=0;aebe&&(be=Pe),_eke&&(ke=_e));if(ae>be||he>ke)return this;for(this.cover(ae,he).cover(be,ke),xe=0;xeme||me>=_e||Pe>pe||pe>=Me;)switch(Ce=(peLe||(Me=ae.y0)>Be||(Se=ae.x1)=we)<<1|me>=ge)&&(ae=ze[ze.length-1],ze[ze.length-1]=ze[ze.length-1-he],ze[ze.length-1-he]=ae)}else{var Ee=me-+this._x.call(null,je.data),Ve=pe-+this._y.call(null,je.data),Ye=Ee*Ee+Ve*Ve;if(Ye=(Ce=(ze+ge)/2))?ze=Ce:ge=Ce,(be=Se>=(ae=(je+we)/2))?je=ae:we=ae,pe=Be,!(Be=Be[ke=be<<1|he]))return this;if(!Be.length)break;(pe[ke+1&3]||pe[ke+2&3]||pe[ke+3&3])&&(xe=pe,Le=ke)}for(;Be.data!==me;)if(Pe=Be,!(Be=Be.next))return this;return(_e=Be.next)&&delete Be.next,Pe?(_e?Pe.next=_e:delete Pe.next,this):pe?(_e?pe[ke]=_e:delete pe[ke],(Be=pe[0]||pe[1]||pe[2]||pe[3])&&Be===(pe[3]||pe[2]||pe[1]||pe[0])&&!Be.length&&(xe?xe[Le]=Be:this._root=Be),this):(this._root=_e,this)},o.removeAll=function(me){for(var pe=0,xe=me.length;pe=0&&(Pe=xe.slice(_e+1),xe=xe.slice(0,_e)),xe&&!pe.hasOwnProperty(xe))throw new Error("unknown type: "+xe);return{type:xe,name:Pe}})}function L(me,pe){for(var xe,Pe=0,_e=me.length;Pe<_e;++Pe)if((xe=me[Pe]).name===pe)return xe.value}function b(me,pe,xe){for(var Pe=0,_e=me.length;Pe<_e;++Pe)if(me[Pe].name===pe){me[Pe]=T,me=me.slice(0,Pe).concat(me.slice(Pe+1));break}return xe!=null&&me.push({name:pe,value:xe}),me}_.prototype=E.prototype={constructor:_,on:function(me,pe){var xe,Pe=this._,_e=A(me+"",Pe),Me=-1,Se=_e.length;if(!(arguments.length<2)){if(pe!=null&&typeof pe!="function")throw new Error("invalid callback: "+pe);for(;++Me0)for(var xe,Pe,_e=new Array(xe),Me=0;Me=0&&pe._call.call(null,me),pe=pe._next;--z})()}finally{z=0,function(){for(var me,pe,xe=R,Pe=1/0;xe;)xe._call?(Pe>xe._time&&(Pe=xe._time),me=xe,xe=xe._next):(pe=xe._next,xe._next=null,xe=me?me._next=pe:R=pe);I=me,X(Pe)}(),W=0}}function Z(){var me=Y.now(),pe=me-N;pe>1e3&&(j-=pe,N=me)}function X(me){z||(F&&(F=clearTimeout(F)),me-W>24?(me<1/0&&(F=setTimeout(te,me-Y.now()-j)),B&&(B=clearInterval(B))):(B||(N=Y.now(),B=setInterval(Z,1e3)),z=1,U(te)))}function Q(me){return me.x}function re(me){return me.y}H.prototype=ne.prototype={constructor:H,restart:function(me,pe,xe){if(typeof me!="function")throw new TypeError("callback is not a function");xe=(xe==null?G():+xe)+(pe==null?0:+pe),this._next||I===this||(I?I._next=this:R=this,I=this),this._call=me,this._time=xe,X()},stop:function(){this._call&&(this._call=null,this._time=1/0,X())}};var ie=Math.PI*(3-Math.sqrt(5));function oe(me){var pe,xe=1,Pe=.001,_e=1-Math.pow(Pe,1/300),Me=0,Se=.6,Ce=(0,w.UI)(),ae=ne(be),he=O("tick","end");function be(){ke(),he.call("tick",pe),xe1?(je==null?Ce.remove(ze):Ce.set(ze,Be(je)),pe):Ce.get(ze)},find:function(ze,je,ge){var we,Ee,Ve,Ye,$e,st=0,ot=me.length;for(ge==null?ge=1/0:ge*=ge,st=0;st1?(he.on(ze,je),pe):he.on(ze)}}}function ue(){var me,pe,xe,Pe,_e=y(-30),Me=1,Se=1/0,Ce=.81;function ae(Le){var Be,ze=me.length,je=a(me,Q,re).visitAfter(be);for(xe=Le,Be=0;Be=Se)){(Le.data!==pe||Le.next)&&(ge===0&&(Ve+=(ge=i())*ge),we===0&&(Ve+=(we=i())*we),Ve1?S[0]+S.slice(2):S,+p.slice(g+1)]}t.d(m,{WU:function(){return s},FF:function(){return f}});var y,i=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function M(p){if(!(w=i.exec(p)))throw new Error("invalid format: "+p);var w;return new v({fill:w[1],align:w[2],sign:w[3],symbol:w[4],zero:w[5],width:w[6],comma:w[7],precision:w[8]&&w[8].slice(1),trim:w[9],type:w[10]})}function v(p){this.fill=p.fill===void 0?" ":p.fill+"",this.align=p.align===void 0?">":p.align+"",this.sign=p.sign===void 0?"-":p.sign+"",this.symbol=p.symbol===void 0?"":p.symbol+"",this.zero=!!p.zero,this.width=p.width===void 0?void 0:+p.width,this.comma=!!p.comma,this.precision=p.precision===void 0?void 0:+p.precision,this.trim=!!p.trim,this.type=p.type===void 0?"":p.type+""}function h(p,w){var g=d(p,w);if(!g)return p+"";var S=g[0],x=g[1];return x<0?"0."+new Array(-x).join("0")+S:S.length>x+1?S.slice(0,x+1)+"."+S.slice(x+1):S+new Array(x-S.length+2).join("0")}M.prototype=v.prototype,v.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,0|this.width))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var l={"%":function(p,w){return(100*p).toFixed(w)},b:function(p){return Math.round(p).toString(2)},c:function(p){return p+""},d:function(p){return Math.abs(p=Math.round(p))>=1e21?p.toLocaleString("en").replace(/,/g,""):p.toString(10)},e:function(p,w){return p.toExponential(w)},f:function(p,w){return p.toFixed(w)},g:function(p,w){return p.toPrecision(w)},o:function(p){return Math.round(p).toString(8)},p:function(p,w){return h(100*p,w)},r:h,s:function(p,w){var g=d(p,w);if(!g)return p+"";var S=g[0],x=g[1],T=x-(y=3*Math.max(-8,Math.min(8,Math.floor(x/3))))+1,E=S.length;return T===E?S:T>E?S+new Array(T-E+1).join("0"):T>0?S.slice(0,T)+"."+S.slice(T):"0."+new Array(1-T).join("0")+d(p,Math.max(0,w+T-1))[0]},X:function(p){return Math.round(p).toString(16).toUpperCase()},x:function(p){return Math.round(p).toString(16)}};function a(p){return p}var u,s,o=Array.prototype.map,c=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function f(p){var w,g,S=p.grouping===void 0||p.thousands===void 0?a:(w=o.call(p.grouping,Number),g=p.thousands+"",function(I,O){for(var z=I.length,F=[],B=0,N=w[0],W=0;z>0&&N>0&&(W+N+1>O&&(N=Math.max(1,O-W)),F.push(I.substring(z-=N,z+N)),!((W+=N+1)>O));)N=w[B=(B+1)%w.length];return F.reverse().join(g)}),x=p.currency===void 0?"":p.currency[0]+"",T=p.currency===void 0?"":p.currency[1]+"",E=p.decimal===void 0?".":p.decimal+"",_=p.numerals===void 0?a:function(I){return function(O){return O.replace(/[0-9]/g,function(z){return I[+z]})}}(o.call(p.numerals,String)),A=p.percent===void 0?"%":p.percent+"",L=p.minus===void 0?"-":p.minus+"",b=p.nan===void 0?"NaN":p.nan+"";function R(I){var O=(I=M(I)).fill,z=I.align,F=I.sign,B=I.symbol,N=I.zero,W=I.width,j=I.comma,Y=I.precision,U=I.trim,G=I.type;G==="n"?(j=!0,G="g"):l[G]||(Y===void 0&&(Y=12),U=!0,G="g"),(N||O==="0"&&z==="=")&&(N=!0,O="0",z="=");var q=B==="$"?x:B==="#"&&/[boxX]/.test(G)?"0"+G.toLowerCase():"",H=B==="$"?T:/[%p]/.test(G)?A:"",ne=l[G],te=/[defgprs%]/.test(G);function Z(X){var Q,re,ie,oe=q,ue=H;if(G==="c")ue=ne(X)+ue,X="";else{var ce=(X=+X)<0||1/X<0;if(X=isNaN(X)?b:ne(Math.abs(X),Y),U&&(X=function(me){e:for(var pe,xe=me.length,Pe=1,_e=-1;Pe0&&(_e=0)}return _e>0?me.slice(0,_e)+me.slice(pe+1):me}(X)),ce&&+X==0&&F!=="+"&&(ce=!1),oe=(ce?F==="("?F:L:F==="-"||F==="("?"":F)+oe,ue=(G==="s"?c[8+y/3]:"")+ue+(ce&&F==="("?")":""),te){for(Q=-1,re=X.length;++Q(ie=X.charCodeAt(Q))||ie>57){ue=(ie===46?E+X.slice(Q+1):X.slice(Q))+ue,X=X.slice(0,Q);break}}}j&&!N&&(X=S(X,1/0));var ye=oe.length+X.length+ue.length,de=ye>1)+oe+X+ue+de.slice(ye);break;default:X=de+oe+X+ue}return _(X)}return Y=Y===void 0?6:/[gprs]/.test(G)?Math.max(1,Math.min(21,Y)):Math.max(0,Math.min(20,Y)),Z.toString=function(){return I+""},Z}return{format:R,formatPrefix:function(I,O){var z,F=R(((I=M(I)).type="f",I)),B=3*Math.max(-8,Math.min(8,Math.floor((z=O,((z=d(Math.abs(z)))?z[1]:NaN)/3)))),N=Math.pow(10,-B),W=c[8+B/3];return function(j){return F(N*j)+W}}}}u=f({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),s=u.format,u.formatPrefix},65704:function(k,m,t){t.r(m),t.d(m,{geoAiry:function(){return j},geoAiryRaw:function(){return W},geoAitoff:function(){return U},geoAitoffRaw:function(){return Y},geoArmadillo:function(){return q},geoArmadilloRaw:function(){return G},geoAugust:function(){return ne},geoAugustRaw:function(){return H},geoBaker:function(){return Q},geoBakerRaw:function(){return X},geoBerghaus:function(){return oe},geoBerghausRaw:function(){return ie},geoBertin1953:function(){return Pe},geoBertin1953Raw:function(){return xe},geoBoggs:function(){return ke},geoBoggsRaw:function(){return be},geoBonne:function(){return ge},geoBonneRaw:function(){return je},geoBottomley:function(){return Ee},geoBottomleyRaw:function(){return we},geoBromley:function(){return Ye},geoBromleyRaw:function(){return Ve},geoChamberlin:function(){return Ft},geoChamberlinAfrica:function(){return xt},geoChamberlinRaw:function(){return Et},geoCollignon:function(){return Bt},geoCollignonRaw:function(){return Ot},geoCraig:function(){return Vt},geoCraigRaw:function(){return qt},geoCraster:function(){return qe},geoCrasterRaw:function(){return Je},geoCylindricalEqualArea:function(){return ht},geoCylindricalEqualAreaRaw:function(){return nt},geoCylindricalStereographic:function(){return Ne},geoCylindricalStereographicRaw:function(){return Re},geoEckert1:function(){return ut},geoEckert1Raw:function(){return Qe},geoEckert2:function(){return _t},geoEckert2Raw:function(){return dt},geoEckert3:function(){return Lt},geoEckert3Raw:function(){return It},geoEckert4:function(){return Pt},geoEckert4Raw:function(){return yt},geoEckert5:function(){return Rt},geoEckert5Raw:function(){return wt},geoEckert6:function(){return $t},geoEckert6Raw:function(){return Nt},geoEisenlohr:function(){return Qt},geoEisenlohrRaw:function(){return Xt},geoFahey:function(){return un},geoFaheyRaw:function(){return xn},geoFoucaut:function(){return $n},geoFoucautRaw:function(){return An},geoFoucautSinusoidal:function(){return sn},geoFoucautSinusoidalRaw:function(){return kn},geoGilbert:function(){return In},geoGingery:function(){return lr},geoGingeryRaw:function(){return jn},geoGinzburg4:function(){return yr},geoGinzburg4Raw:function(){return Sr},geoGinzburg5:function(){return vr},geoGinzburg5Raw:function(){return or},geoGinzburg6:function(){return Kt},geoGinzburg6Raw:function(){return _r},geoGinzburg8:function(){return Rn},geoGinzburg8Raw:function(){return bn},geoGinzburg9:function(){return Un},geoGinzburg9Raw:function(){return Ln},geoGringorten:function(){return tr},geoGringortenQuincuncial:function(){return qc},geoGringortenRaw:function(){return Yn},geoGuyou:function(){return jt},geoGuyouRaw:function(){return Pn},geoHammer:function(){return de},geoHammerRaw:function(){return ce},geoHammerRetroazimuthal:function(){return On},geoHammerRetroazimuthalRaw:function(){return fn},geoHealpix:function(){return nr},geoHealpixRaw:function(){return yn},geoHill:function(){return fr},geoHillRaw:function(){return Qn},geoHomolosine:function(){return Lr},geoHomolosineRaw:function(){return Rr},geoHufnagel:function(){return gr},geoHufnagelRaw:function(){return zr},geoHyperelliptical:function(){return ta},geoHyperellipticalRaw:function(){return ji},geoInterrupt:function(){return Xi},geoInterruptedBoggs:function(){return as},geoInterruptedHomolosine:function(){return Eu},geoInterruptedMollweide:function(){return Af},geoInterruptedMollweideHemispheres:function(){return os},geoInterruptedQuarticAuthalic:function(){return nu},geoInterruptedSinuMollweide:function(){return $a},geoInterruptedSinusoidal:function(){return Yo},geoKavrayskiy7:function(){return Al},geoKavrayskiy7Raw:function(){return ss},geoLagrange:function(){return Sl},geoLagrangeRaw:function(){return Ui},geoLarrivee:function(){return js},geoLarriveeRaw:function(){return Is},geoLaskowski:function(){return vh},geoLaskowskiRaw:function(){return hc},geoLittrow:function(){return yh},geoLittrowRaw:function(){return nl},geoLoximuthal:function(){return id},geoLoximuthalRaw:function(){return bh},geoMiller:function(){return xh},geoMillerRaw:function(){return Cf},geoModifiedStereographic:function(){return Ql},geoModifiedStereographicAlaska:function(){return If},geoModifiedStereographicGs48:function(){return Jl},geoModifiedStereographicGs50:function(){return jc},geoModifiedStereographicLee:function(){return Ru},geoModifiedStereographicMiller:function(){return Cl},geoModifiedStereographicRaw:function(){return Ef},geoMollweide:function(){return Ce},geoMollweideRaw:function(){return Se},geoMtFlatPolarParabolic:function(){return ad},geoMtFlatPolarParabolicRaw:function(){return El},geoMtFlatPolarQuartic:function(){return dc},geoMtFlatPolarQuarticRaw:function(){return Uc},geoMtFlatPolarSinusoidal:function(){return Pu},geoMtFlatPolarSinusoidalRaw:function(){return eu},geoNaturalEarth:function(){return gs.Z},geoNaturalEarth2:function(){return pc},geoNaturalEarth2Raw:function(){return Rf},geoNaturalEarthRaw:function(){return gs.K},geoNellHammer:function(){return mc},geoNellHammerRaw:function(){return Ou},geoNicolosi:function(){return gc},geoNicolosiRaw:function(){return Du},geoPatterson:function(){return Hc},geoPattersonRaw:function(){return Ll},geoPeirceQuincuncial:function(){return Wc},geoPierceQuincuncial:function(){return Wc},geoPolyconic:function(){return Of},geoPolyconicRaw:function(){return xc},geoPolyhedral:function(){return Il},geoPolyhedralButterfly:function(){return Gc},geoPolyhedralCollignon:function(){return zf},geoPolyhedralWaterman:function(){return ou},geoProject:function(){return lu},geoQuantize:function(){return Lo},geoQuincuncial:function(){return Zo},geoRectangularPolyconic:function(){return uu},geoRectangularPolyconicRaw:function(){return Dr},geoRobinson:function(){return Fu},geoRobinsonRaw:function(){return $c},geoSatellite:function(){return Nu},geoSatelliteRaw:function(){return Bu},geoSinuMollweide:function(){return br},geoSinuMollweideRaw:function(){return dr},geoSinusoidal:function(){return ze},geoSinusoidalRaw:function(){return Be},geoStitch:function(){return fu},geoTimes:function(){return _s},geoTimesRaw:function(){return yo},geoTwoPointAzimuthal:function(){return ws},geoTwoPointAzimuthalRaw:function(){return Tc},geoTwoPointAzimuthalUsa:function(){return ls},geoTwoPointEquidistant:function(){return Wi},geoTwoPointEquidistantRaw:function(){return Gs},geoTwoPointEquidistantUsa:function(){return Bo},geoVanDerGrinten:function(){return Ps},geoVanDerGrinten2:function(){return qs},geoVanDerGrinten2Raw:function(){return No},geoVanDerGrinten3:function(){return cl},geoVanDerGrinten3Raw:function(){return Dl},geoVanDerGrinten4:function(){return Ts},geoVanDerGrinten4Raw:function(){return bo},geoVanDerGrintenRaw:function(){return no},geoWagner:function(){return ni},geoWagner4:function(){return Zc},geoWagner4Raw:function(){return xo},geoWagner6:function(){return Uu},geoWagner6Raw:function(){return Vo},geoWagner7:function(){return ju},geoWagnerRaw:function(){return Gr},geoWiechel:function(){return Ji},geoWiechelRaw:function(){return hl},geoWinkel3:function(){return Xc},geoWinkel3Raw:function(){return la}});var d=t(15002),y=Math.abs,i=Math.atan,M=Math.atan2,v=Math.cos,h=Math.exp,l=Math.floor,a=Math.log,u=Math.max,s=Math.min,o=Math.pow,c=Math.round,f=Math.sign||function(et){return et>0?1:et<0?-1:0},p=Math.sin,w=Math.tan,g=1e-6,S=1e-12,x=Math.PI,T=x/2,E=x/4,_=Math.SQRT1_2,A=F(2),L=F(x),b=2*x,R=180/x,I=x/180;function O(et){return et>1?T:et<-1?-T:Math.asin(et)}function z(et){return et>1?0:et<-1?x:Math.acos(et)}function F(et){return et>0?Math.sqrt(et):0}function B(et){return(h(et)-h(-et))/2}function N(et){return(h(et)+h(-et))/2}function W(et){var rt=w(et/2),ct=2*a(v(et/2))/(rt*rt);function vt(St,Mt){var $=v(St),ee=v(Mt),K=p(Mt),le=ee*$,Te=-((1-le?a((1+le)/2)/(1-le):-.5)+ct/(1+le));return[Te*ee*p(St),Te*K]}return vt.invert=function(St,Mt){var $,ee=F(St*St+Mt*Mt),K=-et/2,le=50;if(!ee)return[0,0];do{var Te=K/2,De=v(Te),He=p(Te),Ze=He/De,at=-a(y(De));K-=$=(2/Ze*at-ct*Ze-ee)/(-at/(He*He)+1-ct/(2*De*De))*(De<0?.7:1)}while(y($)>g&&--le>0);var Tt=p(K);return[M(St*Tt,ee*v(K)),O(Mt*Tt/ee)]},vt}function j(){var et=T,rt=(0,d.r)(W),ct=rt(et);return ct.radius=function(vt){return arguments.length?rt(et=vt*I):et*R},ct.scale(179.976).clipAngle(147)}function Y(et,rt){var ct=v(rt),vt=function(St){return St?St/Math.sin(St):1}(z(ct*v(et/=2)));return[2*ct*p(et)*vt,p(rt)*vt]}function U(){return(0,d.Z)(Y).scale(152.63)}function G(et){var rt=p(et),ct=v(et),vt=et>=0?1:-1,St=w(vt*et),Mt=(1+rt-ct)/2;function $(ee,K){var le=v(K),Te=v(ee/=2);return[(1+le)*p(ee),(vt*K>-M(Te,St)-.001?0:10*-vt)+Mt+p(K)*ct-(1+le)*rt*Te]}return $.invert=function(ee,K){var le=0,Te=0,De=50;do{var He=v(le),Ze=p(le),at=v(Te),Tt=p(Te),At=1+at,se=At*Ze-ee,ve=Mt+Tt*ct-At*rt*He-K,Ie=At*He/2,Fe=-Ze*Tt,Ue=rt*At*Ze/2,We=ct*at+rt*He*Tt,Xe=Fe*Ue-We*Ie,tt=(ve*Fe-se*We)/Xe/2,lt=(se*Ue-ve*Ie)/Xe;y(lt)>2&&(lt/=2),le-=tt,Te-=lt}while((y(tt)>g||y(lt)>g)&&--De>0);return vt*Te>-M(v(le),St)-.001?[2*le,Te]:null},$}function q(){var et=20*I,rt=et>=0?1:-1,ct=w(rt*et),vt=(0,d.r)(G),St=vt(et),Mt=St.stream;return St.parallel=function($){return arguments.length?(ct=w((rt=(et=$*I)>=0?1:-1)*et),vt(et)):et*R},St.stream=function($){var ee=St.rotate(),K=Mt($),le=(St.rotate([0,0]),Mt($)),Te=St.precision();return St.rotate(ee),K.sphere=function(){le.polygonStart(),le.lineStart();for(var De=-180*rt;rt*De<180;De+=90*rt)le.point(De,90*rt);if(et)for(;rt*(De-=3*rt*Te)>=-180;)le.point(De,rt*-M(v(De*I/2),ct)*R);le.lineEnd(),le.polygonEnd()},K},St.scale(218.695).center([0,28.0974])}function H(et,rt){var ct=w(rt/2),vt=F(1-ct*ct),St=1+vt*v(et/=2),Mt=p(et)*vt/St,$=ct/St,ee=Mt*Mt,K=$*$;return[1.3333333333333333*Mt*(3+ee-3*K),1.3333333333333333*$*(3+3*ee-K)]}function ne(){return(0,d.Z)(H).scale(66.1603)}Y.invert=function(et,rt){if(!(et*et+4*rt*rt>x*x+g)){var ct=et,vt=rt,St=25;do{var Mt,$=p(ct),ee=p(ct/2),K=v(ct/2),le=p(vt),Te=v(vt),De=p(2*vt),He=le*le,Ze=Te*Te,at=ee*ee,Tt=1-Ze*K*K,At=Tt?z(Te*K)*F(Mt=1/Tt):Mt=0,se=2*At*Te*ee-et,ve=At*le-rt,Ie=Mt*(Ze*at+At*Te*K*He),Fe=Mt*(.5*$*De-2*At*le*ee),Ue=.25*Mt*(De*ee-At*le*Ze*$),We=Mt*(He*K+At*at*Te),Xe=Fe*Ue-We*Ie;if(!Xe)break;var tt=(ve*Fe-se*We)/Xe,lt=(se*Ue-ve*Ie)/Xe;ct-=tt,vt-=lt}while((y(tt)>g||y(lt)>g)&&--St>0);return[ct,vt]}},H.invert=function(et,rt){if(rt*=.375,!(et*=.375)&&y(rt)>1)return null;var ct=1+et*et+rt*rt,vt=F((ct-F(ct*ct-4*rt*rt))/2),St=O(vt)/3,Mt=vt?function(le){return a(le+F(le*le-1))}(y(rt/vt))/3:function(le){return a(le+F(le*le+1))}(y(et))/3,$=v(St),ee=N(Mt),K=ee*ee-$*$;return[2*f(et)*M(B(Mt)*$,.25-K),2*f(rt)*M(ee*p(St),.25+K)]};var te=F(8),Z=a(1+A);function X(et,rt){var ct=y(rt);return ctS&&--Mt>0);return[et/(v(St)*(te-1/p(St))),f(rt)*St]};var re=t(17889);function ie(et){var rt=2*x/et;function ct(vt,St){var Mt=(0,re.N)(vt,St);if(y(vt)>T){var $=M(Mt[1],Mt[0]),ee=F(Mt[0]*Mt[0]+Mt[1]*Mt[1]),K=rt*c(($-T)/rt)+T,le=M(p($-=K),2-v($));$=K+O(x/ee*p(le))-le,Mt[0]=ee*v($),Mt[1]=ee*p($)}return Mt}return ct.invert=function(vt,St){var Mt=F(vt*vt+St*St);if(Mt>T){var $=M(St,vt),ee=rt*c(($-T)/rt)+T,K=$>ee?-1:1,le=Mt*v(ee-$),Te=1/w(K*z((le-x)/F(x*(x-2*le)+Mt*Mt)));$=ee+2*i((Te+K*F(Te*Te-3))/3),vt=Mt*v($),St=Mt*p($)}return re.N.invert(vt,St)},ct}function oe(){var et=5,rt=(0,d.r)(ie),ct=rt(et),vt=ct.stream,St=.01,Mt=-v(St*I),$=p(St*I);return ct.lobes=function(ee){return arguments.length?rt(et=+ee):et},ct.stream=function(ee){var K=ct.rotate(),le=vt(ee),Te=(ct.rotate([0,0]),vt(ee));return ct.rotate(K),le.sphere=function(){Te.polygonStart(),Te.lineStart();for(var De=0,He=360/et,Ze=2*x/et,at=90-180/et,Tt=T;De0&&y(vt)>g);return $<0?NaN:ct}function pe(et,rt,ct){return rt===void 0&&(rt=40),ct===void 0&&(ct=S),function(vt,St,Mt,$){var ee,K,le;Mt=Mt===void 0?0:+Mt,$=$===void 0?0:+$;for(var Te=0;Teee)Mt-=K/=2,$-=le/=2;else{ee=at;var Tt=(Mt>0?-1:1)*ct,At=($>0?-1:1)*ct,se=et(Mt+Tt,$),ve=et(Mt,$+At),Ie=(se[0]-De[0])/Tt,Fe=(se[1]-De[1])/Tt,Ue=(ve[0]-De[0])/At,We=(ve[1]-De[1])/At,Xe=We*Ie-Fe*Ue,tt=(y(Xe)<.5?.5:1)/Xe;if(Mt+=K=(Ze*Ue-He*We)*tt,$+=le=(He*Fe-Ze*Ie)*tt,y(K)0&&(Mt[1]*=1+$/1.5*Mt[0]*Mt[0]),Mt}return rt.invert=pe(rt),rt}function Pe(){return(0,d.Z)(xe()).rotate([-16.5,-42]).scale(176.57).center([7.93,.09])}function _e(et,rt){var ct,vt=et*p(rt),St=30;do rt-=ct=(rt+p(rt)-vt)/(1+v(rt));while(y(ct)>g&&--St>0);return rt/2}function Me(et,rt,ct){function vt(St,Mt){return[et*St*v(Mt=_e(ct,Mt)),rt*p(Mt)]}return vt.invert=function(St,Mt){return Mt=O(Mt/rt),[St/(et*v(Mt)),O((2*Mt+p(2*Mt))/ct)]},vt}ye.invert=function(et,rt){var ct=2*O(rt/2);return[et*v(ct/2)/v(ct),ct]};var Se=Me(A/T,A,x);function Ce(){return(0,d.Z)(Se).scale(169.529)}var ae=2.00276,he=1.11072;function be(et,rt){var ct=_e(x,rt);return[ae*et/(1/v(rt)+he/v(ct)),(rt+A*p(ct))/ae]}function ke(){return(0,d.Z)(be).scale(160.857)}function Le(et){var rt=0,ct=(0,d.r)(et),vt=ct(rt);return vt.parallel=function(St){return arguments.length?ct(rt=St*I):rt*R},vt}function Be(et,rt){return[et*v(rt),rt]}function ze(){return(0,d.Z)(Be).scale(152.63)}function je(et){if(!et)return Be;var rt=1/w(et);function ct(vt,St){var Mt=rt+et-St,$=Mt&&vt*v(St)/Mt;return[Mt*p($),rt-Mt*v($)]}return ct.invert=function(vt,St){var Mt=F(vt*vt+(St=rt-St)*St),$=rt+et-Mt;return[Mt/v($)*M(vt,St),$]},ct}function ge(){return Le(je).scale(123.082).center([0,26.1441]).parallel(45)}function we(et){function rt(ct,vt){var St=T-vt,Mt=St&&ct*et*p(St)/St;return[St*p(Mt)/et,T-St*v(Mt)]}return rt.invert=function(ct,vt){var St=ct*et,Mt=T-vt,$=F(St*St+Mt*Mt),ee=M(St,Mt);return[($?$/p($):1)*ee/et,T-$]},rt}function Ee(){var et=.5,rt=(0,d.r)(we),ct=rt(et);return ct.fraction=function(vt){return arguments.length?rt(et=+vt):et},ct.scale(158.837)}be.invert=function(et,rt){var ct,vt,St=ae*rt,Mt=rt<0?-E:E,$=25;do vt=St-A*p(Mt),Mt-=ct=(p(2*Mt)+2*Mt-x*p(vt))/(2*v(2*Mt)+2+x*v(vt)*A*v(Mt));while(y(ct)>g&&--$>0);return vt=St-A*p(Mt),[et*(1/v(vt)+he/v(Mt))/ae,vt]},Be.invert=function(et,rt){return[et/v(rt),rt]};var Ve=Me(1,4/x,x);function Ye(){return(0,d.Z)(Ve).scale(152.63)}var $e=t(66624),st=t(49386);function ot(et,rt,ct,vt,St,Mt){var $,ee=v(Mt);if(y(et)>1||y(Mt)>1)$=z(ct*St+rt*vt*ee);else{var K=p(et/2),le=p(Mt/2);$=2*O(F(K*K+rt*vt*le*le))}return y($)>g?[$,M(vt*p(Mt),rt*St-ct*vt*ee)]:[0,0]}function ft(et,rt,ct){return z((et*et+rt*rt-ct*ct)/(2*et*rt))}function bt(et){return et-2*x*l((et+x)/(2*x))}function Et(et,rt,ct){for(var vt,St=[[et[0],et[1],p(et[1]),v(et[1])],[rt[0],rt[1],p(rt[1]),v(rt[1])],[ct[0],ct[1],p(ct[1]),v(ct[1])]],Mt=St[2],$=0;$<3;++$,Mt=vt)vt=St[$],Mt.v=ot(vt[1]-Mt[1],Mt[3],Mt[2],vt[3],vt[2],vt[0]-Mt[0]),Mt.point=[0,0];var ee=ft(St[0].v[0],St[2].v[0],St[1].v[0]),K=ft(St[0].v[0],St[1].v[0],St[2].v[0]),le=x-ee;St[2].point[1]=0,St[0].point[0]=-(St[1].point[0]=St[0].v[0]/2);var Te=[St[2].point[0]=St[0].point[0]+St[2].v[0]*v(ee),2*(St[0].point[1]=St[1].point[1]=St[2].v[0]*p(ee))];return function(De,He){var Ze,at=p(He),Tt=v(He),At=new Array(3);for(Ze=0;Ze<3;++Ze){var se=St[Ze];if(At[Ze]=ot(He-se[1],se[3],se[2],Tt,at,De-se[0]),!At[Ze][0])return se.point;At[Ze][1]=bt(At[Ze][1]-se.v[1])}var ve=Te.slice();for(Ze=0;Ze<3;++Ze){var Ie=Ze==2?0:Ze+1,Fe=ft(St[Ze].v[0],At[Ze][0],At[Ie][0]);At[Ze][1]<0&&(Fe=-Fe),Ze?Ze==1?(Fe=K-Fe,ve[0]-=At[Ze][0]*v(Fe),ve[1]-=At[Ze][0]*p(Fe)):(Fe=le-Fe,ve[0]+=At[Ze][0]*v(Fe),ve[1]+=At[Ze][0]*p(Fe)):(ve[0]+=At[Ze][0]*v(Fe),ve[1]-=At[Ze][0]*p(Fe))}return ve[0]/=3,ve[1]/=3,ve}}function kt(et){return et[0]*=I,et[1]*=I,et}function xt(){return Ft([0,22],[45,22],[22.5,-22]).scale(380).center([22.5,2])}function Ft(et,rt,ct){var vt=(0,$e.Z)({type:"MultiPoint",coordinates:[et,rt,ct]}),St=[-vt[0],-vt[1]],Mt=(0,st.Z)(St),$=Et(kt(Mt(et)),kt(Mt(rt)),kt(Mt(ct)));$.invert=pe($);var ee=(0,d.Z)($).rotate(St),K=ee.center;return delete ee.rotate,ee.center=function(le){return arguments.length?K(Mt(le)):Mt.invert(K())},ee.clipAngle(90)}function Ot(et,rt){var ct=F(1-p(rt));return[2/L*et*ct,L*(1-ct)]}function Bt(){return(0,d.Z)(Ot).scale(95.6464).center([0,30])}function qt(et){var rt=w(et);function ct(vt,St){return[vt,(vt?vt/p(vt):1)*(p(St)*v(vt)-rt*v(St))]}return ct.invert=rt?function(vt,St){vt&&(St*=p(vt)/vt);var Mt=v(vt);return[vt,2*M(F(Mt*Mt+rt*rt-St*St)-Mt,rt-St)]}:function(vt,St){return[vt,O(vt?St*w(vt)/vt:St)]},ct}function Vt(){return Le(qt).scale(249.828).clipAngle(90)}Ot.invert=function(et,rt){var ct=(ct=rt/L-1)*ct;return[ct>0?et*F(x/ct)/2:0,O(1-ct)]};var Ke=F(3);function Je(et,rt){return[Ke*et*(2*v(2*rt/3)-1)/L,Ke*L*p(rt/3)]}function qe(){return(0,d.Z)(Je).scale(156.19)}function nt(et){var rt=v(et);function ct(vt,St){return[vt*rt,p(St)/rt]}return ct.invert=function(vt,St){return[vt/rt,O(St*rt)]},ct}function ht(){return Le(nt).parallel(38.58).scale(195.044)}function Re(et){var rt=v(et);function ct(vt,St){return[vt*rt,(1+rt)*w(St/2)]}return ct.invert=function(vt,St){return[vt/rt,2*i(St/(1+rt))]},ct}function Ne(){return Le(Re).scale(124.75)}function Qe(et,rt){var ct=F(8/(3*x));return[ct*et*(1-y(rt)/x),ct*rt]}function ut(){return(0,d.Z)(Qe).scale(165.664)}function dt(et,rt){var ct=F(4-3*p(y(rt)));return[2/F(6*x)*et*ct,f(rt)*F(2*x/3)*(2-ct)]}function _t(){return(0,d.Z)(dt).scale(165.664)}function It(et,rt){var ct=F(x*(4+x));return[2/ct*et*(1+F(1-4*rt*rt/(x*x))),4/ct*rt]}function Lt(){return(0,d.Z)(It).scale(180.739)}function yt(et,rt){var ct=(2+T)*p(rt);rt/=2;for(var vt=0,St=1/0;vt<10&&y(St)>g;vt++){var Mt=v(rt);rt-=St=(rt+p(rt)*(Mt+2)-ct)/(2*Mt*(1+Mt))}return[2/F(x*(4+x))*et*(1+v(rt)),2*F(x/(4+x))*p(rt)]}function Pt(){return(0,d.Z)(yt).scale(180.739)}function wt(et,rt){return[et*(1+v(rt))/F(2+x),2*rt/F(2+x)]}function Rt(){return(0,d.Z)(wt).scale(173.044)}function Nt(et,rt){for(var ct=(1+T)*p(rt),vt=0,St=1/0;vt<10&&y(St)>g;vt++)rt-=St=(rt+p(rt)-ct)/(1+v(rt));return ct=F(2+x),[et*(1+v(rt))/ct,2*rt/ct]}function $t(){return(0,d.Z)(Nt).scale(173.044)}Je.invert=function(et,rt){var ct=3*O(rt/(Ke*L));return[L*et/(Ke*(2*v(2*ct/3)-1)),ct]},Qe.invert=function(et,rt){var ct=F(8/(3*x)),vt=rt/ct;return[et/(ct*(1-y(vt)/x)),vt]},dt.invert=function(et,rt){var ct=2-y(rt)/F(2*x/3);return[et*F(6*x)/(2*ct),f(rt)*O((4-ct*ct)/3)]},It.invert=function(et,rt){var ct=F(x*(4+x))/2;return[et*ct/(1+F(1-rt*rt*(4+x)/(4*x))),rt*ct/2]},yt.invert=function(et,rt){var ct=rt*F((4+x)/x)/2,vt=O(ct),St=v(vt);return[et/(2/F(x*(4+x))*(1+St)),O((vt+ct*(St+2))/(2+T))]},wt.invert=function(et,rt){var ct=F(2+x),vt=rt*ct/2;return[ct*et/(1+v(vt)),vt]},Nt.invert=function(et,rt){var ct=1+T,vt=F(ct/2);return[2*et*vt/(1+v(rt*=vt)),O((rt+p(rt))/ct)]};var Wt=3+2*A;function Xt(et,rt){var ct=p(et/=2),vt=v(et),St=F(v(rt)),Mt=v(rt/=2),$=p(rt)/(Mt+A*vt*St),ee=F(2/(1+$*$)),K=F((A*Mt+(vt+ct)*St)/(A*Mt+(vt-ct)*St));return[Wt*(ee*(K-1/K)-2*a(K)),Wt*(ee*$*(K+1/K)-2*i($))]}function Qt(){return(0,d.Z)(Xt).scale(62.5271)}Xt.invert=function(et,rt){if(!(ct=H.invert(et/1.2,1.065*rt)))return null;var ct,vt=ct[0],St=ct[1],Mt=20;et/=Wt,rt/=Wt;do{var $=vt/2,ee=St/2,K=p($),le=v($),Te=p(ee),De=v(ee),He=v(St),Ze=F(He),at=Te/(De+A*le*Ze),Tt=at*at,At=F(2/(1+Tt)),se=(A*De+(le+K)*Ze)/(A*De+(le-K)*Ze),ve=F(se),Ie=ve-1/ve,Fe=ve+1/ve,Ue=At*Ie-2*a(ve)-et,We=At*at*Fe-2*i(at)-rt,Xe=Te&&_*Ze*K*Tt/Te,tt=(A*le*De+Ze)/(2*(De+A*le*Ze)*(De+A*le*Ze)*Ze),lt=-.5*at*At*At*At,mt=lt*Xe,zt=lt*tt,Ut=(Ut=2*De+A*Ze*(le-K))*Ut*ve,Ht=(A*le*De*Ze+He)/Ut,en=-A*K*Te/(Ze*Ut),vn=Ie*mt-2*Ht/ve+At*(Ht+Ht/se),tn=Ie*zt-2*en/ve+At*(en+en/se),ln=at*Fe*mt-2*Xe/(1+Tt)+At*Fe*Xe+At*at*(Ht-Ht/se),an=at*Fe*zt-2*tt/(1+Tt)+At*Fe*tt+At*at*(en-en/se),Cn=tn*ln-an*vn;if(!Cn)break;var _n=(We*tn-Ue*an)/Cn,on=(Ue*ln-We*vn)/Cn;vt-=_n,St=u(-T,s(T,St-on))}while((y(_n)>g||y(on)>g)&&--Mt>0);return y(y(St)-T)vt){var De=F(Te),He=M(le,K),Ze=ct*c(He/ct),at=He-Ze,Tt=et*v(at),At=(et*p(at)-at*p(Tt))/(T-Tt),se=Gn(at,At),ve=(x-et)/qn(se,Tt,x);K=De;var Ie,Fe=50;do K-=Ie=(et+qn(se,Tt,K)*ve-De)/(se(K)*ve);while(y(Ie)>g&&--Fe>0);le=at*p(K),Kvt){var K=F(ee),le=M($,Mt),Te=ct*c(le/ct),De=le-Te;Mt=K*v(De),$=K*p(De);for(var He=Mt-T,Ze=p(Mt),at=$/Ze,Tt=Mtg||y(He)>g)&&--Tt>0);return[Ze,at]},K}var Sr=rr(2.8284,-1.6988,.75432,-.18071,1.76003,-.38914,.042555);function yr(){return(0,d.Z)(Sr).scale(149.995)}var or=rr(2.583819,-.835827,.170354,-.038094,1.543313,-.411435,.082742);function vr(){return(0,d.Z)(or).scale(153.93)}var _r=rr(5/6*x,-.62636,-.0344,0,1.3493,-.05524,0,.045);function Kt(){return(0,d.Z)(_r).scale(130.945)}function bn(et,rt){var ct=et*et,vt=rt*rt;return[et*(1-.162388*vt)*(.87-952426e-9*ct*ct),rt*(1+vt/12)]}function Rn(){return(0,d.Z)(bn).scale(131.747)}bn.invert=function(et,rt){var ct,vt=et,St=rt,Mt=50;do{var $=St*St;St-=ct=(St*(1+$/12)-rt)/(1+$/4)}while(y(ct)>g&&--Mt>0);Mt=50,et/=1-.162388*$;do{var ee=(ee=vt*vt)*ee;vt-=ct=(vt*(.87-952426e-9*ee)-et)/(.87-.00476213*ee)}while(y(ct)>g&&--Mt>0);return[vt,St]};var Ln=rr(2.6516,-.76534,.19123,-.047094,1.36289,-.13965,.031762);function Un(){return(0,d.Z)(Ln).scale(131.087)}function Kn(et){var rt=et(T,0)[0]-et(-T,0)[0];function ct(vt,St){var Mt=vt>0?-.5:.5,$=et(vt+Mt*x,St);return $[0]-=Mt*rt,$}return et.invert&&(ct.invert=function(vt,St){var Mt=vt>0?-.5:.5,$=et.invert(vt+Mt*rt,St),ee=$[0]-Mt*x;return ee<-x?ee+=2*x:ee>x&&(ee-=2*x),$[0]=ee,$}),ct}function Yn(et,rt){var ct=f(et),vt=f(rt),St=v(rt),Mt=v(et)*St,$=p(et)*St,ee=p(vt*rt);et=y(M($,ee)),rt=O(Mt),y(et-T)>g&&(et%=T);var K=function(le,Te){if(Te===T)return[0,0];var De,He,Ze=p(Te),at=Ze*Ze,Tt=at*at,At=1+Tt,se=1+3*Tt,ve=1-Tt,Ie=O(1/F(At)),Fe=ve+at*At*Ie,Ue=(1-Ze)/Fe,We=F(Ue),Xe=Ue*At,tt=F(Xe),lt=We*ve;if(le===0)return[0,-(lt+at*tt)];var mt,zt=v(Te),Ut=1/zt,Ht=2*Ze*zt,en=(-Fe*zt-(-3*at+Ie*se)*Ht*(1-Ze))/(Fe*Fe),vn=-Ut*Ht,tn=-Ut*(at*At*en+Ue*se*Ht),ln=-2*Ut*(ve*(.5*en/We)-2*at*We*Ht),an=4*le/x;if(le>.222*x||Te.175*x){if(De=(lt+at*F(Xe*(1+Tt)-lt*lt))/(1+Tt),le>x/4)return[De,De];var Cn=De,_n=.5*De;De=.5*(_n+Cn),He=50;do{var on=De*(ln+vn*F(Xe-De*De))+tn*O(De/tt)-an;if(!on)break;on<0?_n=De:Cn=De,De=.5*(_n+Cn)}while(y(Cn-_n)>g&&--He>0)}else{De=g,He=25;do{var Fn=De*De,Hn=F(Xe-Fn),ir=ln+vn*Hn,ar=De*ir+tn*O(De/tt)-an;De-=mt=Hn?ar/(ir+(tn-vn*Fn)/Hn):0}while(y(mt)>g&&--He>0)}return[De,-lt-at*F(Xe-De*De)]}(et>x/4?T-et:et,rt);return et>x/4&&(ee=K[0],K[0]=-K[1],K[1]=-ee),K[0]*=ct,K[1]*=-vt,K}function tr(){return(0,d.Z)(Kn(Yn)).scale(239.75)}function mr(et,rt){var ct,vt,St,Mt,$,ee;if(rt=.999999)return ct=(1-rt)/4,St=1/(vt=N(et)),[(Mt=((ee=h(2*(ee=et)))-1)/(ee+1))+ct*(($=vt*B(et))-et)/(vt*vt),St-ct*Mt*St*($-et),St+ct*Mt*St*($+et),2*i(h(et))-T+ct*($-et)/vt];var K=[1,0,0,0,0,0,0,0,0],le=[F(rt),0,0,0,0,0,0,0,0],Te=0;for(vt=F(1-rt),$=1;y(le[Te]/K[Te])>g&&Te<8;)ct=K[Te++],le[Te]=(ct-vt)/2,K[Te]=(ct+vt)/2,vt=F(ct*vt),$*=2;St=$*K[Te]*et;do St=(O(Mt=le[Te]*p(vt=St)/K[Te])+St)/2;while(--Te);return[p(St),Mt=v(St),Mt/v(St-vt),St]}function nn(et,rt){if(!rt)return et;if(rt===1)return a(w(et/2+E));for(var ct=1,vt=F(1-rt),St=F(rt),Mt=0;y(St)>g;Mt++){if(et%x){var $=i(vt*w(et)/ct);$<0&&($+=x),et+=$+~~(et/x)*x}else et+=et;St=(ct+vt)/2,vt=F(ct*vt),St=((ct=St)-vt)/2}return et/(o(2,Mt)*ct)}function Pn(et,rt){var ct=(A-1)/(A+1),vt=F(1-ct*ct),St=nn(T,vt*vt),Mt=a(w(x/4+y(rt)/2)),$=h(-1*Mt)/F(ct),ee=function(le,Te){var De=le*le,He=Te+1,Ze=1-De-Te*Te;return[.5*((le>=0?T:-T)-M(Ze,2*le)),-.25*a(Ze*Ze+4*De)+.5*a(He*He+De)]}($*v(-1*et),$*p(-1*et)),K=function(le,Te,De){var He=y(le),Ze=B(y(Te));if(He){var at=1/p(He),Tt=1/(w(He)*w(He)),At=-(Tt+De*(Ze*Ze*at*at)-1+De),se=(-At+F(At*At-(De-1)*Tt*4))/2;return[nn(i(1/F(se)),De)*f(le),nn(i(F((se/Tt-1)/De)),1-De)*f(Te)]}return[0,nn(i(Ze),1-De)*f(Te)]}(ee[0],ee[1],vt*vt);return[-K[1],(rt>=0?1:-1)*(.5*St-K[0])]}function jt(){return(0,d.Z)(Kn(Pn)).scale(151.496)}Yn.invert=function(et,rt){y(et)>1&&(et=2*f(et)-et),y(rt)>1&&(rt=2*f(rt)-rt);var ct=f(et),vt=f(rt),St=-ct*et,Mt=-vt*rt,$=Mt/St<1,ee=function(De,He){for(var Ze=0,at=1,Tt=.5,At=50;;){var se=Tt*Tt,ve=F(Tt),Ie=O(1/F(1+se)),Fe=1-se+Tt*(1+se)*Ie,Ue=(1-ve)/Fe,We=F(Ue),Xe=Ue*(1+se),tt=We*(1-se),lt=F(Xe-De*De),mt=He+tt+Tt*lt;if(y(at-Ze)0?Ze=Tt:at=Tt,Tt=.5*(Ze+at)}if(!At)return null;var zt=O(ve),Ut=v(zt),Ht=1/Ut,en=2*ve*Ut,vn=(-Fe*Ut-(-3*Tt+Ie*(1+3*se))*en*(1-ve))/(Fe*Fe);return[x/4*(De*(-2*Ht*(.5*vn/We*(1-se)-2*Tt*We*en)+-Ht*en*lt)+-Ht*(Tt*(1+se)*vn+Ue*(1+3*se)*en)*O(De/F(Xe))),zt]}($?Mt:St,$?St:Mt),K=ee[0],le=ee[1],Te=v(le);return $&&(K=-T-K),[ct*(M(p(K)*Te,-p(le))+x),vt*O(v(K)*Te)]},Pn.invert=function(et,rt){var ct,vt,St,Mt,$,ee,K=(A-1)/(A+1),le=F(1-K*K),Te=(vt=-et,St=le*le,(ct=.5*nn(T,le*le)-rt)?(Mt=mr(ct,St),vt?(ee=($=mr(vt,1-St))[1]*$[1]+St*Mt[0]*Mt[0]*$[0]*$[0],[[Mt[0]*$[2]/ee,Mt[1]*Mt[2]*$[0]*$[1]/ee],[Mt[1]*$[1]/ee,-Mt[0]*Mt[2]*$[0]*$[2]/ee],[Mt[2]*$[1]*$[2]/ee,-St*Mt[0]*Mt[1]*$[0]/ee]]):[[Mt[0],0],[Mt[1],0],[Mt[2],0]]):[[0,($=mr(vt,1-St))[0]/$[1]],[1/$[1],0],[$[2]/$[1],0]]),De=function(He,Ze){var at=Ze[0]*Ze[0]+Ze[1]*Ze[1];return[(He[0]*Ze[0]+He[1]*Ze[1])/at,(He[1]*Ze[0]-He[0]*Ze[1])/at]}(Te[0],Te[1]);return[M(De[1],De[0])/-1,2*i(h(-.5*a(K*De[0]*De[0]+K*De[1]*De[1])))-T]};var Jt=t(7613);function fn(et){var rt=p(et),ct=v(et),vt=zn(et);function St(Mt,$){var ee=vt(Mt,$);Mt=ee[0],$=ee[1];var K=p($),le=v($),Te=v(Mt),De=z(rt*K+ct*le*Te),He=p(De),Ze=y(He)>g?De/He:1;return[Ze*ct*p(Mt),(y(Mt)>T?Ze:-Ze)*(rt*le-ct*K*Te)]}return vt.invert=zn(-et),St.invert=function(Mt,$){var ee=F(Mt*Mt+$*$),K=-p(ee),le=v(ee),Te=ee*le,De=-$*K,He=ee*rt,Ze=F(Te*Te+De*De-He*He),at=M(Te*He+De*Ze,De*He-Te*Ze),Tt=(ee>T?-1:1)*M(Mt*K,ee*v(at)*le+$*p(at)*K);return vt.invert(Tt,at)},St}function zn(et){var rt=p(et),ct=v(et);return function(vt,St){var Mt=v(St),$=v(vt)*Mt,ee=p(vt)*Mt,K=p(St);return[M(ee,$*ct-K*rt),O(K*ct+$*rt)]}}function On(){var et=0,rt=(0,d.r)(fn),ct=rt(et),vt=ct.rotate,St=ct.stream,Mt=(0,Jt.Z)();return ct.parallel=function($){if(!arguments.length)return et*R;var ee=ct.rotate();return rt(et=$*I).rotate(ee)},ct.rotate=function($){return arguments.length?(vt.call(ct,[$[0],$[1]-et*R]),Mt.center([-$[0],-$[1]]),ct):(($=vt.call(ct))[1]+=et*R,$)},ct.stream=function($){return($=St($)).sphere=function(){$.polygonStart();var ee,K=Mt.radius(89.99)().coordinates[0],le=K.length-1,Te=-1;for($.lineStart();++Te=0;)$.point((ee=K[Te])[0],ee[1]);$.lineEnd(),$.polygonEnd()},$},ct.scale(79.4187).parallel(45).clipAngle(179.999)}var En=t(33064),mn=t(72736),wn=O(1-1/3)*R,gn=nt(0);function yn(et){var rt=wn*I,ct=Ot(x,rt)[0]-Ot(-x,rt)[0],vt=gn(0,rt)[1],St=Ot(0,rt)[1],Mt=L-St,$=b/et,ee=4/b,K=vt+Mt*Mt*4/b;function le(Te,De){var He,Ze=y(De);if(Ze>rt){var at=s(et-1,u(0,l((Te+x)/$)));(He=Ot(Te+=x*(et-1)/et-at*$,Ze))[0]=He[0]*b/ct-b*(et-1)/(2*et)+at*b/et,He[1]=vt+4*(He[1]-St)*Mt/b,De<0&&(He[1]=-He[1])}else He=gn(Te,De);return He[0]*=ee,He[1]/=K,He}return le.invert=function(Te,De){Te/=ee;var He=y(De*=K);if(He>vt){var Ze=s(et-1,u(0,l((Te+x)/$)));Te=(Te+x*(et-1)/et-Ze*$)*ct/b;var at=Ot.invert(Te,.25*(He-vt)*b/Mt+St);return at[0]-=x*(et-1)/et-Ze*$,De<0&&(at[1]=-at[1]),at}return gn.invert(Te,De)},le}function Sn(et,rt){return[et,1&rt?89.999999:wn]}function Vn(et,rt){return[et,1&rt?-89.999999:-wn]}function Xn(et){return[.999999*et[0],et[1]]}function nr(){var et=4,rt=(0,d.r)(yn),ct=rt(et),vt=ct.stream;return ct.lobes=function(St){return arguments.length?rt(et=+St):et},ct.stream=function(St){var Mt=ct.rotate(),$=vt(St),ee=(ct.rotate([0,0]),vt(St));return ct.rotate(Mt),$.sphere=function(){var K,le;(0,mn.Z)((K=180/et,le=[].concat((0,En.w6)(-180,180+K/2,K).map(Sn),(0,En.w6)(180,-180-K/2,-K).map(Vn)),{type:"Polygon",coordinates:[K===180?le.map(Xn):le]}),ee)},$},ct.scale(239.75)}function Qn(et){var rt,ct=1+et,vt=O(p(1/ct)),St=2*F(x/(rt=x+4*vt*ct)),Mt=.5*St*(ct+F(et*(2+et))),$=et*et,ee=ct*ct;function K(le,Te){var De,He,Ze=1-p(Te);if(Ze&&Ze<2){var at,Tt=T-Te,At=25;do{var se=p(Tt),ve=v(Tt),Ie=vt+M(se,ct-ve),Fe=1+ee-2*ct*ve;Tt-=at=(Tt-$*vt-ct*se+Fe*Ie-.5*Ze*rt)/(2*ct*se*Ie)}while(y(at)>S&&--At>0);De=St*F(Fe),He=le*Ie/x}else De=St*(et+Ze),He=le*vt/x;return[De*p(He),Mt-De*v(He)]}return K.invert=function(le,Te){var De=le*le+(Te-=Mt)*Te,He=(1+ee-De/(St*St))/(2*ct),Ze=z(He),at=p(Ze),Tt=vt+M(at,ct-He);return[O(le/F(De))*x/Tt,O(1-2*(Ze-$*vt-ct*at+(1+ee-2*ct*He)*Tt)/rt)]},K}function fr(){var et=1,rt=(0,d.r)(Qn),ct=rt(et);return ct.ratio=function(vt){return arguments.length?rt(et=+vt):et},ct.scale(167.774).center([0,18.67])}var cr=.7109889596207567,pr=.0528035274542;function dr(et,rt){return rt>-cr?((et=Se(et,rt))[1]+=pr,et):Be(et,rt)}function br(){return(0,d.Z)(dr).rotate([-20,-55]).scale(164.263).center([0,-5.4036])}function Rr(et,rt){return y(rt)>cr?((et=Se(et,rt))[1]-=rt>0?pr:-pr,et):Be(et,rt)}function Lr(){return(0,d.Z)(Rr).scale(152.63)}function zr(et,rt,ct,vt){var St=F(4*x/(2*ct+(1+et-rt/2)*p(2*ct)+(et+rt)/2*p(4*ct)+rt/2*p(6*ct))),Mt=F(vt*p(ct)*F((1+et*v(2*ct)+rt*v(4*ct))/(1+et+rt))),$=ct*K(1);function ee(De){return F(1+et*v(2*De)+rt*v(4*De))}function K(De){var He=De*ct;return(2*He+(1+et-rt/2)*p(2*He)+(et+rt)/2*p(4*He)+rt/2*p(6*He))/ct}function le(De){return ee(De)*p(De)}var Te=function(De,He){var Ze=ct*me(K,$*p(He)/ct,He/x);isNaN(Ze)&&(Ze=ct*f(He));var at=St*ee(Ze);return[at*Mt*De/x*v(Ze),at/Mt*p(Ze)]};return Te.invert=function(De,He){var Ze=me(le,He*Mt/St);return[De*x/(v(Ze)*St*Mt*ee(Ze)),O(ct*K(Ze/ct)/$)]},ct===0&&(St=F(vt/x),(Te=function(De,He){return[De*St,p(He)/St]}).invert=function(De,He){return[De/St,O(He*St)]}),Te}function gr(){var et=1,rt=0,ct=45*I,vt=2,St=(0,d.r)(zr),Mt=St(et,rt,ct,vt);return Mt.a=function($){return arguments.length?St(et=+$,rt,ct,vt):et},Mt.b=function($){return arguments.length?St(et,rt=+$,ct,vt):rt},Mt.psiMax=function($){return arguments.length?St(et,rt,ct=+$*I,vt):ct*R},Mt.ratio=function($){return arguments.length?St(et,rt,ct,vt=+$):vt},Mt.scale(180.739)}function Fr(et,rt,ct,vt,St,Mt,$,ee,K,le,Te){if(Te.nanEncountered)return NaN;var De,He,Ze,at,Tt,At,se,ve,Ie,Fe;if(He=et(rt+.25*(De=ct-rt)),Ze=et(ct-.25*De),isNaN(He))Te.nanEncountered=!0;else{if(!isNaN(Ze))return Fe=((At=(at=De*(vt+4*He+St)/12)+(Tt=De*(St+4*Ze+Mt)/12))-$)/15,le>K?(Te.maxDepthCount++,At+Fe):Math.abs(Fe)Ze?Tt=At:at=At,At=at+Tt>>1;while(At>at);var se=K[At+1]-K[At];return se&&(se=(Ze-K[At+1])/se),(At+1+se)/$}var De=2*Te(1)/x*Mt/ct,He=function(Ze,at){var Tt=Te(y(p(at))),At=vt(Tt)*Ze;return Tt/=De,[At,at>=0?Tt:-Tt]};return He.invert=function(Ze,at){var Tt;return y(at*=De)<1&&(Tt=f(at)*O(St(y(at))*Mt)),[Ze/vt(y(at)),Tt]},He}function ta(){var et=0,rt=2.5,ct=1.183136,vt=(0,d.r)(ji),St=vt(et,rt,ct);return St.alpha=function(Mt){return arguments.length?vt(et=+Mt,rt,ct):et},St.k=function(Mt){return arguments.length?vt(et,rt=+Mt,ct):rt},St.gamma=function(Mt){return arguments.length?vt(et,rt,ct=+Mt):ct},St.scale(152.63)}function sa(et,rt){return y(et[0]-rt[0])=0;--ee)ct=(rt=et[1][ee])[0][0],vt=rt[0][1],St=rt[1][1],Mt=rt[2][0],$=rt[2][1],K.push(uo([[Mt-g,$-g],[Mt-g,St+g],[ct+g,St+g],[ct+g,vt-g]],30));return{type:"Polygon",coordinates:[(0,En.TS)(K)]}}function Xi(et,rt,ct){var vt,St;function Mt(K,le){for(var Te=le<0?-1:1,De=rt[+(le<0)],He=0,Ze=De.length-1;HeDe[He][2][0];++He);var at=et(K-De[He][1][0],le);return at[0]+=et(De[He][1][0],Te*le>Te*De[He][0][1]?De[He][0][1]:le)[0],at}ct?Mt.invert=ct(Mt):et.invert&&(Mt.invert=function(K,le){for(var Te=St[+(le<0)],De=rt[+(le<0)],He=0,Ze=Te.length;HeTt&&(De=at,at=Tt,Tt=De),[[He,at],[Ze,Tt]]})}),$):rt.map(function(le){return le.map(function(Te){return[[Te[0][0]*R,Te[0][1]*R],[Te[1][0]*R,Te[1][1]*R],[Te[2][0]*R,Te[2][1]*R]]})})},rt!=null&&$.lobes(rt),$}dr.invert=function(et,rt){return rt>-cr?Se.invert(et,rt-pr):Be.invert(et,rt)},Rr.invert=function(et,rt){return y(rt)>cr?Se.invert(et,rt+(rt>0?pr:-pr)):Be.invert(et,rt)};var Do=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function as(){return Xi(be,Do).scale(160.857)}var tl=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function Eu(){return Xi(Rr,tl).scale(152.63)}var gh=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function Af(){return Xi(Se,gh).scale(169.529)}var Lu=[[[[-180,0],[-90,90],[0,0]],[[0,0],[90,90],[180,0]]],[[[-180,0],[-90,-90],[0,0]],[[0,0],[90,-90],[180,0]]]];function os(){return Xi(Se,Lu).scale(169.529).rotate([20,0])}var Sf=[[[[-180,35],[-30,90],[0,35]],[[0,35],[30,90],[180,35]]],[[[-180,-10],[-102,-90],[-65,-10]],[[-65,-10],[5,-90],[77,-10]],[[77,-10],[103,-90],[180,-10]]]];function $a(){return Xi(dr,Sf,pe).rotate([-20,-55]).scale(164.263).center([0,-5.4036])}var fc=[[[[-180,0],[-110,90],[-40,0]],[[-40,0],[0,90],[40,0]],[[40,0],[110,90],[180,0]]],[[[-180,0],[-110,-90],[-40,0]],[[-40,0],[0,-90],[40,0]],[[40,0],[110,-90],[180,0]]]];function Yo(){return Xi(Be,fc).scale(152.63).rotate([-20,0])}function ss(et,rt){return[3/b*et*F(x*x/3-rt*rt),rt]}function Al(){return(0,d.Z)(ss).scale(158.837)}function Ui(et){function rt(ct,vt){if(y(y(vt)-T)2)return null;var Mt=(ct/=2)*ct,$=(vt/=2)*vt,ee=2*vt/(1+Mt+$);return ee=o((1+ee)/(1-ee),1/et),[M(2*ct,1-Mt-$)/et,O((ee-1)/(ee+1))]},rt}function Sl(){var et=.5,rt=(0,d.r)(Ui),ct=rt(et);return ct.spacing=function(vt){return arguments.length?rt(et=+vt):et},ct.scale(124.75)}ss.invert=function(et,rt){return[b/3*et/F(x*x/3-rt*rt),rt]};var ms=x/A;function Is(et,rt){return[et*(1+F(v(rt)))/2,rt/(v(rt/2)*v(et/6))]}function js(){return(0,d.Z)(Is).scale(97.2672)}function hc(et,rt){var ct=et*et,vt=rt*rt;return[et*(.975534+vt*(-.0143059*ct-.119161+-.0547009*vt)),rt*(1.00384+ct*(.0802894+-.02855*vt+199025e-9*ct)+vt*(.0998909+-.0491032*vt))]}function vh(){return(0,d.Z)(hc).scale(139.98)}function nl(et,rt){return[p(et)/v(rt),w(rt)*v(et)]}function yh(){return(0,d.Z)(nl).scale(144.049).clipAngle(89.999)}function bh(et){var rt=v(et),ct=w(E+et/2);function vt(St,Mt){var $=Mt-et,ee=y($)=0;)He=(De=et[Te])[0]+K*(Mt=He)-le*Ze,Ze=De[1]+K*Ze+le*Mt;return[He=K*(Mt=He)-le*Ze,Ze=K*Ze+le*Mt]}return ct.invert=function(vt,St){var Mt=20,$=vt,ee=St;do{for(var K,le=rt,Te=et[le],De=Te[0],He=Te[1],Ze=0,at=0;--le>=0;)Ze=De+$*(K=Ze)-ee*at,at=He+$*at+ee*K,De=(Te=et[le])[0]+$*(K=De)-ee*He,He=Te[1]+$*He+ee*K;var Tt,At,se=(Ze=De+$*(K=Ze)-ee*at)*Ze+(at=He+$*at+ee*K)*at;$-=Tt=((De=$*(K=De)-ee*He-vt)*Ze+(He=$*He+ee*K-St)*at)/se,ee-=At=(He*Ze-De*at)/se}while(y(Tt)+y(At)>1e-12&&--Mt>0);if(Mt){var ve=F($*$+ee*ee),Ie=2*i(.5*ve),Fe=p(Ie);return[M($*Fe,ve*v(Ie)),ve?O(ee*Fe/ve):0]}},ct}Is.invert=function(et,rt){var ct=y(et),vt=y(rt),St=g,Mt=T;vtg||y(At)>g)&&--St>0);return St&&[ct,vt]},nl.invert=function(et,rt){var ct=et*et,vt=rt*rt+1,St=ct+vt,Mt=et?_*F((St-F(St*St-4*ct))/ct):1/F(vt);return[O(et*Mt),f(rt)*z(Mt)]},Cf.invert=function(et,rt){return[et,2.5*i(h(.8*rt))-.625*x]};var rl=[[.9972523,0],[.0052513,-.0041175],[.0074606,.0048125],[-.0153783,-.1968253],[.0636871,-.1408027],[.3660976,-.2937382]],il=[[.98879,0],[0,0],[-.050909,0],[0,0],[.075528,0]],Iu=[[.984299,0],[.0211642,.0037608],[-.1036018,-.0575102],[-.0329095,-.0320119],[.0499471,.1223335],[.026046,.0899805],[7388e-7,-.1435792],[.0075848,-.1334108],[-.0216473,.0776645],[-.0225161,.0853673]],al=[[.9245,0],[0,0],[.01943,0]],Lf=[[.721316,0],[0,0],[-.00881625,-.00617325]];function If(){return Ql(rl,[152,-64]).scale(1400).center([-160.908,62.4864]).clipAngle(30).angle(7.8)}function Jl(){return Ql(il,[95,-38]).scale(1e3).clipAngle(55).center([-96.5563,38.8675])}function jc(){return Ql(Iu,[120,-45]).scale(359.513).clipAngle(55).center([-117.474,53.0628])}function Cl(){return Ql(al,[-20,-18]).scale(209.091).center([20,16.7214]).clipAngle(82)}function Ru(){return Ql(Lf,[165,10]).scale(250).clipAngle(130).center([-165,-10])}function Ql(et,rt){var ct=(0,d.Z)(Ef(et)).rotate(rt).clipAngle(90),vt=(0,st.Z)(rt),St=ct.center;return delete ct.rotate,ct.center=function(Mt){return arguments.length?St(vt(Mt)):vt.invert(St())},ct}var ol=F(6),Hi=F(7);function El(et,rt){var ct=O(7*p(rt)/(3*ol));return[ol*et*(2*v(2*ct/3)-1)/Hi,9*p(ct/3)/Hi]}function ad(){return(0,d.Z)(El).scale(164.859)}function Uc(et,rt){for(var ct,vt=(1+_)*p(rt),St=rt,Mt=0;Mt<25&&(St-=ct=(p(St/2)+p(St)-vt)/(.5*v(St/2)+v(St)),!(y(ct)S&&--ee>0);return[et/(.84719-.13063*(vt=$*$)+(Mt=vt*(St=vt*vt))*Mt*(.05494*vt-.04515-.02326*St+.00331*Mt)),$]},Ou.invert=function(et,rt){for(var ct=rt/2,vt=0,St=1/0;vt<10&&y(St)>g;++vt){var Mt=v(rt/2);rt-=St=(rt-w(rt/2)-ct)/(1-.5/(Mt*Mt))}return[2*et/(1+v(rt)),rt]};var tu=[[[[-180,0],[-90,90],[0,0]],[[0,0],[90,90],[180,0]]],[[[-180,0],[-90,-90],[0,0]],[[0,0],[90,-90],[180,0]]]];function nu(){return Xi(ce(1/0),tu).rotate([20,0]).scale(152.63)}function Du(et,rt){var ct=p(rt),vt=v(rt),St=f(et);if(et===0||y(rt)===T)return[0,rt];if(rt===0)return[et,0];if(y(et)===T)return[et*vt,T*ct];var Mt=x/(2*et)-2*et/x,$=2*rt/x,ee=(1-$*$)/(ct-$),K=Mt*Mt,le=ee*ee,Te=1+K/le,De=1+le/K,He=(Mt*ct/ee-Mt/2)/Te,Ze=(le*ct/K+ee/2)/De,at=Ze*Ze-(le*ct*ct/K+ee*ct-1)/De;return[T*(He+F(He*He+vt*vt/Te)*St),T*(Ze+F(at<0?0:at)*f(-rt*Mt)*St)]}function gc(){return(0,d.Z)(Du).scale(127.267)}Du.invert=function(et,rt){var ct=(et/=T)*et,vt=ct+(rt/=T)*rt,St=x*x;return[et?(vt-1+F((1-vt)*(1-vt)+4*ct))/(2*et)*T:0,me(function(Mt){return vt*(x*p(Mt)-2*Mt)*x+4*Mt*Mt*(rt-p(Mt))+2*x*Mt-St*rt},0)]};var vc=1.0148,vs=.23185,yc=-.14499,bc=.02406,Pf=1.790857183;function Ll(et,rt){var ct=rt*rt;return[et,rt*(vc+ct*ct*(vs+ct*(yc+bc*ct)))]}function Hc(){return(0,d.Z)(Ll).scale(139.319)}function xc(et,rt){if(y(rt)Pf?rt=Pf:rt<-1.790857183&&(rt=-1.790857183);var ct,vt=rt;do{var St=vt*vt;vt-=ct=(vt*(vc+St*St*(vs+St*(yc+bc*St)))-rt)/(1.0148+St*St*(1.1592500000000001+St*(.21654*St-1.01493)))}while(y(ct)>g);return[et,vt]},xc.invert=function(et,rt){if(y(rt)g&&--Mt>0);return $=w(St),[(y(rt)=0;)if(tt=We[Ut],Xe[0]===tt[0]&&Xe[1]===tt[1]){if(mt)return[mt,Xe];mt=Xe}}}(K.face,le.face),De=(Tt=Te.map(le.project),At=Te.map(K.project),se=iu(Tt[1],Tt[0]),ve=iu(At[1],At[0]),Ie=function(Ue,We){return M(Ue[0]*We[1]-Ue[1]*We[0],Ue[0]*We[0]+Ue[1]*We[1])}(se,ve),Fe=Ki(se)/Ki(ve),ru([1,0,Tt[0][0],0,1,Tt[0][1]],ru([Fe,0,0,0,Fe,0],ru([v(Ie),p(Ie),0,-p(Ie),v(Ie),0],[1,0,-At[0][0],0,1,-At[0][1]]))));K.transform=le.transform?ru(le.transform,De):De;for(var He=le.edges,Ze=0,at=He.length;Ze0?[-vt[0],0]:[180-vt[0],180])};var rt=Us.map(function(ct){return{face:ct,project:et(ct)}});return[-1,0,0,1,0,1,4,5].forEach(function(ct,vt){var St=rt[ct];St&&(St.children||(St.children=[])).push(rt[vt])}),Il(rt[0],function(ct,vt){return rt[ct<-x/2?vt<0?6:4:ct<0?vt<0?2:0:ctK^ve>K&&ee<(se-at)*(K-Tt)/(ve-Tt)+at&&(le=!le)}return le}(St[0],vt))return St.push(ct),!0})||et.push([ct])}),zo=[],et.length?et.length>1?{type:"MultiPolygon",coordinates:et}:{type:"Polygon",coordinates:et[0]}:null}};function Zo(et){var rt=et(T,0)[0]-et(-T,0)[0];function ct(vt,St){var Mt=y(vt)0?vt-x:vt+x,St),ee=($[0]-$[1])*_,K=($[0]+$[1])*_;if(Mt)return[ee,K];var le=rt*_,Te=ee>0^K>0?-1:1;return[Te*ee-f(K)*le,Te*K-f(ee)*le]}return et.invert&&(ct.invert=function(vt,St){var Mt=(vt+St)*_,$=(St-vt)*_,ee=y(Mt)<.5*rt&&y($)<.5*rt;if(!ee){var K=rt*_,le=Mt>0^$>0?-1:1,Te=-le*vt+($>0?1:-1)*K,De=-le*St+(Mt>0?1:-1)*K;Mt=(-Te-De)*_,$=(Te-De)*_}var He=et.invert(Mt,$);return ee||(He[0]+=Mt>0?x:-x),He}),(0,d.Z)(ct).rotate([-90,-90,45]).clipAngle(179.999)}function qc(){return Zo(Yn).scale(176.423)}function Wc(){return Zo(Pn).scale(111.48)}function Lo(et,rt){if(!(0<=(rt=+rt)&&rt<=20))throw new Error("invalid digits");function ct(le){var Te=le.length,De=2,He=new Array(Te);for(He[0]=+le[0].toFixed(rt),He[1]=+le[1].toFixed(rt);De2||Ze[0]!=Te[0]||Ze[1]!=Te[1])&&(De.push(Ze),Te=Ze)}return De.length===1&&le.length>1&&De.push(ct(le[le.length-1])),De}function Mt(le){return le.map(St)}function $(le){if(le==null)return le;var Te;switch(le.type){case"GeometryCollection":Te={type:"GeometryCollection",geometries:le.geometries.map($)};break;case"Point":Te={type:"Point",coordinates:ct(le.coordinates)};break;case"MultiPoint":Te={type:le.type,coordinates:vt(le.coordinates)};break;case"LineString":Te={type:le.type,coordinates:St(le.coordinates)};break;case"MultiLineString":case"Polygon":Te={type:le.type,coordinates:Mt(le.coordinates)};break;case"MultiPolygon":Te={type:"MultiPolygon",coordinates:le.coordinates.map(Mt)};break;default:return le}return le.bbox!=null&&(Te.bbox=le.bbox),Te}function ee(le){var Te={type:"Feature",properties:le.properties,geometry:$(le.geometry)};return le.id!=null&&(Te.id=le.id),le.bbox!=null&&(Te.bbox=le.bbox),Te}if(et!=null)switch(et.type){case"Feature":return ee(et);case"FeatureCollection":var K={type:"FeatureCollection",features:et.features.map(ee)};return et.bbox!=null&&(K.bbox=et.bbox),K;default:return $(et)}return et}function Dr(et){var rt=p(et);function ct(vt,St){var Mt=rt?w(vt*rt/2)/rt:vt/2;if(!St)return[2*Mt,-et];var $=2*i(Mt*p(St)),ee=1/w(St);return[p($)*ee,St+(1-v($))*ee-et]}return ct.invert=function(vt,St){if(y(St+=et)g&&--K>0);var He=vt*(le=w(ee)),Ze=w(y(St)0?T:-T)*(le+Mt*(De-ee)/2+Mt*Mt*(De-2*le+ee)/2)]}function Fu(){return(0,d.Z)($c).scale(152.63)}function Bu(et,rt){var ct=function($){function ee(K,le){var Te=v(le),De=($-1)/($-Te*v(K));return[De*Te*p(K),De*p(le)]}return ee.invert=function(K,le){var Te=K*K+le*le,De=F(Te),He=($-F(1-Te*($+1)/($-1)))/(($-1)/De+De/($-1));return[M(K*He,De*F(1-He*He)),De?O(le*He/De):0]},ee}(et);if(!rt)return ct;var vt=v(rt),St=p(rt);function Mt($,ee){var K=ct($,ee),le=K[1],Te=le*St/(et-1)+vt;return[K[0]*vt/Te,le/Te]}return Mt.invert=function($,ee){var K=(et-1)/(et-1-ee*St);return ct.invert(K*$,K*ee*vt)},Mt}function Nu(){var et=2,rt=0,ct=(0,d.r)(Bu),vt=ct(et,rt);return vt.distance=function(St){return arguments.length?ct(et=+St,rt):et},vt.tilt=function(St){return arguments.length?ct(et,rt=St*I):rt*R},vt.scale(432.147).clipAngle(z(1/et)*R-1e-6)}Fo.forEach(function(et){et[1]*=1.0144}),$c.invert=function(et,rt){var ct=rt/T,vt=90*ct,St=s(18,y(vt/5)),Mt=u(0,l(St));do{var $=Fo[Mt][1],ee=Fo[Mt+1][1],K=Fo[s(19,Mt+2)][1],le=K-$,Te=K-2*ee+$,De=2*(y(ct)-ee)/le,He=Te/le,Ze=De*(1-He*De*(1-2*He*De));if(Ze>=0||Mt===1){vt=(rt>=0?5:-5)*(Ze+St);var at,Tt=50;do Ze=(St=s(18,y(vt)/5))-(Mt=l(St)),$=Fo[Mt][1],ee=Fo[Mt+1][1],K=Fo[s(19,Mt+2)][1],vt-=(at=(rt>=0?T:-T)*(ee+Ze*(K-$)/2+Ze*Ze*(K-2*ee+$)/2)-rt)*R;while(y(at)>S&&--Tt>0);break}}while(--Mt>=0);var At=Fo[Mt][0],se=Fo[Mt+1][0],ve=Fo[s(19,Mt+2)][0];return[et/(se+Ze*(ve-At)/2+Ze*Ze*(ve-2*se+At)/2),vt*I]};var Br=-179.9999,Vu=179.9999,bs=-89.9999,Yc=89.9999;function wc(et){return et.length>0}function vo(et){return et===-90||et===90?[0,et]:[-180,(rt=et,Math.floor(1e4*rt)/1e4)];var rt}function cu(et){var rt=et[0],ct=et[1],vt=!1;return rt<=Br?(rt=-180,vt=!0):rt>=Vu&&(rt=180,vt=!0),ct<=bs?(ct=-90,vt=!0):ct>=Yc&&(ct=90,vt=!0),vt?[rt,ct]:et}function ul(et){return et.map(cu)}function Xo(et,rt,ct){for(var vt=0,St=et.length;vt=Vu||Te<=bs||Te>=Yc){Mt[$]=cu(K);for(var De=$+1;DeBr&&Zebs&&at=ee)break;ct.push({index:-1,polygon:rt,ring:Mt=Mt.slice(De-1)}),Mt[0]=vo(Mt[0][1]),$=-1,ee=Mt.length}}}}function Ol(et){var rt,ct,vt,St,Mt,$,ee=et.length,K={},le={};for(rt=0;rt0?x-ee:ee)*R],le=(0,d.Z)(et($)).rotate(K),Te=(0,st.Z)(K),De=le.center;return delete le.rotate,le.center=function(He){return arguments.length?De(Te(He)):Te.invert(De())},le.clipAngle(90)}function Tc(et){var rt=v(et);function ct(vt,St){var Mt=(0,Bi.M)(vt,St);return Mt[0]*=rt,Mt}return ct.invert=function(vt,St){return Bi.M.invert(vt/rt,St)},ct}function ls(){return ws([-158,21.5],[-77,39]).clipAngle(60).scale(400)}function ws(et,rt){return $i(Tc,et,rt)}function Gs(et){if(!(et*=2))return re.N;var rt=-et/2,ct=-rt,vt=et*et,St=w(ct),Mt=.5/p(ct);function $(ee,K){var le=z(v(K)*v(ee-rt)),Te=z(v(K)*v(ee-ct));return[((le*=le)-(Te*=Te))/(2*et),(K<0?-1:1)*F(4*vt*Te-(vt-le+Te)*(vt-le+Te))/(2*et)]}return $.invert=function(ee,K){var le,Te,De=K*K,He=v(F(De+(le=ee+rt)*le)),Ze=v(F(De+(le=ee+ct)*le));return[M(Te=He-Ze,le=(He+Ze)*St),(K<0?-1:1)*z(F(le*le+Te*Te)*Mt)]},$}function Bo(){return Wi([-158,21.5],[-77,39]).clipAngle(130).scale(122.571)}function Wi(et,rt){return $i(Gs,et,rt)}function no(et,rt){if(y(rt)g&&--ee>0);return[f(et)*(F(St*St+4)+St)*x/4,T*$]};var fl=4*x+3*F(3),Os=2*F(2*x*F(3)/fl),xo=Me(Os*F(3)/x,Os,fl/6);function Zc(){return(0,d.Z)(xo).scale(176.84)}function Vo(et,rt){return[et*F(1-3*rt*rt/(x*x)),rt]}function Uu(){return(0,d.Z)(Vo).scale(152.63)}function hl(et,rt){var ct=v(rt),vt=v(et)*ct,St=1-vt,Mt=v(et=M(p(et)*ct,-p(rt))),$=p(et);return[$*(ct=F(1-vt*vt))-Mt*St,-Mt*ct-$*St]}function Ji(){return(0,d.Z)(hl).rotate([0,-90,45]).scale(124.75).clipAngle(179.999)}function la(et,rt){var ct=Y(et,rt);return[(ct[0]+et/T)/2,(ct[1]+rt)/2]}function Xc(){return(0,d.Z)(la).scale(158.837)}Vo.invert=function(et,rt){return[et/F(1-3*rt*rt/(x*x)),rt]},hl.invert=function(et,rt){var ct=(et*et+rt*rt)/-2,vt=F(-ct*(2+ct)),St=rt*ct+et*vt,Mt=et*ct-rt*vt,$=F(Mt*Mt+St*St);return[M(vt*St,$*(1+ct)),$?-O(vt*Mt/$):0]},la.invert=function(et,rt){var ct=et,vt=rt,St=25;do{var Mt,$=v(vt),ee=p(vt),K=p(2*vt),le=ee*ee,Te=$*$,De=p(ct),He=v(ct/2),Ze=p(ct/2),at=Ze*Ze,Tt=1-Te*He*He,At=Tt?z($*He)*F(Mt=1/Tt):Mt=0,se=.5*(2*At*$*Ze+ct/T)-et,ve=.5*(At*ee+vt)-rt,Ie=.5*Mt*(Te*at+At*$*He*le)+.5/T,Fe=Mt*(De*K/4-At*ee*Ze),Ue=.125*Mt*(K*Ze-At*ee*Te*De),We=.5*Mt*(le*He+At*at*$)+.5,Xe=Fe*Ue-We*Ie,tt=(ve*Fe-se*We)/Xe,lt=(se*Ue-ve*Ie)/Xe;ct-=tt,vt-=lt}while((y(tt)>g||y(lt)>g)&&--St>0);return[ct,vt]}},33940:function(k,m,t){function d(){return new y}function y(){this.reset()}t.d(m,{Z:function(){return d}}),y.prototype={constructor:y,reset:function(){this.s=this.t=0},add:function(v){M(i,v,this.t),M(this,i.s,this.s),this.s?this.t+=i.t:this.s=i.t},valueOf:function(){return this.s}};var i=new y;function M(v,h,l){var a=v.s=h+l,u=a-h,s=a-u;v.t=h-s+(l-u)}},97860:function(k,m,t){t.d(m,{L9:function(){return s},ZP:function(){return S},gL:function(){return c}});var d,y,i,M,v,h=t(33940),l=t(39695),a=t(73182),u=t(72736),s=(0,h.Z)(),o=(0,h.Z)(),c={point:a.Z,lineStart:a.Z,lineEnd:a.Z,polygonStart:function(){s.reset(),c.lineStart=f,c.lineEnd=p},polygonEnd:function(){var x=+s;o.add(x<0?l.BZ+x:x),this.lineStart=this.lineEnd=this.point=a.Z},sphere:function(){o.add(l.BZ)}};function f(){c.point=w}function p(){g(d,y)}function w(x,T){c.point=g,d=x,y=T,x*=l.uR,T*=l.uR,i=x,M=(0,l.mC)(T=T/2+l.pu),v=(0,l.O$)(T)}function g(x,T){x*=l.uR,T=(T*=l.uR)/2+l.pu;var E=x-i,_=E>=0?1:-1,A=_*E,L=(0,l.mC)(T),b=(0,l.O$)(T),R=v*b,I=M*L+R*(0,l.mC)(A),O=R*_*(0,l.O$)(A);s.add((0,l.fv)(O,I)),i=x,M=L,v=b}function S(x){return o.reset(),(0,u.Z)(x,c),2*o}},77338:function(k,m,t){t.d(m,{Z:function(){return z}});var d,y,i,M,v,h,l,a,u,s,o=t(33940),c=t(97860),f=t(7620),p=t(39695),w=t(72736),g=(0,o.Z)(),S={point:x,lineStart:E,lineEnd:_,polygonStart:function(){S.point=A,S.lineStart=L,S.lineEnd=b,g.reset(),c.gL.polygonStart()},polygonEnd:function(){c.gL.polygonEnd(),S.point=x,S.lineStart=E,S.lineEnd=_,c.L9<0?(d=-(i=180),y=-(M=90)):g>p.Ho?M=90:g<-p.Ho&&(y=-90),s[0]=d,s[1]=i},sphere:function(){d=-(i=180),y=-(M=90)}};function x(F,B){u.push(s=[d=F,i=F]),BM&&(M=B)}function T(F,B){var N=(0,f.Og)([F*p.uR,B*p.uR]);if(a){var W=(0,f.T5)(a,N),j=[W[1],-W[0],0],Y=(0,f.T5)(j,W);(0,f.iJ)(Y),Y=(0,f.Y1)(Y);var U,G=F-v,q=G>0?1:-1,H=Y[0]*p.RW*q,ne=(0,p.Wn)(G)>180;ne^(q*vM&&(M=U):ne^(q*v<(H=(H+360)%360-180)&&HM&&(M=B)),ne?FR(d,i)&&(i=F):R(F,i)>R(d,i)&&(d=F):i>=d?(Fi&&(i=F)):F>v?R(d,F)>R(d,i)&&(i=F):R(F,i)>R(d,i)&&(d=F)}else u.push(s=[d=F,i=F]);BM&&(M=B),a=N,v=F}function E(){S.point=T}function _(){s[0]=d,s[1]=i,S.point=x,a=null}function A(F,B){if(a){var N=F-v;g.add((0,p.Wn)(N)>180?N+(N>0?360:-360):N)}else h=F,l=B;c.gL.point(F,B),T(F,B)}function L(){c.gL.lineStart()}function b(){A(h,l),c.gL.lineEnd(),(0,p.Wn)(g)>p.Ho&&(d=-(i=180)),s[0]=d,s[1]=i,a=null}function R(F,B){return(B-=F)<0?B+360:B}function I(F,B){return F[0]-B[0]}function O(F,B){return F[0]<=F[1]?F[0]<=B&&B<=F[1]:BR(W[0],W[1])&&(W[1]=j[1]),R(j[0],W[1])>R(W[0],W[1])&&(W[0]=j[0])):Y.push(W=j);for(U=-1/0,B=0,W=Y[N=Y.length-1];B<=N;W=j,++B)j=Y[B],(G=R(W[1],j[0]))>U&&(U=G,d=j[0],i=W[1])}return u=s=null,d===1/0||y===1/0?[[NaN,NaN],[NaN,NaN]]:[[d,y],[i,M]]}},7620:function(k,m,t){t.d(m,{Og:function(){return i},T:function(){return l},T5:function(){return v},Y1:function(){return y},iJ:function(){return a},j9:function(){return M},s0:function(){return h}});var d=t(39695);function y(u){return[(0,d.fv)(u[1],u[0]),(0,d.ZR)(u[2])]}function i(u){var s=u[0],o=u[1],c=(0,d.mC)(o);return[c*(0,d.mC)(s),c*(0,d.O$)(s),(0,d.O$)(o)]}function M(u,s){return u[0]*s[0]+u[1]*s[1]+u[2]*s[2]}function v(u,s){return[u[1]*s[2]-u[2]*s[1],u[2]*s[0]-u[0]*s[2],u[0]*s[1]-u[1]*s[0]]}function h(u,s){u[0]+=s[0],u[1]+=s[1],u[2]+=s[2]}function l(u,s){return[u[0]*s,u[1]*s,u[2]*s]}function a(u){var s=(0,d._b)(u[0]*u[0]+u[1]*u[1]+u[2]*u[2]);u[0]/=s,u[1]/=s,u[2]/=s}},66624:function(k,m,t){t.d(m,{Z:function(){return N}});var d,y,i,M,v,h,l,a,u,s,o,c,f,p,w,g,S=t(39695),x=t(73182),T=t(72736),E={sphere:x.Z,point:_,lineStart:L,lineEnd:I,polygonStart:function(){E.lineStart=O,E.lineEnd=z},polygonEnd:function(){E.lineStart=L,E.lineEnd=I}};function _(W,j){W*=S.uR,j*=S.uR;var Y=(0,S.mC)(j);A(Y*(0,S.mC)(W),Y*(0,S.O$)(W),(0,S.O$)(j))}function A(W,j,Y){++d,i+=(W-i)/d,M+=(j-M)/d,v+=(Y-v)/d}function L(){E.point=b}function b(W,j){W*=S.uR,j*=S.uR;var Y=(0,S.mC)(j);p=Y*(0,S.mC)(W),w=Y*(0,S.O$)(W),g=(0,S.O$)(j),E.point=R,A(p,w,g)}function R(W,j){W*=S.uR,j*=S.uR;var Y=(0,S.mC)(j),U=Y*(0,S.mC)(W),G=Y*(0,S.O$)(W),q=(0,S.O$)(j),H=(0,S.fv)((0,S._b)((H=w*q-g*G)*H+(H=g*U-p*q)*H+(H=p*G-w*U)*H),p*U+w*G+g*q);y+=H,h+=H*(p+(p=U)),l+=H*(w+(w=G)),a+=H*(g+(g=q)),A(p,w,g)}function I(){E.point=_}function O(){E.point=F}function z(){B(c,f),E.point=_}function F(W,j){c=W,f=j,W*=S.uR,j*=S.uR,E.point=B;var Y=(0,S.mC)(j);p=Y*(0,S.mC)(W),w=Y*(0,S.O$)(W),g=(0,S.O$)(j),A(p,w,g)}function B(W,j){W*=S.uR,j*=S.uR;var Y=(0,S.mC)(j),U=Y*(0,S.mC)(W),G=Y*(0,S.O$)(W),q=(0,S.O$)(j),H=w*q-g*G,ne=g*U-p*q,te=p*G-w*U,Z=(0,S._b)(H*H+ne*ne+te*te),X=(0,S.ZR)(Z),Q=Z&&-X/Z;u+=Q*H,s+=Q*ne,o+=Q*te,y+=X,h+=X*(p+(p=U)),l+=X*(w+(w=G)),a+=X*(g+(g=q)),A(p,w,g)}function N(W){d=y=i=M=v=h=l=a=u=s=o=0,(0,T.Z)(W,E);var j=u,Y=s,U=o,G=j*j+Y*Y+U*U;return G0?cf)&&(c+=o*i.BZ));for(var S,x=c;o>0?x>f:x0?y.pi:-y.pi,o=(0,y.Wn)(a-v);(0,y.Wn)(o-y.pi)0?y.ou:-y.ou),i.point(l,h),i.lineEnd(),i.lineStart(),i.point(s,h),i.point(a,h),M=0):l!==s&&o>=y.pi&&((0,y.Wn)(v-l)y.Ho?(0,y.z4)(((0,y.O$)(f)*(S=(0,y.mC)(w))*(0,y.O$)(p)-(0,y.O$)(w)*(g=(0,y.mC)(f))*(0,y.O$)(c))/(g*S*x)):(f+w)/2}(v,h,a,u),i.point(l,h),i.lineEnd(),i.lineStart(),i.point(s,h),M=0),i.point(v=a,h=u),l=s},lineEnd:function(){i.lineEnd(),v=h=NaN},clean:function(){return 2-M}}},function(i,M,v,h){var l;if(i==null)l=v*y.ou,h.point(-y.pi,l),h.point(0,l),h.point(y.pi,l),h.point(y.pi,0),h.point(y.pi,-l),h.point(0,-l),h.point(-y.pi,-l),h.point(-y.pi,0),h.point(-y.pi,l);else if((0,y.Wn)(i[0]-M[0])>y.Ho){var a=i[0]1&&M.push(M.pop().concat(M.shift()))},result:function(){var v=M;return M=[],i=null,v}}}},1457:function(k,m,t){t.d(m,{Z:function(){return h}});var d=t(7620),y=t(7613),i=t(39695),M=t(67108),v=t(97023);function h(l){var a=(0,i.mC)(l),u=6*i.uR,s=a>0,o=(0,i.Wn)(a)>i.Ho;function c(w,g){return(0,i.mC)(w)*(0,i.mC)(g)>a}function f(w,g,S){var x=(0,d.Og)(w),T=(0,d.Og)(g),E=[1,0,0],_=(0,d.T5)(x,T),A=(0,d.j9)(_,_),L=_[0],b=A-L*L;if(!b)return!S&&w;var R=a*A/b,I=-a*L/b,O=(0,d.T5)(E,_),z=(0,d.T)(E,R),F=(0,d.T)(_,I);(0,d.s0)(z,F);var B=O,N=(0,d.j9)(z,B),W=(0,d.j9)(B,B),j=N*N-W*((0,d.j9)(z,z)-1);if(!(j<0)){var Y=(0,i._b)(j),U=(0,d.T)(B,(-N-Y)/W);if((0,d.s0)(U,z),U=(0,d.Y1)(U),!S)return U;var G,q=w[0],H=g[0],ne=w[1],te=g[1];H0^U[1]<((0,i.Wn)(U[0]-q)i.pi^(q<=U[0]&&U[0]<=H)){var Q=(0,d.T)(B,(-N+Y)/W);return(0,d.s0)(Q,z),[U,(0,d.Y1)(Q)]}}}function p(w,g){var S=s?l:i.pi-l,x=0;return w<-S?x|=1:w>S&&(x|=2),g<-S?x|=4:g>S&&(x|=8),x}return(0,v.Z)(c,function(w){var g,S,x,T,E;return{lineStart:function(){T=x=!1,E=1},point:function(_,A){var L,b=[_,A],R=c(_,A),I=s?R?0:p(_,A):R?p(_+(_<0?i.pi:-i.pi),A):0;if(!g&&(T=x=R)&&w.lineStart(),R!==x&&(!(L=f(g,b))||(0,M.Z)(g,L)||(0,M.Z)(b,L))&&(b[2]=1),R!==x)E=0,R?(w.lineStart(),L=f(b,g),w.point(L[0],L[1])):(L=f(g,b),w.point(L[0],L[1],2),w.lineEnd()),g=L;else if(o&&g&&s^R){var O;I&S||!(O=f(b,g,!0))||(E=0,s?(w.lineStart(),w.point(O[0][0],O[0][1]),w.point(O[1][0],O[1][1]),w.lineEnd()):(w.point(O[1][0],O[1][1]),w.lineEnd(),w.lineStart(),w.point(O[0][0],O[0][1],3)))}!R||g&&(0,M.Z)(g,b)||w.point(b[0],b[1]),g=b,x=R,S=I},lineEnd:function(){x&&w.lineEnd(),g=null},clean:function(){return E|(T&&x)<<1}}},function(w,g,S,x){(0,y.m)(x,l,u,S,w,g)},s?[0,-l]:[-i.pi,l-i.pi])}},97023:function(k,m,t){t.d(m,{Z:function(){return h}});var d=t(85272),y=t(46225),i=t(39695),M=t(23071),v=t(33064);function h(u,s,o,c){return function(f){var p,w,g,S=s(f),x=(0,d.Z)(),T=s(x),E=!1,_={point:A,lineStart:b,lineEnd:R,polygonStart:function(){_.point=I,_.lineStart=O,_.lineEnd=z,w=[],p=[]},polygonEnd:function(){_.point=A,_.lineStart=b,_.lineEnd=R,w=(0,v.TS)(w);var F=(0,M.Z)(p,c);w.length?(E||(f.polygonStart(),E=!0),(0,y.Z)(w,a,F,o,f)):F&&(E||(f.polygonStart(),E=!0),f.lineStart(),o(null,null,1,f),f.lineEnd()),E&&(f.polygonEnd(),E=!1),w=p=null},sphere:function(){f.polygonStart(),f.lineStart(),o(null,null,1,f),f.lineEnd(),f.polygonEnd()}};function A(F,B){u(F,B)&&f.point(F,B)}function L(F,B){S.point(F,B)}function b(){_.point=L,S.lineStart()}function R(){_.point=A,S.lineEnd()}function I(F,B){g.push([F,B]),T.point(F,B)}function O(){T.lineStart(),g=[]}function z(){I(g[0][0],g[0][1]),T.lineEnd();var F,B,N,W,j=T.clean(),Y=x.result(),U=Y.length;if(g.pop(),p.push(g),g=null,U)if(1&j){if((B=(N=Y[0]).length-1)>0){for(E||(f.polygonStart(),E=!0),f.lineStart(),F=0;F1&&2&j&&Y.push(Y.pop().concat(Y.shift())),w.push(Y.filter(l))}return _}}function l(u){return u.length>1}function a(u,s){return((u=u.x)[0]<0?u[1]-i.ou-i.Ho:i.ou-u[1])-((s=s.x)[0]<0?s[1]-i.ou-i.Ho:i.ou-s[1])}},87605:function(k,m,t){t.d(m,{Z:function(){return l}});var d=t(39695),y=t(85272),i=t(46225),M=t(33064),v=1e9,h=-v;function l(a,u,s,o){function c(S,x){return a<=S&&S<=s&&u<=x&&x<=o}function f(S,x,T,E){var _=0,A=0;if(S==null||(_=p(S,T))!==(A=p(x,T))||g(S,x)<0^T>0)do E.point(_===0||_===3?a:s,_>1?o:u);while((_=(_+T+4)%4)!==A);else E.point(x[0],x[1])}function p(S,x){return(0,d.Wn)(S[0]-a)0?0:3:(0,d.Wn)(S[0]-s)0?2:1:(0,d.Wn)(S[1]-u)0?1:0:x>0?3:2}function w(S,x){return g(S.x,x.x)}function g(S,x){var T=p(S,1),E=p(x,1);return T!==E?T-E:T===0?x[1]-S[1]:T===1?S[0]-x[0]:T===2?S[1]-x[1]:x[0]-S[0]}return function(S){var x,T,E,_,A,L,b,R,I,O,z,F=S,B=(0,y.Z)(),N={point:W,lineStart:function(){N.point=j,T&&T.push(E=[]),O=!0,I=!1,b=R=NaN},lineEnd:function(){x&&(j(_,A),L&&I&&B.rejoin(),x.push(B.result())),N.point=W,I&&F.lineEnd()},polygonStart:function(){F=B,x=[],T=[],z=!0},polygonEnd:function(){var Y=function(){for(var q=0,H=0,ne=T.length;Ho&&(oe-te)*(o-Z)>(ue-Z)*(a-te)&&++q:ue<=o&&(oe-te)*(o-Z)<(ue-Z)*(a-te)&&--q;return q}(),U=z&&Y,G=(x=(0,M.TS)(x)).length;(U||G)&&(S.polygonStart(),U&&(S.lineStart(),f(null,null,1,S),S.lineEnd()),G&&(0,i.Z)(x,w,Y,f,S),S.polygonEnd()),F=S,x=T=E=null}};function W(Y,U){c(Y,U)&&F.point(Y,U)}function j(Y,U){var G=c(Y,U);if(T&&E.push([Y,U]),O)_=Y,A=U,L=G,O=!1,G&&(F.lineStart(),F.point(Y,U));else if(G&&I)F.point(Y,U);else{var q=[b=Math.max(h,Math.min(v,b)),R=Math.max(h,Math.min(v,R))],H=[Y=Math.max(h,Math.min(v,Y)),U=Math.max(h,Math.min(v,U))];(function(ne,te,Z,X,Q,re){var ie,oe=ne[0],ue=ne[1],ce=0,ye=1,de=te[0]-oe,me=te[1]-ue;if(ie=Z-oe,de||!(ie>0)){if(ie/=de,de<0){if(ie0){if(ie>ye)return;ie>ce&&(ce=ie)}if(ie=Q-oe,de||!(ie<0)){if(ie/=de,de<0){if(ie>ye)return;ie>ce&&(ce=ie)}else if(de>0){if(ie0)){if(ie/=me,me<0){if(ie0){if(ie>ye)return;ie>ce&&(ce=ie)}if(ie=re-ue,me||!(ie<0)){if(ie/=me,me<0){if(ie>ye)return;ie>ce&&(ce=ie)}else if(me>0){if(ie0&&(ne[0]=oe+ce*de,ne[1]=ue+ce*me),ye<1&&(te[0]=oe+ye*de,te[1]=ue+ye*me),!0}}}}})(q,H,a,u,s,o)?(I||(F.lineStart(),F.point(q[0],q[1])),F.point(H[0],H[1]),G||F.lineEnd(),z=!1):G&&(F.lineStart(),F.point(Y,U),z=!1)}b=Y,R=U,I=G}return N}}},46225:function(k,m,t){t.d(m,{Z:function(){return M}});var d=t(67108),y=t(39695);function i(h,l,a,u){this.x=h,this.z=l,this.o=a,this.e=u,this.v=!1,this.n=this.p=null}function M(h,l,a,u,s){var o,c,f=[],p=[];if(h.forEach(function(E){if(!((_=E.length-1)<=0)){var _,A,L=E[0],b=E[_];if((0,d.Z)(L,b)){if(!L[2]&&!b[2]){for(s.lineStart(),o=0;o<_;++o)s.point((L=E[o])[0],L[1]);return void s.lineEnd()}b[0]+=2*y.Ho}f.push(A=new i(L,E,null,!0)),p.push(A.o=new i(L,null,A,!1)),f.push(A=new i(b,E,null,!1)),p.push(A.o=new i(b,null,A,!0))}}),f.length){for(p.sort(l),v(f),v(p),o=0,c=p.length;o=0;--o)s.point((g=w[o])[0],g[1]);else u(x.x,x.p.x,-1,s);x=x.p}w=(x=x.o).z,T=!T}while(!x.v);s.lineEnd()}}}function v(h){if(l=h.length){for(var l,a,u=0,s=h[0];++u0&&(Un=R(Kt[Kn],Kt[Kn-1]))>0&&Rn<=Un&&Ln<=Un&&(Rn+Ln-Un)*(1-Math.pow((Rn-Ln)/Un,2))p.Ho}).map(mr)).concat((0,U.w6)((0,p.mD)(Kn/fn)*fn,Un,fn).filter(function(gn){return(0,p.Wn)(gn%On)>p.Ho}).map(nn))}return mn.lines=function(){return wn().map(function(gn){return{type:"LineString",coordinates:gn}})},mn.outline=function(){return{type:"Polygon",coordinates:[Pn(Ln).concat(jt(Yn).slice(1),Pn(Rn).reverse().slice(1),jt(tr).reverse().slice(1))]}},mn.extent=function(gn){return arguments.length?mn.extentMajor(gn).extentMinor(gn):mn.extentMinor()},mn.extentMajor=function(gn){return arguments.length?(Ln=+gn[0][0],Rn=+gn[1][0],tr=+gn[0][1],Yn=+gn[1][1],Ln>Rn&&(gn=Ln,Ln=Rn,Rn=gn),tr>Yn&&(gn=tr,tr=Yn,Yn=gn),mn.precision(En)):[[Ln,tr],[Rn,Yn]]},mn.extentMinor=function(gn){return arguments.length?(bn=+gn[0][0],Kt=+gn[1][0],Kn=+gn[0][1],Un=+gn[1][1],bn>Kt&&(gn=bn,bn=Kt,Kt=gn),Kn>Un&&(gn=Kn,Kn=Un,Un=gn),mn.precision(En)):[[bn,Kn],[Kt,Un]]},mn.step=function(gn){return arguments.length?mn.stepMajor(gn).stepMinor(gn):mn.stepMinor()},mn.stepMajor=function(gn){return arguments.length?(zn=+gn[0],On=+gn[1],mn):[zn,On]},mn.stepMinor=function(gn){return arguments.length?(Jt=+gn[0],fn=+gn[1],mn):[Jt,fn]},mn.precision=function(gn){return arguments.length?(En=+gn,mr=G(Kn,Un,90),nn=q(bn,Kt,En),Pn=G(tr,Yn,90),jt=q(Ln,Rn,En),mn):En},mn.extentMajor([[-180,-90+p.Ho],[180,90-p.Ho]]).extentMinor([[-180,-80-p.Ho],[180,80+p.Ho]])}function ne(){return H()()}var te,Z,X,Q,re=t(83074),ie=t(8593),oe=(0,f.Z)(),ue=(0,f.Z)(),ce={point:w.Z,lineStart:w.Z,lineEnd:w.Z,polygonStart:function(){ce.lineStart=ye,ce.lineEnd=pe},polygonEnd:function(){ce.lineStart=ce.lineEnd=ce.point=w.Z,oe.add((0,p.Wn)(ue)),ue.reset()},result:function(){var Kt=oe/2;return oe.reset(),Kt}};function ye(){ce.point=de}function de(Kt,bn){ce.point=me,te=X=Kt,Z=Q=bn}function me(Kt,bn){ue.add(Q*Kt-X*bn),X=Kt,Q=bn}function pe(){me(te,Z)}var xe,Pe,_e,Me,Se=ce,Ce=t(3559),ae=0,he=0,be=0,ke=0,Le=0,Be=0,ze=0,je=0,ge=0,we={point:Ee,lineStart:Ve,lineEnd:st,polygonStart:function(){we.lineStart=ot,we.lineEnd=ft},polygonEnd:function(){we.point=Ee,we.lineStart=Ve,we.lineEnd=st},result:function(){var Kt=ge?[ze/ge,je/ge]:Be?[ke/Be,Le/Be]:be?[ae/be,he/be]:[NaN,NaN];return ae=he=be=ke=Le=Be=ze=je=ge=0,Kt}};function Ee(Kt,bn){ae+=Kt,he+=bn,++be}function Ve(){we.point=Ye}function Ye(Kt,bn){we.point=$e,Ee(_e=Kt,Me=bn)}function $e(Kt,bn){var Rn=Kt-_e,Ln=bn-Me,Un=(0,p._b)(Rn*Rn+Ln*Ln);ke+=Un*(_e+Kt)/2,Le+=Un*(Me+bn)/2,Be+=Un,Ee(_e=Kt,Me=bn)}function st(){we.point=Ee}function ot(){we.point=bt}function ft(){Et(xe,Pe)}function bt(Kt,bn){we.point=Et,Ee(xe=_e=Kt,Pe=Me=bn)}function Et(Kt,bn){var Rn=Kt-_e,Ln=bn-Me,Un=(0,p._b)(Rn*Rn+Ln*Ln);ke+=Un*(_e+Kt)/2,Le+=Un*(Me+bn)/2,Be+=Un,ze+=(Un=Me*Kt-_e*bn)*(_e+Kt),je+=Un*(Me+bn),ge+=3*Un,Ee(_e=Kt,Me=bn)}var kt=we;function xt(Kt){this._context=Kt}xt.prototype={_radius:4.5,pointRadius:function(Kt){return this._radius=Kt,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._context.closePath(),this._point=NaN},point:function(Kt,bn){switch(this._point){case 0:this._context.moveTo(Kt,bn),this._point=1;break;case 1:this._context.lineTo(Kt,bn);break;default:this._context.moveTo(Kt+this._radius,bn),this._context.arc(Kt,bn,this._radius,0,p.BZ)}},result:w.Z};var Ft,Ot,Bt,qt,Vt,Ke=(0,f.Z)(),Je={point:w.Z,lineStart:function(){Je.point=qe},lineEnd:function(){Ft&&nt(Ot,Bt),Je.point=w.Z},polygonStart:function(){Ft=!0},polygonEnd:function(){Ft=null},result:function(){var Kt=+Ke;return Ke.reset(),Kt}};function qe(Kt,bn){Je.point=nt,Ot=qt=Kt,Bt=Vt=bn}function nt(Kt,bn){qt-=Kt,Vt-=bn,Ke.add((0,p._b)(qt*qt+Vt*Vt)),qt=Kt,Vt=bn}var ht=Je;function Re(){this._string=[]}function Ne(Kt){return"m0,"+Kt+"a"+Kt+","+Kt+" 0 1,1 0,"+-2*Kt+"a"+Kt+","+Kt+" 0 1,1 0,"+2*Kt+"z"}function Qe(Kt,bn){var Rn,Ln,Un=4.5;function Kn(Yn){return Yn&&(typeof Un=="function"&&Ln.pointRadius(+Un.apply(this,arguments)),(0,g.Z)(Yn,Rn(Ln))),Ln.result()}return Kn.area=function(Yn){return(0,g.Z)(Yn,Rn(Se)),Se.result()},Kn.measure=function(Yn){return(0,g.Z)(Yn,Rn(ht)),ht.result()},Kn.bounds=function(Yn){return(0,g.Z)(Yn,Rn(Ce.Z)),Ce.Z.result()},Kn.centroid=function(Yn){return(0,g.Z)(Yn,Rn(kt)),kt.result()},Kn.projection=function(Yn){return arguments.length?(Rn=Yn==null?(Kt=null,ie.Z):(Kt=Yn).stream,Kn):Kt},Kn.context=function(Yn){return arguments.length?(Ln=Yn==null?(bn=null,new Re):new xt(bn=Yn),typeof Un!="function"&&Ln.pointRadius(Un),Kn):bn},Kn.pointRadius=function(Yn){return arguments.length?(Un=typeof Yn=="function"?Yn:(Ln.pointRadius(+Yn),+Yn),Kn):Un},Kn.projection(Kt).context(bn)}Re.prototype={_radius:4.5,_circle:Ne(4.5),pointRadius:function(Kt){return(Kt=+Kt)!==this._radius&&(this._radius=Kt,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._string.push("Z"),this._point=NaN},point:function(Kt,bn){switch(this._point){case 0:this._string.push("M",Kt,",",bn),this._point=1;break;case 1:this._string.push("L",Kt,",",bn);break;default:this._circle==null&&(this._circle=Ne(this._radius)),this._string.push("M",Kt,",",bn,this._circle)}},result:function(){if(this._string.length){var Kt=this._string.join("");return this._string=[],Kt}return null}};var ut=t(15002);function dt(Kt){var bn=0,Rn=p.pi/3,Ln=(0,ut.r)(Kt),Un=Ln(bn,Rn);return Un.parallels=function(Kn){return arguments.length?Ln(bn=Kn[0]*p.uR,Rn=Kn[1]*p.uR):[bn*p.RW,Rn*p.RW]},Un}function _t(Kt,bn){var Rn=(0,p.O$)(Kt),Ln=(Rn+(0,p.O$)(bn))/2;if((0,p.Wn)(Ln)=.12&&En<.234&&On>=-.425&&On<-.214?tr:En>=.166&&En<.234&&On>=-.214&&On<-.115?mr:Yn).invert(Jt)},Pn.stream=function(Jt){return Kt&&bn===Jt?Kt:(fn=[Yn.stream(bn=Jt),tr.stream(Jt),mr.stream(Jt)],zn=fn.length,Kt={point:function(On,En){for(var mn=-1;++mn0?tr<-p.ou+p.Ho&&(tr=-p.ou+p.Ho):tr>p.ou-p.Ho&&(tr=p.ou-p.Ho);var mr=Un/(0,p.sQ)(Qt(tr),Ln);return[mr*(0,p.O$)(Ln*Yn),Un-mr*(0,p.mC)(Ln*Yn)]}return Kn.invert=function(Yn,tr){var mr=Un-tr,nn=(0,p.Xx)(Ln)*(0,p._b)(Yn*Yn+mr*mr),Pn=(0,p.fv)(Yn,(0,p.Wn)(mr))*(0,p.Xx)(mr);return mr*Ln<0&&(Pn-=p.pi*(0,p.Xx)(Yn)*(0,p.Xx)(mr)),[Pn/Ln,2*(0,p.z4)((0,p.sQ)(Un/nn,1/Ln))-p.ou]},Kn}function xn(){return dt(rn).scale(109.5).parallels([30,30])}$t.invert=function(Kt,bn){return[Kt,2*(0,p.z4)((0,p.Qq)(bn))-p.ou]};var un=t(97492);function An(Kt,bn){var Rn=(0,p.mC)(Kt),Ln=Kt===bn?(0,p.O$)(Kt):(Rn-(0,p.mC)(bn))/(bn-Kt),Un=Rn/Ln+Kt;if((0,p.Wn)(Ln)2?Ln[2]+90:90]):[(Ln=Rn())[0],Ln[1],Ln[2]-90]},Rn([0,0,90]).scale(159.155)}yr.invert=(0,Sr.O)(function(Kt){return 2*(0,p.z4)(Kt)}),vr.invert=function(Kt,bn){return[-bn,2*(0,p.z4)((0,p.Qq)(Kt))-p.ou]}},83074:function(k,m,t){t.d(m,{Z:function(){return y}});var d=t(39695);function y(i,M){var v=i[0]*d.uR,h=i[1]*d.uR,l=M[0]*d.uR,a=M[1]*d.uR,u=(0,d.mC)(h),s=(0,d.O$)(h),o=(0,d.mC)(a),c=(0,d.O$)(a),f=u*(0,d.mC)(v),p=u*(0,d.O$)(v),w=o*(0,d.mC)(l),g=o*(0,d.O$)(l),S=2*(0,d.ZR)((0,d._b)((0,d.Jy)(a-h)+u*o*(0,d.Jy)(l-v))),x=(0,d.O$)(S),T=S?function(E){var _=(0,d.O$)(E*=S)/x,A=(0,d.O$)(S-E)/x,L=A*f+_*w,b=A*p+_*g,R=A*s+_*c;return[(0,d.fv)(b,L)*d.RW,(0,d.fv)(R,(0,d._b)(L*L+b*b))*d.RW]}:function(){return[v*d.RW,h*d.RW]};return T.distance=S,T}},39695:function(k,m,t){t.d(m,{BZ:function(){return h},Ho:function(){return d},Jy:function(){return L},Kh:function(){return _},O$:function(){return S},OR:function(){return E},Qq:function(){return p},RW:function(){return l},Wn:function(){return u},Xx:function(){return x},ZR:function(){return A},_b:function(){return T},aW:function(){return y},cM:function(){return w},fv:function(){return o},mC:function(){return c},mD:function(){return f},ou:function(){return M},pi:function(){return i},pu:function(){return v},sQ:function(){return g},uR:function(){return a},z4:function(){return s}});var d=1e-6,y=1e-12,i=Math.PI,M=i/2,v=i/4,h=2*i,l=180/i,a=i/180,u=Math.abs,s=Math.atan,o=Math.atan2,c=Math.cos,f=Math.ceil,p=Math.exp,w=Math.log,g=Math.pow,S=Math.sin,x=Math.sign||function(b){return b>0?1:b<0?-1:0},T=Math.sqrt,E=Math.tan;function _(b){return b>1?0:b<-1?i:Math.acos(b)}function A(b){return b>1?M:b<-1?-M:Math.asin(b)}function L(b){return(b=S(b/2))*b}},73182:function(k,m,t){function d(){}t.d(m,{Z:function(){return d}})},3559:function(k,m,t){var d=t(73182),y=1/0,i=y,M=-y,v=M,h={point:function(l,a){lM&&(M=l),av&&(v=a)},lineStart:d.Z,lineEnd:d.Z,polygonStart:d.Z,polygonEnd:d.Z,result:function(){var l=[[y,i],[M,v]];return M=v=-(i=y=1/0),l}};m.Z=h},67108:function(k,m,t){t.d(m,{Z:function(){return y}});var d=t(39695);function y(i,M){return(0,d.Wn)(i[0]-M[0])=0?1:-1,W=N*B,j=W>i.pi,Y=A*z;if(M.add((0,i.fv)(Y*N*(0,i.O$)(W),L*F+Y*(0,i.mC)(W))),f+=j?B+N*i.BZ:B,j^E>=u^I>=u){var U=(0,y.T5)((0,y.Og)(T),(0,y.Og)(R));(0,y.iJ)(U);var G=(0,y.T5)(c,U);(0,y.iJ)(G);var q=(j^B>=0?-1:1)*(0,i.ZR)(G[2]);(s>q||s===q&&(U[0]||U[1]))&&(p+=j^B>=0?1:-1)}}return(f<-i.Ho||f4*_&&U--){var te=I+W,Z=O+j,X=z+Y,Q=(0,h._b)(te*te+Z*Z+X*X),re=(0,h.ZR)(X/=Q),ie=(0,h.Wn)((0,h.Wn)(X)-1)_||(0,h.Wn)((q*ye+H*de)/ne-.5)>.3||I*W+O*j+z*Y2?ye[2]%360*h.uR:0,ue()):[Y*h.RW,U*h.RW,G*h.RW]},ie.angle=function(ye){return arguments.length?(q=ye%360*h.uR,ue()):q*h.RW},ie.reflectX=function(ye){return arguments.length?(H=ye?-1:1,ue()):H<0},ie.reflectY=function(ye){return arguments.length?(ne=ye?-1:1,ue()):ne<0},ie.precision=function(ye){return arguments.length?(b=c(R,re=ye*ye),ce()):(0,h._b)(re)},ie.fitExtent=function(ye,de){return(0,u.qg)(ie,ye,de)},ie.fitSize=function(ye,de){return(0,u.mF)(ie,ye,de)},ie.fitWidth=function(ye,de){return(0,u.V6)(ie,ye,de)},ie.fitHeight=function(ye,de){return(0,u.rf)(ie,ye,de)},function(){return T=x.apply(this,arguments),ie.invert=T.invert&&oe,ue()}}},26867:function(k,m,t){t.d(m,{K:function(){return i},Z:function(){return M}});var d=t(15002),y=t(39695);function i(v,h){var l=h*h,a=l*l;return[v*(.8707-.131979*l+a*(a*(.003971*l-.001529*a)-.013791)),h*(1.007226+l*(.015085+a*(.028874*l-.044475-.005916*a)))]}function M(){return(0,d.Z)(i).scale(175.295)}i.invert=function(v,h){var l,a=h,u=25;do{var s=a*a,o=s*s;a-=l=(a*(1.007226+s*(.015085+o*(.028874*s-.044475-.005916*o)))-h)/(1.007226+s*(.045255+o*(.259866*s-.311325-.06507600000000001*o)))}while((0,y.Wn)(l)>y.Ho&&--u>0);return[v/(.8707+(s=a*a)*(s*(s*s*s*(.003971-.001529*s)-.013791)-.131979)),a]}},57962:function(k,m,t){t.d(m,{I:function(){return M},Z:function(){return v}});var d=t(39695),y=t(25382),i=t(15002);function M(h,l){return[(0,d.mC)(l)*(0,d.O$)(h),(0,d.O$)(l)]}function v(){return(0,i.Z)(M).scale(249.5).clipAngle(90+d.Ho)}M.invert=(0,y.O)(d.ZR)},49386:function(k,m,t){t.d(m,{I:function(){return M},Z:function(){return a}});var d=t(96059),y=t(39695);function i(u,s){return[(0,y.Wn)(u)>y.pi?u+Math.round(-u/y.BZ)*y.BZ:u,s]}function M(u,s,o){return(u%=y.BZ)?s||o?(0,d.Z)(h(u),l(s,o)):h(u):s||o?l(s,o):i}function v(u){return function(s,o){return[(s+=u)>y.pi?s-y.BZ:s<-y.pi?s+y.BZ:s,o]}}function h(u){var s=v(u);return s.invert=v(-u),s}function l(u,s){var o=(0,y.mC)(u),c=(0,y.O$)(u),f=(0,y.mC)(s),p=(0,y.O$)(s);function w(g,S){var x=(0,y.mC)(S),T=(0,y.mC)(g)*x,E=(0,y.O$)(g)*x,_=(0,y.O$)(S),A=_*o+T*c;return[(0,y.fv)(E*f-A*p,T*o-_*c),(0,y.ZR)(A*f+E*p)]}return w.invert=function(g,S){var x=(0,y.mC)(S),T=(0,y.mC)(g)*x,E=(0,y.O$)(g)*x,_=(0,y.O$)(S),A=_*f-E*p;return[(0,y.fv)(E*f+_*p,T*o+A*c),(0,y.ZR)(A*o-T*c)]},w}function a(u){function s(o){return(o=u(o[0]*y.uR,o[1]*y.uR))[0]*=y.RW,o[1]*=y.RW,o}return u=M(u[0]*y.uR,u[1]*y.uR,u.length>2?u[2]*y.uR:0),s.invert=function(o){return(o=u.invert(o[0]*y.uR,o[1]*y.uR))[0]*=y.RW,o[1]*=y.RW,o},s}i.invert=i},72736:function(k,m,t){function d(l,a){l&&i.hasOwnProperty(l.type)&&i[l.type](l,a)}t.d(m,{Z:function(){return h}});var y={Feature:function(l,a){d(l.geometry,a)},FeatureCollection:function(l,a){for(var u=l.features,s=-1,o=u.length;++s=0;)ae+=he[be].value;else ae=1;Ce.value=ae}function h(Ce,ae){var he,be,ke,Le,Be,ze=new s(Ce),je=+Ce.value&&(ze.value=Ce.value),ge=[ze];for(ae==null&&(ae=l);he=ge.pop();)if(je&&(he.value=+he.data.value),(ke=ae(he.data))&&(Be=ke.length))for(he.children=new Array(Be),Le=Be-1;Le>=0;--Le)ge.push(be=he.children[Le]=new s(ke[Le])),be.parent=he,be.depth=he.depth+1;return ze.eachBefore(u)}function l(Ce){return Ce.children}function a(Ce){Ce.data=Ce.data.data}function u(Ce){var ae=0;do Ce.height=ae;while((Ce=Ce.parent)&&Ce.height<++ae)}function s(Ce){this.data=Ce,this.depth=this.height=0,this.parent=null}t.r(m),t.d(m,{cluster:function(){return M},hierarchy:function(){return h},pack:function(){return N},packEnclose:function(){return c},packSiblings:function(){return R},partition:function(){return q},stratify:function(){return X},tree:function(){return ye},treemap:function(){return Pe},treemapBinary:function(){return _e},treemapDice:function(){return G},treemapResquarify:function(){return Se},treemapSlice:function(){return de},treemapSliceDice:function(){return Me},treemapSquarify:function(){return xe}}),s.prototype=h.prototype={constructor:s,count:function(){return this.eachAfter(v)},each:function(Ce){var ae,he,be,ke,Le=this,Be=[Le];do for(ae=Be.reverse(),Be=[];Le=ae.pop();)if(Ce(Le),he=Le.children)for(be=0,ke=he.length;be=0;--he)ke.push(ae[he]);return this},sum:function(Ce){return this.eachAfter(function(ae){for(var he=+Ce(ae.data)||0,be=ae.children,ke=be&&be.length;--ke>=0;)he+=be[ke].value;ae.value=he})},sort:function(Ce){return this.eachBefore(function(ae){ae.children&&ae.children.sort(Ce)})},path:function(Ce){for(var ae=this,he=function(Le,Be){if(Le===Be)return Le;var ze=Le.ancestors(),je=Be.ancestors(),ge=null;for(Le=ze.pop(),Be=je.pop();Le===Be;)ge=Le,Le=ze.pop(),Be=je.pop();return ge}(ae,Ce),be=[ae];ae!==he;)ae=ae.parent,be.push(ae);for(var ke=be.length;Ce!==he;)be.splice(ke,0,Ce),Ce=Ce.parent;return be},ancestors:function(){for(var Ce=this,ae=[Ce];Ce=Ce.parent;)ae.push(Ce);return ae},descendants:function(){var Ce=[];return this.each(function(ae){Ce.push(ae)}),Ce},leaves:function(){var Ce=[];return this.eachBefore(function(ae){ae.children||Ce.push(ae)}),Ce},links:function(){var Ce=this,ae=[];return Ce.each(function(he){he!==Ce&&ae.push({source:he.parent,target:he})}),ae},copy:function(){return h(this).eachBefore(a)}};var o=Array.prototype.slice;function c(Ce){for(var ae,he,be=0,ke=(Ce=function(Be){for(var ze,je,ge=Be.length;ge;)je=Math.random()*ge--|0,ze=Be[ge],Be[ge]=Be[je],Be[je]=ze;return Be}(o.call(Ce))).length,Le=[];be0&&he*he>be*be+ke*ke}function g(Ce,ae){for(var he=0;he(Be*=Be)?(be=(ge+Be-ke)/(2*ge),Le=Math.sqrt(Math.max(0,Be/ge-be*be)),he.x=Ce.x-be*ze-Le*je,he.y=Ce.y-be*je+Le*ze):(be=(ge+ke-Be)/(2*ge),Le=Math.sqrt(Math.max(0,ke/ge-be*be)),he.x=ae.x+be*ze-Le*je,he.y=ae.y+be*je+Le*ze)):(he.x=ae.x+he.r,he.y=ae.y)}function _(Ce,ae){var he=Ce.r+ae.r-1e-6,be=ae.x-Ce.x,ke=ae.y-Ce.y;return he>0&&he*he>be*be+ke*ke}function A(Ce){var ae=Ce._,he=Ce.next._,be=ae.r+he.r,ke=(ae.x*he.r+he.x*ae.r)/be,Le=(ae.y*he.r+he.y*ae.r)/be;return ke*ke+Le*Le}function L(Ce){this._=Ce,this.next=null,this.previous=null}function b(Ce){if(!(ke=Ce.length))return 0;var ae,he,be,ke,Le,Be,ze,je,ge,we,Ee;if((ae=Ce[0]).x=0,ae.y=0,!(ke>1))return ae.r;if(he=Ce[1],ae.x=-he.r,he.x=ae.r,he.y=0,!(ke>2))return ae.r+he.r;E(he,ae,be=Ce[2]),ae=new L(ae),he=new L(he),be=new L(be),ae.next=be.previous=he,he.next=ae.previous=be,be.next=he.previous=ae;e:for(ze=3;ze0)throw new Error("cycle");return Be}return he.id=function(be){return arguments.length?(Ce=O(be),he):Ce},he.parentId=function(be){return arguments.length?(ae=O(be),he):ae},he}function Q(Ce,ae){return Ce.parent===ae.parent?1:2}function re(Ce){var ae=Ce.children;return ae?ae[0]:Ce.t}function ie(Ce){var ae=Ce.children;return ae?ae[ae.length-1]:Ce.t}function oe(Ce,ae,he){var be=he/(ae.i-Ce.i);ae.c-=be,ae.s+=he,Ce.c+=be,ae.z+=he,ae.m+=he}function ue(Ce,ae,he){return Ce.a.parent===ae.parent?Ce.a:he}function ce(Ce,ae){this._=Ce,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=ae}function ye(){var Ce=Q,ae=1,he=1,be=null;function ke(je){var ge=function(ft){for(var bt,Et,kt,xt,Ft,Ot=new ce(ft,0),Bt=[Ot];bt=Bt.pop();)if(kt=bt._.children)for(bt.children=new Array(Ft=kt.length),xt=Ft-1;xt>=0;--xt)Bt.push(Et=bt.children[xt]=new ce(kt[xt],xt)),Et.parent=bt;return(Ot.parent=new ce(null,0)).children=[Ot],Ot}(je);if(ge.eachAfter(Le),ge.parent.m=-ge.z,ge.eachBefore(Be),be)je.eachBefore(ze);else{var we=je,Ee=je,Ve=je;je.eachBefore(function(ft){ft.xEe.x&&(Ee=ft),ft.depth>Ve.depth&&(Ve=ft)});var Ye=we===Ee?1:Ce(we,Ee)/2,$e=Ye-we.x,st=ae/(Ee.x+Ye+$e),ot=he/(Ve.depth||1);je.eachBefore(function(ft){ft.x=(ft.x+$e)*st,ft.y=ft.depth*ot})}return je}function Le(je){var ge=je.children,we=je.parent.children,Ee=je.i?we[je.i-1]:null;if(ge){(function(Ye){for(var $e,st=0,ot=0,ft=Ye.children,bt=ft.length;--bt>=0;)($e=ft[bt]).z+=st,$e.m+=st,st+=$e.s+(ot+=$e.c)})(je);var Ve=(ge[0].z+ge[ge.length-1].z)/2;Ee?(je.z=Ee.z+Ce(je._,Ee._),je.m=je.z-Ve):je.z=Ve}else Ee&&(je.z=Ee.z+Ce(je._,Ee._));je.parent.A=function(Ye,$e,st){if($e){for(var ot,ft=Ye,bt=Ye,Et=$e,kt=ft.parent.children[0],xt=ft.m,Ft=bt.m,Ot=Et.m,Bt=kt.m;Et=ie(Et),ft=re(ft),Et&&ft;)kt=re(kt),(bt=ie(bt)).a=Ye,(ot=Et.z+Ot-ft.z-xt+Ce(Et._,ft._))>0&&(oe(ue(Et,Ye,st),Ye,ot),xt+=ot,Ft+=ot),Ot+=Et.m,xt+=ft.m,Bt+=kt.m,Ft+=bt.m;Et&&!ie(bt)&&(bt.t=Et,bt.m+=Ot-Ft),ft&&!re(kt)&&(kt.t=ft,kt.m+=xt-Bt,st=Ye)}return st}(je,Ee,je.parent.A||we[0])}function Be(je){je._.x=je.z+je.parent.m,je.m+=je.parent.m}function ze(je){je.x*=ae,je.y=je.depth*he}return ke.separation=function(je){return arguments.length?(Ce=je,ke):Ce},ke.size=function(je){return arguments.length?(be=!1,ae=+je[0],he=+je[1],ke):be?null:[ae,he]},ke.nodeSize=function(je){return arguments.length?(be=!0,ae=+je[0],he=+je[1],ke):be?[ae,he]:null},ke}function de(Ce,ae,he,be,ke){for(var Le,Be=Ce.children,ze=-1,je=Be.length,ge=Ce.value&&(ke-he)/Ce.value;++zeVe&&(Ve=ze),ot=we*we*st,(Ye=Math.max(Ve/ot,ot/Ee))>$e){we-=ze;break}$e=Ye}ft.push(Be={value:we,dice:je1?be:1)},he}(me);function Pe(){var Ce=xe,ae=!1,he=1,be=1,ke=[0],Le=z,Be=z,ze=z,je=z,ge=z;function we(Ve){return Ve.x0=Ve.y0=0,Ve.x1=he,Ve.y1=be,Ve.eachBefore(Ee),ke=[0],ae&&Ve.eachBefore(U),Ve}function Ee(Ve){var Ye=ke[Ve.depth],$e=Ve.x0+Ye,st=Ve.y0+Ye,ot=Ve.x1-Ye,ft=Ve.y1-Ye;ot<$e&&($e=ot=($e+ot)/2),ft=Ve-1){var bt=ze[Ee];return bt.x0=$e,bt.y0=st,bt.x1=ot,void(bt.y1=ft)}for(var Et=ge[Ee],kt=Ye/2+Et,xt=Ee+1,Ft=Ve-1;xt>>1;ge[Ot]ft-st){var Vt=($e*qt+ot*Bt)/Ye;we(Ee,xt,Bt,$e,st,Vt,ft),we(xt,Ve,qt,Vt,st,ot,ft)}else{var Ke=(st*qt+ft*Bt)/Ye;we(Ee,xt,Bt,$e,st,ot,Ke),we(xt,Ve,qt,$e,Ke,ot,ft)}})(0,je,Ce.value,ae,he,be,ke)}function Me(Ce,ae,he,be,ke){(1&Ce.depth?de:G)(Ce,ae,he,be,ke)}var Se=function Ce(ae){function he(be,ke,Le,Be,ze){if((je=be._squarify)&&je.ratio===ae)for(var je,ge,we,Ee,Ve,Ye=-1,$e=je.length,st=be.value;++Ye<$e;){for(we=(ge=je[Ye]).children,Ee=ge.value=0,Ve=we.length;Ee1?be:1)},he}(me)},45879:function(k,m,t){t.d(m,{h5:function(){return w}});var d=Math.PI,y=2*d,i=1e-6,M=y-i;function v(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function h(){return new v}v.prototype=h.prototype={constructor:v,moveTo:function(g,S){this._+="M"+(this._x0=this._x1=+g)+","+(this._y0=this._y1=+S)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(g,S){this._+="L"+(this._x1=+g)+","+(this._y1=+S)},quadraticCurveTo:function(g,S,x,T){this._+="Q"+ +g+","+ +S+","+(this._x1=+x)+","+(this._y1=+T)},bezierCurveTo:function(g,S,x,T,E,_){this._+="C"+ +g+","+ +S+","+ +x+","+ +T+","+(this._x1=+E)+","+(this._y1=+_)},arcTo:function(g,S,x,T,E){g=+g,S=+S,x=+x,T=+T,E=+E;var _=this._x1,A=this._y1,L=x-g,b=T-S,R=_-g,I=A-S,O=R*R+I*I;if(E<0)throw new Error("negative radius: "+E);if(this._x1===null)this._+="M"+(this._x1=g)+","+(this._y1=S);else if(O>i)if(Math.abs(I*L-b*R)>i&&E){var z=x-_,F=T-A,B=L*L+b*b,N=z*z+F*F,W=Math.sqrt(B),j=Math.sqrt(O),Y=E*Math.tan((d-Math.acos((B+O-N)/(2*W*j)))/2),U=Y/j,G=Y/W;Math.abs(U-1)>i&&(this._+="L"+(g+U*R)+","+(S+U*I)),this._+="A"+E+","+E+",0,0,"+ +(I*z>R*F)+","+(this._x1=g+G*L)+","+(this._y1=S+G*b)}else this._+="L"+(this._x1=g)+","+(this._y1=S)},arc:function(g,S,x,T,E,_){g=+g,S=+S,_=!!_;var A=(x=+x)*Math.cos(T),L=x*Math.sin(T),b=g+A,R=S+L,I=1^_,O=_?T-E:E-T;if(x<0)throw new Error("negative radius: "+x);this._x1===null?this._+="M"+b+","+R:(Math.abs(this._x1-b)>i||Math.abs(this._y1-R)>i)&&(this._+="L"+b+","+R),x&&(O<0&&(O=O%y+y),O>M?this._+="A"+x+","+x+",0,1,"+I+","+(g-A)+","+(S-L)+"A"+x+","+x+",0,1,"+I+","+(this._x1=b)+","+(this._y1=R):O>i&&(this._+="A"+x+","+x+",0,"+ +(O>=d)+","+I+","+(this._x1=g+x*Math.cos(E))+","+(this._y1=S+x*Math.sin(E))))},rect:function(g,S,x,T){this._+="M"+(this._x0=this._x1=+g)+","+(this._y0=this._y1=+S)+"h"+ +x+"v"+ +T+"h"+-x+"Z"},toString:function(){return this._}};var l=h,a=Array.prototype.slice;function u(g){return function(){return g}}function s(g){return g[0]}function o(g){return g[1]}function c(g){return g.source}function f(g){return g.target}function p(g,S,x,T,E){g.moveTo(S,x),g.bezierCurveTo(S=(S+T)/2,x,S,E,T,E)}function w(){return function(g){var S=c,x=f,T=s,E=o,_=null;function A(){var L,b=a.call(arguments),R=S.apply(this,b),I=x.apply(this,b);if(_||(_=L=l()),g(_,+T.apply(this,(b[0]=R,b)),+E.apply(this,b),+T.apply(this,(b[0]=I,b)),+E.apply(this,b)),L)return _=null,L+""||null}return A.source=function(L){return arguments.length?(S=L,A):S},A.target=function(L){return arguments.length?(x=L,A):x},A.x=function(L){return arguments.length?(T=typeof L=="function"?L:u(+L),A):T},A.y=function(L){return arguments.length?(E=typeof L=="function"?L:u(+L),A):E},A.context=function(L){return arguments.length?(_=L??null,A):_},A}(p)}},84096:function(k,m,t){t.d(m,{i$:function(){return c},Dq:function(){return s},g0:function(){return f}});var d=t(58176),y=t(48480),i=t(59879),M=t(82301),v=t(34823),h=t(79791);function l(xt){if(0<=xt.y&&xt.y<100){var Ft=new Date(-1,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L);return Ft.setFullYear(xt.y),Ft}return new Date(xt.y,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L)}function a(xt){if(0<=xt.y&&xt.y<100){var Ft=new Date(Date.UTC(-1,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L));return Ft.setUTCFullYear(xt.y),Ft}return new Date(Date.UTC(xt.y,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L))}function u(xt,Ft,Ot){return{y:xt,m:Ft,d:Ot,H:0,M:0,S:0,L:0}}function s(xt){var Ft=xt.dateTime,Ot=xt.date,Bt=xt.time,qt=xt.periods,Vt=xt.days,Ke=xt.shortDays,Je=xt.months,qe=xt.shortMonths,nt=E(qt),ht=_(qt),Re=E(Vt),Ne=_(Vt),Qe=E(Ke),ut=_(Ke),dt=E(Je),_t=_(Je),It=E(qe),Lt=_(qe),yt={a:function(Wt){return Ke[Wt.getDay()]},A:function(Wt){return Vt[Wt.getDay()]},b:function(Wt){return qe[Wt.getMonth()]},B:function(Wt){return Je[Wt.getMonth()]},c:null,d:X,e:X,f:ue,H:Q,I:re,j:ie,L:oe,m:ce,M:ye,p:function(Wt){return qt[+(Wt.getHours()>=12)]},q:function(Wt){return 1+~~(Wt.getMonth()/3)},Q:Et,s:kt,S:de,u:me,U:pe,V:xe,w:Pe,W:_e,x:null,X:null,y:Me,Y:Se,Z:Ce,"%":bt},Pt={a:function(Wt){return Ke[Wt.getUTCDay()]},A:function(Wt){return Vt[Wt.getUTCDay()]},b:function(Wt){return qe[Wt.getUTCMonth()]},B:function(Wt){return Je[Wt.getUTCMonth()]},c:null,d:ae,e:ae,f:Be,H:he,I:be,j:ke,L:Le,m:ze,M:je,p:function(Wt){return qt[+(Wt.getUTCHours()>=12)]},q:function(Wt){return 1+~~(Wt.getUTCMonth()/3)},Q:Et,s:kt,S:ge,u:we,U:Ee,V:Ve,w:Ye,W:$e,x:null,X:null,y:st,Y:ot,Z:ft,"%":bt},wt={a:function(Wt,Xt,Qt){var rn=Qe.exec(Xt.slice(Qt));return rn?(Wt.w=ut[rn[0].toLowerCase()],Qt+rn[0].length):-1},A:function(Wt,Xt,Qt){var rn=Re.exec(Xt.slice(Qt));return rn?(Wt.w=Ne[rn[0].toLowerCase()],Qt+rn[0].length):-1},b:function(Wt,Xt,Qt){var rn=It.exec(Xt.slice(Qt));return rn?(Wt.m=Lt[rn[0].toLowerCase()],Qt+rn[0].length):-1},B:function(Wt,Xt,Qt){var rn=dt.exec(Xt.slice(Qt));return rn?(Wt.m=_t[rn[0].toLowerCase()],Qt+rn[0].length):-1},c:function(Wt,Xt,Qt){return $t(Wt,Ft,Xt,Qt)},d:W,e:W,f:H,H:Y,I:Y,j,L:q,m:N,M:U,p:function(Wt,Xt,Qt){var rn=nt.exec(Xt.slice(Qt));return rn?(Wt.p=ht[rn[0].toLowerCase()],Qt+rn[0].length):-1},q:B,Q:te,s:Z,S:G,u:L,U:b,V:R,w:A,W:I,x:function(Wt,Xt,Qt){return $t(Wt,Ot,Xt,Qt)},X:function(Wt,Xt,Qt){return $t(Wt,Bt,Xt,Qt)},y:z,Y:O,Z:F,"%":ne};function Rt(Wt,Xt){return function(Qt){var rn,xn,un,An=[],$n=-1,kn=0,sn=Wt.length;for(Qt instanceof Date||(Qt=new Date(+Qt));++$n53)return null;"w"in un||(un.w=1),"Z"in un?(xn=(rn=a(u(un.y,0,1))).getUTCDay(),rn=xn>4||xn===0?d.l6.ceil(rn):(0,d.l6)(rn),rn=y.Z.offset(rn,7*(un.V-1)),un.y=rn.getUTCFullYear(),un.m=rn.getUTCMonth(),un.d=rn.getUTCDate()+(un.w+6)%7):(xn=(rn=l(u(un.y,0,1))).getDay(),rn=xn>4||xn===0?i.wA.ceil(rn):(0,i.wA)(rn),rn=M.Z.offset(rn,7*(un.V-1)),un.y=rn.getFullYear(),un.m=rn.getMonth(),un.d=rn.getDate()+(un.w+6)%7)}else("W"in un||"U"in un)&&("w"in un||(un.w="u"in un?un.u%7:"W"in un?1:0),xn="Z"in un?a(u(un.y,0,1)).getUTCDay():l(u(un.y,0,1)).getDay(),un.m=0,un.d="W"in un?(un.w+6)%7+7*un.W-(xn+5)%7:un.w+7*un.U-(xn+6)%7);return"Z"in un?(un.H+=un.Z/100|0,un.M+=un.Z%100,a(un)):l(un)}}function $t(Wt,Xt,Qt,rn){for(var xn,un,An=0,$n=Xt.length,kn=Qt.length;An<$n;){if(rn>=kn)return-1;if((xn=Xt.charCodeAt(An++))===37){if(xn=Xt.charAt(An++),!(un=wt[xn in p?Xt.charAt(An++):xn])||(rn=un(Wt,Qt,rn))<0)return-1}else if(xn!=Qt.charCodeAt(rn++))return-1}return rn}return yt.x=Rt(Ot,yt),yt.X=Rt(Bt,yt),yt.c=Rt(Ft,yt),Pt.x=Rt(Ot,Pt),Pt.X=Rt(Bt,Pt),Pt.c=Rt(Ft,Pt),{format:function(Wt){var Xt=Rt(Wt+="",yt);return Xt.toString=function(){return Wt},Xt},parse:function(Wt){var Xt=Nt(Wt+="",!1);return Xt.toString=function(){return Wt},Xt},utcFormat:function(Wt){var Xt=Rt(Wt+="",Pt);return Xt.toString=function(){return Wt},Xt},utcParse:function(Wt){var Xt=Nt(Wt+="",!0);return Xt.toString=function(){return Wt},Xt}}}var o,c,f,p={"-":"",_:" ",0:"0"},w=/^\s*\d+/,g=/^%/,S=/[\\^$*+?|[\]().{}]/g;function x(xt,Ft,Ot){var Bt=xt<0?"-":"",qt=(Bt?-xt:xt)+"",Vt=qt.length;return Bt+(Vt68?1900:2e3),Ot+Bt[0].length):-1}function F(xt,Ft,Ot){var Bt=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(Ft.slice(Ot,Ot+6));return Bt?(xt.Z=Bt[1]?0:-(Bt[2]+(Bt[3]||"00")),Ot+Bt[0].length):-1}function B(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+1));return Bt?(xt.q=3*Bt[0]-3,Ot+Bt[0].length):-1}function N(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+2));return Bt?(xt.m=Bt[0]-1,Ot+Bt[0].length):-1}function W(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+2));return Bt?(xt.d=+Bt[0],Ot+Bt[0].length):-1}function j(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+3));return Bt?(xt.m=0,xt.d=+Bt[0],Ot+Bt[0].length):-1}function Y(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+2));return Bt?(xt.H=+Bt[0],Ot+Bt[0].length):-1}function U(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+2));return Bt?(xt.M=+Bt[0],Ot+Bt[0].length):-1}function G(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+2));return Bt?(xt.S=+Bt[0],Ot+Bt[0].length):-1}function q(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+3));return Bt?(xt.L=+Bt[0],Ot+Bt[0].length):-1}function H(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+6));return Bt?(xt.L=Math.floor(Bt[0]/1e3),Ot+Bt[0].length):-1}function ne(xt,Ft,Ot){var Bt=g.exec(Ft.slice(Ot,Ot+1));return Bt?Ot+Bt[0].length:-1}function te(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot));return Bt?(xt.Q=+Bt[0],Ot+Bt[0].length):-1}function Z(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot));return Bt?(xt.s=+Bt[0],Ot+Bt[0].length):-1}function X(xt,Ft){return x(xt.getDate(),Ft,2)}function Q(xt,Ft){return x(xt.getHours(),Ft,2)}function re(xt,Ft){return x(xt.getHours()%12||12,Ft,2)}function ie(xt,Ft){return x(1+M.Z.count((0,v.Z)(xt),xt),Ft,3)}function oe(xt,Ft){return x(xt.getMilliseconds(),Ft,3)}function ue(xt,Ft){return oe(xt,Ft)+"000"}function ce(xt,Ft){return x(xt.getMonth()+1,Ft,2)}function ye(xt,Ft){return x(xt.getMinutes(),Ft,2)}function de(xt,Ft){return x(xt.getSeconds(),Ft,2)}function me(xt){var Ft=xt.getDay();return Ft===0?7:Ft}function pe(xt,Ft){return x(i.OM.count((0,v.Z)(xt)-1,xt),Ft,2)}function xe(xt,Ft){var Ot=xt.getDay();return xt=Ot>=4||Ot===0?(0,i.bL)(xt):i.bL.ceil(xt),x(i.bL.count((0,v.Z)(xt),xt)+((0,v.Z)(xt).getDay()===4),Ft,2)}function Pe(xt){return xt.getDay()}function _e(xt,Ft){return x(i.wA.count((0,v.Z)(xt)-1,xt),Ft,2)}function Me(xt,Ft){return x(xt.getFullYear()%100,Ft,2)}function Se(xt,Ft){return x(xt.getFullYear()%1e4,Ft,4)}function Ce(xt){var Ft=xt.getTimezoneOffset();return(Ft>0?"-":(Ft*=-1,"+"))+x(Ft/60|0,"0",2)+x(Ft%60,"0",2)}function ae(xt,Ft){return x(xt.getUTCDate(),Ft,2)}function he(xt,Ft){return x(xt.getUTCHours(),Ft,2)}function be(xt,Ft){return x(xt.getUTCHours()%12||12,Ft,2)}function ke(xt,Ft){return x(1+y.Z.count((0,h.Z)(xt),xt),Ft,3)}function Le(xt,Ft){return x(xt.getUTCMilliseconds(),Ft,3)}function Be(xt,Ft){return Le(xt,Ft)+"000"}function ze(xt,Ft){return x(xt.getUTCMonth()+1,Ft,2)}function je(xt,Ft){return x(xt.getUTCMinutes(),Ft,2)}function ge(xt,Ft){return x(xt.getUTCSeconds(),Ft,2)}function we(xt){var Ft=xt.getUTCDay();return Ft===0?7:Ft}function Ee(xt,Ft){return x(d.Ox.count((0,h.Z)(xt)-1,xt),Ft,2)}function Ve(xt,Ft){var Ot=xt.getUTCDay();return xt=Ot>=4||Ot===0?(0,d.hB)(xt):d.hB.ceil(xt),x(d.hB.count((0,h.Z)(xt),xt)+((0,h.Z)(xt).getUTCDay()===4),Ft,2)}function Ye(xt){return xt.getUTCDay()}function $e(xt,Ft){return x(d.l6.count((0,h.Z)(xt)-1,xt),Ft,2)}function st(xt,Ft){return x(xt.getUTCFullYear()%100,Ft,2)}function ot(xt,Ft){return x(xt.getUTCFullYear()%1e4,Ft,4)}function ft(){return"+0000"}function bt(){return"%"}function Et(xt){return+xt}function kt(xt){return Math.floor(+xt/1e3)}o=s({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),c=o.format,o.parse,f=o.utcFormat,o.utcParse},82301:function(k,m,t){t.d(m,{a:function(){return M}});var d=t(30052),y=t(54263),i=(0,d.Z)(function(v){v.setHours(0,0,0,0)},function(v,h){v.setDate(v.getDate()+h)},function(v,h){return(h-v-(h.getTimezoneOffset()-v.getTimezoneOffset())*y.yB)/y.UD},function(v){return v.getDate()-1});m.Z=i;var M=i.range},54263:function(k,m,t){t.d(m,{UD:function(){return M},Y2:function(){return i},Ym:function(){return d},iM:function(){return v},yB:function(){return y}});var d=1e3,y=6e4,i=36e5,M=864e5,v=6048e5},81041:function(k,m,t){t.r(m),t.d(m,{timeDay:function(){return w.Z},timeDays:function(){return w.a},timeFriday:function(){return g.mC},timeFridays:function(){return g.b$},timeHour:function(){return f},timeHours:function(){return p},timeInterval:function(){return d.Z},timeMillisecond:function(){return i},timeMilliseconds:function(){return M},timeMinute:function(){return s},timeMinutes:function(){return o},timeMonday:function(){return g.wA},timeMondays:function(){return g.bJ},timeMonth:function(){return x},timeMonths:function(){return T},timeSaturday:function(){return g.EY},timeSaturdays:function(){return g.Ff},timeSecond:function(){return l},timeSeconds:function(){return a},timeSunday:function(){return g.OM},timeSundays:function(){return g.vm},timeThursday:function(){return g.bL},timeThursdays:function(){return g.$t},timeTuesday:function(){return g.sy},timeTuesdays:function(){return g.aU},timeWednesday:function(){return g.zg},timeWednesdays:function(){return g.Ld},timeWeek:function(){return g.OM},timeWeeks:function(){return g.vm},timeYear:function(){return E.Z},timeYears:function(){return E.g},utcDay:function(){return O.Z},utcDays:function(){return O.y},utcFriday:function(){return z.QQ},utcFridays:function(){return z.fz},utcHour:function(){return R},utcHours:function(){return I},utcMillisecond:function(){return i},utcMilliseconds:function(){return M},utcMinute:function(){return A},utcMinutes:function(){return L},utcMonday:function(){return z.l6},utcMondays:function(){return z.$3},utcMonth:function(){return B},utcMonths:function(){return N},utcSaturday:function(){return z.g4},utcSaturdays:function(){return z.Q_},utcSecond:function(){return l},utcSeconds:function(){return a},utcSunday:function(){return z.Ox},utcSundays:function(){return z.SU},utcThursday:function(){return z.hB},utcThursdays:function(){return z.xj},utcTuesday:function(){return z.J1},utcTuesdays:function(){return z.DK},utcWednesday:function(){return z.b3},utcWednesdays:function(){return z.uy},utcWeek:function(){return z.Ox},utcWeeks:function(){return z.SU},utcYear:function(){return W.Z},utcYears:function(){return W.D}});var d=t(30052),y=(0,d.Z)(function(){},function(j,Y){j.setTime(+j+Y)},function(j,Y){return Y-j});y.every=function(j){return j=Math.floor(j),isFinite(j)&&j>0?j>1?(0,d.Z)(function(Y){Y.setTime(Math.floor(Y/j)*j)},function(Y,U){Y.setTime(+Y+U*j)},function(Y,U){return(U-Y)/j}):y:null};var i=y,M=y.range,v=t(54263),h=(0,d.Z)(function(j){j.setTime(j-j.getMilliseconds())},function(j,Y){j.setTime(+j+Y*v.Ym)},function(j,Y){return(Y-j)/v.Ym},function(j){return j.getUTCSeconds()}),l=h,a=h.range,u=(0,d.Z)(function(j){j.setTime(j-j.getMilliseconds()-j.getSeconds()*v.Ym)},function(j,Y){j.setTime(+j+Y*v.yB)},function(j,Y){return(Y-j)/v.yB},function(j){return j.getMinutes()}),s=u,o=u.range,c=(0,d.Z)(function(j){j.setTime(j-j.getMilliseconds()-j.getSeconds()*v.Ym-j.getMinutes()*v.yB)},function(j,Y){j.setTime(+j+Y*v.Y2)},function(j,Y){return(Y-j)/v.Y2},function(j){return j.getHours()}),f=c,p=c.range,w=t(82301),g=t(59879),S=(0,d.Z)(function(j){j.setDate(1),j.setHours(0,0,0,0)},function(j,Y){j.setMonth(j.getMonth()+Y)},function(j,Y){return Y.getMonth()-j.getMonth()+12*(Y.getFullYear()-j.getFullYear())},function(j){return j.getMonth()}),x=S,T=S.range,E=t(34823),_=(0,d.Z)(function(j){j.setUTCSeconds(0,0)},function(j,Y){j.setTime(+j+Y*v.yB)},function(j,Y){return(Y-j)/v.yB},function(j){return j.getUTCMinutes()}),A=_,L=_.range,b=(0,d.Z)(function(j){j.setUTCMinutes(0,0,0)},function(j,Y){j.setTime(+j+Y*v.Y2)},function(j,Y){return(Y-j)/v.Y2},function(j){return j.getUTCHours()}),R=b,I=b.range,O=t(48480),z=t(58176),F=(0,d.Z)(function(j){j.setUTCDate(1),j.setUTCHours(0,0,0,0)},function(j,Y){j.setUTCMonth(j.getUTCMonth()+Y)},function(j,Y){return Y.getUTCMonth()-j.getUTCMonth()+12*(Y.getUTCFullYear()-j.getUTCFullYear())},function(j){return j.getUTCMonth()}),B=F,N=F.range,W=t(79791)},30052:function(k,m,t){t.d(m,{Z:function(){return i}});var d=new Date,y=new Date;function i(M,v,h,l){function a(u){return M(u=arguments.length===0?new Date:new Date(+u)),u}return a.floor=function(u){return M(u=new Date(+u)),u},a.ceil=function(u){return M(u=new Date(u-1)),v(u,1),M(u),u},a.round=function(u){var s=a(u),o=a.ceil(u);return u-s0))return f;do f.push(c=new Date(+u)),v(u,o),M(u);while(c=s)for(;M(s),!u(s);)s.setTime(s-1)},function(s,o){if(s>=s)if(o<0)for(;++o<=0;)for(;v(s,-1),!u(s););else for(;--o>=0;)for(;v(s,1),!u(s););})},h&&(a.count=function(u,s){return d.setTime(+u),y.setTime(+s),M(d),M(y),Math.floor(h(d,y))},a.every=function(u){return u=Math.floor(u),isFinite(u)&&u>0?u>1?a.filter(l?function(s){return l(s)%u==0}:function(s){return a.count(0,s)%u==0}):a:null}),a}},48480:function(k,m,t){t.d(m,{y:function(){return M}});var d=t(30052),y=t(54263),i=(0,d.Z)(function(v){v.setUTCHours(0,0,0,0)},function(v,h){v.setUTCDate(v.getUTCDate()+h)},function(v,h){return(h-v)/y.UD},function(v){return v.getUTCDate()-1});m.Z=i;var M=i.range},58176:function(k,m,t){t.d(m,{$3:function(){return c},DK:function(){return f},J1:function(){return h},Ox:function(){return M},QQ:function(){return u},Q_:function(){return S},SU:function(){return o},b3:function(){return l},fz:function(){return g},g4:function(){return s},hB:function(){return a},l6:function(){return v},uy:function(){return p},xj:function(){return w}});var d=t(30052),y=t(54263);function i(x){return(0,d.Z)(function(T){T.setUTCDate(T.getUTCDate()-(T.getUTCDay()+7-x)%7),T.setUTCHours(0,0,0,0)},function(T,E){T.setUTCDate(T.getUTCDate()+7*E)},function(T,E){return(E-T)/y.iM})}var M=i(0),v=i(1),h=i(2),l=i(3),a=i(4),u=i(5),s=i(6),o=M.range,c=v.range,f=h.range,p=l.range,w=a.range,g=u.range,S=s.range},79791:function(k,m,t){t.d(m,{D:function(){return i}});var d=t(30052),y=(0,d.Z)(function(M){M.setUTCMonth(0,1),M.setUTCHours(0,0,0,0)},function(M,v){M.setUTCFullYear(M.getUTCFullYear()+v)},function(M,v){return v.getUTCFullYear()-M.getUTCFullYear()},function(M){return M.getUTCFullYear()});y.every=function(M){return isFinite(M=Math.floor(M))&&M>0?(0,d.Z)(function(v){v.setUTCFullYear(Math.floor(v.getUTCFullYear()/M)*M),v.setUTCMonth(0,1),v.setUTCHours(0,0,0,0)},function(v,h){v.setUTCFullYear(v.getUTCFullYear()+h*M)}):null},m.Z=y;var i=y.range},59879:function(k,m,t){t.d(m,{$t:function(){return w},EY:function(){return s},Ff:function(){return S},Ld:function(){return p},OM:function(){return M},aU:function(){return f},b$:function(){return g},bJ:function(){return c},bL:function(){return a},mC:function(){return u},sy:function(){return h},vm:function(){return o},wA:function(){return v},zg:function(){return l}});var d=t(30052),y=t(54263);function i(x){return(0,d.Z)(function(T){T.setDate(T.getDate()-(T.getDay()+7-x)%7),T.setHours(0,0,0,0)},function(T,E){T.setDate(T.getDate()+7*E)},function(T,E){return(E-T-(E.getTimezoneOffset()-T.getTimezoneOffset())*y.yB)/y.iM})}var M=i(0),v=i(1),h=i(2),l=i(3),a=i(4),u=i(5),s=i(6),o=M.range,c=v.range,f=h.range,p=l.range,w=a.range,g=u.range,S=s.range},34823:function(k,m,t){t.d(m,{g:function(){return i}});var d=t(30052),y=(0,d.Z)(function(M){M.setMonth(0,1),M.setHours(0,0,0,0)},function(M,v){M.setFullYear(M.getFullYear()+v)},function(M,v){return v.getFullYear()-M.getFullYear()},function(M){return M.getFullYear()});y.every=function(M){return isFinite(M=Math.floor(M))&&M>0?(0,d.Z)(function(v){v.setFullYear(Math.floor(v.getFullYear()/M)*M),v.setMonth(0,1),v.setHours(0,0,0,0)},function(v,h){v.setFullYear(v.getFullYear()+h*M)}):null},m.Z=y;var i=y.range},17045:function(k,m,t){var d=t(8709),y=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",i=Object.prototype.toString,M=Array.prototype.concat,v=Object.defineProperty,h=t(55622)(),l=v&&h,a=function(s,o,c,f){if(o in s){if(f===!0){if(s[o]===c)return}else if(typeof(p=f)!="function"||i.call(p)!=="[object Function]"||!f())return}var p;l?v(s,o,{configurable:!0,enumerable:!1,value:c,writable:!0}):s[o]=c},u=function(s,o){var c=arguments.length>2?arguments[2]:{},f=d(o);y&&(f=M.call(f,Object.getOwnPropertySymbols(o)));for(var p=0;pl*a){var f=(c-o)/l;h[s]=1e3*f}}return h}function y(i){for(var M=[],v=i[0];v<=i[1];v++)for(var h=String.fromCharCode(v),l=i[0];l0)return function(y,i){var M,v;for(M=new Array(y),v=0;v80*O){z=B=R[0],F=N=R[1];for(var ne=O;neB&&(B=W),j>N&&(N=j);Y=(Y=Math.max(B-z,N-F))!==0?1/Y:0}return y(q,H,O,z,F,Y),H}function t(R,I,O,z,F){var B,N;if(F===b(R,I,O,z)>0)for(B=I;B=I;B-=z)N=_(B,R[B],R[B+1],N);return N&&w(N,N.next)&&(A(N),N=N.next),N}function d(R,I){if(!R)return R;I||(I=R);var O,z=R;do if(O=!1,z.steiner||!w(z,z.next)&&p(z.prev,z,z.next)!==0)z=z.next;else{if(A(z),(z=I=z.prev)===z.next)break;O=!0}while(O||z!==I);return I}function y(R,I,O,z,F,B,N){if(R){!N&&B&&function(U,G,q,H){var ne=U;do ne.z===null&&(ne.z=s(ne.x,ne.y,G,q,H)),ne.prevZ=ne.prev,ne.nextZ=ne.next,ne=ne.next;while(ne!==U);ne.prevZ.nextZ=null,ne.prevZ=null,function(te){var Z,X,Q,re,ie,oe,ue,ce,ye=1;do{for(X=te,te=null,ie=null,oe=0;X;){for(oe++,Q=X,ue=0,Z=0;Z0||ce>0&&Q;)ue!==0&&(ce===0||!Q||X.z<=Q.z)?(re=X,X=X.nextZ,ue--):(re=Q,Q=Q.nextZ,ce--),ie?ie.nextZ=re:te=re,re.prevZ=ie,ie=re;X=Q}ie.nextZ=null,ye*=2}while(oe>1)}(ne)}(R,z,F,B);for(var W,j,Y=R;R.prev!==R.next;)if(W=R.prev,j=R.next,B?M(R,z,F,B):i(R))I.push(W.i/O),I.push(R.i/O),I.push(j.i/O),A(R),R=j.next,Y=j.next;else if((R=j)===Y){N?N===1?y(R=v(d(R),I,O),I,O,z,F,B,2):N===2&&h(R,I,O,z,F,B):y(d(R),I,O,z,F,B,1);break}}}function i(R){var I=R.prev,O=R,z=R.next;if(p(I,O,z)>=0)return!1;for(var F=R.next.next;F!==R.prev;){if(c(I.x,I.y,O.x,O.y,z.x,z.y,F.x,F.y)&&p(F.prev,F,F.next)>=0)return!1;F=F.next}return!0}function M(R,I,O,z){var F=R.prev,B=R,N=R.next;if(p(F,B,N)>=0)return!1;for(var W=F.xB.x?F.x>N.x?F.x:N.x:B.x>N.x?B.x:N.x,U=F.y>B.y?F.y>N.y?F.y:N.y:B.y>N.y?B.y:N.y,G=s(W,j,I,O,z),q=s(Y,U,I,O,z),H=R.prevZ,ne=R.nextZ;H&&H.z>=G&&ne&&ne.z<=q;){if(H!==R.prev&&H!==R.next&&c(F.x,F.y,B.x,B.y,N.x,N.y,H.x,H.y)&&p(H.prev,H,H.next)>=0||(H=H.prevZ,ne!==R.prev&&ne!==R.next&&c(F.x,F.y,B.x,B.y,N.x,N.y,ne.x,ne.y)&&p(ne.prev,ne,ne.next)>=0))return!1;ne=ne.nextZ}for(;H&&H.z>=G;){if(H!==R.prev&&H!==R.next&&c(F.x,F.y,B.x,B.y,N.x,N.y,H.x,H.y)&&p(H.prev,H,H.next)>=0)return!1;H=H.prevZ}for(;ne&&ne.z<=q;){if(ne!==R.prev&&ne!==R.next&&c(F.x,F.y,B.x,B.y,N.x,N.y,ne.x,ne.y)&&p(ne.prev,ne,ne.next)>=0)return!1;ne=ne.nextZ}return!0}function v(R,I,O){var z=R;do{var F=z.prev,B=z.next.next;!w(F,B)&&g(F,z,z.next,B)&&T(F,B)&&T(B,F)&&(I.push(F.i/O),I.push(z.i/O),I.push(B.i/O),A(z),A(z.next),z=R=B),z=z.next}while(z!==R);return d(z)}function h(R,I,O,z,F,B){var N=R;do{for(var W=N.next.next;W!==N.prev;){if(N.i!==W.i&&f(N,W)){var j=E(N,W);return N=d(N,N.next),j=d(j,j.next),y(N,I,O,z,F,B),void y(j,I,O,z,F,B)}W=W.next}N=N.next}while(N!==R)}function l(R,I){return R.x-I.x}function a(R,I){if(I=function(z,F){var B,N=F,W=z.x,j=z.y,Y=-1/0;do{if(j<=N.y&&j>=N.next.y&&N.next.y!==N.y){var U=N.x+(j-N.y)*(N.next.x-N.x)/(N.next.y-N.y);if(U<=W&&U>Y){if(Y=U,U===W){if(j===N.y)return N;if(j===N.next.y)return N.next}B=N.x=N.x&&N.x>=H&&W!==N.x&&c(jB.x||N.x===B.x&&u(B,N)))&&(B=N,te=G)),N=N.next;while(N!==q);return B}(R,I),I){var O=E(I,R);d(I,I.next),d(O,O.next)}}function u(R,I){return p(R.prev,R,I.prev)<0&&p(I.next,R,R.next)<0}function s(R,I,O,z,F){return(R=1431655765&((R=858993459&((R=252645135&((R=16711935&((R=32767*(R-O)*F)|R<<8))|R<<4))|R<<2))|R<<1))|(I=1431655765&((I=858993459&((I=252645135&((I=16711935&((I=32767*(I-z)*F)|I<<8))|I<<4))|I<<2))|I<<1))<<1}function o(R){var I=R,O=R;do(I.x=0&&(R-N)*(z-W)-(O-N)*(I-W)>=0&&(O-N)*(B-W)-(F-N)*(z-W)>=0}function f(R,I){return R.next.i!==I.i&&R.prev.i!==I.i&&!function(O,z){var F=O;do{if(F.i!==O.i&&F.next.i!==O.i&&F.i!==z.i&&F.next.i!==z.i&&g(F,F.next,O,z))return!0;F=F.next}while(F!==O);return!1}(R,I)&&(T(R,I)&&T(I,R)&&function(O,z){var F=O,B=!1,N=(O.x+z.x)/2,W=(O.y+z.y)/2;do F.y>W!=F.next.y>W&&F.next.y!==F.y&&N<(F.next.x-F.x)*(W-F.y)/(F.next.y-F.y)+F.x&&(B=!B),F=F.next;while(F!==O);return B}(R,I)&&(p(R.prev,R,I.prev)||p(R,I.prev,I))||w(R,I)&&p(R.prev,R,R.next)>0&&p(I.prev,I,I.next)>0)}function p(R,I,O){return(I.y-R.y)*(O.x-I.x)-(I.x-R.x)*(O.y-I.y)}function w(R,I){return R.x===I.x&&R.y===I.y}function g(R,I,O,z){var F=x(p(R,I,O)),B=x(p(R,I,z)),N=x(p(O,z,R)),W=x(p(O,z,I));return F!==B&&N!==W||!(F!==0||!S(R,O,I))||!(B!==0||!S(R,z,I))||!(N!==0||!S(O,R,z))||!(W!==0||!S(O,I,z))}function S(R,I,O){return I.x<=Math.max(R.x,O.x)&&I.x>=Math.min(R.x,O.x)&&I.y<=Math.max(R.y,O.y)&&I.y>=Math.min(R.y,O.y)}function x(R){return R>0?1:R<0?-1:0}function T(R,I){return p(R.prev,R,R.next)<0?p(R,I,R.next)>=0&&p(R,R.prev,I)>=0:p(R,I,R.prev)<0||p(R,R.next,I)<0}function E(R,I){var O=new L(R.i,R.x,R.y),z=new L(I.i,I.x,I.y),F=R.next,B=I.prev;return R.next=I,I.prev=R,O.next=F,F.prev=O,z.next=O,O.prev=z,B.next=z,z.prev=B,z}function _(R,I,O,z){var F=new L(R,I,O);return z?(F.next=z.next,F.prev=z,z.next.prev=F,z.next=F):(F.prev=F,F.next=F),F}function A(R){R.next.prev=R.prev,R.prev.next=R.next,R.prevZ&&(R.prevZ.nextZ=R.nextZ),R.nextZ&&(R.nextZ.prevZ=R.prevZ)}function L(R,I,O){this.i=R,this.x=I,this.y=O,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function b(R,I,O,z){for(var F=0,B=I,N=O-z;B0&&(z+=R[F-1].length,O.holes.push(z))}return O}},2502:function(k,m,t){var d=t(68664);k.exports=function(y,i){var M,v=[],h=[],l=[],a={},u=[];function s(T){l[T]=!1,a.hasOwnProperty(T)&&Object.keys(a[T]).forEach(function(E){delete a[T][E],l[E]&&s(E)})}function o(T){var E,_,A=!1;for(h.push(T),l[T]=!0,E=0;E=O})})(T);for(var E,_=d(y).components.filter(function(O){return O.length>1}),A=1/0,L=0;L<_.length;L++)for(var b=0;b<_[L].length;b++)_[L][b]=55296&&T<=56319&&(L+=f[++w]),L=b?s.call(b,R,L,g):L,p?(o.value=L,c(S,g,o)):S[g]=L,++g;x=g}}if(x===void 0)for(x=M(f.length),p&&(S=new p(x)),w=0;w0?1:-1}},56247:function(k,m,t){var d=t(9953),y=Math.abs,i=Math.floor;k.exports=function(M){return isNaN(M)?0:(M=Number(M))!==0&&isFinite(M)?d(M)*i(y(M)):M}},35976:function(k,m,t){var d=t(56247),y=Math.max;k.exports=function(i){return y(0,d(i))}},67260:function(k,m,t){var d=t(78513),y=t(36672),i=Function.prototype.bind,M=Function.prototype.call,v=Object.keys,h=Object.prototype.propertyIsEnumerable;k.exports=function(l,a){return function(u,s){var o,c=arguments[2],f=arguments[3];return u=Object(y(u)),d(s),o=v(u),f&&o.sort(typeof f=="function"?i.call(f,u):void 0),typeof l!="function"&&(l=o[l]),M.call(l,o,function(p,w){return h.call(u,p)?M.call(s,c,u[p],p,u,w):a})}}},95879:function(k,m,t){k.exports=t(73583)()?Object.assign:t(34205)},73583:function(k){k.exports=function(){var m,t=Object.assign;return typeof t=="function"&&(t(m={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),m.foo+m.bar+m.trzy==="razdwatrzy")}},34205:function(k,m,t){var d=t(68700),y=t(36672),i=Math.max;k.exports=function(M,v){var h,l,a,u=i(arguments.length,2);for(M=Object(y(M)),a=function(s){try{M[s]=v[s]}catch(o){h||(h=o)}},l=1;l-1}},87963:function(k){var m=Object.prototype.toString,t=m.call("");k.exports=function(d){return typeof d=="string"||d&&typeof d=="object"&&(d instanceof String||m.call(d)===t)||!1}},43043:function(k){var m=Object.create(null),t=Math.random;k.exports=function(){var d;do d=t().toString(36).slice(2);while(m[d]);return d}},32411:function(k,m,t){var d,y=t(1496),i=t(66741),M=t(62072),v=t(8260),h=t(95426),l=Object.defineProperty;d=k.exports=function(a,u){if(!(this instanceof d))throw new TypeError("Constructor requires 'new'");h.call(this,a),u=u?i.call(u,"key+value")?"key+value":i.call(u,"key")?"key":"value":"value",l(this,"__kind__",M("",u))},y&&y(d,h),delete d.prototype.constructor,d.prototype=Object.create(h.prototype,{_resolve:M(function(a){return this.__kind__==="value"?this.__list__[a]:this.__kind__==="key+value"?[a,this.__list__[a]]:a})}),l(d.prototype,v.toStringTag,M("c","Array Iterator"))},27515:function(k,m,t){var d=t(73051),y=t(78513),i=t(87963),M=t(66661),v=Array.isArray,h=Function.prototype.call,l=Array.prototype.some;k.exports=function(a,u){var s,o,c,f,p,w,g,S,x=arguments[2];if(v(a)||d(a)?s="array":i(a)?s="string":a=M(a),y(u),c=function(){f=!0},s!=="array")if(s!=="string")for(o=a.next();!o.done;){if(h.call(u,x,o.value,c),f)return;o=a.next()}else for(w=a.length,p=0;p=55296&&S<=56319&&(g+=a[++p]),h.call(u,x,g,c),!f);++p);else l.call(a,function(T){return h.call(u,x,T,c),f})}},66661:function(k,m,t){var d=t(73051),y=t(87963),i=t(32411),M=t(259),v=t(58095),h=t(8260).iterator;k.exports=function(l){return typeof v(l)[h]=="function"?l[h]():d(l)?new i(l):y(l)?new M(l):new i(l)}},95426:function(k,m,t){var d,y=t(16134),i=t(95879),M=t(78513),v=t(36672),h=t(62072),l=t(55174),a=t(8260),u=Object.defineProperty,s=Object.defineProperties;k.exports=d=function(o,c){if(!(this instanceof d))throw new TypeError("Constructor requires 'new'");s(this,{__list__:h("w",v(o)),__context__:h("w",c),__nextIndex__:h("w",0)}),c&&(M(c.on),c.on("_add",this._onAdd),c.on("_delete",this._onDelete),c.on("_clear",this._onClear))},delete d.prototype.constructor,s(d.prototype,i({_next:h(function(){var o;if(this.__list__)return this.__redo__&&(o=this.__redo__.shift())!==void 0?o:this.__nextIndex__=this.__nextIndex__||(++this.__nextIndex__,this.__redo__?(this.__redo__.forEach(function(c,f){c>=o&&(this.__redo__[f]=++c)},this),this.__redo__.push(o)):u(this,"__redo__",h("c",[o])))}),_onDelete:h(function(o){var c;o>=this.__nextIndex__||(--this.__nextIndex__,this.__redo__&&((c=this.__redo__.indexOf(o))!==-1&&this.__redo__.splice(c,1),this.__redo__.forEach(function(f,p){f>o&&(this.__redo__[p]=--f)},this)))}),_onClear:h(function(){this.__redo__&&y.call(this.__redo__),this.__nextIndex__=0})}))),u(d.prototype,a.iterator,h(function(){return this}))},35940:function(k,m,t){var d=t(73051),y=t(95296),i=t(87963),M=t(8260).iterator,v=Array.isArray;k.exports=function(h){return!(!y(h)||!v(h)&&!i(h)&&!d(h)&&typeof h[M]!="function")}},259:function(k,m,t){var d,y=t(1496),i=t(62072),M=t(8260),v=t(95426),h=Object.defineProperty;d=k.exports=function(l){if(!(this instanceof d))throw new TypeError("Constructor requires 'new'");l=String(l),v.call(this,l),h(this,"__length__",i("",l.length))},y&&y(d,v),delete d.prototype.constructor,d.prototype=Object.create(v.prototype,{_next:i(function(){if(this.__list__)return this.__nextIndex__=55296&&a<=56319?u+this.__list__[this.__nextIndex__++]:u})}),h(d.prototype,M.toStringTag,i("c","String Iterator"))},58095:function(k,m,t){var d=t(35940);k.exports=function(y){if(!d(y))throw new TypeError(y+" is not iterable");return y}},73523:function(k){function m(t,d){if(t==null)throw new TypeError("Cannot convert first argument to object");for(var y=Object(t),i=1;i0&&E.length>x&&!E.warned){E.warned=!0;var A=new Error("Possible EventEmitter memory leak detected. "+E.length+" "+String(w)+" listeners added. Use emitter.setMaxListeners() to increase limit");A.name="MaxListenersExceededWarning",A.emitter=p,A.type=w,A.count=E.length,_=A,console&&console.warn&&console.warn(_)}return p}function a(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function u(p,w,g){var S={fired:!1,wrapFn:void 0,target:p,type:w,listener:g},x=a.bind(S);return x.listener=g,S.wrapFn=x,x}function s(p,w,g){var S=p._events;if(S===void 0)return[];var x=S[w];return x===void 0?[]:typeof x=="function"?g?[x.listener||x]:[x]:g?function(T){for(var E=new Array(T.length),_=0;_0&&(T=w[0]),T instanceof Error)throw T;var E=new Error("Unhandled error."+(T?" ("+T.message+")":""));throw E.context=T,E}var _=x[p];if(_===void 0)return!1;if(typeof _=="function")d(_,this,w);else{var A=_.length,L=c(_,A);for(g=0;g=0;T--)if(g[T]===w||g[T].listener===w){E=g[T].listener,x=T;break}if(x<0)return this;x===0?g.shift():function(_,A){for(;A+1<_.length;A++)_[A]=_[A+1];_.pop()}(g,x),g.length===1&&(S[p]=g[0]),S.removeListener!==void 0&&this.emit("removeListener",p,E||w)}return this},i.prototype.off=i.prototype.removeListener,i.prototype.removeAllListeners=function(p){var w,g,S;if((g=this._events)===void 0)return this;if(g.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):g[p]!==void 0&&(--this._eventsCount==0?this._events=Object.create(null):delete g[p]),this;if(arguments.length===0){var x,T=Object.keys(g);for(S=0;S=0;S--)this.removeListener(p,w[S]);return this},i.prototype.listeners=function(p){return s(this,p,!0)},i.prototype.rawListeners=function(p){return s(this,p,!1)},i.listenerCount=function(p,w){return typeof p.listenerCount=="function"?p.listenerCount(w):o.call(p,w)},i.prototype.listenerCount=o,i.prototype.eventNames=function(){return this._eventsCount>0?m(this._events):[]}},60774:function(k){var m=function(){if(typeof self=="object"&&self)return self;if(typeof window=="object"&&window)return window;throw new Error("Unable to resolve global `this`")};k.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch{return m()}try{return __global__||m()}finally{delete Object.prototype.__global__}}()},94908:function(k,m,t){k.exports=t(51152)()?globalThis:t(60774)},51152:function(k){k.exports=function(){return typeof globalThis=="object"&&!!globalThis&&globalThis.Array===Array}},92770:function(k,m,t){var d=t(18546);k.exports=function(y){var i=typeof y;if(i==="string"){var M=y;if((y=+y)==0&&d(M))return!1}else if(i!=="number")return!1;return y-y<1}},30120:function(k,m,t){var d=t(90660);k.exports=function(y,i,M){if(!y)throw new TypeError("must specify data as first parameter");if(M=0|+(M||0),Array.isArray(y)&&y[0]&&typeof y[0][0]=="number"){var v,h,l,a,u=y[0].length,s=y.length*u;i&&typeof i!="string"||(i=new(d(i||"float32"))(s+M));var o=i.length-M;if(s!==o)throw new Error("source length "+s+" ("+u+"x"+y.length+") does not match destination length "+o);for(v=0,l=M;vM[0]-l[0]/2&&(f=l[0]/2,p+=l[1]);return v}},32879:function(k){function m(i,M){M||(M={}),(typeof i=="string"||Array.isArray(i))&&(M.family=i);var v=Array.isArray(M.family)?M.family.join(", "):M.family;if(!v)throw Error("`family` must be defined");var h=M.size||M.fontSize||M.em||48,l=M.weight||M.fontWeight||"",a=(i=[M.style||M.fontStyle||"",l,h].join(" ")+"px "+v,M.origin||"top");if(m.cache[v]&&h<=m.cache[v].em)return t(m.cache[v],a);var u=M.canvas||m.canvas,s=u.getContext("2d"),o={upper:M.upper!==void 0?M.upper:"H",lower:M.lower!==void 0?M.lower:"x",descent:M.descent!==void 0?M.descent:"p",ascent:M.ascent!==void 0?M.ascent:"h",tittle:M.tittle!==void 0?M.tittle:"i",overshoot:M.overshoot!==void 0?M.overshoot:"O"},c=Math.ceil(1.5*h);u.height=c,u.width=.5*c,s.font=i;var f="H",p={top:0};s.clearRect(0,0,c,c),s.textBaseline="top",s.fillStyle="black",s.fillText(f,0,0);var w=d(s.getImageData(0,0,c,c));s.clearRect(0,0,c,c),s.textBaseline="bottom",s.fillText(f,0,c);var g=d(s.getImageData(0,0,c,c));p.lineHeight=p.bottom=c-g+w,s.clearRect(0,0,c,c),s.textBaseline="alphabetic",s.fillText(f,0,c);var S=c-d(s.getImageData(0,0,c,c))-1+w;p.baseline=p.alphabetic=S,s.clearRect(0,0,c,c),s.textBaseline="middle",s.fillText(f,0,.5*c);var x=d(s.getImageData(0,0,c,c));p.median=p.middle=c-x-1+w-.5*c,s.clearRect(0,0,c,c),s.textBaseline="hanging",s.fillText(f,0,.5*c);var T=d(s.getImageData(0,0,c,c));p.hanging=c-T-1+w-.5*c,s.clearRect(0,0,c,c),s.textBaseline="ideographic",s.fillText(f,0,c);var E=d(s.getImageData(0,0,c,c));if(p.ideographic=c-E-1+w,o.upper&&(s.clearRect(0,0,c,c),s.textBaseline="top",s.fillText(o.upper,0,0),p.upper=d(s.getImageData(0,0,c,c)),p.capHeight=p.baseline-p.upper),o.lower&&(s.clearRect(0,0,c,c),s.textBaseline="top",s.fillText(o.lower,0,0),p.lower=d(s.getImageData(0,0,c,c)),p.xHeight=p.baseline-p.lower),o.tittle&&(s.clearRect(0,0,c,c),s.textBaseline="top",s.fillText(o.tittle,0,0),p.tittle=d(s.getImageData(0,0,c,c))),o.ascent&&(s.clearRect(0,0,c,c),s.textBaseline="top",s.fillText(o.ascent,0,0),p.ascent=d(s.getImageData(0,0,c,c))),o.descent&&(s.clearRect(0,0,c,c),s.textBaseline="top",s.fillText(o.descent,0,0),p.descent=y(s.getImageData(0,0,c,c))),o.overshoot){s.clearRect(0,0,c,c),s.textBaseline="top",s.fillText(o.overshoot,0,0);var _=y(s.getImageData(0,0,c,c));p.overshoot=_-S}for(var A in p)p[A]/=h;return p.em=h,m.cache[v]=p,t(p,a)}function t(i,M){var v={};for(var h in typeof M=="string"&&(M=i[M]),i)h!=="em"&&(v[h]=i[h]-M);return v}function d(i){for(var M=i.height,v=i.data,h=3;h0;h-=4)if(v[h]!==0)return Math.floor(.25*(h-3)/M)}k.exports=m,m.canvas=document.createElement("canvas"),m.cache={}},31353:function(k,m,t){var d=t(85395),y=Object.prototype.toString,i=Object.prototype.hasOwnProperty,M=function(l,a,u){for(var s=0,o=l.length;s=3&&(s=u),y.call(l)==="[object Array]"?M(l,a,s):typeof l=="string"?v(l,a,s):h(l,a,s)}},73047:function(k){var m="Function.prototype.bind called on incompatible ",t=Array.prototype.slice,d=Object.prototype.toString,y="[object Function]";k.exports=function(i){var M=this;if(typeof M!="function"||d.call(M)!==y)throw new TypeError(m+M);for(var v,h=t.call(arguments,1),l=function(){if(this instanceof v){var c=M.apply(this,h.concat(t.call(arguments)));return Object(c)===c?c:this}return M.apply(i,h.concat(t.call(arguments)))},a=Math.max(0,M.length-h.length),u=[],s=0;s"u"&&!t.canvas)return null;var d=t.canvas||document.createElement("canvas");typeof t.width=="number"&&(d.width=t.width),typeof t.height=="number"&&(d.height=t.height);var y,i=t;try{var M=[m];m.indexOf("webgl")===0&&M.push("experimental-"+m);for(var v=0;v"u"?d:s(Uint8Array),f={"%AggregateError%":typeof AggregateError>"u"?d:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?d:ArrayBuffer,"%ArrayIteratorPrototype%":u?s([][Symbol.iterator]()):d,"%AsyncFromSyncIteratorPrototype%":d,"%AsyncFunction%":o,"%AsyncGenerator%":o,"%AsyncGeneratorFunction%":o,"%AsyncIteratorPrototype%":o,"%Atomics%":typeof Atomics>"u"?d:Atomics,"%BigInt%":typeof BigInt>"u"?d:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?d:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?d:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?d:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?d:Float32Array,"%Float64Array%":typeof Float64Array>"u"?d:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?d:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":o,"%Int8Array%":typeof Int8Array>"u"?d:Int8Array,"%Int16Array%":typeof Int16Array>"u"?d:Int16Array,"%Int32Array%":typeof Int32Array>"u"?d:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":u?s(s([][Symbol.iterator]())):d,"%JSON%":typeof JSON=="object"?JSON:d,"%Map%":typeof Map>"u"?d:Map,"%MapIteratorPrototype%":typeof Map<"u"&&u?s(new Map()[Symbol.iterator]()):d,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?d:Promise,"%Proxy%":typeof Proxy>"u"?d:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?d:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?d:Set,"%SetIteratorPrototype%":typeof Set<"u"&&u?s(new Set()[Symbol.iterator]()):d,"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?d:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":u?s(""[Symbol.iterator]()):d,"%Symbol%":u?Symbol:d,"%SyntaxError%":y,"%ThrowTypeError%":a,"%TypedArray%":c,"%TypeError%":M,"%Uint8Array%":typeof Uint8Array>"u"?d:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?d:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?d:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?d:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?d:WeakMap,"%WeakRef%":typeof WeakRef>"u"?d:WeakRef,"%WeakSet%":typeof WeakSet>"u"?d:WeakSet};try{null.error}catch(z){var p=s(s(z));f["%Error.prototype%"]=p}var w=function z(F){var B;if(F==="%AsyncFunction%")B=v("async function () {}");else if(F==="%GeneratorFunction%")B=v("function* () {}");else if(F==="%AsyncGeneratorFunction%")B=v("async function* () {}");else if(F==="%AsyncGenerator%"){var N=z("%AsyncGeneratorFunction%");N&&(B=N.prototype)}else if(F==="%AsyncIteratorPrototype%"){var W=z("%AsyncGenerator%");W&&(B=s(W.prototype))}return f[F]=B,B},g={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},S=t(77575),x=t(35065),T=S.call(Function.call,Array.prototype.concat),E=S.call(Function.apply,Array.prototype.splice),_=S.call(Function.call,String.prototype.replace),A=S.call(Function.call,String.prototype.slice),L=S.call(Function.call,RegExp.prototype.exec),b=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,R=/\\(\\)?/g,I=function(z){var F=A(z,0,1),B=A(z,-1);if(F==="%"&&B!=="%")throw new y("invalid intrinsic syntax, expected closing `%`");if(B==="%"&&F!=="%")throw new y("invalid intrinsic syntax, expected opening `%`");var N=[];return _(z,b,function(W,j,Y,U){N[N.length]=Y?_(U,R,"$1"):j||W}),N},O=function(z,F){var B,N=z;if(x(g,N)&&(N="%"+(B=g[N])[0]+"%"),x(f,N)){var W=f[N];if(W===o&&(W=w(N)),W===void 0&&!F)throw new M("intrinsic "+z+" exists, but is not available. Please file an issue!");return{alias:B,name:N,value:W}}throw new y("intrinsic "+z+" does not exist!")};k.exports=function(z,F){if(typeof z!="string"||z.length===0)throw new M("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof F!="boolean")throw new M('"allowMissing" argument must be a boolean');if(L(/^%?[^%]*%?$/,z)===null)throw new y("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var B=I(z),N=B.length>0?B[0]:"",W=O("%"+N+"%",F),j=W.name,Y=W.value,U=!1,G=W.alias;G&&(N=G[0],E(B,T([0,1],G)));for(var q=1,H=!0;q=B.length){var X=h(Y,ne);Y=(H=!!X)&&"get"in X&&!("originalValue"in X.get)?X.get:Y[ne]}else H=x(Y,ne),Y=Y[ne];H&&!U&&(f[j]=Y)}}return Y}},85400:function(k){k.exports=function(m,t){var d=t[0],y=t[1],i=t[2],M=t[3],v=t[4],h=t[5],l=t[6],a=t[7],u=t[8],s=t[9],o=t[10],c=t[11],f=t[12],p=t[13],w=t[14],g=t[15];return m[0]=h*(o*g-c*w)-s*(l*g-a*w)+p*(l*c-a*o),m[1]=-(y*(o*g-c*w)-s*(i*g-M*w)+p*(i*c-M*o)),m[2]=y*(l*g-a*w)-h*(i*g-M*w)+p*(i*a-M*l),m[3]=-(y*(l*c-a*o)-h*(i*c-M*o)+s*(i*a-M*l)),m[4]=-(v*(o*g-c*w)-u*(l*g-a*w)+f*(l*c-a*o)),m[5]=d*(o*g-c*w)-u*(i*g-M*w)+f*(i*c-M*o),m[6]=-(d*(l*g-a*w)-v*(i*g-M*w)+f*(i*a-M*l)),m[7]=d*(l*c-a*o)-v*(i*c-M*o)+u*(i*a-M*l),m[8]=v*(s*g-c*p)-u*(h*g-a*p)+f*(h*c-a*s),m[9]=-(d*(s*g-c*p)-u*(y*g-M*p)+f*(y*c-M*s)),m[10]=d*(h*g-a*p)-v*(y*g-M*p)+f*(y*a-M*h),m[11]=-(d*(h*c-a*s)-v*(y*c-M*s)+u*(y*a-M*h)),m[12]=-(v*(s*w-o*p)-u*(h*w-l*p)+f*(h*o-l*s)),m[13]=d*(s*w-o*p)-u*(y*w-i*p)+f*(y*o-i*s),m[14]=-(d*(h*w-l*p)-v*(y*w-i*p)+f*(y*l-i*h)),m[15]=d*(h*o-l*s)-v*(y*o-i*s)+u*(y*l-i*h),m}},42331:function(k){k.exports=function(m){var t=new Float32Array(16);return t[0]=m[0],t[1]=m[1],t[2]=m[2],t[3]=m[3],t[4]=m[4],t[5]=m[5],t[6]=m[6],t[7]=m[7],t[8]=m[8],t[9]=m[9],t[10]=m[10],t[11]=m[11],t[12]=m[12],t[13]=m[13],t[14]=m[14],t[15]=m[15],t}},31042:function(k){k.exports=function(m,t){return m[0]=t[0],m[1]=t[1],m[2]=t[2],m[3]=t[3],m[4]=t[4],m[5]=t[5],m[6]=t[6],m[7]=t[7],m[8]=t[8],m[9]=t[9],m[10]=t[10],m[11]=t[11],m[12]=t[12],m[13]=t[13],m[14]=t[14],m[15]=t[15],m}},11902:function(k){k.exports=function(){var m=new Float32Array(16);return m[0]=1,m[1]=0,m[2]=0,m[3]=0,m[4]=0,m[5]=1,m[6]=0,m[7]=0,m[8]=0,m[9]=0,m[10]=1,m[11]=0,m[12]=0,m[13]=0,m[14]=0,m[15]=1,m}},89887:function(k){k.exports=function(m){var t=m[0],d=m[1],y=m[2],i=m[3],M=m[4],v=m[5],h=m[6],l=m[7],a=m[8],u=m[9],s=m[10],o=m[11],c=m[12],f=m[13],p=m[14],w=m[15];return(t*v-d*M)*(s*w-o*p)-(t*h-y*M)*(u*w-o*f)+(t*l-i*M)*(u*p-s*f)+(d*h-y*v)*(a*w-o*c)-(d*l-i*v)*(a*p-s*c)+(y*l-i*h)*(a*f-u*c)}},27812:function(k){k.exports=function(m,t){var d=t[0],y=t[1],i=t[2],M=t[3],v=d+d,h=y+y,l=i+i,a=d*v,u=y*v,s=y*h,o=i*v,c=i*h,f=i*l,p=M*v,w=M*h,g=M*l;return m[0]=1-s-f,m[1]=u+g,m[2]=o-w,m[3]=0,m[4]=u-g,m[5]=1-a-f,m[6]=c+p,m[7]=0,m[8]=o+w,m[9]=c-p,m[10]=1-a-s,m[11]=0,m[12]=0,m[13]=0,m[14]=0,m[15]=1,m}},34045:function(k){k.exports=function(m,t,d){var y,i,M,v=d[0],h=d[1],l=d[2],a=Math.sqrt(v*v+h*h+l*l);return Math.abs(a)<1e-6?null:(v*=a=1/a,h*=a,l*=a,y=Math.sin(t),M=1-(i=Math.cos(t)),m[0]=v*v*M+i,m[1]=h*v*M+l*y,m[2]=l*v*M-h*y,m[3]=0,m[4]=v*h*M-l*y,m[5]=h*h*M+i,m[6]=l*h*M+v*y,m[7]=0,m[8]=v*l*M+h*y,m[9]=h*l*M-v*y,m[10]=l*l*M+i,m[11]=0,m[12]=0,m[13]=0,m[14]=0,m[15]=1,m)}},45973:function(k){k.exports=function(m,t,d){var y=t[0],i=t[1],M=t[2],v=t[3],h=y+y,l=i+i,a=M+M,u=y*h,s=y*l,o=y*a,c=i*l,f=i*a,p=M*a,w=v*h,g=v*l,S=v*a;return m[0]=1-(c+p),m[1]=s+S,m[2]=o-g,m[3]=0,m[4]=s-S,m[5]=1-(u+p),m[6]=f+w,m[7]=0,m[8]=o+g,m[9]=f-w,m[10]=1-(u+c),m[11]=0,m[12]=d[0],m[13]=d[1],m[14]=d[2],m[15]=1,m}},81472:function(k){k.exports=function(m,t){return m[0]=t[0],m[1]=0,m[2]=0,m[3]=0,m[4]=0,m[5]=t[1],m[6]=0,m[7]=0,m[8]=0,m[9]=0,m[10]=t[2],m[11]=0,m[12]=0,m[13]=0,m[14]=0,m[15]=1,m}},14669:function(k){k.exports=function(m,t){return m[0]=1,m[1]=0,m[2]=0,m[3]=0,m[4]=0,m[5]=1,m[6]=0,m[7]=0,m[8]=0,m[9]=0,m[10]=1,m[11]=0,m[12]=t[0],m[13]=t[1],m[14]=t[2],m[15]=1,m}},75262:function(k){k.exports=function(m,t){var d=Math.sin(t),y=Math.cos(t);return m[0]=1,m[1]=0,m[2]=0,m[3]=0,m[4]=0,m[5]=y,m[6]=d,m[7]=0,m[8]=0,m[9]=-d,m[10]=y,m[11]=0,m[12]=0,m[13]=0,m[14]=0,m[15]=1,m}},331:function(k){k.exports=function(m,t){var d=Math.sin(t),y=Math.cos(t);return m[0]=y,m[1]=0,m[2]=-d,m[3]=0,m[4]=0,m[5]=1,m[6]=0,m[7]=0,m[8]=d,m[9]=0,m[10]=y,m[11]=0,m[12]=0,m[13]=0,m[14]=0,m[15]=1,m}},11049:function(k){k.exports=function(m,t){var d=Math.sin(t),y=Math.cos(t);return m[0]=y,m[1]=d,m[2]=0,m[3]=0,m[4]=-d,m[5]=y,m[6]=0,m[7]=0,m[8]=0,m[9]=0,m[10]=1,m[11]=0,m[12]=0,m[13]=0,m[14]=0,m[15]=1,m}},75195:function(k){k.exports=function(m,t,d,y,i,M,v){var h=1/(d-t),l=1/(i-y),a=1/(M-v);return m[0]=2*M*h,m[1]=0,m[2]=0,m[3]=0,m[4]=0,m[5]=2*M*l,m[6]=0,m[7]=0,m[8]=(d+t)*h,m[9]=(i+y)*l,m[10]=(v+M)*a,m[11]=-1,m[12]=0,m[13]=0,m[14]=v*M*2*a,m[15]=0,m}},71551:function(k){k.exports=function(m){return m[0]=1,m[1]=0,m[2]=0,m[3]=0,m[4]=0,m[5]=1,m[6]=0,m[7]=0,m[8]=0,m[9]=0,m[10]=1,m[11]=0,m[12]=0,m[13]=0,m[14]=0,m[15]=1,m}},79576:function(k,m,t){k.exports={create:t(11902),clone:t(42331),copy:t(31042),identity:t(71551),transpose:t(88654),invert:t(95874),adjoint:t(85400),determinant:t(89887),multiply:t(91362),translate:t(31283),scale:t(10789),rotate:t(65074),rotateX:t(35545),rotateY:t(94918),rotateZ:t(15692),fromRotation:t(34045),fromRotationTranslation:t(45973),fromScaling:t(81472),fromTranslation:t(14669),fromXRotation:t(75262),fromYRotation:t(331),fromZRotation:t(11049),fromQuat:t(27812),frustum:t(75195),perspective:t(7864),perspectiveFromFieldOfView:t(35279),ortho:t(60378),lookAt:t(65551),str:t(6726)}},95874:function(k){k.exports=function(m,t){var d=t[0],y=t[1],i=t[2],M=t[3],v=t[4],h=t[5],l=t[6],a=t[7],u=t[8],s=t[9],o=t[10],c=t[11],f=t[12],p=t[13],w=t[14],g=t[15],S=d*h-y*v,x=d*l-i*v,T=d*a-M*v,E=y*l-i*h,_=y*a-M*h,A=i*a-M*l,L=u*p-s*f,b=u*w-o*f,R=u*g-c*f,I=s*w-o*p,O=s*g-c*p,z=o*g-c*w,F=S*z-x*O+T*I+E*R-_*b+A*L;return F?(F=1/F,m[0]=(h*z-l*O+a*I)*F,m[1]=(i*O-y*z-M*I)*F,m[2]=(p*A-w*_+g*E)*F,m[3]=(o*_-s*A-c*E)*F,m[4]=(l*R-v*z-a*b)*F,m[5]=(d*z-i*R+M*b)*F,m[6]=(w*T-f*A-g*x)*F,m[7]=(u*A-o*T+c*x)*F,m[8]=(v*O-h*R+a*L)*F,m[9]=(y*R-d*O-M*L)*F,m[10]=(f*_-p*T+g*S)*F,m[11]=(s*T-u*_-c*S)*F,m[12]=(h*b-v*I-l*L)*F,m[13]=(d*I-y*b+i*L)*F,m[14]=(p*x-f*E-w*S)*F,m[15]=(u*E-s*x+o*S)*F,m):null}},65551:function(k,m,t){var d=t(71551);k.exports=function(y,i,M,v){var h,l,a,u,s,o,c,f,p,w,g=i[0],S=i[1],x=i[2],T=v[0],E=v[1],_=v[2],A=M[0],L=M[1],b=M[2];return Math.abs(g-A)<1e-6&&Math.abs(S-L)<1e-6&&Math.abs(x-b)<1e-6?d(y):(c=g-A,f=S-L,p=x-b,h=E*(p*=w=1/Math.sqrt(c*c+f*f+p*p))-_*(f*=w),l=_*(c*=w)-T*p,a=T*f-E*c,(w=Math.sqrt(h*h+l*l+a*a))?(h*=w=1/w,l*=w,a*=w):(h=0,l=0,a=0),u=f*a-p*l,s=p*h-c*a,o=c*l-f*h,(w=Math.sqrt(u*u+s*s+o*o))?(u*=w=1/w,s*=w,o*=w):(u=0,s=0,o=0),y[0]=h,y[1]=u,y[2]=c,y[3]=0,y[4]=l,y[5]=s,y[6]=f,y[7]=0,y[8]=a,y[9]=o,y[10]=p,y[11]=0,y[12]=-(h*g+l*S+a*x),y[13]=-(u*g+s*S+o*x),y[14]=-(c*g+f*S+p*x),y[15]=1,y)}},91362:function(k){k.exports=function(m,t,d){var y=t[0],i=t[1],M=t[2],v=t[3],h=t[4],l=t[5],a=t[6],u=t[7],s=t[8],o=t[9],c=t[10],f=t[11],p=t[12],w=t[13],g=t[14],S=t[15],x=d[0],T=d[1],E=d[2],_=d[3];return m[0]=x*y+T*h+E*s+_*p,m[1]=x*i+T*l+E*o+_*w,m[2]=x*M+T*a+E*c+_*g,m[3]=x*v+T*u+E*f+_*S,x=d[4],T=d[5],E=d[6],_=d[7],m[4]=x*y+T*h+E*s+_*p,m[5]=x*i+T*l+E*o+_*w,m[6]=x*M+T*a+E*c+_*g,m[7]=x*v+T*u+E*f+_*S,x=d[8],T=d[9],E=d[10],_=d[11],m[8]=x*y+T*h+E*s+_*p,m[9]=x*i+T*l+E*o+_*w,m[10]=x*M+T*a+E*c+_*g,m[11]=x*v+T*u+E*f+_*S,x=d[12],T=d[13],E=d[14],_=d[15],m[12]=x*y+T*h+E*s+_*p,m[13]=x*i+T*l+E*o+_*w,m[14]=x*M+T*a+E*c+_*g,m[15]=x*v+T*u+E*f+_*S,m}},60378:function(k){k.exports=function(m,t,d,y,i,M,v){var h=1/(t-d),l=1/(y-i),a=1/(M-v);return m[0]=-2*h,m[1]=0,m[2]=0,m[3]=0,m[4]=0,m[5]=-2*l,m[6]=0,m[7]=0,m[8]=0,m[9]=0,m[10]=2*a,m[11]=0,m[12]=(t+d)*h,m[13]=(i+y)*l,m[14]=(v+M)*a,m[15]=1,m}},7864:function(k){k.exports=function(m,t,d,y,i){var M=1/Math.tan(t/2),v=1/(y-i);return m[0]=M/d,m[1]=0,m[2]=0,m[3]=0,m[4]=0,m[5]=M,m[6]=0,m[7]=0,m[8]=0,m[9]=0,m[10]=(i+y)*v,m[11]=-1,m[12]=0,m[13]=0,m[14]=2*i*y*v,m[15]=0,m}},35279:function(k){k.exports=function(m,t,d,y){var i=Math.tan(t.upDegrees*Math.PI/180),M=Math.tan(t.downDegrees*Math.PI/180),v=Math.tan(t.leftDegrees*Math.PI/180),h=Math.tan(t.rightDegrees*Math.PI/180),l=2/(v+h),a=2/(i+M);return m[0]=l,m[1]=0,m[2]=0,m[3]=0,m[4]=0,m[5]=a,m[6]=0,m[7]=0,m[8]=-(v-h)*l*.5,m[9]=(i-M)*a*.5,m[10]=y/(d-y),m[11]=-1,m[12]=0,m[13]=0,m[14]=y*d/(d-y),m[15]=0,m}},65074:function(k){k.exports=function(m,t,d,y){var i,M,v,h,l,a,u,s,o,c,f,p,w,g,S,x,T,E,_,A,L,b,R,I,O=y[0],z=y[1],F=y[2],B=Math.sqrt(O*O+z*z+F*F);return Math.abs(B)<1e-6?null:(O*=B=1/B,z*=B,F*=B,i=Math.sin(d),v=1-(M=Math.cos(d)),h=t[0],l=t[1],a=t[2],u=t[3],s=t[4],o=t[5],c=t[6],f=t[7],p=t[8],w=t[9],g=t[10],S=t[11],x=O*O*v+M,T=z*O*v+F*i,E=F*O*v-z*i,_=O*z*v-F*i,A=z*z*v+M,L=F*z*v+O*i,b=O*F*v+z*i,R=z*F*v-O*i,I=F*F*v+M,m[0]=h*x+s*T+p*E,m[1]=l*x+o*T+w*E,m[2]=a*x+c*T+g*E,m[3]=u*x+f*T+S*E,m[4]=h*_+s*A+p*L,m[5]=l*_+o*A+w*L,m[6]=a*_+c*A+g*L,m[7]=u*_+f*A+S*L,m[8]=h*b+s*R+p*I,m[9]=l*b+o*R+w*I,m[10]=a*b+c*R+g*I,m[11]=u*b+f*R+S*I,t!==m&&(m[12]=t[12],m[13]=t[13],m[14]=t[14],m[15]=t[15]),m)}},35545:function(k){k.exports=function(m,t,d){var y=Math.sin(d),i=Math.cos(d),M=t[4],v=t[5],h=t[6],l=t[7],a=t[8],u=t[9],s=t[10],o=t[11];return t!==m&&(m[0]=t[0],m[1]=t[1],m[2]=t[2],m[3]=t[3],m[12]=t[12],m[13]=t[13],m[14]=t[14],m[15]=t[15]),m[4]=M*i+a*y,m[5]=v*i+u*y,m[6]=h*i+s*y,m[7]=l*i+o*y,m[8]=a*i-M*y,m[9]=u*i-v*y,m[10]=s*i-h*y,m[11]=o*i-l*y,m}},94918:function(k){k.exports=function(m,t,d){var y=Math.sin(d),i=Math.cos(d),M=t[0],v=t[1],h=t[2],l=t[3],a=t[8],u=t[9],s=t[10],o=t[11];return t!==m&&(m[4]=t[4],m[5]=t[5],m[6]=t[6],m[7]=t[7],m[12]=t[12],m[13]=t[13],m[14]=t[14],m[15]=t[15]),m[0]=M*i-a*y,m[1]=v*i-u*y,m[2]=h*i-s*y,m[3]=l*i-o*y,m[8]=M*y+a*i,m[9]=v*y+u*i,m[10]=h*y+s*i,m[11]=l*y+o*i,m}},15692:function(k){k.exports=function(m,t,d){var y=Math.sin(d),i=Math.cos(d),M=t[0],v=t[1],h=t[2],l=t[3],a=t[4],u=t[5],s=t[6],o=t[7];return t!==m&&(m[8]=t[8],m[9]=t[9],m[10]=t[10],m[11]=t[11],m[12]=t[12],m[13]=t[13],m[14]=t[14],m[15]=t[15]),m[0]=M*i+a*y,m[1]=v*i+u*y,m[2]=h*i+s*y,m[3]=l*i+o*y,m[4]=a*i-M*y,m[5]=u*i-v*y,m[6]=s*i-h*y,m[7]=o*i-l*y,m}},10789:function(k){k.exports=function(m,t,d){var y=d[0],i=d[1],M=d[2];return m[0]=t[0]*y,m[1]=t[1]*y,m[2]=t[2]*y,m[3]=t[3]*y,m[4]=t[4]*i,m[5]=t[5]*i,m[6]=t[6]*i,m[7]=t[7]*i,m[8]=t[8]*M,m[9]=t[9]*M,m[10]=t[10]*M,m[11]=t[11]*M,m[12]=t[12],m[13]=t[13],m[14]=t[14],m[15]=t[15],m}},6726:function(k){k.exports=function(m){return"mat4("+m[0]+", "+m[1]+", "+m[2]+", "+m[3]+", "+m[4]+", "+m[5]+", "+m[6]+", "+m[7]+", "+m[8]+", "+m[9]+", "+m[10]+", "+m[11]+", "+m[12]+", "+m[13]+", "+m[14]+", "+m[15]+")"}},31283:function(k){k.exports=function(m,t,d){var y,i,M,v,h,l,a,u,s,o,c,f,p=d[0],w=d[1],g=d[2];return t===m?(m[12]=t[0]*p+t[4]*w+t[8]*g+t[12],m[13]=t[1]*p+t[5]*w+t[9]*g+t[13],m[14]=t[2]*p+t[6]*w+t[10]*g+t[14],m[15]=t[3]*p+t[7]*w+t[11]*g+t[15]):(y=t[0],i=t[1],M=t[2],v=t[3],h=t[4],l=t[5],a=t[6],u=t[7],s=t[8],o=t[9],c=t[10],f=t[11],m[0]=y,m[1]=i,m[2]=M,m[3]=v,m[4]=h,m[5]=l,m[6]=a,m[7]=u,m[8]=s,m[9]=o,m[10]=c,m[11]=f,m[12]=y*p+h*w+s*g+t[12],m[13]=i*p+l*w+o*g+t[13],m[14]=M*p+a*w+c*g+t[14],m[15]=v*p+u*w+f*g+t[15]),m}},88654:function(k){k.exports=function(m,t){if(m===t){var d=t[1],y=t[2],i=t[3],M=t[6],v=t[7],h=t[11];m[1]=t[4],m[2]=t[8],m[3]=t[12],m[4]=d,m[6]=t[9],m[7]=t[13],m[8]=y,m[9]=M,m[11]=t[14],m[12]=i,m[13]=v,m[14]=h}else m[0]=t[0],m[1]=t[4],m[2]=t[8],m[3]=t[12],m[4]=t[1],m[5]=t[5],m[6]=t[9],m[7]=t[13],m[8]=t[2],m[9]=t[6],m[10]=t[10],m[11]=t[14],m[12]=t[3],m[13]=t[7],m[14]=t[11],m[15]=t[15];return m}},42505:function(k,m,t){var d=t(72791),y=t(71299),i=t(98580),M=t(12018),v=t(83522),h=t(25075),l=t(68016),a=t(58404),u=t(18863),s=t(10973),o=t(25677),c=t(75686),f=t(53545),p=t(56131),w=t(32879),g=t(30120),S=t(13547).nextPow2,x=new v,T=!1;if(document.body){var E=document.body.appendChild(document.createElement("div"));E.style.font="italic small-caps bold condensed 16px/2 cursive",getComputedStyle(E).fontStretch&&(T=!0),document.body.removeChild(E)}var _=function(A){(function(L){return typeof L=="function"&&L._gl&&L.prop&&L.texture&&L.buffer})(A)?(A={regl:A},this.gl=A.regl._gl):this.gl=M(A),this.shader=x.get(this.gl),this.shader?this.regl=this.shader.regl:this.regl=A.regl||i({gl:this.gl}),this.charBuffer=this.regl.buffer({type:"uint8",usage:"stream"}),this.sizeBuffer=this.regl.buffer({type:"float",usage:"stream"}),this.shader||(this.shader=this.createShader(),x.set(this.gl,this.shader)),this.batch=[],this.fontSize=[],this.font=[],this.fontAtlas=[],this.draw=this.shader.draw.bind(this),this.render=function(){this.regl._refresh(),this.draw(this.batch)},this.canvas=this.gl.canvas,this.update(s(A)?A:{})};_.prototype.createShader=function(){var A=this.regl,L=A({blend:{enable:!0,color:[0,0,0,1],func:{srcRGB:"src alpha",dstRGB:"one minus src alpha",srcAlpha:"one minus dst alpha",dstAlpha:"one"}},stencil:{enable:!1},depth:{enable:!1},count:A.prop("count"),offset:A.prop("offset"),attributes:{charOffset:{offset:4,stride:8,buffer:A.this("sizeBuffer")},width:{offset:0,stride:8,buffer:A.this("sizeBuffer")},char:A.this("charBuffer"),position:A.this("position")},uniforms:{atlasSize:function(b,R){return[R.atlas.width,R.atlas.height]},atlasDim:function(b,R){return[R.atlas.cols,R.atlas.rows]},atlas:function(b,R){return R.atlas.texture},charStep:function(b,R){return R.atlas.step},em:function(b,R){return R.atlas.em},color:A.prop("color"),opacity:A.prop("opacity"),viewport:A.this("viewportArray"),scale:A.this("scale"),align:A.prop("align"),baseline:A.prop("baseline"),translate:A.this("translate"),positionOffset:A.prop("positionOffset")},primitive:"points",viewport:A.this("viewport"),vert:` +`):H=" ".concat(B," ").concat(H)),z=M(this,o(b).call(this,"".concat(q).concat(H)))}return Error.stackTraceLimit=$,z.generatedMessage=!F,Object.defineProperty(v(z),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),z.code="ERR_ASSERTION",z.actual=W,z.expected=j,z.operator=B,Error.captureStackTrace&&Error.captureStackTrace(v(z),N),z.stack,z.name="AssertionError",M(z)}var R,I;return function(O,z){if(typeof z!="function"&&z!==null)throw new TypeError("Super expression must either be null or a function");O.prototype=Object.create(z&&z.prototype,{constructor:{value:O,writable:!0,configurable:!0}}),z&&u(O,z)}(b,L),R=b,I=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:c.custom,value:function(O,z){return c(this,function(F){for(var B=1;B2?"one of ".concat(o," ").concat(u.slice(0,s-1).join(", "),", or ")+u[s-1]:s===2?"one of ".concat(o," ").concat(u[0]," or ").concat(u[1]):"of ".concat(o," ").concat(u[0])}return"of ".concat(o," ").concat(String(u))}l("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),l("ERR_INVALID_ARG_TYPE",function(u,o,s){var c,h,m,w,y;if(M===void 0&&(M=t(32791)),M(typeof u=="string","'name' must be a string"),typeof o=="string"&&(h="not ",o.substr(0,h.length)===h)?(c="must not be",o=o.replace(/^not /,"")):c="must be",function(_,k,E){return(E===void 0||E>_.length)&&(E=_.length),_.substring(E-k.length,E)===k}(u," argument"))m="The ".concat(u," ").concat(c," ").concat(a(o,"type"));else{var S=(typeof y!="number"&&(y=0),y+1>(w=u).length||w.indexOf(".",y)===-1?"argument":"property");m='The "'.concat(u,'" ').concat(S," ").concat(c," ").concat(a(o,"type"))}return m+". Received type ".concat(d(s))},TypeError),l("ERR_INVALID_ARG_VALUE",function(u,o){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";v===void 0&&(v=t(43827));var c=v.inspect(o);return c.length>128&&(c="".concat(c.slice(0,128),"...")),"The argument '".concat(u,"' ").concat(s,". Received ").concat(c)},TypeError),l("ERR_INVALID_RETURN_VALUE",function(u,o,s){var c;return c=s&&s.constructor&&s.constructor.name?"instance of ".concat(s.constructor.name):"type ".concat(d(s)),"Expected ".concat(u,' to be returned from the "').concat(o,'"')+" function but got ".concat(c,".")},TypeError),l("ERR_MISSING_ARGS",function(){for(var u=arguments.length,o=new Array(u),s=0;s0,"At least one arg needs to be specified");var c="The ",h=o.length;switch(o=o.map(function(m){return'"'.concat(m,'"')}),h){case 1:c+="".concat(o[0]," argument");break;case 2:c+="".concat(o[0]," and ").concat(o[1]," arguments");break;default:c+=o.slice(0,h-1).join(", "),c+=", and ".concat(o[h-1]," arguments")}return"".concat(c," must be specified")},TypeError),T.exports.codes=f},74061:function(T,p,t){function d(Z,X){return function(Q){if(Array.isArray(Q))return Q}(Z)||function(Q,re){var ie=[],oe=!0,ue=!1,ce=void 0;try{for(var ye,de=Q[Symbol.iterator]();!(oe=(ye=de.next()).done)&&(ie.push(ye.value),!re||ie.length!==re);oe=!0);}catch(me){ue=!0,ce=me}finally{try{oe||de.return==null||de.return()}finally{if(ue)throw ce}}return ie}(Z,X)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function g(Z){return g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(X){return typeof X}:function(X){return X&&typeof Symbol=="function"&&X.constructor===Symbol&&X!==Symbol.prototype?"symbol":typeof X},g(Z)}var i=/a/g.flags!==void 0,M=function(Z){var X=[];return Z.forEach(function(Q){return X.push(Q)}),X},v=function(Z){var X=[];return Z.forEach(function(Q,re){return X.push([re,Q])}),X},f=Object.is?Object.is:t(64003),l=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},a=Number.isNaN?Number.isNaN:t(15567);function u(Z){return Z.call.bind(Z)}var o=u(Object.prototype.hasOwnProperty),s=u(Object.prototype.propertyIsEnumerable),c=u(Object.prototype.toString),h=t(43827).types,m=h.isAnyArrayBuffer,w=h.isArrayBufferView,y=h.isDate,S=h.isMap,_=h.isRegExp,k=h.isSet,E=h.isNativeError,x=h.isBoxedPrimitive,A=h.isNumberObject,L=h.isStringObject,b=h.isBooleanObject,R=h.isBigIntObject,I=h.isSymbolObject,O=h.isFloat32Array,z=h.isFloat64Array;function F(Z){if(Z.length===0||Z.length>10)return!0;for(var X=0;X57)return!0}return Z.length===10&&Z>=Math.pow(2,32)}function B(Z){return Object.keys(Z).filter(F).concat(l(Z).filter(Object.prototype.propertyIsEnumerable.bind(Z)))}function N(Z,X){if(Z===X)return 0;for(var Q=Z.length,re=X.length,ie=0,oe=Math.min(Q,re);ie0?c-4:c;for(o=0;o>16&255,m[w++]=u>>8&255,m[w++]=255&u;return h===2&&(u=d[a.charCodeAt(o)]<<2|d[a.charCodeAt(o+1)]>>4,m[w++]=255&u),h===1&&(u=d[a.charCodeAt(o)]<<10|d[a.charCodeAt(o+1)]<<4|d[a.charCodeAt(o+2)]>>2,m[w++]=u>>8&255,m[w++]=255&u),m},p.fromByteArray=function(a){for(var u,o=a.length,s=o%3,c=[],h=16383,m=0,w=o-s;mw?w:m+h));return s===1?(u=a[o-1],c.push(t[u>>2]+t[u<<4&63]+"==")):s===2&&(u=(a[o-2]<<8)+a[o-1],c.push(t[u>>10]+t[u>>4&63]+t[u<<2&63]+"=")),c.join("")};for(var t=[],d=[],g=typeof Uint8Array<"u"?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",M=0,v=i.length;M0)throw new Error("Invalid string. Length must be a multiple of 4");var o=a.indexOf("=");return o===-1&&(o=u),[o,o===u?0:4-o%4]}function l(a,u,o){for(var s,c,h=[],m=u;m>18&63]+t[c>>12&63]+t[c>>6&63]+t[63&c]);return h.join("")}d["-".charCodeAt(0)]=62,d["_".charCodeAt(0)]=63},91358:function(T){function p(v,f,l,a,u){for(var o=u+1;a<=u;){var s=a+u>>>1,c=v[s];(l!==void 0?l(c,f):c-f)>=0?(o=s,u=s-1):a=s+1}return o}function t(v,f,l,a,u){for(var o=u+1;a<=u;){var s=a+u>>>1,c=v[s];(l!==void 0?l(c,f):c-f)>0?(o=s,u=s-1):a=s+1}return o}function d(v,f,l,a,u){for(var o=a-1;a<=u;){var s=a+u>>>1,c=v[s];(l!==void 0?l(c,f):c-f)<0?(o=s,a=s+1):u=s-1}return o}function g(v,f,l,a,u){for(var o=a-1;a<=u;){var s=a+u>>>1,c=v[s];(l!==void 0?l(c,f):c-f)<=0?(o=s,a=s+1):u=s-1}return o}function i(v,f,l,a,u){for(;a<=u;){var o=a+u>>>1,s=v[o],c=l!==void 0?l(s,f):s-f;if(c===0)return o;c<=0?a=o+1:u=o-1}return-1}function M(v,f,l,a,u,o){return typeof l=="function"?o(v,f,l,a===void 0?0:0|a,u===void 0?v.length-1:0|u):o(v,f,void 0,l===void 0?0:0|l,a===void 0?v.length-1:0|a)}T.exports={ge:function(v,f,l,a,u){return M(v,f,l,a,u,p)},gt:function(v,f,l,a,u){return M(v,f,l,a,u,t)},lt:function(v,f,l,a,u){return M(v,f,l,a,u,d)},le:function(v,f,l,a,u){return M(v,f,l,a,u,g)},eq:function(v,f,l,a,u){return M(v,f,l,a,u,i)}}},13547:function(T,p){function t(g){var i=32;return(g&=-g)&&i--,65535&g&&(i-=16),16711935&g&&(i-=8),252645135&g&&(i-=4),858993459&g&&(i-=2),1431655765&g&&(i-=1),i}p.INT_BITS=32,p.INT_MAX=2147483647,p.INT_MIN=-2147483648,p.sign=function(g){return(g>0)-(g<0)},p.abs=function(g){var i=g>>31;return(g^i)-i},p.min=function(g,i){return i^(g^i)&-(g65535)<<4,i|=M=((g>>>=i)>255)<<3,i|=M=((g>>>=M)>15)<<2,(i|=M=((g>>>=M)>3)<<1)|(g>>>=M)>>1},p.log10=function(g){return g>=1e9?9:g>=1e8?8:g>=1e7?7:g>=1e6?6:g>=1e5?5:g>=1e4?4:g>=1e3?3:g>=100?2:g>=10?1:0},p.popCount=function(g){return 16843009*((g=(858993459&(g-=g>>>1&1431655765))+(g>>>2&858993459))+(g>>>4)&252645135)>>>24},p.countTrailingZeros=t,p.nextPow2=function(g){return g+=g===0,--g,g|=g>>>1,g|=g>>>2,g|=g>>>4,g|=g>>>8,1+(g|=g>>>16)},p.prevPow2=function(g){return g|=g>>>1,g|=g>>>2,g|=g>>>4,g|=g>>>8,(g|=g>>>16)-(g>>>1)},p.parity=function(g){return g^=g>>>16,g^=g>>>8,g^=g>>>4,27030>>>(g&=15)&1};var d=new Array(256);(function(g){for(var i=0;i<256;++i){var M=i,v=i,f=7;for(M>>>=1;M;M>>>=1)v<<=1,v|=1&M,--f;g[i]=v<>>8&255]<<16|d[g>>>16&255]<<8|d[g>>>24&255]},p.interleave2=function(g,i){return(g=1431655765&((g=858993459&((g=252645135&((g=16711935&((g&=65535)|g<<8))|g<<4))|g<<2))|g<<1))|(i=1431655765&((i=858993459&((i=252645135&((i=16711935&((i&=65535)|i<<8))|i<<4))|i<<2))|i<<1))<<1},p.deinterleave2=function(g,i){return(g=65535&((g=16711935&((g=252645135&((g=858993459&((g=g>>>i&1431655765)|g>>>1))|g>>>2))|g>>>4))|g>>>16))<<16>>16},p.interleave3=function(g,i,M){return g=1227133513&((g=3272356035&((g=251719695&((g=4278190335&((g&=1023)|g<<16))|g<<8))|g<<4))|g<<2),(g|=(i=1227133513&((i=3272356035&((i=251719695&((i=4278190335&((i&=1023)|i<<16))|i<<8))|i<<4))|i<<2))<<1)|(M=1227133513&((M=3272356035&((M=251719695&((M=4278190335&((M&=1023)|M<<16))|M<<8))|M<<4))|M<<2))<<2},p.deinterleave3=function(g,i){return(g=1023&((g=4278190335&((g=251719695&((g=3272356035&((g=g>>>i&1227133513)|g>>>2))|g>>>4))|g>>>8))|g>>>16))<<22>>22},p.nextCombination=function(g){var i=g|g-1;return i+1|(~i&-~i)-1>>>t(g)+1}},44781:function(T,p,t){var d=t(53435);T.exports=function(v,f){f||(f={});var l,a,u,o,s,c,h,m,w,y,S,_=f.cutoff==null?.25:f.cutoff,k=f.radius==null?8:f.radius,E=f.channel||0;if(ArrayBuffer.isView(v)||Array.isArray(v)){if(!f.width||!f.height)throw Error("For raw data width and height should be provided by options");l=f.width,a=f.height,o=v,c=f.stride?f.stride:Math.floor(v.length/l/a)}else window.HTMLCanvasElement&&v instanceof window.HTMLCanvasElement?(h=(m=v).getContext("2d"),l=m.width,a=m.height,o=(w=h.getImageData(0,0,l,a)).data,c=4):window.CanvasRenderingContext2D&&v instanceof window.CanvasRenderingContext2D?(h=v,l=(m=v.canvas).width,a=m.height,o=(w=h.getImageData(0,0,l,a)).data,c=4):window.ImageData&&v instanceof window.ImageData&&(w=v,l=v.width,a=v.height,o=w.data,c=4);if(u=Math.max(l,a),window.Uint8ClampedArray&&o instanceof window.Uint8ClampedArray||window.Uint8Array&&o instanceof window.Uint8Array)for(s=o,o=Array(l*a),y=0,S=s.length;y-1?g(f):f}},68222:function(T,p,t){var d=t(77575),g=t(68318),i=g("%Function.prototype.apply%"),M=g("%Function.prototype.call%"),v=g("%Reflect.apply%",!0)||d.call(M,i),f=g("%Object.getOwnPropertyDescriptor%",!0),l=g("%Object.defineProperty%",!0),a=g("%Math.max%");if(l)try{l({},"a",{value:1})}catch{l=null}T.exports=function(o){var s=v(d,M,arguments);if(f&&l){var c=f(s,"length");c.configurable&&l(s,"length",{value:1+a(0,o.length-(arguments.length-1))})}return s};var u=function(){return v(d,i,arguments)};l?l(T.exports,"apply",{value:u}):T.exports.apply=u},53435:function(T){T.exports=function(p,t,d){return td?d:p:pt?t:p}},6475:function(T,p,t){var d=t(53435);function g(i,M){M==null&&(M=!0);var v=i[0],f=i[1],l=i[2],a=i[3];return a==null&&(a=M?1:255),M&&(v*=255,f*=255,l*=255,a*=255),16777216*(v=255&d(v,0,255))+((f=255&d(f,0,255))<<16)+((l=255&d(l,0,255))<<8)+(255&d(a,0,255))}T.exports=g,T.exports.to=g,T.exports.from=function(i,M){var v=(i=+i)>>>24,f=(16711680&i)>>>16,l=(65280&i)>>>8,a=255&i;return M===!1?[v,f,l,a]:[v/255,f/255,l/255,a/255]}},76857:function(T){T.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},25075:function(T,p,t){var d=t(36652),g=t(53435),i=t(90660);T.exports=function(M,v){v!=="float"&&v||(v="array"),v==="uint"&&(v="uint8"),v==="uint_clamped"&&(v="uint8_clamped");var f=new(i(v))(4),l=v!=="uint8"&&v!=="uint8_clamped";return M.length&&typeof M!="string"||((M=d(M))[0]/=255,M[1]/=255,M[2]/=255),function(a){return a instanceof Uint8Array||a instanceof Uint8ClampedArray||!!(Array.isArray(a)&&(a[0]>1||a[0]===0)&&(a[1]>1||a[1]===0)&&(a[2]>1||a[2]===0)&&(!a[3]||a[3]>1))}(M)?(f[0]=M[0],f[1]=M[1],f[2]=M[2],f[3]=M[3]!=null?M[3]:255,l&&(f[0]/=255,f[1]/=255,f[2]/=255,f[3]/=255),f):(l?(f[0]=M[0],f[1]=M[1],f[2]=M[2],f[3]=M[3]!=null?M[3]:1):(f[0]=g(Math.floor(255*M[0]),0,255),f[1]=g(Math.floor(255*M[1]),0,255),f[2]=g(Math.floor(255*M[2]),0,255),f[3]=M[3]==null?255:g(Math.floor(255*M[3]),0,255)),f)}},90736:function(T,p,t){var d=t(76857),g=t(10973),i=t(46775);T.exports=function(v){var f,l,a=[],u=1;if(typeof v=="string")if(d[v])a=d[v].slice(),l="rgb";else if(v==="transparent")u=0,l="rgb",a=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(v)){var o=(h=v.slice(1)).length;u=1,o<=4?(a=[parseInt(h[0]+h[0],16),parseInt(h[1]+h[1],16),parseInt(h[2]+h[2],16)],o===4&&(u=parseInt(h[3]+h[3],16)/255)):(a=[parseInt(h[0]+h[1],16),parseInt(h[2]+h[3],16),parseInt(h[4]+h[5],16)],o===8&&(u=parseInt(h[6]+h[7],16)/255)),a[0]||(a[0]=0),a[1]||(a[1]=0),a[2]||(a[2]=0),l="rgb"}else if(f=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(v)){var s=f[1],c=s==="rgb",h=s.replace(/a$/,"");l=h,o=h==="cmyk"?4:h==="gray"?1:3,a=f[2].trim().split(/\s*,\s*/).map(function(w,y){if(/%$/.test(w))return y===o?parseFloat(w)/100:h==="rgb"?255*parseFloat(w)/100:parseFloat(w);if(h[y]==="h"){if(/deg$/.test(w))return parseFloat(w);if(M[w]!==void 0)return M[w]}return parseFloat(w)}),s===h&&a.push(1),u=c||a[o]===void 0?1:a[o],a=a.slice(0,o)}else v.length>10&&/[0-9](?:\s|\/)/.test(v)&&(a=v.match(/([0-9]+)/g).map(function(w){return parseFloat(w)}),l=v.match(/([a-z])/gi).join("").toLowerCase());else if(isNaN(v))if(g(v)){var m=i(v.r,v.red,v.R,null);m!==null?(l="rgb",a=[m,i(v.g,v.green,v.G),i(v.b,v.blue,v.B)]):(l="hsl",a=[i(v.h,v.hue,v.H),i(v.s,v.saturation,v.S),i(v.l,v.lightness,v.L,v.b,v.brightness)]),u=i(v.a,v.alpha,v.opacity,1),v.opacity!=null&&(u/=100)}else(Array.isArray(v)||t.g.ArrayBuffer&&ArrayBuffer.isView&&ArrayBuffer.isView(v))&&(a=[v[0],v[1],v[2]],l="rgb",u=v.length===4?v[3]:1);else l="rgb",a=[v>>>16,(65280&v)>>>8,255&v];return{space:l,values:a,alpha:u}};var M={red:0,orange:60,yellow:120,green:180,blue:240,purple:300}},36652:function(T,p,t){var d=t(90736),g=t(80009),i=t(53435);T.exports=function(M){var v,f=d(M);return f.space?((v=Array(3))[0]=i(f.values[0],0,255),v[1]=i(f.values[1],0,255),v[2]=i(f.values[2],0,255),f.space[0]==="h"&&(v=g.rgb(v)),v.push(i(f.alpha,0,1)),v):[]}},80009:function(T,p,t){var d=t(6866);T.exports={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(g){var i,M,v,f,l,a=g[0]/360,u=g[1]/100,o=g[2]/100;if(u===0)return[l=255*o,l,l];i=2*o-(M=o<.5?o*(1+u):o+u-o*u),f=[0,0,0];for(var s=0;s<3;s++)(v=a+.3333333333333333*-(s-1))<0?v++:v>1&&v--,l=6*v<1?i+6*(M-i)*v:2*v<1?M:3*v<2?i+(M-i)*(.6666666666666666-v)*6:i,f[s]=255*l;return f}},d.hsl=function(g){var i,M,v=g[0]/255,f=g[1]/255,l=g[2]/255,a=Math.min(v,f,l),u=Math.max(v,f,l),o=u-a;return u===a?i=0:v===u?i=(f-l)/o:f===u?i=2+(l-v)/o:l===u&&(i=4+(v-f)/o),(i=Math.min(60*i,360))<0&&(i+=360),M=(a+u)/2,[i,100*(u===a?0:M<=.5?o/(u+a):o/(2-u-a)),100*M]}},6866:function(T){T.exports={name:"rgb",min:[0,0,0],max:[255,255,255],channel:["red","green","blue"],alias:["RGB"]}},24138:function(T){T.exports={AFG:"afghan",ALA:"\\b\\wland",ALB:"albania",DZA:"algeria",ASM:"^(?=.*americ).*samoa",AND:"andorra",AGO:"angola",AIA:"anguill?a",ATA:"antarctica",ATG:"antigua",ARG:"argentin",ARM:"armenia",ABW:"^(?!.*bonaire).*\\baruba",AUS:"australia",AUT:"^(?!.*hungary).*austria|\\baustri.*\\bemp",AZE:"azerbaijan",BHS:"bahamas",BHR:"bahrain",BGD:"bangladesh|^(?=.*east).*paki?stan",BRB:"barbados",BLR:"belarus|byelo",BEL:"^(?!.*luxem).*belgium",BLZ:"belize|^(?=.*british).*honduras",BEN:"benin|dahome",BMU:"bermuda",BTN:"bhutan",BOL:"bolivia",BES:"^(?=.*bonaire).*eustatius|^(?=.*carib).*netherlands|\\bbes.?islands",BIH:"herzegovina|bosnia",BWA:"botswana|bechuana",BVT:"bouvet",BRA:"brazil",IOT:"british.?indian.?ocean",BRN:"brunei",BGR:"bulgaria",BFA:"burkina|\\bfaso|upper.?volta",BDI:"burundi",CPV:"verde",KHM:"cambodia|kampuchea|khmer",CMR:"cameroon",CAN:"canada",CYM:"cayman",CAF:"\\bcentral.african.republic",TCD:"\\bchad",CHL:"\\bchile",CHN:"^(?!.*\\bmac)(?!.*\\bhong)(?!.*\\btai)(?!.*\\brep).*china|^(?=.*peo)(?=.*rep).*china",CXR:"christmas",CCK:"\\bcocos|keeling",COL:"colombia",COM:"comoro",COG:"^(?!.*\\bdem)(?!.*\\bd[\\.]?r)(?!.*kinshasa)(?!.*zaire)(?!.*belg)(?!.*l.opoldville)(?!.*free).*\\bcongo",COK:"\\bcook",CRI:"costa.?rica",CIV:"ivoire|ivory",HRV:"croatia",CUB:"\\bcuba",CUW:"^(?!.*bonaire).*\\bcura(c|ç)ao",CYP:"cyprus",CSK:"czechoslovakia",CZE:"^(?=.*rep).*czech|czechia|bohemia",COD:"\\bdem.*congo|congo.*\\bdem|congo.*\\bd[\\.]?r|\\bd[\\.]?r.*congo|belgian.?congo|congo.?free.?state|kinshasa|zaire|l.opoldville|drc|droc|rdc",DNK:"denmark",DJI:"djibouti",DMA:"dominica(?!n)",DOM:"dominican.rep",ECU:"ecuador",EGY:"egypt",SLV:"el.?salvador",GNQ:"guine.*eq|eq.*guine|^(?=.*span).*guinea",ERI:"eritrea",EST:"estonia",ETH:"ethiopia|abyssinia",FLK:"falkland|malvinas",FRO:"faroe|faeroe",FJI:"fiji",FIN:"finland",FRA:"^(?!.*\\bdep)(?!.*martinique).*france|french.?republic|\\bgaul",GUF:"^(?=.*french).*guiana",PYF:"french.?polynesia|tahiti",ATF:"french.?southern",GAB:"gabon",GMB:"gambia",GEO:"^(?!.*south).*georgia",DDR:"german.?democratic.?republic|democratic.?republic.*germany|east.germany",DEU:"^(?!.*east).*germany|^(?=.*\\bfed.*\\brep).*german",GHA:"ghana|gold.?coast",GIB:"gibraltar",GRC:"greece|hellenic|hellas",GRL:"greenland",GRD:"grenada",GLP:"guadeloupe",GUM:"\\bguam",GTM:"guatemala",GGY:"guernsey",GIN:"^(?!.*eq)(?!.*span)(?!.*bissau)(?!.*portu)(?!.*new).*guinea",GNB:"bissau|^(?=.*portu).*guinea",GUY:"guyana|british.?guiana",HTI:"haiti",HMD:"heard.*mcdonald",VAT:"holy.?see|vatican|papal.?st",HND:"^(?!.*brit).*honduras",HKG:"hong.?kong",HUN:"^(?!.*austr).*hungary",ISL:"iceland",IND:"india(?!.*ocea)",IDN:"indonesia",IRN:"\\biran|persia",IRQ:"\\biraq|mesopotamia",IRL:"(^ireland)|(^republic.*ireland)",IMN:"^(?=.*isle).*\\bman",ISR:"israel",ITA:"italy",JAM:"jamaica",JPN:"japan",JEY:"jersey",JOR:"jordan",KAZ:"kazak",KEN:"kenya|british.?east.?africa|east.?africa.?prot",KIR:"kiribati",PRK:"^(?=.*democrat|people|north|d.*p.*.r).*\\bkorea|dprk|korea.*(d.*p.*r)",KWT:"kuwait",KGZ:"kyrgyz|kirghiz",LAO:"\\blaos?\\b",LVA:"latvia",LBN:"lebanon",LSO:"lesotho|basuto",LBR:"liberia",LBY:"libya",LIE:"liechtenstein",LTU:"lithuania",LUX:"^(?!.*belg).*luxem",MAC:"maca(o|u)",MDG:"madagascar|malagasy",MWI:"malawi|nyasa",MYS:"malaysia",MDV:"maldive",MLI:"\\bmali\\b",MLT:"\\bmalta",MHL:"marshall",MTQ:"martinique",MRT:"mauritania",MUS:"mauritius",MYT:"\\bmayotte",MEX:"\\bmexic",FSM:"fed.*micronesia|micronesia.*fed",MCO:"monaco",MNG:"mongolia",MNE:"^(?!.*serbia).*montenegro",MSR:"montserrat",MAR:"morocco|\\bmaroc",MOZ:"mozambique",MMR:"myanmar|burma",NAM:"namibia",NRU:"nauru",NPL:"nepal",NLD:"^(?!.*\\bant)(?!.*\\bcarib).*netherlands",ANT:"^(?=.*\\bant).*(nether|dutch)",NCL:"new.?caledonia",NZL:"new.?zealand",NIC:"nicaragua",NER:"\\bniger(?!ia)",NGA:"nigeria",NIU:"niue",NFK:"norfolk",MNP:"mariana",NOR:"norway",OMN:"\\boman|trucial",PAK:"^(?!.*east).*paki?stan",PLW:"palau",PSE:"palestin|\\bgaza|west.?bank",PAN:"panama",PNG:"papua|new.?guinea",PRY:"paraguay",PER:"peru",PHL:"philippines",PCN:"pitcairn",POL:"poland",PRT:"portugal",PRI:"puerto.?rico",QAT:"qatar",KOR:"^(?!.*d.*p.*r)(?!.*democrat)(?!.*people)(?!.*north).*\\bkorea(?!.*d.*p.*r)",MDA:"moldov|b(a|e)ssarabia",REU:"r(e|é)union",ROU:"r(o|u|ou)mania",RUS:"\\brussia|soviet.?union|u\\.?s\\.?s\\.?r|socialist.?republics",RWA:"rwanda",BLM:"barth(e|é)lemy",SHN:"helena",KNA:"kitts|\\bnevis",LCA:"\\blucia",MAF:"^(?=.*collectivity).*martin|^(?=.*france).*martin(?!ique)|^(?=.*french).*martin(?!ique)",SPM:"miquelon",VCT:"vincent",WSM:"^(?!.*amer).*samoa",SMR:"san.?marino",STP:"\\bs(a|ã)o.?tom(e|é)",SAU:"\\bsa\\w*.?arabia",SEN:"senegal",SRB:"^(?!.*monte).*serbia",SYC:"seychell",SLE:"sierra",SGP:"singapore",SXM:"^(?!.*martin)(?!.*saba).*maarten",SVK:"^(?!.*cze).*slovak",SVN:"slovenia",SLB:"solomon",SOM:"somali",ZAF:"south.africa|s\\\\..?africa",SGS:"south.?georgia|sandwich",SSD:"\\bs\\w*.?sudan",ESP:"spain",LKA:"sri.?lanka|ceylon",SDN:"^(?!.*\\bs(?!u)).*sudan",SUR:"surinam|dutch.?guiana",SJM:"svalbard",SWZ:"swaziland",SWE:"sweden",CHE:"switz|swiss",SYR:"syria",TWN:"taiwan|taipei|formosa|^(?!.*peo)(?=.*rep).*china",TJK:"tajik",THA:"thailand|\\bsiam",MKD:"macedonia|fyrom",TLS:"^(?=.*leste).*timor|^(?=.*east).*timor",TGO:"togo",TKL:"tokelau",TON:"tonga",TTO:"trinidad|tobago",TUN:"tunisia",TUR:"turkey",TKM:"turkmen",TCA:"turks",TUV:"tuvalu",UGA:"uganda",UKR:"ukrain",ARE:"emirates|^u\\.?a\\.?e\\.?$|united.?arab.?em",GBR:"united.?kingdom|britain|^u\\.?k\\.?$",TZA:"tanzania",USA:"united.?states\\b(?!.*islands)|\\bu\\.?s\\.?a\\.?\\b|^\\s*u\\.?s\\.?\\b(?!.*islands)",UMI:"minor.?outlying.?is",URY:"uruguay",UZB:"uzbek",VUT:"vanuatu|new.?hebrides",VEN:"venezuela",VNM:"^(?!.*republic).*viet.?nam|^(?=.*socialist).*viet.?nam",VGB:"^(?=.*\\bu\\.?\\s?k).*virgin|^(?=.*brit).*virgin|^(?=.*kingdom).*virgin",VIR:"^(?=.*\\bu\\.?\\s?s).*virgin|^(?=.*states).*virgin",WLF:"futuna|wallis",ESH:"western.sahara",YEM:"^(?!.*arab)(?!.*north)(?!.*sana)(?!.*peo)(?!.*dem)(?!.*south)(?!.*aden)(?!.*\\bp\\.?d\\.?r).*yemen",YMD:"^(?=.*peo).*yemen|^(?!.*rep)(?=.*dem).*yemen|^(?=.*south).*yemen|^(?=.*aden).*yemen|^(?=.*\\bp\\.?d\\.?r).*yemen",YUG:"yugoslavia",ZMB:"zambia|northern.?rhodesia",EAZ:"zanzibar",ZWE:"zimbabwe|^(?!.*northern).*rhodesia"}},72791:function(T,p,t){T.exports={parse:t(41004),stringify:t(53313)}},63625:function(T,p,t){var d=t(40402);T.exports={isSize:function(g){return/^[\d\.]/.test(g)||g.indexOf("/")!==-1||d.indexOf(g)!==-1}}},41004:function(T,p,t){var d=t(90448),g=t(38732),i=t(41901),M=t(15659),v=t(96209),f=t(83794),l=t(99011),a=t(63625).isSize;T.exports=o;var u=o.cache={};function o(c){if(typeof c!="string")throw new Error("Font argument must be a string.");if(u[c])return u[c];if(c==="")throw new Error("Cannot parse an empty string.");if(i.indexOf(c)!==-1)return u[c]={system:c};for(var h,m={style:"normal",variant:"normal",weight:"normal",stretch:"normal",lineHeight:"normal",size:"1rem",family:["serif"]},w=l(c,/\s+/);h=w.shift();){if(g.indexOf(h)!==-1)return["style","variant","weight","stretch"].forEach(function(S){m[S]=h}),u[c]=m;if(v.indexOf(h)===-1)if(h!=="normal"&&h!=="small-caps")if(f.indexOf(h)===-1){if(M.indexOf(h)===-1){if(a(h)){var y=l(h,"/");if(m.size=y[0],y[1]!=null?m.lineHeight=s(y[1]):w[0]==="/"&&(w.shift(),m.lineHeight=s(w.shift())),!w.length)throw new Error("Missing required font-family.");return m.family=l(w.join(" "),/\s*,\s*/).map(d),u[c]=m}throw new Error("Unknown or unsupported font token: "+h)}m.weight=h}else m.stretch=h;else m.variant=h;else m.style=h}throw new Error("Missing required font-size.")}function s(c){var h=parseFloat(c);return h.toString()===c?h:c}},53313:function(T,p,t){var d=t(71299),g=t(63625).isSize,i=c(t(38732)),M=c(t(41901)),v=c(t(15659)),f=c(t(96209)),l=c(t(83794)),a={normal:1,"small-caps":1},u={serif:1,"sans-serif":1,monospace:1,cursive:1,fantasy:1,"system-ui":1},o="serif";function s(h,m){if(h&&!m[h]&&!i[h])throw Error("Unknown keyword `"+h+"`");return h}function c(h){for(var m={},w=0;wc?1:s>=c?0:NaN}t.d(p,{j2:function(){return d},Fp:function(){return M},J6:function(){return f},TS:function(){return l},VV:function(){return a},w6:function(){return u},Sm:function(){return o}}),(g=d).length===1&&(i=g,g=function(s,c){return d(i(s),c)});var g,i;function M(s,c){var h,m,w=s.length,y=-1;if(c==null){for(;++y=h)for(m=h;++ym&&(m=h)}else for(;++y=h)for(m=h;++ym&&(m=h);return m}function v(s){return s===null?NaN:+s}function f(s,c){var h,m=s.length,w=m,y=-1,S=0;if(c==null)for(;++y=0;)for(c=(m=s[w]).length;--c>=0;)h[--S]=m[c];return h}function a(s,c){var h,m,w=s.length,y=-1;if(c==null){for(;++y=h)for(m=h;++yh&&(m=h)}else for(;++y=h)for(m=h;++yh&&(m=h);return m}function u(s,c,h){s=+s,c=+c,h=(w=arguments.length)<2?(c=s,s=0,1):w<3?1:+h;for(var m=-1,w=0|Math.max(0,Math.ceil((c-s)/h)),y=new Array(w);++m=w.length)return c!=null&&k.sort(c),h!=null?h(k):k;for(var L,b,R,I=-1,O=k.length,z=w[E++],F=M(),B=x();++Iw.length)return k;var x,A=y[E-1];return h!=null&&E>=w.length?x=k.entries():(x=[],k.each(function(L,b){x.push({key:b,values:_(L,E)})})),A!=null?x.sort(function(L,b){return A(L.key,b.key)}):x}return m={object:function(k){return S(k,0,f,l)},map:function(k){return S(k,0,a,u)},entries:function(k){return _(S(k,0,a,u),0)},key:function(k){return w.push(k),m},sortKeys:function(k){return y[w.length-1]=k,m},sortValues:function(k){return c=k,m},rollup:function(k){return h=k,m}}}function f(){return{}}function l(c,h,m){c[h]=m}function a(){return M()}function u(c,h,m){c.set(h,m)}function o(){}var s=M.prototype;o.prototype={constructor:o,has:s.has,add:function(c){return this[d+(c+="")]=c,this},remove:s.remove,clear:s.clear,values:s.keys,size:s.size,empty:s.empty,each:s.each}},49887:function(T,p,t){function d(me,pe){var xe;function Pe(){var _e,Me,Se=xe.length,Ce=0,ae=0;for(_e=0;_e=(Me=(je+we)/2))?je=Me:we=Me,(be=xe>=(Se=(ge+Ee)/2))?ge=Se:Ee=Se,_e=Be,!(Be=Be[ke=be<<1|fe]))return _e[ke]=ze,me;if(Ce=+me._x.call(null,Be.data),ae=+me._y.call(null,Be.data),pe===Ce&&xe===ae)return ze.next=Be,_e?_e[ke]=ze:me._root=ze,me;do _e=_e?_e[ke]=new Array(4):me._root=new Array(4),(fe=pe>=(Me=(je+we)/2))?je=Me:we=Me,(be=xe>=(Se=(ge+Ee)/2))?ge=Se:Ee=Se;while((ke=be<<1|fe)==(Le=(ae>=Se)<<1|Ce>=Me));return _e[Le]=Be,_e[ke]=ze,me}function v(me,pe,xe,Pe,_e){this.node=me,this.x0=pe,this.y0=xe,this.x1=Pe,this.y1=_e}function f(me){return me[0]}function l(me){return me[1]}function a(me,pe,xe){var Pe=new u(pe??f,xe??l,NaN,NaN,NaN,NaN);return me==null?Pe:Pe.addAll(me)}function u(me,pe,xe,Pe,_e,Me){this._x=me,this._y=pe,this._x0=xe,this._y0=Pe,this._x1=_e,this._y1=Me,this._root=void 0}function o(me){for(var pe={data:me.data},xe=pe;me=me.next;)xe=xe.next={data:me.data};return pe}t.r(p),t.d(p,{forceCenter:function(){return d},forceCollide:function(){return m},forceLink:function(){return _},forceManyBody:function(){return ue},forceRadial:function(){return ce},forceSimulation:function(){return oe},forceX:function(){return ye},forceY:function(){return de}});var s=a.prototype=u.prototype;function c(me){return me.x+me.vx}function h(me){return me.y+me.vy}function m(me){var pe,xe,Pe=1,_e=1;function Me(){for(var ae,fe,be,ke,Le,Be,ze,je=pe.length,ge=0;ge<_e;++ge)for(fe=a(pe,c,h).visitAfter(Se),ae=0;aeke+bt||YeLe+bt||stbe.index){var Et=ke-ot.x-ot.vx,kt=Le-ot.y-ot.vy,xt=Et*Et+kt*kt;xtae.r&&(ae.r=ae[fe].r)}function Ce(){if(pe){var ae,fe,be=pe.length;for(xe=new Array(be),ae=0;aebe&&(be=Pe),_eke&&(ke=_e));if(ae>be||fe>ke)return this;for(this.cover(ae,fe).cover(be,ke),xe=0;xeme||me>=_e||Pe>pe||pe>=Me;)switch(Ce=(peLe||(Me=ae.y0)>Be||(Se=ae.x1)=we)<<1|me>=ge)&&(ae=ze[ze.length-1],ze[ze.length-1]=ze[ze.length-1-fe],ze[ze.length-1-fe]=ae)}else{var Ee=me-+this._x.call(null,je.data),Ve=pe-+this._y.call(null,je.data),$e=Ee*Ee+Ve*Ve;if($e=(Ce=(ze+ge)/2))?ze=Ce:ge=Ce,(be=Se>=(ae=(je+we)/2))?je=ae:we=ae,pe=Be,!(Be=Be[ke=be<<1|fe]))return this;if(!Be.length)break;(pe[ke+1&3]||pe[ke+2&3]||pe[ke+3&3])&&(xe=pe,Le=ke)}for(;Be.data!==me;)if(Pe=Be,!(Be=Be.next))return this;return(_e=Be.next)&&delete Be.next,Pe?(_e?Pe.next=_e:delete Pe.next,this):pe?(_e?pe[ke]=_e:delete pe[ke],(Be=pe[0]||pe[1]||pe[2]||pe[3])&&Be===(pe[3]||pe[2]||pe[1]||pe[0])&&!Be.length&&(xe?xe[Le]=Be:this._root=Be),this):(this._root=_e,this)},s.removeAll=function(me){for(var pe=0,xe=me.length;pe=0&&(Pe=xe.slice(_e+1),xe=xe.slice(0,_e)),xe&&!pe.hasOwnProperty(xe))throw new Error("unknown type: "+xe);return{type:xe,name:Pe}})}function L(me,pe){for(var xe,Pe=0,_e=me.length;Pe<_e;++Pe)if((xe=me[Pe]).name===pe)return xe.value}function b(me,pe,xe){for(var Pe=0,_e=me.length;Pe<_e;++Pe)if(me[Pe].name===pe){me[Pe]=k,me=me.slice(0,Pe).concat(me.slice(Pe+1));break}return xe!=null&&me.push({name:pe,value:xe}),me}x.prototype=E.prototype={constructor:x,on:function(me,pe){var xe,Pe=this._,_e=A(me+"",Pe),Me=-1,Se=_e.length;if(!(arguments.length<2)){if(pe!=null&&typeof pe!="function")throw new Error("invalid callback: "+pe);for(;++Me0)for(var xe,Pe,_e=new Array(xe),Me=0;Me=0&&pe._call.call(null,me),pe=pe._next;--z})()}finally{z=0,function(){for(var me,pe,xe=R,Pe=1/0;xe;)xe._call?(Pe>xe._time&&(Pe=xe._time),me=xe,xe=xe._next):(pe=xe._next,xe._next=null,xe=me?me._next=pe:R=pe);I=me,X(Pe)}(),W=0}}function Z(){var me=$.now(),pe=me-N;pe>1e3&&(j-=pe,N=me)}function X(me){z||(F&&(F=clearTimeout(F)),me-W>24?(me<1/0&&(F=setTimeout(te,me-$.now()-j)),B&&(B=clearInterval(B))):(B||(N=$.now(),B=setInterval(Z,1e3)),z=1,U(te)))}function Q(me){return me.x}function re(me){return me.y}H.prototype=ne.prototype={constructor:H,restart:function(me,pe,xe){if(typeof me!="function")throw new TypeError("callback is not a function");xe=(xe==null?G():+xe)+(pe==null?0:+pe),this._next||I===this||(I?I._next=this:R=this,I=this),this._call=me,this._time=xe,X()},stop:function(){this._call&&(this._call=null,this._time=1/0,X())}};var ie=Math.PI*(3-Math.sqrt(5));function oe(me){var pe,xe=1,Pe=.001,_e=1-Math.pow(Pe,1/300),Me=0,Se=.6,Ce=(0,w.UI)(),ae=ne(be),fe=O("tick","end");function be(){ke(),fe.call("tick",pe),xe1?(je==null?Ce.remove(ze):Ce.set(ze,Be(je)),pe):Ce.get(ze)},find:function(ze,je,ge){var we,Ee,Ve,$e,Ye,st=0,ot=me.length;for(ge==null?ge=1/0:ge*=ge,st=0;st1?(fe.on(ze,je),pe):fe.on(ze)}}}function ue(){var me,pe,xe,Pe,_e=g(-30),Me=1,Se=1/0,Ce=.81;function ae(Le){var Be,ze=me.length,je=a(me,Q,re).visitAfter(be);for(xe=Le,Be=0;Be=Se)){(Le.data!==pe||Le.next)&&(ge===0&&(Ve+=(ge=i())*ge),we===0&&(Ve+=(we=i())*we),Ve1?S[0]+S.slice(2):S,+m.slice(y+1)]}t.d(p,{WU:function(){return o},FF:function(){return h}});var g,i=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function M(m){if(!(w=i.exec(m)))throw new Error("invalid format: "+m);var w;return new v({fill:w[1],align:w[2],sign:w[3],symbol:w[4],zero:w[5],width:w[6],comma:w[7],precision:w[8]&&w[8].slice(1),trim:w[9],type:w[10]})}function v(m){this.fill=m.fill===void 0?" ":m.fill+"",this.align=m.align===void 0?">":m.align+"",this.sign=m.sign===void 0?"-":m.sign+"",this.symbol=m.symbol===void 0?"":m.symbol+"",this.zero=!!m.zero,this.width=m.width===void 0?void 0:+m.width,this.comma=!!m.comma,this.precision=m.precision===void 0?void 0:+m.precision,this.trim=!!m.trim,this.type=m.type===void 0?"":m.type+""}function f(m,w){var y=d(m,w);if(!y)return m+"";var S=y[0],_=y[1];return _<0?"0."+new Array(-_).join("0")+S:S.length>_+1?S.slice(0,_+1)+"."+S.slice(_+1):S+new Array(_-S.length+2).join("0")}M.prototype=v.prototype,v.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,0|this.width))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var l={"%":function(m,w){return(100*m).toFixed(w)},b:function(m){return Math.round(m).toString(2)},c:function(m){return m+""},d:function(m){return Math.abs(m=Math.round(m))>=1e21?m.toLocaleString("en").replace(/,/g,""):m.toString(10)},e:function(m,w){return m.toExponential(w)},f:function(m,w){return m.toFixed(w)},g:function(m,w){return m.toPrecision(w)},o:function(m){return Math.round(m).toString(8)},p:function(m,w){return f(100*m,w)},r:f,s:function(m,w){var y=d(m,w);if(!y)return m+"";var S=y[0],_=y[1],k=_-(g=3*Math.max(-8,Math.min(8,Math.floor(_/3))))+1,E=S.length;return k===E?S:k>E?S+new Array(k-E+1).join("0"):k>0?S.slice(0,k)+"."+S.slice(k):"0."+new Array(1-k).join("0")+d(m,Math.max(0,w+k-1))[0]},X:function(m){return Math.round(m).toString(16).toUpperCase()},x:function(m){return Math.round(m).toString(16)}};function a(m){return m}var u,o,s=Array.prototype.map,c=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function h(m){var w,y,S=m.grouping===void 0||m.thousands===void 0?a:(w=s.call(m.grouping,Number),y=m.thousands+"",function(I,O){for(var z=I.length,F=[],B=0,N=w[0],W=0;z>0&&N>0&&(W+N+1>O&&(N=Math.max(1,O-W)),F.push(I.substring(z-=N,z+N)),!((W+=N+1)>O));)N=w[B=(B+1)%w.length];return F.reverse().join(y)}),_=m.currency===void 0?"":m.currency[0]+"",k=m.currency===void 0?"":m.currency[1]+"",E=m.decimal===void 0?".":m.decimal+"",x=m.numerals===void 0?a:function(I){return function(O){return O.replace(/[0-9]/g,function(z){return I[+z]})}}(s.call(m.numerals,String)),A=m.percent===void 0?"%":m.percent+"",L=m.minus===void 0?"-":m.minus+"",b=m.nan===void 0?"NaN":m.nan+"";function R(I){var O=(I=M(I)).fill,z=I.align,F=I.sign,B=I.symbol,N=I.zero,W=I.width,j=I.comma,$=I.precision,U=I.trim,G=I.type;G==="n"?(j=!0,G="g"):l[G]||($===void 0&&($=12),U=!0,G="g"),(N||O==="0"&&z==="=")&&(N=!0,O="0",z="=");var q=B==="$"?_:B==="#"&&/[boxX]/.test(G)?"0"+G.toLowerCase():"",H=B==="$"?k:/[%p]/.test(G)?A:"",ne=l[G],te=/[defgprs%]/.test(G);function Z(X){var Q,re,ie,oe=q,ue=H;if(G==="c")ue=ne(X)+ue,X="";else{var ce=(X=+X)<0||1/X<0;if(X=isNaN(X)?b:ne(Math.abs(X),$),U&&(X=function(me){e:for(var pe,xe=me.length,Pe=1,_e=-1;Pe0&&(_e=0)}return _e>0?me.slice(0,_e)+me.slice(pe+1):me}(X)),ce&&+X==0&&F!=="+"&&(ce=!1),oe=(ce?F==="("?F:L:F==="-"||F==="("?"":F)+oe,ue=(G==="s"?c[8+g/3]:"")+ue+(ce&&F==="("?")":""),te){for(Q=-1,re=X.length;++Q(ie=X.charCodeAt(Q))||ie>57){ue=(ie===46?E+X.slice(Q+1):X.slice(Q))+ue,X=X.slice(0,Q);break}}}j&&!N&&(X=S(X,1/0));var ye=oe.length+X.length+ue.length,de=ye>1)+oe+X+ue+de.slice(ye);break;default:X=de+oe+X+ue}return x(X)}return $=$===void 0?6:/[gprs]/.test(G)?Math.max(1,Math.min(21,$)):Math.max(0,Math.min(20,$)),Z.toString=function(){return I+""},Z}return{format:R,formatPrefix:function(I,O){var z,F=R(((I=M(I)).type="f",I)),B=3*Math.max(-8,Math.min(8,Math.floor((z=O,((z=d(Math.abs(z)))?z[1]:NaN)/3)))),N=Math.pow(10,-B),W=c[8+B/3];return function(j){return F(N*j)+W}}}}u=h({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),o=u.format,u.formatPrefix},65704:function(T,p,t){t.r(p),t.d(p,{geoAiry:function(){return j},geoAiryRaw:function(){return W},geoAitoff:function(){return U},geoAitoffRaw:function(){return $},geoArmadillo:function(){return q},geoArmadilloRaw:function(){return G},geoAugust:function(){return ne},geoAugustRaw:function(){return H},geoBaker:function(){return Q},geoBakerRaw:function(){return X},geoBerghaus:function(){return oe},geoBerghausRaw:function(){return ie},geoBertin1953:function(){return Pe},geoBertin1953Raw:function(){return xe},geoBoggs:function(){return ke},geoBoggsRaw:function(){return be},geoBonne:function(){return ge},geoBonneRaw:function(){return je},geoBottomley:function(){return Ee},geoBottomleyRaw:function(){return we},geoBromley:function(){return $e},geoBromleyRaw:function(){return Ve},geoChamberlin:function(){return Ft},geoChamberlinAfrica:function(){return xt},geoChamberlinRaw:function(){return Et},geoCollignon:function(){return Bt},geoCollignonRaw:function(){return Ot},geoCraig:function(){return Vt},geoCraigRaw:function(){return qt},geoCraster:function(){return qe},geoCrasterRaw:function(){return Je},geoCylindricalEqualArea:function(){return ft},geoCylindricalEqualAreaRaw:function(){return nt},geoCylindricalStereographic:function(){return Ne},geoCylindricalStereographicRaw:function(){return Re},geoEckert1:function(){return ut},geoEckert1Raw:function(){return Qe},geoEckert2:function(){return _t},geoEckert2Raw:function(){return dt},geoEckert3:function(){return Lt},geoEckert3Raw:function(){return It},geoEckert4:function(){return Pt},geoEckert4Raw:function(){return yt},geoEckert5:function(){return Rt},geoEckert5Raw:function(){return wt},geoEckert6:function(){return Yt},geoEckert6Raw:function(){return Nt},geoEisenlohr:function(){return Qt},geoEisenlohrRaw:function(){return Xt},geoFahey:function(){return un},geoFaheyRaw:function(){return xn},geoFoucaut:function(){return Yn},geoFoucautRaw:function(){return An},geoFoucautSinusoidal:function(){return sn},geoFoucautSinusoidalRaw:function(){return kn},geoGilbert:function(){return In},geoGingery:function(){return lr},geoGingeryRaw:function(){return jn},geoGinzburg4:function(){return yr},geoGinzburg4Raw:function(){return Sr},geoGinzburg5:function(){return vr},geoGinzburg5Raw:function(){return or},geoGinzburg6:function(){return Kt},geoGinzburg6Raw:function(){return _r},geoGinzburg8:function(){return Rn},geoGinzburg8Raw:function(){return bn},geoGinzburg9:function(){return Un},geoGinzburg9Raw:function(){return Ln},geoGringorten:function(){return tr},geoGringortenQuincuncial:function(){return qc},geoGringortenRaw:function(){return $n},geoGuyou:function(){return jt},geoGuyouRaw:function(){return Pn},geoHammer:function(){return de},geoHammerRaw:function(){return ce},geoHammerRetroazimuthal:function(){return On},geoHammerRetroazimuthalRaw:function(){return hn},geoHealpix:function(){return nr},geoHealpixRaw:function(){return yn},geoHill:function(){return hr},geoHillRaw:function(){return Qn},geoHomolosine:function(){return Lr},geoHomolosineRaw:function(){return Ir},geoHufnagel:function(){return gr},geoHufnagelRaw:function(){return zr},geoHyperelliptical:function(){return ea},geoHyperellipticalRaw:function(){return ji},geoInterrupt:function(){return Xi},geoInterruptedBoggs:function(){return rs},geoInterruptedHomolosine:function(){return Cu},geoInterruptedMollweide:function(){return Mh},geoInterruptedMollweideHemispheres:function(){return is},geoInterruptedQuarticAuthalic:function(){return nu},geoInterruptedSinuMollweide:function(){return Ya},geoInterruptedSinusoidal:function(){return Yo},geoKavrayskiy7:function(){return Ml},geoKavrayskiy7Raw:function(){return as},geoLagrange:function(){return Al},geoLagrangeRaw:function(){return Ui},geoLarrivee:function(){return js},geoLarriveeRaw:function(){return Es},geoLaskowski:function(){return vf},geoLaskowskiRaw:function(){return fc},geoLittrow:function(){return yf},geoLittrowRaw:function(){return tl},geoLoximuthal:function(){return id},geoLoximuthalRaw:function(){return bf},geoMiller:function(){return xf},geoMillerRaw:function(){return Sh},geoModifiedStereographic:function(){return Ql},geoModifiedStereographicAlaska:function(){return Lh},geoModifiedStereographicGs48:function(){return Jl},geoModifiedStereographicGs50:function(){return jc},geoModifiedStereographicLee:function(){return Iu},geoModifiedStereographicMiller:function(){return Sl},geoModifiedStereographicRaw:function(){return Ch},geoMollweide:function(){return Ce},geoMollweideRaw:function(){return Se},geoMtFlatPolarParabolic:function(){return ad},geoMtFlatPolarParabolicRaw:function(){return Cl},geoMtFlatPolarQuartic:function(){return dc},geoMtFlatPolarQuarticRaw:function(){return Uc},geoMtFlatPolarSinusoidal:function(){return Ru},geoMtFlatPolarSinusoidalRaw:function(){return eu},geoNaturalEarth:function(){return ms.Z},geoNaturalEarth2:function(){return pc},geoNaturalEarth2Raw:function(){return Ih},geoNaturalEarthRaw:function(){return ms.K},geoNellHammer:function(){return mc},geoNellHammerRaw:function(){return Pu},geoNicolosi:function(){return gc},geoNicolosiRaw:function(){return Ou},geoPatterson:function(){return Hc},geoPattersonRaw:function(){return El},geoPeirceQuincuncial:function(){return Wc},geoPierceQuincuncial:function(){return Wc},geoPolyconic:function(){return Ph},geoPolyconicRaw:function(){return xc},geoPolyhedral:function(){return Ll},geoPolyhedralButterfly:function(){return Gc},geoPolyhedralCollignon:function(){return Dh},geoPolyhedralWaterman:function(){return ou},geoProject:function(){return lu},geoQuantize:function(){return Lo},geoQuincuncial:function(){return $o},geoRectangularPolyconic:function(){return uu},geoRectangularPolyconicRaw:function(){return Dr},geoRobinson:function(){return zu},geoRobinsonRaw:function(){return Yc},geoSatellite:function(){return Bu},geoSatelliteRaw:function(){return Fu},geoSinuMollweide:function(){return br},geoSinuMollweideRaw:function(){return dr},geoSinusoidal:function(){return ze},geoSinusoidalRaw:function(){return Be},geoStitch:function(){return hu},geoTimes:function(){return xs},geoTimesRaw:function(){return yo},geoTwoPointAzimuthal:function(){return _s},geoTwoPointAzimuthalRaw:function(){return Tc},geoTwoPointAzimuthalUsa:function(){return os},geoTwoPointEquidistant:function(){return Wi},geoTwoPointEquidistantRaw:function(){return Gs},geoTwoPointEquidistantUsa:function(){return Bo},geoVanDerGrinten:function(){return Is},geoVanDerGrinten2:function(){return qs},geoVanDerGrinten2Raw:function(){return No},geoVanDerGrinten3:function(){return ul},geoVanDerGrinten3Raw:function(){return Ol},geoVanDerGrinten4:function(){return ws},geoVanDerGrinten4Raw:function(){return bo},geoVanDerGrintenRaw:function(){return no},geoWagner:function(){return ni},geoWagner4:function(){return Zc},geoWagner4Raw:function(){return xo},geoWagner6:function(){return ju},geoWagner6Raw:function(){return Vo},geoWagner7:function(){return Vu},geoWagnerRaw:function(){return Hr},geoWiechel:function(){return Ji},geoWiechelRaw:function(){return hl},geoWinkel3:function(){return Xc},geoWinkel3Raw:function(){return la}});var d=t(15002),g=Math.abs,i=Math.atan,M=Math.atan2,v=Math.cos,f=Math.exp,l=Math.floor,a=Math.log,u=Math.max,o=Math.min,s=Math.pow,c=Math.round,h=Math.sign||function(et){return et>0?1:et<0?-1:0},m=Math.sin,w=Math.tan,y=1e-6,S=1e-12,_=Math.PI,k=_/2,E=_/4,x=Math.SQRT1_2,A=F(2),L=F(_),b=2*_,R=180/_,I=_/180;function O(et){return et>1?k:et<-1?-k:Math.asin(et)}function z(et){return et>1?0:et<-1?_:Math.acos(et)}function F(et){return et>0?Math.sqrt(et):0}function B(et){return(f(et)-f(-et))/2}function N(et){return(f(et)+f(-et))/2}function W(et){var rt=w(et/2),ct=2*a(v(et/2))/(rt*rt);function vt(St,Mt){var Y=v(St),ee=v(Mt),K=m(Mt),le=ee*Y,Te=-((1-le?a((1+le)/2)/(1-le):-.5)+ct/(1+le));return[Te*ee*m(St),Te*K]}return vt.invert=function(St,Mt){var Y,ee=F(St*St+Mt*Mt),K=-et/2,le=50;if(!ee)return[0,0];do{var Te=K/2,De=v(Te),He=m(Te),Ze=He/De,at=-a(g(De));K-=Y=(2/Ze*at-ct*Ze-ee)/(-at/(He*He)+1-ct/(2*De*De))*(De<0?.7:1)}while(g(Y)>y&&--le>0);var Tt=m(K);return[M(St*Tt,ee*v(K)),O(Mt*Tt/ee)]},vt}function j(){var et=k,rt=(0,d.r)(W),ct=rt(et);return ct.radius=function(vt){return arguments.length?rt(et=vt*I):et*R},ct.scale(179.976).clipAngle(147)}function $(et,rt){var ct=v(rt),vt=function(St){return St?St/Math.sin(St):1}(z(ct*v(et/=2)));return[2*ct*m(et)*vt,m(rt)*vt]}function U(){return(0,d.Z)($).scale(152.63)}function G(et){var rt=m(et),ct=v(et),vt=et>=0?1:-1,St=w(vt*et),Mt=(1+rt-ct)/2;function Y(ee,K){var le=v(K),Te=v(ee/=2);return[(1+le)*m(ee),(vt*K>-M(Te,St)-.001?0:10*-vt)+Mt+m(K)*ct-(1+le)*rt*Te]}return Y.invert=function(ee,K){var le=0,Te=0,De=50;do{var He=v(le),Ze=m(le),at=v(Te),Tt=m(Te),At=1+at,se=At*Ze-ee,ve=Mt+Tt*ct-At*rt*He-K,Ie=At*He/2,Fe=-Ze*Tt,Ue=rt*At*Ze/2,We=ct*at+rt*He*Tt,Xe=Fe*Ue-We*Ie,tt=(ve*Fe-se*We)/Xe/2,lt=(se*Ue-ve*Ie)/Xe;g(lt)>2&&(lt/=2),le-=tt,Te-=lt}while((g(tt)>y||g(lt)>y)&&--De>0);return vt*Te>-M(v(le),St)-.001?[2*le,Te]:null},Y}function q(){var et=20*I,rt=et>=0?1:-1,ct=w(rt*et),vt=(0,d.r)(G),St=vt(et),Mt=St.stream;return St.parallel=function(Y){return arguments.length?(ct=w((rt=(et=Y*I)>=0?1:-1)*et),vt(et)):et*R},St.stream=function(Y){var ee=St.rotate(),K=Mt(Y),le=(St.rotate([0,0]),Mt(Y)),Te=St.precision();return St.rotate(ee),K.sphere=function(){le.polygonStart(),le.lineStart();for(var De=-180*rt;rt*De<180;De+=90*rt)le.point(De,90*rt);if(et)for(;rt*(De-=3*rt*Te)>=-180;)le.point(De,rt*-M(v(De*I/2),ct)*R);le.lineEnd(),le.polygonEnd()},K},St.scale(218.695).center([0,28.0974])}function H(et,rt){var ct=w(rt/2),vt=F(1-ct*ct),St=1+vt*v(et/=2),Mt=m(et)*vt/St,Y=ct/St,ee=Mt*Mt,K=Y*Y;return[1.3333333333333333*Mt*(3+ee-3*K),1.3333333333333333*Y*(3+3*ee-K)]}function ne(){return(0,d.Z)(H).scale(66.1603)}$.invert=function(et,rt){if(!(et*et+4*rt*rt>_*_+y)){var ct=et,vt=rt,St=25;do{var Mt,Y=m(ct),ee=m(ct/2),K=v(ct/2),le=m(vt),Te=v(vt),De=m(2*vt),He=le*le,Ze=Te*Te,at=ee*ee,Tt=1-Ze*K*K,At=Tt?z(Te*K)*F(Mt=1/Tt):Mt=0,se=2*At*Te*ee-et,ve=At*le-rt,Ie=Mt*(Ze*at+At*Te*K*He),Fe=Mt*(.5*Y*De-2*At*le*ee),Ue=.25*Mt*(De*ee-At*le*Ze*Y),We=Mt*(He*K+At*at*Te),Xe=Fe*Ue-We*Ie;if(!Xe)break;var tt=(ve*Fe-se*We)/Xe,lt=(se*Ue-ve*Ie)/Xe;ct-=tt,vt-=lt}while((g(tt)>y||g(lt)>y)&&--St>0);return[ct,vt]}},H.invert=function(et,rt){if(rt*=.375,!(et*=.375)&&g(rt)>1)return null;var ct=1+et*et+rt*rt,vt=F((ct-F(ct*ct-4*rt*rt))/2),St=O(vt)/3,Mt=vt?function(le){return a(le+F(le*le-1))}(g(rt/vt))/3:function(le){return a(le+F(le*le+1))}(g(et))/3,Y=v(St),ee=N(Mt),K=ee*ee-Y*Y;return[2*h(et)*M(B(Mt)*Y,.25-K),2*h(rt)*M(ee*m(St),.25+K)]};var te=F(8),Z=a(1+A);function X(et,rt){var ct=g(rt);return ctS&&--Mt>0);return[et/(v(St)*(te-1/m(St))),h(rt)*St]};var re=t(17889);function ie(et){var rt=2*_/et;function ct(vt,St){var Mt=(0,re.N)(vt,St);if(g(vt)>k){var Y=M(Mt[1],Mt[0]),ee=F(Mt[0]*Mt[0]+Mt[1]*Mt[1]),K=rt*c((Y-k)/rt)+k,le=M(m(Y-=K),2-v(Y));Y=K+O(_/ee*m(le))-le,Mt[0]=ee*v(Y),Mt[1]=ee*m(Y)}return Mt}return ct.invert=function(vt,St){var Mt=F(vt*vt+St*St);if(Mt>k){var Y=M(St,vt),ee=rt*c((Y-k)/rt)+k,K=Y>ee?-1:1,le=Mt*v(ee-Y),Te=1/w(K*z((le-_)/F(_*(_-2*le)+Mt*Mt)));Y=ee+2*i((Te+K*F(Te*Te-3))/3),vt=Mt*v(Y),St=Mt*m(Y)}return re.N.invert(vt,St)},ct}function oe(){var et=5,rt=(0,d.r)(ie),ct=rt(et),vt=ct.stream,St=.01,Mt=-v(St*I),Y=m(St*I);return ct.lobes=function(ee){return arguments.length?rt(et=+ee):et},ct.stream=function(ee){var K=ct.rotate(),le=vt(ee),Te=(ct.rotate([0,0]),vt(ee));return ct.rotate(K),le.sphere=function(){Te.polygonStart(),Te.lineStart();for(var De=0,He=360/et,Ze=2*_/et,at=90-180/et,Tt=k;De0&&g(vt)>y);return Y<0?NaN:ct}function pe(et,rt,ct){return rt===void 0&&(rt=40),ct===void 0&&(ct=S),function(vt,St,Mt,Y){var ee,K,le;Mt=Mt===void 0?0:+Mt,Y=Y===void 0?0:+Y;for(var Te=0;Teee)Mt-=K/=2,Y-=le/=2;else{ee=at;var Tt=(Mt>0?-1:1)*ct,At=(Y>0?-1:1)*ct,se=et(Mt+Tt,Y),ve=et(Mt,Y+At),Ie=(se[0]-De[0])/Tt,Fe=(se[1]-De[1])/Tt,Ue=(ve[0]-De[0])/At,We=(ve[1]-De[1])/At,Xe=We*Ie-Fe*Ue,tt=(g(Xe)<.5?.5:1)/Xe;if(Mt+=K=(Ze*Ue-He*We)*tt,Y+=le=(He*Fe-Ze*Ie)*tt,g(K)0&&(Mt[1]*=1+Y/1.5*Mt[0]*Mt[0]),Mt}return rt.invert=pe(rt),rt}function Pe(){return(0,d.Z)(xe()).rotate([-16.5,-42]).scale(176.57).center([7.93,.09])}function _e(et,rt){var ct,vt=et*m(rt),St=30;do rt-=ct=(rt+m(rt)-vt)/(1+v(rt));while(g(ct)>y&&--St>0);return rt/2}function Me(et,rt,ct){function vt(St,Mt){return[et*St*v(Mt=_e(ct,Mt)),rt*m(Mt)]}return vt.invert=function(St,Mt){return Mt=O(Mt/rt),[St/(et*v(Mt)),O((2*Mt+m(2*Mt))/ct)]},vt}ye.invert=function(et,rt){var ct=2*O(rt/2);return[et*v(ct/2)/v(ct),ct]};var Se=Me(A/k,A,_);function Ce(){return(0,d.Z)(Se).scale(169.529)}var ae=2.00276,fe=1.11072;function be(et,rt){var ct=_e(_,rt);return[ae*et/(1/v(rt)+fe/v(ct)),(rt+A*m(ct))/ae]}function ke(){return(0,d.Z)(be).scale(160.857)}function Le(et){var rt=0,ct=(0,d.r)(et),vt=ct(rt);return vt.parallel=function(St){return arguments.length?ct(rt=St*I):rt*R},vt}function Be(et,rt){return[et*v(rt),rt]}function ze(){return(0,d.Z)(Be).scale(152.63)}function je(et){if(!et)return Be;var rt=1/w(et);function ct(vt,St){var Mt=rt+et-St,Y=Mt&&vt*v(St)/Mt;return[Mt*m(Y),rt-Mt*v(Y)]}return ct.invert=function(vt,St){var Mt=F(vt*vt+(St=rt-St)*St),Y=rt+et-Mt;return[Mt/v(Y)*M(vt,St),Y]},ct}function ge(){return Le(je).scale(123.082).center([0,26.1441]).parallel(45)}function we(et){function rt(ct,vt){var St=k-vt,Mt=St&&ct*et*m(St)/St;return[St*m(Mt)/et,k-St*v(Mt)]}return rt.invert=function(ct,vt){var St=ct*et,Mt=k-vt,Y=F(St*St+Mt*Mt),ee=M(St,Mt);return[(Y?Y/m(Y):1)*ee/et,k-Y]},rt}function Ee(){var et=.5,rt=(0,d.r)(we),ct=rt(et);return ct.fraction=function(vt){return arguments.length?rt(et=+vt):et},ct.scale(158.837)}be.invert=function(et,rt){var ct,vt,St=ae*rt,Mt=rt<0?-E:E,Y=25;do vt=St-A*m(Mt),Mt-=ct=(m(2*Mt)+2*Mt-_*m(vt))/(2*v(2*Mt)+2+_*v(vt)*A*v(Mt));while(g(ct)>y&&--Y>0);return vt=St-A*m(Mt),[et*(1/v(vt)+fe/v(Mt))/ae,vt]},Be.invert=function(et,rt){return[et/v(rt),rt]};var Ve=Me(1,4/_,_);function $e(){return(0,d.Z)(Ve).scale(152.63)}var Ye=t(66624),st=t(49386);function ot(et,rt,ct,vt,St,Mt){var Y,ee=v(Mt);if(g(et)>1||g(Mt)>1)Y=z(ct*St+rt*vt*ee);else{var K=m(et/2),le=m(Mt/2);Y=2*O(F(K*K+rt*vt*le*le))}return g(Y)>y?[Y,M(vt*m(Mt),rt*St-ct*vt*ee)]:[0,0]}function ht(et,rt,ct){return z((et*et+rt*rt-ct*ct)/(2*et*rt))}function bt(et){return et-2*_*l((et+_)/(2*_))}function Et(et,rt,ct){for(var vt,St=[[et[0],et[1],m(et[1]),v(et[1])],[rt[0],rt[1],m(rt[1]),v(rt[1])],[ct[0],ct[1],m(ct[1]),v(ct[1])]],Mt=St[2],Y=0;Y<3;++Y,Mt=vt)vt=St[Y],Mt.v=ot(vt[1]-Mt[1],Mt[3],Mt[2],vt[3],vt[2],vt[0]-Mt[0]),Mt.point=[0,0];var ee=ht(St[0].v[0],St[2].v[0],St[1].v[0]),K=ht(St[0].v[0],St[1].v[0],St[2].v[0]),le=_-ee;St[2].point[1]=0,St[0].point[0]=-(St[1].point[0]=St[0].v[0]/2);var Te=[St[2].point[0]=St[0].point[0]+St[2].v[0]*v(ee),2*(St[0].point[1]=St[1].point[1]=St[2].v[0]*m(ee))];return function(De,He){var Ze,at=m(He),Tt=v(He),At=new Array(3);for(Ze=0;Ze<3;++Ze){var se=St[Ze];if(At[Ze]=ot(He-se[1],se[3],se[2],Tt,at,De-se[0]),!At[Ze][0])return se.point;At[Ze][1]=bt(At[Ze][1]-se.v[1])}var ve=Te.slice();for(Ze=0;Ze<3;++Ze){var Ie=Ze==2?0:Ze+1,Fe=ht(St[Ze].v[0],At[Ze][0],At[Ie][0]);At[Ze][1]<0&&(Fe=-Fe),Ze?Ze==1?(Fe=K-Fe,ve[0]-=At[Ze][0]*v(Fe),ve[1]-=At[Ze][0]*m(Fe)):(Fe=le-Fe,ve[0]+=At[Ze][0]*v(Fe),ve[1]+=At[Ze][0]*m(Fe)):(ve[0]+=At[Ze][0]*v(Fe),ve[1]-=At[Ze][0]*m(Fe))}return ve[0]/=3,ve[1]/=3,ve}}function kt(et){return et[0]*=I,et[1]*=I,et}function xt(){return Ft([0,22],[45,22],[22.5,-22]).scale(380).center([22.5,2])}function Ft(et,rt,ct){var vt=(0,Ye.Z)({type:"MultiPoint",coordinates:[et,rt,ct]}),St=[-vt[0],-vt[1]],Mt=(0,st.Z)(St),Y=Et(kt(Mt(et)),kt(Mt(rt)),kt(Mt(ct)));Y.invert=pe(Y);var ee=(0,d.Z)(Y).rotate(St),K=ee.center;return delete ee.rotate,ee.center=function(le){return arguments.length?K(Mt(le)):Mt.invert(K())},ee.clipAngle(90)}function Ot(et,rt){var ct=F(1-m(rt));return[2/L*et*ct,L*(1-ct)]}function Bt(){return(0,d.Z)(Ot).scale(95.6464).center([0,30])}function qt(et){var rt=w(et);function ct(vt,St){return[vt,(vt?vt/m(vt):1)*(m(St)*v(vt)-rt*v(St))]}return ct.invert=rt?function(vt,St){vt&&(St*=m(vt)/vt);var Mt=v(vt);return[vt,2*M(F(Mt*Mt+rt*rt-St*St)-Mt,rt-St)]}:function(vt,St){return[vt,O(vt?St*w(vt)/vt:St)]},ct}function Vt(){return Le(qt).scale(249.828).clipAngle(90)}Ot.invert=function(et,rt){var ct=(ct=rt/L-1)*ct;return[ct>0?et*F(_/ct)/2:0,O(1-ct)]};var Ke=F(3);function Je(et,rt){return[Ke*et*(2*v(2*rt/3)-1)/L,Ke*L*m(rt/3)]}function qe(){return(0,d.Z)(Je).scale(156.19)}function nt(et){var rt=v(et);function ct(vt,St){return[vt*rt,m(St)/rt]}return ct.invert=function(vt,St){return[vt/rt,O(St*rt)]},ct}function ft(){return Le(nt).parallel(38.58).scale(195.044)}function Re(et){var rt=v(et);function ct(vt,St){return[vt*rt,(1+rt)*w(St/2)]}return ct.invert=function(vt,St){return[vt/rt,2*i(St/(1+rt))]},ct}function Ne(){return Le(Re).scale(124.75)}function Qe(et,rt){var ct=F(8/(3*_));return[ct*et*(1-g(rt)/_),ct*rt]}function ut(){return(0,d.Z)(Qe).scale(165.664)}function dt(et,rt){var ct=F(4-3*m(g(rt)));return[2/F(6*_)*et*ct,h(rt)*F(2*_/3)*(2-ct)]}function _t(){return(0,d.Z)(dt).scale(165.664)}function It(et,rt){var ct=F(_*(4+_));return[2/ct*et*(1+F(1-4*rt*rt/(_*_))),4/ct*rt]}function Lt(){return(0,d.Z)(It).scale(180.739)}function yt(et,rt){var ct=(2+k)*m(rt);rt/=2;for(var vt=0,St=1/0;vt<10&&g(St)>y;vt++){var Mt=v(rt);rt-=St=(rt+m(rt)*(Mt+2)-ct)/(2*Mt*(1+Mt))}return[2/F(_*(4+_))*et*(1+v(rt)),2*F(_/(4+_))*m(rt)]}function Pt(){return(0,d.Z)(yt).scale(180.739)}function wt(et,rt){return[et*(1+v(rt))/F(2+_),2*rt/F(2+_)]}function Rt(){return(0,d.Z)(wt).scale(173.044)}function Nt(et,rt){for(var ct=(1+k)*m(rt),vt=0,St=1/0;vt<10&&g(St)>y;vt++)rt-=St=(rt+m(rt)-ct)/(1+v(rt));return ct=F(2+_),[et*(1+v(rt))/ct,2*rt/ct]}function Yt(){return(0,d.Z)(Nt).scale(173.044)}Je.invert=function(et,rt){var ct=3*O(rt/(Ke*L));return[L*et/(Ke*(2*v(2*ct/3)-1)),ct]},Qe.invert=function(et,rt){var ct=F(8/(3*_)),vt=rt/ct;return[et/(ct*(1-g(vt)/_)),vt]},dt.invert=function(et,rt){var ct=2-g(rt)/F(2*_/3);return[et*F(6*_)/(2*ct),h(rt)*O((4-ct*ct)/3)]},It.invert=function(et,rt){var ct=F(_*(4+_))/2;return[et*ct/(1+F(1-rt*rt*(4+_)/(4*_))),rt*ct/2]},yt.invert=function(et,rt){var ct=rt*F((4+_)/_)/2,vt=O(ct),St=v(vt);return[et/(2/F(_*(4+_))*(1+St)),O((vt+ct*(St+2))/(2+k))]},wt.invert=function(et,rt){var ct=F(2+_),vt=rt*ct/2;return[ct*et/(1+v(vt)),vt]},Nt.invert=function(et,rt){var ct=1+k,vt=F(ct/2);return[2*et*vt/(1+v(rt*=vt)),O((rt+m(rt))/ct)]};var Wt=3+2*A;function Xt(et,rt){var ct=m(et/=2),vt=v(et),St=F(v(rt)),Mt=v(rt/=2),Y=m(rt)/(Mt+A*vt*St),ee=F(2/(1+Y*Y)),K=F((A*Mt+(vt+ct)*St)/(A*Mt+(vt-ct)*St));return[Wt*(ee*(K-1/K)-2*a(K)),Wt*(ee*Y*(K+1/K)-2*i(Y))]}function Qt(){return(0,d.Z)(Xt).scale(62.5271)}Xt.invert=function(et,rt){if(!(ct=H.invert(et/1.2,1.065*rt)))return null;var ct,vt=ct[0],St=ct[1],Mt=20;et/=Wt,rt/=Wt;do{var Y=vt/2,ee=St/2,K=m(Y),le=v(Y),Te=m(ee),De=v(ee),He=v(St),Ze=F(He),at=Te/(De+A*le*Ze),Tt=at*at,At=F(2/(1+Tt)),se=(A*De+(le+K)*Ze)/(A*De+(le-K)*Ze),ve=F(se),Ie=ve-1/ve,Fe=ve+1/ve,Ue=At*Ie-2*a(ve)-et,We=At*at*Fe-2*i(at)-rt,Xe=Te&&x*Ze*K*Tt/Te,tt=(A*le*De+Ze)/(2*(De+A*le*Ze)*(De+A*le*Ze)*Ze),lt=-.5*at*At*At*At,mt=lt*Xe,zt=lt*tt,Ut=(Ut=2*De+A*Ze*(le-K))*Ut*ve,Ht=(A*le*De*Ze+He)/Ut,en=-A*K*Te/(Ze*Ut),vn=Ie*mt-2*Ht/ve+At*(Ht+Ht/se),tn=Ie*zt-2*en/ve+At*(en+en/se),ln=at*Fe*mt-2*Xe/(1+Tt)+At*Fe*Xe+At*at*(Ht-Ht/se),an=at*Fe*zt-2*tt/(1+Tt)+At*Fe*tt+At*at*(en-en/se),Cn=tn*ln-an*vn;if(!Cn)break;var _n=(We*tn-Ue*an)/Cn,on=(Ue*ln-We*vn)/Cn;vt-=_n,St=u(-k,o(k,St-on))}while((g(_n)>y||g(on)>y)&&--Mt>0);return g(g(St)-k)vt){var De=F(Te),He=M(le,K),Ze=ct*c(He/ct),at=He-Ze,Tt=et*v(at),At=(et*m(at)-at*m(Tt))/(k-Tt),se=Gn(at,At),ve=(_-et)/qn(se,Tt,_);K=De;var Ie,Fe=50;do K-=Ie=(et+qn(se,Tt,K)*ve-De)/(se(K)*ve);while(g(Ie)>y&&--Fe>0);le=at*m(K),Kvt){var K=F(ee),le=M(Y,Mt),Te=ct*c(le/ct),De=le-Te;Mt=K*v(De),Y=K*m(De);for(var He=Mt-k,Ze=m(Mt),at=Y/Ze,Tt=Mty||g(He)>y)&&--Tt>0);return[Ze,at]},K}var Sr=rr(2.8284,-1.6988,.75432,-.18071,1.76003,-.38914,.042555);function yr(){return(0,d.Z)(Sr).scale(149.995)}var or=rr(2.583819,-.835827,.170354,-.038094,1.543313,-.411435,.082742);function vr(){return(0,d.Z)(or).scale(153.93)}var _r=rr(5/6*_,-.62636,-.0344,0,1.3493,-.05524,0,.045);function Kt(){return(0,d.Z)(_r).scale(130.945)}function bn(et,rt){var ct=et*et,vt=rt*rt;return[et*(1-.162388*vt)*(.87-952426e-9*ct*ct),rt*(1+vt/12)]}function Rn(){return(0,d.Z)(bn).scale(131.747)}bn.invert=function(et,rt){var ct,vt=et,St=rt,Mt=50;do{var Y=St*St;St-=ct=(St*(1+Y/12)-rt)/(1+Y/4)}while(g(ct)>y&&--Mt>0);Mt=50,et/=1-.162388*Y;do{var ee=(ee=vt*vt)*ee;vt-=ct=(vt*(.87-952426e-9*ee)-et)/(.87-.00476213*ee)}while(g(ct)>y&&--Mt>0);return[vt,St]};var Ln=rr(2.6516,-.76534,.19123,-.047094,1.36289,-.13965,.031762);function Un(){return(0,d.Z)(Ln).scale(131.087)}function Kn(et){var rt=et(k,0)[0]-et(-k,0)[0];function ct(vt,St){var Mt=vt>0?-.5:.5,Y=et(vt+Mt*_,St);return Y[0]-=Mt*rt,Y}return et.invert&&(ct.invert=function(vt,St){var Mt=vt>0?-.5:.5,Y=et.invert(vt+Mt*rt,St),ee=Y[0]-Mt*_;return ee<-_?ee+=2*_:ee>_&&(ee-=2*_),Y[0]=ee,Y}),ct}function $n(et,rt){var ct=h(et),vt=h(rt),St=v(rt),Mt=v(et)*St,Y=m(et)*St,ee=m(vt*rt);et=g(M(Y,ee)),rt=O(Mt),g(et-k)>y&&(et%=k);var K=function(le,Te){if(Te===k)return[0,0];var De,He,Ze=m(Te),at=Ze*Ze,Tt=at*at,At=1+Tt,se=1+3*Tt,ve=1-Tt,Ie=O(1/F(At)),Fe=ve+at*At*Ie,Ue=(1-Ze)/Fe,We=F(Ue),Xe=Ue*At,tt=F(Xe),lt=We*ve;if(le===0)return[0,-(lt+at*tt)];var mt,zt=v(Te),Ut=1/zt,Ht=2*Ze*zt,en=(-Fe*zt-(-3*at+Ie*se)*Ht*(1-Ze))/(Fe*Fe),vn=-Ut*Ht,tn=-Ut*(at*At*en+Ue*se*Ht),ln=-2*Ut*(ve*(.5*en/We)-2*at*We*Ht),an=4*le/_;if(le>.222*_||Te<_/4&&le>.175*_){if(De=(lt+at*F(Xe*(1+Tt)-lt*lt))/(1+Tt),le>_/4)return[De,De];var Cn=De,_n=.5*De;De=.5*(_n+Cn),He=50;do{var on=De*(ln+vn*F(Xe-De*De))+tn*O(De/tt)-an;if(!on)break;on<0?_n=De:Cn=De,De=.5*(_n+Cn)}while(g(Cn-_n)>y&&--He>0)}else{De=y,He=25;do{var Fn=De*De,Hn=F(Xe-Fn),ir=ln+vn*Hn,ar=De*ir+tn*O(De/tt)-an;De-=mt=Hn?ar/(ir+(tn-vn*Fn)/Hn):0}while(g(mt)>y&&--He>0)}return[De,-lt-at*F(Xe-De*De)]}(et>_/4?k-et:et,rt);return et>_/4&&(ee=K[0],K[0]=-K[1],K[1]=-ee),K[0]*=ct,K[1]*=-vt,K}function tr(){return(0,d.Z)(Kn($n)).scale(239.75)}function mr(et,rt){var ct,vt,St,Mt,Y,ee;if(rt=.999999)return ct=(1-rt)/4,St=1/(vt=N(et)),[(Mt=((ee=f(2*(ee=et)))-1)/(ee+1))+ct*((Y=vt*B(et))-et)/(vt*vt),St-ct*Mt*St*(Y-et),St+ct*Mt*St*(Y+et),2*i(f(et))-k+ct*(Y-et)/vt];var K=[1,0,0,0,0,0,0,0,0],le=[F(rt),0,0,0,0,0,0,0,0],Te=0;for(vt=F(1-rt),Y=1;g(le[Te]/K[Te])>y&&Te<8;)ct=K[Te++],le[Te]=(ct-vt)/2,K[Te]=(ct+vt)/2,vt=F(ct*vt),Y*=2;St=Y*K[Te]*et;do St=(O(Mt=le[Te]*m(vt=St)/K[Te])+St)/2;while(--Te);return[m(St),Mt=v(St),Mt/v(St-vt),St]}function nn(et,rt){if(!rt)return et;if(rt===1)return a(w(et/2+E));for(var ct=1,vt=F(1-rt),St=F(rt),Mt=0;g(St)>y;Mt++){if(et%_){var Y=i(vt*w(et)/ct);Y<0&&(Y+=_),et+=Y+~~(et/_)*_}else et+=et;St=(ct+vt)/2,vt=F(ct*vt),St=((ct=St)-vt)/2}return et/(s(2,Mt)*ct)}function Pn(et,rt){var ct=(A-1)/(A+1),vt=F(1-ct*ct),St=nn(k,vt*vt),Mt=a(w(_/4+g(rt)/2)),Y=f(-1*Mt)/F(ct),ee=function(le,Te){var De=le*le,He=Te+1,Ze=1-De-Te*Te;return[.5*((le>=0?k:-k)-M(Ze,2*le)),-.25*a(Ze*Ze+4*De)+.5*a(He*He+De)]}(Y*v(-1*et),Y*m(-1*et)),K=function(le,Te,De){var He=g(le),Ze=B(g(Te));if(He){var at=1/m(He),Tt=1/(w(He)*w(He)),At=-(Tt+De*(Ze*Ze*at*at)-1+De),se=(-At+F(At*At-(De-1)*Tt*4))/2;return[nn(i(1/F(se)),De)*h(le),nn(i(F((se/Tt-1)/De)),1-De)*h(Te)]}return[0,nn(i(Ze),1-De)*h(Te)]}(ee[0],ee[1],vt*vt);return[-K[1],(rt>=0?1:-1)*(.5*St-K[0])]}function jt(){return(0,d.Z)(Kn(Pn)).scale(151.496)}$n.invert=function(et,rt){g(et)>1&&(et=2*h(et)-et),g(rt)>1&&(rt=2*h(rt)-rt);var ct=h(et),vt=h(rt),St=-ct*et,Mt=-vt*rt,Y=Mt/St<1,ee=function(De,He){for(var Ze=0,at=1,Tt=.5,At=50;;){var se=Tt*Tt,ve=F(Tt),Ie=O(1/F(1+se)),Fe=1-se+Tt*(1+se)*Ie,Ue=(1-ve)/Fe,We=F(Ue),Xe=Ue*(1+se),tt=We*(1-se),lt=F(Xe-De*De),mt=He+tt+Tt*lt;if(g(at-Ze)0?Ze=Tt:at=Tt,Tt=.5*(Ze+at)}if(!At)return null;var zt=O(ve),Ut=v(zt),Ht=1/Ut,en=2*ve*Ut,vn=(-Fe*Ut-(-3*Tt+Ie*(1+3*se))*en*(1-ve))/(Fe*Fe);return[_/4*(De*(-2*Ht*(.5*vn/We*(1-se)-2*Tt*We*en)+-Ht*en*lt)+-Ht*(Tt*(1+se)*vn+Ue*(1+3*se)*en)*O(De/F(Xe))),zt]}(Y?Mt:St,Y?St:Mt),K=ee[0],le=ee[1],Te=v(le);return Y&&(K=-k-K),[ct*(M(m(K)*Te,-m(le))+_),vt*O(v(K)*Te)]},Pn.invert=function(et,rt){var ct,vt,St,Mt,Y,ee,K=(A-1)/(A+1),le=F(1-K*K),Te=(vt=-et,St=le*le,(ct=.5*nn(k,le*le)-rt)?(Mt=mr(ct,St),vt?(ee=(Y=mr(vt,1-St))[1]*Y[1]+St*Mt[0]*Mt[0]*Y[0]*Y[0],[[Mt[0]*Y[2]/ee,Mt[1]*Mt[2]*Y[0]*Y[1]/ee],[Mt[1]*Y[1]/ee,-Mt[0]*Mt[2]*Y[0]*Y[2]/ee],[Mt[2]*Y[1]*Y[2]/ee,-St*Mt[0]*Mt[1]*Y[0]/ee]]):[[Mt[0],0],[Mt[1],0],[Mt[2],0]]):[[0,(Y=mr(vt,1-St))[0]/Y[1]],[1/Y[1],0],[Y[2]/Y[1],0]]),De=function(He,Ze){var at=Ze[0]*Ze[0]+Ze[1]*Ze[1];return[(He[0]*Ze[0]+He[1]*Ze[1])/at,(He[1]*Ze[0]-He[0]*Ze[1])/at]}(Te[0],Te[1]);return[M(De[1],De[0])/-1,2*i(f(-.5*a(K*De[0]*De[0]+K*De[1]*De[1])))-k]};var Jt=t(7613);function hn(et){var rt=m(et),ct=v(et),vt=zn(et);function St(Mt,Y){var ee=vt(Mt,Y);Mt=ee[0],Y=ee[1];var K=m(Y),le=v(Y),Te=v(Mt),De=z(rt*K+ct*le*Te),He=m(De),Ze=g(He)>y?De/He:1;return[Ze*ct*m(Mt),(g(Mt)>k?Ze:-Ze)*(rt*le-ct*K*Te)]}return vt.invert=zn(-et),St.invert=function(Mt,Y){var ee=F(Mt*Mt+Y*Y),K=-m(ee),le=v(ee),Te=ee*le,De=-Y*K,He=ee*rt,Ze=F(Te*Te+De*De-He*He),at=M(Te*He+De*Ze,De*He-Te*Ze),Tt=(ee>k?-1:1)*M(Mt*K,ee*v(at)*le+Y*m(at)*K);return vt.invert(Tt,at)},St}function zn(et){var rt=m(et),ct=v(et);return function(vt,St){var Mt=v(St),Y=v(vt)*Mt,ee=m(vt)*Mt,K=m(St);return[M(ee,Y*ct-K*rt),O(K*ct+Y*rt)]}}function On(){var et=0,rt=(0,d.r)(hn),ct=rt(et),vt=ct.rotate,St=ct.stream,Mt=(0,Jt.Z)();return ct.parallel=function(Y){if(!arguments.length)return et*R;var ee=ct.rotate();return rt(et=Y*I).rotate(ee)},ct.rotate=function(Y){return arguments.length?(vt.call(ct,[Y[0],Y[1]-et*R]),Mt.center([-Y[0],-Y[1]]),ct):((Y=vt.call(ct))[1]+=et*R,Y)},ct.stream=function(Y){return(Y=St(Y)).sphere=function(){Y.polygonStart();var ee,K=Mt.radius(89.99)().coordinates[0],le=K.length-1,Te=-1;for(Y.lineStart();++Te=0;)Y.point((ee=K[Te])[0],ee[1]);Y.lineEnd(),Y.polygonEnd()},Y},ct.scale(79.4187).parallel(45).clipAngle(179.999)}var En=t(33064),mn=t(72736),wn=O(1-1/3)*R,gn=nt(0);function yn(et){var rt=wn*I,ct=Ot(_,rt)[0]-Ot(-_,rt)[0],vt=gn(0,rt)[1],St=Ot(0,rt)[1],Mt=L-St,Y=b/et,ee=4/b,K=vt+Mt*Mt*4/b;function le(Te,De){var He,Ze=g(De);if(Ze>rt){var at=o(et-1,u(0,l((Te+_)/Y)));(He=Ot(Te+=_*(et-1)/et-at*Y,Ze))[0]=He[0]*b/ct-b*(et-1)/(2*et)+at*b/et,He[1]=vt+4*(He[1]-St)*Mt/b,De<0&&(He[1]=-He[1])}else He=gn(Te,De);return He[0]*=ee,He[1]/=K,He}return le.invert=function(Te,De){Te/=ee;var He=g(De*=K);if(He>vt){var Ze=o(et-1,u(0,l((Te+_)/Y)));Te=(Te+_*(et-1)/et-Ze*Y)*ct/b;var at=Ot.invert(Te,.25*(He-vt)*b/Mt+St);return at[0]-=_*(et-1)/et-Ze*Y,De<0&&(at[1]=-at[1]),at}return gn.invert(Te,De)},le}function Sn(et,rt){return[et,1&rt?89.999999:wn]}function Vn(et,rt){return[et,1&rt?-89.999999:-wn]}function Xn(et){return[.999999*et[0],et[1]]}function nr(){var et=4,rt=(0,d.r)(yn),ct=rt(et),vt=ct.stream;return ct.lobes=function(St){return arguments.length?rt(et=+St):et},ct.stream=function(St){var Mt=ct.rotate(),Y=vt(St),ee=(ct.rotate([0,0]),vt(St));return ct.rotate(Mt),Y.sphere=function(){var K,le;(0,mn.Z)((K=180/et,le=[].concat((0,En.w6)(-180,180+K/2,K).map(Sn),(0,En.w6)(180,-180-K/2,-K).map(Vn)),{type:"Polygon",coordinates:[K===180?le.map(Xn):le]}),ee)},Y},ct.scale(239.75)}function Qn(et){var rt,ct=1+et,vt=O(m(1/ct)),St=2*F(_/(rt=_+4*vt*ct)),Mt=.5*St*(ct+F(et*(2+et))),Y=et*et,ee=ct*ct;function K(le,Te){var De,He,Ze=1-m(Te);if(Ze&&Ze<2){var at,Tt=k-Te,At=25;do{var se=m(Tt),ve=v(Tt),Ie=vt+M(se,ct-ve),Fe=1+ee-2*ct*ve;Tt-=at=(Tt-Y*vt-ct*se+Fe*Ie-.5*Ze*rt)/(2*ct*se*Ie)}while(g(at)>S&&--At>0);De=St*F(Fe),He=le*Ie/_}else De=St*(et+Ze),He=le*vt/_;return[De*m(He),Mt-De*v(He)]}return K.invert=function(le,Te){var De=le*le+(Te-=Mt)*Te,He=(1+ee-De/(St*St))/(2*ct),Ze=z(He),at=m(Ze),Tt=vt+M(at,ct-He);return[O(le/F(De))*_/Tt,O(1-2*(Ze-Y*vt-ct*at+(1+ee-2*ct*He)*Tt)/rt)]},K}function hr(){var et=1,rt=(0,d.r)(Qn),ct=rt(et);return ct.ratio=function(vt){return arguments.length?rt(et=+vt):et},ct.scale(167.774).center([0,18.67])}var cr=.7109889596207567,pr=.0528035274542;function dr(et,rt){return rt>-cr?((et=Se(et,rt))[1]+=pr,et):Be(et,rt)}function br(){return(0,d.Z)(dr).rotate([-20,-55]).scale(164.263).center([0,-5.4036])}function Ir(et,rt){return g(rt)>cr?((et=Se(et,rt))[1]-=rt>0?pr:-pr,et):Be(et,rt)}function Lr(){return(0,d.Z)(Ir).scale(152.63)}function zr(et,rt,ct,vt){var St=F(4*_/(2*ct+(1+et-rt/2)*m(2*ct)+(et+rt)/2*m(4*ct)+rt/2*m(6*ct))),Mt=F(vt*m(ct)*F((1+et*v(2*ct)+rt*v(4*ct))/(1+et+rt))),Y=ct*K(1);function ee(De){return F(1+et*v(2*De)+rt*v(4*De))}function K(De){var He=De*ct;return(2*He+(1+et-rt/2)*m(2*He)+(et+rt)/2*m(4*He)+rt/2*m(6*He))/ct}function le(De){return ee(De)*m(De)}var Te=function(De,He){var Ze=ct*me(K,Y*m(He)/ct,He/_);isNaN(Ze)&&(Ze=ct*h(He));var at=St*ee(Ze);return[at*Mt*De/_*v(Ze),at/Mt*m(Ze)]};return Te.invert=function(De,He){var Ze=me(le,He*Mt/St);return[De*_/(v(Ze)*St*Mt*ee(Ze)),O(ct*K(Ze/ct)/Y)]},ct===0&&(St=F(vt/_),(Te=function(De,He){return[De*St,m(He)/St]}).invert=function(De,He){return[De/St,O(He*St)]}),Te}function gr(){var et=1,rt=0,ct=45*I,vt=2,St=(0,d.r)(zr),Mt=St(et,rt,ct,vt);return Mt.a=function(Y){return arguments.length?St(et=+Y,rt,ct,vt):et},Mt.b=function(Y){return arguments.length?St(et,rt=+Y,ct,vt):rt},Mt.psiMax=function(Y){return arguments.length?St(et,rt,ct=+Y*I,vt):ct*R},Mt.ratio=function(Y){return arguments.length?St(et,rt,ct,vt=+Y):vt},Mt.scale(180.739)}function Fr(et,rt,ct,vt,St,Mt,Y,ee,K,le,Te){if(Te.nanEncountered)return NaN;var De,He,Ze,at,Tt,At,se,ve,Ie,Fe;if(He=et(rt+.25*(De=ct-rt)),Ze=et(ct-.25*De),isNaN(He))Te.nanEncountered=!0;else{if(!isNaN(Ze))return Fe=((At=(at=De*(vt+4*He+St)/12)+(Tt=De*(St+4*Ze+Mt)/12))-Y)/15,le>K?(Te.maxDepthCount++,At+Fe):Math.abs(Fe)Ze?Tt=At:at=At,At=at+Tt>>1;while(At>at);var se=K[At+1]-K[At];return se&&(se=(Ze-K[At+1])/se),(At+1+se)/Y}var De=2*Te(1)/_*Mt/ct,He=function(Ze,at){var Tt=Te(g(m(at))),At=vt(Tt)*Ze;return Tt/=De,[At,at>=0?Tt:-Tt]};return He.invert=function(Ze,at){var Tt;return g(at*=De)<1&&(Tt=h(at)*O(St(g(at))*Mt)),[Ze/vt(g(at)),Tt]},He}function ea(){var et=0,rt=2.5,ct=1.183136,vt=(0,d.r)(ji),St=vt(et,rt,ct);return St.alpha=function(Mt){return arguments.length?vt(et=+Mt,rt,ct):et},St.k=function(Mt){return arguments.length?vt(et,rt=+Mt,ct):rt},St.gamma=function(Mt){return arguments.length?vt(et,rt,ct=+Mt):ct},St.scale(152.63)}function sa(et,rt){return g(et[0]-rt[0])=0;--ee)ct=(rt=et[1][ee])[0][0],vt=rt[0][1],St=rt[1][1],Mt=rt[2][0],Y=rt[2][1],K.push(uo([[Mt-y,Y-y],[Mt-y,St+y],[ct+y,St+y],[ct+y,vt-y]],30));return{type:"Polygon",coordinates:[(0,En.TS)(K)]}}function Xi(et,rt,ct){var vt,St;function Mt(K,le){for(var Te=le<0?-1:1,De=rt[+(le<0)],He=0,Ze=De.length-1;HeDe[He][2][0];++He);var at=et(K-De[He][1][0],le);return at[0]+=et(De[He][1][0],Te*le>Te*De[He][0][1]?De[He][0][1]:le)[0],at}ct?Mt.invert=ct(Mt):et.invert&&(Mt.invert=function(K,le){for(var Te=St[+(le<0)],De=rt[+(le<0)],He=0,Ze=Te.length;HeTt&&(De=at,at=Tt,Tt=De),[[He,at],[Ze,Tt]]})}),Y):rt.map(function(le){return le.map(function(Te){return[[Te[0][0]*R,Te[0][1]*R],[Te[1][0]*R,Te[1][1]*R],[Te[2][0]*R,Te[2][1]*R]]})})},rt!=null&&Y.lobes(rt),Y}dr.invert=function(et,rt){return rt>-cr?Se.invert(et,rt-pr):Be.invert(et,rt)},Ir.invert=function(et,rt){return g(rt)>cr?Se.invert(et,rt+(rt>0?pr:-pr)):Be.invert(et,rt)};var Do=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function rs(){return Xi(be,Do).scale(160.857)}var el=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function Cu(){return Xi(Ir,el).scale(152.63)}var gf=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function Mh(){return Xi(Se,gf).scale(169.529)}var Eu=[[[[-180,0],[-90,90],[0,0]],[[0,0],[90,90],[180,0]]],[[[-180,0],[-90,-90],[0,0]],[[0,0],[90,-90],[180,0]]]];function is(){return Xi(Se,Eu).scale(169.529).rotate([20,0])}var Ah=[[[[-180,35],[-30,90],[0,35]],[[0,35],[30,90],[180,35]]],[[[-180,-10],[-102,-90],[-65,-10]],[[-65,-10],[5,-90],[77,-10]],[[77,-10],[103,-90],[180,-10]]]];function Ya(){return Xi(dr,Ah,pe).rotate([-20,-55]).scale(164.263).center([0,-5.4036])}var hc=[[[[-180,0],[-110,90],[-40,0]],[[-40,0],[0,90],[40,0]],[[40,0],[110,90],[180,0]]],[[[-180,0],[-110,-90],[-40,0]],[[-40,0],[0,-90],[40,0]],[[40,0],[110,-90],[180,0]]]];function Yo(){return Xi(Be,hc).scale(152.63).rotate([-20,0])}function as(et,rt){return[3/b*et*F(_*_/3-rt*rt),rt]}function Ml(){return(0,d.Z)(as).scale(158.837)}function Ui(et){function rt(ct,vt){if(g(g(vt)-k)2)return null;var Mt=(ct/=2)*ct,Y=(vt/=2)*vt,ee=2*vt/(1+Mt+Y);return ee=s((1+ee)/(1-ee),1/et),[M(2*ct,1-Mt-Y)/et,O((ee-1)/(ee+1))]},rt}function Al(){var et=.5,rt=(0,d.r)(Ui),ct=rt(et);return ct.spacing=function(vt){return arguments.length?rt(et=+vt):et},ct.scale(124.75)}as.invert=function(et,rt){return[b/3*et/F(_*_/3-rt*rt),rt]};var ps=_/A;function Es(et,rt){return[et*(1+F(v(rt)))/2,rt/(v(rt/2)*v(et/6))]}function js(){return(0,d.Z)(Es).scale(97.2672)}function fc(et,rt){var ct=et*et,vt=rt*rt;return[et*(.975534+vt*(-.0143059*ct-.119161+-.0547009*vt)),rt*(1.00384+ct*(.0802894+-.02855*vt+199025e-9*ct)+vt*(.0998909+-.0491032*vt))]}function vf(){return(0,d.Z)(fc).scale(139.98)}function tl(et,rt){return[m(et)/v(rt),w(rt)*v(et)]}function yf(){return(0,d.Z)(tl).scale(144.049).clipAngle(89.999)}function bf(et){var rt=v(et),ct=w(E+et/2);function vt(St,Mt){var Y=Mt-et,ee=g(Y)=0;)He=(De=et[Te])[0]+K*(Mt=He)-le*Ze,Ze=De[1]+K*Ze+le*Mt;return[He=K*(Mt=He)-le*Ze,Ze=K*Ze+le*Mt]}return ct.invert=function(vt,St){var Mt=20,Y=vt,ee=St;do{for(var K,le=rt,Te=et[le],De=Te[0],He=Te[1],Ze=0,at=0;--le>=0;)Ze=De+Y*(K=Ze)-ee*at,at=He+Y*at+ee*K,De=(Te=et[le])[0]+Y*(K=De)-ee*He,He=Te[1]+Y*He+ee*K;var Tt,At,se=(Ze=De+Y*(K=Ze)-ee*at)*Ze+(at=He+Y*at+ee*K)*at;Y-=Tt=((De=Y*(K=De)-ee*He-vt)*Ze+(He=Y*He+ee*K-St)*at)/se,ee-=At=(He*Ze-De*at)/se}while(g(Tt)+g(At)>1e-12&&--Mt>0);if(Mt){var ve=F(Y*Y+ee*ee),Ie=2*i(.5*ve),Fe=m(Ie);return[M(Y*Fe,ve*v(Ie)),ve?O(ee*Fe/ve):0]}},ct}Es.invert=function(et,rt){var ct=g(et),vt=g(rt),St=y,Mt=k;vty||g(At)>y)&&--St>0);return St&&[ct,vt]},tl.invert=function(et,rt){var ct=et*et,vt=rt*rt+1,St=ct+vt,Mt=et?x*F((St-F(St*St-4*ct))/ct):1/F(vt);return[O(et*Mt),h(rt)*z(Mt)]},Sh.invert=function(et,rt){return[et,2.5*i(f(.8*rt))-.625*_]};var nl=[[.9972523,0],[.0052513,-.0041175],[.0074606,.0048125],[-.0153783,-.1968253],[.0636871,-.1408027],[.3660976,-.2937382]],rl=[[.98879,0],[0,0],[-.050909,0],[0,0],[.075528,0]],Lu=[[.984299,0],[.0211642,.0037608],[-.1036018,-.0575102],[-.0329095,-.0320119],[.0499471,.1223335],[.026046,.0899805],[7388e-7,-.1435792],[.0075848,-.1334108],[-.0216473,.0776645],[-.0225161,.0853673]],il=[[.9245,0],[0,0],[.01943,0]],Eh=[[.721316,0],[0,0],[-.00881625,-.00617325]];function Lh(){return Ql(nl,[152,-64]).scale(1400).center([-160.908,62.4864]).clipAngle(30).angle(7.8)}function Jl(){return Ql(rl,[95,-38]).scale(1e3).clipAngle(55).center([-96.5563,38.8675])}function jc(){return Ql(Lu,[120,-45]).scale(359.513).clipAngle(55).center([-117.474,53.0628])}function Sl(){return Ql(il,[-20,-18]).scale(209.091).center([20,16.7214]).clipAngle(82)}function Iu(){return Ql(Eh,[165,10]).scale(250).clipAngle(130).center([-165,-10])}function Ql(et,rt){var ct=(0,d.Z)(Ch(et)).rotate(rt).clipAngle(90),vt=(0,st.Z)(rt),St=ct.center;return delete ct.rotate,ct.center=function(Mt){return arguments.length?St(vt(Mt)):vt.invert(St())},ct}var al=F(6),Hi=F(7);function Cl(et,rt){var ct=O(7*m(rt)/(3*al));return[al*et*(2*v(2*ct/3)-1)/Hi,9*m(ct/3)/Hi]}function ad(){return(0,d.Z)(Cl).scale(164.859)}function Uc(et,rt){for(var ct,vt=(1+x)*m(rt),St=rt,Mt=0;Mt<25&&(St-=ct=(m(St/2)+m(St)-vt)/(.5*v(St/2)+v(St)),!(g(ct)S&&--ee>0);return[et/(.84719-.13063*(vt=Y*Y)+(Mt=vt*(St=vt*vt))*Mt*(.05494*vt-.04515-.02326*St+.00331*Mt)),Y]},Pu.invert=function(et,rt){for(var ct=rt/2,vt=0,St=1/0;vt<10&&g(St)>y;++vt){var Mt=v(rt/2);rt-=St=(rt-w(rt/2)-ct)/(1-.5/(Mt*Mt))}return[2*et/(1+v(rt)),rt]};var tu=[[[[-180,0],[-90,90],[0,0]],[[0,0],[90,90],[180,0]]],[[[-180,0],[-90,-90],[0,0]],[[0,0],[90,-90],[180,0]]]];function nu(){return Xi(ce(1/0),tu).rotate([20,0]).scale(152.63)}function Ou(et,rt){var ct=m(rt),vt=v(rt),St=h(et);if(et===0||g(rt)===k)return[0,rt];if(rt===0)return[et,0];if(g(et)===k)return[et*vt,k*ct];var Mt=_/(2*et)-2*et/_,Y=2*rt/_,ee=(1-Y*Y)/(ct-Y),K=Mt*Mt,le=ee*ee,Te=1+K/le,De=1+le/K,He=(Mt*ct/ee-Mt/2)/Te,Ze=(le*ct/K+ee/2)/De,at=Ze*Ze-(le*ct*ct/K+ee*ct-1)/De;return[k*(He+F(He*He+vt*vt/Te)*St),k*(Ze+F(at<0?0:at)*h(-rt*Mt)*St)]}function gc(){return(0,d.Z)(Ou).scale(127.267)}Ou.invert=function(et,rt){var ct=(et/=k)*et,vt=ct+(rt/=k)*rt,St=_*_;return[et?(vt-1+F((1-vt)*(1-vt)+4*ct))/(2*et)*k:0,me(function(Mt){return vt*(_*m(Mt)-2*Mt)*_+4*Mt*Mt*(rt-m(Mt))+2*_*Mt-St*rt},0)]};var vc=1.0148,gs=.23185,yc=-.14499,bc=.02406,Rh=1.790857183;function El(et,rt){var ct=rt*rt;return[et,rt*(vc+ct*ct*(gs+ct*(yc+bc*ct)))]}function Hc(){return(0,d.Z)(El).scale(139.319)}function xc(et,rt){if(g(rt)Rh?rt=Rh:rt<-1.790857183&&(rt=-1.790857183);var ct,vt=rt;do{var St=vt*vt;vt-=ct=(vt*(vc+St*St*(gs+St*(yc+bc*St)))-rt)/(1.0148+St*St*(1.1592500000000001+St*(.21654*St-1.01493)))}while(g(ct)>y);return[et,vt]},xc.invert=function(et,rt){if(g(rt)y&&--Mt>0);return Y=w(St),[(g(rt)=0;)if(tt=We[Ut],Xe[0]===tt[0]&&Xe[1]===tt[1]){if(mt)return[mt,Xe];mt=Xe}}}(K.face,le.face),De=(Tt=Te.map(le.project),At=Te.map(K.project),se=iu(Tt[1],Tt[0]),ve=iu(At[1],At[0]),Ie=function(Ue,We){return M(Ue[0]*We[1]-Ue[1]*We[0],Ue[0]*We[0]+Ue[1]*We[1])}(se,ve),Fe=Ki(se)/Ki(ve),ru([1,0,Tt[0][0],0,1,Tt[0][1]],ru([Fe,0,0,0,Fe,0],ru([v(Ie),m(Ie),0,-m(Ie),v(Ie),0],[1,0,-At[0][0],0,1,-At[0][1]]))));K.transform=le.transform?ru(le.transform,De):De;for(var He=le.edges,Ze=0,at=He.length;Ze0?[-vt[0],0]:[180-vt[0],180])};var rt=Us.map(function(ct){return{face:ct,project:et(ct)}});return[-1,0,0,1,0,1,4,5].forEach(function(ct,vt){var St=rt[ct];St&&(St.children||(St.children=[])).push(rt[vt])}),Ll(rt[0],function(ct,vt){return rt[ct<-_/2?vt<0?6:4:ct<0?vt<0?2:0:ct<_/2?vt<0?3:1:vt<0?7:5]}).angle(-30).scale(121.906).center([0,48.5904])}function ou(et){et=et||function(Mt){var Y=Mt.length===6?(0,Ye.Z)({type:"MultiPoint",coordinates:Mt}):Mt[0];return(0,Bi.Z)().scale(1).translate([0,0]).rotate([-Y[0],-Y[1]])};var rt=Us.map(function(Mt){for(var Y,ee=Mt.map(da),K=ee.length,le=ee[K-1],Te=[],De=0;DeK^ve>K&&ee<(se-at)*(K-Tt)/(ve-Tt)+at&&(le=!le)}return le}(St[0],vt))return St.push(ct),!0})||et.push([ct])}),zo=[],et.length?et.length>1?{type:"MultiPolygon",coordinates:et}:{type:"Polygon",coordinates:et[0]}:null}};function $o(et){var rt=et(k,0)[0]-et(-k,0)[0];function ct(vt,St){var Mt=g(vt)0?vt-_:vt+_,St),ee=(Y[0]-Y[1])*x,K=(Y[0]+Y[1])*x;if(Mt)return[ee,K];var le=rt*x,Te=ee>0^K>0?-1:1;return[Te*ee-h(K)*le,Te*K-h(ee)*le]}return et.invert&&(ct.invert=function(vt,St){var Mt=(vt+St)*x,Y=(St-vt)*x,ee=g(Mt)<.5*rt&&g(Y)<.5*rt;if(!ee){var K=rt*x,le=Mt>0^Y>0?-1:1,Te=-le*vt+(Y>0?1:-1)*K,De=-le*St+(Mt>0?1:-1)*K;Mt=(-Te-De)*x,Y=(Te-De)*x}var He=et.invert(Mt,Y);return ee||(He[0]+=Mt>0?_:-_),He}),(0,d.Z)(ct).rotate([-90,-90,45]).clipAngle(179.999)}function qc(){return $o($n).scale(176.423)}function Wc(){return $o(Pn).scale(111.48)}function Lo(et,rt){if(!(0<=(rt=+rt)&&rt<=20))throw new Error("invalid digits");function ct(le){var Te=le.length,De=2,He=new Array(Te);for(He[0]=+le[0].toFixed(rt),He[1]=+le[1].toFixed(rt);De2||Ze[0]!=Te[0]||Ze[1]!=Te[1])&&(De.push(Ze),Te=Ze)}return De.length===1&&le.length>1&&De.push(ct(le[le.length-1])),De}function Mt(le){return le.map(St)}function Y(le){if(le==null)return le;var Te;switch(le.type){case"GeometryCollection":Te={type:"GeometryCollection",geometries:le.geometries.map(Y)};break;case"Point":Te={type:"Point",coordinates:ct(le.coordinates)};break;case"MultiPoint":Te={type:le.type,coordinates:vt(le.coordinates)};break;case"LineString":Te={type:le.type,coordinates:St(le.coordinates)};break;case"MultiLineString":case"Polygon":Te={type:le.type,coordinates:Mt(le.coordinates)};break;case"MultiPolygon":Te={type:"MultiPolygon",coordinates:le.coordinates.map(Mt)};break;default:return le}return le.bbox!=null&&(Te.bbox=le.bbox),Te}function ee(le){var Te={type:"Feature",properties:le.properties,geometry:Y(le.geometry)};return le.id!=null&&(Te.id=le.id),le.bbox!=null&&(Te.bbox=le.bbox),Te}if(et!=null)switch(et.type){case"Feature":return ee(et);case"FeatureCollection":var K={type:"FeatureCollection",features:et.features.map(ee)};return et.bbox!=null&&(K.bbox=et.bbox),K;default:return Y(et)}return et}function Dr(et){var rt=m(et);function ct(vt,St){var Mt=rt?w(vt*rt/2)/rt:vt/2;if(!St)return[2*Mt,-et];var Y=2*i(Mt*m(St)),ee=1/w(St);return[m(Y)*ee,St+(1-v(Y))*ee-et]}return ct.invert=function(vt,St){if(g(St+=et)y&&--K>0);var He=vt*(le=w(ee)),Ze=w(g(St)0?k:-k)*(le+Mt*(De-ee)/2+Mt*Mt*(De-2*le+ee)/2)]}function zu(){return(0,d.Z)(Yc).scale(152.63)}function Fu(et,rt){var ct=function(Y){function ee(K,le){var Te=v(le),De=(Y-1)/(Y-Te*v(K));return[De*Te*m(K),De*m(le)]}return ee.invert=function(K,le){var Te=K*K+le*le,De=F(Te),He=(Y-F(1-Te*(Y+1)/(Y-1)))/((Y-1)/De+De/(Y-1));return[M(K*He,De*F(1-He*He)),De?O(le*He/De):0]},ee}(et);if(!rt)return ct;var vt=v(rt),St=m(rt);function Mt(Y,ee){var K=ct(Y,ee),le=K[1],Te=le*St/(et-1)+vt;return[K[0]*vt/Te,le/Te]}return Mt.invert=function(Y,ee){var K=(et-1)/(et-1-ee*St);return ct.invert(K*Y,K*ee*vt)},Mt}function Bu(){var et=2,rt=0,ct=(0,d.r)(Fu),vt=ct(et,rt);return vt.distance=function(St){return arguments.length?ct(et=+St,rt):et},vt.tilt=function(St){return arguments.length?ct(et,rt=St*I):rt*R},vt.scale(432.147).clipAngle(z(1/et)*R-1e-6)}Fo.forEach(function(et){et[1]*=1.0144}),Yc.invert=function(et,rt){var ct=rt/k,vt=90*ct,St=o(18,g(vt/5)),Mt=u(0,l(St));do{var Y=Fo[Mt][1],ee=Fo[Mt+1][1],K=Fo[o(19,Mt+2)][1],le=K-Y,Te=K-2*ee+Y,De=2*(g(ct)-ee)/le,He=Te/le,Ze=De*(1-He*De*(1-2*He*De));if(Ze>=0||Mt===1){vt=(rt>=0?5:-5)*(Ze+St);var at,Tt=50;do Ze=(St=o(18,g(vt)/5))-(Mt=l(St)),Y=Fo[Mt][1],ee=Fo[Mt+1][1],K=Fo[o(19,Mt+2)][1],vt-=(at=(rt>=0?k:-k)*(ee+Ze*(K-Y)/2+Ze*Ze*(K-2*ee+Y)/2)-rt)*R;while(g(at)>S&&--Tt>0);break}}while(--Mt>=0);var At=Fo[Mt][0],se=Fo[Mt+1][0],ve=Fo[o(19,Mt+2)][0];return[et/(se+Ze*(ve-At)/2+Ze*Ze*(ve-2*se+At)/2),vt*I]};var Br=-179.9999,Nu=179.9999,ys=-89.9999,$c=89.9999;function wc(et){return et.length>0}function vo(et){return et===-90||et===90?[0,et]:[-180,(rt=et,Math.floor(1e4*rt)/1e4)];var rt}function cu(et){var rt=et[0],ct=et[1],vt=!1;return rt<=Br?(rt=-180,vt=!0):rt>=Nu&&(rt=180,vt=!0),ct<=ys?(ct=-90,vt=!0):ct>=$c&&(ct=90,vt=!0),vt?[rt,ct]:et}function ll(et){return et.map(cu)}function Zo(et,rt,ct){for(var vt=0,St=et.length;vt=Nu||Te<=ys||Te>=$c){Mt[Y]=cu(K);for(var De=Y+1;DeBr&&Zeys&&at<$c)break}if(De===Y+1)continue;if(Y){var Tt={index:-1,polygon:rt,ring:Mt.slice(0,Y+1)};Tt.ring[Tt.ring.length-1]=vo(Te),ct[ct.length-1]=Tt}else ct.pop();if(De>=ee)break;ct.push({index:-1,polygon:rt,ring:Mt=Mt.slice(De-1)}),Mt[0]=vo(Mt[0][1]),Y=-1,ee=Mt.length}}}}function Pl(et){var rt,ct,vt,St,Mt,Y,ee=et.length,K={},le={};for(rt=0;rt0?_-ee:ee)*R],le=(0,d.Z)(et(Y)).rotate(K),Te=(0,st.Z)(K),De=le.center;return delete le.rotate,le.center=function(He){return arguments.length?De(Te(He)):Te.invert(De())},le.clipAngle(90)}function Tc(et){var rt=v(et);function ct(vt,St){var Mt=(0,Bi.M)(vt,St);return Mt[0]*=rt,Mt}return ct.invert=function(vt,St){return Bi.M.invert(vt/rt,St)},ct}function os(){return _s([-158,21.5],[-77,39]).clipAngle(60).scale(400)}function _s(et,rt){return Yi(Tc,et,rt)}function Gs(et){if(!(et*=2))return re.N;var rt=-et/2,ct=-rt,vt=et*et,St=w(ct),Mt=.5/m(ct);function Y(ee,K){var le=z(v(K)*v(ee-rt)),Te=z(v(K)*v(ee-ct));return[((le*=le)-(Te*=Te))/(2*et),(K<0?-1:1)*F(4*vt*Te-(vt-le+Te)*(vt-le+Te))/(2*et)]}return Y.invert=function(ee,K){var le,Te,De=K*K,He=v(F(De+(le=ee+rt)*le)),Ze=v(F(De+(le=ee+ct)*le));return[M(Te=He-Ze,le=(He+Ze)*St),(K<0?-1:1)*z(F(le*le+Te*Te)*Mt)]},Y}function Bo(){return Wi([-158,21.5],[-77,39]).clipAngle(130).scale(122.571)}function Wi(et,rt){return Yi(Gs,et,rt)}function no(et,rt){if(g(rt)y&&--ee>0);return[h(et)*(F(St*St+4)+St)*_/4,k*Y]};var cl=4*_+3*F(3),Rs=2*F(2*_*F(3)/cl),xo=Me(Rs*F(3)/_,Rs,cl/6);function Zc(){return(0,d.Z)(xo).scale(176.84)}function Vo(et,rt){return[et*F(1-3*rt*rt/(_*_)),rt]}function ju(){return(0,d.Z)(Vo).scale(152.63)}function hl(et,rt){var ct=v(rt),vt=v(et)*ct,St=1-vt,Mt=v(et=M(m(et)*ct,-m(rt))),Y=m(et);return[Y*(ct=F(1-vt*vt))-Mt*St,-Mt*ct-Y*St]}function Ji(){return(0,d.Z)(hl).rotate([0,-90,45]).scale(124.75).clipAngle(179.999)}function la(et,rt){var ct=$(et,rt);return[(ct[0]+et/k)/2,(ct[1]+rt)/2]}function Xc(){return(0,d.Z)(la).scale(158.837)}Vo.invert=function(et,rt){return[et/F(1-3*rt*rt/(_*_)),rt]},hl.invert=function(et,rt){var ct=(et*et+rt*rt)/-2,vt=F(-ct*(2+ct)),St=rt*ct+et*vt,Mt=et*ct-rt*vt,Y=F(Mt*Mt+St*St);return[M(vt*St,Y*(1+ct)),Y?-O(vt*Mt/Y):0]},la.invert=function(et,rt){var ct=et,vt=rt,St=25;do{var Mt,Y=v(vt),ee=m(vt),K=m(2*vt),le=ee*ee,Te=Y*Y,De=m(ct),He=v(ct/2),Ze=m(ct/2),at=Ze*Ze,Tt=1-Te*He*He,At=Tt?z(Y*He)*F(Mt=1/Tt):Mt=0,se=.5*(2*At*Y*Ze+ct/k)-et,ve=.5*(At*ee+vt)-rt,Ie=.5*Mt*(Te*at+At*Y*He*le)+.5/k,Fe=Mt*(De*K/4-At*ee*Ze),Ue=.125*Mt*(K*Ze-At*ee*Te*De),We=.5*Mt*(le*He+At*at*Y)+.5,Xe=Fe*Ue-We*Ie,tt=(ve*Fe-se*We)/Xe,lt=(se*Ue-ve*Ie)/Xe;ct-=tt,vt-=lt}while((g(tt)>y||g(lt)>y)&&--St>0);return[ct,vt]}},33940:function(T,p,t){function d(){return new g}function g(){this.reset()}t.d(p,{Z:function(){return d}}),g.prototype={constructor:g,reset:function(){this.s=this.t=0},add:function(v){M(i,v,this.t),M(this,i.s,this.s),this.s?this.t+=i.t:this.s=i.t},valueOf:function(){return this.s}};var i=new g;function M(v,f,l){var a=v.s=f+l,u=a-f,o=a-u;v.t=f-o+(l-u)}},97860:function(T,p,t){t.d(p,{L9:function(){return o},ZP:function(){return S},gL:function(){return c}});var d,g,i,M,v,f=t(33940),l=t(39695),a=t(73182),u=t(72736),o=(0,f.Z)(),s=(0,f.Z)(),c={point:a.Z,lineStart:a.Z,lineEnd:a.Z,polygonStart:function(){o.reset(),c.lineStart=h,c.lineEnd=m},polygonEnd:function(){var _=+o;s.add(_<0?l.BZ+_:_),this.lineStart=this.lineEnd=this.point=a.Z},sphere:function(){s.add(l.BZ)}};function h(){c.point=w}function m(){y(d,g)}function w(_,k){c.point=y,d=_,g=k,_*=l.uR,k*=l.uR,i=_,M=(0,l.mC)(k=k/2+l.pu),v=(0,l.O$)(k)}function y(_,k){_*=l.uR,k=(k*=l.uR)/2+l.pu;var E=_-i,x=E>=0?1:-1,A=x*E,L=(0,l.mC)(k),b=(0,l.O$)(k),R=v*b,I=M*L+R*(0,l.mC)(A),O=R*x*(0,l.O$)(A);o.add((0,l.fv)(O,I)),i=_,M=L,v=b}function S(_){return s.reset(),(0,u.Z)(_,c),2*s}},77338:function(T,p,t){t.d(p,{Z:function(){return z}});var d,g,i,M,v,f,l,a,u,o,s=t(33940),c=t(97860),h=t(7620),m=t(39695),w=t(72736),y=(0,s.Z)(),S={point:_,lineStart:E,lineEnd:x,polygonStart:function(){S.point=A,S.lineStart=L,S.lineEnd=b,y.reset(),c.gL.polygonStart()},polygonEnd:function(){c.gL.polygonEnd(),S.point=_,S.lineStart=E,S.lineEnd=x,c.L9<0?(d=-(i=180),g=-(M=90)):y>m.Ho?M=90:y<-m.Ho&&(g=-90),o[0]=d,o[1]=i},sphere:function(){d=-(i=180),g=-(M=90)}};function _(F,B){u.push(o=[d=F,i=F]),BM&&(M=B)}function k(F,B){var N=(0,h.Og)([F*m.uR,B*m.uR]);if(a){var W=(0,h.T5)(a,N),j=[W[1],-W[0],0],$=(0,h.T5)(j,W);(0,h.iJ)($),$=(0,h.Y1)($);var U,G=F-v,q=G>0?1:-1,H=$[0]*m.RW*q,ne=(0,m.Wn)(G)>180;ne^(q*vM&&(M=U):ne^(q*v<(H=(H+360)%360-180)&&HM&&(M=B)),ne?FR(d,i)&&(i=F):R(F,i)>R(d,i)&&(d=F):i>=d?(Fi&&(i=F)):F>v?R(d,F)>R(d,i)&&(i=F):R(F,i)>R(d,i)&&(d=F)}else u.push(o=[d=F,i=F]);BM&&(M=B),a=N,v=F}function E(){S.point=k}function x(){o[0]=d,o[1]=i,S.point=_,a=null}function A(F,B){if(a){var N=F-v;y.add((0,m.Wn)(N)>180?N+(N>0?360:-360):N)}else f=F,l=B;c.gL.point(F,B),k(F,B)}function L(){c.gL.lineStart()}function b(){A(f,l),c.gL.lineEnd(),(0,m.Wn)(y)>m.Ho&&(d=-(i=180)),o[0]=d,o[1]=i,a=null}function R(F,B){return(B-=F)<0?B+360:B}function I(F,B){return F[0]-B[0]}function O(F,B){return F[0]<=F[1]?F[0]<=B&&B<=F[1]:BR(W[0],W[1])&&(W[1]=j[1]),R(j[0],W[1])>R(W[0],W[1])&&(W[0]=j[0])):$.push(W=j);for(U=-1/0,B=0,W=$[N=$.length-1];B<=N;W=j,++B)j=$[B],(G=R(W[1],j[0]))>U&&(U=G,d=j[0],i=W[1])}return u=o=null,d===1/0||g===1/0?[[NaN,NaN],[NaN,NaN]]:[[d,g],[i,M]]}},7620:function(T,p,t){t.d(p,{Og:function(){return i},T:function(){return l},T5:function(){return v},Y1:function(){return g},iJ:function(){return a},j9:function(){return M},s0:function(){return f}});var d=t(39695);function g(u){return[(0,d.fv)(u[1],u[0]),(0,d.ZR)(u[2])]}function i(u){var o=u[0],s=u[1],c=(0,d.mC)(s);return[c*(0,d.mC)(o),c*(0,d.O$)(o),(0,d.O$)(s)]}function M(u,o){return u[0]*o[0]+u[1]*o[1]+u[2]*o[2]}function v(u,o){return[u[1]*o[2]-u[2]*o[1],u[2]*o[0]-u[0]*o[2],u[0]*o[1]-u[1]*o[0]]}function f(u,o){u[0]+=o[0],u[1]+=o[1],u[2]+=o[2]}function l(u,o){return[u[0]*o,u[1]*o,u[2]*o]}function a(u){var o=(0,d._b)(u[0]*u[0]+u[1]*u[1]+u[2]*u[2]);u[0]/=o,u[1]/=o,u[2]/=o}},66624:function(T,p,t){t.d(p,{Z:function(){return N}});var d,g,i,M,v,f,l,a,u,o,s,c,h,m,w,y,S=t(39695),_=t(73182),k=t(72736),E={sphere:_.Z,point:x,lineStart:L,lineEnd:I,polygonStart:function(){E.lineStart=O,E.lineEnd=z},polygonEnd:function(){E.lineStart=L,E.lineEnd=I}};function x(W,j){W*=S.uR,j*=S.uR;var $=(0,S.mC)(j);A($*(0,S.mC)(W),$*(0,S.O$)(W),(0,S.O$)(j))}function A(W,j,$){++d,i+=(W-i)/d,M+=(j-M)/d,v+=($-v)/d}function L(){E.point=b}function b(W,j){W*=S.uR,j*=S.uR;var $=(0,S.mC)(j);m=$*(0,S.mC)(W),w=$*(0,S.O$)(W),y=(0,S.O$)(j),E.point=R,A(m,w,y)}function R(W,j){W*=S.uR,j*=S.uR;var $=(0,S.mC)(j),U=$*(0,S.mC)(W),G=$*(0,S.O$)(W),q=(0,S.O$)(j),H=(0,S.fv)((0,S._b)((H=w*q-y*G)*H+(H=y*U-m*q)*H+(H=m*G-w*U)*H),m*U+w*G+y*q);g+=H,f+=H*(m+(m=U)),l+=H*(w+(w=G)),a+=H*(y+(y=q)),A(m,w,y)}function I(){E.point=x}function O(){E.point=F}function z(){B(c,h),E.point=x}function F(W,j){c=W,h=j,W*=S.uR,j*=S.uR,E.point=B;var $=(0,S.mC)(j);m=$*(0,S.mC)(W),w=$*(0,S.O$)(W),y=(0,S.O$)(j),A(m,w,y)}function B(W,j){W*=S.uR,j*=S.uR;var $=(0,S.mC)(j),U=$*(0,S.mC)(W),G=$*(0,S.O$)(W),q=(0,S.O$)(j),H=w*q-y*G,ne=y*U-m*q,te=m*G-w*U,Z=(0,S._b)(H*H+ne*ne+te*te),X=(0,S.ZR)(Z),Q=Z&&-X/Z;u+=Q*H,o+=Q*ne,s+=Q*te,g+=X,f+=X*(m+(m=U)),l+=X*(w+(w=G)),a+=X*(y+(y=q)),A(m,w,y)}function N(W){d=g=i=M=v=f=l=a=u=o=s=0,(0,k.Z)(W,E);var j=u,$=o,U=s,G=j*j+$*$+U*U;return G0?ch)&&(c+=s*i.BZ));for(var S,_=c;s>0?_>h:_0?g.pi:-g.pi,s=(0,g.Wn)(a-v);(0,g.Wn)(s-g.pi)0?g.ou:-g.ou),i.point(l,f),i.lineEnd(),i.lineStart(),i.point(o,f),i.point(a,f),M=0):l!==o&&s>=g.pi&&((0,g.Wn)(v-l)g.Ho?(0,g.z4)(((0,g.O$)(h)*(S=(0,g.mC)(w))*(0,g.O$)(m)-(0,g.O$)(w)*(y=(0,g.mC)(h))*(0,g.O$)(c))/(y*S*_)):(h+w)/2}(v,f,a,u),i.point(l,f),i.lineEnd(),i.lineStart(),i.point(o,f),M=0),i.point(v=a,f=u),l=o},lineEnd:function(){i.lineEnd(),v=f=NaN},clean:function(){return 2-M}}},function(i,M,v,f){var l;if(i==null)l=v*g.ou,f.point(-g.pi,l),f.point(0,l),f.point(g.pi,l),f.point(g.pi,0),f.point(g.pi,-l),f.point(0,-l),f.point(-g.pi,-l),f.point(-g.pi,0),f.point(-g.pi,l);else if((0,g.Wn)(i[0]-M[0])>g.Ho){var a=i[0]1&&M.push(M.pop().concat(M.shift()))},result:function(){var v=M;return M=[],i=null,v}}}},1457:function(T,p,t){t.d(p,{Z:function(){return f}});var d=t(7620),g=t(7613),i=t(39695),M=t(67108),v=t(97023);function f(l){var a=(0,i.mC)(l),u=6*i.uR,o=a>0,s=(0,i.Wn)(a)>i.Ho;function c(w,y){return(0,i.mC)(w)*(0,i.mC)(y)>a}function h(w,y,S){var _=(0,d.Og)(w),k=(0,d.Og)(y),E=[1,0,0],x=(0,d.T5)(_,k),A=(0,d.j9)(x,x),L=x[0],b=A-L*L;if(!b)return!S&&w;var R=a*A/b,I=-a*L/b,O=(0,d.T5)(E,x),z=(0,d.T)(E,R),F=(0,d.T)(x,I);(0,d.s0)(z,F);var B=O,N=(0,d.j9)(z,B),W=(0,d.j9)(B,B),j=N*N-W*((0,d.j9)(z,z)-1);if(!(j<0)){var $=(0,i._b)(j),U=(0,d.T)(B,(-N-$)/W);if((0,d.s0)(U,z),U=(0,d.Y1)(U),!S)return U;var G,q=w[0],H=y[0],ne=w[1],te=y[1];H0^U[1]<((0,i.Wn)(U[0]-q)i.pi^(q<=U[0]&&U[0]<=H)){var Q=(0,d.T)(B,(-N+$)/W);return(0,d.s0)(Q,z),[U,(0,d.Y1)(Q)]}}}function m(w,y){var S=o?l:i.pi-l,_=0;return w<-S?_|=1:w>S&&(_|=2),y<-S?_|=4:y>S&&(_|=8),_}return(0,v.Z)(c,function(w){var y,S,_,k,E;return{lineStart:function(){k=_=!1,E=1},point:function(x,A){var L,b=[x,A],R=c(x,A),I=o?R?0:m(x,A):R?m(x+(x<0?i.pi:-i.pi),A):0;if(!y&&(k=_=R)&&w.lineStart(),R!==_&&(!(L=h(y,b))||(0,M.Z)(y,L)||(0,M.Z)(b,L))&&(b[2]=1),R!==_)E=0,R?(w.lineStart(),L=h(b,y),w.point(L[0],L[1])):(L=h(y,b),w.point(L[0],L[1],2),w.lineEnd()),y=L;else if(s&&y&&o^R){var O;I&S||!(O=h(b,y,!0))||(E=0,o?(w.lineStart(),w.point(O[0][0],O[0][1]),w.point(O[1][0],O[1][1]),w.lineEnd()):(w.point(O[1][0],O[1][1]),w.lineEnd(),w.lineStart(),w.point(O[0][0],O[0][1],3)))}!R||y&&(0,M.Z)(y,b)||w.point(b[0],b[1]),y=b,_=R,S=I},lineEnd:function(){_&&w.lineEnd(),y=null},clean:function(){return E|(k&&_)<<1}}},function(w,y,S,_){(0,g.m)(_,l,u,S,w,y)},o?[0,-l]:[-i.pi,l-i.pi])}},97023:function(T,p,t){t.d(p,{Z:function(){return f}});var d=t(85272),g=t(46225),i=t(39695),M=t(23071),v=t(33064);function f(u,o,s,c){return function(h){var m,w,y,S=o(h),_=(0,d.Z)(),k=o(_),E=!1,x={point:A,lineStart:b,lineEnd:R,polygonStart:function(){x.point=I,x.lineStart=O,x.lineEnd=z,w=[],m=[]},polygonEnd:function(){x.point=A,x.lineStart=b,x.lineEnd=R,w=(0,v.TS)(w);var F=(0,M.Z)(m,c);w.length?(E||(h.polygonStart(),E=!0),(0,g.Z)(w,a,F,s,h)):F&&(E||(h.polygonStart(),E=!0),h.lineStart(),s(null,null,1,h),h.lineEnd()),E&&(h.polygonEnd(),E=!1),w=m=null},sphere:function(){h.polygonStart(),h.lineStart(),s(null,null,1,h),h.lineEnd(),h.polygonEnd()}};function A(F,B){u(F,B)&&h.point(F,B)}function L(F,B){S.point(F,B)}function b(){x.point=L,S.lineStart()}function R(){x.point=A,S.lineEnd()}function I(F,B){y.push([F,B]),k.point(F,B)}function O(){k.lineStart(),y=[]}function z(){I(y[0][0],y[0][1]),k.lineEnd();var F,B,N,W,j=k.clean(),$=_.result(),U=$.length;if(y.pop(),m.push(y),y=null,U)if(1&j){if((B=(N=$[0]).length-1)>0){for(E||(h.polygonStart(),E=!0),h.lineStart(),F=0;F1&&2&j&&$.push($.pop().concat($.shift())),w.push($.filter(l))}return x}}function l(u){return u.length>1}function a(u,o){return((u=u.x)[0]<0?u[1]-i.ou-i.Ho:i.ou-u[1])-((o=o.x)[0]<0?o[1]-i.ou-i.Ho:i.ou-o[1])}},87605:function(T,p,t){t.d(p,{Z:function(){return l}});var d=t(39695),g=t(85272),i=t(46225),M=t(33064),v=1e9,f=-v;function l(a,u,o,s){function c(S,_){return a<=S&&S<=o&&u<=_&&_<=s}function h(S,_,k,E){var x=0,A=0;if(S==null||(x=m(S,k))!==(A=m(_,k))||y(S,_)<0^k>0)do E.point(x===0||x===3?a:o,x>1?s:u);while((x=(x+k+4)%4)!==A);else E.point(_[0],_[1])}function m(S,_){return(0,d.Wn)(S[0]-a)0?0:3:(0,d.Wn)(S[0]-o)0?2:1:(0,d.Wn)(S[1]-u)0?1:0:_>0?3:2}function w(S,_){return y(S.x,_.x)}function y(S,_){var k=m(S,1),E=m(_,1);return k!==E?k-E:k===0?_[1]-S[1]:k===1?S[0]-_[0]:k===2?S[1]-_[1]:_[0]-S[0]}return function(S){var _,k,E,x,A,L,b,R,I,O,z,F=S,B=(0,g.Z)(),N={point:W,lineStart:function(){N.point=j,k&&k.push(E=[]),O=!0,I=!1,b=R=NaN},lineEnd:function(){_&&(j(x,A),L&&I&&B.rejoin(),_.push(B.result())),N.point=W,I&&F.lineEnd()},polygonStart:function(){F=B,_=[],k=[],z=!0},polygonEnd:function(){var $=function(){for(var q=0,H=0,ne=k.length;Hs&&(oe-te)*(s-Z)>(ue-Z)*(a-te)&&++q:ue<=s&&(oe-te)*(s-Z)<(ue-Z)*(a-te)&&--q;return q}(),U=z&&$,G=(_=(0,M.TS)(_)).length;(U||G)&&(S.polygonStart(),U&&(S.lineStart(),h(null,null,1,S),S.lineEnd()),G&&(0,i.Z)(_,w,$,h,S),S.polygonEnd()),F=S,_=k=E=null}};function W($,U){c($,U)&&F.point($,U)}function j($,U){var G=c($,U);if(k&&E.push([$,U]),O)x=$,A=U,L=G,O=!1,G&&(F.lineStart(),F.point($,U));else if(G&&I)F.point($,U);else{var q=[b=Math.max(f,Math.min(v,b)),R=Math.max(f,Math.min(v,R))],H=[$=Math.max(f,Math.min(v,$)),U=Math.max(f,Math.min(v,U))];(function(ne,te,Z,X,Q,re){var ie,oe=ne[0],ue=ne[1],ce=0,ye=1,de=te[0]-oe,me=te[1]-ue;if(ie=Z-oe,de||!(ie>0)){if(ie/=de,de<0){if(ie0){if(ie>ye)return;ie>ce&&(ce=ie)}if(ie=Q-oe,de||!(ie<0)){if(ie/=de,de<0){if(ie>ye)return;ie>ce&&(ce=ie)}else if(de>0){if(ie0)){if(ie/=me,me<0){if(ie0){if(ie>ye)return;ie>ce&&(ce=ie)}if(ie=re-ue,me||!(ie<0)){if(ie/=me,me<0){if(ie>ye)return;ie>ce&&(ce=ie)}else if(me>0){if(ie0&&(ne[0]=oe+ce*de,ne[1]=ue+ce*me),ye<1&&(te[0]=oe+ye*de,te[1]=ue+ye*me),!0}}}}})(q,H,a,u,o,s)?(I||(F.lineStart(),F.point(q[0],q[1])),F.point(H[0],H[1]),G||F.lineEnd(),z=!1):G&&(F.lineStart(),F.point($,U),z=!1)}b=$,R=U,I=G}return N}}},46225:function(T,p,t){t.d(p,{Z:function(){return M}});var d=t(67108),g=t(39695);function i(f,l,a,u){this.x=f,this.z=l,this.o=a,this.e=u,this.v=!1,this.n=this.p=null}function M(f,l,a,u,o){var s,c,h=[],m=[];if(f.forEach(function(E){if(!((x=E.length-1)<=0)){var x,A,L=E[0],b=E[x];if((0,d.Z)(L,b)){if(!L[2]&&!b[2]){for(o.lineStart(),s=0;s=0;--s)o.point((y=w[s])[0],y[1]);else u(_.x,_.p.x,-1,o);_=_.p}w=(_=_.o).z,k=!k}while(!_.v);o.lineEnd()}}}function v(f){if(l=f.length){for(var l,a,u=0,o=f[0];++u0&&(Un=R(Kt[Kn],Kt[Kn-1]))>0&&Rn<=Un&&Ln<=Un&&(Rn+Ln-Un)*(1-Math.pow((Rn-Ln)/Un,2))m.Ho}).map(mr)).concat((0,U.w6)((0,m.mD)(Kn/hn)*hn,Un,hn).filter(function(gn){return(0,m.Wn)(gn%On)>m.Ho}).map(nn))}return mn.lines=function(){return wn().map(function(gn){return{type:"LineString",coordinates:gn}})},mn.outline=function(){return{type:"Polygon",coordinates:[Pn(Ln).concat(jt($n).slice(1),Pn(Rn).reverse().slice(1),jt(tr).reverse().slice(1))]}},mn.extent=function(gn){return arguments.length?mn.extentMajor(gn).extentMinor(gn):mn.extentMinor()},mn.extentMajor=function(gn){return arguments.length?(Ln=+gn[0][0],Rn=+gn[1][0],tr=+gn[0][1],$n=+gn[1][1],Ln>Rn&&(gn=Ln,Ln=Rn,Rn=gn),tr>$n&&(gn=tr,tr=$n,$n=gn),mn.precision(En)):[[Ln,tr],[Rn,$n]]},mn.extentMinor=function(gn){return arguments.length?(bn=+gn[0][0],Kt=+gn[1][0],Kn=+gn[0][1],Un=+gn[1][1],bn>Kt&&(gn=bn,bn=Kt,Kt=gn),Kn>Un&&(gn=Kn,Kn=Un,Un=gn),mn.precision(En)):[[bn,Kn],[Kt,Un]]},mn.step=function(gn){return arguments.length?mn.stepMajor(gn).stepMinor(gn):mn.stepMinor()},mn.stepMajor=function(gn){return arguments.length?(zn=+gn[0],On=+gn[1],mn):[zn,On]},mn.stepMinor=function(gn){return arguments.length?(Jt=+gn[0],hn=+gn[1],mn):[Jt,hn]},mn.precision=function(gn){return arguments.length?(En=+gn,mr=G(Kn,Un,90),nn=q(bn,Kt,En),Pn=G(tr,$n,90),jt=q(Ln,Rn,En),mn):En},mn.extentMajor([[-180,-90+m.Ho],[180,90-m.Ho]]).extentMinor([[-180,-80-m.Ho],[180,80+m.Ho]])}function ne(){return H()()}var te,Z,X,Q,re=t(83074),ie=t(8593),oe=(0,h.Z)(),ue=(0,h.Z)(),ce={point:w.Z,lineStart:w.Z,lineEnd:w.Z,polygonStart:function(){ce.lineStart=ye,ce.lineEnd=pe},polygonEnd:function(){ce.lineStart=ce.lineEnd=ce.point=w.Z,oe.add((0,m.Wn)(ue)),ue.reset()},result:function(){var Kt=oe/2;return oe.reset(),Kt}};function ye(){ce.point=de}function de(Kt,bn){ce.point=me,te=X=Kt,Z=Q=bn}function me(Kt,bn){ue.add(Q*Kt-X*bn),X=Kt,Q=bn}function pe(){me(te,Z)}var xe,Pe,_e,Me,Se=ce,Ce=t(3559),ae=0,fe=0,be=0,ke=0,Le=0,Be=0,ze=0,je=0,ge=0,we={point:Ee,lineStart:Ve,lineEnd:st,polygonStart:function(){we.lineStart=ot,we.lineEnd=ht},polygonEnd:function(){we.point=Ee,we.lineStart=Ve,we.lineEnd=st},result:function(){var Kt=ge?[ze/ge,je/ge]:Be?[ke/Be,Le/Be]:be?[ae/be,fe/be]:[NaN,NaN];return ae=fe=be=ke=Le=Be=ze=je=ge=0,Kt}};function Ee(Kt,bn){ae+=Kt,fe+=bn,++be}function Ve(){we.point=$e}function $e(Kt,bn){we.point=Ye,Ee(_e=Kt,Me=bn)}function Ye(Kt,bn){var Rn=Kt-_e,Ln=bn-Me,Un=(0,m._b)(Rn*Rn+Ln*Ln);ke+=Un*(_e+Kt)/2,Le+=Un*(Me+bn)/2,Be+=Un,Ee(_e=Kt,Me=bn)}function st(){we.point=Ee}function ot(){we.point=bt}function ht(){Et(xe,Pe)}function bt(Kt,bn){we.point=Et,Ee(xe=_e=Kt,Pe=Me=bn)}function Et(Kt,bn){var Rn=Kt-_e,Ln=bn-Me,Un=(0,m._b)(Rn*Rn+Ln*Ln);ke+=Un*(_e+Kt)/2,Le+=Un*(Me+bn)/2,Be+=Un,ze+=(Un=Me*Kt-_e*bn)*(_e+Kt),je+=Un*(Me+bn),ge+=3*Un,Ee(_e=Kt,Me=bn)}var kt=we;function xt(Kt){this._context=Kt}xt.prototype={_radius:4.5,pointRadius:function(Kt){return this._radius=Kt,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._context.closePath(),this._point=NaN},point:function(Kt,bn){switch(this._point){case 0:this._context.moveTo(Kt,bn),this._point=1;break;case 1:this._context.lineTo(Kt,bn);break;default:this._context.moveTo(Kt+this._radius,bn),this._context.arc(Kt,bn,this._radius,0,m.BZ)}},result:w.Z};var Ft,Ot,Bt,qt,Vt,Ke=(0,h.Z)(),Je={point:w.Z,lineStart:function(){Je.point=qe},lineEnd:function(){Ft&&nt(Ot,Bt),Je.point=w.Z},polygonStart:function(){Ft=!0},polygonEnd:function(){Ft=null},result:function(){var Kt=+Ke;return Ke.reset(),Kt}};function qe(Kt,bn){Je.point=nt,Ot=qt=Kt,Bt=Vt=bn}function nt(Kt,bn){qt-=Kt,Vt-=bn,Ke.add((0,m._b)(qt*qt+Vt*Vt)),qt=Kt,Vt=bn}var ft=Je;function Re(){this._string=[]}function Ne(Kt){return"m0,"+Kt+"a"+Kt+","+Kt+" 0 1,1 0,"+-2*Kt+"a"+Kt+","+Kt+" 0 1,1 0,"+2*Kt+"z"}function Qe(Kt,bn){var Rn,Ln,Un=4.5;function Kn($n){return $n&&(typeof Un=="function"&&Ln.pointRadius(+Un.apply(this,arguments)),(0,y.Z)($n,Rn(Ln))),Ln.result()}return Kn.area=function($n){return(0,y.Z)($n,Rn(Se)),Se.result()},Kn.measure=function($n){return(0,y.Z)($n,Rn(ft)),ft.result()},Kn.bounds=function($n){return(0,y.Z)($n,Rn(Ce.Z)),Ce.Z.result()},Kn.centroid=function($n){return(0,y.Z)($n,Rn(kt)),kt.result()},Kn.projection=function($n){return arguments.length?(Rn=$n==null?(Kt=null,ie.Z):(Kt=$n).stream,Kn):Kt},Kn.context=function($n){return arguments.length?(Ln=$n==null?(bn=null,new Re):new xt(bn=$n),typeof Un!="function"&&Ln.pointRadius(Un),Kn):bn},Kn.pointRadius=function($n){return arguments.length?(Un=typeof $n=="function"?$n:(Ln.pointRadius(+$n),+$n),Kn):Un},Kn.projection(Kt).context(bn)}Re.prototype={_radius:4.5,_circle:Ne(4.5),pointRadius:function(Kt){return(Kt=+Kt)!==this._radius&&(this._radius=Kt,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._string.push("Z"),this._point=NaN},point:function(Kt,bn){switch(this._point){case 0:this._string.push("M",Kt,",",bn),this._point=1;break;case 1:this._string.push("L",Kt,",",bn);break;default:this._circle==null&&(this._circle=Ne(this._radius)),this._string.push("M",Kt,",",bn,this._circle)}},result:function(){if(this._string.length){var Kt=this._string.join("");return this._string=[],Kt}return null}};var ut=t(15002);function dt(Kt){var bn=0,Rn=m.pi/3,Ln=(0,ut.r)(Kt),Un=Ln(bn,Rn);return Un.parallels=function(Kn){return arguments.length?Ln(bn=Kn[0]*m.uR,Rn=Kn[1]*m.uR):[bn*m.RW,Rn*m.RW]},Un}function _t(Kt,bn){var Rn=(0,m.O$)(Kt),Ln=(Rn+(0,m.O$)(bn))/2;if((0,m.Wn)(Ln)=.12&&En<.234&&On>=-.425&&On<-.214?tr:En>=.166&&En<.234&&On>=-.214&&On<-.115?mr:$n).invert(Jt)},Pn.stream=function(Jt){return Kt&&bn===Jt?Kt:(hn=[$n.stream(bn=Jt),tr.stream(Jt),mr.stream(Jt)],zn=hn.length,Kt={point:function(On,En){for(var mn=-1;++mn0?tr<-m.ou+m.Ho&&(tr=-m.ou+m.Ho):tr>m.ou-m.Ho&&(tr=m.ou-m.Ho);var mr=Un/(0,m.sQ)(Qt(tr),Ln);return[mr*(0,m.O$)(Ln*$n),Un-mr*(0,m.mC)(Ln*$n)]}return Kn.invert=function($n,tr){var mr=Un-tr,nn=(0,m.Xx)(Ln)*(0,m._b)($n*$n+mr*mr),Pn=(0,m.fv)($n,(0,m.Wn)(mr))*(0,m.Xx)(mr);return mr*Ln<0&&(Pn-=m.pi*(0,m.Xx)($n)*(0,m.Xx)(mr)),[Pn/Ln,2*(0,m.z4)((0,m.sQ)(Un/nn,1/Ln))-m.ou]},Kn}function xn(){return dt(rn).scale(109.5).parallels([30,30])}Yt.invert=function(Kt,bn){return[Kt,2*(0,m.z4)((0,m.Qq)(bn))-m.ou]};var un=t(97492);function An(Kt,bn){var Rn=(0,m.mC)(Kt),Ln=Kt===bn?(0,m.O$)(Kt):(Rn-(0,m.mC)(bn))/(bn-Kt),Un=Rn/Ln+Kt;if((0,m.Wn)(Ln)2?Ln[2]+90:90]):[(Ln=Rn())[0],Ln[1],Ln[2]-90]},Rn([0,0,90]).scale(159.155)}yr.invert=(0,Sr.O)(function(Kt){return 2*(0,m.z4)(Kt)}),vr.invert=function(Kt,bn){return[-bn,2*(0,m.z4)((0,m.Qq)(Kt))-m.ou]}},83074:function(T,p,t){t.d(p,{Z:function(){return g}});var d=t(39695);function g(i,M){var v=i[0]*d.uR,f=i[1]*d.uR,l=M[0]*d.uR,a=M[1]*d.uR,u=(0,d.mC)(f),o=(0,d.O$)(f),s=(0,d.mC)(a),c=(0,d.O$)(a),h=u*(0,d.mC)(v),m=u*(0,d.O$)(v),w=s*(0,d.mC)(l),y=s*(0,d.O$)(l),S=2*(0,d.ZR)((0,d._b)((0,d.Jy)(a-f)+u*s*(0,d.Jy)(l-v))),_=(0,d.O$)(S),k=S?function(E){var x=(0,d.O$)(E*=S)/_,A=(0,d.O$)(S-E)/_,L=A*h+x*w,b=A*m+x*y,R=A*o+x*c;return[(0,d.fv)(b,L)*d.RW,(0,d.fv)(R,(0,d._b)(L*L+b*b))*d.RW]}:function(){return[v*d.RW,f*d.RW]};return k.distance=S,k}},39695:function(T,p,t){t.d(p,{BZ:function(){return f},Ho:function(){return d},Jy:function(){return L},Kh:function(){return x},O$:function(){return S},OR:function(){return E},Qq:function(){return m},RW:function(){return l},Wn:function(){return u},Xx:function(){return _},ZR:function(){return A},_b:function(){return k},aW:function(){return g},cM:function(){return w},fv:function(){return s},mC:function(){return c},mD:function(){return h},ou:function(){return M},pi:function(){return i},pu:function(){return v},sQ:function(){return y},uR:function(){return a},z4:function(){return o}});var d=1e-6,g=1e-12,i=Math.PI,M=i/2,v=i/4,f=2*i,l=180/i,a=i/180,u=Math.abs,o=Math.atan,s=Math.atan2,c=Math.cos,h=Math.ceil,m=Math.exp,w=Math.log,y=Math.pow,S=Math.sin,_=Math.sign||function(b){return b>0?1:b<0?-1:0},k=Math.sqrt,E=Math.tan;function x(b){return b>1?0:b<-1?i:Math.acos(b)}function A(b){return b>1?M:b<-1?-M:Math.asin(b)}function L(b){return(b=S(b/2))*b}},73182:function(T,p,t){function d(){}t.d(p,{Z:function(){return d}})},3559:function(T,p,t){var d=t(73182),g=1/0,i=g,M=-g,v=M,f={point:function(l,a){lM&&(M=l),av&&(v=a)},lineStart:d.Z,lineEnd:d.Z,polygonStart:d.Z,polygonEnd:d.Z,result:function(){var l=[[g,i],[M,v]];return M=v=-(i=g=1/0),l}};p.Z=f},67108:function(T,p,t){t.d(p,{Z:function(){return g}});var d=t(39695);function g(i,M){return(0,d.Wn)(i[0]-M[0])=0?1:-1,W=N*B,j=W>i.pi,$=A*z;if(M.add((0,i.fv)($*N*(0,i.O$)(W),L*F+$*(0,i.mC)(W))),h+=j?B+N*i.BZ:B,j^E>=u^I>=u){var U=(0,g.T5)((0,g.Og)(k),(0,g.Og)(R));(0,g.iJ)(U);var G=(0,g.T5)(c,U);(0,g.iJ)(G);var q=(j^B>=0?-1:1)*(0,i.ZR)(G[2]);(o>q||o===q&&(U[0]||U[1]))&&(m+=j^B>=0?1:-1)}}return(h<-i.Ho||h4*x&&U--){var te=I+W,Z=O+j,X=z+$,Q=(0,f._b)(te*te+Z*Z+X*X),re=(0,f.ZR)(X/=Q),ie=(0,f.Wn)((0,f.Wn)(X)-1)x||(0,f.Wn)((q*ye+H*de)/ne-.5)>.3||I*W+O*j+z*$2?ye[2]%360*f.uR:0,ue()):[$*f.RW,U*f.RW,G*f.RW]},ie.angle=function(ye){return arguments.length?(q=ye%360*f.uR,ue()):q*f.RW},ie.reflectX=function(ye){return arguments.length?(H=ye?-1:1,ue()):H<0},ie.reflectY=function(ye){return arguments.length?(ne=ye?-1:1,ue()):ne<0},ie.precision=function(ye){return arguments.length?(b=c(R,re=ye*ye),ce()):(0,f._b)(re)},ie.fitExtent=function(ye,de){return(0,u.qg)(ie,ye,de)},ie.fitSize=function(ye,de){return(0,u.mF)(ie,ye,de)},ie.fitWidth=function(ye,de){return(0,u.V6)(ie,ye,de)},ie.fitHeight=function(ye,de){return(0,u.rf)(ie,ye,de)},function(){return k=_.apply(this,arguments),ie.invert=k.invert&&oe,ue()}}},26867:function(T,p,t){t.d(p,{K:function(){return i},Z:function(){return M}});var d=t(15002),g=t(39695);function i(v,f){var l=f*f,a=l*l;return[v*(.8707-.131979*l+a*(a*(.003971*l-.001529*a)-.013791)),f*(1.007226+l*(.015085+a*(.028874*l-.044475-.005916*a)))]}function M(){return(0,d.Z)(i).scale(175.295)}i.invert=function(v,f){var l,a=f,u=25;do{var o=a*a,s=o*o;a-=l=(a*(1.007226+o*(.015085+s*(.028874*o-.044475-.005916*s)))-f)/(1.007226+o*(.045255+s*(.259866*o-.311325-.06507600000000001*s)))}while((0,g.Wn)(l)>g.Ho&&--u>0);return[v/(.8707+(o=a*a)*(o*(o*o*o*(.003971-.001529*o)-.013791)-.131979)),a]}},57962:function(T,p,t){t.d(p,{I:function(){return M},Z:function(){return v}});var d=t(39695),g=t(25382),i=t(15002);function M(f,l){return[(0,d.mC)(l)*(0,d.O$)(f),(0,d.O$)(l)]}function v(){return(0,i.Z)(M).scale(249.5).clipAngle(90+d.Ho)}M.invert=(0,g.O)(d.ZR)},49386:function(T,p,t){t.d(p,{I:function(){return M},Z:function(){return a}});var d=t(96059),g=t(39695);function i(u,o){return[(0,g.Wn)(u)>g.pi?u+Math.round(-u/g.BZ)*g.BZ:u,o]}function M(u,o,s){return(u%=g.BZ)?o||s?(0,d.Z)(f(u),l(o,s)):f(u):o||s?l(o,s):i}function v(u){return function(o,s){return[(o+=u)>g.pi?o-g.BZ:o<-g.pi?o+g.BZ:o,s]}}function f(u){var o=v(u);return o.invert=v(-u),o}function l(u,o){var s=(0,g.mC)(u),c=(0,g.O$)(u),h=(0,g.mC)(o),m=(0,g.O$)(o);function w(y,S){var _=(0,g.mC)(S),k=(0,g.mC)(y)*_,E=(0,g.O$)(y)*_,x=(0,g.O$)(S),A=x*s+k*c;return[(0,g.fv)(E*h-A*m,k*s-x*c),(0,g.ZR)(A*h+E*m)]}return w.invert=function(y,S){var _=(0,g.mC)(S),k=(0,g.mC)(y)*_,E=(0,g.O$)(y)*_,x=(0,g.O$)(S),A=x*h-E*m;return[(0,g.fv)(E*h+x*m,k*s+A*c),(0,g.ZR)(A*s-k*c)]},w}function a(u){function o(s){return(s=u(s[0]*g.uR,s[1]*g.uR))[0]*=g.RW,s[1]*=g.RW,s}return u=M(u[0]*g.uR,u[1]*g.uR,u.length>2?u[2]*g.uR:0),o.invert=function(s){return(s=u.invert(s[0]*g.uR,s[1]*g.uR))[0]*=g.RW,s[1]*=g.RW,s},o}i.invert=i},72736:function(T,p,t){function d(l,a){l&&i.hasOwnProperty(l.type)&&i[l.type](l,a)}t.d(p,{Z:function(){return f}});var g={Feature:function(l,a){d(l.geometry,a)},FeatureCollection:function(l,a){for(var u=l.features,o=-1,s=u.length;++o=0;)ae+=fe[be].value;else ae=1;Ce.value=ae}function f(Ce,ae){var fe,be,ke,Le,Be,ze=new o(Ce),je=+Ce.value&&(ze.value=Ce.value),ge=[ze];for(ae==null&&(ae=l);fe=ge.pop();)if(je&&(fe.value=+fe.data.value),(ke=ae(fe.data))&&(Be=ke.length))for(fe.children=new Array(Be),Le=Be-1;Le>=0;--Le)ge.push(be=fe.children[Le]=new o(ke[Le])),be.parent=fe,be.depth=fe.depth+1;return ze.eachBefore(u)}function l(Ce){return Ce.children}function a(Ce){Ce.data=Ce.data.data}function u(Ce){var ae=0;do Ce.height=ae;while((Ce=Ce.parent)&&Ce.height<++ae)}function o(Ce){this.data=Ce,this.depth=this.height=0,this.parent=null}t.r(p),t.d(p,{cluster:function(){return M},hierarchy:function(){return f},pack:function(){return N},packEnclose:function(){return c},packSiblings:function(){return R},partition:function(){return q},stratify:function(){return X},tree:function(){return ye},treemap:function(){return Pe},treemapBinary:function(){return _e},treemapDice:function(){return G},treemapResquarify:function(){return Se},treemapSlice:function(){return de},treemapSliceDice:function(){return Me},treemapSquarify:function(){return xe}}),o.prototype=f.prototype={constructor:o,count:function(){return this.eachAfter(v)},each:function(Ce){var ae,fe,be,ke,Le=this,Be=[Le];do for(ae=Be.reverse(),Be=[];Le=ae.pop();)if(Ce(Le),fe=Le.children)for(be=0,ke=fe.length;be=0;--fe)ke.push(ae[fe]);return this},sum:function(Ce){return this.eachAfter(function(ae){for(var fe=+Ce(ae.data)||0,be=ae.children,ke=be&&be.length;--ke>=0;)fe+=be[ke].value;ae.value=fe})},sort:function(Ce){return this.eachBefore(function(ae){ae.children&&ae.children.sort(Ce)})},path:function(Ce){for(var ae=this,fe=function(Le,Be){if(Le===Be)return Le;var ze=Le.ancestors(),je=Be.ancestors(),ge=null;for(Le=ze.pop(),Be=je.pop();Le===Be;)ge=Le,Le=ze.pop(),Be=je.pop();return ge}(ae,Ce),be=[ae];ae!==fe;)ae=ae.parent,be.push(ae);for(var ke=be.length;Ce!==fe;)be.splice(ke,0,Ce),Ce=Ce.parent;return be},ancestors:function(){for(var Ce=this,ae=[Ce];Ce=Ce.parent;)ae.push(Ce);return ae},descendants:function(){var Ce=[];return this.each(function(ae){Ce.push(ae)}),Ce},leaves:function(){var Ce=[];return this.eachBefore(function(ae){ae.children||Ce.push(ae)}),Ce},links:function(){var Ce=this,ae=[];return Ce.each(function(fe){fe!==Ce&&ae.push({source:fe.parent,target:fe})}),ae},copy:function(){return f(this).eachBefore(a)}};var s=Array.prototype.slice;function c(Ce){for(var ae,fe,be=0,ke=(Ce=function(Be){for(var ze,je,ge=Be.length;ge;)je=Math.random()*ge--|0,ze=Be[ge],Be[ge]=Be[je],Be[je]=ze;return Be}(s.call(Ce))).length,Le=[];be0&&fe*fe>be*be+ke*ke}function y(Ce,ae){for(var fe=0;fe(Be*=Be)?(be=(ge+Be-ke)/(2*ge),Le=Math.sqrt(Math.max(0,Be/ge-be*be)),fe.x=Ce.x-be*ze-Le*je,fe.y=Ce.y-be*je+Le*ze):(be=(ge+ke-Be)/(2*ge),Le=Math.sqrt(Math.max(0,ke/ge-be*be)),fe.x=ae.x+be*ze-Le*je,fe.y=ae.y+be*je+Le*ze)):(fe.x=ae.x+fe.r,fe.y=ae.y)}function x(Ce,ae){var fe=Ce.r+ae.r-1e-6,be=ae.x-Ce.x,ke=ae.y-Ce.y;return fe>0&&fe*fe>be*be+ke*ke}function A(Ce){var ae=Ce._,fe=Ce.next._,be=ae.r+fe.r,ke=(ae.x*fe.r+fe.x*ae.r)/be,Le=(ae.y*fe.r+fe.y*ae.r)/be;return ke*ke+Le*Le}function L(Ce){this._=Ce,this.next=null,this.previous=null}function b(Ce){if(!(ke=Ce.length))return 0;var ae,fe,be,ke,Le,Be,ze,je,ge,we,Ee;if((ae=Ce[0]).x=0,ae.y=0,!(ke>1))return ae.r;if(fe=Ce[1],ae.x=-fe.r,fe.x=ae.r,fe.y=0,!(ke>2))return ae.r+fe.r;E(fe,ae,be=Ce[2]),ae=new L(ae),fe=new L(fe),be=new L(be),ae.next=be.previous=fe,fe.next=ae.previous=be,be.next=fe.previous=ae;e:for(ze=3;ze0)throw new Error("cycle");return Be}return fe.id=function(be){return arguments.length?(Ce=O(be),fe):Ce},fe.parentId=function(be){return arguments.length?(ae=O(be),fe):ae},fe}function Q(Ce,ae){return Ce.parent===ae.parent?1:2}function re(Ce){var ae=Ce.children;return ae?ae[0]:Ce.t}function ie(Ce){var ae=Ce.children;return ae?ae[ae.length-1]:Ce.t}function oe(Ce,ae,fe){var be=fe/(ae.i-Ce.i);ae.c-=be,ae.s+=fe,Ce.c+=be,ae.z+=fe,ae.m+=fe}function ue(Ce,ae,fe){return Ce.a.parent===ae.parent?Ce.a:fe}function ce(Ce,ae){this._=Ce,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=ae}function ye(){var Ce=Q,ae=1,fe=1,be=null;function ke(je){var ge=function(ht){for(var bt,Et,kt,xt,Ft,Ot=new ce(ht,0),Bt=[Ot];bt=Bt.pop();)if(kt=bt._.children)for(bt.children=new Array(Ft=kt.length),xt=Ft-1;xt>=0;--xt)Bt.push(Et=bt.children[xt]=new ce(kt[xt],xt)),Et.parent=bt;return(Ot.parent=new ce(null,0)).children=[Ot],Ot}(je);if(ge.eachAfter(Le),ge.parent.m=-ge.z,ge.eachBefore(Be),be)je.eachBefore(ze);else{var we=je,Ee=je,Ve=je;je.eachBefore(function(ht){ht.xEe.x&&(Ee=ht),ht.depth>Ve.depth&&(Ve=ht)});var $e=we===Ee?1:Ce(we,Ee)/2,Ye=$e-we.x,st=ae/(Ee.x+$e+Ye),ot=fe/(Ve.depth||1);je.eachBefore(function(ht){ht.x=(ht.x+Ye)*st,ht.y=ht.depth*ot})}return je}function Le(je){var ge=je.children,we=je.parent.children,Ee=je.i?we[je.i-1]:null;if(ge){(function($e){for(var Ye,st=0,ot=0,ht=$e.children,bt=ht.length;--bt>=0;)(Ye=ht[bt]).z+=st,Ye.m+=st,st+=Ye.s+(ot+=Ye.c)})(je);var Ve=(ge[0].z+ge[ge.length-1].z)/2;Ee?(je.z=Ee.z+Ce(je._,Ee._),je.m=je.z-Ve):je.z=Ve}else Ee&&(je.z=Ee.z+Ce(je._,Ee._));je.parent.A=function($e,Ye,st){if(Ye){for(var ot,ht=$e,bt=$e,Et=Ye,kt=ht.parent.children[0],xt=ht.m,Ft=bt.m,Ot=Et.m,Bt=kt.m;Et=ie(Et),ht=re(ht),Et&&ht;)kt=re(kt),(bt=ie(bt)).a=$e,(ot=Et.z+Ot-ht.z-xt+Ce(Et._,ht._))>0&&(oe(ue(Et,$e,st),$e,ot),xt+=ot,Ft+=ot),Ot+=Et.m,xt+=ht.m,Bt+=kt.m,Ft+=bt.m;Et&&!ie(bt)&&(bt.t=Et,bt.m+=Ot-Ft),ht&&!re(kt)&&(kt.t=ht,kt.m+=xt-Bt,st=$e)}return st}(je,Ee,je.parent.A||we[0])}function Be(je){je._.x=je.z+je.parent.m,je.m+=je.parent.m}function ze(je){je.x*=ae,je.y=je.depth*fe}return ke.separation=function(je){return arguments.length?(Ce=je,ke):Ce},ke.size=function(je){return arguments.length?(be=!1,ae=+je[0],fe=+je[1],ke):be?null:[ae,fe]},ke.nodeSize=function(je){return arguments.length?(be=!0,ae=+je[0],fe=+je[1],ke):be?[ae,fe]:null},ke}function de(Ce,ae,fe,be,ke){for(var Le,Be=Ce.children,ze=-1,je=Be.length,ge=Ce.value&&(ke-fe)/Ce.value;++zeVe&&(Ve=ze),ot=we*we*st,($e=Math.max(Ve/ot,ot/Ee))>Ye){we-=ze;break}Ye=$e}ht.push(Be={value:we,dice:je1?be:1)},fe}(me);function Pe(){var Ce=xe,ae=!1,fe=1,be=1,ke=[0],Le=z,Be=z,ze=z,je=z,ge=z;function we(Ve){return Ve.x0=Ve.y0=0,Ve.x1=fe,Ve.y1=be,Ve.eachBefore(Ee),ke=[0],ae&&Ve.eachBefore(U),Ve}function Ee(Ve){var $e=ke[Ve.depth],Ye=Ve.x0+$e,st=Ve.y0+$e,ot=Ve.x1-$e,ht=Ve.y1-$e;ot=Ve-1){var bt=ze[Ee];return bt.x0=Ye,bt.y0=st,bt.x1=ot,void(bt.y1=ht)}for(var Et=ge[Ee],kt=$e/2+Et,xt=Ee+1,Ft=Ve-1;xt>>1;ge[Ot]ht-st){var Vt=(Ye*qt+ot*Bt)/$e;we(Ee,xt,Bt,Ye,st,Vt,ht),we(xt,Ve,qt,Vt,st,ot,ht)}else{var Ke=(st*qt+ht*Bt)/$e;we(Ee,xt,Bt,Ye,st,ot,Ke),we(xt,Ve,qt,Ye,Ke,ot,ht)}})(0,je,Ce.value,ae,fe,be,ke)}function Me(Ce,ae,fe,be,ke){(1&Ce.depth?de:G)(Ce,ae,fe,be,ke)}var Se=function Ce(ae){function fe(be,ke,Le,Be,ze){if((je=be._squarify)&&je.ratio===ae)for(var je,ge,we,Ee,Ve,$e=-1,Ye=je.length,st=be.value;++$e1?be:1)},fe}(me)},45879:function(T,p,t){t.d(p,{h5:function(){return w}});var d=Math.PI,g=2*d,i=1e-6,M=g-i;function v(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function f(){return new v}v.prototype=f.prototype={constructor:v,moveTo:function(y,S){this._+="M"+(this._x0=this._x1=+y)+","+(this._y0=this._y1=+S)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(y,S){this._+="L"+(this._x1=+y)+","+(this._y1=+S)},quadraticCurveTo:function(y,S,_,k){this._+="Q"+ +y+","+ +S+","+(this._x1=+_)+","+(this._y1=+k)},bezierCurveTo:function(y,S,_,k,E,x){this._+="C"+ +y+","+ +S+","+ +_+","+ +k+","+(this._x1=+E)+","+(this._y1=+x)},arcTo:function(y,S,_,k,E){y=+y,S=+S,_=+_,k=+k,E=+E;var x=this._x1,A=this._y1,L=_-y,b=k-S,R=x-y,I=A-S,O=R*R+I*I;if(E<0)throw new Error("negative radius: "+E);if(this._x1===null)this._+="M"+(this._x1=y)+","+(this._y1=S);else if(O>i)if(Math.abs(I*L-b*R)>i&&E){var z=_-x,F=k-A,B=L*L+b*b,N=z*z+F*F,W=Math.sqrt(B),j=Math.sqrt(O),$=E*Math.tan((d-Math.acos((B+O-N)/(2*W*j)))/2),U=$/j,G=$/W;Math.abs(U-1)>i&&(this._+="L"+(y+U*R)+","+(S+U*I)),this._+="A"+E+","+E+",0,0,"+ +(I*z>R*F)+","+(this._x1=y+G*L)+","+(this._y1=S+G*b)}else this._+="L"+(this._x1=y)+","+(this._y1=S)},arc:function(y,S,_,k,E,x){y=+y,S=+S,x=!!x;var A=(_=+_)*Math.cos(k),L=_*Math.sin(k),b=y+A,R=S+L,I=1^x,O=x?k-E:E-k;if(_<0)throw new Error("negative radius: "+_);this._x1===null?this._+="M"+b+","+R:(Math.abs(this._x1-b)>i||Math.abs(this._y1-R)>i)&&(this._+="L"+b+","+R),_&&(O<0&&(O=O%g+g),O>M?this._+="A"+_+","+_+",0,1,"+I+","+(y-A)+","+(S-L)+"A"+_+","+_+",0,1,"+I+","+(this._x1=b)+","+(this._y1=R):O>i&&(this._+="A"+_+","+_+",0,"+ +(O>=d)+","+I+","+(this._x1=y+_*Math.cos(E))+","+(this._y1=S+_*Math.sin(E))))},rect:function(y,S,_,k){this._+="M"+(this._x0=this._x1=+y)+","+(this._y0=this._y1=+S)+"h"+ +_+"v"+ +k+"h"+-_+"Z"},toString:function(){return this._}};var l=f,a=Array.prototype.slice;function u(y){return function(){return y}}function o(y){return y[0]}function s(y){return y[1]}function c(y){return y.source}function h(y){return y.target}function m(y,S,_,k,E){y.moveTo(S,_),y.bezierCurveTo(S=(S+k)/2,_,S,E,k,E)}function w(){return function(y){var S=c,_=h,k=o,E=s,x=null;function A(){var L,b=a.call(arguments),R=S.apply(this,b),I=_.apply(this,b);if(x||(x=L=l()),y(x,+k.apply(this,(b[0]=R,b)),+E.apply(this,b),+k.apply(this,(b[0]=I,b)),+E.apply(this,b)),L)return x=null,L+""||null}return A.source=function(L){return arguments.length?(S=L,A):S},A.target=function(L){return arguments.length?(_=L,A):_},A.x=function(L){return arguments.length?(k=typeof L=="function"?L:u(+L),A):k},A.y=function(L){return arguments.length?(E=typeof L=="function"?L:u(+L),A):E},A.context=function(L){return arguments.length?(x=L??null,A):x},A}(m)}},84096:function(T,p,t){t.d(p,{i$:function(){return c},Dq:function(){return o},g0:function(){return h}});var d=t(58176),g=t(48480),i=t(59879),M=t(82301),v=t(34823),f=t(79791);function l(xt){if(0<=xt.y&&xt.y<100){var Ft=new Date(-1,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L);return Ft.setFullYear(xt.y),Ft}return new Date(xt.y,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L)}function a(xt){if(0<=xt.y&&xt.y<100){var Ft=new Date(Date.UTC(-1,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L));return Ft.setUTCFullYear(xt.y),Ft}return new Date(Date.UTC(xt.y,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L))}function u(xt,Ft,Ot){return{y:xt,m:Ft,d:Ot,H:0,M:0,S:0,L:0}}function o(xt){var Ft=xt.dateTime,Ot=xt.date,Bt=xt.time,qt=xt.periods,Vt=xt.days,Ke=xt.shortDays,Je=xt.months,qe=xt.shortMonths,nt=E(qt),ft=x(qt),Re=E(Vt),Ne=x(Vt),Qe=E(Ke),ut=x(Ke),dt=E(Je),_t=x(Je),It=E(qe),Lt=x(qe),yt={a:function(Wt){return Ke[Wt.getDay()]},A:function(Wt){return Vt[Wt.getDay()]},b:function(Wt){return qe[Wt.getMonth()]},B:function(Wt){return Je[Wt.getMonth()]},c:null,d:X,e:X,f:ue,H:Q,I:re,j:ie,L:oe,m:ce,M:ye,p:function(Wt){return qt[+(Wt.getHours()>=12)]},q:function(Wt){return 1+~~(Wt.getMonth()/3)},Q:Et,s:kt,S:de,u:me,U:pe,V:xe,w:Pe,W:_e,x:null,X:null,y:Me,Y:Se,Z:Ce,"%":bt},Pt={a:function(Wt){return Ke[Wt.getUTCDay()]},A:function(Wt){return Vt[Wt.getUTCDay()]},b:function(Wt){return qe[Wt.getUTCMonth()]},B:function(Wt){return Je[Wt.getUTCMonth()]},c:null,d:ae,e:ae,f:Be,H:fe,I:be,j:ke,L:Le,m:ze,M:je,p:function(Wt){return qt[+(Wt.getUTCHours()>=12)]},q:function(Wt){return 1+~~(Wt.getUTCMonth()/3)},Q:Et,s:kt,S:ge,u:we,U:Ee,V:Ve,w:$e,W:Ye,x:null,X:null,y:st,Y:ot,Z:ht,"%":bt},wt={a:function(Wt,Xt,Qt){var rn=Qe.exec(Xt.slice(Qt));return rn?(Wt.w=ut[rn[0].toLowerCase()],Qt+rn[0].length):-1},A:function(Wt,Xt,Qt){var rn=Re.exec(Xt.slice(Qt));return rn?(Wt.w=Ne[rn[0].toLowerCase()],Qt+rn[0].length):-1},b:function(Wt,Xt,Qt){var rn=It.exec(Xt.slice(Qt));return rn?(Wt.m=Lt[rn[0].toLowerCase()],Qt+rn[0].length):-1},B:function(Wt,Xt,Qt){var rn=dt.exec(Xt.slice(Qt));return rn?(Wt.m=_t[rn[0].toLowerCase()],Qt+rn[0].length):-1},c:function(Wt,Xt,Qt){return Yt(Wt,Ft,Xt,Qt)},d:W,e:W,f:H,H:$,I:$,j,L:q,m:N,M:U,p:function(Wt,Xt,Qt){var rn=nt.exec(Xt.slice(Qt));return rn?(Wt.p=ft[rn[0].toLowerCase()],Qt+rn[0].length):-1},q:B,Q:te,s:Z,S:G,u:L,U:b,V:R,w:A,W:I,x:function(Wt,Xt,Qt){return Yt(Wt,Ot,Xt,Qt)},X:function(Wt,Xt,Qt){return Yt(Wt,Bt,Xt,Qt)},y:z,Y:O,Z:F,"%":ne};function Rt(Wt,Xt){return function(Qt){var rn,xn,un,An=[],Yn=-1,kn=0,sn=Wt.length;for(Qt instanceof Date||(Qt=new Date(+Qt));++Yn53)return null;"w"in un||(un.w=1),"Z"in un?(xn=(rn=a(u(un.y,0,1))).getUTCDay(),rn=xn>4||xn===0?d.l6.ceil(rn):(0,d.l6)(rn),rn=g.Z.offset(rn,7*(un.V-1)),un.y=rn.getUTCFullYear(),un.m=rn.getUTCMonth(),un.d=rn.getUTCDate()+(un.w+6)%7):(xn=(rn=l(u(un.y,0,1))).getDay(),rn=xn>4||xn===0?i.wA.ceil(rn):(0,i.wA)(rn),rn=M.Z.offset(rn,7*(un.V-1)),un.y=rn.getFullYear(),un.m=rn.getMonth(),un.d=rn.getDate()+(un.w+6)%7)}else("W"in un||"U"in un)&&("w"in un||(un.w="u"in un?un.u%7:"W"in un?1:0),xn="Z"in un?a(u(un.y,0,1)).getUTCDay():l(u(un.y,0,1)).getDay(),un.m=0,un.d="W"in un?(un.w+6)%7+7*un.W-(xn+5)%7:un.w+7*un.U-(xn+6)%7);return"Z"in un?(un.H+=un.Z/100|0,un.M+=un.Z%100,a(un)):l(un)}}function Yt(Wt,Xt,Qt,rn){for(var xn,un,An=0,Yn=Xt.length,kn=Qt.length;An=kn)return-1;if((xn=Xt.charCodeAt(An++))===37){if(xn=Xt.charAt(An++),!(un=wt[xn in m?Xt.charAt(An++):xn])||(rn=un(Wt,Qt,rn))<0)return-1}else if(xn!=Qt.charCodeAt(rn++))return-1}return rn}return yt.x=Rt(Ot,yt),yt.X=Rt(Bt,yt),yt.c=Rt(Ft,yt),Pt.x=Rt(Ot,Pt),Pt.X=Rt(Bt,Pt),Pt.c=Rt(Ft,Pt),{format:function(Wt){var Xt=Rt(Wt+="",yt);return Xt.toString=function(){return Wt},Xt},parse:function(Wt){var Xt=Nt(Wt+="",!1);return Xt.toString=function(){return Wt},Xt},utcFormat:function(Wt){var Xt=Rt(Wt+="",Pt);return Xt.toString=function(){return Wt},Xt},utcParse:function(Wt){var Xt=Nt(Wt+="",!0);return Xt.toString=function(){return Wt},Xt}}}var s,c,h,m={"-":"",_:" ",0:"0"},w=/^\s*\d+/,y=/^%/,S=/[\\^$*+?|[\]().{}]/g;function _(xt,Ft,Ot){var Bt=xt<0?"-":"",qt=(Bt?-xt:xt)+"",Vt=qt.length;return Bt+(Vt68?1900:2e3),Ot+Bt[0].length):-1}function F(xt,Ft,Ot){var Bt=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(Ft.slice(Ot,Ot+6));return Bt?(xt.Z=Bt[1]?0:-(Bt[2]+(Bt[3]||"00")),Ot+Bt[0].length):-1}function B(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+1));return Bt?(xt.q=3*Bt[0]-3,Ot+Bt[0].length):-1}function N(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+2));return Bt?(xt.m=Bt[0]-1,Ot+Bt[0].length):-1}function W(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+2));return Bt?(xt.d=+Bt[0],Ot+Bt[0].length):-1}function j(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+3));return Bt?(xt.m=0,xt.d=+Bt[0],Ot+Bt[0].length):-1}function $(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+2));return Bt?(xt.H=+Bt[0],Ot+Bt[0].length):-1}function U(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+2));return Bt?(xt.M=+Bt[0],Ot+Bt[0].length):-1}function G(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+2));return Bt?(xt.S=+Bt[0],Ot+Bt[0].length):-1}function q(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+3));return Bt?(xt.L=+Bt[0],Ot+Bt[0].length):-1}function H(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+6));return Bt?(xt.L=Math.floor(Bt[0]/1e3),Ot+Bt[0].length):-1}function ne(xt,Ft,Ot){var Bt=y.exec(Ft.slice(Ot,Ot+1));return Bt?Ot+Bt[0].length:-1}function te(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot));return Bt?(xt.Q=+Bt[0],Ot+Bt[0].length):-1}function Z(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot));return Bt?(xt.s=+Bt[0],Ot+Bt[0].length):-1}function X(xt,Ft){return _(xt.getDate(),Ft,2)}function Q(xt,Ft){return _(xt.getHours(),Ft,2)}function re(xt,Ft){return _(xt.getHours()%12||12,Ft,2)}function ie(xt,Ft){return _(1+M.Z.count((0,v.Z)(xt),xt),Ft,3)}function oe(xt,Ft){return _(xt.getMilliseconds(),Ft,3)}function ue(xt,Ft){return oe(xt,Ft)+"000"}function ce(xt,Ft){return _(xt.getMonth()+1,Ft,2)}function ye(xt,Ft){return _(xt.getMinutes(),Ft,2)}function de(xt,Ft){return _(xt.getSeconds(),Ft,2)}function me(xt){var Ft=xt.getDay();return Ft===0?7:Ft}function pe(xt,Ft){return _(i.OM.count((0,v.Z)(xt)-1,xt),Ft,2)}function xe(xt,Ft){var Ot=xt.getDay();return xt=Ot>=4||Ot===0?(0,i.bL)(xt):i.bL.ceil(xt),_(i.bL.count((0,v.Z)(xt),xt)+((0,v.Z)(xt).getDay()===4),Ft,2)}function Pe(xt){return xt.getDay()}function _e(xt,Ft){return _(i.wA.count((0,v.Z)(xt)-1,xt),Ft,2)}function Me(xt,Ft){return _(xt.getFullYear()%100,Ft,2)}function Se(xt,Ft){return _(xt.getFullYear()%1e4,Ft,4)}function Ce(xt){var Ft=xt.getTimezoneOffset();return(Ft>0?"-":(Ft*=-1,"+"))+_(Ft/60|0,"0",2)+_(Ft%60,"0",2)}function ae(xt,Ft){return _(xt.getUTCDate(),Ft,2)}function fe(xt,Ft){return _(xt.getUTCHours(),Ft,2)}function be(xt,Ft){return _(xt.getUTCHours()%12||12,Ft,2)}function ke(xt,Ft){return _(1+g.Z.count((0,f.Z)(xt),xt),Ft,3)}function Le(xt,Ft){return _(xt.getUTCMilliseconds(),Ft,3)}function Be(xt,Ft){return Le(xt,Ft)+"000"}function ze(xt,Ft){return _(xt.getUTCMonth()+1,Ft,2)}function je(xt,Ft){return _(xt.getUTCMinutes(),Ft,2)}function ge(xt,Ft){return _(xt.getUTCSeconds(),Ft,2)}function we(xt){var Ft=xt.getUTCDay();return Ft===0?7:Ft}function Ee(xt,Ft){return _(d.Ox.count((0,f.Z)(xt)-1,xt),Ft,2)}function Ve(xt,Ft){var Ot=xt.getUTCDay();return xt=Ot>=4||Ot===0?(0,d.hB)(xt):d.hB.ceil(xt),_(d.hB.count((0,f.Z)(xt),xt)+((0,f.Z)(xt).getUTCDay()===4),Ft,2)}function $e(xt){return xt.getUTCDay()}function Ye(xt,Ft){return _(d.l6.count((0,f.Z)(xt)-1,xt),Ft,2)}function st(xt,Ft){return _(xt.getUTCFullYear()%100,Ft,2)}function ot(xt,Ft){return _(xt.getUTCFullYear()%1e4,Ft,4)}function ht(){return"+0000"}function bt(){return"%"}function Et(xt){return+xt}function kt(xt){return Math.floor(+xt/1e3)}s=o({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),c=s.format,s.parse,h=s.utcFormat,s.utcParse},82301:function(T,p,t){t.d(p,{a:function(){return M}});var d=t(30052),g=t(54263),i=(0,d.Z)(function(v){v.setHours(0,0,0,0)},function(v,f){v.setDate(v.getDate()+f)},function(v,f){return(f-v-(f.getTimezoneOffset()-v.getTimezoneOffset())*g.yB)/g.UD},function(v){return v.getDate()-1});p.Z=i;var M=i.range},54263:function(T,p,t){t.d(p,{UD:function(){return M},Y2:function(){return i},Ym:function(){return d},iM:function(){return v},yB:function(){return g}});var d=1e3,g=6e4,i=36e5,M=864e5,v=6048e5},81041:function(T,p,t){t.r(p),t.d(p,{timeDay:function(){return w.Z},timeDays:function(){return w.a},timeFriday:function(){return y.mC},timeFridays:function(){return y.b$},timeHour:function(){return h},timeHours:function(){return m},timeInterval:function(){return d.Z},timeMillisecond:function(){return i},timeMilliseconds:function(){return M},timeMinute:function(){return o},timeMinutes:function(){return s},timeMonday:function(){return y.wA},timeMondays:function(){return y.bJ},timeMonth:function(){return _},timeMonths:function(){return k},timeSaturday:function(){return y.EY},timeSaturdays:function(){return y.Ff},timeSecond:function(){return l},timeSeconds:function(){return a},timeSunday:function(){return y.OM},timeSundays:function(){return y.vm},timeThursday:function(){return y.bL},timeThursdays:function(){return y.$t},timeTuesday:function(){return y.sy},timeTuesdays:function(){return y.aU},timeWednesday:function(){return y.zg},timeWednesdays:function(){return y.Ld},timeWeek:function(){return y.OM},timeWeeks:function(){return y.vm},timeYear:function(){return E.Z},timeYears:function(){return E.g},utcDay:function(){return O.Z},utcDays:function(){return O.y},utcFriday:function(){return z.QQ},utcFridays:function(){return z.fz},utcHour:function(){return R},utcHours:function(){return I},utcMillisecond:function(){return i},utcMilliseconds:function(){return M},utcMinute:function(){return A},utcMinutes:function(){return L},utcMonday:function(){return z.l6},utcMondays:function(){return z.$3},utcMonth:function(){return B},utcMonths:function(){return N},utcSaturday:function(){return z.g4},utcSaturdays:function(){return z.Q_},utcSecond:function(){return l},utcSeconds:function(){return a},utcSunday:function(){return z.Ox},utcSundays:function(){return z.SU},utcThursday:function(){return z.hB},utcThursdays:function(){return z.xj},utcTuesday:function(){return z.J1},utcTuesdays:function(){return z.DK},utcWednesday:function(){return z.b3},utcWednesdays:function(){return z.uy},utcWeek:function(){return z.Ox},utcWeeks:function(){return z.SU},utcYear:function(){return W.Z},utcYears:function(){return W.D}});var d=t(30052),g=(0,d.Z)(function(){},function(j,$){j.setTime(+j+$)},function(j,$){return $-j});g.every=function(j){return j=Math.floor(j),isFinite(j)&&j>0?j>1?(0,d.Z)(function($){$.setTime(Math.floor($/j)*j)},function($,U){$.setTime(+$+U*j)},function($,U){return(U-$)/j}):g:null};var i=g,M=g.range,v=t(54263),f=(0,d.Z)(function(j){j.setTime(j-j.getMilliseconds())},function(j,$){j.setTime(+j+$*v.Ym)},function(j,$){return($-j)/v.Ym},function(j){return j.getUTCSeconds()}),l=f,a=f.range,u=(0,d.Z)(function(j){j.setTime(j-j.getMilliseconds()-j.getSeconds()*v.Ym)},function(j,$){j.setTime(+j+$*v.yB)},function(j,$){return($-j)/v.yB},function(j){return j.getMinutes()}),o=u,s=u.range,c=(0,d.Z)(function(j){j.setTime(j-j.getMilliseconds()-j.getSeconds()*v.Ym-j.getMinutes()*v.yB)},function(j,$){j.setTime(+j+$*v.Y2)},function(j,$){return($-j)/v.Y2},function(j){return j.getHours()}),h=c,m=c.range,w=t(82301),y=t(59879),S=(0,d.Z)(function(j){j.setDate(1),j.setHours(0,0,0,0)},function(j,$){j.setMonth(j.getMonth()+$)},function(j,$){return $.getMonth()-j.getMonth()+12*($.getFullYear()-j.getFullYear())},function(j){return j.getMonth()}),_=S,k=S.range,E=t(34823),x=(0,d.Z)(function(j){j.setUTCSeconds(0,0)},function(j,$){j.setTime(+j+$*v.yB)},function(j,$){return($-j)/v.yB},function(j){return j.getUTCMinutes()}),A=x,L=x.range,b=(0,d.Z)(function(j){j.setUTCMinutes(0,0,0)},function(j,$){j.setTime(+j+$*v.Y2)},function(j,$){return($-j)/v.Y2},function(j){return j.getUTCHours()}),R=b,I=b.range,O=t(48480),z=t(58176),F=(0,d.Z)(function(j){j.setUTCDate(1),j.setUTCHours(0,0,0,0)},function(j,$){j.setUTCMonth(j.getUTCMonth()+$)},function(j,$){return $.getUTCMonth()-j.getUTCMonth()+12*($.getUTCFullYear()-j.getUTCFullYear())},function(j){return j.getUTCMonth()}),B=F,N=F.range,W=t(79791)},30052:function(T,p,t){t.d(p,{Z:function(){return i}});var d=new Date,g=new Date;function i(M,v,f,l){function a(u){return M(u=arguments.length===0?new Date:new Date(+u)),u}return a.floor=function(u){return M(u=new Date(+u)),u},a.ceil=function(u){return M(u=new Date(u-1)),v(u,1),M(u),u},a.round=function(u){var o=a(u),s=a.ceil(u);return u-o0))return h;do h.push(c=new Date(+u)),v(u,s),M(u);while(c=o)for(;M(o),!u(o);)o.setTime(o-1)},function(o,s){if(o>=o)if(s<0)for(;++s<=0;)for(;v(o,-1),!u(o););else for(;--s>=0;)for(;v(o,1),!u(o););})},f&&(a.count=function(u,o){return d.setTime(+u),g.setTime(+o),M(d),M(g),Math.floor(f(d,g))},a.every=function(u){return u=Math.floor(u),isFinite(u)&&u>0?u>1?a.filter(l?function(o){return l(o)%u==0}:function(o){return a.count(0,o)%u==0}):a:null}),a}},48480:function(T,p,t){t.d(p,{y:function(){return M}});var d=t(30052),g=t(54263),i=(0,d.Z)(function(v){v.setUTCHours(0,0,0,0)},function(v,f){v.setUTCDate(v.getUTCDate()+f)},function(v,f){return(f-v)/g.UD},function(v){return v.getUTCDate()-1});p.Z=i;var M=i.range},58176:function(T,p,t){t.d(p,{$3:function(){return c},DK:function(){return h},J1:function(){return f},Ox:function(){return M},QQ:function(){return u},Q_:function(){return S},SU:function(){return s},b3:function(){return l},fz:function(){return y},g4:function(){return o},hB:function(){return a},l6:function(){return v},uy:function(){return m},xj:function(){return w}});var d=t(30052),g=t(54263);function i(_){return(0,d.Z)(function(k){k.setUTCDate(k.getUTCDate()-(k.getUTCDay()+7-_)%7),k.setUTCHours(0,0,0,0)},function(k,E){k.setUTCDate(k.getUTCDate()+7*E)},function(k,E){return(E-k)/g.iM})}var M=i(0),v=i(1),f=i(2),l=i(3),a=i(4),u=i(5),o=i(6),s=M.range,c=v.range,h=f.range,m=l.range,w=a.range,y=u.range,S=o.range},79791:function(T,p,t){t.d(p,{D:function(){return i}});var d=t(30052),g=(0,d.Z)(function(M){M.setUTCMonth(0,1),M.setUTCHours(0,0,0,0)},function(M,v){M.setUTCFullYear(M.getUTCFullYear()+v)},function(M,v){return v.getUTCFullYear()-M.getUTCFullYear()},function(M){return M.getUTCFullYear()});g.every=function(M){return isFinite(M=Math.floor(M))&&M>0?(0,d.Z)(function(v){v.setUTCFullYear(Math.floor(v.getUTCFullYear()/M)*M),v.setUTCMonth(0,1),v.setUTCHours(0,0,0,0)},function(v,f){v.setUTCFullYear(v.getUTCFullYear()+f*M)}):null},p.Z=g;var i=g.range},59879:function(T,p,t){t.d(p,{$t:function(){return w},EY:function(){return o},Ff:function(){return S},Ld:function(){return m},OM:function(){return M},aU:function(){return h},b$:function(){return y},bJ:function(){return c},bL:function(){return a},mC:function(){return u},sy:function(){return f},vm:function(){return s},wA:function(){return v},zg:function(){return l}});var d=t(30052),g=t(54263);function i(_){return(0,d.Z)(function(k){k.setDate(k.getDate()-(k.getDay()+7-_)%7),k.setHours(0,0,0,0)},function(k,E){k.setDate(k.getDate()+7*E)},function(k,E){return(E-k-(E.getTimezoneOffset()-k.getTimezoneOffset())*g.yB)/g.iM})}var M=i(0),v=i(1),f=i(2),l=i(3),a=i(4),u=i(5),o=i(6),s=M.range,c=v.range,h=f.range,m=l.range,w=a.range,y=u.range,S=o.range},34823:function(T,p,t){t.d(p,{g:function(){return i}});var d=t(30052),g=(0,d.Z)(function(M){M.setMonth(0,1),M.setHours(0,0,0,0)},function(M,v){M.setFullYear(M.getFullYear()+v)},function(M,v){return v.getFullYear()-M.getFullYear()},function(M){return M.getFullYear()});g.every=function(M){return isFinite(M=Math.floor(M))&&M>0?(0,d.Z)(function(v){v.setFullYear(Math.floor(v.getFullYear()/M)*M),v.setMonth(0,1),v.setHours(0,0,0,0)},function(v,f){v.setFullYear(v.getFullYear()+f*M)}):null},p.Z=g;var i=g.range},17045:function(T,p,t){var d=t(8709),g=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",i=Object.prototype.toString,M=Array.prototype.concat,v=Object.defineProperty,f=t(55622)(),l=v&&f,a=function(o,s,c,h){if(s in o){if(h===!0){if(o[s]===c)return}else if(typeof(m=h)!="function"||i.call(m)!=="[object Function]"||!h())return}var m;l?v(o,s,{configurable:!0,enumerable:!1,value:c,writable:!0}):o[s]=c},u=function(o,s){var c=arguments.length>2?arguments[2]:{},h=d(s);g&&(h=M.call(h,Object.getOwnPropertySymbols(s)));for(var m=0;ml*a){var h=(c-s)/l;f[o]=1e3*h}}return f}function g(i){for(var M=[],v=i[0];v<=i[1];v++)for(var f=String.fromCharCode(v),l=i[0];l0)return function(g,i){var M,v;for(M=new Array(g),v=0;v80*O){z=B=R[0],F=N=R[1];for(var ne=O;neB&&(B=W),j>N&&(N=j);$=($=Math.max(B-z,N-F))!==0?1/$:0}return g(q,H,O,z,F,$),H}function t(R,I,O,z,F){var B,N;if(F===b(R,I,O,z)>0)for(B=I;B=I;B-=z)N=x(B,R[B],R[B+1],N);return N&&w(N,N.next)&&(A(N),N=N.next),N}function d(R,I){if(!R)return R;I||(I=R);var O,z=R;do if(O=!1,z.steiner||!w(z,z.next)&&m(z.prev,z,z.next)!==0)z=z.next;else{if(A(z),(z=I=z.prev)===z.next)break;O=!0}while(O||z!==I);return I}function g(R,I,O,z,F,B,N){if(R){!N&&B&&function(U,G,q,H){var ne=U;do ne.z===null&&(ne.z=o(ne.x,ne.y,G,q,H)),ne.prevZ=ne.prev,ne.nextZ=ne.next,ne=ne.next;while(ne!==U);ne.prevZ.nextZ=null,ne.prevZ=null,function(te){var Z,X,Q,re,ie,oe,ue,ce,ye=1;do{for(X=te,te=null,ie=null,oe=0;X;){for(oe++,Q=X,ue=0,Z=0;Z0||ce>0&&Q;)ue!==0&&(ce===0||!Q||X.z<=Q.z)?(re=X,X=X.nextZ,ue--):(re=Q,Q=Q.nextZ,ce--),ie?ie.nextZ=re:te=re,re.prevZ=ie,ie=re;X=Q}ie.nextZ=null,ye*=2}while(oe>1)}(ne)}(R,z,F,B);for(var W,j,$=R;R.prev!==R.next;)if(W=R.prev,j=R.next,B?M(R,z,F,B):i(R))I.push(W.i/O),I.push(R.i/O),I.push(j.i/O),A(R),R=j.next,$=j.next;else if((R=j)===$){N?N===1?g(R=v(d(R),I,O),I,O,z,F,B,2):N===2&&f(R,I,O,z,F,B):g(d(R),I,O,z,F,B,1);break}}}function i(R){var I=R.prev,O=R,z=R.next;if(m(I,O,z)>=0)return!1;for(var F=R.next.next;F!==R.prev;){if(c(I.x,I.y,O.x,O.y,z.x,z.y,F.x,F.y)&&m(F.prev,F,F.next)>=0)return!1;F=F.next}return!0}function M(R,I,O,z){var F=R.prev,B=R,N=R.next;if(m(F,B,N)>=0)return!1;for(var W=F.xB.x?F.x>N.x?F.x:N.x:B.x>N.x?B.x:N.x,U=F.y>B.y?F.y>N.y?F.y:N.y:B.y>N.y?B.y:N.y,G=o(W,j,I,O,z),q=o($,U,I,O,z),H=R.prevZ,ne=R.nextZ;H&&H.z>=G&&ne&&ne.z<=q;){if(H!==R.prev&&H!==R.next&&c(F.x,F.y,B.x,B.y,N.x,N.y,H.x,H.y)&&m(H.prev,H,H.next)>=0||(H=H.prevZ,ne!==R.prev&&ne!==R.next&&c(F.x,F.y,B.x,B.y,N.x,N.y,ne.x,ne.y)&&m(ne.prev,ne,ne.next)>=0))return!1;ne=ne.nextZ}for(;H&&H.z>=G;){if(H!==R.prev&&H!==R.next&&c(F.x,F.y,B.x,B.y,N.x,N.y,H.x,H.y)&&m(H.prev,H,H.next)>=0)return!1;H=H.prevZ}for(;ne&&ne.z<=q;){if(ne!==R.prev&&ne!==R.next&&c(F.x,F.y,B.x,B.y,N.x,N.y,ne.x,ne.y)&&m(ne.prev,ne,ne.next)>=0)return!1;ne=ne.nextZ}return!0}function v(R,I,O){var z=R;do{var F=z.prev,B=z.next.next;!w(F,B)&&y(F,z,z.next,B)&&k(F,B)&&k(B,F)&&(I.push(F.i/O),I.push(z.i/O),I.push(B.i/O),A(z),A(z.next),z=R=B),z=z.next}while(z!==R);return d(z)}function f(R,I,O,z,F,B){var N=R;do{for(var W=N.next.next;W!==N.prev;){if(N.i!==W.i&&h(N,W)){var j=E(N,W);return N=d(N,N.next),j=d(j,j.next),g(N,I,O,z,F,B),void g(j,I,O,z,F,B)}W=W.next}N=N.next}while(N!==R)}function l(R,I){return R.x-I.x}function a(R,I){if(I=function(z,F){var B,N=F,W=z.x,j=z.y,$=-1/0;do{if(j<=N.y&&j>=N.next.y&&N.next.y!==N.y){var U=N.x+(j-N.y)*(N.next.x-N.x)/(N.next.y-N.y);if(U<=W&&U>$){if($=U,U===W){if(j===N.y)return N;if(j===N.next.y)return N.next}B=N.x=N.x&&N.x>=H&&W!==N.x&&c(jB.x||N.x===B.x&&u(B,N)))&&(B=N,te=G)),N=N.next;while(N!==q);return B}(R,I),I){var O=E(I,R);d(I,I.next),d(O,O.next)}}function u(R,I){return m(R.prev,R,I.prev)<0&&m(I.next,R,R.next)<0}function o(R,I,O,z,F){return(R=1431655765&((R=858993459&((R=252645135&((R=16711935&((R=32767*(R-O)*F)|R<<8))|R<<4))|R<<2))|R<<1))|(I=1431655765&((I=858993459&((I=252645135&((I=16711935&((I=32767*(I-z)*F)|I<<8))|I<<4))|I<<2))|I<<1))<<1}function s(R){var I=R,O=R;do(I.x=0&&(R-N)*(z-W)-(O-N)*(I-W)>=0&&(O-N)*(B-W)-(F-N)*(z-W)>=0}function h(R,I){return R.next.i!==I.i&&R.prev.i!==I.i&&!function(O,z){var F=O;do{if(F.i!==O.i&&F.next.i!==O.i&&F.i!==z.i&&F.next.i!==z.i&&y(F,F.next,O,z))return!0;F=F.next}while(F!==O);return!1}(R,I)&&(k(R,I)&&k(I,R)&&function(O,z){var F=O,B=!1,N=(O.x+z.x)/2,W=(O.y+z.y)/2;do F.y>W!=F.next.y>W&&F.next.y!==F.y&&N<(F.next.x-F.x)*(W-F.y)/(F.next.y-F.y)+F.x&&(B=!B),F=F.next;while(F!==O);return B}(R,I)&&(m(R.prev,R,I.prev)||m(R,I.prev,I))||w(R,I)&&m(R.prev,R,R.next)>0&&m(I.prev,I,I.next)>0)}function m(R,I,O){return(I.y-R.y)*(O.x-I.x)-(I.x-R.x)*(O.y-I.y)}function w(R,I){return R.x===I.x&&R.y===I.y}function y(R,I,O,z){var F=_(m(R,I,O)),B=_(m(R,I,z)),N=_(m(O,z,R)),W=_(m(O,z,I));return F!==B&&N!==W||!(F!==0||!S(R,O,I))||!(B!==0||!S(R,z,I))||!(N!==0||!S(O,R,z))||!(W!==0||!S(O,I,z))}function S(R,I,O){return I.x<=Math.max(R.x,O.x)&&I.x>=Math.min(R.x,O.x)&&I.y<=Math.max(R.y,O.y)&&I.y>=Math.min(R.y,O.y)}function _(R){return R>0?1:R<0?-1:0}function k(R,I){return m(R.prev,R,R.next)<0?m(R,I,R.next)>=0&&m(R,R.prev,I)>=0:m(R,I,R.prev)<0||m(R,R.next,I)<0}function E(R,I){var O=new L(R.i,R.x,R.y),z=new L(I.i,I.x,I.y),F=R.next,B=I.prev;return R.next=I,I.prev=R,O.next=F,F.prev=O,z.next=O,O.prev=z,B.next=z,z.prev=B,z}function x(R,I,O,z){var F=new L(R,I,O);return z?(F.next=z.next,F.prev=z,z.next.prev=F,z.next=F):(F.prev=F,F.next=F),F}function A(R){R.next.prev=R.prev,R.prev.next=R.next,R.prevZ&&(R.prevZ.nextZ=R.nextZ),R.nextZ&&(R.nextZ.prevZ=R.prevZ)}function L(R,I,O){this.i=R,this.x=I,this.y=O,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function b(R,I,O,z){for(var F=0,B=I,N=O-z;B0&&(z+=R[F-1].length,O.holes.push(z))}return O}},2502:function(T,p,t){var d=t(68664);T.exports=function(g,i){var M,v=[],f=[],l=[],a={},u=[];function o(k){l[k]=!1,a.hasOwnProperty(k)&&Object.keys(a[k]).forEach(function(E){delete a[k][E],l[E]&&o(E)})}function s(k){var E,x,A=!1;for(f.push(k),l[k]=!0,E=0;E=O})})(k);for(var E,x=d(g).components.filter(function(O){return O.length>1}),A=1/0,L=0;L=55296&&k<=56319&&(L+=h[++w]),L=b?o.call(b,R,L,y):L,m?(s.value=L,c(S,y,s)):S[y]=L,++y;_=y}}if(_===void 0)for(_=M(h.length),m&&(S=new m(_)),w=0;w<_;++w)L=b?o.call(b,R,h[w],w):h[w],m?(s.value=L,c(S,w,s)):S[w]=L;return m&&(s.value=null,S.length=_),S}},73051:function(T){var p=Object.prototype.toString,t=p.call(function(){return arguments}());T.exports=function(d){return p.call(d)===t}},33717:function(T){var p=Object.prototype.toString,t=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);T.exports=function(d){return typeof d=="function"&&t(p.call(d))}},52345:function(T){T.exports=function(){}},9953:function(T,p,t){T.exports=t(90436)()?Math.sign:t(6069)},90436:function(T){T.exports=function(){var p=Math.sign;return typeof p=="function"&&p(10)===1&&p(-20)===-1}},6069:function(T){T.exports=function(p){return p=Number(p),isNaN(p)||p===0?p:p>0?1:-1}},56247:function(T,p,t){var d=t(9953),g=Math.abs,i=Math.floor;T.exports=function(M){return isNaN(M)?0:(M=Number(M))!==0&&isFinite(M)?d(M)*i(g(M)):M}},35976:function(T,p,t){var d=t(56247),g=Math.max;T.exports=function(i){return g(0,d(i))}},67260:function(T,p,t){var d=t(78513),g=t(36672),i=Function.prototype.bind,M=Function.prototype.call,v=Object.keys,f=Object.prototype.propertyIsEnumerable;T.exports=function(l,a){return function(u,o){var s,c=arguments[2],h=arguments[3];return u=Object(g(u)),d(o),s=v(u),h&&s.sort(typeof h=="function"?i.call(h,u):void 0),typeof l!="function"&&(l=s[l]),M.call(l,s,function(m,w){return f.call(u,m)?M.call(o,c,u[m],m,u,w):a})}}},95879:function(T,p,t){T.exports=t(73583)()?Object.assign:t(34205)},73583:function(T){T.exports=function(){var p,t=Object.assign;return typeof t=="function"&&(t(p={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),p.foo+p.bar+p.trzy==="razdwatrzy")}},34205:function(T,p,t){var d=t(68700),g=t(36672),i=Math.max;T.exports=function(M,v){var f,l,a,u=i(arguments.length,2);for(M=Object(g(M)),a=function(o){try{M[o]=v[o]}catch(s){f||(f=s)}},l=1;l-1}},87963:function(T){var p=Object.prototype.toString,t=p.call("");T.exports=function(d){return typeof d=="string"||d&&typeof d=="object"&&(d instanceof String||p.call(d)===t)||!1}},43043:function(T){var p=Object.create(null),t=Math.random;T.exports=function(){var d;do d=t().toString(36).slice(2);while(p[d]);return d}},32411:function(T,p,t){var d,g=t(1496),i=t(66741),M=t(62072),v=t(8260),f=t(95426),l=Object.defineProperty;d=T.exports=function(a,u){if(!(this instanceof d))throw new TypeError("Constructor requires 'new'");f.call(this,a),u=u?i.call(u,"key+value")?"key+value":i.call(u,"key")?"key":"value":"value",l(this,"__kind__",M("",u))},g&&g(d,f),delete d.prototype.constructor,d.prototype=Object.create(f.prototype,{_resolve:M(function(a){return this.__kind__==="value"?this.__list__[a]:this.__kind__==="key+value"?[a,this.__list__[a]]:a})}),l(d.prototype,v.toStringTag,M("c","Array Iterator"))},27515:function(T,p,t){var d=t(73051),g=t(78513),i=t(87963),M=t(66661),v=Array.isArray,f=Function.prototype.call,l=Array.prototype.some;T.exports=function(a,u){var o,s,c,h,m,w,y,S,_=arguments[2];if(v(a)||d(a)?o="array":i(a)?o="string":a=M(a),g(u),c=function(){h=!0},o!=="array")if(o!=="string")for(s=a.next();!s.done;){if(f.call(u,_,s.value,c),h)return;s=a.next()}else for(w=a.length,m=0;m=55296&&S<=56319&&(y+=a[++m]),f.call(u,_,y,c),!h);++m);else l.call(a,function(k){return f.call(u,_,k,c),h})}},66661:function(T,p,t){var d=t(73051),g=t(87963),i=t(32411),M=t(259),v=t(58095),f=t(8260).iterator;T.exports=function(l){return typeof v(l)[f]=="function"?l[f]():d(l)?new i(l):g(l)?new M(l):new i(l)}},95426:function(T,p,t){var d,g=t(16134),i=t(95879),M=t(78513),v=t(36672),f=t(62072),l=t(55174),a=t(8260),u=Object.defineProperty,o=Object.defineProperties;T.exports=d=function(s,c){if(!(this instanceof d))throw new TypeError("Constructor requires 'new'");o(this,{__list__:f("w",v(s)),__context__:f("w",c),__nextIndex__:f("w",0)}),c&&(M(c.on),c.on("_add",this._onAdd),c.on("_delete",this._onDelete),c.on("_clear",this._onClear))},delete d.prototype.constructor,o(d.prototype,i({_next:f(function(){var s;if(this.__list__)return this.__redo__&&(s=this.__redo__.shift())!==void 0?s:this.__nextIndex__=this.__nextIndex__||(++this.__nextIndex__,this.__redo__?(this.__redo__.forEach(function(c,h){c>=s&&(this.__redo__[h]=++c)},this),this.__redo__.push(s)):u(this,"__redo__",f("c",[s])))}),_onDelete:f(function(s){var c;s>=this.__nextIndex__||(--this.__nextIndex__,this.__redo__&&((c=this.__redo__.indexOf(s))!==-1&&this.__redo__.splice(c,1),this.__redo__.forEach(function(h,m){h>s&&(this.__redo__[m]=--h)},this)))}),_onClear:f(function(){this.__redo__&&g.call(this.__redo__),this.__nextIndex__=0})}))),u(d.prototype,a.iterator,f(function(){return this}))},35940:function(T,p,t){var d=t(73051),g=t(95296),i=t(87963),M=t(8260).iterator,v=Array.isArray;T.exports=function(f){return!(!g(f)||!v(f)&&!i(f)&&!d(f)&&typeof f[M]!="function")}},259:function(T,p,t){var d,g=t(1496),i=t(62072),M=t(8260),v=t(95426),f=Object.defineProperty;d=T.exports=function(l){if(!(this instanceof d))throw new TypeError("Constructor requires 'new'");l=String(l),v.call(this,l),f(this,"__length__",i("",l.length))},g&&g(d,v),delete d.prototype.constructor,d.prototype=Object.create(v.prototype,{_next:i(function(){if(this.__list__)return this.__nextIndex__=55296&&a<=56319?u+this.__list__[this.__nextIndex__++]:u})}),f(d.prototype,M.toStringTag,i("c","String Iterator"))},58095:function(T,p,t){var d=t(35940);T.exports=function(g){if(!d(g))throw new TypeError(g+" is not iterable");return g}},73523:function(T){function p(t,d){if(t==null)throw new TypeError("Cannot convert first argument to object");for(var g=Object(t),i=1;i0&&E.length>_&&!E.warned){E.warned=!0;var A=new Error("Possible EventEmitter memory leak detected. "+E.length+" "+String(w)+" listeners added. Use emitter.setMaxListeners() to increase limit");A.name="MaxListenersExceededWarning",A.emitter=m,A.type=w,A.count=E.length,x=A,console&&console.warn&&console.warn(x)}return m}function a(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function u(m,w,y){var S={fired:!1,wrapFn:void 0,target:m,type:w,listener:y},_=a.bind(S);return _.listener=y,S.wrapFn=_,_}function o(m,w,y){var S=m._events;if(S===void 0)return[];var _=S[w];return _===void 0?[]:typeof _=="function"?y?[_.listener||_]:[_]:y?function(k){for(var E=new Array(k.length),x=0;x0&&(k=w[0]),k instanceof Error)throw k;var E=new Error("Unhandled error."+(k?" ("+k.message+")":""));throw E.context=k,E}var x=_[m];if(x===void 0)return!1;if(typeof x=="function")d(x,this,w);else{var A=x.length,L=c(x,A);for(y=0;y=0;k--)if(y[k]===w||y[k].listener===w){E=y[k].listener,_=k;break}if(_<0)return this;_===0?y.shift():function(x,A){for(;A+1=0;S--)this.removeListener(m,w[S]);return this},i.prototype.listeners=function(m){return o(this,m,!0)},i.prototype.rawListeners=function(m){return o(this,m,!1)},i.listenerCount=function(m,w){return typeof m.listenerCount=="function"?m.listenerCount(w):s.call(m,w)},i.prototype.listenerCount=s,i.prototype.eventNames=function(){return this._eventsCount>0?p(this._events):[]}},60774:function(T){var p=function(){if(typeof self=="object"&&self)return self;if(typeof window=="object"&&window)return window;throw new Error("Unable to resolve global `this`")};T.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch{return p()}try{return __global__||p()}finally{delete Object.prototype.__global__}}()},94908:function(T,p,t){T.exports=t(51152)()?globalThis:t(60774)},51152:function(T){T.exports=function(){return typeof globalThis=="object"&&!!globalThis&&globalThis.Array===Array}},92770:function(T,p,t){var d=t(18546);T.exports=function(g){var i=typeof g;if(i==="string"){var M=g;if((g=+g)==0&&d(M))return!1}else if(i!=="number")return!1;return g-g<1}},30120:function(T,p,t){var d=t(90660);T.exports=function(g,i,M){if(!g)throw new TypeError("must specify data as first parameter");if(M=0|+(M||0),Array.isArray(g)&&g[0]&&typeof g[0][0]=="number"){var v,f,l,a,u=g[0].length,o=g.length*u;i&&typeof i!="string"||(i=new(d(i||"float32"))(o+M));var s=i.length-M;if(o!==s)throw new Error("source length "+o+" ("+u+"x"+g.length+") does not match destination length "+s);for(v=0,l=M;vM[0]-l[0]/2&&(h=l[0]/2,m+=l[1]);return v}},32879:function(T){function p(i,M){M||(M={}),(typeof i=="string"||Array.isArray(i))&&(M.family=i);var v=Array.isArray(M.family)?M.family.join(", "):M.family;if(!v)throw Error("`family` must be defined");var f=M.size||M.fontSize||M.em||48,l=M.weight||M.fontWeight||"",a=(i=[M.style||M.fontStyle||"",l,f].join(" ")+"px "+v,M.origin||"top");if(p.cache[v]&&f<=p.cache[v].em)return t(p.cache[v],a);var u=M.canvas||p.canvas,o=u.getContext("2d"),s={upper:M.upper!==void 0?M.upper:"H",lower:M.lower!==void 0?M.lower:"x",descent:M.descent!==void 0?M.descent:"p",ascent:M.ascent!==void 0?M.ascent:"h",tittle:M.tittle!==void 0?M.tittle:"i",overshoot:M.overshoot!==void 0?M.overshoot:"O"},c=Math.ceil(1.5*f);u.height=c,u.width=.5*c,o.font=i;var h="H",m={top:0};o.clearRect(0,0,c,c),o.textBaseline="top",o.fillStyle="black",o.fillText(h,0,0);var w=d(o.getImageData(0,0,c,c));o.clearRect(0,0,c,c),o.textBaseline="bottom",o.fillText(h,0,c);var y=d(o.getImageData(0,0,c,c));m.lineHeight=m.bottom=c-y+w,o.clearRect(0,0,c,c),o.textBaseline="alphabetic",o.fillText(h,0,c);var S=c-d(o.getImageData(0,0,c,c))-1+w;m.baseline=m.alphabetic=S,o.clearRect(0,0,c,c),o.textBaseline="middle",o.fillText(h,0,.5*c);var _=d(o.getImageData(0,0,c,c));m.median=m.middle=c-_-1+w-.5*c,o.clearRect(0,0,c,c),o.textBaseline="hanging",o.fillText(h,0,.5*c);var k=d(o.getImageData(0,0,c,c));m.hanging=c-k-1+w-.5*c,o.clearRect(0,0,c,c),o.textBaseline="ideographic",o.fillText(h,0,c);var E=d(o.getImageData(0,0,c,c));if(m.ideographic=c-E-1+w,s.upper&&(o.clearRect(0,0,c,c),o.textBaseline="top",o.fillText(s.upper,0,0),m.upper=d(o.getImageData(0,0,c,c)),m.capHeight=m.baseline-m.upper),s.lower&&(o.clearRect(0,0,c,c),o.textBaseline="top",o.fillText(s.lower,0,0),m.lower=d(o.getImageData(0,0,c,c)),m.xHeight=m.baseline-m.lower),s.tittle&&(o.clearRect(0,0,c,c),o.textBaseline="top",o.fillText(s.tittle,0,0),m.tittle=d(o.getImageData(0,0,c,c))),s.ascent&&(o.clearRect(0,0,c,c),o.textBaseline="top",o.fillText(s.ascent,0,0),m.ascent=d(o.getImageData(0,0,c,c))),s.descent&&(o.clearRect(0,0,c,c),o.textBaseline="top",o.fillText(s.descent,0,0),m.descent=g(o.getImageData(0,0,c,c))),s.overshoot){o.clearRect(0,0,c,c),o.textBaseline="top",o.fillText(s.overshoot,0,0);var x=g(o.getImageData(0,0,c,c));m.overshoot=x-S}for(var A in m)m[A]/=f;return m.em=f,p.cache[v]=m,t(m,a)}function t(i,M){var v={};for(var f in typeof M=="string"&&(M=i[M]),i)f!=="em"&&(v[f]=i[f]-M);return v}function d(i){for(var M=i.height,v=i.data,f=3;f0;f-=4)if(v[f]!==0)return Math.floor(.25*(f-3)/M)}T.exports=p,p.canvas=document.createElement("canvas"),p.cache={}},31353:function(T,p,t){var d=t(85395),g=Object.prototype.toString,i=Object.prototype.hasOwnProperty,M=function(l,a,u){for(var o=0,s=l.length;o=3&&(o=u),g.call(l)==="[object Array]"?M(l,a,o):typeof l=="string"?v(l,a,o):f(l,a,o)}},73047:function(T){var p="Function.prototype.bind called on incompatible ",t=Array.prototype.slice,d=Object.prototype.toString,g="[object Function]";T.exports=function(i){var M=this;if(typeof M!="function"||d.call(M)!==g)throw new TypeError(p+M);for(var v,f=t.call(arguments,1),l=function(){if(this instanceof v){var c=M.apply(this,f.concat(t.call(arguments)));return Object(c)===c?c:this}return M.apply(i,f.concat(t.call(arguments)))},a=Math.max(0,M.length-f.length),u=[],o=0;o"u"&&!t.canvas)return null;var d=t.canvas||document.createElement("canvas");typeof t.width=="number"&&(d.width=t.width),typeof t.height=="number"&&(d.height=t.height);var g,i=t;try{var M=[p];p.indexOf("webgl")===0&&M.push("experimental-"+p);for(var v=0;v"u"?d:o(Uint8Array),h={"%AggregateError%":typeof AggregateError>"u"?d:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?d:ArrayBuffer,"%ArrayIteratorPrototype%":u?o([][Symbol.iterator]()):d,"%AsyncFromSyncIteratorPrototype%":d,"%AsyncFunction%":s,"%AsyncGenerator%":s,"%AsyncGeneratorFunction%":s,"%AsyncIteratorPrototype%":s,"%Atomics%":typeof Atomics>"u"?d:Atomics,"%BigInt%":typeof BigInt>"u"?d:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?d:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?d:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?d:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?d:Float32Array,"%Float64Array%":typeof Float64Array>"u"?d:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?d:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":s,"%Int8Array%":typeof Int8Array>"u"?d:Int8Array,"%Int16Array%":typeof Int16Array>"u"?d:Int16Array,"%Int32Array%":typeof Int32Array>"u"?d:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":u?o(o([][Symbol.iterator]())):d,"%JSON%":typeof JSON=="object"?JSON:d,"%Map%":typeof Map>"u"?d:Map,"%MapIteratorPrototype%":typeof Map<"u"&&u?o(new Map()[Symbol.iterator]()):d,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?d:Promise,"%Proxy%":typeof Proxy>"u"?d:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?d:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?d:Set,"%SetIteratorPrototype%":typeof Set<"u"&&u?o(new Set()[Symbol.iterator]()):d,"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?d:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":u?o(""[Symbol.iterator]()):d,"%Symbol%":u?Symbol:d,"%SyntaxError%":g,"%ThrowTypeError%":a,"%TypedArray%":c,"%TypeError%":M,"%Uint8Array%":typeof Uint8Array>"u"?d:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?d:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?d:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?d:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?d:WeakMap,"%WeakRef%":typeof WeakRef>"u"?d:WeakRef,"%WeakSet%":typeof WeakSet>"u"?d:WeakSet};try{null.error}catch(z){var m=o(o(z));h["%Error.prototype%"]=m}var w=function z(F){var B;if(F==="%AsyncFunction%")B=v("async function () {}");else if(F==="%GeneratorFunction%")B=v("function* () {}");else if(F==="%AsyncGeneratorFunction%")B=v("async function* () {}");else if(F==="%AsyncGenerator%"){var N=z("%AsyncGeneratorFunction%");N&&(B=N.prototype)}else if(F==="%AsyncIteratorPrototype%"){var W=z("%AsyncGenerator%");W&&(B=o(W.prototype))}return h[F]=B,B},y={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},S=t(77575),_=t(35065),k=S.call(Function.call,Array.prototype.concat),E=S.call(Function.apply,Array.prototype.splice),x=S.call(Function.call,String.prototype.replace),A=S.call(Function.call,String.prototype.slice),L=S.call(Function.call,RegExp.prototype.exec),b=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,R=/\\(\\)?/g,I=function(z){var F=A(z,0,1),B=A(z,-1);if(F==="%"&&B!=="%")throw new g("invalid intrinsic syntax, expected closing `%`");if(B==="%"&&F!=="%")throw new g("invalid intrinsic syntax, expected opening `%`");var N=[];return x(z,b,function(W,j,$,U){N[N.length]=$?x(U,R,"$1"):j||W}),N},O=function(z,F){var B,N=z;if(_(y,N)&&(N="%"+(B=y[N])[0]+"%"),_(h,N)){var W=h[N];if(W===s&&(W=w(N)),W===void 0&&!F)throw new M("intrinsic "+z+" exists, but is not available. Please file an issue!");return{alias:B,name:N,value:W}}throw new g("intrinsic "+z+" does not exist!")};T.exports=function(z,F){if(typeof z!="string"||z.length===0)throw new M("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof F!="boolean")throw new M('"allowMissing" argument must be a boolean');if(L(/^%?[^%]*%?$/,z)===null)throw new g("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var B=I(z),N=B.length>0?B[0]:"",W=O("%"+N+"%",F),j=W.name,$=W.value,U=!1,G=W.alias;G&&(N=G[0],E(B,k([0,1],G)));for(var q=1,H=!0;q=B.length){var X=f($,ne);$=(H=!!X)&&"get"in X&&!("originalValue"in X.get)?X.get:$[ne]}else H=_($,ne),$=$[ne];H&&!U&&(h[j]=$)}}return $}},85400:function(T){T.exports=function(p,t){var d=t[0],g=t[1],i=t[2],M=t[3],v=t[4],f=t[5],l=t[6],a=t[7],u=t[8],o=t[9],s=t[10],c=t[11],h=t[12],m=t[13],w=t[14],y=t[15];return p[0]=f*(s*y-c*w)-o*(l*y-a*w)+m*(l*c-a*s),p[1]=-(g*(s*y-c*w)-o*(i*y-M*w)+m*(i*c-M*s)),p[2]=g*(l*y-a*w)-f*(i*y-M*w)+m*(i*a-M*l),p[3]=-(g*(l*c-a*s)-f*(i*c-M*s)+o*(i*a-M*l)),p[4]=-(v*(s*y-c*w)-u*(l*y-a*w)+h*(l*c-a*s)),p[5]=d*(s*y-c*w)-u*(i*y-M*w)+h*(i*c-M*s),p[6]=-(d*(l*y-a*w)-v*(i*y-M*w)+h*(i*a-M*l)),p[7]=d*(l*c-a*s)-v*(i*c-M*s)+u*(i*a-M*l),p[8]=v*(o*y-c*m)-u*(f*y-a*m)+h*(f*c-a*o),p[9]=-(d*(o*y-c*m)-u*(g*y-M*m)+h*(g*c-M*o)),p[10]=d*(f*y-a*m)-v*(g*y-M*m)+h*(g*a-M*f),p[11]=-(d*(f*c-a*o)-v*(g*c-M*o)+u*(g*a-M*f)),p[12]=-(v*(o*w-s*m)-u*(f*w-l*m)+h*(f*s-l*o)),p[13]=d*(o*w-s*m)-u*(g*w-i*m)+h*(g*s-i*o),p[14]=-(d*(f*w-l*m)-v*(g*w-i*m)+h*(g*l-i*f)),p[15]=d*(f*s-l*o)-v*(g*s-i*o)+u*(g*l-i*f),p}},42331:function(T){T.exports=function(p){var t=new Float32Array(16);return t[0]=p[0],t[1]=p[1],t[2]=p[2],t[3]=p[3],t[4]=p[4],t[5]=p[5],t[6]=p[6],t[7]=p[7],t[8]=p[8],t[9]=p[9],t[10]=p[10],t[11]=p[11],t[12]=p[12],t[13]=p[13],t[14]=p[14],t[15]=p[15],t}},31042:function(T){T.exports=function(p,t){return p[0]=t[0],p[1]=t[1],p[2]=t[2],p[3]=t[3],p[4]=t[4],p[5]=t[5],p[6]=t[6],p[7]=t[7],p[8]=t[8],p[9]=t[9],p[10]=t[10],p[11]=t[11],p[12]=t[12],p[13]=t[13],p[14]=t[14],p[15]=t[15],p}},11902:function(T){T.exports=function(){var p=new Float32Array(16);return p[0]=1,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=1,p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=1,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},89887:function(T){T.exports=function(p){var t=p[0],d=p[1],g=p[2],i=p[3],M=p[4],v=p[5],f=p[6],l=p[7],a=p[8],u=p[9],o=p[10],s=p[11],c=p[12],h=p[13],m=p[14],w=p[15];return(t*v-d*M)*(o*w-s*m)-(t*f-g*M)*(u*w-s*h)+(t*l-i*M)*(u*m-o*h)+(d*f-g*v)*(a*w-s*c)-(d*l-i*v)*(a*m-o*c)+(g*l-i*f)*(a*h-u*c)}},27812:function(T){T.exports=function(p,t){var d=t[0],g=t[1],i=t[2],M=t[3],v=d+d,f=g+g,l=i+i,a=d*v,u=g*v,o=g*f,s=i*v,c=i*f,h=i*l,m=M*v,w=M*f,y=M*l;return p[0]=1-o-h,p[1]=u+y,p[2]=s-w,p[3]=0,p[4]=u-y,p[5]=1-a-h,p[6]=c+m,p[7]=0,p[8]=s+w,p[9]=c-m,p[10]=1-a-o,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},34045:function(T){T.exports=function(p,t,d){var g,i,M,v=d[0],f=d[1],l=d[2],a=Math.sqrt(v*v+f*f+l*l);return Math.abs(a)<1e-6?null:(v*=a=1/a,f*=a,l*=a,g=Math.sin(t),M=1-(i=Math.cos(t)),p[0]=v*v*M+i,p[1]=f*v*M+l*g,p[2]=l*v*M-f*g,p[3]=0,p[4]=v*f*M-l*g,p[5]=f*f*M+i,p[6]=l*f*M+v*g,p[7]=0,p[8]=v*l*M+f*g,p[9]=f*l*M-v*g,p[10]=l*l*M+i,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p)}},45973:function(T){T.exports=function(p,t,d){var g=t[0],i=t[1],M=t[2],v=t[3],f=g+g,l=i+i,a=M+M,u=g*f,o=g*l,s=g*a,c=i*l,h=i*a,m=M*a,w=v*f,y=v*l,S=v*a;return p[0]=1-(c+m),p[1]=o+S,p[2]=s-y,p[3]=0,p[4]=o-S,p[5]=1-(u+m),p[6]=h+w,p[7]=0,p[8]=s+y,p[9]=h-w,p[10]=1-(u+c),p[11]=0,p[12]=d[0],p[13]=d[1],p[14]=d[2],p[15]=1,p}},81472:function(T){T.exports=function(p,t){return p[0]=t[0],p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=t[1],p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=t[2],p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},14669:function(T){T.exports=function(p,t){return p[0]=1,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=1,p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=1,p[11]=0,p[12]=t[0],p[13]=t[1],p[14]=t[2],p[15]=1,p}},75262:function(T){T.exports=function(p,t){var d=Math.sin(t),g=Math.cos(t);return p[0]=1,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=g,p[6]=d,p[7]=0,p[8]=0,p[9]=-d,p[10]=g,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},331:function(T){T.exports=function(p,t){var d=Math.sin(t),g=Math.cos(t);return p[0]=g,p[1]=0,p[2]=-d,p[3]=0,p[4]=0,p[5]=1,p[6]=0,p[7]=0,p[8]=d,p[9]=0,p[10]=g,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},11049:function(T){T.exports=function(p,t){var d=Math.sin(t),g=Math.cos(t);return p[0]=g,p[1]=d,p[2]=0,p[3]=0,p[4]=-d,p[5]=g,p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=1,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},75195:function(T){T.exports=function(p,t,d,g,i,M,v){var f=1/(d-t),l=1/(i-g),a=1/(M-v);return p[0]=2*M*f,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=2*M*l,p[6]=0,p[7]=0,p[8]=(d+t)*f,p[9]=(i+g)*l,p[10]=(v+M)*a,p[11]=-1,p[12]=0,p[13]=0,p[14]=v*M*2*a,p[15]=0,p}},71551:function(T){T.exports=function(p){return p[0]=1,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=1,p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=1,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},79576:function(T,p,t){T.exports={create:t(11902),clone:t(42331),copy:t(31042),identity:t(71551),transpose:t(88654),invert:t(95874),adjoint:t(85400),determinant:t(89887),multiply:t(91362),translate:t(31283),scale:t(10789),rotate:t(65074),rotateX:t(35545),rotateY:t(94918),rotateZ:t(15692),fromRotation:t(34045),fromRotationTranslation:t(45973),fromScaling:t(81472),fromTranslation:t(14669),fromXRotation:t(75262),fromYRotation:t(331),fromZRotation:t(11049),fromQuat:t(27812),frustum:t(75195),perspective:t(7864),perspectiveFromFieldOfView:t(35279),ortho:t(60378),lookAt:t(65551),str:t(6726)}},95874:function(T){T.exports=function(p,t){var d=t[0],g=t[1],i=t[2],M=t[3],v=t[4],f=t[5],l=t[6],a=t[7],u=t[8],o=t[9],s=t[10],c=t[11],h=t[12],m=t[13],w=t[14],y=t[15],S=d*f-g*v,_=d*l-i*v,k=d*a-M*v,E=g*l-i*f,x=g*a-M*f,A=i*a-M*l,L=u*m-o*h,b=u*w-s*h,R=u*y-c*h,I=o*w-s*m,O=o*y-c*m,z=s*y-c*w,F=S*z-_*O+k*I+E*R-x*b+A*L;return F?(F=1/F,p[0]=(f*z-l*O+a*I)*F,p[1]=(i*O-g*z-M*I)*F,p[2]=(m*A-w*x+y*E)*F,p[3]=(s*x-o*A-c*E)*F,p[4]=(l*R-v*z-a*b)*F,p[5]=(d*z-i*R+M*b)*F,p[6]=(w*k-h*A-y*_)*F,p[7]=(u*A-s*k+c*_)*F,p[8]=(v*O-f*R+a*L)*F,p[9]=(g*R-d*O-M*L)*F,p[10]=(h*x-m*k+y*S)*F,p[11]=(o*k-u*x-c*S)*F,p[12]=(f*b-v*I-l*L)*F,p[13]=(d*I-g*b+i*L)*F,p[14]=(m*_-h*E-w*S)*F,p[15]=(u*E-o*_+s*S)*F,p):null}},65551:function(T,p,t){var d=t(71551);T.exports=function(g,i,M,v){var f,l,a,u,o,s,c,h,m,w,y=i[0],S=i[1],_=i[2],k=v[0],E=v[1],x=v[2],A=M[0],L=M[1],b=M[2];return Math.abs(y-A)<1e-6&&Math.abs(S-L)<1e-6&&Math.abs(_-b)<1e-6?d(g):(c=y-A,h=S-L,m=_-b,f=E*(m*=w=1/Math.sqrt(c*c+h*h+m*m))-x*(h*=w),l=x*(c*=w)-k*m,a=k*h-E*c,(w=Math.sqrt(f*f+l*l+a*a))?(f*=w=1/w,l*=w,a*=w):(f=0,l=0,a=0),u=h*a-m*l,o=m*f-c*a,s=c*l-h*f,(w=Math.sqrt(u*u+o*o+s*s))?(u*=w=1/w,o*=w,s*=w):(u=0,o=0,s=0),g[0]=f,g[1]=u,g[2]=c,g[3]=0,g[4]=l,g[5]=o,g[6]=h,g[7]=0,g[8]=a,g[9]=s,g[10]=m,g[11]=0,g[12]=-(f*y+l*S+a*_),g[13]=-(u*y+o*S+s*_),g[14]=-(c*y+h*S+m*_),g[15]=1,g)}},91362:function(T){T.exports=function(p,t,d){var g=t[0],i=t[1],M=t[2],v=t[3],f=t[4],l=t[5],a=t[6],u=t[7],o=t[8],s=t[9],c=t[10],h=t[11],m=t[12],w=t[13],y=t[14],S=t[15],_=d[0],k=d[1],E=d[2],x=d[3];return p[0]=_*g+k*f+E*o+x*m,p[1]=_*i+k*l+E*s+x*w,p[2]=_*M+k*a+E*c+x*y,p[3]=_*v+k*u+E*h+x*S,_=d[4],k=d[5],E=d[6],x=d[7],p[4]=_*g+k*f+E*o+x*m,p[5]=_*i+k*l+E*s+x*w,p[6]=_*M+k*a+E*c+x*y,p[7]=_*v+k*u+E*h+x*S,_=d[8],k=d[9],E=d[10],x=d[11],p[8]=_*g+k*f+E*o+x*m,p[9]=_*i+k*l+E*s+x*w,p[10]=_*M+k*a+E*c+x*y,p[11]=_*v+k*u+E*h+x*S,_=d[12],k=d[13],E=d[14],x=d[15],p[12]=_*g+k*f+E*o+x*m,p[13]=_*i+k*l+E*s+x*w,p[14]=_*M+k*a+E*c+x*y,p[15]=_*v+k*u+E*h+x*S,p}},60378:function(T){T.exports=function(p,t,d,g,i,M,v){var f=1/(t-d),l=1/(g-i),a=1/(M-v);return p[0]=-2*f,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=-2*l,p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=2*a,p[11]=0,p[12]=(t+d)*f,p[13]=(i+g)*l,p[14]=(v+M)*a,p[15]=1,p}},7864:function(T){T.exports=function(p,t,d,g,i){var M=1/Math.tan(t/2),v=1/(g-i);return p[0]=M/d,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=M,p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=(i+g)*v,p[11]=-1,p[12]=0,p[13]=0,p[14]=2*i*g*v,p[15]=0,p}},35279:function(T){T.exports=function(p,t,d,g){var i=Math.tan(t.upDegrees*Math.PI/180),M=Math.tan(t.downDegrees*Math.PI/180),v=Math.tan(t.leftDegrees*Math.PI/180),f=Math.tan(t.rightDegrees*Math.PI/180),l=2/(v+f),a=2/(i+M);return p[0]=l,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=a,p[6]=0,p[7]=0,p[8]=-(v-f)*l*.5,p[9]=(i-M)*a*.5,p[10]=g/(d-g),p[11]=-1,p[12]=0,p[13]=0,p[14]=g*d/(d-g),p[15]=0,p}},65074:function(T){T.exports=function(p,t,d,g){var i,M,v,f,l,a,u,o,s,c,h,m,w,y,S,_,k,E,x,A,L,b,R,I,O=g[0],z=g[1],F=g[2],B=Math.sqrt(O*O+z*z+F*F);return Math.abs(B)<1e-6?null:(O*=B=1/B,z*=B,F*=B,i=Math.sin(d),v=1-(M=Math.cos(d)),f=t[0],l=t[1],a=t[2],u=t[3],o=t[4],s=t[5],c=t[6],h=t[7],m=t[8],w=t[9],y=t[10],S=t[11],_=O*O*v+M,k=z*O*v+F*i,E=F*O*v-z*i,x=O*z*v-F*i,A=z*z*v+M,L=F*z*v+O*i,b=O*F*v+z*i,R=z*F*v-O*i,I=F*F*v+M,p[0]=f*_+o*k+m*E,p[1]=l*_+s*k+w*E,p[2]=a*_+c*k+y*E,p[3]=u*_+h*k+S*E,p[4]=f*x+o*A+m*L,p[5]=l*x+s*A+w*L,p[6]=a*x+c*A+y*L,p[7]=u*x+h*A+S*L,p[8]=f*b+o*R+m*I,p[9]=l*b+s*R+w*I,p[10]=a*b+c*R+y*I,p[11]=u*b+h*R+S*I,t!==p&&(p[12]=t[12],p[13]=t[13],p[14]=t[14],p[15]=t[15]),p)}},35545:function(T){T.exports=function(p,t,d){var g=Math.sin(d),i=Math.cos(d),M=t[4],v=t[5],f=t[6],l=t[7],a=t[8],u=t[9],o=t[10],s=t[11];return t!==p&&(p[0]=t[0],p[1]=t[1],p[2]=t[2],p[3]=t[3],p[12]=t[12],p[13]=t[13],p[14]=t[14],p[15]=t[15]),p[4]=M*i+a*g,p[5]=v*i+u*g,p[6]=f*i+o*g,p[7]=l*i+s*g,p[8]=a*i-M*g,p[9]=u*i-v*g,p[10]=o*i-f*g,p[11]=s*i-l*g,p}},94918:function(T){T.exports=function(p,t,d){var g=Math.sin(d),i=Math.cos(d),M=t[0],v=t[1],f=t[2],l=t[3],a=t[8],u=t[9],o=t[10],s=t[11];return t!==p&&(p[4]=t[4],p[5]=t[5],p[6]=t[6],p[7]=t[7],p[12]=t[12],p[13]=t[13],p[14]=t[14],p[15]=t[15]),p[0]=M*i-a*g,p[1]=v*i-u*g,p[2]=f*i-o*g,p[3]=l*i-s*g,p[8]=M*g+a*i,p[9]=v*g+u*i,p[10]=f*g+o*i,p[11]=l*g+s*i,p}},15692:function(T){T.exports=function(p,t,d){var g=Math.sin(d),i=Math.cos(d),M=t[0],v=t[1],f=t[2],l=t[3],a=t[4],u=t[5],o=t[6],s=t[7];return t!==p&&(p[8]=t[8],p[9]=t[9],p[10]=t[10],p[11]=t[11],p[12]=t[12],p[13]=t[13],p[14]=t[14],p[15]=t[15]),p[0]=M*i+a*g,p[1]=v*i+u*g,p[2]=f*i+o*g,p[3]=l*i+s*g,p[4]=a*i-M*g,p[5]=u*i-v*g,p[6]=o*i-f*g,p[7]=s*i-l*g,p}},10789:function(T){T.exports=function(p,t,d){var g=d[0],i=d[1],M=d[2];return p[0]=t[0]*g,p[1]=t[1]*g,p[2]=t[2]*g,p[3]=t[3]*g,p[4]=t[4]*i,p[5]=t[5]*i,p[6]=t[6]*i,p[7]=t[7]*i,p[8]=t[8]*M,p[9]=t[9]*M,p[10]=t[10]*M,p[11]=t[11]*M,p[12]=t[12],p[13]=t[13],p[14]=t[14],p[15]=t[15],p}},6726:function(T){T.exports=function(p){return"mat4("+p[0]+", "+p[1]+", "+p[2]+", "+p[3]+", "+p[4]+", "+p[5]+", "+p[6]+", "+p[7]+", "+p[8]+", "+p[9]+", "+p[10]+", "+p[11]+", "+p[12]+", "+p[13]+", "+p[14]+", "+p[15]+")"}},31283:function(T){T.exports=function(p,t,d){var g,i,M,v,f,l,a,u,o,s,c,h,m=d[0],w=d[1],y=d[2];return t===p?(p[12]=t[0]*m+t[4]*w+t[8]*y+t[12],p[13]=t[1]*m+t[5]*w+t[9]*y+t[13],p[14]=t[2]*m+t[6]*w+t[10]*y+t[14],p[15]=t[3]*m+t[7]*w+t[11]*y+t[15]):(g=t[0],i=t[1],M=t[2],v=t[3],f=t[4],l=t[5],a=t[6],u=t[7],o=t[8],s=t[9],c=t[10],h=t[11],p[0]=g,p[1]=i,p[2]=M,p[3]=v,p[4]=f,p[5]=l,p[6]=a,p[7]=u,p[8]=o,p[9]=s,p[10]=c,p[11]=h,p[12]=g*m+f*w+o*y+t[12],p[13]=i*m+l*w+s*y+t[13],p[14]=M*m+a*w+c*y+t[14],p[15]=v*m+u*w+h*y+t[15]),p}},88654:function(T){T.exports=function(p,t){if(p===t){var d=t[1],g=t[2],i=t[3],M=t[6],v=t[7],f=t[11];p[1]=t[4],p[2]=t[8],p[3]=t[12],p[4]=d,p[6]=t[9],p[7]=t[13],p[8]=g,p[9]=M,p[11]=t[14],p[12]=i,p[13]=v,p[14]=f}else p[0]=t[0],p[1]=t[4],p[2]=t[8],p[3]=t[12],p[4]=t[1],p[5]=t[5],p[6]=t[9],p[7]=t[13],p[8]=t[2],p[9]=t[6],p[10]=t[10],p[11]=t[14],p[12]=t[3],p[13]=t[7],p[14]=t[11],p[15]=t[15];return p}},42505:function(T,p,t){var d=t(72791),g=t(71299),i=t(98580),M=t(12018),v=t(83522),f=t(25075),l=t(68016),a=t(58404),u=t(18863),o=t(10973),s=t(25677),c=t(75686),h=t(53545),m=t(56131),w=t(32879),y=t(30120),S=t(13547).nextPow2,_=new v,k=!1;if(document.body){var E=document.body.appendChild(document.createElement("div"));E.style.font="italic small-caps bold condensed 16px/2 cursive",getComputedStyle(E).fontStretch&&(k=!0),document.body.removeChild(E)}var x=function(A){(function(L){return typeof L=="function"&&L._gl&&L.prop&&L.texture&&L.buffer})(A)?(A={regl:A},this.gl=A.regl._gl):this.gl=M(A),this.shader=_.get(this.gl),this.shader?this.regl=this.shader.regl:this.regl=A.regl||i({gl:this.gl}),this.charBuffer=this.regl.buffer({type:"uint8",usage:"stream"}),this.sizeBuffer=this.regl.buffer({type:"float",usage:"stream"}),this.shader||(this.shader=this.createShader(),_.set(this.gl,this.shader)),this.batch=[],this.fontSize=[],this.font=[],this.fontAtlas=[],this.draw=this.shader.draw.bind(this),this.render=function(){this.regl._refresh(),this.draw(this.batch)},this.canvas=this.gl.canvas,this.update(o(A)?A:{})};x.prototype.createShader=function(){var A=this.regl,L=A({blend:{enable:!0,color:[0,0,0,1],func:{srcRGB:"src alpha",dstRGB:"one minus src alpha",srcAlpha:"one minus dst alpha",dstAlpha:"one"}},stencil:{enable:!1},depth:{enable:!1},count:A.prop("count"),offset:A.prop("offset"),attributes:{charOffset:{offset:4,stride:8,buffer:A.this("sizeBuffer")},width:{offset:0,stride:8,buffer:A.this("sizeBuffer")},char:A.this("charBuffer"),position:A.this("position")},uniforms:{atlasSize:function(b,R){return[R.atlas.width,R.atlas.height]},atlasDim:function(b,R){return[R.atlas.cols,R.atlas.rows]},atlas:function(b,R){return R.atlas.texture},charStep:function(b,R){return R.atlas.step},em:function(b,R){return R.atlas.em},color:A.prop("color"),opacity:A.prop("opacity"),viewport:A.this("viewportArray"),scale:A.this("scale"),align:A.prop("align"),baseline:A.prop("baseline"),translate:A.this("translate"),positionOffset:A.prop("positionOffset")},primitive:"points",viewport:A.this("viewport"),vert:` precision highp float; attribute float width, charOffset, char; attribute vec2 position; @@ -2475,7 +2475,7 @@ should equal // color.rgb += (1. - color.rgb) * (1. - mask.rgb); gl_FragColor = color; - }`});return{regl:A,draw:L,atlas:{}}},_.prototype.update=function(A){var L=this;if(typeof A=="string")A={text:A};else if(!A)return;(A=y(A,{position:"position positions coord coords coordinates",font:"font fontFace fontface typeface cssFont css-font family fontFamily",fontSize:"fontSize fontsize size font-size",text:"text texts chars characters value values symbols",align:"align alignment textAlign textbaseline",baseline:"baseline textBaseline textbaseline",direction:"dir direction textDirection",color:"color colour fill fill-color fillColor textColor textcolor",kerning:"kerning kern",range:"range dataBox",viewport:"vp viewport viewBox viewbox viewPort",opacity:"opacity alpha transparency visible visibility opaque",offset:"offset positionOffset padding shift indent indentation"},!0)).opacity!=null&&(Array.isArray(A.opacity)?this.opacity=A.opacity.map(function(ae){return parseFloat(ae)}):this.opacity=parseFloat(A.opacity)),A.viewport!=null&&(this.viewport=u(A.viewport),this.viewportArray=[this.viewport.x,this.viewport.y,this.viewport.width,this.viewport.height]),this.viewport==null&&(this.viewport={x:0,y:0,width:this.gl.drawingBufferWidth,height:this.gl.drawingBufferHeight},this.viewportArray=[this.viewport.x,this.viewport.y,this.viewport.width,this.viewport.height]),A.kerning!=null&&(this.kerning=A.kerning),A.offset!=null&&(typeof A.offset=="number"&&(A.offset=[A.offset,0]),this.positionOffset=g(A.offset)),A.direction&&(this.direction=A.direction),A.range&&(this.range=A.range,this.scale=[1/(A.range[2]-A.range[0]),1/(A.range[3]-A.range[1])],this.translate=[-A.range[0],-A.range[1]]),A.scale&&(this.scale=A.scale),A.translate&&(this.translate=A.translate),this.scale||(this.scale=[1/this.viewport.width,1/this.viewport.height]),this.translate||(this.translate=[0,0]),this.font.length||A.font||(A.font=_.baseFontSize+"px sans-serif");var b,R=!1,I=!1;if(A.font&&(Array.isArray(A.font)?A.font:[A.font]).forEach(function(ae,he){if(typeof ae=="string")try{ae=d.parse(ae)}catch{ae=d.parse(_.baseFontSize+"px "+ae)}else ae=d.parse(d.stringify(ae));var be=d.stringify({size:_.baseFontSize,family:ae.family,stretch:T?ae.stretch:void 0,variant:ae.variant,weight:ae.weight,style:ae.style}),ke=o(ae.size),Le=Math.round(ke[0]*c(ke[1]));if(Le!==L.fontSize[he]&&(I=!0,L.fontSize[he]=Le),!(L.font[he]&&be==L.font[he].baseString||(R=!0,L.font[he]=_.fonts[be],L.font[he]))){var Be=ae.family.join(", "),ze=[ae.style];ae.style!=ae.variant&&ze.push(ae.variant),ae.variant!=ae.weight&&ze.push(ae.weight),T&&ae.weight!=ae.stretch&&ze.push(ae.stretch),L.font[he]={baseString:be,family:Be,weight:ae.weight,stretch:ae.stretch,style:ae.style,variant:ae.variant,width:{},kerning:{},metrics:w(Be,{origin:"top",fontSize:_.baseFontSize,fontStyle:ze.join(" ")})},_.fonts[be]=L.font[he]}}),(R||I)&&this.font.forEach(function(ae,he){var be=d.stringify({size:L.fontSize[he],family:ae.family,stretch:T?ae.stretch:void 0,variant:ae.variant,weight:ae.weight,style:ae.style});if(L.fontAtlas[he]=L.shader.atlas[be],!L.fontAtlas[he]){var ke=ae.metrics;L.shader.atlas[be]=L.fontAtlas[he]={fontString:be,step:2*Math.ceil(L.fontSize[he]*ke.bottom*.5),em:L.fontSize[he],cols:0,rows:0,height:0,width:0,chars:[],ids:{},texture:L.regl.texture()}}A.text==null&&(A.text=L.text)}),typeof A.text=="string"&&A.position&&A.position.length>2){for(var O=Array(.5*A.position.length),z=0;z2){for(var B=!A.position[0].length,N=a.mallocFloat(2*this.count),W=0,j=0;W1?L.align[he]:L.align[0]:L.align;if(typeof be=="number")return be;switch(be){case"right":case"end":return-ae;case"center":case"centre":case"middle":return .5*-ae}return 0})),this.baseline==null&&A.baseline==null&&(A.baseline=0),A.baseline!=null&&(this.baseline=A.baseline,Array.isArray(this.baseline)||(this.baseline=[this.baseline]),this.baselineOffset=this.baseline.map(function(ae,he){var be=(L.font[he]||L.font[0]).metrics,ke=0;return ke+=.5*be.bottom,-1*(ke+=typeof ae=="number"?ae-be.baseline:-be[ae])})),A.color!=null)if(A.color||(A.color="transparent"),typeof A.color!="string"&&isNaN(A.color)){var me;if(typeof A.color[0]=="number"&&A.color.length>this.counts.length){var pe=A.color.length;me=a.mallocUint8(pe);for(var xe=(A.color.subarray||A.color.slice).bind(A.color),Pe=0;Pe4||this.baselineOffset.length>1||this.align&&this.align.length>1||this.fontAtlas.length>1||this.positionOffset.length>2){var Se=Math.max(.5*this.position.length||0,.25*this.color.length||0,this.baselineOffset.length||0,this.alignOffset.length||0,this.font.length||0,this.opacity.length||0,.5*this.positionOffset.length||0);this.batch=Array(Se);for(var Ce=0;Ce1?this.counts[Ce]:this.counts[0],offset:this.textOffsets.length>1?this.textOffsets[Ce]:this.textOffsets[0],color:this.color?this.color.length<=4?this.color:this.color.subarray(4*Ce,4*Ce+4):[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[Ce]:this.opacity,baseline:this.baselineOffset[Ce]!=null?this.baselineOffset[Ce]:this.baselineOffset[0],align:this.align?this.alignOffset[Ce]!=null?this.alignOffset[Ce]:this.alignOffset[0]:0,atlas:this.fontAtlas[Ce]||this.fontAtlas[0],positionOffset:this.positionOffset.length>2?this.positionOffset.subarray(2*Ce,2*Ce+2):this.positionOffset}}else this.count?this.batch=[{count:this.count,offset:0,color:this.color||[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[0]:this.opacity,baseline:this.baselineOffset[0],align:this.alignOffset?this.alignOffset[0]:0,atlas:this.fontAtlas[0],positionOffset:this.positionOffset}]:this.batch=[]},_.prototype.destroy=function(){},_.prototype.kerning=!0,_.prototype.position={constant:new Float32Array(2)},_.prototype.translate=null,_.prototype.scale=null,_.prototype.font=null,_.prototype.text="",_.prototype.positionOffset=[0,0],_.prototype.opacity=1,_.prototype.color=new Uint8Array([0,0,0,255]),_.prototype.alignOffset=[0,0],_.maxAtlasSize=1024,_.atlasCanvas=document.createElement("canvas"),_.atlasContext=_.atlasCanvas.getContext("2d",{alpha:!1}),_.baseFontSize=64,_.fonts={},k.exports=_},12018:function(k,m,t){var d=t(71299);function y(v){if(v.container)if(v.container==document.body)document.body.style.width||(v.canvas.width=v.width||v.pixelRatio*t.g.innerWidth),document.body.style.height||(v.canvas.height=v.height||v.pixelRatio*t.g.innerHeight);else{var h=v.container.getBoundingClientRect();v.canvas.width=v.width||h.right-h.left,v.canvas.height=v.height||h.bottom-h.top}}function i(v){return typeof v.getContext=="function"&&"width"in v&&"height"in v}function M(){var v=document.createElement("canvas");return v.style.position="absolute",v.style.top=0,v.style.left=0,v}k.exports=function(v){var h;if(v?typeof v=="string"&&(v={container:v}):v={},(v=i(v)||typeof(h=v).nodeName=="string"&&typeof h.appendChild=="function"&&typeof h.getBoundingClientRect=="function"?{container:v}:function(a){return typeof a.drawArrays=="function"||typeof a.drawElements=="function"}(v)?{gl:v}:d(v,{container:"container target element el canvas holder parent parentNode wrapper use ref root node",gl:"gl context webgl glContext",attrs:"attributes attrs contextAttributes",pixelRatio:"pixelRatio pxRatio px ratio pxratio pixelratio",width:"w width",height:"h height"},!0)).pixelRatio||(v.pixelRatio=t.g.pixelRatio||1),v.gl)return v.gl;if(v.canvas&&(v.container=v.canvas.parentNode),v.container){if(typeof v.container=="string"){var l=document.querySelector(v.container);if(!l)throw Error("Element "+v.container+" is not found");v.container=l}i(v.container)?(v.canvas=v.container,v.container=v.canvas.parentNode):v.canvas||(v.canvas=M(),v.container.appendChild(v.canvas),y(v))}else if(!v.canvas){if(typeof document>"u")throw Error("Not DOM environment. Use headless-gl.");v.container=document.body||document.documentElement,v.canvas=M(),v.container.appendChild(v.canvas),y(v)}return v.gl||["webgl","experimental-webgl","webgl-experimental"].some(function(a){try{v.gl=v.canvas.getContext(a,v.attrs)}catch{}return v.gl}),v.gl}},56068:function(k){k.exports=function(m){typeof m=="string"&&(m=[m]);for(var t=[].slice.call(arguments,1),d=[],y=0;y>1,s=-7,o=y?M-1:0,c=y?-1:1,f=t[d+o];for(o+=c,v=f&(1<<-s)-1,f>>=-s,s+=l;s>0;v=256*v+t[d+o],o+=c,s-=8);for(h=v&(1<<-s)-1,v>>=-s,s+=i;s>0;h=256*h+t[d+o],o+=c,s-=8);if(v===0)v=1-u;else{if(v===a)return h?NaN:1/0*(f?-1:1);h+=Math.pow(2,i),v-=u}return(f?-1:1)*h*Math.pow(2,v-i)},m.write=function(t,d,y,i,M,v){var h,l,a,u=8*v-M-1,s=(1<>1,c=M===23?Math.pow(2,-24)-Math.pow(2,-77):0,f=i?0:v-1,p=i?1:-1,w=d<0||d===0&&1/d<0?1:0;for(d=Math.abs(d),isNaN(d)||d===1/0?(l=isNaN(d)?1:0,h=s):(h=Math.floor(Math.log(d)/Math.LN2),d*(a=Math.pow(2,-h))<1&&(h--,a*=2),(d+=h+o>=1?c/a:c*Math.pow(2,1-o))*a>=2&&(h++,a/=2),h+o>=s?(l=0,h=s):h+o>=1?(l=(d*a-1)*Math.pow(2,M),h+=o):(l=d*Math.pow(2,o-1)*Math.pow(2,M),h=0));M>=8;t[y+f]=255&l,f+=p,l/=256,M-=8);for(h=h<0;t[y+f]=255&h,f+=p,h/=256,u-=8);t[y+f-p]|=128*w}},42018:function(k){typeof Object.create=="function"?k.exports=function(m,t){t&&(m.super_=t,m.prototype=Object.create(t.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}))}:k.exports=function(m,t){if(t){m.super_=t;var d=function(){};d.prototype=t.prototype,m.prototype=new d,m.prototype.constructor=m}}},47216:function(k,m,t){var d=t(84543)(),y=t(6614)("Object.prototype.toString"),i=function(h){return!(d&&h&&typeof h=="object"&&Symbol.toStringTag in h)&&y(h)==="[object Arguments]"},M=function(h){return!!i(h)||h!==null&&typeof h=="object"&&typeof h.length=="number"&&h.length>=0&&y(h)!=="[object Array]"&&y(h.callee)==="[object Function]"},v=function(){return i(arguments)}();i.isLegacyArguments=M,k.exports=v?i:M},54404:function(k){k.exports=!0},85395:function(k){var m,t,d=Function.prototype.toString,y=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply;if(typeof y=="function"&&typeof Object.defineProperty=="function")try{m=Object.defineProperty({},"length",{get:function(){throw t}}),t={},y(function(){throw 42},null,m)}catch(o){o!==t&&(y=null)}else y=null;var i=/^\s*class\b/,M=function(o){try{var c=d.call(o);return i.test(c)}catch{return!1}},v=function(o){try{return!M(o)&&(d.call(o),!0)}catch{return!1}},h=Object.prototype.toString,l=typeof Symbol=="function"&&!!Symbol.toStringTag,a=!(0 in[,]),u=function(){return!1};if(typeof document=="object"){var s=document.all;h.call(s)===h.call(document.all)&&(u=function(o){if((a||!o)&&(o===void 0||typeof o=="object"))try{var c=h.call(o);return(c==="[object HTMLAllCollection]"||c==="[object HTML document.all class]"||c==="[object HTMLCollection]"||c==="[object Object]")&&o("")==null}catch{}return!1})}k.exports=y?function(o){if(u(o))return!0;if(!o||typeof o!="function"&&typeof o!="object")return!1;try{y(o,null,m)}catch(c){if(c!==t)return!1}return!M(o)&&v(o)}:function(o){if(u(o))return!0;if(!o||typeof o!="function"&&typeof o!="object")return!1;if(l)return v(o);if(M(o))return!1;var c=h.call(o);return!(c!=="[object Function]"&&c!=="[object GeneratorFunction]"&&!/^\[object HTML/.test(c))&&v(o)}},65481:function(k,m,t){var d,y=Object.prototype.toString,i=Function.prototype.toString,M=/^\s*(?:function)?\*/,v=t(84543)(),h=Object.getPrototypeOf;k.exports=function(l){if(typeof l!="function")return!1;if(M.test(i.call(l)))return!0;if(!v)return y.call(l)==="[object GeneratorFunction]";if(!h)return!1;if(d===void 0){var a=function(){if(!v)return!1;try{return Function("return function*() {}")()}catch{}}();d=!!a&&h(a)}return h(l)===d}},62683:function(k){k.exports=typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||/Trident\//.test(navigator.appVersion))},64274:function(k){k.exports=function(m){return m!=m}},15567:function(k,m,t){var d=t(68222),y=t(17045),i=t(64274),M=t(14922),v=t(22442),h=d(M(),Number);y(h,{getPolyfill:M,implementation:i,shim:v}),k.exports=h},14922:function(k,m,t){var d=t(64274);k.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:d}},22442:function(k,m,t){var d=t(17045),y=t(14922);k.exports=function(){var i=y();return d(Number,{isNaN:i},{isNaN:function(){return Number.isNaN!==i}}),i}},64941:function(k){k.exports=function(m){var t=typeof m;return m!==null&&(t==="object"||t==="function")}},10973:function(k){var m=Object.prototype.toString;k.exports=function(t){var d;return m.call(t)==="[object Object]"&&((d=Object.getPrototypeOf(t))===null||d===Object.getPrototypeOf({}))}},18546:function(k){k.exports=function(m){for(var t,d=m.length,y=0;y13)&&t!==32&&t!==133&&t!==160&&t!==5760&&t!==6158&&(t<8192||t>8205)&&t!==8232&&t!==8233&&t!==8239&&t!==8287&&t!==8288&&t!==12288&&t!==65279)return!1;return!0}},89546:function(k){k.exports=function(m){return typeof m=="string"&&(m=m.trim(),!!(/^[mzlhvcsqta]\s*[-+.0-9][^mlhvzcsqta]+/i.test(m)&&/[\dz]$/i.test(m)&&m.length>4))}},9187:function(k,m,t){var d=t(31353),y=t(72077),i=t(6614),M=i("Object.prototype.toString"),v=t(84543)(),h=t(40383),l=typeof globalThis>"u"?t.g:globalThis,a=y(),u=i("Array.prototype.indexOf",!0)||function(f,p){for(var w=0;w-1}return!!h&&function(w){var g=!1;return d(o,function(S,x){if(!g)try{g=S.call(w)===x}catch{}}),g}(f)}},44517:function(k){k.exports=function(){var m,t,d;function y(i,M){if(m)if(t){var v="var sharedChunk = {}; ("+m+")(sharedChunk); ("+t+")(sharedChunk);",h={};m(h),(d=M(h)).workerUrl=window.URL.createObjectURL(new Blob([v],{type:"text/javascript"}))}else t=M;else m=M}return y(0,function(i){function M(P,V){return P(V={exports:{}},V.exports),V.exports}var v="1.10.1",h=l;function l(P,V,J,fe){this.cx=3*P,this.bx=3*(J-P)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*V,this.by=3*(fe-V)-this.cy,this.ay=1-this.cy-this.by,this.p1x=P,this.p1y=fe,this.p2x=J,this.p2y=fe}l.prototype.sampleCurveX=function(P){return((this.ax*P+this.bx)*P+this.cx)*P},l.prototype.sampleCurveY=function(P){return((this.ay*P+this.by)*P+this.cy)*P},l.prototype.sampleCurveDerivativeX=function(P){return(3*this.ax*P+2*this.bx)*P+this.cx},l.prototype.solveCurveX=function(P,V){var J,fe,Ae,Oe,Ge;for(V===void 0&&(V=1e-6),Ae=P,Ge=0;Ge<8;Ge++){if(Oe=this.sampleCurveX(Ae)-P,Math.abs(Oe)(fe=1))return fe;for(;JOe?J=Ae:fe=Ae,Ae=.5*(fe-J)+J}return Ae},l.prototype.solve=function(P,V){return this.sampleCurveY(this.solveCurveX(P,V))};var a=u;function u(P,V){this.x=P,this.y=V}function s(P,V,J,fe){var Ae=new h(P,V,J,fe);return function(Oe){return Ae.solve(Oe)}}u.prototype={clone:function(){return new u(this.x,this.y)},add:function(P){return this.clone()._add(P)},sub:function(P){return this.clone()._sub(P)},multByPoint:function(P){return this.clone()._multByPoint(P)},divByPoint:function(P){return this.clone()._divByPoint(P)},mult:function(P){return this.clone()._mult(P)},div:function(P){return this.clone()._div(P)},rotate:function(P){return this.clone()._rotate(P)},rotateAround:function(P,V){return this.clone()._rotateAround(P,V)},matMult:function(P){return this.clone()._matMult(P)},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(P){return this.x===P.x&&this.y===P.y},dist:function(P){return Math.sqrt(this.distSqr(P))},distSqr:function(P){var V=P.x-this.x,J=P.y-this.y;return V*V+J*J},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(P){return Math.atan2(this.y-P.y,this.x-P.x)},angleWith:function(P){return this.angleWithSep(P.x,P.y)},angleWithSep:function(P,V){return Math.atan2(this.x*V-this.y*P,this.x*P+this.y*V)},_matMult:function(P){var V=P[0]*this.x+P[1]*this.y,J=P[2]*this.x+P[3]*this.y;return this.x=V,this.y=J,this},_add:function(P){return this.x+=P.x,this.y+=P.y,this},_sub:function(P){return this.x-=P.x,this.y-=P.y,this},_mult:function(P){return this.x*=P,this.y*=P,this},_div:function(P){return this.x/=P,this.y/=P,this},_multByPoint:function(P){return this.x*=P.x,this.y*=P.y,this},_divByPoint:function(P){return this.x/=P.x,this.y/=P.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var P=this.y;return this.y=this.x,this.x=-P,this},_rotate:function(P){var V=Math.cos(P),J=Math.sin(P),fe=V*this.x-J*this.y,Ae=J*this.x+V*this.y;return this.x=fe,this.y=Ae,this},_rotateAround:function(P,V){var J=Math.cos(P),fe=Math.sin(P),Ae=V.x+J*(this.x-V.x)-fe*(this.y-V.y),Oe=V.y+fe*(this.x-V.x)+J*(this.y-V.y);return this.x=Ae,this.y=Oe,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},u.convert=function(P){return P instanceof u?P:Array.isArray(P)?new u(P[0],P[1]):P};var o=s(.25,.1,.25,1);function c(P,V,J){return Math.min(J,Math.max(V,P))}function f(P,V,J){var fe=J-V,Ae=((P-V)%fe+fe)%fe+V;return Ae===V?J:Ae}function p(P){for(var V=[],J=arguments.length-1;J-- >0;)V[J]=arguments[J+1];for(var fe=0,Ae=V;fe>V/4).toString(16):([1e7]+-[1e3]+-4e3+-8e3+-1e11).replace(/[018]/g,P)}()}function x(P){return!!P&&/^[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(P)}function T(P,V){P.forEach(function(J){V[J]&&(V[J]=V[J].bind(V))})}function E(P,V){return P.indexOf(V,P.length-V.length)!==-1}function _(P,V,J){var fe={};for(var Ae in P)fe[Ae]=V.call(J||this,P[Ae],Ae,P);return fe}function A(P,V,J){var fe={};for(var Ae in P)V.call(J||this,P[Ae],Ae,P)&&(fe[Ae]=P[Ae]);return fe}function L(P){return Array.isArray(P)?P.map(L):typeof P=="object"&&P?_(P,L):P}var b={};function R(P){b[P]||(typeof console<"u"&&console.warn(P),b[P]=!0)}function I(P,V,J){return(J.y-P.y)*(V.x-P.x)>(V.y-P.y)*(J.x-P.x)}function O(P){for(var V=0,J=0,fe=P.length,Ae=fe-1,Oe=void 0,Ge=void 0;J@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g,function(fe,Ae,Oe,Ge){var it=Oe||Ge;return V[Ae]=!it||it.toLowerCase(),""}),V["max-age"]){var J=parseInt(V["max-age"],10);isNaN(J)?delete V["max-age"]:V["max-age"]=J}return V}var B=null;function N(P){if(B==null){var V=P.navigator?P.navigator.userAgent:null;B=!!P.safari||!(!V||!(/\b(iPad|iPhone|iPod)\b/.test(V)||V.match("Safari")&&!V.match("Chrome")))}return B}function W(P){try{var V=self[P];return V.setItem("_mapbox_test_",1),V.removeItem("_mapbox_test_"),!0}catch{return!1}}var j,Y,U,G,q=self.performance&&self.performance.now?self.performance.now.bind(self.performance):Date.now.bind(Date),H=self.requestAnimationFrame||self.mozRequestAnimationFrame||self.webkitRequestAnimationFrame||self.msRequestAnimationFrame,ne=self.cancelAnimationFrame||self.mozCancelAnimationFrame||self.webkitCancelAnimationFrame||self.msCancelAnimationFrame,te={now:q,frame:function(P){var V=H(P);return{cancel:function(){return ne(V)}}},getImageData:function(P,V){V===void 0&&(V=0);var J=self.document.createElement("canvas"),fe=J.getContext("2d");if(!fe)throw new Error("failed to create canvas 2d context");return J.width=P.width,J.height=P.height,fe.drawImage(P,0,0,P.width,P.height),fe.getImageData(-V,-V,P.width+2*V,P.height+2*V)},resolveURL:function(P){return j||(j=self.document.createElement("a")),j.href=P,j.href},hardwareConcurrency:self.navigator.hardwareConcurrency||4,get devicePixelRatio(){return self.devicePixelRatio},get prefersReducedMotion(){return!!self.matchMedia&&(Y==null&&(Y=self.matchMedia("(prefers-reduced-motion: reduce)")),Y.matches)}},Z={API_URL:"https://api.mapbox.com",get EVENTS_URL(){return this.API_URL?this.API_URL.indexOf("https://api.mapbox.cn")===0?"https://events.mapbox.cn/events/v2":this.API_URL.indexOf("https://api.mapbox.com")===0?"https://events.mapbox.com/events/v2":null:null},FEEDBACK_URL:"https://apps.mapbox.com/feedback",REQUIRE_ACCESS_TOKEN:!0,ACCESS_TOKEN:null,MAX_PARALLEL_IMAGE_REQUESTS:16},X={supported:!1,testSupport:function(P){!Q&&G&&(re?ie(P):U=P)}},Q=!1,re=!1;function ie(P){var V=P.createTexture();P.bindTexture(P.TEXTURE_2D,V);try{if(P.texImage2D(P.TEXTURE_2D,0,P.RGBA,P.RGBA,P.UNSIGNED_BYTE,G),P.isContextLost())return;X.supported=!0}catch{}P.deleteTexture(V),Q=!0}self.document&&((G=self.document.createElement("img")).onload=function(){U&&ie(U),U=null,re=!0},G.onerror=function(){Q=!0,U=null},G.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA=");var oe="01",ue=function(P,V){this._transformRequestFn=P,this._customAccessToken=V,this._createSkuToken()};function ce(P){return P.indexOf("mapbox:")===0}ue.prototype._createSkuToken=function(){var P=function(){for(var V="",J=0;J<10;J++)V+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[Math.floor(62*Math.random())];return{token:["1",oe,V].join(""),tokenExpiresAt:Date.now()+432e5}}();this._skuToken=P.token,this._skuTokenExpiresAt=P.tokenExpiresAt},ue.prototype._isSkuTokenExpired=function(){return Date.now()>this._skuTokenExpiresAt},ue.prototype.transformRequest=function(P,V){return this._transformRequestFn&&this._transformRequestFn(P,V)||{url:P}},ue.prototype.normalizeStyleURL=function(P,V){if(!ce(P))return P;var J=pe(P);return J.path="/styles/v1"+J.path,this._makeAPIURL(J,this._customAccessToken||V)},ue.prototype.normalizeGlyphsURL=function(P,V){if(!ce(P))return P;var J=pe(P);return J.path="/fonts/v1"+J.path,this._makeAPIURL(J,this._customAccessToken||V)},ue.prototype.normalizeSourceURL=function(P,V){if(!ce(P))return P;var J=pe(P);return J.path="/v4/"+J.authority+".json",J.params.push("secure"),this._makeAPIURL(J,this._customAccessToken||V)},ue.prototype.normalizeSpriteURL=function(P,V,J,fe){var Ae=pe(P);return ce(P)?(Ae.path="/styles/v1"+Ae.path+"/sprite"+V+J,this._makeAPIURL(Ae,this._customAccessToken||fe)):(Ae.path+=""+V+J,xe(Ae))},ue.prototype.normalizeTileURL=function(P,V){if(this._isSkuTokenExpired()&&this._createSkuToken(),P&&!ce(P))return P;var J=pe(P),fe=te.devicePixelRatio>=2||V===512?"@2x":"",Ae=X.supported?".webp":"$1";J.path=J.path.replace(/(\.(png|jpg)\d*)(?=$)/,""+fe+Ae),J.path=J.path.replace(/^.+\/v4\//,"/"),J.path="/v4"+J.path;var Oe=this._customAccessToken||function(Ge){for(var it=0,pt=Ge;it=1&&self.localStorage.setItem(V,JSON.stringify(this.eventData))}catch{R("Unable to write to LocalStorage")}},Me.prototype.processRequests=function(P){},Me.prototype.postEvent=function(P,V,J,fe){var Ae=this;if(Z.EVENTS_URL){var Oe=pe(Z.EVENTS_URL);Oe.params.push("access_token="+(fe||Z.ACCESS_TOKEN||""));var Ge={event:this.type,created:new Date(P).toISOString(),sdkIdentifier:"mapbox-gl-js",sdkVersion:v,skuId:oe,userId:this.anonId},it=V?p(Ge,V):Ge,pt={url:xe(Oe),headers:{"Content-Type":"text/plain"},body:JSON.stringify([it])};this.pendingRequest=Ot(pt,function(Ct){Ae.pendingRequest=null,J(Ct),Ae.saveEventData(),Ae.processRequests(fe)})}},Me.prototype.queueRequest=function(P,V){this.queue.push(P),this.processRequests(V)};var Se,Ce,ae=function(P){function V(){P.call(this,"map.load"),this.success={},this.skuToken=""}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.postMapLoadEvent=function(J,fe,Ae,Oe){this.skuToken=Ae,(Z.EVENTS_URL&&Oe||Z.ACCESS_TOKEN&&Array.isArray(J)&&J.some(function(Ge){return ce(Ge)||de(Ge)}))&&this.queueRequest({id:fe,timestamp:Date.now()},Oe)},V.prototype.processRequests=function(J){var fe=this;if(!this.pendingRequest&&this.queue.length!==0){var Ae=this.queue.shift(),Oe=Ae.id,Ge=Ae.timestamp;Oe&&this.success[Oe]||(this.anonId||this.fetchEventData(),x(this.anonId)||(this.anonId=S()),this.postEvent(Ge,{skuToken:this.skuToken},function(it){it||Oe&&(fe.success[Oe]=!0)},J))}},V}(Me),he=function(P){function V(J){P.call(this,"appUserTurnstile"),this._customAccessToken=J}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.postTurnstileEvent=function(J,fe){Z.EVENTS_URL&&Z.ACCESS_TOKEN&&Array.isArray(J)&&J.some(function(Ae){return ce(Ae)||de(Ae)})&&this.queueRequest(Date.now(),fe)},V.prototype.processRequests=function(J){var fe=this;if(!this.pendingRequest&&this.queue.length!==0){this.anonId&&this.eventData.lastSuccess&&this.eventData.tokenU||this.fetchEventData();var Ae=_e(Z.ACCESS_TOKEN),Oe=Ae?Ae.u:Z.ACCESS_TOKEN,Ge=Oe!==this.eventData.tokenU;x(this.anonId)||(this.anonId=S(),Ge=!0);var it=this.queue.shift();if(this.eventData.lastSuccess){var pt=new Date(this.eventData.lastSuccess),Ct=new Date(it),Dt=(it-this.eventData.lastSuccess)/864e5;Ge=Ge||Dt>=1||Dt<-1||pt.getDate()!==Ct.getDate()}else Ge=!0;if(!Ge)return this.processRequests();this.postEvent(it,{"enabled.telemetry":!1},function(Gt){Gt||(fe.eventData.lastSuccess=it,fe.eventData.tokenU=Oe)},J)}},V}(Me),be=new he,ke=be.postTurnstileEvent.bind(be),Le=new ae,Be=Le.postMapLoadEvent.bind(Le),ze="mapbox-tiles",je=500,ge=50;function we(){self.caches&&!Se&&(Se=self.caches.open(ze))}function Ee(P,V,J){if(we(),Se){var fe={status:V.status,statusText:V.statusText,headers:new self.Headers};V.headers.forEach(function(Oe,Ge){return fe.headers.set(Ge,Oe)});var Ae=F(V.headers.get("Cache-Control")||"");Ae["no-store"]||(Ae["max-age"]&&fe.headers.set("Expires",new Date(J+1e3*Ae["max-age"]).toUTCString()),new Date(fe.headers.get("Expires")).getTime()-J<42e4||function(Oe,Ge){if(Ce===void 0)try{new Response(new ReadableStream),Ce=!0}catch{Ce=!1}Ce?Ge(Oe.body):Oe.blob().then(Ge)}(V,function(Oe){var Ge=new self.Response(Oe,fe);we(),Se&&Se.then(function(it){return it.put(Ve(P.url),Ge)}).catch(function(it){return R(it.message)})}))}}function Ve(P){var V=P.indexOf("?");return V<0?P:P.slice(0,V)}function Ye(P,V){if(we(),!Se)return V(null);var J=Ve(P.url);Se.then(function(fe){fe.match(J).then(function(Ae){var Oe=function(Ge){if(!Ge)return!1;var it=new Date(Ge.headers.get("Expires")||0),pt=F(Ge.headers.get("Cache-Control")||"");return it>Date.now()&&!pt["no-cache"]}(Ae);fe.delete(J),Oe&&fe.put(J,Ae.clone()),V(null,Ae,Oe)}).catch(V)}).catch(V)}var $e,st=1/0;function ot(){return $e==null&&($e=self.OffscreenCanvas&&new self.OffscreenCanvas(1,1).getContext("2d")&&typeof self.createImageBitmap=="function"),$e}var ft={Unknown:"Unknown",Style:"Style",Source:"Source",Tile:"Tile",Glyphs:"Glyphs",SpriteImage:"SpriteImage",SpriteJSON:"SpriteJSON",Image:"Image"};typeof Object.freeze=="function"&&Object.freeze(ft);var bt=function(P){function V(J,fe,Ae){fe===401&&de(Ae)&&(J+=": you may have provided an invalid Mapbox access token. See https://www.mapbox.com/api-documentation/#access-tokens-and-token-scopes"),P.call(this,J),this.status=fe,this.url=Ae,this.name=this.constructor.name,this.message=J}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.toString=function(){return this.name+": "+this.message+" ("+this.status+"): "+this.url},V}(Error),Et=z()?function(){return self.worker&&self.worker.referrer}:function(){return(self.location.protocol==="blob:"?self.parent:self).location.href};function kt(P,V){var J,fe=new self.AbortController,Ae=new self.Request(P.url,{method:P.method||"GET",body:P.body,credentials:P.credentials,headers:P.headers,referrer:Et(),signal:fe.signal}),Oe=!1,Ge=!1,it=(J=Ae.url).indexOf("sku=")>0&&de(J);P.type==="json"&&Ae.headers.set("Accept","application/json");var pt=function(Dt,Gt,Zt){if(!Ge){if(Dt&&Dt.message!=="SecurityError"&&R(Dt),Gt&&Zt)return Ct(Gt);var Yt=Date.now();self.fetch(Ae).then(function(hn){if(hn.ok){var Mn=it?hn.clone():null;return Ct(hn,Mn,Yt)}return V(new bt(hn.statusText,hn.status,P.url))}).catch(function(hn){hn.code!==20&&V(new Error(hn.message))})}},Ct=function(Dt,Gt,Zt){(P.type==="arrayBuffer"?Dt.arrayBuffer():P.type==="json"?Dt.json():Dt.text()).then(function(Yt){Ge||(Gt&&Zt&&Ee(Ae,Gt,Zt),Oe=!0,V(null,Yt,Dt.headers.get("Cache-Control"),Dt.headers.get("Expires")))}).catch(function(Yt){Ge||V(new Error(Yt.message))})};return it?Ye(Ae,pt):pt(null,null),{cancel:function(){Ge=!0,Oe||fe.abort()}}}var xt=function(P,V){if(J=P.url,!(/^file:/.test(J)||/^file:/.test(Et())&&!/^\w+:/.test(J))){if(self.fetch&&self.Request&&self.AbortController&&self.Request.prototype.hasOwnProperty("signal"))return kt(P,V);if(z()&&self.worker&&self.worker.actor)return self.worker.actor.send("getResource",P,V,void 0,!0)}var J;return function(fe,Ae){var Oe=new self.XMLHttpRequest;for(var Ge in Oe.open(fe.method||"GET",fe.url,!0),fe.type==="arrayBuffer"&&(Oe.responseType="arraybuffer"),fe.headers)Oe.setRequestHeader(Ge,fe.headers[Ge]);return fe.type==="json"&&(Oe.responseType="text",Oe.setRequestHeader("Accept","application/json")),Oe.withCredentials=fe.credentials==="include",Oe.onerror=function(){Ae(new Error(Oe.statusText))},Oe.onload=function(){if((Oe.status>=200&&Oe.status<300||Oe.status===0)&&Oe.response!==null){var it=Oe.response;if(fe.type==="json")try{it=JSON.parse(Oe.response)}catch(pt){return Ae(pt)}Ae(null,it,Oe.getResponseHeader("Cache-Control"),Oe.getResponseHeader("Expires"))}else Ae(new bt(Oe.statusText,Oe.status,fe.url))},Oe.send(fe.body),{cancel:function(){return Oe.abort()}}}(P,V)},Ft=function(P,V){return xt(p(P,{type:"arrayBuffer"}),V)},Ot=function(P,V){return xt(p(P,{method:"POST"}),V)},Bt,qt;Bt=[],qt=0;var Vt=function(P,V){if(X.supported&&(P.headers||(P.headers={}),P.headers.accept="image/webp,*/*"),qt>=Z.MAX_PARALLEL_IMAGE_REQUESTS){var J={requestParameters:P,callback:V,cancelled:!1,cancel:function(){this.cancelled=!0}};return Bt.push(J),J}qt++;var fe=!1,Ae=function(){if(!fe)for(fe=!0,qt--;Bt.length&&qt0||this._oneTimeListeners&&this._oneTimeListeners[P]&&this._oneTimeListeners[P].length>0||this._eventedParent&&this._eventedParent.listens(P)},ht.prototype.setEventedParent=function(P,V){return this._eventedParent=P,this._eventedParentData=V,this};var Re={$version:8,$root:{version:{required:!0,type:"enum",values:[8]},name:{type:"string"},metadata:{type:"*"},center:{type:"array",value:"number"},zoom:{type:"number"},bearing:{type:"number",default:0,period:360,units:"degrees"},pitch:{type:"number",default:0,units:"degrees"},light:{type:"light"},sources:{required:!0,type:"sources"},sprite:{type:"string"},glyphs:{type:"string"},transition:{type:"transition"},layers:{required:!0,type:"array",value:"layer"}},sources:{"*":{type:"source"}},source:["source_vector","source_raster","source_raster_dem","source_geojson","source_video","source_image"],source_vector:{type:{required:!0,type:"enum",values:{vector:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},attribution:{type:"string"},promoteId:{type:"promoteId"},"*":{type:"*"}},source_raster:{type:{required:!0,type:"enum",values:{raster:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},attribution:{type:"string"},"*":{type:"*"}},source_raster_dem:{type:{required:!0,type:"enum",values:{"raster-dem":{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},attribution:{type:"string"},encoding:{type:"enum",values:{terrarium:{},mapbox:{}},default:"mapbox"},"*":{type:"*"}},source_geojson:{type:{required:!0,type:"enum",values:{geojson:{}}},data:{type:"*"},maxzoom:{type:"number",default:18},attribution:{type:"string"},buffer:{type:"number",default:128,maximum:512,minimum:0},tolerance:{type:"number",default:.375},cluster:{type:"boolean",default:!1},clusterRadius:{type:"number",default:50,minimum:0},clusterMaxZoom:{type:"number"},clusterProperties:{type:"*"},lineMetrics:{type:"boolean",default:!1},generateId:{type:"boolean",default:!1},promoteId:{type:"promoteId"}},source_video:{type:{required:!0,type:"enum",values:{video:{}}},urls:{required:!0,type:"array",value:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},source_image:{type:{required:!0,type:"enum",values:{image:{}}},url:{required:!0,type:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},layer:{id:{type:"string",required:!0},type:{type:"enum",values:{fill:{},line:{},symbol:{},circle:{},heatmap:{},"fill-extrusion":{},raster:{},hillshade:{},background:{}},required:!0},metadata:{type:"*"},source:{type:"string"},"source-layer":{type:"string"},minzoom:{type:"number",minimum:0,maximum:24},maxzoom:{type:"number",minimum:0,maximum:24},filter:{type:"filter"},layout:{type:"layout"},paint:{type:"paint"}},layout:["layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_hillshade","layout_background"],layout_background:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_fill:{"fill-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_circle:{"circle-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_heatmap:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},"layout_fill-extrusion":{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_line:{"line-cap":{type:"enum",values:{butt:{},round:{},square:{}},default:"butt",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-join":{type:"enum",values:{bevel:{},round:{},miter:{}},default:"miter",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{type:"number",default:2,requires:[{"line-join":"miter"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-round-limit":{type:"number",default:1.05,requires:[{"line-join":"round"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_symbol:{"symbol-placement":{type:"enum",values:{point:{},line:{},"line-center":{}},default:"point",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-spacing":{type:"number",default:250,minimum:1,units:"pixels",requires:[{"symbol-placement":"line"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{type:"boolean",default:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"symbol-z-order":{type:"enum",values:{auto:{},"viewport-y":{},source:{}},default:"auto",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-optional":{type:"boolean",default:!1,requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-size":{type:"number",default:1,minimum:0,units:"factor of the original icon size",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit":{type:"enum",values:{none:{},width:{},height:{},both:{}},default:"none",requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-text-fit-padding":{type:"array",value:"number",length:4,default:[0,0,0,0],units:"pixels",requires:["icon-image","text-field",{"icon-text-fit":["both","width","height"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-image":{type:"resolvedImage",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-keep-upright":{type:"boolean",default:!1,requires:["icon-image",{"icon-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-offset":{type:"array",value:"number",length:2,default:[0,0],requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-field":{type:"formatted",default:"",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-font":{type:"array",value:"string",default:["Open Sans Regular","Arial Unicode MS Regular"],requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-size":{type:"number",default:16,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-width":{type:"number",default:10,minimum:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{type:"number",default:1.2,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-letter-spacing":{type:"number",default:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-justify":{type:"enum",values:{auto:{},left:{},center:{},right:{}},default:"center",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-radial-offset":{type:"number",units:"ems",default:0,requires:["text-field"],"property-type":"data-driven",expression:{interpolated:!0,parameters:["zoom","feature"]}},"text-variable-anchor":{type:"array",value:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["text-field",{"!":"text-variable-anchor"}],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{type:"number",default:45,units:"degrees",requires:["text-field",{"symbol-placement":["line","line-center"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-writing-mode":{type:"array",value:"enum",values:{horizontal:{},vertical:{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-keep-upright":{type:"boolean",default:!0,requires:["text-field",{"text-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-transform":{type:"enum",values:{none:{},uppercase:{},lowercase:{}},default:"none",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-offset":{type:"array",value:"number",units:"ems",length:2,default:[0,0],requires:["text-field",{"!":"text-radial-offset"}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-optional":{type:"boolean",default:!1,requires:["text-field","icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_raster:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_hillshade:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},filter:{type:"array",value:"*"},filter_operator:{type:"enum",values:{"==":{},"!=":{},">":{},">=":{},"<":{},"<=":{},in:{},"!in":{},all:{},any:{},none:{},has:{},"!has":{},within:{}}},geometry_type:{type:"enum",values:{Point:{},LineString:{},Polygon:{}}},function:{expression:{type:"expression"},stops:{type:"array",value:"function_stop"},base:{type:"number",default:1,minimum:0},property:{type:"string",default:"$zoom"},type:{type:"enum",values:{identity:{},exponential:{},interval:{},categorical:{}},default:"exponential"},colorSpace:{type:"enum",values:{rgb:{},lab:{},hcl:{}},default:"rgb"},default:{type:"*",required:!1}},function_stop:{type:"array",minimum:0,maximum:24,value:["number","color"],length:2},expression:{type:"array",value:"*",minimum:1},expression_name:{type:"enum",values:{let:{group:"Variable binding"},var:{group:"Variable binding"},literal:{group:"Types"},array:{group:"Types"},at:{group:"Lookup"},in:{group:"Lookup"},"index-of":{group:"Lookup"},slice:{group:"Lookup"},case:{group:"Decision"},match:{group:"Decision"},coalesce:{group:"Decision"},step:{group:"Ramps, scales, curves"},interpolate:{group:"Ramps, scales, curves"},"interpolate-hcl":{group:"Ramps, scales, curves"},"interpolate-lab":{group:"Ramps, scales, curves"},ln2:{group:"Math"},pi:{group:"Math"},e:{group:"Math"},typeof:{group:"Types"},string:{group:"Types"},number:{group:"Types"},boolean:{group:"Types"},object:{group:"Types"},collator:{group:"Types"},format:{group:"Types"},image:{group:"Types"},"number-format":{group:"Types"},"to-string":{group:"Types"},"to-number":{group:"Types"},"to-boolean":{group:"Types"},"to-rgba":{group:"Color"},"to-color":{group:"Types"},rgb:{group:"Color"},rgba:{group:"Color"},get:{group:"Lookup"},has:{group:"Lookup"},length:{group:"Lookup"},properties:{group:"Feature data"},"feature-state":{group:"Feature data"},"geometry-type":{group:"Feature data"},id:{group:"Feature data"},zoom:{group:"Zoom"},"heatmap-density":{group:"Heatmap"},"line-progress":{group:"Feature data"},accumulated:{group:"Feature data"},"+":{group:"Math"},"*":{group:"Math"},"-":{group:"Math"},"/":{group:"Math"},"%":{group:"Math"},"^":{group:"Math"},sqrt:{group:"Math"},log10:{group:"Math"},ln:{group:"Math"},log2:{group:"Math"},sin:{group:"Math"},cos:{group:"Math"},tan:{group:"Math"},asin:{group:"Math"},acos:{group:"Math"},atan:{group:"Math"},min:{group:"Math"},max:{group:"Math"},round:{group:"Math"},abs:{group:"Math"},ceil:{group:"Math"},floor:{group:"Math"},distance:{group:"Math"},"==":{group:"Decision"},"!=":{group:"Decision"},">":{group:"Decision"},"<":{group:"Decision"},">=":{group:"Decision"},"<=":{group:"Decision"},all:{group:"Decision"},any:{group:"Decision"},"!":{group:"Decision"},within:{group:"Decision"},"is-supported-script":{group:"String"},upcase:{group:"String"},downcase:{group:"String"},concat:{group:"String"},"resolved-locale":{group:"String"}}},light:{anchor:{type:"enum",default:"viewport",values:{map:{},viewport:{}},"property-type":"data-constant",transition:!1,expression:{interpolated:!1,parameters:["zoom"]}},position:{type:"array",default:[1.15,210,30],length:3,value:"number","property-type":"data-constant",transition:!0,expression:{interpolated:!0,parameters:["zoom"]}},color:{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},intensity:{type:"number","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0}},paint:["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_background"],paint_fill:{"fill-antialias":{type:"boolean",default:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-outline-color":{type:"color",transition:!0,requires:[{"!":"fill-pattern"},{"fill-antialias":!0}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"}},"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-extrusion-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",transition:!0,requires:["fill-extrusion-height"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,transition:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_line:{"line-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"line-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["line-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-width":{type:"number",default:1,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-gap-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-offset":{type:"number",default:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-dasharray":{type:"array",value:"number",minimum:0,transition:!0,units:"line widths",requires:[{"!":"line-pattern"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"line-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"line-gradient":{type:"color",transition:!1,requires:[{"!":"line-dasharray"},{"!":"line-pattern"},{source:"geojson",has:{lineMetrics:!0}}],expression:{interpolated:!0,parameters:["line-progress"]},"property-type":"color-ramp"}},paint_circle:{"circle-radius":{type:"number",default:5,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-blur":{type:"number",default:0,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["circle-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{type:"enum",values:{map:{},viewport:{}},default:"map",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"}},paint_heatmap:{"heatmap-radius":{type:"number",default:30,minimum:1,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-weight":{type:"number",default:1,minimum:0,transition:!1,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-intensity":{type:"number",default:1,minimum:0,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"heatmap-color":{type:"color",default:["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",.1,"royalblue",.3,"cyan",.5,"lime",.7,"yellow",1,"red"],transition:!1,expression:{interpolated:!0,parameters:["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_symbol:{"icon-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-color":{type:"color",default:"#000000",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["icon-image","icon-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-color":{type:"color",default:"#000000",transition:!0,overridable:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["text-field","text-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_raster:{"raster-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-hue-rotate":{type:"number",default:0,period:360,transition:!0,units:"degrees",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{type:"number",default:0,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-saturation":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-contrast":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-resampling":{type:"enum",values:{linear:{},nearest:{}},default:"linear",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"raster-fade-duration":{type:"number",default:300,minimum:0,transition:!1,units:"milliseconds",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_hillshade:{"hillshade-illumination-direction":{type:"number",default:335,minimum:0,maximum:359,transition:!1,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-illumination-anchor":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-exaggeration":{type:"number",default:.5,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-highlight-color":{type:"color",default:"#FFFFFF",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-accent-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_background:{"background-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"background-pattern"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"background-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"background-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},transition:{duration:{type:"number",default:300,minimum:0,units:"milliseconds"},delay:{type:"number",default:0,minimum:0,units:"milliseconds"}},"property-type":{"data-driven":{type:"property-type"},"cross-faded":{type:"property-type"},"cross-faded-data-driven":{type:"property-type"},"color-ramp":{type:"property-type"},"data-constant":{type:"property-type"},constant:{type:"property-type"}},promoteId:{"*":{type:"string"}}},Ne=function(P,V,J,fe){this.message=(P?P+": ":"")+J,fe&&(this.identifier=fe),V!=null&&V.__line__&&(this.line=V.__line__)};function Qe(P){var V=P.key,J=P.value;return J?[new Ne(V,J,"constants have been deprecated as of v8")]:[]}function ut(P){for(var V=[],J=arguments.length-1;J-- >0;)V[J]=arguments[J+1];for(var fe=0,Ae=V;fe":P.itemType.kind==="value"?"array":"array<"+V+">"}return P.kind}var An=[yt,Pt,wt,Rt,Nt,Qt,$t,xn(Wt),rn];function $n(P,V){if(V.kind==="error")return null;if(P.kind==="array"){if(V.kind==="array"&&(V.N===0&&V.itemType.kind==="value"||!$n(P.itemType,V.itemType))&&(typeof P.N!="number"||P.N===V.N))return null}else{if(P.kind===V.kind)return null;if(P.kind==="value"){for(var J=0,fe=An;J255?255:pt}function Ae(pt){return pt<0?0:pt>1?1:pt}function Oe(pt){return pt[pt.length-1]==="%"?fe(parseFloat(pt)/100*255):fe(parseInt(pt))}function Ge(pt){return pt[pt.length-1]==="%"?Ae(parseFloat(pt)/100):Ae(parseFloat(pt))}function it(pt,Ct,Dt){return Dt<0?Dt+=1:Dt>1&&(Dt-=1),6*Dt<1?pt+(Ct-pt)*Dt*6:2*Dt<1?Ct:3*Dt<2?pt+(Ct-pt)*(2/3-Dt)*6:pt}try{V.parseCSSColor=function(pt){var Ct,Dt=pt.replace(/ /g,"").toLowerCase();if(Dt in J)return J[Dt].slice();if(Dt[0]==="#")return Dt.length===4?(Ct=parseInt(Dt.substr(1),16))>=0&&Ct<=4095?[(3840&Ct)>>4|(3840&Ct)>>8,240&Ct|(240&Ct)>>4,15&Ct|(15&Ct)<<4,1]:null:Dt.length===7&&(Ct=parseInt(Dt.substr(1),16))>=0&&Ct<=16777215?[(16711680&Ct)>>16,(65280&Ct)>>8,255&Ct,1]:null;var Gt=Dt.indexOf("("),Zt=Dt.indexOf(")");if(Gt!==-1&&Zt+1===Dt.length){var Yt=Dt.substr(0,Gt),hn=Dt.substr(Gt+1,Zt-(Gt+1)).split(","),Mn=1;switch(Yt){case"rgba":if(hn.length!==4)return null;Mn=Ge(hn.pop());case"rgb":return hn.length!==3?null:[Oe(hn[0]),Oe(hn[1]),Oe(hn[2]),Mn];case"hsla":if(hn.length!==4)return null;Mn=Ge(hn.pop());case"hsl":if(hn.length!==3)return null;var Nn=(parseFloat(hn[0])%360+360)%360/360,Bn=Ge(hn[1]),Wn=Ge(hn[2]),Zn=Wn<=.5?Wn*(Bn+1):Wn+Bn-Wn*Bn,er=2*Wn-Zn;return[fe(255*it(er,Zn,Nn+1/3)),fe(255*it(er,Zn,Nn)),fe(255*it(er,Zn,Nn-1/3)),Mn];default:return null}}return null}}catch{}}),dn=Tn.parseCSSColor,pn=function(P,V,J,fe){fe===void 0&&(fe=1),this.r=P,this.g=V,this.b=J,this.a=fe};pn.parse=function(P){if(P){if(P instanceof pn)return P;if(typeof P=="string"){var V=dn(P);if(V)return new pn(V[0]/255*V[3],V[1]/255*V[3],V[2]/255*V[3],V[3])}}},pn.prototype.toString=function(){var P=this.toArray(),V=P[0],J=P[1],fe=P[2],Ae=P[3];return"rgba("+Math.round(V)+","+Math.round(J)+","+Math.round(fe)+","+Ae+")"},pn.prototype.toArray=function(){var P=this,V=P.r,J=P.g,fe=P.b,Ae=P.a;return Ae===0?[0,0,0,0]:[255*V/Ae,255*J/Ae,255*fe/Ae,Ae]},pn.black=new pn(0,0,0,1),pn.white=new pn(1,1,1,1),pn.transparent=new pn(0,0,0,0),pn.red=new pn(1,0,0,1);var Dn=function(P,V,J){this.sensitivity=P?V?"variant":"case":V?"accent":"base",this.locale=J,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"})};Dn.prototype.compare=function(P,V){return this.collator.compare(P,V)},Dn.prototype.resolvedLocale=function(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale};var In=function(P,V,J,fe,Ae){this.text=P,this.image=V,this.scale=J,this.fontStack=fe,this.textColor=Ae},jn=function(P){this.sections=P};jn.fromString=function(P){return new jn([new In(P,null,null,null,null)])},jn.prototype.isEmpty=function(){return this.sections.length===0||!this.sections.some(function(P){return P.text.length!==0||P.image&&P.image.name.length!==0})},jn.factory=function(P){return P instanceof jn?P:jn.fromString(P)},jn.prototype.toString=function(){return this.sections.length===0?"":this.sections.map(function(P){return P.text}).join("")},jn.prototype.serialize=function(){for(var P=["format"],V=0,J=this.sections;V=0&&P<=255&&typeof V=="number"&&V>=0&&V<=255&&typeof J=="number"&&J>=0&&J<=255?fe===void 0||typeof fe=="number"&&fe>=0&&fe<=1?null:"Invalid rgba value ["+[P,V,J,fe].join(", ")+"]: 'a' must be between 0 and 1.":"Invalid rgba value ["+(typeof fe=="number"?[P,V,J,fe]:[P,V,J]).join(", ")+"]: 'r', 'g', and 'b' must be between 0 and 255."}function lr(P){if(P===null||typeof P=="string"||typeof P=="boolean"||typeof P=="number"||P instanceof pn||P instanceof Dn||P instanceof jn||P instanceof Gn)return!0;if(Array.isArray(P)){for(var V=0,J=P;V2){var it=P[1];if(typeof it!="string"||!(it in vr)||it==="object")return V.error('The item type argument of "array" must be one of string, number, boolean',1);Oe=vr[it],fe++}else Oe=Wt;if(P.length>3){if(P[2]!==null&&(typeof P[2]!="number"||P[2]<0||P[2]!==Math.floor(P[2])))return V.error('The length argument to "array" must be a positive integer literal',2);Ge=P[2],fe++}J=xn(Oe,Ge)}else J=vr[Ae];for(var pt=[];fe1)&&V.push(fe)}}return V.concat(this.args.map(function(Ae){return Ae.serialize()}))};var Kt=function(P){this.type=Qt,this.sections=P};Kt.parse=function(P,V){if(P.length<2)return V.error("Expected at least one argument.");var J=P[1];if(!Array.isArray(J)&&typeof J=="object")return V.error("First argument must be an image or text section.");for(var fe=[],Ae=!1,Oe=1;Oe<=P.length-1;++Oe){var Ge=P[Oe];if(Ae&&typeof Ge=="object"&&!Array.isArray(Ge)){Ae=!1;var it=null;if(Ge["font-scale"]&&!(it=V.parse(Ge["font-scale"],1,Pt)))return null;var pt=null;if(Ge["text-font"]&&!(pt=V.parse(Ge["text-font"],1,xn(wt))))return null;var Ct=null;if(Ge["text-color"]&&!(Ct=V.parse(Ge["text-color"],1,Nt)))return null;var Dt=fe[fe.length-1];Dt.scale=it,Dt.font=pt,Dt.textColor=Ct}else{var Gt=V.parse(P[Oe],1,Wt);if(!Gt)return null;var Zt=Gt.type.kind;if(Zt!=="string"&&Zt!=="value"&&Zt!=="null"&&Zt!=="resolvedImage")return V.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");Ae=!0,fe.push({content:Gt,scale:null,font:null,textColor:null})}}return new Kt(fe)},Kt.prototype.evaluate=function(P){return new jn(this.sections.map(function(V){var J=V.content.evaluate(P);return rr(J)===rn?new In("",J,null,null,null):new In(Sr(J),null,V.scale?V.scale.evaluate(P):null,V.font?V.font.evaluate(P).join(","):null,V.textColor?V.textColor.evaluate(P):null)}))},Kt.prototype.eachChild=function(P){for(var V=0,J=this.sections;V-1),J},bn.prototype.eachChild=function(P){P(this.input)},bn.prototype.outputDefined=function(){return!1},bn.prototype.serialize=function(){return["image",this.input.serialize()]};var Rn={"to-boolean":Rt,"to-color":Nt,"to-number":Pt,"to-string":wt},Ln=function(P,V){this.type=P,this.args=V};Ln.parse=function(P,V){if(P.length<2)return V.error("Expected at least one argument.");var J=P[0];if((J==="to-boolean"||J==="to-string")&&P.length!==2)return V.error("Expected one argument.");for(var fe=Rn[J],Ae=[],Oe=1;Oe4?"Invalid rbga value "+JSON.stringify(V)+": expected an array containing either three or four numeric values.":qn(V[0],V[1],V[2],V[3])))return new pn(V[0]/255,V[1]/255,V[2]/255,V[3])}throw new or(J||"Could not parse color from value '"+(typeof V=="string"?V:String(JSON.stringify(V)))+"'")}if(this.type.kind==="number"){for(var Ge=null,it=0,pt=this.args;it=V[2]||P[1]<=V[1]||P[3]>=V[3])}function jt(P,V){var J,fe=(180+P[0])/360,Ae=(J=P[1],(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+J*Math.PI/360)))/360),Oe=Math.pow(2,V.z);return[Math.round(fe*Oe*mr),Math.round(Ae*Oe*mr)]}function Jt(P,V,J){return V[1]>P[1]!=J[1]>P[1]&&P[0]<(J[0]-V[0])*(P[1]-V[1])/(J[1]-V[1])+V[0]}function fn(P,V){for(var J=!1,fe=0,Ae=V.length;fe0&&Gt<0||Dt<0&&Gt>0}function En(P,V,J){for(var fe=0,Ae=J;feJ[2]){var Ae=.5*fe,Oe=P[0]-J[0]>Ae?-fe:J[0]-P[0]>Ae?fe:0;Oe===0&&(Oe=P[0]-J[2]>Ae?-fe:J[2]-P[0]>Ae?fe:0),P[0]+=Oe}nn(V,P)}function Vn(P,V,J,fe){for(var Ae=Math.pow(2,fe.z)*mr,Oe=[fe.x*mr,fe.y*mr],Ge=[],it=0,pt=P;it=0)return!1;var J=!0;return P.eachChild(function(fe){J&&!cr(fe,V)&&(J=!1)}),J}nr.parse=function(P,V){if(P.length!==2)return V.error("'within' expression requires exactly one argument, but found "+(P.length-1)+" instead.");if(lr(P[1])){var J=P[1];if(J.type==="FeatureCollection")for(var fe=0;feV))throw new or("Input is not a number.");Ge=it-1}return 0}dr.prototype.parse=function(P,V,J,fe,Ae){return Ae===void 0&&(Ae={}),V?this.concat(V,J,fe)._parse(P,Ae):this._parse(P,Ae)},dr.prototype._parse=function(P,V){function J(Ct,Dt,Gt){return Gt==="assert"?new _r(Dt,[Ct]):Gt==="coerce"?new Ln(Dt,[Ct]):Ct}if(P!==null&&typeof P!="string"&&typeof P!="boolean"&&typeof P!="number"||(P=["literal",P]),Array.isArray(P)){if(P.length===0)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');var fe=P[0];if(typeof fe!="string")return this.error("Expression name must be a string, but found "+typeof fe+' instead. If you wanted a literal array, use ["literal", [...]].',0),null;var Ae=this.registry[fe];if(Ae){var Oe=Ae.parse(P,this);if(!Oe)return null;if(this.expectedType){var Ge=this.expectedType,it=Oe.type;if(Ge.kind!=="string"&&Ge.kind!=="number"&&Ge.kind!=="boolean"&&Ge.kind!=="object"&&Ge.kind!=="array"||it.kind!=="value")if(Ge.kind!=="color"&&Ge.kind!=="formatted"&&Ge.kind!=="resolvedImage"||it.kind!=="value"&&it.kind!=="string"){if(this.checkSubtype(Ge,it))return null}else Oe=J(Oe,Ge,V.typeAnnotation||"coerce");else Oe=J(Oe,Ge,V.typeAnnotation||"assert")}if(!(Oe instanceof yr)&&Oe.type.kind!=="resolvedImage"&&br(Oe)){var pt=new Kn;try{Oe=new yr(Oe.type,Oe.evaluate(pt))}catch(Ct){return this.error(Ct.message),null}}return Oe}return this.error('Unknown expression "'+fe+'". If you wanted a literal array, use ["literal", [...]].',0)}return P===void 0?this.error("'undefined' value invalid. Use null instead."):typeof P=="object"?this.error('Bare objects invalid. Use ["literal", {...}] instead.'):this.error("Expected an array, but found "+typeof P+" instead.")},dr.prototype.concat=function(P,V,J){var fe=typeof P=="number"?this.path.concat(P):this.path,Ae=J?this.scope.concat(J):this.scope;return new dr(this.registry,fe,V||null,Ae,this.errors)},dr.prototype.error=function(P){for(var V=[],J=arguments.length-1;J-- >0;)V[J]=arguments[J+1];var fe=""+this.key+V.map(function(Ae){return"["+Ae+"]"}).join("");this.errors.push(new It(fe,P))},dr.prototype.checkSubtype=function(P,V){var J=$n(P,V);return J&&this.error(J),J};var Lr=function(P,V,J){this.type=P,this.input=V,this.labels=[],this.outputs=[];for(var fe=0,Ae=J;fe=Ge)return V.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',pt);var Dt=V.parse(it,Ct,Ae);if(!Dt)return null;Ae=Ae||Dt.type,fe.push([Ge,Dt])}return new Lr(Ae,J,fe)},Lr.prototype.evaluate=function(P){var V=this.labels,J=this.outputs;if(V.length===1)return J[0].evaluate(P);var fe=this.input.evaluate(P);if(fe<=V[0])return J[0].evaluate(P);var Ae=V.length;return fe>=V[Ae-1]?J[Ae-1].evaluate(P):J[Rr(V,fe)].evaluate(P)},Lr.prototype.eachChild=function(P){P(this.input);for(var V=0,J=this.outputs;V0&&P.push(this.labels[V]),P.push(this.outputs[V].serialize());return P};var gr=Object.freeze({__proto__:null,number:zr,color:function(P,V,J){return new pn(zr(P.r,V.r,J),zr(P.g,V.g,J),zr(P.b,V.b,J),zr(P.a,V.a,J))},array:function(P,V,J){return P.map(function(fe,Ae){return zr(fe,V[Ae],J)})}}),Fr=.95047,ii=1.08883,ji=4/29,ta=6/29,sa=3*ta*ta,uo=Math.PI/180,La=180/Math.PI;function Xi(P){return P>.008856451679035631?Math.pow(P,.3333333333333333):P/sa+ji}function Do(P){return P>ta?P*P*P:sa*(P-ji)}function as(P){return 255*(P<=.0031308?12.92*P:1.055*Math.pow(P,.4166666666666667)-.055)}function tl(P){return(P/=255)<=.04045?P/12.92:Math.pow((P+.055)/1.055,2.4)}function Eu(P){var V=tl(P.r),J=tl(P.g),fe=tl(P.b),Ae=Xi((.4124564*V+.3575761*J+.1804375*fe)/Fr),Oe=Xi((.2126729*V+.7151522*J+.072175*fe)/1);return{l:116*Oe-16,a:500*(Ae-Oe),b:200*(Oe-Xi((.0193339*V+.119192*J+.9503041*fe)/ii)),alpha:P.a}}function gh(P){var V=(P.l+16)/116,J=isNaN(P.a)?V:V+P.a/500,fe=isNaN(P.b)?V:V-P.b/200;return V=1*Do(V),J=Fr*Do(J),fe=ii*Do(fe),new pn(as(3.2404542*J-1.5371385*V-.4985314*fe),as(-.969266*J+1.8760108*V+.041556*fe),as(.0556434*J-.2040259*V+1.0572252*fe),P.alpha)}function Af(P,V,J){var fe=V-P;return P+J*(fe>180||fe<-180?fe-360*Math.round(fe/360):fe)}var Lu={forward:Eu,reverse:gh,interpolate:function(P,V,J){return{l:zr(P.l,V.l,J),a:zr(P.a,V.a,J),b:zr(P.b,V.b,J),alpha:zr(P.alpha,V.alpha,J)}}},os={forward:function(P){var V=Eu(P),J=V.l,fe=V.a,Ae=V.b,Oe=Math.atan2(Ae,fe)*La;return{h:Oe<0?Oe+360:Oe,c:Math.sqrt(fe*fe+Ae*Ae),l:J,alpha:P.a}},reverse:function(P){var V=P.h*uo,J=P.c;return gh({l:P.l,a:Math.cos(V)*J,b:Math.sin(V)*J,alpha:P.alpha})},interpolate:function(P,V,J){return{h:Af(P.h,V.h,J),c:zr(P.c,V.c,J),l:zr(P.l,V.l,J),alpha:zr(P.alpha,V.alpha,J)}}},Sf=Object.freeze({__proto__:null,lab:Lu,hcl:os}),$a=function(P,V,J,fe,Ae){this.type=P,this.operator=V,this.interpolation=J,this.input=fe,this.labels=[],this.outputs=[];for(var Oe=0,Ge=Ae;Oe1}))return V.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);fe={name:"cubic-bezier",controlPoints:it}}if(P.length-1<4)return V.error("Expected at least 4 arguments, but found only "+(P.length-1)+".");if((P.length-1)%2!=0)return V.error("Expected an even number of arguments.");if(!(Ae=V.parse(Ae,2,Pt)))return null;var pt=[],Ct=null;J==="interpolate-hcl"||J==="interpolate-lab"?Ct=Nt:V.expectedType&&V.expectedType.kind!=="value"&&(Ct=V.expectedType);for(var Dt=0;Dt=Gt)return V.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',Yt);var Mn=V.parse(Zt,hn,Ct);if(!Mn)return null;Ct=Ct||Mn.type,pt.push([Gt,Mn])}return Ct.kind==="number"||Ct.kind==="color"||Ct.kind==="array"&&Ct.itemType.kind==="number"&&typeof Ct.N=="number"?new $a(Ct,J,fe,Ae,pt):V.error("Type "+un(Ct)+" is not interpolatable.")},$a.prototype.evaluate=function(P){var V=this.labels,J=this.outputs;if(V.length===1)return J[0].evaluate(P);var fe=this.input.evaluate(P);if(fe<=V[0])return J[0].evaluate(P);var Ae=V.length;if(fe>=V[Ae-1])return J[Ae-1].evaluate(P);var Oe=Rr(V,fe),Ge=V[Oe],it=V[Oe+1],pt=$a.interpolationFactor(this.interpolation,fe,Ge,it),Ct=J[Oe].evaluate(P),Dt=J[Oe+1].evaluate(P);return this.operator==="interpolate"?gr[this.type.kind.toLowerCase()](Ct,Dt,pt):this.operator==="interpolate-hcl"?os.reverse(os.interpolate(os.forward(Ct),os.forward(Dt),pt)):Lu.reverse(Lu.interpolate(Lu.forward(Ct),Lu.forward(Dt),pt))},$a.prototype.eachChild=function(P){P(this.input);for(var V=0,J=this.outputs;V=J.length)throw new or("Array index out of bounds: "+V+" > "+(J.length-1)+".");if(V!==Math.floor(V))throw new or("Array index must be an integer, but found "+V+" instead.");return J[V]},Al.prototype.eachChild=function(P){P(this.index),P(this.input)},Al.prototype.outputDefined=function(){return!1},Al.prototype.serialize=function(){return["at",this.index.serialize(),this.input.serialize()]};var Ui=function(P,V){this.type=Rt,this.needle=P,this.haystack=V};Ui.parse=function(P,V){if(P.length!==3)return V.error("Expected 2 arguments, but found "+(P.length-1)+" instead.");var J=V.parse(P[1],1,Wt),fe=V.parse(P[2],2,Wt);return J&&fe?kn(J.type,[Rt,wt,Pt,yt,Wt])?new Ui(J,fe):V.error("Expected first argument to be of type boolean, string, number or null, but found "+un(J.type)+" instead"):null},Ui.prototype.evaluate=function(P){var V=this.needle.evaluate(P),J=this.haystack.evaluate(P);if(!J)return!1;if(!sn(V,["boolean","string","number","null"]))throw new or("Expected first argument to be of type boolean, string, number or null, but found "+un(rr(V))+" instead.");if(!sn(J,["string","array"]))throw new or("Expected second argument to be of type array or string, but found "+un(rr(J))+" instead.");return J.indexOf(V)>=0},Ui.prototype.eachChild=function(P){P(this.needle),P(this.haystack)},Ui.prototype.outputDefined=function(){return!0},Ui.prototype.serialize=function(){return["in",this.needle.serialize(),this.haystack.serialize()]};var Sl=function(P,V,J){this.type=Pt,this.needle=P,this.haystack=V,this.fromIndex=J};Sl.parse=function(P,V){if(P.length<=2||P.length>=5)return V.error("Expected 3 or 4 arguments, but found "+(P.length-1)+" instead.");var J=V.parse(P[1],1,Wt),fe=V.parse(P[2],2,Wt);if(!J||!fe)return null;if(!kn(J.type,[Rt,wt,Pt,yt,Wt]))return V.error("Expected first argument to be of type boolean, string, number or null, but found "+un(J.type)+" instead");if(P.length===4){var Ae=V.parse(P[3],3,Pt);return Ae?new Sl(J,fe,Ae):null}return new Sl(J,fe)},Sl.prototype.evaluate=function(P){var V=this.needle.evaluate(P),J=this.haystack.evaluate(P);if(!sn(V,["boolean","string","number","null"]))throw new or("Expected first argument to be of type boolean, string, number or null, but found "+un(rr(V))+" instead.");if(!sn(J,["string","array"]))throw new or("Expected second argument to be of type array or string, but found "+un(rr(J))+" instead.");if(this.fromIndex){var fe=this.fromIndex.evaluate(P);return J.indexOf(V,fe)}return J.indexOf(V)},Sl.prototype.eachChild=function(P){P(this.needle),P(this.haystack),this.fromIndex&&P(this.fromIndex)},Sl.prototype.outputDefined=function(){return!1},Sl.prototype.serialize=function(){if(this.fromIndex!=null&&this.fromIndex!==void 0){var P=this.fromIndex.serialize();return["index-of",this.needle.serialize(),this.haystack.serialize(),P]}return["index-of",this.needle.serialize(),this.haystack.serialize()]};var ms=function(P,V,J,fe,Ae,Oe){this.inputType=P,this.type=V,this.input=J,this.cases=fe,this.outputs=Ae,this.otherwise=Oe};ms.parse=function(P,V){if(P.length<5)return V.error("Expected at least 4 arguments, but found only "+(P.length-1)+".");if(P.length%2!=1)return V.error("Expected an even number of arguments.");var J,fe;V.expectedType&&V.expectedType.kind!=="value"&&(fe=V.expectedType);for(var Ae={},Oe=[],Ge=2;GeNumber.MAX_SAFE_INTEGER)return Ct.error("Branch labels must be integers no larger than "+Number.MAX_SAFE_INTEGER+".");if(typeof Zt=="number"&&Math.floor(Zt)!==Zt)return Ct.error("Numeric branch labels must be integer values.");if(J){if(Ct.checkSubtype(J,rr(Zt)))return null}else J=rr(Zt);if(Ae[String(Zt)]!==void 0)return Ct.error("Branch labels must be unique.");Ae[String(Zt)]=Oe.length}var Yt=V.parse(pt,Ge,fe);if(!Yt)return null;fe=fe||Yt.type,Oe.push(Yt)}var hn=V.parse(P[1],1,Wt);if(!hn)return null;var Mn=V.parse(P[P.length-1],P.length-1,fe);return Mn?hn.type.kind!=="value"&&V.concat(1).checkSubtype(J,hn.type)?null:new ms(J,fe,hn,Ae,Oe,Mn):null},ms.prototype.evaluate=function(P){var V=this.input.evaluate(P);return(rr(V)===this.inputType&&this.outputs[this.cases[V]]||this.otherwise).evaluate(P)},ms.prototype.eachChild=function(P){P(this.input),this.outputs.forEach(P),P(this.otherwise)},ms.prototype.outputDefined=function(){return this.outputs.every(function(P){return P.outputDefined()})&&this.otherwise.outputDefined()},ms.prototype.serialize=function(){for(var P=this,V=["match",this.input.serialize()],J=[],fe={},Ae=0,Oe=Object.keys(this.cases).sort();Ae=5)return V.error("Expected 3 or 4 arguments, but found "+(P.length-1)+" instead.");var J=V.parse(P[1],1,Wt),fe=V.parse(P[2],2,Pt);if(!J||!fe)return null;if(!kn(J.type,[xn(Wt),wt,Wt]))return V.error("Expected first argument to be of type array or string, but found "+un(J.type)+" instead");if(P.length===4){var Ae=V.parse(P[3],3,Pt);return Ae?new js(J.type,J,fe,Ae):null}return new js(J.type,J,fe)},js.prototype.evaluate=function(P){var V=this.input.evaluate(P),J=this.beginIndex.evaluate(P);if(!sn(V,["string","array"]))throw new or("Expected first argument to be of type array or string, but found "+un(rr(V))+" instead.");if(this.endIndex){var fe=this.endIndex.evaluate(P);return V.slice(J,fe)}return V.slice(J)},js.prototype.eachChild=function(P){P(this.input),P(this.beginIndex),this.endIndex&&P(this.endIndex)},js.prototype.outputDefined=function(){return!1},js.prototype.serialize=function(){if(this.endIndex!=null&&this.endIndex!==void 0){var P=this.endIndex.serialize();return["slice",this.input.serialize(),this.beginIndex.serialize(),P]}return["slice",this.input.serialize(),this.beginIndex.serialize()]};var yh=nl("==",function(P,V,J){return V===J},vh),bh=nl("!=",function(P,V,J){return V!==J},function(P,V,J,fe){return!vh(0,V,J,fe)}),id=nl("<",function(P,V,J){return V",function(P,V,J){return V>J},function(P,V,J,fe){return fe.compare(V,J)>0}),xh=nl("<=",function(P,V,J){return V<=J},function(P,V,J,fe){return fe.compare(V,J)<=0}),Ef=nl(">=",function(P,V,J){return V>=J},function(P,V,J,fe){return fe.compare(V,J)>=0}),rl=function(P,V,J,fe,Ae){this.type=wt,this.number=P,this.locale=V,this.currency=J,this.minFractionDigits=fe,this.maxFractionDigits=Ae};rl.parse=function(P,V){if(P.length!==3)return V.error("Expected two arguments.");var J=V.parse(P[1],1,Pt);if(!J)return null;var fe=P[2];if(typeof fe!="object"||Array.isArray(fe))return V.error("NumberFormat options argument must be an object.");var Ae=null;if(fe.locale&&!(Ae=V.parse(fe.locale,1,wt)))return null;var Oe=null;if(fe.currency&&!(Oe=V.parse(fe.currency,1,wt)))return null;var Ge=null;if(fe["min-fraction-digits"]&&!(Ge=V.parse(fe["min-fraction-digits"],1,Pt)))return null;var it=null;return fe["max-fraction-digits"]&&!(it=V.parse(fe["max-fraction-digits"],1,Pt))?null:new rl(J,Ae,Oe,Ge,it)},rl.prototype.evaluate=function(P){return new Intl.NumberFormat(this.locale?this.locale.evaluate(P):[],{style:this.currency?"currency":"decimal",currency:this.currency?this.currency.evaluate(P):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(P):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(P):void 0}).format(this.number.evaluate(P))},rl.prototype.eachChild=function(P){P(this.number),this.locale&&P(this.locale),this.currency&&P(this.currency),this.minFractionDigits&&P(this.minFractionDigits),this.maxFractionDigits&&P(this.maxFractionDigits)},rl.prototype.outputDefined=function(){return!1},rl.prototype.serialize=function(){var P={};return this.locale&&(P.locale=this.locale.serialize()),this.currency&&(P.currency=this.currency.serialize()),this.minFractionDigits&&(P["min-fraction-digits"]=this.minFractionDigits.serialize()),this.maxFractionDigits&&(P["max-fraction-digits"]=this.maxFractionDigits.serialize()),["number-format",this.number.serialize(),P]};var il=function(P){this.type=Pt,this.input=P};il.parse=function(P,V){if(P.length!==2)return V.error("Expected 1 argument, but found "+(P.length-1)+" instead.");var J=V.parse(P[1],1);return J?J.type.kind!=="array"&&J.type.kind!=="string"&&J.type.kind!=="value"?V.error("Expected argument of type string or array, but found "+un(J.type)+" instead."):new il(J):null},il.prototype.evaluate=function(P){var V=this.input.evaluate(P);if(typeof V=="string"||Array.isArray(V))return V.length;throw new or("Expected value to be of type string or array, but found "+un(rr(V))+" instead.")},il.prototype.eachChild=function(P){P(this.input)},il.prototype.outputDefined=function(){return!1},il.prototype.serialize=function(){var P=["length"];return this.eachChild(function(V){P.push(V.serialize())}),P};var Iu={"==":yh,"!=":bh,">":Cf,"<":id,">=":Ef,"<=":xh,array:_r,at:Al,boolean:_r,case:Is,coalesce:Yo,collator:tr,format:Kt,image:bn,in:Ui,"index-of":Sl,interpolate:$a,"interpolate-hcl":$a,"interpolate-lab":$a,length:il,let:ss,literal:yr,match:ms,number:_r,"number-format":rl,object:_r,slice:js,step:Lr,string:_r,"to-boolean":Ln,"to-color":Ln,"to-number":Ln,"to-string":Ln,var:pr,within:nr};function al(P,V){var J=V[0],fe=V[1],Ae=V[2],Oe=V[3];J=J.evaluate(P),fe=fe.evaluate(P),Ae=Ae.evaluate(P);var Ge=Oe?Oe.evaluate(P):1,it=qn(J,fe,Ae,Ge);if(it)throw new or(it);return new pn(J/255*Ge,fe/255*Ge,Ae/255*Ge,Ge)}function Lf(P,V){return P in V}function If(P,V){var J=V[P];return J===void 0?null:J}function Jl(P){return{type:P}}function jc(P){return{result:"success",value:P}}function Cl(P){return{result:"error",value:P}}function Ru(P){return P["property-type"]==="data-driven"||P["property-type"]==="cross-faded-data-driven"}function Ql(P){return!!P.expression&&P.expression.parameters.indexOf("zoom")>-1}function ol(P){return!!P.expression&&P.expression.interpolated}function Hi(P){return P instanceof Number?"number":P instanceof String?"string":P instanceof Boolean?"boolean":Array.isArray(P)?"array":P===null?"null":typeof P}function El(P){return typeof P=="object"&&P!==null&&!Array.isArray(P)}function ad(P){return P}function Uc(P,V){var J,fe,Ae,Oe=V.type==="color",Ge=P.stops&&typeof P.stops[0][0]=="object",it=Ge||P.property!==void 0,pt=Ge||!it,Ct=P.type||(ol(V)?"exponential":"interval");if(Oe&&((P=ut({},P)).stops&&(P.stops=P.stops.map(function(Tr){return[Tr[0],pn.parse(Tr[1])]})),P.default?P.default=pn.parse(P.default):P.default=pn.parse(V.default)),P.colorSpace&&P.colorSpace!=="rgb"&&!Sf[P.colorSpace])throw new Error("Unknown color space: "+P.colorSpace);if(Ct==="exponential")J=gs;else if(Ct==="interval")J=Pu;else if(Ct==="categorical"){J=eu,fe=Object.create(null);for(var Dt=0,Gt=P.stops;Dt=P.stops[fe-1][0])return P.stops[fe-1][1];var Ae=Rr(P.stops.map(function(Oe){return Oe[0]}),J);return P.stops[Ae][1]}function gs(P,V,J){var fe=P.base!==void 0?P.base:1;if(Hi(J)!=="number")return dc(P.default,V.default);var Ae=P.stops.length;if(Ae===1||J<=P.stops[0][0])return P.stops[0][1];if(J>=P.stops[Ae-1][0])return P.stops[Ae-1][1];var Oe=Rr(P.stops.map(function(Gt){return Gt[0]}),J),Ge=function(Gt,Zt,Yt,hn){var Mn=hn-Yt,Nn=Gt-Yt;return Mn===0?0:Zt===1?Nn/Mn:(Math.pow(Zt,Nn)-1)/(Math.pow(Zt,Mn)-1)}(J,fe,P.stops[Oe][0],P.stops[Oe+1][0]),it=P.stops[Oe][1],pt=P.stops[Oe+1][1],Ct=gr[V.type]||ad;if(P.colorSpace&&P.colorSpace!=="rgb"){var Dt=Sf[P.colorSpace];Ct=function(Gt,Zt){return Dt.reverse(Dt.interpolate(Dt.forward(Gt),Dt.forward(Zt),Ge))}}return typeof it.evaluate=="function"?{evaluate:function(){for(var Gt=[],Zt=arguments.length;Zt--;)Gt[Zt]=arguments[Zt];var Yt=it.evaluate.apply(void 0,Gt),hn=pt.evaluate.apply(void 0,Gt);if(Yt!==void 0&&hn!==void 0)return Ct(Yt,hn,Ge)}}:Ct(it,pt,Ge)}function Rf(P,V,J){return V.type==="color"?J=pn.parse(J):V.type==="formatted"?J=jn.fromString(J.toString()):V.type==="resolvedImage"?J=Gn.fromString(J.toString()):Hi(J)===V.type||V.type==="enum"&&V.values[J]||(J=void 0),dc(J,P.default,V.default)}Yn.register(Iu,{error:[{kind:"error"},[wt],function(P,V){var J=V[0];throw new or(J.evaluate(P))}],typeof:[wt,[Wt],function(P,V){return un(rr(V[0].evaluate(P)))}],"to-rgba":[xn(Pt,4),[Nt],function(P,V){return V[0].evaluate(P).toArray()}],rgb:[Nt,[Pt,Pt,Pt],al],rgba:[Nt,[Pt,Pt,Pt,Pt],al],has:{type:Rt,overloads:[[[wt],function(P,V){return Lf(V[0].evaluate(P),P.properties())}],[[wt,$t],function(P,V){var J=V[0],fe=V[1];return Lf(J.evaluate(P),fe.evaluate(P))}]]},get:{type:Wt,overloads:[[[wt],function(P,V){return If(V[0].evaluate(P),P.properties())}],[[wt,$t],function(P,V){var J=V[0],fe=V[1];return If(J.evaluate(P),fe.evaluate(P))}]]},"feature-state":[Wt,[wt],function(P,V){return If(V[0].evaluate(P),P.featureState||{})}],properties:[$t,[],function(P){return P.properties()}],"geometry-type":[wt,[],function(P){return P.geometryType()}],id:[Wt,[],function(P){return P.id()}],zoom:[Pt,[],function(P){return P.globals.zoom}],"heatmap-density":[Pt,[],function(P){return P.globals.heatmapDensity||0}],"line-progress":[Pt,[],function(P){return P.globals.lineProgress||0}],accumulated:[Wt,[],function(P){return P.globals.accumulated===void 0?null:P.globals.accumulated}],"+":[Pt,Jl(Pt),function(P,V){for(var J=0,fe=0,Ae=V;fe":[Rt,[wt,Wt],function(P,V){var J=V[0],fe=V[1],Ae=P.properties()[J.value],Oe=fe.value;return typeof Ae==typeof Oe&&Ae>Oe}],"filter-id->":[Rt,[Wt],function(P,V){var J=V[0],fe=P.id(),Ae=J.value;return typeof fe==typeof Ae&&fe>Ae}],"filter-<=":[Rt,[wt,Wt],function(P,V){var J=V[0],fe=V[1],Ae=P.properties()[J.value],Oe=fe.value;return typeof Ae==typeof Oe&&Ae<=Oe}],"filter-id-<=":[Rt,[Wt],function(P,V){var J=V[0],fe=P.id(),Ae=J.value;return typeof fe==typeof Ae&&fe<=Ae}],"filter->=":[Rt,[wt,Wt],function(P,V){var J=V[0],fe=V[1],Ae=P.properties()[J.value],Oe=fe.value;return typeof Ae==typeof Oe&&Ae>=Oe}],"filter-id->=":[Rt,[Wt],function(P,V){var J=V[0],fe=P.id(),Ae=J.value;return typeof fe==typeof Ae&&fe>=Ae}],"filter-has":[Rt,[Wt],function(P,V){return V[0].value in P.properties()}],"filter-has-id":[Rt,[],function(P){return P.id()!==null&&P.id()!==void 0}],"filter-type-in":[Rt,[xn(wt)],function(P,V){return V[0].value.indexOf(P.geometryType())>=0}],"filter-id-in":[Rt,[xn(Wt)],function(P,V){return V[0].value.indexOf(P.id())>=0}],"filter-in-small":[Rt,[wt,xn(Wt)],function(P,V){var J=V[0];return V[1].value.indexOf(P.properties()[J.value])>=0}],"filter-in-large":[Rt,[wt,xn(Wt)],function(P,V){var J=V[0],fe=V[1];return function(Ae,Oe,Ge,it){for(;Ge<=it;){var pt=Ge+it>>1;if(Oe[pt]===Ae)return!0;Oe[pt]>Ae?it=pt-1:Ge=pt+1}return!1}(P.properties()[J.value],fe.value,0,fe.value.length-1)}],all:{type:Rt,overloads:[[[Rt,Rt],function(P,V){var J=V[0],fe=V[1];return J.evaluate(P)&&fe.evaluate(P)}],[Jl(Rt),function(P,V){for(var J=0,fe=V;J0&&typeof P[0]=="string"&&P[0]in Iu}function mc(P,V){var J=new dr(Iu,[],V?function(Ae){var Oe={color:Nt,string:wt,number:Pt,enum:wt,boolean:Rt,formatted:Qt,resolvedImage:rn};return Ae.type==="array"?xn(Oe[Ae.value]||Wt,Ae.length):Oe[Ae.type]}(V):void 0),fe=J.parse(P,void 0,void 0,void 0,V&&V.type==="string"?{typeAnnotation:"coerce"}:void 0);return fe?jc(new pc(fe,V)):Cl(J.errors)}pc.prototype.evaluateWithoutErrorHandling=function(P,V,J,fe,Ae,Oe){return this._evaluator.globals=P,this._evaluator.feature=V,this._evaluator.featureState=J,this._evaluator.canonical=fe,this._evaluator.availableImages=Ae||null,this._evaluator.formattedSection=Oe,this.expression.evaluate(this._evaluator)},pc.prototype.evaluate=function(P,V,J,fe,Ae,Oe){this._evaluator.globals=P,this._evaluator.feature=V||null,this._evaluator.featureState=J||null,this._evaluator.canonical=fe,this._evaluator.availableImages=Ae||null,this._evaluator.formattedSection=Oe||null;try{var Ge=this.expression.evaluate(this._evaluator);if(Ge==null||typeof Ge=="number"&&Ge!=Ge)return this._defaultValue;if(this._enumValues&&!(Ge in this._enumValues))throw new or("Expected value to be one of "+Object.keys(this._enumValues).map(function(it){return JSON.stringify(it)}).join(", ")+", but found "+JSON.stringify(Ge)+" instead.");return Ge}catch(it){return this._warningHistory[it.message]||(this._warningHistory[it.message]=!0,typeof console<"u"&&console.warn(it.message)),this._defaultValue}};var tu=function(P,V){this.kind=P,this._styleExpression=V,this.isStateDependent=P!=="constant"&&!fr(V.expression)};tu.prototype.evaluateWithoutErrorHandling=function(P,V,J,fe,Ae,Oe){return this._styleExpression.evaluateWithoutErrorHandling(P,V,J,fe,Ae,Oe)},tu.prototype.evaluate=function(P,V,J,fe,Ae,Oe){return this._styleExpression.evaluate(P,V,J,fe,Ae,Oe)};var nu=function(P,V,J,fe){this.kind=P,this.zoomStops=J,this._styleExpression=V,this.isStateDependent=P!=="camera"&&!fr(V.expression),this.interpolationType=fe};function Du(P,V){if((P=mc(P,V)).result==="error")return P;var J=P.value.expression,fe=Qn(J);if(!fe&&!Ru(V))return Cl([new It("","data expressions not supported")]);var Ae=cr(J,["zoom"]);if(!Ae&&!Ql(V))return Cl([new It("","zoom expressions not supported")]);var Oe=vc(J);if(!Oe&&!Ae)return Cl([new It("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')]);if(Oe instanceof It)return Cl([Oe]);if(Oe instanceof $a&&!ol(V))return Cl([new It("",'"interpolate" expressions cannot be used with this property')]);if(!Oe)return jc(new tu(fe?"constant":"source",P.value));var Ge=Oe instanceof $a?Oe.interpolation:void 0;return jc(new nu(fe?"camera":"composite",P.value,Oe.labels,Ge))}nu.prototype.evaluateWithoutErrorHandling=function(P,V,J,fe,Ae,Oe){return this._styleExpression.evaluateWithoutErrorHandling(P,V,J,fe,Ae,Oe)},nu.prototype.evaluate=function(P,V,J,fe,Ae,Oe){return this._styleExpression.evaluate(P,V,J,fe,Ae,Oe)},nu.prototype.interpolationFactor=function(P,V,J){return this.interpolationType?$a.interpolationFactor(this.interpolationType,P,V,J):0};var gc=function(P,V){this._parameters=P,this._specification=V,ut(this,Uc(this._parameters,this._specification))};function vc(P){var V=null;if(P instanceof ss)V=vc(P.result);else if(P instanceof Yo)for(var J=0,fe=P.args;Jfe.maximum?[new Ne(V,J,J+" is greater than the maximum value "+fe.maximum)]:[]}function Pf(P){var V,J,fe,Ae=P.valueSpec,Oe=dt(P.value.type),Ge={},it=Oe!=="categorical"&&P.value.property===void 0,pt=!it,Ct=Hi(P.value.stops)==="array"&&Hi(P.value.stops[0])==="array"&&Hi(P.value.stops[0][0])==="object",Dt=vs({key:P.key,value:P.value,valueSpec:P.styleSpec.function,style:P.style,styleSpec:P.styleSpec,objectElementValidators:{stops:function(Yt){if(Oe==="identity")return[new Ne(Yt.key,Yt.value,'identity function may not have a "stops" property')];var hn=[],Mn=Yt.value;return hn=hn.concat(yc({key:Yt.key,value:Mn,valueSpec:Yt.valueSpec,style:Yt.style,styleSpec:Yt.styleSpec,arrayElementValidator:Gt})),Hi(Mn)==="array"&&Mn.length===0&&hn.push(new Ne(Yt.key,Mn,"array must have at least one stop")),hn},default:function(Yt){return da({key:Yt.key,value:Yt.value,valueSpec:Ae,style:Yt.style,styleSpec:Yt.styleSpec})}}});return Oe==="identity"&&it&&Dt.push(new Ne(P.key,P.value,'missing required property "property"')),Oe==="identity"||P.value.stops||Dt.push(new Ne(P.key,P.value,'missing required property "stops"')),Oe==="exponential"&&P.valueSpec.expression&&!ol(P.valueSpec)&&Dt.push(new Ne(P.key,P.value,"exponential functions not supported")),P.styleSpec.$version>=8&&(pt&&!Ru(P.valueSpec)?Dt.push(new Ne(P.key,P.value,"property functions not supported")):it&&!Ql(P.valueSpec)&&Dt.push(new Ne(P.key,P.value,"zoom functions not supported"))),Oe!=="categorical"&&!Ct||P.value.property!==void 0||Dt.push(new Ne(P.key,P.value,'"property" property is required')),Dt;function Gt(Yt){var hn=[],Mn=Yt.value,Nn=Yt.key;if(Hi(Mn)!=="array")return[new Ne(Nn,Mn,"array expected, "+Hi(Mn)+" found")];if(Mn.length!==2)return[new Ne(Nn,Mn,"array length 2 expected, length "+Mn.length+" found")];if(Ct){if(Hi(Mn[0])!=="object")return[new Ne(Nn,Mn,"object expected, "+Hi(Mn[0])+" found")];if(Mn[0].zoom===void 0)return[new Ne(Nn,Mn,"object stop key must have zoom")];if(Mn[0].value===void 0)return[new Ne(Nn,Mn,"object stop key must have value")];if(fe&&fe>dt(Mn[0].zoom))return[new Ne(Nn,Mn[0].zoom,"stop zoom values must appear in ascending order")];dt(Mn[0].zoom)!==fe&&(fe=dt(Mn[0].zoom),J=void 0,Ge={}),hn=hn.concat(vs({key:Nn+"[0]",value:Mn[0],valueSpec:{zoom:{}},style:Yt.style,styleSpec:Yt.styleSpec,objectElementValidators:{zoom:bc,value:Zt}}))}else hn=hn.concat(Zt({key:Nn+"[0]",value:Mn[0],valueSpec:{},style:Yt.style,styleSpec:Yt.styleSpec},Mn));return Ou(_t(Mn[1]))?hn.concat([new Ne(Nn+"[1]",Mn[1],"expressions are not allowed in function stops.")]):hn.concat(da({key:Nn+"[1]",value:Mn[1],valueSpec:Ae,style:Yt.style,styleSpec:Yt.styleSpec}))}function Zt(Yt,hn){var Mn=Hi(Yt.value),Nn=dt(Yt.value),Bn=Yt.value!==null?Yt.value:hn;if(V){if(Mn!==V)return[new Ne(Yt.key,Bn,Mn+" stop domain type must match previous stop domain type "+V)]}else V=Mn;if(Mn!=="number"&&Mn!=="string"&&Mn!=="boolean")return[new Ne(Yt.key,Bn,"stop domain value must be a number, string, or boolean")];if(Mn!=="number"&&Oe!=="categorical"){var Wn="number expected, "+Mn+" found";return Ru(Ae)&&Oe===void 0&&(Wn+='\nIf you intended to use a categorical function, specify `"type": "categorical"`.'),[new Ne(Yt.key,Bn,Wn)]}return Oe!=="categorical"||Mn!=="number"||isFinite(Nn)&&Math.floor(Nn)===Nn?Oe!=="categorical"&&Mn==="number"&&J!==void 0&&Nn=2&&P[1]!=="$id"&&P[1]!=="$type";case"in":return P.length>=3&&(typeof P[1]!="string"||Array.isArray(P[2]));case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return P.length!==3||Array.isArray(P[1])||Array.isArray(P[2]);case"any":case"all":for(var V=0,J=P.slice(1);VV?1:0}function ru(P){if(!Array.isArray(P))return!1;if(P[0]==="within")return!0;for(var V=1;V"||J==="<="||J===">="?Ki(P[1],P[2],J):J==="any"?(V=P.slice(1),["any"].concat(V.map(iu))):J==="all"?["all"].concat(P.slice(1).map(iu)):J==="none"?["all"].concat(P.slice(1).map(iu).map(po)):J==="in"?Il(P[1],P.slice(2)):J==="!in"?po(Il(P[1],P.slice(2))):J==="has"?Rl(P[1]):J==="!has"?po(Rl(P[1])):J!=="within"||P}function Ki(P,V,J){switch(P){case"$type":return["filter-type-"+J,V];case"$id":return["filter-id-"+J,V];default:return["filter-"+J,P,V]}}function Il(P,V){if(V.length===0)return!1;switch(P){case"$type":return["filter-type-in",["literal",V]];case"$id":return["filter-id-in",["literal",V]];default:return V.length>200&&!V.some(function(J){return typeof J!=typeof V[0]})?["filter-in-large",P,["literal",V.sort(zu)]]:["filter-in-small",P,["literal",V]]}}function Rl(P){switch(P){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",P]}}function po(P){return["!",P]}function Oi(P){return xc(_t(P.value))?Ll(ut({},P,{expressionContext:"filter",valueSpec:{value:"boolean"}})):Bi(P)}function Bi(P){var V=P.value,J=P.key;if(Hi(V)!=="array")return[new Ne(J,V,"array expected, "+Hi(V)+" found")];var fe,Ae=P.styleSpec,Oe=[];if(V.length<1)return[new Ne(J,V,"filter array must have at least 1 element")];switch(Oe=Oe.concat(Hc({key:J+"[0]",value:V[0],valueSpec:Ae.filter_operator,style:P.style,styleSpec:P.styleSpec})),dt(V[0])){case"<":case"<=":case">":case">=":V.length>=2&&dt(V[1])==="$type"&&Oe.push(new Ne(J,V,'"$type" cannot be use with operator "'+V[0]+'"'));case"==":case"!=":V.length!==3&&Oe.push(new Ne(J,V,'filter array for operator "'+V[0]+'" must have 3 elements'));case"in":case"!in":V.length>=2&&(fe=Hi(V[1]))!=="string"&&Oe.push(new Ne(J+"[1]",V[1],"string expected, "+fe+" found"));for(var Ge=2;Ge=Dt[Yt+0]&&fe>=Dt[Yt+1])?(Ge[Zt]=!0,Oe.push(Ct[Zt])):Ge[Zt]=!1}}},Zo.prototype._forEachCell=function(P,V,J,fe,Ae,Oe,Ge,it){for(var pt=this._convertToCellCoord(P),Ct=this._convertToCellCoord(V),Dt=this._convertToCellCoord(J),Gt=this._convertToCellCoord(fe),Zt=pt;Zt<=Dt;Zt++)for(var Yt=Ct;Yt<=Gt;Yt++){var hn=this.d*Yt+Zt;if((!it||it(this._convertFromCellCoord(Zt),this._convertFromCellCoord(Yt),this._convertFromCellCoord(Zt+1),this._convertFromCellCoord(Yt+1)))&&Ae.call(this,P,V,J,fe,hn,Oe,Ge,it))return}},Zo.prototype._convertFromCellCoord=function(P){return(P-this.padding)/this.scale},Zo.prototype._convertToCellCoord=function(P){return Math.max(0,Math.min(this.d-1,Math.floor(P*this.scale)+this.padding))},Zo.prototype.toArrayBuffer=function(){if(this.arrayBuffer)return this.arrayBuffer;for(var P=this.cells,V=3+this.cells.length+1+1,J=0,fe=0;fe=0)){var Gt=P[Dt];Ct[Dt]=Lo[pt].shallow.indexOf(Dt)>=0?Gt:Fu(Gt,V)}P instanceof Error&&(Ct.message=P.message)}if(Ct.$name)throw new Error("$name property is reserved for worker serialization logic.");return pt!=="Object"&&(Ct.$name=pt),Ct}throw new Error("can't serialize object of type "+typeof P)}function Bu(P){if(P==null||typeof P=="boolean"||typeof P=="number"||typeof P=="string"||P instanceof Boolean||P instanceof Number||P instanceof String||P instanceof Date||P instanceof RegExp||Fo(P)||$c(P)||ArrayBuffer.isView(P)||P instanceof qc)return P;if(Array.isArray(P))return P.map(Bu);if(typeof P=="object"){var V=P.$name||"Object",J=Lo[V].klass;if(!J)throw new Error("can't deserialize unregistered class "+V);if(J.deserialize)return J.deserialize(P);for(var fe=Object.create(J.prototype),Ae=0,Oe=Object.keys(P);Ae=0?it:Bu(it)}}return fe}throw new Error("can't deserialize object of type "+typeof P)}var Nu=function(){this.first=!0};Nu.prototype.update=function(P,V){var J=Math.floor(P);return this.first?(this.first=!1,this.lastIntegerZoom=J,this.lastIntegerZoomTime=0,this.lastZoom=P,this.lastFloorZoom=J,!0):(this.lastFloorZoom>J?(this.lastIntegerZoom=J+1,this.lastIntegerZoomTime=V):this.lastFloorZoom=128&&P<=255},Arabic:function(P){return P>=1536&&P<=1791},"Arabic Supplement":function(P){return P>=1872&&P<=1919},"Arabic Extended-A":function(P){return P>=2208&&P<=2303},"Hangul Jamo":function(P){return P>=4352&&P<=4607},"Unified Canadian Aboriginal Syllabics":function(P){return P>=5120&&P<=5759},Khmer:function(P){return P>=6016&&P<=6143},"Unified Canadian Aboriginal Syllabics Extended":function(P){return P>=6320&&P<=6399},"General Punctuation":function(P){return P>=8192&&P<=8303},"Letterlike Symbols":function(P){return P>=8448&&P<=8527},"Number Forms":function(P){return P>=8528&&P<=8591},"Miscellaneous Technical":function(P){return P>=8960&&P<=9215},"Control Pictures":function(P){return P>=9216&&P<=9279},"Optical Character Recognition":function(P){return P>=9280&&P<=9311},"Enclosed Alphanumerics":function(P){return P>=9312&&P<=9471},"Geometric Shapes":function(P){return P>=9632&&P<=9727},"Miscellaneous Symbols":function(P){return P>=9728&&P<=9983},"Miscellaneous Symbols and Arrows":function(P){return P>=11008&&P<=11263},"CJK Radicals Supplement":function(P){return P>=11904&&P<=12031},"Kangxi Radicals":function(P){return P>=12032&&P<=12255},"Ideographic Description Characters":function(P){return P>=12272&&P<=12287},"CJK Symbols and Punctuation":function(P){return P>=12288&&P<=12351},Hiragana:function(P){return P>=12352&&P<=12447},Katakana:function(P){return P>=12448&&P<=12543},Bopomofo:function(P){return P>=12544&&P<=12591},"Hangul Compatibility Jamo":function(P){return P>=12592&&P<=12687},Kanbun:function(P){return P>=12688&&P<=12703},"Bopomofo Extended":function(P){return P>=12704&&P<=12735},"CJK Strokes":function(P){return P>=12736&&P<=12783},"Katakana Phonetic Extensions":function(P){return P>=12784&&P<=12799},"Enclosed CJK Letters and Months":function(P){return P>=12800&&P<=13055},"CJK Compatibility":function(P){return P>=13056&&P<=13311},"CJK Unified Ideographs Extension A":function(P){return P>=13312&&P<=19903},"Yijing Hexagram Symbols":function(P){return P>=19904&&P<=19967},"CJK Unified Ideographs":function(P){return P>=19968&&P<=40959},"Yi Syllables":function(P){return P>=40960&&P<=42127},"Yi Radicals":function(P){return P>=42128&&P<=42191},"Hangul Jamo Extended-A":function(P){return P>=43360&&P<=43391},"Hangul Syllables":function(P){return P>=44032&&P<=55215},"Hangul Jamo Extended-B":function(P){return P>=55216&&P<=55295},"Private Use Area":function(P){return P>=57344&&P<=63743},"CJK Compatibility Ideographs":function(P){return P>=63744&&P<=64255},"Arabic Presentation Forms-A":function(P){return P>=64336&&P<=65023},"Vertical Forms":function(P){return P>=65040&&P<=65055},"CJK Compatibility Forms":function(P){return P>=65072&&P<=65103},"Small Form Variants":function(P){return P>=65104&&P<=65135},"Arabic Presentation Forms-B":function(P){return P>=65136&&P<=65279},"Halfwidth and Fullwidth Forms":function(P){return P>=65280&&P<=65519}};function Vu(P){for(var V=0,J=P;V=65097&&P<=65103)||Br["CJK Compatibility Ideographs"](P)||Br["CJK Compatibility"](P)||Br["CJK Radicals Supplement"](P)||Br["CJK Strokes"](P)||!(!Br["CJK Symbols and Punctuation"](P)||P>=12296&&P<=12305||P>=12308&&P<=12319||P===12336)||Br["CJK Unified Ideographs Extension A"](P)||Br["CJK Unified Ideographs"](P)||Br["Enclosed CJK Letters and Months"](P)||Br["Hangul Compatibility Jamo"](P)||Br["Hangul Jamo Extended-A"](P)||Br["Hangul Jamo Extended-B"](P)||Br["Hangul Jamo"](P)||Br["Hangul Syllables"](P)||Br.Hiragana(P)||Br["Ideographic Description Characters"](P)||Br.Kanbun(P)||Br["Kangxi Radicals"](P)||Br["Katakana Phonetic Extensions"](P)||Br.Katakana(P)&&P!==12540||!(!Br["Halfwidth and Fullwidth Forms"](P)||P===65288||P===65289||P===65293||P>=65306&&P<=65310||P===65339||P===65341||P===65343||P>=65371&&P<=65503||P===65507||P>=65512&&P<=65519)||!(!Br["Small Form Variants"](P)||P>=65112&&P<=65118||P>=65123&&P<=65126)||Br["Unified Canadian Aboriginal Syllabics"](P)||Br["Unified Canadian Aboriginal Syllabics Extended"](P)||Br["Vertical Forms"](P)||Br["Yijing Hexagram Symbols"](P)||Br["Yi Syllables"](P)||Br["Yi Radicals"](P))))}function Yc(P){return!(bs(P)||function(V){return!!(Br["Latin-1 Supplement"](V)&&(V===167||V===169||V===174||V===177||V===188||V===189||V===190||V===215||V===247)||Br["General Punctuation"](V)&&(V===8214||V===8224||V===8225||V===8240||V===8241||V===8251||V===8252||V===8258||V===8263||V===8264||V===8265||V===8273)||Br["Letterlike Symbols"](V)||Br["Number Forms"](V)||Br["Miscellaneous Technical"](V)&&(V>=8960&&V<=8967||V>=8972&&V<=8991||V>=8996&&V<=9e3||V===9003||V>=9085&&V<=9114||V>=9150&&V<=9165||V===9167||V>=9169&&V<=9179||V>=9186&&V<=9215)||Br["Control Pictures"](V)&&V!==9251||Br["Optical Character Recognition"](V)||Br["Enclosed Alphanumerics"](V)||Br["Geometric Shapes"](V)||Br["Miscellaneous Symbols"](V)&&!(V>=9754&&V<=9759)||Br["Miscellaneous Symbols and Arrows"](V)&&(V>=11026&&V<=11055||V>=11088&&V<=11097||V>=11192&&V<=11243)||Br["CJK Symbols and Punctuation"](V)||Br.Katakana(V)||Br["Private Use Area"](V)||Br["CJK Compatibility Forms"](V)||Br["Small Form Variants"](V)||Br["Halfwidth and Fullwidth Forms"](V)||V===8734||V===8756||V===8757||V>=9984&&V<=10087||V>=10102&&V<=10131||V===65532||V===65533)}(P))}function wc(P){return Br.Arabic(P)||Br["Arabic Supplement"](P)||Br["Arabic Extended-A"](P)||Br["Arabic Presentation Forms-A"](P)||Br["Arabic Presentation Forms-B"](P)}function vo(P){return P>=1424&&P<=2303||Br["Arabic Presentation Forms-A"](P)||Br["Arabic Presentation Forms-B"](P)}function cu(P,V){return!(!V&&vo(P)||P>=2304&&P<=3583||P>=3840&&P<=4255||Br.Khmer(P))}function ul(P){for(var V=0,J=P;V-1&&(yo=xs),fu&&fu(P)};function Tc(){ls.fire(new qe("pluginStateChange",{pluginStatus:yo,pluginURL:_s}))}var ls=new ht,ws=function(){return yo},Gs=function(){if(yo!==Xo||!_s)throw new Error("rtl-text-plugin cannot be downloaded unless a pluginURL is specified");yo=Ol,Tc(),_s&&Ft({url:_s},function(P){P?$i(P):(yo=Rs,Tc())})},Bo={applyArabicShaping:null,processBidirectionalText:null,processStyledBidirectionalText:null,isLoaded:function(){return yo===Rs||Bo.applyArabicShaping!=null},isLoading:function(){return yo===Ol},setState:function(P){yo=P.pluginStatus,_s=P.pluginURL},isParsed:function(){return Bo.applyArabicShaping!=null&&Bo.processBidirectionalText!=null&&Bo.processStyledBidirectionalText!=null},getPluginURL:function(){return _s}},Wi=function(P,V){this.zoom=P,V?(this.now=V.now,this.fadeDuration=V.fadeDuration,this.zoomHistory=V.zoomHistory,this.transition=V.transition):(this.now=0,this.fadeDuration=0,this.zoomHistory=new Nu,this.transition={})};Wi.prototype.isSupportedScript=function(P){return function(V,J){for(var fe=0,Ae=V;fethis.zoomHistory.lastIntegerZoom?{fromScale:2,toScale:1,t:V+(1-V)*J}:{fromScale:.5,toScale:1,t:1-(1-J)*V}};var no=function(P,V){this.property=P,this.value=V,this.expression=function(J,fe){if(El(J))return new gc(J,fe);if(Ou(J)){var Ae=Du(J,fe);if(Ae.result==="error")throw new Error(Ae.value.map(function(Ge){return Ge.key+": "+Ge.message}).join(", "));return Ae.value}var Oe=J;return typeof J=="string"&&fe.type==="color"&&(Oe=pn.parse(J)),{kind:"constant",evaluate:function(){return Oe}}}(V===void 0?P.specification.default:V,P.specification)};no.prototype.isDataDriven=function(){return this.expression.kind==="source"||this.expression.kind==="composite"},no.prototype.possiblyEvaluate=function(P,V,J){return this.property.possiblyEvaluate(this,P,V,J)};var Ps=function(P){this.property=P,this.value=new no(P,void 0)};Ps.prototype.transitioned=function(P,V){return new qs(this.property,this.value,V,p({},P.transition,this.transition),P.now)},Ps.prototype.untransitioned=function(){return new qs(this.property,this.value,null,{},0)};var No=function(P){this._properties=P,this._values=Object.create(P.defaultTransitionablePropertyValues)};No.prototype.getValue=function(P){return L(this._values[P].value.value)},No.prototype.setValue=function(P,V){this._values.hasOwnProperty(P)||(this._values[P]=new Ps(this._values[P].property)),this._values[P].value=new no(this._values[P].property,V===null?void 0:L(V))},No.prototype.getTransition=function(P){return L(this._values[P].transition)},No.prototype.setTransition=function(P,V){this._values.hasOwnProperty(P)||(this._values[P]=new Ps(this._values[P].property)),this._values[P].transition=L(V)||void 0},No.prototype.serialize=function(){for(var P={},V=0,J=Object.keys(this._values);Vthis.end)return this.prior=null,Ae;if(this.value.isDataDriven())return this.prior=null,Ae;if(fe=1)return 1;var pt=it*it,Ct=pt*it;return 4*(it<.5?Ct:3*(it-pt)+Ct-.75)}(Ge))}return Ae};var Dl=function(P){this._properties=P,this._values=Object.create(P.defaultTransitioningPropertyValues)};Dl.prototype.possiblyEvaluate=function(P,V,J){for(var fe=new Ts(this._properties),Ae=0,Oe=Object.keys(this._values);AeOe.zoomHistory.lastIntegerZoom?{from:J,to:fe}:{from:Ae,to:fe}},V.prototype.interpolate=function(J){return J},V}(ni),fl=function(P){this.specification=P};fl.prototype.possiblyEvaluate=function(P,V,J,fe){if(P.value!==void 0){if(P.expression.kind==="constant"){var Ae=P.expression.evaluate(V,null,{},J,fe);return this._calculate(Ae,Ae,Ae,V)}return this._calculate(P.expression.evaluate(new Wi(Math.floor(V.zoom-1),V)),P.expression.evaluate(new Wi(Math.floor(V.zoom),V)),P.expression.evaluate(new Wi(Math.floor(V.zoom+1),V)),V)}},fl.prototype._calculate=function(P,V,J,fe){return fe.zoom>fe.zoomHistory.lastIntegerZoom?{from:P,to:V}:{from:J,to:V}},fl.prototype.interpolate=function(P){return P};var Os=function(P){this.specification=P};Os.prototype.possiblyEvaluate=function(P,V,J,fe){return!!P.expression.evaluate(V,null,{},J,fe)},Os.prototype.interpolate=function(){return!1};var xo=function(P){for(var V in this.properties=P,this.defaultPropertyValues={},this.defaultTransitionablePropertyValues={},this.defaultTransitioningPropertyValues={},this.defaultPossiblyEvaluatedValues={},this.overridableProperties=[],P){var J=P[V];J.specification.overridable&&this.overridableProperties.push(V);var fe=this.defaultPropertyValues[V]=new no(J,void 0),Ae=this.defaultTransitionablePropertyValues[V]=new Ps(J);this.defaultTransitioningPropertyValues[V]=Ae.untransitioned(),this.defaultPossiblyEvaluatedValues[V]=fe.possiblyEvaluate({})}};Dr("DataDrivenProperty",ni),Dr("DataConstantProperty",Gr),Dr("CrossFadedDataDrivenProperty",ju),Dr("CrossFadedProperty",fl),Dr("ColorRampProperty",Os);var Zc="-transition",Vo=function(P){function V(J,fe){if(P.call(this),this.id=J.id,this.type=J.type,this._featureFilter={filter:function(){return!0},needGeometry:!1},J.type!=="custom"&&(this.metadata=J.metadata,this.minzoom=J.minzoom,this.maxzoom=J.maxzoom,J.type!=="background"&&(this.source=J.source,this.sourceLayer=J["source-layer"],this.filter=J.filter),fe.layout&&(this._unevaluatedLayout=new cl(fe.layout)),fe.paint)){for(var Ae in this._transitionablePaint=new No(fe.paint),J.paint)this.setPaintProperty(Ae,J.paint[Ae],{validate:!1});for(var Oe in J.layout)this.setLayoutProperty(Oe,J.layout[Oe],{validate:!1});this._transitioningPaint=this._transitionablePaint.untransitioned(),this.paint=new Ts(fe.paint)}}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.getCrossfadeParameters=function(){return this._crossfadeParameters},V.prototype.getLayoutProperty=function(J){return J==="visibility"?this.visibility:this._unevaluatedLayout.getValue(J)},V.prototype.setLayoutProperty=function(J,fe,Ae){if(Ae===void 0&&(Ae={}),fe!=null){var Oe="layers."+this.id+".layout."+J;if(this._validate(Pl,Oe,J,fe,Ae))return}J!=="visibility"?this._unevaluatedLayout.setValue(J,fe):this.visibility=fe},V.prototype.getPaintProperty=function(J){return E(J,Zc)?this._transitionablePaint.getTransition(J.slice(0,-Zc.length)):this._transitionablePaint.getValue(J)},V.prototype.setPaintProperty=function(J,fe,Ae){if(Ae===void 0&&(Ae={}),fe!=null){var Oe="layers."+this.id+".paint."+J;if(this._validate(zo,Oe,J,fe,Ae))return!1}if(E(J,Zc))return this._transitionablePaint.setTransition(J.slice(0,-Zc.length),fe||void 0),!1;var Ge=this._transitionablePaint._values[J],it=Ge.property.specification["property-type"]==="cross-faded-data-driven",pt=Ge.value.isDataDriven(),Ct=Ge.value;this._transitionablePaint.setValue(J,fe),this._handleSpecialPaintPropertyUpdate(J);var Dt=this._transitionablePaint._values[J].value;return Dt.isDataDriven()||pt||it||this._handleOverridablePaintPropertyUpdate(J,Ct,Dt)},V.prototype._handleSpecialPaintPropertyUpdate=function(J){},V.prototype._handleOverridablePaintPropertyUpdate=function(J,fe,Ae){return!1},V.prototype.isHidden=function(J){return!!(this.minzoom&&J=this.maxzoom)||this.visibility==="none"},V.prototype.updateTransitions=function(J){this._transitioningPaint=this._transitionablePaint.transitioned(J,this._transitioningPaint)},V.prototype.hasTransition=function(){return this._transitioningPaint.hasTransition()},V.prototype.recalculate=function(J,fe){J.getCrossfadeParameters&&(this._crossfadeParameters=J.getCrossfadeParameters()),this._unevaluatedLayout&&(this.layout=this._unevaluatedLayout.possiblyEvaluate(J,void 0,fe)),this.paint=this._transitioningPaint.possiblyEvaluate(J,void 0,fe)},V.prototype.serialize=function(){var J={id:this.id,type:this.type,source:this.source,"source-layer":this.sourceLayer,metadata:this.metadata,minzoom:this.minzoom,maxzoom:this.maxzoom,filter:this.filter,layout:this._unevaluatedLayout&&this._unevaluatedLayout.serialize(),paint:this._transitionablePaint&&this._transitionablePaint.serialize()};return this.visibility&&(J.layout=J.layout||{},J.layout.visibility=this.visibility),A(J,function(fe,Ae){return!(fe===void 0||Ae==="layout"&&!Object.keys(fe).length||Ae==="paint"&&!Object.keys(fe).length)})},V.prototype._validate=function(J,fe,Ae,Oe,Ge){return Ge===void 0&&(Ge={}),(!Ge||Ge.validate!==!1)&&ys(this,J.call(go,{key:fe,layerType:this.type,objectKey:Ae,value:Oe,styleSpec:Re,style:{glyphs:!0,sprite:!0}}))},V.prototype.is3D=function(){return!1},V.prototype.isTileClipped=function(){return!1},V.prototype.hasOffscreenPass=function(){return!1},V.prototype.resize=function(){},V.prototype.isStateDependent=function(){for(var J in this.paint._values){var fe=this.paint.get(J);if(fe instanceof bo&&Ru(fe.property.specification)&&(fe.value.kind==="source"||fe.value.kind==="composite")&&fe.value.isStateDependent)return!0}return!1},V}(ht),Uu={Int8:Int8Array,Uint8:Uint8Array,Int16:Int16Array,Uint16:Uint16Array,Int32:Int32Array,Uint32:Uint32Array,Float32:Float32Array},hl=function(P,V){this._structArray=P,this._pos1=V*this.size,this._pos2=this._pos1/2,this._pos4=this._pos1/4,this._pos8=this._pos1/8},Ji=function(){this.isTransferred=!1,this.capacity=-1,this.resize(0)};function la(P,V){V===void 0&&(V=1);var J=0,fe=0;return{members:P.map(function(Ae){var Oe,Ge=(Oe=Ae.type,Uu[Oe].BYTES_PER_ELEMENT),it=J=Xc(J,Math.max(V,Ge)),pt=Ae.components||1;return fe=Math.max(fe,Ge),J+=Ge*pt,{name:Ae.name,type:Ae.type,components:pt,offset:it}}),size:Xc(J,Math.max(fe,V)),alignment:V}}function Xc(P,V){return Math.ceil(P/V)*V}Ji.serialize=function(P,V){return P._trim(),V&&(P.isTransferred=!0,V.push(P.arrayBuffer)),{length:P.length,arrayBuffer:P.arrayBuffer}},Ji.deserialize=function(P){var V=Object.create(this.prototype);return V.arrayBuffer=P.arrayBuffer,V.length=P.length,V.capacity=P.arrayBuffer.byteLength/V.bytesPerElement,V._refreshViews(),V},Ji.prototype._trim=function(){this.length!==this.capacity&&(this.capacity=this.length,this.arrayBuffer=this.arrayBuffer.slice(0,this.length*this.bytesPerElement),this._refreshViews())},Ji.prototype.clear=function(){this.length=0},Ji.prototype.resize=function(P){this.reserve(P),this.length=P},Ji.prototype.reserve=function(P){if(P>this.capacity){this.capacity=Math.max(P,Math.floor(5*this.capacity),128),this.arrayBuffer=new ArrayBuffer(this.capacity*this.bytesPerElement);var V=this.uint8;this._refreshViews(),V&&this.uint8.set(V)}},Ji.prototype._refreshViews=function(){throw new Error("_refreshViews() must be implemented by each concrete StructArray layout")};var et=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe){var Ae=this.length;return this.resize(Ae+1),this.emplace(Ae,J,fe)},V.prototype.emplace=function(J,fe,Ae){var Oe=2*J;return this.int16[Oe+0]=fe,this.int16[Oe+1]=Ae,J},V}(Ji);et.prototype.bytesPerElement=4,Dr("StructArrayLayout2i4",et);var rt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,Oe){var Ge=this.length;return this.resize(Ge+1),this.emplace(Ge,J,fe,Ae,Oe)},V.prototype.emplace=function(J,fe,Ae,Oe,Ge){var it=4*J;return this.int16[it+0]=fe,this.int16[it+1]=Ae,this.int16[it+2]=Oe,this.int16[it+3]=Ge,J},V}(Ji);rt.prototype.bytesPerElement=8,Dr("StructArrayLayout4i8",rt);var ct=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,Oe,Ge,it){var pt=this.length;return this.resize(pt+1),this.emplace(pt,J,fe,Ae,Oe,Ge,it)},V.prototype.emplace=function(J,fe,Ae,Oe,Ge,it,pt){var Ct=6*J;return this.int16[Ct+0]=fe,this.int16[Ct+1]=Ae,this.int16[Ct+2]=Oe,this.int16[Ct+3]=Ge,this.int16[Ct+4]=it,this.int16[Ct+5]=pt,J},V}(Ji);ct.prototype.bytesPerElement=12,Dr("StructArrayLayout2i4i12",ct);var vt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,Oe,Ge,it){var pt=this.length;return this.resize(pt+1),this.emplace(pt,J,fe,Ae,Oe,Ge,it)},V.prototype.emplace=function(J,fe,Ae,Oe,Ge,it,pt){var Ct=4*J,Dt=8*J;return this.int16[Ct+0]=fe,this.int16[Ct+1]=Ae,this.uint8[Dt+4]=Oe,this.uint8[Dt+5]=Ge,this.uint8[Dt+6]=it,this.uint8[Dt+7]=pt,J},V}(Ji);vt.prototype.bytesPerElement=8,Dr("StructArrayLayout2i4ub8",vt);var St=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,Oe,Ge,it,pt,Ct,Dt,Gt){var Zt=this.length;return this.resize(Zt+1),this.emplace(Zt,J,fe,Ae,Oe,Ge,it,pt,Ct,Dt,Gt)},V.prototype.emplace=function(J,fe,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt){var Yt=9*J,hn=18*J;return this.uint16[Yt+0]=fe,this.uint16[Yt+1]=Ae,this.uint16[Yt+2]=Oe,this.uint16[Yt+3]=Ge,this.uint16[Yt+4]=it,this.uint16[Yt+5]=pt,this.uint16[Yt+6]=Ct,this.uint16[Yt+7]=Dt,this.uint8[hn+16]=Gt,this.uint8[hn+17]=Zt,J},V}(Ji);St.prototype.bytesPerElement=18,Dr("StructArrayLayout8ui2ub18",St);var Mt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,Yt){var hn=this.length;return this.resize(hn+1),this.emplace(hn,J,fe,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,Yt)},V.prototype.emplace=function(J,fe,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,Yt,hn){var Mn=12*J;return this.int16[Mn+0]=fe,this.int16[Mn+1]=Ae,this.int16[Mn+2]=Oe,this.int16[Mn+3]=Ge,this.uint16[Mn+4]=it,this.uint16[Mn+5]=pt,this.uint16[Mn+6]=Ct,this.uint16[Mn+7]=Dt,this.int16[Mn+8]=Gt,this.int16[Mn+9]=Zt,this.int16[Mn+10]=Yt,this.int16[Mn+11]=hn,J},V}(Ji);Mt.prototype.bytesPerElement=24,Dr("StructArrayLayout4i4ui4i24",Mt);var $=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae){var Oe=this.length;return this.resize(Oe+1),this.emplace(Oe,J,fe,Ae)},V.prototype.emplace=function(J,fe,Ae,Oe){var Ge=3*J;return this.float32[Ge+0]=fe,this.float32[Ge+1]=Ae,this.float32[Ge+2]=Oe,J},V}(Ji);$.prototype.bytesPerElement=12,Dr("StructArrayLayout3f12",$);var ee=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J){var fe=this.length;return this.resize(fe+1),this.emplace(fe,J)},V.prototype.emplace=function(J,fe){var Ae=1*J;return this.uint32[Ae+0]=fe,J},V}(Ji);ee.prototype.bytesPerElement=4,Dr("StructArrayLayout1ul4",ee);var K=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,Oe,Ge,it,pt,Ct,Dt){var Gt=this.length;return this.resize(Gt+1),this.emplace(Gt,J,fe,Ae,Oe,Ge,it,pt,Ct,Dt)},V.prototype.emplace=function(J,fe,Ae,Oe,Ge,it,pt,Ct,Dt,Gt){var Zt=10*J,Yt=5*J;return this.int16[Zt+0]=fe,this.int16[Zt+1]=Ae,this.int16[Zt+2]=Oe,this.int16[Zt+3]=Ge,this.int16[Zt+4]=it,this.int16[Zt+5]=pt,this.uint32[Yt+3]=Ct,this.uint16[Zt+8]=Dt,this.uint16[Zt+9]=Gt,J},V}(Ji);K.prototype.bytesPerElement=20,Dr("StructArrayLayout6i1ul2ui20",K);var le=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,Oe,Ge,it){var pt=this.length;return this.resize(pt+1),this.emplace(pt,J,fe,Ae,Oe,Ge,it)},V.prototype.emplace=function(J,fe,Ae,Oe,Ge,it,pt){var Ct=6*J;return this.int16[Ct+0]=fe,this.int16[Ct+1]=Ae,this.int16[Ct+2]=Oe,this.int16[Ct+3]=Ge,this.int16[Ct+4]=it,this.int16[Ct+5]=pt,J},V}(Ji);le.prototype.bytesPerElement=12,Dr("StructArrayLayout2i2i2i12",le);var Te=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,Oe,Ge){var it=this.length;return this.resize(it+1),this.emplace(it,J,fe,Ae,Oe,Ge)},V.prototype.emplace=function(J,fe,Ae,Oe,Ge,it){var pt=4*J,Ct=8*J;return this.float32[pt+0]=fe,this.float32[pt+1]=Ae,this.float32[pt+2]=Oe,this.int16[Ct+6]=Ge,this.int16[Ct+7]=it,J},V}(Ji);Te.prototype.bytesPerElement=16,Dr("StructArrayLayout2f1f2i16",Te);var De=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,Oe){var Ge=this.length;return this.resize(Ge+1),this.emplace(Ge,J,fe,Ae,Oe)},V.prototype.emplace=function(J,fe,Ae,Oe,Ge){var it=12*J,pt=3*J;return this.uint8[it+0]=fe,this.uint8[it+1]=Ae,this.float32[pt+1]=Oe,this.float32[pt+2]=Ge,J},V}(Ji);De.prototype.bytesPerElement=12,Dr("StructArrayLayout2ub2f12",De);var He=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae){var Oe=this.length;return this.resize(Oe+1),this.emplace(Oe,J,fe,Ae)},V.prototype.emplace=function(J,fe,Ae,Oe){var Ge=3*J;return this.uint16[Ge+0]=fe,this.uint16[Ge+1]=Ae,this.uint16[Ge+2]=Oe,J},V}(Ji);He.prototype.bytesPerElement=6,Dr("StructArrayLayout3ui6",He);var Ze=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,Yt,hn,Mn,Nn,Bn,Wn){var Zn=this.length;return this.resize(Zn+1),this.emplace(Zn,J,fe,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,Yt,hn,Mn,Nn,Bn,Wn)},V.prototype.emplace=function(J,fe,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,Yt,hn,Mn,Nn,Bn,Wn,Zn){var er=24*J,sr=12*J,hr=48*J;return this.int16[er+0]=fe,this.int16[er+1]=Ae,this.uint16[er+2]=Oe,this.uint16[er+3]=Ge,this.uint32[sr+2]=it,this.uint32[sr+3]=pt,this.uint32[sr+4]=Ct,this.uint16[er+10]=Dt,this.uint16[er+11]=Gt,this.uint16[er+12]=Zt,this.float32[sr+7]=Yt,this.float32[sr+8]=hn,this.uint8[hr+36]=Mn,this.uint8[hr+37]=Nn,this.uint8[hr+38]=Bn,this.uint32[sr+10]=Wn,this.int16[er+22]=Zn,J},V}(Ji);Ze.prototype.bytesPerElement=48,Dr("StructArrayLayout2i2ui3ul3ui2f3ub1ul1i48",Ze);var at=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,Yt,hn,Mn,Nn,Bn,Wn,Zn,er,sr,hr,Pr,Tr,Nr,Xr,fi,Jr,ci){var ri=this.length;return this.resize(ri+1),this.emplace(ri,J,fe,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,Yt,hn,Mn,Nn,Bn,Wn,Zn,er,sr,hr,Pr,Tr,Nr,Xr,fi,Jr,ci)},V.prototype.emplace=function(J,fe,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,Yt,hn,Mn,Nn,Bn,Wn,Zn,er,sr,hr,Pr,Tr,Nr,Xr,fi,Jr,ci,ri){var Kr=34*J,Di=17*J;return this.int16[Kr+0]=fe,this.int16[Kr+1]=Ae,this.int16[Kr+2]=Oe,this.int16[Kr+3]=Ge,this.int16[Kr+4]=it,this.int16[Kr+5]=pt,this.int16[Kr+6]=Ct,this.int16[Kr+7]=Dt,this.uint16[Kr+8]=Gt,this.uint16[Kr+9]=Zt,this.uint16[Kr+10]=Yt,this.uint16[Kr+11]=hn,this.uint16[Kr+12]=Mn,this.uint16[Kr+13]=Nn,this.uint16[Kr+14]=Bn,this.uint16[Kr+15]=Wn,this.uint16[Kr+16]=Zn,this.uint16[Kr+17]=er,this.uint16[Kr+18]=sr,this.uint16[Kr+19]=hr,this.uint16[Kr+20]=Pr,this.uint16[Kr+21]=Tr,this.uint16[Kr+22]=Nr,this.uint32[Di+12]=Xr,this.float32[Di+13]=fi,this.float32[Di+14]=Jr,this.float32[Di+15]=ci,this.float32[Di+16]=ri,J},V}(Ji);at.prototype.bytesPerElement=68,Dr("StructArrayLayout8i15ui1ul4f68",at);var Tt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J){var fe=this.length;return this.resize(fe+1),this.emplace(fe,J)},V.prototype.emplace=function(J,fe){var Ae=1*J;return this.float32[Ae+0]=fe,J},V}(Ji);Tt.prototype.bytesPerElement=4,Dr("StructArrayLayout1f4",Tt);var At=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae){var Oe=this.length;return this.resize(Oe+1),this.emplace(Oe,J,fe,Ae)},V.prototype.emplace=function(J,fe,Ae,Oe){var Ge=3*J;return this.int16[Ge+0]=fe,this.int16[Ge+1]=Ae,this.int16[Ge+2]=Oe,J},V}(Ji);At.prototype.bytesPerElement=6,Dr("StructArrayLayout3i6",At);var se=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae){var Oe=this.length;return this.resize(Oe+1),this.emplace(Oe,J,fe,Ae)},V.prototype.emplace=function(J,fe,Ae,Oe){var Ge=2*J,it=4*J;return this.uint32[Ge+0]=fe,this.uint16[it+2]=Ae,this.uint16[it+3]=Oe,J},V}(Ji);se.prototype.bytesPerElement=8,Dr("StructArrayLayout1ul2ui8",se);var ve=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe){var Ae=this.length;return this.resize(Ae+1),this.emplace(Ae,J,fe)},V.prototype.emplace=function(J,fe,Ae){var Oe=2*J;return this.uint16[Oe+0]=fe,this.uint16[Oe+1]=Ae,J},V}(Ji);ve.prototype.bytesPerElement=4,Dr("StructArrayLayout2ui4",ve);var Ie=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J){var fe=this.length;return this.resize(fe+1),this.emplace(fe,J)},V.prototype.emplace=function(J,fe){var Ae=1*J;return this.uint16[Ae+0]=fe,J},V}(Ji);Ie.prototype.bytesPerElement=2,Dr("StructArrayLayout1ui2",Ie);var Fe=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe){var Ae=this.length;return this.resize(Ae+1),this.emplace(Ae,J,fe)},V.prototype.emplace=function(J,fe,Ae){var Oe=2*J;return this.float32[Oe+0]=fe,this.float32[Oe+1]=Ae,J},V}(Ji);Fe.prototype.bytesPerElement=8,Dr("StructArrayLayout2f8",Fe);var Ue=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,fe,Ae,Oe){var Ge=this.length;return this.resize(Ge+1),this.emplace(Ge,J,fe,Ae,Oe)},V.prototype.emplace=function(J,fe,Ae,Oe,Ge){var it=4*J;return this.float32[it+0]=fe,this.float32[it+1]=Ae,this.float32[it+2]=Oe,this.float32[it+3]=Ge,J},V}(Ji);Ue.prototype.bytesPerElement=16,Dr("StructArrayLayout4f16",Ue);var We=function(P){function V(){P.apply(this,arguments)}P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V;var J={anchorPointX:{configurable:!0},anchorPointY:{configurable:!0},x1:{configurable:!0},y1:{configurable:!0},x2:{configurable:!0},y2:{configurable:!0},featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0},anchorPoint:{configurable:!0}};return J.anchorPointX.get=function(){return this._structArray.int16[this._pos2+0]},J.anchorPointY.get=function(){return this._structArray.int16[this._pos2+1]},J.x1.get=function(){return this._structArray.int16[this._pos2+2]},J.y1.get=function(){return this._structArray.int16[this._pos2+3]},J.x2.get=function(){return this._structArray.int16[this._pos2+4]},J.y2.get=function(){return this._structArray.int16[this._pos2+5]},J.featureIndex.get=function(){return this._structArray.uint32[this._pos4+3]},J.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+8]},J.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+9]},J.anchorPoint.get=function(){return new a(this.anchorPointX,this.anchorPointY)},Object.defineProperties(V.prototype,J),V}(hl);We.prototype.size=20;var Xe=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new We(this,J)},V}(K);Dr("CollisionBoxArray",Xe);var tt=function(P){function V(){P.apply(this,arguments)}P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V;var J={anchorX:{configurable:!0},anchorY:{configurable:!0},glyphStartIndex:{configurable:!0},numGlyphs:{configurable:!0},vertexStartIndex:{configurable:!0},lineStartIndex:{configurable:!0},lineLength:{configurable:!0},segment:{configurable:!0},lowerSize:{configurable:!0},upperSize:{configurable:!0},lineOffsetX:{configurable:!0},lineOffsetY:{configurable:!0},writingMode:{configurable:!0},placedOrientation:{configurable:!0},hidden:{configurable:!0},crossTileID:{configurable:!0},associatedIconIndex:{configurable:!0}};return J.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},J.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},J.glyphStartIndex.get=function(){return this._structArray.uint16[this._pos2+2]},J.numGlyphs.get=function(){return this._structArray.uint16[this._pos2+3]},J.vertexStartIndex.get=function(){return this._structArray.uint32[this._pos4+2]},J.lineStartIndex.get=function(){return this._structArray.uint32[this._pos4+3]},J.lineLength.get=function(){return this._structArray.uint32[this._pos4+4]},J.segment.get=function(){return this._structArray.uint16[this._pos2+10]},J.lowerSize.get=function(){return this._structArray.uint16[this._pos2+11]},J.upperSize.get=function(){return this._structArray.uint16[this._pos2+12]},J.lineOffsetX.get=function(){return this._structArray.float32[this._pos4+7]},J.lineOffsetY.get=function(){return this._structArray.float32[this._pos4+8]},J.writingMode.get=function(){return this._structArray.uint8[this._pos1+36]},J.placedOrientation.get=function(){return this._structArray.uint8[this._pos1+37]},J.placedOrientation.set=function(fe){this._structArray.uint8[this._pos1+37]=fe},J.hidden.get=function(){return this._structArray.uint8[this._pos1+38]},J.hidden.set=function(fe){this._structArray.uint8[this._pos1+38]=fe},J.crossTileID.get=function(){return this._structArray.uint32[this._pos4+10]},J.crossTileID.set=function(fe){this._structArray.uint32[this._pos4+10]=fe},J.associatedIconIndex.get=function(){return this._structArray.int16[this._pos2+22]},Object.defineProperties(V.prototype,J),V}(hl);tt.prototype.size=48;var lt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new tt(this,J)},V}(Ze);Dr("PlacedSymbolArray",lt);var mt=function(P){function V(){P.apply(this,arguments)}P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V;var J={anchorX:{configurable:!0},anchorY:{configurable:!0},rightJustifiedTextSymbolIndex:{configurable:!0},centerJustifiedTextSymbolIndex:{configurable:!0},leftJustifiedTextSymbolIndex:{configurable:!0},verticalPlacedTextSymbolIndex:{configurable:!0},placedIconSymbolIndex:{configurable:!0},verticalPlacedIconSymbolIndex:{configurable:!0},key:{configurable:!0},textBoxStartIndex:{configurable:!0},textBoxEndIndex:{configurable:!0},verticalTextBoxStartIndex:{configurable:!0},verticalTextBoxEndIndex:{configurable:!0},iconBoxStartIndex:{configurable:!0},iconBoxEndIndex:{configurable:!0},verticalIconBoxStartIndex:{configurable:!0},verticalIconBoxEndIndex:{configurable:!0},featureIndex:{configurable:!0},numHorizontalGlyphVertices:{configurable:!0},numVerticalGlyphVertices:{configurable:!0},numIconVertices:{configurable:!0},numVerticalIconVertices:{configurable:!0},useRuntimeCollisionCircles:{configurable:!0},crossTileID:{configurable:!0},textBoxScale:{configurable:!0},textOffset0:{configurable:!0},textOffset1:{configurable:!0},collisionCircleDiameter:{configurable:!0}};return J.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},J.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},J.rightJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+2]},J.centerJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+3]},J.leftJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+4]},J.verticalPlacedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+5]},J.placedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+6]},J.verticalPlacedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+7]},J.key.get=function(){return this._structArray.uint16[this._pos2+8]},J.textBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+9]},J.textBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+10]},J.verticalTextBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+11]},J.verticalTextBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+12]},J.iconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+13]},J.iconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+14]},J.verticalIconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+15]},J.verticalIconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+16]},J.featureIndex.get=function(){return this._structArray.uint16[this._pos2+17]},J.numHorizontalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+18]},J.numVerticalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+19]},J.numIconVertices.get=function(){return this._structArray.uint16[this._pos2+20]},J.numVerticalIconVertices.get=function(){return this._structArray.uint16[this._pos2+21]},J.useRuntimeCollisionCircles.get=function(){return this._structArray.uint16[this._pos2+22]},J.crossTileID.get=function(){return this._structArray.uint32[this._pos4+12]},J.crossTileID.set=function(fe){this._structArray.uint32[this._pos4+12]=fe},J.textBoxScale.get=function(){return this._structArray.float32[this._pos4+13]},J.textOffset0.get=function(){return this._structArray.float32[this._pos4+14]},J.textOffset1.get=function(){return this._structArray.float32[this._pos4+15]},J.collisionCircleDiameter.get=function(){return this._structArray.float32[this._pos4+16]},Object.defineProperties(V.prototype,J),V}(hl);mt.prototype.size=68;var zt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new mt(this,J)},V}(at);Dr("SymbolInstanceArray",zt);var Ut=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.getoffsetX=function(J){return this.float32[1*J+0]},V}(Tt);Dr("GlyphOffsetArray",Ut);var Ht=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.getx=function(J){return this.int16[3*J+0]},V.prototype.gety=function(J){return this.int16[3*J+1]},V.prototype.gettileUnitDistanceFromAnchor=function(J){return this.int16[3*J+2]},V}(At);Dr("SymbolLineVertexArray",Ht);var en=function(P){function V(){P.apply(this,arguments)}P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V;var J={featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0}};return J.featureIndex.get=function(){return this._structArray.uint32[this._pos4+0]},J.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+2]},J.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+3]},Object.defineProperties(V.prototype,J),V}(hl);en.prototype.size=8;var vn=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new en(this,J)},V}(se);Dr("FeatureIndexArray",vn);var tn=la([{name:"a_pos",components:2,type:"Int16"}],4).members,ln=function(P){P===void 0&&(P=[]),this.segments=P};function an(P,V){return 256*(P=c(Math.floor(P),0,255))+c(Math.floor(V),0,255)}ln.prototype.prepareSegment=function(P,V,J,fe){var Ae=this.segments[this.segments.length-1];return P>ln.MAX_VERTEX_ARRAY_LENGTH&&R("Max vertices per segment is "+ln.MAX_VERTEX_ARRAY_LENGTH+": bucket requested "+P),(!Ae||Ae.vertexLength+P>ln.MAX_VERTEX_ARRAY_LENGTH||Ae.sortKey!==fe)&&(Ae={vertexOffset:V.length,primitiveOffset:J.length,vertexLength:0,primitiveLength:0},fe!==void 0&&(Ae.sortKey=fe),this.segments.push(Ae)),Ae},ln.prototype.get=function(){return this.segments},ln.prototype.destroy=function(){for(var P=0,V=this.segments;P>>16)*it&65535)<<16)&4294967295)<<15|Ct>>>17))*pt+(((Ct>>>16)*pt&65535)<<16)&4294967295)<<13|Oe>>>19))+((5*(Oe>>>16)&65535)<<16)&4294967295))+((58964+(Ge>>>16)&65535)<<16);switch(Ct=0,fe){case 3:Ct^=(255&V.charCodeAt(Dt+2))<<16;case 2:Ct^=(255&V.charCodeAt(Dt+1))<<8;case 1:Oe^=Ct=(65535&(Ct=(Ct=(65535&(Ct^=255&V.charCodeAt(Dt)))*it+(((Ct>>>16)*it&65535)<<16)&4294967295)<<15|Ct>>>17))*pt+(((Ct>>>16)*pt&65535)<<16)&4294967295}return Oe^=V.length,Oe=2246822507*(65535&(Oe^=Oe>>>16))+((2246822507*(Oe>>>16)&65535)<<16)&4294967295,Oe=3266489909*(65535&(Oe^=Oe>>>13))+((3266489909*(Oe>>>16)&65535)<<16)&4294967295,(Oe^=Oe>>>16)>>>0}}),on=M(function(P){P.exports=function(V,J){for(var fe,Ae=V.length,Oe=J^Ae,Ge=0;Ae>=4;)fe=1540483477*(65535&(fe=255&V.charCodeAt(Ge)|(255&V.charCodeAt(++Ge))<<8|(255&V.charCodeAt(++Ge))<<16|(255&V.charCodeAt(++Ge))<<24))+((1540483477*(fe>>>16)&65535)<<16),Oe=1540483477*(65535&Oe)+((1540483477*(Oe>>>16)&65535)<<16)^(fe=1540483477*(65535&(fe^=fe>>>24))+((1540483477*(fe>>>16)&65535)<<16)),Ae-=4,++Ge;switch(Ae){case 3:Oe^=(255&V.charCodeAt(Ge+2))<<16;case 2:Oe^=(255&V.charCodeAt(Ge+1))<<8;case 1:Oe=1540483477*(65535&(Oe^=255&V.charCodeAt(Ge)))+((1540483477*(Oe>>>16)&65535)<<16)}return Oe=1540483477*(65535&(Oe^=Oe>>>13))+((1540483477*(Oe>>>16)&65535)<<16),(Oe^=Oe>>>15)>>>0}}),Fn=_n,Hn=_n,ir=on;Fn.murmur3=Hn,Fn.murmur2=ir;var ar=function(){this.ids=[],this.positions=[],this.indexed=!1};ar.prototype.add=function(P,V,J,fe){this.ids.push(Er(P)),this.positions.push(V,J,fe)},ar.prototype.getPositions=function(P){for(var V=Er(P),J=0,fe=this.ids.length-1;J>1;this.ids[Ae]>=V?fe=Ae:J=Ae+1}for(var Oe=[];this.ids[J]===V;){var Ge=this.positions[3*J],it=this.positions[3*J+1],pt=this.positions[3*J+2];Oe.push({index:Ge,start:it,end:pt}),J++}return Oe},ar.serialize=function(P,V){var J=new Float64Array(P.ids),fe=new Uint32Array(P.positions);return xr(J,fe,0,J.length-1),V&&V.push(J.buffer,fe.buffer),{ids:J,positions:fe}},ar.deserialize=function(P){var V=new ar;return V.ids=P.ids,V.positions=P.positions,V.indexed=!0,V};var Mr=Math.pow(2,53)-1;function Er(P){var V=+P;return!isNaN(V)&&V<=Mr?V:Fn(String(P))}function xr(P,V,J,fe){for(;J>1],Oe=J-1,Ge=fe+1;;){do Oe++;while(P[Oe]Ae);if(Oe>=Ge)break;kr(P,Oe,Ge),kr(V,3*Oe,3*Ge),kr(V,3*Oe+1,3*Ge+1),kr(V,3*Oe+2,3*Ge+2)}Ge-J_o.max||Ge.y<_o.min||Ge.y>_o.max)&&(R("Geometry exceeds allowed extent, reduce your vector tile buffer size"),Ge.x=c(Ge.x,_o.min,_o.max),Ge.y=c(Ge.y,_o.min,_o.max))}return J}function Ds(P,V,J,fe,Ae){P.emplaceBack(2*V+(fe+1)/2,2*J+(Ae+1)/2)}var Ri=function(P){this.zoom=P.zoom,this.overscaling=P.overscaling,this.layers=P.layers,this.layerIds=this.layers.map(function(V){return V.id}),this.index=P.index,this.hasPattern=!1,this.layoutVertexArray=new et,this.indexArray=new He,this.segments=new ln,this.programConfigurations=new Ia(tn,P.layers,P.zoom),this.stateDependentLayerIds=this.layers.filter(function(V){return V.isStateDependent()}).map(function(V){return V.id})};function Xa(P,V){for(var J=0;J1){if(L0(P,V))return!0;for(var fe=0;fe1?P.distSqr(J):P.distSqr(J.sub(V)._mult(Ae)._add(V))}function od(P,V){for(var J,fe,Ae,Oe=!1,Ge=0;GeV.y!=Ae.y>V.y&&V.x<(Ae.x-fe.x)*(V.y-fe.y)/(Ae.y-fe.y)+fe.x&&(Oe=!Oe);return Oe}function wh(P,V){for(var J=!1,fe=0,Ae=P.length-1;feV.y!=Ge.y>V.y&&V.x<(Ge.x-Oe.x)*(V.y-Oe.y)/(Ge.y-Oe.y)+Oe.x&&(J=!J)}return J}function p1(P,V,J){var fe=J[0],Ae=J[2];if(P.xAe.x&&V.x>Ae.x||P.yAe.y&&V.y>Ae.y)return!1;var Oe=I(P,V,J[0]);return Oe!==I(P,V,J[1])||Oe!==I(P,V,J[2])||Oe!==I(P,V,J[3])}function Ff(P,V,J){var fe=V.paint.get(P).value;return fe.kind==="constant"?fe.value:J.programConfigurations.get(V.id).getMaxValue(P)}function dg(P){return Math.sqrt(P[0]*P[0]+P[1]*P[1])}function pg(P,V,J,fe,Ae){if(!V[0]&&!V[1])return P;var Oe=a.convert(V)._mult(Ae);J==="viewport"&&Oe._rotate(-fe);for(var Ge=[],it=0;it=ui||Dt<0||Dt>=ui)){var Gt=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray,P.sortKey),Zt=Gt.vertexLength;Ds(this.layoutVertexArray,Ct,Dt,-1,-1),Ds(this.layoutVertexArray,Ct,Dt,1,-1),Ds(this.layoutVertexArray,Ct,Dt,1,1),Ds(this.layoutVertexArray,Ct,Dt,-1,1),this.indexArray.emplaceBack(Zt,Zt+1,Zt+2),this.indexArray.emplaceBack(Zt,Zt+3,Zt+2),Gt.vertexLength+=4,Gt.primitiveLength+=2}}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,P,J,{},fe)},Dr("CircleBucket",Ri,{omit:["layers"]});var wS=new xo({"circle-sort-key":new ni(Re.layout_circle["circle-sort-key"])}),TS={paint:new xo({"circle-radius":new ni(Re.paint_circle["circle-radius"]),"circle-color":new ni(Re.paint_circle["circle-color"]),"circle-blur":new ni(Re.paint_circle["circle-blur"]),"circle-opacity":new ni(Re.paint_circle["circle-opacity"]),"circle-translate":new Gr(Re.paint_circle["circle-translate"]),"circle-translate-anchor":new Gr(Re.paint_circle["circle-translate-anchor"]),"circle-pitch-scale":new Gr(Re.paint_circle["circle-pitch-scale"]),"circle-pitch-alignment":new Gr(Re.paint_circle["circle-pitch-alignment"]),"circle-stroke-width":new ni(Re.paint_circle["circle-stroke-width"]),"circle-stroke-color":new ni(Re.paint_circle["circle-stroke-color"]),"circle-stroke-opacity":new ni(Re.paint_circle["circle-stroke-opacity"])}),layout:wS},Fl=typeof Float32Array<"u"?Float32Array:Array;function m1(P){return P[0]=1,P[1]=0,P[2]=0,P[3]=0,P[4]=0,P[5]=1,P[6]=0,P[7]=0,P[8]=0,P[9]=0,P[10]=1,P[11]=0,P[12]=0,P[13]=0,P[14]=0,P[15]=1,P}function L_(P,V,J){var fe=V[0],Ae=V[1],Oe=V[2],Ge=V[3],it=V[4],pt=V[5],Ct=V[6],Dt=V[7],Gt=V[8],Zt=V[9],Yt=V[10],hn=V[11],Mn=V[12],Nn=V[13],Bn=V[14],Wn=V[15],Zn=J[0],er=J[1],sr=J[2],hr=J[3];return P[0]=Zn*fe+er*it+sr*Gt+hr*Mn,P[1]=Zn*Ae+er*pt+sr*Zt+hr*Nn,P[2]=Zn*Oe+er*Ct+sr*Yt+hr*Bn,P[3]=Zn*Ge+er*Dt+sr*hn+hr*Wn,Zn=J[4],er=J[5],sr=J[6],hr=J[7],P[4]=Zn*fe+er*it+sr*Gt+hr*Mn,P[5]=Zn*Ae+er*pt+sr*Zt+hr*Nn,P[6]=Zn*Oe+er*Ct+sr*Yt+hr*Bn,P[7]=Zn*Ge+er*Dt+sr*hn+hr*Wn,Zn=J[8],er=J[9],sr=J[10],hr=J[11],P[8]=Zn*fe+er*it+sr*Gt+hr*Mn,P[9]=Zn*Ae+er*pt+sr*Zt+hr*Nn,P[10]=Zn*Oe+er*Ct+sr*Yt+hr*Bn,P[11]=Zn*Ge+er*Dt+sr*hn+hr*Wn,Zn=J[12],er=J[13],sr=J[14],hr=J[15],P[12]=Zn*fe+er*it+sr*Gt+hr*Mn,P[13]=Zn*Ae+er*pt+sr*Zt+hr*Nn,P[14]=Zn*Oe+er*Ct+sr*Yt+hr*Bn,P[15]=Zn*Ge+er*Dt+sr*hn+hr*Wn,P}Math.hypot||(Math.hypot=function(){for(var P=arguments,V=0,J=arguments.length;J--;)V+=P[J]*P[J];return Math.sqrt(V)});var kS=L_,mg,MS=function(P,V,J){return P[0]=V[0]-J[0],P[1]=V[1]-J[1],P[2]=V[2]-J[2],P};function gg(P,V,J){var fe=V[0],Ae=V[1],Oe=V[2],Ge=V[3];return P[0]=J[0]*fe+J[4]*Ae+J[8]*Oe+J[12]*Ge,P[1]=J[1]*fe+J[5]*Ae+J[9]*Oe+J[13]*Ge,P[2]=J[2]*fe+J[6]*Ae+J[10]*Oe+J[14]*Ge,P[3]=J[3]*fe+J[7]*Ae+J[11]*Oe+J[15]*Ge,P}mg=new Fl(3),Fl!=Float32Array&&(mg[0]=0,mg[1]=0,mg[2]=0),function(){var P=new Fl(4);Fl!=Float32Array&&(P[0]=0,P[1]=0,P[2]=0,P[3]=0)}();var AS=function(P){var V=P[0],J=P[1];return V*V+J*J},SS=(function(){var P=new Fl(2);Fl!=Float32Array&&(P[0]=0,P[1]=0)}(),function(P){function V(J){P.call(this,J,TS)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.createBucket=function(J){return new Ri(J)},V.prototype.queryRadius=function(J){var fe=J;return Ff("circle-radius",this,fe)+Ff("circle-stroke-width",this,fe)+dg(this.paint.get("circle-translate"))},V.prototype.queryIntersectsFeature=function(J,fe,Ae,Oe,Ge,it,pt,Ct){for(var Dt=pg(J,this.paint.get("circle-translate"),this.paint.get("circle-translate-anchor"),it.angle,pt),Gt=this.paint.get("circle-radius").evaluate(fe,Ae)+this.paint.get("circle-stroke-width").evaluate(fe,Ae),Zt=this.paint.get("circle-pitch-alignment")==="map",Yt=Zt?Dt:function(Pr,Tr){return Pr.map(function(Nr){return I_(Nr,Tr)})}(Dt,Ct),hn=Zt?Gt*pt:Gt,Mn=0,Nn=Oe;MnP.width||Ae.height>P.height||J.x>P.width-Ae.width||J.y>P.height-Ae.height)throw new RangeError("out of range source coordinates for image copy");if(Ae.width>V.width||Ae.height>V.height||fe.x>V.width-Ae.width||fe.y>V.height-Ae.height)throw new RangeError("out of range destination coordinates for image copy");for(var Ge=P.data,it=V.data,pt=0;pt80*J){fe=Oe=P[0],Ae=Ge=P[1];for(var hn=J;hnOe&&(Oe=it),pt>Ge&&(Ge=pt);Ct=(Ct=Math.max(Oe-fe,Ge-Ae))!==0?1/Ct:0}return I0(Zt,Yt,J,fe,Ae,Ct),Yt}function z_(P,V,J,fe,Ae){var Oe,Ge;if(Ae===_1(P,V,J,fe)>0)for(Oe=V;Oe=V;Oe-=fe)Ge=N_(Oe,P[Oe],P[Oe+1],Ge);return Ge&&yg(Ge,Ge.next)&&(P0(Ge),Ge=Ge.next),Ge}function Th(P,V){if(!P)return P;V||(V=P);var J,fe=P;do if(J=!1,fe.steiner||!yg(fe,fe.next)&&wo(fe.prev,fe,fe.next)!==0)fe=fe.next;else{if(P0(fe),(fe=V=fe.prev)===fe.next)break;J=!0}while(J||fe!==V);return V}function I0(P,V,J,fe,Ae,Oe,Ge){if(P){!Ge&&Oe&&function(Dt,Gt,Zt,Yt){var hn=Dt;do hn.z===null&&(hn.z=b1(hn.x,hn.y,Gt,Zt,Yt)),hn.prevZ=hn.prev,hn.nextZ=hn.next,hn=hn.next;while(hn!==Dt);hn.prevZ.nextZ=null,hn.prevZ=null,function(Mn){var Nn,Bn,Wn,Zn,er,sr,hr,Pr,Tr=1;do{for(Bn=Mn,Mn=null,er=null,sr=0;Bn;){for(sr++,Wn=Bn,hr=0,Nn=0;Nn0||Pr>0&&Wn;)hr!==0&&(Pr===0||!Wn||Bn.z<=Wn.z)?(Zn=Bn,Bn=Bn.nextZ,hr--):(Zn=Wn,Wn=Wn.nextZ,Pr--),er?er.nextZ=Zn:Mn=Zn,Zn.prevZ=er,er=Zn;Bn=Wn}er.nextZ=null,Tr*=2}while(sr>1)}(hn)}(P,fe,Ae,Oe);for(var it,pt,Ct=P;P.prev!==P.next;)if(it=P.prev,pt=P.next,Oe?OS(P,fe,Ae,Oe):PS(P))V.push(it.i/J),V.push(P.i/J),V.push(pt.i/J),P0(P),P=pt.next,Ct=pt.next;else if((P=pt)===Ct){Ge?Ge===1?I0(P=DS(Th(P),V,J),V,J,fe,Ae,Oe,2):Ge===2&&zS(P,V,J,fe,Ae,Oe):I0(Th(P),V,J,fe,Ae,Oe,1);break}}}function PS(P){var V=P.prev,J=P,fe=P.next;if(wo(V,J,fe)>=0)return!1;for(var Ae=P.next.next;Ae!==P.prev;){if(ap(V.x,V.y,J.x,J.y,fe.x,fe.y,Ae.x,Ae.y)&&wo(Ae.prev,Ae,Ae.next)>=0)return!1;Ae=Ae.next}return!0}function OS(P,V,J,fe){var Ae=P.prev,Oe=P,Ge=P.next;if(wo(Ae,Oe,Ge)>=0)return!1;for(var it=Ae.xOe.x?Ae.x>Ge.x?Ae.x:Ge.x:Oe.x>Ge.x?Oe.x:Ge.x,Dt=Ae.y>Oe.y?Ae.y>Ge.y?Ae.y:Ge.y:Oe.y>Ge.y?Oe.y:Ge.y,Gt=b1(it,pt,V,J,fe),Zt=b1(Ct,Dt,V,J,fe),Yt=P.prevZ,hn=P.nextZ;Yt&&Yt.z>=Gt&&hn&&hn.z<=Zt;){if(Yt!==P.prev&&Yt!==P.next&&ap(Ae.x,Ae.y,Oe.x,Oe.y,Ge.x,Ge.y,Yt.x,Yt.y)&&wo(Yt.prev,Yt,Yt.next)>=0||(Yt=Yt.prevZ,hn!==P.prev&&hn!==P.next&&ap(Ae.x,Ae.y,Oe.x,Oe.y,Ge.x,Ge.y,hn.x,hn.y)&&wo(hn.prev,hn,hn.next)>=0))return!1;hn=hn.nextZ}for(;Yt&&Yt.z>=Gt;){if(Yt!==P.prev&&Yt!==P.next&&ap(Ae.x,Ae.y,Oe.x,Oe.y,Ge.x,Ge.y,Yt.x,Yt.y)&&wo(Yt.prev,Yt,Yt.next)>=0)return!1;Yt=Yt.prevZ}for(;hn&&hn.z<=Zt;){if(hn!==P.prev&&hn!==P.next&&ap(Ae.x,Ae.y,Oe.x,Oe.y,Ge.x,Ge.y,hn.x,hn.y)&&wo(hn.prev,hn,hn.next)>=0)return!1;hn=hn.nextZ}return!0}function DS(P,V,J){var fe=P;do{var Ae=fe.prev,Oe=fe.next.next;!yg(Ae,Oe)&&F_(Ae,fe,fe.next,Oe)&&R0(Ae,Oe)&&R0(Oe,Ae)&&(V.push(Ae.i/J),V.push(fe.i/J),V.push(Oe.i/J),P0(fe),P0(fe.next),fe=P=Oe),fe=fe.next}while(fe!==P);return Th(fe)}function zS(P,V,J,fe,Ae,Oe){var Ge=P;do{for(var it=Ge.next.next;it!==Ge.prev;){if(Ge.i!==it.i&&jS(Ge,it)){var pt=B_(Ge,it);return Ge=Th(Ge,Ge.next),pt=Th(pt,pt.next),I0(Ge,V,J,fe,Ae,Oe),void I0(pt,V,J,fe,Ae,Oe)}it=it.next}Ge=Ge.next}while(Ge!==P)}function FS(P,V){return P.x-V.x}function BS(P,V){if(V=function(fe,Ae){var Oe,Ge=Ae,it=fe.x,pt=fe.y,Ct=-1/0;do{if(pt<=Ge.y&&pt>=Ge.next.y&&Ge.next.y!==Ge.y){var Dt=Ge.x+(pt-Ge.y)*(Ge.next.x-Ge.x)/(Ge.next.y-Ge.y);if(Dt<=it&&Dt>Ct){if(Ct=Dt,Dt===it){if(pt===Ge.y)return Ge;if(pt===Ge.next.y)return Ge.next}Oe=Ge.x=Ge.x&&Ge.x>=Yt&&it!==Ge.x&&ap(ptOe.x||Ge.x===Oe.x&&NS(Oe,Ge)))&&(Oe=Ge,Mn=Gt)),Ge=Ge.next;while(Ge!==Zt);return Oe}(P,V)){var J=B_(V,P);Th(V,V.next),Th(J,J.next)}}function NS(P,V){return wo(P.prev,P,V.prev)<0&&wo(V.next,P,P.next)<0}function b1(P,V,J,fe,Ae){return(P=1431655765&((P=858993459&((P=252645135&((P=16711935&((P=32767*(P-J)*Ae)|P<<8))|P<<4))|P<<2))|P<<1))|(V=1431655765&((V=858993459&((V=252645135&((V=16711935&((V=32767*(V-fe)*Ae)|V<<8))|V<<4))|V<<2))|V<<1))<<1}function VS(P){var V=P,J=P;do(V.x=0&&(P-Ge)*(fe-it)-(J-Ge)*(V-it)>=0&&(J-Ge)*(Oe-it)-(Ae-Ge)*(fe-it)>=0}function jS(P,V){return P.next.i!==V.i&&P.prev.i!==V.i&&!function(J,fe){var Ae=J;do{if(Ae.i!==J.i&&Ae.next.i!==J.i&&Ae.i!==fe.i&&Ae.next.i!==fe.i&&F_(Ae,Ae.next,J,fe))return!0;Ae=Ae.next}while(Ae!==J);return!1}(P,V)&&(R0(P,V)&&R0(V,P)&&function(J,fe){var Ae=J,Oe=!1,Ge=(J.x+fe.x)/2,it=(J.y+fe.y)/2;do Ae.y>it!=Ae.next.y>it&&Ae.next.y!==Ae.y&&Ge<(Ae.next.x-Ae.x)*(it-Ae.y)/(Ae.next.y-Ae.y)+Ae.x&&(Oe=!Oe),Ae=Ae.next;while(Ae!==J);return Oe}(P,V)&&(wo(P.prev,P,V.prev)||wo(P,V.prev,V))||yg(P,V)&&wo(P.prev,P,P.next)>0&&wo(V.prev,V,V.next)>0)}function wo(P,V,J){return(V.y-P.y)*(J.x-V.x)-(V.x-P.x)*(J.y-V.y)}function yg(P,V){return P.x===V.x&&P.y===V.y}function F_(P,V,J,fe){var Ae=xg(wo(P,V,J)),Oe=xg(wo(P,V,fe)),Ge=xg(wo(J,fe,P)),it=xg(wo(J,fe,V));return Ae!==Oe&&Ge!==it||!(Ae!==0||!bg(P,J,V))||!(Oe!==0||!bg(P,fe,V))||!(Ge!==0||!bg(J,P,fe))||!(it!==0||!bg(J,V,fe))}function bg(P,V,J){return V.x<=Math.max(P.x,J.x)&&V.x>=Math.min(P.x,J.x)&&V.y<=Math.max(P.y,J.y)&&V.y>=Math.min(P.y,J.y)}function xg(P){return P>0?1:P<0?-1:0}function R0(P,V){return wo(P.prev,P,P.next)<0?wo(P,V,P.next)>=0&&wo(P,P.prev,V)>=0:wo(P,V,P.prev)<0||wo(P,P.next,V)<0}function B_(P,V){var J=new x1(P.i,P.x,P.y),fe=new x1(V.i,V.x,V.y),Ae=P.next,Oe=V.prev;return P.next=V,V.prev=P,J.next=Ae,Ae.prev=J,fe.next=J,J.prev=fe,Oe.next=fe,fe.prev=Oe,fe}function N_(P,V,J,fe){var Ae=new x1(P,V,J);return fe?(Ae.next=fe.next,Ae.prev=fe,fe.next.prev=Ae,fe.next=Ae):(Ae.prev=Ae,Ae.next=Ae),Ae}function P0(P){P.next.prev=P.prev,P.prev.next=P.next,P.prevZ&&(P.prevZ.nextZ=P.nextZ),P.nextZ&&(P.nextZ.prevZ=P.prevZ)}function x1(P,V,J){this.i=P,this.x=V,this.y=J,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function _1(P,V,J,fe){for(var Ae=0,Oe=V,Ge=J-fe;OeJ;){if(fe-J>600){var Oe=fe-J+1,Ge=V-J+1,it=Math.log(Oe),pt=.5*Math.exp(2*it/3),Ct=.5*Math.sqrt(it*pt*(Oe-pt)/Oe)*(Ge-Oe/2<0?-1:1);V_(P,V,Math.max(J,Math.floor(V-Ge*pt/Oe+Ct)),Math.min(fe,Math.floor(V+(Oe-Ge)*pt/Oe+Ct)),Ae)}var Dt=P[V],Gt=J,Zt=fe;for(O0(P,J,V),Ae(P[fe],Dt)>0&&O0(P,J,fe);Gt0;)Zt--}Ae(P[J],Dt)===0?O0(P,J,Zt):O0(P,++Zt,fe),Zt<=V&&(J=Zt+1),V<=Zt&&(fe=Zt-1)}}function O0(P,V,J){var fe=P[V];P[V]=P[J],P[J]=fe}function HS(P,V){return PV?1:0}function w1(P,V){var J=P.length;if(J<=1)return[P];for(var fe,Ae,Oe=[],Ge=0;Ge1)for(var pt=0;pt0&&(fe+=P[Ae-1].length,J.holes.push(fe))}return J},y1.default=RS;var kc=function(P){this.zoom=P.zoom,this.overscaling=P.overscaling,this.layers=P.layers,this.layerIds=this.layers.map(function(V){return V.id}),this.index=P.index,this.hasPattern=!1,this.patternFeatures=[],this.layoutVertexArray=new et,this.indexArray=new He,this.indexArray2=new ve,this.programConfigurations=new Ia(D_,P.layers,P.zoom),this.segments=new ln,this.segments2=new ln,this.stateDependentLayerIds=this.layers.filter(function(V){return V.isStateDependent()}).map(function(V){return V.id})};kc.prototype.populate=function(P,V,J){this.hasPattern=T1("fill",this.layers,V);for(var fe=this.layers[0].layout.get("fill-sort-key"),Ae=[],Oe=0,Ge=P;Oe>3}if(Ae--,fe===1||fe===2)Oe+=P.readSVarint(),Ge+=P.readSVarint(),fe===1&&(V&&it.push(V),V=[]),V.push(new a(Oe,Ge));else{if(fe!==7)throw new Error("unknown command "+fe);V&&V.push(V[0].clone())}}return V&&it.push(V),it},op.prototype.bbox=function(){var P=this._pbf;P.pos=this._geometry;for(var V=P.readVarint()+P.pos,J=1,fe=0,Ae=0,Oe=0,Ge=1/0,it=-1/0,pt=1/0,Ct=-1/0;P.pos>3}if(fe--,J===1||J===2)(Ae+=P.readSVarint())it&&(it=Ae),(Oe+=P.readSVarint())Ct&&(Ct=Oe);else if(J!==7)throw new Error("unknown command "+J)}return[Ge,pt,it,Ct]},op.prototype.toGeoJSON=function(P,V,J){var fe,Ae,Oe=this.extent*Math.pow(2,J),Ge=this.extent*P,it=this.extent*V,pt=this.loadGeometry(),Ct=op.types[this.type];function Dt(Yt){for(var hn=0;hn>3;Ae=Ge===1?fe.readString():Ge===2?fe.readFloat():Ge===3?fe.readDouble():Ge===4?fe.readVarint64():Ge===5?fe.readVarint():Ge===6?fe.readSVarint():Ge===7?fe.readBoolean():null}return Ae}(J))}function KS(P,V,J){if(P===3){var fe=new H_(J,J.readVarint()+J.pos);fe.length&&(V[fe.name]=fe)}}G_.prototype.feature=function(P){if(P<0||P>=this._features.length)throw new Error("feature index out of bounds");this._pbf.pos=this._features[P];var V=this._pbf.readVarint()+this._pbf.pos;return new U_(this._pbf,V,this.extent,this._keys,this._values)};var sp={VectorTile:function(P,V){this.layers=P.readFields(KS,{},V)},VectorTileFeature:U_,VectorTileLayer:H_},JS=sp.VectorTileFeature.types,M1=Math.pow(2,13);function D0(P,V,J,fe,Ae,Oe,Ge,it){P.emplaceBack(V,J,2*Math.floor(fe*M1)+Ge,Ae*M1*2,Oe*M1*2,Math.round(it))}var Mc=function(P){this.zoom=P.zoom,this.overscaling=P.overscaling,this.layers=P.layers,this.layerIds=this.layers.map(function(V){return V.id}),this.index=P.index,this.hasPattern=!1,this.layoutVertexArray=new ct,this.indexArray=new He,this.programConfigurations=new Ia(j_,P.layers,P.zoom),this.segments=new ln,this.stateDependentLayerIds=this.layers.filter(function(V){return V.isStateDependent()}).map(function(V){return V.id})};function QS(P,V){return P.x===V.x&&(P.x<0||P.x>ui)||P.y===V.y&&(P.y<0||P.y>ui)}Mc.prototype.populate=function(P,V,J){this.features=[],this.hasPattern=T1("fill-extrusion",this.layers,V);for(var fe=0,Ae=P;feui})||Di.every(function(pi){return pi.y<0})||Di.every(function(pi){return pi.y>ui})))for(var Mn=0,Nn=0;Nn=1){var Wn=hn[Nn-1];if(!QS(Bn,Wn)){Gt.vertexLength+4>ln.MAX_VERTEX_ARRAY_LENGTH&&(Gt=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray));var Zn=Bn.sub(Wn)._perp()._unit(),er=Wn.dist(Bn);Mn+er>32768&&(Mn=0),D0(this.layoutVertexArray,Bn.x,Bn.y,Zn.x,Zn.y,0,0,Mn),D0(this.layoutVertexArray,Bn.x,Bn.y,Zn.x,Zn.y,0,1,Mn),Mn+=er,D0(this.layoutVertexArray,Wn.x,Wn.y,Zn.x,Zn.y,0,0,Mn),D0(this.layoutVertexArray,Wn.x,Wn.y,Zn.x,Zn.y,0,1,Mn);var sr=Gt.vertexLength;this.indexArray.emplaceBack(sr,sr+2,sr+1),this.indexArray.emplaceBack(sr+1,sr+2,sr+3),Gt.vertexLength+=4,Gt.primitiveLength+=2}}}}if(Gt.vertexLength+pt>ln.MAX_VERTEX_ARRAY_LENGTH&&(Gt=this.segments.prepareSegment(pt,this.layoutVertexArray,this.indexArray)),JS[P.type]==="Polygon"){for(var hr=[],Pr=[],Tr=Gt.vertexLength,Nr=0,Xr=it;Nr=2&&P[pt-1].equals(P[pt-2]);)pt--;for(var Ct=0;Ct0;if(Pr&&Bn>Ct){var Nr=Dt.dist(Yt);if(Nr>2*Gt){var Xr=Dt.sub(Dt.sub(Yt)._mult(Gt/Nr)._round());this.updateDistance(Yt,Xr),this.addCurrentVertex(Xr,Mn,0,0,Zt),Yt=Xr}}var fi=Yt&&hn,Jr=fi?J:it?"butt":fe;if(fi&&Jr==="round"&&(srAe&&(Jr="bevel"),Jr==="bevel"&&(sr>2&&(Jr="flipbevel"),sr100)Wn=Nn.mult(-1);else{var ci=sr*Mn.add(Nn).mag()/Mn.sub(Nn).mag();Wn._perp()._mult(ci*(Tr?-1:1))}this.addCurrentVertex(Dt,Wn,0,0,Zt),this.addCurrentVertex(Dt,Wn.mult(-1),0,0,Zt)}else if(Jr==="bevel"||Jr==="fakeround"){var ri=-Math.sqrt(sr*sr-1),Kr=Tr?ri:0,Di=Tr?0:ri;if(Yt&&this.addCurrentVertex(Dt,Mn,Kr,Di,Zt),Jr==="fakeround")for(var pi=Math.round(180*hr/Math.PI/20),va=1;va2*Gt){var ya=Dt.add(hn.sub(Dt)._mult(Gt/Pa)._round());this.updateDistance(Dt,ya),this.addCurrentVertex(ya,Nn,0,0,Zt),Dt=ya}}}}},$s.prototype.addCurrentVertex=function(P,V,J,fe,Ae,Oe){Oe===void 0&&(Oe=!1);var Ge=V.x+V.y*J,it=V.y-V.x*J,pt=-V.x+V.y*fe,Ct=-V.y-V.x*fe;this.addHalfVertex(P,Ge,it,Oe,!1,J,Ae),this.addHalfVertex(P,pt,Ct,Oe,!0,-fe,Ae),this.distance>$_/2&&this.totalDistance===0&&(this.distance=0,this.addCurrentVertex(P,V,J,fe,Ae,Oe))},$s.prototype.addHalfVertex=function(P,V,J,fe,Ae,Oe,Ge){var it=P.x,pt=P.y,Ct=.5*this.scaledDistance;this.layoutVertexArray.emplaceBack((it<<1)+(fe?1:0),(pt<<1)+(Ae?1:0),Math.round(63*V)+128,Math.round(63*J)+128,1+(Oe===0?0:Oe<0?-1:1)|(63&Ct)<<2,Ct>>6);var Dt=Ge.vertexLength++;this.e1>=0&&this.e2>=0&&(this.indexArray.emplaceBack(this.e1,this.e2,Dt),Ge.primitiveLength++),Ae?this.e2=Dt:this.e1=Dt},$s.prototype.updateScaledDistance=function(){this.scaledDistance=this.totalDistance>0?(this.clipStart+(this.clipEnd-this.clipStart)*this.distance/this.totalDistance)*($_-1):this.distance},$s.prototype.updateDistance=function(P,V){this.distance+=P.dist(V),this.updateScaledDistance()},Dr("LineBucket",$s,{omit:["layers","patternFeatures"]});var iC=new xo({"line-cap":new Gr(Re.layout_line["line-cap"]),"line-join":new ni(Re.layout_line["line-join"]),"line-miter-limit":new Gr(Re.layout_line["line-miter-limit"]),"line-round-limit":new Gr(Re.layout_line["line-round-limit"]),"line-sort-key":new ni(Re.layout_line["line-sort-key"])}),Y_={paint:new xo({"line-opacity":new ni(Re.paint_line["line-opacity"]),"line-color":new ni(Re.paint_line["line-color"]),"line-translate":new Gr(Re.paint_line["line-translate"]),"line-translate-anchor":new Gr(Re.paint_line["line-translate-anchor"]),"line-width":new ni(Re.paint_line["line-width"]),"line-gap-width":new ni(Re.paint_line["line-gap-width"]),"line-offset":new ni(Re.paint_line["line-offset"]),"line-blur":new ni(Re.paint_line["line-blur"]),"line-dasharray":new fl(Re.paint_line["line-dasharray"]),"line-pattern":new ju(Re.paint_line["line-pattern"]),"line-gradient":new Os(Re.paint_line["line-gradient"])}),layout:iC},aC=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.possiblyEvaluate=function(J,fe){return fe=new Wi(Math.floor(fe.zoom),{now:fe.now,fadeDuration:fe.fadeDuration,zoomHistory:fe.zoomHistory,transition:fe.transition}),P.prototype.possiblyEvaluate.call(this,J,fe)},V.prototype.evaluate=function(J,fe,Ae,Oe){return fe=p({},fe,{zoom:Math.floor(fe.zoom)}),P.prototype.evaluate.call(this,J,fe,Ae,Oe)},V}(ni),Z_=new aC(Y_.paint.properties["line-width"].specification);Z_.useIntegerZoom=!0;var oC=function(P){function V(J){P.call(this,J,Y_)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._handleSpecialPaintPropertyUpdate=function(J){J==="line-gradient"&&this._updateGradient()},V.prototype._updateGradient=function(){var J=this._transitionablePaint._values["line-gradient"].value.expression;this.gradient=O_(J,"lineProgress"),this.gradientTexture=null},V.prototype.recalculate=function(J,fe){P.prototype.recalculate.call(this,J,fe),this.paint._values["line-floorwidth"]=Z_.possiblyEvaluate(this._transitioningPaint._values["line-width"].value,J)},V.prototype.createBucket=function(J){return new $s(J)},V.prototype.queryRadius=function(J){var fe=J,Ae=X_(Ff("line-width",this,fe),Ff("line-gap-width",this,fe)),Oe=Ff("line-offset",this,fe);return Ae/2+Math.abs(Oe)+dg(this.paint.get("line-translate"))},V.prototype.queryIntersectsFeature=function(J,fe,Ae,Oe,Ge,it,pt){var Ct=pg(J,this.paint.get("line-translate"),this.paint.get("line-translate-anchor"),it.angle,pt),Dt=pt/2*X_(this.paint.get("line-width").evaluate(fe,Ae),this.paint.get("line-gap-width").evaluate(fe,Ae)),Gt=this.paint.get("line-offset").evaluate(fe,Ae);return Gt&&(Oe=function(Zt,Yt){for(var hn=[],Mn=new a(0,0),Nn=0;Nn=3){for(var Bn=0;Bn0?V+2*P:P}var A1=la([{name:"a_pos_offset",components:4,type:"Int16"},{name:"a_data",components:4,type:"Uint16"},{name:"a_pixeloffset",components:4,type:"Int16"}],4),sC=la([{name:"a_projected_pos",components:3,type:"Float32"}],4),lC=(la([{name:"a_fade_opacity",components:1,type:"Uint32"}],4),la([{name:"a_placed",components:2,type:"Uint8"},{name:"a_shift",components:2,type:"Float32"}])),K_=(la([{type:"Int16",name:"anchorPointX"},{type:"Int16",name:"anchorPointY"},{type:"Int16",name:"x1"},{type:"Int16",name:"y1"},{type:"Int16",name:"x2"},{type:"Int16",name:"y2"},{type:"Uint32",name:"featureIndex"},{type:"Uint16",name:"sourceLayerIndex"},{type:"Uint16",name:"bucketIndex"}]),la([{name:"a_pos",components:2,type:"Int16"},{name:"a_anchor_pos",components:2,type:"Int16"},{name:"a_extrude",components:2,type:"Int16"}],4)),uC=la([{name:"a_pos",components:2,type:"Float32"},{name:"a_radius",components:1,type:"Float32"},{name:"a_flags",components:2,type:"Int16"}],4);function cC(P,V,J){return P.sections.forEach(function(fe){fe.text=function(Ae,Oe,Ge){var it=Oe.layout.get("text-transform").evaluate(Ge,{});return it==="uppercase"?Ae=Ae.toLocaleUpperCase():it==="lowercase"&&(Ae=Ae.toLocaleLowerCase()),Bo.applyArabicShaping&&(Ae=Bo.applyArabicShaping(Ae)),Ae}(fe.text,V,J)}),P}la([{name:"triangle",components:3,type:"Uint16"}]),la([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Uint16",name:"glyphStartIndex"},{type:"Uint16",name:"numGlyphs"},{type:"Uint32",name:"vertexStartIndex"},{type:"Uint32",name:"lineStartIndex"},{type:"Uint32",name:"lineLength"},{type:"Uint16",name:"segment"},{type:"Uint16",name:"lowerSize"},{type:"Uint16",name:"upperSize"},{type:"Float32",name:"lineOffsetX"},{type:"Float32",name:"lineOffsetY"},{type:"Uint8",name:"writingMode"},{type:"Uint8",name:"placedOrientation"},{type:"Uint8",name:"hidden"},{type:"Uint32",name:"crossTileID"},{type:"Int16",name:"associatedIconIndex"}]),la([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Int16",name:"rightJustifiedTextSymbolIndex"},{type:"Int16",name:"centerJustifiedTextSymbolIndex"},{type:"Int16",name:"leftJustifiedTextSymbolIndex"},{type:"Int16",name:"verticalPlacedTextSymbolIndex"},{type:"Int16",name:"placedIconSymbolIndex"},{type:"Int16",name:"verticalPlacedIconSymbolIndex"},{type:"Uint16",name:"key"},{type:"Uint16",name:"textBoxStartIndex"},{type:"Uint16",name:"textBoxEndIndex"},{type:"Uint16",name:"verticalTextBoxStartIndex"},{type:"Uint16",name:"verticalTextBoxEndIndex"},{type:"Uint16",name:"iconBoxStartIndex"},{type:"Uint16",name:"iconBoxEndIndex"},{type:"Uint16",name:"verticalIconBoxStartIndex"},{type:"Uint16",name:"verticalIconBoxEndIndex"},{type:"Uint16",name:"featureIndex"},{type:"Uint16",name:"numHorizontalGlyphVertices"},{type:"Uint16",name:"numVerticalGlyphVertices"},{type:"Uint16",name:"numIconVertices"},{type:"Uint16",name:"numVerticalIconVertices"},{type:"Uint16",name:"useRuntimeCollisionCircles"},{type:"Uint32",name:"crossTileID"},{type:"Float32",name:"textBoxScale"},{type:"Float32",components:2,name:"textOffset"},{type:"Float32",name:"collisionCircleDiameter"}]),la([{type:"Float32",name:"offsetX"}]),la([{type:"Int16",name:"x"},{type:"Int16",name:"y"},{type:"Int16",name:"tileUnitDistanceFromAnchor"}]);var F0={"!":"︕","#":"#",$:"$","%":"%","&":"&","(":"︵",")":"︶","*":"*","+":"+",",":"︐","-":"︲",".":"・","/":"/",":":"︓",";":"︔","<":"︿","=":"=",">":"﹀","?":"︖","@":"@","[":"﹇","\\":"\","]":"﹈","^":"^",_:"︳","`":"`","{":"︷","|":"―","}":"︸","~":"~","¢":"¢","£":"£","¥":"¥","¦":"¦","¬":"¬","¯":" ̄","–":"︲","—":"︱","‘":"﹃","’":"﹄","“":"﹁","”":"﹂","…":"︙","‧":"・","₩":"₩","、":"︑","。":"︒","〈":"︿","〉":"﹀","《":"︽","》":"︾","「":"﹁","」":"﹂","『":"﹃","』":"﹄","【":"︻","】":"︼","〔":"︹","〕":"︺","〖":"︗","〗":"︘","!":"︕","(":"︵",")":"︶",",":"︐","-":"︲",".":"・",":":"︓",";":"︔","<":"︿",">":"﹀","?":"︖","[":"﹇","]":"﹈","_":"︳","{":"︷","|":"―","}":"︸","⦅":"︵","⦆":"︶","。":"︒","「":"﹁","」":"﹂"},us=24,J_=function(P,V,J,fe,Ae){var Oe,Ge,it=8*Ae-fe-1,pt=(1<>1,Dt=-7,Gt=J?Ae-1:0,Zt=J?-1:1,Yt=P[V+Gt];for(Gt+=Zt,Oe=Yt&(1<<-Dt)-1,Yt>>=-Dt,Dt+=it;Dt>0;Oe=256*Oe+P[V+Gt],Gt+=Zt,Dt-=8);for(Ge=Oe&(1<<-Dt)-1,Oe>>=-Dt,Dt+=fe;Dt>0;Ge=256*Ge+P[V+Gt],Gt+=Zt,Dt-=8);if(Oe===0)Oe=1-Ct;else{if(Oe===pt)return Ge?NaN:1/0*(Yt?-1:1);Ge+=Math.pow(2,fe),Oe-=Ct}return(Yt?-1:1)*Ge*Math.pow(2,Oe-fe)},Q_=function(P,V,J,fe,Ae,Oe){var Ge,it,pt,Ct=8*Oe-Ae-1,Dt=(1<>1,Zt=Ae===23?Math.pow(2,-24)-Math.pow(2,-77):0,Yt=fe?0:Oe-1,hn=fe?1:-1,Mn=V<0||V===0&&1/V<0?1:0;for(V=Math.abs(V),isNaN(V)||V===1/0?(it=isNaN(V)?1:0,Ge=Dt):(Ge=Math.floor(Math.log(V)/Math.LN2),V*(pt=Math.pow(2,-Ge))<1&&(Ge--,pt*=2),(V+=Ge+Gt>=1?Zt/pt:Zt*Math.pow(2,1-Gt))*pt>=2&&(Ge++,pt/=2),Ge+Gt>=Dt?(it=0,Ge=Dt):Ge+Gt>=1?(it=(V*pt-1)*Math.pow(2,Ae),Ge+=Gt):(it=V*Math.pow(2,Gt-1)*Math.pow(2,Ae),Ge=0));Ae>=8;P[J+Yt]=255&it,Yt+=hn,it/=256,Ae-=8);for(Ge=Ge<0;P[J+Yt]=255&Ge,Yt+=hn,Ge/=256,Ct-=8);P[J+Yt-hn]|=128*Mn},_g=ba;function ba(P){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(P)?P:new Uint8Array(P||0),this.pos=0,this.type=0,this.length=this.buf.length}ba.Varint=0,ba.Fixed64=1,ba.Bytes=2,ba.Fixed32=5;var S1=4294967296,ew=1/S1,tw=typeof TextDecoder>"u"?null:new TextDecoder("utf8");function Bf(P){return P.type===ba.Bytes?P.readVarint()+P.pos:P.pos+1}function lp(P,V,J){return J?4294967296*V+(P>>>0):4294967296*(V>>>0)+(P>>>0)}function nw(P,V,J){var fe=V<=16383?1:V<=2097151?2:V<=268435455?3:Math.floor(Math.log(V)/(7*Math.LN2));J.realloc(fe);for(var Ae=J.pos-1;Ae>=P;Ae--)J.buf[Ae+fe]=J.buf[Ae]}function fC(P,V){for(var J=0;J>>8,P[J+2]=V>>>16,P[J+3]=V>>>24}function rw(P,V){return(P[V]|P[V+1]<<8|P[V+2]<<16)+(P[V+3]<<24)}ba.prototype={destroy:function(){this.buf=null},readFields:function(P,V,J){for(J=J||this.length;this.pos>3,Oe=this.pos;this.type=7&fe,P(Ae,V,this),this.pos===Oe&&this.skip(fe)}return V},readMessage:function(P,V){return this.readFields(P,V,this.readVarint()+this.pos)},readFixed32:function(){var P=wg(this.buf,this.pos);return this.pos+=4,P},readSFixed32:function(){var P=rw(this.buf,this.pos);return this.pos+=4,P},readFixed64:function(){var P=wg(this.buf,this.pos)+wg(this.buf,this.pos+4)*S1;return this.pos+=8,P},readSFixed64:function(){var P=wg(this.buf,this.pos)+rw(this.buf,this.pos+4)*S1;return this.pos+=8,P},readFloat:function(){var P=J_(this.buf,this.pos,!0,23,4);return this.pos+=4,P},readDouble:function(){var P=J_(this.buf,this.pos,!0,52,8);return this.pos+=8,P},readVarint:function(P){var V,J,fe=this.buf;return V=127&(J=fe[this.pos++]),J<128?V:(V|=(127&(J=fe[this.pos++]))<<7,J<128?V:(V|=(127&(J=fe[this.pos++]))<<14,J<128?V:(V|=(127&(J=fe[this.pos++]))<<21,J<128?V:function(Ae,Oe,Ge){var it,pt,Ct=Ge.buf;if(it=(112&(pt=Ct[Ge.pos++]))>>4,pt<128||(it|=(127&(pt=Ct[Ge.pos++]))<<3,pt<128)||(it|=(127&(pt=Ct[Ge.pos++]))<<10,pt<128)||(it|=(127&(pt=Ct[Ge.pos++]))<<17,pt<128)||(it|=(127&(pt=Ct[Ge.pos++]))<<24,pt<128)||(it|=(1&(pt=Ct[Ge.pos++]))<<31,pt<128))return lp(Ae,it,Oe);throw new Error("Expected varint not more than 10 bytes")}(V|=(15&(J=fe[this.pos]))<<28,P,this))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var P=this.readVarint();return P%2==1?(P+1)/-2:P/2},readBoolean:function(){return!!this.readVarint()},readString:function(){var P=this.readVarint()+this.pos,V=this.pos;return this.pos=P,P-V>=12&&tw?function(J,fe,Ae){return tw.decode(J.subarray(fe,Ae))}(this.buf,V,P):function(J,fe,Ae){for(var Oe="",Ge=fe;Ge239?4:Dt>223?3:Dt>191?2:1;if(Ge+Zt>Ae)break;Zt===1?Dt<128&&(Gt=Dt):Zt===2?(192&(it=J[Ge+1]))==128&&(Gt=(31&Dt)<<6|63&it)<=127&&(Gt=null):Zt===3?(it=J[Ge+1],pt=J[Ge+2],(192&it)==128&&(192&pt)==128&&((Gt=(15&Dt)<<12|(63&it)<<6|63&pt)<=2047||Gt>=55296&&Gt<=57343)&&(Gt=null)):Zt===4&&(it=J[Ge+1],pt=J[Ge+2],Ct=J[Ge+3],(192&it)==128&&(192&pt)==128&&(192&Ct)==128&&((Gt=(15&Dt)<<18|(63&it)<<12|(63&pt)<<6|63&Ct)<=65535||Gt>=1114112)&&(Gt=null)),Gt===null?(Gt=65533,Zt=1):Gt>65535&&(Gt-=65536,Oe+=String.fromCharCode(Gt>>>10&1023|55296),Gt=56320|1023&Gt),Oe+=String.fromCharCode(Gt),Ge+=Zt}return Oe}(this.buf,V,P)},readBytes:function(){var P=this.readVarint()+this.pos,V=this.buf.subarray(this.pos,P);return this.pos=P,V},readPackedVarint:function(P,V){if(this.type!==ba.Bytes)return P.push(this.readVarint(V));var J=Bf(this);for(P=P||[];this.pos127;);else if(V===ba.Bytes)this.pos=this.readVarint()+this.pos;else if(V===ba.Fixed32)this.pos+=4;else{if(V!==ba.Fixed64)throw new Error("Unimplemented type: "+V);this.pos+=8}},writeTag:function(P,V){this.writeVarint(P<<3|V)},realloc:function(P){for(var V=this.length||16;V268435455||P<0?function(V,J){var fe,Ae;if(V>=0?(fe=V%4294967296|0,Ae=V/4294967296|0):(Ae=~(-V/4294967296),4294967295^(fe=~(-V%4294967296))?fe=fe+1|0:(fe=0,Ae=Ae+1|0)),V>=18446744073709552e3||V<-18446744073709552e3)throw new Error("Given varint doesn't fit into 10 bytes");J.realloc(10),function(Oe,Ge,it){it.buf[it.pos++]=127&Oe|128,Oe>>>=7,it.buf[it.pos++]=127&Oe|128,Oe>>>=7,it.buf[it.pos++]=127&Oe|128,Oe>>>=7,it.buf[it.pos++]=127&Oe|128,Oe>>>=7,it.buf[it.pos]=127&Oe}(fe,0,J),function(Oe,Ge){var it=(7&Oe)<<4;Ge.buf[Ge.pos++]|=it|((Oe>>>=3)?128:0),Oe&&(Ge.buf[Ge.pos++]=127&Oe|((Oe>>>=7)?128:0),Oe&&(Ge.buf[Ge.pos++]=127&Oe|((Oe>>>=7)?128:0),Oe&&(Ge.buf[Ge.pos++]=127&Oe|((Oe>>>=7)?128:0),Oe&&(Ge.buf[Ge.pos++]=127&Oe|((Oe>>>=7)?128:0),Oe&&(Ge.buf[Ge.pos++]=127&Oe)))))}(Ae,J)}(P,this):(this.realloc(4),this.buf[this.pos++]=127&P|(P>127?128:0),P<=127||(this.buf[this.pos++]=127&(P>>>=7)|(P>127?128:0),P<=127||(this.buf[this.pos++]=127&(P>>>=7)|(P>127?128:0),P<=127||(this.buf[this.pos++]=P>>>7&127))))},writeSVarint:function(P){this.writeVarint(P<0?2*-P-1:2*P)},writeBoolean:function(P){this.writeVarint(!!P)},writeString:function(P){P=String(P),this.realloc(4*P.length),this.pos++;var V=this.pos;this.pos=function(fe,Ae,Oe){for(var Ge,it,pt=0;pt55295&&Ge<57344){if(!it){Ge>56319||pt+1===Ae.length?(fe[Oe++]=239,fe[Oe++]=191,fe[Oe++]=189):it=Ge;continue}if(Ge<56320){fe[Oe++]=239,fe[Oe++]=191,fe[Oe++]=189,it=Ge;continue}Ge=it-55296<<10|Ge-56320|65536,it=null}else it&&(fe[Oe++]=239,fe[Oe++]=191,fe[Oe++]=189,it=null);Ge<128?fe[Oe++]=Ge:(Ge<2048?fe[Oe++]=Ge>>6|192:(Ge<65536?fe[Oe++]=Ge>>12|224:(fe[Oe++]=Ge>>18|240,fe[Oe++]=Ge>>12&63|128),fe[Oe++]=Ge>>6&63|128),fe[Oe++]=63&Ge|128)}return Oe}(this.buf,P,this.pos);var J=this.pos-V;J>=128&&nw(V,J,this),this.pos=V-1,this.writeVarint(J),this.pos+=J},writeFloat:function(P){this.realloc(4),Q_(this.buf,P,this.pos,!0,23,4),this.pos+=4},writeDouble:function(P){this.realloc(8),Q_(this.buf,P,this.pos,!0,52,8),this.pos+=8},writeBytes:function(P){var V=P.length;this.writeVarint(V),this.realloc(V);for(var J=0;J=128&&nw(J,fe,this),this.pos=J-1,this.writeVarint(fe),this.pos+=fe},writeMessage:function(P,V,J){this.writeTag(P,ba.Bytes),this.writeRawMessage(V,J)},writePackedVarint:function(P,V){V.length&&this.writeMessage(P,fC,V)},writePackedSVarint:function(P,V){V.length&&this.writeMessage(P,hC,V)},writePackedBoolean:function(P,V){V.length&&this.writeMessage(P,mC,V)},writePackedFloat:function(P,V){V.length&&this.writeMessage(P,dC,V)},writePackedDouble:function(P,V){V.length&&this.writeMessage(P,pC,V)},writePackedFixed32:function(P,V){V.length&&this.writeMessage(P,gC,V)},writePackedSFixed32:function(P,V){V.length&&this.writeMessage(P,vC,V)},writePackedFixed64:function(P,V){V.length&&this.writeMessage(P,yC,V)},writePackedSFixed64:function(P,V){V.length&&this.writeMessage(P,bC,V)},writeBytesField:function(P,V){this.writeTag(P,ba.Bytes),this.writeBytes(V)},writeFixed32Field:function(P,V){this.writeTag(P,ba.Fixed32),this.writeFixed32(V)},writeSFixed32Field:function(P,V){this.writeTag(P,ba.Fixed32),this.writeSFixed32(V)},writeFixed64Field:function(P,V){this.writeTag(P,ba.Fixed64),this.writeFixed64(V)},writeSFixed64Field:function(P,V){this.writeTag(P,ba.Fixed64),this.writeSFixed64(V)},writeVarintField:function(P,V){this.writeTag(P,ba.Varint),this.writeVarint(V)},writeSVarintField:function(P,V){this.writeTag(P,ba.Varint),this.writeSVarint(V)},writeStringField:function(P,V){this.writeTag(P,ba.Bytes),this.writeString(V)},writeFloatField:function(P,V){this.writeTag(P,ba.Fixed32),this.writeFloat(V)},writeDoubleField:function(P,V){this.writeTag(P,ba.Fixed64),this.writeDouble(V)},writeBooleanField:function(P,V){this.writeVarintField(P,!!V)}};function xC(P,V,J){P===1&&J.readMessage(_C,V)}function _C(P,V,J){if(P===3){var fe=J.readMessage(wC,{}),Ae=fe.id,Oe=fe.bitmap,Ge=fe.width,it=fe.height,pt=fe.left,Ct=fe.top,Dt=fe.advance;V.push({id:Ae,bitmap:new sd({width:Ge+6,height:it+6},Oe),metrics:{width:Ge,height:it,left:pt,top:Ct,advance:Dt}})}}function wC(P,V,J){P===1?V.id=J.readVarint():P===2?V.bitmap=J.readBytes():P===3?V.width=J.readVarint():P===4?V.height=J.readVarint():P===5?V.left=J.readSVarint():P===6?V.top=J.readSVarint():P===7&&(V.advance=J.readVarint())}function iw(P){for(var V=0,J=0,fe=0,Ae=P;fe=0;Zt--){var Yt=Ge[Zt];if(!(Gt.w>Yt.w||Gt.h>Yt.h)){if(Gt.x=Yt.x,Gt.y=Yt.y,pt=Math.max(pt,Gt.y+Gt.h),it=Math.max(it,Gt.x+Gt.w),Gt.w===Yt.w&&Gt.h===Yt.h){var hn=Ge.pop();Zt0&&fd>Ga&&(Ga=fd)}else{var Dg=pi[Yi.fontStack],hd=Dg&&Dg[Fs];if(hd&&hd.rect)Ac=hd.rect,Ms=hd.metrics;else{var zg=Di[Yi.fontStack],U0=zg&&zg[Fs];if(!U0)continue;Ms=U0.metrics}pl=(mi-Yi.scale)*us}Sc?(Kr.verticalizable=!0,ma.push({glyph:Fs,imageName:jf,x:Ho,y:cs+pl,vertical:Sc,scale:Yi.scale,fontStack:Yi.fontStack,sectionIndex:Ja,metrics:Ms,rect:Ac}),Ho+=qo*Yi.scale+ya):(ma.push({glyph:Fs,imageName:jf,x:Ho,y:cs+pl,vertical:Sc,scale:Yi.scale,fontStack:Yi.fontStack,sectionIndex:Ja,metrics:Ms,rect:Ac}),Ho+=Ms.advance*Yi.scale+ya)}if(ma.length!==0){var B1=Ho-ya;Ko=Math.max(B1,Ko),kC(ma,0,ma.length-1,Jo,Ga)}Ho=0;var Fg=ha*mi+Ga;Ka.lineOffset=Math.max(Ga,Gi),cs+=Fg,zs=Math.max(Fg,zs),++Io}else cs+=ha,++Io}var yp=cs-kg,Bg=E1(xa),Ng=Bg.horizontalAlign,H0=Bg.verticalAlign;(function(N1,G0,dd,bp,Vg,jg,xp,Ug,Hg){var q0=(G0-dd)*Vg,W0=0;W0=jg!==xp?-Ug*bp-kg:(-bp*Hg+.5)*xp;for(var pd=0,$0=N1;pd<$0.length;pd+=1)for(var md=0,Y0=$0[pd].positionedGlyphs;md=0&&fe>=P&&Ag[this.text.charCodeAt(fe)];fe--)J--;this.text=this.text.substring(P,J),this.sectionIndex=this.sectionIndex.slice(P,J)},ks.prototype.substring=function(P,V){var J=new ks;return J.text=this.text.substring(P,V),J.sectionIndex=this.sectionIndex.slice(P,V),J.sections=this.sections,J},ks.prototype.toString=function(){return this.text},ks.prototype.getMaxScale=function(){var P=this;return this.sectionIndex.reduce(function(V,J){return Math.max(V,P.sections[J].scale)},0)},ks.prototype.addTextSection=function(P,V){this.text+=P.text,this.sections.push(cp.forText(P.scale,P.fontStack||V));for(var J=this.sections.length-1,fe=0;fe=63743?null:++this.imageSectionID:(this.imageSectionID=57344,this.imageSectionID)};var Ag={9:!0,10:!0,11:!0,12:!0,13:!0,32:!0},dl={};function aw(P,V,J,fe,Ae,Oe){if(V.imageName){var Ge=fe[V.imageName];return Ge?Ge.displaySize[0]*V.scale*us/Oe+Ae:0}var it=J[V.fontStack],pt=it&&it[P];return pt?pt.metrics.advance*V.scale+Ae:0}function ow(P,V,J,fe){var Ae=Math.pow(P-V,2);return fe?P=0,Dt=0,Gt=0;Gt-J/2;){if(--Ge<0)return!1;it-=P[Ge].dist(Oe),Oe=P[Ge]}it+=P[Ge].dist(P[Ge+1]),Ge++;for(var pt=[],Ct=0;itfe;)Ct-=pt.shift().angleDelta;if(Ct>Ae)return!1;Ge++,it+=Gt.dist(Zt)}return!0}function dw(P){for(var V=0,J=0;JCt){var hn=(Ct-pt)/Yt,Mn=zr(Gt.x,Zt.x,hn),Nn=zr(Gt.y,Zt.y,hn),Bn=new fp(Mn,Nn,Zt.angleTo(Gt),Dt);return Bn._round(),!Ge||hw(P,Bn,it,Ge,V)?Bn:void 0}pt+=Yt}}function SC(P,V,J,fe,Ae,Oe,Ge,it,pt){var Ct=pw(fe,Oe,Ge),Dt=mw(fe,Ae),Gt=Dt*Ge,Zt=P[0].x===0||P[0].x===pt||P[0].y===0||P[0].y===pt;return V-Gt=0&&er=0&&sr=0&&Zt+Ct<=Dt){var hr=new fp(er,sr,Wn,hn);hr._round(),fe&&!hw(P,hr,Oe,fe,Ae)||Yt.push(hr)}}Gt+=Bn}return it||Yt.length||Ge||(Yt=gw(P,Gt/2,J,fe,Ae,Oe,Ge,!0,pt)),Yt}function vw(P,V,J,fe,Ae){for(var Oe=[],Ge=0;Ge=fe&&Gt.x>=fe||(Dt.x>=fe?Dt=new a(fe,Dt.y+(Gt.y-Dt.y)*((fe-Dt.x)/(Gt.x-Dt.x)))._round():Gt.x>=fe&&(Gt=new a(fe,Dt.y+(Gt.y-Dt.y)*((fe-Dt.x)/(Gt.x-Dt.x)))._round()),Dt.y>=Ae&&Gt.y>=Ae||(Dt.y>=Ae?Dt=new a(Dt.x+(Gt.x-Dt.x)*((Ae-Dt.y)/(Gt.y-Dt.y)),Ae)._round():Gt.y>=Ae&&(Gt=new a(Dt.x+(Gt.x-Dt.x)*((Ae-Dt.y)/(Gt.y-Dt.y)),Ae)._round()),pt&&Dt.equals(pt[pt.length-1])||(pt=[Dt],Oe.push(pt)),pt.push(Gt)))))}return Oe}function yw(P,V,J,fe){var Ae=[],Oe=P.image,Ge=Oe.pixelRatio,it=Oe.paddedRect.w-2,pt=Oe.paddedRect.h-2,Ct=P.right-P.left,Dt=P.bottom-P.top,Gt=Oe.stretchX||[[0,it]],Zt=Oe.stretchY||[[0,pt]],Yt=function(ha,xa){return ha+xa[1]-xa[0]},hn=Gt.reduce(Yt,0),Mn=Zt.reduce(Yt,0),Nn=it-hn,Bn=pt-Mn,Wn=0,Zn=hn,er=0,sr=Mn,hr=0,Pr=Nn,Tr=0,Nr=Bn;if(Oe.content&&fe){var Xr=Oe.content;Wn=Sg(Gt,0,Xr[0]),er=Sg(Zt,0,Xr[1]),Zn=Sg(Gt,Xr[0],Xr[2]),sr=Sg(Zt,Xr[1],Xr[3]),hr=Xr[0]-Wn,Tr=Xr[1]-er,Pr=Xr[2]-Xr[0]-Zn,Nr=Xr[3]-Xr[1]-sr}var fi=function(ha,xa,Sa,Pa){var ya=Cg(ha.stretch-Wn,Zn,Ct,P.left),Mo=Eg(ha.fixed-hr,Pr,ha.stretch,hn),Va=Cg(xa.stretch-er,sr,Dt,P.top),Ho=Eg(xa.fixed-Tr,Nr,xa.stretch,Mn),cs=Cg(Sa.stretch-Wn,Zn,Ct,P.left),Ko=Eg(Sa.fixed-hr,Pr,Sa.stretch,hn),zs=Cg(Pa.stretch-er,sr,Dt,P.top),Jo=Eg(Pa.fixed-Tr,Nr,Pa.stretch,Mn),Io=new a(ya,Va),Qo=new a(cs,Va),Go=new a(cs,zs),Ro=new a(ya,zs),mi=new a(Mo/Ge,Ho/Ge),Gi=new a(Ko/Ge,Jo/Ge),Ka=V*Math.PI/180;if(Ka){var ma=Math.sin(Ka),Ga=Math.cos(Ka),Oa=[Ga,-ma,ma,Ga];Io._matMult(Oa),Qo._matMult(Oa),Ro._matMult(Oa),Go._matMult(Oa)}var Yi=ha.stretch+ha.fixed,Ja=Sa.stretch+Sa.fixed,Fs=xa.stretch+xa.fixed,pl=Pa.stretch+Pa.fixed;return{tl:Io,tr:Qo,bl:Ro,br:Go,tex:{x:Oe.paddedRect.x+1+Yi,y:Oe.paddedRect.y+1+Fs,w:Ja-Yi,h:pl-Fs},writingMode:void 0,glyphOffset:[0,0],sectionIndex:0,pixelOffsetTL:mi,pixelOffsetBR:Gi,minFontScaleX:Pr/Ge/Ct,minFontScaleY:Nr/Ge/Dt,isSDF:J}};if(fe&&(Oe.stretchX||Oe.stretchY))for(var Jr=bw(Gt,Nn,hn),ci=bw(Zt,Bn,Mn),ri=0;ri0&&(Yt=Math.max(10,Yt),this.circleDiameter=Yt)}else{var hn=Oe.top*Ge-it,Mn=Oe.bottom*Ge+it,Nn=Oe.left*Ge-it,Bn=Oe.right*Ge+it,Wn=Oe.collisionPadding;if(Wn&&(Nn-=Wn[0]*Ge,hn-=Wn[1]*Ge,Bn+=Wn[2]*Ge,Mn+=Wn[3]*Ge),Ct){var Zn=new a(Nn,hn),er=new a(Bn,hn),sr=new a(Nn,Mn),hr=new a(Bn,Mn),Pr=Ct*Math.PI/180;Zn._rotate(Pr),er._rotate(Pr),sr._rotate(Pr),hr._rotate(Pr),Nn=Math.min(Zn.x,er.x,sr.x,hr.x),Bn=Math.max(Zn.x,er.x,sr.x,hr.x),hn=Math.min(Zn.y,er.y,sr.y,hr.y),Mn=Math.max(Zn.y,er.y,sr.y,hr.y)}P.emplaceBack(V.x,V.y,Nn,hn,Bn,Mn,J,fe,Ae)}this.boxEndIndex=P.length},hp=function(P,V){if(P===void 0&&(P=[]),V===void 0&&(V=CC),this.data=P,this.length=this.data.length,this.compare=V,this.length>0)for(var J=(this.length>>1)-1;J>=0;J--)this._down(J)};function CC(P,V){return PV?1:0}function EC(P,V,J){V===void 0&&(V=1),J===void 0&&(J=!1);for(var fe=1/0,Ae=1/0,Oe=-1/0,Ge=-1/0,it=P[0],pt=0;ptOe)&&(Oe=Ct.x),(!pt||Ct.y>Ge)&&(Ge=Ct.y)}var Dt=Oe-fe,Gt=Ge-Ae,Zt=Math.min(Dt,Gt),Yt=Zt/2,hn=new hp([],LC);if(Zt===0)return new a(fe,Ae);for(var Mn=fe;MnBn.d||!Bn.d)&&(Bn=Zn,J&&console.log("found best %d after %d probes",Math.round(1e4*Zn.d)/1e4,Wn)),Zn.max-Bn.d<=V||(Yt=Zn.h/2,hn.push(new dp(Zn.p.x-Yt,Zn.p.y-Yt,Yt,P)),hn.push(new dp(Zn.p.x+Yt,Zn.p.y-Yt,Yt,P)),hn.push(new dp(Zn.p.x-Yt,Zn.p.y+Yt,Yt,P)),hn.push(new dp(Zn.p.x+Yt,Zn.p.y+Yt,Yt,P)),Wn+=4)}return J&&(console.log("num probes: "+Wn),console.log("best distance: "+Bn.d)),Bn.p}function LC(P,V){return V.max-P.max}function dp(P,V,J,fe){this.p=new a(P,V),this.h=J,this.d=function(Ae,Oe){for(var Ge=!1,it=1/0,pt=0;ptAe.y!=hn.y>Ae.y&&Ae.x<(hn.x-Yt.x)*(Ae.y-Yt.y)/(hn.y-Yt.y)+Yt.x&&(Ge=!Ge),it=Math.min(it,hg(Ae,Yt,hn))}return(Ge?1:-1)*Math.sqrt(it)}(this.p,fe),this.max=this.d+this.h*Math.SQRT2}hp.prototype.push=function(P){this.data.push(P),this.length++,this._up(this.length-1)},hp.prototype.pop=function(){if(this.length!==0){var P=this.data[0],V=this.data.pop();return this.length--,this.length>0&&(this.data[0]=V,this._down(0)),P}},hp.prototype.peek=function(){return this.data[0]},hp.prototype._up=function(P){for(var V=this.data,J=this.compare,fe=V[P];P>0;){var Ae=P-1>>1,Oe=V[Ae];if(J(fe,Oe)>=0)break;V[P]=Oe,P=Ae}V[P]=fe},hp.prototype._down=function(P){for(var V=this.data,J=this.compare,fe=this.length>>1,Ae=V[P];P=0)break;V[P]=Ge,P=Oe}V[P]=Ae};var I1=Number.POSITIVE_INFINITY;function xw(P,V){return V[1]!==I1?function(J,fe,Ae){var Oe=0,Ge=0;switch(fe=Math.abs(fe),Ae=Math.abs(Ae),J){case"top-right":case"top-left":case"top":Ge=Ae-7;break;case"bottom-right":case"bottom-left":case"bottom":Ge=7-Ae}switch(J){case"top-right":case"bottom-right":case"right":Oe=-fe;break;case"top-left":case"bottom-left":case"left":Oe=fe}return[Oe,Ge]}(P,V[0],V[1]):function(J,fe){var Ae=0,Oe=0;fe<0&&(fe=0);var Ge=fe/Math.sqrt(2);switch(J){case"top-right":case"top-left":Oe=Ge-7;break;case"bottom-right":case"bottom-left":Oe=7-Ge;break;case"bottom":Oe=7-fe;break;case"top":Oe=fe-7}switch(J){case"top-right":case"bottom-right":Ae=-Ge;break;case"top-left":case"bottom-left":Ae=Ge;break;case"left":Ae=fe;break;case"right":Ae=-fe}return[Ae,Oe]}(P,V[0])}function R1(P){switch(P){case"right":case"top-right":case"bottom-right":return"right";case"left":case"top-left":case"bottom-left":return"left"}return"center"}var kh=32640;function _w(P,V,J,fe,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,Yt,hn){var Mn=function(er,sr,hr,Pr,Tr,Nr,Xr,fi){for(var Jr=Pr.layout.get("text-rotate").evaluate(Nr,{})*Math.PI/180,ci=[],ri=0,Kr=sr.positionedLines;rikh&&R(P.layerIds[0]+': Value for "text-size" is >= 255. Reduce your "text-size".'):Nn.kind==="composite"&&((Bn=[Jc*Yt.compositeTextSizes[0].evaluate(Ge,{},hn),Jc*Yt.compositeTextSizes[1].evaluate(Ge,{},hn)])[0]>kh||Bn[1]>kh)&&R(P.layerIds[0]+': Value for "text-size" is >= 255. Reduce your "text-size".'),P.addSymbols(P.text,Mn,Bn,it,Oe,Ge,Ct,V,pt.lineStartIndex,pt.lineLength,Zt,hn);for(var Wn=0,Zn=Dt;Wn=0;Ge--)if(fe.dist(Oe[Ge])0)&&(Oe.value.kind!=="constant"||Oe.value.value.length>0),Ct=it.value.kind!=="constant"||!!it.value.value||Object.keys(it.parameters).length>0,Dt=Ae.get("symbol-sort-key");if(this.features=[],pt||Ct){for(var Gt=V.iconDependencies,Zt=V.glyphDependencies,Yt=V.availableImages,hn=new Wi(this.zoom),Mn=0,Nn=P;Mn=0;for(var pi=0,va=Tr.sections;pi=0;it--)Oe[it]={x:V[it].x,y:V[it].y,tileUnitDistanceFromAnchor:Ae},it>0&&(Ae+=V[it-1].dist(V[it]));for(var pt=0;pt0},fa.prototype.hasIconData=function(){return this.icon.segments.get().length>0},fa.prototype.hasDebugData=function(){return this.textCollisionBox&&this.iconCollisionBox},fa.prototype.hasTextCollisionBoxData=function(){return this.hasDebugData()&&this.textCollisionBox.segments.get().length>0},fa.prototype.hasIconCollisionBoxData=function(){return this.hasDebugData()&&this.iconCollisionBox.segments.get().length>0},fa.prototype.addIndicesForPlacedSymbol=function(P,V){for(var J=P.placedSymbolArray.get(V),fe=J.vertexStartIndex+4*J.numGlyphs,Ae=J.vertexStartIndex;Ae1||this.icon.segments.get().length>1)){this.symbolInstanceIndexes=this.getSortedSymbolIndexes(P),this.sortedAngle=P,this.text.indexArray.clear(),this.icon.indexArray.clear(),this.featureSortOrder=[];for(var J=0,fe=this.symbolInstanceIndexes;J=0&&pt.indexOf(Ge)===it&&V.addIndicesForPlacedSymbol(V.text,Ge)}),Oe.verticalPlacedTextSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.text,Oe.verticalPlacedTextSymbolIndex),Oe.placedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,Oe.placedIconSymbolIndex),Oe.verticalPlacedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,Oe.verticalPlacedIconSymbolIndex)}this.text.indexBuffer&&this.text.indexBuffer.updateData(this.text.indexArray),this.icon.indexBuffer&&this.icon.indexBuffer.updateData(this.icon.indexArray)}},Dr("SymbolBucket",fa,{omit:["layers","collisionBoxArray","features","compareText"]}),fa.MAX_GLYPHS=65535,fa.addDynamicAttributes=P1;var DC=new xo({"symbol-placement":new Gr(Re.layout_symbol["symbol-placement"]),"symbol-spacing":new Gr(Re.layout_symbol["symbol-spacing"]),"symbol-avoid-edges":new Gr(Re.layout_symbol["symbol-avoid-edges"]),"symbol-sort-key":new ni(Re.layout_symbol["symbol-sort-key"]),"symbol-z-order":new Gr(Re.layout_symbol["symbol-z-order"]),"icon-allow-overlap":new Gr(Re.layout_symbol["icon-allow-overlap"]),"icon-ignore-placement":new Gr(Re.layout_symbol["icon-ignore-placement"]),"icon-optional":new Gr(Re.layout_symbol["icon-optional"]),"icon-rotation-alignment":new Gr(Re.layout_symbol["icon-rotation-alignment"]),"icon-size":new ni(Re.layout_symbol["icon-size"]),"icon-text-fit":new Gr(Re.layout_symbol["icon-text-fit"]),"icon-text-fit-padding":new Gr(Re.layout_symbol["icon-text-fit-padding"]),"icon-image":new ni(Re.layout_symbol["icon-image"]),"icon-rotate":new ni(Re.layout_symbol["icon-rotate"]),"icon-padding":new Gr(Re.layout_symbol["icon-padding"]),"icon-keep-upright":new Gr(Re.layout_symbol["icon-keep-upright"]),"icon-offset":new ni(Re.layout_symbol["icon-offset"]),"icon-anchor":new ni(Re.layout_symbol["icon-anchor"]),"icon-pitch-alignment":new Gr(Re.layout_symbol["icon-pitch-alignment"]),"text-pitch-alignment":new Gr(Re.layout_symbol["text-pitch-alignment"]),"text-rotation-alignment":new Gr(Re.layout_symbol["text-rotation-alignment"]),"text-field":new ni(Re.layout_symbol["text-field"]),"text-font":new ni(Re.layout_symbol["text-font"]),"text-size":new ni(Re.layout_symbol["text-size"]),"text-max-width":new ni(Re.layout_symbol["text-max-width"]),"text-line-height":new Gr(Re.layout_symbol["text-line-height"]),"text-letter-spacing":new ni(Re.layout_symbol["text-letter-spacing"]),"text-justify":new ni(Re.layout_symbol["text-justify"]),"text-radial-offset":new ni(Re.layout_symbol["text-radial-offset"]),"text-variable-anchor":new Gr(Re.layout_symbol["text-variable-anchor"]),"text-anchor":new ni(Re.layout_symbol["text-anchor"]),"text-max-angle":new Gr(Re.layout_symbol["text-max-angle"]),"text-writing-mode":new Gr(Re.layout_symbol["text-writing-mode"]),"text-rotate":new ni(Re.layout_symbol["text-rotate"]),"text-padding":new Gr(Re.layout_symbol["text-padding"]),"text-keep-upright":new Gr(Re.layout_symbol["text-keep-upright"]),"text-transform":new ni(Re.layout_symbol["text-transform"]),"text-offset":new ni(Re.layout_symbol["text-offset"]),"text-allow-overlap":new Gr(Re.layout_symbol["text-allow-overlap"]),"text-ignore-placement":new Gr(Re.layout_symbol["text-ignore-placement"]),"text-optional":new Gr(Re.layout_symbol["text-optional"])}),O1={paint:new xo({"icon-opacity":new ni(Re.paint_symbol["icon-opacity"]),"icon-color":new ni(Re.paint_symbol["icon-color"]),"icon-halo-color":new ni(Re.paint_symbol["icon-halo-color"]),"icon-halo-width":new ni(Re.paint_symbol["icon-halo-width"]),"icon-halo-blur":new ni(Re.paint_symbol["icon-halo-blur"]),"icon-translate":new Gr(Re.paint_symbol["icon-translate"]),"icon-translate-anchor":new Gr(Re.paint_symbol["icon-translate-anchor"]),"text-opacity":new ni(Re.paint_symbol["text-opacity"]),"text-color":new ni(Re.paint_symbol["text-color"],{runtimeType:Nt,getOverride:function(P){return P.textColor},hasOverride:function(P){return!!P.textColor}}),"text-halo-color":new ni(Re.paint_symbol["text-halo-color"]),"text-halo-width":new ni(Re.paint_symbol["text-halo-width"]),"text-halo-blur":new ni(Re.paint_symbol["text-halo-blur"]),"text-translate":new Gr(Re.paint_symbol["text-translate"]),"text-translate-anchor":new Gr(Re.paint_symbol["text-translate-anchor"])}),layout:DC},mp=function(P){this.type=P.property.overrides?P.property.overrides.runtimeType:yt,this.defaultValue=P};mp.prototype.evaluate=function(P){if(P.formattedSection){var V=this.defaultValue.property.overrides;if(V&&V.hasOverride(P.formattedSection))return V.getOverride(P.formattedSection)}return P.feature&&P.featureState?this.defaultValue.evaluate(P.feature,P.featureState):this.defaultValue.property.specification.default},mp.prototype.eachChild=function(P){this.defaultValue.isConstant()||P(this.defaultValue.value._styleExpression.expression)},mp.prototype.outputDefined=function(){return!1},mp.prototype.serialize=function(){return null},Dr("FormatSectionOverride",mp,{omit:["defaultValue"]});var zC=function(P){function V(J){P.call(this,J,O1)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.recalculate=function(J,fe){if(P.prototype.recalculate.call(this,J,fe),this.layout.get("icon-rotation-alignment")==="auto"&&(this.layout.get("symbol-placement")!=="point"?this.layout._values["icon-rotation-alignment"]="map":this.layout._values["icon-rotation-alignment"]="viewport"),this.layout.get("text-rotation-alignment")==="auto"&&(this.layout.get("symbol-placement")!=="point"?this.layout._values["text-rotation-alignment"]="map":this.layout._values["text-rotation-alignment"]="viewport"),this.layout.get("text-pitch-alignment")==="auto"&&(this.layout._values["text-pitch-alignment"]=this.layout.get("text-rotation-alignment")),this.layout.get("icon-pitch-alignment")==="auto"&&(this.layout._values["icon-pitch-alignment"]=this.layout.get("icon-rotation-alignment")),this.layout.get("symbol-placement")==="point"){var Ae=this.layout.get("text-writing-mode");if(Ae){for(var Oe=[],Ge=0,it=Ae;Ge",targetMapId:fe,sourceMapId:Oe.mapId})}}},gp.prototype.receive=function(P){var V=P.data,J=V.id;if(J&&(!V.targetMapId||this.mapId===V.targetMapId))if(V.type===""){delete this.tasks[J];var fe=this.cancelCallbacks[J];delete this.cancelCallbacks[J],fe&&fe()}else z()||V.mustQueue?(this.tasks[J]=V,this.taskQueue.push(J),this.invoker.trigger()):this.processTask(J,V)},gp.prototype.process=function(){if(this.taskQueue.length){var P=this.taskQueue.shift(),V=this.tasks[P];delete this.tasks[P],this.taskQueue.length&&this.invoker.trigger(),V&&this.processTask(P,V)}},gp.prototype.processTask=function(P,V){var J=this;if(V.type===""){var fe=this.callbacks[P];delete this.callbacks[P],fe&&(V.error?fe(Bu(V.error)):fe(null,Bu(V.data)))}else{var Ae=!1,Oe=N(this.globalScope)?void 0:[],Ge=V.hasCallback?function(Dt,Gt){Ae=!0,delete J.cancelCallbacks[P],J.target.postMessage({id:P,type:"",sourceMapId:J.mapId,error:Dt?Fu(Dt):null,data:Fu(Gt,Oe)},Oe)}:function(Dt){Ae=!0},it=null,pt=Bu(V.data);if(this.parent[V.type])it=this.parent[V.type](V.sourceMapId,pt,Ge);else if(this.parent.getWorkerSource){var Ct=V.type.split(".");it=this.parent.getWorkerSource(V.sourceMapId,Ct[0],pt.source)[Ct[1]](pt,Ge)}else Ge(new Error("Could not find function "+V.type));!Ae&&it&&it.cancel&&(this.cancelCallbacks[P]=it.cancel)}},gp.prototype.remove=function(){this.invoker.remove(),this.target.removeEventListener("message",this.receive,!1)};var To=function(P,V){P&&(V?this.setSouthWest(P).setNorthEast(V):P.length===4?this.setSouthWest([P[0],P[1]]).setNorthEast([P[2],P[3]]):this.setSouthWest(P[0]).setNorthEast(P[1]))};To.prototype.setNorthEast=function(P){return this._ne=P instanceof Ra?new Ra(P.lng,P.lat):Ra.convert(P),this},To.prototype.setSouthWest=function(P){return this._sw=P instanceof Ra?new Ra(P.lng,P.lat):Ra.convert(P),this},To.prototype.extend=function(P){var V,J,fe=this._sw,Ae=this._ne;if(P instanceof Ra)V=P,J=P;else{if(!(P instanceof To)){if(Array.isArray(P)){if(P.length===4||P.every(Array.isArray)){var Oe=P;return this.extend(To.convert(Oe))}var Ge=P;return this.extend(Ra.convert(Ge))}return this}if(V=P._sw,J=P._ne,!V||!J)return this}return fe||Ae?(fe.lng=Math.min(V.lng,fe.lng),fe.lat=Math.min(V.lat,fe.lat),Ae.lng=Math.max(J.lng,Ae.lng),Ae.lat=Math.max(J.lat,Ae.lat)):(this._sw=new Ra(V.lng,V.lat),this._ne=new Ra(J.lng,J.lat)),this},To.prototype.getCenter=function(){return new Ra((this._sw.lng+this._ne.lng)/2,(this._sw.lat+this._ne.lat)/2)},To.prototype.getSouthWest=function(){return this._sw},To.prototype.getNorthEast=function(){return this._ne},To.prototype.getNorthWest=function(){return new Ra(this.getWest(),this.getNorth())},To.prototype.getSouthEast=function(){return new Ra(this.getEast(),this.getSouth())},To.prototype.getWest=function(){return this._sw.lng},To.prototype.getSouth=function(){return this._sw.lat},To.prototype.getEast=function(){return this._ne.lng},To.prototype.getNorth=function(){return this._ne.lat},To.prototype.toArray=function(){return[this._sw.toArray(),this._ne.toArray()]},To.prototype.toString=function(){return"LngLatBounds("+this._sw.toString()+", "+this._ne.toString()+")"},To.prototype.isEmpty=function(){return!(this._sw&&this._ne)},To.prototype.contains=function(P){var V=Ra.convert(P),J=V.lng,fe=V.lat,Ae=this._sw.lat<=fe&&fe<=this._ne.lat,Oe=this._sw.lng<=J&&J<=this._ne.lng;return this._sw.lng>this._ne.lng&&(Oe=this._sw.lng>=J&&J>=this._ne.lng),Ae&&Oe},To.convert=function(P){return!P||P instanceof To?P:new To(P)};var Cw=63710088e-1,Ra=function(P,V){if(isNaN(P)||isNaN(V))throw new Error("Invalid LngLat object: ("+P+", "+V+")");if(this.lng=+P,this.lat=+V,this.lat>90||this.lat<-90)throw new Error("Invalid LngLat latitude value: must be between -90 and 90")};Ra.prototype.wrap=function(){return new Ra(f(this.lng,-180,180),this.lat)},Ra.prototype.toArray=function(){return[this.lng,this.lat]},Ra.prototype.toString=function(){return"LngLat("+this.lng+", "+this.lat+")"},Ra.prototype.distanceTo=function(P){var V=Math.PI/180,J=this.lat*V,fe=P.lat*V,Ae=Math.sin(J)*Math.sin(fe)+Math.cos(J)*Math.cos(fe)*Math.cos((P.lng-this.lng)*V);return Cw*Math.acos(Math.min(Ae,1))},Ra.prototype.toBounds=function(P){P===void 0&&(P=0);var V=360*P/40075017,J=V/Math.cos(Math.PI/180*this.lat);return new To(new Ra(this.lng-J,this.lat-V),new Ra(this.lng+J,this.lat+V))},Ra.convert=function(P){if(P instanceof Ra)return P;if(Array.isArray(P)&&(P.length===2||P.length===3))return new Ra(Number(P[0]),Number(P[1]));if(!Array.isArray(P)&&typeof P=="object"&&P!==null)return new Ra(Number("lng"in P?P.lng:P.lon),Number(P.lat));throw new Error("`LngLatLike` argument must be specified as a LngLat instance, an object {lng: , lat: }, an object {lon: , lat: }, or an array of [, ]")};var Ew=2*Math.PI*Cw;function Lw(P){return Ew*Math.cos(P*Math.PI/180)}function Iw(P){return(180+P)/360}function Rw(P){return(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+P*Math.PI/360)))/360}function Pw(P,V){return P/Lw(V)}function z1(P){var V=180-360*P;return 360/Math.PI*Math.atan(Math.exp(V*Math.PI/180))-90}var ud=function(P,V,J){J===void 0&&(J=0),this.x=+P,this.y=+V,this.z=+J};ud.fromLngLat=function(P,V){V===void 0&&(V=0);var J=Ra.convert(P);return new ud(Iw(J.lng),Rw(J.lat),Pw(V,J.lat))},ud.prototype.toLngLat=function(){return new Ra(360*this.x-180,z1(this.y))},ud.prototype.toAltitude=function(){return P=this.z,V=this.y,P*Lw(z1(V));var P,V},ud.prototype.meterInMercatorCoordinateUnits=function(){return 1/Ew*(P=z1(this.y),1/Math.cos(P*Math.PI/180));var P};var cd=function(P,V,J){this.z=P,this.x=V,this.y=J,this.key=j0(0,P,P,V,J)};cd.prototype.equals=function(P){return this.z===P.z&&this.x===P.x&&this.y===P.y},cd.prototype.url=function(P,V){var J,fe,Ae,Oe,Ge,it=(J=this.x,fe=this.y,Ae=this.z,Oe=Sw(256*J,256*(fe=Math.pow(2,Ae)-fe-1),Ae),Ge=Sw(256*(J+1),256*(fe+1),Ae),Oe[0]+","+Oe[1]+","+Ge[0]+","+Ge[1]),pt=function(Ct,Dt,Gt){for(var Zt,Yt="",hn=Ct;hn>0;hn--)Yt+=(Dt&(Zt=1<this.canonical.z?new ko(P,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y):new ko(P,this.wrap,P,this.canonical.x>>V,this.canonical.y>>V)},ko.prototype.calculateScaledKey=function(P,V){var J=this.canonical.z-P;return P>this.canonical.z?j0(this.wrap*+V,P,this.canonical.z,this.canonical.x,this.canonical.y):j0(this.wrap*+V,P,P,this.canonical.x>>J,this.canonical.y>>J)},ko.prototype.isChildOf=function(P){if(P.wrap!==this.wrap)return!1;var V=this.canonical.z-P.canonical.z;return P.overscaledZ===0||P.overscaledZ>V&&P.canonical.y===this.canonical.y>>V},ko.prototype.children=function(P){if(this.overscaledZ>=P)return[new ko(this.overscaledZ+1,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)];var V=this.canonical.z+1,J=2*this.canonical.x,fe=2*this.canonical.y;return[new ko(V,this.wrap,V,J,fe),new ko(V,this.wrap,V,J+1,fe),new ko(V,this.wrap,V,J,fe+1),new ko(V,this.wrap,V,J+1,fe+1)]},ko.prototype.isLessThan=function(P){return this.wrapP.wrap)&&(this.overscaledZP.overscaledZ)&&(this.canonical.xP.canonical.x)&&this.canonical.y=this.dim+1||V<-1||V>=this.dim+1)throw new RangeError("out of range source coordinates for DEM data");return(V+1)*this.stride+(P+1)},Nf.prototype._unpackMapbox=function(P,V,J){return(256*P*256+256*V+J)/10-1e4},Nf.prototype._unpackTerrarium=function(P,V,J){return 256*P+V+J/256-32768},Nf.prototype.getPixels=function(){return new Ws({width:this.stride,height:this.stride},new Uint8Array(this.data.buffer))},Nf.prototype.backfillBorder=function(P,V,J){if(this.dim!==P.dim)throw new Error("dem dimension mismatch");var fe=V*this.dim,Ae=V*this.dim+this.dim,Oe=J*this.dim,Ge=J*this.dim+this.dim;switch(V){case-1:fe=Ae-1;break;case 1:Ae=fe+1}switch(J){case-1:Oe=Ge-1;break;case 1:Ge=Oe+1}for(var it=-V*this.dim,pt=-J*this.dim,Ct=Oe;Ct=0&&Dt[3]>=0&&it.insert(Ge,Dt[0],Dt[1],Dt[2],Dt[3])}},Vf.prototype.loadVTLayers=function(){return this.vtLayers||(this.vtLayers=new sp.VectorTile(new _g(this.rawTileData)).layers,this.sourceLayerCoder=new Pg(this.vtLayers?Object.keys(this.vtLayers).sort():["_geojsonTileLayer"])),this.vtLayers},Vf.prototype.query=function(P,V,J,fe){var Ae=this;this.loadVTLayers();for(var Oe=P.params||{},Ge=ui/P.tileSize/P.scale,it=_c(Oe.filter),pt=P.queryGeometry,Ct=P.queryPadding*Ge,Dt=zw(pt),Gt=this.grid.query(Dt.minX-Ct,Dt.minY-Ct,Dt.maxX+Ct,Dt.maxY+Ct),Zt=zw(P.cameraQueryGeometry),Yt=0,hn=this.grid3D.query(Zt.minX-Ct,Zt.minY-Ct,Zt.maxX+Ct,Zt.maxY+Ct,function(er,sr,hr,Pr){return function(Tr,Nr,Xr,fi,Jr){for(var ci=0,ri=Tr;ci=Kr.x&&Jr>=Kr.y)return!0}var Di=[new a(Nr,Xr),new a(Nr,Jr),new a(fi,Jr),new a(fi,Xr)];if(Tr.length>2){for(var pi=0,va=Di;pi=0)return!0;return!1}(Oe,Gt)){var Zt=this.sourceLayerCoder.decode(J),Yt=this.vtLayers[Zt].feature(fe);if(Ae.filter(new Wi(this.tileID.overscaledZ),Yt))for(var hn=this.getId(Yt,Zt),Mn=0;Mnfe)Ae=!1;else if(V)if(this.expirationTimege&&(P.getActor().send("enforceCacheSizeLimit",je),st=0)},i.clamp=c,i.clearTileCache=function(P){var V=self.caches.delete(ze);P&&V.catch(P).then(function(){return P()})},i.clipLine=vw,i.clone=function(P){var V=new Fl(16);return V[0]=P[0],V[1]=P[1],V[2]=P[2],V[3]=P[3],V[4]=P[4],V[5]=P[5],V[6]=P[6],V[7]=P[7],V[8]=P[8],V[9]=P[9],V[10]=P[10],V[11]=P[11],V[12]=P[12],V[13]=P[13],V[14]=P[14],V[15]=P[15],V},i.clone$1=L,i.clone$2=function(P){var V=new Fl(3);return V[0]=P[0],V[1]=P[1],V[2]=P[2],V},i.collisionCircleLayout=uC,i.config=Z,i.create=function(){var P=new Fl(16);return Fl!=Float32Array&&(P[1]=0,P[2]=0,P[3]=0,P[4]=0,P[6]=0,P[7]=0,P[8]=0,P[9]=0,P[11]=0,P[12]=0,P[13]=0,P[14]=0),P[0]=1,P[5]=1,P[10]=1,P[15]=1,P},i.create$1=function(){var P=new Fl(9);return Fl!=Float32Array&&(P[1]=0,P[2]=0,P[3]=0,P[5]=0,P[6]=0,P[7]=0),P[0]=1,P[4]=1,P[8]=1,P},i.create$2=function(){var P=new Fl(4);return Fl!=Float32Array&&(P[1]=0,P[2]=0),P[0]=1,P[3]=1,P},i.createCommonjsModule=M,i.createExpression=mc,i.createLayout=la,i.createStyleLayer=function(P){return P.type==="custom"?new jC(P):new UC[P.type](P)},i.cross=function(P,V,J){var fe=V[0],Ae=V[1],Oe=V[2],Ge=J[0],it=J[1],pt=J[2];return P[0]=Ae*pt-Oe*it,P[1]=Oe*Ge-fe*pt,P[2]=fe*it-Ae*Ge,P},i.deepEqual=function P(V,J){if(Array.isArray(V)){if(!Array.isArray(J)||V.length!==J.length)return!1;for(var fe=0;fe0&&(Oe=1/Math.sqrt(Oe)),P[0]=V[0]*Oe,P[1]=V[1]*Oe,P[2]=V[2]*Oe,P},i.number=zr,i.offscreenCanvasSupported=ot,i.ortho=function(P,V,J,fe,Ae,Oe,Ge){var it=1/(V-J),pt=1/(fe-Ae),Ct=1/(Oe-Ge);return P[0]=-2*it,P[1]=0,P[2]=0,P[3]=0,P[4]=0,P[5]=-2*pt,P[6]=0,P[7]=0,P[8]=0,P[9]=0,P[10]=2*Ct,P[11]=0,P[12]=(V+J)*it,P[13]=(Ae+fe)*pt,P[14]=(Ge+Oe)*Ct,P[15]=1,P},i.parseGlyphPBF=function(P){return new _g(P).readFields(xC,[])},i.pbf=_g,i.performSymbolLayout=function(P,V,J,fe,Ae,Oe,Ge){P.createArrays();var it=512*P.overscaling;P.tilePixelRatio=ui/it,P.compareText={},P.iconsNeedLinear=!1;var pt=P.layers[0].layout,Ct=P.layers[0]._unevaluatedLayout._values,Dt={};if(P.textSizeData.kind==="composite"){var Gt=P.textSizeData,Zt=Gt.minZoom,Yt=Gt.maxZoom;Dt.compositeTextSizes=[Ct["text-size"].possiblyEvaluate(new Wi(Zt),Ge),Ct["text-size"].possiblyEvaluate(new Wi(Yt),Ge)]}if(P.iconSizeData.kind==="composite"){var hn=P.iconSizeData,Mn=hn.minZoom,Nn=hn.maxZoom;Dt.compositeIconSizes=[Ct["icon-size"].possiblyEvaluate(new Wi(Mn),Ge),Ct["icon-size"].possiblyEvaluate(new Wi(Nn),Ge)]}Dt.layoutTextSize=Ct["text-size"].possiblyEvaluate(new Wi(P.zoom+1),Ge),Dt.layoutIconSize=Ct["icon-size"].possiblyEvaluate(new Wi(P.zoom+1),Ge),Dt.textMaxSize=Ct["text-size"].possiblyEvaluate(new Wi(18));for(var Bn=pt.get("text-line-height")*us,Wn=pt.get("text-rotation-alignment")==="map"&&pt.get("symbol-placement")!=="point",Zn=pt.get("text-keep-upright"),er=pt.get("text-size"),sr=function(){var Tr=Pr[hr],Nr=pt.get("text-font").evaluate(Tr,{},Ge).join(","),Xr=er.evaluate(Tr,{},Ge),fi=Dt.layoutTextSize.evaluate(Tr,{},Ge),Jr=Dt.layoutIconSize.evaluate(Tr,{},Ge),ci={horizontal:{},vertical:void 0},ri=Tr.text,Kr=[0,0];if(ri){var Di=ri.toString(),pi=pt.get("text-letter-spacing").evaluate(Tr,{},Ge)*us,va=function(mi){for(var Gi=0,Ka=mi;Gi=ui||X0.y<0||X0.y>=ui||function(ro,Cc,qC,Ah,q1,Uw,Gg,Qc,qg,K0,Wg,$g,W1,Hw,J0,Gw,qw,Ww,$w,Yw,Nl,Yg,Zw,ef,WC){var Xw,gd,_p,wp,Tp,kp=ro.addToLineVertexArray(Cc,qC),Kw=0,Jw=0,Qw=0,e3=0,$1=-1,Y1=-1,Uf={},t3=Fn(""),Z1=0,X1=0;if(Qc._unevaluatedLayout.getValue("text-radial-offset")===void 0?(Z1=(Xw=Qc.layout.get("text-offset").evaluate(Nl,{},ef).map(function(em){return em*us}))[0],X1=Xw[1]):(Z1=Qc.layout.get("text-radial-offset").evaluate(Nl,{},ef)*us,X1=I1),ro.allowVerticalPlacement&&Ah.vertical){var n3=Qc.layout.get("text-rotate").evaluate(Nl,{},ef)+90,$C=Ah.vertical;wp=new Lg(qg,Cc,K0,Wg,$g,$C,W1,Hw,J0,n3),Gg&&(Tp=new Lg(qg,Cc,K0,Wg,$g,Gg,qw,Ww,J0,n3))}if(q1){var K1=Qc.layout.get("icon-rotate").evaluate(Nl,{}),r3=Qc.layout.get("icon-text-fit")!=="none",i3=yw(q1,K1,Zw,r3),J1=Gg?yw(Gg,K1,Zw,r3):void 0;_p=new Lg(qg,Cc,K0,Wg,$g,q1,qw,Ww,!1,K1),Kw=4*i3.length;var a3=ro.iconSizeData,Q0=null;a3.kind==="source"?(Q0=[Jc*Qc.layout.get("icon-size").evaluate(Nl,{})])[0]>kh&&R(ro.layerIds[0]+': Value for "icon-size" is >= 255. Reduce your "icon-size".'):a3.kind==="composite"&&((Q0=[Jc*Yg.compositeIconSizes[0].evaluate(Nl,{},ef),Jc*Yg.compositeIconSizes[1].evaluate(Nl,{},ef)])[0]>kh||Q0[1]>kh)&&R(ro.layerIds[0]+': Value for "icon-size" is >= 255. Reduce your "icon-size".'),ro.addSymbols(ro.icon,i3,Q0,Yw,$w,Nl,!1,Cc,kp.lineStartIndex,kp.lineLength,-1,ef),$1=ro.icon.placedSymbolArray.length-1,J1&&(Jw=4*J1.length,ro.addSymbols(ro.icon,J1,Q0,Yw,$w,Nl,Bl.vertical,Cc,kp.lineStartIndex,kp.lineLength,-1,ef),Y1=ro.icon.placedSymbolArray.length-1)}for(var o3 in Ah.horizontal){var Zg=Ah.horizontal[o3];if(!gd){t3=Fn(Zg.text);var YC=Qc.layout.get("text-rotate").evaluate(Nl,{},ef);gd=new Lg(qg,Cc,K0,Wg,$g,Zg,W1,Hw,J0,YC)}var s3=Zg.positionedLines.length===1;if(Qw+=_w(ro,Cc,Zg,Uw,Qc,J0,Nl,Gw,kp,Ah.vertical?Bl.horizontal:Bl.horizontalOnly,s3?Object.keys(Ah.horizontal):[o3],Uf,$1,Yg,ef),s3)break}Ah.vertical&&(e3+=_w(ro,Cc,Ah.vertical,Uw,Qc,J0,Nl,Gw,kp,Bl.vertical,["vertical"],Uf,Y1,Yg,ef));var ZC=gd?gd.boxStartIndex:ro.collisionBoxArray.length,XC=gd?gd.boxEndIndex:ro.collisionBoxArray.length,KC=wp?wp.boxStartIndex:ro.collisionBoxArray.length,JC=wp?wp.boxEndIndex:ro.collisionBoxArray.length,QC=_p?_p.boxStartIndex:ro.collisionBoxArray.length,e8=_p?_p.boxEndIndex:ro.collisionBoxArray.length,t8=Tp?Tp.boxStartIndex:ro.collisionBoxArray.length,n8=Tp?Tp.boxEndIndex:ro.collisionBoxArray.length,tf=-1,Xg=function(em,u3){return em&&em.circleDiameter?Math.max(em.circleDiameter,u3):u3};tf=Xg(gd,tf),tf=Xg(wp,tf),tf=Xg(_p,tf);var l3=(tf=Xg(Tp,tf))>-1?1:0;l3&&(tf*=WC/us),ro.glyphOffsetArray.length>=fa.MAX_GLYPHS&&R("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"),Nl.sortKey!==void 0&&ro.addToSortKeyRanges(ro.symbolInstances.length,Nl.sortKey),ro.symbolInstances.emplaceBack(Cc.x,Cc.y,Uf.right>=0?Uf.right:-1,Uf.center>=0?Uf.center:-1,Uf.left>=0?Uf.left:-1,Uf.vertical||-1,$1,Y1,t3,ZC,XC,KC,JC,QC,e8,t8,n8,K0,Qw,e3,Kw,Jw,l3,0,W1,Z1,X1,tf)}(mi,X0,GC,Ka,ma,Ga,jf,mi.layers[0],mi.collisionBoxArray,Gi.index,Gi.sourceLayerIndex,mi.index,Dg,B1,Bg,Fs,zg,Fg,Ng,Sc,Gi,Oa,pl,Ms,Yi)};if(H0==="line")for(var bp=0,Vg=vw(Gi.geometry,0,0,ui,ui);bp1){var $0=AC(pd,yp,Ka.vertical||Hu,ma,Gu,hd);$0&&dd(pd,$0)}}else if(Gi.type==="Polygon")for(var md=0,Y0=w1(Gi.geometry,0);md=An.maxzoom||An.visibility!=="none"&&(u(un,this.zoom,qe),(Lt[An.id]=An.createBucket({index:Qe.bucketLayerIDs.length,layers:un,zoom:this.zoom,pixelRatio:this.pixelRatio,overscaling:this.overscaling,collisionBoxArray:this.collisionBoxArray,sourceLayerIndex:Nt,sourceID:this.source})).populate($t,yt,this.tileID.canonical),Qe.bucketLayerIDs.push(un.map(function(dn){return dn.id})))}}}var $n=i.mapObject(yt.glyphDependencies,function(dn){return Object.keys(dn).map(Number)});Object.keys($n).length?nt.send("getGlyphs",{uid:this.uid,stacks:$n},function(dn,pn){ut||(ut=dn,dt=pn,Tn.call(Re))}):dt={};var kn=Object.keys(yt.iconDependencies);kn.length?nt.send("getImages",{icons:kn,source:this.source,tileID:this.tileID,type:"icons"},function(dn,pn){ut||(ut=dn,_t=pn,Tn.call(Re))}):_t={};var sn=Object.keys(yt.patternDependencies);function Tn(){if(ut)return ht(ut);if(dt&&_t&&It){var dn=new l(dt),pn=new i.ImageAtlas(_t,It);for(var Dn in Lt){var In=Lt[Dn];In instanceof i.SymbolBucket?(u(In.layers,this.zoom,qe),i.performSymbolLayout(In,dt,dn.positions,_t,pn.iconPositions,this.showCollisionBoxes,this.tileID.canonical)):In.hasPattern&&(In instanceof i.LineBucket||In instanceof i.FillBucket||In instanceof i.FillExtrusionBucket)&&(u(In.layers,this.zoom,qe),In.addFeatures(yt,this.tileID.canonical,pn.patternPositions))}this.status="done",ht(null,{buckets:i.values(Lt).filter(function(jn){return!jn.isEmpty()}),featureIndex:Qe,collisionBoxArray:this.collisionBoxArray,glyphAtlasImage:dn.image,imageAtlas:pn,glyphMap:this.returnDependencies?dt:null,iconMap:this.returnDependencies?_t:null,glyphPositions:this.returnDependencies?dn.positions:null})}}sn.length?nt.send("getImages",{icons:sn,source:this.source,tileID:this.tileID,type:"patterns"},function(dn,pn){ut||(ut=dn,It=pn,Tn.call(Re))}):It={},Tn.call(this)};var o=function(Ke,Je,qe,nt){this.actor=Ke,this.layerIndex=Je,this.availableImages=qe,this.loadVectorData=nt||s,this.loading={},this.loaded={}};o.prototype.loadTile=function(Ke,Je){var qe=this,nt=Ke.uid;this.loading||(this.loading={});var ht=!!(Ke&&Ke.request&&Ke.request.collectResourceTiming)&&new i.RequestPerformance(Ke.request),Re=this.loading[nt]=new a(Ke);Re.abort=this.loadVectorData(Ke,function(Ne,Qe){if(delete qe.loading[nt],Ne||!Qe)return Re.status="done",qe.loaded[nt]=Re,Je(Ne);var ut=Qe.rawData,dt={};Qe.expires&&(dt.expires=Qe.expires),Qe.cacheControl&&(dt.cacheControl=Qe.cacheControl);var _t={};if(ht){var It=ht.finish();It&&(_t.resourceTiming=JSON.parse(JSON.stringify(It)))}Re.vectorTile=Qe.vectorTile,Re.parse(Qe.vectorTile,qe.layerIndex,qe.availableImages,qe.actor,function(Lt,yt){if(Lt||!yt)return Je(Lt);Je(null,i.extend({rawTileData:ut.slice(0)},yt,dt,_t))}),qe.loaded=qe.loaded||{},qe.loaded[nt]=Re})},o.prototype.reloadTile=function(Ke,Je){var qe=this,nt=this.loaded,ht=Ke.uid,Re=this;if(nt&&nt[ht]){var Ne=nt[ht];Ne.showCollisionBoxes=Ke.showCollisionBoxes;var Qe=function(ut,dt){var _t=Ne.reloadCallback;_t&&(delete Ne.reloadCallback,Ne.parse(Ne.vectorTile,Re.layerIndex,qe.availableImages,Re.actor,_t)),Je(ut,dt)};Ne.status==="parsing"?Ne.reloadCallback=Qe:Ne.status==="done"&&(Ne.vectorTile?Ne.parse(Ne.vectorTile,this.layerIndex,this.availableImages,this.actor,Qe):Qe())}},o.prototype.abortTile=function(Ke,Je){var qe=this.loading,nt=Ke.uid;qe&&qe[nt]&&qe[nt].abort&&(qe[nt].abort(),delete qe[nt]),Je()},o.prototype.removeTile=function(Ke,Je){var qe=this.loaded,nt=Ke.uid;qe&&qe[nt]&&delete qe[nt],Je()};var c=i.window.ImageBitmap,f=function(){this.loaded={}};f.prototype.loadTile=function(Ke,Je){var qe=Ke.uid,nt=Ke.encoding,ht=Ke.rawImageData,Re=c&&ht instanceof c?this.getImageData(ht):ht,Ne=new i.DEMData(qe,Re,nt);this.loaded=this.loaded||{},this.loaded[qe]=Ne,Je(null,Ne)},f.prototype.getImageData=function(Ke){this.offscreenCanvas&&this.offscreenCanvasContext||(this.offscreenCanvas=new OffscreenCanvas(Ke.width,Ke.height),this.offscreenCanvasContext=this.offscreenCanvas.getContext("2d")),this.offscreenCanvas.width=Ke.width,this.offscreenCanvas.height=Ke.height,this.offscreenCanvasContext.drawImage(Ke,0,0,Ke.width,Ke.height);var Je=this.offscreenCanvasContext.getImageData(-1,-1,Ke.width+2,Ke.height+2);return this.offscreenCanvasContext.clearRect(0,0,this.offscreenCanvas.width,this.offscreenCanvas.height),new i.RGBAImage({width:Je.width,height:Je.height},Je.data)},f.prototype.removeTile=function(Ke){var Je=this.loaded,qe=Ke.uid;Je&&Je[qe]&&delete Je[qe]};var p=function Ke(Je,qe){var nt,ht=Je&&Je.type;if(ht==="FeatureCollection")for(nt=0;nt=0!=!!Je&&Ke.reverse()}var S=i.vectorTile.VectorTileFeature.prototype.toGeoJSON,x=function(Ke){this._feature=Ke,this.extent=i.EXTENT,this.type=Ke.type,this.properties=Ke.tags,"id"in Ke&&!isNaN(Ke.id)&&(this.id=parseInt(Ke.id,10))};x.prototype.loadGeometry=function(){if(this._feature.type===1){for(var Ke=[],Je=0,qe=this._feature.geometry;Je>31}function Y(Ke,Je){for(var qe=Ke.loadGeometry(),nt=Ke.type,ht=0,Re=0,Ne=qe.length,Qe=0;Qe>1;q(Ke,Je,Ne,nt,ht,Re%2),G(Ke,Je,qe,nt,Ne-1,Re+1),G(Ke,Je,qe,Ne+1,ht,Re+1)}}function q(Ke,Je,qe,nt,ht,Re){for(;ht>nt;){if(ht-nt>600){var Ne=ht-nt+1,Qe=qe-nt+1,ut=Math.log(Ne),dt=.5*Math.exp(2*ut/3),_t=.5*Math.sqrt(ut*dt*(Ne-dt)/Ne)*(Qe-Ne/2<0?-1:1);q(Ke,Je,qe,Math.max(nt,Math.floor(qe-Qe*dt/Ne+_t)),Math.min(ht,Math.floor(qe+(Ne-Qe)*dt/Ne+_t)),Re)}var It=Je[2*qe+Re],Lt=nt,yt=ht;for(H(Ke,Je,nt,qe),Je[2*ht+Re]>It&&H(Ke,Je,nt,ht);LtIt;)yt--}Je[2*nt+Re]===It?H(Ke,Je,nt,yt):H(Ke,Je,++yt,ht),yt<=qe&&(nt=yt+1),qe<=yt&&(ht=yt-1)}}function H(Ke,Je,qe,nt){ne(Ke,qe,nt),ne(Je,2*qe,2*nt),ne(Je,2*qe+1,2*nt+1)}function ne(Ke,Je,qe){var nt=Ke[Je];Ke[Je]=Ke[qe],Ke[qe]=nt}function te(Ke,Je,qe,nt){var ht=Ke-qe,Re=Je-nt;return ht*ht+Re*Re}b.fromVectorTileJs=R,b.fromGeojsonVt=I,b.GeoJSONWrapper=O;var Z=function(Ke){return Ke[0]},X=function(Ke){return Ke[1]},Q=function(Ke,Je,qe,nt,ht){Je===void 0&&(Je=Z),qe===void 0&&(qe=X),nt===void 0&&(nt=64),ht===void 0&&(ht=Float64Array),this.nodeSize=nt,this.points=Ke;for(var Re=Ke.length<65536?Uint16Array:Uint32Array,Ne=this.ids=new Re(Ke.length),Qe=this.coords=new ht(2*Ke.length),ut=0;ut=Ne&&It<=ut&&Lt>=Qe&&Lt<=dt&&Pt.push(ht[$t]);else{var Wt=Math.floor((Nt+Rt)/2);It=Re[2*Wt],Lt=Re[2*Wt+1],It>=Ne&&It<=ut&&Lt>=Qe&&Lt<=dt&&Pt.push(ht[Wt]);var Xt=(wt+1)%2;(wt===0?Ne<=It:Qe<=Lt)&&(yt.push(Nt),yt.push(Wt-1),yt.push(Xt)),(wt===0?ut>=It:dt>=Lt)&&(yt.push(Wt+1),yt.push(Rt),yt.push(Xt))}}return Pt}(this.ids,this.coords,Ke,Je,qe,nt,this.nodeSize)},Q.prototype.within=function(Ke,Je,qe){return function(nt,ht,Re,Ne,Qe,ut){for(var dt=[0,nt.length-1,0],_t=[],It=Qe*Qe;dt.length;){var Lt=dt.pop(),yt=dt.pop(),Pt=dt.pop();if(yt-Pt<=ut)for(var wt=Pt;wt<=yt;wt++)te(ht[2*wt],ht[2*wt+1],Re,Ne)<=It&&_t.push(nt[wt]);else{var Rt=Math.floor((Pt+yt)/2),Nt=ht[2*Rt],$t=ht[2*Rt+1];te(Nt,$t,Re,Ne)<=It&&_t.push(nt[Rt]);var Wt=(Lt+1)%2;(Lt===0?Re-Qe<=Nt:Ne-Qe<=$t)&&(dt.push(Pt),dt.push(Rt-1),dt.push(Wt)),(Lt===0?Re+Qe>=Nt:Ne+Qe>=$t)&&(dt.push(Rt+1),dt.push(yt),dt.push(Wt))}}return _t}(this.ids,this.coords,Ke,Je,qe,this.nodeSize)};var re={minZoom:0,maxZoom:16,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:function(Ke){return Ke}},ie=function(Ke){this.options=pe(Object.create(re),Ke),this.trees=new Array(this.options.maxZoom+1)};function oe(Ke,Je,qe,nt,ht){return{x:Ke,y:Je,zoom:1/0,id:qe,parentId:-1,numPoints:nt,properties:ht}}function ue(Ke,Je){var qe=Ke.geometry.coordinates,nt=qe[0],ht=qe[1];return{x:de(nt),y:me(ht),zoom:1/0,index:Je,parentId:-1}}function ce(Ke){return{type:"Feature",id:Ke.id,properties:ye(Ke),geometry:{type:"Point",coordinates:[(nt=Ke.x,360*(nt-.5)),(Je=Ke.y,qe=(180-360*Je)*Math.PI/180,360*Math.atan(Math.exp(qe))/Math.PI-90)]}};var Je,qe,nt}function ye(Ke){var Je=Ke.numPoints,qe=Je>=1e4?Math.round(Je/1e3)+"k":Je>=1e3?Math.round(Je/100)/10+"k":Je;return pe(pe({},Ke.properties),{cluster:!0,cluster_id:Ke.id,point_count:Je,point_count_abbreviated:qe})}function de(Ke){return Ke/360+.5}function me(Ke){var Je=Math.sin(Ke*Math.PI/180),qe=.5-.25*Math.log((1+Je)/(1-Je))/Math.PI;return qe<0?0:qe>1?1:qe}function pe(Ke,Je){for(var qe in Je)Ke[qe]=Je[qe];return Ke}function xe(Ke){return Ke.x}function Pe(Ke){return Ke.y}function _e(Ke,Je,qe,nt){for(var ht,Re=nt,Ne=qe-Je>>1,Qe=qe-Je,ut=Ke[Je],dt=Ke[Je+1],_t=Ke[qe],It=Ke[qe+1],Lt=Je+3;LtRe)ht=Lt,Re=yt;else if(yt===Re){var Pt=Math.abs(Lt-Ne);Ptnt&&(ht-Je>3&&_e(Ke,Je,ht,nt),Ke[ht+2]=Re,qe-ht>3&&_e(Ke,ht,qe,nt))}function Me(Ke,Je,qe,nt,ht,Re){var Ne=ht-qe,Qe=Re-nt;if(Ne!==0||Qe!==0){var ut=((Ke-qe)*Ne+(Je-nt)*Qe)/(Ne*Ne+Qe*Qe);ut>1?(qe=ht,nt=Re):ut>0&&(qe+=Ne*ut,nt+=Qe*ut)}return(Ne=Ke-qe)*Ne+(Qe=Je-nt)*Qe}function Se(Ke,Je,qe,nt){var ht={id:Ke===void 0?null:Ke,type:Je,geometry:qe,tags:nt,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};return function(Re){var Ne=Re.geometry,Qe=Re.type;if(Qe==="Point"||Qe==="MultiPoint"||Qe==="LineString")Ce(Re,Ne);else if(Qe==="Polygon"||Qe==="MultiLineString")for(var ut=0;ut0&&(Ne+=nt?(ht*dt-ut*Re)/2:Math.sqrt(Math.pow(ut-ht,2)+Math.pow(dt-Re,2))),ht=ut,Re=dt}var _t=Je.length-3;Je[2]=1,_e(Je,0,_t,qe),Je[_t+2]=1,Je.size=Math.abs(Ne),Je.start=0,Je.end=Je.size}function ke(Ke,Je,qe,nt){for(var ht=0;ht1?1:qe}function ze(Ke,Je,qe,nt,ht,Re,Ne,Qe){if(nt/=Je,Re>=(qe/=Je)&&Ne=nt)return null;for(var ut=[],dt=0;dt=qe&&Pt=nt)){var wt=[];if(Lt==="Point"||Lt==="MultiPoint")je(It,wt,qe,nt,ht);else if(Lt==="LineString")ge(It,wt,qe,nt,ht,!1,Qe.lineMetrics);else if(Lt==="MultiLineString")Ee(It,wt,qe,nt,ht,!1);else if(Lt==="Polygon")Ee(It,wt,qe,nt,ht,!0);else if(Lt==="MultiPolygon")for(var Rt=0;Rt=qe&&Ne<=nt&&(Je.push(Ke[Re]),Je.push(Ke[Re+1]),Je.push(Ke[Re+2]))}}function ge(Ke,Je,qe,nt,ht,Re,Ne){for(var Qe,ut,dt=we(Ke),_t=ht===0?Ye:$e,It=Ke.start,Lt=0;Ltqe&&(ut=_t(dt,yt,Pt,Rt,Nt,qe),Ne&&(dt.start=It+Qe*ut)):$t>nt?Wt=qe&&(ut=_t(dt,yt,Pt,Rt,Nt,qe),Xt=!0),Wt>nt&&$t<=nt&&(ut=_t(dt,yt,Pt,Rt,Nt,nt),Xt=!0),!Re&&Xt&&(Ne&&(dt.end=It+Qe*ut),Je.push(dt),dt=we(Ke)),Ne&&(It+=Qe)}var Qt=Ke.length-3;yt=Ke[Qt],Pt=Ke[Qt+1],wt=Ke[Qt+2],($t=ht===0?yt:Pt)>=qe&&$t<=nt&&Ve(dt,yt,Pt,wt),Qt=dt.length-3,Re&&Qt>=3&&(dt[Qt]!==dt[0]||dt[Qt+1]!==dt[1])&&Ve(dt,dt[0],dt[1],dt[2]),dt.length&&Je.push(dt)}function we(Ke){var Je=[];return Je.size=Ke.size,Je.start=Ke.start,Je.end=Ke.end,Je}function Ee(Ke,Je,qe,nt,ht,Re){for(var Ne=0;NeNe.maxX&&(Ne.maxX=_t),It>Ne.maxY&&(Ne.maxY=It)}return Ne}function kt(Ke,Je,qe,nt){var ht=Je.geometry,Re=Je.type,Ne=[];if(Re==="Point"||Re==="MultiPoint")for(var Qe=0;Qe0&&Je.size<(ht?Ne:nt))qe.numPoints+=Je.length/3;else{for(var Qe=[],ut=0;utNe)&&(qe.numSimplified++,Qe.push(Je[ut]),Qe.push(Je[ut+1])),qe.numPoints++;ht&&function(dt,_t){for(var It=0,Lt=0,yt=dt.length,Pt=yt-2;Lt0===_t)for(Lt=0,yt=dt.length;Lt24)throw new Error("maxZoom should be in the 0-24 range");if(Je.promoteId&&Je.generateId)throw new Error("promoteId and generateId cannot be used together.");var nt=function(ht,Re){var Ne=[];if(ht.type==="FeatureCollection")for(var Qe=0;Qe=nt;dt--){var _t=+Date.now();Qe=this._cluster(Qe,dt),this.trees[dt]=new Q(Qe,xe,Pe,Re,Float32Array),qe&&console.log("z%d: %d clusters in %dms",dt,Qe.length,+Date.now()-_t)}return qe&&console.timeEnd("total time"),this},ie.prototype.getClusters=function(Ke,Je){var qe=((Ke[0]+180)%360+360)%360-180,nt=Math.max(-90,Math.min(90,Ke[1])),ht=Ke[2]===180?180:((Ke[2]+180)%360+360)%360-180,Re=Math.max(-90,Math.min(90,Ke[3]));if(Ke[2]-Ke[0]>=360)qe=-180,ht=180;else if(qe>ht){var Ne=this.getClusters([qe,nt,180,Re],Je),Qe=this.getClusters([-180,nt,ht,Re],Je);return Ne.concat(Qe)}for(var ut=this.trees[this._limitZoom(Je)],dt=[],_t=0,It=ut.range(de(qe),me(Re),de(ht),me(nt));_t1?this._map(dt,!0):null,Rt=(ut<<5)+(Je+1)+this.points.length,Nt=0,$t=It;Nt<$t.length;Nt+=1){var Wt=$t[Nt],Xt=_t.points[Wt];if(!(Xt.zoom<=Je)){Xt.zoom=Je;var Qt=Xt.numPoints||1;yt+=Xt.x*Qt,Pt+=Xt.y*Qt,Lt+=Qt,Xt.parentId=Rt,Ne&&(wt||(wt=this._map(dt,!0)),Ne(wt,this._map(Xt)))}}Lt===1?qe.push(dt):(dt.parentId=Rt,qe.push(oe(yt/Lt,Pt/Lt,Rt,Lt,wt)))}}return qe},ie.prototype._getOriginId=function(Ke){return Ke-this.points.length>>5},ie.prototype._getOriginZoom=function(Ke){return(Ke-this.points.length)%32},ie.prototype._map=function(Ke,Je){if(Ke.numPoints)return Je?pe({},Ke.properties):Ke.properties;var qe=this.points[Ke.index].properties,nt=this.options.map(qe);return Je&&nt===qe?pe({},nt):nt},Ft.prototype.options={maxZoom:14,indexMaxZoom:5,indexMaxPoints:1e5,tolerance:3,extent:4096,buffer:64,lineMetrics:!1,promoteId:null,generateId:!1,debug:0},Ft.prototype.splitTile=function(Ke,Je,qe,nt,ht,Re,Ne){for(var Qe=[Ke,Je,qe,nt],ut=this.options,dt=ut.debug;Qe.length;){nt=Qe.pop(),qe=Qe.pop(),Je=Qe.pop(),Ke=Qe.pop();var _t=1<1&&console.time("creation"),Lt=this.tiles[It]=Et(Ke,Je,qe,nt,ut),this.tileCoords.push({z:Je,x:qe,y:nt}),dt)){dt>1&&(console.log("tile z%d-%d-%d (features: %d, points: %d, simplified: %d)",Je,qe,nt,Lt.numFeatures,Lt.numPoints,Lt.numSimplified),console.timeEnd("creation"));var yt="z"+Je;this.stats[yt]=(this.stats[yt]||0)+1,this.total++}if(Lt.source=Ke,ht){if(Je===ut.maxZoom||Je===ht)continue;var Pt=1<1&&console.time("clipping");var wt,Rt,Nt,$t,Wt,Xt,Qt=.5*ut.buffer/ut.extent,rn=.5-Qt,xn=.5+Qt,un=1+Qt;wt=Rt=Nt=$t=null,Wt=ze(Ke,_t,qe-Qt,qe+xn,0,Lt.minX,Lt.maxX,ut),Xt=ze(Ke,_t,qe+rn,qe+un,0,Lt.minX,Lt.maxX,ut),Ke=null,Wt&&(wt=ze(Wt,_t,nt-Qt,nt+xn,1,Lt.minY,Lt.maxY,ut),Rt=ze(Wt,_t,nt+rn,nt+un,1,Lt.minY,Lt.maxY,ut),Wt=null),Xt&&(Nt=ze(Xt,_t,nt-Qt,nt+xn,1,Lt.minY,Lt.maxY,ut),$t=ze(Xt,_t,nt+rn,nt+un,1,Lt.minY,Lt.maxY,ut),Xt=null),dt>1&&console.timeEnd("clipping"),Qe.push(wt||[],Je+1,2*qe,2*nt),Qe.push(Rt||[],Je+1,2*qe,2*nt+1),Qe.push(Nt||[],Je+1,2*qe+1,2*nt),Qe.push($t||[],Je+1,2*qe+1,2*nt+1)}}},Ft.prototype.getTile=function(Ke,Je,qe){var nt=this.options,ht=nt.extent,Re=nt.debug;if(Ke<0||Ke>24)return null;var Ne=1<1&&console.log("drilling down to z%d-%d-%d",Ke,Je,qe);for(var ut,dt=Ke,_t=Je,It=qe;!ut&&dt>0;)dt--,_t=Math.floor(_t/2),It=Math.floor(It/2),ut=this.tiles[Ot(dt,_t,It)];return ut&&ut.source?(Re>1&&console.log("found parent tile z%d-%d-%d",dt,_t,It),Re>1&&console.time("drilling down"),this.splitTile(ut.source,dt,_t,It,Ke,Je,qe),Re>1&&console.timeEnd("drilling down"),this.tiles[Qe]?ft(this.tiles[Qe],ht):null):null};var qt=function(Ke){function Je(qe,nt,ht,Re){Ke.call(this,qe,nt,ht,Bt),Re&&(this.loadGeoJSON=Re)}return Ke&&(Je.__proto__=Ke),Je.prototype=Object.create(Ke&&Ke.prototype),Je.prototype.constructor=Je,Je.prototype.loadData=function(qe,nt){this._pendingCallback&&this._pendingCallback(null,{abandoned:!0}),this._pendingCallback=nt,this._pendingLoadDataParams=qe,this._state&&this._state!=="Idle"?this._state="NeedsLoadData":(this._state="Coalescing",this._loadData())},Je.prototype._loadData=function(){var qe=this;if(this._pendingCallback&&this._pendingLoadDataParams){var nt=this._pendingCallback,ht=this._pendingLoadDataParams;delete this._pendingCallback,delete this._pendingLoadDataParams;var Re=!!(ht&&ht.request&&ht.request.collectResourceTiming)&&new i.RequestPerformance(ht.request);this.loadGeoJSON(ht,function(Ne,Qe){if(Ne||!Qe)return nt(Ne);if(typeof Qe!="object")return nt(new Error("Input data given to '"+ht.source+"' is not a valid GeoJSON object."));p(Qe,!0);try{qe._geoJSONIndex=ht.cluster?new ie(function(_t){var It=_t.superclusterOptions,Lt=_t.clusterProperties;if(!Lt||!It)return It;for(var yt={},Pt={},wt={accumulated:null,zoom:0},Rt={properties:null},Nt=Object.keys(Lt),$t=0,Wt=Nt;$t=0?0:$.button},v.remove=function($){$.parentNode&&$.parentNode.removeChild($)};var w=function($){function ee(){$.call(this),this.images={},this.updatedImages={},this.callbackDispatchedThisFrame={},this.loaded=!1,this.requestors=[],this.patterns={},this.atlasImage=new i.RGBAImage({width:1,height:1}),this.dirty=!0}return $&&(ee.__proto__=$),ee.prototype=Object.create($&&$.prototype),ee.prototype.constructor=ee,ee.prototype.isLoaded=function(){return this.loaded},ee.prototype.setLoaded=function(K){if(this.loaded!==K&&(this.loaded=K,K)){for(var le=0,Te=this.requestors;le=0?1.2:1))}function E($,ee,K,le,Te,De,He){for(var Ze=0;Ze65535)Tt(new Error("glyphs > 65535 not supported"));else if(ve.ranges[Fe])Tt(null,{stack:At,id:se,glyph:Ie});else{var Ue=ve.requests[Fe];Ue||(Ue=ve.requests[Fe]=[],A.loadGlyphRange(At,Fe,K.url,K.requestManager,function(We,Xe){if(Xe){for(var tt in Xe)K._doesCharSupportLocalGlyph(+tt)||(ve.glyphs[+tt]=Xe[+tt]);ve.ranges[Fe]=!0}for(var lt=0,mt=Ue;lt1&&(at=$[++Ze]);var At=Math.abs(Tt-at.left),se=Math.abs(Tt-at.right),ve=Math.min(At,se),Ie=void 0,Fe=Te/K*(le+1);if(at.isDash){var Ue=le-Math.abs(Fe);Ie=Math.sqrt(ve*ve+Ue*Ue)}else Ie=le-Math.sqrt(ve*ve+Fe*Fe);this.data[He+Tt]=Math.max(0,Math.min(255,Ie+128))}},O.prototype.addRegularDash=function($){for(var ee=$.length-1;ee>=0;--ee){var K=$[ee],le=$[ee+1];K.zeroLength?$.splice(ee,1):le&&le.isDash===K.isDash&&(le.left=K.left,$.splice(ee,1))}var Te=$[0],De=$[$.length-1];Te.isDash===De.isDash&&(Te.left=De.left-this.width,De.right=Te.right+this.width);for(var He=this.width*this.nextRow,Ze=0,at=$[Ze],Tt=0;Tt1&&(at=$[++Ze]);var At=Math.abs(Tt-at.left),se=Math.abs(Tt-at.right),ve=Math.min(At,se),Ie=at.isDash?ve:-ve;this.data[He+Tt]=Math.max(0,Math.min(255,Ie+128))}},O.prototype.addDash=function($,ee){var K=ee?7:0,le=2*K+1;if(this.nextRow+le>this.height)return i.warnOnce("LineAtlas out of space"),null;for(var Te=0,De=0;De<$.length;De++)Te+=$[De];if(Te!==0){var He=this.width/Te,Ze=this.getDashRanges($,this.width,He);ee?this.addRoundDash(Ze,He,K):this.addRegularDash(Ze)}var at={y:(this.nextRow+K+.5)/this.height,height:2*K/this.height,width:Te};return this.nextRow+=le,this.dirty=!0,at},O.prototype.bind=function($){var ee=$.gl;this.texture?(ee.bindTexture(ee.TEXTURE_2D,this.texture),this.dirty&&(this.dirty=!1,ee.texSubImage2D(ee.TEXTURE_2D,0,0,0,this.width,this.height,ee.ALPHA,ee.UNSIGNED_BYTE,this.data))):(this.texture=ee.createTexture(),ee.bindTexture(ee.TEXTURE_2D,this.texture),ee.texParameteri(ee.TEXTURE_2D,ee.TEXTURE_WRAP_S,ee.REPEAT),ee.texParameteri(ee.TEXTURE_2D,ee.TEXTURE_WRAP_T,ee.REPEAT),ee.texParameteri(ee.TEXTURE_2D,ee.TEXTURE_MIN_FILTER,ee.LINEAR),ee.texParameteri(ee.TEXTURE_2D,ee.TEXTURE_MAG_FILTER,ee.LINEAR),ee.texImage2D(ee.TEXTURE_2D,0,ee.ALPHA,this.width,this.height,0,ee.ALPHA,ee.UNSIGNED_BYTE,this.data))};var z=function $(ee,K){this.workerPool=ee,this.actors=[],this.currentActor=0,this.id=i.uniqueId();for(var le=this.workerPool.acquire(this.id),Te=0;Te=K&&$.x=le&&$.y0&&(Tt[new i.OverscaledTileID(K.overscaledZ,He,le.z,De,le.y-1).key]={backfilled:!1},Tt[new i.OverscaledTileID(K.overscaledZ,K.wrap,le.z,le.x,le.y-1).key]={backfilled:!1},Tt[new i.OverscaledTileID(K.overscaledZ,at,le.z,Ze,le.y-1).key]={backfilled:!1}),le.y+10&&(Te.resourceTiming=K._resourceTiming,K._resourceTiming=[]),K.fire(new i.Event("data",Te))}})},ee.prototype.onAdd=function(K){this.map=K,this.load()},ee.prototype.setData=function(K){var le=this;return this._data=K,this.fire(new i.Event("dataloading",{dataType:"source"})),this._updateWorkerData(function(Te){if(Te)le.fire(new i.ErrorEvent(Te));else{var De={dataType:"source",sourceDataType:"content"};le._collectResourceTiming&&le._resourceTiming&&le._resourceTiming.length>0&&(De.resourceTiming=le._resourceTiming,le._resourceTiming=[]),le.fire(new i.Event("data",De))}}),this},ee.prototype.getClusterExpansionZoom=function(K,le){return this.actor.send("geojson.getClusterExpansionZoom",{clusterId:K,source:this.id},le),this},ee.prototype.getClusterChildren=function(K,le){return this.actor.send("geojson.getClusterChildren",{clusterId:K,source:this.id},le),this},ee.prototype.getClusterLeaves=function(K,le,Te,De){return this.actor.send("geojson.getClusterLeaves",{source:this.id,clusterId:K,limit:le,offset:Te},De),this},ee.prototype._updateWorkerData=function(K){var le=this;this._loaded=!1;var Te=i.extend({},this.workerOptions),De=this._data;typeof De=="string"?(Te.request=this.map._requestManager.transformRequest(i.browser.resolveURL(De),i.ResourceType.Source),Te.request.collectResourceTiming=this._collectResourceTiming):Te.data=JSON.stringify(De),this.actor.send(this.type+".loadData",Te,function(He,Ze){le._removed||Ze&&Ze.abandoned||(le._loaded=!0,Ze&&Ze.resourceTiming&&Ze.resourceTiming[le.id]&&(le._resourceTiming=Ze.resourceTiming[le.id].slice(0)),le.actor.send(le.type+".coalesce",{source:Te.source},null),K(He))})},ee.prototype.loaded=function(){return this._loaded},ee.prototype.loadTile=function(K,le){var Te=this,De=K.actor?"reloadTile":"loadTile";K.actor=this.actor;var He={type:this.type,uid:K.uid,tileID:K.tileID,zoom:K.tileID.overscaledZ,maxZoom:this.maxzoom,tileSize:this.tileSize,source:this.id,pixelRatio:i.browser.devicePixelRatio,showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId};K.request=this.actor.send(De,He,function(Ze,at){return delete K.request,K.unloadVectorData(),K.aborted?le(null):Ze?le(Ze):(K.loadVectorData(at,Te.map.painter,De==="reloadTile"),le(null))})},ee.prototype.abortTile=function(K){K.request&&(K.request.cancel(),delete K.request),K.aborted=!0},ee.prototype.unloadTile=function(K){K.unloadVectorData(),this.actor.send("removeTile",{uid:K.uid,type:this.type,source:this.id})},ee.prototype.onRemove=function(){this._removed=!0,this.actor.send("removeSource",{type:this.type,source:this.id})},ee.prototype.serialize=function(){return i.extend({},this._options,{type:this.type,data:this._data})},ee.prototype.hasTransition=function(){return!1},ee}(i.Evented),U=i.createLayout([{name:"a_pos",type:"Int16",components:2},{name:"a_texture_pos",type:"Int16",components:2}]),G=function($){function ee(K,le,Te,De){$.call(this),this.id=K,this.dispatcher=Te,this.coordinates=le.coordinates,this.type="image",this.minzoom=0,this.maxzoom=22,this.tileSize=512,this.tiles={},this._loaded=!1,this.setEventedParent(De),this.options=le}return $&&(ee.__proto__=$),ee.prototype=Object.create($&&$.prototype),ee.prototype.constructor=ee,ee.prototype.load=function(K,le){var Te=this;this._loaded=!1,this.fire(new i.Event("dataloading",{dataType:"source"})),this.url=this.options.url,i.getImage(this.map._requestManager.transformRequest(this.url,i.ResourceType.Image),function(De,He){Te._loaded=!0,De?Te.fire(new i.ErrorEvent(De)):He&&(Te.image=He,K&&(Te.coordinates=K),le&&le(),Te._finishLoading())})},ee.prototype.loaded=function(){return this._loaded},ee.prototype.updateImage=function(K){var le=this;return this.image&&K.url?(this.options.url=K.url,this.load(K.coordinates,function(){le.texture=null}),this):this},ee.prototype._finishLoading=function(){this.map&&(this.setCoordinates(this.coordinates),this.fire(new i.Event("data",{dataType:"source",sourceDataType:"metadata"})))},ee.prototype.onAdd=function(K){this.map=K,this.load()},ee.prototype.setCoordinates=function(K){var le=this;this.coordinates=K;var Te=K.map(i.MercatorCoordinate.fromLngLat);this.tileID=function(He){for(var Ze=1/0,at=1/0,Tt=-1/0,At=-1/0,se=0,ve=He;sele.end(0)?this.fire(new i.ErrorEvent(new i.ValidationError("sources."+this.id,null,"Playback for this video can be set only between the "+le.start(0)+" and "+le.end(0)+"-second mark."))):this.video.currentTime=K}},ee.prototype.getVideo=function(){return this.video},ee.prototype.onAdd=function(K){this.map||(this.map=K,this.load(),this.video&&(this.video.play(),this.setCoordinates(this.coordinates)))},ee.prototype.prepare=function(){if(!(Object.keys(this.tiles).length===0||this.video.readyState<2)){var K=this.map.painter.context,le=K.gl;for(var Te in this.boundsBuffer||(this.boundsBuffer=K.createVertexBuffer(this._boundsArray,U.members)),this.boundsSegments||(this.boundsSegments=i.SegmentVector.simpleSegment(0,0,4,2)),this.texture?this.video.paused||(this.texture.bind(le.LINEAR,le.CLAMP_TO_EDGE),le.texSubImage2D(le.TEXTURE_2D,0,0,0,le.RGBA,le.UNSIGNED_BYTE,this.video)):(this.texture=new i.Texture(K,this.video,le.RGBA),this.texture.bind(le.LINEAR,le.CLAMP_TO_EDGE)),this.tiles){var De=this.tiles[Te];De.state!=="loaded"&&(De.state="loaded",De.texture=this.texture)}}},ee.prototype.serialize=function(){return{type:"video",urls:this.urls,coordinates:this.coordinates}},ee.prototype.hasTransition=function(){return this.video&&!this.video.paused},ee}(G),H=function($){function ee(K,le,Te,De){$.call(this,K,le,Te,De),le.coordinates?Array.isArray(le.coordinates)&&le.coordinates.length===4&&!le.coordinates.some(function(He){return!Array.isArray(He)||He.length!==2||He.some(function(Ze){return typeof Ze!="number"})})||this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'"coordinates" property must be an array of 4 longitude/latitude array pairs'))):this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'missing required property "coordinates"'))),le.animate&&typeof le.animate!="boolean"&&this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'optional "animate" property must be a boolean value'))),le.canvas?typeof le.canvas=="string"||le.canvas instanceof i.window.HTMLCanvasElement||this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'"canvas" must be either a string representing the ID of the canvas element from which to read, or an HTMLCanvasElement instance'))):this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'missing required property "canvas"'))),this.options=le,this.animate=le.animate===void 0||le.animate}return $&&(ee.__proto__=$),ee.prototype=Object.create($&&$.prototype),ee.prototype.constructor=ee,ee.prototype.load=function(){this._loaded=!0,this.canvas||(this.canvas=this.options.canvas instanceof i.window.HTMLCanvasElement?this.options.canvas:i.window.document.getElementById(this.options.canvas)),this.width=this.canvas.width,this.height=this.canvas.height,this._hasInvalidDimensions()?this.fire(new i.ErrorEvent(new Error("Canvas dimensions cannot be less than or equal to zero."))):(this.play=function(){this._playing=!0,this.map.triggerRepaint()},this.pause=function(){this._playing&&(this.prepare(),this._playing=!1)},this._finishLoading())},ee.prototype.getCanvas=function(){return this.canvas},ee.prototype.onAdd=function(K){this.map=K,this.load(),this.canvas&&this.animate&&this.play()},ee.prototype.onRemove=function(){this.pause()},ee.prototype.prepare=function(){var K=!1;if(this.canvas.width!==this.width&&(this.width=this.canvas.width,K=!0),this.canvas.height!==this.height&&(this.height=this.canvas.height,K=!0),!this._hasInvalidDimensions()&&Object.keys(this.tiles).length!==0){var le=this.map.painter.context,Te=le.gl;for(var De in this.boundsBuffer||(this.boundsBuffer=le.createVertexBuffer(this._boundsArray,U.members)),this.boundsSegments||(this.boundsSegments=i.SegmentVector.simpleSegment(0,0,4,2)),this.texture?(K||this._playing)&&this.texture.update(this.canvas,{premultiply:!0}):this.texture=new i.Texture(le,this.canvas,Te.RGBA,{premultiply:!0}),this.tiles){var He=this.tiles[De];He.state!=="loaded"&&(He.state="loaded",He.texture=this.texture)}}},ee.prototype.serialize=function(){return{type:"canvas",coordinates:this.coordinates}},ee.prototype.hasTransition=function(){return this._playing},ee.prototype._hasInvalidDimensions=function(){for(var K=0,le=[this.canvas.width,this.canvas.height];Kthis.max){var He=this._getAndRemoveByKey(this.order[0]);He&&this.onRemove(He)}return this},Q.prototype.has=function($){return $.wrapped().key in this.data},Q.prototype.getAndRemove=function($){return this.has($)?this._getAndRemoveByKey($.wrapped().key):null},Q.prototype._getAndRemoveByKey=function($){var ee=this.data[$].shift();return ee.timeout&&clearTimeout(ee.timeout),this.data[$].length===0&&delete this.data[$],this.order.splice(this.order.indexOf($),1),ee.value},Q.prototype.getByKey=function($){var ee=this.data[$];return ee?ee[0].value:null},Q.prototype.get=function($){return this.has($)?this.data[$.wrapped().key][0].value:null},Q.prototype.remove=function($,ee){if(!this.has($))return this;var K=$.wrapped().key,le=ee===void 0?0:this.data[K].indexOf(ee),Te=this.data[K][le];return this.data[K].splice(le,1),Te.timeout&&clearTimeout(Te.timeout),this.data[K].length===0&&delete this.data[K],this.onRemove(Te.value),this.order.splice(this.order.indexOf(K),1),this},Q.prototype.setMaxSize=function($){for(this.max=$;this.order.length>this.max;){var ee=this._getAndRemoveByKey(this.order[0]);ee&&this.onRemove(ee)}return this},Q.prototype.filter=function($){var ee=[];for(var K in this.data)for(var le=0,Te=this.data[K];le1||(Math.abs(At)>1&&(Math.abs(At+ve)===1?At+=ve:Math.abs(At-ve)===1&&(At-=ve)),Tt.dem&&at.dem&&(at.dem.backfillBorder(Tt.dem,At,se),at.neighboringTiles&&at.neighboringTiles[Ie]&&(at.neighboringTiles[Ie].backfilled=!0)))}},ee.prototype.getTile=function(K){return this.getTileByID(K.key)},ee.prototype.getTileByID=function(K){return this._tiles[K]},ee.prototype._retainLoadedChildren=function(K,le,Te,De){for(var He in this._tiles){var Ze=this._tiles[He];if(!(De[He]||!Ze.hasData()||Ze.tileID.overscaledZ<=le||Ze.tileID.overscaledZ>Te)){for(var at=Ze.tileID;Ze&&Ze.tileID.overscaledZ>le+1;){var Tt=Ze.tileID.scaledTo(Ze.tileID.overscaledZ-1);(Ze=this._tiles[Tt.key])&&Ze.hasData()&&(at=Tt)}for(var At=at;At.overscaledZ>le;)if(K[(At=At.scaledTo(At.overscaledZ-1)).key]){De[at.key]=at;break}}}},ee.prototype.findLoadedParent=function(K,le){if(K.key in this._loadedParentTiles){var Te=this._loadedParentTiles[K.key];return Te&&Te.tileID.overscaledZ>=le?Te:null}for(var De=K.overscaledZ-1;De>=le;De--){var He=K.scaledTo(De),Ze=this._getLoadedTile(He);if(Ze)return Ze}},ee.prototype._getLoadedTile=function(K){var le=this._tiles[K.key];return le&&le.hasData()?le:this._cache.getByKey(K.wrapped().key)},ee.prototype.updateCacheSize=function(K){var le=(Math.ceil(K.width/this._source.tileSize)+1)*(Math.ceil(K.height/this._source.tileSize)+1),Te=Math.floor(5*le),De=typeof this._maxTileCacheSize=="number"?Math.min(this._maxTileCacheSize,Te):Te;this._cache.setMaxSize(De)},ee.prototype.handleWrapJump=function(K){var le=(K-(this._prevLng===void 0?K:this._prevLng))/360,Te=Math.round(le);if(this._prevLng=K,Te){var De={};for(var He in this._tiles){var Ze=this._tiles[He];Ze.tileID=Ze.tileID.unwrapTo(Ze.tileID.wrap+Te),De[Ze.tileID.key]=Ze}for(var at in this._tiles=De,this._timers)clearTimeout(this._timers[at]),delete this._timers[at];for(var Tt in this._tiles){var At=this._tiles[Tt];this._setTileReloadTimer(Tt,At)}}},ee.prototype.update=function(K){var le=this;if(this.transform=K,this._sourceLoaded&&!this._paused){var Te;this.updateCacheSize(K),this.handleWrapJump(this.transform.center.lng),this._coveredTiles={},this.used?this._source.tileID?Te=K.getVisibleUnwrappedCoordinates(this._source.tileID).map(function(Ht){return new i.OverscaledTileID(Ht.canonical.z,Ht.wrap,Ht.canonical.z,Ht.canonical.x,Ht.canonical.y)}):(Te=K.coveringTiles({tileSize:this._source.tileSize,minzoom:this._source.minzoom,maxzoom:this._source.maxzoom,roundZoom:this._source.roundZoom,reparseOverscaled:this._source.reparseOverscaled}),this._source.hasTile&&(Te=Te.filter(function(Ht){return le._source.hasTile(Ht)}))):Te=[];var De=K.coveringZoomLevel(this._source),He=Math.max(De-ee.maxOverzooming,this._source.minzoom),Ze=Math.max(De+ee.maxUnderzooming,this._source.minzoom),at=this._updateRetainedTiles(Te,De);if(Ne(this._source.type)){for(var Tt={},At={},se=0,ve=Object.keys(at);sethis._source.maxzoom){var Xe=Ue.children(this._source.maxzoom)[0],tt=this.getTile(Xe);if(tt&&tt.hasData()){Te[Xe.key]=Xe;continue}}else{var lt=Ue.children(this._source.maxzoom);if(Te[lt[0].key]&&Te[lt[1].key]&&Te[lt[2].key]&&Te[lt[3].key])continue}for(var mt=We.wasRequested(),zt=Ue.overscaledZ-1;zt>=He;--zt){var Ut=Ue.scaledTo(zt);if(De[Ut.key]||(De[Ut.key]=!0,!(We=this.getTile(Ut))&&mt&&(We=this._addTile(Ut)),We&&(Te[Ut.key]=Ut,mt=We.wasRequested(),We.hasData())))break}}}return Te},ee.prototype._updateLoadedParentTileCache=function(){for(var K in this._loadedParentTiles={},this._tiles){for(var le=[],Te=void 0,De=this._tiles[K].tileID;De.overscaledZ>0;){if(De.key in this._loadedParentTiles){Te=this._loadedParentTiles[De.key];break}le.push(De.key);var He=De.scaledTo(De.overscaledZ-1);if(Te=this._getLoadedTile(He))break;De=He}for(var Ze=0,at=le;Ze0||(le.hasData()&&le.state!=="reloading"?this._cache.add(le.tileID,le,le.getExpiryTimeout()):(le.aborted=!0,this._abortTile(le),this._unloadTile(le))))},ee.prototype.clearTiles=function(){for(var K in this._shouldReloadOnResume=!1,this._paused=!1,this._tiles)this._removeTile(K);this._cache.reset()},ee.prototype.tilesIn=function(K,le,Te){var De=this,He=[],Ze=this.transform;if(!Ze)return He;for(var at=Te?Ze.getCameraQueryGeometry(K):K,Tt=K.map(function(zt){return Ze.pointCoordinate(zt)}),At=at.map(function(zt){return Ze.pointCoordinate(zt)}),se=this.getIds(),ve=1/0,Ie=1/0,Fe=-1/0,Ue=-1/0,We=0,Xe=At;We=0&&tn[1].y+vn>=0){var ln=Tt.map(function(Cn){return Ht.getTilePoint(Cn)}),an=At.map(function(Cn){return Ht.getTilePoint(Cn)});He.push({tile:Ut,tileID:Ht,queryGeometry:ln,cameraQueryGeometry:an,scale:en})}}},mt=0;mt=i.browser.now())return!0}return!1},ee.prototype.setFeatureState=function(K,le,Te){K=K||"_geojsonTileLayer",this._state.updateState(K,le,Te)},ee.prototype.removeFeatureState=function(K,le,Te){K=K||"_geojsonTileLayer",this._state.removeFeatureState(K,le,Te)},ee.prototype.getFeatureState=function(K,le){return K=K||"_geojsonTileLayer",this._state.getState(K,le)},ee.prototype.setDependencies=function(K,le,Te){var De=this._tiles[K];De&&De.setDependencies(le,Te)},ee.prototype.reloadTilesForDependencies=function(K,le){for(var Te in this._tiles)this._tiles[Te].hasDependency(K,le)&&this._reloadTile(Te,"reloading");this._cache.filter(function(De){return!De.hasDependency(K,le)})},ee}(i.Evented);function Re($,ee){var K=Math.abs(2*$.wrap)-+($.wrap<0),le=Math.abs(2*ee.wrap)-+(ee.wrap<0);return $.overscaledZ-ee.overscaledZ||le-K||ee.canonical.y-$.canonical.y||ee.canonical.x-$.canonical.x}function Ne($){return $==="raster"||$==="image"||$==="video"}function Qe(){return new i.window.Worker(Mt.workerUrl)}ht.maxOverzooming=10,ht.maxUnderzooming=3;var ut="mapboxgl_preloaded_worker_pool",dt=function(){this.active={}};dt.prototype.acquire=function($){if(!this.workers)for(this.workers=[];this.workers.length0?(le-De)/He:0;return this.points[Te].mult(1-Ze).add(this.points[ee].mult(Ze))};var An=function($,ee,K){var le=this.boxCells=[],Te=this.circleCells=[];this.xCellCount=Math.ceil($/K),this.yCellCount=Math.ceil(ee/K);for(var De=0;De=-ee[0]&&K<=ee[0]&&le>=-ee[1]&&le<=ee[1]}function pn($,ee,K,le,Te,De,He,Ze){var at=le?$.textSizeData:$.iconSizeData,Tt=i.evaluateSizeForZoom(at,K.transform.zoom),At=[256/K.width*2+1,256/K.height*2+1],se=le?$.text.dynamicLayoutVertexArray:$.icon.dynamicLayoutVertexArray;se.clear();for(var ve=$.lineVertexArray,Ie=le?$.text.placedSymbolArray:$.icon.placedSymbolArray,Fe=K.transform.width/K.transform.height,Ue=!1,We=0;WeMath.abs(K.x-ee.x)*le?{useVertical:!0}:($===i.WritingMode.vertical?ee.yK.x)?{needsFlipping:!0}:null}function jn($,ee,K,le,Te,De,He,Ze,at,Tt,At,se,ve,Ie){var Fe,Ue=ee/24,We=$.lineOffsetX*Ue,Xe=$.lineOffsetY*Ue;if($.numGlyphs>1){var tt=$.glyphStartIndex+$.numGlyphs,lt=$.lineStartIndex,mt=$.lineStartIndex+$.lineLength,zt=Dn(Ue,Ze,We,Xe,K,At,se,$,at,De,ve);if(!zt)return{notEnoughRoom:!0};var Ut=sn(zt.first.point,He).point,Ht=sn(zt.last.point,He).point;if(le&&!K){var en=In($.writingMode,Ut,Ht,Ie);if(en)return en}Fe=[zt.first];for(var vn=$.glyphStartIndex+1;vn0?Cn.point:Gn(se,an,tn,1,Te),on=In($.writingMode,tn,_n,Ie);if(on)return on}var Fn=qn(Ue*Ze.getoffsetX($.glyphStartIndex),We,Xe,K,At,se,$.segment,$.lineStartIndex,$.lineStartIndex+$.lineLength,at,De,ve);if(!Fn)return{notEnoughRoom:!0};Fe=[Fn]}for(var Hn=0,ir=Fe;Hn0?1:-1,Fe=0;le&&(Ie*=-1,Fe=Math.PI),Ie<0&&(Fe+=Math.PI);for(var Ue=Ie>0?Ze+He:Ze+He+1,We=Te,Xe=Te,tt=0,lt=0,mt=Math.abs(ve),zt=[];tt+lt<=mt;){if((Ue+=Ie)=at)return null;if(Xe=We,zt.push(We),(We=se[Ue])===void 0){var Ut=new i.Point(Tt.getx(Ue),Tt.gety(Ue)),Ht=sn(Ut,At);if(Ht.signedDistanceFromCamera>0)We=se[Ue]=Ht.point;else{var en=Ue-Ie;We=Gn(tt===0?De:new i.Point(Tt.getx(en),Tt.gety(en)),Ut,Xe,mt-tt+1,At)}}tt+=lt,lt=Xe.dist(We)}var vn=(mt-tt)/lt,tn=We.sub(Xe),ln=tn.mult(vn)._add(Xe);ln._add(tn._unit()._perp()._mult(K*Ie));var an=Fe+Math.atan2(We.y-Xe.y,We.x-Xe.x);return zt.push(ln),{point:ln,angle:an,path:zt}}An.prototype.keysLength=function(){return this.boxKeys.length+this.circleKeys.length},An.prototype.insert=function($,ee,K,le,Te){this._forEachCell(ee,K,le,Te,this._insertBoxCell,this.boxUid++),this.boxKeys.push($),this.bboxes.push(ee),this.bboxes.push(K),this.bboxes.push(le),this.bboxes.push(Te)},An.prototype.insertCircle=function($,ee,K,le){this._forEachCell(ee-le,K-le,ee+le,K+le,this._insertCircleCell,this.circleUid++),this.circleKeys.push($),this.circles.push(ee),this.circles.push(K),this.circles.push(le)},An.prototype._insertBoxCell=function($,ee,K,le,Te,De){this.boxCells[Te].push(De)},An.prototype._insertCircleCell=function($,ee,K,le,Te,De){this.circleCells[Te].push(De)},An.prototype._query=function($,ee,K,le,Te,De){if(K<0||$>this.width||le<0||ee>this.height)return!Te&&[];var He=[];if($<=0&&ee<=0&&this.width<=K&&this.height<=le){if(Te)return!0;for(var Ze=0;Ze0:He},An.prototype._queryCircle=function($,ee,K,le,Te){var De=$-K,He=$+K,Ze=ee-K,at=ee+K;if(He<0||De>this.width||at<0||Ze>this.height)return!le&&[];var Tt=[],At={hitTest:le,circle:{x:$,y:ee,radius:K},seenUids:{box:{},circle:{}}};return this._forEachCell(De,Ze,He,at,this._queryCellCircle,Tt,At,Te),le?Tt.length>0:Tt},An.prototype.query=function($,ee,K,le,Te){return this._query($,ee,K,le,!1,Te)},An.prototype.hitTest=function($,ee,K,le,Te){return this._query($,ee,K,le,!0,Te)},An.prototype.hitTestCircle=function($,ee,K,le){return this._queryCircle($,ee,K,!0,le)},An.prototype._queryCell=function($,ee,K,le,Te,De,He,Ze){var at=He.seenUids,Tt=this.boxCells[Te];if(Tt!==null)for(var At=this.bboxes,se=0,ve=Tt;se=At[Fe+0]&&le>=At[Fe+1]&&(!Ze||Ze(this.boxKeys[Ie]))){if(He.hitTest)return De.push(!0),!0;De.push({key:this.boxKeys[Ie],x1:At[Fe],y1:At[Fe+1],x2:At[Fe+2],y2:At[Fe+3]})}}}var Ue=this.circleCells[Te];if(Ue!==null)for(var We=this.circles,Xe=0,tt=Ue;XeHe*He+Ze*Ze},An.prototype._circleAndRectCollide=function($,ee,K,le,Te,De,He){var Ze=(De-le)/2,at=Math.abs($-(le+Ze));if(at>Ze+K)return!1;var Tt=(He-Te)/2,At=Math.abs(ee-(Te+Tt));if(At>Tt+K)return!1;if(at<=Ze||At<=Tt)return!0;var se=at-Ze,ve=At-Tt;return se*se+ve*ve<=K*K};var lr=new Float32Array([-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0]);function rr($,ee){for(var K=0;K<$;K++){var le=ee.length;ee.resize(le+4),ee.float32.set(lr,3*le)}}function Sr($,ee,K){var le=ee[0],Te=ee[1];return $[0]=K[0]*le+K[4]*Te+K[12],$[1]=K[1]*le+K[5]*Te+K[13],$[3]=K[3]*le+K[7]*Te+K[15],$}var yr=100,or=function($,ee,K){ee===void 0&&(ee=new An($.width+200,$.height+200,25)),K===void 0&&(K=new An($.width+200,$.height+200,25)),this.transform=$,this.grid=ee,this.ignoredGrid=K,this.pitchfactor=Math.cos($._pitch)*$.cameraToCenterDistance,this.screenRightBoundary=$.width+yr,this.screenBottomBoundary=$.height+yr,this.gridRightBoundary=$.width+200,this.gridBottomBoundary=$.height+200};function vr($,ee,K){return ee*(i.EXTENT/($.tileSize*Math.pow(2,K-$.tileID.overscaledZ)))}or.prototype.placeCollisionBox=function($,ee,K,le,Te){var De=this.projectAndGetPerspectiveRatio(le,$.anchorPointX,$.anchorPointY),He=K*De.perspectiveRatio,Ze=$.x1*He+De.point.x,at=$.y1*He+De.point.y,Tt=$.x2*He+De.point.x,At=$.y2*He+De.point.y;return!this.isInsideGrid(Ze,at,Tt,At)||!ee&&this.grid.hitTest(Ze,at,Tt,At,Te)?{box:[],offscreen:!1}:{box:[Ze,at,Tt,At],offscreen:this.isOffscreen(Ze,at,Tt,At)}},or.prototype.placeCollisionCircles=function($,ee,K,le,Te,De,He,Ze,at,Tt,At,se,ve){var Ie=[],Fe=new i.Point(ee.anchorX,ee.anchorY),Ue=sn(Fe,De),We=Tn(this.transform.cameraToCenterDistance,Ue.signedDistanceFromCamera),Xe=(Tt?Te/We:Te*We)/i.ONE_EM,tt=sn(Fe,He).point,lt=Dn(Xe,le,ee.lineOffsetX*Xe,ee.lineOffsetY*Xe,!1,tt,Fe,ee,K,He,{}),mt=!1,zt=!1,Ut=!0;if(lt){for(var Ht=.5*se*We+ve,en=new i.Point(-100,-100),vn=new i.Point(this.screenRightBoundary,this.screenBottomBoundary),tn=new un,ln=lt.first,an=lt.last,Cn=[],_n=ln.path.length-1;_n>=1;_n--)Cn.push(ln.path[_n]);for(var on=1;on0){for(var ar=Cn[0].clone(),Mr=Cn[0].clone(),Er=1;Er=en.x&&Mr.x<=vn.x&&ar.y>=en.y&&Mr.y<=vn.y?[Cn]:Mr.xvn.x||Mr.yvn.y?[]:i.clipLine([Cn],en.x,en.y,vn.x,vn.y)}for(var xr=0,kr=ir;xr=this.screenRightBoundary||lethis.screenBottomBoundary},or.prototype.isInsideGrid=function($,ee,K,le){return K>=0&&$=0&&ee0?(this.prevPlacement&&this.prevPlacement.variableOffsets[se.crossTileID]&&this.prevPlacement.placements[se.crossTileID]&&this.prevPlacement.placements[se.crossTileID].text&&(Ue=this.prevPlacement.variableOffsets[se.crossTileID].anchor),this.variableOffsets[se.crossTileID]={textOffset:We,width:K,height:le,anchor:$,textBoxScale:Te,prevAnchor:Ue},this.markUsedJustification(ve,$,se,Ie),ve.allowVerticalPlacement&&(this.markUsedOrientation(ve,Ie,se),this.placedOrientations[se.crossTileID]=Ie),{shift:Xe,placedGlyphBoxes:tt}):void 0},tr.prototype.placeLayerBucketPart=function($,ee,K){var le=this,Te=$.parameters,De=Te.bucket,He=Te.layout,Ze=Te.posMatrix,at=Te.textLabelPlaneMatrix,Tt=Te.labelToScreenMatrix,At=Te.textPixelRatio,se=Te.holdingForFade,ve=Te.collisionBoxArray,Ie=Te.partiallyEvaluatedTextSize,Fe=Te.collisionGroup,Ue=He.get("text-optional"),We=He.get("icon-optional"),Xe=He.get("text-allow-overlap"),tt=He.get("icon-allow-overlap"),lt=He.get("text-rotation-alignment")==="map",mt=He.get("text-pitch-alignment")==="map",zt=He.get("icon-text-fit")!=="none",Ut=He.get("symbol-z-order")==="viewport-y",Ht=Xe&&(tt||!De.hasIconData()||We),en=tt&&(Xe||!De.hasTextData()||Ue);!De.collisionArrays&&ve&&De.deserializeCollisionBoxes(ve);var vn=function(on,Fn){if(!ee[on.crossTileID])if(se)le.placements[on.crossTileID]=new bn(!1,!1,!1);else{var Hn,ir=!1,ar=!1,Mr=!0,Er=null,xr={box:null,offscreen:null},kr={box:null,offscreen:null},jr=null,hi=null,di=0,wr=0,Ur=0;Fn.textFeatureIndex?di=Fn.textFeatureIndex:on.useRuntimeCollisionCircles&&(di=on.featureIndex),Fn.verticalTextFeatureIndex&&(wr=Fn.verticalTextFeatureIndex);var oi=Fn.textBox;if(oi){var ai=function(Ri){var Xa=i.WritingMode.horizontal;if(De.allowVerticalPlacement&&!Ri&&le.prevPlacement){var jo=le.prevPlacement.placedOrientations[on.crossTileID];jo&&(le.placedOrientations[on.crossTileID]=jo,Xa=jo,le.markUsedOrientation(De,Xa,on))}return Xa},Ii=function(Ri,Xa){if(De.allowVerticalPlacement&&on.numVerticalGlyphVertices>0&&Fn.verticalTextBox)for(var jo=0,Kc=De.writingModes;jo0&&(vi=vi.filter(function(Ri){return Ri!==Ni.anchor})).unshift(Ni.anchor)}var na=function(Ri,Xa,jo){for(var Kc=Ri.x2-Ri.x1,h1=Ri.y2-Ri.y1,L0=on.textBoxScale,d1=zt&&!tt?Xa:null,_h={box:[],offscreen:!1},hg=Xe?2*vi.length:vi.length,od=0;od=vi.length,Ff=le.attemptAnchorPlacement(wh,Ri,Kc,h1,L0,lt,mt,At,Ze,Fe,p1,on,De,jo,d1);if(Ff&&(_h=Ff.placedGlyphBoxes)&&_h.box&&_h.box.length){ir=!0,Er=Ff.shift;break}}return _h};Ii(function(){return na(oi,Fn.iconBox,i.WritingMode.horizontal)},function(){var Ri=Fn.verticalTextBox,Xa=xr&&xr.box&&xr.box.length;return De.allowVerticalPlacement&&!Xa&&on.numVerticalGlyphVertices>0&&Ri?na(Ri,Fn.verticalIconBox,i.WritingMode.vertical):{box:null,offscreen:null}}),xr&&(ir=xr.box,Mr=xr.offscreen);var pa=ai(xr&&xr.box);if(!ir&&le.prevPlacement){var ua=le.prevPlacement.variableOffsets[on.crossTileID];ua&&(le.variableOffsets[on.crossTileID]=ua,le.markUsedJustification(De,ua.anchor,on,pa))}}else{var Qi=function(Ri,Xa){var jo=le.collisionIndex.placeCollisionBox(Ri,Xe,At,Ze,Fe.predicate);return jo&&jo.box&&jo.box.length&&(le.markUsedOrientation(De,Xa,on),le.placedOrientations[on.crossTileID]=Xa),jo};Ii(function(){return Qi(oi,i.WritingMode.horizontal)},function(){var Ri=Fn.verticalTextBox;return De.allowVerticalPlacement&&on.numVerticalGlyphVertices>0&&Ri?Qi(Ri,i.WritingMode.vertical):{box:null,offscreen:null}}),ai(xr&&xr.box&&xr.box.length)}}if(ir=(Hn=xr)&&Hn.box&&Hn.box.length>0,Mr=Hn&&Hn.offscreen,on.useRuntimeCollisionCircles){var ra=De.text.placedSymbolArray.get(on.centerJustifiedTextSymbolIndex),ca=i.evaluateSizeForFeature(De.textSizeData,Ie,ra),Ia=He.get("text-padding"),zl=on.collisionCircleDiameter;jr=le.collisionIndex.placeCollisionCircles(Xe,ra,De.lineVertexArray,De.glyphOffsetArray,ca,Ze,at,Tt,K,mt,Fe.predicate,zl,Ia),ir=Xe||jr.circles.length>0&&!jr.collisionDetected,Mr=Mr&&jr.offscreen}if(Fn.iconFeatureIndex&&(Ur=Fn.iconFeatureIndex),Fn.iconBox){var Za=function(Ri){var Xa=zt&&Er?Yn(Ri,Er.x,Er.y,lt,mt,le.transform.angle):Ri;return le.collisionIndex.placeCollisionBox(Xa,tt,At,Ze,Fe.predicate)};ar=kr&&kr.box&&kr.box.length&&Fn.verticalIconBox?(hi=Za(Fn.verticalIconBox)).box.length>0:(hi=Za(Fn.iconBox)).box.length>0,Mr=Mr&&hi.offscreen}var ui=Ue||on.numHorizontalGlyphVertices===0&&on.numVerticalGlyphVertices===0,fo=We||on.numIconVertices===0;if(ui||fo?fo?ui||(ar=ar&&ir):ir=ar&&ir:ar=ir=ar&&ir,ir&&Hn&&Hn.box&&(kr&&kr.box&&wr?le.collisionIndex.insertCollisionBox(Hn.box,He.get("text-ignore-placement"),De.bucketInstanceId,wr,Fe.ID):le.collisionIndex.insertCollisionBox(Hn.box,He.get("text-ignore-placement"),De.bucketInstanceId,di,Fe.ID)),ar&&hi&&le.collisionIndex.insertCollisionBox(hi.box,He.get("icon-ignore-placement"),De.bucketInstanceId,Ur,Fe.ID),jr&&(ir&&le.collisionIndex.insertCollisionCircles(jr.circles,He.get("text-ignore-placement"),De.bucketInstanceId,di,Fe.ID),K)){var _o=De.bucketInstanceId,Aa=le.collisionCircleArrays[_o];Aa===void 0&&(Aa=le.collisionCircleArrays[_o]=new Rn);for(var Ds=0;Ds=0;--ln){var an=tn[ln];vn(De.symbolInstances.get(an),De.collisionArrays[an])}else for(var Cn=$.symbolInstanceStart;Cn<$.symbolInstanceEnd;Cn++)vn(De.symbolInstances.get(Cn),De.collisionArrays[Cn]);if(K&&De.bucketInstanceId in this.collisionCircleArrays){var _n=this.collisionCircleArrays[De.bucketInstanceId];i.invert(_n.invProjMatrix,Ze),_n.viewportMatrix=this.collisionIndex.getViewportMatrix()}De.justReloaded=!1},tr.prototype.markUsedJustification=function($,ee,K,le){var Te,De={left:K.leftJustifiedTextSymbolIndex,center:K.centerJustifiedTextSymbolIndex,right:K.rightJustifiedTextSymbolIndex};Te=le===i.WritingMode.vertical?K.verticalPlacedTextSymbolIndex:De[i.getAnchorJustification(ee)];for(var He=0,Ze=[K.leftJustifiedTextSymbolIndex,K.centerJustifiedTextSymbolIndex,K.rightJustifiedTextSymbolIndex,K.verticalPlacedTextSymbolIndex];He=0&&($.text.placedSymbolArray.get(at).crossTileID=Te>=0&&at!==Te?0:K.crossTileID)}},tr.prototype.markUsedOrientation=function($,ee,K){for(var le=ee===i.WritingMode.horizontal||ee===i.WritingMode.horizontalOnly?ee:0,Te=ee===i.WritingMode.vertical?ee:0,De=0,He=[K.leftJustifiedTextSymbolIndex,K.centerJustifiedTextSymbolIndex,K.rightJustifiedTextSymbolIndex];De0||mt>0,vn=tt.numIconVertices>0,tn=le.placedOrientations[tt.crossTileID],ln=tn===i.WritingMode.vertical,an=tn===i.WritingMode.horizontal||tn===i.WritingMode.horizontalOnly;if(en){var Cn=En(Ht.text),_n=ln?mn:Cn;Ie($.text,lt,_n);var on=an?mn:Cn;Ie($.text,mt,on);var Fn=Ht.text.isHidden();[tt.rightJustifiedTextSymbolIndex,tt.centerJustifiedTextSymbolIndex,tt.leftJustifiedTextSymbolIndex].forEach(function(Ur){Ur>=0&&($.text.placedSymbolArray.get(Ur).hidden=Fn||ln?1:0)}),tt.verticalPlacedTextSymbolIndex>=0&&($.text.placedSymbolArray.get(tt.verticalPlacedTextSymbolIndex).hidden=Fn||an?1:0);var Hn=le.variableOffsets[tt.crossTileID];Hn&&le.markUsedJustification($,Hn.anchor,tt,tn);var ir=le.placedOrientations[tt.crossTileID];ir&&(le.markUsedJustification($,"left",tt,ir),le.markUsedOrientation($,ir,tt))}if(vn){var ar=En(Ht.icon),Mr=!(se&&tt.verticalPlacedIconSymbolIndex&&ln);if(tt.placedIconSymbolIndex>=0){var Er=Mr?ar:mn;Ie($.icon,tt.numIconVertices,Er),$.icon.placedSymbolArray.get(tt.placedIconSymbolIndex).hidden=Ht.icon.isHidden()}if(tt.verticalPlacedIconSymbolIndex>=0){var xr=Mr?mn:ar;Ie($.icon,tt.numVerticalIconVertices,xr),$.icon.placedSymbolArray.get(tt.verticalPlacedIconSymbolIndex).hidden=Ht.icon.isHidden()}}if($.hasIconCollisionBoxData()||$.hasTextCollisionBoxData()){var kr=$.collisionArrays[Xe];if(kr){var jr=new i.Point(0,0);if(kr.textBox||kr.verticalTextBox){var hi=!0;if(at){var di=le.variableOffsets[zt];di?(jr=Kn(di.anchor,di.width,di.height,di.textOffset,di.textBoxScale),Tt&&jr._rotate(At?le.transform.angle:-le.transform.angle)):hi=!1}kr.textBox&&mr($.textCollisionBox.collisionVertexArray,Ht.text.placed,!hi||ln,jr.x,jr.y),kr.verticalTextBox&&mr($.textCollisionBox.collisionVertexArray,Ht.text.placed,!hi||an,jr.x,jr.y)}var wr=!!(!an&&kr.verticalIconBox);kr.iconBox&&mr($.iconCollisionBox.collisionVertexArray,Ht.icon.placed,wr,se?jr.x:0,se?jr.y:0),kr.verticalIconBox&&mr($.iconCollisionBox.collisionVertexArray,Ht.icon.placed,!wr,se?jr.x:0,se?jr.y:0)}}},Ue=0;Ue<$.symbolInstances.length;Ue++)Fe(Ue);if($.sortFeatures(this.transform.angle),this.retainedQueryData[$.bucketInstanceId]&&(this.retainedQueryData[$.bucketInstanceId].featureSortOrder=$.featureSortOrder),$.hasTextData()&&$.text.opacityVertexBuffer&&$.text.opacityVertexBuffer.updateData($.text.opacityVertexArray),$.hasIconData()&&$.icon.opacityVertexBuffer&&$.icon.opacityVertexBuffer.updateData($.icon.opacityVertexArray),$.hasIconCollisionBoxData()&&$.iconCollisionBox.collisionVertexBuffer&&$.iconCollisionBox.collisionVertexBuffer.updateData($.iconCollisionBox.collisionVertexArray),$.hasTextCollisionBoxData()&&$.textCollisionBox.collisionVertexBuffer&&$.textCollisionBox.collisionVertexBuffer.updateData($.textCollisionBox.collisionVertexArray),$.bucketInstanceId in this.collisionCircleArrays){var We=this.collisionCircleArrays[$.bucketInstanceId];$.placementInvProjMatrix=We.invProjMatrix,$.placementViewportMatrix=We.viewportMatrix,$.collisionCircleArray=We.circles,delete this.collisionCircleArrays[$.bucketInstanceId]}},tr.prototype.symbolFadeChange=function($){return this.fadeDuration===0?1:($-this.commitTime)/this.fadeDuration+this.prevZoomAdjustment},tr.prototype.zoomAdjustment=function($){return Math.max(0,(this.transform.zoom-$)/1.5)},tr.prototype.hasTransitions=function($){return this.stale||$-this.lastPlacementChangeTime$},tr.prototype.setStale=function(){this.stale=!0};var nn=Math.pow(2,25),Pn=Math.pow(2,24),jt=Math.pow(2,17),Jt=Math.pow(2,16),fn=Math.pow(2,9),zn=Math.pow(2,8),On=Math.pow(2,1);function En($){if($.opacity===0&&!$.placed)return 0;if($.opacity===1&&$.placed)return 4294967295;var ee=$.placed?1:0,K=Math.floor(127*$.opacity);return K*nn+ee*Pn+K*jt+ee*Jt+K*fn+ee*zn+K*On+ee}var mn=0,wn=function($){this._sortAcrossTiles=$.layout.get("symbol-z-order")!=="viewport-y"&&$.layout.get("symbol-sort-key").constantOr(1)!==void 0,this._currentTileIndex=0,this._currentPartIndex=0,this._seenCrossTileIDs={},this._bucketParts=[]};wn.prototype.continuePlacement=function($,ee,K,le,Te){for(var De=this._bucketParts;this._currentTileIndex<$.length;){var He=$[this._currentTileIndex];if(ee.getBucketParts(De,le,He,this._sortAcrossTiles),this._currentTileIndex++,Te())return!0}for(this._sortAcrossTiles&&(this._sortAcrossTiles=!1,De.sort(function(at,Tt){return at.sortKey-Tt.sortKey}));this._currentPartIndex2};this._currentPlacementIndex>=0;){var He=ee[$[this._currentPlacementIndex]],Ze=this.placement.collisionIndex.transform.zoom;if(He.type==="symbol"&&(!He.minzoom||He.minzoom<=Ze)&&(!He.maxzoom||He.maxzoom>Ze)){if(this._inProgressLayer||(this._inProgressLayer=new wn(He)),this._inProgressLayer.continuePlacement(K[He.source],this.placement,this._showCollisionBoxes,He,De))return;delete this._inProgressLayer}this._currentPlacementIndex--}this._done=!0},gn.prototype.commit=function($){return this.placement.commit($),this.placement};var yn=512/i.EXTENT/2,Sn=function($,ee,K){this.tileID=$,this.indexedSymbolInstances={},this.bucketInstanceId=K;for(var le=0;le$.overscaledZ)for(var Ze in He){var at=He[Ze];at.tileID.isChildOf($)&&at.findMatches(ee.symbolInstances,$,Te)}else{var Tt=He[$.scaledTo(Number(De)).key];Tt&&Tt.findMatches(ee.symbolInstances,$,Te)}}for(var At=0;At1?"@2x":"",se=i.getJSON(De.transformRequest(De.normalizeSpriteURL(Te,At,".json"),i.ResourceType.SpriteJSON),function(Fe,Ue){se=null,Tt||(Tt=Fe,Ze=Ue,Ie())}),ve=i.getImage(De.transformRequest(De.normalizeSpriteURL(Te,At,".png"),i.ResourceType.SpriteImage),function(Fe,Ue){ve=null,Tt||(Tt=Fe,at=Ue,Ie())});function Ie(){if(Tt)He(Tt);else if(Ze&&at){var Fe=i.browser.getImageData(at),Ue={};for(var We in Ze){var Xe=Ze[We],tt=Xe.width,lt=Xe.height,mt=Xe.x,zt=Xe.y,Ut=Xe.sdf,Ht=Xe.pixelRatio,en=Xe.stretchX,vn=Xe.stretchY,tn=Xe.content,ln=new i.RGBAImage({width:tt,height:lt});i.RGBAImage.copy(Fe,ln,{x:mt,y:zt},{x:0,y:0},{width:tt,height:lt}),Ue[We]={data:ln,pixelRatio:Ht,sdf:Ut,stretchX:en,stretchY:vn,content:tn}}He(null,Ue)}}return{cancel:function(){se&&(se.cancel(),se=null),ve&&(ve.cancel(),ve=null)}}}(K,this.map._requestManager,function(Te,De){if(le._spriteRequest=null,Te)le.fire(new i.ErrorEvent(Te));else if(De)for(var He in De)le.imageManager.addImage(He,De[He]);le.imageManager.setLoaded(!0),le._availableImages=le.imageManager.listImages(),le.dispatcher.broadcast("setImages",le._availableImages),le.fire(new i.Event("data",{dataType:"style"}))})},ee.prototype._validateLayer=function(K){var le=this.sourceCaches[K.source];if(le){var Te=K.sourceLayer;if(Te){var De=le.getSource();(De.type==="geojson"||De.vectorLayerIds&&De.vectorLayerIds.indexOf(Te)===-1)&&this.fire(new i.ErrorEvent(new Error('Source layer "'+Te+'" does not exist on source "'+De.id+'" as specified by style layer "'+K.id+'"')))}}},ee.prototype.loaded=function(){if(!this._loaded||Object.keys(this._updatedSources).length)return!1;for(var K in this.sourceCaches)if(!this.sourceCaches[K].loaded())return!1;return!!this.imageManager.isLoaded()},ee.prototype._serializeLayers=function(K){for(var le=[],Te=0,De=K;Te0)throw new Error("Unimplemented: "+De.map(function(He){return He.command}).join(", ")+".");return Te.forEach(function(He){He.command!=="setTransition"&&le[He.command].apply(le,He.args)}),this.stylesheet=K,!0},ee.prototype.addImage=function(K,le){if(this.getImage(K))return this.fire(new i.ErrorEvent(new Error("An image with this name already exists.")));this.imageManager.addImage(K,le),this._availableImages=this.imageManager.listImages(),this._changedImages[K]=!0,this._changed=!0,this.fire(new i.Event("data",{dataType:"style"}))},ee.prototype.updateImage=function(K,le){this.imageManager.updateImage(K,le)},ee.prototype.getImage=function(K){return this.imageManager.getImage(K)},ee.prototype.removeImage=function(K){if(!this.getImage(K))return this.fire(new i.ErrorEvent(new Error("No image with this name exists.")));this.imageManager.removeImage(K),this._availableImages=this.imageManager.listImages(),this._changedImages[K]=!0,this._changed=!0,this.fire(new i.Event("data",{dataType:"style"}))},ee.prototype.listImages=function(){return this._checkLoaded(),this.imageManager.listImages()},ee.prototype.addSource=function(K,le,Te){var De=this;if(Te===void 0&&(Te={}),this._checkLoaded(),this.sourceCaches[K]!==void 0)throw new Error("There is already a source with this ID");if(!le.type)throw new Error("The type property must be defined, but the only the following properties were given: "+Object.keys(le).join(", ")+".");if(!(["vector","raster","geojson","video","image"].indexOf(le.type)>=0&&this._validate(i.validateStyle.source,"sources."+K,le,null,Te))){this.map&&this.map._collectResourceTiming&&(le.collectResourceTiming=!0);var He=this.sourceCaches[K]=new ht(K,le,this.dispatcher);He.style=this,He.setEventedParent(this,function(){return{isSourceLoaded:De.loaded(),source:He.serialize(),sourceId:K}}),He.onAdd(this.map),this._changed=!0}},ee.prototype.removeSource=function(K){if(this._checkLoaded(),this.sourceCaches[K]===void 0)throw new Error("There is no source with this ID");for(var le in this._layers)if(this._layers[le].source===K)return this.fire(new i.ErrorEvent(new Error('Source "'+K+'" cannot be removed while layer "'+le+'" is using it.')));var Te=this.sourceCaches[K];delete this.sourceCaches[K],delete this._updatedSources[K],Te.fire(new i.Event("data",{sourceDataType:"metadata",dataType:"source",sourceId:K})),Te.setEventedParent(null),Te.clearTiles(),Te.onRemove&&Te.onRemove(this.map),this._changed=!0},ee.prototype.setGeoJSONSourceData=function(K,le){this._checkLoaded(),this.sourceCaches[K].getSource().setData(le),this._changed=!0},ee.prototype.getSource=function(K){return this.sourceCaches[K]&&this.sourceCaches[K].getSource()},ee.prototype.addLayer=function(K,le,Te){Te===void 0&&(Te={}),this._checkLoaded();var De=K.id;if(this.getLayer(De))this.fire(new i.ErrorEvent(new Error('Layer with id "'+De+'" already exists on this map')));else{var He;if(K.type==="custom"){if(Qn(this,i.validateCustomStyleLayer(K)))return;He=i.createStyleLayer(K)}else{if(typeof K.source=="object"&&(this.addSource(De,K.source),K=i.clone$1(K),K=i.extend(K,{source:De})),this._validate(i.validateStyle.layer,"layers."+De,K,{arrayIndex:-1},Te))return;He=i.createStyleLayer(K),this._validateLayer(He),He.setEventedParent(this,{layer:{id:De}}),this._serializedLayers[He.id]=He.serialize()}var Ze=le?this._order.indexOf(le):this._order.length;if(le&&Ze===-1)this.fire(new i.ErrorEvent(new Error('Layer with id "'+le+'" does not exist on this map.')));else{if(this._order.splice(Ze,0,De),this._layerOrderChanged=!0,this._layers[De]=He,this._removedLayers[De]&&He.source&&He.type!=="custom"){var at=this._removedLayers[De];delete this._removedLayers[De],at.type!==He.type?this._updatedSources[He.source]="clear":(this._updatedSources[He.source]="reload",this.sourceCaches[He.source].pause())}this._updateLayer(He),He.onAdd&&He.onAdd(this.map)}}},ee.prototype.moveLayer=function(K,le){if(this._checkLoaded(),this._changed=!0,this._layers[K]){if(K!==le){var Te=this._order.indexOf(K);this._order.splice(Te,1);var De=le?this._order.indexOf(le):this._order.length;le&&De===-1?this.fire(new i.ErrorEvent(new Error('Layer with id "'+le+'" does not exist on this map.'))):(this._order.splice(De,0,K),this._layerOrderChanged=!0)}}else this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be moved.")))},ee.prototype.removeLayer=function(K){this._checkLoaded();var le=this._layers[K];if(le){le.setEventedParent(null);var Te=this._order.indexOf(K);this._order.splice(Te,1),this._layerOrderChanged=!0,this._changed=!0,this._removedLayers[K]=le,delete this._layers[K],delete this._serializedLayers[K],delete this._updatedLayers[K],delete this._updatedPaintProps[K],le.onRemove&&le.onRemove(this.map)}else this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be removed.")))},ee.prototype.getLayer=function(K){return this._layers[K]},ee.prototype.hasLayer=function(K){return K in this._layers},ee.prototype.setLayerZoomRange=function(K,le,Te){this._checkLoaded();var De=this.getLayer(K);De?De.minzoom===le&&De.maxzoom===Te||(le!=null&&(De.minzoom=le),Te!=null&&(De.maxzoom=Te),this._updateLayer(De)):this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot have zoom extent.")))},ee.prototype.setFilter=function(K,le,Te){Te===void 0&&(Te={}),this._checkLoaded();var De=this.getLayer(K);if(De){if(!i.deepEqual(De.filter,le))return le==null?(De.filter=void 0,void this._updateLayer(De)):void(this._validate(i.validateStyle.filter,"layers."+De.id+".filter",le,null,Te)||(De.filter=i.clone$1(le),this._updateLayer(De)))}else this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be filtered.")))},ee.prototype.getFilter=function(K){return i.clone$1(this.getLayer(K).filter)},ee.prototype.setLayoutProperty=function(K,le,Te,De){De===void 0&&(De={}),this._checkLoaded();var He=this.getLayer(K);He?i.deepEqual(He.getLayoutProperty(le),Te)||(He.setLayoutProperty(le,Te,De),this._updateLayer(He)):this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be styled.")))},ee.prototype.getLayoutProperty=function(K,le){var Te=this.getLayer(K);if(Te)return Te.getLayoutProperty(le);this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style.")))},ee.prototype.setPaintProperty=function(K,le,Te,De){De===void 0&&(De={}),this._checkLoaded();var He=this.getLayer(K);He?i.deepEqual(He.getPaintProperty(le),Te)||(He.setPaintProperty(le,Te,De)&&this._updateLayer(He),this._changed=!0,this._updatedPaintProps[K]=!0):this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be styled.")))},ee.prototype.getPaintProperty=function(K,le){return this.getLayer(K).getPaintProperty(le)},ee.prototype.setFeatureState=function(K,le){this._checkLoaded();var Te=K.source,De=K.sourceLayer,He=this.sourceCaches[Te];if(He!==void 0){var Ze=He.getSource().type;Ze==="geojson"&&De?this.fire(new i.ErrorEvent(new Error("GeoJSON sources cannot have a sourceLayer parameter."))):Ze!=="vector"||De?(K.id===void 0&&this.fire(new i.ErrorEvent(new Error("The feature id parameter must be provided."))),He.setFeatureState(De,K.id,le)):this.fire(new i.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new i.ErrorEvent(new Error("The source '"+Te+"' does not exist in the map's style.")))},ee.prototype.removeFeatureState=function(K,le){this._checkLoaded();var Te=K.source,De=this.sourceCaches[Te];if(De!==void 0){var He=De.getSource().type,Ze=He==="vector"?K.sourceLayer:void 0;He!=="vector"||Ze?le&&typeof K.id!="string"&&typeof K.id!="number"?this.fire(new i.ErrorEvent(new Error("A feature id is requred to remove its specific state property."))):De.removeFeatureState(Ze,K.id,le):this.fire(new i.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new i.ErrorEvent(new Error("The source '"+Te+"' does not exist in the map's style.")))},ee.prototype.getFeatureState=function(K){this._checkLoaded();var le=K.source,Te=K.sourceLayer,De=this.sourceCaches[le];if(De!==void 0){if(De.getSource().type!=="vector"||Te)return K.id===void 0&&this.fire(new i.ErrorEvent(new Error("The feature id parameter must be provided."))),De.getFeatureState(Te,K.id);this.fire(new i.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new i.ErrorEvent(new Error("The source '"+le+"' does not exist in the map's style.")))},ee.prototype.getTransition=function(){return i.extend({duration:300,delay:0},this.stylesheet&&this.stylesheet.transition)},ee.prototype.serialize=function(){return i.filterObject({version:this.stylesheet.version,name:this.stylesheet.name,metadata:this.stylesheet.metadata,light:this.stylesheet.light,center:this.stylesheet.center,zoom:this.stylesheet.zoom,bearing:this.stylesheet.bearing,pitch:this.stylesheet.pitch,sprite:this.stylesheet.sprite,glyphs:this.stylesheet.glyphs,transition:this.stylesheet.transition,sources:i.mapObject(this.sourceCaches,function(K){return K.serialize()}),layers:this._serializeLayers(this._order)},function(K){return K!==void 0})},ee.prototype._updateLayer=function(K){this._updatedLayers[K.id]=!0,K.source&&!this._updatedSources[K.source]&&this.sourceCaches[K.source].getSource().type!=="raster"&&(this._updatedSources[K.source]="reload",this.sourceCaches[K.source].pause()),this._changed=!0},ee.prototype._flattenAndSortRenderedFeatures=function(K){for(var le=this,Te=function(tn){return le._layers[tn].type==="fill-extrusion"},De={},He=[],Ze=this._order.length-1;Ze>=0;Ze--){var at=this._order[Ze];if(Te(at)){De[at]=Ze;for(var Tt=0,At=K;Tt=0;We--){var Xe=this._order[We];if(Te(Xe))for(var tt=He.length-1;tt>=0;tt--){var lt=He[tt].feature;if(De[lt.layer.id]2){for(var O=Array(.5*A.position.length),z=0;z2){for(var B=!A.position[0].length,N=a.mallocFloat(2*this.count),W=0,j=0;W1?L.align[fe]:L.align[0]:L.align;if(typeof be=="number")return be;switch(be){case"right":case"end":return-ae;case"center":case"centre":case"middle":return .5*-ae}return 0})),this.baseline==null&&A.baseline==null&&(A.baseline=0),A.baseline!=null&&(this.baseline=A.baseline,Array.isArray(this.baseline)||(this.baseline=[this.baseline]),this.baselineOffset=this.baseline.map(function(ae,fe){var be=(L.font[fe]||L.font[0]).metrics,ke=0;return ke+=.5*be.bottom,-1*(ke+=typeof ae=="number"?ae-be.baseline:-be[ae])})),A.color!=null)if(A.color||(A.color="transparent"),typeof A.color!="string"&&isNaN(A.color)){var me;if(typeof A.color[0]=="number"&&A.color.length>this.counts.length){var pe=A.color.length;me=a.mallocUint8(pe);for(var xe=(A.color.subarray||A.color.slice).bind(A.color),Pe=0;Pe4||this.baselineOffset.length>1||this.align&&this.align.length>1||this.fontAtlas.length>1||this.positionOffset.length>2){var Se=Math.max(.5*this.position.length||0,.25*this.color.length||0,this.baselineOffset.length||0,this.alignOffset.length||0,this.font.length||0,this.opacity.length||0,.5*this.positionOffset.length||0);this.batch=Array(Se);for(var Ce=0;Ce1?this.counts[Ce]:this.counts[0],offset:this.textOffsets.length>1?this.textOffsets[Ce]:this.textOffsets[0],color:this.color?this.color.length<=4?this.color:this.color.subarray(4*Ce,4*Ce+4):[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[Ce]:this.opacity,baseline:this.baselineOffset[Ce]!=null?this.baselineOffset[Ce]:this.baselineOffset[0],align:this.align?this.alignOffset[Ce]!=null?this.alignOffset[Ce]:this.alignOffset[0]:0,atlas:this.fontAtlas[Ce]||this.fontAtlas[0],positionOffset:this.positionOffset.length>2?this.positionOffset.subarray(2*Ce,2*Ce+2):this.positionOffset}}else this.count?this.batch=[{count:this.count,offset:0,color:this.color||[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[0]:this.opacity,baseline:this.baselineOffset[0],align:this.alignOffset?this.alignOffset[0]:0,atlas:this.fontAtlas[0],positionOffset:this.positionOffset}]:this.batch=[]},x.prototype.destroy=function(){},x.prototype.kerning=!0,x.prototype.position={constant:new Float32Array(2)},x.prototype.translate=null,x.prototype.scale=null,x.prototype.font=null,x.prototype.text="",x.prototype.positionOffset=[0,0],x.prototype.opacity=1,x.prototype.color=new Uint8Array([0,0,0,255]),x.prototype.alignOffset=[0,0],x.maxAtlasSize=1024,x.atlasCanvas=document.createElement("canvas"),x.atlasContext=x.atlasCanvas.getContext("2d",{alpha:!1}),x.baseFontSize=64,x.fonts={},T.exports=x},12018:function(T,p,t){var d=t(71299);function g(v){if(v.container)if(v.container==document.body)document.body.style.width||(v.canvas.width=v.width||v.pixelRatio*t.g.innerWidth),document.body.style.height||(v.canvas.height=v.height||v.pixelRatio*t.g.innerHeight);else{var f=v.container.getBoundingClientRect();v.canvas.width=v.width||f.right-f.left,v.canvas.height=v.height||f.bottom-f.top}}function i(v){return typeof v.getContext=="function"&&"width"in v&&"height"in v}function M(){var v=document.createElement("canvas");return v.style.position="absolute",v.style.top=0,v.style.left=0,v}T.exports=function(v){var f;if(v?typeof v=="string"&&(v={container:v}):v={},(v=i(v)||typeof(f=v).nodeName=="string"&&typeof f.appendChild=="function"&&typeof f.getBoundingClientRect=="function"?{container:v}:function(a){return typeof a.drawArrays=="function"||typeof a.drawElements=="function"}(v)?{gl:v}:d(v,{container:"container target element el canvas holder parent parentNode wrapper use ref root node",gl:"gl context webgl glContext",attrs:"attributes attrs contextAttributes",pixelRatio:"pixelRatio pxRatio px ratio pxratio pixelratio",width:"w width",height:"h height"},!0)).pixelRatio||(v.pixelRatio=t.g.pixelRatio||1),v.gl)return v.gl;if(v.canvas&&(v.container=v.canvas.parentNode),v.container){if(typeof v.container=="string"){var l=document.querySelector(v.container);if(!l)throw Error("Element "+v.container+" is not found");v.container=l}i(v.container)?(v.canvas=v.container,v.container=v.canvas.parentNode):v.canvas||(v.canvas=M(),v.container.appendChild(v.canvas),g(v))}else if(!v.canvas){if(typeof document>"u")throw Error("Not DOM environment. Use headless-gl.");v.container=document.body||document.documentElement,v.canvas=M(),v.container.appendChild(v.canvas),g(v)}return v.gl||["webgl","experimental-webgl","webgl-experimental"].some(function(a){try{v.gl=v.canvas.getContext(a,v.attrs)}catch{}return v.gl}),v.gl}},56068:function(T){T.exports=function(p){typeof p=="string"&&(p=[p]);for(var t=[].slice.call(arguments,1),d=[],g=0;g>1,o=-7,s=g?M-1:0,c=g?-1:1,h=t[d+s];for(s+=c,v=h&(1<<-o)-1,h>>=-o,o+=l;o>0;v=256*v+t[d+s],s+=c,o-=8);for(f=v&(1<<-o)-1,v>>=-o,o+=i;o>0;f=256*f+t[d+s],s+=c,o-=8);if(v===0)v=1-u;else{if(v===a)return f?NaN:1/0*(h?-1:1);f+=Math.pow(2,i),v-=u}return(h?-1:1)*f*Math.pow(2,v-i)},p.write=function(t,d,g,i,M,v){var f,l,a,u=8*v-M-1,o=(1<>1,c=M===23?Math.pow(2,-24)-Math.pow(2,-77):0,h=i?0:v-1,m=i?1:-1,w=d<0||d===0&&1/d<0?1:0;for(d=Math.abs(d),isNaN(d)||d===1/0?(l=isNaN(d)?1:0,f=o):(f=Math.floor(Math.log(d)/Math.LN2),d*(a=Math.pow(2,-f))<1&&(f--,a*=2),(d+=f+s>=1?c/a:c*Math.pow(2,1-s))*a>=2&&(f++,a/=2),f+s>=o?(l=0,f=o):f+s>=1?(l=(d*a-1)*Math.pow(2,M),f+=s):(l=d*Math.pow(2,s-1)*Math.pow(2,M),f=0));M>=8;t[g+h]=255&l,h+=m,l/=256,M-=8);for(f=f<0;t[g+h]=255&f,h+=m,f/=256,u-=8);t[g+h-m]|=128*w}},42018:function(T){typeof Object.create=="function"?T.exports=function(p,t){t&&(p.super_=t,p.prototype=Object.create(t.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}))}:T.exports=function(p,t){if(t){p.super_=t;var d=function(){};d.prototype=t.prototype,p.prototype=new d,p.prototype.constructor=p}}},47216:function(T,p,t){var d=t(84543)(),g=t(6614)("Object.prototype.toString"),i=function(f){return!(d&&f&&typeof f=="object"&&Symbol.toStringTag in f)&&g(f)==="[object Arguments]"},M=function(f){return!!i(f)||f!==null&&typeof f=="object"&&typeof f.length=="number"&&f.length>=0&&g(f)!=="[object Array]"&&g(f.callee)==="[object Function]"},v=function(){return i(arguments)}();i.isLegacyArguments=M,T.exports=v?i:M},54404:function(T){T.exports=!0},85395:function(T){var p,t,d=Function.prototype.toString,g=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply;if(typeof g=="function"&&typeof Object.defineProperty=="function")try{p=Object.defineProperty({},"length",{get:function(){throw t}}),t={},g(function(){throw 42},null,p)}catch(s){s!==t&&(g=null)}else g=null;var i=/^\s*class\b/,M=function(s){try{var c=d.call(s);return i.test(c)}catch{return!1}},v=function(s){try{return!M(s)&&(d.call(s),!0)}catch{return!1}},f=Object.prototype.toString,l=typeof Symbol=="function"&&!!Symbol.toStringTag,a=!(0 in[,]),u=function(){return!1};if(typeof document=="object"){var o=document.all;f.call(o)===f.call(document.all)&&(u=function(s){if((a||!s)&&(s===void 0||typeof s=="object"))try{var c=f.call(s);return(c==="[object HTMLAllCollection]"||c==="[object HTML document.all class]"||c==="[object HTMLCollection]"||c==="[object Object]")&&s("")==null}catch{}return!1})}T.exports=g?function(s){if(u(s))return!0;if(!s||typeof s!="function"&&typeof s!="object")return!1;try{g(s,null,p)}catch(c){if(c!==t)return!1}return!M(s)&&v(s)}:function(s){if(u(s))return!0;if(!s||typeof s!="function"&&typeof s!="object")return!1;if(l)return v(s);if(M(s))return!1;var c=f.call(s);return!(c!=="[object Function]"&&c!=="[object GeneratorFunction]"&&!/^\[object HTML/.test(c))&&v(s)}},65481:function(T,p,t){var d,g=Object.prototype.toString,i=Function.prototype.toString,M=/^\s*(?:function)?\*/,v=t(84543)(),f=Object.getPrototypeOf;T.exports=function(l){if(typeof l!="function")return!1;if(M.test(i.call(l)))return!0;if(!v)return g.call(l)==="[object GeneratorFunction]";if(!f)return!1;if(d===void 0){var a=function(){if(!v)return!1;try{return Function("return function*() {}")()}catch{}}();d=!!a&&f(a)}return f(l)===d}},62683:function(T){T.exports=typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||/Trident\//.test(navigator.appVersion))},64274:function(T){T.exports=function(p){return p!=p}},15567:function(T,p,t){var d=t(68222),g=t(17045),i=t(64274),M=t(14922),v=t(22442),f=d(M(),Number);g(f,{getPolyfill:M,implementation:i,shim:v}),T.exports=f},14922:function(T,p,t){var d=t(64274);T.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:d}},22442:function(T,p,t){var d=t(17045),g=t(14922);T.exports=function(){var i=g();return d(Number,{isNaN:i},{isNaN:function(){return Number.isNaN!==i}}),i}},64941:function(T){T.exports=function(p){var t=typeof p;return p!==null&&(t==="object"||t==="function")}},10973:function(T){var p=Object.prototype.toString;T.exports=function(t){var d;return p.call(t)==="[object Object]"&&((d=Object.getPrototypeOf(t))===null||d===Object.getPrototypeOf({}))}},18546:function(T){T.exports=function(p){for(var t,d=p.length,g=0;g13)&&t!==32&&t!==133&&t!==160&&t!==5760&&t!==6158&&(t<8192||t>8205)&&t!==8232&&t!==8233&&t!==8239&&t!==8287&&t!==8288&&t!==12288&&t!==65279)return!1;return!0}},89546:function(T){T.exports=function(p){return typeof p=="string"&&(p=p.trim(),!!(/^[mzlhvcsqta]\s*[-+.0-9][^mlhvzcsqta]+/i.test(p)&&/[\dz]$/i.test(p)&&p.length>4))}},9187:function(T,p,t){var d=t(31353),g=t(72077),i=t(6614),M=i("Object.prototype.toString"),v=t(84543)(),f=t(40383),l=typeof globalThis>"u"?t.g:globalThis,a=g(),u=i("Array.prototype.indexOf",!0)||function(h,m){for(var w=0;w-1}return!!f&&function(w){var y=!1;return d(s,function(S,_){if(!y)try{y=S.call(w)===_}catch{}}),y}(h)}},44517:function(T){T.exports=function(){var p,t,d;function g(i,M){if(p)if(t){var v="var sharedChunk = {}; ("+p+")(sharedChunk); ("+t+")(sharedChunk);",f={};p(f),(d=M(f)).workerUrl=window.URL.createObjectURL(new Blob([v],{type:"text/javascript"}))}else t=M;else p=M}return g(0,function(i){function M(P,V){return P(V={exports:{}},V.exports),V.exports}var v="1.10.1",f=l;function l(P,V,J,he){this.cx=3*P,this.bx=3*(J-P)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*V,this.by=3*(he-V)-this.cy,this.ay=1-this.cy-this.by,this.p1x=P,this.p1y=he,this.p2x=J,this.p2y=he}l.prototype.sampleCurveX=function(P){return((this.ax*P+this.bx)*P+this.cx)*P},l.prototype.sampleCurveY=function(P){return((this.ay*P+this.by)*P+this.cy)*P},l.prototype.sampleCurveDerivativeX=function(P){return(3*this.ax*P+2*this.bx)*P+this.cx},l.prototype.solveCurveX=function(P,V){var J,he,Ae,Oe,Ge;for(V===void 0&&(V=1e-6),Ae=P,Ge=0;Ge<8;Ge++){if(Oe=this.sampleCurveX(Ae)-P,Math.abs(Oe)(he=1))return he;for(;JOe?J=Ae:he=Ae,Ae=.5*(he-J)+J}return Ae},l.prototype.solve=function(P,V){return this.sampleCurveY(this.solveCurveX(P,V))};var a=u;function u(P,V){this.x=P,this.y=V}function o(P,V,J,he){var Ae=new f(P,V,J,he);return function(Oe){return Ae.solve(Oe)}}u.prototype={clone:function(){return new u(this.x,this.y)},add:function(P){return this.clone()._add(P)},sub:function(P){return this.clone()._sub(P)},multByPoint:function(P){return this.clone()._multByPoint(P)},divByPoint:function(P){return this.clone()._divByPoint(P)},mult:function(P){return this.clone()._mult(P)},div:function(P){return this.clone()._div(P)},rotate:function(P){return this.clone()._rotate(P)},rotateAround:function(P,V){return this.clone()._rotateAround(P,V)},matMult:function(P){return this.clone()._matMult(P)},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(P){return this.x===P.x&&this.y===P.y},dist:function(P){return Math.sqrt(this.distSqr(P))},distSqr:function(P){var V=P.x-this.x,J=P.y-this.y;return V*V+J*J},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(P){return Math.atan2(this.y-P.y,this.x-P.x)},angleWith:function(P){return this.angleWithSep(P.x,P.y)},angleWithSep:function(P,V){return Math.atan2(this.x*V-this.y*P,this.x*P+this.y*V)},_matMult:function(P){var V=P[0]*this.x+P[1]*this.y,J=P[2]*this.x+P[3]*this.y;return this.x=V,this.y=J,this},_add:function(P){return this.x+=P.x,this.y+=P.y,this},_sub:function(P){return this.x-=P.x,this.y-=P.y,this},_mult:function(P){return this.x*=P,this.y*=P,this},_div:function(P){return this.x/=P,this.y/=P,this},_multByPoint:function(P){return this.x*=P.x,this.y*=P.y,this},_divByPoint:function(P){return this.x/=P.x,this.y/=P.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var P=this.y;return this.y=this.x,this.x=-P,this},_rotate:function(P){var V=Math.cos(P),J=Math.sin(P),he=V*this.x-J*this.y,Ae=J*this.x+V*this.y;return this.x=he,this.y=Ae,this},_rotateAround:function(P,V){var J=Math.cos(P),he=Math.sin(P),Ae=V.x+J*(this.x-V.x)-he*(this.y-V.y),Oe=V.y+he*(this.x-V.x)+J*(this.y-V.y);return this.x=Ae,this.y=Oe,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},u.convert=function(P){return P instanceof u?P:Array.isArray(P)?new u(P[0],P[1]):P};var s=o(.25,.1,.25,1);function c(P,V,J){return Math.min(J,Math.max(V,P))}function h(P,V,J){var he=J-V,Ae=((P-V)%he+he)%he+V;return Ae===V?J:Ae}function m(P){for(var V=[],J=arguments.length-1;J-- >0;)V[J]=arguments[J+1];for(var he=0,Ae=V;he>V/4).toString(16):([1e7]+-[1e3]+-4e3+-8e3+-1e11).replace(/[018]/g,P)}()}function _(P){return!!P&&/^[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(P)}function k(P,V){P.forEach(function(J){V[J]&&(V[J]=V[J].bind(V))})}function E(P,V){return P.indexOf(V,P.length-V.length)!==-1}function x(P,V,J){var he={};for(var Ae in P)he[Ae]=V.call(J||this,P[Ae],Ae,P);return he}function A(P,V,J){var he={};for(var Ae in P)V.call(J||this,P[Ae],Ae,P)&&(he[Ae]=P[Ae]);return he}function L(P){return Array.isArray(P)?P.map(L):typeof P=="object"&&P?x(P,L):P}var b={};function R(P){b[P]||(typeof console<"u"&&console.warn(P),b[P]=!0)}function I(P,V,J){return(J.y-P.y)*(V.x-P.x)>(V.y-P.y)*(J.x-P.x)}function O(P){for(var V=0,J=0,he=P.length,Ae=he-1,Oe=void 0,Ge=void 0;J@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g,function(he,Ae,Oe,Ge){var it=Oe||Ge;return V[Ae]=!it||it.toLowerCase(),""}),V["max-age"]){var J=parseInt(V["max-age"],10);isNaN(J)?delete V["max-age"]:V["max-age"]=J}return V}var B=null;function N(P){if(B==null){var V=P.navigator?P.navigator.userAgent:null;B=!!P.safari||!(!V||!(/\b(iPad|iPhone|iPod)\b/.test(V)||V.match("Safari")&&!V.match("Chrome")))}return B}function W(P){try{var V=self[P];return V.setItem("_mapbox_test_",1),V.removeItem("_mapbox_test_"),!0}catch{return!1}}var j,$,U,G,q=self.performance&&self.performance.now?self.performance.now.bind(self.performance):Date.now.bind(Date),H=self.requestAnimationFrame||self.mozRequestAnimationFrame||self.webkitRequestAnimationFrame||self.msRequestAnimationFrame,ne=self.cancelAnimationFrame||self.mozCancelAnimationFrame||self.webkitCancelAnimationFrame||self.msCancelAnimationFrame,te={now:q,frame:function(P){var V=H(P);return{cancel:function(){return ne(V)}}},getImageData:function(P,V){V===void 0&&(V=0);var J=self.document.createElement("canvas"),he=J.getContext("2d");if(!he)throw new Error("failed to create canvas 2d context");return J.width=P.width,J.height=P.height,he.drawImage(P,0,0,P.width,P.height),he.getImageData(-V,-V,P.width+2*V,P.height+2*V)},resolveURL:function(P){return j||(j=self.document.createElement("a")),j.href=P,j.href},hardwareConcurrency:self.navigator.hardwareConcurrency||4,get devicePixelRatio(){return self.devicePixelRatio},get prefersReducedMotion(){return!!self.matchMedia&&($==null&&($=self.matchMedia("(prefers-reduced-motion: reduce)")),$.matches)}},Z={API_URL:"https://api.mapbox.com",get EVENTS_URL(){return this.API_URL?this.API_URL.indexOf("https://api.mapbox.cn")===0?"https://events.mapbox.cn/events/v2":this.API_URL.indexOf("https://api.mapbox.com")===0?"https://events.mapbox.com/events/v2":null:null},FEEDBACK_URL:"https://apps.mapbox.com/feedback",REQUIRE_ACCESS_TOKEN:!0,ACCESS_TOKEN:null,MAX_PARALLEL_IMAGE_REQUESTS:16},X={supported:!1,testSupport:function(P){!Q&&G&&(re?ie(P):U=P)}},Q=!1,re=!1;function ie(P){var V=P.createTexture();P.bindTexture(P.TEXTURE_2D,V);try{if(P.texImage2D(P.TEXTURE_2D,0,P.RGBA,P.RGBA,P.UNSIGNED_BYTE,G),P.isContextLost())return;X.supported=!0}catch{}P.deleteTexture(V),Q=!0}self.document&&((G=self.document.createElement("img")).onload=function(){U&&ie(U),U=null,re=!0},G.onerror=function(){Q=!0,U=null},G.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA=");var oe="01",ue=function(P,V){this._transformRequestFn=P,this._customAccessToken=V,this._createSkuToken()};function ce(P){return P.indexOf("mapbox:")===0}ue.prototype._createSkuToken=function(){var P=function(){for(var V="",J=0;J<10;J++)V+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[Math.floor(62*Math.random())];return{token:["1",oe,V].join(""),tokenExpiresAt:Date.now()+432e5}}();this._skuToken=P.token,this._skuTokenExpiresAt=P.tokenExpiresAt},ue.prototype._isSkuTokenExpired=function(){return Date.now()>this._skuTokenExpiresAt},ue.prototype.transformRequest=function(P,V){return this._transformRequestFn&&this._transformRequestFn(P,V)||{url:P}},ue.prototype.normalizeStyleURL=function(P,V){if(!ce(P))return P;var J=pe(P);return J.path="/styles/v1"+J.path,this._makeAPIURL(J,this._customAccessToken||V)},ue.prototype.normalizeGlyphsURL=function(P,V){if(!ce(P))return P;var J=pe(P);return J.path="/fonts/v1"+J.path,this._makeAPIURL(J,this._customAccessToken||V)},ue.prototype.normalizeSourceURL=function(P,V){if(!ce(P))return P;var J=pe(P);return J.path="/v4/"+J.authority+".json",J.params.push("secure"),this._makeAPIURL(J,this._customAccessToken||V)},ue.prototype.normalizeSpriteURL=function(P,V,J,he){var Ae=pe(P);return ce(P)?(Ae.path="/styles/v1"+Ae.path+"/sprite"+V+J,this._makeAPIURL(Ae,this._customAccessToken||he)):(Ae.path+=""+V+J,xe(Ae))},ue.prototype.normalizeTileURL=function(P,V){if(this._isSkuTokenExpired()&&this._createSkuToken(),P&&!ce(P))return P;var J=pe(P),he=te.devicePixelRatio>=2||V===512?"@2x":"",Ae=X.supported?".webp":"$1";J.path=J.path.replace(/(\.(png|jpg)\d*)(?=$)/,""+he+Ae),J.path=J.path.replace(/^.+\/v4\//,"/"),J.path="/v4"+J.path;var Oe=this._customAccessToken||function(Ge){for(var it=0,pt=Ge;it=1&&self.localStorage.setItem(V,JSON.stringify(this.eventData))}catch{R("Unable to write to LocalStorage")}},Me.prototype.processRequests=function(P){},Me.prototype.postEvent=function(P,V,J,he){var Ae=this;if(Z.EVENTS_URL){var Oe=pe(Z.EVENTS_URL);Oe.params.push("access_token="+(he||Z.ACCESS_TOKEN||""));var Ge={event:this.type,created:new Date(P).toISOString(),sdkIdentifier:"mapbox-gl-js",sdkVersion:v,skuId:oe,userId:this.anonId},it=V?m(Ge,V):Ge,pt={url:xe(Oe),headers:{"Content-Type":"text/plain"},body:JSON.stringify([it])};this.pendingRequest=Ot(pt,function(Ct){Ae.pendingRequest=null,J(Ct),Ae.saveEventData(),Ae.processRequests(he)})}},Me.prototype.queueRequest=function(P,V){this.queue.push(P),this.processRequests(V)};var Se,Ce,ae=function(P){function V(){P.call(this,"map.load"),this.success={},this.skuToken=""}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.postMapLoadEvent=function(J,he,Ae,Oe){this.skuToken=Ae,(Z.EVENTS_URL&&Oe||Z.ACCESS_TOKEN&&Array.isArray(J)&&J.some(function(Ge){return ce(Ge)||de(Ge)}))&&this.queueRequest({id:he,timestamp:Date.now()},Oe)},V.prototype.processRequests=function(J){var he=this;if(!this.pendingRequest&&this.queue.length!==0){var Ae=this.queue.shift(),Oe=Ae.id,Ge=Ae.timestamp;Oe&&this.success[Oe]||(this.anonId||this.fetchEventData(),_(this.anonId)||(this.anonId=S()),this.postEvent(Ge,{skuToken:this.skuToken},function(it){it||Oe&&(he.success[Oe]=!0)},J))}},V}(Me),fe=function(P){function V(J){P.call(this,"appUserTurnstile"),this._customAccessToken=J}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.postTurnstileEvent=function(J,he){Z.EVENTS_URL&&Z.ACCESS_TOKEN&&Array.isArray(J)&&J.some(function(Ae){return ce(Ae)||de(Ae)})&&this.queueRequest(Date.now(),he)},V.prototype.processRequests=function(J){var he=this;if(!this.pendingRequest&&this.queue.length!==0){this.anonId&&this.eventData.lastSuccess&&this.eventData.tokenU||this.fetchEventData();var Ae=_e(Z.ACCESS_TOKEN),Oe=Ae?Ae.u:Z.ACCESS_TOKEN,Ge=Oe!==this.eventData.tokenU;_(this.anonId)||(this.anonId=S(),Ge=!0);var it=this.queue.shift();if(this.eventData.lastSuccess){var pt=new Date(this.eventData.lastSuccess),Ct=new Date(it),Dt=(it-this.eventData.lastSuccess)/864e5;Ge=Ge||Dt>=1||Dt<-1||pt.getDate()!==Ct.getDate()}else Ge=!0;if(!Ge)return this.processRequests();this.postEvent(it,{"enabled.telemetry":!1},function(Gt){Gt||(he.eventData.lastSuccess=it,he.eventData.tokenU=Oe)},J)}},V}(Me),be=new fe,ke=be.postTurnstileEvent.bind(be),Le=new ae,Be=Le.postMapLoadEvent.bind(Le),ze="mapbox-tiles",je=500,ge=50;function we(){self.caches&&!Se&&(Se=self.caches.open(ze))}function Ee(P,V,J){if(we(),Se){var he={status:V.status,statusText:V.statusText,headers:new self.Headers};V.headers.forEach(function(Oe,Ge){return he.headers.set(Ge,Oe)});var Ae=F(V.headers.get("Cache-Control")||"");Ae["no-store"]||(Ae["max-age"]&&he.headers.set("Expires",new Date(J+1e3*Ae["max-age"]).toUTCString()),new Date(he.headers.get("Expires")).getTime()-J<42e4||function(Oe,Ge){if(Ce===void 0)try{new Response(new ReadableStream),Ce=!0}catch{Ce=!1}Ce?Ge(Oe.body):Oe.blob().then(Ge)}(V,function(Oe){var Ge=new self.Response(Oe,he);we(),Se&&Se.then(function(it){return it.put(Ve(P.url),Ge)}).catch(function(it){return R(it.message)})}))}}function Ve(P){var V=P.indexOf("?");return V<0?P:P.slice(0,V)}function $e(P,V){if(we(),!Se)return V(null);var J=Ve(P.url);Se.then(function(he){he.match(J).then(function(Ae){var Oe=function(Ge){if(!Ge)return!1;var it=new Date(Ge.headers.get("Expires")||0),pt=F(Ge.headers.get("Cache-Control")||"");return it>Date.now()&&!pt["no-cache"]}(Ae);he.delete(J),Oe&&he.put(J,Ae.clone()),V(null,Ae,Oe)}).catch(V)}).catch(V)}var Ye,st=1/0;function ot(){return Ye==null&&(Ye=self.OffscreenCanvas&&new self.OffscreenCanvas(1,1).getContext("2d")&&typeof self.createImageBitmap=="function"),Ye}var ht={Unknown:"Unknown",Style:"Style",Source:"Source",Tile:"Tile",Glyphs:"Glyphs",SpriteImage:"SpriteImage",SpriteJSON:"SpriteJSON",Image:"Image"};typeof Object.freeze=="function"&&Object.freeze(ht);var bt=function(P){function V(J,he,Ae){he===401&&de(Ae)&&(J+=": you may have provided an invalid Mapbox access token. See https://www.mapbox.com/api-documentation/#access-tokens-and-token-scopes"),P.call(this,J),this.status=he,this.url=Ae,this.name=this.constructor.name,this.message=J}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.toString=function(){return this.name+": "+this.message+" ("+this.status+"): "+this.url},V}(Error),Et=z()?function(){return self.worker&&self.worker.referrer}:function(){return(self.location.protocol==="blob:"?self.parent:self).location.href};function kt(P,V){var J,he=new self.AbortController,Ae=new self.Request(P.url,{method:P.method||"GET",body:P.body,credentials:P.credentials,headers:P.headers,referrer:Et(),signal:he.signal}),Oe=!1,Ge=!1,it=(J=Ae.url).indexOf("sku=")>0&&de(J);P.type==="json"&&Ae.headers.set("Accept","application/json");var pt=function(Dt,Gt,Zt){if(!Ge){if(Dt&&Dt.message!=="SecurityError"&&R(Dt),Gt&&Zt)return Ct(Gt);var $t=Date.now();self.fetch(Ae).then(function(fn){if(fn.ok){var Mn=it?fn.clone():null;return Ct(fn,Mn,$t)}return V(new bt(fn.statusText,fn.status,P.url))}).catch(function(fn){fn.code!==20&&V(new Error(fn.message))})}},Ct=function(Dt,Gt,Zt){(P.type==="arrayBuffer"?Dt.arrayBuffer():P.type==="json"?Dt.json():Dt.text()).then(function($t){Ge||(Gt&&Zt&&Ee(Ae,Gt,Zt),Oe=!0,V(null,$t,Dt.headers.get("Cache-Control"),Dt.headers.get("Expires")))}).catch(function($t){Ge||V(new Error($t.message))})};return it?$e(Ae,pt):pt(null,null),{cancel:function(){Ge=!0,Oe||he.abort()}}}var xt=function(P,V){if(J=P.url,!(/^file:/.test(J)||/^file:/.test(Et())&&!/^\w+:/.test(J))){if(self.fetch&&self.Request&&self.AbortController&&self.Request.prototype.hasOwnProperty("signal"))return kt(P,V);if(z()&&self.worker&&self.worker.actor)return self.worker.actor.send("getResource",P,V,void 0,!0)}var J;return function(he,Ae){var Oe=new self.XMLHttpRequest;for(var Ge in Oe.open(he.method||"GET",he.url,!0),he.type==="arrayBuffer"&&(Oe.responseType="arraybuffer"),he.headers)Oe.setRequestHeader(Ge,he.headers[Ge]);return he.type==="json"&&(Oe.responseType="text",Oe.setRequestHeader("Accept","application/json")),Oe.withCredentials=he.credentials==="include",Oe.onerror=function(){Ae(new Error(Oe.statusText))},Oe.onload=function(){if((Oe.status>=200&&Oe.status<300||Oe.status===0)&&Oe.response!==null){var it=Oe.response;if(he.type==="json")try{it=JSON.parse(Oe.response)}catch(pt){return Ae(pt)}Ae(null,it,Oe.getResponseHeader("Cache-Control"),Oe.getResponseHeader("Expires"))}else Ae(new bt(Oe.statusText,Oe.status,he.url))},Oe.send(he.body),{cancel:function(){return Oe.abort()}}}(P,V)},Ft=function(P,V){return xt(m(P,{type:"arrayBuffer"}),V)},Ot=function(P,V){return xt(m(P,{method:"POST"}),V)},Bt,qt;Bt=[],qt=0;var Vt=function(P,V){if(X.supported&&(P.headers||(P.headers={}),P.headers.accept="image/webp,*/*"),qt>=Z.MAX_PARALLEL_IMAGE_REQUESTS){var J={requestParameters:P,callback:V,cancelled:!1,cancel:function(){this.cancelled=!0}};return Bt.push(J),J}qt++;var he=!1,Ae=function(){if(!he)for(he=!0,qt--;Bt.length&&qt0||this._oneTimeListeners&&this._oneTimeListeners[P]&&this._oneTimeListeners[P].length>0||this._eventedParent&&this._eventedParent.listens(P)},ft.prototype.setEventedParent=function(P,V){return this._eventedParent=P,this._eventedParentData=V,this};var Re={$version:8,$root:{version:{required:!0,type:"enum",values:[8]},name:{type:"string"},metadata:{type:"*"},center:{type:"array",value:"number"},zoom:{type:"number"},bearing:{type:"number",default:0,period:360,units:"degrees"},pitch:{type:"number",default:0,units:"degrees"},light:{type:"light"},sources:{required:!0,type:"sources"},sprite:{type:"string"},glyphs:{type:"string"},transition:{type:"transition"},layers:{required:!0,type:"array",value:"layer"}},sources:{"*":{type:"source"}},source:["source_vector","source_raster","source_raster_dem","source_geojson","source_video","source_image"],source_vector:{type:{required:!0,type:"enum",values:{vector:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},attribution:{type:"string"},promoteId:{type:"promoteId"},"*":{type:"*"}},source_raster:{type:{required:!0,type:"enum",values:{raster:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},attribution:{type:"string"},"*":{type:"*"}},source_raster_dem:{type:{required:!0,type:"enum",values:{"raster-dem":{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},attribution:{type:"string"},encoding:{type:"enum",values:{terrarium:{},mapbox:{}},default:"mapbox"},"*":{type:"*"}},source_geojson:{type:{required:!0,type:"enum",values:{geojson:{}}},data:{type:"*"},maxzoom:{type:"number",default:18},attribution:{type:"string"},buffer:{type:"number",default:128,maximum:512,minimum:0},tolerance:{type:"number",default:.375},cluster:{type:"boolean",default:!1},clusterRadius:{type:"number",default:50,minimum:0},clusterMaxZoom:{type:"number"},clusterProperties:{type:"*"},lineMetrics:{type:"boolean",default:!1},generateId:{type:"boolean",default:!1},promoteId:{type:"promoteId"}},source_video:{type:{required:!0,type:"enum",values:{video:{}}},urls:{required:!0,type:"array",value:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},source_image:{type:{required:!0,type:"enum",values:{image:{}}},url:{required:!0,type:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},layer:{id:{type:"string",required:!0},type:{type:"enum",values:{fill:{},line:{},symbol:{},circle:{},heatmap:{},"fill-extrusion":{},raster:{},hillshade:{},background:{}},required:!0},metadata:{type:"*"},source:{type:"string"},"source-layer":{type:"string"},minzoom:{type:"number",minimum:0,maximum:24},maxzoom:{type:"number",minimum:0,maximum:24},filter:{type:"filter"},layout:{type:"layout"},paint:{type:"paint"}},layout:["layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_hillshade","layout_background"],layout_background:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_fill:{"fill-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_circle:{"circle-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_heatmap:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},"layout_fill-extrusion":{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_line:{"line-cap":{type:"enum",values:{butt:{},round:{},square:{}},default:"butt",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-join":{type:"enum",values:{bevel:{},round:{},miter:{}},default:"miter",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{type:"number",default:2,requires:[{"line-join":"miter"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-round-limit":{type:"number",default:1.05,requires:[{"line-join":"round"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_symbol:{"symbol-placement":{type:"enum",values:{point:{},line:{},"line-center":{}},default:"point",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-spacing":{type:"number",default:250,minimum:1,units:"pixels",requires:[{"symbol-placement":"line"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{type:"boolean",default:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"symbol-z-order":{type:"enum",values:{auto:{},"viewport-y":{},source:{}},default:"auto",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-optional":{type:"boolean",default:!1,requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-size":{type:"number",default:1,minimum:0,units:"factor of the original icon size",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit":{type:"enum",values:{none:{},width:{},height:{},both:{}},default:"none",requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-text-fit-padding":{type:"array",value:"number",length:4,default:[0,0,0,0],units:"pixels",requires:["icon-image","text-field",{"icon-text-fit":["both","width","height"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-image":{type:"resolvedImage",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-keep-upright":{type:"boolean",default:!1,requires:["icon-image",{"icon-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-offset":{type:"array",value:"number",length:2,default:[0,0],requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-field":{type:"formatted",default:"",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-font":{type:"array",value:"string",default:["Open Sans Regular","Arial Unicode MS Regular"],requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-size":{type:"number",default:16,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-width":{type:"number",default:10,minimum:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{type:"number",default:1.2,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-letter-spacing":{type:"number",default:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-justify":{type:"enum",values:{auto:{},left:{},center:{},right:{}},default:"center",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-radial-offset":{type:"number",units:"ems",default:0,requires:["text-field"],"property-type":"data-driven",expression:{interpolated:!0,parameters:["zoom","feature"]}},"text-variable-anchor":{type:"array",value:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["text-field",{"!":"text-variable-anchor"}],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{type:"number",default:45,units:"degrees",requires:["text-field",{"symbol-placement":["line","line-center"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-writing-mode":{type:"array",value:"enum",values:{horizontal:{},vertical:{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-keep-upright":{type:"boolean",default:!0,requires:["text-field",{"text-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-transform":{type:"enum",values:{none:{},uppercase:{},lowercase:{}},default:"none",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-offset":{type:"array",value:"number",units:"ems",length:2,default:[0,0],requires:["text-field",{"!":"text-radial-offset"}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-optional":{type:"boolean",default:!1,requires:["text-field","icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_raster:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_hillshade:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},filter:{type:"array",value:"*"},filter_operator:{type:"enum",values:{"==":{},"!=":{},">":{},">=":{},"<":{},"<=":{},in:{},"!in":{},all:{},any:{},none:{},has:{},"!has":{},within:{}}},geometry_type:{type:"enum",values:{Point:{},LineString:{},Polygon:{}}},function:{expression:{type:"expression"},stops:{type:"array",value:"function_stop"},base:{type:"number",default:1,minimum:0},property:{type:"string",default:"$zoom"},type:{type:"enum",values:{identity:{},exponential:{},interval:{},categorical:{}},default:"exponential"},colorSpace:{type:"enum",values:{rgb:{},lab:{},hcl:{}},default:"rgb"},default:{type:"*",required:!1}},function_stop:{type:"array",minimum:0,maximum:24,value:["number","color"],length:2},expression:{type:"array",value:"*",minimum:1},expression_name:{type:"enum",values:{let:{group:"Variable binding"},var:{group:"Variable binding"},literal:{group:"Types"},array:{group:"Types"},at:{group:"Lookup"},in:{group:"Lookup"},"index-of":{group:"Lookup"},slice:{group:"Lookup"},case:{group:"Decision"},match:{group:"Decision"},coalesce:{group:"Decision"},step:{group:"Ramps, scales, curves"},interpolate:{group:"Ramps, scales, curves"},"interpolate-hcl":{group:"Ramps, scales, curves"},"interpolate-lab":{group:"Ramps, scales, curves"},ln2:{group:"Math"},pi:{group:"Math"},e:{group:"Math"},typeof:{group:"Types"},string:{group:"Types"},number:{group:"Types"},boolean:{group:"Types"},object:{group:"Types"},collator:{group:"Types"},format:{group:"Types"},image:{group:"Types"},"number-format":{group:"Types"},"to-string":{group:"Types"},"to-number":{group:"Types"},"to-boolean":{group:"Types"},"to-rgba":{group:"Color"},"to-color":{group:"Types"},rgb:{group:"Color"},rgba:{group:"Color"},get:{group:"Lookup"},has:{group:"Lookup"},length:{group:"Lookup"},properties:{group:"Feature data"},"feature-state":{group:"Feature data"},"geometry-type":{group:"Feature data"},id:{group:"Feature data"},zoom:{group:"Zoom"},"heatmap-density":{group:"Heatmap"},"line-progress":{group:"Feature data"},accumulated:{group:"Feature data"},"+":{group:"Math"},"*":{group:"Math"},"-":{group:"Math"},"/":{group:"Math"},"%":{group:"Math"},"^":{group:"Math"},sqrt:{group:"Math"},log10:{group:"Math"},ln:{group:"Math"},log2:{group:"Math"},sin:{group:"Math"},cos:{group:"Math"},tan:{group:"Math"},asin:{group:"Math"},acos:{group:"Math"},atan:{group:"Math"},min:{group:"Math"},max:{group:"Math"},round:{group:"Math"},abs:{group:"Math"},ceil:{group:"Math"},floor:{group:"Math"},distance:{group:"Math"},"==":{group:"Decision"},"!=":{group:"Decision"},">":{group:"Decision"},"<":{group:"Decision"},">=":{group:"Decision"},"<=":{group:"Decision"},all:{group:"Decision"},any:{group:"Decision"},"!":{group:"Decision"},within:{group:"Decision"},"is-supported-script":{group:"String"},upcase:{group:"String"},downcase:{group:"String"},concat:{group:"String"},"resolved-locale":{group:"String"}}},light:{anchor:{type:"enum",default:"viewport",values:{map:{},viewport:{}},"property-type":"data-constant",transition:!1,expression:{interpolated:!1,parameters:["zoom"]}},position:{type:"array",default:[1.15,210,30],length:3,value:"number","property-type":"data-constant",transition:!0,expression:{interpolated:!0,parameters:["zoom"]}},color:{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},intensity:{type:"number","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0}},paint:["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_background"],paint_fill:{"fill-antialias":{type:"boolean",default:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-outline-color":{type:"color",transition:!0,requires:[{"!":"fill-pattern"},{"fill-antialias":!0}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"}},"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-extrusion-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",transition:!0,requires:["fill-extrusion-height"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,transition:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_line:{"line-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"line-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["line-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-width":{type:"number",default:1,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-gap-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-offset":{type:"number",default:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-dasharray":{type:"array",value:"number",minimum:0,transition:!0,units:"line widths",requires:[{"!":"line-pattern"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"line-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"line-gradient":{type:"color",transition:!1,requires:[{"!":"line-dasharray"},{"!":"line-pattern"},{source:"geojson",has:{lineMetrics:!0}}],expression:{interpolated:!0,parameters:["line-progress"]},"property-type":"color-ramp"}},paint_circle:{"circle-radius":{type:"number",default:5,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-blur":{type:"number",default:0,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["circle-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{type:"enum",values:{map:{},viewport:{}},default:"map",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"}},paint_heatmap:{"heatmap-radius":{type:"number",default:30,minimum:1,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-weight":{type:"number",default:1,minimum:0,transition:!1,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-intensity":{type:"number",default:1,minimum:0,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"heatmap-color":{type:"color",default:["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",.1,"royalblue",.3,"cyan",.5,"lime",.7,"yellow",1,"red"],transition:!1,expression:{interpolated:!0,parameters:["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_symbol:{"icon-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-color":{type:"color",default:"#000000",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["icon-image","icon-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-color":{type:"color",default:"#000000",transition:!0,overridable:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["text-field","text-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_raster:{"raster-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-hue-rotate":{type:"number",default:0,period:360,transition:!0,units:"degrees",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{type:"number",default:0,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-saturation":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-contrast":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-resampling":{type:"enum",values:{linear:{},nearest:{}},default:"linear",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"raster-fade-duration":{type:"number",default:300,minimum:0,transition:!1,units:"milliseconds",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_hillshade:{"hillshade-illumination-direction":{type:"number",default:335,minimum:0,maximum:359,transition:!1,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-illumination-anchor":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-exaggeration":{type:"number",default:.5,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-highlight-color":{type:"color",default:"#FFFFFF",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-accent-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_background:{"background-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"background-pattern"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"background-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"background-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},transition:{duration:{type:"number",default:300,minimum:0,units:"milliseconds"},delay:{type:"number",default:0,minimum:0,units:"milliseconds"}},"property-type":{"data-driven":{type:"property-type"},"cross-faded":{type:"property-type"},"cross-faded-data-driven":{type:"property-type"},"color-ramp":{type:"property-type"},"data-constant":{type:"property-type"},constant:{type:"property-type"}},promoteId:{"*":{type:"string"}}},Ne=function(P,V,J,he){this.message=(P?P+": ":"")+J,he&&(this.identifier=he),V!=null&&V.__line__&&(this.line=V.__line__)};function Qe(P){var V=P.key,J=P.value;return J?[new Ne(V,J,"constants have been deprecated as of v8")]:[]}function ut(P){for(var V=[],J=arguments.length-1;J-- >0;)V[J]=arguments[J+1];for(var he=0,Ae=V;he":P.itemType.kind==="value"?"array":"array<"+V+">"}return P.kind}var An=[yt,Pt,wt,Rt,Nt,Qt,Yt,xn(Wt),rn];function Yn(P,V){if(V.kind==="error")return null;if(P.kind==="array"){if(V.kind==="array"&&(V.N===0&&V.itemType.kind==="value"||!Yn(P.itemType,V.itemType))&&(typeof P.N!="number"||P.N===V.N))return null}else{if(P.kind===V.kind)return null;if(P.kind==="value"){for(var J=0,he=An;J255?255:pt}function Ae(pt){return pt<0?0:pt>1?1:pt}function Oe(pt){return pt[pt.length-1]==="%"?he(parseFloat(pt)/100*255):he(parseInt(pt))}function Ge(pt){return pt[pt.length-1]==="%"?Ae(parseFloat(pt)/100):Ae(parseFloat(pt))}function it(pt,Ct,Dt){return Dt<0?Dt+=1:Dt>1&&(Dt-=1),6*Dt<1?pt+(Ct-pt)*Dt*6:2*Dt<1?Ct:3*Dt<2?pt+(Ct-pt)*(2/3-Dt)*6:pt}try{V.parseCSSColor=function(pt){var Ct,Dt=pt.replace(/ /g,"").toLowerCase();if(Dt in J)return J[Dt].slice();if(Dt[0]==="#")return Dt.length===4?(Ct=parseInt(Dt.substr(1),16))>=0&&Ct<=4095?[(3840&Ct)>>4|(3840&Ct)>>8,240&Ct|(240&Ct)>>4,15&Ct|(15&Ct)<<4,1]:null:Dt.length===7&&(Ct=parseInt(Dt.substr(1),16))>=0&&Ct<=16777215?[(16711680&Ct)>>16,(65280&Ct)>>8,255&Ct,1]:null;var Gt=Dt.indexOf("("),Zt=Dt.indexOf(")");if(Gt!==-1&&Zt+1===Dt.length){var $t=Dt.substr(0,Gt),fn=Dt.substr(Gt+1,Zt-(Gt+1)).split(","),Mn=1;switch($t){case"rgba":if(fn.length!==4)return null;Mn=Ge(fn.pop());case"rgb":return fn.length!==3?null:[Oe(fn[0]),Oe(fn[1]),Oe(fn[2]),Mn];case"hsla":if(fn.length!==4)return null;Mn=Ge(fn.pop());case"hsl":if(fn.length!==3)return null;var Nn=(parseFloat(fn[0])%360+360)%360/360,Bn=Ge(fn[1]),Wn=Ge(fn[2]),Zn=Wn<=.5?Wn*(Bn+1):Wn+Bn-Wn*Bn,er=2*Wn-Zn;return[he(255*it(er,Zn,Nn+1/3)),he(255*it(er,Zn,Nn)),he(255*it(er,Zn,Nn-1/3)),Mn];default:return null}}return null}}catch{}}),dn=Tn.parseCSSColor,pn=function(P,V,J,he){he===void 0&&(he=1),this.r=P,this.g=V,this.b=J,this.a=he};pn.parse=function(P){if(P){if(P instanceof pn)return P;if(typeof P=="string"){var V=dn(P);if(V)return new pn(V[0]/255*V[3],V[1]/255*V[3],V[2]/255*V[3],V[3])}}},pn.prototype.toString=function(){var P=this.toArray(),V=P[0],J=P[1],he=P[2],Ae=P[3];return"rgba("+Math.round(V)+","+Math.round(J)+","+Math.round(he)+","+Ae+")"},pn.prototype.toArray=function(){var P=this,V=P.r,J=P.g,he=P.b,Ae=P.a;return Ae===0?[0,0,0,0]:[255*V/Ae,255*J/Ae,255*he/Ae,Ae]},pn.black=new pn(0,0,0,1),pn.white=new pn(1,1,1,1),pn.transparent=new pn(0,0,0,0),pn.red=new pn(1,0,0,1);var Dn=function(P,V,J){this.sensitivity=P?V?"variant":"case":V?"accent":"base",this.locale=J,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"})};Dn.prototype.compare=function(P,V){return this.collator.compare(P,V)},Dn.prototype.resolvedLocale=function(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale};var In=function(P,V,J,he,Ae){this.text=P,this.image=V,this.scale=J,this.fontStack=he,this.textColor=Ae},jn=function(P){this.sections=P};jn.fromString=function(P){return new jn([new In(P,null,null,null,null)])},jn.prototype.isEmpty=function(){return this.sections.length===0||!this.sections.some(function(P){return P.text.length!==0||P.image&&P.image.name.length!==0})},jn.factory=function(P){return P instanceof jn?P:jn.fromString(P)},jn.prototype.toString=function(){return this.sections.length===0?"":this.sections.map(function(P){return P.text}).join("")},jn.prototype.serialize=function(){for(var P=["format"],V=0,J=this.sections;V=0&&P<=255&&typeof V=="number"&&V>=0&&V<=255&&typeof J=="number"&&J>=0&&J<=255?he===void 0||typeof he=="number"&&he>=0&&he<=1?null:"Invalid rgba value ["+[P,V,J,he].join(", ")+"]: 'a' must be between 0 and 1.":"Invalid rgba value ["+(typeof he=="number"?[P,V,J,he]:[P,V,J]).join(", ")+"]: 'r', 'g', and 'b' must be between 0 and 255."}function lr(P){if(P===null||typeof P=="string"||typeof P=="boolean"||typeof P=="number"||P instanceof pn||P instanceof Dn||P instanceof jn||P instanceof Gn)return!0;if(Array.isArray(P)){for(var V=0,J=P;V2){var it=P[1];if(typeof it!="string"||!(it in vr)||it==="object")return V.error('The item type argument of "array" must be one of string, number, boolean',1);Oe=vr[it],he++}else Oe=Wt;if(P.length>3){if(P[2]!==null&&(typeof P[2]!="number"||P[2]<0||P[2]!==Math.floor(P[2])))return V.error('The length argument to "array" must be a positive integer literal',2);Ge=P[2],he++}J=xn(Oe,Ge)}else J=vr[Ae];for(var pt=[];he1)&&V.push(he)}}return V.concat(this.args.map(function(Ae){return Ae.serialize()}))};var Kt=function(P){this.type=Qt,this.sections=P};Kt.parse=function(P,V){if(P.length<2)return V.error("Expected at least one argument.");var J=P[1];if(!Array.isArray(J)&&typeof J=="object")return V.error("First argument must be an image or text section.");for(var he=[],Ae=!1,Oe=1;Oe<=P.length-1;++Oe){var Ge=P[Oe];if(Ae&&typeof Ge=="object"&&!Array.isArray(Ge)){Ae=!1;var it=null;if(Ge["font-scale"]&&!(it=V.parse(Ge["font-scale"],1,Pt)))return null;var pt=null;if(Ge["text-font"]&&!(pt=V.parse(Ge["text-font"],1,xn(wt))))return null;var Ct=null;if(Ge["text-color"]&&!(Ct=V.parse(Ge["text-color"],1,Nt)))return null;var Dt=he[he.length-1];Dt.scale=it,Dt.font=pt,Dt.textColor=Ct}else{var Gt=V.parse(P[Oe],1,Wt);if(!Gt)return null;var Zt=Gt.type.kind;if(Zt!=="string"&&Zt!=="value"&&Zt!=="null"&&Zt!=="resolvedImage")return V.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");Ae=!0,he.push({content:Gt,scale:null,font:null,textColor:null})}}return new Kt(he)},Kt.prototype.evaluate=function(P){return new jn(this.sections.map(function(V){var J=V.content.evaluate(P);return rr(J)===rn?new In("",J,null,null,null):new In(Sr(J),null,V.scale?V.scale.evaluate(P):null,V.font?V.font.evaluate(P).join(","):null,V.textColor?V.textColor.evaluate(P):null)}))},Kt.prototype.eachChild=function(P){for(var V=0,J=this.sections;V-1),J},bn.prototype.eachChild=function(P){P(this.input)},bn.prototype.outputDefined=function(){return!1},bn.prototype.serialize=function(){return["image",this.input.serialize()]};var Rn={"to-boolean":Rt,"to-color":Nt,"to-number":Pt,"to-string":wt},Ln=function(P,V){this.type=P,this.args=V};Ln.parse=function(P,V){if(P.length<2)return V.error("Expected at least one argument.");var J=P[0];if((J==="to-boolean"||J==="to-string")&&P.length!==2)return V.error("Expected one argument.");for(var he=Rn[J],Ae=[],Oe=1;Oe4?"Invalid rbga value "+JSON.stringify(V)+": expected an array containing either three or four numeric values.":qn(V[0],V[1],V[2],V[3])))return new pn(V[0]/255,V[1]/255,V[2]/255,V[3])}throw new or(J||"Could not parse color from value '"+(typeof V=="string"?V:String(JSON.stringify(V)))+"'")}if(this.type.kind==="number"){for(var Ge=null,it=0,pt=this.args;it=V[2]||P[1]<=V[1]||P[3]>=V[3])}function jt(P,V){var J,he=(180+P[0])/360,Ae=(J=P[1],(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+J*Math.PI/360)))/360),Oe=Math.pow(2,V.z);return[Math.round(he*Oe*mr),Math.round(Ae*Oe*mr)]}function Jt(P,V,J){return V[1]>P[1]!=J[1]>P[1]&&P[0]<(J[0]-V[0])*(P[1]-V[1])/(J[1]-V[1])+V[0]}function hn(P,V){for(var J=!1,he=0,Ae=V.length;he0&&Gt<0||Dt<0&&Gt>0}function En(P,V,J){for(var he=0,Ae=J;heJ[2]){var Ae=.5*he,Oe=P[0]-J[0]>Ae?-he:J[0]-P[0]>Ae?he:0;Oe===0&&(Oe=P[0]-J[2]>Ae?-he:J[2]-P[0]>Ae?he:0),P[0]+=Oe}nn(V,P)}function Vn(P,V,J,he){for(var Ae=Math.pow(2,he.z)*mr,Oe=[he.x*mr,he.y*mr],Ge=[],it=0,pt=P;it=0)return!1;var J=!0;return P.eachChild(function(he){J&&!cr(he,V)&&(J=!1)}),J}nr.parse=function(P,V){if(P.length!==2)return V.error("'within' expression requires exactly one argument, but found "+(P.length-1)+" instead.");if(lr(P[1])){var J=P[1];if(J.type==="FeatureCollection")for(var he=0;heV))throw new or("Input is not a number.");Ge=it-1}return 0}dr.prototype.parse=function(P,V,J,he,Ae){return Ae===void 0&&(Ae={}),V?this.concat(V,J,he)._parse(P,Ae):this._parse(P,Ae)},dr.prototype._parse=function(P,V){function J(Ct,Dt,Gt){return Gt==="assert"?new _r(Dt,[Ct]):Gt==="coerce"?new Ln(Dt,[Ct]):Ct}if(P!==null&&typeof P!="string"&&typeof P!="boolean"&&typeof P!="number"||(P=["literal",P]),Array.isArray(P)){if(P.length===0)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');var he=P[0];if(typeof he!="string")return this.error("Expression name must be a string, but found "+typeof he+' instead. If you wanted a literal array, use ["literal", [...]].',0),null;var Ae=this.registry[he];if(Ae){var Oe=Ae.parse(P,this);if(!Oe)return null;if(this.expectedType){var Ge=this.expectedType,it=Oe.type;if(Ge.kind!=="string"&&Ge.kind!=="number"&&Ge.kind!=="boolean"&&Ge.kind!=="object"&&Ge.kind!=="array"||it.kind!=="value")if(Ge.kind!=="color"&&Ge.kind!=="formatted"&&Ge.kind!=="resolvedImage"||it.kind!=="value"&&it.kind!=="string"){if(this.checkSubtype(Ge,it))return null}else Oe=J(Oe,Ge,V.typeAnnotation||"coerce");else Oe=J(Oe,Ge,V.typeAnnotation||"assert")}if(!(Oe instanceof yr)&&Oe.type.kind!=="resolvedImage"&&br(Oe)){var pt=new Kn;try{Oe=new yr(Oe.type,Oe.evaluate(pt))}catch(Ct){return this.error(Ct.message),null}}return Oe}return this.error('Unknown expression "'+he+'". If you wanted a literal array, use ["literal", [...]].',0)}return P===void 0?this.error("'undefined' value invalid. Use null instead."):typeof P=="object"?this.error('Bare objects invalid. Use ["literal", {...}] instead.'):this.error("Expected an array, but found "+typeof P+" instead.")},dr.prototype.concat=function(P,V,J){var he=typeof P=="number"?this.path.concat(P):this.path,Ae=J?this.scope.concat(J):this.scope;return new dr(this.registry,he,V||null,Ae,this.errors)},dr.prototype.error=function(P){for(var V=[],J=arguments.length-1;J-- >0;)V[J]=arguments[J+1];var he=""+this.key+V.map(function(Ae){return"["+Ae+"]"}).join("");this.errors.push(new It(he,P))},dr.prototype.checkSubtype=function(P,V){var J=Yn(P,V);return J&&this.error(J),J};var Lr=function(P,V,J){this.type=P,this.input=V,this.labels=[],this.outputs=[];for(var he=0,Ae=J;he=Ge)return V.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',pt);var Dt=V.parse(it,Ct,Ae);if(!Dt)return null;Ae=Ae||Dt.type,he.push([Ge,Dt])}return new Lr(Ae,J,he)},Lr.prototype.evaluate=function(P){var V=this.labels,J=this.outputs;if(V.length===1)return J[0].evaluate(P);var he=this.input.evaluate(P);if(he<=V[0])return J[0].evaluate(P);var Ae=V.length;return he>=V[Ae-1]?J[Ae-1].evaluate(P):J[Ir(V,he)].evaluate(P)},Lr.prototype.eachChild=function(P){P(this.input);for(var V=0,J=this.outputs;V0&&P.push(this.labels[V]),P.push(this.outputs[V].serialize());return P};var gr=Object.freeze({__proto__:null,number:zr,color:function(P,V,J){return new pn(zr(P.r,V.r,J),zr(P.g,V.g,J),zr(P.b,V.b,J),zr(P.a,V.a,J))},array:function(P,V,J){return P.map(function(he,Ae){return zr(he,V[Ae],J)})}}),Fr=.95047,ii=1.08883,ji=4/29,ea=6/29,sa=3*ea*ea,uo=Math.PI/180,La=180/Math.PI;function Xi(P){return P>.008856451679035631?Math.pow(P,.3333333333333333):P/sa+ji}function Do(P){return P>ea?P*P*P:sa*(P-ji)}function rs(P){return 255*(P<=.0031308?12.92*P:1.055*Math.pow(P,.4166666666666667)-.055)}function el(P){return(P/=255)<=.04045?P/12.92:Math.pow((P+.055)/1.055,2.4)}function Cu(P){var V=el(P.r),J=el(P.g),he=el(P.b),Ae=Xi((.4124564*V+.3575761*J+.1804375*he)/Fr),Oe=Xi((.2126729*V+.7151522*J+.072175*he)/1);return{l:116*Oe-16,a:500*(Ae-Oe),b:200*(Oe-Xi((.0193339*V+.119192*J+.9503041*he)/ii)),alpha:P.a}}function gf(P){var V=(P.l+16)/116,J=isNaN(P.a)?V:V+P.a/500,he=isNaN(P.b)?V:V-P.b/200;return V=1*Do(V),J=Fr*Do(J),he=ii*Do(he),new pn(rs(3.2404542*J-1.5371385*V-.4985314*he),rs(-.969266*J+1.8760108*V+.041556*he),rs(.0556434*J-.2040259*V+1.0572252*he),P.alpha)}function Mh(P,V,J){var he=V-P;return P+J*(he>180||he<-180?he-360*Math.round(he/360):he)}var Eu={forward:Cu,reverse:gf,interpolate:function(P,V,J){return{l:zr(P.l,V.l,J),a:zr(P.a,V.a,J),b:zr(P.b,V.b,J),alpha:zr(P.alpha,V.alpha,J)}}},is={forward:function(P){var V=Cu(P),J=V.l,he=V.a,Ae=V.b,Oe=Math.atan2(Ae,he)*La;return{h:Oe<0?Oe+360:Oe,c:Math.sqrt(he*he+Ae*Ae),l:J,alpha:P.a}},reverse:function(P){var V=P.h*uo,J=P.c;return gf({l:P.l,a:Math.cos(V)*J,b:Math.sin(V)*J,alpha:P.alpha})},interpolate:function(P,V,J){return{h:Mh(P.h,V.h,J),c:zr(P.c,V.c,J),l:zr(P.l,V.l,J),alpha:zr(P.alpha,V.alpha,J)}}},Ah=Object.freeze({__proto__:null,lab:Eu,hcl:is}),Ya=function(P,V,J,he,Ae){this.type=P,this.operator=V,this.interpolation=J,this.input=he,this.labels=[],this.outputs=[];for(var Oe=0,Ge=Ae;Oe1}))return V.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);he={name:"cubic-bezier",controlPoints:it}}if(P.length-1<4)return V.error("Expected at least 4 arguments, but found only "+(P.length-1)+".");if((P.length-1)%2!=0)return V.error("Expected an even number of arguments.");if(!(Ae=V.parse(Ae,2,Pt)))return null;var pt=[],Ct=null;J==="interpolate-hcl"||J==="interpolate-lab"?Ct=Nt:V.expectedType&&V.expectedType.kind!=="value"&&(Ct=V.expectedType);for(var Dt=0;Dt=Gt)return V.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',$t);var Mn=V.parse(Zt,fn,Ct);if(!Mn)return null;Ct=Ct||Mn.type,pt.push([Gt,Mn])}return Ct.kind==="number"||Ct.kind==="color"||Ct.kind==="array"&&Ct.itemType.kind==="number"&&typeof Ct.N=="number"?new Ya(Ct,J,he,Ae,pt):V.error("Type "+un(Ct)+" is not interpolatable.")},Ya.prototype.evaluate=function(P){var V=this.labels,J=this.outputs;if(V.length===1)return J[0].evaluate(P);var he=this.input.evaluate(P);if(he<=V[0])return J[0].evaluate(P);var Ae=V.length;if(he>=V[Ae-1])return J[Ae-1].evaluate(P);var Oe=Ir(V,he),Ge=V[Oe],it=V[Oe+1],pt=Ya.interpolationFactor(this.interpolation,he,Ge,it),Ct=J[Oe].evaluate(P),Dt=J[Oe+1].evaluate(P);return this.operator==="interpolate"?gr[this.type.kind.toLowerCase()](Ct,Dt,pt):this.operator==="interpolate-hcl"?is.reverse(is.interpolate(is.forward(Ct),is.forward(Dt),pt)):Eu.reverse(Eu.interpolate(Eu.forward(Ct),Eu.forward(Dt),pt))},Ya.prototype.eachChild=function(P){P(this.input);for(var V=0,J=this.outputs;V=J.length)throw new or("Array index out of bounds: "+V+" > "+(J.length-1)+".");if(V!==Math.floor(V))throw new or("Array index must be an integer, but found "+V+" instead.");return J[V]},Ml.prototype.eachChild=function(P){P(this.index),P(this.input)},Ml.prototype.outputDefined=function(){return!1},Ml.prototype.serialize=function(){return["at",this.index.serialize(),this.input.serialize()]};var Ui=function(P,V){this.type=Rt,this.needle=P,this.haystack=V};Ui.parse=function(P,V){if(P.length!==3)return V.error("Expected 2 arguments, but found "+(P.length-1)+" instead.");var J=V.parse(P[1],1,Wt),he=V.parse(P[2],2,Wt);return J&&he?kn(J.type,[Rt,wt,Pt,yt,Wt])?new Ui(J,he):V.error("Expected first argument to be of type boolean, string, number or null, but found "+un(J.type)+" instead"):null},Ui.prototype.evaluate=function(P){var V=this.needle.evaluate(P),J=this.haystack.evaluate(P);if(!J)return!1;if(!sn(V,["boolean","string","number","null"]))throw new or("Expected first argument to be of type boolean, string, number or null, but found "+un(rr(V))+" instead.");if(!sn(J,["string","array"]))throw new or("Expected second argument to be of type array or string, but found "+un(rr(J))+" instead.");return J.indexOf(V)>=0},Ui.prototype.eachChild=function(P){P(this.needle),P(this.haystack)},Ui.prototype.outputDefined=function(){return!0},Ui.prototype.serialize=function(){return["in",this.needle.serialize(),this.haystack.serialize()]};var Al=function(P,V,J){this.type=Pt,this.needle=P,this.haystack=V,this.fromIndex=J};Al.parse=function(P,V){if(P.length<=2||P.length>=5)return V.error("Expected 3 or 4 arguments, but found "+(P.length-1)+" instead.");var J=V.parse(P[1],1,Wt),he=V.parse(P[2],2,Wt);if(!J||!he)return null;if(!kn(J.type,[Rt,wt,Pt,yt,Wt]))return V.error("Expected first argument to be of type boolean, string, number or null, but found "+un(J.type)+" instead");if(P.length===4){var Ae=V.parse(P[3],3,Pt);return Ae?new Al(J,he,Ae):null}return new Al(J,he)},Al.prototype.evaluate=function(P){var V=this.needle.evaluate(P),J=this.haystack.evaluate(P);if(!sn(V,["boolean","string","number","null"]))throw new or("Expected first argument to be of type boolean, string, number or null, but found "+un(rr(V))+" instead.");if(!sn(J,["string","array"]))throw new or("Expected second argument to be of type array or string, but found "+un(rr(J))+" instead.");if(this.fromIndex){var he=this.fromIndex.evaluate(P);return J.indexOf(V,he)}return J.indexOf(V)},Al.prototype.eachChild=function(P){P(this.needle),P(this.haystack),this.fromIndex&&P(this.fromIndex)},Al.prototype.outputDefined=function(){return!1},Al.prototype.serialize=function(){if(this.fromIndex!=null&&this.fromIndex!==void 0){var P=this.fromIndex.serialize();return["index-of",this.needle.serialize(),this.haystack.serialize(),P]}return["index-of",this.needle.serialize(),this.haystack.serialize()]};var ps=function(P,V,J,he,Ae,Oe){this.inputType=P,this.type=V,this.input=J,this.cases=he,this.outputs=Ae,this.otherwise=Oe};ps.parse=function(P,V){if(P.length<5)return V.error("Expected at least 4 arguments, but found only "+(P.length-1)+".");if(P.length%2!=1)return V.error("Expected an even number of arguments.");var J,he;V.expectedType&&V.expectedType.kind!=="value"&&(he=V.expectedType);for(var Ae={},Oe=[],Ge=2;GeNumber.MAX_SAFE_INTEGER)return Ct.error("Branch labels must be integers no larger than "+Number.MAX_SAFE_INTEGER+".");if(typeof Zt=="number"&&Math.floor(Zt)!==Zt)return Ct.error("Numeric branch labels must be integer values.");if(J){if(Ct.checkSubtype(J,rr(Zt)))return null}else J=rr(Zt);if(Ae[String(Zt)]!==void 0)return Ct.error("Branch labels must be unique.");Ae[String(Zt)]=Oe.length}var $t=V.parse(pt,Ge,he);if(!$t)return null;he=he||$t.type,Oe.push($t)}var fn=V.parse(P[1],1,Wt);if(!fn)return null;var Mn=V.parse(P[P.length-1],P.length-1,he);return Mn?fn.type.kind!=="value"&&V.concat(1).checkSubtype(J,fn.type)?null:new ps(J,he,fn,Ae,Oe,Mn):null},ps.prototype.evaluate=function(P){var V=this.input.evaluate(P);return(rr(V)===this.inputType&&this.outputs[this.cases[V]]||this.otherwise).evaluate(P)},ps.prototype.eachChild=function(P){P(this.input),this.outputs.forEach(P),P(this.otherwise)},ps.prototype.outputDefined=function(){return this.outputs.every(function(P){return P.outputDefined()})&&this.otherwise.outputDefined()},ps.prototype.serialize=function(){for(var P=this,V=["match",this.input.serialize()],J=[],he={},Ae=0,Oe=Object.keys(this.cases).sort();Ae=5)return V.error("Expected 3 or 4 arguments, but found "+(P.length-1)+" instead.");var J=V.parse(P[1],1,Wt),he=V.parse(P[2],2,Pt);if(!J||!he)return null;if(!kn(J.type,[xn(Wt),wt,Wt]))return V.error("Expected first argument to be of type array or string, but found "+un(J.type)+" instead");if(P.length===4){var Ae=V.parse(P[3],3,Pt);return Ae?new js(J.type,J,he,Ae):null}return new js(J.type,J,he)},js.prototype.evaluate=function(P){var V=this.input.evaluate(P),J=this.beginIndex.evaluate(P);if(!sn(V,["string","array"]))throw new or("Expected first argument to be of type array or string, but found "+un(rr(V))+" instead.");if(this.endIndex){var he=this.endIndex.evaluate(P);return V.slice(J,he)}return V.slice(J)},js.prototype.eachChild=function(P){P(this.input),P(this.beginIndex),this.endIndex&&P(this.endIndex)},js.prototype.outputDefined=function(){return!1},js.prototype.serialize=function(){if(this.endIndex!=null&&this.endIndex!==void 0){var P=this.endIndex.serialize();return["slice",this.input.serialize(),this.beginIndex.serialize(),P]}return["slice",this.input.serialize(),this.beginIndex.serialize()]};var yf=tl("==",function(P,V,J){return V===J},vf),bf=tl("!=",function(P,V,J){return V!==J},function(P,V,J,he){return!vf(0,V,J,he)}),id=tl("<",function(P,V,J){return V",function(P,V,J){return V>J},function(P,V,J,he){return he.compare(V,J)>0}),xf=tl("<=",function(P,V,J){return V<=J},function(P,V,J,he){return he.compare(V,J)<=0}),Ch=tl(">=",function(P,V,J){return V>=J},function(P,V,J,he){return he.compare(V,J)>=0}),nl=function(P,V,J,he,Ae){this.type=wt,this.number=P,this.locale=V,this.currency=J,this.minFractionDigits=he,this.maxFractionDigits=Ae};nl.parse=function(P,V){if(P.length!==3)return V.error("Expected two arguments.");var J=V.parse(P[1],1,Pt);if(!J)return null;var he=P[2];if(typeof he!="object"||Array.isArray(he))return V.error("NumberFormat options argument must be an object.");var Ae=null;if(he.locale&&!(Ae=V.parse(he.locale,1,wt)))return null;var Oe=null;if(he.currency&&!(Oe=V.parse(he.currency,1,wt)))return null;var Ge=null;if(he["min-fraction-digits"]&&!(Ge=V.parse(he["min-fraction-digits"],1,Pt)))return null;var it=null;return he["max-fraction-digits"]&&!(it=V.parse(he["max-fraction-digits"],1,Pt))?null:new nl(J,Ae,Oe,Ge,it)},nl.prototype.evaluate=function(P){return new Intl.NumberFormat(this.locale?this.locale.evaluate(P):[],{style:this.currency?"currency":"decimal",currency:this.currency?this.currency.evaluate(P):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(P):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(P):void 0}).format(this.number.evaluate(P))},nl.prototype.eachChild=function(P){P(this.number),this.locale&&P(this.locale),this.currency&&P(this.currency),this.minFractionDigits&&P(this.minFractionDigits),this.maxFractionDigits&&P(this.maxFractionDigits)},nl.prototype.outputDefined=function(){return!1},nl.prototype.serialize=function(){var P={};return this.locale&&(P.locale=this.locale.serialize()),this.currency&&(P.currency=this.currency.serialize()),this.minFractionDigits&&(P["min-fraction-digits"]=this.minFractionDigits.serialize()),this.maxFractionDigits&&(P["max-fraction-digits"]=this.maxFractionDigits.serialize()),["number-format",this.number.serialize(),P]};var rl=function(P){this.type=Pt,this.input=P};rl.parse=function(P,V){if(P.length!==2)return V.error("Expected 1 argument, but found "+(P.length-1)+" instead.");var J=V.parse(P[1],1);return J?J.type.kind!=="array"&&J.type.kind!=="string"&&J.type.kind!=="value"?V.error("Expected argument of type string or array, but found "+un(J.type)+" instead."):new rl(J):null},rl.prototype.evaluate=function(P){var V=this.input.evaluate(P);if(typeof V=="string"||Array.isArray(V))return V.length;throw new or("Expected value to be of type string or array, but found "+un(rr(V))+" instead.")},rl.prototype.eachChild=function(P){P(this.input)},rl.prototype.outputDefined=function(){return!1},rl.prototype.serialize=function(){var P=["length"];return this.eachChild(function(V){P.push(V.serialize())}),P};var Lu={"==":yf,"!=":bf,">":Sh,"<":id,">=":Ch,"<=":xf,array:_r,at:Ml,boolean:_r,case:Es,coalesce:Yo,collator:tr,format:Kt,image:bn,in:Ui,"index-of":Al,interpolate:Ya,"interpolate-hcl":Ya,"interpolate-lab":Ya,length:rl,let:as,literal:yr,match:ps,number:_r,"number-format":nl,object:_r,slice:js,step:Lr,string:_r,"to-boolean":Ln,"to-color":Ln,"to-number":Ln,"to-string":Ln,var:pr,within:nr};function il(P,V){var J=V[0],he=V[1],Ae=V[2],Oe=V[3];J=J.evaluate(P),he=he.evaluate(P),Ae=Ae.evaluate(P);var Ge=Oe?Oe.evaluate(P):1,it=qn(J,he,Ae,Ge);if(it)throw new or(it);return new pn(J/255*Ge,he/255*Ge,Ae/255*Ge,Ge)}function Eh(P,V){return P in V}function Lh(P,V){var J=V[P];return J===void 0?null:J}function Jl(P){return{type:P}}function jc(P){return{result:"success",value:P}}function Sl(P){return{result:"error",value:P}}function Iu(P){return P["property-type"]==="data-driven"||P["property-type"]==="cross-faded-data-driven"}function Ql(P){return!!P.expression&&P.expression.parameters.indexOf("zoom")>-1}function al(P){return!!P.expression&&P.expression.interpolated}function Hi(P){return P instanceof Number?"number":P instanceof String?"string":P instanceof Boolean?"boolean":Array.isArray(P)?"array":P===null?"null":typeof P}function Cl(P){return typeof P=="object"&&P!==null&&!Array.isArray(P)}function ad(P){return P}function Uc(P,V){var J,he,Ae,Oe=V.type==="color",Ge=P.stops&&typeof P.stops[0][0]=="object",it=Ge||P.property!==void 0,pt=Ge||!it,Ct=P.type||(al(V)?"exponential":"interval");if(Oe&&((P=ut({},P)).stops&&(P.stops=P.stops.map(function(Tr){return[Tr[0],pn.parse(Tr[1])]})),P.default?P.default=pn.parse(P.default):P.default=pn.parse(V.default)),P.colorSpace&&P.colorSpace!=="rgb"&&!Ah[P.colorSpace])throw new Error("Unknown color space: "+P.colorSpace);if(Ct==="exponential")J=ms;else if(Ct==="interval")J=Ru;else if(Ct==="categorical"){J=eu,he=Object.create(null);for(var Dt=0,Gt=P.stops;Dt=P.stops[he-1][0])return P.stops[he-1][1];var Ae=Ir(P.stops.map(function(Oe){return Oe[0]}),J);return P.stops[Ae][1]}function ms(P,V,J){var he=P.base!==void 0?P.base:1;if(Hi(J)!=="number")return dc(P.default,V.default);var Ae=P.stops.length;if(Ae===1||J<=P.stops[0][0])return P.stops[0][1];if(J>=P.stops[Ae-1][0])return P.stops[Ae-1][1];var Oe=Ir(P.stops.map(function(Gt){return Gt[0]}),J),Ge=function(Gt,Zt,$t,fn){var Mn=fn-$t,Nn=Gt-$t;return Mn===0?0:Zt===1?Nn/Mn:(Math.pow(Zt,Nn)-1)/(Math.pow(Zt,Mn)-1)}(J,he,P.stops[Oe][0],P.stops[Oe+1][0]),it=P.stops[Oe][1],pt=P.stops[Oe+1][1],Ct=gr[V.type]||ad;if(P.colorSpace&&P.colorSpace!=="rgb"){var Dt=Ah[P.colorSpace];Ct=function(Gt,Zt){return Dt.reverse(Dt.interpolate(Dt.forward(Gt),Dt.forward(Zt),Ge))}}return typeof it.evaluate=="function"?{evaluate:function(){for(var Gt=[],Zt=arguments.length;Zt--;)Gt[Zt]=arguments[Zt];var $t=it.evaluate.apply(void 0,Gt),fn=pt.evaluate.apply(void 0,Gt);if($t!==void 0&&fn!==void 0)return Ct($t,fn,Ge)}}:Ct(it,pt,Ge)}function Ih(P,V,J){return V.type==="color"?J=pn.parse(J):V.type==="formatted"?J=jn.fromString(J.toString()):V.type==="resolvedImage"?J=Gn.fromString(J.toString()):Hi(J)===V.type||V.type==="enum"&&V.values[J]||(J=void 0),dc(J,P.default,V.default)}$n.register(Lu,{error:[{kind:"error"},[wt],function(P,V){var J=V[0];throw new or(J.evaluate(P))}],typeof:[wt,[Wt],function(P,V){return un(rr(V[0].evaluate(P)))}],"to-rgba":[xn(Pt,4),[Nt],function(P,V){return V[0].evaluate(P).toArray()}],rgb:[Nt,[Pt,Pt,Pt],il],rgba:[Nt,[Pt,Pt,Pt,Pt],il],has:{type:Rt,overloads:[[[wt],function(P,V){return Eh(V[0].evaluate(P),P.properties())}],[[wt,Yt],function(P,V){var J=V[0],he=V[1];return Eh(J.evaluate(P),he.evaluate(P))}]]},get:{type:Wt,overloads:[[[wt],function(P,V){return Lh(V[0].evaluate(P),P.properties())}],[[wt,Yt],function(P,V){var J=V[0],he=V[1];return Lh(J.evaluate(P),he.evaluate(P))}]]},"feature-state":[Wt,[wt],function(P,V){return Lh(V[0].evaluate(P),P.featureState||{})}],properties:[Yt,[],function(P){return P.properties()}],"geometry-type":[wt,[],function(P){return P.geometryType()}],id:[Wt,[],function(P){return P.id()}],zoom:[Pt,[],function(P){return P.globals.zoom}],"heatmap-density":[Pt,[],function(P){return P.globals.heatmapDensity||0}],"line-progress":[Pt,[],function(P){return P.globals.lineProgress||0}],accumulated:[Wt,[],function(P){return P.globals.accumulated===void 0?null:P.globals.accumulated}],"+":[Pt,Jl(Pt),function(P,V){for(var J=0,he=0,Ae=V;he":[Rt,[wt,Wt],function(P,V){var J=V[0],he=V[1],Ae=P.properties()[J.value],Oe=he.value;return typeof Ae==typeof Oe&&Ae>Oe}],"filter-id->":[Rt,[Wt],function(P,V){var J=V[0],he=P.id(),Ae=J.value;return typeof he==typeof Ae&&he>Ae}],"filter-<=":[Rt,[wt,Wt],function(P,V){var J=V[0],he=V[1],Ae=P.properties()[J.value],Oe=he.value;return typeof Ae==typeof Oe&&Ae<=Oe}],"filter-id-<=":[Rt,[Wt],function(P,V){var J=V[0],he=P.id(),Ae=J.value;return typeof he==typeof Ae&&he<=Ae}],"filter->=":[Rt,[wt,Wt],function(P,V){var J=V[0],he=V[1],Ae=P.properties()[J.value],Oe=he.value;return typeof Ae==typeof Oe&&Ae>=Oe}],"filter-id->=":[Rt,[Wt],function(P,V){var J=V[0],he=P.id(),Ae=J.value;return typeof he==typeof Ae&&he>=Ae}],"filter-has":[Rt,[Wt],function(P,V){return V[0].value in P.properties()}],"filter-has-id":[Rt,[],function(P){return P.id()!==null&&P.id()!==void 0}],"filter-type-in":[Rt,[xn(wt)],function(P,V){return V[0].value.indexOf(P.geometryType())>=0}],"filter-id-in":[Rt,[xn(Wt)],function(P,V){return V[0].value.indexOf(P.id())>=0}],"filter-in-small":[Rt,[wt,xn(Wt)],function(P,V){var J=V[0];return V[1].value.indexOf(P.properties()[J.value])>=0}],"filter-in-large":[Rt,[wt,xn(Wt)],function(P,V){var J=V[0],he=V[1];return function(Ae,Oe,Ge,it){for(;Ge<=it;){var pt=Ge+it>>1;if(Oe[pt]===Ae)return!0;Oe[pt]>Ae?it=pt-1:Ge=pt+1}return!1}(P.properties()[J.value],he.value,0,he.value.length-1)}],all:{type:Rt,overloads:[[[Rt,Rt],function(P,V){var J=V[0],he=V[1];return J.evaluate(P)&&he.evaluate(P)}],[Jl(Rt),function(P,V){for(var J=0,he=V;J0&&typeof P[0]=="string"&&P[0]in Lu}function mc(P,V){var J=new dr(Lu,[],V?function(Ae){var Oe={color:Nt,string:wt,number:Pt,enum:wt,boolean:Rt,formatted:Qt,resolvedImage:rn};return Ae.type==="array"?xn(Oe[Ae.value]||Wt,Ae.length):Oe[Ae.type]}(V):void 0),he=J.parse(P,void 0,void 0,void 0,V&&V.type==="string"?{typeAnnotation:"coerce"}:void 0);return he?jc(new pc(he,V)):Sl(J.errors)}pc.prototype.evaluateWithoutErrorHandling=function(P,V,J,he,Ae,Oe){return this._evaluator.globals=P,this._evaluator.feature=V,this._evaluator.featureState=J,this._evaluator.canonical=he,this._evaluator.availableImages=Ae||null,this._evaluator.formattedSection=Oe,this.expression.evaluate(this._evaluator)},pc.prototype.evaluate=function(P,V,J,he,Ae,Oe){this._evaluator.globals=P,this._evaluator.feature=V||null,this._evaluator.featureState=J||null,this._evaluator.canonical=he,this._evaluator.availableImages=Ae||null,this._evaluator.formattedSection=Oe||null;try{var Ge=this.expression.evaluate(this._evaluator);if(Ge==null||typeof Ge=="number"&&Ge!=Ge)return this._defaultValue;if(this._enumValues&&!(Ge in this._enumValues))throw new or("Expected value to be one of "+Object.keys(this._enumValues).map(function(it){return JSON.stringify(it)}).join(", ")+", but found "+JSON.stringify(Ge)+" instead.");return Ge}catch(it){return this._warningHistory[it.message]||(this._warningHistory[it.message]=!0,typeof console<"u"&&console.warn(it.message)),this._defaultValue}};var tu=function(P,V){this.kind=P,this._styleExpression=V,this.isStateDependent=P!=="constant"&&!hr(V.expression)};tu.prototype.evaluateWithoutErrorHandling=function(P,V,J,he,Ae,Oe){return this._styleExpression.evaluateWithoutErrorHandling(P,V,J,he,Ae,Oe)},tu.prototype.evaluate=function(P,V,J,he,Ae,Oe){return this._styleExpression.evaluate(P,V,J,he,Ae,Oe)};var nu=function(P,V,J,he){this.kind=P,this.zoomStops=J,this._styleExpression=V,this.isStateDependent=P!=="camera"&&!hr(V.expression),this.interpolationType=he};function Ou(P,V){if((P=mc(P,V)).result==="error")return P;var J=P.value.expression,he=Qn(J);if(!he&&!Iu(V))return Sl([new It("","data expressions not supported")]);var Ae=cr(J,["zoom"]);if(!Ae&&!Ql(V))return Sl([new It("","zoom expressions not supported")]);var Oe=vc(J);if(!Oe&&!Ae)return Sl([new It("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')]);if(Oe instanceof It)return Sl([Oe]);if(Oe instanceof Ya&&!al(V))return Sl([new It("",'"interpolate" expressions cannot be used with this property')]);if(!Oe)return jc(new tu(he?"constant":"source",P.value));var Ge=Oe instanceof Ya?Oe.interpolation:void 0;return jc(new nu(he?"camera":"composite",P.value,Oe.labels,Ge))}nu.prototype.evaluateWithoutErrorHandling=function(P,V,J,he,Ae,Oe){return this._styleExpression.evaluateWithoutErrorHandling(P,V,J,he,Ae,Oe)},nu.prototype.evaluate=function(P,V,J,he,Ae,Oe){return this._styleExpression.evaluate(P,V,J,he,Ae,Oe)},nu.prototype.interpolationFactor=function(P,V,J){return this.interpolationType?Ya.interpolationFactor(this.interpolationType,P,V,J):0};var gc=function(P,V){this._parameters=P,this._specification=V,ut(this,Uc(this._parameters,this._specification))};function vc(P){var V=null;if(P instanceof as)V=vc(P.result);else if(P instanceof Yo)for(var J=0,he=P.args;Jhe.maximum?[new Ne(V,J,J+" is greater than the maximum value "+he.maximum)]:[]}function Rh(P){var V,J,he,Ae=P.valueSpec,Oe=dt(P.value.type),Ge={},it=Oe!=="categorical"&&P.value.property===void 0,pt=!it,Ct=Hi(P.value.stops)==="array"&&Hi(P.value.stops[0])==="array"&&Hi(P.value.stops[0][0])==="object",Dt=gs({key:P.key,value:P.value,valueSpec:P.styleSpec.function,style:P.style,styleSpec:P.styleSpec,objectElementValidators:{stops:function($t){if(Oe==="identity")return[new Ne($t.key,$t.value,'identity function may not have a "stops" property')];var fn=[],Mn=$t.value;return fn=fn.concat(yc({key:$t.key,value:Mn,valueSpec:$t.valueSpec,style:$t.style,styleSpec:$t.styleSpec,arrayElementValidator:Gt})),Hi(Mn)==="array"&&Mn.length===0&&fn.push(new Ne($t.key,Mn,"array must have at least one stop")),fn},default:function($t){return da({key:$t.key,value:$t.value,valueSpec:Ae,style:$t.style,styleSpec:$t.styleSpec})}}});return Oe==="identity"&&it&&Dt.push(new Ne(P.key,P.value,'missing required property "property"')),Oe==="identity"||P.value.stops||Dt.push(new Ne(P.key,P.value,'missing required property "stops"')),Oe==="exponential"&&P.valueSpec.expression&&!al(P.valueSpec)&&Dt.push(new Ne(P.key,P.value,"exponential functions not supported")),P.styleSpec.$version>=8&&(pt&&!Iu(P.valueSpec)?Dt.push(new Ne(P.key,P.value,"property functions not supported")):it&&!Ql(P.valueSpec)&&Dt.push(new Ne(P.key,P.value,"zoom functions not supported"))),Oe!=="categorical"&&!Ct||P.value.property!==void 0||Dt.push(new Ne(P.key,P.value,'"property" property is required')),Dt;function Gt($t){var fn=[],Mn=$t.value,Nn=$t.key;if(Hi(Mn)!=="array")return[new Ne(Nn,Mn,"array expected, "+Hi(Mn)+" found")];if(Mn.length!==2)return[new Ne(Nn,Mn,"array length 2 expected, length "+Mn.length+" found")];if(Ct){if(Hi(Mn[0])!=="object")return[new Ne(Nn,Mn,"object expected, "+Hi(Mn[0])+" found")];if(Mn[0].zoom===void 0)return[new Ne(Nn,Mn,"object stop key must have zoom")];if(Mn[0].value===void 0)return[new Ne(Nn,Mn,"object stop key must have value")];if(he&&he>dt(Mn[0].zoom))return[new Ne(Nn,Mn[0].zoom,"stop zoom values must appear in ascending order")];dt(Mn[0].zoom)!==he&&(he=dt(Mn[0].zoom),J=void 0,Ge={}),fn=fn.concat(gs({key:Nn+"[0]",value:Mn[0],valueSpec:{zoom:{}},style:$t.style,styleSpec:$t.styleSpec,objectElementValidators:{zoom:bc,value:Zt}}))}else fn=fn.concat(Zt({key:Nn+"[0]",value:Mn[0],valueSpec:{},style:$t.style,styleSpec:$t.styleSpec},Mn));return Pu(_t(Mn[1]))?fn.concat([new Ne(Nn+"[1]",Mn[1],"expressions are not allowed in function stops.")]):fn.concat(da({key:Nn+"[1]",value:Mn[1],valueSpec:Ae,style:$t.style,styleSpec:$t.styleSpec}))}function Zt($t,fn){var Mn=Hi($t.value),Nn=dt($t.value),Bn=$t.value!==null?$t.value:fn;if(V){if(Mn!==V)return[new Ne($t.key,Bn,Mn+" stop domain type must match previous stop domain type "+V)]}else V=Mn;if(Mn!=="number"&&Mn!=="string"&&Mn!=="boolean")return[new Ne($t.key,Bn,"stop domain value must be a number, string, or boolean")];if(Mn!=="number"&&Oe!=="categorical"){var Wn="number expected, "+Mn+" found";return Iu(Ae)&&Oe===void 0&&(Wn+='\nIf you intended to use a categorical function, specify `"type": "categorical"`.'),[new Ne($t.key,Bn,Wn)]}return Oe!=="categorical"||Mn!=="number"||isFinite(Nn)&&Math.floor(Nn)===Nn?Oe!=="categorical"&&Mn==="number"&&J!==void 0&&Nn=2&&P[1]!=="$id"&&P[1]!=="$type";case"in":return P.length>=3&&(typeof P[1]!="string"||Array.isArray(P[2]));case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return P.length!==3||Array.isArray(P[1])||Array.isArray(P[2]);case"any":case"all":for(var V=0,J=P.slice(1);VV?1:0}function ru(P){if(!Array.isArray(P))return!1;if(P[0]==="within")return!0;for(var V=1;V"||J==="<="||J===">="?Ki(P[1],P[2],J):J==="any"?(V=P.slice(1),["any"].concat(V.map(iu))):J==="all"?["all"].concat(P.slice(1).map(iu)):J==="none"?["all"].concat(P.slice(1).map(iu).map(po)):J==="in"?Ll(P[1],P.slice(2)):J==="!in"?po(Ll(P[1],P.slice(2))):J==="has"?Il(P[1]):J==="!has"?po(Il(P[1])):J!=="within"||P}function Ki(P,V,J){switch(P){case"$type":return["filter-type-"+J,V];case"$id":return["filter-id-"+J,V];default:return["filter-"+J,P,V]}}function Ll(P,V){if(V.length===0)return!1;switch(P){case"$type":return["filter-type-in",["literal",V]];case"$id":return["filter-id-in",["literal",V]];default:return V.length>200&&!V.some(function(J){return typeof J!=typeof V[0]})?["filter-in-large",P,["literal",V.sort(Du)]]:["filter-in-small",P,["literal",V]]}}function Il(P){switch(P){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",P]}}function po(P){return["!",P]}function Oi(P){return xc(_t(P.value))?El(ut({},P,{expressionContext:"filter",valueSpec:{value:"boolean"}})):Bi(P)}function Bi(P){var V=P.value,J=P.key;if(Hi(V)!=="array")return[new Ne(J,V,"array expected, "+Hi(V)+" found")];var he,Ae=P.styleSpec,Oe=[];if(V.length<1)return[new Ne(J,V,"filter array must have at least 1 element")];switch(Oe=Oe.concat(Hc({key:J+"[0]",value:V[0],valueSpec:Ae.filter_operator,style:P.style,styleSpec:P.styleSpec})),dt(V[0])){case"<":case"<=":case">":case">=":V.length>=2&&dt(V[1])==="$type"&&Oe.push(new Ne(J,V,'"$type" cannot be use with operator "'+V[0]+'"'));case"==":case"!=":V.length!==3&&Oe.push(new Ne(J,V,'filter array for operator "'+V[0]+'" must have 3 elements'));case"in":case"!in":V.length>=2&&(he=Hi(V[1]))!=="string"&&Oe.push(new Ne(J+"[1]",V[1],"string expected, "+he+" found"));for(var Ge=2;Ge=Dt[$t+0]&&he>=Dt[$t+1])?(Ge[Zt]=!0,Oe.push(Ct[Zt])):Ge[Zt]=!1}}},$o.prototype._forEachCell=function(P,V,J,he,Ae,Oe,Ge,it){for(var pt=this._convertToCellCoord(P),Ct=this._convertToCellCoord(V),Dt=this._convertToCellCoord(J),Gt=this._convertToCellCoord(he),Zt=pt;Zt<=Dt;Zt++)for(var $t=Ct;$t<=Gt;$t++){var fn=this.d*$t+Zt;if((!it||it(this._convertFromCellCoord(Zt),this._convertFromCellCoord($t),this._convertFromCellCoord(Zt+1),this._convertFromCellCoord($t+1)))&&Ae.call(this,P,V,J,he,fn,Oe,Ge,it))return}},$o.prototype._convertFromCellCoord=function(P){return(P-this.padding)/this.scale},$o.prototype._convertToCellCoord=function(P){return Math.max(0,Math.min(this.d-1,Math.floor(P*this.scale)+this.padding))},$o.prototype.toArrayBuffer=function(){if(this.arrayBuffer)return this.arrayBuffer;for(var P=this.cells,V=3+this.cells.length+1+1,J=0,he=0;he=0)){var Gt=P[Dt];Ct[Dt]=Lo[pt].shallow.indexOf(Dt)>=0?Gt:zu(Gt,V)}P instanceof Error&&(Ct.message=P.message)}if(Ct.$name)throw new Error("$name property is reserved for worker serialization logic.");return pt!=="Object"&&(Ct.$name=pt),Ct}throw new Error("can't serialize object of type "+typeof P)}function Fu(P){if(P==null||typeof P=="boolean"||typeof P=="number"||typeof P=="string"||P instanceof Boolean||P instanceof Number||P instanceof String||P instanceof Date||P instanceof RegExp||Fo(P)||Yc(P)||ArrayBuffer.isView(P)||P instanceof qc)return P;if(Array.isArray(P))return P.map(Fu);if(typeof P=="object"){var V=P.$name||"Object",J=Lo[V].klass;if(!J)throw new Error("can't deserialize unregistered class "+V);if(J.deserialize)return J.deserialize(P);for(var he=Object.create(J.prototype),Ae=0,Oe=Object.keys(P);Ae=0?it:Fu(it)}}return he}throw new Error("can't deserialize object of type "+typeof P)}var Bu=function(){this.first=!0};Bu.prototype.update=function(P,V){var J=Math.floor(P);return this.first?(this.first=!1,this.lastIntegerZoom=J,this.lastIntegerZoomTime=0,this.lastZoom=P,this.lastFloorZoom=J,!0):(this.lastFloorZoom>J?(this.lastIntegerZoom=J+1,this.lastIntegerZoomTime=V):this.lastFloorZoom=128&&P<=255},Arabic:function(P){return P>=1536&&P<=1791},"Arabic Supplement":function(P){return P>=1872&&P<=1919},"Arabic Extended-A":function(P){return P>=2208&&P<=2303},"Hangul Jamo":function(P){return P>=4352&&P<=4607},"Unified Canadian Aboriginal Syllabics":function(P){return P>=5120&&P<=5759},Khmer:function(P){return P>=6016&&P<=6143},"Unified Canadian Aboriginal Syllabics Extended":function(P){return P>=6320&&P<=6399},"General Punctuation":function(P){return P>=8192&&P<=8303},"Letterlike Symbols":function(P){return P>=8448&&P<=8527},"Number Forms":function(P){return P>=8528&&P<=8591},"Miscellaneous Technical":function(P){return P>=8960&&P<=9215},"Control Pictures":function(P){return P>=9216&&P<=9279},"Optical Character Recognition":function(P){return P>=9280&&P<=9311},"Enclosed Alphanumerics":function(P){return P>=9312&&P<=9471},"Geometric Shapes":function(P){return P>=9632&&P<=9727},"Miscellaneous Symbols":function(P){return P>=9728&&P<=9983},"Miscellaneous Symbols and Arrows":function(P){return P>=11008&&P<=11263},"CJK Radicals Supplement":function(P){return P>=11904&&P<=12031},"Kangxi Radicals":function(P){return P>=12032&&P<=12255},"Ideographic Description Characters":function(P){return P>=12272&&P<=12287},"CJK Symbols and Punctuation":function(P){return P>=12288&&P<=12351},Hiragana:function(P){return P>=12352&&P<=12447},Katakana:function(P){return P>=12448&&P<=12543},Bopomofo:function(P){return P>=12544&&P<=12591},"Hangul Compatibility Jamo":function(P){return P>=12592&&P<=12687},Kanbun:function(P){return P>=12688&&P<=12703},"Bopomofo Extended":function(P){return P>=12704&&P<=12735},"CJK Strokes":function(P){return P>=12736&&P<=12783},"Katakana Phonetic Extensions":function(P){return P>=12784&&P<=12799},"Enclosed CJK Letters and Months":function(P){return P>=12800&&P<=13055},"CJK Compatibility":function(P){return P>=13056&&P<=13311},"CJK Unified Ideographs Extension A":function(P){return P>=13312&&P<=19903},"Yijing Hexagram Symbols":function(P){return P>=19904&&P<=19967},"CJK Unified Ideographs":function(P){return P>=19968&&P<=40959},"Yi Syllables":function(P){return P>=40960&&P<=42127},"Yi Radicals":function(P){return P>=42128&&P<=42191},"Hangul Jamo Extended-A":function(P){return P>=43360&&P<=43391},"Hangul Syllables":function(P){return P>=44032&&P<=55215},"Hangul Jamo Extended-B":function(P){return P>=55216&&P<=55295},"Private Use Area":function(P){return P>=57344&&P<=63743},"CJK Compatibility Ideographs":function(P){return P>=63744&&P<=64255},"Arabic Presentation Forms-A":function(P){return P>=64336&&P<=65023},"Vertical Forms":function(P){return P>=65040&&P<=65055},"CJK Compatibility Forms":function(P){return P>=65072&&P<=65103},"Small Form Variants":function(P){return P>=65104&&P<=65135},"Arabic Presentation Forms-B":function(P){return P>=65136&&P<=65279},"Halfwidth and Fullwidth Forms":function(P){return P>=65280&&P<=65519}};function Nu(P){for(var V=0,J=P;V=65097&&P<=65103)||Br["CJK Compatibility Ideographs"](P)||Br["CJK Compatibility"](P)||Br["CJK Radicals Supplement"](P)||Br["CJK Strokes"](P)||!(!Br["CJK Symbols and Punctuation"](P)||P>=12296&&P<=12305||P>=12308&&P<=12319||P===12336)||Br["CJK Unified Ideographs Extension A"](P)||Br["CJK Unified Ideographs"](P)||Br["Enclosed CJK Letters and Months"](P)||Br["Hangul Compatibility Jamo"](P)||Br["Hangul Jamo Extended-A"](P)||Br["Hangul Jamo Extended-B"](P)||Br["Hangul Jamo"](P)||Br["Hangul Syllables"](P)||Br.Hiragana(P)||Br["Ideographic Description Characters"](P)||Br.Kanbun(P)||Br["Kangxi Radicals"](P)||Br["Katakana Phonetic Extensions"](P)||Br.Katakana(P)&&P!==12540||!(!Br["Halfwidth and Fullwidth Forms"](P)||P===65288||P===65289||P===65293||P>=65306&&P<=65310||P===65339||P===65341||P===65343||P>=65371&&P<=65503||P===65507||P>=65512&&P<=65519)||!(!Br["Small Form Variants"](P)||P>=65112&&P<=65118||P>=65123&&P<=65126)||Br["Unified Canadian Aboriginal Syllabics"](P)||Br["Unified Canadian Aboriginal Syllabics Extended"](P)||Br["Vertical Forms"](P)||Br["Yijing Hexagram Symbols"](P)||Br["Yi Syllables"](P)||Br["Yi Radicals"](P))))}function $c(P){return!(ys(P)||function(V){return!!(Br["Latin-1 Supplement"](V)&&(V===167||V===169||V===174||V===177||V===188||V===189||V===190||V===215||V===247)||Br["General Punctuation"](V)&&(V===8214||V===8224||V===8225||V===8240||V===8241||V===8251||V===8252||V===8258||V===8263||V===8264||V===8265||V===8273)||Br["Letterlike Symbols"](V)||Br["Number Forms"](V)||Br["Miscellaneous Technical"](V)&&(V>=8960&&V<=8967||V>=8972&&V<=8991||V>=8996&&V<=9e3||V===9003||V>=9085&&V<=9114||V>=9150&&V<=9165||V===9167||V>=9169&&V<=9179||V>=9186&&V<=9215)||Br["Control Pictures"](V)&&V!==9251||Br["Optical Character Recognition"](V)||Br["Enclosed Alphanumerics"](V)||Br["Geometric Shapes"](V)||Br["Miscellaneous Symbols"](V)&&!(V>=9754&&V<=9759)||Br["Miscellaneous Symbols and Arrows"](V)&&(V>=11026&&V<=11055||V>=11088&&V<=11097||V>=11192&&V<=11243)||Br["CJK Symbols and Punctuation"](V)||Br.Katakana(V)||Br["Private Use Area"](V)||Br["CJK Compatibility Forms"](V)||Br["Small Form Variants"](V)||Br["Halfwidth and Fullwidth Forms"](V)||V===8734||V===8756||V===8757||V>=9984&&V<=10087||V>=10102&&V<=10131||V===65532||V===65533)}(P))}function wc(P){return Br.Arabic(P)||Br["Arabic Supplement"](P)||Br["Arabic Extended-A"](P)||Br["Arabic Presentation Forms-A"](P)||Br["Arabic Presentation Forms-B"](P)}function vo(P){return P>=1424&&P<=2303||Br["Arabic Presentation Forms-A"](P)||Br["Arabic Presentation Forms-B"](P)}function cu(P,V){return!(!V&&vo(P)||P>=2304&&P<=3583||P>=3840&&P<=4255||Br.Khmer(P))}function ll(P){for(var V=0,J=P;V-1&&(yo=bs),hu&&hu(P)};function Tc(){os.fire(new qe("pluginStateChange",{pluginStatus:yo,pluginURL:xs}))}var os=new ft,_s=function(){return yo},Gs=function(){if(yo!==Zo||!xs)throw new Error("rtl-text-plugin cannot be downloaded unless a pluginURL is specified");yo=Pl,Tc(),xs&&Ft({url:xs},function(P){P?Yi(P):(yo=Ls,Tc())})},Bo={applyArabicShaping:null,processBidirectionalText:null,processStyledBidirectionalText:null,isLoaded:function(){return yo===Ls||Bo.applyArabicShaping!=null},isLoading:function(){return yo===Pl},setState:function(P){yo=P.pluginStatus,xs=P.pluginURL},isParsed:function(){return Bo.applyArabicShaping!=null&&Bo.processBidirectionalText!=null&&Bo.processStyledBidirectionalText!=null},getPluginURL:function(){return xs}},Wi=function(P,V){this.zoom=P,V?(this.now=V.now,this.fadeDuration=V.fadeDuration,this.zoomHistory=V.zoomHistory,this.transition=V.transition):(this.now=0,this.fadeDuration=0,this.zoomHistory=new Bu,this.transition={})};Wi.prototype.isSupportedScript=function(P){return function(V,J){for(var he=0,Ae=V;hethis.zoomHistory.lastIntegerZoom?{fromScale:2,toScale:1,t:V+(1-V)*J}:{fromScale:.5,toScale:1,t:1-(1-J)*V}};var no=function(P,V){this.property=P,this.value=V,this.expression=function(J,he){if(Cl(J))return new gc(J,he);if(Pu(J)){var Ae=Ou(J,he);if(Ae.result==="error")throw new Error(Ae.value.map(function(Ge){return Ge.key+": "+Ge.message}).join(", "));return Ae.value}var Oe=J;return typeof J=="string"&&he.type==="color"&&(Oe=pn.parse(J)),{kind:"constant",evaluate:function(){return Oe}}}(V===void 0?P.specification.default:V,P.specification)};no.prototype.isDataDriven=function(){return this.expression.kind==="source"||this.expression.kind==="composite"},no.prototype.possiblyEvaluate=function(P,V,J){return this.property.possiblyEvaluate(this,P,V,J)};var Is=function(P){this.property=P,this.value=new no(P,void 0)};Is.prototype.transitioned=function(P,V){return new qs(this.property,this.value,V,m({},P.transition,this.transition),P.now)},Is.prototype.untransitioned=function(){return new qs(this.property,this.value,null,{},0)};var No=function(P){this._properties=P,this._values=Object.create(P.defaultTransitionablePropertyValues)};No.prototype.getValue=function(P){return L(this._values[P].value.value)},No.prototype.setValue=function(P,V){this._values.hasOwnProperty(P)||(this._values[P]=new Is(this._values[P].property)),this._values[P].value=new no(this._values[P].property,V===null?void 0:L(V))},No.prototype.getTransition=function(P){return L(this._values[P].transition)},No.prototype.setTransition=function(P,V){this._values.hasOwnProperty(P)||(this._values[P]=new Is(this._values[P].property)),this._values[P].transition=L(V)||void 0},No.prototype.serialize=function(){for(var P={},V=0,J=Object.keys(this._values);Vthis.end)return this.prior=null,Ae;if(this.value.isDataDriven())return this.prior=null,Ae;if(he=1)return 1;var pt=it*it,Ct=pt*it;return 4*(it<.5?Ct:3*(it-pt)+Ct-.75)}(Ge))}return Ae};var Ol=function(P){this._properties=P,this._values=Object.create(P.defaultTransitioningPropertyValues)};Ol.prototype.possiblyEvaluate=function(P,V,J){for(var he=new ws(this._properties),Ae=0,Oe=Object.keys(this._values);AeOe.zoomHistory.lastIntegerZoom?{from:J,to:he}:{from:Ae,to:he}},V.prototype.interpolate=function(J){return J},V}(ni),cl=function(P){this.specification=P};cl.prototype.possiblyEvaluate=function(P,V,J,he){if(P.value!==void 0){if(P.expression.kind==="constant"){var Ae=P.expression.evaluate(V,null,{},J,he);return this._calculate(Ae,Ae,Ae,V)}return this._calculate(P.expression.evaluate(new Wi(Math.floor(V.zoom-1),V)),P.expression.evaluate(new Wi(Math.floor(V.zoom),V)),P.expression.evaluate(new Wi(Math.floor(V.zoom+1),V)),V)}},cl.prototype._calculate=function(P,V,J,he){return he.zoom>he.zoomHistory.lastIntegerZoom?{from:P,to:V}:{from:J,to:V}},cl.prototype.interpolate=function(P){return P};var Rs=function(P){this.specification=P};Rs.prototype.possiblyEvaluate=function(P,V,J,he){return!!P.expression.evaluate(V,null,{},J,he)},Rs.prototype.interpolate=function(){return!1};var xo=function(P){for(var V in this.properties=P,this.defaultPropertyValues={},this.defaultTransitionablePropertyValues={},this.defaultTransitioningPropertyValues={},this.defaultPossiblyEvaluatedValues={},this.overridableProperties=[],P){var J=P[V];J.specification.overridable&&this.overridableProperties.push(V);var he=this.defaultPropertyValues[V]=new no(J,void 0),Ae=this.defaultTransitionablePropertyValues[V]=new Is(J);this.defaultTransitioningPropertyValues[V]=Ae.untransitioned(),this.defaultPossiblyEvaluatedValues[V]=he.possiblyEvaluate({})}};Dr("DataDrivenProperty",ni),Dr("DataConstantProperty",Hr),Dr("CrossFadedDataDrivenProperty",Vu),Dr("CrossFadedProperty",cl),Dr("ColorRampProperty",Rs);var Zc="-transition",Vo=function(P){function V(J,he){if(P.call(this),this.id=J.id,this.type=J.type,this._featureFilter={filter:function(){return!0},needGeometry:!1},J.type!=="custom"&&(this.metadata=J.metadata,this.minzoom=J.minzoom,this.maxzoom=J.maxzoom,J.type!=="background"&&(this.source=J.source,this.sourceLayer=J["source-layer"],this.filter=J.filter),he.layout&&(this._unevaluatedLayout=new ul(he.layout)),he.paint)){for(var Ae in this._transitionablePaint=new No(he.paint),J.paint)this.setPaintProperty(Ae,J.paint[Ae],{validate:!1});for(var Oe in J.layout)this.setLayoutProperty(Oe,J.layout[Oe],{validate:!1});this._transitioningPaint=this._transitionablePaint.untransitioned(),this.paint=new ws(he.paint)}}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.getCrossfadeParameters=function(){return this._crossfadeParameters},V.prototype.getLayoutProperty=function(J){return J==="visibility"?this.visibility:this._unevaluatedLayout.getValue(J)},V.prototype.setLayoutProperty=function(J,he,Ae){if(Ae===void 0&&(Ae={}),he!=null){var Oe="layers."+this.id+".layout."+J;if(this._validate(Rl,Oe,J,he,Ae))return}J!=="visibility"?this._unevaluatedLayout.setValue(J,he):this.visibility=he},V.prototype.getPaintProperty=function(J){return E(J,Zc)?this._transitionablePaint.getTransition(J.slice(0,-Zc.length)):this._transitionablePaint.getValue(J)},V.prototype.setPaintProperty=function(J,he,Ae){if(Ae===void 0&&(Ae={}),he!=null){var Oe="layers."+this.id+".paint."+J;if(this._validate(zo,Oe,J,he,Ae))return!1}if(E(J,Zc))return this._transitionablePaint.setTransition(J.slice(0,-Zc.length),he||void 0),!1;var Ge=this._transitionablePaint._values[J],it=Ge.property.specification["property-type"]==="cross-faded-data-driven",pt=Ge.value.isDataDriven(),Ct=Ge.value;this._transitionablePaint.setValue(J,he),this._handleSpecialPaintPropertyUpdate(J);var Dt=this._transitionablePaint._values[J].value;return Dt.isDataDriven()||pt||it||this._handleOverridablePaintPropertyUpdate(J,Ct,Dt)},V.prototype._handleSpecialPaintPropertyUpdate=function(J){},V.prototype._handleOverridablePaintPropertyUpdate=function(J,he,Ae){return!1},V.prototype.isHidden=function(J){return!!(this.minzoom&&J=this.maxzoom)||this.visibility==="none"},V.prototype.updateTransitions=function(J){this._transitioningPaint=this._transitionablePaint.transitioned(J,this._transitioningPaint)},V.prototype.hasTransition=function(){return this._transitioningPaint.hasTransition()},V.prototype.recalculate=function(J,he){J.getCrossfadeParameters&&(this._crossfadeParameters=J.getCrossfadeParameters()),this._unevaluatedLayout&&(this.layout=this._unevaluatedLayout.possiblyEvaluate(J,void 0,he)),this.paint=this._transitioningPaint.possiblyEvaluate(J,void 0,he)},V.prototype.serialize=function(){var J={id:this.id,type:this.type,source:this.source,"source-layer":this.sourceLayer,metadata:this.metadata,minzoom:this.minzoom,maxzoom:this.maxzoom,filter:this.filter,layout:this._unevaluatedLayout&&this._unevaluatedLayout.serialize(),paint:this._transitionablePaint&&this._transitionablePaint.serialize()};return this.visibility&&(J.layout=J.layout||{},J.layout.visibility=this.visibility),A(J,function(he,Ae){return!(he===void 0||Ae==="layout"&&!Object.keys(he).length||Ae==="paint"&&!Object.keys(he).length)})},V.prototype._validate=function(J,he,Ae,Oe,Ge){return Ge===void 0&&(Ge={}),(!Ge||Ge.validate!==!1)&&vs(this,J.call(go,{key:he,layerType:this.type,objectKey:Ae,value:Oe,styleSpec:Re,style:{glyphs:!0,sprite:!0}}))},V.prototype.is3D=function(){return!1},V.prototype.isTileClipped=function(){return!1},V.prototype.hasOffscreenPass=function(){return!1},V.prototype.resize=function(){},V.prototype.isStateDependent=function(){for(var J in this.paint._values){var he=this.paint.get(J);if(he instanceof bo&&Iu(he.property.specification)&&(he.value.kind==="source"||he.value.kind==="composite")&&he.value.isStateDependent)return!0}return!1},V}(ft),ju={Int8:Int8Array,Uint8:Uint8Array,Int16:Int16Array,Uint16:Uint16Array,Int32:Int32Array,Uint32:Uint32Array,Float32:Float32Array},hl=function(P,V){this._structArray=P,this._pos1=V*this.size,this._pos2=this._pos1/2,this._pos4=this._pos1/4,this._pos8=this._pos1/8},Ji=function(){this.isTransferred=!1,this.capacity=-1,this.resize(0)};function la(P,V){V===void 0&&(V=1);var J=0,he=0;return{members:P.map(function(Ae){var Oe,Ge=(Oe=Ae.type,ju[Oe].BYTES_PER_ELEMENT),it=J=Xc(J,Math.max(V,Ge)),pt=Ae.components||1;return he=Math.max(he,Ge),J+=Ge*pt,{name:Ae.name,type:Ae.type,components:pt,offset:it}}),size:Xc(J,Math.max(he,V)),alignment:V}}function Xc(P,V){return Math.ceil(P/V)*V}Ji.serialize=function(P,V){return P._trim(),V&&(P.isTransferred=!0,V.push(P.arrayBuffer)),{length:P.length,arrayBuffer:P.arrayBuffer}},Ji.deserialize=function(P){var V=Object.create(this.prototype);return V.arrayBuffer=P.arrayBuffer,V.length=P.length,V.capacity=P.arrayBuffer.byteLength/V.bytesPerElement,V._refreshViews(),V},Ji.prototype._trim=function(){this.length!==this.capacity&&(this.capacity=this.length,this.arrayBuffer=this.arrayBuffer.slice(0,this.length*this.bytesPerElement),this._refreshViews())},Ji.prototype.clear=function(){this.length=0},Ji.prototype.resize=function(P){this.reserve(P),this.length=P},Ji.prototype.reserve=function(P){if(P>this.capacity){this.capacity=Math.max(P,Math.floor(5*this.capacity),128),this.arrayBuffer=new ArrayBuffer(this.capacity*this.bytesPerElement);var V=this.uint8;this._refreshViews(),V&&this.uint8.set(V)}},Ji.prototype._refreshViews=function(){throw new Error("_refreshViews() must be implemented by each concrete StructArray layout")};var et=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he){var Ae=this.length;return this.resize(Ae+1),this.emplace(Ae,J,he)},V.prototype.emplace=function(J,he,Ae){var Oe=2*J;return this.int16[Oe+0]=he,this.int16[Oe+1]=Ae,J},V}(Ji);et.prototype.bytesPerElement=4,Dr("StructArrayLayout2i4",et);var rt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe){var Ge=this.length;return this.resize(Ge+1),this.emplace(Ge,J,he,Ae,Oe)},V.prototype.emplace=function(J,he,Ae,Oe,Ge){var it=4*J;return this.int16[it+0]=he,this.int16[it+1]=Ae,this.int16[it+2]=Oe,this.int16[it+3]=Ge,J},V}(Ji);rt.prototype.bytesPerElement=8,Dr("StructArrayLayout4i8",rt);var ct=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it){var pt=this.length;return this.resize(pt+1),this.emplace(pt,J,he,Ae,Oe,Ge,it)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt){var Ct=6*J;return this.int16[Ct+0]=he,this.int16[Ct+1]=Ae,this.int16[Ct+2]=Oe,this.int16[Ct+3]=Ge,this.int16[Ct+4]=it,this.int16[Ct+5]=pt,J},V}(Ji);ct.prototype.bytesPerElement=12,Dr("StructArrayLayout2i4i12",ct);var vt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it){var pt=this.length;return this.resize(pt+1),this.emplace(pt,J,he,Ae,Oe,Ge,it)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt){var Ct=4*J,Dt=8*J;return this.int16[Ct+0]=he,this.int16[Ct+1]=Ae,this.uint8[Dt+4]=Oe,this.uint8[Dt+5]=Ge,this.uint8[Dt+6]=it,this.uint8[Dt+7]=pt,J},V}(Ji);vt.prototype.bytesPerElement=8,Dr("StructArrayLayout2i4ub8",vt);var St=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt){var Zt=this.length;return this.resize(Zt+1),this.emplace(Zt,J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt){var $t=9*J,fn=18*J;return this.uint16[$t+0]=he,this.uint16[$t+1]=Ae,this.uint16[$t+2]=Oe,this.uint16[$t+3]=Ge,this.uint16[$t+4]=it,this.uint16[$t+5]=pt,this.uint16[$t+6]=Ct,this.uint16[$t+7]=Dt,this.uint8[fn+16]=Gt,this.uint8[fn+17]=Zt,J},V}(Ji);St.prototype.bytesPerElement=18,Dr("StructArrayLayout8ui2ub18",St);var Mt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t){var fn=this.length;return this.resize(fn+1),this.emplace(fn,J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn){var Mn=12*J;return this.int16[Mn+0]=he,this.int16[Mn+1]=Ae,this.int16[Mn+2]=Oe,this.int16[Mn+3]=Ge,this.uint16[Mn+4]=it,this.uint16[Mn+5]=pt,this.uint16[Mn+6]=Ct,this.uint16[Mn+7]=Dt,this.int16[Mn+8]=Gt,this.int16[Mn+9]=Zt,this.int16[Mn+10]=$t,this.int16[Mn+11]=fn,J},V}(Ji);Mt.prototype.bytesPerElement=24,Dr("StructArrayLayout4i4ui4i24",Mt);var Y=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae){var Oe=this.length;return this.resize(Oe+1),this.emplace(Oe,J,he,Ae)},V.prototype.emplace=function(J,he,Ae,Oe){var Ge=3*J;return this.float32[Ge+0]=he,this.float32[Ge+1]=Ae,this.float32[Ge+2]=Oe,J},V}(Ji);Y.prototype.bytesPerElement=12,Dr("StructArrayLayout3f12",Y);var ee=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J){var he=this.length;return this.resize(he+1),this.emplace(he,J)},V.prototype.emplace=function(J,he){var Ae=1*J;return this.uint32[Ae+0]=he,J},V}(Ji);ee.prototype.bytesPerElement=4,Dr("StructArrayLayout1ul4",ee);var K=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt){var Gt=this.length;return this.resize(Gt+1),this.emplace(Gt,J,he,Ae,Oe,Ge,it,pt,Ct,Dt)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt){var Zt=10*J,$t=5*J;return this.int16[Zt+0]=he,this.int16[Zt+1]=Ae,this.int16[Zt+2]=Oe,this.int16[Zt+3]=Ge,this.int16[Zt+4]=it,this.int16[Zt+5]=pt,this.uint32[$t+3]=Ct,this.uint16[Zt+8]=Dt,this.uint16[Zt+9]=Gt,J},V}(Ji);K.prototype.bytesPerElement=20,Dr("StructArrayLayout6i1ul2ui20",K);var le=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it){var pt=this.length;return this.resize(pt+1),this.emplace(pt,J,he,Ae,Oe,Ge,it)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt){var Ct=6*J;return this.int16[Ct+0]=he,this.int16[Ct+1]=Ae,this.int16[Ct+2]=Oe,this.int16[Ct+3]=Ge,this.int16[Ct+4]=it,this.int16[Ct+5]=pt,J},V}(Ji);le.prototype.bytesPerElement=12,Dr("StructArrayLayout2i2i2i12",le);var Te=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge){var it=this.length;return this.resize(it+1),this.emplace(it,J,he,Ae,Oe,Ge)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it){var pt=4*J,Ct=8*J;return this.float32[pt+0]=he,this.float32[pt+1]=Ae,this.float32[pt+2]=Oe,this.int16[Ct+6]=Ge,this.int16[Ct+7]=it,J},V}(Ji);Te.prototype.bytesPerElement=16,Dr("StructArrayLayout2f1f2i16",Te);var De=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe){var Ge=this.length;return this.resize(Ge+1),this.emplace(Ge,J,he,Ae,Oe)},V.prototype.emplace=function(J,he,Ae,Oe,Ge){var it=12*J,pt=3*J;return this.uint8[it+0]=he,this.uint8[it+1]=Ae,this.float32[pt+1]=Oe,this.float32[pt+2]=Ge,J},V}(Ji);De.prototype.bytesPerElement=12,Dr("StructArrayLayout2ub2f12",De);var He=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae){var Oe=this.length;return this.resize(Oe+1),this.emplace(Oe,J,he,Ae)},V.prototype.emplace=function(J,he,Ae,Oe){var Ge=3*J;return this.uint16[Ge+0]=he,this.uint16[Ge+1]=Ae,this.uint16[Ge+2]=Oe,J},V}(Ji);He.prototype.bytesPerElement=6,Dr("StructArrayLayout3ui6",He);var Ze=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn,Mn,Nn,Bn,Wn){var Zn=this.length;return this.resize(Zn+1),this.emplace(Zn,J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn,Mn,Nn,Bn,Wn)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn,Mn,Nn,Bn,Wn,Zn){var er=24*J,sr=12*J,fr=48*J;return this.int16[er+0]=he,this.int16[er+1]=Ae,this.uint16[er+2]=Oe,this.uint16[er+3]=Ge,this.uint32[sr+2]=it,this.uint32[sr+3]=pt,this.uint32[sr+4]=Ct,this.uint16[er+10]=Dt,this.uint16[er+11]=Gt,this.uint16[er+12]=Zt,this.float32[sr+7]=$t,this.float32[sr+8]=fn,this.uint8[fr+36]=Mn,this.uint8[fr+37]=Nn,this.uint8[fr+38]=Bn,this.uint32[sr+10]=Wn,this.int16[er+22]=Zn,J},V}(Ji);Ze.prototype.bytesPerElement=48,Dr("StructArrayLayout2i2ui3ul3ui2f3ub1ul1i48",Ze);var at=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn,Mn,Nn,Bn,Wn,Zn,er,sr,fr,Pr,Tr,Nr,Xr,hi,Jr,ui){var ri=this.length;return this.resize(ri+1),this.emplace(ri,J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn,Mn,Nn,Bn,Wn,Zn,er,sr,fr,Pr,Tr,Nr,Xr,hi,Jr,ui)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn,Mn,Nn,Bn,Wn,Zn,er,sr,fr,Pr,Tr,Nr,Xr,hi,Jr,ui,ri){var Kr=34*J,Di=17*J;return this.int16[Kr+0]=he,this.int16[Kr+1]=Ae,this.int16[Kr+2]=Oe,this.int16[Kr+3]=Ge,this.int16[Kr+4]=it,this.int16[Kr+5]=pt,this.int16[Kr+6]=Ct,this.int16[Kr+7]=Dt,this.uint16[Kr+8]=Gt,this.uint16[Kr+9]=Zt,this.uint16[Kr+10]=$t,this.uint16[Kr+11]=fn,this.uint16[Kr+12]=Mn,this.uint16[Kr+13]=Nn,this.uint16[Kr+14]=Bn,this.uint16[Kr+15]=Wn,this.uint16[Kr+16]=Zn,this.uint16[Kr+17]=er,this.uint16[Kr+18]=sr,this.uint16[Kr+19]=fr,this.uint16[Kr+20]=Pr,this.uint16[Kr+21]=Tr,this.uint16[Kr+22]=Nr,this.uint32[Di+12]=Xr,this.float32[Di+13]=hi,this.float32[Di+14]=Jr,this.float32[Di+15]=ui,this.float32[Di+16]=ri,J},V}(Ji);at.prototype.bytesPerElement=68,Dr("StructArrayLayout8i15ui1ul4f68",at);var Tt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J){var he=this.length;return this.resize(he+1),this.emplace(he,J)},V.prototype.emplace=function(J,he){var Ae=1*J;return this.float32[Ae+0]=he,J},V}(Ji);Tt.prototype.bytesPerElement=4,Dr("StructArrayLayout1f4",Tt);var At=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae){var Oe=this.length;return this.resize(Oe+1),this.emplace(Oe,J,he,Ae)},V.prototype.emplace=function(J,he,Ae,Oe){var Ge=3*J;return this.int16[Ge+0]=he,this.int16[Ge+1]=Ae,this.int16[Ge+2]=Oe,J},V}(Ji);At.prototype.bytesPerElement=6,Dr("StructArrayLayout3i6",At);var se=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae){var Oe=this.length;return this.resize(Oe+1),this.emplace(Oe,J,he,Ae)},V.prototype.emplace=function(J,he,Ae,Oe){var Ge=2*J,it=4*J;return this.uint32[Ge+0]=he,this.uint16[it+2]=Ae,this.uint16[it+3]=Oe,J},V}(Ji);se.prototype.bytesPerElement=8,Dr("StructArrayLayout1ul2ui8",se);var ve=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he){var Ae=this.length;return this.resize(Ae+1),this.emplace(Ae,J,he)},V.prototype.emplace=function(J,he,Ae){var Oe=2*J;return this.uint16[Oe+0]=he,this.uint16[Oe+1]=Ae,J},V}(Ji);ve.prototype.bytesPerElement=4,Dr("StructArrayLayout2ui4",ve);var Ie=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J){var he=this.length;return this.resize(he+1),this.emplace(he,J)},V.prototype.emplace=function(J,he){var Ae=1*J;return this.uint16[Ae+0]=he,J},V}(Ji);Ie.prototype.bytesPerElement=2,Dr("StructArrayLayout1ui2",Ie);var Fe=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he){var Ae=this.length;return this.resize(Ae+1),this.emplace(Ae,J,he)},V.prototype.emplace=function(J,he,Ae){var Oe=2*J;return this.float32[Oe+0]=he,this.float32[Oe+1]=Ae,J},V}(Ji);Fe.prototype.bytesPerElement=8,Dr("StructArrayLayout2f8",Fe);var Ue=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe){var Ge=this.length;return this.resize(Ge+1),this.emplace(Ge,J,he,Ae,Oe)},V.prototype.emplace=function(J,he,Ae,Oe,Ge){var it=4*J;return this.float32[it+0]=he,this.float32[it+1]=Ae,this.float32[it+2]=Oe,this.float32[it+3]=Ge,J},V}(Ji);Ue.prototype.bytesPerElement=16,Dr("StructArrayLayout4f16",Ue);var We=function(P){function V(){P.apply(this,arguments)}P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V;var J={anchorPointX:{configurable:!0},anchorPointY:{configurable:!0},x1:{configurable:!0},y1:{configurable:!0},x2:{configurable:!0},y2:{configurable:!0},featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0},anchorPoint:{configurable:!0}};return J.anchorPointX.get=function(){return this._structArray.int16[this._pos2+0]},J.anchorPointY.get=function(){return this._structArray.int16[this._pos2+1]},J.x1.get=function(){return this._structArray.int16[this._pos2+2]},J.y1.get=function(){return this._structArray.int16[this._pos2+3]},J.x2.get=function(){return this._structArray.int16[this._pos2+4]},J.y2.get=function(){return this._structArray.int16[this._pos2+5]},J.featureIndex.get=function(){return this._structArray.uint32[this._pos4+3]},J.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+8]},J.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+9]},J.anchorPoint.get=function(){return new a(this.anchorPointX,this.anchorPointY)},Object.defineProperties(V.prototype,J),V}(hl);We.prototype.size=20;var Xe=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new We(this,J)},V}(K);Dr("CollisionBoxArray",Xe);var tt=function(P){function V(){P.apply(this,arguments)}P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V;var J={anchorX:{configurable:!0},anchorY:{configurable:!0},glyphStartIndex:{configurable:!0},numGlyphs:{configurable:!0},vertexStartIndex:{configurable:!0},lineStartIndex:{configurable:!0},lineLength:{configurable:!0},segment:{configurable:!0},lowerSize:{configurable:!0},upperSize:{configurable:!0},lineOffsetX:{configurable:!0},lineOffsetY:{configurable:!0},writingMode:{configurable:!0},placedOrientation:{configurable:!0},hidden:{configurable:!0},crossTileID:{configurable:!0},associatedIconIndex:{configurable:!0}};return J.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},J.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},J.glyphStartIndex.get=function(){return this._structArray.uint16[this._pos2+2]},J.numGlyphs.get=function(){return this._structArray.uint16[this._pos2+3]},J.vertexStartIndex.get=function(){return this._structArray.uint32[this._pos4+2]},J.lineStartIndex.get=function(){return this._structArray.uint32[this._pos4+3]},J.lineLength.get=function(){return this._structArray.uint32[this._pos4+4]},J.segment.get=function(){return this._structArray.uint16[this._pos2+10]},J.lowerSize.get=function(){return this._structArray.uint16[this._pos2+11]},J.upperSize.get=function(){return this._structArray.uint16[this._pos2+12]},J.lineOffsetX.get=function(){return this._structArray.float32[this._pos4+7]},J.lineOffsetY.get=function(){return this._structArray.float32[this._pos4+8]},J.writingMode.get=function(){return this._structArray.uint8[this._pos1+36]},J.placedOrientation.get=function(){return this._structArray.uint8[this._pos1+37]},J.placedOrientation.set=function(he){this._structArray.uint8[this._pos1+37]=he},J.hidden.get=function(){return this._structArray.uint8[this._pos1+38]},J.hidden.set=function(he){this._structArray.uint8[this._pos1+38]=he},J.crossTileID.get=function(){return this._structArray.uint32[this._pos4+10]},J.crossTileID.set=function(he){this._structArray.uint32[this._pos4+10]=he},J.associatedIconIndex.get=function(){return this._structArray.int16[this._pos2+22]},Object.defineProperties(V.prototype,J),V}(hl);tt.prototype.size=48;var lt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new tt(this,J)},V}(Ze);Dr("PlacedSymbolArray",lt);var mt=function(P){function V(){P.apply(this,arguments)}P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V;var J={anchorX:{configurable:!0},anchorY:{configurable:!0},rightJustifiedTextSymbolIndex:{configurable:!0},centerJustifiedTextSymbolIndex:{configurable:!0},leftJustifiedTextSymbolIndex:{configurable:!0},verticalPlacedTextSymbolIndex:{configurable:!0},placedIconSymbolIndex:{configurable:!0},verticalPlacedIconSymbolIndex:{configurable:!0},key:{configurable:!0},textBoxStartIndex:{configurable:!0},textBoxEndIndex:{configurable:!0},verticalTextBoxStartIndex:{configurable:!0},verticalTextBoxEndIndex:{configurable:!0},iconBoxStartIndex:{configurable:!0},iconBoxEndIndex:{configurable:!0},verticalIconBoxStartIndex:{configurable:!0},verticalIconBoxEndIndex:{configurable:!0},featureIndex:{configurable:!0},numHorizontalGlyphVertices:{configurable:!0},numVerticalGlyphVertices:{configurable:!0},numIconVertices:{configurable:!0},numVerticalIconVertices:{configurable:!0},useRuntimeCollisionCircles:{configurable:!0},crossTileID:{configurable:!0},textBoxScale:{configurable:!0},textOffset0:{configurable:!0},textOffset1:{configurable:!0},collisionCircleDiameter:{configurable:!0}};return J.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},J.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},J.rightJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+2]},J.centerJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+3]},J.leftJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+4]},J.verticalPlacedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+5]},J.placedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+6]},J.verticalPlacedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+7]},J.key.get=function(){return this._structArray.uint16[this._pos2+8]},J.textBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+9]},J.textBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+10]},J.verticalTextBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+11]},J.verticalTextBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+12]},J.iconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+13]},J.iconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+14]},J.verticalIconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+15]},J.verticalIconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+16]},J.featureIndex.get=function(){return this._structArray.uint16[this._pos2+17]},J.numHorizontalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+18]},J.numVerticalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+19]},J.numIconVertices.get=function(){return this._structArray.uint16[this._pos2+20]},J.numVerticalIconVertices.get=function(){return this._structArray.uint16[this._pos2+21]},J.useRuntimeCollisionCircles.get=function(){return this._structArray.uint16[this._pos2+22]},J.crossTileID.get=function(){return this._structArray.uint32[this._pos4+12]},J.crossTileID.set=function(he){this._structArray.uint32[this._pos4+12]=he},J.textBoxScale.get=function(){return this._structArray.float32[this._pos4+13]},J.textOffset0.get=function(){return this._structArray.float32[this._pos4+14]},J.textOffset1.get=function(){return this._structArray.float32[this._pos4+15]},J.collisionCircleDiameter.get=function(){return this._structArray.float32[this._pos4+16]},Object.defineProperties(V.prototype,J),V}(hl);mt.prototype.size=68;var zt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new mt(this,J)},V}(at);Dr("SymbolInstanceArray",zt);var Ut=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.getoffsetX=function(J){return this.float32[1*J+0]},V}(Tt);Dr("GlyphOffsetArray",Ut);var Ht=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.getx=function(J){return this.int16[3*J+0]},V.prototype.gety=function(J){return this.int16[3*J+1]},V.prototype.gettileUnitDistanceFromAnchor=function(J){return this.int16[3*J+2]},V}(At);Dr("SymbolLineVertexArray",Ht);var en=function(P){function V(){P.apply(this,arguments)}P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V;var J={featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0}};return J.featureIndex.get=function(){return this._structArray.uint32[this._pos4+0]},J.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+2]},J.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+3]},Object.defineProperties(V.prototype,J),V}(hl);en.prototype.size=8;var vn=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new en(this,J)},V}(se);Dr("FeatureIndexArray",vn);var tn=la([{name:"a_pos",components:2,type:"Int16"}],4).members,ln=function(P){P===void 0&&(P=[]),this.segments=P};function an(P,V){return 256*(P=c(Math.floor(P),0,255))+c(Math.floor(V),0,255)}ln.prototype.prepareSegment=function(P,V,J,he){var Ae=this.segments[this.segments.length-1];return P>ln.MAX_VERTEX_ARRAY_LENGTH&&R("Max vertices per segment is "+ln.MAX_VERTEX_ARRAY_LENGTH+": bucket requested "+P),(!Ae||Ae.vertexLength+P>ln.MAX_VERTEX_ARRAY_LENGTH||Ae.sortKey!==he)&&(Ae={vertexOffset:V.length,primitiveOffset:J.length,vertexLength:0,primitiveLength:0},he!==void 0&&(Ae.sortKey=he),this.segments.push(Ae)),Ae},ln.prototype.get=function(){return this.segments},ln.prototype.destroy=function(){for(var P=0,V=this.segments;P>>16)*it&65535)<<16)&4294967295)<<15|Ct>>>17))*pt+(((Ct>>>16)*pt&65535)<<16)&4294967295)<<13|Oe>>>19))+((5*(Oe>>>16)&65535)<<16)&4294967295))+((58964+(Ge>>>16)&65535)<<16);switch(Ct=0,he){case 3:Ct^=(255&V.charCodeAt(Dt+2))<<16;case 2:Ct^=(255&V.charCodeAt(Dt+1))<<8;case 1:Oe^=Ct=(65535&(Ct=(Ct=(65535&(Ct^=255&V.charCodeAt(Dt)))*it+(((Ct>>>16)*it&65535)<<16)&4294967295)<<15|Ct>>>17))*pt+(((Ct>>>16)*pt&65535)<<16)&4294967295}return Oe^=V.length,Oe=2246822507*(65535&(Oe^=Oe>>>16))+((2246822507*(Oe>>>16)&65535)<<16)&4294967295,Oe=3266489909*(65535&(Oe^=Oe>>>13))+((3266489909*(Oe>>>16)&65535)<<16)&4294967295,(Oe^=Oe>>>16)>>>0}}),on=M(function(P){P.exports=function(V,J){for(var he,Ae=V.length,Oe=J^Ae,Ge=0;Ae>=4;)he=1540483477*(65535&(he=255&V.charCodeAt(Ge)|(255&V.charCodeAt(++Ge))<<8|(255&V.charCodeAt(++Ge))<<16|(255&V.charCodeAt(++Ge))<<24))+((1540483477*(he>>>16)&65535)<<16),Oe=1540483477*(65535&Oe)+((1540483477*(Oe>>>16)&65535)<<16)^(he=1540483477*(65535&(he^=he>>>24))+((1540483477*(he>>>16)&65535)<<16)),Ae-=4,++Ge;switch(Ae){case 3:Oe^=(255&V.charCodeAt(Ge+2))<<16;case 2:Oe^=(255&V.charCodeAt(Ge+1))<<8;case 1:Oe=1540483477*(65535&(Oe^=255&V.charCodeAt(Ge)))+((1540483477*(Oe>>>16)&65535)<<16)}return Oe=1540483477*(65535&(Oe^=Oe>>>13))+((1540483477*(Oe>>>16)&65535)<<16),(Oe^=Oe>>>15)>>>0}}),Fn=_n,Hn=_n,ir=on;Fn.murmur3=Hn,Fn.murmur2=ir;var ar=function(){this.ids=[],this.positions=[],this.indexed=!1};ar.prototype.add=function(P,V,J,he){this.ids.push(Er(P)),this.positions.push(V,J,he)},ar.prototype.getPositions=function(P){for(var V=Er(P),J=0,he=this.ids.length-1;J>1;this.ids[Ae]>=V?he=Ae:J=Ae+1}for(var Oe=[];this.ids[J]===V;){var Ge=this.positions[3*J],it=this.positions[3*J+1],pt=this.positions[3*J+2];Oe.push({index:Ge,start:it,end:pt}),J++}return Oe},ar.serialize=function(P,V){var J=new Float64Array(P.ids),he=new Uint32Array(P.positions);return xr(J,he,0,J.length-1),V&&V.push(J.buffer,he.buffer),{ids:J,positions:he}},ar.deserialize=function(P){var V=new ar;return V.ids=P.ids,V.positions=P.positions,V.indexed=!0,V};var Mr=Math.pow(2,53)-1;function Er(P){var V=+P;return!isNaN(V)&&V<=Mr?V:Fn(String(P))}function xr(P,V,J,he){for(;J>1],Oe=J-1,Ge=he+1;;){do Oe++;while(P[Oe]Ae);if(Oe>=Ge)break;kr(P,Oe,Ge),kr(V,3*Oe,3*Ge),kr(V,3*Oe+1,3*Ge+1),kr(V,3*Oe+2,3*Ge+2)}Ge-J_o.max||Ge.y<_o.min||Ge.y>_o.max)&&(R("Geometry exceeds allowed extent, reduce your vector tile buffer size"),Ge.x=c(Ge.x,_o.min,_o.max),Ge.y=c(Ge.y,_o.min,_o.max))}return J}function Ps(P,V,J,he,Ae){P.emplaceBack(2*V+(he+1)/2,2*J+(Ae+1)/2)}var Ri=function(P){this.zoom=P.zoom,this.overscaling=P.overscaling,this.layers=P.layers,this.layerIds=this.layers.map(function(V){return V.id}),this.index=P.index,this.hasPattern=!1,this.layoutVertexArray=new et,this.indexArray=new He,this.segments=new ln,this.programConfigurations=new Ia(tn,P.layers,P.zoom),this.stateDependentLayerIds=this.layers.filter(function(V){return V.isStateDependent()}).map(function(V){return V.id})};function Xa(P,V){for(var J=0;J1){if(L0(P,V))return!0;for(var he=0;he1?P.distSqr(J):P.distSqr(J.sub(V)._mult(Ae)._add(V))}function od(P,V){for(var J,he,Ae,Oe=!1,Ge=0;GeV.y!=Ae.y>V.y&&V.x<(Ae.x-he.x)*(V.y-he.y)/(Ae.y-he.y)+he.x&&(Oe=!Oe);return Oe}function wf(P,V){for(var J=!1,he=0,Ae=P.length-1;heV.y!=Ge.y>V.y&&V.x<(Ge.x-Oe.x)*(V.y-Oe.y)/(Ge.y-Oe.y)+Oe.x&&(J=!J)}return J}function p1(P,V,J){var he=J[0],Ae=J[2];if(P.xAe.x&&V.x>Ae.x||P.yAe.y&&V.y>Ae.y)return!1;var Oe=I(P,V,J[0]);return Oe!==I(P,V,J[1])||Oe!==I(P,V,J[2])||Oe!==I(P,V,J[3])}function zh(P,V,J){var he=V.paint.get(P).value;return he.kind==="constant"?he.value:J.programConfigurations.get(V.id).getMaxValue(P)}function dg(P){return Math.sqrt(P[0]*P[0]+P[1]*P[1])}function pg(P,V,J,he,Ae){if(!V[0]&&!V[1])return P;var Oe=a.convert(V)._mult(Ae);J==="viewport"&&Oe._rotate(-he);for(var Ge=[],it=0;it=li||Dt<0||Dt>=li)){var Gt=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray,P.sortKey),Zt=Gt.vertexLength;Ps(this.layoutVertexArray,Ct,Dt,-1,-1),Ps(this.layoutVertexArray,Ct,Dt,1,-1),Ps(this.layoutVertexArray,Ct,Dt,1,1),Ps(this.layoutVertexArray,Ct,Dt,-1,1),this.indexArray.emplaceBack(Zt,Zt+1,Zt+2),this.indexArray.emplaceBack(Zt,Zt+3,Zt+2),Gt.vertexLength+=4,Gt.primitiveLength+=2}}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,P,J,{},he)},Dr("CircleBucket",Ri,{omit:["layers"]});var TS=new xo({"circle-sort-key":new ni(Re.layout_circle["circle-sort-key"])}),kS={paint:new xo({"circle-radius":new ni(Re.paint_circle["circle-radius"]),"circle-color":new ni(Re.paint_circle["circle-color"]),"circle-blur":new ni(Re.paint_circle["circle-blur"]),"circle-opacity":new ni(Re.paint_circle["circle-opacity"]),"circle-translate":new Hr(Re.paint_circle["circle-translate"]),"circle-translate-anchor":new Hr(Re.paint_circle["circle-translate-anchor"]),"circle-pitch-scale":new Hr(Re.paint_circle["circle-pitch-scale"]),"circle-pitch-alignment":new Hr(Re.paint_circle["circle-pitch-alignment"]),"circle-stroke-width":new ni(Re.paint_circle["circle-stroke-width"]),"circle-stroke-color":new ni(Re.paint_circle["circle-stroke-color"]),"circle-stroke-opacity":new ni(Re.paint_circle["circle-stroke-opacity"])}),layout:TS},zl=typeof Float32Array<"u"?Float32Array:Array;function m1(P){return P[0]=1,P[1]=0,P[2]=0,P[3]=0,P[4]=0,P[5]=1,P[6]=0,P[7]=0,P[8]=0,P[9]=0,P[10]=1,P[11]=0,P[12]=0,P[13]=0,P[14]=0,P[15]=1,P}function L_(P,V,J){var he=V[0],Ae=V[1],Oe=V[2],Ge=V[3],it=V[4],pt=V[5],Ct=V[6],Dt=V[7],Gt=V[8],Zt=V[9],$t=V[10],fn=V[11],Mn=V[12],Nn=V[13],Bn=V[14],Wn=V[15],Zn=J[0],er=J[1],sr=J[2],fr=J[3];return P[0]=Zn*he+er*it+sr*Gt+fr*Mn,P[1]=Zn*Ae+er*pt+sr*Zt+fr*Nn,P[2]=Zn*Oe+er*Ct+sr*$t+fr*Bn,P[3]=Zn*Ge+er*Dt+sr*fn+fr*Wn,Zn=J[4],er=J[5],sr=J[6],fr=J[7],P[4]=Zn*he+er*it+sr*Gt+fr*Mn,P[5]=Zn*Ae+er*pt+sr*Zt+fr*Nn,P[6]=Zn*Oe+er*Ct+sr*$t+fr*Bn,P[7]=Zn*Ge+er*Dt+sr*fn+fr*Wn,Zn=J[8],er=J[9],sr=J[10],fr=J[11],P[8]=Zn*he+er*it+sr*Gt+fr*Mn,P[9]=Zn*Ae+er*pt+sr*Zt+fr*Nn,P[10]=Zn*Oe+er*Ct+sr*$t+fr*Bn,P[11]=Zn*Ge+er*Dt+sr*fn+fr*Wn,Zn=J[12],er=J[13],sr=J[14],fr=J[15],P[12]=Zn*he+er*it+sr*Gt+fr*Mn,P[13]=Zn*Ae+er*pt+sr*Zt+fr*Nn,P[14]=Zn*Oe+er*Ct+sr*$t+fr*Bn,P[15]=Zn*Ge+er*Dt+sr*fn+fr*Wn,P}Math.hypot||(Math.hypot=function(){for(var P=arguments,V=0,J=arguments.length;J--;)V+=P[J]*P[J];return Math.sqrt(V)});var MS=L_,mg,AS=function(P,V,J){return P[0]=V[0]-J[0],P[1]=V[1]-J[1],P[2]=V[2]-J[2],P};function gg(P,V,J){var he=V[0],Ae=V[1],Oe=V[2],Ge=V[3];return P[0]=J[0]*he+J[4]*Ae+J[8]*Oe+J[12]*Ge,P[1]=J[1]*he+J[5]*Ae+J[9]*Oe+J[13]*Ge,P[2]=J[2]*he+J[6]*Ae+J[10]*Oe+J[14]*Ge,P[3]=J[3]*he+J[7]*Ae+J[11]*Oe+J[15]*Ge,P}mg=new zl(3),zl!=Float32Array&&(mg[0]=0,mg[1]=0,mg[2]=0),function(){var P=new zl(4);zl!=Float32Array&&(P[0]=0,P[1]=0,P[2]=0,P[3]=0)}();var SS=function(P){var V=P[0],J=P[1];return V*V+J*J},CS=(function(){var P=new zl(2);zl!=Float32Array&&(P[0]=0,P[1]=0)}(),function(P){function V(J){P.call(this,J,kS)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.createBucket=function(J){return new Ri(J)},V.prototype.queryRadius=function(J){var he=J;return zh("circle-radius",this,he)+zh("circle-stroke-width",this,he)+dg(this.paint.get("circle-translate"))},V.prototype.queryIntersectsFeature=function(J,he,Ae,Oe,Ge,it,pt,Ct){for(var Dt=pg(J,this.paint.get("circle-translate"),this.paint.get("circle-translate-anchor"),it.angle,pt),Gt=this.paint.get("circle-radius").evaluate(he,Ae)+this.paint.get("circle-stroke-width").evaluate(he,Ae),Zt=this.paint.get("circle-pitch-alignment")==="map",$t=Zt?Dt:function(Pr,Tr){return Pr.map(function(Nr){return I_(Nr,Tr)})}(Dt,Ct),fn=Zt?Gt*pt:Gt,Mn=0,Nn=Oe;MnP.width||Ae.height>P.height||J.x>P.width-Ae.width||J.y>P.height-Ae.height)throw new RangeError("out of range source coordinates for image copy");if(Ae.width>V.width||Ae.height>V.height||he.x>V.width-Ae.width||he.y>V.height-Ae.height)throw new RangeError("out of range destination coordinates for image copy");for(var Ge=P.data,it=V.data,pt=0;pt80*J){he=Oe=P[0],Ae=Ge=P[1];for(var fn=J;fnOe&&(Oe=it),pt>Ge&&(Ge=pt);Ct=(Ct=Math.max(Oe-he,Ge-Ae))!==0?1/Ct:0}return I0(Zt,$t,J,he,Ae,Ct),$t}function z_(P,V,J,he,Ae){var Oe,Ge;if(Ae===_1(P,V,J,he)>0)for(Oe=V;Oe=V;Oe-=he)Ge=N_(Oe,P[Oe],P[Oe+1],Ge);return Ge&&yg(Ge,Ge.next)&&(P0(Ge),Ge=Ge.next),Ge}function Tf(P,V){if(!P)return P;V||(V=P);var J,he=P;do if(J=!1,he.steiner||!yg(he,he.next)&&wo(he.prev,he,he.next)!==0)he=he.next;else{if(P0(he),(he=V=he.prev)===he.next)break;J=!0}while(J||he!==V);return V}function I0(P,V,J,he,Ae,Oe,Ge){if(P){!Ge&&Oe&&function(Dt,Gt,Zt,$t){var fn=Dt;do fn.z===null&&(fn.z=b1(fn.x,fn.y,Gt,Zt,$t)),fn.prevZ=fn.prev,fn.nextZ=fn.next,fn=fn.next;while(fn!==Dt);fn.prevZ.nextZ=null,fn.prevZ=null,function(Mn){var Nn,Bn,Wn,Zn,er,sr,fr,Pr,Tr=1;do{for(Bn=Mn,Mn=null,er=null,sr=0;Bn;){for(sr++,Wn=Bn,fr=0,Nn=0;Nn0||Pr>0&&Wn;)fr!==0&&(Pr===0||!Wn||Bn.z<=Wn.z)?(Zn=Bn,Bn=Bn.nextZ,fr--):(Zn=Wn,Wn=Wn.nextZ,Pr--),er?er.nextZ=Zn:Mn=Zn,Zn.prevZ=er,er=Zn;Bn=Wn}er.nextZ=null,Tr*=2}while(sr>1)}(fn)}(P,he,Ae,Oe);for(var it,pt,Ct=P;P.prev!==P.next;)if(it=P.prev,pt=P.next,Oe?DS(P,he,Ae,Oe):OS(P))V.push(it.i/J),V.push(P.i/J),V.push(pt.i/J),P0(P),P=pt.next,Ct=pt.next;else if((P=pt)===Ct){Ge?Ge===1?I0(P=zS(Tf(P),V,J),V,J,he,Ae,Oe,2):Ge===2&&FS(P,V,J,he,Ae,Oe):I0(Tf(P),V,J,he,Ae,Oe,1);break}}}function OS(P){var V=P.prev,J=P,he=P.next;if(wo(V,J,he)>=0)return!1;for(var Ae=P.next.next;Ae!==P.prev;){if(ap(V.x,V.y,J.x,J.y,he.x,he.y,Ae.x,Ae.y)&&wo(Ae.prev,Ae,Ae.next)>=0)return!1;Ae=Ae.next}return!0}function DS(P,V,J,he){var Ae=P.prev,Oe=P,Ge=P.next;if(wo(Ae,Oe,Ge)>=0)return!1;for(var it=Ae.xOe.x?Ae.x>Ge.x?Ae.x:Ge.x:Oe.x>Ge.x?Oe.x:Ge.x,Dt=Ae.y>Oe.y?Ae.y>Ge.y?Ae.y:Ge.y:Oe.y>Ge.y?Oe.y:Ge.y,Gt=b1(it,pt,V,J,he),Zt=b1(Ct,Dt,V,J,he),$t=P.prevZ,fn=P.nextZ;$t&&$t.z>=Gt&&fn&&fn.z<=Zt;){if($t!==P.prev&&$t!==P.next&&ap(Ae.x,Ae.y,Oe.x,Oe.y,Ge.x,Ge.y,$t.x,$t.y)&&wo($t.prev,$t,$t.next)>=0||($t=$t.prevZ,fn!==P.prev&&fn!==P.next&&ap(Ae.x,Ae.y,Oe.x,Oe.y,Ge.x,Ge.y,fn.x,fn.y)&&wo(fn.prev,fn,fn.next)>=0))return!1;fn=fn.nextZ}for(;$t&&$t.z>=Gt;){if($t!==P.prev&&$t!==P.next&&ap(Ae.x,Ae.y,Oe.x,Oe.y,Ge.x,Ge.y,$t.x,$t.y)&&wo($t.prev,$t,$t.next)>=0)return!1;$t=$t.prevZ}for(;fn&&fn.z<=Zt;){if(fn!==P.prev&&fn!==P.next&&ap(Ae.x,Ae.y,Oe.x,Oe.y,Ge.x,Ge.y,fn.x,fn.y)&&wo(fn.prev,fn,fn.next)>=0)return!1;fn=fn.nextZ}return!0}function zS(P,V,J){var he=P;do{var Ae=he.prev,Oe=he.next.next;!yg(Ae,Oe)&&F_(Ae,he,he.next,Oe)&&R0(Ae,Oe)&&R0(Oe,Ae)&&(V.push(Ae.i/J),V.push(he.i/J),V.push(Oe.i/J),P0(he),P0(he.next),he=P=Oe),he=he.next}while(he!==P);return Tf(he)}function FS(P,V,J,he,Ae,Oe){var Ge=P;do{for(var it=Ge.next.next;it!==Ge.prev;){if(Ge.i!==it.i&&US(Ge,it)){var pt=B_(Ge,it);return Ge=Tf(Ge,Ge.next),pt=Tf(pt,pt.next),I0(Ge,V,J,he,Ae,Oe),void I0(pt,V,J,he,Ae,Oe)}it=it.next}Ge=Ge.next}while(Ge!==P)}function BS(P,V){return P.x-V.x}function NS(P,V){if(V=function(he,Ae){var Oe,Ge=Ae,it=he.x,pt=he.y,Ct=-1/0;do{if(pt<=Ge.y&&pt>=Ge.next.y&&Ge.next.y!==Ge.y){var Dt=Ge.x+(pt-Ge.y)*(Ge.next.x-Ge.x)/(Ge.next.y-Ge.y);if(Dt<=it&&Dt>Ct){if(Ct=Dt,Dt===it){if(pt===Ge.y)return Ge;if(pt===Ge.next.y)return Ge.next}Oe=Ge.x=Ge.x&&Ge.x>=$t&&it!==Ge.x&&ap(ptOe.x||Ge.x===Oe.x&&VS(Oe,Ge)))&&(Oe=Ge,Mn=Gt)),Ge=Ge.next;while(Ge!==Zt);return Oe}(P,V)){var J=B_(V,P);Tf(V,V.next),Tf(J,J.next)}}function VS(P,V){return wo(P.prev,P,V.prev)<0&&wo(V.next,P,P.next)<0}function b1(P,V,J,he,Ae){return(P=1431655765&((P=858993459&((P=252645135&((P=16711935&((P=32767*(P-J)*Ae)|P<<8))|P<<4))|P<<2))|P<<1))|(V=1431655765&((V=858993459&((V=252645135&((V=16711935&((V=32767*(V-he)*Ae)|V<<8))|V<<4))|V<<2))|V<<1))<<1}function jS(P){var V=P,J=P;do(V.x=0&&(P-Ge)*(he-it)-(J-Ge)*(V-it)>=0&&(J-Ge)*(Oe-it)-(Ae-Ge)*(he-it)>=0}function US(P,V){return P.next.i!==V.i&&P.prev.i!==V.i&&!function(J,he){var Ae=J;do{if(Ae.i!==J.i&&Ae.next.i!==J.i&&Ae.i!==he.i&&Ae.next.i!==he.i&&F_(Ae,Ae.next,J,he))return!0;Ae=Ae.next}while(Ae!==J);return!1}(P,V)&&(R0(P,V)&&R0(V,P)&&function(J,he){var Ae=J,Oe=!1,Ge=(J.x+he.x)/2,it=(J.y+he.y)/2;do Ae.y>it!=Ae.next.y>it&&Ae.next.y!==Ae.y&&Ge<(Ae.next.x-Ae.x)*(it-Ae.y)/(Ae.next.y-Ae.y)+Ae.x&&(Oe=!Oe),Ae=Ae.next;while(Ae!==J);return Oe}(P,V)&&(wo(P.prev,P,V.prev)||wo(P,V.prev,V))||yg(P,V)&&wo(P.prev,P,P.next)>0&&wo(V.prev,V,V.next)>0)}function wo(P,V,J){return(V.y-P.y)*(J.x-V.x)-(V.x-P.x)*(J.y-V.y)}function yg(P,V){return P.x===V.x&&P.y===V.y}function F_(P,V,J,he){var Ae=xg(wo(P,V,J)),Oe=xg(wo(P,V,he)),Ge=xg(wo(J,he,P)),it=xg(wo(J,he,V));return Ae!==Oe&&Ge!==it||!(Ae!==0||!bg(P,J,V))||!(Oe!==0||!bg(P,he,V))||!(Ge!==0||!bg(J,P,he))||!(it!==0||!bg(J,V,he))}function bg(P,V,J){return V.x<=Math.max(P.x,J.x)&&V.x>=Math.min(P.x,J.x)&&V.y<=Math.max(P.y,J.y)&&V.y>=Math.min(P.y,J.y)}function xg(P){return P>0?1:P<0?-1:0}function R0(P,V){return wo(P.prev,P,P.next)<0?wo(P,V,P.next)>=0&&wo(P,P.prev,V)>=0:wo(P,V,P.prev)<0||wo(P,P.next,V)<0}function B_(P,V){var J=new x1(P.i,P.x,P.y),he=new x1(V.i,V.x,V.y),Ae=P.next,Oe=V.prev;return P.next=V,V.prev=P,J.next=Ae,Ae.prev=J,he.next=J,J.prev=he,Oe.next=he,he.prev=Oe,he}function N_(P,V,J,he){var Ae=new x1(P,V,J);return he?(Ae.next=he.next,Ae.prev=he,he.next.prev=Ae,he.next=Ae):(Ae.prev=Ae,Ae.next=Ae),Ae}function P0(P){P.next.prev=P.prev,P.prev.next=P.next,P.prevZ&&(P.prevZ.nextZ=P.nextZ),P.nextZ&&(P.nextZ.prevZ=P.prevZ)}function x1(P,V,J){this.i=P,this.x=V,this.y=J,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function _1(P,V,J,he){for(var Ae=0,Oe=V,Ge=J-he;OeJ;){if(he-J>600){var Oe=he-J+1,Ge=V-J+1,it=Math.log(Oe),pt=.5*Math.exp(2*it/3),Ct=.5*Math.sqrt(it*pt*(Oe-pt)/Oe)*(Ge-Oe/2<0?-1:1);V_(P,V,Math.max(J,Math.floor(V-Ge*pt/Oe+Ct)),Math.min(he,Math.floor(V+(Oe-Ge)*pt/Oe+Ct)),Ae)}var Dt=P[V],Gt=J,Zt=he;for(O0(P,J,V),Ae(P[he],Dt)>0&&O0(P,J,he);Gt0;)Zt--}Ae(P[J],Dt)===0?O0(P,J,Zt):O0(P,++Zt,he),Zt<=V&&(J=Zt+1),V<=Zt&&(he=Zt-1)}}function O0(P,V,J){var he=P[V];P[V]=P[J],P[J]=he}function GS(P,V){return PV?1:0}function w1(P,V){var J=P.length;if(J<=1)return[P];for(var he,Ae,Oe=[],Ge=0;Ge1)for(var pt=0;pt0&&(he+=P[Ae-1].length,J.holes.push(he))}return J},y1.default=PS;var kc=function(P){this.zoom=P.zoom,this.overscaling=P.overscaling,this.layers=P.layers,this.layerIds=this.layers.map(function(V){return V.id}),this.index=P.index,this.hasPattern=!1,this.patternFeatures=[],this.layoutVertexArray=new et,this.indexArray=new He,this.indexArray2=new ve,this.programConfigurations=new Ia(D_,P.layers,P.zoom),this.segments=new ln,this.segments2=new ln,this.stateDependentLayerIds=this.layers.filter(function(V){return V.isStateDependent()}).map(function(V){return V.id})};kc.prototype.populate=function(P,V,J){this.hasPattern=T1("fill",this.layers,V);for(var he=this.layers[0].layout.get("fill-sort-key"),Ae=[],Oe=0,Ge=P;Oe>3}if(Ae--,he===1||he===2)Oe+=P.readSVarint(),Ge+=P.readSVarint(),he===1&&(V&&it.push(V),V=[]),V.push(new a(Oe,Ge));else{if(he!==7)throw new Error("unknown command "+he);V&&V.push(V[0].clone())}}return V&&it.push(V),it},op.prototype.bbox=function(){var P=this._pbf;P.pos=this._geometry;for(var V=P.readVarint()+P.pos,J=1,he=0,Ae=0,Oe=0,Ge=1/0,it=-1/0,pt=1/0,Ct=-1/0;P.pos>3}if(he--,J===1||J===2)(Ae+=P.readSVarint())it&&(it=Ae),(Oe+=P.readSVarint())Ct&&(Ct=Oe);else if(J!==7)throw new Error("unknown command "+J)}return[Ge,pt,it,Ct]},op.prototype.toGeoJSON=function(P,V,J){var he,Ae,Oe=this.extent*Math.pow(2,J),Ge=this.extent*P,it=this.extent*V,pt=this.loadGeometry(),Ct=op.types[this.type];function Dt($t){for(var fn=0;fn<$t.length;fn++){var Mn=$t[fn],Nn=180-360*(Mn.y+it)/Oe;$t[fn]=[360*(Mn.x+Ge)/Oe-180,360/Math.PI*Math.atan(Math.exp(Nn*Math.PI/180))-90]}}switch(this.type){case 1:var Gt=[];for(he=0;he>3;Ae=Ge===1?he.readString():Ge===2?he.readFloat():Ge===3?he.readDouble():Ge===4?he.readVarint64():Ge===5?he.readVarint():Ge===6?he.readSVarint():Ge===7?he.readBoolean():null}return Ae}(J))}function JS(P,V,J){if(P===3){var he=new H_(J,J.readVarint()+J.pos);he.length&&(V[he.name]=he)}}G_.prototype.feature=function(P){if(P<0||P>=this._features.length)throw new Error("feature index out of bounds");this._pbf.pos=this._features[P];var V=this._pbf.readVarint()+this._pbf.pos;return new U_(this._pbf,V,this.extent,this._keys,this._values)};var sp={VectorTile:function(P,V){this.layers=P.readFields(JS,{},V)},VectorTileFeature:U_,VectorTileLayer:H_},QS=sp.VectorTileFeature.types,M1=Math.pow(2,13);function D0(P,V,J,he,Ae,Oe,Ge,it){P.emplaceBack(V,J,2*Math.floor(he*M1)+Ge,Ae*M1*2,Oe*M1*2,Math.round(it))}var Mc=function(P){this.zoom=P.zoom,this.overscaling=P.overscaling,this.layers=P.layers,this.layerIds=this.layers.map(function(V){return V.id}),this.index=P.index,this.hasPattern=!1,this.layoutVertexArray=new ct,this.indexArray=new He,this.programConfigurations=new Ia(j_,P.layers,P.zoom),this.segments=new ln,this.stateDependentLayerIds=this.layers.filter(function(V){return V.isStateDependent()}).map(function(V){return V.id})};function eC(P,V){return P.x===V.x&&(P.x<0||P.x>li)||P.y===V.y&&(P.y<0||P.y>li)}Mc.prototype.populate=function(P,V,J){this.features=[],this.hasPattern=T1("fill-extrusion",this.layers,V);for(var he=0,Ae=P;heli})||Di.every(function(pi){return pi.y<0})||Di.every(function(pi){return pi.y>li})))for(var Mn=0,Nn=0;Nn=1){var Wn=fn[Nn-1];if(!eC(Bn,Wn)){Gt.vertexLength+4>ln.MAX_VERTEX_ARRAY_LENGTH&&(Gt=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray));var Zn=Bn.sub(Wn)._perp()._unit(),er=Wn.dist(Bn);Mn+er>32768&&(Mn=0),D0(this.layoutVertexArray,Bn.x,Bn.y,Zn.x,Zn.y,0,0,Mn),D0(this.layoutVertexArray,Bn.x,Bn.y,Zn.x,Zn.y,0,1,Mn),Mn+=er,D0(this.layoutVertexArray,Wn.x,Wn.y,Zn.x,Zn.y,0,0,Mn),D0(this.layoutVertexArray,Wn.x,Wn.y,Zn.x,Zn.y,0,1,Mn);var sr=Gt.vertexLength;this.indexArray.emplaceBack(sr,sr+2,sr+1),this.indexArray.emplaceBack(sr+1,sr+2,sr+3),Gt.vertexLength+=4,Gt.primitiveLength+=2}}}}if(Gt.vertexLength+pt>ln.MAX_VERTEX_ARRAY_LENGTH&&(Gt=this.segments.prepareSegment(pt,this.layoutVertexArray,this.indexArray)),QS[P.type]==="Polygon"){for(var fr=[],Pr=[],Tr=Gt.vertexLength,Nr=0,Xr=it;Nr=2&&P[pt-1].equals(P[pt-2]);)pt--;for(var Ct=0;Ct0;if(Pr&&Bn>Ct){var Nr=Dt.dist($t);if(Nr>2*Gt){var Xr=Dt.sub(Dt.sub($t)._mult(Gt/Nr)._round());this.updateDistance($t,Xr),this.addCurrentVertex(Xr,Mn,0,0,Zt),$t=Xr}}var hi=$t&&fn,Jr=hi?J:it?"butt":he;if(hi&&Jr==="round"&&(srAe&&(Jr="bevel"),Jr==="bevel"&&(sr>2&&(Jr="flipbevel"),sr100)Wn=Nn.mult(-1);else{var ui=sr*Mn.add(Nn).mag()/Mn.sub(Nn).mag();Wn._perp()._mult(ui*(Tr?-1:1))}this.addCurrentVertex(Dt,Wn,0,0,Zt),this.addCurrentVertex(Dt,Wn.mult(-1),0,0,Zt)}else if(Jr==="bevel"||Jr==="fakeround"){var ri=-Math.sqrt(sr*sr-1),Kr=Tr?ri:0,Di=Tr?0:ri;if($t&&this.addCurrentVertex(Dt,Mn,Kr,Di,Zt),Jr==="fakeround")for(var pi=Math.round(180*fr/Math.PI/20),va=1;va2*Gt){var ya=Dt.add(fn.sub(Dt)._mult(Gt/Pa)._round());this.updateDistance(Dt,ya),this.addCurrentVertex(ya,Nn,0,0,Zt),Dt=ya}}}}},Ys.prototype.addCurrentVertex=function(P,V,J,he,Ae,Oe){Oe===void 0&&(Oe=!1);var Ge=V.x+V.y*J,it=V.y-V.x*J,pt=-V.x+V.y*he,Ct=-V.y-V.x*he;this.addHalfVertex(P,Ge,it,Oe,!1,J,Ae),this.addHalfVertex(P,pt,Ct,Oe,!0,-he,Ae),this.distance>Y_/2&&this.totalDistance===0&&(this.distance=0,this.addCurrentVertex(P,V,J,he,Ae,Oe))},Ys.prototype.addHalfVertex=function(P,V,J,he,Ae,Oe,Ge){var it=P.x,pt=P.y,Ct=.5*this.scaledDistance;this.layoutVertexArray.emplaceBack((it<<1)+(he?1:0),(pt<<1)+(Ae?1:0),Math.round(63*V)+128,Math.round(63*J)+128,1+(Oe===0?0:Oe<0?-1:1)|(63&Ct)<<2,Ct>>6);var Dt=Ge.vertexLength++;this.e1>=0&&this.e2>=0&&(this.indexArray.emplaceBack(this.e1,this.e2,Dt),Ge.primitiveLength++),Ae?this.e2=Dt:this.e1=Dt},Ys.prototype.updateScaledDistance=function(){this.scaledDistance=this.totalDistance>0?(this.clipStart+(this.clipEnd-this.clipStart)*this.distance/this.totalDistance)*(Y_-1):this.distance},Ys.prototype.updateDistance=function(P,V){this.distance+=P.dist(V),this.updateScaledDistance()},Dr("LineBucket",Ys,{omit:["layers","patternFeatures"]});var aC=new xo({"line-cap":new Hr(Re.layout_line["line-cap"]),"line-join":new ni(Re.layout_line["line-join"]),"line-miter-limit":new Hr(Re.layout_line["line-miter-limit"]),"line-round-limit":new Hr(Re.layout_line["line-round-limit"]),"line-sort-key":new ni(Re.layout_line["line-sort-key"])}),$_={paint:new xo({"line-opacity":new ni(Re.paint_line["line-opacity"]),"line-color":new ni(Re.paint_line["line-color"]),"line-translate":new Hr(Re.paint_line["line-translate"]),"line-translate-anchor":new Hr(Re.paint_line["line-translate-anchor"]),"line-width":new ni(Re.paint_line["line-width"]),"line-gap-width":new ni(Re.paint_line["line-gap-width"]),"line-offset":new ni(Re.paint_line["line-offset"]),"line-blur":new ni(Re.paint_line["line-blur"]),"line-dasharray":new cl(Re.paint_line["line-dasharray"]),"line-pattern":new Vu(Re.paint_line["line-pattern"]),"line-gradient":new Rs(Re.paint_line["line-gradient"])}),layout:aC},oC=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.possiblyEvaluate=function(J,he){return he=new Wi(Math.floor(he.zoom),{now:he.now,fadeDuration:he.fadeDuration,zoomHistory:he.zoomHistory,transition:he.transition}),P.prototype.possiblyEvaluate.call(this,J,he)},V.prototype.evaluate=function(J,he,Ae,Oe){return he=m({},he,{zoom:Math.floor(he.zoom)}),P.prototype.evaluate.call(this,J,he,Ae,Oe)},V}(ni),Z_=new oC($_.paint.properties["line-width"].specification);Z_.useIntegerZoom=!0;var sC=function(P){function V(J){P.call(this,J,$_)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._handleSpecialPaintPropertyUpdate=function(J){J==="line-gradient"&&this._updateGradient()},V.prototype._updateGradient=function(){var J=this._transitionablePaint._values["line-gradient"].value.expression;this.gradient=O_(J,"lineProgress"),this.gradientTexture=null},V.prototype.recalculate=function(J,he){P.prototype.recalculate.call(this,J,he),this.paint._values["line-floorwidth"]=Z_.possiblyEvaluate(this._transitioningPaint._values["line-width"].value,J)},V.prototype.createBucket=function(J){return new Ys(J)},V.prototype.queryRadius=function(J){var he=J,Ae=X_(zh("line-width",this,he),zh("line-gap-width",this,he)),Oe=zh("line-offset",this,he);return Ae/2+Math.abs(Oe)+dg(this.paint.get("line-translate"))},V.prototype.queryIntersectsFeature=function(J,he,Ae,Oe,Ge,it,pt){var Ct=pg(J,this.paint.get("line-translate"),this.paint.get("line-translate-anchor"),it.angle,pt),Dt=pt/2*X_(this.paint.get("line-width").evaluate(he,Ae),this.paint.get("line-gap-width").evaluate(he,Ae)),Gt=this.paint.get("line-offset").evaluate(he,Ae);return Gt&&(Oe=function(Zt,$t){for(var fn=[],Mn=new a(0,0),Nn=0;Nn=3){for(var Bn=0;Bn0?V+2*P:P}var A1=la([{name:"a_pos_offset",components:4,type:"Int16"},{name:"a_data",components:4,type:"Uint16"},{name:"a_pixeloffset",components:4,type:"Int16"}],4),lC=la([{name:"a_projected_pos",components:3,type:"Float32"}],4),uC=(la([{name:"a_fade_opacity",components:1,type:"Uint32"}],4),la([{name:"a_placed",components:2,type:"Uint8"},{name:"a_shift",components:2,type:"Float32"}])),K_=(la([{type:"Int16",name:"anchorPointX"},{type:"Int16",name:"anchorPointY"},{type:"Int16",name:"x1"},{type:"Int16",name:"y1"},{type:"Int16",name:"x2"},{type:"Int16",name:"y2"},{type:"Uint32",name:"featureIndex"},{type:"Uint16",name:"sourceLayerIndex"},{type:"Uint16",name:"bucketIndex"}]),la([{name:"a_pos",components:2,type:"Int16"},{name:"a_anchor_pos",components:2,type:"Int16"},{name:"a_extrude",components:2,type:"Int16"}],4)),cC=la([{name:"a_pos",components:2,type:"Float32"},{name:"a_radius",components:1,type:"Float32"},{name:"a_flags",components:2,type:"Int16"}],4);function hC(P,V,J){return P.sections.forEach(function(he){he.text=function(Ae,Oe,Ge){var it=Oe.layout.get("text-transform").evaluate(Ge,{});return it==="uppercase"?Ae=Ae.toLocaleUpperCase():it==="lowercase"&&(Ae=Ae.toLocaleLowerCase()),Bo.applyArabicShaping&&(Ae=Bo.applyArabicShaping(Ae)),Ae}(he.text,V,J)}),P}la([{name:"triangle",components:3,type:"Uint16"}]),la([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Uint16",name:"glyphStartIndex"},{type:"Uint16",name:"numGlyphs"},{type:"Uint32",name:"vertexStartIndex"},{type:"Uint32",name:"lineStartIndex"},{type:"Uint32",name:"lineLength"},{type:"Uint16",name:"segment"},{type:"Uint16",name:"lowerSize"},{type:"Uint16",name:"upperSize"},{type:"Float32",name:"lineOffsetX"},{type:"Float32",name:"lineOffsetY"},{type:"Uint8",name:"writingMode"},{type:"Uint8",name:"placedOrientation"},{type:"Uint8",name:"hidden"},{type:"Uint32",name:"crossTileID"},{type:"Int16",name:"associatedIconIndex"}]),la([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Int16",name:"rightJustifiedTextSymbolIndex"},{type:"Int16",name:"centerJustifiedTextSymbolIndex"},{type:"Int16",name:"leftJustifiedTextSymbolIndex"},{type:"Int16",name:"verticalPlacedTextSymbolIndex"},{type:"Int16",name:"placedIconSymbolIndex"},{type:"Int16",name:"verticalPlacedIconSymbolIndex"},{type:"Uint16",name:"key"},{type:"Uint16",name:"textBoxStartIndex"},{type:"Uint16",name:"textBoxEndIndex"},{type:"Uint16",name:"verticalTextBoxStartIndex"},{type:"Uint16",name:"verticalTextBoxEndIndex"},{type:"Uint16",name:"iconBoxStartIndex"},{type:"Uint16",name:"iconBoxEndIndex"},{type:"Uint16",name:"verticalIconBoxStartIndex"},{type:"Uint16",name:"verticalIconBoxEndIndex"},{type:"Uint16",name:"featureIndex"},{type:"Uint16",name:"numHorizontalGlyphVertices"},{type:"Uint16",name:"numVerticalGlyphVertices"},{type:"Uint16",name:"numIconVertices"},{type:"Uint16",name:"numVerticalIconVertices"},{type:"Uint16",name:"useRuntimeCollisionCircles"},{type:"Uint32",name:"crossTileID"},{type:"Float32",name:"textBoxScale"},{type:"Float32",components:2,name:"textOffset"},{type:"Float32",name:"collisionCircleDiameter"}]),la([{type:"Float32",name:"offsetX"}]),la([{type:"Int16",name:"x"},{type:"Int16",name:"y"},{type:"Int16",name:"tileUnitDistanceFromAnchor"}]);var F0={"!":"︕","#":"#",$:"$","%":"%","&":"&","(":"︵",")":"︶","*":"*","+":"+",",":"︐","-":"︲",".":"・","/":"/",":":"︓",";":"︔","<":"︿","=":"=",">":"﹀","?":"︖","@":"@","[":"﹇","\\":"\","]":"﹈","^":"^",_:"︳","`":"`","{":"︷","|":"―","}":"︸","~":"~","¢":"¢","£":"£","¥":"¥","¦":"¦","¬":"¬","¯":" ̄","–":"︲","—":"︱","‘":"﹃","’":"﹄","“":"﹁","”":"﹂","…":"︙","‧":"・","₩":"₩","、":"︑","。":"︒","〈":"︿","〉":"﹀","《":"︽","》":"︾","「":"﹁","」":"﹂","『":"﹃","』":"﹄","【":"︻","】":"︼","〔":"︹","〕":"︺","〖":"︗","〗":"︘","!":"︕","(":"︵",")":"︶",",":"︐","-":"︲",".":"・",":":"︓",";":"︔","<":"︿",">":"﹀","?":"︖","[":"﹇","]":"﹈","_":"︳","{":"︷","|":"―","}":"︸","⦅":"︵","⦆":"︶","。":"︒","「":"﹁","」":"﹂"},ss=24,J_=function(P,V,J,he,Ae){var Oe,Ge,it=8*Ae-he-1,pt=(1<>1,Dt=-7,Gt=J?Ae-1:0,Zt=J?-1:1,$t=P[V+Gt];for(Gt+=Zt,Oe=$t&(1<<-Dt)-1,$t>>=-Dt,Dt+=it;Dt>0;Oe=256*Oe+P[V+Gt],Gt+=Zt,Dt-=8);for(Ge=Oe&(1<<-Dt)-1,Oe>>=-Dt,Dt+=he;Dt>0;Ge=256*Ge+P[V+Gt],Gt+=Zt,Dt-=8);if(Oe===0)Oe=1-Ct;else{if(Oe===pt)return Ge?NaN:1/0*($t?-1:1);Ge+=Math.pow(2,he),Oe-=Ct}return($t?-1:1)*Ge*Math.pow(2,Oe-he)},Q_=function(P,V,J,he,Ae,Oe){var Ge,it,pt,Ct=8*Oe-Ae-1,Dt=(1<>1,Zt=Ae===23?Math.pow(2,-24)-Math.pow(2,-77):0,$t=he?0:Oe-1,fn=he?1:-1,Mn=V<0||V===0&&1/V<0?1:0;for(V=Math.abs(V),isNaN(V)||V===1/0?(it=isNaN(V)?1:0,Ge=Dt):(Ge=Math.floor(Math.log(V)/Math.LN2),V*(pt=Math.pow(2,-Ge))<1&&(Ge--,pt*=2),(V+=Ge+Gt>=1?Zt/pt:Zt*Math.pow(2,1-Gt))*pt>=2&&(Ge++,pt/=2),Ge+Gt>=Dt?(it=0,Ge=Dt):Ge+Gt>=1?(it=(V*pt-1)*Math.pow(2,Ae),Ge+=Gt):(it=V*Math.pow(2,Gt-1)*Math.pow(2,Ae),Ge=0));Ae>=8;P[J+$t]=255&it,$t+=fn,it/=256,Ae-=8);for(Ge=Ge<0;P[J+$t]=255&Ge,$t+=fn,Ge/=256,Ct-=8);P[J+$t-fn]|=128*Mn},_g=ba;function ba(P){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(P)?P:new Uint8Array(P||0),this.pos=0,this.type=0,this.length=this.buf.length}ba.Varint=0,ba.Fixed64=1,ba.Bytes=2,ba.Fixed32=5;var S1=4294967296,ew=1/S1,tw=typeof TextDecoder>"u"?null:new TextDecoder("utf8");function Fh(P){return P.type===ba.Bytes?P.readVarint()+P.pos:P.pos+1}function lp(P,V,J){return J?4294967296*V+(P>>>0):4294967296*(V>>>0)+(P>>>0)}function nw(P,V,J){var he=V<=16383?1:V<=2097151?2:V<=268435455?3:Math.floor(Math.log(V)/(7*Math.LN2));J.realloc(he);for(var Ae=J.pos-1;Ae>=P;Ae--)J.buf[Ae+he]=J.buf[Ae]}function fC(P,V){for(var J=0;J>>8,P[J+2]=V>>>16,P[J+3]=V>>>24}function rw(P,V){return(P[V]|P[V+1]<<8|P[V+2]<<16)+(P[V+3]<<24)}ba.prototype={destroy:function(){this.buf=null},readFields:function(P,V,J){for(J=J||this.length;this.pos>3,Oe=this.pos;this.type=7&he,P(Ae,V,this),this.pos===Oe&&this.skip(he)}return V},readMessage:function(P,V){return this.readFields(P,V,this.readVarint()+this.pos)},readFixed32:function(){var P=wg(this.buf,this.pos);return this.pos+=4,P},readSFixed32:function(){var P=rw(this.buf,this.pos);return this.pos+=4,P},readFixed64:function(){var P=wg(this.buf,this.pos)+wg(this.buf,this.pos+4)*S1;return this.pos+=8,P},readSFixed64:function(){var P=wg(this.buf,this.pos)+rw(this.buf,this.pos+4)*S1;return this.pos+=8,P},readFloat:function(){var P=J_(this.buf,this.pos,!0,23,4);return this.pos+=4,P},readDouble:function(){var P=J_(this.buf,this.pos,!0,52,8);return this.pos+=8,P},readVarint:function(P){var V,J,he=this.buf;return V=127&(J=he[this.pos++]),J<128?V:(V|=(127&(J=he[this.pos++]))<<7,J<128?V:(V|=(127&(J=he[this.pos++]))<<14,J<128?V:(V|=(127&(J=he[this.pos++]))<<21,J<128?V:function(Ae,Oe,Ge){var it,pt,Ct=Ge.buf;if(it=(112&(pt=Ct[Ge.pos++]))>>4,pt<128||(it|=(127&(pt=Ct[Ge.pos++]))<<3,pt<128)||(it|=(127&(pt=Ct[Ge.pos++]))<<10,pt<128)||(it|=(127&(pt=Ct[Ge.pos++]))<<17,pt<128)||(it|=(127&(pt=Ct[Ge.pos++]))<<24,pt<128)||(it|=(1&(pt=Ct[Ge.pos++]))<<31,pt<128))return lp(Ae,it,Oe);throw new Error("Expected varint not more than 10 bytes")}(V|=(15&(J=he[this.pos]))<<28,P,this))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var P=this.readVarint();return P%2==1?(P+1)/-2:P/2},readBoolean:function(){return!!this.readVarint()},readString:function(){var P=this.readVarint()+this.pos,V=this.pos;return this.pos=P,P-V>=12&&tw?function(J,he,Ae){return tw.decode(J.subarray(he,Ae))}(this.buf,V,P):function(J,he,Ae){for(var Oe="",Ge=he;Ge239?4:Dt>223?3:Dt>191?2:1;if(Ge+Zt>Ae)break;Zt===1?Dt<128&&(Gt=Dt):Zt===2?(192&(it=J[Ge+1]))==128&&(Gt=(31&Dt)<<6|63&it)<=127&&(Gt=null):Zt===3?(it=J[Ge+1],pt=J[Ge+2],(192&it)==128&&(192&pt)==128&&((Gt=(15&Dt)<<12|(63&it)<<6|63&pt)<=2047||Gt>=55296&&Gt<=57343)&&(Gt=null)):Zt===4&&(it=J[Ge+1],pt=J[Ge+2],Ct=J[Ge+3],(192&it)==128&&(192&pt)==128&&(192&Ct)==128&&((Gt=(15&Dt)<<18|(63&it)<<12|(63&pt)<<6|63&Ct)<=65535||Gt>=1114112)&&(Gt=null)),Gt===null?(Gt=65533,Zt=1):Gt>65535&&(Gt-=65536,Oe+=String.fromCharCode(Gt>>>10&1023|55296),Gt=56320|1023&Gt),Oe+=String.fromCharCode(Gt),Ge+=Zt}return Oe}(this.buf,V,P)},readBytes:function(){var P=this.readVarint()+this.pos,V=this.buf.subarray(this.pos,P);return this.pos=P,V},readPackedVarint:function(P,V){if(this.type!==ba.Bytes)return P.push(this.readVarint(V));var J=Fh(this);for(P=P||[];this.pos127;);else if(V===ba.Bytes)this.pos=this.readVarint()+this.pos;else if(V===ba.Fixed32)this.pos+=4;else{if(V!==ba.Fixed64)throw new Error("Unimplemented type: "+V);this.pos+=8}},writeTag:function(P,V){this.writeVarint(P<<3|V)},realloc:function(P){for(var V=this.length||16;V268435455||P<0?function(V,J){var he,Ae;if(V>=0?(he=V%4294967296|0,Ae=V/4294967296|0):(Ae=~(-V/4294967296),4294967295^(he=~(-V%4294967296))?he=he+1|0:(he=0,Ae=Ae+1|0)),V>=18446744073709552e3||V<-18446744073709552e3)throw new Error("Given varint doesn't fit into 10 bytes");J.realloc(10),function(Oe,Ge,it){it.buf[it.pos++]=127&Oe|128,Oe>>>=7,it.buf[it.pos++]=127&Oe|128,Oe>>>=7,it.buf[it.pos++]=127&Oe|128,Oe>>>=7,it.buf[it.pos++]=127&Oe|128,Oe>>>=7,it.buf[it.pos]=127&Oe}(he,0,J),function(Oe,Ge){var it=(7&Oe)<<4;Ge.buf[Ge.pos++]|=it|((Oe>>>=3)?128:0),Oe&&(Ge.buf[Ge.pos++]=127&Oe|((Oe>>>=7)?128:0),Oe&&(Ge.buf[Ge.pos++]=127&Oe|((Oe>>>=7)?128:0),Oe&&(Ge.buf[Ge.pos++]=127&Oe|((Oe>>>=7)?128:0),Oe&&(Ge.buf[Ge.pos++]=127&Oe|((Oe>>>=7)?128:0),Oe&&(Ge.buf[Ge.pos++]=127&Oe)))))}(Ae,J)}(P,this):(this.realloc(4),this.buf[this.pos++]=127&P|(P>127?128:0),P<=127||(this.buf[this.pos++]=127&(P>>>=7)|(P>127?128:0),P<=127||(this.buf[this.pos++]=127&(P>>>=7)|(P>127?128:0),P<=127||(this.buf[this.pos++]=P>>>7&127))))},writeSVarint:function(P){this.writeVarint(P<0?2*-P-1:2*P)},writeBoolean:function(P){this.writeVarint(!!P)},writeString:function(P){P=String(P),this.realloc(4*P.length),this.pos++;var V=this.pos;this.pos=function(he,Ae,Oe){for(var Ge,it,pt=0;pt55295&&Ge<57344){if(!it){Ge>56319||pt+1===Ae.length?(he[Oe++]=239,he[Oe++]=191,he[Oe++]=189):it=Ge;continue}if(Ge<56320){he[Oe++]=239,he[Oe++]=191,he[Oe++]=189,it=Ge;continue}Ge=it-55296<<10|Ge-56320|65536,it=null}else it&&(he[Oe++]=239,he[Oe++]=191,he[Oe++]=189,it=null);Ge<128?he[Oe++]=Ge:(Ge<2048?he[Oe++]=Ge>>6|192:(Ge<65536?he[Oe++]=Ge>>12|224:(he[Oe++]=Ge>>18|240,he[Oe++]=Ge>>12&63|128),he[Oe++]=Ge>>6&63|128),he[Oe++]=63&Ge|128)}return Oe}(this.buf,P,this.pos);var J=this.pos-V;J>=128&&nw(V,J,this),this.pos=V-1,this.writeVarint(J),this.pos+=J},writeFloat:function(P){this.realloc(4),Q_(this.buf,P,this.pos,!0,23,4),this.pos+=4},writeDouble:function(P){this.realloc(8),Q_(this.buf,P,this.pos,!0,52,8),this.pos+=8},writeBytes:function(P){var V=P.length;this.writeVarint(V),this.realloc(V);for(var J=0;J=128&&nw(J,he,this),this.pos=J-1,this.writeVarint(he),this.pos+=he},writeMessage:function(P,V,J){this.writeTag(P,ba.Bytes),this.writeRawMessage(V,J)},writePackedVarint:function(P,V){V.length&&this.writeMessage(P,fC,V)},writePackedSVarint:function(P,V){V.length&&this.writeMessage(P,dC,V)},writePackedBoolean:function(P,V){V.length&&this.writeMessage(P,gC,V)},writePackedFloat:function(P,V){V.length&&this.writeMessage(P,pC,V)},writePackedDouble:function(P,V){V.length&&this.writeMessage(P,mC,V)},writePackedFixed32:function(P,V){V.length&&this.writeMessage(P,vC,V)},writePackedSFixed32:function(P,V){V.length&&this.writeMessage(P,yC,V)},writePackedFixed64:function(P,V){V.length&&this.writeMessage(P,bC,V)},writePackedSFixed64:function(P,V){V.length&&this.writeMessage(P,xC,V)},writeBytesField:function(P,V){this.writeTag(P,ba.Bytes),this.writeBytes(V)},writeFixed32Field:function(P,V){this.writeTag(P,ba.Fixed32),this.writeFixed32(V)},writeSFixed32Field:function(P,V){this.writeTag(P,ba.Fixed32),this.writeSFixed32(V)},writeFixed64Field:function(P,V){this.writeTag(P,ba.Fixed64),this.writeFixed64(V)},writeSFixed64Field:function(P,V){this.writeTag(P,ba.Fixed64),this.writeSFixed64(V)},writeVarintField:function(P,V){this.writeTag(P,ba.Varint),this.writeVarint(V)},writeSVarintField:function(P,V){this.writeTag(P,ba.Varint),this.writeSVarint(V)},writeStringField:function(P,V){this.writeTag(P,ba.Bytes),this.writeString(V)},writeFloatField:function(P,V){this.writeTag(P,ba.Fixed32),this.writeFloat(V)},writeDoubleField:function(P,V){this.writeTag(P,ba.Fixed64),this.writeDouble(V)},writeBooleanField:function(P,V){this.writeVarintField(P,!!V)}};function _C(P,V,J){P===1&&J.readMessage(wC,V)}function wC(P,V,J){if(P===3){var he=J.readMessage(TC,{}),Ae=he.id,Oe=he.bitmap,Ge=he.width,it=he.height,pt=he.left,Ct=he.top,Dt=he.advance;V.push({id:Ae,bitmap:new sd({width:Ge+6,height:it+6},Oe),metrics:{width:Ge,height:it,left:pt,top:Ct,advance:Dt}})}}function TC(P,V,J){P===1?V.id=J.readVarint():P===2?V.bitmap=J.readBytes():P===3?V.width=J.readVarint():P===4?V.height=J.readVarint():P===5?V.left=J.readSVarint():P===6?V.top=J.readSVarint():P===7&&(V.advance=J.readVarint())}function iw(P){for(var V=0,J=0,he=0,Ae=P;he=0;Zt--){var $t=Ge[Zt];if(!(Gt.w>$t.w||Gt.h>$t.h)){if(Gt.x=$t.x,Gt.y=$t.y,pt=Math.max(pt,Gt.y+Gt.h),it=Math.max(it,Gt.x+Gt.w),Gt.w===$t.w&&Gt.h===$t.h){var fn=Ge.pop();Zt0&&hd>Ga&&(Ga=hd)}else{var Dg=pi[$i.fontStack],fd=Dg&&Dg[Ds];if(fd&&fd.rect)Ac=fd.rect,ks=fd.metrics;else{var zg=Di[$i.fontStack],U0=zg&&zg[Ds];if(!U0)continue;ks=U0.metrics}dl=(mi-$i.scale)*ss}Sc?(Kr.verticalizable=!0,ma.push({glyph:Ds,imageName:Vh,x:Ho,y:ls+dl,vertical:Sc,scale:$i.scale,fontStack:$i.fontStack,sectionIndex:Ja,metrics:ks,rect:Ac}),Ho+=qo*$i.scale+ya):(ma.push({glyph:Ds,imageName:Vh,x:Ho,y:ls+dl,vertical:Sc,scale:$i.scale,fontStack:$i.fontStack,sectionIndex:Ja,metrics:ks,rect:Ac}),Ho+=ks.advance*$i.scale+ya)}if(ma.length!==0){var B1=Ho-ya;Xo=Math.max(B1,Xo),MC(ma,0,ma.length-1,Ko,Ga)}Ho=0;var Fg=fa*mi+Ga;Ka.lineOffset=Math.max(Ga,Gi),ls+=Fg,Os=Math.max(Fg,Os),++Io}else ls+=fa,++Io}var yp=ls-kg,Bg=E1(xa),Ng=Bg.horizontalAlign,H0=Bg.verticalAlign;(function(N1,G0,dd,bp,Vg,jg,xp,Ug,Hg){var q0=(G0-dd)*Vg,W0=0;W0=jg!==xp?-Ug*bp-kg:(-bp*Hg+.5)*xp;for(var pd=0,Y0=N1;pd=0&&he>=P&&Ag[this.text.charCodeAt(he)];he--)J--;this.text=this.text.substring(P,J),this.sectionIndex=this.sectionIndex.slice(P,J)},Ts.prototype.substring=function(P,V){var J=new Ts;return J.text=this.text.substring(P,V),J.sectionIndex=this.sectionIndex.slice(P,V),J.sections=this.sections,J},Ts.prototype.toString=function(){return this.text},Ts.prototype.getMaxScale=function(){var P=this;return this.sectionIndex.reduce(function(V,J){return Math.max(V,P.sections[J].scale)},0)},Ts.prototype.addTextSection=function(P,V){this.text+=P.text,this.sections.push(cp.forText(P.scale,P.fontStack||V));for(var J=this.sections.length-1,he=0;he=63743?null:++this.imageSectionID:(this.imageSectionID=57344,this.imageSectionID)};var Ag={9:!0,10:!0,11:!0,12:!0,13:!0,32:!0},fl={};function aw(P,V,J,he,Ae,Oe){if(V.imageName){var Ge=he[V.imageName];return Ge?Ge.displaySize[0]*V.scale*ss/Oe+Ae:0}var it=J[V.fontStack],pt=it&&it[P];return pt?pt.metrics.advance*V.scale+Ae:0}function ow(P,V,J,he){var Ae=Math.pow(P-V,2);return he?P=0,Dt=0,Gt=0;Gt-J/2;){if(--Ge<0)return!1;it-=P[Ge].dist(Oe),Oe=P[Ge]}it+=P[Ge].dist(P[Ge+1]),Ge++;for(var pt=[],Ct=0;ithe;)Ct-=pt.shift().angleDelta;if(Ct>Ae)return!1;Ge++,it+=Gt.dist(Zt)}return!0}function dw(P){for(var V=0,J=0;JCt){var fn=(Ct-pt)/$t,Mn=zr(Gt.x,Zt.x,fn),Nn=zr(Gt.y,Zt.y,fn),Bn=new hp(Mn,Nn,Zt.angleTo(Gt),Dt);return Bn._round(),!Ge||fw(P,Bn,it,Ge,V)?Bn:void 0}pt+=$t}}function CC(P,V,J,he,Ae,Oe,Ge,it,pt){var Ct=pw(he,Oe,Ge),Dt=mw(he,Ae),Gt=Dt*Ge,Zt=P[0].x===0||P[0].x===pt||P[0].y===0||P[0].y===pt;return V-Gt=0&&er=0&&sr=0&&Zt+Ct<=Dt){var fr=new hp(er,sr,Wn,fn);fr._round(),he&&!fw(P,fr,Oe,he,Ae)||$t.push(fr)}}Gt+=Bn}return it||$t.length||Ge||($t=gw(P,Gt/2,J,he,Ae,Oe,Ge,!0,pt)),$t}function vw(P,V,J,he,Ae){for(var Oe=[],Ge=0;Ge=he&&Gt.x>=he||(Dt.x>=he?Dt=new a(he,Dt.y+(Gt.y-Dt.y)*((he-Dt.x)/(Gt.x-Dt.x)))._round():Gt.x>=he&&(Gt=new a(he,Dt.y+(Gt.y-Dt.y)*((he-Dt.x)/(Gt.x-Dt.x)))._round()),Dt.y>=Ae&&Gt.y>=Ae||(Dt.y>=Ae?Dt=new a(Dt.x+(Gt.x-Dt.x)*((Ae-Dt.y)/(Gt.y-Dt.y)),Ae)._round():Gt.y>=Ae&&(Gt=new a(Dt.x+(Gt.x-Dt.x)*((Ae-Dt.y)/(Gt.y-Dt.y)),Ae)._round()),pt&&Dt.equals(pt[pt.length-1])||(pt=[Dt],Oe.push(pt)),pt.push(Gt)))))}return Oe}function yw(P,V,J,he){var Ae=[],Oe=P.image,Ge=Oe.pixelRatio,it=Oe.paddedRect.w-2,pt=Oe.paddedRect.h-2,Ct=P.right-P.left,Dt=P.bottom-P.top,Gt=Oe.stretchX||[[0,it]],Zt=Oe.stretchY||[[0,pt]],$t=function(fa,xa){return fa+xa[1]-xa[0]},fn=Gt.reduce($t,0),Mn=Zt.reduce($t,0),Nn=it-fn,Bn=pt-Mn,Wn=0,Zn=fn,er=0,sr=Mn,fr=0,Pr=Nn,Tr=0,Nr=Bn;if(Oe.content&&he){var Xr=Oe.content;Wn=Sg(Gt,0,Xr[0]),er=Sg(Zt,0,Xr[1]),Zn=Sg(Gt,Xr[0],Xr[2]),sr=Sg(Zt,Xr[1],Xr[3]),fr=Xr[0]-Wn,Tr=Xr[1]-er,Pr=Xr[2]-Xr[0]-Zn,Nr=Xr[3]-Xr[1]-sr}var hi=function(fa,xa,Sa,Pa){var ya=Cg(fa.stretch-Wn,Zn,Ct,P.left),Mo=Eg(fa.fixed-fr,Pr,fa.stretch,fn),Va=Cg(xa.stretch-er,sr,Dt,P.top),Ho=Eg(xa.fixed-Tr,Nr,xa.stretch,Mn),ls=Cg(Sa.stretch-Wn,Zn,Ct,P.left),Xo=Eg(Sa.fixed-fr,Pr,Sa.stretch,fn),Os=Cg(Pa.stretch-er,sr,Dt,P.top),Ko=Eg(Pa.fixed-Tr,Nr,Pa.stretch,Mn),Io=new a(ya,Va),Jo=new a(ls,Va),Go=new a(ls,Os),Ro=new a(ya,Os),mi=new a(Mo/Ge,Ho/Ge),Gi=new a(Xo/Ge,Ko/Ge),Ka=V*Math.PI/180;if(Ka){var ma=Math.sin(Ka),Ga=Math.cos(Ka),Oa=[Ga,-ma,ma,Ga];Io._matMult(Oa),Jo._matMult(Oa),Ro._matMult(Oa),Go._matMult(Oa)}var $i=fa.stretch+fa.fixed,Ja=Sa.stretch+Sa.fixed,Ds=xa.stretch+xa.fixed,dl=Pa.stretch+Pa.fixed;return{tl:Io,tr:Jo,bl:Ro,br:Go,tex:{x:Oe.paddedRect.x+1+$i,y:Oe.paddedRect.y+1+Ds,w:Ja-$i,h:dl-Ds},writingMode:void 0,glyphOffset:[0,0],sectionIndex:0,pixelOffsetTL:mi,pixelOffsetBR:Gi,minFontScaleX:Pr/Ge/Ct,minFontScaleY:Nr/Ge/Dt,isSDF:J}};if(he&&(Oe.stretchX||Oe.stretchY))for(var Jr=bw(Gt,Nn,fn),ui=bw(Zt,Bn,Mn),ri=0;ri0&&($t=Math.max(10,$t),this.circleDiameter=$t)}else{var fn=Oe.top*Ge-it,Mn=Oe.bottom*Ge+it,Nn=Oe.left*Ge-it,Bn=Oe.right*Ge+it,Wn=Oe.collisionPadding;if(Wn&&(Nn-=Wn[0]*Ge,fn-=Wn[1]*Ge,Bn+=Wn[2]*Ge,Mn+=Wn[3]*Ge),Ct){var Zn=new a(Nn,fn),er=new a(Bn,fn),sr=new a(Nn,Mn),fr=new a(Bn,Mn),Pr=Ct*Math.PI/180;Zn._rotate(Pr),er._rotate(Pr),sr._rotate(Pr),fr._rotate(Pr),Nn=Math.min(Zn.x,er.x,sr.x,fr.x),Bn=Math.max(Zn.x,er.x,sr.x,fr.x),fn=Math.min(Zn.y,er.y,sr.y,fr.y),Mn=Math.max(Zn.y,er.y,sr.y,fr.y)}P.emplaceBack(V.x,V.y,Nn,fn,Bn,Mn,J,he,Ae)}this.boxEndIndex=P.length},fp=function(P,V){if(P===void 0&&(P=[]),V===void 0&&(V=EC),this.data=P,this.length=this.data.length,this.compare=V,this.length>0)for(var J=(this.length>>1)-1;J>=0;J--)this._down(J)};function EC(P,V){return PV?1:0}function LC(P,V,J){V===void 0&&(V=1),J===void 0&&(J=!1);for(var he=1/0,Ae=1/0,Oe=-1/0,Ge=-1/0,it=P[0],pt=0;ptOe)&&(Oe=Ct.x),(!pt||Ct.y>Ge)&&(Ge=Ct.y)}var Dt=Oe-he,Gt=Ge-Ae,Zt=Math.min(Dt,Gt),$t=Zt/2,fn=new fp([],IC);if(Zt===0)return new a(he,Ae);for(var Mn=he;MnBn.d||!Bn.d)&&(Bn=Zn,J&&console.log("found best %d after %d probes",Math.round(1e4*Zn.d)/1e4,Wn)),Zn.max-Bn.d<=V||($t=Zn.h/2,fn.push(new dp(Zn.p.x-$t,Zn.p.y-$t,$t,P)),fn.push(new dp(Zn.p.x+$t,Zn.p.y-$t,$t,P)),fn.push(new dp(Zn.p.x-$t,Zn.p.y+$t,$t,P)),fn.push(new dp(Zn.p.x+$t,Zn.p.y+$t,$t,P)),Wn+=4)}return J&&(console.log("num probes: "+Wn),console.log("best distance: "+Bn.d)),Bn.p}function IC(P,V){return V.max-P.max}function dp(P,V,J,he){this.p=new a(P,V),this.h=J,this.d=function(Ae,Oe){for(var Ge=!1,it=1/0,pt=0;ptAe.y!=fn.y>Ae.y&&Ae.x<(fn.x-$t.x)*(Ae.y-$t.y)/(fn.y-$t.y)+$t.x&&(Ge=!Ge),it=Math.min(it,fg(Ae,$t,fn))}return(Ge?1:-1)*Math.sqrt(it)}(this.p,he),this.max=this.d+this.h*Math.SQRT2}fp.prototype.push=function(P){this.data.push(P),this.length++,this._up(this.length-1)},fp.prototype.pop=function(){if(this.length!==0){var P=this.data[0],V=this.data.pop();return this.length--,this.length>0&&(this.data[0]=V,this._down(0)),P}},fp.prototype.peek=function(){return this.data[0]},fp.prototype._up=function(P){for(var V=this.data,J=this.compare,he=V[P];P>0;){var Ae=P-1>>1,Oe=V[Ae];if(J(he,Oe)>=0)break;V[P]=Oe,P=Ae}V[P]=he},fp.prototype._down=function(P){for(var V=this.data,J=this.compare,he=this.length>>1,Ae=V[P];P=0)break;V[P]=Ge,P=Oe}V[P]=Ae};var I1=Number.POSITIVE_INFINITY;function xw(P,V){return V[1]!==I1?function(J,he,Ae){var Oe=0,Ge=0;switch(he=Math.abs(he),Ae=Math.abs(Ae),J){case"top-right":case"top-left":case"top":Ge=Ae-7;break;case"bottom-right":case"bottom-left":case"bottom":Ge=7-Ae}switch(J){case"top-right":case"bottom-right":case"right":Oe=-he;break;case"top-left":case"bottom-left":case"left":Oe=he}return[Oe,Ge]}(P,V[0],V[1]):function(J,he){var Ae=0,Oe=0;he<0&&(he=0);var Ge=he/Math.sqrt(2);switch(J){case"top-right":case"top-left":Oe=Ge-7;break;case"bottom-right":case"bottom-left":Oe=7-Ge;break;case"bottom":Oe=7-he;break;case"top":Oe=he-7}switch(J){case"top-right":case"bottom-right":Ae=-Ge;break;case"top-left":case"bottom-left":Ae=Ge;break;case"left":Ae=he;break;case"right":Ae=-he}return[Ae,Oe]}(P,V[0])}function R1(P){switch(P){case"right":case"top-right":case"bottom-right":return"right";case"left":case"top-left":case"bottom-left":return"left"}return"center"}var kf=32640;function _w(P,V,J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn){var Mn=function(er,sr,fr,Pr,Tr,Nr,Xr,hi){for(var Jr=Pr.layout.get("text-rotate").evaluate(Nr,{})*Math.PI/180,ui=[],ri=0,Kr=sr.positionedLines;rikf&&R(P.layerIds[0]+': Value for "text-size" is >= 255. Reduce your "text-size".'):Nn.kind==="composite"&&((Bn=[Jc*$t.compositeTextSizes[0].evaluate(Ge,{},fn),Jc*$t.compositeTextSizes[1].evaluate(Ge,{},fn)])[0]>kf||Bn[1]>kf)&&R(P.layerIds[0]+': Value for "text-size" is >= 255. Reduce your "text-size".'),P.addSymbols(P.text,Mn,Bn,it,Oe,Ge,Ct,V,pt.lineStartIndex,pt.lineLength,Zt,fn);for(var Wn=0,Zn=Dt;Wn=0;Ge--)if(he.dist(Oe[Ge])0)&&(Oe.value.kind!=="constant"||Oe.value.value.length>0),Ct=it.value.kind!=="constant"||!!it.value.value||Object.keys(it.parameters).length>0,Dt=Ae.get("symbol-sort-key");if(this.features=[],pt||Ct){for(var Gt=V.iconDependencies,Zt=V.glyphDependencies,$t=V.availableImages,fn=new Wi(this.zoom),Mn=0,Nn=P;Mn=0;for(var pi=0,va=Tr.sections;pi=0;it--)Oe[it]={x:V[it].x,y:V[it].y,tileUnitDistanceFromAnchor:Ae},it>0&&(Ae+=V[it-1].dist(V[it]));for(var pt=0;pt0},ha.prototype.hasIconData=function(){return this.icon.segments.get().length>0},ha.prototype.hasDebugData=function(){return this.textCollisionBox&&this.iconCollisionBox},ha.prototype.hasTextCollisionBoxData=function(){return this.hasDebugData()&&this.textCollisionBox.segments.get().length>0},ha.prototype.hasIconCollisionBoxData=function(){return this.hasDebugData()&&this.iconCollisionBox.segments.get().length>0},ha.prototype.addIndicesForPlacedSymbol=function(P,V){for(var J=P.placedSymbolArray.get(V),he=J.vertexStartIndex+4*J.numGlyphs,Ae=J.vertexStartIndex;Ae1||this.icon.segments.get().length>1)){this.symbolInstanceIndexes=this.getSortedSymbolIndexes(P),this.sortedAngle=P,this.text.indexArray.clear(),this.icon.indexArray.clear(),this.featureSortOrder=[];for(var J=0,he=this.symbolInstanceIndexes;J=0&&pt.indexOf(Ge)===it&&V.addIndicesForPlacedSymbol(V.text,Ge)}),Oe.verticalPlacedTextSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.text,Oe.verticalPlacedTextSymbolIndex),Oe.placedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,Oe.placedIconSymbolIndex),Oe.verticalPlacedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,Oe.verticalPlacedIconSymbolIndex)}this.text.indexBuffer&&this.text.indexBuffer.updateData(this.text.indexArray),this.icon.indexBuffer&&this.icon.indexBuffer.updateData(this.icon.indexArray)}},Dr("SymbolBucket",ha,{omit:["layers","collisionBoxArray","features","compareText"]}),ha.MAX_GLYPHS=65535,ha.addDynamicAttributes=P1;var zC=new xo({"symbol-placement":new Hr(Re.layout_symbol["symbol-placement"]),"symbol-spacing":new Hr(Re.layout_symbol["symbol-spacing"]),"symbol-avoid-edges":new Hr(Re.layout_symbol["symbol-avoid-edges"]),"symbol-sort-key":new ni(Re.layout_symbol["symbol-sort-key"]),"symbol-z-order":new Hr(Re.layout_symbol["symbol-z-order"]),"icon-allow-overlap":new Hr(Re.layout_symbol["icon-allow-overlap"]),"icon-ignore-placement":new Hr(Re.layout_symbol["icon-ignore-placement"]),"icon-optional":new Hr(Re.layout_symbol["icon-optional"]),"icon-rotation-alignment":new Hr(Re.layout_symbol["icon-rotation-alignment"]),"icon-size":new ni(Re.layout_symbol["icon-size"]),"icon-text-fit":new Hr(Re.layout_symbol["icon-text-fit"]),"icon-text-fit-padding":new Hr(Re.layout_symbol["icon-text-fit-padding"]),"icon-image":new ni(Re.layout_symbol["icon-image"]),"icon-rotate":new ni(Re.layout_symbol["icon-rotate"]),"icon-padding":new Hr(Re.layout_symbol["icon-padding"]),"icon-keep-upright":new Hr(Re.layout_symbol["icon-keep-upright"]),"icon-offset":new ni(Re.layout_symbol["icon-offset"]),"icon-anchor":new ni(Re.layout_symbol["icon-anchor"]),"icon-pitch-alignment":new Hr(Re.layout_symbol["icon-pitch-alignment"]),"text-pitch-alignment":new Hr(Re.layout_symbol["text-pitch-alignment"]),"text-rotation-alignment":new Hr(Re.layout_symbol["text-rotation-alignment"]),"text-field":new ni(Re.layout_symbol["text-field"]),"text-font":new ni(Re.layout_symbol["text-font"]),"text-size":new ni(Re.layout_symbol["text-size"]),"text-max-width":new ni(Re.layout_symbol["text-max-width"]),"text-line-height":new Hr(Re.layout_symbol["text-line-height"]),"text-letter-spacing":new ni(Re.layout_symbol["text-letter-spacing"]),"text-justify":new ni(Re.layout_symbol["text-justify"]),"text-radial-offset":new ni(Re.layout_symbol["text-radial-offset"]),"text-variable-anchor":new Hr(Re.layout_symbol["text-variable-anchor"]),"text-anchor":new ni(Re.layout_symbol["text-anchor"]),"text-max-angle":new Hr(Re.layout_symbol["text-max-angle"]),"text-writing-mode":new Hr(Re.layout_symbol["text-writing-mode"]),"text-rotate":new ni(Re.layout_symbol["text-rotate"]),"text-padding":new Hr(Re.layout_symbol["text-padding"]),"text-keep-upright":new Hr(Re.layout_symbol["text-keep-upright"]),"text-transform":new ni(Re.layout_symbol["text-transform"]),"text-offset":new ni(Re.layout_symbol["text-offset"]),"text-allow-overlap":new Hr(Re.layout_symbol["text-allow-overlap"]),"text-ignore-placement":new Hr(Re.layout_symbol["text-ignore-placement"]),"text-optional":new Hr(Re.layout_symbol["text-optional"])}),O1={paint:new xo({"icon-opacity":new ni(Re.paint_symbol["icon-opacity"]),"icon-color":new ni(Re.paint_symbol["icon-color"]),"icon-halo-color":new ni(Re.paint_symbol["icon-halo-color"]),"icon-halo-width":new ni(Re.paint_symbol["icon-halo-width"]),"icon-halo-blur":new ni(Re.paint_symbol["icon-halo-blur"]),"icon-translate":new Hr(Re.paint_symbol["icon-translate"]),"icon-translate-anchor":new Hr(Re.paint_symbol["icon-translate-anchor"]),"text-opacity":new ni(Re.paint_symbol["text-opacity"]),"text-color":new ni(Re.paint_symbol["text-color"],{runtimeType:Nt,getOverride:function(P){return P.textColor},hasOverride:function(P){return!!P.textColor}}),"text-halo-color":new ni(Re.paint_symbol["text-halo-color"]),"text-halo-width":new ni(Re.paint_symbol["text-halo-width"]),"text-halo-blur":new ni(Re.paint_symbol["text-halo-blur"]),"text-translate":new Hr(Re.paint_symbol["text-translate"]),"text-translate-anchor":new Hr(Re.paint_symbol["text-translate-anchor"])}),layout:zC},mp=function(P){this.type=P.property.overrides?P.property.overrides.runtimeType:yt,this.defaultValue=P};mp.prototype.evaluate=function(P){if(P.formattedSection){var V=this.defaultValue.property.overrides;if(V&&V.hasOverride(P.formattedSection))return V.getOverride(P.formattedSection)}return P.feature&&P.featureState?this.defaultValue.evaluate(P.feature,P.featureState):this.defaultValue.property.specification.default},mp.prototype.eachChild=function(P){this.defaultValue.isConstant()||P(this.defaultValue.value._styleExpression.expression)},mp.prototype.outputDefined=function(){return!1},mp.prototype.serialize=function(){return null},Dr("FormatSectionOverride",mp,{omit:["defaultValue"]});var FC=function(P){function V(J){P.call(this,J,O1)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.recalculate=function(J,he){if(P.prototype.recalculate.call(this,J,he),this.layout.get("icon-rotation-alignment")==="auto"&&(this.layout.get("symbol-placement")!=="point"?this.layout._values["icon-rotation-alignment"]="map":this.layout._values["icon-rotation-alignment"]="viewport"),this.layout.get("text-rotation-alignment")==="auto"&&(this.layout.get("symbol-placement")!=="point"?this.layout._values["text-rotation-alignment"]="map":this.layout._values["text-rotation-alignment"]="viewport"),this.layout.get("text-pitch-alignment")==="auto"&&(this.layout._values["text-pitch-alignment"]=this.layout.get("text-rotation-alignment")),this.layout.get("icon-pitch-alignment")==="auto"&&(this.layout._values["icon-pitch-alignment"]=this.layout.get("icon-rotation-alignment")),this.layout.get("symbol-placement")==="point"){var Ae=this.layout.get("text-writing-mode");if(Ae){for(var Oe=[],Ge=0,it=Ae;Ge",targetMapId:he,sourceMapId:Oe.mapId})}}},gp.prototype.receive=function(P){var V=P.data,J=V.id;if(J&&(!V.targetMapId||this.mapId===V.targetMapId))if(V.type===""){delete this.tasks[J];var he=this.cancelCallbacks[J];delete this.cancelCallbacks[J],he&&he()}else z()||V.mustQueue?(this.tasks[J]=V,this.taskQueue.push(J),this.invoker.trigger()):this.processTask(J,V)},gp.prototype.process=function(){if(this.taskQueue.length){var P=this.taskQueue.shift(),V=this.tasks[P];delete this.tasks[P],this.taskQueue.length&&this.invoker.trigger(),V&&this.processTask(P,V)}},gp.prototype.processTask=function(P,V){var J=this;if(V.type===""){var he=this.callbacks[P];delete this.callbacks[P],he&&(V.error?he(Fu(V.error)):he(null,Fu(V.data)))}else{var Ae=!1,Oe=N(this.globalScope)?void 0:[],Ge=V.hasCallback?function(Dt,Gt){Ae=!0,delete J.cancelCallbacks[P],J.target.postMessage({id:P,type:"",sourceMapId:J.mapId,error:Dt?zu(Dt):null,data:zu(Gt,Oe)},Oe)}:function(Dt){Ae=!0},it=null,pt=Fu(V.data);if(this.parent[V.type])it=this.parent[V.type](V.sourceMapId,pt,Ge);else if(this.parent.getWorkerSource){var Ct=V.type.split(".");it=this.parent.getWorkerSource(V.sourceMapId,Ct[0],pt.source)[Ct[1]](pt,Ge)}else Ge(new Error("Could not find function "+V.type));!Ae&&it&&it.cancel&&(this.cancelCallbacks[P]=it.cancel)}},gp.prototype.remove=function(){this.invoker.remove(),this.target.removeEventListener("message",this.receive,!1)};var To=function(P,V){P&&(V?this.setSouthWest(P).setNorthEast(V):P.length===4?this.setSouthWest([P[0],P[1]]).setNorthEast([P[2],P[3]]):this.setSouthWest(P[0]).setNorthEast(P[1]))};To.prototype.setNorthEast=function(P){return this._ne=P instanceof Ra?new Ra(P.lng,P.lat):Ra.convert(P),this},To.prototype.setSouthWest=function(P){return this._sw=P instanceof Ra?new Ra(P.lng,P.lat):Ra.convert(P),this},To.prototype.extend=function(P){var V,J,he=this._sw,Ae=this._ne;if(P instanceof Ra)V=P,J=P;else{if(!(P instanceof To)){if(Array.isArray(P)){if(P.length===4||P.every(Array.isArray)){var Oe=P;return this.extend(To.convert(Oe))}var Ge=P;return this.extend(Ra.convert(Ge))}return this}if(V=P._sw,J=P._ne,!V||!J)return this}return he||Ae?(he.lng=Math.min(V.lng,he.lng),he.lat=Math.min(V.lat,he.lat),Ae.lng=Math.max(J.lng,Ae.lng),Ae.lat=Math.max(J.lat,Ae.lat)):(this._sw=new Ra(V.lng,V.lat),this._ne=new Ra(J.lng,J.lat)),this},To.prototype.getCenter=function(){return new Ra((this._sw.lng+this._ne.lng)/2,(this._sw.lat+this._ne.lat)/2)},To.prototype.getSouthWest=function(){return this._sw},To.prototype.getNorthEast=function(){return this._ne},To.prototype.getNorthWest=function(){return new Ra(this.getWest(),this.getNorth())},To.prototype.getSouthEast=function(){return new Ra(this.getEast(),this.getSouth())},To.prototype.getWest=function(){return this._sw.lng},To.prototype.getSouth=function(){return this._sw.lat},To.prototype.getEast=function(){return this._ne.lng},To.prototype.getNorth=function(){return this._ne.lat},To.prototype.toArray=function(){return[this._sw.toArray(),this._ne.toArray()]},To.prototype.toString=function(){return"LngLatBounds("+this._sw.toString()+", "+this._ne.toString()+")"},To.prototype.isEmpty=function(){return!(this._sw&&this._ne)},To.prototype.contains=function(P){var V=Ra.convert(P),J=V.lng,he=V.lat,Ae=this._sw.lat<=he&&he<=this._ne.lat,Oe=this._sw.lng<=J&&J<=this._ne.lng;return this._sw.lng>this._ne.lng&&(Oe=this._sw.lng>=J&&J>=this._ne.lng),Ae&&Oe},To.convert=function(P){return!P||P instanceof To?P:new To(P)};var Cw=63710088e-1,Ra=function(P,V){if(isNaN(P)||isNaN(V))throw new Error("Invalid LngLat object: ("+P+", "+V+")");if(this.lng=+P,this.lat=+V,this.lat>90||this.lat<-90)throw new Error("Invalid LngLat latitude value: must be between -90 and 90")};Ra.prototype.wrap=function(){return new Ra(h(this.lng,-180,180),this.lat)},Ra.prototype.toArray=function(){return[this.lng,this.lat]},Ra.prototype.toString=function(){return"LngLat("+this.lng+", "+this.lat+")"},Ra.prototype.distanceTo=function(P){var V=Math.PI/180,J=this.lat*V,he=P.lat*V,Ae=Math.sin(J)*Math.sin(he)+Math.cos(J)*Math.cos(he)*Math.cos((P.lng-this.lng)*V);return Cw*Math.acos(Math.min(Ae,1))},Ra.prototype.toBounds=function(P){P===void 0&&(P=0);var V=360*P/40075017,J=V/Math.cos(Math.PI/180*this.lat);return new To(new Ra(this.lng-J,this.lat-V),new Ra(this.lng+J,this.lat+V))},Ra.convert=function(P){if(P instanceof Ra)return P;if(Array.isArray(P)&&(P.length===2||P.length===3))return new Ra(Number(P[0]),Number(P[1]));if(!Array.isArray(P)&&typeof P=="object"&&P!==null)return new Ra(Number("lng"in P?P.lng:P.lon),Number(P.lat));throw new Error("`LngLatLike` argument must be specified as a LngLat instance, an object {lng: , lat: }, an object {lon: , lat: }, or an array of [, ]")};var Ew=2*Math.PI*Cw;function Lw(P){return Ew*Math.cos(P*Math.PI/180)}function Iw(P){return(180+P)/360}function Rw(P){return(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+P*Math.PI/360)))/360}function Pw(P,V){return P/Lw(V)}function z1(P){var V=180-360*P;return 360/Math.PI*Math.atan(Math.exp(V*Math.PI/180))-90}var ud=function(P,V,J){J===void 0&&(J=0),this.x=+P,this.y=+V,this.z=+J};ud.fromLngLat=function(P,V){V===void 0&&(V=0);var J=Ra.convert(P);return new ud(Iw(J.lng),Rw(J.lat),Pw(V,J.lat))},ud.prototype.toLngLat=function(){return new Ra(360*this.x-180,z1(this.y))},ud.prototype.toAltitude=function(){return P=this.z,V=this.y,P*Lw(z1(V));var P,V},ud.prototype.meterInMercatorCoordinateUnits=function(){return 1/Ew*(P=z1(this.y),1/Math.cos(P*Math.PI/180));var P};var cd=function(P,V,J){this.z=P,this.x=V,this.y=J,this.key=j0(0,P,P,V,J)};cd.prototype.equals=function(P){return this.z===P.z&&this.x===P.x&&this.y===P.y},cd.prototype.url=function(P,V){var J,he,Ae,Oe,Ge,it=(J=this.x,he=this.y,Ae=this.z,Oe=Sw(256*J,256*(he=Math.pow(2,Ae)-he-1),Ae),Ge=Sw(256*(J+1),256*(he+1),Ae),Oe[0]+","+Oe[1]+","+Ge[0]+","+Ge[1]),pt=function(Ct,Dt,Gt){for(var Zt,$t="",fn=Ct;fn>0;fn--)$t+=(Dt&(Zt=1<this.canonical.z?new ko(P,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y):new ko(P,this.wrap,P,this.canonical.x>>V,this.canonical.y>>V)},ko.prototype.calculateScaledKey=function(P,V){var J=this.canonical.z-P;return P>this.canonical.z?j0(this.wrap*+V,P,this.canonical.z,this.canonical.x,this.canonical.y):j0(this.wrap*+V,P,P,this.canonical.x>>J,this.canonical.y>>J)},ko.prototype.isChildOf=function(P){if(P.wrap!==this.wrap)return!1;var V=this.canonical.z-P.canonical.z;return P.overscaledZ===0||P.overscaledZ>V&&P.canonical.y===this.canonical.y>>V},ko.prototype.children=function(P){if(this.overscaledZ>=P)return[new ko(this.overscaledZ+1,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)];var V=this.canonical.z+1,J=2*this.canonical.x,he=2*this.canonical.y;return[new ko(V,this.wrap,V,J,he),new ko(V,this.wrap,V,J+1,he),new ko(V,this.wrap,V,J,he+1),new ko(V,this.wrap,V,J+1,he+1)]},ko.prototype.isLessThan=function(P){return this.wrapP.wrap)&&(this.overscaledZP.overscaledZ)&&(this.canonical.xP.canonical.x)&&this.canonical.y=this.dim+1||V<-1||V>=this.dim+1)throw new RangeError("out of range source coordinates for DEM data");return(V+1)*this.stride+(P+1)},Bh.prototype._unpackMapbox=function(P,V,J){return(256*P*256+256*V+J)/10-1e4},Bh.prototype._unpackTerrarium=function(P,V,J){return 256*P+V+J/256-32768},Bh.prototype.getPixels=function(){return new Ws({width:this.stride,height:this.stride},new Uint8Array(this.data.buffer))},Bh.prototype.backfillBorder=function(P,V,J){if(this.dim!==P.dim)throw new Error("dem dimension mismatch");var he=V*this.dim,Ae=V*this.dim+this.dim,Oe=J*this.dim,Ge=J*this.dim+this.dim;switch(V){case-1:he=Ae-1;break;case 1:Ae=he+1}switch(J){case-1:Oe=Ge-1;break;case 1:Ge=Oe+1}for(var it=-V*this.dim,pt=-J*this.dim,Ct=Oe;Ct=0&&Dt[3]>=0&&it.insert(Ge,Dt[0],Dt[1],Dt[2],Dt[3])}},Nh.prototype.loadVTLayers=function(){return this.vtLayers||(this.vtLayers=new sp.VectorTile(new _g(this.rawTileData)).layers,this.sourceLayerCoder=new Pg(this.vtLayers?Object.keys(this.vtLayers).sort():["_geojsonTileLayer"])),this.vtLayers},Nh.prototype.query=function(P,V,J,he){var Ae=this;this.loadVTLayers();for(var Oe=P.params||{},Ge=li/P.tileSize/P.scale,it=_c(Oe.filter),pt=P.queryGeometry,Ct=P.queryPadding*Ge,Dt=zw(pt),Gt=this.grid.query(Dt.minX-Ct,Dt.minY-Ct,Dt.maxX+Ct,Dt.maxY+Ct),Zt=zw(P.cameraQueryGeometry),$t=0,fn=this.grid3D.query(Zt.minX-Ct,Zt.minY-Ct,Zt.maxX+Ct,Zt.maxY+Ct,function(er,sr,fr,Pr){return function(Tr,Nr,Xr,hi,Jr){for(var ui=0,ri=Tr;ui=Kr.x&&Jr>=Kr.y)return!0}var Di=[new a(Nr,Xr),new a(Nr,Jr),new a(hi,Jr),new a(hi,Xr)];if(Tr.length>2){for(var pi=0,va=Di;pi=0)return!0;return!1}(Oe,Gt)){var Zt=this.sourceLayerCoder.decode(J),$t=this.vtLayers[Zt].feature(he);if(Ae.filter(new Wi(this.tileID.overscaledZ),$t))for(var fn=this.getId($t,Zt),Mn=0;Mnhe)Ae=!1;else if(V)if(this.expirationTimege&&(P.getActor().send("enforceCacheSizeLimit",je),st=0)},i.clamp=c,i.clearTileCache=function(P){var V=self.caches.delete(ze);P&&V.catch(P).then(function(){return P()})},i.clipLine=vw,i.clone=function(P){var V=new zl(16);return V[0]=P[0],V[1]=P[1],V[2]=P[2],V[3]=P[3],V[4]=P[4],V[5]=P[5],V[6]=P[6],V[7]=P[7],V[8]=P[8],V[9]=P[9],V[10]=P[10],V[11]=P[11],V[12]=P[12],V[13]=P[13],V[14]=P[14],V[15]=P[15],V},i.clone$1=L,i.clone$2=function(P){var V=new zl(3);return V[0]=P[0],V[1]=P[1],V[2]=P[2],V},i.collisionCircleLayout=cC,i.config=Z,i.create=function(){var P=new zl(16);return zl!=Float32Array&&(P[1]=0,P[2]=0,P[3]=0,P[4]=0,P[6]=0,P[7]=0,P[8]=0,P[9]=0,P[11]=0,P[12]=0,P[13]=0,P[14]=0),P[0]=1,P[5]=1,P[10]=1,P[15]=1,P},i.create$1=function(){var P=new zl(9);return zl!=Float32Array&&(P[1]=0,P[2]=0,P[3]=0,P[5]=0,P[6]=0,P[7]=0),P[0]=1,P[4]=1,P[8]=1,P},i.create$2=function(){var P=new zl(4);return zl!=Float32Array&&(P[1]=0,P[2]=0),P[0]=1,P[3]=1,P},i.createCommonjsModule=M,i.createExpression=mc,i.createLayout=la,i.createStyleLayer=function(P){return P.type==="custom"?new UC(P):new HC[P.type](P)},i.cross=function(P,V,J){var he=V[0],Ae=V[1],Oe=V[2],Ge=J[0],it=J[1],pt=J[2];return P[0]=Ae*pt-Oe*it,P[1]=Oe*Ge-he*pt,P[2]=he*it-Ae*Ge,P},i.deepEqual=function P(V,J){if(Array.isArray(V)){if(!Array.isArray(J)||V.length!==J.length)return!1;for(var he=0;he0&&(Oe=1/Math.sqrt(Oe)),P[0]=V[0]*Oe,P[1]=V[1]*Oe,P[2]=V[2]*Oe,P},i.number=zr,i.offscreenCanvasSupported=ot,i.ortho=function(P,V,J,he,Ae,Oe,Ge){var it=1/(V-J),pt=1/(he-Ae),Ct=1/(Oe-Ge);return P[0]=-2*it,P[1]=0,P[2]=0,P[3]=0,P[4]=0,P[5]=-2*pt,P[6]=0,P[7]=0,P[8]=0,P[9]=0,P[10]=2*Ct,P[11]=0,P[12]=(V+J)*it,P[13]=(Ae+he)*pt,P[14]=(Ge+Oe)*Ct,P[15]=1,P},i.parseGlyphPBF=function(P){return new _g(P).readFields(_C,[])},i.pbf=_g,i.performSymbolLayout=function(P,V,J,he,Ae,Oe,Ge){P.createArrays();var it=512*P.overscaling;P.tilePixelRatio=li/it,P.compareText={},P.iconsNeedLinear=!1;var pt=P.layers[0].layout,Ct=P.layers[0]._unevaluatedLayout._values,Dt={};if(P.textSizeData.kind==="composite"){var Gt=P.textSizeData,Zt=Gt.minZoom,$t=Gt.maxZoom;Dt.compositeTextSizes=[Ct["text-size"].possiblyEvaluate(new Wi(Zt),Ge),Ct["text-size"].possiblyEvaluate(new Wi($t),Ge)]}if(P.iconSizeData.kind==="composite"){var fn=P.iconSizeData,Mn=fn.minZoom,Nn=fn.maxZoom;Dt.compositeIconSizes=[Ct["icon-size"].possiblyEvaluate(new Wi(Mn),Ge),Ct["icon-size"].possiblyEvaluate(new Wi(Nn),Ge)]}Dt.layoutTextSize=Ct["text-size"].possiblyEvaluate(new Wi(P.zoom+1),Ge),Dt.layoutIconSize=Ct["icon-size"].possiblyEvaluate(new Wi(P.zoom+1),Ge),Dt.textMaxSize=Ct["text-size"].possiblyEvaluate(new Wi(18));for(var Bn=pt.get("text-line-height")*ss,Wn=pt.get("text-rotation-alignment")==="map"&&pt.get("symbol-placement")!=="point",Zn=pt.get("text-keep-upright"),er=pt.get("text-size"),sr=function(){var Tr=Pr[fr],Nr=pt.get("text-font").evaluate(Tr,{},Ge).join(","),Xr=er.evaluate(Tr,{},Ge),hi=Dt.layoutTextSize.evaluate(Tr,{},Ge),Jr=Dt.layoutIconSize.evaluate(Tr,{},Ge),ui={horizontal:{},vertical:void 0},ri=Tr.text,Kr=[0,0];if(ri){var Di=ri.toString(),pi=pt.get("text-letter-spacing").evaluate(Tr,{},Ge)*ss,va=function(mi){for(var Gi=0,Ka=mi;Gi=li||X0.y<0||X0.y>=li||function(ro,Cc,WC,Af,q1,Uw,Gg,Qc,qg,K0,Wg,Yg,W1,Hw,J0,Gw,qw,Ww,Yw,$w,Bl,$g,Zw,eh,YC){var Xw,gd,_p,wp,Tp,kp=ro.addToLineVertexArray(Cc,WC),Kw=0,Jw=0,Qw=0,e3=0,Y1=-1,$1=-1,jh={},t3=Fn(""),Z1=0,X1=0;if(Qc._unevaluatedLayout.getValue("text-radial-offset")===void 0?(Z1=(Xw=Qc.layout.get("text-offset").evaluate(Bl,{},eh).map(function(em){return em*ss}))[0],X1=Xw[1]):(Z1=Qc.layout.get("text-radial-offset").evaluate(Bl,{},eh)*ss,X1=I1),ro.allowVerticalPlacement&&Af.vertical){var n3=Qc.layout.get("text-rotate").evaluate(Bl,{},eh)+90,$C=Af.vertical;wp=new Lg(qg,Cc,K0,Wg,Yg,$C,W1,Hw,J0,n3),Gg&&(Tp=new Lg(qg,Cc,K0,Wg,Yg,Gg,qw,Ww,J0,n3))}if(q1){var K1=Qc.layout.get("icon-rotate").evaluate(Bl,{}),r3=Qc.layout.get("icon-text-fit")!=="none",i3=yw(q1,K1,Zw,r3),J1=Gg?yw(Gg,K1,Zw,r3):void 0;_p=new Lg(qg,Cc,K0,Wg,Yg,q1,qw,Ww,!1,K1),Kw=4*i3.length;var a3=ro.iconSizeData,Q0=null;a3.kind==="source"?(Q0=[Jc*Qc.layout.get("icon-size").evaluate(Bl,{})])[0]>kf&&R(ro.layerIds[0]+': Value for "icon-size" is >= 255. Reduce your "icon-size".'):a3.kind==="composite"&&((Q0=[Jc*$g.compositeIconSizes[0].evaluate(Bl,{},eh),Jc*$g.compositeIconSizes[1].evaluate(Bl,{},eh)])[0]>kf||Q0[1]>kf)&&R(ro.layerIds[0]+': Value for "icon-size" is >= 255. Reduce your "icon-size".'),ro.addSymbols(ro.icon,i3,Q0,$w,Yw,Bl,!1,Cc,kp.lineStartIndex,kp.lineLength,-1,eh),Y1=ro.icon.placedSymbolArray.length-1,J1&&(Jw=4*J1.length,ro.addSymbols(ro.icon,J1,Q0,$w,Yw,Bl,Fl.vertical,Cc,kp.lineStartIndex,kp.lineLength,-1,eh),$1=ro.icon.placedSymbolArray.length-1)}for(var o3 in Af.horizontal){var Zg=Af.horizontal[o3];if(!gd){t3=Fn(Zg.text);var ZC=Qc.layout.get("text-rotate").evaluate(Bl,{},eh);gd=new Lg(qg,Cc,K0,Wg,Yg,Zg,W1,Hw,J0,ZC)}var s3=Zg.positionedLines.length===1;if(Qw+=_w(ro,Cc,Zg,Uw,Qc,J0,Bl,Gw,kp,Af.vertical?Fl.horizontal:Fl.horizontalOnly,s3?Object.keys(Af.horizontal):[o3],jh,Y1,$g,eh),s3)break}Af.vertical&&(e3+=_w(ro,Cc,Af.vertical,Uw,Qc,J0,Bl,Gw,kp,Fl.vertical,["vertical"],jh,$1,$g,eh));var XC=gd?gd.boxStartIndex:ro.collisionBoxArray.length,KC=gd?gd.boxEndIndex:ro.collisionBoxArray.length,JC=wp?wp.boxStartIndex:ro.collisionBoxArray.length,QC=wp?wp.boxEndIndex:ro.collisionBoxArray.length,e8=_p?_p.boxStartIndex:ro.collisionBoxArray.length,t8=_p?_p.boxEndIndex:ro.collisionBoxArray.length,n8=Tp?Tp.boxStartIndex:ro.collisionBoxArray.length,r8=Tp?Tp.boxEndIndex:ro.collisionBoxArray.length,th=-1,Xg=function(em,u3){return em&&em.circleDiameter?Math.max(em.circleDiameter,u3):u3};th=Xg(gd,th),th=Xg(wp,th),th=Xg(_p,th);var l3=(th=Xg(Tp,th))>-1?1:0;l3&&(th*=YC/ss),ro.glyphOffsetArray.length>=ha.MAX_GLYPHS&&R("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"),Bl.sortKey!==void 0&&ro.addToSortKeyRanges(ro.symbolInstances.length,Bl.sortKey),ro.symbolInstances.emplaceBack(Cc.x,Cc.y,jh.right>=0?jh.right:-1,jh.center>=0?jh.center:-1,jh.left>=0?jh.left:-1,jh.vertical||-1,Y1,$1,t3,XC,KC,JC,QC,e8,t8,n8,r8,K0,Qw,e3,Kw,Jw,l3,0,W1,Z1,X1,th)}(mi,X0,qC,Ka,ma,Ga,Vh,mi.layers[0],mi.collisionBoxArray,Gi.index,Gi.sourceLayerIndex,mi.index,Dg,B1,Bg,Ds,zg,Fg,Ng,Sc,Gi,Oa,dl,ks,$i)};if(H0==="line")for(var bp=0,Vg=vw(Gi.geometry,0,0,li,li);bp1){var Y0=SC(pd,yp,Ka.vertical||Uu,ma,Hu,fd);Y0&&dd(pd,Y0)}}else if(Gi.type==="Polygon")for(var md=0,$0=w1(Gi.geometry,0);md<$0.length;md+=1){var Z0=$0[md],Bw=LC(Z0,16);dd(Z0[0],new hp(Bw.x,Bw.y,0))}else if(Gi.type==="LineString")for(var V1=0,Nw=Gi.geometry;V1=An.maxzoom||An.visibility!=="none"&&(u(un,this.zoom,qe),(Lt[An.id]=An.createBucket({index:Qe.bucketLayerIDs.length,layers:un,zoom:this.zoom,pixelRatio:this.pixelRatio,overscaling:this.overscaling,collisionBoxArray:this.collisionBoxArray,sourceLayerIndex:Nt,sourceID:this.source})).populate(Yt,yt,this.tileID.canonical),Qe.bucketLayerIDs.push(un.map(function(dn){return dn.id})))}}}var Yn=i.mapObject(yt.glyphDependencies,function(dn){return Object.keys(dn).map(Number)});Object.keys(Yn).length?nt.send("getGlyphs",{uid:this.uid,stacks:Yn},function(dn,pn){ut||(ut=dn,dt=pn,Tn.call(Re))}):dt={};var kn=Object.keys(yt.iconDependencies);kn.length?nt.send("getImages",{icons:kn,source:this.source,tileID:this.tileID,type:"icons"},function(dn,pn){ut||(ut=dn,_t=pn,Tn.call(Re))}):_t={};var sn=Object.keys(yt.patternDependencies);function Tn(){if(ut)return ft(ut);if(dt&&_t&&It){var dn=new l(dt),pn=new i.ImageAtlas(_t,It);for(var Dn in Lt){var In=Lt[Dn];In instanceof i.SymbolBucket?(u(In.layers,this.zoom,qe),i.performSymbolLayout(In,dt,dn.positions,_t,pn.iconPositions,this.showCollisionBoxes,this.tileID.canonical)):In.hasPattern&&(In instanceof i.LineBucket||In instanceof i.FillBucket||In instanceof i.FillExtrusionBucket)&&(u(In.layers,this.zoom,qe),In.addFeatures(yt,this.tileID.canonical,pn.patternPositions))}this.status="done",ft(null,{buckets:i.values(Lt).filter(function(jn){return!jn.isEmpty()}),featureIndex:Qe,collisionBoxArray:this.collisionBoxArray,glyphAtlasImage:dn.image,imageAtlas:pn,glyphMap:this.returnDependencies?dt:null,iconMap:this.returnDependencies?_t:null,glyphPositions:this.returnDependencies?dn.positions:null})}}sn.length?nt.send("getImages",{icons:sn,source:this.source,tileID:this.tileID,type:"patterns"},function(dn,pn){ut||(ut=dn,It=pn,Tn.call(Re))}):It={},Tn.call(this)};var s=function(Ke,Je,qe,nt){this.actor=Ke,this.layerIndex=Je,this.availableImages=qe,this.loadVectorData=nt||o,this.loading={},this.loaded={}};s.prototype.loadTile=function(Ke,Je){var qe=this,nt=Ke.uid;this.loading||(this.loading={});var ft=!!(Ke&&Ke.request&&Ke.request.collectResourceTiming)&&new i.RequestPerformance(Ke.request),Re=this.loading[nt]=new a(Ke);Re.abort=this.loadVectorData(Ke,function(Ne,Qe){if(delete qe.loading[nt],Ne||!Qe)return Re.status="done",qe.loaded[nt]=Re,Je(Ne);var ut=Qe.rawData,dt={};Qe.expires&&(dt.expires=Qe.expires),Qe.cacheControl&&(dt.cacheControl=Qe.cacheControl);var _t={};if(ft){var It=ft.finish();It&&(_t.resourceTiming=JSON.parse(JSON.stringify(It)))}Re.vectorTile=Qe.vectorTile,Re.parse(Qe.vectorTile,qe.layerIndex,qe.availableImages,qe.actor,function(Lt,yt){if(Lt||!yt)return Je(Lt);Je(null,i.extend({rawTileData:ut.slice(0)},yt,dt,_t))}),qe.loaded=qe.loaded||{},qe.loaded[nt]=Re})},s.prototype.reloadTile=function(Ke,Je){var qe=this,nt=this.loaded,ft=Ke.uid,Re=this;if(nt&&nt[ft]){var Ne=nt[ft];Ne.showCollisionBoxes=Ke.showCollisionBoxes;var Qe=function(ut,dt){var _t=Ne.reloadCallback;_t&&(delete Ne.reloadCallback,Ne.parse(Ne.vectorTile,Re.layerIndex,qe.availableImages,Re.actor,_t)),Je(ut,dt)};Ne.status==="parsing"?Ne.reloadCallback=Qe:Ne.status==="done"&&(Ne.vectorTile?Ne.parse(Ne.vectorTile,this.layerIndex,this.availableImages,this.actor,Qe):Qe())}},s.prototype.abortTile=function(Ke,Je){var qe=this.loading,nt=Ke.uid;qe&&qe[nt]&&qe[nt].abort&&(qe[nt].abort(),delete qe[nt]),Je()},s.prototype.removeTile=function(Ke,Je){var qe=this.loaded,nt=Ke.uid;qe&&qe[nt]&&delete qe[nt],Je()};var c=i.window.ImageBitmap,h=function(){this.loaded={}};h.prototype.loadTile=function(Ke,Je){var qe=Ke.uid,nt=Ke.encoding,ft=Ke.rawImageData,Re=c&&ft instanceof c?this.getImageData(ft):ft,Ne=new i.DEMData(qe,Re,nt);this.loaded=this.loaded||{},this.loaded[qe]=Ne,Je(null,Ne)},h.prototype.getImageData=function(Ke){this.offscreenCanvas&&this.offscreenCanvasContext||(this.offscreenCanvas=new OffscreenCanvas(Ke.width,Ke.height),this.offscreenCanvasContext=this.offscreenCanvas.getContext("2d")),this.offscreenCanvas.width=Ke.width,this.offscreenCanvas.height=Ke.height,this.offscreenCanvasContext.drawImage(Ke,0,0,Ke.width,Ke.height);var Je=this.offscreenCanvasContext.getImageData(-1,-1,Ke.width+2,Ke.height+2);return this.offscreenCanvasContext.clearRect(0,0,this.offscreenCanvas.width,this.offscreenCanvas.height),new i.RGBAImage({width:Je.width,height:Je.height},Je.data)},h.prototype.removeTile=function(Ke){var Je=this.loaded,qe=Ke.uid;Je&&Je[qe]&&delete Je[qe]};var m=function Ke(Je,qe){var nt,ft=Je&&Je.type;if(ft==="FeatureCollection")for(nt=0;nt=0!=!!Je&&Ke.reverse()}var S=i.vectorTile.VectorTileFeature.prototype.toGeoJSON,_=function(Ke){this._feature=Ke,this.extent=i.EXTENT,this.type=Ke.type,this.properties=Ke.tags,"id"in Ke&&!isNaN(Ke.id)&&(this.id=parseInt(Ke.id,10))};_.prototype.loadGeometry=function(){if(this._feature.type===1){for(var Ke=[],Je=0,qe=this._feature.geometry;Je>31}function $(Ke,Je){for(var qe=Ke.loadGeometry(),nt=Ke.type,ft=0,Re=0,Ne=qe.length,Qe=0;Qe>1;q(Ke,Je,Ne,nt,ft,Re%2),G(Ke,Je,qe,nt,Ne-1,Re+1),G(Ke,Je,qe,Ne+1,ft,Re+1)}}function q(Ke,Je,qe,nt,ft,Re){for(;ft>nt;){if(ft-nt>600){var Ne=ft-nt+1,Qe=qe-nt+1,ut=Math.log(Ne),dt=.5*Math.exp(2*ut/3),_t=.5*Math.sqrt(ut*dt*(Ne-dt)/Ne)*(Qe-Ne/2<0?-1:1);q(Ke,Je,qe,Math.max(nt,Math.floor(qe-Qe*dt/Ne+_t)),Math.min(ft,Math.floor(qe+(Ne-Qe)*dt/Ne+_t)),Re)}var It=Je[2*qe+Re],Lt=nt,yt=ft;for(H(Ke,Je,nt,qe),Je[2*ft+Re]>It&&H(Ke,Je,nt,ft);LtIt;)yt--}Je[2*nt+Re]===It?H(Ke,Je,nt,yt):H(Ke,Je,++yt,ft),yt<=qe&&(nt=yt+1),qe<=yt&&(ft=yt-1)}}function H(Ke,Je,qe,nt){ne(Ke,qe,nt),ne(Je,2*qe,2*nt),ne(Je,2*qe+1,2*nt+1)}function ne(Ke,Je,qe){var nt=Ke[Je];Ke[Je]=Ke[qe],Ke[qe]=nt}function te(Ke,Je,qe,nt){var ft=Ke-qe,Re=Je-nt;return ft*ft+Re*Re}b.fromVectorTileJs=R,b.fromGeojsonVt=I,b.GeoJSONWrapper=O;var Z=function(Ke){return Ke[0]},X=function(Ke){return Ke[1]},Q=function(Ke,Je,qe,nt,ft){Je===void 0&&(Je=Z),qe===void 0&&(qe=X),nt===void 0&&(nt=64),ft===void 0&&(ft=Float64Array),this.nodeSize=nt,this.points=Ke;for(var Re=Ke.length<65536?Uint16Array:Uint32Array,Ne=this.ids=new Re(Ke.length),Qe=this.coords=new ft(2*Ke.length),ut=0;ut=Ne&&It<=ut&&Lt>=Qe&&Lt<=dt&&Pt.push(ft[Yt]);else{var Wt=Math.floor((Nt+Rt)/2);It=Re[2*Wt],Lt=Re[2*Wt+1],It>=Ne&&It<=ut&&Lt>=Qe&&Lt<=dt&&Pt.push(ft[Wt]);var Xt=(wt+1)%2;(wt===0?Ne<=It:Qe<=Lt)&&(yt.push(Nt),yt.push(Wt-1),yt.push(Xt)),(wt===0?ut>=It:dt>=Lt)&&(yt.push(Wt+1),yt.push(Rt),yt.push(Xt))}}return Pt}(this.ids,this.coords,Ke,Je,qe,nt,this.nodeSize)},Q.prototype.within=function(Ke,Je,qe){return function(nt,ft,Re,Ne,Qe,ut){for(var dt=[0,nt.length-1,0],_t=[],It=Qe*Qe;dt.length;){var Lt=dt.pop(),yt=dt.pop(),Pt=dt.pop();if(yt-Pt<=ut)for(var wt=Pt;wt<=yt;wt++)te(ft[2*wt],ft[2*wt+1],Re,Ne)<=It&&_t.push(nt[wt]);else{var Rt=Math.floor((Pt+yt)/2),Nt=ft[2*Rt],Yt=ft[2*Rt+1];te(Nt,Yt,Re,Ne)<=It&&_t.push(nt[Rt]);var Wt=(Lt+1)%2;(Lt===0?Re-Qe<=Nt:Ne-Qe<=Yt)&&(dt.push(Pt),dt.push(Rt-1),dt.push(Wt)),(Lt===0?Re+Qe>=Nt:Ne+Qe>=Yt)&&(dt.push(Rt+1),dt.push(yt),dt.push(Wt))}}return _t}(this.ids,this.coords,Ke,Je,qe,this.nodeSize)};var re={minZoom:0,maxZoom:16,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:function(Ke){return Ke}},ie=function(Ke){this.options=pe(Object.create(re),Ke),this.trees=new Array(this.options.maxZoom+1)};function oe(Ke,Je,qe,nt,ft){return{x:Ke,y:Je,zoom:1/0,id:qe,parentId:-1,numPoints:nt,properties:ft}}function ue(Ke,Je){var qe=Ke.geometry.coordinates,nt=qe[0],ft=qe[1];return{x:de(nt),y:me(ft),zoom:1/0,index:Je,parentId:-1}}function ce(Ke){return{type:"Feature",id:Ke.id,properties:ye(Ke),geometry:{type:"Point",coordinates:[(nt=Ke.x,360*(nt-.5)),(Je=Ke.y,qe=(180-360*Je)*Math.PI/180,360*Math.atan(Math.exp(qe))/Math.PI-90)]}};var Je,qe,nt}function ye(Ke){var Je=Ke.numPoints,qe=Je>=1e4?Math.round(Je/1e3)+"k":Je>=1e3?Math.round(Je/100)/10+"k":Je;return pe(pe({},Ke.properties),{cluster:!0,cluster_id:Ke.id,point_count:Je,point_count_abbreviated:qe})}function de(Ke){return Ke/360+.5}function me(Ke){var Je=Math.sin(Ke*Math.PI/180),qe=.5-.25*Math.log((1+Je)/(1-Je))/Math.PI;return qe<0?0:qe>1?1:qe}function pe(Ke,Je){for(var qe in Je)Ke[qe]=Je[qe];return Ke}function xe(Ke){return Ke.x}function Pe(Ke){return Ke.y}function _e(Ke,Je,qe,nt){for(var ft,Re=nt,Ne=qe-Je>>1,Qe=qe-Je,ut=Ke[Je],dt=Ke[Je+1],_t=Ke[qe],It=Ke[qe+1],Lt=Je+3;LtRe)ft=Lt,Re=yt;else if(yt===Re){var Pt=Math.abs(Lt-Ne);Ptnt&&(ft-Je>3&&_e(Ke,Je,ft,nt),Ke[ft+2]=Re,qe-ft>3&&_e(Ke,ft,qe,nt))}function Me(Ke,Je,qe,nt,ft,Re){var Ne=ft-qe,Qe=Re-nt;if(Ne!==0||Qe!==0){var ut=((Ke-qe)*Ne+(Je-nt)*Qe)/(Ne*Ne+Qe*Qe);ut>1?(qe=ft,nt=Re):ut>0&&(qe+=Ne*ut,nt+=Qe*ut)}return(Ne=Ke-qe)*Ne+(Qe=Je-nt)*Qe}function Se(Ke,Je,qe,nt){var ft={id:Ke===void 0?null:Ke,type:Je,geometry:qe,tags:nt,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};return function(Re){var Ne=Re.geometry,Qe=Re.type;if(Qe==="Point"||Qe==="MultiPoint"||Qe==="LineString")Ce(Re,Ne);else if(Qe==="Polygon"||Qe==="MultiLineString")for(var ut=0;ut0&&(Ne+=nt?(ft*dt-ut*Re)/2:Math.sqrt(Math.pow(ut-ft,2)+Math.pow(dt-Re,2))),ft=ut,Re=dt}var _t=Je.length-3;Je[2]=1,_e(Je,0,_t,qe),Je[_t+2]=1,Je.size=Math.abs(Ne),Je.start=0,Je.end=Je.size}function ke(Ke,Je,qe,nt){for(var ft=0;ft1?1:qe}function ze(Ke,Je,qe,nt,ft,Re,Ne,Qe){if(nt/=Je,Re>=(qe/=Je)&&Ne=nt)return null;for(var ut=[],dt=0;dt=qe&&Pt=nt)){var wt=[];if(Lt==="Point"||Lt==="MultiPoint")je(It,wt,qe,nt,ft);else if(Lt==="LineString")ge(It,wt,qe,nt,ft,!1,Qe.lineMetrics);else if(Lt==="MultiLineString")Ee(It,wt,qe,nt,ft,!1);else if(Lt==="Polygon")Ee(It,wt,qe,nt,ft,!0);else if(Lt==="MultiPolygon")for(var Rt=0;Rt=qe&&Ne<=nt&&(Je.push(Ke[Re]),Je.push(Ke[Re+1]),Je.push(Ke[Re+2]))}}function ge(Ke,Je,qe,nt,ft,Re,Ne){for(var Qe,ut,dt=we(Ke),_t=ft===0?$e:Ye,It=Ke.start,Lt=0;Ltqe&&(ut=_t(dt,yt,Pt,Rt,Nt,qe),Ne&&(dt.start=It+Qe*ut)):Yt>nt?Wt=qe&&(ut=_t(dt,yt,Pt,Rt,Nt,qe),Xt=!0),Wt>nt&&Yt<=nt&&(ut=_t(dt,yt,Pt,Rt,Nt,nt),Xt=!0),!Re&&Xt&&(Ne&&(dt.end=It+Qe*ut),Je.push(dt),dt=we(Ke)),Ne&&(It+=Qe)}var Qt=Ke.length-3;yt=Ke[Qt],Pt=Ke[Qt+1],wt=Ke[Qt+2],(Yt=ft===0?yt:Pt)>=qe&&Yt<=nt&&Ve(dt,yt,Pt,wt),Qt=dt.length-3,Re&&Qt>=3&&(dt[Qt]!==dt[0]||dt[Qt+1]!==dt[1])&&Ve(dt,dt[0],dt[1],dt[2]),dt.length&&Je.push(dt)}function we(Ke){var Je=[];return Je.size=Ke.size,Je.start=Ke.start,Je.end=Ke.end,Je}function Ee(Ke,Je,qe,nt,ft,Re){for(var Ne=0;NeNe.maxX&&(Ne.maxX=_t),It>Ne.maxY&&(Ne.maxY=It)}return Ne}function kt(Ke,Je,qe,nt){var ft=Je.geometry,Re=Je.type,Ne=[];if(Re==="Point"||Re==="MultiPoint")for(var Qe=0;Qe0&&Je.size<(ft?Ne:nt))qe.numPoints+=Je.length/3;else{for(var Qe=[],ut=0;utNe)&&(qe.numSimplified++,Qe.push(Je[ut]),Qe.push(Je[ut+1])),qe.numPoints++;ft&&function(dt,_t){for(var It=0,Lt=0,yt=dt.length,Pt=yt-2;Lt0===_t)for(Lt=0,yt=dt.length;Lt24)throw new Error("maxZoom should be in the 0-24 range");if(Je.promoteId&&Je.generateId)throw new Error("promoteId and generateId cannot be used together.");var nt=function(ft,Re){var Ne=[];if(ft.type==="FeatureCollection")for(var Qe=0;Qe=nt;dt--){var _t=+Date.now();Qe=this._cluster(Qe,dt),this.trees[dt]=new Q(Qe,xe,Pe,Re,Float32Array),qe&&console.log("z%d: %d clusters in %dms",dt,Qe.length,+Date.now()-_t)}return qe&&console.timeEnd("total time"),this},ie.prototype.getClusters=function(Ke,Je){var qe=((Ke[0]+180)%360+360)%360-180,nt=Math.max(-90,Math.min(90,Ke[1])),ft=Ke[2]===180?180:((Ke[2]+180)%360+360)%360-180,Re=Math.max(-90,Math.min(90,Ke[3]));if(Ke[2]-Ke[0]>=360)qe=-180,ft=180;else if(qe>ft){var Ne=this.getClusters([qe,nt,180,Re],Je),Qe=this.getClusters([-180,nt,ft,Re],Je);return Ne.concat(Qe)}for(var ut=this.trees[this._limitZoom(Je)],dt=[],_t=0,It=ut.range(de(qe),me(Re),de(ft),me(nt));_t1?this._map(dt,!0):null,Rt=(ut<<5)+(Je+1)+this.points.length,Nt=0,Yt=It;Nt>5},ie.prototype._getOriginZoom=function(Ke){return(Ke-this.points.length)%32},ie.prototype._map=function(Ke,Je){if(Ke.numPoints)return Je?pe({},Ke.properties):Ke.properties;var qe=this.points[Ke.index].properties,nt=this.options.map(qe);return Je&&nt===qe?pe({},nt):nt},Ft.prototype.options={maxZoom:14,indexMaxZoom:5,indexMaxPoints:1e5,tolerance:3,extent:4096,buffer:64,lineMetrics:!1,promoteId:null,generateId:!1,debug:0},Ft.prototype.splitTile=function(Ke,Je,qe,nt,ft,Re,Ne){for(var Qe=[Ke,Je,qe,nt],ut=this.options,dt=ut.debug;Qe.length;){nt=Qe.pop(),qe=Qe.pop(),Je=Qe.pop(),Ke=Qe.pop();var _t=1<1&&console.time("creation"),Lt=this.tiles[It]=Et(Ke,Je,qe,nt,ut),this.tileCoords.push({z:Je,x:qe,y:nt}),dt)){dt>1&&(console.log("tile z%d-%d-%d (features: %d, points: %d, simplified: %d)",Je,qe,nt,Lt.numFeatures,Lt.numPoints,Lt.numSimplified),console.timeEnd("creation"));var yt="z"+Je;this.stats[yt]=(this.stats[yt]||0)+1,this.total++}if(Lt.source=Ke,ft){if(Je===ut.maxZoom||Je===ft)continue;var Pt=1<1&&console.time("clipping");var wt,Rt,Nt,Yt,Wt,Xt,Qt=.5*ut.buffer/ut.extent,rn=.5-Qt,xn=.5+Qt,un=1+Qt;wt=Rt=Nt=Yt=null,Wt=ze(Ke,_t,qe-Qt,qe+xn,0,Lt.minX,Lt.maxX,ut),Xt=ze(Ke,_t,qe+rn,qe+un,0,Lt.minX,Lt.maxX,ut),Ke=null,Wt&&(wt=ze(Wt,_t,nt-Qt,nt+xn,1,Lt.minY,Lt.maxY,ut),Rt=ze(Wt,_t,nt+rn,nt+un,1,Lt.minY,Lt.maxY,ut),Wt=null),Xt&&(Nt=ze(Xt,_t,nt-Qt,nt+xn,1,Lt.minY,Lt.maxY,ut),Yt=ze(Xt,_t,nt+rn,nt+un,1,Lt.minY,Lt.maxY,ut),Xt=null),dt>1&&console.timeEnd("clipping"),Qe.push(wt||[],Je+1,2*qe,2*nt),Qe.push(Rt||[],Je+1,2*qe,2*nt+1),Qe.push(Nt||[],Je+1,2*qe+1,2*nt),Qe.push(Yt||[],Je+1,2*qe+1,2*nt+1)}}},Ft.prototype.getTile=function(Ke,Je,qe){var nt=this.options,ft=nt.extent,Re=nt.debug;if(Ke<0||Ke>24)return null;var Ne=1<1&&console.log("drilling down to z%d-%d-%d",Ke,Je,qe);for(var ut,dt=Ke,_t=Je,It=qe;!ut&&dt>0;)dt--,_t=Math.floor(_t/2),It=Math.floor(It/2),ut=this.tiles[Ot(dt,_t,It)];return ut&&ut.source?(Re>1&&console.log("found parent tile z%d-%d-%d",dt,_t,It),Re>1&&console.time("drilling down"),this.splitTile(ut.source,dt,_t,It,Ke,Je,qe),Re>1&&console.timeEnd("drilling down"),this.tiles[Qe]?ht(this.tiles[Qe],ft):null):null};var qt=function(Ke){function Je(qe,nt,ft,Re){Ke.call(this,qe,nt,ft,Bt),Re&&(this.loadGeoJSON=Re)}return Ke&&(Je.__proto__=Ke),Je.prototype=Object.create(Ke&&Ke.prototype),Je.prototype.constructor=Je,Je.prototype.loadData=function(qe,nt){this._pendingCallback&&this._pendingCallback(null,{abandoned:!0}),this._pendingCallback=nt,this._pendingLoadDataParams=qe,this._state&&this._state!=="Idle"?this._state="NeedsLoadData":(this._state="Coalescing",this._loadData())},Je.prototype._loadData=function(){var qe=this;if(this._pendingCallback&&this._pendingLoadDataParams){var nt=this._pendingCallback,ft=this._pendingLoadDataParams;delete this._pendingCallback,delete this._pendingLoadDataParams;var Re=!!(ft&&ft.request&&ft.request.collectResourceTiming)&&new i.RequestPerformance(ft.request);this.loadGeoJSON(ft,function(Ne,Qe){if(Ne||!Qe)return nt(Ne);if(typeof Qe!="object")return nt(new Error("Input data given to '"+ft.source+"' is not a valid GeoJSON object."));m(Qe,!0);try{qe._geoJSONIndex=ft.cluster?new ie(function(_t){var It=_t.superclusterOptions,Lt=_t.clusterProperties;if(!Lt||!It)return It;for(var yt={},Pt={},wt={accumulated:null,zoom:0},Rt={properties:null},Nt=Object.keys(Lt),Yt=0,Wt=Nt;Yt=0?0:Y.button},v.remove=function(Y){Y.parentNode&&Y.parentNode.removeChild(Y)};var w=function(Y){function ee(){Y.call(this),this.images={},this.updatedImages={},this.callbackDispatchedThisFrame={},this.loaded=!1,this.requestors=[],this.patterns={},this.atlasImage=new i.RGBAImage({width:1,height:1}),this.dirty=!0}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee.prototype.isLoaded=function(){return this.loaded},ee.prototype.setLoaded=function(K){if(this.loaded!==K&&(this.loaded=K,K)){for(var le=0,Te=this.requestors;le=0?1.2:1))}function E(Y,ee,K,le,Te,De,He){for(var Ze=0;Ze65535)Tt(new Error("glyphs > 65535 not supported"));else if(ve.ranges[Fe])Tt(null,{stack:At,id:se,glyph:Ie});else{var Ue=ve.requests[Fe];Ue||(Ue=ve.requests[Fe]=[],A.loadGlyphRange(At,Fe,K.url,K.requestManager,function(We,Xe){if(Xe){for(var tt in Xe)K._doesCharSupportLocalGlyph(+tt)||(ve.glyphs[+tt]=Xe[+tt]);ve.ranges[Fe]=!0}for(var lt=0,mt=Ue;lt1&&(at=Y[++Ze]);var At=Math.abs(Tt-at.left),se=Math.abs(Tt-at.right),ve=Math.min(At,se),Ie=void 0,Fe=Te/K*(le+1);if(at.isDash){var Ue=le-Math.abs(Fe);Ie=Math.sqrt(ve*ve+Ue*Ue)}else Ie=le-Math.sqrt(ve*ve+Fe*Fe);this.data[He+Tt]=Math.max(0,Math.min(255,Ie+128))}},O.prototype.addRegularDash=function(Y){for(var ee=Y.length-1;ee>=0;--ee){var K=Y[ee],le=Y[ee+1];K.zeroLength?Y.splice(ee,1):le&&le.isDash===K.isDash&&(le.left=K.left,Y.splice(ee,1))}var Te=Y[0],De=Y[Y.length-1];Te.isDash===De.isDash&&(Te.left=De.left-this.width,De.right=Te.right+this.width);for(var He=this.width*this.nextRow,Ze=0,at=Y[Ze],Tt=0;Tt1&&(at=Y[++Ze]);var At=Math.abs(Tt-at.left),se=Math.abs(Tt-at.right),ve=Math.min(At,se),Ie=at.isDash?ve:-ve;this.data[He+Tt]=Math.max(0,Math.min(255,Ie+128))}},O.prototype.addDash=function(Y,ee){var K=ee?7:0,le=2*K+1;if(this.nextRow+le>this.height)return i.warnOnce("LineAtlas out of space"),null;for(var Te=0,De=0;De=K&&Y.x=le&&Y.y0&&(Tt[new i.OverscaledTileID(K.overscaledZ,He,le.z,De,le.y-1).key]={backfilled:!1},Tt[new i.OverscaledTileID(K.overscaledZ,K.wrap,le.z,le.x,le.y-1).key]={backfilled:!1},Tt[new i.OverscaledTileID(K.overscaledZ,at,le.z,Ze,le.y-1).key]={backfilled:!1}),le.y+10&&(Te.resourceTiming=K._resourceTiming,K._resourceTiming=[]),K.fire(new i.Event("data",Te))}})},ee.prototype.onAdd=function(K){this.map=K,this.load()},ee.prototype.setData=function(K){var le=this;return this._data=K,this.fire(new i.Event("dataloading",{dataType:"source"})),this._updateWorkerData(function(Te){if(Te)le.fire(new i.ErrorEvent(Te));else{var De={dataType:"source",sourceDataType:"content"};le._collectResourceTiming&&le._resourceTiming&&le._resourceTiming.length>0&&(De.resourceTiming=le._resourceTiming,le._resourceTiming=[]),le.fire(new i.Event("data",De))}}),this},ee.prototype.getClusterExpansionZoom=function(K,le){return this.actor.send("geojson.getClusterExpansionZoom",{clusterId:K,source:this.id},le),this},ee.prototype.getClusterChildren=function(K,le){return this.actor.send("geojson.getClusterChildren",{clusterId:K,source:this.id},le),this},ee.prototype.getClusterLeaves=function(K,le,Te,De){return this.actor.send("geojson.getClusterLeaves",{source:this.id,clusterId:K,limit:le,offset:Te},De),this},ee.prototype._updateWorkerData=function(K){var le=this;this._loaded=!1;var Te=i.extend({},this.workerOptions),De=this._data;typeof De=="string"?(Te.request=this.map._requestManager.transformRequest(i.browser.resolveURL(De),i.ResourceType.Source),Te.request.collectResourceTiming=this._collectResourceTiming):Te.data=JSON.stringify(De),this.actor.send(this.type+".loadData",Te,function(He,Ze){le._removed||Ze&&Ze.abandoned||(le._loaded=!0,Ze&&Ze.resourceTiming&&Ze.resourceTiming[le.id]&&(le._resourceTiming=Ze.resourceTiming[le.id].slice(0)),le.actor.send(le.type+".coalesce",{source:Te.source},null),K(He))})},ee.prototype.loaded=function(){return this._loaded},ee.prototype.loadTile=function(K,le){var Te=this,De=K.actor?"reloadTile":"loadTile";K.actor=this.actor;var He={type:this.type,uid:K.uid,tileID:K.tileID,zoom:K.tileID.overscaledZ,maxZoom:this.maxzoom,tileSize:this.tileSize,source:this.id,pixelRatio:i.browser.devicePixelRatio,showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId};K.request=this.actor.send(De,He,function(Ze,at){return delete K.request,K.unloadVectorData(),K.aborted?le(null):Ze?le(Ze):(K.loadVectorData(at,Te.map.painter,De==="reloadTile"),le(null))})},ee.prototype.abortTile=function(K){K.request&&(K.request.cancel(),delete K.request),K.aborted=!0},ee.prototype.unloadTile=function(K){K.unloadVectorData(),this.actor.send("removeTile",{uid:K.uid,type:this.type,source:this.id})},ee.prototype.onRemove=function(){this._removed=!0,this.actor.send("removeSource",{type:this.type,source:this.id})},ee.prototype.serialize=function(){return i.extend({},this._options,{type:this.type,data:this._data})},ee.prototype.hasTransition=function(){return!1},ee}(i.Evented),U=i.createLayout([{name:"a_pos",type:"Int16",components:2},{name:"a_texture_pos",type:"Int16",components:2}]),G=function(Y){function ee(K,le,Te,De){Y.call(this),this.id=K,this.dispatcher=Te,this.coordinates=le.coordinates,this.type="image",this.minzoom=0,this.maxzoom=22,this.tileSize=512,this.tiles={},this._loaded=!1,this.setEventedParent(De),this.options=le}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee.prototype.load=function(K,le){var Te=this;this._loaded=!1,this.fire(new i.Event("dataloading",{dataType:"source"})),this.url=this.options.url,i.getImage(this.map._requestManager.transformRequest(this.url,i.ResourceType.Image),function(De,He){Te._loaded=!0,De?Te.fire(new i.ErrorEvent(De)):He&&(Te.image=He,K&&(Te.coordinates=K),le&&le(),Te._finishLoading())})},ee.prototype.loaded=function(){return this._loaded},ee.prototype.updateImage=function(K){var le=this;return this.image&&K.url?(this.options.url=K.url,this.load(K.coordinates,function(){le.texture=null}),this):this},ee.prototype._finishLoading=function(){this.map&&(this.setCoordinates(this.coordinates),this.fire(new i.Event("data",{dataType:"source",sourceDataType:"metadata"})))},ee.prototype.onAdd=function(K){this.map=K,this.load()},ee.prototype.setCoordinates=function(K){var le=this;this.coordinates=K;var Te=K.map(i.MercatorCoordinate.fromLngLat);this.tileID=function(He){for(var Ze=1/0,at=1/0,Tt=-1/0,At=-1/0,se=0,ve=He;sele.end(0)?this.fire(new i.ErrorEvent(new i.ValidationError("sources."+this.id,null,"Playback for this video can be set only between the "+le.start(0)+" and "+le.end(0)+"-second mark."))):this.video.currentTime=K}},ee.prototype.getVideo=function(){return this.video},ee.prototype.onAdd=function(K){this.map||(this.map=K,this.load(),this.video&&(this.video.play(),this.setCoordinates(this.coordinates)))},ee.prototype.prepare=function(){if(!(Object.keys(this.tiles).length===0||this.video.readyState<2)){var K=this.map.painter.context,le=K.gl;for(var Te in this.boundsBuffer||(this.boundsBuffer=K.createVertexBuffer(this._boundsArray,U.members)),this.boundsSegments||(this.boundsSegments=i.SegmentVector.simpleSegment(0,0,4,2)),this.texture?this.video.paused||(this.texture.bind(le.LINEAR,le.CLAMP_TO_EDGE),le.texSubImage2D(le.TEXTURE_2D,0,0,0,le.RGBA,le.UNSIGNED_BYTE,this.video)):(this.texture=new i.Texture(K,this.video,le.RGBA),this.texture.bind(le.LINEAR,le.CLAMP_TO_EDGE)),this.tiles){var De=this.tiles[Te];De.state!=="loaded"&&(De.state="loaded",De.texture=this.texture)}}},ee.prototype.serialize=function(){return{type:"video",urls:this.urls,coordinates:this.coordinates}},ee.prototype.hasTransition=function(){return this.video&&!this.video.paused},ee}(G),H=function(Y){function ee(K,le,Te,De){Y.call(this,K,le,Te,De),le.coordinates?Array.isArray(le.coordinates)&&le.coordinates.length===4&&!le.coordinates.some(function(He){return!Array.isArray(He)||He.length!==2||He.some(function(Ze){return typeof Ze!="number"})})||this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'"coordinates" property must be an array of 4 longitude/latitude array pairs'))):this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'missing required property "coordinates"'))),le.animate&&typeof le.animate!="boolean"&&this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'optional "animate" property must be a boolean value'))),le.canvas?typeof le.canvas=="string"||le.canvas instanceof i.window.HTMLCanvasElement||this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'"canvas" must be either a string representing the ID of the canvas element from which to read, or an HTMLCanvasElement instance'))):this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'missing required property "canvas"'))),this.options=le,this.animate=le.animate===void 0||le.animate}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee.prototype.load=function(){this._loaded=!0,this.canvas||(this.canvas=this.options.canvas instanceof i.window.HTMLCanvasElement?this.options.canvas:i.window.document.getElementById(this.options.canvas)),this.width=this.canvas.width,this.height=this.canvas.height,this._hasInvalidDimensions()?this.fire(new i.ErrorEvent(new Error("Canvas dimensions cannot be less than or equal to zero."))):(this.play=function(){this._playing=!0,this.map.triggerRepaint()},this.pause=function(){this._playing&&(this.prepare(),this._playing=!1)},this._finishLoading())},ee.prototype.getCanvas=function(){return this.canvas},ee.prototype.onAdd=function(K){this.map=K,this.load(),this.canvas&&this.animate&&this.play()},ee.prototype.onRemove=function(){this.pause()},ee.prototype.prepare=function(){var K=!1;if(this.canvas.width!==this.width&&(this.width=this.canvas.width,K=!0),this.canvas.height!==this.height&&(this.height=this.canvas.height,K=!0),!this._hasInvalidDimensions()&&Object.keys(this.tiles).length!==0){var le=this.map.painter.context,Te=le.gl;for(var De in this.boundsBuffer||(this.boundsBuffer=le.createVertexBuffer(this._boundsArray,U.members)),this.boundsSegments||(this.boundsSegments=i.SegmentVector.simpleSegment(0,0,4,2)),this.texture?(K||this._playing)&&this.texture.update(this.canvas,{premultiply:!0}):this.texture=new i.Texture(le,this.canvas,Te.RGBA,{premultiply:!0}),this.tiles){var He=this.tiles[De];He.state!=="loaded"&&(He.state="loaded",He.texture=this.texture)}}},ee.prototype.serialize=function(){return{type:"canvas",coordinates:this.coordinates}},ee.prototype.hasTransition=function(){return this._playing},ee.prototype._hasInvalidDimensions=function(){for(var K=0,le=[this.canvas.width,this.canvas.height];Kthis.max){var He=this._getAndRemoveByKey(this.order[0]);He&&this.onRemove(He)}return this},Q.prototype.has=function(Y){return Y.wrapped().key in this.data},Q.prototype.getAndRemove=function(Y){return this.has(Y)?this._getAndRemoveByKey(Y.wrapped().key):null},Q.prototype._getAndRemoveByKey=function(Y){var ee=this.data[Y].shift();return ee.timeout&&clearTimeout(ee.timeout),this.data[Y].length===0&&delete this.data[Y],this.order.splice(this.order.indexOf(Y),1),ee.value},Q.prototype.getByKey=function(Y){var ee=this.data[Y];return ee?ee[0].value:null},Q.prototype.get=function(Y){return this.has(Y)?this.data[Y.wrapped().key][0].value:null},Q.prototype.remove=function(Y,ee){if(!this.has(Y))return this;var K=Y.wrapped().key,le=ee===void 0?0:this.data[K].indexOf(ee),Te=this.data[K][le];return this.data[K].splice(le,1),Te.timeout&&clearTimeout(Te.timeout),this.data[K].length===0&&delete this.data[K],this.onRemove(Te.value),this.order.splice(this.order.indexOf(K),1),this},Q.prototype.setMaxSize=function(Y){for(this.max=Y;this.order.length>this.max;){var ee=this._getAndRemoveByKey(this.order[0]);ee&&this.onRemove(ee)}return this},Q.prototype.filter=function(Y){var ee=[];for(var K in this.data)for(var le=0,Te=this.data[K];le1||(Math.abs(At)>1&&(Math.abs(At+ve)===1?At+=ve:Math.abs(At-ve)===1&&(At-=ve)),Tt.dem&&at.dem&&(at.dem.backfillBorder(Tt.dem,At,se),at.neighboringTiles&&at.neighboringTiles[Ie]&&(at.neighboringTiles[Ie].backfilled=!0)))}},ee.prototype.getTile=function(K){return this.getTileByID(K.key)},ee.prototype.getTileByID=function(K){return this._tiles[K]},ee.prototype._retainLoadedChildren=function(K,le,Te,De){for(var He in this._tiles){var Ze=this._tiles[He];if(!(De[He]||!Ze.hasData()||Ze.tileID.overscaledZ<=le||Ze.tileID.overscaledZ>Te)){for(var at=Ze.tileID;Ze&&Ze.tileID.overscaledZ>le+1;){var Tt=Ze.tileID.scaledTo(Ze.tileID.overscaledZ-1);(Ze=this._tiles[Tt.key])&&Ze.hasData()&&(at=Tt)}for(var At=at;At.overscaledZ>le;)if(K[(At=At.scaledTo(At.overscaledZ-1)).key]){De[at.key]=at;break}}}},ee.prototype.findLoadedParent=function(K,le){if(K.key in this._loadedParentTiles){var Te=this._loadedParentTiles[K.key];return Te&&Te.tileID.overscaledZ>=le?Te:null}for(var De=K.overscaledZ-1;De>=le;De--){var He=K.scaledTo(De),Ze=this._getLoadedTile(He);if(Ze)return Ze}},ee.prototype._getLoadedTile=function(K){var le=this._tiles[K.key];return le&&le.hasData()?le:this._cache.getByKey(K.wrapped().key)},ee.prototype.updateCacheSize=function(K){var le=(Math.ceil(K.width/this._source.tileSize)+1)*(Math.ceil(K.height/this._source.tileSize)+1),Te=Math.floor(5*le),De=typeof this._maxTileCacheSize=="number"?Math.min(this._maxTileCacheSize,Te):Te;this._cache.setMaxSize(De)},ee.prototype.handleWrapJump=function(K){var le=(K-(this._prevLng===void 0?K:this._prevLng))/360,Te=Math.round(le);if(this._prevLng=K,Te){var De={};for(var He in this._tiles){var Ze=this._tiles[He];Ze.tileID=Ze.tileID.unwrapTo(Ze.tileID.wrap+Te),De[Ze.tileID.key]=Ze}for(var at in this._tiles=De,this._timers)clearTimeout(this._timers[at]),delete this._timers[at];for(var Tt in this._tiles){var At=this._tiles[Tt];this._setTileReloadTimer(Tt,At)}}},ee.prototype.update=function(K){var le=this;if(this.transform=K,this._sourceLoaded&&!this._paused){var Te;this.updateCacheSize(K),this.handleWrapJump(this.transform.center.lng),this._coveredTiles={},this.used?this._source.tileID?Te=K.getVisibleUnwrappedCoordinates(this._source.tileID).map(function(Ht){return new i.OverscaledTileID(Ht.canonical.z,Ht.wrap,Ht.canonical.z,Ht.canonical.x,Ht.canonical.y)}):(Te=K.coveringTiles({tileSize:this._source.tileSize,minzoom:this._source.minzoom,maxzoom:this._source.maxzoom,roundZoom:this._source.roundZoom,reparseOverscaled:this._source.reparseOverscaled}),this._source.hasTile&&(Te=Te.filter(function(Ht){return le._source.hasTile(Ht)}))):Te=[];var De=K.coveringZoomLevel(this._source),He=Math.max(De-ee.maxOverzooming,this._source.minzoom),Ze=Math.max(De+ee.maxUnderzooming,this._source.minzoom),at=this._updateRetainedTiles(Te,De);if(Ne(this._source.type)){for(var Tt={},At={},se=0,ve=Object.keys(at);sethis._source.maxzoom){var Xe=Ue.children(this._source.maxzoom)[0],tt=this.getTile(Xe);if(tt&&tt.hasData()){Te[Xe.key]=Xe;continue}}else{var lt=Ue.children(this._source.maxzoom);if(Te[lt[0].key]&&Te[lt[1].key]&&Te[lt[2].key]&&Te[lt[3].key])continue}for(var mt=We.wasRequested(),zt=Ue.overscaledZ-1;zt>=He;--zt){var Ut=Ue.scaledTo(zt);if(De[Ut.key]||(De[Ut.key]=!0,!(We=this.getTile(Ut))&&mt&&(We=this._addTile(Ut)),We&&(Te[Ut.key]=Ut,mt=We.wasRequested(),We.hasData())))break}}}return Te},ee.prototype._updateLoadedParentTileCache=function(){for(var K in this._loadedParentTiles={},this._tiles){for(var le=[],Te=void 0,De=this._tiles[K].tileID;De.overscaledZ>0;){if(De.key in this._loadedParentTiles){Te=this._loadedParentTiles[De.key];break}le.push(De.key);var He=De.scaledTo(De.overscaledZ-1);if(Te=this._getLoadedTile(He))break;De=He}for(var Ze=0,at=le;Ze0||(le.hasData()&&le.state!=="reloading"?this._cache.add(le.tileID,le,le.getExpiryTimeout()):(le.aborted=!0,this._abortTile(le),this._unloadTile(le))))},ee.prototype.clearTiles=function(){for(var K in this._shouldReloadOnResume=!1,this._paused=!1,this._tiles)this._removeTile(K);this._cache.reset()},ee.prototype.tilesIn=function(K,le,Te){var De=this,He=[],Ze=this.transform;if(!Ze)return He;for(var at=Te?Ze.getCameraQueryGeometry(K):K,Tt=K.map(function(zt){return Ze.pointCoordinate(zt)}),At=at.map(function(zt){return Ze.pointCoordinate(zt)}),se=this.getIds(),ve=1/0,Ie=1/0,Fe=-1/0,Ue=-1/0,We=0,Xe=At;We=0&&tn[1].y+vn>=0){var ln=Tt.map(function(Cn){return Ht.getTilePoint(Cn)}),an=At.map(function(Cn){return Ht.getTilePoint(Cn)});He.push({tile:Ut,tileID:Ht,queryGeometry:ln,cameraQueryGeometry:an,scale:en})}}},mt=0;mt=i.browser.now())return!0}return!1},ee.prototype.setFeatureState=function(K,le,Te){K=K||"_geojsonTileLayer",this._state.updateState(K,le,Te)},ee.prototype.removeFeatureState=function(K,le,Te){K=K||"_geojsonTileLayer",this._state.removeFeatureState(K,le,Te)},ee.prototype.getFeatureState=function(K,le){return K=K||"_geojsonTileLayer",this._state.getState(K,le)},ee.prototype.setDependencies=function(K,le,Te){var De=this._tiles[K];De&&De.setDependencies(le,Te)},ee.prototype.reloadTilesForDependencies=function(K,le){for(var Te in this._tiles)this._tiles[Te].hasDependency(K,le)&&this._reloadTile(Te,"reloading");this._cache.filter(function(De){return!De.hasDependency(K,le)})},ee}(i.Evented);function Re(Y,ee){var K=Math.abs(2*Y.wrap)-+(Y.wrap<0),le=Math.abs(2*ee.wrap)-+(ee.wrap<0);return Y.overscaledZ-ee.overscaledZ||le-K||ee.canonical.y-Y.canonical.y||ee.canonical.x-Y.canonical.x}function Ne(Y){return Y==="raster"||Y==="image"||Y==="video"}function Qe(){return new i.window.Worker(Mt.workerUrl)}ft.maxOverzooming=10,ft.maxUnderzooming=3;var ut="mapboxgl_preloaded_worker_pool",dt=function(){this.active={}};dt.prototype.acquire=function(Y){if(!this.workers)for(this.workers=[];this.workers.length0?(le-De)/He:0;return this.points[Te].mult(1-Ze).add(this.points[ee].mult(Ze))};var An=function(Y,ee,K){var le=this.boxCells=[],Te=this.circleCells=[];this.xCellCount=Math.ceil(Y/K),this.yCellCount=Math.ceil(ee/K);for(var De=0;De=-ee[0]&&K<=ee[0]&&le>=-ee[1]&&le<=ee[1]}function pn(Y,ee,K,le,Te,De,He,Ze){var at=le?Y.textSizeData:Y.iconSizeData,Tt=i.evaluateSizeForZoom(at,K.transform.zoom),At=[256/K.width*2+1,256/K.height*2+1],se=le?Y.text.dynamicLayoutVertexArray:Y.icon.dynamicLayoutVertexArray;se.clear();for(var ve=Y.lineVertexArray,Ie=le?Y.text.placedSymbolArray:Y.icon.placedSymbolArray,Fe=K.transform.width/K.transform.height,Ue=!1,We=0;WeMath.abs(K.x-ee.x)*le?{useVertical:!0}:(Y===i.WritingMode.vertical?ee.yK.x)?{needsFlipping:!0}:null}function jn(Y,ee,K,le,Te,De,He,Ze,at,Tt,At,se,ve,Ie){var Fe,Ue=ee/24,We=Y.lineOffsetX*Ue,Xe=Y.lineOffsetY*Ue;if(Y.numGlyphs>1){var tt=Y.glyphStartIndex+Y.numGlyphs,lt=Y.lineStartIndex,mt=Y.lineStartIndex+Y.lineLength,zt=Dn(Ue,Ze,We,Xe,K,At,se,Y,at,De,ve);if(!zt)return{notEnoughRoom:!0};var Ut=sn(zt.first.point,He).point,Ht=sn(zt.last.point,He).point;if(le&&!K){var en=In(Y.writingMode,Ut,Ht,Ie);if(en)return en}Fe=[zt.first];for(var vn=Y.glyphStartIndex+1;vn0?Cn.point:Gn(se,an,tn,1,Te),on=In(Y.writingMode,tn,_n,Ie);if(on)return on}var Fn=qn(Ue*Ze.getoffsetX(Y.glyphStartIndex),We,Xe,K,At,se,Y.segment,Y.lineStartIndex,Y.lineStartIndex+Y.lineLength,at,De,ve);if(!Fn)return{notEnoughRoom:!0};Fe=[Fn]}for(var Hn=0,ir=Fe;Hn0?1:-1,Fe=0;le&&(Ie*=-1,Fe=Math.PI),Ie<0&&(Fe+=Math.PI);for(var Ue=Ie>0?Ze+He:Ze+He+1,We=Te,Xe=Te,tt=0,lt=0,mt=Math.abs(ve),zt=[];tt+lt<=mt;){if((Ue+=Ie)=at)return null;if(Xe=We,zt.push(We),(We=se[Ue])===void 0){var Ut=new i.Point(Tt.getx(Ue),Tt.gety(Ue)),Ht=sn(Ut,At);if(Ht.signedDistanceFromCamera>0)We=se[Ue]=Ht.point;else{var en=Ue-Ie;We=Gn(tt===0?De:new i.Point(Tt.getx(en),Tt.gety(en)),Ut,Xe,mt-tt+1,At)}}tt+=lt,lt=Xe.dist(We)}var vn=(mt-tt)/lt,tn=We.sub(Xe),ln=tn.mult(vn)._add(Xe);ln._add(tn._unit()._perp()._mult(K*Ie));var an=Fe+Math.atan2(We.y-Xe.y,We.x-Xe.x);return zt.push(ln),{point:ln,angle:an,path:zt}}An.prototype.keysLength=function(){return this.boxKeys.length+this.circleKeys.length},An.prototype.insert=function(Y,ee,K,le,Te){this._forEachCell(ee,K,le,Te,this._insertBoxCell,this.boxUid++),this.boxKeys.push(Y),this.bboxes.push(ee),this.bboxes.push(K),this.bboxes.push(le),this.bboxes.push(Te)},An.prototype.insertCircle=function(Y,ee,K,le){this._forEachCell(ee-le,K-le,ee+le,K+le,this._insertCircleCell,this.circleUid++),this.circleKeys.push(Y),this.circles.push(ee),this.circles.push(K),this.circles.push(le)},An.prototype._insertBoxCell=function(Y,ee,K,le,Te,De){this.boxCells[Te].push(De)},An.prototype._insertCircleCell=function(Y,ee,K,le,Te,De){this.circleCells[Te].push(De)},An.prototype._query=function(Y,ee,K,le,Te,De){if(K<0||Y>this.width||le<0||ee>this.height)return!Te&&[];var He=[];if(Y<=0&&ee<=0&&this.width<=K&&this.height<=le){if(Te)return!0;for(var Ze=0;Ze0:He},An.prototype._queryCircle=function(Y,ee,K,le,Te){var De=Y-K,He=Y+K,Ze=ee-K,at=ee+K;if(He<0||De>this.width||at<0||Ze>this.height)return!le&&[];var Tt=[],At={hitTest:le,circle:{x:Y,y:ee,radius:K},seenUids:{box:{},circle:{}}};return this._forEachCell(De,Ze,He,at,this._queryCellCircle,Tt,At,Te),le?Tt.length>0:Tt},An.prototype.query=function(Y,ee,K,le,Te){return this._query(Y,ee,K,le,!1,Te)},An.prototype.hitTest=function(Y,ee,K,le,Te){return this._query(Y,ee,K,le,!0,Te)},An.prototype.hitTestCircle=function(Y,ee,K,le){return this._queryCircle(Y,ee,K,!0,le)},An.prototype._queryCell=function(Y,ee,K,le,Te,De,He,Ze){var at=He.seenUids,Tt=this.boxCells[Te];if(Tt!==null)for(var At=this.bboxes,se=0,ve=Tt;se=At[Fe+0]&&le>=At[Fe+1]&&(!Ze||Ze(this.boxKeys[Ie]))){if(He.hitTest)return De.push(!0),!0;De.push({key:this.boxKeys[Ie],x1:At[Fe],y1:At[Fe+1],x2:At[Fe+2],y2:At[Fe+3]})}}}var Ue=this.circleCells[Te];if(Ue!==null)for(var We=this.circles,Xe=0,tt=Ue;XeHe*He+Ze*Ze},An.prototype._circleAndRectCollide=function(Y,ee,K,le,Te,De,He){var Ze=(De-le)/2,at=Math.abs(Y-(le+Ze));if(at>Ze+K)return!1;var Tt=(He-Te)/2,At=Math.abs(ee-(Te+Tt));if(At>Tt+K)return!1;if(at<=Ze||At<=Tt)return!0;var se=at-Ze,ve=At-Tt;return se*se+ve*ve<=K*K};var lr=new Float32Array([-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0]);function rr(Y,ee){for(var K=0;K=1;_n--)Cn.push(ln.path[_n]);for(var on=1;on0){for(var ar=Cn[0].clone(),Mr=Cn[0].clone(),Er=1;Er=en.x&&Mr.x<=vn.x&&ar.y>=en.y&&Mr.y<=vn.y?[Cn]:Mr.xvn.x||Mr.yvn.y?[]:i.clipLine([Cn],en.x,en.y,vn.x,vn.y)}for(var xr=0,kr=ir;xr=this.screenRightBoundary||lethis.screenBottomBoundary},or.prototype.isInsideGrid=function(Y,ee,K,le){return K>=0&&Y=0&&ee0?(this.prevPlacement&&this.prevPlacement.variableOffsets[se.crossTileID]&&this.prevPlacement.placements[se.crossTileID]&&this.prevPlacement.placements[se.crossTileID].text&&(Ue=this.prevPlacement.variableOffsets[se.crossTileID].anchor),this.variableOffsets[se.crossTileID]={textOffset:We,width:K,height:le,anchor:Y,textBoxScale:Te,prevAnchor:Ue},this.markUsedJustification(ve,Y,se,Ie),ve.allowVerticalPlacement&&(this.markUsedOrientation(ve,Ie,se),this.placedOrientations[se.crossTileID]=Ie),{shift:Xe,placedGlyphBoxes:tt}):void 0},tr.prototype.placeLayerBucketPart=function(Y,ee,K){var le=this,Te=Y.parameters,De=Te.bucket,He=Te.layout,Ze=Te.posMatrix,at=Te.textLabelPlaneMatrix,Tt=Te.labelToScreenMatrix,At=Te.textPixelRatio,se=Te.holdingForFade,ve=Te.collisionBoxArray,Ie=Te.partiallyEvaluatedTextSize,Fe=Te.collisionGroup,Ue=He.get("text-optional"),We=He.get("icon-optional"),Xe=He.get("text-allow-overlap"),tt=He.get("icon-allow-overlap"),lt=He.get("text-rotation-alignment")==="map",mt=He.get("text-pitch-alignment")==="map",zt=He.get("icon-text-fit")!=="none",Ut=He.get("symbol-z-order")==="viewport-y",Ht=Xe&&(tt||!De.hasIconData()||We),en=tt&&(Xe||!De.hasTextData()||Ue);!De.collisionArrays&&ve&&De.deserializeCollisionBoxes(ve);var vn=function(on,Fn){if(!ee[on.crossTileID])if(se)le.placements[on.crossTileID]=new bn(!1,!1,!1);else{var Hn,ir=!1,ar=!1,Mr=!0,Er=null,xr={box:null,offscreen:null},kr={box:null,offscreen:null},jr=null,fi=null,di=0,wr=0,Ur=0;Fn.textFeatureIndex?di=Fn.textFeatureIndex:on.useRuntimeCollisionCircles&&(di=on.featureIndex),Fn.verticalTextFeatureIndex&&(wr=Fn.verticalTextFeatureIndex);var oi=Fn.textBox;if(oi){var ai=function(Ri){var Xa=i.WritingMode.horizontal;if(De.allowVerticalPlacement&&!Ri&&le.prevPlacement){var jo=le.prevPlacement.placedOrientations[on.crossTileID];jo&&(le.placedOrientations[on.crossTileID]=jo,Xa=jo,le.markUsedOrientation(De,Xa,on))}return Xa},Ii=function(Ri,Xa){if(De.allowVerticalPlacement&&on.numVerticalGlyphVertices>0&&Fn.verticalTextBox)for(var jo=0,Kc=De.writingModes;jo0&&(vi=vi.filter(function(Ri){return Ri!==Ni.anchor})).unshift(Ni.anchor)}var ta=function(Ri,Xa,jo){for(var Kc=Ri.x2-Ri.x1,f1=Ri.y2-Ri.y1,L0=on.textBoxScale,d1=zt&&!tt?Xa:null,_f={box:[],offscreen:!1},fg=Xe?2*vi.length:vi.length,od=0;od=vi.length,zh=le.attemptAnchorPlacement(wf,Ri,Kc,f1,L0,lt,mt,At,Ze,Fe,p1,on,De,jo,d1);if(zh&&(_f=zh.placedGlyphBoxes)&&_f.box&&_f.box.length){ir=!0,Er=zh.shift;break}}return _f};Ii(function(){return ta(oi,Fn.iconBox,i.WritingMode.horizontal)},function(){var Ri=Fn.verticalTextBox,Xa=xr&&xr.box&&xr.box.length;return De.allowVerticalPlacement&&!Xa&&on.numVerticalGlyphVertices>0&&Ri?ta(Ri,Fn.verticalIconBox,i.WritingMode.vertical):{box:null,offscreen:null}}),xr&&(ir=xr.box,Mr=xr.offscreen);var pa=ai(xr&&xr.box);if(!ir&&le.prevPlacement){var ua=le.prevPlacement.variableOffsets[on.crossTileID];ua&&(le.variableOffsets[on.crossTileID]=ua,le.markUsedJustification(De,ua.anchor,on,pa))}}else{var Qi=function(Ri,Xa){var jo=le.collisionIndex.placeCollisionBox(Ri,Xe,At,Ze,Fe.predicate);return jo&&jo.box&&jo.box.length&&(le.markUsedOrientation(De,Xa,on),le.placedOrientations[on.crossTileID]=Xa),jo};Ii(function(){return Qi(oi,i.WritingMode.horizontal)},function(){var Ri=Fn.verticalTextBox;return De.allowVerticalPlacement&&on.numVerticalGlyphVertices>0&&Ri?Qi(Ri,i.WritingMode.vertical):{box:null,offscreen:null}}),ai(xr&&xr.box&&xr.box.length)}}if(ir=(Hn=xr)&&Hn.box&&Hn.box.length>0,Mr=Hn&&Hn.offscreen,on.useRuntimeCollisionCircles){var na=De.text.placedSymbolArray.get(on.centerJustifiedTextSymbolIndex),ca=i.evaluateSizeForFeature(De.textSizeData,Ie,na),Ia=He.get("text-padding"),Dl=on.collisionCircleDiameter;jr=le.collisionIndex.placeCollisionCircles(Xe,na,De.lineVertexArray,De.glyphOffsetArray,ca,Ze,at,Tt,K,mt,Fe.predicate,Dl,Ia),ir=Xe||jr.circles.length>0&&!jr.collisionDetected,Mr=Mr&&jr.offscreen}if(Fn.iconFeatureIndex&&(Ur=Fn.iconFeatureIndex),Fn.iconBox){var Za=function(Ri){var Xa=zt&&Er?$n(Ri,Er.x,Er.y,lt,mt,le.transform.angle):Ri;return le.collisionIndex.placeCollisionBox(Xa,tt,At,Ze,Fe.predicate)};ar=kr&&kr.box&&kr.box.length&&Fn.verticalIconBox?(fi=Za(Fn.verticalIconBox)).box.length>0:(fi=Za(Fn.iconBox)).box.length>0,Mr=Mr&&fi.offscreen}var li=Ue||on.numHorizontalGlyphVertices===0&&on.numVerticalGlyphVertices===0,ho=We||on.numIconVertices===0;if(li||ho?ho?li||(ar=ar&&ir):ir=ar&&ir:ar=ir=ar&&ir,ir&&Hn&&Hn.box&&(kr&&kr.box&&wr?le.collisionIndex.insertCollisionBox(Hn.box,He.get("text-ignore-placement"),De.bucketInstanceId,wr,Fe.ID):le.collisionIndex.insertCollisionBox(Hn.box,He.get("text-ignore-placement"),De.bucketInstanceId,di,Fe.ID)),ar&&fi&&le.collisionIndex.insertCollisionBox(fi.box,He.get("icon-ignore-placement"),De.bucketInstanceId,Ur,Fe.ID),jr&&(ir&&le.collisionIndex.insertCollisionCircles(jr.circles,He.get("text-ignore-placement"),De.bucketInstanceId,di,Fe.ID),K)){var _o=De.bucketInstanceId,Aa=le.collisionCircleArrays[_o];Aa===void 0&&(Aa=le.collisionCircleArrays[_o]=new Rn);for(var Ps=0;Ps=0;--ln){var an=tn[ln];vn(De.symbolInstances.get(an),De.collisionArrays[an])}else for(var Cn=Y.symbolInstanceStart;Cn=0&&(Y.text.placedSymbolArray.get(at).crossTileID=Te>=0&&at!==Te?0:K.crossTileID)}},tr.prototype.markUsedOrientation=function(Y,ee,K){for(var le=ee===i.WritingMode.horizontal||ee===i.WritingMode.horizontalOnly?ee:0,Te=ee===i.WritingMode.vertical?ee:0,De=0,He=[K.leftJustifiedTextSymbolIndex,K.centerJustifiedTextSymbolIndex,K.rightJustifiedTextSymbolIndex];De0||mt>0,vn=tt.numIconVertices>0,tn=le.placedOrientations[tt.crossTileID],ln=tn===i.WritingMode.vertical,an=tn===i.WritingMode.horizontal||tn===i.WritingMode.horizontalOnly;if(en){var Cn=En(Ht.text),_n=ln?mn:Cn;Ie(Y.text,lt,_n);var on=an?mn:Cn;Ie(Y.text,mt,on);var Fn=Ht.text.isHidden();[tt.rightJustifiedTextSymbolIndex,tt.centerJustifiedTextSymbolIndex,tt.leftJustifiedTextSymbolIndex].forEach(function(Ur){Ur>=0&&(Y.text.placedSymbolArray.get(Ur).hidden=Fn||ln?1:0)}),tt.verticalPlacedTextSymbolIndex>=0&&(Y.text.placedSymbolArray.get(tt.verticalPlacedTextSymbolIndex).hidden=Fn||an?1:0);var Hn=le.variableOffsets[tt.crossTileID];Hn&&le.markUsedJustification(Y,Hn.anchor,tt,tn);var ir=le.placedOrientations[tt.crossTileID];ir&&(le.markUsedJustification(Y,"left",tt,ir),le.markUsedOrientation(Y,ir,tt))}if(vn){var ar=En(Ht.icon),Mr=!(se&&tt.verticalPlacedIconSymbolIndex&&ln);if(tt.placedIconSymbolIndex>=0){var Er=Mr?ar:mn;Ie(Y.icon,tt.numIconVertices,Er),Y.icon.placedSymbolArray.get(tt.placedIconSymbolIndex).hidden=Ht.icon.isHidden()}if(tt.verticalPlacedIconSymbolIndex>=0){var xr=Mr?mn:ar;Ie(Y.icon,tt.numVerticalIconVertices,xr),Y.icon.placedSymbolArray.get(tt.verticalPlacedIconSymbolIndex).hidden=Ht.icon.isHidden()}}if(Y.hasIconCollisionBoxData()||Y.hasTextCollisionBoxData()){var kr=Y.collisionArrays[Xe];if(kr){var jr=new i.Point(0,0);if(kr.textBox||kr.verticalTextBox){var fi=!0;if(at){var di=le.variableOffsets[zt];di?(jr=Kn(di.anchor,di.width,di.height,di.textOffset,di.textBoxScale),Tt&&jr._rotate(At?le.transform.angle:-le.transform.angle)):fi=!1}kr.textBox&&mr(Y.textCollisionBox.collisionVertexArray,Ht.text.placed,!fi||ln,jr.x,jr.y),kr.verticalTextBox&&mr(Y.textCollisionBox.collisionVertexArray,Ht.text.placed,!fi||an,jr.x,jr.y)}var wr=!!(!an&&kr.verticalIconBox);kr.iconBox&&mr(Y.iconCollisionBox.collisionVertexArray,Ht.icon.placed,wr,se?jr.x:0,se?jr.y:0),kr.verticalIconBox&&mr(Y.iconCollisionBox.collisionVertexArray,Ht.icon.placed,!wr,se?jr.x:0,se?jr.y:0)}}},Ue=0;UeY},tr.prototype.setStale=function(){this.stale=!0};var nn=Math.pow(2,25),Pn=Math.pow(2,24),jt=Math.pow(2,17),Jt=Math.pow(2,16),hn=Math.pow(2,9),zn=Math.pow(2,8),On=Math.pow(2,1);function En(Y){if(Y.opacity===0&&!Y.placed)return 0;if(Y.opacity===1&&Y.placed)return 4294967295;var ee=Y.placed?1:0,K=Math.floor(127*Y.opacity);return K*nn+ee*Pn+K*jt+ee*Jt+K*hn+ee*zn+K*On+ee}var mn=0,wn=function(Y){this._sortAcrossTiles=Y.layout.get("symbol-z-order")!=="viewport-y"&&Y.layout.get("symbol-sort-key").constantOr(1)!==void 0,this._currentTileIndex=0,this._currentPartIndex=0,this._seenCrossTileIDs={},this._bucketParts=[]};wn.prototype.continuePlacement=function(Y,ee,K,le,Te){for(var De=this._bucketParts;this._currentTileIndex2};this._currentPlacementIndex>=0;){var He=ee[Y[this._currentPlacementIndex]],Ze=this.placement.collisionIndex.transform.zoom;if(He.type==="symbol"&&(!He.minzoom||He.minzoom<=Ze)&&(!He.maxzoom||He.maxzoom>Ze)){if(this._inProgressLayer||(this._inProgressLayer=new wn(He)),this._inProgressLayer.continuePlacement(K[He.source],this.placement,this._showCollisionBoxes,He,De))return;delete this._inProgressLayer}this._currentPlacementIndex--}this._done=!0},gn.prototype.commit=function(Y){return this.placement.commit(Y),this.placement};var yn=512/i.EXTENT/2,Sn=function(Y,ee,K){this.tileID=Y,this.indexedSymbolInstances={},this.bucketInstanceId=K;for(var le=0;leY.overscaledZ)for(var Ze in He){var at=He[Ze];at.tileID.isChildOf(Y)&&at.findMatches(ee.symbolInstances,Y,Te)}else{var Tt=He[Y.scaledTo(Number(De)).key];Tt&&Tt.findMatches(ee.symbolInstances,Y,Te)}}for(var At=0;At1?"@2x":"",se=i.getJSON(De.transformRequest(De.normalizeSpriteURL(Te,At,".json"),i.ResourceType.SpriteJSON),function(Fe,Ue){se=null,Tt||(Tt=Fe,Ze=Ue,Ie())}),ve=i.getImage(De.transformRequest(De.normalizeSpriteURL(Te,At,".png"),i.ResourceType.SpriteImage),function(Fe,Ue){ve=null,Tt||(Tt=Fe,at=Ue,Ie())});function Ie(){if(Tt)He(Tt);else if(Ze&&at){var Fe=i.browser.getImageData(at),Ue={};for(var We in Ze){var Xe=Ze[We],tt=Xe.width,lt=Xe.height,mt=Xe.x,zt=Xe.y,Ut=Xe.sdf,Ht=Xe.pixelRatio,en=Xe.stretchX,vn=Xe.stretchY,tn=Xe.content,ln=new i.RGBAImage({width:tt,height:lt});i.RGBAImage.copy(Fe,ln,{x:mt,y:zt},{x:0,y:0},{width:tt,height:lt}),Ue[We]={data:ln,pixelRatio:Ht,sdf:Ut,stretchX:en,stretchY:vn,content:tn}}He(null,Ue)}}return{cancel:function(){se&&(se.cancel(),se=null),ve&&(ve.cancel(),ve=null)}}}(K,this.map._requestManager,function(Te,De){if(le._spriteRequest=null,Te)le.fire(new i.ErrorEvent(Te));else if(De)for(var He in De)le.imageManager.addImage(He,De[He]);le.imageManager.setLoaded(!0),le._availableImages=le.imageManager.listImages(),le.dispatcher.broadcast("setImages",le._availableImages),le.fire(new i.Event("data",{dataType:"style"}))})},ee.prototype._validateLayer=function(K){var le=this.sourceCaches[K.source];if(le){var Te=K.sourceLayer;if(Te){var De=le.getSource();(De.type==="geojson"||De.vectorLayerIds&&De.vectorLayerIds.indexOf(Te)===-1)&&this.fire(new i.ErrorEvent(new Error('Source layer "'+Te+'" does not exist on source "'+De.id+'" as specified by style layer "'+K.id+'"')))}}},ee.prototype.loaded=function(){if(!this._loaded||Object.keys(this._updatedSources).length)return!1;for(var K in this.sourceCaches)if(!this.sourceCaches[K].loaded())return!1;return!!this.imageManager.isLoaded()},ee.prototype._serializeLayers=function(K){for(var le=[],Te=0,De=K;Te0)throw new Error("Unimplemented: "+De.map(function(He){return He.command}).join(", ")+".");return Te.forEach(function(He){He.command!=="setTransition"&&le[He.command].apply(le,He.args)}),this.stylesheet=K,!0},ee.prototype.addImage=function(K,le){if(this.getImage(K))return this.fire(new i.ErrorEvent(new Error("An image with this name already exists.")));this.imageManager.addImage(K,le),this._availableImages=this.imageManager.listImages(),this._changedImages[K]=!0,this._changed=!0,this.fire(new i.Event("data",{dataType:"style"}))},ee.prototype.updateImage=function(K,le){this.imageManager.updateImage(K,le)},ee.prototype.getImage=function(K){return this.imageManager.getImage(K)},ee.prototype.removeImage=function(K){if(!this.getImage(K))return this.fire(new i.ErrorEvent(new Error("No image with this name exists.")));this.imageManager.removeImage(K),this._availableImages=this.imageManager.listImages(),this._changedImages[K]=!0,this._changed=!0,this.fire(new i.Event("data",{dataType:"style"}))},ee.prototype.listImages=function(){return this._checkLoaded(),this.imageManager.listImages()},ee.prototype.addSource=function(K,le,Te){var De=this;if(Te===void 0&&(Te={}),this._checkLoaded(),this.sourceCaches[K]!==void 0)throw new Error("There is already a source with this ID");if(!le.type)throw new Error("The type property must be defined, but the only the following properties were given: "+Object.keys(le).join(", ")+".");if(!(["vector","raster","geojson","video","image"].indexOf(le.type)>=0&&this._validate(i.validateStyle.source,"sources."+K,le,null,Te))){this.map&&this.map._collectResourceTiming&&(le.collectResourceTiming=!0);var He=this.sourceCaches[K]=new ft(K,le,this.dispatcher);He.style=this,He.setEventedParent(this,function(){return{isSourceLoaded:De.loaded(),source:He.serialize(),sourceId:K}}),He.onAdd(this.map),this._changed=!0}},ee.prototype.removeSource=function(K){if(this._checkLoaded(),this.sourceCaches[K]===void 0)throw new Error("There is no source with this ID");for(var le in this._layers)if(this._layers[le].source===K)return this.fire(new i.ErrorEvent(new Error('Source "'+K+'" cannot be removed while layer "'+le+'" is using it.')));var Te=this.sourceCaches[K];delete this.sourceCaches[K],delete this._updatedSources[K],Te.fire(new i.Event("data",{sourceDataType:"metadata",dataType:"source",sourceId:K})),Te.setEventedParent(null),Te.clearTiles(),Te.onRemove&&Te.onRemove(this.map),this._changed=!0},ee.prototype.setGeoJSONSourceData=function(K,le){this._checkLoaded(),this.sourceCaches[K].getSource().setData(le),this._changed=!0},ee.prototype.getSource=function(K){return this.sourceCaches[K]&&this.sourceCaches[K].getSource()},ee.prototype.addLayer=function(K,le,Te){Te===void 0&&(Te={}),this._checkLoaded();var De=K.id;if(this.getLayer(De))this.fire(new i.ErrorEvent(new Error('Layer with id "'+De+'" already exists on this map')));else{var He;if(K.type==="custom"){if(Qn(this,i.validateCustomStyleLayer(K)))return;He=i.createStyleLayer(K)}else{if(typeof K.source=="object"&&(this.addSource(De,K.source),K=i.clone$1(K),K=i.extend(K,{source:De})),this._validate(i.validateStyle.layer,"layers."+De,K,{arrayIndex:-1},Te))return;He=i.createStyleLayer(K),this._validateLayer(He),He.setEventedParent(this,{layer:{id:De}}),this._serializedLayers[He.id]=He.serialize()}var Ze=le?this._order.indexOf(le):this._order.length;if(le&&Ze===-1)this.fire(new i.ErrorEvent(new Error('Layer with id "'+le+'" does not exist on this map.')));else{if(this._order.splice(Ze,0,De),this._layerOrderChanged=!0,this._layers[De]=He,this._removedLayers[De]&&He.source&&He.type!=="custom"){var at=this._removedLayers[De];delete this._removedLayers[De],at.type!==He.type?this._updatedSources[He.source]="clear":(this._updatedSources[He.source]="reload",this.sourceCaches[He.source].pause())}this._updateLayer(He),He.onAdd&&He.onAdd(this.map)}}},ee.prototype.moveLayer=function(K,le){if(this._checkLoaded(),this._changed=!0,this._layers[K]){if(K!==le){var Te=this._order.indexOf(K);this._order.splice(Te,1);var De=le?this._order.indexOf(le):this._order.length;le&&De===-1?this.fire(new i.ErrorEvent(new Error('Layer with id "'+le+'" does not exist on this map.'))):(this._order.splice(De,0,K),this._layerOrderChanged=!0)}}else this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be moved.")))},ee.prototype.removeLayer=function(K){this._checkLoaded();var le=this._layers[K];if(le){le.setEventedParent(null);var Te=this._order.indexOf(K);this._order.splice(Te,1),this._layerOrderChanged=!0,this._changed=!0,this._removedLayers[K]=le,delete this._layers[K],delete this._serializedLayers[K],delete this._updatedLayers[K],delete this._updatedPaintProps[K],le.onRemove&&le.onRemove(this.map)}else this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be removed.")))},ee.prototype.getLayer=function(K){return this._layers[K]},ee.prototype.hasLayer=function(K){return K in this._layers},ee.prototype.setLayerZoomRange=function(K,le,Te){this._checkLoaded();var De=this.getLayer(K);De?De.minzoom===le&&De.maxzoom===Te||(le!=null&&(De.minzoom=le),Te!=null&&(De.maxzoom=Te),this._updateLayer(De)):this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot have zoom extent.")))},ee.prototype.setFilter=function(K,le,Te){Te===void 0&&(Te={}),this._checkLoaded();var De=this.getLayer(K);if(De){if(!i.deepEqual(De.filter,le))return le==null?(De.filter=void 0,void this._updateLayer(De)):void(this._validate(i.validateStyle.filter,"layers."+De.id+".filter",le,null,Te)||(De.filter=i.clone$1(le),this._updateLayer(De)))}else this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be filtered.")))},ee.prototype.getFilter=function(K){return i.clone$1(this.getLayer(K).filter)},ee.prototype.setLayoutProperty=function(K,le,Te,De){De===void 0&&(De={}),this._checkLoaded();var He=this.getLayer(K);He?i.deepEqual(He.getLayoutProperty(le),Te)||(He.setLayoutProperty(le,Te,De),this._updateLayer(He)):this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be styled.")))},ee.prototype.getLayoutProperty=function(K,le){var Te=this.getLayer(K);if(Te)return Te.getLayoutProperty(le);this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style.")))},ee.prototype.setPaintProperty=function(K,le,Te,De){De===void 0&&(De={}),this._checkLoaded();var He=this.getLayer(K);He?i.deepEqual(He.getPaintProperty(le),Te)||(He.setPaintProperty(le,Te,De)&&this._updateLayer(He),this._changed=!0,this._updatedPaintProps[K]=!0):this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be styled.")))},ee.prototype.getPaintProperty=function(K,le){return this.getLayer(K).getPaintProperty(le)},ee.prototype.setFeatureState=function(K,le){this._checkLoaded();var Te=K.source,De=K.sourceLayer,He=this.sourceCaches[Te];if(He!==void 0){var Ze=He.getSource().type;Ze==="geojson"&&De?this.fire(new i.ErrorEvent(new Error("GeoJSON sources cannot have a sourceLayer parameter."))):Ze!=="vector"||De?(K.id===void 0&&this.fire(new i.ErrorEvent(new Error("The feature id parameter must be provided."))),He.setFeatureState(De,K.id,le)):this.fire(new i.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new i.ErrorEvent(new Error("The source '"+Te+"' does not exist in the map's style.")))},ee.prototype.removeFeatureState=function(K,le){this._checkLoaded();var Te=K.source,De=this.sourceCaches[Te];if(De!==void 0){var He=De.getSource().type,Ze=He==="vector"?K.sourceLayer:void 0;He!=="vector"||Ze?le&&typeof K.id!="string"&&typeof K.id!="number"?this.fire(new i.ErrorEvent(new Error("A feature id is requred to remove its specific state property."))):De.removeFeatureState(Ze,K.id,le):this.fire(new i.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new i.ErrorEvent(new Error("The source '"+Te+"' does not exist in the map's style.")))},ee.prototype.getFeatureState=function(K){this._checkLoaded();var le=K.source,Te=K.sourceLayer,De=this.sourceCaches[le];if(De!==void 0){if(De.getSource().type!=="vector"||Te)return K.id===void 0&&this.fire(new i.ErrorEvent(new Error("The feature id parameter must be provided."))),De.getFeatureState(Te,K.id);this.fire(new i.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new i.ErrorEvent(new Error("The source '"+le+"' does not exist in the map's style.")))},ee.prototype.getTransition=function(){return i.extend({duration:300,delay:0},this.stylesheet&&this.stylesheet.transition)},ee.prototype.serialize=function(){return i.filterObject({version:this.stylesheet.version,name:this.stylesheet.name,metadata:this.stylesheet.metadata,light:this.stylesheet.light,center:this.stylesheet.center,zoom:this.stylesheet.zoom,bearing:this.stylesheet.bearing,pitch:this.stylesheet.pitch,sprite:this.stylesheet.sprite,glyphs:this.stylesheet.glyphs,transition:this.stylesheet.transition,sources:i.mapObject(this.sourceCaches,function(K){return K.serialize()}),layers:this._serializeLayers(this._order)},function(K){return K!==void 0})},ee.prototype._updateLayer=function(K){this._updatedLayers[K.id]=!0,K.source&&!this._updatedSources[K.source]&&this.sourceCaches[K.source].getSource().type!=="raster"&&(this._updatedSources[K.source]="reload",this.sourceCaches[K.source].pause()),this._changed=!0},ee.prototype._flattenAndSortRenderedFeatures=function(K){for(var le=this,Te=function(tn){return le._layers[tn].type==="fill-extrusion"},De={},He=[],Ze=this._order.length-1;Ze>=0;Ze--){var at=this._order[Ze];if(Te(at)){De[at]=Ze;for(var Tt=0,At=K;Tt=0;We--){var Xe=this._order[We];if(Te(Xe))for(var tt=He.length-1;tt>=0;tt--){var lt=He[tt].feature;if(De[lt.layer.id] 0.5) {gl_FragColor=vec4(0.0,0.0,1.0,0.5)*alpha;}if (v_notUsed > 0.5) {gl_FragColor*=.1;}}","attribute vec2 a_pos;attribute vec2 a_anchor_pos;attribute vec2 a_extrude;attribute vec2 a_placed;attribute vec2 a_shift;uniform mat4 u_matrix;uniform vec2 u_extrude_scale;uniform float u_camera_to_center_distance;varying float v_placed;varying float v_notUsed;void main() {vec4 projectedPoint=u_matrix*vec4(a_anchor_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);gl_Position=u_matrix*vec4(a_pos,0.0,1.0);gl_Position.xy+=(a_extrude+a_shift)*u_extrude_scale*gl_Position.w*collision_perspective_ratio;v_placed=a_placed.x;v_notUsed=a_placed.y;}"),sa=Ui("varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;void main() {float alpha=0.5*min(v_perspective_ratio,1.0);float stroke_radius=0.9*max(v_perspective_ratio,1.0);float distance_to_center=length(v_extrude);float distance_to_edge=abs(distance_to_center-v_radius);float opacity_t=smoothstep(-stroke_radius,0.0,-distance_to_edge);vec4 color=mix(vec4(0.0,0.0,1.0,0.5),vec4(1.0,0.0,0.0,1.0),v_collision);gl_FragColor=color*alpha*opacity_t;}","attribute vec2 a_pos;attribute float a_radius;attribute vec2 a_flags;uniform mat4 u_matrix;uniform mat4 u_inv_matrix;uniform vec2 u_viewport_size;uniform float u_camera_to_center_distance;varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;vec3 toTilePosition(vec2 screenPos) {vec4 rayStart=u_inv_matrix*vec4(screenPos,-1.0,1.0);vec4 rayEnd =u_inv_matrix*vec4(screenPos, 1.0,1.0);rayStart.xyz/=rayStart.w;rayEnd.xyz /=rayEnd.w;highp float t=(0.0-rayStart.z)/(rayEnd.z-rayStart.z);return mix(rayStart.xyz,rayEnd.xyz,t);}void main() {vec2 quadCenterPos=a_pos;float radius=a_radius;float collision=a_flags.x;float vertexIdx=a_flags.y;vec2 quadVertexOffset=vec2(mix(-1.0,1.0,float(vertexIdx >=2.0)),mix(-1.0,1.0,float(vertexIdx >=1.0 && vertexIdx <=2.0)));vec2 quadVertexExtent=quadVertexOffset*radius;vec3 tilePos=toTilePosition(quadCenterPos);vec4 clipPos=u_matrix*vec4(tilePos,1.0);highp float camera_to_anchor_distance=clipPos.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);float padding_factor=1.2;v_radius=radius;v_extrude=quadVertexExtent*padding_factor;v_perspective_ratio=collision_perspective_ratio;v_collision=collision;gl_Position=vec4(clipPos.xyz/clipPos.w,1.0)+vec4(quadVertexExtent*padding_factor/u_viewport_size*2.0,0.0,0.0);}"),uo=Ui("uniform highp vec4 u_color;uniform sampler2D u_overlay;varying vec2 v_uv;void main() {vec4 overlay_color=texture2D(u_overlay,v_uv);gl_FragColor=mix(u_color,overlay_color,overlay_color.a);}","attribute vec2 a_pos;varying vec2 v_uv;uniform mat4 u_matrix;uniform float u_overlay_scale;void main() {v_uv=a_pos/8192.0;gl_Position=u_matrix*vec4(a_pos*u_overlay_scale,0,1);}"),La=Ui(`#pragma mapbox: define highp vec4 color +}`,"uniform mat4 u_matrix;uniform vec2 u_world;attribute vec2 a_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos*u_world,0,1);v_pos.x=a_pos.x;v_pos.y=1.0-a_pos.y;}"),ea=Ui("varying float v_placed;varying float v_notUsed;void main() {float alpha=0.5;gl_FragColor=vec4(1.0,0.0,0.0,1.0)*alpha;if (v_placed > 0.5) {gl_FragColor=vec4(0.0,0.0,1.0,0.5)*alpha;}if (v_notUsed > 0.5) {gl_FragColor*=.1;}}","attribute vec2 a_pos;attribute vec2 a_anchor_pos;attribute vec2 a_extrude;attribute vec2 a_placed;attribute vec2 a_shift;uniform mat4 u_matrix;uniform vec2 u_extrude_scale;uniform float u_camera_to_center_distance;varying float v_placed;varying float v_notUsed;void main() {vec4 projectedPoint=u_matrix*vec4(a_anchor_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);gl_Position=u_matrix*vec4(a_pos,0.0,1.0);gl_Position.xy+=(a_extrude+a_shift)*u_extrude_scale*gl_Position.w*collision_perspective_ratio;v_placed=a_placed.x;v_notUsed=a_placed.y;}"),sa=Ui("varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;void main() {float alpha=0.5*min(v_perspective_ratio,1.0);float stroke_radius=0.9*max(v_perspective_ratio,1.0);float distance_to_center=length(v_extrude);float distance_to_edge=abs(distance_to_center-v_radius);float opacity_t=smoothstep(-stroke_radius,0.0,-distance_to_edge);vec4 color=mix(vec4(0.0,0.0,1.0,0.5),vec4(1.0,0.0,0.0,1.0),v_collision);gl_FragColor=color*alpha*opacity_t;}","attribute vec2 a_pos;attribute float a_radius;attribute vec2 a_flags;uniform mat4 u_matrix;uniform mat4 u_inv_matrix;uniform vec2 u_viewport_size;uniform float u_camera_to_center_distance;varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;vec3 toTilePosition(vec2 screenPos) {vec4 rayStart=u_inv_matrix*vec4(screenPos,-1.0,1.0);vec4 rayEnd =u_inv_matrix*vec4(screenPos, 1.0,1.0);rayStart.xyz/=rayStart.w;rayEnd.xyz /=rayEnd.w;highp float t=(0.0-rayStart.z)/(rayEnd.z-rayStart.z);return mix(rayStart.xyz,rayEnd.xyz,t);}void main() {vec2 quadCenterPos=a_pos;float radius=a_radius;float collision=a_flags.x;float vertexIdx=a_flags.y;vec2 quadVertexOffset=vec2(mix(-1.0,1.0,float(vertexIdx >=2.0)),mix(-1.0,1.0,float(vertexIdx >=1.0 && vertexIdx <=2.0)));vec2 quadVertexExtent=quadVertexOffset*radius;vec3 tilePos=toTilePosition(quadCenterPos);vec4 clipPos=u_matrix*vec4(tilePos,1.0);highp float camera_to_anchor_distance=clipPos.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);float padding_factor=1.2;v_radius=radius;v_extrude=quadVertexExtent*padding_factor;v_perspective_ratio=collision_perspective_ratio;v_collision=collision;gl_Position=vec4(clipPos.xyz/clipPos.w,1.0)+vec4(quadVertexExtent*padding_factor/u_viewport_size*2.0,0.0,0.0);}"),uo=Ui("uniform highp vec4 u_color;uniform sampler2D u_overlay;varying vec2 v_uv;void main() {vec4 overlay_color=texture2D(u_overlay,v_uv);gl_FragColor=mix(u_color,overlay_color,overlay_color.a);}","attribute vec2 a_pos;varying vec2 v_uv;uniform mat4 u_matrix;uniform float u_overlay_scale;void main() {v_uv=a_pos/8192.0;gl_Position=u_matrix*vec4(a_pos*u_overlay_scale,0,1);}"),La=Ui(`#pragma mapbox: define highp vec4 color #pragma mapbox: define lowp float opacity void main() { #pragma mapbox: initialize highp vec4 color @@ -2621,7 +2621,7 @@ void main() { #pragma mapbox: initialize mediump vec4 pattern_to #pragma mapbox: initialize lowp float pixel_ratio_from #pragma mapbox: initialize lowp float pixel_ratio_to -vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;gl_Position=u_matrix*vec4(a_pos,0,1);vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,a_pos);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;}`),as=Ui(`uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b; +vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;gl_Position=u_matrix*vec4(a_pos,0,1);vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,a_pos);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;}`),rs=Ui(`uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b; #pragma mapbox: define lowp float opacity #pragma mapbox: define lowp vec4 pattern_from #pragma mapbox: define lowp vec4 pattern_to @@ -2645,7 +2645,7 @@ void main() { #pragma mapbox: initialize mediump vec4 pattern_to #pragma mapbox: initialize lowp float pixel_ratio_from #pragma mapbox: initialize lowp float pixel_ratio_to -vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;gl_Position=u_matrix*vec4(a_pos,0,1);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileZoomRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileZoomRatio,a_pos);}`),tl=Ui(`varying vec4 v_color;void main() {gl_FragColor=v_color; +vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;gl_Position=u_matrix*vec4(a_pos,0,1);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileZoomRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileZoomRatio,a_pos);}`),el=Ui(`varying vec4 v_color;void main() {gl_FragColor=v_color; #ifdef OVERDRAW_INSPECTOR gl_FragColor=vec4(1.0); #endif @@ -2657,7 +2657,7 @@ void main() { #pragma mapbox: initialize highp float base #pragma mapbox: initialize highp float height #pragma mapbox: initialize highp vec4 color -vec3 normal=a_normal_ed.xyz;base=max(0.0,base);height=max(0.0,height);float t=mod(normal.x,2.0);gl_Position=u_matrix*vec4(a_pos,t > 0.0 ? height : base,1);float colorvalue=color.r*0.2126+color.g*0.7152+color.b*0.0722;v_color=vec4(0.0,0.0,0.0,1.0);vec4 ambientlight=vec4(0.03,0.03,0.03,1.0);color+=ambientlight;float directional=clamp(dot(normal/16384.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((1.0-colorvalue+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_color.r+=clamp(color.r*directional*u_lightcolor.r,mix(0.0,0.3,1.0-u_lightcolor.r),1.0);v_color.g+=clamp(color.g*directional*u_lightcolor.g,mix(0.0,0.3,1.0-u_lightcolor.g),1.0);v_color.b+=clamp(color.b*directional*u_lightcolor.b,mix(0.0,0.3,1.0-u_lightcolor.b),1.0);v_color*=u_opacity;}`),Eu=Ui(`uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting; +vec3 normal=a_normal_ed.xyz;base=max(0.0,base);height=max(0.0,height);float t=mod(normal.x,2.0);gl_Position=u_matrix*vec4(a_pos,t > 0.0 ? height : base,1);float colorvalue=color.r*0.2126+color.g*0.7152+color.b*0.0722;v_color=vec4(0.0,0.0,0.0,1.0);vec4 ambientlight=vec4(0.03,0.03,0.03,1.0);color+=ambientlight;float directional=clamp(dot(normal/16384.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((1.0-colorvalue+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_color.r+=clamp(color.r*directional*u_lightcolor.r,mix(0.0,0.3,1.0-u_lightcolor.r),1.0);v_color.g+=clamp(color.g*directional*u_lightcolor.g,mix(0.0,0.3,1.0-u_lightcolor.g),1.0);v_color.b+=clamp(color.b*directional*u_lightcolor.b,mix(0.0,0.3,1.0-u_lightcolor.b),1.0);v_color*=u_opacity;}`),Cu=Ui(`uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting; #pragma mapbox: define lowp float base #pragma mapbox: define lowp float height #pragma mapbox: define lowp vec4 pattern_from @@ -2691,20 +2691,20 @@ void main() { #pragma mapbox: initialize lowp float pixel_ratio_to vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec3 normal=a_normal_ed.xyz;float edgedistance=a_normal_ed.w;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;base=max(0.0,base);height=max(0.0,height);float t=mod(normal.x,2.0);float z=t > 0.0 ? height : base;gl_Position=u_matrix*vec4(a_pos,z,1);vec2 pos=normal.x==1.0 && normal.y==0.0 && normal.z==16384.0 ? a_pos -: vec2(edgedistance,z*u_height_factor);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,pos);v_lighting=vec4(0.0,0.0,0.0,1.0);float directional=clamp(dot(normal/16383.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((0.5+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_lighting.rgb+=clamp(directional*u_lightcolor,mix(vec3(0.0),vec3(0.3),1.0-u_lightcolor),vec3(1.0));v_lighting*=u_opacity;}`),gh=Ui(`#ifdef GL_ES +: vec2(edgedistance,z*u_height_factor);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,pos);v_lighting=vec4(0.0,0.0,0.0,1.0);float directional=clamp(dot(normal/16383.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((0.5+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_lighting.rgb+=clamp(directional*u_lightcolor,mix(vec3(0.0),vec3(0.3),1.0-u_lightcolor),vec3(1.0));v_lighting*=u_opacity;}`),gf=Ui(`#ifdef GL_ES precision highp float; #endif uniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_dimension;uniform float u_zoom;uniform float u_maxzoom;uniform vec4 u_unpack;float getElevation(vec2 coord,float bias) {vec4 data=texture2D(u_image,coord)*255.0;data.a=-1.0;return dot(data,u_unpack)/4.0;}void main() {vec2 epsilon=1.0/u_dimension;float a=getElevation(v_pos+vec2(-epsilon.x,-epsilon.y),0.0);float b=getElevation(v_pos+vec2(0,-epsilon.y),0.0);float c=getElevation(v_pos+vec2(epsilon.x,-epsilon.y),0.0);float d=getElevation(v_pos+vec2(-epsilon.x,0),0.0);float e=getElevation(v_pos,0.0);float f=getElevation(v_pos+vec2(epsilon.x,0),0.0);float g=getElevation(v_pos+vec2(-epsilon.x,epsilon.y),0.0);float h=getElevation(v_pos+vec2(0,epsilon.y),0.0);float i=getElevation(v_pos+vec2(epsilon.x,epsilon.y),0.0);float exaggeration=u_zoom < 2.0 ? 0.4 : u_zoom < 4.5 ? 0.35 : 0.3;vec2 deriv=vec2((c+f+f+i)-(a+d+d+g),(g+h+h+i)-(a+b+b+c))/ pow(2.0,(u_zoom-u_maxzoom)*exaggeration+19.2562-u_zoom);gl_FragColor=clamp(vec4(deriv.x/2.0+0.5,deriv.y/2.0+0.5,1.0,1.0),0.0,1.0); #ifdef OVERDRAW_INSPECTOR gl_FragColor=vec4(1.0); #endif -}`,"uniform mat4 u_matrix;uniform vec2 u_dimension;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);highp vec2 epsilon=1.0/u_dimension;float scale=(u_dimension.x-2.0)/u_dimension.x;v_pos=(a_texture_pos/8192.0)*scale+epsilon;}"),Af=Ui(`uniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_latrange;uniform vec2 u_light;uniform vec4 u_shadow;uniform vec4 u_highlight;uniform vec4 u_accent; +}`,"uniform mat4 u_matrix;uniform vec2 u_dimension;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);highp vec2 epsilon=1.0/u_dimension;float scale=(u_dimension.x-2.0)/u_dimension.x;v_pos=(a_texture_pos/8192.0)*scale+epsilon;}"),Mh=Ui(`uniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_latrange;uniform vec2 u_light;uniform vec4 u_shadow;uniform vec4 u_highlight;uniform vec4 u_accent; #define PI 3.141592653589793 void main() {vec4 pixel=texture2D(u_image,v_pos);vec2 deriv=((pixel.rg*2.0)-1.0);float scaleFactor=cos(radians((u_latrange[0]-u_latrange[1])*(1.0-v_pos.y)+u_latrange[1]));float slope=atan(1.25*length(deriv)/scaleFactor);float aspect=deriv.x !=0.0 ? atan(deriv.y,-deriv.x) : PI/2.0*(deriv.y > 0.0 ? 1.0 :-1.0);float intensity=u_light.x;float azimuth=u_light.y+PI;float base=1.875-intensity*1.75;float maxValue=0.5*PI;float scaledSlope=intensity !=0.5 ? ((pow(base,slope)-1.0)/(pow(base,maxValue)-1.0))*maxValue : slope;float accent=cos(scaledSlope);vec4 accent_color=(1.0-accent)*u_accent*clamp(intensity*2.0,0.0,1.0);float shade=abs(mod((aspect+azimuth)/PI+0.5,2.0)-1.0);vec4 shade_color=mix(u_shadow,u_highlight,shade)*sin(scaledSlope)*clamp(intensity*2.0,0.0,1.0);gl_FragColor=accent_color*(1.0-shade_color.a)+shade_color; #ifdef OVERDRAW_INSPECTOR gl_FragColor=vec4(1.0); #endif -}`,"uniform mat4 u_matrix;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos=a_texture_pos/8192.0;}"),Lu=Ui(`uniform lowp float u_device_pixel_ratio;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale; +}`,"uniform mat4 u_matrix;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos=a_texture_pos/8192.0;}"),Eu=Ui(`uniform lowp float u_device_pixel_ratio;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale; #pragma mapbox: define highp vec4 color #pragma mapbox: define lowp float blur #pragma mapbox: define lowp float opacity @@ -2732,7 +2732,7 @@ void main() { #pragma mapbox: initialize mediump float gapwidth #pragma mapbox: initialize lowp float offset #pragma mapbox: initialize mediump float width -float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;v_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*2.0;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_width2=vec2(outset,inset);}`),os=Ui(`uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;varying highp float v_lineprogress; +float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;v_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*2.0;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_width2=vec2(outset,inset);}`),is=Ui(`uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;varying highp float v_lineprogress; #pragma mapbox: define lowp float blur #pragma mapbox: define lowp float opacity void main() { @@ -2757,7 +2757,7 @@ void main() { #pragma mapbox: initialize mediump float gapwidth #pragma mapbox: initialize lowp float offset #pragma mapbox: initialize mediump float width -float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;v_lineprogress=(floor(a_data.z/4.0)+a_data.w*64.0)*2.0/MAX_LINE_DISTANCE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_width2=vec2(outset,inset);}`),Sf=Ui(`uniform lowp float u_device_pixel_ratio;uniform vec2 u_texsize;uniform float u_fade;uniform mediump vec3 u_scale;uniform sampler2D u_image;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;varying float v_width; +float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;v_lineprogress=(floor(a_data.z/4.0)+a_data.w*64.0)*2.0/MAX_LINE_DISTANCE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_width2=vec2(outset,inset);}`),Ah=Ui(`uniform lowp float u_device_pixel_ratio;uniform vec2 u_texsize;uniform float u_fade;uniform mediump vec3 u_scale;uniform sampler2D u_image;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;varying float v_width; #pragma mapbox: define lowp vec4 pattern_from #pragma mapbox: define lowp vec4 pattern_to #pragma mapbox: define lowp float pixel_ratio_from @@ -2800,7 +2800,7 @@ void main() { #pragma mapbox: initialize mediump vec4 pattern_to #pragma mapbox: initialize lowp float pixel_ratio_from #pragma mapbox: initialize lowp float pixel_ratio_to -float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_linesofar=a_linesofar;v_width2=vec2(outset,inset);v_width=floorwidth;}`),$a=Ui(`uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;uniform float u_sdfgamma;uniform float u_mix;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale; +float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_linesofar=a_linesofar;v_width2=vec2(outset,inset);v_width=floorwidth;}`),Ya=Ui(`uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;uniform float u_sdfgamma;uniform float u_mix;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale; #pragma mapbox: define highp vec4 color #pragma mapbox: define lowp float blur #pragma mapbox: define lowp float opacity @@ -2835,7 +2835,7 @@ void main() { #pragma mapbox: initialize lowp float offset #pragma mapbox: initialize mediump float width #pragma mapbox: initialize lowp float floorwidth -float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_tex_a=vec2(a_linesofar*u_patternscale_a.x/floorwidth,normal.y*u_patternscale_a.y+u_tex_y_a);v_tex_b=vec2(a_linesofar*u_patternscale_b.x/floorwidth,normal.y*u_patternscale_b.y+u_tex_y_b);v_width2=vec2(outset,inset);}`),fc=Ui(`uniform float u_fade_t;uniform float u_opacity;uniform sampler2D u_image0;uniform sampler2D u_image1;varying vec2 v_pos0;varying vec2 v_pos1;uniform float u_brightness_low;uniform float u_brightness_high;uniform float u_saturation_factor;uniform float u_contrast_factor;uniform vec3 u_spin_weights;void main() {vec4 color0=texture2D(u_image0,v_pos0);vec4 color1=texture2D(u_image1,v_pos1);if (color0.a > 0.0) {color0.rgb=color0.rgb/color0.a;}if (color1.a > 0.0) {color1.rgb=color1.rgb/color1.a;}vec4 color=mix(color0,color1,u_fade_t);color.a*=u_opacity;vec3 rgb=color.rgb;rgb=vec3(dot(rgb,u_spin_weights.xyz),dot(rgb,u_spin_weights.zxy),dot(rgb,u_spin_weights.yzx));float average=(color.r+color.g+color.b)/3.0;rgb+=(average-rgb)*u_saturation_factor;rgb=(rgb-0.5)*u_contrast_factor+0.5;vec3 u_high_vec=vec3(u_brightness_low,u_brightness_low,u_brightness_low);vec3 u_low_vec=vec3(u_brightness_high,u_brightness_high,u_brightness_high);gl_FragColor=vec4(mix(u_high_vec,u_low_vec,rgb)*color.a,color.a); +float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_tex_a=vec2(a_linesofar*u_patternscale_a.x/floorwidth,normal.y*u_patternscale_a.y+u_tex_y_a);v_tex_b=vec2(a_linesofar*u_patternscale_b.x/floorwidth,normal.y*u_patternscale_b.y+u_tex_y_b);v_width2=vec2(outset,inset);}`),hc=Ui(`uniform float u_fade_t;uniform float u_opacity;uniform sampler2D u_image0;uniform sampler2D u_image1;varying vec2 v_pos0;varying vec2 v_pos1;uniform float u_brightness_low;uniform float u_brightness_high;uniform float u_saturation_factor;uniform float u_contrast_factor;uniform vec3 u_spin_weights;void main() {vec4 color0=texture2D(u_image0,v_pos0);vec4 color1=texture2D(u_image1,v_pos1);if (color0.a > 0.0) {color0.rgb=color0.rgb/color0.a;}if (color1.a > 0.0) {color1.rgb=color1.rgb/color1.a;}vec4 color=mix(color0,color1,u_fade_t);color.a*=u_opacity;vec3 rgb=color.rgb;rgb=vec3(dot(rgb,u_spin_weights.xyz),dot(rgb,u_spin_weights.zxy),dot(rgb,u_spin_weights.yzx));float average=(color.r+color.g+color.b)/3.0;rgb+=(average-rgb)*u_saturation_factor;rgb=(rgb-0.5)*u_contrast_factor+0.5;vec3 u_high_vec=vec3(u_brightness_low,u_brightness_low,u_brightness_low);vec3 u_low_vec=vec3(u_brightness_high,u_brightness_high,u_brightness_high);gl_FragColor=vec4(mix(u_high_vec,u_low_vec,rgb)*color.a,color.a); #ifdef OVERDRAW_INSPECTOR gl_FragColor=vec4(1.0); #endif @@ -2853,7 +2853,7 @@ void main() { #pragma mapbox: initialize lowp float opacity vec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;vec2 a_minFontScale=a_pixeloffset.zw/256.0;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ? camera_to_anchor_distance/u_camera_to_center_distance : -u_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*max(a_minFontScale,fontScale)+a_pxoffset/16.0),0.0,1.0);v_tex=a_tex/u_texsize;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;v_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));}`),ss=Ui(`#define SDF_PX 8.0 +u_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*max(a_minFontScale,fontScale)+a_pxoffset/16.0),0.0,1.0);v_tex=a_tex/u_texsize;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;v_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));}`),as=Ui(`#define SDF_PX 8.0 uniform bool u_is_halo;uniform sampler2D u_texture;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;uniform bool u_is_text;varying vec2 v_data0;varying vec3 v_data1; #pragma mapbox: define highp vec4 fill_color #pragma mapbox: define highp vec4 halo_color @@ -2884,7 +2884,7 @@ void main() { #pragma mapbox: initialize lowp float halo_blur vec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ? camera_to_anchor_distance/u_camera_to_center_distance : -u_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale+a_pxoffset),0.0,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));v_data0=a_tex/u_texsize;v_data1=vec3(gamma_scale,size,interpolated_fade_opacity);}`),Al=Ui(`#define SDF_PX 8.0 +u_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale+a_pxoffset),0.0,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));v_data0=a_tex/u_texsize;v_data1=vec3(gamma_scale,size,interpolated_fade_opacity);}`),Ml=Ui(`#define SDF_PX 8.0 #define SDF 1.0 #define ICON 0.0 uniform bool u_is_halo;uniform sampler2D u_texture;uniform sampler2D u_texture_icon;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;varying vec4 v_data0;varying vec4 v_data1; @@ -2921,7 +2921,7 @@ void main() { #pragma mapbox: initialize lowp float halo_blur vec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);float is_sdf=a_size[0]-2.0*a_size_min;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ? camera_to_anchor_distance/u_camera_to_center_distance : -u_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=size/24.0;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale),0.0,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));v_data0.xy=a_tex/u_texsize;v_data0.zw=a_tex/u_texsize_icon;v_data1=vec4(gamma_scale,size,interpolated_fade_opacity,is_sdf);}`);function Ui($,ee){var K=/#pragma mapbox: ([\w]+) ([\w]+) ([\w]+) ([\w]+)/g,le={};return{fragmentSource:$=$.replace(K,function(Te,De,He,Ze,at){return le[at]=!0,De==="define"?` +u_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=size/24.0;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale),0.0,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));v_data0.xy=a_tex/u_texsize;v_data0.zw=a_tex/u_texsize_icon;v_data1=vec4(gamma_scale,size,interpolated_fade_opacity,is_sdf);}`);function Ui(Y,ee){var K=/#pragma mapbox: ([\w]+) ([\w]+) ([\w]+) ([\w]+)/g,le={};return{fragmentSource:Y=Y.replace(K,function(Te,De,He,Ze,at){return le[at]=!0,De==="define"?` #ifndef HAS_UNIFORM_u_`+at+` varying `+He+" "+Ze+" "+at+`; #else @@ -2970,11 +2970,11 @@ uniform `+He+" "+Ze+" u_"+at+`; #else `+He+" "+Ze+" "+at+" = u_"+at+`; #endif -`})}}var Sl=Object.freeze({__proto__:null,prelude:Rr,background:Lr,backgroundPattern:zr,circle:gr,clippingMask:Fr,heatmap:ii,heatmapTexture:ji,collisionBox:ta,collisionCircle:sa,debug:uo,fill:La,fillOutline:Xi,fillOutlinePattern:Do,fillPattern:as,fillExtrusion:tl,fillExtrusionPattern:Eu,hillshadePrepare:gh,hillshade:Af,line:Lu,lineGradient:os,linePattern:Sf,lineSDF:$a,raster:fc,symbolIcon:Yo,symbolSDF:ss,symbolTextAndIcon:Al}),ms=function(){this.boundProgram=null,this.boundLayoutVertexBuffer=null,this.boundPaintVertexBuffers=[],this.boundIndexBuffer=null,this.boundVertexOffset=null,this.boundDynamicVertexBuffer=null,this.vao=null};ms.prototype.bind=function($,ee,K,le,Te,De,He,Ze){this.context=$;for(var at=this.boundPaintVertexBuffers.length!==le.length,Tt=0;!at&&Tt>16,Ze>>16],u_pixel_coord_lower:[65535&He,65535&Ze]}}Is.prototype.draw=function($,ee,K,le,Te,De,He,Ze,at,Tt,At,se,ve,Ie,Fe,Ue){var We,Xe=$.gl;if(!this.failedToCreate){for(var tt in $.program.set(this.program),$.setDepthMode(K),$.setStencilMode(le),$.setColorMode(Te),$.setCullFace(De),this.fixedUniforms)this.fixedUniforms[tt].set(He[tt]);Ie&&Ie.setUniforms($,this.binderUniforms,se,{zoom:ve});for(var lt=(We={},We[Xe.LINES]=2,We[Xe.TRIANGLES]=3,We[Xe.LINE_STRIP]=1,We)[ee],mt=0,zt=At.get();mt0?1-1/(1.001-He):-He),u_contrast_factor:(De=Te.paint.get("raster-contrast"),De>0?1/(1-De):1+De),u_spin_weights:Ql(Te.paint.get("raster-hue-rotate"))};var De,He};function Ql($){$*=Math.PI/180;var ee=Math.sin($),K=Math.cos($);return[(2*K+1)/3,(-Math.sqrt(3)*ee-K+1)/3,(Math.sqrt(3)*ee-K+1)/3]}var ol,Hi=function($,ee,K,le,Te,De,He,Ze,at,Tt){var At=Te.transform;return{u_is_size_zoom_constant:+($==="constant"||$==="source"),u_is_size_feature_constant:+($==="constant"||$==="camera"),u_size_t:ee?ee.uSizeT:0,u_size:ee?ee.uSize:0,u_camera_to_center_distance:At.cameraToCenterDistance,u_pitch:At.pitch/360*2*Math.PI,u_rotate_symbol:+K,u_aspect_ratio:At.width/At.height,u_fade_change:Te.options.fadeDuration?Te.symbolFadeChange:1,u_matrix:De,u_label_plane_matrix:He,u_coord_matrix:Ze,u_is_text:+at,u_pitch_with_map:+le,u_texsize:Tt,u_texture:0}},El=function($,ee,K,le,Te,De,He,Ze,at,Tt,At){var se=Te.transform;return i.extend(Hi($,ee,K,le,Te,De,He,Ze,at,Tt),{u_gamma_scale:le?Math.cos(se._pitch)*se.cameraToCenterDistance:1,u_device_pixel_ratio:i.browser.devicePixelRatio,u_is_halo:+At})},ad=function($,ee,K,le,Te,De,He,Ze,at,Tt){return i.extend(El($,ee,K,le,Te,De,He,Ze,!0,at,!0),{u_texsize_icon:Tt,u_texture_icon:1})},Uc=function($,ee,K){return{u_matrix:$,u_opacity:ee,u_color:K}},dc=function($,ee,K,le,Te,De){return i.extend(function(He,Ze,at,Tt){var At=at.imageManager.getPattern(He.from.toString()),se=at.imageManager.getPattern(He.to.toString()),ve=at.imageManager.getPixelSize(),Ie=ve.width,Fe=ve.height,Ue=Math.pow(2,Tt.tileID.overscaledZ),We=Tt.tileSize*Math.pow(2,at.transform.tileZoom)/Ue,Xe=We*(Tt.tileID.canonical.x+Tt.tileID.wrap*Ue),tt=We*Tt.tileID.canonical.y;return{u_image:0,u_pattern_tl_a:At.tl,u_pattern_br_a:At.br,u_pattern_tl_b:se.tl,u_pattern_br_b:se.br,u_texsize:[Ie,Fe],u_mix:Ze.t,u_pattern_size_a:At.displaySize,u_pattern_size_b:se.displaySize,u_scale_a:Ze.fromScale,u_scale_b:Ze.toScale,u_tile_units_to_pixels:1/vr(Tt,1,at.transform.tileZoom),u_pixel_coord_upper:[Xe>>16,tt>>16],u_pixel_coord_lower:[65535&Xe,65535&tt]}}(le,De,K,Te),{u_matrix:$,u_opacity:ee})},eu={fillExtrusion:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_lightpos:new i.Uniform3f($,ee.u_lightpos),u_lightintensity:new i.Uniform1f($,ee.u_lightintensity),u_lightcolor:new i.Uniform3f($,ee.u_lightcolor),u_vertical_gradient:new i.Uniform1f($,ee.u_vertical_gradient),u_opacity:new i.Uniform1f($,ee.u_opacity)}},fillExtrusionPattern:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_lightpos:new i.Uniform3f($,ee.u_lightpos),u_lightintensity:new i.Uniform1f($,ee.u_lightintensity),u_lightcolor:new i.Uniform3f($,ee.u_lightcolor),u_vertical_gradient:new i.Uniform1f($,ee.u_vertical_gradient),u_height_factor:new i.Uniform1f($,ee.u_height_factor),u_image:new i.Uniform1i($,ee.u_image),u_texsize:new i.Uniform2f($,ee.u_texsize),u_pixel_coord_upper:new i.Uniform2f($,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f($,ee.u_pixel_coord_lower),u_scale:new i.Uniform3f($,ee.u_scale),u_fade:new i.Uniform1f($,ee.u_fade),u_opacity:new i.Uniform1f($,ee.u_opacity)}},fill:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix)}},fillPattern:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_image:new i.Uniform1i($,ee.u_image),u_texsize:new i.Uniform2f($,ee.u_texsize),u_pixel_coord_upper:new i.Uniform2f($,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f($,ee.u_pixel_coord_lower),u_scale:new i.Uniform3f($,ee.u_scale),u_fade:new i.Uniform1f($,ee.u_fade)}},fillOutline:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_world:new i.Uniform2f($,ee.u_world)}},fillOutlinePattern:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_world:new i.Uniform2f($,ee.u_world),u_image:new i.Uniform1i($,ee.u_image),u_texsize:new i.Uniform2f($,ee.u_texsize),u_pixel_coord_upper:new i.Uniform2f($,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f($,ee.u_pixel_coord_lower),u_scale:new i.Uniform3f($,ee.u_scale),u_fade:new i.Uniform1f($,ee.u_fade)}},circle:function($,ee){return{u_camera_to_center_distance:new i.Uniform1f($,ee.u_camera_to_center_distance),u_scale_with_map:new i.Uniform1i($,ee.u_scale_with_map),u_pitch_with_map:new i.Uniform1i($,ee.u_pitch_with_map),u_extrude_scale:new i.Uniform2f($,ee.u_extrude_scale),u_device_pixel_ratio:new i.Uniform1f($,ee.u_device_pixel_ratio),u_matrix:new i.UniformMatrix4f($,ee.u_matrix)}},collisionBox:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_camera_to_center_distance:new i.Uniform1f($,ee.u_camera_to_center_distance),u_pixels_to_tile_units:new i.Uniform1f($,ee.u_pixels_to_tile_units),u_extrude_scale:new i.Uniform2f($,ee.u_extrude_scale),u_overscale_factor:new i.Uniform1f($,ee.u_overscale_factor)}},collisionCircle:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_inv_matrix:new i.UniformMatrix4f($,ee.u_inv_matrix),u_camera_to_center_distance:new i.Uniform1f($,ee.u_camera_to_center_distance),u_viewport_size:new i.Uniform2f($,ee.u_viewport_size)}},debug:function($,ee){return{u_color:new i.UniformColor($,ee.u_color),u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_overlay:new i.Uniform1i($,ee.u_overlay),u_overlay_scale:new i.Uniform1f($,ee.u_overlay_scale)}},clippingMask:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix)}},heatmap:function($,ee){return{u_extrude_scale:new i.Uniform1f($,ee.u_extrude_scale),u_intensity:new i.Uniform1f($,ee.u_intensity),u_matrix:new i.UniformMatrix4f($,ee.u_matrix)}},heatmapTexture:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_world:new i.Uniform2f($,ee.u_world),u_image:new i.Uniform1i($,ee.u_image),u_color_ramp:new i.Uniform1i($,ee.u_color_ramp),u_opacity:new i.Uniform1f($,ee.u_opacity)}},hillshade:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_image:new i.Uniform1i($,ee.u_image),u_latrange:new i.Uniform2f($,ee.u_latrange),u_light:new i.Uniform2f($,ee.u_light),u_shadow:new i.UniformColor($,ee.u_shadow),u_highlight:new i.UniformColor($,ee.u_highlight),u_accent:new i.UniformColor($,ee.u_accent)}},hillshadePrepare:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_image:new i.Uniform1i($,ee.u_image),u_dimension:new i.Uniform2f($,ee.u_dimension),u_zoom:new i.Uniform1f($,ee.u_zoom),u_maxzoom:new i.Uniform1f($,ee.u_maxzoom),u_unpack:new i.Uniform4f($,ee.u_unpack)}},line:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_ratio:new i.Uniform1f($,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f($,ee.u_device_pixel_ratio),u_units_to_pixels:new i.Uniform2f($,ee.u_units_to_pixels)}},lineGradient:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_ratio:new i.Uniform1f($,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f($,ee.u_device_pixel_ratio),u_units_to_pixels:new i.Uniform2f($,ee.u_units_to_pixels),u_image:new i.Uniform1i($,ee.u_image)}},linePattern:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_texsize:new i.Uniform2f($,ee.u_texsize),u_ratio:new i.Uniform1f($,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f($,ee.u_device_pixel_ratio),u_image:new i.Uniform1i($,ee.u_image),u_units_to_pixels:new i.Uniform2f($,ee.u_units_to_pixels),u_scale:new i.Uniform3f($,ee.u_scale),u_fade:new i.Uniform1f($,ee.u_fade)}},lineSDF:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_ratio:new i.Uniform1f($,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f($,ee.u_device_pixel_ratio),u_units_to_pixels:new i.Uniform2f($,ee.u_units_to_pixels),u_patternscale_a:new i.Uniform2f($,ee.u_patternscale_a),u_patternscale_b:new i.Uniform2f($,ee.u_patternscale_b),u_sdfgamma:new i.Uniform1f($,ee.u_sdfgamma),u_image:new i.Uniform1i($,ee.u_image),u_tex_y_a:new i.Uniform1f($,ee.u_tex_y_a),u_tex_y_b:new i.Uniform1f($,ee.u_tex_y_b),u_mix:new i.Uniform1f($,ee.u_mix)}},raster:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_tl_parent:new i.Uniform2f($,ee.u_tl_parent),u_scale_parent:new i.Uniform1f($,ee.u_scale_parent),u_buffer_scale:new i.Uniform1f($,ee.u_buffer_scale),u_fade_t:new i.Uniform1f($,ee.u_fade_t),u_opacity:new i.Uniform1f($,ee.u_opacity),u_image0:new i.Uniform1i($,ee.u_image0),u_image1:new i.Uniform1i($,ee.u_image1),u_brightness_low:new i.Uniform1f($,ee.u_brightness_low),u_brightness_high:new i.Uniform1f($,ee.u_brightness_high),u_saturation_factor:new i.Uniform1f($,ee.u_saturation_factor),u_contrast_factor:new i.Uniform1f($,ee.u_contrast_factor),u_spin_weights:new i.Uniform3f($,ee.u_spin_weights)}},symbolIcon:function($,ee){return{u_is_size_zoom_constant:new i.Uniform1i($,ee.u_is_size_zoom_constant),u_is_size_feature_constant:new i.Uniform1i($,ee.u_is_size_feature_constant),u_size_t:new i.Uniform1f($,ee.u_size_t),u_size:new i.Uniform1f($,ee.u_size),u_camera_to_center_distance:new i.Uniform1f($,ee.u_camera_to_center_distance),u_pitch:new i.Uniform1f($,ee.u_pitch),u_rotate_symbol:new i.Uniform1i($,ee.u_rotate_symbol),u_aspect_ratio:new i.Uniform1f($,ee.u_aspect_ratio),u_fade_change:new i.Uniform1f($,ee.u_fade_change),u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_label_plane_matrix:new i.UniformMatrix4f($,ee.u_label_plane_matrix),u_coord_matrix:new i.UniformMatrix4f($,ee.u_coord_matrix),u_is_text:new i.Uniform1i($,ee.u_is_text),u_pitch_with_map:new i.Uniform1i($,ee.u_pitch_with_map),u_texsize:new i.Uniform2f($,ee.u_texsize),u_texture:new i.Uniform1i($,ee.u_texture)}},symbolSDF:function($,ee){return{u_is_size_zoom_constant:new i.Uniform1i($,ee.u_is_size_zoom_constant),u_is_size_feature_constant:new i.Uniform1i($,ee.u_is_size_feature_constant),u_size_t:new i.Uniform1f($,ee.u_size_t),u_size:new i.Uniform1f($,ee.u_size),u_camera_to_center_distance:new i.Uniform1f($,ee.u_camera_to_center_distance),u_pitch:new i.Uniform1f($,ee.u_pitch),u_rotate_symbol:new i.Uniform1i($,ee.u_rotate_symbol),u_aspect_ratio:new i.Uniform1f($,ee.u_aspect_ratio),u_fade_change:new i.Uniform1f($,ee.u_fade_change),u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_label_plane_matrix:new i.UniformMatrix4f($,ee.u_label_plane_matrix),u_coord_matrix:new i.UniformMatrix4f($,ee.u_coord_matrix),u_is_text:new i.Uniform1i($,ee.u_is_text),u_pitch_with_map:new i.Uniform1i($,ee.u_pitch_with_map),u_texsize:new i.Uniform2f($,ee.u_texsize),u_texture:new i.Uniform1i($,ee.u_texture),u_gamma_scale:new i.Uniform1f($,ee.u_gamma_scale),u_device_pixel_ratio:new i.Uniform1f($,ee.u_device_pixel_ratio),u_is_halo:new i.Uniform1i($,ee.u_is_halo)}},symbolTextAndIcon:function($,ee){return{u_is_size_zoom_constant:new i.Uniform1i($,ee.u_is_size_zoom_constant),u_is_size_feature_constant:new i.Uniform1i($,ee.u_is_size_feature_constant),u_size_t:new i.Uniform1f($,ee.u_size_t),u_size:new i.Uniform1f($,ee.u_size),u_camera_to_center_distance:new i.Uniform1f($,ee.u_camera_to_center_distance),u_pitch:new i.Uniform1f($,ee.u_pitch),u_rotate_symbol:new i.Uniform1i($,ee.u_rotate_symbol),u_aspect_ratio:new i.Uniform1f($,ee.u_aspect_ratio),u_fade_change:new i.Uniform1f($,ee.u_fade_change),u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_label_plane_matrix:new i.UniformMatrix4f($,ee.u_label_plane_matrix),u_coord_matrix:new i.UniformMatrix4f($,ee.u_coord_matrix),u_is_text:new i.Uniform1i($,ee.u_is_text),u_pitch_with_map:new i.Uniform1i($,ee.u_pitch_with_map),u_texsize:new i.Uniform2f($,ee.u_texsize),u_texsize_icon:new i.Uniform2f($,ee.u_texsize_icon),u_texture:new i.Uniform1i($,ee.u_texture),u_texture_icon:new i.Uniform1i($,ee.u_texture_icon),u_gamma_scale:new i.Uniform1f($,ee.u_gamma_scale),u_device_pixel_ratio:new i.Uniform1f($,ee.u_device_pixel_ratio),u_is_halo:new i.Uniform1i($,ee.u_is_halo)}},background:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_opacity:new i.Uniform1f($,ee.u_opacity),u_color:new i.UniformColor($,ee.u_color)}},backgroundPattern:function($,ee){return{u_matrix:new i.UniformMatrix4f($,ee.u_matrix),u_opacity:new i.Uniform1f($,ee.u_opacity),u_image:new i.Uniform1i($,ee.u_image),u_pattern_tl_a:new i.Uniform2f($,ee.u_pattern_tl_a),u_pattern_br_a:new i.Uniform2f($,ee.u_pattern_br_a),u_pattern_tl_b:new i.Uniform2f($,ee.u_pattern_tl_b),u_pattern_br_b:new i.Uniform2f($,ee.u_pattern_br_b),u_texsize:new i.Uniform2f($,ee.u_texsize),u_mix:new i.Uniform1f($,ee.u_mix),u_pattern_size_a:new i.Uniform2f($,ee.u_pattern_size_a),u_pattern_size_b:new i.Uniform2f($,ee.u_pattern_size_b),u_scale_a:new i.Uniform1f($,ee.u_scale_a),u_scale_b:new i.Uniform1f($,ee.u_scale_b),u_pixel_coord_upper:new i.Uniform2f($,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f($,ee.u_pixel_coord_lower),u_tile_units_to_pixels:new i.Uniform1f($,ee.u_tile_units_to_pixels)}}};function Pu($,ee,K,le,Te,De,He){for(var Ze=$.context,at=Ze.gl,Tt=$.useProgram("collisionBox"),At=[],se=0,ve=0,Ie=0;Ie0){var mt=i.create(),zt=Xe;i.mul(mt,We.placementInvProjMatrix,$.transform.glCoordMatrix),i.mul(mt,mt,We.placementViewportMatrix),At.push({circleArray:lt,circleOffset:ve,transform:zt,invTransform:mt}),ve=se+=lt.length/4}tt&&Tt.draw(Ze,at.LINES,qt.disabled,Ke.disabled,$.colorModeForRenderPass(),qe.disabled,xh(Xe,$.transform,Ue),K.id,tt.layoutVertexBuffer,tt.indexBuffer,tt.segments,null,$.transform.zoom,null,null,tt.collisionVertexBuffer)}}if(He&&At.length){var Ut=$.useProgram("collisionCircle"),Ht=new i.StructArrayLayout2f1f2i16;Ht.resize(4*se),Ht._trim();for(var en=0,vn=0,tn=At;vn=0&&(Fe[We.associatedIconIndex]={shiftedAnchor:tn,angle:ln})}else rr(We.numGlyphs,ve)}if(At){Ie.clear();for(var Cn=$.icon.placedSymbolArray,_n=0;_n0){var He=i.browser.now(),Ze=(He-$.timeAdded)/De,at=ee?(He-ee.timeAdded)/De:-1,Tt=K.getSource(),At=Te.coveringZoomLevel({tileSize:Tt.tileSize,roundZoom:Tt.roundZoom}),se=!ee||Math.abs(ee.tileID.overscaledZ-At)>Math.abs($.tileID.overscaledZ-At),ve=se&&$.refreshedUponExpiration?1:i.clamp(se?Ze:1-at,0,1);return $.refreshedUponExpiration&&Ze>=1&&($.refreshedUponExpiration=!1),ee?{opacity:1,mix:1-ve}:{opacity:ve,mix:0}}return{opacity:1,mix:0}}var yc=new i.Color(1,0,0,1),bc=new i.Color(0,1,0,1),Pf=new i.Color(0,0,1,1),Ll=new i.Color(1,0,1,1),Hc=new i.Color(0,1,1,1);function xc($){var ee=$.transform.padding;Of($,$.transform.height-(ee.top||0),3,yc),Of($,ee.bottom||0,3,bc),_c($,ee.left||0,3,Pf),_c($,$.transform.width-(ee.right||0),3,Ll);var K=$.transform.centerPoint;(function(le,Te,De,He){var Ze=20,at=2;zu(le,Te-at/2,De-Ze/2,at,Ze,He),zu(le,Te-Ze/2,De-at/2,Ze,at,He)})($,K.x,$.transform.height-K.y,Hc)}function Of($,ee,K,le){zu($,0,ee+K/2,$.transform.width,K,le)}function _c($,ee,K,le){zu($,ee-K/2,0,K,$.transform.height,le)}function zu($,ee,K,le,Te,De){var He=$.context,Ze=He.gl;Ze.enable(Ze.SCISSOR_TEST),Ze.scissor(ee*i.browser.devicePixelRatio,K*i.browser.devicePixelRatio,le*i.browser.devicePixelRatio,Te*i.browser.devicePixelRatio),He.clear({color:De}),Ze.disable(Ze.SCISSOR_TEST)}function ru($,ee,K){var le=$.context,Te=le.gl,De=K.posMatrix,He=$.useProgram("debug"),Ze=qt.disabled,at=Ke.disabled,Tt=$.colorModeForRenderPass(),At="$debug";le.activeTexture.set(Te.TEXTURE0),$.emptyTexture.bind(Te.LINEAR,Te.CLAMP_TO_EDGE),He.draw(le,Te.LINE_STRIP,Ze,at,Tt,qe.disabled,rl(De,i.Color.red),At,$.debugBuffer,$.tileBorderIndexBuffer,$.debugSegments);var se=ee.getTileByID(K.key).latestRawTileData,ve=se&&se.byteLength||0,Ie=Math.floor(ve/1024),Fe=ee.getTile(K).tileSize,Ue=512/Math.min(Fe,512)*(K.overscaledZ/$.transform.zoom)*.5,We=K.canonical.toString();K.overscaledZ!==K.canonical.z&&(We+=" => "+K.overscaledZ),function(Xe,tt){Xe.initDebugOverlayCanvas();var lt=Xe.debugOverlayCanvas,mt=Xe.context.gl,zt=Xe.debugOverlayCanvas.getContext("2d");zt.clearRect(0,0,lt.width,lt.height),zt.shadowColor="white",zt.shadowBlur=2,zt.lineWidth=1.5,zt.strokeStyle="white",zt.textBaseline="top",zt.font="bold 36px Open Sans, sans-serif",zt.fillText(tt,5,5),zt.strokeText(tt,5,5),Xe.debugOverlayTexture.update(lt),Xe.debugOverlayTexture.bind(mt.LINEAR,mt.CLAMP_TO_EDGE)}($,We+" "+Ie+"kb"),He.draw(le,Te.TRIANGLES,Ze,at,Je.alphaBlended,qe.disabled,rl(De,i.Color.transparent,Ue),At,$.debugBuffer,$.quadTriangleIndexBuffer,$.debugSegments)}var iu={symbol:function($,ee,K,le,Te){if($.renderPass==="translucent"){var De=Ke.disabled,He=$.colorModeForRenderPass();K.layout.get("text-variable-anchor")&&function(Ze,at,Tt,At,se,ve,Ie){for(var Fe=at.transform,Ue=se==="map",We=ve==="map",Xe=0,tt=Ze;Xe256&&this.clearStencil(),K.setColorMode(Je.disabled),K.setDepthMode(qt.disabled);var Te=this.useProgram("clippingMask");this._tileClippingMaskIDs={};for(var De=0,He=ee;De256&&this.clearStencil();var $=this.nextStencilID++,ee=this.context.gl;return new Ke({func:ee.NOTEQUAL,mask:255},$,255,ee.KEEP,ee.KEEP,ee.REPLACE)},Ki.prototype.stencilModeForClipping=function($){var ee=this.context.gl;return new Ke({func:ee.EQUAL,mask:255},this._tileClippingMaskIDs[$.key],0,ee.KEEP,ee.KEEP,ee.REPLACE)},Ki.prototype.stencilConfigForOverlap=function($){var ee,K=this.context.gl,le=$.sort(function(at,Tt){return Tt.overscaledZ-at.overscaledZ}),Te=le[le.length-1].overscaledZ,De=le[0].overscaledZ-Te+1;if(De>1){this.currentStencilSource=void 0,this.nextStencilID+De>256&&this.clearStencil();for(var He={},Ze=0;Ze=0;this.currentLayer--){var zt=this.style._layers[le[this.currentLayer]],Ut=Te[zt.source],Ht=Tt[zt.source];this._renderTileClippingMasks(zt,Ht),this.renderLayer(this,Ut,zt,Ht)}for(this.renderPass="translucent",this.currentLayer=0;this.currentLayer0?ee.pop():null},Ki.prototype.isPatternMissing=function($){if(!$)return!1;if(!$.from||!$.to)return!0;var ee=this.imageManager.getPattern($.from.toString()),K=this.imageManager.getPattern($.to.toString());return!ee||!K},Ki.prototype.useProgram=function($,ee){this.cache=this.cache||{};var K=""+$+(ee?ee.cacheKey:"")+(this._showOverdrawInspector?"/overdraw":"");return this.cache[K]||(this.cache[K]=new Is(this.context,Sl[$],ee,eu[$],this._showOverdrawInspector)),this.cache[K]},Ki.prototype.setCustomLayerDefaults=function(){this.context.unbindVAO(),this.context.cullFace.setDefault(),this.context.activeTexture.setDefault(),this.context.pixelStoreUnpack.setDefault(),this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.context.pixelStoreUnpackFlipY.setDefault()},Ki.prototype.setBaseState=function(){var $=this.context.gl;this.context.cullFace.set(!1),this.context.viewport.set([0,0,this.width,this.height]),this.context.blendEquation.set($.FUNC_ADD)},Ki.prototype.initDebugOverlayCanvas=function(){if(this.debugOverlayCanvas==null){this.debugOverlayCanvas=i.window.document.createElement("canvas"),this.debugOverlayCanvas.width=512,this.debugOverlayCanvas.height=512;var $=this.context.gl;this.debugOverlayTexture=new i.Texture(this.context,this.debugOverlayCanvas,$.RGBA)}},Ki.prototype.destroy=function(){this.emptyTexture.destroy(),this.debugOverlayTexture&&this.debugOverlayTexture.destroy()};var Il=function($,ee){this.points=$,this.planes=ee};Il.fromInvProjectionMatrix=function($,ee,K){var le=Math.pow(2,K),Te=[[-1,1,-1,1],[1,1,-1,1],[1,-1,-1,1],[-1,-1,-1,1],[-1,1,1,1],[1,1,1,1],[1,-1,1,1],[-1,-1,1,1]].map(function(He){return i.transformMat4([],He,$)}).map(function(He){return i.scale$1([],He,1/He[3]/ee*le)}),De=[[0,1,2],[6,5,4],[0,3,7],[2,1,5],[3,2,6],[0,4,5]].map(function(He){var Ze=i.sub([],Te[He[0]],Te[He[1]]),at=i.sub([],Te[He[2]],Te[He[1]]),Tt=i.normalize([],i.cross([],Ze,at)),At=-i.dot(Tt,Te[He[1]]);return Tt.concat(At)});return new Il(Te,De)};var Rl=function($,ee){this.min=$,this.max=ee,this.center=i.scale$2([],i.add([],this.min,this.max),.5)};Rl.prototype.quadrant=function($){for(var ee=[$%2==0,$<2],K=i.clone$2(this.min),le=i.clone$2(this.max),Te=0;Te=0;if(De===0)return 0;De!==ee.length&&(K=!1)}if(K)return 2;for(var Ze=0;Ze<3;Ze++){for(var at=Number.MAX_VALUE,Tt=-Number.MAX_VALUE,At=0;At<$.points.length;At++){var se=$.points[At][Ze]-this.min[Ze];at=Math.min(at,se),Tt=Math.max(Tt,se)}if(Tt<0||at>this.max[Ze]-this.min[Ze])return 0}return 1};var po=function($,ee,K,le){if($===void 0&&($=0),ee===void 0&&(ee=0),K===void 0&&(K=0),le===void 0&&(le=0),isNaN($)||$<0||isNaN(ee)||ee<0||isNaN(K)||K<0||isNaN(le)||le<0)throw new Error("Invalid value for edge-insets, top, bottom, left and right must all be numbers");this.top=$,this.bottom=ee,this.left=K,this.right=le};po.prototype.interpolate=function($,ee,K){return ee.top!=null&&$.top!=null&&(this.top=i.number($.top,ee.top,K)),ee.bottom!=null&&$.bottom!=null&&(this.bottom=i.number($.bottom,ee.bottom,K)),ee.left!=null&&$.left!=null&&(this.left=i.number($.left,ee.left,K)),ee.right!=null&&$.right!=null&&(this.right=i.number($.right,ee.right,K)),this},po.prototype.getCenter=function($,ee){var K=i.clamp((this.left+$-this.right)/2,0,$),le=i.clamp((this.top+ee-this.bottom)/2,0,ee);return new i.Point(K,le)},po.prototype.equals=function($){return this.top===$.top&&this.bottom===$.bottom&&this.left===$.left&&this.right===$.right},po.prototype.clone=function(){return new po(this.top,this.bottom,this.left,this.right)},po.prototype.toJSON=function(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}};var Oi=function($,ee,K,le,Te){this.tileSize=512,this.maxValidLatitude=85.051129,this._renderWorldCopies=Te===void 0||Te,this._minZoom=$||0,this._maxZoom=ee||22,this._minPitch=K??0,this._maxPitch=le??60,this.setMaxBounds(),this.width=0,this.height=0,this._center=new i.LngLat(0,0),this.zoom=0,this.angle=0,this._fov=.6435011087932844,this._pitch=0,this._unmodified=!0,this._edgeInsets=new po,this._posMatrixCache={},this._alignedPosMatrixCache={}},Bi={minZoom:{configurable:!0},maxZoom:{configurable:!0},minPitch:{configurable:!0},maxPitch:{configurable:!0},renderWorldCopies:{configurable:!0},worldSize:{configurable:!0},centerOffset:{configurable:!0},size:{configurable:!0},bearing:{configurable:!0},pitch:{configurable:!0},fov:{configurable:!0},zoom:{configurable:!0},center:{configurable:!0},padding:{configurable:!0},centerPoint:{configurable:!0},unmodified:{configurable:!0},point:{configurable:!0}};Oi.prototype.clone=function(){var $=new Oi(this._minZoom,this._maxZoom,this._minPitch,this.maxPitch,this._renderWorldCopies);return $.tileSize=this.tileSize,$.latRange=this.latRange,$.width=this.width,$.height=this.height,$._center=this._center,$.zoom=this.zoom,$.angle=this.angle,$._fov=this._fov,$._pitch=this._pitch,$._unmodified=this._unmodified,$._edgeInsets=this._edgeInsets.clone(),$._calcMatrices(),$},Bi.minZoom.get=function(){return this._minZoom},Bi.minZoom.set=function($){this._minZoom!==$&&(this._minZoom=$,this.zoom=Math.max(this.zoom,$))},Bi.maxZoom.get=function(){return this._maxZoom},Bi.maxZoom.set=function($){this._maxZoom!==$&&(this._maxZoom=$,this.zoom=Math.min(this.zoom,$))},Bi.minPitch.get=function(){return this._minPitch},Bi.minPitch.set=function($){this._minPitch!==$&&(this._minPitch=$,this.pitch=Math.max(this.pitch,$))},Bi.maxPitch.get=function(){return this._maxPitch},Bi.maxPitch.set=function($){this._maxPitch!==$&&(this._maxPitch=$,this.pitch=Math.min(this.pitch,$))},Bi.renderWorldCopies.get=function(){return this._renderWorldCopies},Bi.renderWorldCopies.set=function($){$===void 0?$=!0:$===null&&($=!1),this._renderWorldCopies=$},Bi.worldSize.get=function(){return this.tileSize*this.scale},Bi.centerOffset.get=function(){return this.centerPoint._sub(this.size._div(2))},Bi.size.get=function(){return new i.Point(this.width,this.height)},Bi.bearing.get=function(){return-this.angle/Math.PI*180},Bi.bearing.set=function($){var ee=-i.wrap($,-180,180)*Math.PI/180;this.angle!==ee&&(this._unmodified=!1,this.angle=ee,this._calcMatrices(),this.rotationMatrix=i.create$2(),i.rotate(this.rotationMatrix,this.rotationMatrix,this.angle))},Bi.pitch.get=function(){return this._pitch/Math.PI*180},Bi.pitch.set=function($){var ee=i.clamp($,this.minPitch,this.maxPitch)/180*Math.PI;this._pitch!==ee&&(this._unmodified=!1,this._pitch=ee,this._calcMatrices())},Bi.fov.get=function(){return this._fov/Math.PI*180},Bi.fov.set=function($){$=Math.max(.01,Math.min(60,$)),this._fov!==$&&(this._unmodified=!1,this._fov=$/180*Math.PI,this._calcMatrices())},Bi.zoom.get=function(){return this._zoom},Bi.zoom.set=function($){var ee=Math.min(Math.max($,this.minZoom),this.maxZoom);this._zoom!==ee&&(this._unmodified=!1,this._zoom=ee,this.scale=this.zoomScale(ee),this.tileZoom=Math.floor(ee),this.zoomFraction=ee-this.tileZoom,this._constrain(),this._calcMatrices())},Bi.center.get=function(){return this._center},Bi.center.set=function($){$.lat===this._center.lat&&$.lng===this._center.lng||(this._unmodified=!1,this._center=$,this._constrain(),this._calcMatrices())},Bi.padding.get=function(){return this._edgeInsets.toJSON()},Bi.padding.set=function($){this._edgeInsets.equals($)||(this._unmodified=!1,this._edgeInsets.interpolate(this._edgeInsets,$,1),this._calcMatrices())},Bi.centerPoint.get=function(){return this._edgeInsets.getCenter(this.width,this.height)},Oi.prototype.isPaddingEqual=function($){return this._edgeInsets.equals($)},Oi.prototype.interpolatePadding=function($,ee,K){this._unmodified=!1,this._edgeInsets.interpolate($,ee,K),this._constrain(),this._calcMatrices()},Oi.prototype.coveringZoomLevel=function($){var ee=($.roundZoom?Math.round:Math.floor)(this.zoom+this.scaleZoom(this.tileSize/$.tileSize));return Math.max(0,ee)},Oi.prototype.getVisibleUnwrappedCoordinates=function($){var ee=[new i.UnwrappedTileID(0,$)];if(this._renderWorldCopies)for(var K=this.pointCoordinate(new i.Point(0,0)),le=this.pointCoordinate(new i.Point(this.width,0)),Te=this.pointCoordinate(new i.Point(this.width,this.height)),De=this.pointCoordinate(new i.Point(0,this.height)),He=Math.floor(Math.min(K.x,le.x,Te.x,De.x)),Ze=Math.floor(Math.max(K.x,le.x,Te.x,De.x)),at=He-1;at<=Ze+1;at++)at!==0&&ee.push(new i.UnwrappedTileID(at,$));return ee},Oi.prototype.coveringTiles=function($){var ee=this.coveringZoomLevel($),K=ee;if($.minzoom!==void 0&&ee<$.minzoom)return[];$.maxzoom!==void 0&&ee>$.maxzoom&&(ee=$.maxzoom);var le=i.MercatorCoordinate.fromLngLat(this.center),Te=Math.pow(2,ee),De=[Te*le.x,Te*le.y,0],He=Il.fromInvProjectionMatrix(this.invProjMatrix,this.worldSize,ee),Ze=$.minzoom||0;this.pitch<=60&&this._edgeInsets.top<.1&&(Ze=ee);var at=function(tn){return{aabb:new Rl([tn*Te,0,0],[(tn+1)*Te,Te,0]),zoom:0,x:0,y:0,wrap:tn,fullyVisible:!1}},Tt=[],At=[],se=ee,ve=$.reparseOverscaled?K:ee;if(this._renderWorldCopies)for(var Ie=1;Ie<=3;Ie++)Tt.push(at(-Ie)),Tt.push(at(Ie));for(Tt.push(at(0));Tt.length>0;){var Fe=Tt.pop(),Ue=Fe.x,We=Fe.y,Xe=Fe.fullyVisible;if(!Xe){var tt=Fe.aabb.intersects(He);if(tt===0)continue;Xe=tt===2}var lt=Fe.aabb.distanceX(De),mt=Fe.aabb.distanceY(De),zt=Math.max(Math.abs(lt),Math.abs(mt)),Ut=3+(1<Ut&&Fe.zoom>=Ze)At.push({tileID:new i.OverscaledTileID(Fe.zoom===se?ve:Fe.zoom,Fe.wrap,Fe.zoom,Ue,We),distanceSq:i.sqrLen([De[0]-.5-Ue,De[1]-.5-We])});else for(var Ht=0;Ht<4;Ht++){var en=(Ue<<1)+Ht%2,vn=(We<<1)+(Ht>>1);Tt.push({aabb:Fe.aabb.quadrant(Ht),zoom:Fe.zoom+1,x:en,y:vn,wrap:Fe.wrap,fullyVisible:Xe})}}return At.sort(function(tn,ln){return tn.distanceSq-ln.distanceSq}).map(function(tn){return tn.tileID})},Oi.prototype.resize=function($,ee){this.width=$,this.height=ee,this.pixelsToGLUnits=[2/$,-2/ee],this._constrain(),this._calcMatrices()},Bi.unmodified.get=function(){return this._unmodified},Oi.prototype.zoomScale=function($){return Math.pow(2,$)},Oi.prototype.scaleZoom=function($){return Math.log($)/Math.LN2},Oi.prototype.project=function($){var ee=i.clamp($.lat,-this.maxValidLatitude,this.maxValidLatitude);return new i.Point(i.mercatorXfromLng($.lng)*this.worldSize,i.mercatorYfromLat(ee)*this.worldSize)},Oi.prototype.unproject=function($){return new i.MercatorCoordinate($.x/this.worldSize,$.y/this.worldSize).toLngLat()},Bi.point.get=function(){return this.project(this.center)},Oi.prototype.setLocationAtPoint=function($,ee){var K=this.pointCoordinate(ee),le=this.pointCoordinate(this.centerPoint),Te=this.locationCoordinate($),De=new i.MercatorCoordinate(Te.x-(K.x-le.x),Te.y-(K.y-le.y));this.center=this.coordinateLocation(De),this._renderWorldCopies&&(this.center=this.center.wrap())},Oi.prototype.locationPoint=function($){return this.coordinatePoint(this.locationCoordinate($))},Oi.prototype.pointLocation=function($){return this.coordinateLocation(this.pointCoordinate($))},Oi.prototype.locationCoordinate=function($){return i.MercatorCoordinate.fromLngLat($)},Oi.prototype.coordinateLocation=function($){return $.toLngLat()},Oi.prototype.pointCoordinate=function($){var ee=[$.x,$.y,0,1],K=[$.x,$.y,1,1];i.transformMat4(ee,ee,this.pixelMatrixInverse),i.transformMat4(K,K,this.pixelMatrixInverse);var le=ee[3],Te=K[3],De=ee[0]/le,He=K[0]/Te,Ze=ee[1]/le,at=K[1]/Te,Tt=ee[2]/le,At=K[2]/Te,se=Tt===At?0:(0-Tt)/(At-Tt);return new i.MercatorCoordinate(i.number(De,He,se)/this.worldSize,i.number(Ze,at,se)/this.worldSize)},Oi.prototype.coordinatePoint=function($){var ee=[$.x*this.worldSize,$.y*this.worldSize,0,1];return i.transformMat4(ee,ee,this.pixelMatrix),new i.Point(ee[0]/ee[3],ee[1]/ee[3])},Oi.prototype.getBounds=function(){return new i.LngLatBounds().extend(this.pointLocation(new i.Point(0,0))).extend(this.pointLocation(new i.Point(this.width,0))).extend(this.pointLocation(new i.Point(this.width,this.height))).extend(this.pointLocation(new i.Point(0,this.height)))},Oi.prototype.getMaxBounds=function(){return this.latRange&&this.latRange.length===2&&this.lngRange&&this.lngRange.length===2?new i.LngLatBounds([this.lngRange[0],this.latRange[0]],[this.lngRange[1],this.latRange[1]]):null},Oi.prototype.setMaxBounds=function($){$?(this.lngRange=[$.getWest(),$.getEast()],this.latRange=[$.getSouth(),$.getNorth()],this._constrain()):(this.lngRange=null,this.latRange=[-this.maxValidLatitude,this.maxValidLatitude])},Oi.prototype.calculatePosMatrix=function($,ee){ee===void 0&&(ee=!1);var K=$.key,le=ee?this._alignedPosMatrixCache:this._posMatrixCache;if(le[K])return le[K];var Te=$.canonical,De=this.worldSize/this.zoomScale(Te.z),He=Te.x+Math.pow(2,Te.z)*$.wrap,Ze=i.identity(new Float64Array(16));return i.translate(Ze,Ze,[He*De,Te.y*De,0]),i.scale(Ze,Ze,[De/i.EXTENT,De/i.EXTENT,1]),i.multiply(Ze,ee?this.alignedProjMatrix:this.projMatrix,Ze),le[K]=new Float32Array(Ze),le[K]},Oi.prototype.customLayerMatrix=function(){return this.mercatorMatrix.slice()},Oi.prototype._constrain=function(){if(this.center&&this.width&&this.height&&!this._constraining){this._constraining=!0;var $,ee,K,le,Te=-90,De=90,He=-180,Ze=180,at=this.size,Tt=this._unmodified;if(this.latRange){var At=this.latRange;Te=i.mercatorYfromLat(At[1])*this.worldSize,$=(De=i.mercatorYfromLat(At[0])*this.worldSize)-TeDe&&(le=De-Ue)}if(this.lngRange){var We=ve.x,Xe=at.x/2;We-XeZe&&(K=Ze-Xe)}K===void 0&&le===void 0||(this.center=this.unproject(new i.Point(K!==void 0?K:ve.x,le!==void 0?le:ve.y))),this._unmodified=Tt,this._constraining=!1}},Oi.prototype._calcMatrices=function(){if(this.height){var $=this._fov/2,ee=this.centerOffset;this.cameraToCenterDistance=.5/Math.tan($)*this.height;var K=Math.PI/2+this._pitch,le=this._fov*(.5+ee.y/this.height),Te=Math.sin(le)*this.cameraToCenterDistance/Math.sin(i.clamp(Math.PI-K-le,.01,Math.PI-.01)),De=this.point,He=De.x,Ze=De.y,at=1.01*(Math.cos(Math.PI/2-this._pitch)*Te+this.cameraToCenterDistance),Tt=this.height/50,At=new Float64Array(16);i.perspective(At,this._fov,this.width/this.height,Tt,at),At[8]=2*-ee.x/this.width,At[9]=2*ee.y/this.height,i.scale(At,At,[1,-1,1]),i.translate(At,At,[0,0,-this.cameraToCenterDistance]),i.rotateX(At,At,this._pitch),i.rotateZ(At,At,this.angle),i.translate(At,At,[-He,-Ze,0]),this.mercatorMatrix=i.scale([],At,[this.worldSize,this.worldSize,this.worldSize]),i.scale(At,At,[1,1,i.mercatorZfromAltitude(1,this.center.lat)*this.worldSize,1]),this.projMatrix=At,this.invProjMatrix=i.invert([],this.projMatrix);var se=this.width%2/2,ve=this.height%2/2,Ie=Math.cos(this.angle),Fe=Math.sin(this.angle),Ue=He-Math.round(He)+Ie*se+Fe*ve,We=Ze-Math.round(Ze)+Ie*ve+Fe*se,Xe=new Float64Array(At);if(i.translate(Xe,Xe,[Ue>.5?Ue-1:Ue,We>.5?We-1:We,0]),this.alignedProjMatrix=Xe,At=i.create(),i.scale(At,At,[this.width/2,-this.height/2,1]),i.translate(At,At,[1,-1,0]),this.labelPlaneMatrix=At,At=i.create(),i.scale(At,At,[1,-1,1]),i.translate(At,At,[-1,-1,0]),i.scale(At,At,[2/this.width,2/this.height,1]),this.glCoordMatrix=At,this.pixelMatrix=i.multiply(new Float64Array(16),this.labelPlaneMatrix,this.projMatrix),!(At=i.invert(new Float64Array(16),this.pixelMatrix)))throw new Error("failed to invert matrix");this.pixelMatrixInverse=At,this._posMatrixCache={},this._alignedPosMatrixCache={}}},Oi.prototype.maxPitchScaleFactor=function(){if(!this.pixelMatrixInverse)return 1;var $=this.pointCoordinate(new i.Point(0,0)),ee=[$.x*this.worldSize,$.y*this.worldSize,0,1];return i.transformMat4(ee,ee,this.pixelMatrix)[3]/this.cameraToCenterDistance},Oi.prototype.getCameraPoint=function(){var $=this._pitch,ee=Math.tan($)*(this.cameraToCenterDistance||1);return this.centerPoint.add(new i.Point(0,ee))},Oi.prototype.getCameraQueryGeometry=function($){var ee=this.getCameraPoint();if($.length===1)return[$[0],ee];for(var K=ee.x,le=ee.y,Te=ee.x,De=ee.y,He=0,Ze=$;He=3&&!$.some(function(K){return isNaN(K)})){var ee=this._map.dragRotate.isEnabled()&&this._map.touchZoomRotate.isEnabled()?+($[3]||0):this._map.getBearing();return this._map.jumpTo({center:[+$[2],+$[1]],zoom:+$[0],bearing:ee,pitch:+($[4]||0)}),!0}return!1},sl.prototype._updateHashUnthrottled=function(){var $=this.getHashString();try{i.window.history.replaceState(i.window.history.state,"",$)}catch{}};var Us={linearity:.3,easing:i.bezier(0,0,.3,1)},Gc=i.extend({deceleration:2500,maxSpeed:1400},Us),Df=i.extend({deceleration:20,maxSpeed:1400},Us),au=i.extend({deceleration:1e3,maxSpeed:360},Us),zf=i.extend({deceleration:1e3,maxSpeed:90},Us),ou=function($){this._map=$,this.clear()};function ll($,ee){(!$.duration||$.duration0&&ee-$[0].time>160;)$.shift()},ou.prototype._onMoveEnd=function($){if(this._drainInertiaBuffer(),!(this._inertiaBuffer.length<2)){for(var ee={zoom:0,bearing:0,pitch:0,pan:new i.Point(0,0),pinchAround:void 0,around:void 0},K=0,le=this._inertiaBuffer;K=this._clickTolerance||this._map.fire(new da($.type,this._map,$))},Ha.prototype.dblclick=function($){return this._firePreventable(new da($.type,this._map,$))},Ha.prototype.mouseover=function($){this._map.fire(new da($.type,this._map,$))},Ha.prototype.mouseout=function($){this._map.fire(new da($.type,this._map,$))},Ha.prototype.touchstart=function($){return this._firePreventable(new Hs($.type,this._map,$))},Ha.prototype.touchmove=function($){this._map.fire(new Hs($.type,this._map,$))},Ha.prototype.touchend=function($){this._map.fire(new Hs($.type,this._map,$))},Ha.prototype.touchcancel=function($){this._map.fire(new Hs($.type,this._map,$))},Ha.prototype._firePreventable=function($){if(this._map.fire($),$.defaultPrevented)return{}},Ha.prototype.isEnabled=function(){return!0},Ha.prototype.isActive=function(){return!1},Ha.prototype.enable=function(){},Ha.prototype.disable=function(){};var mo=function($){this._map=$};mo.prototype.reset=function(){this._delayContextMenu=!1,delete this._contextMenuEvent},mo.prototype.mousemove=function($){this._map.fire(new da($.type,this._map,$))},mo.prototype.mousedown=function(){this._delayContextMenu=!0},mo.prototype.mouseup=function(){this._delayContextMenu=!1,this._contextMenuEvent&&(this._map.fire(new da("contextmenu",this._map,this._contextMenuEvent)),delete this._contextMenuEvent)},mo.prototype.contextmenu=function($){this._delayContextMenu?this._contextMenuEvent=$:this._map.fire(new da($.type,this._map,$)),this._map.listens("contextmenu")&&$.preventDefault()},mo.prototype.isEnabled=function(){return!0},mo.prototype.isActive=function(){return!1},mo.prototype.enable=function(){},mo.prototype.disable=function(){};var go=function($,ee){this._map=$,this._el=$.getCanvasContainer(),this._container=$.getContainer(),this._clickTolerance=ee.clickTolerance||1};function co($,ee){for(var K={},le=0;le<$.length;le++)K[$[le].identifier]=ee[le];return K}go.prototype.isEnabled=function(){return!!this._enabled},go.prototype.isActive=function(){return!!this._active},go.prototype.enable=function(){this.isEnabled()||(this._enabled=!0)},go.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},go.prototype.mousedown=function($,ee){this.isEnabled()&&$.shiftKey&&$.button===0&&(v.disableDrag(),this._startPos=this._lastPos=ee,this._active=!0)},go.prototype.mousemoveWindow=function($,ee){if(this._active){var K=ee;if(!(this._lastPos.equals(K)||!this._box&&K.dist(this._startPos)this.numTouches)&&(this.aborted=!0),this.aborted||(this.startTime===void 0&&(this.startTime=$.timeStamp),K.length===this.numTouches&&(this.centroid=function(le){for(var Te=new i.Point(0,0),De=0,He=le;De30)&&(this.aborted=!0)}}},zo.prototype.touchend=function($,ee,K){if((!this.centroid||$.timeStamp-this.startTime>500)&&(this.aborted=!0),K.length===0){var le=!this.aborted&&this.centroid;if(this.reset(),le)return le}};var Pl=function($){this.singleTap=new zo($),this.numTaps=$.numTaps,this.reset()};Pl.prototype.reset=function(){this.lastTime=1/0,delete this.lastTap,this.count=0,this.singleTap.reset()},Pl.prototype.touchstart=function($,ee,K){this.singleTap.touchstart($,ee,K)},Pl.prototype.touchmove=function($,ee,K){this.singleTap.touchmove($,ee,K)},Pl.prototype.touchend=function($,ee,K){var le=this.singleTap.touchend($,ee,K);if(le){var Te=$.timeStamp-this.lastTime<500,De=!this.lastTap||this.lastTap.dist(le)<30;if(Te&&De||this.reset(),this.count++,this.lastTime=$.timeStamp,this.lastTap=le,this.count===this.numTaps)return this.reset(),le}};var ys=function(){this._zoomIn=new Pl({numTouches:1,numTaps:2}),this._zoomOut=new Pl({numTouches:2,numTaps:1}),this.reset()};ys.prototype.reset=function(){this._active=!1,this._zoomIn.reset(),this._zoomOut.reset()},ys.prototype.touchstart=function($,ee,K){this._zoomIn.touchstart($,ee,K),this._zoomOut.touchstart($,ee,K)},ys.prototype.touchmove=function($,ee,K){this._zoomIn.touchmove($,ee,K),this._zoomOut.touchmove($,ee,K)},ys.prototype.touchend=function($,ee,K){var le=this,Te=this._zoomIn.touchend($,ee,K),De=this._zoomOut.touchend($,ee,K);return Te?(this._active=!0,$.preventDefault(),setTimeout(function(){return le.reset()},0),{cameraAnimation:function(He){return He.easeTo({duration:300,zoom:He.getZoom()+1,around:He.unproject(Te)},{originalEvent:$})}}):De?(this._active=!0,$.preventDefault(),setTimeout(function(){return le.reset()},0),{cameraAnimation:function(He){return He.easeTo({duration:300,zoom:He.getZoom()-1,around:He.unproject(De)},{originalEvent:$})}}):void 0},ys.prototype.touchcancel=function(){this.reset()},ys.prototype.enable=function(){this._enabled=!0},ys.prototype.disable=function(){this._enabled=!1,this.reset()},ys.prototype.isEnabled=function(){return this._enabled},ys.prototype.isActive=function(){return this._active};var Ya=function($){this.reset(),this._clickTolerance=$.clickTolerance||1};Ya.prototype.reset=function(){this._active=!1,this._moved=!1,delete this._lastPoint,delete this._eventButton},Ya.prototype._correctButton=function($,ee){return!1},Ya.prototype._move=function($,ee){return{}},Ya.prototype.mousedown=function($,ee){if(!this._lastPoint){var K=v.mouseButton($);this._correctButton($,K)&&(this._lastPoint=ee,this._eventButton=K)}},Ya.prototype.mousemoveWindow=function($,ee){var K=this._lastPoint;if(K&&($.preventDefault(),this._moved||!(ee.dist(K)0&&(this._active=!0);var le=co(K,ee),Te=new i.Point(0,0),De=new i.Point(0,0),He=0;for(var Ze in le){var at=le[Ze],Tt=this._touches[Ze];Tt&&(Te._add(at),De._add(at.sub(Tt)),He++,le[Ze]=at)}if(this._touches=le,!(HeMath.abs($.x)}var Br=function($){function ee(){$.apply(this,arguments)}return $&&(ee.__proto__=$),ee.prototype=Object.create($&&$.prototype),ee.prototype.constructor=ee,ee.prototype.reset=function(){$.prototype.reset.call(this),this._valid=void 0,delete this._firstMove,delete this._lastPoints},ee.prototype._start=function(K){this._lastPoints=K,Nu(K[0].sub(K[1]))&&(this._valid=!1)},ee.prototype._move=function(K,le,Te){var De=K[0].sub(this._lastPoints[0]),He=K[1].sub(this._lastPoints[1]);if(this._valid=this.gestureBeginsVertically(De,He,Te.timeStamp),this._valid)return this._lastPoints=K,this._active=!0,{pitchDelta:(De.y+He.y)/2*-.5}},ee.prototype.gestureBeginsVertically=function(K,le,Te){if(this._valid!==void 0)return this._valid;var De=K.mag()>=2,He=le.mag()>=2;if(De||He){if(!De||!He)return this._firstMove===void 0&&(this._firstMove=Te),Te-this._firstMove<100&&void 0;var Ze=K.y>0==le.y>0;return Nu(K)&&Nu(le)&&Ze}},ee}(Dr),Vu={panStep:100,bearingStep:15,pitchStep:10},bs=function(){var $=Vu;this._panStep=$.panStep,this._bearingStep=$.bearingStep,this._pitchStep=$.pitchStep};function Yc($){return $*(2-$)}bs.prototype.reset=function(){this._active=!1},bs.prototype.keydown=function($){var ee=this;if(!($.altKey||$.ctrlKey||$.metaKey)){var K=0,le=0,Te=0,De=0,He=0;switch($.keyCode){case 61:case 107:case 171:case 187:K=1;break;case 189:case 109:case 173:K=-1;break;case 37:$.shiftKey?le=-1:($.preventDefault(),De=-1);break;case 39:$.shiftKey?le=1:($.preventDefault(),De=1);break;case 38:$.shiftKey?Te=1:($.preventDefault(),He=-1);break;case 40:$.shiftKey?Te=-1:($.preventDefault(),He=1);break;default:return}return{cameraAnimation:function(Ze){var at=Ze.getZoom();Ze.easeTo({duration:300,easeId:"keyboardHandler",easing:Yc,zoom:K?Math.round(at)+K*($.shiftKey?2:1):at,bearing:Ze.getBearing()+le*ee._bearingStep,pitch:Ze.getPitch()+Te*ee._pitchStep,offset:[-De*ee._panStep,-He*ee._panStep],center:Ze.getCenter()},{originalEvent:$})}}}},bs.prototype.enable=function(){this._enabled=!0},bs.prototype.disable=function(){this._enabled=!1,this.reset()},bs.prototype.isEnabled=function(){return this._enabled},bs.prototype.isActive=function(){return this._active};var wc=4.000244140625,vo=function($,ee){this._map=$,this._el=$.getCanvasContainer(),this._handler=ee,this._delta=0,this._defaultZoomRate=.01,this._wheelZoomRate=.0022222222222222222,i.bindAll(["_onWheel","_onTimeout","_onScrollFrame","_onScrollFinished"],this)};vo.prototype.setZoomRate=function($){this._defaultZoomRate=$},vo.prototype.setWheelZoomRate=function($){this._wheelZoomRate=$},vo.prototype.isEnabled=function(){return!!this._enabled},vo.prototype.isActive=function(){return!!this._active||this._finishTimeout!==void 0},vo.prototype.isZooming=function(){return!!this._zooming},vo.prototype.enable=function($){this.isEnabled()||(this._enabled=!0,this._aroundCenter=$&&$.around==="center")},vo.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},vo.prototype.wheel=function($){if(this.isEnabled()){var ee=$.deltaMode===i.window.WheelEvent.DOM_DELTA_LINE?40*$.deltaY:$.deltaY,K=i.browser.now(),le=K-(this._lastWheelEventTime||0);this._lastWheelEventTime=K,ee!==0&&ee%wc==0?this._type="wheel":ee!==0&&Math.abs(ee)<4?this._type="trackpad":le>400?(this._type=null,this._lastValue=ee,this._timeout=setTimeout(this._onTimeout,40,$)):this._type||(this._type=Math.abs(le*ee)<200?"trackpad":"wheel",this._timeout&&(clearTimeout(this._timeout),this._timeout=null,ee+=this._lastValue)),$.shiftKey&&ee&&(ee/=4),this._type&&(this._lastWheelEvent=$,this._delta-=ee,this._active||this._start($)),$.preventDefault()}},vo.prototype._onTimeout=function($){this._type="wheel",this._delta-=this._lastValue,this._active||this._start($)},vo.prototype._start=function($){if(this._delta){this._frameId&&(this._frameId=null),this._active=!0,this.isZooming()||(this._zooming=!0),this._finishTimeout&&(clearTimeout(this._finishTimeout),delete this._finishTimeout);var ee=v.mousePos(this._el,$);this._around=i.LngLat.convert(this._aroundCenter?this._map.getCenter():this._map.unproject(ee)),this._aroundPoint=this._map.transform.locationPoint(this._around),this._frameId||(this._frameId=!0,this._handler._triggerRenderFrame())}},vo.prototype.renderFrame=function(){return this._onScrollFrame()},vo.prototype._onScrollFrame=function(){var $=this;if(this._frameId&&(this._frameId=null,this.isActive())){var ee=this._map.transform;if(this._delta!==0){var K=this._type==="wheel"&&Math.abs(this._delta)>wc?this._wheelZoomRate:this._defaultZoomRate,le=2/(1+Math.exp(-Math.abs(this._delta*K)));this._delta<0&&le!==0&&(le=1/le);var Te=typeof this._targetZoom=="number"?ee.zoomScale(this._targetZoom):ee.scale;this._targetZoom=Math.min(ee.maxZoom,Math.max(ee.minZoom,ee.scaleZoom(Te*le))),this._type==="wheel"&&(this._startZoom=ee.zoom,this._easing=this._smoothOutEasing(200)),this._delta=0}var De,He=typeof this._targetZoom=="number"?this._targetZoom:ee.zoom,Ze=this._startZoom,at=this._easing,Tt=!1;if(this._type==="wheel"&&Ze&&at){var At=Math.min((i.browser.now()-this._lastWheelEventTime)/200,1),se=at(At);De=i.number(Ze,He,se),At<1?this._frameId||(this._frameId=!0):Tt=!0}else De=He,Tt=!0;return this._active=!0,Tt&&(this._active=!1,this._finishTimeout=setTimeout(function(){$._zooming=!1,$._handler._triggerRenderFrame(),delete $._targetZoom,delete $._finishTimeout},200)),{noInertia:!0,needsRenderFrame:!Tt,zoomDelta:De-ee.zoom,around:this._aroundPoint,originalEvent:this._lastWheelEvent}}},vo.prototype._smoothOutEasing=function($){var ee=i.ease;if(this._prevEase){var K=this._prevEase,le=(i.browser.now()-K.start)/K.duration,Te=K.easing(le+.01)-K.easing(le),De=.27/Math.sqrt(Te*Te+1e-4)*.01,He=Math.sqrt(.0729-De*De);ee=i.bezier(De,He,.25,1)}return this._prevEase={start:i.browser.now(),duration:$,easing:ee},ee},vo.prototype.reset=function(){this._active=!1};var cu=function($,ee){this._clickZoom=$,this._tapZoom=ee};cu.prototype.enable=function(){this._clickZoom.enable(),this._tapZoom.enable()},cu.prototype.disable=function(){this._clickZoom.disable(),this._tapZoom.disable()},cu.prototype.isEnabled=function(){return this._clickZoom.isEnabled()&&this._tapZoom.isEnabled()},cu.prototype.isActive=function(){return this._clickZoom.isActive()||this._tapZoom.isActive()};var ul=function(){this.reset()};ul.prototype.reset=function(){this._active=!1},ul.prototype.dblclick=function($,ee){return $.preventDefault(),{cameraAnimation:function(K){K.easeTo({duration:300,zoom:K.getZoom()+($.shiftKey?-1:1),around:K.unproject(ee)},{originalEvent:$})}}},ul.prototype.enable=function(){this._enabled=!0},ul.prototype.disable=function(){this._enabled=!1,this.reset()},ul.prototype.isEnabled=function(){return this._enabled},ul.prototype.isActive=function(){return this._active};var Xo=function(){this._tap=new Pl({numTouches:1,numTaps:1}),this.reset()};Xo.prototype.reset=function(){this._active=!1,delete this._swipePoint,delete this._swipeTouch,delete this._tapTime,this._tap.reset()},Xo.prototype.touchstart=function($,ee,K){this._swipePoint||(this._tapTime&&$.timeStamp-this._tapTime>500&&this.reset(),this._tapTime?K.length>0&&(this._swipePoint=ee[0],this._swipeTouch=K[0].identifier):this._tap.touchstart($,ee,K))},Xo.prototype.touchmove=function($,ee,K){if(this._tapTime){if(this._swipePoint){if(K[0].identifier!==this._swipeTouch)return;var le=ee[0],Te=le.y-this._swipePoint.y;return this._swipePoint=le,$.preventDefault(),this._active=!0,{zoomDelta:Te/128}}}else this._tap.touchmove($,ee,K)},Xo.prototype.touchend=function($,ee,K){this._tapTime?this._swipePoint&&K.length===0&&this.reset():this._tap.touchend($,ee,K)&&(this._tapTime=$.timeStamp)},Xo.prototype.touchcancel=function(){this.reset()},Xo.prototype.enable=function(){this._enabled=!0},Xo.prototype.disable=function(){this._enabled=!1,this.reset()},Xo.prototype.isEnabled=function(){return this._enabled},Xo.prototype.isActive=function(){return this._active};var Ol=function($,ee,K){this._el=$,this._mousePan=ee,this._touchPan=K};Ol.prototype.enable=function($){this._inertiaOptions=$||{},this._mousePan.enable(),this._touchPan.enable(),this._el.classList.add("mapboxgl-touch-drag-pan")},Ol.prototype.disable=function(){this._mousePan.disable(),this._touchPan.disable(),this._el.classList.remove("mapboxgl-touch-drag-pan")},Ol.prototype.isEnabled=function(){return this._mousePan.isEnabled()&&this._touchPan.isEnabled()},Ol.prototype.isActive=function(){return this._mousePan.isActive()||this._touchPan.isActive()};var Rs=function($,ee,K){this._pitchWithRotate=$.pitchWithRotate,this._mouseRotate=ee,this._mousePitch=K};Rs.prototype.enable=function(){this._mouseRotate.enable(),this._pitchWithRotate&&this._mousePitch.enable()},Rs.prototype.disable=function(){this._mouseRotate.disable(),this._mousePitch.disable()},Rs.prototype.isEnabled=function(){return this._mouseRotate.isEnabled()&&(!this._pitchWithRotate||this._mousePitch.isEnabled())},Rs.prototype.isActive=function(){return this._mouseRotate.isActive()||this._mousePitch.isActive()};var xs=function($,ee,K,le){this._el=$,this._touchZoom=ee,this._touchRotate=K,this._tapDragZoom=le,this._rotationDisabled=!1,this._enabled=!0};xs.prototype.enable=function($){this._touchZoom.enable($),this._rotationDisabled||this._touchRotate.enable($),this._tapDragZoom.enable(),this._el.classList.add("mapboxgl-touch-zoom-rotate")},xs.prototype.disable=function(){this._touchZoom.disable(),this._touchRotate.disable(),this._tapDragZoom.disable(),this._el.classList.remove("mapboxgl-touch-zoom-rotate")},xs.prototype.isEnabled=function(){return this._touchZoom.isEnabled()&&(this._rotationDisabled||this._touchRotate.isEnabled())&&this._tapDragZoom.isEnabled()},xs.prototype.isActive=function(){return this._touchZoom.isActive()||this._touchRotate.isActive()||this._tapDragZoom.isActive()},xs.prototype.disableRotation=function(){this._rotationDisabled=!0,this._touchRotate.disable()},xs.prototype.enableRotation=function(){this._rotationDisabled=!1,this._touchZoom.isEnabled()&&this._touchRotate.enable()};var fu=function($){return $.zoom||$.drag||$.pitch||$.rotate},yo=function($){function ee(){$.apply(this,arguments)}return $&&(ee.__proto__=$),ee.prototype=Object.create($&&$.prototype),ee.prototype.constructor=ee,ee}(i.Event);function _s($){return $.panDelta&&$.panDelta.mag()||$.zoomDelta||$.bearingDelta||$.pitchDelta}var $i=function($,ee){this._map=$,this._el=this._map.getCanvasContainer(),this._handlers=[],this._handlersById={},this._changes=[],this._inertia=new ou($),this._bearingSnap=ee.bearingSnap,this._previousActiveHandlers={},this._eventsInProgress={},this._addDefaultHandlers(ee),i.bindAll(["handleEvent","handleWindowEvent"],this);var K=this._el;this._listeners=[[K,"touchstart",{passive:!1}],[K,"touchmove",{passive:!1}],[K,"touchend",void 0],[K,"touchcancel",void 0],[K,"mousedown",void 0],[K,"mousemove",void 0],[K,"mouseup",void 0],[i.window.document,"mousemove",{capture:!0}],[i.window.document,"mouseup",void 0],[K,"mouseover",void 0],[K,"mouseout",void 0],[K,"dblclick",void 0],[K,"click",void 0],[K,"keydown",{capture:!1}],[K,"keyup",void 0],[K,"wheel",{passive:!1}],[K,"contextmenu",void 0],[i.window,"blur",void 0]];for(var le=0,Te=this._listeners;leHe?Math.min(2,Ut):Math.max(.5,Ut),ln=Math.pow(tn,1-en),an=De.unproject(mt.add(zt.mult(en*ln)).mult(vn));De.setLocationAtPoint(De.renderWorldCopies?an.wrap():an,Ue)}Te._fireMoveEvents(le)},function(en){Te._afterEase(le,en)},K),this},ee.prototype._prepareEase=function(K,le,Te){Te===void 0&&(Te={}),this._moving=!0,le||Te.moving||this.fire(new i.Event("movestart",K)),this._zooming&&!Te.zooming&&this.fire(new i.Event("zoomstart",K)),this._rotating&&!Te.rotating&&this.fire(new i.Event("rotatestart",K)),this._pitching&&!Te.pitching&&this.fire(new i.Event("pitchstart",K))},ee.prototype._fireMoveEvents=function(K){this.fire(new i.Event("move",K)),this._zooming&&this.fire(new i.Event("zoom",K)),this._rotating&&this.fire(new i.Event("rotate",K)),this._pitching&&this.fire(new i.Event("pitch",K))},ee.prototype._afterEase=function(K,le){if(!this._easeId||!le||this._easeId!==le){delete this._easeId;var Te=this._zooming,De=this._rotating,He=this._pitching;this._moving=!1,this._zooming=!1,this._rotating=!1,this._pitching=!1,this._padding=!1,Te&&this.fire(new i.Event("zoomend",K)),De&&this.fire(new i.Event("rotateend",K)),He&&this.fire(new i.Event("pitchend",K)),this.fire(new i.Event("moveend",K))}},ee.prototype.flyTo=function(K,le){var Te=this;if(!K.essential&&i.browser.prefersReducedMotion){var De=i.pick(K,["center","zoom","bearing","pitch","around"]);return this.jumpTo(De,le)}this.stop(),K=i.extend({offset:[0,0],speed:1.2,curve:1.42,easing:i.ease},K);var He=this.transform,Ze=this.getZoom(),at=this.getBearing(),Tt=this.getPitch(),At=this.getPadding(),se="zoom"in K?i.clamp(+K.zoom,He.minZoom,He.maxZoom):Ze,ve="bearing"in K?this._normalizeBearing(K.bearing,at):at,Ie="pitch"in K?+K.pitch:Tt,Fe="padding"in K?K.padding:He.padding,Ue=He.zoomScale(se-Ze),We=i.Point.convert(K.offset),Xe=He.centerPoint.add(We),tt=He.pointLocation(Xe),lt=i.LngLat.convert(K.center||tt);this._normalizeCenter(lt);var mt=He.project(tt),zt=He.project(lt).sub(mt),Ut=K.curve,Ht=Math.max(He.width,He.height),en=Ht/Ue,vn=zt.mag();if("minZoom"in K){var tn=i.clamp(Math.min(K.minZoom,Ze,se),He.minZoom,He.maxZoom),ln=Ht/He.zoomScale(tn-Ze);Ut=Math.sqrt(ln/vn*2)}var an=Ut*Ut;function Cn(xr){var kr=(en*en-Ht*Ht+(xr?-1:1)*an*an*vn*vn)/(2*(xr?en:Ht)*an*vn);return Math.log(Math.sqrt(kr*kr+1)-kr)}function _n(xr){return(Math.exp(xr)-Math.exp(-xr))/2}function on(xr){return(Math.exp(xr)+Math.exp(-xr))/2}var Fn=Cn(0),Hn=function(xr){return on(Fn)/on(Fn+Ut*xr)},ir=function(xr){return Ht*((on(Fn)*(_n(kr=Fn+Ut*xr)/on(kr))-_n(Fn))/an)/vn;var kr},ar=(Cn(1)-Fn)/Ut;if(Math.abs(vn)<1e-6||!isFinite(ar)){if(Math.abs(Ht-en)<1e-6)return this.easeTo(K,le);var Mr=enK.maxDuration&&(K.duration=0),this._zooming=!0,this._rotating=at!==ve,this._pitching=Ie!==Tt,this._padding=!He.isPaddingEqual(Fe),this._prepareEase(le,!1),this._ease(function(xr){var kr=xr*ar,jr=1/Hn(kr);He.zoom=xr===1?se:Ze+He.scaleZoom(jr),Te._rotating&&(He.bearing=i.number(at,ve,xr)),Te._pitching&&(He.pitch=i.number(Tt,Ie,xr)),Te._padding&&(He.interpolatePadding(At,Fe,xr),Xe=He.centerPoint.add(We));var hi=xr===1?lt:He.unproject(mt.add(zt.mult(ir(kr))).mult(jr));He.setLocationAtPoint(He.renderWorldCopies?hi.wrap():hi,Xe),Te._fireMoveEvents(le)},function(){return Te._afterEase(le)},K),this},ee.prototype.isEasing=function(){return!!this._easeFrameId},ee.prototype.stop=function(){return this._stop()},ee.prototype._stop=function(K,le){if(this._easeFrameId&&(this._cancelRenderFrame(this._easeFrameId),delete this._easeFrameId,delete this._onEaseFrame),this._onEaseEnd){var Te=this._onEaseEnd;delete this._onEaseEnd,Te.call(this,le)}if(!K){var De=this.handlers;De&&De.stop()}return this},ee.prototype._ease=function(K,le,Te){Te.animate===!1||Te.duration===0?(K(1),le()):(this._easeStart=i.browser.now(),this._easeOptions=Te,this._onEaseFrame=K,this._onEaseEnd=le,this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback))},ee.prototype._renderFrameCallback=function(){var K=Math.min((i.browser.now()-this._easeStart)/this._easeOptions.duration,1);this._onEaseFrame(this._easeOptions.easing(K)),K<1?this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback):this.stop()},ee.prototype._normalizeBearing=function(K,le){K=i.wrap(K,-180,180);var Te=Math.abs(K-le);return Math.abs(K-360-le)180?-360:Te<-180?360:0}},ee}(i.Evented),ls=function($){$===void 0&&($={}),this.options=$,i.bindAll(["_updateEditLink","_updateData","_updateCompact"],this)};ls.prototype.getDefaultPosition=function(){return"bottom-right"},ls.prototype.onAdd=function($){var ee=this.options&&this.options.compact;return this._map=$,this._container=v.create("div","mapboxgl-ctrl mapboxgl-ctrl-attrib"),this._innerContainer=v.create("div","mapboxgl-ctrl-attrib-inner",this._container),ee&&this._container.classList.add("mapboxgl-compact"),this._updateAttributions(),this._updateEditLink(),this._map.on("styledata",this._updateData),this._map.on("sourcedata",this._updateData),this._map.on("moveend",this._updateEditLink),ee===void 0&&(this._map.on("resize",this._updateCompact),this._updateCompact()),this._container},ls.prototype.onRemove=function(){v.remove(this._container),this._map.off("styledata",this._updateData),this._map.off("sourcedata",this._updateData),this._map.off("moveend",this._updateEditLink),this._map.off("resize",this._updateCompact),this._map=void 0,this._attribHTML=void 0},ls.prototype._updateEditLink=function(){var $=this._editLink;$||($=this._editLink=this._container.querySelector(".mapbox-improve-map"));var ee=[{key:"owner",value:this.styleOwner},{key:"id",value:this.styleId},{key:"access_token",value:this._map._requestManager._customAccessToken||i.config.ACCESS_TOKEN}];if($){var K=ee.reduce(function(le,Te,De){return Te.value&&(le+=Te.key+"="+Te.value+(De=0)return!1;return!0})).join(" | ");He!==this._attribHTML&&(this._attribHTML=He,$.length?(this._innerContainer.innerHTML=He,this._container.classList.remove("mapboxgl-attrib-empty")):this._container.classList.add("mapboxgl-attrib-empty"),this._editLink=null)}},ls.prototype._updateCompact=function(){this._map.getCanvasContainer().offsetWidth<=640?this._container.classList.add("mapboxgl-compact"):this._container.classList.remove("mapboxgl-compact")};var ws=function(){i.bindAll(["_updateLogo"],this),i.bindAll(["_updateCompact"],this)};ws.prototype.onAdd=function($){this._map=$,this._container=v.create("div","mapboxgl-ctrl");var ee=v.create("a","mapboxgl-ctrl-logo");return ee.target="_blank",ee.rel="noopener nofollow",ee.href="https://www.mapbox.com/",ee.setAttribute("aria-label",this._map._getUIString("LogoControl.Title")),ee.setAttribute("rel","noopener nofollow"),this._container.appendChild(ee),this._container.style.display="none",this._map.on("sourcedata",this._updateLogo),this._updateLogo(),this._map.on("resize",this._updateCompact),this._updateCompact(),this._container},ws.prototype.onRemove=function(){v.remove(this._container),this._map.off("sourcedata",this._updateLogo),this._map.off("resize",this._updateCompact)},ws.prototype.getDefaultPosition=function(){return"bottom-left"},ws.prototype._updateLogo=function($){$&&$.sourceDataType!=="metadata"||(this._container.style.display=this._logoRequired()?"block":"none")},ws.prototype._logoRequired=function(){if(this._map.style){var $=this._map.style.sourceCaches;for(var ee in $)if($[ee].getSource().mapbox_logo)return!0;return!1}},ws.prototype._updateCompact=function(){var $=this._container.children;if($.length){var ee=$[0];this._map.getCanvasContainer().offsetWidth<250?ee.classList.add("mapboxgl-compact"):ee.classList.remove("mapboxgl-compact")}};var Gs=function(){this._queue=[],this._id=0,this._cleared=!1,this._currentlyRunning=!1};Gs.prototype.add=function($){var ee=++this._id;return this._queue.push({callback:$,id:ee,cancelled:!1}),ee},Gs.prototype.remove=function($){for(var ee=this._currentlyRunning,K=0,le=ee?this._queue.concat(ee):this._queue;Kle.maxZoom)throw new Error("maxZoom must be greater than or equal to minZoom");if(le.minPitch!=null&&le.maxPitch!=null&&le.minPitch>le.maxPitch)throw new Error("maxPitch must be greater than or equal to minPitch");if(le.minPitch!=null&&le.minPitch<0)throw new Error("minPitch must be greater than or equal to 0");if(le.maxPitch!=null&&le.maxPitch>No)throw new Error("maxPitch must be less than or equal to 60");var De=new Oi(le.minZoom,le.maxZoom,le.minPitch,le.maxPitch,le.renderWorldCopies);if($.call(this,De,le),this._interactive=le.interactive,this._maxTileCacheSize=le.maxTileCacheSize,this._failIfMajorPerformanceCaveat=le.failIfMajorPerformanceCaveat,this._preserveDrawingBuffer=le.preserveDrawingBuffer,this._antialias=le.antialias,this._trackResize=le.trackResize,this._bearingSnap=le.bearingSnap,this._refreshExpiredTiles=le.refreshExpiredTiles,this._fadeDuration=le.fadeDuration,this._crossSourceCollisions=le.crossSourceCollisions,this._crossFadingFactor=1,this._collectResourceTiming=le.collectResourceTiming,this._renderTaskQueue=new Gs,this._controls=[],this._mapId=i.uniqueId(),this._locale=i.extend({},Bo,le.locale),this._requestManager=new i.RequestManager(le.transformRequest,le.accessToken),typeof le.container=="string"){if(this._container=i.window.document.getElementById(le.container),!this._container)throw new Error("Container '"+le.container+"' not found.")}else{if(!(le.container instanceof no))throw new Error("Invalid type: 'container' must be a String or HTMLElement.");this._container=le.container}if(le.maxBounds&&this.setMaxBounds(le.maxBounds),i.bindAll(["_onWindowOnline","_onWindowResize","_contextLost","_contextRestored"],this),this._setupContainer(),this._setupPainter(),this.painter===void 0)throw new Error("Failed to initialize WebGL.");this.on("move",function(){return Te._update(!1)}),this.on("moveend",function(){return Te._update(!1)}),this.on("zoom",function(){return Te._update(!0)}),i.window!==void 0&&(i.window.addEventListener("online",this._onWindowOnline,!1),i.window.addEventListener("resize",this._onWindowResize,!1)),this.handlers=new $i(this,le);var He=typeof le.hash=="string"&&le.hash||void 0;this._hash=le.hash&&new sl(He).addTo(this),this._hash&&this._hash._onHashChange()||(this.jumpTo({center:le.center,zoom:le.zoom,bearing:le.bearing,pitch:le.pitch}),le.bounds&&(this.resize(),this.fitBounds(le.bounds,i.extend({},le.fitBoundsOptions,{duration:0})))),this.resize(),this._localIdeographFontFamily=le.localIdeographFontFamily,le.style&&this.setStyle(le.style,{localIdeographFontFamily:le.localIdeographFontFamily}),le.attributionControl&&this.addControl(new ls({customAttribution:le.customAttribution})),this.addControl(new ws,le.logoPosition),this.on("style.load",function(){Te.transform.unmodified&&Te.jumpTo(Te.style.stylesheet)}),this.on("data",function(Ze){Te._update(Ze.dataType==="style"),Te.fire(new i.Event(Ze.dataType+"data",Ze))}),this.on("dataloading",function(Ze){Te.fire(new i.Event(Ze.dataType+"dataloading",Ze))})}$&&(ee.__proto__=$),ee.prototype=Object.create($&&$.prototype),ee.prototype.constructor=ee;var K={showTileBoundaries:{configurable:!0},showPadding:{configurable:!0},showCollisionBoxes:{configurable:!0},showOverdrawInspector:{configurable:!0},repaint:{configurable:!0},vertices:{configurable:!0},version:{configurable:!0}};return ee.prototype._getMapId=function(){return this._mapId},ee.prototype.addControl=function(le,Te){if(Te===void 0&&le.getDefaultPosition&&(Te=le.getDefaultPosition()),Te===void 0&&(Te="top-right"),!le||!le.onAdd)return this.fire(new i.ErrorEvent(new Error("Invalid argument to map.addControl(). Argument must be a control with onAdd and onRemove methods.")));var De=le.onAdd(this);this._controls.push(le);var He=this._controlPositions[Te];return Te.indexOf("bottom")!==-1?He.insertBefore(De,He.firstChild):He.appendChild(De),this},ee.prototype.removeControl=function(le){if(!le||!le.onRemove)return this.fire(new i.ErrorEvent(new Error("Invalid argument to map.removeControl(). Argument must be a control with onAdd and onRemove methods.")));var Te=this._controls.indexOf(le);return Te>-1&&this._controls.splice(Te,1),le.onRemove(this),this},ee.prototype.resize=function(le){var Te=this._containerDimensions(),De=Te[0],He=Te[1];this._resizeCanvas(De,He),this.transform.resize(De,He),this.painter.resize(De,He);var Ze=!this._moving;return Ze&&(this.stop(),this.fire(new i.Event("movestart",le)).fire(new i.Event("move",le))),this.fire(new i.Event("resize",le)),Ze&&this.fire(new i.Event("moveend",le)),this},ee.prototype.getBounds=function(){return this.transform.getBounds()},ee.prototype.getMaxBounds=function(){return this.transform.getMaxBounds()},ee.prototype.setMaxBounds=function(le){return this.transform.setMaxBounds(i.LngLatBounds.convert(le)),this._update()},ee.prototype.setMinZoom=function(le){if((le=le??-2)>=-2&&le<=this.transform.maxZoom)return this.transform.minZoom=le,this._update(),this.getZoom()=this.transform.minZoom)return this.transform.maxZoom=le,this._update(),this.getZoom()>le&&this.setZoom(le),this;throw new Error("maxZoom must be greater than the current minZoom")},ee.prototype.getMaxZoom=function(){return this.transform.maxZoom},ee.prototype.setMinPitch=function(le){if((le=le??0)<0)throw new Error("minPitch must be greater than or equal to 0");if(le>=0&&le<=this.transform.maxPitch)return this.transform.minPitch=le,this._update(),this.getPitch()No)throw new Error("maxPitch must be less than or equal to 60");if(le>=this.transform.minPitch)return this.transform.maxPitch=le,this._update(),this.getPitch()>le&&this.setPitch(le),this;throw new Error("maxPitch must be greater than the current minPitch")},ee.prototype.getMaxPitch=function(){return this.transform.maxPitch},ee.prototype.getRenderWorldCopies=function(){return this.transform.renderWorldCopies},ee.prototype.setRenderWorldCopies=function(le){return this.transform.renderWorldCopies=le,this._update()},ee.prototype.project=function(le){return this.transform.locationPoint(i.LngLat.convert(le))},ee.prototype.unproject=function(le){return this.transform.pointLocation(i.Point.convert(le))},ee.prototype.isMoving=function(){return this._moving||this.handlers.isMoving()},ee.prototype.isZooming=function(){return this._zooming||this.handlers.isZooming()},ee.prototype.isRotating=function(){return this._rotating||this.handlers.isRotating()},ee.prototype._createDelegatedListener=function(le,Te,De){var He,Ze=this;if(le==="mouseenter"||le==="mouseover"){var at=!1;return{layer:Te,listener:De,delegates:{mousemove:function(At){var se=Ze.getLayer(Te)?Ze.queryRenderedFeatures(At.point,{layers:[Te]}):[];se.length?at||(at=!0,De.call(Ze,new da(le,Ze,At.originalEvent,{features:se}))):at=!1},mouseout:function(){at=!1}}}}if(le==="mouseleave"||le==="mouseout"){var Tt=!1;return{layer:Te,listener:De,delegates:{mousemove:function(At){(Ze.getLayer(Te)?Ze.queryRenderedFeatures(At.point,{layers:[Te]}):[]).length?Tt=!0:Tt&&(Tt=!1,De.call(Ze,new da(le,Ze,At.originalEvent)))},mouseout:function(At){Tt&&(Tt=!1,De.call(Ze,new da(le,Ze,At.originalEvent)))}}}}return{layer:Te,listener:De,delegates:(He={},He[le]=function(At){var se=Ze.getLayer(Te)?Ze.queryRenderedFeatures(At.point,{layers:[Te]}):[];se.length&&(At.features=se,De.call(Ze,At),delete At.features)},He)}},ee.prototype.on=function(le,Te,De){if(De===void 0)return $.prototype.on.call(this,le,Te);var He=this._createDelegatedListener(le,Te,De);for(var Ze in this._delegatedListeners=this._delegatedListeners||{},this._delegatedListeners[le]=this._delegatedListeners[le]||[],this._delegatedListeners[le].push(He),He.delegates)this.on(Ze,He.delegates[Ze]);return this},ee.prototype.once=function(le,Te,De){if(De===void 0)return $.prototype.once.call(this,le,Te);var He=this._createDelegatedListener(le,Te,De);for(var Ze in He.delegates)this.once(Ze,He.delegates[Ze]);return this},ee.prototype.off=function(le,Te,De){var He=this;return De===void 0?$.prototype.off.call(this,le,Te):(this._delegatedListeners&&this._delegatedListeners[le]&&function(Ze){for(var at=Ze[le],Tt=0;Tt180;){var He=K.locationPoint($);if(He.x>=0&&He.y>=0&&He.x<=K.width&&He.y<=K.height)break;$.lng>K.center.lng?$.lng-=360:$.lng+=360}return $}Gr.prototype.down=function($,ee){this.mouseRotate.mousedown($,ee),this.mousePitch&&this.mousePitch.mousedown($,ee),v.disableDrag()},Gr.prototype.move=function($,ee){var K=this.map,le=this.mouseRotate.mousemoveWindow($,ee);if(le&&le.bearingDelta&&K.setBearing(K.getBearing()+le.bearingDelta),this.mousePitch){var Te=this.mousePitch.mousemoveWindow($,ee);Te&&Te.pitchDelta&&K.setPitch(K.getPitch()+Te.pitchDelta)}},Gr.prototype.off=function(){var $=this.element;v.removeEventListener($,"mousedown",this.mousedown),v.removeEventListener($,"touchstart",this.touchstart,{passive:!1}),v.removeEventListener($,"touchmove",this.touchmove),v.removeEventListener($,"touchend",this.touchend),v.removeEventListener($,"touchcancel",this.reset),this.offTemp()},Gr.prototype.offTemp=function(){v.enableDrag(),v.removeEventListener(i.window,"mousemove",this.mousemove),v.removeEventListener(i.window,"mouseup",this.mouseup)},Gr.prototype.mousedown=function($){this.down(i.extend({},$,{ctrlKey:!0,preventDefault:function(){return $.preventDefault()}}),v.mousePos(this.element,$)),v.addEventListener(i.window,"mousemove",this.mousemove),v.addEventListener(i.window,"mouseup",this.mouseup)},Gr.prototype.mousemove=function($){this.move($,v.mousePos(this.element,$))},Gr.prototype.mouseup=function($){this.mouseRotate.mouseupWindow($),this.mousePitch&&this.mousePitch.mouseupWindow($),this.offTemp()},Gr.prototype.touchstart=function($){$.targetTouches.length!==1?this.reset():(this._startPos=this._lastPos=v.touchPos(this.element,$.targetTouches)[0],this.down({type:"mousedown",button:0,ctrlKey:!0,preventDefault:function(){return $.preventDefault()}},this._startPos))},Gr.prototype.touchmove=function($){$.targetTouches.length!==1?this.reset():(this._lastPos=v.touchPos(this.element,$.targetTouches)[0],this.move({preventDefault:function(){return $.preventDefault()}},this._lastPos))},Gr.prototype.touchend=function($){$.targetTouches.length===0&&this._startPos&&this._lastPos&&this._startPos.dist(this._lastPos)le.getEast()||Te.latitudele.getNorth())},ee.prototype._setErrorState=function(){switch(this._watchState){case"WAITING_ACTIVE":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"ACTIVE_LOCK":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting");break;case"BACKGROUND":this._watchState="BACKGROUND_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting")}},ee.prototype._onSuccess=function(K){if(this._map){if(this._isOutOfMapMaxBounds(K))return this._setErrorState(),this.fire(new i.Event("outofmaxbounds",K)),this._updateMarker(),void this._finish();if(this.options.trackUserLocation)switch(this._lastKnownPosition=K,this._watchState){case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"BACKGROUND":case"BACKGROUND_ERROR":this._watchState="BACKGROUND",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background")}this.options.showUserLocation&&this._watchState!=="OFF"&&this._updateMarker(K),this.options.trackUserLocation&&this._watchState!=="ACTIVE_LOCK"||this._updateCamera(K),this.options.showUserLocation&&this._dotElement.classList.remove("mapboxgl-user-location-dot-stale"),this.fire(new i.Event("geolocate",K)),this._finish()}},ee.prototype._updateCamera=function(K){var le=new i.LngLat(K.coords.longitude,K.coords.latitude),Te=K.coords.accuracy,De=this._map.getBearing(),He=i.extend({bearing:De},this.options.fitBoundsOptions);this._map.fitBounds(le.toBounds(Te),He,{geolocateSource:!0})},ee.prototype._updateMarker=function(K){if(K){var le=new i.LngLat(K.coords.longitude,K.coords.latitude);this._accuracyCircleMarker.setLngLat(le).addTo(this._map),this._userLocationDotMarker.setLngLat(le).addTo(this._map),this._accuracy=K.coords.accuracy,this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()}else this._userLocationDotMarker.remove(),this._accuracyCircleMarker.remove()},ee.prototype._updateCircleRadius=function(){var K=this._map._container.clientHeight/2,le=this._map.unproject([0,K]),Te=this._map.unproject([1,K]),De=le.distanceTo(Te),He=Math.ceil(2*this._accuracy/De);this._circleElement.style.width=He+"px",this._circleElement.style.height=He+"px"},ee.prototype._onZoom=function(){this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()},ee.prototype._onError=function(K){if(this._map){if(this.options.trackUserLocation)if(K.code===1){this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.disabled=!0;var le=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.title=le,this._geolocateButton.setAttribute("aria-label",le),this._geolocationWatchID!==void 0&&this._clearWatch()}else{if(K.code===3&&Uu)return;this._setErrorState()}this._watchState!=="OFF"&&this.options.showUserLocation&&this._dotElement.classList.add("mapboxgl-user-location-dot-stale"),this.fire(new i.Event("error",K)),this._finish()}},ee.prototype._finish=function(){this._timeoutId&&clearTimeout(this._timeoutId),this._timeoutId=void 0},ee.prototype._setupUI=function(K){var le=this;if(this._container.addEventListener("contextmenu",function(He){return He.preventDefault()}),this._geolocateButton=v.create("button","mapboxgl-ctrl-geolocate",this._container),v.create("span","mapboxgl-ctrl-icon",this._geolocateButton).setAttribute("aria-hidden",!0),this._geolocateButton.type="button",K===!1){i.warnOnce("Geolocation support is not available so the GeolocateControl will be disabled.");var Te=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.disabled=!0,this._geolocateButton.title=Te,this._geolocateButton.setAttribute("aria-label",Te)}else{var De=this._map._getUIString("GeolocateControl.FindMyLocation");this._geolocateButton.title=De,this._geolocateButton.setAttribute("aria-label",De)}this.options.trackUserLocation&&(this._geolocateButton.setAttribute("aria-pressed","false"),this._watchState="OFF"),this.options.showUserLocation&&(this._dotElement=v.create("div","mapboxgl-user-location-dot"),this._userLocationDotMarker=new xo(this._dotElement),this._circleElement=v.create("div","mapboxgl-user-location-accuracy-circle"),this._accuracyCircleMarker=new xo({element:this._circleElement,pitchAlignment:"map"}),this.options.trackUserLocation&&(this._watchState="OFF"),this._map.on("zoom",this._onZoom)),this._geolocateButton.addEventListener("click",this.trigger.bind(this)),this._setup=!0,this.options.trackUserLocation&&this._map.on("movestart",function(He){var Ze=He.originalEvent&&He.originalEvent.type==="resize";He.geolocateSource||le._watchState!=="ACTIVE_LOCK"||Ze||(le._watchState="BACKGROUND",le._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background"),le._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),le.fire(new i.Event("trackuserlocationend")))})},ee.prototype.trigger=function(){if(!this._setup)return i.warnOnce("Geolocate control triggered before added to a map"),!1;if(this.options.trackUserLocation){switch(this._watchState){case"OFF":this._watchState="WAITING_ACTIVE",this.fire(new i.Event("trackuserlocationstart"));break;case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":case"BACKGROUND_ERROR":Vo--,Uu=!1,this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this.fire(new i.Event("trackuserlocationend"));break;case"BACKGROUND":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._lastKnownPosition&&this._updateCamera(this._lastKnownPosition),this.fire(new i.Event("trackuserlocationstart"))}switch(this._watchState){case"WAITING_ACTIVE":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_LOCK":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"BACKGROUND":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background");break;case"BACKGROUND_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error")}if(this._watchState==="OFF"&&this._geolocationWatchID!==void 0)this._clearWatch();else if(this._geolocationWatchID===void 0){var K;this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","true"),++Vo>1?(K={maximumAge:6e5,timeout:0},Uu=!0):(K=this.options.positionOptions,Uu=!1),this._geolocationWatchID=i.window.navigator.geolocation.watchPosition(this._onSuccess,this._onError,K)}}else i.window.navigator.geolocation.getCurrentPosition(this._onSuccess,this._onError,this.options.positionOptions),this._timeoutId=setTimeout(this._finish,1e4);return!0},ee.prototype._clearWatch=function(){i.window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0,this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","false"),this.options.showUserLocation&&this._updateMarker(null)},ee}(i.Evented),Ji={maxWidth:100,unit:"metric"},la=function($){this.options=i.extend({},Ji,$),i.bindAll(["_onMove","setUnit"],this)};function Xc($,ee,K){var le=K&&K.maxWidth||100,Te=$._container.clientHeight/2,De=$.unproject([0,Te]),He=$.unproject([le,Te]),Ze=De.distanceTo(He);if(K&&K.unit==="imperial"){var at=3.2808*Ze;at>5280?et(ee,le,at/5280,$._getUIString("ScaleControl.Miles")):et(ee,le,at,$._getUIString("ScaleControl.Feet"))}else K&&K.unit==="nautical"?et(ee,le,Ze/1852,$._getUIString("ScaleControl.NauticalMiles")):Ze>=1e3?et(ee,le,Ze/1e3,$._getUIString("ScaleControl.Kilometers")):et(ee,le,Ze,$._getUIString("ScaleControl.Meters"))}function et($,ee,K,le){var Te,De,He,Ze=(Te=K,(De=Math.pow(10,(""+Math.floor(Te)).length-1))*((He=Te/De)>=10?10:He>=5?5:He>=3?3:He>=2?2:He>=1?1:function(Tt){var At=Math.pow(10,Math.ceil(-Math.log(Tt)/Math.LN10));return Math.round(Tt*At)/At}(He))),at=Ze/K;$.style.width=ee*at+"px",$.innerHTML=Ze+" "+le}la.prototype.getDefaultPosition=function(){return"bottom-left"},la.prototype._onMove=function(){Xc(this._map,this._container,this.options)},la.prototype.onAdd=function($){return this._map=$,this._container=v.create("div","mapboxgl-ctrl mapboxgl-ctrl-scale",$.getContainer()),this._map.on("move",this._onMove),this._onMove(),this._container},la.prototype.onRemove=function(){v.remove(this._container),this._map.off("move",this._onMove),this._map=void 0},la.prototype.setUnit=function($){this.options.unit=$,Xc(this._map,this._container,this.options)};var rt=function($){this._fullscreen=!1,$&&$.container&&($.container instanceof i.window.HTMLElement?this._container=$.container:i.warnOnce("Full screen control 'container' must be a DOM element.")),i.bindAll(["_onClickFullscreen","_changeIcon"],this),"onfullscreenchange"in i.window.document?this._fullscreenchange="fullscreenchange":"onmozfullscreenchange"in i.window.document?this._fullscreenchange="mozfullscreenchange":"onwebkitfullscreenchange"in i.window.document?this._fullscreenchange="webkitfullscreenchange":"onmsfullscreenchange"in i.window.document&&(this._fullscreenchange="MSFullscreenChange")};rt.prototype.onAdd=function($){return this._map=$,this._container||(this._container=this._map.getContainer()),this._controlContainer=v.create("div","mapboxgl-ctrl mapboxgl-ctrl-group"),this._checkFullscreenSupport()?this._setupUI():(this._controlContainer.style.display="none",i.warnOnce("This device does not support fullscreen mode.")),this._controlContainer},rt.prototype.onRemove=function(){v.remove(this._controlContainer),this._map=null,i.window.document.removeEventListener(this._fullscreenchange,this._changeIcon)},rt.prototype._checkFullscreenSupport=function(){return!!(i.window.document.fullscreenEnabled||i.window.document.mozFullScreenEnabled||i.window.document.msFullscreenEnabled||i.window.document.webkitFullscreenEnabled)},rt.prototype._setupUI=function(){var $=this._fullscreenButton=v.create("button","mapboxgl-ctrl-fullscreen",this._controlContainer);v.create("span","mapboxgl-ctrl-icon",$).setAttribute("aria-hidden",!0),$.type="button",this._updateTitle(),this._fullscreenButton.addEventListener("click",this._onClickFullscreen),i.window.document.addEventListener(this._fullscreenchange,this._changeIcon)},rt.prototype._updateTitle=function(){var $=this._getTitle();this._fullscreenButton.setAttribute("aria-label",$),this._fullscreenButton.title=$},rt.prototype._getTitle=function(){return this._map._getUIString(this._isFullscreen()?"FullscreenControl.Exit":"FullscreenControl.Enter")},rt.prototype._isFullscreen=function(){return this._fullscreen},rt.prototype._changeIcon=function(){(i.window.document.fullscreenElement||i.window.document.mozFullScreenElement||i.window.document.webkitFullscreenElement||i.window.document.msFullscreenElement)===this._container!==this._fullscreen&&(this._fullscreen=!this._fullscreen,this._fullscreenButton.classList.toggle("mapboxgl-ctrl-shrink"),this._fullscreenButton.classList.toggle("mapboxgl-ctrl-fullscreen"),this._updateTitle())},rt.prototype._onClickFullscreen=function(){this._isFullscreen()?i.window.document.exitFullscreen?i.window.document.exitFullscreen():i.window.document.mozCancelFullScreen?i.window.document.mozCancelFullScreen():i.window.document.msExitFullscreen?i.window.document.msExitFullscreen():i.window.document.webkitCancelFullScreen&&i.window.document.webkitCancelFullScreen():this._container.requestFullscreen?this._container.requestFullscreen():this._container.mozRequestFullScreen?this._container.mozRequestFullScreen():this._container.msRequestFullscreen?this._container.msRequestFullscreen():this._container.webkitRequestFullscreen&&this._container.webkitRequestFullscreen()};var ct={closeButton:!0,closeOnClick:!0,className:"",maxWidth:"240px"},vt=function($){function ee(K){$.call(this),this.options=i.extend(Object.create(ct),K),i.bindAll(["_update","_onClose","remove","_onMouseMove","_onMouseUp","_onDrag"],this)}return $&&(ee.__proto__=$),ee.prototype=Object.create($&&$.prototype),ee.prototype.constructor=ee,ee.prototype.addTo=function(K){return this._map&&this.remove(),this._map=K,this.options.closeOnClick&&this._map.on("click",this._onClose),this.options.closeOnMove&&this._map.on("move",this._onClose),this._map.on("remove",this.remove),this._update(),this._trackPointer?(this._map.on("mousemove",this._onMouseMove),this._map.on("mouseup",this._onMouseUp),this._container&&this._container.classList.add("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("mapboxgl-track-pointer")):this._map.on("move",this._update),this.fire(new i.Event("open")),this},ee.prototype.isOpen=function(){return!!this._map},ee.prototype.remove=function(){return this._content&&v.remove(this._content),this._container&&(v.remove(this._container),delete this._container),this._map&&(this._map.off("move",this._update),this._map.off("move",this._onClose),this._map.off("click",this._onClose),this._map.off("remove",this.remove),this._map.off("mousemove",this._onMouseMove),this._map.off("mouseup",this._onMouseUp),this._map.off("drag",this._onDrag),delete this._map),this.fire(new i.Event("close")),this},ee.prototype.getLngLat=function(){return this._lngLat},ee.prototype.setLngLat=function(K){return this._lngLat=i.LngLat.convert(K),this._pos=null,this._trackPointer=!1,this._update(),this._map&&(this._map.on("move",this._update),this._map.off("mousemove",this._onMouseMove),this._container&&this._container.classList.remove("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.remove("mapboxgl-track-pointer")),this},ee.prototype.trackPointer=function(){return this._trackPointer=!0,this._pos=null,this._update(),this._map&&(this._map.off("move",this._update),this._map.on("mousemove",this._onMouseMove),this._map.on("drag",this._onDrag),this._container&&this._container.classList.add("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("mapboxgl-track-pointer")),this},ee.prototype.getElement=function(){return this._container},ee.prototype.setText=function(K){return this.setDOMContent(i.window.document.createTextNode(K))},ee.prototype.setHTML=function(K){var le,Te=i.window.document.createDocumentFragment(),De=i.window.document.createElement("body");for(De.innerHTML=K;le=De.firstChild;)Te.appendChild(le);return this.setDOMContent(Te)},ee.prototype.getMaxWidth=function(){return this._container&&this._container.style.maxWidth},ee.prototype.setMaxWidth=function(K){return this.options.maxWidth=K,this._update(),this},ee.prototype.setDOMContent=function(K){return this._createContent(),this._content.appendChild(K),this._update(),this},ee.prototype.addClassName=function(K){this._container&&this._container.classList.add(K)},ee.prototype.removeClassName=function(K){this._container&&this._container.classList.remove(K)},ee.prototype.toggleClassName=function(K){if(this._container)return this._container.classList.toggle(K)},ee.prototype._createContent=function(){this._content&&v.remove(this._content),this._content=v.create("div","mapboxgl-popup-content",this._container),this.options.closeButton&&(this._closeButton=v.create("button","mapboxgl-popup-close-button",this._content),this._closeButton.type="button",this._closeButton.setAttribute("aria-label","Close popup"),this._closeButton.innerHTML="×",this._closeButton.addEventListener("click",this._onClose))},ee.prototype._onMouseUp=function(K){this._update(K.point)},ee.prototype._onMouseMove=function(K){this._update(K.point)},ee.prototype._onDrag=function(K){this._update(K.point)},ee.prototype._update=function(K){var le=this,Te=this._lngLat||this._trackPointer;if(this._map&&Te&&this._content&&(this._container||(this._container=v.create("div","mapboxgl-popup",this._map.getContainer()),this._tip=v.create("div","mapboxgl-popup-tip",this._container),this._container.appendChild(this._content),this.options.className&&this.options.className.split(" ").forEach(function(ve){return le._container.classList.add(ve)}),this._trackPointer&&this._container.classList.add("mapboxgl-popup-track-pointer")),this.options.maxWidth&&this._container.style.maxWidth!==this.options.maxWidth&&(this._container.style.maxWidth=this.options.maxWidth),this._map.transform.renderWorldCopies&&!this._trackPointer&&(this._lngLat=ni(this._lngLat,this._pos,this._map.transform)),!this._trackPointer||K)){var De=this._pos=this._trackPointer&&K?K:this._map.project(this._lngLat),He=this.options.anchor,Ze=St(this.options.offset);if(!He){var at,Tt=this._container.offsetWidth,At=this._container.offsetHeight;at=De.y+Ze.bottom.ythis._map.transform.height-At?["bottom"]:[],De.xthis._map.transform.width-Tt/2&&at.push("right"),He=at.length===0?"bottom":at.join("-")}var se=De.add(Ze[He]).round();v.setTransform(this._container,ju[He]+" translate("+se.x+"px,"+se.y+"px)"),fl(this._container,He,"popup")}},ee.prototype._onClose=function(){this.remove()},ee}(i.Evented);function St($){if($){if(typeof $=="number"){var ee=Math.round(Math.sqrt(.5*Math.pow($,2)));return{center:new i.Point(0,0),top:new i.Point(0,$),"top-left":new i.Point(ee,ee),"top-right":new i.Point(-ee,ee),bottom:new i.Point(0,-$),"bottom-left":new i.Point(ee,-ee),"bottom-right":new i.Point(-ee,-ee),left:new i.Point($,0),right:new i.Point(-$,0)}}if($ instanceof i.Point||Array.isArray($)){var K=i.Point.convert($);return{center:K,top:K,"top-left":K,"top-right":K,bottom:K,"bottom-left":K,"bottom-right":K,left:K,right:K}}return{center:i.Point.convert($.center||[0,0]),top:i.Point.convert($.top||[0,0]),"top-left":i.Point.convert($["top-left"]||[0,0]),"top-right":i.Point.convert($["top-right"]||[0,0]),bottom:i.Point.convert($.bottom||[0,0]),"bottom-left":i.Point.convert($["bottom-left"]||[0,0]),"bottom-right":i.Point.convert($["bottom-right"]||[0,0]),left:i.Point.convert($.left||[0,0]),right:i.Point.convert($.right||[0,0])}}return St(new i.Point(0,0))}var Mt={version:i.version,supported:M,setRTLTextPlugin:i.setRTLTextPlugin,getRTLTextPluginStatus:i.getRTLTextPluginStatus,Map:Dl,NavigationControl:Ts,GeolocateControl:hl,AttributionControl:ls,ScaleControl:la,FullscreenControl:rt,Popup:vt,Marker:xo,Style:dr,LngLat:i.LngLat,LngLatBounds:i.LngLatBounds,Point:i.Point,MercatorCoordinate:i.MercatorCoordinate,Evented:i.Evented,config:i.config,prewarm:function(){Lt().acquire(ut)},clearPrewarmedResources:function(){var $=_t;$&&($.isPreloaded()&&$.numActive()===1?($.release(ut),_t=null):console.warn("Could not clear WebWorkers since there are active Map instances that still reference it. The pre-warmed WebWorker pool can only be cleared when all map instances have been removed with map.remove()"))},get accessToken(){return i.config.ACCESS_TOKEN},set accessToken($){i.config.ACCESS_TOKEN=$},get baseApiUrl(){return i.config.API_URL},set baseApiUrl($){i.config.API_URL=$},get workerCount(){return dt.workerCount},set workerCount($){dt.workerCount=$},get maxParallelImageRequests(){return i.config.MAX_PARALLEL_IMAGE_REQUESTS},set maxParallelImageRequests($){i.config.MAX_PARALLEL_IMAGE_REQUESTS=$},clearStorage:function($){i.clearTileCache($)},workerUrl:""};return Mt}),d}()},27084:function(k){k.exports=Math.log2||function(m){return Math.log(m)*Math.LOG2E}},16825:function(k,m,t){k.exports=function(y,i){i||(i=y,y=window);var M=0,v=0,h=0,l={shift:!1,alt:!1,control:!1,meta:!1},a=!1;function u(T){var E=!1;return"altKey"in T&&(E=E||T.altKey!==l.alt,l.alt=!!T.altKey),"shiftKey"in T&&(E=E||T.shiftKey!==l.shift,l.shift=!!T.shiftKey),"ctrlKey"in T&&(E=E||T.ctrlKey!==l.control,l.control=!!T.ctrlKey),"metaKey"in T&&(E=E||T.metaKey!==l.meta,l.meta=!!T.metaKey),E}function s(T,E){var _=d.x(E),A=d.y(E);"buttons"in E&&(T=0|E.buttons),(T!==M||_!==v||A!==h||u(E))&&(M=0|T,v=_||0,h=A||0,i&&i(M,v,h,l))}function o(T){s(0,T)}function c(){(M||v||h||l.shift||l.alt||l.meta||l.control)&&(v=h=0,M=0,l.shift=l.alt=l.control=l.meta=!1,i&&i(0,0,0,l))}function f(T){u(T)&&i&&i(M,v,h,l)}function p(T){d.buttons(T)===0?s(0,T):s(M,T)}function w(T){s(M|d.buttons(T),T)}function g(T){s(M&~d.buttons(T),T)}function S(){a||(a=!0,y.addEventListener("mousemove",p),y.addEventListener("mousedown",w),y.addEventListener("mouseup",g),y.addEventListener("mouseleave",o),y.addEventListener("mouseenter",o),y.addEventListener("mouseout",o),y.addEventListener("mouseover",o),y.addEventListener("blur",c),y.addEventListener("keyup",f),y.addEventListener("keydown",f),y.addEventListener("keypress",f),y!==window&&(window.addEventListener("blur",c),window.addEventListener("keyup",f),window.addEventListener("keydown",f),window.addEventListener("keypress",f)))}S();var x={element:y};return Object.defineProperties(x,{enabled:{get:function(){return a},set:function(T){T?S():a&&(a=!1,y.removeEventListener("mousemove",p),y.removeEventListener("mousedown",w),y.removeEventListener("mouseup",g),y.removeEventListener("mouseleave",o),y.removeEventListener("mouseenter",o),y.removeEventListener("mouseout",o),y.removeEventListener("mouseover",o),y.removeEventListener("blur",c),y.removeEventListener("keyup",f),y.removeEventListener("keydown",f),y.removeEventListener("keypress",f),y!==window&&(window.removeEventListener("blur",c),window.removeEventListener("keyup",f),window.removeEventListener("keydown",f),window.removeEventListener("keypress",f)))},enumerable:!0},buttons:{get:function(){return M},enumerable:!0},x:{get:function(){return v},enumerable:!0},y:{get:function(){return h},enumerable:!0},mods:{get:function(){return l},enumerable:!0}}),x};var d=t(74311)},48956:function(k){var m={left:0,top:0};k.exports=function(t,d,y){d=d||t.currentTarget||t.srcElement,Array.isArray(y)||(y=[0,0]);var i,M=t.clientX||0,v=t.clientY||0,h=(i=d)===window||i===document||i===document.body?m:i.getBoundingClientRect();return y[0]=M-h.left,y[1]=v-h.top,y}},74311:function(k,m){function t(d){return d.target||d.srcElement||window}m.buttons=function(d){if(typeof d=="object"){if("buttons"in d)return d.buttons;if("which"in d){if((y=d.which)===2)return 4;if(y===3)return 2;if(y>0)return 1<=0)return 1<0&&s(c,L))}catch(b){w.call(new S(L),b)}}}function w(_){var A=this;A.triggered||(A.triggered=!0,A.def&&(A=A.def),A.msg=_,A.state=2,A.chain.length>0&&s(c,A))}function g(_,A,L,b){for(var R=0;R1&&(a*=T=Math.sqrt(T),u*=T);var E=a*a,_=u*u,A=(o==c?-1:1)*Math.sqrt(Math.abs((E*_-E*x*x-_*S*S)/(E*x*x+_*S*S)));A==1/0&&(A=1);var L=A*a*x/u+(h+f)/2,b=A*-u*S/a+(l+p)/2,R=Math.asin(((l-b)/u).toFixed(9)),I=Math.asin(((p-b)/u).toFixed(9));(R=hI&&(R-=2*m),!c&&I>R&&(I-=2*m)}if(Math.abs(I-R)>t){var O=I,z=f,F=p;I=R+t*(c&&I>R?1:-1);var B=i(f=L+a*Math.cos(I),p=b+u*Math.sin(I),a,u,s,0,c,z,F,[I,O,L,b])}var N=Math.tan((I-R)/4),W=4/3*a*N,j=4/3*u*N,Y=[2*h-(h+W*Math.sin(R)),2*l-(l-j*Math.cos(R)),f+W*Math.sin(I),p-j*Math.cos(I),f,p];if(w)return Y;B&&(Y=Y.concat(B));for(var U=0;U7&&(a.push(T.splice(0,7)),T.unshift("C"));break;case"S":var _=w,A=g;l!="C"&&l!="S"||(_+=_-u,A+=A-s),T=["C",_,A,T[1],T[2],T[3],T[4]];break;case"T":l=="Q"||l=="T"?(f=2*w-f,p=2*g-p):(f=w,p=g),T=y(w,g,f,p,T[1],T[2]);break;case"Q":f=T[1],p=T[2],T=y(w,g,T[1],T[2],T[3],T[4]);break;case"L":T=d(w,g,T[1],T[2]);break;case"H":T=d(w,g,T[1],g);break;case"V":T=d(w,g,w,T[1]);break;case"Z":T=d(w,g,o,c)}l=E,w=T[T.length-2],g=T[T.length-1],T.length>4?(u=T[T.length-4],s=T[T.length-3]):(u=w,s=g),a.push(T)}return a}},56131:function(k){var m=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;function y(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}k.exports=function(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var M={},v=0;v<10;v++)M["_"+String.fromCharCode(v)]=v;if(Object.getOwnPropertyNames(M).map(function(l){return M[l]}).join("")!=="0123456789")return!1;var h={};return"abcdefghijklmnopqrst".split("").forEach(function(l){h[l]=l}),Object.keys(Object.assign({},h)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}()?Object.assign:function(i,M){for(var v,h,l=y(i),a=1;a"u")return!1;for(var c in window)try{if(!s["$"+c]&&y.call(window,c)&&window[c]!==null&&typeof window[c]=="object")try{u(window[c])}catch{return!0}}catch{return!0}return!1}();d=function(c){var f=c!==null&&typeof c=="object",p=i.call(c)==="[object Function]",w=M(c),g=f&&i.call(c)==="[object String]",S=[];if(!f&&!p&&!w)throw new TypeError("Object.keys called on a non-object");var x=l&&p;if(g&&c.length>0&&!y.call(c,0))for(var T=0;T0)for(var E=0;E"u"||!o)return u(b);try{return u(b)}catch{return!1}}(c),L=0;L=0&&m.call(t.callee)==="[object Function]"),y}},88641:function(k){function m(y,i){if(typeof y!="string")return[y];var M=[y];typeof i=="string"||Array.isArray(i)?i={brackets:i}:i||(i={});var v=i.brackets?Array.isArray(i.brackets)?i.brackets:[i.brackets]:["{}","[]","()"],h=i.escape||"___",l=!!i.flat;v.forEach(function(u){var s=new RegExp(["\\",u[0],"[^\\",u[0],"\\",u[1],"]*\\",u[1]].join("")),o=[];function c(f,p,w){var g=M.push(f.slice(u[0].length,-u[1].length))-1;return o.push(g),h+g+h}M.forEach(function(f,p){for(var w,g=0;f!=w;)if(w=f,f=f.replace(s,c),g++>1e4)throw Error("References have circular dependency. Please, check them.");M[p]=f}),o=o.reverse(),M=M.map(function(f){return o.forEach(function(p){f=f.replace(new RegExp("(\\"+h+p+"\\"+h+")","g"),u[0]+"$1"+u[1])}),f})});var a=new RegExp("\\"+h+"([0-9]+)\\"+h);return l?M:function u(s,o,c){for(var f,p=[],w=0;f=a.exec(s);){if(w++>1e4)throw Error("Circular references in parenthesis");p.push(s.slice(0,f.index)),p.push(u(o[f[1]],o)),s=s.slice(f.index+f[0].length)}return p.push(s),p}(M[0],M)}function t(y,i){if(i&&i.flat){var M,v=i&&i.escape||"___",h=y[0];if(!h)return"";for(var l=new RegExp("\\"+v+"([0-9]+)\\"+v),a=0;h!=M;){if(a++>1e4)throw Error("Circular references in "+y);M=h,h=h.replace(l,u)}return h}return y.reduce(function s(o,c){return Array.isArray(c)&&(c=c.reduce(s,"")),o+c},"");function u(s,o){if(y[o]==null)throw Error("Reference "+o+"is undefined");return y[o]}}function d(y,i){return Array.isArray(y)?t(y,i):m(y,i)}d.parse=m,d.stringify=t,k.exports=d},18863:function(k,m,t){var d=t(71299);k.exports=function(y){var i;return arguments.length>1&&(y=arguments),typeof y=="string"?y=y.split(/\s/).map(parseFloat):typeof y=="number"&&(y=[y]),y.length&&typeof y[0]=="number"?i=y.length===1?{width:y[0],height:y[0],x:0,y:0}:y.length===2?{width:y[0],height:y[1],x:0,y:0}:{x:y[0],y:y[1],width:y[2]-y[0]||0,height:y[3]-y[1]||0}:y&&(i={x:(y=d(y,{left:"x l left Left",top:"y t top Top",width:"w width W Width",height:"h height W Width",bottom:"b bottom Bottom",right:"r right Right"})).left||0,y:y.top||0},y.width==null?y.right?i.width=y.right-i.x:i.width=0:i.width=y.width,y.height==null?y.bottom?i.height=y.bottom-i.y:i.height=0:i.height=y.height),i}},95616:function(k){k.exports=function(y){var i=[];return y.replace(t,function(M,v,h){var l=v.toLowerCase();for(h=function(a){var u=a.match(d);return u?u.map(Number):[]}(h),l=="m"&&h.length>2&&(i.push([v].concat(h.splice(0,2))),l="l",v=v=="m"?"l":"L");;){if(h.length==m[l])return h.unshift(v),i.push(h);if(h.lengthM!=c>M&&i<(o-u)*(M-s)/(c-s)+u&&(v=!v)}return v}},52142:function(k,m,t){var d,y=t(69444),i=t(29023),M=t(87263),v=t(11328),h=t(55968),l=t(10670),a=!1,u=i();function s(o,c,f){var p=d.segments(o),w=d.segments(c),g=f(d.combine(p,w));return d.polygon(g)}d={buildLog:function(o){return o===!0?a=y():o===!1&&(a=!1),a!==!1&&a.list},epsilon:function(o){return u.epsilon(o)},segments:function(o){var c=M(!0,u,a);return o.regions.forEach(c.addRegion),{segments:c.calculate(o.inverted),inverted:o.inverted}},combine:function(o,c){return{combined:M(!1,u,a).calculate(o.segments,o.inverted,c.segments,c.inverted),inverted1:o.inverted,inverted2:c.inverted}},selectUnion:function(o){return{segments:h.union(o.combined,a),inverted:o.inverted1||o.inverted2}},selectIntersect:function(o){return{segments:h.intersect(o.combined,a),inverted:o.inverted1&&o.inverted2}},selectDifference:function(o){return{segments:h.difference(o.combined,a),inverted:o.inverted1&&!o.inverted2}},selectDifferenceRev:function(o){return{segments:h.differenceRev(o.combined,a),inverted:!o.inverted1&&o.inverted2}},selectXor:function(o){return{segments:h.xor(o.combined,a),inverted:o.inverted1!==o.inverted2}},polygon:function(o){return{regions:v(o.segments,u,a),inverted:o.inverted}},polygonFromGeoJSON:function(o){return l.toPolygon(d,o)},polygonToGeoJSON:function(o){return l.fromPolygon(d,u,o)},union:function(o,c){return s(o,c,d.selectUnion)},intersect:function(o,c){return s(o,c,d.selectIntersect)},difference:function(o,c){return s(o,c,d.selectDifference)},differenceRev:function(o,c){return s(o,c,d.selectDifferenceRev)},xor:function(o,c){return s(o,c,d.selectXor)}},typeof window=="object"&&(window.PolyBool=d),k.exports=d},69444:function(k){k.exports=function(){var m,t=0,d=!1;function y(i,M){return m.list.push({type:i,data:M?JSON.parse(JSON.stringify(M)):void 0}),m}return m={list:[],segmentId:function(){return t++},checkIntersection:function(i,M){return y("check",{seg1:i,seg2:M})},segmentChop:function(i,M){return y("div_seg",{seg:i,pt:M}),y("chop",{seg:i,pt:M})},statusRemove:function(i){return y("pop_seg",{seg:i})},segmentUpdate:function(i){return y("seg_update",{seg:i})},segmentNew:function(i,M){return y("new_seg",{seg:i,primary:M})},segmentRemove:function(i){return y("rem_seg",{seg:i})},tempStatus:function(i,M,v){return y("temp_status",{seg:i,above:M,below:v})},rewind:function(i){return y("rewind",{seg:i})},status:function(i,M,v){return y("status",{seg:i,above:M,below:v})},vert:function(i){return i===d?m:(d=i,y("vert",{x:i}))},log:function(i){return typeof i!="string"&&(i=JSON.stringify(i,!1," ")),y("log",{txt:i})},reset:function(){return y("reset")},selected:function(i){return y("selected",{segs:i})},chainStart:function(i){return y("chain_start",{seg:i})},chainRemoveHead:function(i,M){return y("chain_rem_head",{index:i,pt:M})},chainRemoveTail:function(i,M){return y("chain_rem_tail",{index:i,pt:M})},chainNew:function(i,M){return y("chain_new",{pt1:i,pt2:M})},chainMatch:function(i){return y("chain_match",{index:i})},chainClose:function(i){return y("chain_close",{index:i})},chainAddHead:function(i,M){return y("chain_add_head",{index:i,pt:M})},chainAddTail:function(i,M){return y("chain_add_tail",{index:i,pt:M})},chainConnect:function(i,M){return y("chain_con",{index1:i,index2:M})},chainReverse:function(i){return y("chain_rev",{index:i})},chainJoin:function(i,M){return y("chain_join",{index1:i,index2:M})},done:function(){return y("done")}}}},29023:function(k){k.exports=function(m){typeof m!="number"&&(m=1e-10);var t={epsilon:function(d){return typeof d=="number"&&(m=d),m},pointAboveOrOnLine:function(d,y,i){var M=y[0],v=y[1],h=i[0],l=i[1],a=d[0];return(h-M)*(d[1]-v)-(l-v)*(a-M)>=-m},pointBetween:function(d,y,i){var M=d[1]-y[1],v=i[0]-y[0],h=d[0]-y[0],l=i[1]-y[1],a=h*v+M*l;return!(a-m)},pointsSameX:function(d,y){return Math.abs(d[0]-y[0])m!=h-M>m&&(v-u)*(M-s)/(h-s)+u-i>m&&(l=!l),v=u,h=s}return l}};return t}},10670:function(k){var m={toPolygon:function(t,d){function y(v){if(v.length<=0)return t.segments({inverted:!1,regions:[]});function h(u){var s=u.slice(0,u.length-1);return t.segments({inverted:!1,regions:[s]})}for(var l=h(v[0]),a=1;a0})}function w(O,z){var F=O.seg,B=z.seg,N=F.start,W=F.end,j=B.start,Y=B.end;M&&M.checkIntersection(F,B);var U=i.linesIntersect(N,W,j,Y);if(U===!1){if(!i.pointsCollinear(N,W,j)||i.pointsSame(N,Y)||i.pointsSame(W,j))return!1;var G=i.pointsSame(N,j),q=i.pointsSame(W,Y);if(G&&q)return z;var H=!G&&i.pointBetween(N,j,Y),ne=!q&&i.pointBetween(W,j,Y);if(G)return ne?u(z,W):u(O,Y),z;H&&(q||(ne?u(z,W):u(O,Y)),u(z,N))}else U.alongA===0&&(U.alongB===-1?u(O,j):U.alongB===0?u(O,U.pt):U.alongB===1&&u(O,Y)),U.alongB===0&&(U.alongA===-1?u(z,N):U.alongA===0?u(z,U.pt):U.alongA===1&&u(z,W));return!1}for(var g=[];!h.isEmpty();){var S=h.getHead();if(M&&M.vert(S.pt[0]),S.isStart){let O=function(){if(T){var z=w(S,T);if(z)return z}return!!E&&w(S,E)};var I=O;M&&M.segmentNew(S.seg,S.primary);var x=p(S),T=x.before?x.before.ev:null,E=x.after?x.after.ev:null;M&&M.tempStatus(S.seg,!!T&&T.seg,!!E&&E.seg);var _,A,L=O();if(L&&(y?(A=S.seg.myFill.below===null||S.seg.myFill.above!==S.seg.myFill.below)&&(L.seg.myFill.above=!L.seg.myFill.above):L.seg.otherFill=S.seg.myFill,M&&M.segmentUpdate(L.seg),S.other.remove(),S.remove()),h.getHead()!==S){M&&M.rewind(S.seg);continue}y?(A=S.seg.myFill.below===null||S.seg.myFill.above!==S.seg.myFill.below,S.seg.myFill.below=E?E.seg.myFill.above:o,S.seg.myFill.above=A?!S.seg.myFill.below:S.seg.myFill.below):S.seg.otherFill===null&&(_=E?S.primary===E.primary?E.seg.otherFill.above:E.seg.myFill.above:S.primary?c:o,S.seg.otherFill={above:_,below:_}),M&&M.status(S.seg,!!T&&T.seg,!!E&&E.seg),S.other.status=x.insert(d.node({ev:S}))}else{var b=S.status;if(b===null)throw new Error("PolyBool: Zero-length segment detected; your epsilon is probably too small or too large");if(f.exists(b.prev)&&f.exists(b.next)&&w(b.prev.ev,b.next.ev),M&&M.statusRemove(b.ev.seg),b.remove(),!S.primary){var R=S.seg.myFill;S.seg.myFill=S.seg.otherFill,S.seg.otherFill=R}g.push(S.seg)}h.getHead().remove()}return M&&M.done(),g}return y?{addRegion:function(o){for(var c,f,p,w=o[o.length-1],g=0;g0&&!this.aborted;){var M=this.ifds_to_read.shift();M.offset&&this.scan_ifd(M.id,M.offset,y)}},d.prototype.read_uint16=function(y){var i=this.input;if(y+2>i.length)throw m("unexpected EOF","EBADDATA");return this.big_endian?256*i[y]+i[y+1]:i[y]+256*i[y+1]},d.prototype.read_uint32=function(y){var i=this.input;if(y+4>i.length)throw m("unexpected EOF","EBADDATA");return this.big_endian?16777216*i[y]+65536*i[y+1]+256*i[y+2]+i[y+3]:i[y]+256*i[y+1]+65536*i[y+2]+16777216*i[y+3]},d.prototype.is_subifd_link=function(y,i){return y===0&&i===34665||y===0&&i===34853||y===34665&&i===40965},d.prototype.exif_format_length=function(y){switch(y){case 1:case 2:case 6:case 7:return 1;case 3:case 8:return 2;case 4:case 9:case 11:return 4;case 5:case 10:case 12:return 8;default:return 0}},d.prototype.exif_format_read=function(y,i){var M;switch(y){case 1:case 2:return this.input[i];case 6:return(M=this.input[i])|33554430*(128&M);case 3:return this.read_uint16(i);case 8:return(M=this.read_uint16(i))|131070*(32768&M);case 4:return this.read_uint32(i);case 9:return 0|this.read_uint32(i);default:return null}},d.prototype.scan_ifd=function(y,i,M){var v=this.read_uint16(i);i+=2;for(var h=0;hthis.input.length)throw m("unexpected EOF","EBADDATA");for(var p=[],w=c,g=0;g0&&(this.ifds_to_read.push({id:l,offset:p[0]}),f=!0),M({is_big_endian:this.big_endian,ifd:y,tag:l,format:a,count:u,entry_offset:i+this.start,data_length:o,data_offset:c+this.start,value:p,is_subifd_link:f})===!1)return void(this.aborted=!0);i+=12}y===0&&this.ifds_to_read.push({id:1,offset:this.read_uint32(i)})},k.exports.ExifParser=d,k.exports.get_orientation=function(y){var i=0;try{return new d(y,0,y.length).each(function(M){if(M.ifd===0&&M.tag===274&&Array.isArray(M.value))return i=M.value[0],!1}),i}catch{return-1}}},76767:function(k,m,t){var d=t(14847).n8,y=t(14847).Ag;function i(u,s){if(u.length<4+s)return null;var o=y(u,s);return u.length>4&15,c=15&u[4],f=u[5]>>4&15,p=d(u,6),w=8,g=0;gx.width||S.width===x.width&&S.height>x.height?S:x}),f=o.reduce(function(S,x){return S.height>x.height||S.height===x.height&&S.width>x.width?S:x}),c.width>f.height||c.width===f.height&&c.height>f.width?c:f),w=1;s.transforms.forEach(function(S){var x={1:6,2:5,3:8,4:7,5:4,6:3,7:2,8:1},T={1:4,2:3,3:2,4:1,5:6,6:5,7:8,8:7};if(S.type==="imir"&&(w=S.value===0?T[w]:x[w=x[w=T[w]]]),S.type==="irot")for(var E=0;E1&&(p.variants=f.variants),f.orientation&&(p.orientation=f.orientation),f.exif_location&&f.exif_location.offset+f.exif_location.length<=l.length){var w=i(l,f.exif_location.offset),g=l.slice(f.exif_location.offset+w+4,f.exif_location.offset+f.exif_location.length),S=v.get_orientation(g);S>0&&(p.orientation=S)}return p}}}}}}},2504:function(k,m,t){var d=t(14847).eG,y=t(14847).OF,i=t(14847).mP,M=d("BM");k.exports=function(v){if(!(v.length<26)&&y(v,0,M))return{width:i(v,18),height:i(v,22),type:"bmp",mime:"image/bmp",wUnits:"px",hUnits:"px"}}},47342:function(k,m,t){var d=t(14847).eG,y=t(14847).OF,i=t(14847).mP,M=d("GIF87a"),v=d("GIF89a");k.exports=function(h){if(!(h.length<10)&&(y(h,0,M)||y(h,0,v)))return{width:i(h,6),height:i(h,8),type:"gif",mime:"image/gif",wUnits:"px",hUnits:"px"}}},31355:function(k,m,t){var d=t(14847).mP;k.exports=function(y){var i=d(y,0),M=d(y,2),v=d(y,4);if(i===0&&M===1&&v){for(var h=[],l={width:0,height:0},a=0;al.width||s>l.height)&&(l=o)}return{width:l.width,height:l.height,variants:h,type:"ico",mime:"image/x-icon",wUnits:"px",hUnits:"px"}}}},54261:function(k,m,t){var d=t(14847).n8,y=t(14847).eG,i=t(14847).OF,M=t(71371),v=y("Exif\0\0");k.exports=function(h){if(!(h.length<2)&&h[0]===255&&h[1]===216&&h[2]===255)for(var l=2;;){for(;;){if(h.length-l<2)return;if(h[l++]===255)break}for(var a,u,s=h[l++];s===255;)s=h[l++];if(208<=s&&s<=217||s===1)a=0;else{if(!(192<=s&&s<=254)||h.length-l<2)return;a=d(h,l)-2,l+=2}if(s===217||s===218)return;if(s===225&&a>=10&&i(h,l,v)&&(u=M.get_orientation(h.slice(l+6,l+a))),a>=5&&192<=s&&s<=207&&s!==196&&s!==200&&s!==204){if(h.length-l0&&(o.orientation=u),o}l+=a}}},6303:function(k,m,t){var d=t(14847).eG,y=t(14847).OF,i=t(14847).Ag,M=d(`‰PNG\r +`})}}var Al=Object.freeze({__proto__:null,prelude:Ir,background:Lr,backgroundPattern:zr,circle:gr,clippingMask:Fr,heatmap:ii,heatmapTexture:ji,collisionBox:ea,collisionCircle:sa,debug:uo,fill:La,fillOutline:Xi,fillOutlinePattern:Do,fillPattern:rs,fillExtrusion:el,fillExtrusionPattern:Cu,hillshadePrepare:gf,hillshade:Mh,line:Eu,lineGradient:is,linePattern:Ah,lineSDF:Ya,raster:hc,symbolIcon:Yo,symbolSDF:as,symbolTextAndIcon:Ml}),ps=function(){this.boundProgram=null,this.boundLayoutVertexBuffer=null,this.boundPaintVertexBuffers=[],this.boundIndexBuffer=null,this.boundVertexOffset=null,this.boundDynamicVertexBuffer=null,this.vao=null};ps.prototype.bind=function(Y,ee,K,le,Te,De,He,Ze){this.context=Y;for(var at=this.boundPaintVertexBuffers.length!==le.length,Tt=0;!at&&Tt>16,Ze>>16],u_pixel_coord_lower:[65535&He,65535&Ze]}}Es.prototype.draw=function(Y,ee,K,le,Te,De,He,Ze,at,Tt,At,se,ve,Ie,Fe,Ue){var We,Xe=Y.gl;if(!this.failedToCreate){for(var tt in Y.program.set(this.program),Y.setDepthMode(K),Y.setStencilMode(le),Y.setColorMode(Te),Y.setCullFace(De),this.fixedUniforms)this.fixedUniforms[tt].set(He[tt]);Ie&&Ie.setUniforms(Y,this.binderUniforms,se,{zoom:ve});for(var lt=(We={},We[Xe.LINES]=2,We[Xe.TRIANGLES]=3,We[Xe.LINE_STRIP]=1,We)[ee],mt=0,zt=At.get();mt0?1-1/(1.001-He):-He),u_contrast_factor:(De=Te.paint.get("raster-contrast"),De>0?1/(1-De):1+De),u_spin_weights:Ql(Te.paint.get("raster-hue-rotate"))};var De,He};function Ql(Y){Y*=Math.PI/180;var ee=Math.sin(Y),K=Math.cos(Y);return[(2*K+1)/3,(-Math.sqrt(3)*ee-K+1)/3,(Math.sqrt(3)*ee-K+1)/3]}var al,Hi=function(Y,ee,K,le,Te,De,He,Ze,at,Tt){var At=Te.transform;return{u_is_size_zoom_constant:+(Y==="constant"||Y==="source"),u_is_size_feature_constant:+(Y==="constant"||Y==="camera"),u_size_t:ee?ee.uSizeT:0,u_size:ee?ee.uSize:0,u_camera_to_center_distance:At.cameraToCenterDistance,u_pitch:At.pitch/360*2*Math.PI,u_rotate_symbol:+K,u_aspect_ratio:At.width/At.height,u_fade_change:Te.options.fadeDuration?Te.symbolFadeChange:1,u_matrix:De,u_label_plane_matrix:He,u_coord_matrix:Ze,u_is_text:+at,u_pitch_with_map:+le,u_texsize:Tt,u_texture:0}},Cl=function(Y,ee,K,le,Te,De,He,Ze,at,Tt,At){var se=Te.transform;return i.extend(Hi(Y,ee,K,le,Te,De,He,Ze,at,Tt),{u_gamma_scale:le?Math.cos(se._pitch)*se.cameraToCenterDistance:1,u_device_pixel_ratio:i.browser.devicePixelRatio,u_is_halo:+At})},ad=function(Y,ee,K,le,Te,De,He,Ze,at,Tt){return i.extend(Cl(Y,ee,K,le,Te,De,He,Ze,!0,at,!0),{u_texsize_icon:Tt,u_texture_icon:1})},Uc=function(Y,ee,K){return{u_matrix:Y,u_opacity:ee,u_color:K}},dc=function(Y,ee,K,le,Te,De){return i.extend(function(He,Ze,at,Tt){var At=at.imageManager.getPattern(He.from.toString()),se=at.imageManager.getPattern(He.to.toString()),ve=at.imageManager.getPixelSize(),Ie=ve.width,Fe=ve.height,Ue=Math.pow(2,Tt.tileID.overscaledZ),We=Tt.tileSize*Math.pow(2,at.transform.tileZoom)/Ue,Xe=We*(Tt.tileID.canonical.x+Tt.tileID.wrap*Ue),tt=We*Tt.tileID.canonical.y;return{u_image:0,u_pattern_tl_a:At.tl,u_pattern_br_a:At.br,u_pattern_tl_b:se.tl,u_pattern_br_b:se.br,u_texsize:[Ie,Fe],u_mix:Ze.t,u_pattern_size_a:At.displaySize,u_pattern_size_b:se.displaySize,u_scale_a:Ze.fromScale,u_scale_b:Ze.toScale,u_tile_units_to_pixels:1/vr(Tt,1,at.transform.tileZoom),u_pixel_coord_upper:[Xe>>16,tt>>16],u_pixel_coord_lower:[65535&Xe,65535&tt]}}(le,De,K,Te),{u_matrix:Y,u_opacity:ee})},eu={fillExtrusion:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_lightpos:new i.Uniform3f(Y,ee.u_lightpos),u_lightintensity:new i.Uniform1f(Y,ee.u_lightintensity),u_lightcolor:new i.Uniform3f(Y,ee.u_lightcolor),u_vertical_gradient:new i.Uniform1f(Y,ee.u_vertical_gradient),u_opacity:new i.Uniform1f(Y,ee.u_opacity)}},fillExtrusionPattern:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_lightpos:new i.Uniform3f(Y,ee.u_lightpos),u_lightintensity:new i.Uniform1f(Y,ee.u_lightintensity),u_lightcolor:new i.Uniform3f(Y,ee.u_lightcolor),u_vertical_gradient:new i.Uniform1f(Y,ee.u_vertical_gradient),u_height_factor:new i.Uniform1f(Y,ee.u_height_factor),u_image:new i.Uniform1i(Y,ee.u_image),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_pixel_coord_upper:new i.Uniform2f(Y,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f(Y,ee.u_pixel_coord_lower),u_scale:new i.Uniform3f(Y,ee.u_scale),u_fade:new i.Uniform1f(Y,ee.u_fade),u_opacity:new i.Uniform1f(Y,ee.u_opacity)}},fill:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix)}},fillPattern:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_image:new i.Uniform1i(Y,ee.u_image),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_pixel_coord_upper:new i.Uniform2f(Y,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f(Y,ee.u_pixel_coord_lower),u_scale:new i.Uniform3f(Y,ee.u_scale),u_fade:new i.Uniform1f(Y,ee.u_fade)}},fillOutline:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_world:new i.Uniform2f(Y,ee.u_world)}},fillOutlinePattern:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_world:new i.Uniform2f(Y,ee.u_world),u_image:new i.Uniform1i(Y,ee.u_image),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_pixel_coord_upper:new i.Uniform2f(Y,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f(Y,ee.u_pixel_coord_lower),u_scale:new i.Uniform3f(Y,ee.u_scale),u_fade:new i.Uniform1f(Y,ee.u_fade)}},circle:function(Y,ee){return{u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_scale_with_map:new i.Uniform1i(Y,ee.u_scale_with_map),u_pitch_with_map:new i.Uniform1i(Y,ee.u_pitch_with_map),u_extrude_scale:new i.Uniform2f(Y,ee.u_extrude_scale),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix)}},collisionBox:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_pixels_to_tile_units:new i.Uniform1f(Y,ee.u_pixels_to_tile_units),u_extrude_scale:new i.Uniform2f(Y,ee.u_extrude_scale),u_overscale_factor:new i.Uniform1f(Y,ee.u_overscale_factor)}},collisionCircle:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_inv_matrix:new i.UniformMatrix4f(Y,ee.u_inv_matrix),u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_viewport_size:new i.Uniform2f(Y,ee.u_viewport_size)}},debug:function(Y,ee){return{u_color:new i.UniformColor(Y,ee.u_color),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_overlay:new i.Uniform1i(Y,ee.u_overlay),u_overlay_scale:new i.Uniform1f(Y,ee.u_overlay_scale)}},clippingMask:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix)}},heatmap:function(Y,ee){return{u_extrude_scale:new i.Uniform1f(Y,ee.u_extrude_scale),u_intensity:new i.Uniform1f(Y,ee.u_intensity),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix)}},heatmapTexture:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_world:new i.Uniform2f(Y,ee.u_world),u_image:new i.Uniform1i(Y,ee.u_image),u_color_ramp:new i.Uniform1i(Y,ee.u_color_ramp),u_opacity:new i.Uniform1f(Y,ee.u_opacity)}},hillshade:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_image:new i.Uniform1i(Y,ee.u_image),u_latrange:new i.Uniform2f(Y,ee.u_latrange),u_light:new i.Uniform2f(Y,ee.u_light),u_shadow:new i.UniformColor(Y,ee.u_shadow),u_highlight:new i.UniformColor(Y,ee.u_highlight),u_accent:new i.UniformColor(Y,ee.u_accent)}},hillshadePrepare:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_image:new i.Uniform1i(Y,ee.u_image),u_dimension:new i.Uniform2f(Y,ee.u_dimension),u_zoom:new i.Uniform1f(Y,ee.u_zoom),u_maxzoom:new i.Uniform1f(Y,ee.u_maxzoom),u_unpack:new i.Uniform4f(Y,ee.u_unpack)}},line:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_ratio:new i.Uniform1f(Y,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_units_to_pixels:new i.Uniform2f(Y,ee.u_units_to_pixels)}},lineGradient:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_ratio:new i.Uniform1f(Y,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_units_to_pixels:new i.Uniform2f(Y,ee.u_units_to_pixels),u_image:new i.Uniform1i(Y,ee.u_image)}},linePattern:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_ratio:new i.Uniform1f(Y,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_image:new i.Uniform1i(Y,ee.u_image),u_units_to_pixels:new i.Uniform2f(Y,ee.u_units_to_pixels),u_scale:new i.Uniform3f(Y,ee.u_scale),u_fade:new i.Uniform1f(Y,ee.u_fade)}},lineSDF:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_ratio:new i.Uniform1f(Y,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_units_to_pixels:new i.Uniform2f(Y,ee.u_units_to_pixels),u_patternscale_a:new i.Uniform2f(Y,ee.u_patternscale_a),u_patternscale_b:new i.Uniform2f(Y,ee.u_patternscale_b),u_sdfgamma:new i.Uniform1f(Y,ee.u_sdfgamma),u_image:new i.Uniform1i(Y,ee.u_image),u_tex_y_a:new i.Uniform1f(Y,ee.u_tex_y_a),u_tex_y_b:new i.Uniform1f(Y,ee.u_tex_y_b),u_mix:new i.Uniform1f(Y,ee.u_mix)}},raster:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_tl_parent:new i.Uniform2f(Y,ee.u_tl_parent),u_scale_parent:new i.Uniform1f(Y,ee.u_scale_parent),u_buffer_scale:new i.Uniform1f(Y,ee.u_buffer_scale),u_fade_t:new i.Uniform1f(Y,ee.u_fade_t),u_opacity:new i.Uniform1f(Y,ee.u_opacity),u_image0:new i.Uniform1i(Y,ee.u_image0),u_image1:new i.Uniform1i(Y,ee.u_image1),u_brightness_low:new i.Uniform1f(Y,ee.u_brightness_low),u_brightness_high:new i.Uniform1f(Y,ee.u_brightness_high),u_saturation_factor:new i.Uniform1f(Y,ee.u_saturation_factor),u_contrast_factor:new i.Uniform1f(Y,ee.u_contrast_factor),u_spin_weights:new i.Uniform3f(Y,ee.u_spin_weights)}},symbolIcon:function(Y,ee){return{u_is_size_zoom_constant:new i.Uniform1i(Y,ee.u_is_size_zoom_constant),u_is_size_feature_constant:new i.Uniform1i(Y,ee.u_is_size_feature_constant),u_size_t:new i.Uniform1f(Y,ee.u_size_t),u_size:new i.Uniform1f(Y,ee.u_size),u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_pitch:new i.Uniform1f(Y,ee.u_pitch),u_rotate_symbol:new i.Uniform1i(Y,ee.u_rotate_symbol),u_aspect_ratio:new i.Uniform1f(Y,ee.u_aspect_ratio),u_fade_change:new i.Uniform1f(Y,ee.u_fade_change),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_label_plane_matrix:new i.UniformMatrix4f(Y,ee.u_label_plane_matrix),u_coord_matrix:new i.UniformMatrix4f(Y,ee.u_coord_matrix),u_is_text:new i.Uniform1i(Y,ee.u_is_text),u_pitch_with_map:new i.Uniform1i(Y,ee.u_pitch_with_map),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_texture:new i.Uniform1i(Y,ee.u_texture)}},symbolSDF:function(Y,ee){return{u_is_size_zoom_constant:new i.Uniform1i(Y,ee.u_is_size_zoom_constant),u_is_size_feature_constant:new i.Uniform1i(Y,ee.u_is_size_feature_constant),u_size_t:new i.Uniform1f(Y,ee.u_size_t),u_size:new i.Uniform1f(Y,ee.u_size),u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_pitch:new i.Uniform1f(Y,ee.u_pitch),u_rotate_symbol:new i.Uniform1i(Y,ee.u_rotate_symbol),u_aspect_ratio:new i.Uniform1f(Y,ee.u_aspect_ratio),u_fade_change:new i.Uniform1f(Y,ee.u_fade_change),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_label_plane_matrix:new i.UniformMatrix4f(Y,ee.u_label_plane_matrix),u_coord_matrix:new i.UniformMatrix4f(Y,ee.u_coord_matrix),u_is_text:new i.Uniform1i(Y,ee.u_is_text),u_pitch_with_map:new i.Uniform1i(Y,ee.u_pitch_with_map),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_texture:new i.Uniform1i(Y,ee.u_texture),u_gamma_scale:new i.Uniform1f(Y,ee.u_gamma_scale),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_is_halo:new i.Uniform1i(Y,ee.u_is_halo)}},symbolTextAndIcon:function(Y,ee){return{u_is_size_zoom_constant:new i.Uniform1i(Y,ee.u_is_size_zoom_constant),u_is_size_feature_constant:new i.Uniform1i(Y,ee.u_is_size_feature_constant),u_size_t:new i.Uniform1f(Y,ee.u_size_t),u_size:new i.Uniform1f(Y,ee.u_size),u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_pitch:new i.Uniform1f(Y,ee.u_pitch),u_rotate_symbol:new i.Uniform1i(Y,ee.u_rotate_symbol),u_aspect_ratio:new i.Uniform1f(Y,ee.u_aspect_ratio),u_fade_change:new i.Uniform1f(Y,ee.u_fade_change),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_label_plane_matrix:new i.UniformMatrix4f(Y,ee.u_label_plane_matrix),u_coord_matrix:new i.UniformMatrix4f(Y,ee.u_coord_matrix),u_is_text:new i.Uniform1i(Y,ee.u_is_text),u_pitch_with_map:new i.Uniform1i(Y,ee.u_pitch_with_map),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_texsize_icon:new i.Uniform2f(Y,ee.u_texsize_icon),u_texture:new i.Uniform1i(Y,ee.u_texture),u_texture_icon:new i.Uniform1i(Y,ee.u_texture_icon),u_gamma_scale:new i.Uniform1f(Y,ee.u_gamma_scale),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_is_halo:new i.Uniform1i(Y,ee.u_is_halo)}},background:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_opacity:new i.Uniform1f(Y,ee.u_opacity),u_color:new i.UniformColor(Y,ee.u_color)}},backgroundPattern:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_opacity:new i.Uniform1f(Y,ee.u_opacity),u_image:new i.Uniform1i(Y,ee.u_image),u_pattern_tl_a:new i.Uniform2f(Y,ee.u_pattern_tl_a),u_pattern_br_a:new i.Uniform2f(Y,ee.u_pattern_br_a),u_pattern_tl_b:new i.Uniform2f(Y,ee.u_pattern_tl_b),u_pattern_br_b:new i.Uniform2f(Y,ee.u_pattern_br_b),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_mix:new i.Uniform1f(Y,ee.u_mix),u_pattern_size_a:new i.Uniform2f(Y,ee.u_pattern_size_a),u_pattern_size_b:new i.Uniform2f(Y,ee.u_pattern_size_b),u_scale_a:new i.Uniform1f(Y,ee.u_scale_a),u_scale_b:new i.Uniform1f(Y,ee.u_scale_b),u_pixel_coord_upper:new i.Uniform2f(Y,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f(Y,ee.u_pixel_coord_lower),u_tile_units_to_pixels:new i.Uniform1f(Y,ee.u_tile_units_to_pixels)}}};function Ru(Y,ee,K,le,Te,De,He){for(var Ze=Y.context,at=Ze.gl,Tt=Y.useProgram("collisionBox"),At=[],se=0,ve=0,Ie=0;Ie0){var mt=i.create(),zt=Xe;i.mul(mt,We.placementInvProjMatrix,Y.transform.glCoordMatrix),i.mul(mt,mt,We.placementViewportMatrix),At.push({circleArray:lt,circleOffset:ve,transform:zt,invTransform:mt}),ve=se+=lt.length/4}tt&&Tt.draw(Ze,at.LINES,qt.disabled,Ke.disabled,Y.colorModeForRenderPass(),qe.disabled,xf(Xe,Y.transform,Ue),K.id,tt.layoutVertexBuffer,tt.indexBuffer,tt.segments,null,Y.transform.zoom,null,null,tt.collisionVertexBuffer)}}if(He&&At.length){var Ut=Y.useProgram("collisionCircle"),Ht=new i.StructArrayLayout2f1f2i16;Ht.resize(4*se),Ht._trim();for(var en=0,vn=0,tn=At;vn=0&&(Fe[We.associatedIconIndex]={shiftedAnchor:tn,angle:ln})}else rr(We.numGlyphs,ve)}if(At){Ie.clear();for(var Cn=Y.icon.placedSymbolArray,_n=0;_n0){var He=i.browser.now(),Ze=(He-Y.timeAdded)/De,at=ee?(He-ee.timeAdded)/De:-1,Tt=K.getSource(),At=Te.coveringZoomLevel({tileSize:Tt.tileSize,roundZoom:Tt.roundZoom}),se=!ee||Math.abs(ee.tileID.overscaledZ-At)>Math.abs(Y.tileID.overscaledZ-At),ve=se&&Y.refreshedUponExpiration?1:i.clamp(se?Ze:1-at,0,1);return Y.refreshedUponExpiration&&Ze>=1&&(Y.refreshedUponExpiration=!1),ee?{opacity:1,mix:1-ve}:{opacity:ve,mix:0}}return{opacity:1,mix:0}}var yc=new i.Color(1,0,0,1),bc=new i.Color(0,1,0,1),Rh=new i.Color(0,0,1,1),El=new i.Color(1,0,1,1),Hc=new i.Color(0,1,1,1);function xc(Y){var ee=Y.transform.padding;Ph(Y,Y.transform.height-(ee.top||0),3,yc),Ph(Y,ee.bottom||0,3,bc),_c(Y,ee.left||0,3,Rh),_c(Y,Y.transform.width-(ee.right||0),3,El);var K=Y.transform.centerPoint;(function(le,Te,De,He){var Ze=20,at=2;Du(le,Te-at/2,De-Ze/2,at,Ze,He),Du(le,Te-Ze/2,De-at/2,Ze,at,He)})(Y,K.x,Y.transform.height-K.y,Hc)}function Ph(Y,ee,K,le){Du(Y,0,ee+K/2,Y.transform.width,K,le)}function _c(Y,ee,K,le){Du(Y,ee-K/2,0,K,Y.transform.height,le)}function Du(Y,ee,K,le,Te,De){var He=Y.context,Ze=He.gl;Ze.enable(Ze.SCISSOR_TEST),Ze.scissor(ee*i.browser.devicePixelRatio,K*i.browser.devicePixelRatio,le*i.browser.devicePixelRatio,Te*i.browser.devicePixelRatio),He.clear({color:De}),Ze.disable(Ze.SCISSOR_TEST)}function ru(Y,ee,K){var le=Y.context,Te=le.gl,De=K.posMatrix,He=Y.useProgram("debug"),Ze=qt.disabled,at=Ke.disabled,Tt=Y.colorModeForRenderPass(),At="$debug";le.activeTexture.set(Te.TEXTURE0),Y.emptyTexture.bind(Te.LINEAR,Te.CLAMP_TO_EDGE),He.draw(le,Te.LINE_STRIP,Ze,at,Tt,qe.disabled,nl(De,i.Color.red),At,Y.debugBuffer,Y.tileBorderIndexBuffer,Y.debugSegments);var se=ee.getTileByID(K.key).latestRawTileData,ve=se&&se.byteLength||0,Ie=Math.floor(ve/1024),Fe=ee.getTile(K).tileSize,Ue=512/Math.min(Fe,512)*(K.overscaledZ/Y.transform.zoom)*.5,We=K.canonical.toString();K.overscaledZ!==K.canonical.z&&(We+=" => "+K.overscaledZ),function(Xe,tt){Xe.initDebugOverlayCanvas();var lt=Xe.debugOverlayCanvas,mt=Xe.context.gl,zt=Xe.debugOverlayCanvas.getContext("2d");zt.clearRect(0,0,lt.width,lt.height),zt.shadowColor="white",zt.shadowBlur=2,zt.lineWidth=1.5,zt.strokeStyle="white",zt.textBaseline="top",zt.font="bold 36px Open Sans, sans-serif",zt.fillText(tt,5,5),zt.strokeText(tt,5,5),Xe.debugOverlayTexture.update(lt),Xe.debugOverlayTexture.bind(mt.LINEAR,mt.CLAMP_TO_EDGE)}(Y,We+" "+Ie+"kb"),He.draw(le,Te.TRIANGLES,Ze,at,Je.alphaBlended,qe.disabled,nl(De,i.Color.transparent,Ue),At,Y.debugBuffer,Y.quadTriangleIndexBuffer,Y.debugSegments)}var iu={symbol:function(Y,ee,K,le,Te){if(Y.renderPass==="translucent"){var De=Ke.disabled,He=Y.colorModeForRenderPass();K.layout.get("text-variable-anchor")&&function(Ze,at,Tt,At,se,ve,Ie){for(var Fe=at.transform,Ue=se==="map",We=ve==="map",Xe=0,tt=Ze;Xe256&&this.clearStencil(),K.setColorMode(Je.disabled),K.setDepthMode(qt.disabled);var Te=this.useProgram("clippingMask");this._tileClippingMaskIDs={};for(var De=0,He=ee;De256&&this.clearStencil();var Y=this.nextStencilID++,ee=this.context.gl;return new Ke({func:ee.NOTEQUAL,mask:255},Y,255,ee.KEEP,ee.KEEP,ee.REPLACE)},Ki.prototype.stencilModeForClipping=function(Y){var ee=this.context.gl;return new Ke({func:ee.EQUAL,mask:255},this._tileClippingMaskIDs[Y.key],0,ee.KEEP,ee.KEEP,ee.REPLACE)},Ki.prototype.stencilConfigForOverlap=function(Y){var ee,K=this.context.gl,le=Y.sort(function(at,Tt){return Tt.overscaledZ-at.overscaledZ}),Te=le[le.length-1].overscaledZ,De=le[0].overscaledZ-Te+1;if(De>1){this.currentStencilSource=void 0,this.nextStencilID+De>256&&this.clearStencil();for(var He={},Ze=0;Ze=0;this.currentLayer--){var zt=this.style._layers[le[this.currentLayer]],Ut=Te[zt.source],Ht=Tt[zt.source];this._renderTileClippingMasks(zt,Ht),this.renderLayer(this,Ut,zt,Ht)}for(this.renderPass="translucent",this.currentLayer=0;this.currentLayer0?ee.pop():null},Ki.prototype.isPatternMissing=function(Y){if(!Y)return!1;if(!Y.from||!Y.to)return!0;var ee=this.imageManager.getPattern(Y.from.toString()),K=this.imageManager.getPattern(Y.to.toString());return!ee||!K},Ki.prototype.useProgram=function(Y,ee){this.cache=this.cache||{};var K=""+Y+(ee?ee.cacheKey:"")+(this._showOverdrawInspector?"/overdraw":"");return this.cache[K]||(this.cache[K]=new Es(this.context,Al[Y],ee,eu[Y],this._showOverdrawInspector)),this.cache[K]},Ki.prototype.setCustomLayerDefaults=function(){this.context.unbindVAO(),this.context.cullFace.setDefault(),this.context.activeTexture.setDefault(),this.context.pixelStoreUnpack.setDefault(),this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.context.pixelStoreUnpackFlipY.setDefault()},Ki.prototype.setBaseState=function(){var Y=this.context.gl;this.context.cullFace.set(!1),this.context.viewport.set([0,0,this.width,this.height]),this.context.blendEquation.set(Y.FUNC_ADD)},Ki.prototype.initDebugOverlayCanvas=function(){if(this.debugOverlayCanvas==null){this.debugOverlayCanvas=i.window.document.createElement("canvas"),this.debugOverlayCanvas.width=512,this.debugOverlayCanvas.height=512;var Y=this.context.gl;this.debugOverlayTexture=new i.Texture(this.context,this.debugOverlayCanvas,Y.RGBA)}},Ki.prototype.destroy=function(){this.emptyTexture.destroy(),this.debugOverlayTexture&&this.debugOverlayTexture.destroy()};var Ll=function(Y,ee){this.points=Y,this.planes=ee};Ll.fromInvProjectionMatrix=function(Y,ee,K){var le=Math.pow(2,K),Te=[[-1,1,-1,1],[1,1,-1,1],[1,-1,-1,1],[-1,-1,-1,1],[-1,1,1,1],[1,1,1,1],[1,-1,1,1],[-1,-1,1,1]].map(function(He){return i.transformMat4([],He,Y)}).map(function(He){return i.scale$1([],He,1/He[3]/ee*le)}),De=[[0,1,2],[6,5,4],[0,3,7],[2,1,5],[3,2,6],[0,4,5]].map(function(He){var Ze=i.sub([],Te[He[0]],Te[He[1]]),at=i.sub([],Te[He[2]],Te[He[1]]),Tt=i.normalize([],i.cross([],Ze,at)),At=-i.dot(Tt,Te[He[1]]);return Tt.concat(At)});return new Ll(Te,De)};var Il=function(Y,ee){this.min=Y,this.max=ee,this.center=i.scale$2([],i.add([],this.min,this.max),.5)};Il.prototype.quadrant=function(Y){for(var ee=[Y%2==0,Y<2],K=i.clone$2(this.min),le=i.clone$2(this.max),Te=0;Te=0;if(De===0)return 0;De!==ee.length&&(K=!1)}if(K)return 2;for(var Ze=0;Ze<3;Ze++){for(var at=Number.MAX_VALUE,Tt=-Number.MAX_VALUE,At=0;Atthis.max[Ze]-this.min[Ze])return 0}return 1};var po=function(Y,ee,K,le){if(Y===void 0&&(Y=0),ee===void 0&&(ee=0),K===void 0&&(K=0),le===void 0&&(le=0),isNaN(Y)||Y<0||isNaN(ee)||ee<0||isNaN(K)||K<0||isNaN(le)||le<0)throw new Error("Invalid value for edge-insets, top, bottom, left and right must all be numbers");this.top=Y,this.bottom=ee,this.left=K,this.right=le};po.prototype.interpolate=function(Y,ee,K){return ee.top!=null&&Y.top!=null&&(this.top=i.number(Y.top,ee.top,K)),ee.bottom!=null&&Y.bottom!=null&&(this.bottom=i.number(Y.bottom,ee.bottom,K)),ee.left!=null&&Y.left!=null&&(this.left=i.number(Y.left,ee.left,K)),ee.right!=null&&Y.right!=null&&(this.right=i.number(Y.right,ee.right,K)),this},po.prototype.getCenter=function(Y,ee){var K=i.clamp((this.left+Y-this.right)/2,0,Y),le=i.clamp((this.top+ee-this.bottom)/2,0,ee);return new i.Point(K,le)},po.prototype.equals=function(Y){return this.top===Y.top&&this.bottom===Y.bottom&&this.left===Y.left&&this.right===Y.right},po.prototype.clone=function(){return new po(this.top,this.bottom,this.left,this.right)},po.prototype.toJSON=function(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}};var Oi=function(Y,ee,K,le,Te){this.tileSize=512,this.maxValidLatitude=85.051129,this._renderWorldCopies=Te===void 0||Te,this._minZoom=Y||0,this._maxZoom=ee||22,this._minPitch=K??0,this._maxPitch=le??60,this.setMaxBounds(),this.width=0,this.height=0,this._center=new i.LngLat(0,0),this.zoom=0,this.angle=0,this._fov=.6435011087932844,this._pitch=0,this._unmodified=!0,this._edgeInsets=new po,this._posMatrixCache={},this._alignedPosMatrixCache={}},Bi={minZoom:{configurable:!0},maxZoom:{configurable:!0},minPitch:{configurable:!0},maxPitch:{configurable:!0},renderWorldCopies:{configurable:!0},worldSize:{configurable:!0},centerOffset:{configurable:!0},size:{configurable:!0},bearing:{configurable:!0},pitch:{configurable:!0},fov:{configurable:!0},zoom:{configurable:!0},center:{configurable:!0},padding:{configurable:!0},centerPoint:{configurable:!0},unmodified:{configurable:!0},point:{configurable:!0}};Oi.prototype.clone=function(){var Y=new Oi(this._minZoom,this._maxZoom,this._minPitch,this.maxPitch,this._renderWorldCopies);return Y.tileSize=this.tileSize,Y.latRange=this.latRange,Y.width=this.width,Y.height=this.height,Y._center=this._center,Y.zoom=this.zoom,Y.angle=this.angle,Y._fov=this._fov,Y._pitch=this._pitch,Y._unmodified=this._unmodified,Y._edgeInsets=this._edgeInsets.clone(),Y._calcMatrices(),Y},Bi.minZoom.get=function(){return this._minZoom},Bi.minZoom.set=function(Y){this._minZoom!==Y&&(this._minZoom=Y,this.zoom=Math.max(this.zoom,Y))},Bi.maxZoom.get=function(){return this._maxZoom},Bi.maxZoom.set=function(Y){this._maxZoom!==Y&&(this._maxZoom=Y,this.zoom=Math.min(this.zoom,Y))},Bi.minPitch.get=function(){return this._minPitch},Bi.minPitch.set=function(Y){this._minPitch!==Y&&(this._minPitch=Y,this.pitch=Math.max(this.pitch,Y))},Bi.maxPitch.get=function(){return this._maxPitch},Bi.maxPitch.set=function(Y){this._maxPitch!==Y&&(this._maxPitch=Y,this.pitch=Math.min(this.pitch,Y))},Bi.renderWorldCopies.get=function(){return this._renderWorldCopies},Bi.renderWorldCopies.set=function(Y){Y===void 0?Y=!0:Y===null&&(Y=!1),this._renderWorldCopies=Y},Bi.worldSize.get=function(){return this.tileSize*this.scale},Bi.centerOffset.get=function(){return this.centerPoint._sub(this.size._div(2))},Bi.size.get=function(){return new i.Point(this.width,this.height)},Bi.bearing.get=function(){return-this.angle/Math.PI*180},Bi.bearing.set=function(Y){var ee=-i.wrap(Y,-180,180)*Math.PI/180;this.angle!==ee&&(this._unmodified=!1,this.angle=ee,this._calcMatrices(),this.rotationMatrix=i.create$2(),i.rotate(this.rotationMatrix,this.rotationMatrix,this.angle))},Bi.pitch.get=function(){return this._pitch/Math.PI*180},Bi.pitch.set=function(Y){var ee=i.clamp(Y,this.minPitch,this.maxPitch)/180*Math.PI;this._pitch!==ee&&(this._unmodified=!1,this._pitch=ee,this._calcMatrices())},Bi.fov.get=function(){return this._fov/Math.PI*180},Bi.fov.set=function(Y){Y=Math.max(.01,Math.min(60,Y)),this._fov!==Y&&(this._unmodified=!1,this._fov=Y/180*Math.PI,this._calcMatrices())},Bi.zoom.get=function(){return this._zoom},Bi.zoom.set=function(Y){var ee=Math.min(Math.max(Y,this.minZoom),this.maxZoom);this._zoom!==ee&&(this._unmodified=!1,this._zoom=ee,this.scale=this.zoomScale(ee),this.tileZoom=Math.floor(ee),this.zoomFraction=ee-this.tileZoom,this._constrain(),this._calcMatrices())},Bi.center.get=function(){return this._center},Bi.center.set=function(Y){Y.lat===this._center.lat&&Y.lng===this._center.lng||(this._unmodified=!1,this._center=Y,this._constrain(),this._calcMatrices())},Bi.padding.get=function(){return this._edgeInsets.toJSON()},Bi.padding.set=function(Y){this._edgeInsets.equals(Y)||(this._unmodified=!1,this._edgeInsets.interpolate(this._edgeInsets,Y,1),this._calcMatrices())},Bi.centerPoint.get=function(){return this._edgeInsets.getCenter(this.width,this.height)},Oi.prototype.isPaddingEqual=function(Y){return this._edgeInsets.equals(Y)},Oi.prototype.interpolatePadding=function(Y,ee,K){this._unmodified=!1,this._edgeInsets.interpolate(Y,ee,K),this._constrain(),this._calcMatrices()},Oi.prototype.coveringZoomLevel=function(Y){var ee=(Y.roundZoom?Math.round:Math.floor)(this.zoom+this.scaleZoom(this.tileSize/Y.tileSize));return Math.max(0,ee)},Oi.prototype.getVisibleUnwrappedCoordinates=function(Y){var ee=[new i.UnwrappedTileID(0,Y)];if(this._renderWorldCopies)for(var K=this.pointCoordinate(new i.Point(0,0)),le=this.pointCoordinate(new i.Point(this.width,0)),Te=this.pointCoordinate(new i.Point(this.width,this.height)),De=this.pointCoordinate(new i.Point(0,this.height)),He=Math.floor(Math.min(K.x,le.x,Te.x,De.x)),Ze=Math.floor(Math.max(K.x,le.x,Te.x,De.x)),at=He-1;at<=Ze+1;at++)at!==0&&ee.push(new i.UnwrappedTileID(at,Y));return ee},Oi.prototype.coveringTiles=function(Y){var ee=this.coveringZoomLevel(Y),K=ee;if(Y.minzoom!==void 0&&eeY.maxzoom&&(ee=Y.maxzoom);var le=i.MercatorCoordinate.fromLngLat(this.center),Te=Math.pow(2,ee),De=[Te*le.x,Te*le.y,0],He=Ll.fromInvProjectionMatrix(this.invProjMatrix,this.worldSize,ee),Ze=Y.minzoom||0;this.pitch<=60&&this._edgeInsets.top<.1&&(Ze=ee);var at=function(tn){return{aabb:new Il([tn*Te,0,0],[(tn+1)*Te,Te,0]),zoom:0,x:0,y:0,wrap:tn,fullyVisible:!1}},Tt=[],At=[],se=ee,ve=Y.reparseOverscaled?K:ee;if(this._renderWorldCopies)for(var Ie=1;Ie<=3;Ie++)Tt.push(at(-Ie)),Tt.push(at(Ie));for(Tt.push(at(0));Tt.length>0;){var Fe=Tt.pop(),Ue=Fe.x,We=Fe.y,Xe=Fe.fullyVisible;if(!Xe){var tt=Fe.aabb.intersects(He);if(tt===0)continue;Xe=tt===2}var lt=Fe.aabb.distanceX(De),mt=Fe.aabb.distanceY(De),zt=Math.max(Math.abs(lt),Math.abs(mt)),Ut=3+(1<Ut&&Fe.zoom>=Ze)At.push({tileID:new i.OverscaledTileID(Fe.zoom===se?ve:Fe.zoom,Fe.wrap,Fe.zoom,Ue,We),distanceSq:i.sqrLen([De[0]-.5-Ue,De[1]-.5-We])});else for(var Ht=0;Ht<4;Ht++){var en=(Ue<<1)+Ht%2,vn=(We<<1)+(Ht>>1);Tt.push({aabb:Fe.aabb.quadrant(Ht),zoom:Fe.zoom+1,x:en,y:vn,wrap:Fe.wrap,fullyVisible:Xe})}}return At.sort(function(tn,ln){return tn.distanceSq-ln.distanceSq}).map(function(tn){return tn.tileID})},Oi.prototype.resize=function(Y,ee){this.width=Y,this.height=ee,this.pixelsToGLUnits=[2/Y,-2/ee],this._constrain(),this._calcMatrices()},Bi.unmodified.get=function(){return this._unmodified},Oi.prototype.zoomScale=function(Y){return Math.pow(2,Y)},Oi.prototype.scaleZoom=function(Y){return Math.log(Y)/Math.LN2},Oi.prototype.project=function(Y){var ee=i.clamp(Y.lat,-this.maxValidLatitude,this.maxValidLatitude);return new i.Point(i.mercatorXfromLng(Y.lng)*this.worldSize,i.mercatorYfromLat(ee)*this.worldSize)},Oi.prototype.unproject=function(Y){return new i.MercatorCoordinate(Y.x/this.worldSize,Y.y/this.worldSize).toLngLat()},Bi.point.get=function(){return this.project(this.center)},Oi.prototype.setLocationAtPoint=function(Y,ee){var K=this.pointCoordinate(ee),le=this.pointCoordinate(this.centerPoint),Te=this.locationCoordinate(Y),De=new i.MercatorCoordinate(Te.x-(K.x-le.x),Te.y-(K.y-le.y));this.center=this.coordinateLocation(De),this._renderWorldCopies&&(this.center=this.center.wrap())},Oi.prototype.locationPoint=function(Y){return this.coordinatePoint(this.locationCoordinate(Y))},Oi.prototype.pointLocation=function(Y){return this.coordinateLocation(this.pointCoordinate(Y))},Oi.prototype.locationCoordinate=function(Y){return i.MercatorCoordinate.fromLngLat(Y)},Oi.prototype.coordinateLocation=function(Y){return Y.toLngLat()},Oi.prototype.pointCoordinate=function(Y){var ee=[Y.x,Y.y,0,1],K=[Y.x,Y.y,1,1];i.transformMat4(ee,ee,this.pixelMatrixInverse),i.transformMat4(K,K,this.pixelMatrixInverse);var le=ee[3],Te=K[3],De=ee[0]/le,He=K[0]/Te,Ze=ee[1]/le,at=K[1]/Te,Tt=ee[2]/le,At=K[2]/Te,se=Tt===At?0:(0-Tt)/(At-Tt);return new i.MercatorCoordinate(i.number(De,He,se)/this.worldSize,i.number(Ze,at,se)/this.worldSize)},Oi.prototype.coordinatePoint=function(Y){var ee=[Y.x*this.worldSize,Y.y*this.worldSize,0,1];return i.transformMat4(ee,ee,this.pixelMatrix),new i.Point(ee[0]/ee[3],ee[1]/ee[3])},Oi.prototype.getBounds=function(){return new i.LngLatBounds().extend(this.pointLocation(new i.Point(0,0))).extend(this.pointLocation(new i.Point(this.width,0))).extend(this.pointLocation(new i.Point(this.width,this.height))).extend(this.pointLocation(new i.Point(0,this.height)))},Oi.prototype.getMaxBounds=function(){return this.latRange&&this.latRange.length===2&&this.lngRange&&this.lngRange.length===2?new i.LngLatBounds([this.lngRange[0],this.latRange[0]],[this.lngRange[1],this.latRange[1]]):null},Oi.prototype.setMaxBounds=function(Y){Y?(this.lngRange=[Y.getWest(),Y.getEast()],this.latRange=[Y.getSouth(),Y.getNorth()],this._constrain()):(this.lngRange=null,this.latRange=[-this.maxValidLatitude,this.maxValidLatitude])},Oi.prototype.calculatePosMatrix=function(Y,ee){ee===void 0&&(ee=!1);var K=Y.key,le=ee?this._alignedPosMatrixCache:this._posMatrixCache;if(le[K])return le[K];var Te=Y.canonical,De=this.worldSize/this.zoomScale(Te.z),He=Te.x+Math.pow(2,Te.z)*Y.wrap,Ze=i.identity(new Float64Array(16));return i.translate(Ze,Ze,[He*De,Te.y*De,0]),i.scale(Ze,Ze,[De/i.EXTENT,De/i.EXTENT,1]),i.multiply(Ze,ee?this.alignedProjMatrix:this.projMatrix,Ze),le[K]=new Float32Array(Ze),le[K]},Oi.prototype.customLayerMatrix=function(){return this.mercatorMatrix.slice()},Oi.prototype._constrain=function(){if(this.center&&this.width&&this.height&&!this._constraining){this._constraining=!0;var Y,ee,K,le,Te=-90,De=90,He=-180,Ze=180,at=this.size,Tt=this._unmodified;if(this.latRange){var At=this.latRange;Te=i.mercatorYfromLat(At[1])*this.worldSize,Y=(De=i.mercatorYfromLat(At[0])*this.worldSize)-TeDe&&(le=De-Ue)}if(this.lngRange){var We=ve.x,Xe=at.x/2;We-XeZe&&(K=Ze-Xe)}K===void 0&&le===void 0||(this.center=this.unproject(new i.Point(K!==void 0?K:ve.x,le!==void 0?le:ve.y))),this._unmodified=Tt,this._constraining=!1}},Oi.prototype._calcMatrices=function(){if(this.height){var Y=this._fov/2,ee=this.centerOffset;this.cameraToCenterDistance=.5/Math.tan(Y)*this.height;var K=Math.PI/2+this._pitch,le=this._fov*(.5+ee.y/this.height),Te=Math.sin(le)*this.cameraToCenterDistance/Math.sin(i.clamp(Math.PI-K-le,.01,Math.PI-.01)),De=this.point,He=De.x,Ze=De.y,at=1.01*(Math.cos(Math.PI/2-this._pitch)*Te+this.cameraToCenterDistance),Tt=this.height/50,At=new Float64Array(16);i.perspective(At,this._fov,this.width/this.height,Tt,at),At[8]=2*-ee.x/this.width,At[9]=2*ee.y/this.height,i.scale(At,At,[1,-1,1]),i.translate(At,At,[0,0,-this.cameraToCenterDistance]),i.rotateX(At,At,this._pitch),i.rotateZ(At,At,this.angle),i.translate(At,At,[-He,-Ze,0]),this.mercatorMatrix=i.scale([],At,[this.worldSize,this.worldSize,this.worldSize]),i.scale(At,At,[1,1,i.mercatorZfromAltitude(1,this.center.lat)*this.worldSize,1]),this.projMatrix=At,this.invProjMatrix=i.invert([],this.projMatrix);var se=this.width%2/2,ve=this.height%2/2,Ie=Math.cos(this.angle),Fe=Math.sin(this.angle),Ue=He-Math.round(He)+Ie*se+Fe*ve,We=Ze-Math.round(Ze)+Ie*ve+Fe*se,Xe=new Float64Array(At);if(i.translate(Xe,Xe,[Ue>.5?Ue-1:Ue,We>.5?We-1:We,0]),this.alignedProjMatrix=Xe,At=i.create(),i.scale(At,At,[this.width/2,-this.height/2,1]),i.translate(At,At,[1,-1,0]),this.labelPlaneMatrix=At,At=i.create(),i.scale(At,At,[1,-1,1]),i.translate(At,At,[-1,-1,0]),i.scale(At,At,[2/this.width,2/this.height,1]),this.glCoordMatrix=At,this.pixelMatrix=i.multiply(new Float64Array(16),this.labelPlaneMatrix,this.projMatrix),!(At=i.invert(new Float64Array(16),this.pixelMatrix)))throw new Error("failed to invert matrix");this.pixelMatrixInverse=At,this._posMatrixCache={},this._alignedPosMatrixCache={}}},Oi.prototype.maxPitchScaleFactor=function(){if(!this.pixelMatrixInverse)return 1;var Y=this.pointCoordinate(new i.Point(0,0)),ee=[Y.x*this.worldSize,Y.y*this.worldSize,0,1];return i.transformMat4(ee,ee,this.pixelMatrix)[3]/this.cameraToCenterDistance},Oi.prototype.getCameraPoint=function(){var Y=this._pitch,ee=Math.tan(Y)*(this.cameraToCenterDistance||1);return this.centerPoint.add(new i.Point(0,ee))},Oi.prototype.getCameraQueryGeometry=function(Y){var ee=this.getCameraPoint();if(Y.length===1)return[Y[0],ee];for(var K=ee.x,le=ee.y,Te=ee.x,De=ee.y,He=0,Ze=Y;He=3&&!Y.some(function(K){return isNaN(K)})){var ee=this._map.dragRotate.isEnabled()&&this._map.touchZoomRotate.isEnabled()?+(Y[3]||0):this._map.getBearing();return this._map.jumpTo({center:[+Y[2],+Y[1]],zoom:+Y[0],bearing:ee,pitch:+(Y[4]||0)}),!0}return!1},ol.prototype._updateHashUnthrottled=function(){var Y=this.getHashString();try{i.window.history.replaceState(i.window.history.state,"",Y)}catch{}};var Us={linearity:.3,easing:i.bezier(0,0,.3,1)},Gc=i.extend({deceleration:2500,maxSpeed:1400},Us),Oh=i.extend({deceleration:20,maxSpeed:1400},Us),au=i.extend({deceleration:1e3,maxSpeed:360},Us),Dh=i.extend({deceleration:1e3,maxSpeed:90},Us),ou=function(Y){this._map=Y,this.clear()};function sl(Y,ee){(!Y.duration||Y.duration0&&ee-Y[0].time>160;)Y.shift()},ou.prototype._onMoveEnd=function(Y){if(this._drainInertiaBuffer(),!(this._inertiaBuffer.length<2)){for(var ee={zoom:0,bearing:0,pitch:0,pan:new i.Point(0,0),pinchAround:void 0,around:void 0},K=0,le=this._inertiaBuffer;K=this._clickTolerance||this._map.fire(new da(Y.type,this._map,Y))},Ha.prototype.dblclick=function(Y){return this._firePreventable(new da(Y.type,this._map,Y))},Ha.prototype.mouseover=function(Y){this._map.fire(new da(Y.type,this._map,Y))},Ha.prototype.mouseout=function(Y){this._map.fire(new da(Y.type,this._map,Y))},Ha.prototype.touchstart=function(Y){return this._firePreventable(new Hs(Y.type,this._map,Y))},Ha.prototype.touchmove=function(Y){this._map.fire(new Hs(Y.type,this._map,Y))},Ha.prototype.touchend=function(Y){this._map.fire(new Hs(Y.type,this._map,Y))},Ha.prototype.touchcancel=function(Y){this._map.fire(new Hs(Y.type,this._map,Y))},Ha.prototype._firePreventable=function(Y){if(this._map.fire(Y),Y.defaultPrevented)return{}},Ha.prototype.isEnabled=function(){return!0},Ha.prototype.isActive=function(){return!1},Ha.prototype.enable=function(){},Ha.prototype.disable=function(){};var mo=function(Y){this._map=Y};mo.prototype.reset=function(){this._delayContextMenu=!1,delete this._contextMenuEvent},mo.prototype.mousemove=function(Y){this._map.fire(new da(Y.type,this._map,Y))},mo.prototype.mousedown=function(){this._delayContextMenu=!0},mo.prototype.mouseup=function(){this._delayContextMenu=!1,this._contextMenuEvent&&(this._map.fire(new da("contextmenu",this._map,this._contextMenuEvent)),delete this._contextMenuEvent)},mo.prototype.contextmenu=function(Y){this._delayContextMenu?this._contextMenuEvent=Y:this._map.fire(new da(Y.type,this._map,Y)),this._map.listens("contextmenu")&&Y.preventDefault()},mo.prototype.isEnabled=function(){return!0},mo.prototype.isActive=function(){return!1},mo.prototype.enable=function(){},mo.prototype.disable=function(){};var go=function(Y,ee){this._map=Y,this._el=Y.getCanvasContainer(),this._container=Y.getContainer(),this._clickTolerance=ee.clickTolerance||1};function co(Y,ee){for(var K={},le=0;lethis.numTouches)&&(this.aborted=!0),this.aborted||(this.startTime===void 0&&(this.startTime=Y.timeStamp),K.length===this.numTouches&&(this.centroid=function(le){for(var Te=new i.Point(0,0),De=0,He=le;De30)&&(this.aborted=!0)}}},zo.prototype.touchend=function(Y,ee,K){if((!this.centroid||Y.timeStamp-this.startTime>500)&&(this.aborted=!0),K.length===0){var le=!this.aborted&&this.centroid;if(this.reset(),le)return le}};var Rl=function(Y){this.singleTap=new zo(Y),this.numTaps=Y.numTaps,this.reset()};Rl.prototype.reset=function(){this.lastTime=1/0,delete this.lastTap,this.count=0,this.singleTap.reset()},Rl.prototype.touchstart=function(Y,ee,K){this.singleTap.touchstart(Y,ee,K)},Rl.prototype.touchmove=function(Y,ee,K){this.singleTap.touchmove(Y,ee,K)},Rl.prototype.touchend=function(Y,ee,K){var le=this.singleTap.touchend(Y,ee,K);if(le){var Te=Y.timeStamp-this.lastTime<500,De=!this.lastTap||this.lastTap.dist(le)<30;if(Te&&De||this.reset(),this.count++,this.lastTime=Y.timeStamp,this.lastTap=le,this.count===this.numTaps)return this.reset(),le}};var vs=function(){this._zoomIn=new Rl({numTouches:1,numTaps:2}),this._zoomOut=new Rl({numTouches:2,numTaps:1}),this.reset()};vs.prototype.reset=function(){this._active=!1,this._zoomIn.reset(),this._zoomOut.reset()},vs.prototype.touchstart=function(Y,ee,K){this._zoomIn.touchstart(Y,ee,K),this._zoomOut.touchstart(Y,ee,K)},vs.prototype.touchmove=function(Y,ee,K){this._zoomIn.touchmove(Y,ee,K),this._zoomOut.touchmove(Y,ee,K)},vs.prototype.touchend=function(Y,ee,K){var le=this,Te=this._zoomIn.touchend(Y,ee,K),De=this._zoomOut.touchend(Y,ee,K);return Te?(this._active=!0,Y.preventDefault(),setTimeout(function(){return le.reset()},0),{cameraAnimation:function(He){return He.easeTo({duration:300,zoom:He.getZoom()+1,around:He.unproject(Te)},{originalEvent:Y})}}):De?(this._active=!0,Y.preventDefault(),setTimeout(function(){return le.reset()},0),{cameraAnimation:function(He){return He.easeTo({duration:300,zoom:He.getZoom()-1,around:He.unproject(De)},{originalEvent:Y})}}):void 0},vs.prototype.touchcancel=function(){this.reset()},vs.prototype.enable=function(){this._enabled=!0},vs.prototype.disable=function(){this._enabled=!1,this.reset()},vs.prototype.isEnabled=function(){return this._enabled},vs.prototype.isActive=function(){return this._active};var $a=function(Y){this.reset(),this._clickTolerance=Y.clickTolerance||1};$a.prototype.reset=function(){this._active=!1,this._moved=!1,delete this._lastPoint,delete this._eventButton},$a.prototype._correctButton=function(Y,ee){return!1},$a.prototype._move=function(Y,ee){return{}},$a.prototype.mousedown=function(Y,ee){if(!this._lastPoint){var K=v.mouseButton(Y);this._correctButton(Y,K)&&(this._lastPoint=ee,this._eventButton=K)}},$a.prototype.mousemoveWindow=function(Y,ee){var K=this._lastPoint;if(K&&(Y.preventDefault(),this._moved||!(ee.dist(K)0&&(this._active=!0);var le=co(K,ee),Te=new i.Point(0,0),De=new i.Point(0,0),He=0;for(var Ze in le){var at=le[Ze],Tt=this._touches[Ze];Tt&&(Te._add(at),De._add(at.sub(Tt)),He++,le[Ze]=at)}if(this._touches=le,!(HeMath.abs(Y.x)}var Br=function(Y){function ee(){Y.apply(this,arguments)}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee.prototype.reset=function(){Y.prototype.reset.call(this),this._valid=void 0,delete this._firstMove,delete this._lastPoints},ee.prototype._start=function(K){this._lastPoints=K,Bu(K[0].sub(K[1]))&&(this._valid=!1)},ee.prototype._move=function(K,le,Te){var De=K[0].sub(this._lastPoints[0]),He=K[1].sub(this._lastPoints[1]);if(this._valid=this.gestureBeginsVertically(De,He,Te.timeStamp),this._valid)return this._lastPoints=K,this._active=!0,{pitchDelta:(De.y+He.y)/2*-.5}},ee.prototype.gestureBeginsVertically=function(K,le,Te){if(this._valid!==void 0)return this._valid;var De=K.mag()>=2,He=le.mag()>=2;if(De||He){if(!De||!He)return this._firstMove===void 0&&(this._firstMove=Te),Te-this._firstMove<100&&void 0;var Ze=K.y>0==le.y>0;return Bu(K)&&Bu(le)&&Ze}},ee}(Dr),Nu={panStep:100,bearingStep:15,pitchStep:10},ys=function(){var Y=Nu;this._panStep=Y.panStep,this._bearingStep=Y.bearingStep,this._pitchStep=Y.pitchStep};function $c(Y){return Y*(2-Y)}ys.prototype.reset=function(){this._active=!1},ys.prototype.keydown=function(Y){var ee=this;if(!(Y.altKey||Y.ctrlKey||Y.metaKey)){var K=0,le=0,Te=0,De=0,He=0;switch(Y.keyCode){case 61:case 107:case 171:case 187:K=1;break;case 189:case 109:case 173:K=-1;break;case 37:Y.shiftKey?le=-1:(Y.preventDefault(),De=-1);break;case 39:Y.shiftKey?le=1:(Y.preventDefault(),De=1);break;case 38:Y.shiftKey?Te=1:(Y.preventDefault(),He=-1);break;case 40:Y.shiftKey?Te=-1:(Y.preventDefault(),He=1);break;default:return}return{cameraAnimation:function(Ze){var at=Ze.getZoom();Ze.easeTo({duration:300,easeId:"keyboardHandler",easing:$c,zoom:K?Math.round(at)+K*(Y.shiftKey?2:1):at,bearing:Ze.getBearing()+le*ee._bearingStep,pitch:Ze.getPitch()+Te*ee._pitchStep,offset:[-De*ee._panStep,-He*ee._panStep],center:Ze.getCenter()},{originalEvent:Y})}}}},ys.prototype.enable=function(){this._enabled=!0},ys.prototype.disable=function(){this._enabled=!1,this.reset()},ys.prototype.isEnabled=function(){return this._enabled},ys.prototype.isActive=function(){return this._active};var wc=4.000244140625,vo=function(Y,ee){this._map=Y,this._el=Y.getCanvasContainer(),this._handler=ee,this._delta=0,this._defaultZoomRate=.01,this._wheelZoomRate=.0022222222222222222,i.bindAll(["_onWheel","_onTimeout","_onScrollFrame","_onScrollFinished"],this)};vo.prototype.setZoomRate=function(Y){this._defaultZoomRate=Y},vo.prototype.setWheelZoomRate=function(Y){this._wheelZoomRate=Y},vo.prototype.isEnabled=function(){return!!this._enabled},vo.prototype.isActive=function(){return!!this._active||this._finishTimeout!==void 0},vo.prototype.isZooming=function(){return!!this._zooming},vo.prototype.enable=function(Y){this.isEnabled()||(this._enabled=!0,this._aroundCenter=Y&&Y.around==="center")},vo.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},vo.prototype.wheel=function(Y){if(this.isEnabled()){var ee=Y.deltaMode===i.window.WheelEvent.DOM_DELTA_LINE?40*Y.deltaY:Y.deltaY,K=i.browser.now(),le=K-(this._lastWheelEventTime||0);this._lastWheelEventTime=K,ee!==0&&ee%wc==0?this._type="wheel":ee!==0&&Math.abs(ee)<4?this._type="trackpad":le>400?(this._type=null,this._lastValue=ee,this._timeout=setTimeout(this._onTimeout,40,Y)):this._type||(this._type=Math.abs(le*ee)<200?"trackpad":"wheel",this._timeout&&(clearTimeout(this._timeout),this._timeout=null,ee+=this._lastValue)),Y.shiftKey&&ee&&(ee/=4),this._type&&(this._lastWheelEvent=Y,this._delta-=ee,this._active||this._start(Y)),Y.preventDefault()}},vo.prototype._onTimeout=function(Y){this._type="wheel",this._delta-=this._lastValue,this._active||this._start(Y)},vo.prototype._start=function(Y){if(this._delta){this._frameId&&(this._frameId=null),this._active=!0,this.isZooming()||(this._zooming=!0),this._finishTimeout&&(clearTimeout(this._finishTimeout),delete this._finishTimeout);var ee=v.mousePos(this._el,Y);this._around=i.LngLat.convert(this._aroundCenter?this._map.getCenter():this._map.unproject(ee)),this._aroundPoint=this._map.transform.locationPoint(this._around),this._frameId||(this._frameId=!0,this._handler._triggerRenderFrame())}},vo.prototype.renderFrame=function(){return this._onScrollFrame()},vo.prototype._onScrollFrame=function(){var Y=this;if(this._frameId&&(this._frameId=null,this.isActive())){var ee=this._map.transform;if(this._delta!==0){var K=this._type==="wheel"&&Math.abs(this._delta)>wc?this._wheelZoomRate:this._defaultZoomRate,le=2/(1+Math.exp(-Math.abs(this._delta*K)));this._delta<0&&le!==0&&(le=1/le);var Te=typeof this._targetZoom=="number"?ee.zoomScale(this._targetZoom):ee.scale;this._targetZoom=Math.min(ee.maxZoom,Math.max(ee.minZoom,ee.scaleZoom(Te*le))),this._type==="wheel"&&(this._startZoom=ee.zoom,this._easing=this._smoothOutEasing(200)),this._delta=0}var De,He=typeof this._targetZoom=="number"?this._targetZoom:ee.zoom,Ze=this._startZoom,at=this._easing,Tt=!1;if(this._type==="wheel"&&Ze&&at){var At=Math.min((i.browser.now()-this._lastWheelEventTime)/200,1),se=at(At);De=i.number(Ze,He,se),At<1?this._frameId||(this._frameId=!0):Tt=!0}else De=He,Tt=!0;return this._active=!0,Tt&&(this._active=!1,this._finishTimeout=setTimeout(function(){Y._zooming=!1,Y._handler._triggerRenderFrame(),delete Y._targetZoom,delete Y._finishTimeout},200)),{noInertia:!0,needsRenderFrame:!Tt,zoomDelta:De-ee.zoom,around:this._aroundPoint,originalEvent:this._lastWheelEvent}}},vo.prototype._smoothOutEasing=function(Y){var ee=i.ease;if(this._prevEase){var K=this._prevEase,le=(i.browser.now()-K.start)/K.duration,Te=K.easing(le+.01)-K.easing(le),De=.27/Math.sqrt(Te*Te+1e-4)*.01,He=Math.sqrt(.0729-De*De);ee=i.bezier(De,He,.25,1)}return this._prevEase={start:i.browser.now(),duration:Y,easing:ee},ee},vo.prototype.reset=function(){this._active=!1};var cu=function(Y,ee){this._clickZoom=Y,this._tapZoom=ee};cu.prototype.enable=function(){this._clickZoom.enable(),this._tapZoom.enable()},cu.prototype.disable=function(){this._clickZoom.disable(),this._tapZoom.disable()},cu.prototype.isEnabled=function(){return this._clickZoom.isEnabled()&&this._tapZoom.isEnabled()},cu.prototype.isActive=function(){return this._clickZoom.isActive()||this._tapZoom.isActive()};var ll=function(){this.reset()};ll.prototype.reset=function(){this._active=!1},ll.prototype.dblclick=function(Y,ee){return Y.preventDefault(),{cameraAnimation:function(K){K.easeTo({duration:300,zoom:K.getZoom()+(Y.shiftKey?-1:1),around:K.unproject(ee)},{originalEvent:Y})}}},ll.prototype.enable=function(){this._enabled=!0},ll.prototype.disable=function(){this._enabled=!1,this.reset()},ll.prototype.isEnabled=function(){return this._enabled},ll.prototype.isActive=function(){return this._active};var Zo=function(){this._tap=new Rl({numTouches:1,numTaps:1}),this.reset()};Zo.prototype.reset=function(){this._active=!1,delete this._swipePoint,delete this._swipeTouch,delete this._tapTime,this._tap.reset()},Zo.prototype.touchstart=function(Y,ee,K){this._swipePoint||(this._tapTime&&Y.timeStamp-this._tapTime>500&&this.reset(),this._tapTime?K.length>0&&(this._swipePoint=ee[0],this._swipeTouch=K[0].identifier):this._tap.touchstart(Y,ee,K))},Zo.prototype.touchmove=function(Y,ee,K){if(this._tapTime){if(this._swipePoint){if(K[0].identifier!==this._swipeTouch)return;var le=ee[0],Te=le.y-this._swipePoint.y;return this._swipePoint=le,Y.preventDefault(),this._active=!0,{zoomDelta:Te/128}}}else this._tap.touchmove(Y,ee,K)},Zo.prototype.touchend=function(Y,ee,K){this._tapTime?this._swipePoint&&K.length===0&&this.reset():this._tap.touchend(Y,ee,K)&&(this._tapTime=Y.timeStamp)},Zo.prototype.touchcancel=function(){this.reset()},Zo.prototype.enable=function(){this._enabled=!0},Zo.prototype.disable=function(){this._enabled=!1,this.reset()},Zo.prototype.isEnabled=function(){return this._enabled},Zo.prototype.isActive=function(){return this._active};var Pl=function(Y,ee,K){this._el=Y,this._mousePan=ee,this._touchPan=K};Pl.prototype.enable=function(Y){this._inertiaOptions=Y||{},this._mousePan.enable(),this._touchPan.enable(),this._el.classList.add("mapboxgl-touch-drag-pan")},Pl.prototype.disable=function(){this._mousePan.disable(),this._touchPan.disable(),this._el.classList.remove("mapboxgl-touch-drag-pan")},Pl.prototype.isEnabled=function(){return this._mousePan.isEnabled()&&this._touchPan.isEnabled()},Pl.prototype.isActive=function(){return this._mousePan.isActive()||this._touchPan.isActive()};var Ls=function(Y,ee,K){this._pitchWithRotate=Y.pitchWithRotate,this._mouseRotate=ee,this._mousePitch=K};Ls.prototype.enable=function(){this._mouseRotate.enable(),this._pitchWithRotate&&this._mousePitch.enable()},Ls.prototype.disable=function(){this._mouseRotate.disable(),this._mousePitch.disable()},Ls.prototype.isEnabled=function(){return this._mouseRotate.isEnabled()&&(!this._pitchWithRotate||this._mousePitch.isEnabled())},Ls.prototype.isActive=function(){return this._mouseRotate.isActive()||this._mousePitch.isActive()};var bs=function(Y,ee,K,le){this._el=Y,this._touchZoom=ee,this._touchRotate=K,this._tapDragZoom=le,this._rotationDisabled=!1,this._enabled=!0};bs.prototype.enable=function(Y){this._touchZoom.enable(Y),this._rotationDisabled||this._touchRotate.enable(Y),this._tapDragZoom.enable(),this._el.classList.add("mapboxgl-touch-zoom-rotate")},bs.prototype.disable=function(){this._touchZoom.disable(),this._touchRotate.disable(),this._tapDragZoom.disable(),this._el.classList.remove("mapboxgl-touch-zoom-rotate")},bs.prototype.isEnabled=function(){return this._touchZoom.isEnabled()&&(this._rotationDisabled||this._touchRotate.isEnabled())&&this._tapDragZoom.isEnabled()},bs.prototype.isActive=function(){return this._touchZoom.isActive()||this._touchRotate.isActive()||this._tapDragZoom.isActive()},bs.prototype.disableRotation=function(){this._rotationDisabled=!0,this._touchRotate.disable()},bs.prototype.enableRotation=function(){this._rotationDisabled=!1,this._touchZoom.isEnabled()&&this._touchRotate.enable()};var hu=function(Y){return Y.zoom||Y.drag||Y.pitch||Y.rotate},yo=function(Y){function ee(){Y.apply(this,arguments)}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee}(i.Event);function xs(Y){return Y.panDelta&&Y.panDelta.mag()||Y.zoomDelta||Y.bearingDelta||Y.pitchDelta}var Yi=function(Y,ee){this._map=Y,this._el=this._map.getCanvasContainer(),this._handlers=[],this._handlersById={},this._changes=[],this._inertia=new ou(Y),this._bearingSnap=ee.bearingSnap,this._previousActiveHandlers={},this._eventsInProgress={},this._addDefaultHandlers(ee),i.bindAll(["handleEvent","handleWindowEvent"],this);var K=this._el;this._listeners=[[K,"touchstart",{passive:!1}],[K,"touchmove",{passive:!1}],[K,"touchend",void 0],[K,"touchcancel",void 0],[K,"mousedown",void 0],[K,"mousemove",void 0],[K,"mouseup",void 0],[i.window.document,"mousemove",{capture:!0}],[i.window.document,"mouseup",void 0],[K,"mouseover",void 0],[K,"mouseout",void 0],[K,"dblclick",void 0],[K,"click",void 0],[K,"keydown",{capture:!1}],[K,"keyup",void 0],[K,"wheel",{passive:!1}],[K,"contextmenu",void 0],[i.window,"blur",void 0]];for(var le=0,Te=this._listeners;leHe?Math.min(2,Ut):Math.max(.5,Ut),ln=Math.pow(tn,1-en),an=De.unproject(mt.add(zt.mult(en*ln)).mult(vn));De.setLocationAtPoint(De.renderWorldCopies?an.wrap():an,Ue)}Te._fireMoveEvents(le)},function(en){Te._afterEase(le,en)},K),this},ee.prototype._prepareEase=function(K,le,Te){Te===void 0&&(Te={}),this._moving=!0,le||Te.moving||this.fire(new i.Event("movestart",K)),this._zooming&&!Te.zooming&&this.fire(new i.Event("zoomstart",K)),this._rotating&&!Te.rotating&&this.fire(new i.Event("rotatestart",K)),this._pitching&&!Te.pitching&&this.fire(new i.Event("pitchstart",K))},ee.prototype._fireMoveEvents=function(K){this.fire(new i.Event("move",K)),this._zooming&&this.fire(new i.Event("zoom",K)),this._rotating&&this.fire(new i.Event("rotate",K)),this._pitching&&this.fire(new i.Event("pitch",K))},ee.prototype._afterEase=function(K,le){if(!this._easeId||!le||this._easeId!==le){delete this._easeId;var Te=this._zooming,De=this._rotating,He=this._pitching;this._moving=!1,this._zooming=!1,this._rotating=!1,this._pitching=!1,this._padding=!1,Te&&this.fire(new i.Event("zoomend",K)),De&&this.fire(new i.Event("rotateend",K)),He&&this.fire(new i.Event("pitchend",K)),this.fire(new i.Event("moveend",K))}},ee.prototype.flyTo=function(K,le){var Te=this;if(!K.essential&&i.browser.prefersReducedMotion){var De=i.pick(K,["center","zoom","bearing","pitch","around"]);return this.jumpTo(De,le)}this.stop(),K=i.extend({offset:[0,0],speed:1.2,curve:1.42,easing:i.ease},K);var He=this.transform,Ze=this.getZoom(),at=this.getBearing(),Tt=this.getPitch(),At=this.getPadding(),se="zoom"in K?i.clamp(+K.zoom,He.minZoom,He.maxZoom):Ze,ve="bearing"in K?this._normalizeBearing(K.bearing,at):at,Ie="pitch"in K?+K.pitch:Tt,Fe="padding"in K?K.padding:He.padding,Ue=He.zoomScale(se-Ze),We=i.Point.convert(K.offset),Xe=He.centerPoint.add(We),tt=He.pointLocation(Xe),lt=i.LngLat.convert(K.center||tt);this._normalizeCenter(lt);var mt=He.project(tt),zt=He.project(lt).sub(mt),Ut=K.curve,Ht=Math.max(He.width,He.height),en=Ht/Ue,vn=zt.mag();if("minZoom"in K){var tn=i.clamp(Math.min(K.minZoom,Ze,se),He.minZoom,He.maxZoom),ln=Ht/He.zoomScale(tn-Ze);Ut=Math.sqrt(ln/vn*2)}var an=Ut*Ut;function Cn(xr){var kr=(en*en-Ht*Ht+(xr?-1:1)*an*an*vn*vn)/(2*(xr?en:Ht)*an*vn);return Math.log(Math.sqrt(kr*kr+1)-kr)}function _n(xr){return(Math.exp(xr)-Math.exp(-xr))/2}function on(xr){return(Math.exp(xr)+Math.exp(-xr))/2}var Fn=Cn(0),Hn=function(xr){return on(Fn)/on(Fn+Ut*xr)},ir=function(xr){return Ht*((on(Fn)*(_n(kr=Fn+Ut*xr)/on(kr))-_n(Fn))/an)/vn;var kr},ar=(Cn(1)-Fn)/Ut;if(Math.abs(vn)<1e-6||!isFinite(ar)){if(Math.abs(Ht-en)<1e-6)return this.easeTo(K,le);var Mr=enK.maxDuration&&(K.duration=0),this._zooming=!0,this._rotating=at!==ve,this._pitching=Ie!==Tt,this._padding=!He.isPaddingEqual(Fe),this._prepareEase(le,!1),this._ease(function(xr){var kr=xr*ar,jr=1/Hn(kr);He.zoom=xr===1?se:Ze+He.scaleZoom(jr),Te._rotating&&(He.bearing=i.number(at,ve,xr)),Te._pitching&&(He.pitch=i.number(Tt,Ie,xr)),Te._padding&&(He.interpolatePadding(At,Fe,xr),Xe=He.centerPoint.add(We));var fi=xr===1?lt:He.unproject(mt.add(zt.mult(ir(kr))).mult(jr));He.setLocationAtPoint(He.renderWorldCopies?fi.wrap():fi,Xe),Te._fireMoveEvents(le)},function(){return Te._afterEase(le)},K),this},ee.prototype.isEasing=function(){return!!this._easeFrameId},ee.prototype.stop=function(){return this._stop()},ee.prototype._stop=function(K,le){if(this._easeFrameId&&(this._cancelRenderFrame(this._easeFrameId),delete this._easeFrameId,delete this._onEaseFrame),this._onEaseEnd){var Te=this._onEaseEnd;delete this._onEaseEnd,Te.call(this,le)}if(!K){var De=this.handlers;De&&De.stop()}return this},ee.prototype._ease=function(K,le,Te){Te.animate===!1||Te.duration===0?(K(1),le()):(this._easeStart=i.browser.now(),this._easeOptions=Te,this._onEaseFrame=K,this._onEaseEnd=le,this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback))},ee.prototype._renderFrameCallback=function(){var K=Math.min((i.browser.now()-this._easeStart)/this._easeOptions.duration,1);this._onEaseFrame(this._easeOptions.easing(K)),K<1?this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback):this.stop()},ee.prototype._normalizeBearing=function(K,le){K=i.wrap(K,-180,180);var Te=Math.abs(K-le);return Math.abs(K-360-le)180?-360:Te<-180?360:0}},ee}(i.Evented),os=function(Y){Y===void 0&&(Y={}),this.options=Y,i.bindAll(["_updateEditLink","_updateData","_updateCompact"],this)};os.prototype.getDefaultPosition=function(){return"bottom-right"},os.prototype.onAdd=function(Y){var ee=this.options&&this.options.compact;return this._map=Y,this._container=v.create("div","mapboxgl-ctrl mapboxgl-ctrl-attrib"),this._innerContainer=v.create("div","mapboxgl-ctrl-attrib-inner",this._container),ee&&this._container.classList.add("mapboxgl-compact"),this._updateAttributions(),this._updateEditLink(),this._map.on("styledata",this._updateData),this._map.on("sourcedata",this._updateData),this._map.on("moveend",this._updateEditLink),ee===void 0&&(this._map.on("resize",this._updateCompact),this._updateCompact()),this._container},os.prototype.onRemove=function(){v.remove(this._container),this._map.off("styledata",this._updateData),this._map.off("sourcedata",this._updateData),this._map.off("moveend",this._updateEditLink),this._map.off("resize",this._updateCompact),this._map=void 0,this._attribHTML=void 0},os.prototype._updateEditLink=function(){var Y=this._editLink;Y||(Y=this._editLink=this._container.querySelector(".mapbox-improve-map"));var ee=[{key:"owner",value:this.styleOwner},{key:"id",value:this.styleId},{key:"access_token",value:this._map._requestManager._customAccessToken||i.config.ACCESS_TOKEN}];if(Y){var K=ee.reduce(function(le,Te,De){return Te.value&&(le+=Te.key+"="+Te.value+(De=0)return!1;return!0})).join(" | ");He!==this._attribHTML&&(this._attribHTML=He,Y.length?(this._innerContainer.innerHTML=He,this._container.classList.remove("mapboxgl-attrib-empty")):this._container.classList.add("mapboxgl-attrib-empty"),this._editLink=null)}},os.prototype._updateCompact=function(){this._map.getCanvasContainer().offsetWidth<=640?this._container.classList.add("mapboxgl-compact"):this._container.classList.remove("mapboxgl-compact")};var _s=function(){i.bindAll(["_updateLogo"],this),i.bindAll(["_updateCompact"],this)};_s.prototype.onAdd=function(Y){this._map=Y,this._container=v.create("div","mapboxgl-ctrl");var ee=v.create("a","mapboxgl-ctrl-logo");return ee.target="_blank",ee.rel="noopener nofollow",ee.href="https://www.mapbox.com/",ee.setAttribute("aria-label",this._map._getUIString("LogoControl.Title")),ee.setAttribute("rel","noopener nofollow"),this._container.appendChild(ee),this._container.style.display="none",this._map.on("sourcedata",this._updateLogo),this._updateLogo(),this._map.on("resize",this._updateCompact),this._updateCompact(),this._container},_s.prototype.onRemove=function(){v.remove(this._container),this._map.off("sourcedata",this._updateLogo),this._map.off("resize",this._updateCompact)},_s.prototype.getDefaultPosition=function(){return"bottom-left"},_s.prototype._updateLogo=function(Y){Y&&Y.sourceDataType!=="metadata"||(this._container.style.display=this._logoRequired()?"block":"none")},_s.prototype._logoRequired=function(){if(this._map.style){var Y=this._map.style.sourceCaches;for(var ee in Y)if(Y[ee].getSource().mapbox_logo)return!0;return!1}},_s.prototype._updateCompact=function(){var Y=this._container.children;if(Y.length){var ee=Y[0];this._map.getCanvasContainer().offsetWidth<250?ee.classList.add("mapboxgl-compact"):ee.classList.remove("mapboxgl-compact")}};var Gs=function(){this._queue=[],this._id=0,this._cleared=!1,this._currentlyRunning=!1};Gs.prototype.add=function(Y){var ee=++this._id;return this._queue.push({callback:Y,id:ee,cancelled:!1}),ee},Gs.prototype.remove=function(Y){for(var ee=this._currentlyRunning,K=0,le=ee?this._queue.concat(ee):this._queue;Kle.maxZoom)throw new Error("maxZoom must be greater than or equal to minZoom");if(le.minPitch!=null&&le.maxPitch!=null&&le.minPitch>le.maxPitch)throw new Error("maxPitch must be greater than or equal to minPitch");if(le.minPitch!=null&&le.minPitch<0)throw new Error("minPitch must be greater than or equal to 0");if(le.maxPitch!=null&&le.maxPitch>No)throw new Error("maxPitch must be less than or equal to 60");var De=new Oi(le.minZoom,le.maxZoom,le.minPitch,le.maxPitch,le.renderWorldCopies);if(Y.call(this,De,le),this._interactive=le.interactive,this._maxTileCacheSize=le.maxTileCacheSize,this._failIfMajorPerformanceCaveat=le.failIfMajorPerformanceCaveat,this._preserveDrawingBuffer=le.preserveDrawingBuffer,this._antialias=le.antialias,this._trackResize=le.trackResize,this._bearingSnap=le.bearingSnap,this._refreshExpiredTiles=le.refreshExpiredTiles,this._fadeDuration=le.fadeDuration,this._crossSourceCollisions=le.crossSourceCollisions,this._crossFadingFactor=1,this._collectResourceTiming=le.collectResourceTiming,this._renderTaskQueue=new Gs,this._controls=[],this._mapId=i.uniqueId(),this._locale=i.extend({},Bo,le.locale),this._requestManager=new i.RequestManager(le.transformRequest,le.accessToken),typeof le.container=="string"){if(this._container=i.window.document.getElementById(le.container),!this._container)throw new Error("Container '"+le.container+"' not found.")}else{if(!(le.container instanceof no))throw new Error("Invalid type: 'container' must be a String or HTMLElement.");this._container=le.container}if(le.maxBounds&&this.setMaxBounds(le.maxBounds),i.bindAll(["_onWindowOnline","_onWindowResize","_contextLost","_contextRestored"],this),this._setupContainer(),this._setupPainter(),this.painter===void 0)throw new Error("Failed to initialize WebGL.");this.on("move",function(){return Te._update(!1)}),this.on("moveend",function(){return Te._update(!1)}),this.on("zoom",function(){return Te._update(!0)}),i.window!==void 0&&(i.window.addEventListener("online",this._onWindowOnline,!1),i.window.addEventListener("resize",this._onWindowResize,!1)),this.handlers=new Yi(this,le);var He=typeof le.hash=="string"&&le.hash||void 0;this._hash=le.hash&&new ol(He).addTo(this),this._hash&&this._hash._onHashChange()||(this.jumpTo({center:le.center,zoom:le.zoom,bearing:le.bearing,pitch:le.pitch}),le.bounds&&(this.resize(),this.fitBounds(le.bounds,i.extend({},le.fitBoundsOptions,{duration:0})))),this.resize(),this._localIdeographFontFamily=le.localIdeographFontFamily,le.style&&this.setStyle(le.style,{localIdeographFontFamily:le.localIdeographFontFamily}),le.attributionControl&&this.addControl(new os({customAttribution:le.customAttribution})),this.addControl(new _s,le.logoPosition),this.on("style.load",function(){Te.transform.unmodified&&Te.jumpTo(Te.style.stylesheet)}),this.on("data",function(Ze){Te._update(Ze.dataType==="style"),Te.fire(new i.Event(Ze.dataType+"data",Ze))}),this.on("dataloading",function(Ze){Te.fire(new i.Event(Ze.dataType+"dataloading",Ze))})}Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee;var K={showTileBoundaries:{configurable:!0},showPadding:{configurable:!0},showCollisionBoxes:{configurable:!0},showOverdrawInspector:{configurable:!0},repaint:{configurable:!0},vertices:{configurable:!0},version:{configurable:!0}};return ee.prototype._getMapId=function(){return this._mapId},ee.prototype.addControl=function(le,Te){if(Te===void 0&&le.getDefaultPosition&&(Te=le.getDefaultPosition()),Te===void 0&&(Te="top-right"),!le||!le.onAdd)return this.fire(new i.ErrorEvent(new Error("Invalid argument to map.addControl(). Argument must be a control with onAdd and onRemove methods.")));var De=le.onAdd(this);this._controls.push(le);var He=this._controlPositions[Te];return Te.indexOf("bottom")!==-1?He.insertBefore(De,He.firstChild):He.appendChild(De),this},ee.prototype.removeControl=function(le){if(!le||!le.onRemove)return this.fire(new i.ErrorEvent(new Error("Invalid argument to map.removeControl(). Argument must be a control with onAdd and onRemove methods.")));var Te=this._controls.indexOf(le);return Te>-1&&this._controls.splice(Te,1),le.onRemove(this),this},ee.prototype.resize=function(le){var Te=this._containerDimensions(),De=Te[0],He=Te[1];this._resizeCanvas(De,He),this.transform.resize(De,He),this.painter.resize(De,He);var Ze=!this._moving;return Ze&&(this.stop(),this.fire(new i.Event("movestart",le)).fire(new i.Event("move",le))),this.fire(new i.Event("resize",le)),Ze&&this.fire(new i.Event("moveend",le)),this},ee.prototype.getBounds=function(){return this.transform.getBounds()},ee.prototype.getMaxBounds=function(){return this.transform.getMaxBounds()},ee.prototype.setMaxBounds=function(le){return this.transform.setMaxBounds(i.LngLatBounds.convert(le)),this._update()},ee.prototype.setMinZoom=function(le){if((le=le??-2)>=-2&&le<=this.transform.maxZoom)return this.transform.minZoom=le,this._update(),this.getZoom()=this.transform.minZoom)return this.transform.maxZoom=le,this._update(),this.getZoom()>le&&this.setZoom(le),this;throw new Error("maxZoom must be greater than the current minZoom")},ee.prototype.getMaxZoom=function(){return this.transform.maxZoom},ee.prototype.setMinPitch=function(le){if((le=le??0)<0)throw new Error("minPitch must be greater than or equal to 0");if(le>=0&&le<=this.transform.maxPitch)return this.transform.minPitch=le,this._update(),this.getPitch()No)throw new Error("maxPitch must be less than or equal to 60");if(le>=this.transform.minPitch)return this.transform.maxPitch=le,this._update(),this.getPitch()>le&&this.setPitch(le),this;throw new Error("maxPitch must be greater than the current minPitch")},ee.prototype.getMaxPitch=function(){return this.transform.maxPitch},ee.prototype.getRenderWorldCopies=function(){return this.transform.renderWorldCopies},ee.prototype.setRenderWorldCopies=function(le){return this.transform.renderWorldCopies=le,this._update()},ee.prototype.project=function(le){return this.transform.locationPoint(i.LngLat.convert(le))},ee.prototype.unproject=function(le){return this.transform.pointLocation(i.Point.convert(le))},ee.prototype.isMoving=function(){return this._moving||this.handlers.isMoving()},ee.prototype.isZooming=function(){return this._zooming||this.handlers.isZooming()},ee.prototype.isRotating=function(){return this._rotating||this.handlers.isRotating()},ee.prototype._createDelegatedListener=function(le,Te,De){var He,Ze=this;if(le==="mouseenter"||le==="mouseover"){var at=!1;return{layer:Te,listener:De,delegates:{mousemove:function(At){var se=Ze.getLayer(Te)?Ze.queryRenderedFeatures(At.point,{layers:[Te]}):[];se.length?at||(at=!0,De.call(Ze,new da(le,Ze,At.originalEvent,{features:se}))):at=!1},mouseout:function(){at=!1}}}}if(le==="mouseleave"||le==="mouseout"){var Tt=!1;return{layer:Te,listener:De,delegates:{mousemove:function(At){(Ze.getLayer(Te)?Ze.queryRenderedFeatures(At.point,{layers:[Te]}):[]).length?Tt=!0:Tt&&(Tt=!1,De.call(Ze,new da(le,Ze,At.originalEvent)))},mouseout:function(At){Tt&&(Tt=!1,De.call(Ze,new da(le,Ze,At.originalEvent)))}}}}return{layer:Te,listener:De,delegates:(He={},He[le]=function(At){var se=Ze.getLayer(Te)?Ze.queryRenderedFeatures(At.point,{layers:[Te]}):[];se.length&&(At.features=se,De.call(Ze,At),delete At.features)},He)}},ee.prototype.on=function(le,Te,De){if(De===void 0)return Y.prototype.on.call(this,le,Te);var He=this._createDelegatedListener(le,Te,De);for(var Ze in this._delegatedListeners=this._delegatedListeners||{},this._delegatedListeners[le]=this._delegatedListeners[le]||[],this._delegatedListeners[le].push(He),He.delegates)this.on(Ze,He.delegates[Ze]);return this},ee.prototype.once=function(le,Te,De){if(De===void 0)return Y.prototype.once.call(this,le,Te);var He=this._createDelegatedListener(le,Te,De);for(var Ze in He.delegates)this.once(Ze,He.delegates[Ze]);return this},ee.prototype.off=function(le,Te,De){var He=this;return De===void 0?Y.prototype.off.call(this,le,Te):(this._delegatedListeners&&this._delegatedListeners[le]&&function(Ze){for(var at=Ze[le],Tt=0;Tt180;){var He=K.locationPoint(Y);if(He.x>=0&&He.y>=0&&He.x<=K.width&&He.y<=K.height)break;Y.lng>K.center.lng?Y.lng-=360:Y.lng+=360}return Y}Hr.prototype.down=function(Y,ee){this.mouseRotate.mousedown(Y,ee),this.mousePitch&&this.mousePitch.mousedown(Y,ee),v.disableDrag()},Hr.prototype.move=function(Y,ee){var K=this.map,le=this.mouseRotate.mousemoveWindow(Y,ee);if(le&&le.bearingDelta&&K.setBearing(K.getBearing()+le.bearingDelta),this.mousePitch){var Te=this.mousePitch.mousemoveWindow(Y,ee);Te&&Te.pitchDelta&&K.setPitch(K.getPitch()+Te.pitchDelta)}},Hr.prototype.off=function(){var Y=this.element;v.removeEventListener(Y,"mousedown",this.mousedown),v.removeEventListener(Y,"touchstart",this.touchstart,{passive:!1}),v.removeEventListener(Y,"touchmove",this.touchmove),v.removeEventListener(Y,"touchend",this.touchend),v.removeEventListener(Y,"touchcancel",this.reset),this.offTemp()},Hr.prototype.offTemp=function(){v.enableDrag(),v.removeEventListener(i.window,"mousemove",this.mousemove),v.removeEventListener(i.window,"mouseup",this.mouseup)},Hr.prototype.mousedown=function(Y){this.down(i.extend({},Y,{ctrlKey:!0,preventDefault:function(){return Y.preventDefault()}}),v.mousePos(this.element,Y)),v.addEventListener(i.window,"mousemove",this.mousemove),v.addEventListener(i.window,"mouseup",this.mouseup)},Hr.prototype.mousemove=function(Y){this.move(Y,v.mousePos(this.element,Y))},Hr.prototype.mouseup=function(Y){this.mouseRotate.mouseupWindow(Y),this.mousePitch&&this.mousePitch.mouseupWindow(Y),this.offTemp()},Hr.prototype.touchstart=function(Y){Y.targetTouches.length!==1?this.reset():(this._startPos=this._lastPos=v.touchPos(this.element,Y.targetTouches)[0],this.down({type:"mousedown",button:0,ctrlKey:!0,preventDefault:function(){return Y.preventDefault()}},this._startPos))},Hr.prototype.touchmove=function(Y){Y.targetTouches.length!==1?this.reset():(this._lastPos=v.touchPos(this.element,Y.targetTouches)[0],this.move({preventDefault:function(){return Y.preventDefault()}},this._lastPos))},Hr.prototype.touchend=function(Y){Y.targetTouches.length===0&&this._startPos&&this._lastPos&&this._startPos.dist(this._lastPos)le.getEast()||Te.latitudele.getNorth())},ee.prototype._setErrorState=function(){switch(this._watchState){case"WAITING_ACTIVE":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"ACTIVE_LOCK":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting");break;case"BACKGROUND":this._watchState="BACKGROUND_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting")}},ee.prototype._onSuccess=function(K){if(this._map){if(this._isOutOfMapMaxBounds(K))return this._setErrorState(),this.fire(new i.Event("outofmaxbounds",K)),this._updateMarker(),void this._finish();if(this.options.trackUserLocation)switch(this._lastKnownPosition=K,this._watchState){case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"BACKGROUND":case"BACKGROUND_ERROR":this._watchState="BACKGROUND",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background")}this.options.showUserLocation&&this._watchState!=="OFF"&&this._updateMarker(K),this.options.trackUserLocation&&this._watchState!=="ACTIVE_LOCK"||this._updateCamera(K),this.options.showUserLocation&&this._dotElement.classList.remove("mapboxgl-user-location-dot-stale"),this.fire(new i.Event("geolocate",K)),this._finish()}},ee.prototype._updateCamera=function(K){var le=new i.LngLat(K.coords.longitude,K.coords.latitude),Te=K.coords.accuracy,De=this._map.getBearing(),He=i.extend({bearing:De},this.options.fitBoundsOptions);this._map.fitBounds(le.toBounds(Te),He,{geolocateSource:!0})},ee.prototype._updateMarker=function(K){if(K){var le=new i.LngLat(K.coords.longitude,K.coords.latitude);this._accuracyCircleMarker.setLngLat(le).addTo(this._map),this._userLocationDotMarker.setLngLat(le).addTo(this._map),this._accuracy=K.coords.accuracy,this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()}else this._userLocationDotMarker.remove(),this._accuracyCircleMarker.remove()},ee.prototype._updateCircleRadius=function(){var K=this._map._container.clientHeight/2,le=this._map.unproject([0,K]),Te=this._map.unproject([1,K]),De=le.distanceTo(Te),He=Math.ceil(2*this._accuracy/De);this._circleElement.style.width=He+"px",this._circleElement.style.height=He+"px"},ee.prototype._onZoom=function(){this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()},ee.prototype._onError=function(K){if(this._map){if(this.options.trackUserLocation)if(K.code===1){this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.disabled=!0;var le=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.title=le,this._geolocateButton.setAttribute("aria-label",le),this._geolocationWatchID!==void 0&&this._clearWatch()}else{if(K.code===3&&ju)return;this._setErrorState()}this._watchState!=="OFF"&&this.options.showUserLocation&&this._dotElement.classList.add("mapboxgl-user-location-dot-stale"),this.fire(new i.Event("error",K)),this._finish()}},ee.prototype._finish=function(){this._timeoutId&&clearTimeout(this._timeoutId),this._timeoutId=void 0},ee.prototype._setupUI=function(K){var le=this;if(this._container.addEventListener("contextmenu",function(He){return He.preventDefault()}),this._geolocateButton=v.create("button","mapboxgl-ctrl-geolocate",this._container),v.create("span","mapboxgl-ctrl-icon",this._geolocateButton).setAttribute("aria-hidden",!0),this._geolocateButton.type="button",K===!1){i.warnOnce("Geolocation support is not available so the GeolocateControl will be disabled.");var Te=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.disabled=!0,this._geolocateButton.title=Te,this._geolocateButton.setAttribute("aria-label",Te)}else{var De=this._map._getUIString("GeolocateControl.FindMyLocation");this._geolocateButton.title=De,this._geolocateButton.setAttribute("aria-label",De)}this.options.trackUserLocation&&(this._geolocateButton.setAttribute("aria-pressed","false"),this._watchState="OFF"),this.options.showUserLocation&&(this._dotElement=v.create("div","mapboxgl-user-location-dot"),this._userLocationDotMarker=new xo(this._dotElement),this._circleElement=v.create("div","mapboxgl-user-location-accuracy-circle"),this._accuracyCircleMarker=new xo({element:this._circleElement,pitchAlignment:"map"}),this.options.trackUserLocation&&(this._watchState="OFF"),this._map.on("zoom",this._onZoom)),this._geolocateButton.addEventListener("click",this.trigger.bind(this)),this._setup=!0,this.options.trackUserLocation&&this._map.on("movestart",function(He){var Ze=He.originalEvent&&He.originalEvent.type==="resize";He.geolocateSource||le._watchState!=="ACTIVE_LOCK"||Ze||(le._watchState="BACKGROUND",le._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background"),le._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),le.fire(new i.Event("trackuserlocationend")))})},ee.prototype.trigger=function(){if(!this._setup)return i.warnOnce("Geolocate control triggered before added to a map"),!1;if(this.options.trackUserLocation){switch(this._watchState){case"OFF":this._watchState="WAITING_ACTIVE",this.fire(new i.Event("trackuserlocationstart"));break;case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":case"BACKGROUND_ERROR":Vo--,ju=!1,this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this.fire(new i.Event("trackuserlocationend"));break;case"BACKGROUND":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._lastKnownPosition&&this._updateCamera(this._lastKnownPosition),this.fire(new i.Event("trackuserlocationstart"))}switch(this._watchState){case"WAITING_ACTIVE":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_LOCK":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"BACKGROUND":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background");break;case"BACKGROUND_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error")}if(this._watchState==="OFF"&&this._geolocationWatchID!==void 0)this._clearWatch();else if(this._geolocationWatchID===void 0){var K;this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","true"),++Vo>1?(K={maximumAge:6e5,timeout:0},ju=!0):(K=this.options.positionOptions,ju=!1),this._geolocationWatchID=i.window.navigator.geolocation.watchPosition(this._onSuccess,this._onError,K)}}else i.window.navigator.geolocation.getCurrentPosition(this._onSuccess,this._onError,this.options.positionOptions),this._timeoutId=setTimeout(this._finish,1e4);return!0},ee.prototype._clearWatch=function(){i.window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0,this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","false"),this.options.showUserLocation&&this._updateMarker(null)},ee}(i.Evented),Ji={maxWidth:100,unit:"metric"},la=function(Y){this.options=i.extend({},Ji,Y),i.bindAll(["_onMove","setUnit"],this)};function Xc(Y,ee,K){var le=K&&K.maxWidth||100,Te=Y._container.clientHeight/2,De=Y.unproject([0,Te]),He=Y.unproject([le,Te]),Ze=De.distanceTo(He);if(K&&K.unit==="imperial"){var at=3.2808*Ze;at>5280?et(ee,le,at/5280,Y._getUIString("ScaleControl.Miles")):et(ee,le,at,Y._getUIString("ScaleControl.Feet"))}else K&&K.unit==="nautical"?et(ee,le,Ze/1852,Y._getUIString("ScaleControl.NauticalMiles")):Ze>=1e3?et(ee,le,Ze/1e3,Y._getUIString("ScaleControl.Kilometers")):et(ee,le,Ze,Y._getUIString("ScaleControl.Meters"))}function et(Y,ee,K,le){var Te,De,He,Ze=(Te=K,(De=Math.pow(10,(""+Math.floor(Te)).length-1))*((He=Te/De)>=10?10:He>=5?5:He>=3?3:He>=2?2:He>=1?1:function(Tt){var At=Math.pow(10,Math.ceil(-Math.log(Tt)/Math.LN10));return Math.round(Tt*At)/At}(He))),at=Ze/K;Y.style.width=ee*at+"px",Y.innerHTML=Ze+" "+le}la.prototype.getDefaultPosition=function(){return"bottom-left"},la.prototype._onMove=function(){Xc(this._map,this._container,this.options)},la.prototype.onAdd=function(Y){return this._map=Y,this._container=v.create("div","mapboxgl-ctrl mapboxgl-ctrl-scale",Y.getContainer()),this._map.on("move",this._onMove),this._onMove(),this._container},la.prototype.onRemove=function(){v.remove(this._container),this._map.off("move",this._onMove),this._map=void 0},la.prototype.setUnit=function(Y){this.options.unit=Y,Xc(this._map,this._container,this.options)};var rt=function(Y){this._fullscreen=!1,Y&&Y.container&&(Y.container instanceof i.window.HTMLElement?this._container=Y.container:i.warnOnce("Full screen control 'container' must be a DOM element.")),i.bindAll(["_onClickFullscreen","_changeIcon"],this),"onfullscreenchange"in i.window.document?this._fullscreenchange="fullscreenchange":"onmozfullscreenchange"in i.window.document?this._fullscreenchange="mozfullscreenchange":"onwebkitfullscreenchange"in i.window.document?this._fullscreenchange="webkitfullscreenchange":"onmsfullscreenchange"in i.window.document&&(this._fullscreenchange="MSFullscreenChange")};rt.prototype.onAdd=function(Y){return this._map=Y,this._container||(this._container=this._map.getContainer()),this._controlContainer=v.create("div","mapboxgl-ctrl mapboxgl-ctrl-group"),this._checkFullscreenSupport()?this._setupUI():(this._controlContainer.style.display="none",i.warnOnce("This device does not support fullscreen mode.")),this._controlContainer},rt.prototype.onRemove=function(){v.remove(this._controlContainer),this._map=null,i.window.document.removeEventListener(this._fullscreenchange,this._changeIcon)},rt.prototype._checkFullscreenSupport=function(){return!!(i.window.document.fullscreenEnabled||i.window.document.mozFullScreenEnabled||i.window.document.msFullscreenEnabled||i.window.document.webkitFullscreenEnabled)},rt.prototype._setupUI=function(){var Y=this._fullscreenButton=v.create("button","mapboxgl-ctrl-fullscreen",this._controlContainer);v.create("span","mapboxgl-ctrl-icon",Y).setAttribute("aria-hidden",!0),Y.type="button",this._updateTitle(),this._fullscreenButton.addEventListener("click",this._onClickFullscreen),i.window.document.addEventListener(this._fullscreenchange,this._changeIcon)},rt.prototype._updateTitle=function(){var Y=this._getTitle();this._fullscreenButton.setAttribute("aria-label",Y),this._fullscreenButton.title=Y},rt.prototype._getTitle=function(){return this._map._getUIString(this._isFullscreen()?"FullscreenControl.Exit":"FullscreenControl.Enter")},rt.prototype._isFullscreen=function(){return this._fullscreen},rt.prototype._changeIcon=function(){(i.window.document.fullscreenElement||i.window.document.mozFullScreenElement||i.window.document.webkitFullscreenElement||i.window.document.msFullscreenElement)===this._container!==this._fullscreen&&(this._fullscreen=!this._fullscreen,this._fullscreenButton.classList.toggle("mapboxgl-ctrl-shrink"),this._fullscreenButton.classList.toggle("mapboxgl-ctrl-fullscreen"),this._updateTitle())},rt.prototype._onClickFullscreen=function(){this._isFullscreen()?i.window.document.exitFullscreen?i.window.document.exitFullscreen():i.window.document.mozCancelFullScreen?i.window.document.mozCancelFullScreen():i.window.document.msExitFullscreen?i.window.document.msExitFullscreen():i.window.document.webkitCancelFullScreen&&i.window.document.webkitCancelFullScreen():this._container.requestFullscreen?this._container.requestFullscreen():this._container.mozRequestFullScreen?this._container.mozRequestFullScreen():this._container.msRequestFullscreen?this._container.msRequestFullscreen():this._container.webkitRequestFullscreen&&this._container.webkitRequestFullscreen()};var ct={closeButton:!0,closeOnClick:!0,className:"",maxWidth:"240px"},vt=function(Y){function ee(K){Y.call(this),this.options=i.extend(Object.create(ct),K),i.bindAll(["_update","_onClose","remove","_onMouseMove","_onMouseUp","_onDrag"],this)}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee.prototype.addTo=function(K){return this._map&&this.remove(),this._map=K,this.options.closeOnClick&&this._map.on("click",this._onClose),this.options.closeOnMove&&this._map.on("move",this._onClose),this._map.on("remove",this.remove),this._update(),this._trackPointer?(this._map.on("mousemove",this._onMouseMove),this._map.on("mouseup",this._onMouseUp),this._container&&this._container.classList.add("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("mapboxgl-track-pointer")):this._map.on("move",this._update),this.fire(new i.Event("open")),this},ee.prototype.isOpen=function(){return!!this._map},ee.prototype.remove=function(){return this._content&&v.remove(this._content),this._container&&(v.remove(this._container),delete this._container),this._map&&(this._map.off("move",this._update),this._map.off("move",this._onClose),this._map.off("click",this._onClose),this._map.off("remove",this.remove),this._map.off("mousemove",this._onMouseMove),this._map.off("mouseup",this._onMouseUp),this._map.off("drag",this._onDrag),delete this._map),this.fire(new i.Event("close")),this},ee.prototype.getLngLat=function(){return this._lngLat},ee.prototype.setLngLat=function(K){return this._lngLat=i.LngLat.convert(K),this._pos=null,this._trackPointer=!1,this._update(),this._map&&(this._map.on("move",this._update),this._map.off("mousemove",this._onMouseMove),this._container&&this._container.classList.remove("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.remove("mapboxgl-track-pointer")),this},ee.prototype.trackPointer=function(){return this._trackPointer=!0,this._pos=null,this._update(),this._map&&(this._map.off("move",this._update),this._map.on("mousemove",this._onMouseMove),this._map.on("drag",this._onDrag),this._container&&this._container.classList.add("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("mapboxgl-track-pointer")),this},ee.prototype.getElement=function(){return this._container},ee.prototype.setText=function(K){return this.setDOMContent(i.window.document.createTextNode(K))},ee.prototype.setHTML=function(K){var le,Te=i.window.document.createDocumentFragment(),De=i.window.document.createElement("body");for(De.innerHTML=K;le=De.firstChild;)Te.appendChild(le);return this.setDOMContent(Te)},ee.prototype.getMaxWidth=function(){return this._container&&this._container.style.maxWidth},ee.prototype.setMaxWidth=function(K){return this.options.maxWidth=K,this._update(),this},ee.prototype.setDOMContent=function(K){return this._createContent(),this._content.appendChild(K),this._update(),this},ee.prototype.addClassName=function(K){this._container&&this._container.classList.add(K)},ee.prototype.removeClassName=function(K){this._container&&this._container.classList.remove(K)},ee.prototype.toggleClassName=function(K){if(this._container)return this._container.classList.toggle(K)},ee.prototype._createContent=function(){this._content&&v.remove(this._content),this._content=v.create("div","mapboxgl-popup-content",this._container),this.options.closeButton&&(this._closeButton=v.create("button","mapboxgl-popup-close-button",this._content),this._closeButton.type="button",this._closeButton.setAttribute("aria-label","Close popup"),this._closeButton.innerHTML="×",this._closeButton.addEventListener("click",this._onClose))},ee.prototype._onMouseUp=function(K){this._update(K.point)},ee.prototype._onMouseMove=function(K){this._update(K.point)},ee.prototype._onDrag=function(K){this._update(K.point)},ee.prototype._update=function(K){var le=this,Te=this._lngLat||this._trackPointer;if(this._map&&Te&&this._content&&(this._container||(this._container=v.create("div","mapboxgl-popup",this._map.getContainer()),this._tip=v.create("div","mapboxgl-popup-tip",this._container),this._container.appendChild(this._content),this.options.className&&this.options.className.split(" ").forEach(function(ve){return le._container.classList.add(ve)}),this._trackPointer&&this._container.classList.add("mapboxgl-popup-track-pointer")),this.options.maxWidth&&this._container.style.maxWidth!==this.options.maxWidth&&(this._container.style.maxWidth=this.options.maxWidth),this._map.transform.renderWorldCopies&&!this._trackPointer&&(this._lngLat=ni(this._lngLat,this._pos,this._map.transform)),!this._trackPointer||K)){var De=this._pos=this._trackPointer&&K?K:this._map.project(this._lngLat),He=this.options.anchor,Ze=St(this.options.offset);if(!He){var at,Tt=this._container.offsetWidth,At=this._container.offsetHeight;at=De.y+Ze.bottom.ythis._map.transform.height-At?["bottom"]:[],De.xthis._map.transform.width-Tt/2&&at.push("right"),He=at.length===0?"bottom":at.join("-")}var se=De.add(Ze[He]).round();v.setTransform(this._container,Vu[He]+" translate("+se.x+"px,"+se.y+"px)"),cl(this._container,He,"popup")}},ee.prototype._onClose=function(){this.remove()},ee}(i.Evented);function St(Y){if(Y){if(typeof Y=="number"){var ee=Math.round(Math.sqrt(.5*Math.pow(Y,2)));return{center:new i.Point(0,0),top:new i.Point(0,Y),"top-left":new i.Point(ee,ee),"top-right":new i.Point(-ee,ee),bottom:new i.Point(0,-Y),"bottom-left":new i.Point(ee,-ee),"bottom-right":new i.Point(-ee,-ee),left:new i.Point(Y,0),right:new i.Point(-Y,0)}}if(Y instanceof i.Point||Array.isArray(Y)){var K=i.Point.convert(Y);return{center:K,top:K,"top-left":K,"top-right":K,bottom:K,"bottom-left":K,"bottom-right":K,left:K,right:K}}return{center:i.Point.convert(Y.center||[0,0]),top:i.Point.convert(Y.top||[0,0]),"top-left":i.Point.convert(Y["top-left"]||[0,0]),"top-right":i.Point.convert(Y["top-right"]||[0,0]),bottom:i.Point.convert(Y.bottom||[0,0]),"bottom-left":i.Point.convert(Y["bottom-left"]||[0,0]),"bottom-right":i.Point.convert(Y["bottom-right"]||[0,0]),left:i.Point.convert(Y.left||[0,0]),right:i.Point.convert(Y.right||[0,0])}}return St(new i.Point(0,0))}var Mt={version:i.version,supported:M,setRTLTextPlugin:i.setRTLTextPlugin,getRTLTextPluginStatus:i.getRTLTextPluginStatus,Map:Ol,NavigationControl:ws,GeolocateControl:hl,AttributionControl:os,ScaleControl:la,FullscreenControl:rt,Popup:vt,Marker:xo,Style:dr,LngLat:i.LngLat,LngLatBounds:i.LngLatBounds,Point:i.Point,MercatorCoordinate:i.MercatorCoordinate,Evented:i.Evented,config:i.config,prewarm:function(){Lt().acquire(ut)},clearPrewarmedResources:function(){var Y=_t;Y&&(Y.isPreloaded()&&Y.numActive()===1?(Y.release(ut),_t=null):console.warn("Could not clear WebWorkers since there are active Map instances that still reference it. The pre-warmed WebWorker pool can only be cleared when all map instances have been removed with map.remove()"))},get accessToken(){return i.config.ACCESS_TOKEN},set accessToken(Y){i.config.ACCESS_TOKEN=Y},get baseApiUrl(){return i.config.API_URL},set baseApiUrl(Y){i.config.API_URL=Y},get workerCount(){return dt.workerCount},set workerCount(Y){dt.workerCount=Y},get maxParallelImageRequests(){return i.config.MAX_PARALLEL_IMAGE_REQUESTS},set maxParallelImageRequests(Y){i.config.MAX_PARALLEL_IMAGE_REQUESTS=Y},clearStorage:function(Y){i.clearTileCache(Y)},workerUrl:""};return Mt}),d}()},27084:function(T){T.exports=Math.log2||function(p){return Math.log(p)*Math.LOG2E}},16825:function(T,p,t){T.exports=function(g,i){i||(i=g,g=window);var M=0,v=0,f=0,l={shift:!1,alt:!1,control:!1,meta:!1},a=!1;function u(k){var E=!1;return"altKey"in k&&(E=E||k.altKey!==l.alt,l.alt=!!k.altKey),"shiftKey"in k&&(E=E||k.shiftKey!==l.shift,l.shift=!!k.shiftKey),"ctrlKey"in k&&(E=E||k.ctrlKey!==l.control,l.control=!!k.ctrlKey),"metaKey"in k&&(E=E||k.metaKey!==l.meta,l.meta=!!k.metaKey),E}function o(k,E){var x=d.x(E),A=d.y(E);"buttons"in E&&(k=0|E.buttons),(k!==M||x!==v||A!==f||u(E))&&(M=0|k,v=x||0,f=A||0,i&&i(M,v,f,l))}function s(k){o(0,k)}function c(){(M||v||f||l.shift||l.alt||l.meta||l.control)&&(v=f=0,M=0,l.shift=l.alt=l.control=l.meta=!1,i&&i(0,0,0,l))}function h(k){u(k)&&i&&i(M,v,f,l)}function m(k){d.buttons(k)===0?o(0,k):o(M,k)}function w(k){o(M|d.buttons(k),k)}function y(k){o(M&~d.buttons(k),k)}function S(){a||(a=!0,g.addEventListener("mousemove",m),g.addEventListener("mousedown",w),g.addEventListener("mouseup",y),g.addEventListener("mouseleave",s),g.addEventListener("mouseenter",s),g.addEventListener("mouseout",s),g.addEventListener("mouseover",s),g.addEventListener("blur",c),g.addEventListener("keyup",h),g.addEventListener("keydown",h),g.addEventListener("keypress",h),g!==window&&(window.addEventListener("blur",c),window.addEventListener("keyup",h),window.addEventListener("keydown",h),window.addEventListener("keypress",h)))}S();var _={element:g};return Object.defineProperties(_,{enabled:{get:function(){return a},set:function(k){k?S():a&&(a=!1,g.removeEventListener("mousemove",m),g.removeEventListener("mousedown",w),g.removeEventListener("mouseup",y),g.removeEventListener("mouseleave",s),g.removeEventListener("mouseenter",s),g.removeEventListener("mouseout",s),g.removeEventListener("mouseover",s),g.removeEventListener("blur",c),g.removeEventListener("keyup",h),g.removeEventListener("keydown",h),g.removeEventListener("keypress",h),g!==window&&(window.removeEventListener("blur",c),window.removeEventListener("keyup",h),window.removeEventListener("keydown",h),window.removeEventListener("keypress",h)))},enumerable:!0},buttons:{get:function(){return M},enumerable:!0},x:{get:function(){return v},enumerable:!0},y:{get:function(){return f},enumerable:!0},mods:{get:function(){return l},enumerable:!0}}),_};var d=t(74311)},48956:function(T){var p={left:0,top:0};T.exports=function(t,d,g){d=d||t.currentTarget||t.srcElement,Array.isArray(g)||(g=[0,0]);var i,M=t.clientX||0,v=t.clientY||0,f=(i=d)===window||i===document||i===document.body?p:i.getBoundingClientRect();return g[0]=M-f.left,g[1]=v-f.top,g}},74311:function(T,p){function t(d){return d.target||d.srcElement||window}p.buttons=function(d){if(typeof d=="object"){if("buttons"in d)return d.buttons;if("which"in d){if((g=d.which)===2)return 4;if(g===3)return 2;if(g>0)return 1<=0)return 1<0&&o(c,L))}catch(b){w.call(new S(L),b)}}}function w(x){var A=this;A.triggered||(A.triggered=!0,A.def&&(A=A.def),A.msg=x,A.state=2,A.chain.length>0&&o(c,A))}function y(x,A,L,b){for(var R=0;R1&&(a*=k=Math.sqrt(k),u*=k);var E=a*a,x=u*u,A=(s==c?-1:1)*Math.sqrt(Math.abs((E*x-E*_*_-x*S*S)/(E*_*_+x*S*S)));A==1/0&&(A=1);var L=A*a*_/u+(f+h)/2,b=A*-u*S/a+(l+m)/2,R=Math.asin(((l-b)/u).toFixed(9)),I=Math.asin(((m-b)/u).toFixed(9));(R=fI&&(R-=2*p),!c&&I>R&&(I-=2*p)}if(Math.abs(I-R)>t){var O=I,z=h,F=m;I=R+t*(c&&I>R?1:-1);var B=i(h=L+a*Math.cos(I),m=b+u*Math.sin(I),a,u,o,0,c,z,F,[I,O,L,b])}var N=Math.tan((I-R)/4),W=4/3*a*N,j=4/3*u*N,$=[2*f-(f+W*Math.sin(R)),2*l-(l-j*Math.cos(R)),h+W*Math.sin(I),m-j*Math.cos(I),h,m];if(w)return $;B&&($=$.concat(B));for(var U=0;U<$.length;){var G=M($[U],$[U+1],o);$[U++]=G.x,$[U++]=G.y}return $}function M(f,l,a){return{x:f*Math.cos(a)-l*Math.sin(a),y:f*Math.sin(a)+l*Math.cos(a)}}function v(f){return f*(p/180)}T.exports=function(f){for(var l,a=[],u=0,o=0,s=0,c=0,h=null,m=null,w=0,y=0,S=0,_=f.length;S<_;S++){var k=f[S],E=k[0];switch(E){case"M":s=k[1],c=k[2];break;case"A":(k=i(w,y,k[1],k[2],v(k[3]),k[4],k[5],k[6],k[7])).unshift("C"),k.length>7&&(a.push(k.splice(0,7)),k.unshift("C"));break;case"S":var x=w,A=y;l!="C"&&l!="S"||(x+=x-u,A+=A-o),k=["C",x,A,k[1],k[2],k[3],k[4]];break;case"T":l=="Q"||l=="T"?(h=2*w-h,m=2*y-m):(h=w,m=y),k=g(w,y,h,m,k[1],k[2]);break;case"Q":h=k[1],m=k[2],k=g(w,y,k[1],k[2],k[3],k[4]);break;case"L":k=d(w,y,k[1],k[2]);break;case"H":k=d(w,y,k[1],y);break;case"V":k=d(w,y,w,k[1]);break;case"Z":k=d(w,y,s,c)}l=E,w=k[k.length-2],y=k[k.length-1],k.length>4?(u=k[k.length-4],o=k[k.length-3]):(u=w,o=y),a.push(k)}return a}},56131:function(T){var p=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;function g(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}T.exports=function(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var M={},v=0;v<10;v++)M["_"+String.fromCharCode(v)]=v;if(Object.getOwnPropertyNames(M).map(function(l){return M[l]}).join("")!=="0123456789")return!1;var f={};return"abcdefghijklmnopqrst".split("").forEach(function(l){f[l]=l}),Object.keys(Object.assign({},f)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}()?Object.assign:function(i,M){for(var v,f,l=g(i),a=1;a"u")return!1;for(var c in window)try{if(!o["$"+c]&&g.call(window,c)&&window[c]!==null&&typeof window[c]=="object")try{u(window[c])}catch{return!0}}catch{return!0}return!1}();d=function(c){var h=c!==null&&typeof c=="object",m=i.call(c)==="[object Function]",w=M(c),y=h&&i.call(c)==="[object String]",S=[];if(!h&&!m&&!w)throw new TypeError("Object.keys called on a non-object");var _=l&&m;if(y&&c.length>0&&!g.call(c,0))for(var k=0;k0)for(var E=0;E"u"||!s)return u(b);try{return u(b)}catch{return!1}}(c),L=0;L=0&&p.call(t.callee)==="[object Function]"),g}},88641:function(T){function p(g,i){if(typeof g!="string")return[g];var M=[g];typeof i=="string"||Array.isArray(i)?i={brackets:i}:i||(i={});var v=i.brackets?Array.isArray(i.brackets)?i.brackets:[i.brackets]:["{}","[]","()"],f=i.escape||"___",l=!!i.flat;v.forEach(function(u){var o=new RegExp(["\\",u[0],"[^\\",u[0],"\\",u[1],"]*\\",u[1]].join("")),s=[];function c(h,m,w){var y=M.push(h.slice(u[0].length,-u[1].length))-1;return s.push(y),f+y+f}M.forEach(function(h,m){for(var w,y=0;h!=w;)if(w=h,h=h.replace(o,c),y++>1e4)throw Error("References have circular dependency. Please, check them.");M[m]=h}),s=s.reverse(),M=M.map(function(h){return s.forEach(function(m){h=h.replace(new RegExp("(\\"+f+m+"\\"+f+")","g"),u[0]+"$1"+u[1])}),h})});var a=new RegExp("\\"+f+"([0-9]+)\\"+f);return l?M:function u(o,s,c){for(var h,m=[],w=0;h=a.exec(o);){if(w++>1e4)throw Error("Circular references in parenthesis");m.push(o.slice(0,h.index)),m.push(u(s[h[1]],s)),o=o.slice(h.index+h[0].length)}return m.push(o),m}(M[0],M)}function t(g,i){if(i&&i.flat){var M,v=i&&i.escape||"___",f=g[0];if(!f)return"";for(var l=new RegExp("\\"+v+"([0-9]+)\\"+v),a=0;f!=M;){if(a++>1e4)throw Error("Circular references in "+g);M=f,f=f.replace(l,u)}return f}return g.reduce(function o(s,c){return Array.isArray(c)&&(c=c.reduce(o,"")),s+c},"");function u(o,s){if(g[s]==null)throw Error("Reference "+s+"is undefined");return g[s]}}function d(g,i){return Array.isArray(g)?t(g,i):p(g,i)}d.parse=p,d.stringify=t,T.exports=d},18863:function(T,p,t){var d=t(71299);T.exports=function(g){var i;return arguments.length>1&&(g=arguments),typeof g=="string"?g=g.split(/\s/).map(parseFloat):typeof g=="number"&&(g=[g]),g.length&&typeof g[0]=="number"?i=g.length===1?{width:g[0],height:g[0],x:0,y:0}:g.length===2?{width:g[0],height:g[1],x:0,y:0}:{x:g[0],y:g[1],width:g[2]-g[0]||0,height:g[3]-g[1]||0}:g&&(i={x:(g=d(g,{left:"x l left Left",top:"y t top Top",width:"w width W Width",height:"h height W Width",bottom:"b bottom Bottom",right:"r right Right"})).left||0,y:g.top||0},g.width==null?g.right?i.width=g.right-i.x:i.width=0:i.width=g.width,g.height==null?g.bottom?i.height=g.bottom-i.y:i.height=0:i.height=g.height),i}},95616:function(T){T.exports=function(g){var i=[];return g.replace(t,function(M,v,f){var l=v.toLowerCase();for(f=function(a){var u=a.match(d);return u?u.map(Number):[]}(f),l=="m"&&f.length>2&&(i.push([v].concat(f.splice(0,2))),l="l",v=v=="m"?"l":"L");;){if(f.length==p[l])return f.unshift(v),i.push(f);if(f.lengthM!=c>M&&i<(s-u)*(M-o)/(c-o)+u&&(v=!v)}return v}},52142:function(T,p,t){var d,g=t(69444),i=t(29023),M=t(87263),v=t(11328),f=t(55968),l=t(10670),a=!1,u=i();function o(s,c,h){var m=d.segments(s),w=d.segments(c),y=h(d.combine(m,w));return d.polygon(y)}d={buildLog:function(s){return s===!0?a=g():s===!1&&(a=!1),a!==!1&&a.list},epsilon:function(s){return u.epsilon(s)},segments:function(s){var c=M(!0,u,a);return s.regions.forEach(c.addRegion),{segments:c.calculate(s.inverted),inverted:s.inverted}},combine:function(s,c){return{combined:M(!1,u,a).calculate(s.segments,s.inverted,c.segments,c.inverted),inverted1:s.inverted,inverted2:c.inverted}},selectUnion:function(s){return{segments:f.union(s.combined,a),inverted:s.inverted1||s.inverted2}},selectIntersect:function(s){return{segments:f.intersect(s.combined,a),inverted:s.inverted1&&s.inverted2}},selectDifference:function(s){return{segments:f.difference(s.combined,a),inverted:s.inverted1&&!s.inverted2}},selectDifferenceRev:function(s){return{segments:f.differenceRev(s.combined,a),inverted:!s.inverted1&&s.inverted2}},selectXor:function(s){return{segments:f.xor(s.combined,a),inverted:s.inverted1!==s.inverted2}},polygon:function(s){return{regions:v(s.segments,u,a),inverted:s.inverted}},polygonFromGeoJSON:function(s){return l.toPolygon(d,s)},polygonToGeoJSON:function(s){return l.fromPolygon(d,u,s)},union:function(s,c){return o(s,c,d.selectUnion)},intersect:function(s,c){return o(s,c,d.selectIntersect)},difference:function(s,c){return o(s,c,d.selectDifference)},differenceRev:function(s,c){return o(s,c,d.selectDifferenceRev)},xor:function(s,c){return o(s,c,d.selectXor)}},typeof window=="object"&&(window.PolyBool=d),T.exports=d},69444:function(T){T.exports=function(){var p,t=0,d=!1;function g(i,M){return p.list.push({type:i,data:M?JSON.parse(JSON.stringify(M)):void 0}),p}return p={list:[],segmentId:function(){return t++},checkIntersection:function(i,M){return g("check",{seg1:i,seg2:M})},segmentChop:function(i,M){return g("div_seg",{seg:i,pt:M}),g("chop",{seg:i,pt:M})},statusRemove:function(i){return g("pop_seg",{seg:i})},segmentUpdate:function(i){return g("seg_update",{seg:i})},segmentNew:function(i,M){return g("new_seg",{seg:i,primary:M})},segmentRemove:function(i){return g("rem_seg",{seg:i})},tempStatus:function(i,M,v){return g("temp_status",{seg:i,above:M,below:v})},rewind:function(i){return g("rewind",{seg:i})},status:function(i,M,v){return g("status",{seg:i,above:M,below:v})},vert:function(i){return i===d?p:(d=i,g("vert",{x:i}))},log:function(i){return typeof i!="string"&&(i=JSON.stringify(i,!1," ")),g("log",{txt:i})},reset:function(){return g("reset")},selected:function(i){return g("selected",{segs:i})},chainStart:function(i){return g("chain_start",{seg:i})},chainRemoveHead:function(i,M){return g("chain_rem_head",{index:i,pt:M})},chainRemoveTail:function(i,M){return g("chain_rem_tail",{index:i,pt:M})},chainNew:function(i,M){return g("chain_new",{pt1:i,pt2:M})},chainMatch:function(i){return g("chain_match",{index:i})},chainClose:function(i){return g("chain_close",{index:i})},chainAddHead:function(i,M){return g("chain_add_head",{index:i,pt:M})},chainAddTail:function(i,M){return g("chain_add_tail",{index:i,pt:M})},chainConnect:function(i,M){return g("chain_con",{index1:i,index2:M})},chainReverse:function(i){return g("chain_rev",{index:i})},chainJoin:function(i,M){return g("chain_join",{index1:i,index2:M})},done:function(){return g("done")}}}},29023:function(T){T.exports=function(p){typeof p!="number"&&(p=1e-10);var t={epsilon:function(d){return typeof d=="number"&&(p=d),p},pointAboveOrOnLine:function(d,g,i){var M=g[0],v=g[1],f=i[0],l=i[1],a=d[0];return(f-M)*(d[1]-v)-(l-v)*(a-M)>=-p},pointBetween:function(d,g,i){var M=d[1]-g[1],v=i[0]-g[0],f=d[0]-g[0],l=i[1]-g[1],a=f*v+M*l;return!(a-p)},pointsSameX:function(d,g){return Math.abs(d[0]-g[0])p!=f-M>p&&(v-u)*(M-o)/(f-o)+u-i>p&&(l=!l),v=u,f=o}return l}};return t}},10670:function(T){var p={toPolygon:function(t,d){function g(v){if(v.length<=0)return t.segments({inverted:!1,regions:[]});function f(u){var o=u.slice(0,u.length-1);return t.segments({inverted:!1,regions:[o]})}for(var l=f(v[0]),a=1;a0})}function w(O,z){var F=O.seg,B=z.seg,N=F.start,W=F.end,j=B.start,$=B.end;M&&M.checkIntersection(F,B);var U=i.linesIntersect(N,W,j,$);if(U===!1){if(!i.pointsCollinear(N,W,j)||i.pointsSame(N,$)||i.pointsSame(W,j))return!1;var G=i.pointsSame(N,j),q=i.pointsSame(W,$);if(G&&q)return z;var H=!G&&i.pointBetween(N,j,$),ne=!q&&i.pointBetween(W,j,$);if(G)return ne?u(z,W):u(O,$),z;H&&(q||(ne?u(z,W):u(O,$)),u(z,N))}else U.alongA===0&&(U.alongB===-1?u(O,j):U.alongB===0?u(O,U.pt):U.alongB===1&&u(O,$)),U.alongB===0&&(U.alongA===-1?u(z,N):U.alongA===0?u(z,U.pt):U.alongA===1&&u(z,W));return!1}for(var y=[];!f.isEmpty();){var S=f.getHead();if(M&&M.vert(S.pt[0]),S.isStart){let O=function(){if(k){var z=w(S,k);if(z)return z}return!!E&&w(S,E)};var I=O;M&&M.segmentNew(S.seg,S.primary);var _=m(S),k=_.before?_.before.ev:null,E=_.after?_.after.ev:null;M&&M.tempStatus(S.seg,!!k&&k.seg,!!E&&E.seg);var x,A,L=O();if(L&&(g?(A=S.seg.myFill.below===null||S.seg.myFill.above!==S.seg.myFill.below)&&(L.seg.myFill.above=!L.seg.myFill.above):L.seg.otherFill=S.seg.myFill,M&&M.segmentUpdate(L.seg),S.other.remove(),S.remove()),f.getHead()!==S){M&&M.rewind(S.seg);continue}g?(A=S.seg.myFill.below===null||S.seg.myFill.above!==S.seg.myFill.below,S.seg.myFill.below=E?E.seg.myFill.above:s,S.seg.myFill.above=A?!S.seg.myFill.below:S.seg.myFill.below):S.seg.otherFill===null&&(x=E?S.primary===E.primary?E.seg.otherFill.above:E.seg.myFill.above:S.primary?c:s,S.seg.otherFill={above:x,below:x}),M&&M.status(S.seg,!!k&&k.seg,!!E&&E.seg),S.other.status=_.insert(d.node({ev:S}))}else{var b=S.status;if(b===null)throw new Error("PolyBool: Zero-length segment detected; your epsilon is probably too small or too large");if(h.exists(b.prev)&&h.exists(b.next)&&w(b.prev.ev,b.next.ev),M&&M.statusRemove(b.ev.seg),b.remove(),!S.primary){var R=S.seg.myFill;S.seg.myFill=S.seg.otherFill,S.seg.otherFill=R}y.push(S.seg)}f.getHead().remove()}return M&&M.done(),y}return g?{addRegion:function(s){for(var c,h,m,w=s[s.length-1],y=0;y0&&!this.aborted;){var M=this.ifds_to_read.shift();M.offset&&this.scan_ifd(M.id,M.offset,g)}},d.prototype.read_uint16=function(g){var i=this.input;if(g+2>i.length)throw p("unexpected EOF","EBADDATA");return this.big_endian?256*i[g]+i[g+1]:i[g]+256*i[g+1]},d.prototype.read_uint32=function(g){var i=this.input;if(g+4>i.length)throw p("unexpected EOF","EBADDATA");return this.big_endian?16777216*i[g]+65536*i[g+1]+256*i[g+2]+i[g+3]:i[g]+256*i[g+1]+65536*i[g+2]+16777216*i[g+3]},d.prototype.is_subifd_link=function(g,i){return g===0&&i===34665||g===0&&i===34853||g===34665&&i===40965},d.prototype.exif_format_length=function(g){switch(g){case 1:case 2:case 6:case 7:return 1;case 3:case 8:return 2;case 4:case 9:case 11:return 4;case 5:case 10:case 12:return 8;default:return 0}},d.prototype.exif_format_read=function(g,i){var M;switch(g){case 1:case 2:return this.input[i];case 6:return(M=this.input[i])|33554430*(128&M);case 3:return this.read_uint16(i);case 8:return(M=this.read_uint16(i))|131070*(32768&M);case 4:return this.read_uint32(i);case 9:return 0|this.read_uint32(i);default:return null}},d.prototype.scan_ifd=function(g,i,M){var v=this.read_uint16(i);i+=2;for(var f=0;fthis.input.length)throw p("unexpected EOF","EBADDATA");for(var m=[],w=c,y=0;y0&&(this.ifds_to_read.push({id:l,offset:m[0]}),h=!0),M({is_big_endian:this.big_endian,ifd:g,tag:l,format:a,count:u,entry_offset:i+this.start,data_length:s,data_offset:c+this.start,value:m,is_subifd_link:h})===!1)return void(this.aborted=!0);i+=12}g===0&&this.ifds_to_read.push({id:1,offset:this.read_uint32(i)})},T.exports.ExifParser=d,T.exports.get_orientation=function(g){var i=0;try{return new d(g,0,g.length).each(function(M){if(M.ifd===0&&M.tag===274&&Array.isArray(M.value))return i=M.value[0],!1}),i}catch{return-1}}},76767:function(T,p,t){var d=t(14847).n8,g=t(14847).Ag;function i(u,o){if(u.length<4+o)return null;var s=g(u,o);return u.length>4&15,c=15&u[4],h=u[5]>>4&15,m=d(u,6),w=8,y=0;y_.width||S.width===_.width&&S.height>_.height?S:_}),h=s.reduce(function(S,_){return S.height>_.height||S.height===_.height&&S.width>_.width?S:_}),c.width>h.height||c.width===h.height&&c.height>h.width?c:h),w=1;o.transforms.forEach(function(S){var _={1:6,2:5,3:8,4:7,5:4,6:3,7:2,8:1},k={1:4,2:3,3:2,4:1,5:6,6:5,7:8,8:7};if(S.type==="imir"&&(w=S.value===0?k[w]:_[w=_[w=k[w]]]),S.type==="irot")for(var E=0;E1&&(m.variants=h.variants),h.orientation&&(m.orientation=h.orientation),h.exif_location&&h.exif_location.offset+h.exif_location.length<=l.length){var w=i(l,h.exif_location.offset),y=l.slice(h.exif_location.offset+w+4,h.exif_location.offset+h.exif_location.length),S=v.get_orientation(y);S>0&&(m.orientation=S)}return m}}}}}}},2504:function(T,p,t){var d=t(14847).eG,g=t(14847).OF,i=t(14847).mP,M=d("BM");T.exports=function(v){if(!(v.length<26)&&g(v,0,M))return{width:i(v,18),height:i(v,22),type:"bmp",mime:"image/bmp",wUnits:"px",hUnits:"px"}}},47342:function(T,p,t){var d=t(14847).eG,g=t(14847).OF,i=t(14847).mP,M=d("GIF87a"),v=d("GIF89a");T.exports=function(f){if(!(f.length<10)&&(g(f,0,M)||g(f,0,v)))return{width:i(f,6),height:i(f,8),type:"gif",mime:"image/gif",wUnits:"px",hUnits:"px"}}},31355:function(T,p,t){var d=t(14847).mP;T.exports=function(g){var i=d(g,0),M=d(g,2),v=d(g,4);if(i===0&&M===1&&v){for(var f=[],l={width:0,height:0},a=0;al.width||o>l.height)&&(l=s)}return{width:l.width,height:l.height,variants:f,type:"ico",mime:"image/x-icon",wUnits:"px",hUnits:"px"}}}},54261:function(T,p,t){var d=t(14847).n8,g=t(14847).eG,i=t(14847).OF,M=t(71371),v=g("Exif\0\0");T.exports=function(f){if(!(f.length<2)&&f[0]===255&&f[1]===216&&f[2]===255)for(var l=2;;){for(;;){if(f.length-l<2)return;if(f[l++]===255)break}for(var a,u,o=f[l++];o===255;)o=f[l++];if(208<=o&&o<=217||o===1)a=0;else{if(!(192<=o&&o<=254)||f.length-l<2)return;a=d(f,l)-2,l+=2}if(o===217||o===218)return;if(o===225&&a>=10&&i(f,l,v)&&(u=M.get_orientation(f.slice(l+6,l+a))),a>=5&&192<=o&&o<=207&&o!==196&&o!==200&&o!==204){if(f.length-l0&&(s.orientation=u),s}l+=a}}},6303:function(T,p,t){var d=t(14847).eG,g=t(14847).OF,i=t(14847).Ag,M=d(`‰PNG\r  -`),v=d("IHDR");k.exports=function(h){if(!(h.length<24)&&y(h,0,M)&&y(h,12,v))return{width:i(h,16),height:i(h,20),type:"png",mime:"image/png",wUnits:"px",hUnits:"px"}}},38689:function(k,m,t){var d=t(14847).eG,y=t(14847).OF,i=t(14847).Ag,M=d("8BPS\0");k.exports=function(v){if(!(v.length<22)&&y(v,0,M))return{width:i(v,18),height:i(v,14),type:"psd",mime:"image/vnd.adobe.photoshop",wUnits:"px",hUnits:"px"}}},6881:function(k){function m(l){return typeof l=="number"&&isFinite(l)&&l>0}var t=/<[-_.:a-zA-Z0-9][^>]*>/,d=/^<([-_.:a-zA-Z0-9]+:)?svg\s/,y=/[^-]\bwidth="([^%]+?)"|[^-]\bwidth='([^%]+?)'/,i=/\bheight="([^%]+?)"|\bheight='([^%]+?)'/,M=/\bview[bB]ox="(.+?)"|\bview[bB]ox='(.+?)'/,v=/in$|mm$|cm$|pt$|pc$|px$|em$|ex$/;function h(l){return v.test(l)?l.match(v)[0]:"px"}k.exports=function(l){if(function(T){var E,_=0,A=T.length;for(T[0]===239&&T[1]===187&&T[2]===191&&(_=3);_>14&16383),type:"webp",mime:"image/webp",wUnits:"px",hUnits:"px"}}}function s(o,c){return{width:1+(o[c+6]<<16|o[c+5]<<8|o[c+4]),height:1+(o[c+9]<o.length)){for(;c+8=10?f=f||a(o,c+8):g==="VP8L"&&S>=9?f=f||u(o,c+8):g==="VP8X"&&S>=10?f=f||s(o,c+8):g==="EXIF"&&(p=v.get_orientation(o.slice(c+8,c+8+S)),c=1/0),c+=8+S}else c++;if(f)return p>0&&(f.orientation=p),f}}}},91497:function(k,m,t){k.exports={avif:t(24461),bmp:t(2504),gif:t(47342),ico:t(31355),jpeg:t(54261),png:t(6303),psd:t(38689),svg:t(6881),tiff:t(66278),webp:t(90784)}},33575:function(k,m,t){var d=t(91497);k.exports=function(y){return function(i){for(var M=Object.keys(d),v=0;v1)for(var w=1;w"u"?t.g:window,i=["moz","webkit"],M="AnimationFrame",v=y["request"+M],h=y["cancel"+M]||y["cancelRequest"+M],l=0;!v&&l0}var t=/<[-_.:a-zA-Z0-9][^>]*>/,d=/^<([-_.:a-zA-Z0-9]+:)?svg\s/,g=/[^-]\bwidth="([^%]+?)"|[^-]\bwidth='([^%]+?)'/,i=/\bheight="([^%]+?)"|\bheight='([^%]+?)'/,M=/\bview[bB]ox="(.+?)"|\bview[bB]ox='(.+?)'/,v=/in$|mm$|cm$|pt$|pc$|px$|em$|ex$/;function f(l){return v.test(l)?l.match(v)[0]:"px"}T.exports=function(l){if(function(k){var E,x=0,A=k.length;for(k[0]===239&&k[1]===187&&k[2]===191&&(x=3);x>14&16383),type:"webp",mime:"image/webp",wUnits:"px",hUnits:"px"}}}function o(s,c){return{width:1+(s[c+6]<<16|s[c+5]<<8|s[c+4]),height:1+(s[c+9]<s.length)){for(;c+8=10?h=h||a(s,c+8):y==="VP8L"&&S>=9?h=h||u(s,c+8):y==="VP8X"&&S>=10?h=h||o(s,c+8):y==="EXIF"&&(m=v.get_orientation(s.slice(c+8,c+8+S)),c=1/0),c+=8+S}else c++;if(h)return m>0&&(h.orientation=m),h}}}},91497:function(T,p,t){T.exports={avif:t(24461),bmp:t(2504),gif:t(47342),ico:t(31355),jpeg:t(54261),png:t(6303),psd:t(38689),svg:t(6881),tiff:t(66278),webp:t(90784)}},33575:function(T,p,t){var d=t(91497);T.exports=function(g){return function(i){for(var M=Object.keys(d),v=0;v1)for(var w=1;w"u"?t.g:window,i=["moz","webkit"],M="AnimationFrame",v=g["request"+M],f=g["cancel"+M]||g["cancelRequest"+M],l=0;!v&&l1&&(O.scaleRatio=[O.scale[0]*O.viewport.width,O.scale[1]*O.viewport.height],f(O),O.after&&O.after(O))}function R(O){if(O){O.length!=null?typeof O[0]=="number"&&(O=[{positions:O}]):Array.isArray(O)||(O=[O]);var z=0,F=0;if(A.groups=_=O.map(function(G,q){var H=_[q];return G&&(typeof G=="function"?G={after:G}:typeof G[0]=="number"&&(G={positions:G}),G=M(G,{color:"color colors fill",capSize:"capSize cap capsize cap-size",lineWidth:"lineWidth line-width width line thickness",opacity:"opacity alpha",range:"range dataBox",viewport:"viewport viewBox",errors:"errors error",positions:"positions position data points"}),H||(_[q]=H={id:q,scale:null,translate:null,scaleFract:null,translateFract:null,draw:!0},G=v({},E,G)),i(H,G,[{lineWidth:function(ne){return .5*+ne},capSize:function(ne){return .5*+ne},opacity:parseFloat,errors:function(ne){return ne=h(ne),F+=ne.length,ne},positions:function(ne,te){return ne=h(ne,"float64"),te.count=Math.floor(ne.length/2),te.bounds=d(ne,2),te.offset=z,z+=te.count,ne}},{color:function(ne,te){var Z=te.count;if(ne||(ne="transparent"),!Array.isArray(ne)||typeof ne[0]=="number"){var X=ne;ne=Array(Z);for(var Q=0;Q1&&(O.scaleRatio=[O.scale[0]*O.viewport.width,O.scale[1]*O.viewport.height],h(O),O.after&&O.after(O))}function R(O){if(O){O.length!=null?typeof O[0]=="number"&&(O=[{positions:O}]):Array.isArray(O)||(O=[O]);var z=0,F=0;if(A.groups=x=O.map(function(G,q){var H=x[q];return G&&(typeof G=="function"?G={after:G}:typeof G[0]=="number"&&(G={positions:G}),G=M(G,{color:"color colors fill",capSize:"capSize cap capsize cap-size",lineWidth:"lineWidth line-width width line thickness",opacity:"opacity alpha",range:"range dataBox",viewport:"viewport viewBox",errors:"errors error",positions:"positions position data points"}),H||(x[q]=H={id:q,scale:null,translate:null,scaleFract:null,translateFract:null,draw:!0},G=v({},E,G)),i(H,G,[{lineWidth:function(ne){return .5*+ne},capSize:function(ne){return .5*+ne},opacity:parseFloat,errors:function(ne){return ne=f(ne),F+=ne.length,ne},positions:function(ne,te){return ne=f(ne,"float64"),te.count=Math.floor(ne.length/2),te.bounds=d(ne,2),te.offset=z,z+=te.count,ne}},{color:function(ne,te){var Z=te.count;if(ne||(ne="transparent"),!Array.isArray(ne)||typeof ne[0]=="number"){var X=ne;ne=Array(Z);for(var Q=0;Q1&&T.opacity&&(g.regl._refresh(),T.fill&&T.triangles&&T.triangles.length>2&&g.shaders.fill(T),T.thickness&&(T.scale[0]*T.viewport.width>w.precisionThreshold||T.scale[1]*T.viewport.height>w.precisionThreshold||T.join==="rect"||!T.join&&(T.thickness<=2||T.count>=w.maxPoints)?g.shaders.rect(T):g.shaders.miter(T)))}),this},w.prototype.update=function(g){var S=this;if(g){g.length!=null?typeof g[0]=="number"&&(g=[{positions:g}]):Array.isArray(g)||(g=[g]);var x=this.regl,T=this.gl;if(g.forEach(function(b,R){var I=S.passes[R];if(b!==void 0)if(b!==null){if(typeof b[0]=="number"&&(b={positions:b}),b=v(b,{positions:"positions points data coords",thickness:"thickness lineWidth lineWidths line-width linewidth width stroke-width strokewidth strokeWidth",join:"lineJoin linejoin join type mode",miterLimit:"miterlimit miterLimit",dashes:"dash dashes dasharray dash-array dashArray",color:"color colour stroke colors colours stroke-color strokeColor",fill:"fill fill-color fillColor",opacity:"alpha opacity",overlay:"overlay crease overlap intersect",close:"closed close closed-path closePath",range:"range dataBox",viewport:"viewport viewBox",hole:"holes hole hollow",splitNull:"splitNull"}),I||(S.passes[R]=I={id:R,scale:null,scaleFract:null,translate:null,translateFract:null,count:0,hole:[],depth:0,dashLength:1,dashTexture:x.texture({channels:1,data:new Uint8Array([255]),width:1,height:1,mag:"linear",min:"linear"}),colorBuffer:x.buffer({usage:"dynamic",type:"uint8",data:new Uint8Array}),positionBuffer:x.buffer({usage:"dynamic",type:"float",data:new Uint8Array}),positionFractBuffer:x.buffer({usage:"dynamic",type:"float",data:new Uint8Array})},b=i({},w.defaults,b)),b.thickness!=null&&(I.thickness=parseFloat(b.thickness)),b.opacity!=null&&(I.opacity=parseFloat(b.opacity)),b.miterLimit!=null&&(I.miterLimit=parseFloat(b.miterLimit)),b.overlay!=null&&(I.overlay=!!b.overlay,R=re});(Z=Z.slice(0,ie)).push(re)}for(var oe=function(kt){var xt=j.slice(2*Q,2*Z[kt]).concat(re?j.slice(2*re):[]),Ft=(I.hole||[]).map(function(Bt){return Bt-re+(Z[kt]-Q)}),Ot=l(xt,Ft);Ot=Ot.map(function(Bt){return Bt+Q+(Bt+QT.length)&&(E=T.length);for(var _=0,A=new Array(E);_1&&k.opacity&&(y.regl._refresh(),k.fill&&k.triangles&&k.triangles.length>2&&y.shaders.fill(k),k.thickness&&(k.scale[0]*k.viewport.width>w.precisionThreshold||k.scale[1]*k.viewport.height>w.precisionThreshold||k.join==="rect"||!k.join&&(k.thickness<=2||k.count>=w.maxPoints)?y.shaders.rect(k):y.shaders.miter(k)))}),this},w.prototype.update=function(y){var S=this;if(y){y.length!=null?typeof y[0]=="number"&&(y=[{positions:y}]):Array.isArray(y)||(y=[y]);var _=this.regl,k=this.gl;if(y.forEach(function(b,R){var I=S.passes[R];if(b!==void 0)if(b!==null){if(typeof b[0]=="number"&&(b={positions:b}),b=v(b,{positions:"positions points data coords",thickness:"thickness lineWidth lineWidths line-width linewidth width stroke-width strokewidth strokeWidth",join:"lineJoin linejoin join type mode",miterLimit:"miterlimit miterLimit",dashes:"dash dashes dasharray dash-array dashArray",color:"color colour stroke colors colours stroke-color strokeColor",fill:"fill fill-color fillColor",opacity:"alpha opacity",overlay:"overlay crease overlap intersect",close:"closed close closed-path closePath",range:"range dataBox",viewport:"viewport viewBox",hole:"holes hole hollow",splitNull:"splitNull"}),I||(S.passes[R]=I={id:R,scale:null,scaleFract:null,translate:null,translateFract:null,count:0,hole:[],depth:0,dashLength:1,dashTexture:_.texture({channels:1,data:new Uint8Array([255]),width:1,height:1,mag:"linear",min:"linear"}),colorBuffer:_.buffer({usage:"dynamic",type:"uint8",data:new Uint8Array}),positionBuffer:_.buffer({usage:"dynamic",type:"float",data:new Uint8Array}),positionFractBuffer:_.buffer({usage:"dynamic",type:"float",data:new Uint8Array})},b=i({},w.defaults,b)),b.thickness!=null&&(I.thickness=parseFloat(b.thickness)),b.opacity!=null&&(I.opacity=parseFloat(b.opacity)),b.miterLimit!=null&&(I.miterLimit=parseFloat(b.miterLimit)),b.overlay!=null&&(I.overlay=!!b.overlay,R=re});(Z=Z.slice(0,ie)).push(re)}for(var oe=function(kt){var xt=j.slice(2*Q,2*Z[kt]).concat(re?j.slice(2*re):[]),Ft=(I.hole||[]).map(function(Bt){return Bt-re+(Z[kt]-Q)}),Ot=l(xt,Ft);Ot=Ot.map(function(Bt){return Bt+Q+(Bt+Qk.length)&&(E=k.length);for(var x=0,A=new Array(E);xPe)?pe.tree=l(me,{bounds:ae}):Pe&&Pe.length&&(pe.tree=Pe),pe.tree){var he={primitive:"points",usage:"static",data:pe.tree,type:"uint32"};pe.elements?pe.elements(he):pe.elements=R.elements(he)}var be=p.float32(me);return _e({data:be,usage:"dynamic"}),Me({data:p.fract32(me,be),usage:"dynamic"}),Se({data:new Uint8Array(Ce),type:"uint8",usage:"stream"}),me}},{marker:function(me,pe,xe){var Pe=pe.activation;if(Pe.forEach(function(be){return be&&be.destroy&&be.destroy()}),Pe.length=0,me&&typeof me[0]!="number"){for(var _e=[],Me=0,Se=Math.min(me.length,pe.count);Me=0)return b;if(T instanceof Uint8Array||T instanceof Uint8ClampedArray)E=T;else{E=new Uint8Array(T.length);for(var R=0,I=T.length;R4*A&&(this.tooManyColors=!0),this.updatePalette(_),L.length===1?L[0]:L},S.prototype.updatePalette=function(T){if(!this.tooManyColors){var E=this.maxColors,_=this.paletteTexture,A=Math.ceil(.25*T.length/E);if(A>1)for(var L=.25*(T=T.slice()).length%E;L2?(T[0],T[2],w=T[1],g=T[3]):T.length?(w=T[0],g=T[1]):(T.x,w=T.y,T.x,T.width,g=T.y+T.height),E.length>2?(S=E[0],x=E[2],E[1],E[3]):E.length?(S=E[0],x=E[1]):(S=E.x,E.y,x=E.x+E.width,E.y,E.height),[S,w,x,g]}function o(c){if(typeof c=="number")return[c,c,c,c];if(c.length===2)return[c[0],c[1],c[0],c[1]];var f=h(c);return[f.x,f.y,f.x+f.width,f.y+f.height]}k.exports=a,a.prototype.render=function(){for(var c,f=this,p=[],w=arguments.length;w--;)p[w]=arguments[w];return p.length&&(c=this).update.apply(c,p),this.regl.attributes.preserveDrawingBuffer?this.draw():(this.dirty?this.planned==null&&(this.planned=M(function(){f.draw(),f.dirty=!0,f.planned=null})):(this.draw(),this.dirty=!0,M(function(){f.dirty=!1})),this)},a.prototype.update=function(){for(var c,f=[],p=arguments.length;p--;)f[p]=arguments[p];if(f.length){for(var w=0;wF))&&(S.lower||!(z"u"?1:window.devicePixelRatio,It=!1,Lt={},yt=function(wt){},Pt=function(){};if(typeof Qe=="string"?nt=document.querySelector(Qe):typeof Qe=="object"&&(typeof Qe.nodeName=="string"&&typeof Qe.appendChild=="function"&&typeof Qe.getBoundingClientRect=="function"?nt=Qe:typeof Qe.drawArrays=="function"||typeof Qe.drawElements=="function"?Re=(Ne=Qe).canvas:("gl"in Qe?Ne=Qe.gl:"canvas"in Qe?Re=i(Qe.canvas):"container"in Qe&&(ht=i(Qe.container)),"attributes"in Qe&&(qe=Qe.attributes),"extensions"in Qe&&(ut=y(Qe.extensions)),"optionalExtensions"in Qe&&(dt=y(Qe.optionalExtensions)),"onDone"in Qe&&(yt=Qe.onDone),"profile"in Qe&&(It=!!Qe.profile),"pixelRatio"in Qe&&(_t=+Qe.pixelRatio),"cachedCode"in Qe&&(Lt=Qe.cachedCode))),nt&&(nt.nodeName.toLowerCase()==="canvas"?Re=nt:ht=nt),!Ne){if(!Re){if(!(nt=function(wt,Rt,Nt){function $t(){var Qt=window.innerWidth,rn=window.innerHeight;wt!==document.body&&(Qt=(rn=Xt.getBoundingClientRect()).right-rn.left,rn=rn.bottom-rn.top),Xt.width=Nt*Qt,Xt.height=Nt*rn}var Wt,Xt=document.createElement("canvas");return re(Xt.style,{border:0,margin:0,padding:0,top:0,left:0,width:"100%",height:"100%"}),wt.appendChild(Xt),wt===document.body&&(Xt.style.position="absolute",re(wt.style,{margin:0,padding:0})),wt!==document.body&&typeof ResizeObserver=="function"?(Wt=new ResizeObserver(function(){setTimeout($t)})).observe(wt):window.addEventListener("resize",$t,!1),$t(),{canvas:Xt,onDestroy:function(){Wt?Wt.disconnect():window.removeEventListener("resize",$t),wt.removeChild(Xt)}}}(ht||document.body,0,_t)))return null;Re=nt.canvas,Pt=nt.onDestroy}qe.premultipliedAlpha===void 0&&(qe.premultipliedAlpha=!0),Ne=function(wt,Rt){function Nt($t){try{return wt.getContext($t,Rt)}catch{return null}}return Nt("webgl")||Nt("experimental-webgl")||Nt("webgl-experimental")}(Re,qe)}return Ne?{gl:Ne,canvas:Re,container:ht,extensions:ut,optionalExtensions:dt,pixelRatio:_t,profile:It,cachedCode:Lt,onDone:yt,onDestroy:Pt}:(Pt(),yt("webgl not supported, try upgrading your browser or graphics drivers http://get.webgl.org"),null)}function v(qe,nt){for(var ht=Array(qe),Re=0;Re>>=nt))<<3,(nt|=ht=(15<(qe>>>=ht))<<2)|(ht=(3<(qe>>>=ht))<<1)|qe>>>ht>>1}function l(){function qe(Re){e:{for(var Ne=16;268435456>=Ne;Ne*=16)if(Re<=Ne){Re=Ne;break e}Re=0}return 0<(Ne=ht[h(Re)>>2]).length?Ne.pop():new ArrayBuffer(Re)}function nt(Re){ht[h(Re.byteLength)>>2].push(Re)}var ht=v(8,function(){return[]});return{alloc:qe,free:nt,allocType:function(Re,Ne){var Qe=null;switch(Re){case 5120:Qe=new Int8Array(qe(Ne),0,Ne);break;case 5121:Qe=new Uint8Array(qe(Ne),0,Ne);break;case 5122:Qe=new Int16Array(qe(2*Ne),0,Ne);break;case 5123:Qe=new Uint16Array(qe(2*Ne),0,Ne);break;case 5124:Qe=new Int32Array(qe(4*Ne),0,Ne);break;case 5125:Qe=new Uint32Array(qe(4*Ne),0,Ne);break;case 5126:Qe=new Float32Array(qe(4*Ne),0,Ne);break;default:return null}return Qe.length!==Ne?Qe.subarray(0,Ne):Qe},freeType:function(Re){nt(Re.buffer)}}}function a(qe){return!!qe&&typeof qe=="object"&&Array.isArray(qe.shape)&&Array.isArray(qe.stride)&&typeof qe.offset=="number"&&qe.shape.length===qe.stride.length&&(Array.isArray(qe.data)||me(qe.data))}function u(qe,nt,ht,Re,Ne,Qe){for(var ut=0;ut(Pt=Nt)&&(Pt=yt.buffer.byteLength,Xt===5123?Pt>>=1:Xt===5125&&(Pt>>=2)),yt.vertCount=Pt,Pt=Rt,0>Rt&&(Pt=4,(Rt=yt.buffer.dimension)===1&&(Pt=0),Rt===2&&(Pt=1),Rt===3&&(Pt=4)),yt.primType=Pt}function ut(yt){Re.elementsCount--,delete dt[yt.id],yt.buffer.destroy(),yt.buffer=null}var dt={},_t=0,It={uint8:5121,uint16:5123};nt.oes_element_index_uint&&(It.uint32=5125),Ne.prototype.bind=function(){this.buffer.bind()};var Lt=[];return{create:function(yt,Pt){function wt($t){if($t)if(typeof $t=="number")Rt($t),Nt.primType=4,Nt.vertCount=0|$t,Nt.type=5121;else{var Wt=null,Xt=35044,Qt=-1,rn=-1,xn=0,un=0;Array.isArray($t)||me($t)||a($t)?Wt=$t:("data"in $t&&(Wt=$t.data),"usage"in $t&&(Xt=Me[$t.usage]),"primitive"in $t&&(Qt=he[$t.primitive]),"count"in $t&&(rn=0|$t.count),"type"in $t&&(un=It[$t.type]),"length"in $t?xn=0|$t.length:(xn=rn,un===5123||un===5122?xn*=2:un!==5125&&un!==5124||(xn*=4))),Qe(Nt,Wt,Xt,Qt,rn,xn,un)}else Rt(),Nt.primType=4,Nt.vertCount=0,Nt.type=5121;return wt}var Rt=ht.create(null,34963,!0),Nt=new Ne(Rt._buffer);return Re.elementsCount++,wt(yt),wt._reglType="elements",wt._elements=Nt,wt.subdata=function($t,Wt){return Rt.subdata($t,Wt),wt},wt.destroy=function(){ut(Nt)},wt},createStream:function(yt){var Pt=Lt.pop();return Pt||(Pt=new Ne(ht.create(null,34963,!0,!1)._buffer)),Qe(Pt,yt,35040,-1,-1,0,0),Pt},destroyStream:function(yt){Lt.push(yt)},getElements:function(yt){return typeof yt=="function"&&yt._elements instanceof Ne?yt._elements:null},clear:function(){pe(dt).forEach(ut)}}}function g(qe){for(var nt=ye.allocType(5123,qe.length),ht=0;ht>>31<<15,Ne=(Qe<<1>>>24)-127,Qe=Qe>>13&1023;nt[ht]=-24>Ne?Re:-14>Ne?Re+(Qe+1024>>-14-Ne):15>=fn,jt.height>>=fn,Pt(jt,Jt[fn]),nn.mipmask|=1<Pn;++Pn)nn.images[Pn]=null;return nn}function xn(nn){for(var Pn=nn.images,jt=0;jtnn){for(var Pn=0;Pn=--this.refCount&&dn(this)}}),ut.profile&&(Qe.getTotalTextureSize=function(){var nn=0;return Object.keys(Yn).forEach(function(Pn){nn+=Yn[Pn].stats.size}),nn}),{create2D:function(nn,Pn){function jt(fn,zn){var On=Jt.texInfo;un.call(On);var En=rn();return typeof fn=="number"?Wt(En,0|fn,typeof zn=="number"?0|zn:0|fn):fn?(An(On,fn),Xt(En,fn)):Wt(En,1,1),On.genMipmaps&&(En.mipmask=(En.width<<1)-1),Jt.mipmask=En.mipmask,_t(Jt,En),Jt.internalformat=En.internalformat,jt.width=En.width,jt.height=En.height,sn(Jt),Qt(En,3553),$n(On,3553),Tn(),xn(En),ut.profile&&(Jt.stats.size=b(Jt.internalformat,Jt.type,En.width,En.height,On.genMipmaps,!1)),jt.format=or[Jt.internalformat],jt.type=vr[Jt.type],jt.mag=_r[On.magFilter],jt.min=Kt[On.minFilter],jt.wrapS=bn[On.wrapS],jt.wrapT=bn[On.wrapT],jt}var Jt=new kn(3553);return Yn[Jt.id]=Jt,Qe.textureCount++,jt(nn,Pn),jt.subimage=function(fn,zn,On,En){zn|=0,On|=0,En|=0;var mn=Rt();return _t(mn,Jt),mn.width=0,mn.height=0,Pt(mn,fn),mn.width=mn.width||(Jt.width>>En)-zn,mn.height=mn.height||(Jt.height>>En)-On,sn(Jt),wt(mn,3553,zn,On,En),Tn(),Nt(mn),jt},jt.resize=function(fn,zn){var On=0|fn,En=0|zn||On;if(On===Jt.width&&En===Jt.height)return jt;jt.width=Jt.width=On,jt.height=Jt.height=En,sn(Jt);for(var mn=0;Jt.mipmask>>mn;++mn){var wn=On>>mn,gn=En>>mn;if(!wn||!gn)break;qe.texImage2D(3553,mn,Jt.format,wn,gn,0,Jt.format,Jt.type,null)}return Tn(),ut.profile&&(Jt.stats.size=b(Jt.internalformat,Jt.type,On,En,!1,!1)),jt},jt._reglType="texture2d",jt._texture=Jt,ut.profile&&(jt.stats=Jt.stats),jt.destroy=function(){Jt.decRef()},jt},createCube:function(nn,Pn,jt,Jt,fn,zn){function On(wn,gn,yn,Sn,Vn,Xn){var nr,Qn=En.texInfo;for(un.call(Qn),nr=0;6>nr;++nr)mn[nr]=rn();if(typeof wn!="number"&&wn){if(typeof wn=="object")if(gn)Xt(mn[0],wn),Xt(mn[1],gn),Xt(mn[2],yn),Xt(mn[3],Sn),Xt(mn[4],Vn),Xt(mn[5],Xn);else if(An(Qn,wn),It(En,wn),"faces"in wn)for(wn=wn.faces,nr=0;6>nr;++nr)_t(mn[nr],En),Xt(mn[nr],wn[nr]);else for(nr=0;6>nr;++nr)Xt(mn[nr],wn)}else for(wn=0|wn||1,nr=0;6>nr;++nr)Wt(mn[nr],wn,wn);for(_t(En,mn[0]),En.mipmask=Qn.genMipmaps?(mn[0].width<<1)-1:mn[0].mipmask,En.internalformat=mn[0].internalformat,On.width=mn[0].width,On.height=mn[0].height,sn(En),nr=0;6>nr;++nr)Qt(mn[nr],34069+nr);for($n(Qn,34067),Tn(),ut.profile&&(En.stats.size=b(En.internalformat,En.type,On.width,On.height,Qn.genMipmaps,!0)),On.format=or[En.internalformat],On.type=vr[En.type],On.mag=_r[Qn.magFilter],On.min=Kt[Qn.minFilter],On.wrapS=bn[Qn.wrapS],On.wrapT=bn[Qn.wrapT],nr=0;6>nr;++nr)xn(mn[nr]);return On}var En=new kn(34067);Yn[En.id]=En,Qe.cubeCount++;var mn=Array(6);return On(nn,Pn,jt,Jt,fn,zn),On.subimage=function(wn,gn,yn,Sn,Vn){yn|=0,Sn|=0,Vn|=0;var Xn=Rt();return _t(Xn,En),Xn.width=0,Xn.height=0,Pt(Xn,gn),Xn.width=Xn.width||(En.width>>Vn)-yn,Xn.height=Xn.height||(En.height>>Vn)-Sn,sn(En),wt(Xn,34069+wn,yn,Sn,Vn),Tn(),Nt(Xn),On},On.resize=function(wn){if((wn|=0)!==En.width){On.width=En.width=wn,On.height=En.height=wn,sn(En);for(var gn=0;6>gn;++gn)for(var yn=0;En.mipmask>>yn;++yn)qe.texImage2D(34069+gn,yn,En.format,wn>>yn,wn>>yn,0,En.format,En.type,null);return Tn(),ut.profile&&(En.stats.size=b(En.internalformat,En.type,On.width,On.height,!1,!0)),On}},On._reglType="textureCube",On._texture=En,ut.profile&&(On.stats=En.stats),On.destroy=function(){En.decRef()},On},clear:function(){for(var nn=0;nnJt;++Jt)if(jt.mipmask&1<>Jt,jt.height>>Jt,0,jt.internalformat,jt.type,null);else for(var fn=0;6>fn;++fn)qe.texImage2D(34069+fn,Jt,jt.internalformat,jt.width>>Jt,jt.height>>Jt,0,jt.internalformat,jt.type,null);$n(jt.texInfo,jt.target)})},refresh:function(){for(var nn=0;nnpn;++pn){for(qn=0;qndn;++dn)Tn[dn].resize(pn);return sn.width=sn.height=pn,sn},_reglType:"framebufferCube",destroy:function(){Tn.forEach(function(dn){dn.destroy()})}})},clear:function(){pe($n).forEach($t)},restore:function(){Qt.cur=null,Qt.next=null,Qt.dirty=!0,pe($n).forEach(function(kn){kn.framebuffer=qe.createFramebuffer(),Wt(kn)})}})}function O(){this.w=this.z=this.y=this.x=this.state=0,this.buffer=null,this.size=0,this.normalized=!1,this.type=5126,this.divisor=this.stride=this.offset=0}function z(qe,nt,ht,Re,Ne,Qe,ut){function dt(){this.id=++Lt,this.attributes=[],this.elements=null,this.ownsElements=!1,this.offset=this.count=0,this.instances=-1,this.primitive=4;var wt=nt.oes_vertex_array_object;this.vao=wt?wt.createVertexArrayOES():null,yt[this.id]=this,this.buffers=[]}var _t=ht.maxAttributes,It=Array(_t);for(ht=0;ht<_t;++ht)It[ht]=new O;var Lt=0,yt={},Pt={Record:O,scope:{},state:It,currentVAO:null,targetVAO:null,restore:nt.oes_vertex_array_object?function(){nt.oes_vertex_array_object&&pe(yt).forEach(function(wt){wt.refresh()})}:function(){},createVAO:function(wt){function Rt($t){var Wt;Array.isArray($t)?(Wt=$t,Nt.elements&&Nt.ownsElements&&Nt.elements.destroy(),Nt.elements=null,Nt.ownsElements=!1,Nt.offset=0,Nt.count=0,Nt.instances=-1,Nt.primitive=4):($t.elements?(Wt=$t.elements,Nt.ownsElements?(typeof Wt=="function"&&Wt._reglType==="elements"?Nt.elements.destroy():Nt.elements(Wt),Nt.ownsElements=!1):Qe.getElements($t.elements)?(Nt.elements=$t.elements,Nt.ownsElements=!1):(Nt.elements=Qe.create($t.elements),Nt.ownsElements=!0)):(Nt.elements=null,Nt.ownsElements=!1),Wt=$t.attributes,Nt.offset=0,Nt.count=-1,Nt.instances=-1,Nt.primitive=4,Nt.elements&&(Nt.count=Nt.elements._elements.vertCount,Nt.primitive=Nt.elements._elements.primType),"offset"in $t&&(Nt.offset=0|$t.offset),"count"in $t&&(Nt.count=0|$t.count),"instances"in $t&&(Nt.instances=0|$t.instances),"primitive"in $t&&(Nt.primitive=he[$t.primitive])),$t={};var Xt=Nt.attributes;Xt.length=Wt.length;for(var Qt=0;Qt=An.byteLength?rn.subdata(An):(rn.destroy(),Nt.buffers[Qt]=null)),Nt.buffers[Qt]||(rn=Nt.buffers[Qt]=Ne.create(xn,34962,!1,!0)),un.buffer=Ne.getBuffer(rn),un.size=0|un.buffer.dimension,un.normalized=!1,un.type=un.buffer.dtype,un.offset=0,un.stride=0,un.divisor=0,un.state=1,$t[Qt]=1):Ne.getBuffer(xn)?(un.buffer=Ne.getBuffer(xn),un.size=0|un.buffer.dimension,un.normalized=!1,un.type=un.buffer.dtype,un.offset=0,un.stride=0,un.divisor=0,un.state=1):Ne.getBuffer(xn.buffer)?(un.buffer=Ne.getBuffer(xn.buffer),un.size=0|(+xn.size||un.buffer.dimension),un.normalized=!!xn.normalized||!1,un.type="type"in xn?_e[xn.type]:un.buffer.dtype,un.offset=0|(xn.offset||0),un.stride=0|(xn.stride||0),un.divisor=0|(xn.divisor||0),un.state=1):"x"in xn&&(un.x=+xn.x||0,un.y=+xn.y||0,un.z=+xn.z||0,un.w=+xn.w||0,un.state=2)}for(rn=0;rnRt&&(Rt=Nt.stats.uniformsCount)}),Rt},ht.getMaxAttributesCount=function(){var Rt=0;return Pt.forEach(function(Nt){Nt.stats.attributesCount>Rt&&(Rt=Nt.stats.attributesCount)}),Rt}),{clear:function(){var Rt=qe.deleteShader.bind(qe);pe(It).forEach(Rt),It={},pe(Lt).forEach(Rt),Lt={},Pt.forEach(function(Nt){qe.deleteProgram(Nt.program)}),Pt.length=0,yt={},ht.shaderCount=0},program:function(Rt,Nt,$t,Wt){var Xt=yt[Nt];Xt||(Xt=yt[Nt]={});var Qt=Xt[Rt];if(Qt&&(Qt.refCount++,!Wt))return Qt;var rn=new dt(Nt,Rt);return ht.shaderCount++,_t(rn,$t,Wt),Qt||(Xt[Rt]=rn),Pt.push(rn),re(rn,{destroy:function(){if(rn.refCount--,0>=rn.refCount){qe.deleteProgram(rn.program);var xn=Pt.indexOf(rn);Pt.splice(xn,1),ht.shaderCount--}0>=Xt[rn.vertId].refCount&&(qe.deleteShader(Lt[rn.vertId]),delete Lt[rn.vertId],delete yt[rn.fragId][rn.vertId]),Object.keys(yt[rn.fragId]).length||(qe.deleteShader(It[rn.fragId]),delete It[rn.fragId],delete yt[rn.fragId])}})},restore:function(){It={},Lt={};for(var Rt=0;Rt>>nt|qe<<32-nt}function W(qe,nt){var ht=(65535&qe)+(65535&nt);return(qe>>16)+(nt>>16)+(ht>>16)<<16|65535&ht}function j(qe){return Array.prototype.slice.call(qe)}function Y(qe){return j(qe).join("")}function U(qe){function nt(){var Lt=[],yt=[];return re(function(){Lt.push.apply(Lt,j(arguments))},{def:function(){var Pt="v"+Ne++;return yt.push(Pt),0Pe)?pe.tree=l(me,{bounds:ae}):Pe&&Pe.length&&(pe.tree=Pe),pe.tree){var fe={primitive:"points",usage:"static",data:pe.tree,type:"uint32"};pe.elements?pe.elements(fe):pe.elements=R.elements(fe)}var be=m.float32(me);return _e({data:be,usage:"dynamic"}),Me({data:m.fract32(me,be),usage:"dynamic"}),Se({data:new Uint8Array(Ce),type:"uint8",usage:"stream"}),me}},{marker:function(me,pe,xe){var Pe=pe.activation;if(Pe.forEach(function(be){return be&&be.destroy&&be.destroy()}),Pe.length=0,me&&typeof me[0]!="number"){for(var _e=[],Me=0,Se=Math.min(me.length,pe.count);Me=0)return b;if(k instanceof Uint8Array||k instanceof Uint8ClampedArray)E=k;else{E=new Uint8Array(k.length);for(var R=0,I=k.length;R4*A&&(this.tooManyColors=!0),this.updatePalette(x),L.length===1?L[0]:L},S.prototype.updatePalette=function(k){if(!this.tooManyColors){var E=this.maxColors,x=this.paletteTexture,A=Math.ceil(.25*k.length/E);if(A>1)for(var L=.25*(k=k.slice()).length%E;L2?(k[0],k[2],w=k[1],y=k[3]):k.length?(w=k[0],y=k[1]):(k.x,w=k.y,k.x,k.width,y=k.y+k.height),E.length>2?(S=E[0],_=E[2],E[1],E[3]):E.length?(S=E[0],_=E[1]):(S=E.x,E.y,_=E.x+E.width,E.y,E.height),[S,w,_,y]}function s(c){if(typeof c=="number")return[c,c,c,c];if(c.length===2)return[c[0],c[1],c[0],c[1]];var h=f(c);return[h.x,h.y,h.x+h.width,h.y+h.height]}T.exports=a,a.prototype.render=function(){for(var c,h=this,m=[],w=arguments.length;w--;)m[w]=arguments[w];return m.length&&(c=this).update.apply(c,m),this.regl.attributes.preserveDrawingBuffer?this.draw():(this.dirty?this.planned==null&&(this.planned=M(function(){h.draw(),h.dirty=!0,h.planned=null})):(this.draw(),this.dirty=!0,M(function(){h.dirty=!1})),this)},a.prototype.update=function(){for(var c,h=[],m=arguments.length;m--;)h[m]=arguments[m];if(h.length){for(var w=0;wF))&&(S.lower||!(z"u"?1:window.devicePixelRatio,It=!1,Lt={},yt=function(wt){},Pt=function(){};if(typeof Qe=="string"?nt=document.querySelector(Qe):typeof Qe=="object"&&(typeof Qe.nodeName=="string"&&typeof Qe.appendChild=="function"&&typeof Qe.getBoundingClientRect=="function"?nt=Qe:typeof Qe.drawArrays=="function"||typeof Qe.drawElements=="function"?Re=(Ne=Qe).canvas:("gl"in Qe?Ne=Qe.gl:"canvas"in Qe?Re=i(Qe.canvas):"container"in Qe&&(ft=i(Qe.container)),"attributes"in Qe&&(qe=Qe.attributes),"extensions"in Qe&&(ut=g(Qe.extensions)),"optionalExtensions"in Qe&&(dt=g(Qe.optionalExtensions)),"onDone"in Qe&&(yt=Qe.onDone),"profile"in Qe&&(It=!!Qe.profile),"pixelRatio"in Qe&&(_t=+Qe.pixelRatio),"cachedCode"in Qe&&(Lt=Qe.cachedCode))),nt&&(nt.nodeName.toLowerCase()==="canvas"?Re=nt:ft=nt),!Ne){if(!Re){if(!(nt=function(wt,Rt,Nt){function Yt(){var Qt=window.innerWidth,rn=window.innerHeight;wt!==document.body&&(Qt=(rn=Xt.getBoundingClientRect()).right-rn.left,rn=rn.bottom-rn.top),Xt.width=Nt*Qt,Xt.height=Nt*rn}var Wt,Xt=document.createElement("canvas");return re(Xt.style,{border:0,margin:0,padding:0,top:0,left:0,width:"100%",height:"100%"}),wt.appendChild(Xt),wt===document.body&&(Xt.style.position="absolute",re(wt.style,{margin:0,padding:0})),wt!==document.body&&typeof ResizeObserver=="function"?(Wt=new ResizeObserver(function(){setTimeout(Yt)})).observe(wt):window.addEventListener("resize",Yt,!1),Yt(),{canvas:Xt,onDestroy:function(){Wt?Wt.disconnect():window.removeEventListener("resize",Yt),wt.removeChild(Xt)}}}(ft||document.body,0,_t)))return null;Re=nt.canvas,Pt=nt.onDestroy}qe.premultipliedAlpha===void 0&&(qe.premultipliedAlpha=!0),Ne=function(wt,Rt){function Nt(Yt){try{return wt.getContext(Yt,Rt)}catch{return null}}return Nt("webgl")||Nt("experimental-webgl")||Nt("webgl-experimental")}(Re,qe)}return Ne?{gl:Ne,canvas:Re,container:ft,extensions:ut,optionalExtensions:dt,pixelRatio:_t,profile:It,cachedCode:Lt,onDone:yt,onDestroy:Pt}:(Pt(),yt("webgl not supported, try upgrading your browser or graphics drivers http://get.webgl.org"),null)}function v(qe,nt){for(var ft=Array(qe),Re=0;Re>>=nt))<<3,(nt|=ft=(15<(qe>>>=ft))<<2)|(ft=(3<(qe>>>=ft))<<1)|qe>>>ft>>1}function l(){function qe(Re){e:{for(var Ne=16;268435456>=Ne;Ne*=16)if(Re<=Ne){Re=Ne;break e}Re=0}return 0<(Ne=ft[f(Re)>>2]).length?Ne.pop():new ArrayBuffer(Re)}function nt(Re){ft[f(Re.byteLength)>>2].push(Re)}var ft=v(8,function(){return[]});return{alloc:qe,free:nt,allocType:function(Re,Ne){var Qe=null;switch(Re){case 5120:Qe=new Int8Array(qe(Ne),0,Ne);break;case 5121:Qe=new Uint8Array(qe(Ne),0,Ne);break;case 5122:Qe=new Int16Array(qe(2*Ne),0,Ne);break;case 5123:Qe=new Uint16Array(qe(2*Ne),0,Ne);break;case 5124:Qe=new Int32Array(qe(4*Ne),0,Ne);break;case 5125:Qe=new Uint32Array(qe(4*Ne),0,Ne);break;case 5126:Qe=new Float32Array(qe(4*Ne),0,Ne);break;default:return null}return Qe.length!==Ne?Qe.subarray(0,Ne):Qe},freeType:function(Re){nt(Re.buffer)}}}function a(qe){return!!qe&&typeof qe=="object"&&Array.isArray(qe.shape)&&Array.isArray(qe.stride)&&typeof qe.offset=="number"&&qe.shape.length===qe.stride.length&&(Array.isArray(qe.data)||me(qe.data))}function u(qe,nt,ft,Re,Ne,Qe){for(var ut=0;ut(Pt=Nt)&&(Pt=yt.buffer.byteLength,Xt===5123?Pt>>=1:Xt===5125&&(Pt>>=2)),yt.vertCount=Pt,Pt=Rt,0>Rt&&(Pt=4,(Rt=yt.buffer.dimension)===1&&(Pt=0),Rt===2&&(Pt=1),Rt===3&&(Pt=4)),yt.primType=Pt}function ut(yt){Re.elementsCount--,delete dt[yt.id],yt.buffer.destroy(),yt.buffer=null}var dt={},_t=0,It={uint8:5121,uint16:5123};nt.oes_element_index_uint&&(It.uint32=5125),Ne.prototype.bind=function(){this.buffer.bind()};var Lt=[];return{create:function(yt,Pt){function wt(Yt){if(Yt)if(typeof Yt=="number")Rt(Yt),Nt.primType=4,Nt.vertCount=0|Yt,Nt.type=5121;else{var Wt=null,Xt=35044,Qt=-1,rn=-1,xn=0,un=0;Array.isArray(Yt)||me(Yt)||a(Yt)?Wt=Yt:("data"in Yt&&(Wt=Yt.data),"usage"in Yt&&(Xt=Me[Yt.usage]),"primitive"in Yt&&(Qt=fe[Yt.primitive]),"count"in Yt&&(rn=0|Yt.count),"type"in Yt&&(un=It[Yt.type]),"length"in Yt?xn=0|Yt.length:(xn=rn,un===5123||un===5122?xn*=2:un!==5125&&un!==5124||(xn*=4))),Qe(Nt,Wt,Xt,Qt,rn,xn,un)}else Rt(),Nt.primType=4,Nt.vertCount=0,Nt.type=5121;return wt}var Rt=ft.create(null,34963,!0),Nt=new Ne(Rt._buffer);return Re.elementsCount++,wt(yt),wt._reglType="elements",wt._elements=Nt,wt.subdata=function(Yt,Wt){return Rt.subdata(Yt,Wt),wt},wt.destroy=function(){ut(Nt)},wt},createStream:function(yt){var Pt=Lt.pop();return Pt||(Pt=new Ne(ft.create(null,34963,!0,!1)._buffer)),Qe(Pt,yt,35040,-1,-1,0,0),Pt},destroyStream:function(yt){Lt.push(yt)},getElements:function(yt){return typeof yt=="function"&&yt._elements instanceof Ne?yt._elements:null},clear:function(){pe(dt).forEach(ut)}}}function y(qe){for(var nt=ye.allocType(5123,qe.length),ft=0;ft>>31<<15,Ne=(Qe<<1>>>24)-127,Qe=Qe>>13&1023;nt[ft]=-24>Ne?Re:-14>Ne?Re+(Qe+1024>>-14-Ne):15>=hn,jt.height>>=hn,Pt(jt,Jt[hn]),nn.mipmask|=1<Pn;++Pn)nn.images[Pn]=null;return nn}function xn(nn){for(var Pn=nn.images,jt=0;jtnn){for(var Pn=0;Pn=--this.refCount&&dn(this)}}),ut.profile&&(Qe.getTotalTextureSize=function(){var nn=0;return Object.keys($n).forEach(function(Pn){nn+=$n[Pn].stats.size}),nn}),{create2D:function(nn,Pn){function jt(hn,zn){var On=Jt.texInfo;un.call(On);var En=rn();return typeof hn=="number"?Wt(En,0|hn,typeof zn=="number"?0|zn:0|hn):hn?(An(On,hn),Xt(En,hn)):Wt(En,1,1),On.genMipmaps&&(En.mipmask=(En.width<<1)-1),Jt.mipmask=En.mipmask,_t(Jt,En),Jt.internalformat=En.internalformat,jt.width=En.width,jt.height=En.height,sn(Jt),Qt(En,3553),Yn(On,3553),Tn(),xn(En),ut.profile&&(Jt.stats.size=b(Jt.internalformat,Jt.type,En.width,En.height,On.genMipmaps,!1)),jt.format=or[Jt.internalformat],jt.type=vr[Jt.type],jt.mag=_r[On.magFilter],jt.min=Kt[On.minFilter],jt.wrapS=bn[On.wrapS],jt.wrapT=bn[On.wrapT],jt}var Jt=new kn(3553);return $n[Jt.id]=Jt,Qe.textureCount++,jt(nn,Pn),jt.subimage=function(hn,zn,On,En){zn|=0,On|=0,En|=0;var mn=Rt();return _t(mn,Jt),mn.width=0,mn.height=0,Pt(mn,hn),mn.width=mn.width||(Jt.width>>En)-zn,mn.height=mn.height||(Jt.height>>En)-On,sn(Jt),wt(mn,3553,zn,On,En),Tn(),Nt(mn),jt},jt.resize=function(hn,zn){var On=0|hn,En=0|zn||On;if(On===Jt.width&&En===Jt.height)return jt;jt.width=Jt.width=On,jt.height=Jt.height=En,sn(Jt);for(var mn=0;Jt.mipmask>>mn;++mn){var wn=On>>mn,gn=En>>mn;if(!wn||!gn)break;qe.texImage2D(3553,mn,Jt.format,wn,gn,0,Jt.format,Jt.type,null)}return Tn(),ut.profile&&(Jt.stats.size=b(Jt.internalformat,Jt.type,On,En,!1,!1)),jt},jt._reglType="texture2d",jt._texture=Jt,ut.profile&&(jt.stats=Jt.stats),jt.destroy=function(){Jt.decRef()},jt},createCube:function(nn,Pn,jt,Jt,hn,zn){function On(wn,gn,yn,Sn,Vn,Xn){var nr,Qn=En.texInfo;for(un.call(Qn),nr=0;6>nr;++nr)mn[nr]=rn();if(typeof wn!="number"&&wn){if(typeof wn=="object")if(gn)Xt(mn[0],wn),Xt(mn[1],gn),Xt(mn[2],yn),Xt(mn[3],Sn),Xt(mn[4],Vn),Xt(mn[5],Xn);else if(An(Qn,wn),It(En,wn),"faces"in wn)for(wn=wn.faces,nr=0;6>nr;++nr)_t(mn[nr],En),Xt(mn[nr],wn[nr]);else for(nr=0;6>nr;++nr)Xt(mn[nr],wn)}else for(wn=0|wn||1,nr=0;6>nr;++nr)Wt(mn[nr],wn,wn);for(_t(En,mn[0]),En.mipmask=Qn.genMipmaps?(mn[0].width<<1)-1:mn[0].mipmask,En.internalformat=mn[0].internalformat,On.width=mn[0].width,On.height=mn[0].height,sn(En),nr=0;6>nr;++nr)Qt(mn[nr],34069+nr);for(Yn(Qn,34067),Tn(),ut.profile&&(En.stats.size=b(En.internalformat,En.type,On.width,On.height,Qn.genMipmaps,!0)),On.format=or[En.internalformat],On.type=vr[En.type],On.mag=_r[Qn.magFilter],On.min=Kt[Qn.minFilter],On.wrapS=bn[Qn.wrapS],On.wrapT=bn[Qn.wrapT],nr=0;6>nr;++nr)xn(mn[nr]);return On}var En=new kn(34067);$n[En.id]=En,Qe.cubeCount++;var mn=Array(6);return On(nn,Pn,jt,Jt,hn,zn),On.subimage=function(wn,gn,yn,Sn,Vn){yn|=0,Sn|=0,Vn|=0;var Xn=Rt();return _t(Xn,En),Xn.width=0,Xn.height=0,Pt(Xn,gn),Xn.width=Xn.width||(En.width>>Vn)-yn,Xn.height=Xn.height||(En.height>>Vn)-Sn,sn(En),wt(Xn,34069+wn,yn,Sn,Vn),Tn(),Nt(Xn),On},On.resize=function(wn){if((wn|=0)!==En.width){On.width=En.width=wn,On.height=En.height=wn,sn(En);for(var gn=0;6>gn;++gn)for(var yn=0;En.mipmask>>yn;++yn)qe.texImage2D(34069+gn,yn,En.format,wn>>yn,wn>>yn,0,En.format,En.type,null);return Tn(),ut.profile&&(En.stats.size=b(En.internalformat,En.type,On.width,On.height,!1,!0)),On}},On._reglType="textureCube",On._texture=En,ut.profile&&(On.stats=En.stats),On.destroy=function(){En.decRef()},On},clear:function(){for(var nn=0;nnJt;++Jt)if(jt.mipmask&1<>Jt,jt.height>>Jt,0,jt.internalformat,jt.type,null);else for(var hn=0;6>hn;++hn)qe.texImage2D(34069+hn,Jt,jt.internalformat,jt.width>>Jt,jt.height>>Jt,0,jt.internalformat,jt.type,null);Yn(jt.texInfo,jt.target)})},refresh:function(){for(var nn=0;nnpn;++pn){for(qn=0;qndn;++dn)Tn[dn].resize(pn);return sn.width=sn.height=pn,sn},_reglType:"framebufferCube",destroy:function(){Tn.forEach(function(dn){dn.destroy()})}})},clear:function(){pe(Yn).forEach(Yt)},restore:function(){Qt.cur=null,Qt.next=null,Qt.dirty=!0,pe(Yn).forEach(function(kn){kn.framebuffer=qe.createFramebuffer(),Wt(kn)})}})}function O(){this.w=this.z=this.y=this.x=this.state=0,this.buffer=null,this.size=0,this.normalized=!1,this.type=5126,this.divisor=this.stride=this.offset=0}function z(qe,nt,ft,Re,Ne,Qe,ut){function dt(){this.id=++Lt,this.attributes=[],this.elements=null,this.ownsElements=!1,this.offset=this.count=0,this.instances=-1,this.primitive=4;var wt=nt.oes_vertex_array_object;this.vao=wt?wt.createVertexArrayOES():null,yt[this.id]=this,this.buffers=[]}var _t=ft.maxAttributes,It=Array(_t);for(ft=0;ft<_t;++ft)It[ft]=new O;var Lt=0,yt={},Pt={Record:O,scope:{},state:It,currentVAO:null,targetVAO:null,restore:nt.oes_vertex_array_object?function(){nt.oes_vertex_array_object&&pe(yt).forEach(function(wt){wt.refresh()})}:function(){},createVAO:function(wt){function Rt(Yt){var Wt;Array.isArray(Yt)?(Wt=Yt,Nt.elements&&Nt.ownsElements&&Nt.elements.destroy(),Nt.elements=null,Nt.ownsElements=!1,Nt.offset=0,Nt.count=0,Nt.instances=-1,Nt.primitive=4):(Yt.elements?(Wt=Yt.elements,Nt.ownsElements?(typeof Wt=="function"&&Wt._reglType==="elements"?Nt.elements.destroy():Nt.elements(Wt),Nt.ownsElements=!1):Qe.getElements(Yt.elements)?(Nt.elements=Yt.elements,Nt.ownsElements=!1):(Nt.elements=Qe.create(Yt.elements),Nt.ownsElements=!0)):(Nt.elements=null,Nt.ownsElements=!1),Wt=Yt.attributes,Nt.offset=0,Nt.count=-1,Nt.instances=-1,Nt.primitive=4,Nt.elements&&(Nt.count=Nt.elements._elements.vertCount,Nt.primitive=Nt.elements._elements.primType),"offset"in Yt&&(Nt.offset=0|Yt.offset),"count"in Yt&&(Nt.count=0|Yt.count),"instances"in Yt&&(Nt.instances=0|Yt.instances),"primitive"in Yt&&(Nt.primitive=fe[Yt.primitive])),Yt={};var Xt=Nt.attributes;Xt.length=Wt.length;for(var Qt=0;Qt=An.byteLength?rn.subdata(An):(rn.destroy(),Nt.buffers[Qt]=null)),Nt.buffers[Qt]||(rn=Nt.buffers[Qt]=Ne.create(xn,34962,!1,!0)),un.buffer=Ne.getBuffer(rn),un.size=0|un.buffer.dimension,un.normalized=!1,un.type=un.buffer.dtype,un.offset=0,un.stride=0,un.divisor=0,un.state=1,Yt[Qt]=1):Ne.getBuffer(xn)?(un.buffer=Ne.getBuffer(xn),un.size=0|un.buffer.dimension,un.normalized=!1,un.type=un.buffer.dtype,un.offset=0,un.stride=0,un.divisor=0,un.state=1):Ne.getBuffer(xn.buffer)?(un.buffer=Ne.getBuffer(xn.buffer),un.size=0|(+xn.size||un.buffer.dimension),un.normalized=!!xn.normalized||!1,un.type="type"in xn?_e[xn.type]:un.buffer.dtype,un.offset=0|(xn.offset||0),un.stride=0|(xn.stride||0),un.divisor=0|(xn.divisor||0),un.state=1):"x"in xn&&(un.x=+xn.x||0,un.y=+xn.y||0,un.z=+xn.z||0,un.w=+xn.w||0,un.state=2)}for(rn=0;rnRt&&(Rt=Nt.stats.uniformsCount)}),Rt},ft.getMaxAttributesCount=function(){var Rt=0;return Pt.forEach(function(Nt){Nt.stats.attributesCount>Rt&&(Rt=Nt.stats.attributesCount)}),Rt}),{clear:function(){var Rt=qe.deleteShader.bind(qe);pe(It).forEach(Rt),It={},pe(Lt).forEach(Rt),Lt={},Pt.forEach(function(Nt){qe.deleteProgram(Nt.program)}),Pt.length=0,yt={},ft.shaderCount=0},program:function(Rt,Nt,Yt,Wt){var Xt=yt[Nt];Xt||(Xt=yt[Nt]={});var Qt=Xt[Rt];if(Qt&&(Qt.refCount++,!Wt))return Qt;var rn=new dt(Nt,Rt);return ft.shaderCount++,_t(rn,Yt,Wt),Qt||(Xt[Rt]=rn),Pt.push(rn),re(rn,{destroy:function(){if(rn.refCount--,0>=rn.refCount){qe.deleteProgram(rn.program);var xn=Pt.indexOf(rn);Pt.splice(xn,1),ft.shaderCount--}0>=Xt[rn.vertId].refCount&&(qe.deleteShader(Lt[rn.vertId]),delete Lt[rn.vertId],delete yt[rn.fragId][rn.vertId]),Object.keys(yt[rn.fragId]).length||(qe.deleteShader(It[rn.fragId]),delete It[rn.fragId],delete yt[rn.fragId])}})},restore:function(){It={},Lt={};for(var Rt=0;Rt>>nt|qe<<32-nt}function W(qe,nt){var ft=(65535&qe)+(65535&nt);return(qe>>16)+(nt>>16)+(ft>>16)<<16|65535&ft}function j(qe){return Array.prototype.slice.call(qe)}function $(qe){return j(qe).join("")}function U(qe){function nt(){var Lt=[],yt=[];return re(function(){Lt.push.apply(Lt,j(arguments))},{def:function(){var Pt="v"+Ne++;return yt.push(Pt),0>>4&15)+"0123456789abcdef".charAt(15&Rt);return Nt}(function(wt){for(var Rt=Array(wt.length>>2),Nt=0;Nt>5]|=(255&wt.charCodeAt(Nt/8))<<24-Nt%32;var $t,Wt,Xt,Qt,rn,xn,un,An,$n,kn,sn,Tn=8*wt.length;for(wt=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],Nt=Array(64),Rt[Tn>>5]|=128<<24-Tn%32,Rt[15+(Tn+64>>9<<4)]=Tn,An=0;An$n;$n++){var dn;16>$n?Nt[$n]=Rt[$n+An]:(kn=$n,sn=W(sn=N(sn=Nt[$n-2],17)^N(sn,19)^sn>>>10,Nt[$n-7]),dn=N(dn=Nt[$n-15],7)^N(dn,18)^dn>>>3,Nt[kn]=W(W(sn,dn),Nt[$n-16])),kn=W(W(W(W(un,kn=N(kn=Qt,6)^N(kn,11)^N(kn,25)),Qt&rn^~Qt&xn),xt[$n]),Nt[$n]),sn=W(un=N(un=Tn,2)^N(un,13)^N(un,22),Tn&$t^Tn&Wt^$t&Wt),un=xn,xn=rn,rn=Qt,Qt=W(Xt,kn),Xt=Wt,Wt=$t,$t=Tn,Tn=W(kn,sn)}wt[0]=W(Tn,wt[0]),wt[1]=W($t,wt[1]),wt[2]=W(Wt,wt[2]),wt[3]=W(Xt,wt[3]),wt[4]=W(Qt,wt[4]),wt[5]=W(rn,wt[5]),wt[6]=W(xn,wt[6]),wt[7]=W(un,wt[7])}for(Rt="",Nt=0;Nt<32*wt.length;Nt+=8)Rt+=String.fromCharCode(wt[Nt>>5]>>>24-Nt%32&255);return Rt}(function(wt){for(var Rt,Nt,$t="",Wt=-1;++Wt=Rt&&56320<=Nt&&57343>=Nt&&(Rt=65536+((1023&Rt)<<10)+(1023&Nt),Wt++),127>=Rt?$t+=String.fromCharCode(Rt):2047>=Rt?$t+=String.fromCharCode(192|Rt>>>6&31,128|63&Rt):65535>=Rt?$t+=String.fromCharCode(224|Rt>>>12&15,128|Rt>>>6&63,128|63&Rt):2097151>=Rt&&($t+=String.fromCharCode(240|Rt>>>18&7,128|Rt>>>12&63,128|Rt>>>6&63,128|63&Rt));return $t}(Pt))),Re[yt])?Re[yt].apply(null,ut):(Pt=Function.apply(null,Qe.concat(Pt)),Re&&(Re[yt]=Pt),Pt.apply(null,ut))}}}function G(qe){return Array.isArray(qe)||me(qe)||a(qe)}function q(qe){return qe.sort(function(nt,ht){return nt==="viewport"?-1:ht==="viewport"?1:nt"+br+"?"+Sn+".constant["+br+"]:0;"}).join(""),"}}else{","if(",nr,"(",Sn,".buffer)){",cr,"=",Vn,".createStream(",34962,",",Sn,".buffer);","}else{",cr,"=",Vn,".getBuffer(",Sn,".buffer);","}",pr,'="type" in ',Sn,"?",Xn.glTypes,"[",Sn,".type]:",cr,".dtype;",Qn.normalized,"=!!",Sn,".normalized;"),yn("size"),yn("offset"),yn("stride"),yn("divisor"),gn("}}"),gn.exit("if(",Qn.isStream,"){",Vn,".destroyStream(",cr,");","}"),Qn})}),On}function $n(jt,Jt,fn,zn,On){function En(fr){var cr=wn[fr];cr&&(yn[fr]=cr)}var mn=function(fr,cr){if(typeof(pr=fr.static).frag=="string"&&typeof pr.vert=="string"){if(0"u"?"Date.now()":"performance.now()"}function mn(fr){fr(yn=Jt.def(),"=",En(),";"),typeof On=="string"?fr(Xn,".count+=",On,";"):fr(Xn,".count++;"),wt&&(zn?fr(Sn=Jt.def(),"=",Qn,".getNumPendingQueries();"):fr(Qn,".beginQuery(",Xn,");"))}function wn(fr){fr(Xn,".cpuTime+=",En(),"-",yn,";"),wt&&(zn?fr(Qn,".pushScopeStats(",Sn,",",Qn,".getNumPendingQueries(),",Xn,");"):fr(Qn,".endQuery();"))}function gn(fr){var cr=Jt.def(nr,".profile");Jt(nr,".profile=",fr,";"),Jt.exit(nr,".profile=",cr,";")}var yn,Sn,Vn=jt.shared,Xn=jt.stats,nr=Vn.current,Qn=Vn.timer;if(fn=fn.profile){if(ne(fn))return void(fn.enable?(mn(Jt),wn(Jt.exit),gn("true")):gn("false"));gn(fn=fn.append(jt,Jt))}else fn=Jt.def(nr,".profile");mn(Vn=jt.block()),Jt("if(",fn,"){",Vn,"}"),wn(jt=jt.block()),Jt.exit("if(",fn,"){",jt,"}")}function In(jt,Jt,fn,zn,On){function En(wn,gn,yn){function Sn(){Jt("if(!",Qn,".buffer){",Xn,".enableVertexAttribArray(",nr,");}");var dr,br=yn.type;dr=yn.size?Jt.def(yn.size,"||",gn):gn,Jt("if(",Qn,".type!==",br,"||",Qn,".size!==",dr,"||",pr.map(function(Rr){return Qn+"."+Rr+"!=="+yn[Rr]}).join("||"),"){",Xn,".bindBuffer(",34962,",",fr,".buffer);",Xn,".vertexAttribPointer(",[nr,dr,br,yn.normalized,yn.stride,yn.offset],");",Qn,".type=",br,";",Qn,".size=",dr,";",pr.map(function(Rr){return Qn+"."+Rr+"="+yn[Rr]+";"}).join(""),"}"),Kt&&(br=yn.divisor,Jt("if(",Qn,".divisor!==",br,"){",jt.instancing,".vertexAttribDivisorANGLE(",[nr,br],");",Qn,".divisor=",br,";}"))}function Vn(){Jt("if(",Qn,".buffer){",Xn,".disableVertexAttribArray(",nr,");",Qn,".buffer=null;","}if(",Ft.map(function(dr,br){return Qn+"."+dr+"!=="+cr[br]}).join("||"),"){",Xn,".vertexAttrib4f(",nr,",",cr,");",Ft.map(function(dr,br){return Qn+"."+dr+"="+cr[br]+";"}).join(""),"}")}var Xn=mn.gl,nr=Jt.def(wn,".location"),Qn=Jt.def(mn.attributes,"[",nr,"]");wn=yn.state;var fr=yn.buffer,cr=[yn.x,yn.y,yn.z,yn.w],pr=["buffer","normalized","offset","stride"];wn===1?Sn():wn===2?Vn():(Jt("if(",wn,"===",1,"){"),Sn(),Jt("}else{"),Vn(),Jt("}"))}var mn=jt.shared;zn.forEach(function(wn){var gn,yn=wn.name,Sn=fn.attributes[yn];if(Sn){if(!On(Sn))return;gn=Sn.append(jt,Jt)}else{if(!On(Je))return;var Vn=jt.scopeAttrib(yn);gn={},Object.keys(new vr).forEach(function(Xn){gn[Xn]=Jt.def(Vn,".",Xn)})}En(jt.link(wn),function(Xn){switch(Xn){case 35664:case 35667:case 35671:return 2;case 35665:case 35668:case 35672:return 3;case 35666:case 35669:case 35673:return 4;default:return 1}}(wn.info.type),gn)})}function jn(jt,Jt,fn,zn,On,En){for(var mn,wn=jt.shared,gn=wn.gl,yn=0;yn>1)",wn],");")}function Rr(){fn(gn,".drawArraysInstancedANGLE(",[Qn,fr,cr,wn],");")}nr&&nr!=="null"?dr?br():(fn("if(",nr,"){"),br(),fn("}else{"),Rr(),fn("}")):Rr()}function mn(){function br(){fn(Sn+".drawElements("+[Qn,cr,pr,fr+"<<(("+pr+"-5121)>>1)"]+");")}function Rr(){fn(Sn+".drawArrays("+[Qn,fr,cr]+");")}nr&&nr!=="null"?dr?br():(fn("if(",nr,"){"),br(),fn("}else{"),Rr(),fn("}")):Rr()}var wn,gn,yn=jt.shared,Sn=yn.gl,Vn=yn.draw,Xn=zn.draw,nr=function(){var br=Xn.elements,Rr=Jt;return br?((br.contextDep&&zn.contextDynamic||br.propDep)&&(Rr=fn),br=br.append(jt,Rr),Xn.elementsActive&&Rr("if("+br+")"+Sn+".bindBuffer(34963,"+br+".buffer.buffer);")):(br=Rr.def(),Rr(br,"=",Vn,".","elements",";","if(",br,"){",Sn,".bindBuffer(",34963,",",br,".buffer.buffer);}","else if(",yn.vao,".currentVAO){",br,"=",jt.shared.elements+".getElements("+yn.vao,".currentVAO.elements);",Rn?"":"if("+br+")"+Sn+".bindBuffer(34963,"+br+".buffer.buffer);","}")),br}(),Qn=On("primitive"),fr=On("offset"),cr=function(){var br=Xn.count,Rr=Jt;return br?((br.contextDep&&zn.contextDynamic||br.propDep)&&(Rr=fn),br=br.append(jt,Rr)):br=Rr.def(Vn,".","count"),br}();if(typeof cr=="number"){if(cr===0)return}else fn("if(",cr,"){"),fn.exit("}");Kt&&(wn=On("instances"),gn=jt.instancing);var pr=nr+".type",dr=Xn.elements&&ne(Xn.elements)&&!Xn.vaoActive;Kt&&(typeof wn!="number"||0<=wn)?typeof wn=="string"?(fn("if(",wn,">0){"),En(),fn("}else if(",wn,"<0){"),mn(),fn("}")):En():mn()}function qn(jt,Jt,fn,zn,On){return On=(Jt=Qt()).proc("body",On),Kt&&(Jt.instancing=On.def(Jt.shared.extensions,".angle_instanced_arrays")),jt(Jt,On,fn,zn),Jt.compile().body}function lr(jt,Jt,fn,zn){pn(jt,Jt),fn.useVAO?fn.drawVAO?Jt(jt.shared.vao,".setVAO(",fn.drawVAO.append(jt,Jt),");"):Jt(jt.shared.vao,".setVAO(",jt.shared.vao,".targetVAO);"):(Jt(jt.shared.vao,".setVAO(null);"),In(jt,Jt,fn,zn.attributes,function(){return!0})),jn(jt,Jt,fn,zn.uniforms,function(){return!0},!1),Gn(jt,Jt,Jt,fn)}function rr(jt,Jt,fn,zn){function On(){return!0}jt.batchId="a1",pn(jt,Jt),In(jt,Jt,fn,zn.attributes,On),jn(jt,Jt,fn,zn.uniforms,On,!1),Gn(jt,Jt,Jt,fn)}function Sr(jt,Jt,fn,zn){function On(Vn){return Vn.contextDep&&mn||Vn.propDep}function En(Vn){return!On(Vn)}pn(jt,Jt);var mn=fn.contextDep,wn=Jt.def(),gn=Jt.def();jt.shared.props=gn,jt.batchId=wn;var yn=jt.scope(),Sn=jt.scope();Jt(yn.entry,"for(",wn,"=0;",wn,"<","a1",";++",wn,"){",gn,"=","a0","[",wn,"];",Sn,"}",yn.exit),fn.needsContext&&kn(jt,Sn,fn.context),fn.needsFramebuffer&&sn(jt,Sn,fn.framebuffer),dn(jt,Sn,fn.state,On),fn.profile&&On(fn.profile)&&Dn(jt,Sn,fn,!1,!0),zn?(fn.useVAO?fn.drawVAO?On(fn.drawVAO)?Sn(jt.shared.vao,".setVAO(",fn.drawVAO.append(jt,Sn),");"):yn(jt.shared.vao,".setVAO(",fn.drawVAO.append(jt,yn),");"):yn(jt.shared.vao,".setVAO(",jt.shared.vao,".targetVAO);"):(yn(jt.shared.vao,".setVAO(null);"),In(jt,yn,fn,zn.attributes,En),In(jt,Sn,fn,zn.attributes,On)),jn(jt,yn,fn,zn.uniforms,En,!1),jn(jt,Sn,fn,zn.uniforms,On,!0),Gn(jt,yn,Sn,fn)):(Jt=jt.global.def("{}"),zn=fn.shader.progVar.append(jt,Sn),gn=Sn.def(zn,".id"),yn=Sn.def(Jt,"[",gn,"]"),Sn(jt.shared.gl,".useProgram(",zn,".program);","if(!",yn,"){",yn,"=",Jt,"[",gn,"]=",jt.link(function(Vn){return qn(rr,jt,fn,Vn,2)}),"(",zn,");}",yn,".call(this,a0[",wn,"],",wn,");"))}function yr(jt,Jt){function fn(wn){var gn=Jt.shader[wn];gn&&(gn=gn.append(jt,zn),isNaN(gn)?zn.set(On.shader,"."+wn,gn):zn.set(On.shader,"."+wn,jt.link(gn,{stable:!0})))}var zn=jt.proc("scope",3);jt.batchId="a2";var On=jt.shared,En=On.current;if(kn(jt,zn,Jt.context),Jt.framebuffer&&Jt.framebuffer.append(jt,zn),q(Object.keys(Jt.state)).forEach(function(wn){var gn=Jt.state[wn],yn=gn.append(jt,zn);S(yn)?yn.forEach(function(Sn,Vn){isNaN(Sn)?zn.set(jt.next[wn],"["+Vn+"]",Sn):zn.set(jt.next[wn],"["+Vn+"]",jt.link(Sn,{stable:!0}))}):ne(gn)?zn.set(On.next,"."+wn,jt.link(yn,{stable:!0})):zn.set(On.next,"."+wn,yn)}),Dn(jt,zn,Jt,!0,!0),["elements","offset","count","instances","primitive"].forEach(function(wn){var gn=Jt.draw[wn];gn&&(gn=gn.append(jt,zn),isNaN(gn)?zn.set(On.draw,"."+wn,gn):zn.set(On.draw,"."+wn,jt.link(gn),{stable:!0}))}),Object.keys(Jt.uniforms).forEach(function(wn){var gn=Jt.uniforms[wn].append(jt,zn);Array.isArray(gn)&&(gn="["+gn.map(function(yn){return isNaN(yn)?yn:jt.link(yn,{stable:!0})})+"]"),zn.set(On.uniforms,"["+jt.link(nt.id(wn),{stable:!0})+"]",gn)}),Object.keys(Jt.attributes).forEach(function(wn){var gn=Jt.attributes[wn].append(jt,zn),yn=jt.scopeAttrib(wn);Object.keys(new vr).forEach(function(Sn){zn.set(yn,"."+Sn,gn[Sn])})}),Jt.scopeVAO){var mn=Jt.scopeVAO.append(jt,zn);isNaN(mn)?zn.set(On.vao,".targetVAO",mn):zn.set(On.vao,".targetVAO",jt.link(mn,{stable:!0}))}fn("vert"),fn("frag"),0=--this.refCount&&ut(this)},Ne.profile&&(Re.getTotalRenderbufferSize=function(){var yt=0;return Object.keys(Lt).forEach(function(Pt){yt+=Lt[Pt].stats.size}),yt}),{create:function(yt,Pt){function wt(Nt,$t){var Wt=0,Xt=0,Qt=32854;if(typeof Nt=="object"&&Nt?("shape"in Nt?(Wt=0|(Xt=Nt.shape)[0],Xt=0|Xt[1]):("radius"in Nt&&(Wt=Xt=0|Nt.radius),"width"in Nt&&(Wt=0|Nt.width),"height"in Nt&&(Xt=0|Nt.height)),"format"in Nt&&(Qt=dt[Nt.format])):typeof Nt=="number"?(Wt=0|Nt,Xt=typeof $t=="number"?0|$t:Wt):Nt||(Wt=Xt=1),Wt!==Rt.width||Xt!==Rt.height||Qt!==Rt.format)return wt.width=Rt.width=Wt,wt.height=Rt.height=Xt,Rt.format=Qt,qe.bindRenderbuffer(36161,Rt.renderbuffer),qe.renderbufferStorage(36161,Qt,Wt,Xt),Ne.profile&&(Rt.stats.size=ft[Rt.format]*Rt.width*Rt.height),wt.format=_t[Rt.format],wt}var Rt=new Qe(qe.createRenderbuffer());return Lt[Rt.id]=Rt,Re.renderbufferCount++,wt(yt,Pt),wt.resize=function(Nt,$t){var Wt=0|Nt,Xt=0|$t||Wt;return Wt===Rt.width&&Xt===Rt.height||(wt.width=Rt.width=Wt,wt.height=Rt.height=Xt,qe.bindRenderbuffer(36161,Rt.renderbuffer),qe.renderbufferStorage(36161,Rt.format,Wt,Xt),Ne.profile&&(Rt.stats.size=ft[Rt.format]*Rt.width*Rt.height)),wt},wt._reglType="renderbuffer",wt._renderbuffer=Rt,Ne.profile&&(wt.stats=Rt.stats),wt.destroy=function(){Rt.decRef()},wt},clear:function(){pe(Lt).forEach(ut)},restore:function(){pe(Lt).forEach(function(yt){yt.renderbuffer=qe.createRenderbuffer(),qe.bindRenderbuffer(36161,yt.renderbuffer),qe.renderbufferStorage(36161,yt.format,yt.width,yt.height)}),qe.bindRenderbuffer(36161,null)}}},Et=[];Et[6408]=4,Et[6407]=3;var kt=[];kt[5121]=1,kt[5126]=4,kt[36193]=2;var xt=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],Ft=["x","y","z","w"],Ot="blend.func blend.equation stencil.func stencil.opFront stencil.opBack sample.coverage viewport scissor.box polygonOffset.offset".split(" "),Bt={0:0,1:1,zero:0,one:1,"src color":768,"one minus src color":769,"src alpha":770,"one minus src alpha":771,"dst color":774,"one minus dst color":775,"dst alpha":772,"one minus dst alpha":773,"constant color":32769,"one minus constant color":32770,"constant alpha":32771,"one minus constant alpha":32772,"src alpha saturate":776},qt={never:512,less:513,"<":513,equal:514,"=":514,"==":514,"===":514,lequal:515,"<=":515,greater:516,">":516,notequal:517,"!=":517,"!==":517,gequal:518,">=":518,always:519},Vt={0:0,zero:0,keep:7680,replace:7681,increment:7682,decrement:7683,"increment wrap":34055,"decrement wrap":34056,invert:5386},Ke={cw:2304,ccw:2305},Je=new H(!1,!1,!1,function(){});return function(qe){function nt(){if(rr.length===0)rn&&rn.update(),vr=null;else{vr=ue.next(nt),Lt();for(var Kt=rr.length-1;0<=Kt;--Kt){var bn=rr[Kt];bn&&bn($n,null,0)}wt.flush(),rn&&rn.update()}}function ht(){!vr&&0=rr.length&&Re()}}}}function It(){var Kt=qn.viewport,bn=qn.scissor_box;Kt[0]=Kt[1]=bn[0]=bn[1]=0,$n.viewportWidth=$n.framebufferWidth=$n.drawingBufferWidth=Kt[2]=bn[2]=wt.drawingBufferWidth,$n.viewportHeight=$n.framebufferHeight=$n.drawingBufferHeight=Kt[3]=bn[3]=wt.drawingBufferHeight}function Lt(){$n.tick+=1,$n.time=Pt(),It(),Gn.procs.poll()}function yt(){Dn.refresh(),It(),Gn.procs.refresh(),rn&&rn.update()}function Pt(){return(ce()-xn)/1e3}if(!(qe=M(qe)))return null;var wt=qe.gl,Rt=wt.getContextAttributes();wt.isContextLost();var Nt=function(Kt,bn){function Rn(Yn){var tr;Yn=Yn.toLowerCase();try{tr=Ln[Yn]=Kt.getExtension(Yn)}catch{}return!!tr}for(var Ln={},Un=0;Unbn;++bn)_r(re({framebuffer:Kt.framebuffer.faces[bn]},Kt),dt);else _r(Kt,dt);else dt(0,Kt)},prop:oe.define.bind(null,1),context:oe.define.bind(null,2),this:oe.define.bind(null,3),draw:ut({}),buffer:function(Kt){return sn.create(Kt,34962,!1,!1)},elements:function(Kt){return Tn.create(Kt,!1)},texture:Dn.create2D,cube:Dn.createCube,renderbuffer:In.create,framebuffer:jn.create,framebufferCube:jn.createCube,vao:dn.createVAO,attributes:Rt,frame:_t,on:function(Kt,bn){var Rn;switch(Kt){case"frame":return _t(bn);case"lost":Rn=Sr;break;case"restore":Rn=yr;break;case"destroy":Rn=or}return Rn.push(bn),{cancel:function(){for(var Ln=0;Ln2?"one of ".concat(i," ").concat(y.slice(0,M-1).join(", "),", or ")+y[M-1]:M===2?"one of ".concat(i," ").concat(y[0]," or ").concat(y[1]):"of ".concat(i," ").concat(y[0])}return"of ".concat(i," ").concat(String(y))}t("ERR_INVALID_OPT_VALUE",function(y,i){return'The value "'+i+'" is invalid for option "'+y+'"'},TypeError),t("ERR_INVALID_ARG_TYPE",function(y,i,M){var v,h,l,a,u;if(typeof i=="string"&&(h="not ",i.substr(0,h.length)===h)?(v="must not be",i=i.replace(/^not /,"")):v="must be",function(o,c,f){return(f===void 0||f>o.length)&&(f=o.length),o.substring(f-c.length,f)===c}(y," argument"))l="The ".concat(y," ").concat(v," ").concat(d(i,"type"));else{var s=(typeof u!="number"&&(u=0),u+1>(a=y).length||a.indexOf(".",u)===-1?"argument":"property");l='The "'.concat(y,'" ').concat(s," ").concat(v," ").concat(d(i,"type"))}return l+". Received type ".concat(typeof M)},TypeError),t("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),t("ERR_METHOD_NOT_IMPLEMENTED",function(y){return"The "+y+" method is not implemented"}),t("ERR_STREAM_PREMATURE_CLOSE","Premature close"),t("ERR_STREAM_DESTROYED",function(y){return"Cannot call "+y+" after a stream was destroyed"}),t("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),t("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),t("ERR_STREAM_WRITE_AFTER_END","write after end"),t("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),t("ERR_UNKNOWN_ENCODING",function(y){return"Unknown encoding: "+y},TypeError),t("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),k.exports.q=m},37865:function(k,m,t){var d=t(90386),y=Object.keys||function(o){var c=[];for(var f in o)c.push(f);return c};k.exports=a;var i=t(40410),M=t(37493);t(42018)(a,i);for(var v=y(M.prototype),h=0;h0)if(typeof Z=="string"||oe.objectMode||Object.getPrototypeOf(Z)===h.prototype||(Z=function(ue){return h.from(ue)}(Z)),Q)oe.endEmitted?E(te,new T):R(te,oe,Z,!0);else if(oe.ended)E(te,new S);else{if(oe.destroyed)return!1;oe.reading=!1,oe.decoder&&!X?(Z=oe.decoder.write(Z),oe.objectMode||Z.length!==0?R(te,oe,Z,!1):B(te,oe)):R(te,oe,Z,!1)}else Q||(oe.reading=!1,B(te,oe));return!oe.ended&&(oe.lengthZ.highWaterMark&&(Z.highWaterMark=function(X){return X>=I?X=I:(X--,X|=X>>>1,X|=X>>>2,X|=X>>>4,X|=X>>>8,X|=X>>>16,X++),X}(te)),te<=Z.length?te:Z.ended?Z.length:(Z.needReadable=!0,0))}function z(te){var Z=te._readableState;i("emitReadable",Z.needReadable,Z.emittedReadable),Z.needReadable=!1,Z.emittedReadable||(i("emitReadable",Z.flowing),Z.emittedReadable=!0,y.nextTick(F,te))}function F(te){var Z=te._readableState;i("emitReadable_",Z.destroyed,Z.length,Z.ended),Z.destroyed||!Z.length&&!Z.ended||(te.emit("readable"),Z.emittedReadable=!1),Z.needReadable=!Z.flowing&&!Z.ended&&Z.length<=Z.highWaterMark,U(te)}function B(te,Z){Z.readingMore||(Z.readingMore=!0,y.nextTick(N,te,Z))}function N(te,Z){for(;!Z.reading&&!Z.ended&&(Z.length0,Z.resumeScheduled&&!Z.paused?Z.flowing=!0:te.listenerCount("data")>0&&te.resume()}function j(te){i("readable nexttick read 0"),te.read(0)}function Y(te,Z){i("resume",Z.reading),Z.reading||te.read(0),Z.resumeScheduled=!1,te.emit("resume"),U(te),Z.flowing&&!Z.reading&&te.read(0)}function U(te){var Z=te._readableState;for(i("flow",Z.flowing);Z.flowing&&te.read()!==null;);}function G(te,Z){return Z.length===0?null:(Z.objectMode?X=Z.buffer.shift():!te||te>=Z.length?(X=Z.decoder?Z.buffer.join(""):Z.buffer.length===1?Z.buffer.first():Z.buffer.concat(Z.length),Z.buffer.clear()):X=Z.buffer.consume(te,Z.decoder),X);var X}function q(te){var Z=te._readableState;i("endReadable",Z.endEmitted),Z.endEmitted||(Z.ended=!0,y.nextTick(H,Z,te))}function H(te,Z){if(i("endReadableNT",te.endEmitted,te.length),!te.endEmitted&&te.length===0&&(te.endEmitted=!0,Z.readable=!1,Z.emit("end"),te.autoDestroy)){var X=Z._writableState;(!X||X.autoDestroy&&X.finished)&&Z.destroy()}}function ne(te,Z){for(var X=0,Q=te.length;X=Z.highWaterMark:Z.length>0)||Z.ended))return i("read: emitReadable",Z.length,Z.ended),Z.length===0&&Z.ended?q(this):z(this),null;if((te=O(te,Z))===0&&Z.ended)return Z.length===0&&q(this),null;var Q,re=Z.needReadable;return i("need readable",re),(Z.length===0||Z.length-te0?G(te,Z):null)===null?(Z.needReadable=Z.length<=Z.highWaterMark,te=0):(Z.length-=te,Z.awaitDrain=0),Z.length===0&&(Z.ended||(Z.needReadable=!0),X!==te&&Z.ended&&q(this)),Q!==null&&this.emit("data",Q),Q},L.prototype._read=function(te){E(this,new x("_read()"))},L.prototype.pipe=function(te,Z){var X=this,Q=this._readableState;switch(Q.pipesCount){case 0:Q.pipes=te;break;case 1:Q.pipes=[Q.pipes,te];break;default:Q.pipes.push(te)}Q.pipesCount+=1,i("pipe count=%d opts=%j",Q.pipesCount,Z);var re=Z&&Z.end===!1||te===y.stdout||te===y.stderr?pe:ie;function ie(){i("onend"),te.end()}Q.endEmitted?y.nextTick(re):X.once("end",re),te.on("unpipe",function xe(Pe,_e){i("onunpipe"),Pe===X&&_e&&_e.hasUnpiped===!1&&(_e.hasUnpiped=!0,i("cleanup"),te.removeListener("close",de),te.removeListener("finish",me),te.removeListener("drain",oe),te.removeListener("error",ye),te.removeListener("unpipe",xe),X.removeListener("end",ie),X.removeListener("end",pe),X.removeListener("data",ce),ue=!0,!Q.awaitDrain||te._writableState&&!te._writableState.needDrain||oe())});var oe=function(xe){return function(){var Pe=xe._readableState;i("pipeOnDrain",Pe.awaitDrain),Pe.awaitDrain&&Pe.awaitDrain--,Pe.awaitDrain===0&&M(xe,"data")&&(Pe.flowing=!0,U(xe))}}(X);te.on("drain",oe);var ue=!1;function ce(xe){i("ondata");var Pe=te.write(xe);i("dest.write",Pe),Pe===!1&&((Q.pipesCount===1&&Q.pipes===te||Q.pipesCount>1&&ne(Q.pipes,te)!==-1)&&!ue&&(i("false write response, pause",Q.awaitDrain),Q.awaitDrain++),X.pause())}function ye(xe){i("onerror",xe),pe(),te.removeListener("error",ye),M(te,"error")===0&&E(te,xe)}function de(){te.removeListener("finish",me),pe()}function me(){i("onfinish"),te.removeListener("close",de),pe()}function pe(){i("unpipe"),X.unpipe(te)}return X.on("data",ce),function(xe,Pe,_e){if(typeof xe.prependListener=="function")return xe.prependListener(Pe,_e);xe._events&&xe._events.error?Array.isArray(xe._events.error)?xe._events.error.unshift(_e):xe._events.error=[_e,xe._events.error]:xe.on(Pe,_e)}(te,"error",ye),te.once("close",de),te.once("finish",me),te.emit("pipe",X),Q.flowing||(i("pipe resume"),X.resume()),te},L.prototype.unpipe=function(te){var Z=this._readableState,X={hasUnpiped:!1};if(Z.pipesCount===0)return this;if(Z.pipesCount===1)return te&&te!==Z.pipes||(te||(te=Z.pipes),Z.pipes=null,Z.pipesCount=0,Z.flowing=!1,te&&te.emit("unpipe",this,X)),this;if(!te){var Q=Z.pipes,re=Z.pipesCount;Z.pipes=null,Z.pipesCount=0,Z.flowing=!1;for(var ie=0;ie0,Q.flowing!==!1&&this.resume()):te==="readable"&&(Q.endEmitted||Q.readableListening||(Q.readableListening=Q.needReadable=!0,Q.flowing=!1,Q.emittedReadable=!1,i("on readable",Q.length,Q.reading),Q.length?z(this):Q.reading||y.nextTick(j,this))),X},L.prototype.addListener=L.prototype.on,L.prototype.removeListener=function(te,Z){var X=v.prototype.removeListener.call(this,te,Z);return te==="readable"&&y.nextTick(W,this),X},L.prototype.removeAllListeners=function(te){var Z=v.prototype.removeAllListeners.apply(this,arguments);return te!=="readable"&&te!==void 0||y.nextTick(W,this),Z},L.prototype.resume=function(){var te=this._readableState;return te.flowing||(i("resume"),te.flowing=!te.readableListening,function(Z,X){X.resumeScheduled||(X.resumeScheduled=!0,y.nextTick(Y,Z,X))}(this,te)),te.paused=!1,this},L.prototype.pause=function(){return i("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(i("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},L.prototype.wrap=function(te){var Z=this,X=this._readableState,Q=!1;for(var re in te.on("end",function(){if(i("wrapped end"),X.decoder&&!X.ended){var oe=X.decoder.end();oe&&oe.length&&Z.push(oe)}Z.push(null)}),te.on("data",function(oe){i("wrapped data"),X.decoder&&(oe=X.decoder.write(oe)),X.objectMode&&oe==null||(X.objectMode||oe&&oe.length)&&(Z.push(oe)||(Q=!0,te.pause()))}),te)this[re]===void 0&&typeof te[re]=="function"&&(this[re]=function(oe){return function(){return te[oe].apply(te,arguments)}}(re));for(var ie=0;ie<_.length;ie++)te.on(_[ie],this.emit.bind(this,_[ie]));return this._read=function(oe){i("wrapped _read",oe),Q&&(Q=!1,te.resume())},this},typeof Symbol=="function"&&(L.prototype[Symbol.asyncIterator]=function(){return s===void 0&&(s=t(68221)),s(this)}),Object.defineProperty(L.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(L.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(L.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(te){this._readableState&&(this._readableState.flowing=te)}}),L._fromList=G,Object.defineProperty(L.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),typeof Symbol=="function"&&(L.from=function(te,Z){return o===void 0&&(o=t(31748)),o(L,te,Z)})},74308:function(k,m,t){k.exports=a;var d=t(74322).q,y=d.ERR_METHOD_NOT_IMPLEMENTED,i=d.ERR_MULTIPLE_CALLBACK,M=d.ERR_TRANSFORM_ALREADY_TRANSFORMING,v=d.ERR_TRANSFORM_WITH_LENGTH_0,h=t(37865);function l(o,c){var f=this._transformState;f.transforming=!1;var p=f.writecb;if(p===null)return this.emit("error",new i);f.writechunk=null,f.writecb=null,c!=null&&this.push(c),p(o);var w=this._readableState;w.reading=!1,(w.needReadable||w.length-1))throw new T(B);return this._writableState.defaultEncoding=B,this},Object.defineProperty(L.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(L.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),L.prototype._write=function(B,N,W){W(new f("_write()"))},L.prototype._writev=null,L.prototype.end=function(B,N,W){var j=this._writableState;return typeof B=="function"?(W=B,B=null,N=null):typeof N=="function"&&(W=N,N=null),B!=null&&this.write(B,N),j.corked&&(j.corked=1,this.uncork()),j.ending||function(Y,U,G){U.ending=!0,F(Y,U),G&&(U.finished?y.nextTick(G):Y.once("finish",G)),U.ended=!0,Y.writable=!1}(this,j,W),this},Object.defineProperty(L.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(L.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function(B){this._writableState&&(this._writableState.destroyed=B)}}),L.prototype.destroy=u.destroy,L.prototype._undestroy=u.undestroy,L.prototype._destroy=function(B,N){N(B)}},68221:function(k,m,t){var d,y=t(90386);function i(S,x,T){return x in S?Object.defineProperty(S,x,{value:T,enumerable:!0,configurable:!0,writable:!0}):S[x]=T,S}var M=t(12726),v=Symbol("lastResolve"),h=Symbol("lastReject"),l=Symbol("error"),a=Symbol("ended"),u=Symbol("lastPromise"),s=Symbol("handlePromise"),o=Symbol("stream");function c(S,x){return{value:S,done:x}}function f(S){var x=S[v];if(x!==null){var T=S[o].read();T!==null&&(S[u]=null,S[v]=null,S[h]=null,x(c(T,!1)))}}function p(S){y.nextTick(f,S)}var w=Object.getPrototypeOf(function(){}),g=Object.setPrototypeOf((i(d={get stream(){return this[o]},next:function(){var S=this,x=this[l];if(x!==null)return Promise.reject(x);if(this[a])return Promise.resolve(c(void 0,!0));if(this[o].destroyed)return new Promise(function(A,L){y.nextTick(function(){S[l]?L(S[l]):A(c(void 0,!0))})});var T,E=this[u];if(E)T=new Promise(function(A,L){return function(b,R){A.then(function(){L[a]?b(c(void 0,!0)):L[s](b,R)},R)}}(E,this));else{var _=this[o].read();if(_!==null)return Promise.resolve(c(_,!1));T=new Promise(this[s])}return this[u]=T,T}},Symbol.asyncIterator,function(){return this}),i(d,"return",function(){var S=this;return new Promise(function(x,T){S[o].destroy(null,function(E){E?T(E):x(c(void 0,!0))})})}),d),w);k.exports=function(S){var x,T=Object.create(g,(i(x={},o,{value:S,writable:!0}),i(x,v,{value:null,writable:!0}),i(x,h,{value:null,writable:!0}),i(x,l,{value:null,writable:!0}),i(x,a,{value:S._readableState.endEmitted,writable:!0}),i(x,s,{value:function(E,_){var A=T[o].read();A?(T[u]=null,T[v]=null,T[h]=null,E(c(A,!1))):(T[v]=E,T[h]=_)},writable:!0}),x));return T[u]=null,M(S,function(E){if(E&&E.code!=="ERR_STREAM_PREMATURE_CLOSE"){var _=T[h];return _!==null&&(T[u]=null,T[v]=null,T[h]=null,_(E)),void(T[l]=E)}var A=T[v];A!==null&&(T[u]=null,T[v]=null,T[h]=null,A(c(void 0,!0))),T[a]=!0}),S.on("readable",p.bind(null,T)),T}},31125:function(k,m,t){function d(l,a){var u=Object.keys(l);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(l);a&&(s=s.filter(function(o){return Object.getOwnPropertyDescriptor(l,o).enumerable})),u.push.apply(u,s)}return u}function y(l,a,u){return a in l?Object.defineProperty(l,a,{value:u,enumerable:!0,configurable:!0,writable:!0}):l[a]=u,l}function i(l,a){for(var u=0;u0?this.tail.next=o:this.head=o,this.tail=o,++this.length}},{key:"unshift",value:function(s){var o={data:s,next:this.head};this.length===0&&(this.tail=o),this.head=o,++this.length}},{key:"shift",value:function(){if(this.length!==0){var s=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,s}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(s){if(this.length===0)return"";for(var o=this.head,c=""+o.data;o=o.next;)c+=s+o.data;return c}},{key:"concat",value:function(s){if(this.length===0)return M.alloc(0);for(var o,c,f,p=M.allocUnsafe(s>>>0),w=this.head,g=0;w;)o=w.data,c=p,f=g,M.prototype.copy.call(o,c,f),g+=w.data.length,w=w.next;return p}},{key:"consume",value:function(s,o){var c;return sp.length?p.length:s;if(w===p.length?f+=p:f+=p.slice(0,s),(s-=w)==0){w===p.length?(++c,o.next?this.head=o.next:this.head=this.tail=null):(this.head=o,o.data=p.slice(w));break}++c}return this.length-=c,f}},{key:"_getBuffer",value:function(s){var o=M.allocUnsafe(s),c=this.head,f=1;for(c.data.copy(o),s-=c.data.length;c=c.next;){var p=c.data,w=s>p.length?p.length:s;if(p.copy(o,o.length-s,0,w),(s-=w)==0){w===p.length?(++f,c.next?this.head=c.next:this.head=this.tail=null):(this.head=c,c.data=p.slice(w));break}++f}return this.length-=f,o}},{key:h,value:function(s,o){return v(this,function(c){for(var f=1;f0,function(T){f||(f=T),T&&w.forEach(l),x||(w.forEach(l),p(f))})});return o.reduce(a)}},56306:function(k,m,t){var d=t(74322).q.ERR_INVALID_OPT_VALUE;k.exports={getHighWaterMark:function(y,i,M,v){var h=function(l,a,u){return l.highWaterMark!=null?l.highWaterMark:a?l[u]:null}(i,v,M);if(h!=null){if(!isFinite(h)||Math.floor(h)!==h||h<0)throw new d(v?M:"highWaterMark",h);return Math.floor(h)}return y.objectMode?16:16384}}},71405:function(k,m,t){k.exports=t(15398).EventEmitter},68019:function(k,m,t){var d=t(71665).Buffer,y=d.isEncoding||function(c){switch((c=""+c)&&c.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i(c){var f;switch(this.encoding=function(p){var w=function(g){if(!g)return"utf8";for(var S;;)switch(g){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return g;default:if(S)return;g=(""+g).toLowerCase(),S=!0}}(p);if(typeof w!="string"&&(d.isEncoding===y||!y(p)))throw new Error("Unknown encoding: "+p);return w||p}(c),this.encoding){case"utf16le":this.text=h,this.end=l,f=4;break;case"utf8":this.fillLast=v,f=4;break;case"base64":this.text=a,this.end=u,f=3;break;default:return this.write=s,void(this.end=o)}this.lastNeed=0,this.lastTotal=0,this.lastChar=d.allocUnsafe(f)}function M(c){return c<=127?0:c>>5==6?2:c>>4==14?3:c>>3==30?4:c>>6==2?-1:-2}function v(c){var f=this.lastTotal-this.lastNeed,p=function(w,g,S){if((192&g[0])!=128)return w.lastNeed=0,"�";if(w.lastNeed>1&&g.length>1){if((192&g[1])!=128)return w.lastNeed=1,"�";if(w.lastNeed>2&&g.length>2&&(192&g[2])!=128)return w.lastNeed=2,"�"}}(this,c);return p!==void 0?p:this.lastNeed<=c.length?(c.copy(this.lastChar,f,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(c.copy(this.lastChar,f,0,c.length),void(this.lastNeed-=c.length))}function h(c,f){if((c.length-f)%2==0){var p=c.toString("utf16le",f);if(p){var w=p.charCodeAt(p.length-1);if(w>=55296&&w<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=c[c.length-2],this.lastChar[1]=c[c.length-1],p.slice(0,-1)}return p}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=c[c.length-1],c.toString("utf16le",f,c.length-1)}function l(c){var f=c&&c.length?this.write(c):"";if(this.lastNeed){var p=this.lastTotal-this.lastNeed;return f+this.lastChar.toString("utf16le",0,p)}return f}function a(c,f){var p=(c.length-f)%3;return p===0?c.toString("base64",f):(this.lastNeed=3-p,this.lastTotal=3,p===1?this.lastChar[0]=c[c.length-1]:(this.lastChar[0]=c[c.length-2],this.lastChar[1]=c[c.length-1]),c.toString("base64",f,c.length-p))}function u(c){var f=c&&c.length?this.write(c):"";return this.lastNeed?f+this.lastChar.toString("base64",0,3-this.lastNeed):f}function s(c){return c.toString(this.encoding)}function o(c){return c&&c.length?this.write(c):""}m.s=i,i.prototype.write=function(c){if(c.length===0)return"";var f,p;if(this.lastNeed){if((f=this.fillLast(c))===void 0)return"";p=this.lastNeed,this.lastNeed=0}else p=0;return p=0?(E>0&&(g.lastNeed=E-1),E):--T=0?(E>0&&(g.lastNeed=E-2),E):--T=0?(E>0&&(E===2?E=0:g.lastNeed=E-3),E):0}(this,c,f);if(!this.lastNeed)return c.toString("utf8",f);this.lastTotal=p;var w=c.length-(p-this.lastNeed);return c.copy(this.lastChar,0,w),c.toString("utf8",f,w)},i.prototype.fillLast=function(c){if(this.lastNeed<=c.length)return c.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);c.copy(this.lastChar,this.lastTotal-this.lastNeed,0,c.length),this.lastNeed-=c.length}},90715:function(k,m,t){var d=t(32791),y=t(41633)("stream-parser");function i(c){y("initializing parser stream"),c._parserBytesLeft=0,c._parserBuffers=[],c._parserBuffered=0,c._parserState=-1,c._parserCallback=null,typeof c.push=="function"&&(c._parserOutput=c.push.bind(c)),c._parserInit=!0}function M(c,f){d(!this._parserCallback,'there is already a "callback" set!'),d(isFinite(c)&&c>0,'can only buffer a finite number of bytes > 0, got "'+c+'"'),this._parserInit||i(this),y("buffering %o bytes",c),this._parserBytesLeft=c,this._parserCallback=f,this._parserState=0}function v(c,f){d(!this._parserCallback,'there is already a "callback" set!'),d(c>0,'can only skip > 0 bytes, got "'+c+'"'),this._parserInit||i(this),y("skipping %o bytes",c),this._parserBytesLeft=c,this._parserCallback=f,this._parserState=1}function h(c,f){d(!this._parserCallback,'There is already a "callback" set!'),d(c>0,'can only pass through > 0 bytes, got "'+c+'"'),this._parserInit||i(this),y("passing through %o bytes",c),this._parserBytesLeft=c,this._parserCallback=f,this._parserState=2}function l(c,f,p){this._parserInit||i(this),y("write(%o bytes)",c.length),typeof f=="function"&&(p=f),s(this,c,null,p)}function a(c,f,p){this._parserInit||i(this),y("transform(%o bytes)",c.length),typeof f!="function"&&(f=this._parserOutput),s(this,c,f,p)}function u(c,f,p,w){if(c._parserBytesLeft-=f.length,y("%o bytes left for stream piece",c._parserBytesLeft),c._parserState===0?(c._parserBuffers.push(f),c._parserBuffered+=f.length):c._parserState===2&&p(f),c._parserBytesLeft!==0)return w;var g=c._parserCallback;if(g&&c._parserState===0&&c._parserBuffers.length>1&&(f=Buffer.concat(c._parserBuffers,c._parserBuffered)),c._parserState!==0&&(f=null),c._parserCallback=null,c._parserBuffered=0,c._parserState=-1,c._parserBuffers.splice(0),g){var S=[];f&&S.push(f),p&&S.push(p);var x=g.length>S.length;x&&S.push(o(w));var T=g.apply(c,S);if(!x||w===T)return w}}k.exports=function(c){var f=c&&typeof c._transform=="function",p=c&&typeof c._write=="function";if(!f&&!p)throw new Error("must pass a Writable or Transform stream in");y("extending Parser into stream"),c._bytes=M,c._skipBytes=v,f&&(c._passthrough=h),f?c._transform=a:c._write=l};var s=o(function c(f,p,w,g){return f._parserBytesLeft<=0?g(new Error("got data but not currently parsing anything")):p.length<=f._parserBytesLeft?function(){return u(f,p,w,g)}:function(){var S=p.slice(0,f._parserBytesLeft);return u(f,S,w,function(x){return x?g(x):p.length>S.length?function(){return c(f,p.slice(S.length),w,g)}:void 0})}});function o(c){return function(){for(var f=c.apply(this,arguments);typeof f=="function";)f=f();return f}}},41633:function(k,m,t){var d=t(90386);function y(){var i;try{i=m.storage.debug}catch{}return!i&&d!==void 0&&"env"in d&&(i=d.env.DEBUG),i}(m=k.exports=t(74469)).log=function(){return typeof console=="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},m.formatArgs=function(i){var M=this.useColors;if(i[0]=(M?"%c":"")+this.namespace+(M?" %c":" ")+i[0]+(M?"%c ":" ")+"+"+m.humanize(this.diff),M){var v="color: "+this.color;i.splice(1,0,v,"color: inherit");var h=0,l=0;i[0].replace(/%[a-zA-Z%]/g,function(a){a!=="%%"&&(h++,a==="%c"&&(l=h))}),i.splice(l,0,v)}},m.save=function(i){try{i==null?m.storage.removeItem("debug"):m.storage.debug=i}catch{}},m.load=y,m.useColors=function(){return!(typeof window>"u"||!window.process||window.process.type!=="renderer")||typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},m.storage=typeof chrome<"u"&&chrome.storage!==void 0?chrome.storage.local:function(){try{return window.localStorage}catch{}}(),m.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],m.formatters.j=function(i){try{return JSON.stringify(i)}catch(M){return"[UnexpectedJSONParseError]: "+M.message}},m.enable(y())},74469:function(k,m,t){var d;function y(i){function M(){if(M.enabled){var v=M,h=+new Date,l=h-(d||h);v.diff=l,v.prev=d,v.curr=h,d=h;for(var a=new Array(arguments.length),u=0;u0)return function(a){if(!((a=String(a)).length>100)){var u=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(a);if(u){var s=parseFloat(u[1]);switch((u[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*s;case"days":case"day":case"d":return s*y;case"hours":case"hour":case"hrs":case"hr":case"h":return s*d;case"minutes":case"minute":case"mins":case"min":case"m":return s*t;case"seconds":case"second":case"secs":case"sec":case"s":return s*m;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}}}(M);if(l==="number"&&isNaN(M)===!1)return v.long?i(h=M,y,"day")||i(h,d,"hour")||i(h,t,"minute")||i(h,m,"second")||h+" ms":function(a){return a>=y?Math.round(a/y)+"d":a>=d?Math.round(a/d)+"h":a>=t?Math.round(a/t)+"m":a>=m?Math.round(a/m)+"s":a+"ms"}(M);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(M))}},99011:function(k,m,t){var d=t(88641);k.exports=function(y,i,M){if(y==null)throw Error("First argument should be a string");if(i==null)throw Error("Separator should be a string or a RegExp");M?(typeof M=="string"||Array.isArray(M))&&(M={ignore:M}):M={},M.escape==null&&(M.escape=!0),M.ignore==null?M.ignore=["[]","()","{}","<>",'""',"''","``","“”","«»"]:(typeof M.ignore=="string"&&(M.ignore=[M.ignore]),M.ignore=M.ignore.map(function(o){return o.length===1&&(o+=o),o}));var v=d.parse(y,{flat:!0,brackets:M.ignore}),h=v[0].split(i);if(M.escape){for(var l=[],a=0;a0;){w=S[S.length-1];var x=m[w];if(M[w]=0&&h[w].push(v[E])}M[w]=T}else{if(y[w]===d[w]){var _=[],A=[],L=0;for(T=g.length-1;T>=0;--T){var b=g[T];if(i[b]=!1,_.push(b),A.push(h[b]),L+=h[b].length,v[b]=s.length,b===w){g.length=T;break}}s.push(_);var R=new Array(L);for(T=0;T1&&(u=1),u<-1&&(u=-1),(v*a-h*l<0?-1:1)*Math.acos(u)};m.default=function(v){var h=v.px,l=v.py,a=v.cx,u=v.cy,s=v.rx,o=v.ry,c=v.xAxisRotation,f=c===void 0?0:c,p=v.largeArcFlag,w=p===void 0?0:p,g=v.sweepFlag,S=g===void 0?0:g,x=[];if(s===0||o===0)return[];var T=Math.sin(f*d/360),E=Math.cos(f*d/360),_=E*(h-a)/2+T*(l-u)/2,A=-T*(h-a)/2+E*(l-u)/2;if(_===0&&A===0)return[];s=Math.abs(s),o=Math.abs(o);var L=Math.pow(_,2)/Math.pow(s,2)+Math.pow(A,2)/Math.pow(o,2);L>1&&(s*=Math.sqrt(L),o*=Math.sqrt(L));var b=function(j,Y,U,G,q,H,ne,te,Z,X,Q,re){var ie=Math.pow(q,2),oe=Math.pow(H,2),ue=Math.pow(Q,2),ce=Math.pow(re,2),ye=ie*oe-ie*ce-oe*ue;ye<0&&(ye=0),ye/=ie*ce+oe*ue;var de=(ye=Math.sqrt(ye)*(ne===te?-1:1))*q/H*re,me=ye*-H/q*Q,pe=X*de-Z*me+(j+U)/2,xe=Z*de+X*me+(Y+G)/2,Pe=(Q-de)/q,_e=(re-me)/H,Me=(-Q-de)/q,Se=(-re-me)/H,Ce=M(1,0,Pe,_e),ae=M(Pe,_e,Me,Se);return te===0&&ae>0&&(ae-=d),te===1&&ae<0&&(ae+=d),[pe,xe,Ce,ae]}(h,l,a,u,s,o,w,S,T,E,_,A),R=function(j,Y){if(Array.isArray(j))return j;if(Symbol.iterator in Object(j))return function(U,G){var q=[],H=!0,ne=!1,te=void 0;try{for(var Z,X=U[Symbol.iterator]();!(H=(Z=X.next()).done)&&(q.push(Z.value),!G||q.length!==G);H=!0);}catch(Q){ne=!0,te=Q}finally{try{!H&&X.return&&X.return()}finally{if(ne)throw te}}return q}(j,Y);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(b,4),I=R[0],O=R[1],z=R[2],F=R[3],B=Math.abs(F)/(d/4);Math.abs(1-B)<1e-7&&(B=1);var N=Math.max(Math.ceil(B),1);F/=N;for(var W=0;Wl[2]&&(l[2]=s[o+0]),s[o+1]>l[3]&&(l[3]=s[o+1]);return l}},29988:function(k,m,t){k.exports=function(M){for(var v,h=[],l=0,a=0,u=0,s=0,o=null,c=null,f=0,p=0,w=0,g=M.length;w4?(l=S[S.length-4],a=S[S.length-3]):(l=f,a=p),h.push(S)}return h};var d=t(7095);function y(M,v,h,l){return["C",M,v,h,l,h,l]}function i(M,v,h,l,a,u){return["C",M/3+.6666666666666666*h,v/3+.6666666666666666*l,a/3+.6666666666666666*h,u/3+.6666666666666666*l,a,u]}},82019:function(k,m,t){var d,y=t(1750),i=t(95616),M=t(31457),v=t(89546),h=t(44781),l=document.createElement("canvas"),a=l.getContext("2d");k.exports=function(u,s){if(!v(u))throw Error("Argument should be valid svg path string");var o,c;s||(s={}),s.shape?(o=s.shape[0],c=s.shape[1]):(o=l.width=s.w||s.width||200,c=l.height=s.h||s.height||200);var f=Math.min(o,c),p=s.stroke||0,w=s.viewbox||s.viewBox||y(u),g=[o/(w[2]-w[0]),c/(w[3]-w[1])],S=Math.min(g[0]||0,g[1]||0)/2;if(a.fillStyle="black",a.fillRect(0,0,o,c),a.fillStyle="white",p&&(typeof p!="number"&&(p=1),a.strokeStyle=p>0?"white":"black",a.lineWidth=Math.abs(p)),a.translate(.5*o,.5*c),a.scale(S,S),function(){if(d!=null)return d;var E=document.createElement("canvas").getContext("2d");if(E.canvas.width=E.canvas.height=1,!window.Path2D)return d=!1;var _=new Path2D("M0,0h1v1h-1v-1Z");E.fillStyle="black",E.fill(_);var A=E.getImageData(0,0,1,1);return d=A&&A.data&&A.data[3]===255}()){var x=new Path2D(u);a.fill(x),p&&a.stroke(x)}else{var T=i(u);M(a,T),a.fill(),p&&a.stroke()}return a.setTransform(1,0,0,1,0,0),h(a,{cutoff:s.cutoff!=null?s.cutoff:.5,radius:s.radius!=null?s.radius:.5*f})}},84267:function(k,m,t){var d;(function(y){var i=/^\s+/,M=/\s+$/,v=0,h=y.round,l=y.min,a=y.max,u=y.random;function s(Q,re){if(re=re||{},(Q=Q||"")instanceof s)return Q;if(!(this instanceof s))return new s(Q,re);var ie=function(oe){var ue,ce,ye,de={r:0,g:0,b:0},me=1,pe=null,xe=null,Pe=null,_e=!1,Me=!1;return typeof oe=="string"&&(oe=function(Se){Se=Se.replace(i,"").replace(M,"").toLowerCase();var Ce,ae=!1;if(z[Se])Se=z[Se],ae=!0;else if(Se=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};return(Ce=Z.rgb.exec(Se))?{r:Ce[1],g:Ce[2],b:Ce[3]}:(Ce=Z.rgba.exec(Se))?{r:Ce[1],g:Ce[2],b:Ce[3],a:Ce[4]}:(Ce=Z.hsl.exec(Se))?{h:Ce[1],s:Ce[2],l:Ce[3]}:(Ce=Z.hsla.exec(Se))?{h:Ce[1],s:Ce[2],l:Ce[3],a:Ce[4]}:(Ce=Z.hsv.exec(Se))?{h:Ce[1],s:Ce[2],v:Ce[3]}:(Ce=Z.hsva.exec(Se))?{h:Ce[1],s:Ce[2],v:Ce[3],a:Ce[4]}:(Ce=Z.hex8.exec(Se))?{r:j(Ce[1]),g:j(Ce[2]),b:j(Ce[3]),a:q(Ce[4]),format:ae?"name":"hex8"}:(Ce=Z.hex6.exec(Se))?{r:j(Ce[1]),g:j(Ce[2]),b:j(Ce[3]),format:ae?"name":"hex"}:(Ce=Z.hex4.exec(Se))?{r:j(Ce[1]+""+Ce[1]),g:j(Ce[2]+""+Ce[2]),b:j(Ce[3]+""+Ce[3]),a:q(Ce[4]+""+Ce[4]),format:ae?"name":"hex8"}:!!(Ce=Z.hex3.exec(Se))&&{r:j(Ce[1]+""+Ce[1]),g:j(Ce[2]+""+Ce[2]),b:j(Ce[3]+""+Ce[3]),format:ae?"name":"hex"}}(oe)),typeof oe=="object"&&(X(oe.r)&&X(oe.g)&&X(oe.b)?(ue=oe.r,ce=oe.g,ye=oe.b,de={r:255*N(ue,255),g:255*N(ce,255),b:255*N(ye,255)},_e=!0,Me=String(oe.r).substr(-1)==="%"?"prgb":"rgb"):X(oe.h)&&X(oe.s)&&X(oe.v)?(pe=U(oe.s),xe=U(oe.v),de=function(Se,Ce,ae){Se=6*N(Se,360),Ce=N(Ce,100),ae=N(ae,100);var he=y.floor(Se),be=Se-he,ke=ae*(1-Ce),Le=ae*(1-be*Ce),Be=ae*(1-(1-be)*Ce),ze=he%6;return{r:255*[ae,Le,ke,ke,Be,ae][ze],g:255*[Be,ae,ae,Le,ke,ke][ze],b:255*[ke,ke,Be,ae,ae,Le][ze]}}(oe.h,pe,xe),_e=!0,Me="hsv"):X(oe.h)&&X(oe.s)&&X(oe.l)&&(pe=U(oe.s),Pe=U(oe.l),de=function(Se,Ce,ae){var he,be,ke;function Le(je,ge,we){return we<0&&(we+=1),we>1&&(we-=1),we<1/6?je+6*(ge-je)*we:we<.5?ge:we<2/3?je+(ge-je)*(2/3-we)*6:je}if(Se=N(Se,360),Ce=N(Ce,100),ae=N(ae,100),Ce===0)he=be=ke=ae;else{var Be=ae<.5?ae*(1+Ce):ae+Ce-ae*Ce,ze=2*ae-Be;he=Le(ze,Be,Se+1/3),be=Le(ze,Be,Se),ke=Le(ze,Be,Se-1/3)}return{r:255*he,g:255*be,b:255*ke}}(oe.h,pe,Pe),_e=!0,Me="hsl"),oe.hasOwnProperty("a")&&(me=oe.a)),me=B(me),{ok:_e,format:oe.format||Me,r:l(255,a(de.r,0)),g:l(255,a(de.g,0)),b:l(255,a(de.b,0)),a:me}}(Q);this._originalInput=Q,this._r=ie.r,this._g=ie.g,this._b=ie.b,this._a=ie.a,this._roundA=h(100*this._a)/100,this._format=re.format||ie.format,this._gradientType=re.gradientType,this._r<1&&(this._r=h(this._r)),this._g<1&&(this._g=h(this._g)),this._b<1&&(this._b=h(this._b)),this._ok=ie.ok,this._tc_id=v++}function o(Q,re,ie){Q=N(Q,255),re=N(re,255),ie=N(ie,255);var oe,ue,ce=a(Q,re,ie),ye=l(Q,re,ie),de=(ce+ye)/2;if(ce==ye)oe=ue=0;else{var me=ce-ye;switch(ue=de>.5?me/(2-ce-ye):me/(ce+ye),ce){case Q:oe=(re-ie)/me+(re>1)+720)%360;--re;)oe.h=(oe.h+ue)%360,ce.push(s(oe));return ce}function O(Q,re){re=re||6;for(var ie=s(Q).toHsv(),oe=ie.h,ue=ie.s,ce=ie.v,ye=[],de=1/re;re--;)ye.push(s({h:oe,s:ue,v:ce})),ce=(ce+de)%1;return ye}s.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var Q=this.toRgb();return(299*Q.r+587*Q.g+114*Q.b)/1e3},getLuminance:function(){var Q,re,ie,oe=this.toRgb();return Q=oe.r/255,re=oe.g/255,ie=oe.b/255,.2126*(Q<=.03928?Q/12.92:y.pow((Q+.055)/1.055,2.4))+.7152*(re<=.03928?re/12.92:y.pow((re+.055)/1.055,2.4))+.0722*(ie<=.03928?ie/12.92:y.pow((ie+.055)/1.055,2.4))},setAlpha:function(Q){return this._a=B(Q),this._roundA=h(100*this._a)/100,this},toHsv:function(){var Q=c(this._r,this._g,this._b);return{h:360*Q.h,s:Q.s,v:Q.v,a:this._a}},toHsvString:function(){var Q=c(this._r,this._g,this._b),re=h(360*Q.h),ie=h(100*Q.s),oe=h(100*Q.v);return this._a==1?"hsv("+re+", "+ie+"%, "+oe+"%)":"hsva("+re+", "+ie+"%, "+oe+"%, "+this._roundA+")"},toHsl:function(){var Q=o(this._r,this._g,this._b);return{h:360*Q.h,s:Q.s,l:Q.l,a:this._a}},toHslString:function(){var Q=o(this._r,this._g,this._b),re=h(360*Q.h),ie=h(100*Q.s),oe=h(100*Q.l);return this._a==1?"hsl("+re+", "+ie+"%, "+oe+"%)":"hsla("+re+", "+ie+"%, "+oe+"%, "+this._roundA+")"},toHex:function(Q){return f(this._r,this._g,this._b,Q)},toHexString:function(Q){return"#"+this.toHex(Q)},toHex8:function(Q){return function(re,ie,oe,ue,ce){var ye=[Y(h(re).toString(16)),Y(h(ie).toString(16)),Y(h(oe).toString(16)),Y(G(ue))];return ce&&ye[0].charAt(0)==ye[0].charAt(1)&&ye[1].charAt(0)==ye[1].charAt(1)&&ye[2].charAt(0)==ye[2].charAt(1)&&ye[3].charAt(0)==ye[3].charAt(1)?ye[0].charAt(0)+ye[1].charAt(0)+ye[2].charAt(0)+ye[3].charAt(0):ye.join("")}(this._r,this._g,this._b,this._a,Q)},toHex8String:function(Q){return"#"+this.toHex8(Q)},toRgb:function(){return{r:h(this._r),g:h(this._g),b:h(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+h(this._r)+", "+h(this._g)+", "+h(this._b)+")":"rgba("+h(this._r)+", "+h(this._g)+", "+h(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:h(100*N(this._r,255))+"%",g:h(100*N(this._g,255))+"%",b:h(100*N(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+h(100*N(this._r,255))+"%, "+h(100*N(this._g,255))+"%, "+h(100*N(this._b,255))+"%)":"rgba("+h(100*N(this._r,255))+"%, "+h(100*N(this._g,255))+"%, "+h(100*N(this._b,255))+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":!(this._a<1)&&(F[f(this._r,this._g,this._b,!0)]||!1)},toFilter:function(Q){var re="#"+p(this._r,this._g,this._b,this._a),ie=re,oe=this._gradientType?"GradientType = 1, ":"";if(Q){var ue=s(Q);ie="#"+p(ue._r,ue._g,ue._b,ue._a)}return"progid:DXImageTransform.Microsoft.gradient("+oe+"startColorstr="+re+",endColorstr="+ie+")"},toString:function(Q){var re=!!Q;Q=Q||this._format;var ie=!1,oe=this._a<1&&this._a>=0;return re||!oe||Q!=="hex"&&Q!=="hex6"&&Q!=="hex3"&&Q!=="hex4"&&Q!=="hex8"&&Q!=="name"?(Q==="rgb"&&(ie=this.toRgbString()),Q==="prgb"&&(ie=this.toPercentageRgbString()),Q!=="hex"&&Q!=="hex6"||(ie=this.toHexString()),Q==="hex3"&&(ie=this.toHexString(!0)),Q==="hex4"&&(ie=this.toHex8String(!0)),Q==="hex8"&&(ie=this.toHex8String()),Q==="name"&&(ie=this.toName()),Q==="hsl"&&(ie=this.toHslString()),Q==="hsv"&&(ie=this.toHsvString()),ie||this.toHexString()):Q==="name"&&this._a===0?this.toName():this.toRgbString()},clone:function(){return s(this.toString())},_applyModification:function(Q,re){var ie=Q.apply(null,[this].concat([].slice.call(re)));return this._r=ie._r,this._g=ie._g,this._b=ie._b,this.setAlpha(ie._a),this},lighten:function(){return this._applyModification(x,arguments)},brighten:function(){return this._applyModification(T,arguments)},darken:function(){return this._applyModification(E,arguments)},desaturate:function(){return this._applyModification(w,arguments)},saturate:function(){return this._applyModification(g,arguments)},greyscale:function(){return this._applyModification(S,arguments)},spin:function(){return this._applyModification(_,arguments)},_applyCombination:function(Q,re){return Q.apply(null,[this].concat([].slice.call(re)))},analogous:function(){return this._applyCombination(I,arguments)},complement:function(){return this._applyCombination(A,arguments)},monochromatic:function(){return this._applyCombination(O,arguments)},splitcomplement:function(){return this._applyCombination(R,arguments)},triad:function(){return this._applyCombination(L,arguments)},tetrad:function(){return this._applyCombination(b,arguments)}},s.fromRatio=function(Q,re){if(typeof Q=="object"){var ie={};for(var oe in Q)Q.hasOwnProperty(oe)&&(ie[oe]=oe==="a"?Q[oe]:U(Q[oe]));Q=ie}return s(Q,re)},s.equals=function(Q,re){return!(!Q||!re)&&s(Q).toRgbString()==s(re).toRgbString()},s.random=function(){return s.fromRatio({r:u(),g:u(),b:u()})},s.mix=function(Q,re,ie){ie=ie===0?0:ie||50;var oe=s(Q).toRgb(),ue=s(re).toRgb(),ce=ie/100;return s({r:(ue.r-oe.r)*ce+oe.r,g:(ue.g-oe.g)*ce+oe.g,b:(ue.b-oe.b)*ce+oe.b,a:(ue.a-oe.a)*ce+oe.a})},s.readability=function(Q,re){var ie=s(Q),oe=s(re);return(y.max(ie.getLuminance(),oe.getLuminance())+.05)/(y.min(ie.getLuminance(),oe.getLuminance())+.05)},s.isReadable=function(Q,re,ie){var oe,ue,ce,ye,de,me=s.readability(Q,re);switch(ue=!1,(ce=ie,(ye=((ce=ce||{level:"AA",size:"small"}).level||"AA").toUpperCase())!=="AA"&&ye!=="AAA"&&(ye="AA"),(de=(ce.size||"small").toLowerCase())!=="small"&&de!=="large"&&(de="small"),oe={level:ye,size:de}).level+oe.size){case"AAsmall":case"AAAlarge":ue=me>=4.5;break;case"AAlarge":ue=me>=3;break;case"AAAsmall":ue=me>=7}return ue},s.mostReadable=function(Q,re,ie){var oe,ue,ce,ye,de=null,me=0;ue=(ie=ie||{}).includeFallbackColors,ce=ie.level,ye=ie.size;for(var pe=0;peme&&(me=oe,de=s(re[pe]));return s.isReadable(Q,de,{level:ce,size:ye})||!ue?de:(ie.includeFallbackColors=!1,s.mostReadable(Q,["#fff","#000"],ie))};var z=s.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},F=s.hexNames=function(Q){var re={};for(var ie in Q)Q.hasOwnProperty(ie)&&(re[Q[ie]]=ie);return re}(z);function B(Q){return Q=parseFloat(Q),(isNaN(Q)||Q<0||Q>1)&&(Q=1),Q}function N(Q,re){(function(oe){return typeof oe=="string"&&oe.indexOf(".")!=-1&&parseFloat(oe)===1})(Q)&&(Q="100%");var ie=function(oe){return typeof oe=="string"&&oe.indexOf("%")!=-1}(Q);return Q=l(re,a(0,parseFloat(Q))),ie&&(Q=parseInt(Q*re,10)/100),y.abs(Q-re)<1e-6?1:Q%re/parseFloat(re)}function W(Q){return l(1,a(0,Q))}function j(Q){return parseInt(Q,16)}function Y(Q){return Q.length==1?"0"+Q:""+Q}function U(Q){return Q<=1&&(Q=100*Q+"%"),Q}function G(Q){return y.round(255*parseFloat(Q)).toString(16)}function q(Q){return j(Q)/255}var H,ne,te,Z=(ne="[\\s|\\(]+("+(H="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",te="[\\s|\\(]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",{CSS_UNIT:new RegExp(H),rgb:new RegExp("rgb"+ne),rgba:new RegExp("rgba"+te),hsl:new RegExp("hsl"+ne),hsla:new RegExp("hsla"+te),hsv:new RegExp("hsv"+ne),hsva:new RegExp("hsva"+te),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function X(Q){return!!Z.CSS_UNIT.exec(Q)}k.exports?k.exports=s:(d=(function(){return s}).call(m,t,m,k))===void 0||(k.exports=d)})(Math)},57060:function(k){k.exports=t,k.exports.float32=k.exports.float=t,k.exports.fract32=k.exports.fract=function(d,y){if(d.length){if(d instanceof Float32Array)return new Float32Array(d.length);y instanceof Float32Array||(y=t(d));for(var i=0,M=y.length;i":(M.length>100&&(M=M.slice(0,99)+"…"),M=M.replace(y,function(v){switch(v){case` -`:return"\\n";case"\r":return"\\r";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("Unexpected character")}}))}},47403:function(k,m,t){var d=t(24582),y={object:!0,function:!0,undefined:!0};k.exports=function(i){return!!d(i)&&hasOwnProperty.call(y,typeof i)}},82527:function(k,m,t){var d=t(69190),y=t(84985);k.exports=function(i){return y(i)?i:d(i,"%v is not a plain function",arguments[1])}},84985:function(k,m,t){var d=t(73116),y=/^\s*class[\s{/}]/,i=Function.prototype.toString;k.exports=function(M){return!!d(M)&&!y.test(i.call(M))}},24511:function(k,m,t){var d=t(47403);k.exports=function(y){if(!d(y))return!1;try{return!!y.constructor&&y.constructor.prototype===y}catch{return!1}}},9234:function(k,m,t){var d=t(24582),y=t(47403),i=Object.prototype.toString;k.exports=function(M){if(!d(M))return null;if(y(M)){var v=M.toString;if(typeof v!="function"||v===i)return null}try{return""+M}catch{return null}}},10424:function(k,m,t){var d=t(69190),y=t(24582);k.exports=function(i){return y(i)?i:d(i,"Cannot use %v",arguments[1])}},24582:function(k){k.exports=function(m){return m!=null}},58404:function(k,m,t){var d=t(13547),y=t(12129),i=t(12856).Buffer;t.g.__TYPEDARRAY_POOL||(t.g.__TYPEDARRAY_POOL={UINT8:y([32,0]),UINT16:y([32,0]),UINT32:y([32,0]),BIGUINT64:y([32,0]),INT8:y([32,0]),INT16:y([32,0]),INT32:y([32,0]),BIGINT64:y([32,0]),FLOAT:y([32,0]),DOUBLE:y([32,0]),DATA:y([32,0]),UINT8C:y([32,0]),BUFFER:y([32,0])});var M=typeof Uint8ClampedArray<"u",v=typeof BigUint64Array<"u",h=typeof BigInt64Array<"u",l=t.g.__TYPEDARRAY_POOL;l.UINT8C||(l.UINT8C=y([32,0])),l.BIGUINT64||(l.BIGUINT64=y([32,0])),l.BIGINT64||(l.BIGINT64=y([32,0])),l.BUFFER||(l.BUFFER=y([32,0]));var a=l.DATA,u=l.BUFFER;function s(R){if(R){var I=R.length||R.byteLength,O=d.log2(I);a[O].push(R)}}function o(R){R=d.nextPow2(R);var I=d.log2(R),O=a[I];return O.length>0?O.pop():new ArrayBuffer(R)}function c(R){return new Uint8Array(o(R),0,R)}function f(R){return new Uint16Array(o(2*R),0,R)}function p(R){return new Uint32Array(o(4*R),0,R)}function w(R){return new Int8Array(o(R),0,R)}function g(R){return new Int16Array(o(2*R),0,R)}function S(R){return new Int32Array(o(4*R),0,R)}function x(R){return new Float32Array(o(4*R),0,R)}function T(R){return new Float64Array(o(8*R),0,R)}function E(R){return M?new Uint8ClampedArray(o(R),0,R):c(R)}function _(R){return v?new BigUint64Array(o(8*R),0,R):null}function A(R){return h?new BigInt64Array(o(8*R),0,R):null}function L(R){return new DataView(o(R),0,R)}function b(R){R=d.nextPow2(R);var I=d.log2(R),O=u[I];return O.length>0?O.pop():new i(R)}m.free=function(R){if(i.isBuffer(R))u[d.log2(R.length)].push(R);else{if(Object.prototype.toString.call(R)!=="[object ArrayBuffer]"&&(R=R.buffer),!R)return;var I=R.length||R.byteLength,O=0|d.log2(I);a[O].push(R)}},m.freeUint8=m.freeUint16=m.freeUint32=m.freeBigUint64=m.freeInt8=m.freeInt16=m.freeInt32=m.freeBigInt64=m.freeFloat32=m.freeFloat=m.freeFloat64=m.freeDouble=m.freeUint8Clamped=m.freeDataView=function(R){s(R.buffer)},m.freeArrayBuffer=s,m.freeBuffer=function(R){u[d.log2(R.length)].push(R)},m.malloc=function(R,I){if(I===void 0||I==="arraybuffer")return o(R);switch(I){case"uint8":return c(R);case"uint16":return f(R);case"uint32":return p(R);case"int8":return w(R);case"int16":return g(R);case"int32":return S(R);case"float":case"float32":return x(R);case"double":case"float64":return T(R);case"uint8_clamped":return E(R);case"bigint64":return A(R);case"biguint64":return _(R);case"buffer":return b(R);case"data":case"dataview":return L(R);default:return null}return null},m.mallocArrayBuffer=o,m.mallocUint8=c,m.mallocUint16=f,m.mallocUint32=p,m.mallocInt8=w,m.mallocInt16=g,m.mallocInt32=S,m.mallocFloat32=m.mallocFloat=x,m.mallocFloat64=m.mallocDouble=T,m.mallocUint8Clamped=E,m.mallocBigUint64=_,m.mallocBigInt64=A,m.mallocDataView=L,m.mallocBuffer=b,m.clearCache=function(){for(var R=0;R<32;++R)l.UINT8[R].length=0,l.UINT16[R].length=0,l.UINT32[R].length=0,l.INT8[R].length=0,l.INT16[R].length=0,l.INT32[R].length=0,l.FLOAT[R].length=0,l.DOUBLE[R].length=0,l.BIGUINT64[R].length=0,l.BIGINT64[R].length=0,l.UINT8C[R].length=0,a[R].length=0,u[R].length=0}},90448:function(k){var m=/[\'\"]/;k.exports=function(t){return t?(m.test(t.charAt(0))&&(t=t.substr(1)),m.test(t.charAt(t.length-1))&&(t=t.substr(0,t.length-1)),t):""}},93447:function(k){k.exports=function(m,t,d){Array.isArray(d)||(d=[].slice.call(arguments,2));for(var y=0,i=d.length;y=U)return H;switch(H){case"%s":return String(Y[j++]);case"%d":return Number(Y[j++]);case"%j":try{return JSON.stringify(Y[j++])}catch{return"[Circular]"}default:return H}}),q=Y[j];j=3&&(j.depth=arguments[2]),arguments.length>=4&&(j.colors=arguments[3]),p(W)?j.showHidden=W:W&&m._extend(j,W),x(j.showHidden)&&(j.showHidden=!1),x(j.depth)&&(j.depth=2),x(j.colors)&&(j.colors=!1),x(j.customInspect)&&(j.customInspect=!0),j.colors&&(j.stylize=a),s(j,N,j.depth)}function a(N,W){var j=l.styles[W];return j?"\x1B["+l.colors[j][0]+"m"+N+"\x1B["+l.colors[j][1]+"m":N}function u(N,W){return N}function s(N,W,j){if(N.customInspect&&W&&L(W.inspect)&&W.inspect!==m.inspect&&(!W.constructor||W.constructor.prototype!==W)){var Y=W.inspect(j,N);return S(Y)||(Y=s(N,Y,j)),Y}var U=function(Q,re){if(x(re))return Q.stylize("undefined","undefined");if(S(re)){var ie="'"+JSON.stringify(re).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Q.stylize(ie,"string")}return g(re)?Q.stylize(""+re,"number"):p(re)?Q.stylize(""+re,"boolean"):w(re)?Q.stylize("null","null"):void 0}(N,W);if(U)return U;var G=Object.keys(W),q=function(Q){var re={};return Q.forEach(function(ie,oe){re[ie]=!0}),re}(G);if(N.showHidden&&(G=Object.getOwnPropertyNames(W)),A(W)&&(G.indexOf("message")>=0||G.indexOf("description")>=0))return o(W);if(G.length===0){if(L(W)){var H=W.name?": "+W.name:"";return N.stylize("[Function"+H+"]","special")}if(T(W))return N.stylize(RegExp.prototype.toString.call(W),"regexp");if(_(W))return N.stylize(Date.prototype.toString.call(W),"date");if(A(W))return o(W)}var ne,te="",Z=!1,X=["{","}"];return f(W)&&(Z=!0,X=["[","]"]),L(W)&&(te=" [Function"+(W.name?": "+W.name:"")+"]"),T(W)&&(te=" "+RegExp.prototype.toString.call(W)),_(W)&&(te=" "+Date.prototype.toUTCString.call(W)),A(W)&&(te=" "+o(W)),G.length!==0||Z&&W.length!=0?j<0?T(W)?N.stylize(RegExp.prototype.toString.call(W),"regexp"):N.stylize("[Object]","special"):(N.seen.push(W),ne=Z?function(Q,re,ie,oe,ue){for(var ce=[],ye=0,de=re.length;ye>>4&15)+"0123456789abcdef".charAt(15&Rt);return Nt}(function(wt){for(var Rt=Array(wt.length>>2),Nt=0;Nt>5]|=(255&wt.charCodeAt(Nt/8))<<24-Nt%32;var Yt,Wt,Xt,Qt,rn,xn,un,An,Yn,kn,sn,Tn=8*wt.length;for(wt=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],Nt=Array(64),Rt[Tn>>5]|=128<<24-Tn%32,Rt[15+(Tn+64>>9<<4)]=Tn,An=0;AnYn;Yn++){var dn;16>Yn?Nt[Yn]=Rt[Yn+An]:(kn=Yn,sn=W(sn=N(sn=Nt[Yn-2],17)^N(sn,19)^sn>>>10,Nt[Yn-7]),dn=N(dn=Nt[Yn-15],7)^N(dn,18)^dn>>>3,Nt[kn]=W(W(sn,dn),Nt[Yn-16])),kn=W(W(W(W(un,kn=N(kn=Qt,6)^N(kn,11)^N(kn,25)),Qt&rn^~Qt&xn),xt[Yn]),Nt[Yn]),sn=W(un=N(un=Tn,2)^N(un,13)^N(un,22),Tn&Yt^Tn&Wt^Yt&Wt),un=xn,xn=rn,rn=Qt,Qt=W(Xt,kn),Xt=Wt,Wt=Yt,Yt=Tn,Tn=W(kn,sn)}wt[0]=W(Tn,wt[0]),wt[1]=W(Yt,wt[1]),wt[2]=W(Wt,wt[2]),wt[3]=W(Xt,wt[3]),wt[4]=W(Qt,wt[4]),wt[5]=W(rn,wt[5]),wt[6]=W(xn,wt[6]),wt[7]=W(un,wt[7])}for(Rt="",Nt=0;Nt<32*wt.length;Nt+=8)Rt+=String.fromCharCode(wt[Nt>>5]>>>24-Nt%32&255);return Rt}(function(wt){for(var Rt,Nt,Yt="",Wt=-1;++Wt=Rt&&56320<=Nt&&57343>=Nt&&(Rt=65536+((1023&Rt)<<10)+(1023&Nt),Wt++),127>=Rt?Yt+=String.fromCharCode(Rt):2047>=Rt?Yt+=String.fromCharCode(192|Rt>>>6&31,128|63&Rt):65535>=Rt?Yt+=String.fromCharCode(224|Rt>>>12&15,128|Rt>>>6&63,128|63&Rt):2097151>=Rt&&(Yt+=String.fromCharCode(240|Rt>>>18&7,128|Rt>>>12&63,128|Rt>>>6&63,128|63&Rt));return Yt}(Pt))),Re[yt])?Re[yt].apply(null,ut):(Pt=Function.apply(null,Qe.concat(Pt)),Re&&(Re[yt]=Pt),Pt.apply(null,ut))}}}function G(qe){return Array.isArray(qe)||me(qe)||a(qe)}function q(qe){return qe.sort(function(nt,ft){return nt==="viewport"?-1:ft==="viewport"?1:nt"+br+"?"+Sn+".constant["+br+"]:0;"}).join(""),"}}else{","if(",nr,"(",Sn,".buffer)){",cr,"=",Vn,".createStream(",34962,",",Sn,".buffer);","}else{",cr,"=",Vn,".getBuffer(",Sn,".buffer);","}",pr,'="type" in ',Sn,"?",Xn.glTypes,"[",Sn,".type]:",cr,".dtype;",Qn.normalized,"=!!",Sn,".normalized;"),yn("size"),yn("offset"),yn("stride"),yn("divisor"),gn("}}"),gn.exit("if(",Qn.isStream,"){",Vn,".destroyStream(",cr,");","}"),Qn})}),On}function Yn(jt,Jt,hn,zn,On){function En(hr){var cr=wn[hr];cr&&(yn[hr]=cr)}var mn=function(hr,cr){if(typeof(pr=hr.static).frag=="string"&&typeof pr.vert=="string"){if(0"u"?"Date.now()":"performance.now()"}function mn(hr){hr(yn=Jt.def(),"=",En(),";"),typeof On=="string"?hr(Xn,".count+=",On,";"):hr(Xn,".count++;"),wt&&(zn?hr(Sn=Jt.def(),"=",Qn,".getNumPendingQueries();"):hr(Qn,".beginQuery(",Xn,");"))}function wn(hr){hr(Xn,".cpuTime+=",En(),"-",yn,";"),wt&&(zn?hr(Qn,".pushScopeStats(",Sn,",",Qn,".getNumPendingQueries(),",Xn,");"):hr(Qn,".endQuery();"))}function gn(hr){var cr=Jt.def(nr,".profile");Jt(nr,".profile=",hr,";"),Jt.exit(nr,".profile=",cr,";")}var yn,Sn,Vn=jt.shared,Xn=jt.stats,nr=Vn.current,Qn=Vn.timer;if(hn=hn.profile){if(ne(hn))return void(hn.enable?(mn(Jt),wn(Jt.exit),gn("true")):gn("false"));gn(hn=hn.append(jt,Jt))}else hn=Jt.def(nr,".profile");mn(Vn=jt.block()),Jt("if(",hn,"){",Vn,"}"),wn(jt=jt.block()),Jt.exit("if(",hn,"){",jt,"}")}function In(jt,Jt,hn,zn,On){function En(wn,gn,yn){function Sn(){Jt("if(!",Qn,".buffer){",Xn,".enableVertexAttribArray(",nr,");}");var dr,br=yn.type;dr=yn.size?Jt.def(yn.size,"||",gn):gn,Jt("if(",Qn,".type!==",br,"||",Qn,".size!==",dr,"||",pr.map(function(Ir){return Qn+"."+Ir+"!=="+yn[Ir]}).join("||"),"){",Xn,".bindBuffer(",34962,",",hr,".buffer);",Xn,".vertexAttribPointer(",[nr,dr,br,yn.normalized,yn.stride,yn.offset],");",Qn,".type=",br,";",Qn,".size=",dr,";",pr.map(function(Ir){return Qn+"."+Ir+"="+yn[Ir]+";"}).join(""),"}"),Kt&&(br=yn.divisor,Jt("if(",Qn,".divisor!==",br,"){",jt.instancing,".vertexAttribDivisorANGLE(",[nr,br],");",Qn,".divisor=",br,";}"))}function Vn(){Jt("if(",Qn,".buffer){",Xn,".disableVertexAttribArray(",nr,");",Qn,".buffer=null;","}if(",Ft.map(function(dr,br){return Qn+"."+dr+"!=="+cr[br]}).join("||"),"){",Xn,".vertexAttrib4f(",nr,",",cr,");",Ft.map(function(dr,br){return Qn+"."+dr+"="+cr[br]+";"}).join(""),"}")}var Xn=mn.gl,nr=Jt.def(wn,".location"),Qn=Jt.def(mn.attributes,"[",nr,"]");wn=yn.state;var hr=yn.buffer,cr=[yn.x,yn.y,yn.z,yn.w],pr=["buffer","normalized","offset","stride"];wn===1?Sn():wn===2?Vn():(Jt("if(",wn,"===",1,"){"),Sn(),Jt("}else{"),Vn(),Jt("}"))}var mn=jt.shared;zn.forEach(function(wn){var gn,yn=wn.name,Sn=hn.attributes[yn];if(Sn){if(!On(Sn))return;gn=Sn.append(jt,Jt)}else{if(!On(Je))return;var Vn=jt.scopeAttrib(yn);gn={},Object.keys(new vr).forEach(function(Xn){gn[Xn]=Jt.def(Vn,".",Xn)})}En(jt.link(wn),function(Xn){switch(Xn){case 35664:case 35667:case 35671:return 2;case 35665:case 35668:case 35672:return 3;case 35666:case 35669:case 35673:return 4;default:return 1}}(wn.info.type),gn)})}function jn(jt,Jt,hn,zn,On,En){for(var mn,wn=jt.shared,gn=wn.gl,yn=0;yn>1)",wn],");")}function Ir(){hn(gn,".drawArraysInstancedANGLE(",[Qn,hr,cr,wn],");")}nr&&nr!=="null"?dr?br():(hn("if(",nr,"){"),br(),hn("}else{"),Ir(),hn("}")):Ir()}function mn(){function br(){hn(Sn+".drawElements("+[Qn,cr,pr,hr+"<<(("+pr+"-5121)>>1)"]+");")}function Ir(){hn(Sn+".drawArrays("+[Qn,hr,cr]+");")}nr&&nr!=="null"?dr?br():(hn("if(",nr,"){"),br(),hn("}else{"),Ir(),hn("}")):Ir()}var wn,gn,yn=jt.shared,Sn=yn.gl,Vn=yn.draw,Xn=zn.draw,nr=function(){var br=Xn.elements,Ir=Jt;return br?((br.contextDep&&zn.contextDynamic||br.propDep)&&(Ir=hn),br=br.append(jt,Ir),Xn.elementsActive&&Ir("if("+br+")"+Sn+".bindBuffer(34963,"+br+".buffer.buffer);")):(br=Ir.def(),Ir(br,"=",Vn,".","elements",";","if(",br,"){",Sn,".bindBuffer(",34963,",",br,".buffer.buffer);}","else if(",yn.vao,".currentVAO){",br,"=",jt.shared.elements+".getElements("+yn.vao,".currentVAO.elements);",Rn?"":"if("+br+")"+Sn+".bindBuffer(34963,"+br+".buffer.buffer);","}")),br}(),Qn=On("primitive"),hr=On("offset"),cr=function(){var br=Xn.count,Ir=Jt;return br?((br.contextDep&&zn.contextDynamic||br.propDep)&&(Ir=hn),br=br.append(jt,Ir)):br=Ir.def(Vn,".","count"),br}();if(typeof cr=="number"){if(cr===0)return}else hn("if(",cr,"){"),hn.exit("}");Kt&&(wn=On("instances"),gn=jt.instancing);var pr=nr+".type",dr=Xn.elements&&ne(Xn.elements)&&!Xn.vaoActive;Kt&&(typeof wn!="number"||0<=wn)?typeof wn=="string"?(hn("if(",wn,">0){"),En(),hn("}else if(",wn,"<0){"),mn(),hn("}")):En():mn()}function qn(jt,Jt,hn,zn,On){return On=(Jt=Qt()).proc("body",On),Kt&&(Jt.instancing=On.def(Jt.shared.extensions,".angle_instanced_arrays")),jt(Jt,On,hn,zn),Jt.compile().body}function lr(jt,Jt,hn,zn){pn(jt,Jt),hn.useVAO?hn.drawVAO?Jt(jt.shared.vao,".setVAO(",hn.drawVAO.append(jt,Jt),");"):Jt(jt.shared.vao,".setVAO(",jt.shared.vao,".targetVAO);"):(Jt(jt.shared.vao,".setVAO(null);"),In(jt,Jt,hn,zn.attributes,function(){return!0})),jn(jt,Jt,hn,zn.uniforms,function(){return!0},!1),Gn(jt,Jt,Jt,hn)}function rr(jt,Jt,hn,zn){function On(){return!0}jt.batchId="a1",pn(jt,Jt),In(jt,Jt,hn,zn.attributes,On),jn(jt,Jt,hn,zn.uniforms,On,!1),Gn(jt,Jt,Jt,hn)}function Sr(jt,Jt,hn,zn){function On(Vn){return Vn.contextDep&&mn||Vn.propDep}function En(Vn){return!On(Vn)}pn(jt,Jt);var mn=hn.contextDep,wn=Jt.def(),gn=Jt.def();jt.shared.props=gn,jt.batchId=wn;var yn=jt.scope(),Sn=jt.scope();Jt(yn.entry,"for(",wn,"=0;",wn,"<","a1",";++",wn,"){",gn,"=","a0","[",wn,"];",Sn,"}",yn.exit),hn.needsContext&&kn(jt,Sn,hn.context),hn.needsFramebuffer&&sn(jt,Sn,hn.framebuffer),dn(jt,Sn,hn.state,On),hn.profile&&On(hn.profile)&&Dn(jt,Sn,hn,!1,!0),zn?(hn.useVAO?hn.drawVAO?On(hn.drawVAO)?Sn(jt.shared.vao,".setVAO(",hn.drawVAO.append(jt,Sn),");"):yn(jt.shared.vao,".setVAO(",hn.drawVAO.append(jt,yn),");"):yn(jt.shared.vao,".setVAO(",jt.shared.vao,".targetVAO);"):(yn(jt.shared.vao,".setVAO(null);"),In(jt,yn,hn,zn.attributes,En),In(jt,Sn,hn,zn.attributes,On)),jn(jt,yn,hn,zn.uniforms,En,!1),jn(jt,Sn,hn,zn.uniforms,On,!0),Gn(jt,yn,Sn,hn)):(Jt=jt.global.def("{}"),zn=hn.shader.progVar.append(jt,Sn),gn=Sn.def(zn,".id"),yn=Sn.def(Jt,"[",gn,"]"),Sn(jt.shared.gl,".useProgram(",zn,".program);","if(!",yn,"){",yn,"=",Jt,"[",gn,"]=",jt.link(function(Vn){return qn(rr,jt,hn,Vn,2)}),"(",zn,");}",yn,".call(this,a0[",wn,"],",wn,");"))}function yr(jt,Jt){function hn(wn){var gn=Jt.shader[wn];gn&&(gn=gn.append(jt,zn),isNaN(gn)?zn.set(On.shader,"."+wn,gn):zn.set(On.shader,"."+wn,jt.link(gn,{stable:!0})))}var zn=jt.proc("scope",3);jt.batchId="a2";var On=jt.shared,En=On.current;if(kn(jt,zn,Jt.context),Jt.framebuffer&&Jt.framebuffer.append(jt,zn),q(Object.keys(Jt.state)).forEach(function(wn){var gn=Jt.state[wn],yn=gn.append(jt,zn);S(yn)?yn.forEach(function(Sn,Vn){isNaN(Sn)?zn.set(jt.next[wn],"["+Vn+"]",Sn):zn.set(jt.next[wn],"["+Vn+"]",jt.link(Sn,{stable:!0}))}):ne(gn)?zn.set(On.next,"."+wn,jt.link(yn,{stable:!0})):zn.set(On.next,"."+wn,yn)}),Dn(jt,zn,Jt,!0,!0),["elements","offset","count","instances","primitive"].forEach(function(wn){var gn=Jt.draw[wn];gn&&(gn=gn.append(jt,zn),isNaN(gn)?zn.set(On.draw,"."+wn,gn):zn.set(On.draw,"."+wn,jt.link(gn),{stable:!0}))}),Object.keys(Jt.uniforms).forEach(function(wn){var gn=Jt.uniforms[wn].append(jt,zn);Array.isArray(gn)&&(gn="["+gn.map(function(yn){return isNaN(yn)?yn:jt.link(yn,{stable:!0})})+"]"),zn.set(On.uniforms,"["+jt.link(nt.id(wn),{stable:!0})+"]",gn)}),Object.keys(Jt.attributes).forEach(function(wn){var gn=Jt.attributes[wn].append(jt,zn),yn=jt.scopeAttrib(wn);Object.keys(new vr).forEach(function(Sn){zn.set(yn,"."+Sn,gn[Sn])})}),Jt.scopeVAO){var mn=Jt.scopeVAO.append(jt,zn);isNaN(mn)?zn.set(On.vao,".targetVAO",mn):zn.set(On.vao,".targetVAO",jt.link(mn,{stable:!0}))}hn("vert"),hn("frag"),0=--this.refCount&&ut(this)},Ne.profile&&(Re.getTotalRenderbufferSize=function(){var yt=0;return Object.keys(Lt).forEach(function(Pt){yt+=Lt[Pt].stats.size}),yt}),{create:function(yt,Pt){function wt(Nt,Yt){var Wt=0,Xt=0,Qt=32854;if(typeof Nt=="object"&&Nt?("shape"in Nt?(Wt=0|(Xt=Nt.shape)[0],Xt=0|Xt[1]):("radius"in Nt&&(Wt=Xt=0|Nt.radius),"width"in Nt&&(Wt=0|Nt.width),"height"in Nt&&(Xt=0|Nt.height)),"format"in Nt&&(Qt=dt[Nt.format])):typeof Nt=="number"?(Wt=0|Nt,Xt=typeof Yt=="number"?0|Yt:Wt):Nt||(Wt=Xt=1),Wt!==Rt.width||Xt!==Rt.height||Qt!==Rt.format)return wt.width=Rt.width=Wt,wt.height=Rt.height=Xt,Rt.format=Qt,qe.bindRenderbuffer(36161,Rt.renderbuffer),qe.renderbufferStorage(36161,Qt,Wt,Xt),Ne.profile&&(Rt.stats.size=ht[Rt.format]*Rt.width*Rt.height),wt.format=_t[Rt.format],wt}var Rt=new Qe(qe.createRenderbuffer());return Lt[Rt.id]=Rt,Re.renderbufferCount++,wt(yt,Pt),wt.resize=function(Nt,Yt){var Wt=0|Nt,Xt=0|Yt||Wt;return Wt===Rt.width&&Xt===Rt.height||(wt.width=Rt.width=Wt,wt.height=Rt.height=Xt,qe.bindRenderbuffer(36161,Rt.renderbuffer),qe.renderbufferStorage(36161,Rt.format,Wt,Xt),Ne.profile&&(Rt.stats.size=ht[Rt.format]*Rt.width*Rt.height)),wt},wt._reglType="renderbuffer",wt._renderbuffer=Rt,Ne.profile&&(wt.stats=Rt.stats),wt.destroy=function(){Rt.decRef()},wt},clear:function(){pe(Lt).forEach(ut)},restore:function(){pe(Lt).forEach(function(yt){yt.renderbuffer=qe.createRenderbuffer(),qe.bindRenderbuffer(36161,yt.renderbuffer),qe.renderbufferStorage(36161,yt.format,yt.width,yt.height)}),qe.bindRenderbuffer(36161,null)}}},Et=[];Et[6408]=4,Et[6407]=3;var kt=[];kt[5121]=1,kt[5126]=4,kt[36193]=2;var xt=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],Ft=["x","y","z","w"],Ot="blend.func blend.equation stencil.func stencil.opFront stencil.opBack sample.coverage viewport scissor.box polygonOffset.offset".split(" "),Bt={0:0,1:1,zero:0,one:1,"src color":768,"one minus src color":769,"src alpha":770,"one minus src alpha":771,"dst color":774,"one minus dst color":775,"dst alpha":772,"one minus dst alpha":773,"constant color":32769,"one minus constant color":32770,"constant alpha":32771,"one minus constant alpha":32772,"src alpha saturate":776},qt={never:512,less:513,"<":513,equal:514,"=":514,"==":514,"===":514,lequal:515,"<=":515,greater:516,">":516,notequal:517,"!=":517,"!==":517,gequal:518,">=":518,always:519},Vt={0:0,zero:0,keep:7680,replace:7681,increment:7682,decrement:7683,"increment wrap":34055,"decrement wrap":34056,invert:5386},Ke={cw:2304,ccw:2305},Je=new H(!1,!1,!1,function(){});return function(qe){function nt(){if(rr.length===0)rn&&rn.update(),vr=null;else{vr=ue.next(nt),Lt();for(var Kt=rr.length-1;0<=Kt;--Kt){var bn=rr[Kt];bn&&bn(Yn,null,0)}wt.flush(),rn&&rn.update()}}function ft(){!vr&&0=rr.length&&Re()}}}}function It(){var Kt=qn.viewport,bn=qn.scissor_box;Kt[0]=Kt[1]=bn[0]=bn[1]=0,Yn.viewportWidth=Yn.framebufferWidth=Yn.drawingBufferWidth=Kt[2]=bn[2]=wt.drawingBufferWidth,Yn.viewportHeight=Yn.framebufferHeight=Yn.drawingBufferHeight=Kt[3]=bn[3]=wt.drawingBufferHeight}function Lt(){Yn.tick+=1,Yn.time=Pt(),It(),Gn.procs.poll()}function yt(){Dn.refresh(),It(),Gn.procs.refresh(),rn&&rn.update()}function Pt(){return(ce()-xn)/1e3}if(!(qe=M(qe)))return null;var wt=qe.gl,Rt=wt.getContextAttributes();wt.isContextLost();var Nt=function(Kt,bn){function Rn($n){var tr;$n=$n.toLowerCase();try{tr=Ln[$n]=Kt.getExtension($n)}catch{}return!!tr}for(var Ln={},Un=0;Unbn;++bn)_r(re({framebuffer:Kt.framebuffer.faces[bn]},Kt),dt);else _r(Kt,dt);else dt(0,Kt)},prop:oe.define.bind(null,1),context:oe.define.bind(null,2),this:oe.define.bind(null,3),draw:ut({}),buffer:function(Kt){return sn.create(Kt,34962,!1,!1)},elements:function(Kt){return Tn.create(Kt,!1)},texture:Dn.create2D,cube:Dn.createCube,renderbuffer:In.create,framebuffer:jn.create,framebufferCube:jn.createCube,vao:dn.createVAO,attributes:Rt,frame:_t,on:function(Kt,bn){var Rn;switch(Kt){case"frame":return _t(bn);case"lost":Rn=Sr;break;case"restore":Rn=yr;break;case"destroy":Rn=or}return Rn.push(bn),{cancel:function(){for(var Ln=0;Ln2?"one of ".concat(i," ").concat(g.slice(0,M-1).join(", "),", or ")+g[M-1]:M===2?"one of ".concat(i," ").concat(g[0]," or ").concat(g[1]):"of ".concat(i," ").concat(g[0])}return"of ".concat(i," ").concat(String(g))}t("ERR_INVALID_OPT_VALUE",function(g,i){return'The value "'+i+'" is invalid for option "'+g+'"'},TypeError),t("ERR_INVALID_ARG_TYPE",function(g,i,M){var v,f,l,a,u;if(typeof i=="string"&&(f="not ",i.substr(0,f.length)===f)?(v="must not be",i=i.replace(/^not /,"")):v="must be",function(s,c,h){return(h===void 0||h>s.length)&&(h=s.length),s.substring(h-c.length,h)===c}(g," argument"))l="The ".concat(g," ").concat(v," ").concat(d(i,"type"));else{var o=(typeof u!="number"&&(u=0),u+1>(a=g).length||a.indexOf(".",u)===-1?"argument":"property");l='The "'.concat(g,'" ').concat(o," ").concat(v," ").concat(d(i,"type"))}return l+". Received type ".concat(typeof M)},TypeError),t("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),t("ERR_METHOD_NOT_IMPLEMENTED",function(g){return"The "+g+" method is not implemented"}),t("ERR_STREAM_PREMATURE_CLOSE","Premature close"),t("ERR_STREAM_DESTROYED",function(g){return"Cannot call "+g+" after a stream was destroyed"}),t("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),t("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),t("ERR_STREAM_WRITE_AFTER_END","write after end"),t("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),t("ERR_UNKNOWN_ENCODING",function(g){return"Unknown encoding: "+g},TypeError),t("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),T.exports.q=p},37865:function(T,p,t){var d=t(90386),g=Object.keys||function(s){var c=[];for(var h in s)c.push(h);return c};T.exports=a;var i=t(40410),M=t(37493);t(42018)(a,i);for(var v=g(M.prototype),f=0;f0)if(typeof Z=="string"||oe.objectMode||Object.getPrototypeOf(Z)===f.prototype||(Z=function(ue){return f.from(ue)}(Z)),Q)oe.endEmitted?E(te,new k):R(te,oe,Z,!0);else if(oe.ended)E(te,new S);else{if(oe.destroyed)return!1;oe.reading=!1,oe.decoder&&!X?(Z=oe.decoder.write(Z),oe.objectMode||Z.length!==0?R(te,oe,Z,!1):B(te,oe)):R(te,oe,Z,!1)}else Q||(oe.reading=!1,B(te,oe));return!oe.ended&&(oe.lengthZ.highWaterMark&&(Z.highWaterMark=function(X){return X>=I?X=I:(X--,X|=X>>>1,X|=X>>>2,X|=X>>>4,X|=X>>>8,X|=X>>>16,X++),X}(te)),te<=Z.length?te:Z.ended?Z.length:(Z.needReadable=!0,0))}function z(te){var Z=te._readableState;i("emitReadable",Z.needReadable,Z.emittedReadable),Z.needReadable=!1,Z.emittedReadable||(i("emitReadable",Z.flowing),Z.emittedReadable=!0,g.nextTick(F,te))}function F(te){var Z=te._readableState;i("emitReadable_",Z.destroyed,Z.length,Z.ended),Z.destroyed||!Z.length&&!Z.ended||(te.emit("readable"),Z.emittedReadable=!1),Z.needReadable=!Z.flowing&&!Z.ended&&Z.length<=Z.highWaterMark,U(te)}function B(te,Z){Z.readingMore||(Z.readingMore=!0,g.nextTick(N,te,Z))}function N(te,Z){for(;!Z.reading&&!Z.ended&&(Z.length0,Z.resumeScheduled&&!Z.paused?Z.flowing=!0:te.listenerCount("data")>0&&te.resume()}function j(te){i("readable nexttick read 0"),te.read(0)}function $(te,Z){i("resume",Z.reading),Z.reading||te.read(0),Z.resumeScheduled=!1,te.emit("resume"),U(te),Z.flowing&&!Z.reading&&te.read(0)}function U(te){var Z=te._readableState;for(i("flow",Z.flowing);Z.flowing&&te.read()!==null;);}function G(te,Z){return Z.length===0?null:(Z.objectMode?X=Z.buffer.shift():!te||te>=Z.length?(X=Z.decoder?Z.buffer.join(""):Z.buffer.length===1?Z.buffer.first():Z.buffer.concat(Z.length),Z.buffer.clear()):X=Z.buffer.consume(te,Z.decoder),X);var X}function q(te){var Z=te._readableState;i("endReadable",Z.endEmitted),Z.endEmitted||(Z.ended=!0,g.nextTick(H,Z,te))}function H(te,Z){if(i("endReadableNT",te.endEmitted,te.length),!te.endEmitted&&te.length===0&&(te.endEmitted=!0,Z.readable=!1,Z.emit("end"),te.autoDestroy)){var X=Z._writableState;(!X||X.autoDestroy&&X.finished)&&Z.destroy()}}function ne(te,Z){for(var X=0,Q=te.length;X=Z.highWaterMark:Z.length>0)||Z.ended))return i("read: emitReadable",Z.length,Z.ended),Z.length===0&&Z.ended?q(this):z(this),null;if((te=O(te,Z))===0&&Z.ended)return Z.length===0&&q(this),null;var Q,re=Z.needReadable;return i("need readable",re),(Z.length===0||Z.length-te0?G(te,Z):null)===null?(Z.needReadable=Z.length<=Z.highWaterMark,te=0):(Z.length-=te,Z.awaitDrain=0),Z.length===0&&(Z.ended||(Z.needReadable=!0),X!==te&&Z.ended&&q(this)),Q!==null&&this.emit("data",Q),Q},L.prototype._read=function(te){E(this,new _("_read()"))},L.prototype.pipe=function(te,Z){var X=this,Q=this._readableState;switch(Q.pipesCount){case 0:Q.pipes=te;break;case 1:Q.pipes=[Q.pipes,te];break;default:Q.pipes.push(te)}Q.pipesCount+=1,i("pipe count=%d opts=%j",Q.pipesCount,Z);var re=Z&&Z.end===!1||te===g.stdout||te===g.stderr?pe:ie;function ie(){i("onend"),te.end()}Q.endEmitted?g.nextTick(re):X.once("end",re),te.on("unpipe",function xe(Pe,_e){i("onunpipe"),Pe===X&&_e&&_e.hasUnpiped===!1&&(_e.hasUnpiped=!0,i("cleanup"),te.removeListener("close",de),te.removeListener("finish",me),te.removeListener("drain",oe),te.removeListener("error",ye),te.removeListener("unpipe",xe),X.removeListener("end",ie),X.removeListener("end",pe),X.removeListener("data",ce),ue=!0,!Q.awaitDrain||te._writableState&&!te._writableState.needDrain||oe())});var oe=function(xe){return function(){var Pe=xe._readableState;i("pipeOnDrain",Pe.awaitDrain),Pe.awaitDrain&&Pe.awaitDrain--,Pe.awaitDrain===0&&M(xe,"data")&&(Pe.flowing=!0,U(xe))}}(X);te.on("drain",oe);var ue=!1;function ce(xe){i("ondata");var Pe=te.write(xe);i("dest.write",Pe),Pe===!1&&((Q.pipesCount===1&&Q.pipes===te||Q.pipesCount>1&&ne(Q.pipes,te)!==-1)&&!ue&&(i("false write response, pause",Q.awaitDrain),Q.awaitDrain++),X.pause())}function ye(xe){i("onerror",xe),pe(),te.removeListener("error",ye),M(te,"error")===0&&E(te,xe)}function de(){te.removeListener("finish",me),pe()}function me(){i("onfinish"),te.removeListener("close",de),pe()}function pe(){i("unpipe"),X.unpipe(te)}return X.on("data",ce),function(xe,Pe,_e){if(typeof xe.prependListener=="function")return xe.prependListener(Pe,_e);xe._events&&xe._events.error?Array.isArray(xe._events.error)?xe._events.error.unshift(_e):xe._events.error=[_e,xe._events.error]:xe.on(Pe,_e)}(te,"error",ye),te.once("close",de),te.once("finish",me),te.emit("pipe",X),Q.flowing||(i("pipe resume"),X.resume()),te},L.prototype.unpipe=function(te){var Z=this._readableState,X={hasUnpiped:!1};if(Z.pipesCount===0)return this;if(Z.pipesCount===1)return te&&te!==Z.pipes||(te||(te=Z.pipes),Z.pipes=null,Z.pipesCount=0,Z.flowing=!1,te&&te.emit("unpipe",this,X)),this;if(!te){var Q=Z.pipes,re=Z.pipesCount;Z.pipes=null,Z.pipesCount=0,Z.flowing=!1;for(var ie=0;ie0,Q.flowing!==!1&&this.resume()):te==="readable"&&(Q.endEmitted||Q.readableListening||(Q.readableListening=Q.needReadable=!0,Q.flowing=!1,Q.emittedReadable=!1,i("on readable",Q.length,Q.reading),Q.length?z(this):Q.reading||g.nextTick(j,this))),X},L.prototype.addListener=L.prototype.on,L.prototype.removeListener=function(te,Z){var X=v.prototype.removeListener.call(this,te,Z);return te==="readable"&&g.nextTick(W,this),X},L.prototype.removeAllListeners=function(te){var Z=v.prototype.removeAllListeners.apply(this,arguments);return te!=="readable"&&te!==void 0||g.nextTick(W,this),Z},L.prototype.resume=function(){var te=this._readableState;return te.flowing||(i("resume"),te.flowing=!te.readableListening,function(Z,X){X.resumeScheduled||(X.resumeScheduled=!0,g.nextTick($,Z,X))}(this,te)),te.paused=!1,this},L.prototype.pause=function(){return i("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(i("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},L.prototype.wrap=function(te){var Z=this,X=this._readableState,Q=!1;for(var re in te.on("end",function(){if(i("wrapped end"),X.decoder&&!X.ended){var oe=X.decoder.end();oe&&oe.length&&Z.push(oe)}Z.push(null)}),te.on("data",function(oe){i("wrapped data"),X.decoder&&(oe=X.decoder.write(oe)),X.objectMode&&oe==null||(X.objectMode||oe&&oe.length)&&(Z.push(oe)||(Q=!0,te.pause()))}),te)this[re]===void 0&&typeof te[re]=="function"&&(this[re]=function(oe){return function(){return te[oe].apply(te,arguments)}}(re));for(var ie=0;ie-1))throw new k(B);return this._writableState.defaultEncoding=B,this},Object.defineProperty(L.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(L.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),L.prototype._write=function(B,N,W){W(new h("_write()"))},L.prototype._writev=null,L.prototype.end=function(B,N,W){var j=this._writableState;return typeof B=="function"?(W=B,B=null,N=null):typeof N=="function"&&(W=N,N=null),B!=null&&this.write(B,N),j.corked&&(j.corked=1,this.uncork()),j.ending||function($,U,G){U.ending=!0,F($,U),G&&(U.finished?g.nextTick(G):$.once("finish",G)),U.ended=!0,$.writable=!1}(this,j,W),this},Object.defineProperty(L.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(L.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function(B){this._writableState&&(this._writableState.destroyed=B)}}),L.prototype.destroy=u.destroy,L.prototype._undestroy=u.undestroy,L.prototype._destroy=function(B,N){N(B)}},68221:function(T,p,t){var d,g=t(90386);function i(S,_,k){return _ in S?Object.defineProperty(S,_,{value:k,enumerable:!0,configurable:!0,writable:!0}):S[_]=k,S}var M=t(12726),v=Symbol("lastResolve"),f=Symbol("lastReject"),l=Symbol("error"),a=Symbol("ended"),u=Symbol("lastPromise"),o=Symbol("handlePromise"),s=Symbol("stream");function c(S,_){return{value:S,done:_}}function h(S){var _=S[v];if(_!==null){var k=S[s].read();k!==null&&(S[u]=null,S[v]=null,S[f]=null,_(c(k,!1)))}}function m(S){g.nextTick(h,S)}var w=Object.getPrototypeOf(function(){}),y=Object.setPrototypeOf((i(d={get stream(){return this[s]},next:function(){var S=this,_=this[l];if(_!==null)return Promise.reject(_);if(this[a])return Promise.resolve(c(void 0,!0));if(this[s].destroyed)return new Promise(function(A,L){g.nextTick(function(){S[l]?L(S[l]):A(c(void 0,!0))})});var k,E=this[u];if(E)k=new Promise(function(A,L){return function(b,R){A.then(function(){L[a]?b(c(void 0,!0)):L[o](b,R)},R)}}(E,this));else{var x=this[s].read();if(x!==null)return Promise.resolve(c(x,!1));k=new Promise(this[o])}return this[u]=k,k}},Symbol.asyncIterator,function(){return this}),i(d,"return",function(){var S=this;return new Promise(function(_,k){S[s].destroy(null,function(E){E?k(E):_(c(void 0,!0))})})}),d),w);T.exports=function(S){var _,k=Object.create(y,(i(_={},s,{value:S,writable:!0}),i(_,v,{value:null,writable:!0}),i(_,f,{value:null,writable:!0}),i(_,l,{value:null,writable:!0}),i(_,a,{value:S._readableState.endEmitted,writable:!0}),i(_,o,{value:function(E,x){var A=k[s].read();A?(k[u]=null,k[v]=null,k[f]=null,E(c(A,!1))):(k[v]=E,k[f]=x)},writable:!0}),_));return k[u]=null,M(S,function(E){if(E&&E.code!=="ERR_STREAM_PREMATURE_CLOSE"){var x=k[f];return x!==null&&(k[u]=null,k[v]=null,k[f]=null,x(E)),void(k[l]=E)}var A=k[v];A!==null&&(k[u]=null,k[v]=null,k[f]=null,A(c(void 0,!0))),k[a]=!0}),S.on("readable",m.bind(null,k)),k}},31125:function(T,p,t){function d(l,a){var u=Object.keys(l);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(l);a&&(o=o.filter(function(s){return Object.getOwnPropertyDescriptor(l,s).enumerable})),u.push.apply(u,o)}return u}function g(l,a,u){return a in l?Object.defineProperty(l,a,{value:u,enumerable:!0,configurable:!0,writable:!0}):l[a]=u,l}function i(l,a){for(var u=0;u0?this.tail.next=s:this.head=s,this.tail=s,++this.length}},{key:"unshift",value:function(o){var s={data:o,next:this.head};this.length===0&&(this.tail=s),this.head=s,++this.length}},{key:"shift",value:function(){if(this.length!==0){var o=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,o}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(o){if(this.length===0)return"";for(var s=this.head,c=""+s.data;s=s.next;)c+=o+s.data;return c}},{key:"concat",value:function(o){if(this.length===0)return M.alloc(0);for(var s,c,h,m=M.allocUnsafe(o>>>0),w=this.head,y=0;w;)s=w.data,c=m,h=y,M.prototype.copy.call(s,c,h),y+=w.data.length,w=w.next;return m}},{key:"consume",value:function(o,s){var c;return om.length?m.length:o;if(w===m.length?h+=m:h+=m.slice(0,o),(o-=w)==0){w===m.length?(++c,s.next?this.head=s.next:this.head=this.tail=null):(this.head=s,s.data=m.slice(w));break}++c}return this.length-=c,h}},{key:"_getBuffer",value:function(o){var s=M.allocUnsafe(o),c=this.head,h=1;for(c.data.copy(s),o-=c.data.length;c=c.next;){var m=c.data,w=o>m.length?m.length:o;if(m.copy(s,s.length-o,0,w),(o-=w)==0){w===m.length?(++h,c.next?this.head=c.next:this.head=this.tail=null):(this.head=c,c.data=m.slice(w));break}++h}return this.length-=h,s}},{key:f,value:function(o,s){return v(this,function(c){for(var h=1;h0,function(k){h||(h=k),k&&w.forEach(l),_||(w.forEach(l),m(h))})});return s.reduce(a)}},56306:function(T,p,t){var d=t(74322).q.ERR_INVALID_OPT_VALUE;T.exports={getHighWaterMark:function(g,i,M,v){var f=function(l,a,u){return l.highWaterMark!=null?l.highWaterMark:a?l[u]:null}(i,v,M);if(f!=null){if(!isFinite(f)||Math.floor(f)!==f||f<0)throw new d(v?M:"highWaterMark",f);return Math.floor(f)}return g.objectMode?16:16384}}},71405:function(T,p,t){T.exports=t(15398).EventEmitter},68019:function(T,p,t){var d=t(71665).Buffer,g=d.isEncoding||function(c){switch((c=""+c)&&c.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i(c){var h;switch(this.encoding=function(m){var w=function(y){if(!y)return"utf8";for(var S;;)switch(y){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return y;default:if(S)return;y=(""+y).toLowerCase(),S=!0}}(m);if(typeof w!="string"&&(d.isEncoding===g||!g(m)))throw new Error("Unknown encoding: "+m);return w||m}(c),this.encoding){case"utf16le":this.text=f,this.end=l,h=4;break;case"utf8":this.fillLast=v,h=4;break;case"base64":this.text=a,this.end=u,h=3;break;default:return this.write=o,void(this.end=s)}this.lastNeed=0,this.lastTotal=0,this.lastChar=d.allocUnsafe(h)}function M(c){return c<=127?0:c>>5==6?2:c>>4==14?3:c>>3==30?4:c>>6==2?-1:-2}function v(c){var h=this.lastTotal-this.lastNeed,m=function(w,y,S){if((192&y[0])!=128)return w.lastNeed=0,"�";if(w.lastNeed>1&&y.length>1){if((192&y[1])!=128)return w.lastNeed=1,"�";if(w.lastNeed>2&&y.length>2&&(192&y[2])!=128)return w.lastNeed=2,"�"}}(this,c);return m!==void 0?m:this.lastNeed<=c.length?(c.copy(this.lastChar,h,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(c.copy(this.lastChar,h,0,c.length),void(this.lastNeed-=c.length))}function f(c,h){if((c.length-h)%2==0){var m=c.toString("utf16le",h);if(m){var w=m.charCodeAt(m.length-1);if(w>=55296&&w<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=c[c.length-2],this.lastChar[1]=c[c.length-1],m.slice(0,-1)}return m}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=c[c.length-1],c.toString("utf16le",h,c.length-1)}function l(c){var h=c&&c.length?this.write(c):"";if(this.lastNeed){var m=this.lastTotal-this.lastNeed;return h+this.lastChar.toString("utf16le",0,m)}return h}function a(c,h){var m=(c.length-h)%3;return m===0?c.toString("base64",h):(this.lastNeed=3-m,this.lastTotal=3,m===1?this.lastChar[0]=c[c.length-1]:(this.lastChar[0]=c[c.length-2],this.lastChar[1]=c[c.length-1]),c.toString("base64",h,c.length-m))}function u(c){var h=c&&c.length?this.write(c):"";return this.lastNeed?h+this.lastChar.toString("base64",0,3-this.lastNeed):h}function o(c){return c.toString(this.encoding)}function s(c){return c&&c.length?this.write(c):""}p.s=i,i.prototype.write=function(c){if(c.length===0)return"";var h,m;if(this.lastNeed){if((h=this.fillLast(c))===void 0)return"";m=this.lastNeed,this.lastNeed=0}else m=0;return m=0?(E>0&&(y.lastNeed=E-1),E):--k<_||E===-2?0:(E=M(S[k]))>=0?(E>0&&(y.lastNeed=E-2),E):--k<_||E===-2?0:(E=M(S[k]))>=0?(E>0&&(E===2?E=0:y.lastNeed=E-3),E):0}(this,c,h);if(!this.lastNeed)return c.toString("utf8",h);this.lastTotal=m;var w=c.length-(m-this.lastNeed);return c.copy(this.lastChar,0,w),c.toString("utf8",h,w)},i.prototype.fillLast=function(c){if(this.lastNeed<=c.length)return c.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);c.copy(this.lastChar,this.lastTotal-this.lastNeed,0,c.length),this.lastNeed-=c.length}},90715:function(T,p,t){var d=t(32791),g=t(41633)("stream-parser");function i(c){g("initializing parser stream"),c._parserBytesLeft=0,c._parserBuffers=[],c._parserBuffered=0,c._parserState=-1,c._parserCallback=null,typeof c.push=="function"&&(c._parserOutput=c.push.bind(c)),c._parserInit=!0}function M(c,h){d(!this._parserCallback,'there is already a "callback" set!'),d(isFinite(c)&&c>0,'can only buffer a finite number of bytes > 0, got "'+c+'"'),this._parserInit||i(this),g("buffering %o bytes",c),this._parserBytesLeft=c,this._parserCallback=h,this._parserState=0}function v(c,h){d(!this._parserCallback,'there is already a "callback" set!'),d(c>0,'can only skip > 0 bytes, got "'+c+'"'),this._parserInit||i(this),g("skipping %o bytes",c),this._parserBytesLeft=c,this._parserCallback=h,this._parserState=1}function f(c,h){d(!this._parserCallback,'There is already a "callback" set!'),d(c>0,'can only pass through > 0 bytes, got "'+c+'"'),this._parserInit||i(this),g("passing through %o bytes",c),this._parserBytesLeft=c,this._parserCallback=h,this._parserState=2}function l(c,h,m){this._parserInit||i(this),g("write(%o bytes)",c.length),typeof h=="function"&&(m=h),o(this,c,null,m)}function a(c,h,m){this._parserInit||i(this),g("transform(%o bytes)",c.length),typeof h!="function"&&(h=this._parserOutput),o(this,c,h,m)}function u(c,h,m,w){if(c._parserBytesLeft-=h.length,g("%o bytes left for stream piece",c._parserBytesLeft),c._parserState===0?(c._parserBuffers.push(h),c._parserBuffered+=h.length):c._parserState===2&&m(h),c._parserBytesLeft!==0)return w;var y=c._parserCallback;if(y&&c._parserState===0&&c._parserBuffers.length>1&&(h=Buffer.concat(c._parserBuffers,c._parserBuffered)),c._parserState!==0&&(h=null),c._parserCallback=null,c._parserBuffered=0,c._parserState=-1,c._parserBuffers.splice(0),y){var S=[];h&&S.push(h),m&&S.push(m);var _=y.length>S.length;_&&S.push(s(w));var k=y.apply(c,S);if(!_||w===k)return w}}T.exports=function(c){var h=c&&typeof c._transform=="function",m=c&&typeof c._write=="function";if(!h&&!m)throw new Error("must pass a Writable or Transform stream in");g("extending Parser into stream"),c._bytes=M,c._skipBytes=v,h&&(c._passthrough=f),h?c._transform=a:c._write=l};var o=s(function c(h,m,w,y){return h._parserBytesLeft<=0?y(new Error("got data but not currently parsing anything")):m.length<=h._parserBytesLeft?function(){return u(h,m,w,y)}:function(){var S=m.slice(0,h._parserBytesLeft);return u(h,S,w,function(_){return _?y(_):m.length>S.length?function(){return c(h,m.slice(S.length),w,y)}:void 0})}});function s(c){return function(){for(var h=c.apply(this,arguments);typeof h=="function";)h=h();return h}}},41633:function(T,p,t){var d=t(90386);function g(){var i;try{i=p.storage.debug}catch{}return!i&&d!==void 0&&"env"in d&&(i=d.env.DEBUG),i}(p=T.exports=t(74469)).log=function(){return typeof console=="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},p.formatArgs=function(i){var M=this.useColors;if(i[0]=(M?"%c":"")+this.namespace+(M?" %c":" ")+i[0]+(M?"%c ":" ")+"+"+p.humanize(this.diff),M){var v="color: "+this.color;i.splice(1,0,v,"color: inherit");var f=0,l=0;i[0].replace(/%[a-zA-Z%]/g,function(a){a!=="%%"&&(f++,a==="%c"&&(l=f))}),i.splice(l,0,v)}},p.save=function(i){try{i==null?p.storage.removeItem("debug"):p.storage.debug=i}catch{}},p.load=g,p.useColors=function(){return!(typeof window>"u"||!window.process||window.process.type!=="renderer")||typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},p.storage=typeof chrome<"u"&&chrome.storage!==void 0?chrome.storage.local:function(){try{return window.localStorage}catch{}}(),p.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],p.formatters.j=function(i){try{return JSON.stringify(i)}catch(M){return"[UnexpectedJSONParseError]: "+M.message}},p.enable(g())},74469:function(T,p,t){var d;function g(i){function M(){if(M.enabled){var v=M,f=+new Date,l=f-(d||f);v.diff=l,v.prev=d,v.curr=f,d=f;for(var a=new Array(arguments.length),u=0;u0)return function(a){if(!((a=String(a)).length>100)){var u=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(a);if(u){var o=parseFloat(u[1]);switch((u[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*o;case"days":case"day":case"d":return o*g;case"hours":case"hour":case"hrs":case"hr":case"h":return o*d;case"minutes":case"minute":case"mins":case"min":case"m":return o*t;case"seconds":case"second":case"secs":case"sec":case"s":return o*p;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return o;default:return}}}}(M);if(l==="number"&&isNaN(M)===!1)return v.long?i(f=M,g,"day")||i(f,d,"hour")||i(f,t,"minute")||i(f,p,"second")||f+" ms":function(a){return a>=g?Math.round(a/g)+"d":a>=d?Math.round(a/d)+"h":a>=t?Math.round(a/t)+"m":a>=p?Math.round(a/p)+"s":a+"ms"}(M);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(M))}},99011:function(T,p,t){var d=t(88641);T.exports=function(g,i,M){if(g==null)throw Error("First argument should be a string");if(i==null)throw Error("Separator should be a string or a RegExp");M?(typeof M=="string"||Array.isArray(M))&&(M={ignore:M}):M={},M.escape==null&&(M.escape=!0),M.ignore==null?M.ignore=["[]","()","{}","<>",'""',"''","``","“”","«»"]:(typeof M.ignore=="string"&&(M.ignore=[M.ignore]),M.ignore=M.ignore.map(function(s){return s.length===1&&(s+=s),s}));var v=d.parse(g,{flat:!0,brackets:M.ignore}),f=v[0].split(i);if(M.escape){for(var l=[],a=0;a0;){w=S[S.length-1];var _=p[w];if(M[w]<_.length){for(var k=M[w];k<_.length;++k){var E=_[k];if(d[E]<0){d[E]=g[E]=u,i[E]=!0,u+=1,y.push(E),S.push(E);break}i[E]&&(g[w]=0|Math.min(g[w],g[E])),v[E]>=0&&f[w].push(v[E])}M[w]=k}else{if(g[w]===d[w]){var x=[],A=[],L=0;for(k=y.length-1;k>=0;--k){var b=y[k];if(i[b]=!1,x.push(b),A.push(f[b]),L+=f[b].length,v[b]=o.length,b===w){y.length=k;break}}o.push(x);var R=new Array(L);for(k=0;k1&&(u=1),u<-1&&(u=-1),(v*a-f*l<0?-1:1)*Math.acos(u)};p.default=function(v){var f=v.px,l=v.py,a=v.cx,u=v.cy,o=v.rx,s=v.ry,c=v.xAxisRotation,h=c===void 0?0:c,m=v.largeArcFlag,w=m===void 0?0:m,y=v.sweepFlag,S=y===void 0?0:y,_=[];if(o===0||s===0)return[];var k=Math.sin(h*d/360),E=Math.cos(h*d/360),x=E*(f-a)/2+k*(l-u)/2,A=-k*(f-a)/2+E*(l-u)/2;if(x===0&&A===0)return[];o=Math.abs(o),s=Math.abs(s);var L=Math.pow(x,2)/Math.pow(o,2)+Math.pow(A,2)/Math.pow(s,2);L>1&&(o*=Math.sqrt(L),s*=Math.sqrt(L));var b=function(j,$,U,G,q,H,ne,te,Z,X,Q,re){var ie=Math.pow(q,2),oe=Math.pow(H,2),ue=Math.pow(Q,2),ce=Math.pow(re,2),ye=ie*oe-ie*ce-oe*ue;ye<0&&(ye=0),ye/=ie*ce+oe*ue;var de=(ye=Math.sqrt(ye)*(ne===te?-1:1))*q/H*re,me=ye*-H/q*Q,pe=X*de-Z*me+(j+U)/2,xe=Z*de+X*me+($+G)/2,Pe=(Q-de)/q,_e=(re-me)/H,Me=(-Q-de)/q,Se=(-re-me)/H,Ce=M(1,0,Pe,_e),ae=M(Pe,_e,Me,Se);return te===0&&ae>0&&(ae-=d),te===1&&ae<0&&(ae+=d),[pe,xe,Ce,ae]}(f,l,a,u,o,s,w,S,k,E,x,A),R=function(j,$){if(Array.isArray(j))return j;if(Symbol.iterator in Object(j))return function(U,G){var q=[],H=!0,ne=!1,te=void 0;try{for(var Z,X=U[Symbol.iterator]();!(H=(Z=X.next()).done)&&(q.push(Z.value),!G||q.length!==G);H=!0);}catch(Q){ne=!0,te=Q}finally{try{!H&&X.return&&X.return()}finally{if(ne)throw te}}return q}(j,$);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(b,4),I=R[0],O=R[1],z=R[2],F=R[3],B=Math.abs(F)/(d/4);Math.abs(1-B)<1e-7&&(B=1);var N=Math.max(Math.ceil(B),1);F/=N;for(var W=0;Wl[2]&&(l[2]=o[s+0]),o[s+1]>l[3]&&(l[3]=o[s+1]);return l}},29988:function(T,p,t){T.exports=function(M){for(var v,f=[],l=0,a=0,u=0,o=0,s=null,c=null,h=0,m=0,w=0,y=M.length;w4?(l=S[S.length-4],a=S[S.length-3]):(l=h,a=m),f.push(S)}return f};var d=t(7095);function g(M,v,f,l){return["C",M,v,f,l,f,l]}function i(M,v,f,l,a,u){return["C",M/3+.6666666666666666*f,v/3+.6666666666666666*l,a/3+.6666666666666666*f,u/3+.6666666666666666*l,a,u]}},82019:function(T,p,t){var d,g=t(1750),i=t(95616),M=t(31457),v=t(89546),f=t(44781),l=document.createElement("canvas"),a=l.getContext("2d");T.exports=function(u,o){if(!v(u))throw Error("Argument should be valid svg path string");var s,c;o||(o={}),o.shape?(s=o.shape[0],c=o.shape[1]):(s=l.width=o.w||o.width||200,c=l.height=o.h||o.height||200);var h=Math.min(s,c),m=o.stroke||0,w=o.viewbox||o.viewBox||g(u),y=[s/(w[2]-w[0]),c/(w[3]-w[1])],S=Math.min(y[0]||0,y[1]||0)/2;if(a.fillStyle="black",a.fillRect(0,0,s,c),a.fillStyle="white",m&&(typeof m!="number"&&(m=1),a.strokeStyle=m>0?"white":"black",a.lineWidth=Math.abs(m)),a.translate(.5*s,.5*c),a.scale(S,S),function(){if(d!=null)return d;var E=document.createElement("canvas").getContext("2d");if(E.canvas.width=E.canvas.height=1,!window.Path2D)return d=!1;var x=new Path2D("M0,0h1v1h-1v-1Z");E.fillStyle="black",E.fill(x);var A=E.getImageData(0,0,1,1);return d=A&&A.data&&A.data[3]===255}()){var _=new Path2D(u);a.fill(_),m&&a.stroke(_)}else{var k=i(u);M(a,k),a.fill(),m&&a.stroke()}return a.setTransform(1,0,0,1,0,0),f(a,{cutoff:o.cutoff!=null?o.cutoff:.5,radius:o.radius!=null?o.radius:.5*h})}},84267:function(T,p,t){var d;(function(g){var i=/^\s+/,M=/\s+$/,v=0,f=g.round,l=g.min,a=g.max,u=g.random;function o(Q,re){if(re=re||{},(Q=Q||"")instanceof o)return Q;if(!(this instanceof o))return new o(Q,re);var ie=function(oe){var ue,ce,ye,de={r:0,g:0,b:0},me=1,pe=null,xe=null,Pe=null,_e=!1,Me=!1;return typeof oe=="string"&&(oe=function(Se){Se=Se.replace(i,"").replace(M,"").toLowerCase();var Ce,ae=!1;if(z[Se])Se=z[Se],ae=!0;else if(Se=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};return(Ce=Z.rgb.exec(Se))?{r:Ce[1],g:Ce[2],b:Ce[3]}:(Ce=Z.rgba.exec(Se))?{r:Ce[1],g:Ce[2],b:Ce[3],a:Ce[4]}:(Ce=Z.hsl.exec(Se))?{h:Ce[1],s:Ce[2],l:Ce[3]}:(Ce=Z.hsla.exec(Se))?{h:Ce[1],s:Ce[2],l:Ce[3],a:Ce[4]}:(Ce=Z.hsv.exec(Se))?{h:Ce[1],s:Ce[2],v:Ce[3]}:(Ce=Z.hsva.exec(Se))?{h:Ce[1],s:Ce[2],v:Ce[3],a:Ce[4]}:(Ce=Z.hex8.exec(Se))?{r:j(Ce[1]),g:j(Ce[2]),b:j(Ce[3]),a:q(Ce[4]),format:ae?"name":"hex8"}:(Ce=Z.hex6.exec(Se))?{r:j(Ce[1]),g:j(Ce[2]),b:j(Ce[3]),format:ae?"name":"hex"}:(Ce=Z.hex4.exec(Se))?{r:j(Ce[1]+""+Ce[1]),g:j(Ce[2]+""+Ce[2]),b:j(Ce[3]+""+Ce[3]),a:q(Ce[4]+""+Ce[4]),format:ae?"name":"hex8"}:!!(Ce=Z.hex3.exec(Se))&&{r:j(Ce[1]+""+Ce[1]),g:j(Ce[2]+""+Ce[2]),b:j(Ce[3]+""+Ce[3]),format:ae?"name":"hex"}}(oe)),typeof oe=="object"&&(X(oe.r)&&X(oe.g)&&X(oe.b)?(ue=oe.r,ce=oe.g,ye=oe.b,de={r:255*N(ue,255),g:255*N(ce,255),b:255*N(ye,255)},_e=!0,Me=String(oe.r).substr(-1)==="%"?"prgb":"rgb"):X(oe.h)&&X(oe.s)&&X(oe.v)?(pe=U(oe.s),xe=U(oe.v),de=function(Se,Ce,ae){Se=6*N(Se,360),Ce=N(Ce,100),ae=N(ae,100);var fe=g.floor(Se),be=Se-fe,ke=ae*(1-Ce),Le=ae*(1-be*Ce),Be=ae*(1-(1-be)*Ce),ze=fe%6;return{r:255*[ae,Le,ke,ke,Be,ae][ze],g:255*[Be,ae,ae,Le,ke,ke][ze],b:255*[ke,ke,Be,ae,ae,Le][ze]}}(oe.h,pe,xe),_e=!0,Me="hsv"):X(oe.h)&&X(oe.s)&&X(oe.l)&&(pe=U(oe.s),Pe=U(oe.l),de=function(Se,Ce,ae){var fe,be,ke;function Le(je,ge,we){return we<0&&(we+=1),we>1&&(we-=1),we<1/6?je+6*(ge-je)*we:we<.5?ge:we<2/3?je+(ge-je)*(2/3-we)*6:je}if(Se=N(Se,360),Ce=N(Ce,100),ae=N(ae,100),Ce===0)fe=be=ke=ae;else{var Be=ae<.5?ae*(1+Ce):ae+Ce-ae*Ce,ze=2*ae-Be;fe=Le(ze,Be,Se+1/3),be=Le(ze,Be,Se),ke=Le(ze,Be,Se-1/3)}return{r:255*fe,g:255*be,b:255*ke}}(oe.h,pe,Pe),_e=!0,Me="hsl"),oe.hasOwnProperty("a")&&(me=oe.a)),me=B(me),{ok:_e,format:oe.format||Me,r:l(255,a(de.r,0)),g:l(255,a(de.g,0)),b:l(255,a(de.b,0)),a:me}}(Q);this._originalInput=Q,this._r=ie.r,this._g=ie.g,this._b=ie.b,this._a=ie.a,this._roundA=f(100*this._a)/100,this._format=re.format||ie.format,this._gradientType=re.gradientType,this._r<1&&(this._r=f(this._r)),this._g<1&&(this._g=f(this._g)),this._b<1&&(this._b=f(this._b)),this._ok=ie.ok,this._tc_id=v++}function s(Q,re,ie){Q=N(Q,255),re=N(re,255),ie=N(ie,255);var oe,ue,ce=a(Q,re,ie),ye=l(Q,re,ie),de=(ce+ye)/2;if(ce==ye)oe=ue=0;else{var me=ce-ye;switch(ue=de>.5?me/(2-ce-ye):me/(ce+ye),ce){case Q:oe=(re-ie)/me+(re>1)+720)%360;--re;)oe.h=(oe.h+ue)%360,ce.push(o(oe));return ce}function O(Q,re){re=re||6;for(var ie=o(Q).toHsv(),oe=ie.h,ue=ie.s,ce=ie.v,ye=[],de=1/re;re--;)ye.push(o({h:oe,s:ue,v:ce})),ce=(ce+de)%1;return ye}o.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var Q=this.toRgb();return(299*Q.r+587*Q.g+114*Q.b)/1e3},getLuminance:function(){var Q,re,ie,oe=this.toRgb();return Q=oe.r/255,re=oe.g/255,ie=oe.b/255,.2126*(Q<=.03928?Q/12.92:g.pow((Q+.055)/1.055,2.4))+.7152*(re<=.03928?re/12.92:g.pow((re+.055)/1.055,2.4))+.0722*(ie<=.03928?ie/12.92:g.pow((ie+.055)/1.055,2.4))},setAlpha:function(Q){return this._a=B(Q),this._roundA=f(100*this._a)/100,this},toHsv:function(){var Q=c(this._r,this._g,this._b);return{h:360*Q.h,s:Q.s,v:Q.v,a:this._a}},toHsvString:function(){var Q=c(this._r,this._g,this._b),re=f(360*Q.h),ie=f(100*Q.s),oe=f(100*Q.v);return this._a==1?"hsv("+re+", "+ie+"%, "+oe+"%)":"hsva("+re+", "+ie+"%, "+oe+"%, "+this._roundA+")"},toHsl:function(){var Q=s(this._r,this._g,this._b);return{h:360*Q.h,s:Q.s,l:Q.l,a:this._a}},toHslString:function(){var Q=s(this._r,this._g,this._b),re=f(360*Q.h),ie=f(100*Q.s),oe=f(100*Q.l);return this._a==1?"hsl("+re+", "+ie+"%, "+oe+"%)":"hsla("+re+", "+ie+"%, "+oe+"%, "+this._roundA+")"},toHex:function(Q){return h(this._r,this._g,this._b,Q)},toHexString:function(Q){return"#"+this.toHex(Q)},toHex8:function(Q){return function(re,ie,oe,ue,ce){var ye=[$(f(re).toString(16)),$(f(ie).toString(16)),$(f(oe).toString(16)),$(G(ue))];return ce&&ye[0].charAt(0)==ye[0].charAt(1)&&ye[1].charAt(0)==ye[1].charAt(1)&&ye[2].charAt(0)==ye[2].charAt(1)&&ye[3].charAt(0)==ye[3].charAt(1)?ye[0].charAt(0)+ye[1].charAt(0)+ye[2].charAt(0)+ye[3].charAt(0):ye.join("")}(this._r,this._g,this._b,this._a,Q)},toHex8String:function(Q){return"#"+this.toHex8(Q)},toRgb:function(){return{r:f(this._r),g:f(this._g),b:f(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+f(this._r)+", "+f(this._g)+", "+f(this._b)+")":"rgba("+f(this._r)+", "+f(this._g)+", "+f(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:f(100*N(this._r,255))+"%",g:f(100*N(this._g,255))+"%",b:f(100*N(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+f(100*N(this._r,255))+"%, "+f(100*N(this._g,255))+"%, "+f(100*N(this._b,255))+"%)":"rgba("+f(100*N(this._r,255))+"%, "+f(100*N(this._g,255))+"%, "+f(100*N(this._b,255))+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":!(this._a<1)&&(F[h(this._r,this._g,this._b,!0)]||!1)},toFilter:function(Q){var re="#"+m(this._r,this._g,this._b,this._a),ie=re,oe=this._gradientType?"GradientType = 1, ":"";if(Q){var ue=o(Q);ie="#"+m(ue._r,ue._g,ue._b,ue._a)}return"progid:DXImageTransform.Microsoft.gradient("+oe+"startColorstr="+re+",endColorstr="+ie+")"},toString:function(Q){var re=!!Q;Q=Q||this._format;var ie=!1,oe=this._a<1&&this._a>=0;return re||!oe||Q!=="hex"&&Q!=="hex6"&&Q!=="hex3"&&Q!=="hex4"&&Q!=="hex8"&&Q!=="name"?(Q==="rgb"&&(ie=this.toRgbString()),Q==="prgb"&&(ie=this.toPercentageRgbString()),Q!=="hex"&&Q!=="hex6"||(ie=this.toHexString()),Q==="hex3"&&(ie=this.toHexString(!0)),Q==="hex4"&&(ie=this.toHex8String(!0)),Q==="hex8"&&(ie=this.toHex8String()),Q==="name"&&(ie=this.toName()),Q==="hsl"&&(ie=this.toHslString()),Q==="hsv"&&(ie=this.toHsvString()),ie||this.toHexString()):Q==="name"&&this._a===0?this.toName():this.toRgbString()},clone:function(){return o(this.toString())},_applyModification:function(Q,re){var ie=Q.apply(null,[this].concat([].slice.call(re)));return this._r=ie._r,this._g=ie._g,this._b=ie._b,this.setAlpha(ie._a),this},lighten:function(){return this._applyModification(_,arguments)},brighten:function(){return this._applyModification(k,arguments)},darken:function(){return this._applyModification(E,arguments)},desaturate:function(){return this._applyModification(w,arguments)},saturate:function(){return this._applyModification(y,arguments)},greyscale:function(){return this._applyModification(S,arguments)},spin:function(){return this._applyModification(x,arguments)},_applyCombination:function(Q,re){return Q.apply(null,[this].concat([].slice.call(re)))},analogous:function(){return this._applyCombination(I,arguments)},complement:function(){return this._applyCombination(A,arguments)},monochromatic:function(){return this._applyCombination(O,arguments)},splitcomplement:function(){return this._applyCombination(R,arguments)},triad:function(){return this._applyCombination(L,arguments)},tetrad:function(){return this._applyCombination(b,arguments)}},o.fromRatio=function(Q,re){if(typeof Q=="object"){var ie={};for(var oe in Q)Q.hasOwnProperty(oe)&&(ie[oe]=oe==="a"?Q[oe]:U(Q[oe]));Q=ie}return o(Q,re)},o.equals=function(Q,re){return!(!Q||!re)&&o(Q).toRgbString()==o(re).toRgbString()},o.random=function(){return o.fromRatio({r:u(),g:u(),b:u()})},o.mix=function(Q,re,ie){ie=ie===0?0:ie||50;var oe=o(Q).toRgb(),ue=o(re).toRgb(),ce=ie/100;return o({r:(ue.r-oe.r)*ce+oe.r,g:(ue.g-oe.g)*ce+oe.g,b:(ue.b-oe.b)*ce+oe.b,a:(ue.a-oe.a)*ce+oe.a})},o.readability=function(Q,re){var ie=o(Q),oe=o(re);return(g.max(ie.getLuminance(),oe.getLuminance())+.05)/(g.min(ie.getLuminance(),oe.getLuminance())+.05)},o.isReadable=function(Q,re,ie){var oe,ue,ce,ye,de,me=o.readability(Q,re);switch(ue=!1,(ce=ie,(ye=((ce=ce||{level:"AA",size:"small"}).level||"AA").toUpperCase())!=="AA"&&ye!=="AAA"&&(ye="AA"),(de=(ce.size||"small").toLowerCase())!=="small"&&de!=="large"&&(de="small"),oe={level:ye,size:de}).level+oe.size){case"AAsmall":case"AAAlarge":ue=me>=4.5;break;case"AAlarge":ue=me>=3;break;case"AAAsmall":ue=me>=7}return ue},o.mostReadable=function(Q,re,ie){var oe,ue,ce,ye,de=null,me=0;ue=(ie=ie||{}).includeFallbackColors,ce=ie.level,ye=ie.size;for(var pe=0;peme&&(me=oe,de=o(re[pe]));return o.isReadable(Q,de,{level:ce,size:ye})||!ue?de:(ie.includeFallbackColors=!1,o.mostReadable(Q,["#fff","#000"],ie))};var z=o.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},F=o.hexNames=function(Q){var re={};for(var ie in Q)Q.hasOwnProperty(ie)&&(re[Q[ie]]=ie);return re}(z);function B(Q){return Q=parseFloat(Q),(isNaN(Q)||Q<0||Q>1)&&(Q=1),Q}function N(Q,re){(function(oe){return typeof oe=="string"&&oe.indexOf(".")!=-1&&parseFloat(oe)===1})(Q)&&(Q="100%");var ie=function(oe){return typeof oe=="string"&&oe.indexOf("%")!=-1}(Q);return Q=l(re,a(0,parseFloat(Q))),ie&&(Q=parseInt(Q*re,10)/100),g.abs(Q-re)<1e-6?1:Q%re/parseFloat(re)}function W(Q){return l(1,a(0,Q))}function j(Q){return parseInt(Q,16)}function $(Q){return Q.length==1?"0"+Q:""+Q}function U(Q){return Q<=1&&(Q=100*Q+"%"),Q}function G(Q){return g.round(255*parseFloat(Q)).toString(16)}function q(Q){return j(Q)/255}var H,ne,te,Z=(ne="[\\s|\\(]+("+(H="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",te="[\\s|\\(]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",{CSS_UNIT:new RegExp(H),rgb:new RegExp("rgb"+ne),rgba:new RegExp("rgba"+te),hsl:new RegExp("hsl"+ne),hsla:new RegExp("hsla"+te),hsv:new RegExp("hsv"+ne),hsva:new RegExp("hsva"+te),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function X(Q){return!!Z.CSS_UNIT.exec(Q)}T.exports?T.exports=o:(d=(function(){return o}).call(p,t,p,T))===void 0||(T.exports=d)})(Math)},57060:function(T){T.exports=t,T.exports.float32=T.exports.float=t,T.exports.fract32=T.exports.fract=function(d,g){if(d.length){if(d instanceof Float32Array)return new Float32Array(d.length);g instanceof Float32Array||(g=t(d));for(var i=0,M=g.length;i":(M.length>100&&(M=M.slice(0,99)+"…"),M=M.replace(g,function(v){switch(v){case` +`:return"\\n";case"\r":return"\\r";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("Unexpected character")}}))}},47403:function(T,p,t){var d=t(24582),g={object:!0,function:!0,undefined:!0};T.exports=function(i){return!!d(i)&&hasOwnProperty.call(g,typeof i)}},82527:function(T,p,t){var d=t(69190),g=t(84985);T.exports=function(i){return g(i)?i:d(i,"%v is not a plain function",arguments[1])}},84985:function(T,p,t){var d=t(73116),g=/^\s*class[\s{/}]/,i=Function.prototype.toString;T.exports=function(M){return!!d(M)&&!g.test(i.call(M))}},24511:function(T,p,t){var d=t(47403);T.exports=function(g){if(!d(g))return!1;try{return!!g.constructor&&g.constructor.prototype===g}catch{return!1}}},9234:function(T,p,t){var d=t(24582),g=t(47403),i=Object.prototype.toString;T.exports=function(M){if(!d(M))return null;if(g(M)){var v=M.toString;if(typeof v!="function"||v===i)return null}try{return""+M}catch{return null}}},10424:function(T,p,t){var d=t(69190),g=t(24582);T.exports=function(i){return g(i)?i:d(i,"Cannot use %v",arguments[1])}},24582:function(T){T.exports=function(p){return p!=null}},58404:function(T,p,t){var d=t(13547),g=t(12129),i=t(12856).Buffer;t.g.__TYPEDARRAY_POOL||(t.g.__TYPEDARRAY_POOL={UINT8:g([32,0]),UINT16:g([32,0]),UINT32:g([32,0]),BIGUINT64:g([32,0]),INT8:g([32,0]),INT16:g([32,0]),INT32:g([32,0]),BIGINT64:g([32,0]),FLOAT:g([32,0]),DOUBLE:g([32,0]),DATA:g([32,0]),UINT8C:g([32,0]),BUFFER:g([32,0])});var M=typeof Uint8ClampedArray<"u",v=typeof BigUint64Array<"u",f=typeof BigInt64Array<"u",l=t.g.__TYPEDARRAY_POOL;l.UINT8C||(l.UINT8C=g([32,0])),l.BIGUINT64||(l.BIGUINT64=g([32,0])),l.BIGINT64||(l.BIGINT64=g([32,0])),l.BUFFER||(l.BUFFER=g([32,0]));var a=l.DATA,u=l.BUFFER;function o(R){if(R){var I=R.length||R.byteLength,O=d.log2(I);a[O].push(R)}}function s(R){R=d.nextPow2(R);var I=d.log2(R),O=a[I];return O.length>0?O.pop():new ArrayBuffer(R)}function c(R){return new Uint8Array(s(R),0,R)}function h(R){return new Uint16Array(s(2*R),0,R)}function m(R){return new Uint32Array(s(4*R),0,R)}function w(R){return new Int8Array(s(R),0,R)}function y(R){return new Int16Array(s(2*R),0,R)}function S(R){return new Int32Array(s(4*R),0,R)}function _(R){return new Float32Array(s(4*R),0,R)}function k(R){return new Float64Array(s(8*R),0,R)}function E(R){return M?new Uint8ClampedArray(s(R),0,R):c(R)}function x(R){return v?new BigUint64Array(s(8*R),0,R):null}function A(R){return f?new BigInt64Array(s(8*R),0,R):null}function L(R){return new DataView(s(R),0,R)}function b(R){R=d.nextPow2(R);var I=d.log2(R),O=u[I];return O.length>0?O.pop():new i(R)}p.free=function(R){if(i.isBuffer(R))u[d.log2(R.length)].push(R);else{if(Object.prototype.toString.call(R)!=="[object ArrayBuffer]"&&(R=R.buffer),!R)return;var I=R.length||R.byteLength,O=0|d.log2(I);a[O].push(R)}},p.freeUint8=p.freeUint16=p.freeUint32=p.freeBigUint64=p.freeInt8=p.freeInt16=p.freeInt32=p.freeBigInt64=p.freeFloat32=p.freeFloat=p.freeFloat64=p.freeDouble=p.freeUint8Clamped=p.freeDataView=function(R){o(R.buffer)},p.freeArrayBuffer=o,p.freeBuffer=function(R){u[d.log2(R.length)].push(R)},p.malloc=function(R,I){if(I===void 0||I==="arraybuffer")return s(R);switch(I){case"uint8":return c(R);case"uint16":return h(R);case"uint32":return m(R);case"int8":return w(R);case"int16":return y(R);case"int32":return S(R);case"float":case"float32":return _(R);case"double":case"float64":return k(R);case"uint8_clamped":return E(R);case"bigint64":return A(R);case"biguint64":return x(R);case"buffer":return b(R);case"data":case"dataview":return L(R);default:return null}return null},p.mallocArrayBuffer=s,p.mallocUint8=c,p.mallocUint16=h,p.mallocUint32=m,p.mallocInt8=w,p.mallocInt16=y,p.mallocInt32=S,p.mallocFloat32=p.mallocFloat=_,p.mallocFloat64=p.mallocDouble=k,p.mallocUint8Clamped=E,p.mallocBigUint64=x,p.mallocBigInt64=A,p.mallocDataView=L,p.mallocBuffer=b,p.clearCache=function(){for(var R=0;R<32;++R)l.UINT8[R].length=0,l.UINT16[R].length=0,l.UINT32[R].length=0,l.INT8[R].length=0,l.INT16[R].length=0,l.INT32[R].length=0,l.FLOAT[R].length=0,l.DOUBLE[R].length=0,l.BIGUINT64[R].length=0,l.BIGINT64[R].length=0,l.UINT8C[R].length=0,a[R].length=0,u[R].length=0}},90448:function(T){var p=/[\'\"]/;T.exports=function(t){return t?(p.test(t.charAt(0))&&(t=t.substr(1)),p.test(t.charAt(t.length-1))&&(t=t.substr(0,t.length-1)),t):""}},93447:function(T){T.exports=function(p,t,d){Array.isArray(d)||(d=[].slice.call(arguments,2));for(var g=0,i=d.length;g=U)return H;switch(H){case"%s":return String($[j++]);case"%d":return Number($[j++]);case"%j":try{return JSON.stringify($[j++])}catch{return"[Circular]"}default:return H}}),q=$[j];j=3&&(j.depth=arguments[2]),arguments.length>=4&&(j.colors=arguments[3]),m(W)?j.showHidden=W:W&&p._extend(j,W),_(j.showHidden)&&(j.showHidden=!1),_(j.depth)&&(j.depth=2),_(j.colors)&&(j.colors=!1),_(j.customInspect)&&(j.customInspect=!0),j.colors&&(j.stylize=a),o(j,N,j.depth)}function a(N,W){var j=l.styles[W];return j?"\x1B["+l.colors[j][0]+"m"+N+"\x1B["+l.colors[j][1]+"m":N}function u(N,W){return N}function o(N,W,j){if(N.customInspect&&W&&L(W.inspect)&&W.inspect!==p.inspect&&(!W.constructor||W.constructor.prototype!==W)){var $=W.inspect(j,N);return S($)||($=o(N,$,j)),$}var U=function(Q,re){if(_(re))return Q.stylize("undefined","undefined");if(S(re)){var ie="'"+JSON.stringify(re).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Q.stylize(ie,"string")}return y(re)?Q.stylize(""+re,"number"):m(re)?Q.stylize(""+re,"boolean"):w(re)?Q.stylize("null","null"):void 0}(N,W);if(U)return U;var G=Object.keys(W),q=function(Q){var re={};return Q.forEach(function(ie,oe){re[ie]=!0}),re}(G);if(N.showHidden&&(G=Object.getOwnPropertyNames(W)),A(W)&&(G.indexOf("message")>=0||G.indexOf("description")>=0))return s(W);if(G.length===0){if(L(W)){var H=W.name?": "+W.name:"";return N.stylize("[Function"+H+"]","special")}if(k(W))return N.stylize(RegExp.prototype.toString.call(W),"regexp");if(x(W))return N.stylize(Date.prototype.toString.call(W),"date");if(A(W))return s(W)}var ne,te="",Z=!1,X=["{","}"];return h(W)&&(Z=!0,X=["[","]"]),L(W)&&(te=" [Function"+(W.name?": "+W.name:"")+"]"),k(W)&&(te=" "+RegExp.prototype.toString.call(W)),x(W)&&(te=" "+Date.prototype.toUTCString.call(W)),A(W)&&(te=" "+s(W)),G.length!==0||Z&&W.length!=0?j<0?k(W)?N.stylize(RegExp.prototype.toString.call(W),"regexp"):N.stylize("[Object]","special"):(N.seen.push(W),ne=Z?function(Q,re,ie,oe,ue){for(var ce=[],ye=0,de=re.length;ye60?ie[0]+(re===""?"":re+` `)+" "+Q.join(`, - `)+" "+ie[1]:ie[0]+re+" "+Q.join(", ")+" "+ie[1]}(ne,te,X)):X[0]+te+X[1]}function o(N){return"["+Error.prototype.toString.call(N)+"]"}function c(N,W,j,Y,U,G){var q,H,ne;if((ne=Object.getOwnPropertyDescriptor(W,U)||{value:W[U]}).get?H=ne.set?N.stylize("[Getter/Setter]","special"):N.stylize("[Getter]","special"):ne.set&&(H=N.stylize("[Setter]","special")),z(Y,U)||(q="["+U+"]"),H||(N.seen.indexOf(ne.value)<0?(H=w(j)?s(N,ne.value,null):s(N,ne.value,j-1)).indexOf(` + `)+" "+ie[1]:ie[0]+re+" "+Q.join(", ")+" "+ie[1]}(ne,te,X)):X[0]+te+X[1]}function s(N){return"["+Error.prototype.toString.call(N)+"]"}function c(N,W,j,$,U,G){var q,H,ne;if((ne=Object.getOwnPropertyDescriptor(W,U)||{value:W[U]}).get?H=ne.set?N.stylize("[Getter/Setter]","special"):N.stylize("[Getter]","special"):ne.set&&(H=N.stylize("[Setter]","special")),z($,U)||(q="["+U+"]"),H||(N.seen.indexOf(ne.value)<0?(H=w(j)?o(N,ne.value,null):o(N,ne.value,j-1)).indexOf(` `)>-1&&(H=G?H.split(` `).map(function(te){return" "+te}).join(` `).slice(2):` `+H.split(` `).map(function(te){return" "+te}).join(` -`)):H=N.stylize("[Circular]","special")),x(q)){if(G&&U.match(/^\d+$/))return H;(q=JSON.stringify(""+U)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(q=q.slice(1,-1),q=N.stylize(q,"name")):(q=q.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),q=N.stylize(q,"string"))}return q+": "+H}function f(N){return Array.isArray(N)}function p(N){return typeof N=="boolean"}function w(N){return N===null}function g(N){return typeof N=="number"}function S(N){return typeof N=="string"}function x(N){return N===void 0}function T(N){return E(N)&&b(N)==="[object RegExp]"}function E(N){return typeof N=="object"&&N!==null}function _(N){return E(N)&&b(N)==="[object Date]"}function A(N){return E(N)&&(b(N)==="[object Error]"||N instanceof Error)}function L(N){return typeof N=="function"}function b(N){return Object.prototype.toString.call(N)}function R(N){return N<10?"0"+N.toString(10):N.toString(10)}m.debuglog=function(N){if(N=N.toUpperCase(),!M[N])if(v.test(N)){var W=d.pid;M[N]=function(){var j=m.format.apply(m,arguments);console.error("%s %d: %s",N,W,j)}}else M[N]=function(){};return M[N]},m.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},m.types=t(4936),m.isArray=f,m.isBoolean=p,m.isNull=w,m.isNullOrUndefined=function(N){return N==null},m.isNumber=g,m.isString=S,m.isSymbol=function(N){return typeof N=="symbol"},m.isUndefined=x,m.isRegExp=T,m.types.isRegExp=T,m.isObject=E,m.isDate=_,m.types.isDate=_,m.isError=A,m.types.isNativeError=A,m.isFunction=L,m.isPrimitive=function(N){return N===null||typeof N=="boolean"||typeof N=="number"||typeof N=="string"||typeof N=="symbol"||N===void 0},m.isBuffer=t(45920);var I=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function O(){var N=new Date,W=[R(N.getHours()),R(N.getMinutes()),R(N.getSeconds())].join(":");return[N.getDate(),I[N.getMonth()],W].join(" ")}function z(N,W){return Object.prototype.hasOwnProperty.call(N,W)}m.log=function(){console.log("%s - %s",O(),m.format.apply(m,arguments))},m.inherits=t(42018),m._extend=function(N,W){if(!W||!E(W))return N;for(var j=Object.keys(W),Y=j.length;Y--;)N[j[Y]]=W[j[Y]];return N};var F=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;function B(N,W){if(!N){var j=new Error("Promise was rejected with a falsy value");j.reason=N,N=j}return W(N)}m.promisify=function(N){if(typeof N!="function")throw new TypeError('The "original" argument must be of type Function');if(F&&N[F]){var W;if(typeof(W=N[F])!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(W,F,{value:W,enumerable:!1,writable:!1,configurable:!0}),W}function W(){for(var j,Y,U=new Promise(function(H,ne){j=H,Y=ne}),G=[],q=0;q"u"?t.g:globalThis,a=y(),u=i("String.prototype.slice"),s={},o=Object.getPrototypeOf;h&&M&&o&&d(a,function(f){if(typeof l[f]=="function"){var p=new l[f];if(Symbol.toStringTag in p){var w=o(p),g=M(w,Symbol.toStringTag);if(!g){var S=o(w);g=M(S,Symbol.toStringTag)}s[f]=g.get}}});var c=t(9187);k.exports=function(f){return!!c(f)&&(h&&Symbol.toStringTag in f?function(p){var w=!1;return d(s,function(g,S){if(!w)try{var x=g.call(p);x===S&&(w=x)}catch{}}),w}(f):u(v(f),8,-1))}},3961:function(k,m,t){var d=t(63489),y=t(56131),i=d.instance();function M(o){this.local=this.regionalOptions[o||""]||this.regionalOptions[""]}M.prototype=new d.baseCalendar,y(M.prototype,{name:"Chinese",jdEpoch:17214255e-1,hasYearZero:!1,minMonth:0,firstMonth:0,minDay:1,regionalOptions:{"":{name:"Chinese",epochs:["BEC","EC"],monthNumbers:function(o,c){if(typeof o=="string"){var f=o.match(h);return f?f[0]:""}var p=this._validateYear(o),w=o.month(),g=""+this.toChineseMonth(p,w);return c&&g.length<2&&(g="0"+g),this.isIntercalaryMonth(p,w)&&(g+="i"),g},monthNames:function(o){if(typeof o=="string"){var c=o.match(l);return c?c[0]:""}var f=this._validateYear(o),p=o.month(),w=["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"][this.toChineseMonth(f,p)-1];return this.isIntercalaryMonth(f,p)&&(w="闰"+w),w},monthNamesShort:function(o){if(typeof o=="string"){var c=o.match(a);return c?c[0]:""}var f=this._validateYear(o),p=o.month(),w=["一","二","三","四","五","六","七","八","九","十","十一","十二"][this.toChineseMonth(f,p)-1];return this.isIntercalaryMonth(f,p)&&(w="闰"+w),w},parseMonth:function(o,c){o=this._validateYear(o);var f,p=parseInt(c);if(isNaN(p))c[0]==="闰"&&(f=!0,c=c.substring(1)),c[c.length-1]==="月"&&(c=c.substring(0,c.length-1)),p=1+["一","二","三","四","五","六","七","八","九","十","十一","十二"].indexOf(c);else{var w=c[c.length-1];f=w==="i"||w==="I"}return this.toMonthIndex(o,p,f)},dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:1,isRTL:!1}},_validateYear:function(o,c){if(o.year&&(o=o.year()),typeof o!="number"||o<1888||o>2111)throw c.replace(/\{0\}/,this.local.name);return o},toMonthIndex:function(o,c,f){var p=this.intercalaryMonth(o);if(f&&c!==p||c<1||c>12)throw d.local.invalidMonth.replace(/\{0\}/,this.local.name);return p?!f&&c<=p?c-1:c:c-1},toChineseMonth:function(o,c){o.year&&(c=(o=o.year()).month());var f=this.intercalaryMonth(o);if(c<0||c>(f?12:11))throw d.local.invalidMonth.replace(/\{0\}/,this.local.name);return f?c>13},isIntercalaryMonth:function(o,c){o.year&&(c=(o=o.year()).month());var f=this.intercalaryMonth(o);return!!f&&f===c},leapYear:function(o){return this.intercalaryMonth(o)!==0},weekOfYear:function(o,c,f){var p,w=this._validateYear(o,d.local.invalidyear),g=s[w-s[0]],S=g>>9&4095,x=g>>5&15,T=31&g;(p=i.newDate(S,x,T)).add(4-(p.dayOfWeek()||7),"d");var E=this.toJD(o,c,f)-p.toJD();return 1+Math.floor(E/7)},monthsInYear:function(o){return this.leapYear(o)?13:12},daysInMonth:function(o,c){o.year&&(c=o.month(),o=o.year()),o=this._validateYear(o);var f=u[o-u[0]];if(c>(f>>13?12:11))throw d.local.invalidMonth.replace(/\{0\}/,this.local.name);return f&1<<12-c?30:29},weekDay:function(o,c,f){return(this.dayOfWeek(o,c,f)||7)<6},toJD:function(o,c,f){var p=this._validate(o,g,f,d.local.invalidDate);o=this._validateYear(p.year()),c=p.month(),f=p.day();var w=this.isIntercalaryMonth(o,c),g=this.toChineseMonth(o,c),S=function(x,T,E,_,A){var L,b,R;if(typeof x=="object")b=x,L=T||{};else{var I;if(!(typeof x=="number"&&x>=1888&&x<=2111))throw new Error("Lunar year outside range 1888-2111");if(!(typeof T=="number"&&T>=1&&T<=12))throw new Error("Lunar month outside range 1 - 12");if(!(typeof E=="number"&&E>=1&&E<=30))throw new Error("Lunar day outside range 1 - 30");typeof _=="object"?(I=!1,L=_):(I=!!_,L={}),b={year:x,month:T,day:E,isIntercalary:I}}R=b.day-1;var O,z=u[b.year-u[0]],F=z>>13;O=F&&(b.month>F||b.isIntercalary)?b.month:b.month-1;for(var B=0;B>9&4095,(N>>5&15)-1,(31&N)+R);return L.year=W.getFullYear(),L.month=1+W.getMonth(),L.day=W.getDate(),L}(o,g,f,w);return i.toJD(S.year,S.month,S.day)},fromJD:function(o){var c=i.fromJD(o),f=function(w,g,S,x){var T,E;if(typeof w=="object")T=w,E=g||{};else{if(!(typeof w=="number"&&w>=1888&&w<=2111))throw new Error("Solar year outside range 1888-2111");if(!(typeof g=="number"&&g>=1&&g<=12))throw new Error("Solar month outside range 1 - 12");if(!(typeof S=="number"&&S>=1&&S<=31))throw new Error("Solar day outside range 1 - 31");T={year:w,month:g,day:S},E={}}var _=s[T.year-s[0]],A=T.year<<9|T.month<<5|T.day;E.year=A>=_?T.year:T.year-1,_=s[E.year-s[0]];var L,b=new Date(_>>9&4095,(_>>5&15)-1,31&_),R=new Date(T.year,T.month-1,T.day);L=Math.round((R-b)/864e5);var I,O=u[E.year-u[0]];for(I=0;I<13;I++){var z=O&1<<12-I?30:29;if(L>13;return!F||I=2&&a<=6},extraInfo:function(v,h,l){var a=this._validate(v,h,l,d.local.invalidDate);return{century:M[Math.floor((a.year()-1)/100)+1]||""}},toJD:function(v,h,l){var a=this._validate(v,h,l,d.local.invalidDate);return v=a.year()+(a.year()<0?1:0),h=a.month(),(l=a.day())+(h>1?16:0)+(h>2?32*(h-2):0)+400*(v-1)+this.jdEpoch-1},fromJD:function(v){v=Math.floor(v+.5)-Math.floor(this.jdEpoch)-1;var h=Math.floor(v/400)+1;v-=400*(h-1),v+=v>15?16:0;var l=Math.floor(v/32)+1,a=v-32*(l-1)+1;return this.newDate(h<=0?h-1:h,l,a)}});var M={20:"Fruitbat",21:"Anchovy"};d.calendars.discworld=i},37715:function(k,m,t){var d=t(63489),y=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,y(i.prototype,{name:"Ethiopian",jdEpoch:17242205e-1,daysPerMonth:[30,30,30,30,30,30,30,30,30,30,30,30,5],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Ethiopian",epochs:["BEE","EE"],monthNames:["Meskerem","Tikemet","Hidar","Tahesas","Tir","Yekatit","Megabit","Miazia","Genbot","Sene","Hamle","Nehase","Pagume"],monthNamesShort:["Mes","Tik","Hid","Tah","Tir","Yek","Meg","Mia","Gen","Sen","Ham","Neh","Pag"],dayNames:["Ehud","Segno","Maksegno","Irob","Hamus","Arb","Kidame"],dayNamesShort:["Ehu","Seg","Mak","Iro","Ham","Arb","Kid"],dayNamesMin:["Eh","Se","Ma","Ir","Ha","Ar","Ki"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(M){var v=this._validate(M,this.minMonth,this.minDay,d.local.invalidYear);return(M=v.year()+(v.year()<0?1:0))%4==3||M%4==-1},monthsInYear:function(M){return this._validate(M,this.minMonth,this.minDay,d.local.invalidYear||d.regionalOptions[""].invalidYear),13},weekOfYear:function(M,v,h){var l=this.newDate(M,v,h);return l.add(-l.dayOfWeek(),"d"),Math.floor((l.dayOfYear()-1)/7)+1},daysInMonth:function(M,v){var h=this._validate(M,v,this.minDay,d.local.invalidMonth);return this.daysPerMonth[h.month()-1]+(h.month()===13&&this.leapYear(h.year())?1:0)},weekDay:function(M,v,h){return(this.dayOfWeek(M,v,h)||7)<6},toJD:function(M,v,h){var l=this._validate(M,v,h,d.local.invalidDate);return(M=l.year())<0&&M++,l.day()+30*(l.month()-1)+365*(M-1)+Math.floor(M/4)+this.jdEpoch-1},fromJD:function(M){var v=Math.floor(M)+.5-this.jdEpoch,h=Math.floor((v-Math.floor((v+366)/1461))/365)+1;h<=0&&h--,v=Math.floor(M)+.5-this.newDate(h,1,1).toJD();var l=Math.floor(v/30)+1,a=v-30*(l-1)+1;return this.newDate(h,l,a)}}),d.calendars.ethiopian=i},99384:function(k,m,t){var d=t(63489),y=t(56131);function i(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}function M(v,h){return v-h*Math.floor(v/h)}i.prototype=new d.baseCalendar,y(i.prototype,{name:"Hebrew",jdEpoch:347995.5,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29,29],hasYearZero:!1,minMonth:1,firstMonth:7,minDay:1,regionalOptions:{"":{name:"Hebrew",epochs:["BAM","AM"],monthNames:["Nisan","Iyar","Sivan","Tammuz","Av","Elul","Tishrei","Cheshvan","Kislev","Tevet","Shevat","Adar","Adar II"],monthNamesShort:["Nis","Iya","Siv","Tam","Av","Elu","Tis","Che","Kis","Tev","She","Ada","Ad2"],dayNames:["Yom Rishon","Yom Sheni","Yom Shlishi","Yom Revi'i","Yom Chamishi","Yom Shishi","Yom Shabbat"],dayNamesShort:["Ris","She","Shl","Rev","Cha","Shi","Sha"],dayNamesMin:["Ri","She","Shl","Re","Ch","Shi","Sha"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(v){var h=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return this._leapYear(h.year())},_leapYear:function(v){return M(7*(v=v<0?v+1:v)+1,19)<7},monthsInYear:function(v){return this._validate(v,this.minMonth,this.minDay,d.local.invalidYear),this._leapYear(v.year?v.year():v)?13:12},weekOfYear:function(v,h,l){var a=this.newDate(v,h,l);return a.add(-a.dayOfWeek(),"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInYear:function(v){return v=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear).year(),this.toJD(v===-1?1:v+1,7,1)-this.toJD(v,7,1)},daysInMonth:function(v,h){return v.year&&(h=v.month(),v=v.year()),this._validate(v,h,this.minDay,d.local.invalidMonth),h===12&&this.leapYear(v)||h===8&&M(this.daysInYear(v),10)===5?30:h===9&&M(this.daysInYear(v),10)===3?29:this.daysPerMonth[h-1]},weekDay:function(v,h,l){return this.dayOfWeek(v,h,l)!==6},extraInfo:function(v,h,l){var a=this._validate(v,h,l,d.local.invalidDate);return{yearType:(this.leapYear(a)?"embolismic":"common")+" "+["deficient","regular","complete"][this.daysInYear(a)%10-3]}},toJD:function(v,h,l){var a=this._validate(v,h,l,d.local.invalidDate);v=a.year(),h=a.month(),l=a.day();var u=v<=0?v+1:v,s=this.jdEpoch+this._delay1(u)+this._delay2(u)+l+1;if(h<7){for(var o=7;o<=this.monthsInYear(v);o++)s+=this.daysInMonth(v,o);for(o=1;o=this.toJD(h===-1?1:h+1,7,1);)h++;for(var l=vthis.toJD(h,l,this.daysInMonth(h,l));)l++;var a=v-this.toJD(h,l,1)+1;return this.newDate(h,l,a)}}),d.calendars.hebrew=i},43805:function(k,m,t){var d=t(63489),y=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,y(i.prototype,{name:"Islamic",jdEpoch:19484395e-1,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Islamic",epochs:["BH","AH"],monthNames:["Muharram","Safar","Rabi' al-awwal","Rabi' al-thani","Jumada al-awwal","Jumada al-thani","Rajab","Sha'aban","Ramadan","Shawwal","Dhu al-Qi'dah","Dhu al-Hijjah"],monthNamesShort:["Muh","Saf","Rab1","Rab2","Jum1","Jum2","Raj","Sha'","Ram","Shaw","DhuQ","DhuH"],dayNames:["Yawm al-ahad","Yawm al-ithnayn","Yawm ath-thulaathaa'","Yawm al-arbi'aa'","Yawm al-khamīs","Yawm al-jum'a","Yawm as-sabt"],dayNamesShort:["Aha","Ith","Thu","Arb","Kha","Jum","Sab"],dayNamesMin:["Ah","It","Th","Ar","Kh","Ju","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!1}},leapYear:function(M){return(11*this._validate(M,this.minMonth,this.minDay,d.local.invalidYear).year()+14)%30<11},weekOfYear:function(M,v,h){var l=this.newDate(M,v,h);return l.add(-l.dayOfWeek(),"d"),Math.floor((l.dayOfYear()-1)/7)+1},daysInYear:function(M){return this.leapYear(M)?355:354},daysInMonth:function(M,v){var h=this._validate(M,v,this.minDay,d.local.invalidMonth);return this.daysPerMonth[h.month()-1]+(h.month()===12&&this.leapYear(h.year())?1:0)},weekDay:function(M,v,h){return this.dayOfWeek(M,v,h)!==5},toJD:function(M,v,h){var l=this._validate(M,v,h,d.local.invalidDate);return M=l.year(),v=l.month(),M=M<=0?M+1:M,(h=l.day())+Math.ceil(29.5*(v-1))+354*(M-1)+Math.floor((3+11*M)/30)+this.jdEpoch-1},fromJD:function(M){M=Math.floor(M)+.5;var v=Math.floor((30*(M-this.jdEpoch)+10646)/10631);v=v<=0?v-1:v;var h=Math.min(12,Math.ceil((M-29-this.toJD(v,1,1))/29.5)+1),l=M-this.toJD(v,h,1)+1;return this.newDate(v,h,l)}}),d.calendars.islamic=i},88874:function(k,m,t){var d=t(63489),y=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,y(i.prototype,{name:"Julian",jdEpoch:17214235e-1,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Julian",epochs:["BC","AD"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"mm/dd/yyyy",firstDay:0,isRTL:!1}},leapYear:function(M){var v=this._validate(M,this.minMonth,this.minDay,d.local.invalidYear);return(M=v.year()<0?v.year()+1:v.year())%4==0},weekOfYear:function(M,v,h){var l=this.newDate(M,v,h);return l.add(4-(l.dayOfWeek()||7),"d"),Math.floor((l.dayOfYear()-1)/7)+1},daysInMonth:function(M,v){var h=this._validate(M,v,this.minDay,d.local.invalidMonth);return this.daysPerMonth[h.month()-1]+(h.month()===2&&this.leapYear(h.year())?1:0)},weekDay:function(M,v,h){return(this.dayOfWeek(M,v,h)||7)<6},toJD:function(M,v,h){var l=this._validate(M,v,h,d.local.invalidDate);return M=l.year(),v=l.month(),h=l.day(),M<0&&M++,v<=2&&(M--,v+=12),Math.floor(365.25*(M+4716))+Math.floor(30.6001*(v+1))+h-1524.5},fromJD:function(M){var v=Math.floor(M+.5)+1524,h=Math.floor((v-122.1)/365.25),l=Math.floor(365.25*h),a=Math.floor((v-l)/30.6001),u=a-Math.floor(a<14?1:13),s=h-Math.floor(u>2?4716:4715),o=v-l-Math.floor(30.6001*a);return s<=0&&s--,this.newDate(s,u,o)}}),d.calendars.julian=i},83290:function(k,m,t){var d=t(63489),y=t(56131);function i(h){this.local=this.regionalOptions[h||""]||this.regionalOptions[""]}function M(h,l){return h-l*Math.floor(h/l)}function v(h,l){return M(h-1,l)+1}i.prototype=new d.baseCalendar,y(i.prototype,{name:"Mayan",jdEpoch:584282.5,hasYearZero:!0,minMonth:0,firstMonth:0,minDay:0,regionalOptions:{"":{name:"Mayan",epochs:["",""],monthNames:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"],monthNamesShort:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"],dayNames:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],dayNamesShort:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],dayNamesMin:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],digits:null,dateFormat:"YYYY.m.d",firstDay:0,isRTL:!1,haabMonths:["Pop","Uo","Zip","Zotz","Tzec","Xul","Yaxkin","Mol","Chen","Yax","Zac","Ceh","Mac","Kankin","Muan","Pax","Kayab","Cumku","Uayeb"],tzolkinMonths:["Imix","Ik","Akbal","Kan","Chicchan","Cimi","Manik","Lamat","Muluc","Oc","Chuen","Eb","Ben","Ix","Men","Cib","Caban","Etznab","Cauac","Ahau"]}},leapYear:function(h){return this._validate(h,this.minMonth,this.minDay,d.local.invalidYear),!1},formatYear:function(h){h=this._validate(h,this.minMonth,this.minDay,d.local.invalidYear).year();var l=Math.floor(h/400);return h%=400,h+=h<0?400:0,l+"."+Math.floor(h/20)+"."+h%20},forYear:function(h){if((h=h.split(".")).length<3)throw"Invalid Mayan year";for(var l=0,a=0;a19||a>0&&u<0)throw"Invalid Mayan year";l=20*l+u}return l},monthsInYear:function(h){return this._validate(h,this.minMonth,this.minDay,d.local.invalidYear),18},weekOfYear:function(h,l,a){return this._validate(h,l,a,d.local.invalidDate),0},daysInYear:function(h){return this._validate(h,this.minMonth,this.minDay,d.local.invalidYear),360},daysInMonth:function(h,l){return this._validate(h,l,this.minDay,d.local.invalidMonth),20},daysInWeek:function(){return 5},dayOfWeek:function(h,l,a){return this._validate(h,l,a,d.local.invalidDate).day()},weekDay:function(h,l,a){return this._validate(h,l,a,d.local.invalidDate),!0},extraInfo:function(h,l,a){var u=this._validate(h,l,a,d.local.invalidDate).toJD(),s=this._toHaab(u),o=this._toTzolkin(u);return{haabMonthName:this.local.haabMonths[s[0]-1],haabMonth:s[0],haabDay:s[1],tzolkinDayName:this.local.tzolkinMonths[o[0]-1],tzolkinDay:o[0],tzolkinTrecena:o[1]}},_toHaab:function(h){var l=M(8+(h-=this.jdEpoch)+340,365);return[Math.floor(l/20)+1,M(l,20)]},_toTzolkin:function(h){return[v(20+(h-=this.jdEpoch),20),v(h+4,13)]},toJD:function(h,l,a){var u=this._validate(h,l,a,d.local.invalidDate);return u.day()+20*u.month()+360*u.year()+this.jdEpoch},fromJD:function(h){h=Math.floor(h)+.5-this.jdEpoch;var l=Math.floor(h/360);h%=360,h+=h<0?360:0;var a=Math.floor(h/20),u=h%20;return this.newDate(l,a,u)}}),d.calendars.mayan=i},29108:function(k,m,t){var d=t(63489),y=t(56131);function i(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar;var M=d.instance("gregorian");y(i.prototype,{name:"Nanakshahi",jdEpoch:22576735e-1,daysPerMonth:[31,31,31,31,31,30,30,30,30,30,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Nanakshahi",epochs:["BN","AN"],monthNames:["Chet","Vaisakh","Jeth","Harh","Sawan","Bhadon","Assu","Katak","Maghar","Poh","Magh","Phagun"],monthNamesShort:["Che","Vai","Jet","Har","Saw","Bha","Ass","Kat","Mgr","Poh","Mgh","Pha"],dayNames:["Somvaar","Mangalvar","Budhvaar","Veervaar","Shukarvaar","Sanicharvaar","Etvaar"],dayNamesShort:["Som","Mangal","Budh","Veer","Shukar","Sanichar","Et"],dayNamesMin:["So","Ma","Bu","Ve","Sh","Sa","Et"],digits:null,dateFormat:"dd-mm-yyyy",firstDay:0,isRTL:!1}},leapYear:function(v){var h=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear||d.regionalOptions[""].invalidYear);return M.leapYear(h.year()+(h.year()<1?1:0)+1469)},weekOfYear:function(v,h,l){var a=this.newDate(v,h,l);return a.add(1-(a.dayOfWeek()||7),"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInMonth:function(v,h){var l=this._validate(v,h,this.minDay,d.local.invalidMonth);return this.daysPerMonth[l.month()-1]+(l.month()===12&&this.leapYear(l.year())?1:0)},weekDay:function(v,h,l){return(this.dayOfWeek(v,h,l)||7)<6},toJD:function(v,h,l){var a=this._validate(v,h,l,d.local.invalidMonth);(v=a.year())<0&&v++;for(var u=a.day(),s=1;s=this.toJD(h+1,1,1);)h++;for(var l=v-Math.floor(this.toJD(h,1,1)+.5)+1,a=1;l>this.daysInMonth(h,a);)l-=this.daysInMonth(h,a),a++;return this.newDate(h,a,l)}}),d.calendars.nanakshahi=i},55422:function(k,m,t){var d=t(63489),y=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,y(i.prototype,{name:"Nepali",jdEpoch:17007095e-1,daysPerMonth:[31,31,32,32,31,30,30,29,30,29,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,daysPerYear:365,regionalOptions:{"":{name:"Nepali",epochs:["BBS","ABS"],monthNames:["Baisakh","Jestha","Ashadh","Shrawan","Bhadra","Ashwin","Kartik","Mangsir","Paush","Mangh","Falgun","Chaitra"],monthNamesShort:["Bai","Je","As","Shra","Bha","Ash","Kar","Mang","Pau","Ma","Fal","Chai"],dayNames:["Aaitabaar","Sombaar","Manglbaar","Budhabaar","Bihibaar","Shukrabaar","Shanibaar"],dayNamesShort:["Aaita","Som","Mangl","Budha","Bihi","Shukra","Shani"],dayNamesMin:["Aai","So","Man","Bu","Bi","Shu","Sha"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:1,isRTL:!1}},leapYear:function(M){return this.daysInYear(M)!==this.daysPerYear},weekOfYear:function(M,v,h){var l=this.newDate(M,v,h);return l.add(-l.dayOfWeek(),"d"),Math.floor((l.dayOfYear()-1)/7)+1},daysInYear:function(M){if(M=this._validate(M,this.minMonth,this.minDay,d.local.invalidYear).year(),this.NEPALI_CALENDAR_DATA[M]===void 0)return this.daysPerYear;for(var v=0,h=this.minMonth;h<=12;h++)v+=this.NEPALI_CALENDAR_DATA[M][h];return v},daysInMonth:function(M,v){return M.year&&(v=M.month(),M=M.year()),this._validate(M,v,this.minDay,d.local.invalidMonth),this.NEPALI_CALENDAR_DATA[M]===void 0?this.daysPerMonth[v-1]:this.NEPALI_CALENDAR_DATA[M][v]},weekDay:function(M,v,h){return this.dayOfWeek(M,v,h)!==6},toJD:function(M,v,h){var l=this._validate(M,v,h,d.local.invalidDate);M=l.year(),v=l.month(),h=l.day();var a=d.instance(),u=0,s=v,o=M;this._createMissingCalendarData(M);var c=M-(s>9||s===9&&h>=this.NEPALI_CALENDAR_DATA[o][0]?56:57);for(v!==9&&(u=h,s--);s!==9;)s<=0&&(s=12,o--),u+=this.NEPALI_CALENDAR_DATA[o][s],s--;return v===9?(u+=h-this.NEPALI_CALENDAR_DATA[o][0])<0&&(u+=a.daysInYear(c)):u+=this.NEPALI_CALENDAR_DATA[o][9]-this.NEPALI_CALENDAR_DATA[o][0],a.newDate(c,1,1).add(u,"d").toJD()},fromJD:function(M){var v=d.instance().fromJD(M),h=v.year(),l=v.dayOfYear(),a=h+56;this._createMissingCalendarData(a);for(var u=9,s=this.NEPALI_CALENDAR_DATA[a][0],o=this.NEPALI_CALENDAR_DATA[a][u]-s+1;l>o;)++u>12&&(u=1,a++),o+=this.NEPALI_CALENDAR_DATA[a][u];var c=this.NEPALI_CALENDAR_DATA[a][u]-(o-l);return this.newDate(a,u,c)},_createMissingCalendarData:function(M){var v=this.daysPerMonth.slice(0);v.unshift(17);for(var h=M-1;h0?474:473))%2820+474+38)%2816<682},weekOfYear:function(v,h,l){var a=this.newDate(v,h,l);return a.add(-(a.dayOfWeek()+1)%7,"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInMonth:function(v,h){var l=this._validate(v,h,this.minDay,d.local.invalidMonth);return this.daysPerMonth[l.month()-1]+(l.month()===12&&this.leapYear(l.year())?1:0)},weekDay:function(v,h,l){return this.dayOfWeek(v,h,l)!==5},toJD:function(v,h,l){var a=this._validate(v,h,l,d.local.invalidDate);v=a.year(),h=a.month(),l=a.day();var u=v-(v>=0?474:473),s=474+M(u,2820);return l+(h<=7?31*(h-1):30*(h-1)+6)+Math.floor((682*s-110)/2816)+365*(s-1)+1029983*Math.floor(u/2820)+this.jdEpoch-1},fromJD:function(v){var h=(v=Math.floor(v)+.5)-this.toJD(475,1,1),l=Math.floor(h/1029983),a=M(h,1029983),u=2820;if(a!==1029982){var s=Math.floor(a/366),o=M(a,366);u=Math.floor((2134*s+2816*o+2815)/1028522)+s+1}var c=u+2820*l+474;c=c<=0?c-1:c;var f=v-this.toJD(c,1,1)+1,p=f<=186?Math.ceil(f/31):Math.ceil((f-6)/30),w=v-this.toJD(c,p,1)+1;return this.newDate(c,p,w)}}),d.calendars.persian=i,d.calendars.jalali=i},31320:function(k,m,t){var d=t(63489),y=t(56131),i=d.instance();function M(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}M.prototype=new d.baseCalendar,y(M.prototype,{name:"Taiwan",jdEpoch:24194025e-1,yearsOffset:1911,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Taiwan",epochs:["BROC","ROC"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:1,isRTL:!1}},leapYear:function(v){var h=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return v=this._t2gYear(h.year()),i.leapYear(v)},weekOfYear:function(v,h,l){var a=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return v=this._t2gYear(a.year()),i.weekOfYear(v,a.month(),a.day())},daysInMonth:function(v,h){var l=this._validate(v,h,this.minDay,d.local.invalidMonth);return this.daysPerMonth[l.month()-1]+(l.month()===2&&this.leapYear(l.year())?1:0)},weekDay:function(v,h,l){return(this.dayOfWeek(v,h,l)||7)<6},toJD:function(v,h,l){var a=this._validate(v,h,l,d.local.invalidDate);return v=this._t2gYear(a.year()),i.toJD(v,a.month(),a.day())},fromJD:function(v){var h=i.fromJD(v),l=this._g2tYear(h.year());return this.newDate(l,h.month(),h.day())},_t2gYear:function(v){return v+this.yearsOffset+(v>=-this.yearsOffset&&v<=-1?1:0)},_g2tYear:function(v){return v-this.yearsOffset-(v>=1&&v<=this.yearsOffset?1:0)}}),d.calendars.taiwan=M},51367:function(k,m,t){var d=t(63489),y=t(56131),i=d.instance();function M(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}M.prototype=new d.baseCalendar,y(M.prototype,{name:"Thai",jdEpoch:15230985e-1,yearsOffset:543,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Thai",epochs:["BBE","BE"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(v){var h=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return v=this._t2gYear(h.year()),i.leapYear(v)},weekOfYear:function(v,h,l){var a=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return v=this._t2gYear(a.year()),i.weekOfYear(v,a.month(),a.day())},daysInMonth:function(v,h){var l=this._validate(v,h,this.minDay,d.local.invalidMonth);return this.daysPerMonth[l.month()-1]+(l.month()===2&&this.leapYear(l.year())?1:0)},weekDay:function(v,h,l){return(this.dayOfWeek(v,h,l)||7)<6},toJD:function(v,h,l){var a=this._validate(v,h,l,d.local.invalidDate);return v=this._t2gYear(a.year()),i.toJD(v,a.month(),a.day())},fromJD:function(v){var h=i.fromJD(v),l=this._g2tYear(h.year());return this.newDate(l,h.month(),h.day())},_t2gYear:function(v){return v-this.yearsOffset-(v>=1&&v<=this.yearsOffset?1:0)},_g2tYear:function(v){return v+this.yearsOffset+(v>=-this.yearsOffset&&v<=-1?1:0)}}),d.calendars.thai=M},21457:function(k,m,t){var d=t(63489),y=t(56131);function i(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,y(i.prototype,{name:"UmmAlQura",hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Umm al-Qura",epochs:["BH","AH"],monthNames:["Al-Muharram","Safar","Rabi' al-awwal","Rabi' Al-Thani","Jumada Al-Awwal","Jumada Al-Thani","Rajab","Sha'aban","Ramadan","Shawwal","Dhu al-Qi'dah","Dhu al-Hijjah"],monthNamesShort:["Muh","Saf","Rab1","Rab2","Jum1","Jum2","Raj","Sha'","Ram","Shaw","DhuQ","DhuH"],dayNames:["Yawm al-Ahad","Yawm al-Ithnain","Yawm al-Thalāthā’","Yawm al-Arba‘ā’","Yawm al-Khamīs","Yawm al-Jum‘a","Yawm al-Sabt"],dayNamesMin:["Ah","Ith","Th","Ar","Kh","Ju","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!0}},leapYear:function(v){var h=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return this.daysInYear(h.year())===355},weekOfYear:function(v,h,l){var a=this.newDate(v,h,l);return a.add(-a.dayOfWeek(),"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInYear:function(v){for(var h=0,l=1;l<=12;l++)h+=this.daysInMonth(v,l);return h},daysInMonth:function(v,h){for(var l=this._validate(v,h,this.minDay,d.local.invalidMonth).toJD()-24e5+.5,a=0,u=0;ul)return M[a]-M[a-1];a++}return 30},weekDay:function(v,h,l){return this.dayOfWeek(v,h,l)!==5},toJD:function(v,h,l){var a=this._validate(v,h,l,d.local.invalidDate),u=12*(a.year()-1)+a.month()-15292;return a.day()+M[u-1]-1+24e5-.5},fromJD:function(v){for(var h=v-24e5+.5,l=0,a=0;ah);a++)l++;var u=l+15292,s=Math.floor((u-1)/12),o=s+1,c=u-12*s,f=h-M[l-1]+1;return this.newDate(o,c,f)},isValid:function(v,h,l){var a=d.baseCalendar.prototype.isValid.apply(this,arguments);return a&&(a=(v=v.year!=null?v.year:v)>=1276&&v<=1500),a},_validate:function(v,h,l,a){var u=d.baseCalendar.prototype._validate.apply(this,arguments);if(u.year<1276||u.year>1500)throw a.replace(/\{0\}/,this.local.name);return u}}),d.calendars.ummalqura=i;var M=[20,50,79,109,138,168,197,227,256,286,315,345,374,404,433,463,492,522,551,581,611,641,670,700,729,759,788,818,847,877,906,936,965,995,1024,1054,1083,1113,1142,1172,1201,1231,1260,1290,1320,1350,1379,1409,1438,1468,1497,1527,1556,1586,1615,1645,1674,1704,1733,1763,1792,1822,1851,1881,1910,1940,1969,1999,2028,2058,2087,2117,2146,2176,2205,2235,2264,2294,2323,2353,2383,2413,2442,2472,2501,2531,2560,2590,2619,2649,2678,2708,2737,2767,2796,2826,2855,2885,2914,2944,2973,3003,3032,3062,3091,3121,3150,3180,3209,3239,3268,3298,3327,3357,3386,3416,3446,3476,3505,3535,3564,3594,3623,3653,3682,3712,3741,3771,3800,3830,3859,3889,3918,3948,3977,4007,4036,4066,4095,4125,4155,4185,4214,4244,4273,4303,4332,4362,4391,4421,4450,4480,4509,4539,4568,4598,4627,4657,4686,4716,4745,4775,4804,4834,4863,4893,4922,4952,4981,5011,5040,5070,5099,5129,5158,5188,5218,5248,5277,5307,5336,5366,5395,5425,5454,5484,5513,5543,5572,5602,5631,5661,5690,5720,5749,5779,5808,5838,5867,5897,5926,5956,5985,6015,6044,6074,6103,6133,6162,6192,6221,6251,6281,6311,6340,6370,6399,6429,6458,6488,6517,6547,6576,6606,6635,6665,6694,6724,6753,6783,6812,6842,6871,6901,6930,6960,6989,7019,7048,7078,7107,7137,7166,7196,7225,7255,7284,7314,7344,7374,7403,7433,7462,7492,7521,7551,7580,7610,7639,7669,7698,7728,7757,7787,7816,7846,7875,7905,7934,7964,7993,8023,8053,8083,8112,8142,8171,8201,8230,8260,8289,8319,8348,8378,8407,8437,8466,8496,8525,8555,8584,8614,8643,8673,8702,8732,8761,8791,8821,8850,8880,8909,8938,8968,8997,9027,9056,9086,9115,9145,9175,9205,9234,9264,9293,9322,9352,9381,9410,9440,9470,9499,9529,9559,9589,9618,9648,9677,9706,9736,9765,9794,9824,9853,9883,9913,9943,9972,10002,10032,10061,10090,10120,10149,10178,10208,10237,10267,10297,10326,10356,10386,10415,10445,10474,10504,10533,10562,10592,10621,10651,10680,10710,10740,10770,10799,10829,10858,10888,10917,10947,10976,11005,11035,11064,11094,11124,11153,11183,11213,11242,11272,11301,11331,11360,11389,11419,11448,11478,11507,11537,11567,11596,11626,11655,11685,11715,11744,11774,11803,11832,11862,11891,11921,11950,11980,12010,12039,12069,12099,12128,12158,12187,12216,12246,12275,12304,12334,12364,12393,12423,12453,12483,12512,12542,12571,12600,12630,12659,12688,12718,12747,12777,12807,12837,12866,12896,12926,12955,12984,13014,13043,13072,13102,13131,13161,13191,13220,13250,13280,13310,13339,13368,13398,13427,13456,13486,13515,13545,13574,13604,13634,13664,13693,13723,13752,13782,13811,13840,13870,13899,13929,13958,13988,14018,14047,14077,14107,14136,14166,14195,14224,14254,14283,14313,14342,14372,14401,14431,14461,14490,14520,14550,14579,14609,14638,14667,14697,14726,14756,14785,14815,14844,14874,14904,14933,14963,14993,15021,15051,15081,15110,15140,15169,15199,15228,15258,15287,15317,15347,15377,15406,15436,15465,15494,15524,15553,15582,15612,15641,15671,15701,15731,15760,15790,15820,15849,15878,15908,15937,15966,15996,16025,16055,16085,16114,16144,16174,16204,16233,16262,16292,16321,16350,16380,16409,16439,16468,16498,16528,16558,16587,16617,16646,16676,16705,16734,16764,16793,16823,16852,16882,16912,16941,16971,17001,17030,17060,17089,17118,17148,17177,17207,17236,17266,17295,17325,17355,17384,17414,17444,17473,17502,17532,17561,17591,17620,17650,17679,17709,17738,17768,17798,17827,17857,17886,17916,17945,17975,18004,18034,18063,18093,18122,18152,18181,18211,18241,18270,18300,18330,18359,18388,18418,18447,18476,18506,18535,18565,18595,18625,18654,18684,18714,18743,18772,18802,18831,18860,18890,18919,18949,18979,19008,19038,19068,19098,19127,19156,19186,19215,19244,19274,19303,19333,19362,19392,19422,19452,19481,19511,19540,19570,19599,19628,19658,19687,19717,19746,19776,19806,19836,19865,19895,19924,19954,19983,20012,20042,20071,20101,20130,20160,20190,20219,20249,20279,20308,20338,20367,20396,20426,20455,20485,20514,20544,20573,20603,20633,20662,20692,20721,20751,20780,20810,20839,20869,20898,20928,20957,20987,21016,21046,21076,21105,21135,21164,21194,21223,21253,21282,21312,21341,21371,21400,21430,21459,21489,21519,21548,21578,21607,21637,21666,21696,21725,21754,21784,21813,21843,21873,21902,21932,21962,21991,22021,22050,22080,22109,22138,22168,22197,22227,22256,22286,22316,22346,22375,22405,22434,22464,22493,22522,22552,22581,22611,22640,22670,22700,22730,22759,22789,22818,22848,22877,22906,22936,22965,22994,23024,23054,23083,23113,23143,23173,23202,23232,23261,23290,23320,23349,23379,23408,23438,23467,23497,23527,23556,23586,23616,23645,23674,23704,23733,23763,23792,23822,23851,23881,23910,23940,23970,23999,24029,24058,24088,24117,24147,24176,24206,24235,24265,24294,24324,24353,24383,24413,24442,24472,24501,24531,24560,24590,24619,24648,24678,24707,24737,24767,24796,24826,24856,24885,24915,24944,24974,25003,25032,25062,25091,25121,25150,25180,25210,25240,25269,25299,25328,25358,25387,25416,25446,25475,25505,25534,25564,25594,25624,25653,25683,25712,25742,25771,25800,25830,25859,25888,25918,25948,25977,26007,26037,26067,26096,26126,26155,26184,26214,26243,26272,26302,26332,26361,26391,26421,26451,26480,26510,26539,26568,26598,26627,26656,26686,26715,26745,26775,26805,26834,26864,26893,26923,26952,26982,27011,27041,27070,27099,27129,27159,27188,27218,27248,27277,27307,27336,27366,27395,27425,27454,27484,27513,27542,27572,27602,27631,27661,27691,27720,27750,27779,27809,27838,27868,27897,27926,27956,27985,28015,28045,28074,28104,28134,28163,28193,28222,28252,28281,28310,28340,28369,28399,28428,28458,28488,28517,28547,28577,28607,28636,28665,28695,28724,28754,28783,28813,28843,28872,28901,28931,28960,28990,29019,29049,29078,29108,29137,29167,29196,29226,29255,29285,29315,29345,29375,29404,29434,29463,29492,29522,29551,29580,29610,29640,29669,29699,29729,29759,29788,29818,29847,29876,29906,29935,29964,29994,30023,30053,30082,30112,30141,30171,30200,30230,30259,30289,30318,30348,30378,30408,30437,30467,30496,30526,30555,30585,30614,30644,30673,30703,30732,30762,30791,30821,30850,30880,30909,30939,30968,30998,31027,31057,31086,31116,31145,31175,31204,31234,31263,31293,31322,31352,31381,31411,31441,31471,31500,31530,31559,31589,31618,31648,31676,31706,31736,31766,31795,31825,31854,31884,31913,31943,31972,32002,32031,32061,32090,32120,32150,32180,32209,32239,32268,32298,32327,32357,32386,32416,32445,32475,32504,32534,32563,32593,32622,32652,32681,32711,32740,32770,32799,32829,32858,32888,32917,32947,32976,33006,33035,33065,33094,33124,33153,33183,33213,33243,33272,33302,33331,33361,33390,33420,33450,33479,33509,33539,33568,33598,33627,33657,33686,33716,33745,33775,33804,33834,33863,33893,33922,33952,33981,34011,34040,34069,34099,34128,34158,34187,34217,34247,34277,34306,34336,34365,34395,34424,34454,34483,34512,34542,34571,34601,34631,34660,34690,34719,34749,34778,34808,34837,34867,34896,34926,34955,34985,35015,35044,35074,35103,35133,35162,35192,35222,35251,35280,35310,35340,35370,35399,35429,35458,35488,35517,35547,35576,35605,35635,35665,35694,35723,35753,35782,35811,35841,35871,35901,35930,35960,35989,36019,36048,36078,36107,36136,36166,36195,36225,36254,36284,36314,36343,36373,36403,36433,36462,36492,36521,36551,36580,36610,36639,36669,36698,36728,36757,36786,36816,36845,36875,36904,36934,36963,36993,37022,37052,37081,37111,37141,37170,37200,37229,37259,37288,37318,37347,37377,37406,37436,37465,37495,37524,37554,37584,37613,37643,37672,37701,37731,37760,37790,37819,37849,37878,37908,37938,37967,37997,38027,38056,38085,38115,38144,38174,38203,38233,38262,38292,38322,38351,38381,38410,38440,38469,38499,38528,38558,38587,38617,38646,38676,38705,38735,38764,38794,38823,38853,38882,38912,38941,38971,39001,39030,39059,39089,39118,39148,39178,39208,39237,39267,39297,39326,39355,39385,39414,39444,39473,39503,39532,39562,39592,39621,39650,39680,39709,39739,39768,39798,39827,39857,39886,39916,39946,39975,40005,40035,40064,40094,40123,40153,40182,40212,40241,40271,40300,40330,40359,40389,40418,40448,40477,40507,40536,40566,40595,40625,40655,40685,40714,40744,40773,40803,40832,40862,40892,40921,40951,40980,41009,41039,41068,41098,41127,41157,41186,41216,41245,41275,41304,41334,41364,41393,41422,41452,41481,41511,41540,41570,41599,41629,41658,41688,41718,41748,41777,41807,41836,41865,41894,41924,41953,41983,42012,42042,42072,42102,42131,42161,42190,42220,42249,42279,42308,42337,42367,42397,42426,42456,42485,42515,42545,42574,42604,42633,42662,42692,42721,42751,42780,42810,42839,42869,42899,42929,42958,42988,43017,43046,43076,43105,43135,43164,43194,43223,43253,43283,43312,43342,43371,43401,43430,43460,43489,43519,43548,43578,43607,43637,43666,43696,43726,43755,43785,43814,43844,43873,43903,43932,43962,43991,44021,44050,44080,44109,44139,44169,44198,44228,44258,44287,44317,44346,44375,44405,44434,44464,44493,44523,44553,44582,44612,44641,44671,44700,44730,44759,44788,44818,44847,44877,44906,44936,44966,44996,45025,45055,45084,45114,45143,45172,45202,45231,45261,45290,45320,45350,45380,45409,45439,45468,45498,45527,45556,45586,45615,45644,45674,45704,45733,45763,45793,45823,45852,45882,45911,45940,45970,45999,46028,46058,46088,46117,46147,46177,46206,46236,46265,46295,46324,46354,46383,46413,46442,46472,46501,46531,46560,46590,46620,46649,46679,46708,46738,46767,46797,46826,46856,46885,46915,46944,46974,47003,47033,47063,47092,47122,47151,47181,47210,47240,47269,47298,47328,47357,47387,47417,47446,47476,47506,47535,47565,47594,47624,47653,47682,47712,47741,47771,47800,47830,47860,47890,47919,47949,47978,48008,48037,48066,48096,48125,48155,48184,48214,48244,48273,48303,48333,48362,48392,48421,48450,48480,48509,48538,48568,48598,48627,48657,48687,48717,48746,48776,48805,48834,48864,48893,48922,48952,48982,49011,49041,49071,49100,49130,49160,49189,49218,49248,49277,49306,49336,49365,49395,49425,49455,49484,49514,49543,49573,49602,49632,49661,49690,49720,49749,49779,49809,49838,49868,49898,49927,49957,49986,50016,50045,50075,50104,50133,50163,50192,50222,50252,50281,50311,50340,50370,50400,50429,50459,50488,50518,50547,50576,50606,50635,50665,50694,50724,50754,50784,50813,50843,50872,50902,50931,50960,50990,51019,51049,51078,51108,51138,51167,51197,51227,51256,51286,51315,51345,51374,51403,51433,51462,51492,51522,51552,51582,51611,51641,51670,51699,51729,51758,51787,51816,51846,51876,51906,51936,51965,51995,52025,52054,52083,52113,52142,52171,52200,52230,52260,52290,52319,52349,52379,52408,52438,52467,52497,52526,52555,52585,52614,52644,52673,52703,52733,52762,52792,52822,52851,52881,52910,52939,52969,52998,53028,53057,53087,53116,53146,53176,53205,53235,53264,53294,53324,53353,53383,53412,53441,53471,53500,53530,53559,53589,53619,53648,53678,53708,53737,53767,53796,53825,53855,53884,53913,53943,53973,54003,54032,54062,54092,54121,54151,54180,54209,54239,54268,54297,54327,54357,54387,54416,54446,54476,54505,54535,54564,54593,54623,54652,54681,54711,54741,54770,54800,54830,54859,54889,54919,54948,54977,55007,55036,55066,55095,55125,55154,55184,55213,55243,55273,55302,55332,55361,55391,55420,55450,55479,55508,55538,55567,55597,55627,55657,55686,55716,55745,55775,55804,55834,55863,55892,55922,55951,55981,56011,56040,56070,56100,56129,56159,56188,56218,56247,56276,56306,56335,56365,56394,56424,56454,56483,56513,56543,56572,56601,56631,56660,56690,56719,56749,56778,56808,56837,56867,56897,56926,56956,56985,57015,57044,57074,57103,57133,57162,57192,57221,57251,57280,57310,57340,57369,57399,57429,57458,57487,57517,57546,57576,57605,57634,57664,57694,57723,57753,57783,57813,57842,57871,57901,57930,57959,57989,58018,58048,58077,58107,58137,58167,58196,58226,58255,58285,58314,58343,58373,58402,58432,58461,58491,58521,58551,58580,58610,58639,58669,58698,58727,58757,58786,58816,58845,58875,58905,58934,58964,58994,59023,59053,59082,59111,59141,59170,59200,59229,59259,59288,59318,59348,59377,59407,59436,59466,59495,59525,59554,59584,59613,59643,59672,59702,59731,59761,59791,59820,59850,59879,59909,59939,59968,59997,60027,60056,60086,60115,60145,60174,60204,60234,60264,60293,60323,60352,60381,60411,60440,60469,60499,60528,60558,60588,60618,60648,60677,60707,60736,60765,60795,60824,60853,60883,60912,60942,60972,61002,61031,61061,61090,61120,61149,61179,61208,61237,61267,61296,61326,61356,61385,61415,61445,61474,61504,61533,61563,61592,61621,61651,61680,61710,61739,61769,61799,61828,61858,61888,61917,61947,61976,62006,62035,62064,62094,62123,62153,62182,62212,62242,62271,62301,62331,62360,62390,62419,62448,62478,62507,62537,62566,62596,62625,62655,62685,62715,62744,62774,62803,62832,62862,62891,62921,62950,62980,63009,63039,63069,63099,63128,63157,63187,63216,63246,63275,63305,63334,63363,63393,63423,63453,63482,63512,63541,63571,63600,63630,63659,63689,63718,63747,63777,63807,63836,63866,63895,63925,63955,63984,64014,64043,64073,64102,64131,64161,64190,64220,64249,64279,64309,64339,64368,64398,64427,64457,64486,64515,64545,64574,64603,64633,64663,64692,64722,64752,64782,64811,64841,64870,64899,64929,64958,64987,65017,65047,65076,65106,65136,65166,65195,65225,65254,65283,65313,65342,65371,65401,65431,65460,65490,65520,65549,65579,65608,65638,65667,65697,65726,65755,65785,65815,65844,65874,65903,65933,65963,65992,66022,66051,66081,66110,66140,66169,66199,66228,66258,66287,66317,66346,66376,66405,66435,66465,66494,66524,66553,66583,66612,66641,66671,66700,66730,66760,66789,66819,66849,66878,66908,66937,66967,66996,67025,67055,67084,67114,67143,67173,67203,67233,67262,67292,67321,67351,67380,67409,67439,67468,67497,67527,67557,67587,67617,67646,67676,67705,67735,67764,67793,67823,67852,67882,67911,67941,67971,68e3,68030,68060,68089,68119,68148,68177,68207,68236,68266,68295,68325,68354,68384,68414,68443,68473,68502,68532,68561,68591,68620,68650,68679,68708,68738,68768,68797,68827,68857,68886,68916,68946,68975,69004,69034,69063,69092,69122,69152,69181,69211,69240,69270,69300,69330,69359,69388,69418,69447,69476,69506,69535,69565,69595,69624,69654,69684,69713,69743,69772,69802,69831,69861,69890,69919,69949,69978,70008,70038,70067,70097,70126,70156,70186,70215,70245,70274,70303,70333,70362,70392,70421,70451,70481,70510,70540,70570,70599,70629,70658,70687,70717,70746,70776,70805,70835,70864,70894,70924,70954,70983,71013,71042,71071,71101,71130,71159,71189,71218,71248,71278,71308,71337,71367,71397,71426,71455,71485,71514,71543,71573,71602,71632,71662,71691,71721,71751,71781,71810,71839,71869,71898,71927,71957,71986,72016,72046,72075,72105,72135,72164,72194,72223,72253,72282,72311,72341,72370,72400,72429,72459,72489,72518,72548,72577,72607,72637,72666,72695,72725,72754,72784,72813,72843,72872,72902,72931,72961,72991,73020,73050,73080,73109,73139,73168,73197,73227,73256,73286,73315,73345,73375,73404,73434,73464,73493,73523,73552,73581,73611,73640,73669,73699,73729,73758,73788,73818,73848,73877,73907,73936,73965,73995,74024,74053,74083,74113,74142,74172,74202,74231,74261,74291,74320,74349,74379,74408,74437,74467,74497,74526,74556,74586,74615,74645,74675,74704,74733,74763,74792,74822,74851,74881,74910,74940,74969,74999,75029,75058,75088,75117,75147,75176,75206,75235,75264,75294,75323,75353,75383,75412,75442,75472,75501,75531,75560,75590,75619,75648,75678,75707,75737,75766,75796,75826,75856,75885,75915,75944,75974,76003,76032,76062,76091,76121,76150,76180,76210,76239,76269,76299,76328,76358,76387,76416,76446,76475,76505,76534,76564,76593,76623,76653,76682,76712,76741,76771,76801,76830,76859,76889,76918,76948,76977,77007,77036,77066,77096,77125,77155,77185,77214,77243,77273,77302,77332,77361,77390,77420,77450,77479,77509,77539,77569,77598,77627,77657,77686,77715,77745,77774,77804,77833,77863,77893,77923,77952,77982,78011,78041,78070,78099,78129,78158,78188,78217,78247,78277,78307,78336,78366,78395,78425,78454,78483,78513,78542,78572,78601,78631,78661,78690,78720,78750,78779,78808,78838,78867,78897,78926,78956,78985,79015,79044,79074,79104,79133,79163,79192,79222,79251,79281,79310,79340,79369,79399,79428,79458,79487,79517,79546,79576,79606,79635,79665,79695,79724,79753,79783,79812,79841,79871,79900,79930,79960,79990]},63489:function(k,m,t){var d=t(56131);function y(){this.regionalOptions=[],this.regionalOptions[""]={invalidCalendar:"Calendar {0} not found",invalidDate:"Invalid {0} date",invalidMonth:"Invalid {0} month",invalidYear:"Invalid {0} year",differentCalendars:"Cannot mix {0} and {1} dates"},this.local=this.regionalOptions[""],this.calendars={},this._localCals={}}function i(a,u,s,o){if(this._calendar=a,this._year=u,this._month=s,this._day=o,this._calendar._validateLevel===0&&!this._calendar.isValid(this._year,this._month,this._day))throw(l.local.invalidDate||l.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name)}function M(a,u){return"000000".substring(0,u-(a=""+a).length)+a}function v(){this.shortYearCutoff="+10"}function h(a){this.local=this.regionalOptions[a]||this.regionalOptions[""]}d(y.prototype,{instance:function(a,u){a=(a||"gregorian").toLowerCase(),u=u||"";var s=this._localCals[a+"-"+u];if(!s&&this.calendars[a]&&(s=new this.calendars[a](u),this._localCals[a+"-"+u]=s),!s)throw(this.local.invalidCalendar||this.regionalOptions[""].invalidCalendar).replace(/\{0\}/,a);return s},newDate:function(a,u,s,o,c){return(o=(a!=null&&a.year?a.calendar():typeof o=="string"?this.instance(o,c):o)||this.instance()).newDate(a,u,s)},substituteDigits:function(a){return function(u){return(u+"").replace(/[0-9]/g,function(s){return a[s]})}},substituteChineseDigits:function(a,u){return function(s){for(var o="",c=0;s>0;){var f=s%10;o=(f===0?"":a[f]+u[c])+o,c++,s=Math.floor(s/10)}return o.indexOf(a[1]+u[1])===0&&(o=o.substr(1)),o||a[0]}}}),d(i.prototype,{newDate:function(a,u,s){return this._calendar.newDate(a??this,u,s)},year:function(a){return arguments.length===0?this._year:this.set(a,"y")},month:function(a){return arguments.length===0?this._month:this.set(a,"m")},day:function(a){return arguments.length===0?this._day:this.set(a,"d")},date:function(a,u,s){if(!this._calendar.isValid(a,u,s))throw(l.local.invalidDate||l.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name);return this._year=a,this._month=u,this._day=s,this},leapYear:function(){return this._calendar.leapYear(this)},epoch:function(){return this._calendar.epoch(this)},formatYear:function(){return this._calendar.formatYear(this)},monthOfYear:function(){return this._calendar.monthOfYear(this)},weekOfYear:function(){return this._calendar.weekOfYear(this)},daysInYear:function(){return this._calendar.daysInYear(this)},dayOfYear:function(){return this._calendar.dayOfYear(this)},daysInMonth:function(){return this._calendar.daysInMonth(this)},dayOfWeek:function(){return this._calendar.dayOfWeek(this)},weekDay:function(){return this._calendar.weekDay(this)},extraInfo:function(){return this._calendar.extraInfo(this)},add:function(a,u){return this._calendar.add(this,a,u)},set:function(a,u){return this._calendar.set(this,a,u)},compareTo:function(a){if(this._calendar.name!==a._calendar.name)throw(l.local.differentCalendars||l.regionalOptions[""].differentCalendars).replace(/\{0\}/,this._calendar.local.name).replace(/\{1\}/,a._calendar.local.name);var u=this._year!==a._year?this._year-a._year:this._month!==a._month?this.monthOfYear()-a.monthOfYear():this._day-a._day;return u===0?0:u<0?-1:1},calendar:function(){return this._calendar},toJD:function(){return this._calendar.toJD(this)},fromJD:function(a){return this._calendar.fromJD(a)},toJSDate:function(){return this._calendar.toJSDate(this)},fromJSDate:function(a){return this._calendar.fromJSDate(a)},toString:function(){return(this.year()<0?"-":"")+M(Math.abs(this.year()),4)+"-"+M(this.month(),2)+"-"+M(this.day(),2)}}),d(v.prototype,{_validateLevel:0,newDate:function(a,u,s){return a==null?this.today():(a.year&&(this._validate(a,u,s,l.local.invalidDate||l.regionalOptions[""].invalidDate),s=a.day(),u=a.month(),a=a.year()),new i(this,a,u,s))},today:function(){return this.fromJSDate(new Date)},epoch:function(a){return this._validate(a,this.minMonth,this.minDay,l.local.invalidYear||l.regionalOptions[""].invalidYear).year()<0?this.local.epochs[0]:this.local.epochs[1]},formatYear:function(a){var u=this._validate(a,this.minMonth,this.minDay,l.local.invalidYear||l.regionalOptions[""].invalidYear);return(u.year()<0?"-":"")+M(Math.abs(u.year()),4)},monthsInYear:function(a){return this._validate(a,this.minMonth,this.minDay,l.local.invalidYear||l.regionalOptions[""].invalidYear),12},monthOfYear:function(a,u){var s=this._validate(a,u,this.minDay,l.local.invalidMonth||l.regionalOptions[""].invalidMonth);return(s.month()+this.monthsInYear(s)-this.firstMonth)%this.monthsInYear(s)+this.minMonth},fromMonthOfYear:function(a,u){var s=(u+this.firstMonth-2*this.minMonth)%this.monthsInYear(a)+this.minMonth;return this._validate(a,s,this.minDay,l.local.invalidMonth||l.regionalOptions[""].invalidMonth),s},daysInYear:function(a){var u=this._validate(a,this.minMonth,this.minDay,l.local.invalidYear||l.regionalOptions[""].invalidYear);return this.leapYear(u)?366:365},dayOfYear:function(a,u,s){var o=this._validate(a,u,s,l.local.invalidDate||l.regionalOptions[""].invalidDate);return o.toJD()-this.newDate(o.year(),this.fromMonthOfYear(o.year(),this.minMonth),this.minDay).toJD()+1},daysInWeek:function(){return 7},dayOfWeek:function(a,u,s){var o=this._validate(a,u,s,l.local.invalidDate||l.regionalOptions[""].invalidDate);return(Math.floor(this.toJD(o))+2)%this.daysInWeek()},extraInfo:function(a,u,s){return this._validate(a,u,s,l.local.invalidDate||l.regionalOptions[""].invalidDate),{}},add:function(a,u,s){return this._validate(a,this.minMonth,this.minDay,l.local.invalidDate||l.regionalOptions[""].invalidDate),this._correctAdd(a,this._add(a,u,s),u,s)},_add:function(a,u,s){if(this._validateLevel++,s==="d"||s==="w"){var o=a.toJD()+u*(s==="w"?this.daysInWeek():1),c=a.calendar().fromJD(o);return this._validateLevel--,[c.year(),c.month(),c.day()]}try{var f=a.year()+(s==="y"?u:0),p=a.monthOfYear()+(s==="m"?u:0);c=a.day(),s==="y"?(a.month()!==this.fromMonthOfYear(f,p)&&(p=this.newDate(f,a.month(),this.minDay).monthOfYear()),p=Math.min(p,this.monthsInYear(f)),c=Math.min(c,this.daysInMonth(f,this.fromMonthOfYear(f,p)))):s==="m"&&(function(g){for(;pS-1+g.minMonth;)f++,p-=S,S=g.monthsInYear(f)}(this),c=Math.min(c,this.daysInMonth(f,this.fromMonthOfYear(f,p))));var w=[f,this.fromMonthOfYear(f,p),c];return this._validateLevel--,w}catch(g){throw this._validateLevel--,g}},_correctAdd:function(a,u,s,o){if(!(this.hasYearZero||o!=="y"&&o!=="m"||u[0]!==0&&a.year()>0==u[0]>0)){var c={y:[1,1,"y"],m:[1,this.monthsInYear(-1),"m"],w:[this.daysInWeek(),this.daysInYear(-1),"d"],d:[1,this.daysInYear(-1),"d"]}[o],f=s<0?-1:1;u=this._add(a,s*c[0]+f*c[1],c[2])}return a.date(u[0],u[1],u[2])},set:function(a,u,s){this._validate(a,this.minMonth,this.minDay,l.local.invalidDate||l.regionalOptions[""].invalidDate);var o=s==="y"?u:a.year(),c=s==="m"?u:a.month(),f=s==="d"?u:a.day();return s!=="y"&&s!=="m"||(f=Math.min(f,this.daysInMonth(o,c))),a.date(o,c,f)},isValid:function(a,u,s){this._validateLevel++;var o=this.hasYearZero||a!==0;if(o){var c=this.newDate(a,u,this.minDay);o=u>=this.minMonth&&u-this.minMonth=this.minDay&&s-this.minDay13.5?13:1),S=c-(g>2.5?4716:4715);return S<=0&&S--,this.newDate(S,g,w)},toJSDate:function(a,u,s){var o=this._validate(a,u,s,l.local.invalidDate||l.regionalOptions[""].invalidDate),c=new Date(o.year(),o.month()-1,o.day());return c.setHours(0),c.setMinutes(0),c.setSeconds(0),c.setMilliseconds(0),c.setHours(c.getHours()>12?c.getHours()+2:0),c},fromJSDate:function(a){return this.newDate(a.getFullYear(),a.getMonth()+1,a.getDate())}});var l=k.exports=new y;l.cdate=i,l.baseCalendar=v,l.calendars.gregorian=h},94338:function(k,m,t){var d=t(56131),y=t(63489);d(y.regionalOptions[""],{invalidArguments:"Invalid arguments",invalidFormat:"Cannot format a date from another calendar",missingNumberAt:"Missing number at position {0}",unknownNameAt:"Unknown name at position {0}",unexpectedLiteralAt:"Unexpected literal at position {0}",unexpectedText:"Additional text found at end"}),y.local=y.regionalOptions[""],d(y.cdate.prototype,{formatDate:function(i,M){return typeof i!="string"&&(M=i,i=""),this._calendar.formatDate(i||"",this,M)}}),d(y.baseCalendar.prototype,{UNIX_EPOCH:y.instance().newDate(1970,1,1).toJD(),SECS_PER_DAY:86400,TICKS_EPOCH:y.instance().jdEpoch,TICKS_PER_DAY:864e9,ATOM:"yyyy-mm-dd",COOKIE:"D, dd M yyyy",FULL:"DD, MM d, yyyy",ISO_8601:"yyyy-mm-dd",JULIAN:"J",RFC_822:"D, d M yy",RFC_850:"DD, dd-M-yy",RFC_1036:"D, d M yy",RFC_1123:"D, d M yyyy",RFC_2822:"D, d M yyyy",RSS:"D, d M yy",TICKS:"!",TIMESTAMP:"@",W3C:"yyyy-mm-dd",formatDate:function(i,M,v){if(typeof i!="string"&&(v=M,M=i,i=""),!M)return"";if(M.calendar()!==this)throw y.local.invalidFormat||y.regionalOptions[""].invalidFormat;i=i||this.local.dateFormat;for(var h,l,a,u=(v=v||{}).dayNamesShort||this.local.dayNamesShort,s=v.dayNames||this.local.dayNames,o=v.monthNumbers||this.local.monthNumbers,c=v.monthNamesShort||this.local.monthNamesShort,f=v.monthNames||this.local.monthNames,p=(v.calculateWeek||this.local.calculateWeek,function(b,R){for(var I=1;L+I1}),w=function(b,R,I,O){var z=""+R;if(p(b,O))for(;z.length1},_=function(N,W){var j=E(N,W),Y=[2,3,j?4:2,j?4:2,10,11,20]["oyYJ@!".indexOf(N)+1],U=new RegExp("^-?\\d{1,"+Y+"}"),G=M.substring(O).match(U);if(!G)throw(y.local.missingNumberAt||y.regionalOptions[""].missingNumberAt).replace(/\{0\}/,O);return O+=G[0].length,parseInt(G[0],10)},A=this,L=function(){if(typeof s=="function"){E("m");var N=s.call(A,M.substring(O));return O+=N.length,N}return _("m")},b=function(N,W,j,Y){for(var U=E(N,Y)?j:W,G=0;G-1){w=1,g=S;for(var B=this.daysInMonth(p,w);g>B;B=this.daysInMonth(p,w))w++,g-=B}return f>-1?this.fromJD(f):this.newDate(p,w,g)},determineDate:function(i,M,v,h,l){v&&typeof v!="object"&&(l=h,h=v,v=null),typeof h!="string"&&(l=h,h="");var a=this;return M=M?M.newDate():null,i==null?M:typeof i=="string"?function(u){try{return a.parseDate(h,u,l)}catch{}for(var s=((u=u.toLowerCase()).match(/^c/)&&v?v.newDate():null)||a.today(),o=/([+-]?[0-9]+)\s*(d|w|m|y)?/g,c=o.exec(u);c;)s.add(parseInt(c[1],10),c[2]||"d"),c=o.exec(u);return s}(i):typeof i=="number"?isNaN(i)||i===1/0||i===-1/0?M:a.today().add(i,"d"):a.newDate(i)}})},69862:function(){},40964:function(){},72077:function(k,m,t){var d=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],y=typeof globalThis>"u"?t.g:globalThis;k.exports=function(){for(var i=[],M=0;M>8&15|me>>4&240,me>>4&15|240&me,(15&me)<<4|15&me,1):pe===8?_(me>>24&255,me>>16&255,me>>8&255,(255&me)/255):pe===4?_(me>>12&15|me>>8&240,me>>8&15|me>>4&240,me>>4&15|240&me,((15&me)<<4|15&me)/255):null):(me=s.exec(de))?new b(me[1],me[2],me[3],1):(me=o.exec(de))?new b(255*me[1]/100,255*me[2]/100,255*me[3]/100,1):(me=c.exec(de))?_(me[1],me[2],me[3],me[4]):(me=f.exec(de))?_(255*me[1]/100,255*me[2]/100,255*me[3]/100,me[4]):(me=p.exec(de))?B(me[1],me[2]/100,me[3]/100,1):(me=w.exec(de))?B(me[1],me[2]/100,me[3]/100,me[4]):g.hasOwnProperty(de)?E(g[de]):de==="transparent"?new b(NaN,NaN,NaN,0):null}function E(de){return new b(de>>16&255,de>>8&255,255&de,1)}function _(de,me,pe,xe){return xe<=0&&(de=me=pe=NaN),new b(de,me,pe,xe)}function A(de){return de instanceof i||(de=T(de)),de?new b((de=de.rgb()).r,de.g,de.b,de.opacity):new b}function L(de,me,pe,xe){return arguments.length===1?A(de):new b(de,me,pe,xe??1)}function b(de,me,pe,xe){this.r=+de,this.g=+me,this.b=+pe,this.opacity=+xe}function R(){return"#".concat(F(this.r)).concat(F(this.g)).concat(F(this.b))}function I(){var de=O(this.opacity);return"".concat(de===1?"rgb(":"rgba(").concat(z(this.r),", ").concat(z(this.g),", ").concat(z(this.b)).concat(de===1?")":", ".concat(de,")"))}function O(de){return isNaN(de)?1:Math.max(0,Math.min(1,de))}function z(de){return Math.max(0,Math.min(255,Math.round(de)||0))}function F(de){return((de=z(de))<16?"0":"")+de.toString(16)}function B(de,me,pe,xe){return xe<=0?de=me=pe=NaN:pe<=0||pe>=1?de=me=NaN:me<=0&&(de=NaN),new W(de,me,pe,xe)}function N(de){if(de instanceof W)return new W(de.h,de.s,de.l,de.opacity);if(de instanceof i||(de=T(de)),!de)return new W;if(de instanceof W)return de;var me=(de=de.rgb()).r/255,pe=de.g/255,xe=de.b/255,Pe=Math.min(me,pe,xe),_e=Math.max(me,pe,xe),Me=NaN,Se=_e-Pe,Ce=(_e+Pe)/2;return Se?(Me=me===_e?(pe-xe)/Se+6*(pe0&&Ce<1?0:Me,new W(Me,Se,Ce,de.opacity)}function W(de,me,pe,xe){this.h=+de,this.s=+me,this.l=+pe,this.opacity=+xe}function j(de){return(de=(de||0)%360)<0?de+360:de}function Y(de){return Math.max(0,Math.min(1,de||0))}function U(de,me,pe){return 255*(de<60?me+(pe-me)*de/60:de<180?pe:de<240?me+(pe-me)*(240-de)/60:me)}d(i,T,{copy:function(de){return Object.assign(new this.constructor,this,de)},displayable:function(){return this.rgb().displayable()},hex:S,formatHex:S,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return N(this).formatHsl()},formatRgb:x,toString:x}),d(b,L,y(i,{brighter:function(de){return de=de==null?v:Math.pow(v,de),new b(this.r*de,this.g*de,this.b*de,this.opacity)},darker:function(de){return de=de==null?M:Math.pow(M,de),new b(this.r*de,this.g*de,this.b*de,this.opacity)},rgb:function(){return this},clamp:function(){return new b(z(this.r),z(this.g),z(this.b),O(this.opacity))},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:R,formatHex:R,formatHex8:function(){return"#".concat(F(this.r)).concat(F(this.g)).concat(F(this.b)).concat(F(255*(isNaN(this.opacity)?1:this.opacity)))},formatRgb:I,toString:I})),d(W,function(de,me,pe,xe){return arguments.length===1?N(de):new W(de,me,pe,xe??1)},y(i,{brighter:function(de){return de=de==null?v:Math.pow(v,de),new W(this.h,this.s,this.l*de,this.opacity)},darker:function(de){return de=de==null?M:Math.pow(M,de),new W(this.h,this.s,this.l*de,this.opacity)},rgb:function(){var de=this.h%360+360*(this.h<0),me=isNaN(de)||isNaN(this.s)?0:this.s,pe=this.l,xe=pe+(pe<.5?pe:1-pe)*me,Pe=2*pe-xe;return new b(U(de>=240?de-240:de+120,Pe,xe),U(de,Pe,xe),U(de<120?de+240:de-120,Pe,xe),this.opacity)},clamp:function(){return new W(j(this.h),Y(this.s),Y(this.l),O(this.opacity))},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var de=O(this.opacity);return"".concat(de===1?"hsl(":"hsla(").concat(j(this.h),", ").concat(100*Y(this.s),"%, ").concat(100*Y(this.l),"%").concat(de===1?")":", ".concat(de,")"))}}));var G=function(de){return function(){return de}};function q(de,me){var pe=me-de;return pe?function(xe,Pe){return function(_e){return xe+_e*Pe}}(de,pe):G(isNaN(de)?me:de)}var H=function de(me){var pe=function(Pe){return(Pe=+Pe)==1?q:function(_e,Me){return Me-_e?function(Se,Ce,ae){return Se=Math.pow(Se,ae),Ce=Math.pow(Ce,ae)-Se,ae=1/ae,function(he){return Math.pow(Se+he*Ce,ae)}}(_e,Me,Pe):G(isNaN(_e)?Me:_e)}}(me);function xe(Pe,_e){var Me=pe((Pe=L(Pe)).r,(_e=L(_e)).r),Se=pe(Pe.g,_e.g),Ce=pe(Pe.b,_e.b),ae=q(Pe.opacity,_e.opacity);return function(he){return Pe.r=Me(he),Pe.g=Se(he),Pe.b=Ce(he),Pe.opacity=ae(he),Pe+""}}return xe.gamma=de,xe}(1);function ne(de,me){var pe,xe=me?me.length:0,Pe=de?Math.min(xe,de.length):0,_e=new Array(Pe),Me=new Array(xe);for(pe=0;pe_e&&(Pe=me.slice(_e,Pe),Se[Me]?Se[Me]+=Pe:Se[++Me]=Pe),(pe=pe[0])===(xe=xe[0])?Se[Me]?Se[Me]+=xe:Se[++Me]=xe:(Se[++Me]=null,Ce.push({i:Me,x:Z(pe,xe)})),_e=ie.lastIndex;return _en.rt)},yValues(){return this.dataForHeatmapDrawing.map(n=>n.mass)},selectedRange(){switch(this.args.title){case"Raw MS1 Heatmap":return this.selectionStore.selectedRawHeatmap;case"Deconvolved MS1 Heatmap":return this.selectionStore.selectedDeconvHeatmap;default:return}},xRange(){if(this.selectedRange!==void 0)return this.selectedRange.xRange[0]<0&&this.selectedRange.xRange[1]<0?void 0:this.selectedRange.xRange},yRange(){if(this.selectedRange!==void 0)return this.selectedRange.yRange[0]<0&&this.selectedRange.yRange[1]<0?void 0:this.selectedRange.yRange},markerColorValues(){return this.dataForHeatmapDrawing.map(n=>n.intensity)},data(){const n=this.dataForHeatmapDrawing.map(m=>m.intensity),e=Math.min(...n.filter(m=>m>0)),r=Math.max(...n),C=Math.floor(Math.log10(e)),D=Math.ceil(Math.log10(r)),k=Array.from({length:D-C+1},(m,t)=>Math.pow(10,C+t));return[{type:"scattergl",name:"raw peaks",x:this.xValues,y:this.yValues,mode:"markers",marker:{color:this.markerColorValues.map(m=>m>0?Math.log10(m):0),colorscale:"Portland",showscale:!0,colorbar:{title:"Intensity",tickvals:k.map(m=>Math.log10(m)),ticktext:k.map(m=>m.toExponential(0)),tickmode:"array"}},hovertext:this.dataForHeatmapDrawing.map(m=>m.intensity.toExponential(2))}]},layout(){var n,e,r,C;return{title:`${this.args.title}`,showlegend:this.args.showLegend,xaxis:{title:"Retention Time",range:this.xRange},yaxis:{title:this.yAxisLabel,range:this.yRange},paper_bgcolor:(n=this.theme)==null?void 0:n.backgroundColor,plot_bgcolor:(e=this.theme)==null?void 0:e.secondaryBackgroundColor,font:{color:(r=this.theme)==null?void 0:r.textColor,family:(C=this.theme)==null?void 0:C.font}}}},watch:{renderData(){this.graph()},zoomRange(){if(this.zoomRange!==void 0)switch(this.args.title){case"Raw MS1 Heatmap":this.selectionStore.updateRawHeatmapSelection(this.zoomRange);break;case"Deconvolved MS1 Heatmap":this.selectionStore.updateDeconvHeatmapSelection(this.zoomRange);break}}},mounted(){this.graph()},methods:{async graph(){await es.newPlot(this.id,this.data,this.layout,{modeBarButtonsToRemove:["toImage","sendDataToCloud"],modeBarButtonsToAdd:[{title:"Download as SVG",name:"toImageSvg",icon:es.Icons.camera,click:e=>{es.downloadImage(e,{filename:"FLASHViewer-heatmap",height:400,width:1200,format:"svg"})}}]});const n=document.getElementById(this.id);n&&(n.on("plotly_relayout",e=>{e["xaxis.autorange"]?this.zoomRange={xRange:[-1,-1],yRange:[-1,-1]}:e["xaxis.range[0]"]!==void 0&&e["xaxis.range[1]"]!==void 0&&e["yaxis.range[0]"]!==void 0&&e["yaxis.range[1]"]!==void 0&&(this.zoomRange={xRange:[e["xaxis.range[0]"],e["xaxis.range[1]"]],yRange:[e["yaxis.range[0]"],e["yaxis.range[1]"]]})}),n.on("plotly_click",e=>{const r=this.dataForHeatmapDrawing[e.points[0].pointIndex],C=r==null?void 0:r.scan_idx,D=r==null?void 0:r.mass_idx;C!==void 0&&this.selectionStore.updateSelectedScan(C),this.args.title==="Deconvolved MS1 Heatmap"&&D!==void 0&&this.selectionStore.updateSelectedMass(D)}))}}}),is=(n,e)=>{const r=n.__vccOpts||n;for(const[C,D]of e)r[C]=D;return r},aR=["id"];function oR(n,e,r,C,D,k){return Ir(),ei("div",{id:n.id,style:{width:"100%"}},null,8,aR)}const sR=is(iR,[["render",oR]]);class Ml{constructor(e){this.table=e}reloadData(e,r,C){return this.table.dataLoader.load(e,void 0,void 0,void 0,r,C)}langText(){return this.table.modules.localize.getText(...arguments)}langBind(){return this.table.modules.localize.bind(...arguments)}langLocale(){return this.table.modules.localize.getLocale(...arguments)}commsConnections(){return this.table.modules.comms.getConnections(...arguments)}commsSend(){return this.table.modules.comms.send(...arguments)}layoutMode(){return this.table.modules.layout.getMode()}layoutRefresh(e){return this.table.modules.layout.layout(e)}subscribe(){return this.table.eventBus.subscribe(...arguments)}unsubscribe(){return this.table.eventBus.unsubscribe(...arguments)}subscribed(e){return this.table.eventBus.subscribed(e)}subscriptionChange(){return this.table.eventBus.subscriptionChange(...arguments)}dispatch(){return this.table.eventBus.dispatch(...arguments)}chain(){return this.table.eventBus.chain(...arguments)}confirm(){return this.table.eventBus.confirm(...arguments)}dispatchExternal(){return this.table.externalEvents.dispatch(...arguments)}subscribedExternal(e){return this.table.externalEvents.subscribed(e)}subscriptionChangeExternal(){return this.table.externalEvents.subscriptionChange(...arguments)}options(e){return this.table.options[e]}setOption(e,r){return typeof r<"u"&&(this.table.options[e]=r),this.table.options[e]}deprecationCheck(e,r,C){return this.table.deprecationAdvisor.check(e,r,C)}deprecationCheckMsg(e,r){return this.table.deprecationAdvisor.checkMsg(e,r)}deprecationMsg(e){return this.table.deprecationAdvisor.msg(e)}module(e){return this.table.module(e)}}class oo{static elVisible(e){return!(e.offsetWidth<=0&&e.offsetHeight<=0)}static elOffset(e){var r=e.getBoundingClientRect();return{top:r.top+window.pageYOffset-document.documentElement.clientTop,left:r.left+window.pageXOffset-document.documentElement.clientLeft}}static retrieveNestedData(e,r,C){var D=e?r.split(e):[r],k=D.length,m;for(let t=0;ti.subject===t),d>-1?r[m]=C[d].copy:(y=Object.assign(Array.isArray(t)?[]:{},t),C.unshift({subject:t,copy:y}),r[m]=this.deepClone(t,y,C)))}return r}}class H2 extends Ml{constructor(e,r,C){super(e),this.element=r,this.container=this._lookupContainer(),this.parent=C,this.reversedX=!1,this.childPopup=null,this.blurable=!1,this.blurCallback=null,this.blurEventsBound=!1,this.renderedCallback=null,this.visible=!1,this.hideable=!0,this.element.classList.add("tabulator-popup-container"),this.blurEvent=this.hide.bind(this,!1),this.escEvent=this._escapeCheck.bind(this),this.destroyBinding=this.tableDestroyed.bind(this),this.destroyed=!1}tableDestroyed(){this.destroyed=!0,this.hide(!0)}_lookupContainer(){var e=this.table.options.popupContainer;return typeof e=="string"?(e=document.querySelector(e),e||console.warn("Menu Error - no container element found matching selector:",this.table.options.popupContainer,"(defaulting to document body)")):e===!0&&(e=this.table.element),e&&!this._checkContainerIsParent(e)&&(e=!1,console.warn("Menu Error - container element does not contain this table:",this.table.options.popupContainer,"(defaulting to document body)")),e||(e=document.body),e}_checkContainerIsParent(e,r=this.table.element){return e===r?!0:r.parentNode?this._checkContainerIsParent(e,r.parentNode):!1}renderCallback(e){this.renderedCallback=e}containerEventCoords(e){var r=!(e instanceof MouseEvent),C=r?e.touches[0].pageX:e.pageX,D=r?e.touches[0].pageY:e.pageY;if(this.container!==document.body){let k=oo.elOffset(this.container);C-=k.left,D-=k.top}return{x:C,y:D}}elementPositionCoords(e,r="right"){var C=oo.elOffset(e),D,k,m;switch(this.container!==document.body&&(D=oo.elOffset(this.container),C.left-=D.left,C.top-=D.top),r){case"right":k=C.left+e.offsetWidth,m=C.top-1;break;case"bottom":k=C.left,m=C.top+e.offsetHeight;break;case"left":k=C.left,m=C.top-1;break;case"top":k=C.left,m=C.top;break;case"center":k=C.left+e.offsetWidth/2,m=C.top+e.offsetHeight/2;break}return{x:k,y:m,offset:C}}show(e,r){var C,D,k,m,t;return this.destroyed||this.table.destroyed?this:(e instanceof HTMLElement?(k=e,t=this.elementPositionCoords(e,r),m=t.offset,C=t.x,D=t.y):typeof e=="number"?(m={top:0,left:0},C=e,D=r):(t=this.containerEventCoords(e),C=t.x,D=t.y,this.reversedX=!1),this.element.style.top=D+"px",this.element.style.left=C+"px",this.container.appendChild(this.element),typeof this.renderedCallback=="function"&&this.renderedCallback(),this._fitToScreen(C,D,k,m,r),this.visible=!0,this.subscribe("table-destroy",this.destroyBinding),this.element.addEventListener("mousedown",d=>{d.stopPropagation()}),this)}_fitToScreen(e,r,C,D,k){var m=this.container===document.body?document.documentElement.scrollTop:this.container.scrollTop;if((e+this.element.offsetWidth>=this.container.offsetWidth||this.reversedX)&&(this.element.style.left="",C?this.element.style.right=this.container.offsetWidth-D.left+"px":this.element.style.right=this.container.offsetWidth-e+"px",this.reversedX=!0),r+this.element.offsetHeight>Math.max(this.container.offsetHeight,m?this.container.scrollHeight:0))if(C)switch(k){case"bottom":this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight-C.offsetHeight-1+"px";break;default:this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight+C.offsetHeight+1+"px"}else this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight+"px"}isVisible(){return this.visible}hideOnBlur(e){return this.blurable=!0,this.visible&&(setTimeout(()=>{this.visible&&(this.table.rowManager.element.addEventListener("scroll",this.blurEvent),this.subscribe("cell-editing",this.blurEvent),document.body.addEventListener("click",this.blurEvent),document.body.addEventListener("contextmenu",this.blurEvent),document.body.addEventListener("mousedown",this.blurEvent),window.addEventListener("resize",this.blurEvent),document.body.addEventListener("keydown",this.escEvent),this.blurEventsBound=!0)},100),this.blurCallback=e),this}_escapeCheck(e){e.keyCode==27&&this.hide()}blockHide(){this.hideable=!1}restoreHide(){this.hideable=!0}hide(e=!1){return this.visible&&this.hideable&&(this.blurable&&this.blurEventsBound&&(document.body.removeEventListener("keydown",this.escEvent),document.body.removeEventListener("click",this.blurEvent),document.body.removeEventListener("contextmenu",this.blurEvent),document.body.removeEventListener("mousedown",this.blurEvent),window.removeEventListener("resize",this.blurEvent),this.table.rowManager.element.removeEventListener("scroll",this.blurEvent),this.unsubscribe("cell-editing",this.blurEvent),this.blurEventsBound=!1),this.childPopup&&this.childPopup.hide(),this.parent&&(this.parent.childPopup=null),this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.visible=!1,this.blurCallback&&!e&&this.blurCallback(),this.unsubscribe("table-destroy",this.destroyBinding)),this}child(e){return this.childPopup&&this.childPopup.hide(),this.childPopup=new H2(this.table,e,this),this.childPopup}}class qi extends Ml{constructor(e,r){super(e),this._handler=null}initialize(){}registerTableOption(e,r){this.table.optionsList.register(e,r)}registerColumnOption(e,r){this.table.columnManager.optionsList.register(e,r)}registerTableFunction(e,r){typeof this.table[e]>"u"?this.table[e]=(...C)=>(this.table.initGuard(e),r(...C)):console.warn("Unable to bind table function, name already in use",e)}registerComponentFunction(e,r,C){return this.table.componentFunctionBinder.bind(e,r,C)}registerDataHandler(e,r){this.table.rowManager.registerDataPipelineHandler(e,r),this._handler=e}registerDisplayHandler(e,r){this.table.rowManager.registerDisplayPipelineHandler(e,r),this._handler=e}displayRows(e){var r=this.table.rowManager.displayRows.length-1,C;if(this._handler&&(C=this.table.rowManager.displayPipeline.findIndex(D=>D.handler===this._handler),C>-1&&(r=C)),e&&(r=r+e),this._handler)return r>-1?this.table.rowManager.getDisplayRows(r):this.activeRows()}activeRows(){return this.table.rowManager.activeRows}refreshData(e,r){r||(r=this._handler),r&&this.table.rowManager.refreshActiveData(r,!1,e)}footerAppend(e){return this.table.footerManager.append(e)}footerPrepend(e){return this.table.footerManager.prepend(e)}footerRemove(e){return this.table.footerManager.remove(e)}popup(e,r){return new H2(this.table,e,r)}alert(e,r){return this.table.alertManager.alert(e,r)}clearAlert(){return this.table.alertManager.clear()}}var lR={};class i0 extends qi{constructor(e){super(e),this.allowedTypes=["","data","download","clipboard","print","htmlOutput"],this.registerColumnOption("accessor"),this.registerColumnOption("accessorParams"),this.registerColumnOption("accessorData"),this.registerColumnOption("accessorDataParams"),this.registerColumnOption("accessorDownload"),this.registerColumnOption("accessorDownloadParams"),this.registerColumnOption("accessorClipboard"),this.registerColumnOption("accessorClipboardParams"),this.registerColumnOption("accessorPrint"),this.registerColumnOption("accessorPrintParams"),this.registerColumnOption("accessorHtmlOutput"),this.registerColumnOption("accessorHtmlOutputParams")}initialize(){this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("row-data-retrieve",this.transformRow.bind(this))}initializeColumn(e){var r=!1,C={};this.allowedTypes.forEach(D=>{var k="accessor"+(D.charAt(0).toUpperCase()+D.slice(1)),m;e.definition[k]&&(m=this.lookupAccessor(e.definition[k]),m&&(r=!0,C[k]={accessor:m,params:e.definition[k+"Params"]||{}}))}),r&&(e.modules.accessor=C)}lookupAccessor(e){var r=!1;switch(typeof e){case"string":i0.accessors[e]?r=i0.accessors[e]:console.warn("Accessor Error - No such accessor found, ignoring: ",e);break;case"function":r=e;break}return r}transformRow(e,r){var C="accessor"+(r.charAt(0).toUpperCase()+r.slice(1)),D=e.getComponent(),k=oo.deepClone(e.data||{});return this.table.columnManager.traverse(function(m){var t,d,y,i;m.modules.accessor&&(d=m.modules.accessor[C]||m.modules.accessor.accessor||!1,d&&(t=m.getFieldValue(k),t!="undefined"&&(i=m.getComponent(),y=typeof d.params=="function"?d.params(t,k,r,i,D):d.params,m.setFieldValue(k,d.accessor(t,k,r,y,i,D)))))}),k}}i0.moduleName="accessor";i0.accessors=lR;var uR={method:"GET"};function nx(n,e){var r=[];if(e=e||"",Array.isArray(n))n.forEach((D,k)=>{r=r.concat(nx(D,e?e+"["+k+"]":k))});else if(typeof n=="object")for(var C in n)r=r.concat(nx(n[C],e?e+"["+C+"]":C));else r.push({key:e,value:n});return r}function cR(n){var e=nx(n),r=[];return e.forEach(function(C){r.push(encodeURIComponent(C.key)+"="+encodeURIComponent(C.value))}),r.join("&")}function EM(n,e,r){return n&&r&&Object.keys(r).length&&(!e.method||e.method.toLowerCase()=="get")&&(e.method="get",n+=(n.includes("?")?"&":"?")+cR(r)),n}function fR(n,e,r){var C;return new Promise((D,k)=>{if(n=this.urlGenerator.call(this.table,n,e,r),e.method.toUpperCase()!="GET")if(C=typeof this.table.options.ajaxContentType=="object"?this.table.options.ajaxContentType:this.contentTypeFormatters[this.table.options.ajaxContentType],C){for(var m in C.headers)e.headers||(e.headers={}),typeof e.headers[m]>"u"&&(e.headers[m]=C.headers[m]);e.body=C.body.call(this,n,e,r)}else console.warn("Ajax Error - Invalid ajaxContentType value:",this.table.options.ajaxContentType);n?(typeof e.headers>"u"&&(e.headers={}),typeof e.headers.Accept>"u"&&(e.headers.Accept="application/json"),typeof e.headers["X-Requested-With"]>"u"&&(e.headers["X-Requested-With"]="XMLHttpRequest"),typeof e.mode>"u"&&(e.mode="cors"),e.mode=="cors"?(typeof e.headers.Origin>"u"&&(e.headers.Origin=window.location.origin),typeof e.credentials>"u"&&(e.credentials="same-origin")):typeof e.credentials>"u"&&(e.credentials="include"),fetch(n,e).then(t=>{t.ok?t.json().then(d=>{D(d)}).catch(d=>{k(d),console.warn("Ajax Load Error - Invalid JSON returned",d)}):(console.error("Ajax Load Error - Connection Error: "+t.status,t.statusText),k(t))}).catch(t=>{console.error("Ajax Load Error - Connection Error: ",t),k(t)})):(console.warn("Ajax Load Error - No URL Set"),D([]))})}function rx(n,e){var r=[];if(e=e||"",Array.isArray(n))n.forEach((D,k)=>{r=r.concat(rx(D,e?e+"["+k+"]":k))});else if(typeof n=="object")for(var C in n)r=r.concat(rx(n[C],e?e+"["+C+"]":C));else r.push({key:e,value:n});return r}var hR={json:{headers:{"Content-Type":"application/json"},body:function(n,e,r){return JSON.stringify(r)}},form:{headers:{},body:function(n,e,r){var C=rx(r),D=new FormData;return C.forEach(function(k){D.append(k.key,k.value)}),D}}};class Rc extends qi{constructor(e){super(e),this.config={},this.url="",this.urlGenerator=!1,this.params=!1,this.loaderPromise=!1,this.registerTableOption("ajaxURL",!1),this.registerTableOption("ajaxURLGenerator",!1),this.registerTableOption("ajaxParams",{}),this.registerTableOption("ajaxConfig","get"),this.registerTableOption("ajaxContentType","form"),this.registerTableOption("ajaxRequestFunc",!1),this.registerTableOption("ajaxRequesting",function(){}),this.registerTableOption("ajaxResponse",!1),this.contentTypeFormatters=Rc.contentTypeFormatters}initialize(){this.loaderPromise=this.table.options.ajaxRequestFunc||Rc.defaultLoaderPromise,this.urlGenerator=this.table.options.ajaxURLGenerator||Rc.defaultURLGenerator,this.table.options.ajaxURL&&this.setUrl(this.table.options.ajaxURL),this.setDefaultConfig(this.table.options.ajaxConfig),this.registerTableFunction("getAjaxUrl",this.getUrl.bind(this)),this.subscribe("data-loading",this.requestDataCheck.bind(this)),this.subscribe("data-params",this.requestParams.bind(this)),this.subscribe("data-load",this.requestData.bind(this))}requestParams(e,r,C,D){var k=this.table.options.ajaxParams;return k&&(typeof k=="function"&&(k=k.call(this.table)),D=Object.assign(Object.assign({},k),D)),D}requestDataCheck(e,r,C,D){return!!(!e&&this.url||typeof e=="string")}requestData(e,r,C,D,k){var m;return!k&&this.requestDataCheck(e)?(e&&this.setUrl(e),m=this.generateConfig(C),this.sendRequest(this.url,r,m)):k}setDefaultConfig(e={}){this.config=Object.assign({},Rc.defaultConfig),typeof e=="string"?this.config.method=e:Object.assign(this.config,e)}generateConfig(e={}){var r=Object.assign({},this.config);return typeof e=="string"?r.method=e:Object.assign(r,e),r}setUrl(e){this.url=e}getUrl(){return this.url}sendRequest(e,r,C){return this.table.options.ajaxRequesting.call(this.table,e,r)!==!1?this.loaderPromise(e,C,r).then(D=>(this.table.options.ajaxResponse&&(D=this.table.options.ajaxResponse.call(this.table,e,r,D)),D)):Promise.reject()}}Rc.moduleName="ajax";Rc.defaultConfig=uR;Rc.defaultURLGenerator=EM;Rc.defaultLoaderPromise=fR;Rc.contentTypeFormatters=hR;var dR={replace:function(n){return this.table.setData(n)},update:function(n){return this.table.updateOrAddData(n)},insert:function(n){return this.table.addData(n)},range:function(n){var e=[],r=this.table.modules.selectRange.activeRange,C=!1,D,k,m,t,d;return d=n.length,r&&(D=r.getBounds(),k=D.start,D.start===D.end&&(C=!0),k&&(e=this.table.rowManager.activeRows.slice(),m=e.indexOf(k.row),C?t=n.length:t=e.indexOf(D.end.row)-m+1,m>-1&&(this.table.blockRedraw(),e=e.slice(m,m+t),e.forEach((y,i)=>{y.updateData(n[i%d])}),this.table.restoreRedraw()))),e}},pR={table:function(n){var e=[],r=!0,C=this.table.columnManager.columns,D=[],k=[];return n=n.split(` -`),n.forEach(function(m){e.push(m.split(" "))}),e.length&&!(e.length===1&&e[0].length<2)?(e[0].forEach(function(m){var t=C.find(function(d){return m&&d.definition.title&&m.trim()&&d.definition.title.trim()===m.trim()});t?D.push(t):r=!1}),r||(r=!0,D=[],e[0].forEach(function(m){var t=C.find(function(d){return m&&d.field&&m.trim()&&d.field.trim()===m.trim()});t?D.push(t):r=!1}),r||(D=this.table.columnManager.columnsByIndex)),r&&e.shift(),e.forEach(function(m){var t={};m.forEach(function(d,y){D[y]&&(t[D[y].field]=d)}),k.push(t)}),k):!1},range:function(n){var e=[],r=[],C=this.table.modules.selectRange.activeRange,D=!1,k,m,t,d,y;return C&&(k=C.getBounds(),m=k.start,k.start===k.end&&(D=!0),m&&(n=n.split(` -`),n.forEach(function(i){e.push(i.split(" "))}),e.length&&(d=this.table.columnManager.getVisibleColumnsByIndex(),y=d.indexOf(m.column),y>-1)))?(D?t=e[0].length:t=d.indexOf(k.end.column)-y+1,d=d.slice(y,y+t),e.forEach(i=>{var M={},v=i.length;d.forEach(function(h,l){M[h.field]=i[l%v]}),r.push(M)}),r):!1}};class qd extends qi{constructor(e){super(e),this.mode=!0,this.pasteParser=function(){},this.pasteAction=function(){},this.customSelection=!1,this.rowRange=!1,this.blocked=!0,this.registerTableOption("clipboard",!1),this.registerTableOption("clipboardCopyStyled",!0),this.registerTableOption("clipboardCopyConfig",!1),this.registerTableOption("clipboardCopyFormatter",!1),this.registerTableOption("clipboardCopyRowRange","active"),this.registerTableOption("clipboardPasteParser","table"),this.registerTableOption("clipboardPasteAction","insert"),this.registerColumnOption("clipboard"),this.registerColumnOption("titleClipboard")}initialize(){this.mode=this.table.options.clipboard,this.rowRange=this.table.options.clipboardCopyRowRange,(this.mode===!0||this.mode==="copy")&&this.table.element.addEventListener("copy",e=>{var r,C,D;this.blocked||(e.preventDefault(),this.customSelection?(r=this.customSelection,this.table.options.clipboardCopyFormatter&&(r=this.table.options.clipboardCopyFormatter("plain",r))):(D=this.table.modules.export.generateExportList(this.table.options.clipboardCopyConfig,this.table.options.clipboardCopyStyled,this.rowRange,"clipboard"),C=this.table.modules.export.generateHTMLTable(D),r=C?this.generatePlainContent(D):"",this.table.options.clipboardCopyFormatter&&(r=this.table.options.clipboardCopyFormatter("plain",r),C=this.table.options.clipboardCopyFormatter("html",C))),window.clipboardData&&window.clipboardData.setData?window.clipboardData.setData("Text",r):e.clipboardData&&e.clipboardData.setData?(e.clipboardData.setData("text/plain",r),C&&e.clipboardData.setData("text/html",C)):e.originalEvent&&e.originalEvent.clipboardData.setData&&(e.originalEvent.clipboardData.setData("text/plain",r),C&&e.originalEvent.clipboardData.setData("text/html",C)),this.dispatchExternal("clipboardCopied",r,C),this.reset())}),(this.mode===!0||this.mode==="paste")&&this.table.element.addEventListener("paste",e=>{this.paste(e)}),this.setPasteParser(this.table.options.clipboardPasteParser),this.setPasteAction(this.table.options.clipboardPasteAction),this.registerTableFunction("copyToClipboard",this.copy.bind(this))}reset(){this.blocked=!0,this.customSelection=!1}generatePlainContent(e){var r=[];return e.forEach(C=>{var D=[];C.columns.forEach(k=>{var m="";if(k)if(C.type==="group"&&(k.value=k.component.getKey()),k.value===null)m="";else switch(typeof k.value){case"object":m=JSON.stringify(k.value);break;case"undefined":m="";break;default:m=k.value}D.push(m)}),r.push(D.join(" "))}),r.join(` -`)}copy(e,r){var C,D;this.blocked=!1,this.customSelection=!1,(this.mode===!0||this.mode==="copy")&&(this.rowRange=e||this.table.options.clipboardCopyRowRange,typeof window.getSelection<"u"&&typeof document.createRange<"u"?(e=document.createRange(),e.selectNodeContents(this.table.element),C=window.getSelection(),C.toString()&&r&&(this.customSelection=C.toString()),C.removeAllRanges(),C.addRange(e)):typeof document.selection<"u"&&typeof document.body.createTextRange<"u"&&(D=document.body.createTextRange(),D.moveToElementText(this.table.element),D.select()),document.execCommand("copy"),C&&C.removeAllRanges())}setPasteAction(e){switch(typeof e){case"string":this.pasteAction=qd.pasteActions[e],this.pasteAction||console.warn("Clipboard Error - No such paste action found:",e);break;case"function":this.pasteAction=e;break}}setPasteParser(e){switch(typeof e){case"string":this.pasteParser=qd.pasteParsers[e],this.pasteParser||console.warn("Clipboard Error - No such paste parser found:",e);break;case"function":this.pasteParser=e;break}}paste(e){var r,C,D;this.checkPasteOrigin(e)&&(r=this.getPasteData(e),C=this.pasteParser.call(this,r),C?(e.preventDefault(),this.table.modExists("mutator")&&(C=this.mutateData(C)),D=this.pasteAction.call(this,C),this.dispatchExternal("clipboardPasted",r,C,D)):this.dispatchExternal("clipboardPasteError",r))}mutateData(e){var r=[];return Array.isArray(e)?e.forEach(C=>{r.push(this.table.modules.mutator.transformRow(C,"clipboard"))}):r=e,r}checkPasteOrigin(e){var r=!0,C=this.confirm("clipboard-paste",[e]);return(C||!["DIV","SPAN"].includes(e.target.tagName))&&(r=!1),r}getPasteData(e){var r;return window.clipboardData&&window.clipboardData.getData?r=window.clipboardData.getData("Text"):e.clipboardData&&e.clipboardData.getData?r=e.clipboardData.getData("text/plain"):e.originalEvent&&e.originalEvent.clipboardData.getData&&(r=e.originalEvent.clipboardData.getData("text/plain")),r}}qd.moduleName="clipboard";qd.pasteActions=dR;qd.pasteParsers=pR;class mR{constructor(e){return this._row=e,new Proxy(this,{get:function(r,C,D){return typeof r[C]<"u"?r[C]:r._row.table.componentFunctionBinder.handle("row",r._row,C)}})}getData(e){return this._row.getData(e)}getElement(){return this._row.getElement()}getTable(){return this._row.table}getCells(){var e=[];return this._row.getCells().forEach(function(r){e.push(r.getComponent())}),e}getCell(e){var r=this._row.getCell(e);return r?r.getComponent():!1}_getSelf(){return this._row}}class LM{constructor(e){return this._cell=e,new Proxy(this,{get:function(r,C,D){return typeof r[C]<"u"?r[C]:r._cell.table.componentFunctionBinder.handle("cell",r._cell,C)}})}getValue(){return this._cell.getValue()}getOldValue(){return this._cell.getOldValue()}getInitialValue(){return this._cell.initialValue}getElement(){return this._cell.getElement()}getRow(){return this._cell.row.getComponent()}getData(e){return this._cell.row.getData(e)}getType(){return"cell"}getField(){return this._cell.column.getField()}getColumn(){return this._cell.column.getComponent()}setValue(e,r){typeof r>"u"&&(r=!0),this._cell.setValue(e,r)}restoreOldValue(){this._cell.setValueActual(this._cell.getOldValue())}restoreInitialValue(){this._cell.setValueActual(this._cell.initialValue)}checkHeight(){this._cell.checkHeight()}getTable(){return this._cell.table}_getSelf(){return this._cell}}class eg extends Ml{constructor(e,r){super(e.table),this.table=e.table,this.column=e,this.row=r,this.element=null,this.value=null,this.initialValue,this.oldValue=null,this.modules={},this.height=null,this.width=null,this.minWidth=null,this.component=null,this.loaded=!1,this.build()}build(){this.generateElement(),this.setWidth(),this._configureCell(),this.setValueActual(this.column.getFieldValue(this.row.data)),this.initialValue=this.value}generateElement(){this.element=document.createElement("div"),this.element.className="tabulator-cell",this.element.setAttribute("role","gridcell")}_configureCell(){var e=this.element,r=this.column.getField(),C={top:"flex-start",bottom:"flex-end",middle:"center"},D={left:"flex-start",right:"flex-end",center:"center"};if(e.style.textAlign=this.column.hozAlign,this.column.vertAlign&&(e.style.display="inline-flex",e.style.alignItems=C[this.column.vertAlign]||"",this.column.hozAlign&&(e.style.justifyContent=D[this.column.hozAlign]||"")),r&&e.setAttribute("tabulator-field",r),this.column.definition.cssClass){var k=this.column.definition.cssClass.split(" ");k.forEach(m=>{e.classList.add(m)})}this.dispatch("cell-init",this),this.column.visible||this.hide()}_generateContents(){var e;switch(e=this.chain("cell-format",this,null,()=>this.element.innerHTML=this.value),typeof e){case"object":if(e instanceof Node){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.element.appendChild(e)}else this.element.innerHTML="",e!=null&&console.warn("Format Error - Formatter has returned a type of object, the only valid formatter object return is an instance of Node, the formatter returned:",e);break;case"undefined":this.element.innerHTML="";break;default:this.element.innerHTML=e}}cellRendered(){this.dispatch("cell-rendered",this)}getElement(e){return this.loaded||(this.loaded=!0,e||this.layoutElement()),this.element}getValue(){return this.value}getOldValue(){return this.oldValue}setValue(e,r,C){var D=this.setValueProcessData(e,r,C);D&&(this.dispatch("cell-value-updated",this),this.cellRendered(),this.column.definition.cellEdited&&this.column.definition.cellEdited.call(this.table,this.getComponent()),this.dispatchExternal("cellEdited",this.getComponent()),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.table.rowManager.getData()))}setValueProcessData(e,r,C){var D=!1;return(this.value!==e||C)&&(D=!0,r&&(e=this.chain("cell-value-changing",[this,e],null,e))),this.setValueActual(e),D&&this.dispatch("cell-value-changed",this),D}setValueActual(e){this.oldValue=this.value,this.value=e,this.dispatch("cell-value-save-before",this),this.column.setFieldValue(this.row.data,e),this.dispatch("cell-value-save-after",this),this.loaded&&this.layoutElement()}layoutElement(){this._generateContents(),this.dispatch("cell-layout",this)}setWidth(){this.width=this.column.width,this.element.style.width=this.column.widthStyled}clearWidth(){this.width="",this.element.style.width=""}getWidth(){return this.width||this.element.offsetWidth}setMinWidth(){this.minWidth=this.column.minWidth,this.element.style.minWidth=this.column.minWidthStyled}setMaxWidth(){this.maxWidth=this.column.maxWidth,this.element.style.maxWidth=this.column.maxWidthStyled}checkHeight(){this.row.reinitializeHeight()}clearHeight(){this.element.style.height="",this.height=null,this.dispatch("cell-height",this,"")}setHeight(){this.height=this.row.height,this.element.style.height=this.row.heightStyled,this.dispatch("cell-height",this,this.row.heightStyled)}getHeight(){return this.height||this.element.offsetHeight}show(){this.element.style.display=this.column.vertAlign?"inline-flex":""}hide(){this.element.style.display="none"}delete(){this.dispatch("cell-delete",this),!this.table.rowManager.redrawBlock&&this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.element=!1,this.column.deleteCell(this),this.row.deleteCell(this),this.calcs={}}getIndex(){return this.row.getCellIndex(this)}getComponent(){return this.component||(this.component=new LM(this)),this.component}}class IM{constructor(e){return this._column=e,this.type="ColumnComponent",new Proxy(this,{get:function(r,C,D){return typeof r[C]<"u"?r[C]:r._column.table.componentFunctionBinder.handle("column",r._column,C)}})}getElement(){return this._column.getElement()}getDefinition(){return this._column.getDefinition()}getField(){return this._column.getField()}getTitleDownload(){return this._column.getTitleDownload()}getCells(){var e=[];return this._column.cells.forEach(function(r){e.push(r.getComponent())}),e}isVisible(){return this._column.visible}show(){this._column.isGroup?this._column.columns.forEach(function(e){e.show()}):this._column.show()}hide(){this._column.isGroup?this._column.columns.forEach(function(e){e.hide()}):this._column.hide()}toggle(){this._column.visible?this.hide():this.show()}delete(){return this._column.delete()}getSubColumns(){var e=[];return this._column.columns.length&&this._column.columns.forEach(function(r){e.push(r.getComponent())}),e}getParentColumn(){return this._column.parent instanceof yf?this._column.parent.getComponent():!1}_getSelf(){return this._column}scrollTo(e,r){return this._column.table.columnManager.scrollToColumn(this._column,e,r)}getTable(){return this._column.table}move(e,r){var C=this._column.table.columnManager.findColumn(e);C?this._column.table.columnManager.moveColumn(this._column,C,r):console.warn("Move Error - No matching column found:",C)}getNextColumn(){var e=this._column.nextColumn();return e?e.getComponent():!1}getPrevColumn(){var e=this._column.prevColumn();return e?e.getComponent():!1}updateDefinition(e){return this._column.updateDefinition(e)}getWidth(){return this._column.getWidth()}setWidth(e){var r;return e===!0?r=this._column.reinitializeWidth(!0):r=this._column.setWidth(e),this._column.table.columnManager.rerenderColumns(!0),r}}var RM={title:void 0,field:void 0,columns:void 0,visible:void 0,hozAlign:void 0,vertAlign:void 0,width:void 0,minWidth:40,maxWidth:void 0,maxInitialWidth:void 0,cssClass:void 0,variableHeight:void 0,headerVertical:void 0,headerHozAlign:void 0,headerWordWrap:!1,editableTitle:void 0};class yf extends Ml{constructor(e,r){super(r.table),this.definition=e,this.parent=r,this.type="column",this.columns=[],this.cells=[],this.element=this.createElement(),this.contentElement=!1,this.titleHolderElement=!1,this.titleElement=!1,this.groupElement=this.createGroupElement(),this.isGroup=!1,this.hozAlign="",this.vertAlign="",this.field="",this.fieldStructure="",this.getFieldValue="",this.setFieldValue="",this.titleDownload=null,this.titleFormatterRendered=!1,this.mapDefinitions(),this.setField(this.definition.field),this.modules={},this.width=null,this.widthStyled="",this.maxWidth=null,this.maxWidthStyled="",this.maxInitialWidth=null,this.minWidth=null,this.minWidthStyled="",this.widthFixed=!1,this.visible=!0,this.component=null,this.definition.columns?(this.isGroup=!0,this.definition.columns.forEach((C,D)=>{var k=new yf(C,this);this.attachColumn(k)}),this.checkColumnVisibility()):r.registerColumnField(this),this._initialize()}createElement(){var e=document.createElement("div");switch(e.classList.add("tabulator-col"),e.setAttribute("role","columnheader"),e.setAttribute("aria-sort","none"),this.table.options.columnHeaderVertAlign){case"middle":e.style.justifyContent="center";break;case"bottom":e.style.justifyContent="flex-end";break}return e}createGroupElement(){var e=document.createElement("div");return e.classList.add("tabulator-col-group-cols"),e}mapDefinitions(){var e=this.table.options.columnDefaults;if(e)for(let r in e)typeof this.definition[r]>"u"&&(this.definition[r]=e[r]);this.definition=this.table.columnManager.optionsList.generate(yf.defaultOptionList,this.definition)}checkDefinition(){Object.keys(this.definition).forEach(e=>{yf.defaultOptionList.indexOf(e)===-1&&console.warn("Invalid column definition option in '"+(this.field||this.definition.title)+"' column:",e)})}setField(e){this.field=e,this.fieldStructure=e?this.table.options.nestedFieldSeparator?e.split(this.table.options.nestedFieldSeparator):[e]:[],this.getFieldValue=this.fieldStructure.length>1?this._getNestedData:this._getFlatData,this.setFieldValue=this.fieldStructure.length>1?this._setNestedData:this._setFlatData}registerColumnPosition(e){this.parent.registerColumnPosition(e)}registerColumnField(e){this.parent.registerColumnField(e)}reRegisterPosition(){this.isGroup?this.columns.forEach(function(e){e.reRegisterPosition()}):this.registerColumnPosition(this)}_initialize(){for(var e=this.definition;this.element.firstChild;)this.element.removeChild(this.element.firstChild);e.headerVertical&&(this.element.classList.add("tabulator-col-vertical"),e.headerVertical==="flip"&&this.element.classList.add("tabulator-col-vertical-flip")),this.contentElement=this._buildColumnHeaderContent(),this.element.appendChild(this.contentElement),this.isGroup?this._buildGroupHeader():this._buildColumnHeader(),this.dispatch("column-init",this)}_buildColumnHeader(){var e=this.definition;if(this.dispatch("column-layout",this),typeof e.visible<"u"&&(e.visible?this.show(!0):this.hide(!0)),e.cssClass){var r=e.cssClass.split(" ");r.forEach(C=>{this.element.classList.add(C)})}e.field&&this.element.setAttribute("tabulator-field",e.field),this.setMinWidth(parseInt(e.minWidth)),e.maxInitialWidth&&(this.maxInitialWidth=parseInt(e.maxInitialWidth)),e.maxWidth&&this.setMaxWidth(parseInt(e.maxWidth)),this.reinitializeWidth(),this.hozAlign=this.definition.hozAlign,this.vertAlign=this.definition.vertAlign,this.titleElement.style.textAlign=this.definition.headerHozAlign}_buildColumnHeaderContent(){var e=document.createElement("div");return e.classList.add("tabulator-col-content"),this.titleHolderElement=document.createElement("div"),this.titleHolderElement.classList.add("tabulator-col-title-holder"),e.appendChild(this.titleHolderElement),this.titleElement=this._buildColumnHeaderTitle(),this.titleHolderElement.appendChild(this.titleElement),e}_buildColumnHeaderTitle(){var e=this.definition,r=document.createElement("div");if(r.classList.add("tabulator-col-title"),e.headerWordWrap&&r.classList.add("tabulator-col-title-wrap"),e.editableTitle){var C=document.createElement("input");C.classList.add("tabulator-title-editor"),C.addEventListener("click",D=>{D.stopPropagation(),C.focus()}),C.addEventListener("mousedown",D=>{D.stopPropagation()}),C.addEventListener("change",()=>{e.title=C.value,this.dispatchExternal("columnTitleChanged",this.getComponent())}),r.appendChild(C),e.field?this.langBind("columns|"+e.field,D=>{C.value=D||e.title||" "}):C.value=e.title||" "}else e.field?this.langBind("columns|"+e.field,D=>{this._formatColumnHeaderTitle(r,D||e.title||" ")}):this._formatColumnHeaderTitle(r,e.title||" ");return r}_formatColumnHeaderTitle(e,r){var C=this.chain("column-format",[this,r,e],null,()=>r);switch(typeof C){case"object":C instanceof Node?e.appendChild(C):(e.innerHTML="",console.warn("Format Error - Title formatter has returned a type of object, the only valid formatter object return is an instance of Node, the formatter returned:",C));break;case"undefined":e.innerHTML="";break;default:e.innerHTML=C}}_buildGroupHeader(){if(this.element.classList.add("tabulator-col-group"),this.element.setAttribute("role","columngroup"),this.element.setAttribute("aria-title",this.definition.title),this.definition.cssClass){var e=this.definition.cssClass.split(" ");e.forEach(r=>{this.element.classList.add(r)})}this.titleElement.style.textAlign=this.definition.headerHozAlign,this.element.appendChild(this.groupElement)}_getFlatData(e){return e[this.field]}_getNestedData(e){var r=e,C=this.fieldStructure,D=C.length,k;for(let m=0;m{r.push(C),r=r.concat(C.getColumns(!0))}):r=this.columns,r}getCells(){return this.cells}getTopColumn(){return this.parent.isGroup?this.parent.getTopColumn():this}getDefinition(e){var r=[];return this.isGroup&&e&&(this.columns.forEach(function(C){r.push(C.getDefinition(!0))}),this.definition.columns=r),this.definition}checkColumnVisibility(){var e=!1;this.columns.forEach(function(r){r.visible&&(e=!0)}),e?(this.show(),this.dispatchExternal("columnVisibilityChanged",this.getComponent(),!1)):this.hide()}show(e,r){this.visible||(this.visible=!0,this.element.style.display="",this.parent.isGroup&&this.parent.checkColumnVisibility(),this.cells.forEach(function(C){C.show()}),!this.isGroup&&this.width===null&&this.reinitializeWidth(),this.table.columnManager.verticalAlignHeaders(),this.dispatch("column-show",this,r),e||this.dispatchExternal("columnVisibilityChanged",this.getComponent(),!0),this.parent.isGroup&&this.parent.matchChildWidths(),this.silent||this.table.columnManager.rerenderColumns())}hide(e,r){this.visible&&(this.visible=!1,this.element.style.display="none",this.table.columnManager.verticalAlignHeaders(),this.parent.isGroup&&this.parent.checkColumnVisibility(),this.cells.forEach(function(C){C.hide()}),this.dispatch("column-hide",this,r),e||this.dispatchExternal("columnVisibilityChanged",this.getComponent(),!1),this.parent.isGroup&&this.parent.matchChildWidths(),this.silent||this.table.columnManager.rerenderColumns())}matchChildWidths(){var e=0;this.contentElement&&this.columns.length&&(this.columns.forEach(function(r){r.visible&&(e+=r.getWidth())}),this.contentElement.style.maxWidth=e-1+"px",this.parent.isGroup&&this.parent.matchChildWidths())}removeChild(e){var r=this.columns.indexOf(e);r>-1&&this.columns.splice(r,1),this.columns.length||this.delete()}setWidth(e){this.widthFixed=!0,this.setWidthActual(e)}setWidthActual(e){isNaN(e)&&(e=Math.floor(this.table.element.clientWidth/100*parseInt(e))),e=Math.max(this.minWidth,e),this.maxWidth&&(e=Math.min(this.maxWidth,e)),this.width=e,this.widthStyled=e?e+"px":"",this.element.style.width=this.widthStyled,this.isGroup||this.cells.forEach(function(r){r.setWidth()}),this.parent.isGroup&&this.parent.matchChildWidths(),this.dispatch("column-width",this)}checkCellHeights(){var e=[];this.cells.forEach(function(r){r.row.heightInitialized&&(r.row.getElement().offsetParent!==null?(e.push(r.row),r.row.clearCellHeight()):r.row.heightInitialized=!1)}),e.forEach(function(r){r.calcHeight()}),e.forEach(function(r){r.setCellHeight()})}getWidth(){var e=0;return this.isGroup?this.columns.forEach(function(r){r.visible&&(e+=r.getWidth())}):e=this.width,e}getLeftOffset(){var e=this.element.offsetLeft;return this.parent.isGroup&&(e+=this.parent.getLeftOffset()),e}getHeight(){return Math.ceil(this.element.getBoundingClientRect().height)}setMinWidth(e){this.maxWidth&&e>this.maxWidth&&(e=this.maxWidth,console.warn("the minWidth ("+e+"px) for column '"+this.field+"' cannot be bigger that its maxWidth ("+this.maxWidthStyled+")")),this.minWidth=e,this.minWidthStyled=e?e+"px":"",this.element.style.minWidth=this.minWidthStyled,this.cells.forEach(function(r){r.setMinWidth()})}setMaxWidth(e){this.minWidth&&e{this.isGroup&&this.columns.forEach(function(D){D.delete()}),this.dispatch("column-delete",this);var C=this.cells.length;for(let D=0;D-1?this._nextVisibleColumn(e+1):!1}_nextVisibleColumn(e){var r=this.table.columnManager.getColumnByIndex(e);return!r||r.visible?r:this._nextVisibleColumn(e+1)}prevColumn(){var e=this.table.columnManager.findColumnIndex(this);return e>-1?this._prevVisibleColumn(e-1):!1}_prevVisibleColumn(e){var r=this.table.columnManager.getColumnByIndex(e);return!r||r.visible?r:this._prevVisibleColumn(e-1)}reinitializeWidth(e){this.widthFixed=!1,typeof this.definition.width<"u"&&!e&&this.setWidth(this.definition.width),this.dispatch("column-width-fit-before",this),this.fitToData(e),this.dispatch("column-width-fit-after",this)}fitToData(e){if(!this.isGroup){this.widthFixed||(this.element.style.width="",this.cells.forEach(D=>{D.clearWidth()}));var r=this.element.offsetWidth;if((!this.width||!this.widthFixed)&&(this.cells.forEach(D=>{var k=D.getWidth();k>r&&(r=k)}),r)){var C=r+1;this.maxInitialWidth&&!e&&(C=Math.min(C,this.maxInitialWidth)),this.setWidthActual(C)}}}updateDefinition(e){var r;return this.isGroup||this.parent.isGroup?(console.error("Column Update Error - The updateDefinition function is only available on ungrouped columns"),Promise.reject("Column Update Error - The updateDefinition function is only available on columns, not column groups")):(r=Object.assign({},this.getDefinition()),r=Object.assign(r,e),this.table.columnManager.addColumn(r,!1,this).then(C=>(r.field==this.field&&(this.field=!1),this.delete().then(()=>C.getComponent()))))}deleteCell(e){var r=this.cells.indexOf(e);r>-1&&this.cells.splice(r,1)}getComponent(){return this.component||(this.component=new IM(this)),this.component}getPosition(){return this.table.columnManager.getVisibleColumnsByIndex().indexOf(this)+1}}yf.defaultOptionList=RM;class Wy{constructor(e){return this._row=e,new Proxy(this,{get:function(r,C,D){return typeof r[C]<"u"?r[C]:r._row.table.componentFunctionBinder.handle("row",r._row,C)}})}getData(e){return this._row.getData(e)}getElement(){return this._row.getElement()}getCells(){var e=[];return this._row.getCells().forEach(function(r){e.push(r.getComponent())}),e}getCell(e){var r=this._row.getCell(e);return r?r.getComponent():!1}getIndex(){return this._row.getData("data")[this._row.table.options.index]}getPosition(){return this._row.getPosition()}watchPosition(e){return this._row.watchPosition(e)}delete(){return this._row.delete()}scrollTo(e,r){return this._row.table.rowManager.scrollToRow(this._row,e,r)}move(e,r){this._row.moveToRow(e,r)}update(e){return this._row.updateData(e)}normalizeHeight(){this._row.normalizeHeight(!0)}_getSelf(){return this._row}reformat(){return this._row.reinitialize()}getTable(){return this._row.table}getNextRow(){var e=this._row.nextRow();return e&&e.getComponent()}getPrevRow(){var e=this._row.prevRow();return e&&e.getComponent()}}class yl extends Ml{constructor(e,r,C="row"){super(r.table),this.parent=r,this.data={},this.type=C,this.element=!1,this.modules={},this.cells=[],this.height=0,this.heightStyled="",this.manualHeight=!1,this.outerHeight=0,this.initialized=!1,this.heightInitialized=!1,this.position=0,this.positionWatchers=[],this.component=null,this.created=!1,this.setData(e)}create(){this.created||(this.created=!0,this.generateElement())}createElement(){var e=document.createElement("div");e.classList.add("tabulator-row"),e.setAttribute("role","row"),this.element=e}getElement(){return this.create(),this.element}detachElement(){this.element&&this.element.parentNode&&this.element.parentNode.removeChild(this.element)}generateElement(){this.createElement(),this.dispatch("row-init",this)}generateCells(){this.cells=this.table.columnManager.generateCells(this)}initialize(e,r){if(this.create(),!this.initialized||e){for(this.deleteCells();this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.dispatch("row-layout-before",this),this.generateCells(),this.initialized=!0,this.table.columnManager.renderer.renderRowCells(this,r),e&&this.normalizeHeight(),this.dispatch("row-layout",this),this.table.options.rowFormatter&&this.table.options.rowFormatter(this.getComponent()),this.dispatch("row-layout-after",this)}else this.table.columnManager.renderer.rerenderRowCells(this,r)}rendered(){this.cells.forEach(e=>{e.cellRendered()})}reinitializeHeight(){this.heightInitialized=!1,this.element&&this.element.offsetParent!==null&&this.normalizeHeight(!0)}deinitialize(){this.initialized=!1}deinitializeHeight(){this.heightInitialized=!1}reinitialize(e){this.initialized=!1,this.heightInitialized=!1,this.manualHeight||(this.height=0,this.heightStyled=""),this.element&&this.element.offsetParent!==null&&this.initialize(!0),this.dispatch("row-relayout",this)}calcHeight(e){var r=0,C;this.table.options.rowHeight?this.height=this.table.options.rowHeight:(C=this.table.options.resizableRows?this.element.clientHeight:0,this.cells.forEach(function(D){var k=D.getHeight();k>r&&(r=k)}),e?this.height=Math.max(r,C):this.height=this.manualHeight?this.height:Math.max(r,C)),this.heightStyled=this.height?this.height+"px":"",this.outerHeight=this.element.offsetHeight}setCellHeight(){this.cells.forEach(function(e){e.setHeight()}),this.heightInitialized=!0}clearCellHeight(){this.cells.forEach(function(e){e.clearHeight()})}normalizeHeight(e){e&&!this.table.options.rowHeight&&this.clearCellHeight(),this.calcHeight(e),this.setCellHeight()}setHeight(e,r){(this.height!=e||r)&&(this.manualHeight=!0,this.height=e,this.heightStyled=e?e+"px":"",this.setCellHeight(),this.outerHeight=this.element.offsetHeight)}getHeight(){return this.outerHeight}getWidth(){return this.element.offsetWidth}deleteCell(e){var r=this.cells.indexOf(e);r>-1&&this.cells.splice(r,1)}setData(e){this.data=this.chain("row-data-init-before",[this,e],void 0,e),this.dispatch("row-data-init-after",this)}updateData(e){var r=this.element&&oo.elVisible(this.element),C={},D;return new Promise((k,m)=>{typeof e=="string"&&(e=JSON.parse(e)),this.dispatch("row-data-save-before",this),this.subscribed("row-data-changing")&&(C=Object.assign(C,this.data),C=Object.assign(C,e)),D=this.chain("row-data-changing",[this,C,e],null,e);for(let t in D)this.data[t]=D[t];this.dispatch("row-data-save-after",this);for(let t in e)this.table.columnManager.getColumnsByFieldRoot(t).forEach(y=>{let i=this.getCell(y.getField());if(i){let M=y.getFieldValue(D);i.getValue()!==M&&(i.setValueProcessData(M),r&&i.cellRendered())}});r?(this.normalizeHeight(!0),this.table.options.rowFormatter&&this.table.options.rowFormatter(this.getComponent())):(this.initialized=!1,this.height=0,this.heightStyled=""),this.dispatch("row-data-changed",this,r,e),this.dispatchExternal("rowUpdated",this.getComponent()),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.table.rowManager.getData()),k()})}getData(e){return e?this.chain("row-data-retrieve",[this,e],null,this.data):this.data}getCell(e){var r=!1;return e=this.table.columnManager.findColumn(e),!this.initialized&&this.cells.length===0&&this.generateCells(),r=this.cells.find(function(C){return C.column===e}),r}getCellIndex(e){return this.cells.findIndex(function(r){return r===e})}findCell(e){return this.cells.find(r=>r.element===e)}getCells(){return!this.initialized&&this.cells.length===0&&this.generateCells(),this.cells}nextRow(){var e=this.table.rowManager.nextDisplayRow(this,!0);return e||!1}prevRow(){var e=this.table.rowManager.prevDisplayRow(this,!0);return e||!1}moveToRow(e,r){var C=this.table.rowManager.findRow(e);C?(this.table.rowManager.moveRowActual(this,C,!r),this.table.rowManager.refreshActiveData("display",!1,!0)):console.warn("Move Error - No matching row found:",e)}delete(){return this.dispatch("row-delete",this),this.deleteActual(),Promise.resolve()}deleteActual(e){this.detachModules(),this.table.rowManager.deleteRow(this,e),this.deleteCells(),this.initialized=!1,this.heightInitialized=!1,this.element=!1,this.dispatch("row-deleted",this)}detachModules(){this.dispatch("row-deleting",this)}deleteCells(){var e=this.cells.length;for(let r=0;r{r(this.position)}))}watchPosition(e){this.positionWatchers.push(e),e(this.position)}getGroup(){return this.modules.group||!1}getComponent(){return this.component||(this.component=new Wy(this)),this.component}}var gR={avg:function(n,e,r){var C=0,D=typeof r.precision<"u"?r.precision:2;return n.length&&(C=n.reduce(function(k,m){return Number(k)+Number(m)}),C=C/n.length,C=D!==!1?C.toFixed(D):C),parseFloat(C).toString()},max:function(n,e,r){var C=null,D=typeof r.precision<"u"?r.precision:!1;return n.forEach(function(k){k=Number(k),(k>C||C===null)&&(C=k)}),C!==null?D!==!1?C.toFixed(D):C:""},min:function(n,e,r){var C=null,D=typeof r.precision<"u"?r.precision:!1;return n.forEach(function(k){k=Number(k),(k(n||D===0)&&n.indexOf(D)===k);return C.length}};class zh extends qi{constructor(e){super(e),this.topCalcs=[],this.botCalcs=[],this.genColumn=!1,this.topElement=this.createElement(),this.botElement=this.createElement(),this.topRow=!1,this.botRow=!1,this.topInitialized=!1,this.botInitialized=!1,this.blocked=!1,this.recalcAfterBlock=!1,this.registerTableOption("columnCalcs",!0),this.registerColumnOption("topCalc"),this.registerColumnOption("topCalcParams"),this.registerColumnOption("topCalcFormatter"),this.registerColumnOption("topCalcFormatterParams"),this.registerColumnOption("bottomCalc"),this.registerColumnOption("bottomCalcParams"),this.registerColumnOption("bottomCalcFormatter"),this.registerColumnOption("bottomCalcFormatterParams")}createElement(){var e=document.createElement("div");return e.classList.add("tabulator-calcs-holder"),e}initialize(){this.genColumn=new yf({field:"value"},this),this.subscribe("cell-value-changed",this.cellValueChanged.bind(this)),this.subscribe("column-init",this.initializeColumnCheck.bind(this)),this.subscribe("row-deleted",this.rowsUpdated.bind(this)),this.subscribe("scroll-horizontal",this.scrollHorizontal.bind(this)),this.subscribe("row-added",this.rowsUpdated.bind(this)),this.subscribe("column-moved",this.recalcActiveRows.bind(this)),this.subscribe("column-add",this.recalcActiveRows.bind(this)),this.subscribe("data-refreshed",this.recalcActiveRowsRefresh.bind(this)),this.subscribe("table-redraw",this.tableRedraw.bind(this)),this.subscribe("rows-visible",this.visibleRows.bind(this)),this.subscribe("scrollbar-vertical",this.adjustForScrollbar.bind(this)),this.subscribe("redraw-blocked",this.blockRedraw.bind(this)),this.subscribe("redraw-restored",this.restoreRedraw.bind(this)),this.subscribe("table-redrawing",this.resizeHolderWidth.bind(this)),this.subscribe("column-resized",this.resizeHolderWidth.bind(this)),this.subscribe("column-show",this.resizeHolderWidth.bind(this)),this.subscribe("column-hide",this.resizeHolderWidth.bind(this)),this.registerTableFunction("getCalcResults",this.getResults.bind(this)),this.registerTableFunction("recalc",this.userRecalc.bind(this)),this.resizeHolderWidth()}resizeHolderWidth(){this.topElement.style.minWidth=this.table.columnManager.headersElement.offsetWidth+"px"}tableRedraw(e){this.recalc(this.table.rowManager.activeRows),e&&this.redraw()}blockRedraw(){this.blocked=!0,this.recalcAfterBlock=!1}restoreRedraw(){this.blocked=!1,this.recalcAfterBlock&&(this.recalcAfterBlock=!1,this.recalcActiveRowsRefresh())}userRecalc(){this.recalc(this.table.rowManager.activeRows)}blockCheck(){return this.blocked&&(this.recalcAfterBlock=!0),this.blocked}visibleRows(e,r){return this.topRow&&r.unshift(this.topRow),this.botRow&&r.push(this.botRow),r}rowsUpdated(e){this.table.options.groupBy?this.recalcRowGroup(e):this.recalcActiveRows()}recalcActiveRowsRefresh(){this.table.options.groupBy&&this.table.options.dataTreeStartExpanded&&this.table.options.dataTree?this.recalcAll():this.recalcActiveRows()}recalcActiveRows(){this.recalc(this.table.rowManager.activeRows)}cellValueChanged(e){(e.column.definition.topCalc||e.column.definition.bottomCalc)&&(this.table.options.groupBy?((this.table.options.columnCalcs=="table"||this.table.options.columnCalcs=="both")&&this.recalcActiveRows(),this.table.options.columnCalcs!="table"&&this.recalcRowGroup(e.row)):this.recalcActiveRows())}initializeColumnCheck(e){(e.definition.topCalc||e.definition.bottomCalc)&&this.initializeColumn(e)}initializeColumn(e){var r=e.definition,C={topCalcParams:r.topCalcParams||{},botCalcParams:r.bottomCalcParams||{}};if(r.topCalc){switch(typeof r.topCalc){case"string":zh.calculations[r.topCalc]?C.topCalc=zh.calculations[r.topCalc]:console.warn("Column Calc Error - No such calculation found, ignoring: ",r.topCalc);break;case"function":C.topCalc=r.topCalc;break}C.topCalc&&(e.modules.columnCalcs=C,this.topCalcs.push(e),this.table.options.columnCalcs!="group"&&this.initializeTopRow())}if(r.bottomCalc){switch(typeof r.bottomCalc){case"string":zh.calculations[r.bottomCalc]?C.botCalc=zh.calculations[r.bottomCalc]:console.warn("Column Calc Error - No such calculation found, ignoring: ",r.bottomCalc);break;case"function":C.botCalc=r.bottomCalc;break}C.botCalc&&(e.modules.columnCalcs=C,this.botCalcs.push(e),this.table.options.columnCalcs!="group"&&this.initializeBottomRow())}}registerColumnField(){}removeCalcs(){var e=!1;this.topInitialized&&(this.topInitialized=!1,this.topElement.parentNode.removeChild(this.topElement),e=!0),this.botInitialized&&(this.botInitialized=!1,this.footerRemove(this.botElement),e=!0),e&&this.table.rowManager.adjustTableSize()}reinitializeCalcs(){this.topCalcs.length&&this.initializeTopRow(),this.botCalcs.length&&this.initializeBottomRow()}initializeTopRow(){var e=document.createDocumentFragment();this.topInitialized||(e.appendChild(document.createElement("br")),e.appendChild(this.topElement),this.table.columnManager.getContentsElement().insertBefore(e,this.table.columnManager.headersElement.nextSibling),this.topInitialized=!0)}initializeBottomRow(){this.botInitialized||(this.footerPrepend(this.botElement),this.botInitialized=!0)}scrollHorizontal(e){this.botInitialized&&this.botRow&&(this.botElement.scrollLeft=e)}recalc(e){var r,C;if(!this.blockCheck()&&(this.topInitialized||this.botInitialized)){if(r=this.rowsToData(e),this.topInitialized){for(this.topRow&&this.topRow.deleteCells(),C=this.generateRow("top",r),this.topRow=C;this.topElement.firstChild;)this.topElement.removeChild(this.topElement.firstChild);this.topElement.appendChild(C.getElement()),C.initialize(!0)}if(this.botInitialized){for(this.botRow&&this.botRow.deleteCells(),C=this.generateRow("bottom",r),this.botRow=C;this.botElement.firstChild;)this.botElement.removeChild(this.botElement.firstChild);this.botElement.appendChild(C.getElement()),C.initialize(!0)}this.table.rowManager.adjustTableSize(),this.table.modExists("frozenColumns")&&this.table.modules.frozenColumns.layout()}}recalcRowGroup(e){this.recalcGroup(this.table.modules.groupRows.getRowGroup(e))}recalcAll(){if((this.topCalcs.length||this.botCalcs.length)&&(this.table.options.columnCalcs!=="group"&&this.recalcActiveRows(),this.table.options.groupBy&&this.table.options.columnCalcs!=="table")){var e=this.table.modules.groupRows.getChildGroups();e.forEach(r=>{this.recalcGroup(r)})}}recalcGroup(e){var r,C;this.blockCheck()||e&&e.calcs&&(e.calcs.bottom&&(r=this.rowsToData(e.rows),C=this.generateRowData("bottom",r),e.calcs.bottom.updateData(C),e.calcs.bottom.reinitialize()),e.calcs.top&&(r=this.rowsToData(e.rows),C=this.generateRowData("top",r),e.calcs.top.updateData(C),e.calcs.top.reinitialize()))}generateTopRow(e){return this.generateRow("top",this.rowsToData(e))}generateBottomRow(e){return this.generateRow("bottom",this.rowsToData(e))}rowsToData(e){var r=[];return e.forEach(C=>{if(r.push(C.getData()),this.table.options.dataTree&&this.table.options.dataTreeChildColumnCalcs&&C.modules.dataTree&&C.modules.dataTree.open){var D=this.rowsToData(this.table.modules.dataTree.getFilteredTreeChildren(C));r=r.concat(D)}}),r}generateRow(e,r){var C=this.generateRowData(e,r),D;return this.table.modExists("mutator")&&this.table.modules.mutator.disable(),D=new yl(C,this,"calc"),this.table.modExists("mutator")&&this.table.modules.mutator.enable(),D.getElement().classList.add("tabulator-calcs","tabulator-calcs-"+e),D.component=!1,D.getComponent=()=>(D.component||(D.component=new mR(D)),D.component),D.generateCells=()=>{var k=[];this.table.columnManager.columnsByIndex.forEach(m=>{this.genColumn.setField(m.getField()),this.genColumn.hozAlign=m.hozAlign,m.definition[e+"CalcFormatter"]&&this.table.modExists("format")?this.genColumn.modules.format={formatter:this.table.modules.format.getFormatter(m.definition[e+"CalcFormatter"]),params:m.definition[e+"CalcFormatterParams"]||{}}:this.genColumn.modules.format={formatter:this.table.modules.format.getFormatter("plaintext"),params:{}},this.genColumn.definition.cssClass=m.definition.cssClass;var t=new eg(this.genColumn,D);t.getElement(),t.column=m,t.setWidth(),m.cells.push(t),k.push(t),m.visible||t.hide()}),D.cells=k},D}generateRowData(e,r){var C={},D=e=="top"?this.topCalcs:this.botCalcs,k=e=="top"?"topCalc":"botCalc",m,t;return D.forEach(function(d){var y=[];d.modules.columnCalcs&&d.modules.columnCalcs[k]&&(r.forEach(function(i){y.push(d.getFieldValue(i))}),t=k+"Params",m=typeof d.modules.columnCalcs[t]=="function"?d.modules.columnCalcs[t](y,r):d.modules.columnCalcs[t],d.setFieldValue(C,d.modules.columnCalcs[k](y,r,m)))}),C}hasTopCalcs(){return!!this.topCalcs.length}hasBottomCalcs(){return!!this.botCalcs.length}redraw(){this.topRow&&this.topRow.normalizeHeight(!0),this.botRow&&this.botRow.normalizeHeight(!0)}getResults(){var e={},r;return this.table.options.groupBy&&this.table.modExists("groupRows")?(r=this.table.modules.groupRows.getGroups(!0),r.forEach(C=>{e[C.getKey()]=this.getGroupResults(C)})):e={top:this.topRow?this.topRow.getData():{},bottom:this.botRow?this.botRow.getData():{}},e}getGroupResults(e){var r=e._getSelf(),C=e.getSubGroups(),D={},k={};return C.forEach(m=>{D[m.getKey()]=this.getGroupResults(m)}),k={top:r.calcs.top?r.calcs.top.getData():{},bottom:r.calcs.bottom?r.calcs.bottom.getData():{},groups:D},k}adjustForScrollbar(e){this.botRow&&(this.table.rtl?this.botElement.style.paddingLeft=e+"px":this.botElement.style.paddingRight=e+"px")}}zh.moduleName="columnCalcs";zh.calculations=gR;class PM extends qi{constructor(e){super(e),this.indent=10,this.field="",this.collapseEl=null,this.expandEl=null,this.branchEl=null,this.elementField=!1,this.startOpen=function(){},this.registerTableOption("dataTree",!1),this.registerTableOption("dataTreeFilter",!0),this.registerTableOption("dataTreeSort",!0),this.registerTableOption("dataTreeElementColumn",!1),this.registerTableOption("dataTreeBranchElement",!0),this.registerTableOption("dataTreeChildIndent",9),this.registerTableOption("dataTreeChildField","_children"),this.registerTableOption("dataTreeCollapseElement",!1),this.registerTableOption("dataTreeExpandElement",!1),this.registerTableOption("dataTreeStartExpanded",!1),this.registerTableOption("dataTreeChildColumnCalcs",!1),this.registerTableOption("dataTreeSelectPropagate",!1),this.registerComponentFunction("row","treeCollapse",this.collapseRow.bind(this)),this.registerComponentFunction("row","treeExpand",this.expandRow.bind(this)),this.registerComponentFunction("row","treeToggle",this.toggleRow.bind(this)),this.registerComponentFunction("row","getTreeParent",this.getTreeParent.bind(this)),this.registerComponentFunction("row","getTreeChildren",this.getRowChildren.bind(this)),this.registerComponentFunction("row","addTreeChild",this.addTreeChildRow.bind(this)),this.registerComponentFunction("row","isTreeExpanded",this.isRowExpanded.bind(this))}initialize(){if(this.table.options.dataTree){var e=null,r=this.table.options;switch(this.field=r.dataTreeChildField,this.indent=r.dataTreeChildIndent,this.options("movableRows")&&console.warn("The movableRows option is not available with dataTree enabled, moving of child rows could result in unpredictable behavior"),r.dataTreeBranchElement?r.dataTreeBranchElement===!0?(this.branchEl=document.createElement("div"),this.branchEl.classList.add("tabulator-data-tree-branch")):typeof r.dataTreeBranchElement=="string"?(e=document.createElement("div"),e.innerHTML=r.dataTreeBranchElement,this.branchEl=e.firstChild):this.branchEl=r.dataTreeBranchElement:(this.branchEl=document.createElement("div"),this.branchEl.classList.add("tabulator-data-tree-branch-empty")),r.dataTreeCollapseElement?typeof r.dataTreeCollapseElement=="string"?(e=document.createElement("div"),e.innerHTML=r.dataTreeCollapseElement,this.collapseEl=e.firstChild):this.collapseEl=r.dataTreeCollapseElement:(this.collapseEl=document.createElement("div"),this.collapseEl.classList.add("tabulator-data-tree-control"),this.collapseEl.tabIndex=0,this.collapseEl.innerHTML="
"),r.dataTreeExpandElement?typeof r.dataTreeExpandElement=="string"?(e=document.createElement("div"),e.innerHTML=r.dataTreeExpandElement,this.expandEl=e.firstChild):this.expandEl=r.dataTreeExpandElement:(this.expandEl=document.createElement("div"),this.expandEl.classList.add("tabulator-data-tree-control"),this.expandEl.tabIndex=0,this.expandEl.innerHTML="
"),typeof r.dataTreeStartExpanded){case"boolean":this.startOpen=function(C,D){return r.dataTreeStartExpanded};break;case"function":this.startOpen=r.dataTreeStartExpanded;break;default:this.startOpen=function(C,D){return r.dataTreeStartExpanded[D]};break}this.subscribe("row-init",this.initializeRow.bind(this)),this.subscribe("row-layout-after",this.layoutRow.bind(this)),this.subscribe("row-deleted",this.rowDelete.bind(this),0),this.subscribe("row-data-changed",this.rowDataChanged.bind(this),10),this.subscribe("cell-value-updated",this.cellValueChanged.bind(this)),this.subscribe("edit-cancelled",this.cellValueChanged.bind(this)),this.subscribe("column-moving-rows",this.columnMoving.bind(this)),this.subscribe("table-built",this.initializeElementField.bind(this)),this.subscribe("table-redrawing",this.tableRedrawing.bind(this)),this.registerDisplayHandler(this.getRows.bind(this),30)}}tableRedrawing(e){var r;e&&(r=this.table.rowManager.getRows(),r.forEach(C=>{this.reinitializeRowChildren(C)}))}initializeElementField(){var e=this.table.columnManager.getFirstVisibleColumn();this.elementField=this.table.options.dataTreeElementColumn||(e?e.field:!1)}getRowChildren(e){return this.getTreeChildren(e,!0)}columnMoving(){var e=[];return this.table.rowManager.rows.forEach(r=>{e=e.concat(this.getTreeChildren(r,!1,!0))}),e}rowDataChanged(e,r,C){this.redrawNeeded(C)&&(this.initializeRow(e),r&&(this.layoutRow(e),this.refreshData(!0)))}cellValueChanged(e){var r=e.column.getField();r===this.elementField&&this.layoutRow(e.row)}initializeRow(e){var r=e.getData()[this.field],C=Array.isArray(r),D=C||!C&&typeof r=="object"&&r!==null;!D&&e.modules.dataTree&&e.modules.dataTree.branchEl&&e.modules.dataTree.branchEl.parentNode.removeChild(e.modules.dataTree.branchEl),!D&&e.modules.dataTree&&e.modules.dataTree.controlEl&&e.modules.dataTree.controlEl.parentNode.removeChild(e.modules.dataTree.controlEl),e.modules.dataTree={index:e.modules.dataTree?e.modules.dataTree.index:0,open:D?e.modules.dataTree?e.modules.dataTree.open:this.startOpen(e.getComponent(),0):!1,controlEl:e.modules.dataTree&&D?e.modules.dataTree.controlEl:!1,branchEl:e.modules.dataTree&&D?e.modules.dataTree.branchEl:!1,parent:e.modules.dataTree?e.modules.dataTree.parent:!1,children:D}}reinitializeRowChildren(e){var r=this.getTreeChildren(e,!1,!0);r.forEach(function(C){C.reinitialize(!0)})}layoutRow(e){var r=this.elementField?e.getCell(this.elementField):e.getCells()[0],C=r.getElement(),D=e.modules.dataTree;D.branchEl&&(D.branchEl.parentNode&&D.branchEl.parentNode.removeChild(D.branchEl),D.branchEl=!1),D.controlEl&&(D.controlEl.parentNode&&D.controlEl.parentNode.removeChild(D.controlEl),D.controlEl=!1),this.generateControlElement(e,C),e.getElement().classList.add("tabulator-tree-level-"+D.index),D.index&&(this.branchEl?(D.branchEl=this.branchEl.cloneNode(!0),C.insertBefore(D.branchEl,C.firstChild),this.table.rtl?D.branchEl.style.marginRight=(D.branchEl.offsetWidth+D.branchEl.style.marginLeft)*(D.index-1)+D.index*this.indent+"px":D.branchEl.style.marginLeft=(D.branchEl.offsetWidth+D.branchEl.style.marginRight)*(D.index-1)+D.index*this.indent+"px"):this.table.rtl?C.style.paddingRight=parseInt(window.getComputedStyle(C,null).getPropertyValue("padding-right"))+D.index*this.indent+"px":C.style.paddingLeft=parseInt(window.getComputedStyle(C,null).getPropertyValue("padding-left"))+D.index*this.indent+"px")}generateControlElement(e,r){var C=e.modules.dataTree,D=C.controlEl;r=r||e.getCells()[0].getElement(),C.children!==!1&&(C.open?(C.controlEl=this.collapseEl.cloneNode(!0),C.controlEl.addEventListener("click",k=>{k.stopPropagation(),this.collapseRow(e)})):(C.controlEl=this.expandEl.cloneNode(!0),C.controlEl.addEventListener("click",k=>{k.stopPropagation(),this.expandRow(e)})),C.controlEl.addEventListener("mousedown",k=>{k.stopPropagation()}),D&&D.parentNode===r?D.parentNode.replaceChild(C.controlEl,D):r.insertBefore(C.controlEl,r.firstChild))}getRows(e){var r=[];return e.forEach((C,D)=>{var k,m;r.push(C),C instanceof yl&&(C.create(),k=C.modules.dataTree,!k.index&&k.children!==!1&&(m=this.getChildren(C),m.forEach(t=>{t.create(),r.push(t)})))}),r}getChildren(e,r){var C=e.modules.dataTree,D=[],k=[];return C.children!==!1&&(C.open||r)&&(Array.isArray(C.children)||(C.children=this.generateChildren(e)),this.table.modExists("filter")&&this.table.options.dataTreeFilter?D=this.table.modules.filter.filter(C.children):D=C.children,this.table.modExists("sort")&&this.table.options.dataTreeSort&&this.table.modules.sort.sort(D),D.forEach(m=>{k.push(m);var t=this.getChildren(m);t.forEach(d=>{k.push(d)})})),k}generateChildren(e){var r=[],C=e.getData()[this.field];return Array.isArray(C)||(C=[C]),C.forEach(D=>{var k=new yl(D||{},this.table.rowManager);k.create(),k.modules.dataTree.index=e.modules.dataTree.index+1,k.modules.dataTree.parent=e,k.modules.dataTree.children&&(k.modules.dataTree.open=this.startOpen(k.getComponent(),k.modules.dataTree.index)),r.push(k)}),r}expandRow(e,r){var C=e.modules.dataTree;C.children!==!1&&(C.open=!0,e.reinitialize(),this.refreshData(!0),this.dispatchExternal("dataTreeRowExpanded",e.getComponent(),e.modules.dataTree.index))}collapseRow(e){var r=e.modules.dataTree;r.children!==!1&&(r.open=!1,e.reinitialize(),this.refreshData(!0),this.dispatchExternal("dataTreeRowCollapsed",e.getComponent(),e.modules.dataTree.index))}toggleRow(e){var r=e.modules.dataTree;r.children!==!1&&(r.open?this.collapseRow(e):this.expandRow(e))}isRowExpanded(e){return e.modules.dataTree.open}getTreeParent(e){return e.modules.dataTree.parent?e.modules.dataTree.parent.getComponent():!1}getTreeParentRoot(e){return e.modules.dataTree&&e.modules.dataTree.parent?this.getTreeParentRoot(e.modules.dataTree.parent):e}getFilteredTreeChildren(e){var r=e.modules.dataTree,C=[],D;return r.children&&(Array.isArray(r.children)||(r.children=this.generateChildren(e)),this.table.modExists("filter")&&this.table.options.dataTreeFilter?D=this.table.modules.filter.filter(r.children):D=r.children,D.forEach(k=>{k instanceof yl&&C.push(k)})),C}rowDelete(e){var r=e.modules.dataTree.parent,C;r&&(C=this.findChildIndex(e,r),C!==!1&&r.data[this.field].splice(C,1),r.data[this.field].length||delete r.data[this.field],this.initializeRow(r),this.layoutRow(r)),this.refreshData(!0)}addTreeChildRow(e,r,C,D){var k=!1;typeof r=="string"&&(r=JSON.parse(r)),Array.isArray(e.data[this.field])||(e.data[this.field]=[],e.modules.dataTree.open=this.startOpen(e.getComponent(),e.modules.dataTree.index)),typeof D<"u"&&(k=this.findChildIndex(D,e),k!==!1&&e.data[this.field].splice(C?k:k+1,0,r)),k===!1&&(C?e.data[this.field].unshift(r):e.data[this.field].push(r)),this.initializeRow(e),this.layoutRow(e),this.refreshData(!0)}findChildIndex(e,r){var C=!1;return typeof e=="object"?e instanceof yl?C=e.data:e instanceof Wy?C=e._getSelf().data:typeof HTMLElement<"u"&&e instanceof HTMLElement?r.modules.dataTree&&(C=r.modules.dataTree.children.find(D=>D instanceof yl?D.element===e:!1),C&&(C=C.data)):e===null&&(C=!1):typeof e>"u"?C=!1:C=r.data[this.field].find(D=>D.data[this.table.options.index]==e),C&&(Array.isArray(r.data[this.field])&&(C=r.data[this.field].indexOf(C)),C==-1&&(C=!1)),C}getTreeChildren(e,r,C){var D=e.modules.dataTree,k=[];return D&&D.children&&(Array.isArray(D.children)||(D.children=this.generateChildren(e)),D.children.forEach(m=>{m instanceof yl&&(k.push(r?m.getComponent():m),C&&(k=k.concat(this.getTreeChildren(m,r,C))))})),k}getChildField(){return this.field}redrawNeeded(e){return(this.field?typeof e[this.field]<"u":!1)||(this.elementField?typeof e[this.elementField]<"u":!1)}}PM.moduleName="dataTree";function vR(n,e={},r){var C=e.delimiter?e.delimiter:",",D=[],k=[];n.forEach(m=>{var t=[];switch(m.type){case"group":console.warn("Download Warning - CSV downloader cannot process row groups");break;case"calc":console.warn("Download Warning - CSV downloader cannot process column calculations");break;case"header":m.columns.forEach((d,y)=>{d&&d.depth===1&&(k[y]=typeof d.value>"u"||d.value===null?"":'"'+String(d.value).split('"').join('""')+'"')});break;case"row":m.columns.forEach(d=>{if(d){switch(typeof d.value){case"object":d.value=d.value!==null?JSON.stringify(d.value):"";break;case"undefined":d.value="";break}t.push('"'+String(d.value).split('"').join('""')+'"')}}),D.push(t.join(C));break}}),k.length&&D.unshift(k.join(C)),D=D.join(` -`),e.bom&&(D="\uFEFF"+D),r(D,"text/csv")}function yR(n,e,r){var C=[];n.forEach(D=>{var k={};switch(D.type){case"header":break;case"group":console.warn("Download Warning - JSON downloader cannot process row groups");break;case"calc":console.warn("Download Warning - JSON downloader cannot process column calculations");break;case"row":D.columns.forEach(m=>{m&&(k[m.component.getTitleDownload()||m.component.getField()]=m.value)}),C.push(k);break}}),C=JSON.stringify(C,null," "),r(C,"application/json")}function bR(n,e={},r){var C=[],D=[],k={},m=e.rowGroupStyles||{fontStyle:"bold",fontSize:12,cellPadding:6,fillColor:220},t=e.rowCalcStyles||{fontStyle:"bold",fontSize:10,cellPadding:4,fillColor:232},d=e.jsPDF||{},y=e.title?e.title:"";d.orientation||(d.orientation=e.orientation||"landscape"),d.unit||(d.unit="pt"),n.forEach(v=>{switch(v.type){case"header":C.push(i(v));break;case"group":D.push(i(v,m));break;case"calc":D.push(i(v,t));break;case"row":D.push(i(v));break}});function i(v,h){var l=[];return v.columns.forEach(a=>{var u;if(a){switch(typeof a.value){case"object":a.value=a.value!==null?JSON.stringify(a.value):"";break;case"undefined":a.value="";break}u={content:a.value,colSpan:a.width,rowSpan:a.height},h&&(u.styles=h),l.push(u)}}),l}var M=new jspdf.jsPDF(d);e.autoTable&&(typeof e.autoTable=="function"?k=e.autoTable(M)||{}:k=e.autoTable),y&&(k.didDrawPage=function(v){M.text(y,40,30)}),k.head=C,k.body=D,M.autoTable(k),e.documentProcessing&&e.documentProcessing(M),r(M.output("arraybuffer"),"application/pdf")}function xR(n,e,r){var C=this,D=e.sheetName||"Sheet1",k=XLSX.utils.book_new(),m=new Ml(this),t="compress"in e?e.compress:!0,d=e.writeOptions||{bookType:"xlsx",bookSST:!0,compression:t},y;d.type="binary",k.SheetNames=[],k.Sheets={};function i(){var h=[],l=[],a={},u={s:{c:0,r:0},e:{c:n[0]?n[0].columns.reduce((s,o)=>s+(o&&o.width?o.width:1),0):0,r:n.length}};return n.forEach((s,o)=>{var c=[];s.columns.forEach(function(f,p){f?(c.push(!(f.value instanceof Date)&&typeof f.value=="object"?JSON.stringify(f.value):f.value),(f.width>1||f.height>-1)&&(f.height>1||f.width>1)&&l.push({s:{r:o,c:p},e:{r:o+f.height-1,c:p+f.width-1}})):c.push("")}),h.push(c)}),XLSX.utils.sheet_add_aoa(a,h),a["!ref"]=XLSX.utils.encode_range(u),l.length&&(a["!merges"]=l),a}if(e.sheetOnly){r(i());return}if(e.sheets)for(var M in e.sheets)e.sheets[M]===!0?(k.SheetNames.push(M),k.Sheets[M]=i()):(k.SheetNames.push(M),m.commsSend(e.sheets[M],"download","intercept",{type:"xlsx",options:{sheetOnly:!0},active:C.active,intercept:function(h){k.Sheets[M]=h}}));else k.SheetNames.push(D),k.Sheets[D]=i();e.documentProcessing&&(k=e.documentProcessing(k));function v(h){for(var l=new ArrayBuffer(h.length),a=new Uint8Array(l),u=0;u!=h.length;++u)a[u]=h.charCodeAt(u)&255;return l}y=XLSX.write(k,d),r(v(y),"application/octet-stream")}function _R(n,e,r){this.modExists("export",!0)&&r(this.modules.export.generateHTMLTable(n),"text/html")}function wR(n,e,r){const C=[];n.forEach(D=>{const k={};switch(D.type){case"header":break;case"group":console.warn("Download Warning - JSON downloader cannot process row groups");break;case"calc":console.warn("Download Warning - JSON downloader cannot process column calculations");break;case"row":D.columns.forEach(m=>{m&&(k[m.component.getTitleDownload()||m.component.getField()]=m.value)}),C.push(JSON.stringify(k));break}}),r(C.join(` -`),"application/x-ndjson")}var TR={csv:vR,json:yR,jsonLines:wR,pdf:bR,xlsx:xR,html:_R};class a0 extends qi{constructor(e){super(e),this.registerTableOption("downloadEncoder",function(r,C){return new Blob([r],{type:C})}),this.registerTableOption("downloadReady",void 0),this.registerTableOption("downloadConfig",{}),this.registerTableOption("downloadRowRange","active"),this.registerColumnOption("download"),this.registerColumnOption("titleDownload")}initialize(){this.deprecatedOptionsCheck(),this.registerTableFunction("download",this.download.bind(this)),this.registerTableFunction("downloadToTab",this.downloadToTab.bind(this))}deprecatedOptionsCheck(){this.deprecationCheck("downloadReady","downloadEncoder")}downloadToTab(e,r,C,D){this.download(e,r,C,D,!0)}download(e,r,C,D,k){var m=!1;function t(y,i){k?k===!0?this.triggerDownload(y,i,e,r,!0):k(y):this.triggerDownload(y,i,e,r)}if(typeof e=="function"?m=e:a0.downloaders[e]?m=a0.downloaders[e]:console.warn("Download Error - No such download type found: ",e),m){var d=this.generateExportList(D);m.call(this.table,d,C||{},t.bind(this))}}generateExportList(e){var r=this.table.modules.export.generateExportList(this.table.options.downloadConfig,!1,e||this.table.options.downloadRowRange,"download"),C=this.table.options.groupHeaderDownload;return C&&!Array.isArray(C)&&(C=[C]),r.forEach(D=>{var k;D.type==="group"&&(k=D.columns[0],C&&C[D.indent]&&(k.value=C[D.indent](k.value,D.component._group.getRowCount(),D.component._group.getData(),D.component)))}),r}triggerDownload(e,r,C,D,k){var m=document.createElement("a"),t=this.table.options.downloadEncoder(e,r);t&&(k?window.open(window.URL.createObjectURL(t)):(D=D||"Tabulator."+(typeof C=="function"?"txt":C),navigator.msSaveOrOpenBlob?navigator.msSaveOrOpenBlob(t,D):(m.setAttribute("href",window.URL.createObjectURL(t)),m.setAttribute("download",D),m.style.display="none",document.body.appendChild(m),m.click(),document.body.removeChild(m))),this.dispatchExternal("downloadComplete"))}commsReceived(e,r,C){switch(r){case"intercept":this.download(C.type,"",C.options,C.active,C.intercept);break}}}a0.moduleName="download";a0.downloaders=TR;function $y(n,e){var r=e.mask,C=typeof e.maskLetterChar<"u"?e.maskLetterChar:"A",D=typeof e.maskNumberChar<"u"?e.maskNumberChar:"9",k=typeof e.maskWildcardChar<"u"?e.maskWildcardChar:"*";function m(t){var d=r[t];typeof d<"u"&&d!==k&&d!==C&&d!==D&&(n.value=n.value+""+d,m(t+1))}n.addEventListener("keydown",t=>{var d=n.value.length,y=t.key;if(t.keyCode>46&&!t.ctrlKey&&!t.metaKey){if(d>=r.length)return t.preventDefault(),t.stopPropagation(),!1;switch(r[d]){case C:if(y.toUpperCase()==y.toLowerCase())return t.preventDefault(),t.stopPropagation(),!1;break;case D:if(isNaN(y))return t.preventDefault(),t.stopPropagation(),!1;break;case k:break;default:if(y!==r[d])return t.preventDefault(),t.stopPropagation(),!1}}}),n.addEventListener("keyup",t=>{t.keyCode>46&&e.maskAutoFill&&m(n.value.length)}),n.placeholder||(n.placeholder=r),e.maskAutoFill&&m(n.value.length)}function kR(n,e,r,C,D){var k=n.getValue(),m=document.createElement("input");if(m.setAttribute("type",D.search?"search":"text"),m.style.padding="4px",m.style.width="100%",m.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let d in D.elementAttributes)d.charAt(0)=="+"?(d=d.slice(1),m.setAttribute(d,m.getAttribute(d)+D.elementAttributes["+"+d])):m.setAttribute(d,D.elementAttributes[d]);m.value=typeof k<"u"?k:"",e(function(){n.getType()==="cell"&&(m.focus({preventScroll:!0}),m.style.height="100%",D.selectContents&&m.select())});function t(d){(k===null||typeof k>"u")&&m.value!==""||m.value!==k?r(m.value)&&(k=m.value):C()}return m.addEventListener("change",t),m.addEventListener("blur",t),m.addEventListener("keydown",function(d){switch(d.keyCode){case 13:t();break;case 27:C();break;case 35:case 36:d.stopPropagation();break}}),D.mask&&$y(m,D),m}function MR(n,e,r,C,D){var k=n.getValue(),m=D.verticalNavigation||"hybrid",t=String(k!==null&&typeof k<"u"?k:""),d=document.createElement("textarea"),y=0;if(d.style.display="block",d.style.padding="2px",d.style.height="100%",d.style.width="100%",d.style.boxSizing="border-box",d.style.whiteSpace="pre-wrap",d.style.resize="none",D.elementAttributes&&typeof D.elementAttributes=="object")for(let M in D.elementAttributes)M.charAt(0)=="+"?(M=M.slice(1),d.setAttribute(M,d.getAttribute(M)+D.elementAttributes["+"+M])):d.setAttribute(M,D.elementAttributes[M]);d.value=t,e(function(){n.getType()==="cell"&&(d.focus({preventScroll:!0}),d.style.height="100%",d.scrollHeight,d.style.height=d.scrollHeight+"px",n.getRow().normalizeHeight(),D.selectContents&&d.select())});function i(M){(k===null||typeof k>"u")&&d.value!==""||d.value!==k?(r(d.value)&&(k=d.value),setTimeout(function(){n.getRow().normalizeHeight()},300)):C()}return d.addEventListener("change",i),d.addEventListener("blur",i),d.addEventListener("keyup",function(){d.style.height="";var M=d.scrollHeight;d.style.height=M+"px",M!=y&&(y=M,n.getRow().normalizeHeight())}),d.addEventListener("keydown",function(M){switch(M.keyCode){case 13:M.shiftKey&&D.shiftEnterSubmit&&i();break;case 27:C();break;case 38:(m=="editor"||m=="hybrid"&&d.selectionStart)&&(M.stopImmediatePropagation(),M.stopPropagation());break;case 40:(m=="editor"||m=="hybrid"&&d.selectionStart!==d.value.length)&&(M.stopImmediatePropagation(),M.stopPropagation());break;case 35:case 36:M.stopPropagation();break}}),D.mask&&$y(d,D),d}function AR(n,e,r,C,D){var k=n.getValue(),m=D.verticalNavigation||"editor",t=document.createElement("input");if(t.setAttribute("type","number"),typeof D.max<"u"&&t.setAttribute("max",D.max),typeof D.min<"u"&&t.setAttribute("min",D.min),typeof D.step<"u"&&t.setAttribute("step",D.step),t.style.padding="4px",t.style.width="100%",t.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let i in D.elementAttributes)i.charAt(0)=="+"?(i=i.slice(1),t.setAttribute(i,t.getAttribute(i)+D.elementAttributes["+"+i])):t.setAttribute(i,D.elementAttributes[i]);t.value=k;var d=function(i){y()};e(function(){n.getType()==="cell"&&(t.removeEventListener("blur",d),t.focus({preventScroll:!0}),t.style.height="100%",t.addEventListener("blur",d),D.selectContents&&t.select())});function y(){var i=t.value;!isNaN(i)&&i!==""&&(i=Number(i)),i!==k?r(i)&&(k=i):C()}return t.addEventListener("keydown",function(i){switch(i.keyCode){case 13:y();break;case 27:C();break;case 38:case 40:m=="editor"&&(i.stopImmediatePropagation(),i.stopPropagation());break;case 35:case 36:i.stopPropagation();break}}),D.mask&&$y(t,D),t}function SR(n,e,r,C,D){var k=n.getValue(),m=document.createElement("input");if(m.setAttribute("type","range"),typeof D.max<"u"&&m.setAttribute("max",D.max),typeof D.min<"u"&&m.setAttribute("min",D.min),typeof D.step<"u"&&m.setAttribute("step",D.step),m.style.padding="4px",m.style.width="100%",m.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let d in D.elementAttributes)d.charAt(0)=="+"?(d=d.slice(1),m.setAttribute(d,m.getAttribute(d)+D.elementAttributes["+"+d])):m.setAttribute(d,D.elementAttributes[d]);m.value=k,e(function(){n.getType()==="cell"&&(m.focus({preventScroll:!0}),m.style.height="100%")});function t(){var d=m.value;!isNaN(d)&&d!==""&&(d=Number(d)),d!=k?r(d)&&(k=d):C()}return m.addEventListener("blur",function(d){t()}),m.addEventListener("keydown",function(d){switch(d.keyCode){case 13:t();break;case 27:C();break}}),m}function CR(n,e,r,C,D){var k=D.format,m=D.verticalNavigation||"editor",t=k?window.DateTime||luxon.DateTime:null,d=n.getValue(),y=document.createElement("input");function i(v){var h;return t.isDateTime(v)?h=v:k==="iso"?h=t.fromISO(String(v)):h=t.fromFormat(String(v),k),h.toFormat("yyyy-MM-dd")}if(y.type="date",y.style.padding="4px",y.style.width="100%",y.style.boxSizing="border-box",D.max&&y.setAttribute("max",k?i(D.max):D.max),D.min&&y.setAttribute("min",k?i(D.min):D.min),D.elementAttributes&&typeof D.elementAttributes=="object")for(let v in D.elementAttributes)v.charAt(0)=="+"?(v=v.slice(1),y.setAttribute(v,y.getAttribute(v)+D.elementAttributes["+"+v])):y.setAttribute(v,D.elementAttributes[v]);d=typeof d<"u"?d:"",k&&(t?d=i(d):console.error("Editor Error - 'date' editor 'format' param is dependant on luxon.js")),y.value=d,e(function(){n.getType()==="cell"&&(y.focus({preventScroll:!0}),y.style.height="100%",D.selectContents&&y.select())});function M(){var v=y.value,h;if((d===null||typeof d>"u")&&v!==""||v!==d){if(v&&k)switch(h=t.fromFormat(String(v),"yyyy-MM-dd"),k){case!0:v=h;break;case"iso":v=h.toISO();break;default:v=h.toFormat(k)}r(v)&&(d=y.value)}else C()}return y.addEventListener("blur",function(v){(v.relatedTarget||v.rangeParent||v.explicitOriginalTarget!==y)&&M()}),y.addEventListener("keydown",function(v){switch(v.keyCode){case 13:M();break;case 27:C();break;case 35:case 36:v.stopPropagation();break;case 38:case 40:m=="editor"&&(v.stopImmediatePropagation(),v.stopPropagation());break}}),y}function ER(n,e,r,C,D){var k=D.format,m=D.verticalNavigation||"editor",t=k?window.DateTime||luxon.DateTime:null,d,y=n.getValue(),i=document.createElement("input");if(i.type="time",i.style.padding="4px",i.style.width="100%",i.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let v in D.elementAttributes)v.charAt(0)=="+"?(v=v.slice(1),i.setAttribute(v,i.getAttribute(v)+D.elementAttributes["+"+v])):i.setAttribute(v,D.elementAttributes[v]);y=typeof y<"u"?y:"",k&&(t?(t.isDateTime(y)?d=y:k==="iso"?d=t.fromISO(String(y)):d=t.fromFormat(String(y),k),y=d.toFormat("HH:mm")):console.error("Editor Error - 'date' editor 'format' param is dependant on luxon.js")),console.log("val",y),i.value=y,e(function(){n.getType()=="cell"&&(i.focus({preventScroll:!0}),i.style.height="100%",D.selectContents&&i.select())});function M(){var v=i.value,h;if((y===null||typeof y>"u")&&v!==""||v!==y){if(v&&k)switch(h=t.fromFormat(String(v),"hh:mm"),k){case!0:v=h;break;case"iso":v=h.toISO();break;default:v=h.toFormat(k)}r(v)&&(y=i.value)}else C()}return i.addEventListener("blur",function(v){(v.relatedTarget||v.rangeParent||v.explicitOriginalTarget!==i)&&M()}),i.addEventListener("keydown",function(v){switch(v.keyCode){case 13:M();break;case 27:C();break;case 35:case 36:v.stopPropagation();break;case 38:case 40:m=="editor"&&(v.stopImmediatePropagation(),v.stopPropagation());break}}),i}function LR(n,e,r,C,D){var k=D.format,m=D.verticalNavigation||"editor",t=k?window.DateTime||luxon.DateTime:null,d,y=n.getValue(),i=document.createElement("input");if(i.type="datetime-local",i.style.padding="4px",i.style.width="100%",i.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let v in D.elementAttributes)v.charAt(0)=="+"?(v=v.slice(1),i.setAttribute(v,i.getAttribute(v)+D.elementAttributes["+"+v])):i.setAttribute(v,D.elementAttributes[v]);y=typeof y<"u"?y:"",k&&(t?(t.isDateTime(y)?d=y:k==="iso"?d=t.fromISO(String(y)):d=t.fromFormat(String(y),k),y=d.toFormat("yyyy-MM-dd")+"T"+d.toFormat("HH:mm")):console.error("Editor Error - 'date' editor 'format' param is dependant on luxon.js")),i.value=y,e(function(){n.getType()==="cell"&&(i.focus({preventScroll:!0}),i.style.height="100%",D.selectContents&&i.select())});function M(){var v=i.value,h;if((y===null||typeof y>"u")&&v!==""||v!==y){if(v&&k)switch(h=t.fromISO(String(v)),k){case!0:v=h;break;case"iso":v=h.toISO();break;default:v=h.toFormat(k)}r(v)&&(y=i.value)}else C()}return i.addEventListener("blur",function(v){(v.relatedTarget||v.rangeParent||v.explicitOriginalTarget!==i)&&M()}),i.addEventListener("keydown",function(v){switch(v.keyCode){case 13:M();break;case 27:C();break;case 35:case 36:v.stopPropagation();break;case 38:case 40:m=="editor"&&(v.stopImmediatePropagation(),v.stopPropagation());break}}),i}class G2{constructor(e,r,C,D,k,m){this.edit=e,this.table=e.table,this.cell=r,this.params=this._initializeParams(m),this.data=[],this.displayItems=[],this.currentItems=[],this.focusedItem=null,this.input=this._createInputElement(),this.listEl=this._createListElement(),this.initialValues=null,this.isFilter=r.getType()==="header",this.filterTimeout=null,this.filtered=!1,this.typing=!1,this.values=[],this.popup=null,this.listIteration=0,this.lastAction="",this.filterTerm="",this.blurable=!0,this.actions={success:D,cancel:k},this._deprecatedOptionsCheck(),this._initializeValue(),C(this._onRendered.bind(this))}_deprecatedOptionsCheck(){this.params.listItemFormatter&&this.cell.getTable().deprecationAdvisor.msg("The listItemFormatter editor param has been deprecated, please see the latest editor documentation for updated options"),this.params.sortValuesList&&this.cell.getTable().deprecationAdvisor.msg("The sortValuesList editor param has been deprecated, please see the latest editor documentation for updated options"),this.params.searchFunc&&this.cell.getTable().deprecationAdvisor.msg("The searchFunc editor param has been deprecated, please see the latest editor documentation for updated options"),this.params.searchingPlaceholder&&this.cell.getTable().deprecationAdvisor.msg("The searchingPlaceholder editor param has been deprecated, please see the latest editor documentation for updated options")}_initializeValue(){var e=this.cell.getValue();typeof e>"u"&&typeof this.params.defaultValue<"u"&&(e=this.params.defaultValue),this.initialValues=this.params.multiselect?e:[e],this.isFilter&&(this.input.value=this.initialValues?this.initialValues.join(","):"",this.headerFilterInitialListGen())}_onRendered(){var e=this.cell.getElement();function r(C){C.stopPropagation()}this.isFilter||(this.input.style.height="100%",this.input.focus({preventScroll:!0})),e.addEventListener("click",r),setTimeout(()=>{e.removeEventListener("click",r)},1e3),this.input.addEventListener("mousedown",this._preventPopupBlur.bind(this))}_createListElement(){var e=document.createElement("div");return e.classList.add("tabulator-edit-list"),e.addEventListener("mousedown",this._preventBlur.bind(this)),e.addEventListener("keydown",this._inputKeyDown.bind(this)),e}_setListWidth(){var e=this.isFilter?this.input:this.cell.getElement();this.listEl.style.minWidth=e.offsetWidth+"px",this.params.maxWidth&&(this.params.maxWidth===!0?this.listEl.style.maxWidth=e.offsetWidth+"px":typeof this.params.maxWidth=="number"?this.listEl.style.maxWidth=this.params.maxWidth+"px":this.listEl.style.maxWidth=this.params.maxWidth)}_createInputElement(){var e=this.params.elementAttributes,r=document.createElement("input");if(r.setAttribute("type",this.params.clearable?"search":"text"),r.style.padding="4px",r.style.width="100%",r.style.boxSizing="border-box",this.params.autocomplete||(r.style.cursor="default",r.style.caretColor="transparent"),e&&typeof e=="object")for(let C in e)C.charAt(0)=="+"?(C=C.slice(1),r.setAttribute(C,r.getAttribute(C)+e["+"+C])):r.setAttribute(C,e[C]);return this.params.mask&&$y(r,this.params),this._bindInputEvents(r),r}_initializeParams(e){var r=["values","valuesURL","valuesLookup"],C;return e=Object.assign({},e),e.verticalNavigation=e.verticalNavigation||"editor",e.placeholderLoading=typeof e.placeholderLoading>"u"?"Searching ...":e.placeholderLoading,e.placeholderEmpty=typeof e.placeholderEmpty>"u"?"No Results Found":e.placeholderEmpty,e.filterDelay=typeof e.filterDelay>"u"?300:e.filterDelay,e.emptyValue=Object.keys(e).includes("emptyValue")?e.emptyValue:"",C=Object.keys(e).filter(D=>r.includes(D)).length,C?C>1&&console.warn("list editor config error - only one of the values, valuesURL, or valuesLookup options can be set on the same editor"):console.warn("list editor config error - either the values, valuesURL, or valuesLookup option must be set"),e.autocomplete?e.multiselect&&(e.multiselect=!1,console.warn("list editor config error - multiselect option is not available when autocomplete is enabled")):(e.freetext&&(e.freetext=!1,console.warn("list editor config error - freetext option is only available when autocomplete is enabled")),e.filterFunc&&(e.filterFunc=!1,console.warn("list editor config error - filterFunc option is only available when autocomplete is enabled")),e.filterRemote&&(e.filterRemote=!1,console.warn("list editor config error - filterRemote option is only available when autocomplete is enabled")),e.mask&&(e.mask=!1,console.warn("list editor config error - mask option is only available when autocomplete is enabled")),e.allowEmpty&&(e.allowEmpty=!1,console.warn("list editor config error - allowEmpty option is only available when autocomplete is enabled")),e.listOnEmpty&&(e.listOnEmpty=!1,console.warn("list editor config error - listOnEmpty option is only available when autocomplete is enabled"))),e.filterRemote&&!(typeof e.valuesLookup=="function"||e.valuesURL)&&(e.filterRemote=!1,console.warn("list editor config error - filterRemote option should only be used when values list is populated from a remote source")),e}_bindInputEvents(e){e.addEventListener("focus",this._inputFocus.bind(this)),e.addEventListener("click",this._inputClick.bind(this)),e.addEventListener("blur",this._inputBlur.bind(this)),e.addEventListener("keydown",this._inputKeyDown.bind(this)),e.addEventListener("search",this._inputSearch.bind(this)),this.params.autocomplete&&e.addEventListener("keyup",this._inputKeyUp.bind(this))}_inputFocus(e){this.rebuildOptionsList()}_filter(){this.params.filterRemote?(clearTimeout(this.filterTimeout),this.filterTimeout=setTimeout(()=>{this.rebuildOptionsList()},this.params.filterDelay)):this._filterList()}_inputClick(e){e.stopPropagation()}_inputBlur(e){this.blurable&&(this.popup?this.popup.hide():this._resolveValue(!0))}_inputSearch(){this._clearChoices()}_inputKeyDown(e){switch(e.keyCode){case 38:this._keyUp(e);break;case 40:this._keyDown(e);break;case 37:case 39:this._keySide(e);break;case 13:this._keyEnter();break;case 27:this._keyEsc();break;case 36:case 35:this._keyHomeEnd(e);break;case 9:this._keyTab(e);break;default:this._keySelectLetter(e)}}_inputKeyUp(e){switch(e.keyCode){case 38:case 37:case 39:case 40:case 13:case 27:break;default:this._keyAutoCompLetter(e)}}_preventPopupBlur(){this.popup&&this.popup.blockHide(),setTimeout(()=>{this.popup&&this.popup.restoreHide()},10)}_preventBlur(){this.blurable=!1,setTimeout(()=>{this.blurable=!0},10)}_keyTab(e){this.params.autocomplete&&this.lastAction==="typing"?this._resolveValue(!0):this.focusedItem&&this._chooseItem(this.focusedItem,!0)}_keyUp(e){var r=this.displayItems.indexOf(this.focusedItem);(this.params.verticalNavigation=="editor"||this.params.verticalNavigation=="hybrid"&&r)&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault(),r>0&&this._focusItem(this.displayItems[r-1]))}_keyDown(e){var r=this.displayItems.indexOf(this.focusedItem);(this.params.verticalNavigation=="editor"||this.params.verticalNavigation=="hybrid"&&r=38&&e.keyCode<=90&&this._scrollToValue(e.keyCode))}_keyAutoCompLetter(e){this._filter(),this.lastAction="typing",this.typing=!0}_scrollToValue(e){clearTimeout(this.filterTimeout);var r=String.fromCharCode(e).toLowerCase();this.filterTerm+=r.toLowerCase();var C=this.displayItems.find(D=>typeof D.label<"u"&&D.label.toLowerCase().startsWith(this.filterTerm));C&&this._focusItem(C),this.filterTimeout=setTimeout(()=>{this.filterTerm=""},800)}_focusItem(e){this.lastAction="focus",this.focusedItem&&this.focusedItem.element&&this.focusedItem.element.classList.remove("focused"),this.focusedItem=e,e&&e.element&&(e.element.classList.add("focused"),e.element.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"}))}headerFilterInitialListGen(){this._generateOptions(!0)}rebuildOptionsList(){this._generateOptions().then(this._sortOptions.bind(this)).then(this._buildList.bind(this)).then(this._showList.bind(this)).catch(e=>{Number.isInteger(e)||console.error("List generation error",e)})}_filterList(){this._buildList(this._filterOptions()),this._showList()}_generateOptions(e){var r=[],C=++this.listIteration;return this.filtered=!1,this.params.values?r=this.params.values:this.params.valuesURL?r=this._ajaxRequest(this.params.valuesURL,this.input.value):typeof this.params.valuesLookup=="function"?r=this.params.valuesLookup(this.cell,this.input.value):this.params.valuesLookup&&(r=this._uniqueColumnValues(this.params.valuesLookupField)),r instanceof Promise?(e||this._addPlaceholder(this.params.placeholderLoading),r.then().then(D=>this.listIteration===C?this._parseList(D):Promise.reject(C))):Promise.resolve(this._parseList(r))}_addPlaceholder(e){var r=document.createElement("div");typeof e=="function"&&(e=e(this.cell.getComponent(),this.listEl)),e&&(this._clearList(),e instanceof HTMLElement?r=e:(r.classList.add("tabulator-edit-list-placeholder"),r.innerHTML=e),this.listEl.appendChild(r),this._showList())}_ajaxRequest(e,r){var C=this.params.filterRemote?{term:r}:{};return e=EM(e,{},C),fetch(e).then(D=>D.ok?D.json().catch(k=>(console.warn("List Ajax Load Error - Invalid JSON returned",k),Promise.reject(k))):(console.error("List Ajax Load Error - Connection Error: "+D.status,D.statusText),Promise.reject(D))).catch(D=>(console.error("List Ajax Load Error - Connection Error: ",D),Promise.reject(D)))}_uniqueColumnValues(e){var r={},C=this.table.getData(this.params.valuesLookup),D;return e?D=this.table.columnManager.getColumnByField(e):D=this.cell.getColumn()._getSelf(),D?C.forEach(k=>{var m=D.getFieldValue(k);m!==null&&typeof m<"u"&&m!==""&&(r[m]=!0)}):(console.warn("unable to find matching column to create select lookup list:",e),r=[]),Object.keys(r)}_parseList(e){var r=[];return Array.isArray(e)||(e=Object.entries(e).map(([C,D])=>({label:D,value:C}))),e.forEach(C=>{typeof C!="object"&&(C={label:C,value:C}),this._parseListItem(C,r,0)}),!this.currentItems.length&&this.params.freetext&&(this.input.value=this.initialValues,this.typing=!0,this.lastAction="typing"),this.data=r,r}_parseListItem(e,r,C){var D={};e.options?D=this._parseListGroup(e,C+1):(D={label:e.label,value:e.value,itemParams:e.itemParams,elementAttributes:e.elementAttributes,element:!1,selected:!1,visible:!0,level:C,original:e},this.initialValues&&this.initialValues.indexOf(e.value)>-1&&this._chooseItem(D,!0)),r.push(D)}_parseListGroup(e,r){var C={label:e.label,group:!0,itemParams:e.itemParams,elementAttributes:e.elementAttributes,element:!1,visible:!0,level:r,options:[],original:e};return e.options.forEach(D=>{this._parseListItem(D,C.options,r)}),C}_sortOptions(e){var r;return this.params.sort&&(r=typeof this.params.sort=="function"?this.params.sort:this._defaultSortFunction.bind(this),this._sortGroup(r,e)),e}_sortGroup(e,r){r.sort((C,D)=>e(C.label,D.label,C.value,D.value,C.original,D.original)),r.forEach(C=>{C.group&&this._sortGroup(e,C.options)})}_defaultSortFunction(e,r){var C,D,k,m,t=0,d,y=/(\d+)|(\D+)/g,i=/\d/,M=0;if(this.params.sort==="desc"&&([e,r]=[r,e]),!e&&e!==0)M=!r&&r!==0?0:-1;else if(!r&&r!==0)M=1;else{if(isFinite(e)&&isFinite(r))return e-r;if(C=String(e).toLowerCase(),D=String(r).toLowerCase(),C===D)return 0;if(!(i.test(C)&&i.test(D)))return C>D?1:-1;for(C=C.match(y),D=D.match(y),d=C.length>D.length?D.length:C.length;tm?1:-1;return C.length>D.length}return M}_filterOptions(){var e=this.params.filterFunc||this._defaultFilterFunc,r=this.input.value;return r?(this.filtered=!0,this.data.forEach(C=>{this._filterItem(e,r,C)})):this.filtered=!1,this.data}_filterItem(e,r,C){var D=!1;return C.group?(C.options.forEach(k=>{this._filterItem(e,r,k)&&(D=!0)}),C.visible=D):C.visible=e(r,C.label,C.value,C.original),C.visible}_defaultFilterFunc(e,r,C,D){return e=String(e).toLowerCase(),r!==null&&typeof r<"u"&&(String(r).toLowerCase().indexOf(e)>-1||String(C).toLowerCase().indexOf(e)>-1)}_clearList(){for(;this.listEl.firstChild;)this.listEl.removeChild(this.listEl.firstChild);this.displayItems=[]}_buildList(e){this._clearList(),e.forEach(r=>{this._buildItem(r)}),this.displayItems.length||this._addPlaceholder(this.params.placeholderEmpty)}_buildItem(e){var r=e.element,C;if(!this.filtered||e.visible){if(!r){if(r=document.createElement("div"),r.tabIndex=0,C=this.params.itemFormatter?this.params.itemFormatter(e.label,e.value,e.original,r):e.label,C instanceof HTMLElement?r.appendChild(C):r.innerHTML=C,e.group?r.classList.add("tabulator-edit-list-group"):r.classList.add("tabulator-edit-list-item"),r.classList.add("tabulator-edit-list-group-level-"+e.level),e.elementAttributes&&typeof e.elementAttributes=="object")for(let D in e.elementAttributes)D.charAt(0)=="+"?(D=D.slice(1),r.setAttribute(D,this.input.getAttribute(D)+e.elementAttributes["+"+D])):r.setAttribute(D,e.elementAttributes[D]);e.group?r.addEventListener("click",this._groupClick.bind(this,e)):r.addEventListener("click",this._itemClick.bind(this,e)),r.addEventListener("mousedown",this._preventBlur.bind(this)),e.element=r}this._styleItem(e),this.listEl.appendChild(r),e.group?e.options.forEach(D=>{this._buildItem(D)}):this.displayItems.push(e)}}_showList(){var e=this.popup&&this.popup.isVisible();if(this.input.parentNode){if(this.params.autocomplete&&this.input.value===""&&!this.params.listOnEmpty){this.popup&&this.popup.hide(!0);return}this._setListWidth(),this.popup||(this.popup=this.edit.popup(this.listEl)),this.popup.show(this.cell.getElement(),"bottom"),e||setTimeout(()=>{this.popup.hideOnBlur(this._resolveValue.bind(this,!0))},10)}}_styleItem(e){e&&e.element&&(e.selected?e.element.classList.add("active"):e.element.classList.remove("active"))}_itemClick(e,r){r.stopPropagation(),this._chooseItem(e)}_groupClick(e,r){r.stopPropagation()}_cancel(){this.popup.hide(!0),this.actions.cancel()}_clearChoices(){this.typing=!0,this.currentItems.forEach(e=>{e.selected=!1,this._styleItem(e)}),this.currentItems=[],this.focusedItem=null}_chooseItem(e,r){var C;this.typing=!1,this.params.multiselect?(C=this.currentItems.indexOf(e),C>-1?(this.currentItems.splice(C,1),e.selected=!1):(this.currentItems.push(e),e.selected=!0),this.input.value=this.currentItems.map(D=>D.label).join(","),this._styleItem(e)):(this.currentItems=[e],e.selected=!0,this.input.value=e.label,this._styleItem(e),r||this._resolveValue()),this._focusItem(e)}_resolveValue(e){var r,C;if(this.popup&&this.popup.hide(!0),this.params.multiselect)r=this.currentItems.map(D=>D.value);else if(e&&this.params.autocomplete&&this.typing)if(this.params.freetext||this.params.allowEmpty&&this.input.value==="")r=this.input.value;else{this.actions.cancel();return}else this.currentItems[0]?r=this.currentItems[0].value:(C=Array.isArray(this.initialValues)?this.initialValues[0]:this.initialValues,C===null||typeof C>"u"||C===""?r=C:r=this.params.emptyValue);r===""&&(r=this.params.emptyValue),this.actions.success(r),this.isFilter&&(this.initialValues=r&&!Array.isArray(r)?[r]:r,this.currentItems=[])}}function IR(n,e,r,C,D){this.deprecationMsg("The select editor has been deprecated, please use the new list editor");var k=new G2(this,n,e,r,C,D);return k.input}function RR(n,e,r,C,D){var k=new G2(this,n,e,r,C,D);return k.input}function PR(n,e,r,C,D){this.deprecationMsg("The autocomplete editor has been deprecated, please use the new list editor with the 'autocomplete' editorParam"),D.autocomplete=!0;var k=new G2(this,n,e,r,C,D);return k.input}function OR(n,e,r,C,D){var k=this,m=n.getElement(),t=n.getValue(),d=m.getElementsByTagName("svg").length||5,y=m.getElementsByTagName("svg")[0]?m.getElementsByTagName("svg")[0].getAttribute("width"):14,i=[],M=document.createElement("div"),v=document.createElementNS("http://www.w3.org/2000/svg","svg");function h(s){i.forEach(function(o,c){c'):(k.table.browser=="ie"?o.setAttribute("class","tabulator-star-inactive"):o.classList.replace("tabulator-star-active","tabulator-star-inactive"),o.innerHTML='')})}function l(s){var o=document.createElement("span"),c=v.cloneNode(!0);i.push(c),o.addEventListener("mouseenter",function(f){f.stopPropagation(),f.stopImmediatePropagation(),h(s)}),o.addEventListener("mousemove",function(f){f.stopPropagation(),f.stopImmediatePropagation()}),o.addEventListener("click",function(f){f.stopPropagation(),f.stopImmediatePropagation(),r(s),m.blur()}),o.appendChild(c),M.appendChild(o)}function a(s){t=s,h(s)}if(m.style.whiteSpace="nowrap",m.style.overflow="hidden",m.style.textOverflow="ellipsis",M.style.verticalAlign="middle",M.style.display="inline-block",M.style.padding="4px",v.setAttribute("width",y),v.setAttribute("height",y),v.setAttribute("viewBox","0 0 512 512"),v.setAttribute("xml:space","preserve"),v.style.padding="0 1px",D.elementAttributes&&typeof D.elementAttributes=="object")for(let s in D.elementAttributes)s.charAt(0)=="+"?(s=s.slice(1),M.setAttribute(s,M.getAttribute(s)+D.elementAttributes["+"+s])):M.setAttribute(s,D.elementAttributes[s]);for(var u=1;u<=d;u++)l(u);return t=Math.min(parseInt(t),d),h(t),M.addEventListener("mousemove",function(s){h(0)}),M.addEventListener("click",function(s){r(0)}),m.addEventListener("blur",function(s){C()}),m.addEventListener("keydown",function(s){switch(s.keyCode){case 39:a(t+1);break;case 37:a(t-1);break;case 13:r(t);break;case 27:C();break}}),M}function DR(n,e,r,C,D){var k=n.getElement(),m=typeof D.max>"u"?k.getElementsByTagName("div")[0]&&k.getElementsByTagName("div")[0].getAttribute("max")||100:D.max,t=typeof D.min>"u"?k.getElementsByTagName("div")[0]&&k.getElementsByTagName("div")[0].getAttribute("min")||0:D.min,d=(m-t)/100,y=n.getValue()||0,i=document.createElement("div"),M=document.createElement("div"),v,h;function l(){var a=window.getComputedStyle(k,null),u=d*Math.round(M.offsetWidth/((k.clientWidth-parseInt(a.getPropertyValue("padding-left"))-parseInt(a.getPropertyValue("padding-right")))/100))+t;r(u),k.setAttribute("aria-valuenow",u),k.setAttribute("aria-label",y)}if(i.style.position="absolute",i.style.right="0",i.style.top="0",i.style.bottom="0",i.style.width="5px",i.classList.add("tabulator-progress-handle"),M.style.display="inline-block",M.style.position="relative",M.style.height="100%",M.style.backgroundColor="#488CE9",M.style.maxWidth="100%",M.style.minWidth="0%",D.elementAttributes&&typeof D.elementAttributes=="object")for(let a in D.elementAttributes)a.charAt(0)=="+"?(a=a.slice(1),M.setAttribute(a,M.getAttribute(a)+D.elementAttributes["+"+a])):M.setAttribute(a,D.elementAttributes[a]);return k.style.padding="4px 4px",y=Math.min(parseFloat(y),m),y=Math.max(parseFloat(y),t),y=Math.round((y-t)/d),M.style.width=y+"%",k.setAttribute("aria-valuemin",t),k.setAttribute("aria-valuemax",m),M.appendChild(i),i.addEventListener("mousedown",function(a){v=a.screenX,h=M.offsetWidth}),i.addEventListener("mouseover",function(){i.style.cursor="ew-resize"}),k.addEventListener("mousemove",function(a){v&&(M.style.width=h+a.screenX-v+"px")}),k.addEventListener("mouseup",function(a){v&&(a.stopPropagation(),a.stopImmediatePropagation(),v=!1,h=!1,l())}),k.addEventListener("keydown",function(a){switch(a.keyCode){case 39:a.preventDefault(),M.style.width=M.clientWidth+k.clientWidth/100+"px";break;case 37:a.preventDefault(),M.style.width=M.clientWidth-k.clientWidth/100+"px";break;case 9:case 13:l();break;case 27:C();break}}),k.addEventListener("blur",function(){C()}),M}function zR(n,e,r,C,D){var k=n.getValue(),m=document.createElement("input"),t=D.tristate,d=typeof D.indeterminateValue>"u"?null:D.indeterminateValue,y=!1,i=Object.keys(D).includes("trueValue"),M=Object.keys(D).includes("falseValue");if(m.setAttribute("type","checkbox"),m.style.marginTop="5px",m.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let h in D.elementAttributes)h.charAt(0)=="+"?(h=h.slice(1),m.setAttribute(h,m.getAttribute(h)+D.elementAttributes["+"+h])):m.setAttribute(h,D.elementAttributes[h]);m.value=k,t&&(typeof k>"u"||k===d||k==="")&&(y=!0,m.indeterminate=!0),this.table.browser!="firefox"&&this.table.browser!="safari"&&e(function(){n.getType()==="cell"&&m.focus({preventScroll:!0})}),m.checked=i?k===D.trueValue:k===!0||k==="true"||k==="True"||k===1;function v(h){var l=m.checked;return i&&l?l=D.trueValue:M&&!l&&(l=D.falseValue),t?h?y?d:l:m.checked&&!y?(m.checked=!1,m.indeterminate=!0,y=!0,d):(y=!1,l):l}return m.addEventListener("change",function(h){r(v())}),m.addEventListener("blur",function(h){r(v(!0))}),m.addEventListener("keydown",function(h){h.keyCode==13&&r(v()),h.keyCode==27&&C()}),m}var FR={input:kR,textarea:MR,number:AR,range:SR,date:CR,time:ER,datetime:LR,select:IR,list:RR,autocomplete:PR,star:OR,progress:DR,tickCross:zR};class tg extends qi{constructor(e){super(e),this.currentCell=!1,this.mouseClick=!1,this.recursionBlock=!1,this.invalidEdit=!1,this.editedCells=[],this.editors=tg.editors,this.registerColumnOption("editable"),this.registerColumnOption("editor"),this.registerColumnOption("editorParams"),this.registerColumnOption("cellEditing"),this.registerColumnOption("cellEdited"),this.registerColumnOption("cellEditCancelled"),this.registerTableOption("editTriggerEvent","focus"),this.registerTableFunction("getEditedCells",this.getEditedCells.bind(this)),this.registerTableFunction("clearCellEdited",this.clearCellEdited.bind(this)),this.registerTableFunction("navigatePrev",this.navigatePrev.bind(this)),this.registerTableFunction("navigateNext",this.navigateNext.bind(this)),this.registerTableFunction("navigateLeft",this.navigateLeft.bind(this)),this.registerTableFunction("navigateRight",this.navigateRight.bind(this)),this.registerTableFunction("navigateUp",this.navigateUp.bind(this)),this.registerTableFunction("navigateDown",this.navigateDown.bind(this)),this.registerComponentFunction("cell","isEdited",this.cellIsEdited.bind(this)),this.registerComponentFunction("cell","clearEdited",this.clearEdited.bind(this)),this.registerComponentFunction("cell","edit",this.editCell.bind(this)),this.registerComponentFunction("cell","cancelEdit",this.cellCancelEdit.bind(this)),this.registerComponentFunction("cell","navigatePrev",this.navigatePrev.bind(this)),this.registerComponentFunction("cell","navigateNext",this.navigateNext.bind(this)),this.registerComponentFunction("cell","navigateLeft",this.navigateLeft.bind(this)),this.registerComponentFunction("cell","navigateRight",this.navigateRight.bind(this)),this.registerComponentFunction("cell","navigateUp",this.navigateUp.bind(this)),this.registerComponentFunction("cell","navigateDown",this.navigateDown.bind(this))}initialize(){this.subscribe("cell-init",this.bindEditor.bind(this)),this.subscribe("cell-delete",this.clearEdited.bind(this)),this.subscribe("cell-value-changed",this.updateCellClass.bind(this)),this.subscribe("column-layout",this.initializeColumnCheck.bind(this)),this.subscribe("column-delete",this.columnDeleteCheck.bind(this)),this.subscribe("row-deleting",this.rowDeleteCheck.bind(this)),this.subscribe("row-layout",this.rowEditableCheck.bind(this)),this.subscribe("data-refreshing",this.cancelEdit.bind(this)),this.subscribe("clipboard-paste",this.pasteBlocker.bind(this)),this.subscribe("keybinding-nav-prev",this.navigatePrev.bind(this,void 0)),this.subscribe("keybinding-nav-next",this.keybindingNavigateNext.bind(this)),this.subscribe("keybinding-nav-up",this.navigateUp.bind(this,void 0)),this.subscribe("keybinding-nav-down",this.navigateDown.bind(this,void 0))}pasteBlocker(e){if(this.currentCell)return!0}keybindingNavigateNext(e){var r=this.currentCell,C=this.options("tabEndNewRow");r&&(this.navigateNext(r,e)||C&&(r.getElement().firstChild.blur(),this.invalidEdit||(C===!0?C=this.table.addRow({}):typeof C=="function"?C=this.table.addRow(C(r.row.getComponent())):C=this.table.addRow(Object.assign({},C)),C.then(()=>{setTimeout(()=>{r.getComponent().navigateNext()})}))))}cellIsEdited(e){return!!e.modules.edit&&e.modules.edit.edited}cellCancelEdit(e){e===this.currentCell?this.table.modules.edit.cancelEdit():console.warn("Cancel Editor Error - This cell is not currently being edited ")}updateCellClass(e){this.allowEdit(e)?e.getElement().classList.add("tabulator-editable"):e.getElement().classList.remove("tabulator-editable")}clearCellEdited(e){e||(e=this.table.modules.edit.getEditedCells()),Array.isArray(e)||(e=[e]),e.forEach(r=>{this.table.modules.edit.clearEdited(r._getSelf())})}navigatePrev(e=this.currentCell,r){var C,D;if(e){if(r&&r.preventDefault(),C=this.navigateLeft(),C)return!0;if(D=this.table.rowManager.prevDisplayRow(e.row,!0),D&&(C=this.findPrevEditableCell(D,D.cells.length),C))return C.getComponent().edit(),!0}return!1}navigateNext(e=this.currentCell,r){var C,D;if(e){if(r&&r.preventDefault(),C=this.navigateRight(),C)return!0;if(D=this.table.rowManager.nextDisplayRow(e.row,!0),D&&(C=this.findNextEditableCell(D,-1),C))return C.getComponent().edit(),!0}return!1}navigateLeft(e=this.currentCell,r){var C,D;return e&&(r&&r.preventDefault(),C=e.getIndex(),D=this.findPrevEditableCell(e.row,C),D)?(D.getComponent().edit(),!0):!1}navigateRight(e=this.currentCell,r){var C,D;return e&&(r&&r.preventDefault(),C=e.getIndex(),D=this.findNextEditableCell(e.row,C),D)?(D.getComponent().edit(),!0):!1}navigateUp(e=this.currentCell,r){var C,D;return e&&(r&&r.preventDefault(),C=e.getIndex(),D=this.table.rowManager.prevDisplayRow(e.row,!0),D)?(D.cells[C].getComponent().edit(),!0):!1}navigateDown(e=this.currentCell,r){var C,D;return e&&(r&&r.preventDefault(),C=e.getIndex(),D=this.table.rowManager.nextDisplayRow(e.row,!0),D)?(D.cells[C].getComponent().edit(),!0):!1}findNextEditableCell(e,r){var C=!1;if(r0)for(var D=r-1;D>=0;D--){let k=e.cells[D];if(k.column.modules.edit&&oo.elVisible(k.getElement())&&this.allowEdit(k)){C=k;break}}return C}initializeColumnCheck(e){typeof e.definition.editor<"u"&&this.initializeColumn(e)}columnDeleteCheck(e){this.currentCell&&this.currentCell.column===e&&this.cancelEdit()}rowDeleteCheck(e){this.currentCell&&this.currentCell.row===e&&this.cancelEdit()}rowEditableCheck(e){e.getCells().forEach(r=>{r.column.modules.edit&&typeof r.column.modules.edit.check=="function"&&this.updateCellClass(r)})}initializeColumn(e){var r={editor:!1,blocked:!1,check:e.definition.editable,params:e.definition.editorParams||{}};switch(typeof e.definition.editor){case"string":this.editors[e.definition.editor]?r.editor=this.editors[e.definition.editor]:console.warn("Editor Error - No such editor found: ",e.definition.editor);break;case"function":r.editor=e.definition.editor;break;case"boolean":e.definition.editor===!0&&(typeof e.definition.formatter!="function"?this.editors[e.definition.formatter]?r.editor=this.editors[e.definition.formatter]:r.editor=this.editors.input:console.warn("Editor Error - Cannot auto lookup editor for a custom formatter: ",e.definition.formatter));break}r.editor&&(e.modules.edit=r)}getCurrentCell(){return this.currentCell?this.currentCell.getComponent():!1}clearEditor(e){var r=this.currentCell,C;if(this.invalidEdit=!1,r){for(this.currentCell=!1,C=r.getElement(),this.dispatch("edit-editor-clear",r,e),C.classList.remove("tabulator-editing");C.firstChild;)C.removeChild(C.firstChild);r.row.getElement().classList.remove("tabulator-editing"),r.table.element.classList.remove("tabulator-editing")}}cancelEdit(){if(this.currentCell){var e=this.currentCell,r=this.currentCell.getComponent();this.clearEditor(!0),e.setValueActual(e.getValue()),e.cellRendered(),(e.column.definition.editor=="textarea"||e.column.definition.variableHeight)&&e.row.normalizeHeight(!0),e.column.definition.cellEditCancelled&&e.column.definition.cellEditCancelled.call(this.table,r),this.dispatch("edit-cancelled",e),this.dispatchExternal("cellEditCancelled",r)}}bindEditor(e){if(e.column.modules.edit){var r=this,C=e.getElement(!0);this.updateCellClass(e),C.setAttribute("tabindex",0),C.addEventListener("mousedown",function(D){D.button===2?D.preventDefault():r.mouseClick=!0}),this.options("editTriggerEvent")==="dblclick"&&C.addEventListener("dblclick",function(D){C.classList.contains("tabulator-editing")||(C.focus({preventScroll:!0}),r.edit(e,D,!1))}),(this.options("editTriggerEvent")==="focus"||this.options("editTriggerEvent")==="click")&&C.addEventListener("click",function(D){C.classList.contains("tabulator-editing")||(C.focus({preventScroll:!0}),r.edit(e,D,!1))}),this.options("editTriggerEvent")==="focus"&&C.addEventListener("focus",function(D){r.recursionBlock||r.edit(e,D,!1)})}}focusCellNoEvent(e,r){this.recursionBlock=!0,r&&this.table.browser==="ie"||e.getElement().focus({preventScroll:!0}),this.recursionBlock=!1}editCell(e,r){this.focusCellNoEvent(e),this.edit(e,!1,r)}focusScrollAdjust(e){if(this.table.rowManager.getRenderMode()=="virtual"){var r=this.table.rowManager.element.scrollTop,C=this.table.rowManager.element.clientHeight+this.table.rowManager.element.scrollTop,D=e.row.getElement();D.offsetTopC&&(this.table.rowManager.element.scrollTop+=D.offsetTop+D.offsetHeight-C);var k=this.table.rowManager.element.scrollLeft,m=this.table.rowManager.element.clientWidth+this.table.rowManager.element.scrollLeft,t=e.getElement();this.table.modExists("frozenColumns")&&(k+=parseInt(this.table.modules.frozenColumns.leftMargin||0),m-=parseInt(this.table.modules.frozenColumns.rightMargin||0)),this.table.options.renderHorizontal==="virtual"&&(k-=parseInt(this.table.columnManager.renderer.vDomPadLeft),m-=parseInt(this.table.columnManager.renderer.vDomPadLeft)),t.offsetLeftm&&(this.table.rowManager.element.scrollLeft+=t.offsetLeft+t.offsetWidth-m)}}allowEdit(e){var r=!!e.column.modules.edit;if(e.column.modules.edit)switch(typeof e.column.modules.edit.check){case"function":e.row.initialized&&(r=e.column.modules.edit.check(e.getComponent()));break;case"string":r=!!e.row.data[e.column.modules.edit.check];break;case"boolean":r=e.column.modules.edit.check;break}return r}edit(e,r,C){var D=this,k=!0,m=function(){},t=e.getElement(),d=!1,y,i,M;if(this.currentCell){!this.invalidEdit&&this.currentCell!==e&&this.cancelEdit();return}function v(s){if(D.currentCell===e&&!d){var o=D.chain("edit-success",[e,s],!0,!0);return o===!0||D.table.options.validationMode==="highlight"?(d=!0,D.clearEditor(),e.modules.edit||(e.modules.edit={}),e.modules.edit.edited=!0,D.editedCells.indexOf(e)==-1&&D.editedCells.push(e),e.setValue(s,!0),o===!0):(d=!0,D.invalidEdit=!0,D.focusCellNoEvent(e,!0),m(),setTimeout(()=>{d=!1},10),!1)}}function h(){D.currentCell===e&&!d&&D.cancelEdit()}function l(s){m=s}if(e.column.modules.edit.blocked)return this.mouseClick=!1,this.blur(t),!1;if(r&&r.stopPropagation(),k=this.allowEdit(e),k||C){if(D.cancelEdit(),D.currentCell=e,this.focusScrollAdjust(e),i=e.getComponent(),this.mouseClick&&(this.mouseClick=!1,e.column.definition.cellClick&&e.column.definition.cellClick.call(this.table,r,i)),e.column.definition.cellEditing&&e.column.definition.cellEditing.call(this.table,i),this.dispatch("cell-editing",e),this.dispatchExternal("cellEditing",i),M=typeof e.column.modules.edit.params=="function"?e.column.modules.edit.params(i):e.column.modules.edit.params,y=e.column.modules.edit.editor.call(D,i,l,v,h,M),this.currentCell&&y!==!1)if(y instanceof Node){for(t.classList.add("tabulator-editing"),e.row.getElement().classList.add("tabulator-editing"),e.table.element.classList.add("tabulator-editing");t.firstChild;)t.removeChild(t.firstChild);t.appendChild(y),m();for(var a=t.children,u=0;u{e.push(r.getComponent())}),e}clearEdited(e){var r;e.modules.edit&&e.modules.edit.edited&&(e.modules.edit.edited=!1,this.dispatch("edit-edited-clear",e)),r=this.editedCells.indexOf(e),r>-1&&this.editedCells.splice(r,1)}}tg.moduleName="edit";tg.editors=FR;class g5{constructor(e,r,C,D){this.type=e,this.columns=r,this.component=C||!1,this.indent=D||0}}class mb{constructor(e,r,C,D,k){this.value=e,this.component=r||!1,this.width=C,this.height=D,this.depth=k}}class OM extends qi{constructor(e){super(e),this.config={},this.cloneTableStyle=!0,this.colVisProp="",this.registerTableOption("htmlOutputConfig",!1),this.registerColumnOption("htmlOutput"),this.registerColumnOption("titleHtmlOutput")}initialize(){this.registerTableFunction("getHtml",this.getHtml.bind(this))}generateExportList(e,r,C,D){this.cloneTableStyle=r,this.config=e||{},this.colVisProp=D;var k,m;if(C==="range"){var t=this.table.modules.selectRange.selectedColumns();k=this.config.columnHeaders!==!1?this.headersToExportRows(this.generateColumnGroupHeaders(t)):[],m=this.bodyToExportRows(this.rowLookup(C),this.table.modules.selectRange.selectedColumns(!0))}else k=this.config.columnHeaders!==!1?this.headersToExportRows(this.generateColumnGroupHeaders()):[],m=this.bodyToExportRows(this.rowLookup(C));return k.concat(m)}generateTable(e,r,C,D){var k=this.generateExportList(e,r,C,D);return this.generateTableElement(k)}rowLookup(e){var r=[];if(typeof e=="function")e.call(this.table).forEach(C=>{C=this.table.rowManager.findRow(C),C&&r.push(C)});else switch(e){case!0:case"visible":r=this.table.rowManager.getVisibleRows(!1,!0);break;case"all":r=this.table.rowManager.rows;break;case"selected":r=this.table.modules.selectRow.selectedRows;break;case"range":r=this.table.modules.selectRange.selectedRows();break;case"active":default:this.table.options.pagination?r=this.table.rowManager.getDisplayRows(this.table.rowManager.displayRows.length-2):r=this.table.rowManager.getDisplayRows()}return Object.assign([],r)}generateColumnGroupHeaders(e){var r=[];return e||(e=this.config.columnGroups!==!1?this.table.columnManager.columns:this.table.columnManager.columnsByIndex),e.forEach(C=>{var D=this.processColumnGroup(C);D&&r.push(D)}),r}processColumnGroup(e){var r=e.columns,C=0,D=e.definition["title"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))]||e.definition.title,k={title:D,column:e,depth:1};if(r.length){if(k.subGroups=[],k.width=0,r.forEach(m=>{var t=this.processColumnGroup(m);t&&(k.width+=t.width,k.subGroups.push(t),t.depth>C&&(C=t.depth))}),k.depth+=C,!k.width)return!1}else if(this.columnVisCheck(e))k.width=1;else return!1;return k}columnVisCheck(e){var r=e.definition[this.colVisProp];return typeof r=="function"&&(r=r.call(this.table,e.getComponent())),r!==!1&&(e.visible||!e.visible&&r)}headersToExportRows(e){var r=[],C=0,D=[];function k(m,t){var d=C-t;if(typeof r[t]>"u"&&(r[t]=[]),m.height=m.subGroups?1:d-m.depth+1,r[t].push(m),m.height>1)for(let y=1;y"u"&&(r[t+y]=[]),r[t+y].push(!1);if(m.width>1)for(let y=1;yC&&(C=m.depth)}),e.forEach(function(m){k(m,0)}),r.forEach(m=>{var t=[];m.forEach(d=>{if(d){let y=typeof d.title>"u"?"":d.title;t.push(new mb(y,d.column.getComponent(),d.width,d.height,d.depth))}else t.push(null)}),D.push(new g5("header",t))}),D}bodyToExportRows(e,r=[]){var C=[];return r.length===0&&this.table.columnManager.columnsByIndex.forEach(D=>{this.columnVisCheck(D)&&r.push(D.getComponent())}),this.config.columnCalcs!==!1&&this.table.modExists("columnCalcs")&&(this.table.modules.columnCalcs.topInitialized&&e.unshift(this.table.modules.columnCalcs.topRow),this.table.modules.columnCalcs.botInitialized&&e.push(this.table.modules.columnCalcs.botRow)),e=e.filter(D=>{switch(D.type){case"group":return this.config.rowGroups!==!1;case"calc":return this.config.columnCalcs!==!1;case"row":return!(this.table.options.dataTree&&this.config.dataTree===!1&&D.modules.dataTree.parent)}return!0}),e.forEach((D,k)=>{var m=D.getData(this.colVisProp),t=[],d=0;switch(D.type){case"group":d=D.level,t.push(new mb(D.key,D.getComponent(),r.length,1));break;case"calc":case"row":r.forEach(y=>{t.push(new mb(y._column.getFieldValue(m),y,1,1))}),this.table.options.dataTree&&this.config.dataTree!==!1&&(d=D.modules.dataTree.index);break}C.push(new g5(D.type,t,D.getComponent(),d))}),C}generateTableElement(e){var r=document.createElement("table"),C=document.createElement("thead"),D=document.createElement("tbody"),k=this.lookupTableStyles(),m=this.table.options["rowFormatter"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))],t={};return t.rowFormatter=m!==null?m:this.table.options.rowFormatter,this.table.options.dataTree&&this.config.dataTree!==!1&&this.table.modExists("columnCalcs")&&(t.treeElementField=this.table.modules.dataTree.elementField),t.groupHeader=this.table.options["groupHeader"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))],t.groupHeader&&!Array.isArray(t.groupHeader)&&(t.groupHeader=[t.groupHeader]),r.classList.add("tabulator-print-table"),this.mapElementStyles(this.table.columnManager.getHeadersElement(),C,["border-top","border-left","border-right","border-bottom","background-color","color","font-weight","font-family","font-size"]),e.length>1e3&&console.warn("It may take a long time to render an HTML table with more than 1000 rows"),e.forEach((d,y)=>{let i;switch(d.type){case"header":C.appendChild(this.generateHeaderElement(d,t,k));break;case"group":D.appendChild(this.generateGroupElement(d,t,k));break;case"calc":D.appendChild(this.generateCalcElement(d,t,k));break;case"row":i=this.generateRowElement(d,t,k),this.mapElementStyles(y%2&&k.evenRow?k.evenRow:k.oddRow,i,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),D.appendChild(i);break}}),C.innerHTML&&r.appendChild(C),r.appendChild(D),this.mapElementStyles(this.table.element,r,["border-top","border-left","border-right","border-bottom"]),r}lookupTableStyles(){var e={};return this.cloneTableStyle&&window.getComputedStyle&&(e.oddRow=this.table.element.querySelector(".tabulator-row-odd:not(.tabulator-group):not(.tabulator-calcs)"),e.evenRow=this.table.element.querySelector(".tabulator-row-even:not(.tabulator-group):not(.tabulator-calcs)"),e.calcRow=this.table.element.querySelector(".tabulator-row.tabulator-calcs"),e.firstRow=this.table.element.querySelector(".tabulator-row:not(.tabulator-group):not(.tabulator-calcs)"),e.firstGroup=this.table.element.getElementsByClassName("tabulator-group")[0],e.firstRow&&(e.styleCells=e.firstRow.getElementsByClassName("tabulator-cell"),e.firstCell=e.styleCells[0],e.lastCell=e.styleCells[e.styleCells.length-1])),e}generateHeaderElement(e,r,C){var D=document.createElement("tr");return e.columns.forEach(k=>{if(k){var m=document.createElement("th"),t=k.component._column.definition.cssClass?k.component._column.definition.cssClass.split(" "):[];m.colSpan=k.width,m.rowSpan=k.height,m.innerHTML=k.value,this.cloneTableStyle&&(m.style.boxSizing="border-box"),t.forEach(function(d){m.classList.add(d)}),this.mapElementStyles(k.component.getElement(),m,["text-align","border-top","border-left","border-right","border-bottom","background-color","color","font-weight","font-family","font-size"]),this.mapElementStyles(k.component._column.contentElement,m,["padding-top","padding-left","padding-right","padding-bottom"]),k.component._column.visible?this.mapElementStyles(k.component.getElement(),m,["width"]):k.component._column.definition.width&&(m.style.width=k.component._column.definition.width+"px"),k.component._column.parent&&this.mapElementStyles(k.component._column.parent.groupElement,m,["border-top"]),D.appendChild(m)}}),D}generateGroupElement(e,r,C){var D=document.createElement("tr"),k=document.createElement("td"),m=e.columns[0];return D.classList.add("tabulator-print-table-row"),r.groupHeader&&r.groupHeader[e.indent]?m.value=r.groupHeader[e.indent](m.value,e.component._group.getRowCount(),e.component._group.getData(),e.component):r.groupHeader!==!1&&(m.value=e.component._group.generator(m.value,e.component._group.getRowCount(),e.component._group.getData(),e.component)),k.colSpan=m.width,k.innerHTML=m.value,D.classList.add("tabulator-print-table-group"),D.classList.add("tabulator-group-level-"+e.indent),m.component.isVisible()&&D.classList.add("tabulator-group-visible"),this.mapElementStyles(C.firstGroup,D,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),this.mapElementStyles(C.firstGroup,k,["padding-top","padding-left","padding-right","padding-bottom"]),D.appendChild(k),D}generateCalcElement(e,r,C){var D=this.generateRowElement(e,r,C);return D.classList.add("tabulator-print-table-calcs"),this.mapElementStyles(C.calcRow,D,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),D}generateRowElement(e,r,C){var D=document.createElement("tr");if(D.classList.add("tabulator-print-table-row"),e.columns.forEach((k,m)=>{if(k){var t=document.createElement("td"),d=k.component._column,y=this.table,i=y.columnManager.findColumnIndex(d),M=k.value,v,h={modules:{},getValue:function(){return M},getField:function(){return d.definition.field},getElement:function(){return t},getType:function(){return"cell"},getColumn:function(){return d.getComponent()},getData:function(){return e.component.getData()},getRow:function(){return e.component},getTable:function(){return y},getComponent:function(){return h},column:d},l=d.definition.cssClass?d.definition.cssClass.split(" "):[];if(l.forEach(function(a){t.classList.add(a)}),this.table.modExists("format")&&this.config.formatCells!==!1)M=this.table.modules.format.formatExportValue(h,this.colVisProp);else switch(typeof M){case"object":M=M!==null?JSON.stringify(M):"";break;case"undefined":M="";break}M instanceof Node?t.appendChild(M):t.innerHTML=M,v=C.styleCells&&C.styleCells[i]?C.styleCells[i]:C.firstCell,v&&(this.mapElementStyles(v,t,["padding-top","padding-left","padding-right","padding-bottom","border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","text-align"]),d.definition.align&&(t.style.textAlign=d.definition.align)),this.table.options.dataTree&&this.config.dataTree!==!1&&(r.treeElementField&&r.treeElementField==d.field||!r.treeElementField&&m==0)&&(e.component._row.modules.dataTree.controlEl&&t.insertBefore(e.component._row.modules.dataTree.controlEl.cloneNode(!0),t.firstChild),e.component._row.modules.dataTree.branchEl&&t.insertBefore(e.component._row.modules.dataTree.branchEl.cloneNode(!0),t.firstChild)),D.appendChild(t),h.modules.format&&h.modules.format.renderedCallback&&h.modules.format.renderedCallback()}}),r.rowFormatter&&e.type==="row"&&this.config.formatCells!==!1){let k=Object.assign(e.component);k.getElement=function(){return D},r.rowFormatter(e.component)}return D}generateHTMLTable(e){var r=document.createElement("div");return r.appendChild(this.generateTableElement(e)),r.innerHTML}getHtml(e,r,C,D){var k=this.generateExportList(C||this.table.options.htmlOutputConfig,r,e,D||"htmlOutput");return this.generateHTMLTable(k)}mapElementStyles(e,r,C){if(this.cloneTableStyle&&e&&r){var D={"background-color":"backgroundColor",color:"fontColor",width:"width","font-weight":"fontWeight","font-family":"fontFamily","font-size":"fontSize","text-align":"textAlign","border-top":"borderTop","border-left":"borderLeft","border-right":"borderRight","border-bottom":"borderBottom","padding-top":"paddingTop","padding-left":"paddingLeft","padding-right":"paddingRight","padding-bottom":"paddingBottom"};if(window.getComputedStyle){var k=window.getComputedStyle(e);C.forEach(function(m){r.style[D[m]]||(r.style[D[m]]=k.getPropertyValue(m))})}}}}OM.moduleName="export";var BR={"=":function(n,e,r,C){return e==n},"<":function(n,e,r,C){return e":function(n,e,r,C){return e>n},">=":function(n,e,r,C){return e>=n},"!=":function(n,e,r,C){return e!=n},regex:function(n,e,r,C){return typeof n=="string"&&(n=new RegExp(n)),n.test(e)},like:function(n,e,r,C){return n===null||typeof n>"u"?e===n:typeof e<"u"&&e!==null?String(e).toLowerCase().indexOf(n.toLowerCase())>-1:!1},keywords:function(n,e,r,C){var D=n.toLowerCase().split(typeof C.separator>"u"?" ":C.separator),k=String(e===null||typeof e>"u"?"":e).toLowerCase(),m=[];return D.forEach(t=>{k.includes(t)&&m.push(!0)}),C.matchAll?m.length===D.length:!!m.length},starts:function(n,e,r,C){return n===null||typeof n>"u"?e===n:typeof e<"u"&&e!==null?String(e).toLowerCase().startsWith(n.toLowerCase()):!1},ends:function(n,e,r,C){return n===null||typeof n>"u"?e===n:typeof e<"u"&&e!==null?String(e).toLowerCase().endsWith(n.toLowerCase()):!1},in:function(n,e,r,C){return Array.isArray(n)?n.length?n.indexOf(e)>-1:!0:(console.warn("Filter Error - filter value is not an array:",n),!1)}};class Kf extends qi{constructor(e){super(e),this.filterList=[],this.headerFilters={},this.headerFilterColumns=[],this.prevHeaderFilterChangeCheck="",this.prevHeaderFilterChangeCheck="{}",this.changed=!1,this.tableInitialized=!1,this.registerTableOption("filterMode","local"),this.registerTableOption("initialFilter",!1),this.registerTableOption("initialHeaderFilter",!1),this.registerTableOption("headerFilterLiveFilterDelay",300),this.registerTableOption("placeholderHeaderFilter",!1),this.registerColumnOption("headerFilter"),this.registerColumnOption("headerFilterPlaceholder"),this.registerColumnOption("headerFilterParams"),this.registerColumnOption("headerFilterEmptyCheck"),this.registerColumnOption("headerFilterFunc"),this.registerColumnOption("headerFilterFuncParams"),this.registerColumnOption("headerFilterLiveFilter"),this.registerTableFunction("searchRows",this.searchRows.bind(this)),this.registerTableFunction("searchData",this.searchData.bind(this)),this.registerTableFunction("setFilter",this.userSetFilter.bind(this)),this.registerTableFunction("refreshFilter",this.userRefreshFilter.bind(this)),this.registerTableFunction("addFilter",this.userAddFilter.bind(this)),this.registerTableFunction("getFilters",this.getFilters.bind(this)),this.registerTableFunction("setHeaderFilterFocus",this.userSetHeaderFilterFocus.bind(this)),this.registerTableFunction("getHeaderFilterValue",this.userGetHeaderFilterValue.bind(this)),this.registerTableFunction("setHeaderFilterValue",this.userSetHeaderFilterValue.bind(this)),this.registerTableFunction("getHeaderFilters",this.getHeaderFilters.bind(this)),this.registerTableFunction("removeFilter",this.userRemoveFilter.bind(this)),this.registerTableFunction("clearFilter",this.userClearFilter.bind(this)),this.registerTableFunction("clearHeaderFilter",this.userClearHeaderFilter.bind(this)),this.registerComponentFunction("column","headerFilterFocus",this.setHeaderFilterFocus.bind(this)),this.registerComponentFunction("column","reloadHeaderFilter",this.reloadHeaderFilter.bind(this)),this.registerComponentFunction("column","getHeaderFilterValue",this.getHeaderFilterValue.bind(this)),this.registerComponentFunction("column","setHeaderFilterValue",this.setHeaderFilterValue.bind(this))}initialize(){this.subscribe("column-init",this.initializeColumnHeaderFilter.bind(this)),this.subscribe("column-width-fit-before",this.hideHeaderFilterElements.bind(this)),this.subscribe("column-width-fit-after",this.showHeaderFilterElements.bind(this)),this.subscribe("table-built",this.tableBuilt.bind(this)),this.subscribe("placeholder",this.generatePlaceholder.bind(this)),this.table.options.filterMode==="remote"&&this.subscribe("data-params",this.remoteFilterParams.bind(this)),this.registerDataHandler(this.filter.bind(this),10)}tableBuilt(){this.table.options.initialFilter&&this.setFilter(this.table.options.initialFilter),this.table.options.initialHeaderFilter&&this.table.options.initialHeaderFilter.forEach(e=>{var r=this.table.columnManager.findColumn(e.field);if(r)this.setHeaderFilterValue(r,e.value);else return console.warn("Column Filter Error - No matching column found:",e.field),!1}),this.tableInitialized=!0}remoteFilterParams(e,r,C,D){return D.filter=this.getFilters(!0,!0),D}generatePlaceholder(e){if(this.table.options.placeholderHeaderFilter&&Object.keys(this.headerFilters).length)return this.table.options.placeholderHeaderFilter}userSetFilter(e,r,C,D){this.setFilter(e,r,C,D),this.refreshFilter()}userRefreshFilter(){this.refreshFilter()}userAddFilter(e,r,C,D){this.addFilter(e,r,C,D),this.refreshFilter()}userSetHeaderFilterFocus(e){var r=this.table.columnManager.findColumn(e);if(r)this.setHeaderFilterFocus(r);else return console.warn("Column Filter Focus Error - No matching column found:",e),!1}userGetHeaderFilterValue(e){var r=this.table.columnManager.findColumn(e);if(r)return this.getHeaderFilterValue(r);console.warn("Column Filter Error - No matching column found:",e)}userSetHeaderFilterValue(e,r){var C=this.table.columnManager.findColumn(e);if(C)this.setHeaderFilterValue(C,r);else return console.warn("Column Filter Error - No matching column found:",e),!1}userRemoveFilter(e,r,C){this.removeFilter(e,r,C),this.refreshFilter()}userClearFilter(e){this.clearFilter(e),this.refreshFilter()}userClearHeaderFilter(){this.clearHeaderFilter(),this.refreshFilter()}searchRows(e,r,C){return this.search("rows",e,r,C)}searchData(e,r,C){return this.search("data",e,r,C)}initializeColumnHeaderFilter(e){var r=e.definition;r.headerFilter&&this.initializeColumn(e)}initializeColumn(e,r){var C=this,D=e.getField();function k(m){var t=e.modules.filter.tagType=="input"&&e.modules.filter.attrType=="text"||e.modules.filter.tagType=="textarea"?"partial":"match",d="",y="",i;if(typeof e.modules.filter.prevSuccess>"u"||e.modules.filter.prevSuccess!==m){if(e.modules.filter.prevSuccess=m,e.modules.filter.emptyFunc(m))delete C.headerFilters[D];else{switch(e.modules.filter.value=m,typeof e.definition.headerFilterFunc){case"string":Kf.filters[e.definition.headerFilterFunc]?(d=e.definition.headerFilterFunc,i=function(M){var v=e.definition.headerFilterFuncParams||{},h=e.getFieldValue(M);return v=typeof v=="function"?v(m,h,M):v,Kf.filters[e.definition.headerFilterFunc](m,h,M,v)}):console.warn("Header Filter Error - Matching filter function not found: ",e.definition.headerFilterFunc);break;case"function":i=function(M){var v=e.definition.headerFilterFuncParams||{},h=e.getFieldValue(M);return v=typeof v=="function"?v(m,h,M):v,e.definition.headerFilterFunc(m,h,M,v)},d=i;break}if(!i)switch(t){case"partial":i=function(M){var v=e.getFieldValue(M);return typeof v<"u"&&v!==null?String(v).toLowerCase().indexOf(String(m).toLowerCase())>-1:!1},d="like";break;default:i=function(M){return e.getFieldValue(M)==m},d="="}C.headerFilters[D]={value:m,func:i,type:d}}e.modules.filter.value=m,y=JSON.stringify(C.headerFilters),C.prevHeaderFilterChangeCheck!==y&&(C.prevHeaderFilterChangeCheck=y,C.trackChanges(),C.refreshFilter())}return!0}e.modules.filter={success:k,attrType:!1,tagType:!1,emptyFunc:!1},this.generateHeaderFilterElement(e)}generateHeaderFilterElement(e,r,C){var D=this,k=e.modules.filter.success,m=e.getField(),t,d,y,i,M,v,h,l;e.modules.filter.value=r;function a(){}function u(s){l=s}if(e.modules.filter.headerElement&&e.modules.filter.headerElement.parentNode&&e.contentElement.removeChild(e.modules.filter.headerElement.parentNode),m){switch(e.modules.filter.emptyFunc=e.definition.headerFilterEmptyCheck||function(s){return!s&&s!==0},t=document.createElement("div"),t.classList.add("tabulator-header-filter"),typeof e.definition.headerFilter){case"string":D.table.modules.edit.editors[e.definition.headerFilter]?(d=D.table.modules.edit.editors[e.definition.headerFilter],(e.definition.headerFilter==="tick"||e.definition.headerFilter==="tickCross")&&!e.definition.headerFilterEmptyCheck&&(e.modules.filter.emptyFunc=function(s){return s!==!0&&s!==!1})):console.warn("Filter Error - Cannot build header filter, No such editor found: ",e.definition.editor);break;case"function":d=e.definition.headerFilter;break;case"boolean":e.modules.edit&&e.modules.edit.editor?d=e.modules.edit.editor:e.definition.formatter&&D.table.modules.edit.editors[e.definition.formatter]?(d=D.table.modules.edit.editors[e.definition.formatter],(e.definition.formatter==="tick"||e.definition.formatter==="tickCross")&&!e.definition.headerFilterEmptyCheck&&(e.modules.filter.emptyFunc=function(s){return s!==!0&&s!==!1})):d=D.table.modules.edit.editors.input;break}if(d){if(i={getValue:function(){return typeof r<"u"?r:""},getField:function(){return e.definition.field},getElement:function(){return t},getColumn:function(){return e.getComponent()},getTable:()=>this.table,getType:()=>"header",getRow:function(){return{normalizeHeight:function(){}}}},h=e.definition.headerFilterParams||{},h=typeof h=="function"?h.call(D.table,i):h,y=d.call(this.table.modules.edit,i,u,k,a,h),!y){console.warn("Filter Error - Cannot add filter to "+m+" column, editor returned a value of false");return}if(!(y instanceof Node)){console.warn("Filter Error - Cannot add filter to "+m+" column, editor should return an instance of Node, the editor returned:",y);return}D.langBind("headerFilters|columns|"+e.definition.field,function(s){y.setAttribute("placeholder",typeof s<"u"&&s?s:e.definition.headerFilterPlaceholder||D.langText("headerFilters|default"))}),y.addEventListener("click",function(s){s.stopPropagation(),y.focus()}),y.addEventListener("focus",s=>{var o=this.table.columnManager.contentsElement.scrollLeft,c=this.table.rowManager.element.scrollLeft;o!==c&&(this.table.rowManager.scrollHorizontal(o),this.table.columnManager.scrollHorizontal(o))}),M=!1,v=function(s){M&&clearTimeout(M),M=setTimeout(function(){k(y.value)},D.table.options.headerFilterLiveFilterDelay)},e.modules.filter.headerElement=y,e.modules.filter.attrType=y.hasAttribute("type")?y.getAttribute("type").toLowerCase():"",e.modules.filter.tagType=y.tagName.toLowerCase(),e.definition.headerFilterLiveFilter!==!1&&(e.definition.headerFilter==="autocomplete"||e.definition.headerFilter==="tickCross"||(e.definition.editor==="autocomplete"||e.definition.editor==="tickCross")&&e.definition.headerFilter===!0||(y.addEventListener("keyup",v),y.addEventListener("search",v),e.modules.filter.attrType=="number"&&y.addEventListener("change",function(s){k(y.value)}),e.modules.filter.attrType=="text"&&this.table.browser!=="ie"&&y.setAttribute("type","search")),(e.modules.filter.tagType=="input"||e.modules.filter.tagType=="select"||e.modules.filter.tagType=="textarea")&&y.addEventListener("mousedown",function(s){s.stopPropagation()})),t.appendChild(y),e.contentElement.appendChild(t),C||D.headerFilterColumns.push(e),l&&l()}}else console.warn("Filter Error - Cannot add header filter, column has no field set:",e.definition.title)}hideHeaderFilterElements(){this.headerFilterColumns.forEach(function(e){e.modules.filter&&e.modules.filter.headerElement&&(e.modules.filter.headerElement.style.display="none")})}showHeaderFilterElements(){this.headerFilterColumns.forEach(function(e){e.modules.filter&&e.modules.filter.headerElement&&(e.modules.filter.headerElement.style.display="")})}setHeaderFilterFocus(e){e.modules.filter&&e.modules.filter.headerElement?e.modules.filter.headerElement.focus():console.warn("Column Filter Focus Error - No header filter set on column:",e.getField())}getHeaderFilterValue(e){if(e.modules.filter&&e.modules.filter.headerElement)return e.modules.filter.value;console.warn("Column Filter Error - No header filter set on column:",e.getField())}setHeaderFilterValue(e,r){e&&(e.modules.filter&&e.modules.filter.headerElement?(this.generateHeaderFilterElement(e,r,!0),e.modules.filter.success(r)):console.warn("Column Filter Error - No header filter set on column:",e.getField()))}reloadHeaderFilter(e){e&&(e.modules.filter&&e.modules.filter.headerElement?this.generateHeaderFilterElement(e,e.modules.filter.value,!0):console.warn("Column Filter Error - No header filter set on column:",e.getField()))}refreshFilter(){this.tableInitialized&&(this.table.options.filterMode==="remote"?this.reloadData(null,!1,!1):this.refreshData(!0))}trackChanges(){this.changed=!0,this.dispatch("filter-changed")}hasChanged(){var e=this.changed;return this.changed=!1,e}setFilter(e,r,C,D){this.filterList=[],Array.isArray(e)||(e=[{field:e,type:r,value:C,params:D}]),this.addFilter(e)}addFilter(e,r,C,D){var k=!1;Array.isArray(e)||(e=[{field:e,type:r,value:C,params:D}]),e.forEach(m=>{m=this.findFilter(m),m&&(this.filterList.push(m),k=!0)}),k&&this.trackChanges()}findFilter(e){var r;if(Array.isArray(e))return this.findSubFilters(e);var C=!1;return typeof e.field=="function"?C=function(D){return e.field(D,e.type||{})}:Kf.filters[e.type]?(r=this.table.columnManager.getColumnByField(e.field),r?C=function(D){return Kf.filters[e.type](e.value,r.getFieldValue(D),D,e.params||{})}:C=function(D){return Kf.filters[e.type](e.value,D[e.field],D,e.params||{})}):console.warn("Filter Error - No such filter type found, ignoring: ",e.type),e.func=C,e.func?e:!1}findSubFilters(e){var r=[];return e.forEach(C=>{C=this.findFilter(C),C&&r.push(C)}),r.length?r:!1}getFilters(e,r){var C=[];return e&&(C=this.getHeaderFilters()),r&&C.forEach(function(D){typeof D.type=="function"&&(D.type="function")}),C=C.concat(this.filtersToArray(this.filterList,r)),C}filtersToArray(e,r){var C=[];return e.forEach(D=>{var k;Array.isArray(D)?C.push(this.filtersToArray(D,r)):(k={field:D.field,type:D.type,value:D.value},r&&typeof k.type=="function"&&(k.type="function"),C.push(k))}),C}getHeaderFilters(){var e=[];for(var r in this.headerFilters)e.push({field:r,type:this.headerFilters[r].type,value:this.headerFilters[r].value});return e}removeFilter(e,r,C){Array.isArray(e)||(e=[{field:e,type:r,value:C}]),e.forEach(D=>{var k=-1;typeof D.field=="object"?k=this.filterList.findIndex(m=>D===m):k=this.filterList.findIndex(m=>D.field===m.field&&D.type===m.type&&D.value===m.value),k>-1?this.filterList.splice(k,1):console.warn("Filter Error - No matching filter type found, ignoring: ",D.type)}),this.trackChanges()}clearFilter(e){this.filterList=[],e&&this.clearHeaderFilter(),this.trackChanges()}clearHeaderFilter(){this.headerFilters={},this.prevHeaderFilterChangeCheck="{}",this.headerFilterColumns.forEach(e=>{typeof e.modules.filter.value<"u"&&delete e.modules.filter.value,e.modules.filter.prevSuccess=void 0,this.reloadHeaderFilter(e)}),this.trackChanges()}search(e,r,C,D){var k=[],m=[];return Array.isArray(r)||(r=[{field:r,type:C,value:D}]),r.forEach(t=>{t=this.findFilter(t),t&&m.push(t)}),this.table.rowManager.rows.forEach(t=>{var d=!0;m.forEach(y=>{this.filterRecurse(y,t.getData())||(d=!1)}),d&&k.push(e==="data"?t.getData("data"):t.getComponent())}),k}filter(e,r){var C=[],D=[];return this.subscribedExternal("dataFiltering")&&this.dispatchExternal("dataFiltering",this.getFilters(!0)),this.table.options.filterMode!=="remote"&&(this.filterList.length||Object.keys(this.headerFilters).length)?e.forEach(k=>{this.filterRow(k)&&C.push(k)}):C=e.slice(0),this.subscribedExternal("dataFiltered")&&(C.forEach(k=>{D.push(k.getComponent())}),this.dispatchExternal("dataFiltered",this.getFilters(!0),D)),C}filterRow(e,r){var C=!0,D=e.getData();this.filterList.forEach(m=>{this.filterRecurse(m,D)||(C=!1)});for(var k in this.headerFilters)this.headerFilters[k].func(D)||(C=!1);return C}filterRecurse(e,r){var C=!1;return Array.isArray(e)?e.forEach(D=>{this.filterRecurse(D,r)&&(C=!0)}):C=e.func(r),C}}Kf.moduleName="filter";Kf.filters=BR;function NR(n,e,r){return this.emptyToSpace(this.sanitizeHTML(n.getValue()))}function VR(n,e,r){return n.getValue()}function jR(n,e,r){return n.getElement().style.whiteSpace="pre-wrap",this.emptyToSpace(this.sanitizeHTML(n.getValue()))}function UR(n,e,r){var C=parseFloat(n.getValue()),D="",k,m,t,d,y,i=e.decimal||".",M=e.thousand||",",v=e.negativeSign||"-",h=e.symbol||"",l=!!e.symbolAfter,a=typeof e.precision<"u"?e.precision:2;if(isNaN(C))return this.emptyToSpace(this.sanitizeHTML(n.getValue()));if(C<0&&(C=Math.abs(C),D=v),k=a!==!1?C.toFixed(a):C,k=String(k).split("."),m=k[0],t=k.length>1?i+k[1]:"",e.thousand!==!1)for(d=/(\d+)(\d{3})/;d.test(m);)m=m.replace(d,"$1"+M+"$2");return y=m+t,D===!0?(y="("+y+")",l?y+h:h+y):l?D+y+h:D+h+y}function HR(n,e,r){var C=n.getValue(),D=e.urlPrefix||"",k=e.download,m=C,t=document.createElement("a"),d;function y(i,M){var v=i.shift(),h=M[v];return i.length&&typeof h=="object"?y(i,h):h}if(e.labelField&&(d=n.getData(),m=y(e.labelField.split(this.table.options.nestedFieldSeparator),d)),e.label)switch(typeof e.label){case"string":m=e.label;break;case"function":m=e.label(n);break}if(m){if(e.urlField&&(d=n.getData(),C=oo.retrieveNestedData(this.table.options.nestedFieldSeparator,e.urlField,d)),e.url)switch(typeof e.url){case"string":C=e.url;break;case"function":C=e.url(n);break}return t.setAttribute("href",D+C),e.target&&t.setAttribute("target",e.target),e.download&&(typeof k=="function"?k=k(n):k=k===!0?"":k,t.setAttribute("download",k)),t.innerHTML=this.emptyToSpace(this.sanitizeHTML(m)),t}else return" "}function GR(n,e,r){var C=document.createElement("img"),D=n.getValue();switch(e.urlPrefix&&(D=e.urlPrefix+n.getValue()),e.urlSuffix&&(D=D+e.urlSuffix),C.setAttribute("src",D),typeof e.height){case"number":C.style.height=e.height+"px";break;case"string":C.style.height=e.height;break}switch(typeof e.width){case"number":C.style.width=e.width+"px";break;case"string":C.style.width=e.width;break}return C.addEventListener("load",function(){n.getRow().normalizeHeight()}),C}function qR(n,e,r){var C=n.getValue(),D=n.getElement(),k=e.allowEmpty,m=e.allowTruthy,t=Object.keys(e).includes("trueValue"),d=typeof e.tickElement<"u"?e.tickElement:'',y=typeof e.crossElement<"u"?e.crossElement:'';return t&&C===e.trueValue||!t&&(m&&C||C===!0||C==="true"||C==="True"||C===1||C==="1")?(D.setAttribute("aria-checked",!0),d||""):k&&(C==="null"||C===""||C===null||typeof C>"u")?(D.setAttribute("aria-checked","mixed"),""):(D.setAttribute("aria-checked",!1),y||"")}function WR(n,e,r){var C=window.DateTime||luxon.DateTime,D=e.inputFormat||"yyyy-MM-dd HH:mm:ss",k=e.outputFormat||"dd/MM/yyyy HH:mm:ss",m=typeof e.invalidPlaceholder<"u"?e.invalidPlaceholder:"",t=n.getValue();if(typeof C<"u"){var d;return C.isDateTime(t)?d=t:D==="iso"?d=C.fromISO(String(t)):d=C.fromFormat(String(t),D),d.isValid?(e.timezone&&(d=d.setZone(e.timezone)),d.toFormat(k)):m===!0||!t?t:typeof m=="function"?m(t):m}else console.error("Format Error - 'datetime' formatter is dependant on luxon.js")}function $R(n,e,r){var C=window.DateTime||luxon.DateTime,D=e.inputFormat||"yyyy-MM-dd HH:mm:ss",k=typeof e.invalidPlaceholder<"u"?e.invalidPlaceholder:"",m=typeof e.suffix<"u"?e.suffix:!1,t=typeof e.unit<"u"?e.unit:"days",d=typeof e.humanize<"u"?e.humanize:!1,y=typeof e.date<"u"?e.date:C.now(),i=n.getValue();if(typeof C<"u"){var M;return C.isDateTime(i)?M=i:D==="iso"?M=C.fromISO(String(i)):M=C.fromFormat(String(i),D),M.isValid?d?M.diff(y,t).toHuman()+(m?" "+m:""):parseInt(M.diff(y,t)[t])+(m?" "+m:""):k===!0?i:typeof k=="function"?k(i):k}else console.error("Format Error - 'datetimediff' formatter is dependant on luxon.js")}function YR(n,e,r){var C=n.getValue();return typeof e[C]>"u"?(console.warn("Missing display value for "+C),C):e[C]}function ZR(n,e,r){var C=n.getValue(),D=n.getElement(),k=e&&e.stars?e.stars:5,m=document.createElement("span"),t=document.createElementNS("http://www.w3.org/2000/svg","svg"),d='',y='';m.style.verticalAlign="middle",t.setAttribute("width","14"),t.setAttribute("height","14"),t.setAttribute("viewBox","0 0 512 512"),t.setAttribute("xml:space","preserve"),t.style.padding="0 1px",C=C&&!isNaN(C)?parseInt(C):0,C=Math.max(0,Math.min(C,k));for(var i=1;i<=k;i++){var M=t.cloneNode(!0);M.innerHTML=i<=C?d:y,m.appendChild(M)}return D.style.whiteSpace="nowrap",D.style.overflow="hidden",D.style.textOverflow="ellipsis",D.setAttribute("aria-label",C),m}function XR(n,e,r){var C=this.sanitizeHTML(n.getValue())||0,D=document.createElement("span"),k=e&&e.max?e.max:100,m=e&&e.min?e.min:0,t=e&&typeof e.color<"u"?e.color:["red","orange","green"],d="#666666",y,i;if(!(isNaN(C)||typeof n.getValue()>"u")){switch(D.classList.add("tabulator-traffic-light"),i=parseFloat(C)<=k?parseFloat(C):k,i=parseFloat(i)>=m?parseFloat(i):m,y=(k-m)/100,i=Math.round((i-m)/y),typeof t){case"string":d=t;break;case"function":d=t(C);break;case"object":if(Array.isArray(t)){var M=100/t.length,v=Math.floor(i/M);v=Math.min(v,t.length-1),v=Math.max(v,0),d=t[v];break}}return D.style.backgroundColor=d,D}}function KR(n,e={},r){var C=this.sanitizeHTML(n.getValue())||0,D=n.getElement(),k=e.max?e.max:100,m=e.min?e.min:0,t=e.legendAlign?e.legendAlign:"center",d,y,i,M,v;switch(y=parseFloat(C)<=k?parseFloat(C):k,y=parseFloat(y)>=m?parseFloat(y):m,d=(k-m)/100,y=Math.round((y-m)/d),typeof e.color){case"string":i=e.color;break;case"function":i=e.color(C);break;case"object":if(Array.isArray(e.color)){let u=100/e.color.length,s=Math.floor(y/u);s=Math.min(s,e.color.length-1),s=Math.max(s,0),i=e.color[s];break}default:i="#2DC214"}switch(typeof e.legend){case"string":M=e.legend;break;case"function":M=e.legend(C);break;case"boolean":M=C;break;default:M=!1}switch(typeof e.legendColor){case"string":v=e.legendColor;break;case"function":v=e.legendColor(C);break;case"object":if(Array.isArray(e.legendColor)){let u=100/e.legendColor.length,s=Math.floor(y/u);s=Math.min(s,e.legendColor.length-1),s=Math.max(s,0),v=e.legendColor[s]}break;default:v="#000"}D.style.minWidth="30px",D.style.position="relative",D.setAttribute("aria-label",y);var h=document.createElement("div");h.style.display="inline-block",h.style.width=y+"%",h.style.backgroundColor=i,h.style.height="100%",h.setAttribute("data-max",k),h.setAttribute("data-min",m);var l=document.createElement("div");if(l.style.position="relative",l.style.width="100%",l.style.height="100%",M){var a=document.createElement("div");a.style.position="absolute",a.style.top=0,a.style.left=0,a.style.textAlign=t,a.style.width="100%",a.style.color=v,a.innerHTML=M}return r(function(){if(!(n instanceof LM)){var u=document.createElement("div");u.style.position="absolute",u.style.top="4px",u.style.bottom="4px",u.style.left="4px",u.style.right="4px",D.appendChild(u),D=u}D.appendChild(l),l.appendChild(h),M&&l.appendChild(a)}),""}function JR(n,e,r){return n.getElement().style.backgroundColor=this.sanitizeHTML(n.getValue()),""}function QR(n,e,r){return''}function eP(n,e,r){return''}function tP(n,e,r){var C=document.createElement("span"),D=n.getRow(),k=n.getTable();return D.watchPosition(m=>{e.relativeToPage&&(m+=k.modules.page.getPageSize()*(k.modules.page.getPage()-1)),C.innerText=m}),C}function nP(n,e,r){return n.getElement().classList.add("tabulator-row-handle"),"
"}function rP(n,e,r){var C=document.createElement("div"),D=n.getRow()._row.modules.responsiveLayout;C.classList.add("tabulator-responsive-collapse-toggle"),C.innerHTML=` +`)):H=N.stylize("[Circular]","special")),_(q)){if(G&&U.match(/^\d+$/))return H;(q=JSON.stringify(""+U)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(q=q.slice(1,-1),q=N.stylize(q,"name")):(q=q.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),q=N.stylize(q,"string"))}return q+": "+H}function h(N){return Array.isArray(N)}function m(N){return typeof N=="boolean"}function w(N){return N===null}function y(N){return typeof N=="number"}function S(N){return typeof N=="string"}function _(N){return N===void 0}function k(N){return E(N)&&b(N)==="[object RegExp]"}function E(N){return typeof N=="object"&&N!==null}function x(N){return E(N)&&b(N)==="[object Date]"}function A(N){return E(N)&&(b(N)==="[object Error]"||N instanceof Error)}function L(N){return typeof N=="function"}function b(N){return Object.prototype.toString.call(N)}function R(N){return N<10?"0"+N.toString(10):N.toString(10)}p.debuglog=function(N){if(N=N.toUpperCase(),!M[N])if(v.test(N)){var W=d.pid;M[N]=function(){var j=p.format.apply(p,arguments);console.error("%s %d: %s",N,W,j)}}else M[N]=function(){};return M[N]},p.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},p.types=t(4936),p.isArray=h,p.isBoolean=m,p.isNull=w,p.isNullOrUndefined=function(N){return N==null},p.isNumber=y,p.isString=S,p.isSymbol=function(N){return typeof N=="symbol"},p.isUndefined=_,p.isRegExp=k,p.types.isRegExp=k,p.isObject=E,p.isDate=x,p.types.isDate=x,p.isError=A,p.types.isNativeError=A,p.isFunction=L,p.isPrimitive=function(N){return N===null||typeof N=="boolean"||typeof N=="number"||typeof N=="string"||typeof N=="symbol"||N===void 0},p.isBuffer=t(45920);var I=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function O(){var N=new Date,W=[R(N.getHours()),R(N.getMinutes()),R(N.getSeconds())].join(":");return[N.getDate(),I[N.getMonth()],W].join(" ")}function z(N,W){return Object.prototype.hasOwnProperty.call(N,W)}p.log=function(){console.log("%s - %s",O(),p.format.apply(p,arguments))},p.inherits=t(42018),p._extend=function(N,W){if(!W||!E(W))return N;for(var j=Object.keys(W),$=j.length;$--;)N[j[$]]=W[j[$]];return N};var F=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;function B(N,W){if(!N){var j=new Error("Promise was rejected with a falsy value");j.reason=N,N=j}return W(N)}p.promisify=function(N){if(typeof N!="function")throw new TypeError('The "original" argument must be of type Function');if(F&&N[F]){var W;if(typeof(W=N[F])!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(W,F,{value:W,enumerable:!1,writable:!1,configurable:!0}),W}function W(){for(var j,$,U=new Promise(function(H,ne){j=H,$=ne}),G=[],q=0;q"u"?t.g:globalThis,a=g(),u=i("String.prototype.slice"),o={},s=Object.getPrototypeOf;f&&M&&s&&d(a,function(h){if(typeof l[h]=="function"){var m=new l[h];if(Symbol.toStringTag in m){var w=s(m),y=M(w,Symbol.toStringTag);if(!y){var S=s(w);y=M(S,Symbol.toStringTag)}o[h]=y.get}}});var c=t(9187);T.exports=function(h){return!!c(h)&&(f&&Symbol.toStringTag in h?function(m){var w=!1;return d(o,function(y,S){if(!w)try{var _=y.call(m);_===S&&(w=_)}catch{}}),w}(h):u(v(h),8,-1))}},3961:function(T,p,t){var d=t(63489),g=t(56131),i=d.instance();function M(s){this.local=this.regionalOptions[s||""]||this.regionalOptions[""]}M.prototype=new d.baseCalendar,g(M.prototype,{name:"Chinese",jdEpoch:17214255e-1,hasYearZero:!1,minMonth:0,firstMonth:0,minDay:1,regionalOptions:{"":{name:"Chinese",epochs:["BEC","EC"],monthNumbers:function(s,c){if(typeof s=="string"){var h=s.match(f);return h?h[0]:""}var m=this._validateYear(s),w=s.month(),y=""+this.toChineseMonth(m,w);return c&&y.length<2&&(y="0"+y),this.isIntercalaryMonth(m,w)&&(y+="i"),y},monthNames:function(s){if(typeof s=="string"){var c=s.match(l);return c?c[0]:""}var h=this._validateYear(s),m=s.month(),w=["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"][this.toChineseMonth(h,m)-1];return this.isIntercalaryMonth(h,m)&&(w="闰"+w),w},monthNamesShort:function(s){if(typeof s=="string"){var c=s.match(a);return c?c[0]:""}var h=this._validateYear(s),m=s.month(),w=["一","二","三","四","五","六","七","八","九","十","十一","十二"][this.toChineseMonth(h,m)-1];return this.isIntercalaryMonth(h,m)&&(w="闰"+w),w},parseMonth:function(s,c){s=this._validateYear(s);var h,m=parseInt(c);if(isNaN(m))c[0]==="闰"&&(h=!0,c=c.substring(1)),c[c.length-1]==="月"&&(c=c.substring(0,c.length-1)),m=1+["一","二","三","四","五","六","七","八","九","十","十一","十二"].indexOf(c);else{var w=c[c.length-1];h=w==="i"||w==="I"}return this.toMonthIndex(s,m,h)},dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:1,isRTL:!1}},_validateYear:function(s,c){if(s.year&&(s=s.year()),typeof s!="number"||s<1888||s>2111)throw c.replace(/\{0\}/,this.local.name);return s},toMonthIndex:function(s,c,h){var m=this.intercalaryMonth(s);if(h&&c!==m||c<1||c>12)throw d.local.invalidMonth.replace(/\{0\}/,this.local.name);return m?!h&&c<=m?c-1:c:c-1},toChineseMonth:function(s,c){s.year&&(c=(s=s.year()).month());var h=this.intercalaryMonth(s);if(c<0||c>(h?12:11))throw d.local.invalidMonth.replace(/\{0\}/,this.local.name);return h?c>13},isIntercalaryMonth:function(s,c){s.year&&(c=(s=s.year()).month());var h=this.intercalaryMonth(s);return!!h&&h===c},leapYear:function(s){return this.intercalaryMonth(s)!==0},weekOfYear:function(s,c,h){var m,w=this._validateYear(s,d.local.invalidyear),y=o[w-o[0]],S=y>>9&4095,_=y>>5&15,k=31&y;(m=i.newDate(S,_,k)).add(4-(m.dayOfWeek()||7),"d");var E=this.toJD(s,c,h)-m.toJD();return 1+Math.floor(E/7)},monthsInYear:function(s){return this.leapYear(s)?13:12},daysInMonth:function(s,c){s.year&&(c=s.month(),s=s.year()),s=this._validateYear(s);var h=u[s-u[0]];if(c>(h>>13?12:11))throw d.local.invalidMonth.replace(/\{0\}/,this.local.name);return h&1<<12-c?30:29},weekDay:function(s,c,h){return(this.dayOfWeek(s,c,h)||7)<6},toJD:function(s,c,h){var m=this._validate(s,y,h,d.local.invalidDate);s=this._validateYear(m.year()),c=m.month(),h=m.day();var w=this.isIntercalaryMonth(s,c),y=this.toChineseMonth(s,c),S=function(_,k,E,x,A){var L,b,R;if(typeof _=="object")b=_,L=k||{};else{var I;if(!(typeof _=="number"&&_>=1888&&_<=2111))throw new Error("Lunar year outside range 1888-2111");if(!(typeof k=="number"&&k>=1&&k<=12))throw new Error("Lunar month outside range 1 - 12");if(!(typeof E=="number"&&E>=1&&E<=30))throw new Error("Lunar day outside range 1 - 30");typeof x=="object"?(I=!1,L=x):(I=!!x,L={}),b={year:_,month:k,day:E,isIntercalary:I}}R=b.day-1;var O,z=u[b.year-u[0]],F=z>>13;O=F&&(b.month>F||b.isIntercalary)?b.month:b.month-1;for(var B=0;B>9&4095,(N>>5&15)-1,(31&N)+R);return L.year=W.getFullYear(),L.month=1+W.getMonth(),L.day=W.getDate(),L}(s,y,h,w);return i.toJD(S.year,S.month,S.day)},fromJD:function(s){var c=i.fromJD(s),h=function(w,y,S,_){var k,E;if(typeof w=="object")k=w,E=y||{};else{if(!(typeof w=="number"&&w>=1888&&w<=2111))throw new Error("Solar year outside range 1888-2111");if(!(typeof y=="number"&&y>=1&&y<=12))throw new Error("Solar month outside range 1 - 12");if(!(typeof S=="number"&&S>=1&&S<=31))throw new Error("Solar day outside range 1 - 31");k={year:w,month:y,day:S},E={}}var x=o[k.year-o[0]],A=k.year<<9|k.month<<5|k.day;E.year=A>=x?k.year:k.year-1,x=o[E.year-o[0]];var L,b=new Date(x>>9&4095,(x>>5&15)-1,31&x),R=new Date(k.year,k.month-1,k.day);L=Math.round((R-b)/864e5);var I,O=u[E.year-u[0]];for(I=0;I<13;I++){var z=O&1<<12-I?30:29;if(L>13;return!F||I=2&&a<=6},extraInfo:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);return{century:M[Math.floor((a.year()-1)/100)+1]||""}},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);return v=a.year()+(a.year()<0?1:0),f=a.month(),(l=a.day())+(f>1?16:0)+(f>2?32*(f-2):0)+400*(v-1)+this.jdEpoch-1},fromJD:function(v){v=Math.floor(v+.5)-Math.floor(this.jdEpoch)-1;var f=Math.floor(v/400)+1;v-=400*(f-1),v+=v>15?16:0;var l=Math.floor(v/32)+1,a=v-32*(l-1)+1;return this.newDate(f<=0?f-1:f,l,a)}});var M={20:"Fruitbat",21:"Anchovy"};d.calendars.discworld=i},37715:function(T,p,t){var d=t(63489),g=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,g(i.prototype,{name:"Ethiopian",jdEpoch:17242205e-1,daysPerMonth:[30,30,30,30,30,30,30,30,30,30,30,30,5],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Ethiopian",epochs:["BEE","EE"],monthNames:["Meskerem","Tikemet","Hidar","Tahesas","Tir","Yekatit","Megabit","Miazia","Genbot","Sene","Hamle","Nehase","Pagume"],monthNamesShort:["Mes","Tik","Hid","Tah","Tir","Yek","Meg","Mia","Gen","Sen","Ham","Neh","Pag"],dayNames:["Ehud","Segno","Maksegno","Irob","Hamus","Arb","Kidame"],dayNamesShort:["Ehu","Seg","Mak","Iro","Ham","Arb","Kid"],dayNamesMin:["Eh","Se","Ma","Ir","Ha","Ar","Ki"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(M){var v=this._validate(M,this.minMonth,this.minDay,d.local.invalidYear);return(M=v.year()+(v.year()<0?1:0))%4==3||M%4==-1},monthsInYear:function(M){return this._validate(M,this.minMonth,this.minDay,d.local.invalidYear||d.regionalOptions[""].invalidYear),13},weekOfYear:function(M,v,f){var l=this.newDate(M,v,f);return l.add(-l.dayOfWeek(),"d"),Math.floor((l.dayOfYear()-1)/7)+1},daysInMonth:function(M,v){var f=this._validate(M,v,this.minDay,d.local.invalidMonth);return this.daysPerMonth[f.month()-1]+(f.month()===13&&this.leapYear(f.year())?1:0)},weekDay:function(M,v,f){return(this.dayOfWeek(M,v,f)||7)<6},toJD:function(M,v,f){var l=this._validate(M,v,f,d.local.invalidDate);return(M=l.year())<0&&M++,l.day()+30*(l.month()-1)+365*(M-1)+Math.floor(M/4)+this.jdEpoch-1},fromJD:function(M){var v=Math.floor(M)+.5-this.jdEpoch,f=Math.floor((v-Math.floor((v+366)/1461))/365)+1;f<=0&&f--,v=Math.floor(M)+.5-this.newDate(f,1,1).toJD();var l=Math.floor(v/30)+1,a=v-30*(l-1)+1;return this.newDate(f,l,a)}}),d.calendars.ethiopian=i},99384:function(T,p,t){var d=t(63489),g=t(56131);function i(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}function M(v,f){return v-f*Math.floor(v/f)}i.prototype=new d.baseCalendar,g(i.prototype,{name:"Hebrew",jdEpoch:347995.5,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29,29],hasYearZero:!1,minMonth:1,firstMonth:7,minDay:1,regionalOptions:{"":{name:"Hebrew",epochs:["BAM","AM"],monthNames:["Nisan","Iyar","Sivan","Tammuz","Av","Elul","Tishrei","Cheshvan","Kislev","Tevet","Shevat","Adar","Adar II"],monthNamesShort:["Nis","Iya","Siv","Tam","Av","Elu","Tis","Che","Kis","Tev","She","Ada","Ad2"],dayNames:["Yom Rishon","Yom Sheni","Yom Shlishi","Yom Revi'i","Yom Chamishi","Yom Shishi","Yom Shabbat"],dayNamesShort:["Ris","She","Shl","Rev","Cha","Shi","Sha"],dayNamesMin:["Ri","She","Shl","Re","Ch","Shi","Sha"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(v){var f=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return this._leapYear(f.year())},_leapYear:function(v){return M(7*(v=v<0?v+1:v)+1,19)<7},monthsInYear:function(v){return this._validate(v,this.minMonth,this.minDay,d.local.invalidYear),this._leapYear(v.year?v.year():v)?13:12},weekOfYear:function(v,f,l){var a=this.newDate(v,f,l);return a.add(-a.dayOfWeek(),"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInYear:function(v){return v=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear).year(),this.toJD(v===-1?1:v+1,7,1)-this.toJD(v,7,1)},daysInMonth:function(v,f){return v.year&&(f=v.month(),v=v.year()),this._validate(v,f,this.minDay,d.local.invalidMonth),f===12&&this.leapYear(v)||f===8&&M(this.daysInYear(v),10)===5?30:f===9&&M(this.daysInYear(v),10)===3?29:this.daysPerMonth[f-1]},weekDay:function(v,f,l){return this.dayOfWeek(v,f,l)!==6},extraInfo:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);return{yearType:(this.leapYear(a)?"embolismic":"common")+" "+["deficient","regular","complete"][this.daysInYear(a)%10-3]}},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);v=a.year(),f=a.month(),l=a.day();var u=v<=0?v+1:v,o=this.jdEpoch+this._delay1(u)+this._delay2(u)+l+1;if(f<7){for(var s=7;s<=this.monthsInYear(v);s++)o+=this.daysInMonth(v,s);for(s=1;s=this.toJD(f===-1?1:f+1,7,1);)f++;for(var l=vthis.toJD(f,l,this.daysInMonth(f,l));)l++;var a=v-this.toJD(f,l,1)+1;return this.newDate(f,l,a)}}),d.calendars.hebrew=i},43805:function(T,p,t){var d=t(63489),g=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,g(i.prototype,{name:"Islamic",jdEpoch:19484395e-1,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Islamic",epochs:["BH","AH"],monthNames:["Muharram","Safar","Rabi' al-awwal","Rabi' al-thani","Jumada al-awwal","Jumada al-thani","Rajab","Sha'aban","Ramadan","Shawwal","Dhu al-Qi'dah","Dhu al-Hijjah"],monthNamesShort:["Muh","Saf","Rab1","Rab2","Jum1","Jum2","Raj","Sha'","Ram","Shaw","DhuQ","DhuH"],dayNames:["Yawm al-ahad","Yawm al-ithnayn","Yawm ath-thulaathaa'","Yawm al-arbi'aa'","Yawm al-khamīs","Yawm al-jum'a","Yawm as-sabt"],dayNamesShort:["Aha","Ith","Thu","Arb","Kha","Jum","Sab"],dayNamesMin:["Ah","It","Th","Ar","Kh","Ju","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!1}},leapYear:function(M){return(11*this._validate(M,this.minMonth,this.minDay,d.local.invalidYear).year()+14)%30<11},weekOfYear:function(M,v,f){var l=this.newDate(M,v,f);return l.add(-l.dayOfWeek(),"d"),Math.floor((l.dayOfYear()-1)/7)+1},daysInYear:function(M){return this.leapYear(M)?355:354},daysInMonth:function(M,v){var f=this._validate(M,v,this.minDay,d.local.invalidMonth);return this.daysPerMonth[f.month()-1]+(f.month()===12&&this.leapYear(f.year())?1:0)},weekDay:function(M,v,f){return this.dayOfWeek(M,v,f)!==5},toJD:function(M,v,f){var l=this._validate(M,v,f,d.local.invalidDate);return M=l.year(),v=l.month(),M=M<=0?M+1:M,(f=l.day())+Math.ceil(29.5*(v-1))+354*(M-1)+Math.floor((3+11*M)/30)+this.jdEpoch-1},fromJD:function(M){M=Math.floor(M)+.5;var v=Math.floor((30*(M-this.jdEpoch)+10646)/10631);v=v<=0?v-1:v;var f=Math.min(12,Math.ceil((M-29-this.toJD(v,1,1))/29.5)+1),l=M-this.toJD(v,f,1)+1;return this.newDate(v,f,l)}}),d.calendars.islamic=i},88874:function(T,p,t){var d=t(63489),g=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,g(i.prototype,{name:"Julian",jdEpoch:17214235e-1,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Julian",epochs:["BC","AD"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"mm/dd/yyyy",firstDay:0,isRTL:!1}},leapYear:function(M){var v=this._validate(M,this.minMonth,this.minDay,d.local.invalidYear);return(M=v.year()<0?v.year()+1:v.year())%4==0},weekOfYear:function(M,v,f){var l=this.newDate(M,v,f);return l.add(4-(l.dayOfWeek()||7),"d"),Math.floor((l.dayOfYear()-1)/7)+1},daysInMonth:function(M,v){var f=this._validate(M,v,this.minDay,d.local.invalidMonth);return this.daysPerMonth[f.month()-1]+(f.month()===2&&this.leapYear(f.year())?1:0)},weekDay:function(M,v,f){return(this.dayOfWeek(M,v,f)||7)<6},toJD:function(M,v,f){var l=this._validate(M,v,f,d.local.invalidDate);return M=l.year(),v=l.month(),f=l.day(),M<0&&M++,v<=2&&(M--,v+=12),Math.floor(365.25*(M+4716))+Math.floor(30.6001*(v+1))+f-1524.5},fromJD:function(M){var v=Math.floor(M+.5)+1524,f=Math.floor((v-122.1)/365.25),l=Math.floor(365.25*f),a=Math.floor((v-l)/30.6001),u=a-Math.floor(a<14?1:13),o=f-Math.floor(u>2?4716:4715),s=v-l-Math.floor(30.6001*a);return o<=0&&o--,this.newDate(o,u,s)}}),d.calendars.julian=i},83290:function(T,p,t){var d=t(63489),g=t(56131);function i(f){this.local=this.regionalOptions[f||""]||this.regionalOptions[""]}function M(f,l){return f-l*Math.floor(f/l)}function v(f,l){return M(f-1,l)+1}i.prototype=new d.baseCalendar,g(i.prototype,{name:"Mayan",jdEpoch:584282.5,hasYearZero:!0,minMonth:0,firstMonth:0,minDay:0,regionalOptions:{"":{name:"Mayan",epochs:["",""],monthNames:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"],monthNamesShort:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"],dayNames:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],dayNamesShort:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],dayNamesMin:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],digits:null,dateFormat:"YYYY.m.d",firstDay:0,isRTL:!1,haabMonths:["Pop","Uo","Zip","Zotz","Tzec","Xul","Yaxkin","Mol","Chen","Yax","Zac","Ceh","Mac","Kankin","Muan","Pax","Kayab","Cumku","Uayeb"],tzolkinMonths:["Imix","Ik","Akbal","Kan","Chicchan","Cimi","Manik","Lamat","Muluc","Oc","Chuen","Eb","Ben","Ix","Men","Cib","Caban","Etznab","Cauac","Ahau"]}},leapYear:function(f){return this._validate(f,this.minMonth,this.minDay,d.local.invalidYear),!1},formatYear:function(f){f=this._validate(f,this.minMonth,this.minDay,d.local.invalidYear).year();var l=Math.floor(f/400);return f%=400,f+=f<0?400:0,l+"."+Math.floor(f/20)+"."+f%20},forYear:function(f){if((f=f.split(".")).length<3)throw"Invalid Mayan year";for(var l=0,a=0;a19||a>0&&u<0)throw"Invalid Mayan year";l=20*l+u}return l},monthsInYear:function(f){return this._validate(f,this.minMonth,this.minDay,d.local.invalidYear),18},weekOfYear:function(f,l,a){return this._validate(f,l,a,d.local.invalidDate),0},daysInYear:function(f){return this._validate(f,this.minMonth,this.minDay,d.local.invalidYear),360},daysInMonth:function(f,l){return this._validate(f,l,this.minDay,d.local.invalidMonth),20},daysInWeek:function(){return 5},dayOfWeek:function(f,l,a){return this._validate(f,l,a,d.local.invalidDate).day()},weekDay:function(f,l,a){return this._validate(f,l,a,d.local.invalidDate),!0},extraInfo:function(f,l,a){var u=this._validate(f,l,a,d.local.invalidDate).toJD(),o=this._toHaab(u),s=this._toTzolkin(u);return{haabMonthName:this.local.haabMonths[o[0]-1],haabMonth:o[0],haabDay:o[1],tzolkinDayName:this.local.tzolkinMonths[s[0]-1],tzolkinDay:s[0],tzolkinTrecena:s[1]}},_toHaab:function(f){var l=M(8+(f-=this.jdEpoch)+340,365);return[Math.floor(l/20)+1,M(l,20)]},_toTzolkin:function(f){return[v(20+(f-=this.jdEpoch),20),v(f+4,13)]},toJD:function(f,l,a){var u=this._validate(f,l,a,d.local.invalidDate);return u.day()+20*u.month()+360*u.year()+this.jdEpoch},fromJD:function(f){f=Math.floor(f)+.5-this.jdEpoch;var l=Math.floor(f/360);f%=360,f+=f<0?360:0;var a=Math.floor(f/20),u=f%20;return this.newDate(l,a,u)}}),d.calendars.mayan=i},29108:function(T,p,t){var d=t(63489),g=t(56131);function i(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar;var M=d.instance("gregorian");g(i.prototype,{name:"Nanakshahi",jdEpoch:22576735e-1,daysPerMonth:[31,31,31,31,31,30,30,30,30,30,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Nanakshahi",epochs:["BN","AN"],monthNames:["Chet","Vaisakh","Jeth","Harh","Sawan","Bhadon","Assu","Katak","Maghar","Poh","Magh","Phagun"],monthNamesShort:["Che","Vai","Jet","Har","Saw","Bha","Ass","Kat","Mgr","Poh","Mgh","Pha"],dayNames:["Somvaar","Mangalvar","Budhvaar","Veervaar","Shukarvaar","Sanicharvaar","Etvaar"],dayNamesShort:["Som","Mangal","Budh","Veer","Shukar","Sanichar","Et"],dayNamesMin:["So","Ma","Bu","Ve","Sh","Sa","Et"],digits:null,dateFormat:"dd-mm-yyyy",firstDay:0,isRTL:!1}},leapYear:function(v){var f=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear||d.regionalOptions[""].invalidYear);return M.leapYear(f.year()+(f.year()<1?1:0)+1469)},weekOfYear:function(v,f,l){var a=this.newDate(v,f,l);return a.add(1-(a.dayOfWeek()||7),"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInMonth:function(v,f){var l=this._validate(v,f,this.minDay,d.local.invalidMonth);return this.daysPerMonth[l.month()-1]+(l.month()===12&&this.leapYear(l.year())?1:0)},weekDay:function(v,f,l){return(this.dayOfWeek(v,f,l)||7)<6},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidMonth);(v=a.year())<0&&v++;for(var u=a.day(),o=1;o=this.toJD(f+1,1,1);)f++;for(var l=v-Math.floor(this.toJD(f,1,1)+.5)+1,a=1;l>this.daysInMonth(f,a);)l-=this.daysInMonth(f,a),a++;return this.newDate(f,a,l)}}),d.calendars.nanakshahi=i},55422:function(T,p,t){var d=t(63489),g=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,g(i.prototype,{name:"Nepali",jdEpoch:17007095e-1,daysPerMonth:[31,31,32,32,31,30,30,29,30,29,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,daysPerYear:365,regionalOptions:{"":{name:"Nepali",epochs:["BBS","ABS"],monthNames:["Baisakh","Jestha","Ashadh","Shrawan","Bhadra","Ashwin","Kartik","Mangsir","Paush","Mangh","Falgun","Chaitra"],monthNamesShort:["Bai","Je","As","Shra","Bha","Ash","Kar","Mang","Pau","Ma","Fal","Chai"],dayNames:["Aaitabaar","Sombaar","Manglbaar","Budhabaar","Bihibaar","Shukrabaar","Shanibaar"],dayNamesShort:["Aaita","Som","Mangl","Budha","Bihi","Shukra","Shani"],dayNamesMin:["Aai","So","Man","Bu","Bi","Shu","Sha"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:1,isRTL:!1}},leapYear:function(M){return this.daysInYear(M)!==this.daysPerYear},weekOfYear:function(M,v,f){var l=this.newDate(M,v,f);return l.add(-l.dayOfWeek(),"d"),Math.floor((l.dayOfYear()-1)/7)+1},daysInYear:function(M){if(M=this._validate(M,this.minMonth,this.minDay,d.local.invalidYear).year(),this.NEPALI_CALENDAR_DATA[M]===void 0)return this.daysPerYear;for(var v=0,f=this.minMonth;f<=12;f++)v+=this.NEPALI_CALENDAR_DATA[M][f];return v},daysInMonth:function(M,v){return M.year&&(v=M.month(),M=M.year()),this._validate(M,v,this.minDay,d.local.invalidMonth),this.NEPALI_CALENDAR_DATA[M]===void 0?this.daysPerMonth[v-1]:this.NEPALI_CALENDAR_DATA[M][v]},weekDay:function(M,v,f){return this.dayOfWeek(M,v,f)!==6},toJD:function(M,v,f){var l=this._validate(M,v,f,d.local.invalidDate);M=l.year(),v=l.month(),f=l.day();var a=d.instance(),u=0,o=v,s=M;this._createMissingCalendarData(M);var c=M-(o>9||o===9&&f>=this.NEPALI_CALENDAR_DATA[s][0]?56:57);for(v!==9&&(u=f,o--);o!==9;)o<=0&&(o=12,s--),u+=this.NEPALI_CALENDAR_DATA[s][o],o--;return v===9?(u+=f-this.NEPALI_CALENDAR_DATA[s][0])<0&&(u+=a.daysInYear(c)):u+=this.NEPALI_CALENDAR_DATA[s][9]-this.NEPALI_CALENDAR_DATA[s][0],a.newDate(c,1,1).add(u,"d").toJD()},fromJD:function(M){var v=d.instance().fromJD(M),f=v.year(),l=v.dayOfYear(),a=f+56;this._createMissingCalendarData(a);for(var u=9,o=this.NEPALI_CALENDAR_DATA[a][0],s=this.NEPALI_CALENDAR_DATA[a][u]-o+1;l>s;)++u>12&&(u=1,a++),s+=this.NEPALI_CALENDAR_DATA[a][u];var c=this.NEPALI_CALENDAR_DATA[a][u]-(s-l);return this.newDate(a,u,c)},_createMissingCalendarData:function(M){var v=this.daysPerMonth.slice(0);v.unshift(17);for(var f=M-1;f0?474:473))%2820+474+38)%2816<682},weekOfYear:function(v,f,l){var a=this.newDate(v,f,l);return a.add(-(a.dayOfWeek()+1)%7,"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInMonth:function(v,f){var l=this._validate(v,f,this.minDay,d.local.invalidMonth);return this.daysPerMonth[l.month()-1]+(l.month()===12&&this.leapYear(l.year())?1:0)},weekDay:function(v,f,l){return this.dayOfWeek(v,f,l)!==5},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);v=a.year(),f=a.month(),l=a.day();var u=v-(v>=0?474:473),o=474+M(u,2820);return l+(f<=7?31*(f-1):30*(f-1)+6)+Math.floor((682*o-110)/2816)+365*(o-1)+1029983*Math.floor(u/2820)+this.jdEpoch-1},fromJD:function(v){var f=(v=Math.floor(v)+.5)-this.toJD(475,1,1),l=Math.floor(f/1029983),a=M(f,1029983),u=2820;if(a!==1029982){var o=Math.floor(a/366),s=M(a,366);u=Math.floor((2134*o+2816*s+2815)/1028522)+o+1}var c=u+2820*l+474;c=c<=0?c-1:c;var h=v-this.toJD(c,1,1)+1,m=h<=186?Math.ceil(h/31):Math.ceil((h-6)/30),w=v-this.toJD(c,m,1)+1;return this.newDate(c,m,w)}}),d.calendars.persian=i,d.calendars.jalali=i},31320:function(T,p,t){var d=t(63489),g=t(56131),i=d.instance();function M(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}M.prototype=new d.baseCalendar,g(M.prototype,{name:"Taiwan",jdEpoch:24194025e-1,yearsOffset:1911,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Taiwan",epochs:["BROC","ROC"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:1,isRTL:!1}},leapYear:function(v){var f=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return v=this._t2gYear(f.year()),i.leapYear(v)},weekOfYear:function(v,f,l){var a=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return v=this._t2gYear(a.year()),i.weekOfYear(v,a.month(),a.day())},daysInMonth:function(v,f){var l=this._validate(v,f,this.minDay,d.local.invalidMonth);return this.daysPerMonth[l.month()-1]+(l.month()===2&&this.leapYear(l.year())?1:0)},weekDay:function(v,f,l){return(this.dayOfWeek(v,f,l)||7)<6},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);return v=this._t2gYear(a.year()),i.toJD(v,a.month(),a.day())},fromJD:function(v){var f=i.fromJD(v),l=this._g2tYear(f.year());return this.newDate(l,f.month(),f.day())},_t2gYear:function(v){return v+this.yearsOffset+(v>=-this.yearsOffset&&v<=-1?1:0)},_g2tYear:function(v){return v-this.yearsOffset-(v>=1&&v<=this.yearsOffset?1:0)}}),d.calendars.taiwan=M},51367:function(T,p,t){var d=t(63489),g=t(56131),i=d.instance();function M(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}M.prototype=new d.baseCalendar,g(M.prototype,{name:"Thai",jdEpoch:15230985e-1,yearsOffset:543,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Thai",epochs:["BBE","BE"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(v){var f=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return v=this._t2gYear(f.year()),i.leapYear(v)},weekOfYear:function(v,f,l){var a=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return v=this._t2gYear(a.year()),i.weekOfYear(v,a.month(),a.day())},daysInMonth:function(v,f){var l=this._validate(v,f,this.minDay,d.local.invalidMonth);return this.daysPerMonth[l.month()-1]+(l.month()===2&&this.leapYear(l.year())?1:0)},weekDay:function(v,f,l){return(this.dayOfWeek(v,f,l)||7)<6},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);return v=this._t2gYear(a.year()),i.toJD(v,a.month(),a.day())},fromJD:function(v){var f=i.fromJD(v),l=this._g2tYear(f.year());return this.newDate(l,f.month(),f.day())},_t2gYear:function(v){return v-this.yearsOffset-(v>=1&&v<=this.yearsOffset?1:0)},_g2tYear:function(v){return v+this.yearsOffset+(v>=-this.yearsOffset&&v<=-1?1:0)}}),d.calendars.thai=M},21457:function(T,p,t){var d=t(63489),g=t(56131);function i(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,g(i.prototype,{name:"UmmAlQura",hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Umm al-Qura",epochs:["BH","AH"],monthNames:["Al-Muharram","Safar","Rabi' al-awwal","Rabi' Al-Thani","Jumada Al-Awwal","Jumada Al-Thani","Rajab","Sha'aban","Ramadan","Shawwal","Dhu al-Qi'dah","Dhu al-Hijjah"],monthNamesShort:["Muh","Saf","Rab1","Rab2","Jum1","Jum2","Raj","Sha'","Ram","Shaw","DhuQ","DhuH"],dayNames:["Yawm al-Ahad","Yawm al-Ithnain","Yawm al-Thalāthā’","Yawm al-Arba‘ā’","Yawm al-Khamīs","Yawm al-Jum‘a","Yawm al-Sabt"],dayNamesMin:["Ah","Ith","Th","Ar","Kh","Ju","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!0}},leapYear:function(v){var f=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return this.daysInYear(f.year())===355},weekOfYear:function(v,f,l){var a=this.newDate(v,f,l);return a.add(-a.dayOfWeek(),"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInYear:function(v){for(var f=0,l=1;l<=12;l++)f+=this.daysInMonth(v,l);return f},daysInMonth:function(v,f){for(var l=this._validate(v,f,this.minDay,d.local.invalidMonth).toJD()-24e5+.5,a=0,u=0;ul)return M[a]-M[a-1];a++}return 30},weekDay:function(v,f,l){return this.dayOfWeek(v,f,l)!==5},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate),u=12*(a.year()-1)+a.month()-15292;return a.day()+M[u-1]-1+24e5-.5},fromJD:function(v){for(var f=v-24e5+.5,l=0,a=0;af);a++)l++;var u=l+15292,o=Math.floor((u-1)/12),s=o+1,c=u-12*o,h=f-M[l-1]+1;return this.newDate(s,c,h)},isValid:function(v,f,l){var a=d.baseCalendar.prototype.isValid.apply(this,arguments);return a&&(a=(v=v.year!=null?v.year:v)>=1276&&v<=1500),a},_validate:function(v,f,l,a){var u=d.baseCalendar.prototype._validate.apply(this,arguments);if(u.year<1276||u.year>1500)throw a.replace(/\{0\}/,this.local.name);return u}}),d.calendars.ummalqura=i;var M=[20,50,79,109,138,168,197,227,256,286,315,345,374,404,433,463,492,522,551,581,611,641,670,700,729,759,788,818,847,877,906,936,965,995,1024,1054,1083,1113,1142,1172,1201,1231,1260,1290,1320,1350,1379,1409,1438,1468,1497,1527,1556,1586,1615,1645,1674,1704,1733,1763,1792,1822,1851,1881,1910,1940,1969,1999,2028,2058,2087,2117,2146,2176,2205,2235,2264,2294,2323,2353,2383,2413,2442,2472,2501,2531,2560,2590,2619,2649,2678,2708,2737,2767,2796,2826,2855,2885,2914,2944,2973,3003,3032,3062,3091,3121,3150,3180,3209,3239,3268,3298,3327,3357,3386,3416,3446,3476,3505,3535,3564,3594,3623,3653,3682,3712,3741,3771,3800,3830,3859,3889,3918,3948,3977,4007,4036,4066,4095,4125,4155,4185,4214,4244,4273,4303,4332,4362,4391,4421,4450,4480,4509,4539,4568,4598,4627,4657,4686,4716,4745,4775,4804,4834,4863,4893,4922,4952,4981,5011,5040,5070,5099,5129,5158,5188,5218,5248,5277,5307,5336,5366,5395,5425,5454,5484,5513,5543,5572,5602,5631,5661,5690,5720,5749,5779,5808,5838,5867,5897,5926,5956,5985,6015,6044,6074,6103,6133,6162,6192,6221,6251,6281,6311,6340,6370,6399,6429,6458,6488,6517,6547,6576,6606,6635,6665,6694,6724,6753,6783,6812,6842,6871,6901,6930,6960,6989,7019,7048,7078,7107,7137,7166,7196,7225,7255,7284,7314,7344,7374,7403,7433,7462,7492,7521,7551,7580,7610,7639,7669,7698,7728,7757,7787,7816,7846,7875,7905,7934,7964,7993,8023,8053,8083,8112,8142,8171,8201,8230,8260,8289,8319,8348,8378,8407,8437,8466,8496,8525,8555,8584,8614,8643,8673,8702,8732,8761,8791,8821,8850,8880,8909,8938,8968,8997,9027,9056,9086,9115,9145,9175,9205,9234,9264,9293,9322,9352,9381,9410,9440,9470,9499,9529,9559,9589,9618,9648,9677,9706,9736,9765,9794,9824,9853,9883,9913,9943,9972,10002,10032,10061,10090,10120,10149,10178,10208,10237,10267,10297,10326,10356,10386,10415,10445,10474,10504,10533,10562,10592,10621,10651,10680,10710,10740,10770,10799,10829,10858,10888,10917,10947,10976,11005,11035,11064,11094,11124,11153,11183,11213,11242,11272,11301,11331,11360,11389,11419,11448,11478,11507,11537,11567,11596,11626,11655,11685,11715,11744,11774,11803,11832,11862,11891,11921,11950,11980,12010,12039,12069,12099,12128,12158,12187,12216,12246,12275,12304,12334,12364,12393,12423,12453,12483,12512,12542,12571,12600,12630,12659,12688,12718,12747,12777,12807,12837,12866,12896,12926,12955,12984,13014,13043,13072,13102,13131,13161,13191,13220,13250,13280,13310,13339,13368,13398,13427,13456,13486,13515,13545,13574,13604,13634,13664,13693,13723,13752,13782,13811,13840,13870,13899,13929,13958,13988,14018,14047,14077,14107,14136,14166,14195,14224,14254,14283,14313,14342,14372,14401,14431,14461,14490,14520,14550,14579,14609,14638,14667,14697,14726,14756,14785,14815,14844,14874,14904,14933,14963,14993,15021,15051,15081,15110,15140,15169,15199,15228,15258,15287,15317,15347,15377,15406,15436,15465,15494,15524,15553,15582,15612,15641,15671,15701,15731,15760,15790,15820,15849,15878,15908,15937,15966,15996,16025,16055,16085,16114,16144,16174,16204,16233,16262,16292,16321,16350,16380,16409,16439,16468,16498,16528,16558,16587,16617,16646,16676,16705,16734,16764,16793,16823,16852,16882,16912,16941,16971,17001,17030,17060,17089,17118,17148,17177,17207,17236,17266,17295,17325,17355,17384,17414,17444,17473,17502,17532,17561,17591,17620,17650,17679,17709,17738,17768,17798,17827,17857,17886,17916,17945,17975,18004,18034,18063,18093,18122,18152,18181,18211,18241,18270,18300,18330,18359,18388,18418,18447,18476,18506,18535,18565,18595,18625,18654,18684,18714,18743,18772,18802,18831,18860,18890,18919,18949,18979,19008,19038,19068,19098,19127,19156,19186,19215,19244,19274,19303,19333,19362,19392,19422,19452,19481,19511,19540,19570,19599,19628,19658,19687,19717,19746,19776,19806,19836,19865,19895,19924,19954,19983,20012,20042,20071,20101,20130,20160,20190,20219,20249,20279,20308,20338,20367,20396,20426,20455,20485,20514,20544,20573,20603,20633,20662,20692,20721,20751,20780,20810,20839,20869,20898,20928,20957,20987,21016,21046,21076,21105,21135,21164,21194,21223,21253,21282,21312,21341,21371,21400,21430,21459,21489,21519,21548,21578,21607,21637,21666,21696,21725,21754,21784,21813,21843,21873,21902,21932,21962,21991,22021,22050,22080,22109,22138,22168,22197,22227,22256,22286,22316,22346,22375,22405,22434,22464,22493,22522,22552,22581,22611,22640,22670,22700,22730,22759,22789,22818,22848,22877,22906,22936,22965,22994,23024,23054,23083,23113,23143,23173,23202,23232,23261,23290,23320,23349,23379,23408,23438,23467,23497,23527,23556,23586,23616,23645,23674,23704,23733,23763,23792,23822,23851,23881,23910,23940,23970,23999,24029,24058,24088,24117,24147,24176,24206,24235,24265,24294,24324,24353,24383,24413,24442,24472,24501,24531,24560,24590,24619,24648,24678,24707,24737,24767,24796,24826,24856,24885,24915,24944,24974,25003,25032,25062,25091,25121,25150,25180,25210,25240,25269,25299,25328,25358,25387,25416,25446,25475,25505,25534,25564,25594,25624,25653,25683,25712,25742,25771,25800,25830,25859,25888,25918,25948,25977,26007,26037,26067,26096,26126,26155,26184,26214,26243,26272,26302,26332,26361,26391,26421,26451,26480,26510,26539,26568,26598,26627,26656,26686,26715,26745,26775,26805,26834,26864,26893,26923,26952,26982,27011,27041,27070,27099,27129,27159,27188,27218,27248,27277,27307,27336,27366,27395,27425,27454,27484,27513,27542,27572,27602,27631,27661,27691,27720,27750,27779,27809,27838,27868,27897,27926,27956,27985,28015,28045,28074,28104,28134,28163,28193,28222,28252,28281,28310,28340,28369,28399,28428,28458,28488,28517,28547,28577,28607,28636,28665,28695,28724,28754,28783,28813,28843,28872,28901,28931,28960,28990,29019,29049,29078,29108,29137,29167,29196,29226,29255,29285,29315,29345,29375,29404,29434,29463,29492,29522,29551,29580,29610,29640,29669,29699,29729,29759,29788,29818,29847,29876,29906,29935,29964,29994,30023,30053,30082,30112,30141,30171,30200,30230,30259,30289,30318,30348,30378,30408,30437,30467,30496,30526,30555,30585,30614,30644,30673,30703,30732,30762,30791,30821,30850,30880,30909,30939,30968,30998,31027,31057,31086,31116,31145,31175,31204,31234,31263,31293,31322,31352,31381,31411,31441,31471,31500,31530,31559,31589,31618,31648,31676,31706,31736,31766,31795,31825,31854,31884,31913,31943,31972,32002,32031,32061,32090,32120,32150,32180,32209,32239,32268,32298,32327,32357,32386,32416,32445,32475,32504,32534,32563,32593,32622,32652,32681,32711,32740,32770,32799,32829,32858,32888,32917,32947,32976,33006,33035,33065,33094,33124,33153,33183,33213,33243,33272,33302,33331,33361,33390,33420,33450,33479,33509,33539,33568,33598,33627,33657,33686,33716,33745,33775,33804,33834,33863,33893,33922,33952,33981,34011,34040,34069,34099,34128,34158,34187,34217,34247,34277,34306,34336,34365,34395,34424,34454,34483,34512,34542,34571,34601,34631,34660,34690,34719,34749,34778,34808,34837,34867,34896,34926,34955,34985,35015,35044,35074,35103,35133,35162,35192,35222,35251,35280,35310,35340,35370,35399,35429,35458,35488,35517,35547,35576,35605,35635,35665,35694,35723,35753,35782,35811,35841,35871,35901,35930,35960,35989,36019,36048,36078,36107,36136,36166,36195,36225,36254,36284,36314,36343,36373,36403,36433,36462,36492,36521,36551,36580,36610,36639,36669,36698,36728,36757,36786,36816,36845,36875,36904,36934,36963,36993,37022,37052,37081,37111,37141,37170,37200,37229,37259,37288,37318,37347,37377,37406,37436,37465,37495,37524,37554,37584,37613,37643,37672,37701,37731,37760,37790,37819,37849,37878,37908,37938,37967,37997,38027,38056,38085,38115,38144,38174,38203,38233,38262,38292,38322,38351,38381,38410,38440,38469,38499,38528,38558,38587,38617,38646,38676,38705,38735,38764,38794,38823,38853,38882,38912,38941,38971,39001,39030,39059,39089,39118,39148,39178,39208,39237,39267,39297,39326,39355,39385,39414,39444,39473,39503,39532,39562,39592,39621,39650,39680,39709,39739,39768,39798,39827,39857,39886,39916,39946,39975,40005,40035,40064,40094,40123,40153,40182,40212,40241,40271,40300,40330,40359,40389,40418,40448,40477,40507,40536,40566,40595,40625,40655,40685,40714,40744,40773,40803,40832,40862,40892,40921,40951,40980,41009,41039,41068,41098,41127,41157,41186,41216,41245,41275,41304,41334,41364,41393,41422,41452,41481,41511,41540,41570,41599,41629,41658,41688,41718,41748,41777,41807,41836,41865,41894,41924,41953,41983,42012,42042,42072,42102,42131,42161,42190,42220,42249,42279,42308,42337,42367,42397,42426,42456,42485,42515,42545,42574,42604,42633,42662,42692,42721,42751,42780,42810,42839,42869,42899,42929,42958,42988,43017,43046,43076,43105,43135,43164,43194,43223,43253,43283,43312,43342,43371,43401,43430,43460,43489,43519,43548,43578,43607,43637,43666,43696,43726,43755,43785,43814,43844,43873,43903,43932,43962,43991,44021,44050,44080,44109,44139,44169,44198,44228,44258,44287,44317,44346,44375,44405,44434,44464,44493,44523,44553,44582,44612,44641,44671,44700,44730,44759,44788,44818,44847,44877,44906,44936,44966,44996,45025,45055,45084,45114,45143,45172,45202,45231,45261,45290,45320,45350,45380,45409,45439,45468,45498,45527,45556,45586,45615,45644,45674,45704,45733,45763,45793,45823,45852,45882,45911,45940,45970,45999,46028,46058,46088,46117,46147,46177,46206,46236,46265,46295,46324,46354,46383,46413,46442,46472,46501,46531,46560,46590,46620,46649,46679,46708,46738,46767,46797,46826,46856,46885,46915,46944,46974,47003,47033,47063,47092,47122,47151,47181,47210,47240,47269,47298,47328,47357,47387,47417,47446,47476,47506,47535,47565,47594,47624,47653,47682,47712,47741,47771,47800,47830,47860,47890,47919,47949,47978,48008,48037,48066,48096,48125,48155,48184,48214,48244,48273,48303,48333,48362,48392,48421,48450,48480,48509,48538,48568,48598,48627,48657,48687,48717,48746,48776,48805,48834,48864,48893,48922,48952,48982,49011,49041,49071,49100,49130,49160,49189,49218,49248,49277,49306,49336,49365,49395,49425,49455,49484,49514,49543,49573,49602,49632,49661,49690,49720,49749,49779,49809,49838,49868,49898,49927,49957,49986,50016,50045,50075,50104,50133,50163,50192,50222,50252,50281,50311,50340,50370,50400,50429,50459,50488,50518,50547,50576,50606,50635,50665,50694,50724,50754,50784,50813,50843,50872,50902,50931,50960,50990,51019,51049,51078,51108,51138,51167,51197,51227,51256,51286,51315,51345,51374,51403,51433,51462,51492,51522,51552,51582,51611,51641,51670,51699,51729,51758,51787,51816,51846,51876,51906,51936,51965,51995,52025,52054,52083,52113,52142,52171,52200,52230,52260,52290,52319,52349,52379,52408,52438,52467,52497,52526,52555,52585,52614,52644,52673,52703,52733,52762,52792,52822,52851,52881,52910,52939,52969,52998,53028,53057,53087,53116,53146,53176,53205,53235,53264,53294,53324,53353,53383,53412,53441,53471,53500,53530,53559,53589,53619,53648,53678,53708,53737,53767,53796,53825,53855,53884,53913,53943,53973,54003,54032,54062,54092,54121,54151,54180,54209,54239,54268,54297,54327,54357,54387,54416,54446,54476,54505,54535,54564,54593,54623,54652,54681,54711,54741,54770,54800,54830,54859,54889,54919,54948,54977,55007,55036,55066,55095,55125,55154,55184,55213,55243,55273,55302,55332,55361,55391,55420,55450,55479,55508,55538,55567,55597,55627,55657,55686,55716,55745,55775,55804,55834,55863,55892,55922,55951,55981,56011,56040,56070,56100,56129,56159,56188,56218,56247,56276,56306,56335,56365,56394,56424,56454,56483,56513,56543,56572,56601,56631,56660,56690,56719,56749,56778,56808,56837,56867,56897,56926,56956,56985,57015,57044,57074,57103,57133,57162,57192,57221,57251,57280,57310,57340,57369,57399,57429,57458,57487,57517,57546,57576,57605,57634,57664,57694,57723,57753,57783,57813,57842,57871,57901,57930,57959,57989,58018,58048,58077,58107,58137,58167,58196,58226,58255,58285,58314,58343,58373,58402,58432,58461,58491,58521,58551,58580,58610,58639,58669,58698,58727,58757,58786,58816,58845,58875,58905,58934,58964,58994,59023,59053,59082,59111,59141,59170,59200,59229,59259,59288,59318,59348,59377,59407,59436,59466,59495,59525,59554,59584,59613,59643,59672,59702,59731,59761,59791,59820,59850,59879,59909,59939,59968,59997,60027,60056,60086,60115,60145,60174,60204,60234,60264,60293,60323,60352,60381,60411,60440,60469,60499,60528,60558,60588,60618,60648,60677,60707,60736,60765,60795,60824,60853,60883,60912,60942,60972,61002,61031,61061,61090,61120,61149,61179,61208,61237,61267,61296,61326,61356,61385,61415,61445,61474,61504,61533,61563,61592,61621,61651,61680,61710,61739,61769,61799,61828,61858,61888,61917,61947,61976,62006,62035,62064,62094,62123,62153,62182,62212,62242,62271,62301,62331,62360,62390,62419,62448,62478,62507,62537,62566,62596,62625,62655,62685,62715,62744,62774,62803,62832,62862,62891,62921,62950,62980,63009,63039,63069,63099,63128,63157,63187,63216,63246,63275,63305,63334,63363,63393,63423,63453,63482,63512,63541,63571,63600,63630,63659,63689,63718,63747,63777,63807,63836,63866,63895,63925,63955,63984,64014,64043,64073,64102,64131,64161,64190,64220,64249,64279,64309,64339,64368,64398,64427,64457,64486,64515,64545,64574,64603,64633,64663,64692,64722,64752,64782,64811,64841,64870,64899,64929,64958,64987,65017,65047,65076,65106,65136,65166,65195,65225,65254,65283,65313,65342,65371,65401,65431,65460,65490,65520,65549,65579,65608,65638,65667,65697,65726,65755,65785,65815,65844,65874,65903,65933,65963,65992,66022,66051,66081,66110,66140,66169,66199,66228,66258,66287,66317,66346,66376,66405,66435,66465,66494,66524,66553,66583,66612,66641,66671,66700,66730,66760,66789,66819,66849,66878,66908,66937,66967,66996,67025,67055,67084,67114,67143,67173,67203,67233,67262,67292,67321,67351,67380,67409,67439,67468,67497,67527,67557,67587,67617,67646,67676,67705,67735,67764,67793,67823,67852,67882,67911,67941,67971,68e3,68030,68060,68089,68119,68148,68177,68207,68236,68266,68295,68325,68354,68384,68414,68443,68473,68502,68532,68561,68591,68620,68650,68679,68708,68738,68768,68797,68827,68857,68886,68916,68946,68975,69004,69034,69063,69092,69122,69152,69181,69211,69240,69270,69300,69330,69359,69388,69418,69447,69476,69506,69535,69565,69595,69624,69654,69684,69713,69743,69772,69802,69831,69861,69890,69919,69949,69978,70008,70038,70067,70097,70126,70156,70186,70215,70245,70274,70303,70333,70362,70392,70421,70451,70481,70510,70540,70570,70599,70629,70658,70687,70717,70746,70776,70805,70835,70864,70894,70924,70954,70983,71013,71042,71071,71101,71130,71159,71189,71218,71248,71278,71308,71337,71367,71397,71426,71455,71485,71514,71543,71573,71602,71632,71662,71691,71721,71751,71781,71810,71839,71869,71898,71927,71957,71986,72016,72046,72075,72105,72135,72164,72194,72223,72253,72282,72311,72341,72370,72400,72429,72459,72489,72518,72548,72577,72607,72637,72666,72695,72725,72754,72784,72813,72843,72872,72902,72931,72961,72991,73020,73050,73080,73109,73139,73168,73197,73227,73256,73286,73315,73345,73375,73404,73434,73464,73493,73523,73552,73581,73611,73640,73669,73699,73729,73758,73788,73818,73848,73877,73907,73936,73965,73995,74024,74053,74083,74113,74142,74172,74202,74231,74261,74291,74320,74349,74379,74408,74437,74467,74497,74526,74556,74586,74615,74645,74675,74704,74733,74763,74792,74822,74851,74881,74910,74940,74969,74999,75029,75058,75088,75117,75147,75176,75206,75235,75264,75294,75323,75353,75383,75412,75442,75472,75501,75531,75560,75590,75619,75648,75678,75707,75737,75766,75796,75826,75856,75885,75915,75944,75974,76003,76032,76062,76091,76121,76150,76180,76210,76239,76269,76299,76328,76358,76387,76416,76446,76475,76505,76534,76564,76593,76623,76653,76682,76712,76741,76771,76801,76830,76859,76889,76918,76948,76977,77007,77036,77066,77096,77125,77155,77185,77214,77243,77273,77302,77332,77361,77390,77420,77450,77479,77509,77539,77569,77598,77627,77657,77686,77715,77745,77774,77804,77833,77863,77893,77923,77952,77982,78011,78041,78070,78099,78129,78158,78188,78217,78247,78277,78307,78336,78366,78395,78425,78454,78483,78513,78542,78572,78601,78631,78661,78690,78720,78750,78779,78808,78838,78867,78897,78926,78956,78985,79015,79044,79074,79104,79133,79163,79192,79222,79251,79281,79310,79340,79369,79399,79428,79458,79487,79517,79546,79576,79606,79635,79665,79695,79724,79753,79783,79812,79841,79871,79900,79930,79960,79990]},63489:function(T,p,t){var d=t(56131);function g(){this.regionalOptions=[],this.regionalOptions[""]={invalidCalendar:"Calendar {0} not found",invalidDate:"Invalid {0} date",invalidMonth:"Invalid {0} month",invalidYear:"Invalid {0} year",differentCalendars:"Cannot mix {0} and {1} dates"},this.local=this.regionalOptions[""],this.calendars={},this._localCals={}}function i(a,u,o,s){if(this._calendar=a,this._year=u,this._month=o,this._day=s,this._calendar._validateLevel===0&&!this._calendar.isValid(this._year,this._month,this._day))throw(l.local.invalidDate||l.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name)}function M(a,u){return"000000".substring(0,u-(a=""+a).length)+a}function v(){this.shortYearCutoff="+10"}function f(a){this.local=this.regionalOptions[a]||this.regionalOptions[""]}d(g.prototype,{instance:function(a,u){a=(a||"gregorian").toLowerCase(),u=u||"";var o=this._localCals[a+"-"+u];if(!o&&this.calendars[a]&&(o=new this.calendars[a](u),this._localCals[a+"-"+u]=o),!o)throw(this.local.invalidCalendar||this.regionalOptions[""].invalidCalendar).replace(/\{0\}/,a);return o},newDate:function(a,u,o,s,c){return(s=(a!=null&&a.year?a.calendar():typeof s=="string"?this.instance(s,c):s)||this.instance()).newDate(a,u,o)},substituteDigits:function(a){return function(u){return(u+"").replace(/[0-9]/g,function(o){return a[o]})}},substituteChineseDigits:function(a,u){return function(o){for(var s="",c=0;o>0;){var h=o%10;s=(h===0?"":a[h]+u[c])+s,c++,o=Math.floor(o/10)}return s.indexOf(a[1]+u[1])===0&&(s=s.substr(1)),s||a[0]}}}),d(i.prototype,{newDate:function(a,u,o){return this._calendar.newDate(a??this,u,o)},year:function(a){return arguments.length===0?this._year:this.set(a,"y")},month:function(a){return arguments.length===0?this._month:this.set(a,"m")},day:function(a){return arguments.length===0?this._day:this.set(a,"d")},date:function(a,u,o){if(!this._calendar.isValid(a,u,o))throw(l.local.invalidDate||l.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name);return this._year=a,this._month=u,this._day=o,this},leapYear:function(){return this._calendar.leapYear(this)},epoch:function(){return this._calendar.epoch(this)},formatYear:function(){return this._calendar.formatYear(this)},monthOfYear:function(){return this._calendar.monthOfYear(this)},weekOfYear:function(){return this._calendar.weekOfYear(this)},daysInYear:function(){return this._calendar.daysInYear(this)},dayOfYear:function(){return this._calendar.dayOfYear(this)},daysInMonth:function(){return this._calendar.daysInMonth(this)},dayOfWeek:function(){return this._calendar.dayOfWeek(this)},weekDay:function(){return this._calendar.weekDay(this)},extraInfo:function(){return this._calendar.extraInfo(this)},add:function(a,u){return this._calendar.add(this,a,u)},set:function(a,u){return this._calendar.set(this,a,u)},compareTo:function(a){if(this._calendar.name!==a._calendar.name)throw(l.local.differentCalendars||l.regionalOptions[""].differentCalendars).replace(/\{0\}/,this._calendar.local.name).replace(/\{1\}/,a._calendar.local.name);var u=this._year!==a._year?this._year-a._year:this._month!==a._month?this.monthOfYear()-a.monthOfYear():this._day-a._day;return u===0?0:u<0?-1:1},calendar:function(){return this._calendar},toJD:function(){return this._calendar.toJD(this)},fromJD:function(a){return this._calendar.fromJD(a)},toJSDate:function(){return this._calendar.toJSDate(this)},fromJSDate:function(a){return this._calendar.fromJSDate(a)},toString:function(){return(this.year()<0?"-":"")+M(Math.abs(this.year()),4)+"-"+M(this.month(),2)+"-"+M(this.day(),2)}}),d(v.prototype,{_validateLevel:0,newDate:function(a,u,o){return a==null?this.today():(a.year&&(this._validate(a,u,o,l.local.invalidDate||l.regionalOptions[""].invalidDate),o=a.day(),u=a.month(),a=a.year()),new i(this,a,u,o))},today:function(){return this.fromJSDate(new Date)},epoch:function(a){return this._validate(a,this.minMonth,this.minDay,l.local.invalidYear||l.regionalOptions[""].invalidYear).year()<0?this.local.epochs[0]:this.local.epochs[1]},formatYear:function(a){var u=this._validate(a,this.minMonth,this.minDay,l.local.invalidYear||l.regionalOptions[""].invalidYear);return(u.year()<0?"-":"")+M(Math.abs(u.year()),4)},monthsInYear:function(a){return this._validate(a,this.minMonth,this.minDay,l.local.invalidYear||l.regionalOptions[""].invalidYear),12},monthOfYear:function(a,u){var o=this._validate(a,u,this.minDay,l.local.invalidMonth||l.regionalOptions[""].invalidMonth);return(o.month()+this.monthsInYear(o)-this.firstMonth)%this.monthsInYear(o)+this.minMonth},fromMonthOfYear:function(a,u){var o=(u+this.firstMonth-2*this.minMonth)%this.monthsInYear(a)+this.minMonth;return this._validate(a,o,this.minDay,l.local.invalidMonth||l.regionalOptions[""].invalidMonth),o},daysInYear:function(a){var u=this._validate(a,this.minMonth,this.minDay,l.local.invalidYear||l.regionalOptions[""].invalidYear);return this.leapYear(u)?366:365},dayOfYear:function(a,u,o){var s=this._validate(a,u,o,l.local.invalidDate||l.regionalOptions[""].invalidDate);return s.toJD()-this.newDate(s.year(),this.fromMonthOfYear(s.year(),this.minMonth),this.minDay).toJD()+1},daysInWeek:function(){return 7},dayOfWeek:function(a,u,o){var s=this._validate(a,u,o,l.local.invalidDate||l.regionalOptions[""].invalidDate);return(Math.floor(this.toJD(s))+2)%this.daysInWeek()},extraInfo:function(a,u,o){return this._validate(a,u,o,l.local.invalidDate||l.regionalOptions[""].invalidDate),{}},add:function(a,u,o){return this._validate(a,this.minMonth,this.minDay,l.local.invalidDate||l.regionalOptions[""].invalidDate),this._correctAdd(a,this._add(a,u,o),u,o)},_add:function(a,u,o){if(this._validateLevel++,o==="d"||o==="w"){var s=a.toJD()+u*(o==="w"?this.daysInWeek():1),c=a.calendar().fromJD(s);return this._validateLevel--,[c.year(),c.month(),c.day()]}try{var h=a.year()+(o==="y"?u:0),m=a.monthOfYear()+(o==="m"?u:0);c=a.day(),o==="y"?(a.month()!==this.fromMonthOfYear(h,m)&&(m=this.newDate(h,a.month(),this.minDay).monthOfYear()),m=Math.min(m,this.monthsInYear(h)),c=Math.min(c,this.daysInMonth(h,this.fromMonthOfYear(h,m)))):o==="m"&&(function(y){for(;mS-1+y.minMonth;)h++,m-=S,S=y.monthsInYear(h)}(this),c=Math.min(c,this.daysInMonth(h,this.fromMonthOfYear(h,m))));var w=[h,this.fromMonthOfYear(h,m),c];return this._validateLevel--,w}catch(y){throw this._validateLevel--,y}},_correctAdd:function(a,u,o,s){if(!(this.hasYearZero||s!=="y"&&s!=="m"||u[0]!==0&&a.year()>0==u[0]>0)){var c={y:[1,1,"y"],m:[1,this.monthsInYear(-1),"m"],w:[this.daysInWeek(),this.daysInYear(-1),"d"],d:[1,this.daysInYear(-1),"d"]}[s],h=o<0?-1:1;u=this._add(a,o*c[0]+h*c[1],c[2])}return a.date(u[0],u[1],u[2])},set:function(a,u,o){this._validate(a,this.minMonth,this.minDay,l.local.invalidDate||l.regionalOptions[""].invalidDate);var s=o==="y"?u:a.year(),c=o==="m"?u:a.month(),h=o==="d"?u:a.day();return o!=="y"&&o!=="m"||(h=Math.min(h,this.daysInMonth(s,c))),a.date(s,c,h)},isValid:function(a,u,o){this._validateLevel++;var s=this.hasYearZero||a!==0;if(s){var c=this.newDate(a,u,this.minDay);s=u>=this.minMonth&&u-this.minMonth=this.minDay&&o-this.minDay13.5?13:1),S=c-(y>2.5?4716:4715);return S<=0&&S--,this.newDate(S,y,w)},toJSDate:function(a,u,o){var s=this._validate(a,u,o,l.local.invalidDate||l.regionalOptions[""].invalidDate),c=new Date(s.year(),s.month()-1,s.day());return c.setHours(0),c.setMinutes(0),c.setSeconds(0),c.setMilliseconds(0),c.setHours(c.getHours()>12?c.getHours()+2:0),c},fromJSDate:function(a){return this.newDate(a.getFullYear(),a.getMonth()+1,a.getDate())}});var l=T.exports=new g;l.cdate=i,l.baseCalendar=v,l.calendars.gregorian=f},94338:function(T,p,t){var d=t(56131),g=t(63489);d(g.regionalOptions[""],{invalidArguments:"Invalid arguments",invalidFormat:"Cannot format a date from another calendar",missingNumberAt:"Missing number at position {0}",unknownNameAt:"Unknown name at position {0}",unexpectedLiteralAt:"Unexpected literal at position {0}",unexpectedText:"Additional text found at end"}),g.local=g.regionalOptions[""],d(g.cdate.prototype,{formatDate:function(i,M){return typeof i!="string"&&(M=i,i=""),this._calendar.formatDate(i||"",this,M)}}),d(g.baseCalendar.prototype,{UNIX_EPOCH:g.instance().newDate(1970,1,1).toJD(),SECS_PER_DAY:86400,TICKS_EPOCH:g.instance().jdEpoch,TICKS_PER_DAY:864e9,ATOM:"yyyy-mm-dd",COOKIE:"D, dd M yyyy",FULL:"DD, MM d, yyyy",ISO_8601:"yyyy-mm-dd",JULIAN:"J",RFC_822:"D, d M yy",RFC_850:"DD, dd-M-yy",RFC_1036:"D, d M yy",RFC_1123:"D, d M yyyy",RFC_2822:"D, d M yyyy",RSS:"D, d M yy",TICKS:"!",TIMESTAMP:"@",W3C:"yyyy-mm-dd",formatDate:function(i,M,v){if(typeof i!="string"&&(v=M,M=i,i=""),!M)return"";if(M.calendar()!==this)throw g.local.invalidFormat||g.regionalOptions[""].invalidFormat;i=i||this.local.dateFormat;for(var f,l,a,u=(v=v||{}).dayNamesShort||this.local.dayNamesShort,o=v.dayNames||this.local.dayNames,s=v.monthNumbers||this.local.monthNumbers,c=v.monthNamesShort||this.local.monthNamesShort,h=v.monthNames||this.local.monthNames,m=(v.calculateWeek||this.local.calculateWeek,function(b,R){for(var I=1;L+I1}),w=function(b,R,I,O){var z=""+R;if(m(b,O))for(;z.length1},x=function(N,W){var j=E(N,W),$=[2,3,j?4:2,j?4:2,10,11,20]["oyYJ@!".indexOf(N)+1],U=new RegExp("^-?\\d{1,"+$+"}"),G=M.substring(O).match(U);if(!G)throw(g.local.missingNumberAt||g.regionalOptions[""].missingNumberAt).replace(/\{0\}/,O);return O+=G[0].length,parseInt(G[0],10)},A=this,L=function(){if(typeof o=="function"){E("m");var N=o.call(A,M.substring(O));return O+=N.length,N}return x("m")},b=function(N,W,j,$){for(var U=E(N,$)?j:W,G=0;G-1){w=1,y=S;for(var B=this.daysInMonth(m,w);y>B;B=this.daysInMonth(m,w))w++,y-=B}return h>-1?this.fromJD(h):this.newDate(m,w,y)},determineDate:function(i,M,v,f,l){v&&typeof v!="object"&&(l=f,f=v,v=null),typeof f!="string"&&(l=f,f="");var a=this;return M=M?M.newDate():null,i==null?M:typeof i=="string"?function(u){try{return a.parseDate(f,u,l)}catch{}for(var o=((u=u.toLowerCase()).match(/^c/)&&v?v.newDate():null)||a.today(),s=/([+-]?[0-9]+)\s*(d|w|m|y)?/g,c=s.exec(u);c;)o.add(parseInt(c[1],10),c[2]||"d"),c=s.exec(u);return o}(i):typeof i=="number"?isNaN(i)||i===1/0||i===-1/0?M:a.today().add(i,"d"):a.newDate(i)}})},69862:function(){},40964:function(){},72077:function(T,p,t){var d=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],g=typeof globalThis>"u"?t.g:globalThis;T.exports=function(){for(var i=[],M=0;M>8&15|me>>4&240,me>>4&15|240&me,(15&me)<<4|15&me,1):pe===8?x(me>>24&255,me>>16&255,me>>8&255,(255&me)/255):pe===4?x(me>>12&15|me>>8&240,me>>8&15|me>>4&240,me>>4&15|240&me,((15&me)<<4|15&me)/255):null):(me=o.exec(de))?new b(me[1],me[2],me[3],1):(me=s.exec(de))?new b(255*me[1]/100,255*me[2]/100,255*me[3]/100,1):(me=c.exec(de))?x(me[1],me[2],me[3],me[4]):(me=h.exec(de))?x(255*me[1]/100,255*me[2]/100,255*me[3]/100,me[4]):(me=m.exec(de))?B(me[1],me[2]/100,me[3]/100,1):(me=w.exec(de))?B(me[1],me[2]/100,me[3]/100,me[4]):y.hasOwnProperty(de)?E(y[de]):de==="transparent"?new b(NaN,NaN,NaN,0):null}function E(de){return new b(de>>16&255,de>>8&255,255&de,1)}function x(de,me,pe,xe){return xe<=0&&(de=me=pe=NaN),new b(de,me,pe,xe)}function A(de){return de instanceof i||(de=k(de)),de?new b((de=de.rgb()).r,de.g,de.b,de.opacity):new b}function L(de,me,pe,xe){return arguments.length===1?A(de):new b(de,me,pe,xe??1)}function b(de,me,pe,xe){this.r=+de,this.g=+me,this.b=+pe,this.opacity=+xe}function R(){return"#".concat(F(this.r)).concat(F(this.g)).concat(F(this.b))}function I(){var de=O(this.opacity);return"".concat(de===1?"rgb(":"rgba(").concat(z(this.r),", ").concat(z(this.g),", ").concat(z(this.b)).concat(de===1?")":", ".concat(de,")"))}function O(de){return isNaN(de)?1:Math.max(0,Math.min(1,de))}function z(de){return Math.max(0,Math.min(255,Math.round(de)||0))}function F(de){return((de=z(de))<16?"0":"")+de.toString(16)}function B(de,me,pe,xe){return xe<=0?de=me=pe=NaN:pe<=0||pe>=1?de=me=NaN:me<=0&&(de=NaN),new W(de,me,pe,xe)}function N(de){if(de instanceof W)return new W(de.h,de.s,de.l,de.opacity);if(de instanceof i||(de=k(de)),!de)return new W;if(de instanceof W)return de;var me=(de=de.rgb()).r/255,pe=de.g/255,xe=de.b/255,Pe=Math.min(me,pe,xe),_e=Math.max(me,pe,xe),Me=NaN,Se=_e-Pe,Ce=(_e+Pe)/2;return Se?(Me=me===_e?(pe-xe)/Se+6*(pe0&&Ce<1?0:Me,new W(Me,Se,Ce,de.opacity)}function W(de,me,pe,xe){this.h=+de,this.s=+me,this.l=+pe,this.opacity=+xe}function j(de){return(de=(de||0)%360)<0?de+360:de}function $(de){return Math.max(0,Math.min(1,de||0))}function U(de,me,pe){return 255*(de<60?me+(pe-me)*de/60:de<180?pe:de<240?me+(pe-me)*(240-de)/60:me)}d(i,k,{copy:function(de){return Object.assign(new this.constructor,this,de)},displayable:function(){return this.rgb().displayable()},hex:S,formatHex:S,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return N(this).formatHsl()},formatRgb:_,toString:_}),d(b,L,g(i,{brighter:function(de){return de=de==null?v:Math.pow(v,de),new b(this.r*de,this.g*de,this.b*de,this.opacity)},darker:function(de){return de=de==null?M:Math.pow(M,de),new b(this.r*de,this.g*de,this.b*de,this.opacity)},rgb:function(){return this},clamp:function(){return new b(z(this.r),z(this.g),z(this.b),O(this.opacity))},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:R,formatHex:R,formatHex8:function(){return"#".concat(F(this.r)).concat(F(this.g)).concat(F(this.b)).concat(F(255*(isNaN(this.opacity)?1:this.opacity)))},formatRgb:I,toString:I})),d(W,function(de,me,pe,xe){return arguments.length===1?N(de):new W(de,me,pe,xe??1)},g(i,{brighter:function(de){return de=de==null?v:Math.pow(v,de),new W(this.h,this.s,this.l*de,this.opacity)},darker:function(de){return de=de==null?M:Math.pow(M,de),new W(this.h,this.s,this.l*de,this.opacity)},rgb:function(){var de=this.h%360+360*(this.h<0),me=isNaN(de)||isNaN(this.s)?0:this.s,pe=this.l,xe=pe+(pe<.5?pe:1-pe)*me,Pe=2*pe-xe;return new b(U(de>=240?de-240:de+120,Pe,xe),U(de,Pe,xe),U(de<120?de+240:de-120,Pe,xe),this.opacity)},clamp:function(){return new W(j(this.h),$(this.s),$(this.l),O(this.opacity))},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var de=O(this.opacity);return"".concat(de===1?"hsl(":"hsla(").concat(j(this.h),", ").concat(100*$(this.s),"%, ").concat(100*$(this.l),"%").concat(de===1?")":", ".concat(de,")"))}}));var G=function(de){return function(){return de}};function q(de,me){var pe=me-de;return pe?function(xe,Pe){return function(_e){return xe+_e*Pe}}(de,pe):G(isNaN(de)?me:de)}var H=function de(me){var pe=function(Pe){return(Pe=+Pe)==1?q:function(_e,Me){return Me-_e?function(Se,Ce,ae){return Se=Math.pow(Se,ae),Ce=Math.pow(Ce,ae)-Se,ae=1/ae,function(fe){return Math.pow(Se+fe*Ce,ae)}}(_e,Me,Pe):G(isNaN(_e)?Me:_e)}}(me);function xe(Pe,_e){var Me=pe((Pe=L(Pe)).r,(_e=L(_e)).r),Se=pe(Pe.g,_e.g),Ce=pe(Pe.b,_e.b),ae=q(Pe.opacity,_e.opacity);return function(fe){return Pe.r=Me(fe),Pe.g=Se(fe),Pe.b=Ce(fe),Pe.opacity=ae(fe),Pe+""}}return xe.gamma=de,xe}(1);function ne(de,me){var pe,xe=me?me.length:0,Pe=de?Math.min(xe,de.length):0,_e=new Array(Pe),Me=new Array(xe);for(pe=0;pe_e&&(Pe=me.slice(_e,Pe),Se[Me]?Se[Me]+=Pe:Se[++Me]=Pe),(pe=pe[0])===(xe=xe[0])?Se[Me]?Se[Me]+=xe:Se[++Me]=xe:(Se[++Me]=null,Ce.push({i:Me,x:Z(pe,xe)})),_e=ie.lastIndex;return _en.rt)},yValues(){return this.dataForHeatmapDrawing.map(n=>n.mass)},selectedRange(){switch(this.args.title){case"Raw MS1 Heatmap":return this.selectionStore.selectedRawHeatmap;case"Raw MS2 Heatmap":return this.selectionStore.selectedRawMS2Heatmap;case"Deconvolved MS1 Heatmap":return this.selectionStore.selectedDeconvHeatmap;case"Deconvolved MS2 Heatmap":return this.selectionStore.selectedDeconvMS2Heatmap;default:return}},xRange(){if(this.selectedRange!==void 0)return this.selectedRange.xRange[0]<0&&this.selectedRange.xRange[1]<0?void 0:this.selectedRange.xRange},yRange(){if(this.selectedRange!==void 0)return this.selectedRange.yRange[0]<0&&this.selectedRange.yRange[1]<0?void 0:this.selectedRange.yRange},markerColorValues(){return this.dataForHeatmapDrawing.map(n=>n.intensity)},data(){const n=this.dataForHeatmapDrawing.map(p=>p.intensity),e=Math.min(...n.filter(p=>p>0)),r=Math.max(...n),C=Math.floor(Math.log10(e)),D=Math.ceil(Math.log10(r)),T=Array.from({length:D-C+1},(p,t)=>Math.pow(10,C+t));return[{type:"scattergl",name:"raw peaks",x:this.xValues,y:this.yValues,mode:"markers",marker:{color:this.markerColorValues.map(p=>p>0?Math.log10(p):0),colorscale:"Portland",showscale:!0,colorbar:{title:"Intensity",tickvals:T.map(p=>Math.log10(p)),ticktext:T.map(p=>p.toExponential(0)),tickmode:"array"}},hovertext:this.dataForHeatmapDrawing.map(p=>p.intensity.toExponential(2))}]},layout(){var n,e,r,C;return{title:`${this.args.title}`,showlegend:this.args.showLegend,xaxis:{title:"Retention Time",range:this.xRange},yaxis:{title:this.yAxisLabel,range:this.yRange},paper_bgcolor:(n=this.theme)==null?void 0:n.backgroundColor,plot_bgcolor:(e=this.theme)==null?void 0:e.secondaryBackgroundColor,font:{color:(r=this.theme)==null?void 0:r.textColor,family:(C=this.theme)==null?void 0:C.font}}}},watch:{renderData(){this.graph()},zoomRange(){if(this.zoomRange!==void 0)switch(this.args.title){case"Raw MS1 Heatmap":this.selectionStore.updateRawHeatmapSelection(this.zoomRange);break;case"Raw MS2 Heatmap":this.selectionStore.updateRawMS2HeatmapSelection(this.zoomRange);break;case"Deconvolved MS1 Heatmap":this.selectionStore.updateDeconvHeatmapSelection(this.zoomRange);break;case"Deconvolved MS2 Heatmap":this.selectionStore.updateDeconvMS2HeatmapSelection(this.zoomRange);break}}},mounted(){this.graph()},methods:{async graph(){await Wl.newPlot(this.id,this.data,this.layout,{modeBarButtonsToRemove:["toImage","sendDataToCloud"],modeBarButtonsToAdd:[{title:"Download as SVG",name:"toImageSvg",icon:Wl.Icons.camera,click:e=>{Wl.downloadImage(e,{filename:"FLASHViewer-heatmap",height:400,width:1200,format:"svg"})}}]});const n=document.getElementById(this.id);n&&(n.on("plotly_relayout",e=>{e["xaxis.autorange"]?this.zoomRange={xRange:[-1,-1],yRange:[-1,-1]}:e["xaxis.range[0]"]!==void 0&&e["xaxis.range[1]"]!==void 0&&e["yaxis.range[0]"]!==void 0&&e["yaxis.range[1]"]!==void 0&&(this.zoomRange={xRange:[e["xaxis.range[0]"],e["xaxis.range[1]"]],yRange:[e["yaxis.range[0]"],e["yaxis.range[1]"]]})}),n.on("plotly_click",e=>{const r=this.dataForHeatmapDrawing[e.points[0].pointIndex],C=r==null?void 0:r.scan_idx,D=r==null?void 0:r.mass_idx;C!==void 0&&this.selectionStore.updateSelectedScan(C),this.args.title==="Deconvolved MS1 Heatmap"&&D!==void 0?this.selectionStore.updateSelectedMass(D):this.args.title==="Deconvolved MS2 Heatmap"&&D!==void 0&&this.selectionStore.updateSelectedMass(D)}))}}}),hs=(n,e)=>{const r=n.__vccOpts||n;for(const[C,D]of e)r[C]=D;return r},oR=["id"];function sR(n,e,r,C,D,T){return Rr(),ei("div",{id:n.id,style:{width:"100%"}},null,8,oR)}const lR=hs(aR,[["render",sR]]);class kl{constructor(e){this.table=e}reloadData(e,r,C){return this.table.dataLoader.load(e,void 0,void 0,void 0,r,C)}langText(){return this.table.modules.localize.getText(...arguments)}langBind(){return this.table.modules.localize.bind(...arguments)}langLocale(){return this.table.modules.localize.getLocale(...arguments)}commsConnections(){return this.table.modules.comms.getConnections(...arguments)}commsSend(){return this.table.modules.comms.send(...arguments)}layoutMode(){return this.table.modules.layout.getMode()}layoutRefresh(e){return this.table.modules.layout.layout(e)}subscribe(){return this.table.eventBus.subscribe(...arguments)}unsubscribe(){return this.table.eventBus.unsubscribe(...arguments)}subscribed(e){return this.table.eventBus.subscribed(e)}subscriptionChange(){return this.table.eventBus.subscriptionChange(...arguments)}dispatch(){return this.table.eventBus.dispatch(...arguments)}chain(){return this.table.eventBus.chain(...arguments)}confirm(){return this.table.eventBus.confirm(...arguments)}dispatchExternal(){return this.table.externalEvents.dispatch(...arguments)}subscribedExternal(e){return this.table.externalEvents.subscribed(e)}subscriptionChangeExternal(){return this.table.externalEvents.subscriptionChange(...arguments)}options(e){return this.table.options[e]}setOption(e,r){return typeof r<"u"&&(this.table.options[e]=r),this.table.options[e]}deprecationCheck(e,r,C){return this.table.deprecationAdvisor.check(e,r,C)}deprecationCheckMsg(e,r){return this.table.deprecationAdvisor.checkMsg(e,r)}deprecationMsg(e){return this.table.deprecationAdvisor.msg(e)}module(e){return this.table.module(e)}}class oo{static elVisible(e){return!(e.offsetWidth<=0&&e.offsetHeight<=0)}static elOffset(e){var r=e.getBoundingClientRect();return{top:r.top+window.pageYOffset-document.documentElement.clientTop,left:r.left+window.pageXOffset-document.documentElement.clientLeft}}static retrieveNestedData(e,r,C){var D=e?r.split(e):[r],T=D.length,p;for(let t=0;ti.subject===t),d>-1?r[p]=C[d].copy:(g=Object.assign(Array.isArray(t)?[]:{},t),C.unshift({subject:t,copy:g}),r[p]=this.deepClone(t,g,C)))}return r}}class H2 extends kl{constructor(e,r,C){super(e),this.element=r,this.container=this._lookupContainer(),this.parent=C,this.reversedX=!1,this.childPopup=null,this.blurable=!1,this.blurCallback=null,this.blurEventsBound=!1,this.renderedCallback=null,this.visible=!1,this.hideable=!0,this.element.classList.add("tabulator-popup-container"),this.blurEvent=this.hide.bind(this,!1),this.escEvent=this._escapeCheck.bind(this),this.destroyBinding=this.tableDestroyed.bind(this),this.destroyed=!1}tableDestroyed(){this.destroyed=!0,this.hide(!0)}_lookupContainer(){var e=this.table.options.popupContainer;return typeof e=="string"?(e=document.querySelector(e),e||console.warn("Menu Error - no container element found matching selector:",this.table.options.popupContainer,"(defaulting to document body)")):e===!0&&(e=this.table.element),e&&!this._checkContainerIsParent(e)&&(e=!1,console.warn("Menu Error - container element does not contain this table:",this.table.options.popupContainer,"(defaulting to document body)")),e||(e=document.body),e}_checkContainerIsParent(e,r=this.table.element){return e===r?!0:r.parentNode?this._checkContainerIsParent(e,r.parentNode):!1}renderCallback(e){this.renderedCallback=e}containerEventCoords(e){var r=!(e instanceof MouseEvent),C=r?e.touches[0].pageX:e.pageX,D=r?e.touches[0].pageY:e.pageY;if(this.container!==document.body){let T=oo.elOffset(this.container);C-=T.left,D-=T.top}return{x:C,y:D}}elementPositionCoords(e,r="right"){var C=oo.elOffset(e),D,T,p;switch(this.container!==document.body&&(D=oo.elOffset(this.container),C.left-=D.left,C.top-=D.top),r){case"right":T=C.left+e.offsetWidth,p=C.top-1;break;case"bottom":T=C.left,p=C.top+e.offsetHeight;break;case"left":T=C.left,p=C.top-1;break;case"top":T=C.left,p=C.top;break;case"center":T=C.left+e.offsetWidth/2,p=C.top+e.offsetHeight/2;break}return{x:T,y:p,offset:C}}show(e,r){var C,D,T,p,t;return this.destroyed||this.table.destroyed?this:(e instanceof HTMLElement?(T=e,t=this.elementPositionCoords(e,r),p=t.offset,C=t.x,D=t.y):typeof e=="number"?(p={top:0,left:0},C=e,D=r):(t=this.containerEventCoords(e),C=t.x,D=t.y,this.reversedX=!1),this.element.style.top=D+"px",this.element.style.left=C+"px",this.container.appendChild(this.element),typeof this.renderedCallback=="function"&&this.renderedCallback(),this._fitToScreen(C,D,T,p,r),this.visible=!0,this.subscribe("table-destroy",this.destroyBinding),this.element.addEventListener("mousedown",d=>{d.stopPropagation()}),this)}_fitToScreen(e,r,C,D,T){var p=this.container===document.body?document.documentElement.scrollTop:this.container.scrollTop;if((e+this.element.offsetWidth>=this.container.offsetWidth||this.reversedX)&&(this.element.style.left="",C?this.element.style.right=this.container.offsetWidth-D.left+"px":this.element.style.right=this.container.offsetWidth-e+"px",this.reversedX=!0),r+this.element.offsetHeight>Math.max(this.container.offsetHeight,p?this.container.scrollHeight:0))if(C)switch(T){case"bottom":this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight-C.offsetHeight-1+"px";break;default:this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight+C.offsetHeight+1+"px"}else this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight+"px"}isVisible(){return this.visible}hideOnBlur(e){return this.blurable=!0,this.visible&&(setTimeout(()=>{this.visible&&(this.table.rowManager.element.addEventListener("scroll",this.blurEvent),this.subscribe("cell-editing",this.blurEvent),document.body.addEventListener("click",this.blurEvent),document.body.addEventListener("contextmenu",this.blurEvent),document.body.addEventListener("mousedown",this.blurEvent),window.addEventListener("resize",this.blurEvent),document.body.addEventListener("keydown",this.escEvent),this.blurEventsBound=!0)},100),this.blurCallback=e),this}_escapeCheck(e){e.keyCode==27&&this.hide()}blockHide(){this.hideable=!1}restoreHide(){this.hideable=!0}hide(e=!1){return this.visible&&this.hideable&&(this.blurable&&this.blurEventsBound&&(document.body.removeEventListener("keydown",this.escEvent),document.body.removeEventListener("click",this.blurEvent),document.body.removeEventListener("contextmenu",this.blurEvent),document.body.removeEventListener("mousedown",this.blurEvent),window.removeEventListener("resize",this.blurEvent),this.table.rowManager.element.removeEventListener("scroll",this.blurEvent),this.unsubscribe("cell-editing",this.blurEvent),this.blurEventsBound=!1),this.childPopup&&this.childPopup.hide(),this.parent&&(this.parent.childPopup=null),this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.visible=!1,this.blurCallback&&!e&&this.blurCallback(),this.unsubscribe("table-destroy",this.destroyBinding)),this}child(e){return this.childPopup&&this.childPopup.hide(),this.childPopup=new H2(this.table,e,this),this.childPopup}}class qi extends kl{constructor(e,r){super(e),this._handler=null}initialize(){}registerTableOption(e,r){this.table.optionsList.register(e,r)}registerColumnOption(e,r){this.table.columnManager.optionsList.register(e,r)}registerTableFunction(e,r){typeof this.table[e]>"u"?this.table[e]=(...C)=>(this.table.initGuard(e),r(...C)):console.warn("Unable to bind table function, name already in use",e)}registerComponentFunction(e,r,C){return this.table.componentFunctionBinder.bind(e,r,C)}registerDataHandler(e,r){this.table.rowManager.registerDataPipelineHandler(e,r),this._handler=e}registerDisplayHandler(e,r){this.table.rowManager.registerDisplayPipelineHandler(e,r),this._handler=e}displayRows(e){var r=this.table.rowManager.displayRows.length-1,C;if(this._handler&&(C=this.table.rowManager.displayPipeline.findIndex(D=>D.handler===this._handler),C>-1&&(r=C)),e&&(r=r+e),this._handler)return r>-1?this.table.rowManager.getDisplayRows(r):this.activeRows()}activeRows(){return this.table.rowManager.activeRows}refreshData(e,r){r||(r=this._handler),r&&this.table.rowManager.refreshActiveData(r,!1,e)}footerAppend(e){return this.table.footerManager.append(e)}footerPrepend(e){return this.table.footerManager.prepend(e)}footerRemove(e){return this.table.footerManager.remove(e)}popup(e,r){return new H2(this.table,e,r)}alert(e,r){return this.table.alertManager.alert(e,r)}clearAlert(){return this.table.alertManager.clear()}}var uR={};class i0 extends qi{constructor(e){super(e),this.allowedTypes=["","data","download","clipboard","print","htmlOutput"],this.registerColumnOption("accessor"),this.registerColumnOption("accessorParams"),this.registerColumnOption("accessorData"),this.registerColumnOption("accessorDataParams"),this.registerColumnOption("accessorDownload"),this.registerColumnOption("accessorDownloadParams"),this.registerColumnOption("accessorClipboard"),this.registerColumnOption("accessorClipboardParams"),this.registerColumnOption("accessorPrint"),this.registerColumnOption("accessorPrintParams"),this.registerColumnOption("accessorHtmlOutput"),this.registerColumnOption("accessorHtmlOutputParams")}initialize(){this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("row-data-retrieve",this.transformRow.bind(this))}initializeColumn(e){var r=!1,C={};this.allowedTypes.forEach(D=>{var T="accessor"+(D.charAt(0).toUpperCase()+D.slice(1)),p;e.definition[T]&&(p=this.lookupAccessor(e.definition[T]),p&&(r=!0,C[T]={accessor:p,params:e.definition[T+"Params"]||{}}))}),r&&(e.modules.accessor=C)}lookupAccessor(e){var r=!1;switch(typeof e){case"string":i0.accessors[e]?r=i0.accessors[e]:console.warn("Accessor Error - No such accessor found, ignoring: ",e);break;case"function":r=e;break}return r}transformRow(e,r){var C="accessor"+(r.charAt(0).toUpperCase()+r.slice(1)),D=e.getComponent(),T=oo.deepClone(e.data||{});return this.table.columnManager.traverse(function(p){var t,d,g,i;p.modules.accessor&&(d=p.modules.accessor[C]||p.modules.accessor.accessor||!1,d&&(t=p.getFieldValue(T),t!="undefined"&&(i=p.getComponent(),g=typeof d.params=="function"?d.params(t,T,r,i,D):d.params,p.setFieldValue(T,d.accessor(t,T,r,g,i,D)))))}),T}}i0.moduleName="accessor";i0.accessors=uR;var cR={method:"GET"};function nx(n,e){var r=[];if(e=e||"",Array.isArray(n))n.forEach((D,T)=>{r=r.concat(nx(D,e?e+"["+T+"]":T))});else if(typeof n=="object")for(var C in n)r=r.concat(nx(n[C],e?e+"["+C+"]":C));else r.push({key:e,value:n});return r}function hR(n){var e=nx(n),r=[];return e.forEach(function(C){r.push(encodeURIComponent(C.key)+"="+encodeURIComponent(C.value))}),r.join("&")}function LM(n,e,r){return n&&r&&Object.keys(r).length&&(!e.method||e.method.toLowerCase()=="get")&&(e.method="get",n+=(n.includes("?")?"&":"?")+hR(r)),n}function fR(n,e,r){var C;return new Promise((D,T)=>{if(n=this.urlGenerator.call(this.table,n,e,r),e.method.toUpperCase()!="GET")if(C=typeof this.table.options.ajaxContentType=="object"?this.table.options.ajaxContentType:this.contentTypeFormatters[this.table.options.ajaxContentType],C){for(var p in C.headers)e.headers||(e.headers={}),typeof e.headers[p]>"u"&&(e.headers[p]=C.headers[p]);e.body=C.body.call(this,n,e,r)}else console.warn("Ajax Error - Invalid ajaxContentType value:",this.table.options.ajaxContentType);n?(typeof e.headers>"u"&&(e.headers={}),typeof e.headers.Accept>"u"&&(e.headers.Accept="application/json"),typeof e.headers["X-Requested-With"]>"u"&&(e.headers["X-Requested-With"]="XMLHttpRequest"),typeof e.mode>"u"&&(e.mode="cors"),e.mode=="cors"?(typeof e.headers.Origin>"u"&&(e.headers.Origin=window.location.origin),typeof e.credentials>"u"&&(e.credentials="same-origin")):typeof e.credentials>"u"&&(e.credentials="include"),fetch(n,e).then(t=>{t.ok?t.json().then(d=>{D(d)}).catch(d=>{T(d),console.warn("Ajax Load Error - Invalid JSON returned",d)}):(console.error("Ajax Load Error - Connection Error: "+t.status,t.statusText),T(t))}).catch(t=>{console.error("Ajax Load Error - Connection Error: ",t),T(t)})):(console.warn("Ajax Load Error - No URL Set"),D([]))})}function rx(n,e){var r=[];if(e=e||"",Array.isArray(n))n.forEach((D,T)=>{r=r.concat(rx(D,e?e+"["+T+"]":T))});else if(typeof n=="object")for(var C in n)r=r.concat(rx(n[C],e?e+"["+C+"]":C));else r.push({key:e,value:n});return r}var dR={json:{headers:{"Content-Type":"application/json"},body:function(n,e,r){return JSON.stringify(r)}},form:{headers:{},body:function(n,e,r){var C=rx(r),D=new FormData;return C.forEach(function(T){D.append(T.key,T.value)}),D}}};class Rc extends qi{constructor(e){super(e),this.config={},this.url="",this.urlGenerator=!1,this.params=!1,this.loaderPromise=!1,this.registerTableOption("ajaxURL",!1),this.registerTableOption("ajaxURLGenerator",!1),this.registerTableOption("ajaxParams",{}),this.registerTableOption("ajaxConfig","get"),this.registerTableOption("ajaxContentType","form"),this.registerTableOption("ajaxRequestFunc",!1),this.registerTableOption("ajaxRequesting",function(){}),this.registerTableOption("ajaxResponse",!1),this.contentTypeFormatters=Rc.contentTypeFormatters}initialize(){this.loaderPromise=this.table.options.ajaxRequestFunc||Rc.defaultLoaderPromise,this.urlGenerator=this.table.options.ajaxURLGenerator||Rc.defaultURLGenerator,this.table.options.ajaxURL&&this.setUrl(this.table.options.ajaxURL),this.setDefaultConfig(this.table.options.ajaxConfig),this.registerTableFunction("getAjaxUrl",this.getUrl.bind(this)),this.subscribe("data-loading",this.requestDataCheck.bind(this)),this.subscribe("data-params",this.requestParams.bind(this)),this.subscribe("data-load",this.requestData.bind(this))}requestParams(e,r,C,D){var T=this.table.options.ajaxParams;return T&&(typeof T=="function"&&(T=T.call(this.table)),D=Object.assign(Object.assign({},T),D)),D}requestDataCheck(e,r,C,D){return!!(!e&&this.url||typeof e=="string")}requestData(e,r,C,D,T){var p;return!T&&this.requestDataCheck(e)?(e&&this.setUrl(e),p=this.generateConfig(C),this.sendRequest(this.url,r,p)):T}setDefaultConfig(e={}){this.config=Object.assign({},Rc.defaultConfig),typeof e=="string"?this.config.method=e:Object.assign(this.config,e)}generateConfig(e={}){var r=Object.assign({},this.config);return typeof e=="string"?r.method=e:Object.assign(r,e),r}setUrl(e){this.url=e}getUrl(){return this.url}sendRequest(e,r,C){return this.table.options.ajaxRequesting.call(this.table,e,r)!==!1?this.loaderPromise(e,C,r).then(D=>(this.table.options.ajaxResponse&&(D=this.table.options.ajaxResponse.call(this.table,e,r,D)),D)):Promise.reject()}}Rc.moduleName="ajax";Rc.defaultConfig=cR;Rc.defaultURLGenerator=LM;Rc.defaultLoaderPromise=fR;Rc.contentTypeFormatters=dR;var pR={replace:function(n){return this.table.setData(n)},update:function(n){return this.table.updateOrAddData(n)},insert:function(n){return this.table.addData(n)},range:function(n){var e=[],r=this.table.modules.selectRange.activeRange,C=!1,D,T,p,t,d;return d=n.length,r&&(D=r.getBounds(),T=D.start,D.start===D.end&&(C=!0),T&&(e=this.table.rowManager.activeRows.slice(),p=e.indexOf(T.row),C?t=n.length:t=e.indexOf(D.end.row)-p+1,p>-1&&(this.table.blockRedraw(),e=e.slice(p,p+t),e.forEach((g,i)=>{g.updateData(n[i%d])}),this.table.restoreRedraw()))),e}},mR={table:function(n){var e=[],r=!0,C=this.table.columnManager.columns,D=[],T=[];return n=n.split(` +`),n.forEach(function(p){e.push(p.split(" "))}),e.length&&!(e.length===1&&e[0].length<2)?(e[0].forEach(function(p){var t=C.find(function(d){return p&&d.definition.title&&p.trim()&&d.definition.title.trim()===p.trim()});t?D.push(t):r=!1}),r||(r=!0,D=[],e[0].forEach(function(p){var t=C.find(function(d){return p&&d.field&&p.trim()&&d.field.trim()===p.trim()});t?D.push(t):r=!1}),r||(D=this.table.columnManager.columnsByIndex)),r&&e.shift(),e.forEach(function(p){var t={};p.forEach(function(d,g){D[g]&&(t[D[g].field]=d)}),T.push(t)}),T):!1},range:function(n){var e=[],r=[],C=this.table.modules.selectRange.activeRange,D=!1,T,p,t,d,g;return C&&(T=C.getBounds(),p=T.start,T.start===T.end&&(D=!0),p&&(n=n.split(` +`),n.forEach(function(i){e.push(i.split(" "))}),e.length&&(d=this.table.columnManager.getVisibleColumnsByIndex(),g=d.indexOf(p.column),g>-1)))?(D?t=e[0].length:t=d.indexOf(T.end.column)-g+1,d=d.slice(g,g+t),e.forEach(i=>{var M={},v=i.length;d.forEach(function(f,l){M[f.field]=i[l%v]}),r.push(M)}),r):!1}};class qd extends qi{constructor(e){super(e),this.mode=!0,this.pasteParser=function(){},this.pasteAction=function(){},this.customSelection=!1,this.rowRange=!1,this.blocked=!0,this.registerTableOption("clipboard",!1),this.registerTableOption("clipboardCopyStyled",!0),this.registerTableOption("clipboardCopyConfig",!1),this.registerTableOption("clipboardCopyFormatter",!1),this.registerTableOption("clipboardCopyRowRange","active"),this.registerTableOption("clipboardPasteParser","table"),this.registerTableOption("clipboardPasteAction","insert"),this.registerColumnOption("clipboard"),this.registerColumnOption("titleClipboard")}initialize(){this.mode=this.table.options.clipboard,this.rowRange=this.table.options.clipboardCopyRowRange,(this.mode===!0||this.mode==="copy")&&this.table.element.addEventListener("copy",e=>{var r,C,D;this.blocked||(e.preventDefault(),this.customSelection?(r=this.customSelection,this.table.options.clipboardCopyFormatter&&(r=this.table.options.clipboardCopyFormatter("plain",r))):(D=this.table.modules.export.generateExportList(this.table.options.clipboardCopyConfig,this.table.options.clipboardCopyStyled,this.rowRange,"clipboard"),C=this.table.modules.export.generateHTMLTable(D),r=C?this.generatePlainContent(D):"",this.table.options.clipboardCopyFormatter&&(r=this.table.options.clipboardCopyFormatter("plain",r),C=this.table.options.clipboardCopyFormatter("html",C))),window.clipboardData&&window.clipboardData.setData?window.clipboardData.setData("Text",r):e.clipboardData&&e.clipboardData.setData?(e.clipboardData.setData("text/plain",r),C&&e.clipboardData.setData("text/html",C)):e.originalEvent&&e.originalEvent.clipboardData.setData&&(e.originalEvent.clipboardData.setData("text/plain",r),C&&e.originalEvent.clipboardData.setData("text/html",C)),this.dispatchExternal("clipboardCopied",r,C),this.reset())}),(this.mode===!0||this.mode==="paste")&&this.table.element.addEventListener("paste",e=>{this.paste(e)}),this.setPasteParser(this.table.options.clipboardPasteParser),this.setPasteAction(this.table.options.clipboardPasteAction),this.registerTableFunction("copyToClipboard",this.copy.bind(this))}reset(){this.blocked=!0,this.customSelection=!1}generatePlainContent(e){var r=[];return e.forEach(C=>{var D=[];C.columns.forEach(T=>{var p="";if(T)if(C.type==="group"&&(T.value=T.component.getKey()),T.value===null)p="";else switch(typeof T.value){case"object":p=JSON.stringify(T.value);break;case"undefined":p="";break;default:p=T.value}D.push(p)}),r.push(D.join(" "))}),r.join(` +`)}copy(e,r){var C,D;this.blocked=!1,this.customSelection=!1,(this.mode===!0||this.mode==="copy")&&(this.rowRange=e||this.table.options.clipboardCopyRowRange,typeof window.getSelection<"u"&&typeof document.createRange<"u"?(e=document.createRange(),e.selectNodeContents(this.table.element),C=window.getSelection(),C.toString()&&r&&(this.customSelection=C.toString()),C.removeAllRanges(),C.addRange(e)):typeof document.selection<"u"&&typeof document.body.createTextRange<"u"&&(D=document.body.createTextRange(),D.moveToElementText(this.table.element),D.select()),document.execCommand("copy"),C&&C.removeAllRanges())}setPasteAction(e){switch(typeof e){case"string":this.pasteAction=qd.pasteActions[e],this.pasteAction||console.warn("Clipboard Error - No such paste action found:",e);break;case"function":this.pasteAction=e;break}}setPasteParser(e){switch(typeof e){case"string":this.pasteParser=qd.pasteParsers[e],this.pasteParser||console.warn("Clipboard Error - No such paste parser found:",e);break;case"function":this.pasteParser=e;break}}paste(e){var r,C,D;this.checkPasteOrigin(e)&&(r=this.getPasteData(e),C=this.pasteParser.call(this,r),C?(e.preventDefault(),this.table.modExists("mutator")&&(C=this.mutateData(C)),D=this.pasteAction.call(this,C),this.dispatchExternal("clipboardPasted",r,C,D)):this.dispatchExternal("clipboardPasteError",r))}mutateData(e){var r=[];return Array.isArray(e)?e.forEach(C=>{r.push(this.table.modules.mutator.transformRow(C,"clipboard"))}):r=e,r}checkPasteOrigin(e){var r=!0,C=this.confirm("clipboard-paste",[e]);return(C||!["DIV","SPAN"].includes(e.target.tagName))&&(r=!1),r}getPasteData(e){var r;return window.clipboardData&&window.clipboardData.getData?r=window.clipboardData.getData("Text"):e.clipboardData&&e.clipboardData.getData?r=e.clipboardData.getData("text/plain"):e.originalEvent&&e.originalEvent.clipboardData.getData&&(r=e.originalEvent.clipboardData.getData("text/plain")),r}}qd.moduleName="clipboard";qd.pasteActions=pR;qd.pasteParsers=mR;class gR{constructor(e){return this._row=e,new Proxy(this,{get:function(r,C,D){return typeof r[C]<"u"?r[C]:r._row.table.componentFunctionBinder.handle("row",r._row,C)}})}getData(e){return this._row.getData(e)}getElement(){return this._row.getElement()}getTable(){return this._row.table}getCells(){var e=[];return this._row.getCells().forEach(function(r){e.push(r.getComponent())}),e}getCell(e){var r=this._row.getCell(e);return r?r.getComponent():!1}_getSelf(){return this._row}}class IM{constructor(e){return this._cell=e,new Proxy(this,{get:function(r,C,D){return typeof r[C]<"u"?r[C]:r._cell.table.componentFunctionBinder.handle("cell",r._cell,C)}})}getValue(){return this._cell.getValue()}getOldValue(){return this._cell.getOldValue()}getInitialValue(){return this._cell.initialValue}getElement(){return this._cell.getElement()}getRow(){return this._cell.row.getComponent()}getData(e){return this._cell.row.getData(e)}getType(){return"cell"}getField(){return this._cell.column.getField()}getColumn(){return this._cell.column.getComponent()}setValue(e,r){typeof r>"u"&&(r=!0),this._cell.setValue(e,r)}restoreOldValue(){this._cell.setValueActual(this._cell.getOldValue())}restoreInitialValue(){this._cell.setValueActual(this._cell.initialValue)}checkHeight(){this._cell.checkHeight()}getTable(){return this._cell.table}_getSelf(){return this._cell}}class eg extends kl{constructor(e,r){super(e.table),this.table=e.table,this.column=e,this.row=r,this.element=null,this.value=null,this.initialValue,this.oldValue=null,this.modules={},this.height=null,this.width=null,this.minWidth=null,this.component=null,this.loaded=!1,this.build()}build(){this.generateElement(),this.setWidth(),this._configureCell(),this.setValueActual(this.column.getFieldValue(this.row.data)),this.initialValue=this.value}generateElement(){this.element=document.createElement("div"),this.element.className="tabulator-cell",this.element.setAttribute("role","gridcell")}_configureCell(){var e=this.element,r=this.column.getField(),C={top:"flex-start",bottom:"flex-end",middle:"center"},D={left:"flex-start",right:"flex-end",center:"center"};if(e.style.textAlign=this.column.hozAlign,this.column.vertAlign&&(e.style.display="inline-flex",e.style.alignItems=C[this.column.vertAlign]||"",this.column.hozAlign&&(e.style.justifyContent=D[this.column.hozAlign]||"")),r&&e.setAttribute("tabulator-field",r),this.column.definition.cssClass){var T=this.column.definition.cssClass.split(" ");T.forEach(p=>{e.classList.add(p)})}this.dispatch("cell-init",this),this.column.visible||this.hide()}_generateContents(){var e;switch(e=this.chain("cell-format",this,null,()=>this.element.innerHTML=this.value),typeof e){case"object":if(e instanceof Node){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.element.appendChild(e)}else this.element.innerHTML="",e!=null&&console.warn("Format Error - Formatter has returned a type of object, the only valid formatter object return is an instance of Node, the formatter returned:",e);break;case"undefined":this.element.innerHTML="";break;default:this.element.innerHTML=e}}cellRendered(){this.dispatch("cell-rendered",this)}getElement(e){return this.loaded||(this.loaded=!0,e||this.layoutElement()),this.element}getValue(){return this.value}getOldValue(){return this.oldValue}setValue(e,r,C){var D=this.setValueProcessData(e,r,C);D&&(this.dispatch("cell-value-updated",this),this.cellRendered(),this.column.definition.cellEdited&&this.column.definition.cellEdited.call(this.table,this.getComponent()),this.dispatchExternal("cellEdited",this.getComponent()),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.table.rowManager.getData()))}setValueProcessData(e,r,C){var D=!1;return(this.value!==e||C)&&(D=!0,r&&(e=this.chain("cell-value-changing",[this,e],null,e))),this.setValueActual(e),D&&this.dispatch("cell-value-changed",this),D}setValueActual(e){this.oldValue=this.value,this.value=e,this.dispatch("cell-value-save-before",this),this.column.setFieldValue(this.row.data,e),this.dispatch("cell-value-save-after",this),this.loaded&&this.layoutElement()}layoutElement(){this._generateContents(),this.dispatch("cell-layout",this)}setWidth(){this.width=this.column.width,this.element.style.width=this.column.widthStyled}clearWidth(){this.width="",this.element.style.width=""}getWidth(){return this.width||this.element.offsetWidth}setMinWidth(){this.minWidth=this.column.minWidth,this.element.style.minWidth=this.column.minWidthStyled}setMaxWidth(){this.maxWidth=this.column.maxWidth,this.element.style.maxWidth=this.column.maxWidthStyled}checkHeight(){this.row.reinitializeHeight()}clearHeight(){this.element.style.height="",this.height=null,this.dispatch("cell-height",this,"")}setHeight(){this.height=this.row.height,this.element.style.height=this.row.heightStyled,this.dispatch("cell-height",this,this.row.heightStyled)}getHeight(){return this.height||this.element.offsetHeight}show(){this.element.style.display=this.column.vertAlign?"inline-flex":""}hide(){this.element.style.display="none"}delete(){this.dispatch("cell-delete",this),!this.table.rowManager.redrawBlock&&this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.element=!1,this.column.deleteCell(this),this.row.deleteCell(this),this.calcs={}}getIndex(){return this.row.getCellIndex(this)}getComponent(){return this.component||(this.component=new IM(this)),this.component}}class RM{constructor(e){return this._column=e,this.type="ColumnComponent",new Proxy(this,{get:function(r,C,D){return typeof r[C]<"u"?r[C]:r._column.table.componentFunctionBinder.handle("column",r._column,C)}})}getElement(){return this._column.getElement()}getDefinition(){return this._column.getDefinition()}getField(){return this._column.getField()}getTitleDownload(){return this._column.getTitleDownload()}getCells(){var e=[];return this._column.cells.forEach(function(r){e.push(r.getComponent())}),e}isVisible(){return this._column.visible}show(){this._column.isGroup?this._column.columns.forEach(function(e){e.show()}):this._column.show()}hide(){this._column.isGroup?this._column.columns.forEach(function(e){e.hide()}):this._column.hide()}toggle(){this._column.visible?this.hide():this.show()}delete(){return this._column.delete()}getSubColumns(){var e=[];return this._column.columns.length&&this._column.columns.forEach(function(r){e.push(r.getComponent())}),e}getParentColumn(){return this._column.parent instanceof vh?this._column.parent.getComponent():!1}_getSelf(){return this._column}scrollTo(e,r){return this._column.table.columnManager.scrollToColumn(this._column,e,r)}getTable(){return this._column.table}move(e,r){var C=this._column.table.columnManager.findColumn(e);C?this._column.table.columnManager.moveColumn(this._column,C,r):console.warn("Move Error - No matching column found:",C)}getNextColumn(){var e=this._column.nextColumn();return e?e.getComponent():!1}getPrevColumn(){var e=this._column.prevColumn();return e?e.getComponent():!1}updateDefinition(e){return this._column.updateDefinition(e)}getWidth(){return this._column.getWidth()}setWidth(e){var r;return e===!0?r=this._column.reinitializeWidth(!0):r=this._column.setWidth(e),this._column.table.columnManager.rerenderColumns(!0),r}}var PM={title:void 0,field:void 0,columns:void 0,visible:void 0,hozAlign:void 0,vertAlign:void 0,width:void 0,minWidth:40,maxWidth:void 0,maxInitialWidth:void 0,cssClass:void 0,variableHeight:void 0,headerVertical:void 0,headerHozAlign:void 0,headerWordWrap:!1,editableTitle:void 0};class vh extends kl{constructor(e,r){super(r.table),this.definition=e,this.parent=r,this.type="column",this.columns=[],this.cells=[],this.element=this.createElement(),this.contentElement=!1,this.titleHolderElement=!1,this.titleElement=!1,this.groupElement=this.createGroupElement(),this.isGroup=!1,this.hozAlign="",this.vertAlign="",this.field="",this.fieldStructure="",this.getFieldValue="",this.setFieldValue="",this.titleDownload=null,this.titleFormatterRendered=!1,this.mapDefinitions(),this.setField(this.definition.field),this.modules={},this.width=null,this.widthStyled="",this.maxWidth=null,this.maxWidthStyled="",this.maxInitialWidth=null,this.minWidth=null,this.minWidthStyled="",this.widthFixed=!1,this.visible=!0,this.component=null,this.definition.columns?(this.isGroup=!0,this.definition.columns.forEach((C,D)=>{var T=new vh(C,this);this.attachColumn(T)}),this.checkColumnVisibility()):r.registerColumnField(this),this._initialize()}createElement(){var e=document.createElement("div");switch(e.classList.add("tabulator-col"),e.setAttribute("role","columnheader"),e.setAttribute("aria-sort","none"),this.table.options.columnHeaderVertAlign){case"middle":e.style.justifyContent="center";break;case"bottom":e.style.justifyContent="flex-end";break}return e}createGroupElement(){var e=document.createElement("div");return e.classList.add("tabulator-col-group-cols"),e}mapDefinitions(){var e=this.table.options.columnDefaults;if(e)for(let r in e)typeof this.definition[r]>"u"&&(this.definition[r]=e[r]);this.definition=this.table.columnManager.optionsList.generate(vh.defaultOptionList,this.definition)}checkDefinition(){Object.keys(this.definition).forEach(e=>{vh.defaultOptionList.indexOf(e)===-1&&console.warn("Invalid column definition option in '"+(this.field||this.definition.title)+"' column:",e)})}setField(e){this.field=e,this.fieldStructure=e?this.table.options.nestedFieldSeparator?e.split(this.table.options.nestedFieldSeparator):[e]:[],this.getFieldValue=this.fieldStructure.length>1?this._getNestedData:this._getFlatData,this.setFieldValue=this.fieldStructure.length>1?this._setNestedData:this._setFlatData}registerColumnPosition(e){this.parent.registerColumnPosition(e)}registerColumnField(e){this.parent.registerColumnField(e)}reRegisterPosition(){this.isGroup?this.columns.forEach(function(e){e.reRegisterPosition()}):this.registerColumnPosition(this)}_initialize(){for(var e=this.definition;this.element.firstChild;)this.element.removeChild(this.element.firstChild);e.headerVertical&&(this.element.classList.add("tabulator-col-vertical"),e.headerVertical==="flip"&&this.element.classList.add("tabulator-col-vertical-flip")),this.contentElement=this._buildColumnHeaderContent(),this.element.appendChild(this.contentElement),this.isGroup?this._buildGroupHeader():this._buildColumnHeader(),this.dispatch("column-init",this)}_buildColumnHeader(){var e=this.definition;if(this.dispatch("column-layout",this),typeof e.visible<"u"&&(e.visible?this.show(!0):this.hide(!0)),e.cssClass){var r=e.cssClass.split(" ");r.forEach(C=>{this.element.classList.add(C)})}e.field&&this.element.setAttribute("tabulator-field",e.field),this.setMinWidth(parseInt(e.minWidth)),e.maxInitialWidth&&(this.maxInitialWidth=parseInt(e.maxInitialWidth)),e.maxWidth&&this.setMaxWidth(parseInt(e.maxWidth)),this.reinitializeWidth(),this.hozAlign=this.definition.hozAlign,this.vertAlign=this.definition.vertAlign,this.titleElement.style.textAlign=this.definition.headerHozAlign}_buildColumnHeaderContent(){var e=document.createElement("div");return e.classList.add("tabulator-col-content"),this.titleHolderElement=document.createElement("div"),this.titleHolderElement.classList.add("tabulator-col-title-holder"),e.appendChild(this.titleHolderElement),this.titleElement=this._buildColumnHeaderTitle(),this.titleHolderElement.appendChild(this.titleElement),e}_buildColumnHeaderTitle(){var e=this.definition,r=document.createElement("div");if(r.classList.add("tabulator-col-title"),e.headerWordWrap&&r.classList.add("tabulator-col-title-wrap"),e.editableTitle){var C=document.createElement("input");C.classList.add("tabulator-title-editor"),C.addEventListener("click",D=>{D.stopPropagation(),C.focus()}),C.addEventListener("mousedown",D=>{D.stopPropagation()}),C.addEventListener("change",()=>{e.title=C.value,this.dispatchExternal("columnTitleChanged",this.getComponent())}),r.appendChild(C),e.field?this.langBind("columns|"+e.field,D=>{C.value=D||e.title||" "}):C.value=e.title||" "}else e.field?this.langBind("columns|"+e.field,D=>{this._formatColumnHeaderTitle(r,D||e.title||" ")}):this._formatColumnHeaderTitle(r,e.title||" ");return r}_formatColumnHeaderTitle(e,r){var C=this.chain("column-format",[this,r,e],null,()=>r);switch(typeof C){case"object":C instanceof Node?e.appendChild(C):(e.innerHTML="",console.warn("Format Error - Title formatter has returned a type of object, the only valid formatter object return is an instance of Node, the formatter returned:",C));break;case"undefined":e.innerHTML="";break;default:e.innerHTML=C}}_buildGroupHeader(){if(this.element.classList.add("tabulator-col-group"),this.element.setAttribute("role","columngroup"),this.element.setAttribute("aria-title",this.definition.title),this.definition.cssClass){var e=this.definition.cssClass.split(" ");e.forEach(r=>{this.element.classList.add(r)})}this.titleElement.style.textAlign=this.definition.headerHozAlign,this.element.appendChild(this.groupElement)}_getFlatData(e){return e[this.field]}_getNestedData(e){var r=e,C=this.fieldStructure,D=C.length,T;for(let p=0;p{r.push(C),r=r.concat(C.getColumns(!0))}):r=this.columns,r}getCells(){return this.cells}getTopColumn(){return this.parent.isGroup?this.parent.getTopColumn():this}getDefinition(e){var r=[];return this.isGroup&&e&&(this.columns.forEach(function(C){r.push(C.getDefinition(!0))}),this.definition.columns=r),this.definition}checkColumnVisibility(){var e=!1;this.columns.forEach(function(r){r.visible&&(e=!0)}),e?(this.show(),this.dispatchExternal("columnVisibilityChanged",this.getComponent(),!1)):this.hide()}show(e,r){this.visible||(this.visible=!0,this.element.style.display="",this.parent.isGroup&&this.parent.checkColumnVisibility(),this.cells.forEach(function(C){C.show()}),!this.isGroup&&this.width===null&&this.reinitializeWidth(),this.table.columnManager.verticalAlignHeaders(),this.dispatch("column-show",this,r),e||this.dispatchExternal("columnVisibilityChanged",this.getComponent(),!0),this.parent.isGroup&&this.parent.matchChildWidths(),this.silent||this.table.columnManager.rerenderColumns())}hide(e,r){this.visible&&(this.visible=!1,this.element.style.display="none",this.table.columnManager.verticalAlignHeaders(),this.parent.isGroup&&this.parent.checkColumnVisibility(),this.cells.forEach(function(C){C.hide()}),this.dispatch("column-hide",this,r),e||this.dispatchExternal("columnVisibilityChanged",this.getComponent(),!1),this.parent.isGroup&&this.parent.matchChildWidths(),this.silent||this.table.columnManager.rerenderColumns())}matchChildWidths(){var e=0;this.contentElement&&this.columns.length&&(this.columns.forEach(function(r){r.visible&&(e+=r.getWidth())}),this.contentElement.style.maxWidth=e-1+"px",this.parent.isGroup&&this.parent.matchChildWidths())}removeChild(e){var r=this.columns.indexOf(e);r>-1&&this.columns.splice(r,1),this.columns.length||this.delete()}setWidth(e){this.widthFixed=!0,this.setWidthActual(e)}setWidthActual(e){isNaN(e)&&(e=Math.floor(this.table.element.clientWidth/100*parseInt(e))),e=Math.max(this.minWidth,e),this.maxWidth&&(e=Math.min(this.maxWidth,e)),this.width=e,this.widthStyled=e?e+"px":"",this.element.style.width=this.widthStyled,this.isGroup||this.cells.forEach(function(r){r.setWidth()}),this.parent.isGroup&&this.parent.matchChildWidths(),this.dispatch("column-width",this)}checkCellHeights(){var e=[];this.cells.forEach(function(r){r.row.heightInitialized&&(r.row.getElement().offsetParent!==null?(e.push(r.row),r.row.clearCellHeight()):r.row.heightInitialized=!1)}),e.forEach(function(r){r.calcHeight()}),e.forEach(function(r){r.setCellHeight()})}getWidth(){var e=0;return this.isGroup?this.columns.forEach(function(r){r.visible&&(e+=r.getWidth())}):e=this.width,e}getLeftOffset(){var e=this.element.offsetLeft;return this.parent.isGroup&&(e+=this.parent.getLeftOffset()),e}getHeight(){return Math.ceil(this.element.getBoundingClientRect().height)}setMinWidth(e){this.maxWidth&&e>this.maxWidth&&(e=this.maxWidth,console.warn("the minWidth ("+e+"px) for column '"+this.field+"' cannot be bigger that its maxWidth ("+this.maxWidthStyled+")")),this.minWidth=e,this.minWidthStyled=e?e+"px":"",this.element.style.minWidth=this.minWidthStyled,this.cells.forEach(function(r){r.setMinWidth()})}setMaxWidth(e){this.minWidth&&e{this.isGroup&&this.columns.forEach(function(D){D.delete()}),this.dispatch("column-delete",this);var C=this.cells.length;for(let D=0;D-1?this._nextVisibleColumn(e+1):!1}_nextVisibleColumn(e){var r=this.table.columnManager.getColumnByIndex(e);return!r||r.visible?r:this._nextVisibleColumn(e+1)}prevColumn(){var e=this.table.columnManager.findColumnIndex(this);return e>-1?this._prevVisibleColumn(e-1):!1}_prevVisibleColumn(e){var r=this.table.columnManager.getColumnByIndex(e);return!r||r.visible?r:this._prevVisibleColumn(e-1)}reinitializeWidth(e){this.widthFixed=!1,typeof this.definition.width<"u"&&!e&&this.setWidth(this.definition.width),this.dispatch("column-width-fit-before",this),this.fitToData(e),this.dispatch("column-width-fit-after",this)}fitToData(e){if(!this.isGroup){this.widthFixed||(this.element.style.width="",this.cells.forEach(D=>{D.clearWidth()}));var r=this.element.offsetWidth;if((!this.width||!this.widthFixed)&&(this.cells.forEach(D=>{var T=D.getWidth();T>r&&(r=T)}),r)){var C=r+1;this.maxInitialWidth&&!e&&(C=Math.min(C,this.maxInitialWidth)),this.setWidthActual(C)}}}updateDefinition(e){var r;return this.isGroup||this.parent.isGroup?(console.error("Column Update Error - The updateDefinition function is only available on ungrouped columns"),Promise.reject("Column Update Error - The updateDefinition function is only available on columns, not column groups")):(r=Object.assign({},this.getDefinition()),r=Object.assign(r,e),this.table.columnManager.addColumn(r,!1,this).then(C=>(r.field==this.field&&(this.field=!1),this.delete().then(()=>C.getComponent()))))}deleteCell(e){var r=this.cells.indexOf(e);r>-1&&this.cells.splice(r,1)}getComponent(){return this.component||(this.component=new RM(this)),this.component}getPosition(){return this.table.columnManager.getVisibleColumnsByIndex().indexOf(this)+1}}vh.defaultOptionList=PM;class Wy{constructor(e){return this._row=e,new Proxy(this,{get:function(r,C,D){return typeof r[C]<"u"?r[C]:r._row.table.componentFunctionBinder.handle("row",r._row,C)}})}getData(e){return this._row.getData(e)}getElement(){return this._row.getElement()}getCells(){var e=[];return this._row.getCells().forEach(function(r){e.push(r.getComponent())}),e}getCell(e){var r=this._row.getCell(e);return r?r.getComponent():!1}getIndex(){return this._row.getData("data")[this._row.table.options.index]}getPosition(){return this._row.getPosition()}watchPosition(e){return this._row.watchPosition(e)}delete(){return this._row.delete()}scrollTo(e,r){return this._row.table.rowManager.scrollToRow(this._row,e,r)}move(e,r){this._row.moveToRow(e,r)}update(e){return this._row.updateData(e)}normalizeHeight(){this._row.normalizeHeight(!0)}_getSelf(){return this._row}reformat(){return this._row.reinitialize()}getTable(){return this._row.table}getNextRow(){var e=this._row.nextRow();return e&&e.getComponent()}getPrevRow(){var e=this._row.prevRow();return e&&e.getComponent()}}class vl extends kl{constructor(e,r,C="row"){super(r.table),this.parent=r,this.data={},this.type=C,this.element=!1,this.modules={},this.cells=[],this.height=0,this.heightStyled="",this.manualHeight=!1,this.outerHeight=0,this.initialized=!1,this.heightInitialized=!1,this.position=0,this.positionWatchers=[],this.component=null,this.created=!1,this.setData(e)}create(){this.created||(this.created=!0,this.generateElement())}createElement(){var e=document.createElement("div");e.classList.add("tabulator-row"),e.setAttribute("role","row"),this.element=e}getElement(){return this.create(),this.element}detachElement(){this.element&&this.element.parentNode&&this.element.parentNode.removeChild(this.element)}generateElement(){this.createElement(),this.dispatch("row-init",this)}generateCells(){this.cells=this.table.columnManager.generateCells(this)}initialize(e,r){if(this.create(),!this.initialized||e){for(this.deleteCells();this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.dispatch("row-layout-before",this),this.generateCells(),this.initialized=!0,this.table.columnManager.renderer.renderRowCells(this,r),e&&this.normalizeHeight(),this.dispatch("row-layout",this),this.table.options.rowFormatter&&this.table.options.rowFormatter(this.getComponent()),this.dispatch("row-layout-after",this)}else this.table.columnManager.renderer.rerenderRowCells(this,r)}rendered(){this.cells.forEach(e=>{e.cellRendered()})}reinitializeHeight(){this.heightInitialized=!1,this.element&&this.element.offsetParent!==null&&this.normalizeHeight(!0)}deinitialize(){this.initialized=!1}deinitializeHeight(){this.heightInitialized=!1}reinitialize(e){this.initialized=!1,this.heightInitialized=!1,this.manualHeight||(this.height=0,this.heightStyled=""),this.element&&this.element.offsetParent!==null&&this.initialize(!0),this.dispatch("row-relayout",this)}calcHeight(e){var r=0,C;this.table.options.rowHeight?this.height=this.table.options.rowHeight:(C=this.table.options.resizableRows?this.element.clientHeight:0,this.cells.forEach(function(D){var T=D.getHeight();T>r&&(r=T)}),e?this.height=Math.max(r,C):this.height=this.manualHeight?this.height:Math.max(r,C)),this.heightStyled=this.height?this.height+"px":"",this.outerHeight=this.element.offsetHeight}setCellHeight(){this.cells.forEach(function(e){e.setHeight()}),this.heightInitialized=!0}clearCellHeight(){this.cells.forEach(function(e){e.clearHeight()})}normalizeHeight(e){e&&!this.table.options.rowHeight&&this.clearCellHeight(),this.calcHeight(e),this.setCellHeight()}setHeight(e,r){(this.height!=e||r)&&(this.manualHeight=!0,this.height=e,this.heightStyled=e?e+"px":"",this.setCellHeight(),this.outerHeight=this.element.offsetHeight)}getHeight(){return this.outerHeight}getWidth(){return this.element.offsetWidth}deleteCell(e){var r=this.cells.indexOf(e);r>-1&&this.cells.splice(r,1)}setData(e){this.data=this.chain("row-data-init-before",[this,e],void 0,e),this.dispatch("row-data-init-after",this)}updateData(e){var r=this.element&&oo.elVisible(this.element),C={},D;return new Promise((T,p)=>{typeof e=="string"&&(e=JSON.parse(e)),this.dispatch("row-data-save-before",this),this.subscribed("row-data-changing")&&(C=Object.assign(C,this.data),C=Object.assign(C,e)),D=this.chain("row-data-changing",[this,C,e],null,e);for(let t in D)this.data[t]=D[t];this.dispatch("row-data-save-after",this);for(let t in e)this.table.columnManager.getColumnsByFieldRoot(t).forEach(g=>{let i=this.getCell(g.getField());if(i){let M=g.getFieldValue(D);i.getValue()!==M&&(i.setValueProcessData(M),r&&i.cellRendered())}});r?(this.normalizeHeight(!0),this.table.options.rowFormatter&&this.table.options.rowFormatter(this.getComponent())):(this.initialized=!1,this.height=0,this.heightStyled=""),this.dispatch("row-data-changed",this,r,e),this.dispatchExternal("rowUpdated",this.getComponent()),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.table.rowManager.getData()),T()})}getData(e){return e?this.chain("row-data-retrieve",[this,e],null,this.data):this.data}getCell(e){var r=!1;return e=this.table.columnManager.findColumn(e),!this.initialized&&this.cells.length===0&&this.generateCells(),r=this.cells.find(function(C){return C.column===e}),r}getCellIndex(e){return this.cells.findIndex(function(r){return r===e})}findCell(e){return this.cells.find(r=>r.element===e)}getCells(){return!this.initialized&&this.cells.length===0&&this.generateCells(),this.cells}nextRow(){var e=this.table.rowManager.nextDisplayRow(this,!0);return e||!1}prevRow(){var e=this.table.rowManager.prevDisplayRow(this,!0);return e||!1}moveToRow(e,r){var C=this.table.rowManager.findRow(e);C?(this.table.rowManager.moveRowActual(this,C,!r),this.table.rowManager.refreshActiveData("display",!1,!0)):console.warn("Move Error - No matching row found:",e)}delete(){return this.dispatch("row-delete",this),this.deleteActual(),Promise.resolve()}deleteActual(e){this.detachModules(),this.table.rowManager.deleteRow(this,e),this.deleteCells(),this.initialized=!1,this.heightInitialized=!1,this.element=!1,this.dispatch("row-deleted",this)}detachModules(){this.dispatch("row-deleting",this)}deleteCells(){var e=this.cells.length;for(let r=0;r{r(this.position)}))}watchPosition(e){this.positionWatchers.push(e),e(this.position)}getGroup(){return this.modules.group||!1}getComponent(){return this.component||(this.component=new Wy(this)),this.component}}var vR={avg:function(n,e,r){var C=0,D=typeof r.precision<"u"?r.precision:2;return n.length&&(C=n.reduce(function(T,p){return Number(T)+Number(p)}),C=C/n.length,C=D!==!1?C.toFixed(D):C),parseFloat(C).toString()},max:function(n,e,r){var C=null,D=typeof r.precision<"u"?r.precision:!1;return n.forEach(function(T){T=Number(T),(T>C||C===null)&&(C=T)}),C!==null?D!==!1?C.toFixed(D):C:""},min:function(n,e,r){var C=null,D=typeof r.precision<"u"?r.precision:!1;return n.forEach(function(T){T=Number(T),(T(n||D===0)&&n.indexOf(D)===T);return C.length}};class zf extends qi{constructor(e){super(e),this.topCalcs=[],this.botCalcs=[],this.genColumn=!1,this.topElement=this.createElement(),this.botElement=this.createElement(),this.topRow=!1,this.botRow=!1,this.topInitialized=!1,this.botInitialized=!1,this.blocked=!1,this.recalcAfterBlock=!1,this.registerTableOption("columnCalcs",!0),this.registerColumnOption("topCalc"),this.registerColumnOption("topCalcParams"),this.registerColumnOption("topCalcFormatter"),this.registerColumnOption("topCalcFormatterParams"),this.registerColumnOption("bottomCalc"),this.registerColumnOption("bottomCalcParams"),this.registerColumnOption("bottomCalcFormatter"),this.registerColumnOption("bottomCalcFormatterParams")}createElement(){var e=document.createElement("div");return e.classList.add("tabulator-calcs-holder"),e}initialize(){this.genColumn=new vh({field:"value"},this),this.subscribe("cell-value-changed",this.cellValueChanged.bind(this)),this.subscribe("column-init",this.initializeColumnCheck.bind(this)),this.subscribe("row-deleted",this.rowsUpdated.bind(this)),this.subscribe("scroll-horizontal",this.scrollHorizontal.bind(this)),this.subscribe("row-added",this.rowsUpdated.bind(this)),this.subscribe("column-moved",this.recalcActiveRows.bind(this)),this.subscribe("column-add",this.recalcActiveRows.bind(this)),this.subscribe("data-refreshed",this.recalcActiveRowsRefresh.bind(this)),this.subscribe("table-redraw",this.tableRedraw.bind(this)),this.subscribe("rows-visible",this.visibleRows.bind(this)),this.subscribe("scrollbar-vertical",this.adjustForScrollbar.bind(this)),this.subscribe("redraw-blocked",this.blockRedraw.bind(this)),this.subscribe("redraw-restored",this.restoreRedraw.bind(this)),this.subscribe("table-redrawing",this.resizeHolderWidth.bind(this)),this.subscribe("column-resized",this.resizeHolderWidth.bind(this)),this.subscribe("column-show",this.resizeHolderWidth.bind(this)),this.subscribe("column-hide",this.resizeHolderWidth.bind(this)),this.registerTableFunction("getCalcResults",this.getResults.bind(this)),this.registerTableFunction("recalc",this.userRecalc.bind(this)),this.resizeHolderWidth()}resizeHolderWidth(){this.topElement.style.minWidth=this.table.columnManager.headersElement.offsetWidth+"px"}tableRedraw(e){this.recalc(this.table.rowManager.activeRows),e&&this.redraw()}blockRedraw(){this.blocked=!0,this.recalcAfterBlock=!1}restoreRedraw(){this.blocked=!1,this.recalcAfterBlock&&(this.recalcAfterBlock=!1,this.recalcActiveRowsRefresh())}userRecalc(){this.recalc(this.table.rowManager.activeRows)}blockCheck(){return this.blocked&&(this.recalcAfterBlock=!0),this.blocked}visibleRows(e,r){return this.topRow&&r.unshift(this.topRow),this.botRow&&r.push(this.botRow),r}rowsUpdated(e){this.table.options.groupBy?this.recalcRowGroup(e):this.recalcActiveRows()}recalcActiveRowsRefresh(){this.table.options.groupBy&&this.table.options.dataTreeStartExpanded&&this.table.options.dataTree?this.recalcAll():this.recalcActiveRows()}recalcActiveRows(){this.recalc(this.table.rowManager.activeRows)}cellValueChanged(e){(e.column.definition.topCalc||e.column.definition.bottomCalc)&&(this.table.options.groupBy?((this.table.options.columnCalcs=="table"||this.table.options.columnCalcs=="both")&&this.recalcActiveRows(),this.table.options.columnCalcs!="table"&&this.recalcRowGroup(e.row)):this.recalcActiveRows())}initializeColumnCheck(e){(e.definition.topCalc||e.definition.bottomCalc)&&this.initializeColumn(e)}initializeColumn(e){var r=e.definition,C={topCalcParams:r.topCalcParams||{},botCalcParams:r.bottomCalcParams||{}};if(r.topCalc){switch(typeof r.topCalc){case"string":zf.calculations[r.topCalc]?C.topCalc=zf.calculations[r.topCalc]:console.warn("Column Calc Error - No such calculation found, ignoring: ",r.topCalc);break;case"function":C.topCalc=r.topCalc;break}C.topCalc&&(e.modules.columnCalcs=C,this.topCalcs.push(e),this.table.options.columnCalcs!="group"&&this.initializeTopRow())}if(r.bottomCalc){switch(typeof r.bottomCalc){case"string":zf.calculations[r.bottomCalc]?C.botCalc=zf.calculations[r.bottomCalc]:console.warn("Column Calc Error - No such calculation found, ignoring: ",r.bottomCalc);break;case"function":C.botCalc=r.bottomCalc;break}C.botCalc&&(e.modules.columnCalcs=C,this.botCalcs.push(e),this.table.options.columnCalcs!="group"&&this.initializeBottomRow())}}registerColumnField(){}removeCalcs(){var e=!1;this.topInitialized&&(this.topInitialized=!1,this.topElement.parentNode.removeChild(this.topElement),e=!0),this.botInitialized&&(this.botInitialized=!1,this.footerRemove(this.botElement),e=!0),e&&this.table.rowManager.adjustTableSize()}reinitializeCalcs(){this.topCalcs.length&&this.initializeTopRow(),this.botCalcs.length&&this.initializeBottomRow()}initializeTopRow(){var e=document.createDocumentFragment();this.topInitialized||(e.appendChild(document.createElement("br")),e.appendChild(this.topElement),this.table.columnManager.getContentsElement().insertBefore(e,this.table.columnManager.headersElement.nextSibling),this.topInitialized=!0)}initializeBottomRow(){this.botInitialized||(this.footerPrepend(this.botElement),this.botInitialized=!0)}scrollHorizontal(e){this.botInitialized&&this.botRow&&(this.botElement.scrollLeft=e)}recalc(e){var r,C;if(!this.blockCheck()&&(this.topInitialized||this.botInitialized)){if(r=this.rowsToData(e),this.topInitialized){for(this.topRow&&this.topRow.deleteCells(),C=this.generateRow("top",r),this.topRow=C;this.topElement.firstChild;)this.topElement.removeChild(this.topElement.firstChild);this.topElement.appendChild(C.getElement()),C.initialize(!0)}if(this.botInitialized){for(this.botRow&&this.botRow.deleteCells(),C=this.generateRow("bottom",r),this.botRow=C;this.botElement.firstChild;)this.botElement.removeChild(this.botElement.firstChild);this.botElement.appendChild(C.getElement()),C.initialize(!0)}this.table.rowManager.adjustTableSize(),this.table.modExists("frozenColumns")&&this.table.modules.frozenColumns.layout()}}recalcRowGroup(e){this.recalcGroup(this.table.modules.groupRows.getRowGroup(e))}recalcAll(){if((this.topCalcs.length||this.botCalcs.length)&&(this.table.options.columnCalcs!=="group"&&this.recalcActiveRows(),this.table.options.groupBy&&this.table.options.columnCalcs!=="table")){var e=this.table.modules.groupRows.getChildGroups();e.forEach(r=>{this.recalcGroup(r)})}}recalcGroup(e){var r,C;this.blockCheck()||e&&e.calcs&&(e.calcs.bottom&&(r=this.rowsToData(e.rows),C=this.generateRowData("bottom",r),e.calcs.bottom.updateData(C),e.calcs.bottom.reinitialize()),e.calcs.top&&(r=this.rowsToData(e.rows),C=this.generateRowData("top",r),e.calcs.top.updateData(C),e.calcs.top.reinitialize()))}generateTopRow(e){return this.generateRow("top",this.rowsToData(e))}generateBottomRow(e){return this.generateRow("bottom",this.rowsToData(e))}rowsToData(e){var r=[];return e.forEach(C=>{if(r.push(C.getData()),this.table.options.dataTree&&this.table.options.dataTreeChildColumnCalcs&&C.modules.dataTree&&C.modules.dataTree.open){var D=this.rowsToData(this.table.modules.dataTree.getFilteredTreeChildren(C));r=r.concat(D)}}),r}generateRow(e,r){var C=this.generateRowData(e,r),D;return this.table.modExists("mutator")&&this.table.modules.mutator.disable(),D=new vl(C,this,"calc"),this.table.modExists("mutator")&&this.table.modules.mutator.enable(),D.getElement().classList.add("tabulator-calcs","tabulator-calcs-"+e),D.component=!1,D.getComponent=()=>(D.component||(D.component=new gR(D)),D.component),D.generateCells=()=>{var T=[];this.table.columnManager.columnsByIndex.forEach(p=>{this.genColumn.setField(p.getField()),this.genColumn.hozAlign=p.hozAlign,p.definition[e+"CalcFormatter"]&&this.table.modExists("format")?this.genColumn.modules.format={formatter:this.table.modules.format.getFormatter(p.definition[e+"CalcFormatter"]),params:p.definition[e+"CalcFormatterParams"]||{}}:this.genColumn.modules.format={formatter:this.table.modules.format.getFormatter("plaintext"),params:{}},this.genColumn.definition.cssClass=p.definition.cssClass;var t=new eg(this.genColumn,D);t.getElement(),t.column=p,t.setWidth(),p.cells.push(t),T.push(t),p.visible||t.hide()}),D.cells=T},D}generateRowData(e,r){var C={},D=e=="top"?this.topCalcs:this.botCalcs,T=e=="top"?"topCalc":"botCalc",p,t;return D.forEach(function(d){var g=[];d.modules.columnCalcs&&d.modules.columnCalcs[T]&&(r.forEach(function(i){g.push(d.getFieldValue(i))}),t=T+"Params",p=typeof d.modules.columnCalcs[t]=="function"?d.modules.columnCalcs[t](g,r):d.modules.columnCalcs[t],d.setFieldValue(C,d.modules.columnCalcs[T](g,r,p)))}),C}hasTopCalcs(){return!!this.topCalcs.length}hasBottomCalcs(){return!!this.botCalcs.length}redraw(){this.topRow&&this.topRow.normalizeHeight(!0),this.botRow&&this.botRow.normalizeHeight(!0)}getResults(){var e={},r;return this.table.options.groupBy&&this.table.modExists("groupRows")?(r=this.table.modules.groupRows.getGroups(!0),r.forEach(C=>{e[C.getKey()]=this.getGroupResults(C)})):e={top:this.topRow?this.topRow.getData():{},bottom:this.botRow?this.botRow.getData():{}},e}getGroupResults(e){var r=e._getSelf(),C=e.getSubGroups(),D={},T={};return C.forEach(p=>{D[p.getKey()]=this.getGroupResults(p)}),T={top:r.calcs.top?r.calcs.top.getData():{},bottom:r.calcs.bottom?r.calcs.bottom.getData():{},groups:D},T}adjustForScrollbar(e){this.botRow&&(this.table.rtl?this.botElement.style.paddingLeft=e+"px":this.botElement.style.paddingRight=e+"px")}}zf.moduleName="columnCalcs";zf.calculations=vR;class OM extends qi{constructor(e){super(e),this.indent=10,this.field="",this.collapseEl=null,this.expandEl=null,this.branchEl=null,this.elementField=!1,this.startOpen=function(){},this.registerTableOption("dataTree",!1),this.registerTableOption("dataTreeFilter",!0),this.registerTableOption("dataTreeSort",!0),this.registerTableOption("dataTreeElementColumn",!1),this.registerTableOption("dataTreeBranchElement",!0),this.registerTableOption("dataTreeChildIndent",9),this.registerTableOption("dataTreeChildField","_children"),this.registerTableOption("dataTreeCollapseElement",!1),this.registerTableOption("dataTreeExpandElement",!1),this.registerTableOption("dataTreeStartExpanded",!1),this.registerTableOption("dataTreeChildColumnCalcs",!1),this.registerTableOption("dataTreeSelectPropagate",!1),this.registerComponentFunction("row","treeCollapse",this.collapseRow.bind(this)),this.registerComponentFunction("row","treeExpand",this.expandRow.bind(this)),this.registerComponentFunction("row","treeToggle",this.toggleRow.bind(this)),this.registerComponentFunction("row","getTreeParent",this.getTreeParent.bind(this)),this.registerComponentFunction("row","getTreeChildren",this.getRowChildren.bind(this)),this.registerComponentFunction("row","addTreeChild",this.addTreeChildRow.bind(this)),this.registerComponentFunction("row","isTreeExpanded",this.isRowExpanded.bind(this))}initialize(){if(this.table.options.dataTree){var e=null,r=this.table.options;switch(this.field=r.dataTreeChildField,this.indent=r.dataTreeChildIndent,this.options("movableRows")&&console.warn("The movableRows option is not available with dataTree enabled, moving of child rows could result in unpredictable behavior"),r.dataTreeBranchElement?r.dataTreeBranchElement===!0?(this.branchEl=document.createElement("div"),this.branchEl.classList.add("tabulator-data-tree-branch")):typeof r.dataTreeBranchElement=="string"?(e=document.createElement("div"),e.innerHTML=r.dataTreeBranchElement,this.branchEl=e.firstChild):this.branchEl=r.dataTreeBranchElement:(this.branchEl=document.createElement("div"),this.branchEl.classList.add("tabulator-data-tree-branch-empty")),r.dataTreeCollapseElement?typeof r.dataTreeCollapseElement=="string"?(e=document.createElement("div"),e.innerHTML=r.dataTreeCollapseElement,this.collapseEl=e.firstChild):this.collapseEl=r.dataTreeCollapseElement:(this.collapseEl=document.createElement("div"),this.collapseEl.classList.add("tabulator-data-tree-control"),this.collapseEl.tabIndex=0,this.collapseEl.innerHTML="
"),r.dataTreeExpandElement?typeof r.dataTreeExpandElement=="string"?(e=document.createElement("div"),e.innerHTML=r.dataTreeExpandElement,this.expandEl=e.firstChild):this.expandEl=r.dataTreeExpandElement:(this.expandEl=document.createElement("div"),this.expandEl.classList.add("tabulator-data-tree-control"),this.expandEl.tabIndex=0,this.expandEl.innerHTML="
"),typeof r.dataTreeStartExpanded){case"boolean":this.startOpen=function(C,D){return r.dataTreeStartExpanded};break;case"function":this.startOpen=r.dataTreeStartExpanded;break;default:this.startOpen=function(C,D){return r.dataTreeStartExpanded[D]};break}this.subscribe("row-init",this.initializeRow.bind(this)),this.subscribe("row-layout-after",this.layoutRow.bind(this)),this.subscribe("row-deleted",this.rowDelete.bind(this),0),this.subscribe("row-data-changed",this.rowDataChanged.bind(this),10),this.subscribe("cell-value-updated",this.cellValueChanged.bind(this)),this.subscribe("edit-cancelled",this.cellValueChanged.bind(this)),this.subscribe("column-moving-rows",this.columnMoving.bind(this)),this.subscribe("table-built",this.initializeElementField.bind(this)),this.subscribe("table-redrawing",this.tableRedrawing.bind(this)),this.registerDisplayHandler(this.getRows.bind(this),30)}}tableRedrawing(e){var r;e&&(r=this.table.rowManager.getRows(),r.forEach(C=>{this.reinitializeRowChildren(C)}))}initializeElementField(){var e=this.table.columnManager.getFirstVisibleColumn();this.elementField=this.table.options.dataTreeElementColumn||(e?e.field:!1)}getRowChildren(e){return this.getTreeChildren(e,!0)}columnMoving(){var e=[];return this.table.rowManager.rows.forEach(r=>{e=e.concat(this.getTreeChildren(r,!1,!0))}),e}rowDataChanged(e,r,C){this.redrawNeeded(C)&&(this.initializeRow(e),r&&(this.layoutRow(e),this.refreshData(!0)))}cellValueChanged(e){var r=e.column.getField();r===this.elementField&&this.layoutRow(e.row)}initializeRow(e){var r=e.getData()[this.field],C=Array.isArray(r),D=C||!C&&typeof r=="object"&&r!==null;!D&&e.modules.dataTree&&e.modules.dataTree.branchEl&&e.modules.dataTree.branchEl.parentNode.removeChild(e.modules.dataTree.branchEl),!D&&e.modules.dataTree&&e.modules.dataTree.controlEl&&e.modules.dataTree.controlEl.parentNode.removeChild(e.modules.dataTree.controlEl),e.modules.dataTree={index:e.modules.dataTree?e.modules.dataTree.index:0,open:D?e.modules.dataTree?e.modules.dataTree.open:this.startOpen(e.getComponent(),0):!1,controlEl:e.modules.dataTree&&D?e.modules.dataTree.controlEl:!1,branchEl:e.modules.dataTree&&D?e.modules.dataTree.branchEl:!1,parent:e.modules.dataTree?e.modules.dataTree.parent:!1,children:D}}reinitializeRowChildren(e){var r=this.getTreeChildren(e,!1,!0);r.forEach(function(C){C.reinitialize(!0)})}layoutRow(e){var r=this.elementField?e.getCell(this.elementField):e.getCells()[0],C=r.getElement(),D=e.modules.dataTree;D.branchEl&&(D.branchEl.parentNode&&D.branchEl.parentNode.removeChild(D.branchEl),D.branchEl=!1),D.controlEl&&(D.controlEl.parentNode&&D.controlEl.parentNode.removeChild(D.controlEl),D.controlEl=!1),this.generateControlElement(e,C),e.getElement().classList.add("tabulator-tree-level-"+D.index),D.index&&(this.branchEl?(D.branchEl=this.branchEl.cloneNode(!0),C.insertBefore(D.branchEl,C.firstChild),this.table.rtl?D.branchEl.style.marginRight=(D.branchEl.offsetWidth+D.branchEl.style.marginLeft)*(D.index-1)+D.index*this.indent+"px":D.branchEl.style.marginLeft=(D.branchEl.offsetWidth+D.branchEl.style.marginRight)*(D.index-1)+D.index*this.indent+"px"):this.table.rtl?C.style.paddingRight=parseInt(window.getComputedStyle(C,null).getPropertyValue("padding-right"))+D.index*this.indent+"px":C.style.paddingLeft=parseInt(window.getComputedStyle(C,null).getPropertyValue("padding-left"))+D.index*this.indent+"px")}generateControlElement(e,r){var C=e.modules.dataTree,D=C.controlEl;r=r||e.getCells()[0].getElement(),C.children!==!1&&(C.open?(C.controlEl=this.collapseEl.cloneNode(!0),C.controlEl.addEventListener("click",T=>{T.stopPropagation(),this.collapseRow(e)})):(C.controlEl=this.expandEl.cloneNode(!0),C.controlEl.addEventListener("click",T=>{T.stopPropagation(),this.expandRow(e)})),C.controlEl.addEventListener("mousedown",T=>{T.stopPropagation()}),D&&D.parentNode===r?D.parentNode.replaceChild(C.controlEl,D):r.insertBefore(C.controlEl,r.firstChild))}getRows(e){var r=[];return e.forEach((C,D)=>{var T,p;r.push(C),C instanceof vl&&(C.create(),T=C.modules.dataTree,!T.index&&T.children!==!1&&(p=this.getChildren(C),p.forEach(t=>{t.create(),r.push(t)})))}),r}getChildren(e,r){var C=e.modules.dataTree,D=[],T=[];return C.children!==!1&&(C.open||r)&&(Array.isArray(C.children)||(C.children=this.generateChildren(e)),this.table.modExists("filter")&&this.table.options.dataTreeFilter?D=this.table.modules.filter.filter(C.children):D=C.children,this.table.modExists("sort")&&this.table.options.dataTreeSort&&this.table.modules.sort.sort(D),D.forEach(p=>{T.push(p);var t=this.getChildren(p);t.forEach(d=>{T.push(d)})})),T}generateChildren(e){var r=[],C=e.getData()[this.field];return Array.isArray(C)||(C=[C]),C.forEach(D=>{var T=new vl(D||{},this.table.rowManager);T.create(),T.modules.dataTree.index=e.modules.dataTree.index+1,T.modules.dataTree.parent=e,T.modules.dataTree.children&&(T.modules.dataTree.open=this.startOpen(T.getComponent(),T.modules.dataTree.index)),r.push(T)}),r}expandRow(e,r){var C=e.modules.dataTree;C.children!==!1&&(C.open=!0,e.reinitialize(),this.refreshData(!0),this.dispatchExternal("dataTreeRowExpanded",e.getComponent(),e.modules.dataTree.index))}collapseRow(e){var r=e.modules.dataTree;r.children!==!1&&(r.open=!1,e.reinitialize(),this.refreshData(!0),this.dispatchExternal("dataTreeRowCollapsed",e.getComponent(),e.modules.dataTree.index))}toggleRow(e){var r=e.modules.dataTree;r.children!==!1&&(r.open?this.collapseRow(e):this.expandRow(e))}isRowExpanded(e){return e.modules.dataTree.open}getTreeParent(e){return e.modules.dataTree.parent?e.modules.dataTree.parent.getComponent():!1}getTreeParentRoot(e){return e.modules.dataTree&&e.modules.dataTree.parent?this.getTreeParentRoot(e.modules.dataTree.parent):e}getFilteredTreeChildren(e){var r=e.modules.dataTree,C=[],D;return r.children&&(Array.isArray(r.children)||(r.children=this.generateChildren(e)),this.table.modExists("filter")&&this.table.options.dataTreeFilter?D=this.table.modules.filter.filter(r.children):D=r.children,D.forEach(T=>{T instanceof vl&&C.push(T)})),C}rowDelete(e){var r=e.modules.dataTree.parent,C;r&&(C=this.findChildIndex(e,r),C!==!1&&r.data[this.field].splice(C,1),r.data[this.field].length||delete r.data[this.field],this.initializeRow(r),this.layoutRow(r)),this.refreshData(!0)}addTreeChildRow(e,r,C,D){var T=!1;typeof r=="string"&&(r=JSON.parse(r)),Array.isArray(e.data[this.field])||(e.data[this.field]=[],e.modules.dataTree.open=this.startOpen(e.getComponent(),e.modules.dataTree.index)),typeof D<"u"&&(T=this.findChildIndex(D,e),T!==!1&&e.data[this.field].splice(C?T:T+1,0,r)),T===!1&&(C?e.data[this.field].unshift(r):e.data[this.field].push(r)),this.initializeRow(e),this.layoutRow(e),this.refreshData(!0)}findChildIndex(e,r){var C=!1;return typeof e=="object"?e instanceof vl?C=e.data:e instanceof Wy?C=e._getSelf().data:typeof HTMLElement<"u"&&e instanceof HTMLElement?r.modules.dataTree&&(C=r.modules.dataTree.children.find(D=>D instanceof vl?D.element===e:!1),C&&(C=C.data)):e===null&&(C=!1):typeof e>"u"?C=!1:C=r.data[this.field].find(D=>D.data[this.table.options.index]==e),C&&(Array.isArray(r.data[this.field])&&(C=r.data[this.field].indexOf(C)),C==-1&&(C=!1)),C}getTreeChildren(e,r,C){var D=e.modules.dataTree,T=[];return D&&D.children&&(Array.isArray(D.children)||(D.children=this.generateChildren(e)),D.children.forEach(p=>{p instanceof vl&&(T.push(r?p.getComponent():p),C&&(T=T.concat(this.getTreeChildren(p,r,C))))})),T}getChildField(){return this.field}redrawNeeded(e){return(this.field?typeof e[this.field]<"u":!1)||(this.elementField?typeof e[this.elementField]<"u":!1)}}OM.moduleName="dataTree";function yR(n,e={},r){var C=e.delimiter?e.delimiter:",",D=[],T=[];n.forEach(p=>{var t=[];switch(p.type){case"group":console.warn("Download Warning - CSV downloader cannot process row groups");break;case"calc":console.warn("Download Warning - CSV downloader cannot process column calculations");break;case"header":p.columns.forEach((d,g)=>{d&&d.depth===1&&(T[g]=typeof d.value>"u"||d.value===null?"":'"'+String(d.value).split('"').join('""')+'"')});break;case"row":p.columns.forEach(d=>{if(d){switch(typeof d.value){case"object":d.value=d.value!==null?JSON.stringify(d.value):"";break;case"undefined":d.value="";break}t.push('"'+String(d.value).split('"').join('""')+'"')}}),D.push(t.join(C));break}}),T.length&&D.unshift(T.join(C)),D=D.join(` +`),e.bom&&(D="\uFEFF"+D),r(D,"text/csv")}function bR(n,e,r){var C=[];n.forEach(D=>{var T={};switch(D.type){case"header":break;case"group":console.warn("Download Warning - JSON downloader cannot process row groups");break;case"calc":console.warn("Download Warning - JSON downloader cannot process column calculations");break;case"row":D.columns.forEach(p=>{p&&(T[p.component.getTitleDownload()||p.component.getField()]=p.value)}),C.push(T);break}}),C=JSON.stringify(C,null," "),r(C,"application/json")}function xR(n,e={},r){var C=[],D=[],T={},p=e.rowGroupStyles||{fontStyle:"bold",fontSize:12,cellPadding:6,fillColor:220},t=e.rowCalcStyles||{fontStyle:"bold",fontSize:10,cellPadding:4,fillColor:232},d=e.jsPDF||{},g=e.title?e.title:"";d.orientation||(d.orientation=e.orientation||"landscape"),d.unit||(d.unit="pt"),n.forEach(v=>{switch(v.type){case"header":C.push(i(v));break;case"group":D.push(i(v,p));break;case"calc":D.push(i(v,t));break;case"row":D.push(i(v));break}});function i(v,f){var l=[];return v.columns.forEach(a=>{var u;if(a){switch(typeof a.value){case"object":a.value=a.value!==null?JSON.stringify(a.value):"";break;case"undefined":a.value="";break}u={content:a.value,colSpan:a.width,rowSpan:a.height},f&&(u.styles=f),l.push(u)}}),l}var M=new jspdf.jsPDF(d);e.autoTable&&(typeof e.autoTable=="function"?T=e.autoTable(M)||{}:T=e.autoTable),g&&(T.didDrawPage=function(v){M.text(g,40,30)}),T.head=C,T.body=D,M.autoTable(T),e.documentProcessing&&e.documentProcessing(M),r(M.output("arraybuffer"),"application/pdf")}function _R(n,e,r){var C=this,D=e.sheetName||"Sheet1",T=XLSX.utils.book_new(),p=new kl(this),t="compress"in e?e.compress:!0,d=e.writeOptions||{bookType:"xlsx",bookSST:!0,compression:t},g;d.type="binary",T.SheetNames=[],T.Sheets={};function i(){var f=[],l=[],a={},u={s:{c:0,r:0},e:{c:n[0]?n[0].columns.reduce((o,s)=>o+(s&&s.width?s.width:1),0):0,r:n.length}};return n.forEach((o,s)=>{var c=[];o.columns.forEach(function(h,m){h?(c.push(!(h.value instanceof Date)&&typeof h.value=="object"?JSON.stringify(h.value):h.value),(h.width>1||h.height>-1)&&(h.height>1||h.width>1)&&l.push({s:{r:s,c:m},e:{r:s+h.height-1,c:m+h.width-1}})):c.push("")}),f.push(c)}),XLSX.utils.sheet_add_aoa(a,f),a["!ref"]=XLSX.utils.encode_range(u),l.length&&(a["!merges"]=l),a}if(e.sheetOnly){r(i());return}if(e.sheets)for(var M in e.sheets)e.sheets[M]===!0?(T.SheetNames.push(M),T.Sheets[M]=i()):(T.SheetNames.push(M),p.commsSend(e.sheets[M],"download","intercept",{type:"xlsx",options:{sheetOnly:!0},active:C.active,intercept:function(f){T.Sheets[M]=f}}));else T.SheetNames.push(D),T.Sheets[D]=i();e.documentProcessing&&(T=e.documentProcessing(T));function v(f){for(var l=new ArrayBuffer(f.length),a=new Uint8Array(l),u=0;u!=f.length;++u)a[u]=f.charCodeAt(u)&255;return l}g=XLSX.write(T,d),r(v(g),"application/octet-stream")}function wR(n,e,r){this.modExists("export",!0)&&r(this.modules.export.generateHTMLTable(n),"text/html")}function TR(n,e,r){const C=[];n.forEach(D=>{const T={};switch(D.type){case"header":break;case"group":console.warn("Download Warning - JSON downloader cannot process row groups");break;case"calc":console.warn("Download Warning - JSON downloader cannot process column calculations");break;case"row":D.columns.forEach(p=>{p&&(T[p.component.getTitleDownload()||p.component.getField()]=p.value)}),C.push(JSON.stringify(T));break}}),r(C.join(` +`),"application/x-ndjson")}var kR={csv:yR,json:bR,jsonLines:TR,pdf:xR,xlsx:_R,html:wR};class a0 extends qi{constructor(e){super(e),this.registerTableOption("downloadEncoder",function(r,C){return new Blob([r],{type:C})}),this.registerTableOption("downloadReady",void 0),this.registerTableOption("downloadConfig",{}),this.registerTableOption("downloadRowRange","active"),this.registerColumnOption("download"),this.registerColumnOption("titleDownload")}initialize(){this.deprecatedOptionsCheck(),this.registerTableFunction("download",this.download.bind(this)),this.registerTableFunction("downloadToTab",this.downloadToTab.bind(this))}deprecatedOptionsCheck(){this.deprecationCheck("downloadReady","downloadEncoder")}downloadToTab(e,r,C,D){this.download(e,r,C,D,!0)}download(e,r,C,D,T){var p=!1;function t(g,i){T?T===!0?this.triggerDownload(g,i,e,r,!0):T(g):this.triggerDownload(g,i,e,r)}if(typeof e=="function"?p=e:a0.downloaders[e]?p=a0.downloaders[e]:console.warn("Download Error - No such download type found: ",e),p){var d=this.generateExportList(D);p.call(this.table,d,C||{},t.bind(this))}}generateExportList(e){var r=this.table.modules.export.generateExportList(this.table.options.downloadConfig,!1,e||this.table.options.downloadRowRange,"download"),C=this.table.options.groupHeaderDownload;return C&&!Array.isArray(C)&&(C=[C]),r.forEach(D=>{var T;D.type==="group"&&(T=D.columns[0],C&&C[D.indent]&&(T.value=C[D.indent](T.value,D.component._group.getRowCount(),D.component._group.getData(),D.component)))}),r}triggerDownload(e,r,C,D,T){var p=document.createElement("a"),t=this.table.options.downloadEncoder(e,r);t&&(T?window.open(window.URL.createObjectURL(t)):(D=D||"Tabulator."+(typeof C=="function"?"txt":C),navigator.msSaveOrOpenBlob?navigator.msSaveOrOpenBlob(t,D):(p.setAttribute("href",window.URL.createObjectURL(t)),p.setAttribute("download",D),p.style.display="none",document.body.appendChild(p),p.click(),document.body.removeChild(p))),this.dispatchExternal("downloadComplete"))}commsReceived(e,r,C){switch(r){case"intercept":this.download(C.type,"",C.options,C.active,C.intercept);break}}}a0.moduleName="download";a0.downloaders=kR;function Yy(n,e){var r=e.mask,C=typeof e.maskLetterChar<"u"?e.maskLetterChar:"A",D=typeof e.maskNumberChar<"u"?e.maskNumberChar:"9",T=typeof e.maskWildcardChar<"u"?e.maskWildcardChar:"*";function p(t){var d=r[t];typeof d<"u"&&d!==T&&d!==C&&d!==D&&(n.value=n.value+""+d,p(t+1))}n.addEventListener("keydown",t=>{var d=n.value.length,g=t.key;if(t.keyCode>46&&!t.ctrlKey&&!t.metaKey){if(d>=r.length)return t.preventDefault(),t.stopPropagation(),!1;switch(r[d]){case C:if(g.toUpperCase()==g.toLowerCase())return t.preventDefault(),t.stopPropagation(),!1;break;case D:if(isNaN(g))return t.preventDefault(),t.stopPropagation(),!1;break;case T:break;default:if(g!==r[d])return t.preventDefault(),t.stopPropagation(),!1}}}),n.addEventListener("keyup",t=>{t.keyCode>46&&e.maskAutoFill&&p(n.value.length)}),n.placeholder||(n.placeholder=r),e.maskAutoFill&&p(n.value.length)}function MR(n,e,r,C,D){var T=n.getValue(),p=document.createElement("input");if(p.setAttribute("type",D.search?"search":"text"),p.style.padding="4px",p.style.width="100%",p.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let d in D.elementAttributes)d.charAt(0)=="+"?(d=d.slice(1),p.setAttribute(d,p.getAttribute(d)+D.elementAttributes["+"+d])):p.setAttribute(d,D.elementAttributes[d]);p.value=typeof T<"u"?T:"",e(function(){n.getType()==="cell"&&(p.focus({preventScroll:!0}),p.style.height="100%",D.selectContents&&p.select())});function t(d){(T===null||typeof T>"u")&&p.value!==""||p.value!==T?r(p.value)&&(T=p.value):C()}return p.addEventListener("change",t),p.addEventListener("blur",t),p.addEventListener("keydown",function(d){switch(d.keyCode){case 13:t();break;case 27:C();break;case 35:case 36:d.stopPropagation();break}}),D.mask&&Yy(p,D),p}function AR(n,e,r,C,D){var T=n.getValue(),p=D.verticalNavigation||"hybrid",t=String(T!==null&&typeof T<"u"?T:""),d=document.createElement("textarea"),g=0;if(d.style.display="block",d.style.padding="2px",d.style.height="100%",d.style.width="100%",d.style.boxSizing="border-box",d.style.whiteSpace="pre-wrap",d.style.resize="none",D.elementAttributes&&typeof D.elementAttributes=="object")for(let M in D.elementAttributes)M.charAt(0)=="+"?(M=M.slice(1),d.setAttribute(M,d.getAttribute(M)+D.elementAttributes["+"+M])):d.setAttribute(M,D.elementAttributes[M]);d.value=t,e(function(){n.getType()==="cell"&&(d.focus({preventScroll:!0}),d.style.height="100%",d.scrollHeight,d.style.height=d.scrollHeight+"px",n.getRow().normalizeHeight(),D.selectContents&&d.select())});function i(M){(T===null||typeof T>"u")&&d.value!==""||d.value!==T?(r(d.value)&&(T=d.value),setTimeout(function(){n.getRow().normalizeHeight()},300)):C()}return d.addEventListener("change",i),d.addEventListener("blur",i),d.addEventListener("keyup",function(){d.style.height="";var M=d.scrollHeight;d.style.height=M+"px",M!=g&&(g=M,n.getRow().normalizeHeight())}),d.addEventListener("keydown",function(M){switch(M.keyCode){case 13:M.shiftKey&&D.shiftEnterSubmit&&i();break;case 27:C();break;case 38:(p=="editor"||p=="hybrid"&&d.selectionStart)&&(M.stopImmediatePropagation(),M.stopPropagation());break;case 40:(p=="editor"||p=="hybrid"&&d.selectionStart!==d.value.length)&&(M.stopImmediatePropagation(),M.stopPropagation());break;case 35:case 36:M.stopPropagation();break}}),D.mask&&Yy(d,D),d}function SR(n,e,r,C,D){var T=n.getValue(),p=D.verticalNavigation||"editor",t=document.createElement("input");if(t.setAttribute("type","number"),typeof D.max<"u"&&t.setAttribute("max",D.max),typeof D.min<"u"&&t.setAttribute("min",D.min),typeof D.step<"u"&&t.setAttribute("step",D.step),t.style.padding="4px",t.style.width="100%",t.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let i in D.elementAttributes)i.charAt(0)=="+"?(i=i.slice(1),t.setAttribute(i,t.getAttribute(i)+D.elementAttributes["+"+i])):t.setAttribute(i,D.elementAttributes[i]);t.value=T;var d=function(i){g()};e(function(){n.getType()==="cell"&&(t.removeEventListener("blur",d),t.focus({preventScroll:!0}),t.style.height="100%",t.addEventListener("blur",d),D.selectContents&&t.select())});function g(){var i=t.value;!isNaN(i)&&i!==""&&(i=Number(i)),i!==T?r(i)&&(T=i):C()}return t.addEventListener("keydown",function(i){switch(i.keyCode){case 13:g();break;case 27:C();break;case 38:case 40:p=="editor"&&(i.stopImmediatePropagation(),i.stopPropagation());break;case 35:case 36:i.stopPropagation();break}}),D.mask&&Yy(t,D),t}function CR(n,e,r,C,D){var T=n.getValue(),p=document.createElement("input");if(p.setAttribute("type","range"),typeof D.max<"u"&&p.setAttribute("max",D.max),typeof D.min<"u"&&p.setAttribute("min",D.min),typeof D.step<"u"&&p.setAttribute("step",D.step),p.style.padding="4px",p.style.width="100%",p.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let d in D.elementAttributes)d.charAt(0)=="+"?(d=d.slice(1),p.setAttribute(d,p.getAttribute(d)+D.elementAttributes["+"+d])):p.setAttribute(d,D.elementAttributes[d]);p.value=T,e(function(){n.getType()==="cell"&&(p.focus({preventScroll:!0}),p.style.height="100%")});function t(){var d=p.value;!isNaN(d)&&d!==""&&(d=Number(d)),d!=T?r(d)&&(T=d):C()}return p.addEventListener("blur",function(d){t()}),p.addEventListener("keydown",function(d){switch(d.keyCode){case 13:t();break;case 27:C();break}}),p}function ER(n,e,r,C,D){var T=D.format,p=D.verticalNavigation||"editor",t=T?window.DateTime||luxon.DateTime:null,d=n.getValue(),g=document.createElement("input");function i(v){var f;return t.isDateTime(v)?f=v:T==="iso"?f=t.fromISO(String(v)):f=t.fromFormat(String(v),T),f.toFormat("yyyy-MM-dd")}if(g.type="date",g.style.padding="4px",g.style.width="100%",g.style.boxSizing="border-box",D.max&&g.setAttribute("max",T?i(D.max):D.max),D.min&&g.setAttribute("min",T?i(D.min):D.min),D.elementAttributes&&typeof D.elementAttributes=="object")for(let v in D.elementAttributes)v.charAt(0)=="+"?(v=v.slice(1),g.setAttribute(v,g.getAttribute(v)+D.elementAttributes["+"+v])):g.setAttribute(v,D.elementAttributes[v]);d=typeof d<"u"?d:"",T&&(t?d=i(d):console.error("Editor Error - 'date' editor 'format' param is dependant on luxon.js")),g.value=d,e(function(){n.getType()==="cell"&&(g.focus({preventScroll:!0}),g.style.height="100%",D.selectContents&&g.select())});function M(){var v=g.value,f;if((d===null||typeof d>"u")&&v!==""||v!==d){if(v&&T)switch(f=t.fromFormat(String(v),"yyyy-MM-dd"),T){case!0:v=f;break;case"iso":v=f.toISO();break;default:v=f.toFormat(T)}r(v)&&(d=g.value)}else C()}return g.addEventListener("blur",function(v){(v.relatedTarget||v.rangeParent||v.explicitOriginalTarget!==g)&&M()}),g.addEventListener("keydown",function(v){switch(v.keyCode){case 13:M();break;case 27:C();break;case 35:case 36:v.stopPropagation();break;case 38:case 40:p=="editor"&&(v.stopImmediatePropagation(),v.stopPropagation());break}}),g}function LR(n,e,r,C,D){var T=D.format,p=D.verticalNavigation||"editor",t=T?window.DateTime||luxon.DateTime:null,d,g=n.getValue(),i=document.createElement("input");if(i.type="time",i.style.padding="4px",i.style.width="100%",i.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let v in D.elementAttributes)v.charAt(0)=="+"?(v=v.slice(1),i.setAttribute(v,i.getAttribute(v)+D.elementAttributes["+"+v])):i.setAttribute(v,D.elementAttributes[v]);g=typeof g<"u"?g:"",T&&(t?(t.isDateTime(g)?d=g:T==="iso"?d=t.fromISO(String(g)):d=t.fromFormat(String(g),T),g=d.toFormat("HH:mm")):console.error("Editor Error - 'date' editor 'format' param is dependant on luxon.js")),console.log("val",g),i.value=g,e(function(){n.getType()=="cell"&&(i.focus({preventScroll:!0}),i.style.height="100%",D.selectContents&&i.select())});function M(){var v=i.value,f;if((g===null||typeof g>"u")&&v!==""||v!==g){if(v&&T)switch(f=t.fromFormat(String(v),"hh:mm"),T){case!0:v=f;break;case"iso":v=f.toISO();break;default:v=f.toFormat(T)}r(v)&&(g=i.value)}else C()}return i.addEventListener("blur",function(v){(v.relatedTarget||v.rangeParent||v.explicitOriginalTarget!==i)&&M()}),i.addEventListener("keydown",function(v){switch(v.keyCode){case 13:M();break;case 27:C();break;case 35:case 36:v.stopPropagation();break;case 38:case 40:p=="editor"&&(v.stopImmediatePropagation(),v.stopPropagation());break}}),i}function IR(n,e,r,C,D){var T=D.format,p=D.verticalNavigation||"editor",t=T?window.DateTime||luxon.DateTime:null,d,g=n.getValue(),i=document.createElement("input");if(i.type="datetime-local",i.style.padding="4px",i.style.width="100%",i.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let v in D.elementAttributes)v.charAt(0)=="+"?(v=v.slice(1),i.setAttribute(v,i.getAttribute(v)+D.elementAttributes["+"+v])):i.setAttribute(v,D.elementAttributes[v]);g=typeof g<"u"?g:"",T&&(t?(t.isDateTime(g)?d=g:T==="iso"?d=t.fromISO(String(g)):d=t.fromFormat(String(g),T),g=d.toFormat("yyyy-MM-dd")+"T"+d.toFormat("HH:mm")):console.error("Editor Error - 'date' editor 'format' param is dependant on luxon.js")),i.value=g,e(function(){n.getType()==="cell"&&(i.focus({preventScroll:!0}),i.style.height="100%",D.selectContents&&i.select())});function M(){var v=i.value,f;if((g===null||typeof g>"u")&&v!==""||v!==g){if(v&&T)switch(f=t.fromISO(String(v)),T){case!0:v=f;break;case"iso":v=f.toISO();break;default:v=f.toFormat(T)}r(v)&&(g=i.value)}else C()}return i.addEventListener("blur",function(v){(v.relatedTarget||v.rangeParent||v.explicitOriginalTarget!==i)&&M()}),i.addEventListener("keydown",function(v){switch(v.keyCode){case 13:M();break;case 27:C();break;case 35:case 36:v.stopPropagation();break;case 38:case 40:p=="editor"&&(v.stopImmediatePropagation(),v.stopPropagation());break}}),i}class G2{constructor(e,r,C,D,T,p){this.edit=e,this.table=e.table,this.cell=r,this.params=this._initializeParams(p),this.data=[],this.displayItems=[],this.currentItems=[],this.focusedItem=null,this.input=this._createInputElement(),this.listEl=this._createListElement(),this.initialValues=null,this.isFilter=r.getType()==="header",this.filterTimeout=null,this.filtered=!1,this.typing=!1,this.values=[],this.popup=null,this.listIteration=0,this.lastAction="",this.filterTerm="",this.blurable=!0,this.actions={success:D,cancel:T},this._deprecatedOptionsCheck(),this._initializeValue(),C(this._onRendered.bind(this))}_deprecatedOptionsCheck(){this.params.listItemFormatter&&this.cell.getTable().deprecationAdvisor.msg("The listItemFormatter editor param has been deprecated, please see the latest editor documentation for updated options"),this.params.sortValuesList&&this.cell.getTable().deprecationAdvisor.msg("The sortValuesList editor param has been deprecated, please see the latest editor documentation for updated options"),this.params.searchFunc&&this.cell.getTable().deprecationAdvisor.msg("The searchFunc editor param has been deprecated, please see the latest editor documentation for updated options"),this.params.searchingPlaceholder&&this.cell.getTable().deprecationAdvisor.msg("The searchingPlaceholder editor param has been deprecated, please see the latest editor documentation for updated options")}_initializeValue(){var e=this.cell.getValue();typeof e>"u"&&typeof this.params.defaultValue<"u"&&(e=this.params.defaultValue),this.initialValues=this.params.multiselect?e:[e],this.isFilter&&(this.input.value=this.initialValues?this.initialValues.join(","):"",this.headerFilterInitialListGen())}_onRendered(){var e=this.cell.getElement();function r(C){C.stopPropagation()}this.isFilter||(this.input.style.height="100%",this.input.focus({preventScroll:!0})),e.addEventListener("click",r),setTimeout(()=>{e.removeEventListener("click",r)},1e3),this.input.addEventListener("mousedown",this._preventPopupBlur.bind(this))}_createListElement(){var e=document.createElement("div");return e.classList.add("tabulator-edit-list"),e.addEventListener("mousedown",this._preventBlur.bind(this)),e.addEventListener("keydown",this._inputKeyDown.bind(this)),e}_setListWidth(){var e=this.isFilter?this.input:this.cell.getElement();this.listEl.style.minWidth=e.offsetWidth+"px",this.params.maxWidth&&(this.params.maxWidth===!0?this.listEl.style.maxWidth=e.offsetWidth+"px":typeof this.params.maxWidth=="number"?this.listEl.style.maxWidth=this.params.maxWidth+"px":this.listEl.style.maxWidth=this.params.maxWidth)}_createInputElement(){var e=this.params.elementAttributes,r=document.createElement("input");if(r.setAttribute("type",this.params.clearable?"search":"text"),r.style.padding="4px",r.style.width="100%",r.style.boxSizing="border-box",this.params.autocomplete||(r.style.cursor="default",r.style.caretColor="transparent"),e&&typeof e=="object")for(let C in e)C.charAt(0)=="+"?(C=C.slice(1),r.setAttribute(C,r.getAttribute(C)+e["+"+C])):r.setAttribute(C,e[C]);return this.params.mask&&Yy(r,this.params),this._bindInputEvents(r),r}_initializeParams(e){var r=["values","valuesURL","valuesLookup"],C;return e=Object.assign({},e),e.verticalNavigation=e.verticalNavigation||"editor",e.placeholderLoading=typeof e.placeholderLoading>"u"?"Searching ...":e.placeholderLoading,e.placeholderEmpty=typeof e.placeholderEmpty>"u"?"No Results Found":e.placeholderEmpty,e.filterDelay=typeof e.filterDelay>"u"?300:e.filterDelay,e.emptyValue=Object.keys(e).includes("emptyValue")?e.emptyValue:"",C=Object.keys(e).filter(D=>r.includes(D)).length,C?C>1&&console.warn("list editor config error - only one of the values, valuesURL, or valuesLookup options can be set on the same editor"):console.warn("list editor config error - either the values, valuesURL, or valuesLookup option must be set"),e.autocomplete?e.multiselect&&(e.multiselect=!1,console.warn("list editor config error - multiselect option is not available when autocomplete is enabled")):(e.freetext&&(e.freetext=!1,console.warn("list editor config error - freetext option is only available when autocomplete is enabled")),e.filterFunc&&(e.filterFunc=!1,console.warn("list editor config error - filterFunc option is only available when autocomplete is enabled")),e.filterRemote&&(e.filterRemote=!1,console.warn("list editor config error - filterRemote option is only available when autocomplete is enabled")),e.mask&&(e.mask=!1,console.warn("list editor config error - mask option is only available when autocomplete is enabled")),e.allowEmpty&&(e.allowEmpty=!1,console.warn("list editor config error - allowEmpty option is only available when autocomplete is enabled")),e.listOnEmpty&&(e.listOnEmpty=!1,console.warn("list editor config error - listOnEmpty option is only available when autocomplete is enabled"))),e.filterRemote&&!(typeof e.valuesLookup=="function"||e.valuesURL)&&(e.filterRemote=!1,console.warn("list editor config error - filterRemote option should only be used when values list is populated from a remote source")),e}_bindInputEvents(e){e.addEventListener("focus",this._inputFocus.bind(this)),e.addEventListener("click",this._inputClick.bind(this)),e.addEventListener("blur",this._inputBlur.bind(this)),e.addEventListener("keydown",this._inputKeyDown.bind(this)),e.addEventListener("search",this._inputSearch.bind(this)),this.params.autocomplete&&e.addEventListener("keyup",this._inputKeyUp.bind(this))}_inputFocus(e){this.rebuildOptionsList()}_filter(){this.params.filterRemote?(clearTimeout(this.filterTimeout),this.filterTimeout=setTimeout(()=>{this.rebuildOptionsList()},this.params.filterDelay)):this._filterList()}_inputClick(e){e.stopPropagation()}_inputBlur(e){this.blurable&&(this.popup?this.popup.hide():this._resolveValue(!0))}_inputSearch(){this._clearChoices()}_inputKeyDown(e){switch(e.keyCode){case 38:this._keyUp(e);break;case 40:this._keyDown(e);break;case 37:case 39:this._keySide(e);break;case 13:this._keyEnter();break;case 27:this._keyEsc();break;case 36:case 35:this._keyHomeEnd(e);break;case 9:this._keyTab(e);break;default:this._keySelectLetter(e)}}_inputKeyUp(e){switch(e.keyCode){case 38:case 37:case 39:case 40:case 13:case 27:break;default:this._keyAutoCompLetter(e)}}_preventPopupBlur(){this.popup&&this.popup.blockHide(),setTimeout(()=>{this.popup&&this.popup.restoreHide()},10)}_preventBlur(){this.blurable=!1,setTimeout(()=>{this.blurable=!0},10)}_keyTab(e){this.params.autocomplete&&this.lastAction==="typing"?this._resolveValue(!0):this.focusedItem&&this._chooseItem(this.focusedItem,!0)}_keyUp(e){var r=this.displayItems.indexOf(this.focusedItem);(this.params.verticalNavigation=="editor"||this.params.verticalNavigation=="hybrid"&&r)&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault(),r>0&&this._focusItem(this.displayItems[r-1]))}_keyDown(e){var r=this.displayItems.indexOf(this.focusedItem);(this.params.verticalNavigation=="editor"||this.params.verticalNavigation=="hybrid"&&r=38&&e.keyCode<=90&&this._scrollToValue(e.keyCode))}_keyAutoCompLetter(e){this._filter(),this.lastAction="typing",this.typing=!0}_scrollToValue(e){clearTimeout(this.filterTimeout);var r=String.fromCharCode(e).toLowerCase();this.filterTerm+=r.toLowerCase();var C=this.displayItems.find(D=>typeof D.label<"u"&&D.label.toLowerCase().startsWith(this.filterTerm));C&&this._focusItem(C),this.filterTimeout=setTimeout(()=>{this.filterTerm=""},800)}_focusItem(e){this.lastAction="focus",this.focusedItem&&this.focusedItem.element&&this.focusedItem.element.classList.remove("focused"),this.focusedItem=e,e&&e.element&&(e.element.classList.add("focused"),e.element.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"}))}headerFilterInitialListGen(){this._generateOptions(!0)}rebuildOptionsList(){this._generateOptions().then(this._sortOptions.bind(this)).then(this._buildList.bind(this)).then(this._showList.bind(this)).catch(e=>{Number.isInteger(e)||console.error("List generation error",e)})}_filterList(){this._buildList(this._filterOptions()),this._showList()}_generateOptions(e){var r=[],C=++this.listIteration;return this.filtered=!1,this.params.values?r=this.params.values:this.params.valuesURL?r=this._ajaxRequest(this.params.valuesURL,this.input.value):typeof this.params.valuesLookup=="function"?r=this.params.valuesLookup(this.cell,this.input.value):this.params.valuesLookup&&(r=this._uniqueColumnValues(this.params.valuesLookupField)),r instanceof Promise?(e||this._addPlaceholder(this.params.placeholderLoading),r.then().then(D=>this.listIteration===C?this._parseList(D):Promise.reject(C))):Promise.resolve(this._parseList(r))}_addPlaceholder(e){var r=document.createElement("div");typeof e=="function"&&(e=e(this.cell.getComponent(),this.listEl)),e&&(this._clearList(),e instanceof HTMLElement?r=e:(r.classList.add("tabulator-edit-list-placeholder"),r.innerHTML=e),this.listEl.appendChild(r),this._showList())}_ajaxRequest(e,r){var C=this.params.filterRemote?{term:r}:{};return e=LM(e,{},C),fetch(e).then(D=>D.ok?D.json().catch(T=>(console.warn("List Ajax Load Error - Invalid JSON returned",T),Promise.reject(T))):(console.error("List Ajax Load Error - Connection Error: "+D.status,D.statusText),Promise.reject(D))).catch(D=>(console.error("List Ajax Load Error - Connection Error: ",D),Promise.reject(D)))}_uniqueColumnValues(e){var r={},C=this.table.getData(this.params.valuesLookup),D;return e?D=this.table.columnManager.getColumnByField(e):D=this.cell.getColumn()._getSelf(),D?C.forEach(T=>{var p=D.getFieldValue(T);p!==null&&typeof p<"u"&&p!==""&&(r[p]=!0)}):(console.warn("unable to find matching column to create select lookup list:",e),r=[]),Object.keys(r)}_parseList(e){var r=[];return Array.isArray(e)||(e=Object.entries(e).map(([C,D])=>({label:D,value:C}))),e.forEach(C=>{typeof C!="object"&&(C={label:C,value:C}),this._parseListItem(C,r,0)}),!this.currentItems.length&&this.params.freetext&&(this.input.value=this.initialValues,this.typing=!0,this.lastAction="typing"),this.data=r,r}_parseListItem(e,r,C){var D={};e.options?D=this._parseListGroup(e,C+1):(D={label:e.label,value:e.value,itemParams:e.itemParams,elementAttributes:e.elementAttributes,element:!1,selected:!1,visible:!0,level:C,original:e},this.initialValues&&this.initialValues.indexOf(e.value)>-1&&this._chooseItem(D,!0)),r.push(D)}_parseListGroup(e,r){var C={label:e.label,group:!0,itemParams:e.itemParams,elementAttributes:e.elementAttributes,element:!1,visible:!0,level:r,options:[],original:e};return e.options.forEach(D=>{this._parseListItem(D,C.options,r)}),C}_sortOptions(e){var r;return this.params.sort&&(r=typeof this.params.sort=="function"?this.params.sort:this._defaultSortFunction.bind(this),this._sortGroup(r,e)),e}_sortGroup(e,r){r.sort((C,D)=>e(C.label,D.label,C.value,D.value,C.original,D.original)),r.forEach(C=>{C.group&&this._sortGroup(e,C.options)})}_defaultSortFunction(e,r){var C,D,T,p,t=0,d,g=/(\d+)|(\D+)/g,i=/\d/,M=0;if(this.params.sort==="desc"&&([e,r]=[r,e]),!e&&e!==0)M=!r&&r!==0?0:-1;else if(!r&&r!==0)M=1;else{if(isFinite(e)&&isFinite(r))return e-r;if(C=String(e).toLowerCase(),D=String(r).toLowerCase(),C===D)return 0;if(!(i.test(C)&&i.test(D)))return C>D?1:-1;for(C=C.match(g),D=D.match(g),d=C.length>D.length?D.length:C.length;tp?1:-1;return C.length>D.length}return M}_filterOptions(){var e=this.params.filterFunc||this._defaultFilterFunc,r=this.input.value;return r?(this.filtered=!0,this.data.forEach(C=>{this._filterItem(e,r,C)})):this.filtered=!1,this.data}_filterItem(e,r,C){var D=!1;return C.group?(C.options.forEach(T=>{this._filterItem(e,r,T)&&(D=!0)}),C.visible=D):C.visible=e(r,C.label,C.value,C.original),C.visible}_defaultFilterFunc(e,r,C,D){return e=String(e).toLowerCase(),r!==null&&typeof r<"u"&&(String(r).toLowerCase().indexOf(e)>-1||String(C).toLowerCase().indexOf(e)>-1)}_clearList(){for(;this.listEl.firstChild;)this.listEl.removeChild(this.listEl.firstChild);this.displayItems=[]}_buildList(e){this._clearList(),e.forEach(r=>{this._buildItem(r)}),this.displayItems.length||this._addPlaceholder(this.params.placeholderEmpty)}_buildItem(e){var r=e.element,C;if(!this.filtered||e.visible){if(!r){if(r=document.createElement("div"),r.tabIndex=0,C=this.params.itemFormatter?this.params.itemFormatter(e.label,e.value,e.original,r):e.label,C instanceof HTMLElement?r.appendChild(C):r.innerHTML=C,e.group?r.classList.add("tabulator-edit-list-group"):r.classList.add("tabulator-edit-list-item"),r.classList.add("tabulator-edit-list-group-level-"+e.level),e.elementAttributes&&typeof e.elementAttributes=="object")for(let D in e.elementAttributes)D.charAt(0)=="+"?(D=D.slice(1),r.setAttribute(D,this.input.getAttribute(D)+e.elementAttributes["+"+D])):r.setAttribute(D,e.elementAttributes[D]);e.group?r.addEventListener("click",this._groupClick.bind(this,e)):r.addEventListener("click",this._itemClick.bind(this,e)),r.addEventListener("mousedown",this._preventBlur.bind(this)),e.element=r}this._styleItem(e),this.listEl.appendChild(r),e.group?e.options.forEach(D=>{this._buildItem(D)}):this.displayItems.push(e)}}_showList(){var e=this.popup&&this.popup.isVisible();if(this.input.parentNode){if(this.params.autocomplete&&this.input.value===""&&!this.params.listOnEmpty){this.popup&&this.popup.hide(!0);return}this._setListWidth(),this.popup||(this.popup=this.edit.popup(this.listEl)),this.popup.show(this.cell.getElement(),"bottom"),e||setTimeout(()=>{this.popup.hideOnBlur(this._resolveValue.bind(this,!0))},10)}}_styleItem(e){e&&e.element&&(e.selected?e.element.classList.add("active"):e.element.classList.remove("active"))}_itemClick(e,r){r.stopPropagation(),this._chooseItem(e)}_groupClick(e,r){r.stopPropagation()}_cancel(){this.popup.hide(!0),this.actions.cancel()}_clearChoices(){this.typing=!0,this.currentItems.forEach(e=>{e.selected=!1,this._styleItem(e)}),this.currentItems=[],this.focusedItem=null}_chooseItem(e,r){var C;this.typing=!1,this.params.multiselect?(C=this.currentItems.indexOf(e),C>-1?(this.currentItems.splice(C,1),e.selected=!1):(this.currentItems.push(e),e.selected=!0),this.input.value=this.currentItems.map(D=>D.label).join(","),this._styleItem(e)):(this.currentItems=[e],e.selected=!0,this.input.value=e.label,this._styleItem(e),r||this._resolveValue()),this._focusItem(e)}_resolveValue(e){var r,C;if(this.popup&&this.popup.hide(!0),this.params.multiselect)r=this.currentItems.map(D=>D.value);else if(e&&this.params.autocomplete&&this.typing)if(this.params.freetext||this.params.allowEmpty&&this.input.value==="")r=this.input.value;else{this.actions.cancel();return}else this.currentItems[0]?r=this.currentItems[0].value:(C=Array.isArray(this.initialValues)?this.initialValues[0]:this.initialValues,C===null||typeof C>"u"||C===""?r=C:r=this.params.emptyValue);r===""&&(r=this.params.emptyValue),this.actions.success(r),this.isFilter&&(this.initialValues=r&&!Array.isArray(r)?[r]:r,this.currentItems=[])}}function RR(n,e,r,C,D){this.deprecationMsg("The select editor has been deprecated, please use the new list editor");var T=new G2(this,n,e,r,C,D);return T.input}function PR(n,e,r,C,D){var T=new G2(this,n,e,r,C,D);return T.input}function OR(n,e,r,C,D){this.deprecationMsg("The autocomplete editor has been deprecated, please use the new list editor with the 'autocomplete' editorParam"),D.autocomplete=!0;var T=new G2(this,n,e,r,C,D);return T.input}function DR(n,e,r,C,D){var T=this,p=n.getElement(),t=n.getValue(),d=p.getElementsByTagName("svg").length||5,g=p.getElementsByTagName("svg")[0]?p.getElementsByTagName("svg")[0].getAttribute("width"):14,i=[],M=document.createElement("div"),v=document.createElementNS("http://www.w3.org/2000/svg","svg");function f(o){i.forEach(function(s,c){c'):(T.table.browser=="ie"?s.setAttribute("class","tabulator-star-inactive"):s.classList.replace("tabulator-star-active","tabulator-star-inactive"),s.innerHTML='')})}function l(o){var s=document.createElement("span"),c=v.cloneNode(!0);i.push(c),s.addEventListener("mouseenter",function(h){h.stopPropagation(),h.stopImmediatePropagation(),f(o)}),s.addEventListener("mousemove",function(h){h.stopPropagation(),h.stopImmediatePropagation()}),s.addEventListener("click",function(h){h.stopPropagation(),h.stopImmediatePropagation(),r(o),p.blur()}),s.appendChild(c),M.appendChild(s)}function a(o){t=o,f(o)}if(p.style.whiteSpace="nowrap",p.style.overflow="hidden",p.style.textOverflow="ellipsis",M.style.verticalAlign="middle",M.style.display="inline-block",M.style.padding="4px",v.setAttribute("width",g),v.setAttribute("height",g),v.setAttribute("viewBox","0 0 512 512"),v.setAttribute("xml:space","preserve"),v.style.padding="0 1px",D.elementAttributes&&typeof D.elementAttributes=="object")for(let o in D.elementAttributes)o.charAt(0)=="+"?(o=o.slice(1),M.setAttribute(o,M.getAttribute(o)+D.elementAttributes["+"+o])):M.setAttribute(o,D.elementAttributes[o]);for(var u=1;u<=d;u++)l(u);return t=Math.min(parseInt(t),d),f(t),M.addEventListener("mousemove",function(o){f(0)}),M.addEventListener("click",function(o){r(0)}),p.addEventListener("blur",function(o){C()}),p.addEventListener("keydown",function(o){switch(o.keyCode){case 39:a(t+1);break;case 37:a(t-1);break;case 13:r(t);break;case 27:C();break}}),M}function zR(n,e,r,C,D){var T=n.getElement(),p=typeof D.max>"u"?T.getElementsByTagName("div")[0]&&T.getElementsByTagName("div")[0].getAttribute("max")||100:D.max,t=typeof D.min>"u"?T.getElementsByTagName("div")[0]&&T.getElementsByTagName("div")[0].getAttribute("min")||0:D.min,d=(p-t)/100,g=n.getValue()||0,i=document.createElement("div"),M=document.createElement("div"),v,f;function l(){var a=window.getComputedStyle(T,null),u=d*Math.round(M.offsetWidth/((T.clientWidth-parseInt(a.getPropertyValue("padding-left"))-parseInt(a.getPropertyValue("padding-right")))/100))+t;r(u),T.setAttribute("aria-valuenow",u),T.setAttribute("aria-label",g)}if(i.style.position="absolute",i.style.right="0",i.style.top="0",i.style.bottom="0",i.style.width="5px",i.classList.add("tabulator-progress-handle"),M.style.display="inline-block",M.style.position="relative",M.style.height="100%",M.style.backgroundColor="#488CE9",M.style.maxWidth="100%",M.style.minWidth="0%",D.elementAttributes&&typeof D.elementAttributes=="object")for(let a in D.elementAttributes)a.charAt(0)=="+"?(a=a.slice(1),M.setAttribute(a,M.getAttribute(a)+D.elementAttributes["+"+a])):M.setAttribute(a,D.elementAttributes[a]);return T.style.padding="4px 4px",g=Math.min(parseFloat(g),p),g=Math.max(parseFloat(g),t),g=Math.round((g-t)/d),M.style.width=g+"%",T.setAttribute("aria-valuemin",t),T.setAttribute("aria-valuemax",p),M.appendChild(i),i.addEventListener("mousedown",function(a){v=a.screenX,f=M.offsetWidth}),i.addEventListener("mouseover",function(){i.style.cursor="ew-resize"}),T.addEventListener("mousemove",function(a){v&&(M.style.width=f+a.screenX-v+"px")}),T.addEventListener("mouseup",function(a){v&&(a.stopPropagation(),a.stopImmediatePropagation(),v=!1,f=!1,l())}),T.addEventListener("keydown",function(a){switch(a.keyCode){case 39:a.preventDefault(),M.style.width=M.clientWidth+T.clientWidth/100+"px";break;case 37:a.preventDefault(),M.style.width=M.clientWidth-T.clientWidth/100+"px";break;case 9:case 13:l();break;case 27:C();break}}),T.addEventListener("blur",function(){C()}),M}function FR(n,e,r,C,D){var T=n.getValue(),p=document.createElement("input"),t=D.tristate,d=typeof D.indeterminateValue>"u"?null:D.indeterminateValue,g=!1,i=Object.keys(D).includes("trueValue"),M=Object.keys(D).includes("falseValue");if(p.setAttribute("type","checkbox"),p.style.marginTop="5px",p.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let f in D.elementAttributes)f.charAt(0)=="+"?(f=f.slice(1),p.setAttribute(f,p.getAttribute(f)+D.elementAttributes["+"+f])):p.setAttribute(f,D.elementAttributes[f]);p.value=T,t&&(typeof T>"u"||T===d||T==="")&&(g=!0,p.indeterminate=!0),this.table.browser!="firefox"&&this.table.browser!="safari"&&e(function(){n.getType()==="cell"&&p.focus({preventScroll:!0})}),p.checked=i?T===D.trueValue:T===!0||T==="true"||T==="True"||T===1;function v(f){var l=p.checked;return i&&l?l=D.trueValue:M&&!l&&(l=D.falseValue),t?f?g?d:l:p.checked&&!g?(p.checked=!1,p.indeterminate=!0,g=!0,d):(g=!1,l):l}return p.addEventListener("change",function(f){r(v())}),p.addEventListener("blur",function(f){r(v(!0))}),p.addEventListener("keydown",function(f){f.keyCode==13&&r(v()),f.keyCode==27&&C()}),p}var BR={input:MR,textarea:AR,number:SR,range:CR,date:ER,time:LR,datetime:IR,select:RR,list:PR,autocomplete:OR,star:DR,progress:zR,tickCross:FR};class tg extends qi{constructor(e){super(e),this.currentCell=!1,this.mouseClick=!1,this.recursionBlock=!1,this.invalidEdit=!1,this.editedCells=[],this.editors=tg.editors,this.registerColumnOption("editable"),this.registerColumnOption("editor"),this.registerColumnOption("editorParams"),this.registerColumnOption("cellEditing"),this.registerColumnOption("cellEdited"),this.registerColumnOption("cellEditCancelled"),this.registerTableOption("editTriggerEvent","focus"),this.registerTableFunction("getEditedCells",this.getEditedCells.bind(this)),this.registerTableFunction("clearCellEdited",this.clearCellEdited.bind(this)),this.registerTableFunction("navigatePrev",this.navigatePrev.bind(this)),this.registerTableFunction("navigateNext",this.navigateNext.bind(this)),this.registerTableFunction("navigateLeft",this.navigateLeft.bind(this)),this.registerTableFunction("navigateRight",this.navigateRight.bind(this)),this.registerTableFunction("navigateUp",this.navigateUp.bind(this)),this.registerTableFunction("navigateDown",this.navigateDown.bind(this)),this.registerComponentFunction("cell","isEdited",this.cellIsEdited.bind(this)),this.registerComponentFunction("cell","clearEdited",this.clearEdited.bind(this)),this.registerComponentFunction("cell","edit",this.editCell.bind(this)),this.registerComponentFunction("cell","cancelEdit",this.cellCancelEdit.bind(this)),this.registerComponentFunction("cell","navigatePrev",this.navigatePrev.bind(this)),this.registerComponentFunction("cell","navigateNext",this.navigateNext.bind(this)),this.registerComponentFunction("cell","navigateLeft",this.navigateLeft.bind(this)),this.registerComponentFunction("cell","navigateRight",this.navigateRight.bind(this)),this.registerComponentFunction("cell","navigateUp",this.navigateUp.bind(this)),this.registerComponentFunction("cell","navigateDown",this.navigateDown.bind(this))}initialize(){this.subscribe("cell-init",this.bindEditor.bind(this)),this.subscribe("cell-delete",this.clearEdited.bind(this)),this.subscribe("cell-value-changed",this.updateCellClass.bind(this)),this.subscribe("column-layout",this.initializeColumnCheck.bind(this)),this.subscribe("column-delete",this.columnDeleteCheck.bind(this)),this.subscribe("row-deleting",this.rowDeleteCheck.bind(this)),this.subscribe("row-layout",this.rowEditableCheck.bind(this)),this.subscribe("data-refreshing",this.cancelEdit.bind(this)),this.subscribe("clipboard-paste",this.pasteBlocker.bind(this)),this.subscribe("keybinding-nav-prev",this.navigatePrev.bind(this,void 0)),this.subscribe("keybinding-nav-next",this.keybindingNavigateNext.bind(this)),this.subscribe("keybinding-nav-up",this.navigateUp.bind(this,void 0)),this.subscribe("keybinding-nav-down",this.navigateDown.bind(this,void 0))}pasteBlocker(e){if(this.currentCell)return!0}keybindingNavigateNext(e){var r=this.currentCell,C=this.options("tabEndNewRow");r&&(this.navigateNext(r,e)||C&&(r.getElement().firstChild.blur(),this.invalidEdit||(C===!0?C=this.table.addRow({}):typeof C=="function"?C=this.table.addRow(C(r.row.getComponent())):C=this.table.addRow(Object.assign({},C)),C.then(()=>{setTimeout(()=>{r.getComponent().navigateNext()})}))))}cellIsEdited(e){return!!e.modules.edit&&e.modules.edit.edited}cellCancelEdit(e){e===this.currentCell?this.table.modules.edit.cancelEdit():console.warn("Cancel Editor Error - This cell is not currently being edited ")}updateCellClass(e){this.allowEdit(e)?e.getElement().classList.add("tabulator-editable"):e.getElement().classList.remove("tabulator-editable")}clearCellEdited(e){e||(e=this.table.modules.edit.getEditedCells()),Array.isArray(e)||(e=[e]),e.forEach(r=>{this.table.modules.edit.clearEdited(r._getSelf())})}navigatePrev(e=this.currentCell,r){var C,D;if(e){if(r&&r.preventDefault(),C=this.navigateLeft(),C)return!0;if(D=this.table.rowManager.prevDisplayRow(e.row,!0),D&&(C=this.findPrevEditableCell(D,D.cells.length),C))return C.getComponent().edit(),!0}return!1}navigateNext(e=this.currentCell,r){var C,D;if(e){if(r&&r.preventDefault(),C=this.navigateRight(),C)return!0;if(D=this.table.rowManager.nextDisplayRow(e.row,!0),D&&(C=this.findNextEditableCell(D,-1),C))return C.getComponent().edit(),!0}return!1}navigateLeft(e=this.currentCell,r){var C,D;return e&&(r&&r.preventDefault(),C=e.getIndex(),D=this.findPrevEditableCell(e.row,C),D)?(D.getComponent().edit(),!0):!1}navigateRight(e=this.currentCell,r){var C,D;return e&&(r&&r.preventDefault(),C=e.getIndex(),D=this.findNextEditableCell(e.row,C),D)?(D.getComponent().edit(),!0):!1}navigateUp(e=this.currentCell,r){var C,D;return e&&(r&&r.preventDefault(),C=e.getIndex(),D=this.table.rowManager.prevDisplayRow(e.row,!0),D)?(D.cells[C].getComponent().edit(),!0):!1}navigateDown(e=this.currentCell,r){var C,D;return e&&(r&&r.preventDefault(),C=e.getIndex(),D=this.table.rowManager.nextDisplayRow(e.row,!0),D)?(D.cells[C].getComponent().edit(),!0):!1}findNextEditableCell(e,r){var C=!1;if(r0)for(var D=r-1;D>=0;D--){let T=e.cells[D];if(T.column.modules.edit&&oo.elVisible(T.getElement())&&this.allowEdit(T)){C=T;break}}return C}initializeColumnCheck(e){typeof e.definition.editor<"u"&&this.initializeColumn(e)}columnDeleteCheck(e){this.currentCell&&this.currentCell.column===e&&this.cancelEdit()}rowDeleteCheck(e){this.currentCell&&this.currentCell.row===e&&this.cancelEdit()}rowEditableCheck(e){e.getCells().forEach(r=>{r.column.modules.edit&&typeof r.column.modules.edit.check=="function"&&this.updateCellClass(r)})}initializeColumn(e){var r={editor:!1,blocked:!1,check:e.definition.editable,params:e.definition.editorParams||{}};switch(typeof e.definition.editor){case"string":this.editors[e.definition.editor]?r.editor=this.editors[e.definition.editor]:console.warn("Editor Error - No such editor found: ",e.definition.editor);break;case"function":r.editor=e.definition.editor;break;case"boolean":e.definition.editor===!0&&(typeof e.definition.formatter!="function"?this.editors[e.definition.formatter]?r.editor=this.editors[e.definition.formatter]:r.editor=this.editors.input:console.warn("Editor Error - Cannot auto lookup editor for a custom formatter: ",e.definition.formatter));break}r.editor&&(e.modules.edit=r)}getCurrentCell(){return this.currentCell?this.currentCell.getComponent():!1}clearEditor(e){var r=this.currentCell,C;if(this.invalidEdit=!1,r){for(this.currentCell=!1,C=r.getElement(),this.dispatch("edit-editor-clear",r,e),C.classList.remove("tabulator-editing");C.firstChild;)C.removeChild(C.firstChild);r.row.getElement().classList.remove("tabulator-editing"),r.table.element.classList.remove("tabulator-editing")}}cancelEdit(){if(this.currentCell){var e=this.currentCell,r=this.currentCell.getComponent();this.clearEditor(!0),e.setValueActual(e.getValue()),e.cellRendered(),(e.column.definition.editor=="textarea"||e.column.definition.variableHeight)&&e.row.normalizeHeight(!0),e.column.definition.cellEditCancelled&&e.column.definition.cellEditCancelled.call(this.table,r),this.dispatch("edit-cancelled",e),this.dispatchExternal("cellEditCancelled",r)}}bindEditor(e){if(e.column.modules.edit){var r=this,C=e.getElement(!0);this.updateCellClass(e),C.setAttribute("tabindex",0),C.addEventListener("mousedown",function(D){D.button===2?D.preventDefault():r.mouseClick=!0}),this.options("editTriggerEvent")==="dblclick"&&C.addEventListener("dblclick",function(D){C.classList.contains("tabulator-editing")||(C.focus({preventScroll:!0}),r.edit(e,D,!1))}),(this.options("editTriggerEvent")==="focus"||this.options("editTriggerEvent")==="click")&&C.addEventListener("click",function(D){C.classList.contains("tabulator-editing")||(C.focus({preventScroll:!0}),r.edit(e,D,!1))}),this.options("editTriggerEvent")==="focus"&&C.addEventListener("focus",function(D){r.recursionBlock||r.edit(e,D,!1)})}}focusCellNoEvent(e,r){this.recursionBlock=!0,r&&this.table.browser==="ie"||e.getElement().focus({preventScroll:!0}),this.recursionBlock=!1}editCell(e,r){this.focusCellNoEvent(e),this.edit(e,!1,r)}focusScrollAdjust(e){if(this.table.rowManager.getRenderMode()=="virtual"){var r=this.table.rowManager.element.scrollTop,C=this.table.rowManager.element.clientHeight+this.table.rowManager.element.scrollTop,D=e.row.getElement();D.offsetTopC&&(this.table.rowManager.element.scrollTop+=D.offsetTop+D.offsetHeight-C);var T=this.table.rowManager.element.scrollLeft,p=this.table.rowManager.element.clientWidth+this.table.rowManager.element.scrollLeft,t=e.getElement();this.table.modExists("frozenColumns")&&(T+=parseInt(this.table.modules.frozenColumns.leftMargin||0),p-=parseInt(this.table.modules.frozenColumns.rightMargin||0)),this.table.options.renderHorizontal==="virtual"&&(T-=parseInt(this.table.columnManager.renderer.vDomPadLeft),p-=parseInt(this.table.columnManager.renderer.vDomPadLeft)),t.offsetLeftp&&(this.table.rowManager.element.scrollLeft+=t.offsetLeft+t.offsetWidth-p)}}allowEdit(e){var r=!!e.column.modules.edit;if(e.column.modules.edit)switch(typeof e.column.modules.edit.check){case"function":e.row.initialized&&(r=e.column.modules.edit.check(e.getComponent()));break;case"string":r=!!e.row.data[e.column.modules.edit.check];break;case"boolean":r=e.column.modules.edit.check;break}return r}edit(e,r,C){var D=this,T=!0,p=function(){},t=e.getElement(),d=!1,g,i,M;if(this.currentCell){!this.invalidEdit&&this.currentCell!==e&&this.cancelEdit();return}function v(o){if(D.currentCell===e&&!d){var s=D.chain("edit-success",[e,o],!0,!0);return s===!0||D.table.options.validationMode==="highlight"?(d=!0,D.clearEditor(),e.modules.edit||(e.modules.edit={}),e.modules.edit.edited=!0,D.editedCells.indexOf(e)==-1&&D.editedCells.push(e),e.setValue(o,!0),s===!0):(d=!0,D.invalidEdit=!0,D.focusCellNoEvent(e,!0),p(),setTimeout(()=>{d=!1},10),!1)}}function f(){D.currentCell===e&&!d&&D.cancelEdit()}function l(o){p=o}if(e.column.modules.edit.blocked)return this.mouseClick=!1,this.blur(t),!1;if(r&&r.stopPropagation(),T=this.allowEdit(e),T||C){if(D.cancelEdit(),D.currentCell=e,this.focusScrollAdjust(e),i=e.getComponent(),this.mouseClick&&(this.mouseClick=!1,e.column.definition.cellClick&&e.column.definition.cellClick.call(this.table,r,i)),e.column.definition.cellEditing&&e.column.definition.cellEditing.call(this.table,i),this.dispatch("cell-editing",e),this.dispatchExternal("cellEditing",i),M=typeof e.column.modules.edit.params=="function"?e.column.modules.edit.params(i):e.column.modules.edit.params,g=e.column.modules.edit.editor.call(D,i,l,v,f,M),this.currentCell&&g!==!1)if(g instanceof Node){for(t.classList.add("tabulator-editing"),e.row.getElement().classList.add("tabulator-editing"),e.table.element.classList.add("tabulator-editing");t.firstChild;)t.removeChild(t.firstChild);t.appendChild(g),p();for(var a=t.children,u=0;u{e.push(r.getComponent())}),e}clearEdited(e){var r;e.modules.edit&&e.modules.edit.edited&&(e.modules.edit.edited=!1,this.dispatch("edit-edited-clear",e)),r=this.editedCells.indexOf(e),r>-1&&this.editedCells.splice(r,1)}}tg.moduleName="edit";tg.editors=BR;class g5{constructor(e,r,C,D){this.type=e,this.columns=r,this.component=C||!1,this.indent=D||0}}class mb{constructor(e,r,C,D,T){this.value=e,this.component=r||!1,this.width=C,this.height=D,this.depth=T}}class DM extends qi{constructor(e){super(e),this.config={},this.cloneTableStyle=!0,this.colVisProp="",this.registerTableOption("htmlOutputConfig",!1),this.registerColumnOption("htmlOutput"),this.registerColumnOption("titleHtmlOutput")}initialize(){this.registerTableFunction("getHtml",this.getHtml.bind(this))}generateExportList(e,r,C,D){this.cloneTableStyle=r,this.config=e||{},this.colVisProp=D;var T,p;if(C==="range"){var t=this.table.modules.selectRange.selectedColumns();T=this.config.columnHeaders!==!1?this.headersToExportRows(this.generateColumnGroupHeaders(t)):[],p=this.bodyToExportRows(this.rowLookup(C),this.table.modules.selectRange.selectedColumns(!0))}else T=this.config.columnHeaders!==!1?this.headersToExportRows(this.generateColumnGroupHeaders()):[],p=this.bodyToExportRows(this.rowLookup(C));return T.concat(p)}generateTable(e,r,C,D){var T=this.generateExportList(e,r,C,D);return this.generateTableElement(T)}rowLookup(e){var r=[];if(typeof e=="function")e.call(this.table).forEach(C=>{C=this.table.rowManager.findRow(C),C&&r.push(C)});else switch(e){case!0:case"visible":r=this.table.rowManager.getVisibleRows(!1,!0);break;case"all":r=this.table.rowManager.rows;break;case"selected":r=this.table.modules.selectRow.selectedRows;break;case"range":r=this.table.modules.selectRange.selectedRows();break;case"active":default:this.table.options.pagination?r=this.table.rowManager.getDisplayRows(this.table.rowManager.displayRows.length-2):r=this.table.rowManager.getDisplayRows()}return Object.assign([],r)}generateColumnGroupHeaders(e){var r=[];return e||(e=this.config.columnGroups!==!1?this.table.columnManager.columns:this.table.columnManager.columnsByIndex),e.forEach(C=>{var D=this.processColumnGroup(C);D&&r.push(D)}),r}processColumnGroup(e){var r=e.columns,C=0,D=e.definition["title"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))]||e.definition.title,T={title:D,column:e,depth:1};if(r.length){if(T.subGroups=[],T.width=0,r.forEach(p=>{var t=this.processColumnGroup(p);t&&(T.width+=t.width,T.subGroups.push(t),t.depth>C&&(C=t.depth))}),T.depth+=C,!T.width)return!1}else if(this.columnVisCheck(e))T.width=1;else return!1;return T}columnVisCheck(e){var r=e.definition[this.colVisProp];return typeof r=="function"&&(r=r.call(this.table,e.getComponent())),r!==!1&&(e.visible||!e.visible&&r)}headersToExportRows(e){var r=[],C=0,D=[];function T(p,t){var d=C-t;if(typeof r[t]>"u"&&(r[t]=[]),p.height=p.subGroups?1:d-p.depth+1,r[t].push(p),p.height>1)for(let g=1;g"u"&&(r[t+g]=[]),r[t+g].push(!1);if(p.width>1)for(let g=1;gC&&(C=p.depth)}),e.forEach(function(p){T(p,0)}),r.forEach(p=>{var t=[];p.forEach(d=>{if(d){let g=typeof d.title>"u"?"":d.title;t.push(new mb(g,d.column.getComponent(),d.width,d.height,d.depth))}else t.push(null)}),D.push(new g5("header",t))}),D}bodyToExportRows(e,r=[]){var C=[];return r.length===0&&this.table.columnManager.columnsByIndex.forEach(D=>{this.columnVisCheck(D)&&r.push(D.getComponent())}),this.config.columnCalcs!==!1&&this.table.modExists("columnCalcs")&&(this.table.modules.columnCalcs.topInitialized&&e.unshift(this.table.modules.columnCalcs.topRow),this.table.modules.columnCalcs.botInitialized&&e.push(this.table.modules.columnCalcs.botRow)),e=e.filter(D=>{switch(D.type){case"group":return this.config.rowGroups!==!1;case"calc":return this.config.columnCalcs!==!1;case"row":return!(this.table.options.dataTree&&this.config.dataTree===!1&&D.modules.dataTree.parent)}return!0}),e.forEach((D,T)=>{var p=D.getData(this.colVisProp),t=[],d=0;switch(D.type){case"group":d=D.level,t.push(new mb(D.key,D.getComponent(),r.length,1));break;case"calc":case"row":r.forEach(g=>{t.push(new mb(g._column.getFieldValue(p),g,1,1))}),this.table.options.dataTree&&this.config.dataTree!==!1&&(d=D.modules.dataTree.index);break}C.push(new g5(D.type,t,D.getComponent(),d))}),C}generateTableElement(e){var r=document.createElement("table"),C=document.createElement("thead"),D=document.createElement("tbody"),T=this.lookupTableStyles(),p=this.table.options["rowFormatter"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))],t={};return t.rowFormatter=p!==null?p:this.table.options.rowFormatter,this.table.options.dataTree&&this.config.dataTree!==!1&&this.table.modExists("columnCalcs")&&(t.treeElementField=this.table.modules.dataTree.elementField),t.groupHeader=this.table.options["groupHeader"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))],t.groupHeader&&!Array.isArray(t.groupHeader)&&(t.groupHeader=[t.groupHeader]),r.classList.add("tabulator-print-table"),this.mapElementStyles(this.table.columnManager.getHeadersElement(),C,["border-top","border-left","border-right","border-bottom","background-color","color","font-weight","font-family","font-size"]),e.length>1e3&&console.warn("It may take a long time to render an HTML table with more than 1000 rows"),e.forEach((d,g)=>{let i;switch(d.type){case"header":C.appendChild(this.generateHeaderElement(d,t,T));break;case"group":D.appendChild(this.generateGroupElement(d,t,T));break;case"calc":D.appendChild(this.generateCalcElement(d,t,T));break;case"row":i=this.generateRowElement(d,t,T),this.mapElementStyles(g%2&&T.evenRow?T.evenRow:T.oddRow,i,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),D.appendChild(i);break}}),C.innerHTML&&r.appendChild(C),r.appendChild(D),this.mapElementStyles(this.table.element,r,["border-top","border-left","border-right","border-bottom"]),r}lookupTableStyles(){var e={};return this.cloneTableStyle&&window.getComputedStyle&&(e.oddRow=this.table.element.querySelector(".tabulator-row-odd:not(.tabulator-group):not(.tabulator-calcs)"),e.evenRow=this.table.element.querySelector(".tabulator-row-even:not(.tabulator-group):not(.tabulator-calcs)"),e.calcRow=this.table.element.querySelector(".tabulator-row.tabulator-calcs"),e.firstRow=this.table.element.querySelector(".tabulator-row:not(.tabulator-group):not(.tabulator-calcs)"),e.firstGroup=this.table.element.getElementsByClassName("tabulator-group")[0],e.firstRow&&(e.styleCells=e.firstRow.getElementsByClassName("tabulator-cell"),e.firstCell=e.styleCells[0],e.lastCell=e.styleCells[e.styleCells.length-1])),e}generateHeaderElement(e,r,C){var D=document.createElement("tr");return e.columns.forEach(T=>{if(T){var p=document.createElement("th"),t=T.component._column.definition.cssClass?T.component._column.definition.cssClass.split(" "):[];p.colSpan=T.width,p.rowSpan=T.height,p.innerHTML=T.value,this.cloneTableStyle&&(p.style.boxSizing="border-box"),t.forEach(function(d){p.classList.add(d)}),this.mapElementStyles(T.component.getElement(),p,["text-align","border-top","border-left","border-right","border-bottom","background-color","color","font-weight","font-family","font-size"]),this.mapElementStyles(T.component._column.contentElement,p,["padding-top","padding-left","padding-right","padding-bottom"]),T.component._column.visible?this.mapElementStyles(T.component.getElement(),p,["width"]):T.component._column.definition.width&&(p.style.width=T.component._column.definition.width+"px"),T.component._column.parent&&this.mapElementStyles(T.component._column.parent.groupElement,p,["border-top"]),D.appendChild(p)}}),D}generateGroupElement(e,r,C){var D=document.createElement("tr"),T=document.createElement("td"),p=e.columns[0];return D.classList.add("tabulator-print-table-row"),r.groupHeader&&r.groupHeader[e.indent]?p.value=r.groupHeader[e.indent](p.value,e.component._group.getRowCount(),e.component._group.getData(),e.component):r.groupHeader!==!1&&(p.value=e.component._group.generator(p.value,e.component._group.getRowCount(),e.component._group.getData(),e.component)),T.colSpan=p.width,T.innerHTML=p.value,D.classList.add("tabulator-print-table-group"),D.classList.add("tabulator-group-level-"+e.indent),p.component.isVisible()&&D.classList.add("tabulator-group-visible"),this.mapElementStyles(C.firstGroup,D,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),this.mapElementStyles(C.firstGroup,T,["padding-top","padding-left","padding-right","padding-bottom"]),D.appendChild(T),D}generateCalcElement(e,r,C){var D=this.generateRowElement(e,r,C);return D.classList.add("tabulator-print-table-calcs"),this.mapElementStyles(C.calcRow,D,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),D}generateRowElement(e,r,C){var D=document.createElement("tr");if(D.classList.add("tabulator-print-table-row"),e.columns.forEach((T,p)=>{if(T){var t=document.createElement("td"),d=T.component._column,g=this.table,i=g.columnManager.findColumnIndex(d),M=T.value,v,f={modules:{},getValue:function(){return M},getField:function(){return d.definition.field},getElement:function(){return t},getType:function(){return"cell"},getColumn:function(){return d.getComponent()},getData:function(){return e.component.getData()},getRow:function(){return e.component},getTable:function(){return g},getComponent:function(){return f},column:d},l=d.definition.cssClass?d.definition.cssClass.split(" "):[];if(l.forEach(function(a){t.classList.add(a)}),this.table.modExists("format")&&this.config.formatCells!==!1)M=this.table.modules.format.formatExportValue(f,this.colVisProp);else switch(typeof M){case"object":M=M!==null?JSON.stringify(M):"";break;case"undefined":M="";break}M instanceof Node?t.appendChild(M):t.innerHTML=M,v=C.styleCells&&C.styleCells[i]?C.styleCells[i]:C.firstCell,v&&(this.mapElementStyles(v,t,["padding-top","padding-left","padding-right","padding-bottom","border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","text-align"]),d.definition.align&&(t.style.textAlign=d.definition.align)),this.table.options.dataTree&&this.config.dataTree!==!1&&(r.treeElementField&&r.treeElementField==d.field||!r.treeElementField&&p==0)&&(e.component._row.modules.dataTree.controlEl&&t.insertBefore(e.component._row.modules.dataTree.controlEl.cloneNode(!0),t.firstChild),e.component._row.modules.dataTree.branchEl&&t.insertBefore(e.component._row.modules.dataTree.branchEl.cloneNode(!0),t.firstChild)),D.appendChild(t),f.modules.format&&f.modules.format.renderedCallback&&f.modules.format.renderedCallback()}}),r.rowFormatter&&e.type==="row"&&this.config.formatCells!==!1){let T=Object.assign(e.component);T.getElement=function(){return D},r.rowFormatter(e.component)}return D}generateHTMLTable(e){var r=document.createElement("div");return r.appendChild(this.generateTableElement(e)),r.innerHTML}getHtml(e,r,C,D){var T=this.generateExportList(C||this.table.options.htmlOutputConfig,r,e,D||"htmlOutput");return this.generateHTMLTable(T)}mapElementStyles(e,r,C){if(this.cloneTableStyle&&e&&r){var D={"background-color":"backgroundColor",color:"fontColor",width:"width","font-weight":"fontWeight","font-family":"fontFamily","font-size":"fontSize","text-align":"textAlign","border-top":"borderTop","border-left":"borderLeft","border-right":"borderRight","border-bottom":"borderBottom","padding-top":"paddingTop","padding-left":"paddingLeft","padding-right":"paddingRight","padding-bottom":"paddingBottom"};if(window.getComputedStyle){var T=window.getComputedStyle(e);C.forEach(function(p){r.style[D[p]]||(r.style[D[p]]=T.getPropertyValue(p))})}}}}DM.moduleName="export";var NR={"=":function(n,e,r,C){return e==n},"<":function(n,e,r,C){return e":function(n,e,r,C){return e>n},">=":function(n,e,r,C){return e>=n},"!=":function(n,e,r,C){return e!=n},regex:function(n,e,r,C){return typeof n=="string"&&(n=new RegExp(n)),n.test(e)},like:function(n,e,r,C){return n===null||typeof n>"u"?e===n:typeof e<"u"&&e!==null?String(e).toLowerCase().indexOf(n.toLowerCase())>-1:!1},keywords:function(n,e,r,C){var D=n.toLowerCase().split(typeof C.separator>"u"?" ":C.separator),T=String(e===null||typeof e>"u"?"":e).toLowerCase(),p=[];return D.forEach(t=>{T.includes(t)&&p.push(!0)}),C.matchAll?p.length===D.length:!!p.length},starts:function(n,e,r,C){return n===null||typeof n>"u"?e===n:typeof e<"u"&&e!==null?String(e).toLowerCase().startsWith(n.toLowerCase()):!1},ends:function(n,e,r,C){return n===null||typeof n>"u"?e===n:typeof e<"u"&&e!==null?String(e).toLowerCase().endsWith(n.toLowerCase()):!1},in:function(n,e,r,C){return Array.isArray(n)?n.length?n.indexOf(e)>-1:!0:(console.warn("Filter Error - filter value is not an array:",n),!1)}};class Xh extends qi{constructor(e){super(e),this.filterList=[],this.headerFilters={},this.headerFilterColumns=[],this.prevHeaderFilterChangeCheck="",this.prevHeaderFilterChangeCheck="{}",this.changed=!1,this.tableInitialized=!1,this.registerTableOption("filterMode","local"),this.registerTableOption("initialFilter",!1),this.registerTableOption("initialHeaderFilter",!1),this.registerTableOption("headerFilterLiveFilterDelay",300),this.registerTableOption("placeholderHeaderFilter",!1),this.registerColumnOption("headerFilter"),this.registerColumnOption("headerFilterPlaceholder"),this.registerColumnOption("headerFilterParams"),this.registerColumnOption("headerFilterEmptyCheck"),this.registerColumnOption("headerFilterFunc"),this.registerColumnOption("headerFilterFuncParams"),this.registerColumnOption("headerFilterLiveFilter"),this.registerTableFunction("searchRows",this.searchRows.bind(this)),this.registerTableFunction("searchData",this.searchData.bind(this)),this.registerTableFunction("setFilter",this.userSetFilter.bind(this)),this.registerTableFunction("refreshFilter",this.userRefreshFilter.bind(this)),this.registerTableFunction("addFilter",this.userAddFilter.bind(this)),this.registerTableFunction("getFilters",this.getFilters.bind(this)),this.registerTableFunction("setHeaderFilterFocus",this.userSetHeaderFilterFocus.bind(this)),this.registerTableFunction("getHeaderFilterValue",this.userGetHeaderFilterValue.bind(this)),this.registerTableFunction("setHeaderFilterValue",this.userSetHeaderFilterValue.bind(this)),this.registerTableFunction("getHeaderFilters",this.getHeaderFilters.bind(this)),this.registerTableFunction("removeFilter",this.userRemoveFilter.bind(this)),this.registerTableFunction("clearFilter",this.userClearFilter.bind(this)),this.registerTableFunction("clearHeaderFilter",this.userClearHeaderFilter.bind(this)),this.registerComponentFunction("column","headerFilterFocus",this.setHeaderFilterFocus.bind(this)),this.registerComponentFunction("column","reloadHeaderFilter",this.reloadHeaderFilter.bind(this)),this.registerComponentFunction("column","getHeaderFilterValue",this.getHeaderFilterValue.bind(this)),this.registerComponentFunction("column","setHeaderFilterValue",this.setHeaderFilterValue.bind(this))}initialize(){this.subscribe("column-init",this.initializeColumnHeaderFilter.bind(this)),this.subscribe("column-width-fit-before",this.hideHeaderFilterElements.bind(this)),this.subscribe("column-width-fit-after",this.showHeaderFilterElements.bind(this)),this.subscribe("table-built",this.tableBuilt.bind(this)),this.subscribe("placeholder",this.generatePlaceholder.bind(this)),this.table.options.filterMode==="remote"&&this.subscribe("data-params",this.remoteFilterParams.bind(this)),this.registerDataHandler(this.filter.bind(this),10)}tableBuilt(){this.table.options.initialFilter&&this.setFilter(this.table.options.initialFilter),this.table.options.initialHeaderFilter&&this.table.options.initialHeaderFilter.forEach(e=>{var r=this.table.columnManager.findColumn(e.field);if(r)this.setHeaderFilterValue(r,e.value);else return console.warn("Column Filter Error - No matching column found:",e.field),!1}),this.tableInitialized=!0}remoteFilterParams(e,r,C,D){return D.filter=this.getFilters(!0,!0),D}generatePlaceholder(e){if(this.table.options.placeholderHeaderFilter&&Object.keys(this.headerFilters).length)return this.table.options.placeholderHeaderFilter}userSetFilter(e,r,C,D){this.setFilter(e,r,C,D),this.refreshFilter()}userRefreshFilter(){this.refreshFilter()}userAddFilter(e,r,C,D){this.addFilter(e,r,C,D),this.refreshFilter()}userSetHeaderFilterFocus(e){var r=this.table.columnManager.findColumn(e);if(r)this.setHeaderFilterFocus(r);else return console.warn("Column Filter Focus Error - No matching column found:",e),!1}userGetHeaderFilterValue(e){var r=this.table.columnManager.findColumn(e);if(r)return this.getHeaderFilterValue(r);console.warn("Column Filter Error - No matching column found:",e)}userSetHeaderFilterValue(e,r){var C=this.table.columnManager.findColumn(e);if(C)this.setHeaderFilterValue(C,r);else return console.warn("Column Filter Error - No matching column found:",e),!1}userRemoveFilter(e,r,C){this.removeFilter(e,r,C),this.refreshFilter()}userClearFilter(e){this.clearFilter(e),this.refreshFilter()}userClearHeaderFilter(){this.clearHeaderFilter(),this.refreshFilter()}searchRows(e,r,C){return this.search("rows",e,r,C)}searchData(e,r,C){return this.search("data",e,r,C)}initializeColumnHeaderFilter(e){var r=e.definition;r.headerFilter&&this.initializeColumn(e)}initializeColumn(e,r){var C=this,D=e.getField();function T(p){var t=e.modules.filter.tagType=="input"&&e.modules.filter.attrType=="text"||e.modules.filter.tagType=="textarea"?"partial":"match",d="",g="",i;if(typeof e.modules.filter.prevSuccess>"u"||e.modules.filter.prevSuccess!==p){if(e.modules.filter.prevSuccess=p,e.modules.filter.emptyFunc(p))delete C.headerFilters[D];else{switch(e.modules.filter.value=p,typeof e.definition.headerFilterFunc){case"string":Xh.filters[e.definition.headerFilterFunc]?(d=e.definition.headerFilterFunc,i=function(M){var v=e.definition.headerFilterFuncParams||{},f=e.getFieldValue(M);return v=typeof v=="function"?v(p,f,M):v,Xh.filters[e.definition.headerFilterFunc](p,f,M,v)}):console.warn("Header Filter Error - Matching filter function not found: ",e.definition.headerFilterFunc);break;case"function":i=function(M){var v=e.definition.headerFilterFuncParams||{},f=e.getFieldValue(M);return v=typeof v=="function"?v(p,f,M):v,e.definition.headerFilterFunc(p,f,M,v)},d=i;break}if(!i)switch(t){case"partial":i=function(M){var v=e.getFieldValue(M);return typeof v<"u"&&v!==null?String(v).toLowerCase().indexOf(String(p).toLowerCase())>-1:!1},d="like";break;default:i=function(M){return e.getFieldValue(M)==p},d="="}C.headerFilters[D]={value:p,func:i,type:d}}e.modules.filter.value=p,g=JSON.stringify(C.headerFilters),C.prevHeaderFilterChangeCheck!==g&&(C.prevHeaderFilterChangeCheck=g,C.trackChanges(),C.refreshFilter())}return!0}e.modules.filter={success:T,attrType:!1,tagType:!1,emptyFunc:!1},this.generateHeaderFilterElement(e)}generateHeaderFilterElement(e,r,C){var D=this,T=e.modules.filter.success,p=e.getField(),t,d,g,i,M,v,f,l;e.modules.filter.value=r;function a(){}function u(o){l=o}if(e.modules.filter.headerElement&&e.modules.filter.headerElement.parentNode&&e.contentElement.removeChild(e.modules.filter.headerElement.parentNode),p){switch(e.modules.filter.emptyFunc=e.definition.headerFilterEmptyCheck||function(o){return!o&&o!==0},t=document.createElement("div"),t.classList.add("tabulator-header-filter"),typeof e.definition.headerFilter){case"string":D.table.modules.edit.editors[e.definition.headerFilter]?(d=D.table.modules.edit.editors[e.definition.headerFilter],(e.definition.headerFilter==="tick"||e.definition.headerFilter==="tickCross")&&!e.definition.headerFilterEmptyCheck&&(e.modules.filter.emptyFunc=function(o){return o!==!0&&o!==!1})):console.warn("Filter Error - Cannot build header filter, No such editor found: ",e.definition.editor);break;case"function":d=e.definition.headerFilter;break;case"boolean":e.modules.edit&&e.modules.edit.editor?d=e.modules.edit.editor:e.definition.formatter&&D.table.modules.edit.editors[e.definition.formatter]?(d=D.table.modules.edit.editors[e.definition.formatter],(e.definition.formatter==="tick"||e.definition.formatter==="tickCross")&&!e.definition.headerFilterEmptyCheck&&(e.modules.filter.emptyFunc=function(o){return o!==!0&&o!==!1})):d=D.table.modules.edit.editors.input;break}if(d){if(i={getValue:function(){return typeof r<"u"?r:""},getField:function(){return e.definition.field},getElement:function(){return t},getColumn:function(){return e.getComponent()},getTable:()=>this.table,getType:()=>"header",getRow:function(){return{normalizeHeight:function(){}}}},f=e.definition.headerFilterParams||{},f=typeof f=="function"?f.call(D.table,i):f,g=d.call(this.table.modules.edit,i,u,T,a,f),!g){console.warn("Filter Error - Cannot add filter to "+p+" column, editor returned a value of false");return}if(!(g instanceof Node)){console.warn("Filter Error - Cannot add filter to "+p+" column, editor should return an instance of Node, the editor returned:",g);return}D.langBind("headerFilters|columns|"+e.definition.field,function(o){g.setAttribute("placeholder",typeof o<"u"&&o?o:e.definition.headerFilterPlaceholder||D.langText("headerFilters|default"))}),g.addEventListener("click",function(o){o.stopPropagation(),g.focus()}),g.addEventListener("focus",o=>{var s=this.table.columnManager.contentsElement.scrollLeft,c=this.table.rowManager.element.scrollLeft;s!==c&&(this.table.rowManager.scrollHorizontal(s),this.table.columnManager.scrollHorizontal(s))}),M=!1,v=function(o){M&&clearTimeout(M),M=setTimeout(function(){T(g.value)},D.table.options.headerFilterLiveFilterDelay)},e.modules.filter.headerElement=g,e.modules.filter.attrType=g.hasAttribute("type")?g.getAttribute("type").toLowerCase():"",e.modules.filter.tagType=g.tagName.toLowerCase(),e.definition.headerFilterLiveFilter!==!1&&(e.definition.headerFilter==="autocomplete"||e.definition.headerFilter==="tickCross"||(e.definition.editor==="autocomplete"||e.definition.editor==="tickCross")&&e.definition.headerFilter===!0||(g.addEventListener("keyup",v),g.addEventListener("search",v),e.modules.filter.attrType=="number"&&g.addEventListener("change",function(o){T(g.value)}),e.modules.filter.attrType=="text"&&this.table.browser!=="ie"&&g.setAttribute("type","search")),(e.modules.filter.tagType=="input"||e.modules.filter.tagType=="select"||e.modules.filter.tagType=="textarea")&&g.addEventListener("mousedown",function(o){o.stopPropagation()})),t.appendChild(g),e.contentElement.appendChild(t),C||D.headerFilterColumns.push(e),l&&l()}}else console.warn("Filter Error - Cannot add header filter, column has no field set:",e.definition.title)}hideHeaderFilterElements(){this.headerFilterColumns.forEach(function(e){e.modules.filter&&e.modules.filter.headerElement&&(e.modules.filter.headerElement.style.display="none")})}showHeaderFilterElements(){this.headerFilterColumns.forEach(function(e){e.modules.filter&&e.modules.filter.headerElement&&(e.modules.filter.headerElement.style.display="")})}setHeaderFilterFocus(e){e.modules.filter&&e.modules.filter.headerElement?e.modules.filter.headerElement.focus():console.warn("Column Filter Focus Error - No header filter set on column:",e.getField())}getHeaderFilterValue(e){if(e.modules.filter&&e.modules.filter.headerElement)return e.modules.filter.value;console.warn("Column Filter Error - No header filter set on column:",e.getField())}setHeaderFilterValue(e,r){e&&(e.modules.filter&&e.modules.filter.headerElement?(this.generateHeaderFilterElement(e,r,!0),e.modules.filter.success(r)):console.warn("Column Filter Error - No header filter set on column:",e.getField()))}reloadHeaderFilter(e){e&&(e.modules.filter&&e.modules.filter.headerElement?this.generateHeaderFilterElement(e,e.modules.filter.value,!0):console.warn("Column Filter Error - No header filter set on column:",e.getField()))}refreshFilter(){this.tableInitialized&&(this.table.options.filterMode==="remote"?this.reloadData(null,!1,!1):this.refreshData(!0))}trackChanges(){this.changed=!0,this.dispatch("filter-changed")}hasChanged(){var e=this.changed;return this.changed=!1,e}setFilter(e,r,C,D){this.filterList=[],Array.isArray(e)||(e=[{field:e,type:r,value:C,params:D}]),this.addFilter(e)}addFilter(e,r,C,D){var T=!1;Array.isArray(e)||(e=[{field:e,type:r,value:C,params:D}]),e.forEach(p=>{p=this.findFilter(p),p&&(this.filterList.push(p),T=!0)}),T&&this.trackChanges()}findFilter(e){var r;if(Array.isArray(e))return this.findSubFilters(e);var C=!1;return typeof e.field=="function"?C=function(D){return e.field(D,e.type||{})}:Xh.filters[e.type]?(r=this.table.columnManager.getColumnByField(e.field),r?C=function(D){return Xh.filters[e.type](e.value,r.getFieldValue(D),D,e.params||{})}:C=function(D){return Xh.filters[e.type](e.value,D[e.field],D,e.params||{})}):console.warn("Filter Error - No such filter type found, ignoring: ",e.type),e.func=C,e.func?e:!1}findSubFilters(e){var r=[];return e.forEach(C=>{C=this.findFilter(C),C&&r.push(C)}),r.length?r:!1}getFilters(e,r){var C=[];return e&&(C=this.getHeaderFilters()),r&&C.forEach(function(D){typeof D.type=="function"&&(D.type="function")}),C=C.concat(this.filtersToArray(this.filterList,r)),C}filtersToArray(e,r){var C=[];return e.forEach(D=>{var T;Array.isArray(D)?C.push(this.filtersToArray(D,r)):(T={field:D.field,type:D.type,value:D.value},r&&typeof T.type=="function"&&(T.type="function"),C.push(T))}),C}getHeaderFilters(){var e=[];for(var r in this.headerFilters)e.push({field:r,type:this.headerFilters[r].type,value:this.headerFilters[r].value});return e}removeFilter(e,r,C){Array.isArray(e)||(e=[{field:e,type:r,value:C}]),e.forEach(D=>{var T=-1;typeof D.field=="object"?T=this.filterList.findIndex(p=>D===p):T=this.filterList.findIndex(p=>D.field===p.field&&D.type===p.type&&D.value===p.value),T>-1?this.filterList.splice(T,1):console.warn("Filter Error - No matching filter type found, ignoring: ",D.type)}),this.trackChanges()}clearFilter(e){this.filterList=[],e&&this.clearHeaderFilter(),this.trackChanges()}clearHeaderFilter(){this.headerFilters={},this.prevHeaderFilterChangeCheck="{}",this.headerFilterColumns.forEach(e=>{typeof e.modules.filter.value<"u"&&delete e.modules.filter.value,e.modules.filter.prevSuccess=void 0,this.reloadHeaderFilter(e)}),this.trackChanges()}search(e,r,C,D){var T=[],p=[];return Array.isArray(r)||(r=[{field:r,type:C,value:D}]),r.forEach(t=>{t=this.findFilter(t),t&&p.push(t)}),this.table.rowManager.rows.forEach(t=>{var d=!0;p.forEach(g=>{this.filterRecurse(g,t.getData())||(d=!1)}),d&&T.push(e==="data"?t.getData("data"):t.getComponent())}),T}filter(e,r){var C=[],D=[];return this.subscribedExternal("dataFiltering")&&this.dispatchExternal("dataFiltering",this.getFilters(!0)),this.table.options.filterMode!=="remote"&&(this.filterList.length||Object.keys(this.headerFilters).length)?e.forEach(T=>{this.filterRow(T)&&C.push(T)}):C=e.slice(0),this.subscribedExternal("dataFiltered")&&(C.forEach(T=>{D.push(T.getComponent())}),this.dispatchExternal("dataFiltered",this.getFilters(!0),D)),C}filterRow(e,r){var C=!0,D=e.getData();this.filterList.forEach(p=>{this.filterRecurse(p,D)||(C=!1)});for(var T in this.headerFilters)this.headerFilters[T].func(D)||(C=!1);return C}filterRecurse(e,r){var C=!1;return Array.isArray(e)?e.forEach(D=>{this.filterRecurse(D,r)&&(C=!0)}):C=e.func(r),C}}Xh.moduleName="filter";Xh.filters=NR;function VR(n,e,r){return this.emptyToSpace(this.sanitizeHTML(n.getValue()))}function jR(n,e,r){return n.getValue()}function UR(n,e,r){return n.getElement().style.whiteSpace="pre-wrap",this.emptyToSpace(this.sanitizeHTML(n.getValue()))}function HR(n,e,r){var C=parseFloat(n.getValue()),D="",T,p,t,d,g,i=e.decimal||".",M=e.thousand||",",v=e.negativeSign||"-",f=e.symbol||"",l=!!e.symbolAfter,a=typeof e.precision<"u"?e.precision:2;if(isNaN(C))return this.emptyToSpace(this.sanitizeHTML(n.getValue()));if(C<0&&(C=Math.abs(C),D=v),T=a!==!1?C.toFixed(a):C,T=String(T).split("."),p=T[0],t=T.length>1?i+T[1]:"",e.thousand!==!1)for(d=/(\d+)(\d{3})/;d.test(p);)p=p.replace(d,"$1"+M+"$2");return g=p+t,D===!0?(g="("+g+")",l?g+f:f+g):l?D+g+f:D+f+g}function GR(n,e,r){var C=n.getValue(),D=e.urlPrefix||"",T=e.download,p=C,t=document.createElement("a"),d;function g(i,M){var v=i.shift(),f=M[v];return i.length&&typeof f=="object"?g(i,f):f}if(e.labelField&&(d=n.getData(),p=g(e.labelField.split(this.table.options.nestedFieldSeparator),d)),e.label)switch(typeof e.label){case"string":p=e.label;break;case"function":p=e.label(n);break}if(p){if(e.urlField&&(d=n.getData(),C=oo.retrieveNestedData(this.table.options.nestedFieldSeparator,e.urlField,d)),e.url)switch(typeof e.url){case"string":C=e.url;break;case"function":C=e.url(n);break}return t.setAttribute("href",D+C),e.target&&t.setAttribute("target",e.target),e.download&&(typeof T=="function"?T=T(n):T=T===!0?"":T,t.setAttribute("download",T)),t.innerHTML=this.emptyToSpace(this.sanitizeHTML(p)),t}else return" "}function qR(n,e,r){var C=document.createElement("img"),D=n.getValue();switch(e.urlPrefix&&(D=e.urlPrefix+n.getValue()),e.urlSuffix&&(D=D+e.urlSuffix),C.setAttribute("src",D),typeof e.height){case"number":C.style.height=e.height+"px";break;case"string":C.style.height=e.height;break}switch(typeof e.width){case"number":C.style.width=e.width+"px";break;case"string":C.style.width=e.width;break}return C.addEventListener("load",function(){n.getRow().normalizeHeight()}),C}function WR(n,e,r){var C=n.getValue(),D=n.getElement(),T=e.allowEmpty,p=e.allowTruthy,t=Object.keys(e).includes("trueValue"),d=typeof e.tickElement<"u"?e.tickElement:'',g=typeof e.crossElement<"u"?e.crossElement:'';return t&&C===e.trueValue||!t&&(p&&C||C===!0||C==="true"||C==="True"||C===1||C==="1")?(D.setAttribute("aria-checked",!0),d||""):T&&(C==="null"||C===""||C===null||typeof C>"u")?(D.setAttribute("aria-checked","mixed"),""):(D.setAttribute("aria-checked",!1),g||"")}function YR(n,e,r){var C=window.DateTime||luxon.DateTime,D=e.inputFormat||"yyyy-MM-dd HH:mm:ss",T=e.outputFormat||"dd/MM/yyyy HH:mm:ss",p=typeof e.invalidPlaceholder<"u"?e.invalidPlaceholder:"",t=n.getValue();if(typeof C<"u"){var d;return C.isDateTime(t)?d=t:D==="iso"?d=C.fromISO(String(t)):d=C.fromFormat(String(t),D),d.isValid?(e.timezone&&(d=d.setZone(e.timezone)),d.toFormat(T)):p===!0||!t?t:typeof p=="function"?p(t):p}else console.error("Format Error - 'datetime' formatter is dependant on luxon.js")}function $R(n,e,r){var C=window.DateTime||luxon.DateTime,D=e.inputFormat||"yyyy-MM-dd HH:mm:ss",T=typeof e.invalidPlaceholder<"u"?e.invalidPlaceholder:"",p=typeof e.suffix<"u"?e.suffix:!1,t=typeof e.unit<"u"?e.unit:"days",d=typeof e.humanize<"u"?e.humanize:!1,g=typeof e.date<"u"?e.date:C.now(),i=n.getValue();if(typeof C<"u"){var M;return C.isDateTime(i)?M=i:D==="iso"?M=C.fromISO(String(i)):M=C.fromFormat(String(i),D),M.isValid?d?M.diff(g,t).toHuman()+(p?" "+p:""):parseInt(M.diff(g,t)[t])+(p?" "+p:""):T===!0?i:typeof T=="function"?T(i):T}else console.error("Format Error - 'datetimediff' formatter is dependant on luxon.js")}function ZR(n,e,r){var C=n.getValue();return typeof e[C]>"u"?(console.warn("Missing display value for "+C),C):e[C]}function XR(n,e,r){var C=n.getValue(),D=n.getElement(),T=e&&e.stars?e.stars:5,p=document.createElement("span"),t=document.createElementNS("http://www.w3.org/2000/svg","svg"),d='',g='';p.style.verticalAlign="middle",t.setAttribute("width","14"),t.setAttribute("height","14"),t.setAttribute("viewBox","0 0 512 512"),t.setAttribute("xml:space","preserve"),t.style.padding="0 1px",C=C&&!isNaN(C)?parseInt(C):0,C=Math.max(0,Math.min(C,T));for(var i=1;i<=T;i++){var M=t.cloneNode(!0);M.innerHTML=i<=C?d:g,p.appendChild(M)}return D.style.whiteSpace="nowrap",D.style.overflow="hidden",D.style.textOverflow="ellipsis",D.setAttribute("aria-label",C),p}function KR(n,e,r){var C=this.sanitizeHTML(n.getValue())||0,D=document.createElement("span"),T=e&&e.max?e.max:100,p=e&&e.min?e.min:0,t=e&&typeof e.color<"u"?e.color:["red","orange","green"],d="#666666",g,i;if(!(isNaN(C)||typeof n.getValue()>"u")){switch(D.classList.add("tabulator-traffic-light"),i=parseFloat(C)<=T?parseFloat(C):T,i=parseFloat(i)>=p?parseFloat(i):p,g=(T-p)/100,i=Math.round((i-p)/g),typeof t){case"string":d=t;break;case"function":d=t(C);break;case"object":if(Array.isArray(t)){var M=100/t.length,v=Math.floor(i/M);v=Math.min(v,t.length-1),v=Math.max(v,0),d=t[v];break}}return D.style.backgroundColor=d,D}}function JR(n,e={},r){var C=this.sanitizeHTML(n.getValue())||0,D=n.getElement(),T=e.max?e.max:100,p=e.min?e.min:0,t=e.legendAlign?e.legendAlign:"center",d,g,i,M,v;switch(g=parseFloat(C)<=T?parseFloat(C):T,g=parseFloat(g)>=p?parseFloat(g):p,d=(T-p)/100,g=Math.round((g-p)/d),typeof e.color){case"string":i=e.color;break;case"function":i=e.color(C);break;case"object":if(Array.isArray(e.color)){let u=100/e.color.length,o=Math.floor(g/u);o=Math.min(o,e.color.length-1),o=Math.max(o,0),i=e.color[o];break}default:i="#2DC214"}switch(typeof e.legend){case"string":M=e.legend;break;case"function":M=e.legend(C);break;case"boolean":M=C;break;default:M=!1}switch(typeof e.legendColor){case"string":v=e.legendColor;break;case"function":v=e.legendColor(C);break;case"object":if(Array.isArray(e.legendColor)){let u=100/e.legendColor.length,o=Math.floor(g/u);o=Math.min(o,e.legendColor.length-1),o=Math.max(o,0),v=e.legendColor[o]}break;default:v="#000"}D.style.minWidth="30px",D.style.position="relative",D.setAttribute("aria-label",g);var f=document.createElement("div");f.style.display="inline-block",f.style.width=g+"%",f.style.backgroundColor=i,f.style.height="100%",f.setAttribute("data-max",T),f.setAttribute("data-min",p);var l=document.createElement("div");if(l.style.position="relative",l.style.width="100%",l.style.height="100%",M){var a=document.createElement("div");a.style.position="absolute",a.style.top=0,a.style.left=0,a.style.textAlign=t,a.style.width="100%",a.style.color=v,a.innerHTML=M}return r(function(){if(!(n instanceof IM)){var u=document.createElement("div");u.style.position="absolute",u.style.top="4px",u.style.bottom="4px",u.style.left="4px",u.style.right="4px",D.appendChild(u),D=u}D.appendChild(l),l.appendChild(f),M&&l.appendChild(a)}),""}function QR(n,e,r){return n.getElement().style.backgroundColor=this.sanitizeHTML(n.getValue()),""}function eP(n,e,r){return''}function tP(n,e,r){return''}function nP(n,e,r){var C=document.createElement("span"),D=n.getRow(),T=n.getTable();return D.watchPosition(p=>{e.relativeToPage&&(p+=T.modules.page.getPageSize()*(T.modules.page.getPage()-1)),C.innerText=p}),C}function rP(n,e,r){return n.getElement().classList.add("tabulator-row-handle"),"
"}function iP(n,e,r){var C=document.createElement("div"),D=n.getRow()._row.modules.responsiveLayout;C.classList.add("tabulator-responsive-collapse-toggle"),C.innerHTML=` -`,n.getElement().classList.add("tabulator-row-handle");function k(m){var t=D.element;D.open=m,t&&(D.open?(C.classList.add("open"),t.style.display=""):(C.classList.remove("open"),t.style.display="none"))}return C.addEventListener("click",function(m){m.stopImmediatePropagation(),k(!D.open),n.getTable().rowManager.adjustTableSize()}),k(D.open),C}function iP(n,e,r){var C=document.createElement("input"),D=!1;if(C.type="checkbox",C.setAttribute("aria-label","Select Row"),this.table.modExists("selectRow",!0))if(C.addEventListener("click",m=>{m.stopPropagation()}),typeof n.getRow=="function"){var k=n.getRow();k instanceof Wy?(C.addEventListener("change",m=>{this.table.options.selectableRowsRangeMode==="click"&&D?D=!1:k.toggleSelect()}),this.table.options.selectableRowsRangeMode==="click"&&C.addEventListener("click",m=>{D=!0,this.table.modules.selectRow.handleComplexRowClick(k._row,m)}),C.checked=k.isSelected&&k.isSelected(),this.table.modules.selectRow.registerRowSelectCheckbox(k,C)):C=""}else C.addEventListener("change",m=>{this.table.modules.selectRow.selectedRows.length?this.table.deselectRow():this.table.selectRow(e.rowRange)}),this.table.modules.selectRow.registerHeaderSelectCheckbox(C);return C}var aP={plaintext:NR,html:VR,textarea:jR,money:UR,link:HR,image:GR,tickCross:qR,datetime:WR,datetimediff:$R,lookup:YR,star:ZR,traffic:XR,progress:KR,color:JR,buttonTick:QR,buttonCross:eP,rownum:tP,handle:nP,responsiveCollapse:rP,rowSelection:iP};class Yu extends qi{constructor(e){super(e),this.registerColumnOption("formatter"),this.registerColumnOption("formatterParams"),this.registerColumnOption("formatterPrint"),this.registerColumnOption("formatterPrintParams"),this.registerColumnOption("formatterClipboard"),this.registerColumnOption("formatterClipboardParams"),this.registerColumnOption("formatterHtmlOutput"),this.registerColumnOption("formatterHtmlOutputParams"),this.registerColumnOption("titleFormatter"),this.registerColumnOption("titleFormatterParams")}initialize(){this.subscribe("cell-format",this.formatValue.bind(this)),this.subscribe("cell-rendered",this.cellRendered.bind(this)),this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("column-format",this.formatHeader.bind(this))}initializeColumn(e){e.modules.format=this.lookupFormatter(e,""),typeof e.definition.formatterPrint<"u"&&(e.modules.format.print=this.lookupFormatter(e,"Print")),typeof e.definition.formatterClipboard<"u"&&(e.modules.format.clipboard=this.lookupFormatter(e,"Clipboard")),typeof e.definition.formatterHtmlOutput<"u"&&(e.modules.format.htmlOutput=this.lookupFormatter(e,"HtmlOutput"))}lookupFormatter(e,r){var C={params:e.definition["formatter"+r+"Params"]||{}},D=e.definition["formatter"+r];switch(typeof D){case"string":Yu.formatters[D]?C.formatter=Yu.formatters[D]:(console.warn("Formatter Error - No such formatter found: ",D),C.formatter=Yu.formatters.plaintext);break;case"function":C.formatter=D;break;default:C.formatter=Yu.formatters.plaintext;break}return C}cellRendered(e){e.modules.format&&e.modules.format.renderedCallback&&!e.modules.format.rendered&&(e.modules.format.renderedCallback(),e.modules.format.rendered=!0)}formatHeader(e,r,C){var D,k,m,t;return e.definition.titleFormatter?(D=this.getFormatter(e.definition.titleFormatter),m=d=>{e.titleFormatterRendered=d},t={getValue:function(){return r},getElement:function(){return C},getType:function(){return"header"},getColumn:function(){return e.getComponent()},getTable:()=>this.table},k=e.definition.titleFormatterParams||{},k=typeof k=="function"?k():k,D.call(this,t,k,m)):r}formatValue(e){var r=e.getComponent(),C=typeof e.column.modules.format.params=="function"?e.column.modules.format.params(r):e.column.modules.format.params;function D(k){e.modules.format||(e.modules.format={}),e.modules.format.renderedCallback=k,e.modules.format.rendered=!1}return e.column.modules.format.formatter.call(this,r,C,D)}formatExportValue(e,r){var C=e.column.modules.format[r],D;if(C){let m=function(t){e.modules.format||(e.modules.format={}),e.modules.format.renderedCallback=t,e.modules.format.rendered=!1};var k=m;return D=typeof C.params=="function"?C.params(e.getComponent()):C.params,C.formatter.call(this,e.getComponent(),D,m)}else return this.formatValue(e)}sanitizeHTML(e){if(e){var r={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};return String(e).replace(/[&<>"'`=/]/g,function(C){return r[C]})}else return e}emptyToSpace(e){return e===null||typeof e>"u"||e===""?" ":e}getFormatter(e){switch(typeof e){case"string":Yu.formatters[e]?e=Yu.formatters[e]:(console.warn("Formatter Error - No such formatter found: ",e),e=Yu.formatters.plaintext);break;case"function":break;default:e=Yu.formatters.plaintext;break}return e}}Yu.moduleName="format";Yu.formatters=aP;class DM extends qi{constructor(e){super(e),this.leftColumns=[],this.rightColumns=[],this.initializationMode="left",this.active=!1,this.blocked=!0,this.registerColumnOption("frozen")}reset(){this.initializationMode="left",this.leftColumns=[],this.rightColumns=[],this.active=!1}initialize(){this.subscribe("cell-layout",this.layoutCell.bind(this)),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("column-width",this.layout.bind(this)),this.subscribe("row-layout-after",this.layoutRow.bind(this)),this.subscribe("table-layout",this.layout.bind(this)),this.subscribe("columns-loading",this.reset.bind(this)),this.subscribe("column-add",this.reinitializeColumns.bind(this)),this.subscribe("column-deleted",this.reinitializeColumns.bind(this)),this.subscribe("column-hide",this.reinitializeColumns.bind(this)),this.subscribe("column-show",this.reinitializeColumns.bind(this)),this.subscribe("columns-loaded",this.reinitializeColumns.bind(this)),this.subscribe("table-redraw",this.layout.bind(this)),this.subscribe("layout-refreshing",this.blockLayout.bind(this)),this.subscribe("layout-refreshed",this.unblockLayout.bind(this)),this.subscribe("scrollbar-vertical",this.adjustForScrollbar.bind(this))}blockLayout(){this.blocked=!0}unblockLayout(){this.blocked=!1}layoutCell(e){this.layoutElement(e.element,e.column)}reinitializeColumns(){this.reset(),this.table.columnManager.columnsByIndex.forEach(e=>{this.initializeColumn(e)}),this.layout()}initializeColumn(e){var r={margin:0,edge:!1};e.isGroup||(this.frozenCheck(e)?(r.position=this.initializationMode,this.initializationMode=="left"?this.leftColumns.push(e):this.rightColumns.unshift(e),this.active=!0,e.modules.frozen=r):this.initializationMode="right")}frozenCheck(e){return e.parent.isGroup&&e.definition.frozen&&console.warn("Frozen Column Error - Parent column group must be frozen, not individual columns or sub column groups"),e.parent.isGroup?this.frozenCheck(e.parent):e.definition.frozen}layoutCalcRows(){this.table.modExists("columnCalcs")&&(this.table.modules.columnCalcs.topInitialized&&this.table.modules.columnCalcs.topRow&&this.layoutRow(this.table.modules.columnCalcs.topRow),this.table.modules.columnCalcs.botInitialized&&this.table.modules.columnCalcs.botRow&&this.layoutRow(this.table.modules.columnCalcs.botRow),this.table.modExists("groupRows")&&this.layoutGroupCalcs(this.table.modules.groupRows.getGroups()))}layoutGroupCalcs(e){e.forEach(r=>{r.calcs.top&&this.layoutRow(r.calcs.top),r.calcs.bottom&&this.layoutRow(r.calcs.bottom),r.groupList&&r.groupList.length&&this.layoutGroupCalcs(r.groupList)})}layoutColumnPosition(e){var r=[],C=0,D=0;this.leftColumns.forEach((k,m)=>{if(k.modules.frozen.marginValue=C,k.modules.frozen.margin=k.modules.frozen.marginValue+"px",k.visible&&(C+=k.getWidth()),m==this.leftColumns.length-1?k.modules.frozen.edge=!0:k.modules.frozen.edge=!1,k.parent.isGroup){var t=this.getColGroupParentElement(k);r.includes(t)||(this.layoutElement(t,k),r.push(t)),t.classList.toggle("tabulator-frozen-left",k.modules.frozen.edge&&k.modules.frozen.position==="left"),t.classList.toggle("tabulator-frozen-right",k.modules.frozen.edge&&k.modules.frozen.position==="right")}else this.layoutElement(k.getElement(),k);e&&k.cells.forEach(d=>{this.layoutElement(d.getElement(!0),k)})}),this.rightColumns.forEach((k,m)=>{k.modules.frozen.marginValue=D,k.modules.frozen.margin=k.modules.frozen.marginValue+"px",k.visible&&(D+=k.getWidth()),m==this.rightColumns.length-1?k.modules.frozen.edge=!0:k.modules.frozen.edge=!1,k.parent.isGroup?this.layoutElement(this.getColGroupParentElement(k),k):this.layoutElement(k.getElement(),k),e&&k.cells.forEach(t=>{this.layoutElement(t.getElement(!0),k)})})}getColGroupParentElement(e){return e.parent.isGroup?this.getColGroupParentElement(e.parent):e.getElement()}layout(){this.active&&!this.blocked&&(this.layoutColumnPosition(),this.reinitializeRows(),this.layoutCalcRows())}reinitializeRows(){var e=this.table.rowManager.getVisibleRows(!0),r=this.table.rowManager.getRows().filter(C=>!e.includes(C));r.forEach(C=>{C.deinitialize()}),e.forEach(C=>{C.type==="row"&&this.layoutRow(C)})}layoutRow(e){this.table.options.layout==="fitDataFill"&&this.rightColumns.length&&(this.table.rowManager.getTableElement().style.minWidth="calc(100% - "+this.rightMargin+")"),this.leftColumns.forEach(r=>{var C=e.getCell(r);C&&this.layoutElement(C.getElement(!0),r)}),this.rightColumns.forEach(r=>{var C=e.getCell(r);C&&this.layoutElement(C.getElement(!0),r)})}layoutElement(e,r){var C;r.modules.frozen&&e&&(e.style.position="sticky",this.table.rtl?C=r.modules.frozen.position==="left"?"right":"left":C=r.modules.frozen.position,e.style[C]=r.modules.frozen.margin,e.classList.add("tabulator-frozen"),e.classList.toggle("tabulator-frozen-left",r.modules.frozen.edge&&r.modules.frozen.position==="left"),e.classList.toggle("tabulator-frozen-right",r.modules.frozen.edge&&r.modules.frozen.position==="right"))}adjustForScrollbar(e){this.rightColumns.length&&(this.table.columnManager.getContentsElement().style.width="calc(100% - "+e+"px)")}_calcSpace(e,r){var C=0;for(let D=0;D{this.initializeRow(e)})}initializeRow(e){var r=this.table.options.frozenRows,C=typeof r;C==="number"?e.getPosition()&&e.getPosition()+this.rows.length<=r&&this.freezeRow(e):C==="function"?r.call(this.table,e.getComponent())&&this.freezeRow(e):Array.isArray(r)&&r.includes(e.data[this.options("frozenRowsField")])&&this.freezeRow(e)}isRowFrozen(e){var r=this.rows.indexOf(e);return r>-1}isFrozen(){return!!this.rows.length}visibleRows(e,r){return this.rows.forEach(C=>{r.push(C)}),r}getRows(e){var r=e.slice(0);return this.rows.forEach(function(C){var D=r.indexOf(C);D>-1&&r.splice(D,1)}),r}freezeRow(e){e.modules.frozen?console.warn("Freeze Error - Row is already frozen"):(e.modules.frozen=!0,this.topElement.appendChild(e.getElement()),e.initialize(),e.normalizeHeight(),this.rows.push(e),this.refreshData(!1,"display"),this.table.rowManager.adjustTableSize(),this.styleRows())}unfreezeRow(e){e.modules.frozen?(e.modules.frozen=!1,this.detachRow(e),this.table.rowManager.adjustTableSize(),this.refreshData(!1,"display"),this.rows.length&&this.styleRows()):console.warn("Freeze Error - Row is already unfrozen")}detachRow(e){var r=this.rows.indexOf(e);if(r>-1){var C=e.getElement();C.parentNode&&C.parentNode.removeChild(C),this.rows.splice(r,1)}}styleRows(e){this.rows.forEach((r,C)=>{this.table.rowManager.styleRow(r,C)})}}zM.moduleName="frozenRows";class oP{constructor(e){return this._group=e,this.type="GroupComponent",new Proxy(this,{get:function(r,C,D){return typeof r[C]<"u"?r[C]:r._group.groupManager.table.componentFunctionBinder.handle("group",r._group,C)}})}getKey(){return this._group.key}getField(){return this._group.field}getElement(){return this._group.element}getRows(){return this._group.getRows(!0)}getSubGroups(){return this._group.getSubGroups(!0)}getParentGroup(){return this._group.parent?this._group.parent.getComponent():!1}isVisible(){return this._group.visible}show(){this._group.show()}hide(){this._group.hide()}toggle(){this._group.toggleVisibility()}scrollTo(e,r){return this._group.groupManager.table.rowManager.scrollToRow(this._group,e,r)}_getSelf(){return this._group}getTable(){return this._group.groupManager.table}}class Fp{constructor(e,r,C,D,k,m,t){this.groupManager=e,this.parent=r,this.key=D,this.level=C,this.field=k,this.hasSubGroups=C{r.modules&&delete r.modules.group})),this.element=!1,this.arrowElement=!1,this.elementContents=!1}createElements(){var e=document.createElement("div");e.classList.add("tabulator-arrow"),this.element=document.createElement("div"),this.element.classList.add("tabulator-row"),this.element.classList.add("tabulator-group"),this.element.classList.add("tabulator-group-level-"+this.level),this.element.setAttribute("role","rowgroup"),this.arrowElement=document.createElement("div"),this.arrowElement.classList.add("tabulator-group-toggle"),this.arrowElement.appendChild(e),this.groupManager.table.options.movableRows!==!1&&this.groupManager.table.modExists("moveRow")&&this.groupManager.table.modules.moveRow.initializeGroupHeader(this)}createValueGroups(){var e=this.level+1;this.groupManager.allowedValues&&this.groupManager.allowedValues[e]&&this.groupManager.allowedValues[e].forEach(r=>{this._createGroup(r,e)})}addBindings(){var e;this.groupManager.table.options.groupToggleElement&&(e=this.groupManager.table.options.groupToggleElement=="arrow"?this.arrowElement:this.element,e.addEventListener("click",r=>{this.groupManager.table.options.groupToggleElement==="arrow"&&(r.stopPropagation(),r.stopImmediatePropagation()),setTimeout(()=>{this.toggleVisibility()})}))}_createGroup(e,r){var C=r+"_"+e,D=new Fp(this.groupManager,this,r,e,this.groupManager.groupIDLookups[r].field,this.groupManager.headerGenerator[r]||this.groupManager.headerGenerator[0],this.old?this.old.groups[C]:!1);this.groups[C]=D,this.groupList.push(D)}_addRowToGroup(e){var r=this.level+1;if(this.hasSubGroups){var C=this.groupManager.groupIDLookups[r].func(e.getData()),D=r+"_"+C;this.groupManager.allowedValues&&this.groupManager.allowedValues[r]?this.groups[D]&&this.groups[D].addRow(e):(this.groups[D]||this._createGroup(C,r),this.groups[D].addRow(e))}}_addRow(e){this.rows.push(e),e.modules.group=this}insertRow(e,r,C){var D=this.conformRowData({});e.updateData(D);var k=this.rows.indexOf(r);k>-1?C?this.rows.splice(k+1,0,e):this.rows.splice(k,0,e):C?this.rows.push(e):this.rows.unshift(e),e.modules.group=this,this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modules.columnCalcs.recalcGroup(this),this.groupManager.updateGroupRows(!0)}scrollHeader(e){this.arrowElement&&(this.arrowElement.style.marginLeft=e,this.groupList.forEach(function(r){r.scrollHeader(e)}))}getRowIndex(e){}conformRowData(e){return this.field?e[this.field]=this.key:console.warn("Data Conforming Error - Cannot conform row data to match new group as groupBy is a function"),this.parent&&(e=this.parent.conformRowData(e)),e}removeRow(e){var r=this.rows.indexOf(e),C=e.getElement();r>-1&&this.rows.splice(r,1),!this.groupManager.table.options.groupValues&&!this.rows.length?(this.parent?this.parent.removeGroup(this):this.groupManager.removeGroup(this),this.groupManager.updateGroupRows(!0)):(C.parentNode&&C.parentNode.removeChild(C),this.groupManager.blockRedraw||(this.generateGroupHeaderContents(),this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modules.columnCalcs.recalcGroup(this)))}removeGroup(e){var r=e.level+"_"+e.key,C;this.groups[r]&&(delete this.groups[r],C=this.groupList.indexOf(e),C>-1&&this.groupList.splice(C,1),this.groupList.length||(this.parent?this.parent.removeGroup(this):this.groupManager.removeGroup(this)))}getHeadersAndRows(){var e=[];return e.push(this),this._visSet(),this.calcs.top&&(this.calcs.top.detachElement(),this.calcs.top.deleteCells()),this.calcs.bottom&&(this.calcs.bottom.detachElement(),this.calcs.bottom.deleteCells()),this.visible?this.groupList.length?this.groupList.forEach(function(r){e=e.concat(r.getHeadersAndRows())}):(this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.modules.columnCalcs.hasTopCalcs()&&(this.calcs.top=this.groupManager.table.modules.columnCalcs.generateTopRow(this.rows),e.push(this.calcs.top)),e=e.concat(this.rows),this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.modules.columnCalcs.hasBottomCalcs()&&(this.calcs.bottom=this.groupManager.table.modules.columnCalcs.generateBottomRow(this.rows),e.push(this.calcs.bottom))):!this.groupList.length&&this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modExists("columnCalcs")&&(this.groupManager.table.modules.columnCalcs.hasTopCalcs()&&this.groupManager.table.options.groupClosedShowCalcs&&(this.calcs.top=this.groupManager.table.modules.columnCalcs.generateTopRow(this.rows),e.push(this.calcs.top)),this.groupManager.table.modules.columnCalcs.hasBottomCalcs()&&this.groupManager.table.options.groupClosedShowCalcs&&(this.calcs.bottom=this.groupManager.table.modules.columnCalcs.generateBottomRow(this.rows),e.push(this.calcs.bottom))),e}getData(e,r){var C=[];return this._visSet(),(!e||e&&this.visible)&&this.rows.forEach(D=>{C.push(D.getData(r||"data"))}),C}getRowCount(){var e=0;return this.groupList.length?this.groupList.forEach(r=>{e+=r.getRowCount()}):e=this.rows.length,e}toggleVisibility(){this.visible?this.hide():this.show()}hide(){this.visible=!1,this.groupManager.table.rowManager.getRenderMode()=="basic"&&!this.groupManager.table.options.pagination?(this.element.classList.remove("tabulator-group-visible"),this.groupList.length?this.groupList.forEach(e=>{var r=e.getHeadersAndRows();r.forEach(C=>{C.detachElement()})}):this.rows.forEach(e=>{var r=e.getElement();r.parentNode.removeChild(r)}),this.groupManager.updateGroupRows(!0)):this.groupManager.updateGroupRows(!0),this.groupManager.table.externalEvents.dispatch("groupVisibilityChanged",this.getComponent(),!1)}show(){if(this.visible=!0,this.groupManager.table.rowManager.getRenderMode()=="basic"&&!this.groupManager.table.options.pagination){this.element.classList.add("tabulator-group-visible");var e=this.generateElement();this.groupList.length?this.groupList.forEach(r=>{var C=r.getHeadersAndRows();C.forEach(D=>{var k=D.getElement();e.parentNode.insertBefore(k,e.nextSibling),D.initialize(),e=k})}):this.rows.forEach(r=>{var C=r.getElement();e.parentNode.insertBefore(C,e.nextSibling),r.initialize(),e=C}),this.groupManager.updateGroupRows(!0)}else this.groupManager.updateGroupRows(!0);this.groupManager.table.externalEvents.dispatch("groupVisibilityChanged",this.getComponent(),!0)}_visSet(){var e=[];typeof this.visible=="function"&&(this.rows.forEach(function(r){e.push(r.getData())}),this.visible=this.visible(this.key,this.getRowCount(),e,this.getComponent()))}getRowGroup(e){var r=!1;return this.groupList.length?this.groupList.forEach(function(C){var D=C.getRowGroup(e);D&&(r=D)}):this.rows.find(function(C){return C===e})&&(r=this),r}getSubGroups(e){var r=[];return this.groupList.forEach(function(C){r.push(e?C.getComponent():C)}),r}getRows(e,r){var C=[];return r&&this.groupList.length?this.groupList.forEach(D=>{C=C.concat(D.getRows(e,r))}):this.rows.forEach(function(D){C.push(e?D.getComponent():D)}),C}generateGroupHeaderContents(){var e=[],r=this.getRows(!1,!0);for(r.forEach(function(C){e.push(C.getData())}),this.elementContents=this.generator(this.key,this.getRowCount(),e,this.getComponent());this.element.firstChild;)this.element.removeChild(this.element.firstChild);typeof this.elementContents=="string"?this.element.innerHTML=this.elementContents:this.element.appendChild(this.elementContents),this.element.insertBefore(this.arrowElement,this.element.firstChild)}getPath(e=[]){return e.unshift(this.key),this.parent&&this.parent.getPath(e),e}getElement(){return this.elementContents?this.element:this.generateElement()}generateElement(){this.addBindings=!1,this._visSet(),this.visible?this.element.classList.add("tabulator-group-visible"):this.element.classList.remove("tabulator-group-visible");for(var e=0;eC.length&&console.warn("Error creating group headers, groupHeader array is shorter than groupBy array"),this.headerGenerator=[function(){return""}],this.startOpen=[function(){return!1}],this.langBind("groups|item",(k,m)=>{this.headerGenerator[0]=(t,d,y)=>(typeof t>"u"?"":t)+"("+d+" "+(d===1?k:m.groups.items)+")"}),this.groupIDLookups=[],e)this.table.modExists("columnCalcs")&&this.table.options.columnCalcs!="table"&&this.table.options.columnCalcs!="both"&&this.table.modules.columnCalcs.removeCalcs();else if(this.table.modExists("columnCalcs")&&this.table.options.columnCalcs!="group"){var D=this.table.columnManager.getRealColumns();D.forEach(k=>{k.definition.topCalc&&this.table.modules.columnCalcs.initializeTopRow(),k.definition.bottomCalc&&this.table.modules.columnCalcs.initializeBottomRow()})}Array.isArray(e)||(e=[e]),e.forEach((k,m)=>{var t,d;typeof k=="function"?t=k:(d=this.table.columnManager.getColumnByField(k),d?t=function(y){return d.getFieldValue(y)}:t=function(y){return y[k]}),this.groupIDLookups.push({field:typeof k=="function"?!1:k,func:t,values:this.allowedValues?this.allowedValues[m]:!1})}),r&&(Array.isArray(r)||(r=[r]),r.forEach(k=>{}),this.startOpen=r),C&&(this.headerGenerator=Array.isArray(C)?C:[C])}else this.groupList=[],this.groups={}}rowSample(e,r){if(this.table.options.groupBy){var C=this.getGroups(!1)[0];r.push(C.getRows(!1)[0])}return r}virtualRenderFill(){var e=this.table.rowManager.tableElement,r=this.table.rowManager.getVisibleRows();if(this.table.options.groupBy)r=r.filter(C=>C.type!=="group"),e.style.minWidth=r.length?"":this.table.columnManager.getWidth()+"px";else return r}rowAddingIndex(e,r,C){if(this.table.options.groupBy){this.assignRowToGroup(e);var D=e.modules.group.rows;return D.length>1&&(!r||r&&D.indexOf(r)==-1?C?D[0]!==e&&(r=D[0],this.table.rowManager.moveRowInArray(e.modules.group.rows,e,r,!C)):D[D.length-1]!==e&&(r=D[D.length-1],this.table.rowManager.moveRowInArray(e.modules.group.rows,e,r,!C)):this.table.rowManager.moveRowInArray(e.modules.group.rows,e,r,!C)),r}}trackChanges(){this.dispatch("group-changed")}setGroupBy(e){this.table.options.groupBy=e,this.initialized||this.initialize(),this.configureGroupSetup(),!e&&this.table.modExists("columnCalcs")&&this.table.options.columnCalcs===!0&&this.table.modules.columnCalcs.reinitializeCalcs(),this.refreshData(),this.trackChanges()}setGroupValues(e){this.table.options.groupValues=e,this.configureGroupSetup(),this.refreshData(),this.trackChanges()}setGroupStartOpen(e){this.table.options.groupStartOpen=e,this.configureGroupSetup(),this.table.options.groupBy?(this.refreshData(),this.trackChanges()):console.warn("Grouping Update - cant refresh view, no groups have been set")}setGroupHeader(e){this.table.options.groupHeader=e,this.configureGroupSetup(),this.table.options.groupBy?(this.refreshData(),this.trackChanges()):console.warn("Grouping Update - cant refresh view, no groups have been set")}userGetGroups(e){return this.getGroups(!0)}userGetGroupedData(){return this.table.options.groupBy?this.getGroupedData():this.getData()}rowGetGroup(e){return e.modules.group?e.modules.group.getComponent():!1}rowMoving(e,r,C){if(this.table.options.groupBy){!C&&r instanceof Fp&&(r=this.table.rowManager.prevDisplayRow(e)||r);var D=r instanceof Fp?r:r.modules.group,k=e instanceof Fp?e:e.modules.group;D===k?this.table.rowManager.moveRowInArray(D.rows,e,r,C):(k&&k.removeRow(e),D.insertRow(e,r,C))}}rowDeleting(e){this.table.options.groupBy&&e.modules.group&&e.modules.group.removeRow(e)}rowsUpdated(e){this.table.options.groupBy&&this.updateGroupRows(!0)}cellUpdated(e){this.table.options.groupBy&&this.reassignRowToGroup(e.row)}getRows(e){return this.table.options.groupBy&&this.groupIDLookups.length?(this.dispatchExternal("dataGrouping"),this.generateGroups(e),this.subscribedExternal("dataGrouped")&&this.dispatchExternal("dataGrouped",this.getGroups(!0)),this.updateGroupRows()):e.slice(0)}getGroups(e){var r=[];return this.groupList.forEach(function(C){r.push(e?C.getComponent():C)}),r}getChildGroups(e){var r=[];return e||(e=this),e.groupList.forEach(C=>{C.groupList.length?r=r.concat(this.getChildGroups(C)):r.push(C)}),r}wipe(){this.table.options.groupBy&&(this.groupList.forEach(function(e){e.wipe()}),this.groupList=[],this.groups={})}pullGroupListData(e){var r=[];return e.forEach(C=>{var D={};D.level=0,D.rowCount=0,D.headerContent="";var k=[];C.hasSubGroups?(k=this.pullGroupListData(C.groupList),D.level=C.level,D.rowCount=k.length-C.groupList.length,D.headerContent=C.generator(C.key,D.rowCount,C.rows,C),r.push(D),r=r.concat(k)):(D.level=C.level,D.headerContent=C.generator(C.key,C.rows.length,C.rows,C),D.rowCount=C.getRows().length,r.push(D),C.getRows().forEach(m=>{r.push(m.getData("data"))}))}),r}getGroupedData(){return this.pullGroupListData(this.groupList)}getRowGroup(e){var r=!1;return this.options("dataTree")&&(e=this.table.modules.dataTree.getTreeParentRoot(e)),this.groupList.forEach(C=>{var D=C.getRowGroup(e);D&&(r=D)}),r}countGroups(){return this.groupList.length}generateGroups(e){var r=this.groups;this.groups={},this.groupList=[],this.allowedValues&&this.allowedValues[0]?(this.allowedValues[0].forEach(C=>{this.createGroup(C,0,r)}),e.forEach(C=>{this.assignRowToExistingGroup(C,r)})):e.forEach(C=>{this.assignRowToGroup(C,r)}),Object.values(r).forEach(C=>{C.wipe(!0)})}createGroup(e,r,C){var D=r+"_"+e,k;C=C||[],k=new Fp(this,!1,r,e,this.groupIDLookups[0].field,this.headerGenerator[0],C[D]),this.groups[D]=k,this.groupList.push(k)}assignRowToExistingGroup(e,r){var C=this.groupIDLookups[0].func(e.getData()),D="0_"+C;this.groups[D]&&this.groups[D].addRow(e)}assignRowToGroup(e,r){var C=this.groupIDLookups[0].func(e.getData()),D=!this.groups["0_"+C];return D&&this.createGroup(C,0,r),this.groups["0_"+C].addRow(e),!D}reassignRowToGroup(e){if(e.type==="row"){var r=e.modules.group,C=r.getPath(),D=this.getExpectedPath(e),k;k=C.length==D.length&&C.every((m,t)=>m===D[t]),k||(r.removeRow(e),this.assignRowToGroup(e,this.groups),this.refreshData(!0))}}getExpectedPath(e){var r=[],C=e.getData();return this.groupIDLookups.forEach(D=>{r.push(D.func(C))}),r}updateGroupRows(e){var r=[];return this.blockRedraw||(this.groupList.forEach(C=>{r=r.concat(C.getHeadersAndRows())}),e&&this.refreshData(!0)),r}scrollHeaders(e){this.table.options.groupBy&&(this.table.options.renderHorizontal==="virtual"&&(e-=this.table.columnManager.renderer.vDomPadLeft),e=e+"px",this.groupList.forEach(r=>{r.scrollHeader(e)}))}removeGroup(e){var r=e.level+"_"+e.key,C;this.groups[r]&&(delete this.groups[r],C=this.groupList.indexOf(e),C>-1&&this.groupList.splice(C,1))}checkBasicModeGroupHeaderWidth(){var e=this.table.rowManager.tableElement,r=!0;this.table.rowManager.getDisplayRows().forEach((C,D)=>{this.table.rowManager.styleRow(C,D),e.appendChild(C.getElement()),C.initialize(!0),C.type!=="group"&&(r=!1)}),r?e.style.minWidth=this.table.columnManager.getWidth()+"px":e.style.minWidth=""}}FM.moduleName="groupRows";var sP={cellEdit:function(n){n.component.setValueProcessData(n.data.oldValue),n.component.cellRendered()},rowAdd:function(n){n.component.deleteActual(),this.table.rowManager.checkPlaceholder()},rowDelete:function(n){var e=this.table.rowManager.addRowActual(n.data.data,n.data.pos,n.data.index);this.table.options.groupBy&&this.table.modExists("groupRows")&&this.table.modules.groupRows.updateGroupRows(!0),this._rebindRow(n.component,e),this.table.rowManager.checkPlaceholder()},rowMove:function(n){var e=n.data.posFrom-n.data.posTo>0;this.table.rowManager.moveRowActual(n.component,this.table.rowManager.getRowFromPosition(n.data.posFrom),e),this.table.rowManager.regenerateRowPositions(),this.table.rowManager.reRenderInPosition()}},lP={cellEdit:function(n){n.component.setValueProcessData(n.data.newValue),n.component.cellRendered()},rowAdd:function(n){var e=this.table.rowManager.addRowActual(n.data.data,n.data.pos,n.data.index);this.table.options.groupBy&&this.table.modExists("groupRows")&&this.table.modules.groupRows.updateGroupRows(!0),this._rebindRow(n.component,e),this.table.rowManager.checkPlaceholder()},rowDelete:function(n){n.component.deleteActual(),this.table.rowManager.checkPlaceholder()},rowMove:function(n){this.table.rowManager.moveRowActual(n.component,this.table.rowManager.getRowFromPosition(n.data.posTo),n.data.after),this.table.rowManager.regenerateRowPositions(),this.table.rowManager.reRenderInPosition()}};class Wd extends qi{constructor(e){super(e),this.history=[],this.index=-1,this.registerTableOption("history",!1)}initialize(){this.table.options.history&&(this.subscribe("cell-value-updated",this.cellUpdated.bind(this)),this.subscribe("cell-delete",this.clearComponentHistory.bind(this)),this.subscribe("row-delete",this.rowDeleted.bind(this)),this.subscribe("rows-wipe",this.clear.bind(this)),this.subscribe("row-added",this.rowAdded.bind(this)),this.subscribe("row-move",this.rowMoved.bind(this))),this.registerTableFunction("undo",this.undo.bind(this)),this.registerTableFunction("redo",this.redo.bind(this)),this.registerTableFunction("getHistoryUndoSize",this.getHistoryUndoSize.bind(this)),this.registerTableFunction("getHistoryRedoSize",this.getHistoryRedoSize.bind(this)),this.registerTableFunction("clearHistory",this.clear.bind(this))}rowMoved(e,r,C){this.action("rowMove",e,{posFrom:e.getPosition(),posTo:r.getPosition(),to:r,after:C})}rowAdded(e,r,C,D){this.action("rowAdd",e,{data:r,pos:C,index:D})}rowDeleted(e){var r,C;this.table.options.groupBy?(C=e.getComponent().getGroup()._getSelf().rows,r=C.indexOf(e),r&&(r=C[r-1])):(r=e.table.rowManager.getRowIndex(e),r&&(r=e.table.rowManager.rows[r-1])),this.action("rowDelete",e,{data:e.getData(),pos:!r,index:r})}cellUpdated(e){this.action("cellEdit",e,{oldValue:e.oldValue,newValue:e.value})}clear(){this.history=[],this.index=-1}action(e,r,C){this.history=this.history.slice(0,this.index+1),this.history.push({type:e,component:r,data:C}),this.index++}getHistoryUndoSize(){return this.index+1}getHistoryRedoSize(){return this.history.length-(this.index+1)}clearComponentHistory(e){var r=this.history.findIndex(function(C){return C.component===e});r>-1&&(this.history.splice(r,1),r<=this.index&&this.index--,this.clearComponentHistory(e))}undo(){if(this.index>-1){let e=this.history[this.index];return Wd.undoers[e.type].call(this,e),this.index--,this.dispatchExternal("historyUndo",e.type,e.component.getComponent(),e.data),!0}else return console.warn(this.options("history")?"History Undo Error - No more history to undo":"History module not enabled"),!1}redo(){if(this.history.length-1>this.index){this.index++;let e=this.history[this.index];return Wd.redoers[e.type].call(this,e),this.dispatchExternal("historyRedo",e.type,e.component.getComponent(),e.data),!0}else return console.warn(this.options("history")?"History Redo Error - No more history to redo":"History module not enabled"),!1}_rebindRow(e,r){this.history.forEach(function(C){if(C.component instanceof yl)C.component===e&&(C.component=r);else if(C.component instanceof eg&&C.component.row===e){var D=C.component.column.getField();D&&(C.component=r.getCell(D))}})}}Wd.moduleName="history";Wd.undoers=sP;Wd.redoers=lP;class BM extends qi{constructor(e){super(e),this.fieldIndex=[],this.hasIndex=!1}initialize(){this.tableElementCheck()}tableElementCheck(){this.table.originalElement&&this.table.originalElement.tagName==="TABLE"&&(this.table.originalElement.childNodes.length?this.parseTable():console.warn("Unable to parse data from empty table tag, Tabulator should be initialized on a div tag unless importing data from a table element."))}parseTable(){var e=this.table.originalElement,r=this.table.options,C=e.getElementsByTagName("th"),D=e.getElementsByTagName("tbody")[0],k=[];this.hasIndex=!1,this.dispatchExternal("htmlImporting"),D=D?D.getElementsByTagName("tr"):[],this._extractOptions(e,r),C.length?this._extractHeaders(C,D):this._generateBlankHeaders(C,D);for(var m=0;m{m[i.toLowerCase()]=i});for(var t in D){var d=D[t],y;d&&typeof d=="object"&&d.name&&d.name.indexOf("tabulator-")===0&&(y=d.name.replace("tabulator-",""),typeof m[y]<"u"&&(r[m[y]]=this._attribValue(d.value)))}}_attribValue(e){return e==="true"?!0:e==="false"?!1:e}_findCol(e){var r=this.table.options.columns.find(C=>C.title===e);return r||!1}_extractHeaders(e,r){for(var C=0;C(console.error("Import Error:",m||"Unable to import data"),Promise.reject(m)))}lookupImporter(e){var r;return e||(e=this.table.options.importFormat),typeof e=="string"?r=ng.importers[e]:r=e,r||console.error("Import Error - Importer not found:",e),r}importFromFile(e,r){var C=this.lookupImporter(e);if(C)return this.pickFile(r).then(this.importData.bind(this,C)).then(this.structureData.bind(this)).then(this.setData.bind(this)).catch(D=>(console.error("Import Error:",D||"Unable to import file"),Promise.reject(D)))}pickFile(e){return new Promise((r,C)=>{var D=document.createElement("input");D.type="file",D.accept=e,D.addEventListener("change",k=>{var m=D.files[0],t=new FileReader;switch(this.table.options.importReader){case"buffer":t.readAsArrayBuffer(m);break;case"binary":t.readAsBinaryString(m);break;case"url":t.readAsDataURL(m);break;case"text":default:t.readAsText(m)}t.onload=d=>{r(t.result)},t.onerror=d=>{console.warn("File Load Error - Unable to read file"),C()}}),D.click()})}importData(e,r){var C=e.call(this.table,r);return C instanceof Promise?C:C?Promise.resolve(C):Promise.reject()}structureData(e){var r=[];return Array.isArray(e)&&e.length&&Array.isArray(e[0])?(this.table.options.autoColumns?r=this.structureArrayToObject(e):r=this.structureArrayToColumns(e),r):e}structureArrayToObject(e){var r=e.shift(),C=e.map(D=>{var k={};return r.forEach((m,t)=>{k[m]=D[t]}),k});return C}structureArrayToColumns(e){var r=[],C=this.table.getColumns();return C[0]&&e[0][0]&&C[0].getDefinition().title===e[0][0]&&e.shift(),e.forEach(D=>{var k={};D.forEach((m,t)=>{var d=C[t];d&&(k[d.getField()]=m)}),r.push(k)}),r}setData(e){return this.table.setData(e)}}ng.moduleName="import";ng.importers=hP;class NM extends qi{constructor(e){super(e),this.eventMap={rowClick:"row-click",rowDblClick:"row-dblclick",rowContext:"row-contextmenu",rowMouseEnter:"row-mouseenter",rowMouseLeave:"row-mouseleave",rowMouseOver:"row-mouseover",rowMouseOut:"row-mouseout",rowMouseMove:"row-mousemove",rowMouseDown:"row-mousedown",rowMouseUp:"row-mouseup",rowTap:"row",rowDblTap:"row",rowTapHold:"row",cellClick:"cell-click",cellDblClick:"cell-dblclick",cellContext:"cell-contextmenu",cellMouseEnter:"cell-mouseenter",cellMouseLeave:"cell-mouseleave",cellMouseOver:"cell-mouseover",cellMouseOut:"cell-mouseout",cellMouseMove:"cell-mousemove",cellMouseDown:"cell-mousedown",cellMouseUp:"cell-mouseup",cellTap:"cell",cellDblTap:"cell",cellTapHold:"cell",headerClick:"column-click",headerDblClick:"column-dblclick",headerContext:"column-contextmenu",headerMouseEnter:"column-mouseenter",headerMouseLeave:"column-mouseleave",headerMouseOver:"column-mouseover",headerMouseOut:"column-mouseout",headerMouseMove:"column-mousemove",headerMouseDown:"column-mousedown",headerMouseUp:"column-mouseup",headerTap:"column",headerDblTap:"column",headerTapHold:"column",groupClick:"group-click",groupDblClick:"group-dblclick",groupContext:"group-contextmenu",groupMouseEnter:"group-mouseenter",groupMouseLeave:"group-mouseleave",groupMouseOver:"group-mouseover",groupMouseOut:"group-mouseout",groupMouseMove:"group-mousemove",groupMouseDown:"group-mousedown",groupMouseUp:"group-mouseup",groupTap:"group",groupDblTap:"group",groupTapHold:"group"},this.subscribers={},this.touchSubscribers={},this.columnSubscribers={},this.touchWatchers={row:{tap:null,tapDbl:null,tapHold:null},cell:{tap:null,tapDbl:null,tapHold:null},column:{tap:null,tapDbl:null,tapHold:null},group:{tap:null,tapDbl:null,tapHold:null}},this.registerColumnOption("headerClick"),this.registerColumnOption("headerDblClick"),this.registerColumnOption("headerContext"),this.registerColumnOption("headerMouseEnter"),this.registerColumnOption("headerMouseLeave"),this.registerColumnOption("headerMouseOver"),this.registerColumnOption("headerMouseOut"),this.registerColumnOption("headerMouseMove"),this.registerColumnOption("headerMouseDown"),this.registerColumnOption("headerMouseUp"),this.registerColumnOption("headerTap"),this.registerColumnOption("headerDblTap"),this.registerColumnOption("headerTapHold"),this.registerColumnOption("cellClick"),this.registerColumnOption("cellDblClick"),this.registerColumnOption("cellContext"),this.registerColumnOption("cellMouseEnter"),this.registerColumnOption("cellMouseLeave"),this.registerColumnOption("cellMouseOver"),this.registerColumnOption("cellMouseOut"),this.registerColumnOption("cellMouseMove"),this.registerColumnOption("cellMouseDown"),this.registerColumnOption("cellMouseUp"),this.registerColumnOption("cellTap"),this.registerColumnOption("cellDblTap"),this.registerColumnOption("cellTapHold")}initialize(){this.initializeExternalEvents(),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("cell-dblclick",this.cellContentsSelectionFixer.bind(this)),this.subscribe("scroll-horizontal",this.clearTouchWatchers.bind(this)),this.subscribe("scroll-vertical",this.clearTouchWatchers.bind(this))}clearTouchWatchers(){var e=Object.values(this.touchWatchers);e.forEach(r=>{for(let C in r)r[C]=null})}cellContentsSelectionFixer(e,r){var C;if(!(this.table.modExists("edit")&&this.table.modules.edit.currentCell===r)){e.preventDefault();try{document.selection?(C=document.body.createTextRange(),C.moveToElementText(r.getElement()),C.select()):window.getSelection&&(C=document.createRange(),C.selectNode(r.getElement()),window.getSelection().removeAllRanges(),window.getSelection().addRange(C))}catch{}}}initializeExternalEvents(){for(let e in this.eventMap)this.subscriptionChangeExternal(e,this.subscriptionChanged.bind(this,e))}subscriptionChanged(e,r){r?this.subscribers[e]||(this.eventMap[e].includes("-")?(this.subscribers[e]=this.handle.bind(this,e),this.subscribe(this.eventMap[e],this.subscribers[e])):this.subscribeTouchEvents(e)):this.eventMap[e].includes("-")?this.subscribers[e]&&!this.columnSubscribers[e]&&!this.subscribedExternal(e)&&(this.unsubscribe(this.eventMap[e],this.subscribers[e]),delete this.subscribers[e]):this.unsubscribeTouchEvents(e)}subscribeTouchEvents(e){var r=this.eventMap[e];this.touchSubscribers[r+"-touchstart"]||(this.touchSubscribers[r+"-touchstart"]=this.handleTouch.bind(this,r,"start"),this.touchSubscribers[r+"-touchend"]=this.handleTouch.bind(this,r,"end"),this.subscribe(r+"-touchstart",this.touchSubscribers[r+"-touchstart"]),this.subscribe(r+"-touchend",this.touchSubscribers[r+"-touchend"])),this.subscribers[e]=!0}unsubscribeTouchEvents(e){var r=!0,C=this.eventMap[e];if(this.subscribers[e]&&!this.subscribedExternal(e)){delete this.subscribers[e];for(let D in this.eventMap)this.eventMap[D]===C&&this.subscribers[D]&&(r=!1);r&&(this.unsubscribe(C+"-touchstart",this.touchSubscribers[C+"-touchstart"]),this.unsubscribe(C+"-touchend",this.touchSubscribers[C+"-touchend"]),delete this.touchSubscribers[C+"-touchstart"],delete this.touchSubscribers[C+"-touchend"])}}initializeColumn(e){var r=e.definition;for(let C in this.eventMap)r[C]&&(this.subscriptionChanged(C,!0),this.columnSubscribers[C]||(this.columnSubscribers[C]=[]),this.columnSubscribers[C].push(e))}handle(e,r,C){this.dispatchEvent(e,r,C)}handleTouch(e,r,C,D){var k=this.touchWatchers[e];switch(e==="column"&&(e="header"),r){case"start":k.tap=!0,clearTimeout(k.tapHold),k.tapHold=setTimeout(()=>{clearTimeout(k.tapHold),k.tapHold=null,k.tap=null,clearTimeout(k.tapDbl),k.tapDbl=null,this.dispatchEvent(e+"TapHold",C,D)},1e3);break;case"end":k.tap&&(k.tap=null,this.dispatchEvent(e+"Tap",C,D)),k.tapDbl?(clearTimeout(k.tapDbl),k.tapDbl=null,this.dispatchEvent(e+"DblTap",C,D)):k.tapDbl=setTimeout(()=>{clearTimeout(k.tapDbl),k.tapDbl=null},300),clearTimeout(k.tapHold),k.tapHold=null;break}}dispatchEvent(e,r,C){var D=C.getComponent(),k;this.columnSubscribers[e]&&(C instanceof eg?k=C.column.definition[e]:C instanceof yf&&(k=C.definition[e]),k&&k(r,D)),this.dispatchExternal(e,r,D)}}NM.moduleName="interaction";var dP={navPrev:"shift + 9",navNext:9,navUp:38,navDown:40,navLeft:37,navRight:39,scrollPageUp:33,scrollPageDown:34,scrollToStart:36,scrollToEnd:35,undo:["ctrl + 90","meta + 90"],redo:["ctrl + 89","meta + 89"],copyToClipboard:["ctrl + 67","meta + 67"],rangeJumpUp:["ctrl + 38","meta + 38"],rangeJumpDown:["ctrl + 40","meta + 40"],rangeJumpLeft:["ctrl + 37","meta + 37"],rangeJumpRight:["ctrl + 39","meta + 39"],rangeExpandUp:"shift + 38",rangeExpandDown:"shift + 40",rangeExpandLeft:"shift + 37",rangeExpandRight:"shift + 39",rangeExpandJumpUp:["ctrl + shift + 38","meta + shift + 38"],rangeExpandJumpDown:["ctrl + shift + 40","meta + shift + 40"],rangeExpandJumpLeft:["ctrl + shift + 37","meta + shift + 37"],rangeExpandJumpRight:["ctrl + shift + 39","meta + shift + 39"]},pP={keyBlock:function(n){n.stopPropagation(),n.preventDefault()},scrollPageUp:function(n){var e=this.table.rowManager,r=e.scrollTop-e.element.clientHeight;n.preventDefault(),e.displayRowsCount&&(r>=0?e.element.scrollTop=r:e.scrollToRow(e.getDisplayRows()[0])),this.table.element.focus()},scrollPageDown:function(n){var e=this.table.rowManager,r=e.scrollTop+e.element.clientHeight,C=e.element.scrollHeight;n.preventDefault(),e.displayRowsCount&&(r<=C?e.element.scrollTop=r:e.scrollToRow(e.getDisplayRows()[e.displayRowsCount-1])),this.table.element.focus()},scrollToStart:function(n){var e=this.table.rowManager;n.preventDefault(),e.displayRowsCount&&e.scrollToRow(e.getDisplayRows()[0]),this.table.element.focus()},scrollToEnd:function(n){var e=this.table.rowManager;n.preventDefault(),e.displayRowsCount&&e.scrollToRow(e.getDisplayRows()[e.displayRowsCount-1]),this.table.element.focus()},navPrev:function(n){this.dispatch("keybinding-nav-prev",n)},navNext:function(n){this.dispatch("keybinding-nav-next",n)},navLeft:function(n){this.dispatch("keybinding-nav-left",n)},navRight:function(n){this.dispatch("keybinding-nav-right",n)},navUp:function(n){this.dispatch("keybinding-nav-up",n)},navDown:function(n){this.dispatch("keybinding-nav-down",n)},rangeJumpLeft:function(n){this.dispatch("keybinding-nav-range",n,"left",!0,!1)},rangeJumpRight:function(n){this.dispatch("keybinding-nav-range",n,"right",!0,!1)},rangeJumpUp:function(n){this.dispatch("keybinding-nav-range",n,"up",!0,!1)},rangeJumpDown:function(n){this.dispatch("keybinding-nav-range",n,"down",!0,!1)},rangeExpandLeft:function(n){this.dispatch("keybinding-nav-range",n,"left",!1,!0)},rangeExpandRight:function(n){this.dispatch("keybinding-nav-range",n,"right",!1,!0)},rangeExpandUp:function(n){this.dispatch("keybinding-nav-range",n,"up",!1,!0)},rangeExpandDown:function(n){this.dispatch("keybinding-nav-range",n,"down",!1,!0)},rangeExpandJumpLeft:function(n){this.dispatch("keybinding-nav-range",n,"left",!0,!0)},rangeExpandJumpRight:function(n){this.dispatch("keybinding-nav-range",n,"right",!0,!0)},rangeExpandJumpUp:function(n){this.dispatch("keybinding-nav-range",n,"up",!0,!0)},rangeExpandJumpDown:function(n){this.dispatch("keybinding-nav-range",n,"down",!0,!0)},undo:function(n){var e=!1;this.table.options.history&&this.table.modExists("history")&&this.table.modExists("edit")&&(e=this.table.modules.edit.currentCell,e||(n.preventDefault(),this.table.modules.history.undo()))},redo:function(n){var e=!1;this.table.options.history&&this.table.modExists("history")&&this.table.modExists("edit")&&(e=this.table.modules.edit.currentCell,e||(n.preventDefault(),this.table.modules.history.redo()))},copyToClipboard:function(n){this.table.modules.edit.currentCell||this.table.modExists("clipboard",!0)&&this.table.modules.clipboard.copy(!1,!0)}};class Vh extends qi{constructor(e){super(e),this.watchKeys=null,this.pressedKeys=null,this.keyupBinding=!1,this.keydownBinding=!1,this.registerTableOption("keybindings",{}),this.registerTableOption("tabEndNewRow",!1)}initialize(){var e=this.table.options.keybindings,r={};this.watchKeys={},this.pressedKeys=[],e!==!1&&(Object.assign(r,Vh.bindings),Object.assign(r,e),this.mapBindings(r),this.bindEvents()),this.subscribe("table-destroy",this.clearBindings.bind(this))}mapBindings(e){for(let r in e)Vh.actions[r]?e[r]&&(typeof e[r]!="object"&&(e[r]=[e[r]]),e[r].forEach(C=>{var D=Array.isArray(C)?C:[C];D.forEach(k=>{this.mapBinding(r,k)})})):console.warn("Key Binding Error - no such action:",r)}mapBinding(e,r){var C={action:Vh.actions[e],keys:[],ctrl:!1,shift:!1,meta:!1},D=r.toString().toLowerCase().split(" ").join("").split("+");D.forEach(k=>{switch(k){case"ctrl":C.ctrl=!0;break;case"shift":C.shift=!0;break;case"meta":C.meta=!0;break;default:k=isNaN(k)?k.toUpperCase().charCodeAt(0):parseInt(k),C.keys.push(k),this.watchKeys[k]||(this.watchKeys[k]=[]),this.watchKeys[k].push(C)}})}bindEvents(){var e=this;this.keyupBinding=function(r){var C=r.keyCode,D=e.watchKeys[C];D&&(e.pressedKeys.push(C),D.forEach(function(k){e.checkBinding(r,k)}))},this.keydownBinding=function(r){var C=r.keyCode,D=e.watchKeys[C];if(D){var k=e.pressedKeys.indexOf(C);k>-1&&e.pressedKeys.splice(k,1)}},this.table.element.addEventListener("keydown",this.keyupBinding),this.table.element.addEventListener("keyup",this.keydownBinding)}clearBindings(){this.keyupBinding&&this.table.element.removeEventListener("keydown",this.keyupBinding),this.keydownBinding&&this.table.element.removeEventListener("keyup",this.keydownBinding)}checkBinding(e,r){var C=!0;return e.ctrlKey==r.ctrl&&e.shiftKey==r.shift&&e.metaKey==r.meta?(r.keys.forEach(D=>{var k=this.pressedKeys.indexOf(D);k==-1&&(C=!1)}),C&&r.action.call(this,e),!0):!1}}Vh.moduleName="keybindings";Vh.bindings=dP;Vh.actions=pP;class VM extends qi{constructor(e){super(e),this.menuContainer=null,this.nestedMenuBlock=!1,this.currentComponent=null,this.rootPopup=null,this.columnSubscribers={},this.registerTableOption("menuContainer",void 0),this.registerTableOption("rowContextMenu",!1),this.registerTableOption("rowClickMenu",!1),this.registerTableOption("rowDblClickMenu",!1),this.registerTableOption("groupContextMenu",!1),this.registerTableOption("groupClickMenu",!1),this.registerTableOption("groupDblClickMenu",!1),this.registerColumnOption("headerContextMenu"),this.registerColumnOption("headerClickMenu"),this.registerColumnOption("headerDblClickMenu"),this.registerColumnOption("headerMenu"),this.registerColumnOption("headerMenuIcon"),this.registerColumnOption("contextMenu"),this.registerColumnOption("clickMenu"),this.registerColumnOption("dblClickMenu")}initialize(){this.deprecatedOptionsCheck(),this.initializeRowWatchers(),this.initializeGroupWatchers(),this.subscribe("column-init",this.initializeColumn.bind(this))}deprecatedOptionsCheck(){this.deprecationCheck("menuContainer","popupContainer")||(this.table.options.popupContainer=this.table.options.menuContainer)}initializeRowWatchers(){this.table.options.rowContextMenu&&(this.subscribe("row-contextmenu",this.loadMenuEvent.bind(this,this.table.options.rowContextMenu)),this.table.on("rowTapHold",this.loadMenuEvent.bind(this,this.table.options.rowContextMenu))),this.table.options.rowClickMenu&&this.subscribe("row-click",this.loadMenuEvent.bind(this,this.table.options.rowClickMenu)),this.table.options.rowDblClickMenu&&this.subscribe("row-dblclick",this.loadMenuEvent.bind(this,this.table.options.rowDblClickMenu))}initializeGroupWatchers(){this.table.options.groupContextMenu&&(this.subscribe("group-contextmenu",this.loadMenuEvent.bind(this,this.table.options.groupContextMenu)),this.table.on("groupTapHold",this.loadMenuEvent.bind(this,this.table.options.groupContextMenu))),this.table.options.groupClickMenu&&this.subscribe("group-click",this.loadMenuEvent.bind(this,this.table.options.groupClickMenu)),this.table.options.groupDblClickMenu&&this.subscribe("group-dblclick",this.loadMenuEvent.bind(this,this.table.options.groupDblClickMenu))}initializeColumn(e){var r=e.definition;r.headerContextMenu&&!this.columnSubscribers.headerContextMenu&&(this.columnSubscribers.headerContextMenu=this.loadMenuTableColumnEvent.bind(this,"headerContextMenu"),this.subscribe("column-contextmenu",this.columnSubscribers.headerContextMenu),this.table.on("headerTapHold",this.loadMenuTableColumnEvent.bind(this,"headerContextMenu"))),r.headerClickMenu&&!this.columnSubscribers.headerClickMenu&&(this.columnSubscribers.headerClickMenu=this.loadMenuTableColumnEvent.bind(this,"headerClickMenu"),this.subscribe("column-click",this.columnSubscribers.headerClickMenu)),r.headerDblClickMenu&&!this.columnSubscribers.headerDblClickMenu&&(this.columnSubscribers.headerDblClickMenu=this.loadMenuTableColumnEvent.bind(this,"headerDblClickMenu"),this.subscribe("column-dblclick",this.columnSubscribers.headerDblClickMenu)),r.headerMenu&&this.initializeColumnHeaderMenu(e),r.contextMenu&&!this.columnSubscribers.contextMenu&&(this.columnSubscribers.contextMenu=this.loadMenuTableCellEvent.bind(this,"contextMenu"),this.subscribe("cell-contextmenu",this.columnSubscribers.contextMenu),this.table.on("cellTapHold",this.loadMenuTableCellEvent.bind(this,"contextMenu"))),r.clickMenu&&!this.columnSubscribers.clickMenu&&(this.columnSubscribers.clickMenu=this.loadMenuTableCellEvent.bind(this,"clickMenu"),this.subscribe("cell-click",this.columnSubscribers.clickMenu)),r.dblClickMenu&&!this.columnSubscribers.dblClickMenu&&(this.columnSubscribers.dblClickMenu=this.loadMenuTableCellEvent.bind(this,"dblClickMenu"),this.subscribe("cell-dblclick",this.columnSubscribers.dblClickMenu))}initializeColumnHeaderMenu(e){var r=e.definition.headerMenuIcon,C;C=document.createElement("span"),C.classList.add("tabulator-header-popup-button"),r?(typeof r=="function"&&(r=r(e.getComponent())),r instanceof HTMLElement?C.appendChild(r):C.innerHTML=r):C.innerHTML="⋮",C.addEventListener("click",D=>{D.stopPropagation(),D.preventDefault(),this.loadMenuEvent(e.definition.headerMenu,D,e)}),e.titleElement.insertBefore(C,e.titleElement.firstChild)}loadMenuTableCellEvent(e,r,C){C._cell&&(C=C._cell),C.column.definition[e]&&this.loadMenuEvent(C.column.definition[e],r,C)}loadMenuTableColumnEvent(e,r,C){C._column&&(C=C._column),C.definition[e]&&this.loadMenuEvent(C.definition[e],r,C)}loadMenuEvent(e,r,C){C._group?C=C._group:C._row&&(C=C._row),e=typeof e=="function"?e.call(this.table,r,C.getComponent()):e,this.loadMenu(r,C,e)}loadMenu(e,r,C,D,k){var m=!(e instanceof MouseEvent),t=document.createElement("div"),d;if(t.classList.add("tabulator-menu"),m||e.preventDefault(),!(!C||!C.length)){if(D)d=k.child(t);else{if(this.nestedMenuBlock){if(this.rootPopup)return}else this.nestedMenuBlock=setTimeout(()=>{this.nestedMenuBlock=!1},100);this.rootPopup&&this.rootPopup.hide(),this.rootPopup=d=this.popup(t)}C.forEach(y=>{var i=document.createElement("div"),M=y.label,v=y.disabled;y.separator?i.classList.add("tabulator-menu-separator"):(i.classList.add("tabulator-menu-item"),typeof M=="function"&&(M=M.call(this.table,r.getComponent())),M instanceof Node?i.appendChild(M):i.innerHTML=M,typeof v=="function"&&(v=v.call(this.table,r.getComponent())),v?(i.classList.add("tabulator-menu-item-disabled"),i.addEventListener("click",h=>{h.stopPropagation()})):y.menu&&y.menu.length?i.addEventListener("click",h=>{h.stopPropagation(),this.loadMenu(h,r,y.menu,i,d)}):y.action&&i.addEventListener("click",h=>{y.action(h,r.getComponent())}),y.menu&&y.menu.length&&i.classList.add("tabulator-menu-item-submenu")),t.appendChild(i)}),t.addEventListener("click",y=>{this.rootPopup&&this.rootPopup.hide()}),d.show(D||e),d===this.rootPopup&&(this.rootPopup.hideOnBlur(()=>{this.rootPopup=null,this.currentComponent&&(this.dispatch("menu-closed",C,d),this.dispatchExternal("menuClosed",this.currentComponent.getComponent()),this.currentComponent=null)}),this.currentComponent=r,this.dispatch("menu-opened",C,d),this.dispatchExternal("menuOpened",r.getComponent()))}}}VM.moduleName="menu";class jM extends qi{constructor(e){super(e),this.placeholderElement=this.createPlaceholderElement(),this.hoverElement=!1,this.checkTimeout=!1,this.checkPeriod=250,this.moving=!1,this.toCol=!1,this.toColAfter=!1,this.startX=0,this.autoScrollMargin=40,this.autoScrollStep=5,this.autoScrollTimeout=!1,this.touchMove=!1,this.moveHover=this.moveHover.bind(this),this.endMove=this.endMove.bind(this),this.registerTableOption("movableColumns",!1)}createPlaceholderElement(){var e=document.createElement("div");return e.classList.add("tabulator-col"),e.classList.add("tabulator-col-placeholder"),e}initialize(){this.table.options.movableColumns&&(this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("alert-show",this.abortMove.bind(this)))}abortMove(){clearTimeout(this.checkTimeout)}initializeColumn(e){var r=this,C={},D;!e.modules.frozen&&!e.isGroup&&(D=e.getElement(),C.mousemove=(function(k){e.parent===r.moving.parent&&((r.touchMove?k.touches[0].pageX:k.pageX)-oo.elOffset(D).left+r.table.columnManager.contentsElement.scrollLeft>e.getWidth()/2?(r.toCol!==e||!r.toColAfter)&&(D.parentNode.insertBefore(r.placeholderElement,D.nextSibling),r.moveColumn(e,!0)):(r.toCol!==e||r.toColAfter)&&(D.parentNode.insertBefore(r.placeholderElement,D),r.moveColumn(e,!1)))}).bind(r),D.addEventListener("mousedown",function(k){r.touchMove=!1,k.which===1&&(r.checkTimeout=setTimeout(function(){r.startMove(k,e)},r.checkPeriod))}),D.addEventListener("mouseup",function(k){k.which===1&&r.checkTimeout&&clearTimeout(r.checkTimeout)}),r.bindTouchEvents(e)),e.modules.moveColumn=C}bindTouchEvents(e){var r=e.getElement(),C=!1,D,k,m,t,d,y;r.addEventListener("touchstart",i=>{this.checkTimeout=setTimeout(()=>{this.touchMove=!0,D=e.nextColumn(),m=D?D.getWidth()/2:0,k=e.prevColumn(),t=k?k.getWidth()/2:0,d=0,y=0,C=!1,this.startMove(i,e)},this.checkPeriod)},{passive:!0}),r.addEventListener("touchmove",i=>{var M,v;this.moving&&(this.moveHover(i),C||(C=i.touches[0].pageX),M=i.touches[0].pageX-C,M>0?D&&M-d>m&&(v=D,v!==e&&(C=i.touches[0].pageX,v.getElement().parentNode.insertBefore(this.placeholderElement,v.getElement().nextSibling),this.moveColumn(v,!0))):k&&-M-y>t&&(v=k,v!==e&&(C=i.touches[0].pageX,v.getElement().parentNode.insertBefore(this.placeholderElement,v.getElement()),this.moveColumn(v,!1))),v&&(D=v.nextColumn(),d=m,m=D?D.getWidth()/2:0,k=v.prevColumn(),y=t,t=k?k.getWidth()/2:0))},{passive:!0}),r.addEventListener("touchend",i=>{this.checkTimeout&&clearTimeout(this.checkTimeout),this.moving&&this.endMove(i)})}startMove(e,r){var C=r.getElement(),D=this.table.columnManager.getContentsElement(),k=this.table.columnManager.getHeadersElement();this.moving=r,this.startX=(this.touchMove?e.touches[0].pageX:e.pageX)-oo.elOffset(C).left,this.table.element.classList.add("tabulator-block-select"),this.placeholderElement.style.width=r.getWidth()+"px",this.placeholderElement.style.height=r.getHeight()+"px",C.parentNode.insertBefore(this.placeholderElement,C),C.parentNode.removeChild(C),this.hoverElement=C.cloneNode(!0),this.hoverElement.classList.add("tabulator-moving"),D.appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.bottom=D.clientHeight-k.offsetHeight+"px",this.touchMove||(this._bindMouseMove(),document.body.addEventListener("mousemove",this.moveHover),document.body.addEventListener("mouseup",this.endMove)),this.moveHover(e)}_bindMouseMove(){this.table.columnManager.columnsByIndex.forEach(function(e){e.modules.moveColumn.mousemove&&e.getElement().addEventListener("mousemove",e.modules.moveColumn.mousemove)})}_unbindMouseMove(){this.table.columnManager.columnsByIndex.forEach(function(e){e.modules.moveColumn.mousemove&&e.getElement().removeEventListener("mousemove",e.modules.moveColumn.mousemove)})}moveColumn(e,r){var C=this.moving.getCells();this.toCol=e,this.toColAfter=r,r?e.getCells().forEach(function(D,k){var m=D.getElement(!0);m.parentNode&&C[k]&&m.parentNode.insertBefore(C[k].getElement(),m.nextSibling)}):e.getCells().forEach(function(D,k){var m=D.getElement(!0);m.parentNode&&C[k]&&m.parentNode.insertBefore(C[k].getElement(),m)})}endMove(e){(e.which===1||this.touchMove)&&(this._unbindMouseMove(),this.placeholderElement.parentNode.insertBefore(this.moving.getElement(),this.placeholderElement.nextSibling),this.placeholderElement.parentNode.removeChild(this.placeholderElement),this.hoverElement.parentNode.removeChild(this.hoverElement),this.table.element.classList.remove("tabulator-block-select"),this.toCol&&this.table.columnManager.moveColumnActual(this.moving,this.toCol,this.toColAfter),this.moving=!1,this.toCol=!1,this.toColAfter=!1,this.touchMove||(document.body.removeEventListener("mousemove",this.moveHover),document.body.removeEventListener("mouseup",this.endMove)))}moveHover(e){var r=this.table.columnManager.getContentsElement(),C=r.scrollLeft,D=(this.touchMove?e.touches[0].pageX:e.pageX)-oo.elOffset(r).left+C,k;this.hoverElement.style.left=D-this.startX+"px",D-C{k=Math.max(0,C-5),this.table.rowManager.getElement().scrollLeft=k,this.autoScrollTimeout=!1},1))),C+r.clientWidth-D{k=Math.min(r.clientWidth,C+5),this.table.rowManager.getElement().scrollLeft=k,this.autoScrollTimeout=!1},1)))}}jM.moduleName="moveColumn";class Yy extends qi{constructor(e){super(e),this.placeholderElement=this.createPlaceholderElement(),this.hoverElement=!1,this.checkTimeout=!1,this.checkPeriod=150,this.moving=!1,this.toRow=!1,this.toRowAfter=!1,this.hasHandle=!1,this.startY=0,this.startX=0,this.moveHover=this.moveHover.bind(this),this.endMove=this.endMove.bind(this),this.tableRowDropEvent=!1,this.touchMove=!1,this.connection=!1,this.connectionSelectorsTables=!1,this.connectionSelectorsElements=!1,this.connectionElements=[],this.connections=[],this.connectedTable=!1,this.connectedRow=!1,this.registerTableOption("movableRows",!1),this.registerTableOption("movableRowsConnectedTables",!1),this.registerTableOption("movableRowsConnectedElements",!1),this.registerTableOption("movableRowsSender",!1),this.registerTableOption("movableRowsReceiver","insert"),this.registerColumnOption("rowHandle")}createPlaceholderElement(){var e=document.createElement("div");return e.classList.add("tabulator-row"),e.classList.add("tabulator-row-placeholder"),e}initialize(){this.table.options.movableRows&&(this.connectionSelectorsTables=this.table.options.movableRowsConnectedTables,this.connectionSelectorsElements=this.table.options.movableRowsConnectedElements,this.connection=this.connectionSelectorsTables||this.connectionSelectorsElements,this.subscribe("cell-init",this.initializeCell.bind(this)),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("row-init",this.initializeRow.bind(this)))}initializeGroupHeader(e){var r=this,C={};C.mouseup=(function(D){r.tableRowDrop(D,e)}).bind(r),C.mousemove=(function(D){var k;D.pageY-oo.elOffset(e.element).top+r.table.rowManager.element.scrollTop>e.getHeight()/2?(r.toRow!==e||!r.toRowAfter)&&(k=e.getElement(),k.parentNode.insertBefore(r.placeholderElement,k.nextSibling),r.moveRow(e,!0)):(r.toRow!==e||r.toRowAfter)&&(k=e.getElement(),k.previousSibling&&(k.parentNode.insertBefore(r.placeholderElement,k),r.moveRow(e,!1)))}).bind(r),e.modules.moveRow=C}initializeRow(e){var r=this,C={},D;C.mouseup=(function(k){r.tableRowDrop(k,e)}).bind(r),C.mousemove=(function(k){var m=e.getElement();k.pageY-oo.elOffset(m).top+r.table.rowManager.element.scrollTop>e.getHeight()/2?(r.toRow!==e||!r.toRowAfter)&&(m.parentNode.insertBefore(r.placeholderElement,m.nextSibling),r.moveRow(e,!0)):(r.toRow!==e||r.toRowAfter)&&(m.parentNode.insertBefore(r.placeholderElement,m),r.moveRow(e,!1))}).bind(r),this.hasHandle||(D=e.getElement(),D.addEventListener("mousedown",function(k){k.which===1&&(r.checkTimeout=setTimeout(function(){r.startMove(k,e)},r.checkPeriod))}),D.addEventListener("mouseup",function(k){k.which===1&&r.checkTimeout&&clearTimeout(r.checkTimeout)}),this.bindTouchEvents(e,e.getElement())),e.modules.moveRow=C}initializeColumn(e){e.definition.rowHandle&&this.table.options.movableRows!==!1&&(this.hasHandle=!0)}initializeCell(e){if(e.column.definition.rowHandle&&this.table.options.movableRows!==!1){var r=this,C=e.getElement(!0);C.addEventListener("mousedown",function(D){D.which===1&&(r.checkTimeout=setTimeout(function(){r.startMove(D,e.row)},r.checkPeriod))}),C.addEventListener("mouseup",function(D){D.which===1&&r.checkTimeout&&clearTimeout(r.checkTimeout)}),this.bindTouchEvents(e.row,C)}}bindTouchEvents(e,r){var C=!1,D,k,m,t,d,y;r.addEventListener("touchstart",i=>{this.checkTimeout=setTimeout(()=>{this.touchMove=!0,D=e.nextRow(),m=D?D.getHeight()/2:0,k=e.prevRow(),t=k?k.getHeight()/2:0,d=0,y=0,C=!1,this.startMove(i,e)},this.checkPeriod)},{passive:!0}),this.moving,this.toRow,this.toRowAfter,r.addEventListener("touchmove",i=>{var M,v;this.moving&&(i.preventDefault(),this.moveHover(i),C||(C=i.touches[0].pageY),M=i.touches[0].pageY-C,M>0?D&&M-d>m&&(v=D,v!==e&&(C=i.touches[0].pageY,v.getElement().parentNode.insertBefore(this.placeholderElement,v.getElement().nextSibling),this.moveRow(v,!0))):k&&-M-y>t&&(v=k,v!==e&&(C=i.touches[0].pageY,v.getElement().parentNode.insertBefore(this.placeholderElement,v.getElement()),this.moveRow(v,!1))),v&&(D=v.nextRow(),d=m,m=D?D.getHeight()/2:0,k=v.prevRow(),y=t,t=k?k.getHeight()/2:0))}),r.addEventListener("touchend",i=>{this.checkTimeout&&clearTimeout(this.checkTimeout),this.moving&&(this.endMove(i),this.touchMove=!1)})}_bindMouseMove(){this.table.rowManager.getDisplayRows().forEach(e=>{(e.type==="row"||e.type==="group")&&e.modules.moveRow&&e.modules.moveRow.mousemove&&e.getElement().addEventListener("mousemove",e.modules.moveRow.mousemove)})}_unbindMouseMove(){this.table.rowManager.getDisplayRows().forEach(e=>{(e.type==="row"||e.type==="group")&&e.modules.moveRow&&e.modules.moveRow.mousemove&&e.getElement().removeEventListener("mousemove",e.modules.moveRow.mousemove)})}startMove(e,r){var C=r.getElement();this.setStartPosition(e,r),this.moving=r,this.table.element.classList.add("tabulator-block-select"),this.placeholderElement.style.width=r.getWidth()+"px",this.placeholderElement.style.height=r.getHeight()+"px",this.connection?(this.table.element.classList.add("tabulator-movingrow-sending"),this.connectToTables(r)):(C.parentNode.insertBefore(this.placeholderElement,C),C.parentNode.removeChild(C)),this.hoverElement=C.cloneNode(!0),this.hoverElement.classList.add("tabulator-moving"),this.connection?(document.body.appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.top="0",this.hoverElement.style.width=this.table.element.clientWidth+"px",this.hoverElement.style.whiteSpace="nowrap",this.hoverElement.style.overflow="hidden",this.hoverElement.style.pointerEvents="none"):(this.table.rowManager.getTableElement().appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.top="0",this._bindMouseMove()),document.body.addEventListener("mousemove",this.moveHover),document.body.addEventListener("mouseup",this.endMove),this.dispatchExternal("rowMoving",r.getComponent()),this.moveHover(e)}setStartPosition(e,r){var C=this.touchMove?e.touches[0].pageX:e.pageX,D=this.touchMove?e.touches[0].pageY:e.pageY,k,m;k=r.getElement(),this.connection?(m=k.getBoundingClientRect(),this.startX=m.left-C+window.pageXOffset,this.startY=m.top-D+window.pageYOffset):this.startY=D-k.getBoundingClientRect().top}endMove(e){(!e||e.which===1||this.touchMove)&&(this._unbindMouseMove(),this.connection||(this.placeholderElement.parentNode.insertBefore(this.moving.getElement(),this.placeholderElement.nextSibling),this.placeholderElement.parentNode.removeChild(this.placeholderElement)),this.hoverElement.parentNode.removeChild(this.hoverElement),this.table.element.classList.remove("tabulator-block-select"),this.toRow?this.table.rowManager.moveRow(this.moving,this.toRow,this.toRowAfter):this.dispatchExternal("rowMoveCancelled",this.moving.getComponent()),this.moving=!1,this.toRow=!1,this.toRowAfter=!1,document.body.removeEventListener("mousemove",this.moveHover),document.body.removeEventListener("mouseup",this.endMove),this.connection&&(this.table.element.classList.remove("tabulator-movingrow-sending"),this.disconnectFromTables()))}moveRow(e,r){this.toRow=e,this.toRowAfter=r}moveHover(e){this.connection?this.moveHoverConnections.call(this,e):this.moveHoverTable.call(this,e)}moveHoverTable(e){var r=this.table.rowManager.getElement(),C=r.scrollTop,D=(this.touchMove?e.touches[0].pageY:e.pageY)-r.getBoundingClientRect().top+C;this.hoverElement.style.top=Math.min(D-this.startY,this.table.rowManager.element.scrollHeight-this.hoverElement.offsetHeight)+"px"}moveHoverConnections(e){this.hoverElement.style.left=this.startX+(this.touchMove?e.touches[0].pageX:e.pageX)+"px",this.hoverElement.style.top=this.startY+(this.touchMove?e.touches[0].pageY:e.pageY)+"px"}elementRowDrop(e,r,C){this.dispatchExternal("movableRowsElementDrop",e,r,C?C.getComponent():!1)}connectToTables(e){var r;this.connectionSelectorsTables&&(r=this.commsConnections(this.connectionSelectorsTables),this.dispatchExternal("movableRowsSendingStart",r),this.commsSend(this.connectionSelectorsTables,"moveRow","connect",{row:e})),this.connectionSelectorsElements&&(this.connectionElements=[],Array.isArray(this.connectionSelectorsElements)||(this.connectionSelectorsElements=[this.connectionSelectorsElements]),this.connectionSelectorsElements.forEach(C=>{typeof C=="string"?this.connectionElements=this.connectionElements.concat(Array.prototype.slice.call(document.querySelectorAll(C))):this.connectionElements.push(C)}),this.connectionElements.forEach(C=>{var D=k=>{this.elementRowDrop(k,C,this.moving)};C.addEventListener("mouseup",D),C.tabulatorElementDropEvent=D,C.classList.add("tabulator-movingrow-receiving")}))}disconnectFromTables(){var e;this.connectionSelectorsTables&&(e=this.commsConnections(this.connectionSelectorsTables),this.dispatchExternal("movableRowsSendingStop",e),this.commsSend(this.connectionSelectorsTables,"moveRow","disconnect")),this.connectionElements.forEach(r=>{r.classList.remove("tabulator-movingrow-receiving"),r.removeEventListener("mouseup",r.tabulatorElementDropEvent),delete r.tabulatorElementDropEvent})}connect(e,r){return this.connectedTable?(console.warn("Move Row Error - Table cannot accept connection, already connected to table:",this.connectedTable),!1):(this.connectedTable=e,this.connectedRow=r,this.table.element.classList.add("tabulator-movingrow-receiving"),this.table.rowManager.getDisplayRows().forEach(C=>{C.type==="row"&&C.modules.moveRow&&C.modules.moveRow.mouseup&&C.getElement().addEventListener("mouseup",C.modules.moveRow.mouseup)}),this.tableRowDropEvent=this.tableRowDrop.bind(this),this.table.element.addEventListener("mouseup",this.tableRowDropEvent),this.dispatchExternal("movableRowsReceivingStart",r,e),!0)}disconnect(e){e===this.connectedTable?(this.connectedTable=!1,this.connectedRow=!1,this.table.element.classList.remove("tabulator-movingrow-receiving"),this.table.rowManager.getDisplayRows().forEach(r=>{r.type==="row"&&r.modules.moveRow&&r.modules.moveRow.mouseup&&r.getElement().removeEventListener("mouseup",r.modules.moveRow.mouseup)}),this.table.element.removeEventListener("mouseup",this.tableRowDropEvent),this.dispatchExternal("movableRowsReceivingStop",e)):console.warn("Move Row Error - trying to disconnect from non connected table")}dropComplete(e,r,C){var D=!1;if(C){switch(typeof this.table.options.movableRowsSender){case"string":D=this.senders[this.table.options.movableRowsSender];break;case"function":D=this.table.options.movableRowsSender;break}D?D.call(this,this.moving?this.moving.getComponent():void 0,r?r.getComponent():void 0,e):this.table.options.movableRowsSender&&console.warn("Mover Row Error - no matching sender found:",this.table.options.movableRowsSender),this.dispatchExternal("movableRowsSent",this.moving.getComponent(),r?r.getComponent():void 0,e)}else this.dispatchExternal("movableRowsSentFailed",this.moving.getComponent(),r?r.getComponent():void 0,e);this.endMove()}tableRowDrop(e,r){var C=!1,D=!1;switch(e.stopImmediatePropagation(),typeof this.table.options.movableRowsReceiver){case"string":C=this.receivers[this.table.options.movableRowsReceiver];break;case"function":C=this.table.options.movableRowsReceiver;break}C?D=C.call(this,this.connectedRow.getComponent(),r?r.getComponent():void 0,this.connectedTable):console.warn("Mover Row Error - no matching receiver found:",this.table.options.movableRowsReceiver),D?this.dispatchExternal("movableRowsReceived",this.connectedRow.getComponent(),r?r.getComponent():void 0,this.connectedTable):this.dispatchExternal("movableRowsReceivedFailed",this.connectedRow.getComponent(),r?r.getComponent():void 0,this.connectedTable),this.commsSend(this.connectedTable,"moveRow","dropcomplete",{row:r,success:D})}commsReceived(e,r,C){switch(r){case"connect":return this.connect(e,C.row);case"disconnect":return this.disconnect(e);case"dropcomplete":return this.dropComplete(e,C.row,C.success)}}}Yy.prototype.receivers={insert:function(n,e,r){return this.table.addRow(n.getData(),void 0,e),!0},add:function(n,e,r){return this.table.addRow(n.getData()),!0},update:function(n,e,r){return e?(e.update(n.getData()),!0):!1},replace:function(n,e,r){return e?(this.table.addRow(n.getData(),void 0,e),e.delete(),!0):!1}};Yy.prototype.senders={delete:function(n,e,r){n.delete()}};Yy.moduleName="moveRow";var mP={};class o0 extends qi{constructor(e){super(e),this.allowedTypes=["","data","edit","clipboard"],this.enabled=!0,this.registerColumnOption("mutator"),this.registerColumnOption("mutatorParams"),this.registerColumnOption("mutatorData"),this.registerColumnOption("mutatorDataParams"),this.registerColumnOption("mutatorEdit"),this.registerColumnOption("mutatorEditParams"),this.registerColumnOption("mutatorClipboard"),this.registerColumnOption("mutatorClipboardParams"),this.registerColumnOption("mutateLink")}initialize(){this.subscribe("cell-value-changing",this.transformCell.bind(this)),this.subscribe("cell-value-changed",this.mutateLink.bind(this)),this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("row-data-init-before",this.rowDataChanged.bind(this)),this.subscribe("row-data-changing",this.rowDataChanged.bind(this))}rowDataChanged(e,r,C){return this.transformRow(r,"data",C)}initializeColumn(e){var r=!1,C={};this.allowedTypes.forEach(D=>{var k="mutator"+(D.charAt(0).toUpperCase()+D.slice(1)),m;e.definition[k]&&(m=this.lookupMutator(e.definition[k]),m&&(r=!0,C[k]={mutator:m,params:e.definition[k+"Params"]||{}}))}),r&&(e.modules.mutate=C)}lookupMutator(e){var r=!1;switch(typeof e){case"string":o0.mutators[e]?r=o0.mutators[e]:console.warn("Mutator Error - No such mutator found, ignoring: ",e);break;case"function":r=e;break}return r}transformRow(e,r,C){var D="mutator"+(r.charAt(0).toUpperCase()+r.slice(1)),k;return this.enabled&&this.table.columnManager.traverse(m=>{var t,d,y;m.modules.mutate&&(t=m.modules.mutate[D]||m.modules.mutate.mutator||!1,t&&(k=m.getFieldValue(typeof C<"u"?C:e),(r=="data"&&!C||typeof k<"u")&&(y=m.getComponent(),d=typeof t.params=="function"?t.params(k,e,r,y):t.params,m.setFieldValue(e,t.mutator(k,e,r,d,y)))))}),e}transformCell(e,r){if(e.column.modules.mutate){var C=e.column.modules.mutate.mutatorEdit||e.column.modules.mutate.mutator||!1,D={};if(C)return D=Object.assign(D,e.row.getData()),e.column.setFieldValue(D,r),C.mutator(r,D,"edit",C.params,e.getComponent())}return r}mutateLink(e){var r=e.column.definition.mutateLink;r&&(Array.isArray(r)||(r=[r]),r.forEach(C=>{var D=e.row.getCell(C);D&&D.setValue(D.getValue(),!0,!0)}))}enable(){this.enabled=!0}disable(){this.enabled=!1}}o0.moduleName="mutator";o0.mutators=mP;function gP(n,e,r,C,D){var k=document.createElement("span"),m=document.createElement("span"),t=document.createElement("span"),d=document.createElement("span"),y=document.createElement("span"),i=document.createElement("span");return this.table.modules.localize.langBind("pagination|counter|showing",M=>{m.innerHTML=M}),this.table.modules.localize.langBind("pagination|counter|of",M=>{d.innerHTML=M}),this.table.modules.localize.langBind("pagination|counter|rows",M=>{i.innerHTML=M}),C?(t.innerHTML=" "+e+"-"+Math.min(e+n-1,C)+" ",y.innerHTML=" "+C+" ",k.appendChild(m),k.appendChild(t),k.appendChild(d),k.appendChild(y),k.appendChild(i)):(t.innerHTML=" 0 ",k.appendChild(m),k.appendChild(t),k.appendChild(i)),k}function vP(n,e,r,C,D){var k=document.createElement("span"),m=document.createElement("span"),t=document.createElement("span"),d=document.createElement("span"),y=document.createElement("span"),i=document.createElement("span");return this.table.modules.localize.langBind("pagination|counter|showing",M=>{m.innerHTML=M}),t.innerHTML=" "+r+" ",this.table.modules.localize.langBind("pagination|counter|of",M=>{d.innerHTML=M}),y.innerHTML=" "+D+" ",this.table.modules.localize.langBind("pagination|counter|pages",M=>{i.innerHTML=M}),k.appendChild(m),k.appendChild(t),k.appendChild(d),k.appendChild(y),k.appendChild(i),k}var yP={rows:gP,pages:vP};class rg extends qi{constructor(e){super(e),this.mode="local",this.progressiveLoad=!1,this.element=null,this.pageCounterElement=null,this.pageCounter=null,this.size=0,this.page=1,this.count=5,this.max=1,this.remoteRowCountEstimate=null,this.initialLoad=!0,this.dataChanging=!1,this.pageSizes=[],this.registerTableOption("pagination",!1),this.registerTableOption("paginationMode","local"),this.registerTableOption("paginationSize",!1),this.registerTableOption("paginationInitialPage",1),this.registerTableOption("paginationCounter",!1),this.registerTableOption("paginationCounterElement",!1),this.registerTableOption("paginationButtonCount",5),this.registerTableOption("paginationSizeSelector",!1),this.registerTableOption("paginationElement",!1),this.registerTableOption("paginationAddRow","page"),this.registerTableOption("progressiveLoad",!1),this.registerTableOption("progressiveLoadDelay",0),this.registerTableOption("progressiveLoadScrollMargin",0),this.registerTableFunction("setMaxPage",this.setMaxPage.bind(this)),this.registerTableFunction("setPage",this.setPage.bind(this)),this.registerTableFunction("setPageToRow",this.userSetPageToRow.bind(this)),this.registerTableFunction("setPageSize",this.userSetPageSize.bind(this)),this.registerTableFunction("getPageSize",this.getPageSize.bind(this)),this.registerTableFunction("previousPage",this.previousPage.bind(this)),this.registerTableFunction("nextPage",this.nextPage.bind(this)),this.registerTableFunction("getPage",this.getPage.bind(this)),this.registerTableFunction("getPageMax",this.getPageMax.bind(this)),this.registerComponentFunction("row","pageTo",this.setPageToRow.bind(this))}initialize(){this.table.options.pagination?(this.subscribe("row-deleted",this.rowsUpdated.bind(this)),this.subscribe("row-added",this.rowsUpdated.bind(this)),this.subscribe("data-processed",this.initialLoadComplete.bind(this)),this.subscribe("table-built",this.calculatePageSizes.bind(this)),this.subscribe("footer-redraw",this.footerRedraw.bind(this)),this.table.options.paginationAddRow=="page"&&this.subscribe("row-adding-position",this.rowAddingPosition.bind(this)),this.table.options.paginationMode==="remote"&&(this.subscribe("data-params",this.remotePageParams.bind(this)),this.subscribe("data-loaded",this._parseRemoteData.bind(this))),this.table.options.progressiveLoad&&console.error("Progressive Load Error - Pagination and progressive load cannot be used at the same time"),this.registerDisplayHandler(this.restOnRenderBefore.bind(this),40),this.registerDisplayHandler(this.getRows.bind(this),50),this.createElements(),this.initializePageCounter(),this.initializePaginator()):this.table.options.progressiveLoad&&(this.subscribe("data-params",this.remotePageParams.bind(this)),this.subscribe("data-loaded",this._parseRemoteData.bind(this)),this.subscribe("table-built",this.calculatePageSizes.bind(this)),this.subscribe("data-processed",this.initialLoadComplete.bind(this)),this.initializeProgressive(this.table.options.progressiveLoad),this.table.options.progressiveLoad==="scroll"&&this.subscribe("scroll-vertical",this.scrollVertical.bind(this)))}rowAddingPosition(e,r){var C=this.table.rowManager,D=C.getDisplayRows(),k;return r?D.length?k=D[0]:C.activeRows.length&&(k=C.activeRows[C.activeRows.length-1],r=!1):D.length&&(k=D[D.length-1],r=!(D.length{}))}restOnRenderBefore(e,r){return r||this.mode==="local"&&this.reset(),e}rowsUpdated(){this.refreshData(!0,"all")}createElements(){var e;this.element=document.createElement("span"),this.element.classList.add("tabulator-paginator"),this.pagesElement=document.createElement("span"),this.pagesElement.classList.add("tabulator-pages"),e=document.createElement("button"),e.classList.add("tabulator-page"),e.setAttribute("type","button"),e.setAttribute("role","button"),e.setAttribute("aria-label",""),e.setAttribute("title",""),this.firstBut=e.cloneNode(!0),this.firstBut.setAttribute("data-page","first"),this.prevBut=e.cloneNode(!0),this.prevBut.setAttribute("data-page","prev"),this.nextBut=e.cloneNode(!0),this.nextBut.setAttribute("data-page","next"),this.lastBut=e.cloneNode(!0),this.lastBut.setAttribute("data-page","last"),this.table.options.paginationSizeSelector&&(this.pageSizeSelect=document.createElement("select"),this.pageSizeSelect.classList.add("tabulator-page-size"))}generatePageSizeSelectList(){var e=[];if(this.pageSizeSelect){if(Array.isArray(this.table.options.paginationSizeSelector))e=this.table.options.paginationSizeSelector,this.pageSizes=e,this.pageSizes.indexOf(this.size)==-1&&e.unshift(this.size);else if(this.pageSizes.indexOf(this.size)==-1){e=[];for(let r=1;r<5;r++)e.push(this.size*r);this.pageSizes=e}else e=this.pageSizes;for(;this.pageSizeSelect.firstChild;)this.pageSizeSelect.removeChild(this.pageSizeSelect.firstChild);e.forEach(r=>{var C=document.createElement("option");C.value=r,r===!0?this.langBind("pagination|all",function(D){C.innerHTML=D}):C.innerHTML=r,this.pageSizeSelect.appendChild(C)}),this.pageSizeSelect.value=this.size}}initializePageCounter(){var e=this.table.options.paginationCounter,r=null;e&&(typeof e=="function"?r=e:r=rg.pageCounters[e],r?(this.pageCounter=r,this.pageCounterElement=document.createElement("span"),this.pageCounterElement.classList.add("tabulator-page-counter")):console.warn("Pagination Error - No such page counter found: ",e))}initializePaginator(e){var r,C;e||(this.langBind("pagination|first",D=>{this.firstBut.innerHTML=D}),this.langBind("pagination|first_title",D=>{this.firstBut.setAttribute("aria-label",D),this.firstBut.setAttribute("title",D)}),this.langBind("pagination|prev",D=>{this.prevBut.innerHTML=D}),this.langBind("pagination|prev_title",D=>{this.prevBut.setAttribute("aria-label",D),this.prevBut.setAttribute("title",D)}),this.langBind("pagination|next",D=>{this.nextBut.innerHTML=D}),this.langBind("pagination|next_title",D=>{this.nextBut.setAttribute("aria-label",D),this.nextBut.setAttribute("title",D)}),this.langBind("pagination|last",D=>{this.lastBut.innerHTML=D}),this.langBind("pagination|last_title",D=>{this.lastBut.setAttribute("aria-label",D),this.lastBut.setAttribute("title",D)}),this.firstBut.addEventListener("click",()=>{this.setPage(1)}),this.prevBut.addEventListener("click",()=>{this.previousPage()}),this.nextBut.addEventListener("click",()=>{this.nextPage()}),this.lastBut.addEventListener("click",()=>{this.setPage(this.max)}),this.table.options.paginationElement&&(this.element=this.table.options.paginationElement),this.pageSizeSelect&&(r=document.createElement("label"),this.langBind("pagination|page_size",D=>{this.pageSizeSelect.setAttribute("aria-label",D),this.pageSizeSelect.setAttribute("title",D),r.innerHTML=D}),this.element.appendChild(r),this.element.appendChild(this.pageSizeSelect),this.pageSizeSelect.addEventListener("change",D=>{this.setPageSize(this.pageSizeSelect.value=="true"?!0:this.pageSizeSelect.value),this.setPage(1)})),this.element.appendChild(this.firstBut),this.element.appendChild(this.prevBut),this.element.appendChild(this.pagesElement),this.element.appendChild(this.nextBut),this.element.appendChild(this.lastBut),this.table.options.paginationElement||(this.table.options.paginationCounter&&(this.table.options.paginationCounterElement?this.table.options.paginationCounterElement instanceof HTMLElement?this.table.options.paginationCounterElement.appendChild(this.pageCounterElement):typeof this.table.options.paginationCounterElement=="string"&&(C=document.querySelector(this.table.options.paginationCounterElement),C?C.appendChild(this.pageCounterElement):console.warn("Pagination Error - Unable to find element matching paginationCounterElement selector:",this.table.options.paginationCounterElement)):this.footerAppend(this.pageCounterElement)),this.footerAppend(this.element)),this.page=this.table.options.paginationInitialPage,this.count=this.table.options.paginationButtonCount),this.mode=this.table.options.paginationMode}initializeProgressive(e){this.initializePaginator(!0),this.mode="progressive_"+e,this.progressiveLoad=!0}trackChanges(){this.dispatch("page-changed")}setMaxRows(e){e?this.max=this.size===!0?1:Math.ceil(e/this.size):this.max=1,this.page>this.max&&(this.page=this.max)}reset(e){this.initialLoad||(this.mode=="local"||e)&&(this.page=1,this.trackChanges())}setMaxPage(e){e=parseInt(e),this.max=e||1,this.page>this.max&&(this.page=this.max,this.trigger())}setPage(e){switch(e){case"first":return this.setPage(1);case"prev":return this.previousPage();case"next":return this.nextPage();case"last":return this.setPage(this.max)}return e=parseInt(e),e>0&&e<=this.max||this.mode!=="local"?(this.page=e,this.trackChanges(),this.trigger()):(console.warn("Pagination Error - Requested page is out of range of 1 - "+this.max+":",e),Promise.reject())}setPageToRow(e){var r=this.displayRows(-1),C=r.indexOf(e);if(C>-1){var D=this.size===!0?1:Math.ceil((C+1)/this.size);return this.setPage(D)}else return console.warn("Pagination Error - Requested row is not visible"),Promise.reject()}setPageSize(e){e!==!0&&(e=parseInt(e)),e>0&&(this.size=e,this.dispatchExternal("pageSizeChanged",e)),this.pageSizeSelect&&this.generatePageSizeSelectList(),this.trackChanges()}_setPageCounter(e,r,C){var D;if(this.pageCounter)switch(this.mode==="remote"&&(r=this.size,C=(this.page-1)*this.size+1,e=this.remoteRowCountEstimate),D=this.pageCounter.call(this,r,C,this.page,e,this.max),typeof D){case"object":if(D instanceof Node){for(;this.pageCounterElement.firstChild;)this.pageCounterElement.removeChild(this.pageCounterElement.firstChild);this.pageCounterElement.appendChild(D)}else this.pageCounterElement.innerHTML="",D!=null&&console.warn("Page Counter Error - Page Counter has returned a type of object, the only valid page counter object return is an instance of Node, the page counter returned:",D);break;case"undefined":this.pageCounterElement.innerHTML="";break;default:this.pageCounterElement.innerHTML=D}}_setPageButtons(){let e=Math.floor((this.count-1)/2),r=Math.ceil((this.count-1)/2),C=this.max-this.page+e+10&&k<=this.max&&this.pagesElement.appendChild(this._generatePageButton(k));this.footerRedraw()}_generatePageButton(e){var r=document.createElement("button");return r.classList.add("tabulator-page"),e==this.page&&r.classList.add("active"),r.setAttribute("type","button"),r.setAttribute("role","button"),this.langBind("pagination|page_title",C=>{r.setAttribute("aria-label",C+" "+e),r.setAttribute("title",C+" "+e)}),r.setAttribute("data-page",e),r.textContent=e,r.addEventListener("click",C=>{this.setPage(e)}),r}previousPage(){return this.page>1?(this.page--,this.trackChanges(),this.trigger()):(console.warn("Pagination Error - Previous page would be less than page 1:",0),Promise.reject())}nextPage(){return this.paged.type==="row");if(this.mode=="local"){C=[],this.setMaxRows(e.length),this.size===!0?(D=0,k=e.length):(D=this.size*(this.page-1),k=D+parseInt(this.size)),this._setPageButtons();for(let d=D;d{this.dataChanging=!1});case"progressive_load":case"progressive_scroll":return this.reloadData(null,!0);default:return console.warn("Pagination Error - no such pagination mode:",this.mode),Promise.reject()}}_parseRemoteData(e){var r;if(typeof e.last_page>"u"&&console.warn("Remote Pagination Error - Server response missing '"+(this.options("dataReceiveParams").last_page||"last_page")+"' property"),e.data)if(this.max=parseInt(e.last_page)||1,this.remoteRowCountEstimate=typeof e.last_row<"u"?e.last_row:e.last_page*this.size-(this.page==e.last_page?this.size-e.data.length:0),this.progressiveLoad){switch(this.mode){case"progressive_load":this.page==1?this.table.rowManager.setData(e.data,!1,this.page==1):this.table.rowManager.addRows(e.data),this.page{this.nextPage()},this.table.options.progressiveLoadDelay);break;case"progressive_scroll":e=this.page===1?e.data:this.table.rowManager.getData().concat(e.data),this.table.rowManager.setData(e,this.page!==1,this.page==1),r=this.table.options.progressiveLoadScrollMargin||this.table.rowManager.element.clientHeight*2,this.table.rowManager.element.scrollHeight<=this.table.rowManager.element.clientHeight+r&&this.page{this.nextPage()});break}return!1}else this.dispatchExternal("pageLoaded",this.getPage());else console.warn("Remote Pagination Error - Server response missing '"+(this.options("dataReceiveParams").data||"data")+"' property");return e.data}footerRedraw(){var e=this.table.footerManager.containerElement;Math.ceil(e.clientWidth)-e.scrollWidth<0?this.pagesElement.style.display="none":(this.pagesElement.style.display="",Math.ceil(e.clientWidth)-e.scrollWidth<0&&(this.pagesElement.style.display="none"))}}rg.moduleName="page";rg.pageCounters=yP;var bP={local:function(n,e){var r=localStorage.getItem(n+"-"+e);return r?JSON.parse(r):!1},cookie:function(n,e){var r=document.cookie,C=n+"-"+e,D=r.indexOf(C+"="),k,m;return D>-1&&(r=r.slice(D),k=r.indexOf(";"),k>-1&&(r=r.slice(0,k)),m=r.replace(C+"=","")),m?JSON.parse(m):!1}},xP={local:function(n,e,r){localStorage.setItem(n+"-"+e,JSON.stringify(r))},cookie:function(n,e,r){var C=new Date;C.setDate(C.getDate()+1e4),document.cookie=n+"-"+e+"="+JSON.stringify(r)+"; expires="+C.toUTCString()}};class Ul extends qi{constructor(e){super(e),this.mode="",this.id="",this.defWatcherBlock=!1,this.config={},this.readFunc=!1,this.writeFunc=!1,this.registerTableOption("persistence",!1),this.registerTableOption("persistenceID",""),this.registerTableOption("persistenceMode",!0),this.registerTableOption("persistenceReaderFunc",!1),this.registerTableOption("persistenceWriterFunc",!1)}localStorageTest(){var e="_tabulator_test";try{return window.localStorage.setItem(e,e),window.localStorage.removeItem(e),!0}catch{return!1}}initialize(){if(this.table.options.persistence){var e=this.table.options.persistenceMode,r=this.table.options.persistenceID,C;this.mode=e!==!0?e:this.localStorageTest()?"local":"cookie",this.table.options.persistenceReaderFunc?typeof this.table.options.persistenceReaderFunc=="function"?this.readFunc=this.table.options.persistenceReaderFunc:Ul.readers[this.table.options.persistenceReaderFunc]?this.readFunc=Ul.readers[this.table.options.persistenceReaderFunc]:console.warn("Persistence Read Error - invalid reader set",this.table.options.persistenceReaderFunc):Ul.readers[this.mode]?this.readFunc=Ul.readers[this.mode]:console.warn("Persistence Read Error - invalid reader set",this.mode),this.table.options.persistenceWriterFunc?typeof this.table.options.persistenceWriterFunc=="function"?this.writeFunc=this.table.options.persistenceWriterFunc:Ul.writers[this.table.options.persistenceWriterFunc]?this.writeFunc=Ul.writers[this.table.options.persistenceWriterFunc]:console.warn("Persistence Write Error - invalid reader set",this.table.options.persistenceWriterFunc):Ul.writers[this.mode]?this.writeFunc=Ul.writers[this.mode]:console.warn("Persistence Write Error - invalid writer set",this.mode),this.id="tabulator-"+(r||this.table.element.getAttribute("id")||""),this.config={sort:this.table.options.persistence===!0||this.table.options.persistence.sort,filter:this.table.options.persistence===!0||this.table.options.persistence.filter,headerFilter:this.table.options.persistence===!0||this.table.options.persistence.headerFilter,group:this.table.options.persistence===!0||this.table.options.persistence.group,page:this.table.options.persistence===!0||this.table.options.persistence.page,columns:this.table.options.persistence===!0?["title","width","visible"]:this.table.options.persistence.columns},this.config.page&&(C=this.retrieveData("page"),C&&(typeof C.paginationSize<"u"&&(this.config.page===!0||this.config.page.size)&&(this.table.options.paginationSize=C.paginationSize),typeof C.paginationInitialPage<"u"&&(this.config.page===!0||this.config.page.page)&&(this.table.options.paginationInitialPage=C.paginationInitialPage))),this.config.group&&(C=this.retrieveData("group"),C&&(typeof C.groupBy<"u"&&(this.config.group===!0||this.config.group.groupBy)&&(this.table.options.groupBy=C.groupBy),typeof C.groupStartOpen<"u"&&(this.config.group===!0||this.config.group.groupStartOpen)&&(this.table.options.groupStartOpen=C.groupStartOpen),typeof C.groupHeader<"u"&&(this.config.group===!0||this.config.group.groupHeader)&&(this.table.options.groupHeader=C.groupHeader))),this.config.columns&&(this.table.options.columns=this.load("columns",this.table.options.columns),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("column-show",this.save.bind(this,"columns")),this.subscribe("column-hide",this.save.bind(this,"columns")),this.subscribe("column-moved",this.save.bind(this,"columns"))),this.subscribe("table-built",this.tableBuilt.bind(this),0),this.subscribe("table-redraw",this.tableRedraw.bind(this)),this.subscribe("filter-changed",this.eventSave.bind(this,"filter")),this.subscribe("filter-changed",this.eventSave.bind(this,"headerFilter")),this.subscribe("sort-changed",this.eventSave.bind(this,"sort")),this.subscribe("group-changed",this.eventSave.bind(this,"group")),this.subscribe("page-changed",this.eventSave.bind(this,"page")),this.subscribe("column-resized",this.eventSave.bind(this,"columns")),this.subscribe("column-width",this.eventSave.bind(this,"columns")),this.subscribe("layout-refreshed",this.eventSave.bind(this,"columns"))}this.registerTableFunction("getColumnLayout",this.getColumnLayout.bind(this)),this.registerTableFunction("setColumnLayout",this.setColumnLayout.bind(this))}eventSave(e){this.config[e]&&this.save(e)}tableBuilt(){var e,r,C;this.config.sort&&(e=this.load("sort"),e&&(this.table.options.initialSort=e)),this.config.filter&&(r=this.load("filter"),r&&(this.table.options.initialFilter=r)),this.config.headerFilter&&(C=this.load("headerFilter"),C&&(this.table.options.initialHeaderFilter=C))}tableRedraw(e){e&&this.config.columns&&this.save("columns")}getColumnLayout(){return this.parseColumns(this.table.columnManager.getColumns())}setColumnLayout(e){return this.table.columnManager.setColumns(this.mergeDefinition(this.table.options.columns,e,!0)),!0}initializeColumn(e){var r,C;this.config.columns&&(this.defWatcherBlock=!0,r=e.getDefinition(),C=this.config.columns===!0?Object.keys(r):this.config.columns,C.forEach(D=>{var k=Object.getOwnPropertyDescriptor(r,D),m=r[D];k&&Object.defineProperty(r,D,{set:t=>{m=t,this.defWatcherBlock||this.save("columns"),k.set&&k.set(t)},get:()=>(k.get&&k.get(),m)})}),this.defWatcherBlock=!1)}load(e,r){var C=this.retrieveData(e);return r&&(C=C?this.mergeDefinition(r,C):r),C}retrieveData(e){return this.readFunc?this.readFunc(this.id,e):!1}mergeDefinition(e,r,C){var D=[];return r=r||[],r.forEach((k,m)=>{var t=this._findColumn(e,k),d;t&&(C?d=Object.keys(k):this.config.columns===!0||this.config.columns==null?(d=Object.keys(t),d.push("width")):d=this.config.columns,d.forEach(y=>{y!=="columns"&&typeof k[y]<"u"&&(t[y]=k[y])}),t.columns&&(t.columns=this.mergeDefinition(t.columns,k.columns)),D.push(t))}),e.forEach((k,m)=>{var t=this._findColumn(r,k);t||(D.length>m?D.splice(m,0,k):D.push(k))}),D}_findColumn(e,r){var C=r.columns?"group":r.field?"field":"object";return e.find(function(D){switch(C){case"group":return D.title===r.title&&D.columns.length===r.columns.length;case"field":return D.field===r.field;case"object":return D===r}})}save(e){var r={};switch(e){case"columns":r=this.parseColumns(this.table.columnManager.getColumns());break;case"filter":r=this.table.modules.filter.getFilters();break;case"headerFilter":r=this.table.modules.filter.getHeaderFilters();break;case"sort":r=this.validateSorters(this.table.modules.sort.getSort());break;case"group":r=this.getGroupConfig();break;case"page":r=this.getPageConfig();break}this.writeFunc&&this.writeFunc(this.id,e,r)}validateSorters(e){return e.forEach(function(r){r.column=r.field,delete r.field}),e}getGroupConfig(){var e={};return this.config.group&&((this.config.group===!0||this.config.group.groupBy)&&(e.groupBy=this.table.options.groupBy),(this.config.group===!0||this.config.group.groupStartOpen)&&(e.groupStartOpen=this.table.options.groupStartOpen),(this.config.group===!0||this.config.group.groupHeader)&&(e.groupHeader=this.table.options.groupHeader)),e}getPageConfig(){var e={};return this.config.page&&((this.config.page===!0||this.config.page.size)&&(e.paginationSize=this.table.modules.page.getPageSize()),(this.config.page===!0||this.config.page.page)&&(e.paginationInitialPage=this.table.modules.page.getPage())),e}parseColumns(e){var r=[],C=["headerContextMenu","headerMenu","contextMenu","clickMenu"];return e.forEach(D=>{var k={},m=D.getDefinition(),t;D.isGroup?(k.title=m.title,k.columns=this.parseColumns(D.getColumns())):(k.field=D.getField(),this.config.columns===!0||this.config.columns==null?(t=Object.keys(m),t.push("width"),t.push("visible")):t=this.config.columns,t.forEach(d=>{switch(d){case"width":k.width=D.getWidth();break;case"visible":k.visible=D.visible;break;default:typeof m[d]!="function"&&C.indexOf(d)===-1&&(k[d]=m[d])}})),r.push(k)}),r}}Ul.moduleName="persistence";Ul.moduleInitOrder=-10;Ul.readers=bP;Ul.writers=xP;class UM extends qi{constructor(e){super(e),this.columnSubscribers={},this.registerTableOption("rowContextPopup",!1),this.registerTableOption("rowClickPopup",!1),this.registerTableOption("rowDblClickPopup",!1),this.registerTableOption("groupContextPopup",!1),this.registerTableOption("groupClickPopup",!1),this.registerTableOption("groupDblClickPopup",!1),this.registerColumnOption("headerContextPopup"),this.registerColumnOption("headerClickPopup"),this.registerColumnOption("headerDblClickPopup"),this.registerColumnOption("headerPopup"),this.registerColumnOption("headerPopupIcon"),this.registerColumnOption("contextPopup"),this.registerColumnOption("clickPopup"),this.registerColumnOption("dblClickPopup"),this.registerComponentFunction("cell","popup",this._componentPopupCall.bind(this)),this.registerComponentFunction("column","popup",this._componentPopupCall.bind(this)),this.registerComponentFunction("row","popup",this._componentPopupCall.bind(this)),this.registerComponentFunction("group","popup",this._componentPopupCall.bind(this))}initialize(){this.initializeRowWatchers(),this.initializeGroupWatchers(),this.subscribe("column-init",this.initializeColumn.bind(this))}_componentPopupCall(e,r,C){this.loadPopupEvent(r,null,e,C)}initializeRowWatchers(){this.table.options.rowContextPopup&&(this.subscribe("row-contextmenu",this.loadPopupEvent.bind(this,this.table.options.rowContextPopup)),this.table.on("rowTapHold",this.loadPopupEvent.bind(this,this.table.options.rowContextPopup))),this.table.options.rowClickPopup&&this.subscribe("row-click",this.loadPopupEvent.bind(this,this.table.options.rowClickPopup)),this.table.options.rowDblClickPopup&&this.subscribe("row-dblclick",this.loadPopupEvent.bind(this,this.table.options.rowDblClickPopup))}initializeGroupWatchers(){this.table.options.groupContextPopup&&(this.subscribe("group-contextmenu",this.loadPopupEvent.bind(this,this.table.options.groupContextPopup)),this.table.on("groupTapHold",this.loadPopupEvent.bind(this,this.table.options.groupContextPopup))),this.table.options.groupClickPopup&&this.subscribe("group-click",this.loadPopupEvent.bind(this,this.table.options.groupClickPopup)),this.table.options.groupDblClickPopup&&this.subscribe("group-dblclick",this.loadPopupEvent.bind(this,this.table.options.groupDblClickPopup))}initializeColumn(e){var r=e.definition;r.headerContextPopup&&!this.columnSubscribers.headerContextPopup&&(this.columnSubscribers.headerContextPopup=this.loadPopupTableColumnEvent.bind(this,"headerContextPopup"),this.subscribe("column-contextmenu",this.columnSubscribers.headerContextPopup),this.table.on("headerTapHold",this.loadPopupTableColumnEvent.bind(this,"headerContextPopup"))),r.headerClickPopup&&!this.columnSubscribers.headerClickPopup&&(this.columnSubscribers.headerClickPopup=this.loadPopupTableColumnEvent.bind(this,"headerClickPopup"),this.subscribe("column-click",this.columnSubscribers.headerClickPopup)),r.headerDblClickPopup&&!this.columnSubscribers.headerDblClickPopup&&(this.columnSubscribers.headerDblClickPopup=this.loadPopupTableColumnEvent.bind(this,"headerDblClickPopup"),this.subscribe("column-dblclick",this.columnSubscribers.headerDblClickPopup)),r.headerPopup&&this.initializeColumnHeaderPopup(e),r.contextPopup&&!this.columnSubscribers.contextPopup&&(this.columnSubscribers.contextPopup=this.loadPopupTableCellEvent.bind(this,"contextPopup"),this.subscribe("cell-contextmenu",this.columnSubscribers.contextPopup),this.table.on("cellTapHold",this.loadPopupTableCellEvent.bind(this,"contextPopup"))),r.clickPopup&&!this.columnSubscribers.clickPopup&&(this.columnSubscribers.clickPopup=this.loadPopupTableCellEvent.bind(this,"clickPopup"),this.subscribe("cell-click",this.columnSubscribers.clickPopup)),r.dblClickPopup&&!this.columnSubscribers.dblClickPopup&&(this.columnSubscribers.dblClickPopup=this.loadPopupTableCellEvent.bind(this,"dblClickPopup"),this.subscribe("cell-click",this.columnSubscribers.dblClickPopup))}initializeColumnHeaderPopup(e){var r=e.definition.headerPopupIcon,C;C=document.createElement("span"),C.classList.add("tabulator-header-popup-button"),r?(typeof r=="function"&&(r=r(e.getComponent())),r instanceof HTMLElement?C.appendChild(r):C.innerHTML=r):C.innerHTML="⋮",C.addEventListener("click",D=>{D.stopPropagation(),D.preventDefault(),this.loadPopupEvent(e.definition.headerPopup,D,e)}),e.titleElement.insertBefore(C,e.titleElement.firstChild)}loadPopupTableCellEvent(e,r,C){C._cell&&(C=C._cell),C.column.definition[e]&&this.loadPopupEvent(C.column.definition[e],r,C)}loadPopupTableColumnEvent(e,r,C){C._column&&(C=C._column),C.definition[e]&&this.loadPopupEvent(C.definition[e],r,C)}loadPopupEvent(e,r,C,D){var k;function m(t){k=t}C._group?C=C._group:C._row&&(C=C._row),e=typeof e=="function"?e.call(this.table,r,C.getComponent(),m):e,this.loadPopup(r,C,e,k,D)}loadPopup(e,r,C,D,k){var m=!(e instanceof MouseEvent),t,d;C instanceof HTMLElement?t=C:(t=document.createElement("div"),t.innerHTML=C),t.classList.add("tabulator-popup"),t.addEventListener("click",y=>{y.stopPropagation()}),m||e.preventDefault(),d=this.popup(t),typeof D=="function"&&d.renderCallback(D),e?d.show(e):d.show(r.getElement(),k||"center"),d.hideOnBlur(()=>{this.dispatchExternal("popupClosed",r.getComponent())}),this.dispatchExternal("popupOpened",r.getComponent())}}UM.moduleName="popup";class HM extends qi{constructor(e){super(e),this.element=!1,this.manualBlock=!1,this.beforeprintEventHandler=null,this.afterprintEventHandler=null,this.registerTableOption("printAsHtml",!1),this.registerTableOption("printFormatter",!1),this.registerTableOption("printHeader",!1),this.registerTableOption("printFooter",!1),this.registerTableOption("printStyled",!0),this.registerTableOption("printRowRange","visible"),this.registerTableOption("printConfig",{}),this.registerColumnOption("print"),this.registerColumnOption("titlePrint")}initialize(){this.table.options.printAsHtml&&(this.beforeprintEventHandler=this.replaceTable.bind(this),this.afterprintEventHandler=this.cleanup.bind(this),window.addEventListener("beforeprint",this.beforeprintEventHandler),window.addEventListener("afterprint",this.afterprintEventHandler),this.subscribe("table-destroy",this.destroy.bind(this))),this.registerTableFunction("print",this.printFullscreen.bind(this))}destroy(){this.table.options.printAsHtml&&(window.removeEventListener("beforeprint",this.beforeprintEventHandler),window.removeEventListener("afterprint",this.afterprintEventHandler))}replaceTable(){this.manualBlock||(this.element=document.createElement("div"),this.element.classList.add("tabulator-print-table"),this.element.appendChild(this.table.modules.export.generateTable(this.table.options.printConfig,this.table.options.printStyled,this.table.options.printRowRange,"print")),this.table.element.style.display="none",this.table.element.parentNode.insertBefore(this.element,this.table.element))}cleanup(){document.body.classList.remove("tabulator-print-fullscreen-hide"),this.element&&this.element.parentNode&&(this.element.parentNode.removeChild(this.element),this.table.element.style.display="")}printFullscreen(e,r,C){var D=window.scrollX,k=window.scrollY,m=document.createElement("div"),t=document.createElement("div"),d=this.table.modules.export.generateTable(typeof C<"u"?C:this.table.options.printConfig,typeof r<"u"?r:this.table.options.printStyled,e||this.table.options.printRowRange,"print"),y,i;this.manualBlock=!0,this.element=document.createElement("div"),this.element.classList.add("tabulator-print-fullscreen"),this.table.options.printHeader&&(m.classList.add("tabulator-print-header"),y=typeof this.table.options.printHeader=="function"?this.table.options.printHeader.call(this.table):this.table.options.printHeader,typeof y=="string"?m.innerHTML=y:m.appendChild(y),this.element.appendChild(m)),this.element.appendChild(d),this.table.options.printFooter&&(t.classList.add("tabulator-print-footer"),i=typeof this.table.options.printFooter=="function"?this.table.options.printFooter.call(this.table):this.table.options.printFooter,typeof i=="string"?t.innerHTML=i:t.appendChild(i),this.element.appendChild(t)),document.body.classList.add("tabulator-print-fullscreen-hide"),document.body.appendChild(this.element),this.table.options.printFormatter&&this.table.options.printFormatter(this.element,d),window.print(),this.cleanup(),window.scrollTo(D,k),this.manualBlock=!1}}HM.moduleName="print";class GM extends qi{constructor(e){super(e),this.data=!1,this.blocked=!1,this.origFuncs={},this.currentVersion=0,this.registerTableOption("reactiveData",!1)}initialize(){this.table.options.reactiveData&&(this.subscribe("cell-value-save-before",this.block.bind(this,"cellsave")),this.subscribe("cell-value-save-after",this.unblock.bind(this,"cellsave")),this.subscribe("row-data-save-before",this.block.bind(this,"rowsave")),this.subscribe("row-data-save-after",this.unblock.bind(this,"rowsave")),this.subscribe("row-data-init-after",this.watchRow.bind(this)),this.subscribe("data-processing",this.watchData.bind(this)),this.subscribe("table-destroy",this.unwatchData.bind(this)))}watchData(e){var r=this,C;this.currentVersion++,C=this.currentVersion,this.unwatchData(),this.data=e,this.origFuncs.push=e.push,Object.defineProperty(this.data,"push",{enumerable:!1,configurable:!0,value:function(){var D=Array.from(arguments),k;return!r.blocked&&C===r.currentVersion&&(r.block("data-push"),D.forEach(m=>{r.table.rowManager.addRowActual(m,!1)}),k=r.origFuncs.push.apply(e,arguments),r.unblock("data-push")),k}}),this.origFuncs.unshift=e.unshift,Object.defineProperty(this.data,"unshift",{enumerable:!1,configurable:!0,value:function(){var D=Array.from(arguments),k;return!r.blocked&&C===r.currentVersion&&(r.block("data-unshift"),D.forEach(m=>{r.table.rowManager.addRowActual(m,!0)}),k=r.origFuncs.unshift.apply(e,arguments),r.unblock("data-unshift")),k}}),this.origFuncs.shift=e.shift,Object.defineProperty(this.data,"shift",{enumerable:!1,configurable:!0,value:function(){var D,k;return!r.blocked&&C===r.currentVersion&&(r.block("data-shift"),r.data.length&&(D=r.table.rowManager.getRowFromDataObject(r.data[0]),D&&D.deleteActual()),k=r.origFuncs.shift.call(e),r.unblock("data-shift")),k}}),this.origFuncs.pop=e.pop,Object.defineProperty(this.data,"pop",{enumerable:!1,configurable:!0,value:function(){var D,k;return!r.blocked&&C===r.currentVersion&&(r.block("data-pop"),r.data.length&&(D=r.table.rowManager.getRowFromDataObject(r.data[r.data.length-1]),D&&D.deleteActual()),k=r.origFuncs.pop.call(e),r.unblock("data-pop")),k}}),this.origFuncs.splice=e.splice,Object.defineProperty(this.data,"splice",{enumerable:!1,configurable:!0,value:function(){var D=Array.from(arguments),k=D[0]<0?e.length+D[0]:D[0],m=D[1],t=D[2]?D.slice(2):!1,d,y;if(!r.blocked&&C===r.currentVersion){if(r.block("data-splice"),t&&(d=e[k]?r.table.rowManager.getRowFromDataObject(e[k]):!1,d?t.forEach(M=>{r.table.rowManager.addRowActual(M,!0,d,!0)}):(t=t.slice().reverse(),t.forEach(M=>{r.table.rowManager.addRowActual(M,!0,!1,!0)}))),m!==0){var i=e.slice(k,typeof D[1]>"u"?D[1]:k+m);i.forEach((M,v)=>{var h=r.table.rowManager.getRowFromDataObject(M);h&&h.deleteActual(v!==i.length-1)})}(t||m!==0)&&r.table.rowManager.reRenderInPosition(),y=r.origFuncs.splice.apply(e,arguments),r.unblock("data-splice")}return y}})}unwatchData(){if(this.data!==!1)for(var e in this.origFuncs)Object.defineProperty(this.data,e,{enumerable:!0,configurable:!0,writable:!0,value:this.origFuncs.key})}watchRow(e){var r=e.getData();for(var C in r)this.watchKey(e,r,C);this.table.options.dataTree&&this.watchTreeChildren(e)}watchTreeChildren(e){var r=this,C=e.getData()[this.table.options.dataTreeChildField],D={};C&&(D.push=C.push,Object.defineProperty(C,"push",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-push");var k=D.push.apply(C,arguments);this.rebuildTree(e),r.unblock("tree-push")}return k}}),D.unshift=C.unshift,Object.defineProperty(C,"unshift",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-unshift");var k=D.unshift.apply(C,arguments);this.rebuildTree(e),r.unblock("tree-unshift")}return k}}),D.shift=C.shift,Object.defineProperty(C,"shift",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-shift");var k=D.shift.call(C);this.rebuildTree(e),r.unblock("tree-shift")}return k}}),D.pop=C.pop,Object.defineProperty(C,"pop",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-pop");var k=D.pop.call(C);this.rebuildTree(e),r.unblock("tree-pop")}return k}}),D.splice=C.splice,Object.defineProperty(C,"splice",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-splice");var k=D.splice.apply(C,arguments);this.rebuildTree(e),r.unblock("tree-splice")}return k}}))}rebuildTree(e){this.table.modules.dataTree.initializeRow(e),this.table.modules.dataTree.layoutRow(e),this.table.rowManager.refreshActiveData("tree",!1,!0)}watchKey(e,r,C){var D=this,k=Object.getOwnPropertyDescriptor(r,C),m=r[C],t=this.currentVersion;Object.defineProperty(r,C,{set:d=>{if(m=d,!D.blocked&&t===D.currentVersion){D.block("key");var y={};y[C]=d,e.updateData(y),D.unblock("key")}k.set&&k.set(d)},get:()=>(k.get&&k.get(),m)})}unwatchRow(e){var r=e.getData();for(var C in r)Object.defineProperty(r,C,{value:r[C]})}block(e){this.blocked||(this.blocked=e)}unblock(e){this.blocked===e&&(this.blocked=!1)}}GM.moduleName="reactiveData";class qM extends qi{constructor(e){super(e),this.startColumn=!1,this.startX=!1,this.startWidth=!1,this.latestX=!1,this.handle=null,this.initialNextColumn=null,this.nextColumn=null,this.initialized=!1,this.registerColumnOption("resizable",!0),this.registerTableOption("resizableColumnFit",!1)}initialize(){this.subscribe("column-rendered",this.layoutColumnHeader.bind(this))}initializeEventWatchers(){this.initialized||(this.subscribe("cell-rendered",this.layoutCellHandles.bind(this)),this.subscribe("cell-delete",this.deInitializeComponent.bind(this)),this.subscribe("cell-height",this.resizeHandle.bind(this)),this.subscribe("column-moved",this.columnLayoutUpdated.bind(this)),this.subscribe("column-hide",this.deInitializeColumn.bind(this)),this.subscribe("column-show",this.columnLayoutUpdated.bind(this)),this.subscribe("column-width",this.columnWidthUpdated.bind(this)),this.subscribe("column-delete",this.deInitializeComponent.bind(this)),this.subscribe("column-height",this.resizeHandle.bind(this)),this.initialized=!0)}layoutCellHandles(e){e.row.type==="row"&&(this.deInitializeComponent(e),this.initializeColumn("cell",e,e.column,e.element))}layoutColumnHeader(e){e.definition.resizable&&(this.initializeEventWatchers(),this.deInitializeComponent(e),this.initializeColumn("header",e,e,e.element))}columnLayoutUpdated(e){var r=e.prevColumn();this.reinitializeColumn(e),r&&this.reinitializeColumn(r)}columnWidthUpdated(e){e.modules.frozen&&(this.table.modules.frozenColumns.leftColumns.includes(e)?this.table.modules.frozenColumns.leftColumns.forEach(r=>{this.reinitializeColumn(r)}):this.table.modules.frozenColumns.rightColumns.includes(e)&&this.table.modules.frozenColumns.rightColumns.forEach(r=>{this.reinitializeColumn(r)}))}frozenColumnOffset(e){var r=!1;return e.modules.frozen&&(r=e.modules.frozen.marginValue,e.modules.frozen.position==="left"?r+=e.getWidth()-3:r&&(r-=3)),r!==!1?r+"px":!1}reinitializeColumn(e){var r=this.frozenColumnOffset(e);e.cells.forEach(C=>{C.modules.resize&&C.modules.resize.handleEl&&(r&&(C.modules.resize.handleEl.style[e.modules.frozen.position]=r,C.modules.resize.handleEl.style["z-index"]=11),C.element.after(C.modules.resize.handleEl))}),e.modules.resize&&e.modules.resize.handleEl&&(r&&(e.modules.resize.handleEl.style[e.modules.frozen.position]=r),e.element.after(e.modules.resize.handleEl))}initializeColumn(e,r,C,D){var k=this,m=!1,t=C.definition.resizable,d={},y=C.getLastColumn();if(e==="header"&&(m=C.definition.formatter=="textarea"||C.definition.variableHeight,d={variableHeight:m}),(t===!0||t==e)&&this._checkResizability(y)){var i=document.createElement("span");i.className="tabulator-col-resize-handle",i.addEventListener("click",function(v){v.stopPropagation()});var M=function(v){k.startColumn=C,k.initialNextColumn=k.nextColumn=y.nextColumn(),k._mouseDown(v,y,i)};i.addEventListener("mousedown",M),i.addEventListener("touchstart",M,{passive:!0}),i.addEventListener("dblclick",v=>{var h=y.getWidth();v.stopPropagation(),y.reinitializeWidth(!0),h!==y.getWidth()&&(k.dispatch("column-resized",y),k.table.externalEvents.dispatch("columnResized",y.getComponent()))}),C.modules.frozen&&(i.style.position="sticky",i.style[C.modules.frozen.position]=this.frozenColumnOffset(C)),d.handleEl=i,D.parentNode&&C.visible&&D.after(i)}r.modules.resize=d}deInitializeColumn(e){this.deInitializeComponent(e),e.cells.forEach(r=>{this.deInitializeComponent(r)})}deInitializeComponent(e){var r;e.modules.resize&&(r=e.modules.resize.handleEl,r&&r.parentElement&&r.parentElement.removeChild(r))}resizeHandle(e,r){e.modules.resize&&e.modules.resize.handleEl&&(e.modules.resize.handleEl.style.height=r)}_checkResizability(e){return e.definition.resizable}_mouseDown(e,r,C){var D=this;D.table.element.classList.add("tabulator-block-select");function k(t){var d=typeof t.screenX>"u"?t.touches[0].screenX:t.screenX,y=d-D.startX,i=d-D.latestX,M,v;if(D.latestX=d,D.table.rtl&&(y=-y,i=-i),M=r.width==r.minWidth||r.width==r.maxWidth,r.setWidth(D.startWidth+y),v=r.width==r.minWidth||r.width==r.maxWidth,i<0&&(D.nextColumn=D.initialNextColumn),D.table.options.resizableColumnFit&&D.nextColumn&&!(M&&v)){let h=D.nextColumn.getWidth();i>0&&h<=D.nextColumn.minWidth&&(D.nextColumn=D.nextColumn.nextColumn()),D.nextColumn&&D.nextColumn.setWidth(D.nextColumn.getWidth()-i)}D.table.columnManager.rerenderColumns(!0),!D.table.browserSlow&&r.modules.resize&&r.modules.resize.variableHeight&&r.checkCellHeights()}function m(t){D.startColumn.modules.edit&&(D.startColumn.modules.edit.blocked=!1),D.table.browserSlow&&r.modules.resize&&r.modules.resize.variableHeight&&r.checkCellHeights(),document.body.removeEventListener("mouseup",m),document.body.removeEventListener("mousemove",k),C.removeEventListener("touchmove",k),C.removeEventListener("touchend",m),D.table.element.classList.remove("tabulator-block-select"),D.startWidth!==r.getWidth()&&(D.table.columnManager.verticalAlignHeaders(),D.dispatch("column-resized",r),D.table.externalEvents.dispatch("columnResized",r.getComponent()))}e.stopPropagation(),D.startColumn.modules.edit&&(D.startColumn.modules.edit.blocked=!0),D.startX=typeof e.screenX>"u"?e.touches[0].screenX:e.screenX,D.latestX=D.startX,D.startWidth=r.getWidth(),document.body.addEventListener("mousemove",k),document.body.addEventListener("mouseup",m),C.addEventListener("touchmove",k,{passive:!0}),C.addEventListener("touchend",m)}}qM.moduleName="resizeColumns";class WM extends qi{constructor(e){super(e),this.startColumn=!1,this.startY=!1,this.startHeight=!1,this.handle=null,this.prevHandle=null,this.registerTableOption("resizableRows",!1)}initialize(){this.table.options.resizableRows&&this.subscribe("row-layout-after",this.initializeRow.bind(this))}initializeRow(e){var r=this,C=e.getElement(),D=document.createElement("div");D.className="tabulator-row-resize-handle";var k=document.createElement("div");k.className="tabulator-row-resize-handle prev",D.addEventListener("click",function(d){d.stopPropagation()});var m=function(d){r.startRow=e,r._mouseDown(d,e,D)};D.addEventListener("mousedown",m),D.addEventListener("touchstart",m,{passive:!0}),k.addEventListener("click",function(d){d.stopPropagation()});var t=function(d){var y=r.table.rowManager.prevDisplayRow(e);y&&(r.startRow=y,r._mouseDown(d,y,k))};k.addEventListener("mousedown",t),k.addEventListener("touchstart",t,{passive:!0}),C.appendChild(D),C.appendChild(k)}_mouseDown(e,r,C){var D=this;D.table.element.classList.add("tabulator-block-select");function k(t){r.setHeight(D.startHeight+((typeof t.screenY>"u"?t.touches[0].screenY:t.screenY)-D.startY))}function m(t){document.body.removeEventListener("mouseup",k),document.body.removeEventListener("mousemove",k),C.removeEventListener("touchmove",k),C.removeEventListener("touchend",m),D.table.element.classList.remove("tabulator-block-select"),D.dispatchExternal("rowResized",r.getComponent())}e.stopPropagation(),D.startY=typeof e.screenY>"u"?e.touches[0].screenY:e.screenY,D.startHeight=r.getHeight(),document.body.addEventListener("mousemove",k),document.body.addEventListener("mouseup",m),C.addEventListener("touchmove",k,{passive:!0}),C.addEventListener("touchend",m)}}WM.moduleName="resizeRows";class $M extends qi{constructor(e){super(e),this.binding=!1,this.visibilityObserver=!1,this.resizeObserver=!1,this.containerObserver=!1,this.tableHeight=0,this.tableWidth=0,this.containerHeight=0,this.containerWidth=0,this.autoResize=!1,this.visible=!1,this.initialized=!1,this.initialRedraw=!1,this.registerTableOption("autoResize",!0)}initialize(){if(this.table.options.autoResize){var e=this.table,r;this.tableHeight=e.element.clientHeight,this.tableWidth=e.element.clientWidth,e.element.parentNode&&(this.containerHeight=e.element.parentNode.clientHeight,this.containerWidth=e.element.parentNode.clientWidth),typeof IntersectionObserver<"u"&&typeof ResizeObserver<"u"&&e.rowManager.getRenderMode()==="virtual"?(this.initializeVisibilityObserver(),this.autoResize=!0,this.resizeObserver=new ResizeObserver(C=>{if(!e.browserMobile||e.browserMobile&&(!e.modules.edit||e.modules.edit&&!e.modules.edit.currentCell)){var D=Math.floor(C[0].contentRect.height),k=Math.floor(C[0].contentRect.width);(this.tableHeight!=D||this.tableWidth!=k)&&(this.tableHeight=D,this.tableWidth=k,e.element.parentNode&&(this.containerHeight=e.element.parentNode.clientHeight,this.containerWidth=e.element.parentNode.clientWidth),this.redrawTable())}}),this.resizeObserver.observe(e.element),r=window.getComputedStyle(e.element),this.table.element.parentNode&&!this.table.rowManager.fixedHeight&&(r.getPropertyValue("max-height")||r.getPropertyValue("min-height"))&&(this.containerObserver=new ResizeObserver(C=>{if(!e.browserMobile||e.browserMobile&&(!e.modules.edit||e.modules.edit&&!e.modules.edit.currentCell)){var D=Math.floor(C[0].contentRect.height),k=Math.floor(C[0].contentRect.width);(this.containerHeight!=D||this.containerWidth!=k)&&(this.containerHeight=D,this.containerWidth=k,this.tableHeight=e.element.clientHeight,this.tableWidth=e.element.clientWidth),this.redrawTable()}}),this.containerObserver.observe(this.table.element.parentNode)),this.subscribe("table-resize",this.tableResized.bind(this))):(this.binding=function(){(!e.browserMobile||e.browserMobile&&(!e.modules.edit||e.modules.edit&&!e.modules.edit.currentCell))&&(e.columnManager.rerenderColumns(!0),e.redraw())},window.addEventListener("resize",this.binding)),this.subscribe("table-destroy",this.clearBindings.bind(this))}}initializeVisibilityObserver(){this.visibilityObserver=new IntersectionObserver(e=>{this.visible=e[0].isIntersecting,this.initialized?this.visible&&(this.redrawTable(this.initialRedraw),this.initialRedraw=!1):(this.initialized=!0,this.initialRedraw=!this.visible)}),this.visibilityObserver.observe(this.table.element)}redrawTable(e){this.initialized&&this.visible&&(this.table.columnManager.rerenderColumns(!0),this.table.redraw(e))}tableResized(){this.table.rowManager.redraw()}clearBindings(){this.binding&&window.removeEventListener("resize",this.binding),this.resizeObserver&&this.resizeObserver.unobserve(this.table.element),this.visibilityObserver&&this.visibilityObserver.unobserve(this.table.element),this.containerObserver&&this.containerObserver.unobserve(this.table.element.parentNode)}}$M.moduleName="resizeTable";class YM extends qi{constructor(e){super(e),this.columns=[],this.hiddenColumns=[],this.mode="",this.index=0,this.collapseFormatter=[],this.collapseStartOpen=!0,this.collapseHandleColumn=!1,this.registerTableOption("responsiveLayout",!1),this.registerTableOption("responsiveLayoutCollapseStartOpen",!0),this.registerTableOption("responsiveLayoutCollapseUseFormatters",!0),this.registerTableOption("responsiveLayoutCollapseFormatter",!1),this.registerColumnOption("responsive")}initialize(){this.table.options.responsiveLayout&&(this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("column-show",this.updateColumnVisibility.bind(this)),this.subscribe("column-hide",this.updateColumnVisibility.bind(this)),this.subscribe("columns-loaded",this.initializeResponsivity.bind(this)),this.subscribe("column-moved",this.initializeResponsivity.bind(this)),this.subscribe("column-add",this.initializeResponsivity.bind(this)),this.subscribe("column-delete",this.initializeResponsivity.bind(this)),this.subscribe("table-redrawing",this.tableRedraw.bind(this)),this.table.options.responsiveLayout==="collapse"&&(this.subscribe("row-data-changed",this.generateCollapsedRowContent.bind(this)),this.subscribe("row-init",this.initializeRow.bind(this)),this.subscribe("row-layout",this.layoutRow.bind(this))))}tableRedraw(e){["fitColumns","fitDataStretch"].indexOf(this.layoutMode())===-1&&(e||this.update())}initializeResponsivity(){var e=[];this.mode=this.table.options.responsiveLayout,this.collapseFormatter=this.table.options.responsiveLayoutCollapseFormatter||this.formatCollapsedData,this.collapseStartOpen=this.table.options.responsiveLayoutCollapseStartOpen,this.hiddenColumns=[],this.table.columnManager.columnsByIndex.forEach((r,C)=>{r.modules.responsive&&r.modules.responsive.order&&r.modules.responsive.visible&&(r.modules.responsive.index=C,e.push(r),!r.visible&&this.mode==="collapse"&&this.hiddenColumns.push(r))}),e=e.reverse(),e=e.sort((r,C)=>{var D=C.modules.responsive.order-r.modules.responsive.order;return D||C.modules.responsive.index-r.modules.responsive.index}),this.columns=e,this.mode==="collapse"&&this.generateCollapsedContent();for(let r of this.table.columnManager.columnsByIndex)if(r.definition.formatter=="responsiveCollapse"){this.collapseHandleColumn=r;break}this.collapseHandleColumn&&(this.hiddenColumns.length?this.collapseHandleColumn.show():this.collapseHandleColumn.hide())}initializeColumn(e){var r=e.getDefinition();e.modules.responsive={order:typeof r.responsive>"u"?1:r.responsive,visible:r.visible!==!1}}initializeRow(e){var r;e.type!=="calc"&&(r=document.createElement("div"),r.classList.add("tabulator-responsive-collapse"),e.modules.responsiveLayout={element:r,open:this.collapseStartOpen},this.collapseStartOpen||(r.style.display="none"))}layoutRow(e){var r=e.getElement();e.modules.responsiveLayout&&(r.appendChild(e.modules.responsiveLayout.element),this.generateCollapsedRowContent(e))}updateColumnVisibility(e,r){!r&&e.modules.responsive&&(e.modules.responsive.visible=e.visible,this.initializeResponsivity())}hideColumn(e){var r=this.hiddenColumns.length;e.hide(!1,!0),this.mode==="collapse"&&(this.hiddenColumns.unshift(e),this.generateCollapsedContent(),this.collapseHandleColumn&&!r&&this.collapseHandleColumn.show())}showColumn(e){var r;e.show(!1,!0),e.setWidth(e.getWidth()),this.mode==="collapse"&&(r=this.hiddenColumns.indexOf(e),r>-1&&this.hiddenColumns.splice(r,1),this.generateCollapsedContent(),this.collapseHandleColumn&&!this.hiddenColumns.length&&this.collapseHandleColumn.hide())}update(){for(var e=!0;e;){let r=this.table.modules.layout.getMode()=="fitColumns"?this.table.columnManager.getFlexBaseWidth():this.table.columnManager.getWidth(),C=(this.table.options.headerVisible?this.table.columnManager.element.clientWidth:this.table.element.clientWidth)-r;if(C<0){let D=this.columns[this.index];D?(this.hideColumn(D),this.index++):e=!1}else{let D=this.columns[this.index-1];D&&C>0&&C>=D.getWidth()?(this.showColumn(D),this.index--):e=!1}this.table.rowManager.activeRowsCount||this.table.rowManager.renderEmptyScroll()}}generateCollapsedContent(){var e=this.table.rowManager.getDisplayRows();e.forEach(r=>{this.generateCollapsedRowContent(r)})}generateCollapsedRowContent(e){var r,C;if(e.modules.responsiveLayout){for(r=e.modules.responsiveLayout.element;r.firstChild;)r.removeChild(r.firstChild);C=this.collapseFormatter(this.generateCollapsedRowData(e)),C&&r.appendChild(C)}}generateCollapsedRowData(e){var r=e.getData(),C=[],D;return this.hiddenColumns.forEach(k=>{var m=k.getFieldValue(r);if(k.definition.title&&k.field)if(k.modules.format&&this.table.options.responsiveLayoutCollapseUseFormatters){let d=function(y){y()};var t=d;D={value:!1,data:{},getValue:function(){return m},getData:function(){return r},getType:function(){return"cell"},getElement:function(){return document.createElement("div")},getRow:function(){return e.getComponent()},getColumn:function(){return k.getComponent()},getTable:()=>this.table},C.push({field:k.field,title:k.definition.title,value:k.modules.format.formatter.call(this.table.modules.format,D,k.modules.format.params,d)})}else C.push({field:k.field,title:k.definition.title,value:m})}),C}formatCollapsedData(e){var r=document.createElement("table");return e.forEach(function(C){var D=document.createElement("tr"),k=document.createElement("td"),m=document.createElement("td"),t,d=document.createElement("strong");k.appendChild(d),this.langBind("columns|"+C.field,function(y){d.innerHTML=y||C.title}),C.value instanceof Node?(t=document.createElement("div"),t.appendChild(C.value),m.appendChild(t)):m.innerHTML=C.value,D.appendChild(k),D.appendChild(m),r.appendChild(D)},this),Object.keys(e).length?r:""}}YM.moduleName="responsiveLayout";class ZM extends qi{constructor(e){super(e),this.selecting=!1,this.lastClickedRow=!1,this.selectPrev=[],this.selectedRows=[],this.headerCheckboxElement=null,this.registerTableOption("selectableRows","highlight"),this.registerTableOption("selectableRowsRangeMode","drag"),this.registerTableOption("selectableRowsRollingSelection",!0),this.registerTableOption("selectableRowsPersistence",!0),this.registerTableOption("selectableRowsCheck",function(r,C){return!0}),this.registerTableFunction("selectRow",this.selectRows.bind(this)),this.registerTableFunction("deselectRow",this.deselectRows.bind(this)),this.registerTableFunction("toggleSelectRow",this.toggleRow.bind(this)),this.registerTableFunction("getSelectedRows",this.getSelectedRows.bind(this)),this.registerTableFunction("getSelectedData",this.getSelectedData.bind(this)),this.registerComponentFunction("row","select",this.selectRows.bind(this)),this.registerComponentFunction("row","deselect",this.deselectRows.bind(this)),this.registerComponentFunction("row","toggleSelect",this.toggleRow.bind(this)),this.registerComponentFunction("row","isSelected",this.isRowSelected.bind(this))}initialize(){this.deprecatedOptionsCheck(),this.table.options.selectableRows==="highlight"&&this.table.options.selectableRange&&(this.table.options.selectableRows=!1),this.table.options.selectableRows!==!1&&(this.subscribe("row-init",this.initializeRow.bind(this)),this.subscribe("row-deleting",this.rowDeleted.bind(this)),this.subscribe("rows-wipe",this.clearSelectionData.bind(this)),this.subscribe("rows-retrieve",this.rowRetrieve.bind(this)),this.table.options.selectableRows&&!this.table.options.selectableRowsPersistence&&this.subscribe("data-refreshing",this.deselectRows.bind(this)))}deprecatedOptionsCheck(){this.deprecationCheck("selectable","selectableRows",!0),this.deprecationCheck("selectableRollingSelection","selectableRowsRollingSelection",!0),this.deprecationCheck("selectableRangeMode","selectableRowsRangeMode",!0),this.deprecationCheck("selectablePersistence","selectableRowsPersistence",!0),this.deprecationCheck("selectableCheck","selectableRowsCheck",!0)}rowRetrieve(e,r){return e==="selected"?this.selectedRows:r}rowDeleted(e){this._deselectRow(e,!0)}clearSelectionData(e){var r=this.selectedRows.length;this.selecting=!1,this.lastClickedRow=!1,this.selectPrev=[],this.selectedRows=[],r&&e!==!0&&this._rowSelectionChanged()}initializeRow(e){var r=this,C=r.checkRowSelectability(e),D=e.getElement(),k=function(){setTimeout(function(){r.selecting=!1},50),document.body.removeEventListener("mouseup",k)};e.modules.select={selected:!1},D.classList.toggle("tabulator-selectable",C),D.classList.toggle("tabulator-unselectable",!C),r.checkRowSelectability(e)&&r.table.options.selectableRows&&r.table.options.selectableRows!="highlight"&&(r.table.options.selectableRowsRangeMode==="click"?D.addEventListener("click",this.handleComplexRowClick.bind(this,e)):(D.addEventListener("click",function(m){(!r.table.modExists("edit")||!r.table.modules.edit.getCurrentCell())&&r.table._clearSelection(),r.selecting||r.toggleRow(e)}),D.addEventListener("mousedown",function(m){if(m.shiftKey)return r.table._clearSelection(),r.selecting=!0,r.selectPrev=[],document.body.addEventListener("mouseup",k),document.body.addEventListener("keyup",k),r.toggleRow(e),!1}),D.addEventListener("mouseenter",function(m){r.selecting&&(r.table._clearSelection(),r.toggleRow(e),r.selectPrev[1]==e&&r.toggleRow(r.selectPrev[0]))}),D.addEventListener("mouseout",function(m){r.selecting&&(r.table._clearSelection(),r.selectPrev.unshift(e))})))}handleComplexRowClick(e,r){if(r.shiftKey){this.table._clearSelection(),this.lastClickedRow=this.lastClickedRow||e;var C=this.table.rowManager.getDisplayRowIndex(this.lastClickedRow),D=this.table.rowManager.getDisplayRowIndex(e),k=C<=D?C:D,m=C>=D?C:D,t=this.table.rowManager.getDisplayRows().slice(0),d=t.splice(k,m-k+1);r.ctrlKey||r.metaKey?(d.forEach(y=>{y!==this.lastClickedRow&&(this.table.options.selectableRows!==!0&&!this.isRowSelected(e)?this.selectedRows.lengththis.table.options.selectableRows&&(d=d.slice(0,this.table.options.selectableRows)),this.selectRows(d)),this.table._clearSelection()}else r.ctrlKey||r.metaKey?(this.toggleRow(e),this.lastClickedRow=e):(this.deselectRows(void 0,!0),this.selectRows(e),this.lastClickedRow=e)}checkRowSelectability(e){return e&&e.type==="row"?this.table.options.selectableRowsCheck.call(this.table,e.getComponent()):!1}toggleRow(e){this.checkRowSelectability(e)&&(e.modules.select&&e.modules.select.selected?this._deselectRow(e):this._selectRow(e))}selectRows(e){var r=[],C,D;switch(typeof e){case"undefined":C=this.table.rowManager.rows;break;case"number":C=this.table.rowManager.findRow(e);break;case"string":C=this.table.rowManager.findRow(e),C||(C=this.table.rowManager.getRows(e));break;default:C=e;break}Array.isArray(C)?C.length&&(C.forEach(k=>{D=this._selectRow(k,!0,!0),D&&r.push(D)}),this._rowSelectionChanged(!1,r)):C&&this._selectRow(C,!1,!0)}_selectRow(e,r,C){if(!isNaN(this.table.options.selectableRows)&&this.table.options.selectableRows!==!0&&!C&&this.selectedRows.length>=this.table.options.selectableRows)if(this.table.options.selectableRowsRollingSelection)this._deselectRow(this.selectedRows[0]);else return!1;var D=this.table.rowManager.findRow(e);if(D){if(this.selectedRows.indexOf(D)==-1)return D.getElement().classList.add("tabulator-selected"),D.modules.select||(D.modules.select={}),D.modules.select.selected=!0,D.modules.select.checkboxEl&&(D.modules.select.checkboxEl.checked=!0),this.selectedRows.push(D),this.table.options.dataTreeSelectPropagate&&this.childRowSelection(D,!0),this.dispatchExternal("rowSelected",D.getComponent()),this._rowSelectionChanged(r,D),D}else r||console.warn("Selection Error - No such row found, ignoring selection:"+e)}isRowSelected(e){return this.selectedRows.indexOf(e)!==-1}deselectRows(e,r){var C=[],D,k;switch(typeof e){case"undefined":D=Object.assign([],this.selectedRows);break;case"number":D=this.table.rowManager.findRow(e);break;case"string":D=this.table.rowManager.findRow(e),D||(D=this.table.rowManager.getRows(e));break;default:D=e;break}Array.isArray(D)?D.length&&(D.forEach(m=>{k=this._deselectRow(m,!0,!0),k&&C.push(k)}),this._rowSelectionChanged(r,[],C)):D&&this._deselectRow(D,r,!0)}_deselectRow(e,r){var C=this,D=C.table.rowManager.findRow(e),k,m;if(D){if(k=C.selectedRows.findIndex(function(t){return t==D}),k>-1)return m=D.getElement(),m&&m.classList.remove("tabulator-selected"),D.modules.select||(D.modules.select={}),D.modules.select.selected=!1,D.modules.select.checkboxEl&&(D.modules.select.checkboxEl.checked=!1),C.selectedRows.splice(k,1),this.table.options.dataTreeSelectPropagate&&this.childRowSelection(D,!1),this.dispatchExternal("rowDeselected",D.getComponent()),C._rowSelectionChanged(r,void 0,D),D}else r||console.warn("Deselection Error - No such row found, ignoring selection:"+e)}getSelectedData(){var e=[];return this.selectedRows.forEach(function(r){e.push(r.getData())}),e}getSelectedRows(){var e=[];return this.selectedRows.forEach(function(r){e.push(r.getComponent())}),e}_rowSelectionChanged(e,r=[],C=[]){this.headerCheckboxElement&&(this.selectedRows.length===0?(this.headerCheckboxElement.checked=!1,this.headerCheckboxElement.indeterminate=!1):this.table.rowManager.rows.length===this.selectedRows.length?(this.headerCheckboxElement.checked=!0,this.headerCheckboxElement.indeterminate=!1):(this.headerCheckboxElement.indeterminate=!0,this.headerCheckboxElement.checked=!1)),e||(Array.isArray(r)||(r=[r]),r=r.map(D=>D.getComponent()),Array.isArray(C)||(C=[C]),C=C.map(D=>D.getComponent()),this.dispatchExternal("rowSelectionChanged",this.getSelectedData(),this.getSelectedRows(),r,C))}registerRowSelectCheckbox(e,r){e._row.modules.select||(e._row.modules.select={}),e._row.modules.select.checkboxEl=r}registerHeaderSelectCheckbox(e){this.headerCheckboxElement=e}childRowSelection(e,r){var C=this.table.modules.dataTree.getChildren(e,!0);if(r)for(let D of C)this._selectRow(D,!0);else for(let D of C)this._deselectRow(D,!0)}}ZM.moduleName="selectRow";function _P(n,e,r,C,D,k,m){var t=m.alignEmptyValues,d=m.decimalSeparator,y=m.thousandSeparator,i=0;if(n=String(n),e=String(e),y&&(n=n.split(y).join(""),e=e.split(y).join("")),d&&(n=n.split(d).join("."),e=e.split(d).join(".")),n=parseFloat(n),e=parseFloat(e),isNaN(n))i=isNaN(e)?0:-1;else if(isNaN(e))i=1;else return n-e;return(t==="top"&&k==="desc"||t==="bottom"&&k==="asc")&&(i*=-1),i}function wP(n,e,r,C,D,k,m){var t=m.alignEmptyValues,d=0,y;if(!n)d=e?-1:0;else if(!e)d=1;else{switch(typeof m.locale){case"boolean":m.locale&&(y=this.langLocale());break;case"string":y=m.locale;break}return String(n).toLowerCase().localeCompare(String(e).toLowerCase(),y)}return(t==="top"&&k==="desc"||t==="bottom"&&k==="asc")&&(d*=-1),d}function q2(n,e,r,C,D,k,m){var t=window.DateTime||luxon.DateTime,d=m.format||"dd/MM/yyyy HH:mm:ss",y=m.alignEmptyValues,i=0;if(typeof t<"u"){if(t.isDateTime(n)||(d==="iso"?n=t.fromISO(String(n)):n=t.fromFormat(String(n),d)),t.isDateTime(e)||(d==="iso"?e=t.fromISO(String(e)):e=t.fromFormat(String(e),d)),!n.isValid)i=e.isValid?-1:0;else if(!e.isValid)i=1;else return n-e;return(y==="top"&&k==="desc"||y==="bottom"&&k==="asc")&&(i*=-1),i}else console.error("Sort Error - 'datetime' sorter is dependant on luxon.js")}function TP(n,e,r,C,D,k,m){return m.format||(m.format="dd/MM/yyyy"),q2.call(this,n,e,r,C,D,k,m)}function kP(n,e,r,C,D,k,m){return m.format||(m.format="HH:mm"),q2.call(this,n,e,r,C,D,k,m)}function MP(n,e,r,C,D,k,m){var t=n===!0||n==="true"||n==="True"||n===1?1:0,d=e===!0||e==="true"||e==="True"||e===1?1:0;return t-d}function AP(n,e,r,C,D,k,m){var t=m.type||"length",d=m.alignEmptyValues,y=0;function i(M){var v;switch(t){case"length":v=M.length;break;case"sum":v=M.reduce(function(h,l){return h+l});break;case"max":v=Math.max.apply(null,M);break;case"min":v=Math.min.apply(null,M);break;case"avg":v=M.reduce(function(h,l){return h+l})/M.length;break}return v}if(!Array.isArray(n))y=Array.isArray(e)?-1:0;else if(!Array.isArray(e))y=1;else return i(e)-i(n);return(d==="top"&&k==="desc"||d==="bottom"&&k==="asc")&&(y*=-1),y}function SP(n,e,r,C,D,k,m){var t=typeof n>"u"?0:1,d=typeof e>"u"?0:1;return t-d}function CP(n,e,r,C,D,k,m){var t,d,y,i,M=0,v,h=/(\d+)|(\D+)/g,l=/\d/,a=m.alignEmptyValues,u=0;if(!n&&n!==0)u=!e&&e!==0?0:-1;else if(!e&&e!==0)u=1;else{if(isFinite(n)&&isFinite(e))return n-e;if(t=String(n).toLowerCase(),d=String(e).toLowerCase(),t===d)return 0;if(!(l.test(t)&&l.test(d)))return t>d?1:-1;for(t=t.match(h),d=d.match(h),v=t.length>d.length?d.length:t.length;Mi?1:-1;return t.length>d.length}return(a==="top"&&k==="desc"||a==="bottom"&&k==="asc")&&(u*=-1),u}var EP={number:_P,string:wP,date:TP,time:kP,datetime:q2,boolean:MP,array:AP,exists:SP,alphanum:CP};class jd extends qi{constructor(e){super(e),this.sortList=[],this.changed=!1,this.registerTableOption("sortMode","local"),this.registerTableOption("initialSort",!1),this.registerTableOption("columnHeaderSortMulti",!0),this.registerTableOption("sortOrderReverse",!1),this.registerTableOption("headerSortElement","
"),this.registerTableOption("headerSortClickElement","header"),this.registerColumnOption("sorter"),this.registerColumnOption("sorterParams"),this.registerColumnOption("headerSort",!0),this.registerColumnOption("headerSortStartingDir"),this.registerColumnOption("headerSortTristate")}initialize(){this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("table-built",this.tableBuilt.bind(this)),this.registerDataHandler(this.sort.bind(this),20),this.registerTableFunction("setSort",this.userSetSort.bind(this)),this.registerTableFunction("getSorters",this.getSort.bind(this)),this.registerTableFunction("clearSort",this.clearSort.bind(this)),this.table.options.sortMode==="remote"&&this.subscribe("data-params",this.remoteSortParams.bind(this))}tableBuilt(){this.table.options.initialSort&&this.setSort(this.table.options.initialSort)}remoteSortParams(e,r,C,D){var k=this.getSort();return k.forEach(m=>{delete m.column}),D.sort=k,D}userSetSort(e,r){this.setSort(e,r),this.refreshSort()}clearSort(){this.clear(),this.refreshSort()}initializeColumn(e){var r=!1,C,D;switch(typeof e.definition.sorter){case"string":jd.sorters[e.definition.sorter]?r=jd.sorters[e.definition.sorter]:console.warn("Sort Error - No such sorter found: ",e.definition.sorter);break;case"function":r=e.definition.sorter;break}if(e.modules.sort={sorter:r,dir:"none",params:e.definition.sorterParams||{},startingDir:e.definition.headerSortStartingDir||"asc",tristate:e.definition.headerSortTristate},e.definition.headerSort!==!1){switch(C=e.getElement(),C.classList.add("tabulator-sortable"),D=document.createElement("div"),D.classList.add("tabulator-col-sorter"),this.table.options.headerSortClickElement){case"icon":D.classList.add("tabulator-col-sorter-element");break;case"header":C.classList.add("tabulator-col-sorter-element");break;default:C.classList.add("tabulator-col-sorter-element");break}switch(this.table.options.headerSortElement){case"function":break;case"object":D.appendChild(this.table.options.headerSortElement);break;default:D.innerHTML=this.table.options.headerSortElement}e.titleHolderElement.appendChild(D),e.modules.sort.element=D,this.setColumnHeaderSortIcon(e,"none"),this.table.options.headerSortClickElement==="icon"&&D.addEventListener("mousedown",k=>{k.stopPropagation()}),(this.table.options.headerSortClickElement==="icon"?D:C).addEventListener("click",k=>{var m="",t=[],d=!1;if(e.modules.sort){if(e.modules.sort.tristate)e.modules.sort.dir=="none"?m=e.modules.sort.startingDir:e.modules.sort.dir==e.modules.sort.startingDir?m=e.modules.sort.dir=="asc"?"desc":"asc":m="none";else switch(e.modules.sort.dir){case"asc":m="desc";break;case"desc":m="asc";break;default:m=e.modules.sort.startingDir}this.table.options.columnHeaderSortMulti&&(k.shiftKey||k.ctrlKey)?(t=this.getSort(),d=t.findIndex(y=>y.field===e.getField()),d>-1?(t[d].dir=m,d=t.splice(d,1)[0],m!="none"&&t.push(d)):m!="none"&&t.push({column:e,dir:m}),this.setSort(t)):m=="none"?this.clear():this.setSort(e,m),this.refreshSort()}})}}refreshSort(){this.table.options.sortMode==="remote"?this.reloadData(null,!1,!1):this.refreshData(!0)}hasChanged(){var e=this.changed;return this.changed=!1,e}getSort(){var e=this,r=[];return e.sortList.forEach(function(C){C.column&&r.push({column:C.column.getComponent(),field:C.column.getField(),dir:C.dir})}),r}setSort(e,r){var C=this,D=[];Array.isArray(e)||(e=[{column:e,dir:r}]),e.forEach(function(k){var m;m=C.table.columnManager.findColumn(k.column),m?(k.column=m,D.push(k),C.changed=!0):console.warn("Sort Warning - Sort field does not exist and is being ignored: ",k.column)}),C.sortList=D,this.dispatch("sort-changed")}clear(){this.setSort([])}findSorter(e){var r=this.table.rowManager.activeRows[0],C="string",D,k;if(r&&(r=r.getData(),D=e.getField(),D))switch(k=e.getFieldValue(r),typeof k){case"undefined":C="string";break;case"boolean":C="boolean";break;default:!isNaN(k)&&k!==""?C="number":k.match(/((^[0-9]+[a-z]+)|(^[a-z]+[0-9]+))+$/i)&&(C="alphanum");break}return jd.sorters[C]}sort(e){var r=this,C=this.table.options.sortOrderReverse?r.sortList.slice().reverse():r.sortList,D=[],k=[];return this.subscribedExternal("dataSorting")&&this.dispatchExternal("dataSorting",r.getSort()),r.clearColumnHeaders(),this.table.options.sortMode!=="remote"?(C.forEach(function(m,t){var d;m.column&&(d=m.column.modules.sort,d&&(d.sorter||(d.sorter=r.findSorter(m.column)),m.params=typeof d.params=="function"?d.params(m.column.getComponent(),m.dir):d.params,D.push(m)),r.setColumnHeader(m.column,m.dir))}),D.length&&r._sortItems(e,D)):C.forEach(function(m,t){r.setColumnHeader(m.column,m.dir)}),this.subscribedExternal("dataSorted")&&(e.forEach(m=>{k.push(m.getComponent())}),this.dispatchExternal("dataSorted",r.getSort(),k)),e}clearColumnHeaders(){this.table.columnManager.getRealColumns().forEach(e=>{e.modules.sort&&(e.modules.sort.dir="none",e.getElement().setAttribute("aria-sort","none"),this.setColumnHeaderSortIcon(e,"none"))})}setColumnHeader(e,r){e.modules.sort.dir=r,e.getElement().setAttribute("aria-sort",r==="asc"?"ascending":"descending"),this.setColumnHeaderSortIcon(e,r)}setColumnHeaderSortIcon(e,r){var C=e.modules.sort.element,D;if(e.definition.headerSort&&typeof this.table.options.headerSortElement=="function"){for(;C.firstChild;)C.removeChild(C.firstChild);D=this.table.options.headerSortElement.call(this.table,e.getComponent(),r),typeof D=="object"?C.appendChild(D):C.innerHTML=D}}_sortItems(e,r){var C=r.length-1;e.sort((D,k)=>{for(var m,t=C;t>=0;t--){let d=r[t];if(m=this._sortRow(D,k,d.column,d.dir,d.params),m!==0)break}return m})}_sortRow(e,r,C,D,k){var m,t,d=D=="asc"?e:r,y=D=="asc"?r:e;return e=C.getFieldValue(d.getData()),r=C.getFieldValue(y.getData()),e=typeof e<"u"?e:"",r=typeof r<"u"?r:"",m=d.getComponent(),t=y.getComponent(),C.modules.sort.sorter.call(this,e,r,m,t,C.getComponent(),D,k)}}jd.moduleName="sort";jd.sorters=EP;class LP{constructor(e){return this._range=e,new Proxy(this,{get:function(r,C,D){return typeof r[C]<"u"?r[C]:r._range.table.componentFunctionBinder.handle("range",r._range,C)}})}getElement(){return this._range.element}getData(){return this._range.getData()}getCells(){return this._range.getCells(!0)}getStructuredCells(){return this._range.getStructuredCells()}getRows(){return this._range.getRows().map(e=>e.getComponent())}getColumns(){return this._range.getColumns().map(e=>e.getComponent())}getBounds(){return this._range.getBounds()}getTopEdge(){return this._range.top}getBottomEdge(){return this._range.bottom}getLeftEdge(){return this._range.left}getRightEdge(){return this._range.right}setBounds(e,r){this._range.destroyedGuard("setBounds")&&this._range.setBounds(e&&e._cell,r&&r._cell)}setStartBound(e){this._range.destroyedGuard("setStartBound")&&(this._range.setEndBound(e&&e._cell),this._range.rangeManager.layoutElement())}setEndBound(e){this._range.destroyedGuard("setEndBound")&&(this._range.setEndBound(e&&e._cell),this._range.rangeManager.layoutElement())}clearValues(){this._range.destroyedGuard("clearValues")&&this._range.clearValues()}remove(){this._range.destroyedGuard("remove")&&this._range.destroy(!0)}}class IP extends Ml{constructor(e,r,C,D){super(e),this.rangeManager=r,this.element=null,this.initialized=!1,this.initializing={start:!1,end:!1},this.destroyed=!1,this.top=0,this.bottom=0,this.left=0,this.right=0,this.table=e,this.start={row:0,col:0},this.end={row:0,col:0},this.rangeManager.rowHeader&&(this.left=1,this.right=1,this.start.col=1,this.end.col=1),this.initElement(),setTimeout(()=>{this.initBounds(C,D)})}initElement(){this.element=document.createElement("div"),this.element.classList.add("tabulator-range")}initBounds(e,r){this._updateMinMax(),e&&this.setBounds(e,r||e)}setStart(e,r){(this.start.row!==e||this.start.col!==r)&&(this.start.row=e,this.start.col=r,this.initializing.start=!0,this._updateMinMax())}setEnd(e,r){(this.end.row!==e||this.end.col!==r)&&(this.end.row=e,this.end.col=r,this.initializing.end=!0,this._updateMinMax())}setBounds(e,r,C){e&&this.setStartBound(e),this.setEndBound(r||e),this.rangeManager.layoutElement(C)}setStartBound(e){var r,C;e.type==="column"?this.rangeManager.columnSelection&&this.setStart(0,e.getPosition()-1):(r=e.row.position-1,C=e.column.getPosition()-1,e.column===this.rangeManager.rowHeader?this.setStart(r,1):this.setStart(r,C))}setEndBound(e){var r=this._getTableRows().length,C,D,k;e.type==="column"?this.rangeManager.columnSelection&&(this.rangeManager.selecting==="column"?this.setEnd(r-1,e.getPosition()-1):this.rangeManager.selecting==="cell"&&this.setEnd(0,e.getPosition()-1)):(C=e.row.position-1,D=e.column.getPosition()-1,k=e.column===this.rangeManager.rowHeader,this.rangeManager.selecting==="row"?this.setEnd(C,this._getTableColumns().length-1):this.rangeManager.selecting!=="row"&&k?this.setEnd(C,0):this.rangeManager.selecting==="column"?this.setEnd(r-1,D):this.setEnd(C,D))}_updateMinMax(){this.top=Math.min(this.start.row,this.end.row),this.bottom=Math.max(this.start.row,this.end.row),this.left=Math.min(this.start.col,this.end.col),this.right=Math.max(this.start.col,this.end.col),this.initialized?this.dispatchExternal("rangeChanged",this.getComponent()):this.initializing.start&&this.initializing.end&&(this.initialized=!0,this.dispatchExternal("rangeAdded",this.getComponent()))}_getTableColumns(){return this.table.columnManager.getVisibleColumnsByIndex()}_getTableRows(){return this.table.rowManager.getDisplayRows()}layout(){var e=this.table.rowManager.renderer.vDomTop,r=this.table.rowManager.renderer.vDomBottom,C=this.table.columnManager.renderer.leftCol,D=this.table.columnManager.renderer.rightCol,k,m,t,d,y,i;e==null&&(e=0),r==null&&(r=1/0),C==null&&(C=0),D==null&&(D=1/0),this.overlaps(C,e,D,r)&&(k=Math.max(this.top,e),m=Math.min(this.bottom,r),t=Math.max(this.left,C),d=Math.min(this.right,D),y=this.rangeManager.getCell(k,t),i=this.rangeManager.getCell(m,d),this.element.classList.add("tabulator-range-active"),this.element.style.left=y.row.getElement().offsetLeft+y.getElement().offsetLeft+"px",this.element.style.top=y.row.getElement().offsetTop+"px",this.element.style.width=i.getElement().offsetLeft+i.getElement().offsetWidth-y.getElement().offsetLeft+"px",this.element.style.height=i.row.getElement().offsetTop+i.row.getElement().offsetHeight-y.row.getElement().offsetTop+"px")}atTopLeft(e){return e.row.position-1===this.top&&e.column.getPosition()-1===this.left}atBottomRight(e){return e.row.position-1===this.bottom&&e.column.getPosition()-1===this.right}occupies(e){return this.occupiesRow(e.row)&&this.occupiesColumn(e.column)}occupiesRow(e){return this.top<=e.position-1&&e.position-1<=this.bottom}occupiesColumn(e){return this.left<=e.getPosition()-1&&e.getPosition()-1<=this.right}overlaps(e,r,C,D){return!(this.left>C||e>this.right||this.top>D||r>this.bottom)}getData(){var e=[],r=this.getRows(),C=this.getColumns();return r.forEach(D=>{var k=D.getData(),m={};C.forEach(t=>{m[t.field]=k[t.field]}),e.push(m)}),e}getCells(e,r){var C=[],D=this.getRows(),k=this.getColumns();return e?C=D.map(m=>{var t=[];return m.getCells().forEach(d=>{k.includes(d.column)&&t.push(r?d.getComponent():d)}),t}):D.forEach(m=>{m.getCells().forEach(t=>{k.includes(t.column)&&C.push(r?t.getComponent():t)})}),C}getStructuredCells(){return this.getCells(!0,!0)}getRows(){return this._getTableRows().slice(this.top,this.bottom+1)}getColumns(){return this._getTableColumns().slice(this.left,this.right+1)}clearValues(){var e=this.getCells(),r=this.table.options.selectableRangeClearCellsValue;this.table.blockRedraw(),e.forEach(C=>{C.setValue(r)}),this.table.restoreRedraw()}getBounds(e){var r=this.getCells(!1,e),C={start:null,end:null};return r.length?(C.start=r[0],C.end=r[r.length-1]):console.warn("No bounds defined on range"),C}getComponent(){return this.component||(this.component=new LP(this)),this.component}destroy(e){this.destroyed=!0,this.element.remove(),e&&this.rangeManager.rangeRemoved(this),this.initialized&&this.dispatchExternal("rangeRemoved",this.getComponent())}destroyedGuard(e){return this.destroyed&&console.warn("You cannot call the "+e+" function on a destroyed range"),!this.destroyed}}class XM extends qi{constructor(e){super(e),this.selecting="cell",this.mousedown=!1,this.ranges=[],this.overlay=null,this.rowHeader=null,this.layoutChangeTimeout=null,this.columnSelection=!1,this.rowSelection=!1,this.maxRanges=0,this.activeRange=!1,this.blockKeydown=!1,this.keyDownEvent=this._handleKeyDown.bind(this),this.mouseUpEvent=this._handleMouseUp.bind(this),this.registerTableOption("selectableRange",!1),this.registerTableOption("selectableRangeColumns",!1),this.registerTableOption("selectableRangeRows",!1),this.registerTableOption("selectableRangeClearCells",!1),this.registerTableOption("selectableRangeClearCellsValue",void 0),this.registerTableFunction("getRangesData",this.getRangesData.bind(this)),this.registerTableFunction("getRanges",this.getRanges.bind(this)),this.registerTableFunction("addRange",this.addRangeFromComponent.bind(this)),this.registerComponentFunction("cell","getRanges",this.cellGetRanges.bind(this)),this.registerComponentFunction("row","getRanges",this.rowGetRanges.bind(this)),this.registerComponentFunction("column","getRanges",this.colGetRanges.bind(this))}initialize(){this.options("selectableRange")&&(this.options("selectableRows")?console.warn("SelectRange functionality cannot be used in conjunction with row selection"):(this.maxRanges=this.options("selectableRange"),this.initializeTable(),this.initializeWatchers()))}initializeTable(){this.overlay=document.createElement("div"),this.overlay.classList.add("tabulator-range-overlay"),this.rangeContainer=document.createElement("div"),this.rangeContainer.classList.add("tabulator-range-container"),this.activeRangeCellElement=document.createElement("div"),this.activeRangeCellElement.classList.add("tabulator-range-cell-active"),this.overlay.appendChild(this.rangeContainer),this.overlay.appendChild(this.activeRangeCellElement),this.table.rowManager.element.addEventListener("keydown",this.keyDownEvent),this.resetRanges(),this.table.rowManager.element.appendChild(this.overlay),this.table.columnManager.element.setAttribute("tabindex",0),this.table.element.classList.add("tabulator-ranges")}initializeWatchers(){this.columnSelection=this.options("selectableRangeColumns"),this.rowSelection=this.options("selectableRangeRows"),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("column-mousedown",this.handleColumnMouseDown.bind(this)),this.subscribe("column-mousemove",this.handleColumnMouseMove.bind(this)),this.subscribe("column-resized",this.handleColumnResized.bind(this)),this.subscribe("column-width",this.layoutChange.bind(this)),this.subscribe("column-height",this.layoutChange.bind(this)),this.subscribe("column-resized",this.layoutChange.bind(this)),this.subscribe("columns-loaded",this.updateHeaderColumn.bind(this)),this.subscribe("cell-height",this.layoutChange.bind(this)),this.subscribe("cell-rendered",this.renderCell.bind(this)),this.subscribe("cell-mousedown",this.handleCellMouseDown.bind(this)),this.subscribe("cell-mousemove",this.handleCellMouseMove.bind(this)),this.subscribe("cell-click",this.handleCellClick.bind(this)),this.subscribe("cell-editing",this.handleEditingCell.bind(this)),this.subscribe("page-changed",this.redraw.bind(this)),this.subscribe("scroll-vertical",this.layoutChange.bind(this)),this.subscribe("scroll-horizontal",this.layoutChange.bind(this)),this.subscribe("data-destroy",this.tableDestroyed.bind(this)),this.subscribe("data-processed",this.resetRanges.bind(this)),this.subscribe("table-layout",this.layoutElement.bind(this)),this.subscribe("table-redraw",this.redraw.bind(this)),this.subscribe("table-destroy",this.tableDestroyed.bind(this)),this.subscribe("edit-editor-clear",this.finishEditingCell.bind(this)),this.subscribe("edit-blur",this.restoreFocus.bind(this)),this.subscribe("keybinding-nav-prev",this.keyNavigate.bind(this,"left")),this.subscribe("keybinding-nav-next",this.keyNavigate.bind(this,"right")),this.subscribe("keybinding-nav-left",this.keyNavigate.bind(this,"left")),this.subscribe("keybinding-nav-right",this.keyNavigate.bind(this,"right")),this.subscribe("keybinding-nav-up",this.keyNavigate.bind(this,"up")),this.subscribe("keybinding-nav-down",this.keyNavigate.bind(this,"down")),this.subscribe("keybinding-nav-range",this.keyNavigateRange.bind(this))}initializeColumn(e){this.columnSelection&&e.definition.headerSort&&this.options("headerSortClickElement")!=="icon"&&console.warn("Using column headerSort with selectableRangeColumns option may result in unpredictable behavior. Consider using headerSortClickElement: 'icon'."),e.modules.edit}updateHeaderColumn(){this.rowSelection&&(this.rowHeader=this.table.columnManager.getVisibleColumnsByIndex()[0],this.rowHeader&&(this.rowHeader.definition.cssClass=this.rowHeader.definition.cssClass+" tabulator-range-row-header",this.rowHeader.definition.headerSort&&console.warn("Using column headerSort with selectableRangeRows option may result in unpredictable behavior"),this.rowHeader.definition.editor&&console.warn("Using column editor with selectableRangeRows option may result in unpredictable behavior")))}getRanges(){return this.ranges.map(e=>e.getComponent())}getRangesData(){return this.ranges.map(e=>e.getData())}addRangeFromComponent(e,r){return e=e?e._cell:null,r=r?r._cell:null,this.addRange(e,r)}cellGetRanges(e){var r=[];return e.column===this.rowHeader?r=this.ranges.filter(C=>C.occupiesRow(e.row)):r=this.ranges.filter(C=>C.occupies(e)),r.map(C=>C.getComponent())}rowGetRanges(e){var r=this.ranges.filter(C=>C.occupiesRow(e));return r.map(C=>C.getComponent())}colGetRanges(e){var r=this.ranges.filter(C=>C.occupiesColumn(e));return r.map(C=>C.getComponent())}_handleMouseUp(e){this.mousedown=!1,document.removeEventListener("mouseup",this.mouseUpEvent)}_handleKeyDown(e){if(!this.blockKeydown&&(!this.table.modules.edit||this.table.modules.edit&&!this.table.modules.edit.currentCell)){if(e.key==="Enter"){if(this.table.modules.edit&&this.table.modules.edit.currentCell)return;this.table.modules.edit.editCell(this.getActiveCell()),e.preventDefault()}(e.key==="Backspace"||e.key==="Delete")&&this.options("selectableRangeClearCells")&&this.activeRange&&this.activeRange.clearValues()}}initializeFocus(e){var r;try{document.selection?(r=document.body.createTextRange(),r.moveToElementText(e.getElement()),r.select()):window.getSelection&&(r=document.createRange(),r.selectNode(e.getElement()),window.getSelection().removeAllRanges(),window.getSelection().addRange(r))}catch{}}restoreFocus(e){return this.table.rowManager.element.focus(),!0}handleColumnResized(e){var r;this.selecting!=="column"&&this.selecting!=="all"||(r=this.ranges.some(C=>C.occupiesColumn(e)),r&&this.ranges.forEach(C=>{var D=C.getColumns(!0);D.forEach(k=>{k!==e&&k.setWidth(e.width)})}))}handleColumnMouseDown(e,r){e.button===2&&(this.selecting==="column"||this.selecting==="all")&&this.activeRange.occupiesColumn(r)||(this.mousedown=!0,document.addEventListener("mouseup",this.mouseUpEvent),this.newSelection(e,r))}handleColumnMouseMove(e,r){r===this.rowHeader||!this.mousedown||this.selecting==="all"||this.activeRange.setBounds(!1,r,!0)}renderCell(e){var r=e.getElement(),C=this.ranges.findIndex(D=>D.occupies(e));r.classList.toggle("tabulator-range-selected",C!==-1),r.classList.toggle("tabulator-range-only-cell-selected",this.ranges.length===1&&this.ranges[0].atTopLeft(e)&&this.ranges[0].atBottomRight(e)),r.dataset.range=C}handleCellMouseDown(e,r){e.button===2&&(this.activeRange.occupies(r)||(this.selecting==="row"||this.selecting==="all")&&this.activeRange.occupiesRow(r.row))||(this.mousedown=!0,document.addEventListener("mouseup",this.mouseUpEvent),this.newSelection(e,r))}handleCellMouseMove(e,r){!this.mousedown||this.selecting==="all"||this.activeRange.setBounds(!1,r,!0)}handleCellClick(e,r){this.initializeFocus(r)}handleEditingCell(e){this.activeRange&&this.activeRange.setBounds(e)}finishEditingCell(){this.blockKeydown=!0,this.table.rowManager.element.focus(),setTimeout(()=>{this.blockKeydown=!1},10)}keyNavigate(e,r){this.navigate(!1,!1,e)&&r.preventDefault()}keyNavigateRange(e,r,C,D){this.navigate(C,D,r)&&e.preventDefault()}navigate(e,r,C){var D=!1,k,m,t,d,y,i;if(this.table.modules.edit&&this.table.modules.edit.currentCell)return!1;if(this.ranges.length>1&&(this.ranges=this.ranges.filter(M=>M===this.activeRange?(M.setEnd(M.start.row,M.start.col),!0):(M.destroy(),!1))),k=this.activeRange,m=r?k.end:k.start,t=m.row,d=m.col,e)switch(C){case"left":d=this.findJumpCellLeft(k.start.row,m.col);break;case"right":d=this.findJumpCellRight(k.start.row,m.col);break;case"up":t=this.findJumpCellUp(m.row,k.start.col);break;case"down":t=this.findJumpCellDown(m.row,k.start.col);break}else{if(r&&(this.selecting==="row"&&(C==="left"||C==="right")||this.selecting==="column"&&(C==="up"||C==="down")))return;switch(C){case"left":d=Math.max(d-1,0);break;case"right":d=Math.min(d+1,this.getTableColumns().length-1);break;case"up":t=Math.max(t-1,0);break;case"down":t=Math.min(t+1,this.getTableRows().length-1);break}}if(D=d!==m.col||t!==m.row,r||k.setStart(t,d),k.setEnd(t,d),r||(this.selecting="cell"),D)return y=this.getRowByRangePos(k.end.row),i=this.getColumnByRangePos(k.end.col),(C==="left"||C==="right")&&i.getElement().parentNode===null?i.getComponent().scrollTo(void 0,!1):(C==="up"||C==="down")&&y.getElement().parentNode===null?y.getComponent().scrollTo(void 0,!1):this.autoScroll(k,y.getElement(),i.getElement()),this.layoutElement(),!0}rangeRemoved(e){this.ranges=this.ranges.filter(r=>r!==e),this.activeRange===e&&(this.ranges.length?this.activeRange=this.ranges[this.ranges.length-1]:this.addRange()),this.layoutElement()}findJumpCell(e,r,C,D){var k;r&&(e=e.reverse());for(let m of e){let t=m.getValue();if(C){if(k=m,t)break}else if(D){if(k=m,t)break}else if(t)k=m;else break}return k}findJumpCellLeft(e,r){var C=this.getRowByRangePos(e),D=C.cells.filter(i=>i.column.visible),k=!D[r].getValue(),m=D[r]?!D[r].getValue():!1,t=r,d=this.rowHeader?D.slice(1,r):D.slice(0,r),y=this.findJumpCell(d,!0,k,m);return y&&(t=y.column.getPosition()-1),t}findJumpCellRight(e,r){var C=this.getRowByRangePos(e),D=C.cells.filter(y=>y.column.visible),k=!D[r].getValue(),m=D[r+1]?!D[r+1].getValue():!1,t=r,d=this.findJumpCell(D.slice(r+1,D.length),!1,k,m);return d&&(t=d.column.getPosition()-1),t}findJumpCellUp(e,r){var C=this.getColumnByRangePos(r),D=C.cells.filter(y=>this.table.rowManager.activeRows.includes(y.row)),k=!D[e].getValue(),m=D[e-1]?!D[e-1].getValue():!1,t=e,d=this.findJumpCell(D.slice(0,t),!0,k,m);return d&&(t=d.row.position-1),t}findJumpCellDown(e,r){var C=this.getColumnByRangePos(r),D=C.cells.filter(y=>this.table.rowManager.activeRows.includes(y.row)),k=!D[e].getValue(),m=D[e+1]?!D[e+1].getValue():!1,t=e,d=this.findJumpCell(D.slice(t+1,D.length),!1,k,m);return d&&(t=d.row.position-1),t}newSelection(e,r){var C;if(r.type==="column"){if(!this.columnSelection)return;if(r===this.rowHeader){C=this.resetRanges(),this.selecting="all";var D,k=this.getCell(-1,-1);this.rowHeader?D=this.getCell(0,1):D=this.getCell(0,0),C.setBounds(D,k);return}else this.selecting="column"}else r.column===this.rowHeader?this.selecting="row":this.selecting="cell";e.shiftKey?this.activeRange.setBounds(!1,r):e.ctrlKey?this.addRange().setBounds(r):this.resetRanges().setBounds(r)}autoScroll(e,r,C){var D=this.table.rowManager.element,k,m,t,d,y;typeof r>"u"&&(r=this.getRowByRangePos(e.end.row).getElement()),typeof C>"u"&&(C=this.getColumnByRangePos(e.end.col).getElement()),this.rowHeader&&(k=this.rowHeader.getElement()),m={left:C.offsetLeft,right:C.offsetLeft+C.offsetWidth,top:r.offsetTop,bottom:r.offsetTop+r.offsetHeight},t={left:D.scrollLeft,right:Math.ceil(D.scrollLeft+D.clientWidth),top:D.scrollTop,bottom:D.scrollTop+D.offsetHeight-this.table.rowManager.scrollbarWidth},k&&(t.left+=k.offsetWidth),d=t.leftt.right&&(D.scrollLeft=m.right-D.clientWidth)),y||(m.topt.bottom&&(D.scrollTop=m.bottom-D.clientHeight))}layoutChange(){this.overlay.style.visibility="hidden",clearTimeout(this.layoutChangeTimeout),this.layoutChangeTimeout=setTimeout(this.layoutRanges.bind(this),200)}redraw(e){e&&(this.selecting="cell",this.resetRanges(),this.layoutElement())}layoutElement(e){var r;e?r=this.table.rowManager.getVisibleRows(!0):r=this.table.rowManager.getRows(),r.forEach(C=>{C.type==="row"&&(this.layoutRow(C),C.cells.forEach(D=>this.renderCell(D)))}),this.getTableColumns().forEach(C=>{this.layoutColumn(C)}),this.layoutRanges()}layoutRow(e){var r=e.getElement(),C=!1,D=this.ranges.some(k=>k.occupiesRow(e));this.selecting==="row"?C=D:this.selecting==="all"&&(C=!0),r.classList.toggle("tabulator-range-selected",C),r.classList.toggle("tabulator-range-highlight",D)}layoutColumn(e){var r=e.getElement(),C=!1,D=this.ranges.some(k=>k.occupiesColumn(e));this.selecting==="column"?C=D:this.selecting==="all"&&(C=!0),r.classList.toggle("tabulator-range-selected",C),r.classList.toggle("tabulator-range-highlight",D)}layoutRanges(){var e;this.table.initialized&&(e=this.getActiveCell(),e&&(this.activeRangeCellElement.style.left=e.row.getElement().offsetLeft+e.getElement().offsetLeft+"px",this.activeRangeCellElement.style.top=e.row.getElement().offsetTop+"px",this.activeRangeCellElement.style.width=e.getElement().offsetLeft+e.getElement().offsetWidth-e.getElement().offsetLeft+"px",this.activeRangeCellElement.style.height=e.row.getElement().offsetTop+e.row.getElement().offsetHeight-e.row.getElement().offsetTop+"px",this.ranges.forEach(r=>r.layout()),this.overlay.style.visibility="visible"))}getCell(e,r){var C;return r<0&&(r=this.getTableColumns().length+r,r<0)?null:(e<0&&(e=this.getTableRows().length+e),C=this.table.rowManager.getRowFromPosition(e+1),C?C.getCells(!1,!0).filter(D=>D.column.visible)[r]:null)}getActiveCell(){return this.getCell(this.activeRange.start.row,this.activeRange.start.col)}getRowByRangePos(e){return this.getTableRows()[e]}getColumnByRangePos(e){return this.getTableColumns()[e]}getTableRows(){return this.table.rowManager.getDisplayRows()}getTableColumns(){return this.table.columnManager.getVisibleColumnsByIndex()}addRange(e,r){var C;return this.maxRanges!==!0&&this.ranges.length>=this.maxRanges&&this.ranges.shift().destroy(),C=new IP(this.table,this,e,r),this.activeRange=C,this.ranges.push(C),this.rangeContainer.appendChild(C.element),C}resetRanges(){var e,r;return this.ranges.forEach(C=>C.destroy()),this.ranges=[],e=this.addRange(),this.table.rowManager.activeRows.length&&(r=this.table.rowManager.activeRows[0].cells[this.rowHeader?1:0],r&&(e.setBounds(r),this.initializeFocus(r))),e}tableDestroyed(){document.removeEventListener("mouseup",this.mouseUpEvent),this.table.rowManager.element.removeEventListener("keydown",this.keyDownEvent)}selectedRows(e){return e?this.activeRange.getRows().map(r=>r.getComponent()):this.activeRange.getRows()}selectedColumns(e){return e?this.activeRange.getColumns().map(r=>r.getComponent()):this.activeRange.getColumns()}}XM.moduleName="selectRange";class KM extends qi{constructor(e){super(e),this.tooltipSubscriber=null,this.headerSubscriber=null,this.timeout=null,this.popupInstance=null,this.registerTableOption("tooltipGenerationMode",void 0),this.registerTableOption("tooltipDelay",300),this.registerColumnOption("tooltip"),this.registerColumnOption("headerTooltip")}initialize(){this.deprecatedOptionsCheck(),this.subscribe("column-init",this.initializeColumn.bind(this))}deprecatedOptionsCheck(){this.deprecationCheckMsg("tooltipGenerationMode","This option is no longer needed as tooltips are always generated on hover now")}initializeColumn(e){e.definition.headerTooltip&&!this.headerSubscriber&&(this.headerSubscriber=!0,this.subscribe("column-mousemove",this.mousemoveCheck.bind(this,"headerTooltip")),this.subscribe("column-mouseout",this.mouseoutCheck.bind(this,"headerTooltip"))),e.definition.tooltip&&!this.tooltipSubscriber&&(this.tooltipSubscriber=!0,this.subscribe("cell-mousemove",this.mousemoveCheck.bind(this,"tooltip")),this.subscribe("cell-mouseout",this.mouseoutCheck.bind(this,"tooltip")))}mousemoveCheck(e,r,C){var D=e==="tooltip"?C.column.definition.tooltip:C.definition.headerTooltip;D&&(this.clearPopup(),this.timeout=setTimeout(this.loadTooltip.bind(this,r,C,D),this.table.options.tooltipDelay))}mouseoutCheck(e,r,C){this.popupInstance||this.clearPopup()}clearPopup(e,r,C){clearTimeout(this.timeout),this.timeout=null,this.popupInstance&&this.popupInstance.hide()}loadTooltip(e,r,C){var D,k,m;function t(d){k=d}typeof C=="function"&&(C=C(e,r.getComponent(),t)),C instanceof HTMLElement?D=C:(D=document.createElement("div"),C===!0&&(r instanceof eg?C=r.value:r.definition.field?this.langBind("columns|"+r.definition.field,d=>{D.innerHTML=C=d||r.definition.title}):C=r.definition.title),D.innerHTML=C),(C||C===0||C===!1)&&(D.classList.add("tabulator-tooltip"),D.addEventListener("mousemove",d=>d.preventDefault()),this.popupInstance=this.popup(D),typeof k=="function"&&this.popupInstance.renderCallback(k),m=this.popupInstance.containerEventCoords(e),this.popupInstance.show(m.x+15,m.y+15).hideOnBlur(()=>{this.dispatchExternal("TooltipClosed",r.getComponent()),this.popupInstance=null}),this.dispatchExternal("TooltipOpened",r.getComponent()))}}KM.moduleName="tooltip";var RP={integer:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:(e=Number(e),!isNaN(e)&&isFinite(e)&&Math.floor(e)===e)},float:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:(e=Number(e),!isNaN(e)&&isFinite(e)&&e%1!==0)},numeric:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:!isNaN(e)},string:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:isNaN(e)},alphanumeric:function(n,e,r){if(e===""||e===null||typeof e>"u")return!0;var C=new RegExp(/^[a-z0-9]+$/i);return C.test(e)},max:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:parseFloat(e)<=r},min:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:parseFloat(e)>=r},starts:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).toLowerCase().startsWith(String(r).toLowerCase())},ends:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).toLowerCase().endsWith(String(r).toLowerCase())},minLength:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).length>=r},maxLength:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).length<=r},in:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:(typeof r=="string"&&(r=r.split("|")),r.indexOf(e)>-1)},regex:function(n,e,r){if(e===""||e===null||typeof e>"u")return!0;var C=new RegExp(r);return C.test(e)},unique:function(n,e,r){if(e===""||e===null||typeof e>"u")return!0;var C=!0,D=n.getData(),k=n.getColumn()._getSelf();return this.table.rowManager.rows.forEach(function(m){var t=m.getData();t!==D&&e==k.getFieldValue(t)&&(C=!1)}),C},required:function(n,e,r){return e!==""&&e!==null&&typeof e<"u"}};class ig extends qi{constructor(e){super(e),this.invalidCells=[],this.registerTableOption("validationMode","blocking"),this.registerColumnOption("validator"),this.registerTableFunction("getInvalidCells",this.getInvalidCells.bind(this)),this.registerTableFunction("clearCellValidation",this.userClearCellValidation.bind(this)),this.registerTableFunction("validate",this.userValidate.bind(this)),this.registerComponentFunction("cell","isValid",this.cellIsValid.bind(this)),this.registerComponentFunction("cell","clearValidation",this.clearValidation.bind(this)),this.registerComponentFunction("cell","validate",this.cellValidate.bind(this)),this.registerComponentFunction("column","validate",this.columnValidate.bind(this)),this.registerComponentFunction("row","validate",this.rowValidate.bind(this))}initialize(){this.subscribe("cell-delete",this.clearValidation.bind(this)),this.subscribe("column-layout",this.initializeColumnCheck.bind(this)),this.subscribe("edit-success",this.editValidate.bind(this)),this.subscribe("edit-editor-clear",this.editorClear.bind(this)),this.subscribe("edit-edited-clear",this.editedClear.bind(this))}editValidate(e,r,C){var D=this.table.options.validationMode!=="manual"?this.validate(e.column.modules.validate,e,r):!0;return D!==!0&&setTimeout(()=>{e.getElement().classList.add("tabulator-validation-fail"),this.dispatchExternal("validationFailed",e.getComponent(),r,D)}),D}editorClear(e,r){r&&e.column.modules.validate&&this.cellValidate(e),e.getElement().classList.remove("tabulator-validation-fail")}editedClear(e){e.modules.validate&&(e.modules.validate.invalid=!1)}cellIsValid(e){return e.modules.validate&&e.modules.validate.invalid||!0}cellValidate(e){return this.validate(e.column.modules.validate,e,e.getValue())}columnValidate(e){var r=[];return e.cells.forEach(C=>{this.cellValidate(C)!==!0&&r.push(C.getComponent())}),r.length?r:!0}rowValidate(e){var r=[];return e.cells.forEach(C=>{this.cellValidate(C)!==!0&&r.push(C.getComponent())}),r.length?r:!0}userClearCellValidation(e){e||(e=this.getInvalidCells()),Array.isArray(e)||(e=[e]),e.forEach(r=>{this.clearValidation(r._getSelf())})}userValidate(e){var r=[];return this.table.rowManager.rows.forEach(C=>{C=C.getComponent();var D=C.validate();D!==!0&&(r=r.concat(D))}),r.length?r:!0}initializeColumnCheck(e){typeof e.definition.validator<"u"&&this.initializeColumn(e)}initializeColumn(e){var r=this,C=[],D;e.definition.validator&&(Array.isArray(e.definition.validator)?e.definition.validator.forEach(k=>{D=r._extractValidator(k),D&&C.push(D)}):(D=this._extractValidator(e.definition.validator),D&&C.push(D)),e.modules.validate=C.length?C:!1)}_extractValidator(e){var r,C,D;switch(typeof e){case"string":return D=e.indexOf(":"),D>-1?(r=e.substring(0,D),C=e.substring(D+1)):r=e,this._buildValidator(r,C);case"function":return this._buildValidator(e);case"object":return this._buildValidator(e.type,e.parameters)}}_buildValidator(e,r){var C=typeof e=="function"?e:ig.validators[e];return C?{type:typeof e=="function"?"function":e,func:C,params:r}:(console.warn("Validator Setup Error - No matching validator found:",e),!1)}validate(e,r,C){var D=this,k=[],m=this.invalidCells.indexOf(r);return e&&e.forEach(t=>{t.func.call(D,r.getComponent(),C,t.params)||k.push({type:t.type,parameters:t.params})}),r.modules.validate||(r.modules.validate={}),k.length?(r.modules.validate.invalid=k,this.table.options.validationMode!=="manual"&&r.getElement().classList.add("tabulator-validation-fail"),m==-1&&this.invalidCells.push(r)):(r.modules.validate.invalid=!1,r.getElement().classList.remove("tabulator-validation-fail"),m>-1&&this.invalidCells.splice(m,1)),k.length?k:!0}getInvalidCells(){var e=[];return this.invalidCells.forEach(r=>{e.push(r.getComponent())}),e}clearValidation(e){var r;e.modules.validate&&e.modules.validate.invalid&&(e.getElement().classList.remove("tabulator-validation-fail"),e.modules.validate.invalid=!1,r=this.invalidCells.indexOf(e),r>-1&&this.invalidCells.splice(r,1))}}ig.moduleName="validate";ig.validators=RP;var PP=Object.freeze({__proto__:null,AccessorModule:i0,AjaxModule:Rc,ClipboardModule:qd,ColumnCalcsModule:zh,DataTreeModule:PM,DownloadModule:a0,EditModule:tg,ExportModule:OM,FilterModule:Kf,FormatModule:Yu,FrozenColumnsModule:DM,FrozenRowsModule:zM,GroupRowsModule:FM,HistoryModule:Wd,HtmlTableImportModule:BM,ImportModule:ng,InteractionModule:NM,KeybindingsModule:Vh,MenuModule:VM,MoveColumnsModule:jM,MoveRowsModule:Yy,MutatorModule:o0,PageModule:rg,PersistenceModule:Ul,PopupModule:UM,PrintModule:HM,ReactiveDataModule:GM,ResizeColumnsModule:qM,ResizeRowsModule:WM,ResizeTableModule:$M,ResponsiveLayoutModule:YM,SelectRowModule:ZM,SortModule:jd,SelectRangeModule:XM,TooltipModule:KM,ValidateModule:ig}),OP={debugEventsExternal:!1,debugEventsInternal:!1,debugInvalidOptions:!0,debugInvalidComponentFuncs:!0,debugInitialization:!0,debugDeprecation:!0,height:!1,minHeight:!1,maxHeight:!1,columnHeaderVertAlign:"top",popupContainer:!1,columns:[],columnDefaults:{},data:!1,autoColumns:!1,autoColumnsDefinitions:!1,nestedFieldSeparator:".",footerElement:!1,index:"id",textDirection:"auto",addRowPos:"bottom",headerVisible:!0,renderVertical:"virtual",renderHorizontal:"basic",renderVerticalBuffer:0,scrollToRowPosition:"top",scrollToRowIfVisible:!0,scrollToColumnPosition:"left",scrollToColumnIfVisible:!0,rowFormatter:!1,rowFormatterPrint:null,rowFormatterClipboard:null,rowFormatterHtmlOutput:null,rowHeight:null,placeholder:!1,dataLoader:!0,dataLoaderLoading:!1,dataLoaderError:!1,dataLoaderErrorTimeout:3e3,dataSendParams:{},dataReceiveParams:{}};class JM{constructor(e,r,C={}){this.table=e,this.msgType=r,this.registeredDefaults=Object.assign({},C)}register(e,r){this.registeredDefaults[e]=r}generate(e,r={}){var C=Object.assign({},this.registeredDefaults),D=this.table.options.debugInvalidOptions||r.debugInvalidOptions===!0;Object.assign(C,e);for(let k in r)C.hasOwnProperty(k)||(D&&console.warn("Invalid "+this.msgType+" option:",k),C[k]=r.key);for(let k in C)k in r?C[k]=r[k]:Array.isArray(C[k])?C[k]=Object.assign([],C[k]):typeof C[k]=="object"&&C[k]!==null?C[k]=Object.assign({},C[k]):typeof C[k]>"u"&&delete C[k];return C}}class Zy extends Ml{constructor(e){super(e),this.elementVertical=e.rowManager.element,this.elementHorizontal=e.columnManager.element,this.tableElement=e.rowManager.tableElement,this.verticalFillMode="fit"}initialize(){}clearRows(){}clearColumns(){}reinitializeColumnWidths(e){}renderRows(){}renderColumns(){}rerenderRows(e){e&&e()}rerenderColumns(e,r){}renderRowCells(e){}rerenderRowCells(e,r){}scrollColumns(e,r){}scrollRows(e,r){}resize(){}scrollToRow(e){}scrollToRowNearestTop(e){}visibleRows(e){return[]}rows(){return this.table.rowManager.getDisplayRows()}styleRow(e,r){var C=e.getElement();r%2?(C.classList.add("tabulator-row-even"),C.classList.remove("tabulator-row-odd")):(C.classList.add("tabulator-row-odd"),C.classList.remove("tabulator-row-even"))}clear(){this.clearRows(),this.clearColumns()}render(){this.renderRows(),this.renderColumns()}rerender(e){this.rerenderRows(),this.rerenderColumns()}scrollToRowPosition(e,r,C){var D=this.rows().indexOf(e),k=e.getElement(),m=0;return new Promise((t,d)=>{if(D>-1){if(typeof C>"u"&&(C=this.table.options.scrollToRowIfVisible),!C&&oo.elVisible(k)&&(m=oo.elOffset(k).top-oo.elOffset(this.elementVertical).top,m>0&&m"u"&&(r=this.table.options.scrollToRowPosition),r==="nearest"&&(r=this.scrollToRowNearestTop(e)?"top":"bottom"),this.scrollToRow(e),r){case"middle":case"center":this.elementVertical.scrollHeight-this.elementVertical.scrollTop==this.elementVertical.clientHeight?this.elementVertical.scrollTop=this.elementVertical.scrollTop+(k.offsetTop-this.elementVertical.scrollTop)-(this.elementVertical.scrollHeight-k.offsetTop)/2:this.elementVertical.scrollTop=this.elementVertical.scrollTop-this.elementVertical.clientHeight/2;break;case"bottom":this.elementVertical.scrollHeight-this.elementVertical.scrollTop==this.elementVertical.clientHeight?this.elementVertical.scrollTop=this.elementVertical.scrollTop-(this.elementVertical.scrollHeight-k.offsetTop)+k.offsetHeight:this.elementVertical.scrollTop=this.elementVertical.scrollTop-this.elementVertical.clientHeight+k.offsetHeight;break;case"top":this.elementVertical.scrollTop=k.offsetTop;break}t()}else console.warn("Scroll Error - Row not visible"),d("Scroll Error - Row not visible")})}}class DP extends Zy{constructor(e){super(e)}renderRowCells(e,r){const C=document.createDocumentFragment();e.cells.forEach(D=>{C.appendChild(D.getElement())}),e.element.appendChild(C),r||e.cells.forEach(D=>{D.cellRendered()})}reinitializeColumnWidths(e){e.forEach(function(r){r.reinitializeWidth()})}}class zP extends Zy{constructor(e){super(e),this.leftCol=0,this.rightCol=0,this.scrollLeft=0,this.vDomScrollPosLeft=0,this.vDomScrollPosRight=0,this.vDomPadLeft=0,this.vDomPadRight=0,this.fitDataColAvg=0,this.windowBuffer=200,this.visibleRows=null,this.initialized=!1,this.isFitData=!1,this.columns=[]}initialize(){this.compatibilityCheck(),this.layoutCheck(),this.vertScrollListen()}compatibilityCheck(){this.options("layout")=="fitDataTable"&&console.warn("Horizontal Virtual DOM is not compatible with fitDataTable layout mode"),this.options("responsiveLayout")&&console.warn("Horizontal Virtual DOM is not compatible with responsive columns"),this.options("rtl")&&console.warn("Horizontal Virtual DOM is not currently compatible with RTL text direction")}layoutCheck(){this.isFitData=this.options("layout").startsWith("fitData")}vertScrollListen(){this.subscribe("scroll-vertical",this.clearVisRowCache.bind(this)),this.subscribe("data-refreshed",this.clearVisRowCache.bind(this))}clearVisRowCache(){this.visibleRows=null}renderColumns(e,r){this.dataChange()}scrollColumns(e,r){this.scrollLeft!=e&&(this.scrollLeft=e,this.scroll(e-(this.vDomScrollPosLeft+this.windowBuffer)))}calcWindowBuffer(){var e=this.elementVertical.clientWidth;this.table.columnManager.columnsByIndex.forEach(r=>{if(r.visible){var C=r.getWidth();C>e&&(e=C)}}),this.windowBuffer=e*2}rerenderColumns(e,r){var C={cols:this.columns,leftCol:this.leftCol,rightCol:this.rightCol},D=0;e&&!this.initialized||(this.clear(),this.calcWindowBuffer(),this.scrollLeft=this.elementVertical.scrollLeft,this.vDomScrollPosLeft=this.scrollLeft-this.windowBuffer,this.vDomScrollPosRight=this.scrollLeft+this.elementVertical.clientWidth+this.windowBuffer,this.table.columnManager.columnsByIndex.forEach(k=>{var m={},t;k.visible&&(k.modules.frozen||(t=k.getWidth(),m.leftPos=D,m.rightPos=D+t,m.width=t,this.isFitData&&(m.fitDataCheck=k.modules.vdomHoz?k.modules.vdomHoz.fitDataCheck:!0),D+t>this.vDomScrollPosLeft&&D{r.appendChild(C.getElement())}),e.element.appendChild(r),e.cells.forEach(C=>{C.cellRendered()})}}rerenderRowCells(e,r){this.reinitializeRow(e,r)}reinitializeColumnWidths(e){for(let r=this.leftCol;r<=this.rightCol;r++)this.columns[r].reinitializeWidth()}deinitialize(){this.initialized=!1}clear(){this.columns=[],this.leftCol=-1,this.rightCol=0,this.vDomScrollPosLeft=0,this.vDomScrollPosRight=0,this.vDomPadLeft=0,this.vDomPadRight=0}dataChange(){var e=!1,r,C;if(this.isFitData){if(this.table.columnManager.columnsByIndex.forEach(D=>{!D.definition.width&&D.visible&&(e=!0)}),e&&this.table.rowManager.getDisplayRows().length&&(this.vDomScrollPosRight=this.scrollLeft+this.elementVertical.clientWidth+this.windowBuffer,r=this.chain("rows-sample",[1],[],()=>this.table.rowManager.getDisplayRows())[0],r)){C=r.getElement(),r.generateCells(),this.tableElement.appendChild(C);for(let D=0;D{C!==this.columns[D]&&(r=!1)}),!r)}reinitializeRows(){var e=this.getVisibleRows(),r=this.table.rowManager.getRows().filter(C=>!e.includes(C));e.forEach(C=>{this.reinitializeRow(C,!0)}),r.forEach(C=>{C.deinitialize()})}getVisibleRows(){return this.visibleRows||(this.visibleRows=this.table.rowManager.getVisibleRows()),this.visibleRows}scroll(e){this.vDomScrollPosLeft+=e,this.vDomScrollPosRight+=e,Math.abs(e)>this.windowBuffer/2?this.rerenderColumns():e>0?(this.addColRight(),this.removeColLeft()):(this.addColLeft(),this.removeColRight())}colPositionAdjust(e,r,C){for(let D=e;D{if(D.type!=="group"){var k=D.getCell(C);D.getElement().insertBefore(k.getElement(),D.getCell(this.columns[this.rightCol]).getElement().nextSibling),k.cellRendered()}}),this.fitDataColActualWidthCheck(C),this.rightCol++,this.getVisibleRows().forEach(D=>{D.type!=="group"&&(D.modules.vdomHoz.rightCol=this.rightCol)}),this.rightCol>=this.columns.length-1?this.vDomPadRight=0:this.vDomPadRight-=C.getWidth()):r=!1}e&&(this.tableElement.style.paddingRight=this.vDomPadRight+"px")}addColLeft(){for(var e=!1,r=!0;r;){let C=this.columns[this.leftCol-1];if(C)if(C.modules.vdomHoz.rightPos>=this.vDomScrollPosLeft){e=!0,this.getVisibleRows().forEach(k=>{if(k.type!=="group"){var m=k.getCell(C);k.getElement().insertBefore(m.getElement(),k.getCell(this.columns[this.leftCol]).getElement()),m.cellRendered()}}),this.leftCol--,this.getVisibleRows().forEach(k=>{k.type!=="group"&&(k.modules.vdomHoz.leftCol=this.leftCol)}),this.leftCol<=0?this.vDomPadLeft=0:this.vDomPadLeft-=C.getWidth();let D=this.fitDataColActualWidthCheck(C);D&&(this.scrollLeft=this.elementVertical.scrollLeft=this.elementVertical.scrollLeft+D,this.vDomPadRight-=D)}else r=!1;else r=!1}e&&(this.tableElement.style.paddingLeft=this.vDomPadLeft+"px")}removeColRight(){for(var e=!1,r=!0;r;){let C=this.columns[this.rightCol];C&&C.modules.vdomHoz.leftPos>this.vDomScrollPosRight?(e=!0,this.getVisibleRows().forEach(D=>{if(D.type!=="group"){var k=D.getCell(C);try{D.getElement().removeChild(k.getElement())}catch(m){console.warn("Could not removeColRight",m.message)}}}),this.vDomPadRight+=C.getWidth(),this.rightCol--,this.getVisibleRows().forEach(D=>{D.type!=="group"&&(D.modules.vdomHoz.rightCol=this.rightCol)})):r=!1}e&&(this.tableElement.style.paddingRight=this.vDomPadRight+"px")}removeColLeft(){for(var e=!1,r=!0;r;){let C=this.columns[this.leftCol];C&&C.modules.vdomHoz.rightPos{if(D.type!=="group"){var k=D.getCell(C);try{D.getElement().removeChild(k.getElement())}catch(m){console.warn("Could not removeColLeft",m.message)}}}),this.vDomPadLeft+=C.getWidth(),this.leftCol++,this.getVisibleRows().forEach(D=>{D.type!=="group"&&(D.modules.vdomHoz.leftCol=this.leftCol)})):r=!1}e&&(this.tableElement.style.paddingLeft=this.vDomPadLeft+"px")}fitDataColActualWidthCheck(e){var r,C;return e.modules.vdomHoz.fitDataCheck&&(e.reinitializeWidth(),r=e.getWidth(),C=r-e.modules.vdomHoz.width,C&&(e.modules.vdomHoz.rightPos+=C,e.modules.vdomHoz.width=r,this.colPositionAdjust(this.columns.indexOf(e)+1,this.columns.length,C)),e.modules.vdomHoz.fitDataCheck=!1),C}initializeRow(e){if(e.type!=="group"){e.modules.vdomHoz={leftCol:this.leftCol,rightCol:this.rightCol},this.table.modules.frozenColumns&&this.table.modules.frozenColumns.leftColumns.forEach(r=>{this.appendCell(e,r)});for(let r=this.leftCol;r<=this.rightCol;r++)this.appendCell(e,this.columns[r]);this.table.modules.frozenColumns&&this.table.modules.frozenColumns.rightColumns.forEach(r=>{this.appendCell(e,r)})}}appendCell(e,r){if(r&&r.visible){let C=e.getCell(r);e.getElement().appendChild(C.getElement()),C.cellRendered()}}reinitializeRow(e,r){if(e.type!=="group"&&(r||!e.modules.vdomHoz||e.modules.vdomHoz.leftCol!==this.leftCol||e.modules.vdomHoz.rightCol!==this.rightCol)){for(var C=e.getElement();C.firstChild;)C.removeChild(C.firstChild);this.initializeRow(e)}}}class FP extends Ml{constructor(e){super(e),this.blockHozScrollEvent=!1,this.headersElement=null,this.contentsElement=null,this.element=null,this.columns=[],this.columnsByIndex=[],this.columnsByField={},this.scrollLeft=0,this.optionsList=new JM(this.table,"column definition",RM),this.redrawBlock=!1,this.redrawBlockUpdate=null,this.renderer=null}initialize(){this.initializeRenderer(),this.headersElement=this.createHeadersElement(),this.contentsElement=this.createHeaderContentsElement(),this.element=this.createHeaderElement(),this.contentsElement.insertBefore(this.headersElement,this.contentsElement.firstChild),this.element.insertBefore(this.contentsElement,this.element.firstChild),this.initializeScrollWheelWatcher(),this.subscribe("scroll-horizontal",this.scrollHorizontal.bind(this)),this.subscribe("scrollbar-vertical",this.padVerticalScrollbar.bind(this))}padVerticalScrollbar(e){this.table.rtl?this.headersElement.style.marginLeft=e+"px":this.headersElement.style.marginRight=e+"px"}initializeRenderer(){var e,r={virtual:zP,basic:DP};typeof this.table.options.renderHorizontal=="string"?e=r[this.table.options.renderHorizontal]:e=this.table.options.renderHorizontal,e?(this.renderer=new e(this.table,this.element,this.tableElement),this.renderer.initialize()):console.error("Unable to find matching renderer:",this.table.options.renderHorizontal)}createHeadersElement(){var e=document.createElement("div");return e.classList.add("tabulator-headers"),e.setAttribute("role","row"),e}createHeaderContentsElement(){var e=document.createElement("div");return e.classList.add("tabulator-header-contents"),e.setAttribute("role","rowgroup"),e}createHeaderElement(){var e=document.createElement("div");return e.classList.add("tabulator-header"),e.setAttribute("role","rowgroup"),this.table.options.headerVisible||e.classList.add("tabulator-header-hidden"),e}getElement(){return this.element}getContentsElement(){return this.contentsElement}getHeadersElement(){return this.headersElement}scrollHorizontal(e){this.contentsElement.scrollLeft=e,this.scrollLeft=e,this.renderer.scrollColumns(e)}initializeScrollWheelWatcher(){this.contentsElement.addEventListener("wheel",e=>{var r;e.deltaX&&(r=this.contentsElement.scrollLeft+e.deltaX,this.table.rowManager.scrollHorizontal(r),this.table.columnManager.scrollHorizontal(r))})}generateColumnsFromRowData(e){var r=[],C=this.table.options.autoColumnsDefinitions,D,k;if(e&&e.length){D=e[0];for(var m in D){let t={field:m,title:m},d=D[m];switch(typeof d){case"undefined":k="string";break;case"boolean":k="boolean";break;case"object":Array.isArray(d)?k="array":k="string";break;default:!isNaN(d)&&d!==""?k="number":d.match(/((^[0-9]+[a-z]+)|(^[a-z]+[0-9]+))+$/i)?k="alphanum":k="string";break}t.sorter=k,r.push(t)}if(C)switch(typeof C){case"function":this.table.options.columns=C.call(this.table,r);break;case"object":Array.isArray(C)?r.forEach(t=>{var d=C.find(y=>y.field===t.field);d&&Object.assign(t,d)}):r.forEach(t=>{C[t.field]&&Object.assign(t,C[t.field])}),this.table.options.columns=r;break}else this.table.options.columns=r;this.setColumns(this.table.options.columns)}}setColumns(e,r){for(;this.headersElement.firstChild;)this.headersElement.removeChild(this.headersElement.firstChild);this.columns=[],this.columnsByIndex=[],this.columnsByField={},this.dispatch("columns-loading"),e.forEach((C,D)=>{this._addColumn(C)}),this._reIndexColumns(),this.dispatch("columns-loaded"),this.rerenderColumns(!1,!0),this.redraw(!0)}_addColumn(e,r,C){var D=new yf(e,this),k=D.getElement(),m=C&&this.findColumnIndex(C);if(C&&m>-1){var t=C.getTopColumn(),d=this.columns.indexOf(t),y=t.getElement();r?(this.columns.splice(d,0,D),y.parentNode.insertBefore(k,y)):(this.columns.splice(d+1,0,D),y.parentNode.insertBefore(k,y.nextSibling))}else r?(this.columns.unshift(D),this.headersElement.insertBefore(D.getElement(),this.headersElement.firstChild)):(this.columns.push(D),this.headersElement.appendChild(D.getElement()));return D.columnRendered(),D}registerColumnField(e){e.definition.field&&(this.columnsByField[e.definition.field]=e)}registerColumnPosition(e){this.columnsByIndex.push(e)}_reIndexColumns(){this.columnsByIndex=[],this.columns.forEach(function(e){e.reRegisterPosition()})}verticalAlignHeaders(){var e=0;this.redrawBlock||(this.headersElement.style.height="",this.columns.forEach(r=>{r.clearVerticalAlign()}),this.columns.forEach(r=>{var C=r.getHeight();C>e&&(e=C)}),this.headersElement.style.height=e+"px",this.columns.forEach(r=>{r.verticalAlign(this.table.options.columnHeaderVertAlign,e)}),this.table.rowManager.adjustTableSize())}findColumn(e){var r;if(typeof e=="object"){if(e instanceof yf)return e;if(e instanceof IM)return e._getSelf()||!1;if(typeof HTMLElement<"u"&&e instanceof HTMLElement)return r=[],this.columns.forEach(D=>{r.push(D),r=r.concat(D.getColumns(!0))}),r.find(D=>D.element===e)||!1}else return this.columnsByField[e]||!1;return!1}getColumnByField(e){return this.columnsByField[e]}getColumnsByFieldRoot(e){var r=[];return Object.keys(this.columnsByField).forEach(C=>{var D=this.table.options.nestedFieldSeparator?C.split(this.table.options.nestedFieldSeparator)[0]:C;D===e&&r.push(this.columnsByField[C])}),r}getColumnByIndex(e){return this.columnsByIndex[e]}getFirstVisibleColumn(){var e=this.columnsByIndex.findIndex(r=>r.visible);return e>-1?this.columnsByIndex[e]:!1}getVisibleColumnsByIndex(){return this.columnsByIndex.filter(e=>e.visible)}getColumns(){return this.columns}findColumnIndex(e){return this.columnsByIndex.findIndex(r=>e===r)}getRealColumns(){return this.columnsByIndex}traverse(e){this.columnsByIndex.forEach((r,C)=>{e(r,C)})}getDefinitions(e){var r=[];return this.columnsByIndex.forEach(C=>{(!e||e&&C.visible)&&r.push(C.getDefinition())}),r}getDefinitionTree(){var e=[];return this.columns.forEach(r=>{e.push(r.getDefinition(!0))}),e}getComponents(e){var r=[],C=e?this.columns:this.columnsByIndex;return C.forEach(D=>{r.push(D.getComponent())}),r}getWidth(){var e=0;return this.columnsByIndex.forEach(r=>{r.visible&&(e+=r.getWidth())}),e}moveColumn(e,r,C){r.element.parentNode.insertBefore(e.element,r.element),C&&r.element.parentNode.insertBefore(r.element,e.element),this.moveColumnActual(e,r,C),this.verticalAlignHeaders(),this.table.rowManager.reinitialize()}moveColumnActual(e,r,C){e.parent.isGroup?this._moveColumnInArray(e.parent.columns,e,r,C):this._moveColumnInArray(this.columns,e,r,C),this._moveColumnInArray(this.columnsByIndex,e,r,C,!0),this.rerenderColumns(!0),this.dispatch("column-moved",e,r,C),this.subscribedExternal("columnMoved")&&this.dispatchExternal("columnMoved",e.getComponent(),this.table.columnManager.getComponents())}_moveColumnInArray(e,r,C,D,k){var m=e.indexOf(r),t,d=[];m>-1&&(e.splice(m,1),t=e.indexOf(C),t>-1?D&&(t=t+1):t=m,e.splice(t,0,r),k&&(d=this.chain("column-moving-rows",[r,C,D],null,[])||[],d=d.concat(this.table.rowManager.rows),d.forEach(function(y){if(y.cells.length){var i=y.cells.splice(m,1)[0];y.cells.splice(t,0,i)}})))}scrollToColumn(e,r,C){var D=0,k=e.getLeftOffset(),m=0,t=e.getElement();return new Promise((d,y)=>{if(typeof r>"u"&&(r=this.table.options.scrollToColumnPosition),typeof C>"u"&&(C=this.table.options.scrollToColumnIfVisible),e.visible){switch(r){case"middle":case"center":m=-this.element.clientWidth/2;break;case"right":m=t.clientWidth-this.headersElement.clientWidth;break}if(!C&&k>0&&k+t.offsetWidth{r.push(C.generateCell(e))}),r}getFlexBaseWidth(){var e=this.table.element.clientWidth,r=0;return this.table.rowManager.element.scrollHeight>this.table.rowManager.element.clientHeight&&(e-=this.table.rowManager.element.offsetWidth-this.table.rowManager.element.clientWidth),this.columnsByIndex.forEach(function(C){var D,k,m;C.visible&&(D=C.definition.width||0,k=parseInt(C.minWidth),typeof D=="string"?D.indexOf("%")>-1?m=e/100*parseInt(D):m=parseInt(D):m=D,r+=m>k?m:k)}),r}addColumn(e,r,C){return new Promise((D,k)=>{var m=this._addColumn(e,r,C);this._reIndexColumns(),this.dispatch("column-add",e,r,C),this.layoutMode()!="fitColumns"&&m.reinitializeWidth(),this.redraw(!0),this.table.rowManager.reinitialize(),this.rerenderColumns(),D(m)})}deregisterColumn(e){var r=e.getField(),C;r&&delete this.columnsByField[r],C=this.columnsByIndex.indexOf(e),C>-1&&this.columnsByIndex.splice(C,1),C=this.columns.indexOf(e),C>-1&&this.columns.splice(C,1),this.verticalAlignHeaders(),this.redraw()}rerenderColumns(e,r){this.redrawBlock?(e===!1||e===!0&&this.redrawBlockUpdate===null)&&(this.redrawBlockUpdate=e):this.renderer.rerenderColumns(e,r)}blockRedraw(){this.redrawBlock=!0,this.redrawBlockUpdate=null}restoreRedraw(){this.redrawBlock=!1,this.verticalAlignHeaders(),this.renderer.rerenderColumns(this.redrawBlockUpdate)}redraw(e){oo.elVisible(this.element)&&this.verticalAlignHeaders(),e&&(this.table.rowManager.resetScroll(),this.table.rowManager.reinitialize()),this.confirm("table-redrawing",e)||this.layoutRefresh(e),this.dispatch("table-redraw",e),this.table.footerManager.redraw()}}class BP extends Zy{constructor(e){super(e),this.verticalFillMode="fill",this.scrollTop=0,this.scrollLeft=0,this.scrollTop=0,this.scrollLeft=0}clearRows(){for(var e=this.tableElement;e.firstChild;)e.removeChild(e.firstChild);e.scrollTop=0,e.scrollLeft=0,e.style.minWidth="",e.style.minHeight="",e.style.display="",e.style.visibility=""}renderRows(){var e=this.tableElement,r=!0,C=document.createDocumentFragment(),D=this.rows();D.forEach((k,m)=>{this.styleRow(k,m),k.initialize(!1,!0),k.type!=="group"&&(r=!1),C.appendChild(k.getElement())}),e.appendChild(C),D.forEach(k=>{k.rendered(),k.heightInitialized||k.calcHeight(!0)}),D.forEach(k=>{k.heightInitialized||k.setCellHeight()}),r?e.style.minWidth=this.table.columnManager.getWidth()+"px":e.style.minWidth=""}rerenderRows(e){this.clearRows(),e&&e(),this.renderRows(),this.rows().length||this.table.rowManager.tableEmpty()}scrollToRowNearestTop(e){var r=oo.elOffset(e.getElement()).top;return!(Math.abs(this.elementVertical.scrollTop-r)>Math.abs(this.elementVertical.scrollTop+this.elementVertical.clientHeight-r))}scrollToRow(e){var r=e.getElement();this.elementVertical.scrollTop=oo.elOffset(r).top-oo.elOffset(this.elementVertical).top+this.elementVertical.scrollTop}visibleRows(e){return this.rows()}}class NP extends Zy{constructor(e){super(e),this.verticalFillMode="fill",this.scrollTop=0,this.scrollLeft=0,this.vDomRowHeight=20,this.vDomTop=0,this.vDomBottom=0,this.vDomScrollPosTop=0,this.vDomScrollPosBottom=0,this.vDomTopPad=0,this.vDomBottomPad=0,this.vDomMaxRenderChain=90,this.vDomWindowBuffer=0,this.vDomWindowMinTotalRows=20,this.vDomWindowMinMarginRows=5,this.vDomTopNewRows=[],this.vDomBottomNewRows=[]}clearRows(){for(var e=this.tableElement;e.firstChild;)e.removeChild(e.firstChild);e.style.paddingTop="",e.style.paddingBottom="",e.style.minHeight="",e.style.display="",e.style.visibility="",this.elementVertical.scrollTop=0,this.elementVertical.scrollLeft=0,this.scrollTop=0,this.scrollLeft=0,this.vDomTop=0,this.vDomBottom=0,this.vDomTopPad=0,this.vDomBottomPad=0,this.vDomScrollPosTop=0,this.vDomScrollPosBottom=0}renderRows(){this._virtualRenderFill()}rerenderRows(e){for(var r=this.elementVertical.scrollTop,C=!1,D=!1,k=this.table.rowManager.scrollLeft,m=this.rows(),t=this.vDomTop;t<=this.vDomBottom;t++)if(m[t]){var d=r-m[t].getElement().offsetTop;if(D===!1||Math.abs(d){y.deinitializeHeight()}),e&&e(),this.rows().length?this._virtualRenderFill(C===!1?this.rows.length-1:C,!0,D||0):(this.clear(),this.table.rowManager.tableEmpty()),this.scrollColumns(k)}scrollColumns(e){this.table.rowManager.scrollHorizontal(e)}scrollRows(e,r){var C=e-this.vDomScrollPosTop,D=e-this.vDomScrollPosBottom,k=this.vDomWindowBuffer*2,m=this.rows();if(this.scrollTop=e,-C>k||D>k){var t=this.table.rowManager.scrollLeft;this._virtualRenderFill(Math.floor(this.elementVertical.scrollTop/this.elementVertical.scrollHeight*m.length)),this.scrollColumns(t)}else r?(C<0&&this._addTopRow(m,-C),D<0&&(this.vDomScrollHeight-this.scrollTop>this.vDomWindowBuffer?this._removeBottomRow(m,-D):this.vDomScrollPosBottom=this.scrollTop)):(D>=0&&this._addBottomRow(m,D),C>=0&&(this.scrollTop>this.vDomWindowBuffer?this._removeTopRow(m,C):this.vDomScrollPosTop=this.scrollTop))}resize(){this.vDomWindowBuffer=this.table.options.renderVerticalBuffer||this.elementVertical.clientHeight}scrollToRowNearestTop(e){var r=this.rows().indexOf(e);return!(Math.abs(this.vDomTop-r)>Math.abs(this.vDomBottom-r))}scrollToRow(e){var r=this.rows().indexOf(e);r>-1&&this._virtualRenderFill(r,!0)}visibleRows(e){var r=this.elementVertical.scrollTop,C=this.elementVertical.clientHeight+r,D=!1,k=0,m=0,t=this.rows();if(e)k=this.vDomTop,m=this.vDomBottom;else for(var d=this.vDomTop;d<=this.vDomBottom;d++)if(t[d])if(D)if(C-t[d].getElement().offsetTop>=0)m=d;else break;else if(r-t[d].getElement().offsetTop>=0)k=d;else if(D=!0,C-t[d].getElement().offsetTop>=0)m=d;else break;return t.slice(k,m+1)}_virtualRenderFill(e,r,C){var D=this.tableElement,k=this.elementVertical,m=0,t=0,d=0,y=0,i=0,M=0,v=this.rows(),h=v.length,l=0,a,u,s=[],o=0,c=0,f=this.table.rowManager.fixedHeight,p=this.elementVertical.clientHeight,w=this.table.options.rowHeight,g=!0;if(e=e||0,C=C||0,!e)this.clear();else{for(;D.firstChild;)D.removeChild(D.firstChild);y=(h-e+1)*this.vDomRowHeight,y{S.rendered(),S.heightInitialized||S.calcHeight(!0)}),s.forEach(S=>{S.heightInitialized||S.setCellHeight()}),s.forEach(S=>{d=S.getHeight(),othis.vDomWindowBuffer&&(this.vDomWindowBuffer=d*2),o++}),g=this.table.rowManager.adjustTableSize(),p=this.elementVertical.clientHeight,g&&(f||this.table.options.maxHeight)&&(w=t/o,c=Math.max(this.vDomWindowMinTotalRows,Math.ceil(p/w+this.vDomWindowBuffer/w)))}e?(this.vDomTopPad=r?this.vDomRowHeight*this.vDomTop+C:this.scrollTop-i,this.vDomBottomPad=this.vDomBottom==h-1?0:Math.max(this.vDomScrollHeight-this.vDomTopPad-t-i,0)):(this.vDomTopPad=0,this.vDomRowHeight=Math.floor((t+i)/o),this.vDomBottomPad=this.vDomRowHeight*(h-this.vDomBottom-1),this.vDomScrollHeight=i+t+this.vDomBottomPad-p),D.style.paddingTop=this.vDomTopPad+"px",D.style.paddingBottom=this.vDomBottomPad+"px",r&&(this.scrollTop=this.vDomTopPad+i+C-(this.elementVertical.scrollWidth>this.elementVertical.clientWidth?this.elementVertical.offsetHeight-p:0)),this.scrollTop=Math.min(this.scrollTop,this.elementVertical.scrollHeight-p),this.elementVertical.scrollWidth>this.elementVertical.clientWidth&&r&&(this.scrollTop+=this.elementVertical.offsetHeight-p),this.vDomScrollPosTop=this.scrollTop,this.vDomScrollPosBottom=this.scrollTop,k.scrollTop=this.scrollTop,this.dispatch("render-virtual-fill")}}_addTopRow(e,r){for(var C=this.tableElement,D=[],k=0,m=this.vDomTop-1,t=0,d=!0;d;)if(this.vDomTop){let y=e[m],i,M;y&&t=i?(this.styleRow(y,m),C.insertBefore(y.getElement(),C.firstChild),(!y.initialized||!y.heightInitialized)&&D.push(y),y.initialize(),M||(i=y.getElement().offsetHeight,i>this.vDomWindowBuffer&&(this.vDomWindowBuffer=i*2)),r-=i,k+=i,this.vDomTop--,m--,t++):d=!1):d=!1}else d=!1;for(let y of D)y.clearCellHeight();this._quickNormalizeRowHeight(D),k&&(this.vDomTopPad-=k,this.vDomTopPad<0&&(this.vDomTopPad=m*this.vDomRowHeight),m<1&&(this.vDomTopPad=0),C.style.paddingTop=this.vDomTopPad+"px",this.vDomScrollPosTop-=k)}_removeTopRow(e,r){for(var C=[],D=0,k=0,m=!0;m;){let t=e[this.vDomTop],d;t&&k=d?(this.vDomTop++,r-=d,D+=d,C.push(t),k++):m=!1):m=!1}for(let t of C){let d=t.getElement();d.parentNode&&d.parentNode.removeChild(d)}D&&(this.vDomTopPad+=D,this.tableElement.style.paddingTop=this.vDomTopPad+"px",this.vDomScrollPosTop+=this.vDomTop?D:D+this.vDomWindowBuffer)}_addBottomRow(e,r){for(var C=this.tableElement,D=[],k=0,m=this.vDomBottom+1,t=0,d=!0;d;){let y=e[m],i,M;y&&t=i?(this.styleRow(y,m),C.appendChild(y.getElement()),(!y.initialized||!y.heightInitialized)&&D.push(y),y.initialize(),M||(i=y.getElement().offsetHeight,i>this.vDomWindowBuffer&&(this.vDomWindowBuffer=i*2)),r-=i,k+=i,this.vDomBottom++,m++,t++):d=!1):d=!1}for(let y of D)y.clearCellHeight();this._quickNormalizeRowHeight(D),k&&(this.vDomBottomPad-=k,(this.vDomBottomPad<0||m==e.length-1)&&(this.vDomBottomPad=0),C.style.paddingBottom=this.vDomBottomPad+"px",this.vDomScrollPosBottom+=k)}_removeBottomRow(e,r){for(var C=[],D=0,k=0,m=!0;m;){let t=e[this.vDomBottom],d;t&&k=d?(this.vDomBottom--,r-=d,D+=d,C.push(t),k++):m=!1):m=!1}for(let t of C){let d=t.getElement();d.parentNode&&d.parentNode.removeChild(d)}D&&(this.vDomBottomPad+=D,this.vDomBottomPad<0&&(this.vDomBottomPad=0),this.tableElement.style.paddingBottom=this.vDomBottomPad+"px",this.vDomScrollPosBottom-=D)}_quickNormalizeRowHeight(e){for(let r of e)r.calcHeight();for(let r of e)r.setCellHeight()}}class VP extends Ml{constructor(e){super(e),this.element=this.createHolderElement(),this.tableElement=this.createTableElement(),this.heightFixer=this.createTableElement(),this.placeholder=null,this.placeholderContents=null,this.firstRender=!1,this.renderMode="virtual",this.fixedHeight=!1,this.rows=[],this.activeRowsPipeline=[],this.activeRows=[],this.activeRowsCount=0,this.displayRows=[],this.displayRowsCount=0,this.scrollTop=0,this.scrollLeft=0,this.redrawBlock=!1,this.redrawBlockRestoreConfig=!1,this.redrawBlockRenderInPosition=!1,this.dataPipeline=[],this.displayPipeline=[],this.scrollbarWidth=0,this.renderer=null}createHolderElement(){var e=document.createElement("div");return e.classList.add("tabulator-tableholder"),e.setAttribute("tabindex",0),e}createTableElement(){var e=document.createElement("div");return e.classList.add("tabulator-table"),e.setAttribute("role","rowgroup"),e}initializePlaceholder(){var e=this.table.options.placeholder;if(typeof e=="function"&&(e=e.call(this.table)),e=this.chain("placeholder",[e],e,e)||e,e){let r=document.createElement("div");if(r.classList.add("tabulator-placeholder"),typeof e=="string"){let C=document.createElement("div");C.classList.add("tabulator-placeholder-contents"),C.innerHTML=e,r.appendChild(C),this.placeholderContents=C}else typeof HTMLElement<"u"&&e instanceof HTMLElement?(r.appendChild(e),this.placeholderContents=e):(console.warn("Invalid placeholder provided, must be string or HTML Element",e),this.el=null);this.placeholder=r}}getElement(){return this.element}getTableElement(){return this.tableElement}initialize(){this.initializePlaceholder(),this.initializeRenderer(),this.element.appendChild(this.tableElement),this.firstRender=!0,this.element.addEventListener("scroll",()=>{var e=this.element.scrollLeft,r=this.scrollLeft>e,C=this.element.scrollTop,D=this.scrollTop>C;this.scrollLeft!=e&&(this.scrollLeft=e,this.dispatch("scroll-horizontal",e,r),this.dispatchExternal("scrollHorizontal",e,r),this._positionPlaceholder()),this.scrollTop!=C&&(this.scrollTop=C,this.renderer.scrollRows(C,D),this.dispatch("scroll-vertical",C,D),this.dispatchExternal("scrollVertical",C,D))})}findRow(e){if(typeof e=="object"){if(e instanceof yl)return e;if(e instanceof Wy)return e._getSelf()||!1;if(typeof HTMLElement<"u"&&e instanceof HTMLElement)return this.rows.find(C=>C.getElement()===e)||!1;if(e===null)return!1}else return typeof e>"u"?!1:this.rows.find(C=>C.data[this.table.options.index]==e)||!1;return!1}getRowFromDataObject(e){var r=this.rows.find(C=>C.data===e);return r||!1}getRowFromPosition(e){return this.getDisplayRows().find(r=>r.getPosition()===e&&r.isDisplayed())}scrollToRow(e,r,C){return this.renderer.scrollToRowPosition(e,r,C)}setData(e,r,C){return new Promise((D,k)=>{r&&this.getDisplayRows().length?this.table.options.pagination?this._setDataActual(e,!0):this.reRenderInPosition(()=>{this._setDataActual(e)}):(this.table.options.autoColumns&&C&&this.table.initialized&&this.table.columnManager.generateColumnsFromRowData(e),this.resetScroll(),this._setDataActual(e)),D()})}_setDataActual(e,r){this.dispatchExternal("dataProcessing",e),this._wipeElements(),Array.isArray(e)?(this.dispatch("data-processing",e),e.forEach((C,D)=>{if(C&&typeof C=="object"){var k=new yl(C,this);this.rows.push(k)}else console.warn("Data Loading Warning - Invalid row data detected and ignored, expecting object but received:",C)}),this.refreshActiveData(!1,!1,r),this.dispatch("data-processed",e),this.dispatchExternal("dataProcessed",e)):console.error(`Data Loading Error - Unable to process data due to invalid data type +`,n.getElement().classList.add("tabulator-row-handle");function T(p){var t=D.element;D.open=p,t&&(D.open?(C.classList.add("open"),t.style.display=""):(C.classList.remove("open"),t.style.display="none"))}return C.addEventListener("click",function(p){p.stopImmediatePropagation(),T(!D.open),n.getTable().rowManager.adjustTableSize()}),T(D.open),C}function aP(n,e,r){var C=document.createElement("input"),D=!1;if(C.type="checkbox",C.setAttribute("aria-label","Select Row"),this.table.modExists("selectRow",!0))if(C.addEventListener("click",p=>{p.stopPropagation()}),typeof n.getRow=="function"){var T=n.getRow();T instanceof Wy?(C.addEventListener("change",p=>{this.table.options.selectableRowsRangeMode==="click"&&D?D=!1:T.toggleSelect()}),this.table.options.selectableRowsRangeMode==="click"&&C.addEventListener("click",p=>{D=!0,this.table.modules.selectRow.handleComplexRowClick(T._row,p)}),C.checked=T.isSelected&&T.isSelected(),this.table.modules.selectRow.registerRowSelectCheckbox(T,C)):C=""}else C.addEventListener("change",p=>{this.table.modules.selectRow.selectedRows.length?this.table.deselectRow():this.table.selectRow(e.rowRange)}),this.table.modules.selectRow.registerHeaderSelectCheckbox(C);return C}var oP={plaintext:VR,html:jR,textarea:UR,money:HR,link:GR,image:qR,tickCross:WR,datetime:YR,datetimediff:$R,lookup:ZR,star:XR,traffic:KR,progress:JR,color:QR,buttonTick:eP,buttonCross:tP,rownum:nP,handle:rP,responsiveCollapse:iP,rowSelection:aP};class Yu extends qi{constructor(e){super(e),this.registerColumnOption("formatter"),this.registerColumnOption("formatterParams"),this.registerColumnOption("formatterPrint"),this.registerColumnOption("formatterPrintParams"),this.registerColumnOption("formatterClipboard"),this.registerColumnOption("formatterClipboardParams"),this.registerColumnOption("formatterHtmlOutput"),this.registerColumnOption("formatterHtmlOutputParams"),this.registerColumnOption("titleFormatter"),this.registerColumnOption("titleFormatterParams")}initialize(){this.subscribe("cell-format",this.formatValue.bind(this)),this.subscribe("cell-rendered",this.cellRendered.bind(this)),this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("column-format",this.formatHeader.bind(this))}initializeColumn(e){e.modules.format=this.lookupFormatter(e,""),typeof e.definition.formatterPrint<"u"&&(e.modules.format.print=this.lookupFormatter(e,"Print")),typeof e.definition.formatterClipboard<"u"&&(e.modules.format.clipboard=this.lookupFormatter(e,"Clipboard")),typeof e.definition.formatterHtmlOutput<"u"&&(e.modules.format.htmlOutput=this.lookupFormatter(e,"HtmlOutput"))}lookupFormatter(e,r){var C={params:e.definition["formatter"+r+"Params"]||{}},D=e.definition["formatter"+r];switch(typeof D){case"string":Yu.formatters[D]?C.formatter=Yu.formatters[D]:(console.warn("Formatter Error - No such formatter found: ",D),C.formatter=Yu.formatters.plaintext);break;case"function":C.formatter=D;break;default:C.formatter=Yu.formatters.plaintext;break}return C}cellRendered(e){e.modules.format&&e.modules.format.renderedCallback&&!e.modules.format.rendered&&(e.modules.format.renderedCallback(),e.modules.format.rendered=!0)}formatHeader(e,r,C){var D,T,p,t;return e.definition.titleFormatter?(D=this.getFormatter(e.definition.titleFormatter),p=d=>{e.titleFormatterRendered=d},t={getValue:function(){return r},getElement:function(){return C},getType:function(){return"header"},getColumn:function(){return e.getComponent()},getTable:()=>this.table},T=e.definition.titleFormatterParams||{},T=typeof T=="function"?T():T,D.call(this,t,T,p)):r}formatValue(e){var r=e.getComponent(),C=typeof e.column.modules.format.params=="function"?e.column.modules.format.params(r):e.column.modules.format.params;function D(T){e.modules.format||(e.modules.format={}),e.modules.format.renderedCallback=T,e.modules.format.rendered=!1}return e.column.modules.format.formatter.call(this,r,C,D)}formatExportValue(e,r){var C=e.column.modules.format[r],D;if(C){let p=function(t){e.modules.format||(e.modules.format={}),e.modules.format.renderedCallback=t,e.modules.format.rendered=!1};var T=p;return D=typeof C.params=="function"?C.params(e.getComponent()):C.params,C.formatter.call(this,e.getComponent(),D,p)}else return this.formatValue(e)}sanitizeHTML(e){if(e){var r={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};return String(e).replace(/[&<>"'`=/]/g,function(C){return r[C]})}else return e}emptyToSpace(e){return e===null||typeof e>"u"||e===""?" ":e}getFormatter(e){switch(typeof e){case"string":Yu.formatters[e]?e=Yu.formatters[e]:(console.warn("Formatter Error - No such formatter found: ",e),e=Yu.formatters.plaintext);break;case"function":break;default:e=Yu.formatters.plaintext;break}return e}}Yu.moduleName="format";Yu.formatters=oP;class zM extends qi{constructor(e){super(e),this.leftColumns=[],this.rightColumns=[],this.initializationMode="left",this.active=!1,this.blocked=!0,this.registerColumnOption("frozen")}reset(){this.initializationMode="left",this.leftColumns=[],this.rightColumns=[],this.active=!1}initialize(){this.subscribe("cell-layout",this.layoutCell.bind(this)),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("column-width",this.layout.bind(this)),this.subscribe("row-layout-after",this.layoutRow.bind(this)),this.subscribe("table-layout",this.layout.bind(this)),this.subscribe("columns-loading",this.reset.bind(this)),this.subscribe("column-add",this.reinitializeColumns.bind(this)),this.subscribe("column-deleted",this.reinitializeColumns.bind(this)),this.subscribe("column-hide",this.reinitializeColumns.bind(this)),this.subscribe("column-show",this.reinitializeColumns.bind(this)),this.subscribe("columns-loaded",this.reinitializeColumns.bind(this)),this.subscribe("table-redraw",this.layout.bind(this)),this.subscribe("layout-refreshing",this.blockLayout.bind(this)),this.subscribe("layout-refreshed",this.unblockLayout.bind(this)),this.subscribe("scrollbar-vertical",this.adjustForScrollbar.bind(this))}blockLayout(){this.blocked=!0}unblockLayout(){this.blocked=!1}layoutCell(e){this.layoutElement(e.element,e.column)}reinitializeColumns(){this.reset(),this.table.columnManager.columnsByIndex.forEach(e=>{this.initializeColumn(e)}),this.layout()}initializeColumn(e){var r={margin:0,edge:!1};e.isGroup||(this.frozenCheck(e)?(r.position=this.initializationMode,this.initializationMode=="left"?this.leftColumns.push(e):this.rightColumns.unshift(e),this.active=!0,e.modules.frozen=r):this.initializationMode="right")}frozenCheck(e){return e.parent.isGroup&&e.definition.frozen&&console.warn("Frozen Column Error - Parent column group must be frozen, not individual columns or sub column groups"),e.parent.isGroup?this.frozenCheck(e.parent):e.definition.frozen}layoutCalcRows(){this.table.modExists("columnCalcs")&&(this.table.modules.columnCalcs.topInitialized&&this.table.modules.columnCalcs.topRow&&this.layoutRow(this.table.modules.columnCalcs.topRow),this.table.modules.columnCalcs.botInitialized&&this.table.modules.columnCalcs.botRow&&this.layoutRow(this.table.modules.columnCalcs.botRow),this.table.modExists("groupRows")&&this.layoutGroupCalcs(this.table.modules.groupRows.getGroups()))}layoutGroupCalcs(e){e.forEach(r=>{r.calcs.top&&this.layoutRow(r.calcs.top),r.calcs.bottom&&this.layoutRow(r.calcs.bottom),r.groupList&&r.groupList.length&&this.layoutGroupCalcs(r.groupList)})}layoutColumnPosition(e){var r=[],C=0,D=0;this.leftColumns.forEach((T,p)=>{if(T.modules.frozen.marginValue=C,T.modules.frozen.margin=T.modules.frozen.marginValue+"px",T.visible&&(C+=T.getWidth()),p==this.leftColumns.length-1?T.modules.frozen.edge=!0:T.modules.frozen.edge=!1,T.parent.isGroup){var t=this.getColGroupParentElement(T);r.includes(t)||(this.layoutElement(t,T),r.push(t)),t.classList.toggle("tabulator-frozen-left",T.modules.frozen.edge&&T.modules.frozen.position==="left"),t.classList.toggle("tabulator-frozen-right",T.modules.frozen.edge&&T.modules.frozen.position==="right")}else this.layoutElement(T.getElement(),T);e&&T.cells.forEach(d=>{this.layoutElement(d.getElement(!0),T)})}),this.rightColumns.forEach((T,p)=>{T.modules.frozen.marginValue=D,T.modules.frozen.margin=T.modules.frozen.marginValue+"px",T.visible&&(D+=T.getWidth()),p==this.rightColumns.length-1?T.modules.frozen.edge=!0:T.modules.frozen.edge=!1,T.parent.isGroup?this.layoutElement(this.getColGroupParentElement(T),T):this.layoutElement(T.getElement(),T),e&&T.cells.forEach(t=>{this.layoutElement(t.getElement(!0),T)})})}getColGroupParentElement(e){return e.parent.isGroup?this.getColGroupParentElement(e.parent):e.getElement()}layout(){this.active&&!this.blocked&&(this.layoutColumnPosition(),this.reinitializeRows(),this.layoutCalcRows())}reinitializeRows(){var e=this.table.rowManager.getVisibleRows(!0),r=this.table.rowManager.getRows().filter(C=>!e.includes(C));r.forEach(C=>{C.deinitialize()}),e.forEach(C=>{C.type==="row"&&this.layoutRow(C)})}layoutRow(e){this.table.options.layout==="fitDataFill"&&this.rightColumns.length&&(this.table.rowManager.getTableElement().style.minWidth="calc(100% - "+this.rightMargin+")"),this.leftColumns.forEach(r=>{var C=e.getCell(r);C&&this.layoutElement(C.getElement(!0),r)}),this.rightColumns.forEach(r=>{var C=e.getCell(r);C&&this.layoutElement(C.getElement(!0),r)})}layoutElement(e,r){var C;r.modules.frozen&&e&&(e.style.position="sticky",this.table.rtl?C=r.modules.frozen.position==="left"?"right":"left":C=r.modules.frozen.position,e.style[C]=r.modules.frozen.margin,e.classList.add("tabulator-frozen"),e.classList.toggle("tabulator-frozen-left",r.modules.frozen.edge&&r.modules.frozen.position==="left"),e.classList.toggle("tabulator-frozen-right",r.modules.frozen.edge&&r.modules.frozen.position==="right"))}adjustForScrollbar(e){this.rightColumns.length&&(this.table.columnManager.getContentsElement().style.width="calc(100% - "+e+"px)")}_calcSpace(e,r){var C=0;for(let D=0;D{this.initializeRow(e)})}initializeRow(e){var r=this.table.options.frozenRows,C=typeof r;C==="number"?e.getPosition()&&e.getPosition()+this.rows.length<=r&&this.freezeRow(e):C==="function"?r.call(this.table,e.getComponent())&&this.freezeRow(e):Array.isArray(r)&&r.includes(e.data[this.options("frozenRowsField")])&&this.freezeRow(e)}isRowFrozen(e){var r=this.rows.indexOf(e);return r>-1}isFrozen(){return!!this.rows.length}visibleRows(e,r){return this.rows.forEach(C=>{r.push(C)}),r}getRows(e){var r=e.slice(0);return this.rows.forEach(function(C){var D=r.indexOf(C);D>-1&&r.splice(D,1)}),r}freezeRow(e){e.modules.frozen?console.warn("Freeze Error - Row is already frozen"):(e.modules.frozen=!0,this.topElement.appendChild(e.getElement()),e.initialize(),e.normalizeHeight(),this.rows.push(e),this.refreshData(!1,"display"),this.table.rowManager.adjustTableSize(),this.styleRows())}unfreezeRow(e){e.modules.frozen?(e.modules.frozen=!1,this.detachRow(e),this.table.rowManager.adjustTableSize(),this.refreshData(!1,"display"),this.rows.length&&this.styleRows()):console.warn("Freeze Error - Row is already unfrozen")}detachRow(e){var r=this.rows.indexOf(e);if(r>-1){var C=e.getElement();C.parentNode&&C.parentNode.removeChild(C),this.rows.splice(r,1)}}styleRows(e){this.rows.forEach((r,C)=>{this.table.rowManager.styleRow(r,C)})}}FM.moduleName="frozenRows";class sP{constructor(e){return this._group=e,this.type="GroupComponent",new Proxy(this,{get:function(r,C,D){return typeof r[C]<"u"?r[C]:r._group.groupManager.table.componentFunctionBinder.handle("group",r._group,C)}})}getKey(){return this._group.key}getField(){return this._group.field}getElement(){return this._group.element}getRows(){return this._group.getRows(!0)}getSubGroups(){return this._group.getSubGroups(!0)}getParentGroup(){return this._group.parent?this._group.parent.getComponent():!1}isVisible(){return this._group.visible}show(){this._group.show()}hide(){this._group.hide()}toggle(){this._group.toggleVisibility()}scrollTo(e,r){return this._group.groupManager.table.rowManager.scrollToRow(this._group,e,r)}_getSelf(){return this._group}getTable(){return this._group.groupManager.table}}class Fp{constructor(e,r,C,D,T,p,t){this.groupManager=e,this.parent=r,this.key=D,this.level=C,this.field=T,this.hasSubGroups=C{r.modules&&delete r.modules.group})),this.element=!1,this.arrowElement=!1,this.elementContents=!1}createElements(){var e=document.createElement("div");e.classList.add("tabulator-arrow"),this.element=document.createElement("div"),this.element.classList.add("tabulator-row"),this.element.classList.add("tabulator-group"),this.element.classList.add("tabulator-group-level-"+this.level),this.element.setAttribute("role","rowgroup"),this.arrowElement=document.createElement("div"),this.arrowElement.classList.add("tabulator-group-toggle"),this.arrowElement.appendChild(e),this.groupManager.table.options.movableRows!==!1&&this.groupManager.table.modExists("moveRow")&&this.groupManager.table.modules.moveRow.initializeGroupHeader(this)}createValueGroups(){var e=this.level+1;this.groupManager.allowedValues&&this.groupManager.allowedValues[e]&&this.groupManager.allowedValues[e].forEach(r=>{this._createGroup(r,e)})}addBindings(){var e;this.groupManager.table.options.groupToggleElement&&(e=this.groupManager.table.options.groupToggleElement=="arrow"?this.arrowElement:this.element,e.addEventListener("click",r=>{this.groupManager.table.options.groupToggleElement==="arrow"&&(r.stopPropagation(),r.stopImmediatePropagation()),setTimeout(()=>{this.toggleVisibility()})}))}_createGroup(e,r){var C=r+"_"+e,D=new Fp(this.groupManager,this,r,e,this.groupManager.groupIDLookups[r].field,this.groupManager.headerGenerator[r]||this.groupManager.headerGenerator[0],this.old?this.old.groups[C]:!1);this.groups[C]=D,this.groupList.push(D)}_addRowToGroup(e){var r=this.level+1;if(this.hasSubGroups){var C=this.groupManager.groupIDLookups[r].func(e.getData()),D=r+"_"+C;this.groupManager.allowedValues&&this.groupManager.allowedValues[r]?this.groups[D]&&this.groups[D].addRow(e):(this.groups[D]||this._createGroup(C,r),this.groups[D].addRow(e))}}_addRow(e){this.rows.push(e),e.modules.group=this}insertRow(e,r,C){var D=this.conformRowData({});e.updateData(D);var T=this.rows.indexOf(r);T>-1?C?this.rows.splice(T+1,0,e):this.rows.splice(T,0,e):C?this.rows.push(e):this.rows.unshift(e),e.modules.group=this,this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modules.columnCalcs.recalcGroup(this),this.groupManager.updateGroupRows(!0)}scrollHeader(e){this.arrowElement&&(this.arrowElement.style.marginLeft=e,this.groupList.forEach(function(r){r.scrollHeader(e)}))}getRowIndex(e){}conformRowData(e){return this.field?e[this.field]=this.key:console.warn("Data Conforming Error - Cannot conform row data to match new group as groupBy is a function"),this.parent&&(e=this.parent.conformRowData(e)),e}removeRow(e){var r=this.rows.indexOf(e),C=e.getElement();r>-1&&this.rows.splice(r,1),!this.groupManager.table.options.groupValues&&!this.rows.length?(this.parent?this.parent.removeGroup(this):this.groupManager.removeGroup(this),this.groupManager.updateGroupRows(!0)):(C.parentNode&&C.parentNode.removeChild(C),this.groupManager.blockRedraw||(this.generateGroupHeaderContents(),this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modules.columnCalcs.recalcGroup(this)))}removeGroup(e){var r=e.level+"_"+e.key,C;this.groups[r]&&(delete this.groups[r],C=this.groupList.indexOf(e),C>-1&&this.groupList.splice(C,1),this.groupList.length||(this.parent?this.parent.removeGroup(this):this.groupManager.removeGroup(this)))}getHeadersAndRows(){var e=[];return e.push(this),this._visSet(),this.calcs.top&&(this.calcs.top.detachElement(),this.calcs.top.deleteCells()),this.calcs.bottom&&(this.calcs.bottom.detachElement(),this.calcs.bottom.deleteCells()),this.visible?this.groupList.length?this.groupList.forEach(function(r){e=e.concat(r.getHeadersAndRows())}):(this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.modules.columnCalcs.hasTopCalcs()&&(this.calcs.top=this.groupManager.table.modules.columnCalcs.generateTopRow(this.rows),e.push(this.calcs.top)),e=e.concat(this.rows),this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.modules.columnCalcs.hasBottomCalcs()&&(this.calcs.bottom=this.groupManager.table.modules.columnCalcs.generateBottomRow(this.rows),e.push(this.calcs.bottom))):!this.groupList.length&&this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modExists("columnCalcs")&&(this.groupManager.table.modules.columnCalcs.hasTopCalcs()&&this.groupManager.table.options.groupClosedShowCalcs&&(this.calcs.top=this.groupManager.table.modules.columnCalcs.generateTopRow(this.rows),e.push(this.calcs.top)),this.groupManager.table.modules.columnCalcs.hasBottomCalcs()&&this.groupManager.table.options.groupClosedShowCalcs&&(this.calcs.bottom=this.groupManager.table.modules.columnCalcs.generateBottomRow(this.rows),e.push(this.calcs.bottom))),e}getData(e,r){var C=[];return this._visSet(),(!e||e&&this.visible)&&this.rows.forEach(D=>{C.push(D.getData(r||"data"))}),C}getRowCount(){var e=0;return this.groupList.length?this.groupList.forEach(r=>{e+=r.getRowCount()}):e=this.rows.length,e}toggleVisibility(){this.visible?this.hide():this.show()}hide(){this.visible=!1,this.groupManager.table.rowManager.getRenderMode()=="basic"&&!this.groupManager.table.options.pagination?(this.element.classList.remove("tabulator-group-visible"),this.groupList.length?this.groupList.forEach(e=>{var r=e.getHeadersAndRows();r.forEach(C=>{C.detachElement()})}):this.rows.forEach(e=>{var r=e.getElement();r.parentNode.removeChild(r)}),this.groupManager.updateGroupRows(!0)):this.groupManager.updateGroupRows(!0),this.groupManager.table.externalEvents.dispatch("groupVisibilityChanged",this.getComponent(),!1)}show(){if(this.visible=!0,this.groupManager.table.rowManager.getRenderMode()=="basic"&&!this.groupManager.table.options.pagination){this.element.classList.add("tabulator-group-visible");var e=this.generateElement();this.groupList.length?this.groupList.forEach(r=>{var C=r.getHeadersAndRows();C.forEach(D=>{var T=D.getElement();e.parentNode.insertBefore(T,e.nextSibling),D.initialize(),e=T})}):this.rows.forEach(r=>{var C=r.getElement();e.parentNode.insertBefore(C,e.nextSibling),r.initialize(),e=C}),this.groupManager.updateGroupRows(!0)}else this.groupManager.updateGroupRows(!0);this.groupManager.table.externalEvents.dispatch("groupVisibilityChanged",this.getComponent(),!0)}_visSet(){var e=[];typeof this.visible=="function"&&(this.rows.forEach(function(r){e.push(r.getData())}),this.visible=this.visible(this.key,this.getRowCount(),e,this.getComponent()))}getRowGroup(e){var r=!1;return this.groupList.length?this.groupList.forEach(function(C){var D=C.getRowGroup(e);D&&(r=D)}):this.rows.find(function(C){return C===e})&&(r=this),r}getSubGroups(e){var r=[];return this.groupList.forEach(function(C){r.push(e?C.getComponent():C)}),r}getRows(e,r){var C=[];return r&&this.groupList.length?this.groupList.forEach(D=>{C=C.concat(D.getRows(e,r))}):this.rows.forEach(function(D){C.push(e?D.getComponent():D)}),C}generateGroupHeaderContents(){var e=[],r=this.getRows(!1,!0);for(r.forEach(function(C){e.push(C.getData())}),this.elementContents=this.generator(this.key,this.getRowCount(),e,this.getComponent());this.element.firstChild;)this.element.removeChild(this.element.firstChild);typeof this.elementContents=="string"?this.element.innerHTML=this.elementContents:this.element.appendChild(this.elementContents),this.element.insertBefore(this.arrowElement,this.element.firstChild)}getPath(e=[]){return e.unshift(this.key),this.parent&&this.parent.getPath(e),e}getElement(){return this.elementContents?this.element:this.generateElement()}generateElement(){this.addBindings=!1,this._visSet(),this.visible?this.element.classList.add("tabulator-group-visible"):this.element.classList.remove("tabulator-group-visible");for(var e=0;eC.length&&console.warn("Error creating group headers, groupHeader array is shorter than groupBy array"),this.headerGenerator=[function(){return""}],this.startOpen=[function(){return!1}],this.langBind("groups|item",(T,p)=>{this.headerGenerator[0]=(t,d,g)=>(typeof t>"u"?"":t)+"("+d+" "+(d===1?T:p.groups.items)+")"}),this.groupIDLookups=[],e)this.table.modExists("columnCalcs")&&this.table.options.columnCalcs!="table"&&this.table.options.columnCalcs!="both"&&this.table.modules.columnCalcs.removeCalcs();else if(this.table.modExists("columnCalcs")&&this.table.options.columnCalcs!="group"){var D=this.table.columnManager.getRealColumns();D.forEach(T=>{T.definition.topCalc&&this.table.modules.columnCalcs.initializeTopRow(),T.definition.bottomCalc&&this.table.modules.columnCalcs.initializeBottomRow()})}Array.isArray(e)||(e=[e]),e.forEach((T,p)=>{var t,d;typeof T=="function"?t=T:(d=this.table.columnManager.getColumnByField(T),d?t=function(g){return d.getFieldValue(g)}:t=function(g){return g[T]}),this.groupIDLookups.push({field:typeof T=="function"?!1:T,func:t,values:this.allowedValues?this.allowedValues[p]:!1})}),r&&(Array.isArray(r)||(r=[r]),r.forEach(T=>{}),this.startOpen=r),C&&(this.headerGenerator=Array.isArray(C)?C:[C])}else this.groupList=[],this.groups={}}rowSample(e,r){if(this.table.options.groupBy){var C=this.getGroups(!1)[0];r.push(C.getRows(!1)[0])}return r}virtualRenderFill(){var e=this.table.rowManager.tableElement,r=this.table.rowManager.getVisibleRows();if(this.table.options.groupBy)r=r.filter(C=>C.type!=="group"),e.style.minWidth=r.length?"":this.table.columnManager.getWidth()+"px";else return r}rowAddingIndex(e,r,C){if(this.table.options.groupBy){this.assignRowToGroup(e);var D=e.modules.group.rows;return D.length>1&&(!r||r&&D.indexOf(r)==-1?C?D[0]!==e&&(r=D[0],this.table.rowManager.moveRowInArray(e.modules.group.rows,e,r,!C)):D[D.length-1]!==e&&(r=D[D.length-1],this.table.rowManager.moveRowInArray(e.modules.group.rows,e,r,!C)):this.table.rowManager.moveRowInArray(e.modules.group.rows,e,r,!C)),r}}trackChanges(){this.dispatch("group-changed")}setGroupBy(e){this.table.options.groupBy=e,this.initialized||this.initialize(),this.configureGroupSetup(),!e&&this.table.modExists("columnCalcs")&&this.table.options.columnCalcs===!0&&this.table.modules.columnCalcs.reinitializeCalcs(),this.refreshData(),this.trackChanges()}setGroupValues(e){this.table.options.groupValues=e,this.configureGroupSetup(),this.refreshData(),this.trackChanges()}setGroupStartOpen(e){this.table.options.groupStartOpen=e,this.configureGroupSetup(),this.table.options.groupBy?(this.refreshData(),this.trackChanges()):console.warn("Grouping Update - cant refresh view, no groups have been set")}setGroupHeader(e){this.table.options.groupHeader=e,this.configureGroupSetup(),this.table.options.groupBy?(this.refreshData(),this.trackChanges()):console.warn("Grouping Update - cant refresh view, no groups have been set")}userGetGroups(e){return this.getGroups(!0)}userGetGroupedData(){return this.table.options.groupBy?this.getGroupedData():this.getData()}rowGetGroup(e){return e.modules.group?e.modules.group.getComponent():!1}rowMoving(e,r,C){if(this.table.options.groupBy){!C&&r instanceof Fp&&(r=this.table.rowManager.prevDisplayRow(e)||r);var D=r instanceof Fp?r:r.modules.group,T=e instanceof Fp?e:e.modules.group;D===T?this.table.rowManager.moveRowInArray(D.rows,e,r,C):(T&&T.removeRow(e),D.insertRow(e,r,C))}}rowDeleting(e){this.table.options.groupBy&&e.modules.group&&e.modules.group.removeRow(e)}rowsUpdated(e){this.table.options.groupBy&&this.updateGroupRows(!0)}cellUpdated(e){this.table.options.groupBy&&this.reassignRowToGroup(e.row)}getRows(e){return this.table.options.groupBy&&this.groupIDLookups.length?(this.dispatchExternal("dataGrouping"),this.generateGroups(e),this.subscribedExternal("dataGrouped")&&this.dispatchExternal("dataGrouped",this.getGroups(!0)),this.updateGroupRows()):e.slice(0)}getGroups(e){var r=[];return this.groupList.forEach(function(C){r.push(e?C.getComponent():C)}),r}getChildGroups(e){var r=[];return e||(e=this),e.groupList.forEach(C=>{C.groupList.length?r=r.concat(this.getChildGroups(C)):r.push(C)}),r}wipe(){this.table.options.groupBy&&(this.groupList.forEach(function(e){e.wipe()}),this.groupList=[],this.groups={})}pullGroupListData(e){var r=[];return e.forEach(C=>{var D={};D.level=0,D.rowCount=0,D.headerContent="";var T=[];C.hasSubGroups?(T=this.pullGroupListData(C.groupList),D.level=C.level,D.rowCount=T.length-C.groupList.length,D.headerContent=C.generator(C.key,D.rowCount,C.rows,C),r.push(D),r=r.concat(T)):(D.level=C.level,D.headerContent=C.generator(C.key,C.rows.length,C.rows,C),D.rowCount=C.getRows().length,r.push(D),C.getRows().forEach(p=>{r.push(p.getData("data"))}))}),r}getGroupedData(){return this.pullGroupListData(this.groupList)}getRowGroup(e){var r=!1;return this.options("dataTree")&&(e=this.table.modules.dataTree.getTreeParentRoot(e)),this.groupList.forEach(C=>{var D=C.getRowGroup(e);D&&(r=D)}),r}countGroups(){return this.groupList.length}generateGroups(e){var r=this.groups;this.groups={},this.groupList=[],this.allowedValues&&this.allowedValues[0]?(this.allowedValues[0].forEach(C=>{this.createGroup(C,0,r)}),e.forEach(C=>{this.assignRowToExistingGroup(C,r)})):e.forEach(C=>{this.assignRowToGroup(C,r)}),Object.values(r).forEach(C=>{C.wipe(!0)})}createGroup(e,r,C){var D=r+"_"+e,T;C=C||[],T=new Fp(this,!1,r,e,this.groupIDLookups[0].field,this.headerGenerator[0],C[D]),this.groups[D]=T,this.groupList.push(T)}assignRowToExistingGroup(e,r){var C=this.groupIDLookups[0].func(e.getData()),D="0_"+C;this.groups[D]&&this.groups[D].addRow(e)}assignRowToGroup(e,r){var C=this.groupIDLookups[0].func(e.getData()),D=!this.groups["0_"+C];return D&&this.createGroup(C,0,r),this.groups["0_"+C].addRow(e),!D}reassignRowToGroup(e){if(e.type==="row"){var r=e.modules.group,C=r.getPath(),D=this.getExpectedPath(e),T;T=C.length==D.length&&C.every((p,t)=>p===D[t]),T||(r.removeRow(e),this.assignRowToGroup(e,this.groups),this.refreshData(!0))}}getExpectedPath(e){var r=[],C=e.getData();return this.groupIDLookups.forEach(D=>{r.push(D.func(C))}),r}updateGroupRows(e){var r=[];return this.blockRedraw||(this.groupList.forEach(C=>{r=r.concat(C.getHeadersAndRows())}),e&&this.refreshData(!0)),r}scrollHeaders(e){this.table.options.groupBy&&(this.table.options.renderHorizontal==="virtual"&&(e-=this.table.columnManager.renderer.vDomPadLeft),e=e+"px",this.groupList.forEach(r=>{r.scrollHeader(e)}))}removeGroup(e){var r=e.level+"_"+e.key,C;this.groups[r]&&(delete this.groups[r],C=this.groupList.indexOf(e),C>-1&&this.groupList.splice(C,1))}checkBasicModeGroupHeaderWidth(){var e=this.table.rowManager.tableElement,r=!0;this.table.rowManager.getDisplayRows().forEach((C,D)=>{this.table.rowManager.styleRow(C,D),e.appendChild(C.getElement()),C.initialize(!0),C.type!=="group"&&(r=!1)}),r?e.style.minWidth=this.table.columnManager.getWidth()+"px":e.style.minWidth=""}}BM.moduleName="groupRows";var lP={cellEdit:function(n){n.component.setValueProcessData(n.data.oldValue),n.component.cellRendered()},rowAdd:function(n){n.component.deleteActual(),this.table.rowManager.checkPlaceholder()},rowDelete:function(n){var e=this.table.rowManager.addRowActual(n.data.data,n.data.pos,n.data.index);this.table.options.groupBy&&this.table.modExists("groupRows")&&this.table.modules.groupRows.updateGroupRows(!0),this._rebindRow(n.component,e),this.table.rowManager.checkPlaceholder()},rowMove:function(n){var e=n.data.posFrom-n.data.posTo>0;this.table.rowManager.moveRowActual(n.component,this.table.rowManager.getRowFromPosition(n.data.posFrom),e),this.table.rowManager.regenerateRowPositions(),this.table.rowManager.reRenderInPosition()}},uP={cellEdit:function(n){n.component.setValueProcessData(n.data.newValue),n.component.cellRendered()},rowAdd:function(n){var e=this.table.rowManager.addRowActual(n.data.data,n.data.pos,n.data.index);this.table.options.groupBy&&this.table.modExists("groupRows")&&this.table.modules.groupRows.updateGroupRows(!0),this._rebindRow(n.component,e),this.table.rowManager.checkPlaceholder()},rowDelete:function(n){n.component.deleteActual(),this.table.rowManager.checkPlaceholder()},rowMove:function(n){this.table.rowManager.moveRowActual(n.component,this.table.rowManager.getRowFromPosition(n.data.posTo),n.data.after),this.table.rowManager.regenerateRowPositions(),this.table.rowManager.reRenderInPosition()}};class Wd extends qi{constructor(e){super(e),this.history=[],this.index=-1,this.registerTableOption("history",!1)}initialize(){this.table.options.history&&(this.subscribe("cell-value-updated",this.cellUpdated.bind(this)),this.subscribe("cell-delete",this.clearComponentHistory.bind(this)),this.subscribe("row-delete",this.rowDeleted.bind(this)),this.subscribe("rows-wipe",this.clear.bind(this)),this.subscribe("row-added",this.rowAdded.bind(this)),this.subscribe("row-move",this.rowMoved.bind(this))),this.registerTableFunction("undo",this.undo.bind(this)),this.registerTableFunction("redo",this.redo.bind(this)),this.registerTableFunction("getHistoryUndoSize",this.getHistoryUndoSize.bind(this)),this.registerTableFunction("getHistoryRedoSize",this.getHistoryRedoSize.bind(this)),this.registerTableFunction("clearHistory",this.clear.bind(this))}rowMoved(e,r,C){this.action("rowMove",e,{posFrom:e.getPosition(),posTo:r.getPosition(),to:r,after:C})}rowAdded(e,r,C,D){this.action("rowAdd",e,{data:r,pos:C,index:D})}rowDeleted(e){var r,C;this.table.options.groupBy?(C=e.getComponent().getGroup()._getSelf().rows,r=C.indexOf(e),r&&(r=C[r-1])):(r=e.table.rowManager.getRowIndex(e),r&&(r=e.table.rowManager.rows[r-1])),this.action("rowDelete",e,{data:e.getData(),pos:!r,index:r})}cellUpdated(e){this.action("cellEdit",e,{oldValue:e.oldValue,newValue:e.value})}clear(){this.history=[],this.index=-1}action(e,r,C){this.history=this.history.slice(0,this.index+1),this.history.push({type:e,component:r,data:C}),this.index++}getHistoryUndoSize(){return this.index+1}getHistoryRedoSize(){return this.history.length-(this.index+1)}clearComponentHistory(e){var r=this.history.findIndex(function(C){return C.component===e});r>-1&&(this.history.splice(r,1),r<=this.index&&this.index--,this.clearComponentHistory(e))}undo(){if(this.index>-1){let e=this.history[this.index];return Wd.undoers[e.type].call(this,e),this.index--,this.dispatchExternal("historyUndo",e.type,e.component.getComponent(),e.data),!0}else return console.warn(this.options("history")?"History Undo Error - No more history to undo":"History module not enabled"),!1}redo(){if(this.history.length-1>this.index){this.index++;let e=this.history[this.index];return Wd.redoers[e.type].call(this,e),this.dispatchExternal("historyRedo",e.type,e.component.getComponent(),e.data),!0}else return console.warn(this.options("history")?"History Redo Error - No more history to redo":"History module not enabled"),!1}_rebindRow(e,r){this.history.forEach(function(C){if(C.component instanceof vl)C.component===e&&(C.component=r);else if(C.component instanceof eg&&C.component.row===e){var D=C.component.column.getField();D&&(C.component=r.getCell(D))}})}}Wd.moduleName="history";Wd.undoers=lP;Wd.redoers=uP;class NM extends qi{constructor(e){super(e),this.fieldIndex=[],this.hasIndex=!1}initialize(){this.tableElementCheck()}tableElementCheck(){this.table.originalElement&&this.table.originalElement.tagName==="TABLE"&&(this.table.originalElement.childNodes.length?this.parseTable():console.warn("Unable to parse data from empty table tag, Tabulator should be initialized on a div tag unless importing data from a table element."))}parseTable(){var e=this.table.originalElement,r=this.table.options,C=e.getElementsByTagName("th"),D=e.getElementsByTagName("tbody")[0],T=[];this.hasIndex=!1,this.dispatchExternal("htmlImporting"),D=D?D.getElementsByTagName("tr"):[],this._extractOptions(e,r),C.length?this._extractHeaders(C,D):this._generateBlankHeaders(C,D);for(var p=0;p{p[i.toLowerCase()]=i});for(var t in D){var d=D[t],g;d&&typeof d=="object"&&d.name&&d.name.indexOf("tabulator-")===0&&(g=d.name.replace("tabulator-",""),typeof p[g]<"u"&&(r[p[g]]=this._attribValue(d.value)))}}_attribValue(e){return e==="true"?!0:e==="false"?!1:e}_findCol(e){var r=this.table.options.columns.find(C=>C.title===e);return r||!1}_extractHeaders(e,r){for(var C=0;C(console.error("Import Error:",p||"Unable to import data"),Promise.reject(p)))}lookupImporter(e){var r;return e||(e=this.table.options.importFormat),typeof e=="string"?r=ng.importers[e]:r=e,r||console.error("Import Error - Importer not found:",e),r}importFromFile(e,r){var C=this.lookupImporter(e);if(C)return this.pickFile(r).then(this.importData.bind(this,C)).then(this.structureData.bind(this)).then(this.setData.bind(this)).catch(D=>(console.error("Import Error:",D||"Unable to import file"),Promise.reject(D)))}pickFile(e){return new Promise((r,C)=>{var D=document.createElement("input");D.type="file",D.accept=e,D.addEventListener("change",T=>{var p=D.files[0],t=new FileReader;switch(this.table.options.importReader){case"buffer":t.readAsArrayBuffer(p);break;case"binary":t.readAsBinaryString(p);break;case"url":t.readAsDataURL(p);break;case"text":default:t.readAsText(p)}t.onload=d=>{r(t.result)},t.onerror=d=>{console.warn("File Load Error - Unable to read file"),C()}}),D.click()})}importData(e,r){var C=e.call(this.table,r);return C instanceof Promise?C:C?Promise.resolve(C):Promise.reject()}structureData(e){var r=[];return Array.isArray(e)&&e.length&&Array.isArray(e[0])?(this.table.options.autoColumns?r=this.structureArrayToObject(e):r=this.structureArrayToColumns(e),r):e}structureArrayToObject(e){var r=e.shift(),C=e.map(D=>{var T={};return r.forEach((p,t)=>{T[p]=D[t]}),T});return C}structureArrayToColumns(e){var r=[],C=this.table.getColumns();return C[0]&&e[0][0]&&C[0].getDefinition().title===e[0][0]&&e.shift(),e.forEach(D=>{var T={};D.forEach((p,t)=>{var d=C[t];d&&(T[d.getField()]=p)}),r.push(T)}),r}setData(e){return this.table.setData(e)}}ng.moduleName="import";ng.importers=dP;class VM extends qi{constructor(e){super(e),this.eventMap={rowClick:"row-click",rowDblClick:"row-dblclick",rowContext:"row-contextmenu",rowMouseEnter:"row-mouseenter",rowMouseLeave:"row-mouseleave",rowMouseOver:"row-mouseover",rowMouseOut:"row-mouseout",rowMouseMove:"row-mousemove",rowMouseDown:"row-mousedown",rowMouseUp:"row-mouseup",rowTap:"row",rowDblTap:"row",rowTapHold:"row",cellClick:"cell-click",cellDblClick:"cell-dblclick",cellContext:"cell-contextmenu",cellMouseEnter:"cell-mouseenter",cellMouseLeave:"cell-mouseleave",cellMouseOver:"cell-mouseover",cellMouseOut:"cell-mouseout",cellMouseMove:"cell-mousemove",cellMouseDown:"cell-mousedown",cellMouseUp:"cell-mouseup",cellTap:"cell",cellDblTap:"cell",cellTapHold:"cell",headerClick:"column-click",headerDblClick:"column-dblclick",headerContext:"column-contextmenu",headerMouseEnter:"column-mouseenter",headerMouseLeave:"column-mouseleave",headerMouseOver:"column-mouseover",headerMouseOut:"column-mouseout",headerMouseMove:"column-mousemove",headerMouseDown:"column-mousedown",headerMouseUp:"column-mouseup",headerTap:"column",headerDblTap:"column",headerTapHold:"column",groupClick:"group-click",groupDblClick:"group-dblclick",groupContext:"group-contextmenu",groupMouseEnter:"group-mouseenter",groupMouseLeave:"group-mouseleave",groupMouseOver:"group-mouseover",groupMouseOut:"group-mouseout",groupMouseMove:"group-mousemove",groupMouseDown:"group-mousedown",groupMouseUp:"group-mouseup",groupTap:"group",groupDblTap:"group",groupTapHold:"group"},this.subscribers={},this.touchSubscribers={},this.columnSubscribers={},this.touchWatchers={row:{tap:null,tapDbl:null,tapHold:null},cell:{tap:null,tapDbl:null,tapHold:null},column:{tap:null,tapDbl:null,tapHold:null},group:{tap:null,tapDbl:null,tapHold:null}},this.registerColumnOption("headerClick"),this.registerColumnOption("headerDblClick"),this.registerColumnOption("headerContext"),this.registerColumnOption("headerMouseEnter"),this.registerColumnOption("headerMouseLeave"),this.registerColumnOption("headerMouseOver"),this.registerColumnOption("headerMouseOut"),this.registerColumnOption("headerMouseMove"),this.registerColumnOption("headerMouseDown"),this.registerColumnOption("headerMouseUp"),this.registerColumnOption("headerTap"),this.registerColumnOption("headerDblTap"),this.registerColumnOption("headerTapHold"),this.registerColumnOption("cellClick"),this.registerColumnOption("cellDblClick"),this.registerColumnOption("cellContext"),this.registerColumnOption("cellMouseEnter"),this.registerColumnOption("cellMouseLeave"),this.registerColumnOption("cellMouseOver"),this.registerColumnOption("cellMouseOut"),this.registerColumnOption("cellMouseMove"),this.registerColumnOption("cellMouseDown"),this.registerColumnOption("cellMouseUp"),this.registerColumnOption("cellTap"),this.registerColumnOption("cellDblTap"),this.registerColumnOption("cellTapHold")}initialize(){this.initializeExternalEvents(),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("cell-dblclick",this.cellContentsSelectionFixer.bind(this)),this.subscribe("scroll-horizontal",this.clearTouchWatchers.bind(this)),this.subscribe("scroll-vertical",this.clearTouchWatchers.bind(this))}clearTouchWatchers(){var e=Object.values(this.touchWatchers);e.forEach(r=>{for(let C in r)r[C]=null})}cellContentsSelectionFixer(e,r){var C;if(!(this.table.modExists("edit")&&this.table.modules.edit.currentCell===r)){e.preventDefault();try{document.selection?(C=document.body.createTextRange(),C.moveToElementText(r.getElement()),C.select()):window.getSelection&&(C=document.createRange(),C.selectNode(r.getElement()),window.getSelection().removeAllRanges(),window.getSelection().addRange(C))}catch{}}}initializeExternalEvents(){for(let e in this.eventMap)this.subscriptionChangeExternal(e,this.subscriptionChanged.bind(this,e))}subscriptionChanged(e,r){r?this.subscribers[e]||(this.eventMap[e].includes("-")?(this.subscribers[e]=this.handle.bind(this,e),this.subscribe(this.eventMap[e],this.subscribers[e])):this.subscribeTouchEvents(e)):this.eventMap[e].includes("-")?this.subscribers[e]&&!this.columnSubscribers[e]&&!this.subscribedExternal(e)&&(this.unsubscribe(this.eventMap[e],this.subscribers[e]),delete this.subscribers[e]):this.unsubscribeTouchEvents(e)}subscribeTouchEvents(e){var r=this.eventMap[e];this.touchSubscribers[r+"-touchstart"]||(this.touchSubscribers[r+"-touchstart"]=this.handleTouch.bind(this,r,"start"),this.touchSubscribers[r+"-touchend"]=this.handleTouch.bind(this,r,"end"),this.subscribe(r+"-touchstart",this.touchSubscribers[r+"-touchstart"]),this.subscribe(r+"-touchend",this.touchSubscribers[r+"-touchend"])),this.subscribers[e]=!0}unsubscribeTouchEvents(e){var r=!0,C=this.eventMap[e];if(this.subscribers[e]&&!this.subscribedExternal(e)){delete this.subscribers[e];for(let D in this.eventMap)this.eventMap[D]===C&&this.subscribers[D]&&(r=!1);r&&(this.unsubscribe(C+"-touchstart",this.touchSubscribers[C+"-touchstart"]),this.unsubscribe(C+"-touchend",this.touchSubscribers[C+"-touchend"]),delete this.touchSubscribers[C+"-touchstart"],delete this.touchSubscribers[C+"-touchend"])}}initializeColumn(e){var r=e.definition;for(let C in this.eventMap)r[C]&&(this.subscriptionChanged(C,!0),this.columnSubscribers[C]||(this.columnSubscribers[C]=[]),this.columnSubscribers[C].push(e))}handle(e,r,C){this.dispatchEvent(e,r,C)}handleTouch(e,r,C,D){var T=this.touchWatchers[e];switch(e==="column"&&(e="header"),r){case"start":T.tap=!0,clearTimeout(T.tapHold),T.tapHold=setTimeout(()=>{clearTimeout(T.tapHold),T.tapHold=null,T.tap=null,clearTimeout(T.tapDbl),T.tapDbl=null,this.dispatchEvent(e+"TapHold",C,D)},1e3);break;case"end":T.tap&&(T.tap=null,this.dispatchEvent(e+"Tap",C,D)),T.tapDbl?(clearTimeout(T.tapDbl),T.tapDbl=null,this.dispatchEvent(e+"DblTap",C,D)):T.tapDbl=setTimeout(()=>{clearTimeout(T.tapDbl),T.tapDbl=null},300),clearTimeout(T.tapHold),T.tapHold=null;break}}dispatchEvent(e,r,C){var D=C.getComponent(),T;this.columnSubscribers[e]&&(C instanceof eg?T=C.column.definition[e]:C instanceof vh&&(T=C.definition[e]),T&&T(r,D)),this.dispatchExternal(e,r,D)}}VM.moduleName="interaction";var pP={navPrev:"shift + 9",navNext:9,navUp:38,navDown:40,navLeft:37,navRight:39,scrollPageUp:33,scrollPageDown:34,scrollToStart:36,scrollToEnd:35,undo:["ctrl + 90","meta + 90"],redo:["ctrl + 89","meta + 89"],copyToClipboard:["ctrl + 67","meta + 67"],rangeJumpUp:["ctrl + 38","meta + 38"],rangeJumpDown:["ctrl + 40","meta + 40"],rangeJumpLeft:["ctrl + 37","meta + 37"],rangeJumpRight:["ctrl + 39","meta + 39"],rangeExpandUp:"shift + 38",rangeExpandDown:"shift + 40",rangeExpandLeft:"shift + 37",rangeExpandRight:"shift + 39",rangeExpandJumpUp:["ctrl + shift + 38","meta + shift + 38"],rangeExpandJumpDown:["ctrl + shift + 40","meta + shift + 40"],rangeExpandJumpLeft:["ctrl + shift + 37","meta + shift + 37"],rangeExpandJumpRight:["ctrl + shift + 39","meta + shift + 39"]},mP={keyBlock:function(n){n.stopPropagation(),n.preventDefault()},scrollPageUp:function(n){var e=this.table.rowManager,r=e.scrollTop-e.element.clientHeight;n.preventDefault(),e.displayRowsCount&&(r>=0?e.element.scrollTop=r:e.scrollToRow(e.getDisplayRows()[0])),this.table.element.focus()},scrollPageDown:function(n){var e=this.table.rowManager,r=e.scrollTop+e.element.clientHeight,C=e.element.scrollHeight;n.preventDefault(),e.displayRowsCount&&(r<=C?e.element.scrollTop=r:e.scrollToRow(e.getDisplayRows()[e.displayRowsCount-1])),this.table.element.focus()},scrollToStart:function(n){var e=this.table.rowManager;n.preventDefault(),e.displayRowsCount&&e.scrollToRow(e.getDisplayRows()[0]),this.table.element.focus()},scrollToEnd:function(n){var e=this.table.rowManager;n.preventDefault(),e.displayRowsCount&&e.scrollToRow(e.getDisplayRows()[e.displayRowsCount-1]),this.table.element.focus()},navPrev:function(n){this.dispatch("keybinding-nav-prev",n)},navNext:function(n){this.dispatch("keybinding-nav-next",n)},navLeft:function(n){this.dispatch("keybinding-nav-left",n)},navRight:function(n){this.dispatch("keybinding-nav-right",n)},navUp:function(n){this.dispatch("keybinding-nav-up",n)},navDown:function(n){this.dispatch("keybinding-nav-down",n)},rangeJumpLeft:function(n){this.dispatch("keybinding-nav-range",n,"left",!0,!1)},rangeJumpRight:function(n){this.dispatch("keybinding-nav-range",n,"right",!0,!1)},rangeJumpUp:function(n){this.dispatch("keybinding-nav-range",n,"up",!0,!1)},rangeJumpDown:function(n){this.dispatch("keybinding-nav-range",n,"down",!0,!1)},rangeExpandLeft:function(n){this.dispatch("keybinding-nav-range",n,"left",!1,!0)},rangeExpandRight:function(n){this.dispatch("keybinding-nav-range",n,"right",!1,!0)},rangeExpandUp:function(n){this.dispatch("keybinding-nav-range",n,"up",!1,!0)},rangeExpandDown:function(n){this.dispatch("keybinding-nav-range",n,"down",!1,!0)},rangeExpandJumpLeft:function(n){this.dispatch("keybinding-nav-range",n,"left",!0,!0)},rangeExpandJumpRight:function(n){this.dispatch("keybinding-nav-range",n,"right",!0,!0)},rangeExpandJumpUp:function(n){this.dispatch("keybinding-nav-range",n,"up",!0,!0)},rangeExpandJumpDown:function(n){this.dispatch("keybinding-nav-range",n,"down",!0,!0)},undo:function(n){var e=!1;this.table.options.history&&this.table.modExists("history")&&this.table.modExists("edit")&&(e=this.table.modules.edit.currentCell,e||(n.preventDefault(),this.table.modules.history.undo()))},redo:function(n){var e=!1;this.table.options.history&&this.table.modExists("history")&&this.table.modExists("edit")&&(e=this.table.modules.edit.currentCell,e||(n.preventDefault(),this.table.modules.history.redo()))},copyToClipboard:function(n){this.table.modules.edit.currentCell||this.table.modExists("clipboard",!0)&&this.table.modules.clipboard.copy(!1,!0)}};class Vf extends qi{constructor(e){super(e),this.watchKeys=null,this.pressedKeys=null,this.keyupBinding=!1,this.keydownBinding=!1,this.registerTableOption("keybindings",{}),this.registerTableOption("tabEndNewRow",!1)}initialize(){var e=this.table.options.keybindings,r={};this.watchKeys={},this.pressedKeys=[],e!==!1&&(Object.assign(r,Vf.bindings),Object.assign(r,e),this.mapBindings(r),this.bindEvents()),this.subscribe("table-destroy",this.clearBindings.bind(this))}mapBindings(e){for(let r in e)Vf.actions[r]?e[r]&&(typeof e[r]!="object"&&(e[r]=[e[r]]),e[r].forEach(C=>{var D=Array.isArray(C)?C:[C];D.forEach(T=>{this.mapBinding(r,T)})})):console.warn("Key Binding Error - no such action:",r)}mapBinding(e,r){var C={action:Vf.actions[e],keys:[],ctrl:!1,shift:!1,meta:!1},D=r.toString().toLowerCase().split(" ").join("").split("+");D.forEach(T=>{switch(T){case"ctrl":C.ctrl=!0;break;case"shift":C.shift=!0;break;case"meta":C.meta=!0;break;default:T=isNaN(T)?T.toUpperCase().charCodeAt(0):parseInt(T),C.keys.push(T),this.watchKeys[T]||(this.watchKeys[T]=[]),this.watchKeys[T].push(C)}})}bindEvents(){var e=this;this.keyupBinding=function(r){var C=r.keyCode,D=e.watchKeys[C];D&&(e.pressedKeys.push(C),D.forEach(function(T){e.checkBinding(r,T)}))},this.keydownBinding=function(r){var C=r.keyCode,D=e.watchKeys[C];if(D){var T=e.pressedKeys.indexOf(C);T>-1&&e.pressedKeys.splice(T,1)}},this.table.element.addEventListener("keydown",this.keyupBinding),this.table.element.addEventListener("keyup",this.keydownBinding)}clearBindings(){this.keyupBinding&&this.table.element.removeEventListener("keydown",this.keyupBinding),this.keydownBinding&&this.table.element.removeEventListener("keyup",this.keydownBinding)}checkBinding(e,r){var C=!0;return e.ctrlKey==r.ctrl&&e.shiftKey==r.shift&&e.metaKey==r.meta?(r.keys.forEach(D=>{var T=this.pressedKeys.indexOf(D);T==-1&&(C=!1)}),C&&r.action.call(this,e),!0):!1}}Vf.moduleName="keybindings";Vf.bindings=pP;Vf.actions=mP;class jM extends qi{constructor(e){super(e),this.menuContainer=null,this.nestedMenuBlock=!1,this.currentComponent=null,this.rootPopup=null,this.columnSubscribers={},this.registerTableOption("menuContainer",void 0),this.registerTableOption("rowContextMenu",!1),this.registerTableOption("rowClickMenu",!1),this.registerTableOption("rowDblClickMenu",!1),this.registerTableOption("groupContextMenu",!1),this.registerTableOption("groupClickMenu",!1),this.registerTableOption("groupDblClickMenu",!1),this.registerColumnOption("headerContextMenu"),this.registerColumnOption("headerClickMenu"),this.registerColumnOption("headerDblClickMenu"),this.registerColumnOption("headerMenu"),this.registerColumnOption("headerMenuIcon"),this.registerColumnOption("contextMenu"),this.registerColumnOption("clickMenu"),this.registerColumnOption("dblClickMenu")}initialize(){this.deprecatedOptionsCheck(),this.initializeRowWatchers(),this.initializeGroupWatchers(),this.subscribe("column-init",this.initializeColumn.bind(this))}deprecatedOptionsCheck(){this.deprecationCheck("menuContainer","popupContainer")||(this.table.options.popupContainer=this.table.options.menuContainer)}initializeRowWatchers(){this.table.options.rowContextMenu&&(this.subscribe("row-contextmenu",this.loadMenuEvent.bind(this,this.table.options.rowContextMenu)),this.table.on("rowTapHold",this.loadMenuEvent.bind(this,this.table.options.rowContextMenu))),this.table.options.rowClickMenu&&this.subscribe("row-click",this.loadMenuEvent.bind(this,this.table.options.rowClickMenu)),this.table.options.rowDblClickMenu&&this.subscribe("row-dblclick",this.loadMenuEvent.bind(this,this.table.options.rowDblClickMenu))}initializeGroupWatchers(){this.table.options.groupContextMenu&&(this.subscribe("group-contextmenu",this.loadMenuEvent.bind(this,this.table.options.groupContextMenu)),this.table.on("groupTapHold",this.loadMenuEvent.bind(this,this.table.options.groupContextMenu))),this.table.options.groupClickMenu&&this.subscribe("group-click",this.loadMenuEvent.bind(this,this.table.options.groupClickMenu)),this.table.options.groupDblClickMenu&&this.subscribe("group-dblclick",this.loadMenuEvent.bind(this,this.table.options.groupDblClickMenu))}initializeColumn(e){var r=e.definition;r.headerContextMenu&&!this.columnSubscribers.headerContextMenu&&(this.columnSubscribers.headerContextMenu=this.loadMenuTableColumnEvent.bind(this,"headerContextMenu"),this.subscribe("column-contextmenu",this.columnSubscribers.headerContextMenu),this.table.on("headerTapHold",this.loadMenuTableColumnEvent.bind(this,"headerContextMenu"))),r.headerClickMenu&&!this.columnSubscribers.headerClickMenu&&(this.columnSubscribers.headerClickMenu=this.loadMenuTableColumnEvent.bind(this,"headerClickMenu"),this.subscribe("column-click",this.columnSubscribers.headerClickMenu)),r.headerDblClickMenu&&!this.columnSubscribers.headerDblClickMenu&&(this.columnSubscribers.headerDblClickMenu=this.loadMenuTableColumnEvent.bind(this,"headerDblClickMenu"),this.subscribe("column-dblclick",this.columnSubscribers.headerDblClickMenu)),r.headerMenu&&this.initializeColumnHeaderMenu(e),r.contextMenu&&!this.columnSubscribers.contextMenu&&(this.columnSubscribers.contextMenu=this.loadMenuTableCellEvent.bind(this,"contextMenu"),this.subscribe("cell-contextmenu",this.columnSubscribers.contextMenu),this.table.on("cellTapHold",this.loadMenuTableCellEvent.bind(this,"contextMenu"))),r.clickMenu&&!this.columnSubscribers.clickMenu&&(this.columnSubscribers.clickMenu=this.loadMenuTableCellEvent.bind(this,"clickMenu"),this.subscribe("cell-click",this.columnSubscribers.clickMenu)),r.dblClickMenu&&!this.columnSubscribers.dblClickMenu&&(this.columnSubscribers.dblClickMenu=this.loadMenuTableCellEvent.bind(this,"dblClickMenu"),this.subscribe("cell-dblclick",this.columnSubscribers.dblClickMenu))}initializeColumnHeaderMenu(e){var r=e.definition.headerMenuIcon,C;C=document.createElement("span"),C.classList.add("tabulator-header-popup-button"),r?(typeof r=="function"&&(r=r(e.getComponent())),r instanceof HTMLElement?C.appendChild(r):C.innerHTML=r):C.innerHTML="⋮",C.addEventListener("click",D=>{D.stopPropagation(),D.preventDefault(),this.loadMenuEvent(e.definition.headerMenu,D,e)}),e.titleElement.insertBefore(C,e.titleElement.firstChild)}loadMenuTableCellEvent(e,r,C){C._cell&&(C=C._cell),C.column.definition[e]&&this.loadMenuEvent(C.column.definition[e],r,C)}loadMenuTableColumnEvent(e,r,C){C._column&&(C=C._column),C.definition[e]&&this.loadMenuEvent(C.definition[e],r,C)}loadMenuEvent(e,r,C){C._group?C=C._group:C._row&&(C=C._row),e=typeof e=="function"?e.call(this.table,r,C.getComponent()):e,this.loadMenu(r,C,e)}loadMenu(e,r,C,D,T){var p=!(e instanceof MouseEvent),t=document.createElement("div"),d;if(t.classList.add("tabulator-menu"),p||e.preventDefault(),!(!C||!C.length)){if(D)d=T.child(t);else{if(this.nestedMenuBlock){if(this.rootPopup)return}else this.nestedMenuBlock=setTimeout(()=>{this.nestedMenuBlock=!1},100);this.rootPopup&&this.rootPopup.hide(),this.rootPopup=d=this.popup(t)}C.forEach(g=>{var i=document.createElement("div"),M=g.label,v=g.disabled;g.separator?i.classList.add("tabulator-menu-separator"):(i.classList.add("tabulator-menu-item"),typeof M=="function"&&(M=M.call(this.table,r.getComponent())),M instanceof Node?i.appendChild(M):i.innerHTML=M,typeof v=="function"&&(v=v.call(this.table,r.getComponent())),v?(i.classList.add("tabulator-menu-item-disabled"),i.addEventListener("click",f=>{f.stopPropagation()})):g.menu&&g.menu.length?i.addEventListener("click",f=>{f.stopPropagation(),this.loadMenu(f,r,g.menu,i,d)}):g.action&&i.addEventListener("click",f=>{g.action(f,r.getComponent())}),g.menu&&g.menu.length&&i.classList.add("tabulator-menu-item-submenu")),t.appendChild(i)}),t.addEventListener("click",g=>{this.rootPopup&&this.rootPopup.hide()}),d.show(D||e),d===this.rootPopup&&(this.rootPopup.hideOnBlur(()=>{this.rootPopup=null,this.currentComponent&&(this.dispatch("menu-closed",C,d),this.dispatchExternal("menuClosed",this.currentComponent.getComponent()),this.currentComponent=null)}),this.currentComponent=r,this.dispatch("menu-opened",C,d),this.dispatchExternal("menuOpened",r.getComponent()))}}}jM.moduleName="menu";class UM extends qi{constructor(e){super(e),this.placeholderElement=this.createPlaceholderElement(),this.hoverElement=!1,this.checkTimeout=!1,this.checkPeriod=250,this.moving=!1,this.toCol=!1,this.toColAfter=!1,this.startX=0,this.autoScrollMargin=40,this.autoScrollStep=5,this.autoScrollTimeout=!1,this.touchMove=!1,this.moveHover=this.moveHover.bind(this),this.endMove=this.endMove.bind(this),this.registerTableOption("movableColumns",!1)}createPlaceholderElement(){var e=document.createElement("div");return e.classList.add("tabulator-col"),e.classList.add("tabulator-col-placeholder"),e}initialize(){this.table.options.movableColumns&&(this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("alert-show",this.abortMove.bind(this)))}abortMove(){clearTimeout(this.checkTimeout)}initializeColumn(e){var r=this,C={},D;!e.modules.frozen&&!e.isGroup&&(D=e.getElement(),C.mousemove=(function(T){e.parent===r.moving.parent&&((r.touchMove?T.touches[0].pageX:T.pageX)-oo.elOffset(D).left+r.table.columnManager.contentsElement.scrollLeft>e.getWidth()/2?(r.toCol!==e||!r.toColAfter)&&(D.parentNode.insertBefore(r.placeholderElement,D.nextSibling),r.moveColumn(e,!0)):(r.toCol!==e||r.toColAfter)&&(D.parentNode.insertBefore(r.placeholderElement,D),r.moveColumn(e,!1)))}).bind(r),D.addEventListener("mousedown",function(T){r.touchMove=!1,T.which===1&&(r.checkTimeout=setTimeout(function(){r.startMove(T,e)},r.checkPeriod))}),D.addEventListener("mouseup",function(T){T.which===1&&r.checkTimeout&&clearTimeout(r.checkTimeout)}),r.bindTouchEvents(e)),e.modules.moveColumn=C}bindTouchEvents(e){var r=e.getElement(),C=!1,D,T,p,t,d,g;r.addEventListener("touchstart",i=>{this.checkTimeout=setTimeout(()=>{this.touchMove=!0,D=e.nextColumn(),p=D?D.getWidth()/2:0,T=e.prevColumn(),t=T?T.getWidth()/2:0,d=0,g=0,C=!1,this.startMove(i,e)},this.checkPeriod)},{passive:!0}),r.addEventListener("touchmove",i=>{var M,v;this.moving&&(this.moveHover(i),C||(C=i.touches[0].pageX),M=i.touches[0].pageX-C,M>0?D&&M-d>p&&(v=D,v!==e&&(C=i.touches[0].pageX,v.getElement().parentNode.insertBefore(this.placeholderElement,v.getElement().nextSibling),this.moveColumn(v,!0))):T&&-M-g>t&&(v=T,v!==e&&(C=i.touches[0].pageX,v.getElement().parentNode.insertBefore(this.placeholderElement,v.getElement()),this.moveColumn(v,!1))),v&&(D=v.nextColumn(),d=p,p=D?D.getWidth()/2:0,T=v.prevColumn(),g=t,t=T?T.getWidth()/2:0))},{passive:!0}),r.addEventListener("touchend",i=>{this.checkTimeout&&clearTimeout(this.checkTimeout),this.moving&&this.endMove(i)})}startMove(e,r){var C=r.getElement(),D=this.table.columnManager.getContentsElement(),T=this.table.columnManager.getHeadersElement();this.moving=r,this.startX=(this.touchMove?e.touches[0].pageX:e.pageX)-oo.elOffset(C).left,this.table.element.classList.add("tabulator-block-select"),this.placeholderElement.style.width=r.getWidth()+"px",this.placeholderElement.style.height=r.getHeight()+"px",C.parentNode.insertBefore(this.placeholderElement,C),C.parentNode.removeChild(C),this.hoverElement=C.cloneNode(!0),this.hoverElement.classList.add("tabulator-moving"),D.appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.bottom=D.clientHeight-T.offsetHeight+"px",this.touchMove||(this._bindMouseMove(),document.body.addEventListener("mousemove",this.moveHover),document.body.addEventListener("mouseup",this.endMove)),this.moveHover(e)}_bindMouseMove(){this.table.columnManager.columnsByIndex.forEach(function(e){e.modules.moveColumn.mousemove&&e.getElement().addEventListener("mousemove",e.modules.moveColumn.mousemove)})}_unbindMouseMove(){this.table.columnManager.columnsByIndex.forEach(function(e){e.modules.moveColumn.mousemove&&e.getElement().removeEventListener("mousemove",e.modules.moveColumn.mousemove)})}moveColumn(e,r){var C=this.moving.getCells();this.toCol=e,this.toColAfter=r,r?e.getCells().forEach(function(D,T){var p=D.getElement(!0);p.parentNode&&C[T]&&p.parentNode.insertBefore(C[T].getElement(),p.nextSibling)}):e.getCells().forEach(function(D,T){var p=D.getElement(!0);p.parentNode&&C[T]&&p.parentNode.insertBefore(C[T].getElement(),p)})}endMove(e){(e.which===1||this.touchMove)&&(this._unbindMouseMove(),this.placeholderElement.parentNode.insertBefore(this.moving.getElement(),this.placeholderElement.nextSibling),this.placeholderElement.parentNode.removeChild(this.placeholderElement),this.hoverElement.parentNode.removeChild(this.hoverElement),this.table.element.classList.remove("tabulator-block-select"),this.toCol&&this.table.columnManager.moveColumnActual(this.moving,this.toCol,this.toColAfter),this.moving=!1,this.toCol=!1,this.toColAfter=!1,this.touchMove||(document.body.removeEventListener("mousemove",this.moveHover),document.body.removeEventListener("mouseup",this.endMove)))}moveHover(e){var r=this.table.columnManager.getContentsElement(),C=r.scrollLeft,D=(this.touchMove?e.touches[0].pageX:e.pageX)-oo.elOffset(r).left+C,T;this.hoverElement.style.left=D-this.startX+"px",D-C{T=Math.max(0,C-5),this.table.rowManager.getElement().scrollLeft=T,this.autoScrollTimeout=!1},1))),C+r.clientWidth-D{T=Math.min(r.clientWidth,C+5),this.table.rowManager.getElement().scrollLeft=T,this.autoScrollTimeout=!1},1)))}}UM.moduleName="moveColumn";class $y extends qi{constructor(e){super(e),this.placeholderElement=this.createPlaceholderElement(),this.hoverElement=!1,this.checkTimeout=!1,this.checkPeriod=150,this.moving=!1,this.toRow=!1,this.toRowAfter=!1,this.hasHandle=!1,this.startY=0,this.startX=0,this.moveHover=this.moveHover.bind(this),this.endMove=this.endMove.bind(this),this.tableRowDropEvent=!1,this.touchMove=!1,this.connection=!1,this.connectionSelectorsTables=!1,this.connectionSelectorsElements=!1,this.connectionElements=[],this.connections=[],this.connectedTable=!1,this.connectedRow=!1,this.registerTableOption("movableRows",!1),this.registerTableOption("movableRowsConnectedTables",!1),this.registerTableOption("movableRowsConnectedElements",!1),this.registerTableOption("movableRowsSender",!1),this.registerTableOption("movableRowsReceiver","insert"),this.registerColumnOption("rowHandle")}createPlaceholderElement(){var e=document.createElement("div");return e.classList.add("tabulator-row"),e.classList.add("tabulator-row-placeholder"),e}initialize(){this.table.options.movableRows&&(this.connectionSelectorsTables=this.table.options.movableRowsConnectedTables,this.connectionSelectorsElements=this.table.options.movableRowsConnectedElements,this.connection=this.connectionSelectorsTables||this.connectionSelectorsElements,this.subscribe("cell-init",this.initializeCell.bind(this)),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("row-init",this.initializeRow.bind(this)))}initializeGroupHeader(e){var r=this,C={};C.mouseup=(function(D){r.tableRowDrop(D,e)}).bind(r),C.mousemove=(function(D){var T;D.pageY-oo.elOffset(e.element).top+r.table.rowManager.element.scrollTop>e.getHeight()/2?(r.toRow!==e||!r.toRowAfter)&&(T=e.getElement(),T.parentNode.insertBefore(r.placeholderElement,T.nextSibling),r.moveRow(e,!0)):(r.toRow!==e||r.toRowAfter)&&(T=e.getElement(),T.previousSibling&&(T.parentNode.insertBefore(r.placeholderElement,T),r.moveRow(e,!1)))}).bind(r),e.modules.moveRow=C}initializeRow(e){var r=this,C={},D;C.mouseup=(function(T){r.tableRowDrop(T,e)}).bind(r),C.mousemove=(function(T){var p=e.getElement();T.pageY-oo.elOffset(p).top+r.table.rowManager.element.scrollTop>e.getHeight()/2?(r.toRow!==e||!r.toRowAfter)&&(p.parentNode.insertBefore(r.placeholderElement,p.nextSibling),r.moveRow(e,!0)):(r.toRow!==e||r.toRowAfter)&&(p.parentNode.insertBefore(r.placeholderElement,p),r.moveRow(e,!1))}).bind(r),this.hasHandle||(D=e.getElement(),D.addEventListener("mousedown",function(T){T.which===1&&(r.checkTimeout=setTimeout(function(){r.startMove(T,e)},r.checkPeriod))}),D.addEventListener("mouseup",function(T){T.which===1&&r.checkTimeout&&clearTimeout(r.checkTimeout)}),this.bindTouchEvents(e,e.getElement())),e.modules.moveRow=C}initializeColumn(e){e.definition.rowHandle&&this.table.options.movableRows!==!1&&(this.hasHandle=!0)}initializeCell(e){if(e.column.definition.rowHandle&&this.table.options.movableRows!==!1){var r=this,C=e.getElement(!0);C.addEventListener("mousedown",function(D){D.which===1&&(r.checkTimeout=setTimeout(function(){r.startMove(D,e.row)},r.checkPeriod))}),C.addEventListener("mouseup",function(D){D.which===1&&r.checkTimeout&&clearTimeout(r.checkTimeout)}),this.bindTouchEvents(e.row,C)}}bindTouchEvents(e,r){var C=!1,D,T,p,t,d,g;r.addEventListener("touchstart",i=>{this.checkTimeout=setTimeout(()=>{this.touchMove=!0,D=e.nextRow(),p=D?D.getHeight()/2:0,T=e.prevRow(),t=T?T.getHeight()/2:0,d=0,g=0,C=!1,this.startMove(i,e)},this.checkPeriod)},{passive:!0}),this.moving,this.toRow,this.toRowAfter,r.addEventListener("touchmove",i=>{var M,v;this.moving&&(i.preventDefault(),this.moveHover(i),C||(C=i.touches[0].pageY),M=i.touches[0].pageY-C,M>0?D&&M-d>p&&(v=D,v!==e&&(C=i.touches[0].pageY,v.getElement().parentNode.insertBefore(this.placeholderElement,v.getElement().nextSibling),this.moveRow(v,!0))):T&&-M-g>t&&(v=T,v!==e&&(C=i.touches[0].pageY,v.getElement().parentNode.insertBefore(this.placeholderElement,v.getElement()),this.moveRow(v,!1))),v&&(D=v.nextRow(),d=p,p=D?D.getHeight()/2:0,T=v.prevRow(),g=t,t=T?T.getHeight()/2:0))}),r.addEventListener("touchend",i=>{this.checkTimeout&&clearTimeout(this.checkTimeout),this.moving&&(this.endMove(i),this.touchMove=!1)})}_bindMouseMove(){this.table.rowManager.getDisplayRows().forEach(e=>{(e.type==="row"||e.type==="group")&&e.modules.moveRow&&e.modules.moveRow.mousemove&&e.getElement().addEventListener("mousemove",e.modules.moveRow.mousemove)})}_unbindMouseMove(){this.table.rowManager.getDisplayRows().forEach(e=>{(e.type==="row"||e.type==="group")&&e.modules.moveRow&&e.modules.moveRow.mousemove&&e.getElement().removeEventListener("mousemove",e.modules.moveRow.mousemove)})}startMove(e,r){var C=r.getElement();this.setStartPosition(e,r),this.moving=r,this.table.element.classList.add("tabulator-block-select"),this.placeholderElement.style.width=r.getWidth()+"px",this.placeholderElement.style.height=r.getHeight()+"px",this.connection?(this.table.element.classList.add("tabulator-movingrow-sending"),this.connectToTables(r)):(C.parentNode.insertBefore(this.placeholderElement,C),C.parentNode.removeChild(C)),this.hoverElement=C.cloneNode(!0),this.hoverElement.classList.add("tabulator-moving"),this.connection?(document.body.appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.top="0",this.hoverElement.style.width=this.table.element.clientWidth+"px",this.hoverElement.style.whiteSpace="nowrap",this.hoverElement.style.overflow="hidden",this.hoverElement.style.pointerEvents="none"):(this.table.rowManager.getTableElement().appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.top="0",this._bindMouseMove()),document.body.addEventListener("mousemove",this.moveHover),document.body.addEventListener("mouseup",this.endMove),this.dispatchExternal("rowMoving",r.getComponent()),this.moveHover(e)}setStartPosition(e,r){var C=this.touchMove?e.touches[0].pageX:e.pageX,D=this.touchMove?e.touches[0].pageY:e.pageY,T,p;T=r.getElement(),this.connection?(p=T.getBoundingClientRect(),this.startX=p.left-C+window.pageXOffset,this.startY=p.top-D+window.pageYOffset):this.startY=D-T.getBoundingClientRect().top}endMove(e){(!e||e.which===1||this.touchMove)&&(this._unbindMouseMove(),this.connection||(this.placeholderElement.parentNode.insertBefore(this.moving.getElement(),this.placeholderElement.nextSibling),this.placeholderElement.parentNode.removeChild(this.placeholderElement)),this.hoverElement.parentNode.removeChild(this.hoverElement),this.table.element.classList.remove("tabulator-block-select"),this.toRow?this.table.rowManager.moveRow(this.moving,this.toRow,this.toRowAfter):this.dispatchExternal("rowMoveCancelled",this.moving.getComponent()),this.moving=!1,this.toRow=!1,this.toRowAfter=!1,document.body.removeEventListener("mousemove",this.moveHover),document.body.removeEventListener("mouseup",this.endMove),this.connection&&(this.table.element.classList.remove("tabulator-movingrow-sending"),this.disconnectFromTables()))}moveRow(e,r){this.toRow=e,this.toRowAfter=r}moveHover(e){this.connection?this.moveHoverConnections.call(this,e):this.moveHoverTable.call(this,e)}moveHoverTable(e){var r=this.table.rowManager.getElement(),C=r.scrollTop,D=(this.touchMove?e.touches[0].pageY:e.pageY)-r.getBoundingClientRect().top+C;this.hoverElement.style.top=Math.min(D-this.startY,this.table.rowManager.element.scrollHeight-this.hoverElement.offsetHeight)+"px"}moveHoverConnections(e){this.hoverElement.style.left=this.startX+(this.touchMove?e.touches[0].pageX:e.pageX)+"px",this.hoverElement.style.top=this.startY+(this.touchMove?e.touches[0].pageY:e.pageY)+"px"}elementRowDrop(e,r,C){this.dispatchExternal("movableRowsElementDrop",e,r,C?C.getComponent():!1)}connectToTables(e){var r;this.connectionSelectorsTables&&(r=this.commsConnections(this.connectionSelectorsTables),this.dispatchExternal("movableRowsSendingStart",r),this.commsSend(this.connectionSelectorsTables,"moveRow","connect",{row:e})),this.connectionSelectorsElements&&(this.connectionElements=[],Array.isArray(this.connectionSelectorsElements)||(this.connectionSelectorsElements=[this.connectionSelectorsElements]),this.connectionSelectorsElements.forEach(C=>{typeof C=="string"?this.connectionElements=this.connectionElements.concat(Array.prototype.slice.call(document.querySelectorAll(C))):this.connectionElements.push(C)}),this.connectionElements.forEach(C=>{var D=T=>{this.elementRowDrop(T,C,this.moving)};C.addEventListener("mouseup",D),C.tabulatorElementDropEvent=D,C.classList.add("tabulator-movingrow-receiving")}))}disconnectFromTables(){var e;this.connectionSelectorsTables&&(e=this.commsConnections(this.connectionSelectorsTables),this.dispatchExternal("movableRowsSendingStop",e),this.commsSend(this.connectionSelectorsTables,"moveRow","disconnect")),this.connectionElements.forEach(r=>{r.classList.remove("tabulator-movingrow-receiving"),r.removeEventListener("mouseup",r.tabulatorElementDropEvent),delete r.tabulatorElementDropEvent})}connect(e,r){return this.connectedTable?(console.warn("Move Row Error - Table cannot accept connection, already connected to table:",this.connectedTable),!1):(this.connectedTable=e,this.connectedRow=r,this.table.element.classList.add("tabulator-movingrow-receiving"),this.table.rowManager.getDisplayRows().forEach(C=>{C.type==="row"&&C.modules.moveRow&&C.modules.moveRow.mouseup&&C.getElement().addEventListener("mouseup",C.modules.moveRow.mouseup)}),this.tableRowDropEvent=this.tableRowDrop.bind(this),this.table.element.addEventListener("mouseup",this.tableRowDropEvent),this.dispatchExternal("movableRowsReceivingStart",r,e),!0)}disconnect(e){e===this.connectedTable?(this.connectedTable=!1,this.connectedRow=!1,this.table.element.classList.remove("tabulator-movingrow-receiving"),this.table.rowManager.getDisplayRows().forEach(r=>{r.type==="row"&&r.modules.moveRow&&r.modules.moveRow.mouseup&&r.getElement().removeEventListener("mouseup",r.modules.moveRow.mouseup)}),this.table.element.removeEventListener("mouseup",this.tableRowDropEvent),this.dispatchExternal("movableRowsReceivingStop",e)):console.warn("Move Row Error - trying to disconnect from non connected table")}dropComplete(e,r,C){var D=!1;if(C){switch(typeof this.table.options.movableRowsSender){case"string":D=this.senders[this.table.options.movableRowsSender];break;case"function":D=this.table.options.movableRowsSender;break}D?D.call(this,this.moving?this.moving.getComponent():void 0,r?r.getComponent():void 0,e):this.table.options.movableRowsSender&&console.warn("Mover Row Error - no matching sender found:",this.table.options.movableRowsSender),this.dispatchExternal("movableRowsSent",this.moving.getComponent(),r?r.getComponent():void 0,e)}else this.dispatchExternal("movableRowsSentFailed",this.moving.getComponent(),r?r.getComponent():void 0,e);this.endMove()}tableRowDrop(e,r){var C=!1,D=!1;switch(e.stopImmediatePropagation(),typeof this.table.options.movableRowsReceiver){case"string":C=this.receivers[this.table.options.movableRowsReceiver];break;case"function":C=this.table.options.movableRowsReceiver;break}C?D=C.call(this,this.connectedRow.getComponent(),r?r.getComponent():void 0,this.connectedTable):console.warn("Mover Row Error - no matching receiver found:",this.table.options.movableRowsReceiver),D?this.dispatchExternal("movableRowsReceived",this.connectedRow.getComponent(),r?r.getComponent():void 0,this.connectedTable):this.dispatchExternal("movableRowsReceivedFailed",this.connectedRow.getComponent(),r?r.getComponent():void 0,this.connectedTable),this.commsSend(this.connectedTable,"moveRow","dropcomplete",{row:r,success:D})}commsReceived(e,r,C){switch(r){case"connect":return this.connect(e,C.row);case"disconnect":return this.disconnect(e);case"dropcomplete":return this.dropComplete(e,C.row,C.success)}}}$y.prototype.receivers={insert:function(n,e,r){return this.table.addRow(n.getData(),void 0,e),!0},add:function(n,e,r){return this.table.addRow(n.getData()),!0},update:function(n,e,r){return e?(e.update(n.getData()),!0):!1},replace:function(n,e,r){return e?(this.table.addRow(n.getData(),void 0,e),e.delete(),!0):!1}};$y.prototype.senders={delete:function(n,e,r){n.delete()}};$y.moduleName="moveRow";var gP={};class o0 extends qi{constructor(e){super(e),this.allowedTypes=["","data","edit","clipboard"],this.enabled=!0,this.registerColumnOption("mutator"),this.registerColumnOption("mutatorParams"),this.registerColumnOption("mutatorData"),this.registerColumnOption("mutatorDataParams"),this.registerColumnOption("mutatorEdit"),this.registerColumnOption("mutatorEditParams"),this.registerColumnOption("mutatorClipboard"),this.registerColumnOption("mutatorClipboardParams"),this.registerColumnOption("mutateLink")}initialize(){this.subscribe("cell-value-changing",this.transformCell.bind(this)),this.subscribe("cell-value-changed",this.mutateLink.bind(this)),this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("row-data-init-before",this.rowDataChanged.bind(this)),this.subscribe("row-data-changing",this.rowDataChanged.bind(this))}rowDataChanged(e,r,C){return this.transformRow(r,"data",C)}initializeColumn(e){var r=!1,C={};this.allowedTypes.forEach(D=>{var T="mutator"+(D.charAt(0).toUpperCase()+D.slice(1)),p;e.definition[T]&&(p=this.lookupMutator(e.definition[T]),p&&(r=!0,C[T]={mutator:p,params:e.definition[T+"Params"]||{}}))}),r&&(e.modules.mutate=C)}lookupMutator(e){var r=!1;switch(typeof e){case"string":o0.mutators[e]?r=o0.mutators[e]:console.warn("Mutator Error - No such mutator found, ignoring: ",e);break;case"function":r=e;break}return r}transformRow(e,r,C){var D="mutator"+(r.charAt(0).toUpperCase()+r.slice(1)),T;return this.enabled&&this.table.columnManager.traverse(p=>{var t,d,g;p.modules.mutate&&(t=p.modules.mutate[D]||p.modules.mutate.mutator||!1,t&&(T=p.getFieldValue(typeof C<"u"?C:e),(r=="data"&&!C||typeof T<"u")&&(g=p.getComponent(),d=typeof t.params=="function"?t.params(T,e,r,g):t.params,p.setFieldValue(e,t.mutator(T,e,r,d,g)))))}),e}transformCell(e,r){if(e.column.modules.mutate){var C=e.column.modules.mutate.mutatorEdit||e.column.modules.mutate.mutator||!1,D={};if(C)return D=Object.assign(D,e.row.getData()),e.column.setFieldValue(D,r),C.mutator(r,D,"edit",C.params,e.getComponent())}return r}mutateLink(e){var r=e.column.definition.mutateLink;r&&(Array.isArray(r)||(r=[r]),r.forEach(C=>{var D=e.row.getCell(C);D&&D.setValue(D.getValue(),!0,!0)}))}enable(){this.enabled=!0}disable(){this.enabled=!1}}o0.moduleName="mutator";o0.mutators=gP;function vP(n,e,r,C,D){var T=document.createElement("span"),p=document.createElement("span"),t=document.createElement("span"),d=document.createElement("span"),g=document.createElement("span"),i=document.createElement("span");return this.table.modules.localize.langBind("pagination|counter|showing",M=>{p.innerHTML=M}),this.table.modules.localize.langBind("pagination|counter|of",M=>{d.innerHTML=M}),this.table.modules.localize.langBind("pagination|counter|rows",M=>{i.innerHTML=M}),C?(t.innerHTML=" "+e+"-"+Math.min(e+n-1,C)+" ",g.innerHTML=" "+C+" ",T.appendChild(p),T.appendChild(t),T.appendChild(d),T.appendChild(g),T.appendChild(i)):(t.innerHTML=" 0 ",T.appendChild(p),T.appendChild(t),T.appendChild(i)),T}function yP(n,e,r,C,D){var T=document.createElement("span"),p=document.createElement("span"),t=document.createElement("span"),d=document.createElement("span"),g=document.createElement("span"),i=document.createElement("span");return this.table.modules.localize.langBind("pagination|counter|showing",M=>{p.innerHTML=M}),t.innerHTML=" "+r+" ",this.table.modules.localize.langBind("pagination|counter|of",M=>{d.innerHTML=M}),g.innerHTML=" "+D+" ",this.table.modules.localize.langBind("pagination|counter|pages",M=>{i.innerHTML=M}),T.appendChild(p),T.appendChild(t),T.appendChild(d),T.appendChild(g),T.appendChild(i),T}var bP={rows:vP,pages:yP};class rg extends qi{constructor(e){super(e),this.mode="local",this.progressiveLoad=!1,this.element=null,this.pageCounterElement=null,this.pageCounter=null,this.size=0,this.page=1,this.count=5,this.max=1,this.remoteRowCountEstimate=null,this.initialLoad=!0,this.dataChanging=!1,this.pageSizes=[],this.registerTableOption("pagination",!1),this.registerTableOption("paginationMode","local"),this.registerTableOption("paginationSize",!1),this.registerTableOption("paginationInitialPage",1),this.registerTableOption("paginationCounter",!1),this.registerTableOption("paginationCounterElement",!1),this.registerTableOption("paginationButtonCount",5),this.registerTableOption("paginationSizeSelector",!1),this.registerTableOption("paginationElement",!1),this.registerTableOption("paginationAddRow","page"),this.registerTableOption("progressiveLoad",!1),this.registerTableOption("progressiveLoadDelay",0),this.registerTableOption("progressiveLoadScrollMargin",0),this.registerTableFunction("setMaxPage",this.setMaxPage.bind(this)),this.registerTableFunction("setPage",this.setPage.bind(this)),this.registerTableFunction("setPageToRow",this.userSetPageToRow.bind(this)),this.registerTableFunction("setPageSize",this.userSetPageSize.bind(this)),this.registerTableFunction("getPageSize",this.getPageSize.bind(this)),this.registerTableFunction("previousPage",this.previousPage.bind(this)),this.registerTableFunction("nextPage",this.nextPage.bind(this)),this.registerTableFunction("getPage",this.getPage.bind(this)),this.registerTableFunction("getPageMax",this.getPageMax.bind(this)),this.registerComponentFunction("row","pageTo",this.setPageToRow.bind(this))}initialize(){this.table.options.pagination?(this.subscribe("row-deleted",this.rowsUpdated.bind(this)),this.subscribe("row-added",this.rowsUpdated.bind(this)),this.subscribe("data-processed",this.initialLoadComplete.bind(this)),this.subscribe("table-built",this.calculatePageSizes.bind(this)),this.subscribe("footer-redraw",this.footerRedraw.bind(this)),this.table.options.paginationAddRow=="page"&&this.subscribe("row-adding-position",this.rowAddingPosition.bind(this)),this.table.options.paginationMode==="remote"&&(this.subscribe("data-params",this.remotePageParams.bind(this)),this.subscribe("data-loaded",this._parseRemoteData.bind(this))),this.table.options.progressiveLoad&&console.error("Progressive Load Error - Pagination and progressive load cannot be used at the same time"),this.registerDisplayHandler(this.restOnRenderBefore.bind(this),40),this.registerDisplayHandler(this.getRows.bind(this),50),this.createElements(),this.initializePageCounter(),this.initializePaginator()):this.table.options.progressiveLoad&&(this.subscribe("data-params",this.remotePageParams.bind(this)),this.subscribe("data-loaded",this._parseRemoteData.bind(this)),this.subscribe("table-built",this.calculatePageSizes.bind(this)),this.subscribe("data-processed",this.initialLoadComplete.bind(this)),this.initializeProgressive(this.table.options.progressiveLoad),this.table.options.progressiveLoad==="scroll"&&this.subscribe("scroll-vertical",this.scrollVertical.bind(this)))}rowAddingPosition(e,r){var C=this.table.rowManager,D=C.getDisplayRows(),T;return r?D.length?T=D[0]:C.activeRows.length&&(T=C.activeRows[C.activeRows.length-1],r=!1):D.length&&(T=D[D.length-1],r=!(D.length{}))}restOnRenderBefore(e,r){return r||this.mode==="local"&&this.reset(),e}rowsUpdated(){this.refreshData(!0,"all")}createElements(){var e;this.element=document.createElement("span"),this.element.classList.add("tabulator-paginator"),this.pagesElement=document.createElement("span"),this.pagesElement.classList.add("tabulator-pages"),e=document.createElement("button"),e.classList.add("tabulator-page"),e.setAttribute("type","button"),e.setAttribute("role","button"),e.setAttribute("aria-label",""),e.setAttribute("title",""),this.firstBut=e.cloneNode(!0),this.firstBut.setAttribute("data-page","first"),this.prevBut=e.cloneNode(!0),this.prevBut.setAttribute("data-page","prev"),this.nextBut=e.cloneNode(!0),this.nextBut.setAttribute("data-page","next"),this.lastBut=e.cloneNode(!0),this.lastBut.setAttribute("data-page","last"),this.table.options.paginationSizeSelector&&(this.pageSizeSelect=document.createElement("select"),this.pageSizeSelect.classList.add("tabulator-page-size"))}generatePageSizeSelectList(){var e=[];if(this.pageSizeSelect){if(Array.isArray(this.table.options.paginationSizeSelector))e=this.table.options.paginationSizeSelector,this.pageSizes=e,this.pageSizes.indexOf(this.size)==-1&&e.unshift(this.size);else if(this.pageSizes.indexOf(this.size)==-1){e=[];for(let r=1;r<5;r++)e.push(this.size*r);this.pageSizes=e}else e=this.pageSizes;for(;this.pageSizeSelect.firstChild;)this.pageSizeSelect.removeChild(this.pageSizeSelect.firstChild);e.forEach(r=>{var C=document.createElement("option");C.value=r,r===!0?this.langBind("pagination|all",function(D){C.innerHTML=D}):C.innerHTML=r,this.pageSizeSelect.appendChild(C)}),this.pageSizeSelect.value=this.size}}initializePageCounter(){var e=this.table.options.paginationCounter,r=null;e&&(typeof e=="function"?r=e:r=rg.pageCounters[e],r?(this.pageCounter=r,this.pageCounterElement=document.createElement("span"),this.pageCounterElement.classList.add("tabulator-page-counter")):console.warn("Pagination Error - No such page counter found: ",e))}initializePaginator(e){var r,C;e||(this.langBind("pagination|first",D=>{this.firstBut.innerHTML=D}),this.langBind("pagination|first_title",D=>{this.firstBut.setAttribute("aria-label",D),this.firstBut.setAttribute("title",D)}),this.langBind("pagination|prev",D=>{this.prevBut.innerHTML=D}),this.langBind("pagination|prev_title",D=>{this.prevBut.setAttribute("aria-label",D),this.prevBut.setAttribute("title",D)}),this.langBind("pagination|next",D=>{this.nextBut.innerHTML=D}),this.langBind("pagination|next_title",D=>{this.nextBut.setAttribute("aria-label",D),this.nextBut.setAttribute("title",D)}),this.langBind("pagination|last",D=>{this.lastBut.innerHTML=D}),this.langBind("pagination|last_title",D=>{this.lastBut.setAttribute("aria-label",D),this.lastBut.setAttribute("title",D)}),this.firstBut.addEventListener("click",()=>{this.setPage(1)}),this.prevBut.addEventListener("click",()=>{this.previousPage()}),this.nextBut.addEventListener("click",()=>{this.nextPage()}),this.lastBut.addEventListener("click",()=>{this.setPage(this.max)}),this.table.options.paginationElement&&(this.element=this.table.options.paginationElement),this.pageSizeSelect&&(r=document.createElement("label"),this.langBind("pagination|page_size",D=>{this.pageSizeSelect.setAttribute("aria-label",D),this.pageSizeSelect.setAttribute("title",D),r.innerHTML=D}),this.element.appendChild(r),this.element.appendChild(this.pageSizeSelect),this.pageSizeSelect.addEventListener("change",D=>{this.setPageSize(this.pageSizeSelect.value=="true"?!0:this.pageSizeSelect.value),this.setPage(1)})),this.element.appendChild(this.firstBut),this.element.appendChild(this.prevBut),this.element.appendChild(this.pagesElement),this.element.appendChild(this.nextBut),this.element.appendChild(this.lastBut),this.table.options.paginationElement||(this.table.options.paginationCounter&&(this.table.options.paginationCounterElement?this.table.options.paginationCounterElement instanceof HTMLElement?this.table.options.paginationCounterElement.appendChild(this.pageCounterElement):typeof this.table.options.paginationCounterElement=="string"&&(C=document.querySelector(this.table.options.paginationCounterElement),C?C.appendChild(this.pageCounterElement):console.warn("Pagination Error - Unable to find element matching paginationCounterElement selector:",this.table.options.paginationCounterElement)):this.footerAppend(this.pageCounterElement)),this.footerAppend(this.element)),this.page=this.table.options.paginationInitialPage,this.count=this.table.options.paginationButtonCount),this.mode=this.table.options.paginationMode}initializeProgressive(e){this.initializePaginator(!0),this.mode="progressive_"+e,this.progressiveLoad=!0}trackChanges(){this.dispatch("page-changed")}setMaxRows(e){e?this.max=this.size===!0?1:Math.ceil(e/this.size):this.max=1,this.page>this.max&&(this.page=this.max)}reset(e){this.initialLoad||(this.mode=="local"||e)&&(this.page=1,this.trackChanges())}setMaxPage(e){e=parseInt(e),this.max=e||1,this.page>this.max&&(this.page=this.max,this.trigger())}setPage(e){switch(e){case"first":return this.setPage(1);case"prev":return this.previousPage();case"next":return this.nextPage();case"last":return this.setPage(this.max)}return e=parseInt(e),e>0&&e<=this.max||this.mode!=="local"?(this.page=e,this.trackChanges(),this.trigger()):(console.warn("Pagination Error - Requested page is out of range of 1 - "+this.max+":",e),Promise.reject())}setPageToRow(e){var r=this.displayRows(-1),C=r.indexOf(e);if(C>-1){var D=this.size===!0?1:Math.ceil((C+1)/this.size);return this.setPage(D)}else return console.warn("Pagination Error - Requested row is not visible"),Promise.reject()}setPageSize(e){e!==!0&&(e=parseInt(e)),e>0&&(this.size=e,this.dispatchExternal("pageSizeChanged",e)),this.pageSizeSelect&&this.generatePageSizeSelectList(),this.trackChanges()}_setPageCounter(e,r,C){var D;if(this.pageCounter)switch(this.mode==="remote"&&(r=this.size,C=(this.page-1)*this.size+1,e=this.remoteRowCountEstimate),D=this.pageCounter.call(this,r,C,this.page,e,this.max),typeof D){case"object":if(D instanceof Node){for(;this.pageCounterElement.firstChild;)this.pageCounterElement.removeChild(this.pageCounterElement.firstChild);this.pageCounterElement.appendChild(D)}else this.pageCounterElement.innerHTML="",D!=null&&console.warn("Page Counter Error - Page Counter has returned a type of object, the only valid page counter object return is an instance of Node, the page counter returned:",D);break;case"undefined":this.pageCounterElement.innerHTML="";break;default:this.pageCounterElement.innerHTML=D}}_setPageButtons(){let e=Math.floor((this.count-1)/2),r=Math.ceil((this.count-1)/2),C=this.max-this.page+e+10&&T<=this.max&&this.pagesElement.appendChild(this._generatePageButton(T));this.footerRedraw()}_generatePageButton(e){var r=document.createElement("button");return r.classList.add("tabulator-page"),e==this.page&&r.classList.add("active"),r.setAttribute("type","button"),r.setAttribute("role","button"),this.langBind("pagination|page_title",C=>{r.setAttribute("aria-label",C+" "+e),r.setAttribute("title",C+" "+e)}),r.setAttribute("data-page",e),r.textContent=e,r.addEventListener("click",C=>{this.setPage(e)}),r}previousPage(){return this.page>1?(this.page--,this.trackChanges(),this.trigger()):(console.warn("Pagination Error - Previous page would be less than page 1:",0),Promise.reject())}nextPage(){return this.paged.type==="row");if(this.mode=="local"){C=[],this.setMaxRows(e.length),this.size===!0?(D=0,T=e.length):(D=this.size*(this.page-1),T=D+parseInt(this.size)),this._setPageButtons();for(let d=D;d{this.dataChanging=!1});case"progressive_load":case"progressive_scroll":return this.reloadData(null,!0);default:return console.warn("Pagination Error - no such pagination mode:",this.mode),Promise.reject()}}_parseRemoteData(e){var r;if(typeof e.last_page>"u"&&console.warn("Remote Pagination Error - Server response missing '"+(this.options("dataReceiveParams").last_page||"last_page")+"' property"),e.data)if(this.max=parseInt(e.last_page)||1,this.remoteRowCountEstimate=typeof e.last_row<"u"?e.last_row:e.last_page*this.size-(this.page==e.last_page?this.size-e.data.length:0),this.progressiveLoad){switch(this.mode){case"progressive_load":this.page==1?this.table.rowManager.setData(e.data,!1,this.page==1):this.table.rowManager.addRows(e.data),this.page{this.nextPage()},this.table.options.progressiveLoadDelay);break;case"progressive_scroll":e=this.page===1?e.data:this.table.rowManager.getData().concat(e.data),this.table.rowManager.setData(e,this.page!==1,this.page==1),r=this.table.options.progressiveLoadScrollMargin||this.table.rowManager.element.clientHeight*2,this.table.rowManager.element.scrollHeight<=this.table.rowManager.element.clientHeight+r&&this.page{this.nextPage()});break}return!1}else this.dispatchExternal("pageLoaded",this.getPage());else console.warn("Remote Pagination Error - Server response missing '"+(this.options("dataReceiveParams").data||"data")+"' property");return e.data}footerRedraw(){var e=this.table.footerManager.containerElement;Math.ceil(e.clientWidth)-e.scrollWidth<0?this.pagesElement.style.display="none":(this.pagesElement.style.display="",Math.ceil(e.clientWidth)-e.scrollWidth<0&&(this.pagesElement.style.display="none"))}}rg.moduleName="page";rg.pageCounters=bP;var xP={local:function(n,e){var r=localStorage.getItem(n+"-"+e);return r?JSON.parse(r):!1},cookie:function(n,e){var r=document.cookie,C=n+"-"+e,D=r.indexOf(C+"="),T,p;return D>-1&&(r=r.slice(D),T=r.indexOf(";"),T>-1&&(r=r.slice(0,T)),p=r.replace(C+"=","")),p?JSON.parse(p):!1}},_P={local:function(n,e,r){localStorage.setItem(n+"-"+e,JSON.stringify(r))},cookie:function(n,e,r){var C=new Date;C.setDate(C.getDate()+1e4),document.cookie=n+"-"+e+"="+JSON.stringify(r)+"; expires="+C.toUTCString()}};class jl extends qi{constructor(e){super(e),this.mode="",this.id="",this.defWatcherBlock=!1,this.config={},this.readFunc=!1,this.writeFunc=!1,this.registerTableOption("persistence",!1),this.registerTableOption("persistenceID",""),this.registerTableOption("persistenceMode",!0),this.registerTableOption("persistenceReaderFunc",!1),this.registerTableOption("persistenceWriterFunc",!1)}localStorageTest(){var e="_tabulator_test";try{return window.localStorage.setItem(e,e),window.localStorage.removeItem(e),!0}catch{return!1}}initialize(){if(this.table.options.persistence){var e=this.table.options.persistenceMode,r=this.table.options.persistenceID,C;this.mode=e!==!0?e:this.localStorageTest()?"local":"cookie",this.table.options.persistenceReaderFunc?typeof this.table.options.persistenceReaderFunc=="function"?this.readFunc=this.table.options.persistenceReaderFunc:jl.readers[this.table.options.persistenceReaderFunc]?this.readFunc=jl.readers[this.table.options.persistenceReaderFunc]:console.warn("Persistence Read Error - invalid reader set",this.table.options.persistenceReaderFunc):jl.readers[this.mode]?this.readFunc=jl.readers[this.mode]:console.warn("Persistence Read Error - invalid reader set",this.mode),this.table.options.persistenceWriterFunc?typeof this.table.options.persistenceWriterFunc=="function"?this.writeFunc=this.table.options.persistenceWriterFunc:jl.writers[this.table.options.persistenceWriterFunc]?this.writeFunc=jl.writers[this.table.options.persistenceWriterFunc]:console.warn("Persistence Write Error - invalid reader set",this.table.options.persistenceWriterFunc):jl.writers[this.mode]?this.writeFunc=jl.writers[this.mode]:console.warn("Persistence Write Error - invalid writer set",this.mode),this.id="tabulator-"+(r||this.table.element.getAttribute("id")||""),this.config={sort:this.table.options.persistence===!0||this.table.options.persistence.sort,filter:this.table.options.persistence===!0||this.table.options.persistence.filter,headerFilter:this.table.options.persistence===!0||this.table.options.persistence.headerFilter,group:this.table.options.persistence===!0||this.table.options.persistence.group,page:this.table.options.persistence===!0||this.table.options.persistence.page,columns:this.table.options.persistence===!0?["title","width","visible"]:this.table.options.persistence.columns},this.config.page&&(C=this.retrieveData("page"),C&&(typeof C.paginationSize<"u"&&(this.config.page===!0||this.config.page.size)&&(this.table.options.paginationSize=C.paginationSize),typeof C.paginationInitialPage<"u"&&(this.config.page===!0||this.config.page.page)&&(this.table.options.paginationInitialPage=C.paginationInitialPage))),this.config.group&&(C=this.retrieveData("group"),C&&(typeof C.groupBy<"u"&&(this.config.group===!0||this.config.group.groupBy)&&(this.table.options.groupBy=C.groupBy),typeof C.groupStartOpen<"u"&&(this.config.group===!0||this.config.group.groupStartOpen)&&(this.table.options.groupStartOpen=C.groupStartOpen),typeof C.groupHeader<"u"&&(this.config.group===!0||this.config.group.groupHeader)&&(this.table.options.groupHeader=C.groupHeader))),this.config.columns&&(this.table.options.columns=this.load("columns",this.table.options.columns),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("column-show",this.save.bind(this,"columns")),this.subscribe("column-hide",this.save.bind(this,"columns")),this.subscribe("column-moved",this.save.bind(this,"columns"))),this.subscribe("table-built",this.tableBuilt.bind(this),0),this.subscribe("table-redraw",this.tableRedraw.bind(this)),this.subscribe("filter-changed",this.eventSave.bind(this,"filter")),this.subscribe("filter-changed",this.eventSave.bind(this,"headerFilter")),this.subscribe("sort-changed",this.eventSave.bind(this,"sort")),this.subscribe("group-changed",this.eventSave.bind(this,"group")),this.subscribe("page-changed",this.eventSave.bind(this,"page")),this.subscribe("column-resized",this.eventSave.bind(this,"columns")),this.subscribe("column-width",this.eventSave.bind(this,"columns")),this.subscribe("layout-refreshed",this.eventSave.bind(this,"columns"))}this.registerTableFunction("getColumnLayout",this.getColumnLayout.bind(this)),this.registerTableFunction("setColumnLayout",this.setColumnLayout.bind(this))}eventSave(e){this.config[e]&&this.save(e)}tableBuilt(){var e,r,C;this.config.sort&&(e=this.load("sort"),e&&(this.table.options.initialSort=e)),this.config.filter&&(r=this.load("filter"),r&&(this.table.options.initialFilter=r)),this.config.headerFilter&&(C=this.load("headerFilter"),C&&(this.table.options.initialHeaderFilter=C))}tableRedraw(e){e&&this.config.columns&&this.save("columns")}getColumnLayout(){return this.parseColumns(this.table.columnManager.getColumns())}setColumnLayout(e){return this.table.columnManager.setColumns(this.mergeDefinition(this.table.options.columns,e,!0)),!0}initializeColumn(e){var r,C;this.config.columns&&(this.defWatcherBlock=!0,r=e.getDefinition(),C=this.config.columns===!0?Object.keys(r):this.config.columns,C.forEach(D=>{var T=Object.getOwnPropertyDescriptor(r,D),p=r[D];T&&Object.defineProperty(r,D,{set:t=>{p=t,this.defWatcherBlock||this.save("columns"),T.set&&T.set(t)},get:()=>(T.get&&T.get(),p)})}),this.defWatcherBlock=!1)}load(e,r){var C=this.retrieveData(e);return r&&(C=C?this.mergeDefinition(r,C):r),C}retrieveData(e){return this.readFunc?this.readFunc(this.id,e):!1}mergeDefinition(e,r,C){var D=[];return r=r||[],r.forEach((T,p)=>{var t=this._findColumn(e,T),d;t&&(C?d=Object.keys(T):this.config.columns===!0||this.config.columns==null?(d=Object.keys(t),d.push("width")):d=this.config.columns,d.forEach(g=>{g!=="columns"&&typeof T[g]<"u"&&(t[g]=T[g])}),t.columns&&(t.columns=this.mergeDefinition(t.columns,T.columns)),D.push(t))}),e.forEach((T,p)=>{var t=this._findColumn(r,T);t||(D.length>p?D.splice(p,0,T):D.push(T))}),D}_findColumn(e,r){var C=r.columns?"group":r.field?"field":"object";return e.find(function(D){switch(C){case"group":return D.title===r.title&&D.columns.length===r.columns.length;case"field":return D.field===r.field;case"object":return D===r}})}save(e){var r={};switch(e){case"columns":r=this.parseColumns(this.table.columnManager.getColumns());break;case"filter":r=this.table.modules.filter.getFilters();break;case"headerFilter":r=this.table.modules.filter.getHeaderFilters();break;case"sort":r=this.validateSorters(this.table.modules.sort.getSort());break;case"group":r=this.getGroupConfig();break;case"page":r=this.getPageConfig();break}this.writeFunc&&this.writeFunc(this.id,e,r)}validateSorters(e){return e.forEach(function(r){r.column=r.field,delete r.field}),e}getGroupConfig(){var e={};return this.config.group&&((this.config.group===!0||this.config.group.groupBy)&&(e.groupBy=this.table.options.groupBy),(this.config.group===!0||this.config.group.groupStartOpen)&&(e.groupStartOpen=this.table.options.groupStartOpen),(this.config.group===!0||this.config.group.groupHeader)&&(e.groupHeader=this.table.options.groupHeader)),e}getPageConfig(){var e={};return this.config.page&&((this.config.page===!0||this.config.page.size)&&(e.paginationSize=this.table.modules.page.getPageSize()),(this.config.page===!0||this.config.page.page)&&(e.paginationInitialPage=this.table.modules.page.getPage())),e}parseColumns(e){var r=[],C=["headerContextMenu","headerMenu","contextMenu","clickMenu"];return e.forEach(D=>{var T={},p=D.getDefinition(),t;D.isGroup?(T.title=p.title,T.columns=this.parseColumns(D.getColumns())):(T.field=D.getField(),this.config.columns===!0||this.config.columns==null?(t=Object.keys(p),t.push("width"),t.push("visible")):t=this.config.columns,t.forEach(d=>{switch(d){case"width":T.width=D.getWidth();break;case"visible":T.visible=D.visible;break;default:typeof p[d]!="function"&&C.indexOf(d)===-1&&(T[d]=p[d])}})),r.push(T)}),r}}jl.moduleName="persistence";jl.moduleInitOrder=-10;jl.readers=xP;jl.writers=_P;class HM extends qi{constructor(e){super(e),this.columnSubscribers={},this.registerTableOption("rowContextPopup",!1),this.registerTableOption("rowClickPopup",!1),this.registerTableOption("rowDblClickPopup",!1),this.registerTableOption("groupContextPopup",!1),this.registerTableOption("groupClickPopup",!1),this.registerTableOption("groupDblClickPopup",!1),this.registerColumnOption("headerContextPopup"),this.registerColumnOption("headerClickPopup"),this.registerColumnOption("headerDblClickPopup"),this.registerColumnOption("headerPopup"),this.registerColumnOption("headerPopupIcon"),this.registerColumnOption("contextPopup"),this.registerColumnOption("clickPopup"),this.registerColumnOption("dblClickPopup"),this.registerComponentFunction("cell","popup",this._componentPopupCall.bind(this)),this.registerComponentFunction("column","popup",this._componentPopupCall.bind(this)),this.registerComponentFunction("row","popup",this._componentPopupCall.bind(this)),this.registerComponentFunction("group","popup",this._componentPopupCall.bind(this))}initialize(){this.initializeRowWatchers(),this.initializeGroupWatchers(),this.subscribe("column-init",this.initializeColumn.bind(this))}_componentPopupCall(e,r,C){this.loadPopupEvent(r,null,e,C)}initializeRowWatchers(){this.table.options.rowContextPopup&&(this.subscribe("row-contextmenu",this.loadPopupEvent.bind(this,this.table.options.rowContextPopup)),this.table.on("rowTapHold",this.loadPopupEvent.bind(this,this.table.options.rowContextPopup))),this.table.options.rowClickPopup&&this.subscribe("row-click",this.loadPopupEvent.bind(this,this.table.options.rowClickPopup)),this.table.options.rowDblClickPopup&&this.subscribe("row-dblclick",this.loadPopupEvent.bind(this,this.table.options.rowDblClickPopup))}initializeGroupWatchers(){this.table.options.groupContextPopup&&(this.subscribe("group-contextmenu",this.loadPopupEvent.bind(this,this.table.options.groupContextPopup)),this.table.on("groupTapHold",this.loadPopupEvent.bind(this,this.table.options.groupContextPopup))),this.table.options.groupClickPopup&&this.subscribe("group-click",this.loadPopupEvent.bind(this,this.table.options.groupClickPopup)),this.table.options.groupDblClickPopup&&this.subscribe("group-dblclick",this.loadPopupEvent.bind(this,this.table.options.groupDblClickPopup))}initializeColumn(e){var r=e.definition;r.headerContextPopup&&!this.columnSubscribers.headerContextPopup&&(this.columnSubscribers.headerContextPopup=this.loadPopupTableColumnEvent.bind(this,"headerContextPopup"),this.subscribe("column-contextmenu",this.columnSubscribers.headerContextPopup),this.table.on("headerTapHold",this.loadPopupTableColumnEvent.bind(this,"headerContextPopup"))),r.headerClickPopup&&!this.columnSubscribers.headerClickPopup&&(this.columnSubscribers.headerClickPopup=this.loadPopupTableColumnEvent.bind(this,"headerClickPopup"),this.subscribe("column-click",this.columnSubscribers.headerClickPopup)),r.headerDblClickPopup&&!this.columnSubscribers.headerDblClickPopup&&(this.columnSubscribers.headerDblClickPopup=this.loadPopupTableColumnEvent.bind(this,"headerDblClickPopup"),this.subscribe("column-dblclick",this.columnSubscribers.headerDblClickPopup)),r.headerPopup&&this.initializeColumnHeaderPopup(e),r.contextPopup&&!this.columnSubscribers.contextPopup&&(this.columnSubscribers.contextPopup=this.loadPopupTableCellEvent.bind(this,"contextPopup"),this.subscribe("cell-contextmenu",this.columnSubscribers.contextPopup),this.table.on("cellTapHold",this.loadPopupTableCellEvent.bind(this,"contextPopup"))),r.clickPopup&&!this.columnSubscribers.clickPopup&&(this.columnSubscribers.clickPopup=this.loadPopupTableCellEvent.bind(this,"clickPopup"),this.subscribe("cell-click",this.columnSubscribers.clickPopup)),r.dblClickPopup&&!this.columnSubscribers.dblClickPopup&&(this.columnSubscribers.dblClickPopup=this.loadPopupTableCellEvent.bind(this,"dblClickPopup"),this.subscribe("cell-click",this.columnSubscribers.dblClickPopup))}initializeColumnHeaderPopup(e){var r=e.definition.headerPopupIcon,C;C=document.createElement("span"),C.classList.add("tabulator-header-popup-button"),r?(typeof r=="function"&&(r=r(e.getComponent())),r instanceof HTMLElement?C.appendChild(r):C.innerHTML=r):C.innerHTML="⋮",C.addEventListener("click",D=>{D.stopPropagation(),D.preventDefault(),this.loadPopupEvent(e.definition.headerPopup,D,e)}),e.titleElement.insertBefore(C,e.titleElement.firstChild)}loadPopupTableCellEvent(e,r,C){C._cell&&(C=C._cell),C.column.definition[e]&&this.loadPopupEvent(C.column.definition[e],r,C)}loadPopupTableColumnEvent(e,r,C){C._column&&(C=C._column),C.definition[e]&&this.loadPopupEvent(C.definition[e],r,C)}loadPopupEvent(e,r,C,D){var T;function p(t){T=t}C._group?C=C._group:C._row&&(C=C._row),e=typeof e=="function"?e.call(this.table,r,C.getComponent(),p):e,this.loadPopup(r,C,e,T,D)}loadPopup(e,r,C,D,T){var p=!(e instanceof MouseEvent),t,d;C instanceof HTMLElement?t=C:(t=document.createElement("div"),t.innerHTML=C),t.classList.add("tabulator-popup"),t.addEventListener("click",g=>{g.stopPropagation()}),p||e.preventDefault(),d=this.popup(t),typeof D=="function"&&d.renderCallback(D),e?d.show(e):d.show(r.getElement(),T||"center"),d.hideOnBlur(()=>{this.dispatchExternal("popupClosed",r.getComponent())}),this.dispatchExternal("popupOpened",r.getComponent())}}HM.moduleName="popup";class GM extends qi{constructor(e){super(e),this.element=!1,this.manualBlock=!1,this.beforeprintEventHandler=null,this.afterprintEventHandler=null,this.registerTableOption("printAsHtml",!1),this.registerTableOption("printFormatter",!1),this.registerTableOption("printHeader",!1),this.registerTableOption("printFooter",!1),this.registerTableOption("printStyled",!0),this.registerTableOption("printRowRange","visible"),this.registerTableOption("printConfig",{}),this.registerColumnOption("print"),this.registerColumnOption("titlePrint")}initialize(){this.table.options.printAsHtml&&(this.beforeprintEventHandler=this.replaceTable.bind(this),this.afterprintEventHandler=this.cleanup.bind(this),window.addEventListener("beforeprint",this.beforeprintEventHandler),window.addEventListener("afterprint",this.afterprintEventHandler),this.subscribe("table-destroy",this.destroy.bind(this))),this.registerTableFunction("print",this.printFullscreen.bind(this))}destroy(){this.table.options.printAsHtml&&(window.removeEventListener("beforeprint",this.beforeprintEventHandler),window.removeEventListener("afterprint",this.afterprintEventHandler))}replaceTable(){this.manualBlock||(this.element=document.createElement("div"),this.element.classList.add("tabulator-print-table"),this.element.appendChild(this.table.modules.export.generateTable(this.table.options.printConfig,this.table.options.printStyled,this.table.options.printRowRange,"print")),this.table.element.style.display="none",this.table.element.parentNode.insertBefore(this.element,this.table.element))}cleanup(){document.body.classList.remove("tabulator-print-fullscreen-hide"),this.element&&this.element.parentNode&&(this.element.parentNode.removeChild(this.element),this.table.element.style.display="")}printFullscreen(e,r,C){var D=window.scrollX,T=window.scrollY,p=document.createElement("div"),t=document.createElement("div"),d=this.table.modules.export.generateTable(typeof C<"u"?C:this.table.options.printConfig,typeof r<"u"?r:this.table.options.printStyled,e||this.table.options.printRowRange,"print"),g,i;this.manualBlock=!0,this.element=document.createElement("div"),this.element.classList.add("tabulator-print-fullscreen"),this.table.options.printHeader&&(p.classList.add("tabulator-print-header"),g=typeof this.table.options.printHeader=="function"?this.table.options.printHeader.call(this.table):this.table.options.printHeader,typeof g=="string"?p.innerHTML=g:p.appendChild(g),this.element.appendChild(p)),this.element.appendChild(d),this.table.options.printFooter&&(t.classList.add("tabulator-print-footer"),i=typeof this.table.options.printFooter=="function"?this.table.options.printFooter.call(this.table):this.table.options.printFooter,typeof i=="string"?t.innerHTML=i:t.appendChild(i),this.element.appendChild(t)),document.body.classList.add("tabulator-print-fullscreen-hide"),document.body.appendChild(this.element),this.table.options.printFormatter&&this.table.options.printFormatter(this.element,d),window.print(),this.cleanup(),window.scrollTo(D,T),this.manualBlock=!1}}GM.moduleName="print";class qM extends qi{constructor(e){super(e),this.data=!1,this.blocked=!1,this.origFuncs={},this.currentVersion=0,this.registerTableOption("reactiveData",!1)}initialize(){this.table.options.reactiveData&&(this.subscribe("cell-value-save-before",this.block.bind(this,"cellsave")),this.subscribe("cell-value-save-after",this.unblock.bind(this,"cellsave")),this.subscribe("row-data-save-before",this.block.bind(this,"rowsave")),this.subscribe("row-data-save-after",this.unblock.bind(this,"rowsave")),this.subscribe("row-data-init-after",this.watchRow.bind(this)),this.subscribe("data-processing",this.watchData.bind(this)),this.subscribe("table-destroy",this.unwatchData.bind(this)))}watchData(e){var r=this,C;this.currentVersion++,C=this.currentVersion,this.unwatchData(),this.data=e,this.origFuncs.push=e.push,Object.defineProperty(this.data,"push",{enumerable:!1,configurable:!0,value:function(){var D=Array.from(arguments),T;return!r.blocked&&C===r.currentVersion&&(r.block("data-push"),D.forEach(p=>{r.table.rowManager.addRowActual(p,!1)}),T=r.origFuncs.push.apply(e,arguments),r.unblock("data-push")),T}}),this.origFuncs.unshift=e.unshift,Object.defineProperty(this.data,"unshift",{enumerable:!1,configurable:!0,value:function(){var D=Array.from(arguments),T;return!r.blocked&&C===r.currentVersion&&(r.block("data-unshift"),D.forEach(p=>{r.table.rowManager.addRowActual(p,!0)}),T=r.origFuncs.unshift.apply(e,arguments),r.unblock("data-unshift")),T}}),this.origFuncs.shift=e.shift,Object.defineProperty(this.data,"shift",{enumerable:!1,configurable:!0,value:function(){var D,T;return!r.blocked&&C===r.currentVersion&&(r.block("data-shift"),r.data.length&&(D=r.table.rowManager.getRowFromDataObject(r.data[0]),D&&D.deleteActual()),T=r.origFuncs.shift.call(e),r.unblock("data-shift")),T}}),this.origFuncs.pop=e.pop,Object.defineProperty(this.data,"pop",{enumerable:!1,configurable:!0,value:function(){var D,T;return!r.blocked&&C===r.currentVersion&&(r.block("data-pop"),r.data.length&&(D=r.table.rowManager.getRowFromDataObject(r.data[r.data.length-1]),D&&D.deleteActual()),T=r.origFuncs.pop.call(e),r.unblock("data-pop")),T}}),this.origFuncs.splice=e.splice,Object.defineProperty(this.data,"splice",{enumerable:!1,configurable:!0,value:function(){var D=Array.from(arguments),T=D[0]<0?e.length+D[0]:D[0],p=D[1],t=D[2]?D.slice(2):!1,d,g;if(!r.blocked&&C===r.currentVersion){if(r.block("data-splice"),t&&(d=e[T]?r.table.rowManager.getRowFromDataObject(e[T]):!1,d?t.forEach(M=>{r.table.rowManager.addRowActual(M,!0,d,!0)}):(t=t.slice().reverse(),t.forEach(M=>{r.table.rowManager.addRowActual(M,!0,!1,!0)}))),p!==0){var i=e.slice(T,typeof D[1]>"u"?D[1]:T+p);i.forEach((M,v)=>{var f=r.table.rowManager.getRowFromDataObject(M);f&&f.deleteActual(v!==i.length-1)})}(t||p!==0)&&r.table.rowManager.reRenderInPosition(),g=r.origFuncs.splice.apply(e,arguments),r.unblock("data-splice")}return g}})}unwatchData(){if(this.data!==!1)for(var e in this.origFuncs)Object.defineProperty(this.data,e,{enumerable:!0,configurable:!0,writable:!0,value:this.origFuncs.key})}watchRow(e){var r=e.getData();for(var C in r)this.watchKey(e,r,C);this.table.options.dataTree&&this.watchTreeChildren(e)}watchTreeChildren(e){var r=this,C=e.getData()[this.table.options.dataTreeChildField],D={};C&&(D.push=C.push,Object.defineProperty(C,"push",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-push");var T=D.push.apply(C,arguments);this.rebuildTree(e),r.unblock("tree-push")}return T}}),D.unshift=C.unshift,Object.defineProperty(C,"unshift",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-unshift");var T=D.unshift.apply(C,arguments);this.rebuildTree(e),r.unblock("tree-unshift")}return T}}),D.shift=C.shift,Object.defineProperty(C,"shift",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-shift");var T=D.shift.call(C);this.rebuildTree(e),r.unblock("tree-shift")}return T}}),D.pop=C.pop,Object.defineProperty(C,"pop",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-pop");var T=D.pop.call(C);this.rebuildTree(e),r.unblock("tree-pop")}return T}}),D.splice=C.splice,Object.defineProperty(C,"splice",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-splice");var T=D.splice.apply(C,arguments);this.rebuildTree(e),r.unblock("tree-splice")}return T}}))}rebuildTree(e){this.table.modules.dataTree.initializeRow(e),this.table.modules.dataTree.layoutRow(e),this.table.rowManager.refreshActiveData("tree",!1,!0)}watchKey(e,r,C){var D=this,T=Object.getOwnPropertyDescriptor(r,C),p=r[C],t=this.currentVersion;Object.defineProperty(r,C,{set:d=>{if(p=d,!D.blocked&&t===D.currentVersion){D.block("key");var g={};g[C]=d,e.updateData(g),D.unblock("key")}T.set&&T.set(d)},get:()=>(T.get&&T.get(),p)})}unwatchRow(e){var r=e.getData();for(var C in r)Object.defineProperty(r,C,{value:r[C]})}block(e){this.blocked||(this.blocked=e)}unblock(e){this.blocked===e&&(this.blocked=!1)}}qM.moduleName="reactiveData";class WM extends qi{constructor(e){super(e),this.startColumn=!1,this.startX=!1,this.startWidth=!1,this.latestX=!1,this.handle=null,this.initialNextColumn=null,this.nextColumn=null,this.initialized=!1,this.registerColumnOption("resizable",!0),this.registerTableOption("resizableColumnFit",!1)}initialize(){this.subscribe("column-rendered",this.layoutColumnHeader.bind(this))}initializeEventWatchers(){this.initialized||(this.subscribe("cell-rendered",this.layoutCellHandles.bind(this)),this.subscribe("cell-delete",this.deInitializeComponent.bind(this)),this.subscribe("cell-height",this.resizeHandle.bind(this)),this.subscribe("column-moved",this.columnLayoutUpdated.bind(this)),this.subscribe("column-hide",this.deInitializeColumn.bind(this)),this.subscribe("column-show",this.columnLayoutUpdated.bind(this)),this.subscribe("column-width",this.columnWidthUpdated.bind(this)),this.subscribe("column-delete",this.deInitializeComponent.bind(this)),this.subscribe("column-height",this.resizeHandle.bind(this)),this.initialized=!0)}layoutCellHandles(e){e.row.type==="row"&&(this.deInitializeComponent(e),this.initializeColumn("cell",e,e.column,e.element))}layoutColumnHeader(e){e.definition.resizable&&(this.initializeEventWatchers(),this.deInitializeComponent(e),this.initializeColumn("header",e,e,e.element))}columnLayoutUpdated(e){var r=e.prevColumn();this.reinitializeColumn(e),r&&this.reinitializeColumn(r)}columnWidthUpdated(e){e.modules.frozen&&(this.table.modules.frozenColumns.leftColumns.includes(e)?this.table.modules.frozenColumns.leftColumns.forEach(r=>{this.reinitializeColumn(r)}):this.table.modules.frozenColumns.rightColumns.includes(e)&&this.table.modules.frozenColumns.rightColumns.forEach(r=>{this.reinitializeColumn(r)}))}frozenColumnOffset(e){var r=!1;return e.modules.frozen&&(r=e.modules.frozen.marginValue,e.modules.frozen.position==="left"?r+=e.getWidth()-3:r&&(r-=3)),r!==!1?r+"px":!1}reinitializeColumn(e){var r=this.frozenColumnOffset(e);e.cells.forEach(C=>{C.modules.resize&&C.modules.resize.handleEl&&(r&&(C.modules.resize.handleEl.style[e.modules.frozen.position]=r,C.modules.resize.handleEl.style["z-index"]=11),C.element.after(C.modules.resize.handleEl))}),e.modules.resize&&e.modules.resize.handleEl&&(r&&(e.modules.resize.handleEl.style[e.modules.frozen.position]=r),e.element.after(e.modules.resize.handleEl))}initializeColumn(e,r,C,D){var T=this,p=!1,t=C.definition.resizable,d={},g=C.getLastColumn();if(e==="header"&&(p=C.definition.formatter=="textarea"||C.definition.variableHeight,d={variableHeight:p}),(t===!0||t==e)&&this._checkResizability(g)){var i=document.createElement("span");i.className="tabulator-col-resize-handle",i.addEventListener("click",function(v){v.stopPropagation()});var M=function(v){T.startColumn=C,T.initialNextColumn=T.nextColumn=g.nextColumn(),T._mouseDown(v,g,i)};i.addEventListener("mousedown",M),i.addEventListener("touchstart",M,{passive:!0}),i.addEventListener("dblclick",v=>{var f=g.getWidth();v.stopPropagation(),g.reinitializeWidth(!0),f!==g.getWidth()&&(T.dispatch("column-resized",g),T.table.externalEvents.dispatch("columnResized",g.getComponent()))}),C.modules.frozen&&(i.style.position="sticky",i.style[C.modules.frozen.position]=this.frozenColumnOffset(C)),d.handleEl=i,D.parentNode&&C.visible&&D.after(i)}r.modules.resize=d}deInitializeColumn(e){this.deInitializeComponent(e),e.cells.forEach(r=>{this.deInitializeComponent(r)})}deInitializeComponent(e){var r;e.modules.resize&&(r=e.modules.resize.handleEl,r&&r.parentElement&&r.parentElement.removeChild(r))}resizeHandle(e,r){e.modules.resize&&e.modules.resize.handleEl&&(e.modules.resize.handleEl.style.height=r)}_checkResizability(e){return e.definition.resizable}_mouseDown(e,r,C){var D=this;D.table.element.classList.add("tabulator-block-select");function T(t){var d=typeof t.screenX>"u"?t.touches[0].screenX:t.screenX,g=d-D.startX,i=d-D.latestX,M,v;if(D.latestX=d,D.table.rtl&&(g=-g,i=-i),M=r.width==r.minWidth||r.width==r.maxWidth,r.setWidth(D.startWidth+g),v=r.width==r.minWidth||r.width==r.maxWidth,i<0&&(D.nextColumn=D.initialNextColumn),D.table.options.resizableColumnFit&&D.nextColumn&&!(M&&v)){let f=D.nextColumn.getWidth();i>0&&f<=D.nextColumn.minWidth&&(D.nextColumn=D.nextColumn.nextColumn()),D.nextColumn&&D.nextColumn.setWidth(D.nextColumn.getWidth()-i)}D.table.columnManager.rerenderColumns(!0),!D.table.browserSlow&&r.modules.resize&&r.modules.resize.variableHeight&&r.checkCellHeights()}function p(t){D.startColumn.modules.edit&&(D.startColumn.modules.edit.blocked=!1),D.table.browserSlow&&r.modules.resize&&r.modules.resize.variableHeight&&r.checkCellHeights(),document.body.removeEventListener("mouseup",p),document.body.removeEventListener("mousemove",T),C.removeEventListener("touchmove",T),C.removeEventListener("touchend",p),D.table.element.classList.remove("tabulator-block-select"),D.startWidth!==r.getWidth()&&(D.table.columnManager.verticalAlignHeaders(),D.dispatch("column-resized",r),D.table.externalEvents.dispatch("columnResized",r.getComponent()))}e.stopPropagation(),D.startColumn.modules.edit&&(D.startColumn.modules.edit.blocked=!0),D.startX=typeof e.screenX>"u"?e.touches[0].screenX:e.screenX,D.latestX=D.startX,D.startWidth=r.getWidth(),document.body.addEventListener("mousemove",T),document.body.addEventListener("mouseup",p),C.addEventListener("touchmove",T,{passive:!0}),C.addEventListener("touchend",p)}}WM.moduleName="resizeColumns";class YM extends qi{constructor(e){super(e),this.startColumn=!1,this.startY=!1,this.startHeight=!1,this.handle=null,this.prevHandle=null,this.registerTableOption("resizableRows",!1)}initialize(){this.table.options.resizableRows&&this.subscribe("row-layout-after",this.initializeRow.bind(this))}initializeRow(e){var r=this,C=e.getElement(),D=document.createElement("div");D.className="tabulator-row-resize-handle";var T=document.createElement("div");T.className="tabulator-row-resize-handle prev",D.addEventListener("click",function(d){d.stopPropagation()});var p=function(d){r.startRow=e,r._mouseDown(d,e,D)};D.addEventListener("mousedown",p),D.addEventListener("touchstart",p,{passive:!0}),T.addEventListener("click",function(d){d.stopPropagation()});var t=function(d){var g=r.table.rowManager.prevDisplayRow(e);g&&(r.startRow=g,r._mouseDown(d,g,T))};T.addEventListener("mousedown",t),T.addEventListener("touchstart",t,{passive:!0}),C.appendChild(D),C.appendChild(T)}_mouseDown(e,r,C){var D=this;D.table.element.classList.add("tabulator-block-select");function T(t){r.setHeight(D.startHeight+((typeof t.screenY>"u"?t.touches[0].screenY:t.screenY)-D.startY))}function p(t){document.body.removeEventListener("mouseup",T),document.body.removeEventListener("mousemove",T),C.removeEventListener("touchmove",T),C.removeEventListener("touchend",p),D.table.element.classList.remove("tabulator-block-select"),D.dispatchExternal("rowResized",r.getComponent())}e.stopPropagation(),D.startY=typeof e.screenY>"u"?e.touches[0].screenY:e.screenY,D.startHeight=r.getHeight(),document.body.addEventListener("mousemove",T),document.body.addEventListener("mouseup",p),C.addEventListener("touchmove",T,{passive:!0}),C.addEventListener("touchend",p)}}YM.moduleName="resizeRows";class $M extends qi{constructor(e){super(e),this.binding=!1,this.visibilityObserver=!1,this.resizeObserver=!1,this.containerObserver=!1,this.tableHeight=0,this.tableWidth=0,this.containerHeight=0,this.containerWidth=0,this.autoResize=!1,this.visible=!1,this.initialized=!1,this.initialRedraw=!1,this.registerTableOption("autoResize",!0)}initialize(){if(this.table.options.autoResize){var e=this.table,r;this.tableHeight=e.element.clientHeight,this.tableWidth=e.element.clientWidth,e.element.parentNode&&(this.containerHeight=e.element.parentNode.clientHeight,this.containerWidth=e.element.parentNode.clientWidth),typeof IntersectionObserver<"u"&&typeof ResizeObserver<"u"&&e.rowManager.getRenderMode()==="virtual"?(this.initializeVisibilityObserver(),this.autoResize=!0,this.resizeObserver=new ResizeObserver(C=>{if(!e.browserMobile||e.browserMobile&&(!e.modules.edit||e.modules.edit&&!e.modules.edit.currentCell)){var D=Math.floor(C[0].contentRect.height),T=Math.floor(C[0].contentRect.width);(this.tableHeight!=D||this.tableWidth!=T)&&(this.tableHeight=D,this.tableWidth=T,e.element.parentNode&&(this.containerHeight=e.element.parentNode.clientHeight,this.containerWidth=e.element.parentNode.clientWidth),this.redrawTable())}}),this.resizeObserver.observe(e.element),r=window.getComputedStyle(e.element),this.table.element.parentNode&&!this.table.rowManager.fixedHeight&&(r.getPropertyValue("max-height")||r.getPropertyValue("min-height"))&&(this.containerObserver=new ResizeObserver(C=>{if(!e.browserMobile||e.browserMobile&&(!e.modules.edit||e.modules.edit&&!e.modules.edit.currentCell)){var D=Math.floor(C[0].contentRect.height),T=Math.floor(C[0].contentRect.width);(this.containerHeight!=D||this.containerWidth!=T)&&(this.containerHeight=D,this.containerWidth=T,this.tableHeight=e.element.clientHeight,this.tableWidth=e.element.clientWidth),this.redrawTable()}}),this.containerObserver.observe(this.table.element.parentNode)),this.subscribe("table-resize",this.tableResized.bind(this))):(this.binding=function(){(!e.browserMobile||e.browserMobile&&(!e.modules.edit||e.modules.edit&&!e.modules.edit.currentCell))&&(e.columnManager.rerenderColumns(!0),e.redraw())},window.addEventListener("resize",this.binding)),this.subscribe("table-destroy",this.clearBindings.bind(this))}}initializeVisibilityObserver(){this.visibilityObserver=new IntersectionObserver(e=>{this.visible=e[0].isIntersecting,this.initialized?this.visible&&(this.redrawTable(this.initialRedraw),this.initialRedraw=!1):(this.initialized=!0,this.initialRedraw=!this.visible)}),this.visibilityObserver.observe(this.table.element)}redrawTable(e){this.initialized&&this.visible&&(this.table.columnManager.rerenderColumns(!0),this.table.redraw(e))}tableResized(){this.table.rowManager.redraw()}clearBindings(){this.binding&&window.removeEventListener("resize",this.binding),this.resizeObserver&&this.resizeObserver.unobserve(this.table.element),this.visibilityObserver&&this.visibilityObserver.unobserve(this.table.element),this.containerObserver&&this.containerObserver.unobserve(this.table.element.parentNode)}}$M.moduleName="resizeTable";class ZM extends qi{constructor(e){super(e),this.columns=[],this.hiddenColumns=[],this.mode="",this.index=0,this.collapseFormatter=[],this.collapseStartOpen=!0,this.collapseHandleColumn=!1,this.registerTableOption("responsiveLayout",!1),this.registerTableOption("responsiveLayoutCollapseStartOpen",!0),this.registerTableOption("responsiveLayoutCollapseUseFormatters",!0),this.registerTableOption("responsiveLayoutCollapseFormatter",!1),this.registerColumnOption("responsive")}initialize(){this.table.options.responsiveLayout&&(this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("column-show",this.updateColumnVisibility.bind(this)),this.subscribe("column-hide",this.updateColumnVisibility.bind(this)),this.subscribe("columns-loaded",this.initializeResponsivity.bind(this)),this.subscribe("column-moved",this.initializeResponsivity.bind(this)),this.subscribe("column-add",this.initializeResponsivity.bind(this)),this.subscribe("column-delete",this.initializeResponsivity.bind(this)),this.subscribe("table-redrawing",this.tableRedraw.bind(this)),this.table.options.responsiveLayout==="collapse"&&(this.subscribe("row-data-changed",this.generateCollapsedRowContent.bind(this)),this.subscribe("row-init",this.initializeRow.bind(this)),this.subscribe("row-layout",this.layoutRow.bind(this))))}tableRedraw(e){["fitColumns","fitDataStretch"].indexOf(this.layoutMode())===-1&&(e||this.update())}initializeResponsivity(){var e=[];this.mode=this.table.options.responsiveLayout,this.collapseFormatter=this.table.options.responsiveLayoutCollapseFormatter||this.formatCollapsedData,this.collapseStartOpen=this.table.options.responsiveLayoutCollapseStartOpen,this.hiddenColumns=[],this.table.columnManager.columnsByIndex.forEach((r,C)=>{r.modules.responsive&&r.modules.responsive.order&&r.modules.responsive.visible&&(r.modules.responsive.index=C,e.push(r),!r.visible&&this.mode==="collapse"&&this.hiddenColumns.push(r))}),e=e.reverse(),e=e.sort((r,C)=>{var D=C.modules.responsive.order-r.modules.responsive.order;return D||C.modules.responsive.index-r.modules.responsive.index}),this.columns=e,this.mode==="collapse"&&this.generateCollapsedContent();for(let r of this.table.columnManager.columnsByIndex)if(r.definition.formatter=="responsiveCollapse"){this.collapseHandleColumn=r;break}this.collapseHandleColumn&&(this.hiddenColumns.length?this.collapseHandleColumn.show():this.collapseHandleColumn.hide())}initializeColumn(e){var r=e.getDefinition();e.modules.responsive={order:typeof r.responsive>"u"?1:r.responsive,visible:r.visible!==!1}}initializeRow(e){var r;e.type!=="calc"&&(r=document.createElement("div"),r.classList.add("tabulator-responsive-collapse"),e.modules.responsiveLayout={element:r,open:this.collapseStartOpen},this.collapseStartOpen||(r.style.display="none"))}layoutRow(e){var r=e.getElement();e.modules.responsiveLayout&&(r.appendChild(e.modules.responsiveLayout.element),this.generateCollapsedRowContent(e))}updateColumnVisibility(e,r){!r&&e.modules.responsive&&(e.modules.responsive.visible=e.visible,this.initializeResponsivity())}hideColumn(e){var r=this.hiddenColumns.length;e.hide(!1,!0),this.mode==="collapse"&&(this.hiddenColumns.unshift(e),this.generateCollapsedContent(),this.collapseHandleColumn&&!r&&this.collapseHandleColumn.show())}showColumn(e){var r;e.show(!1,!0),e.setWidth(e.getWidth()),this.mode==="collapse"&&(r=this.hiddenColumns.indexOf(e),r>-1&&this.hiddenColumns.splice(r,1),this.generateCollapsedContent(),this.collapseHandleColumn&&!this.hiddenColumns.length&&this.collapseHandleColumn.hide())}update(){for(var e=!0;e;){let r=this.table.modules.layout.getMode()=="fitColumns"?this.table.columnManager.getFlexBaseWidth():this.table.columnManager.getWidth(),C=(this.table.options.headerVisible?this.table.columnManager.element.clientWidth:this.table.element.clientWidth)-r;if(C<0){let D=this.columns[this.index];D?(this.hideColumn(D),this.index++):e=!1}else{let D=this.columns[this.index-1];D&&C>0&&C>=D.getWidth()?(this.showColumn(D),this.index--):e=!1}this.table.rowManager.activeRowsCount||this.table.rowManager.renderEmptyScroll()}}generateCollapsedContent(){var e=this.table.rowManager.getDisplayRows();e.forEach(r=>{this.generateCollapsedRowContent(r)})}generateCollapsedRowContent(e){var r,C;if(e.modules.responsiveLayout){for(r=e.modules.responsiveLayout.element;r.firstChild;)r.removeChild(r.firstChild);C=this.collapseFormatter(this.generateCollapsedRowData(e)),C&&r.appendChild(C)}}generateCollapsedRowData(e){var r=e.getData(),C=[],D;return this.hiddenColumns.forEach(T=>{var p=T.getFieldValue(r);if(T.definition.title&&T.field)if(T.modules.format&&this.table.options.responsiveLayoutCollapseUseFormatters){let d=function(g){g()};var t=d;D={value:!1,data:{},getValue:function(){return p},getData:function(){return r},getType:function(){return"cell"},getElement:function(){return document.createElement("div")},getRow:function(){return e.getComponent()},getColumn:function(){return T.getComponent()},getTable:()=>this.table},C.push({field:T.field,title:T.definition.title,value:T.modules.format.formatter.call(this.table.modules.format,D,T.modules.format.params,d)})}else C.push({field:T.field,title:T.definition.title,value:p})}),C}formatCollapsedData(e){var r=document.createElement("table");return e.forEach(function(C){var D=document.createElement("tr"),T=document.createElement("td"),p=document.createElement("td"),t,d=document.createElement("strong");T.appendChild(d),this.langBind("columns|"+C.field,function(g){d.innerHTML=g||C.title}),C.value instanceof Node?(t=document.createElement("div"),t.appendChild(C.value),p.appendChild(t)):p.innerHTML=C.value,D.appendChild(T),D.appendChild(p),r.appendChild(D)},this),Object.keys(e).length?r:""}}ZM.moduleName="responsiveLayout";class XM extends qi{constructor(e){super(e),this.selecting=!1,this.lastClickedRow=!1,this.selectPrev=[],this.selectedRows=[],this.headerCheckboxElement=null,this.registerTableOption("selectableRows","highlight"),this.registerTableOption("selectableRowsRangeMode","drag"),this.registerTableOption("selectableRowsRollingSelection",!0),this.registerTableOption("selectableRowsPersistence",!0),this.registerTableOption("selectableRowsCheck",function(r,C){return!0}),this.registerTableFunction("selectRow",this.selectRows.bind(this)),this.registerTableFunction("deselectRow",this.deselectRows.bind(this)),this.registerTableFunction("toggleSelectRow",this.toggleRow.bind(this)),this.registerTableFunction("getSelectedRows",this.getSelectedRows.bind(this)),this.registerTableFunction("getSelectedData",this.getSelectedData.bind(this)),this.registerComponentFunction("row","select",this.selectRows.bind(this)),this.registerComponentFunction("row","deselect",this.deselectRows.bind(this)),this.registerComponentFunction("row","toggleSelect",this.toggleRow.bind(this)),this.registerComponentFunction("row","isSelected",this.isRowSelected.bind(this))}initialize(){this.deprecatedOptionsCheck(),this.table.options.selectableRows==="highlight"&&this.table.options.selectableRange&&(this.table.options.selectableRows=!1),this.table.options.selectableRows!==!1&&(this.subscribe("row-init",this.initializeRow.bind(this)),this.subscribe("row-deleting",this.rowDeleted.bind(this)),this.subscribe("rows-wipe",this.clearSelectionData.bind(this)),this.subscribe("rows-retrieve",this.rowRetrieve.bind(this)),this.table.options.selectableRows&&!this.table.options.selectableRowsPersistence&&this.subscribe("data-refreshing",this.deselectRows.bind(this)))}deprecatedOptionsCheck(){this.deprecationCheck("selectable","selectableRows",!0),this.deprecationCheck("selectableRollingSelection","selectableRowsRollingSelection",!0),this.deprecationCheck("selectableRangeMode","selectableRowsRangeMode",!0),this.deprecationCheck("selectablePersistence","selectableRowsPersistence",!0),this.deprecationCheck("selectableCheck","selectableRowsCheck",!0)}rowRetrieve(e,r){return e==="selected"?this.selectedRows:r}rowDeleted(e){this._deselectRow(e,!0)}clearSelectionData(e){var r=this.selectedRows.length;this.selecting=!1,this.lastClickedRow=!1,this.selectPrev=[],this.selectedRows=[],r&&e!==!0&&this._rowSelectionChanged()}initializeRow(e){var r=this,C=r.checkRowSelectability(e),D=e.getElement(),T=function(){setTimeout(function(){r.selecting=!1},50),document.body.removeEventListener("mouseup",T)};e.modules.select={selected:!1},D.classList.toggle("tabulator-selectable",C),D.classList.toggle("tabulator-unselectable",!C),r.checkRowSelectability(e)&&r.table.options.selectableRows&&r.table.options.selectableRows!="highlight"&&(r.table.options.selectableRowsRangeMode==="click"?D.addEventListener("click",this.handleComplexRowClick.bind(this,e)):(D.addEventListener("click",function(p){(!r.table.modExists("edit")||!r.table.modules.edit.getCurrentCell())&&r.table._clearSelection(),r.selecting||r.toggleRow(e)}),D.addEventListener("mousedown",function(p){if(p.shiftKey)return r.table._clearSelection(),r.selecting=!0,r.selectPrev=[],document.body.addEventListener("mouseup",T),document.body.addEventListener("keyup",T),r.toggleRow(e),!1}),D.addEventListener("mouseenter",function(p){r.selecting&&(r.table._clearSelection(),r.toggleRow(e),r.selectPrev[1]==e&&r.toggleRow(r.selectPrev[0]))}),D.addEventListener("mouseout",function(p){r.selecting&&(r.table._clearSelection(),r.selectPrev.unshift(e))})))}handleComplexRowClick(e,r){if(r.shiftKey){this.table._clearSelection(),this.lastClickedRow=this.lastClickedRow||e;var C=this.table.rowManager.getDisplayRowIndex(this.lastClickedRow),D=this.table.rowManager.getDisplayRowIndex(e),T=C<=D?C:D,p=C>=D?C:D,t=this.table.rowManager.getDisplayRows().slice(0),d=t.splice(T,p-T+1);r.ctrlKey||r.metaKey?(d.forEach(g=>{g!==this.lastClickedRow&&(this.table.options.selectableRows!==!0&&!this.isRowSelected(e)?this.selectedRows.lengththis.table.options.selectableRows&&(d=d.slice(0,this.table.options.selectableRows)),this.selectRows(d)),this.table._clearSelection()}else r.ctrlKey||r.metaKey?(this.toggleRow(e),this.lastClickedRow=e):(this.deselectRows(void 0,!0),this.selectRows(e),this.lastClickedRow=e)}checkRowSelectability(e){return e&&e.type==="row"?this.table.options.selectableRowsCheck.call(this.table,e.getComponent()):!1}toggleRow(e){this.checkRowSelectability(e)&&(e.modules.select&&e.modules.select.selected?this._deselectRow(e):this._selectRow(e))}selectRows(e){var r=[],C,D;switch(typeof e){case"undefined":C=this.table.rowManager.rows;break;case"number":C=this.table.rowManager.findRow(e);break;case"string":C=this.table.rowManager.findRow(e),C||(C=this.table.rowManager.getRows(e));break;default:C=e;break}Array.isArray(C)?C.length&&(C.forEach(T=>{D=this._selectRow(T,!0,!0),D&&r.push(D)}),this._rowSelectionChanged(!1,r)):C&&this._selectRow(C,!1,!0)}_selectRow(e,r,C){if(!isNaN(this.table.options.selectableRows)&&this.table.options.selectableRows!==!0&&!C&&this.selectedRows.length>=this.table.options.selectableRows)if(this.table.options.selectableRowsRollingSelection)this._deselectRow(this.selectedRows[0]);else return!1;var D=this.table.rowManager.findRow(e);if(D){if(this.selectedRows.indexOf(D)==-1)return D.getElement().classList.add("tabulator-selected"),D.modules.select||(D.modules.select={}),D.modules.select.selected=!0,D.modules.select.checkboxEl&&(D.modules.select.checkboxEl.checked=!0),this.selectedRows.push(D),this.table.options.dataTreeSelectPropagate&&this.childRowSelection(D,!0),this.dispatchExternal("rowSelected",D.getComponent()),this._rowSelectionChanged(r,D),D}else r||console.warn("Selection Error - No such row found, ignoring selection:"+e)}isRowSelected(e){return this.selectedRows.indexOf(e)!==-1}deselectRows(e,r){var C=[],D,T;switch(typeof e){case"undefined":D=Object.assign([],this.selectedRows);break;case"number":D=this.table.rowManager.findRow(e);break;case"string":D=this.table.rowManager.findRow(e),D||(D=this.table.rowManager.getRows(e));break;default:D=e;break}Array.isArray(D)?D.length&&(D.forEach(p=>{T=this._deselectRow(p,!0,!0),T&&C.push(T)}),this._rowSelectionChanged(r,[],C)):D&&this._deselectRow(D,r,!0)}_deselectRow(e,r){var C=this,D=C.table.rowManager.findRow(e),T,p;if(D){if(T=C.selectedRows.findIndex(function(t){return t==D}),T>-1)return p=D.getElement(),p&&p.classList.remove("tabulator-selected"),D.modules.select||(D.modules.select={}),D.modules.select.selected=!1,D.modules.select.checkboxEl&&(D.modules.select.checkboxEl.checked=!1),C.selectedRows.splice(T,1),this.table.options.dataTreeSelectPropagate&&this.childRowSelection(D,!1),this.dispatchExternal("rowDeselected",D.getComponent()),C._rowSelectionChanged(r,void 0,D),D}else r||console.warn("Deselection Error - No such row found, ignoring selection:"+e)}getSelectedData(){var e=[];return this.selectedRows.forEach(function(r){e.push(r.getData())}),e}getSelectedRows(){var e=[];return this.selectedRows.forEach(function(r){e.push(r.getComponent())}),e}_rowSelectionChanged(e,r=[],C=[]){this.headerCheckboxElement&&(this.selectedRows.length===0?(this.headerCheckboxElement.checked=!1,this.headerCheckboxElement.indeterminate=!1):this.table.rowManager.rows.length===this.selectedRows.length?(this.headerCheckboxElement.checked=!0,this.headerCheckboxElement.indeterminate=!1):(this.headerCheckboxElement.indeterminate=!0,this.headerCheckboxElement.checked=!1)),e||(Array.isArray(r)||(r=[r]),r=r.map(D=>D.getComponent()),Array.isArray(C)||(C=[C]),C=C.map(D=>D.getComponent()),this.dispatchExternal("rowSelectionChanged",this.getSelectedData(),this.getSelectedRows(),r,C))}registerRowSelectCheckbox(e,r){e._row.modules.select||(e._row.modules.select={}),e._row.modules.select.checkboxEl=r}registerHeaderSelectCheckbox(e){this.headerCheckboxElement=e}childRowSelection(e,r){var C=this.table.modules.dataTree.getChildren(e,!0);if(r)for(let D of C)this._selectRow(D,!0);else for(let D of C)this._deselectRow(D,!0)}}XM.moduleName="selectRow";function wP(n,e,r,C,D,T,p){var t=p.alignEmptyValues,d=p.decimalSeparator,g=p.thousandSeparator,i=0;if(n=String(n),e=String(e),g&&(n=n.split(g).join(""),e=e.split(g).join("")),d&&(n=n.split(d).join("."),e=e.split(d).join(".")),n=parseFloat(n),e=parseFloat(e),isNaN(n))i=isNaN(e)?0:-1;else if(isNaN(e))i=1;else return n-e;return(t==="top"&&T==="desc"||t==="bottom"&&T==="asc")&&(i*=-1),i}function TP(n,e,r,C,D,T,p){var t=p.alignEmptyValues,d=0,g;if(!n)d=e?-1:0;else if(!e)d=1;else{switch(typeof p.locale){case"boolean":p.locale&&(g=this.langLocale());break;case"string":g=p.locale;break}return String(n).toLowerCase().localeCompare(String(e).toLowerCase(),g)}return(t==="top"&&T==="desc"||t==="bottom"&&T==="asc")&&(d*=-1),d}function q2(n,e,r,C,D,T,p){var t=window.DateTime||luxon.DateTime,d=p.format||"dd/MM/yyyy HH:mm:ss",g=p.alignEmptyValues,i=0;if(typeof t<"u"){if(t.isDateTime(n)||(d==="iso"?n=t.fromISO(String(n)):n=t.fromFormat(String(n),d)),t.isDateTime(e)||(d==="iso"?e=t.fromISO(String(e)):e=t.fromFormat(String(e),d)),!n.isValid)i=e.isValid?-1:0;else if(!e.isValid)i=1;else return n-e;return(g==="top"&&T==="desc"||g==="bottom"&&T==="asc")&&(i*=-1),i}else console.error("Sort Error - 'datetime' sorter is dependant on luxon.js")}function kP(n,e,r,C,D,T,p){return p.format||(p.format="dd/MM/yyyy"),q2.call(this,n,e,r,C,D,T,p)}function MP(n,e,r,C,D,T,p){return p.format||(p.format="HH:mm"),q2.call(this,n,e,r,C,D,T,p)}function AP(n,e,r,C,D,T,p){var t=n===!0||n==="true"||n==="True"||n===1?1:0,d=e===!0||e==="true"||e==="True"||e===1?1:0;return t-d}function SP(n,e,r,C,D,T,p){var t=p.type||"length",d=p.alignEmptyValues,g=0;function i(M){var v;switch(t){case"length":v=M.length;break;case"sum":v=M.reduce(function(f,l){return f+l});break;case"max":v=Math.max.apply(null,M);break;case"min":v=Math.min.apply(null,M);break;case"avg":v=M.reduce(function(f,l){return f+l})/M.length;break}return v}if(!Array.isArray(n))g=Array.isArray(e)?-1:0;else if(!Array.isArray(e))g=1;else return i(e)-i(n);return(d==="top"&&T==="desc"||d==="bottom"&&T==="asc")&&(g*=-1),g}function CP(n,e,r,C,D,T,p){var t=typeof n>"u"?0:1,d=typeof e>"u"?0:1;return t-d}function EP(n,e,r,C,D,T,p){var t,d,g,i,M=0,v,f=/(\d+)|(\D+)/g,l=/\d/,a=p.alignEmptyValues,u=0;if(!n&&n!==0)u=!e&&e!==0?0:-1;else if(!e&&e!==0)u=1;else{if(isFinite(n)&&isFinite(e))return n-e;if(t=String(n).toLowerCase(),d=String(e).toLowerCase(),t===d)return 0;if(!(l.test(t)&&l.test(d)))return t>d?1:-1;for(t=t.match(f),d=d.match(f),v=t.length>d.length?d.length:t.length;Mi?1:-1;return t.length>d.length}return(a==="top"&&T==="desc"||a==="bottom"&&T==="asc")&&(u*=-1),u}var LP={number:wP,string:TP,date:kP,time:MP,datetime:q2,boolean:AP,array:SP,exists:CP,alphanum:EP};class jd extends qi{constructor(e){super(e),this.sortList=[],this.changed=!1,this.registerTableOption("sortMode","local"),this.registerTableOption("initialSort",!1),this.registerTableOption("columnHeaderSortMulti",!0),this.registerTableOption("sortOrderReverse",!1),this.registerTableOption("headerSortElement","
"),this.registerTableOption("headerSortClickElement","header"),this.registerColumnOption("sorter"),this.registerColumnOption("sorterParams"),this.registerColumnOption("headerSort",!0),this.registerColumnOption("headerSortStartingDir"),this.registerColumnOption("headerSortTristate")}initialize(){this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("table-built",this.tableBuilt.bind(this)),this.registerDataHandler(this.sort.bind(this),20),this.registerTableFunction("setSort",this.userSetSort.bind(this)),this.registerTableFunction("getSorters",this.getSort.bind(this)),this.registerTableFunction("clearSort",this.clearSort.bind(this)),this.table.options.sortMode==="remote"&&this.subscribe("data-params",this.remoteSortParams.bind(this))}tableBuilt(){this.table.options.initialSort&&this.setSort(this.table.options.initialSort)}remoteSortParams(e,r,C,D){var T=this.getSort();return T.forEach(p=>{delete p.column}),D.sort=T,D}userSetSort(e,r){this.setSort(e,r),this.refreshSort()}clearSort(){this.clear(),this.refreshSort()}initializeColumn(e){var r=!1,C,D;switch(typeof e.definition.sorter){case"string":jd.sorters[e.definition.sorter]?r=jd.sorters[e.definition.sorter]:console.warn("Sort Error - No such sorter found: ",e.definition.sorter);break;case"function":r=e.definition.sorter;break}if(e.modules.sort={sorter:r,dir:"none",params:e.definition.sorterParams||{},startingDir:e.definition.headerSortStartingDir||"asc",tristate:e.definition.headerSortTristate},e.definition.headerSort!==!1){switch(C=e.getElement(),C.classList.add("tabulator-sortable"),D=document.createElement("div"),D.classList.add("tabulator-col-sorter"),this.table.options.headerSortClickElement){case"icon":D.classList.add("tabulator-col-sorter-element");break;case"header":C.classList.add("tabulator-col-sorter-element");break;default:C.classList.add("tabulator-col-sorter-element");break}switch(this.table.options.headerSortElement){case"function":break;case"object":D.appendChild(this.table.options.headerSortElement);break;default:D.innerHTML=this.table.options.headerSortElement}e.titleHolderElement.appendChild(D),e.modules.sort.element=D,this.setColumnHeaderSortIcon(e,"none"),this.table.options.headerSortClickElement==="icon"&&D.addEventListener("mousedown",T=>{T.stopPropagation()}),(this.table.options.headerSortClickElement==="icon"?D:C).addEventListener("click",T=>{var p="",t=[],d=!1;if(e.modules.sort){if(e.modules.sort.tristate)e.modules.sort.dir=="none"?p=e.modules.sort.startingDir:e.modules.sort.dir==e.modules.sort.startingDir?p=e.modules.sort.dir=="asc"?"desc":"asc":p="none";else switch(e.modules.sort.dir){case"asc":p="desc";break;case"desc":p="asc";break;default:p=e.modules.sort.startingDir}this.table.options.columnHeaderSortMulti&&(T.shiftKey||T.ctrlKey)?(t=this.getSort(),d=t.findIndex(g=>g.field===e.getField()),d>-1?(t[d].dir=p,d=t.splice(d,1)[0],p!="none"&&t.push(d)):p!="none"&&t.push({column:e,dir:p}),this.setSort(t)):p=="none"?this.clear():this.setSort(e,p),this.refreshSort()}})}}refreshSort(){this.table.options.sortMode==="remote"?this.reloadData(null,!1,!1):this.refreshData(!0)}hasChanged(){var e=this.changed;return this.changed=!1,e}getSort(){var e=this,r=[];return e.sortList.forEach(function(C){C.column&&r.push({column:C.column.getComponent(),field:C.column.getField(),dir:C.dir})}),r}setSort(e,r){var C=this,D=[];Array.isArray(e)||(e=[{column:e,dir:r}]),e.forEach(function(T){var p;p=C.table.columnManager.findColumn(T.column),p?(T.column=p,D.push(T),C.changed=!0):console.warn("Sort Warning - Sort field does not exist and is being ignored: ",T.column)}),C.sortList=D,this.dispatch("sort-changed")}clear(){this.setSort([])}findSorter(e){var r=this.table.rowManager.activeRows[0],C="string",D,T;if(r&&(r=r.getData(),D=e.getField(),D))switch(T=e.getFieldValue(r),typeof T){case"undefined":C="string";break;case"boolean":C="boolean";break;default:!isNaN(T)&&T!==""?C="number":T.match(/((^[0-9]+[a-z]+)|(^[a-z]+[0-9]+))+$/i)&&(C="alphanum");break}return jd.sorters[C]}sort(e){var r=this,C=this.table.options.sortOrderReverse?r.sortList.slice().reverse():r.sortList,D=[],T=[];return this.subscribedExternal("dataSorting")&&this.dispatchExternal("dataSorting",r.getSort()),r.clearColumnHeaders(),this.table.options.sortMode!=="remote"?(C.forEach(function(p,t){var d;p.column&&(d=p.column.modules.sort,d&&(d.sorter||(d.sorter=r.findSorter(p.column)),p.params=typeof d.params=="function"?d.params(p.column.getComponent(),p.dir):d.params,D.push(p)),r.setColumnHeader(p.column,p.dir))}),D.length&&r._sortItems(e,D)):C.forEach(function(p,t){r.setColumnHeader(p.column,p.dir)}),this.subscribedExternal("dataSorted")&&(e.forEach(p=>{T.push(p.getComponent())}),this.dispatchExternal("dataSorted",r.getSort(),T)),e}clearColumnHeaders(){this.table.columnManager.getRealColumns().forEach(e=>{e.modules.sort&&(e.modules.sort.dir="none",e.getElement().setAttribute("aria-sort","none"),this.setColumnHeaderSortIcon(e,"none"))})}setColumnHeader(e,r){e.modules.sort.dir=r,e.getElement().setAttribute("aria-sort",r==="asc"?"ascending":"descending"),this.setColumnHeaderSortIcon(e,r)}setColumnHeaderSortIcon(e,r){var C=e.modules.sort.element,D;if(e.definition.headerSort&&typeof this.table.options.headerSortElement=="function"){for(;C.firstChild;)C.removeChild(C.firstChild);D=this.table.options.headerSortElement.call(this.table,e.getComponent(),r),typeof D=="object"?C.appendChild(D):C.innerHTML=D}}_sortItems(e,r){var C=r.length-1;e.sort((D,T)=>{for(var p,t=C;t>=0;t--){let d=r[t];if(p=this._sortRow(D,T,d.column,d.dir,d.params),p!==0)break}return p})}_sortRow(e,r,C,D,T){var p,t,d=D=="asc"?e:r,g=D=="asc"?r:e;return e=C.getFieldValue(d.getData()),r=C.getFieldValue(g.getData()),e=typeof e<"u"?e:"",r=typeof r<"u"?r:"",p=d.getComponent(),t=g.getComponent(),C.modules.sort.sorter.call(this,e,r,p,t,C.getComponent(),D,T)}}jd.moduleName="sort";jd.sorters=LP;class IP{constructor(e){return this._range=e,new Proxy(this,{get:function(r,C,D){return typeof r[C]<"u"?r[C]:r._range.table.componentFunctionBinder.handle("range",r._range,C)}})}getElement(){return this._range.element}getData(){return this._range.getData()}getCells(){return this._range.getCells(!0)}getStructuredCells(){return this._range.getStructuredCells()}getRows(){return this._range.getRows().map(e=>e.getComponent())}getColumns(){return this._range.getColumns().map(e=>e.getComponent())}getBounds(){return this._range.getBounds()}getTopEdge(){return this._range.top}getBottomEdge(){return this._range.bottom}getLeftEdge(){return this._range.left}getRightEdge(){return this._range.right}setBounds(e,r){this._range.destroyedGuard("setBounds")&&this._range.setBounds(e&&e._cell,r&&r._cell)}setStartBound(e){this._range.destroyedGuard("setStartBound")&&(this._range.setEndBound(e&&e._cell),this._range.rangeManager.layoutElement())}setEndBound(e){this._range.destroyedGuard("setEndBound")&&(this._range.setEndBound(e&&e._cell),this._range.rangeManager.layoutElement())}clearValues(){this._range.destroyedGuard("clearValues")&&this._range.clearValues()}remove(){this._range.destroyedGuard("remove")&&this._range.destroy(!0)}}class RP extends kl{constructor(e,r,C,D){super(e),this.rangeManager=r,this.element=null,this.initialized=!1,this.initializing={start:!1,end:!1},this.destroyed=!1,this.top=0,this.bottom=0,this.left=0,this.right=0,this.table=e,this.start={row:0,col:0},this.end={row:0,col:0},this.rangeManager.rowHeader&&(this.left=1,this.right=1,this.start.col=1,this.end.col=1),this.initElement(),setTimeout(()=>{this.initBounds(C,D)})}initElement(){this.element=document.createElement("div"),this.element.classList.add("tabulator-range")}initBounds(e,r){this._updateMinMax(),e&&this.setBounds(e,r||e)}setStart(e,r){(this.start.row!==e||this.start.col!==r)&&(this.start.row=e,this.start.col=r,this.initializing.start=!0,this._updateMinMax())}setEnd(e,r){(this.end.row!==e||this.end.col!==r)&&(this.end.row=e,this.end.col=r,this.initializing.end=!0,this._updateMinMax())}setBounds(e,r,C){e&&this.setStartBound(e),this.setEndBound(r||e),this.rangeManager.layoutElement(C)}setStartBound(e){var r,C;e.type==="column"?this.rangeManager.columnSelection&&this.setStart(0,e.getPosition()-1):(r=e.row.position-1,C=e.column.getPosition()-1,e.column===this.rangeManager.rowHeader?this.setStart(r,1):this.setStart(r,C))}setEndBound(e){var r=this._getTableRows().length,C,D,T;e.type==="column"?this.rangeManager.columnSelection&&(this.rangeManager.selecting==="column"?this.setEnd(r-1,e.getPosition()-1):this.rangeManager.selecting==="cell"&&this.setEnd(0,e.getPosition()-1)):(C=e.row.position-1,D=e.column.getPosition()-1,T=e.column===this.rangeManager.rowHeader,this.rangeManager.selecting==="row"?this.setEnd(C,this._getTableColumns().length-1):this.rangeManager.selecting!=="row"&&T?this.setEnd(C,0):this.rangeManager.selecting==="column"?this.setEnd(r-1,D):this.setEnd(C,D))}_updateMinMax(){this.top=Math.min(this.start.row,this.end.row),this.bottom=Math.max(this.start.row,this.end.row),this.left=Math.min(this.start.col,this.end.col),this.right=Math.max(this.start.col,this.end.col),this.initialized?this.dispatchExternal("rangeChanged",this.getComponent()):this.initializing.start&&this.initializing.end&&(this.initialized=!0,this.dispatchExternal("rangeAdded",this.getComponent()))}_getTableColumns(){return this.table.columnManager.getVisibleColumnsByIndex()}_getTableRows(){return this.table.rowManager.getDisplayRows()}layout(){var e=this.table.rowManager.renderer.vDomTop,r=this.table.rowManager.renderer.vDomBottom,C=this.table.columnManager.renderer.leftCol,D=this.table.columnManager.renderer.rightCol,T,p,t,d,g,i;e==null&&(e=0),r==null&&(r=1/0),C==null&&(C=0),D==null&&(D=1/0),this.overlaps(C,e,D,r)&&(T=Math.max(this.top,e),p=Math.min(this.bottom,r),t=Math.max(this.left,C),d=Math.min(this.right,D),g=this.rangeManager.getCell(T,t),i=this.rangeManager.getCell(p,d),this.element.classList.add("tabulator-range-active"),this.element.style.left=g.row.getElement().offsetLeft+g.getElement().offsetLeft+"px",this.element.style.top=g.row.getElement().offsetTop+"px",this.element.style.width=i.getElement().offsetLeft+i.getElement().offsetWidth-g.getElement().offsetLeft+"px",this.element.style.height=i.row.getElement().offsetTop+i.row.getElement().offsetHeight-g.row.getElement().offsetTop+"px")}atTopLeft(e){return e.row.position-1===this.top&&e.column.getPosition()-1===this.left}atBottomRight(e){return e.row.position-1===this.bottom&&e.column.getPosition()-1===this.right}occupies(e){return this.occupiesRow(e.row)&&this.occupiesColumn(e.column)}occupiesRow(e){return this.top<=e.position-1&&e.position-1<=this.bottom}occupiesColumn(e){return this.left<=e.getPosition()-1&&e.getPosition()-1<=this.right}overlaps(e,r,C,D){return!(this.left>C||e>this.right||this.top>D||r>this.bottom)}getData(){var e=[],r=this.getRows(),C=this.getColumns();return r.forEach(D=>{var T=D.getData(),p={};C.forEach(t=>{p[t.field]=T[t.field]}),e.push(p)}),e}getCells(e,r){var C=[],D=this.getRows(),T=this.getColumns();return e?C=D.map(p=>{var t=[];return p.getCells().forEach(d=>{T.includes(d.column)&&t.push(r?d.getComponent():d)}),t}):D.forEach(p=>{p.getCells().forEach(t=>{T.includes(t.column)&&C.push(r?t.getComponent():t)})}),C}getStructuredCells(){return this.getCells(!0,!0)}getRows(){return this._getTableRows().slice(this.top,this.bottom+1)}getColumns(){return this._getTableColumns().slice(this.left,this.right+1)}clearValues(){var e=this.getCells(),r=this.table.options.selectableRangeClearCellsValue;this.table.blockRedraw(),e.forEach(C=>{C.setValue(r)}),this.table.restoreRedraw()}getBounds(e){var r=this.getCells(!1,e),C={start:null,end:null};return r.length?(C.start=r[0],C.end=r[r.length-1]):console.warn("No bounds defined on range"),C}getComponent(){return this.component||(this.component=new IP(this)),this.component}destroy(e){this.destroyed=!0,this.element.remove(),e&&this.rangeManager.rangeRemoved(this),this.initialized&&this.dispatchExternal("rangeRemoved",this.getComponent())}destroyedGuard(e){return this.destroyed&&console.warn("You cannot call the "+e+" function on a destroyed range"),!this.destroyed}}class KM extends qi{constructor(e){super(e),this.selecting="cell",this.mousedown=!1,this.ranges=[],this.overlay=null,this.rowHeader=null,this.layoutChangeTimeout=null,this.columnSelection=!1,this.rowSelection=!1,this.maxRanges=0,this.activeRange=!1,this.blockKeydown=!1,this.keyDownEvent=this._handleKeyDown.bind(this),this.mouseUpEvent=this._handleMouseUp.bind(this),this.registerTableOption("selectableRange",!1),this.registerTableOption("selectableRangeColumns",!1),this.registerTableOption("selectableRangeRows",!1),this.registerTableOption("selectableRangeClearCells",!1),this.registerTableOption("selectableRangeClearCellsValue",void 0),this.registerTableFunction("getRangesData",this.getRangesData.bind(this)),this.registerTableFunction("getRanges",this.getRanges.bind(this)),this.registerTableFunction("addRange",this.addRangeFromComponent.bind(this)),this.registerComponentFunction("cell","getRanges",this.cellGetRanges.bind(this)),this.registerComponentFunction("row","getRanges",this.rowGetRanges.bind(this)),this.registerComponentFunction("column","getRanges",this.colGetRanges.bind(this))}initialize(){this.options("selectableRange")&&(this.options("selectableRows")?console.warn("SelectRange functionality cannot be used in conjunction with row selection"):(this.maxRanges=this.options("selectableRange"),this.initializeTable(),this.initializeWatchers()))}initializeTable(){this.overlay=document.createElement("div"),this.overlay.classList.add("tabulator-range-overlay"),this.rangeContainer=document.createElement("div"),this.rangeContainer.classList.add("tabulator-range-container"),this.activeRangeCellElement=document.createElement("div"),this.activeRangeCellElement.classList.add("tabulator-range-cell-active"),this.overlay.appendChild(this.rangeContainer),this.overlay.appendChild(this.activeRangeCellElement),this.table.rowManager.element.addEventListener("keydown",this.keyDownEvent),this.resetRanges(),this.table.rowManager.element.appendChild(this.overlay),this.table.columnManager.element.setAttribute("tabindex",0),this.table.element.classList.add("tabulator-ranges")}initializeWatchers(){this.columnSelection=this.options("selectableRangeColumns"),this.rowSelection=this.options("selectableRangeRows"),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("column-mousedown",this.handleColumnMouseDown.bind(this)),this.subscribe("column-mousemove",this.handleColumnMouseMove.bind(this)),this.subscribe("column-resized",this.handleColumnResized.bind(this)),this.subscribe("column-width",this.layoutChange.bind(this)),this.subscribe("column-height",this.layoutChange.bind(this)),this.subscribe("column-resized",this.layoutChange.bind(this)),this.subscribe("columns-loaded",this.updateHeaderColumn.bind(this)),this.subscribe("cell-height",this.layoutChange.bind(this)),this.subscribe("cell-rendered",this.renderCell.bind(this)),this.subscribe("cell-mousedown",this.handleCellMouseDown.bind(this)),this.subscribe("cell-mousemove",this.handleCellMouseMove.bind(this)),this.subscribe("cell-click",this.handleCellClick.bind(this)),this.subscribe("cell-editing",this.handleEditingCell.bind(this)),this.subscribe("page-changed",this.redraw.bind(this)),this.subscribe("scroll-vertical",this.layoutChange.bind(this)),this.subscribe("scroll-horizontal",this.layoutChange.bind(this)),this.subscribe("data-destroy",this.tableDestroyed.bind(this)),this.subscribe("data-processed",this.resetRanges.bind(this)),this.subscribe("table-layout",this.layoutElement.bind(this)),this.subscribe("table-redraw",this.redraw.bind(this)),this.subscribe("table-destroy",this.tableDestroyed.bind(this)),this.subscribe("edit-editor-clear",this.finishEditingCell.bind(this)),this.subscribe("edit-blur",this.restoreFocus.bind(this)),this.subscribe("keybinding-nav-prev",this.keyNavigate.bind(this,"left")),this.subscribe("keybinding-nav-next",this.keyNavigate.bind(this,"right")),this.subscribe("keybinding-nav-left",this.keyNavigate.bind(this,"left")),this.subscribe("keybinding-nav-right",this.keyNavigate.bind(this,"right")),this.subscribe("keybinding-nav-up",this.keyNavigate.bind(this,"up")),this.subscribe("keybinding-nav-down",this.keyNavigate.bind(this,"down")),this.subscribe("keybinding-nav-range",this.keyNavigateRange.bind(this))}initializeColumn(e){this.columnSelection&&e.definition.headerSort&&this.options("headerSortClickElement")!=="icon"&&console.warn("Using column headerSort with selectableRangeColumns option may result in unpredictable behavior. Consider using headerSortClickElement: 'icon'."),e.modules.edit}updateHeaderColumn(){this.rowSelection&&(this.rowHeader=this.table.columnManager.getVisibleColumnsByIndex()[0],this.rowHeader&&(this.rowHeader.definition.cssClass=this.rowHeader.definition.cssClass+" tabulator-range-row-header",this.rowHeader.definition.headerSort&&console.warn("Using column headerSort with selectableRangeRows option may result in unpredictable behavior"),this.rowHeader.definition.editor&&console.warn("Using column editor with selectableRangeRows option may result in unpredictable behavior")))}getRanges(){return this.ranges.map(e=>e.getComponent())}getRangesData(){return this.ranges.map(e=>e.getData())}addRangeFromComponent(e,r){return e=e?e._cell:null,r=r?r._cell:null,this.addRange(e,r)}cellGetRanges(e){var r=[];return e.column===this.rowHeader?r=this.ranges.filter(C=>C.occupiesRow(e.row)):r=this.ranges.filter(C=>C.occupies(e)),r.map(C=>C.getComponent())}rowGetRanges(e){var r=this.ranges.filter(C=>C.occupiesRow(e));return r.map(C=>C.getComponent())}colGetRanges(e){var r=this.ranges.filter(C=>C.occupiesColumn(e));return r.map(C=>C.getComponent())}_handleMouseUp(e){this.mousedown=!1,document.removeEventListener("mouseup",this.mouseUpEvent)}_handleKeyDown(e){if(!this.blockKeydown&&(!this.table.modules.edit||this.table.modules.edit&&!this.table.modules.edit.currentCell)){if(e.key==="Enter"){if(this.table.modules.edit&&this.table.modules.edit.currentCell)return;this.table.modules.edit.editCell(this.getActiveCell()),e.preventDefault()}(e.key==="Backspace"||e.key==="Delete")&&this.options("selectableRangeClearCells")&&this.activeRange&&this.activeRange.clearValues()}}initializeFocus(e){var r;try{document.selection?(r=document.body.createTextRange(),r.moveToElementText(e.getElement()),r.select()):window.getSelection&&(r=document.createRange(),r.selectNode(e.getElement()),window.getSelection().removeAllRanges(),window.getSelection().addRange(r))}catch{}}restoreFocus(e){return this.table.rowManager.element.focus(),!0}handleColumnResized(e){var r;this.selecting!=="column"&&this.selecting!=="all"||(r=this.ranges.some(C=>C.occupiesColumn(e)),r&&this.ranges.forEach(C=>{var D=C.getColumns(!0);D.forEach(T=>{T!==e&&T.setWidth(e.width)})}))}handleColumnMouseDown(e,r){e.button===2&&(this.selecting==="column"||this.selecting==="all")&&this.activeRange.occupiesColumn(r)||(this.mousedown=!0,document.addEventListener("mouseup",this.mouseUpEvent),this.newSelection(e,r))}handleColumnMouseMove(e,r){r===this.rowHeader||!this.mousedown||this.selecting==="all"||this.activeRange.setBounds(!1,r,!0)}renderCell(e){var r=e.getElement(),C=this.ranges.findIndex(D=>D.occupies(e));r.classList.toggle("tabulator-range-selected",C!==-1),r.classList.toggle("tabulator-range-only-cell-selected",this.ranges.length===1&&this.ranges[0].atTopLeft(e)&&this.ranges[0].atBottomRight(e)),r.dataset.range=C}handleCellMouseDown(e,r){e.button===2&&(this.activeRange.occupies(r)||(this.selecting==="row"||this.selecting==="all")&&this.activeRange.occupiesRow(r.row))||(this.mousedown=!0,document.addEventListener("mouseup",this.mouseUpEvent),this.newSelection(e,r))}handleCellMouseMove(e,r){!this.mousedown||this.selecting==="all"||this.activeRange.setBounds(!1,r,!0)}handleCellClick(e,r){this.initializeFocus(r)}handleEditingCell(e){this.activeRange&&this.activeRange.setBounds(e)}finishEditingCell(){this.blockKeydown=!0,this.table.rowManager.element.focus(),setTimeout(()=>{this.blockKeydown=!1},10)}keyNavigate(e,r){this.navigate(!1,!1,e)&&r.preventDefault()}keyNavigateRange(e,r,C,D){this.navigate(C,D,r)&&e.preventDefault()}navigate(e,r,C){var D=!1,T,p,t,d,g,i;if(this.table.modules.edit&&this.table.modules.edit.currentCell)return!1;if(this.ranges.length>1&&(this.ranges=this.ranges.filter(M=>M===this.activeRange?(M.setEnd(M.start.row,M.start.col),!0):(M.destroy(),!1))),T=this.activeRange,p=r?T.end:T.start,t=p.row,d=p.col,e)switch(C){case"left":d=this.findJumpCellLeft(T.start.row,p.col);break;case"right":d=this.findJumpCellRight(T.start.row,p.col);break;case"up":t=this.findJumpCellUp(p.row,T.start.col);break;case"down":t=this.findJumpCellDown(p.row,T.start.col);break}else{if(r&&(this.selecting==="row"&&(C==="left"||C==="right")||this.selecting==="column"&&(C==="up"||C==="down")))return;switch(C){case"left":d=Math.max(d-1,0);break;case"right":d=Math.min(d+1,this.getTableColumns().length-1);break;case"up":t=Math.max(t-1,0);break;case"down":t=Math.min(t+1,this.getTableRows().length-1);break}}if(D=d!==p.col||t!==p.row,r||T.setStart(t,d),T.setEnd(t,d),r||(this.selecting="cell"),D)return g=this.getRowByRangePos(T.end.row),i=this.getColumnByRangePos(T.end.col),(C==="left"||C==="right")&&i.getElement().parentNode===null?i.getComponent().scrollTo(void 0,!1):(C==="up"||C==="down")&&g.getElement().parentNode===null?g.getComponent().scrollTo(void 0,!1):this.autoScroll(T,g.getElement(),i.getElement()),this.layoutElement(),!0}rangeRemoved(e){this.ranges=this.ranges.filter(r=>r!==e),this.activeRange===e&&(this.ranges.length?this.activeRange=this.ranges[this.ranges.length-1]:this.addRange()),this.layoutElement()}findJumpCell(e,r,C,D){var T;r&&(e=e.reverse());for(let p of e){let t=p.getValue();if(C){if(T=p,t)break}else if(D){if(T=p,t)break}else if(t)T=p;else break}return T}findJumpCellLeft(e,r){var C=this.getRowByRangePos(e),D=C.cells.filter(i=>i.column.visible),T=!D[r].getValue(),p=D[r]?!D[r].getValue():!1,t=r,d=this.rowHeader?D.slice(1,r):D.slice(0,r),g=this.findJumpCell(d,!0,T,p);return g&&(t=g.column.getPosition()-1),t}findJumpCellRight(e,r){var C=this.getRowByRangePos(e),D=C.cells.filter(g=>g.column.visible),T=!D[r].getValue(),p=D[r+1]?!D[r+1].getValue():!1,t=r,d=this.findJumpCell(D.slice(r+1,D.length),!1,T,p);return d&&(t=d.column.getPosition()-1),t}findJumpCellUp(e,r){var C=this.getColumnByRangePos(r),D=C.cells.filter(g=>this.table.rowManager.activeRows.includes(g.row)),T=!D[e].getValue(),p=D[e-1]?!D[e-1].getValue():!1,t=e,d=this.findJumpCell(D.slice(0,t),!0,T,p);return d&&(t=d.row.position-1),t}findJumpCellDown(e,r){var C=this.getColumnByRangePos(r),D=C.cells.filter(g=>this.table.rowManager.activeRows.includes(g.row)),T=!D[e].getValue(),p=D[e+1]?!D[e+1].getValue():!1,t=e,d=this.findJumpCell(D.slice(t+1,D.length),!1,T,p);return d&&(t=d.row.position-1),t}newSelection(e,r){var C;if(r.type==="column"){if(!this.columnSelection)return;if(r===this.rowHeader){C=this.resetRanges(),this.selecting="all";var D,T=this.getCell(-1,-1);this.rowHeader?D=this.getCell(0,1):D=this.getCell(0,0),C.setBounds(D,T);return}else this.selecting="column"}else r.column===this.rowHeader?this.selecting="row":this.selecting="cell";e.shiftKey?this.activeRange.setBounds(!1,r):e.ctrlKey?this.addRange().setBounds(r):this.resetRanges().setBounds(r)}autoScroll(e,r,C){var D=this.table.rowManager.element,T,p,t,d,g;typeof r>"u"&&(r=this.getRowByRangePos(e.end.row).getElement()),typeof C>"u"&&(C=this.getColumnByRangePos(e.end.col).getElement()),this.rowHeader&&(T=this.rowHeader.getElement()),p={left:C.offsetLeft,right:C.offsetLeft+C.offsetWidth,top:r.offsetTop,bottom:r.offsetTop+r.offsetHeight},t={left:D.scrollLeft,right:Math.ceil(D.scrollLeft+D.clientWidth),top:D.scrollTop,bottom:D.scrollTop+D.offsetHeight-this.table.rowManager.scrollbarWidth},T&&(t.left+=T.offsetWidth),d=t.leftt.right&&(D.scrollLeft=p.right-D.clientWidth)),g||(p.topt.bottom&&(D.scrollTop=p.bottom-D.clientHeight))}layoutChange(){this.overlay.style.visibility="hidden",clearTimeout(this.layoutChangeTimeout),this.layoutChangeTimeout=setTimeout(this.layoutRanges.bind(this),200)}redraw(e){e&&(this.selecting="cell",this.resetRanges(),this.layoutElement())}layoutElement(e){var r;e?r=this.table.rowManager.getVisibleRows(!0):r=this.table.rowManager.getRows(),r.forEach(C=>{C.type==="row"&&(this.layoutRow(C),C.cells.forEach(D=>this.renderCell(D)))}),this.getTableColumns().forEach(C=>{this.layoutColumn(C)}),this.layoutRanges()}layoutRow(e){var r=e.getElement(),C=!1,D=this.ranges.some(T=>T.occupiesRow(e));this.selecting==="row"?C=D:this.selecting==="all"&&(C=!0),r.classList.toggle("tabulator-range-selected",C),r.classList.toggle("tabulator-range-highlight",D)}layoutColumn(e){var r=e.getElement(),C=!1,D=this.ranges.some(T=>T.occupiesColumn(e));this.selecting==="column"?C=D:this.selecting==="all"&&(C=!0),r.classList.toggle("tabulator-range-selected",C),r.classList.toggle("tabulator-range-highlight",D)}layoutRanges(){var e;this.table.initialized&&(e=this.getActiveCell(),e&&(this.activeRangeCellElement.style.left=e.row.getElement().offsetLeft+e.getElement().offsetLeft+"px",this.activeRangeCellElement.style.top=e.row.getElement().offsetTop+"px",this.activeRangeCellElement.style.width=e.getElement().offsetLeft+e.getElement().offsetWidth-e.getElement().offsetLeft+"px",this.activeRangeCellElement.style.height=e.row.getElement().offsetTop+e.row.getElement().offsetHeight-e.row.getElement().offsetTop+"px",this.ranges.forEach(r=>r.layout()),this.overlay.style.visibility="visible"))}getCell(e,r){var C;return r<0&&(r=this.getTableColumns().length+r,r<0)?null:(e<0&&(e=this.getTableRows().length+e),C=this.table.rowManager.getRowFromPosition(e+1),C?C.getCells(!1,!0).filter(D=>D.column.visible)[r]:null)}getActiveCell(){return this.getCell(this.activeRange.start.row,this.activeRange.start.col)}getRowByRangePos(e){return this.getTableRows()[e]}getColumnByRangePos(e){return this.getTableColumns()[e]}getTableRows(){return this.table.rowManager.getDisplayRows()}getTableColumns(){return this.table.columnManager.getVisibleColumnsByIndex()}addRange(e,r){var C;return this.maxRanges!==!0&&this.ranges.length>=this.maxRanges&&this.ranges.shift().destroy(),C=new RP(this.table,this,e,r),this.activeRange=C,this.ranges.push(C),this.rangeContainer.appendChild(C.element),C}resetRanges(){var e,r;return this.ranges.forEach(C=>C.destroy()),this.ranges=[],e=this.addRange(),this.table.rowManager.activeRows.length&&(r=this.table.rowManager.activeRows[0].cells[this.rowHeader?1:0],r&&(e.setBounds(r),this.initializeFocus(r))),e}tableDestroyed(){document.removeEventListener("mouseup",this.mouseUpEvent),this.table.rowManager.element.removeEventListener("keydown",this.keyDownEvent)}selectedRows(e){return e?this.activeRange.getRows().map(r=>r.getComponent()):this.activeRange.getRows()}selectedColumns(e){return e?this.activeRange.getColumns().map(r=>r.getComponent()):this.activeRange.getColumns()}}KM.moduleName="selectRange";class JM extends qi{constructor(e){super(e),this.tooltipSubscriber=null,this.headerSubscriber=null,this.timeout=null,this.popupInstance=null,this.registerTableOption("tooltipGenerationMode",void 0),this.registerTableOption("tooltipDelay",300),this.registerColumnOption("tooltip"),this.registerColumnOption("headerTooltip")}initialize(){this.deprecatedOptionsCheck(),this.subscribe("column-init",this.initializeColumn.bind(this))}deprecatedOptionsCheck(){this.deprecationCheckMsg("tooltipGenerationMode","This option is no longer needed as tooltips are always generated on hover now")}initializeColumn(e){e.definition.headerTooltip&&!this.headerSubscriber&&(this.headerSubscriber=!0,this.subscribe("column-mousemove",this.mousemoveCheck.bind(this,"headerTooltip")),this.subscribe("column-mouseout",this.mouseoutCheck.bind(this,"headerTooltip"))),e.definition.tooltip&&!this.tooltipSubscriber&&(this.tooltipSubscriber=!0,this.subscribe("cell-mousemove",this.mousemoveCheck.bind(this,"tooltip")),this.subscribe("cell-mouseout",this.mouseoutCheck.bind(this,"tooltip")))}mousemoveCheck(e,r,C){var D=e==="tooltip"?C.column.definition.tooltip:C.definition.headerTooltip;D&&(this.clearPopup(),this.timeout=setTimeout(this.loadTooltip.bind(this,r,C,D),this.table.options.tooltipDelay))}mouseoutCheck(e,r,C){this.popupInstance||this.clearPopup()}clearPopup(e,r,C){clearTimeout(this.timeout),this.timeout=null,this.popupInstance&&this.popupInstance.hide()}loadTooltip(e,r,C){var D,T,p;function t(d){T=d}typeof C=="function"&&(C=C(e,r.getComponent(),t)),C instanceof HTMLElement?D=C:(D=document.createElement("div"),C===!0&&(r instanceof eg?C=r.value:r.definition.field?this.langBind("columns|"+r.definition.field,d=>{D.innerHTML=C=d||r.definition.title}):C=r.definition.title),D.innerHTML=C),(C||C===0||C===!1)&&(D.classList.add("tabulator-tooltip"),D.addEventListener("mousemove",d=>d.preventDefault()),this.popupInstance=this.popup(D),typeof T=="function"&&this.popupInstance.renderCallback(T),p=this.popupInstance.containerEventCoords(e),this.popupInstance.show(p.x+15,p.y+15).hideOnBlur(()=>{this.dispatchExternal("TooltipClosed",r.getComponent()),this.popupInstance=null}),this.dispatchExternal("TooltipOpened",r.getComponent()))}}JM.moduleName="tooltip";var PP={integer:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:(e=Number(e),!isNaN(e)&&isFinite(e)&&Math.floor(e)===e)},float:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:(e=Number(e),!isNaN(e)&&isFinite(e)&&e%1!==0)},numeric:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:!isNaN(e)},string:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:isNaN(e)},alphanumeric:function(n,e,r){if(e===""||e===null||typeof e>"u")return!0;var C=new RegExp(/^[a-z0-9]+$/i);return C.test(e)},max:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:parseFloat(e)<=r},min:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:parseFloat(e)>=r},starts:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).toLowerCase().startsWith(String(r).toLowerCase())},ends:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).toLowerCase().endsWith(String(r).toLowerCase())},minLength:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).length>=r},maxLength:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).length<=r},in:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:(typeof r=="string"&&(r=r.split("|")),r.indexOf(e)>-1)},regex:function(n,e,r){if(e===""||e===null||typeof e>"u")return!0;var C=new RegExp(r);return C.test(e)},unique:function(n,e,r){if(e===""||e===null||typeof e>"u")return!0;var C=!0,D=n.getData(),T=n.getColumn()._getSelf();return this.table.rowManager.rows.forEach(function(p){var t=p.getData();t!==D&&e==T.getFieldValue(t)&&(C=!1)}),C},required:function(n,e,r){return e!==""&&e!==null&&typeof e<"u"}};class ig extends qi{constructor(e){super(e),this.invalidCells=[],this.registerTableOption("validationMode","blocking"),this.registerColumnOption("validator"),this.registerTableFunction("getInvalidCells",this.getInvalidCells.bind(this)),this.registerTableFunction("clearCellValidation",this.userClearCellValidation.bind(this)),this.registerTableFunction("validate",this.userValidate.bind(this)),this.registerComponentFunction("cell","isValid",this.cellIsValid.bind(this)),this.registerComponentFunction("cell","clearValidation",this.clearValidation.bind(this)),this.registerComponentFunction("cell","validate",this.cellValidate.bind(this)),this.registerComponentFunction("column","validate",this.columnValidate.bind(this)),this.registerComponentFunction("row","validate",this.rowValidate.bind(this))}initialize(){this.subscribe("cell-delete",this.clearValidation.bind(this)),this.subscribe("column-layout",this.initializeColumnCheck.bind(this)),this.subscribe("edit-success",this.editValidate.bind(this)),this.subscribe("edit-editor-clear",this.editorClear.bind(this)),this.subscribe("edit-edited-clear",this.editedClear.bind(this))}editValidate(e,r,C){var D=this.table.options.validationMode!=="manual"?this.validate(e.column.modules.validate,e,r):!0;return D!==!0&&setTimeout(()=>{e.getElement().classList.add("tabulator-validation-fail"),this.dispatchExternal("validationFailed",e.getComponent(),r,D)}),D}editorClear(e,r){r&&e.column.modules.validate&&this.cellValidate(e),e.getElement().classList.remove("tabulator-validation-fail")}editedClear(e){e.modules.validate&&(e.modules.validate.invalid=!1)}cellIsValid(e){return e.modules.validate&&e.modules.validate.invalid||!0}cellValidate(e){return this.validate(e.column.modules.validate,e,e.getValue())}columnValidate(e){var r=[];return e.cells.forEach(C=>{this.cellValidate(C)!==!0&&r.push(C.getComponent())}),r.length?r:!0}rowValidate(e){var r=[];return e.cells.forEach(C=>{this.cellValidate(C)!==!0&&r.push(C.getComponent())}),r.length?r:!0}userClearCellValidation(e){e||(e=this.getInvalidCells()),Array.isArray(e)||(e=[e]),e.forEach(r=>{this.clearValidation(r._getSelf())})}userValidate(e){var r=[];return this.table.rowManager.rows.forEach(C=>{C=C.getComponent();var D=C.validate();D!==!0&&(r=r.concat(D))}),r.length?r:!0}initializeColumnCheck(e){typeof e.definition.validator<"u"&&this.initializeColumn(e)}initializeColumn(e){var r=this,C=[],D;e.definition.validator&&(Array.isArray(e.definition.validator)?e.definition.validator.forEach(T=>{D=r._extractValidator(T),D&&C.push(D)}):(D=this._extractValidator(e.definition.validator),D&&C.push(D)),e.modules.validate=C.length?C:!1)}_extractValidator(e){var r,C,D;switch(typeof e){case"string":return D=e.indexOf(":"),D>-1?(r=e.substring(0,D),C=e.substring(D+1)):r=e,this._buildValidator(r,C);case"function":return this._buildValidator(e);case"object":return this._buildValidator(e.type,e.parameters)}}_buildValidator(e,r){var C=typeof e=="function"?e:ig.validators[e];return C?{type:typeof e=="function"?"function":e,func:C,params:r}:(console.warn("Validator Setup Error - No matching validator found:",e),!1)}validate(e,r,C){var D=this,T=[],p=this.invalidCells.indexOf(r);return e&&e.forEach(t=>{t.func.call(D,r.getComponent(),C,t.params)||T.push({type:t.type,parameters:t.params})}),r.modules.validate||(r.modules.validate={}),T.length?(r.modules.validate.invalid=T,this.table.options.validationMode!=="manual"&&r.getElement().classList.add("tabulator-validation-fail"),p==-1&&this.invalidCells.push(r)):(r.modules.validate.invalid=!1,r.getElement().classList.remove("tabulator-validation-fail"),p>-1&&this.invalidCells.splice(p,1)),T.length?T:!0}getInvalidCells(){var e=[];return this.invalidCells.forEach(r=>{e.push(r.getComponent())}),e}clearValidation(e){var r;e.modules.validate&&e.modules.validate.invalid&&(e.getElement().classList.remove("tabulator-validation-fail"),e.modules.validate.invalid=!1,r=this.invalidCells.indexOf(e),r>-1&&this.invalidCells.splice(r,1))}}ig.moduleName="validate";ig.validators=PP;var OP=Object.freeze({__proto__:null,AccessorModule:i0,AjaxModule:Rc,ClipboardModule:qd,ColumnCalcsModule:zf,DataTreeModule:OM,DownloadModule:a0,EditModule:tg,ExportModule:DM,FilterModule:Xh,FormatModule:Yu,FrozenColumnsModule:zM,FrozenRowsModule:FM,GroupRowsModule:BM,HistoryModule:Wd,HtmlTableImportModule:NM,ImportModule:ng,InteractionModule:VM,KeybindingsModule:Vf,MenuModule:jM,MoveColumnsModule:UM,MoveRowsModule:$y,MutatorModule:o0,PageModule:rg,PersistenceModule:jl,PopupModule:HM,PrintModule:GM,ReactiveDataModule:qM,ResizeColumnsModule:WM,ResizeRowsModule:YM,ResizeTableModule:$M,ResponsiveLayoutModule:ZM,SelectRowModule:XM,SortModule:jd,SelectRangeModule:KM,TooltipModule:JM,ValidateModule:ig}),DP={debugEventsExternal:!1,debugEventsInternal:!1,debugInvalidOptions:!0,debugInvalidComponentFuncs:!0,debugInitialization:!0,debugDeprecation:!0,height:!1,minHeight:!1,maxHeight:!1,columnHeaderVertAlign:"top",popupContainer:!1,columns:[],columnDefaults:{},data:!1,autoColumns:!1,autoColumnsDefinitions:!1,nestedFieldSeparator:".",footerElement:!1,index:"id",textDirection:"auto",addRowPos:"bottom",headerVisible:!0,renderVertical:"virtual",renderHorizontal:"basic",renderVerticalBuffer:0,scrollToRowPosition:"top",scrollToRowIfVisible:!0,scrollToColumnPosition:"left",scrollToColumnIfVisible:!0,rowFormatter:!1,rowFormatterPrint:null,rowFormatterClipboard:null,rowFormatterHtmlOutput:null,rowHeight:null,placeholder:!1,dataLoader:!0,dataLoaderLoading:!1,dataLoaderError:!1,dataLoaderErrorTimeout:3e3,dataSendParams:{},dataReceiveParams:{}};class QM{constructor(e,r,C={}){this.table=e,this.msgType=r,this.registeredDefaults=Object.assign({},C)}register(e,r){this.registeredDefaults[e]=r}generate(e,r={}){var C=Object.assign({},this.registeredDefaults),D=this.table.options.debugInvalidOptions||r.debugInvalidOptions===!0;Object.assign(C,e);for(let T in r)C.hasOwnProperty(T)||(D&&console.warn("Invalid "+this.msgType+" option:",T),C[T]=r.key);for(let T in C)T in r?C[T]=r[T]:Array.isArray(C[T])?C[T]=Object.assign([],C[T]):typeof C[T]=="object"&&C[T]!==null?C[T]=Object.assign({},C[T]):typeof C[T]>"u"&&delete C[T];return C}}class Zy extends kl{constructor(e){super(e),this.elementVertical=e.rowManager.element,this.elementHorizontal=e.columnManager.element,this.tableElement=e.rowManager.tableElement,this.verticalFillMode="fit"}initialize(){}clearRows(){}clearColumns(){}reinitializeColumnWidths(e){}renderRows(){}renderColumns(){}rerenderRows(e){e&&e()}rerenderColumns(e,r){}renderRowCells(e){}rerenderRowCells(e,r){}scrollColumns(e,r){}scrollRows(e,r){}resize(){}scrollToRow(e){}scrollToRowNearestTop(e){}visibleRows(e){return[]}rows(){return this.table.rowManager.getDisplayRows()}styleRow(e,r){var C=e.getElement();r%2?(C.classList.add("tabulator-row-even"),C.classList.remove("tabulator-row-odd")):(C.classList.add("tabulator-row-odd"),C.classList.remove("tabulator-row-even"))}clear(){this.clearRows(),this.clearColumns()}render(){this.renderRows(),this.renderColumns()}rerender(e){this.rerenderRows(),this.rerenderColumns()}scrollToRowPosition(e,r,C){var D=this.rows().indexOf(e),T=e.getElement(),p=0;return new Promise((t,d)=>{if(D>-1){if(typeof C>"u"&&(C=this.table.options.scrollToRowIfVisible),!C&&oo.elVisible(T)&&(p=oo.elOffset(T).top-oo.elOffset(this.elementVertical).top,p>0&&p"u"&&(r=this.table.options.scrollToRowPosition),r==="nearest"&&(r=this.scrollToRowNearestTop(e)?"top":"bottom"),this.scrollToRow(e),r){case"middle":case"center":this.elementVertical.scrollHeight-this.elementVertical.scrollTop==this.elementVertical.clientHeight?this.elementVertical.scrollTop=this.elementVertical.scrollTop+(T.offsetTop-this.elementVertical.scrollTop)-(this.elementVertical.scrollHeight-T.offsetTop)/2:this.elementVertical.scrollTop=this.elementVertical.scrollTop-this.elementVertical.clientHeight/2;break;case"bottom":this.elementVertical.scrollHeight-this.elementVertical.scrollTop==this.elementVertical.clientHeight?this.elementVertical.scrollTop=this.elementVertical.scrollTop-(this.elementVertical.scrollHeight-T.offsetTop)+T.offsetHeight:this.elementVertical.scrollTop=this.elementVertical.scrollTop-this.elementVertical.clientHeight+T.offsetHeight;break;case"top":this.elementVertical.scrollTop=T.offsetTop;break}t()}else console.warn("Scroll Error - Row not visible"),d("Scroll Error - Row not visible")})}}class zP extends Zy{constructor(e){super(e)}renderRowCells(e,r){const C=document.createDocumentFragment();e.cells.forEach(D=>{C.appendChild(D.getElement())}),e.element.appendChild(C),r||e.cells.forEach(D=>{D.cellRendered()})}reinitializeColumnWidths(e){e.forEach(function(r){r.reinitializeWidth()})}}class FP extends Zy{constructor(e){super(e),this.leftCol=0,this.rightCol=0,this.scrollLeft=0,this.vDomScrollPosLeft=0,this.vDomScrollPosRight=0,this.vDomPadLeft=0,this.vDomPadRight=0,this.fitDataColAvg=0,this.windowBuffer=200,this.visibleRows=null,this.initialized=!1,this.isFitData=!1,this.columns=[]}initialize(){this.compatibilityCheck(),this.layoutCheck(),this.vertScrollListen()}compatibilityCheck(){this.options("layout")=="fitDataTable"&&console.warn("Horizontal Virtual DOM is not compatible with fitDataTable layout mode"),this.options("responsiveLayout")&&console.warn("Horizontal Virtual DOM is not compatible with responsive columns"),this.options("rtl")&&console.warn("Horizontal Virtual DOM is not currently compatible with RTL text direction")}layoutCheck(){this.isFitData=this.options("layout").startsWith("fitData")}vertScrollListen(){this.subscribe("scroll-vertical",this.clearVisRowCache.bind(this)),this.subscribe("data-refreshed",this.clearVisRowCache.bind(this))}clearVisRowCache(){this.visibleRows=null}renderColumns(e,r){this.dataChange()}scrollColumns(e,r){this.scrollLeft!=e&&(this.scrollLeft=e,this.scroll(e-(this.vDomScrollPosLeft+this.windowBuffer)))}calcWindowBuffer(){var e=this.elementVertical.clientWidth;this.table.columnManager.columnsByIndex.forEach(r=>{if(r.visible){var C=r.getWidth();C>e&&(e=C)}}),this.windowBuffer=e*2}rerenderColumns(e,r){var C={cols:this.columns,leftCol:this.leftCol,rightCol:this.rightCol},D=0;e&&!this.initialized||(this.clear(),this.calcWindowBuffer(),this.scrollLeft=this.elementVertical.scrollLeft,this.vDomScrollPosLeft=this.scrollLeft-this.windowBuffer,this.vDomScrollPosRight=this.scrollLeft+this.elementVertical.clientWidth+this.windowBuffer,this.table.columnManager.columnsByIndex.forEach(T=>{var p={},t;T.visible&&(T.modules.frozen||(t=T.getWidth(),p.leftPos=D,p.rightPos=D+t,p.width=t,this.isFitData&&(p.fitDataCheck=T.modules.vdomHoz?T.modules.vdomHoz.fitDataCheck:!0),D+t>this.vDomScrollPosLeft&&D{r.appendChild(C.getElement())}),e.element.appendChild(r),e.cells.forEach(C=>{C.cellRendered()})}}rerenderRowCells(e,r){this.reinitializeRow(e,r)}reinitializeColumnWidths(e){for(let r=this.leftCol;r<=this.rightCol;r++)this.columns[r].reinitializeWidth()}deinitialize(){this.initialized=!1}clear(){this.columns=[],this.leftCol=-1,this.rightCol=0,this.vDomScrollPosLeft=0,this.vDomScrollPosRight=0,this.vDomPadLeft=0,this.vDomPadRight=0}dataChange(){var e=!1,r,C;if(this.isFitData){if(this.table.columnManager.columnsByIndex.forEach(D=>{!D.definition.width&&D.visible&&(e=!0)}),e&&this.table.rowManager.getDisplayRows().length&&(this.vDomScrollPosRight=this.scrollLeft+this.elementVertical.clientWidth+this.windowBuffer,r=this.chain("rows-sample",[1],[],()=>this.table.rowManager.getDisplayRows())[0],r)){C=r.getElement(),r.generateCells(),this.tableElement.appendChild(C);for(let D=0;D{C!==this.columns[D]&&(r=!1)}),!r)}reinitializeRows(){var e=this.getVisibleRows(),r=this.table.rowManager.getRows().filter(C=>!e.includes(C));e.forEach(C=>{this.reinitializeRow(C,!0)}),r.forEach(C=>{C.deinitialize()})}getVisibleRows(){return this.visibleRows||(this.visibleRows=this.table.rowManager.getVisibleRows()),this.visibleRows}scroll(e){this.vDomScrollPosLeft+=e,this.vDomScrollPosRight+=e,Math.abs(e)>this.windowBuffer/2?this.rerenderColumns():e>0?(this.addColRight(),this.removeColLeft()):(this.addColLeft(),this.removeColRight())}colPositionAdjust(e,r,C){for(let D=e;D{if(D.type!=="group"){var T=D.getCell(C);D.getElement().insertBefore(T.getElement(),D.getCell(this.columns[this.rightCol]).getElement().nextSibling),T.cellRendered()}}),this.fitDataColActualWidthCheck(C),this.rightCol++,this.getVisibleRows().forEach(D=>{D.type!=="group"&&(D.modules.vdomHoz.rightCol=this.rightCol)}),this.rightCol>=this.columns.length-1?this.vDomPadRight=0:this.vDomPadRight-=C.getWidth()):r=!1}e&&(this.tableElement.style.paddingRight=this.vDomPadRight+"px")}addColLeft(){for(var e=!1,r=!0;r;){let C=this.columns[this.leftCol-1];if(C)if(C.modules.vdomHoz.rightPos>=this.vDomScrollPosLeft){e=!0,this.getVisibleRows().forEach(T=>{if(T.type!=="group"){var p=T.getCell(C);T.getElement().insertBefore(p.getElement(),T.getCell(this.columns[this.leftCol]).getElement()),p.cellRendered()}}),this.leftCol--,this.getVisibleRows().forEach(T=>{T.type!=="group"&&(T.modules.vdomHoz.leftCol=this.leftCol)}),this.leftCol<=0?this.vDomPadLeft=0:this.vDomPadLeft-=C.getWidth();let D=this.fitDataColActualWidthCheck(C);D&&(this.scrollLeft=this.elementVertical.scrollLeft=this.elementVertical.scrollLeft+D,this.vDomPadRight-=D)}else r=!1;else r=!1}e&&(this.tableElement.style.paddingLeft=this.vDomPadLeft+"px")}removeColRight(){for(var e=!1,r=!0;r;){let C=this.columns[this.rightCol];C&&C.modules.vdomHoz.leftPos>this.vDomScrollPosRight?(e=!0,this.getVisibleRows().forEach(D=>{if(D.type!=="group"){var T=D.getCell(C);try{D.getElement().removeChild(T.getElement())}catch(p){console.warn("Could not removeColRight",p.message)}}}),this.vDomPadRight+=C.getWidth(),this.rightCol--,this.getVisibleRows().forEach(D=>{D.type!=="group"&&(D.modules.vdomHoz.rightCol=this.rightCol)})):r=!1}e&&(this.tableElement.style.paddingRight=this.vDomPadRight+"px")}removeColLeft(){for(var e=!1,r=!0;r;){let C=this.columns[this.leftCol];C&&C.modules.vdomHoz.rightPos{if(D.type!=="group"){var T=D.getCell(C);try{D.getElement().removeChild(T.getElement())}catch(p){console.warn("Could not removeColLeft",p.message)}}}),this.vDomPadLeft+=C.getWidth(),this.leftCol++,this.getVisibleRows().forEach(D=>{D.type!=="group"&&(D.modules.vdomHoz.leftCol=this.leftCol)})):r=!1}e&&(this.tableElement.style.paddingLeft=this.vDomPadLeft+"px")}fitDataColActualWidthCheck(e){var r,C;return e.modules.vdomHoz.fitDataCheck&&(e.reinitializeWidth(),r=e.getWidth(),C=r-e.modules.vdomHoz.width,C&&(e.modules.vdomHoz.rightPos+=C,e.modules.vdomHoz.width=r,this.colPositionAdjust(this.columns.indexOf(e)+1,this.columns.length,C)),e.modules.vdomHoz.fitDataCheck=!1),C}initializeRow(e){if(e.type!=="group"){e.modules.vdomHoz={leftCol:this.leftCol,rightCol:this.rightCol},this.table.modules.frozenColumns&&this.table.modules.frozenColumns.leftColumns.forEach(r=>{this.appendCell(e,r)});for(let r=this.leftCol;r<=this.rightCol;r++)this.appendCell(e,this.columns[r]);this.table.modules.frozenColumns&&this.table.modules.frozenColumns.rightColumns.forEach(r=>{this.appendCell(e,r)})}}appendCell(e,r){if(r&&r.visible){let C=e.getCell(r);e.getElement().appendChild(C.getElement()),C.cellRendered()}}reinitializeRow(e,r){if(e.type!=="group"&&(r||!e.modules.vdomHoz||e.modules.vdomHoz.leftCol!==this.leftCol||e.modules.vdomHoz.rightCol!==this.rightCol)){for(var C=e.getElement();C.firstChild;)C.removeChild(C.firstChild);this.initializeRow(e)}}}class BP extends kl{constructor(e){super(e),this.blockHozScrollEvent=!1,this.headersElement=null,this.contentsElement=null,this.element=null,this.columns=[],this.columnsByIndex=[],this.columnsByField={},this.scrollLeft=0,this.optionsList=new QM(this.table,"column definition",PM),this.redrawBlock=!1,this.redrawBlockUpdate=null,this.renderer=null}initialize(){this.initializeRenderer(),this.headersElement=this.createHeadersElement(),this.contentsElement=this.createHeaderContentsElement(),this.element=this.createHeaderElement(),this.contentsElement.insertBefore(this.headersElement,this.contentsElement.firstChild),this.element.insertBefore(this.contentsElement,this.element.firstChild),this.initializeScrollWheelWatcher(),this.subscribe("scroll-horizontal",this.scrollHorizontal.bind(this)),this.subscribe("scrollbar-vertical",this.padVerticalScrollbar.bind(this))}padVerticalScrollbar(e){this.table.rtl?this.headersElement.style.marginLeft=e+"px":this.headersElement.style.marginRight=e+"px"}initializeRenderer(){var e,r={virtual:FP,basic:zP};typeof this.table.options.renderHorizontal=="string"?e=r[this.table.options.renderHorizontal]:e=this.table.options.renderHorizontal,e?(this.renderer=new e(this.table,this.element,this.tableElement),this.renderer.initialize()):console.error("Unable to find matching renderer:",this.table.options.renderHorizontal)}createHeadersElement(){var e=document.createElement("div");return e.classList.add("tabulator-headers"),e.setAttribute("role","row"),e}createHeaderContentsElement(){var e=document.createElement("div");return e.classList.add("tabulator-header-contents"),e.setAttribute("role","rowgroup"),e}createHeaderElement(){var e=document.createElement("div");return e.classList.add("tabulator-header"),e.setAttribute("role","rowgroup"),this.table.options.headerVisible||e.classList.add("tabulator-header-hidden"),e}getElement(){return this.element}getContentsElement(){return this.contentsElement}getHeadersElement(){return this.headersElement}scrollHorizontal(e){this.contentsElement.scrollLeft=e,this.scrollLeft=e,this.renderer.scrollColumns(e)}initializeScrollWheelWatcher(){this.contentsElement.addEventListener("wheel",e=>{var r;e.deltaX&&(r=this.contentsElement.scrollLeft+e.deltaX,this.table.rowManager.scrollHorizontal(r),this.table.columnManager.scrollHorizontal(r))})}generateColumnsFromRowData(e){var r=[],C=this.table.options.autoColumnsDefinitions,D,T;if(e&&e.length){D=e[0];for(var p in D){let t={field:p,title:p},d=D[p];switch(typeof d){case"undefined":T="string";break;case"boolean":T="boolean";break;case"object":Array.isArray(d)?T="array":T="string";break;default:!isNaN(d)&&d!==""?T="number":d.match(/((^[0-9]+[a-z]+)|(^[a-z]+[0-9]+))+$/i)?T="alphanum":T="string";break}t.sorter=T,r.push(t)}if(C)switch(typeof C){case"function":this.table.options.columns=C.call(this.table,r);break;case"object":Array.isArray(C)?r.forEach(t=>{var d=C.find(g=>g.field===t.field);d&&Object.assign(t,d)}):r.forEach(t=>{C[t.field]&&Object.assign(t,C[t.field])}),this.table.options.columns=r;break}else this.table.options.columns=r;this.setColumns(this.table.options.columns)}}setColumns(e,r){for(;this.headersElement.firstChild;)this.headersElement.removeChild(this.headersElement.firstChild);this.columns=[],this.columnsByIndex=[],this.columnsByField={},this.dispatch("columns-loading"),e.forEach((C,D)=>{this._addColumn(C)}),this._reIndexColumns(),this.dispatch("columns-loaded"),this.rerenderColumns(!1,!0),this.redraw(!0)}_addColumn(e,r,C){var D=new vh(e,this),T=D.getElement(),p=C&&this.findColumnIndex(C);if(C&&p>-1){var t=C.getTopColumn(),d=this.columns.indexOf(t),g=t.getElement();r?(this.columns.splice(d,0,D),g.parentNode.insertBefore(T,g)):(this.columns.splice(d+1,0,D),g.parentNode.insertBefore(T,g.nextSibling))}else r?(this.columns.unshift(D),this.headersElement.insertBefore(D.getElement(),this.headersElement.firstChild)):(this.columns.push(D),this.headersElement.appendChild(D.getElement()));return D.columnRendered(),D}registerColumnField(e){e.definition.field&&(this.columnsByField[e.definition.field]=e)}registerColumnPosition(e){this.columnsByIndex.push(e)}_reIndexColumns(){this.columnsByIndex=[],this.columns.forEach(function(e){e.reRegisterPosition()})}verticalAlignHeaders(){var e=0;this.redrawBlock||(this.headersElement.style.height="",this.columns.forEach(r=>{r.clearVerticalAlign()}),this.columns.forEach(r=>{var C=r.getHeight();C>e&&(e=C)}),this.headersElement.style.height=e+"px",this.columns.forEach(r=>{r.verticalAlign(this.table.options.columnHeaderVertAlign,e)}),this.table.rowManager.adjustTableSize())}findColumn(e){var r;if(typeof e=="object"){if(e instanceof vh)return e;if(e instanceof RM)return e._getSelf()||!1;if(typeof HTMLElement<"u"&&e instanceof HTMLElement)return r=[],this.columns.forEach(D=>{r.push(D),r=r.concat(D.getColumns(!0))}),r.find(D=>D.element===e)||!1}else return this.columnsByField[e]||!1;return!1}getColumnByField(e){return this.columnsByField[e]}getColumnsByFieldRoot(e){var r=[];return Object.keys(this.columnsByField).forEach(C=>{var D=this.table.options.nestedFieldSeparator?C.split(this.table.options.nestedFieldSeparator)[0]:C;D===e&&r.push(this.columnsByField[C])}),r}getColumnByIndex(e){return this.columnsByIndex[e]}getFirstVisibleColumn(){var e=this.columnsByIndex.findIndex(r=>r.visible);return e>-1?this.columnsByIndex[e]:!1}getVisibleColumnsByIndex(){return this.columnsByIndex.filter(e=>e.visible)}getColumns(){return this.columns}findColumnIndex(e){return this.columnsByIndex.findIndex(r=>e===r)}getRealColumns(){return this.columnsByIndex}traverse(e){this.columnsByIndex.forEach((r,C)=>{e(r,C)})}getDefinitions(e){var r=[];return this.columnsByIndex.forEach(C=>{(!e||e&&C.visible)&&r.push(C.getDefinition())}),r}getDefinitionTree(){var e=[];return this.columns.forEach(r=>{e.push(r.getDefinition(!0))}),e}getComponents(e){var r=[],C=e?this.columns:this.columnsByIndex;return C.forEach(D=>{r.push(D.getComponent())}),r}getWidth(){var e=0;return this.columnsByIndex.forEach(r=>{r.visible&&(e+=r.getWidth())}),e}moveColumn(e,r,C){r.element.parentNode.insertBefore(e.element,r.element),C&&r.element.parentNode.insertBefore(r.element,e.element),this.moveColumnActual(e,r,C),this.verticalAlignHeaders(),this.table.rowManager.reinitialize()}moveColumnActual(e,r,C){e.parent.isGroup?this._moveColumnInArray(e.parent.columns,e,r,C):this._moveColumnInArray(this.columns,e,r,C),this._moveColumnInArray(this.columnsByIndex,e,r,C,!0),this.rerenderColumns(!0),this.dispatch("column-moved",e,r,C),this.subscribedExternal("columnMoved")&&this.dispatchExternal("columnMoved",e.getComponent(),this.table.columnManager.getComponents())}_moveColumnInArray(e,r,C,D,T){var p=e.indexOf(r),t,d=[];p>-1&&(e.splice(p,1),t=e.indexOf(C),t>-1?D&&(t=t+1):t=p,e.splice(t,0,r),T&&(d=this.chain("column-moving-rows",[r,C,D],null,[])||[],d=d.concat(this.table.rowManager.rows),d.forEach(function(g){if(g.cells.length){var i=g.cells.splice(p,1)[0];g.cells.splice(t,0,i)}})))}scrollToColumn(e,r,C){var D=0,T=e.getLeftOffset(),p=0,t=e.getElement();return new Promise((d,g)=>{if(typeof r>"u"&&(r=this.table.options.scrollToColumnPosition),typeof C>"u"&&(C=this.table.options.scrollToColumnIfVisible),e.visible){switch(r){case"middle":case"center":p=-this.element.clientWidth/2;break;case"right":p=t.clientWidth-this.headersElement.clientWidth;break}if(!C&&T>0&&T+t.offsetWidth{r.push(C.generateCell(e))}),r}getFlexBaseWidth(){var e=this.table.element.clientWidth,r=0;return this.table.rowManager.element.scrollHeight>this.table.rowManager.element.clientHeight&&(e-=this.table.rowManager.element.offsetWidth-this.table.rowManager.element.clientWidth),this.columnsByIndex.forEach(function(C){var D,T,p;C.visible&&(D=C.definition.width||0,T=parseInt(C.minWidth),typeof D=="string"?D.indexOf("%")>-1?p=e/100*parseInt(D):p=parseInt(D):p=D,r+=p>T?p:T)}),r}addColumn(e,r,C){return new Promise((D,T)=>{var p=this._addColumn(e,r,C);this._reIndexColumns(),this.dispatch("column-add",e,r,C),this.layoutMode()!="fitColumns"&&p.reinitializeWidth(),this.redraw(!0),this.table.rowManager.reinitialize(),this.rerenderColumns(),D(p)})}deregisterColumn(e){var r=e.getField(),C;r&&delete this.columnsByField[r],C=this.columnsByIndex.indexOf(e),C>-1&&this.columnsByIndex.splice(C,1),C=this.columns.indexOf(e),C>-1&&this.columns.splice(C,1),this.verticalAlignHeaders(),this.redraw()}rerenderColumns(e,r){this.redrawBlock?(e===!1||e===!0&&this.redrawBlockUpdate===null)&&(this.redrawBlockUpdate=e):this.renderer.rerenderColumns(e,r)}blockRedraw(){this.redrawBlock=!0,this.redrawBlockUpdate=null}restoreRedraw(){this.redrawBlock=!1,this.verticalAlignHeaders(),this.renderer.rerenderColumns(this.redrawBlockUpdate)}redraw(e){oo.elVisible(this.element)&&this.verticalAlignHeaders(),e&&(this.table.rowManager.resetScroll(),this.table.rowManager.reinitialize()),this.confirm("table-redrawing",e)||this.layoutRefresh(e),this.dispatch("table-redraw",e),this.table.footerManager.redraw()}}class NP extends Zy{constructor(e){super(e),this.verticalFillMode="fill",this.scrollTop=0,this.scrollLeft=0,this.scrollTop=0,this.scrollLeft=0}clearRows(){for(var e=this.tableElement;e.firstChild;)e.removeChild(e.firstChild);e.scrollTop=0,e.scrollLeft=0,e.style.minWidth="",e.style.minHeight="",e.style.display="",e.style.visibility=""}renderRows(){var e=this.tableElement,r=!0,C=document.createDocumentFragment(),D=this.rows();D.forEach((T,p)=>{this.styleRow(T,p),T.initialize(!1,!0),T.type!=="group"&&(r=!1),C.appendChild(T.getElement())}),e.appendChild(C),D.forEach(T=>{T.rendered(),T.heightInitialized||T.calcHeight(!0)}),D.forEach(T=>{T.heightInitialized||T.setCellHeight()}),r?e.style.minWidth=this.table.columnManager.getWidth()+"px":e.style.minWidth=""}rerenderRows(e){this.clearRows(),e&&e(),this.renderRows(),this.rows().length||this.table.rowManager.tableEmpty()}scrollToRowNearestTop(e){var r=oo.elOffset(e.getElement()).top;return!(Math.abs(this.elementVertical.scrollTop-r)>Math.abs(this.elementVertical.scrollTop+this.elementVertical.clientHeight-r))}scrollToRow(e){var r=e.getElement();this.elementVertical.scrollTop=oo.elOffset(r).top-oo.elOffset(this.elementVertical).top+this.elementVertical.scrollTop}visibleRows(e){return this.rows()}}class VP extends Zy{constructor(e){super(e),this.verticalFillMode="fill",this.scrollTop=0,this.scrollLeft=0,this.vDomRowHeight=20,this.vDomTop=0,this.vDomBottom=0,this.vDomScrollPosTop=0,this.vDomScrollPosBottom=0,this.vDomTopPad=0,this.vDomBottomPad=0,this.vDomMaxRenderChain=90,this.vDomWindowBuffer=0,this.vDomWindowMinTotalRows=20,this.vDomWindowMinMarginRows=5,this.vDomTopNewRows=[],this.vDomBottomNewRows=[]}clearRows(){for(var e=this.tableElement;e.firstChild;)e.removeChild(e.firstChild);e.style.paddingTop="",e.style.paddingBottom="",e.style.minHeight="",e.style.display="",e.style.visibility="",this.elementVertical.scrollTop=0,this.elementVertical.scrollLeft=0,this.scrollTop=0,this.scrollLeft=0,this.vDomTop=0,this.vDomBottom=0,this.vDomTopPad=0,this.vDomBottomPad=0,this.vDomScrollPosTop=0,this.vDomScrollPosBottom=0}renderRows(){this._virtualRenderFill()}rerenderRows(e){for(var r=this.elementVertical.scrollTop,C=!1,D=!1,T=this.table.rowManager.scrollLeft,p=this.rows(),t=this.vDomTop;t<=this.vDomBottom;t++)if(p[t]){var d=r-p[t].getElement().offsetTop;if(D===!1||Math.abs(d){g.deinitializeHeight()}),e&&e(),this.rows().length?this._virtualRenderFill(C===!1?this.rows.length-1:C,!0,D||0):(this.clear(),this.table.rowManager.tableEmpty()),this.scrollColumns(T)}scrollColumns(e){this.table.rowManager.scrollHorizontal(e)}scrollRows(e,r){var C=e-this.vDomScrollPosTop,D=e-this.vDomScrollPosBottom,T=this.vDomWindowBuffer*2,p=this.rows();if(this.scrollTop=e,-C>T||D>T){var t=this.table.rowManager.scrollLeft;this._virtualRenderFill(Math.floor(this.elementVertical.scrollTop/this.elementVertical.scrollHeight*p.length)),this.scrollColumns(t)}else r?(C<0&&this._addTopRow(p,-C),D<0&&(this.vDomScrollHeight-this.scrollTop>this.vDomWindowBuffer?this._removeBottomRow(p,-D):this.vDomScrollPosBottom=this.scrollTop)):(D>=0&&this._addBottomRow(p,D),C>=0&&(this.scrollTop>this.vDomWindowBuffer?this._removeTopRow(p,C):this.vDomScrollPosTop=this.scrollTop))}resize(){this.vDomWindowBuffer=this.table.options.renderVerticalBuffer||this.elementVertical.clientHeight}scrollToRowNearestTop(e){var r=this.rows().indexOf(e);return!(Math.abs(this.vDomTop-r)>Math.abs(this.vDomBottom-r))}scrollToRow(e){var r=this.rows().indexOf(e);r>-1&&this._virtualRenderFill(r,!0)}visibleRows(e){var r=this.elementVertical.scrollTop,C=this.elementVertical.clientHeight+r,D=!1,T=0,p=0,t=this.rows();if(e)T=this.vDomTop,p=this.vDomBottom;else for(var d=this.vDomTop;d<=this.vDomBottom;d++)if(t[d])if(D)if(C-t[d].getElement().offsetTop>=0)p=d;else break;else if(r-t[d].getElement().offsetTop>=0)T=d;else if(D=!0,C-t[d].getElement().offsetTop>=0)p=d;else break;return t.slice(T,p+1)}_virtualRenderFill(e,r,C){var D=this.tableElement,T=this.elementVertical,p=0,t=0,d=0,g=0,i=0,M=0,v=this.rows(),f=v.length,l=0,a,u,o=[],s=0,c=0,h=this.table.rowManager.fixedHeight,m=this.elementVertical.clientHeight,w=this.table.options.rowHeight,y=!0;if(e=e||0,C=C||0,!e)this.clear();else{for(;D.firstChild;)D.removeChild(D.firstChild);g=(f-e+1)*this.vDomRowHeight,g{S.rendered(),S.heightInitialized||S.calcHeight(!0)}),o.forEach(S=>{S.heightInitialized||S.setCellHeight()}),o.forEach(S=>{d=S.getHeight(),sthis.vDomWindowBuffer&&(this.vDomWindowBuffer=d*2),s++}),y=this.table.rowManager.adjustTableSize(),m=this.elementVertical.clientHeight,y&&(h||this.table.options.maxHeight)&&(w=t/s,c=Math.max(this.vDomWindowMinTotalRows,Math.ceil(m/w+this.vDomWindowBuffer/w)))}e?(this.vDomTopPad=r?this.vDomRowHeight*this.vDomTop+C:this.scrollTop-i,this.vDomBottomPad=this.vDomBottom==f-1?0:Math.max(this.vDomScrollHeight-this.vDomTopPad-t-i,0)):(this.vDomTopPad=0,this.vDomRowHeight=Math.floor((t+i)/s),this.vDomBottomPad=this.vDomRowHeight*(f-this.vDomBottom-1),this.vDomScrollHeight=i+t+this.vDomBottomPad-m),D.style.paddingTop=this.vDomTopPad+"px",D.style.paddingBottom=this.vDomBottomPad+"px",r&&(this.scrollTop=this.vDomTopPad+i+C-(this.elementVertical.scrollWidth>this.elementVertical.clientWidth?this.elementVertical.offsetHeight-m:0)),this.scrollTop=Math.min(this.scrollTop,this.elementVertical.scrollHeight-m),this.elementVertical.scrollWidth>this.elementVertical.clientWidth&&r&&(this.scrollTop+=this.elementVertical.offsetHeight-m),this.vDomScrollPosTop=this.scrollTop,this.vDomScrollPosBottom=this.scrollTop,T.scrollTop=this.scrollTop,this.dispatch("render-virtual-fill")}}_addTopRow(e,r){for(var C=this.tableElement,D=[],T=0,p=this.vDomTop-1,t=0,d=!0;d;)if(this.vDomTop){let g=e[p],i,M;g&&t=i?(this.styleRow(g,p),C.insertBefore(g.getElement(),C.firstChild),(!g.initialized||!g.heightInitialized)&&D.push(g),g.initialize(),M||(i=g.getElement().offsetHeight,i>this.vDomWindowBuffer&&(this.vDomWindowBuffer=i*2)),r-=i,T+=i,this.vDomTop--,p--,t++):d=!1):d=!1}else d=!1;for(let g of D)g.clearCellHeight();this._quickNormalizeRowHeight(D),T&&(this.vDomTopPad-=T,this.vDomTopPad<0&&(this.vDomTopPad=p*this.vDomRowHeight),p<1&&(this.vDomTopPad=0),C.style.paddingTop=this.vDomTopPad+"px",this.vDomScrollPosTop-=T)}_removeTopRow(e,r){for(var C=[],D=0,T=0,p=!0;p;){let t=e[this.vDomTop],d;t&&T=d?(this.vDomTop++,r-=d,D+=d,C.push(t),T++):p=!1):p=!1}for(let t of C){let d=t.getElement();d.parentNode&&d.parentNode.removeChild(d)}D&&(this.vDomTopPad+=D,this.tableElement.style.paddingTop=this.vDomTopPad+"px",this.vDomScrollPosTop+=this.vDomTop?D:D+this.vDomWindowBuffer)}_addBottomRow(e,r){for(var C=this.tableElement,D=[],T=0,p=this.vDomBottom+1,t=0,d=!0;d;){let g=e[p],i,M;g&&t=i?(this.styleRow(g,p),C.appendChild(g.getElement()),(!g.initialized||!g.heightInitialized)&&D.push(g),g.initialize(),M||(i=g.getElement().offsetHeight,i>this.vDomWindowBuffer&&(this.vDomWindowBuffer=i*2)),r-=i,T+=i,this.vDomBottom++,p++,t++):d=!1):d=!1}for(let g of D)g.clearCellHeight();this._quickNormalizeRowHeight(D),T&&(this.vDomBottomPad-=T,(this.vDomBottomPad<0||p==e.length-1)&&(this.vDomBottomPad=0),C.style.paddingBottom=this.vDomBottomPad+"px",this.vDomScrollPosBottom+=T)}_removeBottomRow(e,r){for(var C=[],D=0,T=0,p=!0;p;){let t=e[this.vDomBottom],d;t&&T=d?(this.vDomBottom--,r-=d,D+=d,C.push(t),T++):p=!1):p=!1}for(let t of C){let d=t.getElement();d.parentNode&&d.parentNode.removeChild(d)}D&&(this.vDomBottomPad+=D,this.vDomBottomPad<0&&(this.vDomBottomPad=0),this.tableElement.style.paddingBottom=this.vDomBottomPad+"px",this.vDomScrollPosBottom-=D)}_quickNormalizeRowHeight(e){for(let r of e)r.calcHeight();for(let r of e)r.setCellHeight()}}class jP extends kl{constructor(e){super(e),this.element=this.createHolderElement(),this.tableElement=this.createTableElement(),this.heightFixer=this.createTableElement(),this.placeholder=null,this.placeholderContents=null,this.firstRender=!1,this.renderMode="virtual",this.fixedHeight=!1,this.rows=[],this.activeRowsPipeline=[],this.activeRows=[],this.activeRowsCount=0,this.displayRows=[],this.displayRowsCount=0,this.scrollTop=0,this.scrollLeft=0,this.redrawBlock=!1,this.redrawBlockRestoreConfig=!1,this.redrawBlockRenderInPosition=!1,this.dataPipeline=[],this.displayPipeline=[],this.scrollbarWidth=0,this.renderer=null}createHolderElement(){var e=document.createElement("div");return e.classList.add("tabulator-tableholder"),e.setAttribute("tabindex",0),e}createTableElement(){var e=document.createElement("div");return e.classList.add("tabulator-table"),e.setAttribute("role","rowgroup"),e}initializePlaceholder(){var e=this.table.options.placeholder;if(typeof e=="function"&&(e=e.call(this.table)),e=this.chain("placeholder",[e],e,e)||e,e){let r=document.createElement("div");if(r.classList.add("tabulator-placeholder"),typeof e=="string"){let C=document.createElement("div");C.classList.add("tabulator-placeholder-contents"),C.innerHTML=e,r.appendChild(C),this.placeholderContents=C}else typeof HTMLElement<"u"&&e instanceof HTMLElement?(r.appendChild(e),this.placeholderContents=e):(console.warn("Invalid placeholder provided, must be string or HTML Element",e),this.el=null);this.placeholder=r}}getElement(){return this.element}getTableElement(){return this.tableElement}initialize(){this.initializePlaceholder(),this.initializeRenderer(),this.element.appendChild(this.tableElement),this.firstRender=!0,this.element.addEventListener("scroll",()=>{var e=this.element.scrollLeft,r=this.scrollLeft>e,C=this.element.scrollTop,D=this.scrollTop>C;this.scrollLeft!=e&&(this.scrollLeft=e,this.dispatch("scroll-horizontal",e,r),this.dispatchExternal("scrollHorizontal",e,r),this._positionPlaceholder()),this.scrollTop!=C&&(this.scrollTop=C,this.renderer.scrollRows(C,D),this.dispatch("scroll-vertical",C,D),this.dispatchExternal("scrollVertical",C,D))})}findRow(e){if(typeof e=="object"){if(e instanceof vl)return e;if(e instanceof Wy)return e._getSelf()||!1;if(typeof HTMLElement<"u"&&e instanceof HTMLElement)return this.rows.find(C=>C.getElement()===e)||!1;if(e===null)return!1}else return typeof e>"u"?!1:this.rows.find(C=>C.data[this.table.options.index]==e)||!1;return!1}getRowFromDataObject(e){var r=this.rows.find(C=>C.data===e);return r||!1}getRowFromPosition(e){return this.getDisplayRows().find(r=>r.getPosition()===e&&r.isDisplayed())}scrollToRow(e,r,C){return this.renderer.scrollToRowPosition(e,r,C)}setData(e,r,C){return new Promise((D,T)=>{r&&this.getDisplayRows().length?this.table.options.pagination?this._setDataActual(e,!0):this.reRenderInPosition(()=>{this._setDataActual(e)}):(this.table.options.autoColumns&&C&&this.table.initialized&&this.table.columnManager.generateColumnsFromRowData(e),this.resetScroll(),this._setDataActual(e)),D()})}_setDataActual(e,r){this.dispatchExternal("dataProcessing",e),this._wipeElements(),Array.isArray(e)?(this.dispatch("data-processing",e),e.forEach((C,D)=>{if(C&&typeof C=="object"){var T=new vl(C,this);this.rows.push(T)}else console.warn("Data Loading Warning - Invalid row data detected and ignored, expecting object but received:",C)}),this.refreshActiveData(!1,!1,r),this.dispatch("data-processed",e),this.dispatchExternal("dataProcessed",e)):console.error(`Data Loading Error - Unable to process data due to invalid data type Expecting: array Received: `,typeof e,` -Data: `,e)}_wipeElements(){this.dispatch("rows-wipe"),this.destroy(),this.adjustTableSize(),this.dispatch("rows-wiped")}destroy(){this.rows.forEach(e=>{e.wipe()}),this.rows=[],this.activeRows=[],this.activeRowsPipeline=[],this.activeRowsCount=0,this.displayRows=[],this.displayRowsCount=0}deleteRow(e,r){var C=this.rows.indexOf(e),D=this.activeRows.indexOf(e);D>-1&&this.activeRows.splice(D,1),C>-1&&this.rows.splice(C,1),this.setActiveRows(this.activeRows),this.displayRowIterator(k=>{var m=k.indexOf(e);m>-1&&k.splice(m,1)}),r||this.reRenderInPosition(),this.regenerateRowPositions(),this.dispatchExternal("rowDeleted",e.getComponent()),this.displayRowsCount||this.tableEmpty(),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.getData())}addRow(e,r,C,D){var k=this.addRowActual(e,r,C,D);return k}addRows(e,r,C,D){var k=[];return new Promise((m,t)=>{r=this.findAddRowPos(r),Array.isArray(e)||(e=[e]),(typeof C>"u"&&r||typeof C<"u"&&!r)&&e.reverse(),e.forEach((d,y)=>{var i=this.addRow(d,r,C,!0);k.push(i),this.dispatch("row-added",i,d,r,C)}),this.refreshActiveData(D?"displayPipeline":!1,!1,!0),this.regenerateRowPositions(),this.displayRowsCount&&this._clearPlaceholder(),m(k)})}findAddRowPos(e){return typeof e>"u"&&(e=this.table.options.addRowPos),e==="pos"&&(e=!0),e==="bottom"&&(e=!1),e}addRowActual(e,r,C,D){var k=e instanceof yl?e:new yl(e||{},this),m=this.findAddRowPos(r),t=-1,d,y;return C||(y=this.chain("row-adding-position",[k,m],null,{index:C,top:m}),C=y.index,m=y.top),typeof C<"u"&&(C=this.findRow(C)),C=this.chain("row-adding-index",[k,C,m],null,C),C&&(t=this.rows.indexOf(C)),C&&t>-1?(d=this.activeRows.indexOf(C),this.displayRowIterator(function(i){var M=i.indexOf(C);M>-1&&i.splice(m?M:M+1,0,k)}),d>-1&&this.activeRows.splice(m?d:d+1,0,k),this.rows.splice(m?t:t+1,0,k)):m?(this.displayRowIterator(function(i){i.unshift(k)}),this.activeRows.unshift(k),this.rows.unshift(k)):(this.displayRowIterator(function(i){i.push(k)}),this.activeRows.push(k),this.rows.push(k)),this.setActiveRows(this.activeRows),this.dispatchExternal("rowAdded",k.getComponent()),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.table.rowManager.getData()),D||this.reRenderInPosition(),k}moveRow(e,r,C){this.dispatch("row-move",e,r,C),this.moveRowActual(e,r,C),this.regenerateRowPositions(),this.dispatch("row-moved",e,r,C),this.dispatchExternal("rowMoved",e.getComponent())}moveRowActual(e,r,C){this.moveRowInArray(this.rows,e,r,C),this.moveRowInArray(this.activeRows,e,r,C),this.displayRowIterator(D=>{this.moveRowInArray(D,e,r,C)}),this.dispatch("row-moving",e,r,C)}moveRowInArray(e,r,C,D){var k,m,t,d;if(r!==C&&(k=e.indexOf(r),k>-1&&(e.splice(k,1),m=e.indexOf(C),m>-1?D?e.splice(m+1,0,r):e.splice(m,0,r):e.splice(k,0,r)),e===this.getDisplayRows())){t=kk?m:k+1;for(let y=t;y<=d;y++)e[y]&&this.styleRow(e[y],y)}}clearData(){this.setData([])}getRowIndex(e){return this.findRowIndex(e,this.rows)}getDisplayRowIndex(e){var r=this.getDisplayRows().indexOf(e);return r>-1?r:!1}nextDisplayRow(e,r){var C=this.getDisplayRowIndex(e),D=!1;return C!==!1&&C-1)?C:!1}getData(e,r){var C=[],D=this.getRows(e);return D.forEach(function(k){k.type=="row"&&C.push(k.getData(r||"data"))}),C}getComponents(e){var r=[],C=this.getRows(e);return C.forEach(function(D){r.push(D.getComponent())}),r}getDataCount(e){var r=this.getRows(e);return r.length}scrollHorizontal(e){this.scrollLeft=e,this.element.scrollLeft=e,this.dispatch("scroll-horizontal",e)}registerDataPipelineHandler(e,r){typeof r<"u"?(this.dataPipeline.push({handler:e,priority:r}),this.dataPipeline.sort((C,D)=>C.priority-D.priority)):console.error("Data pipeline handlers must have a priority in order to be registered")}registerDisplayPipelineHandler(e,r){typeof r<"u"?(this.displayPipeline.push({handler:e,priority:r}),this.displayPipeline.sort((C,D)=>C.priority-D.priority)):console.error("Display pipeline handlers must have a priority in order to be registered")}refreshActiveData(e,r,C){var D=this.table,k="",m=0,t=["all","dataPipeline","display","displayPipeline","end"];if(!this.table.destroyed){if(typeof e=="function")if(m=this.dataPipeline.findIndex(d=>d.handler===e),m>-1)k="dataPipeline",r&&(m==this.dataPipeline.length-1?k="display":m++);else if(m=this.displayPipeline.findIndex(d=>d.handler===e),m>-1)k="displayPipeline",r&&(m==this.displayPipeline.length-1?k="end":m++);else{console.error("Unable to refresh data, invalid handler provided",e);return}else k=e||"all",m=0;if(this.redrawBlock){(!this.redrawBlockRestoreConfig||this.redrawBlockRestoreConfig&&(this.redrawBlockRestoreConfig.stage===k&&m{C.type==="row"&&(C.setPosition(r),r++)})}setActiveRows(e){this.activeRows=this.activeRows=Object.assign([],e),this.activeRowsCount=this.activeRows.length}resetDisplayRows(){this.displayRows=[],this.displayRows.push(this.activeRows.slice(0)),this.displayRowsCount=this.displayRows[0].length}setDisplayRows(e,r){this.displayRows[r]=e,r==this.displayRows.length-1&&(this.displayRowsCount=this.displayRows[this.displayRows.length-1].length)}getDisplayRows(e){return typeof e>"u"?this.displayRows.length?this.displayRows[this.displayRows.length-1]:[]:this.displayRows[e]||[]}getVisibleRows(e,r){var C=Object.assign([],this.renderer.visibleRows(!r));return e&&(C=this.chain("rows-visible",[r],C,C)),C}displayRowIterator(e){this.activeRowsPipeline.forEach(e),this.displayRows.forEach(e),this.displayRowsCount=this.displayRows[this.displayRows.length-1].length}getRows(e){var r=[];switch(e){case"active":r=this.activeRows;break;case"display":r=this.table.rowManager.getDisplayRows();break;case"visible":r=this.getVisibleRows(!1,!0);break;default:r=this.chain("rows-retrieve",e,null,this.rows)||this.rows}return r}reRenderInPosition(e){this.redrawBlock?e?e():this.redrawBlockRenderInPosition=!0:(this.dispatchExternal("renderStarted"),this.renderer.rerenderRows(e),this.fixedHeight||this.adjustTableSize(),this.scrollBarCheck(),this.dispatchExternal("renderComplete"))}scrollBarCheck(){var e=0;this.element.scrollHeight>this.element.clientHeight&&(e=this.element.offsetWidth-this.element.clientWidth),e!==this.scrollbarWidth&&(this.scrollbarWidth=e,this.dispatch("scrollbar-vertical",e))}initializeRenderer(){var e,r={virtual:NP,basic:BP};typeof this.table.options.renderVertical=="string"?e=r[this.table.options.renderVertical]:e=this.table.options.renderVertical,e?(this.renderMode=this.table.options.renderVertical,this.renderer=new e(this.table,this.element,this.tableElement),this.renderer.initialize(),(this.table.element.clientHeight||this.table.options.height)&&!(this.table.options.minHeight&&this.table.options.maxHeight)?this.fixedHeight=!0:this.fixedHeight=!1):console.error("Unable to find matching renderer:",this.table.options.renderVertical)}getRenderMode(){return this.renderMode}renderTable(){this.dispatchExternal("renderStarted"),this.element.scrollTop=0,this._clearTable(),this.displayRowsCount?(this.renderer.renderRows(),this.firstRender&&(this.firstRender=!1,this.fixedHeight||this.adjustTableSize(),this.layoutRefresh(!0))):this.renderEmptyScroll(),this.fixedHeight||this.adjustTableSize(),this.dispatch("table-layout"),this.displayRowsCount||this._showPlaceholder(),this.scrollBarCheck(),this.dispatchExternal("renderComplete")}renderEmptyScroll(){this.placeholder?this.tableElement.style.display="none":this.tableElement.style.minWidth=this.table.columnManager.getWidth()+"px"}_clearTable(){this._clearPlaceholder(),this.scrollTop=0,this.scrollLeft=0,this.renderer.clearRows()}tableEmpty(){this.renderEmptyScroll(),this._showPlaceholder()}checkPlaceholder(){this.displayRowsCount?this._clearPlaceholder():this.tableEmpty()}_showPlaceholder(){this.placeholder&&(this.placeholder&&this.placeholder.parentNode&&this.placeholder.parentNode.removeChild(this.placeholder),this.initializePlaceholder(),this.placeholder.setAttribute("tabulator-render-mode",this.renderMode),this.getElement().appendChild(this.placeholder),this._positionPlaceholder(),this.adjustTableSize())}_clearPlaceholder(){this.placeholder&&this.placeholder.parentNode&&this.placeholder.parentNode.removeChild(this.placeholder),this.tableElement.style.minWidth="",this.tableElement.style.display=""}_positionPlaceholder(){this.placeholder&&this.placeholder.parentNode&&(this.placeholder.style.width=this.table.columnManager.getWidth()+"px",this.placeholderContents.style.width=this.table.rowManager.element.clientWidth+"px",this.placeholderContents.style.marginLeft=this.scrollLeft+"px")}styleRow(e,r){var C=e.getElement();r%2?(C.classList.add("tabulator-row-even"),C.classList.remove("tabulator-row-odd")):(C.classList.add("tabulator-row-odd"),C.classList.remove("tabulator-row-even"))}normalizeHeight(){this.activeRows.forEach(function(e){e.normalizeHeight()})}adjustTableSize(){let e=this.element.clientHeight,r,C=!1;if(this.renderer.verticalFillMode==="fill"){let D=Math.floor(this.table.columnManager.getElement().getBoundingClientRect().height+(this.table.footerManager&&this.table.footerManager.active&&!this.table.footerManager.external?this.table.footerManager.getElement().getBoundingClientRect().height:0));if(this.fixedHeight){r=isNaN(this.table.options.minHeight)?this.table.options.minHeight:this.table.options.minHeight+"px";const k="calc(100% - "+D+"px)";this.element.style.minHeight=r||"calc(100% - "+D+"px)",this.element.style.height=k,this.element.style.maxHeight=k}else this.element.style.height="",this.element.style.height=this.table.element.clientHeight-D+"px",this.element.scrollTop=this.scrollTop;this.renderer.resize(),!this.fixedHeight&&e!=this.element.clientHeight&&(C=!0,this.subscribed("table-resize")?this.dispatch("table-resize"):this.redraw()),this.scrollBarCheck()}return this._positionPlaceholder(),C}reinitialize(){this.rows.forEach(function(e){e.reinitialize(!0)})}blockRedraw(){this.redrawBlock=!0,this.redrawBlockRestoreConfig=!1}restoreRedraw(){this.redrawBlock=!1,this.redrawBlockRestoreConfig?(this.refreshActiveData(this.redrawBlockRestoreConfig.handler,this.redrawBlockRestoreConfig.skipStage,this.redrawBlockRestoreConfig.renderInPosition),this.redrawBlockRestoreConfig=!1):this.redrawBlockRenderInPosition&&this.reRenderInPosition(),this.redrawBlockRenderInPosition=!1}redraw(e){this.adjustTableSize(),this.table.tableWidth=this.table.element.clientWidth,e?this.renderTable():(this.reRenderInPosition(),this.scrollHorizontal(this.scrollLeft))}resetScroll(){if(this.element.scrollLeft=0,this.element.scrollTop=0,this.table.browser==="ie"){var e=document.createEvent("Event");e.initEvent("scroll",!1,!0),this.element.dispatchEvent(e)}else this.element.dispatchEvent(new Event("scroll"))}}class jP extends Ml{constructor(e){super(e),this.active=!1,this.element=this.createElement(),this.containerElement=this.createContainerElement(),this.external=!1}initialize(){this.initializeElement()}createElement(){var e=document.createElement("div");return e.classList.add("tabulator-footer"),e}createContainerElement(){var e=document.createElement("div");return e.classList.add("tabulator-footer-contents"),this.element.appendChild(e),e}initializeElement(){if(this.table.options.footerElement)switch(typeof this.table.options.footerElement){case"string":this.table.options.footerElement[0]==="<"?this.containerElement.innerHTML=this.table.options.footerElement:(this.external=!0,this.containerElement=document.querySelector(this.table.options.footerElement));break;default:this.element=this.table.options.footerElement;break}}getElement(){return this.element}append(e){this.activate(),this.containerElement.appendChild(e),this.table.rowManager.adjustTableSize()}prepend(e){this.activate(),this.element.insertBefore(e,this.element.firstChild),this.table.rowManager.adjustTableSize()}remove(e){e.parentNode.removeChild(e),this.deactivate()}deactivate(e){(!this.element.firstChild||e)&&(this.external||this.element.parentNode.removeChild(this.element),this.active=!1)}activate(){this.active||(this.active=!0,this.external||(this.table.element.appendChild(this.getElement()),this.table.element.style.display=""))}redraw(){this.dispatch("footer-redraw")}}class UP extends Ml{constructor(e){super(e),this.el=null,this.abortClasses=["tabulator-headers","tabulator-table"],this.previousTargets={},this.listeners=["click","dblclick","contextmenu","mouseenter","mouseleave","mouseover","mouseout","mousemove","mouseup","mousedown","touchstart","touchend"],this.componentMap={"tabulator-cell":"cell","tabulator-row":"row","tabulator-group":"group","tabulator-col":"column"},this.pseudoTrackers={row:{subscriber:null,target:null},cell:{subscriber:null,target:null},group:{subscriber:null,target:null},column:{subscriber:null,target:null}},this.pseudoTracking=!1}initialize(){this.el=this.table.element,this.buildListenerMap(),this.bindSubscriptionWatchers()}buildListenerMap(){var e={};this.listeners.forEach(r=>{e[r]={handler:null,components:[]}}),this.listeners=e}bindPseudoEvents(){Object.keys(this.pseudoTrackers).forEach(e=>{this.pseudoTrackers[e].subscriber=this.pseudoMouseEnter.bind(this,e),this.subscribe(e+"-mouseover",this.pseudoTrackers[e].subscriber)}),this.pseudoTracking=!0}pseudoMouseEnter(e,r,C){this.pseudoTrackers[e].target!==C&&(this.pseudoTrackers[e].target&&this.dispatch(e+"-mouseleave",r,this.pseudoTrackers[e].target),this.pseudoMouseLeave(e,r),this.pseudoTrackers[e].target=C,this.dispatch(e+"-mouseenter",r,C))}pseudoMouseLeave(e,r){var C=Object.keys(this.pseudoTrackers),D={row:["cell"],cell:["row"]};C=C.filter(k=>{var m=D[e];return k!==e&&(!m||m&&!m.includes(k))}),C.forEach(k=>{var m=this.pseudoTrackers[k].target;this.pseudoTrackers[k].target&&(this.dispatch(k+"-mouseleave",r,m),this.pseudoTrackers[k].target=null)})}bindSubscriptionWatchers(){var e=Object.keys(this.listeners),r=Object.values(this.componentMap);for(let C of r)for(let D of e){let k=C+"-"+D;this.subscriptionChange(k,this.subscriptionChanged.bind(this,C,D))}this.subscribe("table-destroy",this.clearWatchers.bind(this))}subscriptionChanged(e,r,C){var D=this.listeners[r].components,k=D.indexOf(e),m=!1;C?k===-1&&(D.push(e),m=!0):this.subscribed(e+"-"+r)||k>-1&&(D.splice(k,1),m=!0),(r==="mouseenter"||r==="mouseleave")&&!this.pseudoTracking&&this.bindPseudoEvents(),m&&this.updateEventListeners()}updateEventListeners(){for(let e in this.listeners){let r=this.listeners[e];r.components.length?r.handler||(r.handler=this.track.bind(this,e),this.el.addEventListener(e,r.handler)):r.handler&&(this.el.removeEventListener(e,r.handler),r.handler=null)}}track(e,r){var C=r.composedPath&&r.composedPath()||r.path,D=this.findTargets(C);D=this.bindComponents(e,D),this.triggerEvents(e,r,D),this.pseudoTracking&&(e=="mouseover"||e=="mouseleave")&&!Object.keys(D).length&&this.pseudoMouseLeave("none",r)}findTargets(e){var r={};let C=Object.keys(this.componentMap);for(let D of e){let k=D.classList?[...D.classList]:[];if(k.filter(d=>this.abortClasses.includes(d)).length)break;let t=k.filter(d=>C.includes(d));for(let d of t)r[this.componentMap[d]]||(r[this.componentMap[d]]=D)}return r.group&&r.group===r.row&&delete r.row,r}bindComponents(e,r){var C=Object.keys(r).reverse(),D=this.listeners[e],k={},m={};for(let t of C){let d,y=r[t],i=this.previousTargets[t];if(i&&i.target===y)d=i.component;else switch(t){case"row":case"group":(D.components.includes("row")||D.components.includes("cell")||D.components.includes("group"))&&(d=this.table.rowManager.getVisibleRows(!0).find(v=>v.getElement()===y),r.row&&r.row.parentNode&&r.row.parentNode.closest(".tabulator-row")&&(r[t]=!1));break;case"column":D.components.includes("column")&&(d=this.table.columnManager.findColumn(y));break;case"cell":D.components.includes("cell")&&(k.row instanceof yl?d=k.row.findCell(y):r.row&&console.warn("Event Target Lookup Error - The row this cell is attached to cannot be found, has the table been reinitialized without being destroyed first?"));break}d&&(k[t]=d,m[t]={target:y,component:d})}return this.previousTargets=m,k}triggerEvents(e,r,C){var D=this.listeners[e];for(let k in C)C[k]&&D.components.includes(k)&&this.dispatch(k+"-"+e,r,C[k])}clearWatchers(){for(let e in this.listeners){let r=this.listeners[e];r.handler&&(this.el.removeEventListener(e,r.handler),r.handler=null)}}}class HP{constructor(e){this.table=e,this.bindings={}}bind(e,r,C){this.bindings[e]||(this.bindings[e]={}),this.bindings[e][r]?console.warn("Unable to bind component handler, a matching function name is already bound",e,r,C):this.bindings[e][r]=C}handle(e,r,C){if(this.bindings[e]&&this.bindings[e][C]&&typeof this.bindings[e][C].bind=="function")return this.bindings[e][C].bind(null,r);C!=="then"&&typeof C=="string"&&!C.startsWith("_")&&this.table.options.debugInvalidComponentFuncs&&console.error("The "+e+" component does not have a "+C+" function, have you checked that you have the correct Tabulator module installed?")}}class GP extends Ml{constructor(e){super(e),this.requestOrder=0,this.loading=!1}initialize(){}load(e,r,C,D,k,m){var t=++this.requestOrder;if(this.table.destroyed)return Promise.resolve();if(this.dispatchExternal("dataLoading",e),e&&(e.indexOf("{")==0||e.indexOf("[")==0)&&(e=JSON.parse(e)),this.confirm("data-loading",[e,r,C,k])){this.loading=!0,k||this.alertLoader(),r=this.chain("data-params",[e,C,k],r||{},r||{}),r=this.mapParams(r,this.table.options.dataSendParams);var d=this.chain("data-load",[e,r,C,k],!1,Promise.resolve([]));return d.then(y=>{if(this.table.destroyed)console.warn("Data Load Response Blocked - Table has been destroyed");else{!Array.isArray(y)&&typeof y=="object"&&(y=this.mapParams(y,this.objectInvert(this.table.options.dataReceiveParams)));var i=this.chain("data-loaded",y,null,y);t==this.requestOrder?(this.clearAlert(),i!==!1&&(this.dispatchExternal("dataLoaded",i),this.table.rowManager.setData(i,D,typeof m>"u"?!D:m))):console.warn("Data Load Response Blocked - An active data load request was blocked by an attempt to change table data while the request was being made")}}).catch(y=>{console.error("Data Load Error: ",y),this.dispatchExternal("dataLoadError",y),k||this.alertError(),setTimeout(()=>{this.clearAlert()},this.table.options.dataLoaderErrorTimeout)}).finally(()=>{this.loading=!1})}else return this.dispatchExternal("dataLoaded",e),e||(e=[]),this.table.rowManager.setData(e,D,typeof m>"u"?!D:m),Promise.resolve()}mapParams(e,r){var C={};for(let D in e)C[r.hasOwnProperty(D)?r[D]:D]=e[D];return C}objectInvert(e){var r={};for(let C in e)r[e[C]]=C;return r}blockActiveLoad(){this.requestOrder++}alertLoader(){var e=typeof this.table.options.dataLoader=="function"?this.table.options.dataLoader():this.table.options.dataLoader;e&&this.table.alertManager.alert(this.table.options.dataLoaderLoading||this.langText("data|loading"))}alertError(){this.table.alertManager.alert(this.table.options.dataLoaderError||this.langText("data|error"),"error")}clearAlert(){this.table.alertManager.clear()}}class qP{constructor(e,r,C){this.table=e,this.events={},this.optionsList=r||{},this.subscriptionNotifiers={},this.dispatch=C?this._debugDispatch.bind(this):this._dispatch.bind(this),this.debug=C}subscriptionChange(e,r){this.subscriptionNotifiers[e]||(this.subscriptionNotifiers[e]=[]),this.subscriptionNotifiers[e].push(r),this.subscribed(e)&&this._notifySubscriptionChange(e,!0)}subscribe(e,r){this.events[e]||(this.events[e]=[]),this.events[e].push(r),this._notifySubscriptionChange(e,!0)}unsubscribe(e,r){var C;if(this.events[e])if(r)if(C=this.events[e].findIndex(D=>D===r),C>-1)this.events[e].splice(C,1);else{console.warn("Cannot remove event, no matching event found:",e,r);return}else delete this.events[e];else{console.warn("Cannot remove event, no events set on:",e);return}this._notifySubscriptionChange(e,!1)}subscribed(e){return this.events[e]&&this.events[e].length}_notifySubscriptionChange(e,r){var C=this.subscriptionNotifiers[e];C&&C.forEach(D=>{D(r)})}_dispatch(){var e=Array.from(arguments),r=e.shift(),C;return this.events[r]&&this.events[r].forEach((D,k)=>{let m=D.apply(this.table,e);k||(C=m)}),C}_debugDispatch(){var e=Array.from(arguments),r=e[0];return e[0]="ExternalEvent:"+e[0],(this.debug===!0||this.debug.includes(r))&&console.log(...e),this._dispatch(...arguments)}}class WP{constructor(e){this.events={},this.subscriptionNotifiers={},this.dispatch=e?this._debugDispatch.bind(this):this._dispatch.bind(this),this.chain=e?this._debugChain.bind(this):this._chain.bind(this),this.confirm=e?this._debugConfirm.bind(this):this._confirm.bind(this),this.debug=e}subscriptionChange(e,r){this.subscriptionNotifiers[e]||(this.subscriptionNotifiers[e]=[]),this.subscriptionNotifiers[e].push(r),this.subscribed(e)&&this._notifySubscriptionChange(e,!0)}subscribe(e,r,C=1e4){this.events[e]||(this.events[e]=[]),this.events[e].push({callback:r,priority:C}),this.events[e].sort((D,k)=>D.priority-k.priority),this._notifySubscriptionChange(e,!0)}unsubscribe(e,r){var C;if(this.events[e]){if(r)if(C=this.events[e].findIndex(D=>D.callback===r),C>-1)this.events[e].splice(C,1);else{console.warn("Cannot remove event, no matching event found:",e,r);return}}else{console.warn("Cannot remove event, no events set on:",e);return}this._notifySubscriptionChange(e,!1)}subscribed(e){return this.events[e]&&this.events[e].length}_chain(e,r,C,D){var k=C;return Array.isArray(r)||(r=[r]),this.subscribed(e)?(this.events[e].forEach((m,t)=>{k=m.callback.apply(this,r.concat([k]))}),k):typeof D=="function"?D():D}_confirm(e,r){var C=!1;return Array.isArray(r)||(r=[r]),this.subscribed(e)&&this.events[e].forEach((D,k)=>{D.callback.apply(this,r)&&(C=!0)}),C}_notifySubscriptionChange(e,r){var C=this.subscriptionNotifiers[e];C&&C.forEach(D=>{D(r)})}_dispatch(){var e=Array.from(arguments),r=e.shift();this.events[r]&&this.events[r].forEach(C=>{C.callback.apply(this,e)})}_debugDispatch(){var e=Array.from(arguments),r=e[0];return e[0]="InternalEvent:"+r,(this.debug===!0||this.debug.includes(r))&&console.log(...e),this._dispatch(...arguments)}_debugChain(){var e=Array.from(arguments),r=e[0];return e[0]="InternalEvent:"+r,(this.debug===!0||this.debug.includes(r))&&console.log(...e),this._chain(...arguments)}_debugConfirm(){var e=Array.from(arguments),r=e[0];return e[0]="InternalEvent:"+r,(this.debug===!0||this.debug.includes(r))&&console.log(...e),this._confirm(...arguments)}}class $P extends Ml{constructor(e){super(e)}_warnUser(){this.options("debugDeprecation")&&console.warn(...arguments)}check(e,r,C){var D="";return typeof this.options(e)<"u"?(D="Deprecated Setup Option - Use of the %c"+e+"%c option is now deprecated",r?(D=D+", Please use the %c"+r+"%c option instead",this._warnUser(D,"font-weight: bold;","font-weight: normal;","font-weight: bold;","font-weight: normal;"),C&&(this.table.options[r]=this.table.options[e])):this._warnUser(D,"font-weight: bold;","font-weight: normal;"),!1):!0}checkMsg(e,r){return typeof this.options(e)<"u"?(this._warnUser("%cDeprecated Setup Option - Use of the %c"+e+" %c option is now deprecated, "+r,"font-weight: normal;","font-weight: bold;","font-weight: normal;"),!1):!0}msg(e){this._warnUser(e)}}class pu{static register(e){pu.tables.push(e)}static deregister(e){var r=pu.tables.indexOf(e);r>-1&&pu.tables.splice(r,1)}static lookupTable(e,r){var C=[],D,k;if(typeof e=="string"){if(D=document.querySelectorAll(e),D.length)for(var m=0;m{m.widthFixed||m.reinitializeWidth(),(this.table.options.responsiveLayout?m.modules.responsive.visible:m.visible)&&(k=m),m.visible&&(r+=m.getWidth())}),k?(D=C-r+k.getWidth(),this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&(k.setWidth(0),this.table.modules.responsiveLayout.update()),D>0?k.setWidth(D):k.reinitializeWidth()):this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&this.table.modules.responsiveLayout.update()}function XP(n,e){var r=this.table.rowManager.element.getBoundingClientRect().width,C=0,D=0,k=0,m=0,t=[],d=[],y=0,i=0,M=0;function v(l){var a;return typeof l=="string"?l.indexOf("%")>-1?a=r/100*parseInt(l):a=parseInt(l):a=l,a}function h(l,a,u,s){var o=[],c=0,f=0,p=0,w=k,g=0,S=0,x=[];function T(_){return u*(_.column.definition.widthGrow||1)}function E(_){return v(_.width)-u*(_.column.definition.widthShrink||0)}return l.forEach(function(_,A){var L=s?E(_):T(_);_.column.minWidth>=L?o.push(_):_.column.maxWidth&&_.column.maxWidththis.table.rowManager.element.clientHeight&&(r-=this.table.rowManager.element.offsetWidth-this.table.rowManager.element.clientWidth),n.forEach(function(l){var a,u,s;l.visible&&(a=l.definition.width,u=parseInt(l.minWidth),a?(s=v(a),C+=s>u?s:u,l.definition.widthShrink&&(d.push({column:l,width:s>u?s:u}),y+=l.definition.widthShrink)):(t.push({column:l,width:0}),k+=l.definition.widthGrow||1))}),D=r-C,m=Math.floor(D/k),M=h(t,D,m,!1),t.length&&M>0&&(t[t.length-1].width+=M),t.forEach(function(l){D-=l.width}),i=Math.abs(M)+D,i>0&&y&&(M=h(d,i,Math.floor(i/y),!0)),M&&d.length&&(d[d.length-1].width-=M),t.forEach(function(l){l.column.setWidth(l.width)}),d.forEach(function(l){l.column.setWidth(l.width)})}var KP={fitData:YP,fitDataFill:v5,fitDataTable:v5,fitDataStretch:ZP,fitColumns:XP};class s0 extends qi{constructor(e){super(e,"layout"),this.mode=null,this.registerTableOption("layout","fitData"),this.registerTableOption("layoutColumnsOnNewData",!1),this.registerColumnOption("widthGrow"),this.registerColumnOption("widthShrink")}initialize(){var e=this.table.options.layout;s0.modes[e]?this.mode=e:(console.warn("Layout Error - invalid mode set, defaulting to 'fitData' : "+e),this.mode="fitData"),this.table.element.setAttribute("tabulator-layout",this.mode),this.subscribe("column-init",this.initializeColumn.bind(this))}initializeColumn(e){e.definition.widthGrow&&(e.definition.widthGrow=Number(e.definition.widthGrow)),e.definition.widthShrink&&(e.definition.widthShrink=Number(e.definition.widthShrink))}getMode(){return this.mode}layout(e){this.dispatch("layout-refreshing"),s0.modes[this.mode].call(this,this.table.columnManager.columnsByIndex,e),this.dispatch("layout-refreshed")}}s0.moduleName="layout";s0.modes=KP;var JP={default:{groups:{item:"item",items:"items"},columns:{},data:{loading:"Loading",error:"Error"},pagination:{page_size:"Page Size",page_title:"Show Page",first:"First",first_title:"First Page",last:"Last",last_title:"Last Page",prev:"Prev",prev_title:"Prev Page",next:"Next",next_title:"Next Page",all:"All",counter:{showing:"Showing",of:"of",rows:"rows",pages:"pages"}},headerFilters:{default:"filter column...",columns:{}}}};class ag extends qi{constructor(e){super(e),this.locale="default",this.lang=!1,this.bindings={},this.langList={},this.registerTableOption("locale",!1),this.registerTableOption("langs",{})}initialize(){this.langList=oo.deepClone(ag.langs),this.table.options.columnDefaults.headerFilterPlaceholder!==!1&&this.setHeaderFilterPlaceholder(this.table.options.columnDefaults.headerFilterPlaceholder);for(let e in this.table.options.langs)this.installLang(e,this.table.options.langs[e]);this.setLocale(this.table.options.locale),this.registerTableFunction("setLocale",this.setLocale.bind(this)),this.registerTableFunction("getLocale",this.getLocale.bind(this)),this.registerTableFunction("getLang",this.getLang.bind(this))}setHeaderFilterPlaceholder(e){this.langList.default.headerFilters.default=e}installLang(e,r){this.langList[e]?this._setLangProp(this.langList[e],r):this.langList[e]=r}_setLangProp(e,r){for(let C in r)e[C]&&typeof e[C]=="object"?this._setLangProp(e[C],r[C]):e[C]=r[C]}setLocale(e){e=e||"default";function r(C,D){for(var k in C)typeof C[k]=="object"?(D[k]||(D[k]={}),r(C[k],D[k])):D[k]=C[k]}if(e===!0&&navigator.language&&(e=navigator.language.toLowerCase()),e&&!this.langList[e]){let C=e.split("-")[0];this.langList[C]?(console.warn("Localization Error - Exact matching locale not found, using closest match: ",e,C),e=C):(console.warn("Localization Error - Matching locale not found, using default: ",e),e="default")}this.locale=e,this.lang=oo.deepClone(this.langList.default||{}),e!="default"&&r(this.langList[e],this.lang),this.dispatchExternal("localized",this.locale,this.lang),this._executeBindings()}getLocale(e){return this.locale}getLang(e){return e?this.langList[e]:this.lang}getText(e,r){var C=r?e+"|"+r:e,D=C.split("|"),k=this._getLangElement(D,this.locale);return k||""}_getLangElement(e,r){var C=this.lang;return e.forEach(function(D){var k;C&&(k=C[D],typeof k<"u"?C=k:C=!1)}),C}bind(e,r){this.bindings[e]||(this.bindings[e]=[]),this.bindings[e].push(r),r(this.getText(e),this.lang)}_executeBindings(){for(let e in this.bindings)this.bindings[e].forEach(r=>{r(this.getText(e),this.lang)})}}ag.moduleName="localize";ag.langs=JP;class QM extends qi{constructor(e){super(e)}initialize(){this.registerTableFunction("tableComms",this.receive.bind(this))}getConnections(e){var r=[],C;return C=pu.lookupTable(e),C.forEach(D=>{this.table!==D&&r.push(D)}),r}send(e,r,C,D){var k=this.getConnections(e);k.forEach(m=>{m.tableComms(this.table.element,r,C,D)}),!k.length&&e&&console.warn("Table Connection Error - No tables matching selector found",e)}receive(e,r,C,D){if(this.table.modExists(r))return this.table.modules[r].commsReceived(e,C,D);console.warn("Inter-table Comms Error - no such module:",r)}}QM.moduleName="comms";var QP=Object.freeze({__proto__:null,LayoutModule:s0,LocalizeModule:ag,CommsModule:QM});class e6{constructor(e,r){this.bindStaticFunctionality(e),this.bindModules(e,QP,!0),r&&this.bindModules(e,r)}bindStaticFunctionality(e){e.moduleBindings={},e.extendModule=function(r,C,D){if(e.moduleBindings[r]){var k=e.moduleBindings[r][C];if(k)if(typeof D=="object")for(let m in D)k[m]=D[m];else console.warn("Module Error - Invalid value type, it must be an object");else console.warn("Module Error - property does not exist:",C)}else console.warn("Module Error - module does not exist:",r)},e.registerModule=function(r){Array.isArray(r)||(r=[r]),r.forEach(C=>{e.registerModuleBinding(C)})},e.registerModuleBinding=function(r){e.moduleBindings[r.moduleName]=r},e.findTable=function(r){var C=pu.lookupTable(r,!0);return Array.isArray(C)&&!C.length?!1:C},e.prototype.bindModules=function(){var r=[],C=[],D=[];this.modules={};for(var k in e.moduleBindings){let m=e.moduleBindings[k],t=new m(this);this.modules[k]=t,m.prototype.moduleCore?this.modulesCore.push(t):m.moduleInitOrder?m.moduleInitOrder<0?r.push(t):C.push(t):D.push(t)}r.sort((m,t)=>m.moduleInitOrder>t.moduleInitOrder?1:-1),C.sort((m,t)=>m.moduleInitOrder>t.moduleInitOrder?1:-1),this.modulesRegular=r.concat(D.concat(C))}}bindModules(e,r,C){var D=Object.values(r);C&&D.forEach(k=>{k.prototype.moduleCore=!0}),e.registerModule(D)}}class eO extends Ml{constructor(e){super(e),this.element=this._createAlertElement(),this.msgElement=this._createMsgElement(),this.type=null,this.element.appendChild(this.msgElement)}_createAlertElement(){var e=document.createElement("div");return e.classList.add("tabulator-alert"),e}_createMsgElement(){var e=document.createElement("div");return e.classList.add("tabulator-alert-msg"),e.setAttribute("role","alert"),e}_typeClass(){return"tabulator-alert-state-"+this.type}alert(e,r="msg"){if(e){for(this.clear(),this.dispatch("alert-show",r),this.type=r;this.msgElement.firstChild;)this.msgElement.removeChild(this.msgElement.firstChild);this.msgElement.classList.add(this._typeClass()),typeof e=="function"&&(e=e()),e instanceof HTMLElement?this.msgElement.appendChild(e):this.msgElement.innerHTML=e,this.table.element.appendChild(this.element)}}clear(){this.dispatch("alert-hide",this.type),this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.msgElement.classList.remove(this._typeClass())}}class $d{constructor(e,r){this.options={},this.columnManager=null,this.rowManager=null,this.footerManager=null,this.alertManager=null,this.vdomHoz=null,this.externalEvents=null,this.eventBus=null,this.interactionMonitor=!1,this.browser="",this.browserSlow=!1,this.browserMobile=!1,this.rtl=!1,this.originalElement=null,this.componentFunctionBinder=new HP(this),this.dataLoader=!1,this.modules={},this.modulesCore=[],this.modulesRegular=[],this.deprecationAdvisor=new $P(this),this.optionsList=new JM(this,"table constructor"),this.initialized=!1,this.destroyed=!1,this.initializeElement(e)&&(this.initializeCoreSystems(r),setTimeout(()=>{this._create()})),pu.register(this)}initializeElement(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement?(this.element=e,!0):typeof e=="string"?(this.element=document.querySelector(e),this.element?!0:(console.error("Tabulator Creation Error - no element found matching selector: ",e),!1)):(console.error("Tabulator Creation Error - Invalid element provided:",e),!1)}initializeCoreSystems(e){this.columnManager=new FP(this),this.rowManager=new VP(this),this.footerManager=new jP(this),this.dataLoader=new GP(this),this.alertManager=new eO(this),this.bindModules(),this.options=this.optionsList.generate($d.defaultOptions,e),this._clearObjectPointers(),this._mapDeprecatedFunctionality(),this.externalEvents=new qP(this,this.options,this.options.debugEventsExternal),this.eventBus=new WP(this.options.debugEventsInternal),this.interactionMonitor=new UP(this),this.dataLoader.initialize(),this.footerManager.initialize()}_mapDeprecatedFunctionality(){}_clearSelection(){this.element.classList.add("tabulator-block-select"),window.getSelection?window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().removeAllRanges():document.selection&&document.selection.empty(),this.element.classList.remove("tabulator-block-select")}_create(){this.externalEvents.dispatch("tableBuilding"),this.eventBus.dispatch("table-building"),this._rtlCheck(),this._buildElement(),this._initializeTable(),this._loadInitialData(),this.initialized=!0,this.externalEvents.dispatch("tableBuilt")}_rtlCheck(){var e=window.getComputedStyle(this.element);switch(this.options.textDirection){case"auto":if(e.direction!=="rtl")break;case"rtl":this.element.classList.add("tabulator-rtl"),this.rtl=!0;break;case"ltr":this.element.classList.add("tabulator-ltr");default:this.rtl=!1}}_clearObjectPointers(){this.options.columns=this.options.columns.slice(0),Array.isArray(this.options.data)&&!this.options.reactiveData&&(this.options.data=this.options.data.slice(0))}_buildElement(){var e=this.element,r=this.options,C;if(e.tagName==="TABLE"){this.originalElement=this.element,C=document.createElement("div");var D=e.attributes;for(var k in D)typeof D[k]=="object"&&C.setAttribute(D[k].name,D[k].value);e.parentNode.replaceChild(C,e),this.element=e=C}for(e.classList.add("tabulator"),e.setAttribute("role","grid");e.firstChild;)e.removeChild(e.firstChild);r.height&&(r.height=isNaN(r.height)?r.height:r.height+"px",e.style.height=r.height),r.minHeight!==!1&&(r.minHeight=isNaN(r.minHeight)?r.minHeight:r.minHeight+"px",e.style.minHeight=r.minHeight),r.maxHeight!==!1&&(r.maxHeight=isNaN(r.maxHeight)?r.maxHeight:r.maxHeight+"px",e.style.maxHeight=r.maxHeight)}_initializeTable(){var e=this.element,r=this.options;this.interactionMonitor.initialize(),this.columnManager.initialize(),this.rowManager.initialize(),this._detectBrowser(),this.modulesCore.forEach(C=>{C.initialize()}),e.appendChild(this.columnManager.getElement()),e.appendChild(this.rowManager.getElement()),r.footerElement&&this.footerManager.activate(),r.autoColumns&&r.data&&this.columnManager.generateColumnsFromRowData(this.options.data),this.modulesRegular.forEach(C=>{C.initialize()}),this.columnManager.setColumns(r.columns),this.eventBus.dispatch("table-built")}_loadInitialData(){this.dataLoader.load(this.options.data),this.columnManager.verticalAlignHeaders()}destroy(){var e=this.element;for(this.destroyed=!0,pu.deregister(this),this.eventBus.dispatch("table-destroy"),this.rowManager.destroy();e.firstChild;)e.removeChild(e.firstChild);e.classList.remove("tabulator"),this.externalEvents.dispatch("tableDestroyed")}_detectBrowser(){var e=navigator.userAgent||navigator.vendor||window.opera;e.indexOf("Trident")>-1?(this.browser="ie",this.browserSlow=!0):e.indexOf("Edge")>-1?(this.browser="edge",this.browserSlow=!0):e.indexOf("Firefox")>-1?(this.browser="firefox",this.browserSlow=!1):e.indexOf("Mac OS")>-1?(this.browser="safari",this.browserSlow=!1):(this.browser="other",this.browserSlow=!1),this.browserMobile=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e.slice(0,4))}initGuard(e,r){var C,D;return this.options.debugInitialization&&!this.initialized&&(e||(C=new Error().stack.split(` -`),D=C[0]=="Error"?C[2]:C[1],D[0]==" "?e=D.trim().split(" ")[1].split(".")[1]:e=D.trim().split("@")[0]),console.warn("Table Not Initialized - Calling the "+e+" function before the table is initialized may result in inconsistent behavior, Please wait for the `tableBuilt` event before calling this function."+(r?" "+r:""))),this.initialized}blockRedraw(){this.initGuard(),this.eventBus.dispatch("redraw-blocking"),this.rowManager.blockRedraw(),this.columnManager.blockRedraw(),this.eventBus.dispatch("redraw-blocked")}restoreRedraw(){this.initGuard(),this.eventBus.dispatch("redraw-restoring"),this.rowManager.restoreRedraw(),this.columnManager.restoreRedraw(),this.eventBus.dispatch("redraw-restored")}setData(e,r,C){return this.initGuard(!1,"To set initial data please use the 'data' property in the table constructor."),this.dataLoader.load(e,r,C,!1)}clearData(){this.initGuard(),this.dataLoader.blockActiveLoad(),this.rowManager.clearData()}getData(e){return this.rowManager.getData(e)}getDataCount(e){return this.rowManager.getDataCount(e)}replaceData(e,r,C){return this.initGuard(),this.dataLoader.load(e,r,C,!0,!0)}updateData(e){var r=0;return this.initGuard(),new Promise((C,D)=>{this.dataLoader.blockActiveLoad(),typeof e=="string"&&(e=JSON.parse(e)),e&&e.length>0?e.forEach(k=>{var m=this.rowManager.findRow(k[this.options.index]);m?(r++,m.updateData(k).then(()=>{r--,r||C()}).catch(t=>{D("Update Error - Unable to update row",k,t)})):D("Update Error - Unable to find row",k)}):(console.warn("Update Error - No data provided"),D("Update Error - No data provided"))})}addData(e,r,C){return this.initGuard(),new Promise((D,k)=>{this.dataLoader.blockActiveLoad(),typeof e=="string"&&(e=JSON.parse(e)),e?this.rowManager.addRows(e,r,C).then(m=>{var t=[];m.forEach(function(d){t.push(d.getComponent())}),D(t)}):(console.warn("Update Error - No data provided"),k("Update Error - No data provided"))})}updateOrAddData(e){var r=[],C=0;return this.initGuard(),new Promise((D,k)=>{this.dataLoader.blockActiveLoad(),typeof e=="string"&&(e=JSON.parse(e)),e&&e.length>0?e.forEach(m=>{var t=this.rowManager.findRow(m[this.options.index]);C++,t?t.updateData(m).then(()=>{C--,r.push(t.getComponent()),C||D(r)}):this.rowManager.addRows(m).then(d=>{C--,r.push(d[0].getComponent()),C||D(r)})}):(console.warn("Update Error - No data provided"),k("Update Error - No data provided"))})}getRow(e){var r=this.rowManager.findRow(e);return r?r.getComponent():(console.warn("Find Error - No matching row found:",e),!1)}getRowFromPosition(e){var r=this.rowManager.getRowFromPosition(e);return r?r.getComponent():(console.warn("Find Error - No matching row found:",e),!1)}deleteRow(e){var r=[];this.initGuard(),Array.isArray(e)||(e=[e]);for(let C of e){let D=this.rowManager.findRow(C,!0);if(D)r.push(D);else return console.error("Delete Error - No matching row found:",C),Promise.reject("Delete Error - No matching row found")}return r.sort((C,D)=>this.rowManager.rows.indexOf(C)>this.rowManager.rows.indexOf(D)?1:-1),r.forEach(C=>{C.delete()}),this.rowManager.reRenderInPosition(),Promise.resolve()}addRow(e,r,C){return this.initGuard(),typeof e=="string"&&(e=JSON.parse(e)),this.rowManager.addRows(e,r,C,!0).then(D=>D[0].getComponent())}updateOrAddRow(e,r){var C=this.rowManager.findRow(e);return this.initGuard(),typeof r=="string"&&(r=JSON.parse(r)),C?C.updateData(r).then(()=>C.getComponent()):this.rowManager.addRows(r).then(D=>D[0].getComponent())}updateRow(e,r){var C=this.rowManager.findRow(e);return this.initGuard(),typeof r=="string"&&(r=JSON.parse(r)),C?C.updateData(r).then(()=>Promise.resolve(C.getComponent())):(console.warn("Update Error - No matching row found:",e),Promise.reject("Update Error - No matching row found"))}scrollToRow(e,r,C){var D=this.rowManager.findRow(e);return D?this.rowManager.scrollToRow(D,r,C):(console.warn("Scroll Error - No matching row found:",e),Promise.reject("Scroll Error - No matching row found"))}moveRow(e,r,C){var D=this.rowManager.findRow(e);this.initGuard(),D?D.moveToRow(r,C):console.warn("Move Error - No matching row found:",e)}getRows(e){return this.rowManager.getComponents(e)}getRowPosition(e){var r=this.rowManager.findRow(e);return r?r.getPosition():(console.warn("Position Error - No matching row found:",e),!1)}setColumns(e){this.initGuard(!1,"To set initial columns please use the 'columns' property in the table constructor"),this.columnManager.setColumns(e)}getColumns(e){return this.columnManager.getComponents(e)}getColumn(e){var r=this.columnManager.findColumn(e);return r?r.getComponent():(console.warn("Find Error - No matching column found:",e),!1)}getColumnDefinitions(){return this.columnManager.getDefinitionTree()}showColumn(e){var r=this.columnManager.findColumn(e);if(this.initGuard(),r)r.show();else return console.warn("Column Show Error - No matching column found:",e),!1}hideColumn(e){var r=this.columnManager.findColumn(e);if(this.initGuard(),r)r.hide();else return console.warn("Column Hide Error - No matching column found:",e),!1}toggleColumn(e){var r=this.columnManager.findColumn(e);if(this.initGuard(),r)r.visible?r.hide():r.show();else return console.warn("Column Visibility Toggle Error - No matching column found:",e),!1}addColumn(e,r,C){var D=this.columnManager.findColumn(C);return this.initGuard(),this.columnManager.addColumn(e,r,D).then(k=>k.getComponent())}deleteColumn(e){var r=this.columnManager.findColumn(e);return this.initGuard(),r?r.delete():(console.warn("Column Delete Error - No matching column found:",e),Promise.reject())}updateColumnDefinition(e,r){var C=this.columnManager.findColumn(e);return this.initGuard(),C?C.updateDefinition(r):(console.warn("Column Update Error - No matching column found:",e),Promise.reject())}moveColumn(e,r,C){var D=this.columnManager.findColumn(e),k=this.columnManager.findColumn(r);this.initGuard(),D?k?this.columnManager.moveColumn(D,k,C):console.warn("Move Error - No matching column found:",k):console.warn("Move Error - No matching column found:",e)}scrollToColumn(e,r,C){return new Promise((D,k)=>{var m=this.columnManager.findColumn(e);return m?this.columnManager.scrollToColumn(m,r,C):(console.warn("Scroll Error - No matching column found:",e),Promise.reject("Scroll Error - No matching column found"))})}redraw(e){this.initGuard(),this.columnManager.redraw(e),this.rowManager.redraw(e)}setHeight(e){this.options.height=isNaN(e)?e:e+"px",this.element.style.height=this.options.height,this.rowManager.initializeRenderer(),this.rowManager.redraw(!0)}on(e,r){this.externalEvents.subscribe(e,r)}off(e,r){this.externalEvents.unsubscribe(e,r)}dispatchEvent(){var e=Array.from(arguments);e.shift(),this.externalEvents.dispatch(...arguments)}alert(e,r){this.initGuard(),this.alertManager.alert(e,r)}clearAlert(){this.initGuard(),this.alertManager.clear()}modExists(e,r){return this.modules[e]?!0:(r&&console.error("Tabulator Module Not Installed: "+e),!1)}module(e){var r=this.modules[e];return r||console.error("Tabulator module not installed: "+e),r}}$d.defaultOptions=OP;new e6($d);class t6 extends $d{}new e6(t6,PP);const tO=$o({name:"TabulatorTable",props:{tableIndexField:{type:String,required:!1,default:()=>"id"},tableData:{type:Object,required:!0},columnDefinitions:{type:Object,required:!0},title:{type:String,required:!1},index:{type:Number,required:!0},selectedRowIndexFromListening:{type:Number,required:!1,default:()=>{}},tableLayoutParam:{type:String,required:!1,default:()=>"fitDataFill"},defaultRow:{type:Number,required:!1,default:()=>-1},initialSort:{type:Array,required:!1,default:()=>{}}},emits:["rowSelected"],setup(){return{streamlitDataStore:Cs()}},data(){return{tabulator:void 0,initialized:0}},computed:{id(){return`table-${this.index}`},containerStyles(){return{display:"flex","flex-direction":"column","align-items":"center"}},tableClasses(){var n,e;return{"table-dark":((n=this.streamlitDataStore.theme)==null?void 0:n.base)==="dark","table-light":((e=this.streamlitDataStore.theme)==null?void 0:e.base)==="light","table-striped":!1,"table-bordered":!0,"table-sm":!0}},preparedTableData(){const n=[...this.columnDefinitions.map(e=>e.field),"id"];if(this.tableData!==void 0&&this.tableData.length>0){const e=[];return this.tableData.forEach((r,C)=>{const D={};n.forEach(k=>{k!==void 0&&(D[k]=r[k])}),this.tableData[0][this.tableIndexField]===void 0?e.push({...D,[this.tableIndexField]:C}):e.push({...D})}),e}return this.tableData}},watch:{tableData(){this.drawTable()},selectedRowIndexFromListening(n){n!==void 0&&this.onSelectedRowListener(n)}},mounted(){this.drawTable()},methods:{drawTable(){this.tabulator=new t6(`#${this.id}`,{index:this.tableIndexField,data:this.preparedTableData,minHeight:50,maxHeight:this.title?320:310,responsiveLayout:"collapse",layout:this.tableLayoutParam,selectable:1,columnDefaults:{title:"",hozAlign:"right"},columns:this.columnDefinitions.map(n=>(n.headerTooltip===void 0&&(n.headerTooltip=!0),n)),initialSort:this.initialSort}),this.tabulator.on("tableBuilt",()=>{this.selectedRowIndexFromListening!==void 0?this.onSelectedRowListener(this.selectedRowIndexFromListening):this.selectDefaultRow()})},selectDefaultRow(){var n;if(this.defaultRow>=0){const e=(n=this.tabulator)==null?void 0:n.getRows("active");e&&e.length>0&&this.defaultRow>=0&&this.defaultRow[ea(ho(n.title??""),1)])],8,sO),gt(d,{activator:`#${n.id}-title`,location:"bottom"},{default:si(()=>[gt(t,{"min-width":"100"},{default:si(()=>[gt(m,{"prepend-icon":"mdi-download",onClick:n.downloadTable},{default:si(()=>[ea("Download")]),_:1},8,["onClick"])]),_:1})]),_:1},8,["activator"])]),ti("div",lO,[nb(n.$slots,"end-title-row")])])]),ti("div",{id:n.id,class:Qu(n.tableClasses),onClick:e[0]||(e[0]=(...y)=>n.onTableClick&&n.onTableClick(...y))},null,10,uO)])}const y0=is(tO,[["render",cO]]),Dh=n=>e=>e.getValue().toString().length>4?e.getValue().toFixed(n??4):e.getValue(),fO=$o({name:"TabulatorScanTable",components:{TabulatorTable:y0},props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Cs(),e=Mu();return{streamlitDataStore:n,selectionStore:e}},data(){return{columnDefinitions:[{title:"Index",field:"id",sorter:"number",headerTooltip:"The sequential index of the spectrum in the dataset."},{title:"Scan Number",field:"Scan",sorter:"number",headerTooltip:"The identifier of the mass spectrometry scan."},{title:"MS Level",field:"MSLevel",sorter:"number",headerTooltip:"The level of mass spectrometry analysis (e.g., MS1 or MS2)."},{title:"Retention time",field:"RT",formatter:Dh(),sorter:"number",headerTooltip:"The time at which the spectrum was detected during the chromatographic separation in seconds."},{title:"Precursor Mass",field:"PrecursorMass",formatter:Dh(),sorter:"number",headerTooltip:"The mass of the precursor ion selected for fragmentation in Daltons."},{title:"#Masses",field:"#Masses",sorter:"number",headerTooltip:"The number of detected masses in the spectrum."}]}},computed:{tableData(){const n=this.streamlitDataStore.allDataForDrawing.per_scan_data;return n.forEach(e=>e.id=e.index),n},selectedRow(){return this.selectionStore.selectedScanIndex}},methods:{updateSelectedScan(n){n!==void 0&&(n!==this.selectionStore.selectedScanIndex&&this.selectionStore.updateSelectedMass(0),this.selectionStore.updateSelectedScan(n))}}});function hO(n,e,r,C,D,k){const m=Hr("TabulatorTable");return Ir(),za(m,{"table-data":n.tableData,"column-definitions":n.columnDefinitions,title:"Scan Table",index:n.index,"table-layout-param":"fitColumns",onRowSelected:n.updateSelectedScan,"selected-row-index-from-listening":n.selectedRow,"default-row":0},null,8,["table-data","column-definitions","index","onRowSelected","selected-row-index-from-listening"])}const dO=is(fO,[["render",hO]]),pO=$o({name:"PlotlyLineplot",props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Cs(),e=Mu();return{streamlitDataStore:n,selectionStore:e}},computed:{id(){return`graph-${this.index}`},theme(){return this.streamlitDataStore.theme},selectedRow(){if(this.selectionStore.selectedScanIndex!==void 0)return this.streamlitDataStore.allDataForDrawing.per_scan_data.length===1?0:this.selectionStore.selectedScanIndex},xAxisLabel(){switch(this.args.title){case"Annotated Spectrum":return"m/z";case"Deconvolved Spectrum":return"Monoisotopic Mass";default:return""}},xColumn(){switch(this.args.title){case"Annotated Spectrum":return"MonoMass_Anno";case"Deconvolved Spectrum":return"MonoMass";default:return""}},xValues(){const n=this.streamlitDataStore.allDataForDrawing.per_scan_data,e=this.selectedRow,r=[];return e===void 0||n[e][this.xColumn].forEach(C=>{r.push(C,C,C)}),r},yColmun(){switch(this.args.title){case"Annotated Spectrum":return"SumIntensity_Anno";case"Deconvolved Spectrum":return"SumIntensity";default:return""}},yValues(){const n=[];return this.selectedRow===void 0||this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedRow][this.yColmun].forEach(e=>{n.push(-1e7,e,-1e7)}),n},data(){return[{x:this.xValues,y:this.yValues,mode:"lines",type:"scatter",connectgaps:!1}]},layout(){var n,e,r,C,D;return{title:`${this.args.title}`,showlegend:!1,height:400,xaxis:{title:this.xAxisLabel,showgrid:!1},yaxis:{title:"Intensity",showgrid:!0,gridcolor:(n=this.theme)==null?void 0:n.secondaryBackgroundColor,rangemode:"nonnegative",fixedrange:!0},paper_bgcolor:(e=this.theme)==null?void 0:e.backgroundColor,plot_bgcolor:(r=this.theme)==null?void 0:r.backgroundColor,font:{color:(C=this.theme)==null?void 0:C.textColor,family:(D=this.theme)==null?void 0:D.font}}}},watch:{xValues(){this.graph()}},mounted(){this.graph()},methods:{async graph(){await es.newPlot(this.id,this.data,this.layout,{modeBarButtonsToRemove:["toImage","sendDataToCloud"],modeBarButtonsToAdd:[{title:"Download as SVG",name:"toImageSvg",icon:es.Icons.camera,click:n=>{es.downloadImage(n,{filename:"FLASHViewer-lineplot",height:400,width:1200,format:"svg"})}}]})}}}),mO=["id"];function gO(n,e,r,C,D,k){return Ir(),ei("div",{id:n.id,style:{width:"100%"}},null,8,mO)}const vO=is(pO,[["render",gO]]),yO=$o({name:"PlotlyLineplotTagger",props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Cs(),e=Mu();return{streamlitDataStore:n,selectionStore:e}},data(){return{manual:!1,manual_xRange:void 0,selectedMass:void 0}},computed:{id(){return`graph-${this.index}`},theme(){return this.streamlitDataStore.theme},selectedScan(){if(this.selectionStore.selectedScanIndex!==void 0)return this.streamlitDataStore.allDataForDrawing.per_scan_data.length===1?0:this.selectionStore.selectedScanIndex},selectedTag(){return this.selectionStore.selectedTagIndex},selectedAA(){var n;return(n=this.selectionStore.selectedTag)==null?void 0:n.selectedAA},showBackButton(){return this.args.title==="Augmented Annotated Spectrum"},minCharge(){return this.selectedScan===void 0?-10:Math.min(...this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScan].MinCharges)},maxCharge(){return this.selectedScan===void 0?-10:Math.max(...this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScan].MinCharges)},xAxisLabel(){switch(this.args.title){case"Augmented Annotated Spectrum":return"m/z";case"Augmented Deconvolved Spectrum":return"Monoisotopic Mass";default:return""}},xColumn(){switch(this.args.title){case"Augmented Annotated Spectrum":return"MonoMass_Anno";case"Augmented Deconvolved Spectrum":return"MonoMass";default:return""}},xValues(){const n=[];return this.selectedScan===void 0||this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScan][this.xColumn].forEach(e=>{n.push(e,e,e)}),n},xMassValues(){return this.selectedScan===void 0?[]:this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScan].MonoMass},mzSignals(){let n=[];return this.selectedScan===void 0||(n=this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScan].SignalPeaks),n},yColmun(){switch(this.args.title){case"Augmented Annotated Spectrum":return"SumIntensity_Anno";case"Augmented Deconvolved Spectrum":return"SumIntensity";default:return""}},yValues(){const n=[];return this.selectedScan===void 0||this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScan][this.yColmun].forEach(e=>{n.push(-1e7,e,-1e7)}),n},highlightedMassPos(){var r;const n=(r=this.selectionStore.selectedTag)==null?void 0:r.masses;if(n===void 0)return[];let e=[];for(let C=0;C{const T=S.reduce((A,L)=>A+L.intensity,0),_=S.map(A=>A.intensity/T*A.mz).reduce((A,L)=>A+L,0);e.push({type:"rect",x0:_-.5*t,y0:D,x1:_+.5*t,y1:m,fillcolor:c,line:{width:0}}),r.push({x:_,y:k,xref:"x",yref:"y",text:"z="+x,showarrow:!1,font:{size:15}})}),{shapes:e,annotations:r,traces:n}}let d=[];if(t>this.xPosScalingThreshold)return{shapes:e,annotations:r,traces:n};for(let c=0;cg?(A=w-g,w-=E,x+=E*.1,g+=E,T-=E*.1):(A=g-w,w+=E,x-=E*.1,g-=E,T+=E*.1),d.push({ax:x,ay:y,xref:"x",yref:"y",x:w,y,axref:"x",ayref:"y",showarrow:!0,arrowhead:0,arrowsize:1,arrowwidth:2,arrowcolor:f}),d.push({ax:T,ay:y,xref:"x",yref:"y",x:g,y,axref:"x",ayref:"y",showarrow:!0,arrowhead:2,arrowsize:1,arrowwidth:2,arrowcolor:f}),d.push({x:S,y:i,xref:"x",yref:"y",text:_,hovertext:"Δ="+A.toFixed(2)+" Da",showarrow:!1,font:{size:15,color:f,family:p}})}return{shapes:e,annotations:[...r,...d],traces:n}},data(){let n=[];if(n.push({x:this.plotData.unhighlighted_x,y:this.plotData.unhighlighted_y,mode:"lines",type:"scatter",marker:{color:"lightblue"}}),n.push({x:this.plotData.highlighted_x,y:this.plotData.highlighted_y,mode:"lines",type:"scatter",marker:{color:"#E4572E"}}),n.push({x:this.plotData.selected_x,y:this.plotData.selected_y,mode:"lines",type:"scatter",marker:{color:"#F3A712"}}),this.args.title==="Augmented Deconvolved Spectrum"){const e=this.annotationData.traces;n.push(...e)}return n},xRange(){if(this.xValues.length===0)return[];if(this.manual&&this.manual_xRange!==void 0)return this.manual_xRange;if(this.highlightedValues.length===0)return[Math.min(...this.xValues)*.98,Math.max(...this.xValues)*1.02];if(this.args.title==="Augmented Annotated Spectrum"&&this.selectedMass!==void 0)return[Math.min(...this.highlightedValues[this.selectedMass].mzs)*.98,Math.max(...this.highlightedValues[this.selectedMass].mzs)*1.02];let n=Math.min(...this.highlightedValues.map(D=>D.mass))*.98,e=Math.max(...this.highlightedValues.map(D=>D.mass))*1.02;if(e-nD+k.mass,0)/this.highlightedValues.length,C=.5*.9*this.maxAnnotationRange;return[r-C,r+C]},yRange(){return this.computeYRange(this.xRange)},layout(){var n,e,r,C,D;return{title:`${this.args.title}`,showlegend:!1,height:400,xaxis:{title:this.xAxisLabel,showgrid:!1,range:this.xRange,showline:!0,linecolor:"grey",linewidth:1},yaxis:{title:"Intensity",showgrid:!0,gridcolor:(n=this.theme)==null?void 0:n.secondaryBackgroundColor,rangemode:"nonnegative",range:this.yRange,fixedrange:!0,showline:!0,linecolor:"grey",linewidth:1},paper_bgcolor:(e=this.theme)==null?void 0:e.backgroundColor,plot_bgcolor:(r=this.theme)==null?void 0:r.backgroundColor,font:{color:(C=this.theme)==null?void 0:C.textColor,family:(D=this.theme)==null?void 0:D.font},shapes:this.annotationData.shapes,annotations:this.annotationData.annotations}}},watch:{selectedScan(){this.manual=!1,this.args.title="Augmented Deconvolved Spectrum",this.selectedMass=void 0,this.graph()},selectedTag(){this.manual=!1,this.args.title="Augmented Deconvolved Spectrum",this.selectedMass=void 0,this.graph()},annotationData(){this.manual&&this.updateButtons(this.annotationData.shapes,this.annotationData.annotations)}},mounted(){this.graph()},methods:{backButton(){this.args.title="Augmented Deconvolved Spectrum",this.selectedMass=void 0,this.manual=!1,this.graph()},onPlotClick(n){if(n.points&&n.points.length>0){const e=n.points[0].x;for(let r=0;r=n[1]||D>e&&(e=D)}return e===0?[0,1]:[0,e*1.8]},isHighlighted(n){return this.highlightedPos(n)!==void 0},highlightedPos(n){if(this.args.title==="Augmented Annotated Spectrum"){const e=this.selectedMass;if(e===void 0)return;const r=this.highlightedValues[e].mzs;for(let C=0;C{es.downloadImage(e,{filename:"FLASHViewer-lineplot",height:400,width:1200,format:"svg"})}}],scrollZoom:!0});n.on("plotly_relayout",e=>{this.onRelayout(e)}),n.on("plotly_click",e=>{this.onPlotClick(e)})}}});const bO=["id"];function xO(n,e,r,C,D,k){return Ir(),ei("div",{id:n.id,class:"plot-container"},[n.showBackButton?(Ir(),ei("button",{key:0,class:"simple-button",onClick:e[0]||(e[0]=(...m)=>n.backButton&&n.backButton(...m))},"↩")):Zi("",!0)],8,bO)}const _O=is(yO,[["render",xO],["__scopeId","data-v-5b71cbd4"]]),wO=$o({name:"Plotly3Dplot",props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Cs(),e=Mu();return{streamlitDataStore:n,selectionStore:e}},data(){return{maximumIntensity:0}},computed:{id(){return`graph-${this.index}`},title(){return this.selectedScanRow===void 0?"":this.selectedMassRow===void 0?"Precursor signals":"Mass signals"},theme(){return this.streamlitDataStore.theme},selectedScanRow(){if(this.selectionStore.selectedScanIndex!==void 0)return this.streamlitDataStore.allDataForDrawing.per_scan_data.length===1?0:this.selectionStore.selectedScanIndex},selectedMassRow(){return this.selectionStore.selectedMassIndex},dataForDrawing(){var k,m;const n=this.selectedScanRow,e=this.streamlitDataStore.allDataForDrawing.per_scan_data,r=this.selectedMassRow;if(n===void 0)return[];const C=e[n]??{};let D={};return r===void 0?D=this.getPrecursorSignal(C):this.streamlitDataStore.allDataForDrawing.per_scan_data.length===1?D=this.getSignalNoiseObject(C.SignalPeaks,C.NoisyPeaks):D=this.getSignalNoiseObject(((k=C.SignalPeaks)==null?void 0:k[r])??[[]],((m=C.NoisyPeaks)==null?void 0:m[r])??[[]]),Object.keys(D).length===0?[]:(this.updateMaximumIntensity(D),[{name:"Signal",type:"scatter3d",mode:"lines",x:D.signal_x,y:D.signal_y,z:D.signal_z,line:{color:"#3366CC"}},{name:"Noise",type:"scatter3d",mode:"lines",x:D.noise_x,y:D.noise_y,z:D.noise_z,line:{color:"#DC3912"}}])},layout(){var n,e,r,C;return{title:`${this.title}`,paper_bgcolor:(n=this.theme)==null?void 0:n.backgroundColor,plot_bgcolor:(e=this.theme)==null?void 0:e.secondaryBackgroundColor,height:800,font:{color:(r=this.theme)==null?void 0:r.textColor,family:(C=this.theme)==null?void 0:C.font},scene:{xaxis:{title:"Mass"},yaxis:{title:"Charge"},zaxis:{title:"Intensity",range:[0,this.maximumIntensity]},camera:{eye:{x:2.5,y:0,z:.2}}},showlegend:!0}}},watch:{selectedScanRow(){this.graph()},selectedMassRow(){this.graph()}},mounted(){this.graph()},methods:{updateMaximumIntensity(n){this.maximumIntensity=n.signal_z.concat(n.noise_z).reduce((e,r)=>Math.max(e,r),-1/0)},async graph(){await es.newPlot(this.id,this.dataForDrawing,this.layout,{modeBarButtonsToRemove:["toImage","sendDataToCloud"],modeBarButtonsToAdd:[{title:"Download as SVG",name:"toImageSvg",icon:es.Icons.camera,click:function(n){es.downloadImage(n,{filename:"FLASHViewer-3d-plot",height:800,width:800,format:"svg"})}}]})},getPrecursorSignal(n){if(n.PrecursorScan==0)return{};const e=this.streamlitDataStore.allDataForDrawing.per_scan_data.find(D=>D.Scan===n.PrecursorScan);if(!e)return{};const r=e.MonoMass,C=n.PrecursorMass;for(let D=0,k=r.length;DC.field),r=[];return Object.entries(n).forEach(C=>{const D=C[0];if(!e.includes(D)||D==="id")return;C[1].forEach((m,t)=>{r[t]={...r[t],[D]:m}})}),r.map((C,D)=>C.id=D),r},selectedMassFromFragmentTable(){return this.selectionStore.selectedObservedMassFromFragmentTable}},watch:{selectedMassFromFragmentTable(n){const e=this.tableData.findIndex(r=>r.MonoMass===n);e!==-1&&(this.selectedMassIndex=e)}},methods:{updateSelectedMass(n){n!==void 0&&this.selectionStore.updateSelectedMass(n)}}});function SO(n,e,r,C,D,k){const m=Hr("TabulatorTable");return Ir(),za(m,{"table-data":n.tableData,"column-definitions":n.columnDefinitions,title:"Mass Table",index:n.index,onRowSelected:n.updateSelectedMass,"selected-row-index-from-listening":n.selectedMassTableRow,"default-row":0},null,8,["table-data","column-definitions","index","onRowSelected","selected-row-index-from-listening"])}const CO=is(AO,[["render",SO]]),EO=$o({name:"TabulatorProteinTable",components:{TabulatorTable:y0},props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Cs(),e=Mu();return{streamlitDataStore:n,selectionStore:e}},data(){return{columnDefinitions:[{title:"Scan No.",field:"Scan",sorter:"number",headerTooltip:"The identifier of the mass spectrometry scan associated with the identified proteoform."},{title:"Accession",field:"accession",headerTooltip:"The unique identifier for the protein in the reference database."},{title:"Description",field:"description",responsive:10},{title:"Length",field:"length",responsive:6,sorter:"number",headerTooltip:"The total number of amino acids in the matched protein."},{title:"Mass",field:"ProteoformMass",responsive:8,sorter:"number",headerTooltip:"The calculated mass of the proteoform in Daltons.",formatter:function(n){const e=n.getValue();return e==-1?"-":e}},{title:"No. of Matched Fragments",field:"MatchingFragments",sorter:"number",headerTooltip:"The number of fragment ions that match the protein sequence."},{title:"No. of Modifications",field:"ModCount",sorter:"number",headerTooltip:"The number of modifications identified in the protein."},{title:"No. of Tags",field:"TagCount",sorter:"number",headerTooltip:"The number of sequence tags associated with the proteoform match."},{title:"Score",field:"Score",sorter:"number",headerTooltip:"A score indicating the confidence of the protein match (higher is better)."},{title:"Q-Value (Proteoform Level)",field:"ProteoformLevelQvalue",sorter:"number",headerTooltip:"The confidence value of the protein match at the proteoform level.",formatter:function(n){const e=n.getValue();return e==-1?"-":e}}],initialSort:[{column:"Score",dir:"desc"}]}},computed:{selectedRow(){return this.selectionStore.selectedProteinIndex},tableData(){const n=this.streamlitDataStore.dataForDrawing.protein_table;return n.forEach(e=>e.id=e.index),n}},methods:{updateSelectedProtein(n){if(n!==void 0){this.selectionStore.updateSelectedProtein(n);const e=this.streamlitDataStore.dataForDrawing.protein_table[n].Scan;if(e!==void 0&&typeof e=="number"){const r=this.streamlitDataStore.allDataForDrawing.per_scan_data.findIndex(C=>C.Scan===e);this.selectionStore.updateSelectedScan(r)}this.selectionStore.updateSelectedTag(void 0),this.selectionStore.updateTagData(void 0)}}}});function LO(n,e,r,C,D,k){const m=Hr("TabulatorTable");return Ir(),za(m,{"table-data":n.tableData,"column-definitions":n.columnDefinitions,title:"Protein Table",index:n.index,"selected-row-index-from-listening":n.selectedRow,"default-row":0,"initial-sort":n.initialSort,onRowSelected:n.updateSelectedProtein},null,8,["table-data","column-definitions","index","selected-row-index-from-listening","initial-sort","onRowSelected"])}const IO=is(EO,[["render",LO]]),RO=$o({name:"TabulatorTagTable",components:{TabulatorTable:y0},props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Cs(),e=Mu();return{streamlitDataStore:n,selectionStore:e}},data(){return{columnDefinitions:[{title:"Scan Number",field:"Scan",sorter:"number",headerTooltip:"The identifier of the mass spectrometry scan containing the sequence tag."},{title:"Start Position",field:"StartPos",sorter:"number",headerTooltip:"The position in the protein sequence where the sequence tag begins."},{title:"End Position",field:"EndPos",sorter:"number",headerTooltip:"The position in the protein sequence where the sequence tag ends."},{title:"Sequence",field:"TagSequence",sorter:"number",headerTooltip:"The amino acid sequence of the identified tag."},{title:"Length",field:"Length",sorter:"number",headerTooltip:"The number of amino acids in the sequence tag."},{title:"Tag Score",field:"Score",sorter:"number",headerTooltip:"A score indicating the confidence of the sequence tag identification (higher is better)."},{title:"N mass",field:"Nmass",sorter:"number",headerTooltip:"The N-terminal mass offset from the start of the sequence tag in Daltons.",formatter:function(n){const e=n.getValue();return e==-1?"-":e}},{title:"C mass",field:"Cmass",sorter:"number",headerTooltip:"The C-terminal mass offset from the end of the sequence tag in Daltons.",formatter:function(n){const e=n.getValue();return e==-1?"-":e}},{title:"Δ mass",field:"DeltaMass",sorter:"number",headerTooltip:"Delta mass is the difference between the tag flanking mass and the (partial) proteoform mass, from its terminal to the tag boundary."}],initialSort:[{column:"Score",dir:"desc"}],selectedTagIndex:void 0}},computed:{selectedRow(){return this.selectionStore.selectedTagIndex},tableData(){let e=this.streamlitDataStore.dataForDrawing.tag_table.filter(C=>C.ProteinIndex===this.selectionStore.selectedProteinIndex);const r=this.selectionStore.selectedAApos;return r!==void 0&&(e=e.filter(C=>{const D=C.StartPos,k=C.EndPos;return typeof D=="number"&&typeof k=="number"&&D<=r&&k>=r})),e.forEach(C=>C.id=C.TagIndex),e}},watch:{},methods:{getRowByTagIndex(n){return this.tableData.find(C=>C.id===n)},updateSelectedTag(n){if(n===void 0)return;this.selectionStore.updateSelectedTag(n);const e=this.getRowByTagIndex(n);if(e===void 0)return;const r=e.mzs;let C=[];typeof r=="string"&&(C=r.split(",").map(Number).filter(i=>i!==0));const D=typeof e.StartPos=="number"?e.StartPos:0,k=typeof e.EndPos=="number"?e.EndPos:0;let m=-1e3;D!==void 0&&this.selectionStore.selectedAApos!==void 0&&typeof D=="number"&&(m=this.selectionStore.selectedAApos-D);const t=e.TagSequence;let d="";typeof t=="string"&&(d=t);let y=!1;e["N mass"]===-1&&(y=!0),this.selectionStore.updateTagData({sequence:d,nTerminal:y,masses:C,selectedAA:m,startPos:D,endPos:k})}}});function PO(n,e,r,C,D,k){const m=Hr("TabulatorTable");return Ir(),za(m,{"table-data":n.tableData,"column-definitions":n.columnDefinitions,title:"Tag Table",index:n.index,onRowSelected:n.updateSelectedTag,"default-row":0,"initial-sort":n.initialSort},null,8,["table-data","column-definitions","index","onRowSelected","initial-sort"])}const OO=is(RO,[["render",PO]]),W2=i2("variable-mod",{state:()=>({variableMod:{}}),getters:{variableModifications:n=>n.variableMod,isEmpty:n=>Object.values(n.variableMod).filter(e=>e!==void 0&&e!==0).length===0},actions:{updateVariableModifications(n,e){this.variableMod={...this.variableMod,[n]:e}}}}),wv={Acetyl:42.010565,Methyl:14.01565,Phospho:79.966331,Oxidation:15.994915,Deamidated:.984016,Amidated:-.984016},n6={"N-term":["Acetyl","Methyl","Phospho"],"C-term":["Amidated"],C:["Acetyl","Methyl","Phospho"],E:["Methyl","Phospho"],D:["Methyl","Phospho"],H:["Methyl","Phospho"],I:["Methyl"],K:["Methyl","Phospho"],L:["Methyl"],M:["Oxidation"],N:["Methyl"],Q:["Deamidated","Methyl"],R:["Methyl","Phospho"],S:["Acetyl","Methyl","Phospho"],T:["Acetyl","Methyl","Phospho"],Y:["Phospho"]},DO={default:[{typeName:"",typeMass:0}],"water loss":[{typeName:"-H2O",typeMass:-18.0105646863}],"ammonium loss":[{typeName:"-NH3",typeMass:-17.0265491015}],"proton loss/addition":[{typeName:"-H",typeMass:-1.0078250319},{typeName:"+H",typeMass:1.0078250319}]},zO=$o({name:"AminoAcidCell",props:{sequenceObject:{type:Object,required:!0},index:{type:Number,required:!0},fixedModification:{type:Boolean,default:!1},disableVariableModificationSelection:{type:Boolean,default:!1},showTags:{type:Boolean,default:!1},showModifications:{type:Boolean,default:!0},showFragments:{type:Boolean,default:!0}},emits:["selected"],setup(){const n=Cs(),e=W2(),r=Mu();return{streamlitData:n,variableModData:e,selectionStore:r}},data(){return{menuOpen:!1,selectedModification:void 0,customSelected:!1,customModMass:"0"}},computed:{id(){return`${this.aminoAcid}${this.index}`},theme(){return this.streamlitData.theme},aminoAcid(){return this.sequenceObject.aminoAcid},start(){var e;const n=(e=this.streamlitData.sequenceData)==null?void 0:e[this.selectedSequence].proteoform_start;return n===void 0?n:n<0?0:n},end(){var e;const n=(e=this.streamlitData.sequenceData)==null?void 0:e[this.selectedSequence].proteoform_end;return n===void 0?n:n<0&&this.length!==void 0?this.length-1:n},length(){var n;return(n=this.streamlitData.sequenceData)==null?void 0:n[this.selectedSequence].sequence.length},prefix(){if(this.start===void 0&&this.end===void 0)return this.index+1;if(this.end!==void 0&&this.index>this.end)return;if(this.start!==void 0&&this.index>=this.start)return this.index+1-this.start},protein_position(){return this.index+1},truncated_prefix(){if(!(this.start===void 0||this.index>=this.start))return this.index+1},suffix(){if(this.start===void 0&&this.end===void 0)return(length??0)-this.index;if(this.start!==void 0&&this.index0},selectedSequence(){return this.selectionStore.selectedProteinIndex!==void 0?this.selectionStore.selectedProteinIndex:0},coverage(){return this.sequenceObject.coverage!==void 0?this.sequenceObject.coverage:-1},isHighlighted(){return this.index===this.selectionStore.selectedAApos},isTruncated(){return this.sequenceObject.truncated},DoesThisAAHaveSequenceTags(){return this.coverage>0},modMass(){return this.customModMass!=="0"?parseFloat(this.customModMass).toLocaleString("en-US",{signDisplay:"always"}):this.sequenceObject.modMass}},methods:{toggleMenuOpen(){this.disableVariableModificationSelection||(this.menuOpen=!this.menuOpen)},selectCell(){this.DoesThisAAHaveSequenceTags&&this.showTags&&(this.selectionStore.selectedAApos===this.index?this.selectionStore.updateSelectedAA(void 0):this.selectionStore.updateSelectedAA(this.index)),this.DoesThisAAHaveMatchingFragments&&this.$emit("selected",this.index)},updateSelectedModification(n){if(n==="None")this.selectedModification=void 0;else if(n==="Custom"){this.customSelected=!0;return}else this.selectedModification=n;this.toggleMenuOpen(),this.customSelected=!1,this.variableModData.updateVariableModifications(this.index,this.selectedModification?wv[this.selectedModification]:0)},updateCustomModification(){this.variableModData.updateVariableModifications(this.index,parseFloat(this.customModMass)),this.toggleMenuOpen()}},watch:{selectedModification(){this.selectedModification!==void 0&&wv[this.selectedModification]!==void 0&&(this.sequenceObject.modMass=parseFloat(wv[this.selectedModification].toFixed(2)).toLocaleString("en-US",{signDisplay:"always"}))},showTags(){this.showTags||this.selectionStore.updateSelectedAA(void 0)}}});const Au=n=>(Ty("data-v-fb6c82e8"),n=n(),ky(),n),FO=["id"],BO={key:0,class:"frag-marker-container-a"},NO=Au(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"green",d:"M7, 1 L9, 3 L9, 7 L9, 3 L7, 1 z","stroke-width":"1.5"})],-1)),VO=[NO],jO={key:1,class:"frag-marker-container-b"},UO=Au(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"blue",d:"M10, 0 V5 M10, 0 H5 z","stroke-width":"3"})],-1)),HO=[UO],GO={key:2,class:"frag-marker-container-c"},qO=Au(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"red",d:"M4, 1 L9, 3 L9, 7 L9, 3 L4, 1 z","stroke-width":"1.5"})],-1)),WO=[qO],$O={key:3,class:"frag-marker-container-x"},YO=Au(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"green",d:"M1, 3 L1, 7 L3, 9 L1, 7 L1, 3 z","stroke-width":"1.5"})],-1)),ZO=[YO],XO={key:4,class:"frag-marker-container-y"},KO=Au(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"blue",d:"M0, 10 V5 M0, 10 H5 z","stroke-width":"3"})],-1)),JO=[KO],QO={key:5,class:"frag-marker-container-z"},eD=Au(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"red",d:"M1, 3 L1, 7 L6, 9 L1, 7 L1, 3 z","stroke-width":"1.5"})],-1)),tD=[eD],nD={key:6,class:"rounded-lg tag-marker tag-start"},rD={key:7,class:"rounded-lg tag-marker tag-end"},iD={key:8,class:"rounded-lg mod-marker mod-start"},aD={key:9,class:"rounded-lg mod-marker mod-end"},oD={key:10,class:"mod-marker mod-start-cont"},sD={key:11,class:"mod-marker mod-end-cont"},lD={key:12,class:"mod-marker mod-center-cont"},uD={key:13,class:"rounded-lg mod-mass"},cD=Au(()=>ti("br",null,null,-1)),fD=Au(()=>ti("br",null,null,-1)),hD={key:14,class:"rounded-lg mod-mass-a"},dD={key:15,class:"rounded-lg mod-mass-b"},pD={key:16,class:"rounded-lg mod-mass-c"},mD={key:17,class:"frag-marker-extra-type"},gD=Au(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("circle",{cx:"5",cy:"5",r:"0.5",stroke:"black","stroke-width":"0.3",fill:"gold"})],-1)),vD=[gD],yD={class:"aa-text"},bD=Au(()=>ti("br",null,null,-1)),xD=Au(()=>ti("br",null,null,-1)),_D=Au(()=>ti("br",null,null,-1)),wD=Au(()=>ti("br",null,null,-1)),TD={key:4};function kD(n,e,r,C,D,k){const m=Hr("v-tooltip"),t=Hr("v-select"),d=Hr("v-list-item"),y=Hr("v-text-field"),i=Hr("v-btn"),M=Hr("v-form"),v=Hr("v-list"),h=Hr("v-menu");return Ir(),ei("div",{id:n.id,class:Qu(["d-flex justify-center align-center rounded-lg",[n.aminoAcidCellClass,{highlighted:n.isHighlighted},{truncated:n.isTruncated}]]),style:Ys(n.aminoAcidCellStyles),onClick:e[5]||(e[5]=(...l)=>n.selectCell&&n.selectCell(...l)),onContextmenu:e[6]||(e[6]=jp((...l)=>n.toggleMenuOpen&&n.toggleMenuOpen(...l),["prevent"]))},[n.showFragments&&n.sequenceObject.aIon?(Ir(),ei("div",BO,VO)):Zi("",!0),n.showFragments&&n.sequenceObject.bIon?(Ir(),ei("div",jO,HO)):Zi("",!0),n.showFragments&&n.sequenceObject.cIon?(Ir(),ei("div",GO,WO)):Zi("",!0),n.showFragments&&n.sequenceObject.xIon?(Ir(),ei("div",$O,ZO)):Zi("",!0),n.showFragments&&n.sequenceObject.yIon?(Ir(),ei("div",XO,JO)):Zi("",!0),n.showFragments&&n.sequenceObject.zIon?(Ir(),ei("div",QO,tD)):Zi("",!0),n.showTags&&n.sequenceObject.tagStart?(Ir(),ei("div",nD)):Zi("",!0),n.showTags&&n.sequenceObject.tagEnd?(Ir(),ei("div",rD)):Zi("",!0),n.showModifications&&(n.sequenceObject.modStart||n.isThisAAmodified)?(Ir(),ei("div",iD)):Zi("",!0),n.showModifications&&(n.sequenceObject.modEnd||n.isThisAAmodified)?(Ir(),ei("div",aD)):Zi("",!0),n.showModifications&&n.sequenceObject.modStart&&!n.sequenceObject.modEnd?(Ir(),ei("div",oD)):Zi("",!0),n.showModifications&&!n.sequenceObject.modStart&&n.sequenceObject.modEnd?(Ir(),ei("div",sD)):Zi("",!0),n.showModifications&&n.sequenceObject.modCenter?(Ir(),ei("div",lD)):Zi("",!0),n.showModifications&&(n.sequenceObject.modEnd||n.isThisAAmodified)?(Ir(),ei("div",uD,[ea(ho(n.modMass)+" ",1),gt(m,{activator:"parent",class:"foreground"},{default:si(()=>[ea(ho(`Modification Mass: ${n.modMass} Da`)+" ",1),cD,ea(" "+ho(`Possible Modifications: ${n.sequenceObject.modLabels}`)+" ",1),fD]),_:1})])):Zi("",!0),n.showFragments&&n.showModifications&&n.sequenceObject.modEnd&&n.sequenceObject.aIon&&!n.sequenceObject.bIon?(Ir(),ei("div",hD,ho(n.sequenceObject.modMass),1)):Zi("",!0),n.showFragments&&n.showModifications&&n.sequenceObject.modEnd&&n.sequenceObject.bIon?(Ir(),ei("div",dD,ho(n.sequenceObject.modMass),1)):Zi("",!0),n.showFragments&&n.showModifications&&n.sequenceObject.modEnd&&n.sequenceObject.cIon&&!n.sequenceObject.bIon?(Ir(),ei("div",pD,ho(n.sequenceObject.modMass),1)):Zi("",!0),n.showModifications&&n.DoesThisAAHaveExtraFragTypes?(Ir(),ei("div",mD,vD)):Zi("",!0),ti("div",yD,ho(n.aminoAcid),1),gt(h,{modelValue:n.menuOpen,"onUpdate:modelValue":e[4]||(e[4]=l=>n.menuOpen=l),activator:"parent",location:"end","open-on-click":!1,"close-on-content-click":!1,width:"200px"},{default:si(()=>[gt(v,null,{default:si(()=>[gt(d,null,{default:si(()=>[gt(t,{modelValue:n.selectedModification,"onUpdate:modelValue":[e[0]||(e[0]=l=>n.selectedModification=l),n.updateSelectedModification],clearable:"true",label:"Modification",density:"compact",items:n.modificationsForSelect,"onClick:clear":e[1]||(e[1]=l=>n.selectedModification=void 0)},null,8,["modelValue","items","onUpdate:modelValue"])]),_:1}),n.customSelected?(Ir(),za(d,{key:0},{default:si(()=>[gt(M,{onSubmit:e[3]||(e[3]=jp(()=>{},["prevent"]))},{default:si(()=>[gt(y,{modelValue:n.customModMass,"onUpdate:modelValue":e[2]||(e[2]=l=>n.customModMass=l),"hide-details":"",label:"Monoisotopic mass in Da",type:"number"},null,8,["modelValue"]),gt(i,{type:"submit",block:"true",class:"mt-2",onClick:n.updateCustomModification},{default:si(()=>[ea("Submit")]),_:1},8,["onClick"])]),_:1})]),_:1})):Zi("",!0)]),_:1})]),_:1},8,["modelValue"]),gt(m,{activator:"parent"},{default:si(()=>[ti("div",null,ho(`Protein Position: ${n.protein_position}`),1),n.prefix!==void 0?(Ir(),ei($r,{key:0},[ea(ho(`Prefix: ${n.prefix}`)+" ",1),bD],64)):Zi("",!0),n.truncated_prefix!==void 0?(Ir(),ei($r,{key:1},[ea(ho(`Truncated Prefix: ${n.truncated_prefix}`)+" ",1),xD],64)):Zi("",!0),n.suffix!==void 0?(Ir(),ei($r,{key:2},[ea(ho(`Suffix: ${n.suffix}`)+" ",1),_D],64)):Zi("",!0),n.truncated_suffix!==void 0?(Ir(),ei($r,{key:3},[ea(ho(`Truncated Suffix: ${n.truncated_suffix}`)+" ",1),wD],64)):Zi("",!0),n.DoesThisAAHaveExtraFragTypes?(Ir(),ei("div",TD,ho(n.sequenceObject.extraTypes.join(", ")),1)):Zi("",!0)]),_:1})],46,FO)}const r6=is(zO,[["render",kD],["__scopeId","data-v-fb6c82e8"]]),MD=$o({name:"ProteinTerminalCell",props:{proteinTerminal:{type:String,required:!0},index:{type:Number,required:!0},truncated:{type:Boolean,required:!1,default:!1},determined:{type:Boolean,required:!1,default:!0},disableVariableModificationSelection:{type:Boolean,default:!1}},setup(){const n=Cs(),e=W2();return{streamlitData:n,variableModData:e}},data(){return{menuOpen:!1,selectedModification:void 0,customSelected:!1,customModMass:"0"}},computed:{id(){return`${this.proteinTerminal}${this.index}`},theme(){return this.streamlitData.theme},proteinTerminalText(){return this.proteinTerminal.charAt(0)},hasVariableModification(){return this.variableModData.variableModifications[this.index]!==void 0&&this.variableModData.variableModifications[this.index]!==0},modificationsForSelect(){return["None","Custom",...this.potentialModifications]},proteinTerminalCellStyles(){var n,e;return{"--protein-terminal-cell-color":((n=this.theme)==null?void 0:n.textColor)??"#fff","--protein-terminal-cell-hover-color":"#fff","--protein-terminal-cell-hover-bg-color":((e=this.theme)==null?void 0:e.secondaryBackgroundColor)??"#000"}},proteinTerminalCellClasses(){return{"protein-terminal":this.selectedModification===void 0&&!this.hasVariableModification,"protein-terminal-modified":this.selectedModification!==void 0||this.hasVariableModification}},potentialModifications(){return n6[this.proteinTerminal]??[]}},methods:{toggleMenuOpen(){this.disableVariableModificationSelection||(this.menuOpen=!this.menuOpen)},updateSelectedModification(n){if(n==="None")this.selectedModification=void 0;else if(n==="Custom"){this.customSelected=!0;return}else this.selectedModification=n;this.toggleMenuOpen(),this.customSelected=!1,this.variableModData.updateVariableModifications(this.index,this.selectedModification?wv[this.selectedModification]:0)},updateCustomModification(){this.variableModData.updateVariableModifications(this.index,parseFloat(this.customModMass)),this.toggleMenuOpen()}}});const AD={key:0,class:"undetermined"};function SD(n,e,r,C,D,k){const m=Hr("v-select"),t=Hr("v-list-item"),d=Hr("v-text-field"),y=Hr("v-btn"),i=Hr("v-form"),M=Hr("v-list"),v=Hr("v-menu"),h=Hr("v-tooltip");return Ir(),ei("div",{class:Qu(["d-flex justify-center align-center rounded-lg",n.proteinTerminalCellClasses]),style:Ys(n.proteinTerminalCellStyles),onClick:e[5]||(e[5]=jp(()=>{},["stop"])),onContextmenu:e[6]||(e[6]=jp((...l)=>n.toggleMenuOpen&&n.toggleMenuOpen(...l),["prevent"]))},[ti("div",{class:Qu(["terminal-text",{truncated:n.truncated}])},ho(n.proteinTerminalText),3),n.determined?Zi("",!0):(Ir(),ei("div",AD,"??")),gt(v,{activator:"parent",modelValue:n.menuOpen,"onUpdate:modelValue":e[4]||(e[4]=l=>n.menuOpen=l),location:"end","open-on-click":!1,"close-on-content-click":!1,width:"200px"},{default:si(()=>[gt(M,null,{default:si(()=>[gt(t,null,{default:si(()=>[gt(m,{modelValue:n.selectedModification,"onUpdate:modelValue":[e[0]||(e[0]=l=>n.selectedModification=l),n.updateSelectedModification],clearable:"",label:"Modification",density:"compact",items:n.modificationsForSelect,"onClick:clear":e[1]||(e[1]=l=>n.selectedModification=void 0)},null,8,["modelValue","items","onUpdate:modelValue"])]),_:1}),n.customSelected?(Ir(),za(t,{key:0},{default:si(()=>[gt(i,{onSubmit:e[3]||(e[3]=jp(()=>{},["prevent"]))},{default:si(()=>[gt(d,{modelValue:n.customModMass,"onUpdate:modelValue":e[2]||(e[2]=l=>n.customModMass=l),"hide-details":"",label:"Monoisotopic mass in Da",type:"number"},null,8,["modelValue"]),gt(y,{type:"submit",block:"",class:"mt-2",onClick:n.updateCustomModification},{default:si(()=>[ea("Submit")]),_:1},8,["onClick"])]),_:1})]),_:1})):Zi("",!0)]),_:1})]),_:1},8,["modelValue"]),gt(h,{activator:"parent"},{default:si(()=>[ea(ho(n.proteinTerminalText),1)]),_:1})],38)}const CD=is(MD,[["render",SD],["__scopeId","data-v-beee67fe"]]);var i6={exports:{}};/*! dom-to-image-more 26-04-2023 */(function(n,e){(function(r){const C=function(){let g=0;return{escape:function(A){return A.replace(/([.*+?^${}()|[]\/\\])/g,"\\$1")},isDataUrl:function(A){return A.search(/^(data:)/)!==-1},canvasToBlob:function(A){return A.toBlob?new Promise(function(L){A.toBlob(L)}):function(L){return new Promise(function(b){var R=h(L.toDataURL().split(",")[1]),I=R.length,O=new Uint8Array(I);for(let z=0;zte.style.removeProperty(X)),["left","right","top","bottom"].forEach(X=>{te.style.getPropertyValue(X)&&te.style.setProperty(X,"0px")})))}H(W,N)}function Y(){const q=C.uid();function H(ne){const te=v(W,ne),Z=te.getPropertyValue("content");if(Z!==""&&Z!=="none"){let ie=function(){const oe=`.${q}:`+ne,ue=(te.cssText?ce:ye)();return document.createTextNode(oe+`{${ue}}`);function ce(){return`${te.cssText} content: ${Z};`}function ye(){return C.asArray(te).map(me).join("; ")+";";function me(pe){const xe=te.getPropertyValue(pe),Pe=te.getPropertyPriority(pe)?" !important":"";return pe+": "+xe+Pe}}};var X=ie;const Q=N.getAttribute("class")||"",re=(N.setAttribute("class",Q+" "+q),document.createElement("style"));re.appendChild(ie()),N.appendChild(re)}}[":before",":after"].forEach(function(ne){H(ne)})}function U(){C.isHTMLTextAreaElement(W)&&(N.innerHTML=W.value),C.isHTMLInputElement(W)&&N.setAttribute("value",W.value)}function G(){C.isSVGElement(N)&&(N.setAttribute("xmlns","http://www.w3.org/2000/svg"),C.isSVGRectElement(N))&&["width","height"].forEach(function(q){const H=N.getAttribute(q);H&&N.style.setProperty(q,H)})}}}(E,S,null)}).then(s).then(o).then(function(E){S.bgcolor&&(E.style.backgroundColor=S.bgcolor),S.width&&(E.style.width=S.width+"px"),S.height&&(E.style.height=S.height+"px"),S.style&&Object.keys(S.style).forEach(function(A){E.style[A]=S.style[A]});let _=null;return typeof S.onclone=="function"&&(_=S.onclone(E)),Promise.resolve(_).then(function(){return E})}).then(function(E){let _=S.width||C.width(E),A=S.height||C.height(E);return Promise.resolve(E).then(function(L){return L.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),new XMLSerializer().serializeToString(L)}).then(C.escapeXhtml).then(function(L){var b=(C.isDimensionMissing(_)?' width="100%"':` width="${_}"`)+(C.isDimensionMissing(A)?' height="100%"':` height="${A}"`);return`${L}`}).then(function(L){return"data:image/svg+xml;charset=utf-8,"+L})}).then(function(E){for(;0{f=null,p={}},2e4)}(),E})}function a(g,S){return l(g,S=S||{}).then(C.makeImage).then(function(x){var T=typeof S.scale!="number"?1:S.scale,E=function(A,L){let b=S.width||C.width(A),R=S.height||C.height(A);return C.isDimensionMissing(b)&&(b=C.isDimensionMissing(R)?300:2*R),C.isDimensionMissing(R)&&(R=b/2),A=document.createElement("canvas"),A.width=b*L,A.height=R*L,S.bgcolor&&((L=A.getContext("2d")).fillStyle=S.bgcolor,L.fillRect(0,0,A.width,A.height)),A}(g,T),_=E.getContext("2d");return _.msImageSmoothingEnabled=!1,_.imageSmoothingEnabled=!1,x&&(_.scale(T,T),_.drawImage(x,0,0)),E})}let u=null;function s(g){return k.resolveAll().then(function(S){var x;return S!==""&&(x=document.createElement("style"),g.appendChild(x),x.appendChild(document.createTextNode(S))),g})}function o(g){return t.inlineAll(g).then(function(){return g})}function c(g,S,x,T,E){const _=i.impl.options.copyDefaultStyles?function(L,I){var I=function(z){var F=[];do if(z.nodeType===M){var B=z.tagName;if(F.push(B),w.includes(B))break}while(z=z.parentNode,z);return F}(I),R=function(z){return(L.styleCaching!=="relaxed"?z:z.filter((F,B,N)=>B===0||B===N.length-1)).join(">")}(I);if(p[R])return p[R];var O=function(){if(u)return u.contentWindow;var z=document.characterSet||"UTF-8",F=document.doctype,F=F?(`":"";return(u=document.createElement("iframe")).id="domtoimage-sandbox-"+C.uid(),u.style.visibility="hidden",u.style.position="fixed",document.body.appendChild(u),function(N,W,j,Y){try{return N.contentWindow.document.write(W+`${Y}`),N.contentWindow}catch{}var U=document.createElement("meta");U.setAttribute("charset",j);try{var G=document.implementation.createHTMLDocument(Y),q=(G.head.appendChild(U),W+G.documentElement.outerHTML);return N.setAttribute("srcdoc",q),N.contentWindow}catch{}return N.contentDocument.head.appendChild(U),N.contentDocument.title=Y,N.contentWindow}(u,F,z,"domtoimage-sandbox");function B(N){var W;return N?((W=document.createElement("div")).innerText=N,W.innerHTML):""}}(),I=function(z,F){let B=z.body;do{var N=F.pop(),N=z.createElement(N);B.appendChild(N),B=N}while(0{const r=this.$refs.downloadLink;r.download="FLASHViewer-sequence.svg",r.href=e,r.click()}).finally(()=>{this.svgDownloadTriggered=!1})}}}),RD={ref:"downloadLink",style:{visibility:"hidden"}};function PD(n,e,r,C,D,k){const m=Hr("v-btn"),t=Hr("v-tooltip"),d=Hr("v-progress-linear"),y=Hr("v-card-text"),i=Hr("v-card"),M=Hr("v-dialog");return Ir(),ei($r,null,[gt(m,{id:"download-button",variant:"text",size:"large",icon:"mdi-download",onClick:n.triggerDownload},null,8,["onClick"]),gt(t,{text:"Save as SVG",location:"bottom",activator:"#download-button"}),ti("a",RD,null,512),gt(M,{modelValue:n.svgDownloadTriggered,"onUpdate:modelValue":e[0]||(e[0]=v=>n.svgDownloadTriggered=v),persistent:"",width:"auto"},{default:si(()=>[gt(i,{color:"primary"},{default:si(()=>[gt(y,null,{default:si(()=>[ea(" Please stand by "),gt(d,{indeterminate:"",color:"white",class:"mb-0"})]),_:1})]),_:1})]),_:1},8,["modelValue"])],64)}const a6=is(ID,[["render",PD]]),OD=$o({name:"SequenceViewInformation",components:{AminoAcidCell:r6},setup(){return{streamlitDataStore:Cs()}},data(){return{dialog:!1,aIon:!0,bIon:!1,cIon:!1,xIon:!0,yIon:!0,zIon:!1,fixed_mod:!1,variable_mod:!1,originalAAClasses:void 0,waterLoss:!1,ammoniumLoss:!1,proton:!1}},computed:{theme(){return this.streamlitDataStore.theme},aaSequenceObject(){return{aminoAcid:"AA",aIon:this.aIon,bIon:this.bIon,cIon:this.cIon,xIon:this.xIon,yIon:this.yIon,zIon:this.zIon,modStart:this.variable_mod,modEnd:this.variable_mod,modMass:"+134.99",truncated:!1,extraTypes:this.extraFragTypes()}}},methods:{setAAWithVarMod(){var e;this.originalAAClasses===void 0&&(this.originalAAClasses=((e=document.getElementById("AA0"))==null?void 0:e.getAttribute("class"))??"");const n=document.getElementById("AA0");if(n){let r=this.originalAAClasses;this.fixed_mod&&(r="sequence-amino-acid-highlighted "+r),n.setAttribute("class",r)}},extraFragTypes(){let n="";if(this.aIon)n="a";else if(this.bIon)n="b";else if(this.cIon)n="c";else if(this.xIon)n="x";else if(this.yIon)n="y";else if(this.zIon)n="z";else return[];let e=[];return this.waterLoss&&e.push(`${n}-H20`),this.ammoniumLoss&&e.push(`${n}-NH3`),this.proton&&(e.push(`${n}-H`),e.push(`${n}+H`)),e}}});const o6=n=>(Ty("data-v-9a6912d6"),n=n(),ky(),n),DD=o6(()=>ti("div",{class:"text-h6 d-flex justify-center"},"Legend for Sequence Map",-1)),zD={class:"d-flex justify-center"},FD={class:"sequence-grid pa-6",style:{width:"150px","max-width":"100%"}},BD={class:"d-flex"},ND={class:"d-flex"},VD=o6(()=>ti("div",{class:"text-subtitle-2 d-flex justify-end align-end"}," * Click checkboxes to see the styles ",-1));function jD(n,e,r,C,D,k){var c;const m=Hr("v-btn"),t=Hr("v-card-title"),d=Hr("v-divider"),y=Hr("AminoAcidCell"),i=Hr("v-checkbox"),M=Hr("v-row"),v=Hr("v-list-item-title"),h=Hr("v-list-item"),l=Hr("v-list"),a=Hr("v-card-text"),u=Hr("v-card-actions"),s=Hr("v-card"),o=Hr("v-dialog");return Ir(),ei($r,null,[gt(m,{id:"info-button",variant:"text",size:"large",icon:"mdi-information"}),gt(o,{modelValue:n.dialog,"onUpdate:modelValue":e[13]||(e[13]=f=>n.dialog=f),activator:"#info-button",width:"auto",theme:((c=n.theme)==null?void 0:c.base)??"light"},{default:si(()=>[gt(s,null,{default:si(()=>[gt(t,null,{default:si(()=>[ea("Sequence View legend")]),_:1}),gt(d),gt(a,null,{default:si(()=>[DD,ti("div",zD,[ti("div",FD,[gt(y,{index:0,"sequence-object":n.aaSequenceObject,onSelected:e[0]||(e[0]=jp(()=>{},["stop"]))},null,8,["sequence-object"])])]),ea(" Fragment ion types "),gt(M,null,{default:si(()=>[ti("div",BD,[gt(i,{modelValue:n.aIon,"onUpdate:modelValue":e[1]||(e[1]=f=>n.aIon=f),label:"a"},null,8,["modelValue"]),gt(i,{modelValue:n.bIon,"onUpdate:modelValue":e[2]||(e[2]=f=>n.bIon=f),label:"b"},null,8,["modelValue"]),gt(i,{modelValue:n.cIon,"onUpdate:modelValue":e[3]||(e[3]=f=>n.cIon=f),label:"c"},null,8,["modelValue"]),gt(i,{modelValue:n.xIon,"onUpdate:modelValue":e[4]||(e[4]=f=>n.xIon=f),label:"x"},null,8,["modelValue"]),gt(i,{modelValue:n.yIon,"onUpdate:modelValue":e[5]||(e[5]=f=>n.yIon=f),label:"y"},null,8,["modelValue"]),gt(i,{modelValue:n.zIon,"onUpdate:modelValue":e[6]||(e[6]=f=>n.zIon=f),label:"z"},null,8,["modelValue"]),gt(i,{modelValue:n.waterLoss,"onUpdate:modelValue":e[7]||(e[7]=f=>n.waterLoss=f),label:"water loss"},null,8,["modelValue"]),gt(i,{modelValue:n.ammoniumLoss,"onUpdate:modelValue":e[8]||(e[8]=f=>n.ammoniumLoss=f),label:"ammonium loss"},null,8,["modelValue"]),gt(i,{modelValue:n.proton,"onUpdate:modelValue":e[9]||(e[9]=f=>n.proton=f),label:"proton loss/addition"},null,8,["modelValue"])])]),_:1}),ea(" Modifications "),ti("div",ND,[gt(i,{modelValue:n.fixed_mod,"onUpdate:modelValue":[e[10]||(e[10]=f=>n.fixed_mod=f),n.setAAWithVarMod],label:"Fixed modifications","hide-details":"",density:"comfortable"},null,8,["modelValue","onUpdate:modelValue"]),gt(i,{modelValue:n.variable_mod,"onUpdate:modelValue":[e[11]||(e[11]=f=>n.variable_mod=f),n.setAAWithVarMod],label:"Variable modifications","hide-details":"",density:"comfortable"},null,8,["modelValue","onUpdate:modelValue"]),VD]),gt(l,{density:"compact"},{default:si(()=>[gt(v,null,{default:si(()=>[ea("Interaction tips")]),_:1}),gt(h,null,{default:si(()=>[ea("Left click: highlights corresponding entries in Fragment Table and Mass Table")]),_:1}),gt(h,null,{default:si(()=>[ea("Right click: opens variable modification menu (custom modification is available)")]),_:1})]),_:1})]),_:1}),gt(u,null,{default:si(()=>[gt(m,{color:"primary",block:"true",onClick:e[12]||(e[12]=f=>n.dialog=!1)},{default:si(()=>[ea("Close")]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue","theme"])],64)}const UD=is(OD,[["render",jD],["__scopeId","data-v-9a6912d6"]]),HD=$o({name:"SequenceView",components:{SequenceViewInformation:UD,TabulatorTable:y0,AminoAcidCell:r6,ProteinTerminalCell:CD,SvgScreenshot:a6},props:{index:{type:Number,required:!0}},setup(){const n=Cs(),e=Mu(),r=W2();return{streamlitDataStore:n,selectionStore:e,variableModData:r}},data(){return{rowWidth:35,massData:[],massTitle:"",ionTypes:[{text:"a",selected:!1},{text:"b",selected:!0},{text:"c",selected:!1},{text:"x",selected:!1},{text:"y",selected:!0},{text:"z",selected:!1}],ionTypesExtra:{"water loss":!1,"ammonium loss":!1,"proton loss/addition":!1},fragmentMassTolerance:10,visibilityOptions:[{text:"Fragments",selected:!0},{text:"Modifications",selected:!0}],fragmentTableColumnDefinitions:[{title:"Name",field:"Name",headerTooltip:"The name of the fragment ion, represented in Biemann notation."},{title:"Ion type",field:"IonType",headerTooltip:"The type of fragment ion identified in the spectrum."},{title:"Ion number",field:"IonNumber",sorter:"number",headerTooltip:"The position of the fragment ion within the sequence."},{title:"Theoretical mass",field:"TheoreticalMass",sorter:"number",headerTooltip:"The expected mass of the fragment ion."},{title:"Observed mass",field:"ObservedMass",formatter:Dh(),sorter:"number",headerTooltip:"The mass of the fragment ion as observed in the spectrum."},{title:"Mass difference (Da)",field:"MassDiffDa",sorter:"number",headerTooltip:"The difference between the observed and theoretical masses of the fragment ion, in Daltons."},{title:"Mass difference (ppm)",field:"MassDiffPpm",sorter:"number",headerTooltip:"The difference between the observed and theoretical masses of the fragment ion, in parts per million (ppm)."}],fragmentTableData:[],fragmentTableTitle:"",residueCleavagePercentage:0,sequenceObjects:[],selectedFragTableRowIndex:void 0}},computed:{theme(){return this.streamlitDataStore.theme},selectedSequence(){const n=this.selectionStore.selectedProteinIndex;return typeof n=="number"?n:0},selectedTag(){return this.selectionStore.selectedTag},sequence(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.sequence)??[]},sequence_start_reported(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.proteoform_start)??0},sequence_start(){return this.sequence_start_reported<0?0:this.sequence_start_reported},n_truncation(){return this.sequence_start>0},n_determined(){return this.sequence_start_reported>=0},sequence_end_reported(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.proteoform_end)??this.sequence.length-1},sequence_end(){return this.sequence_end_reported<0?this.sequence.length-1:this.sequence_end_reported},c_truncation(){return this.sequence_end=0},modifications(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.modifications)??[]},coverage(){var e,r;const n=this.selectedSequence;return typeof n=="number"?((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.coverage)??[]:[]},maxCoverage(){var e,r;const n=this.selectedSequence;return typeof n=="number"?((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.maxCoverage)??-1:-1},theoreticalMass(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.theoretical_mass)??0},computedMass(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),(r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.computed_mass},fixedModificationSites(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.fixed_modifications)??[]},variableModifications(){return this.variableModData.variableModifications??{}},tickLabels(){return{20:"20",25:"25",30:"30",35:"35",40:"40"}},gridClasses(){return{"sequence-grid":!0,[`grid-width-${this.rowWidth}`]:!0}},proteinTerminalCellStyles(){var n;return{"--amino-acid-cell-hover-color":"#fff","--amino-acid-cell-hover-bg-color":((n=this.theme)==null?void 0:n.secondaryBackgroundColor)??"#000"}},selectedScanIndex(){if(this.selectionStore.selectedScanIndex!==void 0)return this.streamlitDataStore.allDataForDrawing.per_scan_data.length===1?0:this.selectionStore.selectedScanIndex},calculateCleavagePercentage(){let n=0;for(let e=0,r=this.sequenceObjects.length-1;ee.text==="Tags"))!=null&&n.selected):!1},showTruncations(){var n;return this.displayTnT?!!((n=this.visibilityOptions.find(e=>e.text==="Truncations"))!=null&&n.selected):!1},showModifications(){var n;return!!((n=this.visibilityOptions.find(e=>e.text==="Modifications"))!=null&&n.selected)},showFragments(){var n;return!!((n=this.visibilityOptions.find(e=>e.text==="Fragments"))!=null&&n.selected)}},watch:{selectedScanIndex(){this.preparePrecursorInfo(),this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},sequence(){this.selectionStore.updateSelectedAA(void 0),this.preparePrecursorInfo(),this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications(),this.updateSettings()},selectedTag(){this.updateTagPosition()},fragmentMassTolerance(){this.preparePrecursorInfo(),this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},ionTypes:{handler(){this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},deep:!0},ionTypesExtra:{handler(){this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},deep:!0},variableModifications(){this.preparePrecursorInfo(),this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()}},mounted(){this.selectionStore.updateSelectedAA(void 0),this.initializeSequenceObjects(),this.preparePrecursorInfo(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},methods:{getFragmentMasses(n){var r;let e=this.selectedSequence;return e===void 0&&(e=0),(r=this.streamlitDataStore.sequenceData)==null?void 0:r[e][`fragment_masses_${n}`]},updateMassTolerance(n){this.fragmentMassTolerance=Number.parseInt(n.target.value)},updateSettings(){var n,e;((n=this.streamlitDataStore.settings)==null?void 0:n.ion_types)!==void 0&&this.ionTypes.forEach(r=>{r.selected=this.streamlitDataStore.settings.ion_types.includes(r.text)}),((e=this.streamlitDataStore.settings)==null?void 0:e.tolerance)!==void 0&&(this.fragmentMassTolerance=this.streamlitDataStore.settings.tolerance)},toggleIonTypeSelected(n){this.ionTypes[n].selected=!this.ionTypes[n].selected},preparePrecursorInfo(){if(this.selectedScanIndex==null){this.massData=[];return}if(this.computedMass!==void 0){this.massTitle="Proteoform";let D="-",k="-";this.computedMass>0&&(D=this.computedMass.toFixed(2),k=Math.abs(this.theoreticalMass-this.computedMass).toFixed(2)),this.massData=[`Theoretical protein mass : ${this.theoreticalMass.toFixed(2)}`,`Observed proteoform mass : ${D}`,`Δ Mass (Da) : ${k}`],this.visibilityOptions.some(m=>m.text==="Tags")||(this.visibilityOptions.push({text:"Truncations",selected:!0}),this.visibilityOptions.push({text:"Tags",selected:!0}),this.updateSettings()),this.ionTypesExtra["ammonium loss"]=!1,this.ionTypesExtra["water loss"]=!1,this.ionTypesExtra["proton loss/addition"]=!1;return}const e=this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScanIndex].PrecursorMass;if(e===0){this.massData=[];return}let r=this.theoreticalMass;this.variableModData.isEmpty||(this.variableModifications.valueOf(),Object.values(this.variableModifications).forEach(D=>{r+=D}));const C=Math.abs(r-e);this.massTitle="Precursor",this.massData=[`Theoretical mass : ${r.toFixed(2)}`,`Observed mass : ${e.toFixed(2)}`,`Δ Mass (Da) : ${C.toFixed(2)}`]},prepareFragmentTable(){if(this.sequence.length<=0){this.fragmentTableTitle="";return}if(this.selectedScanIndex===void 0){this.fragmentTableTitle="";return}const e=this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScanIndex].MonoMass;let r=[];const C=this.sequence_end;this.ionTypes.filter(D=>D.selected).forEach(D=>{if((D.text==="a"||D.text==="b"||D.text==="c")&&this.sequence_start_reported<0||(D.text==="x"||D.text==="y"||D.text==="z")&&this.sequence_end_reported<0)return;const k=this.getFragmentMasses(D.text);for(let m=0,t=k.length;m{this.variableModData.isEmpty||((D.text==="a"||D.text==="b"||D.text==="c")&&Object.entries(this.variableModifications).forEach(([M,v])=>{parseInt(M)<=d&&(y+=v)}),(D.text==="x"||D.text==="y"||D.text==="z")&&Object.entries(this.variableModifications).forEach(([M,v])=>{C-parseInt(M)<=d&&(y+=v)}));const i=Object.entries(DO).filter(([M])=>this.ionTypesExtra[M]||M==="default").map(([M,v])=>v).flat();for(let M=0,v=e.length;M{const a=y+l,u=e[M]-a,s=u/a*1e6;if(Math.abs(s)>this.fragmentMassTolerance)return;const o={Name:`${D.text}${m+1}`,IonType:`${D.text}${h}`,IonNumber:m+1,TheoreticalMass:a.toFixed(3),ObservedMass:e[M],MassDiffDa:u.toFixed(3),MassDiffPpm:s.toFixed(3)};r.push(o);let c=d;(D.text==="a"||D.text==="b"||D.text==="c")&&(this.sequenceObjects[c][`${D.text}Ion`]=!0),(D.text==="x"||D.text==="y"||D.text==="z")&&(this.sequenceObjects[C-m][`${D.text}Ion`]=!0,c=C-m),h&&this.sequenceObjects[d].extraTypes.push(`${D.text}${h}`)})})}}),this.residueCleavagePercentage=this.calculateCleavagePercentage,this.fragmentTableData=r,this.fragmentTableTitle=`Matching fragments (# ${r.length})`},fixedModification(n){return this.fixedModificationSites.includes(n)},initializeSequenceObjects(){this.sequenceObjects=[],this.sequence.forEach((n,e)=>{const r=this.coverage[e];let C=!1;(this.sequence_start>e||this.sequence_endC.Name===e),this.selectionStore.selectedAminoAcid(this.fragmentTableData[this.selectedFragTableRowIndex].ObservedMass)},updateTagPosition(){this.sequence.length<=0||(this.sequenceObjects.length!==this.sequence.length&&this.initializeSequenceObjects(),this.sequence.forEach((n,e)=>{var D,k;const r=((D=this.selectedTag)==null?void 0:D.startPos)==e,C=((k=this.selectedTag)==null?void 0:k.endPos)==e;this.sequenceObjects[e].tagStart=r,this.sequenceObjects[e].tagEnd=C}))},prepareAmbigiousModifications(){this.modifications.forEach(n=>{const e=n.start,r=n.end,C=n.mass_diff.toFixed(2),D=n.labels,k=parseFloat(C).toLocaleString("en-US",{signDisplay:"always"});for(let m=e;m<=r;m++)m==e&&(this.sequenceObjects[m].modStart=!0),m==r&&(this.sequenceObjects[m].modEnd=!0,this.sequenceObjects[m].modMass=k,this.sequenceObjects[m].modLabels=D),m!=e&&m!=r&&(this.sequenceObjects[m].modCenter=!0)})}}});const $2=n=>(Ty("data-v-14f01162"),n=n(),ky(),n),GD=$2(()=>ti("div",{class:"d-flex justify-center"},[ti("h4",null,"Sequence View")],-1)),qD={class:"sequence-and-scale"},WD={id:"sequence-part"},$D={class:"d-flex justify-space-evenly"},YD={class:"d-flex justify-end px-4 mb-4"},ZD={class:"d-flex justify-space-evenly"},XD={class:"d-flex justify-space-evenly"},KD={class:"d-flex justify-space-evenly"},JD={key:0,class:"d-flex justify-center align-center"},QD={key:3,class:"d-flex justify-center align-center"},ez={key:0,class:"scale-container",title:"Sequence Tag Coverage"},tz={class:"scale-text"},nz=$2(()=>ti("div",{class:"scale"},null,-1)),rz=$2(()=>ti("div",{class:"scale-text"},"1x",-1)),iz={id:"sequence-view-table"};function az(n,e,r,C,D,k){var w;const m=Hr("v-divider"),t=Hr("SvgScreenshot"),d=Hr("SequenceViewInformation"),y=Hr("v-btn"),i=Hr("v-list-item-title"),M=Hr("v-slider"),v=Hr("v-list-item"),h=Hr("v-checkbox"),l=Hr("v-text-field"),a=Hr("v-list"),u=Hr("v-card"),s=Hr("v-menu"),o=Hr("ProteinTerminalCell"),c=Hr("AminoAcidCell"),f=Hr("TabulatorTable"),p=Hr("v-sheet");return Ir(),ei($r,null,[GD,gt(p,{class:"pa-4 rounded-lg",style:{"max-width":"97%"},theme:((w=n.theme)==null?void 0:w.base)??"light",border:""},{default:si(()=>[ti("div",qD,[ti("div",WD,[ti("div",$D,[n.massData.length!=0?(Ir(),ei($r,{key:0},[ti("h3",null,ho(n.massTitle),1),gt(m,{vertical:!0}),(Ir(!0),ei($r,null,Hl(n.massData,(g,S)=>(Ir(),ei($r,{key:S},[ea(ho(g)+" ",1),gt(m,{vertical:!0})],64))),128))],64)):Zi("",!0)]),ti("div",YD,[ti("div",null,[gt(t,{"element-id":"sequence-part"}),gt(d),gt(y,{id:"settings-button",variant:"text",icon:"mdi-cog",size:"large"}),gt(s,{"close-on-content-click":!1,activator:"#settings-button",location:"bottom"},{default:si(()=>[gt(u,{"min-width":"300"},{default:si(()=>[gt(a,null,{default:si(()=>[gt(v,null,{default:si(()=>[gt(i,null,{default:si(()=>[ea("# amino acids per row")]),_:1}),gt(M,{modelValue:n.rowWidth,"onUpdate:modelValue":e[0]||(e[0]=g=>n.rowWidth=g),ticks:n.tickLabels,min:20,max:40,step:"5","show-ticks":"always","tick-size":"4"},null,8,["modelValue","ticks"])]),_:1}),gt(v,null,{default:si(()=>[gt(i,null,{default:si(()=>[ea("Visibility")]),_:1}),ti("div",ZD,[(Ir(!0),ei($r,null,Hl(n.visibilityOptions,g=>(Ir(),za(h,{key:g.text,modelValue:g.selected,"onUpdate:modelValue":S=>g.selected=S,"hide-details":"",density:"comfortable",label:g.text},null,8,["modelValue","onUpdate:modelValue","label"]))),128))])]),_:1}),gt(v,null,{default:si(()=>[gt(i,null,{default:si(()=>[ea("Fragment ion types")]),_:1}),ti("div",XD,[(Ir(!0),ei($r,null,Hl(n.ionTypes,(g,S)=>(Ir(),za(h,{key:g.text,modelValue:g.selected,"onUpdate:modelValue":x=>g.selected=x,"hide-details":"",density:"comfortable",label:g.text,onClick:x=>n.toggleIonTypeSelected(S),disabled:!n.showFragments},null,8,["modelValue","onUpdate:modelValue","label","onClick","disabled"]))),128))]),ti("div",KD,[(Ir(!0),ei($r,null,Hl(Object.keys(n.ionTypesExtra),g=>(Ir(),za(h,{key:g,modelValue:n.ionTypesExtra[g],"onUpdate:modelValue":S=>n.ionTypesExtra[g]=S,"hide-details":"",density:"comfortable",label:g,disabled:!n.showFragments},null,8,["modelValue","onUpdate:modelValue","label","disabled"]))),128))])]),_:1}),gt(v,null,{default:si(()=>[gt(i,null,{default:si(()=>[ea("Fragment mass tolerance")]),_:1}),gt(l,{modelValue:n.fragmentMassTolerance,"onUpdate:modelValue":e[1]||(e[1]=g=>n.fragmentMassTolerance=g),type:"number","hide-details":"auto",label:"mass tolerance in ppm",onChange:n.updateMassTolerance,disabled:!n.showFragments},null,8,["modelValue","onChange","disabled"])]),_:1})]),_:1})]),_:1})]),_:1})])]),ti("div",{class:Qu(["pb-4 px-2",n.gridClasses]),style:{width:"100%","max-width":"100%"}},[(Ir(!0),ei($r,null,Hl(n.sequenceObjects,(g,S)=>(Ir(),ei($r,{key:S},[n.showTruncations&&S!==0&&S%n.rowWidth===0||!n.showTruncations&&S-n.sequence_start!==0&&(S-n.sequence_start)%n.rowWidth===0&&Sn.sequence_start?(Ir(),ei("div",JD,ho(n.showTruncations?S+1:S-n.sequence_start+1),1)):Zi("",!0),S===0?(Ir(),za(o,{key:1,"protein-terminal":"N-term",truncated:n.n_truncation,index:-1,"disable-variable-modification-selection":n.disableVariableModifications,determined:n.n_determined},null,8,["truncated","disable-variable-modification-selection","determined"])):Zi("",!0),n.showTruncations||n.sequence_start<=S&&n.sequence_end>=S?(Ir(),za(c,{key:2,index:S,"sequence-object":g,"fixed-modification":n.fixedModification(g.aminoAcid),"disable-variable-modification-selection":n.disableVariableModifications,showTags:n.showTags,showFragments:n.showFragments,showModifications:n.showModifications,onSelected:n.aminoAcidSelected},null,8,["index","sequence-object","fixed-modification","disable-variable-modification-selection","showTags","showFragments","showModifications","onSelected"])):Zi("",!0),n.showTruncations&&S%n.rowWidth===n.rowWidth-1&&S!==n.sequence.length-1||!n.showTruncations&&(S-n.sequence_start)%n.rowWidth===n.rowWidth-1&&Sn.sequence_start?(Ir(),ei("div",QD,ho(n.showTruncations?S+1:S-n.sequence_start+1),1)):Zi("",!0),S===n.sequence.length-1?(Ir(),za(o,{key:4,"protein-terminal":"C-term",truncated:n.c_truncation,index:n.sequence.length,"disable-variable-modification-selection":n.disableVariableModifications,determined:n.c_determined},null,8,["truncated","index","disable-variable-modification-selection","determined"])):Zi("",!0)],64))),128))],2)]),n.maxCoverage>0&&n.showTags?(Ir(),ei("div",ez,[ti("div",tz,ho(n.maxCoverage+"x"),1),nz,rz])):Zi("",!0)]),ti("div",iz,[n.fragmentTableTitle!==""&&n.showFragments?(Ir(),za(f,{key:0,"table-data":n.fragmentTableData,"column-definitions":n.fragmentTableColumnDefinitions,index:n.index,"selected-row-index-from-listening":n.selectedFragTableRowIndex,"table-layout-param":"fitColumns"},{default:si(()=>[ea(ho(n.fragmentTableTitle),1)]),"end-title-row":si(()=>[ea("% Residue cleavage: "+ho(n.residueCleavagePercentage.toFixed(3))+"%",1)]),_:1},8,["table-data","column-definitions","index","selected-row-index-from-listening"])):Zi("",!0)])]),_:1},8,["theme"])],64)}const oz=is(HD,[["render",az],["__scopeId","data-v-14f01162"]]),sz=$o({name:"FLASHQuantView",components:{TabulatorTable:y0},setup(){return{streamlitDataStore:Cs()}},data(){return{setHeightInterval:null,featureGroupTableColumnDefinitions:[{title:"Index",field:"FeatureGroupIndex"},{title:"Monoisotopic Mass",field:"MonoisotopicMass"},{title:"Average Mass",field:"AverageMass"},{title:"Start Retention Time (FWHM)",field:"StartRetentionTime(FWHM)"},{title:"End Retention Time (FWHM)",field:"EndRetentionTime(FWHM)"},{title:"Feature Group Quantity",field:"FeatureGroupQuantity"},{title:"Feature Group Quantity",field:"FeatureGroupQuantity"},{title:"Min Charge",field:"MinCharge"},{title:"Max Charge",field:"MaxCharge"},{title:"Most Abundant Charge",field:"MostAbundantFeatureCharge"},{title:"Isotope Cosine Score",field:"IsotopeCosineScore"}],selectedFeatureGroupIndex:void 0,maximumIntensity:0}},computed:{theme(){return this.streamlitDataStore.theme},featureGroupTableData(){return this.streamlitDataStore.dataForDrawing.quant_data},trace3DgraphLayout(){var n,e,r,C;return{title:"Feature group signals",paper_bgcolor:(n=this.theme)==null?void 0:n.backgroundColor,plot_bgcolor:(e=this.theme)==null?void 0:e.secondaryBackgroundColor,height:800,font:{color:(r=this.theme)==null?void 0:r.textColor,family:(C=this.theme)==null?void 0:C.font},scene:{xaxis:{title:"m/z"},yaxis:{title:"retention time"},zaxis:{title:"intensity",range:[0,this.maximumIntensity]}},showlegend:!0}}},watch:{selectedFeatureGroupIndex(){this.trace3DGraph()}},mounted(){this.setHeightInterval=setInterval(()=>$u.setFrameHeight(),500)},unmounted(){this.setHeightInterval!==null&&clearInterval(this.setHeightInterval)},methods:{async trace3DGraph(){await es.newPlot("trace3Dplot",this.trace3DgraphData(),this.trace3DgraphLayout,{responsive:!0})},updateSelectedFeatureGroupRow(n){n!==void 0&&(this.selectedFeatureGroupIndex=n)},trace3DgraphData(){if(this.selectedFeatureGroupIndex===void 0)return[];const n=this.featureGroupTableData[this.selectedFeatureGroupIndex],e=[...new Set(n.Charges)],r={};e.forEach(k=>{r[k]={mzs:[],rts:[],intys:[]}}),n.Charges.forEach((k,m)=>{const t=n.MZs[m].split(",").map(parseFloat),d=n.RTs[m].split(",").map(parseFloat),y=n.Intensities[m].split(",").map(parseFloat);r[k].mzs.push(t[0]),r[k].rts.push(d[0]),r[k].intys.push(-1e3),r[k].mzs.push(...t),r[k].rts.push(...d),r[k].intys.push(...y),r[k].mzs.push(t[-1]),r[k].rts.push(d[-1]),r[k].intys.push(-1e3)}),this.maximumIntensity=Math.max.apply(null,Object.values(r).map(k=>Math.max.apply(null,k.intys)));let D=[];return Object.entries(r).forEach(([k,m])=>{D.push({x:m.mzs,y:m.rts,z:m.intys,mode:"lines",line:{color:"#3366CC"},type:"scatter3d",name:`Charge: ${k}`})}),D}}}),lz={class:"pa-4"},uz=ti("div",{id:"trace3Dplot",style:{width:"90%"}},null,-1);function cz(n,e,r,C,D,k){const m=Hr("TabulatorTable"),t=Hr("v-row");return Ir(),ei("div",lz,[gt(t,{class:"flex-nowrap"},{default:si(()=>[n.featureGroupTableData?(Ir(),za(m,{key:0,title:"Feature groups",index:0,"table-data":n.featureGroupTableData,"column-definitions":n.featureGroupTableColumnDefinitions,"table-index-field":"FeatureGroupIndex",onRowSelected:n.updateSelectedFeatureGroupRow,"default-row":0},null,8,["table-data","column-definitions","onRowSelected"])):Zi("",!0)]),_:1}),uz])}const fz=is(sz,[["render",cz]]),hz=$o({name:"InternalFragmentMap",components:{SvgScreenshot:a6},props:{index:{type:Number,required:!0}},setup(){const n=Cs(),e=Mu();return{streamlitData:n,selectionStore:e}},data(){return{fragmentMassTolerance:10,fragmentMassToleranceUnit:"ppm",fragmentMassTypes:{by:!0,cy:!0,bz:!0},fragmentDisplayOverlay:!1,fragOpacity:.2,fragOpacityMin:.01,fragOpacityMax:1}},computed:{theme(){return this.streamlitData.theme},internalFragmentData(){var n;return(n=this.streamlitData.internalFragmentData)==null?void 0:n[this.selectedSequence]},selectedSequence(){const n=this.selectionStore.selectedProteinIndex;return typeof n=="number"?n:0},displayTnT(){var e,r;let n=this.selectedSequence;return((r=(e=this.streamlitData.sequenceData)==null?void 0:e[n])==null?void 0:r.computed_mass)!==void 0},sequence(){var r,C,D,k;const n=(r=this.streamlitData.sequenceData)==null?void 0:r[this.selectedSequence].proteoform_start,e=(C=this.streamlitData.sequenceData)==null?void 0:C[this.selectedSequence].proteoform_end;return n!==void 0&&e!==void 0?(D=this.streamlitData.sequenceData)==null?void 0:D[this.selectedSequence].sequence.slice(n,e+1):(k=this.streamlitData.sequenceData)==null?void 0:k[this.selectedSequence].sequence},fragmentStyle(){var n;return{height:(94/(((n=this.sequence)==null?void 0:n.length)??1)).toFixed(2)+"vw","--frag-block-opacity-value":this.fragOpacity}},fragmentTypeContainerStyle(){return{height:this.fragmentDisplayOverlay?this.fragmentStyle.height:"auto"}},fragmentTypeOverlayStyle(){return{position:this.fragmentDisplayOverlay?"absolute":"static"}},fragmentDisplayOverlayLabels(){return this.fragmentDisplayOverlay?"Overlay fragments from the same type":"Stacked"},selectedScanInfo(){if(this.selectionStore.selectedScanIndex!==void 0)return this.streamlitData.allDataForDrawing.per_scan_data.length==1?this.streamlitData.allDataForDrawing.per_scan_data[0]:this.streamlitData.allDataForDrawing.per_scan_data[this.selectionStore.selectedScanIndex]},byData(){var C,D,k;if(this.selectedScanInfo===void 0||!((C=this.internalFragmentData)!=null&&C.fragment_masses_by)||!((D=this.internalFragmentData)!=null&&D.start_indices_by)||!((k=this.internalFragmentData)!=null&&k.end_indices_by))return[];if(this.selectedScanInfo.PrecursorMass===0&&!this.displayTnT)return[];const e=[],r=this.selectedScanInfo.MonoMass;return this.filterMatchingMasses(r,this.internalFragmentData.fragment_masses_by,this.internalFragmentData.start_indices_by,this.internalFragmentData.end_indices_by,e),e},cyData(){var C,D,k;if(this.selectedScanInfo===void 0||!((C=this.internalFragmentData)!=null&&C.fragment_masses_cy)||!((D=this.internalFragmentData)!=null&&D.start_indices_cy)||!((k=this.internalFragmentData)!=null&&k.end_indices_cy))return[];if(this.selectedScanInfo.PrecursorMass===0&&!this.displayTnT)return[];const e=[],r=this.selectedScanInfo.MonoMass;return this.filterMatchingMasses(r,this.internalFragmentData.fragment_masses_cy,this.internalFragmentData.start_indices_cy,this.internalFragmentData.end_indices_cy,e),e},bzData(){var C,D,k;if(this.selectedScanInfo===void 0||!((C=this.internalFragmentData)!=null&&C.fragment_masses_bz)||!((D=this.internalFragmentData)!=null&&D.start_indices_bz)||!((k=this.internalFragmentData)!=null&&k.end_indices_bz))return[];if(this.selectedScanInfo.PrecursorMass===0&&!this.displayTnT)return[];const e=[],r=this.selectedScanInfo.MonoMass;return this.filterMatchingMasses(r,this.internalFragmentData.fragment_masses_bz,this.internalFragmentData.start_indices_bz,this.internalFragmentData.end_indices_bz,e),e}},methods:{updateMassTolerance(n){this.fragmentMassTolerance=Number.parseInt(n.target.value)},fragmentClasses(n,e,r,C){const D=n>e&&n<=r;let k=C;return this.fragmentDisplayOverlay&&(k+="-overlayed"),{[k]:D,"not-in-fragment":!D}},filterMatchingMasses(n,e,r,C,D){for(let k=0,m=e.length;kthis.fragmentMassTolerance)){D.push({mass:t,start:r[k],end:C[k]});break}}}}}});const dz=n=>(Ty("data-v-ece55ad7"),n=n(),ky(),n),pz=dz(()=>ti("div",{class:"d-flex justify-center"},[ti("h4",null,"Internal Fragment Map")],-1)),mz={class:"d-flex justify-space-between"},gz=jE('
by/cz
bz
cy
',1),vz={class:"d-flex justify-end px-4 mb-4",style:{"max-width":"97%"}},yz={class:"d-flex"},bz={class:"d-flex justify-space-between"},xz={id:"internal-fragment-part"},_z={class:"d-flex",style:{"border-bottom":"white","border-bottom-width":"1px","border-bottom-style":"solid"}};function wz(n,e,r,C,D,k){var s;const m=Hr("SvgScreenshot"),t=Hr("v-btn"),d=Hr("v-list-item-title"),y=Hr("v-switch"),i=Hr("v-list-item"),M=Hr("v-text-field"),v=Hr("v-slider"),h=Hr("v-list"),l=Hr("v-card"),a=Hr("v-menu"),u=Hr("v-sheet");return Ir(),ei($r,null,[pz,ti("div",mz,[gz,ti("div",vz,[gt(m,{"element-id":"internal-fragment-part"}),gt(t,{id:"internal-frag-settings-button",variant:"text",icon:"mdi-cog",size:"medium"}),gt(a,{"close-on-content-click":!1,activator:"#internal-frag-settings-button",location:"bottom"},{default:si(()=>[gt(l,{"min-width":"300"},{default:si(()=>[gt(h,null,{default:si(()=>[gt(i,null,{default:si(()=>[gt(d,null,{default:si(()=>[ea("Fragments display style")]),_:1}),ti("div",yz,[gt(y,{modelValue:n.fragmentDisplayOverlay,"onUpdate:modelValue":e[0]||(e[0]=o=>n.fragmentDisplayOverlay=o),"hide-details":"",label:`${n.fragmentDisplayOverlayLabels}`,class:"mr-4"},null,8,["modelValue","label"])])]),_:1}),gt(i,null,{default:si(()=>[gt(d,null,{default:si(()=>[ea("Opacity of each fragment (If overlay display style)")]),_:1}),ti("div",{style:Ys({background:`rgba(240, 164, 65, ${n.fragOpacity})`})},[gt(v,{modelValue:n.fragOpacity,"onUpdate:modelValue":e[2]||(e[2]=o=>n.fragOpacity=o),class:"align-center ml-4",max:n.fragOpacityMax,min:n.fragOpacityMin,"hide-details":""},{append:si(()=>[gt(M,{modelValue:n.fragOpacity,"onUpdate:modelValue":e[1]||(e[1]=o=>n.fragOpacity=o),"hide-details":"","single-line":"",min:n.fragOpacityMin,max:n.fragOpacityMax,step:"0.01",density:"compact",type:"number",class:"textFieldFontSize"},null,8,["modelValue","min","max"])]),_:1},8,["modelValue","max","min"])],4)]),_:1}),gt(i,null,{default:si(()=>[gt(d,null,{default:si(()=>[ea("Fragment mass tolerance")]),_:1}),ti("div",bz,[gt(y,{modelValue:n.fragmentMassToleranceUnit,"onUpdate:modelValue":e[3]||(e[3]=o=>n.fragmentMassToleranceUnit=o),"true-value":"ppm","false-value":"Da","hide-details":"",label:`${n.fragmentMassToleranceUnit}`,class:"mr-4"},null,8,["modelValue","label"]),gt(M,{modelValue:n.fragmentMassTolerance,"onUpdate:modelValue":e[4]||(e[4]=o=>n.fragmentMassTolerance=o),type:"number","hide-details":"auto",label:"mass tolerance",onChange:n.updateMassTolerance},null,8,["modelValue","onChange"])])]),_:1})]),_:1})]),_:1})]),_:1})])]),gt(u,{class:"pa-4 rounded-lg",style:{"max-width":"97%"},theme:((s=n.theme)==null?void 0:s.base)??"light",border:""},{default:si(()=>[ti("div",xz,[ti("div",_z,[(Ir(!0),ei($r,null,Hl(n.sequence,(o,c)=>(Ir(),ei("div",{key:`${o}-${c}`,class:"d-flex justify-center align-center fragment-segment sequence-text",style:Ys(n.fragmentStyle)},ho(o),5))),128))]),ti("div",{style:Ys(n.fragmentTypeContainerStyle)},[(Ir(!0),ei($r,null,Hl(n.byData,o=>(Ir(),ei("div",{key:o.mass,class:"d-flex",style:Ys(n.fragmentTypeOverlayStyle)},[(Ir(!0),ei($r,null,Hl(n.sequence,(c,f)=>(Ir(),ei("div",{key:`${c}-${f}`,class:Qu(n.fragmentClasses(f,o.start,o.end,"by-fragment")),style:Ys([{border:"1px solid white"},n.fragmentStyle])},null,6))),128))],4))),128))],4),ti("div",{style:Ys(n.fragmentTypeContainerStyle)},[(Ir(!0),ei($r,null,Hl(n.cyData,o=>(Ir(),ei("div",{key:o.mass,class:"d-flex",style:Ys(n.fragmentTypeOverlayStyle)},[(Ir(!0),ei($r,null,Hl(n.sequence,(c,f)=>(Ir(),ei("div",{key:`${c}-${f}`,class:Qu(n.fragmentClasses(f,o.start,o.end,"cy-fragment")),style:Ys([{border:"1px solid white"},n.fragmentStyle])},null,6))),128))],4))),128))],4),ti("div",{style:Ys(n.fragmentTypeContainerStyle)},[(Ir(!0),ei($r,null,Hl(n.bzData,o=>(Ir(),ei("div",{key:o.mass,class:"d-flex",style:Ys(n.fragmentTypeOverlayStyle)},[(Ir(!0),ei($r,null,Hl(n.sequence,(c,f)=>(Ir(),ei("div",{key:`${c}-${f}`,class:Qu(n.fragmentClasses(f,o.start,o.end,"bz-fragment")),style:Ys([{border:"1px solid white"},n.fragmentStyle])},null,6))),128))],4))),128))],4)])]),_:1},8,["theme"])],64)}const Tz=is(hz,[["render",wz],["__scopeId","data-v-ece55ad7"]]),kz=$o({name:"FDRPlotly",props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Cs();return console.log("I exist!"),{streamlitDataStore:n}},computed:{xValues_target(){return this.streamlitDataStore.allDataForDrawing.density_target===void 0?[]:this.streamlitDataStore.allDataForDrawing.density_target.map(n=>n.x)},xValues_decoy(){return this.streamlitDataStore.allDataForDrawing.density_decoy===void 0?[]:this.streamlitDataStore.allDataForDrawing.density_decoy.map(n=>n.x)},yValues_target(){return this.streamlitDataStore.allDataForDrawing.density_target===void 0?[]:this.streamlitDataStore.allDataForDrawing.density_target.map(n=>n.y)},yValues_decoy(){return this.streamlitDataStore.allDataForDrawing.density_decoy===void 0?[]:this.streamlitDataStore.allDataForDrawing.density_decoy.map(n=>n.y)},id(){return`graph-${this.index}`},layout(){return{title:`${this.args.title}`,showlegend:!0,height:400,xaxis:{title:"QScore",showgrid:!1},yaxis:{title:"Density",showgrid:!0,rangemode:"nonnegative",fixedrange:!0},paper_bgcolor:"white",plot_bgcolor:"white",font:{color:"black",family:"Arial"}}},data(){return[{x:this.xValues_target,y:this.yValues_target,mode:"lines+markers",type:"scatter",name:"Target QScores",marker:{color:"green"}},{x:this.xValues_decoy,y:this.yValues_decoy,mode:"lines+markers",type:"scatter",name:"Decoy QScores",marker:{color:"red"}}]}},watch:{xValues_target(){this.graph()}},mounted(){this.graph()},methods:{async graph(){await es.newPlot(this.id,this.data,this.layout,{modeBarButtonsToRemove:["toImage","sendDataToCloud"],modeBarButtonsToAdd:[{title:"Download as SVG",name:"toImageSvg",icon:es.Icons.camera,click:n=>{es.downloadImage(n,{filename:"FDR-plot",height:400,width:1200,format:"svg"})}}]})}}}),Mz=["id"];function Az(n,e,r,C,D,k){return Ir(),ei("div",{id:n.id,style:{width:"100%"}},null,8,Mz)}const Sz=is(kz,[["render",Az]]),Cz=$o({name:"ComponentsRow",components:{InternalFragmentMap:Tz,FLASHQuantView:fz,Plotly3Dplot:MO,PlotlyHeatmap:sR,TabulatorScanTable:dO,PlotlyLineplot:vO,PlotlyLineplotTagger:_O,TabulatorMassTable:CO,TabulatorProteinTable:IO,TabulatorTagTable:OO,SequenceView:oz,FDRPlotly:Sz},props:{components:{type:Object,required:!0},rowIndex:{type:Number,required:!0}},data(){return{componentHeightMapping:{TabulatorScanTable:"height-any",TabulatorMassTable:"height-any",TabulatorProteinTable:"height-any",TabulatorTagTable:"height-any",PlotlyLineplot:"height-any",PlotlyLineplotTagger:"height-any",PlotlyHeatmap:"height-any",Plotly3Dplot:"height-any",SequenceView:"height-any",InternalFragmentMap:"height-any",FDRPlotly:"height-any"}}},methods:{componentClasses(n){return{[this.componentHeightMapping[n]]:!0,[`component-width-${this.components.length}`]:!0}},componentIndex(n){return n+this.rowIndex*100}}});const Ez={class:"component-row"};function Lz(n,e,r,C,D,k){const m=Hr("PlotlyHeatmap"),t=Hr("TabulatorScanTable"),d=Hr("TabulatorMassTable"),y=Hr("TabulatorProteinTable"),i=Hr("TabulatorTagTable"),M=Hr("PlotlyLineplot"),v=Hr("PlotlyLineplotTagger"),h=Hr("Plotly3Dplot"),l=Hr("SequenceView"),a=Hr("InternalFragmentMap"),u=Hr("FLASHQuantView"),s=Hr("FDRPlotly");return Ir(),ei("div",Ez,[(Ir(!0),ei($r,null,Hl(n.components,(o,c)=>(Ir(),ei("div",{key:c,class:Qu(n.componentClasses(o.componentArgs.componentName))},[o.componentArgs.componentName==="PlotlyHeatmap"?(Ir(),za(m,{key:0,args:o.componentArgs,index:n.componentIndex(c)},null,8,["args","index"])):o.componentArgs.componentName==="TabulatorScanTable"?(Ir(),za(t,{key:1,args:o.componentArgs,index:n.componentIndex(c)},null,8,["args","index"])):o.componentArgs.componentName==="TabulatorMassTable"?(Ir(),za(d,{key:2,args:o.componentArgs,index:n.componentIndex(c)},null,8,["args","index"])):o.componentArgs.componentName==="TabulatorProteinTable"?(Ir(),za(y,{key:3,args:o.componentArgs,index:n.componentIndex(c)},null,8,["args","index"])):o.componentArgs.componentName==="TabulatorTagTable"?(Ir(),za(i,{key:4,args:o.componentArgs,index:n.componentIndex(c)},null,8,["args","index"])):o.componentArgs.componentName==="PlotlyLineplot"?(Ir(),za(M,{key:5,args:o.componentArgs,index:n.componentIndex(c)},null,8,["args","index"])):o.componentArgs.componentName==="PlotlyLineplotTagger"?(Ir(),za(v,{key:6,args:o.componentArgs,index:n.componentIndex(c)},null,8,["args","index"])):o.componentArgs.componentName==="Plotly3Dplot"?(Ir(),za(h,{key:7,args:o.componentArgs,index:n.componentIndex(c)},null,8,["args","index"])):o.componentArgs.componentName==="SequenceView"?(Ir(),za(l,{key:8,index:n.componentIndex(c)},null,8,["index"])):o.componentArgs.componentName==="InternalFragmentMap"?(Ir(),za(a,{key:9,index:n.componentIndex(c)},null,8,["index"])):o.componentArgs.componentName==="FLASHQuantView"?(Ir(),za(u,{key:10})):o.componentArgs.componentName==="FDRPlotly"?(Ir(),za(s,{key:11,args:o.componentArgs,index:n.componentIndex(c)},null,8,["args","index"])):Zi("",!0)],2))),128))])}const Iz=is(Cz,[["render",Lz],["__scopeId","data-v-5f0d2ddf"]]),Rz=$o({name:"ComponentsLayout",components:{ComponentsRow:Iz},props:{components:{type:Object,required:!0}},data(){return{columns:6}},methods:{componentRowClasses(){return{"[`height-${layout.height ?? 1}`]":!0,[`component-width-${this.components.length}`]:!0}}}});const Pz={class:"component-layout"};function Oz(n,e,r,C,D,k){const m=Hr("ComponentsRow");return Ir(),ei("div",Pz,[(Ir(!0),ei($r,null,Hl(n.components,(t,d)=>(Ir(),za(m,{key:d,components:t,"row-index":d},null,8,["components","row-index"]))),128))])}const Dz=is(Rz,[["render",Oz],["__scopeId","data-v-721e06dc"]]),zz=$o({name:"App",components:{ComponentsLayout:Dz},setup(){const n=Cs(),e=Mu();return Yr(e.$state,r=>{$u.setComponentValue(wi(r))},{deep:!0,immediate:!0}),{streamlitDataStore:n,selectionStore:e}},data(){return{timer:void 0}},computed:{components(){var n;return(n=this.streamlitDataStore.args)==null?void 0:n.components}},created(){$u.setComponentReady(),$u.setFrameHeight(500),$u.events.addEventListener($u.RENDER_EVENT,this.updateStreamlitData)},mounted(){this.timer=setInterval(()=>{$u.setFrameHeight()},500)},unmounted(){$u.events.removeEventListener($u.RENDER_EVENT,this.updateStreamlitData),clearInterval(this.timer)},updated(){$u.setFrameHeight()},methods:{async updateStreamlitData(n){this.streamlitDataStore.updateRenderData(n.detail)}}});const Fz={key:0},Bz={key:1,class:"d-flex w-100",style:{height:"400px"}};function Nz(n,e,r,C,D,k){const m=Hr("ComponentsLayout"),t=Hr("v-progress-linear"),d=Hr("v-alert");return n.components!==void 0&&n.components.length>0?(Ir(),ei("div",Fz,[gt(m,{components:n.components},null,8,["components"])])):(Ir(),ei("div",Bz,[gt(d,{class:"h-50 ma-16 pr-16",icon:"mdi-application-variable-outline",title:"FLASHViewer loading",type:"info"},{default:si(()=>[gt(t,{indeterminate:""}),ea(" Please wait... ")]),_:1})]))}const Vz=is(zz,[["render",Nz]]);const to=typeof window<"u",Y2=to&&"IntersectionObserver"in window,jz=to&&("ontouchstart"in window||window.navigator.maxTouchPoints>0);function y5(n,e,r){Uz(n,e),e.set(n,r)}function Uz(n,e){if(e.has(n))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Hz(n,e,r){var C=s6(n,e,"set");return Gz(n,C,r),r}function Gz(n,e,r){if(e.set)e.set.call(n,r);else{if(!e.writable)throw new TypeError("attempted to set read only private field");e.value=r}}function _d(n,e){var r=s6(n,e,"get");return qz(n,r)}function s6(n,e,r){if(!e.has(n))throw new TypeError("attempted to "+r+" private field on non-instance");return e.get(n)}function qz(n,e){return e.get?e.get.call(n):e.value}function l6(n,e,r){const C=e.length-1;if(C<0)return n===void 0?r:n;for(let D=0;Db0(n[C],e[C]))}function ix(n,e,r){return n==null||!e||typeof e!="string"?r:n[e]!==void 0?n[e]:(e=e.replace(/\[(\w+)\]/g,".$1"),e=e.replace(/^\./,""),l6(n,e.split("."),r))}function mf(n,e,r){if(e==null)return n===void 0?r:n;if(n!==Object(n)){if(typeof e!="function")return r;const D=e(n,r);return typeof D>"u"?r:D}if(typeof e=="string")return ix(n,e,r);if(Array.isArray(e))return l6(n,e,r);if(typeof e!="function")return r;const C=e(n,r);return typeof C>"u"?r:C}function Jf(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:n},(r,C)=>e+C)}function Qr(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(!(n==null||n===""))return isNaN(+n)?String(n):isFinite(+n)?`${Number(n)}${e}`:void 0}function ax(n){return n!==null&&typeof n=="object"&&!Array.isArray(n)}function ox(n){return n&&"$el"in n?n.$el:n}const b5=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16}),sx=Object.freeze({enter:"Enter",tab:"Tab",delete:"Delete",esc:"Escape",space:"Space",up:"ArrowUp",down:"ArrowDown",left:"ArrowLeft",right:"ArrowRight",end:"End",home:"Home",del:"Delete",backspace:"Backspace",insert:"Insert",pageup:"PageUp",pagedown:"PageDown",shift:"Shift"});function u6(n){return Object.keys(n)}function Od(n,e){return e.every(r=>n.hasOwnProperty(r))}function Yd(n,e,r){const C=Object.create(null),D=Object.create(null);for(const k in n)e.some(m=>m instanceof RegExp?m.test(k):m===k)&&!(r!=null&&r.some(m=>m===k))?C[k]=n[k]:D[k]=n[k];return[C,D]}function ic(n,e){const r={...n};return e.forEach(C=>delete r[C]),r}const c6=/^on[^a-z]/,Z2=n=>c6.test(n),Wz=["onAfterscriptexecute","onAnimationcancel","onAnimationend","onAnimationiteration","onAnimationstart","onAuxclick","onBeforeinput","onBeforescriptexecute","onChange","onClick","onCompositionend","onCompositionstart","onCompositionupdate","onContextmenu","onCopy","onCut","onDblclick","onFocusin","onFocusout","onFullscreenchange","onFullscreenerror","onGesturechange","onGestureend","onGesturestart","onGotpointercapture","onInput","onKeydown","onKeypress","onKeyup","onLostpointercapture","onMousedown","onMousemove","onMouseout","onMouseover","onMouseup","onMousewheel","onPaste","onPointercancel","onPointerdown","onPointerenter","onPointerleave","onPointermove","onPointerout","onPointerover","onPointerup","onReset","onSelect","onSubmit","onTouchcancel","onTouchend","onTouchmove","onTouchstart","onTransitioncancel","onTransitionend","onTransitionrun","onTransitionstart","onWheel"];function Qd(n){const[e,r]=Yd(n,[c6]),C=ic(e,Wz),[D,k]=Yd(r,["class","style","id",/^data-/]);return Object.assign(D,e),Object.assign(k,C),[D,k]}function bu(n){return n==null?[]:Array.isArray(n)?n:[n]}function Xs(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(e,Math.min(r,n))}function x5(n){const e=n.toString().trim();return e.includes(".")?e.length-e.indexOf(".")-1:0}function _5(n,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0";return n+r.repeat(Math.max(0,e-n.length))}function $z(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const r=[];let C=0;for(;C1&&arguments[1]!==void 0?arguments[1]:1e3;if(n=e&&C0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;const C={};for(const D in n)C[D]=n[D];for(const D in e){const k=n[D],m=e[D];if(ax(k)&&ax(m)){C[D]=Ju(k,m,r);continue}if(Array.isArray(k)&&Array.isArray(m)&&r){C[D]=r(k,m);continue}C[D]=m}return C}function f6(n){return n.map(e=>e.type===$r?f6(e.children):e).flat()}function Ud(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(Ud.cache.has(n))return Ud.cache.get(n);const e=n.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return Ud.cache.set(n,e),e}Ud.cache=new Map;function ym(n,e){if(!e||typeof e!="object")return[];if(Array.isArray(e))return e.map(r=>ym(n,r)).flat(1);if(Array.isArray(e.children))return e.children.map(r=>ym(n,r)).flat(1);if(e.component){if(Object.getOwnPropertySymbols(e.component.provides).includes(n))return[e.component];if(e.component.subTree)return ym(n,e.component.subTree).flat(1)}return[]}var sv=new WeakMap,Sp=new WeakMap;class Yz{constructor(e){y5(this,sv,{writable:!0,value:[]}),y5(this,Sp,{writable:!0,value:0}),this.size=e}push(e){_d(this,sv)[_d(this,Sp)]=e,Hz(this,Sp,(_d(this,Sp)+1)%this.size)}values(){return _d(this,sv).slice(_d(this,Sp)).concat(_d(this,sv).slice(0,_d(this,Sp)))}}function Zz(n){return"touches"in n?{clientX:n.touches[0].clientX,clientY:n.touches[0].clientY}:{clientX:n.clientX,clientY:n.clientY}}function X2(n){const e=bl({}),r=cn(n);return wu(()=>{for(const C in r.value)e[C]=r.value[C]},{flush:"sync"}),by(e)}function ly(n,e){return n.includes(e)}function h6(n){return n[2].toLowerCase()+n.slice(3)}const bf=()=>[Function,Array];function T5(n,e){return e="on"+sh(e),!!(n[e]||n[`${e}Once`]||n[`${e}Capture`]||n[`${e}OnceCapture`]||n[`${e}CaptureOnce`])}function K2(n){for(var e=arguments.length,r=new Array(e>1?e-1:0),C=1;C1&&arguments[1]!==void 0?arguments[1]:!0;const r=["button","[href]",'input:not([type="hidden"])',"select","textarea","[tabindex]"].map(C=>`${C}${e?':not([tabindex="-1"])':""}:not([disabled])`).join(", ");return[...n.querySelectorAll(r)]}function d6(n,e,r){let C,D=n.indexOf(document.activeElement);const k=e==="next"?1:-1;do D+=k,C=n[D];while((!C||C.offsetParent==null||!((r==null?void 0:r(C))??!0))&&D=0);return C}function uy(n,e){var C,D,k,m;const r=Dm(n);if(!e)(n===document.activeElement||!n.contains(document.activeElement))&&((C=r[0])==null||C.focus());else if(e==="first")(D=r[0])==null||D.focus();else if(e==="last")(k=r.at(-1))==null||k.focus();else if(typeof e=="number")(m=r[e])==null||m.focus();else{const t=d6(r,e);t?t.focus():uy(n,e==="next"?"first":"last")}}function p6(){}function l0(n,e){if(!(to&&typeof CSS<"u"&&typeof CSS.supports<"u"&&CSS.supports(`selector(${e})`)))return null;try{return!!n&&n.matches(e)}catch{return null}}const m6=["top","bottom"],Xz=["start","end","left","right"];function lx(n,e){let[r,C]=n.split(" ");return C||(C=ly(m6,r)?"start":ly(Xz,r)?"top":"center"),{side:ux(r,e),align:ux(C,e)}}function ux(n,e){return n==="start"?e?"right":"left":n==="end"?e?"left":"right":n}function gb(n){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[n.side],align:n.align}}function vb(n){return{side:n.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[n.align]}}function k5(n){return{side:n.align,align:n.side}}function M5(n){return ly(m6,n.side)?"y":"x"}class $p{constructor(e){let{x:r,y:C,width:D,height:k}=e;this.x=r,this.y=C,this.width=D,this.height=k}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function A5(n,e){return{x:{before:Math.max(0,e.left-n.left),after:Math.max(0,n.right-e.right)},y:{before:Math.max(0,e.top-n.top),after:Math.max(0,n.bottom-e.bottom)}}}function J2(n){const e=n.getBoundingClientRect(),r=getComputedStyle(n),C=r.transform;if(C){let D,k,m,t,d;if(C.startsWith("matrix3d("))D=C.slice(9,-1).split(/, /),k=+D[0],m=+D[5],t=+D[12],d=+D[13];else if(C.startsWith("matrix("))D=C.slice(7,-1).split(/, /),k=+D[0],m=+D[3],t=+D[4],d=+D[5];else return new $p(e);const y=r.transformOrigin,i=e.x-t-(1-k)*parseFloat(y),M=e.y-d-(1-m)*parseFloat(y.slice(y.indexOf(" ")+1)),v=k?e.width/k:n.offsetWidth+1,h=m?e.height/m:n.offsetHeight+1;return new $p({x:i,y:M,width:v,height:h})}else return new $p(e)}function Dd(n,e,r){if(typeof n.animate>"u")return{finished:Promise.resolve()};let C;try{C=n.animate(e,r)}catch{return{finished:Promise.resolve()}}return typeof C.finished>"u"&&(C.finished=new Promise(D=>{C.onfinish=()=>{D(C)}})),C}const Tv=new WeakMap;function Kz(n,e){Object.keys(e).forEach(r=>{if(Z2(r)){const C=h6(r),D=Tv.get(n);if(e[r]==null)D==null||D.forEach(k=>{const[m,t]=k;m===C&&(n.removeEventListener(C,t),D.delete(k))});else if(!D||![...D].some(k=>k[0]===C&&k[1]===e[r])){n.addEventListener(C,e[r]);const k=D||new Set;k.add([C,e[r]]),Tv.has(n)||Tv.set(n,k)}}else e[r]==null?n.removeAttribute(r):n.setAttribute(r,e[r])})}function Jz(n,e){Object.keys(e).forEach(r=>{if(Z2(r)){const C=h6(r),D=Tv.get(n);D==null||D.forEach(k=>{const[m,t]=k;m===C&&(n.removeEventListener(C,t),D.delete(k))})}else n.removeAttribute(r)})}const Cp=2.4,S5=.2126729,C5=.7151522,E5=.072175,Qz=.55,eF=.58,tF=.57,nF=.62,lv=.03,L5=1.45,rF=5e-4,iF=1.25,aF=1.25,I5=.078,R5=12.82051282051282,uv=.06,P5=.001;function O5(n,e){const r=(n.r/255)**Cp,C=(n.g/255)**Cp,D=(n.b/255)**Cp,k=(e.r/255)**Cp,m=(e.g/255)**Cp,t=(e.b/255)**Cp;let d=r*S5+C*C5+D*E5,y=k*S5+m*C5+t*E5;if(d<=lv&&(d+=(lv-d)**L5),y<=lv&&(y+=(lv-y)**L5),Math.abs(y-d)d){const M=(y**Qz-d**eF)*iF;i=M-P5?0:M>-I5?M-M*R5*uv:M+uv}return i*100}function oF(n,e){e=Array.isArray(e)?e.slice(0,-1).map(r=>`'${r}'`).join(", ")+` or '${e.at(-1)}'`:`'${e}'`}const cy=.20689655172413793,sF=n=>n>cy**3?Math.cbrt(n):n/(3*cy**2)+4/29,lF=n=>n>cy?n**3:3*cy**2*(n-4/29);function g6(n){const e=sF,r=e(n[1]);return[116*r-16,500*(e(n[0]/.95047)-r),200*(r-e(n[2]/1.08883))]}function v6(n){const e=lF,r=(n[0]+16)/116;return[e(r+n[1]/500)*.95047,e(r),e(r-n[2]/200)*1.08883]}const uF=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],cF=n=>n<=.0031308?n*12.92:1.055*n**(1/2.4)-.055,fF=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],hF=n=>n<=.04045?n/12.92:((n+.055)/1.055)**2.4;function y6(n){const e=Array(3),r=cF,C=uF;for(let D=0;D<3;++D)e[D]=Math.round(Xs(r(C[D][0]*n[0]+C[D][1]*n[1]+C[D][2]*n[2]))*255);return{r:e[0],g:e[1],b:e[2]}}function Q2(n){let{r:e,g:r,b:C}=n;const D=[0,0,0],k=hF,m=fF;e=k(e/255),r=k(r/255),C=k(C/255);for(let t=0;t<3;++t)D[t]=m[t][0]*e+m[t][1]*r+m[t][2]*C;return D}function D5(n){return!!n&&/^(#|var\(--|(rgb|hsl)a?\()/.test(n)}const z5=/^(?(?:rgb|hsl)a?)\((?.+)\)/,dF={rgb:(n,e,r,C)=>({r:n,g:e,b:r,a:C}),rgba:(n,e,r,C)=>({r:n,g:e,b:r,a:C}),hsl:(n,e,r,C)=>F5({h:n,s:e,l:r,a:C}),hsla:(n,e,r,C)=>F5({h:n,s:e,l:r,a:C}),hsv:(n,e,r,C)=>ih({h:n,s:e,v:r,a:C}),hsva:(n,e,r,C)=>ih({h:n,s:e,v:r,a:C})};function Pc(n){if(typeof n=="number")return{r:(n&16711680)>>16,g:(n&65280)>>8,b:n&255};if(typeof n=="string"&&z5.test(n)){const{groups:e}=n.match(z5),{fn:r,values:C}=e,D=C.split(/,\s*/).map(k=>k.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(r)?parseFloat(k)/100:parseFloat(k));return dF[r](...D)}else if(typeof n=="string"){let e=n.startsWith("#")?n.slice(1):n;return[3,4].includes(e.length)?e=e.split("").map(r=>r+r).join(""):[6,8].includes(e.length),T6(e)}else if(typeof n=="object"){if(Od(n,["r","g","b"]))return n;if(Od(n,["h","s","l"]))return ih(e_(n));if(Od(n,["h","s","v"]))return ih(n)}throw new TypeError(`Invalid color: ${n==null?n:String(n)||n.constructor.name} -Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function ih(n){const{h:e,s:r,v:C,a:D}=n,k=t=>{const d=(t+e/60)%6;return C-C*r*Math.max(Math.min(d,4-d,1),0)},m=[k(5),k(3),k(1)].map(t=>Math.round(t*255));return{r:m[0],g:m[1],b:m[2],a:D}}function F5(n){return ih(e_(n))}function Xy(n){if(!n)return{h:0,s:1,v:1,a:1};const e=n.r/255,r=n.g/255,C=n.b/255,D=Math.max(e,r,C),k=Math.min(e,r,C);let m=0;D!==k&&(D===e?m=60*(0+(r-C)/(D-k)):D===r?m=60*(2+(C-e)/(D-k)):D===C&&(m=60*(4+(e-r)/(D-k)))),m<0&&(m=m+360);const t=D===0?0:(D-k)/D,d=[m,t,D];return{h:d[0],s:d[1],v:d[2],a:n.a}}function b6(n){const{h:e,s:r,v:C,a:D}=n,k=C-C*r/2,m=k===1||k===0?0:(C-k)/Math.min(k,1-k);return{h:e,s:m,l:k,a:D}}function e_(n){const{h:e,s:r,l:C,a:D}=n,k=C+r*Math.min(C,1-C),m=k===0?0:2-2*C/k;return{h:e,s:m,v:k,a:D}}function x6(n){let{r:e,g:r,b:C,a:D}=n;return D===void 0?`rgb(${e}, ${r}, ${C})`:`rgba(${e}, ${r}, ${C}, ${D})`}function _6(n){return x6(ih(n))}function cv(n){const e=Math.round(n).toString(16);return("00".substr(0,2-e.length)+e).toUpperCase()}function w6(n){let{r:e,g:r,b:C,a:D}=n;return`#${[cv(e),cv(r),cv(C),D!==void 0?cv(Math.round(D*255)):""].join("")}`}function T6(n){n=mF(n);let[e,r,C,D]=$z(n,2).map(k=>parseInt(k,16));return D=D===void 0?D:D/255,{r:e,g:r,b:C,a:D}}function pF(n){const e=T6(n);return Xy(e)}function k6(n){return w6(ih(n))}function mF(n){return n.startsWith("#")&&(n=n.slice(1)),n=n.replace(/([^0-9a-f])/gi,"F"),(n.length===3||n.length===4)&&(n=n.split("").map(e=>e+e).join("")),n.length!==6&&(n=_5(_5(n,6),8,"F")),n}function gF(n,e){const r=g6(Q2(n));return r[0]=r[0]+e*10,y6(v6(r))}function vF(n,e){const r=g6(Q2(n));return r[0]=r[0]-e*10,y6(v6(r))}function cx(n){const e=Pc(n);return Q2(e)[1]}function yF(n,e){const r=cx(n),C=cx(e),D=Math.max(r,C),k=Math.min(r,C);return(D+.05)/(k+.05)}function M6(n){const e=Math.abs(O5(Pc(0),Pc(n)));return Math.abs(O5(Pc(16777215),Pc(n)))>Math.min(e,50)?"#fff":"#000"}function ur(n,e){return r=>Object.keys(n).reduce((C,D)=>{const m=typeof n[D]=="object"&&n[D]!=null&&!Array.isArray(n[D])?n[D]:{type:n[D]};return r&&D in r?C[D]={...m,default:r[D]}:C[D]=m,e&&!C[D].source&&(C[D].source=e),C},{})}const Zr=ur({class:[String,Array],style:{type:[String,Array,Object],default:null}},"component");function ac(n){if(n._setup=n._setup??n.setup,!n.name)return n;if(n._setup){n.props=ur(n.props??{},n.name)();const e=Object.keys(n.props);n.filterProps=function(C){return Yd(C,e,["class","style"])},n.props._as=String,n.setup=function(C,D){const k=r_();if(!k.value)return n._setup(C,D);const{props:m,provideSubDefaults:t}=AF(C,C._as??n.name,k),d=n._setup(m,D);return t(),d}}return n}function Ar(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return e=>(n?ac:$o)(e)}function Nc(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",r=arguments.length>2?arguments[2]:void 0;return Ar()({name:r??sh(nc(n.replace(/__/g,"-"))),props:{tag:{type:String,default:e},...Zr()},setup(C,D){let{slots:k}=D;return()=>{var m;return Xh(C.tag,{class:[n,C.class],style:C.style},(m=k.default)==null?void 0:m.call(k))}}})}function A6(n){if(typeof n.getRootNode!="function"){for(;n.parentNode;)n=n.parentNode;return n!==document?null:document}const e=n.getRootNode();return e!==document&&e.getRootNode({composed:!0})!==document?null:e}const zm="cubic-bezier(0.4, 0, 0.2, 1)",bF="cubic-bezier(0.0, 0, 0.2, 1)",xF="cubic-bezier(0.4, 0, 1, 1)";function Es(n,e){const r=Ey();if(!r)throw new Error(`[Vuetify] ${n} ${e||"must be called from inside a setup function"}`);return r}function hh(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables";const e=Es(n).type;return Ud((e==null?void 0:e.aliasName)||(e==null?void 0:e.name))}let S6=0,kv=new WeakMap;function Qs(){const n=Es("getUid");if(kv.has(n))return kv.get(n);{const e=S6++;return kv.set(n,e),e}}Qs.reset=()=>{S6=0,kv=new WeakMap};function t_(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(;n;){if(e?_F(n):n_(n))return n;n=n.parentElement}return document.scrollingElement}function fy(n,e){const r=[];if(e&&n&&!e.contains(n))return r;for(;n&&(n_(n)&&r.push(n),n!==e);)n=n.parentElement;return r}function n_(n){if(!n||n.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(n);return e.overflowY==="scroll"||e.overflowY==="auto"&&n.scrollHeight>n.clientHeight}function _F(n){if(!n||n.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(n);return["scroll","auto"].includes(e.overflowY)}function wF(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Es("injectSelf");const{provides:r}=e;if(r&&n in r)return r[n]}function TF(n){for(;n;){if(window.getComputedStyle(n).position==="fixed")return!0;n=n.offsetParent}return!1}function Or(n){const e=Es("useRender");e.render=n}const u0=Symbol.for("vuetify:defaults");function kF(n){return Vr(n)}function r_(){const n=ka(u0);if(!n)throw new Error("[Vuetify] Could not find defaults instance");return n}function ns(n,e){const r=r_(),C=Vr(n),D=cn(()=>{if(yu(e==null?void 0:e.disabled))return r.value;const m=yu(e==null?void 0:e.scoped),t=yu(e==null?void 0:e.reset),d=yu(e==null?void 0:e.root);if(C.value==null&&!(m||t||d))return r.value;let y=Ju(C.value,{prev:r.value});if(m)return y;if(t||d){const i=Number(t||1/0);for(let M=0;M<=i&&!(!y||!("prev"in y));M++)y=y.prev;return y&&typeof d=="string"&&d in y&&(y=Ju(Ju(y,{prev:y}),y[d])),y}return y.prev?Ju(y.prev,y):y});return rs(u0,D),D}function MF(n,e){var r,C;return typeof((r=n.props)==null?void 0:r[e])<"u"||typeof((C=n.props)==null?void 0:C[Ud(e)])<"u"}function AF(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:r_();const C=Es("useDefaults");if(e=e??C.type.name??C.type.__name,!e)throw new Error("[Vuetify] Could not determine component name");const D=cn(()=>{var d;return(d=r.value)==null?void 0:d[n._as??e]}),k=new Proxy(n,{get(d,y){var M,v,h,l;const i=Reflect.get(d,y);return y==="class"||y==="style"?[(M=D.value)==null?void 0:M[y],i].filter(a=>a!=null):typeof y=="string"&&!MF(C.vnode,y)?((v=D.value)==null?void 0:v[y])??((l=(h=r.value)==null?void 0:h.global)==null?void 0:l[y])??i:i}}),m=Wr();wu(()=>{if(D.value){const d=Object.entries(D.value).filter(y=>{let[i]=y;return i.startsWith(i[0].toUpperCase())});m.value=d.length?Object.fromEntries(d):void 0}else m.value=void 0});function t(){const d=wF(u0,C);rs(u0,cn(()=>m.value?Ju((d==null?void 0:d.value)??{},m.value):d==null?void 0:d.value))}return{props:k,provideSubDefaults:t}}const Ky=["sm","md","lg","xl","xxl"],fx=Symbol.for("vuetify:display"),B5={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}},SF=function(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:B5;return Ju(B5,n)};function N5(n){return to&&!n?window.innerWidth:typeof n=="object"&&n.clientWidth||0}function V5(n){return to&&!n?window.innerHeight:typeof n=="object"&&n.clientHeight||0}function j5(n){const e=to&&!n?window.navigator.userAgent:"ssr";function r(l){return!!e.match(l)}const C=r(/android/i),D=r(/iphone|ipad|ipod/i),k=r(/cordova/i),m=r(/electron/i),t=r(/chrome/i),d=r(/edge/i),y=r(/firefox/i),i=r(/opera/i),M=r(/win/i),v=r(/mac/i),h=r(/linux/i);return{android:C,ios:D,cordova:k,electron:m,chrome:t,edge:d,firefox:y,opera:i,win:M,mac:v,linux:h,touch:jz,ssr:e==="ssr"}}function CF(n,e){const{thresholds:r,mobileBreakpoint:C}=SF(n),D=Wr(V5(e)),k=Wr(j5(e)),m=bl({}),t=Wr(N5(e));function d(){D.value=V5(),t.value=N5()}function y(){d(),k.value=j5()}return wu(()=>{const i=t.value=r.xxl,u=i?"xs":M?"sm":v?"md":h?"lg":l?"xl":"xxl",s=typeof C=="number"?C:r[C],o=t.valueXh(a_,{...n,class:"mdi"})},bi=[String,Function,Object,Array],hx=Symbol.for("vuetify:icons"),Jy=ur({icon:{type:bi},tag:{type:String,required:!0}},"icon"),dx=Ar()({name:"VComponentIcon",props:Jy(),setup(n,e){let{slots:r}=e;return()=>{const C=n.icon;return gt(n.tag,null,{default:()=>{var D;return[n.icon?gt(C,null,null):(D=r.default)==null?void 0:D.call(r)]}})}}}),i_=ac({name:"VSvgIcon",inheritAttrs:!1,props:Jy(),setup(n,e){let{attrs:r}=e;return()=>gt(n.tag,qr(r,{style:null}),{default:()=>[gt("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(n.icon)?n.icon.map(C=>Array.isArray(C)?gt("path",{d:C[0],"fill-opacity":C[1]},null):gt("path",{d:C},null)):gt("path",{d:n.icon},null)])]})}}),IF=ac({name:"VLigatureIcon",props:Jy(),setup(n){return()=>gt(n.tag,null,{default:()=>[n.icon]})}}),a_=ac({name:"VClassIcon",props:Jy(),setup(n){return()=>gt(n.tag,{class:n.icon},null)}}),RF={svg:{component:i_},class:{component:a_}};function PF(n){return Ju({defaultSet:"mdi",sets:{...RF,mdi:LF},aliases:{...EF,vuetify:["M8.2241 14.2009L12 21L22 3H14.4459L8.2241 14.2009Z",["M7.26303 12.4733L7.00113 12L2 3H12.5261C12.5261 3 12.5261 3 12.5261 3L7.26303 12.4733Z",.6]],"vuetify-outline":"svg:M7.26 12.47 12.53 3H2L7.26 12.47ZM14.45 3 8.22 14.2 12 21 22 3H14.45ZM18.6 5 12 16.88 10.51 14.2 15.62 5ZM7.26 8.35 5.4 5H9.13L7.26 8.35Z"}},n)}const OF=n=>{const e=ka(hx);if(!e)throw new Error("Missing Vuetify Icons provide!");return{iconData:cn(()=>{var d;const C=yu(n);if(!C)return{component:dx};let D=C;if(typeof D=="string"&&(D=D.trim(),D.startsWith("$")&&(D=(d=e.aliases)==null?void 0:d[D.slice(1)])),!D)throw new Error(`Could not find aliased icon "${C}"`);if(Array.isArray(D))return{component:i_,icon:D};if(typeof D!="string")return{component:dx,icon:D};const k=Object.keys(e.sets).find(y=>typeof D=="string"&&D.startsWith(`${y}:`)),m=k?D.slice(k.length+1):D;return{component:e.sets[k??e.defaultSet].component,icon:m}})}},DF={badge:"Badge",open:"Open",close:"Close",dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},dateRangeInput:{divider:"to"},datePicker:{ok:"OK",cancel:"Cancel",range:{title:"Select dates",header:"Enter dates"},title:"Select date",header:"Enter date",input:{placeholder:"Enter date"}},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action",otp:"Please enter OTP character {0}"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},timePicker:{am:"AM",pm:"PM"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Go to page {0}",currentPage:"Page {0}, Current page",first:"First page",last:"Last page"}},stepper:{next:"Next",prev:"Previous"},rating:{ariaLabel:{item:"Rating {0} of {1}"}},loading:"Loading...",infiniteScroll:{loadMore:"Load more",empty:"No more"}},zF={af:!1,ar:!0,bg:!1,ca:!1,ckb:!1,cs:!1,de:!1,el:!1,en:!1,es:!1,et:!1,fa:!0,fi:!1,fr:!1,hr:!1,hu:!1,he:!0,id:!1,it:!1,ja:!1,ko:!1,lv:!1,lt:!1,nl:!1,no:!1,pl:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,srCyrl:!1,srLatn:!1,sv:!1,th:!1,tr:!1,az:!1,uk:!1,vi:!1,zhHans:!1,zhHant:!1};function Yh(n,e){let r;function C(){r=Um(),r.run(()=>e.length?e(()=>{r==null||r.stop(),C()}):e())}Yr(n,D=>{D&&!r?C():D||(r==null||r.stop(),r=void 0)},{immediate:!0}),Tl(()=>{r==null||r.stop()})}function xi(n,e,r){let C=arguments.length>3&&arguments[3]!==void 0?arguments[3]:M=>M,D=arguments.length>4&&arguments[4]!==void 0?arguments[4]:M=>M;const k=Es("useProxiedModel"),m=Vr(n[e]!==void 0?n[e]:r),t=Ud(e),y=cn(t!==e?()=>{var M,v,h,l;return n[e],!!(((M=k.vnode.props)!=null&&M.hasOwnProperty(e)||(v=k.vnode.props)!=null&&v.hasOwnProperty(t))&&((h=k.vnode.props)!=null&&h.hasOwnProperty(`onUpdate:${e}`)||(l=k.vnode.props)!=null&&l.hasOwnProperty(`onUpdate:${t}`)))}:()=>{var M,v;return n[e],!!((M=k.vnode.props)!=null&&M.hasOwnProperty(e)&&((v=k.vnode.props)!=null&&v.hasOwnProperty(`onUpdate:${e}`)))});Yh(()=>!y.value,()=>{Yr(()=>n[e],M=>{m.value=M})});const i=cn({get(){const M=n[e];return C(y.value?M:m.value)},set(M){const v=D(M),h=wi(y.value?n[e]:m.value);h===v||C(h)===M||(m.value=v,k==null||k.emit(`update:${e}`,v))}});return Object.defineProperty(i,"externalValue",{get:()=>y.value?n[e]:m.value}),i}const U5="$vuetify.",H5=(n,e)=>n.replace(/\{(\d+)\}/g,(r,C)=>String(e[+C])),C6=(n,e,r)=>function(C){for(var D=arguments.length,k=new Array(D>1?D-1:0),m=1;mnew Intl.NumberFormat([n.value,e.value],C).format(r)}function yb(n,e,r){const C=xi(n,e,n[e]??r.value);return C.value=n[e]??r.value,Yr(r,D=>{n[e]==null&&(C.value=r.value)}),C}function L6(n){return e=>{const r=yb(e,"locale",n.current),C=yb(e,"fallback",n.fallback),D=yb(e,"messages",n.messages);return{name:"vuetify",current:r,fallback:C,messages:D,t:C6(r,C,D),n:E6(r,C),provide:L6({current:r,fallback:C,messages:D})}}}function FF(n){const e=Wr((n==null?void 0:n.locale)??"en"),r=Wr((n==null?void 0:n.fallback)??"en"),C=Vr({en:DF,...n==null?void 0:n.messages});return{name:"vuetify",current:e,fallback:r,messages:C,t:C6(e,r,C),n:E6(e,r),provide:L6({current:e,fallback:r,messages:C})}}const c0=Symbol.for("vuetify:locale");function BF(n){return n.name!=null}function NF(n){const e=n!=null&&n.adapter&&BF(n==null?void 0:n.adapter)?n==null?void 0:n.adapter:FF(n),r=jF(e,n);return{...e,...r}}function oc(){const n=ka(c0);if(!n)throw new Error("[Vuetify] Could not find injected locale instance");return n}function VF(n){const e=ka(c0);if(!e)throw new Error("[Vuetify] Could not find injected locale instance");const r=e.provide(n),C=UF(r,e.rtl,n),D={...r,...C};return rs(c0,D),D}function jF(n,e){const r=Vr((e==null?void 0:e.rtl)??zF),C=cn(()=>r.value[n.current.value]??!1);return{isRtl:C,rtl:r,rtlClasses:cn(()=>`v-locale--is-${C.value?"rtl":"ltr"}`)}}function UF(n,e,r){const C=cn(()=>r.rtl??e.value[n.current.value]??!1);return{isRtl:C,rtl:e,rtlClasses:cn(()=>`v-locale--is-${C.value?"rtl":"ltr"}`)}}function Ls(){const n=ka(c0);if(!n)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:n.isRtl,rtlClasses:n.rtlClasses}}const Fm=Symbol.for("vuetify:theme"),oa=ur({theme:String},"theme"),im={defaultTheme:"light",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-bright":"#FFFFFF","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#6200EE","primary-darken-1":"#3700B3",secondary:"#03DAC6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#F5F5F5","theme-on-code":"#000000"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-bright":"#ccbfd6","surface-variant":"#a3a3a3","on-surface-variant":"#424242",primary:"#BB86FC","primary-darken-1":"#3700B3",secondary:"#03DAC5","secondary-darken-1":"#03DAC5",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"high-emphasis-opacity":1,"medium-emphasis-opacity":.7,"disabled-opacity":.5,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC"}}}};function HF(){var r,C;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:im;if(!n)return{...im,isDisabled:!0};const e={};for(const[D,k]of Object.entries(n.themes??{})){const m=k.dark||D==="dark"?(r=im.themes)==null?void 0:r.dark:(C=im.themes)==null?void 0:C.light;e[D]=Ju(m,k)}return Ju(im,{...n,themes:e})}function GF(n){const e=HF(n),r=Vr(e.defaultTheme),C=Vr(e.themes),D=cn(()=>{const i={};for(const[M,v]of Object.entries(C.value)){const h=i[M]={...v,colors:{...v.colors}};if(e.variations)for(const l of e.variations.colors){const a=h.colors[l];if(a)for(const u of["lighten","darken"]){const s=u==="lighten"?gF:vF;for(const o of Jf(e.variations[u],1))h.colors[`${l}-${u}-${o}`]=w6(s(Pc(a),o))}}for(const l of Object.keys(h.colors)){if(/^on-[a-z]/.test(l)||h.colors[`on-${l}`])continue;const a=`on-${l}`,u=Pc(h.colors[l]);h.colors[a]=M6(u)}}return i}),k=cn(()=>D.value[r.value]),m=cn(()=>{const i=[];k.value.dark&&wd(i,":root",["color-scheme: dark"]),wd(i,":root",G5(k.value));for(const[l,a]of Object.entries(D.value))wd(i,`.v-theme--${l}`,[`color-scheme: ${a.dark?"dark":"normal"}`,...G5(a)]);const M=[],v=[],h=new Set(Object.values(D.value).flatMap(l=>Object.keys(l.colors)));for(const l of h)/^on-[a-z]/.test(l)?wd(v,`.${l}`,[`color: rgb(var(--v-theme-${l})) !important`]):(wd(M,`.bg-${l}`,[`--v-theme-overlay-multiplier: var(--v-theme-${l}-overlay-multiplier)`,`background-color: rgb(var(--v-theme-${l})) !important`,`color: rgb(var(--v-theme-on-${l})) !important`]),wd(v,`.text-${l}`,[`color: rgb(var(--v-theme-${l})) !important`]),wd(v,`.border-${l}`,[`--v-border-color: var(--v-theme-${l})`]));return i.push(...M,...v),i.map((l,a)=>a===0?l:` ${l}`).join("")});function t(){return{style:[{children:m.value,id:"vuetify-theme-stylesheet",nonce:e.cspNonce||!1}]}}function d(i){if(e.isDisabled)return;const M=i._context.provides.usehead;if(M)if(M.push){const h=M.push(t);to&&Yr(m,()=>{h.patch(t)})}else to?(M.addHeadObjs(cn(t)),wu(()=>M.updateDOM())):M.addHeadObjs(t());else{let l=function(){if(typeof document<"u"&&!h){const a=document.createElement("style");a.type="text/css",a.id="vuetify-theme-stylesheet",e.cspNonce&&a.setAttribute("nonce",e.cspNonce),h=a,document.head.appendChild(h)}h&&(h.innerHTML=m.value)};var v=l;let h=to?document.getElementById("vuetify-theme-stylesheet"):null;to?Yr(m,l,{immediate:!0}):l()}}const y=cn(()=>e.isDisabled?void 0:`v-theme--${r.value}`);return{install:d,isDisabled:e.isDisabled,name:r,themes:C,current:k,computedThemes:D,themeClasses:y,styles:m,global:{name:r,current:k}}}function Ma(n){Es("provideTheme");const e=ka(Fm,null);if(!e)throw new Error("Could not find Vuetify theme injection");const r=cn(()=>n.theme??e.name.value),C=cn(()=>e.themes.value[r.value]),D=cn(()=>e.isDisabled?void 0:`v-theme--${r.value}`),k={...e,name:r,current:C,themeClasses:D};return rs(Fm,k),k}function I6(){Es("useTheme");const n=ka(Fm,null);if(!n)throw new Error("Could not find Vuetify theme injection");return n}function wd(n,e,r){n.push(`${e} { +Data: `,e)}_wipeElements(){this.dispatch("rows-wipe"),this.destroy(),this.adjustTableSize(),this.dispatch("rows-wiped")}destroy(){this.rows.forEach(e=>{e.wipe()}),this.rows=[],this.activeRows=[],this.activeRowsPipeline=[],this.activeRowsCount=0,this.displayRows=[],this.displayRowsCount=0}deleteRow(e,r){var C=this.rows.indexOf(e),D=this.activeRows.indexOf(e);D>-1&&this.activeRows.splice(D,1),C>-1&&this.rows.splice(C,1),this.setActiveRows(this.activeRows),this.displayRowIterator(T=>{var p=T.indexOf(e);p>-1&&T.splice(p,1)}),r||this.reRenderInPosition(),this.regenerateRowPositions(),this.dispatchExternal("rowDeleted",e.getComponent()),this.displayRowsCount||this.tableEmpty(),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.getData())}addRow(e,r,C,D){var T=this.addRowActual(e,r,C,D);return T}addRows(e,r,C,D){var T=[];return new Promise((p,t)=>{r=this.findAddRowPos(r),Array.isArray(e)||(e=[e]),(typeof C>"u"&&r||typeof C<"u"&&!r)&&e.reverse(),e.forEach((d,g)=>{var i=this.addRow(d,r,C,!0);T.push(i),this.dispatch("row-added",i,d,r,C)}),this.refreshActiveData(D?"displayPipeline":!1,!1,!0),this.regenerateRowPositions(),this.displayRowsCount&&this._clearPlaceholder(),p(T)})}findAddRowPos(e){return typeof e>"u"&&(e=this.table.options.addRowPos),e==="pos"&&(e=!0),e==="bottom"&&(e=!1),e}addRowActual(e,r,C,D){var T=e instanceof vl?e:new vl(e||{},this),p=this.findAddRowPos(r),t=-1,d,g;return C||(g=this.chain("row-adding-position",[T,p],null,{index:C,top:p}),C=g.index,p=g.top),typeof C<"u"&&(C=this.findRow(C)),C=this.chain("row-adding-index",[T,C,p],null,C),C&&(t=this.rows.indexOf(C)),C&&t>-1?(d=this.activeRows.indexOf(C),this.displayRowIterator(function(i){var M=i.indexOf(C);M>-1&&i.splice(p?M:M+1,0,T)}),d>-1&&this.activeRows.splice(p?d:d+1,0,T),this.rows.splice(p?t:t+1,0,T)):p?(this.displayRowIterator(function(i){i.unshift(T)}),this.activeRows.unshift(T),this.rows.unshift(T)):(this.displayRowIterator(function(i){i.push(T)}),this.activeRows.push(T),this.rows.push(T)),this.setActiveRows(this.activeRows),this.dispatchExternal("rowAdded",T.getComponent()),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.table.rowManager.getData()),D||this.reRenderInPosition(),T}moveRow(e,r,C){this.dispatch("row-move",e,r,C),this.moveRowActual(e,r,C),this.regenerateRowPositions(),this.dispatch("row-moved",e,r,C),this.dispatchExternal("rowMoved",e.getComponent())}moveRowActual(e,r,C){this.moveRowInArray(this.rows,e,r,C),this.moveRowInArray(this.activeRows,e,r,C),this.displayRowIterator(D=>{this.moveRowInArray(D,e,r,C)}),this.dispatch("row-moving",e,r,C)}moveRowInArray(e,r,C,D){var T,p,t,d;if(r!==C&&(T=e.indexOf(r),T>-1&&(e.splice(T,1),p=e.indexOf(C),p>-1?D?e.splice(p+1,0,r):e.splice(p,0,r):e.splice(T,0,r)),e===this.getDisplayRows())){t=TT?p:T+1;for(let g=t;g<=d;g++)e[g]&&this.styleRow(e[g],g)}}clearData(){this.setData([])}getRowIndex(e){return this.findRowIndex(e,this.rows)}getDisplayRowIndex(e){var r=this.getDisplayRows().indexOf(e);return r>-1?r:!1}nextDisplayRow(e,r){var C=this.getDisplayRowIndex(e),D=!1;return C!==!1&&C-1)?C:!1}getData(e,r){var C=[],D=this.getRows(e);return D.forEach(function(T){T.type=="row"&&C.push(T.getData(r||"data"))}),C}getComponents(e){var r=[],C=this.getRows(e);return C.forEach(function(D){r.push(D.getComponent())}),r}getDataCount(e){var r=this.getRows(e);return r.length}scrollHorizontal(e){this.scrollLeft=e,this.element.scrollLeft=e,this.dispatch("scroll-horizontal",e)}registerDataPipelineHandler(e,r){typeof r<"u"?(this.dataPipeline.push({handler:e,priority:r}),this.dataPipeline.sort((C,D)=>C.priority-D.priority)):console.error("Data pipeline handlers must have a priority in order to be registered")}registerDisplayPipelineHandler(e,r){typeof r<"u"?(this.displayPipeline.push({handler:e,priority:r}),this.displayPipeline.sort((C,D)=>C.priority-D.priority)):console.error("Display pipeline handlers must have a priority in order to be registered")}refreshActiveData(e,r,C){var D=this.table,T="",p=0,t=["all","dataPipeline","display","displayPipeline","end"];if(!this.table.destroyed){if(typeof e=="function")if(p=this.dataPipeline.findIndex(d=>d.handler===e),p>-1)T="dataPipeline",r&&(p==this.dataPipeline.length-1?T="display":p++);else if(p=this.displayPipeline.findIndex(d=>d.handler===e),p>-1)T="displayPipeline",r&&(p==this.displayPipeline.length-1?T="end":p++);else{console.error("Unable to refresh data, invalid handler provided",e);return}else T=e||"all",p=0;if(this.redrawBlock){(!this.redrawBlockRestoreConfig||this.redrawBlockRestoreConfig&&(this.redrawBlockRestoreConfig.stage===T&&p{C.type==="row"&&(C.setPosition(r),r++)})}setActiveRows(e){this.activeRows=this.activeRows=Object.assign([],e),this.activeRowsCount=this.activeRows.length}resetDisplayRows(){this.displayRows=[],this.displayRows.push(this.activeRows.slice(0)),this.displayRowsCount=this.displayRows[0].length}setDisplayRows(e,r){this.displayRows[r]=e,r==this.displayRows.length-1&&(this.displayRowsCount=this.displayRows[this.displayRows.length-1].length)}getDisplayRows(e){return typeof e>"u"?this.displayRows.length?this.displayRows[this.displayRows.length-1]:[]:this.displayRows[e]||[]}getVisibleRows(e,r){var C=Object.assign([],this.renderer.visibleRows(!r));return e&&(C=this.chain("rows-visible",[r],C,C)),C}displayRowIterator(e){this.activeRowsPipeline.forEach(e),this.displayRows.forEach(e),this.displayRowsCount=this.displayRows[this.displayRows.length-1].length}getRows(e){var r=[];switch(e){case"active":r=this.activeRows;break;case"display":r=this.table.rowManager.getDisplayRows();break;case"visible":r=this.getVisibleRows(!1,!0);break;default:r=this.chain("rows-retrieve",e,null,this.rows)||this.rows}return r}reRenderInPosition(e){this.redrawBlock?e?e():this.redrawBlockRenderInPosition=!0:(this.dispatchExternal("renderStarted"),this.renderer.rerenderRows(e),this.fixedHeight||this.adjustTableSize(),this.scrollBarCheck(),this.dispatchExternal("renderComplete"))}scrollBarCheck(){var e=0;this.element.scrollHeight>this.element.clientHeight&&(e=this.element.offsetWidth-this.element.clientWidth),e!==this.scrollbarWidth&&(this.scrollbarWidth=e,this.dispatch("scrollbar-vertical",e))}initializeRenderer(){var e,r={virtual:VP,basic:NP};typeof this.table.options.renderVertical=="string"?e=r[this.table.options.renderVertical]:e=this.table.options.renderVertical,e?(this.renderMode=this.table.options.renderVertical,this.renderer=new e(this.table,this.element,this.tableElement),this.renderer.initialize(),(this.table.element.clientHeight||this.table.options.height)&&!(this.table.options.minHeight&&this.table.options.maxHeight)?this.fixedHeight=!0:this.fixedHeight=!1):console.error("Unable to find matching renderer:",this.table.options.renderVertical)}getRenderMode(){return this.renderMode}renderTable(){this.dispatchExternal("renderStarted"),this.element.scrollTop=0,this._clearTable(),this.displayRowsCount?(this.renderer.renderRows(),this.firstRender&&(this.firstRender=!1,this.fixedHeight||this.adjustTableSize(),this.layoutRefresh(!0))):this.renderEmptyScroll(),this.fixedHeight||this.adjustTableSize(),this.dispatch("table-layout"),this.displayRowsCount||this._showPlaceholder(),this.scrollBarCheck(),this.dispatchExternal("renderComplete")}renderEmptyScroll(){this.placeholder?this.tableElement.style.display="none":this.tableElement.style.minWidth=this.table.columnManager.getWidth()+"px"}_clearTable(){this._clearPlaceholder(),this.scrollTop=0,this.scrollLeft=0,this.renderer.clearRows()}tableEmpty(){this.renderEmptyScroll(),this._showPlaceholder()}checkPlaceholder(){this.displayRowsCount?this._clearPlaceholder():this.tableEmpty()}_showPlaceholder(){this.placeholder&&(this.placeholder&&this.placeholder.parentNode&&this.placeholder.parentNode.removeChild(this.placeholder),this.initializePlaceholder(),this.placeholder.setAttribute("tabulator-render-mode",this.renderMode),this.getElement().appendChild(this.placeholder),this._positionPlaceholder(),this.adjustTableSize())}_clearPlaceholder(){this.placeholder&&this.placeholder.parentNode&&this.placeholder.parentNode.removeChild(this.placeholder),this.tableElement.style.minWidth="",this.tableElement.style.display=""}_positionPlaceholder(){this.placeholder&&this.placeholder.parentNode&&(this.placeholder.style.width=this.table.columnManager.getWidth()+"px",this.placeholderContents.style.width=this.table.rowManager.element.clientWidth+"px",this.placeholderContents.style.marginLeft=this.scrollLeft+"px")}styleRow(e,r){var C=e.getElement();r%2?(C.classList.add("tabulator-row-even"),C.classList.remove("tabulator-row-odd")):(C.classList.add("tabulator-row-odd"),C.classList.remove("tabulator-row-even"))}normalizeHeight(){this.activeRows.forEach(function(e){e.normalizeHeight()})}adjustTableSize(){let e=this.element.clientHeight,r,C=!1;if(this.renderer.verticalFillMode==="fill"){let D=Math.floor(this.table.columnManager.getElement().getBoundingClientRect().height+(this.table.footerManager&&this.table.footerManager.active&&!this.table.footerManager.external?this.table.footerManager.getElement().getBoundingClientRect().height:0));if(this.fixedHeight){r=isNaN(this.table.options.minHeight)?this.table.options.minHeight:this.table.options.minHeight+"px";const T="calc(100% - "+D+"px)";this.element.style.minHeight=r||"calc(100% - "+D+"px)",this.element.style.height=T,this.element.style.maxHeight=T}else this.element.style.height="",this.element.style.height=this.table.element.clientHeight-D+"px",this.element.scrollTop=this.scrollTop;this.renderer.resize(),!this.fixedHeight&&e!=this.element.clientHeight&&(C=!0,this.subscribed("table-resize")?this.dispatch("table-resize"):this.redraw()),this.scrollBarCheck()}return this._positionPlaceholder(),C}reinitialize(){this.rows.forEach(function(e){e.reinitialize(!0)})}blockRedraw(){this.redrawBlock=!0,this.redrawBlockRestoreConfig=!1}restoreRedraw(){this.redrawBlock=!1,this.redrawBlockRestoreConfig?(this.refreshActiveData(this.redrawBlockRestoreConfig.handler,this.redrawBlockRestoreConfig.skipStage,this.redrawBlockRestoreConfig.renderInPosition),this.redrawBlockRestoreConfig=!1):this.redrawBlockRenderInPosition&&this.reRenderInPosition(),this.redrawBlockRenderInPosition=!1}redraw(e){this.adjustTableSize(),this.table.tableWidth=this.table.element.clientWidth,e?this.renderTable():(this.reRenderInPosition(),this.scrollHorizontal(this.scrollLeft))}resetScroll(){if(this.element.scrollLeft=0,this.element.scrollTop=0,this.table.browser==="ie"){var e=document.createEvent("Event");e.initEvent("scroll",!1,!0),this.element.dispatchEvent(e)}else this.element.dispatchEvent(new Event("scroll"))}}class UP extends kl{constructor(e){super(e),this.active=!1,this.element=this.createElement(),this.containerElement=this.createContainerElement(),this.external=!1}initialize(){this.initializeElement()}createElement(){var e=document.createElement("div");return e.classList.add("tabulator-footer"),e}createContainerElement(){var e=document.createElement("div");return e.classList.add("tabulator-footer-contents"),this.element.appendChild(e),e}initializeElement(){if(this.table.options.footerElement)switch(typeof this.table.options.footerElement){case"string":this.table.options.footerElement[0]==="<"?this.containerElement.innerHTML=this.table.options.footerElement:(this.external=!0,this.containerElement=document.querySelector(this.table.options.footerElement));break;default:this.element=this.table.options.footerElement;break}}getElement(){return this.element}append(e){this.activate(),this.containerElement.appendChild(e),this.table.rowManager.adjustTableSize()}prepend(e){this.activate(),this.element.insertBefore(e,this.element.firstChild),this.table.rowManager.adjustTableSize()}remove(e){e.parentNode.removeChild(e),this.deactivate()}deactivate(e){(!this.element.firstChild||e)&&(this.external||this.element.parentNode.removeChild(this.element),this.active=!1)}activate(){this.active||(this.active=!0,this.external||(this.table.element.appendChild(this.getElement()),this.table.element.style.display=""))}redraw(){this.dispatch("footer-redraw")}}class HP extends kl{constructor(e){super(e),this.el=null,this.abortClasses=["tabulator-headers","tabulator-table"],this.previousTargets={},this.listeners=["click","dblclick","contextmenu","mouseenter","mouseleave","mouseover","mouseout","mousemove","mouseup","mousedown","touchstart","touchend"],this.componentMap={"tabulator-cell":"cell","tabulator-row":"row","tabulator-group":"group","tabulator-col":"column"},this.pseudoTrackers={row:{subscriber:null,target:null},cell:{subscriber:null,target:null},group:{subscriber:null,target:null},column:{subscriber:null,target:null}},this.pseudoTracking=!1}initialize(){this.el=this.table.element,this.buildListenerMap(),this.bindSubscriptionWatchers()}buildListenerMap(){var e={};this.listeners.forEach(r=>{e[r]={handler:null,components:[]}}),this.listeners=e}bindPseudoEvents(){Object.keys(this.pseudoTrackers).forEach(e=>{this.pseudoTrackers[e].subscriber=this.pseudoMouseEnter.bind(this,e),this.subscribe(e+"-mouseover",this.pseudoTrackers[e].subscriber)}),this.pseudoTracking=!0}pseudoMouseEnter(e,r,C){this.pseudoTrackers[e].target!==C&&(this.pseudoTrackers[e].target&&this.dispatch(e+"-mouseleave",r,this.pseudoTrackers[e].target),this.pseudoMouseLeave(e,r),this.pseudoTrackers[e].target=C,this.dispatch(e+"-mouseenter",r,C))}pseudoMouseLeave(e,r){var C=Object.keys(this.pseudoTrackers),D={row:["cell"],cell:["row"]};C=C.filter(T=>{var p=D[e];return T!==e&&(!p||p&&!p.includes(T))}),C.forEach(T=>{var p=this.pseudoTrackers[T].target;this.pseudoTrackers[T].target&&(this.dispatch(T+"-mouseleave",r,p),this.pseudoTrackers[T].target=null)})}bindSubscriptionWatchers(){var e=Object.keys(this.listeners),r=Object.values(this.componentMap);for(let C of r)for(let D of e){let T=C+"-"+D;this.subscriptionChange(T,this.subscriptionChanged.bind(this,C,D))}this.subscribe("table-destroy",this.clearWatchers.bind(this))}subscriptionChanged(e,r,C){var D=this.listeners[r].components,T=D.indexOf(e),p=!1;C?T===-1&&(D.push(e),p=!0):this.subscribed(e+"-"+r)||T>-1&&(D.splice(T,1),p=!0),(r==="mouseenter"||r==="mouseleave")&&!this.pseudoTracking&&this.bindPseudoEvents(),p&&this.updateEventListeners()}updateEventListeners(){for(let e in this.listeners){let r=this.listeners[e];r.components.length?r.handler||(r.handler=this.track.bind(this,e),this.el.addEventListener(e,r.handler)):r.handler&&(this.el.removeEventListener(e,r.handler),r.handler=null)}}track(e,r){var C=r.composedPath&&r.composedPath()||r.path,D=this.findTargets(C);D=this.bindComponents(e,D),this.triggerEvents(e,r,D),this.pseudoTracking&&(e=="mouseover"||e=="mouseleave")&&!Object.keys(D).length&&this.pseudoMouseLeave("none",r)}findTargets(e){var r={};let C=Object.keys(this.componentMap);for(let D of e){let T=D.classList?[...D.classList]:[];if(T.filter(d=>this.abortClasses.includes(d)).length)break;let t=T.filter(d=>C.includes(d));for(let d of t)r[this.componentMap[d]]||(r[this.componentMap[d]]=D)}return r.group&&r.group===r.row&&delete r.row,r}bindComponents(e,r){var C=Object.keys(r).reverse(),D=this.listeners[e],T={},p={};for(let t of C){let d,g=r[t],i=this.previousTargets[t];if(i&&i.target===g)d=i.component;else switch(t){case"row":case"group":(D.components.includes("row")||D.components.includes("cell")||D.components.includes("group"))&&(d=this.table.rowManager.getVisibleRows(!0).find(v=>v.getElement()===g),r.row&&r.row.parentNode&&r.row.parentNode.closest(".tabulator-row")&&(r[t]=!1));break;case"column":D.components.includes("column")&&(d=this.table.columnManager.findColumn(g));break;case"cell":D.components.includes("cell")&&(T.row instanceof vl?d=T.row.findCell(g):r.row&&console.warn("Event Target Lookup Error - The row this cell is attached to cannot be found, has the table been reinitialized without being destroyed first?"));break}d&&(T[t]=d,p[t]={target:g,component:d})}return this.previousTargets=p,T}triggerEvents(e,r,C){var D=this.listeners[e];for(let T in C)C[T]&&D.components.includes(T)&&this.dispatch(T+"-"+e,r,C[T])}clearWatchers(){for(let e in this.listeners){let r=this.listeners[e];r.handler&&(this.el.removeEventListener(e,r.handler),r.handler=null)}}}class GP{constructor(e){this.table=e,this.bindings={}}bind(e,r,C){this.bindings[e]||(this.bindings[e]={}),this.bindings[e][r]?console.warn("Unable to bind component handler, a matching function name is already bound",e,r,C):this.bindings[e][r]=C}handle(e,r,C){if(this.bindings[e]&&this.bindings[e][C]&&typeof this.bindings[e][C].bind=="function")return this.bindings[e][C].bind(null,r);C!=="then"&&typeof C=="string"&&!C.startsWith("_")&&this.table.options.debugInvalidComponentFuncs&&console.error("The "+e+" component does not have a "+C+" function, have you checked that you have the correct Tabulator module installed?")}}class qP extends kl{constructor(e){super(e),this.requestOrder=0,this.loading=!1}initialize(){}load(e,r,C,D,T,p){var t=++this.requestOrder;if(this.table.destroyed)return Promise.resolve();if(this.dispatchExternal("dataLoading",e),e&&(e.indexOf("{")==0||e.indexOf("[")==0)&&(e=JSON.parse(e)),this.confirm("data-loading",[e,r,C,T])){this.loading=!0,T||this.alertLoader(),r=this.chain("data-params",[e,C,T],r||{},r||{}),r=this.mapParams(r,this.table.options.dataSendParams);var d=this.chain("data-load",[e,r,C,T],!1,Promise.resolve([]));return d.then(g=>{if(this.table.destroyed)console.warn("Data Load Response Blocked - Table has been destroyed");else{!Array.isArray(g)&&typeof g=="object"&&(g=this.mapParams(g,this.objectInvert(this.table.options.dataReceiveParams)));var i=this.chain("data-loaded",g,null,g);t==this.requestOrder?(this.clearAlert(),i!==!1&&(this.dispatchExternal("dataLoaded",i),this.table.rowManager.setData(i,D,typeof p>"u"?!D:p))):console.warn("Data Load Response Blocked - An active data load request was blocked by an attempt to change table data while the request was being made")}}).catch(g=>{console.error("Data Load Error: ",g),this.dispatchExternal("dataLoadError",g),T||this.alertError(),setTimeout(()=>{this.clearAlert()},this.table.options.dataLoaderErrorTimeout)}).finally(()=>{this.loading=!1})}else return this.dispatchExternal("dataLoaded",e),e||(e=[]),this.table.rowManager.setData(e,D,typeof p>"u"?!D:p),Promise.resolve()}mapParams(e,r){var C={};for(let D in e)C[r.hasOwnProperty(D)?r[D]:D]=e[D];return C}objectInvert(e){var r={};for(let C in e)r[e[C]]=C;return r}blockActiveLoad(){this.requestOrder++}alertLoader(){var e=typeof this.table.options.dataLoader=="function"?this.table.options.dataLoader():this.table.options.dataLoader;e&&this.table.alertManager.alert(this.table.options.dataLoaderLoading||this.langText("data|loading"))}alertError(){this.table.alertManager.alert(this.table.options.dataLoaderError||this.langText("data|error"),"error")}clearAlert(){this.table.alertManager.clear()}}class WP{constructor(e,r,C){this.table=e,this.events={},this.optionsList=r||{},this.subscriptionNotifiers={},this.dispatch=C?this._debugDispatch.bind(this):this._dispatch.bind(this),this.debug=C}subscriptionChange(e,r){this.subscriptionNotifiers[e]||(this.subscriptionNotifiers[e]=[]),this.subscriptionNotifiers[e].push(r),this.subscribed(e)&&this._notifySubscriptionChange(e,!0)}subscribe(e,r){this.events[e]||(this.events[e]=[]),this.events[e].push(r),this._notifySubscriptionChange(e,!0)}unsubscribe(e,r){var C;if(this.events[e])if(r)if(C=this.events[e].findIndex(D=>D===r),C>-1)this.events[e].splice(C,1);else{console.warn("Cannot remove event, no matching event found:",e,r);return}else delete this.events[e];else{console.warn("Cannot remove event, no events set on:",e);return}this._notifySubscriptionChange(e,!1)}subscribed(e){return this.events[e]&&this.events[e].length}_notifySubscriptionChange(e,r){var C=this.subscriptionNotifiers[e];C&&C.forEach(D=>{D(r)})}_dispatch(){var e=Array.from(arguments),r=e.shift(),C;return this.events[r]&&this.events[r].forEach((D,T)=>{let p=D.apply(this.table,e);T||(C=p)}),C}_debugDispatch(){var e=Array.from(arguments),r=e[0];return e[0]="ExternalEvent:"+e[0],(this.debug===!0||this.debug.includes(r))&&console.log(...e),this._dispatch(...arguments)}}class YP{constructor(e){this.events={},this.subscriptionNotifiers={},this.dispatch=e?this._debugDispatch.bind(this):this._dispatch.bind(this),this.chain=e?this._debugChain.bind(this):this._chain.bind(this),this.confirm=e?this._debugConfirm.bind(this):this._confirm.bind(this),this.debug=e}subscriptionChange(e,r){this.subscriptionNotifiers[e]||(this.subscriptionNotifiers[e]=[]),this.subscriptionNotifiers[e].push(r),this.subscribed(e)&&this._notifySubscriptionChange(e,!0)}subscribe(e,r,C=1e4){this.events[e]||(this.events[e]=[]),this.events[e].push({callback:r,priority:C}),this.events[e].sort((D,T)=>D.priority-T.priority),this._notifySubscriptionChange(e,!0)}unsubscribe(e,r){var C;if(this.events[e]){if(r)if(C=this.events[e].findIndex(D=>D.callback===r),C>-1)this.events[e].splice(C,1);else{console.warn("Cannot remove event, no matching event found:",e,r);return}}else{console.warn("Cannot remove event, no events set on:",e);return}this._notifySubscriptionChange(e,!1)}subscribed(e){return this.events[e]&&this.events[e].length}_chain(e,r,C,D){var T=C;return Array.isArray(r)||(r=[r]),this.subscribed(e)?(this.events[e].forEach((p,t)=>{T=p.callback.apply(this,r.concat([T]))}),T):typeof D=="function"?D():D}_confirm(e,r){var C=!1;return Array.isArray(r)||(r=[r]),this.subscribed(e)&&this.events[e].forEach((D,T)=>{D.callback.apply(this,r)&&(C=!0)}),C}_notifySubscriptionChange(e,r){var C=this.subscriptionNotifiers[e];C&&C.forEach(D=>{D(r)})}_dispatch(){var e=Array.from(arguments),r=e.shift();this.events[r]&&this.events[r].forEach(C=>{C.callback.apply(this,e)})}_debugDispatch(){var e=Array.from(arguments),r=e[0];return e[0]="InternalEvent:"+r,(this.debug===!0||this.debug.includes(r))&&console.log(...e),this._dispatch(...arguments)}_debugChain(){var e=Array.from(arguments),r=e[0];return e[0]="InternalEvent:"+r,(this.debug===!0||this.debug.includes(r))&&console.log(...e),this._chain(...arguments)}_debugConfirm(){var e=Array.from(arguments),r=e[0];return e[0]="InternalEvent:"+r,(this.debug===!0||this.debug.includes(r))&&console.log(...e),this._confirm(...arguments)}}class $P extends kl{constructor(e){super(e)}_warnUser(){this.options("debugDeprecation")&&console.warn(...arguments)}check(e,r,C){var D="";return typeof this.options(e)<"u"?(D="Deprecated Setup Option - Use of the %c"+e+"%c option is now deprecated",r?(D=D+", Please use the %c"+r+"%c option instead",this._warnUser(D,"font-weight: bold;","font-weight: normal;","font-weight: bold;","font-weight: normal;"),C&&(this.table.options[r]=this.table.options[e])):this._warnUser(D,"font-weight: bold;","font-weight: normal;"),!1):!0}checkMsg(e,r){return typeof this.options(e)<"u"?(this._warnUser("%cDeprecated Setup Option - Use of the %c"+e+" %c option is now deprecated, "+r,"font-weight: normal;","font-weight: bold;","font-weight: normal;"),!1):!0}msg(e){this._warnUser(e)}}class pu{static register(e){pu.tables.push(e)}static deregister(e){var r=pu.tables.indexOf(e);r>-1&&pu.tables.splice(r,1)}static lookupTable(e,r){var C=[],D,T;if(typeof e=="string"){if(D=document.querySelectorAll(e),D.length)for(var p=0;p{p.widthFixed||p.reinitializeWidth(),(this.table.options.responsiveLayout?p.modules.responsive.visible:p.visible)&&(T=p),p.visible&&(r+=p.getWidth())}),T?(D=C-r+T.getWidth(),this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&(T.setWidth(0),this.table.modules.responsiveLayout.update()),D>0?T.setWidth(D):T.reinitializeWidth()):this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&this.table.modules.responsiveLayout.update()}function KP(n,e){var r=this.table.rowManager.element.getBoundingClientRect().width,C=0,D=0,T=0,p=0,t=[],d=[],g=0,i=0,M=0;function v(l){var a;return typeof l=="string"?l.indexOf("%")>-1?a=r/100*parseInt(l):a=parseInt(l):a=l,a}function f(l,a,u,o){var s=[],c=0,h=0,m=0,w=T,y=0,S=0,_=[];function k(x){return u*(x.column.definition.widthGrow||1)}function E(x){return v(x.width)-u*(x.column.definition.widthShrink||0)}return l.forEach(function(x,A){var L=o?E(x):k(x);x.column.minWidth>=L?s.push(x):x.column.maxWidth&&x.column.maxWidththis.table.rowManager.element.clientHeight&&(r-=this.table.rowManager.element.offsetWidth-this.table.rowManager.element.clientWidth),n.forEach(function(l){var a,u,o;l.visible&&(a=l.definition.width,u=parseInt(l.minWidth),a?(o=v(a),C+=o>u?o:u,l.definition.widthShrink&&(d.push({column:l,width:o>u?o:u}),g+=l.definition.widthShrink)):(t.push({column:l,width:0}),T+=l.definition.widthGrow||1))}),D=r-C,p=Math.floor(D/T),M=f(t,D,p,!1),t.length&&M>0&&(t[t.length-1].width+=M),t.forEach(function(l){D-=l.width}),i=Math.abs(M)+D,i>0&&g&&(M=f(d,i,Math.floor(i/g),!0)),M&&d.length&&(d[d.length-1].width-=M),t.forEach(function(l){l.column.setWidth(l.width)}),d.forEach(function(l){l.column.setWidth(l.width)})}var JP={fitData:ZP,fitDataFill:v5,fitDataTable:v5,fitDataStretch:XP,fitColumns:KP};class s0 extends qi{constructor(e){super(e,"layout"),this.mode=null,this.registerTableOption("layout","fitData"),this.registerTableOption("layoutColumnsOnNewData",!1),this.registerColumnOption("widthGrow"),this.registerColumnOption("widthShrink")}initialize(){var e=this.table.options.layout;s0.modes[e]?this.mode=e:(console.warn("Layout Error - invalid mode set, defaulting to 'fitData' : "+e),this.mode="fitData"),this.table.element.setAttribute("tabulator-layout",this.mode),this.subscribe("column-init",this.initializeColumn.bind(this))}initializeColumn(e){e.definition.widthGrow&&(e.definition.widthGrow=Number(e.definition.widthGrow)),e.definition.widthShrink&&(e.definition.widthShrink=Number(e.definition.widthShrink))}getMode(){return this.mode}layout(e){this.dispatch("layout-refreshing"),s0.modes[this.mode].call(this,this.table.columnManager.columnsByIndex,e),this.dispatch("layout-refreshed")}}s0.moduleName="layout";s0.modes=JP;var QP={default:{groups:{item:"item",items:"items"},columns:{},data:{loading:"Loading",error:"Error"},pagination:{page_size:"Page Size",page_title:"Show Page",first:"First",first_title:"First Page",last:"Last",last_title:"Last Page",prev:"Prev",prev_title:"Prev Page",next:"Next",next_title:"Next Page",all:"All",counter:{showing:"Showing",of:"of",rows:"rows",pages:"pages"}},headerFilters:{default:"filter column...",columns:{}}}};class ag extends qi{constructor(e){super(e),this.locale="default",this.lang=!1,this.bindings={},this.langList={},this.registerTableOption("locale",!1),this.registerTableOption("langs",{})}initialize(){this.langList=oo.deepClone(ag.langs),this.table.options.columnDefaults.headerFilterPlaceholder!==!1&&this.setHeaderFilterPlaceholder(this.table.options.columnDefaults.headerFilterPlaceholder);for(let e in this.table.options.langs)this.installLang(e,this.table.options.langs[e]);this.setLocale(this.table.options.locale),this.registerTableFunction("setLocale",this.setLocale.bind(this)),this.registerTableFunction("getLocale",this.getLocale.bind(this)),this.registerTableFunction("getLang",this.getLang.bind(this))}setHeaderFilterPlaceholder(e){this.langList.default.headerFilters.default=e}installLang(e,r){this.langList[e]?this._setLangProp(this.langList[e],r):this.langList[e]=r}_setLangProp(e,r){for(let C in r)e[C]&&typeof e[C]=="object"?this._setLangProp(e[C],r[C]):e[C]=r[C]}setLocale(e){e=e||"default";function r(C,D){for(var T in C)typeof C[T]=="object"?(D[T]||(D[T]={}),r(C[T],D[T])):D[T]=C[T]}if(e===!0&&navigator.language&&(e=navigator.language.toLowerCase()),e&&!this.langList[e]){let C=e.split("-")[0];this.langList[C]?(console.warn("Localization Error - Exact matching locale not found, using closest match: ",e,C),e=C):(console.warn("Localization Error - Matching locale not found, using default: ",e),e="default")}this.locale=e,this.lang=oo.deepClone(this.langList.default||{}),e!="default"&&r(this.langList[e],this.lang),this.dispatchExternal("localized",this.locale,this.lang),this._executeBindings()}getLocale(e){return this.locale}getLang(e){return e?this.langList[e]:this.lang}getText(e,r){var C=r?e+"|"+r:e,D=C.split("|"),T=this._getLangElement(D,this.locale);return T||""}_getLangElement(e,r){var C=this.lang;return e.forEach(function(D){var T;C&&(T=C[D],typeof T<"u"?C=T:C=!1)}),C}bind(e,r){this.bindings[e]||(this.bindings[e]=[]),this.bindings[e].push(r),r(this.getText(e),this.lang)}_executeBindings(){for(let e in this.bindings)this.bindings[e].forEach(r=>{r(this.getText(e),this.lang)})}}ag.moduleName="localize";ag.langs=QP;class e6 extends qi{constructor(e){super(e)}initialize(){this.registerTableFunction("tableComms",this.receive.bind(this))}getConnections(e){var r=[],C;return C=pu.lookupTable(e),C.forEach(D=>{this.table!==D&&r.push(D)}),r}send(e,r,C,D){var T=this.getConnections(e);T.forEach(p=>{p.tableComms(this.table.element,r,C,D)}),!T.length&&e&&console.warn("Table Connection Error - No tables matching selector found",e)}receive(e,r,C,D){if(this.table.modExists(r))return this.table.modules[r].commsReceived(e,C,D);console.warn("Inter-table Comms Error - no such module:",r)}}e6.moduleName="comms";var eO=Object.freeze({__proto__:null,LayoutModule:s0,LocalizeModule:ag,CommsModule:e6});class t6{constructor(e,r){this.bindStaticFunctionality(e),this.bindModules(e,eO,!0),r&&this.bindModules(e,r)}bindStaticFunctionality(e){e.moduleBindings={},e.extendModule=function(r,C,D){if(e.moduleBindings[r]){var T=e.moduleBindings[r][C];if(T)if(typeof D=="object")for(let p in D)T[p]=D[p];else console.warn("Module Error - Invalid value type, it must be an object");else console.warn("Module Error - property does not exist:",C)}else console.warn("Module Error - module does not exist:",r)},e.registerModule=function(r){Array.isArray(r)||(r=[r]),r.forEach(C=>{e.registerModuleBinding(C)})},e.registerModuleBinding=function(r){e.moduleBindings[r.moduleName]=r},e.findTable=function(r){var C=pu.lookupTable(r,!0);return Array.isArray(C)&&!C.length?!1:C},e.prototype.bindModules=function(){var r=[],C=[],D=[];this.modules={};for(var T in e.moduleBindings){let p=e.moduleBindings[T],t=new p(this);this.modules[T]=t,p.prototype.moduleCore?this.modulesCore.push(t):p.moduleInitOrder?p.moduleInitOrder<0?r.push(t):C.push(t):D.push(t)}r.sort((p,t)=>p.moduleInitOrder>t.moduleInitOrder?1:-1),C.sort((p,t)=>p.moduleInitOrder>t.moduleInitOrder?1:-1),this.modulesRegular=r.concat(D.concat(C))}}bindModules(e,r,C){var D=Object.values(r);C&&D.forEach(T=>{T.prototype.moduleCore=!0}),e.registerModule(D)}}class tO extends kl{constructor(e){super(e),this.element=this._createAlertElement(),this.msgElement=this._createMsgElement(),this.type=null,this.element.appendChild(this.msgElement)}_createAlertElement(){var e=document.createElement("div");return e.classList.add("tabulator-alert"),e}_createMsgElement(){var e=document.createElement("div");return e.classList.add("tabulator-alert-msg"),e.setAttribute("role","alert"),e}_typeClass(){return"tabulator-alert-state-"+this.type}alert(e,r="msg"){if(e){for(this.clear(),this.dispatch("alert-show",r),this.type=r;this.msgElement.firstChild;)this.msgElement.removeChild(this.msgElement.firstChild);this.msgElement.classList.add(this._typeClass()),typeof e=="function"&&(e=e()),e instanceof HTMLElement?this.msgElement.appendChild(e):this.msgElement.innerHTML=e,this.table.element.appendChild(this.element)}}clear(){this.dispatch("alert-hide",this.type),this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.msgElement.classList.remove(this._typeClass())}}class Yd{constructor(e,r){this.options={},this.columnManager=null,this.rowManager=null,this.footerManager=null,this.alertManager=null,this.vdomHoz=null,this.externalEvents=null,this.eventBus=null,this.interactionMonitor=!1,this.browser="",this.browserSlow=!1,this.browserMobile=!1,this.rtl=!1,this.originalElement=null,this.componentFunctionBinder=new GP(this),this.dataLoader=!1,this.modules={},this.modulesCore=[],this.modulesRegular=[],this.deprecationAdvisor=new $P(this),this.optionsList=new QM(this,"table constructor"),this.initialized=!1,this.destroyed=!1,this.initializeElement(e)&&(this.initializeCoreSystems(r),setTimeout(()=>{this._create()})),pu.register(this)}initializeElement(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement?(this.element=e,!0):typeof e=="string"?(this.element=document.querySelector(e),this.element?!0:(console.error("Tabulator Creation Error - no element found matching selector: ",e),!1)):(console.error("Tabulator Creation Error - Invalid element provided:",e),!1)}initializeCoreSystems(e){this.columnManager=new BP(this),this.rowManager=new jP(this),this.footerManager=new UP(this),this.dataLoader=new qP(this),this.alertManager=new tO(this),this.bindModules(),this.options=this.optionsList.generate(Yd.defaultOptions,e),this._clearObjectPointers(),this._mapDeprecatedFunctionality(),this.externalEvents=new WP(this,this.options,this.options.debugEventsExternal),this.eventBus=new YP(this.options.debugEventsInternal),this.interactionMonitor=new HP(this),this.dataLoader.initialize(),this.footerManager.initialize()}_mapDeprecatedFunctionality(){}_clearSelection(){this.element.classList.add("tabulator-block-select"),window.getSelection?window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().removeAllRanges():document.selection&&document.selection.empty(),this.element.classList.remove("tabulator-block-select")}_create(){this.externalEvents.dispatch("tableBuilding"),this.eventBus.dispatch("table-building"),this._rtlCheck(),this._buildElement(),this._initializeTable(),this._loadInitialData(),this.initialized=!0,this.externalEvents.dispatch("tableBuilt")}_rtlCheck(){var e=window.getComputedStyle(this.element);switch(this.options.textDirection){case"auto":if(e.direction!=="rtl")break;case"rtl":this.element.classList.add("tabulator-rtl"),this.rtl=!0;break;case"ltr":this.element.classList.add("tabulator-ltr");default:this.rtl=!1}}_clearObjectPointers(){this.options.columns=this.options.columns.slice(0),Array.isArray(this.options.data)&&!this.options.reactiveData&&(this.options.data=this.options.data.slice(0))}_buildElement(){var e=this.element,r=this.options,C;if(e.tagName==="TABLE"){this.originalElement=this.element,C=document.createElement("div");var D=e.attributes;for(var T in D)typeof D[T]=="object"&&C.setAttribute(D[T].name,D[T].value);e.parentNode.replaceChild(C,e),this.element=e=C}for(e.classList.add("tabulator"),e.setAttribute("role","grid");e.firstChild;)e.removeChild(e.firstChild);r.height&&(r.height=isNaN(r.height)?r.height:r.height+"px",e.style.height=r.height),r.minHeight!==!1&&(r.minHeight=isNaN(r.minHeight)?r.minHeight:r.minHeight+"px",e.style.minHeight=r.minHeight),r.maxHeight!==!1&&(r.maxHeight=isNaN(r.maxHeight)?r.maxHeight:r.maxHeight+"px",e.style.maxHeight=r.maxHeight)}_initializeTable(){var e=this.element,r=this.options;this.interactionMonitor.initialize(),this.columnManager.initialize(),this.rowManager.initialize(),this._detectBrowser(),this.modulesCore.forEach(C=>{C.initialize()}),e.appendChild(this.columnManager.getElement()),e.appendChild(this.rowManager.getElement()),r.footerElement&&this.footerManager.activate(),r.autoColumns&&r.data&&this.columnManager.generateColumnsFromRowData(this.options.data),this.modulesRegular.forEach(C=>{C.initialize()}),this.columnManager.setColumns(r.columns),this.eventBus.dispatch("table-built")}_loadInitialData(){this.dataLoader.load(this.options.data),this.columnManager.verticalAlignHeaders()}destroy(){var e=this.element;for(this.destroyed=!0,pu.deregister(this),this.eventBus.dispatch("table-destroy"),this.rowManager.destroy();e.firstChild;)e.removeChild(e.firstChild);e.classList.remove("tabulator"),this.externalEvents.dispatch("tableDestroyed")}_detectBrowser(){var e=navigator.userAgent||navigator.vendor||window.opera;e.indexOf("Trident")>-1?(this.browser="ie",this.browserSlow=!0):e.indexOf("Edge")>-1?(this.browser="edge",this.browserSlow=!0):e.indexOf("Firefox")>-1?(this.browser="firefox",this.browserSlow=!1):e.indexOf("Mac OS")>-1?(this.browser="safari",this.browserSlow=!1):(this.browser="other",this.browserSlow=!1),this.browserMobile=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e.slice(0,4))}initGuard(e,r){var C,D;return this.options.debugInitialization&&!this.initialized&&(e||(C=new Error().stack.split(` +`),D=C[0]=="Error"?C[2]:C[1],D[0]==" "?e=D.trim().split(" ")[1].split(".")[1]:e=D.trim().split("@")[0]),console.warn("Table Not Initialized - Calling the "+e+" function before the table is initialized may result in inconsistent behavior, Please wait for the `tableBuilt` event before calling this function."+(r?" "+r:""))),this.initialized}blockRedraw(){this.initGuard(),this.eventBus.dispatch("redraw-blocking"),this.rowManager.blockRedraw(),this.columnManager.blockRedraw(),this.eventBus.dispatch("redraw-blocked")}restoreRedraw(){this.initGuard(),this.eventBus.dispatch("redraw-restoring"),this.rowManager.restoreRedraw(),this.columnManager.restoreRedraw(),this.eventBus.dispatch("redraw-restored")}setData(e,r,C){return this.initGuard(!1,"To set initial data please use the 'data' property in the table constructor."),this.dataLoader.load(e,r,C,!1)}clearData(){this.initGuard(),this.dataLoader.blockActiveLoad(),this.rowManager.clearData()}getData(e){return this.rowManager.getData(e)}getDataCount(e){return this.rowManager.getDataCount(e)}replaceData(e,r,C){return this.initGuard(),this.dataLoader.load(e,r,C,!0,!0)}updateData(e){var r=0;return this.initGuard(),new Promise((C,D)=>{this.dataLoader.blockActiveLoad(),typeof e=="string"&&(e=JSON.parse(e)),e&&e.length>0?e.forEach(T=>{var p=this.rowManager.findRow(T[this.options.index]);p?(r++,p.updateData(T).then(()=>{r--,r||C()}).catch(t=>{D("Update Error - Unable to update row",T,t)})):D("Update Error - Unable to find row",T)}):(console.warn("Update Error - No data provided"),D("Update Error - No data provided"))})}addData(e,r,C){return this.initGuard(),new Promise((D,T)=>{this.dataLoader.blockActiveLoad(),typeof e=="string"&&(e=JSON.parse(e)),e?this.rowManager.addRows(e,r,C).then(p=>{var t=[];p.forEach(function(d){t.push(d.getComponent())}),D(t)}):(console.warn("Update Error - No data provided"),T("Update Error - No data provided"))})}updateOrAddData(e){var r=[],C=0;return this.initGuard(),new Promise((D,T)=>{this.dataLoader.blockActiveLoad(),typeof e=="string"&&(e=JSON.parse(e)),e&&e.length>0?e.forEach(p=>{var t=this.rowManager.findRow(p[this.options.index]);C++,t?t.updateData(p).then(()=>{C--,r.push(t.getComponent()),C||D(r)}):this.rowManager.addRows(p).then(d=>{C--,r.push(d[0].getComponent()),C||D(r)})}):(console.warn("Update Error - No data provided"),T("Update Error - No data provided"))})}getRow(e){var r=this.rowManager.findRow(e);return r?r.getComponent():(console.warn("Find Error - No matching row found:",e),!1)}getRowFromPosition(e){var r=this.rowManager.getRowFromPosition(e);return r?r.getComponent():(console.warn("Find Error - No matching row found:",e),!1)}deleteRow(e){var r=[];this.initGuard(),Array.isArray(e)||(e=[e]);for(let C of e){let D=this.rowManager.findRow(C,!0);if(D)r.push(D);else return console.error("Delete Error - No matching row found:",C),Promise.reject("Delete Error - No matching row found")}return r.sort((C,D)=>this.rowManager.rows.indexOf(C)>this.rowManager.rows.indexOf(D)?1:-1),r.forEach(C=>{C.delete()}),this.rowManager.reRenderInPosition(),Promise.resolve()}addRow(e,r,C){return this.initGuard(),typeof e=="string"&&(e=JSON.parse(e)),this.rowManager.addRows(e,r,C,!0).then(D=>D[0].getComponent())}updateOrAddRow(e,r){var C=this.rowManager.findRow(e);return this.initGuard(),typeof r=="string"&&(r=JSON.parse(r)),C?C.updateData(r).then(()=>C.getComponent()):this.rowManager.addRows(r).then(D=>D[0].getComponent())}updateRow(e,r){var C=this.rowManager.findRow(e);return this.initGuard(),typeof r=="string"&&(r=JSON.parse(r)),C?C.updateData(r).then(()=>Promise.resolve(C.getComponent())):(console.warn("Update Error - No matching row found:",e),Promise.reject("Update Error - No matching row found"))}scrollToRow(e,r,C){var D=this.rowManager.findRow(e);return D?this.rowManager.scrollToRow(D,r,C):(console.warn("Scroll Error - No matching row found:",e),Promise.reject("Scroll Error - No matching row found"))}moveRow(e,r,C){var D=this.rowManager.findRow(e);this.initGuard(),D?D.moveToRow(r,C):console.warn("Move Error - No matching row found:",e)}getRows(e){return this.rowManager.getComponents(e)}getRowPosition(e){var r=this.rowManager.findRow(e);return r?r.getPosition():(console.warn("Position Error - No matching row found:",e),!1)}setColumns(e){this.initGuard(!1,"To set initial columns please use the 'columns' property in the table constructor"),this.columnManager.setColumns(e)}getColumns(e){return this.columnManager.getComponents(e)}getColumn(e){var r=this.columnManager.findColumn(e);return r?r.getComponent():(console.warn("Find Error - No matching column found:",e),!1)}getColumnDefinitions(){return this.columnManager.getDefinitionTree()}showColumn(e){var r=this.columnManager.findColumn(e);if(this.initGuard(),r)r.show();else return console.warn("Column Show Error - No matching column found:",e),!1}hideColumn(e){var r=this.columnManager.findColumn(e);if(this.initGuard(),r)r.hide();else return console.warn("Column Hide Error - No matching column found:",e),!1}toggleColumn(e){var r=this.columnManager.findColumn(e);if(this.initGuard(),r)r.visible?r.hide():r.show();else return console.warn("Column Visibility Toggle Error - No matching column found:",e),!1}addColumn(e,r,C){var D=this.columnManager.findColumn(C);return this.initGuard(),this.columnManager.addColumn(e,r,D).then(T=>T.getComponent())}deleteColumn(e){var r=this.columnManager.findColumn(e);return this.initGuard(),r?r.delete():(console.warn("Column Delete Error - No matching column found:",e),Promise.reject())}updateColumnDefinition(e,r){var C=this.columnManager.findColumn(e);return this.initGuard(),C?C.updateDefinition(r):(console.warn("Column Update Error - No matching column found:",e),Promise.reject())}moveColumn(e,r,C){var D=this.columnManager.findColumn(e),T=this.columnManager.findColumn(r);this.initGuard(),D?T?this.columnManager.moveColumn(D,T,C):console.warn("Move Error - No matching column found:",T):console.warn("Move Error - No matching column found:",e)}scrollToColumn(e,r,C){return new Promise((D,T)=>{var p=this.columnManager.findColumn(e);return p?this.columnManager.scrollToColumn(p,r,C):(console.warn("Scroll Error - No matching column found:",e),Promise.reject("Scroll Error - No matching column found"))})}redraw(e){this.initGuard(),this.columnManager.redraw(e),this.rowManager.redraw(e)}setHeight(e){this.options.height=isNaN(e)?e:e+"px",this.element.style.height=this.options.height,this.rowManager.initializeRenderer(),this.rowManager.redraw(!0)}on(e,r){this.externalEvents.subscribe(e,r)}off(e,r){this.externalEvents.unsubscribe(e,r)}dispatchEvent(){var e=Array.from(arguments);e.shift(),this.externalEvents.dispatch(...arguments)}alert(e,r){this.initGuard(),this.alertManager.alert(e,r)}clearAlert(){this.initGuard(),this.alertManager.clear()}modExists(e,r){return this.modules[e]?!0:(r&&console.error("Tabulator Module Not Installed: "+e),!1)}module(e){var r=this.modules[e];return r||console.error("Tabulator module not installed: "+e),r}}Yd.defaultOptions=DP;new t6(Yd);class n6 extends Yd{}new t6(n6,OP);const nO=ns({name:"TabulatorTable",props:{tableIndexField:{type:String,required:!1,default:()=>"id"},tableData:{type:Object,required:!0},columnDefinitions:{type:Object,required:!0},title:{type:String,required:!1},index:{type:Number,required:!0},selectedRowIndexFromListening:{type:Number,required:!1,default:()=>{}},tableLayoutParam:{type:String,required:!1,default:()=>"fitDataFill"},defaultRow:{type:Number,required:!1,default:()=>-1},initialSort:{type:Array,required:!1,default:()=>{}}},emits:["rowSelected"],setup(){return{streamlitDataStore:Ns()}},data(){return{tabulator:void 0,initialized:0}},computed:{id(){return`table-${this.index}`},containerStyles(){return{display:"flex","flex-direction":"column","align-items":"center"}},tableClasses(){var n,e;return{"table-dark":((n=this.streamlitDataStore.theme)==null?void 0:n.base)==="dark","table-light":((e=this.streamlitDataStore.theme)==null?void 0:e.base)==="light","table-striped":!1,"table-bordered":!0,"table-sm":!0}},preparedTableData(){const n=[...this.columnDefinitions.map(e=>e.field),"id"];if(this.tableData!==void 0&&this.tableData.length>0){const e=[];return this.tableData.forEach((r,C)=>{const D={};n.forEach(T=>{T!==void 0&&(D[T]=r[T])}),this.tableData[0][this.tableIndexField]===void 0?e.push({...D,[this.tableIndexField]:C}):e.push({...D})}),e}return this.tableData}},watch:{tableData(){this.drawTable()},selectedRowIndexFromListening(n){n!==void 0&&this.onSelectedRowListener(n)}},mounted(){this.drawTable()},methods:{drawTable(){this.tabulator=new n6(`#${this.id}`,{index:this.tableIndexField,data:this.preparedTableData,minHeight:50,maxHeight:this.title?320:310,responsiveLayout:"collapse",layout:this.tableLayoutParam,selectable:1,columnDefaults:{title:"",hozAlign:"right"},columns:this.columnDefinitions.map(n=>(n.headerTooltip===void 0&&(n.headerTooltip=!0),n)),initialSort:this.initialSort}),this.tabulator.on("tableBuilt",()=>{this.selectedRowIndexFromListening!==void 0?this.onSelectedRowListener(this.selectedRowIndexFromListening):this.selectDefaultRow()})},selectDefaultRow(){var n;if(this.defaultRow>=0){const e=(n=this.tabulator)==null?void 0:n.getRows("active");e&&e.length>0&&this.defaultRow>=0&&this.defaultRow[ia(fo(n.title??""),1)])])]),ti("div",lO,[nb(n.$slots,"end-title-row")])])]),ti("div",{id:n.id,class:Ju(n.tableClasses),onClick:e[0]||(e[0]=(...t)=>n.onTableClick&&n.onTableClick(...t))},null,10,uO)])}const y0=hs(nO,[["render",cO]]),Df=n=>e=>e.getValue().toString().length>4?e.getValue().toFixed(n??4):e.getValue(),hO=ns({name:"TabulatorScanTable",components:{TabulatorTable:y0},props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Ns(),e=rc();return{streamlitDataStore:n,selectionStore:e}},data(){return{columnDefinitions:[{title:"Index",field:"id",sorter:"number",headerTooltip:"The sequential index of the spectrum in the dataset."},{title:"Scan Number",field:"Scan",sorter:"number",headerTooltip:"The identifier of the mass spectrometry scan."},{title:"MS Level",field:"MSLevel",sorter:"number",headerTooltip:"The level of mass spectrometry analysis (e.g., MS1 or MS2)."},{title:"Retention time",field:"RT",formatter:Df(),sorter:"number",headerTooltip:"The time at which the spectrum was detected during the chromatographic separation in seconds."},{title:"Precursor Mass",field:"PrecursorMass",formatter:Df(),sorter:"number",headerTooltip:"The mass of the precursor ion selected for fragmentation in Daltons."},{title:"#Masses",field:"#Masses",sorter:"number",headerTooltip:"The number of detected masses in the spectrum."}]}},computed:{tableData(){const n=this.streamlitDataStore.allDataForDrawing.per_scan_data;return n.forEach(e=>e.id=e.index),n},selectedRow(){return this.selectionStore.selectedScanIndex}},methods:{updateSelectedScan(n){n!==void 0&&(n!==this.selectionStore.selectedScanIndex&&this.selectionStore.updateSelectedMass(0),this.selectionStore.updateSelectedScan(n))}}});function fO(n,e,r,C,D,T){const p=Gr("TabulatorTable");return Rr(),za(p,{"table-data":n.tableData,"column-definitions":n.columnDefinitions,title:"Scan Table",index:n.index,"table-layout-param":"fitColumns",onRowSelected:n.updateSelectedScan,"selected-row-index-from-listening":n.selectedRow,"default-row":0},null,8,["table-data","column-definitions","index","onRowSelected","selected-row-index-from-listening"])}const dO=hs(hO,[["render",fO]]),pO={xPosScalingFactor:27.5,xPosScalingThreshold:30,enableManualZoom:!0,showChargeLabels:!0},y5={highlightColor:"#E4572E",selectedColor:"#F3A712",unhighlightedColor:"lightblue",highlightHiddenColor:"1f77b4",annotationColors:{massButton:"#E4572E",selectedMassButton:"#F3A712",sequenceArrow:"#E4572E",selectedSequenceArrow:"#F3A712",background:"#f0f0f0",buttonHover:"#e0e0e0"}},mO=ns({name:"PlotlyLineplotUnified",props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Ns(),e=rc();return{streamlitDataStore:n,selectionStore:e}},data(){return{manual:!1,manual_xRange:void 0,isInitialized:!1,annotationsVisible:!0,localTitle:""}},computed:{id(){return`graph-${this.index}`},isDataReady(){var n;try{const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!e||!Array.isArray(e)||e.length===0)return!1;const r=this.selectedScan;if(r===void 0||r>=e.length)return!1;const C=e[r];if(!C||typeof C!="object")return!1;const D=this.xColumn,T=this.yColumn;if(!D||!T)return!1;const p=C[D],t=C[T];return!(!Array.isArray(p)||!Array.isArray(t)||p.length===0||t.length===0)}catch(e){return this.handleError(e,"isDataReady-computation"),!1}},theme(){return this.streamlitDataStore.theme},isTnTMode(){return this.selectionStore.selectedTag!==void 0},config(){return{...pO,...this.args.config}},styling(){var n;return{...y5,...this.args.styling,annotationColors:{...y5.annotationColors,...(n=this.args.styling)==null?void 0:n.annotationColors}}},selectedScan(){var n;try{const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;return!e||e.length===0?void 0:0}catch(e){this.handleError(e,"selectedScan-computation");return}},selectedTag(){return this.isTnTMode?this.selectionStore.selectedTagIndex:void 0},selectedAA(){var n;return this.isTnTMode?(n=this.selectionStore.selectedTag)==null?void 0:n.selectedAA:void 0},currentTitle(){return this.localTitle||this.args.title},xAxisLabel(){switch(this.currentTitle){case"Annotated Spectrum":case"Augmented Annotated Spectrum":return"m/z";case"Deconvolved Spectrum":case"Augmented Deconvolved Spectrum":return"Monoisotopic Mass";default:return""}},yAxisLabel(){return"Intensity"},xColumn(){switch(this.currentTitle){case"Annotated Spectrum":case"Augmented Annotated Spectrum":return"MonoMass_Anno";case"Deconvolved Spectrum":case"Augmented Deconvolved Spectrum":return"MonoMass";default:return""}},yColumn(){switch(this.currentTitle){case"Annotated Spectrum":case"Augmented Annotated Spectrum":return"SumIntensity_Anno";case"Deconvolved Spectrum":case"Augmented Deconvolved Spectrum":return"SumIntensity";default:return""}},xValues(){var n;try{const e=[],r=this.selectedScan;if(r===void 0)return e;const C=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!C||r>=C.length)return e;const D=C[r];if(!D)return e;const T=D[this.xColumn];return!T||!Array.isArray(T)||T.forEach(p=>{typeof p=="number"&&!isNaN(p)&&e.push(p,p,p)}),e}catch(e){return this.handleError(e,"xValues-computation"),[]}},yValues(){var n;try{const e=[],r=this.selectedScan;if(r===void 0)return e;const C=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!C||r>=C.length)return e;const D=C[r];if(!D)return e;const T=D[this.yColumn];return!T||!Array.isArray(T)||T.forEach(p=>{typeof p=="number"&&!isNaN(p)&&e.push(-1e7,p,-1e7)}),e}catch(e){return this.handleError(e,"yValues-computation"),[]}},MassValues(){var n;try{if(this.selectedScan===void 0)return[];const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!e||this.selectedScan>=e.length)return[];const r=e[this.selectedScan],C=r==null?void 0:r.MonoMass;return Array.isArray(C)?C:[]}catch(e){return this.handleError(e,"xMassValues-computation"),[]}},MZValues(){var n;try{if(this.selectedScan===void 0)return[];const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!e||this.selectedScan>=e.length)return[];const r=e[this.selectedScan],C=r==null?void 0:r.MonoMass_Anno;return Array.isArray(C)?C:[]}catch(e){return this.handleError(e,"xMassValues-computation"),[]}},mzSignals(){var n;try{if(this.selectedScan===void 0)return[];const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!e||this.selectedScan>=e.length)return[];const r=e[this.selectedScan],C=r==null?void 0:r.SignalPeaks;return Array.isArray(C)?C:[]}catch(e){return this.handleError(e,"mzSignals-computation"),[]}},minCharge(){var n;try{if(this.selectedScan===void 0)return-10;const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!e||this.selectedScan>=e.length)return-10;const r=e[this.selectedScan],C=r==null?void 0:r.MinCharges;return!Array.isArray(C)||C.length===0?-10:Math.min(...C)}catch(e){return this.handleError(e,"minCharge-computation"),-10}},maxCharge(){var n;try{if(this.selectedScan===void 0)return-10;const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!e||this.selectedScan>=e.length)return-10;const r=e[this.selectedScan],C=r==null?void 0:r.MinCharges;return!Array.isArray(C)||C.length===0?-10:Math.max(...C)}catch(e){return this.handleError(e,"maxCharge-computation"),-10}},showBackButton(){return this.isTnTMode&&this.currentTitle==="Augmented Annotated Spectrum"},shouldHighlightMassIndex(){return this.currentTitle==="Deconvolved Spectrum"&&this.selectionStore.selectedMassIndex!==void 0},highlightedValues(){var n,e;try{let r=[];((n=this.selectionStore.selectedTag)==null?void 0:n.masses)!==void 0&&(r=(e=this.selectionStore.selectedTag)==null?void 0:e.masses);let C=[];r.forEach((t,d)=>{for(let g=0;g=0&&this.selectionStore.selectedMassIndex=D.length)continue;if(T.length===0){p.push({mass:this.MassValues[d],mzs:[],charges:[],intensity:[]});continue}const g=D[d];let i=[],M=[],v=[];const f=T[d];if(Array.isArray(f))for(let l=0;l=4&&(i.push(a[1]),v.push(a[2]),M.push(a[3]))}p.push({mass:g,mzs:i,charges:M,intensity:v})}return p}catch(r){return this.handleError(r,"highlightedValues-computation"),[]}},highlightedMassPos(){var n,e;try{const r=this.highlightedValues;if(r.length===0||!Array.isArray(this.MassValues))return new Array(((n=this.MassValues)==null?void 0:n.length)||0).fill(!1);const C=new Set(r.map(D=>D.mass));return this.MassValues.map(D=>C.has(D))}catch(r){return this.handleError(r,"booleanMassHighlightMask-computation"),new Array(((e=this.MassValues)==null?void 0:e.length)||0).fill(!1)}},highlightedMzPos(){var n,e;try{const r=this.highlightedValues;if(r.length===0||!Array.isArray(this.MZValues))return new Array(((n=this.MZValues)==null?void 0:n.length)||0).fill(!1);const C=new Set(r.flatMap(D=>D.mzs));return this.MZValues.map(D=>C.has(D))}catch(r){return this.handleError(r,"booleanHighlightMask-computation"),new Array(((e=this.MZValues)==null?void 0:e.length)||0).fill(!1)}},plotData(){var p,t;let n=[],e=[],r=[],C=[],D=[],T=[];for(let d=0;dArray.isArray(g.mzs)?g.mzs:[]).filter(g=>Number.isFinite(g)):r=e.map(g=>g.mass).filter(g=>!isNaN(g)),r.length===0)return[0,1];let C=Math.min(...r)*.98,D=Math.max(...r)*1.02;if(this.xAxisLabel==="m/z")return[C,D];let T=r.reduce((g,i)=>g+i,0)/r.length,p=.5*.9*this.maxAnnotationRange,t=[T-p,T+p];return this.calculateOptimalXRange(t)}catch(n){return this.handleError(n,"xRange-computation"),[0,1]}},yRange(){try{return this.computeYRange(this.xRange)}catch(n){return this.handleError(n,"yRange-computation"),[0,1]}},annotationData(){var n,e;try{if(!this.annotationsVisible)return{shapes:[],annotations:[],traces:[]};const r=this.highlightedValues;if(r.length===0)return{shapes:[],annotations:[],traces:[]};const C=this.getAnnotationPositioning;if(!C)return{shapes:[],annotations:[],traces:[]};const{ypos_low:D,ypos:T,ypos_high:p,xpos_scaling:t}=C;let d=[],g=[],i=[];if(this.xAxisLabel==="m/z"){if(this.selectionStore.selectedMassIndex===void 0)return{shapes:[],annotations:[],traces:[]};if(this.selectionStore.selectedMassIndex>=this.MassValues.length)return{shapes:[],annotations:[],traces:[]};let c=this.styling.annotationColors.massButton;const h=r[0],{mzs:m,charges:w,intensity:y}=h;if(!m||m.length===0)return{shapes:[],annotations:[],traces:[]};const S=new Map;for(let x=0;xx.type==="charge"&&x.visible);let E=0;return S.forEach((x,A)=>{const L=x.reduce((O,z)=>O+z.intensity,0),R=x.map(O=>O.intensity/L*O.mz).reduce((O,z)=>O+z,0);k.some(O=>O.index===E)&&(g.push({type:"rect",x0:R-.5*t,y0:D,x1:R+.5*t,y1:p,fillcolor:c,line:{width:0}}),i.push({x:R,y:T,xref:"x",yref:"y",text:"z="+A,showarrow:!1,font:{size:15}})),E++}),{shapes:g,annotations:i,traces:d}}let M=[];const v=(n=this.selectionStore.selectedTag)==null?void 0:n.selectedAA,l=this.annotationBoxData.filter(c=>c.type==="mass"&&c.visible),a=r.length===1?2:1;for(let c=0;cy.index===c)){let y=this.styling.annotationColors.massButton,S="sans-serif";(v===c||v===c-1)&&(y=this.styling.annotationColors.selectedMassButton,S="Arial Black, Arial Bold, Arial, sans-serif"),d.push({x:[m],y:[T],mode:"markers",marker:{size:20,opacity:0},hoverinfo:"text",hovertext:String(m.toFixed(2)),type:"scatter"}),g.push({type:"rect",x0:m-a*t,y0:D,x1:m+a*t,y1:p,fillcolor:y,line:{width:0}}),i.push({x:m,y:T,xref:"x",yref:"y",text:m.toFixed(2),showarrow:!1,font:{size:15,family:S}})}}const u=T*.5,o=T*.6,s=(e=this.selectionStore.selectedTag)==null?void 0:e.sequence;for(let c=0;cS.index===c),y=l.some(S=>S.index===c+1);if(w&&y){let S=this.styling.annotationColors.sequenceArrow,_="sans-serif";v===c&&(S=this.styling.annotationColors.selectedSequenceArrow,_="Arial Black, Arial Bold, Arial, sans-serif");let k=h.mass,E=m.mass;const x=(k+E)/2;let A=x,L=x;const b=Math.abs(k-E)*.9;let R="",I=0;if(s!==void 0&&s.length>0){const O=s.length-1-c;O>=0&&OE?(I=k-E,k-=b,A+=b*.1,E+=b,L-=b*.1):(I=E-k,k+=b,A-=b*.1,E-=b,L+=b*.1),M.push({ax:A,ay:u,xref:"x",yref:"y",x:k,y:u,axref:"x",ayref:"y",showarrow:!0,arrowhead:0,arrowsize:1,arrowwidth:2,arrowcolor:S}),M.push({ax:L,ay:u,xref:"x",yref:"y",x:E,y:u,axref:"x",ayref:"y",showarrow:!0,arrowhead:2,arrowsize:1,arrowwidth:2,arrowcolor:S}),M.push({x,y:o,xref:"x",yref:"y",text:R,hovertext:"Δ="+I.toFixed(2)+" Da",showarrow:!1,font:{size:15,color:S,family:_}})}}return{shapes:g,annotations:[...i,...M],traces:d}}catch(r){return this.handleError(r,"annotationData-computation"),{shapes:[],annotations:[],traces:[]}}},data(){let n=[];if(!this.annotationsVisible)return n.push({x:this.xValues,y:this.yValues,mode:"lines",type:"scatter",connectgaps:!1,marker:{color:this.styling.highlightHiddenColor}}),n;n.push({x:this.plotData.unhighlighted_x,y:this.plotData.unhighlighted_y,mode:"lines",type:"scatter",marker:{color:this.styling.unhighlightedColor}}),n.push({x:this.plotData.highlighted_x,y:this.plotData.highlighted_y,mode:"lines",type:"scatter",marker:{color:this.styling.highlightColor}}),n.push({x:this.plotData.selected_x,y:this.plotData.selected_y,mode:"lines",type:"scatter",marker:{color:this.styling.selectedColor}});const e=this.annotationData.traces;return n.push(...e),n},layout(){var e,r,C,D,T;const n={title:`${this.currentTitle}`,showlegend:!1,height:400,xaxis:{title:this.xAxisLabel,showgrid:!1,showline:!0,linecolor:"grey",linewidth:1},yaxis:{title:this.yAxisLabel,showgrid:!0,gridcolor:(e=this.theme)==null?void 0:e.secondaryBackgroundColor,rangemode:"nonnegative",fixedrange:!1,showline:!0,linecolor:"grey",linewidth:1},paper_bgcolor:(r=this.theme)==null?void 0:r.backgroundColor,plot_bgcolor:(C=this.theme)==null?void 0:C.backgroundColor,font:{color:(D=this.theme)==null?void 0:D.textColor,family:(T=this.theme)==null?void 0:T.font}};return n.xaxis.range=this.xRange,n.yaxis.range=this.yRange,n.shapes=this.annotationData.shapes,n.annotations=this.annotationData.annotations,n},cssCustomProperties(){return{"--highlight-color":this.styling.highlightColor,"--selected-color":this.styling.selectedColor,"--unhighlighted-color":this.styling.unhighlightedColor,"--annotation-background":this.styling.annotationColors.background,"--button-hover-color":this.styling.annotationColors.buttonHover}}},watch:{isDataReady:{handler(n){n&&this.safeGraph()},immediate:!0},"streamlitDataStore.allDataForDrawing.per_scan_data":{handler(){this.safeGraph()},deep:!0},selectedScan(){this.resetManualState(),this.safeGraph()},xValues(){this.safeGraph()},selectedTag(){this.resetManualState(),this.safeGraph()},annotationsVisible(){this.safeGraph()},"selectionStore.selectedMassIndex"(){this.manual=!1,this.safeGraph()}},mounted(){this.initializeComponent()},methods:{computeAnnotationBoxes(n,e){try{const r=this.highlightedValues;if(r.length===0)return[];if(e.length<2||e[1]<=0||n.length<2)return[];const C=e[1]/1.8,D=C*1.18,T=C*1.32,p=(n[1]-n[0])/this.xPosScalingFactor,t=[];if(this.xAxisLabel==="m/z"){if(this.selectionStore.selectedMassIndex===void 0||this.selectionStore.selectedMassIndex>=this.MassValues.length)return t;const d=r[0],{mzs:g,charges:i,intensity:M}=d;if(!g||g.length===0)return t;const v=new Map;for(let l=0;l{const u=l.reduce((c,h)=>c+h.intensity,0),s=l.map(c=>c.intensity/u*c.mz).reduce((c,h)=>c+h,0);t.push({x:s,y:(D+T)/2,width:p,height:T-D,type:"charge",index:f++,visible:!0})})}else{const d=r.length===1?2:1;for(let g=0;g1){let d=!1;for(let g=0;g{g.visible=!1})}return t}catch(r){return this.handleError(r,"computeAnnotationBoxes"),[]}},wouldAnnotationsBeVisible(n){try{const e=this.computeYRange(n);return this.computeAnnotationBoxes(n,e).some(C=>C.visible)}catch(e){return this.handleError(e,"wouldAnnotationsBeVisible"),!0}},calculateOptimalXRange(n){try{let C=[...n];for(let D=0;D<10;D++){if(this.wouldAnnotationsBeVisible(C))return C;const T=(C[0]+C[1])/2,t=(C[1]-C[0])/2*.8;if(C=[T-t,T+t],C[1]-C[0]<.1)break}return C}catch(e){return this.handleError(e,"calculateOptimalXRange"),n}},dataToScreenX(n){try{const e=this.xRange;if(e.length!==2||e[1]<=e[0])return 0;const r=800;return 80+(n-e[0])/(e[1]-e[0])*r}catch(e){return this.handleError(e,"dataToScreenX"),0}},dataToScreenY(n){try{const e=this.yRange;if(e.length!==2||e[1]<=e[0])return 0;const r=300;return 50+r-(n-e[0])/(e[1]-e[0])*r}catch(e){return this.handleError(e,"dataToScreenY"),0}},dataToScreenWidth(n){try{const e=this.xRange;if(e.length!==2||e[1]<=e[0])return 0;const r=800;return n/(e[1]-e[0])*r}catch(e){return this.handleError(e,"dataToScreenWidth"),0}},dataToScreenHeight(n){try{const e=this.yRange;if(e.length!==2||e[1]<=e[0])return 0;const r=300;return n/(e[1]-e[0])*r}catch(e){return this.handleError(e,"dataToScreenHeight"),0}},testBoxesOverlapForRange(n,e,r){try{if(r.length!==2||r[1]<=r[0])return!1;const C=(r[1]-r[0])*.01,D=n.height*.1,T=n.x-n.width/2-C,p=n.x+n.width/2+C,t=n.y-n.height/2-D,d=n.y+n.height/2+D,g=e.x-e.width/2-C,i=e.x+e.width/2+C,M=e.y-e.height/2-D,v=e.y+e.height/2+D;return!(p{this.toggleAnnotations()}},{title:"Download as SVG",name:"toImageSvg",icon:Wl.Icons.camera,click:r=>{Wl.downloadImage(r,{filename:"FLASHViewer-lineplot",height:400,width:1200,format:"svg"})}}],scrollZoom:!0});e.on("plotly_relayout",r=>{this.onRelayout(r)}),e.on("plotly_click",r=>{this.onPlotClick(r)})}catch(n){this.handleError(n,"graph-rendering")}},initializeComponent(){try{this.isInitialized=!0,this.localTitle=this.args.title,this.safeGraph()}catch(n){this.handleError(n,"initializeComponent"),this.renderFallback()}},resetManualState(){try{this.manual=!1,this.manual_xRange=void 0,this.localTitle==="Augmented Annotated Spectrum"&&(this.localTitle="Augmented Deconvolved Spectrum"),this.selectionStore.updateSelectedMass(void 0)}catch(n){this.handleError(n,"resetManualState")}},backButton(){this.resetManualState(),this.safeGraph()},toggleAnnotations(){this.annotationsVisible=!this.annotationsVisible,this.safeGraph()},onPlotClick(n){if(n.points&&n.points.length>0){const e=n.points[0].x;for(let r=0;r=n[1])return[0,1];let C=0;for(let D=0;D=n[1]||p>C&&(C=p)}return C===0?[0,1]:[0,C*1.8]}catch(e){return this.handleError(e,"computeYRange"),[0,1]}},getFallbackData(){return[{x:[0,1],y:[0,0],mode:"lines",type:"scatter",marker:{color:this.styling.unhighlightedColor},name:"No Data"}]},getFallbackLayout(){var n,e,r,C;return{title:"No Data Available",showlegend:!1,height:400,xaxis:{title:"X-axis",showgrid:!1},yaxis:{title:"Y-axis",showgrid:!0,rangemode:"nonnegative"},paper_bgcolor:((n=this.theme)==null?void 0:n.backgroundColor)||"white",plot_bgcolor:((e=this.theme)==null?void 0:e.backgroundColor)||"white",font:{color:((r=this.theme)==null?void 0:r.textColor)||"black",family:((C=this.theme)==null?void 0:C.font)||"Arial"}}},validateComponentState(){var n;try{if(!this.streamlitDataStore||!this.selectionStore)return console.warn("PlotlyLineplotUnified: Required stores not available"),!1;const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!Array.isArray(e))return console.warn("PlotlyLineplotUnified: Invalid scan data structure"),!1;const r=this.selectedScan;if(r!==void 0&&r0}};console.error(`PlotlyLineplotUnified error in ${e}:`,n,r)}}});const gO=["id"];function vO(n,e,r,C,D,T){return Rr(),ei("div",{id:n.id,class:"plot-container",style:zs(n.cssCustomProperties)},[n.showBackButton?(Rr(),ei("button",{key:0,class:"simple-button",onClick:e[0]||(e[0]=(...p)=>n.backButton&&n.backButton(...p))}," ↩ ")):Zi("",!0)],12,gO)}const yO=hs(mO,[["render",vO],["__scopeId","data-v-0b5cc4d2"]]),bO=ns({name:"Plotly3Dplot",props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Ns(),e=rc();return{streamlitDataStore:n,selectionStore:e}},data(){return{maximumIntensity:0}},computed:{id(){return`graph-${this.index}`},title(){return this.selectedScanRow===void 0?"":this.selectedMassRow===void 0?"Precursor signals":"Mass signals"},theme(){return this.streamlitDataStore.theme},selectedScanRow(){if(this.selectionStore.selectedScanIndex!==void 0)return this.streamlitDataStore.allDataForDrawing.per_scan_data.length===1?0:this.selectionStore.selectedScanIndex},selectedMassRow(){return this.selectionStore.selectedMassIndex},dataForDrawing(){var T,p;const n=this.selectedScanRow,e=this.streamlitDataStore.allDataForDrawing.per_scan_data,r=this.selectedMassRow;if(n===void 0)return[];const C=e[n]??{};let D={};return r===void 0?D=this.getPrecursorSignal(C):this.streamlitDataStore.allDataForDrawing.per_scan_data.length===1?D=this.getSignalNoiseObject(C.SignalPeaks,C.NoisyPeaks):D=this.getSignalNoiseObject(((T=C.SignalPeaks)==null?void 0:T[r])??[[]],((p=C.NoisyPeaks)==null?void 0:p[r])??[[]]),Object.keys(D).length===0?[]:(this.updateMaximumIntensity(D),[{name:"Signal",type:"scatter3d",mode:"lines",x:D.signal_x,y:D.signal_y,z:D.signal_z,line:{color:"#3366CC"}},{name:"Noise",type:"scatter3d",mode:"lines",x:D.noise_x,y:D.noise_y,z:D.noise_z,line:{color:"#DC3912"}}])},layout(){var n,e,r,C;return{title:`${this.title}`,paper_bgcolor:(n=this.theme)==null?void 0:n.backgroundColor,plot_bgcolor:(e=this.theme)==null?void 0:e.secondaryBackgroundColor,height:800,font:{color:(r=this.theme)==null?void 0:r.textColor,family:(C=this.theme)==null?void 0:C.font},scene:{xaxis:{title:"Mass"},yaxis:{title:"Charge"},zaxis:{title:"Intensity",range:[0,this.maximumIntensity]},camera:{eye:{x:2.5,y:0,z:.2}}},showlegend:!0}}},watch:{selectedScanRow(){this.graph()},selectedMassRow(){this.graph()}},mounted(){this.graph()},methods:{updateMaximumIntensity(n){this.maximumIntensity=n.signal_z.concat(n.noise_z).reduce((e,r)=>Math.max(e,r),-1/0)},async graph(){await Wl.newPlot(this.id,this.dataForDrawing,this.layout,{modeBarButtonsToRemove:["toImage","sendDataToCloud"],modeBarButtonsToAdd:[{title:"Download as SVG",name:"toImageSvg",icon:Wl.Icons.camera,click:function(n){Wl.downloadImage(n,{filename:"FLASHViewer-3d-plot",height:800,width:800,format:"svg"})}}]})},getPrecursorSignal(n){if(n.PrecursorScan==0)return{};const e=this.streamlitDataStore.allDataForDrawing.per_scan_data.find(D=>D.Scan===n.PrecursorScan);if(!e)return{};const r=e.MonoMass,C=n.PrecursorMass;for(let D=0,T=r.length;DC.field),r=[];return Object.entries(n).forEach(C=>{const D=C[0];if(!e.includes(D)||D==="id")return;C[1].forEach((p,t)=>{r[t]={...r[t],[D]:p}})}),r.map((C,D)=>C.id=D),r},selectedMassFromFragmentTable(){return this.selectionStore.selectedObservedMassFromFragmentTable}},watch:{selectedMassFromFragmentTable(n){const e=this.tableData.findIndex(r=>r.MonoMass===n);e!==-1&&(this.selectedMassIndex=e)}},methods:{updateSelectedMass(n){n!==void 0&&this.selectionStore.updateSelectedMass(n)}}});function kO(n,e,r,C,D,T){const p=Gr("TabulatorTable");return Rr(),za(p,{"table-data":n.tableData,"column-definitions":n.columnDefinitions,title:"Mass Table",index:n.index,onRowSelected:n.updateSelectedMass,"selected-row-index-from-listening":n.selectedMassTableRow,"default-row":0},null,8,["table-data","column-definitions","index","onRowSelected","selected-row-index-from-listening"])}const MO=hs(TO,[["render",kO]]),AO=ns({name:"TabulatorProteinTable",components:{TabulatorTable:y0},props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Ns(),e=rc();return{streamlitDataStore:n,selectionStore:e}},data(){return{columnDefinitions:[{title:"Scan No.",field:"Scan",sorter:"number",headerTooltip:"The identifier of the mass spectrometry scan associated with the identified proteoform."},{title:"Accession",field:"accession",headerTooltip:"The unique identifier for the protein in the reference database."},{title:"Description",field:"description",responsive:10},{title:"Length",field:"length",responsive:6,sorter:"number",headerTooltip:"The total number of amino acids in the matched protein."},{title:"Mass",field:"ProteoformMass",responsive:8,sorter:"number",headerTooltip:"The calculated mass of the proteoform in Daltons.",formatter:function(n){const e=n.getValue();return e==-1?"-":e}},{title:"No. of Matched Fragments",field:"MatchingFragments",sorter:"number",headerTooltip:"The number of fragment ions that match the protein sequence."},{title:"No. of Modifications",field:"ModCount",sorter:"number",headerTooltip:"The number of modifications identified in the protein."},{title:"No. of Tags",field:"TagCount",sorter:"number",headerTooltip:"The number of sequence tags associated with the proteoform match."},{title:"Score",field:"Score",sorter:"number",headerTooltip:"A score indicating the confidence of the protein match (higher is better)."},{title:"Q-Value (Proteoform Level)",field:"ProteoformLevelQvalue",sorter:"number",headerTooltip:"The confidence value of the protein match at the proteoform level.",formatter:function(n){const e=n.getValue();return e==-1?"-":e}}],initialSort:[{column:"Score",dir:"desc"}]}},computed:{selectedRow(){return this.selectionStore.selectedProteinIndex},tableData(){const n=this.streamlitDataStore.dataForDrawing.protein_table;return n.forEach(e=>e.id=e.index),n}},methods:{updateSelectedProtein(n){if(n!==void 0){this.selectionStore.updateSelectedProtein(n);const e=this.streamlitDataStore.dataForDrawing.protein_table[n].Scan;if(e!==void 0&&typeof e=="number"){const r=this.streamlitDataStore.allDataForDrawing.per_scan_data.findIndex(C=>C.Scan===e);this.selectionStore.updateSelectedScan(r)}this.selectionStore.updateSelectedTag(void 0),this.selectionStore.updateTagData(void 0)}}}});function SO(n,e,r,C,D,T){const p=Gr("TabulatorTable");return Rr(),za(p,{"table-data":n.tableData,"column-definitions":n.columnDefinitions,title:"Protein Table",index:n.index,"selected-row-index-from-listening":n.selectedRow,"default-row":0,"initial-sort":n.initialSort,onRowSelected:n.updateSelectedProtein},null,8,["table-data","column-definitions","index","selected-row-index-from-listening","initial-sort","onRowSelected"])}const CO=hs(AO,[["render",SO]]),EO=ns({name:"TabulatorTagTable",components:{TabulatorTable:y0},props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Ns(),e=rc();return{streamlitDataStore:n,selectionStore:e}},data(){return{columnDefinitions:[{title:"Scan Number",field:"Scan",sorter:"number",headerTooltip:"The identifier of the mass spectrometry scan containing the sequence tag."},{title:"Start Position",field:"StartPos",sorter:"number",headerTooltip:"The position in the protein sequence where the sequence tag begins."},{title:"End Position",field:"EndPos",sorter:"number",headerTooltip:"The position in the protein sequence where the sequence tag ends."},{title:"Sequence",field:"TagSequence",sorter:"number",headerTooltip:"The amino acid sequence of the identified tag."},{title:"Length",field:"Length",sorter:"number",headerTooltip:"The number of amino acids in the sequence tag."},{title:"Tag Score",field:"Score",sorter:"number",headerTooltip:"A score indicating the confidence of the sequence tag identification (higher is better)."},{title:"N mass",field:"Nmass",sorter:"number",headerTooltip:"The N-terminal mass offset from the start of the sequence tag in Daltons.",formatter:function(n){const e=n.getValue();return e==-1?"-":e}},{title:"C mass",field:"Cmass",sorter:"number",headerTooltip:"The C-terminal mass offset from the end of the sequence tag in Daltons.",formatter:function(n){const e=n.getValue();return e==-1?"-":e}},{title:"Δ mass",field:"DeltaMass",sorter:"number",headerTooltip:"Delta mass is the difference between the tag flanking mass and the (partial) proteoform mass, from its terminal to the tag boundary."}],initialSort:[{column:"Score",dir:"desc"}],selectedTagIndex:void 0}},computed:{selectedRow(){return this.selectionStore.selectedTagIndex},tableData(){let e=this.streamlitDataStore.dataForDrawing.tag_table.filter(C=>C.ProteinIndex===this.selectionStore.selectedProteinIndex);const r=this.selectionStore.selectedAApos;return r!==void 0&&(e=e.filter(C=>{const D=C.StartPos,T=C.EndPos;return typeof D=="number"&&typeof T=="number"&&D<=r&&T>=r})),e.forEach(C=>C.id=C.TagIndex),e}},watch:{},methods:{getRowByTagIndex(n){return this.tableData.find(C=>C.id===n)},updateSelectedTag(n){if(n===void 0)return;this.selectionStore.updateSelectedTag(n);const e=this.getRowByTagIndex(n);if(e===void 0)return;const r=e.mzs;let C=[];typeof r=="string"&&(C=r.split(",").map(Number).filter(i=>i!==0));const D=typeof e.StartPos=="number"?e.StartPos:0,T=typeof e.EndPos=="number"?e.EndPos:0;let p=-1e3;D!==void 0&&this.selectionStore.selectedAApos!==void 0&&typeof D=="number"&&(p=this.selectionStore.selectedAApos-D);const t=e.TagSequence;let d="";typeof t=="string"&&(d=t);let g=!1;e["N mass"]===-1&&(g=!0),this.selectionStore.updateTagData({sequence:d,nTerminal:g,masses:C,selectedAA:p,startPos:D,endPos:T})}}});function LO(n,e,r,C,D,T){const p=Gr("TabulatorTable");return Rr(),za(p,{"table-data":n.tableData,"column-definitions":n.columnDefinitions,title:"Tag Table",index:n.index,onRowSelected:n.updateSelectedTag,"default-row":0,"initial-sort":n.initialSort},null,8,["table-data","column-definitions","index","onRowSelected","initial-sort"])}const IO=hs(EO,[["render",LO]]),W2=i2("variable-mod",{state:()=>({variableMod:{}}),getters:{variableModifications:n=>n.variableMod,isEmpty:n=>Object.values(n.variableMod).filter(e=>e!==void 0&&e!==0).length===0},actions:{updateVariableModifications(n,e){this.variableMod={...this.variableMod,[n]:e}}}}),wv={Acetyl:42.010565,Methyl:14.01565,Phospho:79.966331,Oxidation:15.994915,Deamidated:.984016,Amidated:-.984016},r6={"N-term":["Acetyl","Methyl","Phospho"],"C-term":["Amidated"],C:["Acetyl","Methyl","Phospho"],E:["Methyl","Phospho"],D:["Methyl","Phospho"],H:["Methyl","Phospho"],I:["Methyl"],K:["Methyl","Phospho"],L:["Methyl"],M:["Oxidation"],N:["Methyl"],Q:["Deamidated","Methyl"],R:["Methyl","Phospho"],S:["Acetyl","Methyl","Phospho"],T:["Acetyl","Methyl","Phospho"],Y:["Phospho"]},RO={default:[{typeName:"",typeMass:0}],"water loss":[{typeName:"-H2O",typeMass:-18.0105646863}],"ammonium loss":[{typeName:"-NH3",typeMass:-17.0265491015}],"proton loss/addition":[{typeName:"-H",typeMass:-1.0078250319},{typeName:"+H",typeMass:1.0078250319}]},PO=ns({name:"AminoAcidCell",props:{sequenceObject:{type:Object,required:!0},index:{type:Number,required:!0},fixedModification:{type:Boolean,default:!1},disableVariableModificationSelection:{type:Boolean,default:!1},showTags:{type:Boolean,default:!1},showModifications:{type:Boolean,default:!0},showFragments:{type:Boolean,default:!0}},emits:["selected"],setup(){const n=Ns(),e=W2(),r=rc();return{streamlitData:n,variableModData:e,selectionStore:r}},data(){return{menuOpen:!1,selectedModification:void 0,customSelected:!1,customModMass:"0"}},computed:{id(){return`${this.aminoAcid}${this.index}`},theme(){return this.streamlitData.theme},aminoAcid(){return this.sequenceObject.aminoAcid},start(){var e;const n=(e=this.streamlitData.sequenceData)==null?void 0:e[this.selectedSequence].proteoform_start;return n===void 0?n:n<0?0:n},end(){var e;const n=(e=this.streamlitData.sequenceData)==null?void 0:e[this.selectedSequence].proteoform_end;return n===void 0?n:n<0&&this.length!==void 0?this.length-1:n},length(){var n;return(n=this.streamlitData.sequenceData)==null?void 0:n[this.selectedSequence].sequence.length},prefix(){if(this.start===void 0&&this.end===void 0)return this.index+1;if(this.end!==void 0&&this.index>this.end)return;if(this.start!==void 0&&this.index>=this.start)return this.index+1-this.start},protein_position(){return this.index+1},truncated_prefix(){if(!(this.start===void 0||this.index>=this.start))return this.index+1},suffix(){if(this.start===void 0&&this.end===void 0)return(length??0)-this.index;if(this.start!==void 0&&this.index0},selectedSequence(){return this.selectionStore.selectedProteinIndex!==void 0?this.selectionStore.selectedProteinIndex:0},coverage(){return this.sequenceObject.coverage!==void 0?this.sequenceObject.coverage:-1},isHighlighted(){return this.index===this.selectionStore.selectedAApos},isTruncated(){return this.sequenceObject.truncated},DoesThisAAHaveSequenceTags(){return this.coverage>0},modMass(){return this.customModMass!=="0"?parseFloat(this.customModMass).toLocaleString("en-US",{signDisplay:"always"}):this.sequenceObject.modMass}},methods:{toggleMenuOpen(){this.disableVariableModificationSelection||(this.menuOpen=!this.menuOpen)},selectCell(){this.DoesThisAAHaveSequenceTags&&this.showTags&&(this.selectionStore.selectedAApos===this.index?this.selectionStore.updateSelectedAA(void 0):this.selectionStore.updateSelectedAA(this.index)),this.DoesThisAAHaveMatchingFragments&&this.$emit("selected",this.index)},updateSelectedModification(n){if(n==="None")this.selectedModification=void 0;else if(n==="Custom"){this.customSelected=!0;return}else this.selectedModification=n;this.toggleMenuOpen(),this.customSelected=!1,this.variableModData.updateVariableModifications(this.index,this.selectedModification?wv[this.selectedModification]:0)},updateCustomModification(){this.variableModData.updateVariableModifications(this.index,parseFloat(this.customModMass)),this.toggleMenuOpen()}},watch:{selectedModification(){this.selectedModification!==void 0&&wv[this.selectedModification]!==void 0&&(this.sequenceObject.modMass=parseFloat(wv[this.selectedModification].toFixed(2)).toLocaleString("en-US",{signDisplay:"always"}))},showTags(){this.showTags||this.selectionStore.updateSelectedAA(void 0)}}});const Mu=n=>(Ty("data-v-fb6c82e8"),n=n(),ky(),n),OO=["id"],DO={key:0,class:"frag-marker-container-a"},zO=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"green",d:"M7, 1 L9, 3 L9, 7 L9, 3 L7, 1 z","stroke-width":"1.5"})],-1)),FO=[zO],BO={key:1,class:"frag-marker-container-b"},NO=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"blue",d:"M10, 0 V5 M10, 0 H5 z","stroke-width":"3"})],-1)),VO=[NO],jO={key:2,class:"frag-marker-container-c"},UO=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"red",d:"M4, 1 L9, 3 L9, 7 L9, 3 L4, 1 z","stroke-width":"1.5"})],-1)),HO=[UO],GO={key:3,class:"frag-marker-container-x"},qO=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"green",d:"M1, 3 L1, 7 L3, 9 L1, 7 L1, 3 z","stroke-width":"1.5"})],-1)),WO=[qO],YO={key:4,class:"frag-marker-container-y"},$O=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"blue",d:"M0, 10 V5 M0, 10 H5 z","stroke-width":"3"})],-1)),ZO=[$O],XO={key:5,class:"frag-marker-container-z"},KO=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"red",d:"M1, 3 L1, 7 L6, 9 L1, 7 L1, 3 z","stroke-width":"1.5"})],-1)),JO=[KO],QO={key:6,class:"rounded-lg tag-marker tag-start"},eD={key:7,class:"rounded-lg tag-marker tag-end"},tD={key:8,class:"rounded-lg mod-marker mod-start"},nD={key:9,class:"rounded-lg mod-marker mod-end"},rD={key:10,class:"mod-marker mod-start-cont"},iD={key:11,class:"mod-marker mod-end-cont"},aD={key:12,class:"mod-marker mod-center-cont"},oD={key:13,class:"rounded-lg mod-mass"},sD=Mu(()=>ti("br",null,null,-1)),lD=Mu(()=>ti("br",null,null,-1)),uD={key:14,class:"rounded-lg mod-mass-a"},cD={key:15,class:"rounded-lg mod-mass-b"},hD={key:16,class:"rounded-lg mod-mass-c"},fD={key:17,class:"frag-marker-extra-type"},dD=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("circle",{cx:"5",cy:"5",r:"0.5",stroke:"black","stroke-width":"0.3",fill:"gold"})],-1)),pD=[dD],mD={class:"aa-text"},gD=Mu(()=>ti("br",null,null,-1)),vD=Mu(()=>ti("br",null,null,-1)),yD=Mu(()=>ti("br",null,null,-1)),bD=Mu(()=>ti("br",null,null,-1)),xD={key:4};function _D(n,e,r,C,D,T){const p=Gr("v-tooltip"),t=Gr("v-select"),d=Gr("v-list-item"),g=Gr("v-text-field"),i=Gr("v-btn"),M=Gr("v-form"),v=Gr("v-list"),f=Gr("v-menu");return Rr(),ei("div",{id:n.id,class:Ju(["d-flex justify-center align-center rounded-lg",[n.aminoAcidCellClass,{highlighted:n.isHighlighted},{truncated:n.isTruncated}]]),style:zs(n.aminoAcidCellStyles),onClick:e[5]||(e[5]=(...l)=>n.selectCell&&n.selectCell(...l)),onContextmenu:e[6]||(e[6]=jp((...l)=>n.toggleMenuOpen&&n.toggleMenuOpen(...l),["prevent"]))},[n.showFragments&&n.sequenceObject.aIon?(Rr(),ei("div",DO,FO)):Zi("",!0),n.showFragments&&n.sequenceObject.bIon?(Rr(),ei("div",BO,VO)):Zi("",!0),n.showFragments&&n.sequenceObject.cIon?(Rr(),ei("div",jO,HO)):Zi("",!0),n.showFragments&&n.sequenceObject.xIon?(Rr(),ei("div",GO,WO)):Zi("",!0),n.showFragments&&n.sequenceObject.yIon?(Rr(),ei("div",YO,ZO)):Zi("",!0),n.showFragments&&n.sequenceObject.zIon?(Rr(),ei("div",XO,JO)):Zi("",!0),n.showTags&&n.sequenceObject.tagStart?(Rr(),ei("div",QO)):Zi("",!0),n.showTags&&n.sequenceObject.tagEnd?(Rr(),ei("div",eD)):Zi("",!0),n.showModifications&&(n.sequenceObject.modStart||n.isThisAAmodified)?(Rr(),ei("div",tD)):Zi("",!0),n.showModifications&&(n.sequenceObject.modEnd||n.isThisAAmodified)?(Rr(),ei("div",nD)):Zi("",!0),n.showModifications&&n.sequenceObject.modStart&&!n.sequenceObject.modEnd?(Rr(),ei("div",rD)):Zi("",!0),n.showModifications&&!n.sequenceObject.modStart&&n.sequenceObject.modEnd?(Rr(),ei("div",iD)):Zi("",!0),n.showModifications&&n.sequenceObject.modCenter?(Rr(),ei("div",aD)):Zi("",!0),n.showModifications&&(n.sequenceObject.modEnd||n.isThisAAmodified)?(Rr(),ei("div",oD,[ia(fo(n.modMass)+" ",1),gt(p,{activator:"parent",class:"foreground"},{default:ci(()=>[ia(fo(`Modification Mass: ${n.modMass} Da`)+" ",1),sD,ia(" "+fo(`Possible Modifications: ${n.sequenceObject.modLabels}`)+" ",1),lD]),_:1})])):Zi("",!0),n.showFragments&&n.showModifications&&n.sequenceObject.modEnd&&n.sequenceObject.aIon&&!n.sequenceObject.bIon?(Rr(),ei("div",uD,fo(n.sequenceObject.modMass),1)):Zi("",!0),n.showFragments&&n.showModifications&&n.sequenceObject.modEnd&&n.sequenceObject.bIon?(Rr(),ei("div",cD,fo(n.sequenceObject.modMass),1)):Zi("",!0),n.showFragments&&n.showModifications&&n.sequenceObject.modEnd&&n.sequenceObject.cIon&&!n.sequenceObject.bIon?(Rr(),ei("div",hD,fo(n.sequenceObject.modMass),1)):Zi("",!0),n.showModifications&&n.DoesThisAAHaveExtraFragTypes?(Rr(),ei("div",fD,pD)):Zi("",!0),ti("div",mD,fo(n.aminoAcid),1),gt(f,{modelValue:n.menuOpen,"onUpdate:modelValue":e[4]||(e[4]=l=>n.menuOpen=l),activator:"parent",location:"end","open-on-click":!1,"close-on-content-click":!1,width:"200px"},{default:ci(()=>[gt(v,null,{default:ci(()=>[gt(d,null,{default:ci(()=>[gt(t,{modelValue:n.selectedModification,"onUpdate:modelValue":[e[0]||(e[0]=l=>n.selectedModification=l),n.updateSelectedModification],clearable:"true",label:"Modification",density:"compact",items:n.modificationsForSelect,"onClick:clear":e[1]||(e[1]=l=>n.selectedModification=void 0)},null,8,["modelValue","items","onUpdate:modelValue"])]),_:1}),n.customSelected?(Rr(),za(d,{key:0},{default:ci(()=>[gt(M,{onSubmit:e[3]||(e[3]=jp(()=>{},["prevent"]))},{default:ci(()=>[gt(g,{modelValue:n.customModMass,"onUpdate:modelValue":e[2]||(e[2]=l=>n.customModMass=l),"hide-details":"",label:"Monoisotopic mass in Da",type:"number"},null,8,["modelValue"]),gt(i,{type:"submit",block:"true",class:"mt-2",onClick:n.updateCustomModification},{default:ci(()=>[ia("Submit")]),_:1},8,["onClick"])]),_:1})]),_:1})):Zi("",!0)]),_:1})]),_:1},8,["modelValue"]),gt(p,{activator:"parent"},{default:ci(()=>[ti("div",null,fo(`Protein Position: ${n.protein_position}`),1),n.prefix!==void 0?(Rr(),ei(Yr,{key:0},[ia(fo(`Prefix: ${n.prefix}`)+" ",1),gD],64)):Zi("",!0),n.truncated_prefix!==void 0?(Rr(),ei(Yr,{key:1},[ia(fo(`Truncated Prefix: ${n.truncated_prefix}`)+" ",1),vD],64)):Zi("",!0),n.suffix!==void 0?(Rr(),ei(Yr,{key:2},[ia(fo(`Suffix: ${n.suffix}`)+" ",1),yD],64)):Zi("",!0),n.truncated_suffix!==void 0?(Rr(),ei(Yr,{key:3},[ia(fo(`Truncated Suffix: ${n.truncated_suffix}`)+" ",1),bD],64)):Zi("",!0),n.DoesThisAAHaveExtraFragTypes?(Rr(),ei("div",xD,fo(n.sequenceObject.extraTypes.join(", ")),1)):Zi("",!0)]),_:1})],46,OO)}const i6=hs(PO,[["render",_D],["__scopeId","data-v-fb6c82e8"]]),wD=ns({name:"ProteinTerminalCell",props:{proteinTerminal:{type:String,required:!0},index:{type:Number,required:!0},truncated:{type:Boolean,required:!1,default:!1},determined:{type:Boolean,required:!1,default:!0},disableVariableModificationSelection:{type:Boolean,default:!1}},setup(){const n=Ns(),e=W2();return{streamlitData:n,variableModData:e}},data(){return{menuOpen:!1,selectedModification:void 0,customSelected:!1,customModMass:"0"}},computed:{id(){return`${this.proteinTerminal}${this.index}`},theme(){return this.streamlitData.theme},proteinTerminalText(){return this.proteinTerminal.charAt(0)},hasVariableModification(){return this.variableModData.variableModifications[this.index]!==void 0&&this.variableModData.variableModifications[this.index]!==0},modificationsForSelect(){return["None","Custom",...this.potentialModifications]},proteinTerminalCellStyles(){var n,e;return{"--protein-terminal-cell-color":((n=this.theme)==null?void 0:n.textColor)??"#fff","--protein-terminal-cell-hover-color":"#fff","--protein-terminal-cell-hover-bg-color":((e=this.theme)==null?void 0:e.secondaryBackgroundColor)??"#000"}},proteinTerminalCellClasses(){return{"protein-terminal":this.selectedModification===void 0&&!this.hasVariableModification,"protein-terminal-modified":this.selectedModification!==void 0||this.hasVariableModification}},potentialModifications(){return r6[this.proteinTerminal]??[]}},methods:{toggleMenuOpen(){this.disableVariableModificationSelection||(this.menuOpen=!this.menuOpen)},updateSelectedModification(n){if(n==="None")this.selectedModification=void 0;else if(n==="Custom"){this.customSelected=!0;return}else this.selectedModification=n;this.toggleMenuOpen(),this.customSelected=!1,this.variableModData.updateVariableModifications(this.index,this.selectedModification?wv[this.selectedModification]:0)},updateCustomModification(){this.variableModData.updateVariableModifications(this.index,parseFloat(this.customModMass)),this.toggleMenuOpen()}}});const TD={key:0,class:"undetermined"};function kD(n,e,r,C,D,T){const p=Gr("v-select"),t=Gr("v-list-item"),d=Gr("v-text-field"),g=Gr("v-btn"),i=Gr("v-form"),M=Gr("v-list"),v=Gr("v-menu"),f=Gr("v-tooltip");return Rr(),ei("div",{class:Ju(["d-flex justify-center align-center rounded-lg",n.proteinTerminalCellClasses]),style:zs(n.proteinTerminalCellStyles),onClick:e[5]||(e[5]=jp(()=>{},["stop"])),onContextmenu:e[6]||(e[6]=jp((...l)=>n.toggleMenuOpen&&n.toggleMenuOpen(...l),["prevent"]))},[ti("div",{class:Ju(["terminal-text",{truncated:n.truncated}])},fo(n.proteinTerminalText),3),n.determined?Zi("",!0):(Rr(),ei("div",TD,"??")),gt(v,{activator:"parent",modelValue:n.menuOpen,"onUpdate:modelValue":e[4]||(e[4]=l=>n.menuOpen=l),location:"end","open-on-click":!1,"close-on-content-click":!1,width:"200px"},{default:ci(()=>[gt(M,null,{default:ci(()=>[gt(t,null,{default:ci(()=>[gt(p,{modelValue:n.selectedModification,"onUpdate:modelValue":[e[0]||(e[0]=l=>n.selectedModification=l),n.updateSelectedModification],clearable:"",label:"Modification",density:"compact",items:n.modificationsForSelect,"onClick:clear":e[1]||(e[1]=l=>n.selectedModification=void 0)},null,8,["modelValue","items","onUpdate:modelValue"])]),_:1}),n.customSelected?(Rr(),za(t,{key:0},{default:ci(()=>[gt(i,{onSubmit:e[3]||(e[3]=jp(()=>{},["prevent"]))},{default:ci(()=>[gt(d,{modelValue:n.customModMass,"onUpdate:modelValue":e[2]||(e[2]=l=>n.customModMass=l),"hide-details":"",label:"Monoisotopic mass in Da",type:"number"},null,8,["modelValue"]),gt(g,{type:"submit",block:"",class:"mt-2",onClick:n.updateCustomModification},{default:ci(()=>[ia("Submit")]),_:1},8,["onClick"])]),_:1})]),_:1})):Zi("",!0)]),_:1})]),_:1},8,["modelValue"]),gt(f,{activator:"parent"},{default:ci(()=>[ia(fo(n.proteinTerminalText),1)]),_:1})],38)}const MD=hs(wD,[["render",kD],["__scopeId","data-v-beee67fe"]]);var a6={exports:{}};/*! dom-to-image-more 26-04-2023 */(function(n,e){(function(r){const C=function(){let y=0;return{escape:function(A){return A.replace(/([.*+?^${}()|[]\/\\])/g,"\\$1")},isDataUrl:function(A){return A.search(/^(data:)/)!==-1},canvasToBlob:function(A){return A.toBlob?new Promise(function(L){A.toBlob(L)}):function(L){return new Promise(function(b){var R=f(L.toDataURL().split(",")[1]),I=R.length,O=new Uint8Array(I);for(let z=0;zte.style.removeProperty(X)),["left","right","top","bottom"].forEach(X=>{te.style.getPropertyValue(X)&&te.style.setProperty(X,"0px")})))}H(W,N)}function $(){const q=C.uid();function H(ne){const te=v(W,ne),Z=te.getPropertyValue("content");if(Z!==""&&Z!=="none"){let ie=function(){const oe=`.${q}:`+ne,ue=(te.cssText?ce:ye)();return document.createTextNode(oe+`{${ue}}`);function ce(){return`${te.cssText} content: ${Z};`}function ye(){return C.asArray(te).map(me).join("; ")+";";function me(pe){const xe=te.getPropertyValue(pe),Pe=te.getPropertyPriority(pe)?" !important":"";return pe+": "+xe+Pe}}};var X=ie;const Q=N.getAttribute("class")||"",re=(N.setAttribute("class",Q+" "+q),document.createElement("style"));re.appendChild(ie()),N.appendChild(re)}}[":before",":after"].forEach(function(ne){H(ne)})}function U(){C.isHTMLTextAreaElement(W)&&(N.innerHTML=W.value),C.isHTMLInputElement(W)&&N.setAttribute("value",W.value)}function G(){C.isSVGElement(N)&&(N.setAttribute("xmlns","http://www.w3.org/2000/svg"),C.isSVGRectElement(N))&&["width","height"].forEach(function(q){const H=N.getAttribute(q);H&&N.style.setProperty(q,H)})}}}(E,S,null)}).then(o).then(s).then(function(E){S.bgcolor&&(E.style.backgroundColor=S.bgcolor),S.width&&(E.style.width=S.width+"px"),S.height&&(E.style.height=S.height+"px"),S.style&&Object.keys(S.style).forEach(function(A){E.style[A]=S.style[A]});let x=null;return typeof S.onclone=="function"&&(x=S.onclone(E)),Promise.resolve(x).then(function(){return E})}).then(function(E){let x=S.width||C.width(E),A=S.height||C.height(E);return Promise.resolve(E).then(function(L){return L.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),new XMLSerializer().serializeToString(L)}).then(C.escapeXhtml).then(function(L){var b=(C.isDimensionMissing(x)?' width="100%"':` width="${x}"`)+(C.isDimensionMissing(A)?' height="100%"':` height="${A}"`);return`${L}`}).then(function(L){return"data:image/svg+xml;charset=utf-8,"+L})}).then(function(E){for(;0{h=null,m={}},2e4)}(),E})}function a(y,S){return l(y,S=S||{}).then(C.makeImage).then(function(_){var k=typeof S.scale!="number"?1:S.scale,E=function(A,L){let b=S.width||C.width(A),R=S.height||C.height(A);return C.isDimensionMissing(b)&&(b=C.isDimensionMissing(R)?300:2*R),C.isDimensionMissing(R)&&(R=b/2),A=document.createElement("canvas"),A.width=b*L,A.height=R*L,S.bgcolor&&((L=A.getContext("2d")).fillStyle=S.bgcolor,L.fillRect(0,0,A.width,A.height)),A}(y,k),x=E.getContext("2d");return x.msImageSmoothingEnabled=!1,x.imageSmoothingEnabled=!1,_&&(x.scale(k,k),x.drawImage(_,0,0)),E})}let u=null;function o(y){return T.resolveAll().then(function(S){var _;return S!==""&&(_=document.createElement("style"),y.appendChild(_),_.appendChild(document.createTextNode(S))),y})}function s(y){return t.inlineAll(y).then(function(){return y})}function c(y,S,_,k,E){const x=i.impl.options.copyDefaultStyles?function(L,I){var I=function(z){var F=[];do if(z.nodeType===M){var B=z.tagName;if(F.push(B),w.includes(B))break}while(z=z.parentNode,z);return F}(I),R=function(z){return(L.styleCaching!=="relaxed"?z:z.filter((F,B,N)=>B===0||B===N.length-1)).join(">")}(I);if(m[R])return m[R];var O=function(){if(u)return u.contentWindow;var z=document.characterSet||"UTF-8",F=document.doctype,F=F?(`":"";return(u=document.createElement("iframe")).id="domtoimage-sandbox-"+C.uid(),u.style.visibility="hidden",u.style.position="fixed",document.body.appendChild(u),function(N,W,j,$){try{return N.contentWindow.document.write(W+`${$}`),N.contentWindow}catch{}var U=document.createElement("meta");U.setAttribute("charset",j);try{var G=document.implementation.createHTMLDocument($),q=(G.head.appendChild(U),W+G.documentElement.outerHTML);return N.setAttribute("srcdoc",q),N.contentWindow}catch{}return N.contentDocument.head.appendChild(U),N.contentDocument.title=$,N.contentWindow}(u,F,z,"domtoimage-sandbox");function B(N){var W;return N?((W=document.createElement("div")).innerText=N,W.innerHTML):""}}(),I=function(z,F){let B=z.body;do{var N=F.pop(),N=z.createElement(N);B.appendChild(N),B=N}while(0{const r=this.$refs.downloadLink;r.download="FLASHViewer-sequence.svg",r.href=e,r.click()}).finally(()=>{this.svgDownloadTriggered=!1})}}}),ED={ref:"downloadLink",style:{visibility:"hidden"}};function LD(n,e,r,C,D,T){const p=Gr("v-btn"),t=Gr("v-tooltip"),d=Gr("v-progress-linear"),g=Gr("v-card-text"),i=Gr("v-card"),M=Gr("v-dialog");return Rr(),ei(Yr,null,[gt(p,{id:"download-button",variant:"text",size:"large",icon:"mdi-download",onClick:n.triggerDownload},null,8,["onClick"]),gt(t,{text:"Save as SVG",location:"bottom",activator:"#download-button"}),ti("a",ED,null,512),gt(M,{modelValue:n.svgDownloadTriggered,"onUpdate:modelValue":e[0]||(e[0]=v=>n.svgDownloadTriggered=v),persistent:"",width:"auto"},{default:ci(()=>[gt(i,{color:"primary"},{default:ci(()=>[gt(g,null,{default:ci(()=>[ia(" Please stand by "),gt(d,{indeterminate:"",color:"white",class:"mb-0"})]),_:1})]),_:1})]),_:1},8,["modelValue"])],64)}const o6=hs(CD,[["render",LD]]),ID=ns({name:"SequenceViewInformation",components:{AminoAcidCell:i6},setup(){return{streamlitDataStore:Ns()}},data(){return{dialog:!1,aIon:!0,bIon:!1,cIon:!1,xIon:!0,yIon:!0,zIon:!1,fixed_mod:!1,variable_mod:!1,originalAAClasses:void 0,waterLoss:!1,ammoniumLoss:!1,proton:!1}},computed:{theme(){return this.streamlitDataStore.theme},aaSequenceObject(){return{aminoAcid:"AA",aIon:this.aIon,bIon:this.bIon,cIon:this.cIon,xIon:this.xIon,yIon:this.yIon,zIon:this.zIon,modStart:this.variable_mod,modEnd:this.variable_mod,modMass:"+134.99",truncated:!1,extraTypes:this.extraFragTypes()}}},methods:{setAAWithVarMod(){var e;this.originalAAClasses===void 0&&(this.originalAAClasses=((e=document.getElementById("AA0"))==null?void 0:e.getAttribute("class"))??"");const n=document.getElementById("AA0");if(n){let r=this.originalAAClasses;this.fixed_mod&&(r="sequence-amino-acid-highlighted "+r),n.setAttribute("class",r)}},extraFragTypes(){let n="";if(this.aIon)n="a";else if(this.bIon)n="b";else if(this.cIon)n="c";else if(this.xIon)n="x";else if(this.yIon)n="y";else if(this.zIon)n="z";else return[];let e=[];return this.waterLoss&&e.push(`${n}-H20`),this.ammoniumLoss&&e.push(`${n}-NH3`),this.proton&&(e.push(`${n}-H`),e.push(`${n}+H`)),e}}});const s6=n=>(Ty("data-v-9a6912d6"),n=n(),ky(),n),RD=s6(()=>ti("div",{class:"text-h6 d-flex justify-center"},"Legend for Sequence Map",-1)),PD={class:"d-flex justify-center"},OD={class:"sequence-grid pa-6",style:{width:"150px","max-width":"100%"}},DD={class:"d-flex"},zD={class:"d-flex"},FD=s6(()=>ti("div",{class:"text-subtitle-2 d-flex justify-end align-end"}," * Click checkboxes to see the styles ",-1));function BD(n,e,r,C,D,T){var c;const p=Gr("v-btn"),t=Gr("v-card-title"),d=Gr("v-divider"),g=Gr("AminoAcidCell"),i=Gr("v-checkbox"),M=Gr("v-row"),v=Gr("v-list-item-title"),f=Gr("v-list-item"),l=Gr("v-list"),a=Gr("v-card-text"),u=Gr("v-card-actions"),o=Gr("v-card"),s=Gr("v-dialog");return Rr(),ei(Yr,null,[gt(p,{id:"info-button",variant:"text",size:"large",icon:"mdi-information"}),gt(s,{modelValue:n.dialog,"onUpdate:modelValue":e[13]||(e[13]=h=>n.dialog=h),activator:"#info-button",width:"auto",theme:((c=n.theme)==null?void 0:c.base)??"light"},{default:ci(()=>[gt(o,null,{default:ci(()=>[gt(t,null,{default:ci(()=>[ia("Sequence View legend")]),_:1}),gt(d),gt(a,null,{default:ci(()=>[RD,ti("div",PD,[ti("div",OD,[gt(g,{index:0,"sequence-object":n.aaSequenceObject,onSelected:e[0]||(e[0]=jp(()=>{},["stop"]))},null,8,["sequence-object"])])]),ia(" Fragment ion types "),gt(M,null,{default:ci(()=>[ti("div",DD,[gt(i,{modelValue:n.aIon,"onUpdate:modelValue":e[1]||(e[1]=h=>n.aIon=h),label:"a"},null,8,["modelValue"]),gt(i,{modelValue:n.bIon,"onUpdate:modelValue":e[2]||(e[2]=h=>n.bIon=h),label:"b"},null,8,["modelValue"]),gt(i,{modelValue:n.cIon,"onUpdate:modelValue":e[3]||(e[3]=h=>n.cIon=h),label:"c"},null,8,["modelValue"]),gt(i,{modelValue:n.xIon,"onUpdate:modelValue":e[4]||(e[4]=h=>n.xIon=h),label:"x"},null,8,["modelValue"]),gt(i,{modelValue:n.yIon,"onUpdate:modelValue":e[5]||(e[5]=h=>n.yIon=h),label:"y"},null,8,["modelValue"]),gt(i,{modelValue:n.zIon,"onUpdate:modelValue":e[6]||(e[6]=h=>n.zIon=h),label:"z"},null,8,["modelValue"]),gt(i,{modelValue:n.waterLoss,"onUpdate:modelValue":e[7]||(e[7]=h=>n.waterLoss=h),label:"water loss"},null,8,["modelValue"]),gt(i,{modelValue:n.ammoniumLoss,"onUpdate:modelValue":e[8]||(e[8]=h=>n.ammoniumLoss=h),label:"ammonium loss"},null,8,["modelValue"]),gt(i,{modelValue:n.proton,"onUpdate:modelValue":e[9]||(e[9]=h=>n.proton=h),label:"proton loss/addition"},null,8,["modelValue"])])]),_:1}),ia(" Modifications "),ti("div",zD,[gt(i,{modelValue:n.fixed_mod,"onUpdate:modelValue":[e[10]||(e[10]=h=>n.fixed_mod=h),n.setAAWithVarMod],label:"Fixed modifications","hide-details":"",density:"comfortable"},null,8,["modelValue","onUpdate:modelValue"]),gt(i,{modelValue:n.variable_mod,"onUpdate:modelValue":[e[11]||(e[11]=h=>n.variable_mod=h),n.setAAWithVarMod],label:"Variable modifications","hide-details":"",density:"comfortable"},null,8,["modelValue","onUpdate:modelValue"]),FD]),gt(l,{density:"compact"},{default:ci(()=>[gt(v,null,{default:ci(()=>[ia("Interaction tips")]),_:1}),gt(f,null,{default:ci(()=>[ia("Left click: highlights corresponding entries in Fragment Table and Mass Table")]),_:1}),gt(f,null,{default:ci(()=>[ia("Right click: opens variable modification menu (custom modification is available)")]),_:1})]),_:1})]),_:1}),gt(u,null,{default:ci(()=>[gt(p,{color:"primary",block:"true",onClick:e[12]||(e[12]=h=>n.dialog=!1)},{default:ci(()=>[ia("Close")]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue","theme"])],64)}const ND=hs(ID,[["render",BD],["__scopeId","data-v-9a6912d6"]]),VD=ns({name:"SequenceView",components:{SequenceViewInformation:ND,TabulatorTable:y0,AminoAcidCell:i6,ProteinTerminalCell:MD,SvgScreenshot:o6},props:{index:{type:Number,required:!0}},setup(){const n=Ns(),e=rc(),r=W2();return{streamlitDataStore:n,selectionStore:e,variableModData:r}},data(){return{rowWidth:35,massData:[],massTitle:"",ionTypes:[{text:"a",selected:!1},{text:"b",selected:!0},{text:"c",selected:!1},{text:"x",selected:!1},{text:"y",selected:!0},{text:"z",selected:!1}],ionTypesExtra:{"water loss":!1,"ammonium loss":!1,"proton loss/addition":!1},fragmentMassTolerance:10,visibilityOptions:[{text:"Fragments",selected:!0},{text:"Modifications",selected:!0}],fragmentTableColumnDefinitions:[{title:"Name",field:"Name",headerTooltip:"The name of the fragment ion, represented in Biemann notation."},{title:"Ion type",field:"IonType",headerTooltip:"The type of fragment ion identified in the spectrum."},{title:"Ion number",field:"IonNumber",sorter:"number",headerTooltip:"The position of the fragment ion within the sequence."},{title:"Theoretical mass",field:"TheoreticalMass",sorter:"number",headerTooltip:"The expected mass of the fragment ion."},{title:"Observed mass",field:"ObservedMass",formatter:Df(),sorter:"number",headerTooltip:"The mass of the fragment ion as observed in the spectrum."},{title:"Mass difference (Da)",field:"MassDiffDa",sorter:"number",headerTooltip:"The difference between the observed and theoretical masses of the fragment ion, in Daltons."},{title:"Mass difference (ppm)",field:"MassDiffPpm",sorter:"number",headerTooltip:"The difference between the observed and theoretical masses of the fragment ion, in parts per million (ppm)."}],fragmentTableData:[],fragmentTableTitle:"",residueCleavagePercentage:0,sequenceObjects:[],selectedFragTableRowIndex:void 0}},computed:{theme(){return this.streamlitDataStore.theme},selectedSequence(){const n=this.selectionStore.selectedProteinIndex;return typeof n=="number"?n:0},selectedTag(){return this.selectionStore.selectedTag},sequence(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.sequence)??[]},sequence_start_reported(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.proteoform_start)??0},sequence_start(){return this.sequence_start_reported<0?0:this.sequence_start_reported},n_truncation(){return this.sequence_start>0},n_determined(){return this.sequence_start_reported>=0},sequence_end_reported(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.proteoform_end)??this.sequence.length-1},sequence_end(){return this.sequence_end_reported<0?this.sequence.length-1:this.sequence_end_reported},c_truncation(){return this.sequence_end=0},modifications(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.modifications)??[]},coverage(){var e,r;const n=this.selectedSequence;return typeof n=="number"?((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.coverage)??[]:[]},maxCoverage(){var e,r;const n=this.selectedSequence;return typeof n=="number"?((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.maxCoverage)??-1:-1},theoreticalMass(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.theoretical_mass)??0},computedMass(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),(r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.computed_mass},fixedModificationSites(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.fixed_modifications)??[]},variableModifications(){return this.variableModData.variableModifications??{}},tickLabels(){return{20:"20",25:"25",30:"30",35:"35",40:"40"}},gridClasses(){return{"sequence-grid":!0,[`grid-width-${this.rowWidth}`]:!0}},proteinTerminalCellStyles(){var n;return{"--amino-acid-cell-hover-color":"#fff","--amino-acid-cell-hover-bg-color":((n=this.theme)==null?void 0:n.secondaryBackgroundColor)??"#000"}},selectedScanIndex(){if(this.selectionStore.selectedScanIndex!==void 0)return this.streamlitDataStore.allDataForDrawing.per_scan_data.length===1?0:this.selectionStore.selectedScanIndex},calculateCleavagePercentage(){let n=0;for(let e=0,r=this.sequenceObjects.length-1;ee.text==="Tags"))!=null&&n.selected):!1},showTruncations(){var n;return this.displayTnT?!!((n=this.visibilityOptions.find(e=>e.text==="Truncations"))!=null&&n.selected):!1},showModifications(){var n;return!!((n=this.visibilityOptions.find(e=>e.text==="Modifications"))!=null&&n.selected)},showFragments(){var n;return!!((n=this.visibilityOptions.find(e=>e.text==="Fragments"))!=null&&n.selected)}},watch:{selectedScanIndex(){this.preparePrecursorInfo(),this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},sequence(){this.selectionStore.updateSelectedAA(void 0),this.preparePrecursorInfo(),this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications(),this.updateSettings()},selectedTag(){this.updateTagPosition()},fragmentMassTolerance(){this.preparePrecursorInfo(),this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},ionTypes:{handler(){this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},deep:!0},ionTypesExtra:{handler(){this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},deep:!0},variableModifications(){this.preparePrecursorInfo(),this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()}},mounted(){this.selectionStore.updateSelectedAA(void 0),this.initializeSequenceObjects(),this.preparePrecursorInfo(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},methods:{getFragmentMasses(n){var r;let e=this.selectedSequence;return e===void 0&&(e=0),(r=this.streamlitDataStore.sequenceData)==null?void 0:r[e][`fragment_masses_${n}`]},updateMassTolerance(n){this.fragmentMassTolerance=Number.parseInt(n.target.value)},updateSettings(){var n,e;((n=this.streamlitDataStore.settings)==null?void 0:n.ion_types)!==void 0&&this.ionTypes.forEach(r=>{r.selected=this.streamlitDataStore.settings.ion_types.includes(r.text)}),((e=this.streamlitDataStore.settings)==null?void 0:e.tolerance)!==void 0&&(this.fragmentMassTolerance=this.streamlitDataStore.settings.tolerance)},toggleIonTypeSelected(n){this.ionTypes[n].selected=!this.ionTypes[n].selected},preparePrecursorInfo(){if(this.selectedScanIndex==null){this.massData=[];return}if(this.computedMass!==void 0){this.massTitle="Proteoform";let D="-",T="-";this.computedMass>0&&(D=this.computedMass.toFixed(2),T=Math.abs(this.theoreticalMass-this.computedMass).toFixed(2)),this.massData=[`Theoretical protein mass : ${this.theoreticalMass.toFixed(2)}`,`Observed proteoform mass : ${D}`,`Δ Mass (Da) : ${T}`],this.visibilityOptions.some(p=>p.text==="Tags")||(this.visibilityOptions.push({text:"Truncations",selected:!0}),this.visibilityOptions.push({text:"Tags",selected:!0}),this.updateSettings()),this.ionTypesExtra["ammonium loss"]=!1,this.ionTypesExtra["water loss"]=!1,this.ionTypesExtra["proton loss/addition"]=!1;return}const e=this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScanIndex].PrecursorMass;if(e===0){this.massData=[];return}let r=this.theoreticalMass;this.variableModData.isEmpty||(this.variableModifications.valueOf(),Object.values(this.variableModifications).forEach(D=>{r+=D}));const C=Math.abs(r-e);this.massTitle="Precursor",this.massData=[`Theoretical mass : ${r.toFixed(2)}`,`Observed mass : ${e.toFixed(2)}`,`Δ Mass (Da) : ${C.toFixed(2)}`]},prepareFragmentTable(){if(this.sequence.length<=0){this.fragmentTableTitle="";return}if(this.selectedScanIndex===void 0){this.fragmentTableTitle="";return}const e=this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScanIndex].MonoMass;let r=[];const C=this.sequence_end;this.ionTypes.filter(D=>D.selected).forEach(D=>{if((D.text==="a"||D.text==="b"||D.text==="c")&&this.sequence_start_reported<0||(D.text==="x"||D.text==="y"||D.text==="z")&&this.sequence_end_reported<0)return;const T=this.getFragmentMasses(D.text);for(let p=0,t=T.length;p{this.variableModData.isEmpty||((D.text==="a"||D.text==="b"||D.text==="c")&&Object.entries(this.variableModifications).forEach(([M,v])=>{parseInt(M)<=d&&(g+=v)}),(D.text==="x"||D.text==="y"||D.text==="z")&&Object.entries(this.variableModifications).forEach(([M,v])=>{C-parseInt(M)<=d&&(g+=v)}));const i=Object.entries(RO).filter(([M])=>this.ionTypesExtra[M]||M==="default").map(([M,v])=>v).flat();for(let M=0,v=e.length;M{const a=g+l,u=e[M]-a,o=u/a*1e6;if(Math.abs(o)>this.fragmentMassTolerance)return;const s={Name:`${D.text}${p+1}`,IonType:`${D.text}${f}`,IonNumber:p+1,TheoreticalMass:a.toFixed(3),ObservedMass:e[M],MassDiffDa:u.toFixed(3),MassDiffPpm:o.toFixed(3)};r.push(s);let c=d;(D.text==="a"||D.text==="b"||D.text==="c")&&(this.sequenceObjects[c][`${D.text}Ion`]=!0),(D.text==="x"||D.text==="y"||D.text==="z")&&(this.sequenceObjects[C-p][`${D.text}Ion`]=!0,c=C-p),f&&this.sequenceObjects[d].extraTypes.push(`${D.text}${f}`)})})}}),this.residueCleavagePercentage=this.calculateCleavagePercentage,this.fragmentTableData=r,this.fragmentTableTitle=`Matching fragments (# ${r.length})`},fixedModification(n){return this.fixedModificationSites.includes(n)},initializeSequenceObjects(){this.sequenceObjects=[],this.sequence.forEach((n,e)=>{const r=this.coverage[e];let C=!1;(this.sequence_start>e||this.sequence_endC.Name===e),this.selectionStore.selectedAminoAcid(this.fragmentTableData[this.selectedFragTableRowIndex].ObservedMass)},updateTagPosition(){this.sequence.length<=0||(this.sequenceObjects.length!==this.sequence.length&&this.initializeSequenceObjects(),this.sequence.forEach((n,e)=>{var D,T;const r=((D=this.selectedTag)==null?void 0:D.startPos)==e,C=((T=this.selectedTag)==null?void 0:T.endPos)==e;this.sequenceObjects[e].tagStart=r,this.sequenceObjects[e].tagEnd=C}))},prepareAmbigiousModifications(){this.modifications.forEach(n=>{const e=n.start,r=n.end,C=n.mass_diff.toFixed(2),D=n.labels,T=parseFloat(C).toLocaleString("en-US",{signDisplay:"always"});for(let p=e;p<=r;p++)p==e&&(this.sequenceObjects[p].modStart=!0),p==r&&(this.sequenceObjects[p].modEnd=!0,this.sequenceObjects[p].modMass=T,this.sequenceObjects[p].modLabels=D),p!=e&&p!=r&&(this.sequenceObjects[p].modCenter=!0)})}}});const Y2=n=>(Ty("data-v-14f01162"),n=n(),ky(),n),jD=Y2(()=>ti("div",{class:"d-flex justify-center"},[ti("h4",null,"Sequence View")],-1)),UD={class:"sequence-and-scale"},HD={id:"sequence-part"},GD={class:"d-flex justify-space-evenly"},qD={class:"d-flex justify-end px-4 mb-4"},WD={class:"d-flex justify-space-evenly"},YD={class:"d-flex justify-space-evenly"},$D={class:"d-flex justify-space-evenly"},ZD={key:0,class:"d-flex justify-center align-center"},XD={key:3,class:"d-flex justify-center align-center"},KD={key:0,class:"scale-container",title:"Sequence Tag Coverage"},JD={class:"scale-text"},QD=Y2(()=>ti("div",{class:"scale"},null,-1)),ez=Y2(()=>ti("div",{class:"scale-text"},"1x",-1)),tz={id:"sequence-view-table"};function nz(n,e,r,C,D,T){var w;const p=Gr("v-divider"),t=Gr("SvgScreenshot"),d=Gr("SequenceViewInformation"),g=Gr("v-btn"),i=Gr("v-list-item-title"),M=Gr("v-slider"),v=Gr("v-list-item"),f=Gr("v-checkbox"),l=Gr("v-text-field"),a=Gr("v-list"),u=Gr("v-card"),o=Gr("v-menu"),s=Gr("ProteinTerminalCell"),c=Gr("AminoAcidCell"),h=Gr("TabulatorTable"),m=Gr("v-sheet");return Rr(),ei(Yr,null,[jD,gt(m,{class:"pa-4 rounded-lg",style:{"max-width":"97%"},theme:((w=n.theme)==null?void 0:w.base)??"light",border:""},{default:ci(()=>[ti("div",UD,[ti("div",HD,[ti("div",GD,[n.massData.length!=0?(Rr(),ei(Yr,{key:0},[ti("h3",null,fo(n.massTitle),1),gt(p,{vertical:!0}),(Rr(!0),ei(Yr,null,Ul(n.massData,(y,S)=>(Rr(),ei(Yr,{key:S},[ia(fo(y)+" ",1),gt(p,{vertical:!0})],64))),128))],64)):Zi("",!0)]),ti("div",qD,[ti("div",null,[gt(t,{"element-id":"sequence-part"}),gt(d),gt(g,{id:"settings-button",variant:"text",icon:"mdi-cog",size:"large"}),gt(o,{"close-on-content-click":!1,activator:"#settings-button",location:"bottom"},{default:ci(()=>[gt(u,{"min-width":"300"},{default:ci(()=>[gt(a,null,{default:ci(()=>[gt(v,null,{default:ci(()=>[gt(i,null,{default:ci(()=>[ia("# amino acids per row")]),_:1}),gt(M,{modelValue:n.rowWidth,"onUpdate:modelValue":e[0]||(e[0]=y=>n.rowWidth=y),ticks:n.tickLabels,min:20,max:40,step:"5","show-ticks":"always","tick-size":"4"},null,8,["modelValue","ticks"])]),_:1}),gt(v,null,{default:ci(()=>[gt(i,null,{default:ci(()=>[ia("Visibility")]),_:1}),ti("div",WD,[(Rr(!0),ei(Yr,null,Ul(n.visibilityOptions,y=>(Rr(),za(f,{key:y.text,modelValue:y.selected,"onUpdate:modelValue":S=>y.selected=S,"hide-details":"",density:"comfortable",label:y.text},null,8,["modelValue","onUpdate:modelValue","label"]))),128))])]),_:1}),gt(v,null,{default:ci(()=>[gt(i,null,{default:ci(()=>[ia("Fragment ion types")]),_:1}),ti("div",YD,[(Rr(!0),ei(Yr,null,Ul(n.ionTypes,(y,S)=>(Rr(),za(f,{key:y.text,modelValue:y.selected,"onUpdate:modelValue":_=>y.selected=_,"hide-details":"",density:"comfortable",label:y.text,onClick:_=>n.toggleIonTypeSelected(S),disabled:!n.showFragments},null,8,["modelValue","onUpdate:modelValue","label","onClick","disabled"]))),128))]),ti("div",$D,[(Rr(!0),ei(Yr,null,Ul(Object.keys(n.ionTypesExtra),y=>(Rr(),za(f,{key:y,modelValue:n.ionTypesExtra[y],"onUpdate:modelValue":S=>n.ionTypesExtra[y]=S,"hide-details":"",density:"comfortable",label:y,disabled:!n.showFragments},null,8,["modelValue","onUpdate:modelValue","label","disabled"]))),128))])]),_:1}),gt(v,null,{default:ci(()=>[gt(i,null,{default:ci(()=>[ia("Fragment mass tolerance")]),_:1}),gt(l,{modelValue:n.fragmentMassTolerance,"onUpdate:modelValue":e[1]||(e[1]=y=>n.fragmentMassTolerance=y),type:"number","hide-details":"auto",label:"mass tolerance in ppm",onChange:n.updateMassTolerance,disabled:!n.showFragments},null,8,["modelValue","onChange","disabled"])]),_:1})]),_:1})]),_:1})]),_:1})])]),ti("div",{class:Ju(["pb-4 px-2",n.gridClasses]),style:{width:"100%","max-width":"100%"}},[(Rr(!0),ei(Yr,null,Ul(n.sequenceObjects,(y,S)=>(Rr(),ei(Yr,{key:S},[n.showTruncations&&S!==0&&S%n.rowWidth===0||!n.showTruncations&&S-n.sequence_start!==0&&(S-n.sequence_start)%n.rowWidth===0&&Sn.sequence_start?(Rr(),ei("div",ZD,fo(n.showTruncations?S+1:S-n.sequence_start+1),1)):Zi("",!0),S===0?(Rr(),za(s,{key:1,"protein-terminal":"N-term",truncated:n.n_truncation,index:-1,"disable-variable-modification-selection":n.disableVariableModifications,determined:n.n_determined},null,8,["truncated","disable-variable-modification-selection","determined"])):Zi("",!0),n.showTruncations||n.sequence_start<=S&&n.sequence_end>=S?(Rr(),za(c,{key:2,index:S,"sequence-object":y,"fixed-modification":n.fixedModification(y.aminoAcid),"disable-variable-modification-selection":n.disableVariableModifications,showTags:n.showTags,showFragments:n.showFragments,showModifications:n.showModifications,onSelected:n.aminoAcidSelected},null,8,["index","sequence-object","fixed-modification","disable-variable-modification-selection","showTags","showFragments","showModifications","onSelected"])):Zi("",!0),n.showTruncations&&S%n.rowWidth===n.rowWidth-1&&S!==n.sequence.length-1||!n.showTruncations&&(S-n.sequence_start)%n.rowWidth===n.rowWidth-1&&Sn.sequence_start?(Rr(),ei("div",XD,fo(n.showTruncations?S+1:S-n.sequence_start+1),1)):Zi("",!0),S===n.sequence.length-1?(Rr(),za(s,{key:4,"protein-terminal":"C-term",truncated:n.c_truncation,index:n.sequence.length,"disable-variable-modification-selection":n.disableVariableModifications,determined:n.c_determined},null,8,["truncated","index","disable-variable-modification-selection","determined"])):Zi("",!0)],64))),128))],2)]),n.maxCoverage>0&&n.showTags?(Rr(),ei("div",KD,[ti("div",JD,fo(n.maxCoverage+"x"),1),QD,ez])):Zi("",!0)]),ti("div",tz,[n.fragmentTableTitle!==""&&n.showFragments?(Rr(),za(h,{key:0,"table-data":n.fragmentTableData,"column-definitions":n.fragmentTableColumnDefinitions,index:n.index,"selected-row-index-from-listening":n.selectedFragTableRowIndex,"table-layout-param":"fitColumns"},{default:ci(()=>[ia(fo(n.fragmentTableTitle),1)]),"end-title-row":ci(()=>[ia("% Residue cleavage: "+fo(n.residueCleavagePercentage.toFixed(3))+"%",1)]),_:1},8,["table-data","column-definitions","index","selected-row-index-from-listening"])):Zi("",!0)])]),_:1},8,["theme"])],64)}const rz=hs(VD,[["render",nz],["__scopeId","data-v-14f01162"]]),iz=ns({name:"FLASHQuantView",components:{TabulatorTable:y0},setup(){return{streamlitDataStore:Ns()}},data(){return{setHeightInterval:null,featureGroupTableColumnDefinitions:[{title:"Index",field:"FeatureGroupIndex"},{title:"Monoisotopic Mass",field:"MonoisotopicMass"},{title:"Average Mass",field:"AverageMass"},{title:"Start Retention Time (FWHM)",field:"StartRetentionTime(FWHM)"},{title:"End Retention Time (FWHM)",field:"EndRetentionTime(FWHM)"},{title:"Feature Group Quantity",field:"FeatureGroupQuantity"},{title:"Feature Group Quantity",field:"FeatureGroupQuantity"},{title:"Min Charge",field:"MinCharge"},{title:"Max Charge",field:"MaxCharge"},{title:"Most Abundant Charge",field:"MostAbundantFeatureCharge"},{title:"Isotope Cosine Score",field:"IsotopeCosineScore"}],selectedFeatureGroupIndex:void 0,maximumIntensity:0}},computed:{theme(){return this.streamlitDataStore.theme},featureGroupTableData(){return this.streamlitDataStore.dataForDrawing.quant_data},trace3DgraphLayout(){var n,e,r,C;return{title:"Feature group signals",paper_bgcolor:(n=this.theme)==null?void 0:n.backgroundColor,plot_bgcolor:(e=this.theme)==null?void 0:e.secondaryBackgroundColor,height:800,font:{color:(r=this.theme)==null?void 0:r.textColor,family:(C=this.theme)==null?void 0:C.font},scene:{xaxis:{title:"m/z"},yaxis:{title:"retention time"},zaxis:{title:"intensity",range:[0,this.maximumIntensity]}},showlegend:!0}}},watch:{selectedFeatureGroupIndex(){this.trace3DGraph()}},mounted(){this.setHeightInterval=setInterval(()=>Wu.setFrameHeight(),500)},unmounted(){this.setHeightInterval!==null&&clearInterval(this.setHeightInterval)},methods:{async trace3DGraph(){await Wl.newPlot("trace3Dplot",this.trace3DgraphData(),this.trace3DgraphLayout,{responsive:!0})},updateSelectedFeatureGroupRow(n){n!==void 0&&(this.selectedFeatureGroupIndex=n)},trace3DgraphData(){if(this.selectedFeatureGroupIndex===void 0)return[];const n=this.featureGroupTableData[this.selectedFeatureGroupIndex],e=[...new Set(n.Charges)],r={};e.forEach(T=>{r[T]={mzs:[],rts:[],intys:[]}}),n.Charges.forEach((T,p)=>{const t=n.MZs[p].split(",").map(parseFloat),d=n.RTs[p].split(",").map(parseFloat),g=n.Intensities[p].split(",").map(parseFloat);r[T].mzs.push(t[0]),r[T].rts.push(d[0]),r[T].intys.push(-1e3),r[T].mzs.push(...t),r[T].rts.push(...d),r[T].intys.push(...g),r[T].mzs.push(t[-1]),r[T].rts.push(d[-1]),r[T].intys.push(-1e3)}),this.maximumIntensity=Math.max.apply(null,Object.values(r).map(T=>Math.max.apply(null,T.intys)));let D=[];return Object.entries(r).forEach(([T,p])=>{D.push({x:p.mzs,y:p.rts,z:p.intys,mode:"lines",line:{color:"#3366CC"},type:"scatter3d",name:`Charge: ${T}`})}),D}}}),az={class:"pa-4"},oz=ti("div",{id:"trace3Dplot",style:{width:"90%"}},null,-1);function sz(n,e,r,C,D,T){const p=Gr("TabulatorTable"),t=Gr("v-row");return Rr(),ei("div",az,[gt(t,{class:"flex-nowrap"},{default:ci(()=>[n.featureGroupTableData?(Rr(),za(p,{key:0,title:"Feature groups",index:0,"table-data":n.featureGroupTableData,"column-definitions":n.featureGroupTableColumnDefinitions,"table-index-field":"FeatureGroupIndex",onRowSelected:n.updateSelectedFeatureGroupRow,"default-row":0},null,8,["table-data","column-definitions","onRowSelected"])):Zi("",!0)]),_:1}),oz])}const lz=hs(iz,[["render",sz]]),uz=ns({name:"InternalFragmentMap",components:{SvgScreenshot:o6},props:{index:{type:Number,required:!0}},setup(){const n=Ns(),e=rc();return{streamlitData:n,selectionStore:e}},data(){return{fragmentMassTolerance:10,fragmentMassToleranceUnit:"ppm",fragmentMassTypes:{by:!0,cy:!0,bz:!0},fragmentDisplayOverlay:!1,fragOpacity:.2,fragOpacityMin:.01,fragOpacityMax:1}},computed:{theme(){return this.streamlitData.theme},internalFragmentData(){var n;return(n=this.streamlitData.internalFragmentData)==null?void 0:n[this.selectedSequence]},selectedSequence(){const n=this.selectionStore.selectedProteinIndex;return typeof n=="number"?n:0},displayTnT(){var e,r;let n=this.selectedSequence;return((r=(e=this.streamlitData.sequenceData)==null?void 0:e[n])==null?void 0:r.computed_mass)!==void 0},sequence(){var r,C,D,T;const n=(r=this.streamlitData.sequenceData)==null?void 0:r[this.selectedSequence].proteoform_start,e=(C=this.streamlitData.sequenceData)==null?void 0:C[this.selectedSequence].proteoform_end;return n!==void 0&&e!==void 0?(D=this.streamlitData.sequenceData)==null?void 0:D[this.selectedSequence].sequence.slice(n,e+1):(T=this.streamlitData.sequenceData)==null?void 0:T[this.selectedSequence].sequence},fragmentStyle(){var n;return{height:(94/(((n=this.sequence)==null?void 0:n.length)??1)).toFixed(2)+"vw","--frag-block-opacity-value":this.fragOpacity}},fragmentTypeContainerStyle(){return{height:this.fragmentDisplayOverlay?this.fragmentStyle.height:"auto"}},fragmentTypeOverlayStyle(){return{position:this.fragmentDisplayOverlay?"absolute":"static"}},fragmentDisplayOverlayLabels(){return this.fragmentDisplayOverlay?"Overlay fragments from the same type":"Stacked"},selectedScanInfo(){if(this.selectionStore.selectedScanIndex!==void 0)return this.streamlitData.allDataForDrawing.per_scan_data.length==1?this.streamlitData.allDataForDrawing.per_scan_data[0]:this.streamlitData.allDataForDrawing.per_scan_data[this.selectionStore.selectedScanIndex]},byData(){var C,D,T;if(this.selectedScanInfo===void 0||!((C=this.internalFragmentData)!=null&&C.fragment_masses_by)||!((D=this.internalFragmentData)!=null&&D.start_indices_by)||!((T=this.internalFragmentData)!=null&&T.end_indices_by))return[];if(this.selectedScanInfo.PrecursorMass===0&&!this.displayTnT)return[];const e=[],r=this.selectedScanInfo.MonoMass;return this.filterMatchingMasses(r,this.internalFragmentData.fragment_masses_by,this.internalFragmentData.start_indices_by,this.internalFragmentData.end_indices_by,e),e},cyData(){var C,D,T;if(this.selectedScanInfo===void 0||!((C=this.internalFragmentData)!=null&&C.fragment_masses_cy)||!((D=this.internalFragmentData)!=null&&D.start_indices_cy)||!((T=this.internalFragmentData)!=null&&T.end_indices_cy))return[];if(this.selectedScanInfo.PrecursorMass===0&&!this.displayTnT)return[];const e=[],r=this.selectedScanInfo.MonoMass;return this.filterMatchingMasses(r,this.internalFragmentData.fragment_masses_cy,this.internalFragmentData.start_indices_cy,this.internalFragmentData.end_indices_cy,e),e},bzData(){var C,D,T;if(this.selectedScanInfo===void 0||!((C=this.internalFragmentData)!=null&&C.fragment_masses_bz)||!((D=this.internalFragmentData)!=null&&D.start_indices_bz)||!((T=this.internalFragmentData)!=null&&T.end_indices_bz))return[];if(this.selectedScanInfo.PrecursorMass===0&&!this.displayTnT)return[];const e=[],r=this.selectedScanInfo.MonoMass;return this.filterMatchingMasses(r,this.internalFragmentData.fragment_masses_bz,this.internalFragmentData.start_indices_bz,this.internalFragmentData.end_indices_bz,e),e}},methods:{updateMassTolerance(n){this.fragmentMassTolerance=Number.parseInt(n.target.value)},fragmentClasses(n,e,r,C){const D=n>e&&n<=r;let T=C;return this.fragmentDisplayOverlay&&(T+="-overlayed"),{[T]:D,"not-in-fragment":!D}},filterMatchingMasses(n,e,r,C,D){for(let T=0,p=e.length;Tthis.fragmentMassTolerance)){D.push({mass:t,start:r[T],end:C[T]});break}}}}}});const cz=n=>(Ty("data-v-ece55ad7"),n=n(),ky(),n),hz=cz(()=>ti("div",{class:"d-flex justify-center"},[ti("h4",null,"Internal Fragment Map")],-1)),fz={class:"d-flex justify-space-between"},dz=UE('
by/cz
bz
cy
',1),pz={class:"d-flex justify-end px-4 mb-4",style:{"max-width":"97%"}},mz={class:"d-flex"},gz={class:"d-flex justify-space-between"},vz={id:"internal-fragment-part"},yz={class:"d-flex",style:{"border-bottom":"white","border-bottom-width":"1px","border-bottom-style":"solid"}};function bz(n,e,r,C,D,T){var o;const p=Gr("SvgScreenshot"),t=Gr("v-btn"),d=Gr("v-list-item-title"),g=Gr("v-switch"),i=Gr("v-list-item"),M=Gr("v-text-field"),v=Gr("v-slider"),f=Gr("v-list"),l=Gr("v-card"),a=Gr("v-menu"),u=Gr("v-sheet");return Rr(),ei(Yr,null,[hz,ti("div",fz,[dz,ti("div",pz,[gt(p,{"element-id":"internal-fragment-part"}),gt(t,{id:"internal-frag-settings-button",variant:"text",icon:"mdi-cog",size:"medium"}),gt(a,{"close-on-content-click":!1,activator:"#internal-frag-settings-button",location:"bottom"},{default:ci(()=>[gt(l,{"min-width":"300"},{default:ci(()=>[gt(f,null,{default:ci(()=>[gt(i,null,{default:ci(()=>[gt(d,null,{default:ci(()=>[ia("Fragments display style")]),_:1}),ti("div",mz,[gt(g,{modelValue:n.fragmentDisplayOverlay,"onUpdate:modelValue":e[0]||(e[0]=s=>n.fragmentDisplayOverlay=s),"hide-details":"",label:`${n.fragmentDisplayOverlayLabels}`,class:"mr-4"},null,8,["modelValue","label"])])]),_:1}),gt(i,null,{default:ci(()=>[gt(d,null,{default:ci(()=>[ia("Opacity of each fragment (If overlay display style)")]),_:1}),ti("div",{style:zs({background:`rgba(240, 164, 65, ${n.fragOpacity})`})},[gt(v,{modelValue:n.fragOpacity,"onUpdate:modelValue":e[2]||(e[2]=s=>n.fragOpacity=s),class:"align-center ml-4",max:n.fragOpacityMax,min:n.fragOpacityMin,"hide-details":""},{append:ci(()=>[gt(M,{modelValue:n.fragOpacity,"onUpdate:modelValue":e[1]||(e[1]=s=>n.fragOpacity=s),"hide-details":"","single-line":"",min:n.fragOpacityMin,max:n.fragOpacityMax,step:"0.01",density:"compact",type:"number",class:"textFieldFontSize"},null,8,["modelValue","min","max"])]),_:1},8,["modelValue","max","min"])],4)]),_:1}),gt(i,null,{default:ci(()=>[gt(d,null,{default:ci(()=>[ia("Fragment mass tolerance")]),_:1}),ti("div",gz,[gt(g,{modelValue:n.fragmentMassToleranceUnit,"onUpdate:modelValue":e[3]||(e[3]=s=>n.fragmentMassToleranceUnit=s),"true-value":"ppm","false-value":"Da","hide-details":"",label:`${n.fragmentMassToleranceUnit}`,class:"mr-4"},null,8,["modelValue","label"]),gt(M,{modelValue:n.fragmentMassTolerance,"onUpdate:modelValue":e[4]||(e[4]=s=>n.fragmentMassTolerance=s),type:"number","hide-details":"auto",label:"mass tolerance",onChange:n.updateMassTolerance},null,8,["modelValue","onChange"])])]),_:1})]),_:1})]),_:1})]),_:1})])]),gt(u,{class:"pa-4 rounded-lg",style:{"max-width":"97%"},theme:((o=n.theme)==null?void 0:o.base)??"light",border:""},{default:ci(()=>[ti("div",vz,[ti("div",yz,[(Rr(!0),ei(Yr,null,Ul(n.sequence,(s,c)=>(Rr(),ei("div",{key:`${s}-${c}`,class:"d-flex justify-center align-center fragment-segment sequence-text",style:zs(n.fragmentStyle)},fo(s),5))),128))]),ti("div",{style:zs(n.fragmentTypeContainerStyle)},[(Rr(!0),ei(Yr,null,Ul(n.byData,s=>(Rr(),ei("div",{key:s.mass,class:"d-flex",style:zs(n.fragmentTypeOverlayStyle)},[(Rr(!0),ei(Yr,null,Ul(n.sequence,(c,h)=>(Rr(),ei("div",{key:`${c}-${h}`,class:Ju(n.fragmentClasses(h,s.start,s.end,"by-fragment")),style:zs([{border:"1px solid white"},n.fragmentStyle])},null,6))),128))],4))),128))],4),ti("div",{style:zs(n.fragmentTypeContainerStyle)},[(Rr(!0),ei(Yr,null,Ul(n.cyData,s=>(Rr(),ei("div",{key:s.mass,class:"d-flex",style:zs(n.fragmentTypeOverlayStyle)},[(Rr(!0),ei(Yr,null,Ul(n.sequence,(c,h)=>(Rr(),ei("div",{key:`${c}-${h}`,class:Ju(n.fragmentClasses(h,s.start,s.end,"cy-fragment")),style:zs([{border:"1px solid white"},n.fragmentStyle])},null,6))),128))],4))),128))],4),ti("div",{style:zs(n.fragmentTypeContainerStyle)},[(Rr(!0),ei(Yr,null,Ul(n.bzData,s=>(Rr(),ei("div",{key:s.mass,class:"d-flex",style:zs(n.fragmentTypeOverlayStyle)},[(Rr(!0),ei(Yr,null,Ul(n.sequence,(c,h)=>(Rr(),ei("div",{key:`${c}-${h}`,class:Ju(n.fragmentClasses(h,s.start,s.end,"bz-fragment")),style:zs([{border:"1px solid white"},n.fragmentStyle])},null,6))),128))],4))),128))],4)])]),_:1},8,["theme"])],64)}const xz=hs(uz,[["render",bz],["__scopeId","data-v-ece55ad7"]]),_z=ns({name:"FDRPlotly",props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Ns();return console.log("I exist!"),{streamlitDataStore:n}},computed:{xValues_target(){return this.streamlitDataStore.allDataForDrawing.density_target===void 0?[]:this.streamlitDataStore.allDataForDrawing.density_target.map(n=>n.x)},xValues_decoy(){return this.streamlitDataStore.allDataForDrawing.density_decoy===void 0?[]:this.streamlitDataStore.allDataForDrawing.density_decoy.map(n=>n.x)},yValues_target(){return this.streamlitDataStore.allDataForDrawing.density_target===void 0?[]:this.streamlitDataStore.allDataForDrawing.density_target.map(n=>n.y)},yValues_decoy(){return this.streamlitDataStore.allDataForDrawing.density_decoy===void 0?[]:this.streamlitDataStore.allDataForDrawing.density_decoy.map(n=>n.y)},id(){return`graph-${this.index}`},layout(){return{title:`${this.args.title}`,showlegend:!0,height:400,xaxis:{title:"QScore",showgrid:!1},yaxis:{title:"Density",showgrid:!0,rangemode:"nonnegative",fixedrange:!0},paper_bgcolor:"white",plot_bgcolor:"white",font:{color:"black",family:"Arial"}}},data(){return[{x:this.xValues_target,y:this.yValues_target,mode:"lines+markers",type:"scatter",name:"Target QScores",marker:{color:"green"}},{x:this.xValues_decoy,y:this.yValues_decoy,mode:"lines+markers",type:"scatter",name:"Decoy QScores",marker:{color:"red"}}]}},watch:{xValues_target(){this.graph()}},mounted(){this.graph()},methods:{async graph(){await Wl.newPlot(this.id,this.data,this.layout,{modeBarButtonsToRemove:["toImage","sendDataToCloud"],modeBarButtonsToAdd:[{title:"Download as SVG",name:"toImageSvg",icon:Wl.Icons.camera,click:n=>{Wl.downloadImage(n,{filename:"FDR-plot",height:400,width:1200,format:"svg"})}}]})}}}),wz=["id"];function Tz(n,e,r,C,D,T){return Rr(),ei("div",{id:n.id,style:{width:"100%"}},null,8,wz)}const kz=hs(_z,[["render",Tz]]),Mz=ns({name:"ComponentsRow",components:{InternalFragmentMap:xz,FLASHQuantView:lz,Plotly3Dplot:wO,PlotlyHeatmap:lR,TabulatorScanTable:dO,PlotlyLineplotUnified:yO,TabulatorMassTable:MO,TabulatorProteinTable:CO,TabulatorTagTable:IO,SequenceView:rz,FDRPlotly:kz},props:{components:{type:Object,required:!0},rowIndex:{type:Number,required:!0}},data(){return{componentHeightMapping:{TabulatorScanTable:"height-any",TabulatorMassTable:"height-any",TabulatorProteinTable:"height-any",TabulatorTagTable:"height-any",PlotlyLineplot:"height-any",PlotlyLineplotTagger:"height-any",PlotlyLineplotUnified:"height-any",PlotlyHeatmap:"height-any",Plotly3Dplot:"height-any",SequenceView:"height-any",InternalFragmentMap:"height-any",FDRPlotly:"height-any"}}},methods:{componentClasses(n){return{[this.componentHeightMapping[n]]:!0,[`component-width-${this.components.length}`]:!0}},componentIndex(n){return n+this.rowIndex*100}}});const Az={class:"component-row"};function Sz(n,e,r,C,D,T){const p=Gr("PlotlyHeatmap"),t=Gr("TabulatorScanTable"),d=Gr("TabulatorMassTable"),g=Gr("TabulatorProteinTable"),i=Gr("TabulatorTagTable"),M=Gr("PlotlyLineplotUnified"),v=Gr("Plotly3Dplot"),f=Gr("SequenceView"),l=Gr("InternalFragmentMap"),a=Gr("FLASHQuantView"),u=Gr("FDRPlotly");return Rr(),ei("div",Az,[(Rr(!0),ei(Yr,null,Ul(n.components,(o,s)=>(Rr(),ei("div",{key:s,class:Ju(n.componentClasses(o.componentArgs.componentName))},[o.componentArgs.componentName==="PlotlyHeatmap"?(Rr(),za(p,{key:0,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="TabulatorScanTable"?(Rr(),za(t,{key:1,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="TabulatorMassTable"?(Rr(),za(d,{key:2,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="TabulatorProteinTable"?(Rr(),za(g,{key:3,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="TabulatorTagTable"?(Rr(),za(i,{key:4,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="PlotlyLineplot"?(Rr(),za(M,{key:5,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="PlotlyLineplotTagger"?(Rr(),za(M,{key:6,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="Plotly3Dplot"?(Rr(),za(v,{key:7,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="SequenceView"?(Rr(),za(f,{key:8,index:n.componentIndex(s)},null,8,["index"])):o.componentArgs.componentName==="InternalFragmentMap"?(Rr(),za(l,{key:9,index:n.componentIndex(s)},null,8,["index"])):o.componentArgs.componentName==="FLASHQuantView"?(Rr(),za(a,{key:10})):o.componentArgs.componentName==="FDRPlotly"?(Rr(),za(u,{key:11,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):Zi("",!0)],2))),128))])}const Cz=hs(Mz,[["render",Sz],["__scopeId","data-v-942c08f7"]]),Ez=ns({name:"ComponentsLayout",components:{ComponentsRow:Cz},props:{components:{type:Object,required:!0}},data(){return{columns:6}},methods:{componentRowClasses(){return{"[`height-${layout.height ?? 1}`]":!0,[`component-width-${this.components.length}`]:!0}}}});const Lz={class:"component-layout"};function Iz(n,e,r,C,D,T){const p=Gr("ComponentsRow");return Rr(),ei("div",Lz,[(Rr(!0),ei(Yr,null,Ul(n.components,(t,d)=>(Rr(),za(p,{key:d,components:t,"row-index":d},null,8,["components","row-index"]))),128))])}const Rz=hs(Ez,[["render",Iz],["__scopeId","data-v-721e06dc"]]),Pz=ns({name:"App",components:{ComponentsLayout:Rz},setup(){const n=Ns(),e=rc();return $r(e.$state,r=>{Wu.setComponentValue(wi(r))},{deep:!0,immediate:!0}),{streamlitDataStore:n,selectionStore:e}},data(){return{timer:void 0}},computed:{components(){var n;return(n=this.streamlitDataStore.args)==null?void 0:n.components}},created(){Wu.setComponentReady(),Wu.setFrameHeight(500),Wu.events.addEventListener(Wu.RENDER_EVENT,this.updateStreamlitData)},mounted(){this.timer=setInterval(()=>{Wu.setFrameHeight()},500)},unmounted(){Wu.events.removeEventListener(Wu.RENDER_EVENT,this.updateStreamlitData),clearInterval(this.timer)},updated(){Wu.setFrameHeight()},methods:{async updateStreamlitData(n){this.streamlitDataStore.updateRenderData(n.detail)}}});const Oz={key:0},Dz={key:1,class:"d-flex w-100",style:{height:"400px"}};function zz(n,e,r,C,D,T){const p=Gr("ComponentsLayout"),t=Gr("v-progress-linear"),d=Gr("v-alert");return n.components!==void 0&&n.components.length>0?(Rr(),ei("div",Oz,[gt(p,{components:n.components},null,8,["components"])])):(Rr(),ei("div",Dz,[gt(d,{class:"h-50 ma-16 pr-16",icon:"mdi-application-variable-outline",title:"FLASHViewer loading",type:"info"},{default:ci(()=>[gt(t,{indeterminate:""}),ia(" Please wait... ")]),_:1})]))}const Fz=hs(Pz,[["render",zz]]);const to=typeof window<"u",$2=to&&"IntersectionObserver"in window,Bz=to&&("ontouchstart"in window||window.navigator.maxTouchPoints>0);function b5(n,e,r){Nz(n,e),e.set(n,r)}function Nz(n,e){if(e.has(n))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Vz(n,e,r){var C=l6(n,e,"set");return jz(n,C,r),r}function jz(n,e,r){if(e.set)e.set.call(n,r);else{if(!e.writable)throw new TypeError("attempted to set read only private field");e.value=r}}function _d(n,e){var r=l6(n,e,"get");return Uz(n,r)}function l6(n,e,r){if(!e.has(n))throw new TypeError("attempted to "+r+" private field on non-instance");return e.get(n)}function Uz(n,e){return e.get?e.get.call(n):e.value}function u6(n,e,r){const C=e.length-1;if(C<0)return n===void 0?r:n;for(let D=0;Db0(n[C],e[C]))}function ix(n,e,r){return n==null||!e||typeof e!="string"?r:n[e]!==void 0?n[e]:(e=e.replace(/\[(\w+)\]/g,".$1"),e=e.replace(/^\./,""),u6(n,e.split("."),r))}function ph(n,e,r){if(e==null)return n===void 0?r:n;if(n!==Object(n)){if(typeof e!="function")return r;const D=e(n,r);return typeof D>"u"?r:D}if(typeof e=="string")return ix(n,e,r);if(Array.isArray(e))return u6(n,e,r);if(typeof e!="function")return r;const C=e(n,r);return typeof C>"u"?r:C}function Kh(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:n},(r,C)=>e+C)}function Qr(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(!(n==null||n===""))return isNaN(+n)?String(n):isFinite(+n)?`${Number(n)}${e}`:void 0}function ax(n){return n!==null&&typeof n=="object"&&!Array.isArray(n)}function ox(n){return n&&"$el"in n?n.$el:n}const x5=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16}),sx=Object.freeze({enter:"Enter",tab:"Tab",delete:"Delete",esc:"Escape",space:"Space",up:"ArrowUp",down:"ArrowDown",left:"ArrowLeft",right:"ArrowRight",end:"End",home:"Home",del:"Delete",backspace:"Backspace",insert:"Insert",pageup:"PageUp",pagedown:"PageDown",shift:"Shift"});function c6(n){return Object.keys(n)}function Od(n,e){return e.every(r=>n.hasOwnProperty(r))}function $d(n,e,r){const C=Object.create(null),D=Object.create(null);for(const T in n)e.some(p=>p instanceof RegExp?p.test(T):p===T)&&!(r!=null&&r.some(p=>p===T))?C[T]=n[T]:D[T]=n[T];return[C,D]}function ic(n,e){const r={...n};return e.forEach(C=>delete r[C]),r}const h6=/^on[^a-z]/,Z2=n=>h6.test(n),Hz=["onAfterscriptexecute","onAnimationcancel","onAnimationend","onAnimationiteration","onAnimationstart","onAuxclick","onBeforeinput","onBeforescriptexecute","onChange","onClick","onCompositionend","onCompositionstart","onCompositionupdate","onContextmenu","onCopy","onCut","onDblclick","onFocusin","onFocusout","onFullscreenchange","onFullscreenerror","onGesturechange","onGestureend","onGesturestart","onGotpointercapture","onInput","onKeydown","onKeypress","onKeyup","onLostpointercapture","onMousedown","onMousemove","onMouseout","onMouseover","onMouseup","onMousewheel","onPaste","onPointercancel","onPointerdown","onPointerenter","onPointerleave","onPointermove","onPointerout","onPointerover","onPointerup","onReset","onSelect","onSubmit","onTouchcancel","onTouchend","onTouchmove","onTouchstart","onTransitioncancel","onTransitionend","onTransitionrun","onTransitionstart","onWheel"];function Qd(n){const[e,r]=$d(n,[h6]),C=ic(e,Hz),[D,T]=$d(r,["class","style","id",/^data-/]);return Object.assign(D,e),Object.assign(T,C),[D,T]}function bu(n){return n==null?[]:Array.isArray(n)?n:[n]}function Zs(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(e,Math.min(r,n))}function _5(n){const e=n.toString().trim();return e.includes(".")?e.length-e.indexOf(".")-1:0}function w5(n,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0";return n+r.repeat(Math.max(0,e-n.length))}function Gz(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const r=[];let C=0;for(;C1&&arguments[1]!==void 0?arguments[1]:1e3;if(n=e&&C0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;const C={};for(const D in n)C[D]=n[D];for(const D in e){const T=n[D],p=e[D];if(ax(T)&&ax(p)){C[D]=Ku(T,p,r);continue}if(Array.isArray(T)&&Array.isArray(p)&&r){C[D]=r(T,p);continue}C[D]=p}return C}function f6(n){return n.map(e=>e.type===Yr?f6(e.children):e).flat()}function Ud(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(Ud.cache.has(n))return Ud.cache.get(n);const e=n.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return Ud.cache.set(n,e),e}Ud.cache=new Map;function ym(n,e){if(!e||typeof e!="object")return[];if(Array.isArray(e))return e.map(r=>ym(n,r)).flat(1);if(Array.isArray(e.children))return e.children.map(r=>ym(n,r)).flat(1);if(e.component){if(Object.getOwnPropertySymbols(e.component.provides).includes(n))return[e.component];if(e.component.subTree)return ym(n,e.component.subTree).flat(1)}return[]}var sv=new WeakMap,Sp=new WeakMap;class qz{constructor(e){b5(this,sv,{writable:!0,value:[]}),b5(this,Sp,{writable:!0,value:0}),this.size=e}push(e){_d(this,sv)[_d(this,Sp)]=e,Vz(this,Sp,(_d(this,Sp)+1)%this.size)}values(){return _d(this,sv).slice(_d(this,Sp)).concat(_d(this,sv).slice(0,_d(this,Sp)))}}function Wz(n){return"touches"in n?{clientX:n.touches[0].clientX,clientY:n.touches[0].clientY}:{clientX:n.clientX,clientY:n.clientY}}function X2(n){const e=yl({}),r=cn(n);return wu(()=>{for(const C in r.value)e[C]=r.value[C]},{flush:"sync"}),by(e)}function ly(n,e){return n.includes(e)}function d6(n){return n[2].toLowerCase()+n.slice(3)}const yh=()=>[Function,Array];function k5(n,e){return e="on"+sf(e),!!(n[e]||n[`${e}Once`]||n[`${e}Capture`]||n[`${e}OnceCapture`]||n[`${e}CaptureOnce`])}function K2(n){for(var e=arguments.length,r=new Array(e>1?e-1:0),C=1;C1&&arguments[1]!==void 0?arguments[1]:!0;const r=["button","[href]",'input:not([type="hidden"])',"select","textarea","[tabindex]"].map(C=>`${C}${e?':not([tabindex="-1"])':""}:not([disabled])`).join(", ");return[...n.querySelectorAll(r)]}function p6(n,e,r){let C,D=n.indexOf(document.activeElement);const T=e==="next"?1:-1;do D+=T,C=n[D];while((!C||C.offsetParent==null||!((r==null?void 0:r(C))??!0))&&D=0);return C}function uy(n,e){var C,D,T,p;const r=Dm(n);if(!e)(n===document.activeElement||!n.contains(document.activeElement))&&((C=r[0])==null||C.focus());else if(e==="first")(D=r[0])==null||D.focus();else if(e==="last")(T=r.at(-1))==null||T.focus();else if(typeof e=="number")(p=r[e])==null||p.focus();else{const t=p6(r,e);t?t.focus():uy(n,e==="next"?"first":"last")}}function m6(){}function l0(n,e){if(!(to&&typeof CSS<"u"&&typeof CSS.supports<"u"&&CSS.supports(`selector(${e})`)))return null;try{return!!n&&n.matches(e)}catch{return null}}const g6=["top","bottom"],Yz=["start","end","left","right"];function lx(n,e){let[r,C]=n.split(" ");return C||(C=ly(g6,r)?"start":ly(Yz,r)?"top":"center"),{side:ux(r,e),align:ux(C,e)}}function ux(n,e){return n==="start"?e?"right":"left":n==="end"?e?"left":"right":n}function gb(n){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[n.side],align:n.align}}function vb(n){return{side:n.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[n.align]}}function M5(n){return{side:n.align,align:n.side}}function A5(n){return ly(g6,n.side)?"y":"x"}class Yp{constructor(e){let{x:r,y:C,width:D,height:T}=e;this.x=r,this.y=C,this.width=D,this.height=T}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function S5(n,e){return{x:{before:Math.max(0,e.left-n.left),after:Math.max(0,n.right-e.right)},y:{before:Math.max(0,e.top-n.top),after:Math.max(0,n.bottom-e.bottom)}}}function J2(n){const e=n.getBoundingClientRect(),r=getComputedStyle(n),C=r.transform;if(C){let D,T,p,t,d;if(C.startsWith("matrix3d("))D=C.slice(9,-1).split(/, /),T=+D[0],p=+D[5],t=+D[12],d=+D[13];else if(C.startsWith("matrix("))D=C.slice(7,-1).split(/, /),T=+D[0],p=+D[3],t=+D[4],d=+D[5];else return new Yp(e);const g=r.transformOrigin,i=e.x-t-(1-T)*parseFloat(g),M=e.y-d-(1-p)*parseFloat(g.slice(g.indexOf(" ")+1)),v=T?e.width/T:n.offsetWidth+1,f=p?e.height/p:n.offsetHeight+1;return new Yp({x:i,y:M,width:v,height:f})}else return new Yp(e)}function Dd(n,e,r){if(typeof n.animate>"u")return{finished:Promise.resolve()};let C;try{C=n.animate(e,r)}catch{return{finished:Promise.resolve()}}return typeof C.finished>"u"&&(C.finished=new Promise(D=>{C.onfinish=()=>{D(C)}})),C}const Tv=new WeakMap;function $z(n,e){Object.keys(e).forEach(r=>{if(Z2(r)){const C=d6(r),D=Tv.get(n);if(e[r]==null)D==null||D.forEach(T=>{const[p,t]=T;p===C&&(n.removeEventListener(C,t),D.delete(T))});else if(!D||![...D].some(T=>T[0]===C&&T[1]===e[r])){n.addEventListener(C,e[r]);const T=D||new Set;T.add([C,e[r]]),Tv.has(n)||Tv.set(n,T)}}else e[r]==null?n.removeAttribute(r):n.setAttribute(r,e[r])})}function Zz(n,e){Object.keys(e).forEach(r=>{if(Z2(r)){const C=d6(r),D=Tv.get(n);D==null||D.forEach(T=>{const[p,t]=T;p===C&&(n.removeEventListener(C,t),D.delete(T))})}else n.removeAttribute(r)})}const Cp=2.4,C5=.2126729,E5=.7151522,L5=.072175,Xz=.55,Kz=.58,Jz=.57,Qz=.62,lv=.03,I5=1.45,eF=5e-4,tF=1.25,nF=1.25,R5=.078,P5=12.82051282051282,uv=.06,O5=.001;function D5(n,e){const r=(n.r/255)**Cp,C=(n.g/255)**Cp,D=(n.b/255)**Cp,T=(e.r/255)**Cp,p=(e.g/255)**Cp,t=(e.b/255)**Cp;let d=r*C5+C*E5+D*L5,g=T*C5+p*E5+t*L5;if(d<=lv&&(d+=(lv-d)**I5),g<=lv&&(g+=(lv-g)**I5),Math.abs(g-d)d){const M=(g**Xz-d**Kz)*tF;i=M-O5?0:M>-R5?M-M*P5*uv:M+uv}return i*100}function rF(n,e){e=Array.isArray(e)?e.slice(0,-1).map(r=>`'${r}'`).join(", ")+` or '${e.at(-1)}'`:`'${e}'`}const cy=.20689655172413793,iF=n=>n>cy**3?Math.cbrt(n):n/(3*cy**2)+4/29,aF=n=>n>cy?n**3:3*cy**2*(n-4/29);function v6(n){const e=iF,r=e(n[1]);return[116*r-16,500*(e(n[0]/.95047)-r),200*(r-e(n[2]/1.08883))]}function y6(n){const e=aF,r=(n[0]+16)/116;return[e(r+n[1]/500)*.95047,e(r),e(r-n[2]/200)*1.08883]}const oF=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],sF=n=>n<=.0031308?n*12.92:1.055*n**(1/2.4)-.055,lF=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],uF=n=>n<=.04045?n/12.92:((n+.055)/1.055)**2.4;function b6(n){const e=Array(3),r=sF,C=oF;for(let D=0;D<3;++D)e[D]=Math.round(Zs(r(C[D][0]*n[0]+C[D][1]*n[1]+C[D][2]*n[2]))*255);return{r:e[0],g:e[1],b:e[2]}}function Q2(n){let{r:e,g:r,b:C}=n;const D=[0,0,0],T=uF,p=lF;e=T(e/255),r=T(r/255),C=T(C/255);for(let t=0;t<3;++t)D[t]=p[t][0]*e+p[t][1]*r+p[t][2]*C;return D}function z5(n){return!!n&&/^(#|var\(--|(rgb|hsl)a?\()/.test(n)}const F5=/^(?(?:rgb|hsl)a?)\((?.+)\)/,cF={rgb:(n,e,r,C)=>({r:n,g:e,b:r,a:C}),rgba:(n,e,r,C)=>({r:n,g:e,b:r,a:C}),hsl:(n,e,r,C)=>B5({h:n,s:e,l:r,a:C}),hsla:(n,e,r,C)=>B5({h:n,s:e,l:r,a:C}),hsv:(n,e,r,C)=>rf({h:n,s:e,v:r,a:C}),hsva:(n,e,r,C)=>rf({h:n,s:e,v:r,a:C})};function Pc(n){if(typeof n=="number")return{r:(n&16711680)>>16,g:(n&65280)>>8,b:n&255};if(typeof n=="string"&&F5.test(n)){const{groups:e}=n.match(F5),{fn:r,values:C}=e,D=C.split(/,\s*/).map(T=>T.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(r)?parseFloat(T)/100:parseFloat(T));return cF[r](...D)}else if(typeof n=="string"){let e=n.startsWith("#")?n.slice(1):n;return[3,4].includes(e.length)?e=e.split("").map(r=>r+r).join(""):[6,8].includes(e.length),k6(e)}else if(typeof n=="object"){if(Od(n,["r","g","b"]))return n;if(Od(n,["h","s","l"]))return rf(e_(n));if(Od(n,["h","s","v"]))return rf(n)}throw new TypeError(`Invalid color: ${n==null?n:String(n)||n.constructor.name} +Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function rf(n){const{h:e,s:r,v:C,a:D}=n,T=t=>{const d=(t+e/60)%6;return C-C*r*Math.max(Math.min(d,4-d,1),0)},p=[T(5),T(3),T(1)].map(t=>Math.round(t*255));return{r:p[0],g:p[1],b:p[2],a:D}}function B5(n){return rf(e_(n))}function Xy(n){if(!n)return{h:0,s:1,v:1,a:1};const e=n.r/255,r=n.g/255,C=n.b/255,D=Math.max(e,r,C),T=Math.min(e,r,C);let p=0;D!==T&&(D===e?p=60*(0+(r-C)/(D-T)):D===r?p=60*(2+(C-e)/(D-T)):D===C&&(p=60*(4+(e-r)/(D-T)))),p<0&&(p=p+360);const t=D===0?0:(D-T)/D,d=[p,t,D];return{h:d[0],s:d[1],v:d[2],a:n.a}}function x6(n){const{h:e,s:r,v:C,a:D}=n,T=C-C*r/2,p=T===1||T===0?0:(C-T)/Math.min(T,1-T);return{h:e,s:p,l:T,a:D}}function e_(n){const{h:e,s:r,l:C,a:D}=n,T=C+r*Math.min(C,1-C),p=T===0?0:2-2*C/T;return{h:e,s:p,v:T,a:D}}function _6(n){let{r:e,g:r,b:C,a:D}=n;return D===void 0?`rgb(${e}, ${r}, ${C})`:`rgba(${e}, ${r}, ${C}, ${D})`}function w6(n){return _6(rf(n))}function cv(n){const e=Math.round(n).toString(16);return("00".substr(0,2-e.length)+e).toUpperCase()}function T6(n){let{r:e,g:r,b:C,a:D}=n;return`#${[cv(e),cv(r),cv(C),D!==void 0?cv(Math.round(D*255)):""].join("")}`}function k6(n){n=fF(n);let[e,r,C,D]=Gz(n,2).map(T=>parseInt(T,16));return D=D===void 0?D:D/255,{r:e,g:r,b:C,a:D}}function hF(n){const e=k6(n);return Xy(e)}function M6(n){return T6(rf(n))}function fF(n){return n.startsWith("#")&&(n=n.slice(1)),n=n.replace(/([^0-9a-f])/gi,"F"),(n.length===3||n.length===4)&&(n=n.split("").map(e=>e+e).join("")),n.length!==6&&(n=w5(w5(n,6),8,"F")),n}function dF(n,e){const r=v6(Q2(n));return r[0]=r[0]+e*10,b6(y6(r))}function pF(n,e){const r=v6(Q2(n));return r[0]=r[0]-e*10,b6(y6(r))}function cx(n){const e=Pc(n);return Q2(e)[1]}function mF(n,e){const r=cx(n),C=cx(e),D=Math.max(r,C),T=Math.min(r,C);return(D+.05)/(T+.05)}function A6(n){const e=Math.abs(D5(Pc(0),Pc(n)));return Math.abs(D5(Pc(16777215),Pc(n)))>Math.min(e,50)?"#fff":"#000"}function ur(n,e){return r=>Object.keys(n).reduce((C,D)=>{const p=typeof n[D]=="object"&&n[D]!=null&&!Array.isArray(n[D])?n[D]:{type:n[D]};return r&&D in r?C[D]={...p,default:r[D]}:C[D]=p,e&&!C[D].source&&(C[D].source=e),C},{})}const Zr=ur({class:[String,Array],style:{type:[String,Array,Object],default:null}},"component");function ac(n){if(n._setup=n._setup??n.setup,!n.name)return n;if(n._setup){n.props=ur(n.props??{},n.name)();const e=Object.keys(n.props);n.filterProps=function(C){return $d(C,e,["class","style"])},n.props._as=String,n.setup=function(C,D){const T=r_();if(!T.value)return n._setup(C,D);const{props:p,provideSubDefaults:t}=TF(C,C._as??n.name,T),d=n._setup(p,D);return t(),d}}return n}function Ar(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return e=>(n?ac:ns)(e)}function Nc(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",r=arguments.length>2?arguments[2]:void 0;return Ar()({name:r??sf(tc(n.replace(/__/g,"-"))),props:{tag:{type:String,default:e},...Zr()},setup(C,D){let{slots:T}=D;return()=>{var p;return Xf(C.tag,{class:[n,C.class],style:C.style},(p=T.default)==null?void 0:p.call(T))}}})}function S6(n){if(typeof n.getRootNode!="function"){for(;n.parentNode;)n=n.parentNode;return n!==document?null:document}const e=n.getRootNode();return e!==document&&e.getRootNode({composed:!0})!==document?null:e}const zm="cubic-bezier(0.4, 0, 0.2, 1)",gF="cubic-bezier(0.0, 0, 0.2, 1)",vF="cubic-bezier(0.4, 0, 1, 1)";function Ss(n,e){const r=Ey();if(!r)throw new Error(`[Vuetify] ${n} ${e||"must be called from inside a setup function"}`);return r}function ff(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables";const e=Ss(n).type;return Ud((e==null?void 0:e.aliasName)||(e==null?void 0:e.name))}let C6=0,kv=new WeakMap;function Js(){const n=Ss("getUid");if(kv.has(n))return kv.get(n);{const e=C6++;return kv.set(n,e),e}}Js.reset=()=>{C6=0,kv=new WeakMap};function t_(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(;n;){if(e?yF(n):n_(n))return n;n=n.parentElement}return document.scrollingElement}function hy(n,e){const r=[];if(e&&n&&!e.contains(n))return r;for(;n&&(n_(n)&&r.push(n),n!==e);)n=n.parentElement;return r}function n_(n){if(!n||n.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(n);return e.overflowY==="scroll"||e.overflowY==="auto"&&n.scrollHeight>n.clientHeight}function yF(n){if(!n||n.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(n);return["scroll","auto"].includes(e.overflowY)}function bF(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ss("injectSelf");const{provides:r}=e;if(r&&n in r)return r[n]}function xF(n){for(;n;){if(window.getComputedStyle(n).position==="fixed")return!0;n=n.offsetParent}return!1}function Or(n){const e=Ss("useRender");e.render=n}const u0=Symbol.for("vuetify:defaults");function _F(n){return Vr(n)}function r_(){const n=ka(u0);if(!n)throw new Error("[Vuetify] Could not find defaults instance");return n}function es(n,e){const r=r_(),C=Vr(n),D=cn(()=>{if(yu(e==null?void 0:e.disabled))return r.value;const p=yu(e==null?void 0:e.scoped),t=yu(e==null?void 0:e.reset),d=yu(e==null?void 0:e.root);if(C.value==null&&!(p||t||d))return r.value;let g=Ku(C.value,{prev:r.value});if(p)return g;if(t||d){const i=Number(t||1/0);for(let M=0;M<=i&&!(!g||!("prev"in g));M++)g=g.prev;return g&&typeof d=="string"&&d in g&&(g=Ku(Ku(g,{prev:g}),g[d])),g}return g.prev?Ku(g.prev,g):g});return ts(u0,D),D}function wF(n,e){var r,C;return typeof((r=n.props)==null?void 0:r[e])<"u"||typeof((C=n.props)==null?void 0:C[Ud(e)])<"u"}function TF(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:r_();const C=Ss("useDefaults");if(e=e??C.type.name??C.type.__name,!e)throw new Error("[Vuetify] Could not determine component name");const D=cn(()=>{var d;return(d=r.value)==null?void 0:d[n._as??e]}),T=new Proxy(n,{get(d,g){var M,v,f,l;const i=Reflect.get(d,g);return g==="class"||g==="style"?[(M=D.value)==null?void 0:M[g],i].filter(a=>a!=null):typeof g=="string"&&!wF(C.vnode,g)?((v=D.value)==null?void 0:v[g])??((l=(f=r.value)==null?void 0:f.global)==null?void 0:l[g])??i:i}}),p=Wr();wu(()=>{if(D.value){const d=Object.entries(D.value).filter(g=>{let[i]=g;return i.startsWith(i[0].toUpperCase())});p.value=d.length?Object.fromEntries(d):void 0}else p.value=void 0});function t(){const d=bF(u0,C);ts(u0,cn(()=>p.value?Ku((d==null?void 0:d.value)??{},p.value):d==null?void 0:d.value))}return{props:T,provideSubDefaults:t}}const Ky=["sm","md","lg","xl","xxl"],hx=Symbol.for("vuetify:display"),N5={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}},kF=function(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:N5;return Ku(N5,n)};function V5(n){return to&&!n?window.innerWidth:typeof n=="object"&&n.clientWidth||0}function j5(n){return to&&!n?window.innerHeight:typeof n=="object"&&n.clientHeight||0}function U5(n){const e=to&&!n?window.navigator.userAgent:"ssr";function r(l){return!!e.match(l)}const C=r(/android/i),D=r(/iphone|ipad|ipod/i),T=r(/cordova/i),p=r(/electron/i),t=r(/chrome/i),d=r(/edge/i),g=r(/firefox/i),i=r(/opera/i),M=r(/win/i),v=r(/mac/i),f=r(/linux/i);return{android:C,ios:D,cordova:T,electron:p,chrome:t,edge:d,firefox:g,opera:i,win:M,mac:v,linux:f,touch:Bz,ssr:e==="ssr"}}function MF(n,e){const{thresholds:r,mobileBreakpoint:C}=kF(n),D=Wr(j5(e)),T=Wr(U5(e)),p=yl({}),t=Wr(V5(e));function d(){D.value=j5(),t.value=V5()}function g(){d(),T.value=U5()}return wu(()=>{const i=t.value=r.xxl,u=i?"xs":M?"sm":v?"md":f?"lg":l?"xl":"xxl",o=typeof C=="number"?C:r[C],s=t.valueXf(a_,{...n,class:"mdi"})},bi=[String,Function,Object,Array],fx=Symbol.for("vuetify:icons"),Jy=ur({icon:{type:bi},tag:{type:String,required:!0}},"icon"),dx=Ar()({name:"VComponentIcon",props:Jy(),setup(n,e){let{slots:r}=e;return()=>{const C=n.icon;return gt(n.tag,null,{default:()=>{var D;return[n.icon?gt(C,null,null):(D=r.default)==null?void 0:D.call(r)]}})}}}),i_=ac({name:"VSvgIcon",inheritAttrs:!1,props:Jy(),setup(n,e){let{attrs:r}=e;return()=>gt(n.tag,qr(r,{style:null}),{default:()=>[gt("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(n.icon)?n.icon.map(C=>Array.isArray(C)?gt("path",{d:C[0],"fill-opacity":C[1]},null):gt("path",{d:C},null)):gt("path",{d:n.icon},null)])]})}}),CF=ac({name:"VLigatureIcon",props:Jy(),setup(n){return()=>gt(n.tag,null,{default:()=>[n.icon]})}}),a_=ac({name:"VClassIcon",props:Jy(),setup(n){return()=>gt(n.tag,{class:n.icon},null)}}),EF={svg:{component:i_},class:{component:a_}};function LF(n){return Ku({defaultSet:"mdi",sets:{...EF,mdi:SF},aliases:{...AF,vuetify:["M8.2241 14.2009L12 21L22 3H14.4459L8.2241 14.2009Z",["M7.26303 12.4733L7.00113 12L2 3H12.5261C12.5261 3 12.5261 3 12.5261 3L7.26303 12.4733Z",.6]],"vuetify-outline":"svg:M7.26 12.47 12.53 3H2L7.26 12.47ZM14.45 3 8.22 14.2 12 21 22 3H14.45ZM18.6 5 12 16.88 10.51 14.2 15.62 5ZM7.26 8.35 5.4 5H9.13L7.26 8.35Z"}},n)}const IF=n=>{const e=ka(fx);if(!e)throw new Error("Missing Vuetify Icons provide!");return{iconData:cn(()=>{var d;const C=yu(n);if(!C)return{component:dx};let D=C;if(typeof D=="string"&&(D=D.trim(),D.startsWith("$")&&(D=(d=e.aliases)==null?void 0:d[D.slice(1)])),!D)throw new Error(`Could not find aliased icon "${C}"`);if(Array.isArray(D))return{component:i_,icon:D};if(typeof D!="string")return{component:dx,icon:D};const T=Object.keys(e.sets).find(g=>typeof D=="string"&&D.startsWith(`${g}:`)),p=T?D.slice(T.length+1):D;return{component:e.sets[T??e.defaultSet].component,icon:p}})}},RF={badge:"Badge",open:"Open",close:"Close",dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},dateRangeInput:{divider:"to"},datePicker:{ok:"OK",cancel:"Cancel",range:{title:"Select dates",header:"Enter dates"},title:"Select date",header:"Enter date",input:{placeholder:"Enter date"}},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action",otp:"Please enter OTP character {0}"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},timePicker:{am:"AM",pm:"PM"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Go to page {0}",currentPage:"Page {0}, Current page",first:"First page",last:"Last page"}},stepper:{next:"Next",prev:"Previous"},rating:{ariaLabel:{item:"Rating {0} of {1}"}},loading:"Loading...",infiniteScroll:{loadMore:"Load more",empty:"No more"}},PF={af:!1,ar:!0,bg:!1,ca:!1,ckb:!1,cs:!1,de:!1,el:!1,en:!1,es:!1,et:!1,fa:!0,fi:!1,fr:!1,hr:!1,hu:!1,he:!0,id:!1,it:!1,ja:!1,ko:!1,lv:!1,lt:!1,nl:!1,no:!1,pl:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,srCyrl:!1,srLatn:!1,sv:!1,th:!1,tr:!1,az:!1,uk:!1,vi:!1,zhHans:!1,zhHant:!1};function $f(n,e){let r;function C(){r=Um(),r.run(()=>e.length?e(()=>{r==null||r.stop(),C()}):e())}$r(n,D=>{D&&!r?C():D||(r==null||r.stop(),r=void 0)},{immediate:!0}),wl(()=>{r==null||r.stop()})}function xi(n,e,r){let C=arguments.length>3&&arguments[3]!==void 0?arguments[3]:M=>M,D=arguments.length>4&&arguments[4]!==void 0?arguments[4]:M=>M;const T=Ss("useProxiedModel"),p=Vr(n[e]!==void 0?n[e]:r),t=Ud(e),g=cn(t!==e?()=>{var M,v,f,l;return n[e],!!(((M=T.vnode.props)!=null&&M.hasOwnProperty(e)||(v=T.vnode.props)!=null&&v.hasOwnProperty(t))&&((f=T.vnode.props)!=null&&f.hasOwnProperty(`onUpdate:${e}`)||(l=T.vnode.props)!=null&&l.hasOwnProperty(`onUpdate:${t}`)))}:()=>{var M,v;return n[e],!!((M=T.vnode.props)!=null&&M.hasOwnProperty(e)&&((v=T.vnode.props)!=null&&v.hasOwnProperty(`onUpdate:${e}`)))});$f(()=>!g.value,()=>{$r(()=>n[e],M=>{p.value=M})});const i=cn({get(){const M=n[e];return C(g.value?M:p.value)},set(M){const v=D(M),f=wi(g.value?n[e]:p.value);f===v||C(f)===M||(p.value=v,T==null||T.emit(`update:${e}`,v))}});return Object.defineProperty(i,"externalValue",{get:()=>g.value?n[e]:p.value}),i}const H5="$vuetify.",G5=(n,e)=>n.replace(/\{(\d+)\}/g,(r,C)=>String(e[+C])),E6=(n,e,r)=>function(C){for(var D=arguments.length,T=new Array(D>1?D-1:0),p=1;pnew Intl.NumberFormat([n.value,e.value],C).format(r)}function yb(n,e,r){const C=xi(n,e,n[e]??r.value);return C.value=n[e]??r.value,$r(r,D=>{n[e]==null&&(C.value=r.value)}),C}function I6(n){return e=>{const r=yb(e,"locale",n.current),C=yb(e,"fallback",n.fallback),D=yb(e,"messages",n.messages);return{name:"vuetify",current:r,fallback:C,messages:D,t:E6(r,C,D),n:L6(r,C),provide:I6({current:r,fallback:C,messages:D})}}}function OF(n){const e=Wr((n==null?void 0:n.locale)??"en"),r=Wr((n==null?void 0:n.fallback)??"en"),C=Vr({en:RF,...n==null?void 0:n.messages});return{name:"vuetify",current:e,fallback:r,messages:C,t:E6(e,r,C),n:L6(e,r),provide:I6({current:e,fallback:r,messages:C})}}const c0=Symbol.for("vuetify:locale");function DF(n){return n.name!=null}function zF(n){const e=n!=null&&n.adapter&&DF(n==null?void 0:n.adapter)?n==null?void 0:n.adapter:OF(n),r=BF(e,n);return{...e,...r}}function oc(){const n=ka(c0);if(!n)throw new Error("[Vuetify] Could not find injected locale instance");return n}function FF(n){const e=ka(c0);if(!e)throw new Error("[Vuetify] Could not find injected locale instance");const r=e.provide(n),C=NF(r,e.rtl,n),D={...r,...C};return ts(c0,D),D}function BF(n,e){const r=Vr((e==null?void 0:e.rtl)??PF),C=cn(()=>r.value[n.current.value]??!1);return{isRtl:C,rtl:r,rtlClasses:cn(()=>`v-locale--is-${C.value?"rtl":"ltr"}`)}}function NF(n,e,r){const C=cn(()=>r.rtl??e.value[n.current.value]??!1);return{isRtl:C,rtl:e,rtlClasses:cn(()=>`v-locale--is-${C.value?"rtl":"ltr"}`)}}function Cs(){const n=ka(c0);if(!n)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:n.isRtl,rtlClasses:n.rtlClasses}}const Fm=Symbol.for("vuetify:theme"),oa=ur({theme:String},"theme"),im={defaultTheme:"light",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-bright":"#FFFFFF","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#6200EE","primary-darken-1":"#3700B3",secondary:"#03DAC6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#F5F5F5","theme-on-code":"#000000"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-bright":"#ccbfd6","surface-variant":"#a3a3a3","on-surface-variant":"#424242",primary:"#BB86FC","primary-darken-1":"#3700B3",secondary:"#03DAC5","secondary-darken-1":"#03DAC5",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"high-emphasis-opacity":1,"medium-emphasis-opacity":.7,"disabled-opacity":.5,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC"}}}};function VF(){var r,C;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:im;if(!n)return{...im,isDisabled:!0};const e={};for(const[D,T]of Object.entries(n.themes??{})){const p=T.dark||D==="dark"?(r=im.themes)==null?void 0:r.dark:(C=im.themes)==null?void 0:C.light;e[D]=Ku(p,T)}return Ku(im,{...n,themes:e})}function jF(n){const e=VF(n),r=Vr(e.defaultTheme),C=Vr(e.themes),D=cn(()=>{const i={};for(const[M,v]of Object.entries(C.value)){const f=i[M]={...v,colors:{...v.colors}};if(e.variations)for(const l of e.variations.colors){const a=f.colors[l];if(a)for(const u of["lighten","darken"]){const o=u==="lighten"?dF:pF;for(const s of Kh(e.variations[u],1))f.colors[`${l}-${u}-${s}`]=T6(o(Pc(a),s))}}for(const l of Object.keys(f.colors)){if(/^on-[a-z]/.test(l)||f.colors[`on-${l}`])continue;const a=`on-${l}`,u=Pc(f.colors[l]);f.colors[a]=A6(u)}}return i}),T=cn(()=>D.value[r.value]),p=cn(()=>{const i=[];T.value.dark&&wd(i,":root",["color-scheme: dark"]),wd(i,":root",q5(T.value));for(const[l,a]of Object.entries(D.value))wd(i,`.v-theme--${l}`,[`color-scheme: ${a.dark?"dark":"normal"}`,...q5(a)]);const M=[],v=[],f=new Set(Object.values(D.value).flatMap(l=>Object.keys(l.colors)));for(const l of f)/^on-[a-z]/.test(l)?wd(v,`.${l}`,[`color: rgb(var(--v-theme-${l})) !important`]):(wd(M,`.bg-${l}`,[`--v-theme-overlay-multiplier: var(--v-theme-${l}-overlay-multiplier)`,`background-color: rgb(var(--v-theme-${l})) !important`,`color: rgb(var(--v-theme-on-${l})) !important`]),wd(v,`.text-${l}`,[`color: rgb(var(--v-theme-${l})) !important`]),wd(v,`.border-${l}`,[`--v-border-color: var(--v-theme-${l})`]));return i.push(...M,...v),i.map((l,a)=>a===0?l:` ${l}`).join("")});function t(){return{style:[{children:p.value,id:"vuetify-theme-stylesheet",nonce:e.cspNonce||!1}]}}function d(i){if(e.isDisabled)return;const M=i._context.provides.usehead;if(M)if(M.push){const f=M.push(t);to&&$r(p,()=>{f.patch(t)})}else to?(M.addHeadObjs(cn(t)),wu(()=>M.updateDOM())):M.addHeadObjs(t());else{let l=function(){if(typeof document<"u"&&!f){const a=document.createElement("style");a.type="text/css",a.id="vuetify-theme-stylesheet",e.cspNonce&&a.setAttribute("nonce",e.cspNonce),f=a,document.head.appendChild(f)}f&&(f.innerHTML=p.value)};var v=l;let f=to?document.getElementById("vuetify-theme-stylesheet"):null;to?$r(p,l,{immediate:!0}):l()}}const g=cn(()=>e.isDisabled?void 0:`v-theme--${r.value}`);return{install:d,isDisabled:e.isDisabled,name:r,themes:C,current:T,computedThemes:D,themeClasses:g,styles:p,global:{name:r,current:T}}}function Ma(n){Ss("provideTheme");const e=ka(Fm,null);if(!e)throw new Error("Could not find Vuetify theme injection");const r=cn(()=>n.theme??e.name.value),C=cn(()=>e.themes.value[r.value]),D=cn(()=>e.isDisabled?void 0:`v-theme--${r.value}`),T={...e,name:r,current:C,themeClasses:D};return ts(Fm,T),T}function R6(){Ss("useTheme");const n=ka(Fm,null);if(!n)throw new Error("Could not find Vuetify theme injection");return n}function wd(n,e,r){n.push(`${e} { `,...r.map(C=>` ${C}; `),`} -`)}function G5(n){const e=n.dark?2:1,r=n.dark?1:2,C=[];for(const[D,k]of Object.entries(n.colors)){const m=Pc(k);C.push(`--v-theme-${D}: ${m.r},${m.g},${m.b}`),D.startsWith("on-")||C.push(`--v-theme-${D}-overlay-multiplier: ${cx(k)>.18?e:r}`)}for(const[D,k]of Object.entries(n.variables)){const m=typeof k=="string"&&k.startsWith("#")?Pc(k):void 0,t=m?`${m.r}, ${m.g}, ${m.b}`:void 0;C.push(`--v-${D}: ${t??k}`)}return C}const px={"001":1,AD:1,AE:6,AF:6,AG:0,AI:1,AL:1,AM:1,AN:1,AR:1,AS:0,AT:1,AU:1,AX:1,AZ:1,BA:1,BD:0,BE:1,BG:1,BH:6,BM:1,BN:1,BR:0,BS:0,BT:0,BW:0,BY:1,BZ:0,CA:0,CH:1,CL:1,CM:1,CN:1,CO:0,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DM:0,DO:0,DZ:6,EC:1,EE:1,EG:6,ES:1,ET:0,FI:1,FJ:1,FO:1,FR:1,GB:1,"GB-alt-variant":0,GE:1,GF:1,GP:1,GR:1,GT:0,GU:0,HK:0,HN:0,HR:1,HU:1,ID:0,IE:1,IL:0,IN:0,IQ:6,IR:6,IS:1,IT:1,JM:0,JO:6,JP:0,KE:0,KG:1,KH:0,KR:0,KW:6,KZ:1,LA:0,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MH:0,MK:1,MM:0,MN:1,MO:0,MQ:1,MT:0,MV:5,MX:0,MY:1,MZ:0,NI:0,NL:1,NO:1,NP:0,NZ:1,OM:6,PA:0,PE:0,PH:0,PK:0,PL:1,PR:0,PT:0,PY:0,QA:6,RE:1,RO:1,RS:1,RU:1,SA:0,SD:6,SE:1,SG:0,SI:1,SK:1,SM:1,SV:0,SY:6,TH:0,TJ:1,TM:1,TR:1,TT:0,TW:0,UA:1,UM:0,US:0,UY:1,UZ:1,VA:1,VE:0,VI:0,VN:1,WS:0,XK:1,YE:0,ZA:0,ZW:0};function qF(n,e){const r=[];let C=[];const D=R6(n),k=P6(n),m=D.getDay()-px[e.slice(-2).toUpperCase()],t=k.getDay()-px[e.slice(-2).toUpperCase()];for(let d=0;d{const C=new Date(q5);return C.setDate(q5.getDate()+e+r),new Intl.DateTimeFormat(n,{weekday:"narrow"}).format(C)})}function XF(n,e,r){const C=new Date(n);let D={};switch(e){case"fullDateWithWeekday":D={weekday:"long",day:"numeric",month:"long",year:"numeric"};break;case"normalDateWithWeekday":D={weekday:"short",day:"numeric",month:"short"};break;case"keyboardDate":D={};break;case"monthAndDate":D={month:"long",day:"numeric"};break;case"monthAndYear":D={month:"long",year:"numeric"};break;case"dayOfMonth":D={day:"numeric"};break;default:D={timeZone:"UTC",timeZoneName:"short"}}return new Intl.DateTimeFormat(r,D).format(C)}function KF(n,e){const r=new Date(n);return r.setDate(r.getDate()+e),r}function JF(n,e){const r=new Date(n);return r.setMonth(r.getMonth()+e),r}function QF(n){return n.getFullYear()}function eB(n){return n.getMonth()}function tB(n){return new Date(n.getFullYear(),0,1)}function nB(n){return new Date(n.getFullYear(),11,31)}function rB(n,e){return mx(n,e[0])&&aB(n,e[1])}function iB(n){if(!n||n==null)return!1;const e=new Date(n);return e instanceof Date&&!isNaN(e.getTime())}function mx(n,e){return n.getTime()>e.getTime()}function aB(n,e){return n.getTime()1&&arguments[1]!==void 0?arguments[1]:"content";const r=Vr(),C=Vr();if(to){const D=new ResizeObserver(k=>{n==null||n(k,D),k.length&&(e==="content"?C.value=k[0].contentRect:C.value=k[0].target.getBoundingClientRect())});kl(()=>{D.disconnect()}),Yr(r,(k,m)=>{m&&(D.unobserve(ox(m)),C.value=void 0),k&&D.observe(ox(k))},{flush:"post"})}return{resizeRef:r,contentRect:Hm(C)}}const hy=Symbol.for("vuetify:layout"),O6=Symbol.for("vuetify:layout-item"),Y5=1e3,D6=ur({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},"layout"),x0=ur({name:{type:String},order:{type:[Number,String],default:0},absolute:Boolean},"layout-item");function pB(){const n=ka(hy);if(!n)throw new Error("[Vuetify] Could not find injected layout");return{getLayoutItem:n.getLayoutItem,mainRect:n.mainRect,mainStyles:n.mainStyles}}function _0(n){const e=ka(hy);if(!e)throw new Error("[Vuetify] Could not find injected layout");const r=n.id??`layout-item-${Qs()}`,C=Es("useLayoutItem");rs(O6,{id:r});const D=Wr(!1);YT(()=>D.value=!0),$T(()=>D.value=!1);const{layoutItemStyles:k,layoutItemScrimStyles:m}=e.register(C,{...n,active:cn(()=>D.value?!1:n.active.value),id:r});return kl(()=>e.unregister(r)),{layoutItemStyles:k,layoutRect:e.layoutRect,layoutItemScrimStyles:m}}const mB=(n,e,r,C)=>{let D={top:0,left:0,right:0,bottom:0};const k=[{id:"",layer:{...D}}];for(const m of n){const t=e.get(m),d=r.get(m),y=C.get(m);if(!t||!d||!y)continue;const i={...D,[t.value]:parseInt(D[t.value],10)+(y.value?parseInt(d.value,10):0)};k.push({id:m,layer:i}),D=i}return k};function z6(n){const e=ka(hy,null),r=cn(()=>e?e.rootZIndex.value-100:Y5),C=Vr([]),D=bl(new Map),k=bl(new Map),m=bl(new Map),t=bl(new Map),d=bl(new Map),{resizeRef:y,contentRect:i}=kf(),M=cn(()=>{const w=new Map,g=n.overlaps??[];for(const S of g.filter(x=>x.includes(":"))){const[x,T]=S.split(":");if(!C.value.includes(x)||!C.value.includes(T))continue;const E=D.get(x),_=D.get(T),A=k.get(x),L=k.get(T);!E||!_||!A||!L||(w.set(T,{position:E.value,amount:parseInt(A.value,10)}),w.set(x,{position:_.value,amount:-parseInt(L.value,10)}))}return w}),v=cn(()=>{const w=[...new Set([...m.values()].map(S=>S.value))].sort((S,x)=>S-x),g=[];for(const S of w){const x=C.value.filter(T=>{var E;return((E=m.get(T))==null?void 0:E.value)===S});g.push(...x)}return mB(g,D,k,t)}),h=cn(()=>!Array.from(d.values()).some(w=>w.value)),l=cn(()=>v.value[v.value.length-1].layer),a=cn(()=>({"--v-layout-left":Qr(l.value.left),"--v-layout-right":Qr(l.value.right),"--v-layout-top":Qr(l.value.top),"--v-layout-bottom":Qr(l.value.bottom),...h.value?void 0:{transition:"none"}})),u=cn(()=>v.value.slice(1).map((w,g)=>{let{id:S}=w;const{layer:x}=v.value[g],T=k.get(S),E=D.get(S);return{id:S,...x,size:Number(T.value),position:E.value}})),s=w=>u.value.find(g=>g.id===w),o=Es("createLayout"),c=Wr(!1);Js(()=>{c.value=!0}),rs(hy,{register:(w,g)=>{let{id:S,order:x,position:T,layoutSize:E,elementSize:_,active:A,disableTransitions:L,absolute:b}=g;m.set(S,x),D.set(S,T),k.set(S,E),t.set(S,A),L&&d.set(S,L);const I=ym(O6,o==null?void 0:o.vnode).indexOf(w);I>-1?C.value.splice(I,0,S):C.value.push(S);const O=cn(()=>u.value.findIndex(N=>N.id===S)),z=cn(()=>r.value+v.value.length*2-O.value*2),F=cn(()=>{const N=T.value==="left"||T.value==="right",W=T.value==="right",j=T.value==="bottom",Y={[T.value]:0,zIndex:z.value,transform:`translate${N?"X":"Y"}(${(A.value?0:-110)*(W||j?-1:1)}%)`,position:b.value||r.value!==Y5?"absolute":"fixed",...h.value?void 0:{transition:"none"}};if(!c.value)return Y;const U=u.value[O.value];if(!U)throw new Error(`[Vuetify] Could not find layout item "${S}"`);const G=M.value.get(S);return G&&(U[G.position]+=G.amount),{...Y,height:N?`calc(100% - ${U.top}px - ${U.bottom}px)`:_.value?`${_.value}px`:void 0,left:W?void 0:`${U.left}px`,right:W?`${U.right}px`:void 0,top:T.value!=="bottom"?`${U.top}px`:void 0,bottom:T.value!=="top"?`${U.bottom}px`:void 0,width:N?_.value?`${_.value}px`:void 0:`calc(100% - ${U.left}px - ${U.right}px)`}}),B=cn(()=>({zIndex:z.value-1}));return{layoutItemStyles:F,layoutItemScrimStyles:B,zIndex:z}},unregister:w=>{m.delete(w),D.delete(w),k.delete(w),t.delete(w),d.delete(w),C.value=C.value.filter(g=>g!==w)},mainRect:l,mainStyles:a,getLayoutItem:s,items:u,layoutRect:i,rootZIndex:r});const f=cn(()=>["v-layout",{"v-layout--full-height":n.fullHeight}]),p=cn(()=>({zIndex:r.value,position:e?"relative":void 0,overflow:e?"hidden":void 0}));return{layoutClasses:f,layoutStyles:p,getLayoutItem:s,items:u,layoutRect:i,layoutRef:y}}function F6(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{blueprint:e,...r}=n,C=Ju(e,r),{aliases:D={},components:k={},directives:m={}}=C,t=kF(C.defaults),d=CF(C.display,C.ssr),y=GF(C.theme),i=PF(C.icons),M=NF(C.locale),v=dB(C.date);return{install:l=>{for(const a in m)l.directive(a,m[a]);for(const a in k)l.component(a,k[a]);for(const a in D)l.component(a,ac({...D[a],name:a,aliasName:D[a].name}));if(y.install(l),l.provide(u0,t),l.provide(fx,d),l.provide(Fm,y),l.provide(hx,i),l.provide(c0,M),l.provide($5,v),to&&C.ssr)if(l.$nuxt)l.$nuxt.hook("app:suspense:resolve",()=>{d.update()});else{const{mount:a}=l;l.mount=function(){const u=a(...arguments);return Ua(()=>d.update()),l.mount=a,u}}Qs.reset(),l.mixin({computed:{$vuetify(){return bl({defaults:Ep.call(this,u0),display:Ep.call(this,fx),theme:Ep.call(this,Fm),icons:Ep.call(this,hx),locale:Ep.call(this,c0),date:Ep.call(this,$5)})}}})},defaults:t,display:d,theme:y,icons:i,locale:M,date:v}}const gB="3.3.16";F6.version=gB;function Ep(n){var C,D;const e=this.$,r=((C=e.parent)==null?void 0:C.provides)??((D=e.vnode.appContext)==null?void 0:D.provides);if(r&&n in r)return r[n]}const vB=ur({...Zr(),...D6({fullHeight:!0}),...oa()},"VApp"),yB=Ar()({name:"VApp",props:vB(),setup(n,e){let{slots:r}=e;const C=Ma(n),{layoutClasses:D,layoutStyles:k,getLayoutItem:m,items:t,layoutRef:d}=z6(n),{rtlClasses:y}=Ls();return Or(()=>{var i;return gt("div",{ref:d,class:["v-application",C.themeClasses.value,D.value,y.value,n.class],style:[k.value,n.style]},[gt("div",{class:"v-application__wrap"},[(i=r.default)==null?void 0:i.call(r)])])}),{getLayoutItem:m,items:t,theme:C}}});const Si=ur({tag:{type:String,default:"div"}},"tag"),B6=ur({text:String,...Zr(),...Si()},"VToolbarTitle"),o_=Ar()({name:"VToolbarTitle",props:B6(),setup(n,e){let{slots:r}=e;return Or(()=>{const C=!!(r.default||r.text||n.text);return gt(n.tag,{class:["v-toolbar-title",n.class],style:n.style},{default:()=>{var D;return[C&>("div",{class:"v-toolbar-title__placeholder"},[r.text?r.text():n.text,(D=r.default)==null?void 0:D.call(r)])]}})}),{}}}),bB=ur({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function Su(n,e,r){return Ar()({name:n,props:bB({mode:r,origin:e}),setup(C,D){let{slots:k}=D;const m={onBeforeEnter(t){C.origin&&(t.style.transformOrigin=C.origin)},onLeave(t){if(C.leaveAbsolute){const{offsetTop:d,offsetLeft:y,offsetWidth:i,offsetHeight:M}=t;t._transitionInitialStyles={position:t.style.position,top:t.style.top,left:t.style.left,width:t.style.width,height:t.style.height},t.style.position="absolute",t.style.top=`${d}px`,t.style.left=`${y}px`,t.style.width=`${i}px`,t.style.height=`${M}px`}C.hideOnLeave&&t.style.setProperty("display","none","important")},onAfterLeave(t){if(C.leaveAbsolute&&(t!=null&&t._transitionInitialStyles)){const{position:d,top:y,left:i,width:M,height:v}=t._transitionInitialStyles;delete t._transitionInitialStyles,t.style.position=d||"",t.style.top=y||"",t.style.left=i||"",t.style.width=M||"",t.style.height=v||""}}};return()=>{const t=C.group?x7:xf;return Xh(t,{name:C.disabled?"":n,css:!C.disabled,...C.group?void 0:{mode:C.mode},...C.disabled?{}:m},k.default)}}})}function N6(n,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return Ar()({name:n,props:{mode:{type:String,default:r},disabled:Boolean},setup(C,D){let{slots:k}=D;return()=>Xh(xf,{name:C.disabled?"":n,css:!C.disabled,...C.disabled?{}:e},k.default)}})}function V6(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const r=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)?"width":"height",C=nc(`offset-${r}`);return{onBeforeEnter(m){m._parent=m.parentNode,m._initialStyle={transition:m.style.transition,overflow:m.style.overflow,[r]:m.style[r]}},onEnter(m){const t=m._initialStyle;m.style.setProperty("transition","none","important"),m.style.overflow="hidden";const d=`${m[C]}px`;m.style[r]="0",m.offsetHeight,m.style.transition=t.transition,n&&m._parent&&m._parent.classList.add(n),requestAnimationFrame(()=>{m.style[r]=d})},onAfterEnter:k,onEnterCancelled:k,onLeave(m){m._initialStyle={transition:"",overflow:m.style.overflow,[r]:m.style[r]},m.style.overflow="hidden",m.style[r]=`${m[C]}px`,m.offsetHeight,requestAnimationFrame(()=>m.style[r]="0")},onAfterLeave:D,onLeaveCancelled:D};function D(m){n&&m._parent&&m._parent.classList.remove(n),k(m)}function k(m){const t=m._initialStyle[r];m.style.overflow=m._initialStyle.overflow,t!=null&&(m.style[r]=t),delete m._initialStyle}}const xB=ur({target:Object},"v-dialog-transition"),Qy=Ar()({name:"VDialogTransition",props:xB(),setup(n,e){let{slots:r}=e;const C={onBeforeEnter(D){D.style.pointerEvents="none",D.style.visibility="hidden"},async onEnter(D,k){var v;await new Promise(h=>requestAnimationFrame(h)),await new Promise(h=>requestAnimationFrame(h)),D.style.visibility="";const{x:m,y:t,sx:d,sy:y,speed:i}=X5(n.target,D),M=Dd(D,[{transform:`translate(${m}px, ${t}px) scale(${d}, ${y})`,opacity:0},{}],{duration:225*i,easing:bF});(v=Z5(D))==null||v.forEach(h=>{Dd(h,[{opacity:0},{opacity:0,offset:.33},{}],{duration:225*2*i,easing:zm})}),M.finished.then(()=>k())},onAfterEnter(D){D.style.removeProperty("pointer-events")},onBeforeLeave(D){D.style.pointerEvents="none"},async onLeave(D,k){var v;await new Promise(h=>requestAnimationFrame(h));const{x:m,y:t,sx:d,sy:y,speed:i}=X5(n.target,D);Dd(D,[{},{transform:`translate(${m}px, ${t}px) scale(${d}, ${y})`,opacity:0}],{duration:125*i,easing:xF}).finished.then(()=>k()),(v=Z5(D))==null||v.forEach(h=>{Dd(h,[{},{opacity:0,offset:.2},{opacity:0}],{duration:125*2*i,easing:zm})})},onAfterLeave(D){D.style.removeProperty("pointer-events")}};return()=>n.target?gt(xf,qr({name:"dialog-transition"},C,{css:!1}),r):gt(xf,{name:"dialog-transition"},r)}});function Z5(n){var r;const e=(r=n.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list"))==null?void 0:r.children;return e&&[...e]}function X5(n,e){const r=n.getBoundingClientRect(),C=J2(e),[D,k]=getComputedStyle(e).transformOrigin.split(" ").map(s=>parseFloat(s)),[m,t]=getComputedStyle(e).getPropertyValue("--v-overlay-anchor-origin").split(" ");let d=r.left+r.width/2;m==="left"||t==="left"?d-=r.width/2:(m==="right"||t==="right")&&(d+=r.width/2);let y=r.top+r.height/2;m==="top"||t==="top"?y-=r.height/2:(m==="bottom"||t==="bottom")&&(y+=r.height/2);const i=r.width/C.width,M=r.height/C.height,v=Math.max(1,i,M),h=i/v||0,l=M/v||0,a=C.width*C.height/(window.innerWidth*window.innerHeight),u=a>.12?Math.min(1.5,(a-.12)*10+1):1;return{x:d-(D+C.left),y:y-(k+C.top),sx:h,sy:l,speed:u}}const _B=Su("fab-transition","center center","out-in"),wB=Su("dialog-bottom-transition"),TB=Su("dialog-top-transition"),gx=Su("fade-transition"),s_=Su("scale-transition"),kB=Su("scroll-x-transition"),MB=Su("scroll-x-reverse-transition"),AB=Su("scroll-y-transition"),SB=Su("scroll-y-reverse-transition"),CB=Su("slide-x-transition"),EB=Su("slide-x-reverse-transition"),l_=Su("slide-y-transition"),LB=Su("slide-y-reverse-transition"),e1=N6("expand-transition",V6()),u_=N6("expand-x-transition",V6("",!0)),IB=ur({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),Fa=Ar(!1)({name:"VDefaultsProvider",props:IB(),setup(n,e){let{slots:r}=e;const{defaults:C,disabled:D,reset:k,root:m,scoped:t}=by(n);return ns(C,{reset:k,root:m,scoped:t,disabled:D}),()=>{var d;return(d=r.default)==null?void 0:d.call(r)}}});const sc=ur({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function lc(n){return{dimensionStyles:cn(()=>({height:Qr(n.height),maxHeight:Qr(n.maxHeight),maxWidth:Qr(n.maxWidth),minHeight:Qr(n.minHeight),minWidth:Qr(n.minWidth),width:Qr(n.width)}))}}function RB(n){return{aspectStyles:cn(()=>{const e=Number(n.aspectRatio);return e?{paddingBottom:String(1/e*100)+"%"}:void 0})}}const j6=ur({aspectRatio:[String,Number],contentClass:String,inline:Boolean,...Zr(),...sc()},"VResponsive"),vx=Ar()({name:"VResponsive",props:j6(),setup(n,e){let{slots:r}=e;const{aspectStyles:C}=RB(n),{dimensionStyles:D}=lc(n);return Or(()=>{var k;return gt("div",{class:["v-responsive",{"v-responsive--inline":n.inline},n.class],style:[D.value,n.style]},[gt("div",{class:"v-responsive__sizer",style:C.value},null),(k=r.additional)==null?void 0:k.call(r),r.default&>("div",{class:["v-responsive__content",n.contentClass]},[r.default()])])}),{}}}),dh=ur({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:n=>n!==!0}},"transition"),Oc=(n,e)=>{let{slots:r}=e;const{transition:C,disabled:D,...k}=n,{component:m=xf,...t}=typeof C=="object"?C:{};return Xh(m,qr(typeof C=="string"?{name:D?"":C}:t,k,{disabled:D}),r)};function PB(n,e){if(!Y2)return;const r=e.modifiers||{},C=e.value,{handler:D,options:k}=typeof C=="object"?C:{handler:C,options:{}},m=new IntersectionObserver(function(){var M;let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],d=arguments.length>1?arguments[1]:void 0;const y=(M=n._observe)==null?void 0:M[e.instance.$.uid];if(!y)return;const i=t.some(v=>v.isIntersecting);D&&(!r.quiet||y.init)&&(!r.once||i||y.init)&&D(i,t,d),i&&r.once?U6(n,e):y.init=!0},k);n._observe=Object(n._observe),n._observe[e.instance.$.uid]={init:!1,observer:m},m.observe(n)}function U6(n,e){var C;const r=(C=n._observe)==null?void 0:C[e.instance.$.uid];r&&(r.observer.unobserve(n),delete n._observe[e.instance.$.uid])}const og={mounted:PB,unmounted:U6},H6=ur({alt:String,cover:Boolean,eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},sizes:String,src:{type:[String,Object],default:""},srcset:String,...j6(),...Zr(),...dh()},"VImg"),Zd=Ar()({name:"VImg",directives:{intersect:og},props:H6(),emits:{loadstart:n=>!0,load:n=>!0,error:n=>!0},setup(n,e){let{emit:r,slots:C}=e;const D=Wr(""),k=Vr(),m=Wr(n.eager?"loading":"idle"),t=Wr(),d=Wr(),y=cn(()=>n.src&&typeof n.src=="object"?{src:n.src.src,srcset:n.srcset||n.src.srcset,lazySrc:n.lazySrc||n.src.lazySrc,aspect:Number(n.aspectRatio||n.src.aspect||0)}:{src:n.src,srcset:n.srcset,lazySrc:n.lazySrc,aspect:Number(n.aspectRatio||0)}),i=cn(()=>y.value.aspect||t.value/d.value||0);Yr(()=>n.src,()=>{M(m.value!=="idle")}),Yr(i,(S,x)=>{!S&&x&&k.value&&u(k.value)}),Sy(()=>M());function M(S){if(!(n.eager&&S)&&!(Y2&&!S&&!n.eager)){if(m.value="loading",y.value.lazySrc){const x=new Image;x.src=y.value.lazySrc,u(x,null)}y.value.src&&Ua(()=>{var x,T;if(r("loadstart",((x=k.value)==null?void 0:x.currentSrc)||y.value.src),(T=k.value)!=null&&T.complete){if(k.value.naturalWidth||h(),m.value==="error")return;i.value||u(k.value,null),v()}else i.value||u(k.value),l()})}}function v(){var S;l(),m.value="loaded",r("load",((S=k.value)==null?void 0:S.currentSrc)||y.value.src)}function h(){var S;m.value="error",r("error",((S=k.value)==null?void 0:S.currentSrc)||y.value.src)}function l(){const S=k.value;S&&(D.value=S.currentSrc||S.src)}let a=-1;function u(S){let x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const T=()=>{clearTimeout(a);const{naturalHeight:E,naturalWidth:_}=S;E||_?(t.value=_,d.value=E):!S.complete&&m.value==="loading"&&x!=null?a=window.setTimeout(T,x):(S.currentSrc.endsWith(".svg")||S.currentSrc.startsWith("data:image/svg+xml"))&&(t.value=1,d.value=1)};T()}const s=cn(()=>({"v-img__img--cover":n.cover,"v-img__img--contain":!n.cover})),o=()=>{var T;if(!y.value.src||m.value==="idle")return null;const S=gt("img",{class:["v-img__img",s.value],src:y.value.src,srcset:y.value.srcset,alt:n.alt,sizes:n.sizes,ref:k,onLoad:v,onError:h},null),x=(T=C.sources)==null?void 0:T.call(C);return gt(Oc,{transition:n.transition,appear:!0},{default:()=>[Co(x?gt("picture",{class:"v-img__picture"},[x,S]):S,[[Mf,m.value==="loaded"]])]})},c=()=>gt(Oc,{transition:n.transition},{default:()=>[y.value.lazySrc&&m.value!=="loaded"&>("img",{class:["v-img__img","v-img__img--preload",s.value],src:y.value.lazySrc,alt:n.alt},null)]}),f=()=>C.placeholder?gt(Oc,{transition:n.transition,appear:!0},{default:()=>[(m.value==="loading"||m.value==="error"&&!C.error)&>("div",{class:"v-img__placeholder"},[C.placeholder()])]}):null,p=()=>C.error?gt(Oc,{transition:n.transition,appear:!0},{default:()=>[m.value==="error"&>("div",{class:"v-img__error"},[C.error()])]}):null,w=()=>n.gradient?gt("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${n.gradient})`}},null):null,g=Wr(!1);{const S=Yr(i,x=>{x&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{g.value=!0})}),S())})}return Or(()=>{const[S]=vx.filterProps(n);return Co(gt(vx,qr({class:["v-img",{"v-img--booting":!g.value},n.class],style:[{width:Qr(n.width==="auto"?t.value:n.width)},n.style]},S,{aspectRatio:i.value,"aria-label":n.alt,role:n.alt?"img":void 0}),{additional:()=>gt($r,null,[gt(o,null,null),gt(c,null,null),gt(w,null,null),gt(f,null,null),gt(p,null,null)]),default:C.default}),[[Tu("intersect"),{handler:M,options:n.options},null,{once:!0}]])}),{currentSrc:D,image:k,state:m,naturalWidth:t,naturalHeight:d}}}),Cu=ur({border:[Boolean,Number,String]},"border");function uc(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hh();return{borderClasses:cn(()=>{const C=eo(n)?n.value:n.border,D=[];if(C===!0||C==="")D.push(`${e}--border`);else if(typeof C=="string"||C===0)for(const k of String(C).split(" "))D.push(`border-${k}`);return D})}}function c_(n){return X2(()=>{const e=[],r={};if(n.value.background)if(D5(n.value.background)){if(r.backgroundColor=n.value.background,!n.value.text){const C=M6(r.backgroundColor);r.color=C,r.caretColor=C}}else e.push(`bg-${n.value.background}`);return n.value.text&&(D5(n.value.text)?(r.color=n.value.text,r.caretColor=n.value.text):e.push(`text-${n.value.text}`)),{colorClasses:e,colorStyles:r}})}function Ks(n,e){const r=cn(()=>({text:eo(n)?n.value:e?n[e]:null})),{colorClasses:C,colorStyles:D}=c_(r);return{textColorClasses:C,textColorStyles:D}}function Oo(n,e){const r=cn(()=>({background:eo(n)?n.value:e?n[e]:null})),{colorClasses:C,colorStyles:D}=c_(r);return{backgroundColorClasses:C,backgroundColorStyles:D}}const ds=ur({elevation:{type:[Number,String],validator(n){const e=parseInt(n);return!isNaN(e)&&e>=0&&e<=24}}},"elevation");function Vs(n){return{elevationClasses:cn(()=>{const r=eo(n)?n.value:n.elevation,C=[];return r==null||C.push(`elevation-${r}`),C})}}const lo=ur({rounded:{type:[Boolean,Number,String],default:void 0}},"rounded");function Eo(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hh();return{roundedClasses:cn(()=>{const C=eo(n)?n.value:n.rounded,D=[];if(C===!0||C==="")D.push(`${e}--rounded`);else if(typeof C=="string"||C===0)for(const k of String(C).split(" "))D.push(`rounded-${k}`);return D})}}const OB=[null,"prominent","default","comfortable","compact"],G6=ur({absolute:Boolean,collapse:Boolean,color:String,density:{type:String,default:"default",validator:n=>OB.includes(n)},extended:Boolean,extensionHeight:{type:[Number,String],default:48},flat:Boolean,floating:Boolean,height:{type:[Number,String],default:64},image:String,title:String,...Cu(),...Zr(),...ds(),...lo(),...Si({tag:"header"}),...oa()},"VToolbar"),yx=Ar()({name:"VToolbar",props:G6(),setup(n,e){var h;let{slots:r}=e;const{backgroundColorClasses:C,backgroundColorStyles:D}=Oo(Cr(n,"color")),{borderClasses:k}=uc(n),{elevationClasses:m}=Vs(n),{roundedClasses:t}=Eo(n),{themeClasses:d}=Ma(n),{rtlClasses:y}=Ls(),i=Wr(!!(n.extended||(h=r.extension)!=null&&h.call(r))),M=cn(()=>parseInt(Number(n.height)+(n.density==="prominent"?Number(n.height):0)-(n.density==="comfortable"?8:0)-(n.density==="compact"?16:0),10)),v=cn(()=>i.value?parseInt(Number(n.extensionHeight)+(n.density==="prominent"?Number(n.extensionHeight):0)-(n.density==="comfortable"?4:0)-(n.density==="compact"?8:0),10):0);return ns({VBtn:{variant:"text"}}),Or(()=>{var s;const l=!!(n.title||r.title),a=!!(r.image||n.image),u=(s=r.extension)==null?void 0:s.call(r);return i.value=!!(n.extended||u),gt(n.tag,{class:["v-toolbar",{"v-toolbar--absolute":n.absolute,"v-toolbar--collapse":n.collapse,"v-toolbar--flat":n.flat,"v-toolbar--floating":n.floating,[`v-toolbar--density-${n.density}`]:!0},C.value,k.value,m.value,t.value,d.value,y.value,n.class],style:[D.value,n.style]},{default:()=>[a&>("div",{key:"image",class:"v-toolbar__image"},[r.image?gt(Fa,{key:"image-defaults",disabled:!n.image,defaults:{VImg:{cover:!0,src:n.image}}},r.image):gt(Zd,{key:"image-img",cover:!0,src:n.image},null)]),gt(Fa,{defaults:{VTabs:{height:Qr(M.value)}}},{default:()=>{var o,c,f;return[gt("div",{class:"v-toolbar__content",style:{height:Qr(M.value)}},[r.prepend&>("div",{class:"v-toolbar__prepend"},[(o=r.prepend)==null?void 0:o.call(r)]),l&>(o_,{key:"title",text:n.title},{text:r.title}),(c=r.default)==null?void 0:c.call(r),r.append&>("div",{class:"v-toolbar__append"},[(f=r.append)==null?void 0:f.call(r)])])]}}),gt(Fa,{defaults:{VTabs:{height:Qr(v.value)}}},{default:()=>[gt(e1,null,{default:()=>[i.value&>("div",{class:"v-toolbar__extension",style:{height:Qr(v.value)}},[u])]})]})]})}),{contentHeight:M,extensionHeight:v}}}),DB=ur({scrollTarget:{type:String},scrollThreshold:{type:[String,Number],default:300}},"scroll");function zB(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{canScroll:r}=e;let C=0;const D=Vr(null),k=Wr(0),m=Wr(0),t=Wr(0),d=Wr(!1),y=Wr(!1),i=cn(()=>Number(n.scrollThreshold)),M=cn(()=>Xs((i.value-k.value)/i.value||0)),v=()=>{const h=D.value;!h||r&&!r.value||(C=k.value,k.value="window"in h?h.pageYOffset:h.scrollTop,y.value=k.value{m.value=m.value||k.value}),Yr(d,()=>{m.value=0}),Js(()=>{Yr(()=>n.scrollTarget,h=>{var a;const l=h?document.querySelector(h):window;l&&l!==D.value&&((a=D.value)==null||a.removeEventListener("scroll",v),D.value=l,D.value.addEventListener("scroll",v,{passive:!0}))},{immediate:!0})}),kl(()=>{var h;(h=D.value)==null||h.removeEventListener("scroll",v)}),r&&Yr(r,v,{immediate:!0}),{scrollThreshold:i,currentScroll:k,currentThreshold:t,isScrollActive:d,scrollRatio:M,isScrollingUp:y,savedScroll:m}}function tp(){const n=Wr(!1);return Js(()=>{window.requestAnimationFrame(()=>{n.value=!0})}),{ssrBootStyles:cn(()=>n.value?void 0:{transition:"none !important"}),isBooted:Hm(n)}}const FB=ur({scrollBehavior:String,modelValue:{type:Boolean,default:!0},location:{type:String,default:"top",validator:n=>["top","bottom"].includes(n)},...G6(),...x0(),...DB(),height:{type:[Number,String],default:64}},"VAppBar"),BB=Ar()({name:"VAppBar",props:FB(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const C=Vr(),D=xi(n,"modelValue"),k=cn(()=>{var o;const s=new Set(((o=n.scrollBehavior)==null?void 0:o.split(" "))??[]);return{hide:s.has("hide"),inverted:s.has("inverted"),collapse:s.has("collapse"),elevate:s.has("elevate"),fadeImage:s.has("fade-image")}}),m=cn(()=>{const s=k.value;return s.hide||s.inverted||s.collapse||s.elevate||s.fadeImage||!D.value}),{currentScroll:t,scrollThreshold:d,isScrollingUp:y,scrollRatio:i}=zB(n,{canScroll:m}),M=cn(()=>n.collapse||k.value.collapse&&(k.value.inverted?i.value>0:i.value===0)),v=cn(()=>n.flat||k.value.elevate&&(k.value.inverted?t.value>0:t.value===0)),h=cn(()=>k.value.fadeImage?k.value.inverted?1-i.value:i.value:void 0),l=cn(()=>{var c,f;if(k.value.hide&&k.value.inverted)return 0;const s=((c=C.value)==null?void 0:c.contentHeight)??0,o=((f=C.value)==null?void 0:f.extensionHeight)??0;return s+o});Yh(cn(()=>!!n.scrollBehavior),()=>{wu(()=>{k.value.hide?k.value.inverted?D.value=t.value>d.value:D.value=y.value||t.valueparseInt(n.order,10)),position:Cr(n,"location"),layoutSize:l,elementSize:Wr(void 0),active:D,absolute:Cr(n,"absolute")});return Or(()=>{const[s]=yx.filterProps(n);return gt(yx,qr({ref:C,class:["v-app-bar",{"v-app-bar--bottom":n.location==="bottom"},n.class],style:[{...u.value,"--v-toolbar-image-opacity":h.value,height:void 0,...a.value},n.style]},s,{collapse:M.value,flat:v.value}),r)}),{}}});const NB=[null,"default","comfortable","compact"],ps=ur({density:{type:String,default:"default",validator:n=>NB.includes(n)}},"density");function el(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hh();return{densityClasses:cn(()=>`${e}--density-${n.density}`)}}const VB=["elevated","flat","tonal","outlined","text","plain"];function np(n,e){return gt($r,null,[n&>("span",{key:"overlay",class:`${e}__overlay`},null),gt("span",{key:"underlay",class:`${e}__underlay`},null)])}const cc=ur({color:String,variant:{type:String,default:"elevated",validator:n=>VB.includes(n)}},"variant");function rp(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hh();const r=cn(()=>{const{variant:k}=yu(n);return`${e}--variant-${k}`}),{colorClasses:C,colorStyles:D}=c_(cn(()=>{const{variant:k,color:m}=yu(n);return{[["elevated","flat"].includes(k)?"background":"text"]:m}}));return{colorClasses:C,colorStyles:D,variantClasses:r}}const q6=ur({divided:Boolean,...Cu(),...Zr(),...ps(),...ds(),...lo(),...Si(),...oa(),...cc()},"VBtnGroup"),bx=Ar()({name:"VBtnGroup",props:q6(),setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{densityClasses:D}=el(n),{borderClasses:k}=uc(n),{elevationClasses:m}=Vs(n),{roundedClasses:t}=Eo(n);ns({VBtn:{height:"auto",color:Cr(n,"color"),density:Cr(n,"density"),flat:!0,variant:Cr(n,"variant")}}),Or(()=>gt(n.tag,{class:["v-btn-group",{"v-btn-group--divided":n.divided},C.value,k.value,D.value,m.value,t.value,n.class],style:n.style},r))}}),w0=ur({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),T0=ur({value:null,disabled:Boolean,selectedClass:String},"group-item");function k0(n,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const C=Es("useGroupItem");if(!C)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const D=Qs();rs(Symbol.for(`${e.description}:id`),D);const k=ka(e,null);if(!k){if(!r)return k;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${e.description}`)}const m=Cr(n,"value"),t=cn(()=>!!(k.disabled.value||n.disabled));k.register({id:D,value:m,disabled:t},C),kl(()=>{k.unregister(D)});const d=cn(()=>k.isSelected(D)),y=cn(()=>d.value&&[k.selectedClass.value,n.selectedClass]);return Yr(d,i=>{C.emit("group:selected",{value:i})}),{id:D,isSelected:d,toggle:()=>k.select(D,!d.value),select:i=>k.select(D,i),selectedClass:y,value:m,disabled:t,group:k}}function ip(n,e){let r=!1;const C=bl([]),D=xi(n,"modelValue",[],v=>v==null?[]:W6(C,bu(v)),v=>{const h=UB(C,v);return n.multiple?h:h[0]}),k=Es("useGroup");function m(v,h){const l=v,a=Symbol.for(`${e.description}:id`),s=ym(a,k==null?void 0:k.vnode).indexOf(h);s>-1?C.splice(s,0,l):C.push(l)}function t(v){if(r)return;d();const h=C.findIndex(l=>l.id===v);C.splice(h,1)}function d(){const v=C.find(h=>!h.disabled);v&&n.mandatory==="force"&&!D.value.length&&(D.value=[v.id])}Js(()=>{d()}),kl(()=>{r=!0});function y(v,h){const l=C.find(a=>a.id===v);if(!(h&&(l!=null&&l.disabled)))if(n.multiple){const a=D.value.slice(),u=a.findIndex(o=>o===v),s=~u;if(h=h??!s,s&&n.mandatory&&a.length<=1||!s&&n.max!=null&&a.length+1>n.max)return;u<0&&h?a.push(v):u>=0&&!h&&a.splice(u,1),D.value=a}else{const a=D.value.includes(v);if(n.mandatory&&a)return;D.value=h??!a?[v]:[]}}function i(v){if(n.multiple,D.value.length){const h=D.value[0],l=C.findIndex(s=>s.id===h);let a=(l+v)%C.length,u=C[a];for(;u.disabled&&a!==l;)a=(a+v)%C.length,u=C[a];if(u.disabled)return;D.value=[C[a].id]}else{const h=C.find(l=>!l.disabled);h&&(D.value=[h.id])}}const M={register:m,unregister:t,selected:D,select:y,disabled:Cr(n,"disabled"),prev:()=>i(C.length-1),next:()=>i(1),isSelected:v=>D.value.includes(v),selectedClass:cn(()=>n.selectedClass),items:cn(()=>C),getItemIndex:v=>jB(C,v)};return rs(e,M),M}function jB(n,e){const r=W6(n,[e]);return r.length?n.findIndex(C=>C.id===r[0]):-1}function W6(n,e){const r=[];return e.forEach(C=>{const D=n.find(m=>b0(C,m.value)),k=n[C];(D==null?void 0:D.value)!=null?r.push(D.id):k!=null&&r.push(k.id)}),r}function UB(n,e){const r=[];return e.forEach(C=>{const D=n.findIndex(k=>k.id===C);if(~D){const k=n[D];r.push(k.value!=null?k.value:D)}}),r}const f_=Symbol.for("vuetify:v-btn-toggle"),HB=ur({...q6(),...w0()},"VBtnToggle"),GB=Ar()({name:"VBtnToggle",props:HB(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{isSelected:C,next:D,prev:k,select:m,selected:t}=ip(n,f_);return Or(()=>{const[d]=bx.filterProps(n);return gt(bx,qr({class:["v-btn-toggle",n.class]},d,{style:n.style}),{default:()=>{var y;return[(y=r.default)==null?void 0:y.call(r,{isSelected:C,next:D,prev:k,select:m,selected:t})]}})}),{next:D,prev:k,select:m}}});const qB=["x-small","small","default","large","x-large"],ph=ur({size:{type:[String,Number],default:"default"}},"size");function M0(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hh();return X2(()=>{let r,C;return ly(qB,n.size)?r=`${e}--size-${n.size}`:n.size&&(C={width:Qr(n.size),height:Qr(n.size)}),{sizeClasses:r,sizeStyles:C}})}const WB=ur({color:String,start:Boolean,end:Boolean,icon:bi,...Zr(),...ph(),...Si({tag:"i"}),...oa()},"VIcon"),ja=Ar()({name:"VIcon",props:WB(),setup(n,e){let{attrs:r,slots:C}=e;const D=Vr(),{themeClasses:k}=Ma(n),{iconData:m}=OF(cn(()=>D.value||n.icon)),{sizeClasses:t}=M0(n),{textColorClasses:d,textColorStyles:y}=Ks(Cr(n,"color"));return Or(()=>{var M,v;const i=(M=C.default)==null?void 0:M.call(C);return i&&(D.value=(v=f6(i).filter(h=>h.type===Gm&&h.children&&typeof h.children=="string")[0])==null?void 0:v.children),gt(m.value.component,{tag:n.tag,icon:m.value.icon,class:["v-icon","notranslate",k.value,t.value,d.value,{"v-icon--clickable":!!r.onClick,"v-icon--start":n.start,"v-icon--end":n.end},n.class],style:[t.value?void 0:{fontSize:Qr(n.size),height:Qr(n.size),width:Qr(n.size)},y.value,n.style],role:r.onClick?"button":void 0,"aria-hidden":!r.onClick},{default:()=>[i]})}),{}}});function h_(n,e){const r=Vr(),C=Wr(!1);if(Y2){const D=new IntersectionObserver(k=>{n==null||n(k,D),C.value=!!k.find(m=>m.isIntersecting)},e);kl(()=>{D.disconnect()}),Yr(r,(k,m)=>{m&&(D.unobserve(m),C.value=!1),k&&D.observe(k)},{flush:"post"})}return{intersectionRef:r,isIntersecting:C}}const $B=ur({bgColor:String,color:String,indeterminate:[Boolean,String],modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...Zr(),...ph(),...Si({tag:"div"}),...oa()},"VProgressCircular"),d_=Ar()({name:"VProgressCircular",props:$B(),setup(n,e){let{slots:r}=e;const C=20,D=2*Math.PI*C,k=Vr(),{themeClasses:m}=Ma(n),{sizeClasses:t,sizeStyles:d}=M0(n),{textColorClasses:y,textColorStyles:i}=Ks(Cr(n,"color")),{textColorClasses:M,textColorStyles:v}=Ks(Cr(n,"bgColor")),{intersectionRef:h,isIntersecting:l}=h_(),{resizeRef:a,contentRect:u}=kf(),s=cn(()=>Math.max(0,Math.min(100,parseFloat(n.modelValue)))),o=cn(()=>Number(n.width)),c=cn(()=>d.value?Number(n.size):u.value?u.value.width:Math.max(o.value,32)),f=cn(()=>C/(1-o.value/c.value)*2),p=cn(()=>o.value/c.value*f.value),w=cn(()=>Qr((100-s.value)/100*D));return wu(()=>{h.value=k.value,a.value=k.value}),Or(()=>gt(n.tag,{ref:k,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!n.indeterminate,"v-progress-circular--visible":l.value,"v-progress-circular--disable-shrink":n.indeterminate==="disable-shrink"},m.value,t.value,y.value,n.class],style:[d.value,i.value,n.style],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":n.indeterminate?void 0:s.value},{default:()=>[gt("svg",{style:{transform:`rotate(calc(-90deg + ${Number(n.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${f.value} ${f.value}`},[gt("circle",{class:["v-progress-circular__underlay",M.value],style:v.value,fill:"transparent",cx:"50%",cy:"50%",r:C,"stroke-width":p.value,"stroke-dasharray":D,"stroke-dashoffset":0},null),gt("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:C,"stroke-width":p.value,"stroke-dasharray":D,"stroke-dashoffset":w.value},null)]),r.default&>("div",{class:"v-progress-circular__content"},[r.default({value:s.value})])]})),{}}});const K5={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},ed=ur({location:String},"location");function td(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=arguments.length>2?arguments[2]:void 0;const{isRtl:C}=Ls();return{locationStyles:cn(()=>{if(!n.location)return{};const{side:k,align:m}=lx(n.location.split(" ").length>1?n.location:`${n.location} center`,C.value);function t(y){return r?r(y):0}const d={};return k!=="center"&&(e?d[K5[k]]=`calc(100% - ${t(k)}px)`:d[k]=0),m!=="center"?e?d[K5[m]]=`calc(100% - ${t(m)}px)`:d[m]=0:(k==="center"?d.top=d.left="50%":d[{top:"left",bottom:"left",left:"top",right:"top"}[k]]="50%",d.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[k]),d})}}const YB=ur({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...Zr(),...ed({location:"top"}),...lo(),...Si(),...oa()},"VProgressLinear"),p_=Ar()({name:"VProgressLinear",props:YB(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const C=xi(n,"modelValue"),{isRtl:D,rtlClasses:k}=Ls(),{themeClasses:m}=Ma(n),{locationStyles:t}=td(n),{textColorClasses:d,textColorStyles:y}=Ks(n,"color"),{backgroundColorClasses:i,backgroundColorStyles:M}=Oo(cn(()=>n.bgColor||n.color)),{backgroundColorClasses:v,backgroundColorStyles:h}=Oo(n,"color"),{roundedClasses:l}=Eo(n),{intersectionRef:a,isIntersecting:u}=h_(),s=cn(()=>parseInt(n.max,10)),o=cn(()=>parseInt(n.height,10)),c=cn(()=>parseFloat(n.bufferValue)/s.value*100),f=cn(()=>parseFloat(C.value)/s.value*100),p=cn(()=>D.value!==n.reverse),w=cn(()=>n.indeterminate?"fade-transition":"slide-x-transition"),g=cn(()=>n.bgOpacity==null?n.bgOpacity:parseFloat(n.bgOpacity));function S(x){if(!a.value)return;const{left:T,right:E,width:_}=a.value.getBoundingClientRect(),A=p.value?_-x.clientX+(E-_):x.clientX-T;C.value=Math.round(A/_*s.value)}return Or(()=>gt(n.tag,{ref:a,class:["v-progress-linear",{"v-progress-linear--absolute":n.absolute,"v-progress-linear--active":n.active&&u.value,"v-progress-linear--reverse":p.value,"v-progress-linear--rounded":n.rounded,"v-progress-linear--rounded-bar":n.roundedBar,"v-progress-linear--striped":n.striped},l.value,m.value,k.value,n.class],style:[{bottom:n.location==="bottom"?0:void 0,top:n.location==="top"?0:void 0,height:n.active?Qr(o.value):0,"--v-progress-linear-height":Qr(o.value),...t.value},n.style],role:"progressbar","aria-hidden":n.active?"false":"true","aria-valuemin":"0","aria-valuemax":n.max,"aria-valuenow":n.indeterminate?void 0:f.value,onClick:n.clickable&&S},{default:()=>[n.stream&>("div",{key:"stream",class:["v-progress-linear__stream",d.value],style:{...y.value,[p.value?"left":"right"]:Qr(-o.value),borderTop:`${Qr(o.value/2)} dotted`,opacity:g.value,top:`calc(50% - ${Qr(o.value/4)})`,width:Qr(100-c.value,"%"),"--v-progress-linear-stream-to":Qr(o.value*(p.value?1:-1))}},null),gt("div",{class:["v-progress-linear__background",i.value],style:[M.value,{opacity:g.value,width:Qr(n.stream?c.value:100,"%")}]},null),gt(xf,{name:w.value},{default:()=>[n.indeterminate?gt("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(x=>gt("div",{key:x,class:["v-progress-linear__indeterminate",x,v.value],style:h.value},null))]):gt("div",{class:["v-progress-linear__determinate",v.value],style:[h.value,{width:Qr(f.value,"%")}]},null)]}),r.default&>("div",{class:"v-progress-linear__content"},[r.default({value:f.value,buffer:c.value})])]})),{}}}),m_=ur({loading:[Boolean,String]},"loader");function t1(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hh();return{loaderClasses:cn(()=>({[`${e}--loading`]:n.loading}))}}function g_(n,e){var C;let{slots:r}=e;return gt("div",{class:`${n.name}__loader`},[((C=r.default)==null?void 0:C.call(r,{color:n.color,isActive:n.active}))||gt(p_,{active:n.active,color:n.color,height:"2",indeterminate:!0},null)])}const ZB=["static","relative","fixed","absolute","sticky"],A0=ur({position:{type:String,validator:n=>ZB.includes(n)}},"position");function S0(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hh();return{positionClasses:cn(()=>n.position?`${e}--${n.position}`:void 0)}}function $6(){var n,e;return(e=(n=Es("useRouter"))==null?void 0:n.proxy)==null?void 0:e.$router}function sg(n,e){const r=vE("RouterLink"),C=cn(()=>!!(n.href||n.to)),D=cn(()=>(C==null?void 0:C.value)||T5(e,"click")||T5(n,"click"));if(typeof r=="string")return{isLink:C,isClickable:D,href:Cr(n,"href")};const k=n.to?r.useLink(n):void 0;return{isLink:C,isClickable:D,route:k==null?void 0:k.route,navigate:k==null?void 0:k.navigate,isActive:k&&cn(()=>{var m,t;return n.exact?(m=k.isExactActive)==null?void 0:m.value:(t=k.isActive)==null?void 0:t.value}),href:cn(()=>n.to?k==null?void 0:k.route.value.href:n.href)}}const lg=ur({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let bb=!1;function XB(n,e){let r=!1,C,D;to&&(Ua(()=>{window.addEventListener("popstate",k),C=n==null?void 0:n.beforeEach((m,t,d)=>{bb?r?e(d):d():setTimeout(()=>r?e(d):d()),bb=!0}),D=n==null?void 0:n.afterEach(()=>{bb=!1})}),Tl(()=>{window.removeEventListener("popstate",k),C==null||C(),D==null||D()}));function k(m){var t;(t=m.state)!=null&&t.replaced||(r=!0,setTimeout(()=>r=!1))}}function KB(n,e){Yr(()=>{var r;return(r=n.isActive)==null?void 0:r.value},r=>{n.isLink.value&&r&&e&&Ua(()=>{e(!0)})},{immediate:!0})}const xx=Symbol("rippleStop"),JB=80;function J5(n,e){n.style.transform=e,n.style.webkitTransform=e}function _x(n){return n.constructor.name==="TouchEvent"}function Y6(n){return n.constructor.name==="KeyboardEvent"}const QB=function(n,e){var M;let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},C=0,D=0;if(!Y6(n)){const v=e.getBoundingClientRect(),h=_x(n)?n.touches[n.touches.length-1]:n;C=h.clientX-v.left,D=h.clientY-v.top}let k=0,m=.3;(M=e._ripple)!=null&&M.circle?(m=.15,k=e.clientWidth/2,k=r.center?k:k+Math.sqrt((C-k)**2+(D-k)**2)/4):k=Math.sqrt(e.clientWidth**2+e.clientHeight**2)/2;const t=`${(e.clientWidth-k*2)/2}px`,d=`${(e.clientHeight-k*2)/2}px`,y=r.center?t:`${C-k}px`,i=r.center?d:`${D-k}px`;return{radius:k,scale:m,x:y,y:i,centerX:t,centerY:d}},dy={show(n,e){var h;let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((h=e==null?void 0:e._ripple)!=null&&h.enabled))return;const C=document.createElement("span"),D=document.createElement("span");C.appendChild(D),C.className="v-ripple__container",r.class&&(C.className+=` ${r.class}`);const{radius:k,scale:m,x:t,y:d,centerX:y,centerY:i}=QB(n,e,r),M=`${k*2}px`;D.className="v-ripple__animation",D.style.width=M,D.style.height=M,e.appendChild(C);const v=window.getComputedStyle(e);v&&v.position==="static"&&(e.style.position="relative",e.dataset.previousPosition="static"),D.classList.add("v-ripple__animation--enter"),D.classList.add("v-ripple__animation--visible"),J5(D,`translate(${t}, ${d}) scale3d(${m},${m},${m})`),D.dataset.activated=String(performance.now()),setTimeout(()=>{D.classList.remove("v-ripple__animation--enter"),D.classList.add("v-ripple__animation--in"),J5(D,`translate(${y}, ${i}) scale3d(1,1,1)`)},0)},hide(n){var k;if(!((k=n==null?void 0:n._ripple)!=null&&k.enabled))return;const e=n.getElementsByClassName("v-ripple__animation");if(e.length===0)return;const r=e[e.length-1];if(r.dataset.isHiding)return;r.dataset.isHiding="true";const C=performance.now()-Number(r.dataset.activated),D=Math.max(250-C,0);setTimeout(()=>{r.classList.remove("v-ripple__animation--in"),r.classList.add("v-ripple__animation--out"),setTimeout(()=>{var t;n.getElementsByClassName("v-ripple__animation").length===1&&n.dataset.previousPosition&&(n.style.position=n.dataset.previousPosition,delete n.dataset.previousPosition),((t=r.parentNode)==null?void 0:t.parentNode)===n&&n.removeChild(r.parentNode)},300)},D)}};function Z6(n){return typeof n>"u"||!!n}function Bm(n){const e={},r=n.currentTarget;if(!(!(r!=null&&r._ripple)||r._ripple.touched||n[xx])){if(n[xx]=!0,_x(n))r._ripple.touched=!0,r._ripple.isTouch=!0;else if(r._ripple.isTouch)return;if(e.center=r._ripple.centered||Y6(n),r._ripple.class&&(e.class=r._ripple.class),_x(n)){if(r._ripple.showTimerCommit)return;r._ripple.showTimerCommit=()=>{dy.show(n,r,e)},r._ripple.showTimer=window.setTimeout(()=>{var C;(C=r==null?void 0:r._ripple)!=null&&C.showTimerCommit&&(r._ripple.showTimerCommit(),r._ripple.showTimerCommit=null)},JB)}else dy.show(n,r,e)}}function Q5(n){n[xx]=!0}function vu(n){const e=n.currentTarget;if(e!=null&&e._ripple){if(window.clearTimeout(e._ripple.showTimer),n.type==="touchend"&&e._ripple.showTimerCommit){e._ripple.showTimerCommit(),e._ripple.showTimerCommit=null,e._ripple.showTimer=window.setTimeout(()=>{vu(n)});return}window.setTimeout(()=>{e._ripple&&(e._ripple.touched=!1)}),dy.hide(e)}}function X6(n){const e=n.currentTarget;e!=null&&e._ripple&&(e._ripple.showTimerCommit&&(e._ripple.showTimerCommit=null),window.clearTimeout(e._ripple.showTimer))}let Nm=!1;function K6(n){!Nm&&(n.keyCode===b5.enter||n.keyCode===b5.space)&&(Nm=!0,Bm(n))}function J6(n){Nm=!1,vu(n)}function Q6(n){Nm&&(Nm=!1,vu(n))}function eA(n,e,r){const{value:C,modifiers:D}=e,k=Z6(C);if(k||dy.hide(n),n._ripple=n._ripple??{},n._ripple.enabled=k,n._ripple.centered=D.center,n._ripple.circle=D.circle,ax(C)&&C.class&&(n._ripple.class=C.class),k&&!r){if(D.stop){n.addEventListener("touchstart",Q5,{passive:!0}),n.addEventListener("mousedown",Q5);return}n.addEventListener("touchstart",Bm,{passive:!0}),n.addEventListener("touchend",vu,{passive:!0}),n.addEventListener("touchmove",X6,{passive:!0}),n.addEventListener("touchcancel",vu),n.addEventListener("mousedown",Bm),n.addEventListener("mouseup",vu),n.addEventListener("mouseleave",vu),n.addEventListener("keydown",K6),n.addEventListener("keyup",J6),n.addEventListener("blur",Q6),n.addEventListener("dragstart",vu,{passive:!0})}else!k&&r&&tA(n)}function tA(n){n.removeEventListener("mousedown",Bm),n.removeEventListener("touchstart",Bm),n.removeEventListener("touchend",vu),n.removeEventListener("touchmove",X6),n.removeEventListener("touchcancel",vu),n.removeEventListener("mouseup",vu),n.removeEventListener("mouseleave",vu),n.removeEventListener("keydown",K6),n.removeEventListener("keyup",J6),n.removeEventListener("dragstart",vu),n.removeEventListener("blur",Q6)}function eN(n,e){eA(n,e,!1)}function tN(n){delete n._ripple,tA(n)}function nN(n,e){if(e.value===e.oldValue)return;const r=Z6(e.oldValue);eA(n,e,r)}const nd={mounted:eN,unmounted:tN,updated:nN},v_=ur({active:{type:Boolean,default:void 0},symbol:{type:null,default:f_},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:bi,appendIcon:bi,block:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:String,...Cu(),...Zr(),...ps(),...sc(),...ds(),...T0(),...m_(),...ed(),...A0(),...lo(),...lg(),...ph(),...Si({tag:"button"}),...oa(),...cc({variant:"elevated"})},"VBtn"),wl=Ar()({name:"VBtn",directives:{Ripple:nd},props:v_(),emits:{"group:selected":n=>!0},setup(n,e){let{attrs:r,slots:C}=e;const{themeClasses:D}=Ma(n),{borderClasses:k}=uc(n),{colorClasses:m,colorStyles:t,variantClasses:d}=rp(n),{densityClasses:y}=el(n),{dimensionStyles:i}=lc(n),{elevationClasses:M}=Vs(n),{loaderClasses:v}=t1(n),{locationStyles:h}=td(n),{positionClasses:l}=S0(n),{roundedClasses:a}=Eo(n),{sizeClasses:u,sizeStyles:s}=M0(n),o=k0(n,n.symbol,!1),c=sg(n,r),f=cn(()=>{var x;return n.active!==void 0?n.active:c.isLink.value?(x=c.isActive)==null?void 0:x.value:o==null?void 0:o.isSelected.value}),p=cn(()=>(o==null?void 0:o.disabled.value)||n.disabled),w=cn(()=>n.variant==="elevated"&&!(n.disabled||n.flat||n.border)),g=cn(()=>{if(n.value!==void 0)return Object(n.value)===n.value?JSON.stringify(n.value,null,0):n.value});function S(x){var T;p.value||c.isLink.value&&(x.metaKey||x.ctrlKey||x.shiftKey||x.button!==0||r.target==="_blank")||((T=c.navigate)==null||T.call(c,x),o==null||o.toggle())}return KB(c,o==null?void 0:o.select),Or(()=>{var L,b;const x=c.isLink.value?"a":n.tag,T=!!(n.prependIcon||C.prepend),E=!!(n.appendIcon||C.append),_=!!(n.icon&&n.icon!==!0),A=(o==null?void 0:o.isSelected.value)&&(!c.isLink.value||((L=c.isActive)==null?void 0:L.value))||!o||((b=c.isActive)==null?void 0:b.value);return Co(gt(x,{type:x==="a"?void 0:"button",class:["v-btn",o==null?void 0:o.selectedClass.value,{"v-btn--active":f.value,"v-btn--block":n.block,"v-btn--disabled":p.value,"v-btn--elevated":w.value,"v-btn--flat":n.flat,"v-btn--icon":!!n.icon,"v-btn--loading":n.loading,"v-btn--stacked":n.stacked},D.value,k.value,A?m.value:void 0,y.value,M.value,v.value,l.value,a.value,u.value,d.value,n.class],style:[A?t.value:void 0,i.value,h.value,s.value,n.style],disabled:p.value||void 0,href:c.href.value,onClick:S,value:g.value},{default:()=>{var R;return[np(!0,"v-btn"),!n.icon&&T&>("span",{key:"prepend",class:"v-btn__prepend"},[C.prepend?gt(Fa,{key:"prepend-defaults",disabled:!n.prependIcon,defaults:{VIcon:{icon:n.prependIcon}}},C.prepend):gt(ja,{key:"prepend-icon",icon:n.prependIcon},null)]),gt("span",{class:"v-btn__content","data-no-activator":""},[!C.default&&_?gt(ja,{key:"content-icon",icon:n.icon},null):gt(Fa,{key:"content-defaults",disabled:!_,defaults:{VIcon:{icon:n.icon}}},{default:()=>{var I;return[((I=C.default)==null?void 0:I.call(C))??n.text]}})]),!n.icon&&E&>("span",{key:"append",class:"v-btn__append"},[C.append?gt(Fa,{key:"append-defaults",disabled:!n.appendIcon,defaults:{VIcon:{icon:n.appendIcon}}},C.append):gt(ja,{key:"append-icon",icon:n.appendIcon},null)]),!!n.loading&>("span",{key:"loader",class:"v-btn__loader"},[((R=C.loader)==null?void 0:R.call(C))??gt(d_,{color:typeof n.loading=="boolean"?void 0:n.loading,indeterminate:!0,size:"23",width:"2"},null)])]}}),[[Tu("ripple"),!p.value&&n.ripple,null]])}),{}}}),rN=ur({...v_({icon:"$menu",variant:"text"})},"VAppBarNavIcon"),iN=Ar()({name:"VAppBarNavIcon",props:rN(),setup(n,e){let{slots:r}=e;return Or(()=>gt(wl,qr(n,{class:["v-app-bar-nav-icon"]}),r)),{}}}),aN=Ar()({name:"VAppBarTitle",props:B6(),setup(n,e){let{slots:r}=e;return Or(()=>gt(o_,qr(n,{class:"v-app-bar-title"}),r)),{}}});const nA=Nc("v-alert-title"),oN=["success","info","warning","error"],sN=ur({border:{type:[Boolean,String],validator:n=>typeof n=="boolean"||["top","end","bottom","start"].includes(n)},borderColor:String,closable:Boolean,closeIcon:{type:bi,default:"$close"},closeLabel:{type:String,default:"$vuetify.close"},icon:{type:[Boolean,String,Function,Object],default:null},modelValue:{type:Boolean,default:!0},prominent:Boolean,title:String,text:String,type:{type:String,validator:n=>oN.includes(n)},...Zr(),...ps(),...sc(),...ds(),...ed(),...A0(),...lo(),...Si(),...oa(),...cc({variant:"flat"})},"VAlert"),lN=Ar()({name:"VAlert",props:sN(),emits:{"click:close":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{emit:r,slots:C}=e;const D=xi(n,"modelValue"),k=cn(()=>{if(n.icon!==!1)return n.type?n.icon??`$${n.type}`:n.icon}),m=cn(()=>({color:n.color??n.type,variant:n.variant})),{themeClasses:t}=Ma(n),{colorClasses:d,colorStyles:y,variantClasses:i}=rp(m),{densityClasses:M}=el(n),{dimensionStyles:v}=lc(n),{elevationClasses:h}=Vs(n),{locationStyles:l}=td(n),{positionClasses:a}=S0(n),{roundedClasses:u}=Eo(n),{textColorClasses:s,textColorStyles:o}=Ks(Cr(n,"borderColor")),{t:c}=oc(),f=cn(()=>({"aria-label":c(n.closeLabel),onClick(p){D.value=!1,r("click:close",p)}}));return()=>{const p=!!(C.prepend||k.value),w=!!(C.title||n.title),g=!!(C.close||n.closable);return D.value&>(n.tag,{class:["v-alert",n.border&&{"v-alert--border":!!n.border,[`v-alert--border-${n.border===!0?"start":n.border}`]:!0},{"v-alert--prominent":n.prominent},t.value,d.value,M.value,h.value,a.value,u.value,i.value,n.class],style:[y.value,v.value,l.value,n.style],role:"alert"},{default:()=>{var S,x;return[np(!1,"v-alert"),n.border&>("div",{key:"border",class:["v-alert__border",s.value],style:o.value},null),p&>("div",{key:"prepend",class:"v-alert__prepend"},[C.prepend?gt(Fa,{key:"prepend-defaults",disabled:!k.value,defaults:{VIcon:{density:n.density,icon:k.value,size:n.prominent?44:28}}},C.prepend):gt(ja,{key:"prepend-icon",density:n.density,icon:k.value,size:n.prominent?44:28},null)]),gt("div",{class:"v-alert__content"},[w&>(nA,{key:"title"},{default:()=>{var T;return[((T=C.title)==null?void 0:T.call(C))??n.title]}}),((S=C.text)==null?void 0:S.call(C))??n.text,(x=C.default)==null?void 0:x.call(C)]),C.append&>("div",{key:"append",class:"v-alert__append"},[C.append()]),g&>("div",{key:"close",class:"v-alert__close"},[C.close?gt(Fa,{key:"close-defaults",defaults:{VBtn:{icon:n.closeIcon,size:"x-small",variant:"text"}}},{default:()=>{var T;return[(T=C.close)==null?void 0:T.call(C,{props:f.value})]}}):gt(wl,qr({key:"close-btn",icon:n.closeIcon,size:"x-small",variant:"text"},f.value),null)])]}})}}});const uN=ur({text:String,clickable:Boolean,...Zr(),...oa()},"VLabel"),C0=Ar()({name:"VLabel",props:uN(),setup(n,e){let{slots:r}=e;return Or(()=>{var C;return gt("label",{class:["v-label",{"v-label--clickable":n.clickable},n.class],style:n.style},[n.text,(C=r.default)==null?void 0:C.call(r)])}),{}}});const rA=Symbol.for("vuetify:selection-control-group"),y_=ur({color:String,disabled:{type:Boolean,default:null},defaultsTarget:String,error:Boolean,id:String,inline:Boolean,falseIcon:bi,trueIcon:bi,ripple:{type:Boolean,default:!0},multiple:{type:Boolean,default:null},name:String,readonly:Boolean,modelValue:null,type:String,valueComparator:{type:Function,default:b0},...Zr(),...ps(),...oa()},"SelectionControlGroup"),cN=ur({...y_({defaultsTarget:"VSelectionControl"})},"VSelectionControlGroup"),iA=Ar()({name:"VSelectionControlGroup",props:cN(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const C=xi(n,"modelValue"),D=Qs(),k=cn(()=>n.id||`v-selection-control-group-${D}`),m=cn(()=>n.name||k.value),t=new Set;return rs(rA,{modelValue:C,forceUpdate:()=>{t.forEach(d=>d())},onForceUpdate:d=>{t.add(d),Tl(()=>{t.delete(d)})}}),ns({[n.defaultsTarget]:{color:Cr(n,"color"),disabled:Cr(n,"disabled"),density:Cr(n,"density"),error:Cr(n,"error"),inline:Cr(n,"inline"),modelValue:C,multiple:cn(()=>!!n.multiple||n.multiple==null&&Array.isArray(C.value)),name:m,falseIcon:Cr(n,"falseIcon"),trueIcon:Cr(n,"trueIcon"),readonly:Cr(n,"readonly"),ripple:Cr(n,"ripple"),type:Cr(n,"type"),valueComparator:Cr(n,"valueComparator")}}),Or(()=>{var d;return gt("div",{class:["v-selection-control-group",{"v-selection-control-group--inline":n.inline},n.class],style:n.style,role:n.type==="radio"?"radiogroup":void 0},[(d=r.default)==null?void 0:d.call(r)])}),{}}}),n1=ur({label:String,trueValue:null,falseValue:null,value:null,...Zr(),...y_()},"VSelectionControl");function fN(n){const e=ka(rA,void 0),{densityClasses:r}=el(n),C=xi(n,"modelValue"),D=cn(()=>n.trueValue!==void 0?n.trueValue:n.value!==void 0?n.value:!0),k=cn(()=>n.falseValue!==void 0?n.falseValue:!1),m=cn(()=>!!n.multiple||n.multiple==null&&Array.isArray(C.value)),t=cn({get(){const h=e?e.modelValue.value:C.value;return m.value?h.some(l=>n.valueComparator(l,D.value)):n.valueComparator(h,D.value)},set(h){if(n.readonly)return;const l=h?D.value:k.value;let a=l;m.value&&(a=h?[...bu(C.value),l]:bu(C.value).filter(u=>!n.valueComparator(u,D.value))),e?e.modelValue.value=a:C.value=a}}),{textColorClasses:d,textColorStyles:y}=Ks(cn(()=>t.value&&!n.error&&!n.disabled?n.color:void 0)),{backgroundColorClasses:i,backgroundColorStyles:M}=Oo(cn(()=>t.value&&!n.error&&!n.disabled?n.color:void 0)),v=cn(()=>t.value?n.trueIcon:n.falseIcon);return{group:e,densityClasses:r,trueValue:D,falseValue:k,model:t,textColorClasses:d,textColorStyles:y,backgroundColorClasses:i,backgroundColorStyles:M,icon:v}}const Xd=Ar()({name:"VSelectionControl",directives:{Ripple:nd},inheritAttrs:!1,props:n1(),emits:{"update:modelValue":n=>!0},setup(n,e){let{attrs:r,slots:C}=e;const{group:D,densityClasses:k,icon:m,model:t,textColorClasses:d,textColorStyles:y,backgroundColorClasses:i,backgroundColorStyles:M,trueValue:v}=fN(n),h=Qs(),l=cn(()=>n.id||`input-${h}`),a=Wr(!1),u=Wr(!1),s=Vr();D==null||D.onForceUpdate(()=>{s.value&&(s.value.checked=t.value)});function o(p){a.value=!0,l0(p.target,":focus-visible")!==!1&&(u.value=!0)}function c(){a.value=!1,u.value=!1}function f(p){n.readonly&&D&&Ua(()=>D.forceUpdate()),t.value=p.target.checked}return Or(()=>{var x,T;const p=C.label?C.label({label:n.label,props:{for:l.value}}):n.label,[w,g]=Qd(r),S=gt("input",qr({ref:s,checked:t.value,disabled:!!(n.readonly||n.disabled),id:l.value,onBlur:c,onFocus:o,onInput:f,"aria-disabled":!!(n.readonly||n.disabled),type:n.type,value:v.value,name:n.name,"aria-checked":n.type==="checkbox"?t.value:void 0},g),null);return gt("div",qr({class:["v-selection-control",{"v-selection-control--dirty":t.value,"v-selection-control--disabled":n.disabled,"v-selection-control--error":n.error,"v-selection-control--focused":a.value,"v-selection-control--focus-visible":u.value,"v-selection-control--inline":n.inline},k.value,n.class]},w,{style:n.style}),[gt("div",{class:["v-selection-control__wrapper",d.value],style:y.value},[(x=C.default)==null?void 0:x.call(C,{backgroundColorClasses:i,backgroundColorStyles:M}),Co(gt("div",{class:["v-selection-control__input"]},[((T=C.input)==null?void 0:T.call(C,{model:t,textColorClasses:d,textColorStyles:y,backgroundColorClasses:i,backgroundColorStyles:M,inputNode:S,icon:m.value,props:{onFocus:o,onBlur:c,id:l.value}}))??gt($r,null,[m.value&>(ja,{key:"icon",icon:m.value},null),S])]),[[Tu("ripple"),n.ripple&&[!n.disabled&&!n.readonly,null,["center","circle"]]]])]),p&>(C0,{for:l.value,clickable:!0,onClick:E=>E.stopPropagation()},{default:()=>[p]})])}),{isFocused:a,input:s}}}),aA=ur({indeterminate:Boolean,indeterminateIcon:{type:bi,default:"$checkboxIndeterminate"},...n1({falseIcon:"$checkboxOff",trueIcon:"$checkboxOn"})},"VCheckboxBtn"),f0=Ar()({name:"VCheckboxBtn",props:aA(),emits:{"update:modelValue":n=>!0,"update:indeterminate":n=>!0},setup(n,e){let{slots:r}=e;const C=xi(n,"indeterminate"),D=xi(n,"modelValue");function k(d){C.value&&(C.value=!1)}const m=cn(()=>C.value?n.indeterminateIcon:n.falseIcon),t=cn(()=>C.value?n.indeterminateIcon:n.trueIcon);return Or(()=>{const d=ic(Xd.filterProps(n)[0],["modelValue"]);return gt(Xd,qr(d,{modelValue:D.value,"onUpdate:modelValue":[y=>D.value=y,k],class:["v-checkbox-btn",n.class],style:n.style,type:"checkbox",falseIcon:m.value,trueIcon:t.value,"aria-checked":C.value?"mixed":void 0}),r)}),{}}});function oA(n){const{t:e}=oc();function r(C){let{name:D}=C;const k={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[D],m=n[`onClick:${D}`],t=m&&k?e(`$vuetify.input.${k}`,n.label??""):void 0;return gt(ja,{icon:n[`${D}Icon`],"aria-label":t,onClick:m},null)}return{InputIcon:r}}const hN=ur({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...Zr(),...dh({transition:{component:l_,leaveAbsolute:!0,group:!0}})},"VMessages"),sA=Ar()({name:"VMessages",props:hN(),setup(n,e){let{slots:r}=e;const C=cn(()=>bu(n.messages)),{textColorClasses:D,textColorStyles:k}=Ks(cn(()=>n.color));return Or(()=>gt(Oc,{transition:n.transition,tag:"div",class:["v-messages",D.value,n.class],style:[k.value,n.style],role:"alert","aria-live":"polite"},{default:()=>[n.active&&C.value.map((m,t)=>gt("div",{class:"v-messages__message",key:`${t}-${C.value}`},[r.message?r.message({message:m}):m]))]})),{}}}),r1=ur({focused:Boolean,"onUpdate:focused":bf()},"focus");function rd(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hh();const r=xi(n,"focused"),C=cn(()=>({[`${e}--focused`]:r.value}));function D(){r.value=!0}function k(){r.value=!1}return{focusClasses:C,isFocused:r,focus:D,blur:k}}const lA=Symbol.for("vuetify:form"),dN=ur({disabled:Boolean,fastFail:Boolean,readonly:Boolean,modelValue:{type:Boolean,default:null},validateOn:{type:String,default:"input"}},"form");function pN(n){const e=xi(n,"modelValue"),r=cn(()=>n.disabled),C=cn(()=>n.readonly),D=Wr(!1),k=Vr([]),m=Vr([]);async function t(){const i=[];let M=!0;m.value=[],D.value=!0;for(const v of k.value){const h=await v.validate();if(h.length>0&&(M=!1,i.push({id:v.id,errorMessages:h})),!M&&n.fastFail)break}return m.value=i,D.value=!1,{valid:M,errors:m.value}}function d(){k.value.forEach(i=>i.reset())}function y(){k.value.forEach(i=>i.resetValidation())}return Yr(k,()=>{let i=0,M=0;const v=[];for(const h of k.value)h.isValid===!1?(M++,v.push({id:h.id,errorMessages:h.errorMessages})):h.isValid===!0&&i++;m.value=v,e.value=M>0?!1:i===k.value.length?!0:null},{deep:!0}),rs(lA,{register:i=>{let{id:M,validate:v,reset:h,resetValidation:l}=i;k.value.some(a=>a.id===M),k.value.push({id:M,validate:v,reset:h,resetValidation:l,isValid:null,errorMessages:[]})},unregister:i=>{k.value=k.value.filter(M=>M.id!==i)},update:(i,M,v)=>{const h=k.value.find(l=>l.id===i);h&&(h.isValid=M,h.errorMessages=v)},isDisabled:r,isReadonly:C,isValidating:D,isValid:e,items:k,validateOn:Cr(n,"validateOn")}),{errors:m,isDisabled:r,isReadonly:C,isValidating:D,isValid:e,items:k,validate:t,reset:d,resetValidation:y}}function i1(){return ka(lA,null)}const uA=ur({disabled:{type:Boolean,default:null},error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,label:String,readonly:{type:Boolean,default:null},rules:{type:Array,default:()=>[]},modelValue:null,validateOn:String,validationValue:null,...r1()},"validation");function cA(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hh(),r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Qs();const C=xi(n,"modelValue"),D=cn(()=>n.validationValue===void 0?C.value:n.validationValue),k=i1(),m=Vr([]),t=Wr(!0),d=cn(()=>!!(bu(C.value===""?null:C.value).length||bu(D.value===""?null:D.value).length)),y=cn(()=>!!(n.disabled??(k==null?void 0:k.isDisabled.value))),i=cn(()=>!!(n.readonly??(k==null?void 0:k.isReadonly.value))),M=cn(()=>n.errorMessages.length?bu(n.errorMessages).slice(0,Math.max(0,+n.maxErrors)):m.value),v=cn(()=>{let f=(n.validateOn??(k==null?void 0:k.validateOn.value))||"input";f==="lazy"&&(f="input lazy");const p=new Set((f==null?void 0:f.split(" "))??[]);return{blur:p.has("blur")||p.has("input"),input:p.has("input"),submit:p.has("submit"),lazy:p.has("lazy")}}),h=cn(()=>n.error||n.errorMessages.length?!1:n.rules.length?t.value?m.value.length||v.value.lazy?null:!0:!m.value.length:!0),l=Wr(!1),a=cn(()=>({[`${e}--error`]:h.value===!1,[`${e}--dirty`]:d.value,[`${e}--disabled`]:y.value,[`${e}--readonly`]:i.value})),u=cn(()=>n.name??yu(r));Sy(()=>{k==null||k.register({id:u.value,validate:c,reset:s,resetValidation:o})}),kl(()=>{k==null||k.unregister(u.value)}),Js(async()=>{v.value.lazy||await c(!0),k==null||k.update(u.value,h.value,M.value)}),Yh(()=>v.value.input,()=>{Yr(D,()=>{if(D.value!=null)c();else if(n.focused){const f=Yr(()=>n.focused,p=>{p||c(),f()})}})}),Yh(()=>v.value.blur,()=>{Yr(()=>n.focused,f=>{f||c()})}),Yr(h,()=>{k==null||k.update(u.value,h.value,M.value)});function s(){C.value=null,Ua(o)}function o(){t.value=!0,v.value.lazy?m.value=[]:c(!0)}async function c(){let f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const p=[];l.value=!0;for(const w of n.rules){if(p.length>=+(n.maxErrors??1))break;const S=await(typeof w=="function"?w:()=>w)(D.value);if(S!==!0){if(S!==!1&&typeof S!="string"){console.warn(`${S} is not a valid value. Rule functions must return boolean true or a string.`);continue}p.push(S||"")}}return m.value=p,l.value=!1,t.value=f,m.value}return{errorMessages:M,isDirty:d,isDisabled:y,isReadonly:i,isPristine:t,isValid:h,isValidating:l,reset:s,resetValidation:o,validate:c,validationClasses:a}}const mh=ur({id:String,appendIcon:bi,centerAffix:{type:Boolean,default:!0},prependIcon:bi,hideDetails:[Boolean,String],hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:n=>["horizontal","vertical"].includes(n)},"onClick:prepend":bf(),"onClick:append":bf(),...Zr(),...ps(),...uA()},"VInput"),Ns=Ar()({name:"VInput",props:{...mh()},emits:{"update:modelValue":n=>!0},setup(n,e){let{attrs:r,slots:C,emit:D}=e;const{densityClasses:k}=el(n),{rtlClasses:m}=Ls(),{InputIcon:t}=oA(n),d=Qs(),y=cn(()=>n.id||`input-${d}`),i=cn(()=>`${y.value}-messages`),{errorMessages:M,isDirty:v,isDisabled:h,isReadonly:l,isPristine:a,isValid:u,isValidating:s,reset:o,resetValidation:c,validate:f,validationClasses:p}=cA(n,"v-input",y),w=cn(()=>({id:y,messagesId:i,isDirty:v,isDisabled:h,isReadonly:l,isPristine:a,isValid:u,isValidating:s,reset:o,resetValidation:c,validate:f})),g=cn(()=>{var S;return(S=n.errorMessages)!=null&&S.length||!a.value&&M.value.length?M.value:n.hint&&(n.persistentHint||n.focused)?n.hint:n.messages});return Or(()=>{var _,A,L,b;const S=!!(C.prepend||n.prependIcon),x=!!(C.append||n.appendIcon),T=g.value.length>0,E=!n.hideDetails||n.hideDetails==="auto"&&(T||!!C.details);return gt("div",{class:["v-input",`v-input--${n.direction}`,{"v-input--center-affix":n.centerAffix},k.value,m.value,p.value,n.class],style:n.style},[S&>("div",{key:"prepend",class:"v-input__prepend"},[(_=C.prepend)==null?void 0:_.call(C,w.value),n.prependIcon&>(t,{key:"prepend-icon",name:"prepend"},null)]),C.default&>("div",{class:"v-input__control"},[(A=C.default)==null?void 0:A.call(C,w.value)]),x&>("div",{key:"append",class:"v-input__append"},[n.appendIcon&>(t,{key:"append-icon",name:"append"},null),(L=C.append)==null?void 0:L.call(C,w.value)]),E&>("div",{class:"v-input__details"},[gt(sA,{id:i.value,active:T,messages:g.value},{message:C.message}),(b=C.details)==null?void 0:b.call(C,w.value)])])}),{reset:o,resetValidation:c,validate:f}}}),mN=ur({...mh(),...ic(aA(),["inline"])},"VCheckbox"),gN=Ar()({name:"VCheckbox",inheritAttrs:!1,props:mN(),emits:{"update:modelValue":n=>!0,"update:focused":n=>!0},setup(n,e){let{attrs:r,slots:C}=e;const D=xi(n,"modelValue"),{isFocused:k,focus:m,blur:t}=rd(n),d=Qs(),y=cn(()=>n.id||`checkbox-${d}`);return Or(()=>{const[i,M]=Qd(r),[v,h]=Ns.filterProps(n),[l,a]=f0.filterProps(n);return gt(Ns,qr({class:["v-checkbox",n.class]},i,v,{modelValue:D.value,"onUpdate:modelValue":u=>D.value=u,id:y.value,focused:k.value,style:n.style}),{...C,default:u=>{let{id:s,messagesId:o,isDisabled:c,isReadonly:f}=u;return gt(f0,qr(l,{id:s.value,"aria-describedby":o.value,disabled:c.value,readonly:f.value},M,{modelValue:D.value,"onUpdate:modelValue":p=>D.value=p,onFocus:m,onBlur:t}),C)}})}),{}}});const vN=ur({start:Boolean,end:Boolean,icon:bi,image:String,...Zr(),...ps(),...lo(),...ph(),...Si(),...oa(),...cc({variant:"flat"})},"VAvatar"),Zh=Ar()({name:"VAvatar",props:vN(),setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{colorClasses:D,colorStyles:k,variantClasses:m}=rp(n),{densityClasses:t}=el(n),{roundedClasses:d}=Eo(n),{sizeClasses:y,sizeStyles:i}=M0(n);return Or(()=>gt(n.tag,{class:["v-avatar",{"v-avatar--start":n.start,"v-avatar--end":n.end},C.value,D.value,t.value,d.value,y.value,m.value,n.class],style:[k.value,i.value,n.style]},{default:()=>{var M;return[n.image?gt(Zd,{key:"image",src:n.image,alt:"",cover:!0},null):n.icon?gt(ja,{key:"icon",icon:n.icon},null):(M=r.default)==null?void 0:M.call(r),np(!1,"v-avatar")]}})),{}}});const fA=Symbol.for("vuetify:v-chip-group"),yN=ur({column:Boolean,filter:Boolean,valueComparator:{type:Function,default:b0},...Zr(),...w0({selectedClass:"v-chip--selected"}),...Si(),...oa(),...cc({variant:"tonal"})},"VChipGroup"),bN=Ar()({name:"VChipGroup",props:yN(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{isSelected:D,select:k,next:m,prev:t,selected:d}=ip(n,fA);return ns({VChip:{color:Cr(n,"color"),disabled:Cr(n,"disabled"),filter:Cr(n,"filter"),variant:Cr(n,"variant")}}),Or(()=>gt(n.tag,{class:["v-chip-group",{"v-chip-group--column":n.column},C.value,n.class],style:n.style},{default:()=>{var y;return[(y=r.default)==null?void 0:y.call(r,{isSelected:D,select:k,next:m,prev:t,selected:d.value})]}})),{}}}),xN=ur({activeClass:String,appendAvatar:String,appendIcon:bi,closable:Boolean,closeIcon:{type:bi,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:{type:Boolean,default:void 0},pill:Boolean,prependAvatar:String,prependIcon:bi,ripple:{type:[Boolean,Object],default:!0},text:String,modelValue:{type:Boolean,default:!0},onClick:bf(),onClickOnce:bf(),...Cu(),...Zr(),...ps(),...ds(),...T0(),...lo(),...lg(),...ph(),...Si({tag:"span"}),...oa(),...cc({variant:"tonal"})},"VChip"),ug=Ar()({name:"VChip",directives:{Ripple:nd},props:xN(),emits:{"click:close":n=>!0,"update:modelValue":n=>!0,"group:selected":n=>!0,click:n=>!0},setup(n,e){let{attrs:r,emit:C,slots:D}=e;const{t:k}=oc(),{borderClasses:m}=uc(n),{colorClasses:t,colorStyles:d,variantClasses:y}=rp(n),{densityClasses:i}=el(n),{elevationClasses:M}=Vs(n),{roundedClasses:v}=Eo(n),{sizeClasses:h}=M0(n),{themeClasses:l}=Ma(n),a=xi(n,"modelValue"),u=k0(n,fA,!1),s=sg(n,r),o=cn(()=>n.link!==!1&&s.isLink.value),c=cn(()=>!n.disabled&&n.link!==!1&&(!!u||n.link||s.isClickable.value)),f=cn(()=>({"aria-label":k(n.closeLabel),onClick(g){g.stopPropagation(),a.value=!1,C("click:close",g)}}));function p(g){var S;C("click",g),c.value&&((S=s.navigate)==null||S.call(s,g),u==null||u.toggle())}function w(g){(g.key==="Enter"||g.key===" ")&&(g.preventDefault(),p(g))}return()=>{const g=s.isLink.value?"a":n.tag,S=!!(n.appendIcon||n.appendAvatar),x=!!(S||D.append),T=!!(D.close||n.closable),E=!!(D.filter||n.filter)&&u,_=!!(n.prependIcon||n.prependAvatar),A=!!(_||D.prepend),L=!u||u.isSelected.value;return a.value&&Co(gt(g,{class:["v-chip",{"v-chip--disabled":n.disabled,"v-chip--label":n.label,"v-chip--link":c.value,"v-chip--filter":E,"v-chip--pill":n.pill},l.value,m.value,L?t.value:void 0,i.value,M.value,v.value,h.value,y.value,u==null?void 0:u.selectedClass.value,n.class],style:[L?d.value:void 0,n.style],disabled:n.disabled||void 0,draggable:n.draggable,href:s.href.value,tabindex:c.value?0:void 0,onClick:p,onKeydown:c.value&&!o.value&&w},{default:()=>{var b;return[np(c.value,"v-chip"),E&>(u_,{key:"filter"},{default:()=>[Co(gt("div",{class:"v-chip__filter"},[D.filter?gt(Fa,{key:"filter-defaults",disabled:!n.filterIcon,defaults:{VIcon:{icon:n.filterIcon}}},D.filter):gt(ja,{key:"filter-icon",icon:n.filterIcon},null)]),[[Mf,u.isSelected.value]])]}),A&>("div",{key:"prepend",class:"v-chip__prepend"},[D.prepend?gt(Fa,{key:"prepend-defaults",disabled:!_,defaults:{VAvatar:{image:n.prependAvatar,start:!0},VIcon:{icon:n.prependIcon,start:!0}}},D.prepend):gt($r,null,[n.prependIcon&>(ja,{key:"prepend-icon",icon:n.prependIcon,start:!0},null),n.prependAvatar&>(Zh,{key:"prepend-avatar",image:n.prependAvatar,start:!0},null)])]),gt("div",{class:"v-chip__content"},[((b=D.default)==null?void 0:b.call(D,{isSelected:u==null?void 0:u.isSelected.value,selectedClass:u==null?void 0:u.selectedClass.value,select:u==null?void 0:u.select,toggle:u==null?void 0:u.toggle,value:u==null?void 0:u.value.value,disabled:n.disabled}))??n.text]),x&>("div",{key:"append",class:"v-chip__append"},[D.append?gt(Fa,{key:"append-defaults",disabled:!S,defaults:{VAvatar:{end:!0,image:n.appendAvatar},VIcon:{end:!0,icon:n.appendIcon}}},D.append):gt($r,null,[n.appendIcon&>(ja,{key:"append-icon",end:!0,icon:n.appendIcon},null),n.appendAvatar&>(Zh,{key:"append-avatar",end:!0,image:n.appendAvatar},null)])]),T&>("div",qr({key:"close",class:"v-chip__close"},f.value),[D.close?gt(Fa,{key:"close-defaults",defaults:{VIcon:{icon:n.closeIcon,size:"x-small"}}},D.close):gt(ja,{key:"close-icon",icon:n.closeIcon,size:"x-small"},null)])]}}),[[Tu("ripple"),c.value&&n.ripple,null]])}}});const wx=Symbol.for("vuetify:list");function hA(){const n=ka(wx,{hasPrepend:Wr(!1),updateHasPrepend:()=>null}),e={hasPrepend:Wr(!1),updateHasPrepend:r=>{r&&(e.hasPrepend.value=r)}};return rs(wx,e),n}function dA(){return ka(wx,null)}const _N={open:n=>{let{id:e,value:r,opened:C,parents:D}=n;if(r){const k=new Set;k.add(e);let m=D.get(e);for(;m!=null;)k.add(m),m=D.get(m);return k}else return C.delete(e),C},select:()=>null},pA={open:n=>{let{id:e,value:r,opened:C,parents:D}=n;if(r){let k=D.get(e);for(C.add(e);k!=null&&k!==e;)C.add(k),k=D.get(k);return C}else C.delete(e);return C},select:()=>null},wN={open:pA.open,select:n=>{let{id:e,value:r,opened:C,parents:D}=n;if(!r)return C;const k=[];let m=D.get(e);for(;m!=null;)k.push(m),m=D.get(m);return new Set(k)}},b_=n=>{const e={select:r=>{let{id:C,value:D,selected:k}=r;if(C=wi(C),n&&!D){const m=Array.from(k.entries()).reduce((t,d)=>{let[y,i]=d;return i==="on"?[...t,y]:t},[]);if(m.length===1&&m[0]===C)return k}return k.set(C,D?"on":"off"),k},in:(r,C,D)=>{let k=new Map;for(const m of r||[])k=e.select({id:m,value:!0,selected:new Map(k),children:C,parents:D});return k},out:r=>{const C=[];for(const[D,k]of r.entries())k==="on"&&C.push(D);return C}};return e},mA=n=>{const e=b_(n);return{select:C=>{let{selected:D,id:k,...m}=C;k=wi(k);const t=D.has(k)?new Map([[k,D.get(k)]]):new Map;return e.select({...m,id:k,selected:t})},in:(C,D,k)=>{let m=new Map;return C!=null&&C.length&&(m=e.in(C.slice(0,1),D,k)),m},out:(C,D,k)=>e.out(C,D,k)}},TN=n=>{const e=b_(n);return{select:C=>{let{id:D,selected:k,children:m,...t}=C;return D=wi(D),m.has(D)?k:e.select({id:D,selected:k,children:m,...t})},in:e.in,out:e.out}},kN=n=>{const e=mA(n);return{select:C=>{let{id:D,selected:k,children:m,...t}=C;return D=wi(D),m.has(D)?k:e.select({id:D,selected:k,children:m,...t})},in:e.in,out:e.out}},MN=n=>{const e={select:r=>{let{id:C,value:D,selected:k,children:m,parents:t}=r;C=wi(C);const d=new Map(k),y=[C];for(;y.length;){const M=y.shift();k.set(M,D?"on":"off"),m.has(M)&&y.push(...m.get(M))}let i=t.get(C);for(;i;){const M=m.get(i),v=M.every(l=>k.get(l)==="on"),h=M.every(l=>!k.has(l)||k.get(l)==="off");k.set(i,v?"on":h?"off":"indeterminate"),i=t.get(i)}return n&&!D&&Array.from(k.entries()).reduce((v,h)=>{let[l,a]=h;return a==="on"?[...v,l]:v},[]).length===0?d:k},in:(r,C,D)=>{let k=new Map;for(const m of r||[])k=e.select({id:m,value:!0,selected:new Map(k),children:C,parents:D});return k},out:(r,C)=>{const D=[];for(const[k,m]of r.entries())m==="on"&&!C.has(k)&&D.push(k);return D}};return e},Vm=Symbol.for("vuetify:nested"),gA={id:Wr(),root:{register:()=>null,unregister:()=>null,parents:Vr(new Map),children:Vr(new Map),open:()=>null,openOnSelect:()=>null,select:()=>null,opened:Vr(new Set),selected:Vr(new Map),selectedValues:Vr([])}},AN=ur({selectStrategy:[String,Function],openStrategy:[String,Object],opened:Array,selected:Array,mandatory:Boolean},"nested"),SN=n=>{let e=!1;const r=Vr(new Map),C=Vr(new Map),D=xi(n,"opened",n.opened,M=>new Set(M),M=>[...M.values()]),k=cn(()=>{if(typeof n.selectStrategy=="object")return n.selectStrategy;switch(n.selectStrategy){case"single-leaf":return kN(n.mandatory);case"leaf":return TN(n.mandatory);case"independent":return b_(n.mandatory);case"single-independent":return mA(n.mandatory);case"classic":default:return MN(n.mandatory)}}),m=cn(()=>{if(typeof n.openStrategy=="object")return n.openStrategy;switch(n.openStrategy){case"list":return wN;case"single":return _N;case"multiple":default:return pA}}),t=xi(n,"selected",n.selected,M=>k.value.in(M,r.value,C.value),M=>k.value.out(M,r.value,C.value));kl(()=>{e=!0});function d(M){const v=[];let h=M;for(;h!=null;)v.unshift(h),h=C.value.get(h);return v}const y=Es("nested"),i={id:Wr(),root:{opened:D,selected:t,selectedValues:cn(()=>{const M=[];for(const[v,h]of t.value.entries())h==="on"&&M.push(v);return M}),register:(M,v,h)=>{v&&M!==v&&C.value.set(M,v),h&&r.value.set(M,[]),v!=null&&r.value.set(v,[...r.value.get(v)||[],M])},unregister:M=>{if(e)return;r.value.delete(M);const v=C.value.get(M);if(v){const h=r.value.get(v)??[];r.value.set(v,h.filter(l=>l!==M))}C.value.delete(M),D.value.delete(M)},open:(M,v,h)=>{y.emit("click:open",{id:M,value:v,path:d(M),event:h});const l=m.value.open({id:M,value:v,opened:new Set(D.value),children:r.value,parents:C.value,event:h});l&&(D.value=l)},openOnSelect:(M,v,h)=>{const l=m.value.select({id:M,value:v,selected:new Map(t.value),opened:new Set(D.value),children:r.value,parents:C.value,event:h});l&&(D.value=l)},select:(M,v,h)=>{y.emit("click:select",{id:M,value:v,path:d(M),event:h});const l=k.value.select({id:M,value:v,selected:new Map(t.value),children:r.value,parents:C.value,event:h});l&&(t.value=l),i.root.openOnSelect(M,v,h)},children:r,parents:C}};return rs(Vm,i),i.root},vA=(n,e)=>{const r=ka(Vm,gA),C=Symbol(Qs()),D=cn(()=>n.value!==void 0?n.value:C),k={...r,id:D,open:(m,t)=>r.root.open(D.value,m,t),openOnSelect:(m,t)=>r.root.openOnSelect(D.value,m,t),isOpen:cn(()=>r.root.opened.value.has(D.value)),parent:cn(()=>r.root.parents.value.get(D.value)),select:(m,t)=>r.root.select(D.value,m,t),isSelected:cn(()=>r.root.selected.value.get(wi(D.value))==="on"),isIndeterminate:cn(()=>r.root.selected.value.get(D.value)==="indeterminate"),isLeaf:cn(()=>!r.root.children.value.get(D.value)),isGroupActivator:r.isGroupActivator};return!r.isGroupActivator&&r.root.register(D.value,r.id.value,e),kl(()=>{!r.isGroupActivator&&r.root.unregister(D.value)}),e&&rs(Vm,k),k},CN=()=>{const n=ka(Vm,gA);rs(Vm,{...n,isGroupActivator:!0})},EN=ac({name:"VListGroupActivator",setup(n,e){let{slots:r}=e;return CN(),()=>{var C;return(C=r.default)==null?void 0:C.call(r)}}}),LN=ur({activeColor:String,baseColor:String,color:String,collapseIcon:{type:bi,default:"$collapse"},expandIcon:{type:bi,default:"$expand"},prependIcon:bi,appendIcon:bi,fluid:Boolean,subgroup:Boolean,title:String,value:null,...Zr(),...Si()},"VListGroup"),Tx=Ar()({name:"VListGroup",props:LN(),setup(n,e){let{slots:r}=e;const{isOpen:C,open:D,id:k}=vA(Cr(n,"value"),!0),m=cn(()=>`v-list-group--id-${String(k.value)}`),t=dA(),{isBooted:d}=tp();function y(h){D(!C.value,h)}const i=cn(()=>({onClick:y,class:"v-list-group__header",id:m.value})),M=cn(()=>C.value?n.collapseIcon:n.expandIcon),v=cn(()=>({VListItem:{active:C.value,activeColor:n.activeColor,baseColor:n.baseColor,color:n.color,prependIcon:n.prependIcon||n.subgroup&&M.value,appendIcon:n.appendIcon||!n.subgroup&&M.value,title:n.title,value:n.value}}));return Or(()=>gt(n.tag,{class:["v-list-group",{"v-list-group--prepend":t==null?void 0:t.hasPrepend.value,"v-list-group--fluid":n.fluid,"v-list-group--subgroup":n.subgroup,"v-list-group--open":C.value},n.class],style:n.style},{default:()=>[r.activator&>(Fa,{defaults:v.value},{default:()=>[gt(EN,null,{default:()=>[r.activator({props:i.value,isOpen:C.value})]})]}),gt(Oc,{transition:{component:e1},disabled:!d.value},{default:()=>{var h;return[Co(gt("div",{class:"v-list-group__items",role:"group","aria-labelledby":m.value},[(h=r.default)==null?void 0:h.call(r)]),[[Mf,C.value]])]}})]})),{}}});const yA=Nc("v-list-item-subtitle"),bA=Nc("v-list-item-title"),IN=ur({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:bi,baseColor:String,disabled:Boolean,lines:String,link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:bi,ripple:{type:[Boolean,Object],default:!0},subtitle:[String,Number,Boolean],title:[String,Number,Boolean],value:null,onClick:bf(),onClickOnce:bf(),...Cu(),...Zr(),...ps(),...sc(),...ds(),...lo(),...lg(),...Si(),...oa(),...cc({variant:"text"})},"VListItem"),ah=Ar()({name:"VListItem",directives:{Ripple:nd},props:IN(),emits:{click:n=>!0},setup(n,e){let{attrs:r,slots:C,emit:D}=e;const k=sg(n,r),m=cn(()=>n.value===void 0?k.href.value:n.value),{select:t,isSelected:d,isIndeterminate:y,isGroupActivator:i,root:M,parent:v,openOnSelect:h}=vA(m,!1),l=dA(),a=cn(()=>{var O;return n.active!==!1&&(n.active||((O=k.isActive)==null?void 0:O.value)||d.value)}),u=cn(()=>n.link!==!1&&k.isLink.value),s=cn(()=>!n.disabled&&n.link!==!1&&(n.link||k.isClickable.value||n.value!=null&&!!l)),o=cn(()=>n.rounded||n.nav),c=cn(()=>n.color??n.activeColor),f=cn(()=>({color:a.value?c.value??n.baseColor:n.baseColor,variant:n.variant}));Yr(()=>{var O;return(O=k.isActive)==null?void 0:O.value},O=>{O&&v.value!=null&&M.open(v.value,!0),O&&h(O)},{immediate:!0});const{themeClasses:p}=Ma(n),{borderClasses:w}=uc(n),{colorClasses:g,colorStyles:S,variantClasses:x}=rp(f),{densityClasses:T}=el(n),{dimensionStyles:E}=lc(n),{elevationClasses:_}=Vs(n),{roundedClasses:A}=Eo(o),L=cn(()=>n.lines?`v-list-item--${n.lines}-line`:void 0),b=cn(()=>({isActive:a.value,select:t,isSelected:d.value,isIndeterminate:y.value}));function R(O){var z;D("click",O),!(i||!s.value)&&((z=k.navigate)==null||z.call(k,O),n.value!=null&&t(!d.value,O))}function I(O){(O.key==="Enter"||O.key===" ")&&(O.preventDefault(),R(O))}return Or(()=>{const O=u.value?"a":n.tag,z=C.title||n.title,F=C.subtitle||n.subtitle,B=!!(n.appendAvatar||n.appendIcon),N=!!(B||C.append),W=!!(n.prependAvatar||n.prependIcon),j=!!(W||C.prepend);return l==null||l.updateHasPrepend(j),n.activeColor&&oF("active-color",["color","base-color"]),Co(gt(O,{class:["v-list-item",{"v-list-item--active":a.value,"v-list-item--disabled":n.disabled,"v-list-item--link":s.value,"v-list-item--nav":n.nav,"v-list-item--prepend":!j&&(l==null?void 0:l.hasPrepend.value),[`${n.activeClass}`]:n.activeClass&&a.value},p.value,w.value,g.value,T.value,_.value,L.value,A.value,x.value,n.class],style:[S.value,E.value,n.style],href:k.href.value,tabindex:s.value?l?-2:0:void 0,onClick:R,onKeydown:s.value&&!u.value&&I},{default:()=>{var Y;return[np(s.value||a.value,"v-list-item"),j&>("div",{key:"prepend",class:"v-list-item__prepend"},[C.prepend?gt(Fa,{key:"prepend-defaults",disabled:!W,defaults:{VAvatar:{density:n.density,image:n.prependAvatar},VIcon:{density:n.density,icon:n.prependIcon},VListItemAction:{start:!0}}},{default:()=>{var U;return[(U=C.prepend)==null?void 0:U.call(C,b.value)]}}):gt($r,null,[n.prependAvatar&>(Zh,{key:"prepend-avatar",density:n.density,image:n.prependAvatar},null),n.prependIcon&>(ja,{key:"prepend-icon",density:n.density,icon:n.prependIcon},null)]),gt("div",{class:"v-list-item__spacer"},null)]),gt("div",{class:"v-list-item__content","data-no-activator":""},[z&>(bA,{key:"title"},{default:()=>{var U;return[((U=C.title)==null?void 0:U.call(C,{title:n.title}))??n.title]}}),F&>(yA,{key:"subtitle"},{default:()=>{var U;return[((U=C.subtitle)==null?void 0:U.call(C,{subtitle:n.subtitle}))??n.subtitle]}}),(Y=C.default)==null?void 0:Y.call(C,b.value)]),N&>("div",{key:"append",class:"v-list-item__append"},[C.append?gt(Fa,{key:"append-defaults",disabled:!B,defaults:{VAvatar:{density:n.density,image:n.appendAvatar},VIcon:{density:n.density,icon:n.appendIcon},VListItemAction:{end:!0}}},{default:()=>{var U;return[(U=C.append)==null?void 0:U.call(C,b.value)]}}):gt($r,null,[n.appendIcon&>(ja,{key:"append-icon",density:n.density,icon:n.appendIcon},null),n.appendAvatar&>(Zh,{key:"append-avatar",density:n.density,image:n.appendAvatar},null)]),gt("div",{class:"v-list-item__spacer"},null)])]}}),[[Tu("ripple"),s.value&&n.ripple]])}),{}}}),RN=ur({color:String,inset:Boolean,sticky:Boolean,title:String,...Zr(),...Si()},"VListSubheader"),xA=Ar()({name:"VListSubheader",props:RN(),setup(n,e){let{slots:r}=e;const{textColorClasses:C,textColorStyles:D}=Ks(Cr(n,"color"));return Or(()=>{const k=!!(r.default||n.title);return gt(n.tag,{class:["v-list-subheader",{"v-list-subheader--inset":n.inset,"v-list-subheader--sticky":n.sticky},C.value,n.class],style:[{textColorStyles:D},n.style]},{default:()=>{var m;return[k&>("div",{class:"v-list-subheader__text"},[((m=r.default)==null?void 0:m.call(r))??n.title])]}})}),{}}});const PN=ur({color:String,inset:Boolean,length:[Number,String],thickness:[Number,String],vertical:Boolean,...Zr(),...oa()},"VDivider"),_A=Ar()({name:"VDivider",props:PN(),setup(n,e){let{attrs:r}=e;const{themeClasses:C}=Ma(n),{textColorClasses:D,textColorStyles:k}=Ks(Cr(n,"color")),m=cn(()=>{const t={};return n.length&&(t[n.vertical?"maxHeight":"maxWidth"]=Qr(n.length)),n.thickness&&(t[n.vertical?"borderRightWidth":"borderTopWidth"]=Qr(n.thickness)),t});return Or(()=>gt("hr",{class:[{"v-divider":!0,"v-divider--inset":n.inset,"v-divider--vertical":n.vertical},C.value,D.value,n.class],style:[m.value,k.value,n.style],"aria-orientation":!r.role||r.role==="separator"?n.vertical?"vertical":"horizontal":void 0,role:`${r.role||"separator"}`},null)),{}}}),ON=ur({items:Array},"VListChildren"),wA=Ar()({name:"VListChildren",props:ON(),setup(n,e){let{slots:r}=e;return hA(),()=>{var C,D;return((C=r.default)==null?void 0:C.call(r))??((D=n.items)==null?void 0:D.map(k=>{var h,l;let{children:m,props:t,type:d,raw:y}=k;if(d==="divider")return((h=r.divider)==null?void 0:h.call(r,{props:t}))??gt(_A,t,null);if(d==="subheader")return((l=r.subheader)==null?void 0:l.call(r,{props:t}))??gt(xA,t,null);const i={subtitle:r.subtitle?a=>{var u;return(u=r.subtitle)==null?void 0:u.call(r,{...a,item:y})}:void 0,prepend:r.prepend?a=>{var u;return(u=r.prepend)==null?void 0:u.call(r,{...a,item:y})}:void 0,append:r.append?a=>{var u;return(u=r.append)==null?void 0:u.call(r,{...a,item:y})}:void 0,title:r.title?a=>{var u;return(u=r.title)==null?void 0:u.call(r,{...a,item:y})}:void 0},[M,v]=Tx.filterProps(t);return m?gt(Tx,qr({value:t==null?void 0:t.value},M),{activator:a=>{let{props:u}=a;return r.header?r.header({props:{...t,...u}}):gt(ah,qr(t,u),i)},default:()=>gt(wA,{items:m},r)}):r.item?r.item({props:t}):gt(ah,t,i)}))}}}),TA=ur({items:{type:Array,default:()=>[]},itemTitle:{type:[String,Array,Function],default:"title"},itemValue:{type:[String,Array,Function],default:"value"},itemChildren:{type:[Boolean,String,Array,Function],default:"children"},itemProps:{type:[Boolean,String,Array,Function],default:"props"},returnObject:Boolean,valueComparator:{type:Function,default:b0}},"list-items");function zd(n,e){const r=mf(e,n.itemTitle,e),C=mf(e,n.itemValue,r),D=mf(e,n.itemChildren),k=n.itemProps===!0?typeof e=="object"&&e!=null&&!Array.isArray(e)?"children"in e?Yd(e,["children"])[1]:e:void 0:mf(e,n.itemProps),m={title:r,value:C,...k};return{title:String(m.title??""),value:m.value,props:m,children:Array.isArray(D)?kA(n,D):void 0,raw:e}}function kA(n,e){const r=[];for(const C of e)r.push(zd(n,C));return r}function x_(n){const e=cn(()=>kA(n,n.items)),r=cn(()=>e.value.some(k=>k.value===null));function C(k){return r.value||(k=k.filter(m=>m!==null)),k.map(m=>n.returnObject&&typeof m=="string"?zd(n,m):e.value.find(t=>n.valueComparator(m,t.value))||zd(n,m))}function D(k){return n.returnObject?k.map(m=>{let{raw:t}=m;return t}):k.map(m=>{let{value:t}=m;return t})}return{items:e,transformIn:C,transformOut:D}}function DN(n){return typeof n=="string"||typeof n=="number"||typeof n=="boolean"}function zN(n,e){const r=mf(e,n.itemType,"item"),C=DN(e)?e:mf(e,n.itemTitle),D=mf(e,n.itemValue,void 0),k=mf(e,n.itemChildren),m=n.itemProps===!0?Yd(e,["children"])[1]:mf(e,n.itemProps),t={title:C,value:D,...m};return{type:r,title:t.title,value:t.value,props:t,children:r==="item"&&k?MA(n,k):void 0,raw:e}}function MA(n,e){const r=[];for(const C of e)r.push(zN(n,C));return r}function FN(n){return{items:cn(()=>MA(n,n.items))}}const BN=ur({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,lines:{type:[Boolean,String],default:"one"},nav:Boolean,...AN({selectStrategy:"single-leaf",openStrategy:"list"}),...Cu(),...Zr(),...ps(),...sc(),...ds(),itemType:{type:String,default:"type"},...TA(),...lo(),...Si(),...oa(),...cc({variant:"text"})},"VList"),a1=Ar()({name:"VList",props:BN(),emits:{"update:selected":n=>!0,"update:opened":n=>!0,"click:open":n=>!0,"click:select":n=>!0},setup(n,e){let{slots:r}=e;const{items:C}=FN(n),{themeClasses:D}=Ma(n),{backgroundColorClasses:k,backgroundColorStyles:m}=Oo(Cr(n,"bgColor")),{borderClasses:t}=uc(n),{densityClasses:d}=el(n),{dimensionStyles:y}=lc(n),{elevationClasses:i}=Vs(n),{roundedClasses:M}=Eo(n),{open:v,select:h}=SN(n),l=cn(()=>n.lines?`v-list--${n.lines}-line`:void 0),a=Cr(n,"activeColor"),u=Cr(n,"baseColor"),s=Cr(n,"color");hA(),ns({VListGroup:{activeColor:a,baseColor:u,color:s},VListItem:{activeClass:Cr(n,"activeClass"),activeColor:a,baseColor:u,color:s,density:Cr(n,"density"),disabled:Cr(n,"disabled"),lines:Cr(n,"lines"),nav:Cr(n,"nav"),variant:Cr(n,"variant")}});const o=Wr(!1),c=Vr();function f(x){o.value=!0}function p(x){o.value=!1}function w(x){var T;!o.value&&!(x.relatedTarget&&((T=c.value)!=null&&T.contains(x.relatedTarget)))&&S()}function g(x){if(c.value){if(x.key==="ArrowDown")S("next");else if(x.key==="ArrowUp")S("prev");else if(x.key==="Home")S("first");else if(x.key==="End")S("last");else return;x.preventDefault()}}function S(x){if(c.value)return uy(c.value,x)}return Or(()=>gt(n.tag,{ref:c,class:["v-list",{"v-list--disabled":n.disabled,"v-list--nav":n.nav},D.value,k.value,t.value,d.value,i.value,l.value,M.value,n.class],style:[m.value,y.value,n.style],tabindex:n.disabled||o.value?-1:0,role:"listbox","aria-activedescendant":void 0,onFocusin:f,onFocusout:p,onFocus:w,onKeydown:g},{default:()=>[gt(wA,{items:C.value},r)]})),{open:v,select:h,focus:S}}}),NN=Nc("v-list-img"),VN=ur({start:Boolean,end:Boolean,...Zr(),...Si()},"VListItemAction"),jN=Ar()({name:"VListItemAction",props:VN(),setup(n,e){let{slots:r}=e;return Or(()=>gt(n.tag,{class:["v-list-item-action",{"v-list-item-action--start":n.start,"v-list-item-action--end":n.end},n.class],style:n.style},r)),{}}}),UN=ur({start:Boolean,end:Boolean,...Zr(),...Si()},"VListItemMedia"),HN=Ar()({name:"VListItemMedia",props:UN(),setup(n,e){let{slots:r}=e;return Or(()=>gt(n.tag,{class:["v-list-item-media",{"v-list-item-media--start":n.start,"v-list-item-media--end":n.end},n.class],style:n.style},r)),{}}});function xb(n,e){return{x:n.x+e.x,y:n.y+e.y}}function GN(n,e){return{x:n.x-e.x,y:n.y-e.y}}function eT(n,e){if(n.side==="top"||n.side==="bottom"){const{side:r,align:C}=n,D=C==="left"?0:C==="center"?e.width/2:C==="right"?e.width:C,k=r==="top"?0:r==="bottom"?e.height:r;return xb({x:D,y:k},e)}else if(n.side==="left"||n.side==="right"){const{side:r,align:C}=n,D=r==="left"?0:r==="right"?e.width:r,k=C==="top"?0:C==="center"?e.height/2:C==="bottom"?e.height:C;return xb({x:D,y:k},e)}return xb({x:e.width/2,y:e.height/2},e)}const AA={static:$N,connected:ZN},qN=ur({locationStrategy:{type:[String,Function],default:"static",validator:n=>typeof n=="function"||n in AA},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function WN(n,e){const r=Vr({}),C=Vr();to&&(Yh(()=>!!(e.isActive.value&&n.locationStrategy),k=>{var m,t;Yr(()=>n.locationStrategy,k),Tl(()=>{C.value=void 0}),typeof n.locationStrategy=="function"?C.value=(m=n.locationStrategy(e,n,r))==null?void 0:m.updateLocation:C.value=(t=AA[n.locationStrategy](e,n,r))==null?void 0:t.updateLocation}),window.addEventListener("resize",D,{passive:!0}),Tl(()=>{window.removeEventListener("resize",D),C.value=void 0}));function D(k){var m;(m=C.value)==null||m.call(C,k)}return{contentStyles:r,updateLocation:C}}function $N(){}function YN(n,e){e?n.style.removeProperty("left"):n.style.removeProperty("right");const r=J2(n);return e?r.x+=parseFloat(n.style.right||0):r.x-=parseFloat(n.style.left||0),r.y-=parseFloat(n.style.top||0),r}function ZN(n,e,r){TF(n.activatorEl.value)&&Object.assign(r.value,{position:"fixed",top:0,[n.isRtl.value?"right":"left"]:0});const{preferredAnchor:D,preferredOrigin:k}=X2(()=>{const l=lx(e.location,n.isRtl.value),a=e.origin==="overlap"?l:e.origin==="auto"?gb(l):lx(e.origin,n.isRtl.value);return l.side===a.side&&l.align===vb(a).align?{preferredAnchor:k5(l),preferredOrigin:k5(a)}:{preferredAnchor:l,preferredOrigin:a}}),[m,t,d,y]=["minWidth","minHeight","maxWidth","maxHeight"].map(l=>cn(()=>{const a=parseFloat(e[l]);return isNaN(a)?1/0:a})),i=cn(()=>{if(Array.isArray(e.offset))return e.offset;if(typeof e.offset=="string"){const l=e.offset.split(" ").map(parseFloat);return l.length<2&&l.push(0),l}return typeof e.offset=="number"?[e.offset,0]:[0,0]});let M=!1;const v=new ResizeObserver(()=>{M&&h()});Yr([n.activatorEl,n.contentEl],(l,a)=>{let[u,s]=l,[o,c]=a;o&&v.unobserve(o),u&&v.observe(u),c&&v.unobserve(c),s&&v.observe(s)},{immediate:!0}),Tl(()=>{v.disconnect()});function h(){if(M=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>M=!0)}),!n.activatorEl.value||!n.contentEl.value)return;const l=n.activatorEl.value.getBoundingClientRect(),a=YN(n.contentEl.value,n.isRtl.value),u=fy(n.contentEl.value),s=12;u.length||(u.push(document.documentElement),n.contentEl.value.style.top&&n.contentEl.value.style.left||(a.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),a.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const o=u.reduce((E,_)=>{const A=_.getBoundingClientRect(),L=new $p({x:_===document.documentElement?0:A.x,y:_===document.documentElement?0:A.y,width:_.clientWidth,height:_.clientHeight});return E?new $p({x:Math.max(E.left,L.left),y:Math.max(E.top,L.top),width:Math.min(E.right,L.right)-Math.max(E.left,L.left),height:Math.min(E.bottom,L.bottom)-Math.max(E.top,L.top)}):L},void 0);o.x+=s,o.y+=s,o.width-=s*2,o.height-=s*2;let c={anchor:D.value,origin:k.value};function f(E){const _=new $p(a),A=eT(E.anchor,l),L=eT(E.origin,_);let{x:b,y:R}=GN(A,L);switch(E.anchor.side){case"top":R-=i.value[0];break;case"bottom":R+=i.value[0];break;case"left":b-=i.value[0];break;case"right":b+=i.value[0];break}switch(E.anchor.align){case"top":R-=i.value[1];break;case"bottom":R+=i.value[1];break;case"left":b-=i.value[1];break;case"right":b+=i.value[1];break}return _.x+=b,_.y+=R,_.width=Math.min(_.width,d.value),_.height=Math.min(_.height,y.value),{overflows:A5(_,o),x:b,y:R}}let p=0,w=0;const g={x:0,y:0},S={x:!1,y:!1};let x=-1;for(;!(x++>10);){const{x:E,y:_,overflows:A}=f(c);p+=E,w+=_,a.x+=E,a.y+=_;{const L=M5(c.anchor),b=A.x.before||A.x.after,R=A.y.before||A.y.after;let I=!1;if(["x","y"].forEach(O=>{if(O==="x"&&b&&!S.x||O==="y"&&R&&!S.y){const z={anchor:{...c.anchor},origin:{...c.origin}},F=O==="x"?L==="y"?vb:gb:L==="y"?gb:vb;z.anchor=F(z.anchor),z.origin=F(z.origin);const{overflows:B}=f(z);(B[O].before<=A[O].before&&B[O].after<=A[O].after||B[O].before+B[O].after<(A[O].before+A[O].after)/2)&&(c=z,I=S[O]=!0)}}),I)continue}A.x.before&&(p+=A.x.before,a.x+=A.x.before),A.x.after&&(p-=A.x.after,a.x-=A.x.after),A.y.before&&(w+=A.y.before,a.y+=A.y.before),A.y.after&&(w-=A.y.after,a.y-=A.y.after);{const L=A5(a,o);g.x=o.width-L.x.before-L.x.after,g.y=o.height-L.y.before-L.y.after,p+=L.x.before,a.x+=L.x.before,w+=L.y.before,a.y+=L.y.before}break}const T=M5(c.anchor);return Object.assign(r.value,{"--v-overlay-anchor-origin":`${c.anchor.side} ${c.anchor.align}`,transformOrigin:`${c.origin.side} ${c.origin.align}`,top:Qr(_b(w)),left:n.isRtl.value?void 0:Qr(_b(p)),right:n.isRtl.value?Qr(_b(-p)):void 0,minWidth:Qr(T==="y"?Math.min(m.value,l.width):m.value),maxWidth:Qr(tT(Xs(g.x,m.value===1/0?0:m.value,d.value))),maxHeight:Qr(tT(Xs(g.y,t.value===1/0?0:t.value,y.value)))}),{available:g,contentBox:a}}return Yr(()=>[D.value,k.value,e.offset,e.minWidth,e.minHeight,e.maxWidth,e.maxHeight],()=>h()),Ua(()=>{const l=h();if(!l)return;const{available:a,contentBox:u}=l;u.height>a.y&&requestAnimationFrame(()=>{h(),requestAnimationFrame(()=>{h()})})}),{updateLocation:h}}function _b(n){return Math.round(n*devicePixelRatio)/devicePixelRatio}function tT(n){return Math.ceil(n*devicePixelRatio)/devicePixelRatio}let kx=!0;const py=[];function XN(n){!kx||py.length?(py.push(n),Mx()):(kx=!1,n(),Mx())}let nT=-1;function Mx(){cancelAnimationFrame(nT),nT=requestAnimationFrame(()=>{const n=py.shift();n&&n(),py.length?Mx():kx=!0})}const Mv={none:null,close:QN,block:eV,reposition:tV},KN=ur({scrollStrategy:{type:[String,Function],default:"block",validator:n=>typeof n=="function"||n in Mv}},"VOverlay-scroll-strategies");function JN(n,e){if(!to)return;let r;wu(async()=>{r==null||r.stop(),e.isActive.value&&n.scrollStrategy&&(r=Um(),await Ua(),r.active&&r.run(()=>{var C;typeof n.scrollStrategy=="function"?n.scrollStrategy(e,n,r):(C=Mv[n.scrollStrategy])==null||C.call(Mv,e,n,r)}))}),Tl(()=>{r==null||r.stop()})}function QN(n){function e(r){n.isActive.value=!1}SA(n.activatorEl.value??n.contentEl.value,e)}function eV(n,e){var m;const r=(m=n.root.value)==null?void 0:m.offsetParent,C=[...new Set([...fy(n.activatorEl.value,e.contained?r:void 0),...fy(n.contentEl.value,e.contained?r:void 0)])].filter(t=>!t.classList.contains("v-overlay-scroll-blocked")),D=window.innerWidth-document.documentElement.offsetWidth,k=(t=>n_(t)&&t)(r||document.documentElement);k&&n.root.value.classList.add("v-overlay--scroll-blocked"),C.forEach((t,d)=>{t.style.setProperty("--v-body-scroll-x",Qr(-t.scrollLeft)),t.style.setProperty("--v-body-scroll-y",Qr(-t.scrollTop)),t!==document.documentElement&&t.style.setProperty("--v-scrollbar-offset",Qr(D)),t.classList.add("v-overlay-scroll-blocked")}),Tl(()=>{C.forEach((t,d)=>{const y=parseFloat(t.style.getPropertyValue("--v-body-scroll-x")),i=parseFloat(t.style.getPropertyValue("--v-body-scroll-y"));t.style.removeProperty("--v-body-scroll-x"),t.style.removeProperty("--v-body-scroll-y"),t.style.removeProperty("--v-scrollbar-offset"),t.classList.remove("v-overlay-scroll-blocked"),t.scrollLeft=-y,t.scrollTop=-i}),k&&n.root.value.classList.remove("v-overlay--scroll-blocked")})}function tV(n,e,r){let C=!1,D=-1,k=-1;function m(t){XN(()=>{var i,M;const d=performance.now();(M=(i=n.updateLocation).value)==null||M.call(i,t),C=(performance.now()-d)/(1e3/60)>2})}k=(typeof requestIdleCallback>"u"?t=>t():requestIdleCallback)(()=>{r.run(()=>{SA(n.activatorEl.value??n.contentEl.value,t=>{C?(cancelAnimationFrame(D),D=requestAnimationFrame(()=>{D=requestAnimationFrame(()=>{m(t)})})):m(t)})})}),Tl(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(k),cancelAnimationFrame(D)})}function SA(n,e){const r=[document,...fy(n)];r.forEach(C=>{C.addEventListener("scroll",e,{passive:!0})}),Tl(()=>{r.forEach(C=>{C.removeEventListener("scroll",e)})})}const Ax=Symbol.for("vuetify:v-menu"),CA=ur({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function EA(n,e){const r={},C=D=>()=>{if(!to)return Promise.resolve(!0);const k=D==="openDelay";return r.closeDelay&&window.clearTimeout(r.closeDelay),delete r.closeDelay,r.openDelay&&window.clearTimeout(r.openDelay),delete r.openDelay,new Promise(m=>{const t=parseInt(n[D]??0,10);r[D]=window.setTimeout(()=>{e==null||e(k),m(k)},t)})};return{runCloseDelay:C("closeDelay"),runOpenDelay:C("openDelay")}}const nV=ur({activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...CA()},"VOverlay-activator");function rV(n,e){let{isActive:r,isTop:C}=e;const D=Vr();let k=!1,m=!1,t=!0;const d=cn(()=>n.openOnFocus||n.openOnFocus==null&&n.openOnHover),y=cn(()=>n.openOnClick||n.openOnClick==null&&!n.openOnHover&&!d.value),{runOpenDelay:i,runCloseDelay:M}=EA(n,c=>{c===(n.openOnHover&&k||d.value&&m)&&!(n.openOnHover&&r.value&&!C.value)&&(r.value!==c&&(t=!0),r.value=c)}),v={onClick:c=>{c.stopPropagation(),D.value=c.currentTarget||c.target,r.value=!r.value},onMouseenter:c=>{var f;(f=c.sourceCapabilities)!=null&&f.firesTouchEvents||(k=!0,D.value=c.currentTarget||c.target,i())},onMouseleave:c=>{k=!1,M()},onFocus:c=>{l0(c.target,":focus-visible")!==!1&&(m=!0,c.stopPropagation(),D.value=c.currentTarget||c.target,i())},onBlur:c=>{m=!1,c.stopPropagation(),M()}},h=cn(()=>{const c={};return y.value&&(c.onClick=v.onClick),n.openOnHover&&(c.onMouseenter=v.onMouseenter,c.onMouseleave=v.onMouseleave),d.value&&(c.onFocus=v.onFocus,c.onBlur=v.onBlur),c}),l=cn(()=>{const c={};if(n.openOnHover&&(c.onMouseenter=()=>{k=!0,i()},c.onMouseleave=()=>{k=!1,M()}),d.value&&(c.onFocusin=()=>{m=!0,i()},c.onFocusout=()=>{m=!1,M()}),n.closeOnContentClick){const f=ka(Ax,null);c.onClick=()=>{r.value=!1,f==null||f.closeParents()}}return c}),a=cn(()=>{const c={};return n.openOnHover&&(c.onMouseenter=()=>{t&&(k=!0,t=!1,i())},c.onMouseleave=()=>{k=!1,M()}),c});Yr(C,c=>{c&&(n.openOnHover&&!k&&(!d.value||!m)||d.value&&!m&&(!n.openOnHover||!k))&&(r.value=!1)});const u=Vr();wu(()=>{u.value&&Ua(()=>{D.value=ox(u.value)})});const s=Es("useActivator");let o;return Yr(()=>!!n.activator,c=>{c&&to?(o=Um(),o.run(()=>{iV(n,s,{activatorEl:D,activatorEvents:h})})):o&&o.stop()},{flush:"post",immediate:!0}),Tl(()=>{o==null||o.stop()}),{activatorEl:D,activatorRef:u,activatorEvents:h,contentEvents:l,scrimEvents:a}}function iV(n,e,r){let{activatorEl:C,activatorEvents:D}=r;Yr(()=>n.activator,(d,y)=>{if(y&&d!==y){const i=t(y);i&&m(i)}d&&Ua(()=>k())},{immediate:!0}),Yr(()=>n.activatorProps,()=>{k()}),Tl(()=>{m()});function k(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:t(),y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:n.activatorProps;d&&Kz(d,qr(D.value,y))}function m(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:t(),y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:n.activatorProps;d&&Jz(d,qr(D.value,y))}function t(){var i,M;let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:n.activator,y;if(d)if(d==="parent"){let v=(M=(i=e==null?void 0:e.proxy)==null?void 0:i.$el)==null?void 0:M.parentNode;for(;v!=null&&v.hasAttribute("data-no-activator");)v=v.parentNode;y=v}else typeof d=="string"?y=document.querySelector(d):"$el"in d?y=d.$el:y=d;return C.value=(y==null?void 0:y.nodeType)===Node.ELEMENT_NODE?y:null,C.value}}function LA(){if(!to)return Wr(!1);const{ssr:n}=ep();if(n){const e=Wr(!1);return Js(()=>{e.value=!0}),e}else return Wr(!0)}const o1=ur({eager:Boolean},"lazy");function __(n,e){const r=Wr(!1),C=cn(()=>r.value||n.eager||e.value);Yr(e,()=>r.value=!0);function D(){n.eager||(r.value=!1)}return{isBooted:r,hasContent:C,onAfterLeave:D}}function E0(){const e=Es("useScopeId").vnode.scopeId;return{scopeId:e?{[e]:""}:void 0}}const rT=Symbol.for("vuetify:stack"),am=bl([]);function aV(n,e,r){const C=Es("useStack"),D=!r,k=ka(rT,void 0),m=bl({activeChildren:new Set});rs(rT,m);const t=Wr(+e.value);Yh(n,()=>{var M;const i=(M=am.at(-1))==null?void 0:M[1];t.value=i?i+10:+e.value,D&&am.push([C.uid,t.value]),k==null||k.activeChildren.add(C.uid),Tl(()=>{if(D){const v=wi(am).findIndex(h=>h[0]===C.uid);am.splice(v,1)}k==null||k.activeChildren.delete(C.uid)})});const d=Wr(!0);D&&wu(()=>{var M;const i=((M=am.at(-1))==null?void 0:M[0])===C.uid;setTimeout(()=>d.value=i)});const y=cn(()=>!m.activeChildren.size);return{globalTop:Hm(d),localTop:y,stackStyles:cn(()=>({zIndex:t.value}))}}function oV(n){return{teleportTarget:cn(()=>{const r=n.value;if(r===!0||!to)return;const C=r===!1?document.body:typeof r=="string"?document.querySelector(r):r;if(C==null)return;let D=C.querySelector(":scope > .v-overlay-container");return D||(D=document.createElement("div"),D.className="v-overlay-container",C.appendChild(D)),D})}}function sV(){return!0}function IA(n,e,r){if(!n||RA(n,r)===!1)return!1;const C=A6(e);if(typeof ShadowRoot<"u"&&C instanceof ShadowRoot&&C.host===n.target)return!1;const D=(typeof r.value=="object"&&r.value.include||(()=>[]))();return D.push(e),!D.some(k=>k==null?void 0:k.contains(n.target))}function RA(n,e){return(typeof e.value=="object"&&e.value.closeConditional||sV)(n)}function lV(n,e,r){const C=typeof r.value=="function"?r.value:r.value.handler;e._clickOutside.lastMousedownWasOutside&&IA(n,e,r)&&setTimeout(()=>{RA(n,r)&&C&&C(n)},0)}function iT(n,e){const r=A6(n);e(document),typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&e(r)}const PA={mounted(n,e){const r=D=>lV(D,n,e),C=D=>{n._clickOutside.lastMousedownWasOutside=IA(D,n,e)};iT(n,D=>{D.addEventListener("click",r,!0),D.addEventListener("mousedown",C,!0)}),n._clickOutside||(n._clickOutside={lastMousedownWasOutside:!1}),n._clickOutside[e.instance.$.uid]={onClick:r,onMousedown:C}},unmounted(n,e){n._clickOutside&&(iT(n,r=>{var k;if(!r||!((k=n._clickOutside)!=null&&k[e.instance.$.uid]))return;const{onClick:C,onMousedown:D}=n._clickOutside[e.instance.$.uid];r.removeEventListener("click",C,!0),r.removeEventListener("mousedown",D,!0)}),delete n._clickOutside[e.instance.$.uid])}};function uV(n){const{modelValue:e,color:r,...C}=n;return gt(xf,{name:"fade-transition",appear:!0},{default:()=>[n.modelValue&>("div",qr({class:["v-overlay__scrim",n.color.backgroundColorClasses.value],style:n.color.backgroundColorStyles.value},C),null)]})}const cg=ur({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...nV(),...Zr(),...sc(),...o1(),...qN(),...KN(),...oa(),...dh()},"VOverlay"),oh=Ar()({name:"VOverlay",directives:{ClickOutside:PA},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...cg()},emits:{"click:outside":n=>!0,"update:modelValue":n=>!0,afterLeave:()=>!0},setup(n,e){let{slots:r,attrs:C,emit:D}=e;const k=xi(n,"modelValue"),m=cn({get:()=>k.value,set:z=>{z&&n.disabled||(k.value=z)}}),{teleportTarget:t}=oV(cn(()=>n.attach||n.contained)),{themeClasses:d}=Ma(n),{rtlClasses:y,isRtl:i}=Ls(),{hasContent:M,onAfterLeave:v}=__(n,m),h=Oo(cn(()=>typeof n.scrim=="string"?n.scrim:null)),{globalTop:l,localTop:a,stackStyles:u}=aV(m,Cr(n,"zIndex"),n._disableGlobalStack),{activatorEl:s,activatorRef:o,activatorEvents:c,contentEvents:f,scrimEvents:p}=rV(n,{isActive:m,isTop:a}),{dimensionStyles:w}=lc(n),g=LA(),{scopeId:S}=E0();Yr(()=>n.disabled,z=>{z&&(m.value=!1)});const x=Vr(),T=Vr(),{contentStyles:E,updateLocation:_}=WN(n,{isRtl:i,contentEl:T,activatorEl:s,isActive:m});JN(n,{root:x,contentEl:T,activatorEl:s,isActive:m,updateLocation:_});function A(z){D("click:outside",z),n.persistent?O():m.value=!1}function L(){return m.value&&l.value}to&&Yr(m,z=>{z?window.addEventListener("keydown",b):window.removeEventListener("keydown",b)},{immediate:!0});function b(z){var F,B;z.key==="Escape"&&l.value&&(n.persistent?O():(m.value=!1,(F=T.value)!=null&&F.contains(document.activeElement)&&((B=s.value)==null||B.focus())))}const R=$6();Yh(()=>n.closeOnBack,()=>{XB(R,z=>{l.value&&m.value?(z(!1),n.persistent?O():m.value=!1):z()})});const I=Vr();Yr(()=>m.value&&(n.absolute||n.contained)&&t.value==null,z=>{if(z){const F=t_(x.value);F&&F!==document.scrollingElement&&(I.value=F.scrollTop)}});function O(){n.noClickAnimation||T.value&&Dd(T.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:zm})}return Or(()=>{var z;return gt($r,null,[(z=r.activator)==null?void 0:z.call(r,{isActive:m.value,props:qr({ref:o},c.value,n.activatorProps)}),g.value&&M.value&>(FE,{disabled:!t.value,to:t.value},{default:()=>[gt("div",qr({class:["v-overlay",{"v-overlay--absolute":n.absolute||n.contained,"v-overlay--active":m.value,"v-overlay--contained":n.contained},d.value,y.value,n.class],style:[u.value,{top:Qr(I.value)},n.style],ref:x},S,C),[gt(uV,qr({color:h,modelValue:m.value&&!!n.scrim},p.value),null),gt(Oc,{appear:!0,persisted:!0,transition:n.transition,target:s.value,onAfterLeave:()=>{v(),D("afterLeave")}},{default:()=>{var F;return[Co(gt("div",qr({ref:T,class:["v-overlay__content",n.contentClass],style:[w.value,E.value]},f.value,n.contentProps),[(F=r.default)==null?void 0:F.call(r,{isActive:m})]),[[Mf,m.value],[Tu("click-outside"),{handler:A,closeConditional:L,include:()=>[s.value]}]])]}})])]})])}),{activatorEl:s,animateClick:O,contentEl:T,globalTop:l,localTop:a,updateLocation:_}}}),wb=Symbol("Forwarded refs");function Tb(n,e){let r=n;for(;r;){const C=Reflect.getOwnPropertyDescriptor(r,e);if(C)return C;r=Object.getPrototypeOf(r)}}function Vc(n){for(var e=arguments.length,r=new Array(e>1?e-1:0),C=1;C!0},setup(n,e){let{slots:r}=e;const C=xi(n,"modelValue"),{scopeId:D}=E0(),k=Qs(),m=cn(()=>n.id||`v-menu-${k}`),t=Vr(),d=ka(Ax,null),y=Wr(0);rs(Ax,{register(){++y.value},unregister(){--y.value},closeParents(){setTimeout(()=>{y.value||(C.value=!1,d==null||d.closeParents())},40)}});async function i(a){var o,c,f;const u=a.relatedTarget,s=a.target;await Ua(),C.value&&u!==s&&((o=t.value)!=null&&o.contentEl)&&((c=t.value)!=null&&c.globalTop)&&![document,t.value.contentEl].includes(s)&&!t.value.contentEl.contains(s)&&((f=Dm(t.value.contentEl)[0])==null||f.focus())}Yr(C,a=>{a?(d==null||d.register(),document.addEventListener("focusin",i,{once:!0})):(d==null||d.unregister(),document.removeEventListener("focusin",i))});function M(){d==null||d.closeParents()}function v(a){var u,s,o;n.disabled||a.key==="Tab"&&(d6(Dm((u=t.value)==null?void 0:u.contentEl,!1),a.shiftKey?"prev":"next",f=>f.tabIndex>=0)||(C.value=!1,(o=(s=t.value)==null?void 0:s.activatorEl)==null||o.focus()))}function h(a){var s;if(n.disabled)return;const u=(s=t.value)==null?void 0:s.contentEl;u&&C.value?a.key==="ArrowDown"?(a.preventDefault(),uy(u,"next")):a.key==="ArrowUp"&&(a.preventDefault(),uy(u,"prev")):["ArrowDown","ArrowUp"].includes(a.key)&&(C.value=!0,a.preventDefault(),setTimeout(()=>setTimeout(()=>h(a))))}const l=cn(()=>qr({"aria-haspopup":"menu","aria-expanded":String(C.value),"aria-owns":m.value,onKeydown:h},n.activatorProps));return Or(()=>{const[a]=oh.filterProps(n);return gt(oh,qr({ref:t,class:["v-menu",n.class],style:n.style},a,{modelValue:C.value,"onUpdate:modelValue":u=>C.value=u,absolute:!0,activatorProps:l.value,"onClick:outside":M,onKeydown:v},D),{activator:r.activator,default:function(){for(var u=arguments.length,s=new Array(u),o=0;o{var c;return[(c=r.default)==null?void 0:c.call(r,...s)]}})}})}),Vc({id:m,ΨopenChildren:y},t)}});const fV=ur({active:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...Zr(),...dh({transition:{component:l_}})},"VCounter"),l1=Ar()({name:"VCounter",functional:!0,props:fV(),setup(n,e){let{slots:r}=e;const C=cn(()=>n.max?`${n.value} / ${n.max}`:String(n.value));return Or(()=>gt(Oc,{transition:n.transition},{default:()=>[Co(gt("div",{class:["v-counter",n.class],style:n.style},[r.default?r.default({counter:C.value,max:n.max,value:n.value}):C.value]),[[Mf,n.active]])]})),{}}});const hV=ur({floating:Boolean,...Zr()},"VFieldLabel"),um=Ar()({name:"VFieldLabel",props:hV(),setup(n,e){let{slots:r}=e;return Or(()=>gt(C0,{class:["v-field-label",{"v-field-label--floating":n.floating},n.class],style:n.style,"aria-hidden":n.floating||void 0},r)),{}}}),dV=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],u1=ur({appendInnerIcon:bi,bgColor:String,clearable:Boolean,clearIcon:{type:bi,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:bi,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:n=>dV.includes(n)},"onClick:clear":bf(),"onClick:appendInner":bf(),"onClick:prependInner":bf(),...Zr(),...m_(),...lo(),...oa()},"VField"),fg=Ar()({name:"VField",inheritAttrs:!1,props:{id:String,...r1(),...u1()},emits:{"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:C,slots:D}=e;const{themeClasses:k}=Ma(n),{loaderClasses:m}=t1(n),{focusClasses:t,isFocused:d,focus:y,blur:i}=rd(n),{InputIcon:M}=oA(n),{roundedClasses:v}=Eo(n),{rtlClasses:h}=Ls(),l=cn(()=>n.dirty||n.active),a=cn(()=>!n.singleLine&&!!(n.label||D.label)),u=Qs(),s=cn(()=>n.id||`input-${u}`),o=cn(()=>`${s.value}-messages`),c=Vr(),f=Vr(),p=Vr(),w=cn(()=>["plain","underlined"].includes(n.variant)),{backgroundColorClasses:g,backgroundColorStyles:S}=Oo(Cr(n,"bgColor")),{textColorClasses:x,textColorStyles:T}=Ks(cn(()=>n.error||n.disabled?void 0:l.value&&d.value?n.color:n.baseColor));Yr(l,A=>{if(a.value){const L=c.value.$el,b=f.value.$el;requestAnimationFrame(()=>{const R=J2(L),I=b.getBoundingClientRect(),O=I.x-R.x,z=I.y-R.y-(R.height/2-I.height/2),F=I.width/.75,B=Math.abs(F-R.width)>1?{maxWidth:Qr(F)}:void 0,N=getComputedStyle(L),W=getComputedStyle(b),j=parseFloat(N.transitionDuration)*1e3||150,Y=parseFloat(W.getPropertyValue("--v-field-label-scale")),U=W.getPropertyValue("color");L.style.visibility="visible",b.style.visibility="hidden",Dd(L,{transform:`translate(${O}px, ${z}px) scale(${Y})`,color:U,...B},{duration:j,easing:zm,direction:A?"normal":"reverse"}).finished.then(()=>{L.style.removeProperty("visibility"),b.style.removeProperty("visibility")})})}},{flush:"post"});const E=cn(()=>({isActive:l,isFocused:d,controlRef:p,blur:i,focus:y}));function _(A){A.target!==document.activeElement&&A.preventDefault()}return Or(()=>{var O,z,F;const A=n.variant==="outlined",L=D["prepend-inner"]||n.prependInnerIcon,b=!!(n.clearable||D.clear),R=!!(D["append-inner"]||n.appendInnerIcon||b),I=D.label?D.label({...E.value,label:n.label,props:{for:s.value}}):n.label;return gt("div",qr({class:["v-field",{"v-field--active":l.value,"v-field--appended":R,"v-field--center-affix":n.centerAffix??!w.value,"v-field--disabled":n.disabled,"v-field--dirty":n.dirty,"v-field--error":n.error,"v-field--flat":n.flat,"v-field--has-background":!!n.bgColor,"v-field--persistent-clear":n.persistentClear,"v-field--prepended":L,"v-field--reverse":n.reverse,"v-field--single-line":n.singleLine,"v-field--no-label":!I,[`v-field--variant-${n.variant}`]:!0},k.value,g.value,t.value,m.value,v.value,h.value,n.class],style:[S.value,n.style],onClick:_},r),[gt("div",{class:"v-field__overlay"},null),gt(g_,{name:"v-field",active:!!n.loading,color:n.error?"error":typeof n.loading=="string"?n.loading:n.color},{default:D.loader}),L&>("div",{key:"prepend",class:"v-field__prepend-inner"},[n.prependInnerIcon&>(M,{key:"prepend-icon",name:"prependInner"},null),(O=D["prepend-inner"])==null?void 0:O.call(D,E.value)]),gt("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(n.variant)&&a.value&>(um,{key:"floating-label",ref:f,class:[x.value],floating:!0,for:s.value,style:T.value},{default:()=>[I]}),gt(um,{ref:c,for:s.value},{default:()=>[I]}),(z=D.default)==null?void 0:z.call(D,{...E.value,props:{id:s.value,class:"v-field__input","aria-describedby":o.value},focus:y,blur:i})]),b&>(u_,{key:"clear"},{default:()=>[Co(gt("div",{class:"v-field__clearable",onMousedown:B=>{B.preventDefault(),B.stopPropagation()}},[D.clear?D.clear():gt(M,{name:"clear"},null)]),[[Mf,n.dirty]])]}),R&>("div",{key:"append",class:"v-field__append-inner"},[(F=D["append-inner"])==null?void 0:F.call(D,E.value),n.appendInnerIcon&>(M,{key:"append-icon",name:"appendInner"},null)]),gt("div",{class:["v-field__outline",x.value],style:T.value},[A&>($r,null,[gt("div",{class:"v-field__outline__start"},null),a.value&>("div",{class:"v-field__outline__notch"},[gt(um,{ref:f,floating:!0,for:s.value},{default:()=>[I]})]),gt("div",{class:"v-field__outline__end"},null)]),w.value&&a.value&>(um,{ref:f,floating:!0,for:s.value},{default:()=>[I]})])])}),{controlRef:p}}});function w_(n){const e=Object.keys(fg.props).filter(r=>!Z2(r)&&r!=="class"&&r!=="style");return Yd(n,e)}const pV=["color","file","time","date","datetime-local","week","month"],c1=ur({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object,...mh(),...u1()},"VTextField"),Kd=Ar()({name:"VTextField",directives:{Intersect:og},inheritAttrs:!1,props:c1(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:C,slots:D}=e;const k=xi(n,"modelValue"),{isFocused:m,focus:t,blur:d}=rd(n),y=cn(()=>typeof n.counterValue=="function"?n.counterValue(k.value):(k.value??"").toString().length),i=cn(()=>{if(r.maxlength)return r.maxlength;if(!(!n.counter||typeof n.counter!="number"&&typeof n.counter!="string"))return n.counter}),M=cn(()=>["plain","underlined"].includes(n.variant));function v(w,g){var S,x;!n.autofocus||!w||(x=(S=g[0].target)==null?void 0:S.focus)==null||x.call(S)}const h=Vr(),l=Vr(),a=Vr(),u=cn(()=>pV.includes(n.type)||n.persistentPlaceholder||m.value||n.active);function s(){var w;a.value!==document.activeElement&&((w=a.value)==null||w.focus()),m.value||t()}function o(w){C("mousedown:control",w),w.target!==a.value&&(s(),w.preventDefault())}function c(w){s(),C("click:control",w)}function f(w){w.stopPropagation(),s(),Ua(()=>{k.value=null,K2(n["onClick:clear"],w)})}function p(w){var S;const g=w.target;if(k.value=g.value,(S=n.modelModifiers)!=null&&S.trim&&["text","search","password","tel","url"].includes(n.type)){const x=[g.selectionStart,g.selectionEnd];Ua(()=>{g.selectionStart=x[0],g.selectionEnd=x[1]})}}return Or(()=>{const w=!!(D.counter||n.counter||n.counterValue),g=!!(w||D.details),[S,x]=Qd(r),[{modelValue:T,...E}]=Ns.filterProps(n),[_]=w_(n);return gt(Ns,qr({ref:h,modelValue:k.value,"onUpdate:modelValue":A=>k.value=A,class:["v-text-field",{"v-text-field--prefixed":n.prefix,"v-text-field--suffixed":n.suffix,"v-text-field--plain-underlined":["plain","underlined"].includes(n.variant)},n.class],style:n.style},S,E,{centerAffix:!M.value,focused:m.value}),{...D,default:A=>{let{id:L,isDisabled:b,isDirty:R,isReadonly:I,isValid:O}=A;return gt(fg,qr({ref:l,onMousedown:o,onClick:c,"onClick:clear":f,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"],role:n.role},_,{id:L.value,active:u.value||R.value,dirty:R.value||n.dirty,disabled:b.value,focused:m.value,error:O.value===!1}),{...D,default:z=>{let{props:{class:F,...B}}=z;const N=Co(gt("input",qr({ref:a,value:k.value,onInput:p,autofocus:n.autofocus,readonly:I.value,disabled:b.value,name:n.name,placeholder:n.placeholder,size:1,type:n.type,onFocus:s,onBlur:d},B,x),null),[[Tu("intersect"),{handler:v},null,{once:!0}]]);return gt($r,null,[n.prefix&>("span",{class:"v-text-field__prefix"},[gt("span",{class:"v-text-field__prefix__text"},[n.prefix])]),D.default?gt("div",{class:F,"data-no-activator":""},[D.default(),N]):nh(N,{class:F}),n.suffix&>("span",{class:"v-text-field__suffix"},[gt("span",{class:"v-text-field__suffix__text"},[n.suffix])])])}})},details:g?A=>{var L;return gt($r,null,[(L=D.details)==null?void 0:L.call(D,A),w&>($r,null,[gt("span",null,null),gt(l1,{active:n.persistentCounter||m.value,value:y.value,max:i.value},D.counter)])])}:void 0})}),Vc({},h,l,a)}});const mV=ur({renderless:Boolean,...Zr()},"VVirtualScrollItem"),gV=Ar()({name:"VVirtualScrollItem",inheritAttrs:!1,props:mV(),emits:{"update:height":n=>!0},setup(n,e){let{attrs:r,emit:C,slots:D}=e;const{resizeRef:k,contentRect:m}=kf(void 0,"border");Yr(()=>{var t;return(t=m.value)==null?void 0:t.height},t=>{t!=null&&C("update:height",t)}),Or(()=>{var t,d;return n.renderless?gt($r,null,[(t=D.default)==null?void 0:t.call(D,{itemRef:k})]):gt("div",qr({ref:k,class:["v-virtual-scroll__item",n.class],style:n.style},r),[(d=D.default)==null?void 0:d.call(D)])})}}),aT=-1,oT=1,vV=ur({itemHeight:{type:[Number,String],default:48}},"virtual");function yV(n,e,r){const C=Wr(0),D=Wr(n.itemHeight),k=cn({get:()=>parseInt(D.value??0,10),set(g){D.value=g}}),m=Vr(),{resizeRef:t,contentRect:d}=kf();wu(()=>{t.value=m.value});const y=ep(),i=new Map;let M=Array.from({length:e.value.length});const v=cn(()=>{const g=(!d.value||m.value===document.documentElement?y.height.value:d.value.height)-((r==null?void 0:r.value)??0);return Math.ceil(g/k.value*1.7+1)});function h(g,S){k.value=Math.max(k.value,S),M[g]=S,i.set(e.value[g],S)}function l(g){return M.slice(0,g).reduce((S,x)=>S+(x||k.value),0)}function a(g){const S=e.value.length;let x=0,T=0;for(;T=A&&(C.value=Xs(_,0,e.value.length-v.value)),u=S}function o(g){if(!m.value)return;const S=l(g);m.value.scrollTop=S}const c=cn(()=>Math.min(e.value.length,C.value+v.value)),f=cn(()=>e.value.slice(C.value,c.value).map((g,S)=>({raw:g,index:S+C.value}))),p=cn(()=>l(C.value)),w=cn(()=>l(e.value.length)-l(c.value));return Yr(()=>e.value.length,()=>{M=Jf(e.value.length).map(()=>k.value),i.forEach((g,S)=>{const x=e.value.indexOf(S);x===-1?i.delete(S):M[x]=g})}),{containerRef:m,computedItems:f,itemHeight:k,paddingTop:p,paddingBottom:w,scrollToIndex:o,handleScroll:s,handleItemResize:h}}const bV=ur({items:{type:Array,default:()=>[]},renderless:Boolean,...vV(),...Zr(),...sc()},"VVirtualScroll"),f1=Ar()({name:"VVirtualScroll",props:bV(),setup(n,e){let{slots:r}=e;const C=Es("VVirtualScroll"),{dimensionStyles:D}=lc(n),{containerRef:k,handleScroll:m,handleItemResize:t,scrollToIndex:d,paddingTop:y,paddingBottom:i,computedItems:M}=yV(n,Cr(n,"items"));return Yh(()=>n.renderless,()=>{Js(()=>{var v;k.value=t_(C.vnode.el,!0),(v=k.value)==null||v.addEventListener("scroll",m)}),Tl(()=>{var v;(v=k.value)==null||v.removeEventListener("scroll",m)})}),Or(()=>{const v=M.value.map(h=>gt(gV,{key:h.index,renderless:n.renderless,"onUpdate:height":l=>t(h.index,l)},{default:l=>{var a;return(a=r.default)==null?void 0:a.call(r,{item:h.raw,index:h.index,...l})}}));return n.renderless?gt($r,null,[gt("div",{class:"v-virtual-scroll__spacer",style:{paddingTop:Qr(y.value)}},null),v,gt("div",{class:"v-virtual-scroll__spacer",style:{paddingBottom:Qr(i.value)}},null)]):gt("div",{ref:k,class:["v-virtual-scroll",n.class],onScroll:m,style:[D.value,n.style]},[gt("div",{class:"v-virtual-scroll__container",style:{paddingTop:Qr(y.value),paddingBottom:Qr(i.value)}},[v])])}),{scrollToIndex:d}}});function T_(n,e){const r=Wr(!1);let C;function D(t){cancelAnimationFrame(C),r.value=!0,C=requestAnimationFrame(()=>{C=requestAnimationFrame(()=>{r.value=!1})})}async function k(){await new Promise(t=>requestAnimationFrame(t)),await new Promise(t=>requestAnimationFrame(t)),await new Promise(t=>requestAnimationFrame(t)),await new Promise(t=>{if(r.value){const d=Yr(r,()=>{d(),t()})}else t()})}async function m(t){var i,M;if(t.key==="Tab"&&((i=e.value)==null||i.focus()),!["PageDown","PageUp","Home","End"].includes(t.key))return;const d=(M=n.value)==null?void 0:M.$el;if(!d)return;(t.key==="Home"||t.key==="End")&&d.scrollTo({top:t.key==="Home"?0:d.scrollHeight,behavior:"smooth"}),await k();const y=d.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");if(t.key==="PageDown"||t.key==="Home"){const v=d.getBoundingClientRect().top;for(const h of y)if(h.getBoundingClientRect().top>=v){h.focus();break}}else{const v=d.getBoundingClientRect().bottom;for(const h of[...y].reverse())if(h.getBoundingClientRect().bottom<=v){h.focus();break}}}return{onListScroll:D,onListKeydown:m}}const k_=ur({chips:Boolean,closableChips:Boolean,closeText:{type:String,default:"$vuetify.close"},openText:{type:String,default:"$vuetify.open"},eager:Boolean,hideNoData:Boolean,hideSelected:Boolean,menu:Boolean,menuIcon:{type:bi,default:"$dropdown"},menuProps:{type:Object},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,itemColor:String,...TA({itemChildren:!1})},"Select"),xV=ur({...k_(),...ic(c1({modelValue:null,role:"button"}),["validationValue","dirty","appendInnerIcon"]),...dh({transition:{component:Qy}})},"VSelect"),_V=Ar()({name:"VSelect",props:xV(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,"update:menu":n=>!0},setup(n,e){let{slots:r}=e;const{t:C}=oc(),D=Vr(),k=Vr(),m=Vr(),t=xi(n,"menu"),d=cn({get:()=>t.value,set:R=>{var I;t.value&&!R&&((I=k.value)!=null&&I.ΨopenChildren)||(t.value=R)}}),{items:y,transformIn:i,transformOut:M}=x_(n),v=xi(n,"modelValue",[],R=>i(R===null?[null]:bu(R)),R=>{const I=M(R);return n.multiple?I:I[0]??null}),h=i1(),l=cn(()=>v.value.map(R=>R.value)),a=Wr(!1),u=cn(()=>d.value?n.closeText:n.openText);let s="",o;const c=cn(()=>n.hideSelected?y.value.filter(R=>!v.value.some(I=>I===R)):y.value),f=cn(()=>n.hideNoData&&!y.value.length||n.readonly||(h==null?void 0:h.isReadonly.value)),p=Vr(),{onListScroll:w,onListKeydown:g}=T_(p,D);function S(R){n.openOnClear&&(d.value=!0)}function x(){f.value||(d.value=!d.value)}function T(R){var B,N;if(!R.key||n.readonly||h!=null&&h.isReadonly.value)return;["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(R.key)&&R.preventDefault(),["Enter","ArrowDown"," "].includes(R.key)&&(d.value=!0),["Escape","Tab"].includes(R.key)&&(d.value=!1),R.key==="Home"?(B=p.value)==null||B.focus("first"):R.key==="End"&&((N=p.value)==null||N.focus("last"));const I=1e3;function O(W){const j=W.key.length===1,Y=!W.ctrlKey&&!W.metaKey&&!W.altKey;return j&&Y}if(n.multiple||!O(R))return;const z=performance.now();z-o>I&&(s=""),s+=R.key.toLowerCase(),o=z;const F=y.value.find(W=>W.title.toLowerCase().startsWith(s));F!==void 0&&(v.value=[F])}function E(R){if(n.multiple){const I=v.value.findIndex(O=>n.valueComparator(O.value,R.value));if(I===-1)v.value=[...v.value,R];else{const O=[...v.value];O.splice(I,1),v.value=O}}else v.value=[R],d.value=!1}function _(R){var I;(I=p.value)!=null&&I.$el.contains(R.relatedTarget)||(d.value=!1)}function A(){var R;a.value&&((R=D.value)==null||R.focus())}function L(R){a.value=!0}function b(R){if(R==null)v.value=[];else if(l0(D.value,":autofill")||l0(D.value,":-webkit-autofill")){const I=y.value.find(O=>O.title===R);I&&E(I)}else D.value&&(D.value.value="")}return Yr(d,()=>{if(!n.hideSelected&&d.value&&v.value.length){const R=c.value.findIndex(I=>v.value.some(O=>n.valueComparator(O.value,I.value)));to&&window.requestAnimationFrame(()=>{var I;R>=0&&((I=m.value)==null||I.scrollToIndex(R))})}}),Or(()=>{const R=!!(n.chips||r.chip),I=!!(!n.hideNoData||c.value.length||r["prepend-item"]||r["append-item"]||r["no-data"]),O=v.value.length>0,[z]=Kd.filterProps(n),F=O||!a.value&&n.label&&!n.persistentPlaceholder?void 0:n.placeholder;return gt(Kd,qr({ref:D},z,{modelValue:v.value.map(B=>B.props.value).join(", "),"onUpdate:modelValue":b,focused:a.value,"onUpdate:focused":B=>a.value=B,validationValue:v.externalValue,dirty:O,class:["v-select",{"v-select--active-menu":d.value,"v-select--chips":!!n.chips,[`v-select--${n.multiple?"multiple":"single"}`]:!0,"v-select--selected":v.value.length,"v-select--selection-slot":!!r.selection},n.class],style:n.style,inputmode:"none",placeholder:F,"onClick:clear":S,"onMousedown:control":x,onBlur:_,onKeydown:T,"aria-label":C(u.value),title:C(u.value)}),{...r,default:()=>gt($r,null,[gt(s1,qr({ref:k,modelValue:d.value,"onUpdate:modelValue":B=>d.value=B,activator:"parent",contentClass:"v-select__content",disabled:f.value,eager:n.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:n.transition,onAfterLeave:A},n.menuProps),{default:()=>[I&>(a1,{ref:p,selected:l.value,selectStrategy:n.multiple?"independent":"single-independent",onMousedown:B=>B.preventDefault(),onKeydown:g,onFocusin:L,onScrollPassive:w,tabindex:"-1",color:n.itemColor??n.color},{default:()=>{var B,N,W;return[(B=r["prepend-item"])==null?void 0:B.call(r),!c.value.length&&!n.hideNoData&&(((N=r["no-data"])==null?void 0:N.call(r))??gt(ah,{title:C(n.noDataText)},null)),gt(f1,{ref:m,renderless:!0,items:c.value},{default:j=>{var H;let{item:Y,index:U,itemRef:G}=j;const q=qr(Y.props,{ref:G,key:U,onClick:()=>E(Y)});return((H=r.item)==null?void 0:H.call(r,{item:Y,index:U,props:q}))??gt(ah,q,{prepend:ne=>{let{isSelected:te}=ne;return gt($r,null,[n.multiple&&!n.hideSelected?gt(f0,{key:Y.value,modelValue:te,ripple:!1,tabindex:"-1"},null):void 0,Y.props.prependIcon&>(ja,{icon:Y.props.prependIcon},null)])}})}}),(W=r["append-item"])==null?void 0:W.call(r)]}})]}),v.value.map((B,N)=>{var Y;function W(U){U.stopPropagation(),U.preventDefault(),E(B)}const j={"onClick:close":W,onMousedown(U){U.preventDefault(),U.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return gt("div",{key:B.value,class:"v-select__selection"},[R?r.chip?gt(Fa,{key:"chip-defaults",defaults:{VChip:{closable:n.closableChips,size:"small",text:B.title}}},{default:()=>{var U;return[(U=r.chip)==null?void 0:U.call(r,{item:B,index:N,props:j})]}}):gt(ug,qr({key:"chip",closable:n.closableChips,size:"small",text:B.title},j),null):((Y=r.selection)==null?void 0:Y.call(r,{item:B,index:N}))??gt("span",{class:"v-select__selection-text"},[B.title,n.multiple&&Nn==null||e==null?-1:n.toString().toLocaleLowerCase().indexOf(e.toString().toLocaleLowerCase()),OA=ur({customFilter:Function,customKeyFilter:Object,filterKeys:[Array,String],filterMode:{type:String,default:"intersection"},noFilter:Boolean},"filter");function TV(n,e,r){var t;const C=[],D=(r==null?void 0:r.default)??wV,k=r!=null&&r.filterKeys?bu(r.filterKeys):!1,m=Object.keys((r==null?void 0:r.customKeyFilter)??{}).length;if(!(n!=null&&n.length))return C;e:for(let d=0;dC!=null&&C.transform?yu(e).map(d=>[d,C.transform(d)]):yu(e));wu(()=>{const d=typeof r=="function"?r():yu(r),y=typeof d!="string"&&typeof d!="number"?"":String(d),i=TV(m.value,y,{customKeyFilter:n.customKeyFilter,default:n.customFilter,filterKeys:n.filterKeys,filterMode:n.filterMode,noFilter:n.noFilter}),M=yu(e),v=[],h=new Map;i.forEach(l=>{let{index:a,matches:u}=l;const s=M[a];v.push(s),h.set(s.value,u)}),D.value=v,k.value=h});function t(d){return k.value.get(d.value)}return{filteredItems:D,filteredMatches:k,getMatches:t}}function kV(n,e,r){if(e==null)return n;if(Array.isArray(e))throw new Error("Multiple matches is not implemented");return typeof e=="number"&&~e?gt($r,null,[gt("span",{class:"v-autocomplete__unmask"},[n.substr(0,e)]),gt("span",{class:"v-autocomplete__mask"},[n.substr(e,r)]),gt("span",{class:"v-autocomplete__unmask"},[n.substr(e+r)])]):n}const MV=ur({autoSelectFirst:{type:[Boolean,String]},search:String,...OA({filterKeys:["title"]}),...k_(),...ic(c1({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...dh({transition:!1})},"VAutocomplete"),AV=Ar()({name:"VAutocomplete",props:MV(),emits:{"update:focused":n=>!0,"update:search":n=>!0,"update:modelValue":n=>!0,"update:menu":n=>!0},setup(n,e){let{slots:r}=e;const{t:C}=oc(),D=Vr(),k=Wr(!1),m=Wr(!0),t=Wr(!1),d=Vr(),y=Vr(),i=xi(n,"menu"),M=cn({get:()=>i.value,set:q=>{var H;i.value&&!q&&((H=d.value)!=null&&H.ΨopenChildren)||(i.value=q)}}),v=Wr(-1),h=cn(()=>{var q;return(q=D.value)==null?void 0:q.color}),l=cn(()=>M.value?n.closeText:n.openText),{items:a,transformIn:u,transformOut:s}=x_(n),{textColorClasses:o,textColorStyles:c}=Ks(h),f=xi(n,"search",""),p=xi(n,"modelValue",[],q=>u(q===null?[null]:bu(q)),q=>{const H=s(q);return n.multiple?H:H[0]??null}),w=i1(),{filteredItems:g,getMatches:S}=DA(n,a,()=>m.value?"":f.value),x=cn(()=>n.hideSelected?g.value.filter(q=>!p.value.some(H=>H.value===q.value)):g.value),T=cn(()=>p.value.map(q=>q.props.value)),E=cn(()=>{var H;return(n.autoSelectFirst===!0||n.autoSelectFirst==="exact"&&f.value===((H=x.value[0])==null?void 0:H.title))&&x.value.length>0&&!m.value&&!t.value}),_=cn(()=>n.hideNoData&&!a.value.length||n.readonly||(w==null?void 0:w.isReadonly.value)),A=Vr(),{onListScroll:L,onListKeydown:b}=T_(A,D);function R(q){n.openOnClear&&(M.value=!0),f.value=""}function I(){_.value||(M.value=!0)}function O(q){_.value||(k.value&&(q.preventDefault(),q.stopPropagation()),M.value=!M.value)}function z(q){var te,Z,X;if(n.readonly||w!=null&&w.isReadonly.value)return;const H=D.value.selectionStart,ne=p.value.length;if((v.value>-1||["Enter","ArrowDown","ArrowUp"].includes(q.key))&&q.preventDefault(),["Enter","ArrowDown"].includes(q.key)&&(M.value=!0),["Escape"].includes(q.key)&&(M.value=!1),E.value&&["Enter","Tab"].includes(q.key)&&G(x.value[0]),q.key==="ArrowDown"&&E.value&&((te=A.value)==null||te.focus("next")),!!n.multiple){if(["Backspace","Delete"].includes(q.key)){if(v.value<0){q.key==="Backspace"&&!f.value&&(v.value=ne-1);return}const Q=v.value,re=p.value[v.value];re&&G(re),v.value=Q>=ne-1?ne-2:Q}if(q.key==="ArrowLeft"){if(v.value<0&&H>0)return;const Q=v.value>-1?v.value-1:ne-1;p.value[Q]?v.value=Q:(v.value=-1,D.value.setSelectionRange((Z=f.value)==null?void 0:Z.length,(X=f.value)==null?void 0:X.length))}if(q.key==="ArrowRight"){if(v.value<0)return;const Q=v.value+1;p.value[Q]?v.value=Q:(v.value=-1,D.value.setSelectionRange(0,0))}}}function F(q){f.value=q.target.value}function B(q){if(l0(D.value,":autofill")||l0(D.value,":-webkit-autofill")){const H=a.value.find(ne=>ne.title===q.target.value);H&&G(H)}}function N(){var q;k.value&&(m.value=!0,(q=D.value)==null||q.focus())}function W(q){k.value=!0,setTimeout(()=>{t.value=!0})}function j(q){t.value=!1}function Y(q){(q==null||q===""&&!n.multiple)&&(p.value=[])}const U=Wr(!1);function G(q){if(n.multiple){const H=p.value.findIndex(ne=>n.valueComparator(ne.value,q.value));if(H===-1)p.value=[...p.value,q];else{const ne=[...p.value];ne.splice(H,1),p.value=ne}}else p.value=[q],U.value=!0,f.value=q.title,M.value=!1,m.value=!0,Ua(()=>U.value=!1)}return Yr(k,(q,H)=>{var ne;q!==H&&(q?(U.value=!0,f.value=n.multiple?"":String(((ne=p.value.at(-1))==null?void 0:ne.props.title)??""),m.value=!0,Ua(()=>U.value=!1)):(!n.multiple&&!f.value?p.value=[]:E.value&&!t.value&&!p.value.some(te=>{let{value:Z}=te;return Z===x.value[0].value})&&G(x.value[0]),M.value=!1,f.value="",v.value=-1))}),Yr(f,q=>{!k.value||U.value||(q&&(M.value=!0),m.value=!q)}),Yr(M,()=>{if(!n.hideSelected&&M.value&&p.value.length){const q=x.value.findIndex(H=>p.value.some(ne=>H.value===ne.value));to&&window.requestAnimationFrame(()=>{var H;q>=0&&((H=y.value)==null||H.scrollToIndex(q))})}}),Or(()=>{const q=!!(n.chips||r.chip),H=!!(!n.hideNoData||x.value.length||r["prepend-item"]||r["append-item"]||r["no-data"]),ne=p.value.length>0,[te]=Kd.filterProps(n);return gt(Kd,qr({ref:D},te,{modelValue:f.value,"onUpdate:modelValue":Y,focused:k.value,"onUpdate:focused":Z=>k.value=Z,validationValue:p.externalValue,dirty:ne,onInput:F,onChange:B,class:["v-autocomplete",`v-autocomplete--${n.multiple?"multiple":"single"}`,{"v-autocomplete--active-menu":M.value,"v-autocomplete--chips":!!n.chips,"v-autocomplete--selection-slot":!!r.selection,"v-autocomplete--selecting-index":v.value>-1},n.class],style:n.style,readonly:n.readonly,placeholder:ne?void 0:n.placeholder,"onClick:clear":R,"onMousedown:control":I,onKeydown:z}),{...r,default:()=>gt($r,null,[gt(s1,qr({ref:d,modelValue:M.value,"onUpdate:modelValue":Z=>M.value=Z,activator:"parent",contentClass:"v-autocomplete__content",disabled:_.value,eager:n.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:n.transition,onAfterLeave:N},n.menuProps),{default:()=>[H&>(a1,{ref:A,selected:T.value,selectStrategy:n.multiple?"independent":"single-independent",onMousedown:Z=>Z.preventDefault(),onKeydown:b,onFocusin:W,onFocusout:j,onScrollPassive:L,tabindex:"-1",color:n.itemColor??n.color},{default:()=>{var Z,X,Q;return[(Z=r["prepend-item"])==null?void 0:Z.call(r),!x.value.length&&!n.hideNoData&&(((X=r["no-data"])==null?void 0:X.call(r))??gt(ah,{title:C(n.noDataText)},null)),gt(f1,{ref:y,renderless:!0,items:x.value},{default:re=>{var ye;let{item:ie,index:oe,itemRef:ue}=re;const ce=qr(ie.props,{ref:ue,key:oe,active:E.value&&oe===0?!0:void 0,onClick:()=>G(ie)});return((ye=r.item)==null?void 0:ye.call(r,{item:ie,index:oe,props:ce}))??gt(ah,ce,{prepend:de=>{let{isSelected:me}=de;return gt($r,null,[n.multiple&&!n.hideSelected?gt(f0,{key:ie.value,modelValue:me,ripple:!1,tabindex:"-1"},null):void 0,ie.props.prependIcon&>(ja,{icon:ie.props.prependIcon},null)])},title:()=>{var de,me;return m.value?ie.title:kV(ie.title,(de=S(ie))==null?void 0:de.title,((me=f.value)==null?void 0:me.length)??0)}})}}),(Q=r["append-item"])==null?void 0:Q.call(r)]}})]}),p.value.map((Z,X)=>{var ie;function Q(oe){oe.stopPropagation(),oe.preventDefault(),G(Z)}const re={"onClick:close":Q,onMousedown(oe){oe.preventDefault(),oe.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return gt("div",{key:Z.value,class:["v-autocomplete__selection",X===v.value&&["v-autocomplete__selection--selected",o.value]],style:X===v.value?c.value:{}},[q?r.chip?gt(Fa,{key:"chip-defaults",defaults:{VChip:{closable:n.closableChips,size:"small",text:Z.title}}},{default:()=>{var oe;return[(oe=r.chip)==null?void 0:oe.call(r,{item:Z,index:X,props:re})]}}):gt(ug,qr({key:"chip",closable:n.closableChips,size:"small",text:Z.title},re),null):((ie=r.selection)==null?void 0:ie.call(r,{item:Z,index:X}))??gt("span",{class:"v-autocomplete__selection-text"},[Z.title,n.multiple&&X(n.floating?n.dot?2:4:n.dot?8:12)+(["top","bottom"].includes(i)?+(n.offsetY??0):["left","right"].includes(i)?+(n.offsetX??0):0));return Or(()=>{const i=Number(n.content),M=!n.max||isNaN(i)?n.content:i<=+n.max?i:`${n.max}+`,[v,h]=Yd(e.attrs,["aria-atomic","aria-label","aria-live","role","title"]);return gt(n.tag,qr({class:["v-badge",{"v-badge--bordered":n.bordered,"v-badge--dot":n.dot,"v-badge--floating":n.floating,"v-badge--inline":n.inline},n.class]},h,{style:n.style}),{default:()=>{var l,a;return[gt("div",{class:"v-badge__wrapper"},[(a=(l=e.slots).default)==null?void 0:a.call(l),gt(Oc,{transition:n.transition},{default:()=>{var u,s;return[Co(gt("span",qr({class:["v-badge__badge",d.value,r.value,D.value,m.value],style:[C.value,t.value,n.inline?{}:y.value],"aria-atomic":"true","aria-label":k(n.label,i),"aria-live":"polite",role:"status"},v),[n.dot?void 0:e.slots.badge?(s=(u=e.slots).badge)==null?void 0:s.call(u):n.icon?gt(ja,{icon:n.icon},null):M]),[[Mf,n.modelValue]])]}})])]}})}),{}}});const EV=ur({color:String,density:String,...Zr()},"VBannerActions"),zA=Ar()({name:"VBannerActions",props:EV(),setup(n,e){let{slots:r}=e;return ns({VBtn:{color:n.color,density:n.density,variant:"text"}}),Or(()=>{var C;return gt("div",{class:["v-banner-actions",n.class],style:n.style},[(C=r.default)==null?void 0:C.call(r)])}),{}}}),FA=Nc("v-banner-text"),LV=ur({avatar:String,color:String,icon:bi,lines:String,stacked:Boolean,sticky:Boolean,text:String,...Cu(),...Zr(),...ps(),...sc(),...ds(),...ed(),...A0(),...lo(),...Si(),...oa()},"VBanner"),IV=Ar()({name:"VBanner",props:LV(),setup(n,e){let{slots:r}=e;const{borderClasses:C}=uc(n),{densityClasses:D}=el(n),{mobile:k}=ep(),{dimensionStyles:m}=lc(n),{elevationClasses:t}=Vs(n),{locationStyles:d}=td(n),{positionClasses:y}=S0(n),{roundedClasses:i}=Eo(n),{themeClasses:M}=Ma(n),v=Cr(n,"color"),h=Cr(n,"density");ns({VBannerActions:{color:v,density:h}}),Or(()=>{const l=!!(n.text||r.text),a=!!(n.avatar||n.icon),u=!!(a||r.prepend);return gt(n.tag,{class:["v-banner",{"v-banner--stacked":n.stacked||k.value,"v-banner--sticky":n.sticky,[`v-banner--${n.lines}-line`]:!!n.lines},C.value,D.value,t.value,y.value,i.value,M.value,n.class],style:[m.value,d.value,n.style],role:"banner"},{default:()=>{var s;return[u&>("div",{key:"prepend",class:"v-banner__prepend"},[r.prepend?gt(Fa,{key:"prepend-defaults",disabled:!a,defaults:{VAvatar:{color:v.value,density:h.value,icon:n.icon,image:n.avatar}}},r.prepend):gt(Zh,{key:"prepend-avatar",color:v.value,density:h.value,icon:n.icon,image:n.avatar},null)]),gt("div",{class:"v-banner__content"},[l&>(FA,{key:"text"},{default:()=>{var o;return[((o=r.text)==null?void 0:o.call(r))??n.text]}}),(s=r.default)==null?void 0:s.call(r)]),r.actions&>(zA,{key:"actions"},r.actions)]}})})}});const RV=ur({bgColor:String,color:String,grow:Boolean,mode:{type:String,validator:n=>!n||["horizontal","shift"].includes(n)},height:{type:[Number,String],default:56},active:{type:Boolean,default:!0},...Cu(),...Zr(),...ps(),...ds(),...lo(),...x0({name:"bottom-navigation"}),...Si({tag:"header"}),...w0({modelValue:!0,selectedClass:"v-btn--selected"}),...oa()},"VBottomNavigation"),PV=Ar()({name:"VBottomNavigation",props:RV(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:C}=I6(),{borderClasses:D}=uc(n),{backgroundColorClasses:k,backgroundColorStyles:m}=Oo(Cr(n,"bgColor")),{densityClasses:t}=el(n),{elevationClasses:d}=Vs(n),{roundedClasses:y}=Eo(n),{ssrBootStyles:i}=tp(),M=cn(()=>Number(n.height)-(n.density==="comfortable"?8:0)-(n.density==="compact"?16:0)),v=Cr(n,"active"),{layoutItemStyles:h}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:cn(()=>"bottom"),layoutSize:cn(()=>v.value?M.value:0),elementSize:M,active:v,absolute:Cr(n,"absolute")});return ip(n,f_),ns({VBtn:{color:Cr(n,"color"),density:Cr(n,"density"),stacked:cn(()=>n.mode!=="horizontal"),variant:"text"}},{scoped:!0}),Or(()=>gt(n.tag,{class:["v-bottom-navigation",{"v-bottom-navigation--active":v.value,"v-bottom-navigation--grow":n.grow,"v-bottom-navigation--shift":n.mode==="shift"},C.value,k.value,D.value,t.value,d.value,y.value,n.class],style:[m.value,h.value,{height:Qr(M.value),transform:`translateY(${Qr(v.value?0:100,"%")})`},i.value,n.style]},{default:()=>[r.default&>("div",{class:"v-bottom-navigation__content"},[r.default()])]})),{}}});const OV=ur({divider:[Number,String],...Zr()},"VBreadcrumbsDivider"),BA=Ar()({name:"VBreadcrumbsDivider",props:OV(),setup(n,e){let{slots:r}=e;return Or(()=>{var C;return gt("li",{class:["v-breadcrumbs-divider",n.class],style:n.style},[((C=r==null?void 0:r.default)==null?void 0:C.call(r))??n.divider])}),{}}}),DV=ur({active:Boolean,activeClass:String,activeColor:String,color:String,disabled:Boolean,title:String,...Zr(),...lg(),...Si({tag:"li"})},"VBreadcrumbsItem"),NA=Ar()({name:"VBreadcrumbsItem",props:DV(),setup(n,e){let{slots:r,attrs:C}=e;const D=sg(n,C),k=cn(()=>{var y;return n.active||((y=D.isActive)==null?void 0:y.value)}),m=cn(()=>k.value?n.activeColor:n.color),{textColorClasses:t,textColorStyles:d}=Ks(m);return Or(()=>gt(n.tag,{class:["v-breadcrumbs-item",{"v-breadcrumbs-item--active":k.value,"v-breadcrumbs-item--disabled":n.disabled,[`${n.activeClass}`]:k.value&&n.activeClass},t.value,n.class],style:[d.value,n.style],"aria-current":k.value?"page":void 0},{default:()=>{var y,i;return[D.isLink.value?gt("a",{class:"v-breadcrumbs-item--link",href:D.href.value,"aria-current":k.value?"page":void 0,onClick:D.navigate},[((i=r.default)==null?void 0:i.call(r))??n.title]):((y=r.default)==null?void 0:y.call(r))??n.title]}})),{}}}),zV=ur({activeClass:String,activeColor:String,bgColor:String,color:String,disabled:Boolean,divider:{type:String,default:"/"},icon:bi,items:{type:Array,default:()=>[]},...Zr(),...ps(),...lo(),...Si({tag:"ul"})},"VBreadcrumbs"),FV=Ar()({name:"VBreadcrumbs",props:zV(),setup(n,e){let{slots:r}=e;const{backgroundColorClasses:C,backgroundColorStyles:D}=Oo(Cr(n,"bgColor")),{densityClasses:k}=el(n),{roundedClasses:m}=Eo(n);ns({VBreadcrumbsDivider:{divider:Cr(n,"divider")},VBreadcrumbsItem:{activeClass:Cr(n,"activeClass"),activeColor:Cr(n,"activeColor"),color:Cr(n,"color"),disabled:Cr(n,"disabled")}});const t=cn(()=>n.items.map(d=>typeof d=="string"?{item:{title:d},raw:d}:{item:d,raw:d}));return Or(()=>{const d=!!(r.prepend||n.icon);return gt(n.tag,{class:["v-breadcrumbs",C.value,k.value,m.value,n.class],style:[D.value,n.style]},{default:()=>{var y;return[d&>("li",{key:"prepend",class:"v-breadcrumbs__prepend"},[r.prepend?gt(Fa,{key:"prepend-defaults",disabled:!n.icon,defaults:{VIcon:{icon:n.icon,start:!0}}},r.prepend):gt(ja,{key:"prepend-icon",start:!0,icon:n.icon},null)]),t.value.map((i,M,v)=>{let{item:h,raw:l}=i;return gt($r,null,[gt(NA,qr({key:h.title,disabled:M>=v.length-1},h),{default:r.title?()=>{var a;return(a=r.title)==null?void 0:a.call(r,{item:l,index:M})}:void 0}),M{var a;return(a=r.divider)==null?void 0:a.call(r,{item:l,index:M})}:void 0})])}),(y=r.default)==null?void 0:y.call(r)]}})}),{}}});const VA=Ar()({name:"VCardActions",props:Zr(),setup(n,e){let{slots:r}=e;return ns({VBtn:{variant:"text"}}),Or(()=>{var C;return gt("div",{class:["v-card-actions",n.class],style:n.style},[(C=r.default)==null?void 0:C.call(r)])}),{}}}),jA=Nc("v-card-subtitle"),UA=Nc("v-card-title"),BV=ur({appendAvatar:String,appendIcon:bi,prependAvatar:String,prependIcon:bi,subtitle:String,title:String,...Zr(),...ps()},"VCardItem"),HA=Ar()({name:"VCardItem",props:BV(),setup(n,e){let{slots:r}=e;return Or(()=>{var y;const C=!!(n.prependAvatar||n.prependIcon),D=!!(C||r.prepend),k=!!(n.appendAvatar||n.appendIcon),m=!!(k||r.append),t=!!(n.title||r.title),d=!!(n.subtitle||r.subtitle);return gt("div",{class:["v-card-item",n.class],style:n.style},[D&>("div",{key:"prepend",class:"v-card-item__prepend"},[r.prepend?gt(Fa,{key:"prepend-defaults",disabled:!C,defaults:{VAvatar:{density:n.density,icon:n.prependIcon,image:n.prependAvatar}}},r.prepend):C&>(Zh,{key:"prepend-avatar",density:n.density,icon:n.prependIcon,image:n.prependAvatar},null)]),gt("div",{class:"v-card-item__content"},[t&>(UA,{key:"title"},{default:()=>{var i;return[((i=r.title)==null?void 0:i.call(r))??n.title]}}),d&>(jA,{key:"subtitle"},{default:()=>{var i;return[((i=r.subtitle)==null?void 0:i.call(r))??n.subtitle]}}),(y=r.default)==null?void 0:y.call(r)]),m&>("div",{key:"append",class:"v-card-item__append"},[r.append?gt(Fa,{key:"append-defaults",disabled:!k,defaults:{VAvatar:{density:n.density,icon:n.appendIcon,image:n.appendAvatar}}},r.append):k&>(Zh,{key:"append-avatar",density:n.density,icon:n.appendIcon,image:n.appendAvatar},null)])])}),{}}}),GA=Nc("v-card-text"),NV=ur({appendAvatar:String,appendIcon:bi,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:bi,ripple:{type:[Boolean,Object],default:!0},subtitle:String,text:String,title:String,...Cu(),...Zr(),...ps(),...sc(),...ds(),...m_(),...ed(),...A0(),...lo(),...lg(),...Si(),...oa(),...cc({variant:"elevated"})},"VCard"),VV=Ar()({name:"VCard",directives:{Ripple:nd},props:NV(),setup(n,e){let{attrs:r,slots:C}=e;const{themeClasses:D}=Ma(n),{borderClasses:k}=uc(n),{colorClasses:m,colorStyles:t,variantClasses:d}=rp(n),{densityClasses:y}=el(n),{dimensionStyles:i}=lc(n),{elevationClasses:M}=Vs(n),{loaderClasses:v}=t1(n),{locationStyles:h}=td(n),{positionClasses:l}=S0(n),{roundedClasses:a}=Eo(n),u=sg(n,r),s=cn(()=>n.link!==!1&&u.isLink.value),o=cn(()=>!n.disabled&&n.link!==!1&&(n.link||u.isClickable.value));return Or(()=>{const c=s.value?"a":n.tag,f=!!(C.title||n.title),p=!!(C.subtitle||n.subtitle),w=f||p,g=!!(C.append||n.appendAvatar||n.appendIcon),S=!!(C.prepend||n.prependAvatar||n.prependIcon),x=!!(C.image||n.image),T=w||S||g,E=!!(C.text||n.text);return Co(gt(c,{class:["v-card",{"v-card--disabled":n.disabled,"v-card--flat":n.flat,"v-card--hover":n.hover&&!(n.disabled||n.flat),"v-card--link":o.value},D.value,k.value,m.value,y.value,M.value,v.value,l.value,a.value,d.value,n.class],style:[t.value,i.value,h.value,n.style],href:u.href.value,onClick:o.value&&u.navigate,tabindex:n.disabled?-1:void 0},{default:()=>{var _;return[x&>("div",{key:"image",class:"v-card__image"},[C.image?gt(Fa,{key:"image-defaults",disabled:!n.image,defaults:{VImg:{cover:!0,src:n.image}}},C.image):gt(Zd,{key:"image-img",cover:!0,src:n.image},null)]),gt(g_,{name:"v-card",active:!!n.loading,color:typeof n.loading=="boolean"?void 0:n.loading},{default:C.loader}),T&>(HA,{key:"item",prependAvatar:n.prependAvatar,prependIcon:n.prependIcon,title:n.title,subtitle:n.subtitle,appendAvatar:n.appendAvatar,appendIcon:n.appendIcon},{default:C.item,prepend:C.prepend,title:C.title,subtitle:C.subtitle,append:C.append}),E&>(GA,{key:"text"},{default:()=>{var A;return[((A=C.text)==null?void 0:A.call(C))??n.text]}}),(_=C.default)==null?void 0:_.call(C),C.actions&>(VA,null,{default:C.actions}),np(o.value,"v-card")]}}),[[Tu("ripple"),o.value&&n.ripple]])}),{}}});const jV=n=>{const{touchstartX:e,touchendX:r,touchstartY:C,touchendY:D}=n,k=.5,m=16;n.offsetX=r-e,n.offsetY=D-C,Math.abs(n.offsetY)e+m&&n.right(n)),Math.abs(n.offsetX)C+m&&n.down(n))};function UV(n,e){var C;const r=n.changedTouches[0];e.touchstartX=r.clientX,e.touchstartY=r.clientY,(C=e.start)==null||C.call(e,{originalEvent:n,...e})}function HV(n,e){var C;const r=n.changedTouches[0];e.touchendX=r.clientX,e.touchendY=r.clientY,(C=e.end)==null||C.call(e,{originalEvent:n,...e}),jV(e)}function GV(n,e){var C;const r=n.changedTouches[0];e.touchmoveX=r.clientX,e.touchmoveY=r.clientY,(C=e.move)==null||C.call(e,{originalEvent:n,...e})}function qV(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const e={touchstartX:0,touchstartY:0,touchendX:0,touchendY:0,touchmoveX:0,touchmoveY:0,offsetX:0,offsetY:0,left:n.left,right:n.right,up:n.up,down:n.down,start:n.start,move:n.move,end:n.end};return{touchstart:r=>UV(r,e),touchend:r=>HV(r,e),touchmove:r=>GV(r,e)}}function WV(n,e){var t;const r=e.value,C=r!=null&&r.parent?n.parentElement:n,D=(r==null?void 0:r.options)??{passive:!0},k=(t=e.instance)==null?void 0:t.$.uid;if(!C||!k)return;const m=qV(e.value);C._touchHandlers=C._touchHandlers??Object.create(null),C._touchHandlers[k]=m,u6(m).forEach(d=>{C.addEventListener(d,m[d],D)})}function $V(n,e){var k,m;const r=(k=e.value)!=null&&k.parent?n.parentElement:n,C=(m=e.instance)==null?void 0:m.$.uid;if(!(r!=null&&r._touchHandlers)||!C)return;const D=r._touchHandlers[C];u6(D).forEach(t=>{r.removeEventListener(t,D[t])}),delete r._touchHandlers[C]}const M_={mounted:WV,unmounted:$V},qA=Symbol.for("vuetify:v-window"),WA=Symbol.for("vuetify:v-window-group"),$A=ur({continuous:Boolean,nextIcon:{type:[Boolean,String,Function,Object],default:"$next"},prevIcon:{type:[Boolean,String,Function,Object],default:"$prev"},reverse:Boolean,showArrows:{type:[Boolean,String],validator:n=>typeof n=="boolean"||n==="hover"},touch:{type:[Object,Boolean],default:void 0},direction:{type:String,default:"horizontal"},modelValue:null,disabled:Boolean,selectedClass:{type:String,default:"v-window-item--active"},mandatory:{type:[Boolean,String],default:"force"},...Zr(),...Si(),...oa()},"VWindow"),Sx=Ar()({name:"VWindow",directives:{Touch:M_},props:$A(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{isRtl:D}=Ls(),{t:k}=oc(),m=ip(n,WA),t=Vr(),d=cn(()=>D.value?!n.reverse:n.reverse),y=Wr(!1),i=cn(()=>{const f=n.direction==="vertical"?"y":"x",w=(d.value?!y.value:y.value)?"-reverse":"";return`v-window-${f}${w}-transition`}),M=Wr(0),v=Vr(void 0),h=cn(()=>m.items.value.findIndex(f=>m.selected.value.includes(f.id)));Yr(h,(f,p)=>{const w=m.items.value.length,g=w-1;w<=2?y.value=fn.continuous||h.value!==0),a=cn(()=>n.continuous||h.value!==m.items.value.length-1);function u(){l.value&&m.prev()}function s(){a.value&&m.next()}const o=cn(()=>{const f=[],p={icon:D.value?n.nextIcon:n.prevIcon,class:`v-window__${d.value?"right":"left"}`,onClick:m.prev,ariaLabel:k("$vuetify.carousel.prev")};f.push(l.value?r.prev?r.prev({props:p}):gt(wl,p,null):gt("div",null,null));const w={icon:D.value?n.prevIcon:n.nextIcon,class:`v-window__${d.value?"left":"right"}`,onClick:m.next,ariaLabel:k("$vuetify.carousel.next")};return f.push(a.value?r.next?r.next({props:w}):gt(wl,w,null):gt("div",null,null)),f}),c=cn(()=>n.touch===!1?n.touch:{...{left:()=>{d.value?u():s()},right:()=>{d.value?s():u()},start:p=>{let{originalEvent:w}=p;w.stopPropagation()}},...n.touch===!0?{}:n.touch});return Or(()=>Co(gt(n.tag,{ref:t,class:["v-window",{"v-window--show-arrows-on-hover":n.showArrows==="hover"},C.value,n.class],style:n.style},{default:()=>{var f,p;return[gt("div",{class:"v-window__container",style:{height:v.value}},[(f=r.default)==null?void 0:f.call(r,{group:m}),n.showArrows!==!1&>("div",{class:"v-window__controls"},[o.value])]),(p=r.additional)==null?void 0:p.call(r,{group:m})]}}),[[Tu("touch"),c.value]])),{group:m}}}),YV=ur({color:String,cycle:Boolean,delimiterIcon:{type:bi,default:"$delimiter"},height:{type:[Number,String],default:500},hideDelimiters:Boolean,hideDelimiterBackground:Boolean,interval:{type:[Number,String],default:6e3,validator:n=>Number(n)>0},progress:[Boolean,String],verticalDelimiters:[Boolean,String],...$A({continuous:!0,mandatory:"force",showArrows:!0})},"VCarousel"),ZV=Ar()({name:"VCarousel",props:YV(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const C=xi(n,"modelValue"),{t:D}=oc(),k=Vr();let m=-1;Yr(C,d),Yr(()=>n.interval,d),Yr(()=>n.cycle,y=>{y?d():window.clearTimeout(m)}),Js(t);function t(){!n.cycle||!k.value||(m=window.setTimeout(k.value.group.next,+n.interval>0?+n.interval:6e3))}function d(){window.clearTimeout(m),window.requestAnimationFrame(t)}return Or(()=>{const[y]=Sx.filterProps(n);return gt(Sx,qr({ref:k},y,{modelValue:C.value,"onUpdate:modelValue":i=>C.value=i,class:["v-carousel",{"v-carousel--hide-delimiter-background":n.hideDelimiterBackground,"v-carousel--vertical-delimiters":n.verticalDelimiters},n.class],style:[{height:Qr(n.height)},n.style]}),{default:r.default,additional:i=>{let{group:M}=i;return gt($r,null,[!n.hideDelimiters&>("div",{class:"v-carousel__controls",style:{left:n.verticalDelimiters==="left"&&n.verticalDelimiters?0:"auto",right:n.verticalDelimiters==="right"?0:"auto"}},[M.items.value.length>0&>(Fa,{defaults:{VBtn:{color:n.color,icon:n.delimiterIcon,size:"x-small",variant:"text"}},scoped:!0},{default:()=>[M.items.value.map((v,h)=>{const l={id:`carousel-item-${v.id}`,"aria-label":D("$vuetify.carousel.ariaLabel.delimiter",h+1,M.items.value.length),class:[M.isSelected(v.id)&&"v-btn--active"],onClick:()=>M.select(v.id,!0)};return r.item?r.item({props:l,item:v}):gt(wl,qr(v,l),null)})]})]),n.progress&>(p_,{class:"v-carousel__progress",color:typeof n.progress=="string"?n.progress:void 0,modelValue:(M.getItemIndex(C.value)+1)/M.items.value.length*100},null)])},prev:r.prev,next:r.next})}),{}}}),YA=ur({reverseTransition:{type:[Boolean,String],default:void 0},transition:{type:[Boolean,String],default:void 0},...Zr(),...T0(),...o1()},"VWindowItem"),Cx=Ar()({name:"VWindowItem",directives:{Touch:M_},props:YA(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const C=ka(qA),D=k0(n,WA),{isBooted:k}=tp();if(!C||!D)throw new Error("[Vuetify] VWindowItem must be used inside VWindow");const m=Wr(!1),t=cn(()=>k.value&&(C.isReversed.value?n.reverseTransition!==!1:n.transition!==!1));function d(){!m.value||!C||(m.value=!1,C.transitionCount.value>0&&(C.transitionCount.value-=1,C.transitionCount.value===0&&(C.transitionHeight.value=void 0)))}function y(){var l;m.value||!C||(m.value=!0,C.transitionCount.value===0&&(C.transitionHeight.value=Qr((l=C.rootRef.value)==null?void 0:l.clientHeight)),C.transitionCount.value+=1)}function i(){d()}function M(l){m.value&&Ua(()=>{!t.value||!m.value||!C||(C.transitionHeight.value=Qr(l.clientHeight))})}const v=cn(()=>{const l=C.isReversed.value?n.reverseTransition:n.transition;return t.value?{name:typeof l!="string"?C.transition.value:l,onBeforeEnter:y,onAfterEnter:d,onEnterCancelled:i,onBeforeLeave:y,onAfterLeave:d,onLeaveCancelled:i,onEnter:M}:!1}),{hasContent:h}=__(n,D.isSelected);return Or(()=>gt(Oc,{transition:v.value,disabled:!k.value},{default:()=>{var l;return[Co(gt("div",{class:["v-window-item",D.selectedClass.value,n.class],style:n.style},[h.value&&((l=r.default)==null?void 0:l.call(r))]),[[Mf,D.isSelected.value]])]}})),{groupItem:D}}}),XV=ur({...H6(),...YA()},"VCarouselItem"),KV=Ar()({name:"VCarouselItem",inheritAttrs:!1,props:XV(),setup(n,e){let{slots:r,attrs:C}=e;Or(()=>{const[D]=Zd.filterProps(n),[k]=Cx.filterProps(n);return gt(Cx,qr({class:"v-carousel-item"},k),{default:()=>[gt(Zd,qr(C,D),r)]})})}});const JV=Nc("v-code");const QV=ur({color:{type:Object},disabled:Boolean,dotSize:{type:[Number,String],default:10},height:{type:[Number,String],default:150},width:{type:[Number,String],default:300},...Zr()},"VColorPickerCanvas"),ej=ac({name:"VColorPickerCanvas",props:QV(),emits:{"update:color":n=>!0,"update:position":n=>!0},setup(n,e){let{emit:r}=e;const C=Wr(!1),D=Vr(),k=Wr(parseFloat(n.width)),m=Wr(parseFloat(n.height)),t=Vr({x:0,y:0}),d=cn({get:()=>t.value,set(u){var c,f;if(!D.value)return;const{x:s,y:o}=u;r("update:color",{h:((c=n.color)==null?void 0:c.h)??0,s:Xs(s,0,k.value)/k.value,v:1-Xs(o,0,m.value)/m.value,a:((f=n.color)==null?void 0:f.a)??1})}}),y=cn(()=>{const{x:u,y:s}=d.value,o=parseInt(n.dotSize,10)/2;return{width:Qr(n.dotSize),height:Qr(n.dotSize),transform:`translate(${Qr(u-o)}, ${Qr(s-o)})`}}),{resizeRef:i}=kf(u=>{var c;if(!((c=i.value)!=null&&c.offsetParent))return;const{width:s,height:o}=u[0].contentRect;k.value=s,m.value=o});function M(u,s,o){const{left:c,top:f,width:p,height:w}=o;d.value={x:Xs(u-c,0,p),y:Xs(s-f,0,w)}}function v(u){u.type==="mousedown"&&u.preventDefault(),!n.disabled&&(h(u),window.addEventListener("mousemove",h),window.addEventListener("mouseup",l),window.addEventListener("touchmove",h),window.addEventListener("touchend",l))}function h(u){if(n.disabled||!D.value)return;C.value=!0;const s=Zz(u);M(s.clientX,s.clientY,D.value.getBoundingClientRect())}function l(){window.removeEventListener("mousemove",h),window.removeEventListener("mouseup",l),window.removeEventListener("touchmove",h),window.removeEventListener("touchend",l)}function a(){var f;if(!D.value)return;const u=D.value,s=u.getContext("2d");if(!s)return;const o=s.createLinearGradient(0,0,u.width,0);o.addColorStop(0,"hsla(0, 0%, 100%, 1)"),o.addColorStop(1,`hsla(${((f=n.color)==null?void 0:f.h)??0}, 100%, 50%, 1)`),s.fillStyle=o,s.fillRect(0,0,u.width,u.height);const c=s.createLinearGradient(0,0,0,u.height);c.addColorStop(0,"hsla(0, 0%, 100%, 0)"),c.addColorStop(1,"hsla(0, 0%, 0%, 1)"),s.fillStyle=c,s.fillRect(0,0,u.width,u.height)}return Yr(()=>{var u;return(u=n.color)==null?void 0:u.h},a,{immediate:!0}),Yr(()=>[k.value,m.value],(u,s)=>{a(),t.value={x:d.value.x*u[0]/s[0],y:d.value.y*u[1]/s[1]}},{flush:"post"}),Yr(()=>n.color,()=>{if(C.value){C.value=!1;return}t.value=n.color?{x:n.color.s*k.value,y:(1-n.color.v)*m.value}:{x:0,y:0}},{deep:!0,immediate:!0}),Js(()=>a()),Or(()=>gt("div",{ref:i,class:["v-color-picker-canvas",n.class],style:n.style,onMousedown:v,onTouchstartPassive:v},[gt("canvas",{ref:D,width:k.value,height:m.value},null),n.color&>("div",{class:["v-color-picker-canvas__dot",{"v-color-picker-canvas__dot--disabled":n.disabled}],style:y.value},null)])),{}}});function tj(n,e){if(e){const{a:r,...C}=n;return C}return n}function nj(n,e){if(e==null||typeof e=="string"){const r=k6(n);return n.a===1?r.slice(0,7):r}if(typeof e=="object"){let r;return Od(e,["r","g","b"])?r=ih(n):Od(e,["h","s","l"])?r=b6(n):Od(e,["h","s","v"])&&(r=n),tj(r,!Od(e,["a"])&&n.a===1)}return n}const bm={h:0,s:0,v:1,a:1},Ex={inputProps:{type:"number",min:0},inputs:[{label:"R",max:255,step:1,getValue:n=>Math.round(n.r),getColor:(n,e)=>({...n,r:Number(e)})},{label:"G",max:255,step:1,getValue:n=>Math.round(n.g),getColor:(n,e)=>({...n,g:Number(e)})},{label:"B",max:255,step:1,getValue:n=>Math.round(n.b),getColor:(n,e)=>({...n,b:Number(e)})},{label:"A",max:1,step:.01,getValue:n=>{let{a:e}=n;return e!=null?Math.round(e*100)/100:1},getColor:(n,e)=>({...n,a:Number(e)})}],to:ih,from:Xy};var dT;const rj={...Ex,inputs:(dT=Ex.inputs)==null?void 0:dT.slice(0,3)},Lx={inputProps:{type:"number",min:0},inputs:[{label:"H",max:360,step:1,getValue:n=>Math.round(n.h),getColor:(n,e)=>({...n,h:Number(e)})},{label:"S",max:1,step:.01,getValue:n=>Math.round(n.s*100)/100,getColor:(n,e)=>({...n,s:Number(e)})},{label:"L",max:1,step:.01,getValue:n=>Math.round(n.l*100)/100,getColor:(n,e)=>({...n,l:Number(e)})},{label:"A",max:1,step:.01,getValue:n=>{let{a:e}=n;return e!=null?Math.round(e*100)/100:1},getColor:(n,e)=>({...n,a:Number(e)})}],to:b6,from:e_},ij={...Lx,inputs:Lx.inputs.slice(0,3)},ZA={inputProps:{type:"text"},inputs:[{label:"HEXA",getValue:n=>n,getColor:(n,e)=>e}],to:k6,from:pF},aj={...ZA,inputs:[{label:"HEX",getValue:n=>n.slice(0,7),getColor:(n,e)=>e}]},Hd={rgb:rj,rgba:Ex,hsl:ij,hsla:Lx,hex:aj,hexa:ZA},oj=n=>{let{label:e,...r}=n;return gt("div",{class:"v-color-picker-edit__input"},[gt("input",r,null),gt("span",null,[e])])},sj=ur({color:Object,disabled:Boolean,mode:{type:String,default:"rgba",validator:n=>Object.keys(Hd).includes(n)},modes:{type:Array,default:()=>Object.keys(Hd),validator:n=>Array.isArray(n)&&n.every(e=>Object.keys(Hd).includes(e))},...Zr()},"VColorPickerEdit"),lj=ac({name:"VColorPickerEdit",props:sj(),emits:{"update:color":n=>!0,"update:mode":n=>!0},setup(n,e){let{emit:r}=e;const C=cn(()=>n.modes.map(k=>({...Hd[k],name:k}))),D=cn(()=>{var t;const k=C.value.find(d=>d.name===n.mode);if(!k)return[];const m=n.color?k.to(n.color):null;return(t=k.inputs)==null?void 0:t.map(d=>{let{getValue:y,getColor:i,...M}=d;return{...k.inputProps,...M,disabled:n.disabled,value:m&&y(m),onChange:v=>{const h=v.target;h&&r("update:color",k.from(i(m??bm,h.value)))}}})});return Or(()=>{var k;return gt("div",{class:["v-color-picker-edit",n.class],style:n.style},[(k=D.value)==null?void 0:k.map(m=>gt(oj,m,null)),C.value.length>1&>(wl,{icon:"$unfold",size:"x-small",variant:"plain",onClick:()=>{const m=C.value.findIndex(t=>t.name===n.mode);r("update:mode",C.value[(m+1)%C.value.length].name)}},null)])}),{}}});const A_=Symbol.for("vuetify:v-slider");function Ix(n,e,r){const C=r==="vertical",D=e.getBoundingClientRect(),k="touches"in n?n.touches[0]:n;return C?k.clientY-(D.top+D.height/2):k.clientX-(D.left+D.width/2)}function uj(n,e){return"touches"in n&&n.touches.length?n.touches[0][e]:"changedTouches"in n&&n.changedTouches.length?n.changedTouches[0][e]:n[e]}const XA=ur({disabled:{type:Boolean,default:null},error:Boolean,readonly:{type:Boolean,default:null},max:{type:[Number,String],default:100},min:{type:[Number,String],default:0},step:{type:[Number,String],default:0},thumbColor:String,thumbLabel:{type:[Boolean,String],default:void 0,validator:n=>typeof n=="boolean"||n==="always"},thumbSize:{type:[Number,String],default:20},showTicks:{type:[Boolean,String],default:!1,validator:n=>typeof n=="boolean"||n==="always"},ticks:{type:[Array,Object]},tickSize:{type:[Number,String],default:2},color:String,trackColor:String,trackFillColor:String,trackSize:{type:[Number,String],default:4},direction:{type:String,default:"horizontal",validator:n=>["vertical","horizontal"].includes(n)},reverse:Boolean,...lo(),...ds({elevation:2})},"Slider"),KA=n=>{const e=cn(()=>parseFloat(n.min)),r=cn(()=>parseFloat(n.max)),C=cn(()=>+n.step>0?parseFloat(n.step):0),D=cn(()=>Math.max(x5(C.value),x5(e.value)));function k(m){if(m=parseFloat(m),C.value<=0)return m;const t=Xs(m,e.value,r.value),d=e.value%C.value,y=Math.round((t-d)/C.value)*C.value+d;return parseFloat(Math.min(y,r.value).toFixed(D.value))}return{min:e,max:r,step:C,decimals:D,roundValue:k}},JA=n=>{let{props:e,steps:r,onSliderStart:C,onSliderMove:D,onSliderEnd:k,getActiveThumb:m}=n;const{isRtl:t}=Ls(),d=Cr(e,"reverse"),y=cn(()=>{let U=t.value?"rtl":"ltr";return e.reverse&&(U=U==="rtl"?"ltr":"rtl"),U}),{min:i,max:M,step:v,decimals:h,roundValue:l}=r,a=cn(()=>parseInt(e.thumbSize,10)),u=cn(()=>parseInt(e.tickSize,10)),s=cn(()=>parseInt(e.trackSize,10)),o=cn(()=>(M.value-i.value)/v.value),c=Cr(e,"disabled"),f=cn(()=>e.direction==="vertical"),p=cn(()=>e.error||e.disabled?void 0:e.thumbColor??e.color),w=cn(()=>e.error||e.disabled?void 0:e.trackColor??e.color),g=cn(()=>e.error||e.disabled?void 0:e.trackFillColor??e.color),S=Wr(!1),x=Wr(0),T=Vr(),E=Vr();function _(U){var re;const G=e.direction==="vertical",q=G?"top":"left",H=G?"height":"width",ne=G?"clientY":"clientX",{[q]:te,[H]:Z}=(re=T.value)==null?void 0:re.$el.getBoundingClientRect(),X=uj(U,ne);let Q=Math.min(Math.max((X-te-x.value)/Z,0),1)||0;return(G||y.value==="rtl")&&(Q=1-Q),l(i.value+Q*(M.value-i.value))}const A=U=>{k({value:_(U)}),S.value=!1,x.value=0},L=U=>{E.value=m(U),E.value&&(E.value.focus(),S.value=!0,E.value.contains(U.target)?x.value=Ix(U,E.value,e.direction):(x.value=0,D({value:_(U)})),C({value:_(U)}))},b={passive:!0,capture:!0};function R(U){D({value:_(U)})}function I(U){U.stopPropagation(),U.preventDefault(),A(U),window.removeEventListener("mousemove",R,b),window.removeEventListener("mouseup",I)}function O(U){var G;A(U),window.removeEventListener("touchmove",R,b),(G=U.target)==null||G.removeEventListener("touchend",O)}function z(U){var G;L(U),window.addEventListener("touchmove",R,b),(G=U.target)==null||G.addEventListener("touchend",O,{passive:!1})}function F(U){U.preventDefault(),L(U),window.addEventListener("mousemove",R,b),window.addEventListener("mouseup",I,{passive:!1})}const B=U=>{const G=(U-i.value)/(M.value-i.value)*100;return Xs(isNaN(G)?0:G,0,100)},N=Cr(e,"showTicks"),W=cn(()=>N.value?e.ticks?Array.isArray(e.ticks)?e.ticks.map(U=>({value:U,position:B(U),label:U.toString()})):Object.keys(e.ticks).map(U=>({value:parseFloat(U),position:B(parseFloat(U)),label:e.ticks[U]})):o.value!==1/0?Jf(o.value+1).map(U=>{const G=i.value+U*v.value;return{value:G,position:B(G)}}):[]:[]),j=cn(()=>W.value.some(U=>{let{label:G}=U;return!!G})),Y={activeThumbRef:E,color:Cr(e,"color"),decimals:h,disabled:c,direction:Cr(e,"direction"),elevation:Cr(e,"elevation"),hasLabels:j,horizontalDirection:y,isReversed:d,min:i,max:M,mousePressed:S,numTicks:o,onSliderMousedown:F,onSliderTouchstart:z,parsedTicks:W,parseMouseMove:_,position:B,readonly:Cr(e,"readonly"),rounded:Cr(e,"rounded"),roundValue:l,showTicks:N,startOffset:x,step:v,thumbSize:a,thumbColor:p,thumbLabel:Cr(e,"thumbLabel"),ticks:Cr(e,"ticks"),tickSize:u,trackColor:w,trackContainerRef:T,trackFillColor:g,trackSize:s,vertical:f};return rs(A_,Y),Y},cj=ur({focused:Boolean,max:{type:Number,required:!0},min:{type:Number,required:!0},modelValue:{type:Number,required:!0},position:{type:Number,required:!0},ripple:{type:[Boolean,Object],default:!0},...Zr()},"VSliderThumb"),Rx=Ar()({name:"VSliderThumb",directives:{Ripple:nd},props:cj(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r,emit:C}=e;const D=ka(A_),{rtlClasses:k}=Ls();if(!D)throw new Error("[Vuetify] v-slider-thumb must be used inside v-slider or v-range-slider");const{thumbColor:m,step:t,vertical:d,disabled:y,thumbSize:i,thumbLabel:M,direction:v,readonly:h,elevation:l,isReversed:a,horizontalDirection:u,mousePressed:s,decimals:o}=D,{textColorClasses:c,textColorStyles:f}=Ks(m),{pageup:p,pagedown:w,end:g,home:S,left:x,right:T,down:E,up:_}=sx,A=[p,w,g,S,x,T,E,_],L=cn(()=>t.value?[1,2,3]:[1,5,10]);function b(I,O){if(!A.includes(I.key))return;I.preventDefault();const z=t.value||.1,F=(n.max-n.min)/z;if([x,T,E,_].includes(I.key)){const N=(u.value==="rtl"?[x,_]:[T,_]).includes(I.key)?1:-1,W=I.shiftKey?2:I.ctrlKey?1:0;O=O+N*z*L.value[W]}else if(I.key===S)O=n.min;else if(I.key===g)O=n.max;else{const B=I.key===w?1:-1;O=O-B*z*(F>100?F/10:10)}return Math.max(n.min,Math.min(n.max,O))}function R(I){const O=b(I,n.modelValue);O!=null&&C("update:modelValue",O)}return Or(()=>{const I=Qr(d.value||a.value?100-n.position:n.position,"%"),{elevationClasses:O}=Vs(cn(()=>y.value?void 0:l.value));return gt("div",{class:["v-slider-thumb",{"v-slider-thumb--focused":n.focused,"v-slider-thumb--pressed":n.focused&&s.value},n.class,k.value],style:[{"--v-slider-thumb-position":I,"--v-slider-thumb-size":Qr(i.value)},n.style],role:"slider",tabindex:y.value?-1:0,"aria-valuemin":n.min,"aria-valuemax":n.max,"aria-valuenow":n.modelValue,"aria-readonly":!!h.value,"aria-orientation":v.value,onKeydown:h.value?void 0:R},[gt("div",{class:["v-slider-thumb__surface",c.value,O.value],style:{...f.value}},null),Co(gt("div",{class:["v-slider-thumb__ripple",c.value],style:f.value},null),[[Tu("ripple"),n.ripple,null,{circle:!0,center:!0}]]),gt(s_,{origin:"bottom center"},{default:()=>{var z;return[Co(gt("div",{class:"v-slider-thumb__label-container"},[gt("div",{class:["v-slider-thumb__label"]},[gt("div",null,[((z=r["thumb-label"])==null?void 0:z.call(r,{modelValue:n.modelValue}))??n.modelValue.toFixed(t.value?o.value:1)])])]),[[Mf,M.value&&n.focused||M.value==="always"]])]}})])}),{}}});const fj=ur({start:{type:Number,required:!0},stop:{type:Number,required:!0},...Zr()},"VSliderTrack"),QA=Ar()({name:"VSliderTrack",props:fj(),emits:{},setup(n,e){let{slots:r}=e;const C=ka(A_);if(!C)throw new Error("[Vuetify] v-slider-track must be inside v-slider or v-range-slider");const{color:D,horizontalDirection:k,parsedTicks:m,rounded:t,showTicks:d,tickSize:y,trackColor:i,trackFillColor:M,trackSize:v,vertical:h,min:l,max:a}=C,{roundedClasses:u}=Eo(t),{backgroundColorClasses:s,backgroundColorStyles:o}=Oo(M),{backgroundColorClasses:c,backgroundColorStyles:f}=Oo(i),p=cn(()=>`inset-${h.value?"block-end":"inline-start"}`),w=cn(()=>h.value?"height":"width"),g=cn(()=>({[p.value]:"0%",[w.value]:"100%"})),S=cn(()=>n.stop-n.start),x=cn(()=>({[p.value]:Qr(n.start,"%"),[w.value]:Qr(S.value,"%")})),T=cn(()=>d.value?(h.value?m.value.slice().reverse():m.value).map((_,A)=>{var R;const L=h.value?"bottom":"margin-inline-start",b=_.value!==l.value&&_.value!==a.value?Qr(_.position,"%"):void 0;return gt("div",{key:_.value,class:["v-slider-track__tick",{"v-slider-track__tick--filled":_.position>=n.start&&_.position<=n.stop,"v-slider-track__tick--first":_.value===l.value,"v-slider-track__tick--last":_.value===a.value}],style:{[L]:b}},[(_.label||r["tick-label"])&>("div",{class:"v-slider-track__tick-label"},[((R=r["tick-label"])==null?void 0:R.call(r,{tick:_,index:A}))??_.label])])}):[]);return Or(()=>gt("div",{class:["v-slider-track",u.value,n.class],style:[{"--v-slider-track-size":Qr(v.value),"--v-slider-tick-size":Qr(y.value),direction:h.value?void 0:k.value},n.style]},[gt("div",{class:["v-slider-track__background",c.value,{"v-slider-track__background--opacity":!!D.value||!M.value}],style:{...g.value,...f.value}},null),gt("div",{class:["v-slider-track__fill",s.value],style:{...x.value,...o.value}},null),d.value&>("div",{class:["v-slider-track__ticks",{"v-slider-track__ticks--always-show":d.value==="always"}]},[T.value])])),{}}}),hj=ur({...r1(),...XA(),...mh(),modelValue:{type:[Number,String],default:0}},"VSlider"),Px=Ar()({name:"VSlider",props:hj(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,start:n=>!0,end:n=>!0},setup(n,e){let{slots:r,emit:C}=e;const D=Vr(),{rtlClasses:k}=Ls(),m=KA(n),t=xi(n,"modelValue",void 0,w=>m.roundValue(w??m.min.value)),{min:d,max:y,mousePressed:i,roundValue:M,onSliderMousedown:v,onSliderTouchstart:h,trackContainerRef:l,position:a,hasLabels:u,readonly:s}=JA({props:n,steps:m,onSliderStart:()=>{C("start",t.value)},onSliderEnd:w=>{let{value:g}=w;const S=M(g);t.value=S,C("end",S)},onSliderMove:w=>{let{value:g}=w;return t.value=M(g)},getActiveThumb:()=>{var w;return(w=D.value)==null?void 0:w.$el}}),{isFocused:o,focus:c,blur:f}=rd(n),p=cn(()=>a(t.value));return Or(()=>{const[w,g]=Ns.filterProps(n),S=!!(n.label||r.label||r.prepend);return gt(Ns,qr({class:["v-slider",{"v-slider--has-labels":!!r["tick-label"]||u.value,"v-slider--focused":o.value,"v-slider--pressed":i.value,"v-slider--disabled":n.disabled},k.value,n.class],style:n.style},w,{focused:o.value}),{...r,prepend:S?x=>{var T,E;return gt($r,null,[((T=r.label)==null?void 0:T.call(r,x))??n.label?gt(C0,{id:x.id.value,class:"v-slider__label",text:n.label},null):void 0,(E=r.prepend)==null?void 0:E.call(r,x)])}:void 0,default:x=>{let{id:T,messagesId:E}=x;return gt("div",{class:"v-slider__container",onMousedown:s.value?void 0:v,onTouchstartPassive:s.value?void 0:h},[gt("input",{id:T.value,name:n.name||T.value,disabled:!!n.disabled,readonly:!!n.readonly,tabindex:"-1",value:t.value},null),gt(QA,{ref:l,start:0,stop:p.value},{"tick-label":r["tick-label"]}),gt(Rx,{ref:D,"aria-describedby":E.value,focused:o.value,min:d.value,max:y.value,modelValue:t.value,"onUpdate:modelValue":_=>t.value=_,position:p.value,elevation:n.elevation,onFocus:c,onBlur:f},{"thumb-label":r["thumb-label"]})])}})}),{}}}),dj=ur({color:{type:Object},disabled:Boolean,hideAlpha:Boolean,...Zr()},"VColorPickerPreview"),pj=ac({name:"VColorPickerPreview",props:dj(),emits:{"update:color":n=>!0},setup(n,e){let{emit:r}=e;return Or(()=>{var C,D;return gt("div",{class:["v-color-picker-preview",{"v-color-picker-preview--hide-alpha":n.hideAlpha},n.class],style:n.style},[gt("div",{class:"v-color-picker-preview__dot"},[gt("div",{style:{background:_6(n.color??bm)}},null)]),gt("div",{class:"v-color-picker-preview__sliders"},[gt(Px,{class:"v-color-picker-preview__track v-color-picker-preview__hue",modelValue:(C=n.color)==null?void 0:C.h,"onUpdate:modelValue":k=>r("update:color",{...n.color??bm,h:k}),step:0,min:0,max:360,disabled:n.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null),!n.hideAlpha&>(Px,{class:"v-color-picker-preview__track v-color-picker-preview__alpha",modelValue:((D=n.color)==null?void 0:D.a)??1,"onUpdate:modelValue":k=>r("update:color",{...n.color??bm,a:k}),step:1/256,min:0,max:1,disabled:n.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null)])])}),{}}});const mj=Object.freeze({base:"#f44336",lighten5:"#ffebee",lighten4:"#ffcdd2",lighten3:"#ef9a9a",lighten2:"#e57373",lighten1:"#ef5350",darken1:"#e53935",darken2:"#d32f2f",darken3:"#c62828",darken4:"#b71c1c",accent1:"#ff8a80",accent2:"#ff5252",accent3:"#ff1744",accent4:"#d50000"}),gj=Object.freeze({base:"#e91e63",lighten5:"#fce4ec",lighten4:"#f8bbd0",lighten3:"#f48fb1",lighten2:"#f06292",lighten1:"#ec407a",darken1:"#d81b60",darken2:"#c2185b",darken3:"#ad1457",darken4:"#880e4f",accent1:"#ff80ab",accent2:"#ff4081",accent3:"#f50057",accent4:"#c51162"}),vj=Object.freeze({base:"#9c27b0",lighten5:"#f3e5f5",lighten4:"#e1bee7",lighten3:"#ce93d8",lighten2:"#ba68c8",lighten1:"#ab47bc",darken1:"#8e24aa",darken2:"#7b1fa2",darken3:"#6a1b9a",darken4:"#4a148c",accent1:"#ea80fc",accent2:"#e040fb",accent3:"#d500f9",accent4:"#aa00ff"}),yj=Object.freeze({base:"#673ab7",lighten5:"#ede7f6",lighten4:"#d1c4e9",lighten3:"#b39ddb",lighten2:"#9575cd",lighten1:"#7e57c2",darken1:"#5e35b1",darken2:"#512da8",darken3:"#4527a0",darken4:"#311b92",accent1:"#b388ff",accent2:"#7c4dff",accent3:"#651fff",accent4:"#6200ea"}),bj=Object.freeze({base:"#3f51b5",lighten5:"#e8eaf6",lighten4:"#c5cae9",lighten3:"#9fa8da",lighten2:"#7986cb",lighten1:"#5c6bc0",darken1:"#3949ab",darken2:"#303f9f",darken3:"#283593",darken4:"#1a237e",accent1:"#8c9eff",accent2:"#536dfe",accent3:"#3d5afe",accent4:"#304ffe"}),xj=Object.freeze({base:"#2196f3",lighten5:"#e3f2fd",lighten4:"#bbdefb",lighten3:"#90caf9",lighten2:"#64b5f6",lighten1:"#42a5f5",darken1:"#1e88e5",darken2:"#1976d2",darken3:"#1565c0",darken4:"#0d47a1",accent1:"#82b1ff",accent2:"#448aff",accent3:"#2979ff",accent4:"#2962ff"}),_j=Object.freeze({base:"#03a9f4",lighten5:"#e1f5fe",lighten4:"#b3e5fc",lighten3:"#81d4fa",lighten2:"#4fc3f7",lighten1:"#29b6f6",darken1:"#039be5",darken2:"#0288d1",darken3:"#0277bd",darken4:"#01579b",accent1:"#80d8ff",accent2:"#40c4ff",accent3:"#00b0ff",accent4:"#0091ea"}),wj=Object.freeze({base:"#00bcd4",lighten5:"#e0f7fa",lighten4:"#b2ebf2",lighten3:"#80deea",lighten2:"#4dd0e1",lighten1:"#26c6da",darken1:"#00acc1",darken2:"#0097a7",darken3:"#00838f",darken4:"#006064",accent1:"#84ffff",accent2:"#18ffff",accent3:"#00e5ff",accent4:"#00b8d4"}),Tj=Object.freeze({base:"#009688",lighten5:"#e0f2f1",lighten4:"#b2dfdb",lighten3:"#80cbc4",lighten2:"#4db6ac",lighten1:"#26a69a",darken1:"#00897b",darken2:"#00796b",darken3:"#00695c",darken4:"#004d40",accent1:"#a7ffeb",accent2:"#64ffda",accent3:"#1de9b6",accent4:"#00bfa5"}),kj=Object.freeze({base:"#4caf50",lighten5:"#e8f5e9",lighten4:"#c8e6c9",lighten3:"#a5d6a7",lighten2:"#81c784",lighten1:"#66bb6a",darken1:"#43a047",darken2:"#388e3c",darken3:"#2e7d32",darken4:"#1b5e20",accent1:"#b9f6ca",accent2:"#69f0ae",accent3:"#00e676",accent4:"#00c853"}),Mj=Object.freeze({base:"#8bc34a",lighten5:"#f1f8e9",lighten4:"#dcedc8",lighten3:"#c5e1a5",lighten2:"#aed581",lighten1:"#9ccc65",darken1:"#7cb342",darken2:"#689f38",darken3:"#558b2f",darken4:"#33691e",accent1:"#ccff90",accent2:"#b2ff59",accent3:"#76ff03",accent4:"#64dd17"}),Aj=Object.freeze({base:"#cddc39",lighten5:"#f9fbe7",lighten4:"#f0f4c3",lighten3:"#e6ee9c",lighten2:"#dce775",lighten1:"#d4e157",darken1:"#c0ca33",darken2:"#afb42b",darken3:"#9e9d24",darken4:"#827717",accent1:"#f4ff81",accent2:"#eeff41",accent3:"#c6ff00",accent4:"#aeea00"}),Sj=Object.freeze({base:"#ffeb3b",lighten5:"#fffde7",lighten4:"#fff9c4",lighten3:"#fff59d",lighten2:"#fff176",lighten1:"#ffee58",darken1:"#fdd835",darken2:"#fbc02d",darken3:"#f9a825",darken4:"#f57f17",accent1:"#ffff8d",accent2:"#ffff00",accent3:"#ffea00",accent4:"#ffd600"}),Cj=Object.freeze({base:"#ffc107",lighten5:"#fff8e1",lighten4:"#ffecb3",lighten3:"#ffe082",lighten2:"#ffd54f",lighten1:"#ffca28",darken1:"#ffb300",darken2:"#ffa000",darken3:"#ff8f00",darken4:"#ff6f00",accent1:"#ffe57f",accent2:"#ffd740",accent3:"#ffc400",accent4:"#ffab00"}),Ej=Object.freeze({base:"#ff9800",lighten5:"#fff3e0",lighten4:"#ffe0b2",lighten3:"#ffcc80",lighten2:"#ffb74d",lighten1:"#ffa726",darken1:"#fb8c00",darken2:"#f57c00",darken3:"#ef6c00",darken4:"#e65100",accent1:"#ffd180",accent2:"#ffab40",accent3:"#ff9100",accent4:"#ff6d00"}),Lj=Object.freeze({base:"#ff5722",lighten5:"#fbe9e7",lighten4:"#ffccbc",lighten3:"#ffab91",lighten2:"#ff8a65",lighten1:"#ff7043",darken1:"#f4511e",darken2:"#e64a19",darken3:"#d84315",darken4:"#bf360c",accent1:"#ff9e80",accent2:"#ff6e40",accent3:"#ff3d00",accent4:"#dd2c00"}),Ij=Object.freeze({base:"#795548",lighten5:"#efebe9",lighten4:"#d7ccc8",lighten3:"#bcaaa4",lighten2:"#a1887f",lighten1:"#8d6e63",darken1:"#6d4c41",darken2:"#5d4037",darken3:"#4e342e",darken4:"#3e2723"}),Rj=Object.freeze({base:"#607d8b",lighten5:"#eceff1",lighten4:"#cfd8dc",lighten3:"#b0bec5",lighten2:"#90a4ae",lighten1:"#78909c",darken1:"#546e7a",darken2:"#455a64",darken3:"#37474f",darken4:"#263238"}),Pj=Object.freeze({base:"#9e9e9e",lighten5:"#fafafa",lighten4:"#f5f5f5",lighten3:"#eeeeee",lighten2:"#e0e0e0",lighten1:"#bdbdbd",darken1:"#757575",darken2:"#616161",darken3:"#424242",darken4:"#212121"}),Oj=Object.freeze({black:"#000000",white:"#ffffff",transparent:"#ffffff00"}),Dj=Object.freeze({red:mj,pink:gj,purple:vj,deepPurple:yj,indigo:bj,blue:xj,lightBlue:_j,cyan:wj,teal:Tj,green:kj,lightGreen:Mj,lime:Aj,yellow:Sj,amber:Cj,orange:Ej,deepOrange:Lj,brown:Ij,blueGrey:Rj,grey:Pj,shades:Oj}),zj=ur({swatches:{type:Array,default:()=>Fj(Dj)},disabled:Boolean,color:Object,maxHeight:[Number,String],...Zr()},"VColorPickerSwatches");function Fj(n){return Object.keys(n).map(e=>{const r=n[e];return r.base?[r.base,r.darken4,r.darken3,r.darken2,r.darken1,r.lighten1,r.lighten2,r.lighten3,r.lighten4,r.lighten5]:[r.black,r.white,r.transparent]})}const Bj=ac({name:"VColorPickerSwatches",props:zj(),emits:{"update:color":n=>!0},setup(n,e){let{emit:r}=e;return Or(()=>gt("div",{class:["v-color-picker-swatches",n.class],style:[{maxHeight:Qr(n.maxHeight)},n.style]},[gt("div",null,[n.swatches.map(C=>gt("div",{class:"v-color-picker-swatches__swatch"},[C.map(D=>{const k=Pc(D),m=Xy(k),t=x6(k);return gt("div",{class:"v-color-picker-swatches__color",onClick:()=>m&&r("update:color",m)},[gt("div",{style:{background:t}},[n.color&&b0(n.color,m)?gt(ja,{size:"x-small",icon:"$success",color:yF(D,"#FFFFFF")>2?"white":"black"},null):void 0])])})]))])])),{}}});const eS=ur({color:String,...Cu(),...Zr(),...sc(),...ds(),...ed(),...A0(),...lo(),...Si(),...oa()},"VSheet"),Ox=Ar()({name:"VSheet",props:eS(),setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{backgroundColorClasses:D,backgroundColorStyles:k}=Oo(Cr(n,"color")),{borderClasses:m}=uc(n),{dimensionStyles:t}=lc(n),{elevationClasses:d}=Vs(n),{locationStyles:y}=td(n),{positionClasses:i}=S0(n),{roundedClasses:M}=Eo(n);return Or(()=>gt(n.tag,{class:["v-sheet",C.value,D.value,m.value,d.value,i.value,M.value,n.class],style:[k.value,t.value,y.value,n.style]},r)),{}}}),Nj=ur({canvasHeight:{type:[String,Number],default:150},disabled:Boolean,dotSize:{type:[Number,String],default:10},hideCanvas:Boolean,hideSliders:Boolean,hideInputs:Boolean,mode:{type:String,default:"rgba",validator:n=>Object.keys(Hd).includes(n)},modes:{type:Array,default:()=>Object.keys(Hd),validator:n=>Array.isArray(n)&&n.every(e=>Object.keys(Hd).includes(e))},showSwatches:Boolean,swatches:Array,swatchesMaxHeight:{type:[Number,String],default:150},modelValue:{type:[Object,String]},...ic(eS({width:300}),["height","location","minHeight","maxHeight","minWidth","maxWidth"])},"VColorPicker"),Vj=ac({name:"VColorPicker",props:Nj(),emits:{"update:modelValue":n=>!0,"update:mode":n=>!0},setup(n){const e=xi(n,"mode"),r=Vr(null),C=xi(n,"modelValue",void 0,m=>{if(m==null||m==="")return null;let t;try{t=Xy(Pc(m))}catch{return null}return r.value&&(t={...t,h:r.value.h},r.value=null),t},m=>m?nj(m,n.modelValue):null),{rtlClasses:D}=Ls(),k=m=>{C.value=m,r.value=m};return Js(()=>{n.modes.includes(e.value)||(e.value=n.modes[0])}),ns({VSlider:{color:void 0,trackColor:void 0,trackFillColor:void 0}}),Or(()=>{const[m]=Ox.filterProps(n);return gt(Ox,qr({rounded:n.rounded,elevation:n.elevation,theme:n.theme,class:["v-color-picker",D.value,n.class],style:[{"--v-color-picker-color-hsv":_6({...C.value??bm,a:1})},n.style]},m,{maxWidth:n.width}),{default:()=>[!n.hideCanvas&>(ej,{key:"canvas",color:C.value,"onUpdate:color":k,disabled:n.disabled,dotSize:n.dotSize,width:n.width,height:n.canvasHeight},null),(!n.hideSliders||!n.hideInputs)&>("div",{key:"controls",class:"v-color-picker__controls"},[!n.hideSliders&>(pj,{key:"preview",color:C.value,"onUpdate:color":k,hideAlpha:!e.value.endsWith("a"),disabled:n.disabled},null),!n.hideInputs&>(lj,{key:"edit",modes:n.modes,mode:e.value,"onUpdate:mode":t=>e.value=t,color:C.value,"onUpdate:color":k,disabled:n.disabled},null)]),n.showSwatches&>(Bj,{key:"swatches",color:C.value,"onUpdate:color":k,maxHeight:n.swatchesMaxHeight,swatches:n.swatches,disabled:n.disabled},null)]})}),{}}});function jj(n,e,r){if(e==null)return n;if(Array.isArray(e))throw new Error("Multiple matches is not implemented");return typeof e=="number"&&~e?gt($r,null,[gt("span",{class:"v-combobox__unmask"},[n.substr(0,e)]),gt("span",{class:"v-combobox__mask"},[n.substr(e,r)]),gt("span",{class:"v-combobox__unmask"},[n.substr(e+r)])]):n}const Uj=ur({autoSelectFirst:{type:[Boolean,String]},delimiters:Array,...OA({filterKeys:["title"]}),...k_({hideNoData:!0,returnObject:!0}),...ic(c1({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...dh({transition:!1})},"VCombobox"),Hj=Ar()({name:"VCombobox",props:Uj(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,"update:search":n=>!0,"update:menu":n=>!0},setup(n,e){var q;let{emit:r,slots:C}=e;const{t:D}=oc(),k=Vr(),m=Wr(!1),t=Wr(!0),d=Wr(!1),y=Vr(),i=Vr(),M=xi(n,"menu"),v=cn({get:()=>M.value,set:H=>{var ne;M.value&&!H&&((ne=y.value)!=null&&ne.ΨopenChildren)||(M.value=H)}}),h=Wr(-1);let l=!1;const a=cn(()=>{var H;return(H=k.value)==null?void 0:H.color}),u=cn(()=>v.value?n.closeText:n.openText),{items:s,transformIn:o,transformOut:c}=x_(n),{textColorClasses:f,textColorStyles:p}=Ks(a),w=xi(n,"modelValue",[],H=>o(bu(H)),H=>{const ne=c(H);return n.multiple?ne:ne[0]??null}),g=i1(),S=Wr(n.multiple?"":((q=w.value[0])==null?void 0:q.title)??""),x=cn({get:()=>S.value,set:H=>{var ne;if(S.value=H,n.multiple||(w.value=[zd(n,H)]),H&&n.multiple&&((ne=n.delimiters)!=null&&ne.length)){const te=H.split(new RegExp(`(?:${n.delimiters.join("|")})+`));te.length>1&&(te.forEach(Z=>{Z=Z.trim(),Z&&j(zd(n,Z))}),S.value="")}H||(h.value=-1),t.value=!H}});Yr(S,H=>{l?Ua(()=>l=!1):m.value&&!v.value&&(v.value=!0),r("update:search",H)}),Yr(w,H=>{var ne;n.multiple||(S.value=((ne=H[0])==null?void 0:ne.title)??"")});const{filteredItems:T,getMatches:E}=DA(n,s,()=>t.value?"":x.value),_=cn(()=>n.hideSelected?T.value.filter(H=>!w.value.some(ne=>ne.value===H.value)):T.value),A=cn(()=>w.value.map(H=>H.value)),L=cn(()=>{var ne;return(n.autoSelectFirst===!0||n.autoSelectFirst==="exact"&&x.value===((ne=_.value[0])==null?void 0:ne.title))&&_.value.length>0&&!t.value&&!d.value}),b=cn(()=>n.hideNoData&&!s.value.length||n.readonly||(g==null?void 0:g.isReadonly.value)),R=Vr(),{onListScroll:I,onListKeydown:O}=T_(R,k);function z(H){l=!0,n.openOnClear&&(v.value=!0)}function F(){b.value||(v.value=!0)}function B(H){b.value||(m.value&&(H.preventDefault(),H.stopPropagation()),v.value=!v.value)}function N(H){var Z;if(n.readonly||g!=null&&g.isReadonly.value)return;const ne=k.value.selectionStart,te=w.value.length;if((h.value>-1||["Enter","ArrowDown","ArrowUp"].includes(H.key))&&H.preventDefault(),["Enter","ArrowDown"].includes(H.key)&&(v.value=!0),["Escape"].includes(H.key)&&(v.value=!1),["Enter","Escape","Tab"].includes(H.key)&&(L.value&&["Enter","Tab"].includes(H.key)&&j(T.value[0]),t.value=!0),H.key==="ArrowDown"&&L.value&&((Z=R.value)==null||Z.focus("next")),!!n.multiple){if(["Backspace","Delete"].includes(H.key)){if(h.value<0){H.key==="Backspace"&&!x.value&&(h.value=te-1);return}const X=h.value,Q=w.value[h.value];Q&&j(Q),h.value=X>=te-1?te-2:X}if(H.key==="ArrowLeft"){if(h.value<0&&ne>0)return;const X=h.value>-1?h.value-1:te-1;w.value[X]?h.value=X:(h.value=-1,k.value.setSelectionRange(x.value.length,x.value.length))}if(H.key==="ArrowRight"){if(h.value<0)return;const X=h.value+1;w.value[X]?h.value=X:(h.value=-1,k.value.setSelectionRange(0,0))}H.key==="Enter"&&x.value&&(j(zd(n,x.value)),x.value="")}}function W(){var H;m.value&&(t.value=!0,(H=k.value)==null||H.focus())}function j(H){if(n.multiple){const ne=w.value.findIndex(te=>n.valueComparator(te.value,H.value));if(ne===-1)w.value=[...w.value,H];else{const te=[...w.value];te.splice(ne,1),w.value=te}x.value=""}else w.value=[H],S.value=H.title,Ua(()=>{v.value=!1,t.value=!0})}function Y(H){m.value=!0,setTimeout(()=>{d.value=!0})}function U(H){d.value=!1}function G(H){(H==null||H===""&&!n.multiple)&&(w.value=[])}return Yr(T,H=>{!H.length&&n.hideNoData&&(v.value=!1)}),Yr(m,(H,ne)=>{H||H===ne||(h.value=-1,v.value=!1,L.value&&!d.value&&!w.value.some(te=>{let{value:Z}=te;return Z===_.value[0].value})?j(_.value[0]):n.multiple&&x.value&&(w.value=[...w.value,zd(n,x.value)],x.value=""))}),Yr(v,()=>{if(!n.hideSelected&&v.value&&w.value.length){const H=_.value.findIndex(ne=>w.value.some(te=>n.valueComparator(te.value,ne.value)));to&&window.requestAnimationFrame(()=>{var ne;H>=0&&((ne=i.value)==null||ne.scrollToIndex(H))})}}),Or(()=>{const H=!!(n.chips||C.chip),ne=!!(!n.hideNoData||_.value.length||C["prepend-item"]||C["append-item"]||C["no-data"]),te=w.value.length>0,[Z]=Kd.filterProps(n);return gt(Kd,qr({ref:k},Z,{modelValue:x.value,"onUpdate:modelValue":[X=>x.value=X,G],focused:m.value,"onUpdate:focused":X=>m.value=X,validationValue:w.externalValue,dirty:te,class:["v-combobox",{"v-combobox--active-menu":v.value,"v-combobox--chips":!!n.chips,"v-combobox--selection-slot":!!C.selection,"v-combobox--selecting-index":h.value>-1,[`v-combobox--${n.multiple?"multiple":"single"}`]:!0},n.class],style:n.style,readonly:n.readonly,placeholder:te?void 0:n.placeholder,"onClick:clear":z,"onMousedown:control":F,onKeydown:N}),{...C,default:()=>gt($r,null,[gt(s1,qr({ref:y,modelValue:v.value,"onUpdate:modelValue":X=>v.value=X,activator:"parent",contentClass:"v-combobox__content",disabled:b.value,eager:n.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:n.transition,onAfterLeave:W},n.menuProps),{default:()=>[ne&>(a1,{ref:R,selected:A.value,selectStrategy:n.multiple?"independent":"single-independent",onMousedown:X=>X.preventDefault(),onKeydown:O,onFocusin:Y,onFocusout:U,onScrollPassive:I,tabindex:"-1",color:n.itemColor??n.color},{default:()=>{var X,Q,re;return[(X=C["prepend-item"])==null?void 0:X.call(C),!_.value.length&&!n.hideNoData&&(((Q=C["no-data"])==null?void 0:Q.call(C))??gt(ah,{title:D(n.noDataText)},null)),gt(f1,{ref:i,renderless:!0,items:_.value},{default:ie=>{var de;let{item:oe,index:ue,itemRef:ce}=ie;const ye=qr(oe.props,{ref:ce,key:ue,active:L.value&&ue===0?!0:void 0,onClick:()=>j(oe)});return((de=C.item)==null?void 0:de.call(C,{item:oe,index:ue,props:ye}))??gt(ah,ye,{prepend:me=>{let{isSelected:pe}=me;return gt($r,null,[n.multiple&&!n.hideSelected?gt(f0,{key:oe.value,modelValue:pe,ripple:!1,tabindex:"-1"},null):void 0,oe.props.prependIcon&>(ja,{icon:oe.props.prependIcon},null)])},title:()=>{var me,pe;return t.value?oe.title:jj(oe.title,(me=E(oe))==null?void 0:me.title,((pe=x.value)==null?void 0:pe.length)??0)}})}}),(re=C["append-item"])==null?void 0:re.call(C)]}})]}),w.value.map((X,Q)=>{var oe;function re(ue){ue.stopPropagation(),ue.preventDefault(),j(X)}const ie={"onClick:close":re,onMousedown(ue){ue.preventDefault(),ue.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return gt("div",{key:X.value,class:["v-combobox__selection",Q===h.value&&["v-combobox__selection--selected",f.value]],style:Q===h.value?p.value:{}},[H?C.chip?gt(Fa,{key:"chip-defaults",defaults:{VChip:{closable:n.closableChips,size:"small",text:X.title}}},{default:()=>{var ue;return[(ue=C.chip)==null?void 0:ue.call(C,{item:X,index:Q,props:ie})]}}):gt(ug,qr({key:"chip",closable:n.closableChips,size:"small",text:X.title},ie),null):((oe=C.selection)==null?void 0:oe.call(C,{item:X,index:Q}))??gt("span",{class:"v-combobox__selection-text"},[X.title,n.multiple&&Q!0},setup(n,e){let{slots:r}=e;const C=xi(n,"modelValue"),{scopeId:D}=E0(),k=Vr();function m(d){var M,v;const y=d.relatedTarget,i=d.target;if(y!==i&&((M=k.value)!=null&&M.contentEl)&&((v=k.value)!=null&&v.globalTop)&&![document,k.value.contentEl].includes(i)&&!k.value.contentEl.contains(i)){const h=Dm(k.value.contentEl);if(!h.length)return;const l=h[0],a=h[h.length-1];y===l?a.focus():l.focus()}}to&&Yr(()=>C.value&&n.retainFocus,d=>{d?document.addEventListener("focusin",m):document.removeEventListener("focusin",m)},{immediate:!0}),Yr(C,async d=>{var y,i;await Ua(),d?(y=k.value.contentEl)==null||y.focus({preventScroll:!0}):(i=k.value.activatorEl)==null||i.focus({preventScroll:!0})});const t=cn(()=>qr({"aria-haspopup":"dialog","aria-expanded":String(C.value)},n.activatorProps));return Or(()=>{const[d]=oh.filterProps(n);return gt(oh,qr({ref:k,class:["v-dialog",{"v-dialog--fullscreen":n.fullscreen,"v-dialog--scrollable":n.scrollable},n.class],style:n.style},d,{modelValue:C.value,"onUpdate:modelValue":y=>C.value=y,"aria-modal":"true",activatorProps:t.value,role:"dialog"},D),{activator:r.activator,default:function(){for(var y=arguments.length,i=new Array(y),M=0;M{var v;return[(v=r.default)==null?void 0:v.call(r,...i)]}})}})}),Vc({},k)}});const jm=Symbol.for("vuetify:v-expansion-panel"),Wj=["default","accordion","inset","popout"],$j=ur({color:String,variant:{type:String,default:"default",validator:n=>Wj.includes(n)},readonly:Boolean,...Zr(),...w0(),...Si(),...oa()},"VExpansionPanels"),Yj=Ar()({name:"VExpansionPanels",props:$j(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;ip(n,jm);const{themeClasses:C}=Ma(n),D=cn(()=>n.variant&&`v-expansion-panels--variant-${n.variant}`);return ns({VExpansionPanel:{color:Cr(n,"color")},VExpansionPanelTitle:{readonly:Cr(n,"readonly")}}),Or(()=>gt(n.tag,{class:["v-expansion-panels",C.value,D.value,n.class],style:n.style},r)),{}}}),Zj=ur({...Zr(),...o1()},"VExpansionPanelText"),tS=Ar()({name:"VExpansionPanelText",props:Zj(),setup(n,e){let{slots:r}=e;const C=ka(jm);if(!C)throw new Error("[Vuetify] v-expansion-panel-text needs to be placed inside v-expansion-panel");const{hasContent:D,onAfterLeave:k}=__(n,C.isSelected);return Or(()=>gt(e1,{onAfterLeave:k},{default:()=>{var m;return[Co(gt("div",{class:["v-expansion-panel-text",n.class],style:n.style},[r.default&&D.value&>("div",{class:"v-expansion-panel-text__wrapper"},[(m=r.default)==null?void 0:m.call(r)])]),[[Mf,C.isSelected.value]])]}})),{}}}),nS=ur({color:String,expandIcon:{type:bi,default:"$expand"},collapseIcon:{type:bi,default:"$collapse"},hideActions:Boolean,ripple:{type:[Boolean,Object],default:!1},readonly:Boolean,...Zr()},"VExpansionPanelTitle"),rS=Ar()({name:"VExpansionPanelTitle",directives:{Ripple:nd},props:nS(),setup(n,e){let{slots:r}=e;const C=ka(jm);if(!C)throw new Error("[Vuetify] v-expansion-panel-title needs to be placed inside v-expansion-panel");const{backgroundColorClasses:D,backgroundColorStyles:k}=Oo(n,"color"),m=cn(()=>({collapseIcon:n.collapseIcon,disabled:C.disabled.value,expanded:C.isSelected.value,expandIcon:n.expandIcon,readonly:n.readonly}));return Or(()=>{var t;return Co(gt("button",{class:["v-expansion-panel-title",{"v-expansion-panel-title--active":C.isSelected.value},D.value,n.class],style:[k.value,n.style],type:"button",tabindex:C.disabled.value?-1:void 0,disabled:C.disabled.value,"aria-expanded":C.isSelected.value,onClick:n.readonly?void 0:C.toggle},[gt("span",{class:"v-expansion-panel-title__overlay"},null),(t=r.default)==null?void 0:t.call(r,m.value),!n.hideActions&>("span",{class:"v-expansion-panel-title__icon"},[r.actions?r.actions(m.value):gt(ja,{icon:C.isSelected.value?n.collapseIcon:n.expandIcon},null)])]),[[Tu("ripple"),n.ripple]])}),{}}}),Xj=ur({title:String,text:String,bgColor:String,...Zr(),...ds(),...T0(),...o1(),...lo(),...Si(),...nS()},"VExpansionPanel"),Kj=Ar()({name:"VExpansionPanel",props:Xj(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const C=k0(n,jm),{backgroundColorClasses:D,backgroundColorStyles:k}=Oo(n,"bgColor"),{elevationClasses:m}=Vs(n),{roundedClasses:t}=Eo(n),d=cn(()=>(C==null?void 0:C.disabled.value)||n.disabled),y=cn(()=>C.group.items.value.reduce((v,h,l)=>(C.group.selected.value.includes(h.id)&&v.push(l),v),[])),i=cn(()=>{const v=C.group.items.value.findIndex(h=>h.id===C.id);return!C.isSelected.value&&y.value.some(h=>h-v===1)}),M=cn(()=>{const v=C.group.items.value.findIndex(h=>h.id===C.id);return!C.isSelected.value&&y.value.some(h=>h-v===-1)});return rs(jm,C),ns({VExpansionPanelText:{eager:Cr(n,"eager")}}),Or(()=>{const v=!!(r.text||n.text),h=!!(r.title||n.title);return gt(n.tag,{class:["v-expansion-panel",{"v-expansion-panel--active":C.isSelected.value,"v-expansion-panel--before-active":i.value,"v-expansion-panel--after-active":M.value,"v-expansion-panel--disabled":d.value},t.value,D.value,n.class],style:[k.value,n.style]},{default:()=>{var l;return[gt("div",{class:["v-expansion-panel__shadow",...m.value]},null),h&>(rS,{key:"title",collapseIcon:n.collapseIcon,color:n.color,expandIcon:n.expandIcon,hideActions:n.hideActions,ripple:n.ripple},{default:()=>[r.title?r.title():n.title]}),v&>(tS,{key:"text"},{default:()=>[r.text?r.text():n.text]}),(l=r.default)==null?void 0:l.call(r)]}})}),{}}});const Jj=ur({chips:Boolean,counter:Boolean,counterSizeString:{type:String,default:"$vuetify.fileInput.counterSize"},counterString:{type:String,default:"$vuetify.fileInput.counter"},multiple:Boolean,showSize:{type:[Boolean,Number],default:!1,validator:n=>typeof n=="boolean"||[1e3,1024].includes(n)},...mh({prependIcon:"$file"}),modelValue:{type:Array,default:()=>[],validator:n=>bu(n).every(e=>e!=null&&typeof e=="object")},...u1({clearable:!0})},"VFileInput"),Qj=Ar()({name:"VFileInput",inheritAttrs:!1,props:Jj(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:C,slots:D}=e;const{t:k}=oc(),m=xi(n,"modelValue"),{isFocused:t,focus:d,blur:y}=rd(n),i=cn(()=>typeof n.showSize!="boolean"?n.showSize:void 0),M=cn(()=>(m.value??[]).reduce((x,T)=>{let{size:E=0}=T;return x+E},0)),v=cn(()=>w5(M.value,i.value)),h=cn(()=>(m.value??[]).map(x=>{const{name:T="",size:E=0}=x;return n.showSize?`${T} (${w5(E,i.value)})`:T})),l=cn(()=>{var T;const x=((T=m.value)==null?void 0:T.length)??0;return n.showSize?k(n.counterSizeString,x,v.value):k(n.counterString,x)}),a=Vr(),u=Vr(),s=Vr(),o=cn(()=>t.value||n.active),c=cn(()=>["plain","underlined"].includes(n.variant));function f(){var x;s.value!==document.activeElement&&((x=s.value)==null||x.focus()),t.value||d()}function p(x){g(x)}function w(x){C("mousedown:control",x)}function g(x){var T;(T=s.value)==null||T.click(),C("click:control",x)}function S(x){x.stopPropagation(),f(),Ua(()=>{m.value=[],K2(n["onClick:clear"],x)})}return Yr(m,x=>{(!Array.isArray(x)||!x.length)&&s.value&&(s.value.value="")}),Or(()=>{const x=!!(D.counter||n.counter),T=!!(x||D.details),[E,_]=Qd(r),[{modelValue:A,...L}]=Ns.filterProps(n),[b]=w_(n);return gt(Ns,qr({ref:a,modelValue:m.value,"onUpdate:modelValue":R=>m.value=R,class:["v-file-input",{"v-text-field--plain-underlined":c.value},n.class],style:n.style,"onClick:prepend":p},E,L,{centerAffix:!c.value,focused:t.value}),{...D,default:R=>{let{id:I,isDisabled:O,isDirty:z,isReadonly:F,isValid:B}=R;return gt(fg,qr({ref:u,"prepend-icon":n.prependIcon,onMousedown:w,onClick:g,"onClick:clear":S,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"]},b,{id:I.value,active:o.value||z.value,dirty:z.value,disabled:O.value,focused:t.value,error:B.value===!1}),{...D,default:N=>{var Y;let{props:{class:W,...j}}=N;return gt($r,null,[gt("input",qr({ref:s,type:"file",readonly:F.value,disabled:O.value,multiple:n.multiple,name:n.name,onClick:U=>{U.stopPropagation(),F.value&&U.preventDefault(),f()},onChange:U=>{if(!U.target)return;const G=U.target;m.value=[...G.files??[]]},onFocus:f,onBlur:y},j,_),null),gt("div",{class:W},[!!((Y=m.value)!=null&&Y.length)&&(D.selection?D.selection({fileNames:h.value,totalBytes:M.value,totalBytesReadable:v.value}):n.chips?h.value.map(U=>gt(ug,{key:U,size:"small",color:n.color},{default:()=>[U]})):h.value.join(", "))])])}})},details:T?R=>{var I,O;return gt($r,null,[(I=D.details)==null?void 0:I.call(D,R),x&>($r,null,[gt("span",null,null),gt(l1,{active:!!((O=m.value)!=null&&O.length),value:l.value},D.counter)])])}:void 0})}),Vc({},a,u,s)}});const eU=ur({app:Boolean,color:String,height:{type:[Number,String],default:"auto"},...Cu(),...Zr(),...ds(),...x0(),...lo(),...Si({tag:"footer"}),...oa()},"VFooter"),tU=Ar()({name:"VFooter",props:eU(),setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{backgroundColorClasses:D,backgroundColorStyles:k}=Oo(Cr(n,"color")),{borderClasses:m}=uc(n),{elevationClasses:t}=Vs(n),{roundedClasses:d}=Eo(n),y=Wr(32),{resizeRef:i}=kf(h=>{h.length&&(y.value=h[0].target.clientHeight)}),M=cn(()=>n.height==="auto"?y.value:parseInt(n.height,10)),{layoutItemStyles:v}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:cn(()=>"bottom"),layoutSize:M,elementSize:cn(()=>n.height==="auto"?void 0:M.value),active:cn(()=>n.app),absolute:Cr(n,"absolute")});return Or(()=>gt(n.tag,{ref:i,class:["v-footer",C.value,D.value,m.value,t.value,d.value,n.class],style:[k.value,n.app?v.value:{height:Qr(n.height)},n.style]},r)),{}}}),nU=ur({...Zr(),...dN()},"VForm"),rU=Ar()({name:"VForm",props:nU(),emits:{"update:modelValue":n=>!0,submit:n=>!0},setup(n,e){let{slots:r,emit:C}=e;const D=pN(n),k=Vr();function m(d){d.preventDefault(),D.reset()}function t(d){const y=d,i=D.validate();y.then=i.then.bind(i),y.catch=i.catch.bind(i),y.finally=i.finally.bind(i),C("submit",y),y.defaultPrevented||i.then(M=>{var h;let{valid:v}=M;v&&((h=k.value)==null||h.submit())}),y.preventDefault()}return Or(()=>{var d;return gt("form",{ref:k,class:["v-form",n.class],style:n.style,novalidate:!0,onReset:m,onSubmit:t},[(d=r.default)==null?void 0:d.call(r,D)])}),Vc(D,k)}});const iU=ur({fluid:{type:Boolean,default:!1},...Zr(),...Si()},"VContainer"),aU=Ar()({name:"VContainer",props:iU(),setup(n,e){let{slots:r}=e;const{rtlClasses:C}=Ls();return Or(()=>gt(n.tag,{class:["v-container",{"v-container--fluid":n.fluid},C.value,n.class],style:n.style},r)),{}}}),iS=(()=>Ky.reduce((n,e)=>(n[e]={type:[Boolean,String,Number],default:!1},n),{}))(),aS=(()=>Ky.reduce((n,e)=>{const r="offset"+sh(e);return n[r]={type:[String,Number],default:null},n},{}))(),oS=(()=>Ky.reduce((n,e)=>{const r="order"+sh(e);return n[r]={type:[String,Number],default:null},n},{}))(),sT={col:Object.keys(iS),offset:Object.keys(aS),order:Object.keys(oS)};function oU(n,e,r){let C=n;if(!(r==null||r===!1)){if(e){const D=e.replace(n,"");C+=`-${D}`}return n==="col"&&(C="v-"+C),n==="col"&&(r===""||r===!0)||(C+=`-${r}`),C.toLowerCase()}}const sU=["auto","start","end","center","baseline","stretch"],lU=ur({cols:{type:[Boolean,String,Number],default:!1},...iS,offset:{type:[String,Number],default:null},...aS,order:{type:[String,Number],default:null},...oS,alignSelf:{type:String,default:null,validator:n=>sU.includes(n)},...Zr(),...Si()},"VCol"),uU=Ar()({name:"VCol",props:lU(),setup(n,e){let{slots:r}=e;const C=cn(()=>{const D=[];let k;for(k in sT)sT[k].forEach(t=>{const d=n[t],y=oU(k,t,d);y&&D.push(y)});const m=D.some(t=>t.startsWith("v-col-"));return D.push({"v-col":!m||!n.cols,[`v-col-${n.cols}`]:n.cols,[`offset-${n.offset}`]:n.offset,[`order-${n.order}`]:n.order,[`align-self-${n.alignSelf}`]:n.alignSelf}),D});return()=>{var D;return Xh(n.tag,{class:[C.value,n.class],style:n.style},(D=r.default)==null?void 0:D.call(r))}}}),S_=["start","end","center"],sS=["space-between","space-around","space-evenly"];function C_(n,e){return Ky.reduce((r,C)=>{const D=n+sh(C);return r[D]=e(),r},{})}const cU=[...S_,"baseline","stretch"],lS=n=>cU.includes(n),uS=C_("align",()=>({type:String,default:null,validator:lS})),fU=[...S_,...sS],cS=n=>fU.includes(n),fS=C_("justify",()=>({type:String,default:null,validator:cS})),hU=[...S_,...sS,"stretch"],hS=n=>hU.includes(n),dS=C_("alignContent",()=>({type:String,default:null,validator:hS})),lT={align:Object.keys(uS),justify:Object.keys(fS),alignContent:Object.keys(dS)},dU={align:"align",justify:"justify",alignContent:"align-content"};function pU(n,e,r){let C=dU[n];if(r!=null){if(e){const D=e.replace(n,"");C+=`-${D}`}return C+=`-${r}`,C.toLowerCase()}}const mU=ur({dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:lS},...uS,justify:{type:String,default:null,validator:cS},...fS,alignContent:{type:String,default:null,validator:hS},...dS,...Zr(),...Si()},"VRow"),gU=Ar()({name:"VRow",props:mU(),setup(n,e){let{slots:r}=e;const C=cn(()=>{const D=[];let k;for(k in lT)lT[k].forEach(m=>{const t=n[m],d=pU(k,m,t);d&&D.push(d)});return D.push({"v-row--no-gutters":n.noGutters,"v-row--dense":n.dense,[`align-${n.align}`]:n.align,[`justify-${n.justify}`]:n.justify,[`align-content-${n.alignContent}`]:n.alignContent}),D});return()=>{var D;return Xh(n.tag,{class:["v-row",C.value,n.class],style:n.style},(D=r.default)==null?void 0:D.call(r))}}}),vU=Nc("v-spacer","div","VSpacer"),yU=ur({disabled:Boolean,modelValue:{type:Boolean,default:void 0},...CA()},"VHover"),bU=Ar()({name:"VHover",props:yU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const C=xi(n,"modelValue"),{runOpenDelay:D,runCloseDelay:k}=EA(n,m=>!n.disabled&&(C.value=m));return()=>{var m;return(m=r.default)==null?void 0:m.call(r,{isHovering:C.value,props:{onMouseenter:D,onMouseleave:k}})}}});const pS=Symbol.for("vuetify:v-item-group"),xU=ur({...Zr(),...w0({selectedClass:"v-item--selected"}),...Si(),...oa()},"VItemGroup"),_U=Ar()({name:"VItemGroup",props:xU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{isSelected:D,select:k,next:m,prev:t,selected:d}=ip(n,pS);return()=>gt(n.tag,{class:["v-item-group",C.value,n.class],style:n.style},{default:()=>{var y;return[(y=r.default)==null?void 0:y.call(r,{isSelected:D,select:k,next:m,prev:t,selected:d.value})]}})}}),wU=Ar()({name:"VItem",props:T0(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const{isSelected:C,select:D,toggle:k,selectedClass:m,value:t,disabled:d}=k0(n,pS);return()=>{var y;return(y=r.default)==null?void 0:y.call(r,{isSelected:C.value,selectedClass:m.value,select:D,toggle:k,value:t.value,disabled:d.value})}}});const TU=Nc("v-kbd");const kU=ur({...Zr(),...D6()},"VLayout"),MU=Ar()({name:"VLayout",props:kU(),setup(n,e){let{slots:r}=e;const{layoutClasses:C,layoutStyles:D,getLayoutItem:k,items:m,layoutRef:t}=z6(n);return Or(()=>{var d;return gt("div",{ref:t,class:[C.value,n.class],style:[D.value,n.style]},[(d=r.default)==null?void 0:d.call(r)])}),{getLayoutItem:k,items:m}}});const AU=ur({position:{type:String,required:!0},size:{type:[Number,String],default:300},modelValue:Boolean,...Zr(),...x0()},"VLayoutItem"),SU=Ar()({name:"VLayoutItem",props:AU(),setup(n,e){let{slots:r}=e;const{layoutItemStyles:C}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:Cr(n,"position"),elementSize:Cr(n,"size"),layoutSize:Cr(n,"size"),active:Cr(n,"modelValue"),absolute:Cr(n,"absolute")});return()=>{var D;return gt("div",{class:["v-layout-item",n.class],style:[C.value,n.style]},[(D=r.default)==null?void 0:D.call(r)])}}}),CU=ur({modelValue:Boolean,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},...Zr(),...sc(),...Si(),...dh({transition:"fade-transition"})},"VLazy"),EU=Ar()({name:"VLazy",directives:{intersect:og},props:CU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{dimensionStyles:C}=lc(n),D=xi(n,"modelValue");function k(m){D.value||(D.value=m)}return Or(()=>Co(gt(n.tag,{class:["v-lazy",n.class],style:[C.value,n.style]},{default:()=>[D.value&>(Oc,{transition:n.transition,appear:!0},{default:()=>{var m;return[(m=r.default)==null?void 0:m.call(r)]}})]}),[[Tu("intersect"),{handler:k,options:n.options},null]])),{}}});const LU=ur({locale:String,fallbackLocale:String,messages:Object,rtl:{type:Boolean,default:void 0},...Zr()},"VLocaleProvider"),IU=Ar()({name:"VLocaleProvider",props:LU(),setup(n,e){let{slots:r}=e;const{rtlClasses:C}=VF(n);return Or(()=>{var D;return gt("div",{class:["v-locale-provider",C.value,n.class],style:n.style},[(D=r.default)==null?void 0:D.call(r)])}),{}}});const RU=ur({scrollable:Boolean,...Zr(),...Si({tag:"main"})},"VMain"),PU=Ar()({name:"VMain",props:RU(),setup(n,e){let{slots:r}=e;const{mainStyles:C}=pB(),{ssrBootStyles:D}=tp();return Or(()=>gt(n.tag,{class:["v-main",{"v-main--scrollable":n.scrollable},n.class],style:[C.value,D.value,n.style]},{default:()=>{var k,m;return[n.scrollable?gt("div",{class:"v-main__scroller"},[(k=r.default)==null?void 0:k.call(r)]):(m=r.default)==null?void 0:m.call(r)]}})),{}}});function OU(n){let{rootEl:e,isSticky:r,layoutItemStyles:C}=n;const D=Wr(!1),k=Wr(0),m=cn(()=>{const y=typeof D.value=="boolean"?"top":D.value;return[r.value?{top:"auto",bottom:"auto",height:void 0}:void 0,D.value?{[y]:Qr(k.value)}:{top:C.value.top}]});Js(()=>{Yr(r,y=>{y?window.addEventListener("scroll",d,{passive:!0}):window.removeEventListener("scroll",d)},{immediate:!0})}),kl(()=>{window.removeEventListener("scroll",d)});let t=0;function d(){const y=t>window.scrollY?"up":"down",i=e.value.getBoundingClientRect(),M=parseFloat(C.value.top??0),v=window.scrollY-Math.max(0,k.value-M),h=i.height+Math.max(k.value,M)-window.scrollY-window.innerHeight,l=parseFloat(getComputedStyle(e.value).getPropertyValue("--v-body-scroll-y"))||0;i.height0;r--){if(n[r].t===n[r-1].t)continue;const C=uT(e),D=(n[r].d-n[r-1].d)/(n[r].t-n[r-1].t);e+=(D-C)*Math.abs(D),r===n.length-1&&(e*=.5)}return uT(e)*1e3}function FU(){const n={};function e(D){Array.from(D.changedTouches).forEach(k=>{(n[k.identifier]??(n[k.identifier]=new Yz(zU))).push([D.timeStamp,k])})}function r(D){Array.from(D.changedTouches).forEach(k=>{delete n[k.identifier]})}function C(D){var y;const k=(y=n[D])==null?void 0:y.values().reverse();if(!k)throw new Error(`No samples for touch id ${D}`);const m=k[0],t=[],d=[];for(const i of k){if(m[0]-i[0]>DU)break;t.push({t:i[0],d:i[1].clientX}),d.push({t:i[0],d:i[1].clientY})}return{x:cT(t),y:cT(d),get direction(){const{x:i,y:M}=this,[v,h]=[Math.abs(i),Math.abs(M)];return v>h&&i>=0?"right":v>h&&i<=0?"left":h>v&&M>=0?"down":h>v&&M<=0?"up":BU()}}}return{addMovement:e,endTouch:r,getVelocity:C}}function BU(){throw new Error}function NU(n){let{isActive:e,isTemporary:r,width:C,touchless:D,position:k}=n;Js(()=>{window.addEventListener("touchstart",s,{passive:!0}),window.addEventListener("touchmove",o,{passive:!1}),window.addEventListener("touchend",c,{passive:!0})}),kl(()=>{window.removeEventListener("touchstart",s),window.removeEventListener("touchmove",o),window.removeEventListener("touchend",c)});const m=cn(()=>["left","right"].includes(k.value)),{addMovement:t,endTouch:d,getVelocity:y}=FU();let i=!1;const M=Wr(!1),v=Wr(0),h=Wr(0);let l;function a(p,w){return(k.value==="left"?p:k.value==="right"?document.documentElement.clientWidth-p:k.value==="top"?p:k.value==="bottom"?document.documentElement.clientHeight-p:Lp())-(w?C.value:0)}function u(p){let w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const g=k.value==="left"?(p-h.value)/C.value:k.value==="right"?(document.documentElement.clientWidth-p-h.value)/C.value:k.value==="top"?(p-h.value)/C.value:k.value==="bottom"?(document.documentElement.clientHeight-p-h.value)/C.value:Lp();return w?Math.max(0,Math.min(1,g)):g}function s(p){if(D.value)return;const w=p.changedTouches[0].clientX,g=p.changedTouches[0].clientY,S=25,x=k.value==="left"?wdocument.documentElement.clientWidth-S:k.value==="top"?gdocument.documentElement.clientHeight-S:Lp(),T=e.value&&(k.value==="left"?wdocument.documentElement.clientWidth-C.value:k.value==="top"?gdocument.documentElement.clientHeight-C.value:Lp());(x||T||e.value&&r.value)&&(i=!0,l=[w,g],h.value=a(m.value?w:g,e.value),v.value=u(m.value?w:g),d(p),t(p))}function o(p){const w=p.changedTouches[0].clientX,g=p.changedTouches[0].clientY;if(i){if(!p.cancelable){i=!1;return}const x=Math.abs(w-l[0]),T=Math.abs(g-l[1]);(m.value?x>T&&x>3:T>x&&T>3)?(M.value=!0,i=!1):(m.value?T:x)>3&&(i=!1)}if(!M.value)return;p.preventDefault(),t(p);const S=u(m.value?w:g,!1);v.value=Math.max(0,Math.min(1,S)),S>1?h.value=a(m.value?w:g,!0):S<0&&(h.value=a(m.value?w:g,!1))}function c(p){if(i=!1,!M.value)return;t(p),M.value=!1;const w=y(p.changedTouches[0].identifier),g=Math.abs(w.x),S=Math.abs(w.y);(m.value?g>S&&g>400:S>g&&S>3)?e.value=w.direction===({left:"right",right:"left",top:"down",bottom:"up"}[k.value]||Lp()):e.value=v.value>.5}const f=cn(()=>M.value?{transform:k.value==="left"?`translateX(calc(-100% + ${v.value*C.value}px))`:k.value==="right"?`translateX(calc(100% - ${v.value*C.value}px))`:k.value==="top"?`translateY(calc(-100% + ${v.value*C.value}px))`:k.value==="bottom"?`translateY(calc(100% - ${v.value*C.value}px))`:Lp(),transition:"none"}:void 0);return{isDragging:M,dragProgress:v,dragStyles:f}}function Lp(){throw new Error}const VU=["start","end","left","right","top","bottom"],jU=ur({color:String,disableResizeWatcher:Boolean,disableRouteWatcher:Boolean,expandOnHover:Boolean,floating:Boolean,modelValue:{type:Boolean,default:null},permanent:Boolean,rail:{type:Boolean,default:null},railWidth:{type:[Number,String],default:56},scrim:{type:[Boolean,String],default:!0},image:String,temporary:Boolean,touchless:Boolean,width:{type:[Number,String],default:256},location:{type:String,default:"start",validator:n=>VU.includes(n)},sticky:Boolean,...Cu(),...Zr(),...ds(),...x0(),...lo(),...Si({tag:"nav"}),...oa()},"VNavigationDrawer"),UU=Ar()({name:"VNavigationDrawer",props:jU(),emits:{"update:modelValue":n=>!0,"update:rail":n=>!0},setup(n,e){let{attrs:r,emit:C,slots:D}=e;const{isRtl:k}=Ls(),{themeClasses:m}=Ma(n),{borderClasses:t}=uc(n),{backgroundColorClasses:d,backgroundColorStyles:y}=Oo(Cr(n,"color")),{elevationClasses:i}=Vs(n),{mobile:M}=ep(),{roundedClasses:v}=Eo(n),h=$6(),l=xi(n,"modelValue",null,z=>!!z),{ssrBootStyles:a}=tp(),{scopeId:u}=E0(),s=Vr(),o=Wr(!1),c=cn(()=>n.rail&&n.expandOnHover&&o.value?Number(n.width):Number(n.rail?n.railWidth:n.width)),f=cn(()=>ux(n.location,k.value)),p=cn(()=>!n.permanent&&(M.value||n.temporary)),w=cn(()=>n.sticky&&!p.value&&f.value!=="bottom");n.expandOnHover&&n.rail!=null&&Yr(o,z=>C("update:rail",!z)),n.disableResizeWatcher||Yr(p,z=>!n.permanent&&Ua(()=>l.value=!z)),!n.disableRouteWatcher&&h&&Yr(h.currentRoute,()=>p.value&&(l.value=!1)),Yr(()=>n.permanent,z=>{z&&(l.value=!0)}),Sy(()=>{n.modelValue!=null||p.value||(l.value=n.permanent||!M.value)});const{isDragging:g,dragProgress:S,dragStyles:x}=NU({isActive:l,isTemporary:p,width:c,touchless:Cr(n,"touchless"),position:f}),T=cn(()=>{const z=p.value?0:n.rail&&n.expandOnHover?Number(n.railWidth):c.value;return g.value?z*S.value:z}),{layoutItemStyles:E,layoutItemScrimStyles:_}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:f,layoutSize:T,elementSize:c,active:cn(()=>l.value||g.value),disableTransitions:cn(()=>g.value),absolute:cn(()=>n.absolute||w.value&&typeof A.value!="string")}),{isStuck:A,stickyStyles:L}=OU({rootEl:s,isSticky:w,layoutItemStyles:E}),b=Oo(cn(()=>typeof n.scrim=="string"?n.scrim:null)),R=cn(()=>({...g.value?{opacity:S.value*.2,transition:"none"}:void 0,..._.value}));ns({VList:{bgColor:"transparent"}});function I(){o.value=!0}function O(){o.value=!1}return Or(()=>{const z=D.image||n.image;return gt($r,null,[gt(n.tag,qr({ref:s,onMouseenter:I,onMouseleave:O,class:["v-navigation-drawer",`v-navigation-drawer--${f.value}`,{"v-navigation-drawer--expand-on-hover":n.expandOnHover,"v-navigation-drawer--floating":n.floating,"v-navigation-drawer--is-hovering":o.value,"v-navigation-drawer--rail":n.rail,"v-navigation-drawer--temporary":p.value,"v-navigation-drawer--active":l.value,"v-navigation-drawer--sticky":w.value},m.value,d.value,t.value,i.value,v.value,n.class],style:[y.value,E.value,x.value,a.value,L.value,n.style]},u,r),{default:()=>{var F,B,N,W;return[z&>("div",{key:"image",class:"v-navigation-drawer__img"},[D.image?(F=D.image)==null?void 0:F.call(D,{image:n.image}):gt("img",{src:n.image,alt:""},null)]),D.prepend&>("div",{class:"v-navigation-drawer__prepend"},[(B=D.prepend)==null?void 0:B.call(D)]),gt("div",{class:"v-navigation-drawer__content"},[(N=D.default)==null?void 0:N.call(D)]),D.append&>("div",{class:"v-navigation-drawer__append"},[(W=D.append)==null?void 0:W.call(D)])]}}),gt(xf,{name:"fade-transition"},{default:()=>[p.value&&(g.value||l.value)&&!!n.scrim&>("div",qr({class:["v-navigation-drawer__scrim",b.backgroundColorClasses.value],style:[R.value,b.backgroundColorStyles.value],onClick:()=>l.value=!1},u),null)]})])}),{isStuck:A}}}),HU=ac({name:"VNoSsr",setup(n,e){let{slots:r}=e;const C=LA();return()=>{var D;return C.value&&((D=r.default)==null?void 0:D.call(r))}}});function GU(){const n=Vr([]);XT(()=>n.value=[]);function e(r,C){n.value[C]=r}return{refs:n,updateRef:e}}const qU=ur({activeColor:String,start:{type:[Number,String],default:1},modelValue:{type:Number,default:n=>n.start},disabled:Boolean,length:{type:[Number,String],default:1,validator:n=>n%1===0},totalVisible:[Number,String],firstIcon:{type:bi,default:"$first"},prevIcon:{type:bi,default:"$prev"},nextIcon:{type:bi,default:"$next"},lastIcon:{type:bi,default:"$last"},ariaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.root"},pageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.page"},currentPageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.currentPage"},firstAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.first"},previousAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.previous"},nextAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.next"},lastAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.last"},ellipsis:{type:String,default:"..."},showFirstLastPage:Boolean,...Cu(),...Zr(),...ps(),...ds(),...lo(),...ph(),...Si({tag:"nav"}),...oa(),...cc({variant:"text"})},"VPagination"),WU=Ar()({name:"VPagination",props:qU(),emits:{"update:modelValue":n=>!0,first:n=>!0,prev:n=>!0,next:n=>!0,last:n=>!0},setup(n,e){let{slots:r,emit:C}=e;const D=xi(n,"modelValue"),{t:k,n:m}=oc(),{isRtl:t}=Ls(),{themeClasses:d}=Ma(n),{width:y}=ep(),i=Wr(-1);ns(void 0,{scoped:!0});const{resizeRef:M}=kf(S=>{if(!S.length)return;const{target:x,contentRect:T}=S[0],E=x.querySelector(".v-pagination__list > *");if(!E)return;const _=T.width,A=E.offsetWidth+parseFloat(getComputedStyle(E).marginRight)*2;i.value=a(_,A)}),v=cn(()=>parseInt(n.length,10)),h=cn(()=>parseInt(n.start,10)),l=cn(()=>n.totalVisible?parseInt(n.totalVisible,10):i.value>=0?i.value:a(y.value,58));function a(S,x){const T=n.showFirstLastPage?5:3;return Math.max(0,Math.floor(+((S-x*T)/x).toFixed(2)))}const u=cn(()=>{if(v.value<=0||isNaN(v.value)||v.value>Number.MAX_SAFE_INTEGER)return[];if(l.value<=1)return[D.value];if(v.value<=l.value)return Jf(v.value,h.value);const S=l.value%2===0,x=S?l.value/2:Math.floor(l.value/2),T=S?x:x+1,E=v.value-x;if(T-D.value>=0)return[...Jf(Math.max(1,l.value-1),h.value),n.ellipsis,v.value];if(D.value-E>=(S?1:0)){const _=l.value-1,A=v.value-_+h.value;return[h.value,n.ellipsis,...Jf(_,A)]}else{const _=Math.max(1,l.value-3),A=_===1?D.value:D.value-Math.ceil(_/2)+h.value;return[h.value,n.ellipsis,...Jf(_,A),n.ellipsis,v.value]}});function s(S,x,T){S.preventDefault(),D.value=x,T&&C(T,x)}const{refs:o,updateRef:c}=GU();ns({VPaginationBtn:{color:Cr(n,"color"),border:Cr(n,"border"),density:Cr(n,"density"),size:Cr(n,"size"),variant:Cr(n,"variant"),rounded:Cr(n,"rounded"),elevation:Cr(n,"elevation")}});const f=cn(()=>u.value.map((S,x)=>{const T=E=>c(E,x);if(typeof S=="string")return{isActive:!1,key:`ellipsis-${x}`,page:S,props:{ref:T,ellipsis:!0,icon:!0,disabled:!0}};{const E=S===D.value;return{isActive:E,key:S,page:m(S),props:{ref:T,ellipsis:!1,icon:!0,disabled:!!n.disabled||+n.length<2,color:E?n.activeColor:n.color,ariaCurrent:E,ariaLabel:k(E?n.currentPageAriaLabel:n.pageAriaLabel,S),onClick:_=>s(_,S)}}}})),p=cn(()=>{const S=!!n.disabled||D.value<=h.value,x=!!n.disabled||D.value>=h.value+v.value-1;return{first:n.showFirstLastPage?{icon:t.value?n.lastIcon:n.firstIcon,onClick:T=>s(T,h.value,"first"),disabled:S,ariaLabel:k(n.firstAriaLabel),ariaDisabled:S}:void 0,prev:{icon:t.value?n.nextIcon:n.prevIcon,onClick:T=>s(T,D.value-1,"prev"),disabled:S,ariaLabel:k(n.previousAriaLabel),ariaDisabled:S},next:{icon:t.value?n.prevIcon:n.nextIcon,onClick:T=>s(T,D.value+1,"next"),disabled:x,ariaLabel:k(n.nextAriaLabel),ariaDisabled:x},last:n.showFirstLastPage?{icon:t.value?n.firstIcon:n.lastIcon,onClick:T=>s(T,h.value+v.value-1,"last"),disabled:x,ariaLabel:k(n.lastAriaLabel),ariaDisabled:x}:void 0}});function w(){var x;const S=D.value-h.value;(x=o.value[S])==null||x.$el.focus()}function g(S){S.key===sx.left&&!n.disabled&&D.value>+n.start?(D.value=D.value-1,Ua(w)):S.key===sx.right&&!n.disabled&&D.valuegt(n.tag,{ref:M,class:["v-pagination",d.value,n.class],style:n.style,role:"navigation","aria-label":k(n.ariaLabel),onKeydown:g,"data-test":"v-pagination-root"},{default:()=>[gt("ul",{class:"v-pagination__list"},[n.showFirstLastPage&>("li",{key:"first",class:"v-pagination__first","data-test":"v-pagination-first"},[r.first?r.first(p.value.first):gt(wl,qr({_as:"VPaginationBtn"},p.value.first),null)]),gt("li",{key:"prev",class:"v-pagination__prev","data-test":"v-pagination-prev"},[r.prev?r.prev(p.value.prev):gt(wl,qr({_as:"VPaginationBtn"},p.value.prev),null)]),f.value.map((S,x)=>gt("li",{key:S.key,class:["v-pagination__item",{"v-pagination__item--is-active":S.isActive}],"data-test":"v-pagination-item"},[r.item?r.item(S):gt(wl,qr({_as:"VPaginationBtn"},S.props),{default:()=>[S.page]})])),gt("li",{key:"next",class:"v-pagination__next","data-test":"v-pagination-next"},[r.next?r.next(p.value.next):gt(wl,qr({_as:"VPaginationBtn"},p.value.next),null)]),n.showFirstLastPage&>("li",{key:"last",class:"v-pagination__last","data-test":"v-pagination-last"},[r.last?r.last(p.value.last):gt(wl,qr({_as:"VPaginationBtn"},p.value.last),null)])])]})),{}}});function $U(n){return Math.floor(Math.abs(n))*Math.sign(n)}const YU=ur({scale:{type:[Number,String],default:.5},...Zr()},"VParallax"),ZU=Ar()({name:"VParallax",props:YU(),setup(n,e){let{slots:r}=e;const{intersectionRef:C,isIntersecting:D}=h_(),{resizeRef:k,contentRect:m}=kf(),{height:t}=ep(),d=Vr();wu(()=>{var h;C.value=k.value=(h=d.value)==null?void 0:h.$el});let y;Yr(D,h=>{h?(y=t_(C.value),y=y===document.scrollingElement?document:y,y.addEventListener("scroll",v,{passive:!0}),v()):y.removeEventListener("scroll",v)}),kl(()=>{y==null||y.removeEventListener("scroll",v)}),Yr(t,v),Yr(()=>{var h;return(h=m.value)==null?void 0:h.height},v);const i=cn(()=>1-Xs(+n.scale));let M=-1;function v(){D.value&&(cancelAnimationFrame(M),M=requestAnimationFrame(()=>{var p;const h=((p=d.value)==null?void 0:p.$el).querySelector(".v-img__img");if(!h)return;const l=y instanceof Document?document.documentElement.clientHeight:y.clientHeight,a=y instanceof Document?window.scrollY:y.scrollTop,u=C.value.getBoundingClientRect().top+a,s=m.value.height,o=u+(s-l)/2,c=$U((a-o)*i.value),f=Math.max(1,(i.value*(l-s)+s)/s);h.style.setProperty("transform",`translateY(${c}px) scale(${f})`)}))}return Or(()=>gt(Zd,{class:["v-parallax",{"v-parallax--active":D.value},n.class],style:n.style,ref:d,cover:!0,onLoadstart:v,onLoad:v},r)),{}}}),XU=ur({...n1({falseIcon:"$radioOff",trueIcon:"$radioOn"})},"VRadio"),KU=Ar()({name:"VRadio",props:XU(),setup(n,e){let{slots:r}=e;return Or(()=>gt(Xd,qr(n,{class:["v-radio",n.class],style:n.style,type:"radio"}),r)),{}}});const JU=ur({height:{type:[Number,String],default:"auto"},...mh(),...ic(y_(),["multiple"]),trueIcon:{type:bi,default:"$radioOn"},falseIcon:{type:bi,default:"$radioOff"},type:{type:String,default:"radio"}},"VRadioGroup"),QU=Ar()({name:"VRadioGroup",inheritAttrs:!1,props:JU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{attrs:r,slots:C}=e;const D=Qs(),k=cn(()=>n.id||`radio-group-${D}`),m=xi(n,"modelValue");return Or(()=>{const[t,d]=Qd(r),[y,i]=Ns.filterProps(n),[M,v]=Xd.filterProps(n),h=C.label?C.label({label:n.label,props:{for:k.value}}):n.label;return gt(Ns,qr({class:["v-radio-group",n.class],style:n.style},t,y,{modelValue:m.value,"onUpdate:modelValue":l=>m.value=l,id:k.value}),{...C,default:l=>{let{id:a,messagesId:u,isDisabled:s,isReadonly:o}=l;return gt($r,null,[h&>(C0,{id:a.value},{default:()=>[h]}),gt(iA,qr(M,{id:a.value,"aria-describedby":u.value,defaultsTarget:"VRadio",trueIcon:n.trueIcon,falseIcon:n.falseIcon,type:n.type,disabled:s.value,readonly:o.value,"aria-labelledby":h?a.value:void 0,multiple:!1},d,{modelValue:m.value,"onUpdate:modelValue":c=>m.value=c}),C)])}})}),{}}}),eH=ur({...r1(),...mh(),...XA(),strict:Boolean,modelValue:{type:Array,default:()=>[0,0]}},"VRangeSlider"),tH=Ar()({name:"VRangeSlider",props:eH(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,end:n=>!0,start:n=>!0},setup(n,e){let{slots:r,emit:C}=e;const D=Vr(),k=Vr(),m=Vr(),{rtlClasses:t}=Ls();function d(x){if(!D.value||!k.value)return;const T=Ix(x,D.value.$el,n.direction),E=Ix(x,k.value.$el,n.direction),_=Math.abs(T),A=Math.abs(E);return _x!=null&&x.length?x.map(T=>y.roundValue(T)):[0,0]),{activeThumbRef:M,hasLabels:v,max:h,min:l,mousePressed:a,onSliderMousedown:u,onSliderTouchstart:s,position:o,trackContainerRef:c}=JA({props:n,steps:y,onSliderStart:()=>{C("start",i.value)},onSliderEnd:x=>{var _;let{value:T}=x;const E=M.value===((_=D.value)==null?void 0:_.$el)?[T,i.value[1]]:[i.value[0],T];!n.strict&&E[0]{var A,L,b,R;let{value:T}=x;const[E,_]=i.value;!n.strict&&E===_&&E!==l.value&&(M.value=T>E?(A=k.value)==null?void 0:A.$el:(L=D.value)==null?void 0:L.$el,(b=M.value)==null||b.focus()),M.value===((R=D.value)==null?void 0:R.$el)?i.value=[Math.min(T,_),_]:i.value=[E,Math.max(E,T)]},getActiveThumb:d}),{isFocused:f,focus:p,blur:w}=rd(n),g=cn(()=>o(i.value[0])),S=cn(()=>o(i.value[1]));return Or(()=>{const[x,T]=Ns.filterProps(n),E=!!(n.label||r.label||r.prepend);return gt(Ns,qr({class:["v-slider","v-range-slider",{"v-slider--has-labels":!!r["tick-label"]||v.value,"v-slider--focused":f.value,"v-slider--pressed":a.value,"v-slider--disabled":n.disabled},t.value,n.class],style:n.style,ref:m},x,{focused:f.value}),{...r,prepend:E?_=>{var A,L;return gt($r,null,[((A=r.label)==null?void 0:A.call(r,_))??n.label?gt(C0,{class:"v-slider__label",text:n.label},null):void 0,(L=r.prepend)==null?void 0:L.call(r,_)])}:void 0,default:_=>{var b,R;let{id:A,messagesId:L}=_;return gt("div",{class:"v-slider__container",onMousedown:u,onTouchstartPassive:s},[gt("input",{id:`${A.value}_start`,name:n.name||A.value,disabled:!!n.disabled,readonly:!!n.readonly,tabindex:"-1",value:i.value[0]},null),gt("input",{id:`${A.value}_stop`,name:n.name||A.value,disabled:!!n.disabled,readonly:!!n.readonly,tabindex:"-1",value:i.value[1]},null),gt(QA,{ref:c,start:g.value,stop:S.value},{"tick-label":r["tick-label"]}),gt(Rx,{ref:D,"aria-describedby":L.value,focused:f&&M.value===((b=D.value)==null?void 0:b.$el),modelValue:i.value[0],"onUpdate:modelValue":I=>i.value=[I,i.value[1]],onFocus:I=>{var O,z,F,B;p(),M.value=(O=D.value)==null?void 0:O.$el,i.value[0]===i.value[1]&&i.value[1]===l.value&&I.relatedTarget!==((z=k.value)==null?void 0:z.$el)&&((F=D.value)==null||F.$el.blur(),(B=k.value)==null||B.$el.focus())},onBlur:()=>{w(),M.value=void 0},min:l.value,max:i.value[1],position:g.value},{"thumb-label":r["thumb-label"]}),gt(Rx,{ref:k,"aria-describedby":L.value,focused:f&&M.value===((R=k.value)==null?void 0:R.$el),modelValue:i.value[1],"onUpdate:modelValue":I=>i.value=[i.value[0],I],onFocus:I=>{var O,z,F,B;p(),M.value=(O=k.value)==null?void 0:O.$el,i.value[0]===i.value[1]&&i.value[0]===h.value&&I.relatedTarget!==((z=D.value)==null?void 0:z.$el)&&((F=k.value)==null||F.$el.blur(),(B=D.value)==null||B.$el.focus())},onBlur:()=>{w(),M.value=void 0},min:i.value[0],max:h.value,position:S.value},{"thumb-label":r["thumb-label"]})])}})}),{}}});const nH=ur({name:String,itemAriaLabel:{type:String,default:"$vuetify.rating.ariaLabel.item"},activeColor:String,color:String,clearable:Boolean,disabled:Boolean,emptyIcon:{type:bi,default:"$ratingEmpty"},fullIcon:{type:bi,default:"$ratingFull"},halfIncrements:Boolean,hover:Boolean,length:{type:[Number,String],default:5},readonly:Boolean,modelValue:{type:[Number,String],default:0},itemLabels:Array,itemLabelPosition:{type:String,default:"top",validator:n=>["top","bottom"].includes(n)},ripple:Boolean,...Zr(),...ps(),...ph(),...Si(),...oa()},"VRating"),rH=Ar()({name:"VRating",props:nH(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{t:C}=oc(),{themeClasses:D}=Ma(n),k=xi(n,"modelValue"),m=cn(()=>Xs(parseFloat(k.value),0,+n.length)),t=cn(()=>Jf(Number(n.length),1)),d=cn(()=>t.value.flatMap(a=>n.halfIncrements?[a-.5,a]:[a])),y=Wr(-1),i=cn(()=>d.value.map(a=>{const u=n.hover&&y.value>-1,s=m.value>=a,o=y.value>=a,f=(u?o:s)?n.fullIcon:n.emptyIcon,p=n.activeColor??n.color,w=s||o?p:n.color;return{isFilled:s,isHovered:o,icon:f,color:w}})),M=cn(()=>[0,...d.value].map(a=>{function u(){y.value=a}function s(){y.value=-1}function o(){n.disabled||n.readonly||(k.value=m.value===a&&n.clearable?0:a)}return{onMouseenter:n.hover?u:void 0,onMouseleave:n.hover?s:void 0,onClick:o}})),v=cn(()=>n.name??`v-rating-${Qs()}`);function h(a){var S,x;let{value:u,index:s,showStar:o=!0}=a;const{onMouseenter:c,onMouseleave:f,onClick:p}=M.value[s+1],w=`${v.value}-${String(u).replace(".","-")}`,g={color:(S=i.value[s])==null?void 0:S.color,density:n.density,disabled:n.disabled,icon:(x=i.value[s])==null?void 0:x.icon,ripple:n.ripple,size:n.size,variant:"plain"};return gt($r,null,[gt("label",{for:w,class:{"v-rating__item--half":n.halfIncrements&&u%1>0,"v-rating__item--full":n.halfIncrements&&u%1===0},onMouseenter:c,onMouseleave:f,onClick:p},[gt("span",{class:"v-rating__hidden"},[C(n.itemAriaLabel,u,n.length)]),o?r.item?r.item({...i.value[s],props:g,value:u,index:s,rating:m.value}):gt(wl,qr({"aria-label":C(n.itemAriaLabel,u,n.length)},g),null):void 0]),gt("input",{class:"v-rating__hidden",name:v.value,id:w,type:"radio",value:u,checked:m.value===u,tabindex:-1,readonly:n.readonly,disabled:n.disabled},null)])}function l(a){return r["item-label"]?r["item-label"](a):a.label?gt("span",null,[a.label]):gt("span",null,[ea(" ")])}return Or(()=>{var u;const a=!!((u=n.itemLabels)!=null&&u.length)||r["item-label"];return gt(n.tag,{class:["v-rating",{"v-rating--hover":n.hover,"v-rating--readonly":n.readonly},D.value,n.class],style:n.style},{default:()=>[gt(h,{value:0,index:-1,showStar:!1},null),t.value.map((s,o)=>{var c,f;return gt("div",{class:"v-rating__wrapper"},[a&&n.itemLabelPosition==="top"?l({value:s,index:o,label:(c=n.itemLabels)==null?void 0:c[o]}):void 0,gt("div",{class:"v-rating__item"},[n.halfIncrements?gt($r,null,[gt(h,{value:s-.5,index:o*2},null),gt(h,{value:s,index:o*2+1},null)]):gt(h,{value:s,index:o},null)]),a&&n.itemLabelPosition==="bottom"?l({value:s,index:o,label:(f=n.itemLabels)==null?void 0:f[o]}):void 0])})]})}),{}}});function fT(n){const r=Math.abs(n);return Math.sign(n)*(r/((1/.501-2)*(1-r)+1))}function hT(n){let{selectedElement:e,containerSize:r,contentSize:C,isRtl:D,currentScrollOffset:k,isHorizontal:m}=n;const t=m?e.clientWidth:e.clientHeight,d=m?e.offsetLeft:e.offsetTop,y=D&&m?C-d-t:d,i=r+k,M=t+y,v=t*.4;return y<=k?k=Math.max(y-v,0):i<=M&&(k=Math.min(k-(i-M-v),C-r)),k}function iH(n){let{selectedElement:e,containerSize:r,contentSize:C,isRtl:D,isHorizontal:k}=n;const m=k?e.clientWidth:e.clientHeight,t=k?e.offsetLeft:e.offsetTop,d=D&&k?C-t-m/2-r/2:t+m/2-r/2;return Math.min(C-r,Math.max(0,d))}const mS=Symbol.for("vuetify:v-slide-group"),gS=ur({centerActive:Boolean,direction:{type:String,default:"horizontal"},symbol:{type:null,default:mS},nextIcon:{type:bi,default:"$next"},prevIcon:{type:bi,default:"$prev"},showArrows:{type:[Boolean,String],validator:n=>typeof n=="boolean"||["always","desktop","mobile"].includes(n)},...Zr(),...Si(),...w0({selectedClass:"v-slide-group-item--active"})},"VSlideGroup"),Dx=Ar()({name:"VSlideGroup",props:gS(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{isRtl:C}=Ls(),{mobile:D}=ep(),k=ip(n,n.symbol),m=Wr(!1),t=Wr(0),d=Wr(0),y=Wr(0),i=cn(()=>n.direction==="horizontal"),{resizeRef:M,contentRect:v}=kf(),{resizeRef:h,contentRect:l}=kf(),a=cn(()=>k.selected.value.length?k.items.value.findIndex(F=>F.id===k.selected.value[0]):-1),u=cn(()=>k.selected.value.length?k.items.value.findIndex(F=>F.id===k.selected.value[k.selected.value.length-1]):-1);if(to){let F=-1;Yr(()=>[k.selected.value,v.value,l.value,i.value],()=>{cancelAnimationFrame(F),F=requestAnimationFrame(()=>{if(v.value&&l.value){const B=i.value?"width":"height";d.value=v.value[B],y.value=l.value[B],m.value=d.value+1=0&&h.value){const B=h.value.children[u.value];a.value===0||!m.value?t.value=0:n.centerActive?t.value=iH({selectedElement:B,containerSize:d.value,contentSize:y.value,isRtl:C.value,isHorizontal:i.value}):m.value&&(t.value=hT({selectedElement:B,containerSize:d.value,contentSize:y.value,isRtl:C.value,currentScrollOffset:t.value,isHorizontal:i.value}))}})})}const s=Wr(!1);let o=0,c=0;function f(F){const B=i.value?"clientX":"clientY";c=(C.value&&i.value?-1:1)*t.value,o=F.touches[0][B],s.value=!0}function p(F){if(!m.value)return;const B=i.value?"clientX":"clientY",N=C.value&&i.value?-1:1;t.value=N*(c+o-F.touches[0][B])}function w(F){const B=y.value-d.value;t.value<0||!m.value?t.value=0:t.value>=B&&(t.value=B),s.value=!1}function g(){M.value&&(M.value[i.value?"scrollLeft":"scrollTop"]=0)}const S=Wr(!1);function x(F){if(S.value=!0,!(!m.value||!h.value)){for(const B of F.composedPath())for(const N of h.value.children)if(N===B){t.value=hT({selectedElement:N,containerSize:d.value,contentSize:y.value,isRtl:C.value,currentScrollOffset:t.value,isHorizontal:i.value});return}}}function T(F){S.value=!1}function E(F){var B;!S.value&&!(F.relatedTarget&&((B=h.value)!=null&&B.contains(F.relatedTarget)))&&A()}function _(F){h.value&&(i.value?F.key==="ArrowRight"?A(C.value?"prev":"next"):F.key==="ArrowLeft"&&A(C.value?"next":"prev"):F.key==="ArrowDown"?A("next"):F.key==="ArrowUp"&&A("prev"),F.key==="Home"?A("first"):F.key==="End"&&A("last"))}function A(F){var B,N,W,j,Y;if(h.value)if(!F)(B=Dm(h.value)[0])==null||B.focus();else if(F==="next"){const U=(N=h.value.querySelector(":focus"))==null?void 0:N.nextElementSibling;U?U.focus():A("first")}else if(F==="prev"){const U=(W=h.value.querySelector(":focus"))==null?void 0:W.previousElementSibling;U?U.focus():A("last")}else F==="first"?(j=h.value.firstElementChild)==null||j.focus():F==="last"&&((Y=h.value.lastElementChild)==null||Y.focus())}function L(F){const B=t.value+(F==="prev"?-1:1)*d.value;t.value=Xs(B,0,y.value-d.value)}const b=cn(()=>{let F=t.value>y.value-d.value?-(y.value-d.value)+fT(y.value-d.value-t.value):-t.value;t.value<=0&&(F=fT(-t.value));const B=C.value&&i.value?-1:1;return{transform:`translate${i.value?"X":"Y"}(${B*F}px)`,transition:s.value?"none":"",willChange:s.value?"transform":""}}),R=cn(()=>({next:k.next,prev:k.prev,select:k.select,isSelected:k.isSelected})),I=cn(()=>{switch(n.showArrows){case"always":return!0;case"desktop":return!D.value;case!0:return m.value||Math.abs(t.value)>0;case"mobile":return D.value||m.value||Math.abs(t.value)>0;default:return!D.value&&(m.value||Math.abs(t.value)>0)}}),O=cn(()=>Math.abs(t.value)>0),z=cn(()=>y.value>Math.abs(t.value)+d.value);return Or(()=>gt(n.tag,{class:["v-slide-group",{"v-slide-group--vertical":!i.value,"v-slide-group--has-affixes":I.value,"v-slide-group--is-overflowing":m.value},n.class],style:n.style,tabindex:S.value||k.selected.value.length?-1:0,onFocus:E},{default:()=>{var F,B,N;return[I.value&>("div",{key:"prev",class:["v-slide-group__prev",{"v-slide-group__prev--disabled":!O.value}],onClick:()=>L("prev")},[((F=r.prev)==null?void 0:F.call(r,R.value))??gt(gx,null,{default:()=>[gt(ja,{icon:C.value?n.nextIcon:n.prevIcon},null)]})]),gt("div",{key:"container",ref:M,class:"v-slide-group__container",onScroll:g},[gt("div",{ref:h,class:"v-slide-group__content",style:b.value,onTouchstartPassive:f,onTouchmovePassive:p,onTouchendPassive:w,onFocusin:x,onFocusout:T,onKeydown:_},[(B=r.default)==null?void 0:B.call(r,R.value)])]),I.value&>("div",{key:"next",class:["v-slide-group__next",{"v-slide-group__next--disabled":!z.value}],onClick:()=>L("next")},[((N=r.next)==null?void 0:N.call(r,R.value))??gt(gx,null,{default:()=>[gt(ja,{icon:C.value?n.prevIcon:n.nextIcon},null)]})])]}})),{selected:k.selected,scrollTo:L,scrollOffset:t,focus:A}}}),aH=Ar()({name:"VSlideGroupItem",props:T0(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const C=k0(n,mS);return()=>{var D;return(D=r.default)==null?void 0:D.call(r,{isSelected:C.isSelected.value,select:C.select,toggle:C.toggle,selectedClass:C.selectedClass.value})}}});const oH=ur({multiLine:Boolean,timeout:{type:[Number,String],default:5e3},vertical:Boolean,...ed({location:"bottom"}),...A0(),...lo(),...cc(),...oa(),...ic(cg({transition:"v-snackbar-transition"}),["persistent","noClickAnimation","scrim","scrollStrategy"])},"VSnackbar"),sH=Ar()({name:"VSnackbar",props:oH(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const C=xi(n,"modelValue"),{locationStyles:D}=td(n),{positionClasses:k}=S0(n),{scopeId:m}=E0(),{themeClasses:t}=Ma(n),{colorClasses:d,colorStyles:y,variantClasses:i}=rp(n),{roundedClasses:M}=Eo(n),v=Vr();Yr(C,l),Yr(()=>n.timeout,l),Js(()=>{C.value&&l()});let h=-1;function l(){window.clearTimeout(h);const u=Number(n.timeout);!C.value||u===-1||(h=window.setTimeout(()=>{C.value=!1},u))}function a(){window.clearTimeout(h)}return Or(()=>{const[u]=oh.filterProps(n);return gt(oh,qr({ref:v,class:["v-snackbar",{"v-snackbar--active":C.value,"v-snackbar--multi-line":n.multiLine&&!n.vertical,"v-snackbar--vertical":n.vertical},k.value,n.class],style:n.style},u,{modelValue:C.value,"onUpdate:modelValue":s=>C.value=s,contentProps:qr({class:["v-snackbar__wrapper",t.value,d.value,M.value,i.value],style:[D.value,y.value],onPointerenter:a,onPointerleave:l},u.contentProps),persistent:!0,noClickAnimation:!0,scrim:!1,scrollStrategy:"none",_disableGlobalStack:!0},m),{default:()=>[np(!1,"v-snackbar"),r.default&>("div",{class:"v-snackbar__content",role:"status","aria-live":"polite"},[r.default()]),r.actions&>(Fa,{defaults:{VBtn:{variant:"text",ripple:!1}}},{default:()=>[gt("div",{class:"v-snackbar__actions"},[r.actions()])]})],activator:r.activator})}),Vc({},v)}});const lH=ur({indeterminate:Boolean,inset:Boolean,flat:Boolean,loading:{type:[Boolean,String],default:!1},...mh(),...n1()},"VSwitch"),uH=Ar()({name:"VSwitch",inheritAttrs:!1,props:lH(),emits:{"update:focused":n=>!0,"update:modelValue":()=>!0,"update:indeterminate":n=>!0},setup(n,e){let{attrs:r,slots:C}=e;const D=xi(n,"indeterminate"),k=xi(n,"modelValue"),{loaderClasses:m}=t1(n),{isFocused:t,focus:d,blur:y}=rd(n),i=Vr(),M=cn(()=>typeof n.loading=="string"&&n.loading!==""?n.loading:n.color),v=Qs(),h=cn(()=>n.id||`switch-${v}`);function l(){D.value&&(D.value=!1)}function a(u){var s,o;u.stopPropagation(),u.preventDefault(),(o=(s=i.value)==null?void 0:s.input)==null||o.click()}return Or(()=>{const[u,s]=Qd(r),[o,c]=Ns.filterProps(n),[f,p]=Xd.filterProps(n);return gt(Ns,qr({class:["v-switch",{"v-switch--inset":n.inset},{"v-switch--indeterminate":D.value},m.value,n.class],style:n.style},u,o,{id:h.value,focused:t.value}),{...C,default:w=>{let{id:g,messagesId:S,isDisabled:x,isReadonly:T,isValid:E}=w;return gt(Xd,qr({ref:i},f,{modelValue:k.value,"onUpdate:modelValue":[_=>k.value=_,l],id:g.value,"aria-describedby":S.value,type:"checkbox","aria-checked":D.value?"mixed":void 0,disabled:x.value,readonly:T.value,onFocus:d,onBlur:y},s),{...C,default:_=>{let{backgroundColorClasses:A,backgroundColorStyles:L}=_;return gt("div",{class:["v-switch__track",...A.value],style:L.value,onClick:a},null)},input:_=>{let{inputNode:A,icon:L,backgroundColorClasses:b,backgroundColorStyles:R}=_;return gt($r,null,[A,gt("div",{class:["v-switch__thumb",{"v-switch__thumb--filled":L||n.loading},n.inset?void 0:b.value],style:n.inset?void 0:R.value},[gt(s_,null,{default:()=>[n.loading?gt(g_,{name:"v-switch",active:!0,color:E.value===!1?void 0:M.value},{default:I=>C.loader?C.loader(I):gt(d_,{active:I.isActive,color:I.color,indeterminate:!0,size:"16",width:"2"},null)}):L&>(ja,{key:L,icon:L,size:"x-small"},null)]})])])}})}})}),{}}});const cH=ur({color:String,height:[Number,String],window:Boolean,...Zr(),...ds(),...x0(),...lo(),...Si(),...oa()},"VSystemBar"),fH=Ar()({name:"VSystemBar",props:cH(),setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{backgroundColorClasses:D,backgroundColorStyles:k}=Oo(Cr(n,"color")),{elevationClasses:m}=Vs(n),{roundedClasses:t}=Eo(n),{ssrBootStyles:d}=tp(),y=cn(()=>n.height??(n.window?32:24)),{layoutItemStyles:i}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:Wr("top"),layoutSize:y,elementSize:y,active:cn(()=>!0),absolute:Cr(n,"absolute")});return Or(()=>gt(n.tag,{class:["v-system-bar",{"v-system-bar--window":n.window},C.value,D.value,m.value,t.value,n.class],style:[k.value,i.value,d.value,n.style]},r)),{}}});const vS=Symbol.for("vuetify:v-tabs"),hH=ur({fixed:Boolean,sliderColor:String,hideSlider:Boolean,direction:{type:String,default:"horizontal"},...ic(v_({selectedClass:"v-tab--selected",variant:"text"}),["active","block","flat","location","position","symbol"])},"VTab"),yS=Ar()({name:"VTab",props:hH(),setup(n,e){let{slots:r,attrs:C}=e;const{textColorClasses:D,textColorStyles:k}=Ks(n,"sliderColor"),m=cn(()=>n.direction==="horizontal"),t=Wr(!1),d=Vr(),y=Vr();function i(M){var h,l;let{value:v}=M;if(t.value=v,v){const a=(l=(h=d.value)==null?void 0:h.$el.parentElement)==null?void 0:l.querySelector(".v-tab--selected .v-tab__slider"),u=y.value;if(!a||!u)return;const s=getComputedStyle(a).color,o=a.getBoundingClientRect(),c=u.getBoundingClientRect(),f=m.value?"x":"y",p=m.value?"X":"Y",w=m.value?"right":"bottom",g=m.value?"width":"height",S=o[f],x=c[f],T=S>x?o[w]-c[w]:o[f]-c[f],E=Math.sign(T)>0?m.value?"right":"bottom":Math.sign(T)<0?m.value?"left":"top":"center",A=(Math.abs(T)+(Math.sign(T)<0?o[g]:c[g]))/Math.max(o[g],c[g])||0,L=o[g]/c[g]||0,b=1.5;Dd(u,{backgroundColor:[s,"currentcolor"],transform:[`translate${p}(${T}px) scale${p}(${L})`,`translate${p}(${T/b}px) scale${p}(${(A-1)/b+1})`,"none"],transformOrigin:Array(3).fill(E)},{duration:225,easing:zm})}}return Or(()=>{const[M]=wl.filterProps(n);return gt(wl,qr({symbol:vS,ref:d,class:["v-tab",n.class],style:n.style,tabindex:t.value?0:-1,role:"tab","aria-selected":String(t.value),active:!1},M,C,{block:n.fixed,maxWidth:n.fixed?300:void 0,"onGroup:selected":i}),{default:()=>{var v;return[((v=r.default)==null?void 0:v.call(r))??n.text,!n.hideSlider&>("div",{ref:y,class:["v-tab__slider",D.value],style:k.value},null)]}})}),{}}});function dH(n){return n?n.map(e=>typeof e=="string"?{title:e,value:e}:e):[]}const pH=ur({alignTabs:{type:String,default:"start"},color:String,fixedTabs:Boolean,items:{type:Array,default:()=>[]},stacked:Boolean,bgColor:String,grow:Boolean,height:{type:[Number,String],default:void 0},hideSlider:Boolean,sliderColor:String,...gS({mandatory:"force"}),...ps(),...Si()},"VTabs"),mH=Ar()({name:"VTabs",props:pH(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const C=xi(n,"modelValue"),D=cn(()=>dH(n.items)),{densityClasses:k}=el(n),{backgroundColorClasses:m,backgroundColorStyles:t}=Oo(Cr(n,"bgColor"));return ns({VTab:{color:Cr(n,"color"),direction:Cr(n,"direction"),stacked:Cr(n,"stacked"),fixed:Cr(n,"fixedTabs"),sliderColor:Cr(n,"sliderColor"),hideSlider:Cr(n,"hideSlider")}}),Or(()=>{const[d]=Dx.filterProps(n);return gt(Dx,qr(d,{modelValue:C.value,"onUpdate:modelValue":y=>C.value=y,class:["v-tabs",`v-tabs--${n.direction}`,`v-tabs--align-tabs-${n.alignTabs}`,{"v-tabs--fixed-tabs":n.fixedTabs,"v-tabs--grow":n.grow,"v-tabs--stacked":n.stacked},k.value,m.value,n.class],style:[{"--v-tabs-height":Qr(n.height)},t.value,n.style],role:"tablist",symbol:vS}),{default:()=>[r.default?r.default():D.value.map(y=>gt(yS,qr(y,{key:y.title}),null))]})}),{}}});const gH=ur({fixedHeader:Boolean,fixedFooter:Boolean,height:[Number,String],hover:Boolean,...Zr(),...ps(),...Si(),...oa()},"VTable"),vH=Ar()({name:"VTable",props:gH(),setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{densityClasses:D}=el(n);return Or(()=>gt(n.tag,{class:["v-table",{"v-table--fixed-height":!!n.height,"v-table--fixed-header":n.fixedHeader,"v-table--fixed-footer":n.fixedFooter,"v-table--has-top":!!r.top,"v-table--has-bottom":!!r.bottom,"v-table--hover":n.hover},C.value,D.value,n.class],style:n.style},{default:()=>{var k,m,t;return[(k=r.top)==null?void 0:k.call(r),r.default?gt("div",{class:"v-table__wrapper",style:{height:Qr(n.height)}},[gt("table",null,[r.default()])]):(m=r.wrapper)==null?void 0:m.call(r),(t=r.bottom)==null?void 0:t.call(r)]}})),{}}});const yH=ur({autoGrow:Boolean,autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,noResize:Boolean,rows:{type:[Number,String],default:5,validator:n=>!isNaN(parseFloat(n))},maxRows:{type:[Number,String],validator:n=>!isNaN(parseFloat(n))},suffix:String,modelModifiers:Object,...mh(),...u1()},"VTextarea"),bH=Ar()({name:"VTextarea",directives:{Intersect:og},inheritAttrs:!1,props:yH(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:C,slots:D}=e;const k=xi(n,"modelValue"),{isFocused:m,focus:t,blur:d}=rd(n),y=cn(()=>typeof n.counterValue=="function"?n.counterValue(k.value):(k.value||"").toString().length),i=cn(()=>{if(r.maxlength)return r.maxlength;if(!(!n.counter||typeof n.counter!="number"&&typeof n.counter!="string"))return n.counter});function M(E,_){var A,L;!n.autofocus||!E||(L=(A=_[0].target)==null?void 0:A.focus)==null||L.call(A)}const v=Vr(),h=Vr(),l=Wr(""),a=Vr(),u=cn(()=>n.persistentPlaceholder||m.value||n.active);function s(){var E;a.value!==document.activeElement&&((E=a.value)==null||E.focus()),m.value||t()}function o(E){s(),C("click:control",E)}function c(E){C("mousedown:control",E)}function f(E){E.stopPropagation(),s(),Ua(()=>{k.value="",K2(n["onClick:clear"],E)})}function p(E){var A;const _=E.target;if(k.value=_.value,(A=n.modelModifiers)!=null&&A.trim){const L=[_.selectionStart,_.selectionEnd];Ua(()=>{_.selectionStart=L[0],_.selectionEnd=L[1]})}}const w=Vr(),g=Vr(+n.rows),S=cn(()=>["plain","underlined"].includes(n.variant));wu(()=>{n.autoGrow||(g.value=+n.rows)});function x(){n.autoGrow&&Ua(()=>{if(!w.value||!h.value)return;const E=getComputedStyle(w.value),_=getComputedStyle(h.value.$el),A=parseFloat(E.getPropertyValue("--v-field-padding-top"))+parseFloat(E.getPropertyValue("--v-input-padding-top"))+parseFloat(E.getPropertyValue("--v-field-padding-bottom")),L=w.value.scrollHeight,b=parseFloat(E.lineHeight),R=Math.max(parseFloat(n.rows)*b+A,parseFloat(_.getPropertyValue("--v-input-control-height"))),I=parseFloat(n.maxRows)*b+A||1/0,O=Xs(L??0,R,I);g.value=Math.floor((O-A)/b),l.value=Qr(O)})}Js(x),Yr(k,x),Yr(()=>n.rows,x),Yr(()=>n.maxRows,x),Yr(()=>n.density,x);let T;return Yr(w,E=>{E?(T=new ResizeObserver(x),T.observe(w.value)):T==null||T.disconnect()}),kl(()=>{T==null||T.disconnect()}),Or(()=>{const E=!!(D.counter||n.counter||n.counterValue),_=!!(E||D.details),[A,L]=Qd(r),[{modelValue:b,...R}]=Ns.filterProps(n),[I]=w_(n);return gt(Ns,qr({ref:v,modelValue:k.value,"onUpdate:modelValue":O=>k.value=O,class:["v-textarea v-text-field",{"v-textarea--prefixed":n.prefix,"v-textarea--suffixed":n.suffix,"v-text-field--prefixed":n.prefix,"v-text-field--suffixed":n.suffix,"v-textarea--auto-grow":n.autoGrow,"v-textarea--no-resize":n.noResize||n.autoGrow,"v-text-field--plain-underlined":S.value},n.class],style:n.style},A,R,{centerAffix:g.value===1&&!S.value,focused:m.value}),{...D,default:O=>{let{isDisabled:z,isDirty:F,isReadonly:B,isValid:N}=O;return gt(fg,qr({ref:h,style:{"--v-textarea-control-height":l.value},onClick:o,onMousedown:c,"onClick:clear":f,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"]},I,{active:u.value||F.value,centerAffix:g.value===1&&!S.value,dirty:F.value||n.dirty,disabled:z.value,focused:m.value,error:N.value===!1}),{...D,default:W=>{let{props:{class:j,...Y}}=W;return gt($r,null,[n.prefix&>("span",{class:"v-text-field__prefix"},[n.prefix]),Co(gt("textarea",qr({ref:a,class:j,value:k.value,onInput:p,autofocus:n.autofocus,readonly:B.value,disabled:z.value,placeholder:n.placeholder,rows:n.rows,name:n.name,onFocus:s,onBlur:d},Y,L),null),[[Tu("intersect"),{handler:M},null,{once:!0}]]),n.autoGrow&&Co(gt("textarea",{class:[j,"v-textarea__sizer"],id:`${Y.id}-sizer`,"onUpdate:modelValue":U=>k.value=U,ref:w,readonly:!0,"aria-hidden":"true"},null),[[A7,k.value]]),n.suffix&>("span",{class:"v-text-field__suffix"},[n.suffix])])}})},details:_?O=>{var z;return gt($r,null,[(z=D.details)==null?void 0:z.call(D,O),E&>($r,null,[gt("span",null,null),gt(l1,{active:n.persistentCounter||m.value,value:y.value,max:i.value},D.counter)])])}:void 0})}),Vc({},v,h,a)}});const xH=ur({withBackground:Boolean,...Zr(),...oa(),...Si()},"VThemeProvider"),_H=Ar()({name:"VThemeProvider",props:xH(),setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n);return()=>{var D;return n.withBackground?gt(n.tag,{class:["v-theme-provider",C.value,n.class],style:n.style},{default:()=>{var k;return[(k=r.default)==null?void 0:k.call(r)]}}):(D=r.default)==null?void 0:D.call(r)}}});const wH=ur({align:{type:String,default:"center",validator:n=>["center","start"].includes(n)},direction:{type:String,default:"vertical",validator:n=>["vertical","horizontal"].includes(n)},justify:{type:String,default:"auto",validator:n=>["auto","center"].includes(n)},side:{type:String,validator:n=>n==null||["start","end"].includes(n)},lineInset:{type:[String,Number],default:0},lineThickness:{type:[String,Number],default:2},lineColor:String,truncateLine:{type:String,validator:n=>["start","end","both"].includes(n)},...Zr(),...ps(),...Si(),...oa()},"VTimeline"),TH=Ar()({name:"VTimeline",props:wH(),setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{densityClasses:D}=el(n),{rtlClasses:k}=Ls();ns({VTimelineDivider:{lineColor:Cr(n,"lineColor")},VTimelineItem:{density:Cr(n,"density"),lineInset:Cr(n,"lineInset")}});const m=cn(()=>{const d=n.side?n.side:n.density!=="default"?"end":null;return d&&`v-timeline--side-${d}`}),t=cn(()=>{const d=["v-timeline--truncate-line-start","v-timeline--truncate-line-end"];switch(n.truncateLine){case"both":return d;case"start":return d[0];case"end":return d[1];default:return null}});return Or(()=>gt(n.tag,{class:["v-timeline",`v-timeline--${n.direction}`,`v-timeline--align-${n.align}`,`v-timeline--justify-${n.justify}`,t.value,{"v-timeline--inset-line":!!n.lineInset},C.value,D.value,m.value,k.value,n.class],style:[{"--v-timeline-line-thickness":Qr(n.lineThickness)},n.style]},r)),{}}}),kH=ur({dotColor:String,fillDot:Boolean,hideDot:Boolean,icon:bi,iconColor:String,lineColor:String,...Zr(),...lo(),...ph(),...ds()},"VTimelineDivider"),MH=Ar()({name:"VTimelineDivider",props:kH(),setup(n,e){let{slots:r}=e;const{sizeClasses:C,sizeStyles:D}=M0(n,"v-timeline-divider__dot"),{backgroundColorStyles:k,backgroundColorClasses:m}=Oo(Cr(n,"dotColor")),{roundedClasses:t}=Eo(n,"v-timeline-divider__dot"),{elevationClasses:d}=Vs(n),{backgroundColorClasses:y,backgroundColorStyles:i}=Oo(Cr(n,"lineColor"));return Or(()=>gt("div",{class:["v-timeline-divider",{"v-timeline-divider--fill-dot":n.fillDot},n.class],style:n.style},[gt("div",{class:["v-timeline-divider__before",y.value],style:i.value},null),!n.hideDot&>("div",{key:"dot",class:["v-timeline-divider__dot",d.value,t.value,C.value],style:D.value},[gt("div",{class:["v-timeline-divider__inner-dot",m.value,t.value],style:k.value},[r.default?gt(Fa,{key:"icon-defaults",disabled:!n.icon,defaults:{VIcon:{color:n.iconColor,icon:n.icon,size:n.size}}},r.default):gt(ja,{key:"icon",color:n.iconColor,icon:n.icon,size:n.size},null)])]),gt("div",{class:["v-timeline-divider__after",y.value],style:i.value},null)])),{}}}),AH=ur({density:String,dotColor:String,fillDot:Boolean,hideDot:Boolean,hideOpposite:{type:Boolean,default:void 0},icon:bi,iconColor:String,lineInset:[Number,String],...Zr(),...sc(),...ds(),...lo(),...ph(),...Si()},"VTimelineItem"),SH=Ar()({name:"VTimelineItem",props:AH(),setup(n,e){let{slots:r}=e;const{dimensionStyles:C}=lc(n),D=Wr(0),k=Vr();return Yr(k,m=>{var t;m&&(D.value=((t=m.$el.querySelector(".v-timeline-divider__dot"))==null?void 0:t.getBoundingClientRect().width)??0)},{flush:"post"}),Or(()=>{var m,t;return gt("div",{class:["v-timeline-item",{"v-timeline-item--fill-dot":n.fillDot},n.class],style:[{"--v-timeline-dot-size":Qr(D.value),"--v-timeline-line-inset":n.lineInset?`calc(var(--v-timeline-dot-size) / 2 + ${Qr(n.lineInset)})`:Qr(0)},n.style]},[gt("div",{class:"v-timeline-item__body",style:C.value},[(m=r.default)==null?void 0:m.call(r)]),gt(MH,{ref:k,hideDot:n.hideDot,icon:n.icon,iconColor:n.iconColor,size:n.size,elevation:n.elevation,dotColor:n.dotColor,fillDot:n.fillDot,rounded:n.rounded},{default:r.icon}),n.density!=="compact"&>("div",{class:"v-timeline-item__opposite"},[!n.hideOpposite&&((t=r.opposite)==null?void 0:t.call(r))])])}),{}}}),CH=ur({...Zr(),...cc({variant:"text"})},"VToolbarItems"),EH=Ar()({name:"VToolbarItems",props:CH(),setup(n,e){let{slots:r}=e;return ns({VBtn:{color:Cr(n,"color"),height:"inherit",variant:Cr(n,"variant")}}),Or(()=>{var C;return gt("div",{class:["v-toolbar-items",n.class],style:n.style},[(C=r.default)==null?void 0:C.call(r)])}),{}}});const LH=ur({id:String,text:String,...ic(cg({closeOnBack:!1,location:"end",locationStrategy:"connected",eager:!0,minWidth:0,offset:10,openOnClick:!1,openOnHover:!0,origin:"auto",scrim:!1,scrollStrategy:"reposition",transition:!1}),["absolute","persistent"])},"VTooltip"),IH=Ar()({name:"VTooltip",props:LH(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const C=xi(n,"modelValue"),{scopeId:D}=E0(),k=Qs(),m=cn(()=>n.id||`v-tooltip-${k}`),t=Vr(),d=cn(()=>n.location.split(" ").length>1?n.location:n.location+" center"),y=cn(()=>n.origin==="auto"||n.origin==="overlap"||n.origin.split(" ").length>1||n.location.split(" ").length>1?n.origin:n.origin+" center"),i=cn(()=>n.transition?n.transition:C.value?"scale-transition":"fade-transition"),M=cn(()=>qr({"aria-describedby":m.value},n.activatorProps));return Or(()=>{const[v]=oh.filterProps(n);return gt(oh,qr({ref:t,class:["v-tooltip",n.class],style:n.style,id:m.value},v,{modelValue:C.value,"onUpdate:modelValue":h=>C.value=h,transition:i.value,absolute:!0,location:d.value,origin:y.value,persistent:!0,role:"tooltip",activatorProps:M.value,_disableGlobalStack:!0},D),{activator:r.activator,default:function(){var u;for(var h=arguments.length,l=new Array(h),a=0;a!0},setup(n,e){let{slots:r}=e;const C=cA(n,"validation");return()=>{var D;return(D=r.default)==null?void 0:D.call(r,C)}}}),PH=Object.freeze(Object.defineProperty({__proto__:null,VAlert:lN,VAlertTitle:nA,VApp:yB,VAppBar:BB,VAppBarNavIcon:iN,VAppBarTitle:aN,VAutocomplete:AV,VAvatar:Zh,VBadge:CV,VBanner:IV,VBannerActions:zA,VBannerText:FA,VBottomNavigation:PV,VBreadcrumbs:FV,VBreadcrumbsDivider:BA,VBreadcrumbsItem:NA,VBtn:wl,VBtnGroup:bx,VBtnToggle:GB,VCard:VV,VCardActions:VA,VCardItem:HA,VCardSubtitle:jA,VCardText:GA,VCardTitle:UA,VCarousel:ZV,VCarouselItem:KV,VCheckbox:gN,VCheckboxBtn:f0,VChip:ug,VChipGroup:bN,VClassIcon:a_,VCode:JV,VCol:uU,VColorPicker:Vj,VCombobox:Hj,VComponentIcon:dx,VContainer:aU,VCounter:l1,VDefaultsProvider:Fa,VDialog:qj,VDialogBottomTransition:wB,VDialogTopTransition:TB,VDialogTransition:Qy,VDivider:_A,VExpandTransition:e1,VExpandXTransition:u_,VExpansionPanel:Kj,VExpansionPanelText:tS,VExpansionPanelTitle:rS,VExpansionPanels:Yj,VFabTransition:_B,VFadeTransition:gx,VField:fg,VFieldLabel:um,VFileInput:Qj,VFooter:tU,VForm:rU,VHover:bU,VIcon:ja,VImg:Zd,VInput:Ns,VItem:wU,VItemGroup:_U,VKbd:TU,VLabel:C0,VLayout:MU,VLayoutItem:SU,VLazy:EU,VLigatureIcon:IF,VList:a1,VListGroup:Tx,VListImg:NN,VListItem:ah,VListItemAction:jN,VListItemMedia:HN,VListItemSubtitle:yA,VListItemTitle:bA,VListSubheader:xA,VLocaleProvider:IU,VMain:PU,VMenu:s1,VMessages:sA,VNavigationDrawer:UU,VNoSsr:HU,VOverlay:oh,VPagination:WU,VParallax:ZU,VProgressCircular:d_,VProgressLinear:p_,VRadio:KU,VRadioGroup:QU,VRangeSlider:tH,VRating:rH,VResponsive:vx,VRow:gU,VScaleTransition:s_,VScrollXReverseTransition:MB,VScrollXTransition:kB,VScrollYReverseTransition:SB,VScrollYTransition:AB,VSelect:_V,VSelectionControl:Xd,VSelectionControlGroup:iA,VSheet:Ox,VSlideGroup:Dx,VSlideGroupItem:aH,VSlideXReverseTransition:EB,VSlideXTransition:CB,VSlideYReverseTransition:LB,VSlideYTransition:l_,VSlider:Px,VSnackbar:sH,VSpacer:vU,VSvgIcon:i_,VSwitch:uH,VSystemBar:fH,VTab:yS,VTable:vH,VTabs:mH,VTextField:Kd,VTextarea:bH,VThemeProvider:_H,VTimeline:TH,VTimelineItem:SH,VToolbar:yx,VToolbarItems:EH,VToolbarTitle:o_,VTooltip:IH,VValidation:RH,VVirtualScroll:f1,VWindow:Sx,VWindowItem:Cx},Symbol.toStringTag,{value:"Module"}));function OH(n,e){const r=e.modifiers||{},C=e.value,{once:D,immediate:k,...m}=r,t=!Object.keys(m).length,{handler:d,options:y}=typeof C=="object"?C:{handler:C,options:{attributes:(m==null?void 0:m.attr)??t,characterData:(m==null?void 0:m.char)??t,childList:(m==null?void 0:m.child)??t,subtree:(m==null?void 0:m.sub)??t}},i=new MutationObserver(function(){let M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],v=arguments.length>1?arguments[1]:void 0;d==null||d(M,v),D&&bS(n,e)});k&&(d==null||d([],i)),n._mutate=Object(n._mutate),n._mutate[e.instance.$.uid]={observer:i},i.observe(n,y)}function bS(n,e){var r;(r=n._mutate)!=null&&r[e.instance.$.uid]&&(n._mutate[e.instance.$.uid].observer.disconnect(),delete n._mutate[e.instance.$.uid])}const DH={mounted:OH,unmounted:bS};function zH(n,e){var D,k;const r=e.value,C={passive:!((D=e.modifiers)!=null&&D.active)};window.addEventListener("resize",r,C),n._onResize=Object(n._onResize),n._onResize[e.instance.$.uid]={handler:r,options:C},(k=e.modifiers)!=null&&k.quiet||r()}function FH(n,e){var D;if(!((D=n._onResize)!=null&&D[e.instance.$.uid]))return;const{handler:r,options:C}=n._onResize[e.instance.$.uid];window.removeEventListener("resize",r,C),delete n._onResize[e.instance.$.uid]}const BH={mounted:zH,unmounted:FH};function xS(n,e){const{self:r=!1}=e.modifiers??{},C=e.value,D=typeof C=="object"&&C.options||{passive:!0},k=typeof C=="function"||"handleEvent"in C?C:C.handler,m=r?n:e.arg?document.querySelector(e.arg):window;m&&(m.addEventListener("scroll",k,D),n._onScroll=Object(n._onScroll),n._onScroll[e.instance.$.uid]={handler:k,options:D,target:r?void 0:m})}function _S(n,e){var k;if(!((k=n._onScroll)!=null&&k[e.instance.$.uid]))return;const{handler:r,options:C,target:D=n}=n._onScroll[e.instance.$.uid];D.removeEventListener("scroll",r,C),delete n._onScroll[e.instance.$.uid]}function NH(n,e){e.value!==e.oldValue&&(_S(n,e),xS(n,e))}const VH={mounted:xS,unmounted:_S,updated:NH},jH=Object.freeze(Object.defineProperty({__proto__:null,ClickOutside:PA,Intersect:og,Mutate:DH,Resize:BH,Ripple:nd,Scroll:VH,Touch:M_},Symbol.toStringTag,{value:"Module"})),E_=I7(Vz);E_.use(O7());E_.use(F6({components:PH,directives:jH}));E_.mount("#app"); +`)}function q5(n){const e=n.dark?2:1,r=n.dark?1:2,C=[];for(const[D,T]of Object.entries(n.colors)){const p=Pc(T);C.push(`--v-theme-${D}: ${p.r},${p.g},${p.b}`),D.startsWith("on-")||C.push(`--v-theme-${D}-overlay-multiplier: ${cx(T)>.18?e:r}`)}for(const[D,T]of Object.entries(n.variables)){const p=typeof T=="string"&&T.startsWith("#")?Pc(T):void 0,t=p?`${p.r}, ${p.g}, ${p.b}`:void 0;C.push(`--v-${D}: ${t??T}`)}return C}const px={"001":1,AD:1,AE:6,AF:6,AG:0,AI:1,AL:1,AM:1,AN:1,AR:1,AS:0,AT:1,AU:1,AX:1,AZ:1,BA:1,BD:0,BE:1,BG:1,BH:6,BM:1,BN:1,BR:0,BS:0,BT:0,BW:0,BY:1,BZ:0,CA:0,CH:1,CL:1,CM:1,CN:1,CO:0,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DM:0,DO:0,DZ:6,EC:1,EE:1,EG:6,ES:1,ET:0,FI:1,FJ:1,FO:1,FR:1,GB:1,"GB-alt-variant":0,GE:1,GF:1,GP:1,GR:1,GT:0,GU:0,HK:0,HN:0,HR:1,HU:1,ID:0,IE:1,IL:0,IN:0,IQ:6,IR:6,IS:1,IT:1,JM:0,JO:6,JP:0,KE:0,KG:1,KH:0,KR:0,KW:6,KZ:1,LA:0,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MH:0,MK:1,MM:0,MN:1,MO:0,MQ:1,MT:0,MV:5,MX:0,MY:1,MZ:0,NI:0,NL:1,NO:1,NP:0,NZ:1,OM:6,PA:0,PE:0,PH:0,PK:0,PL:1,PR:0,PT:0,PY:0,QA:6,RE:1,RO:1,RS:1,RU:1,SA:0,SD:6,SE:1,SG:0,SI:1,SK:1,SM:1,SV:0,SY:6,TH:0,TJ:1,TM:1,TR:1,TT:0,TW:0,UA:1,UM:0,US:0,UY:1,UZ:1,VA:1,VE:0,VI:0,VN:1,WS:0,XK:1,YE:0,ZA:0,ZW:0};function UF(n,e){const r=[];let C=[];const D=P6(n),T=O6(n),p=D.getDay()-px[e.slice(-2).toUpperCase()],t=T.getDay()-px[e.slice(-2).toUpperCase()];for(let d=0;d{const C=new Date(W5);return C.setDate(W5.getDate()+e+r),new Intl.DateTimeFormat(n,{weekday:"narrow"}).format(C)})}function YF(n,e,r){const C=new Date(n);let D={};switch(e){case"fullDateWithWeekday":D={weekday:"long",day:"numeric",month:"long",year:"numeric"};break;case"normalDateWithWeekday":D={weekday:"short",day:"numeric",month:"short"};break;case"keyboardDate":D={};break;case"monthAndDate":D={month:"long",day:"numeric"};break;case"monthAndYear":D={month:"long",year:"numeric"};break;case"dayOfMonth":D={day:"numeric"};break;default:D={timeZone:"UTC",timeZoneName:"short"}}return new Intl.DateTimeFormat(r,D).format(C)}function $F(n,e){const r=new Date(n);return r.setDate(r.getDate()+e),r}function ZF(n,e){const r=new Date(n);return r.setMonth(r.getMonth()+e),r}function XF(n){return n.getFullYear()}function KF(n){return n.getMonth()}function JF(n){return new Date(n.getFullYear(),0,1)}function QF(n){return new Date(n.getFullYear(),11,31)}function eB(n,e){return mx(n,e[0])&&nB(n,e[1])}function tB(n){if(!n||n==null)return!1;const e=new Date(n);return e instanceof Date&&!isNaN(e.getTime())}function mx(n,e){return n.getTime()>e.getTime()}function nB(n,e){return n.getTime()1&&arguments[1]!==void 0?arguments[1]:"content";const r=Vr(),C=Vr();if(to){const D=new ResizeObserver(T=>{n==null||n(T,D),T.length&&(e==="content"?C.value=T[0].contentRect:C.value=T[0].target.getBoundingClientRect())});Tl(()=>{D.disconnect()}),$r(r,(T,p)=>{p&&(D.unobserve(ox(p)),C.value=void 0),T&&D.observe(ox(T))},{flush:"post"})}return{resizeRef:r,contentRect:Hm(C)}}const fy=Symbol.for("vuetify:layout"),D6=Symbol.for("vuetify:layout-item"),Z5=1e3,z6=ur({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},"layout"),x0=ur({name:{type:String},order:{type:[Number,String],default:0},absolute:Boolean},"layout-item");function hB(){const n=ka(fy);if(!n)throw new Error("[Vuetify] Could not find injected layout");return{getLayoutItem:n.getLayoutItem,mainRect:n.mainRect,mainStyles:n.mainStyles}}function _0(n){const e=ka(fy);if(!e)throw new Error("[Vuetify] Could not find injected layout");const r=n.id??`layout-item-${Js()}`,C=Ss("useLayoutItem");ts(D6,{id:r});const D=Wr(!1);ZT(()=>D.value=!0),$T(()=>D.value=!1);const{layoutItemStyles:T,layoutItemScrimStyles:p}=e.register(C,{...n,active:cn(()=>D.value?!1:n.active.value),id:r});return Tl(()=>e.unregister(r)),{layoutItemStyles:T,layoutRect:e.layoutRect,layoutItemScrimStyles:p}}const fB=(n,e,r,C)=>{let D={top:0,left:0,right:0,bottom:0};const T=[{id:"",layer:{...D}}];for(const p of n){const t=e.get(p),d=r.get(p),g=C.get(p);if(!t||!d||!g)continue;const i={...D,[t.value]:parseInt(D[t.value],10)+(g.value?parseInt(d.value,10):0)};T.push({id:p,layer:i}),D=i}return T};function F6(n){const e=ka(fy,null),r=cn(()=>e?e.rootZIndex.value-100:Z5),C=Vr([]),D=yl(new Map),T=yl(new Map),p=yl(new Map),t=yl(new Map),d=yl(new Map),{resizeRef:g,contentRect:i}=Th(),M=cn(()=>{const w=new Map,y=n.overlaps??[];for(const S of y.filter(_=>_.includes(":"))){const[_,k]=S.split(":");if(!C.value.includes(_)||!C.value.includes(k))continue;const E=D.get(_),x=D.get(k),A=T.get(_),L=T.get(k);!E||!x||!A||!L||(w.set(k,{position:E.value,amount:parseInt(A.value,10)}),w.set(_,{position:x.value,amount:-parseInt(L.value,10)}))}return w}),v=cn(()=>{const w=[...new Set([...p.values()].map(S=>S.value))].sort((S,_)=>S-_),y=[];for(const S of w){const _=C.value.filter(k=>{var E;return((E=p.get(k))==null?void 0:E.value)===S});y.push(..._)}return fB(y,D,T,t)}),f=cn(()=>!Array.from(d.values()).some(w=>w.value)),l=cn(()=>v.value[v.value.length-1].layer),a=cn(()=>({"--v-layout-left":Qr(l.value.left),"--v-layout-right":Qr(l.value.right),"--v-layout-top":Qr(l.value.top),"--v-layout-bottom":Qr(l.value.bottom),...f.value?void 0:{transition:"none"}})),u=cn(()=>v.value.slice(1).map((w,y)=>{let{id:S}=w;const{layer:_}=v.value[y],k=T.get(S),E=D.get(S);return{id:S,..._,size:Number(k.value),position:E.value}})),o=w=>u.value.find(y=>y.id===w),s=Ss("createLayout"),c=Wr(!1);Ks(()=>{c.value=!0}),ts(fy,{register:(w,y)=>{let{id:S,order:_,position:k,layoutSize:E,elementSize:x,active:A,disableTransitions:L,absolute:b}=y;p.set(S,_),D.set(S,k),T.set(S,E),t.set(S,A),L&&d.set(S,L);const I=ym(D6,s==null?void 0:s.vnode).indexOf(w);I>-1?C.value.splice(I,0,S):C.value.push(S);const O=cn(()=>u.value.findIndex(N=>N.id===S)),z=cn(()=>r.value+v.value.length*2-O.value*2),F=cn(()=>{const N=k.value==="left"||k.value==="right",W=k.value==="right",j=k.value==="bottom",$={[k.value]:0,zIndex:z.value,transform:`translate${N?"X":"Y"}(${(A.value?0:-110)*(W||j?-1:1)}%)`,position:b.value||r.value!==Z5?"absolute":"fixed",...f.value?void 0:{transition:"none"}};if(!c.value)return $;const U=u.value[O.value];if(!U)throw new Error(`[Vuetify] Could not find layout item "${S}"`);const G=M.value.get(S);return G&&(U[G.position]+=G.amount),{...$,height:N?`calc(100% - ${U.top}px - ${U.bottom}px)`:x.value?`${x.value}px`:void 0,left:W?void 0:`${U.left}px`,right:W?`${U.right}px`:void 0,top:k.value!=="bottom"?`${U.top}px`:void 0,bottom:k.value!=="top"?`${U.bottom}px`:void 0,width:N?x.value?`${x.value}px`:void 0:`calc(100% - ${U.left}px - ${U.right}px)`}}),B=cn(()=>({zIndex:z.value-1}));return{layoutItemStyles:F,layoutItemScrimStyles:B,zIndex:z}},unregister:w=>{p.delete(w),D.delete(w),T.delete(w),t.delete(w),d.delete(w),C.value=C.value.filter(y=>y!==w)},mainRect:l,mainStyles:a,getLayoutItem:o,items:u,layoutRect:i,rootZIndex:r});const h=cn(()=>["v-layout",{"v-layout--full-height":n.fullHeight}]),m=cn(()=>({zIndex:r.value,position:e?"relative":void 0,overflow:e?"hidden":void 0}));return{layoutClasses:h,layoutStyles:m,getLayoutItem:o,items:u,layoutRect:i,layoutRef:g}}function B6(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{blueprint:e,...r}=n,C=Ku(e,r),{aliases:D={},components:T={},directives:p={}}=C,t=_F(C.defaults),d=MF(C.display,C.ssr),g=jF(C.theme),i=LF(C.icons),M=zF(C.locale),v=cB(C.date);return{install:l=>{for(const a in p)l.directive(a,p[a]);for(const a in T)l.component(a,T[a]);for(const a in D)l.component(a,ac({...D[a],name:a,aliasName:D[a].name}));if(g.install(l),l.provide(u0,t),l.provide(hx,d),l.provide(Fm,g),l.provide(fx,i),l.provide(c0,M),l.provide($5,v),to&&C.ssr)if(l.$nuxt)l.$nuxt.hook("app:suspense:resolve",()=>{d.update()});else{const{mount:a}=l;l.mount=function(){const u=a(...arguments);return Ua(()=>d.update()),l.mount=a,u}}Js.reset(),l.mixin({computed:{$vuetify(){return yl({defaults:Ep.call(this,u0),display:Ep.call(this,hx),theme:Ep.call(this,Fm),icons:Ep.call(this,fx),locale:Ep.call(this,c0),date:Ep.call(this,$5)})}}})},defaults:t,display:d,theme:g,icons:i,locale:M,date:v}}const dB="3.3.16";B6.version=dB;function Ep(n){var C,D;const e=this.$,r=((C=e.parent)==null?void 0:C.provides)??((D=e.vnode.appContext)==null?void 0:D.provides);if(r&&n in r)return r[n]}const pB=ur({...Zr(),...z6({fullHeight:!0}),...oa()},"VApp"),mB=Ar()({name:"VApp",props:pB(),setup(n,e){let{slots:r}=e;const C=Ma(n),{layoutClasses:D,layoutStyles:T,getLayoutItem:p,items:t,layoutRef:d}=F6(n),{rtlClasses:g}=Cs();return Or(()=>{var i;return gt("div",{ref:d,class:["v-application",C.themeClasses.value,D.value,g.value,n.class],style:[T.value,n.style]},[gt("div",{class:"v-application__wrap"},[(i=r.default)==null?void 0:i.call(r)])])}),{getLayoutItem:p,items:t,theme:C}}});const Si=ur({tag:{type:String,default:"div"}},"tag"),N6=ur({text:String,...Zr(),...Si()},"VToolbarTitle"),o_=Ar()({name:"VToolbarTitle",props:N6(),setup(n,e){let{slots:r}=e;return Or(()=>{const C=!!(r.default||r.text||n.text);return gt(n.tag,{class:["v-toolbar-title",n.class],style:n.style},{default:()=>{var D;return[C&>("div",{class:"v-toolbar-title__placeholder"},[r.text?r.text():n.text,(D=r.default)==null?void 0:D.call(r)])]}})}),{}}}),gB=ur({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function Au(n,e,r){return Ar()({name:n,props:gB({mode:r,origin:e}),setup(C,D){let{slots:T}=D;const p={onBeforeEnter(t){C.origin&&(t.style.transformOrigin=C.origin)},onLeave(t){if(C.leaveAbsolute){const{offsetTop:d,offsetLeft:g,offsetWidth:i,offsetHeight:M}=t;t._transitionInitialStyles={position:t.style.position,top:t.style.top,left:t.style.left,width:t.style.width,height:t.style.height},t.style.position="absolute",t.style.top=`${d}px`,t.style.left=`${g}px`,t.style.width=`${i}px`,t.style.height=`${M}px`}C.hideOnLeave&&t.style.setProperty("display","none","important")},onAfterLeave(t){if(C.leaveAbsolute&&(t!=null&&t._transitionInitialStyles)){const{position:d,top:g,left:i,width:M,height:v}=t._transitionInitialStyles;delete t._transitionInitialStyles,t.style.position=d||"",t.style.top=g||"",t.style.left=i||"",t.style.width=M||"",t.style.height=v||""}}};return()=>{const t=C.group?_7:bh;return Xf(t,{name:C.disabled?"":n,css:!C.disabled,...C.group?void 0:{mode:C.mode},...C.disabled?{}:p},T.default)}}})}function V6(n,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return Ar()({name:n,props:{mode:{type:String,default:r},disabled:Boolean},setup(C,D){let{slots:T}=D;return()=>Xf(bh,{name:C.disabled?"":n,css:!C.disabled,...C.disabled?{}:e},T.default)}})}function j6(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const r=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)?"width":"height",C=tc(`offset-${r}`);return{onBeforeEnter(p){p._parent=p.parentNode,p._initialStyle={transition:p.style.transition,overflow:p.style.overflow,[r]:p.style[r]}},onEnter(p){const t=p._initialStyle;p.style.setProperty("transition","none","important"),p.style.overflow="hidden";const d=`${p[C]}px`;p.style[r]="0",p.offsetHeight,p.style.transition=t.transition,n&&p._parent&&p._parent.classList.add(n),requestAnimationFrame(()=>{p.style[r]=d})},onAfterEnter:T,onEnterCancelled:T,onLeave(p){p._initialStyle={transition:"",overflow:p.style.overflow,[r]:p.style[r]},p.style.overflow="hidden",p.style[r]=`${p[C]}px`,p.offsetHeight,requestAnimationFrame(()=>p.style[r]="0")},onAfterLeave:D,onLeaveCancelled:D};function D(p){n&&p._parent&&p._parent.classList.remove(n),T(p)}function T(p){const t=p._initialStyle[r];p.style.overflow=p._initialStyle.overflow,t!=null&&(p.style[r]=t),delete p._initialStyle}}const vB=ur({target:Object},"v-dialog-transition"),Qy=Ar()({name:"VDialogTransition",props:vB(),setup(n,e){let{slots:r}=e;const C={onBeforeEnter(D){D.style.pointerEvents="none",D.style.visibility="hidden"},async onEnter(D,T){var v;await new Promise(f=>requestAnimationFrame(f)),await new Promise(f=>requestAnimationFrame(f)),D.style.visibility="";const{x:p,y:t,sx:d,sy:g,speed:i}=K5(n.target,D),M=Dd(D,[{transform:`translate(${p}px, ${t}px) scale(${d}, ${g})`,opacity:0},{}],{duration:225*i,easing:gF});(v=X5(D))==null||v.forEach(f=>{Dd(f,[{opacity:0},{opacity:0,offset:.33},{}],{duration:225*2*i,easing:zm})}),M.finished.then(()=>T())},onAfterEnter(D){D.style.removeProperty("pointer-events")},onBeforeLeave(D){D.style.pointerEvents="none"},async onLeave(D,T){var v;await new Promise(f=>requestAnimationFrame(f));const{x:p,y:t,sx:d,sy:g,speed:i}=K5(n.target,D);Dd(D,[{},{transform:`translate(${p}px, ${t}px) scale(${d}, ${g})`,opacity:0}],{duration:125*i,easing:vF}).finished.then(()=>T()),(v=X5(D))==null||v.forEach(f=>{Dd(f,[{},{opacity:0,offset:.2},{opacity:0}],{duration:125*2*i,easing:zm})})},onAfterLeave(D){D.style.removeProperty("pointer-events")}};return()=>n.target?gt(bh,qr({name:"dialog-transition"},C,{css:!1}),r):gt(bh,{name:"dialog-transition"},r)}});function X5(n){var r;const e=(r=n.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list"))==null?void 0:r.children;return e&&[...e]}function K5(n,e){const r=n.getBoundingClientRect(),C=J2(e),[D,T]=getComputedStyle(e).transformOrigin.split(" ").map(o=>parseFloat(o)),[p,t]=getComputedStyle(e).getPropertyValue("--v-overlay-anchor-origin").split(" ");let d=r.left+r.width/2;p==="left"||t==="left"?d-=r.width/2:(p==="right"||t==="right")&&(d+=r.width/2);let g=r.top+r.height/2;p==="top"||t==="top"?g-=r.height/2:(p==="bottom"||t==="bottom")&&(g+=r.height/2);const i=r.width/C.width,M=r.height/C.height,v=Math.max(1,i,M),f=i/v||0,l=M/v||0,a=C.width*C.height/(window.innerWidth*window.innerHeight),u=a>.12?Math.min(1.5,(a-.12)*10+1):1;return{x:d-(D+C.left),y:g-(T+C.top),sx:f,sy:l,speed:u}}const yB=Au("fab-transition","center center","out-in"),bB=Au("dialog-bottom-transition"),xB=Au("dialog-top-transition"),gx=Au("fade-transition"),s_=Au("scale-transition"),_B=Au("scroll-x-transition"),wB=Au("scroll-x-reverse-transition"),TB=Au("scroll-y-transition"),kB=Au("scroll-y-reverse-transition"),MB=Au("slide-x-transition"),AB=Au("slide-x-reverse-transition"),l_=Au("slide-y-transition"),SB=Au("slide-y-reverse-transition"),e1=V6("expand-transition",j6()),u_=V6("expand-x-transition",j6("",!0)),CB=ur({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),Fa=Ar(!1)({name:"VDefaultsProvider",props:CB(),setup(n,e){let{slots:r}=e;const{defaults:C,disabled:D,reset:T,root:p,scoped:t}=by(n);return es(C,{reset:T,root:p,scoped:t,disabled:D}),()=>{var d;return(d=r.default)==null?void 0:d.call(r)}}});const sc=ur({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function lc(n){return{dimensionStyles:cn(()=>({height:Qr(n.height),maxHeight:Qr(n.maxHeight),maxWidth:Qr(n.maxWidth),minHeight:Qr(n.minHeight),minWidth:Qr(n.minWidth),width:Qr(n.width)}))}}function EB(n){return{aspectStyles:cn(()=>{const e=Number(n.aspectRatio);return e?{paddingBottom:String(1/e*100)+"%"}:void 0})}}const U6=ur({aspectRatio:[String,Number],contentClass:String,inline:Boolean,...Zr(),...sc()},"VResponsive"),vx=Ar()({name:"VResponsive",props:U6(),setup(n,e){let{slots:r}=e;const{aspectStyles:C}=EB(n),{dimensionStyles:D}=lc(n);return Or(()=>{var T;return gt("div",{class:["v-responsive",{"v-responsive--inline":n.inline},n.class],style:[D.value,n.style]},[gt("div",{class:"v-responsive__sizer",style:C.value},null),(T=r.additional)==null?void 0:T.call(r),r.default&>("div",{class:["v-responsive__content",n.contentClass]},[r.default()])])}),{}}}),df=ur({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:n=>n!==!0}},"transition"),Oc=(n,e)=>{let{slots:r}=e;const{transition:C,disabled:D,...T}=n,{component:p=bh,...t}=typeof C=="object"?C:{};return Xf(p,qr(typeof C=="string"?{name:D?"":C}:t,T,{disabled:D}),r)};function LB(n,e){if(!$2)return;const r=e.modifiers||{},C=e.value,{handler:D,options:T}=typeof C=="object"?C:{handler:C,options:{}},p=new IntersectionObserver(function(){var M;let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],d=arguments.length>1?arguments[1]:void 0;const g=(M=n._observe)==null?void 0:M[e.instance.$.uid];if(!g)return;const i=t.some(v=>v.isIntersecting);D&&(!r.quiet||g.init)&&(!r.once||i||g.init)&&D(i,t,d),i&&r.once?H6(n,e):g.init=!0},T);n._observe=Object(n._observe),n._observe[e.instance.$.uid]={init:!1,observer:p},p.observe(n)}function H6(n,e){var C;const r=(C=n._observe)==null?void 0:C[e.instance.$.uid];r&&(r.observer.unobserve(n),delete n._observe[e.instance.$.uid])}const og={mounted:LB,unmounted:H6},G6=ur({alt:String,cover:Boolean,eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},sizes:String,src:{type:[String,Object],default:""},srcset:String,...U6(),...Zr(),...df()},"VImg"),Zd=Ar()({name:"VImg",directives:{intersect:og},props:G6(),emits:{loadstart:n=>!0,load:n=>!0,error:n=>!0},setup(n,e){let{emit:r,slots:C}=e;const D=Wr(""),T=Vr(),p=Wr(n.eager?"loading":"idle"),t=Wr(),d=Wr(),g=cn(()=>n.src&&typeof n.src=="object"?{src:n.src.src,srcset:n.srcset||n.src.srcset,lazySrc:n.lazySrc||n.src.lazySrc,aspect:Number(n.aspectRatio||n.src.aspect||0)}:{src:n.src,srcset:n.srcset,lazySrc:n.lazySrc,aspect:Number(n.aspectRatio||0)}),i=cn(()=>g.value.aspect||t.value/d.value||0);$r(()=>n.src,()=>{M(p.value!=="idle")}),$r(i,(S,_)=>{!S&&_&&T.value&&u(T.value)}),Sy(()=>M());function M(S){if(!(n.eager&&S)&&!($2&&!S&&!n.eager)){if(p.value="loading",g.value.lazySrc){const _=new Image;_.src=g.value.lazySrc,u(_,null)}g.value.src&&Ua(()=>{var _,k;if(r("loadstart",((_=T.value)==null?void 0:_.currentSrc)||g.value.src),(k=T.value)!=null&&k.complete){if(T.value.naturalWidth||f(),p.value==="error")return;i.value||u(T.value,null),v()}else i.value||u(T.value),l()})}}function v(){var S;l(),p.value="loaded",r("load",((S=T.value)==null?void 0:S.currentSrc)||g.value.src)}function f(){var S;p.value="error",r("error",((S=T.value)==null?void 0:S.currentSrc)||g.value.src)}function l(){const S=T.value;S&&(D.value=S.currentSrc||S.src)}let a=-1;function u(S){let _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const k=()=>{clearTimeout(a);const{naturalHeight:E,naturalWidth:x}=S;E||x?(t.value=x,d.value=E):!S.complete&&p.value==="loading"&&_!=null?a=window.setTimeout(k,_):(S.currentSrc.endsWith(".svg")||S.currentSrc.startsWith("data:image/svg+xml"))&&(t.value=1,d.value=1)};k()}const o=cn(()=>({"v-img__img--cover":n.cover,"v-img__img--contain":!n.cover})),s=()=>{var k;if(!g.value.src||p.value==="idle")return null;const S=gt("img",{class:["v-img__img",o.value],src:g.value.src,srcset:g.value.srcset,alt:n.alt,sizes:n.sizes,ref:T,onLoad:v,onError:f},null),_=(k=C.sources)==null?void 0:k.call(C);return gt(Oc,{transition:n.transition,appear:!0},{default:()=>[Co(_?gt("picture",{class:"v-img__picture"},[_,S]):S,[[kh,p.value==="loaded"]])]})},c=()=>gt(Oc,{transition:n.transition},{default:()=>[g.value.lazySrc&&p.value!=="loaded"&>("img",{class:["v-img__img","v-img__img--preload",o.value],src:g.value.lazySrc,alt:n.alt},null)]}),h=()=>C.placeholder?gt(Oc,{transition:n.transition,appear:!0},{default:()=>[(p.value==="loading"||p.value==="error"&&!C.error)&>("div",{class:"v-img__placeholder"},[C.placeholder()])]}):null,m=()=>C.error?gt(Oc,{transition:n.transition,appear:!0},{default:()=>[p.value==="error"&>("div",{class:"v-img__error"},[C.error()])]}):null,w=()=>n.gradient?gt("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${n.gradient})`}},null):null,y=Wr(!1);{const S=$r(i,_=>{_&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{y.value=!0})}),S())})}return Or(()=>{const[S]=vx.filterProps(n);return Co(gt(vx,qr({class:["v-img",{"v-img--booting":!y.value},n.class],style:[{width:Qr(n.width==="auto"?t.value:n.width)},n.style]},S,{aspectRatio:i.value,"aria-label":n.alt,role:n.alt?"img":void 0}),{additional:()=>gt(Yr,null,[gt(s,null,null),gt(c,null,null),gt(w,null,null),gt(h,null,null),gt(m,null,null)]),default:C.default}),[[Tu("intersect"),{handler:M,options:n.options},null,{once:!0}]])}),{currentSrc:D,image:T,state:p,naturalWidth:t,naturalHeight:d}}}),Su=ur({border:[Boolean,Number,String]},"border");function uc(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();return{borderClasses:cn(()=>{const C=eo(n)?n.value:n.border,D=[];if(C===!0||C==="")D.push(`${e}--border`);else if(typeof C=="string"||C===0)for(const T of String(C).split(" "))D.push(`border-${T}`);return D})}}function c_(n){return X2(()=>{const e=[],r={};if(n.value.background)if(z5(n.value.background)){if(r.backgroundColor=n.value.background,!n.value.text){const C=A6(r.backgroundColor);r.color=C,r.caretColor=C}}else e.push(`bg-${n.value.background}`);return n.value.text&&(z5(n.value.text)?(r.color=n.value.text,r.caretColor=n.value.text):e.push(`text-${n.value.text}`)),{colorClasses:e,colorStyles:r}})}function Xs(n,e){const r=cn(()=>({text:eo(n)?n.value:e?n[e]:null})),{colorClasses:C,colorStyles:D}=c_(r);return{textColorClasses:C,textColorStyles:D}}function Oo(n,e){const r=cn(()=>({background:eo(n)?n.value:e?n[e]:null})),{colorClasses:C,colorStyles:D}=c_(r);return{backgroundColorClasses:C,backgroundColorStyles:D}}const fs=ur({elevation:{type:[Number,String],validator(n){const e=parseInt(n);return!isNaN(e)&&e>=0&&e<=24}}},"elevation");function Vs(n){return{elevationClasses:cn(()=>{const r=eo(n)?n.value:n.elevation,C=[];return r==null||C.push(`elevation-${r}`),C})}}const lo=ur({rounded:{type:[Boolean,Number,String],default:void 0}},"rounded");function Eo(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();return{roundedClasses:cn(()=>{const C=eo(n)?n.value:n.rounded,D=[];if(C===!0||C==="")D.push(`${e}--rounded`);else if(typeof C=="string"||C===0)for(const T of String(C).split(" "))D.push(`rounded-${T}`);return D})}}const IB=[null,"prominent","default","comfortable","compact"],q6=ur({absolute:Boolean,collapse:Boolean,color:String,density:{type:String,default:"default",validator:n=>IB.includes(n)},extended:Boolean,extensionHeight:{type:[Number,String],default:48},flat:Boolean,floating:Boolean,height:{type:[Number,String],default:64},image:String,title:String,...Su(),...Zr(),...fs(),...lo(),...Si({tag:"header"}),...oa()},"VToolbar"),yx=Ar()({name:"VToolbar",props:q6(),setup(n,e){var f;let{slots:r}=e;const{backgroundColorClasses:C,backgroundColorStyles:D}=Oo(Cr(n,"color")),{borderClasses:T}=uc(n),{elevationClasses:p}=Vs(n),{roundedClasses:t}=Eo(n),{themeClasses:d}=Ma(n),{rtlClasses:g}=Cs(),i=Wr(!!(n.extended||(f=r.extension)!=null&&f.call(r))),M=cn(()=>parseInt(Number(n.height)+(n.density==="prominent"?Number(n.height):0)-(n.density==="comfortable"?8:0)-(n.density==="compact"?16:0),10)),v=cn(()=>i.value?parseInt(Number(n.extensionHeight)+(n.density==="prominent"?Number(n.extensionHeight):0)-(n.density==="comfortable"?4:0)-(n.density==="compact"?8:0),10):0);return es({VBtn:{variant:"text"}}),Or(()=>{var o;const l=!!(n.title||r.title),a=!!(r.image||n.image),u=(o=r.extension)==null?void 0:o.call(r);return i.value=!!(n.extended||u),gt(n.tag,{class:["v-toolbar",{"v-toolbar--absolute":n.absolute,"v-toolbar--collapse":n.collapse,"v-toolbar--flat":n.flat,"v-toolbar--floating":n.floating,[`v-toolbar--density-${n.density}`]:!0},C.value,T.value,p.value,t.value,d.value,g.value,n.class],style:[D.value,n.style]},{default:()=>[a&>("div",{key:"image",class:"v-toolbar__image"},[r.image?gt(Fa,{key:"image-defaults",disabled:!n.image,defaults:{VImg:{cover:!0,src:n.image}}},r.image):gt(Zd,{key:"image-img",cover:!0,src:n.image},null)]),gt(Fa,{defaults:{VTabs:{height:Qr(M.value)}}},{default:()=>{var s,c,h;return[gt("div",{class:"v-toolbar__content",style:{height:Qr(M.value)}},[r.prepend&>("div",{class:"v-toolbar__prepend"},[(s=r.prepend)==null?void 0:s.call(r)]),l&>(o_,{key:"title",text:n.title},{text:r.title}),(c=r.default)==null?void 0:c.call(r),r.append&>("div",{class:"v-toolbar__append"},[(h=r.append)==null?void 0:h.call(r)])])]}}),gt(Fa,{defaults:{VTabs:{height:Qr(v.value)}}},{default:()=>[gt(e1,null,{default:()=>[i.value&>("div",{class:"v-toolbar__extension",style:{height:Qr(v.value)}},[u])]})]})]})}),{contentHeight:M,extensionHeight:v}}}),RB=ur({scrollTarget:{type:String},scrollThreshold:{type:[String,Number],default:300}},"scroll");function PB(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{canScroll:r}=e;let C=0;const D=Vr(null),T=Wr(0),p=Wr(0),t=Wr(0),d=Wr(!1),g=Wr(!1),i=cn(()=>Number(n.scrollThreshold)),M=cn(()=>Zs((i.value-T.value)/i.value||0)),v=()=>{const f=D.value;!f||r&&!r.value||(C=T.value,T.value="window"in f?f.pageYOffset:f.scrollTop,g.value=T.value{p.value=p.value||T.value}),$r(d,()=>{p.value=0}),Ks(()=>{$r(()=>n.scrollTarget,f=>{var a;const l=f?document.querySelector(f):window;l&&l!==D.value&&((a=D.value)==null||a.removeEventListener("scroll",v),D.value=l,D.value.addEventListener("scroll",v,{passive:!0}))},{immediate:!0})}),Tl(()=>{var f;(f=D.value)==null||f.removeEventListener("scroll",v)}),r&&$r(r,v,{immediate:!0}),{scrollThreshold:i,currentScroll:T,currentThreshold:t,isScrollActive:d,scrollRatio:M,isScrollingUp:g,savedScroll:p}}function tp(){const n=Wr(!1);return Ks(()=>{window.requestAnimationFrame(()=>{n.value=!0})}),{ssrBootStyles:cn(()=>n.value?void 0:{transition:"none !important"}),isBooted:Hm(n)}}const OB=ur({scrollBehavior:String,modelValue:{type:Boolean,default:!0},location:{type:String,default:"top",validator:n=>["top","bottom"].includes(n)},...q6(),...x0(),...RB(),height:{type:[Number,String],default:64}},"VAppBar"),DB=Ar()({name:"VAppBar",props:OB(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const C=Vr(),D=xi(n,"modelValue"),T=cn(()=>{var s;const o=new Set(((s=n.scrollBehavior)==null?void 0:s.split(" "))??[]);return{hide:o.has("hide"),inverted:o.has("inverted"),collapse:o.has("collapse"),elevate:o.has("elevate"),fadeImage:o.has("fade-image")}}),p=cn(()=>{const o=T.value;return o.hide||o.inverted||o.collapse||o.elevate||o.fadeImage||!D.value}),{currentScroll:t,scrollThreshold:d,isScrollingUp:g,scrollRatio:i}=PB(n,{canScroll:p}),M=cn(()=>n.collapse||T.value.collapse&&(T.value.inverted?i.value>0:i.value===0)),v=cn(()=>n.flat||T.value.elevate&&(T.value.inverted?t.value>0:t.value===0)),f=cn(()=>T.value.fadeImage?T.value.inverted?1-i.value:i.value:void 0),l=cn(()=>{var c,h;if(T.value.hide&&T.value.inverted)return 0;const o=((c=C.value)==null?void 0:c.contentHeight)??0,s=((h=C.value)==null?void 0:h.extensionHeight)??0;return o+s});$f(cn(()=>!!n.scrollBehavior),()=>{wu(()=>{T.value.hide?T.value.inverted?D.value=t.value>d.value:D.value=g.value||t.valueparseInt(n.order,10)),position:Cr(n,"location"),layoutSize:l,elementSize:Wr(void 0),active:D,absolute:Cr(n,"absolute")});return Or(()=>{const[o]=yx.filterProps(n);return gt(yx,qr({ref:C,class:["v-app-bar",{"v-app-bar--bottom":n.location==="bottom"},n.class],style:[{...u.value,"--v-toolbar-image-opacity":f.value,height:void 0,...a.value},n.style]},o,{collapse:M.value,flat:v.value}),r)}),{}}});const zB=[null,"default","comfortable","compact"],ds=ur({density:{type:String,default:"default",validator:n=>zB.includes(n)}},"density");function Qs(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();return{densityClasses:cn(()=>`${e}--density-${n.density}`)}}const FB=["elevated","flat","tonal","outlined","text","plain"];function np(n,e){return gt(Yr,null,[n&>("span",{key:"overlay",class:`${e}__overlay`},null),gt("span",{key:"underlay",class:`${e}__underlay`},null)])}const cc=ur({color:String,variant:{type:String,default:"elevated",validator:n=>FB.includes(n)}},"variant");function rp(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();const r=cn(()=>{const{variant:T}=yu(n);return`${e}--variant-${T}`}),{colorClasses:C,colorStyles:D}=c_(cn(()=>{const{variant:T,color:p}=yu(n);return{[["elevated","flat"].includes(T)?"background":"text"]:p}}));return{colorClasses:C,colorStyles:D,variantClasses:r}}const W6=ur({divided:Boolean,...Su(),...Zr(),...ds(),...fs(),...lo(),...Si(),...oa(),...cc()},"VBtnGroup"),bx=Ar()({name:"VBtnGroup",props:W6(),setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{densityClasses:D}=Qs(n),{borderClasses:T}=uc(n),{elevationClasses:p}=Vs(n),{roundedClasses:t}=Eo(n);es({VBtn:{height:"auto",color:Cr(n,"color"),density:Cr(n,"density"),flat:!0,variant:Cr(n,"variant")}}),Or(()=>gt(n.tag,{class:["v-btn-group",{"v-btn-group--divided":n.divided},C.value,T.value,D.value,p.value,t.value,n.class],style:n.style},r))}}),w0=ur({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),T0=ur({value:null,disabled:Boolean,selectedClass:String},"group-item");function k0(n,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const C=Ss("useGroupItem");if(!C)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const D=Js();ts(Symbol.for(`${e.description}:id`),D);const T=ka(e,null);if(!T){if(!r)return T;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${e.description}`)}const p=Cr(n,"value"),t=cn(()=>!!(T.disabled.value||n.disabled));T.register({id:D,value:p,disabled:t},C),Tl(()=>{T.unregister(D)});const d=cn(()=>T.isSelected(D)),g=cn(()=>d.value&&[T.selectedClass.value,n.selectedClass]);return $r(d,i=>{C.emit("group:selected",{value:i})}),{id:D,isSelected:d,toggle:()=>T.select(D,!d.value),select:i=>T.select(D,i),selectedClass:g,value:p,disabled:t,group:T}}function ip(n,e){let r=!1;const C=yl([]),D=xi(n,"modelValue",[],v=>v==null?[]:Y6(C,bu(v)),v=>{const f=NB(C,v);return n.multiple?f:f[0]}),T=Ss("useGroup");function p(v,f){const l=v,a=Symbol.for(`${e.description}:id`),o=ym(a,T==null?void 0:T.vnode).indexOf(f);o>-1?C.splice(o,0,l):C.push(l)}function t(v){if(r)return;d();const f=C.findIndex(l=>l.id===v);C.splice(f,1)}function d(){const v=C.find(f=>!f.disabled);v&&n.mandatory==="force"&&!D.value.length&&(D.value=[v.id])}Ks(()=>{d()}),Tl(()=>{r=!0});function g(v,f){const l=C.find(a=>a.id===v);if(!(f&&(l!=null&&l.disabled)))if(n.multiple){const a=D.value.slice(),u=a.findIndex(s=>s===v),o=~u;if(f=f??!o,o&&n.mandatory&&a.length<=1||!o&&n.max!=null&&a.length+1>n.max)return;u<0&&f?a.push(v):u>=0&&!f&&a.splice(u,1),D.value=a}else{const a=D.value.includes(v);if(n.mandatory&&a)return;D.value=f??!a?[v]:[]}}function i(v){if(n.multiple,D.value.length){const f=D.value[0],l=C.findIndex(o=>o.id===f);let a=(l+v)%C.length,u=C[a];for(;u.disabled&&a!==l;)a=(a+v)%C.length,u=C[a];if(u.disabled)return;D.value=[C[a].id]}else{const f=C.find(l=>!l.disabled);f&&(D.value=[f.id])}}const M={register:p,unregister:t,selected:D,select:g,disabled:Cr(n,"disabled"),prev:()=>i(C.length-1),next:()=>i(1),isSelected:v=>D.value.includes(v),selectedClass:cn(()=>n.selectedClass),items:cn(()=>C),getItemIndex:v=>BB(C,v)};return ts(e,M),M}function BB(n,e){const r=Y6(n,[e]);return r.length?n.findIndex(C=>C.id===r[0]):-1}function Y6(n,e){const r=[];return e.forEach(C=>{const D=n.find(p=>b0(C,p.value)),T=n[C];(D==null?void 0:D.value)!=null?r.push(D.id):T!=null&&r.push(T.id)}),r}function NB(n,e){const r=[];return e.forEach(C=>{const D=n.findIndex(T=>T.id===C);if(~D){const T=n[D];r.push(T.value!=null?T.value:D)}}),r}const h_=Symbol.for("vuetify:v-btn-toggle"),VB=ur({...W6(),...w0()},"VBtnToggle"),jB=Ar()({name:"VBtnToggle",props:VB(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{isSelected:C,next:D,prev:T,select:p,selected:t}=ip(n,h_);return Or(()=>{const[d]=bx.filterProps(n);return gt(bx,qr({class:["v-btn-toggle",n.class]},d,{style:n.style}),{default:()=>{var g;return[(g=r.default)==null?void 0:g.call(r,{isSelected:C,next:D,prev:T,select:p,selected:t})]}})}),{next:D,prev:T,select:p}}});const UB=["x-small","small","default","large","x-large"],pf=ur({size:{type:[String,Number],default:"default"}},"size");function M0(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();return X2(()=>{let r,C;return ly(UB,n.size)?r=`${e}--size-${n.size}`:n.size&&(C={width:Qr(n.size),height:Qr(n.size)}),{sizeClasses:r,sizeStyles:C}})}const HB=ur({color:String,start:Boolean,end:Boolean,icon:bi,...Zr(),...pf(),...Si({tag:"i"}),...oa()},"VIcon"),ja=Ar()({name:"VIcon",props:HB(),setup(n,e){let{attrs:r,slots:C}=e;const D=Vr(),{themeClasses:T}=Ma(n),{iconData:p}=IF(cn(()=>D.value||n.icon)),{sizeClasses:t}=M0(n),{textColorClasses:d,textColorStyles:g}=Xs(Cr(n,"color"));return Or(()=>{var M,v;const i=(M=C.default)==null?void 0:M.call(C);return i&&(D.value=(v=f6(i).filter(f=>f.type===Gm&&f.children&&typeof f.children=="string")[0])==null?void 0:v.children),gt(p.value.component,{tag:n.tag,icon:p.value.icon,class:["v-icon","notranslate",T.value,t.value,d.value,{"v-icon--clickable":!!r.onClick,"v-icon--start":n.start,"v-icon--end":n.end},n.class],style:[t.value?void 0:{fontSize:Qr(n.size),height:Qr(n.size),width:Qr(n.size)},g.value,n.style],role:r.onClick?"button":void 0,"aria-hidden":!r.onClick},{default:()=>[i]})}),{}}});function f_(n,e){const r=Vr(),C=Wr(!1);if($2){const D=new IntersectionObserver(T=>{n==null||n(T,D),C.value=!!T.find(p=>p.isIntersecting)},e);Tl(()=>{D.disconnect()}),$r(r,(T,p)=>{p&&(D.unobserve(p),C.value=!1),T&&D.observe(T)},{flush:"post"})}return{intersectionRef:r,isIntersecting:C}}const GB=ur({bgColor:String,color:String,indeterminate:[Boolean,String],modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...Zr(),...pf(),...Si({tag:"div"}),...oa()},"VProgressCircular"),d_=Ar()({name:"VProgressCircular",props:GB(),setup(n,e){let{slots:r}=e;const C=20,D=2*Math.PI*C,T=Vr(),{themeClasses:p}=Ma(n),{sizeClasses:t,sizeStyles:d}=M0(n),{textColorClasses:g,textColorStyles:i}=Xs(Cr(n,"color")),{textColorClasses:M,textColorStyles:v}=Xs(Cr(n,"bgColor")),{intersectionRef:f,isIntersecting:l}=f_(),{resizeRef:a,contentRect:u}=Th(),o=cn(()=>Math.max(0,Math.min(100,parseFloat(n.modelValue)))),s=cn(()=>Number(n.width)),c=cn(()=>d.value?Number(n.size):u.value?u.value.width:Math.max(s.value,32)),h=cn(()=>C/(1-s.value/c.value)*2),m=cn(()=>s.value/c.value*h.value),w=cn(()=>Qr((100-o.value)/100*D));return wu(()=>{f.value=T.value,a.value=T.value}),Or(()=>gt(n.tag,{ref:T,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!n.indeterminate,"v-progress-circular--visible":l.value,"v-progress-circular--disable-shrink":n.indeterminate==="disable-shrink"},p.value,t.value,g.value,n.class],style:[d.value,i.value,n.style],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":n.indeterminate?void 0:o.value},{default:()=>[gt("svg",{style:{transform:`rotate(calc(-90deg + ${Number(n.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${h.value} ${h.value}`},[gt("circle",{class:["v-progress-circular__underlay",M.value],style:v.value,fill:"transparent",cx:"50%",cy:"50%",r:C,"stroke-width":m.value,"stroke-dasharray":D,"stroke-dashoffset":0},null),gt("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:C,"stroke-width":m.value,"stroke-dasharray":D,"stroke-dashoffset":w.value},null)]),r.default&>("div",{class:"v-progress-circular__content"},[r.default({value:o.value})])]})),{}}});const J5={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},ed=ur({location:String},"location");function td(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=arguments.length>2?arguments[2]:void 0;const{isRtl:C}=Cs();return{locationStyles:cn(()=>{if(!n.location)return{};const{side:T,align:p}=lx(n.location.split(" ").length>1?n.location:`${n.location} center`,C.value);function t(g){return r?r(g):0}const d={};return T!=="center"&&(e?d[J5[T]]=`calc(100% - ${t(T)}px)`:d[T]=0),p!=="center"?e?d[J5[p]]=`calc(100% - ${t(p)}px)`:d[p]=0:(T==="center"?d.top=d.left="50%":d[{top:"left",bottom:"left",left:"top",right:"top"}[T]]="50%",d.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[T]),d})}}const qB=ur({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...Zr(),...ed({location:"top"}),...lo(),...Si(),...oa()},"VProgressLinear"),p_=Ar()({name:"VProgressLinear",props:qB(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const C=xi(n,"modelValue"),{isRtl:D,rtlClasses:T}=Cs(),{themeClasses:p}=Ma(n),{locationStyles:t}=td(n),{textColorClasses:d,textColorStyles:g}=Xs(n,"color"),{backgroundColorClasses:i,backgroundColorStyles:M}=Oo(cn(()=>n.bgColor||n.color)),{backgroundColorClasses:v,backgroundColorStyles:f}=Oo(n,"color"),{roundedClasses:l}=Eo(n),{intersectionRef:a,isIntersecting:u}=f_(),o=cn(()=>parseInt(n.max,10)),s=cn(()=>parseInt(n.height,10)),c=cn(()=>parseFloat(n.bufferValue)/o.value*100),h=cn(()=>parseFloat(C.value)/o.value*100),m=cn(()=>D.value!==n.reverse),w=cn(()=>n.indeterminate?"fade-transition":"slide-x-transition"),y=cn(()=>n.bgOpacity==null?n.bgOpacity:parseFloat(n.bgOpacity));function S(_){if(!a.value)return;const{left:k,right:E,width:x}=a.value.getBoundingClientRect(),A=m.value?x-_.clientX+(E-x):_.clientX-k;C.value=Math.round(A/x*o.value)}return Or(()=>gt(n.tag,{ref:a,class:["v-progress-linear",{"v-progress-linear--absolute":n.absolute,"v-progress-linear--active":n.active&&u.value,"v-progress-linear--reverse":m.value,"v-progress-linear--rounded":n.rounded,"v-progress-linear--rounded-bar":n.roundedBar,"v-progress-linear--striped":n.striped},l.value,p.value,T.value,n.class],style:[{bottom:n.location==="bottom"?0:void 0,top:n.location==="top"?0:void 0,height:n.active?Qr(s.value):0,"--v-progress-linear-height":Qr(s.value),...t.value},n.style],role:"progressbar","aria-hidden":n.active?"false":"true","aria-valuemin":"0","aria-valuemax":n.max,"aria-valuenow":n.indeterminate?void 0:h.value,onClick:n.clickable&&S},{default:()=>[n.stream&>("div",{key:"stream",class:["v-progress-linear__stream",d.value],style:{...g.value,[m.value?"left":"right"]:Qr(-s.value),borderTop:`${Qr(s.value/2)} dotted`,opacity:y.value,top:`calc(50% - ${Qr(s.value/4)})`,width:Qr(100-c.value,"%"),"--v-progress-linear-stream-to":Qr(s.value*(m.value?1:-1))}},null),gt("div",{class:["v-progress-linear__background",i.value],style:[M.value,{opacity:y.value,width:Qr(n.stream?c.value:100,"%")}]},null),gt(bh,{name:w.value},{default:()=>[n.indeterminate?gt("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(_=>gt("div",{key:_,class:["v-progress-linear__indeterminate",_,v.value],style:f.value},null))]):gt("div",{class:["v-progress-linear__determinate",v.value],style:[f.value,{width:Qr(h.value,"%")}]},null)]}),r.default&>("div",{class:"v-progress-linear__content"},[r.default({value:h.value,buffer:c.value})])]})),{}}}),m_=ur({loading:[Boolean,String]},"loader");function t1(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();return{loaderClasses:cn(()=>({[`${e}--loading`]:n.loading}))}}function g_(n,e){var C;let{slots:r}=e;return gt("div",{class:`${n.name}__loader`},[((C=r.default)==null?void 0:C.call(r,{color:n.color,isActive:n.active}))||gt(p_,{active:n.active,color:n.color,height:"2",indeterminate:!0},null)])}const WB=["static","relative","fixed","absolute","sticky"],A0=ur({position:{type:String,validator:n=>WB.includes(n)}},"position");function S0(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();return{positionClasses:cn(()=>n.position?`${e}--${n.position}`:void 0)}}function $6(){var n,e;return(e=(n=Ss("useRouter"))==null?void 0:n.proxy)==null?void 0:e.$router}function sg(n,e){const r=yE("RouterLink"),C=cn(()=>!!(n.href||n.to)),D=cn(()=>(C==null?void 0:C.value)||k5(e,"click")||k5(n,"click"));if(typeof r=="string")return{isLink:C,isClickable:D,href:Cr(n,"href")};const T=n.to?r.useLink(n):void 0;return{isLink:C,isClickable:D,route:T==null?void 0:T.route,navigate:T==null?void 0:T.navigate,isActive:T&&cn(()=>{var p,t;return n.exact?(p=T.isExactActive)==null?void 0:p.value:(t=T.isActive)==null?void 0:t.value}),href:cn(()=>n.to?T==null?void 0:T.route.value.href:n.href)}}const lg=ur({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let bb=!1;function YB(n,e){let r=!1,C,D;to&&(Ua(()=>{window.addEventListener("popstate",T),C=n==null?void 0:n.beforeEach((p,t,d)=>{bb?r?e(d):d():setTimeout(()=>r?e(d):d()),bb=!0}),D=n==null?void 0:n.afterEach(()=>{bb=!1})}),wl(()=>{window.removeEventListener("popstate",T),C==null||C(),D==null||D()}));function T(p){var t;(t=p.state)!=null&&t.replaced||(r=!0,setTimeout(()=>r=!1))}}function $B(n,e){$r(()=>{var r;return(r=n.isActive)==null?void 0:r.value},r=>{n.isLink.value&&r&&e&&Ua(()=>{e(!0)})},{immediate:!0})}const xx=Symbol("rippleStop"),ZB=80;function Q5(n,e){n.style.transform=e,n.style.webkitTransform=e}function _x(n){return n.constructor.name==="TouchEvent"}function Z6(n){return n.constructor.name==="KeyboardEvent"}const XB=function(n,e){var M;let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},C=0,D=0;if(!Z6(n)){const v=e.getBoundingClientRect(),f=_x(n)?n.touches[n.touches.length-1]:n;C=f.clientX-v.left,D=f.clientY-v.top}let T=0,p=.3;(M=e._ripple)!=null&&M.circle?(p=.15,T=e.clientWidth/2,T=r.center?T:T+Math.sqrt((C-T)**2+(D-T)**2)/4):T=Math.sqrt(e.clientWidth**2+e.clientHeight**2)/2;const t=`${(e.clientWidth-T*2)/2}px`,d=`${(e.clientHeight-T*2)/2}px`,g=r.center?t:`${C-T}px`,i=r.center?d:`${D-T}px`;return{radius:T,scale:p,x:g,y:i,centerX:t,centerY:d}},dy={show(n,e){var f;let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((f=e==null?void 0:e._ripple)!=null&&f.enabled))return;const C=document.createElement("span"),D=document.createElement("span");C.appendChild(D),C.className="v-ripple__container",r.class&&(C.className+=` ${r.class}`);const{radius:T,scale:p,x:t,y:d,centerX:g,centerY:i}=XB(n,e,r),M=`${T*2}px`;D.className="v-ripple__animation",D.style.width=M,D.style.height=M,e.appendChild(C);const v=window.getComputedStyle(e);v&&v.position==="static"&&(e.style.position="relative",e.dataset.previousPosition="static"),D.classList.add("v-ripple__animation--enter"),D.classList.add("v-ripple__animation--visible"),Q5(D,`translate(${t}, ${d}) scale3d(${p},${p},${p})`),D.dataset.activated=String(performance.now()),setTimeout(()=>{D.classList.remove("v-ripple__animation--enter"),D.classList.add("v-ripple__animation--in"),Q5(D,`translate(${g}, ${i}) scale3d(1,1,1)`)},0)},hide(n){var T;if(!((T=n==null?void 0:n._ripple)!=null&&T.enabled))return;const e=n.getElementsByClassName("v-ripple__animation");if(e.length===0)return;const r=e[e.length-1];if(r.dataset.isHiding)return;r.dataset.isHiding="true";const C=performance.now()-Number(r.dataset.activated),D=Math.max(250-C,0);setTimeout(()=>{r.classList.remove("v-ripple__animation--in"),r.classList.add("v-ripple__animation--out"),setTimeout(()=>{var t;n.getElementsByClassName("v-ripple__animation").length===1&&n.dataset.previousPosition&&(n.style.position=n.dataset.previousPosition,delete n.dataset.previousPosition),((t=r.parentNode)==null?void 0:t.parentNode)===n&&n.removeChild(r.parentNode)},300)},D)}};function X6(n){return typeof n>"u"||!!n}function Bm(n){const e={},r=n.currentTarget;if(!(!(r!=null&&r._ripple)||r._ripple.touched||n[xx])){if(n[xx]=!0,_x(n))r._ripple.touched=!0,r._ripple.isTouch=!0;else if(r._ripple.isTouch)return;if(e.center=r._ripple.centered||Z6(n),r._ripple.class&&(e.class=r._ripple.class),_x(n)){if(r._ripple.showTimerCommit)return;r._ripple.showTimerCommit=()=>{dy.show(n,r,e)},r._ripple.showTimer=window.setTimeout(()=>{var C;(C=r==null?void 0:r._ripple)!=null&&C.showTimerCommit&&(r._ripple.showTimerCommit(),r._ripple.showTimerCommit=null)},ZB)}else dy.show(n,r,e)}}function eT(n){n[xx]=!0}function vu(n){const e=n.currentTarget;if(e!=null&&e._ripple){if(window.clearTimeout(e._ripple.showTimer),n.type==="touchend"&&e._ripple.showTimerCommit){e._ripple.showTimerCommit(),e._ripple.showTimerCommit=null,e._ripple.showTimer=window.setTimeout(()=>{vu(n)});return}window.setTimeout(()=>{e._ripple&&(e._ripple.touched=!1)}),dy.hide(e)}}function K6(n){const e=n.currentTarget;e!=null&&e._ripple&&(e._ripple.showTimerCommit&&(e._ripple.showTimerCommit=null),window.clearTimeout(e._ripple.showTimer))}let Nm=!1;function J6(n){!Nm&&(n.keyCode===x5.enter||n.keyCode===x5.space)&&(Nm=!0,Bm(n))}function Q6(n){Nm=!1,vu(n)}function eA(n){Nm&&(Nm=!1,vu(n))}function tA(n,e,r){const{value:C,modifiers:D}=e,T=X6(C);if(T||dy.hide(n),n._ripple=n._ripple??{},n._ripple.enabled=T,n._ripple.centered=D.center,n._ripple.circle=D.circle,ax(C)&&C.class&&(n._ripple.class=C.class),T&&!r){if(D.stop){n.addEventListener("touchstart",eT,{passive:!0}),n.addEventListener("mousedown",eT);return}n.addEventListener("touchstart",Bm,{passive:!0}),n.addEventListener("touchend",vu,{passive:!0}),n.addEventListener("touchmove",K6,{passive:!0}),n.addEventListener("touchcancel",vu),n.addEventListener("mousedown",Bm),n.addEventListener("mouseup",vu),n.addEventListener("mouseleave",vu),n.addEventListener("keydown",J6),n.addEventListener("keyup",Q6),n.addEventListener("blur",eA),n.addEventListener("dragstart",vu,{passive:!0})}else!T&&r&&nA(n)}function nA(n){n.removeEventListener("mousedown",Bm),n.removeEventListener("touchstart",Bm),n.removeEventListener("touchend",vu),n.removeEventListener("touchmove",K6),n.removeEventListener("touchcancel",vu),n.removeEventListener("mouseup",vu),n.removeEventListener("mouseleave",vu),n.removeEventListener("keydown",J6),n.removeEventListener("keyup",Q6),n.removeEventListener("dragstart",vu),n.removeEventListener("blur",eA)}function KB(n,e){tA(n,e,!1)}function JB(n){delete n._ripple,nA(n)}function QB(n,e){if(e.value===e.oldValue)return;const r=X6(e.oldValue);tA(n,e,r)}const nd={mounted:KB,unmounted:JB,updated:QB},v_=ur({active:{type:Boolean,default:void 0},symbol:{type:null,default:h_},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:bi,appendIcon:bi,block:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:String,...Su(),...Zr(),...ds(),...sc(),...fs(),...T0(),...m_(),...ed(),...A0(),...lo(),...lg(),...pf(),...Si({tag:"button"}),...oa(),...cc({variant:"elevated"})},"VBtn"),_l=Ar()({name:"VBtn",directives:{Ripple:nd},props:v_(),emits:{"group:selected":n=>!0},setup(n,e){let{attrs:r,slots:C}=e;const{themeClasses:D}=Ma(n),{borderClasses:T}=uc(n),{colorClasses:p,colorStyles:t,variantClasses:d}=rp(n),{densityClasses:g}=Qs(n),{dimensionStyles:i}=lc(n),{elevationClasses:M}=Vs(n),{loaderClasses:v}=t1(n),{locationStyles:f}=td(n),{positionClasses:l}=S0(n),{roundedClasses:a}=Eo(n),{sizeClasses:u,sizeStyles:o}=M0(n),s=k0(n,n.symbol,!1),c=sg(n,r),h=cn(()=>{var _;return n.active!==void 0?n.active:c.isLink.value?(_=c.isActive)==null?void 0:_.value:s==null?void 0:s.isSelected.value}),m=cn(()=>(s==null?void 0:s.disabled.value)||n.disabled),w=cn(()=>n.variant==="elevated"&&!(n.disabled||n.flat||n.border)),y=cn(()=>{if(n.value!==void 0)return Object(n.value)===n.value?JSON.stringify(n.value,null,0):n.value});function S(_){var k;m.value||c.isLink.value&&(_.metaKey||_.ctrlKey||_.shiftKey||_.button!==0||r.target==="_blank")||((k=c.navigate)==null||k.call(c,_),s==null||s.toggle())}return $B(c,s==null?void 0:s.select),Or(()=>{var L,b;const _=c.isLink.value?"a":n.tag,k=!!(n.prependIcon||C.prepend),E=!!(n.appendIcon||C.append),x=!!(n.icon&&n.icon!==!0),A=(s==null?void 0:s.isSelected.value)&&(!c.isLink.value||((L=c.isActive)==null?void 0:L.value))||!s||((b=c.isActive)==null?void 0:b.value);return Co(gt(_,{type:_==="a"?void 0:"button",class:["v-btn",s==null?void 0:s.selectedClass.value,{"v-btn--active":h.value,"v-btn--block":n.block,"v-btn--disabled":m.value,"v-btn--elevated":w.value,"v-btn--flat":n.flat,"v-btn--icon":!!n.icon,"v-btn--loading":n.loading,"v-btn--stacked":n.stacked},D.value,T.value,A?p.value:void 0,g.value,M.value,v.value,l.value,a.value,u.value,d.value,n.class],style:[A?t.value:void 0,i.value,f.value,o.value,n.style],disabled:m.value||void 0,href:c.href.value,onClick:S,value:y.value},{default:()=>{var R;return[np(!0,"v-btn"),!n.icon&&k&>("span",{key:"prepend",class:"v-btn__prepend"},[C.prepend?gt(Fa,{key:"prepend-defaults",disabled:!n.prependIcon,defaults:{VIcon:{icon:n.prependIcon}}},C.prepend):gt(ja,{key:"prepend-icon",icon:n.prependIcon},null)]),gt("span",{class:"v-btn__content","data-no-activator":""},[!C.default&&x?gt(ja,{key:"content-icon",icon:n.icon},null):gt(Fa,{key:"content-defaults",disabled:!x,defaults:{VIcon:{icon:n.icon}}},{default:()=>{var I;return[((I=C.default)==null?void 0:I.call(C))??n.text]}})]),!n.icon&&E&>("span",{key:"append",class:"v-btn__append"},[C.append?gt(Fa,{key:"append-defaults",disabled:!n.appendIcon,defaults:{VIcon:{icon:n.appendIcon}}},C.append):gt(ja,{key:"append-icon",icon:n.appendIcon},null)]),!!n.loading&>("span",{key:"loader",class:"v-btn__loader"},[((R=C.loader)==null?void 0:R.call(C))??gt(d_,{color:typeof n.loading=="boolean"?void 0:n.loading,indeterminate:!0,size:"23",width:"2"},null)])]}}),[[Tu("ripple"),!m.value&&n.ripple,null]])}),{}}}),eN=ur({...v_({icon:"$menu",variant:"text"})},"VAppBarNavIcon"),tN=Ar()({name:"VAppBarNavIcon",props:eN(),setup(n,e){let{slots:r}=e;return Or(()=>gt(_l,qr(n,{class:["v-app-bar-nav-icon"]}),r)),{}}}),nN=Ar()({name:"VAppBarTitle",props:N6(),setup(n,e){let{slots:r}=e;return Or(()=>gt(o_,qr(n,{class:"v-app-bar-title"}),r)),{}}});const rA=Nc("v-alert-title"),rN=["success","info","warning","error"],iN=ur({border:{type:[Boolean,String],validator:n=>typeof n=="boolean"||["top","end","bottom","start"].includes(n)},borderColor:String,closable:Boolean,closeIcon:{type:bi,default:"$close"},closeLabel:{type:String,default:"$vuetify.close"},icon:{type:[Boolean,String,Function,Object],default:null},modelValue:{type:Boolean,default:!0},prominent:Boolean,title:String,text:String,type:{type:String,validator:n=>rN.includes(n)},...Zr(),...ds(),...sc(),...fs(),...ed(),...A0(),...lo(),...Si(),...oa(),...cc({variant:"flat"})},"VAlert"),aN=Ar()({name:"VAlert",props:iN(),emits:{"click:close":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{emit:r,slots:C}=e;const D=xi(n,"modelValue"),T=cn(()=>{if(n.icon!==!1)return n.type?n.icon??`$${n.type}`:n.icon}),p=cn(()=>({color:n.color??n.type,variant:n.variant})),{themeClasses:t}=Ma(n),{colorClasses:d,colorStyles:g,variantClasses:i}=rp(p),{densityClasses:M}=Qs(n),{dimensionStyles:v}=lc(n),{elevationClasses:f}=Vs(n),{locationStyles:l}=td(n),{positionClasses:a}=S0(n),{roundedClasses:u}=Eo(n),{textColorClasses:o,textColorStyles:s}=Xs(Cr(n,"borderColor")),{t:c}=oc(),h=cn(()=>({"aria-label":c(n.closeLabel),onClick(m){D.value=!1,r("click:close",m)}}));return()=>{const m=!!(C.prepend||T.value),w=!!(C.title||n.title),y=!!(C.close||n.closable);return D.value&>(n.tag,{class:["v-alert",n.border&&{"v-alert--border":!!n.border,[`v-alert--border-${n.border===!0?"start":n.border}`]:!0},{"v-alert--prominent":n.prominent},t.value,d.value,M.value,f.value,a.value,u.value,i.value,n.class],style:[g.value,v.value,l.value,n.style],role:"alert"},{default:()=>{var S,_;return[np(!1,"v-alert"),n.border&>("div",{key:"border",class:["v-alert__border",o.value],style:s.value},null),m&>("div",{key:"prepend",class:"v-alert__prepend"},[C.prepend?gt(Fa,{key:"prepend-defaults",disabled:!T.value,defaults:{VIcon:{density:n.density,icon:T.value,size:n.prominent?44:28}}},C.prepend):gt(ja,{key:"prepend-icon",density:n.density,icon:T.value,size:n.prominent?44:28},null)]),gt("div",{class:"v-alert__content"},[w&>(rA,{key:"title"},{default:()=>{var k;return[((k=C.title)==null?void 0:k.call(C))??n.title]}}),((S=C.text)==null?void 0:S.call(C))??n.text,(_=C.default)==null?void 0:_.call(C)]),C.append&>("div",{key:"append",class:"v-alert__append"},[C.append()]),y&>("div",{key:"close",class:"v-alert__close"},[C.close?gt(Fa,{key:"close-defaults",defaults:{VBtn:{icon:n.closeIcon,size:"x-small",variant:"text"}}},{default:()=>{var k;return[(k=C.close)==null?void 0:k.call(C,{props:h.value})]}}):gt(_l,qr({key:"close-btn",icon:n.closeIcon,size:"x-small",variant:"text"},h.value),null)])]}})}}});const oN=ur({text:String,clickable:Boolean,...Zr(),...oa()},"VLabel"),C0=Ar()({name:"VLabel",props:oN(),setup(n,e){let{slots:r}=e;return Or(()=>{var C;return gt("label",{class:["v-label",{"v-label--clickable":n.clickable},n.class],style:n.style},[n.text,(C=r.default)==null?void 0:C.call(r)])}),{}}});const iA=Symbol.for("vuetify:selection-control-group"),y_=ur({color:String,disabled:{type:Boolean,default:null},defaultsTarget:String,error:Boolean,id:String,inline:Boolean,falseIcon:bi,trueIcon:bi,ripple:{type:Boolean,default:!0},multiple:{type:Boolean,default:null},name:String,readonly:Boolean,modelValue:null,type:String,valueComparator:{type:Function,default:b0},...Zr(),...ds(),...oa()},"SelectionControlGroup"),sN=ur({...y_({defaultsTarget:"VSelectionControl"})},"VSelectionControlGroup"),aA=Ar()({name:"VSelectionControlGroup",props:sN(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const C=xi(n,"modelValue"),D=Js(),T=cn(()=>n.id||`v-selection-control-group-${D}`),p=cn(()=>n.name||T.value),t=new Set;return ts(iA,{modelValue:C,forceUpdate:()=>{t.forEach(d=>d())},onForceUpdate:d=>{t.add(d),wl(()=>{t.delete(d)})}}),es({[n.defaultsTarget]:{color:Cr(n,"color"),disabled:Cr(n,"disabled"),density:Cr(n,"density"),error:Cr(n,"error"),inline:Cr(n,"inline"),modelValue:C,multiple:cn(()=>!!n.multiple||n.multiple==null&&Array.isArray(C.value)),name:p,falseIcon:Cr(n,"falseIcon"),trueIcon:Cr(n,"trueIcon"),readonly:Cr(n,"readonly"),ripple:Cr(n,"ripple"),type:Cr(n,"type"),valueComparator:Cr(n,"valueComparator")}}),Or(()=>{var d;return gt("div",{class:["v-selection-control-group",{"v-selection-control-group--inline":n.inline},n.class],style:n.style,role:n.type==="radio"?"radiogroup":void 0},[(d=r.default)==null?void 0:d.call(r)])}),{}}}),n1=ur({label:String,trueValue:null,falseValue:null,value:null,...Zr(),...y_()},"VSelectionControl");function lN(n){const e=ka(iA,void 0),{densityClasses:r}=Qs(n),C=xi(n,"modelValue"),D=cn(()=>n.trueValue!==void 0?n.trueValue:n.value!==void 0?n.value:!0),T=cn(()=>n.falseValue!==void 0?n.falseValue:!1),p=cn(()=>!!n.multiple||n.multiple==null&&Array.isArray(C.value)),t=cn({get(){const f=e?e.modelValue.value:C.value;return p.value?f.some(l=>n.valueComparator(l,D.value)):n.valueComparator(f,D.value)},set(f){if(n.readonly)return;const l=f?D.value:T.value;let a=l;p.value&&(a=f?[...bu(C.value),l]:bu(C.value).filter(u=>!n.valueComparator(u,D.value))),e?e.modelValue.value=a:C.value=a}}),{textColorClasses:d,textColorStyles:g}=Xs(cn(()=>t.value&&!n.error&&!n.disabled?n.color:void 0)),{backgroundColorClasses:i,backgroundColorStyles:M}=Oo(cn(()=>t.value&&!n.error&&!n.disabled?n.color:void 0)),v=cn(()=>t.value?n.trueIcon:n.falseIcon);return{group:e,densityClasses:r,trueValue:D,falseValue:T,model:t,textColorClasses:d,textColorStyles:g,backgroundColorClasses:i,backgroundColorStyles:M,icon:v}}const Xd=Ar()({name:"VSelectionControl",directives:{Ripple:nd},inheritAttrs:!1,props:n1(),emits:{"update:modelValue":n=>!0},setup(n,e){let{attrs:r,slots:C}=e;const{group:D,densityClasses:T,icon:p,model:t,textColorClasses:d,textColorStyles:g,backgroundColorClasses:i,backgroundColorStyles:M,trueValue:v}=lN(n),f=Js(),l=cn(()=>n.id||`input-${f}`),a=Wr(!1),u=Wr(!1),o=Vr();D==null||D.onForceUpdate(()=>{o.value&&(o.value.checked=t.value)});function s(m){a.value=!0,l0(m.target,":focus-visible")!==!1&&(u.value=!0)}function c(){a.value=!1,u.value=!1}function h(m){n.readonly&&D&&Ua(()=>D.forceUpdate()),t.value=m.target.checked}return Or(()=>{var _,k;const m=C.label?C.label({label:n.label,props:{for:l.value}}):n.label,[w,y]=Qd(r),S=gt("input",qr({ref:o,checked:t.value,disabled:!!(n.readonly||n.disabled),id:l.value,onBlur:c,onFocus:s,onInput:h,"aria-disabled":!!(n.readonly||n.disabled),type:n.type,value:v.value,name:n.name,"aria-checked":n.type==="checkbox"?t.value:void 0},y),null);return gt("div",qr({class:["v-selection-control",{"v-selection-control--dirty":t.value,"v-selection-control--disabled":n.disabled,"v-selection-control--error":n.error,"v-selection-control--focused":a.value,"v-selection-control--focus-visible":u.value,"v-selection-control--inline":n.inline},T.value,n.class]},w,{style:n.style}),[gt("div",{class:["v-selection-control__wrapper",d.value],style:g.value},[(_=C.default)==null?void 0:_.call(C,{backgroundColorClasses:i,backgroundColorStyles:M}),Co(gt("div",{class:["v-selection-control__input"]},[((k=C.input)==null?void 0:k.call(C,{model:t,textColorClasses:d,textColorStyles:g,backgroundColorClasses:i,backgroundColorStyles:M,inputNode:S,icon:p.value,props:{onFocus:s,onBlur:c,id:l.value}}))??gt(Yr,null,[p.value&>(ja,{key:"icon",icon:p.value},null),S])]),[[Tu("ripple"),n.ripple&&[!n.disabled&&!n.readonly,null,["center","circle"]]]])]),m&>(C0,{for:l.value,clickable:!0,onClick:E=>E.stopPropagation()},{default:()=>[m]})])}),{isFocused:a,input:o}}}),oA=ur({indeterminate:Boolean,indeterminateIcon:{type:bi,default:"$checkboxIndeterminate"},...n1({falseIcon:"$checkboxOff",trueIcon:"$checkboxOn"})},"VCheckboxBtn"),h0=Ar()({name:"VCheckboxBtn",props:oA(),emits:{"update:modelValue":n=>!0,"update:indeterminate":n=>!0},setup(n,e){let{slots:r}=e;const C=xi(n,"indeterminate"),D=xi(n,"modelValue");function T(d){C.value&&(C.value=!1)}const p=cn(()=>C.value?n.indeterminateIcon:n.falseIcon),t=cn(()=>C.value?n.indeterminateIcon:n.trueIcon);return Or(()=>{const d=ic(Xd.filterProps(n)[0],["modelValue"]);return gt(Xd,qr(d,{modelValue:D.value,"onUpdate:modelValue":[g=>D.value=g,T],class:["v-checkbox-btn",n.class],style:n.style,type:"checkbox",falseIcon:p.value,trueIcon:t.value,"aria-checked":C.value?"mixed":void 0}),r)}),{}}});function sA(n){const{t:e}=oc();function r(C){let{name:D}=C;const T={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[D],p=n[`onClick:${D}`],t=p&&T?e(`$vuetify.input.${T}`,n.label??""):void 0;return gt(ja,{icon:n[`${D}Icon`],"aria-label":t,onClick:p},null)}return{InputIcon:r}}const uN=ur({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...Zr(),...df({transition:{component:l_,leaveAbsolute:!0,group:!0}})},"VMessages"),lA=Ar()({name:"VMessages",props:uN(),setup(n,e){let{slots:r}=e;const C=cn(()=>bu(n.messages)),{textColorClasses:D,textColorStyles:T}=Xs(cn(()=>n.color));return Or(()=>gt(Oc,{transition:n.transition,tag:"div",class:["v-messages",D.value,n.class],style:[T.value,n.style],role:"alert","aria-live":"polite"},{default:()=>[n.active&&C.value.map((p,t)=>gt("div",{class:"v-messages__message",key:`${t}-${C.value}`},[r.message?r.message({message:p}):p]))]})),{}}}),r1=ur({focused:Boolean,"onUpdate:focused":yh()},"focus");function rd(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();const r=xi(n,"focused"),C=cn(()=>({[`${e}--focused`]:r.value}));function D(){r.value=!0}function T(){r.value=!1}return{focusClasses:C,isFocused:r,focus:D,blur:T}}const uA=Symbol.for("vuetify:form"),cN=ur({disabled:Boolean,fastFail:Boolean,readonly:Boolean,modelValue:{type:Boolean,default:null},validateOn:{type:String,default:"input"}},"form");function hN(n){const e=xi(n,"modelValue"),r=cn(()=>n.disabled),C=cn(()=>n.readonly),D=Wr(!1),T=Vr([]),p=Vr([]);async function t(){const i=[];let M=!0;p.value=[],D.value=!0;for(const v of T.value){const f=await v.validate();if(f.length>0&&(M=!1,i.push({id:v.id,errorMessages:f})),!M&&n.fastFail)break}return p.value=i,D.value=!1,{valid:M,errors:p.value}}function d(){T.value.forEach(i=>i.reset())}function g(){T.value.forEach(i=>i.resetValidation())}return $r(T,()=>{let i=0,M=0;const v=[];for(const f of T.value)f.isValid===!1?(M++,v.push({id:f.id,errorMessages:f.errorMessages})):f.isValid===!0&&i++;p.value=v,e.value=M>0?!1:i===T.value.length?!0:null},{deep:!0}),ts(uA,{register:i=>{let{id:M,validate:v,reset:f,resetValidation:l}=i;T.value.some(a=>a.id===M),T.value.push({id:M,validate:v,reset:f,resetValidation:l,isValid:null,errorMessages:[]})},unregister:i=>{T.value=T.value.filter(M=>M.id!==i)},update:(i,M,v)=>{const f=T.value.find(l=>l.id===i);f&&(f.isValid=M,f.errorMessages=v)},isDisabled:r,isReadonly:C,isValidating:D,isValid:e,items:T,validateOn:Cr(n,"validateOn")}),{errors:p,isDisabled:r,isReadonly:C,isValidating:D,isValid:e,items:T,validate:t,reset:d,resetValidation:g}}function i1(){return ka(uA,null)}const cA=ur({disabled:{type:Boolean,default:null},error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,label:String,readonly:{type:Boolean,default:null},rules:{type:Array,default:()=>[]},modelValue:null,validateOn:String,validationValue:null,...r1()},"validation");function hA(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff(),r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Js();const C=xi(n,"modelValue"),D=cn(()=>n.validationValue===void 0?C.value:n.validationValue),T=i1(),p=Vr([]),t=Wr(!0),d=cn(()=>!!(bu(C.value===""?null:C.value).length||bu(D.value===""?null:D.value).length)),g=cn(()=>!!(n.disabled??(T==null?void 0:T.isDisabled.value))),i=cn(()=>!!(n.readonly??(T==null?void 0:T.isReadonly.value))),M=cn(()=>n.errorMessages.length?bu(n.errorMessages).slice(0,Math.max(0,+n.maxErrors)):p.value),v=cn(()=>{let h=(n.validateOn??(T==null?void 0:T.validateOn.value))||"input";h==="lazy"&&(h="input lazy");const m=new Set((h==null?void 0:h.split(" "))??[]);return{blur:m.has("blur")||m.has("input"),input:m.has("input"),submit:m.has("submit"),lazy:m.has("lazy")}}),f=cn(()=>n.error||n.errorMessages.length?!1:n.rules.length?t.value?p.value.length||v.value.lazy?null:!0:!p.value.length:!0),l=Wr(!1),a=cn(()=>({[`${e}--error`]:f.value===!1,[`${e}--dirty`]:d.value,[`${e}--disabled`]:g.value,[`${e}--readonly`]:i.value})),u=cn(()=>n.name??yu(r));Sy(()=>{T==null||T.register({id:u.value,validate:c,reset:o,resetValidation:s})}),Tl(()=>{T==null||T.unregister(u.value)}),Ks(async()=>{v.value.lazy||await c(!0),T==null||T.update(u.value,f.value,M.value)}),$f(()=>v.value.input,()=>{$r(D,()=>{if(D.value!=null)c();else if(n.focused){const h=$r(()=>n.focused,m=>{m||c(),h()})}})}),$f(()=>v.value.blur,()=>{$r(()=>n.focused,h=>{h||c()})}),$r(f,()=>{T==null||T.update(u.value,f.value,M.value)});function o(){C.value=null,Ua(s)}function s(){t.value=!0,v.value.lazy?p.value=[]:c(!0)}async function c(){let h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const m=[];l.value=!0;for(const w of n.rules){if(m.length>=+(n.maxErrors??1))break;const S=await(typeof w=="function"?w:()=>w)(D.value);if(S!==!0){if(S!==!1&&typeof S!="string"){console.warn(`${S} is not a valid value. Rule functions must return boolean true or a string.`);continue}m.push(S||"")}}return p.value=m,l.value=!1,t.value=h,p.value}return{errorMessages:M,isDirty:d,isDisabled:g,isReadonly:i,isPristine:t,isValid:f,isValidating:l,reset:o,resetValidation:s,validate:c,validationClasses:a}}const mf=ur({id:String,appendIcon:bi,centerAffix:{type:Boolean,default:!0},prependIcon:bi,hideDetails:[Boolean,String],hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:n=>["horizontal","vertical"].includes(n)},"onClick:prepend":yh(),"onClick:append":yh(),...Zr(),...ds(),...cA()},"VInput"),Bs=Ar()({name:"VInput",props:{...mf()},emits:{"update:modelValue":n=>!0},setup(n,e){let{attrs:r,slots:C,emit:D}=e;const{densityClasses:T}=Qs(n),{rtlClasses:p}=Cs(),{InputIcon:t}=sA(n),d=Js(),g=cn(()=>n.id||`input-${d}`),i=cn(()=>`${g.value}-messages`),{errorMessages:M,isDirty:v,isDisabled:f,isReadonly:l,isPristine:a,isValid:u,isValidating:o,reset:s,resetValidation:c,validate:h,validationClasses:m}=hA(n,"v-input",g),w=cn(()=>({id:g,messagesId:i,isDirty:v,isDisabled:f,isReadonly:l,isPristine:a,isValid:u,isValidating:o,reset:s,resetValidation:c,validate:h})),y=cn(()=>{var S;return(S=n.errorMessages)!=null&&S.length||!a.value&&M.value.length?M.value:n.hint&&(n.persistentHint||n.focused)?n.hint:n.messages});return Or(()=>{var x,A,L,b;const S=!!(C.prepend||n.prependIcon),_=!!(C.append||n.appendIcon),k=y.value.length>0,E=!n.hideDetails||n.hideDetails==="auto"&&(k||!!C.details);return gt("div",{class:["v-input",`v-input--${n.direction}`,{"v-input--center-affix":n.centerAffix},T.value,p.value,m.value,n.class],style:n.style},[S&>("div",{key:"prepend",class:"v-input__prepend"},[(x=C.prepend)==null?void 0:x.call(C,w.value),n.prependIcon&>(t,{key:"prepend-icon",name:"prepend"},null)]),C.default&>("div",{class:"v-input__control"},[(A=C.default)==null?void 0:A.call(C,w.value)]),_&>("div",{key:"append",class:"v-input__append"},[n.appendIcon&>(t,{key:"append-icon",name:"append"},null),(L=C.append)==null?void 0:L.call(C,w.value)]),E&>("div",{class:"v-input__details"},[gt(lA,{id:i.value,active:k,messages:y.value},{message:C.message}),(b=C.details)==null?void 0:b.call(C,w.value)])])}),{reset:s,resetValidation:c,validate:h}}}),fN=ur({...mf(),...ic(oA(),["inline"])},"VCheckbox"),dN=Ar()({name:"VCheckbox",inheritAttrs:!1,props:fN(),emits:{"update:modelValue":n=>!0,"update:focused":n=>!0},setup(n,e){let{attrs:r,slots:C}=e;const D=xi(n,"modelValue"),{isFocused:T,focus:p,blur:t}=rd(n),d=Js(),g=cn(()=>n.id||`checkbox-${d}`);return Or(()=>{const[i,M]=Qd(r),[v,f]=Bs.filterProps(n),[l,a]=h0.filterProps(n);return gt(Bs,qr({class:["v-checkbox",n.class]},i,v,{modelValue:D.value,"onUpdate:modelValue":u=>D.value=u,id:g.value,focused:T.value,style:n.style}),{...C,default:u=>{let{id:o,messagesId:s,isDisabled:c,isReadonly:h}=u;return gt(h0,qr(l,{id:o.value,"aria-describedby":s.value,disabled:c.value,readonly:h.value},M,{modelValue:D.value,"onUpdate:modelValue":m=>D.value=m,onFocus:p,onBlur:t}),C)}})}),{}}});const pN=ur({start:Boolean,end:Boolean,icon:bi,image:String,...Zr(),...ds(),...lo(),...pf(),...Si(),...oa(),...cc({variant:"flat"})},"VAvatar"),Zf=Ar()({name:"VAvatar",props:pN(),setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{colorClasses:D,colorStyles:T,variantClasses:p}=rp(n),{densityClasses:t}=Qs(n),{roundedClasses:d}=Eo(n),{sizeClasses:g,sizeStyles:i}=M0(n);return Or(()=>gt(n.tag,{class:["v-avatar",{"v-avatar--start":n.start,"v-avatar--end":n.end},C.value,D.value,t.value,d.value,g.value,p.value,n.class],style:[T.value,i.value,n.style]},{default:()=>{var M;return[n.image?gt(Zd,{key:"image",src:n.image,alt:"",cover:!0},null):n.icon?gt(ja,{key:"icon",icon:n.icon},null):(M=r.default)==null?void 0:M.call(r),np(!1,"v-avatar")]}})),{}}});const fA=Symbol.for("vuetify:v-chip-group"),mN=ur({column:Boolean,filter:Boolean,valueComparator:{type:Function,default:b0},...Zr(),...w0({selectedClass:"v-chip--selected"}),...Si(),...oa(),...cc({variant:"tonal"})},"VChipGroup"),gN=Ar()({name:"VChipGroup",props:mN(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{isSelected:D,select:T,next:p,prev:t,selected:d}=ip(n,fA);return es({VChip:{color:Cr(n,"color"),disabled:Cr(n,"disabled"),filter:Cr(n,"filter"),variant:Cr(n,"variant")}}),Or(()=>gt(n.tag,{class:["v-chip-group",{"v-chip-group--column":n.column},C.value,n.class],style:n.style},{default:()=>{var g;return[(g=r.default)==null?void 0:g.call(r,{isSelected:D,select:T,next:p,prev:t,selected:d.value})]}})),{}}}),vN=ur({activeClass:String,appendAvatar:String,appendIcon:bi,closable:Boolean,closeIcon:{type:bi,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:{type:Boolean,default:void 0},pill:Boolean,prependAvatar:String,prependIcon:bi,ripple:{type:[Boolean,Object],default:!0},text:String,modelValue:{type:Boolean,default:!0},onClick:yh(),onClickOnce:yh(),...Su(),...Zr(),...ds(),...fs(),...T0(),...lo(),...lg(),...pf(),...Si({tag:"span"}),...oa(),...cc({variant:"tonal"})},"VChip"),ug=Ar()({name:"VChip",directives:{Ripple:nd},props:vN(),emits:{"click:close":n=>!0,"update:modelValue":n=>!0,"group:selected":n=>!0,click:n=>!0},setup(n,e){let{attrs:r,emit:C,slots:D}=e;const{t:T}=oc(),{borderClasses:p}=uc(n),{colorClasses:t,colorStyles:d,variantClasses:g}=rp(n),{densityClasses:i}=Qs(n),{elevationClasses:M}=Vs(n),{roundedClasses:v}=Eo(n),{sizeClasses:f}=M0(n),{themeClasses:l}=Ma(n),a=xi(n,"modelValue"),u=k0(n,fA,!1),o=sg(n,r),s=cn(()=>n.link!==!1&&o.isLink.value),c=cn(()=>!n.disabled&&n.link!==!1&&(!!u||n.link||o.isClickable.value)),h=cn(()=>({"aria-label":T(n.closeLabel),onClick(y){y.stopPropagation(),a.value=!1,C("click:close",y)}}));function m(y){var S;C("click",y),c.value&&((S=o.navigate)==null||S.call(o,y),u==null||u.toggle())}function w(y){(y.key==="Enter"||y.key===" ")&&(y.preventDefault(),m(y))}return()=>{const y=o.isLink.value?"a":n.tag,S=!!(n.appendIcon||n.appendAvatar),_=!!(S||D.append),k=!!(D.close||n.closable),E=!!(D.filter||n.filter)&&u,x=!!(n.prependIcon||n.prependAvatar),A=!!(x||D.prepend),L=!u||u.isSelected.value;return a.value&&Co(gt(y,{class:["v-chip",{"v-chip--disabled":n.disabled,"v-chip--label":n.label,"v-chip--link":c.value,"v-chip--filter":E,"v-chip--pill":n.pill},l.value,p.value,L?t.value:void 0,i.value,M.value,v.value,f.value,g.value,u==null?void 0:u.selectedClass.value,n.class],style:[L?d.value:void 0,n.style],disabled:n.disabled||void 0,draggable:n.draggable,href:o.href.value,tabindex:c.value?0:void 0,onClick:m,onKeydown:c.value&&!s.value&&w},{default:()=>{var b;return[np(c.value,"v-chip"),E&>(u_,{key:"filter"},{default:()=>[Co(gt("div",{class:"v-chip__filter"},[D.filter?gt(Fa,{key:"filter-defaults",disabled:!n.filterIcon,defaults:{VIcon:{icon:n.filterIcon}}},D.filter):gt(ja,{key:"filter-icon",icon:n.filterIcon},null)]),[[kh,u.isSelected.value]])]}),A&>("div",{key:"prepend",class:"v-chip__prepend"},[D.prepend?gt(Fa,{key:"prepend-defaults",disabled:!x,defaults:{VAvatar:{image:n.prependAvatar,start:!0},VIcon:{icon:n.prependIcon,start:!0}}},D.prepend):gt(Yr,null,[n.prependIcon&>(ja,{key:"prepend-icon",icon:n.prependIcon,start:!0},null),n.prependAvatar&>(Zf,{key:"prepend-avatar",image:n.prependAvatar,start:!0},null)])]),gt("div",{class:"v-chip__content"},[((b=D.default)==null?void 0:b.call(D,{isSelected:u==null?void 0:u.isSelected.value,selectedClass:u==null?void 0:u.selectedClass.value,select:u==null?void 0:u.select,toggle:u==null?void 0:u.toggle,value:u==null?void 0:u.value.value,disabled:n.disabled}))??n.text]),_&>("div",{key:"append",class:"v-chip__append"},[D.append?gt(Fa,{key:"append-defaults",disabled:!S,defaults:{VAvatar:{end:!0,image:n.appendAvatar},VIcon:{end:!0,icon:n.appendIcon}}},D.append):gt(Yr,null,[n.appendIcon&>(ja,{key:"append-icon",end:!0,icon:n.appendIcon},null),n.appendAvatar&>(Zf,{key:"append-avatar",end:!0,image:n.appendAvatar},null)])]),k&>("div",qr({key:"close",class:"v-chip__close"},h.value),[D.close?gt(Fa,{key:"close-defaults",defaults:{VIcon:{icon:n.closeIcon,size:"x-small"}}},D.close):gt(ja,{key:"close-icon",icon:n.closeIcon,size:"x-small"},null)])]}}),[[Tu("ripple"),c.value&&n.ripple,null]])}}});const wx=Symbol.for("vuetify:list");function dA(){const n=ka(wx,{hasPrepend:Wr(!1),updateHasPrepend:()=>null}),e={hasPrepend:Wr(!1),updateHasPrepend:r=>{r&&(e.hasPrepend.value=r)}};return ts(wx,e),n}function pA(){return ka(wx,null)}const yN={open:n=>{let{id:e,value:r,opened:C,parents:D}=n;if(r){const T=new Set;T.add(e);let p=D.get(e);for(;p!=null;)T.add(p),p=D.get(p);return T}else return C.delete(e),C},select:()=>null},mA={open:n=>{let{id:e,value:r,opened:C,parents:D}=n;if(r){let T=D.get(e);for(C.add(e);T!=null&&T!==e;)C.add(T),T=D.get(T);return C}else C.delete(e);return C},select:()=>null},bN={open:mA.open,select:n=>{let{id:e,value:r,opened:C,parents:D}=n;if(!r)return C;const T=[];let p=D.get(e);for(;p!=null;)T.push(p),p=D.get(p);return new Set(T)}},b_=n=>{const e={select:r=>{let{id:C,value:D,selected:T}=r;if(C=wi(C),n&&!D){const p=Array.from(T.entries()).reduce((t,d)=>{let[g,i]=d;return i==="on"?[...t,g]:t},[]);if(p.length===1&&p[0]===C)return T}return T.set(C,D?"on":"off"),T},in:(r,C,D)=>{let T=new Map;for(const p of r||[])T=e.select({id:p,value:!0,selected:new Map(T),children:C,parents:D});return T},out:r=>{const C=[];for(const[D,T]of r.entries())T==="on"&&C.push(D);return C}};return e},gA=n=>{const e=b_(n);return{select:C=>{let{selected:D,id:T,...p}=C;T=wi(T);const t=D.has(T)?new Map([[T,D.get(T)]]):new Map;return e.select({...p,id:T,selected:t})},in:(C,D,T)=>{let p=new Map;return C!=null&&C.length&&(p=e.in(C.slice(0,1),D,T)),p},out:(C,D,T)=>e.out(C,D,T)}},xN=n=>{const e=b_(n);return{select:C=>{let{id:D,selected:T,children:p,...t}=C;return D=wi(D),p.has(D)?T:e.select({id:D,selected:T,children:p,...t})},in:e.in,out:e.out}},_N=n=>{const e=gA(n);return{select:C=>{let{id:D,selected:T,children:p,...t}=C;return D=wi(D),p.has(D)?T:e.select({id:D,selected:T,children:p,...t})},in:e.in,out:e.out}},wN=n=>{const e={select:r=>{let{id:C,value:D,selected:T,children:p,parents:t}=r;C=wi(C);const d=new Map(T),g=[C];for(;g.length;){const M=g.shift();T.set(M,D?"on":"off"),p.has(M)&&g.push(...p.get(M))}let i=t.get(C);for(;i;){const M=p.get(i),v=M.every(l=>T.get(l)==="on"),f=M.every(l=>!T.has(l)||T.get(l)==="off");T.set(i,v?"on":f?"off":"indeterminate"),i=t.get(i)}return n&&!D&&Array.from(T.entries()).reduce((v,f)=>{let[l,a]=f;return a==="on"?[...v,l]:v},[]).length===0?d:T},in:(r,C,D)=>{let T=new Map;for(const p of r||[])T=e.select({id:p,value:!0,selected:new Map(T),children:C,parents:D});return T},out:(r,C)=>{const D=[];for(const[T,p]of r.entries())p==="on"&&!C.has(T)&&D.push(T);return D}};return e},Vm=Symbol.for("vuetify:nested"),vA={id:Wr(),root:{register:()=>null,unregister:()=>null,parents:Vr(new Map),children:Vr(new Map),open:()=>null,openOnSelect:()=>null,select:()=>null,opened:Vr(new Set),selected:Vr(new Map),selectedValues:Vr([])}},TN=ur({selectStrategy:[String,Function],openStrategy:[String,Object],opened:Array,selected:Array,mandatory:Boolean},"nested"),kN=n=>{let e=!1;const r=Vr(new Map),C=Vr(new Map),D=xi(n,"opened",n.opened,M=>new Set(M),M=>[...M.values()]),T=cn(()=>{if(typeof n.selectStrategy=="object")return n.selectStrategy;switch(n.selectStrategy){case"single-leaf":return _N(n.mandatory);case"leaf":return xN(n.mandatory);case"independent":return b_(n.mandatory);case"single-independent":return gA(n.mandatory);case"classic":default:return wN(n.mandatory)}}),p=cn(()=>{if(typeof n.openStrategy=="object")return n.openStrategy;switch(n.openStrategy){case"list":return bN;case"single":return yN;case"multiple":default:return mA}}),t=xi(n,"selected",n.selected,M=>T.value.in(M,r.value,C.value),M=>T.value.out(M,r.value,C.value));Tl(()=>{e=!0});function d(M){const v=[];let f=M;for(;f!=null;)v.unshift(f),f=C.value.get(f);return v}const g=Ss("nested"),i={id:Wr(),root:{opened:D,selected:t,selectedValues:cn(()=>{const M=[];for(const[v,f]of t.value.entries())f==="on"&&M.push(v);return M}),register:(M,v,f)=>{v&&M!==v&&C.value.set(M,v),f&&r.value.set(M,[]),v!=null&&r.value.set(v,[...r.value.get(v)||[],M])},unregister:M=>{if(e)return;r.value.delete(M);const v=C.value.get(M);if(v){const f=r.value.get(v)??[];r.value.set(v,f.filter(l=>l!==M))}C.value.delete(M),D.value.delete(M)},open:(M,v,f)=>{g.emit("click:open",{id:M,value:v,path:d(M),event:f});const l=p.value.open({id:M,value:v,opened:new Set(D.value),children:r.value,parents:C.value,event:f});l&&(D.value=l)},openOnSelect:(M,v,f)=>{const l=p.value.select({id:M,value:v,selected:new Map(t.value),opened:new Set(D.value),children:r.value,parents:C.value,event:f});l&&(D.value=l)},select:(M,v,f)=>{g.emit("click:select",{id:M,value:v,path:d(M),event:f});const l=T.value.select({id:M,value:v,selected:new Map(t.value),children:r.value,parents:C.value,event:f});l&&(t.value=l),i.root.openOnSelect(M,v,f)},children:r,parents:C}};return ts(Vm,i),i.root},yA=(n,e)=>{const r=ka(Vm,vA),C=Symbol(Js()),D=cn(()=>n.value!==void 0?n.value:C),T={...r,id:D,open:(p,t)=>r.root.open(D.value,p,t),openOnSelect:(p,t)=>r.root.openOnSelect(D.value,p,t),isOpen:cn(()=>r.root.opened.value.has(D.value)),parent:cn(()=>r.root.parents.value.get(D.value)),select:(p,t)=>r.root.select(D.value,p,t),isSelected:cn(()=>r.root.selected.value.get(wi(D.value))==="on"),isIndeterminate:cn(()=>r.root.selected.value.get(D.value)==="indeterminate"),isLeaf:cn(()=>!r.root.children.value.get(D.value)),isGroupActivator:r.isGroupActivator};return!r.isGroupActivator&&r.root.register(D.value,r.id.value,e),Tl(()=>{!r.isGroupActivator&&r.root.unregister(D.value)}),e&&ts(Vm,T),T},MN=()=>{const n=ka(Vm,vA);ts(Vm,{...n,isGroupActivator:!0})},AN=ac({name:"VListGroupActivator",setup(n,e){let{slots:r}=e;return MN(),()=>{var C;return(C=r.default)==null?void 0:C.call(r)}}}),SN=ur({activeColor:String,baseColor:String,color:String,collapseIcon:{type:bi,default:"$collapse"},expandIcon:{type:bi,default:"$expand"},prependIcon:bi,appendIcon:bi,fluid:Boolean,subgroup:Boolean,title:String,value:null,...Zr(),...Si()},"VListGroup"),Tx=Ar()({name:"VListGroup",props:SN(),setup(n,e){let{slots:r}=e;const{isOpen:C,open:D,id:T}=yA(Cr(n,"value"),!0),p=cn(()=>`v-list-group--id-${String(T.value)}`),t=pA(),{isBooted:d}=tp();function g(f){D(!C.value,f)}const i=cn(()=>({onClick:g,class:"v-list-group__header",id:p.value})),M=cn(()=>C.value?n.collapseIcon:n.expandIcon),v=cn(()=>({VListItem:{active:C.value,activeColor:n.activeColor,baseColor:n.baseColor,color:n.color,prependIcon:n.prependIcon||n.subgroup&&M.value,appendIcon:n.appendIcon||!n.subgroup&&M.value,title:n.title,value:n.value}}));return Or(()=>gt(n.tag,{class:["v-list-group",{"v-list-group--prepend":t==null?void 0:t.hasPrepend.value,"v-list-group--fluid":n.fluid,"v-list-group--subgroup":n.subgroup,"v-list-group--open":C.value},n.class],style:n.style},{default:()=>[r.activator&>(Fa,{defaults:v.value},{default:()=>[gt(AN,null,{default:()=>[r.activator({props:i.value,isOpen:C.value})]})]}),gt(Oc,{transition:{component:e1},disabled:!d.value},{default:()=>{var f;return[Co(gt("div",{class:"v-list-group__items",role:"group","aria-labelledby":p.value},[(f=r.default)==null?void 0:f.call(r)]),[[kh,C.value]])]}})]})),{}}});const bA=Nc("v-list-item-subtitle"),xA=Nc("v-list-item-title"),CN=ur({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:bi,baseColor:String,disabled:Boolean,lines:String,link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:bi,ripple:{type:[Boolean,Object],default:!0},subtitle:[String,Number,Boolean],title:[String,Number,Boolean],value:null,onClick:yh(),onClickOnce:yh(),...Su(),...Zr(),...ds(),...sc(),...fs(),...lo(),...lg(),...Si(),...oa(),...cc({variant:"text"})},"VListItem"),af=Ar()({name:"VListItem",directives:{Ripple:nd},props:CN(),emits:{click:n=>!0},setup(n,e){let{attrs:r,slots:C,emit:D}=e;const T=sg(n,r),p=cn(()=>n.value===void 0?T.href.value:n.value),{select:t,isSelected:d,isIndeterminate:g,isGroupActivator:i,root:M,parent:v,openOnSelect:f}=yA(p,!1),l=pA(),a=cn(()=>{var O;return n.active!==!1&&(n.active||((O=T.isActive)==null?void 0:O.value)||d.value)}),u=cn(()=>n.link!==!1&&T.isLink.value),o=cn(()=>!n.disabled&&n.link!==!1&&(n.link||T.isClickable.value||n.value!=null&&!!l)),s=cn(()=>n.rounded||n.nav),c=cn(()=>n.color??n.activeColor),h=cn(()=>({color:a.value?c.value??n.baseColor:n.baseColor,variant:n.variant}));$r(()=>{var O;return(O=T.isActive)==null?void 0:O.value},O=>{O&&v.value!=null&&M.open(v.value,!0),O&&f(O)},{immediate:!0});const{themeClasses:m}=Ma(n),{borderClasses:w}=uc(n),{colorClasses:y,colorStyles:S,variantClasses:_}=rp(h),{densityClasses:k}=Qs(n),{dimensionStyles:E}=lc(n),{elevationClasses:x}=Vs(n),{roundedClasses:A}=Eo(s),L=cn(()=>n.lines?`v-list-item--${n.lines}-line`:void 0),b=cn(()=>({isActive:a.value,select:t,isSelected:d.value,isIndeterminate:g.value}));function R(O){var z;D("click",O),!(i||!o.value)&&((z=T.navigate)==null||z.call(T,O),n.value!=null&&t(!d.value,O))}function I(O){(O.key==="Enter"||O.key===" ")&&(O.preventDefault(),R(O))}return Or(()=>{const O=u.value?"a":n.tag,z=C.title||n.title,F=C.subtitle||n.subtitle,B=!!(n.appendAvatar||n.appendIcon),N=!!(B||C.append),W=!!(n.prependAvatar||n.prependIcon),j=!!(W||C.prepend);return l==null||l.updateHasPrepend(j),n.activeColor&&rF("active-color",["color","base-color"]),Co(gt(O,{class:["v-list-item",{"v-list-item--active":a.value,"v-list-item--disabled":n.disabled,"v-list-item--link":o.value,"v-list-item--nav":n.nav,"v-list-item--prepend":!j&&(l==null?void 0:l.hasPrepend.value),[`${n.activeClass}`]:n.activeClass&&a.value},m.value,w.value,y.value,k.value,x.value,L.value,A.value,_.value,n.class],style:[S.value,E.value,n.style],href:T.href.value,tabindex:o.value?l?-2:0:void 0,onClick:R,onKeydown:o.value&&!u.value&&I},{default:()=>{var $;return[np(o.value||a.value,"v-list-item"),j&>("div",{key:"prepend",class:"v-list-item__prepend"},[C.prepend?gt(Fa,{key:"prepend-defaults",disabled:!W,defaults:{VAvatar:{density:n.density,image:n.prependAvatar},VIcon:{density:n.density,icon:n.prependIcon},VListItemAction:{start:!0}}},{default:()=>{var U;return[(U=C.prepend)==null?void 0:U.call(C,b.value)]}}):gt(Yr,null,[n.prependAvatar&>(Zf,{key:"prepend-avatar",density:n.density,image:n.prependAvatar},null),n.prependIcon&>(ja,{key:"prepend-icon",density:n.density,icon:n.prependIcon},null)]),gt("div",{class:"v-list-item__spacer"},null)]),gt("div",{class:"v-list-item__content","data-no-activator":""},[z&>(xA,{key:"title"},{default:()=>{var U;return[((U=C.title)==null?void 0:U.call(C,{title:n.title}))??n.title]}}),F&>(bA,{key:"subtitle"},{default:()=>{var U;return[((U=C.subtitle)==null?void 0:U.call(C,{subtitle:n.subtitle}))??n.subtitle]}}),($=C.default)==null?void 0:$.call(C,b.value)]),N&>("div",{key:"append",class:"v-list-item__append"},[C.append?gt(Fa,{key:"append-defaults",disabled:!B,defaults:{VAvatar:{density:n.density,image:n.appendAvatar},VIcon:{density:n.density,icon:n.appendIcon},VListItemAction:{end:!0}}},{default:()=>{var U;return[(U=C.append)==null?void 0:U.call(C,b.value)]}}):gt(Yr,null,[n.appendIcon&>(ja,{key:"append-icon",density:n.density,icon:n.appendIcon},null),n.appendAvatar&>(Zf,{key:"append-avatar",density:n.density,image:n.appendAvatar},null)]),gt("div",{class:"v-list-item__spacer"},null)])]}}),[[Tu("ripple"),o.value&&n.ripple]])}),{}}}),EN=ur({color:String,inset:Boolean,sticky:Boolean,title:String,...Zr(),...Si()},"VListSubheader"),_A=Ar()({name:"VListSubheader",props:EN(),setup(n,e){let{slots:r}=e;const{textColorClasses:C,textColorStyles:D}=Xs(Cr(n,"color"));return Or(()=>{const T=!!(r.default||n.title);return gt(n.tag,{class:["v-list-subheader",{"v-list-subheader--inset":n.inset,"v-list-subheader--sticky":n.sticky},C.value,n.class],style:[{textColorStyles:D},n.style]},{default:()=>{var p;return[T&>("div",{class:"v-list-subheader__text"},[((p=r.default)==null?void 0:p.call(r))??n.title])]}})}),{}}});const LN=ur({color:String,inset:Boolean,length:[Number,String],thickness:[Number,String],vertical:Boolean,...Zr(),...oa()},"VDivider"),wA=Ar()({name:"VDivider",props:LN(),setup(n,e){let{attrs:r}=e;const{themeClasses:C}=Ma(n),{textColorClasses:D,textColorStyles:T}=Xs(Cr(n,"color")),p=cn(()=>{const t={};return n.length&&(t[n.vertical?"maxHeight":"maxWidth"]=Qr(n.length)),n.thickness&&(t[n.vertical?"borderRightWidth":"borderTopWidth"]=Qr(n.thickness)),t});return Or(()=>gt("hr",{class:[{"v-divider":!0,"v-divider--inset":n.inset,"v-divider--vertical":n.vertical},C.value,D.value,n.class],style:[p.value,T.value,n.style],"aria-orientation":!r.role||r.role==="separator"?n.vertical?"vertical":"horizontal":void 0,role:`${r.role||"separator"}`},null)),{}}}),IN=ur({items:Array},"VListChildren"),TA=Ar()({name:"VListChildren",props:IN(),setup(n,e){let{slots:r}=e;return dA(),()=>{var C,D;return((C=r.default)==null?void 0:C.call(r))??((D=n.items)==null?void 0:D.map(T=>{var f,l;let{children:p,props:t,type:d,raw:g}=T;if(d==="divider")return((f=r.divider)==null?void 0:f.call(r,{props:t}))??gt(wA,t,null);if(d==="subheader")return((l=r.subheader)==null?void 0:l.call(r,{props:t}))??gt(_A,t,null);const i={subtitle:r.subtitle?a=>{var u;return(u=r.subtitle)==null?void 0:u.call(r,{...a,item:g})}:void 0,prepend:r.prepend?a=>{var u;return(u=r.prepend)==null?void 0:u.call(r,{...a,item:g})}:void 0,append:r.append?a=>{var u;return(u=r.append)==null?void 0:u.call(r,{...a,item:g})}:void 0,title:r.title?a=>{var u;return(u=r.title)==null?void 0:u.call(r,{...a,item:g})}:void 0},[M,v]=Tx.filterProps(t);return p?gt(Tx,qr({value:t==null?void 0:t.value},M),{activator:a=>{let{props:u}=a;return r.header?r.header({props:{...t,...u}}):gt(af,qr(t,u),i)},default:()=>gt(TA,{items:p},r)}):r.item?r.item({props:t}):gt(af,t,i)}))}}}),kA=ur({items:{type:Array,default:()=>[]},itemTitle:{type:[String,Array,Function],default:"title"},itemValue:{type:[String,Array,Function],default:"value"},itemChildren:{type:[Boolean,String,Array,Function],default:"children"},itemProps:{type:[Boolean,String,Array,Function],default:"props"},returnObject:Boolean,valueComparator:{type:Function,default:b0}},"list-items");function zd(n,e){const r=ph(e,n.itemTitle,e),C=ph(e,n.itemValue,r),D=ph(e,n.itemChildren),T=n.itemProps===!0?typeof e=="object"&&e!=null&&!Array.isArray(e)?"children"in e?$d(e,["children"])[1]:e:void 0:ph(e,n.itemProps),p={title:r,value:C,...T};return{title:String(p.title??""),value:p.value,props:p,children:Array.isArray(D)?MA(n,D):void 0,raw:e}}function MA(n,e){const r=[];for(const C of e)r.push(zd(n,C));return r}function x_(n){const e=cn(()=>MA(n,n.items)),r=cn(()=>e.value.some(T=>T.value===null));function C(T){return r.value||(T=T.filter(p=>p!==null)),T.map(p=>n.returnObject&&typeof p=="string"?zd(n,p):e.value.find(t=>n.valueComparator(p,t.value))||zd(n,p))}function D(T){return n.returnObject?T.map(p=>{let{raw:t}=p;return t}):T.map(p=>{let{value:t}=p;return t})}return{items:e,transformIn:C,transformOut:D}}function RN(n){return typeof n=="string"||typeof n=="number"||typeof n=="boolean"}function PN(n,e){const r=ph(e,n.itemType,"item"),C=RN(e)?e:ph(e,n.itemTitle),D=ph(e,n.itemValue,void 0),T=ph(e,n.itemChildren),p=n.itemProps===!0?$d(e,["children"])[1]:ph(e,n.itemProps),t={title:C,value:D,...p};return{type:r,title:t.title,value:t.value,props:t,children:r==="item"&&T?AA(n,T):void 0,raw:e}}function AA(n,e){const r=[];for(const C of e)r.push(PN(n,C));return r}function ON(n){return{items:cn(()=>AA(n,n.items))}}const DN=ur({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,lines:{type:[Boolean,String],default:"one"},nav:Boolean,...TN({selectStrategy:"single-leaf",openStrategy:"list"}),...Su(),...Zr(),...ds(),...sc(),...fs(),itemType:{type:String,default:"type"},...kA(),...lo(),...Si(),...oa(),...cc({variant:"text"})},"VList"),a1=Ar()({name:"VList",props:DN(),emits:{"update:selected":n=>!0,"update:opened":n=>!0,"click:open":n=>!0,"click:select":n=>!0},setup(n,e){let{slots:r}=e;const{items:C}=ON(n),{themeClasses:D}=Ma(n),{backgroundColorClasses:T,backgroundColorStyles:p}=Oo(Cr(n,"bgColor")),{borderClasses:t}=uc(n),{densityClasses:d}=Qs(n),{dimensionStyles:g}=lc(n),{elevationClasses:i}=Vs(n),{roundedClasses:M}=Eo(n),{open:v,select:f}=kN(n),l=cn(()=>n.lines?`v-list--${n.lines}-line`:void 0),a=Cr(n,"activeColor"),u=Cr(n,"baseColor"),o=Cr(n,"color");dA(),es({VListGroup:{activeColor:a,baseColor:u,color:o},VListItem:{activeClass:Cr(n,"activeClass"),activeColor:a,baseColor:u,color:o,density:Cr(n,"density"),disabled:Cr(n,"disabled"),lines:Cr(n,"lines"),nav:Cr(n,"nav"),variant:Cr(n,"variant")}});const s=Wr(!1),c=Vr();function h(_){s.value=!0}function m(_){s.value=!1}function w(_){var k;!s.value&&!(_.relatedTarget&&((k=c.value)!=null&&k.contains(_.relatedTarget)))&&S()}function y(_){if(c.value){if(_.key==="ArrowDown")S("next");else if(_.key==="ArrowUp")S("prev");else if(_.key==="Home")S("first");else if(_.key==="End")S("last");else return;_.preventDefault()}}function S(_){if(c.value)return uy(c.value,_)}return Or(()=>gt(n.tag,{ref:c,class:["v-list",{"v-list--disabled":n.disabled,"v-list--nav":n.nav},D.value,T.value,t.value,d.value,i.value,l.value,M.value,n.class],style:[p.value,g.value,n.style],tabindex:n.disabled||s.value?-1:0,role:"listbox","aria-activedescendant":void 0,onFocusin:h,onFocusout:m,onFocus:w,onKeydown:y},{default:()=>[gt(TA,{items:C.value},r)]})),{open:v,select:f,focus:S}}}),zN=Nc("v-list-img"),FN=ur({start:Boolean,end:Boolean,...Zr(),...Si()},"VListItemAction"),BN=Ar()({name:"VListItemAction",props:FN(),setup(n,e){let{slots:r}=e;return Or(()=>gt(n.tag,{class:["v-list-item-action",{"v-list-item-action--start":n.start,"v-list-item-action--end":n.end},n.class],style:n.style},r)),{}}}),NN=ur({start:Boolean,end:Boolean,...Zr(),...Si()},"VListItemMedia"),VN=Ar()({name:"VListItemMedia",props:NN(),setup(n,e){let{slots:r}=e;return Or(()=>gt(n.tag,{class:["v-list-item-media",{"v-list-item-media--start":n.start,"v-list-item-media--end":n.end},n.class],style:n.style},r)),{}}});function xb(n,e){return{x:n.x+e.x,y:n.y+e.y}}function jN(n,e){return{x:n.x-e.x,y:n.y-e.y}}function tT(n,e){if(n.side==="top"||n.side==="bottom"){const{side:r,align:C}=n,D=C==="left"?0:C==="center"?e.width/2:C==="right"?e.width:C,T=r==="top"?0:r==="bottom"?e.height:r;return xb({x:D,y:T},e)}else if(n.side==="left"||n.side==="right"){const{side:r,align:C}=n,D=r==="left"?0:r==="right"?e.width:r,T=C==="top"?0:C==="center"?e.height/2:C==="bottom"?e.height:C;return xb({x:D,y:T},e)}return xb({x:e.width/2,y:e.height/2},e)}const SA={static:GN,connected:WN},UN=ur({locationStrategy:{type:[String,Function],default:"static",validator:n=>typeof n=="function"||n in SA},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function HN(n,e){const r=Vr({}),C=Vr();to&&($f(()=>!!(e.isActive.value&&n.locationStrategy),T=>{var p,t;$r(()=>n.locationStrategy,T),wl(()=>{C.value=void 0}),typeof n.locationStrategy=="function"?C.value=(p=n.locationStrategy(e,n,r))==null?void 0:p.updateLocation:C.value=(t=SA[n.locationStrategy](e,n,r))==null?void 0:t.updateLocation}),window.addEventListener("resize",D,{passive:!0}),wl(()=>{window.removeEventListener("resize",D),C.value=void 0}));function D(T){var p;(p=C.value)==null||p.call(C,T)}return{contentStyles:r,updateLocation:C}}function GN(){}function qN(n,e){e?n.style.removeProperty("left"):n.style.removeProperty("right");const r=J2(n);return e?r.x+=parseFloat(n.style.right||0):r.x-=parseFloat(n.style.left||0),r.y-=parseFloat(n.style.top||0),r}function WN(n,e,r){xF(n.activatorEl.value)&&Object.assign(r.value,{position:"fixed",top:0,[n.isRtl.value?"right":"left"]:0});const{preferredAnchor:D,preferredOrigin:T}=X2(()=>{const l=lx(e.location,n.isRtl.value),a=e.origin==="overlap"?l:e.origin==="auto"?gb(l):lx(e.origin,n.isRtl.value);return l.side===a.side&&l.align===vb(a).align?{preferredAnchor:M5(l),preferredOrigin:M5(a)}:{preferredAnchor:l,preferredOrigin:a}}),[p,t,d,g]=["minWidth","minHeight","maxWidth","maxHeight"].map(l=>cn(()=>{const a=parseFloat(e[l]);return isNaN(a)?1/0:a})),i=cn(()=>{if(Array.isArray(e.offset))return e.offset;if(typeof e.offset=="string"){const l=e.offset.split(" ").map(parseFloat);return l.length<2&&l.push(0),l}return typeof e.offset=="number"?[e.offset,0]:[0,0]});let M=!1;const v=new ResizeObserver(()=>{M&&f()});$r([n.activatorEl,n.contentEl],(l,a)=>{let[u,o]=l,[s,c]=a;s&&v.unobserve(s),u&&v.observe(u),c&&v.unobserve(c),o&&v.observe(o)},{immediate:!0}),wl(()=>{v.disconnect()});function f(){if(M=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>M=!0)}),!n.activatorEl.value||!n.contentEl.value)return;const l=n.activatorEl.value.getBoundingClientRect(),a=qN(n.contentEl.value,n.isRtl.value),u=hy(n.contentEl.value),o=12;u.length||(u.push(document.documentElement),n.contentEl.value.style.top&&n.contentEl.value.style.left||(a.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),a.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const s=u.reduce((E,x)=>{const A=x.getBoundingClientRect(),L=new Yp({x:x===document.documentElement?0:A.x,y:x===document.documentElement?0:A.y,width:x.clientWidth,height:x.clientHeight});return E?new Yp({x:Math.max(E.left,L.left),y:Math.max(E.top,L.top),width:Math.min(E.right,L.right)-Math.max(E.left,L.left),height:Math.min(E.bottom,L.bottom)-Math.max(E.top,L.top)}):L},void 0);s.x+=o,s.y+=o,s.width-=o*2,s.height-=o*2;let c={anchor:D.value,origin:T.value};function h(E){const x=new Yp(a),A=tT(E.anchor,l),L=tT(E.origin,x);let{x:b,y:R}=jN(A,L);switch(E.anchor.side){case"top":R-=i.value[0];break;case"bottom":R+=i.value[0];break;case"left":b-=i.value[0];break;case"right":b+=i.value[0];break}switch(E.anchor.align){case"top":R-=i.value[1];break;case"bottom":R+=i.value[1];break;case"left":b-=i.value[1];break;case"right":b+=i.value[1];break}return x.x+=b,x.y+=R,x.width=Math.min(x.width,d.value),x.height=Math.min(x.height,g.value),{overflows:S5(x,s),x:b,y:R}}let m=0,w=0;const y={x:0,y:0},S={x:!1,y:!1};let _=-1;for(;!(_++>10);){const{x:E,y:x,overflows:A}=h(c);m+=E,w+=x,a.x+=E,a.y+=x;{const L=A5(c.anchor),b=A.x.before||A.x.after,R=A.y.before||A.y.after;let I=!1;if(["x","y"].forEach(O=>{if(O==="x"&&b&&!S.x||O==="y"&&R&&!S.y){const z={anchor:{...c.anchor},origin:{...c.origin}},F=O==="x"?L==="y"?vb:gb:L==="y"?gb:vb;z.anchor=F(z.anchor),z.origin=F(z.origin);const{overflows:B}=h(z);(B[O].before<=A[O].before&&B[O].after<=A[O].after||B[O].before+B[O].after<(A[O].before+A[O].after)/2)&&(c=z,I=S[O]=!0)}}),I)continue}A.x.before&&(m+=A.x.before,a.x+=A.x.before),A.x.after&&(m-=A.x.after,a.x-=A.x.after),A.y.before&&(w+=A.y.before,a.y+=A.y.before),A.y.after&&(w-=A.y.after,a.y-=A.y.after);{const L=S5(a,s);y.x=s.width-L.x.before-L.x.after,y.y=s.height-L.y.before-L.y.after,m+=L.x.before,a.x+=L.x.before,w+=L.y.before,a.y+=L.y.before}break}const k=A5(c.anchor);return Object.assign(r.value,{"--v-overlay-anchor-origin":`${c.anchor.side} ${c.anchor.align}`,transformOrigin:`${c.origin.side} ${c.origin.align}`,top:Qr(_b(w)),left:n.isRtl.value?void 0:Qr(_b(m)),right:n.isRtl.value?Qr(_b(-m)):void 0,minWidth:Qr(k==="y"?Math.min(p.value,l.width):p.value),maxWidth:Qr(nT(Zs(y.x,p.value===1/0?0:p.value,d.value))),maxHeight:Qr(nT(Zs(y.y,t.value===1/0?0:t.value,g.value)))}),{available:y,contentBox:a}}return $r(()=>[D.value,T.value,e.offset,e.minWidth,e.minHeight,e.maxWidth,e.maxHeight],()=>f()),Ua(()=>{const l=f();if(!l)return;const{available:a,contentBox:u}=l;u.height>a.y&&requestAnimationFrame(()=>{f(),requestAnimationFrame(()=>{f()})})}),{updateLocation:f}}function _b(n){return Math.round(n*devicePixelRatio)/devicePixelRatio}function nT(n){return Math.ceil(n*devicePixelRatio)/devicePixelRatio}let kx=!0;const py=[];function YN(n){!kx||py.length?(py.push(n),Mx()):(kx=!1,n(),Mx())}let rT=-1;function Mx(){cancelAnimationFrame(rT),rT=requestAnimationFrame(()=>{const n=py.shift();n&&n(),py.length?Mx():kx=!0})}const Mv={none:null,close:XN,block:KN,reposition:JN},$N=ur({scrollStrategy:{type:[String,Function],default:"block",validator:n=>typeof n=="function"||n in Mv}},"VOverlay-scroll-strategies");function ZN(n,e){if(!to)return;let r;wu(async()=>{r==null||r.stop(),e.isActive.value&&n.scrollStrategy&&(r=Um(),await Ua(),r.active&&r.run(()=>{var C;typeof n.scrollStrategy=="function"?n.scrollStrategy(e,n,r):(C=Mv[n.scrollStrategy])==null||C.call(Mv,e,n,r)}))}),wl(()=>{r==null||r.stop()})}function XN(n){function e(r){n.isActive.value=!1}CA(n.activatorEl.value??n.contentEl.value,e)}function KN(n,e){var p;const r=(p=n.root.value)==null?void 0:p.offsetParent,C=[...new Set([...hy(n.activatorEl.value,e.contained?r:void 0),...hy(n.contentEl.value,e.contained?r:void 0)])].filter(t=>!t.classList.contains("v-overlay-scroll-blocked")),D=window.innerWidth-document.documentElement.offsetWidth,T=(t=>n_(t)&&t)(r||document.documentElement);T&&n.root.value.classList.add("v-overlay--scroll-blocked"),C.forEach((t,d)=>{t.style.setProperty("--v-body-scroll-x",Qr(-t.scrollLeft)),t.style.setProperty("--v-body-scroll-y",Qr(-t.scrollTop)),t!==document.documentElement&&t.style.setProperty("--v-scrollbar-offset",Qr(D)),t.classList.add("v-overlay-scroll-blocked")}),wl(()=>{C.forEach((t,d)=>{const g=parseFloat(t.style.getPropertyValue("--v-body-scroll-x")),i=parseFloat(t.style.getPropertyValue("--v-body-scroll-y"));t.style.removeProperty("--v-body-scroll-x"),t.style.removeProperty("--v-body-scroll-y"),t.style.removeProperty("--v-scrollbar-offset"),t.classList.remove("v-overlay-scroll-blocked"),t.scrollLeft=-g,t.scrollTop=-i}),T&&n.root.value.classList.remove("v-overlay--scroll-blocked")})}function JN(n,e,r){let C=!1,D=-1,T=-1;function p(t){YN(()=>{var i,M;const d=performance.now();(M=(i=n.updateLocation).value)==null||M.call(i,t),C=(performance.now()-d)/(1e3/60)>2})}T=(typeof requestIdleCallback>"u"?t=>t():requestIdleCallback)(()=>{r.run(()=>{CA(n.activatorEl.value??n.contentEl.value,t=>{C?(cancelAnimationFrame(D),D=requestAnimationFrame(()=>{D=requestAnimationFrame(()=>{p(t)})})):p(t)})})}),wl(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(T),cancelAnimationFrame(D)})}function CA(n,e){const r=[document,...hy(n)];r.forEach(C=>{C.addEventListener("scroll",e,{passive:!0})}),wl(()=>{r.forEach(C=>{C.removeEventListener("scroll",e)})})}const Ax=Symbol.for("vuetify:v-menu"),EA=ur({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function LA(n,e){const r={},C=D=>()=>{if(!to)return Promise.resolve(!0);const T=D==="openDelay";return r.closeDelay&&window.clearTimeout(r.closeDelay),delete r.closeDelay,r.openDelay&&window.clearTimeout(r.openDelay),delete r.openDelay,new Promise(p=>{const t=parseInt(n[D]??0,10);r[D]=window.setTimeout(()=>{e==null||e(T),p(T)},t)})};return{runCloseDelay:C("closeDelay"),runOpenDelay:C("openDelay")}}const QN=ur({activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...EA()},"VOverlay-activator");function eV(n,e){let{isActive:r,isTop:C}=e;const D=Vr();let T=!1,p=!1,t=!0;const d=cn(()=>n.openOnFocus||n.openOnFocus==null&&n.openOnHover),g=cn(()=>n.openOnClick||n.openOnClick==null&&!n.openOnHover&&!d.value),{runOpenDelay:i,runCloseDelay:M}=LA(n,c=>{c===(n.openOnHover&&T||d.value&&p)&&!(n.openOnHover&&r.value&&!C.value)&&(r.value!==c&&(t=!0),r.value=c)}),v={onClick:c=>{c.stopPropagation(),D.value=c.currentTarget||c.target,r.value=!r.value},onMouseenter:c=>{var h;(h=c.sourceCapabilities)!=null&&h.firesTouchEvents||(T=!0,D.value=c.currentTarget||c.target,i())},onMouseleave:c=>{T=!1,M()},onFocus:c=>{l0(c.target,":focus-visible")!==!1&&(p=!0,c.stopPropagation(),D.value=c.currentTarget||c.target,i())},onBlur:c=>{p=!1,c.stopPropagation(),M()}},f=cn(()=>{const c={};return g.value&&(c.onClick=v.onClick),n.openOnHover&&(c.onMouseenter=v.onMouseenter,c.onMouseleave=v.onMouseleave),d.value&&(c.onFocus=v.onFocus,c.onBlur=v.onBlur),c}),l=cn(()=>{const c={};if(n.openOnHover&&(c.onMouseenter=()=>{T=!0,i()},c.onMouseleave=()=>{T=!1,M()}),d.value&&(c.onFocusin=()=>{p=!0,i()},c.onFocusout=()=>{p=!1,M()}),n.closeOnContentClick){const h=ka(Ax,null);c.onClick=()=>{r.value=!1,h==null||h.closeParents()}}return c}),a=cn(()=>{const c={};return n.openOnHover&&(c.onMouseenter=()=>{t&&(T=!0,t=!1,i())},c.onMouseleave=()=>{T=!1,M()}),c});$r(C,c=>{c&&(n.openOnHover&&!T&&(!d.value||!p)||d.value&&!p&&(!n.openOnHover||!T))&&(r.value=!1)});const u=Vr();wu(()=>{u.value&&Ua(()=>{D.value=ox(u.value)})});const o=Ss("useActivator");let s;return $r(()=>!!n.activator,c=>{c&&to?(s=Um(),s.run(()=>{tV(n,o,{activatorEl:D,activatorEvents:f})})):s&&s.stop()},{flush:"post",immediate:!0}),wl(()=>{s==null||s.stop()}),{activatorEl:D,activatorRef:u,activatorEvents:f,contentEvents:l,scrimEvents:a}}function tV(n,e,r){let{activatorEl:C,activatorEvents:D}=r;$r(()=>n.activator,(d,g)=>{if(g&&d!==g){const i=t(g);i&&p(i)}d&&Ua(()=>T())},{immediate:!0}),$r(()=>n.activatorProps,()=>{T()}),wl(()=>{p()});function T(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:t(),g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:n.activatorProps;d&&$z(d,qr(D.value,g))}function p(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:t(),g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:n.activatorProps;d&&Zz(d,qr(D.value,g))}function t(){var i,M;let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:n.activator,g;if(d)if(d==="parent"){let v=(M=(i=e==null?void 0:e.proxy)==null?void 0:i.$el)==null?void 0:M.parentNode;for(;v!=null&&v.hasAttribute("data-no-activator");)v=v.parentNode;g=v}else typeof d=="string"?g=document.querySelector(d):"$el"in d?g=d.$el:g=d;return C.value=(g==null?void 0:g.nodeType)===Node.ELEMENT_NODE?g:null,C.value}}function IA(){if(!to)return Wr(!1);const{ssr:n}=ep();if(n){const e=Wr(!1);return Ks(()=>{e.value=!0}),e}else return Wr(!0)}const o1=ur({eager:Boolean},"lazy");function __(n,e){const r=Wr(!1),C=cn(()=>r.value||n.eager||e.value);$r(e,()=>r.value=!0);function D(){n.eager||(r.value=!1)}return{isBooted:r,hasContent:C,onAfterLeave:D}}function E0(){const e=Ss("useScopeId").vnode.scopeId;return{scopeId:e?{[e]:""}:void 0}}const iT=Symbol.for("vuetify:stack"),am=yl([]);function nV(n,e,r){const C=Ss("useStack"),D=!r,T=ka(iT,void 0),p=yl({activeChildren:new Set});ts(iT,p);const t=Wr(+e.value);$f(n,()=>{var M;const i=(M=am.at(-1))==null?void 0:M[1];t.value=i?i+10:+e.value,D&&am.push([C.uid,t.value]),T==null||T.activeChildren.add(C.uid),wl(()=>{if(D){const v=wi(am).findIndex(f=>f[0]===C.uid);am.splice(v,1)}T==null||T.activeChildren.delete(C.uid)})});const d=Wr(!0);D&&wu(()=>{var M;const i=((M=am.at(-1))==null?void 0:M[0])===C.uid;setTimeout(()=>d.value=i)});const g=cn(()=>!p.activeChildren.size);return{globalTop:Hm(d),localTop:g,stackStyles:cn(()=>({zIndex:t.value}))}}function rV(n){return{teleportTarget:cn(()=>{const r=n.value;if(r===!0||!to)return;const C=r===!1?document.body:typeof r=="string"?document.querySelector(r):r;if(C==null)return;let D=C.querySelector(":scope > .v-overlay-container");return D||(D=document.createElement("div"),D.className="v-overlay-container",C.appendChild(D)),D})}}function iV(){return!0}function RA(n,e,r){if(!n||PA(n,r)===!1)return!1;const C=S6(e);if(typeof ShadowRoot<"u"&&C instanceof ShadowRoot&&C.host===n.target)return!1;const D=(typeof r.value=="object"&&r.value.include||(()=>[]))();return D.push(e),!D.some(T=>T==null?void 0:T.contains(n.target))}function PA(n,e){return(typeof e.value=="object"&&e.value.closeConditional||iV)(n)}function aV(n,e,r){const C=typeof r.value=="function"?r.value:r.value.handler;e._clickOutside.lastMousedownWasOutside&&RA(n,e,r)&&setTimeout(()=>{PA(n,r)&&C&&C(n)},0)}function aT(n,e){const r=S6(n);e(document),typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&e(r)}const OA={mounted(n,e){const r=D=>aV(D,n,e),C=D=>{n._clickOutside.lastMousedownWasOutside=RA(D,n,e)};aT(n,D=>{D.addEventListener("click",r,!0),D.addEventListener("mousedown",C,!0)}),n._clickOutside||(n._clickOutside={lastMousedownWasOutside:!1}),n._clickOutside[e.instance.$.uid]={onClick:r,onMousedown:C}},unmounted(n,e){n._clickOutside&&(aT(n,r=>{var T;if(!r||!((T=n._clickOutside)!=null&&T[e.instance.$.uid]))return;const{onClick:C,onMousedown:D}=n._clickOutside[e.instance.$.uid];r.removeEventListener("click",C,!0),r.removeEventListener("mousedown",D,!0)}),delete n._clickOutside[e.instance.$.uid])}};function oV(n){const{modelValue:e,color:r,...C}=n;return gt(bh,{name:"fade-transition",appear:!0},{default:()=>[n.modelValue&>("div",qr({class:["v-overlay__scrim",n.color.backgroundColorClasses.value],style:n.color.backgroundColorStyles.value},C),null)]})}const cg=ur({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...QN(),...Zr(),...sc(),...o1(),...UN(),...$N(),...oa(),...df()},"VOverlay"),of=Ar()({name:"VOverlay",directives:{ClickOutside:OA},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...cg()},emits:{"click:outside":n=>!0,"update:modelValue":n=>!0,afterLeave:()=>!0},setup(n,e){let{slots:r,attrs:C,emit:D}=e;const T=xi(n,"modelValue"),p=cn({get:()=>T.value,set:z=>{z&&n.disabled||(T.value=z)}}),{teleportTarget:t}=rV(cn(()=>n.attach||n.contained)),{themeClasses:d}=Ma(n),{rtlClasses:g,isRtl:i}=Cs(),{hasContent:M,onAfterLeave:v}=__(n,p),f=Oo(cn(()=>typeof n.scrim=="string"?n.scrim:null)),{globalTop:l,localTop:a,stackStyles:u}=nV(p,Cr(n,"zIndex"),n._disableGlobalStack),{activatorEl:o,activatorRef:s,activatorEvents:c,contentEvents:h,scrimEvents:m}=eV(n,{isActive:p,isTop:a}),{dimensionStyles:w}=lc(n),y=IA(),{scopeId:S}=E0();$r(()=>n.disabled,z=>{z&&(p.value=!1)});const _=Vr(),k=Vr(),{contentStyles:E,updateLocation:x}=HN(n,{isRtl:i,contentEl:k,activatorEl:o,isActive:p});ZN(n,{root:_,contentEl:k,activatorEl:o,isActive:p,updateLocation:x});function A(z){D("click:outside",z),n.persistent?O():p.value=!1}function L(){return p.value&&l.value}to&&$r(p,z=>{z?window.addEventListener("keydown",b):window.removeEventListener("keydown",b)},{immediate:!0});function b(z){var F,B;z.key==="Escape"&&l.value&&(n.persistent?O():(p.value=!1,(F=k.value)!=null&&F.contains(document.activeElement)&&((B=o.value)==null||B.focus())))}const R=$6();$f(()=>n.closeOnBack,()=>{YB(R,z=>{l.value&&p.value?(z(!1),n.persistent?O():p.value=!1):z()})});const I=Vr();$r(()=>p.value&&(n.absolute||n.contained)&&t.value==null,z=>{if(z){const F=t_(_.value);F&&F!==document.scrollingElement&&(I.value=F.scrollTop)}});function O(){n.noClickAnimation||k.value&&Dd(k.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:zm})}return Or(()=>{var z;return gt(Yr,null,[(z=r.activator)==null?void 0:z.call(r,{isActive:p.value,props:qr({ref:s},c.value,n.activatorProps)}),y.value&&M.value&>(BE,{disabled:!t.value,to:t.value},{default:()=>[gt("div",qr({class:["v-overlay",{"v-overlay--absolute":n.absolute||n.contained,"v-overlay--active":p.value,"v-overlay--contained":n.contained},d.value,g.value,n.class],style:[u.value,{top:Qr(I.value)},n.style],ref:_},S,C),[gt(oV,qr({color:f,modelValue:p.value&&!!n.scrim},m.value),null),gt(Oc,{appear:!0,persisted:!0,transition:n.transition,target:o.value,onAfterLeave:()=>{v(),D("afterLeave")}},{default:()=>{var F;return[Co(gt("div",qr({ref:k,class:["v-overlay__content",n.contentClass],style:[w.value,E.value]},h.value,n.contentProps),[(F=r.default)==null?void 0:F.call(r,{isActive:p})]),[[kh,p.value],[Tu("click-outside"),{handler:A,closeConditional:L,include:()=>[o.value]}]])]}})])]})])}),{activatorEl:o,animateClick:O,contentEl:k,globalTop:l,localTop:a,updateLocation:x}}}),wb=Symbol("Forwarded refs");function Tb(n,e){let r=n;for(;r;){const C=Reflect.getOwnPropertyDescriptor(r,e);if(C)return C;r=Object.getPrototypeOf(r)}}function Vc(n){for(var e=arguments.length,r=new Array(e>1?e-1:0),C=1;C!0},setup(n,e){let{slots:r}=e;const C=xi(n,"modelValue"),{scopeId:D}=E0(),T=Js(),p=cn(()=>n.id||`v-menu-${T}`),t=Vr(),d=ka(Ax,null),g=Wr(0);ts(Ax,{register(){++g.value},unregister(){--g.value},closeParents(){setTimeout(()=>{g.value||(C.value=!1,d==null||d.closeParents())},40)}});async function i(a){var s,c,h;const u=a.relatedTarget,o=a.target;await Ua(),C.value&&u!==o&&((s=t.value)!=null&&s.contentEl)&&((c=t.value)!=null&&c.globalTop)&&![document,t.value.contentEl].includes(o)&&!t.value.contentEl.contains(o)&&((h=Dm(t.value.contentEl)[0])==null||h.focus())}$r(C,a=>{a?(d==null||d.register(),document.addEventListener("focusin",i,{once:!0})):(d==null||d.unregister(),document.removeEventListener("focusin",i))});function M(){d==null||d.closeParents()}function v(a){var u,o,s;n.disabled||a.key==="Tab"&&(p6(Dm((u=t.value)==null?void 0:u.contentEl,!1),a.shiftKey?"prev":"next",h=>h.tabIndex>=0)||(C.value=!1,(s=(o=t.value)==null?void 0:o.activatorEl)==null||s.focus()))}function f(a){var o;if(n.disabled)return;const u=(o=t.value)==null?void 0:o.contentEl;u&&C.value?a.key==="ArrowDown"?(a.preventDefault(),uy(u,"next")):a.key==="ArrowUp"&&(a.preventDefault(),uy(u,"prev")):["ArrowDown","ArrowUp"].includes(a.key)&&(C.value=!0,a.preventDefault(),setTimeout(()=>setTimeout(()=>f(a))))}const l=cn(()=>qr({"aria-haspopup":"menu","aria-expanded":String(C.value),"aria-owns":p.value,onKeydown:f},n.activatorProps));return Or(()=>{const[a]=of.filterProps(n);return gt(of,qr({ref:t,class:["v-menu",n.class],style:n.style},a,{modelValue:C.value,"onUpdate:modelValue":u=>C.value=u,absolute:!0,activatorProps:l.value,"onClick:outside":M,onKeydown:v},D),{activator:r.activator,default:function(){for(var u=arguments.length,o=new Array(u),s=0;s{var c;return[(c=r.default)==null?void 0:c.call(r,...o)]}})}})}),Vc({id:p,ΨopenChildren:g},t)}});const lV=ur({active:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...Zr(),...df({transition:{component:l_}})},"VCounter"),l1=Ar()({name:"VCounter",functional:!0,props:lV(),setup(n,e){let{slots:r}=e;const C=cn(()=>n.max?`${n.value} / ${n.max}`:String(n.value));return Or(()=>gt(Oc,{transition:n.transition},{default:()=>[Co(gt("div",{class:["v-counter",n.class],style:n.style},[r.default?r.default({counter:C.value,max:n.max,value:n.value}):C.value]),[[kh,n.active]])]})),{}}});const uV=ur({floating:Boolean,...Zr()},"VFieldLabel"),um=Ar()({name:"VFieldLabel",props:uV(),setup(n,e){let{slots:r}=e;return Or(()=>gt(C0,{class:["v-field-label",{"v-field-label--floating":n.floating},n.class],style:n.style,"aria-hidden":n.floating||void 0},r)),{}}}),cV=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],u1=ur({appendInnerIcon:bi,bgColor:String,clearable:Boolean,clearIcon:{type:bi,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:bi,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:n=>cV.includes(n)},"onClick:clear":yh(),"onClick:appendInner":yh(),"onClick:prependInner":yh(),...Zr(),...m_(),...lo(),...oa()},"VField"),hg=Ar()({name:"VField",inheritAttrs:!1,props:{id:String,...r1(),...u1()},emits:{"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:C,slots:D}=e;const{themeClasses:T}=Ma(n),{loaderClasses:p}=t1(n),{focusClasses:t,isFocused:d,focus:g,blur:i}=rd(n),{InputIcon:M}=sA(n),{roundedClasses:v}=Eo(n),{rtlClasses:f}=Cs(),l=cn(()=>n.dirty||n.active),a=cn(()=>!n.singleLine&&!!(n.label||D.label)),u=Js(),o=cn(()=>n.id||`input-${u}`),s=cn(()=>`${o.value}-messages`),c=Vr(),h=Vr(),m=Vr(),w=cn(()=>["plain","underlined"].includes(n.variant)),{backgroundColorClasses:y,backgroundColorStyles:S}=Oo(Cr(n,"bgColor")),{textColorClasses:_,textColorStyles:k}=Xs(cn(()=>n.error||n.disabled?void 0:l.value&&d.value?n.color:n.baseColor));$r(l,A=>{if(a.value){const L=c.value.$el,b=h.value.$el;requestAnimationFrame(()=>{const R=J2(L),I=b.getBoundingClientRect(),O=I.x-R.x,z=I.y-R.y-(R.height/2-I.height/2),F=I.width/.75,B=Math.abs(F-R.width)>1?{maxWidth:Qr(F)}:void 0,N=getComputedStyle(L),W=getComputedStyle(b),j=parseFloat(N.transitionDuration)*1e3||150,$=parseFloat(W.getPropertyValue("--v-field-label-scale")),U=W.getPropertyValue("color");L.style.visibility="visible",b.style.visibility="hidden",Dd(L,{transform:`translate(${O}px, ${z}px) scale(${$})`,color:U,...B},{duration:j,easing:zm,direction:A?"normal":"reverse"}).finished.then(()=>{L.style.removeProperty("visibility"),b.style.removeProperty("visibility")})})}},{flush:"post"});const E=cn(()=>({isActive:l,isFocused:d,controlRef:m,blur:i,focus:g}));function x(A){A.target!==document.activeElement&&A.preventDefault()}return Or(()=>{var O,z,F;const A=n.variant==="outlined",L=D["prepend-inner"]||n.prependInnerIcon,b=!!(n.clearable||D.clear),R=!!(D["append-inner"]||n.appendInnerIcon||b),I=D.label?D.label({...E.value,label:n.label,props:{for:o.value}}):n.label;return gt("div",qr({class:["v-field",{"v-field--active":l.value,"v-field--appended":R,"v-field--center-affix":n.centerAffix??!w.value,"v-field--disabled":n.disabled,"v-field--dirty":n.dirty,"v-field--error":n.error,"v-field--flat":n.flat,"v-field--has-background":!!n.bgColor,"v-field--persistent-clear":n.persistentClear,"v-field--prepended":L,"v-field--reverse":n.reverse,"v-field--single-line":n.singleLine,"v-field--no-label":!I,[`v-field--variant-${n.variant}`]:!0},T.value,y.value,t.value,p.value,v.value,f.value,n.class],style:[S.value,n.style],onClick:x},r),[gt("div",{class:"v-field__overlay"},null),gt(g_,{name:"v-field",active:!!n.loading,color:n.error?"error":typeof n.loading=="string"?n.loading:n.color},{default:D.loader}),L&>("div",{key:"prepend",class:"v-field__prepend-inner"},[n.prependInnerIcon&>(M,{key:"prepend-icon",name:"prependInner"},null),(O=D["prepend-inner"])==null?void 0:O.call(D,E.value)]),gt("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(n.variant)&&a.value&>(um,{key:"floating-label",ref:h,class:[_.value],floating:!0,for:o.value,style:k.value},{default:()=>[I]}),gt(um,{ref:c,for:o.value},{default:()=>[I]}),(z=D.default)==null?void 0:z.call(D,{...E.value,props:{id:o.value,class:"v-field__input","aria-describedby":s.value},focus:g,blur:i})]),b&>(u_,{key:"clear"},{default:()=>[Co(gt("div",{class:"v-field__clearable",onMousedown:B=>{B.preventDefault(),B.stopPropagation()}},[D.clear?D.clear():gt(M,{name:"clear"},null)]),[[kh,n.dirty]])]}),R&>("div",{key:"append",class:"v-field__append-inner"},[(F=D["append-inner"])==null?void 0:F.call(D,E.value),n.appendInnerIcon&>(M,{key:"append-icon",name:"appendInner"},null)]),gt("div",{class:["v-field__outline",_.value],style:k.value},[A&>(Yr,null,[gt("div",{class:"v-field__outline__start"},null),a.value&>("div",{class:"v-field__outline__notch"},[gt(um,{ref:h,floating:!0,for:o.value},{default:()=>[I]})]),gt("div",{class:"v-field__outline__end"},null)]),w.value&&a.value&>(um,{ref:h,floating:!0,for:o.value},{default:()=>[I]})])])}),{controlRef:m}}});function w_(n){const e=Object.keys(hg.props).filter(r=>!Z2(r)&&r!=="class"&&r!=="style");return $d(n,e)}const hV=["color","file","time","date","datetime-local","week","month"],c1=ur({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object,...mf(),...u1()},"VTextField"),Kd=Ar()({name:"VTextField",directives:{Intersect:og},inheritAttrs:!1,props:c1(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:C,slots:D}=e;const T=xi(n,"modelValue"),{isFocused:p,focus:t,blur:d}=rd(n),g=cn(()=>typeof n.counterValue=="function"?n.counterValue(T.value):(T.value??"").toString().length),i=cn(()=>{if(r.maxlength)return r.maxlength;if(!(!n.counter||typeof n.counter!="number"&&typeof n.counter!="string"))return n.counter}),M=cn(()=>["plain","underlined"].includes(n.variant));function v(w,y){var S,_;!n.autofocus||!w||(_=(S=y[0].target)==null?void 0:S.focus)==null||_.call(S)}const f=Vr(),l=Vr(),a=Vr(),u=cn(()=>hV.includes(n.type)||n.persistentPlaceholder||p.value||n.active);function o(){var w;a.value!==document.activeElement&&((w=a.value)==null||w.focus()),p.value||t()}function s(w){C("mousedown:control",w),w.target!==a.value&&(o(),w.preventDefault())}function c(w){o(),C("click:control",w)}function h(w){w.stopPropagation(),o(),Ua(()=>{T.value=null,K2(n["onClick:clear"],w)})}function m(w){var S;const y=w.target;if(T.value=y.value,(S=n.modelModifiers)!=null&&S.trim&&["text","search","password","tel","url"].includes(n.type)){const _=[y.selectionStart,y.selectionEnd];Ua(()=>{y.selectionStart=_[0],y.selectionEnd=_[1]})}}return Or(()=>{const w=!!(D.counter||n.counter||n.counterValue),y=!!(w||D.details),[S,_]=Qd(r),[{modelValue:k,...E}]=Bs.filterProps(n),[x]=w_(n);return gt(Bs,qr({ref:f,modelValue:T.value,"onUpdate:modelValue":A=>T.value=A,class:["v-text-field",{"v-text-field--prefixed":n.prefix,"v-text-field--suffixed":n.suffix,"v-text-field--plain-underlined":["plain","underlined"].includes(n.variant)},n.class],style:n.style},S,E,{centerAffix:!M.value,focused:p.value}),{...D,default:A=>{let{id:L,isDisabled:b,isDirty:R,isReadonly:I,isValid:O}=A;return gt(hg,qr({ref:l,onMousedown:s,onClick:c,"onClick:clear":h,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"],role:n.role},x,{id:L.value,active:u.value||R.value,dirty:R.value||n.dirty,disabled:b.value,focused:p.value,error:O.value===!1}),{...D,default:z=>{let{props:{class:F,...B}}=z;const N=Co(gt("input",qr({ref:a,value:T.value,onInput:m,autofocus:n.autofocus,readonly:I.value,disabled:b.value,name:n.name,placeholder:n.placeholder,size:1,type:n.type,onFocus:o,onBlur:d},B,_),null),[[Tu("intersect"),{handler:v},null,{once:!0}]]);return gt(Yr,null,[n.prefix&>("span",{class:"v-text-field__prefix"},[gt("span",{class:"v-text-field__prefix__text"},[n.prefix])]),D.default?gt("div",{class:F,"data-no-activator":""},[D.default(),N]):tf(N,{class:F}),n.suffix&>("span",{class:"v-text-field__suffix"},[gt("span",{class:"v-text-field__suffix__text"},[n.suffix])])])}})},details:y?A=>{var L;return gt(Yr,null,[(L=D.details)==null?void 0:L.call(D,A),w&>(Yr,null,[gt("span",null,null),gt(l1,{active:n.persistentCounter||p.value,value:g.value,max:i.value},D.counter)])])}:void 0})}),Vc({},f,l,a)}});const fV=ur({renderless:Boolean,...Zr()},"VVirtualScrollItem"),dV=Ar()({name:"VVirtualScrollItem",inheritAttrs:!1,props:fV(),emits:{"update:height":n=>!0},setup(n,e){let{attrs:r,emit:C,slots:D}=e;const{resizeRef:T,contentRect:p}=Th(void 0,"border");$r(()=>{var t;return(t=p.value)==null?void 0:t.height},t=>{t!=null&&C("update:height",t)}),Or(()=>{var t,d;return n.renderless?gt(Yr,null,[(t=D.default)==null?void 0:t.call(D,{itemRef:T})]):gt("div",qr({ref:T,class:["v-virtual-scroll__item",n.class],style:n.style},r),[(d=D.default)==null?void 0:d.call(D)])})}}),oT=-1,sT=1,pV=ur({itemHeight:{type:[Number,String],default:48}},"virtual");function mV(n,e,r){const C=Wr(0),D=Wr(n.itemHeight),T=cn({get:()=>parseInt(D.value??0,10),set(y){D.value=y}}),p=Vr(),{resizeRef:t,contentRect:d}=Th();wu(()=>{t.value=p.value});const g=ep(),i=new Map;let M=Array.from({length:e.value.length});const v=cn(()=>{const y=(!d.value||p.value===document.documentElement?g.height.value:d.value.height)-((r==null?void 0:r.value)??0);return Math.ceil(y/T.value*1.7+1)});function f(y,S){T.value=Math.max(T.value,S),M[y]=S,i.set(e.value[y],S)}function l(y){return M.slice(0,y).reduce((S,_)=>S+(_||T.value),0)}function a(y){const S=e.value.length;let _=0,k=0;for(;k=A&&(C.value=Zs(x,0,e.value.length-v.value)),u=S}function s(y){if(!p.value)return;const S=l(y);p.value.scrollTop=S}const c=cn(()=>Math.min(e.value.length,C.value+v.value)),h=cn(()=>e.value.slice(C.value,c.value).map((y,S)=>({raw:y,index:S+C.value}))),m=cn(()=>l(C.value)),w=cn(()=>l(e.value.length)-l(c.value));return $r(()=>e.value.length,()=>{M=Kh(e.value.length).map(()=>T.value),i.forEach((y,S)=>{const _=e.value.indexOf(S);_===-1?i.delete(S):M[_]=y})}),{containerRef:p,computedItems:h,itemHeight:T,paddingTop:m,paddingBottom:w,scrollToIndex:s,handleScroll:o,handleItemResize:f}}const gV=ur({items:{type:Array,default:()=>[]},renderless:Boolean,...pV(),...Zr(),...sc()},"VVirtualScroll"),h1=Ar()({name:"VVirtualScroll",props:gV(),setup(n,e){let{slots:r}=e;const C=Ss("VVirtualScroll"),{dimensionStyles:D}=lc(n),{containerRef:T,handleScroll:p,handleItemResize:t,scrollToIndex:d,paddingTop:g,paddingBottom:i,computedItems:M}=mV(n,Cr(n,"items"));return $f(()=>n.renderless,()=>{Ks(()=>{var v;T.value=t_(C.vnode.el,!0),(v=T.value)==null||v.addEventListener("scroll",p)}),wl(()=>{var v;(v=T.value)==null||v.removeEventListener("scroll",p)})}),Or(()=>{const v=M.value.map(f=>gt(dV,{key:f.index,renderless:n.renderless,"onUpdate:height":l=>t(f.index,l)},{default:l=>{var a;return(a=r.default)==null?void 0:a.call(r,{item:f.raw,index:f.index,...l})}}));return n.renderless?gt(Yr,null,[gt("div",{class:"v-virtual-scroll__spacer",style:{paddingTop:Qr(g.value)}},null),v,gt("div",{class:"v-virtual-scroll__spacer",style:{paddingBottom:Qr(i.value)}},null)]):gt("div",{ref:T,class:["v-virtual-scroll",n.class],onScroll:p,style:[D.value,n.style]},[gt("div",{class:"v-virtual-scroll__container",style:{paddingTop:Qr(g.value),paddingBottom:Qr(i.value)}},[v])])}),{scrollToIndex:d}}});function T_(n,e){const r=Wr(!1);let C;function D(t){cancelAnimationFrame(C),r.value=!0,C=requestAnimationFrame(()=>{C=requestAnimationFrame(()=>{r.value=!1})})}async function T(){await new Promise(t=>requestAnimationFrame(t)),await new Promise(t=>requestAnimationFrame(t)),await new Promise(t=>requestAnimationFrame(t)),await new Promise(t=>{if(r.value){const d=$r(r,()=>{d(),t()})}else t()})}async function p(t){var i,M;if(t.key==="Tab"&&((i=e.value)==null||i.focus()),!["PageDown","PageUp","Home","End"].includes(t.key))return;const d=(M=n.value)==null?void 0:M.$el;if(!d)return;(t.key==="Home"||t.key==="End")&&d.scrollTo({top:t.key==="Home"?0:d.scrollHeight,behavior:"smooth"}),await T();const g=d.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");if(t.key==="PageDown"||t.key==="Home"){const v=d.getBoundingClientRect().top;for(const f of g)if(f.getBoundingClientRect().top>=v){f.focus();break}}else{const v=d.getBoundingClientRect().bottom;for(const f of[...g].reverse())if(f.getBoundingClientRect().bottom<=v){f.focus();break}}}return{onListScroll:D,onListKeydown:p}}const k_=ur({chips:Boolean,closableChips:Boolean,closeText:{type:String,default:"$vuetify.close"},openText:{type:String,default:"$vuetify.open"},eager:Boolean,hideNoData:Boolean,hideSelected:Boolean,menu:Boolean,menuIcon:{type:bi,default:"$dropdown"},menuProps:{type:Object},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,itemColor:String,...kA({itemChildren:!1})},"Select"),vV=ur({...k_(),...ic(c1({modelValue:null,role:"button"}),["validationValue","dirty","appendInnerIcon"]),...df({transition:{component:Qy}})},"VSelect"),yV=Ar()({name:"VSelect",props:vV(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,"update:menu":n=>!0},setup(n,e){let{slots:r}=e;const{t:C}=oc(),D=Vr(),T=Vr(),p=Vr(),t=xi(n,"menu"),d=cn({get:()=>t.value,set:R=>{var I;t.value&&!R&&((I=T.value)!=null&&I.ΨopenChildren)||(t.value=R)}}),{items:g,transformIn:i,transformOut:M}=x_(n),v=xi(n,"modelValue",[],R=>i(R===null?[null]:bu(R)),R=>{const I=M(R);return n.multiple?I:I[0]??null}),f=i1(),l=cn(()=>v.value.map(R=>R.value)),a=Wr(!1),u=cn(()=>d.value?n.closeText:n.openText);let o="",s;const c=cn(()=>n.hideSelected?g.value.filter(R=>!v.value.some(I=>I===R)):g.value),h=cn(()=>n.hideNoData&&!g.value.length||n.readonly||(f==null?void 0:f.isReadonly.value)),m=Vr(),{onListScroll:w,onListKeydown:y}=T_(m,D);function S(R){n.openOnClear&&(d.value=!0)}function _(){h.value||(d.value=!d.value)}function k(R){var B,N;if(!R.key||n.readonly||f!=null&&f.isReadonly.value)return;["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(R.key)&&R.preventDefault(),["Enter","ArrowDown"," "].includes(R.key)&&(d.value=!0),["Escape","Tab"].includes(R.key)&&(d.value=!1),R.key==="Home"?(B=m.value)==null||B.focus("first"):R.key==="End"&&((N=m.value)==null||N.focus("last"));const I=1e3;function O(W){const j=W.key.length===1,$=!W.ctrlKey&&!W.metaKey&&!W.altKey;return j&&$}if(n.multiple||!O(R))return;const z=performance.now();z-s>I&&(o=""),o+=R.key.toLowerCase(),s=z;const F=g.value.find(W=>W.title.toLowerCase().startsWith(o));F!==void 0&&(v.value=[F])}function E(R){if(n.multiple){const I=v.value.findIndex(O=>n.valueComparator(O.value,R.value));if(I===-1)v.value=[...v.value,R];else{const O=[...v.value];O.splice(I,1),v.value=O}}else v.value=[R],d.value=!1}function x(R){var I;(I=m.value)!=null&&I.$el.contains(R.relatedTarget)||(d.value=!1)}function A(){var R;a.value&&((R=D.value)==null||R.focus())}function L(R){a.value=!0}function b(R){if(R==null)v.value=[];else if(l0(D.value,":autofill")||l0(D.value,":-webkit-autofill")){const I=g.value.find(O=>O.title===R);I&&E(I)}else D.value&&(D.value.value="")}return $r(d,()=>{if(!n.hideSelected&&d.value&&v.value.length){const R=c.value.findIndex(I=>v.value.some(O=>n.valueComparator(O.value,I.value)));to&&window.requestAnimationFrame(()=>{var I;R>=0&&((I=p.value)==null||I.scrollToIndex(R))})}}),Or(()=>{const R=!!(n.chips||r.chip),I=!!(!n.hideNoData||c.value.length||r["prepend-item"]||r["append-item"]||r["no-data"]),O=v.value.length>0,[z]=Kd.filterProps(n),F=O||!a.value&&n.label&&!n.persistentPlaceholder?void 0:n.placeholder;return gt(Kd,qr({ref:D},z,{modelValue:v.value.map(B=>B.props.value).join(", "),"onUpdate:modelValue":b,focused:a.value,"onUpdate:focused":B=>a.value=B,validationValue:v.externalValue,dirty:O,class:["v-select",{"v-select--active-menu":d.value,"v-select--chips":!!n.chips,[`v-select--${n.multiple?"multiple":"single"}`]:!0,"v-select--selected":v.value.length,"v-select--selection-slot":!!r.selection},n.class],style:n.style,inputmode:"none",placeholder:F,"onClick:clear":S,"onMousedown:control":_,onBlur:x,onKeydown:k,"aria-label":C(u.value),title:C(u.value)}),{...r,default:()=>gt(Yr,null,[gt(s1,qr({ref:T,modelValue:d.value,"onUpdate:modelValue":B=>d.value=B,activator:"parent",contentClass:"v-select__content",disabled:h.value,eager:n.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:n.transition,onAfterLeave:A},n.menuProps),{default:()=>[I&>(a1,{ref:m,selected:l.value,selectStrategy:n.multiple?"independent":"single-independent",onMousedown:B=>B.preventDefault(),onKeydown:y,onFocusin:L,onScrollPassive:w,tabindex:"-1",color:n.itemColor??n.color},{default:()=>{var B,N,W;return[(B=r["prepend-item"])==null?void 0:B.call(r),!c.value.length&&!n.hideNoData&&(((N=r["no-data"])==null?void 0:N.call(r))??gt(af,{title:C(n.noDataText)},null)),gt(h1,{ref:p,renderless:!0,items:c.value},{default:j=>{var H;let{item:$,index:U,itemRef:G}=j;const q=qr($.props,{ref:G,key:U,onClick:()=>E($)});return((H=r.item)==null?void 0:H.call(r,{item:$,index:U,props:q}))??gt(af,q,{prepend:ne=>{let{isSelected:te}=ne;return gt(Yr,null,[n.multiple&&!n.hideSelected?gt(h0,{key:$.value,modelValue:te,ripple:!1,tabindex:"-1"},null):void 0,$.props.prependIcon&>(ja,{icon:$.props.prependIcon},null)])}})}}),(W=r["append-item"])==null?void 0:W.call(r)]}})]}),v.value.map((B,N)=>{var $;function W(U){U.stopPropagation(),U.preventDefault(),E(B)}const j={"onClick:close":W,onMousedown(U){U.preventDefault(),U.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return gt("div",{key:B.value,class:"v-select__selection"},[R?r.chip?gt(Fa,{key:"chip-defaults",defaults:{VChip:{closable:n.closableChips,size:"small",text:B.title}}},{default:()=>{var U;return[(U=r.chip)==null?void 0:U.call(r,{item:B,index:N,props:j})]}}):gt(ug,qr({key:"chip",closable:n.closableChips,size:"small",text:B.title},j),null):(($=r.selection)==null?void 0:$.call(r,{item:B,index:N}))??gt("span",{class:"v-select__selection-text"},[B.title,n.multiple&&Nn==null||e==null?-1:n.toString().toLocaleLowerCase().indexOf(e.toString().toLocaleLowerCase()),DA=ur({customFilter:Function,customKeyFilter:Object,filterKeys:[Array,String],filterMode:{type:String,default:"intersection"},noFilter:Boolean},"filter");function xV(n,e,r){var t;const C=[],D=(r==null?void 0:r.default)??bV,T=r!=null&&r.filterKeys?bu(r.filterKeys):!1,p=Object.keys((r==null?void 0:r.customKeyFilter)??{}).length;if(!(n!=null&&n.length))return C;e:for(let d=0;dC!=null&&C.transform?yu(e).map(d=>[d,C.transform(d)]):yu(e));wu(()=>{const d=typeof r=="function"?r():yu(r),g=typeof d!="string"&&typeof d!="number"?"":String(d),i=xV(p.value,g,{customKeyFilter:n.customKeyFilter,default:n.customFilter,filterKeys:n.filterKeys,filterMode:n.filterMode,noFilter:n.noFilter}),M=yu(e),v=[],f=new Map;i.forEach(l=>{let{index:a,matches:u}=l;const o=M[a];v.push(o),f.set(o.value,u)}),D.value=v,T.value=f});function t(d){return T.value.get(d.value)}return{filteredItems:D,filteredMatches:T,getMatches:t}}function _V(n,e,r){if(e==null)return n;if(Array.isArray(e))throw new Error("Multiple matches is not implemented");return typeof e=="number"&&~e?gt(Yr,null,[gt("span",{class:"v-autocomplete__unmask"},[n.substr(0,e)]),gt("span",{class:"v-autocomplete__mask"},[n.substr(e,r)]),gt("span",{class:"v-autocomplete__unmask"},[n.substr(e+r)])]):n}const wV=ur({autoSelectFirst:{type:[Boolean,String]},search:String,...DA({filterKeys:["title"]}),...k_(),...ic(c1({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...df({transition:!1})},"VAutocomplete"),TV=Ar()({name:"VAutocomplete",props:wV(),emits:{"update:focused":n=>!0,"update:search":n=>!0,"update:modelValue":n=>!0,"update:menu":n=>!0},setup(n,e){let{slots:r}=e;const{t:C}=oc(),D=Vr(),T=Wr(!1),p=Wr(!0),t=Wr(!1),d=Vr(),g=Vr(),i=xi(n,"menu"),M=cn({get:()=>i.value,set:q=>{var H;i.value&&!q&&((H=d.value)!=null&&H.ΨopenChildren)||(i.value=q)}}),v=Wr(-1),f=cn(()=>{var q;return(q=D.value)==null?void 0:q.color}),l=cn(()=>M.value?n.closeText:n.openText),{items:a,transformIn:u,transformOut:o}=x_(n),{textColorClasses:s,textColorStyles:c}=Xs(f),h=xi(n,"search",""),m=xi(n,"modelValue",[],q=>u(q===null?[null]:bu(q)),q=>{const H=o(q);return n.multiple?H:H[0]??null}),w=i1(),{filteredItems:y,getMatches:S}=zA(n,a,()=>p.value?"":h.value),_=cn(()=>n.hideSelected?y.value.filter(q=>!m.value.some(H=>H.value===q.value)):y.value),k=cn(()=>m.value.map(q=>q.props.value)),E=cn(()=>{var H;return(n.autoSelectFirst===!0||n.autoSelectFirst==="exact"&&h.value===((H=_.value[0])==null?void 0:H.title))&&_.value.length>0&&!p.value&&!t.value}),x=cn(()=>n.hideNoData&&!a.value.length||n.readonly||(w==null?void 0:w.isReadonly.value)),A=Vr(),{onListScroll:L,onListKeydown:b}=T_(A,D);function R(q){n.openOnClear&&(M.value=!0),h.value=""}function I(){x.value||(M.value=!0)}function O(q){x.value||(T.value&&(q.preventDefault(),q.stopPropagation()),M.value=!M.value)}function z(q){var te,Z,X;if(n.readonly||w!=null&&w.isReadonly.value)return;const H=D.value.selectionStart,ne=m.value.length;if((v.value>-1||["Enter","ArrowDown","ArrowUp"].includes(q.key))&&q.preventDefault(),["Enter","ArrowDown"].includes(q.key)&&(M.value=!0),["Escape"].includes(q.key)&&(M.value=!1),E.value&&["Enter","Tab"].includes(q.key)&&G(_.value[0]),q.key==="ArrowDown"&&E.value&&((te=A.value)==null||te.focus("next")),!!n.multiple){if(["Backspace","Delete"].includes(q.key)){if(v.value<0){q.key==="Backspace"&&!h.value&&(v.value=ne-1);return}const Q=v.value,re=m.value[v.value];re&&G(re),v.value=Q>=ne-1?ne-2:Q}if(q.key==="ArrowLeft"){if(v.value<0&&H>0)return;const Q=v.value>-1?v.value-1:ne-1;m.value[Q]?v.value=Q:(v.value=-1,D.value.setSelectionRange((Z=h.value)==null?void 0:Z.length,(X=h.value)==null?void 0:X.length))}if(q.key==="ArrowRight"){if(v.value<0)return;const Q=v.value+1;m.value[Q]?v.value=Q:(v.value=-1,D.value.setSelectionRange(0,0))}}}function F(q){h.value=q.target.value}function B(q){if(l0(D.value,":autofill")||l0(D.value,":-webkit-autofill")){const H=a.value.find(ne=>ne.title===q.target.value);H&&G(H)}}function N(){var q;T.value&&(p.value=!0,(q=D.value)==null||q.focus())}function W(q){T.value=!0,setTimeout(()=>{t.value=!0})}function j(q){t.value=!1}function $(q){(q==null||q===""&&!n.multiple)&&(m.value=[])}const U=Wr(!1);function G(q){if(n.multiple){const H=m.value.findIndex(ne=>n.valueComparator(ne.value,q.value));if(H===-1)m.value=[...m.value,q];else{const ne=[...m.value];ne.splice(H,1),m.value=ne}}else m.value=[q],U.value=!0,h.value=q.title,M.value=!1,p.value=!0,Ua(()=>U.value=!1)}return $r(T,(q,H)=>{var ne;q!==H&&(q?(U.value=!0,h.value=n.multiple?"":String(((ne=m.value.at(-1))==null?void 0:ne.props.title)??""),p.value=!0,Ua(()=>U.value=!1)):(!n.multiple&&!h.value?m.value=[]:E.value&&!t.value&&!m.value.some(te=>{let{value:Z}=te;return Z===_.value[0].value})&&G(_.value[0]),M.value=!1,h.value="",v.value=-1))}),$r(h,q=>{!T.value||U.value||(q&&(M.value=!0),p.value=!q)}),$r(M,()=>{if(!n.hideSelected&&M.value&&m.value.length){const q=_.value.findIndex(H=>m.value.some(ne=>H.value===ne.value));to&&window.requestAnimationFrame(()=>{var H;q>=0&&((H=g.value)==null||H.scrollToIndex(q))})}}),Or(()=>{const q=!!(n.chips||r.chip),H=!!(!n.hideNoData||_.value.length||r["prepend-item"]||r["append-item"]||r["no-data"]),ne=m.value.length>0,[te]=Kd.filterProps(n);return gt(Kd,qr({ref:D},te,{modelValue:h.value,"onUpdate:modelValue":$,focused:T.value,"onUpdate:focused":Z=>T.value=Z,validationValue:m.externalValue,dirty:ne,onInput:F,onChange:B,class:["v-autocomplete",`v-autocomplete--${n.multiple?"multiple":"single"}`,{"v-autocomplete--active-menu":M.value,"v-autocomplete--chips":!!n.chips,"v-autocomplete--selection-slot":!!r.selection,"v-autocomplete--selecting-index":v.value>-1},n.class],style:n.style,readonly:n.readonly,placeholder:ne?void 0:n.placeholder,"onClick:clear":R,"onMousedown:control":I,onKeydown:z}),{...r,default:()=>gt(Yr,null,[gt(s1,qr({ref:d,modelValue:M.value,"onUpdate:modelValue":Z=>M.value=Z,activator:"parent",contentClass:"v-autocomplete__content",disabled:x.value,eager:n.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:n.transition,onAfterLeave:N},n.menuProps),{default:()=>[H&>(a1,{ref:A,selected:k.value,selectStrategy:n.multiple?"independent":"single-independent",onMousedown:Z=>Z.preventDefault(),onKeydown:b,onFocusin:W,onFocusout:j,onScrollPassive:L,tabindex:"-1",color:n.itemColor??n.color},{default:()=>{var Z,X,Q;return[(Z=r["prepend-item"])==null?void 0:Z.call(r),!_.value.length&&!n.hideNoData&&(((X=r["no-data"])==null?void 0:X.call(r))??gt(af,{title:C(n.noDataText)},null)),gt(h1,{ref:g,renderless:!0,items:_.value},{default:re=>{var ye;let{item:ie,index:oe,itemRef:ue}=re;const ce=qr(ie.props,{ref:ue,key:oe,active:E.value&&oe===0?!0:void 0,onClick:()=>G(ie)});return((ye=r.item)==null?void 0:ye.call(r,{item:ie,index:oe,props:ce}))??gt(af,ce,{prepend:de=>{let{isSelected:me}=de;return gt(Yr,null,[n.multiple&&!n.hideSelected?gt(h0,{key:ie.value,modelValue:me,ripple:!1,tabindex:"-1"},null):void 0,ie.props.prependIcon&>(ja,{icon:ie.props.prependIcon},null)])},title:()=>{var de,me;return p.value?ie.title:_V(ie.title,(de=S(ie))==null?void 0:de.title,((me=h.value)==null?void 0:me.length)??0)}})}}),(Q=r["append-item"])==null?void 0:Q.call(r)]}})]}),m.value.map((Z,X)=>{var ie;function Q(oe){oe.stopPropagation(),oe.preventDefault(),G(Z)}const re={"onClick:close":Q,onMousedown(oe){oe.preventDefault(),oe.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return gt("div",{key:Z.value,class:["v-autocomplete__selection",X===v.value&&["v-autocomplete__selection--selected",s.value]],style:X===v.value?c.value:{}},[q?r.chip?gt(Fa,{key:"chip-defaults",defaults:{VChip:{closable:n.closableChips,size:"small",text:Z.title}}},{default:()=>{var oe;return[(oe=r.chip)==null?void 0:oe.call(r,{item:Z,index:X,props:re})]}}):gt(ug,qr({key:"chip",closable:n.closableChips,size:"small",text:Z.title},re),null):((ie=r.selection)==null?void 0:ie.call(r,{item:Z,index:X}))??gt("span",{class:"v-autocomplete__selection-text"},[Z.title,n.multiple&&X(n.floating?n.dot?2:4:n.dot?8:12)+(["top","bottom"].includes(i)?+(n.offsetY??0):["left","right"].includes(i)?+(n.offsetX??0):0));return Or(()=>{const i=Number(n.content),M=!n.max||isNaN(i)?n.content:i<=+n.max?i:`${n.max}+`,[v,f]=$d(e.attrs,["aria-atomic","aria-label","aria-live","role","title"]);return gt(n.tag,qr({class:["v-badge",{"v-badge--bordered":n.bordered,"v-badge--dot":n.dot,"v-badge--floating":n.floating,"v-badge--inline":n.inline},n.class]},f,{style:n.style}),{default:()=>{var l,a;return[gt("div",{class:"v-badge__wrapper"},[(a=(l=e.slots).default)==null?void 0:a.call(l),gt(Oc,{transition:n.transition},{default:()=>{var u,o;return[Co(gt("span",qr({class:["v-badge__badge",d.value,r.value,D.value,p.value],style:[C.value,t.value,n.inline?{}:g.value],"aria-atomic":"true","aria-label":T(n.label,i),"aria-live":"polite",role:"status"},v),[n.dot?void 0:e.slots.badge?(o=(u=e.slots).badge)==null?void 0:o.call(u):n.icon?gt(ja,{icon:n.icon},null):M]),[[kh,n.modelValue]])]}})])]}})}),{}}});const AV=ur({color:String,density:String,...Zr()},"VBannerActions"),FA=Ar()({name:"VBannerActions",props:AV(),setup(n,e){let{slots:r}=e;return es({VBtn:{color:n.color,density:n.density,variant:"text"}}),Or(()=>{var C;return gt("div",{class:["v-banner-actions",n.class],style:n.style},[(C=r.default)==null?void 0:C.call(r)])}),{}}}),BA=Nc("v-banner-text"),SV=ur({avatar:String,color:String,icon:bi,lines:String,stacked:Boolean,sticky:Boolean,text:String,...Su(),...Zr(),...ds(),...sc(),...fs(),...ed(),...A0(),...lo(),...Si(),...oa()},"VBanner"),CV=Ar()({name:"VBanner",props:SV(),setup(n,e){let{slots:r}=e;const{borderClasses:C}=uc(n),{densityClasses:D}=Qs(n),{mobile:T}=ep(),{dimensionStyles:p}=lc(n),{elevationClasses:t}=Vs(n),{locationStyles:d}=td(n),{positionClasses:g}=S0(n),{roundedClasses:i}=Eo(n),{themeClasses:M}=Ma(n),v=Cr(n,"color"),f=Cr(n,"density");es({VBannerActions:{color:v,density:f}}),Or(()=>{const l=!!(n.text||r.text),a=!!(n.avatar||n.icon),u=!!(a||r.prepend);return gt(n.tag,{class:["v-banner",{"v-banner--stacked":n.stacked||T.value,"v-banner--sticky":n.sticky,[`v-banner--${n.lines}-line`]:!!n.lines},C.value,D.value,t.value,g.value,i.value,M.value,n.class],style:[p.value,d.value,n.style],role:"banner"},{default:()=>{var o;return[u&>("div",{key:"prepend",class:"v-banner__prepend"},[r.prepend?gt(Fa,{key:"prepend-defaults",disabled:!a,defaults:{VAvatar:{color:v.value,density:f.value,icon:n.icon,image:n.avatar}}},r.prepend):gt(Zf,{key:"prepend-avatar",color:v.value,density:f.value,icon:n.icon,image:n.avatar},null)]),gt("div",{class:"v-banner__content"},[l&>(BA,{key:"text"},{default:()=>{var s;return[((s=r.text)==null?void 0:s.call(r))??n.text]}}),(o=r.default)==null?void 0:o.call(r)]),r.actions&>(FA,{key:"actions"},r.actions)]}})})}});const EV=ur({bgColor:String,color:String,grow:Boolean,mode:{type:String,validator:n=>!n||["horizontal","shift"].includes(n)},height:{type:[Number,String],default:56},active:{type:Boolean,default:!0},...Su(),...Zr(),...ds(),...fs(),...lo(),...x0({name:"bottom-navigation"}),...Si({tag:"header"}),...w0({modelValue:!0,selectedClass:"v-btn--selected"}),...oa()},"VBottomNavigation"),LV=Ar()({name:"VBottomNavigation",props:EV(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:C}=R6(),{borderClasses:D}=uc(n),{backgroundColorClasses:T,backgroundColorStyles:p}=Oo(Cr(n,"bgColor")),{densityClasses:t}=Qs(n),{elevationClasses:d}=Vs(n),{roundedClasses:g}=Eo(n),{ssrBootStyles:i}=tp(),M=cn(()=>Number(n.height)-(n.density==="comfortable"?8:0)-(n.density==="compact"?16:0)),v=Cr(n,"active"),{layoutItemStyles:f}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:cn(()=>"bottom"),layoutSize:cn(()=>v.value?M.value:0),elementSize:M,active:v,absolute:Cr(n,"absolute")});return ip(n,h_),es({VBtn:{color:Cr(n,"color"),density:Cr(n,"density"),stacked:cn(()=>n.mode!=="horizontal"),variant:"text"}},{scoped:!0}),Or(()=>gt(n.tag,{class:["v-bottom-navigation",{"v-bottom-navigation--active":v.value,"v-bottom-navigation--grow":n.grow,"v-bottom-navigation--shift":n.mode==="shift"},C.value,T.value,D.value,t.value,d.value,g.value,n.class],style:[p.value,f.value,{height:Qr(M.value),transform:`translateY(${Qr(v.value?0:100,"%")})`},i.value,n.style]},{default:()=>[r.default&>("div",{class:"v-bottom-navigation__content"},[r.default()])]})),{}}});const IV=ur({divider:[Number,String],...Zr()},"VBreadcrumbsDivider"),NA=Ar()({name:"VBreadcrumbsDivider",props:IV(),setup(n,e){let{slots:r}=e;return Or(()=>{var C;return gt("li",{class:["v-breadcrumbs-divider",n.class],style:n.style},[((C=r==null?void 0:r.default)==null?void 0:C.call(r))??n.divider])}),{}}}),RV=ur({active:Boolean,activeClass:String,activeColor:String,color:String,disabled:Boolean,title:String,...Zr(),...lg(),...Si({tag:"li"})},"VBreadcrumbsItem"),VA=Ar()({name:"VBreadcrumbsItem",props:RV(),setup(n,e){let{slots:r,attrs:C}=e;const D=sg(n,C),T=cn(()=>{var g;return n.active||((g=D.isActive)==null?void 0:g.value)}),p=cn(()=>T.value?n.activeColor:n.color),{textColorClasses:t,textColorStyles:d}=Xs(p);return Or(()=>gt(n.tag,{class:["v-breadcrumbs-item",{"v-breadcrumbs-item--active":T.value,"v-breadcrumbs-item--disabled":n.disabled,[`${n.activeClass}`]:T.value&&n.activeClass},t.value,n.class],style:[d.value,n.style],"aria-current":T.value?"page":void 0},{default:()=>{var g,i;return[D.isLink.value?gt("a",{class:"v-breadcrumbs-item--link",href:D.href.value,"aria-current":T.value?"page":void 0,onClick:D.navigate},[((i=r.default)==null?void 0:i.call(r))??n.title]):((g=r.default)==null?void 0:g.call(r))??n.title]}})),{}}}),PV=ur({activeClass:String,activeColor:String,bgColor:String,color:String,disabled:Boolean,divider:{type:String,default:"/"},icon:bi,items:{type:Array,default:()=>[]},...Zr(),...ds(),...lo(),...Si({tag:"ul"})},"VBreadcrumbs"),OV=Ar()({name:"VBreadcrumbs",props:PV(),setup(n,e){let{slots:r}=e;const{backgroundColorClasses:C,backgroundColorStyles:D}=Oo(Cr(n,"bgColor")),{densityClasses:T}=Qs(n),{roundedClasses:p}=Eo(n);es({VBreadcrumbsDivider:{divider:Cr(n,"divider")},VBreadcrumbsItem:{activeClass:Cr(n,"activeClass"),activeColor:Cr(n,"activeColor"),color:Cr(n,"color"),disabled:Cr(n,"disabled")}});const t=cn(()=>n.items.map(d=>typeof d=="string"?{item:{title:d},raw:d}:{item:d,raw:d}));return Or(()=>{const d=!!(r.prepend||n.icon);return gt(n.tag,{class:["v-breadcrumbs",C.value,T.value,p.value,n.class],style:[D.value,n.style]},{default:()=>{var g;return[d&>("li",{key:"prepend",class:"v-breadcrumbs__prepend"},[r.prepend?gt(Fa,{key:"prepend-defaults",disabled:!n.icon,defaults:{VIcon:{icon:n.icon,start:!0}}},r.prepend):gt(ja,{key:"prepend-icon",start:!0,icon:n.icon},null)]),t.value.map((i,M,v)=>{let{item:f,raw:l}=i;return gt(Yr,null,[gt(VA,qr({key:f.title,disabled:M>=v.length-1},f),{default:r.title?()=>{var a;return(a=r.title)==null?void 0:a.call(r,{item:l,index:M})}:void 0}),M{var a;return(a=r.divider)==null?void 0:a.call(r,{item:l,index:M})}:void 0})])}),(g=r.default)==null?void 0:g.call(r)]}})}),{}}});const jA=Ar()({name:"VCardActions",props:Zr(),setup(n,e){let{slots:r}=e;return es({VBtn:{variant:"text"}}),Or(()=>{var C;return gt("div",{class:["v-card-actions",n.class],style:n.style},[(C=r.default)==null?void 0:C.call(r)])}),{}}}),UA=Nc("v-card-subtitle"),HA=Nc("v-card-title"),DV=ur({appendAvatar:String,appendIcon:bi,prependAvatar:String,prependIcon:bi,subtitle:String,title:String,...Zr(),...ds()},"VCardItem"),GA=Ar()({name:"VCardItem",props:DV(),setup(n,e){let{slots:r}=e;return Or(()=>{var g;const C=!!(n.prependAvatar||n.prependIcon),D=!!(C||r.prepend),T=!!(n.appendAvatar||n.appendIcon),p=!!(T||r.append),t=!!(n.title||r.title),d=!!(n.subtitle||r.subtitle);return gt("div",{class:["v-card-item",n.class],style:n.style},[D&>("div",{key:"prepend",class:"v-card-item__prepend"},[r.prepend?gt(Fa,{key:"prepend-defaults",disabled:!C,defaults:{VAvatar:{density:n.density,icon:n.prependIcon,image:n.prependAvatar}}},r.prepend):C&>(Zf,{key:"prepend-avatar",density:n.density,icon:n.prependIcon,image:n.prependAvatar},null)]),gt("div",{class:"v-card-item__content"},[t&>(HA,{key:"title"},{default:()=>{var i;return[((i=r.title)==null?void 0:i.call(r))??n.title]}}),d&>(UA,{key:"subtitle"},{default:()=>{var i;return[((i=r.subtitle)==null?void 0:i.call(r))??n.subtitle]}}),(g=r.default)==null?void 0:g.call(r)]),p&>("div",{key:"append",class:"v-card-item__append"},[r.append?gt(Fa,{key:"append-defaults",disabled:!T,defaults:{VAvatar:{density:n.density,icon:n.appendIcon,image:n.appendAvatar}}},r.append):T&>(Zf,{key:"append-avatar",density:n.density,icon:n.appendIcon,image:n.appendAvatar},null)])])}),{}}}),qA=Nc("v-card-text"),zV=ur({appendAvatar:String,appendIcon:bi,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:bi,ripple:{type:[Boolean,Object],default:!0},subtitle:String,text:String,title:String,...Su(),...Zr(),...ds(),...sc(),...fs(),...m_(),...ed(),...A0(),...lo(),...lg(),...Si(),...oa(),...cc({variant:"elevated"})},"VCard"),FV=Ar()({name:"VCard",directives:{Ripple:nd},props:zV(),setup(n,e){let{attrs:r,slots:C}=e;const{themeClasses:D}=Ma(n),{borderClasses:T}=uc(n),{colorClasses:p,colorStyles:t,variantClasses:d}=rp(n),{densityClasses:g}=Qs(n),{dimensionStyles:i}=lc(n),{elevationClasses:M}=Vs(n),{loaderClasses:v}=t1(n),{locationStyles:f}=td(n),{positionClasses:l}=S0(n),{roundedClasses:a}=Eo(n),u=sg(n,r),o=cn(()=>n.link!==!1&&u.isLink.value),s=cn(()=>!n.disabled&&n.link!==!1&&(n.link||u.isClickable.value));return Or(()=>{const c=o.value?"a":n.tag,h=!!(C.title||n.title),m=!!(C.subtitle||n.subtitle),w=h||m,y=!!(C.append||n.appendAvatar||n.appendIcon),S=!!(C.prepend||n.prependAvatar||n.prependIcon),_=!!(C.image||n.image),k=w||S||y,E=!!(C.text||n.text);return Co(gt(c,{class:["v-card",{"v-card--disabled":n.disabled,"v-card--flat":n.flat,"v-card--hover":n.hover&&!(n.disabled||n.flat),"v-card--link":s.value},D.value,T.value,p.value,g.value,M.value,v.value,l.value,a.value,d.value,n.class],style:[t.value,i.value,f.value,n.style],href:u.href.value,onClick:s.value&&u.navigate,tabindex:n.disabled?-1:void 0},{default:()=>{var x;return[_&>("div",{key:"image",class:"v-card__image"},[C.image?gt(Fa,{key:"image-defaults",disabled:!n.image,defaults:{VImg:{cover:!0,src:n.image}}},C.image):gt(Zd,{key:"image-img",cover:!0,src:n.image},null)]),gt(g_,{name:"v-card",active:!!n.loading,color:typeof n.loading=="boolean"?void 0:n.loading},{default:C.loader}),k&>(GA,{key:"item",prependAvatar:n.prependAvatar,prependIcon:n.prependIcon,title:n.title,subtitle:n.subtitle,appendAvatar:n.appendAvatar,appendIcon:n.appendIcon},{default:C.item,prepend:C.prepend,title:C.title,subtitle:C.subtitle,append:C.append}),E&>(qA,{key:"text"},{default:()=>{var A;return[((A=C.text)==null?void 0:A.call(C))??n.text]}}),(x=C.default)==null?void 0:x.call(C),C.actions&>(jA,null,{default:C.actions}),np(s.value,"v-card")]}}),[[Tu("ripple"),s.value&&n.ripple]])}),{}}});const BV=n=>{const{touchstartX:e,touchendX:r,touchstartY:C,touchendY:D}=n,T=.5,p=16;n.offsetX=r-e,n.offsetY=D-C,Math.abs(n.offsetY)e+p&&n.right(n)),Math.abs(n.offsetX)C+p&&n.down(n))};function NV(n,e){var C;const r=n.changedTouches[0];e.touchstartX=r.clientX,e.touchstartY=r.clientY,(C=e.start)==null||C.call(e,{originalEvent:n,...e})}function VV(n,e){var C;const r=n.changedTouches[0];e.touchendX=r.clientX,e.touchendY=r.clientY,(C=e.end)==null||C.call(e,{originalEvent:n,...e}),BV(e)}function jV(n,e){var C;const r=n.changedTouches[0];e.touchmoveX=r.clientX,e.touchmoveY=r.clientY,(C=e.move)==null||C.call(e,{originalEvent:n,...e})}function UV(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const e={touchstartX:0,touchstartY:0,touchendX:0,touchendY:0,touchmoveX:0,touchmoveY:0,offsetX:0,offsetY:0,left:n.left,right:n.right,up:n.up,down:n.down,start:n.start,move:n.move,end:n.end};return{touchstart:r=>NV(r,e),touchend:r=>VV(r,e),touchmove:r=>jV(r,e)}}function HV(n,e){var t;const r=e.value,C=r!=null&&r.parent?n.parentElement:n,D=(r==null?void 0:r.options)??{passive:!0},T=(t=e.instance)==null?void 0:t.$.uid;if(!C||!T)return;const p=UV(e.value);C._touchHandlers=C._touchHandlers??Object.create(null),C._touchHandlers[T]=p,c6(p).forEach(d=>{C.addEventListener(d,p[d],D)})}function GV(n,e){var T,p;const r=(T=e.value)!=null&&T.parent?n.parentElement:n,C=(p=e.instance)==null?void 0:p.$.uid;if(!(r!=null&&r._touchHandlers)||!C)return;const D=r._touchHandlers[C];c6(D).forEach(t=>{r.removeEventListener(t,D[t])}),delete r._touchHandlers[C]}const M_={mounted:HV,unmounted:GV},WA=Symbol.for("vuetify:v-window"),YA=Symbol.for("vuetify:v-window-group"),$A=ur({continuous:Boolean,nextIcon:{type:[Boolean,String,Function,Object],default:"$next"},prevIcon:{type:[Boolean,String,Function,Object],default:"$prev"},reverse:Boolean,showArrows:{type:[Boolean,String],validator:n=>typeof n=="boolean"||n==="hover"},touch:{type:[Object,Boolean],default:void 0},direction:{type:String,default:"horizontal"},modelValue:null,disabled:Boolean,selectedClass:{type:String,default:"v-window-item--active"},mandatory:{type:[Boolean,String],default:"force"},...Zr(),...Si(),...oa()},"VWindow"),Sx=Ar()({name:"VWindow",directives:{Touch:M_},props:$A(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{isRtl:D}=Cs(),{t:T}=oc(),p=ip(n,YA),t=Vr(),d=cn(()=>D.value?!n.reverse:n.reverse),g=Wr(!1),i=cn(()=>{const h=n.direction==="vertical"?"y":"x",w=(d.value?!g.value:g.value)?"-reverse":"";return`v-window-${h}${w}-transition`}),M=Wr(0),v=Vr(void 0),f=cn(()=>p.items.value.findIndex(h=>p.selected.value.includes(h.id)));$r(f,(h,m)=>{const w=p.items.value.length,y=w-1;w<=2?g.value=hn.continuous||f.value!==0),a=cn(()=>n.continuous||f.value!==p.items.value.length-1);function u(){l.value&&p.prev()}function o(){a.value&&p.next()}const s=cn(()=>{const h=[],m={icon:D.value?n.nextIcon:n.prevIcon,class:`v-window__${d.value?"right":"left"}`,onClick:p.prev,ariaLabel:T("$vuetify.carousel.prev")};h.push(l.value?r.prev?r.prev({props:m}):gt(_l,m,null):gt("div",null,null));const w={icon:D.value?n.prevIcon:n.nextIcon,class:`v-window__${d.value?"left":"right"}`,onClick:p.next,ariaLabel:T("$vuetify.carousel.next")};return h.push(a.value?r.next?r.next({props:w}):gt(_l,w,null):gt("div",null,null)),h}),c=cn(()=>n.touch===!1?n.touch:{...{left:()=>{d.value?u():o()},right:()=>{d.value?o():u()},start:m=>{let{originalEvent:w}=m;w.stopPropagation()}},...n.touch===!0?{}:n.touch});return Or(()=>Co(gt(n.tag,{ref:t,class:["v-window",{"v-window--show-arrows-on-hover":n.showArrows==="hover"},C.value,n.class],style:n.style},{default:()=>{var h,m;return[gt("div",{class:"v-window__container",style:{height:v.value}},[(h=r.default)==null?void 0:h.call(r,{group:p}),n.showArrows!==!1&>("div",{class:"v-window__controls"},[s.value])]),(m=r.additional)==null?void 0:m.call(r,{group:p})]}}),[[Tu("touch"),c.value]])),{group:p}}}),qV=ur({color:String,cycle:Boolean,delimiterIcon:{type:bi,default:"$delimiter"},height:{type:[Number,String],default:500},hideDelimiters:Boolean,hideDelimiterBackground:Boolean,interval:{type:[Number,String],default:6e3,validator:n=>Number(n)>0},progress:[Boolean,String],verticalDelimiters:[Boolean,String],...$A({continuous:!0,mandatory:"force",showArrows:!0})},"VCarousel"),WV=Ar()({name:"VCarousel",props:qV(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const C=xi(n,"modelValue"),{t:D}=oc(),T=Vr();let p=-1;$r(C,d),$r(()=>n.interval,d),$r(()=>n.cycle,g=>{g?d():window.clearTimeout(p)}),Ks(t);function t(){!n.cycle||!T.value||(p=window.setTimeout(T.value.group.next,+n.interval>0?+n.interval:6e3))}function d(){window.clearTimeout(p),window.requestAnimationFrame(t)}return Or(()=>{const[g]=Sx.filterProps(n);return gt(Sx,qr({ref:T},g,{modelValue:C.value,"onUpdate:modelValue":i=>C.value=i,class:["v-carousel",{"v-carousel--hide-delimiter-background":n.hideDelimiterBackground,"v-carousel--vertical-delimiters":n.verticalDelimiters},n.class],style:[{height:Qr(n.height)},n.style]}),{default:r.default,additional:i=>{let{group:M}=i;return gt(Yr,null,[!n.hideDelimiters&>("div",{class:"v-carousel__controls",style:{left:n.verticalDelimiters==="left"&&n.verticalDelimiters?0:"auto",right:n.verticalDelimiters==="right"?0:"auto"}},[M.items.value.length>0&>(Fa,{defaults:{VBtn:{color:n.color,icon:n.delimiterIcon,size:"x-small",variant:"text"}},scoped:!0},{default:()=>[M.items.value.map((v,f)=>{const l={id:`carousel-item-${v.id}`,"aria-label":D("$vuetify.carousel.ariaLabel.delimiter",f+1,M.items.value.length),class:[M.isSelected(v.id)&&"v-btn--active"],onClick:()=>M.select(v.id,!0)};return r.item?r.item({props:l,item:v}):gt(_l,qr(v,l),null)})]})]),n.progress&>(p_,{class:"v-carousel__progress",color:typeof n.progress=="string"?n.progress:void 0,modelValue:(M.getItemIndex(C.value)+1)/M.items.value.length*100},null)])},prev:r.prev,next:r.next})}),{}}}),ZA=ur({reverseTransition:{type:[Boolean,String],default:void 0},transition:{type:[Boolean,String],default:void 0},...Zr(),...T0(),...o1()},"VWindowItem"),Cx=Ar()({name:"VWindowItem",directives:{Touch:M_},props:ZA(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const C=ka(WA),D=k0(n,YA),{isBooted:T}=tp();if(!C||!D)throw new Error("[Vuetify] VWindowItem must be used inside VWindow");const p=Wr(!1),t=cn(()=>T.value&&(C.isReversed.value?n.reverseTransition!==!1:n.transition!==!1));function d(){!p.value||!C||(p.value=!1,C.transitionCount.value>0&&(C.transitionCount.value-=1,C.transitionCount.value===0&&(C.transitionHeight.value=void 0)))}function g(){var l;p.value||!C||(p.value=!0,C.transitionCount.value===0&&(C.transitionHeight.value=Qr((l=C.rootRef.value)==null?void 0:l.clientHeight)),C.transitionCount.value+=1)}function i(){d()}function M(l){p.value&&Ua(()=>{!t.value||!p.value||!C||(C.transitionHeight.value=Qr(l.clientHeight))})}const v=cn(()=>{const l=C.isReversed.value?n.reverseTransition:n.transition;return t.value?{name:typeof l!="string"?C.transition.value:l,onBeforeEnter:g,onAfterEnter:d,onEnterCancelled:i,onBeforeLeave:g,onAfterLeave:d,onLeaveCancelled:i,onEnter:M}:!1}),{hasContent:f}=__(n,D.isSelected);return Or(()=>gt(Oc,{transition:v.value,disabled:!T.value},{default:()=>{var l;return[Co(gt("div",{class:["v-window-item",D.selectedClass.value,n.class],style:n.style},[f.value&&((l=r.default)==null?void 0:l.call(r))]),[[kh,D.isSelected.value]])]}})),{groupItem:D}}}),YV=ur({...G6(),...ZA()},"VCarouselItem"),$V=Ar()({name:"VCarouselItem",inheritAttrs:!1,props:YV(),setup(n,e){let{slots:r,attrs:C}=e;Or(()=>{const[D]=Zd.filterProps(n),[T]=Cx.filterProps(n);return gt(Cx,qr({class:"v-carousel-item"},T),{default:()=>[gt(Zd,qr(C,D),r)]})})}});const ZV=Nc("v-code");const XV=ur({color:{type:Object},disabled:Boolean,dotSize:{type:[Number,String],default:10},height:{type:[Number,String],default:150},width:{type:[Number,String],default:300},...Zr()},"VColorPickerCanvas"),KV=ac({name:"VColorPickerCanvas",props:XV(),emits:{"update:color":n=>!0,"update:position":n=>!0},setup(n,e){let{emit:r}=e;const C=Wr(!1),D=Vr(),T=Wr(parseFloat(n.width)),p=Wr(parseFloat(n.height)),t=Vr({x:0,y:0}),d=cn({get:()=>t.value,set(u){var c,h;if(!D.value)return;const{x:o,y:s}=u;r("update:color",{h:((c=n.color)==null?void 0:c.h)??0,s:Zs(o,0,T.value)/T.value,v:1-Zs(s,0,p.value)/p.value,a:((h=n.color)==null?void 0:h.a)??1})}}),g=cn(()=>{const{x:u,y:o}=d.value,s=parseInt(n.dotSize,10)/2;return{width:Qr(n.dotSize),height:Qr(n.dotSize),transform:`translate(${Qr(u-s)}, ${Qr(o-s)})`}}),{resizeRef:i}=Th(u=>{var c;if(!((c=i.value)!=null&&c.offsetParent))return;const{width:o,height:s}=u[0].contentRect;T.value=o,p.value=s});function M(u,o,s){const{left:c,top:h,width:m,height:w}=s;d.value={x:Zs(u-c,0,m),y:Zs(o-h,0,w)}}function v(u){u.type==="mousedown"&&u.preventDefault(),!n.disabled&&(f(u),window.addEventListener("mousemove",f),window.addEventListener("mouseup",l),window.addEventListener("touchmove",f),window.addEventListener("touchend",l))}function f(u){if(n.disabled||!D.value)return;C.value=!0;const o=Wz(u);M(o.clientX,o.clientY,D.value.getBoundingClientRect())}function l(){window.removeEventListener("mousemove",f),window.removeEventListener("mouseup",l),window.removeEventListener("touchmove",f),window.removeEventListener("touchend",l)}function a(){var h;if(!D.value)return;const u=D.value,o=u.getContext("2d");if(!o)return;const s=o.createLinearGradient(0,0,u.width,0);s.addColorStop(0,"hsla(0, 0%, 100%, 1)"),s.addColorStop(1,`hsla(${((h=n.color)==null?void 0:h.h)??0}, 100%, 50%, 1)`),o.fillStyle=s,o.fillRect(0,0,u.width,u.height);const c=o.createLinearGradient(0,0,0,u.height);c.addColorStop(0,"hsla(0, 0%, 100%, 0)"),c.addColorStop(1,"hsla(0, 0%, 0%, 1)"),o.fillStyle=c,o.fillRect(0,0,u.width,u.height)}return $r(()=>{var u;return(u=n.color)==null?void 0:u.h},a,{immediate:!0}),$r(()=>[T.value,p.value],(u,o)=>{a(),t.value={x:d.value.x*u[0]/o[0],y:d.value.y*u[1]/o[1]}},{flush:"post"}),$r(()=>n.color,()=>{if(C.value){C.value=!1;return}t.value=n.color?{x:n.color.s*T.value,y:(1-n.color.v)*p.value}:{x:0,y:0}},{deep:!0,immediate:!0}),Ks(()=>a()),Or(()=>gt("div",{ref:i,class:["v-color-picker-canvas",n.class],style:n.style,onMousedown:v,onTouchstartPassive:v},[gt("canvas",{ref:D,width:T.value,height:p.value},null),n.color&>("div",{class:["v-color-picker-canvas__dot",{"v-color-picker-canvas__dot--disabled":n.disabled}],style:g.value},null)])),{}}});function JV(n,e){if(e){const{a:r,...C}=n;return C}return n}function QV(n,e){if(e==null||typeof e=="string"){const r=M6(n);return n.a===1?r.slice(0,7):r}if(typeof e=="object"){let r;return Od(e,["r","g","b"])?r=rf(n):Od(e,["h","s","l"])?r=x6(n):Od(e,["h","s","v"])&&(r=n),JV(r,!Od(e,["a"])&&n.a===1)}return n}const bm={h:0,s:0,v:1,a:1},Ex={inputProps:{type:"number",min:0},inputs:[{label:"R",max:255,step:1,getValue:n=>Math.round(n.r),getColor:(n,e)=>({...n,r:Number(e)})},{label:"G",max:255,step:1,getValue:n=>Math.round(n.g),getColor:(n,e)=>({...n,g:Number(e)})},{label:"B",max:255,step:1,getValue:n=>Math.round(n.b),getColor:(n,e)=>({...n,b:Number(e)})},{label:"A",max:1,step:.01,getValue:n=>{let{a:e}=n;return e!=null?Math.round(e*100)/100:1},getColor:(n,e)=>({...n,a:Number(e)})}],to:rf,from:Xy};var pT;const ej={...Ex,inputs:(pT=Ex.inputs)==null?void 0:pT.slice(0,3)},Lx={inputProps:{type:"number",min:0},inputs:[{label:"H",max:360,step:1,getValue:n=>Math.round(n.h),getColor:(n,e)=>({...n,h:Number(e)})},{label:"S",max:1,step:.01,getValue:n=>Math.round(n.s*100)/100,getColor:(n,e)=>({...n,s:Number(e)})},{label:"L",max:1,step:.01,getValue:n=>Math.round(n.l*100)/100,getColor:(n,e)=>({...n,l:Number(e)})},{label:"A",max:1,step:.01,getValue:n=>{let{a:e}=n;return e!=null?Math.round(e*100)/100:1},getColor:(n,e)=>({...n,a:Number(e)})}],to:x6,from:e_},tj={...Lx,inputs:Lx.inputs.slice(0,3)},XA={inputProps:{type:"text"},inputs:[{label:"HEXA",getValue:n=>n,getColor:(n,e)=>e}],to:M6,from:hF},nj={...XA,inputs:[{label:"HEX",getValue:n=>n.slice(0,7),getColor:(n,e)=>e}]},Hd={rgb:ej,rgba:Ex,hsl:tj,hsla:Lx,hex:nj,hexa:XA},rj=n=>{let{label:e,...r}=n;return gt("div",{class:"v-color-picker-edit__input"},[gt("input",r,null),gt("span",null,[e])])},ij=ur({color:Object,disabled:Boolean,mode:{type:String,default:"rgba",validator:n=>Object.keys(Hd).includes(n)},modes:{type:Array,default:()=>Object.keys(Hd),validator:n=>Array.isArray(n)&&n.every(e=>Object.keys(Hd).includes(e))},...Zr()},"VColorPickerEdit"),aj=ac({name:"VColorPickerEdit",props:ij(),emits:{"update:color":n=>!0,"update:mode":n=>!0},setup(n,e){let{emit:r}=e;const C=cn(()=>n.modes.map(T=>({...Hd[T],name:T}))),D=cn(()=>{var t;const T=C.value.find(d=>d.name===n.mode);if(!T)return[];const p=n.color?T.to(n.color):null;return(t=T.inputs)==null?void 0:t.map(d=>{let{getValue:g,getColor:i,...M}=d;return{...T.inputProps,...M,disabled:n.disabled,value:p&&g(p),onChange:v=>{const f=v.target;f&&r("update:color",T.from(i(p??bm,f.value)))}}})});return Or(()=>{var T;return gt("div",{class:["v-color-picker-edit",n.class],style:n.style},[(T=D.value)==null?void 0:T.map(p=>gt(rj,p,null)),C.value.length>1&>(_l,{icon:"$unfold",size:"x-small",variant:"plain",onClick:()=>{const p=C.value.findIndex(t=>t.name===n.mode);r("update:mode",C.value[(p+1)%C.value.length].name)}},null)])}),{}}});const A_=Symbol.for("vuetify:v-slider");function Ix(n,e,r){const C=r==="vertical",D=e.getBoundingClientRect(),T="touches"in n?n.touches[0]:n;return C?T.clientY-(D.top+D.height/2):T.clientX-(D.left+D.width/2)}function oj(n,e){return"touches"in n&&n.touches.length?n.touches[0][e]:"changedTouches"in n&&n.changedTouches.length?n.changedTouches[0][e]:n[e]}const KA=ur({disabled:{type:Boolean,default:null},error:Boolean,readonly:{type:Boolean,default:null},max:{type:[Number,String],default:100},min:{type:[Number,String],default:0},step:{type:[Number,String],default:0},thumbColor:String,thumbLabel:{type:[Boolean,String],default:void 0,validator:n=>typeof n=="boolean"||n==="always"},thumbSize:{type:[Number,String],default:20},showTicks:{type:[Boolean,String],default:!1,validator:n=>typeof n=="boolean"||n==="always"},ticks:{type:[Array,Object]},tickSize:{type:[Number,String],default:2},color:String,trackColor:String,trackFillColor:String,trackSize:{type:[Number,String],default:4},direction:{type:String,default:"horizontal",validator:n=>["vertical","horizontal"].includes(n)},reverse:Boolean,...lo(),...fs({elevation:2})},"Slider"),JA=n=>{const e=cn(()=>parseFloat(n.min)),r=cn(()=>parseFloat(n.max)),C=cn(()=>+n.step>0?parseFloat(n.step):0),D=cn(()=>Math.max(_5(C.value),_5(e.value)));function T(p){if(p=parseFloat(p),C.value<=0)return p;const t=Zs(p,e.value,r.value),d=e.value%C.value,g=Math.round((t-d)/C.value)*C.value+d;return parseFloat(Math.min(g,r.value).toFixed(D.value))}return{min:e,max:r,step:C,decimals:D,roundValue:T}},QA=n=>{let{props:e,steps:r,onSliderStart:C,onSliderMove:D,onSliderEnd:T,getActiveThumb:p}=n;const{isRtl:t}=Cs(),d=Cr(e,"reverse"),g=cn(()=>{let U=t.value?"rtl":"ltr";return e.reverse&&(U=U==="rtl"?"ltr":"rtl"),U}),{min:i,max:M,step:v,decimals:f,roundValue:l}=r,a=cn(()=>parseInt(e.thumbSize,10)),u=cn(()=>parseInt(e.tickSize,10)),o=cn(()=>parseInt(e.trackSize,10)),s=cn(()=>(M.value-i.value)/v.value),c=Cr(e,"disabled"),h=cn(()=>e.direction==="vertical"),m=cn(()=>e.error||e.disabled?void 0:e.thumbColor??e.color),w=cn(()=>e.error||e.disabled?void 0:e.trackColor??e.color),y=cn(()=>e.error||e.disabled?void 0:e.trackFillColor??e.color),S=Wr(!1),_=Wr(0),k=Vr(),E=Vr();function x(U){var re;const G=e.direction==="vertical",q=G?"top":"left",H=G?"height":"width",ne=G?"clientY":"clientX",{[q]:te,[H]:Z}=(re=k.value)==null?void 0:re.$el.getBoundingClientRect(),X=oj(U,ne);let Q=Math.min(Math.max((X-te-_.value)/Z,0),1)||0;return(G||g.value==="rtl")&&(Q=1-Q),l(i.value+Q*(M.value-i.value))}const A=U=>{T({value:x(U)}),S.value=!1,_.value=0},L=U=>{E.value=p(U),E.value&&(E.value.focus(),S.value=!0,E.value.contains(U.target)?_.value=Ix(U,E.value,e.direction):(_.value=0,D({value:x(U)})),C({value:x(U)}))},b={passive:!0,capture:!0};function R(U){D({value:x(U)})}function I(U){U.stopPropagation(),U.preventDefault(),A(U),window.removeEventListener("mousemove",R,b),window.removeEventListener("mouseup",I)}function O(U){var G;A(U),window.removeEventListener("touchmove",R,b),(G=U.target)==null||G.removeEventListener("touchend",O)}function z(U){var G;L(U),window.addEventListener("touchmove",R,b),(G=U.target)==null||G.addEventListener("touchend",O,{passive:!1})}function F(U){U.preventDefault(),L(U),window.addEventListener("mousemove",R,b),window.addEventListener("mouseup",I,{passive:!1})}const B=U=>{const G=(U-i.value)/(M.value-i.value)*100;return Zs(isNaN(G)?0:G,0,100)},N=Cr(e,"showTicks"),W=cn(()=>N.value?e.ticks?Array.isArray(e.ticks)?e.ticks.map(U=>({value:U,position:B(U),label:U.toString()})):Object.keys(e.ticks).map(U=>({value:parseFloat(U),position:B(parseFloat(U)),label:e.ticks[U]})):s.value!==1/0?Kh(s.value+1).map(U=>{const G=i.value+U*v.value;return{value:G,position:B(G)}}):[]:[]),j=cn(()=>W.value.some(U=>{let{label:G}=U;return!!G})),$={activeThumbRef:E,color:Cr(e,"color"),decimals:f,disabled:c,direction:Cr(e,"direction"),elevation:Cr(e,"elevation"),hasLabels:j,horizontalDirection:g,isReversed:d,min:i,max:M,mousePressed:S,numTicks:s,onSliderMousedown:F,onSliderTouchstart:z,parsedTicks:W,parseMouseMove:x,position:B,readonly:Cr(e,"readonly"),rounded:Cr(e,"rounded"),roundValue:l,showTicks:N,startOffset:_,step:v,thumbSize:a,thumbColor:m,thumbLabel:Cr(e,"thumbLabel"),ticks:Cr(e,"ticks"),tickSize:u,trackColor:w,trackContainerRef:k,trackFillColor:y,trackSize:o,vertical:h};return ts(A_,$),$},sj=ur({focused:Boolean,max:{type:Number,required:!0},min:{type:Number,required:!0},modelValue:{type:Number,required:!0},position:{type:Number,required:!0},ripple:{type:[Boolean,Object],default:!0},...Zr()},"VSliderThumb"),Rx=Ar()({name:"VSliderThumb",directives:{Ripple:nd},props:sj(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r,emit:C}=e;const D=ka(A_),{rtlClasses:T}=Cs();if(!D)throw new Error("[Vuetify] v-slider-thumb must be used inside v-slider or v-range-slider");const{thumbColor:p,step:t,vertical:d,disabled:g,thumbSize:i,thumbLabel:M,direction:v,readonly:f,elevation:l,isReversed:a,horizontalDirection:u,mousePressed:o,decimals:s}=D,{textColorClasses:c,textColorStyles:h}=Xs(p),{pageup:m,pagedown:w,end:y,home:S,left:_,right:k,down:E,up:x}=sx,A=[m,w,y,S,_,k,E,x],L=cn(()=>t.value?[1,2,3]:[1,5,10]);function b(I,O){if(!A.includes(I.key))return;I.preventDefault();const z=t.value||.1,F=(n.max-n.min)/z;if([_,k,E,x].includes(I.key)){const N=(u.value==="rtl"?[_,x]:[k,x]).includes(I.key)?1:-1,W=I.shiftKey?2:I.ctrlKey?1:0;O=O+N*z*L.value[W]}else if(I.key===S)O=n.min;else if(I.key===y)O=n.max;else{const B=I.key===w?1:-1;O=O-B*z*(F>100?F/10:10)}return Math.max(n.min,Math.min(n.max,O))}function R(I){const O=b(I,n.modelValue);O!=null&&C("update:modelValue",O)}return Or(()=>{const I=Qr(d.value||a.value?100-n.position:n.position,"%"),{elevationClasses:O}=Vs(cn(()=>g.value?void 0:l.value));return gt("div",{class:["v-slider-thumb",{"v-slider-thumb--focused":n.focused,"v-slider-thumb--pressed":n.focused&&o.value},n.class,T.value],style:[{"--v-slider-thumb-position":I,"--v-slider-thumb-size":Qr(i.value)},n.style],role:"slider",tabindex:g.value?-1:0,"aria-valuemin":n.min,"aria-valuemax":n.max,"aria-valuenow":n.modelValue,"aria-readonly":!!f.value,"aria-orientation":v.value,onKeydown:f.value?void 0:R},[gt("div",{class:["v-slider-thumb__surface",c.value,O.value],style:{...h.value}},null),Co(gt("div",{class:["v-slider-thumb__ripple",c.value],style:h.value},null),[[Tu("ripple"),n.ripple,null,{circle:!0,center:!0}]]),gt(s_,{origin:"bottom center"},{default:()=>{var z;return[Co(gt("div",{class:"v-slider-thumb__label-container"},[gt("div",{class:["v-slider-thumb__label"]},[gt("div",null,[((z=r["thumb-label"])==null?void 0:z.call(r,{modelValue:n.modelValue}))??n.modelValue.toFixed(t.value?s.value:1)])])]),[[kh,M.value&&n.focused||M.value==="always"]])]}})])}),{}}});const lj=ur({start:{type:Number,required:!0},stop:{type:Number,required:!0},...Zr()},"VSliderTrack"),eS=Ar()({name:"VSliderTrack",props:lj(),emits:{},setup(n,e){let{slots:r}=e;const C=ka(A_);if(!C)throw new Error("[Vuetify] v-slider-track must be inside v-slider or v-range-slider");const{color:D,horizontalDirection:T,parsedTicks:p,rounded:t,showTicks:d,tickSize:g,trackColor:i,trackFillColor:M,trackSize:v,vertical:f,min:l,max:a}=C,{roundedClasses:u}=Eo(t),{backgroundColorClasses:o,backgroundColorStyles:s}=Oo(M),{backgroundColorClasses:c,backgroundColorStyles:h}=Oo(i),m=cn(()=>`inset-${f.value?"block-end":"inline-start"}`),w=cn(()=>f.value?"height":"width"),y=cn(()=>({[m.value]:"0%",[w.value]:"100%"})),S=cn(()=>n.stop-n.start),_=cn(()=>({[m.value]:Qr(n.start,"%"),[w.value]:Qr(S.value,"%")})),k=cn(()=>d.value?(f.value?p.value.slice().reverse():p.value).map((x,A)=>{var R;const L=f.value?"bottom":"margin-inline-start",b=x.value!==l.value&&x.value!==a.value?Qr(x.position,"%"):void 0;return gt("div",{key:x.value,class:["v-slider-track__tick",{"v-slider-track__tick--filled":x.position>=n.start&&x.position<=n.stop,"v-slider-track__tick--first":x.value===l.value,"v-slider-track__tick--last":x.value===a.value}],style:{[L]:b}},[(x.label||r["tick-label"])&>("div",{class:"v-slider-track__tick-label"},[((R=r["tick-label"])==null?void 0:R.call(r,{tick:x,index:A}))??x.label])])}):[]);return Or(()=>gt("div",{class:["v-slider-track",u.value,n.class],style:[{"--v-slider-track-size":Qr(v.value),"--v-slider-tick-size":Qr(g.value),direction:f.value?void 0:T.value},n.style]},[gt("div",{class:["v-slider-track__background",c.value,{"v-slider-track__background--opacity":!!D.value||!M.value}],style:{...y.value,...h.value}},null),gt("div",{class:["v-slider-track__fill",o.value],style:{..._.value,...s.value}},null),d.value&>("div",{class:["v-slider-track__ticks",{"v-slider-track__ticks--always-show":d.value==="always"}]},[k.value])])),{}}}),uj=ur({...r1(),...KA(),...mf(),modelValue:{type:[Number,String],default:0}},"VSlider"),Px=Ar()({name:"VSlider",props:uj(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,start:n=>!0,end:n=>!0},setup(n,e){let{slots:r,emit:C}=e;const D=Vr(),{rtlClasses:T}=Cs(),p=JA(n),t=xi(n,"modelValue",void 0,w=>p.roundValue(w??p.min.value)),{min:d,max:g,mousePressed:i,roundValue:M,onSliderMousedown:v,onSliderTouchstart:f,trackContainerRef:l,position:a,hasLabels:u,readonly:o}=QA({props:n,steps:p,onSliderStart:()=>{C("start",t.value)},onSliderEnd:w=>{let{value:y}=w;const S=M(y);t.value=S,C("end",S)},onSliderMove:w=>{let{value:y}=w;return t.value=M(y)},getActiveThumb:()=>{var w;return(w=D.value)==null?void 0:w.$el}}),{isFocused:s,focus:c,blur:h}=rd(n),m=cn(()=>a(t.value));return Or(()=>{const[w,y]=Bs.filterProps(n),S=!!(n.label||r.label||r.prepend);return gt(Bs,qr({class:["v-slider",{"v-slider--has-labels":!!r["tick-label"]||u.value,"v-slider--focused":s.value,"v-slider--pressed":i.value,"v-slider--disabled":n.disabled},T.value,n.class],style:n.style},w,{focused:s.value}),{...r,prepend:S?_=>{var k,E;return gt(Yr,null,[((k=r.label)==null?void 0:k.call(r,_))??n.label?gt(C0,{id:_.id.value,class:"v-slider__label",text:n.label},null):void 0,(E=r.prepend)==null?void 0:E.call(r,_)])}:void 0,default:_=>{let{id:k,messagesId:E}=_;return gt("div",{class:"v-slider__container",onMousedown:o.value?void 0:v,onTouchstartPassive:o.value?void 0:f},[gt("input",{id:k.value,name:n.name||k.value,disabled:!!n.disabled,readonly:!!n.readonly,tabindex:"-1",value:t.value},null),gt(eS,{ref:l,start:0,stop:m.value},{"tick-label":r["tick-label"]}),gt(Rx,{ref:D,"aria-describedby":E.value,focused:s.value,min:d.value,max:g.value,modelValue:t.value,"onUpdate:modelValue":x=>t.value=x,position:m.value,elevation:n.elevation,onFocus:c,onBlur:h},{"thumb-label":r["thumb-label"]})])}})}),{}}}),cj=ur({color:{type:Object},disabled:Boolean,hideAlpha:Boolean,...Zr()},"VColorPickerPreview"),hj=ac({name:"VColorPickerPreview",props:cj(),emits:{"update:color":n=>!0},setup(n,e){let{emit:r}=e;return Or(()=>{var C,D;return gt("div",{class:["v-color-picker-preview",{"v-color-picker-preview--hide-alpha":n.hideAlpha},n.class],style:n.style},[gt("div",{class:"v-color-picker-preview__dot"},[gt("div",{style:{background:w6(n.color??bm)}},null)]),gt("div",{class:"v-color-picker-preview__sliders"},[gt(Px,{class:"v-color-picker-preview__track v-color-picker-preview__hue",modelValue:(C=n.color)==null?void 0:C.h,"onUpdate:modelValue":T=>r("update:color",{...n.color??bm,h:T}),step:0,min:0,max:360,disabled:n.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null),!n.hideAlpha&>(Px,{class:"v-color-picker-preview__track v-color-picker-preview__alpha",modelValue:((D=n.color)==null?void 0:D.a)??1,"onUpdate:modelValue":T=>r("update:color",{...n.color??bm,a:T}),step:1/256,min:0,max:1,disabled:n.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null)])])}),{}}});const fj=Object.freeze({base:"#f44336",lighten5:"#ffebee",lighten4:"#ffcdd2",lighten3:"#ef9a9a",lighten2:"#e57373",lighten1:"#ef5350",darken1:"#e53935",darken2:"#d32f2f",darken3:"#c62828",darken4:"#b71c1c",accent1:"#ff8a80",accent2:"#ff5252",accent3:"#ff1744",accent4:"#d50000"}),dj=Object.freeze({base:"#e91e63",lighten5:"#fce4ec",lighten4:"#f8bbd0",lighten3:"#f48fb1",lighten2:"#f06292",lighten1:"#ec407a",darken1:"#d81b60",darken2:"#c2185b",darken3:"#ad1457",darken4:"#880e4f",accent1:"#ff80ab",accent2:"#ff4081",accent3:"#f50057",accent4:"#c51162"}),pj=Object.freeze({base:"#9c27b0",lighten5:"#f3e5f5",lighten4:"#e1bee7",lighten3:"#ce93d8",lighten2:"#ba68c8",lighten1:"#ab47bc",darken1:"#8e24aa",darken2:"#7b1fa2",darken3:"#6a1b9a",darken4:"#4a148c",accent1:"#ea80fc",accent2:"#e040fb",accent3:"#d500f9",accent4:"#aa00ff"}),mj=Object.freeze({base:"#673ab7",lighten5:"#ede7f6",lighten4:"#d1c4e9",lighten3:"#b39ddb",lighten2:"#9575cd",lighten1:"#7e57c2",darken1:"#5e35b1",darken2:"#512da8",darken3:"#4527a0",darken4:"#311b92",accent1:"#b388ff",accent2:"#7c4dff",accent3:"#651fff",accent4:"#6200ea"}),gj=Object.freeze({base:"#3f51b5",lighten5:"#e8eaf6",lighten4:"#c5cae9",lighten3:"#9fa8da",lighten2:"#7986cb",lighten1:"#5c6bc0",darken1:"#3949ab",darken2:"#303f9f",darken3:"#283593",darken4:"#1a237e",accent1:"#8c9eff",accent2:"#536dfe",accent3:"#3d5afe",accent4:"#304ffe"}),vj=Object.freeze({base:"#2196f3",lighten5:"#e3f2fd",lighten4:"#bbdefb",lighten3:"#90caf9",lighten2:"#64b5f6",lighten1:"#42a5f5",darken1:"#1e88e5",darken2:"#1976d2",darken3:"#1565c0",darken4:"#0d47a1",accent1:"#82b1ff",accent2:"#448aff",accent3:"#2979ff",accent4:"#2962ff"}),yj=Object.freeze({base:"#03a9f4",lighten5:"#e1f5fe",lighten4:"#b3e5fc",lighten3:"#81d4fa",lighten2:"#4fc3f7",lighten1:"#29b6f6",darken1:"#039be5",darken2:"#0288d1",darken3:"#0277bd",darken4:"#01579b",accent1:"#80d8ff",accent2:"#40c4ff",accent3:"#00b0ff",accent4:"#0091ea"}),bj=Object.freeze({base:"#00bcd4",lighten5:"#e0f7fa",lighten4:"#b2ebf2",lighten3:"#80deea",lighten2:"#4dd0e1",lighten1:"#26c6da",darken1:"#00acc1",darken2:"#0097a7",darken3:"#00838f",darken4:"#006064",accent1:"#84ffff",accent2:"#18ffff",accent3:"#00e5ff",accent4:"#00b8d4"}),xj=Object.freeze({base:"#009688",lighten5:"#e0f2f1",lighten4:"#b2dfdb",lighten3:"#80cbc4",lighten2:"#4db6ac",lighten1:"#26a69a",darken1:"#00897b",darken2:"#00796b",darken3:"#00695c",darken4:"#004d40",accent1:"#a7ffeb",accent2:"#64ffda",accent3:"#1de9b6",accent4:"#00bfa5"}),_j=Object.freeze({base:"#4caf50",lighten5:"#e8f5e9",lighten4:"#c8e6c9",lighten3:"#a5d6a7",lighten2:"#81c784",lighten1:"#66bb6a",darken1:"#43a047",darken2:"#388e3c",darken3:"#2e7d32",darken4:"#1b5e20",accent1:"#b9f6ca",accent2:"#69f0ae",accent3:"#00e676",accent4:"#00c853"}),wj=Object.freeze({base:"#8bc34a",lighten5:"#f1f8e9",lighten4:"#dcedc8",lighten3:"#c5e1a5",lighten2:"#aed581",lighten1:"#9ccc65",darken1:"#7cb342",darken2:"#689f38",darken3:"#558b2f",darken4:"#33691e",accent1:"#ccff90",accent2:"#b2ff59",accent3:"#76ff03",accent4:"#64dd17"}),Tj=Object.freeze({base:"#cddc39",lighten5:"#f9fbe7",lighten4:"#f0f4c3",lighten3:"#e6ee9c",lighten2:"#dce775",lighten1:"#d4e157",darken1:"#c0ca33",darken2:"#afb42b",darken3:"#9e9d24",darken4:"#827717",accent1:"#f4ff81",accent2:"#eeff41",accent3:"#c6ff00",accent4:"#aeea00"}),kj=Object.freeze({base:"#ffeb3b",lighten5:"#fffde7",lighten4:"#fff9c4",lighten3:"#fff59d",lighten2:"#fff176",lighten1:"#ffee58",darken1:"#fdd835",darken2:"#fbc02d",darken3:"#f9a825",darken4:"#f57f17",accent1:"#ffff8d",accent2:"#ffff00",accent3:"#ffea00",accent4:"#ffd600"}),Mj=Object.freeze({base:"#ffc107",lighten5:"#fff8e1",lighten4:"#ffecb3",lighten3:"#ffe082",lighten2:"#ffd54f",lighten1:"#ffca28",darken1:"#ffb300",darken2:"#ffa000",darken3:"#ff8f00",darken4:"#ff6f00",accent1:"#ffe57f",accent2:"#ffd740",accent3:"#ffc400",accent4:"#ffab00"}),Aj=Object.freeze({base:"#ff9800",lighten5:"#fff3e0",lighten4:"#ffe0b2",lighten3:"#ffcc80",lighten2:"#ffb74d",lighten1:"#ffa726",darken1:"#fb8c00",darken2:"#f57c00",darken3:"#ef6c00",darken4:"#e65100",accent1:"#ffd180",accent2:"#ffab40",accent3:"#ff9100",accent4:"#ff6d00"}),Sj=Object.freeze({base:"#ff5722",lighten5:"#fbe9e7",lighten4:"#ffccbc",lighten3:"#ffab91",lighten2:"#ff8a65",lighten1:"#ff7043",darken1:"#f4511e",darken2:"#e64a19",darken3:"#d84315",darken4:"#bf360c",accent1:"#ff9e80",accent2:"#ff6e40",accent3:"#ff3d00",accent4:"#dd2c00"}),Cj=Object.freeze({base:"#795548",lighten5:"#efebe9",lighten4:"#d7ccc8",lighten3:"#bcaaa4",lighten2:"#a1887f",lighten1:"#8d6e63",darken1:"#6d4c41",darken2:"#5d4037",darken3:"#4e342e",darken4:"#3e2723"}),Ej=Object.freeze({base:"#607d8b",lighten5:"#eceff1",lighten4:"#cfd8dc",lighten3:"#b0bec5",lighten2:"#90a4ae",lighten1:"#78909c",darken1:"#546e7a",darken2:"#455a64",darken3:"#37474f",darken4:"#263238"}),Lj=Object.freeze({base:"#9e9e9e",lighten5:"#fafafa",lighten4:"#f5f5f5",lighten3:"#eeeeee",lighten2:"#e0e0e0",lighten1:"#bdbdbd",darken1:"#757575",darken2:"#616161",darken3:"#424242",darken4:"#212121"}),Ij=Object.freeze({black:"#000000",white:"#ffffff",transparent:"#ffffff00"}),Rj=Object.freeze({red:fj,pink:dj,purple:pj,deepPurple:mj,indigo:gj,blue:vj,lightBlue:yj,cyan:bj,teal:xj,green:_j,lightGreen:wj,lime:Tj,yellow:kj,amber:Mj,orange:Aj,deepOrange:Sj,brown:Cj,blueGrey:Ej,grey:Lj,shades:Ij}),Pj=ur({swatches:{type:Array,default:()=>Oj(Rj)},disabled:Boolean,color:Object,maxHeight:[Number,String],...Zr()},"VColorPickerSwatches");function Oj(n){return Object.keys(n).map(e=>{const r=n[e];return r.base?[r.base,r.darken4,r.darken3,r.darken2,r.darken1,r.lighten1,r.lighten2,r.lighten3,r.lighten4,r.lighten5]:[r.black,r.white,r.transparent]})}const Dj=ac({name:"VColorPickerSwatches",props:Pj(),emits:{"update:color":n=>!0},setup(n,e){let{emit:r}=e;return Or(()=>gt("div",{class:["v-color-picker-swatches",n.class],style:[{maxHeight:Qr(n.maxHeight)},n.style]},[gt("div",null,[n.swatches.map(C=>gt("div",{class:"v-color-picker-swatches__swatch"},[C.map(D=>{const T=Pc(D),p=Xy(T),t=_6(T);return gt("div",{class:"v-color-picker-swatches__color",onClick:()=>p&&r("update:color",p)},[gt("div",{style:{background:t}},[n.color&&b0(n.color,p)?gt(ja,{size:"x-small",icon:"$success",color:mF(D,"#FFFFFF")>2?"white":"black"},null):void 0])])})]))])])),{}}});const tS=ur({color:String,...Su(),...Zr(),...sc(),...fs(),...ed(),...A0(),...lo(),...Si(),...oa()},"VSheet"),Ox=Ar()({name:"VSheet",props:tS(),setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{backgroundColorClasses:D,backgroundColorStyles:T}=Oo(Cr(n,"color")),{borderClasses:p}=uc(n),{dimensionStyles:t}=lc(n),{elevationClasses:d}=Vs(n),{locationStyles:g}=td(n),{positionClasses:i}=S0(n),{roundedClasses:M}=Eo(n);return Or(()=>gt(n.tag,{class:["v-sheet",C.value,D.value,p.value,d.value,i.value,M.value,n.class],style:[T.value,t.value,g.value,n.style]},r)),{}}}),zj=ur({canvasHeight:{type:[String,Number],default:150},disabled:Boolean,dotSize:{type:[Number,String],default:10},hideCanvas:Boolean,hideSliders:Boolean,hideInputs:Boolean,mode:{type:String,default:"rgba",validator:n=>Object.keys(Hd).includes(n)},modes:{type:Array,default:()=>Object.keys(Hd),validator:n=>Array.isArray(n)&&n.every(e=>Object.keys(Hd).includes(e))},showSwatches:Boolean,swatches:Array,swatchesMaxHeight:{type:[Number,String],default:150},modelValue:{type:[Object,String]},...ic(tS({width:300}),["height","location","minHeight","maxHeight","minWidth","maxWidth"])},"VColorPicker"),Fj=ac({name:"VColorPicker",props:zj(),emits:{"update:modelValue":n=>!0,"update:mode":n=>!0},setup(n){const e=xi(n,"mode"),r=Vr(null),C=xi(n,"modelValue",void 0,p=>{if(p==null||p==="")return null;let t;try{t=Xy(Pc(p))}catch{return null}return r.value&&(t={...t,h:r.value.h},r.value=null),t},p=>p?QV(p,n.modelValue):null),{rtlClasses:D}=Cs(),T=p=>{C.value=p,r.value=p};return Ks(()=>{n.modes.includes(e.value)||(e.value=n.modes[0])}),es({VSlider:{color:void 0,trackColor:void 0,trackFillColor:void 0}}),Or(()=>{const[p]=Ox.filterProps(n);return gt(Ox,qr({rounded:n.rounded,elevation:n.elevation,theme:n.theme,class:["v-color-picker",D.value,n.class],style:[{"--v-color-picker-color-hsv":w6({...C.value??bm,a:1})},n.style]},p,{maxWidth:n.width}),{default:()=>[!n.hideCanvas&>(KV,{key:"canvas",color:C.value,"onUpdate:color":T,disabled:n.disabled,dotSize:n.dotSize,width:n.width,height:n.canvasHeight},null),(!n.hideSliders||!n.hideInputs)&>("div",{key:"controls",class:"v-color-picker__controls"},[!n.hideSliders&>(hj,{key:"preview",color:C.value,"onUpdate:color":T,hideAlpha:!e.value.endsWith("a"),disabled:n.disabled},null),!n.hideInputs&>(aj,{key:"edit",modes:n.modes,mode:e.value,"onUpdate:mode":t=>e.value=t,color:C.value,"onUpdate:color":T,disabled:n.disabled},null)]),n.showSwatches&>(Dj,{key:"swatches",color:C.value,"onUpdate:color":T,maxHeight:n.swatchesMaxHeight,swatches:n.swatches,disabled:n.disabled},null)]})}),{}}});function Bj(n,e,r){if(e==null)return n;if(Array.isArray(e))throw new Error("Multiple matches is not implemented");return typeof e=="number"&&~e?gt(Yr,null,[gt("span",{class:"v-combobox__unmask"},[n.substr(0,e)]),gt("span",{class:"v-combobox__mask"},[n.substr(e,r)]),gt("span",{class:"v-combobox__unmask"},[n.substr(e+r)])]):n}const Nj=ur({autoSelectFirst:{type:[Boolean,String]},delimiters:Array,...DA({filterKeys:["title"]}),...k_({hideNoData:!0,returnObject:!0}),...ic(c1({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...df({transition:!1})},"VCombobox"),Vj=Ar()({name:"VCombobox",props:Nj(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,"update:search":n=>!0,"update:menu":n=>!0},setup(n,e){var q;let{emit:r,slots:C}=e;const{t:D}=oc(),T=Vr(),p=Wr(!1),t=Wr(!0),d=Wr(!1),g=Vr(),i=Vr(),M=xi(n,"menu"),v=cn({get:()=>M.value,set:H=>{var ne;M.value&&!H&&((ne=g.value)!=null&&ne.ΨopenChildren)||(M.value=H)}}),f=Wr(-1);let l=!1;const a=cn(()=>{var H;return(H=T.value)==null?void 0:H.color}),u=cn(()=>v.value?n.closeText:n.openText),{items:o,transformIn:s,transformOut:c}=x_(n),{textColorClasses:h,textColorStyles:m}=Xs(a),w=xi(n,"modelValue",[],H=>s(bu(H)),H=>{const ne=c(H);return n.multiple?ne:ne[0]??null}),y=i1(),S=Wr(n.multiple?"":((q=w.value[0])==null?void 0:q.title)??""),_=cn({get:()=>S.value,set:H=>{var ne;if(S.value=H,n.multiple||(w.value=[zd(n,H)]),H&&n.multiple&&((ne=n.delimiters)!=null&&ne.length)){const te=H.split(new RegExp(`(?:${n.delimiters.join("|")})+`));te.length>1&&(te.forEach(Z=>{Z=Z.trim(),Z&&j(zd(n,Z))}),S.value="")}H||(f.value=-1),t.value=!H}});$r(S,H=>{l?Ua(()=>l=!1):p.value&&!v.value&&(v.value=!0),r("update:search",H)}),$r(w,H=>{var ne;n.multiple||(S.value=((ne=H[0])==null?void 0:ne.title)??"")});const{filteredItems:k,getMatches:E}=zA(n,o,()=>t.value?"":_.value),x=cn(()=>n.hideSelected?k.value.filter(H=>!w.value.some(ne=>ne.value===H.value)):k.value),A=cn(()=>w.value.map(H=>H.value)),L=cn(()=>{var ne;return(n.autoSelectFirst===!0||n.autoSelectFirst==="exact"&&_.value===((ne=x.value[0])==null?void 0:ne.title))&&x.value.length>0&&!t.value&&!d.value}),b=cn(()=>n.hideNoData&&!o.value.length||n.readonly||(y==null?void 0:y.isReadonly.value)),R=Vr(),{onListScroll:I,onListKeydown:O}=T_(R,T);function z(H){l=!0,n.openOnClear&&(v.value=!0)}function F(){b.value||(v.value=!0)}function B(H){b.value||(p.value&&(H.preventDefault(),H.stopPropagation()),v.value=!v.value)}function N(H){var Z;if(n.readonly||y!=null&&y.isReadonly.value)return;const ne=T.value.selectionStart,te=w.value.length;if((f.value>-1||["Enter","ArrowDown","ArrowUp"].includes(H.key))&&H.preventDefault(),["Enter","ArrowDown"].includes(H.key)&&(v.value=!0),["Escape"].includes(H.key)&&(v.value=!1),["Enter","Escape","Tab"].includes(H.key)&&(L.value&&["Enter","Tab"].includes(H.key)&&j(k.value[0]),t.value=!0),H.key==="ArrowDown"&&L.value&&((Z=R.value)==null||Z.focus("next")),!!n.multiple){if(["Backspace","Delete"].includes(H.key)){if(f.value<0){H.key==="Backspace"&&!_.value&&(f.value=te-1);return}const X=f.value,Q=w.value[f.value];Q&&j(Q),f.value=X>=te-1?te-2:X}if(H.key==="ArrowLeft"){if(f.value<0&&ne>0)return;const X=f.value>-1?f.value-1:te-1;w.value[X]?f.value=X:(f.value=-1,T.value.setSelectionRange(_.value.length,_.value.length))}if(H.key==="ArrowRight"){if(f.value<0)return;const X=f.value+1;w.value[X]?f.value=X:(f.value=-1,T.value.setSelectionRange(0,0))}H.key==="Enter"&&_.value&&(j(zd(n,_.value)),_.value="")}}function W(){var H;p.value&&(t.value=!0,(H=T.value)==null||H.focus())}function j(H){if(n.multiple){const ne=w.value.findIndex(te=>n.valueComparator(te.value,H.value));if(ne===-1)w.value=[...w.value,H];else{const te=[...w.value];te.splice(ne,1),w.value=te}_.value=""}else w.value=[H],S.value=H.title,Ua(()=>{v.value=!1,t.value=!0})}function $(H){p.value=!0,setTimeout(()=>{d.value=!0})}function U(H){d.value=!1}function G(H){(H==null||H===""&&!n.multiple)&&(w.value=[])}return $r(k,H=>{!H.length&&n.hideNoData&&(v.value=!1)}),$r(p,(H,ne)=>{H||H===ne||(f.value=-1,v.value=!1,L.value&&!d.value&&!w.value.some(te=>{let{value:Z}=te;return Z===x.value[0].value})?j(x.value[0]):n.multiple&&_.value&&(w.value=[...w.value,zd(n,_.value)],_.value=""))}),$r(v,()=>{if(!n.hideSelected&&v.value&&w.value.length){const H=x.value.findIndex(ne=>w.value.some(te=>n.valueComparator(te.value,ne.value)));to&&window.requestAnimationFrame(()=>{var ne;H>=0&&((ne=i.value)==null||ne.scrollToIndex(H))})}}),Or(()=>{const H=!!(n.chips||C.chip),ne=!!(!n.hideNoData||x.value.length||C["prepend-item"]||C["append-item"]||C["no-data"]),te=w.value.length>0,[Z]=Kd.filterProps(n);return gt(Kd,qr({ref:T},Z,{modelValue:_.value,"onUpdate:modelValue":[X=>_.value=X,G],focused:p.value,"onUpdate:focused":X=>p.value=X,validationValue:w.externalValue,dirty:te,class:["v-combobox",{"v-combobox--active-menu":v.value,"v-combobox--chips":!!n.chips,"v-combobox--selection-slot":!!C.selection,"v-combobox--selecting-index":f.value>-1,[`v-combobox--${n.multiple?"multiple":"single"}`]:!0},n.class],style:n.style,readonly:n.readonly,placeholder:te?void 0:n.placeholder,"onClick:clear":z,"onMousedown:control":F,onKeydown:N}),{...C,default:()=>gt(Yr,null,[gt(s1,qr({ref:g,modelValue:v.value,"onUpdate:modelValue":X=>v.value=X,activator:"parent",contentClass:"v-combobox__content",disabled:b.value,eager:n.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:n.transition,onAfterLeave:W},n.menuProps),{default:()=>[ne&>(a1,{ref:R,selected:A.value,selectStrategy:n.multiple?"independent":"single-independent",onMousedown:X=>X.preventDefault(),onKeydown:O,onFocusin:$,onFocusout:U,onScrollPassive:I,tabindex:"-1",color:n.itemColor??n.color},{default:()=>{var X,Q,re;return[(X=C["prepend-item"])==null?void 0:X.call(C),!x.value.length&&!n.hideNoData&&(((Q=C["no-data"])==null?void 0:Q.call(C))??gt(af,{title:D(n.noDataText)},null)),gt(h1,{ref:i,renderless:!0,items:x.value},{default:ie=>{var de;let{item:oe,index:ue,itemRef:ce}=ie;const ye=qr(oe.props,{ref:ce,key:ue,active:L.value&&ue===0?!0:void 0,onClick:()=>j(oe)});return((de=C.item)==null?void 0:de.call(C,{item:oe,index:ue,props:ye}))??gt(af,ye,{prepend:me=>{let{isSelected:pe}=me;return gt(Yr,null,[n.multiple&&!n.hideSelected?gt(h0,{key:oe.value,modelValue:pe,ripple:!1,tabindex:"-1"},null):void 0,oe.props.prependIcon&>(ja,{icon:oe.props.prependIcon},null)])},title:()=>{var me,pe;return t.value?oe.title:Bj(oe.title,(me=E(oe))==null?void 0:me.title,((pe=_.value)==null?void 0:pe.length)??0)}})}}),(re=C["append-item"])==null?void 0:re.call(C)]}})]}),w.value.map((X,Q)=>{var oe;function re(ue){ue.stopPropagation(),ue.preventDefault(),j(X)}const ie={"onClick:close":re,onMousedown(ue){ue.preventDefault(),ue.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return gt("div",{key:X.value,class:["v-combobox__selection",Q===f.value&&["v-combobox__selection--selected",h.value]],style:Q===f.value?m.value:{}},[H?C.chip?gt(Fa,{key:"chip-defaults",defaults:{VChip:{closable:n.closableChips,size:"small",text:X.title}}},{default:()=>{var ue;return[(ue=C.chip)==null?void 0:ue.call(C,{item:X,index:Q,props:ie})]}}):gt(ug,qr({key:"chip",closable:n.closableChips,size:"small",text:X.title},ie),null):((oe=C.selection)==null?void 0:oe.call(C,{item:X,index:Q}))??gt("span",{class:"v-combobox__selection-text"},[X.title,n.multiple&&Q!0},setup(n,e){let{slots:r}=e;const C=xi(n,"modelValue"),{scopeId:D}=E0(),T=Vr();function p(d){var M,v;const g=d.relatedTarget,i=d.target;if(g!==i&&((M=T.value)!=null&&M.contentEl)&&((v=T.value)!=null&&v.globalTop)&&![document,T.value.contentEl].includes(i)&&!T.value.contentEl.contains(i)){const f=Dm(T.value.contentEl);if(!f.length)return;const l=f[0],a=f[f.length-1];g===l?a.focus():l.focus()}}to&&$r(()=>C.value&&n.retainFocus,d=>{d?document.addEventListener("focusin",p):document.removeEventListener("focusin",p)},{immediate:!0}),$r(C,async d=>{var g,i;await Ua(),d?(g=T.value.contentEl)==null||g.focus({preventScroll:!0}):(i=T.value.activatorEl)==null||i.focus({preventScroll:!0})});const t=cn(()=>qr({"aria-haspopup":"dialog","aria-expanded":String(C.value)},n.activatorProps));return Or(()=>{const[d]=of.filterProps(n);return gt(of,qr({ref:T,class:["v-dialog",{"v-dialog--fullscreen":n.fullscreen,"v-dialog--scrollable":n.scrollable},n.class],style:n.style},d,{modelValue:C.value,"onUpdate:modelValue":g=>C.value=g,"aria-modal":"true",activatorProps:t.value,role:"dialog"},D),{activator:r.activator,default:function(){for(var g=arguments.length,i=new Array(g),M=0;M{var v;return[(v=r.default)==null?void 0:v.call(r,...i)]}})}})}),Vc({},T)}});const jm=Symbol.for("vuetify:v-expansion-panel"),Hj=["default","accordion","inset","popout"],Gj=ur({color:String,variant:{type:String,default:"default",validator:n=>Hj.includes(n)},readonly:Boolean,...Zr(),...w0(),...Si(),...oa()},"VExpansionPanels"),qj=Ar()({name:"VExpansionPanels",props:Gj(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;ip(n,jm);const{themeClasses:C}=Ma(n),D=cn(()=>n.variant&&`v-expansion-panels--variant-${n.variant}`);return es({VExpansionPanel:{color:Cr(n,"color")},VExpansionPanelTitle:{readonly:Cr(n,"readonly")}}),Or(()=>gt(n.tag,{class:["v-expansion-panels",C.value,D.value,n.class],style:n.style},r)),{}}}),Wj=ur({...Zr(),...o1()},"VExpansionPanelText"),nS=Ar()({name:"VExpansionPanelText",props:Wj(),setup(n,e){let{slots:r}=e;const C=ka(jm);if(!C)throw new Error("[Vuetify] v-expansion-panel-text needs to be placed inside v-expansion-panel");const{hasContent:D,onAfterLeave:T}=__(n,C.isSelected);return Or(()=>gt(e1,{onAfterLeave:T},{default:()=>{var p;return[Co(gt("div",{class:["v-expansion-panel-text",n.class],style:n.style},[r.default&&D.value&>("div",{class:"v-expansion-panel-text__wrapper"},[(p=r.default)==null?void 0:p.call(r)])]),[[kh,C.isSelected.value]])]}})),{}}}),rS=ur({color:String,expandIcon:{type:bi,default:"$expand"},collapseIcon:{type:bi,default:"$collapse"},hideActions:Boolean,ripple:{type:[Boolean,Object],default:!1},readonly:Boolean,...Zr()},"VExpansionPanelTitle"),iS=Ar()({name:"VExpansionPanelTitle",directives:{Ripple:nd},props:rS(),setup(n,e){let{slots:r}=e;const C=ka(jm);if(!C)throw new Error("[Vuetify] v-expansion-panel-title needs to be placed inside v-expansion-panel");const{backgroundColorClasses:D,backgroundColorStyles:T}=Oo(n,"color"),p=cn(()=>({collapseIcon:n.collapseIcon,disabled:C.disabled.value,expanded:C.isSelected.value,expandIcon:n.expandIcon,readonly:n.readonly}));return Or(()=>{var t;return Co(gt("button",{class:["v-expansion-panel-title",{"v-expansion-panel-title--active":C.isSelected.value},D.value,n.class],style:[T.value,n.style],type:"button",tabindex:C.disabled.value?-1:void 0,disabled:C.disabled.value,"aria-expanded":C.isSelected.value,onClick:n.readonly?void 0:C.toggle},[gt("span",{class:"v-expansion-panel-title__overlay"},null),(t=r.default)==null?void 0:t.call(r,p.value),!n.hideActions&>("span",{class:"v-expansion-panel-title__icon"},[r.actions?r.actions(p.value):gt(ja,{icon:C.isSelected.value?n.collapseIcon:n.expandIcon},null)])]),[[Tu("ripple"),n.ripple]])}),{}}}),Yj=ur({title:String,text:String,bgColor:String,...Zr(),...fs(),...T0(),...o1(),...lo(),...Si(),...rS()},"VExpansionPanel"),$j=Ar()({name:"VExpansionPanel",props:Yj(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const C=k0(n,jm),{backgroundColorClasses:D,backgroundColorStyles:T}=Oo(n,"bgColor"),{elevationClasses:p}=Vs(n),{roundedClasses:t}=Eo(n),d=cn(()=>(C==null?void 0:C.disabled.value)||n.disabled),g=cn(()=>C.group.items.value.reduce((v,f,l)=>(C.group.selected.value.includes(f.id)&&v.push(l),v),[])),i=cn(()=>{const v=C.group.items.value.findIndex(f=>f.id===C.id);return!C.isSelected.value&&g.value.some(f=>f-v===1)}),M=cn(()=>{const v=C.group.items.value.findIndex(f=>f.id===C.id);return!C.isSelected.value&&g.value.some(f=>f-v===-1)});return ts(jm,C),es({VExpansionPanelText:{eager:Cr(n,"eager")}}),Or(()=>{const v=!!(r.text||n.text),f=!!(r.title||n.title);return gt(n.tag,{class:["v-expansion-panel",{"v-expansion-panel--active":C.isSelected.value,"v-expansion-panel--before-active":i.value,"v-expansion-panel--after-active":M.value,"v-expansion-panel--disabled":d.value},t.value,D.value,n.class],style:[T.value,n.style]},{default:()=>{var l;return[gt("div",{class:["v-expansion-panel__shadow",...p.value]},null),f&>(iS,{key:"title",collapseIcon:n.collapseIcon,color:n.color,expandIcon:n.expandIcon,hideActions:n.hideActions,ripple:n.ripple},{default:()=>[r.title?r.title():n.title]}),v&>(nS,{key:"text"},{default:()=>[r.text?r.text():n.text]}),(l=r.default)==null?void 0:l.call(r)]}})}),{}}});const Zj=ur({chips:Boolean,counter:Boolean,counterSizeString:{type:String,default:"$vuetify.fileInput.counterSize"},counterString:{type:String,default:"$vuetify.fileInput.counter"},multiple:Boolean,showSize:{type:[Boolean,Number],default:!1,validator:n=>typeof n=="boolean"||[1e3,1024].includes(n)},...mf({prependIcon:"$file"}),modelValue:{type:Array,default:()=>[],validator:n=>bu(n).every(e=>e!=null&&typeof e=="object")},...u1({clearable:!0})},"VFileInput"),Xj=Ar()({name:"VFileInput",inheritAttrs:!1,props:Zj(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:C,slots:D}=e;const{t:T}=oc(),p=xi(n,"modelValue"),{isFocused:t,focus:d,blur:g}=rd(n),i=cn(()=>typeof n.showSize!="boolean"?n.showSize:void 0),M=cn(()=>(p.value??[]).reduce((_,k)=>{let{size:E=0}=k;return _+E},0)),v=cn(()=>T5(M.value,i.value)),f=cn(()=>(p.value??[]).map(_=>{const{name:k="",size:E=0}=_;return n.showSize?`${k} (${T5(E,i.value)})`:k})),l=cn(()=>{var k;const _=((k=p.value)==null?void 0:k.length)??0;return n.showSize?T(n.counterSizeString,_,v.value):T(n.counterString,_)}),a=Vr(),u=Vr(),o=Vr(),s=cn(()=>t.value||n.active),c=cn(()=>["plain","underlined"].includes(n.variant));function h(){var _;o.value!==document.activeElement&&((_=o.value)==null||_.focus()),t.value||d()}function m(_){y(_)}function w(_){C("mousedown:control",_)}function y(_){var k;(k=o.value)==null||k.click(),C("click:control",_)}function S(_){_.stopPropagation(),h(),Ua(()=>{p.value=[],K2(n["onClick:clear"],_)})}return $r(p,_=>{(!Array.isArray(_)||!_.length)&&o.value&&(o.value.value="")}),Or(()=>{const _=!!(D.counter||n.counter),k=!!(_||D.details),[E,x]=Qd(r),[{modelValue:A,...L}]=Bs.filterProps(n),[b]=w_(n);return gt(Bs,qr({ref:a,modelValue:p.value,"onUpdate:modelValue":R=>p.value=R,class:["v-file-input",{"v-text-field--plain-underlined":c.value},n.class],style:n.style,"onClick:prepend":m},E,L,{centerAffix:!c.value,focused:t.value}),{...D,default:R=>{let{id:I,isDisabled:O,isDirty:z,isReadonly:F,isValid:B}=R;return gt(hg,qr({ref:u,"prepend-icon":n.prependIcon,onMousedown:w,onClick:y,"onClick:clear":S,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"]},b,{id:I.value,active:s.value||z.value,dirty:z.value,disabled:O.value,focused:t.value,error:B.value===!1}),{...D,default:N=>{var $;let{props:{class:W,...j}}=N;return gt(Yr,null,[gt("input",qr({ref:o,type:"file",readonly:F.value,disabled:O.value,multiple:n.multiple,name:n.name,onClick:U=>{U.stopPropagation(),F.value&&U.preventDefault(),h()},onChange:U=>{if(!U.target)return;const G=U.target;p.value=[...G.files??[]]},onFocus:h,onBlur:g},j,x),null),gt("div",{class:W},[!!(($=p.value)!=null&&$.length)&&(D.selection?D.selection({fileNames:f.value,totalBytes:M.value,totalBytesReadable:v.value}):n.chips?f.value.map(U=>gt(ug,{key:U,size:"small",color:n.color},{default:()=>[U]})):f.value.join(", "))])])}})},details:k?R=>{var I,O;return gt(Yr,null,[(I=D.details)==null?void 0:I.call(D,R),_&>(Yr,null,[gt("span",null,null),gt(l1,{active:!!((O=p.value)!=null&&O.length),value:l.value},D.counter)])])}:void 0})}),Vc({},a,u,o)}});const Kj=ur({app:Boolean,color:String,height:{type:[Number,String],default:"auto"},...Su(),...Zr(),...fs(),...x0(),...lo(),...Si({tag:"footer"}),...oa()},"VFooter"),Jj=Ar()({name:"VFooter",props:Kj(),setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{backgroundColorClasses:D,backgroundColorStyles:T}=Oo(Cr(n,"color")),{borderClasses:p}=uc(n),{elevationClasses:t}=Vs(n),{roundedClasses:d}=Eo(n),g=Wr(32),{resizeRef:i}=Th(f=>{f.length&&(g.value=f[0].target.clientHeight)}),M=cn(()=>n.height==="auto"?g.value:parseInt(n.height,10)),{layoutItemStyles:v}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:cn(()=>"bottom"),layoutSize:M,elementSize:cn(()=>n.height==="auto"?void 0:M.value),active:cn(()=>n.app),absolute:Cr(n,"absolute")});return Or(()=>gt(n.tag,{ref:i,class:["v-footer",C.value,D.value,p.value,t.value,d.value,n.class],style:[T.value,n.app?v.value:{height:Qr(n.height)},n.style]},r)),{}}}),Qj=ur({...Zr(),...cN()},"VForm"),eU=Ar()({name:"VForm",props:Qj(),emits:{"update:modelValue":n=>!0,submit:n=>!0},setup(n,e){let{slots:r,emit:C}=e;const D=hN(n),T=Vr();function p(d){d.preventDefault(),D.reset()}function t(d){const g=d,i=D.validate();g.then=i.then.bind(i),g.catch=i.catch.bind(i),g.finally=i.finally.bind(i),C("submit",g),g.defaultPrevented||i.then(M=>{var f;let{valid:v}=M;v&&((f=T.value)==null||f.submit())}),g.preventDefault()}return Or(()=>{var d;return gt("form",{ref:T,class:["v-form",n.class],style:n.style,novalidate:!0,onReset:p,onSubmit:t},[(d=r.default)==null?void 0:d.call(r,D)])}),Vc(D,T)}});const tU=ur({fluid:{type:Boolean,default:!1},...Zr(),...Si()},"VContainer"),nU=Ar()({name:"VContainer",props:tU(),setup(n,e){let{slots:r}=e;const{rtlClasses:C}=Cs();return Or(()=>gt(n.tag,{class:["v-container",{"v-container--fluid":n.fluid},C.value,n.class],style:n.style},r)),{}}}),aS=(()=>Ky.reduce((n,e)=>(n[e]={type:[Boolean,String,Number],default:!1},n),{}))(),oS=(()=>Ky.reduce((n,e)=>{const r="offset"+sf(e);return n[r]={type:[String,Number],default:null},n},{}))(),sS=(()=>Ky.reduce((n,e)=>{const r="order"+sf(e);return n[r]={type:[String,Number],default:null},n},{}))(),lT={col:Object.keys(aS),offset:Object.keys(oS),order:Object.keys(sS)};function rU(n,e,r){let C=n;if(!(r==null||r===!1)){if(e){const D=e.replace(n,"");C+=`-${D}`}return n==="col"&&(C="v-"+C),n==="col"&&(r===""||r===!0)||(C+=`-${r}`),C.toLowerCase()}}const iU=["auto","start","end","center","baseline","stretch"],aU=ur({cols:{type:[Boolean,String,Number],default:!1},...aS,offset:{type:[String,Number],default:null},...oS,order:{type:[String,Number],default:null},...sS,alignSelf:{type:String,default:null,validator:n=>iU.includes(n)},...Zr(),...Si()},"VCol"),oU=Ar()({name:"VCol",props:aU(),setup(n,e){let{slots:r}=e;const C=cn(()=>{const D=[];let T;for(T in lT)lT[T].forEach(t=>{const d=n[t],g=rU(T,t,d);g&&D.push(g)});const p=D.some(t=>t.startsWith("v-col-"));return D.push({"v-col":!p||!n.cols,[`v-col-${n.cols}`]:n.cols,[`offset-${n.offset}`]:n.offset,[`order-${n.order}`]:n.order,[`align-self-${n.alignSelf}`]:n.alignSelf}),D});return()=>{var D;return Xf(n.tag,{class:[C.value,n.class],style:n.style},(D=r.default)==null?void 0:D.call(r))}}}),S_=["start","end","center"],lS=["space-between","space-around","space-evenly"];function C_(n,e){return Ky.reduce((r,C)=>{const D=n+sf(C);return r[D]=e(),r},{})}const sU=[...S_,"baseline","stretch"],uS=n=>sU.includes(n),cS=C_("align",()=>({type:String,default:null,validator:uS})),lU=[...S_,...lS],hS=n=>lU.includes(n),fS=C_("justify",()=>({type:String,default:null,validator:hS})),uU=[...S_,...lS,"stretch"],dS=n=>uU.includes(n),pS=C_("alignContent",()=>({type:String,default:null,validator:dS})),uT={align:Object.keys(cS),justify:Object.keys(fS),alignContent:Object.keys(pS)},cU={align:"align",justify:"justify",alignContent:"align-content"};function hU(n,e,r){let C=cU[n];if(r!=null){if(e){const D=e.replace(n,"");C+=`-${D}`}return C+=`-${r}`,C.toLowerCase()}}const fU=ur({dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:uS},...cS,justify:{type:String,default:null,validator:hS},...fS,alignContent:{type:String,default:null,validator:dS},...pS,...Zr(),...Si()},"VRow"),dU=Ar()({name:"VRow",props:fU(),setup(n,e){let{slots:r}=e;const C=cn(()=>{const D=[];let T;for(T in uT)uT[T].forEach(p=>{const t=n[p],d=hU(T,p,t);d&&D.push(d)});return D.push({"v-row--no-gutters":n.noGutters,"v-row--dense":n.dense,[`align-${n.align}`]:n.align,[`justify-${n.justify}`]:n.justify,[`align-content-${n.alignContent}`]:n.alignContent}),D});return()=>{var D;return Xf(n.tag,{class:["v-row",C.value,n.class],style:n.style},(D=r.default)==null?void 0:D.call(r))}}}),pU=Nc("v-spacer","div","VSpacer"),mU=ur({disabled:Boolean,modelValue:{type:Boolean,default:void 0},...EA()},"VHover"),gU=Ar()({name:"VHover",props:mU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const C=xi(n,"modelValue"),{runOpenDelay:D,runCloseDelay:T}=LA(n,p=>!n.disabled&&(C.value=p));return()=>{var p;return(p=r.default)==null?void 0:p.call(r,{isHovering:C.value,props:{onMouseenter:D,onMouseleave:T}})}}});const mS=Symbol.for("vuetify:v-item-group"),vU=ur({...Zr(),...w0({selectedClass:"v-item--selected"}),...Si(),...oa()},"VItemGroup"),yU=Ar()({name:"VItemGroup",props:vU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{isSelected:D,select:T,next:p,prev:t,selected:d}=ip(n,mS);return()=>gt(n.tag,{class:["v-item-group",C.value,n.class],style:n.style},{default:()=>{var g;return[(g=r.default)==null?void 0:g.call(r,{isSelected:D,select:T,next:p,prev:t,selected:d.value})]}})}}),bU=Ar()({name:"VItem",props:T0(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const{isSelected:C,select:D,toggle:T,selectedClass:p,value:t,disabled:d}=k0(n,mS);return()=>{var g;return(g=r.default)==null?void 0:g.call(r,{isSelected:C.value,selectedClass:p.value,select:D,toggle:T,value:t.value,disabled:d.value})}}});const xU=Nc("v-kbd");const _U=ur({...Zr(),...z6()},"VLayout"),wU=Ar()({name:"VLayout",props:_U(),setup(n,e){let{slots:r}=e;const{layoutClasses:C,layoutStyles:D,getLayoutItem:T,items:p,layoutRef:t}=F6(n);return Or(()=>{var d;return gt("div",{ref:t,class:[C.value,n.class],style:[D.value,n.style]},[(d=r.default)==null?void 0:d.call(r)])}),{getLayoutItem:T,items:p}}});const TU=ur({position:{type:String,required:!0},size:{type:[Number,String],default:300},modelValue:Boolean,...Zr(),...x0()},"VLayoutItem"),kU=Ar()({name:"VLayoutItem",props:TU(),setup(n,e){let{slots:r}=e;const{layoutItemStyles:C}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:Cr(n,"position"),elementSize:Cr(n,"size"),layoutSize:Cr(n,"size"),active:Cr(n,"modelValue"),absolute:Cr(n,"absolute")});return()=>{var D;return gt("div",{class:["v-layout-item",n.class],style:[C.value,n.style]},[(D=r.default)==null?void 0:D.call(r)])}}}),MU=ur({modelValue:Boolean,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},...Zr(),...sc(),...Si(),...df({transition:"fade-transition"})},"VLazy"),AU=Ar()({name:"VLazy",directives:{intersect:og},props:MU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{dimensionStyles:C}=lc(n),D=xi(n,"modelValue");function T(p){D.value||(D.value=p)}return Or(()=>Co(gt(n.tag,{class:["v-lazy",n.class],style:[C.value,n.style]},{default:()=>[D.value&>(Oc,{transition:n.transition,appear:!0},{default:()=>{var p;return[(p=r.default)==null?void 0:p.call(r)]}})]}),[[Tu("intersect"),{handler:T,options:n.options},null]])),{}}});const SU=ur({locale:String,fallbackLocale:String,messages:Object,rtl:{type:Boolean,default:void 0},...Zr()},"VLocaleProvider"),CU=Ar()({name:"VLocaleProvider",props:SU(),setup(n,e){let{slots:r}=e;const{rtlClasses:C}=FF(n);return Or(()=>{var D;return gt("div",{class:["v-locale-provider",C.value,n.class],style:n.style},[(D=r.default)==null?void 0:D.call(r)])}),{}}});const EU=ur({scrollable:Boolean,...Zr(),...Si({tag:"main"})},"VMain"),LU=Ar()({name:"VMain",props:EU(),setup(n,e){let{slots:r}=e;const{mainStyles:C}=hB(),{ssrBootStyles:D}=tp();return Or(()=>gt(n.tag,{class:["v-main",{"v-main--scrollable":n.scrollable},n.class],style:[C.value,D.value,n.style]},{default:()=>{var T,p;return[n.scrollable?gt("div",{class:"v-main__scroller"},[(T=r.default)==null?void 0:T.call(r)]):(p=r.default)==null?void 0:p.call(r)]}})),{}}});function IU(n){let{rootEl:e,isSticky:r,layoutItemStyles:C}=n;const D=Wr(!1),T=Wr(0),p=cn(()=>{const g=typeof D.value=="boolean"?"top":D.value;return[r.value?{top:"auto",bottom:"auto",height:void 0}:void 0,D.value?{[g]:Qr(T.value)}:{top:C.value.top}]});Ks(()=>{$r(r,g=>{g?window.addEventListener("scroll",d,{passive:!0}):window.removeEventListener("scroll",d)},{immediate:!0})}),Tl(()=>{window.removeEventListener("scroll",d)});let t=0;function d(){const g=t>window.scrollY?"up":"down",i=e.value.getBoundingClientRect(),M=parseFloat(C.value.top??0),v=window.scrollY-Math.max(0,T.value-M),f=i.height+Math.max(T.value,M)-window.scrollY-window.innerHeight,l=parseFloat(getComputedStyle(e.value).getPropertyValue("--v-body-scroll-y"))||0;i.height0;r--){if(n[r].t===n[r-1].t)continue;const C=cT(e),D=(n[r].d-n[r-1].d)/(n[r].t-n[r-1].t);e+=(D-C)*Math.abs(D),r===n.length-1&&(e*=.5)}return cT(e)*1e3}function OU(){const n={};function e(D){Array.from(D.changedTouches).forEach(T=>{(n[T.identifier]??(n[T.identifier]=new qz(PU))).push([D.timeStamp,T])})}function r(D){Array.from(D.changedTouches).forEach(T=>{delete n[T.identifier]})}function C(D){var g;const T=(g=n[D])==null?void 0:g.values().reverse();if(!T)throw new Error(`No samples for touch id ${D}`);const p=T[0],t=[],d=[];for(const i of T){if(p[0]-i[0]>RU)break;t.push({t:i[0],d:i[1].clientX}),d.push({t:i[0],d:i[1].clientY})}return{x:hT(t),y:hT(d),get direction(){const{x:i,y:M}=this,[v,f]=[Math.abs(i),Math.abs(M)];return v>f&&i>=0?"right":v>f&&i<=0?"left":f>v&&M>=0?"down":f>v&&M<=0?"up":DU()}}}return{addMovement:e,endTouch:r,getVelocity:C}}function DU(){throw new Error}function zU(n){let{isActive:e,isTemporary:r,width:C,touchless:D,position:T}=n;Ks(()=>{window.addEventListener("touchstart",o,{passive:!0}),window.addEventListener("touchmove",s,{passive:!1}),window.addEventListener("touchend",c,{passive:!0})}),Tl(()=>{window.removeEventListener("touchstart",o),window.removeEventListener("touchmove",s),window.removeEventListener("touchend",c)});const p=cn(()=>["left","right"].includes(T.value)),{addMovement:t,endTouch:d,getVelocity:g}=OU();let i=!1;const M=Wr(!1),v=Wr(0),f=Wr(0);let l;function a(m,w){return(T.value==="left"?m:T.value==="right"?document.documentElement.clientWidth-m:T.value==="top"?m:T.value==="bottom"?document.documentElement.clientHeight-m:Lp())-(w?C.value:0)}function u(m){let w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const y=T.value==="left"?(m-f.value)/C.value:T.value==="right"?(document.documentElement.clientWidth-m-f.value)/C.value:T.value==="top"?(m-f.value)/C.value:T.value==="bottom"?(document.documentElement.clientHeight-m-f.value)/C.value:Lp();return w?Math.max(0,Math.min(1,y)):y}function o(m){if(D.value)return;const w=m.changedTouches[0].clientX,y=m.changedTouches[0].clientY,S=25,_=T.value==="left"?wdocument.documentElement.clientWidth-S:T.value==="top"?ydocument.documentElement.clientHeight-S:Lp(),k=e.value&&(T.value==="left"?wdocument.documentElement.clientWidth-C.value:T.value==="top"?ydocument.documentElement.clientHeight-C.value:Lp());(_||k||e.value&&r.value)&&(i=!0,l=[w,y],f.value=a(p.value?w:y,e.value),v.value=u(p.value?w:y),d(m),t(m))}function s(m){const w=m.changedTouches[0].clientX,y=m.changedTouches[0].clientY;if(i){if(!m.cancelable){i=!1;return}const _=Math.abs(w-l[0]),k=Math.abs(y-l[1]);(p.value?_>k&&_>3:k>_&&k>3)?(M.value=!0,i=!1):(p.value?k:_)>3&&(i=!1)}if(!M.value)return;m.preventDefault(),t(m);const S=u(p.value?w:y,!1);v.value=Math.max(0,Math.min(1,S)),S>1?f.value=a(p.value?w:y,!0):S<0&&(f.value=a(p.value?w:y,!1))}function c(m){if(i=!1,!M.value)return;t(m),M.value=!1;const w=g(m.changedTouches[0].identifier),y=Math.abs(w.x),S=Math.abs(w.y);(p.value?y>S&&y>400:S>y&&S>3)?e.value=w.direction===({left:"right",right:"left",top:"down",bottom:"up"}[T.value]||Lp()):e.value=v.value>.5}const h=cn(()=>M.value?{transform:T.value==="left"?`translateX(calc(-100% + ${v.value*C.value}px))`:T.value==="right"?`translateX(calc(100% - ${v.value*C.value}px))`:T.value==="top"?`translateY(calc(-100% + ${v.value*C.value}px))`:T.value==="bottom"?`translateY(calc(100% - ${v.value*C.value}px))`:Lp(),transition:"none"}:void 0);return{isDragging:M,dragProgress:v,dragStyles:h}}function Lp(){throw new Error}const FU=["start","end","left","right","top","bottom"],BU=ur({color:String,disableResizeWatcher:Boolean,disableRouteWatcher:Boolean,expandOnHover:Boolean,floating:Boolean,modelValue:{type:Boolean,default:null},permanent:Boolean,rail:{type:Boolean,default:null},railWidth:{type:[Number,String],default:56},scrim:{type:[Boolean,String],default:!0},image:String,temporary:Boolean,touchless:Boolean,width:{type:[Number,String],default:256},location:{type:String,default:"start",validator:n=>FU.includes(n)},sticky:Boolean,...Su(),...Zr(),...fs(),...x0(),...lo(),...Si({tag:"nav"}),...oa()},"VNavigationDrawer"),NU=Ar()({name:"VNavigationDrawer",props:BU(),emits:{"update:modelValue":n=>!0,"update:rail":n=>!0},setup(n,e){let{attrs:r,emit:C,slots:D}=e;const{isRtl:T}=Cs(),{themeClasses:p}=Ma(n),{borderClasses:t}=uc(n),{backgroundColorClasses:d,backgroundColorStyles:g}=Oo(Cr(n,"color")),{elevationClasses:i}=Vs(n),{mobile:M}=ep(),{roundedClasses:v}=Eo(n),f=$6(),l=xi(n,"modelValue",null,z=>!!z),{ssrBootStyles:a}=tp(),{scopeId:u}=E0(),o=Vr(),s=Wr(!1),c=cn(()=>n.rail&&n.expandOnHover&&s.value?Number(n.width):Number(n.rail?n.railWidth:n.width)),h=cn(()=>ux(n.location,T.value)),m=cn(()=>!n.permanent&&(M.value||n.temporary)),w=cn(()=>n.sticky&&!m.value&&h.value!=="bottom");n.expandOnHover&&n.rail!=null&&$r(s,z=>C("update:rail",!z)),n.disableResizeWatcher||$r(m,z=>!n.permanent&&Ua(()=>l.value=!z)),!n.disableRouteWatcher&&f&&$r(f.currentRoute,()=>m.value&&(l.value=!1)),$r(()=>n.permanent,z=>{z&&(l.value=!0)}),Sy(()=>{n.modelValue!=null||m.value||(l.value=n.permanent||!M.value)});const{isDragging:y,dragProgress:S,dragStyles:_}=zU({isActive:l,isTemporary:m,width:c,touchless:Cr(n,"touchless"),position:h}),k=cn(()=>{const z=m.value?0:n.rail&&n.expandOnHover?Number(n.railWidth):c.value;return y.value?z*S.value:z}),{layoutItemStyles:E,layoutItemScrimStyles:x}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:h,layoutSize:k,elementSize:c,active:cn(()=>l.value||y.value),disableTransitions:cn(()=>y.value),absolute:cn(()=>n.absolute||w.value&&typeof A.value!="string")}),{isStuck:A,stickyStyles:L}=IU({rootEl:o,isSticky:w,layoutItemStyles:E}),b=Oo(cn(()=>typeof n.scrim=="string"?n.scrim:null)),R=cn(()=>({...y.value?{opacity:S.value*.2,transition:"none"}:void 0,...x.value}));es({VList:{bgColor:"transparent"}});function I(){s.value=!0}function O(){s.value=!1}return Or(()=>{const z=D.image||n.image;return gt(Yr,null,[gt(n.tag,qr({ref:o,onMouseenter:I,onMouseleave:O,class:["v-navigation-drawer",`v-navigation-drawer--${h.value}`,{"v-navigation-drawer--expand-on-hover":n.expandOnHover,"v-navigation-drawer--floating":n.floating,"v-navigation-drawer--is-hovering":s.value,"v-navigation-drawer--rail":n.rail,"v-navigation-drawer--temporary":m.value,"v-navigation-drawer--active":l.value,"v-navigation-drawer--sticky":w.value},p.value,d.value,t.value,i.value,v.value,n.class],style:[g.value,E.value,_.value,a.value,L.value,n.style]},u,r),{default:()=>{var F,B,N,W;return[z&>("div",{key:"image",class:"v-navigation-drawer__img"},[D.image?(F=D.image)==null?void 0:F.call(D,{image:n.image}):gt("img",{src:n.image,alt:""},null)]),D.prepend&>("div",{class:"v-navigation-drawer__prepend"},[(B=D.prepend)==null?void 0:B.call(D)]),gt("div",{class:"v-navigation-drawer__content"},[(N=D.default)==null?void 0:N.call(D)]),D.append&>("div",{class:"v-navigation-drawer__append"},[(W=D.append)==null?void 0:W.call(D)])]}}),gt(bh,{name:"fade-transition"},{default:()=>[m.value&&(y.value||l.value)&&!!n.scrim&>("div",qr({class:["v-navigation-drawer__scrim",b.backgroundColorClasses.value],style:[R.value,b.backgroundColorStyles.value],onClick:()=>l.value=!1},u),null)]})])}),{isStuck:A}}}),VU=ac({name:"VNoSsr",setup(n,e){let{slots:r}=e;const C=IA();return()=>{var D;return C.value&&((D=r.default)==null?void 0:D.call(r))}}});function jU(){const n=Vr([]);KT(()=>n.value=[]);function e(r,C){n.value[C]=r}return{refs:n,updateRef:e}}const UU=ur({activeColor:String,start:{type:[Number,String],default:1},modelValue:{type:Number,default:n=>n.start},disabled:Boolean,length:{type:[Number,String],default:1,validator:n=>n%1===0},totalVisible:[Number,String],firstIcon:{type:bi,default:"$first"},prevIcon:{type:bi,default:"$prev"},nextIcon:{type:bi,default:"$next"},lastIcon:{type:bi,default:"$last"},ariaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.root"},pageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.page"},currentPageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.currentPage"},firstAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.first"},previousAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.previous"},nextAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.next"},lastAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.last"},ellipsis:{type:String,default:"..."},showFirstLastPage:Boolean,...Su(),...Zr(),...ds(),...fs(),...lo(),...pf(),...Si({tag:"nav"}),...oa(),...cc({variant:"text"})},"VPagination"),HU=Ar()({name:"VPagination",props:UU(),emits:{"update:modelValue":n=>!0,first:n=>!0,prev:n=>!0,next:n=>!0,last:n=>!0},setup(n,e){let{slots:r,emit:C}=e;const D=xi(n,"modelValue"),{t:T,n:p}=oc(),{isRtl:t}=Cs(),{themeClasses:d}=Ma(n),{width:g}=ep(),i=Wr(-1);es(void 0,{scoped:!0});const{resizeRef:M}=Th(S=>{if(!S.length)return;const{target:_,contentRect:k}=S[0],E=_.querySelector(".v-pagination__list > *");if(!E)return;const x=k.width,A=E.offsetWidth+parseFloat(getComputedStyle(E).marginRight)*2;i.value=a(x,A)}),v=cn(()=>parseInt(n.length,10)),f=cn(()=>parseInt(n.start,10)),l=cn(()=>n.totalVisible?parseInt(n.totalVisible,10):i.value>=0?i.value:a(g.value,58));function a(S,_){const k=n.showFirstLastPage?5:3;return Math.max(0,Math.floor(+((S-_*k)/_).toFixed(2)))}const u=cn(()=>{if(v.value<=0||isNaN(v.value)||v.value>Number.MAX_SAFE_INTEGER)return[];if(l.value<=1)return[D.value];if(v.value<=l.value)return Kh(v.value,f.value);const S=l.value%2===0,_=S?l.value/2:Math.floor(l.value/2),k=S?_:_+1,E=v.value-_;if(k-D.value>=0)return[...Kh(Math.max(1,l.value-1),f.value),n.ellipsis,v.value];if(D.value-E>=(S?1:0)){const x=l.value-1,A=v.value-x+f.value;return[f.value,n.ellipsis,...Kh(x,A)]}else{const x=Math.max(1,l.value-3),A=x===1?D.value:D.value-Math.ceil(x/2)+f.value;return[f.value,n.ellipsis,...Kh(x,A),n.ellipsis,v.value]}});function o(S,_,k){S.preventDefault(),D.value=_,k&&C(k,_)}const{refs:s,updateRef:c}=jU();es({VPaginationBtn:{color:Cr(n,"color"),border:Cr(n,"border"),density:Cr(n,"density"),size:Cr(n,"size"),variant:Cr(n,"variant"),rounded:Cr(n,"rounded"),elevation:Cr(n,"elevation")}});const h=cn(()=>u.value.map((S,_)=>{const k=E=>c(E,_);if(typeof S=="string")return{isActive:!1,key:`ellipsis-${_}`,page:S,props:{ref:k,ellipsis:!0,icon:!0,disabled:!0}};{const E=S===D.value;return{isActive:E,key:S,page:p(S),props:{ref:k,ellipsis:!1,icon:!0,disabled:!!n.disabled||+n.length<2,color:E?n.activeColor:n.color,ariaCurrent:E,ariaLabel:T(E?n.currentPageAriaLabel:n.pageAriaLabel,S),onClick:x=>o(x,S)}}}})),m=cn(()=>{const S=!!n.disabled||D.value<=f.value,_=!!n.disabled||D.value>=f.value+v.value-1;return{first:n.showFirstLastPage?{icon:t.value?n.lastIcon:n.firstIcon,onClick:k=>o(k,f.value,"first"),disabled:S,ariaLabel:T(n.firstAriaLabel),ariaDisabled:S}:void 0,prev:{icon:t.value?n.nextIcon:n.prevIcon,onClick:k=>o(k,D.value-1,"prev"),disabled:S,ariaLabel:T(n.previousAriaLabel),ariaDisabled:S},next:{icon:t.value?n.prevIcon:n.nextIcon,onClick:k=>o(k,D.value+1,"next"),disabled:_,ariaLabel:T(n.nextAriaLabel),ariaDisabled:_},last:n.showFirstLastPage?{icon:t.value?n.firstIcon:n.lastIcon,onClick:k=>o(k,f.value+v.value-1,"last"),disabled:_,ariaLabel:T(n.lastAriaLabel),ariaDisabled:_}:void 0}});function w(){var _;const S=D.value-f.value;(_=s.value[S])==null||_.$el.focus()}function y(S){S.key===sx.left&&!n.disabled&&D.value>+n.start?(D.value=D.value-1,Ua(w)):S.key===sx.right&&!n.disabled&&D.valuegt(n.tag,{ref:M,class:["v-pagination",d.value,n.class],style:n.style,role:"navigation","aria-label":T(n.ariaLabel),onKeydown:y,"data-test":"v-pagination-root"},{default:()=>[gt("ul",{class:"v-pagination__list"},[n.showFirstLastPage&>("li",{key:"first",class:"v-pagination__first","data-test":"v-pagination-first"},[r.first?r.first(m.value.first):gt(_l,qr({_as:"VPaginationBtn"},m.value.first),null)]),gt("li",{key:"prev",class:"v-pagination__prev","data-test":"v-pagination-prev"},[r.prev?r.prev(m.value.prev):gt(_l,qr({_as:"VPaginationBtn"},m.value.prev),null)]),h.value.map((S,_)=>gt("li",{key:S.key,class:["v-pagination__item",{"v-pagination__item--is-active":S.isActive}],"data-test":"v-pagination-item"},[r.item?r.item(S):gt(_l,qr({_as:"VPaginationBtn"},S.props),{default:()=>[S.page]})])),gt("li",{key:"next",class:"v-pagination__next","data-test":"v-pagination-next"},[r.next?r.next(m.value.next):gt(_l,qr({_as:"VPaginationBtn"},m.value.next),null)]),n.showFirstLastPage&>("li",{key:"last",class:"v-pagination__last","data-test":"v-pagination-last"},[r.last?r.last(m.value.last):gt(_l,qr({_as:"VPaginationBtn"},m.value.last),null)])])]})),{}}});function GU(n){return Math.floor(Math.abs(n))*Math.sign(n)}const qU=ur({scale:{type:[Number,String],default:.5},...Zr()},"VParallax"),WU=Ar()({name:"VParallax",props:qU(),setup(n,e){let{slots:r}=e;const{intersectionRef:C,isIntersecting:D}=f_(),{resizeRef:T,contentRect:p}=Th(),{height:t}=ep(),d=Vr();wu(()=>{var f;C.value=T.value=(f=d.value)==null?void 0:f.$el});let g;$r(D,f=>{f?(g=t_(C.value),g=g===document.scrollingElement?document:g,g.addEventListener("scroll",v,{passive:!0}),v()):g.removeEventListener("scroll",v)}),Tl(()=>{g==null||g.removeEventListener("scroll",v)}),$r(t,v),$r(()=>{var f;return(f=p.value)==null?void 0:f.height},v);const i=cn(()=>1-Zs(+n.scale));let M=-1;function v(){D.value&&(cancelAnimationFrame(M),M=requestAnimationFrame(()=>{var m;const f=((m=d.value)==null?void 0:m.$el).querySelector(".v-img__img");if(!f)return;const l=g instanceof Document?document.documentElement.clientHeight:g.clientHeight,a=g instanceof Document?window.scrollY:g.scrollTop,u=C.value.getBoundingClientRect().top+a,o=p.value.height,s=u+(o-l)/2,c=GU((a-s)*i.value),h=Math.max(1,(i.value*(l-o)+o)/o);f.style.setProperty("transform",`translateY(${c}px) scale(${h})`)}))}return Or(()=>gt(Zd,{class:["v-parallax",{"v-parallax--active":D.value},n.class],style:n.style,ref:d,cover:!0,onLoadstart:v,onLoad:v},r)),{}}}),YU=ur({...n1({falseIcon:"$radioOff",trueIcon:"$radioOn"})},"VRadio"),$U=Ar()({name:"VRadio",props:YU(),setup(n,e){let{slots:r}=e;return Or(()=>gt(Xd,qr(n,{class:["v-radio",n.class],style:n.style,type:"radio"}),r)),{}}});const ZU=ur({height:{type:[Number,String],default:"auto"},...mf(),...ic(y_(),["multiple"]),trueIcon:{type:bi,default:"$radioOn"},falseIcon:{type:bi,default:"$radioOff"},type:{type:String,default:"radio"}},"VRadioGroup"),XU=Ar()({name:"VRadioGroup",inheritAttrs:!1,props:ZU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{attrs:r,slots:C}=e;const D=Js(),T=cn(()=>n.id||`radio-group-${D}`),p=xi(n,"modelValue");return Or(()=>{const[t,d]=Qd(r),[g,i]=Bs.filterProps(n),[M,v]=Xd.filterProps(n),f=C.label?C.label({label:n.label,props:{for:T.value}}):n.label;return gt(Bs,qr({class:["v-radio-group",n.class],style:n.style},t,g,{modelValue:p.value,"onUpdate:modelValue":l=>p.value=l,id:T.value}),{...C,default:l=>{let{id:a,messagesId:u,isDisabled:o,isReadonly:s}=l;return gt(Yr,null,[f&>(C0,{id:a.value},{default:()=>[f]}),gt(aA,qr(M,{id:a.value,"aria-describedby":u.value,defaultsTarget:"VRadio",trueIcon:n.trueIcon,falseIcon:n.falseIcon,type:n.type,disabled:o.value,readonly:s.value,"aria-labelledby":f?a.value:void 0,multiple:!1},d,{modelValue:p.value,"onUpdate:modelValue":c=>p.value=c}),C)])}})}),{}}}),KU=ur({...r1(),...mf(),...KA(),strict:Boolean,modelValue:{type:Array,default:()=>[0,0]}},"VRangeSlider"),JU=Ar()({name:"VRangeSlider",props:KU(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,end:n=>!0,start:n=>!0},setup(n,e){let{slots:r,emit:C}=e;const D=Vr(),T=Vr(),p=Vr(),{rtlClasses:t}=Cs();function d(_){if(!D.value||!T.value)return;const k=Ix(_,D.value.$el,n.direction),E=Ix(_,T.value.$el,n.direction),x=Math.abs(k),A=Math.abs(E);return x_!=null&&_.length?_.map(k=>g.roundValue(k)):[0,0]),{activeThumbRef:M,hasLabels:v,max:f,min:l,mousePressed:a,onSliderMousedown:u,onSliderTouchstart:o,position:s,trackContainerRef:c}=QA({props:n,steps:g,onSliderStart:()=>{C("start",i.value)},onSliderEnd:_=>{var x;let{value:k}=_;const E=M.value===((x=D.value)==null?void 0:x.$el)?[k,i.value[1]]:[i.value[0],k];!n.strict&&E[0]{var A,L,b,R;let{value:k}=_;const[E,x]=i.value;!n.strict&&E===x&&E!==l.value&&(M.value=k>E?(A=T.value)==null?void 0:A.$el:(L=D.value)==null?void 0:L.$el,(b=M.value)==null||b.focus()),M.value===((R=D.value)==null?void 0:R.$el)?i.value=[Math.min(k,x),x]:i.value=[E,Math.max(E,k)]},getActiveThumb:d}),{isFocused:h,focus:m,blur:w}=rd(n),y=cn(()=>s(i.value[0])),S=cn(()=>s(i.value[1]));return Or(()=>{const[_,k]=Bs.filterProps(n),E=!!(n.label||r.label||r.prepend);return gt(Bs,qr({class:["v-slider","v-range-slider",{"v-slider--has-labels":!!r["tick-label"]||v.value,"v-slider--focused":h.value,"v-slider--pressed":a.value,"v-slider--disabled":n.disabled},t.value,n.class],style:n.style,ref:p},_,{focused:h.value}),{...r,prepend:E?x=>{var A,L;return gt(Yr,null,[((A=r.label)==null?void 0:A.call(r,x))??n.label?gt(C0,{class:"v-slider__label",text:n.label},null):void 0,(L=r.prepend)==null?void 0:L.call(r,x)])}:void 0,default:x=>{var b,R;let{id:A,messagesId:L}=x;return gt("div",{class:"v-slider__container",onMousedown:u,onTouchstartPassive:o},[gt("input",{id:`${A.value}_start`,name:n.name||A.value,disabled:!!n.disabled,readonly:!!n.readonly,tabindex:"-1",value:i.value[0]},null),gt("input",{id:`${A.value}_stop`,name:n.name||A.value,disabled:!!n.disabled,readonly:!!n.readonly,tabindex:"-1",value:i.value[1]},null),gt(eS,{ref:c,start:y.value,stop:S.value},{"tick-label":r["tick-label"]}),gt(Rx,{ref:D,"aria-describedby":L.value,focused:h&&M.value===((b=D.value)==null?void 0:b.$el),modelValue:i.value[0],"onUpdate:modelValue":I=>i.value=[I,i.value[1]],onFocus:I=>{var O,z,F,B;m(),M.value=(O=D.value)==null?void 0:O.$el,i.value[0]===i.value[1]&&i.value[1]===l.value&&I.relatedTarget!==((z=T.value)==null?void 0:z.$el)&&((F=D.value)==null||F.$el.blur(),(B=T.value)==null||B.$el.focus())},onBlur:()=>{w(),M.value=void 0},min:l.value,max:i.value[1],position:y.value},{"thumb-label":r["thumb-label"]}),gt(Rx,{ref:T,"aria-describedby":L.value,focused:h&&M.value===((R=T.value)==null?void 0:R.$el),modelValue:i.value[1],"onUpdate:modelValue":I=>i.value=[i.value[0],I],onFocus:I=>{var O,z,F,B;m(),M.value=(O=T.value)==null?void 0:O.$el,i.value[0]===i.value[1]&&i.value[0]===f.value&&I.relatedTarget!==((z=D.value)==null?void 0:z.$el)&&((F=T.value)==null||F.$el.blur(),(B=D.value)==null||B.$el.focus())},onBlur:()=>{w(),M.value=void 0},min:i.value[0],max:f.value,position:S.value},{"thumb-label":r["thumb-label"]})])}})}),{}}});const QU=ur({name:String,itemAriaLabel:{type:String,default:"$vuetify.rating.ariaLabel.item"},activeColor:String,color:String,clearable:Boolean,disabled:Boolean,emptyIcon:{type:bi,default:"$ratingEmpty"},fullIcon:{type:bi,default:"$ratingFull"},halfIncrements:Boolean,hover:Boolean,length:{type:[Number,String],default:5},readonly:Boolean,modelValue:{type:[Number,String],default:0},itemLabels:Array,itemLabelPosition:{type:String,default:"top",validator:n=>["top","bottom"].includes(n)},ripple:Boolean,...Zr(),...ds(),...pf(),...Si(),...oa()},"VRating"),eH=Ar()({name:"VRating",props:QU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{t:C}=oc(),{themeClasses:D}=Ma(n),T=xi(n,"modelValue"),p=cn(()=>Zs(parseFloat(T.value),0,+n.length)),t=cn(()=>Kh(Number(n.length),1)),d=cn(()=>t.value.flatMap(a=>n.halfIncrements?[a-.5,a]:[a])),g=Wr(-1),i=cn(()=>d.value.map(a=>{const u=n.hover&&g.value>-1,o=p.value>=a,s=g.value>=a,h=(u?s:o)?n.fullIcon:n.emptyIcon,m=n.activeColor??n.color,w=o||s?m:n.color;return{isFilled:o,isHovered:s,icon:h,color:w}})),M=cn(()=>[0,...d.value].map(a=>{function u(){g.value=a}function o(){g.value=-1}function s(){n.disabled||n.readonly||(T.value=p.value===a&&n.clearable?0:a)}return{onMouseenter:n.hover?u:void 0,onMouseleave:n.hover?o:void 0,onClick:s}})),v=cn(()=>n.name??`v-rating-${Js()}`);function f(a){var S,_;let{value:u,index:o,showStar:s=!0}=a;const{onMouseenter:c,onMouseleave:h,onClick:m}=M.value[o+1],w=`${v.value}-${String(u).replace(".","-")}`,y={color:(S=i.value[o])==null?void 0:S.color,density:n.density,disabled:n.disabled,icon:(_=i.value[o])==null?void 0:_.icon,ripple:n.ripple,size:n.size,variant:"plain"};return gt(Yr,null,[gt("label",{for:w,class:{"v-rating__item--half":n.halfIncrements&&u%1>0,"v-rating__item--full":n.halfIncrements&&u%1===0},onMouseenter:c,onMouseleave:h,onClick:m},[gt("span",{class:"v-rating__hidden"},[C(n.itemAriaLabel,u,n.length)]),s?r.item?r.item({...i.value[o],props:y,value:u,index:o,rating:p.value}):gt(_l,qr({"aria-label":C(n.itemAriaLabel,u,n.length)},y),null):void 0]),gt("input",{class:"v-rating__hidden",name:v.value,id:w,type:"radio",value:u,checked:p.value===u,tabindex:-1,readonly:n.readonly,disabled:n.disabled},null)])}function l(a){return r["item-label"]?r["item-label"](a):a.label?gt("span",null,[a.label]):gt("span",null,[ia(" ")])}return Or(()=>{var u;const a=!!((u=n.itemLabels)!=null&&u.length)||r["item-label"];return gt(n.tag,{class:["v-rating",{"v-rating--hover":n.hover,"v-rating--readonly":n.readonly},D.value,n.class],style:n.style},{default:()=>[gt(f,{value:0,index:-1,showStar:!1},null),t.value.map((o,s)=>{var c,h;return gt("div",{class:"v-rating__wrapper"},[a&&n.itemLabelPosition==="top"?l({value:o,index:s,label:(c=n.itemLabels)==null?void 0:c[s]}):void 0,gt("div",{class:"v-rating__item"},[n.halfIncrements?gt(Yr,null,[gt(f,{value:o-.5,index:s*2},null),gt(f,{value:o,index:s*2+1},null)]):gt(f,{value:o,index:s},null)]),a&&n.itemLabelPosition==="bottom"?l({value:o,index:s,label:(h=n.itemLabels)==null?void 0:h[s]}):void 0])})]})}),{}}});function fT(n){const r=Math.abs(n);return Math.sign(n)*(r/((1/.501-2)*(1-r)+1))}function dT(n){let{selectedElement:e,containerSize:r,contentSize:C,isRtl:D,currentScrollOffset:T,isHorizontal:p}=n;const t=p?e.clientWidth:e.clientHeight,d=p?e.offsetLeft:e.offsetTop,g=D&&p?C-d-t:d,i=r+T,M=t+g,v=t*.4;return g<=T?T=Math.max(g-v,0):i<=M&&(T=Math.min(T-(i-M-v),C-r)),T}function tH(n){let{selectedElement:e,containerSize:r,contentSize:C,isRtl:D,isHorizontal:T}=n;const p=T?e.clientWidth:e.clientHeight,t=T?e.offsetLeft:e.offsetTop,d=D&&T?C-t-p/2-r/2:t+p/2-r/2;return Math.min(C-r,Math.max(0,d))}const gS=Symbol.for("vuetify:v-slide-group"),vS=ur({centerActive:Boolean,direction:{type:String,default:"horizontal"},symbol:{type:null,default:gS},nextIcon:{type:bi,default:"$next"},prevIcon:{type:bi,default:"$prev"},showArrows:{type:[Boolean,String],validator:n=>typeof n=="boolean"||["always","desktop","mobile"].includes(n)},...Zr(),...Si(),...w0({selectedClass:"v-slide-group-item--active"})},"VSlideGroup"),Dx=Ar()({name:"VSlideGroup",props:vS(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{isRtl:C}=Cs(),{mobile:D}=ep(),T=ip(n,n.symbol),p=Wr(!1),t=Wr(0),d=Wr(0),g=Wr(0),i=cn(()=>n.direction==="horizontal"),{resizeRef:M,contentRect:v}=Th(),{resizeRef:f,contentRect:l}=Th(),a=cn(()=>T.selected.value.length?T.items.value.findIndex(F=>F.id===T.selected.value[0]):-1),u=cn(()=>T.selected.value.length?T.items.value.findIndex(F=>F.id===T.selected.value[T.selected.value.length-1]):-1);if(to){let F=-1;$r(()=>[T.selected.value,v.value,l.value,i.value],()=>{cancelAnimationFrame(F),F=requestAnimationFrame(()=>{if(v.value&&l.value){const B=i.value?"width":"height";d.value=v.value[B],g.value=l.value[B],p.value=d.value+1=0&&f.value){const B=f.value.children[u.value];a.value===0||!p.value?t.value=0:n.centerActive?t.value=tH({selectedElement:B,containerSize:d.value,contentSize:g.value,isRtl:C.value,isHorizontal:i.value}):p.value&&(t.value=dT({selectedElement:B,containerSize:d.value,contentSize:g.value,isRtl:C.value,currentScrollOffset:t.value,isHorizontal:i.value}))}})})}const o=Wr(!1);let s=0,c=0;function h(F){const B=i.value?"clientX":"clientY";c=(C.value&&i.value?-1:1)*t.value,s=F.touches[0][B],o.value=!0}function m(F){if(!p.value)return;const B=i.value?"clientX":"clientY",N=C.value&&i.value?-1:1;t.value=N*(c+s-F.touches[0][B])}function w(F){const B=g.value-d.value;t.value<0||!p.value?t.value=0:t.value>=B&&(t.value=B),o.value=!1}function y(){M.value&&(M.value[i.value?"scrollLeft":"scrollTop"]=0)}const S=Wr(!1);function _(F){if(S.value=!0,!(!p.value||!f.value)){for(const B of F.composedPath())for(const N of f.value.children)if(N===B){t.value=dT({selectedElement:N,containerSize:d.value,contentSize:g.value,isRtl:C.value,currentScrollOffset:t.value,isHorizontal:i.value});return}}}function k(F){S.value=!1}function E(F){var B;!S.value&&!(F.relatedTarget&&((B=f.value)!=null&&B.contains(F.relatedTarget)))&&A()}function x(F){f.value&&(i.value?F.key==="ArrowRight"?A(C.value?"prev":"next"):F.key==="ArrowLeft"&&A(C.value?"next":"prev"):F.key==="ArrowDown"?A("next"):F.key==="ArrowUp"&&A("prev"),F.key==="Home"?A("first"):F.key==="End"&&A("last"))}function A(F){var B,N,W,j,$;if(f.value)if(!F)(B=Dm(f.value)[0])==null||B.focus();else if(F==="next"){const U=(N=f.value.querySelector(":focus"))==null?void 0:N.nextElementSibling;U?U.focus():A("first")}else if(F==="prev"){const U=(W=f.value.querySelector(":focus"))==null?void 0:W.previousElementSibling;U?U.focus():A("last")}else F==="first"?(j=f.value.firstElementChild)==null||j.focus():F==="last"&&(($=f.value.lastElementChild)==null||$.focus())}function L(F){const B=t.value+(F==="prev"?-1:1)*d.value;t.value=Zs(B,0,g.value-d.value)}const b=cn(()=>{let F=t.value>g.value-d.value?-(g.value-d.value)+fT(g.value-d.value-t.value):-t.value;t.value<=0&&(F=fT(-t.value));const B=C.value&&i.value?-1:1;return{transform:`translate${i.value?"X":"Y"}(${B*F}px)`,transition:o.value?"none":"",willChange:o.value?"transform":""}}),R=cn(()=>({next:T.next,prev:T.prev,select:T.select,isSelected:T.isSelected})),I=cn(()=>{switch(n.showArrows){case"always":return!0;case"desktop":return!D.value;case!0:return p.value||Math.abs(t.value)>0;case"mobile":return D.value||p.value||Math.abs(t.value)>0;default:return!D.value&&(p.value||Math.abs(t.value)>0)}}),O=cn(()=>Math.abs(t.value)>0),z=cn(()=>g.value>Math.abs(t.value)+d.value);return Or(()=>gt(n.tag,{class:["v-slide-group",{"v-slide-group--vertical":!i.value,"v-slide-group--has-affixes":I.value,"v-slide-group--is-overflowing":p.value},n.class],style:n.style,tabindex:S.value||T.selected.value.length?-1:0,onFocus:E},{default:()=>{var F,B,N;return[I.value&>("div",{key:"prev",class:["v-slide-group__prev",{"v-slide-group__prev--disabled":!O.value}],onClick:()=>L("prev")},[((F=r.prev)==null?void 0:F.call(r,R.value))??gt(gx,null,{default:()=>[gt(ja,{icon:C.value?n.nextIcon:n.prevIcon},null)]})]),gt("div",{key:"container",ref:M,class:"v-slide-group__container",onScroll:y},[gt("div",{ref:f,class:"v-slide-group__content",style:b.value,onTouchstartPassive:h,onTouchmovePassive:m,onTouchendPassive:w,onFocusin:_,onFocusout:k,onKeydown:x},[(B=r.default)==null?void 0:B.call(r,R.value)])]),I.value&>("div",{key:"next",class:["v-slide-group__next",{"v-slide-group__next--disabled":!z.value}],onClick:()=>L("next")},[((N=r.next)==null?void 0:N.call(r,R.value))??gt(gx,null,{default:()=>[gt(ja,{icon:C.value?n.prevIcon:n.nextIcon},null)]})])]}})),{selected:T.selected,scrollTo:L,scrollOffset:t,focus:A}}}),nH=Ar()({name:"VSlideGroupItem",props:T0(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const C=k0(n,gS);return()=>{var D;return(D=r.default)==null?void 0:D.call(r,{isSelected:C.isSelected.value,select:C.select,toggle:C.toggle,selectedClass:C.selectedClass.value})}}});const rH=ur({multiLine:Boolean,timeout:{type:[Number,String],default:5e3},vertical:Boolean,...ed({location:"bottom"}),...A0(),...lo(),...cc(),...oa(),...ic(cg({transition:"v-snackbar-transition"}),["persistent","noClickAnimation","scrim","scrollStrategy"])},"VSnackbar"),iH=Ar()({name:"VSnackbar",props:rH(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const C=xi(n,"modelValue"),{locationStyles:D}=td(n),{positionClasses:T}=S0(n),{scopeId:p}=E0(),{themeClasses:t}=Ma(n),{colorClasses:d,colorStyles:g,variantClasses:i}=rp(n),{roundedClasses:M}=Eo(n),v=Vr();$r(C,l),$r(()=>n.timeout,l),Ks(()=>{C.value&&l()});let f=-1;function l(){window.clearTimeout(f);const u=Number(n.timeout);!C.value||u===-1||(f=window.setTimeout(()=>{C.value=!1},u))}function a(){window.clearTimeout(f)}return Or(()=>{const[u]=of.filterProps(n);return gt(of,qr({ref:v,class:["v-snackbar",{"v-snackbar--active":C.value,"v-snackbar--multi-line":n.multiLine&&!n.vertical,"v-snackbar--vertical":n.vertical},T.value,n.class],style:n.style},u,{modelValue:C.value,"onUpdate:modelValue":o=>C.value=o,contentProps:qr({class:["v-snackbar__wrapper",t.value,d.value,M.value,i.value],style:[D.value,g.value],onPointerenter:a,onPointerleave:l},u.contentProps),persistent:!0,noClickAnimation:!0,scrim:!1,scrollStrategy:"none",_disableGlobalStack:!0},p),{default:()=>[np(!1,"v-snackbar"),r.default&>("div",{class:"v-snackbar__content",role:"status","aria-live":"polite"},[r.default()]),r.actions&>(Fa,{defaults:{VBtn:{variant:"text",ripple:!1}}},{default:()=>[gt("div",{class:"v-snackbar__actions"},[r.actions()])]})],activator:r.activator})}),Vc({},v)}});const aH=ur({indeterminate:Boolean,inset:Boolean,flat:Boolean,loading:{type:[Boolean,String],default:!1},...mf(),...n1()},"VSwitch"),oH=Ar()({name:"VSwitch",inheritAttrs:!1,props:aH(),emits:{"update:focused":n=>!0,"update:modelValue":()=>!0,"update:indeterminate":n=>!0},setup(n,e){let{attrs:r,slots:C}=e;const D=xi(n,"indeterminate"),T=xi(n,"modelValue"),{loaderClasses:p}=t1(n),{isFocused:t,focus:d,blur:g}=rd(n),i=Vr(),M=cn(()=>typeof n.loading=="string"&&n.loading!==""?n.loading:n.color),v=Js(),f=cn(()=>n.id||`switch-${v}`);function l(){D.value&&(D.value=!1)}function a(u){var o,s;u.stopPropagation(),u.preventDefault(),(s=(o=i.value)==null?void 0:o.input)==null||s.click()}return Or(()=>{const[u,o]=Qd(r),[s,c]=Bs.filterProps(n),[h,m]=Xd.filterProps(n);return gt(Bs,qr({class:["v-switch",{"v-switch--inset":n.inset},{"v-switch--indeterminate":D.value},p.value,n.class],style:n.style},u,s,{id:f.value,focused:t.value}),{...C,default:w=>{let{id:y,messagesId:S,isDisabled:_,isReadonly:k,isValid:E}=w;return gt(Xd,qr({ref:i},h,{modelValue:T.value,"onUpdate:modelValue":[x=>T.value=x,l],id:y.value,"aria-describedby":S.value,type:"checkbox","aria-checked":D.value?"mixed":void 0,disabled:_.value,readonly:k.value,onFocus:d,onBlur:g},o),{...C,default:x=>{let{backgroundColorClasses:A,backgroundColorStyles:L}=x;return gt("div",{class:["v-switch__track",...A.value],style:L.value,onClick:a},null)},input:x=>{let{inputNode:A,icon:L,backgroundColorClasses:b,backgroundColorStyles:R}=x;return gt(Yr,null,[A,gt("div",{class:["v-switch__thumb",{"v-switch__thumb--filled":L||n.loading},n.inset?void 0:b.value],style:n.inset?void 0:R.value},[gt(s_,null,{default:()=>[n.loading?gt(g_,{name:"v-switch",active:!0,color:E.value===!1?void 0:M.value},{default:I=>C.loader?C.loader(I):gt(d_,{active:I.isActive,color:I.color,indeterminate:!0,size:"16",width:"2"},null)}):L&>(ja,{key:L,icon:L,size:"x-small"},null)]})])])}})}})}),{}}});const sH=ur({color:String,height:[Number,String],window:Boolean,...Zr(),...fs(),...x0(),...lo(),...Si(),...oa()},"VSystemBar"),lH=Ar()({name:"VSystemBar",props:sH(),setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{backgroundColorClasses:D,backgroundColorStyles:T}=Oo(Cr(n,"color")),{elevationClasses:p}=Vs(n),{roundedClasses:t}=Eo(n),{ssrBootStyles:d}=tp(),g=cn(()=>n.height??(n.window?32:24)),{layoutItemStyles:i}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:Wr("top"),layoutSize:g,elementSize:g,active:cn(()=>!0),absolute:Cr(n,"absolute")});return Or(()=>gt(n.tag,{class:["v-system-bar",{"v-system-bar--window":n.window},C.value,D.value,p.value,t.value,n.class],style:[T.value,i.value,d.value,n.style]},r)),{}}});const yS=Symbol.for("vuetify:v-tabs"),uH=ur({fixed:Boolean,sliderColor:String,hideSlider:Boolean,direction:{type:String,default:"horizontal"},...ic(v_({selectedClass:"v-tab--selected",variant:"text"}),["active","block","flat","location","position","symbol"])},"VTab"),bS=Ar()({name:"VTab",props:uH(),setup(n,e){let{slots:r,attrs:C}=e;const{textColorClasses:D,textColorStyles:T}=Xs(n,"sliderColor"),p=cn(()=>n.direction==="horizontal"),t=Wr(!1),d=Vr(),g=Vr();function i(M){var f,l;let{value:v}=M;if(t.value=v,v){const a=(l=(f=d.value)==null?void 0:f.$el.parentElement)==null?void 0:l.querySelector(".v-tab--selected .v-tab__slider"),u=g.value;if(!a||!u)return;const o=getComputedStyle(a).color,s=a.getBoundingClientRect(),c=u.getBoundingClientRect(),h=p.value?"x":"y",m=p.value?"X":"Y",w=p.value?"right":"bottom",y=p.value?"width":"height",S=s[h],_=c[h],k=S>_?s[w]-c[w]:s[h]-c[h],E=Math.sign(k)>0?p.value?"right":"bottom":Math.sign(k)<0?p.value?"left":"top":"center",A=(Math.abs(k)+(Math.sign(k)<0?s[y]:c[y]))/Math.max(s[y],c[y])||0,L=s[y]/c[y]||0,b=1.5;Dd(u,{backgroundColor:[o,"currentcolor"],transform:[`translate${m}(${k}px) scale${m}(${L})`,`translate${m}(${k/b}px) scale${m}(${(A-1)/b+1})`,"none"],transformOrigin:Array(3).fill(E)},{duration:225,easing:zm})}}return Or(()=>{const[M]=_l.filterProps(n);return gt(_l,qr({symbol:yS,ref:d,class:["v-tab",n.class],style:n.style,tabindex:t.value?0:-1,role:"tab","aria-selected":String(t.value),active:!1},M,C,{block:n.fixed,maxWidth:n.fixed?300:void 0,"onGroup:selected":i}),{default:()=>{var v;return[((v=r.default)==null?void 0:v.call(r))??n.text,!n.hideSlider&>("div",{ref:g,class:["v-tab__slider",D.value],style:T.value},null)]}})}),{}}});function cH(n){return n?n.map(e=>typeof e=="string"?{title:e,value:e}:e):[]}const hH=ur({alignTabs:{type:String,default:"start"},color:String,fixedTabs:Boolean,items:{type:Array,default:()=>[]},stacked:Boolean,bgColor:String,grow:Boolean,height:{type:[Number,String],default:void 0},hideSlider:Boolean,sliderColor:String,...vS({mandatory:"force"}),...ds(),...Si()},"VTabs"),fH=Ar()({name:"VTabs",props:hH(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const C=xi(n,"modelValue"),D=cn(()=>cH(n.items)),{densityClasses:T}=Qs(n),{backgroundColorClasses:p,backgroundColorStyles:t}=Oo(Cr(n,"bgColor"));return es({VTab:{color:Cr(n,"color"),direction:Cr(n,"direction"),stacked:Cr(n,"stacked"),fixed:Cr(n,"fixedTabs"),sliderColor:Cr(n,"sliderColor"),hideSlider:Cr(n,"hideSlider")}}),Or(()=>{const[d]=Dx.filterProps(n);return gt(Dx,qr(d,{modelValue:C.value,"onUpdate:modelValue":g=>C.value=g,class:["v-tabs",`v-tabs--${n.direction}`,`v-tabs--align-tabs-${n.alignTabs}`,{"v-tabs--fixed-tabs":n.fixedTabs,"v-tabs--grow":n.grow,"v-tabs--stacked":n.stacked},T.value,p.value,n.class],style:[{"--v-tabs-height":Qr(n.height)},t.value,n.style],role:"tablist",symbol:yS}),{default:()=>[r.default?r.default():D.value.map(g=>gt(bS,qr(g,{key:g.title}),null))]})}),{}}});const dH=ur({fixedHeader:Boolean,fixedFooter:Boolean,height:[Number,String],hover:Boolean,...Zr(),...ds(),...Si(),...oa()},"VTable"),pH=Ar()({name:"VTable",props:dH(),setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{densityClasses:D}=Qs(n);return Or(()=>gt(n.tag,{class:["v-table",{"v-table--fixed-height":!!n.height,"v-table--fixed-header":n.fixedHeader,"v-table--fixed-footer":n.fixedFooter,"v-table--has-top":!!r.top,"v-table--has-bottom":!!r.bottom,"v-table--hover":n.hover},C.value,D.value,n.class],style:n.style},{default:()=>{var T,p,t;return[(T=r.top)==null?void 0:T.call(r),r.default?gt("div",{class:"v-table__wrapper",style:{height:Qr(n.height)}},[gt("table",null,[r.default()])]):(p=r.wrapper)==null?void 0:p.call(r),(t=r.bottom)==null?void 0:t.call(r)]}})),{}}});const mH=ur({autoGrow:Boolean,autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,noResize:Boolean,rows:{type:[Number,String],default:5,validator:n=>!isNaN(parseFloat(n))},maxRows:{type:[Number,String],validator:n=>!isNaN(parseFloat(n))},suffix:String,modelModifiers:Object,...mf(),...u1()},"VTextarea"),gH=Ar()({name:"VTextarea",directives:{Intersect:og},inheritAttrs:!1,props:mH(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:C,slots:D}=e;const T=xi(n,"modelValue"),{isFocused:p,focus:t,blur:d}=rd(n),g=cn(()=>typeof n.counterValue=="function"?n.counterValue(T.value):(T.value||"").toString().length),i=cn(()=>{if(r.maxlength)return r.maxlength;if(!(!n.counter||typeof n.counter!="number"&&typeof n.counter!="string"))return n.counter});function M(E,x){var A,L;!n.autofocus||!E||(L=(A=x[0].target)==null?void 0:A.focus)==null||L.call(A)}const v=Vr(),f=Vr(),l=Wr(""),a=Vr(),u=cn(()=>n.persistentPlaceholder||p.value||n.active);function o(){var E;a.value!==document.activeElement&&((E=a.value)==null||E.focus()),p.value||t()}function s(E){o(),C("click:control",E)}function c(E){C("mousedown:control",E)}function h(E){E.stopPropagation(),o(),Ua(()=>{T.value="",K2(n["onClick:clear"],E)})}function m(E){var A;const x=E.target;if(T.value=x.value,(A=n.modelModifiers)!=null&&A.trim){const L=[x.selectionStart,x.selectionEnd];Ua(()=>{x.selectionStart=L[0],x.selectionEnd=L[1]})}}const w=Vr(),y=Vr(+n.rows),S=cn(()=>["plain","underlined"].includes(n.variant));wu(()=>{n.autoGrow||(y.value=+n.rows)});function _(){n.autoGrow&&Ua(()=>{if(!w.value||!f.value)return;const E=getComputedStyle(w.value),x=getComputedStyle(f.value.$el),A=parseFloat(E.getPropertyValue("--v-field-padding-top"))+parseFloat(E.getPropertyValue("--v-input-padding-top"))+parseFloat(E.getPropertyValue("--v-field-padding-bottom")),L=w.value.scrollHeight,b=parseFloat(E.lineHeight),R=Math.max(parseFloat(n.rows)*b+A,parseFloat(x.getPropertyValue("--v-input-control-height"))),I=parseFloat(n.maxRows)*b+A||1/0,O=Zs(L??0,R,I);y.value=Math.floor((O-A)/b),l.value=Qr(O)})}Ks(_),$r(T,_),$r(()=>n.rows,_),$r(()=>n.maxRows,_),$r(()=>n.density,_);let k;return $r(w,E=>{E?(k=new ResizeObserver(_),k.observe(w.value)):k==null||k.disconnect()}),Tl(()=>{k==null||k.disconnect()}),Or(()=>{const E=!!(D.counter||n.counter||n.counterValue),x=!!(E||D.details),[A,L]=Qd(r),[{modelValue:b,...R}]=Bs.filterProps(n),[I]=w_(n);return gt(Bs,qr({ref:v,modelValue:T.value,"onUpdate:modelValue":O=>T.value=O,class:["v-textarea v-text-field",{"v-textarea--prefixed":n.prefix,"v-textarea--suffixed":n.suffix,"v-text-field--prefixed":n.prefix,"v-text-field--suffixed":n.suffix,"v-textarea--auto-grow":n.autoGrow,"v-textarea--no-resize":n.noResize||n.autoGrow,"v-text-field--plain-underlined":S.value},n.class],style:n.style},A,R,{centerAffix:y.value===1&&!S.value,focused:p.value}),{...D,default:O=>{let{isDisabled:z,isDirty:F,isReadonly:B,isValid:N}=O;return gt(hg,qr({ref:f,style:{"--v-textarea-control-height":l.value},onClick:s,onMousedown:c,"onClick:clear":h,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"]},I,{active:u.value||F.value,centerAffix:y.value===1&&!S.value,dirty:F.value||n.dirty,disabled:z.value,focused:p.value,error:N.value===!1}),{...D,default:W=>{let{props:{class:j,...$}}=W;return gt(Yr,null,[n.prefix&>("span",{class:"v-text-field__prefix"},[n.prefix]),Co(gt("textarea",qr({ref:a,class:j,value:T.value,onInput:m,autofocus:n.autofocus,readonly:B.value,disabled:z.value,placeholder:n.placeholder,rows:n.rows,name:n.name,onFocus:o,onBlur:d},$,L),null),[[Tu("intersect"),{handler:M},null,{once:!0}]]),n.autoGrow&&Co(gt("textarea",{class:[j,"v-textarea__sizer"],id:`${$.id}-sizer`,"onUpdate:modelValue":U=>T.value=U,ref:w,readonly:!0,"aria-hidden":"true"},null),[[S7,T.value]]),n.suffix&>("span",{class:"v-text-field__suffix"},[n.suffix])])}})},details:x?O=>{var z;return gt(Yr,null,[(z=D.details)==null?void 0:z.call(D,O),E&>(Yr,null,[gt("span",null,null),gt(l1,{active:n.persistentCounter||p.value,value:g.value,max:i.value},D.counter)])])}:void 0})}),Vc({},v,f,a)}});const vH=ur({withBackground:Boolean,...Zr(),...oa(),...Si()},"VThemeProvider"),yH=Ar()({name:"VThemeProvider",props:vH(),setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n);return()=>{var D;return n.withBackground?gt(n.tag,{class:["v-theme-provider",C.value,n.class],style:n.style},{default:()=>{var T;return[(T=r.default)==null?void 0:T.call(r)]}}):(D=r.default)==null?void 0:D.call(r)}}});const bH=ur({align:{type:String,default:"center",validator:n=>["center","start"].includes(n)},direction:{type:String,default:"vertical",validator:n=>["vertical","horizontal"].includes(n)},justify:{type:String,default:"auto",validator:n=>["auto","center"].includes(n)},side:{type:String,validator:n=>n==null||["start","end"].includes(n)},lineInset:{type:[String,Number],default:0},lineThickness:{type:[String,Number],default:2},lineColor:String,truncateLine:{type:String,validator:n=>["start","end","both"].includes(n)},...Zr(),...ds(),...Si(),...oa()},"VTimeline"),xH=Ar()({name:"VTimeline",props:bH(),setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{densityClasses:D}=Qs(n),{rtlClasses:T}=Cs();es({VTimelineDivider:{lineColor:Cr(n,"lineColor")},VTimelineItem:{density:Cr(n,"density"),lineInset:Cr(n,"lineInset")}});const p=cn(()=>{const d=n.side?n.side:n.density!=="default"?"end":null;return d&&`v-timeline--side-${d}`}),t=cn(()=>{const d=["v-timeline--truncate-line-start","v-timeline--truncate-line-end"];switch(n.truncateLine){case"both":return d;case"start":return d[0];case"end":return d[1];default:return null}});return Or(()=>gt(n.tag,{class:["v-timeline",`v-timeline--${n.direction}`,`v-timeline--align-${n.align}`,`v-timeline--justify-${n.justify}`,t.value,{"v-timeline--inset-line":!!n.lineInset},C.value,D.value,p.value,T.value,n.class],style:[{"--v-timeline-line-thickness":Qr(n.lineThickness)},n.style]},r)),{}}}),_H=ur({dotColor:String,fillDot:Boolean,hideDot:Boolean,icon:bi,iconColor:String,lineColor:String,...Zr(),...lo(),...pf(),...fs()},"VTimelineDivider"),wH=Ar()({name:"VTimelineDivider",props:_H(),setup(n,e){let{slots:r}=e;const{sizeClasses:C,sizeStyles:D}=M0(n,"v-timeline-divider__dot"),{backgroundColorStyles:T,backgroundColorClasses:p}=Oo(Cr(n,"dotColor")),{roundedClasses:t}=Eo(n,"v-timeline-divider__dot"),{elevationClasses:d}=Vs(n),{backgroundColorClasses:g,backgroundColorStyles:i}=Oo(Cr(n,"lineColor"));return Or(()=>gt("div",{class:["v-timeline-divider",{"v-timeline-divider--fill-dot":n.fillDot},n.class],style:n.style},[gt("div",{class:["v-timeline-divider__before",g.value],style:i.value},null),!n.hideDot&>("div",{key:"dot",class:["v-timeline-divider__dot",d.value,t.value,C.value],style:D.value},[gt("div",{class:["v-timeline-divider__inner-dot",p.value,t.value],style:T.value},[r.default?gt(Fa,{key:"icon-defaults",disabled:!n.icon,defaults:{VIcon:{color:n.iconColor,icon:n.icon,size:n.size}}},r.default):gt(ja,{key:"icon",color:n.iconColor,icon:n.icon,size:n.size},null)])]),gt("div",{class:["v-timeline-divider__after",g.value],style:i.value},null)])),{}}}),TH=ur({density:String,dotColor:String,fillDot:Boolean,hideDot:Boolean,hideOpposite:{type:Boolean,default:void 0},icon:bi,iconColor:String,lineInset:[Number,String],...Zr(),...sc(),...fs(),...lo(),...pf(),...Si()},"VTimelineItem"),kH=Ar()({name:"VTimelineItem",props:TH(),setup(n,e){let{slots:r}=e;const{dimensionStyles:C}=lc(n),D=Wr(0),T=Vr();return $r(T,p=>{var t;p&&(D.value=((t=p.$el.querySelector(".v-timeline-divider__dot"))==null?void 0:t.getBoundingClientRect().width)??0)},{flush:"post"}),Or(()=>{var p,t;return gt("div",{class:["v-timeline-item",{"v-timeline-item--fill-dot":n.fillDot},n.class],style:[{"--v-timeline-dot-size":Qr(D.value),"--v-timeline-line-inset":n.lineInset?`calc(var(--v-timeline-dot-size) / 2 + ${Qr(n.lineInset)})`:Qr(0)},n.style]},[gt("div",{class:"v-timeline-item__body",style:C.value},[(p=r.default)==null?void 0:p.call(r)]),gt(wH,{ref:T,hideDot:n.hideDot,icon:n.icon,iconColor:n.iconColor,size:n.size,elevation:n.elevation,dotColor:n.dotColor,fillDot:n.fillDot,rounded:n.rounded},{default:r.icon}),n.density!=="compact"&>("div",{class:"v-timeline-item__opposite"},[!n.hideOpposite&&((t=r.opposite)==null?void 0:t.call(r))])])}),{}}}),MH=ur({...Zr(),...cc({variant:"text"})},"VToolbarItems"),AH=Ar()({name:"VToolbarItems",props:MH(),setup(n,e){let{slots:r}=e;return es({VBtn:{color:Cr(n,"color"),height:"inherit",variant:Cr(n,"variant")}}),Or(()=>{var C;return gt("div",{class:["v-toolbar-items",n.class],style:n.style},[(C=r.default)==null?void 0:C.call(r)])}),{}}});const SH=ur({id:String,text:String,...ic(cg({closeOnBack:!1,location:"end",locationStrategy:"connected",eager:!0,minWidth:0,offset:10,openOnClick:!1,openOnHover:!0,origin:"auto",scrim:!1,scrollStrategy:"reposition",transition:!1}),["absolute","persistent"])},"VTooltip"),CH=Ar()({name:"VTooltip",props:SH(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const C=xi(n,"modelValue"),{scopeId:D}=E0(),T=Js(),p=cn(()=>n.id||`v-tooltip-${T}`),t=Vr(),d=cn(()=>n.location.split(" ").length>1?n.location:n.location+" center"),g=cn(()=>n.origin==="auto"||n.origin==="overlap"||n.origin.split(" ").length>1||n.location.split(" ").length>1?n.origin:n.origin+" center"),i=cn(()=>n.transition?n.transition:C.value?"scale-transition":"fade-transition"),M=cn(()=>qr({"aria-describedby":p.value},n.activatorProps));return Or(()=>{const[v]=of.filterProps(n);return gt(of,qr({ref:t,class:["v-tooltip",n.class],style:n.style,id:p.value},v,{modelValue:C.value,"onUpdate:modelValue":f=>C.value=f,transition:i.value,absolute:!0,location:d.value,origin:g.value,persistent:!0,role:"tooltip",activatorProps:M.value,_disableGlobalStack:!0},D),{activator:r.activator,default:function(){var u;for(var f=arguments.length,l=new Array(f),a=0;a!0},setup(n,e){let{slots:r}=e;const C=hA(n,"validation");return()=>{var D;return(D=r.default)==null?void 0:D.call(r,C)}}}),LH=Object.freeze(Object.defineProperty({__proto__:null,VAlert:aN,VAlertTitle:rA,VApp:mB,VAppBar:DB,VAppBarNavIcon:tN,VAppBarTitle:nN,VAutocomplete:TV,VAvatar:Zf,VBadge:MV,VBanner:CV,VBannerActions:FA,VBannerText:BA,VBottomNavigation:LV,VBreadcrumbs:OV,VBreadcrumbsDivider:NA,VBreadcrumbsItem:VA,VBtn:_l,VBtnGroup:bx,VBtnToggle:jB,VCard:FV,VCardActions:jA,VCardItem:GA,VCardSubtitle:UA,VCardText:qA,VCardTitle:HA,VCarousel:WV,VCarouselItem:$V,VCheckbox:dN,VCheckboxBtn:h0,VChip:ug,VChipGroup:gN,VClassIcon:a_,VCode:ZV,VCol:oU,VColorPicker:Fj,VCombobox:Vj,VComponentIcon:dx,VContainer:nU,VCounter:l1,VDefaultsProvider:Fa,VDialog:Uj,VDialogBottomTransition:bB,VDialogTopTransition:xB,VDialogTransition:Qy,VDivider:wA,VExpandTransition:e1,VExpandXTransition:u_,VExpansionPanel:$j,VExpansionPanelText:nS,VExpansionPanelTitle:iS,VExpansionPanels:qj,VFabTransition:yB,VFadeTransition:gx,VField:hg,VFieldLabel:um,VFileInput:Xj,VFooter:Jj,VForm:eU,VHover:gU,VIcon:ja,VImg:Zd,VInput:Bs,VItem:bU,VItemGroup:yU,VKbd:xU,VLabel:C0,VLayout:wU,VLayoutItem:kU,VLazy:AU,VLigatureIcon:CF,VList:a1,VListGroup:Tx,VListImg:zN,VListItem:af,VListItemAction:BN,VListItemMedia:VN,VListItemSubtitle:bA,VListItemTitle:xA,VListSubheader:_A,VLocaleProvider:CU,VMain:LU,VMenu:s1,VMessages:lA,VNavigationDrawer:NU,VNoSsr:VU,VOverlay:of,VPagination:HU,VParallax:WU,VProgressCircular:d_,VProgressLinear:p_,VRadio:$U,VRadioGroup:XU,VRangeSlider:JU,VRating:eH,VResponsive:vx,VRow:dU,VScaleTransition:s_,VScrollXReverseTransition:wB,VScrollXTransition:_B,VScrollYReverseTransition:kB,VScrollYTransition:TB,VSelect:yV,VSelectionControl:Xd,VSelectionControlGroup:aA,VSheet:Ox,VSlideGroup:Dx,VSlideGroupItem:nH,VSlideXReverseTransition:AB,VSlideXTransition:MB,VSlideYReverseTransition:SB,VSlideYTransition:l_,VSlider:Px,VSnackbar:iH,VSpacer:pU,VSvgIcon:i_,VSwitch:oH,VSystemBar:lH,VTab:bS,VTable:pH,VTabs:fH,VTextField:Kd,VTextarea:gH,VThemeProvider:yH,VTimeline:xH,VTimelineItem:kH,VToolbar:yx,VToolbarItems:AH,VToolbarTitle:o_,VTooltip:CH,VValidation:EH,VVirtualScroll:h1,VWindow:Sx,VWindowItem:Cx},Symbol.toStringTag,{value:"Module"}));function IH(n,e){const r=e.modifiers||{},C=e.value,{once:D,immediate:T,...p}=r,t=!Object.keys(p).length,{handler:d,options:g}=typeof C=="object"?C:{handler:C,options:{attributes:(p==null?void 0:p.attr)??t,characterData:(p==null?void 0:p.char)??t,childList:(p==null?void 0:p.child)??t,subtree:(p==null?void 0:p.sub)??t}},i=new MutationObserver(function(){let M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],v=arguments.length>1?arguments[1]:void 0;d==null||d(M,v),D&&xS(n,e)});T&&(d==null||d([],i)),n._mutate=Object(n._mutate),n._mutate[e.instance.$.uid]={observer:i},i.observe(n,g)}function xS(n,e){var r;(r=n._mutate)!=null&&r[e.instance.$.uid]&&(n._mutate[e.instance.$.uid].observer.disconnect(),delete n._mutate[e.instance.$.uid])}const RH={mounted:IH,unmounted:xS};function PH(n,e){var D,T;const r=e.value,C={passive:!((D=e.modifiers)!=null&&D.active)};window.addEventListener("resize",r,C),n._onResize=Object(n._onResize),n._onResize[e.instance.$.uid]={handler:r,options:C},(T=e.modifiers)!=null&&T.quiet||r()}function OH(n,e){var D;if(!((D=n._onResize)!=null&&D[e.instance.$.uid]))return;const{handler:r,options:C}=n._onResize[e.instance.$.uid];window.removeEventListener("resize",r,C),delete n._onResize[e.instance.$.uid]}const DH={mounted:PH,unmounted:OH};function _S(n,e){const{self:r=!1}=e.modifiers??{},C=e.value,D=typeof C=="object"&&C.options||{passive:!0},T=typeof C=="function"||"handleEvent"in C?C:C.handler,p=r?n:e.arg?document.querySelector(e.arg):window;p&&(p.addEventListener("scroll",T,D),n._onScroll=Object(n._onScroll),n._onScroll[e.instance.$.uid]={handler:T,options:D,target:r?void 0:p})}function wS(n,e){var T;if(!((T=n._onScroll)!=null&&T[e.instance.$.uid]))return;const{handler:r,options:C,target:D=n}=n._onScroll[e.instance.$.uid];D.removeEventListener("scroll",r,C),delete n._onScroll[e.instance.$.uid]}function zH(n,e){e.value!==e.oldValue&&(wS(n,e),_S(n,e))}const FH={mounted:_S,unmounted:wS,updated:zH},BH=Object.freeze(Object.defineProperty({__proto__:null,ClickOutside:OA,Intersect:og,Mutate:RH,Resize:DH,Ripple:nd,Scroll:FH,Touch:M_},Symbol.toStringTag,{value:"Module"})),E_=R7(Fz);E_.use(D7());E_.use(B6({components:LH,directives:BH}));E_.mount("#app"); diff --git a/js-component/dist/assets/index-97c297ad.css b/js-component/dist/assets/index-36755211.css similarity index 56% rename from js-component/dist/assets/index-97c297ad.css rename to js-component/dist/assets/index-36755211.css index 86e1f211..42f26990 100644 --- a/js-component/dist/assets/index-97c297ad.css +++ b/js-component/dist/assets/index-36755211.css @@ -1,4 +1,4 @@ -.tabulator{position:relative;border:1px solid #dee2e6;background-color:#fff;font-size:16px;text-align:left;overflow:hidden;-webkit-transform:translateZ(0);-moz-transform:translateZ(0);-ms-transform:translateZ(0);-o-transform:translateZ(0);transform:translateZ(0)}.tabulator[tabulator-layout=fitDataFill] .tabulator-tableholder .tabulator-table{min-width:100%}.tabulator[tabulator-layout=fitDataTable]{display:inline-block}.tabulator.tabulator-block-select{-webkit-user-select:none;user-select:none}.tabulator.tabulator-ranges .tabulator-cell:not(.tabulator-editing){-webkit-user-select:none;user-select:none}.tabulator .tabulator-header{position:relative;box-sizing:border-box;width:100%;border-bottom:1px solid #dee2e6;background-color:#fff;color:#555;font-weight:700;white-space:nowrap;overflow:hidden;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none;outline:none}.tabulator .tabulator-header.tabulator-header-hidden{display:none}.tabulator .tabulator-header .tabulator-header-contents{position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-header-contents .tabulator-headers{display:inline-block}.tabulator .tabulator-header .tabulator-col{display:inline-flex;position:relative;box-sizing:border-box;flex-direction:column;justify-content:flex-start;border-right:1px solid #aaa;background:#fff;text-align:left;vertical-align:bottom;overflow:hidden}.tabulator .tabulator-header .tabulator-col.tabulator-moving{position:absolute;border:1px solid #dee2e6;background:#e6e6e6;pointer-events:none}.tabulator .tabulator-header .tabulator-col.tabulator-range-highlight{background-color:#d6d6d6;color:#000}.tabulator .tabulator-header .tabulator-col.tabulator-range-selected{background-color:#3876ca;color:#fff}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{box-sizing:border-box;position:relative;padding:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button{padding:0 8px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button:hover{cursor:pointer;opacity:.6}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title-holder{position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title{box-sizing:border-box;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title.tabulator-col-title-wrap{white-space:normal;text-overflow:initial}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-title-editor{box-sizing:border-box;width:100%;border:1px solid #999;padding:1px;background:#fff}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-header-popup-button+.tabulator-title-editor{width:calc(100% - 22px)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{display:flex;align-items:center;position:absolute;top:0;bottom:0;right:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #bbb}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{position:relative;display:flex;border-top:1px solid #aaa;overflow:hidden;margin-right:-1px}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter{position:relative;box-sizing:border-box;margin-top:2px;width:100%;text-align:center}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter textarea{height:auto!important}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter svg{margin-top:3px}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input::-ms-clear{width:0;height:0}.tabulator .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:25px}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable.tabulator-col-sorter-element:hover{cursor:pointer;background-color:#e6e6e6}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter{color:#bbb}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-bottom:6px solid #555}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid #bbb}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter{color:#666}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-bottom:6px solid #555}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid #666}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter{color:#666}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-top:6px solid #555}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-bottom:none;border-top:6px solid #666;color:#666}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical .tabulator-col-content .tabulator-col-title{writing-mode:vertical-rl;text-orientation:mixed;display:flex;align-items:center;justify-content:center}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-col-vertical-flip .tabulator-col-title{transform:rotate(180deg)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-title{padding-right:0;padding-top:20px}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable.tabulator-col-vertical-flip .tabulator-col-title{padding-right:0;padding-bottom:20px}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-sorter{justify-content:center;left:0;right:0;top:4px;bottom:auto}.tabulator .tabulator-header .tabulator-frozen{position:sticky;left:0;z-index:11}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-left{border-right:2px solid #dee2e6}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-right{border-left:2px solid #dee2e6}.tabulator .tabulator-header .tabulator-calcs-holder{box-sizing:border-box;display:inline-block;background:white!important;border-top:1px solid #dee2e6;border-bottom:1px solid #aaa}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row{background:white!important}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-header .tabulator-frozen-rows-holder{display:inline-block}.tabulator .tabulator-header .tabulator-frozen-rows-holder:empty{display:none}.tabulator .tabulator-tableholder{position:relative;width:100%;white-space:nowrap;overflow:auto;-webkit-overflow-scrolling:touch}.tabulator .tabulator-tableholder:focus{outline:none}.tabulator .tabulator-tableholder .tabulator-placeholder{box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-width:100%;width:100%}.tabulator .tabulator-tableholder .tabulator-placeholder[tabulator-render-mode=virtual]{min-height:100%}.tabulator .tabulator-tableholder .tabulator-placeholder .tabulator-placeholder-contents{display:inline-block;text-align:center;padding:10px;color:#ccc;font-weight:700;font-size:20px;white-space:normal}.tabulator .tabulator-tableholder .tabulator-table{position:relative;display:inline-block;background-color:#fff;white-space:nowrap;overflow:visible;color:#333}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs{font-weight:700;background:#ececec!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-top{border-bottom:2px solid #dee2e6}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-bottom{border-top:2px solid #dee2e6}.tabulator .tabulator-tableholder .tabulator-range-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;pointer-events:none}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range{position:absolute;box-sizing:border-box;border:1px solid #2975DD}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range.tabulator-range-active:after{content:"";position:absolute;right:-3px;bottom:-3px;width:6px;height:6px;background-color:#2975dd;border-radius:999px}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range-cell-active{position:absolute;box-sizing:border-box;border:2px solid #2975DD}.tabulator .tabulator-footer{border-top:1px solid #dee2e6;background-color:#e6e6e6;color:#555;font-weight:700;white-space:nowrap;user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator .tabulator-footer .tabulator-footer-contents{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:5px 10px}.tabulator .tabulator-footer .tabulator-footer-contents:empty{display:none}.tabulator .tabulator-footer .tabulator-calcs-holder{box-sizing:border-box;width:100%;text-align:left;background:#f3f3f3!important;border-bottom:1px solid #dee2e6;border-top:1px solid #dee2e6;overflow:hidden}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row{display:inline-block;background:#f3f3f3!important}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-footer .tabulator-calcs-holder:only-child{margin-bottom:-5px;border-bottom:none}.tabulator .tabulator-footer>*+.tabulator-page-counter{margin-left:10px}.tabulator .tabulator-footer .tabulator-page-counter{font-weight:400}.tabulator .tabulator-footer .tabulator-paginator{flex:1;text-align:right;color:#555;font-family:inherit;font-weight:inherit;font-size:inherit}.tabulator .tabulator-footer .tabulator-page-size{display:inline-block;margin:0 5px;padding:2px 5px;border:1px solid #dee2e6;border-radius:3px}.tabulator .tabulator-footer .tabulator-pages{margin:0 7px}.tabulator .tabulator-footer .tabulator-page{display:inline-block;margin:0 2px;padding:2px 5px;border:1px solid #dee2e6;border-radius:3px;background:rgba(255,255,255,.2)}.tabulator .tabulator-footer .tabulator-page.active{color:#fff}.tabulator .tabulator-footer .tabulator-page:disabled{opacity:.5}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-footer .tabulator-page:not(disabled):hover{cursor:pointer;background:rgba(0,0,0,.2);color:#fff}}.tabulator .tabulator-col-resize-handle{position:relative;display:inline-block;width:6px;margin-left:-3px;margin-right:-3px;z-index:11;vertical-align:middle}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-col-resize-handle:hover{cursor:ew-resize}}.tabulator .tabulator-col-resize-handle:last-of-type{width:3px;margin-right:0}.tabulator .tabulator-alert{position:absolute;display:flex;align-items:center;top:0;left:0;z-index:100;height:100%;width:100%;background:rgba(0,0,0,.4);text-align:center}.tabulator .tabulator-alert .tabulator-alert-msg{display:inline-block;margin:0 auto;padding:10px 20px;border-radius:10px;background:#fff;font-weight:700;font-size:16px}.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-msg{border:4px solid #333;color:#000}.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-error{border:4px solid #D00;color:#590000}.tabulator-row{position:relative;box-sizing:border-box;min-height:24px;background-color:#fff}.tabulator-row.tabulator-row-even{background-color:#f9f9f9}@media (hover: hover) and (pointer: fine){.tabulator-row.tabulator-selectable:hover{background-color:#f5f5f5;cursor:pointer}}.tabulator-row.tabulator-selected{background-color:#9abcea}@media (hover: hover) and (pointer: fine){.tabulator-row.tabulator-selected:hover{background-color:#769bcc;cursor:pointer}}.tabulator-row.tabulator-row-moving{border:1px solid #000;background:#fff}.tabulator-row.tabulator-moving{position:absolute;border-top:1px solid #dee2e6;border-bottom:1px solid #dee2e6;pointer-events:none;z-index:15}.tabulator-row.tabulator-range-highlight .tabulator-cell.tabulator-range-row-header{background-color:#d6d6d6;color:#000}.tabulator-row.tabulator-range-highlight.tabulator-range-selected .tabulator-cell.tabulator-range-row-header,.tabulator-row.tabulator-range-selected .tabulator-cell.tabulator-range-row-header{background-color:#3876ca;color:#fff}.tabulator-row .tabulator-row-resize-handle{position:absolute;right:0;bottom:0;left:0;height:5px}.tabulator-row .tabulator-row-resize-handle.prev{top:0;bottom:auto}@media (hover: hover) and (pointer: fine){.tabulator-row .tabulator-row-resize-handle:hover{cursor:ns-resize}}.tabulator-row .tabulator-responsive-collapse{box-sizing:border-box;padding:5px;border-top:1px solid #dee2e6;border-bottom:1px solid #dee2e6}.tabulator-row .tabulator-responsive-collapse:empty{display:none}.tabulator-row .tabulator-responsive-collapse table{font-size:16px}.tabulator-row .tabulator-responsive-collapse table tr td{position:relative}.tabulator-row .tabulator-responsive-collapse table tr td:first-of-type{padding-right:10px}.tabulator-row .tabulator-cell{display:inline-block;position:relative;box-sizing:border-box;padding:4px;border-right:1px solid #dee2e6;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;outline:none}.tabulator-row .tabulator-cell.tabulator-frozen{display:inline-block;position:sticky;left:0;background-color:inherit;z-index:11}.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-right:2px solid #dee2e6}.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-left:2px solid #dee2e6}.tabulator-row .tabulator-cell.tabulator-editing{border:1px solid #1D68CD;outline:none;padding:0}.tabulator-row .tabulator-cell.tabulator-editing input,.tabulator-row .tabulator-cell.tabulator-editing select{border:1px;background:transparent;outline:none}.tabulator-row .tabulator-cell.tabulator-validation-fail{border:1px solid #dd0000}.tabulator-row .tabulator-cell.tabulator-validation-fail input,.tabulator-row .tabulator-cell.tabulator-validation-fail select{border:1px;background:transparent;color:#d00}.tabulator-row .tabulator-cell.tabulator-row-handle{display:inline-flex;align-items:center;justify-content:center;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box{width:80%}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box .tabulator-row-handle-bar{width:100%;height:3px;margin-top:2px;background:#666}.tabulator-row .tabulator-cell.tabulator-range-selected:not(.tabulator-range-only-cell-selected):not(.tabulator-range-row-header){background-color:#9abcea}.tabulator-row .tabulator-cell .tabulator-data-tree-branch-empty{display:inline-block;width:7px}.tabulator-row .tabulator-cell .tabulator-data-tree-branch{display:inline-block;vertical-align:middle;height:9px;width:7px;margin-top:-9px;margin-right:5px;border-bottom-left-radius:1px;border-left:2px solid #dee2e6;border-bottom:2px solid #dee2e6}.tabulator-row .tabulator-cell .tabulator-data-tree-control{display:inline-flex;justify-content:center;align-items:center;vertical-align:middle;height:11px;width:11px;margin-right:5px;border:1px solid #333;border-radius:2px;background:rgba(0,0,0,.1);overflow:hidden}@media (hover: hover) and (pointer: fine){.tabulator-row .tabulator-cell .tabulator-data-tree-control:hover{cursor:pointer;background:rgba(0,0,0,.2)}}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse{display:inline-block;position:relative;height:7px;width:1px;background:transparent}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand{display:inline-block;position:relative;height:7px;width:1px;background:#333}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle{display:inline-flex;align-items:center;justify-content:center;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none;height:15px;width:15px;border-radius:20px;background:#666;color:#fff;font-weight:700;font-size:1.1em}@media (hover: hover) and (pointer: fine){.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle:hover{opacity:.7;cursor:pointer}}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-close{display:initial}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-open{display:none}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle svg{stroke:#fff}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle .tabulator-responsive-collapse-toggle-close{display:none}.tabulator-row .tabulator-cell .tabulator-traffic-light{display:inline-block;height:14px;width:14px;border-radius:14px}.tabulator-row.tabulator-group{box-sizing:border-box;border-bottom:1px solid #999;border-right:1px solid #dee2e6;border-top:1px solid #999;padding:5px 5px 5px 10px;background:#ccc;font-weight:700;min-width:100%}@media (hover: hover) and (pointer: fine){.tabulator-row.tabulator-group:hover{cursor:pointer;background-color:#0000001a}}.tabulator-row.tabulator-group.tabulator-group-visible .tabulator-arrow{margin-right:10px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #666;border-bottom:0}.tabulator-row.tabulator-group.tabulator-group-level-1{padding-left:30px}.tabulator-row.tabulator-group.tabulator-group-level-2{padding-left:50px}.tabulator-row.tabulator-group.tabulator-group-level-3{padding-left:70px}.tabulator-row.tabulator-group.tabulator-group-level-4{padding-left:90px}.tabulator-row.tabulator-group.tabulator-group-level-5{padding-left:110px}.tabulator-row.tabulator-group .tabulator-group-toggle{display:inline-block}.tabulator-row.tabulator-group .tabulator-arrow{display:inline-block;width:0;height:0;margin-right:16px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:0;border-left:6px solid #666;vertical-align:middle}.tabulator-row.tabulator-group span{margin-left:10px;color:#d00}.tabulator-popup-container{position:absolute;display:inline-block;box-sizing:border-box;background:#fff;border:1px solid #dee2e6;box-shadow:0 0 5px #0003;font-size:16px;overflow-y:auto;-webkit-overflow-scrolling:touch;z-index:10000}.tabulator-popup{padding:5px;border-radius:3px}.tabulator-tooltip{max-width:min(500px,100%);padding:3px 5px;border-radius:2px;box-shadow:none;font-size:12px;pointer-events:none}.tabulator-menu .tabulator-menu-item{position:relative;box-sizing:border-box;padding:5px 10px;-webkit-user-select:none;user-select:none}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-disabled{opacity:.5}@media (hover: hover) and (pointer: fine){.tabulator-menu .tabulator-menu-item:not(.tabulator-menu-item-disabled):hover{cursor:pointer;background:#f9f9f9}}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu{padding-right:25px}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu:after{display:inline-block;position:absolute;top:calc(5px + .4em);right:10px;height:7px;width:7px;content:"";border-width:1px 1px 0 0;border-style:solid;border-color:#dee2e6;vertical-align:top;transform:rotate(45deg)}.tabulator-menu .tabulator-menu-separator{border-top:1px solid #dee2e6}.tabulator-edit-list{max-height:200px;font-size:16px;overflow-y:auto;-webkit-overflow-scrolling:touch}.tabulator-edit-list .tabulator-edit-list-item{padding:4px;color:#333;outline:none}.tabulator-edit-list .tabulator-edit-list-item.active{color:#fff;background:#1D68CD}.tabulator-edit-list .tabulator-edit-list-item.active.focused{outline:1px solid rgba(255,255,255,.5)}.tabulator-edit-list .tabulator-edit-list-item.focused{outline:1px solid #1D68CD}@media (hover: hover) and (pointer: fine){.tabulator-edit-list .tabulator-edit-list-item:hover{cursor:pointer;color:#fff;background:#1D68CD}}.tabulator-edit-list .tabulator-edit-list-placeholder{padding:4px;color:#333;text-align:center}.tabulator-edit-list .tabulator-edit-list-group{border-bottom:1px solid #dee2e6;padding:6px 4px 4px;color:#333;font-weight:700}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-2,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-2{padding-left:12px}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-3,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-3{padding-left:20px}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-4,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-4{padding-left:28px}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-5,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-5{padding-left:36px}.tabulator.tabulator-ltr{direction:ltr}.tabulator.tabulator-rtl{text-align:initial;direction:rtl}.tabulator.tabulator-rtl .tabulator-header .tabulator-col{text-align:initial;border-left:1px solid #aaa;border-right:initial}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{margin-right:initial;margin-left:-1px}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:0;padding-left:25px}.tabulator.tabulator-rtl .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{left:8px;right:initial}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell{border-right:initial;border-left:1px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-branch{margin-right:initial;margin-left:5px;border-bottom-left-radius:initial;border-bottom-right-radius:1px;border-left:initial;border-right:2px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-control{margin-right:initial;margin-left:5px}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-left:2px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-right:2px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-col-resize-handle:last-of-type{width:3px;margin-left:0;margin-right:-3px}.tabulator.tabulator-rtl .tabulator-footer .tabulator-calcs-holder{text-align:initial}.tabulator-print-fullscreen{position:absolute;top:0;bottom:0;left:0;right:0;z-index:10000}body.tabulator-print-fullscreen-hide>*:not(.tabulator-print-fullscreen){display:none!important}.tabulator-print-table{border-collapse:collapse}.tabulator-print-table .tabulator-data-tree-branch{display:inline-block;vertical-align:middle;height:9px;width:7px;margin-top:-9px;margin-right:5px;border-bottom-left-radius:1px;border-left:2px solid #dee2e6;border-bottom:2px solid #dee2e6}.tabulator-print-table .tabulator-print-table-group{box-sizing:border-box;border-bottom:1px solid #999;border-right:1px solid #dee2e6;border-top:1px solid #999;padding:5px 5px 5px 10px;background:#ccc;font-weight:700;min-width:100%}@media (hover: hover) and (pointer: fine){.tabulator-print-table .tabulator-print-table-group:hover{cursor:pointer;background-color:#0000001a}}.tabulator-print-table .tabulator-print-table-group.tabulator-group-visible .tabulator-arrow{margin-right:10px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #666;border-bottom:0}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-1 td{padding-left:30px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-2 td{padding-left:50px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-3 td{padding-left:70px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-4 td{padding-left:90px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-5 td{padding-left:110px!important}.tabulator-print-table .tabulator-print-table-group .tabulator-group-toggle{display:inline-block}.tabulator-print-table .tabulator-print-table-group .tabulator-arrow{display:inline-block;width:0;height:0;margin-right:16px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:0;border-left:6px solid #666;vertical-align:middle}.tabulator-print-table .tabulator-print-table-group span{margin-left:10px;color:#d00}.tabulator-print-table .tabulator-data-tree-control{display:inline-flex;justify-content:center;align-items:center;vertical-align:middle;height:11px;width:11px;margin-right:5px;border:1px solid #333;border-radius:2px;background:rgba(0,0,0,.1);overflow:hidden}@media (hover: hover) and (pointer: fine){.tabulator-print-table .tabulator-data-tree-control:hover{cursor:pointer;background:rgba(0,0,0,.2)}}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse{display:inline-block;position:relative;height:7px;width:1px;background:transparent}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand{display:inline-block;position:relative;height:7px;width:1px;background:#333}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator{background-color:#fff;border:none}.tabulator .tabulator-header{border-top:1px solid #dee2e6;border-bottom:2px solid #dee2e6;color:inherit}.tabulator .tabulator-header .tabulator-col{border-right:none;background-color:#fff}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{padding:12px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{right:0}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{border-top:1px solid #dee2e6}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input{padding:.375rem .75rem;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;font-size:1rem;line-height:1.5;color:#495057}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input:focus{color:#495057;background-color:#fff;border:1px solid #1D68CD;outline:0}.tabulator .tabulator-header .tabulator-calcs-holder{width:100%;border-bottom:1px solid #dee2e6}.tabulator .tabulator-tableholder .tabulator-placeholder span{color:#000}.tabulator .tabulator-tableholder .tabulator-table,.tabulator .tabulator-footer,.tabulator .tabulator-footer .tabulator-paginator{color:inherit}.tabulator .tabulator-footer .tabulator-pages{margin:0}.tabulator .tabulator-footer .tabulator-page{margin:5px 0 0;padding:8px 12px}.tabulator .tabulator-footer .tabulator-page[data-page=first]{border-top-left-radius:4px;border-bottom-left-radius:4px}.tabulator .tabulator-footer .tabulator-page[data-page=last]{border:1px solid #dee2e6;border-top-right-radius:4px;border-bottom-right-radius:4px}.tabulator .tabulator-footer .tabulator-page.active{border-color:#007bff;background-color:#007bff;color:#fff}.tabulator .tabulator-footer .tabulator-page:disabled{border-color:#dee2e6;background:#fff;color:#6c757d}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-footer .tabulator-page:not(.disabled):hover{border-color:#dee2e6;background:#e9ecef;color:#0056b3}}.tabulator.thead-dark .tabulator-header,.tabulator.thead-dark .tabulator-header .tabulator-col{border-color:#32383e;background-color:#212529;color:#fff}.tabulator.table-dark{background-color:#212529}.tabulator.table-dark:not(.thead-light) .tabulator-header{border-color:#32383e;background-color:#212529;color:#fff}.tabulator.table-dark:not(.thead-light) .tabulator-header .tabulator-col{border-color:#32383e;background-color:#212529;color:#fff}.tabulator.table-dark .tabulator-tableholder{color:#fff}.tabulator.table-dark .tabulator-row{border-color:#32383e;background-color:#212529;color:#fff}@media (hover: hover) and (pointer: fine){.tabulator.table-dark .tabulator-row:hover{background-color:#32383e}.tabulator.table-dark .tabulator-row:hover .tabulator-cell{background-color:#ffffff13}}.tabulator.table-dark .tabulator-row.tabulator-selected{background-color:#9abcea}.tabulator.table-dark .tabulator-footer{border-color:#32383e!important}.tabulator.table-dark .tabulator-footer .tabulator-calcs-holder{border-color:#32383e!important;background:#212529!important}.tabulator.table-dark .tabulator-footer .tabulator-calcs-holder .tabulator-row{border-color:#32383e!important;background-color:#212529!important;color:#fff!important}.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even{background-color:#f9f9f9}.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even.tabulator-selected{background-color:#9abcea}@media (hover: hover) and (pointer: fine){.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even.tabulator-selectable:hover{background-color:#f5f5f5;cursor:pointer}.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even.tabulator-selected:hover{background-color:#769bcc;cursor:pointer}}.tabulator.table-striped.table-dark .tabulator-row:nth-child(2n) .tabulator-cell{background-color:#ffffff0d}.tabulator.table-bordered{border:1px solid #dee2e6}.tabulator.table-bordered .tabulator-header .tabulator-col,.tabulator.table-bordered .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell{border-right:1px solid #dee2e6}.tabulator.table-borderless .tabulator-header,.tabulator.table-borderless .tabulator-row{border:none}.tabulator.table-sm .tabulator-header .tabulator-col .tabulator-col-content{padding:5px!important}.tabulator.table-sm .tabulator-tableholder .tabulator-table .tabulator-row{min-height:26px}.tabulator.table-sm .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell{padding:5px!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-primary{background:#b8daff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-secondary{background:#d6d8db!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-success{background:#c3e6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-info{background:#bee5eb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-warning{background:#ffeeba!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-danger{background:#f5c6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-light{background:#fdfdfe!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-dark{background:#c6c8ca!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-active{background:#f5f5f5!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-primary{background:#007bff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-secondary{background:#6c757d!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-success{background:#28a745!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-info{background:#17a2b8!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-warning{background:#ffc107!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-danger{background:#dc3545!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-light{background:#f8f9fa!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-dark{background:#343a40!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-active{background:#f5f5f5!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-primary{background:#b8daff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-secondary{background:#d6d8db!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-success{background:#c3e6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-info{background:#bee5eb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-warning{background:#ffeeba!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-danger{background:#f5c6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-light{background:#fdfdfe!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-dark{background:#c6c8ca!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-active{background:#f5f5f5!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-primary{background:#007bff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-secondary{background:#6c757d!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-success{background:#28a745!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-info{background:#17a2b8!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-warning{background:#ffc107!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-danger{background:#dc3545!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-light{background:#f8f9fa!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-dark{background:#343a40!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-active{background:#f5f5f5!important}.tabulator-row{min-height:40px;border-bottom:1px solid #dee2e6}.tabulator-row .tabulator-cell{padding:12px;border-right:none}.tabulator-row .tabulator-cell:last-of-type{border-right:none}.tabulator-row .tabulator-cell .tabulator-data-tree-control{border:1px solid #ccc}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{background:#ccc}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand{background:#ccc}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{background:#ccc}.tabulator-row.tabulator-group{background:#fafafa}.tabulator-row.tabulator-group span{color:#666}.tabulator-edit-select-list{background:#fff}.tabulator-edit-select-list .tabulator-edit-select-list-item.active{color:#fff}.tabulator-edit-select-list .tabulator-edit-select-list-item.active.focused{outline:1px solid rgba(255,255,255,.5)}@media (hover: hover) and (pointer: fine){.tabulator-edit-select-list .tabulator-edit-select-list-item:hover{color:#fff}}.tabulator-edit-select-list .tabulator-edit-select-list-notice,.tabulator-edit-select-list .tabulator-edit-select-list-group{color:inherit}.tabulator.tabulator-rtl .tabulator-header .tabulator-col{text-align:initial;border-left:initial}.tabulator-print-table .tabulator-print-table-group{background:#fafafa}.tabulator-print-table .tabulator-print-table-group span{color:#666}.tabulator-print-table .tabulator-data-tree-control{color:inherit}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{background:#ccc}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand{background:#ccc}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{background:#ccc}.tabulator-col-title,.tabulator-cell{font-size:14px}.plot-container[data-v-5b71cbd4]{position:relative;width:100%}.simple-button[data-v-5b71cbd4]{position:absolute;top:17%;left:6.5%;z-index:1000;background-color:#f0f0f0;border:none;border-radius:50%;width:30px;height:30px;text-align:center;line-height:230%;cursor:pointer}.simple-button[data-v-5b71cbd4]:hover{background-color:#e0e0e0}.foreground[data-v-fb6c82e8]{position:relative;z-index:1000}.sequence-amino-acid-highlighted[data-v-fb6c82e8],.sequence-amino-acid.highlighted[data-v-fb6c82e8]{background-color:#f3a712;color:#000;outline:3px solid #29335C;font-weight:700}.sequence-amino-acid-truncated[data-v-fb6c82e8],.sequence-amino-acid.truncated .aa-text[data-v-fb6c82e8]{color:#8080804d;outline:rgba(128,128,128,.3);text-decoration:line-through!important}.sequence-amino-acid[data-v-fb6c82e8]{background-color:var(--amino-acid-cell-bg-color);color:var(--amino-acid-cell-color)}.sequence-amino-acid[data-v-fb6c82e8]:hover{background-color:var(--amino-acid-cell-hover-bg-color);color:var(--amino-acid-cell-hover-color)}.sequence-amino-acid-highlighted[data-v-fb6c82e8]{background-color:var(--amino-acid-cell-bg-color);color:#f3a712}.sequence-amino-acid-highlighted[data-v-fb6c82e8]:hover{background-color:var(--amino-acid-cell-hover-bg-color)}.sequence-amino-acid-modified[data-v-fb6c82e8]{background-color:#a79c91}.sequence-amino-acid-modified[data-v-fb6c82e8]:hover{background-color:#c5baaf}.frag-marker-container[data-v-fb6c82e8],.frag-marker-container-a[data-v-fb6c82e8],.frag-marker-container-b[data-v-fb6c82e8],.frag-marker-container-c[data-v-fb6c82e8],.frag-marker-container-x[data-v-fb6c82e8],.frag-marker-container-y[data-v-fb6c82e8],.frag-marker-container-z[data-v-fb6c82e8],.frag-marker-extra-type[data-v-fb6c82e8]{width:100%;height:100%;position:absolute;z-index:1000}.frag-marker-container-a[data-v-fb6c82e8]{top:-28%;left:15%}.frag-marker-container-b[data-v-fb6c82e8]{top:-8%;left:13%}.frag-marker-container-c[data-v-fb6c82e8]{top:-28%;left:15%}.frag-marker-container-x[data-v-fb6c82e8]{bottom:-32%;left:-10%}.frag-marker-container-y[data-v-fb6c82e8]{bottom:-8%;left:-10%}.frag-marker-container-z[data-v-fb6c82e8]{bottom:-32%;left:-10%}.frag-marker-extra-type[data-v-fb6c82e8]{top:-30%}.aa-text[data-v-fb6c82e8]{position:absolute}.tag-marker[data-v-fb6c82e8]{position:absolute;top:-7.5%;left:-7.5%;width:115%;height:115%;display:flex;align-items:center;justify-content:right;border-top:.3em solid black;border-right:.3em solid black;border-bottom:.3em solid black;border-left:.3em solid black;z-index:1100}.tag-start[data-v-fb6c82e8]{clip-path:inset(0 50% 0 0)}.tag-end[data-v-fb6c82e8]{clip-path:inset(0 0 0 50%)}.mod-marker[data-v-fb6c82e8]{position:absolute;width:100%;height:100%;display:flex;align-items:center;justify-content:right;background-image:radial-gradient(#676a9c .5px,transparent .5px),radial-gradient(#444cf7 .5px,#e5e5f7 .5px);background-size:15px 15px;background-position:0 0,10px 10px;background-repeat:repeat}.mod-mass[data-v-fb6c82e8]{background-color:#fff;display:inline-block;position:absolute;top:-15%;right:-25%;display:flex;align-items:center;justify-content:right;border-top:.1em solid #a79c91;border-right:.1em solid #a79c91;border-bottom:.1em solid #a79c91;border-left:.1em solid #a79c91;font-size:.7em;padding:0 .2em;z-index:1100}.mod-mass-a[data-v-fb6c82e8]{display:inline-block;position:absolute;top:-15%;right:-25%;display:flex;align-items:center;border-top:.2em solid green;border-right:.2em solid green;border-bottom:.2em solid green;border-radius:.5rem;padding:0 .2em;z-index:1200;font-size:.7em;color:#0000}.mod-mass-b[data-v-fb6c82e8]{display:inline-block;position:absolute;top:-15%;right:-25%;display:flex;align-items:center;border-top:.2em solid blue;border-right:.2em solid blue;border-bottom:.2em solid blue;border-radius:.5rem;z-index:1200;padding:0 .2em;font-size:.7em;color:#0000}.mod-mass-c[data-v-fb6c82e8]{display:inline-block;position:absolute;top:-15%;right:-25%;display:flex;align-items:center;border-top:.2em solid red;border-right:.2em solid red;border-bottom:.2em solid red;border-radius:.5rem;z-index:1200;font-size:.7em;padding:0 .2em;color:#0000}.mod-start[data-v-fb6c82e8]{clip-path:inset(0 50% 0 0)}.mod-end[data-v-fb6c82e8],.mod-start-cont[data-v-fb6c82e8]{clip-path:inset(0 0 0 50%)}.mod-end-cont[data-v-fb6c82e8]{clip-path:inset(0 50% 0 0)}.mod-center-cont[data-v-fb6c82e8]{width:125%}.undetermined[data-v-beee67fe]{position:relative;top:-20%;font-size:.7em;font-weight:1000;color:red;z-index:1100}.protein-terminal[data-v-beee67fe]:hover{background-color:var(--protein-terminal-cell-hover-bg-color);color:var(--protein-terminal-cell-hover-color)}.terminal-text[data-v-beee67fe]{font-weight:1000}.terminal-text.truncated[data-v-beee67fe]{color:#80808066;outline:rgba(128,128,128,.4)}.protein-terminal-modified[data-v-beee67fe]{background-color:#9c1e1e;color:var(--amino-acid-cell-color)}.protein-terminal-modified[data-v-beee67fe]:hover{background-color:#ff1e1e}.sequence-grid[data-v-9a6912d6]{display:grid;grid-template-rows:auto;gap:4px 4px}.sequence-grid>div[data-v-9a6912d6]{aspect-ratio:1}.sequence-amino-acid-modified[data-v-9a6912d6]{background-color:#9c1e1e!important}.sequence-amino-acid-modified[data-v-9a6912d6]:hover{background-color:#ff1e1e}.sequence-amino-acid-highlighted[data-v-9a6912d6]{background-color:var(--amino-acid-cell-bg-color);color:#f0a441}.sequence-amino-acid-highlighted[data-v-9a6912d6]:hover{background-color:var(--amino-acid-cell-hover-bg-color)}.sequence-grid[data-v-14f01162]{display:grid;grid-template-rows:auto;gap:4px 4px}.sequence-grid>div[data-v-14f01162]{aspect-ratio:1}.protein-terminal[data-v-14f01162]:hover{background-color:var(--amino-acid-cell-hover-bg-color);color:var(--amino-acid-cell-hover-color)}.grid-width-20[data-v-14f01162]{grid-template-columns:repeat(22,1fr)}.grid-width-25[data-v-14f01162]{grid-template-columns:repeat(27,1fr)}.grid-width-30[data-v-14f01162]{grid-template-columns:repeat(32,1fr)}.grid-width-35[data-v-14f01162]{grid-template-columns:repeat(37,1fr)}.grid-width-40[data-v-14f01162]{grid-template-columns:repeat(42,1fr)}.sequence-and-scale[data-v-14f01162]{display:flex;align-items:center}.scale-container[data-v-14f01162]{display:flex;flex-direction:column;align-items:center}#sequence-part[data-v-14f01162]{flex-grow:1}.scale[data-v-14f01162]{width:60px;height:100px;background:linear-gradient(to top,rgba(228,87,46,.1),rgba(228,87,46,.2) 10%,rgba(228,87,46,.4) 20%,rgba(228,87,46,.6) 40%,rgba(228,87,46,.8) 70%,#e4572e 100%)}.scale-text[data-v-14f01162]{text-align:center;font-size:14pt;font-weight:700}.sequence-text[data-v-ece55ad7]{font-size:8px}.fragment-segment[data-v-ece55ad7],.by-fragment[data-v-ece55ad7],.cy-fragment[data-v-ece55ad7],.bz-fragment[data-v-ece55ad7],.not-in-fragment[data-v-ece55ad7],.by-fragment-overlayed[data-v-ece55ad7],.by-fragment-legend[data-v-ece55ad7],.cy-fragment-overlayed[data-v-ece55ad7],.cy-fragment-legend[data-v-ece55ad7],.bz-fragment-overlayed[data-v-ece55ad7],.bz-fragment-legend[data-v-ece55ad7]{aspect-ratio:1}.by-fragment[data-v-ece55ad7],.by-fragment-overlayed[data-v-ece55ad7],.by-fragment-legend[data-v-ece55ad7]{background:#f0a441}.by-fragment-overlayed[data-v-ece55ad7]{opacity:var(--frag-block-opacity-value)}.by-fragment-legend[data-v-ece55ad7]{height:10px}.cy-fragment[data-v-ece55ad7],.cy-fragment-overlayed[data-v-ece55ad7],.cy-fragment-legend[data-v-ece55ad7]{background:#12871d}.cy-fragment-overlayed[data-v-ece55ad7]{opacity:var(--frag-block-opacity-value)}.cy-fragment-legend[data-v-ece55ad7]{height:10px}.bz-fragment[data-v-ece55ad7],.bz-fragment-overlayed[data-v-ece55ad7],.bz-fragment-legend[data-v-ece55ad7]{background:#7831cc}.bz-fragment-overlayed[data-v-ece55ad7]{opacity:var(--frag-block-opacity-value)}.bz-fragment-legend[data-v-ece55ad7]{height:10px}.not-in-fragment[data-v-ece55ad7]{background:transparent;aspect-ratio:1}.v-input.textFieldFontSize[data-v-ece55ad7]{width:100px}.component-row[data-v-5f0d2ddf]{display:flex;flex-direction:row;align-items:center}.height-1[data-v-5f0d2ddf]{min-height:200px;height:fit-content;max-height:400px}.height-2[data-v-5f0d2ddf]{min-height:200px;height:fit-content;max-height:800px}.height-any[data-v-5f0d2ddf]{min-height:200px;height:fit-content}.component-width-1[data-v-5f0d2ddf]{flex-basis:100%;flex-grow:0}.component-width-2[data-v-5f0d2ddf]{max-width:50%;flex-basis:50%;flex-grow:0}.component-width-3[data-v-5f0d2ddf]{max-width:33%;flex-basis:33%;flex-grow:0}.component-layout[data-v-721e06dc]{display:flex;flex-direction:column}body{margin:0;font-family:Source Sans Pro,sans-serif}.tabulator-tooltip{background:#fff;color:#000}@font-face{font-family:Material Design Icons;src:url(./materialdesignicons-webfont-67d24abe.eot?v=7.2.96);src:url(./materialdesignicons-webfont-67d24abe.eot?#iefix&v=7.2.96) format("embedded-opentype"),url(./materialdesignicons-webfont-c1c004a9.woff2?v=7.2.96) format("woff2"),url(./materialdesignicons-webfont-80bb28b3.woff?v=7.2.96) format("woff"),url(./materialdesignicons-webfont-a58ecb54.ttf?v=7.2.96) format("truetype");font-weight:400;font-style:normal}.mdi:before,.mdi-set{display:inline-block;font: 24px/1 Material Design Icons;font-size:inherit;text-rendering:auto;line-height:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.mdi-ab-testing:before{content:"󰇉"}.mdi-abacus:before{content:"󱛠"}.mdi-abjad-arabic:before{content:"󱌨"}.mdi-abjad-hebrew:before{content:"󱌩"}.mdi-abugida-devanagari:before{content:"󱌪"}.mdi-abugida-thai:before{content:"󱌫"}.mdi-access-point:before{content:"󰀃"}.mdi-access-point-check:before{content:"󱔸"}.mdi-access-point-minus:before{content:"󱔹"}.mdi-access-point-network:before{content:"󰀂"}.mdi-access-point-network-off:before{content:"󰯡"}.mdi-access-point-off:before{content:"󱔑"}.mdi-access-point-plus:before{content:"󱔺"}.mdi-access-point-remove:before{content:"󱔻"}.mdi-account:before{content:"󰀄"}.mdi-account-alert:before{content:"󰀅"}.mdi-account-alert-outline:before{content:"󰭐"}.mdi-account-arrow-down:before{content:"󱡨"}.mdi-account-arrow-down-outline:before{content:"󱡩"}.mdi-account-arrow-left:before{content:"󰭑"}.mdi-account-arrow-left-outline:before{content:"󰭒"}.mdi-account-arrow-right:before{content:"󰭓"}.mdi-account-arrow-right-outline:before{content:"󰭔"}.mdi-account-arrow-up:before{content:"󱡧"}.mdi-account-arrow-up-outline:before{content:"󱡪"}.mdi-account-badge:before{content:"󱬊"}.mdi-account-badge-outline:before{content:"󱬋"}.mdi-account-box:before{content:"󰀆"}.mdi-account-box-multiple:before{content:"󰤴"}.mdi-account-box-multiple-outline:before{content:"󱀊"}.mdi-account-box-outline:before{content:"󰀇"}.mdi-account-cancel:before{content:"󱋟"}.mdi-account-cancel-outline:before{content:"󱋠"}.mdi-account-card:before{content:"󱮤"}.mdi-account-card-outline:before{content:"󱮥"}.mdi-account-cash:before{content:"󱂗"}.mdi-account-cash-outline:before{content:"󱂘"}.mdi-account-check:before{content:"󰀈"}.mdi-account-check-outline:before{content:"󰯢"}.mdi-account-child:before{content:"󰪉"}.mdi-account-child-circle:before{content:"󰪊"}.mdi-account-child-outline:before{content:"󱃈"}.mdi-account-circle:before{content:"󰀉"}.mdi-account-circle-outline:before{content:"󰭕"}.mdi-account-clock:before{content:"󰭖"}.mdi-account-clock-outline:before{content:"󰭗"}.mdi-account-cog:before{content:"󱍰"}.mdi-account-cog-outline:before{content:"󱍱"}.mdi-account-convert:before{content:"󰀊"}.mdi-account-convert-outline:before{content:"󱌁"}.mdi-account-cowboy-hat:before{content:"󰺛"}.mdi-account-cowboy-hat-outline:before{content:"󱟳"}.mdi-account-credit-card:before{content:"󱮦"}.mdi-account-credit-card-outline:before{content:"󱮧"}.mdi-account-details:before{content:"󰘱"}.mdi-account-details-outline:before{content:"󱍲"}.mdi-account-edit:before{content:"󰚼"}.mdi-account-edit-outline:before{content:"󰿻"}.mdi-account-eye:before{content:"󰐠"}.mdi-account-eye-outline:before{content:"󱉻"}.mdi-account-filter:before{content:"󰤶"}.mdi-account-filter-outline:before{content:"󰾝"}.mdi-account-group:before{content:"󰡉"}.mdi-account-group-outline:before{content:"󰭘"}.mdi-account-hard-hat:before{content:"󰖵"}.mdi-account-hard-hat-outline:before{content:"󱨟"}.mdi-account-heart:before{content:"󰢙"}.mdi-account-heart-outline:before{content:"󰯣"}.mdi-account-injury:before{content:"󱠕"}.mdi-account-injury-outline:before{content:"󱠖"}.mdi-account-key:before{content:"󰀋"}.mdi-account-key-outline:before{content:"󰯤"}.mdi-account-lock:before{content:"󱅞"}.mdi-account-lock-open:before{content:"󱥠"}.mdi-account-lock-open-outline:before{content:"󱥡"}.mdi-account-lock-outline:before{content:"󱅟"}.mdi-account-minus:before{content:"󰀍"}.mdi-account-minus-outline:before{content:"󰫬"}.mdi-account-multiple:before{content:"󰀎"}.mdi-account-multiple-check:before{content:"󰣅"}.mdi-account-multiple-check-outline:before{content:"󱇾"}.mdi-account-multiple-minus:before{content:"󰗓"}.mdi-account-multiple-minus-outline:before{content:"󰯥"}.mdi-account-multiple-outline:before{content:"󰀏"}.mdi-account-multiple-plus:before{content:"󰀐"}.mdi-account-multiple-plus-outline:before{content:"󰠀"}.mdi-account-multiple-remove:before{content:"󱈊"}.mdi-account-multiple-remove-outline:before{content:"󱈋"}.mdi-account-music:before{content:"󰠃"}.mdi-account-music-outline:before{content:"󰳩"}.mdi-account-network:before{content:"󰀑"}.mdi-account-network-off:before{content:"󱫱"}.mdi-account-network-off-outline:before{content:"󱫲"}.mdi-account-network-outline:before{content:"󰯦"}.mdi-account-off:before{content:"󰀒"}.mdi-account-off-outline:before{content:"󰯧"}.mdi-account-outline:before{content:"󰀓"}.mdi-account-plus:before{content:"󰀔"}.mdi-account-plus-outline:before{content:"󰠁"}.mdi-account-question:before{content:"󰭙"}.mdi-account-question-outline:before{content:"󰭚"}.mdi-account-reactivate:before{content:"󱔫"}.mdi-account-reactivate-outline:before{content:"󱔬"}.mdi-account-remove:before{content:"󰀕"}.mdi-account-remove-outline:before{content:"󰫭"}.mdi-account-school:before{content:"󱨠"}.mdi-account-school-outline:before{content:"󱨡"}.mdi-account-search:before{content:"󰀖"}.mdi-account-search-outline:before{content:"󰤵"}.mdi-account-settings:before{content:"󰘰"}.mdi-account-settings-outline:before{content:"󱃉"}.mdi-account-star:before{content:"󰀗"}.mdi-account-star-outline:before{content:"󰯨"}.mdi-account-supervisor:before{content:"󰪋"}.mdi-account-supervisor-circle:before{content:"󰪌"}.mdi-account-supervisor-circle-outline:before{content:"󱓬"}.mdi-account-supervisor-outline:before{content:"󱄭"}.mdi-account-switch:before{content:"󰀙"}.mdi-account-switch-outline:before{content:"󰓋"}.mdi-account-sync:before{content:"󱤛"}.mdi-account-sync-outline:before{content:"󱤜"}.mdi-account-tag:before{content:"󱰛"}.mdi-account-tag-outline:before{content:"󱰜"}.mdi-account-tie:before{content:"󰳣"}.mdi-account-tie-hat:before{content:"󱢘"}.mdi-account-tie-hat-outline:before{content:"󱢙"}.mdi-account-tie-outline:before{content:"󱃊"}.mdi-account-tie-voice:before{content:"󱌈"}.mdi-account-tie-voice-off:before{content:"󱌊"}.mdi-account-tie-voice-off-outline:before{content:"󱌋"}.mdi-account-tie-voice-outline:before{content:"󱌉"}.mdi-account-tie-woman:before{content:"󱪌"}.mdi-account-voice:before{content:"󰗋"}.mdi-account-voice-off:before{content:"󰻔"}.mdi-account-wrench:before{content:"󱢚"}.mdi-account-wrench-outline:before{content:"󱢛"}.mdi-adjust:before{content:"󰀚"}.mdi-advertisements:before{content:"󱤪"}.mdi-advertisements-off:before{content:"󱤫"}.mdi-air-conditioner:before{content:"󰀛"}.mdi-air-filter:before{content:"󰵃"}.mdi-air-horn:before{content:"󰶬"}.mdi-air-humidifier:before{content:"󱂙"}.mdi-air-humidifier-off:before{content:"󱑦"}.mdi-air-purifier:before{content:"󰵄"}.mdi-air-purifier-off:before{content:"󱭗"}.mdi-airbag:before{content:"󰯩"}.mdi-airballoon:before{content:"󰀜"}.mdi-airballoon-outline:before{content:"󱀋"}.mdi-airplane:before{content:"󰀝"}.mdi-airplane-alert:before{content:"󱡺"}.mdi-airplane-check:before{content:"󱡻"}.mdi-airplane-clock:before{content:"󱡼"}.mdi-airplane-cog:before{content:"󱡽"}.mdi-airplane-edit:before{content:"󱡾"}.mdi-airplane-landing:before{content:"󰗔"}.mdi-airplane-marker:before{content:"󱡿"}.mdi-airplane-minus:before{content:"󱢀"}.mdi-airplane-off:before{content:"󰀞"}.mdi-airplane-plus:before{content:"󱢁"}.mdi-airplane-remove:before{content:"󱢂"}.mdi-airplane-search:before{content:"󱢃"}.mdi-airplane-settings:before{content:"󱢄"}.mdi-airplane-takeoff:before{content:"󰗕"}.mdi-airport:before{content:"󰡋"}.mdi-alarm:before{content:"󰀠"}.mdi-alarm-bell:before{content:"󰞎"}.mdi-alarm-check:before{content:"󰀡"}.mdi-alarm-light:before{content:"󰞏"}.mdi-alarm-light-off:before{content:"󱜞"}.mdi-alarm-light-off-outline:before{content:"󱜟"}.mdi-alarm-light-outline:before{content:"󰯪"}.mdi-alarm-multiple:before{content:"󰀢"}.mdi-alarm-note:before{content:"󰹱"}.mdi-alarm-note-off:before{content:"󰹲"}.mdi-alarm-off:before{content:"󰀣"}.mdi-alarm-panel:before{content:"󱗄"}.mdi-alarm-panel-outline:before{content:"󱗅"}.mdi-alarm-plus:before{content:"󰀤"}.mdi-alarm-snooze:before{content:"󰚎"}.mdi-album:before{content:"󰀥"}.mdi-alert:before{content:"󰀦"}.mdi-alert-box:before{content:"󰀧"}.mdi-alert-box-outline:before{content:"󰳤"}.mdi-alert-circle:before{content:"󰀨"}.mdi-alert-circle-check:before{content:"󱇭"}.mdi-alert-circle-check-outline:before{content:"󱇮"}.mdi-alert-circle-outline:before{content:"󰗖"}.mdi-alert-decagram:before{content:"󰚽"}.mdi-alert-decagram-outline:before{content:"󰳥"}.mdi-alert-minus:before{content:"󱒻"}.mdi-alert-minus-outline:before{content:"󱒾"}.mdi-alert-octagon:before{content:"󰀩"}.mdi-alert-octagon-outline:before{content:"󰳦"}.mdi-alert-octagram:before{content:"󰝧"}.mdi-alert-octagram-outline:before{content:"󰳧"}.mdi-alert-outline:before{content:"󰀪"}.mdi-alert-plus:before{content:"󱒺"}.mdi-alert-plus-outline:before{content:"󱒽"}.mdi-alert-remove:before{content:"󱒼"}.mdi-alert-remove-outline:before{content:"󱒿"}.mdi-alert-rhombus:before{content:"󱇎"}.mdi-alert-rhombus-outline:before{content:"󱇏"}.mdi-alien:before{content:"󰢚"}.mdi-alien-outline:before{content:"󱃋"}.mdi-align-horizontal-center:before{content:"󱇃"}.mdi-align-horizontal-distribute:before{content:"󱥢"}.mdi-align-horizontal-left:before{content:"󱇂"}.mdi-align-horizontal-right:before{content:"󱇄"}.mdi-align-vertical-bottom:before{content:"󱇅"}.mdi-align-vertical-center:before{content:"󱇆"}.mdi-align-vertical-distribute:before{content:"󱥣"}.mdi-align-vertical-top:before{content:"󱇇"}.mdi-all-inclusive:before{content:"󰚾"}.mdi-all-inclusive-box:before{content:"󱢍"}.mdi-all-inclusive-box-outline:before{content:"󱢎"}.mdi-allergy:before{content:"󱉘"}.mdi-alpha:before{content:"󰀫"}.mdi-alpha-a:before{content:"󰫮"}.mdi-alpha-a-box:before{content:"󰬈"}.mdi-alpha-a-box-outline:before{content:"󰯫"}.mdi-alpha-a-circle:before{content:"󰯬"}.mdi-alpha-a-circle-outline:before{content:"󰯭"}.mdi-alpha-b:before{content:"󰫯"}.mdi-alpha-b-box:before{content:"󰬉"}.mdi-alpha-b-box-outline:before{content:"󰯮"}.mdi-alpha-b-circle:before{content:"󰯯"}.mdi-alpha-b-circle-outline:before{content:"󰯰"}.mdi-alpha-c:before{content:"󰫰"}.mdi-alpha-c-box:before{content:"󰬊"}.mdi-alpha-c-box-outline:before{content:"󰯱"}.mdi-alpha-c-circle:before{content:"󰯲"}.mdi-alpha-c-circle-outline:before{content:"󰯳"}.mdi-alpha-d:before{content:"󰫱"}.mdi-alpha-d-box:before{content:"󰬋"}.mdi-alpha-d-box-outline:before{content:"󰯴"}.mdi-alpha-d-circle:before{content:"󰯵"}.mdi-alpha-d-circle-outline:before{content:"󰯶"}.mdi-alpha-e:before{content:"󰫲"}.mdi-alpha-e-box:before{content:"󰬌"}.mdi-alpha-e-box-outline:before{content:"󰯷"}.mdi-alpha-e-circle:before{content:"󰯸"}.mdi-alpha-e-circle-outline:before{content:"󰯹"}.mdi-alpha-f:before{content:"󰫳"}.mdi-alpha-f-box:before{content:"󰬍"}.mdi-alpha-f-box-outline:before{content:"󰯺"}.mdi-alpha-f-circle:before{content:"󰯻"}.mdi-alpha-f-circle-outline:before{content:"󰯼"}.mdi-alpha-g:before{content:"󰫴"}.mdi-alpha-g-box:before{content:"󰬎"}.mdi-alpha-g-box-outline:before{content:"󰯽"}.mdi-alpha-g-circle:before{content:"󰯾"}.mdi-alpha-g-circle-outline:before{content:"󰯿"}.mdi-alpha-h:before{content:"󰫵"}.mdi-alpha-h-box:before{content:"󰬏"}.mdi-alpha-h-box-outline:before{content:"󰰀"}.mdi-alpha-h-circle:before{content:"󰰁"}.mdi-alpha-h-circle-outline:before{content:"󰰂"}.mdi-alpha-i:before{content:"󰫶"}.mdi-alpha-i-box:before{content:"󰬐"}.mdi-alpha-i-box-outline:before{content:"󰰃"}.mdi-alpha-i-circle:before{content:"󰰄"}.mdi-alpha-i-circle-outline:before{content:"󰰅"}.mdi-alpha-j:before{content:"󰫷"}.mdi-alpha-j-box:before{content:"󰬑"}.mdi-alpha-j-box-outline:before{content:"󰰆"}.mdi-alpha-j-circle:before{content:"󰰇"}.mdi-alpha-j-circle-outline:before{content:"󰰈"}.mdi-alpha-k:before{content:"󰫸"}.mdi-alpha-k-box:before{content:"󰬒"}.mdi-alpha-k-box-outline:before{content:"󰰉"}.mdi-alpha-k-circle:before{content:"󰰊"}.mdi-alpha-k-circle-outline:before{content:"󰰋"}.mdi-alpha-l:before{content:"󰫹"}.mdi-alpha-l-box:before{content:"󰬓"}.mdi-alpha-l-box-outline:before{content:"󰰌"}.mdi-alpha-l-circle:before{content:"󰰍"}.mdi-alpha-l-circle-outline:before{content:"󰰎"}.mdi-alpha-m:before{content:"󰫺"}.mdi-alpha-m-box:before{content:"󰬔"}.mdi-alpha-m-box-outline:before{content:"󰰏"}.mdi-alpha-m-circle:before{content:"󰰐"}.mdi-alpha-m-circle-outline:before{content:"󰰑"}.mdi-alpha-n:before{content:"󰫻"}.mdi-alpha-n-box:before{content:"󰬕"}.mdi-alpha-n-box-outline:before{content:"󰰒"}.mdi-alpha-n-circle:before{content:"󰰓"}.mdi-alpha-n-circle-outline:before{content:"󰰔"}.mdi-alpha-o:before{content:"󰫼"}.mdi-alpha-o-box:before{content:"󰬖"}.mdi-alpha-o-box-outline:before{content:"󰰕"}.mdi-alpha-o-circle:before{content:"󰰖"}.mdi-alpha-o-circle-outline:before{content:"󰰗"}.mdi-alpha-p:before{content:"󰫽"}.mdi-alpha-p-box:before{content:"󰬗"}.mdi-alpha-p-box-outline:before{content:"󰰘"}.mdi-alpha-p-circle:before{content:"󰰙"}.mdi-alpha-p-circle-outline:before{content:"󰰚"}.mdi-alpha-q:before{content:"󰫾"}.mdi-alpha-q-box:before{content:"󰬘"}.mdi-alpha-q-box-outline:before{content:"󰰛"}.mdi-alpha-q-circle:before{content:"󰰜"}.mdi-alpha-q-circle-outline:before{content:"󰰝"}.mdi-alpha-r:before{content:"󰫿"}.mdi-alpha-r-box:before{content:"󰬙"}.mdi-alpha-r-box-outline:before{content:"󰰞"}.mdi-alpha-r-circle:before{content:"󰰟"}.mdi-alpha-r-circle-outline:before{content:"󰰠"}.mdi-alpha-s:before{content:"󰬀"}.mdi-alpha-s-box:before{content:"󰬚"}.mdi-alpha-s-box-outline:before{content:"󰰡"}.mdi-alpha-s-circle:before{content:"󰰢"}.mdi-alpha-s-circle-outline:before{content:"󰰣"}.mdi-alpha-t:before{content:"󰬁"}.mdi-alpha-t-box:before{content:"󰬛"}.mdi-alpha-t-box-outline:before{content:"󰰤"}.mdi-alpha-t-circle:before{content:"󰰥"}.mdi-alpha-t-circle-outline:before{content:"󰰦"}.mdi-alpha-u:before{content:"󰬂"}.mdi-alpha-u-box:before{content:"󰬜"}.mdi-alpha-u-box-outline:before{content:"󰰧"}.mdi-alpha-u-circle:before{content:"󰰨"}.mdi-alpha-u-circle-outline:before{content:"󰰩"}.mdi-alpha-v:before{content:"󰬃"}.mdi-alpha-v-box:before{content:"󰬝"}.mdi-alpha-v-box-outline:before{content:"󰰪"}.mdi-alpha-v-circle:before{content:"󰰫"}.mdi-alpha-v-circle-outline:before{content:"󰰬"}.mdi-alpha-w:before{content:"󰬄"}.mdi-alpha-w-box:before{content:"󰬞"}.mdi-alpha-w-box-outline:before{content:"󰰭"}.mdi-alpha-w-circle:before{content:"󰰮"}.mdi-alpha-w-circle-outline:before{content:"󰰯"}.mdi-alpha-x:before{content:"󰬅"}.mdi-alpha-x-box:before{content:"󰬟"}.mdi-alpha-x-box-outline:before{content:"󰰰"}.mdi-alpha-x-circle:before{content:"󰰱"}.mdi-alpha-x-circle-outline:before{content:"󰰲"}.mdi-alpha-y:before{content:"󰬆"}.mdi-alpha-y-box:before{content:"󰬠"}.mdi-alpha-y-box-outline:before{content:"󰰳"}.mdi-alpha-y-circle:before{content:"󰰴"}.mdi-alpha-y-circle-outline:before{content:"󰰵"}.mdi-alpha-z:before{content:"󰬇"}.mdi-alpha-z-box:before{content:"󰬡"}.mdi-alpha-z-box-outline:before{content:"󰰶"}.mdi-alpha-z-circle:before{content:"󰰷"}.mdi-alpha-z-circle-outline:before{content:"󰰸"}.mdi-alphabet-aurebesh:before{content:"󱌬"}.mdi-alphabet-cyrillic:before{content:"󱌭"}.mdi-alphabet-greek:before{content:"󱌮"}.mdi-alphabet-latin:before{content:"󱌯"}.mdi-alphabet-piqad:before{content:"󱌰"}.mdi-alphabet-tengwar:before{content:"󱌷"}.mdi-alphabetical:before{content:"󰀬"}.mdi-alphabetical-off:before{content:"󱀌"}.mdi-alphabetical-variant:before{content:"󱀍"}.mdi-alphabetical-variant-off:before{content:"󱀎"}.mdi-altimeter:before{content:"󰗗"}.mdi-ambulance:before{content:"󰀯"}.mdi-ammunition:before{content:"󰳨"}.mdi-ampersand:before{content:"󰪍"}.mdi-amplifier:before{content:"󰀰"}.mdi-amplifier-off:before{content:"󱆵"}.mdi-anchor:before{content:"󰀱"}.mdi-android:before{content:"󰀲"}.mdi-android-studio:before{content:"󰀴"}.mdi-angle-acute:before{content:"󰤷"}.mdi-angle-obtuse:before{content:"󰤸"}.mdi-angle-right:before{content:"󰤹"}.mdi-angular:before{content:"󰚲"}.mdi-angularjs:before{content:"󰚿"}.mdi-animation:before{content:"󰗘"}.mdi-animation-outline:before{content:"󰪏"}.mdi-animation-play:before{content:"󰤺"}.mdi-animation-play-outline:before{content:"󰪐"}.mdi-ansible:before{content:"󱂚"}.mdi-antenna:before{content:"󱄙"}.mdi-anvil:before{content:"󰢛"}.mdi-apache-kafka:before{content:"󱀏"}.mdi-api:before{content:"󱂛"}.mdi-api-off:before{content:"󱉗"}.mdi-apple:before{content:"󰀵"}.mdi-apple-finder:before{content:"󰀶"}.mdi-apple-icloud:before{content:"󰀸"}.mdi-apple-ios:before{content:"󰀷"}.mdi-apple-keyboard-caps:before{content:"󰘲"}.mdi-apple-keyboard-command:before{content:"󰘳"}.mdi-apple-keyboard-control:before{content:"󰘴"}.mdi-apple-keyboard-option:before{content:"󰘵"}.mdi-apple-keyboard-shift:before{content:"󰘶"}.mdi-apple-safari:before{content:"󰀹"}.mdi-application:before{content:"󰣆"}.mdi-application-array:before{content:"󱃵"}.mdi-application-array-outline:before{content:"󱃶"}.mdi-application-braces:before{content:"󱃷"}.mdi-application-braces-outline:before{content:"󱃸"}.mdi-application-brackets:before{content:"󰲋"}.mdi-application-brackets-outline:before{content:"󰲌"}.mdi-application-cog:before{content:"󰙵"}.mdi-application-cog-outline:before{content:"󱕷"}.mdi-application-edit:before{content:"󰂮"}.mdi-application-edit-outline:before{content:"󰘙"}.mdi-application-export:before{content:"󰶭"}.mdi-application-import:before{content:"󰶮"}.mdi-application-outline:before{content:"󰘔"}.mdi-application-parentheses:before{content:"󱃹"}.mdi-application-parentheses-outline:before{content:"󱃺"}.mdi-application-settings:before{content:"󰭠"}.mdi-application-settings-outline:before{content:"󱕕"}.mdi-application-variable:before{content:"󱃻"}.mdi-application-variable-outline:before{content:"󱃼"}.mdi-approximately-equal:before{content:"󰾞"}.mdi-approximately-equal-box:before{content:"󰾟"}.mdi-apps:before{content:"󰀻"}.mdi-apps-box:before{content:"󰵆"}.mdi-arch:before{content:"󰣇"}.mdi-archive:before{content:"󰀼"}.mdi-archive-alert:before{content:"󱓽"}.mdi-archive-alert-outline:before{content:"󱓾"}.mdi-archive-arrow-down:before{content:"󱉙"}.mdi-archive-arrow-down-outline:before{content:"󱉚"}.mdi-archive-arrow-up:before{content:"󱉛"}.mdi-archive-arrow-up-outline:before{content:"󱉜"}.mdi-archive-cancel:before{content:"󱝋"}.mdi-archive-cancel-outline:before{content:"󱝌"}.mdi-archive-check:before{content:"󱝍"}.mdi-archive-check-outline:before{content:"󱝎"}.mdi-archive-clock:before{content:"󱝏"}.mdi-archive-clock-outline:before{content:"󱝐"}.mdi-archive-cog:before{content:"󱝑"}.mdi-archive-cog-outline:before{content:"󱝒"}.mdi-archive-edit:before{content:"󱝓"}.mdi-archive-edit-outline:before{content:"󱝔"}.mdi-archive-eye:before{content:"󱝕"}.mdi-archive-eye-outline:before{content:"󱝖"}.mdi-archive-lock:before{content:"󱝗"}.mdi-archive-lock-open:before{content:"󱝘"}.mdi-archive-lock-open-outline:before{content:"󱝙"}.mdi-archive-lock-outline:before{content:"󱝚"}.mdi-archive-marker:before{content:"󱝛"}.mdi-archive-marker-outline:before{content:"󱝜"}.mdi-archive-minus:before{content:"󱝝"}.mdi-archive-minus-outline:before{content:"󱝞"}.mdi-archive-music:before{content:"󱝟"}.mdi-archive-music-outline:before{content:"󱝠"}.mdi-archive-off:before{content:"󱝡"}.mdi-archive-off-outline:before{content:"󱝢"}.mdi-archive-outline:before{content:"󱈎"}.mdi-archive-plus:before{content:"󱝣"}.mdi-archive-plus-outline:before{content:"󱝤"}.mdi-archive-refresh:before{content:"󱝥"}.mdi-archive-refresh-outline:before{content:"󱝦"}.mdi-archive-remove:before{content:"󱝧"}.mdi-archive-remove-outline:before{content:"󱝨"}.mdi-archive-search:before{content:"󱝩"}.mdi-archive-search-outline:before{content:"󱝪"}.mdi-archive-settings:before{content:"󱝫"}.mdi-archive-settings-outline:before{content:"󱝬"}.mdi-archive-star:before{content:"󱝭"}.mdi-archive-star-outline:before{content:"󱝮"}.mdi-archive-sync:before{content:"󱝯"}.mdi-archive-sync-outline:before{content:"󱝰"}.mdi-arm-flex:before{content:"󰿗"}.mdi-arm-flex-outline:before{content:"󰿖"}.mdi-arrange-bring-forward:before{content:"󰀽"}.mdi-arrange-bring-to-front:before{content:"󰀾"}.mdi-arrange-send-backward:before{content:"󰀿"}.mdi-arrange-send-to-back:before{content:"󰁀"}.mdi-arrow-all:before{content:"󰁁"}.mdi-arrow-bottom-left:before{content:"󰁂"}.mdi-arrow-bottom-left-bold-box:before{content:"󱥤"}.mdi-arrow-bottom-left-bold-box-outline:before{content:"󱥥"}.mdi-arrow-bottom-left-bold-outline:before{content:"󰦷"}.mdi-arrow-bottom-left-thick:before{content:"󰦸"}.mdi-arrow-bottom-left-thin:before{content:"󱦶"}.mdi-arrow-bottom-left-thin-circle-outline:before{content:"󱖖"}.mdi-arrow-bottom-right:before{content:"󰁃"}.mdi-arrow-bottom-right-bold-box:before{content:"󱥦"}.mdi-arrow-bottom-right-bold-box-outline:before{content:"󱥧"}.mdi-arrow-bottom-right-bold-outline:before{content:"󰦹"}.mdi-arrow-bottom-right-thick:before{content:"󰦺"}.mdi-arrow-bottom-right-thin:before{content:"󱦷"}.mdi-arrow-bottom-right-thin-circle-outline:before{content:"󱖕"}.mdi-arrow-collapse:before{content:"󰘕"}.mdi-arrow-collapse-all:before{content:"󰁄"}.mdi-arrow-collapse-down:before{content:"󰞒"}.mdi-arrow-collapse-horizontal:before{content:"󰡌"}.mdi-arrow-collapse-left:before{content:"󰞓"}.mdi-arrow-collapse-right:before{content:"󰞔"}.mdi-arrow-collapse-up:before{content:"󰞕"}.mdi-arrow-collapse-vertical:before{content:"󰡍"}.mdi-arrow-decision:before{content:"󰦻"}.mdi-arrow-decision-auto:before{content:"󰦼"}.mdi-arrow-decision-auto-outline:before{content:"󰦽"}.mdi-arrow-decision-outline:before{content:"󰦾"}.mdi-arrow-down:before{content:"󰁅"}.mdi-arrow-down-bold:before{content:"󰜮"}.mdi-arrow-down-bold-box:before{content:"󰜯"}.mdi-arrow-down-bold-box-outline:before{content:"󰜰"}.mdi-arrow-down-bold-circle:before{content:"󰁇"}.mdi-arrow-down-bold-circle-outline:before{content:"󰁈"}.mdi-arrow-down-bold-hexagon-outline:before{content:"󰁉"}.mdi-arrow-down-bold-outline:before{content:"󰦿"}.mdi-arrow-down-box:before{content:"󰛀"}.mdi-arrow-down-circle:before{content:"󰳛"}.mdi-arrow-down-circle-outline:before{content:"󰳜"}.mdi-arrow-down-drop-circle:before{content:"󰁊"}.mdi-arrow-down-drop-circle-outline:before{content:"󰁋"}.mdi-arrow-down-left:before{content:"󱞡"}.mdi-arrow-down-left-bold:before{content:"󱞢"}.mdi-arrow-down-right:before{content:"󱞣"}.mdi-arrow-down-right-bold:before{content:"󱞤"}.mdi-arrow-down-thick:before{content:"󰁆"}.mdi-arrow-down-thin:before{content:"󱦳"}.mdi-arrow-down-thin-circle-outline:before{content:"󱖙"}.mdi-arrow-expand:before{content:"󰘖"}.mdi-arrow-expand-all:before{content:"󰁌"}.mdi-arrow-expand-down:before{content:"󰞖"}.mdi-arrow-expand-horizontal:before{content:"󰡎"}.mdi-arrow-expand-left:before{content:"󰞗"}.mdi-arrow-expand-right:before{content:"󰞘"}.mdi-arrow-expand-up:before{content:"󰞙"}.mdi-arrow-expand-vertical:before{content:"󰡏"}.mdi-arrow-horizontal-lock:before{content:"󱅛"}.mdi-arrow-left:before{content:"󰁍"}.mdi-arrow-left-bold:before{content:"󰜱"}.mdi-arrow-left-bold-box:before{content:"󰜲"}.mdi-arrow-left-bold-box-outline:before{content:"󰜳"}.mdi-arrow-left-bold-circle:before{content:"󰁏"}.mdi-arrow-left-bold-circle-outline:before{content:"󰁐"}.mdi-arrow-left-bold-hexagon-outline:before{content:"󰁑"}.mdi-arrow-left-bold-outline:before{content:"󰧀"}.mdi-arrow-left-bottom:before{content:"󱞥"}.mdi-arrow-left-bottom-bold:before{content:"󱞦"}.mdi-arrow-left-box:before{content:"󰛁"}.mdi-arrow-left-circle:before{content:"󰳝"}.mdi-arrow-left-circle-outline:before{content:"󰳞"}.mdi-arrow-left-drop-circle:before{content:"󰁒"}.mdi-arrow-left-drop-circle-outline:before{content:"󰁓"}.mdi-arrow-left-right:before{content:"󰹳"}.mdi-arrow-left-right-bold:before{content:"󰹴"}.mdi-arrow-left-right-bold-outline:before{content:"󰧁"}.mdi-arrow-left-thick:before{content:"󰁎"}.mdi-arrow-left-thin:before{content:"󱦱"}.mdi-arrow-left-thin-circle-outline:before{content:"󱖚"}.mdi-arrow-left-top:before{content:"󱞧"}.mdi-arrow-left-top-bold:before{content:"󱞨"}.mdi-arrow-projectile:before{content:"󱡀"}.mdi-arrow-projectile-multiple:before{content:"󱠿"}.mdi-arrow-right:before{content:"󰁔"}.mdi-arrow-right-bold:before{content:"󰜴"}.mdi-arrow-right-bold-box:before{content:"󰜵"}.mdi-arrow-right-bold-box-outline:before{content:"󰜶"}.mdi-arrow-right-bold-circle:before{content:"󰁖"}.mdi-arrow-right-bold-circle-outline:before{content:"󰁗"}.mdi-arrow-right-bold-hexagon-outline:before{content:"󰁘"}.mdi-arrow-right-bold-outline:before{content:"󰧂"}.mdi-arrow-right-bottom:before{content:"󱞩"}.mdi-arrow-right-bottom-bold:before{content:"󱞪"}.mdi-arrow-right-box:before{content:"󰛂"}.mdi-arrow-right-circle:before{content:"󰳟"}.mdi-arrow-right-circle-outline:before{content:"󰳠"}.mdi-arrow-right-drop-circle:before{content:"󰁙"}.mdi-arrow-right-drop-circle-outline:before{content:"󰁚"}.mdi-arrow-right-thick:before{content:"󰁕"}.mdi-arrow-right-thin:before{content:"󱦰"}.mdi-arrow-right-thin-circle-outline:before{content:"󱖘"}.mdi-arrow-right-top:before{content:"󱞫"}.mdi-arrow-right-top-bold:before{content:"󱞬"}.mdi-arrow-split-horizontal:before{content:"󰤻"}.mdi-arrow-split-vertical:before{content:"󰤼"}.mdi-arrow-top-left:before{content:"󰁛"}.mdi-arrow-top-left-bold-box:before{content:"󱥨"}.mdi-arrow-top-left-bold-box-outline:before{content:"󱥩"}.mdi-arrow-top-left-bold-outline:before{content:"󰧃"}.mdi-arrow-top-left-bottom-right:before{content:"󰹵"}.mdi-arrow-top-left-bottom-right-bold:before{content:"󰹶"}.mdi-arrow-top-left-thick:before{content:"󰧄"}.mdi-arrow-top-left-thin:before{content:"󱦵"}.mdi-arrow-top-left-thin-circle-outline:before{content:"󱖓"}.mdi-arrow-top-right:before{content:"󰁜"}.mdi-arrow-top-right-bold-box:before{content:"󱥪"}.mdi-arrow-top-right-bold-box-outline:before{content:"󱥫"}.mdi-arrow-top-right-bold-outline:before{content:"󰧅"}.mdi-arrow-top-right-bottom-left:before{content:"󰹷"}.mdi-arrow-top-right-bottom-left-bold:before{content:"󰹸"}.mdi-arrow-top-right-thick:before{content:"󰧆"}.mdi-arrow-top-right-thin:before{content:"󱦴"}.mdi-arrow-top-right-thin-circle-outline:before{content:"󱖔"}.mdi-arrow-u-down-left:before{content:"󱞭"}.mdi-arrow-u-down-left-bold:before{content:"󱞮"}.mdi-arrow-u-down-right:before{content:"󱞯"}.mdi-arrow-u-down-right-bold:before{content:"󱞰"}.mdi-arrow-u-left-bottom:before{content:"󱞱"}.mdi-arrow-u-left-bottom-bold:before{content:"󱞲"}.mdi-arrow-u-left-top:before{content:"󱞳"}.mdi-arrow-u-left-top-bold:before{content:"󱞴"}.mdi-arrow-u-right-bottom:before{content:"󱞵"}.mdi-arrow-u-right-bottom-bold:before{content:"󱞶"}.mdi-arrow-u-right-top:before{content:"󱞷"}.mdi-arrow-u-right-top-bold:before{content:"󱞸"}.mdi-arrow-u-up-left:before{content:"󱞹"}.mdi-arrow-u-up-left-bold:before{content:"󱞺"}.mdi-arrow-u-up-right:before{content:"󱞻"}.mdi-arrow-u-up-right-bold:before{content:"󱞼"}.mdi-arrow-up:before{content:"󰁝"}.mdi-arrow-up-bold:before{content:"󰜷"}.mdi-arrow-up-bold-box:before{content:"󰜸"}.mdi-arrow-up-bold-box-outline:before{content:"󰜹"}.mdi-arrow-up-bold-circle:before{content:"󰁟"}.mdi-arrow-up-bold-circle-outline:before{content:"󰁠"}.mdi-arrow-up-bold-hexagon-outline:before{content:"󰁡"}.mdi-arrow-up-bold-outline:before{content:"󰧇"}.mdi-arrow-up-box:before{content:"󰛃"}.mdi-arrow-up-circle:before{content:"󰳡"}.mdi-arrow-up-circle-outline:before{content:"󰳢"}.mdi-arrow-up-down:before{content:"󰹹"}.mdi-arrow-up-down-bold:before{content:"󰹺"}.mdi-arrow-up-down-bold-outline:before{content:"󰧈"}.mdi-arrow-up-drop-circle:before{content:"󰁢"}.mdi-arrow-up-drop-circle-outline:before{content:"󰁣"}.mdi-arrow-up-left:before{content:"󱞽"}.mdi-arrow-up-left-bold:before{content:"󱞾"}.mdi-arrow-up-right:before{content:"󱞿"}.mdi-arrow-up-right-bold:before{content:"󱟀"}.mdi-arrow-up-thick:before{content:"󰁞"}.mdi-arrow-up-thin:before{content:"󱦲"}.mdi-arrow-up-thin-circle-outline:before{content:"󱖗"}.mdi-arrow-vertical-lock:before{content:"󱅜"}.mdi-artboard:before{content:"󱮚"}.mdi-artstation:before{content:"󰭛"}.mdi-aspect-ratio:before{content:"󰨤"}.mdi-assistant:before{content:"󰁤"}.mdi-asterisk:before{content:"󰛄"}.mdi-asterisk-circle-outline:before{content:"󱨧"}.mdi-at:before{content:"󰁥"}.mdi-atlassian:before{content:"󰠄"}.mdi-atm:before{content:"󰵇"}.mdi-atom:before{content:"󰝨"}.mdi-atom-variant:before{content:"󰹻"}.mdi-attachment:before{content:"󰁦"}.mdi-attachment-check:before{content:"󱫁"}.mdi-attachment-lock:before{content:"󱧄"}.mdi-attachment-minus:before{content:"󱫂"}.mdi-attachment-off:before{content:"󱫃"}.mdi-attachment-plus:before{content:"󱫄"}.mdi-attachment-remove:before{content:"󱫅"}.mdi-atv:before{content:"󱭰"}.mdi-audio-input-rca:before{content:"󱡫"}.mdi-audio-input-stereo-minijack:before{content:"󱡬"}.mdi-audio-input-xlr:before{content:"󱡭"}.mdi-audio-video:before{content:"󰤽"}.mdi-audio-video-off:before{content:"󱆶"}.mdi-augmented-reality:before{content:"󰡐"}.mdi-aurora:before{content:"󱮹"}.mdi-auto-download:before{content:"󱍾"}.mdi-auto-fix:before{content:"󰁨"}.mdi-auto-mode:before{content:"󱰠"}.mdi-auto-upload:before{content:"󰁩"}.mdi-autorenew:before{content:"󰁪"}.mdi-autorenew-off:before{content:"󱧧"}.mdi-av-timer:before{content:"󰁫"}.mdi-awning:before{content:"󱮇"}.mdi-awning-outline:before{content:"󱮈"}.mdi-aws:before{content:"󰸏"}.mdi-axe:before{content:"󰣈"}.mdi-axe-battle:before{content:"󱡂"}.mdi-axis:before{content:"󰵈"}.mdi-axis-arrow:before{content:"󰵉"}.mdi-axis-arrow-info:before{content:"󱐎"}.mdi-axis-arrow-lock:before{content:"󰵊"}.mdi-axis-lock:before{content:"󰵋"}.mdi-axis-x-arrow:before{content:"󰵌"}.mdi-axis-x-arrow-lock:before{content:"󰵍"}.mdi-axis-x-rotate-clockwise:before{content:"󰵎"}.mdi-axis-x-rotate-counterclockwise:before{content:"󰵏"}.mdi-axis-x-y-arrow-lock:before{content:"󰵐"}.mdi-axis-y-arrow:before{content:"󰵑"}.mdi-axis-y-arrow-lock:before{content:"󰵒"}.mdi-axis-y-rotate-clockwise:before{content:"󰵓"}.mdi-axis-y-rotate-counterclockwise:before{content:"󰵔"}.mdi-axis-z-arrow:before{content:"󰵕"}.mdi-axis-z-arrow-lock:before{content:"󰵖"}.mdi-axis-z-rotate-clockwise:before{content:"󰵗"}.mdi-axis-z-rotate-counterclockwise:before{content:"󰵘"}.mdi-babel:before{content:"󰨥"}.mdi-baby:before{content:"󰁬"}.mdi-baby-bottle:before{content:"󰼹"}.mdi-baby-bottle-outline:before{content:"󰼺"}.mdi-baby-buggy:before{content:"󱏠"}.mdi-baby-buggy-off:before{content:"󱫳"}.mdi-baby-carriage:before{content:"󰚏"}.mdi-baby-carriage-off:before{content:"󰾠"}.mdi-baby-face:before{content:"󰹼"}.mdi-baby-face-outline:before{content:"󰹽"}.mdi-backburger:before{content:"󰁭"}.mdi-backspace:before{content:"󰁮"}.mdi-backspace-outline:before{content:"󰭜"}.mdi-backspace-reverse:before{content:"󰹾"}.mdi-backspace-reverse-outline:before{content:"󰹿"}.mdi-backup-restore:before{content:"󰁯"}.mdi-bacteria:before{content:"󰻕"}.mdi-bacteria-outline:before{content:"󰻖"}.mdi-badge-account:before{content:"󰶧"}.mdi-badge-account-alert:before{content:"󰶨"}.mdi-badge-account-alert-outline:before{content:"󰶩"}.mdi-badge-account-horizontal:before{content:"󰸍"}.mdi-badge-account-horizontal-outline:before{content:"󰸎"}.mdi-badge-account-outline:before{content:"󰶪"}.mdi-badminton:before{content:"󰡑"}.mdi-bag-carry-on:before{content:"󰼻"}.mdi-bag-carry-on-check:before{content:"󰵥"}.mdi-bag-carry-on-off:before{content:"󰼼"}.mdi-bag-checked:before{content:"󰼽"}.mdi-bag-personal:before{content:"󰸐"}.mdi-bag-personal-off:before{content:"󰸑"}.mdi-bag-personal-off-outline:before{content:"󰸒"}.mdi-bag-personal-outline:before{content:"󰸓"}.mdi-bag-personal-tag:before{content:"󱬌"}.mdi-bag-personal-tag-outline:before{content:"󱬍"}.mdi-bag-suitcase:before{content:"󱖋"}.mdi-bag-suitcase-off:before{content:"󱖍"}.mdi-bag-suitcase-off-outline:before{content:"󱖎"}.mdi-bag-suitcase-outline:before{content:"󱖌"}.mdi-baguette:before{content:"󰼾"}.mdi-balcony:before{content:"󱠗"}.mdi-balloon:before{content:"󰨦"}.mdi-ballot:before{content:"󰧉"}.mdi-ballot-outline:before{content:"󰧊"}.mdi-ballot-recount:before{content:"󰰹"}.mdi-ballot-recount-outline:before{content:"󰰺"}.mdi-bandage:before{content:"󰶯"}.mdi-bank:before{content:"󰁰"}.mdi-bank-check:before{content:"󱙕"}.mdi-bank-circle:before{content:"󱰃"}.mdi-bank-circle-outline:before{content:"󱰄"}.mdi-bank-minus:before{content:"󰶰"}.mdi-bank-off:before{content:"󱙖"}.mdi-bank-off-outline:before{content:"󱙗"}.mdi-bank-outline:before{content:"󰺀"}.mdi-bank-plus:before{content:"󰶱"}.mdi-bank-remove:before{content:"󰶲"}.mdi-bank-transfer:before{content:"󰨧"}.mdi-bank-transfer-in:before{content:"󰨨"}.mdi-bank-transfer-out:before{content:"󰨩"}.mdi-barcode:before{content:"󰁱"}.mdi-barcode-off:before{content:"󱈶"}.mdi-barcode-scan:before{content:"󰁲"}.mdi-barley:before{content:"󰁳"}.mdi-barley-off:before{content:"󰭝"}.mdi-barn:before{content:"󰭞"}.mdi-barrel:before{content:"󰁴"}.mdi-barrel-outline:before{content:"󱨨"}.mdi-baseball:before{content:"󰡒"}.mdi-baseball-bat:before{content:"󰡓"}.mdi-baseball-diamond:before{content:"󱗬"}.mdi-baseball-diamond-outline:before{content:"󱗭"}.mdi-baseball-outline:before{content:"󱱚"}.mdi-bash:before{content:"󱆃"}.mdi-basket:before{content:"󰁶"}.mdi-basket-check:before{content:"󱣥"}.mdi-basket-check-outline:before{content:"󱣦"}.mdi-basket-fill:before{content:"󰁷"}.mdi-basket-minus:before{content:"󱔣"}.mdi-basket-minus-outline:before{content:"󱔤"}.mdi-basket-off:before{content:"󱔥"}.mdi-basket-off-outline:before{content:"󱔦"}.mdi-basket-outline:before{content:"󱆁"}.mdi-basket-plus:before{content:"󱔧"}.mdi-basket-plus-outline:before{content:"󱔨"}.mdi-basket-remove:before{content:"󱔩"}.mdi-basket-remove-outline:before{content:"󱔪"}.mdi-basket-unfill:before{content:"󰁸"}.mdi-basketball:before{content:"󰠆"}.mdi-basketball-hoop:before{content:"󰰻"}.mdi-basketball-hoop-outline:before{content:"󰰼"}.mdi-bat:before{content:"󰭟"}.mdi-bathtub:before{content:"󱠘"}.mdi-bathtub-outline:before{content:"󱠙"}.mdi-battery:before{content:"󰁹"}.mdi-battery-10:before{content:"󰁺"}.mdi-battery-10-bluetooth:before{content:"󰤾"}.mdi-battery-20:before{content:"󰁻"}.mdi-battery-20-bluetooth:before{content:"󰤿"}.mdi-battery-30:before{content:"󰁼"}.mdi-battery-30-bluetooth:before{content:"󰥀"}.mdi-battery-40:before{content:"󰁽"}.mdi-battery-40-bluetooth:before{content:"󰥁"}.mdi-battery-50:before{content:"󰁾"}.mdi-battery-50-bluetooth:before{content:"󰥂"}.mdi-battery-60:before{content:"󰁿"}.mdi-battery-60-bluetooth:before{content:"󰥃"}.mdi-battery-70:before{content:"󰂀"}.mdi-battery-70-bluetooth:before{content:"󰥄"}.mdi-battery-80:before{content:"󰂁"}.mdi-battery-80-bluetooth:before{content:"󰥅"}.mdi-battery-90:before{content:"󰂂"}.mdi-battery-90-bluetooth:before{content:"󰥆"}.mdi-battery-alert:before{content:"󰂃"}.mdi-battery-alert-bluetooth:before{content:"󰥇"}.mdi-battery-alert-variant:before{content:"󱃌"}.mdi-battery-alert-variant-outline:before{content:"󱃍"}.mdi-battery-arrow-down:before{content:"󱟞"}.mdi-battery-arrow-down-outline:before{content:"󱟟"}.mdi-battery-arrow-up:before{content:"󱟠"}.mdi-battery-arrow-up-outline:before{content:"󱟡"}.mdi-battery-bluetooth:before{content:"󰥈"}.mdi-battery-bluetooth-variant:before{content:"󰥉"}.mdi-battery-charging:before{content:"󰂄"}.mdi-battery-charging-10:before{content:"󰢜"}.mdi-battery-charging-100:before{content:"󰂅"}.mdi-battery-charging-20:before{content:"󰂆"}.mdi-battery-charging-30:before{content:"󰂇"}.mdi-battery-charging-40:before{content:"󰂈"}.mdi-battery-charging-50:before{content:"󰢝"}.mdi-battery-charging-60:before{content:"󰂉"}.mdi-battery-charging-70:before{content:"󰢞"}.mdi-battery-charging-80:before{content:"󰂊"}.mdi-battery-charging-90:before{content:"󰂋"}.mdi-battery-charging-high:before{content:"󱊦"}.mdi-battery-charging-low:before{content:"󱊤"}.mdi-battery-charging-medium:before{content:"󱊥"}.mdi-battery-charging-outline:before{content:"󰢟"}.mdi-battery-charging-wireless:before{content:"󰠇"}.mdi-battery-charging-wireless-10:before{content:"󰠈"}.mdi-battery-charging-wireless-20:before{content:"󰠉"}.mdi-battery-charging-wireless-30:before{content:"󰠊"}.mdi-battery-charging-wireless-40:before{content:"󰠋"}.mdi-battery-charging-wireless-50:before{content:"󰠌"}.mdi-battery-charging-wireless-60:before{content:"󰠍"}.mdi-battery-charging-wireless-70:before{content:"󰠎"}.mdi-battery-charging-wireless-80:before{content:"󰠏"}.mdi-battery-charging-wireless-90:before{content:"󰠐"}.mdi-battery-charging-wireless-alert:before{content:"󰠑"}.mdi-battery-charging-wireless-outline:before{content:"󰠒"}.mdi-battery-check:before{content:"󱟢"}.mdi-battery-check-outline:before{content:"󱟣"}.mdi-battery-clock:before{content:"󱧥"}.mdi-battery-clock-outline:before{content:"󱧦"}.mdi-battery-heart:before{content:"󱈏"}.mdi-battery-heart-outline:before{content:"󱈐"}.mdi-battery-heart-variant:before{content:"󱈑"}.mdi-battery-high:before{content:"󱊣"}.mdi-battery-lock:before{content:"󱞜"}.mdi-battery-lock-open:before{content:"󱞝"}.mdi-battery-low:before{content:"󱊡"}.mdi-battery-medium:before{content:"󱊢"}.mdi-battery-minus:before{content:"󱟤"}.mdi-battery-minus-outline:before{content:"󱟥"}.mdi-battery-minus-variant:before{content:"󰂌"}.mdi-battery-negative:before{content:"󰂍"}.mdi-battery-off:before{content:"󱉝"}.mdi-battery-off-outline:before{content:"󱉞"}.mdi-battery-outline:before{content:"󰂎"}.mdi-battery-plus:before{content:"󱟦"}.mdi-battery-plus-outline:before{content:"󱟧"}.mdi-battery-plus-variant:before{content:"󰂏"}.mdi-battery-positive:before{content:"󰂐"}.mdi-battery-remove:before{content:"󱟨"}.mdi-battery-remove-outline:before{content:"󱟩"}.mdi-battery-sync:before{content:"󱠴"}.mdi-battery-sync-outline:before{content:"󱠵"}.mdi-battery-unknown:before{content:"󰂑"}.mdi-battery-unknown-bluetooth:before{content:"󰥊"}.mdi-beach:before{content:"󰂒"}.mdi-beaker:before{content:"󰳪"}.mdi-beaker-alert:before{content:"󱈩"}.mdi-beaker-alert-outline:before{content:"󱈪"}.mdi-beaker-check:before{content:"󱈫"}.mdi-beaker-check-outline:before{content:"󱈬"}.mdi-beaker-minus:before{content:"󱈭"}.mdi-beaker-minus-outline:before{content:"󱈮"}.mdi-beaker-outline:before{content:"󰚐"}.mdi-beaker-plus:before{content:"󱈯"}.mdi-beaker-plus-outline:before{content:"󱈰"}.mdi-beaker-question:before{content:"󱈱"}.mdi-beaker-question-outline:before{content:"󱈲"}.mdi-beaker-remove:before{content:"󱈳"}.mdi-beaker-remove-outline:before{content:"󱈴"}.mdi-bed:before{content:"󰋣"}.mdi-bed-clock:before{content:"󱮔"}.mdi-bed-double:before{content:"󰿔"}.mdi-bed-double-outline:before{content:"󰿓"}.mdi-bed-empty:before{content:"󰢠"}.mdi-bed-king:before{content:"󰿒"}.mdi-bed-king-outline:before{content:"󰿑"}.mdi-bed-outline:before{content:"󰂙"}.mdi-bed-queen:before{content:"󰿐"}.mdi-bed-queen-outline:before{content:"󰿛"}.mdi-bed-single:before{content:"󱁭"}.mdi-bed-single-outline:before{content:"󱁮"}.mdi-bee:before{content:"󰾡"}.mdi-bee-flower:before{content:"󰾢"}.mdi-beehive-off-outline:before{content:"󱏭"}.mdi-beehive-outline:before{content:"󱃎"}.mdi-beekeeper:before{content:"󱓢"}.mdi-beer:before{content:"󰂘"}.mdi-beer-outline:before{content:"󱌌"}.mdi-bell:before{content:"󰂚"}.mdi-bell-alert:before{content:"󰵙"}.mdi-bell-alert-outline:before{content:"󰺁"}.mdi-bell-badge:before{content:"󱅫"}.mdi-bell-badge-outline:before{content:"󰅸"}.mdi-bell-cancel:before{content:"󱏧"}.mdi-bell-cancel-outline:before{content:"󱏨"}.mdi-bell-check:before{content:"󱇥"}.mdi-bell-check-outline:before{content:"󱇦"}.mdi-bell-circle:before{content:"󰵚"}.mdi-bell-circle-outline:before{content:"󰵛"}.mdi-bell-cog:before{content:"󱨩"}.mdi-bell-cog-outline:before{content:"󱨪"}.mdi-bell-minus:before{content:"󱏩"}.mdi-bell-minus-outline:before{content:"󱏪"}.mdi-bell-off:before{content:"󰂛"}.mdi-bell-off-outline:before{content:"󰪑"}.mdi-bell-outline:before{content:"󰂜"}.mdi-bell-plus:before{content:"󰂝"}.mdi-bell-plus-outline:before{content:"󰪒"}.mdi-bell-remove:before{content:"󱏫"}.mdi-bell-remove-outline:before{content:"󱏬"}.mdi-bell-ring:before{content:"󰂞"}.mdi-bell-ring-outline:before{content:"󰂟"}.mdi-bell-sleep:before{content:"󰂠"}.mdi-bell-sleep-outline:before{content:"󰪓"}.mdi-bench:before{content:"󱰡"}.mdi-bench-back:before{content:"󱰢"}.mdi-beta:before{content:"󰂡"}.mdi-betamax:before{content:"󰧋"}.mdi-biathlon:before{content:"󰸔"}.mdi-bicycle:before{content:"󱂜"}.mdi-bicycle-basket:before{content:"󱈵"}.mdi-bicycle-cargo:before{content:"󱢜"}.mdi-bicycle-electric:before{content:"󱖴"}.mdi-bicycle-penny-farthing:before{content:"󱗩"}.mdi-bike:before{content:"󰂣"}.mdi-bike-fast:before{content:"󱄟"}.mdi-bike-pedal:before{content:"󱰣"}.mdi-bike-pedal-clipless:before{content:"󱰤"}.mdi-bike-pedal-mountain:before{content:"󱰥"}.mdi-billboard:before{content:"󱀐"}.mdi-billiards:before{content:"󰭡"}.mdi-billiards-rack:before{content:"󰭢"}.mdi-binoculars:before{content:"󰂥"}.mdi-bio:before{content:"󰂦"}.mdi-biohazard:before{content:"󰂧"}.mdi-bird:before{content:"󱗆"}.mdi-bitbucket:before{content:"󰂨"}.mdi-bitcoin:before{content:"󰠓"}.mdi-black-mesa:before{content:"󰂩"}.mdi-blender:before{content:"󰳫"}.mdi-blender-outline:before{content:"󱠚"}.mdi-blender-software:before{content:"󰂫"}.mdi-blinds:before{content:"󰂬"}.mdi-blinds-horizontal:before{content:"󱨫"}.mdi-blinds-horizontal-closed:before{content:"󱨬"}.mdi-blinds-open:before{content:"󱀑"}.mdi-blinds-vertical:before{content:"󱨭"}.mdi-blinds-vertical-closed:before{content:"󱨮"}.mdi-block-helper:before{content:"󰂭"}.mdi-blood-bag:before{content:"󰳬"}.mdi-bluetooth:before{content:"󰂯"}.mdi-bluetooth-audio:before{content:"󰂰"}.mdi-bluetooth-connect:before{content:"󰂱"}.mdi-bluetooth-off:before{content:"󰂲"}.mdi-bluetooth-settings:before{content:"󰂳"}.mdi-bluetooth-transfer:before{content:"󰂴"}.mdi-blur:before{content:"󰂵"}.mdi-blur-linear:before{content:"󰂶"}.mdi-blur-off:before{content:"󰂷"}.mdi-blur-radial:before{content:"󰂸"}.mdi-bolt:before{content:"󰶳"}.mdi-bomb:before{content:"󰚑"}.mdi-bomb-off:before{content:"󰛅"}.mdi-bone:before{content:"󰂹"}.mdi-bone-off:before{content:"󱧠"}.mdi-book:before{content:"󰂺"}.mdi-book-account:before{content:"󱎭"}.mdi-book-account-outline:before{content:"󱎮"}.mdi-book-alert:before{content:"󱙼"}.mdi-book-alert-outline:before{content:"󱙽"}.mdi-book-alphabet:before{content:"󰘝"}.mdi-book-arrow-down:before{content:"󱙾"}.mdi-book-arrow-down-outline:before{content:"󱙿"}.mdi-book-arrow-left:before{content:"󱚀"}.mdi-book-arrow-left-outline:before{content:"󱚁"}.mdi-book-arrow-right:before{content:"󱚂"}.mdi-book-arrow-right-outline:before{content:"󱚃"}.mdi-book-arrow-up:before{content:"󱚄"}.mdi-book-arrow-up-outline:before{content:"󱚅"}.mdi-book-cancel:before{content:"󱚆"}.mdi-book-cancel-outline:before{content:"󱚇"}.mdi-book-check:before{content:"󱓳"}.mdi-book-check-outline:before{content:"󱓴"}.mdi-book-clock:before{content:"󱚈"}.mdi-book-clock-outline:before{content:"󱚉"}.mdi-book-cog:before{content:"󱚊"}.mdi-book-cog-outline:before{content:"󱚋"}.mdi-book-cross:before{content:"󰂢"}.mdi-book-edit:before{content:"󱚌"}.mdi-book-edit-outline:before{content:"󱚍"}.mdi-book-education:before{content:"󱛉"}.mdi-book-education-outline:before{content:"󱛊"}.mdi-book-heart:before{content:"󱨝"}.mdi-book-heart-outline:before{content:"󱨞"}.mdi-book-information-variant:before{content:"󱁯"}.mdi-book-lock:before{content:"󰞚"}.mdi-book-lock-open:before{content:"󰞛"}.mdi-book-lock-open-outline:before{content:"󱚎"}.mdi-book-lock-outline:before{content:"󱚏"}.mdi-book-marker:before{content:"󱚐"}.mdi-book-marker-outline:before{content:"󱚑"}.mdi-book-minus:before{content:"󰗙"}.mdi-book-minus-multiple:before{content:"󰪔"}.mdi-book-minus-multiple-outline:before{content:"󰤋"}.mdi-book-minus-outline:before{content:"󱚒"}.mdi-book-multiple:before{content:"󰂻"}.mdi-book-multiple-outline:before{content:"󰐶"}.mdi-book-music:before{content:"󰁧"}.mdi-book-music-outline:before{content:"󱚓"}.mdi-book-off:before{content:"󱚔"}.mdi-book-off-outline:before{content:"󱚕"}.mdi-book-open:before{content:"󰂽"}.mdi-book-open-blank-variant:before{content:"󰂾"}.mdi-book-open-outline:before{content:"󰭣"}.mdi-book-open-page-variant:before{content:"󰗚"}.mdi-book-open-page-variant-outline:before{content:"󱗖"}.mdi-book-open-variant:before{content:"󱓷"}.mdi-book-outline:before{content:"󰭤"}.mdi-book-play:before{content:"󰺂"}.mdi-book-play-outline:before{content:"󰺃"}.mdi-book-plus:before{content:"󰗛"}.mdi-book-plus-multiple:before{content:"󰪕"}.mdi-book-plus-multiple-outline:before{content:"󰫞"}.mdi-book-plus-outline:before{content:"󱚖"}.mdi-book-refresh:before{content:"󱚗"}.mdi-book-refresh-outline:before{content:"󱚘"}.mdi-book-remove:before{content:"󰪗"}.mdi-book-remove-multiple:before{content:"󰪖"}.mdi-book-remove-multiple-outline:before{content:"󰓊"}.mdi-book-remove-outline:before{content:"󱚙"}.mdi-book-search:before{content:"󰺄"}.mdi-book-search-outline:before{content:"󰺅"}.mdi-book-settings:before{content:"󱚚"}.mdi-book-settings-outline:before{content:"󱚛"}.mdi-book-sync:before{content:"󱚜"}.mdi-book-sync-outline:before{content:"󱛈"}.mdi-book-variant:before{content:"󰂿"}.mdi-bookmark:before{content:"󰃀"}.mdi-bookmark-box:before{content:"󱭵"}.mdi-bookmark-box-multiple:before{content:"󱥬"}.mdi-bookmark-box-multiple-outline:before{content:"󱥭"}.mdi-bookmark-box-outline:before{content:"󱭶"}.mdi-bookmark-check:before{content:"󰃁"}.mdi-bookmark-check-outline:before{content:"󱍻"}.mdi-bookmark-minus:before{content:"󰧌"}.mdi-bookmark-minus-outline:before{content:"󰧍"}.mdi-bookmark-multiple:before{content:"󰸕"}.mdi-bookmark-multiple-outline:before{content:"󰸖"}.mdi-bookmark-music:before{content:"󰃂"}.mdi-bookmark-music-outline:before{content:"󱍹"}.mdi-bookmark-off:before{content:"󰧎"}.mdi-bookmark-off-outline:before{content:"󰧏"}.mdi-bookmark-outline:before{content:"󰃃"}.mdi-bookmark-plus:before{content:"󰃅"}.mdi-bookmark-plus-outline:before{content:"󰃄"}.mdi-bookmark-remove:before{content:"󰃆"}.mdi-bookmark-remove-outline:before{content:"󱍺"}.mdi-bookshelf:before{content:"󱉟"}.mdi-boom-gate:before{content:"󰺆"}.mdi-boom-gate-alert:before{content:"󰺇"}.mdi-boom-gate-alert-outline:before{content:"󰺈"}.mdi-boom-gate-arrow-down:before{content:"󰺉"}.mdi-boom-gate-arrow-down-outline:before{content:"󰺊"}.mdi-boom-gate-arrow-up:before{content:"󰺌"}.mdi-boom-gate-arrow-up-outline:before{content:"󰺍"}.mdi-boom-gate-outline:before{content:"󰺋"}.mdi-boom-gate-up:before{content:"󱟹"}.mdi-boom-gate-up-outline:before{content:"󱟺"}.mdi-boombox:before{content:"󰗜"}.mdi-boomerang:before{content:"󱃏"}.mdi-bootstrap:before{content:"󰛆"}.mdi-border-all:before{content:"󰃇"}.mdi-border-all-variant:before{content:"󰢡"}.mdi-border-bottom:before{content:"󰃈"}.mdi-border-bottom-variant:before{content:"󰢢"}.mdi-border-color:before{content:"󰃉"}.mdi-border-horizontal:before{content:"󰃊"}.mdi-border-inside:before{content:"󰃋"}.mdi-border-left:before{content:"󰃌"}.mdi-border-left-variant:before{content:"󰢣"}.mdi-border-none:before{content:"󰃍"}.mdi-border-none-variant:before{content:"󰢤"}.mdi-border-outside:before{content:"󰃎"}.mdi-border-radius:before{content:"󱫴"}.mdi-border-right:before{content:"󰃏"}.mdi-border-right-variant:before{content:"󰢥"}.mdi-border-style:before{content:"󰃐"}.mdi-border-top:before{content:"󰃑"}.mdi-border-top-variant:before{content:"󰢦"}.mdi-border-vertical:before{content:"󰃒"}.mdi-bottle-soda:before{content:"󱁰"}.mdi-bottle-soda-classic:before{content:"󱁱"}.mdi-bottle-soda-classic-outline:before{content:"󱍣"}.mdi-bottle-soda-outline:before{content:"󱁲"}.mdi-bottle-tonic:before{content:"󱄮"}.mdi-bottle-tonic-outline:before{content:"󱄯"}.mdi-bottle-tonic-plus:before{content:"󱄰"}.mdi-bottle-tonic-plus-outline:before{content:"󱄱"}.mdi-bottle-tonic-skull:before{content:"󱄲"}.mdi-bottle-tonic-skull-outline:before{content:"󱄳"}.mdi-bottle-wine:before{content:"󰡔"}.mdi-bottle-wine-outline:before{content:"󱌐"}.mdi-bow-arrow:before{content:"󱡁"}.mdi-bow-tie:before{content:"󰙸"}.mdi-bowl:before{content:"󰊎"}.mdi-bowl-mix:before{content:"󰘗"}.mdi-bowl-mix-outline:before{content:"󰋤"}.mdi-bowl-outline:before{content:"󰊩"}.mdi-bowling:before{content:"󰃓"}.mdi-box:before{content:"󰃔"}.mdi-box-cutter:before{content:"󰃕"}.mdi-box-cutter-off:before{content:"󰭊"}.mdi-box-shadow:before{content:"󰘷"}.mdi-boxing-glove:before{content:"󰭥"}.mdi-braille:before{content:"󰧐"}.mdi-brain:before{content:"󰧑"}.mdi-bread-slice:before{content:"󰳮"}.mdi-bread-slice-outline:before{content:"󰳯"}.mdi-bridge:before{content:"󰘘"}.mdi-briefcase:before{content:"󰃖"}.mdi-briefcase-account:before{content:"󰳰"}.mdi-briefcase-account-outline:before{content:"󰳱"}.mdi-briefcase-arrow-left-right:before{content:"󱪍"}.mdi-briefcase-arrow-left-right-outline:before{content:"󱪎"}.mdi-briefcase-arrow-up-down:before{content:"󱪏"}.mdi-briefcase-arrow-up-down-outline:before{content:"󱪐"}.mdi-briefcase-check:before{content:"󰃗"}.mdi-briefcase-check-outline:before{content:"󱌞"}.mdi-briefcase-clock:before{content:"󱃐"}.mdi-briefcase-clock-outline:before{content:"󱃑"}.mdi-briefcase-download:before{content:"󰃘"}.mdi-briefcase-download-outline:before{content:"󰰽"}.mdi-briefcase-edit:before{content:"󰪘"}.mdi-briefcase-edit-outline:before{content:"󰰾"}.mdi-briefcase-eye:before{content:"󱟙"}.mdi-briefcase-eye-outline:before{content:"󱟚"}.mdi-briefcase-minus:before{content:"󰨪"}.mdi-briefcase-minus-outline:before{content:"󰰿"}.mdi-briefcase-off:before{content:"󱙘"}.mdi-briefcase-off-outline:before{content:"󱙙"}.mdi-briefcase-outline:before{content:"󰠔"}.mdi-briefcase-plus:before{content:"󰨫"}.mdi-briefcase-plus-outline:before{content:"󰱀"}.mdi-briefcase-remove:before{content:"󰨬"}.mdi-briefcase-remove-outline:before{content:"󰱁"}.mdi-briefcase-search:before{content:"󰨭"}.mdi-briefcase-search-outline:before{content:"󰱂"}.mdi-briefcase-upload:before{content:"󰃙"}.mdi-briefcase-upload-outline:before{content:"󰱃"}.mdi-briefcase-variant:before{content:"󱒔"}.mdi-briefcase-variant-off:before{content:"󱙚"}.mdi-briefcase-variant-off-outline:before{content:"󱙛"}.mdi-briefcase-variant-outline:before{content:"󱒕"}.mdi-brightness-1:before{content:"󰃚"}.mdi-brightness-2:before{content:"󰃛"}.mdi-brightness-3:before{content:"󰃜"}.mdi-brightness-4:before{content:"󰃝"}.mdi-brightness-5:before{content:"󰃞"}.mdi-brightness-6:before{content:"󰃟"}.mdi-brightness-7:before{content:"󰃠"}.mdi-brightness-auto:before{content:"󰃡"}.mdi-brightness-percent:before{content:"󰳲"}.mdi-broadcast:before{content:"󱜠"}.mdi-broadcast-off:before{content:"󱜡"}.mdi-broom:before{content:"󰃢"}.mdi-brush:before{content:"󰃣"}.mdi-brush-off:before{content:"󱝱"}.mdi-brush-outline:before{content:"󱨍"}.mdi-brush-variant:before{content:"󱠓"}.mdi-bucket:before{content:"󱐕"}.mdi-bucket-outline:before{content:"󱐖"}.mdi-buffet:before{content:"󰕸"}.mdi-bug:before{content:"󰃤"}.mdi-bug-check:before{content:"󰨮"}.mdi-bug-check-outline:before{content:"󰨯"}.mdi-bug-outline:before{content:"󰨰"}.mdi-bug-pause:before{content:"󱫵"}.mdi-bug-pause-outline:before{content:"󱫶"}.mdi-bug-play:before{content:"󱫷"}.mdi-bug-play-outline:before{content:"󱫸"}.mdi-bug-stop:before{content:"󱫹"}.mdi-bug-stop-outline:before{content:"󱫺"}.mdi-bugle:before{content:"󰶴"}.mdi-bulkhead-light:before{content:"󱨯"}.mdi-bulldozer:before{content:"󰬢"}.mdi-bullet:before{content:"󰳳"}.mdi-bulletin-board:before{content:"󰃥"}.mdi-bullhorn:before{content:"󰃦"}.mdi-bullhorn-outline:before{content:"󰬣"}.mdi-bullhorn-variant:before{content:"󱥮"}.mdi-bullhorn-variant-outline:before{content:"󱥯"}.mdi-bullseye:before{content:"󰗝"}.mdi-bullseye-arrow:before{content:"󰣉"}.mdi-bulma:before{content:"󱋧"}.mdi-bunk-bed:before{content:"󱌂"}.mdi-bunk-bed-outline:before{content:"󰂗"}.mdi-bus:before{content:"󰃧"}.mdi-bus-alert:before{content:"󰪙"}.mdi-bus-articulated-end:before{content:"󰞜"}.mdi-bus-articulated-front:before{content:"󰞝"}.mdi-bus-clock:before{content:"󰣊"}.mdi-bus-double-decker:before{content:"󰞞"}.mdi-bus-electric:before{content:"󱤝"}.mdi-bus-marker:before{content:"󱈒"}.mdi-bus-multiple:before{content:"󰼿"}.mdi-bus-school:before{content:"󰞟"}.mdi-bus-side:before{content:"󰞠"}.mdi-bus-stop:before{content:"󱀒"}.mdi-bus-stop-covered:before{content:"󱀓"}.mdi-bus-stop-uncovered:before{content:"󱀔"}.mdi-butterfly:before{content:"󱖉"}.mdi-butterfly-outline:before{content:"󱖊"}.mdi-button-cursor:before{content:"󱭏"}.mdi-button-pointer:before{content:"󱭐"}.mdi-cabin-a-frame:before{content:"󱢌"}.mdi-cable-data:before{content:"󱎔"}.mdi-cached:before{content:"󰃨"}.mdi-cactus:before{content:"󰶵"}.mdi-cake:before{content:"󰃩"}.mdi-cake-layered:before{content:"󰃪"}.mdi-cake-variant:before{content:"󰃫"}.mdi-cake-variant-outline:before{content:"󱟰"}.mdi-calculator:before{content:"󰃬"}.mdi-calculator-variant:before{content:"󰪚"}.mdi-calculator-variant-outline:before{content:"󱖦"}.mdi-calendar:before{content:"󰃭"}.mdi-calendar-account:before{content:"󰻗"}.mdi-calendar-account-outline:before{content:"󰻘"}.mdi-calendar-alert:before{content:"󰨱"}.mdi-calendar-alert-outline:before{content:"󱭢"}.mdi-calendar-arrow-left:before{content:"󱄴"}.mdi-calendar-arrow-right:before{content:"󱄵"}.mdi-calendar-badge:before{content:"󱮝"}.mdi-calendar-badge-outline:before{content:"󱮞"}.mdi-calendar-blank:before{content:"󰃮"}.mdi-calendar-blank-multiple:before{content:"󱁳"}.mdi-calendar-blank-outline:before{content:"󰭦"}.mdi-calendar-check:before{content:"󰃯"}.mdi-calendar-check-outline:before{content:"󰱄"}.mdi-calendar-clock:before{content:"󰃰"}.mdi-calendar-clock-outline:before{content:"󱛡"}.mdi-calendar-collapse-horizontal:before{content:"󱢝"}.mdi-calendar-collapse-horizontal-outline:before{content:"󱭣"}.mdi-calendar-cursor:before{content:"󱕻"}.mdi-calendar-cursor-outline:before{content:"󱭤"}.mdi-calendar-edit:before{content:"󰢧"}.mdi-calendar-edit-outline:before{content:"󱭥"}.mdi-calendar-end:before{content:"󱙬"}.mdi-calendar-end-outline:before{content:"󱭦"}.mdi-calendar-expand-horizontal:before{content:"󱢞"}.mdi-calendar-expand-horizontal-outline:before{content:"󱭧"}.mdi-calendar-export:before{content:"󰬤"}.mdi-calendar-export-outline:before{content:"󱭨"}.mdi-calendar-filter:before{content:"󱨲"}.mdi-calendar-filter-outline:before{content:"󱨳"}.mdi-calendar-heart:before{content:"󰧒"}.mdi-calendar-heart-outline:before{content:"󱭩"}.mdi-calendar-import:before{content:"󰬥"}.mdi-calendar-import-outline:before{content:"󱭪"}.mdi-calendar-lock:before{content:"󱙁"}.mdi-calendar-lock-open:before{content:"󱭛"}.mdi-calendar-lock-open-outline:before{content:"󱭜"}.mdi-calendar-lock-outline:before{content:"󱙂"}.mdi-calendar-minus:before{content:"󰵜"}.mdi-calendar-minus-outline:before{content:"󱭫"}.mdi-calendar-month:before{content:"󰸗"}.mdi-calendar-month-outline:before{content:"󰸘"}.mdi-calendar-multiple:before{content:"󰃱"}.mdi-calendar-multiple-check:before{content:"󰃲"}.mdi-calendar-multiselect:before{content:"󰨲"}.mdi-calendar-multiselect-outline:before{content:"󱭕"}.mdi-calendar-outline:before{content:"󰭧"}.mdi-calendar-plus:before{content:"󰃳"}.mdi-calendar-plus-outline:before{content:"󱭬"}.mdi-calendar-question:before{content:"󰚒"}.mdi-calendar-question-outline:before{content:"󱭭"}.mdi-calendar-range:before{content:"󰙹"}.mdi-calendar-range-outline:before{content:"󰭨"}.mdi-calendar-refresh:before{content:"󰇡"}.mdi-calendar-refresh-outline:before{content:"󰈃"}.mdi-calendar-remove:before{content:"󰃴"}.mdi-calendar-remove-outline:before{content:"󰱅"}.mdi-calendar-search:before{content:"󰥌"}.mdi-calendar-search-outline:before{content:"󱭮"}.mdi-calendar-star:before{content:"󰧓"}.mdi-calendar-star-four-points:before{content:"󱰟"}.mdi-calendar-star-outline:before{content:"󱭓"}.mdi-calendar-start:before{content:"󱙭"}.mdi-calendar-start-outline:before{content:"󱭯"}.mdi-calendar-sync:before{content:"󰺎"}.mdi-calendar-sync-outline:before{content:"󰺏"}.mdi-calendar-text:before{content:"󰃵"}.mdi-calendar-text-outline:before{content:"󰱆"}.mdi-calendar-today:before{content:"󰃶"}.mdi-calendar-today-outline:before{content:"󱨰"}.mdi-calendar-week:before{content:"󰨳"}.mdi-calendar-week-begin:before{content:"󰨴"}.mdi-calendar-week-begin-outline:before{content:"󱨱"}.mdi-calendar-week-outline:before{content:"󱨴"}.mdi-calendar-weekend:before{content:"󰻙"}.mdi-calendar-weekend-outline:before{content:"󰻚"}.mdi-call-made:before{content:"󰃷"}.mdi-call-merge:before{content:"󰃸"}.mdi-call-missed:before{content:"󰃹"}.mdi-call-received:before{content:"󰃺"}.mdi-call-split:before{content:"󰃻"}.mdi-camcorder:before{content:"󰃼"}.mdi-camcorder-off:before{content:"󰃿"}.mdi-camera:before{content:"󰄀"}.mdi-camera-account:before{content:"󰣋"}.mdi-camera-burst:before{content:"󰚓"}.mdi-camera-control:before{content:"󰭩"}.mdi-camera-document:before{content:"󱡱"}.mdi-camera-document-off:before{content:"󱡲"}.mdi-camera-enhance:before{content:"󰄁"}.mdi-camera-enhance-outline:before{content:"󰭪"}.mdi-camera-flip:before{content:"󱗙"}.mdi-camera-flip-outline:before{content:"󱗚"}.mdi-camera-front:before{content:"󰄂"}.mdi-camera-front-variant:before{content:"󰄃"}.mdi-camera-gopro:before{content:"󰞡"}.mdi-camera-image:before{content:"󰣌"}.mdi-camera-iris:before{content:"󰄄"}.mdi-camera-lock:before{content:"󱨔"}.mdi-camera-lock-open:before{content:"󱰍"}.mdi-camera-lock-open-outline:before{content:"󱰎"}.mdi-camera-lock-outline:before{content:"󱨕"}.mdi-camera-marker:before{content:"󱦧"}.mdi-camera-marker-outline:before{content:"󱦨"}.mdi-camera-metering-center:before{content:"󰞢"}.mdi-camera-metering-matrix:before{content:"󰞣"}.mdi-camera-metering-partial:before{content:"󰞤"}.mdi-camera-metering-spot:before{content:"󰞥"}.mdi-camera-off:before{content:"󰗟"}.mdi-camera-off-outline:before{content:"󱦿"}.mdi-camera-outline:before{content:"󰵝"}.mdi-camera-party-mode:before{content:"󰄅"}.mdi-camera-plus:before{content:"󰻛"}.mdi-camera-plus-outline:before{content:"󰻜"}.mdi-camera-rear:before{content:"󰄆"}.mdi-camera-rear-variant:before{content:"󰄇"}.mdi-camera-retake:before{content:"󰸙"}.mdi-camera-retake-outline:before{content:"󰸚"}.mdi-camera-switch:before{content:"󰄈"}.mdi-camera-switch-outline:before{content:"󰡊"}.mdi-camera-timer:before{content:"󰄉"}.mdi-camera-wireless:before{content:"󰶶"}.mdi-camera-wireless-outline:before{content:"󰶷"}.mdi-campfire:before{content:"󰻝"}.mdi-cancel:before{content:"󰜺"}.mdi-candelabra:before{content:"󱟒"}.mdi-candelabra-fire:before{content:"󱟓"}.mdi-candle:before{content:"󰗢"}.mdi-candy:before{content:"󱥰"}.mdi-candy-off:before{content:"󱥱"}.mdi-candy-off-outline:before{content:"󱥲"}.mdi-candy-outline:before{content:"󱥳"}.mdi-candycane:before{content:"󰄊"}.mdi-cannabis:before{content:"󰞦"}.mdi-cannabis-off:before{content:"󱙮"}.mdi-caps-lock:before{content:"󰪛"}.mdi-car:before{content:"󰄋"}.mdi-car-2-plus:before{content:"󱀕"}.mdi-car-3-plus:before{content:"󱀖"}.mdi-car-arrow-left:before{content:"󱎲"}.mdi-car-arrow-right:before{content:"󱎳"}.mdi-car-back:before{content:"󰸛"}.mdi-car-battery:before{content:"󰄌"}.mdi-car-brake-abs:before{content:"󰱇"}.mdi-car-brake-alert:before{content:"󰱈"}.mdi-car-brake-fluid-level:before{content:"󱤉"}.mdi-car-brake-hold:before{content:"󰵞"}.mdi-car-brake-low-pressure:before{content:"󱤊"}.mdi-car-brake-parking:before{content:"󰵟"}.mdi-car-brake-retarder:before{content:"󱀗"}.mdi-car-brake-temperature:before{content:"󱤋"}.mdi-car-brake-worn-linings:before{content:"󱤌"}.mdi-car-child-seat:before{content:"󰾣"}.mdi-car-clock:before{content:"󱥴"}.mdi-car-clutch:before{content:"󱀘"}.mdi-car-cog:before{content:"󱏌"}.mdi-car-connected:before{content:"󰄍"}.mdi-car-convertible:before{content:"󰞧"}.mdi-car-coolant-level:before{content:"󱀙"}.mdi-car-cruise-control:before{content:"󰵠"}.mdi-car-defrost-front:before{content:"󰵡"}.mdi-car-defrost-rear:before{content:"󰵢"}.mdi-car-door:before{content:"󰭫"}.mdi-car-door-lock:before{content:"󱂝"}.mdi-car-electric:before{content:"󰭬"}.mdi-car-electric-outline:before{content:"󱖵"}.mdi-car-emergency:before{content:"󱘏"}.mdi-car-esp:before{content:"󰱉"}.mdi-car-estate:before{content:"󰞨"}.mdi-car-hatchback:before{content:"󰞩"}.mdi-car-info:before{content:"󱆾"}.mdi-car-key:before{content:"󰭭"}.mdi-car-lifted-pickup:before{content:"󱔭"}.mdi-car-light-alert:before{content:"󱤍"}.mdi-car-light-dimmed:before{content:"󰱊"}.mdi-car-light-fog:before{content:"󰱋"}.mdi-car-light-high:before{content:"󰱌"}.mdi-car-limousine:before{content:"󰣍"}.mdi-car-multiple:before{content:"󰭮"}.mdi-car-off:before{content:"󰸜"}.mdi-car-outline:before{content:"󱓭"}.mdi-car-parking-lights:before{content:"󰵣"}.mdi-car-pickup:before{content:"󰞪"}.mdi-car-search:before{content:"󱮍"}.mdi-car-search-outline:before{content:"󱮎"}.mdi-car-seat:before{content:"󰾤"}.mdi-car-seat-cooler:before{content:"󰾥"}.mdi-car-seat-heater:before{content:"󰾦"}.mdi-car-select:before{content:"󱡹"}.mdi-car-settings:before{content:"󱏍"}.mdi-car-shift-pattern:before{content:"󰽀"}.mdi-car-side:before{content:"󰞫"}.mdi-car-speed-limiter:before{content:"󱤎"}.mdi-car-sports:before{content:"󰞬"}.mdi-car-tire-alert:before{content:"󰱍"}.mdi-car-traction-control:before{content:"󰵤"}.mdi-car-turbocharger:before{content:"󱀚"}.mdi-car-wash:before{content:"󰄎"}.mdi-car-windshield:before{content:"󱀛"}.mdi-car-windshield-outline:before{content:"󱀜"}.mdi-car-wireless:before{content:"󱡸"}.mdi-car-wrench:before{content:"󱠔"}.mdi-carabiner:before{content:"󱓀"}.mdi-caravan:before{content:"󰞭"}.mdi-card:before{content:"󰭯"}.mdi-card-account-details:before{content:"󰗒"}.mdi-card-account-details-outline:before{content:"󰶫"}.mdi-card-account-details-star:before{content:"󰊣"}.mdi-card-account-details-star-outline:before{content:"󰛛"}.mdi-card-account-mail:before{content:"󰆎"}.mdi-card-account-mail-outline:before{content:"󰺘"}.mdi-card-account-phone:before{content:"󰺙"}.mdi-card-account-phone-outline:before{content:"󰺚"}.mdi-card-bulleted:before{content:"󰭰"}.mdi-card-bulleted-off:before{content:"󰭱"}.mdi-card-bulleted-off-outline:before{content:"󰭲"}.mdi-card-bulleted-outline:before{content:"󰭳"}.mdi-card-bulleted-settings:before{content:"󰭴"}.mdi-card-bulleted-settings-outline:before{content:"󰭵"}.mdi-card-minus:before{content:"󱘀"}.mdi-card-minus-outline:before{content:"󱘁"}.mdi-card-multiple:before{content:"󱟱"}.mdi-card-multiple-outline:before{content:"󱟲"}.mdi-card-off:before{content:"󱘂"}.mdi-card-off-outline:before{content:"󱘃"}.mdi-card-outline:before{content:"󰭶"}.mdi-card-plus:before{content:"󱇿"}.mdi-card-plus-outline:before{content:"󱈀"}.mdi-card-remove:before{content:"󱘄"}.mdi-card-remove-outline:before{content:"󱘅"}.mdi-card-search:before{content:"󱁴"}.mdi-card-search-outline:before{content:"󱁵"}.mdi-card-text:before{content:"󰭷"}.mdi-card-text-outline:before{content:"󰭸"}.mdi-cards:before{content:"󰘸"}.mdi-cards-club:before{content:"󰣎"}.mdi-cards-club-outline:before{content:"󱢟"}.mdi-cards-diamond:before{content:"󰣏"}.mdi-cards-diamond-outline:before{content:"󱀝"}.mdi-cards-heart:before{content:"󰣐"}.mdi-cards-heart-outline:before{content:"󱢠"}.mdi-cards-outline:before{content:"󰘹"}.mdi-cards-playing:before{content:"󱢡"}.mdi-cards-playing-club:before{content:"󱢢"}.mdi-cards-playing-club-multiple:before{content:"󱢣"}.mdi-cards-playing-club-multiple-outline:before{content:"󱢤"}.mdi-cards-playing-club-outline:before{content:"󱢥"}.mdi-cards-playing-diamond:before{content:"󱢦"}.mdi-cards-playing-diamond-multiple:before{content:"󱢧"}.mdi-cards-playing-diamond-multiple-outline:before{content:"󱢨"}.mdi-cards-playing-diamond-outline:before{content:"󱢩"}.mdi-cards-playing-heart:before{content:"󱢪"}.mdi-cards-playing-heart-multiple:before{content:"󱢫"}.mdi-cards-playing-heart-multiple-outline:before{content:"󱢬"}.mdi-cards-playing-heart-outline:before{content:"󱢭"}.mdi-cards-playing-outline:before{content:"󰘺"}.mdi-cards-playing-spade:before{content:"󱢮"}.mdi-cards-playing-spade-multiple:before{content:"󱢯"}.mdi-cards-playing-spade-multiple-outline:before{content:"󱢰"}.mdi-cards-playing-spade-outline:before{content:"󱢱"}.mdi-cards-spade:before{content:"󰣑"}.mdi-cards-spade-outline:before{content:"󱢲"}.mdi-cards-variant:before{content:"󰛇"}.mdi-carrot:before{content:"󰄏"}.mdi-cart:before{content:"󰄐"}.mdi-cart-arrow-down:before{content:"󰵦"}.mdi-cart-arrow-right:before{content:"󰱎"}.mdi-cart-arrow-up:before{content:"󰵧"}.mdi-cart-check:before{content:"󱗪"}.mdi-cart-heart:before{content:"󱣠"}.mdi-cart-minus:before{content:"󰵨"}.mdi-cart-off:before{content:"󰙫"}.mdi-cart-outline:before{content:"󰄑"}.mdi-cart-percent:before{content:"󱮮"}.mdi-cart-plus:before{content:"󰄒"}.mdi-cart-remove:before{content:"󰵩"}.mdi-cart-variant:before{content:"󱗫"}.mdi-case-sensitive-alt:before{content:"󰄓"}.mdi-cash:before{content:"󰄔"}.mdi-cash-100:before{content:"󰄕"}.mdi-cash-check:before{content:"󱓮"}.mdi-cash-clock:before{content:"󱪑"}.mdi-cash-fast:before{content:"󱡜"}.mdi-cash-lock:before{content:"󱓪"}.mdi-cash-lock-open:before{content:"󱓫"}.mdi-cash-marker:before{content:"󰶸"}.mdi-cash-minus:before{content:"󱉠"}.mdi-cash-multiple:before{content:"󰄖"}.mdi-cash-off:before{content:"󱱹"}.mdi-cash-plus:before{content:"󱉡"}.mdi-cash-refund:before{content:"󰪜"}.mdi-cash-register:before{content:"󰳴"}.mdi-cash-remove:before{content:"󱉢"}.mdi-cash-sync:before{content:"󱪒"}.mdi-cassette:before{content:"󰧔"}.mdi-cast:before{content:"󰄘"}.mdi-cast-audio:before{content:"󱀞"}.mdi-cast-audio-variant:before{content:"󱝉"}.mdi-cast-connected:before{content:"󰄙"}.mdi-cast-education:before{content:"󰸝"}.mdi-cast-off:before{content:"󰞊"}.mdi-cast-variant:before{content:"󰀟"}.mdi-castle:before{content:"󰄚"}.mdi-cat:before{content:"󰄛"}.mdi-cctv:before{content:"󰞮"}.mdi-cctv-off:before{content:"󱡟"}.mdi-ceiling-fan:before{content:"󱞗"}.mdi-ceiling-fan-light:before{content:"󱞘"}.mdi-ceiling-light:before{content:"󰝩"}.mdi-ceiling-light-multiple:before{content:"󱣝"}.mdi-ceiling-light-multiple-outline:before{content:"󱣞"}.mdi-ceiling-light-outline:before{content:"󱟇"}.mdi-cellphone:before{content:"󰄜"}.mdi-cellphone-arrow-down:before{content:"󰧕"}.mdi-cellphone-arrow-down-variant:before{content:"󱧅"}.mdi-cellphone-basic:before{content:"󰄞"}.mdi-cellphone-charging:before{content:"󱎗"}.mdi-cellphone-check:before{content:"󱟽"}.mdi-cellphone-cog:before{content:"󰥑"}.mdi-cellphone-dock:before{content:"󰄟"}.mdi-cellphone-information:before{content:"󰽁"}.mdi-cellphone-key:before{content:"󰥎"}.mdi-cellphone-link:before{content:"󰄡"}.mdi-cellphone-link-off:before{content:"󰄢"}.mdi-cellphone-lock:before{content:"󰥏"}.mdi-cellphone-marker:before{content:"󱠺"}.mdi-cellphone-message:before{content:"󰣓"}.mdi-cellphone-message-off:before{content:"󱃒"}.mdi-cellphone-nfc:before{content:"󰺐"}.mdi-cellphone-nfc-off:before{content:"󱋘"}.mdi-cellphone-off:before{content:"󰥐"}.mdi-cellphone-play:before{content:"󱀟"}.mdi-cellphone-remove:before{content:"󰥍"}.mdi-cellphone-screenshot:before{content:"󰨵"}.mdi-cellphone-settings:before{content:"󰄣"}.mdi-cellphone-sound:before{content:"󰥒"}.mdi-cellphone-text:before{content:"󰣒"}.mdi-cellphone-wireless:before{content:"󰠕"}.mdi-centos:before{content:"󱄚"}.mdi-certificate:before{content:"󰄤"}.mdi-certificate-outline:before{content:"󱆈"}.mdi-chair-rolling:before{content:"󰽈"}.mdi-chair-school:before{content:"󰄥"}.mdi-chandelier:before{content:"󱞓"}.mdi-charity:before{content:"󰱏"}.mdi-chart-arc:before{content:"󰄦"}.mdi-chart-areaspline:before{content:"󰄧"}.mdi-chart-areaspline-variant:before{content:"󰺑"}.mdi-chart-bar:before{content:"󰄨"}.mdi-chart-bar-stacked:before{content:"󰝪"}.mdi-chart-bell-curve:before{content:"󰱐"}.mdi-chart-bell-curve-cumulative:before{content:"󰾧"}.mdi-chart-box:before{content:"󱕍"}.mdi-chart-box-outline:before{content:"󱕎"}.mdi-chart-box-plus-outline:before{content:"󱕏"}.mdi-chart-bubble:before{content:"󰗣"}.mdi-chart-donut:before{content:"󰞯"}.mdi-chart-donut-variant:before{content:"󰞰"}.mdi-chart-gantt:before{content:"󰙬"}.mdi-chart-histogram:before{content:"󰄩"}.mdi-chart-line:before{content:"󰄪"}.mdi-chart-line-stacked:before{content:"󰝫"}.mdi-chart-line-variant:before{content:"󰞱"}.mdi-chart-multiline:before{content:"󰣔"}.mdi-chart-multiple:before{content:"󱈓"}.mdi-chart-pie:before{content:"󰄫"}.mdi-chart-pie-outline:before{content:"󱯟"}.mdi-chart-ppf:before{content:"󱎀"}.mdi-chart-sankey:before{content:"󱇟"}.mdi-chart-sankey-variant:before{content:"󱇠"}.mdi-chart-scatter-plot:before{content:"󰺒"}.mdi-chart-scatter-plot-hexbin:before{content:"󰙭"}.mdi-chart-timeline:before{content:"󰙮"}.mdi-chart-timeline-variant:before{content:"󰺓"}.mdi-chart-timeline-variant-shimmer:before{content:"󱖶"}.mdi-chart-tree:before{content:"󰺔"}.mdi-chart-waterfall:before{content:"󱤘"}.mdi-chat:before{content:"󰭹"}.mdi-chat-alert:before{content:"󰭺"}.mdi-chat-alert-outline:before{content:"󱋉"}.mdi-chat-minus:before{content:"󱐐"}.mdi-chat-minus-outline:before{content:"󱐓"}.mdi-chat-outline:before{content:"󰻞"}.mdi-chat-plus:before{content:"󱐏"}.mdi-chat-plus-outline:before{content:"󱐒"}.mdi-chat-processing:before{content:"󰭻"}.mdi-chat-processing-outline:before{content:"󱋊"}.mdi-chat-question:before{content:"󱜸"}.mdi-chat-question-outline:before{content:"󱜹"}.mdi-chat-remove:before{content:"󱐑"}.mdi-chat-remove-outline:before{content:"󱐔"}.mdi-chat-sleep:before{content:"󱋑"}.mdi-chat-sleep-outline:before{content:"󱋒"}.mdi-check:before{content:"󰄬"}.mdi-check-all:before{content:"󰄭"}.mdi-check-bold:before{content:"󰸞"}.mdi-check-circle:before{content:"󰗠"}.mdi-check-circle-outline:before{content:"󰗡"}.mdi-check-decagram:before{content:"󰞑"}.mdi-check-decagram-outline:before{content:"󱝀"}.mdi-check-network:before{content:"󰱓"}.mdi-check-network-outline:before{content:"󰱔"}.mdi-check-outline:before{content:"󰡕"}.mdi-check-underline:before{content:"󰸟"}.mdi-check-underline-circle:before{content:"󰸠"}.mdi-check-underline-circle-outline:before{content:"󰸡"}.mdi-checkbook:before{content:"󰪝"}.mdi-checkbook-arrow-left:before{content:"󱰝"}.mdi-checkbook-arrow-right:before{content:"󱰞"}.mdi-checkbox-blank:before{content:"󰄮"}.mdi-checkbox-blank-badge:before{content:"󱅶"}.mdi-checkbox-blank-badge-outline:before{content:"󰄗"}.mdi-checkbox-blank-circle:before{content:"󰄯"}.mdi-checkbox-blank-circle-outline:before{content:"󰄰"}.mdi-checkbox-blank-off:before{content:"󱋬"}.mdi-checkbox-blank-off-outline:before{content:"󱋭"}.mdi-checkbox-blank-outline:before{content:"󰄱"}.mdi-checkbox-intermediate:before{content:"󰡖"}.mdi-checkbox-intermediate-variant:before{content:"󱭔"}.mdi-checkbox-marked:before{content:"󰄲"}.mdi-checkbox-marked-circle:before{content:"󰄳"}.mdi-checkbox-marked-circle-auto-outline:before{content:"󱰦"}.mdi-checkbox-marked-circle-minus-outline:before{content:"󱰧"}.mdi-checkbox-marked-circle-outline:before{content:"󰄴"}.mdi-checkbox-marked-circle-plus-outline:before{content:"󱤧"}.mdi-checkbox-marked-outline:before{content:"󰄵"}.mdi-checkbox-multiple-blank:before{content:"󰄶"}.mdi-checkbox-multiple-blank-circle:before{content:"󰘻"}.mdi-checkbox-multiple-blank-circle-outline:before{content:"󰘼"}.mdi-checkbox-multiple-blank-outline:before{content:"󰄷"}.mdi-checkbox-multiple-marked:before{content:"󰄸"}.mdi-checkbox-multiple-marked-circle:before{content:"󰘽"}.mdi-checkbox-multiple-marked-circle-outline:before{content:"󰘾"}.mdi-checkbox-multiple-marked-outline:before{content:"󰄹"}.mdi-checkbox-multiple-outline:before{content:"󰱑"}.mdi-checkbox-outline:before{content:"󰱒"}.mdi-checkerboard:before{content:"󰄺"}.mdi-checkerboard-minus:before{content:"󱈂"}.mdi-checkerboard-plus:before{content:"󱈁"}.mdi-checkerboard-remove:before{content:"󱈃"}.mdi-cheese:before{content:"󱊹"}.mdi-cheese-off:before{content:"󱏮"}.mdi-chef-hat:before{content:"󰭼"}.mdi-chemical-weapon:before{content:"󰄻"}.mdi-chess-bishop:before{content:"󰡜"}.mdi-chess-king:before{content:"󰡗"}.mdi-chess-knight:before{content:"󰡘"}.mdi-chess-pawn:before{content:"󰡙"}.mdi-chess-queen:before{content:"󰡚"}.mdi-chess-rook:before{content:"󰡛"}.mdi-chevron-double-down:before{content:"󰄼"}.mdi-chevron-double-left:before{content:"󰄽"}.mdi-chevron-double-right:before{content:"󰄾"}.mdi-chevron-double-up:before{content:"󰄿"}.mdi-chevron-down:before{content:"󰅀"}.mdi-chevron-down-box:before{content:"󰧖"}.mdi-chevron-down-box-outline:before{content:"󰧗"}.mdi-chevron-down-circle:before{content:"󰬦"}.mdi-chevron-down-circle-outline:before{content:"󰬧"}.mdi-chevron-left:before{content:"󰅁"}.mdi-chevron-left-box:before{content:"󰧘"}.mdi-chevron-left-box-outline:before{content:"󰧙"}.mdi-chevron-left-circle:before{content:"󰬨"}.mdi-chevron-left-circle-outline:before{content:"󰬩"}.mdi-chevron-right:before{content:"󰅂"}.mdi-chevron-right-box:before{content:"󰧚"}.mdi-chevron-right-box-outline:before{content:"󰧛"}.mdi-chevron-right-circle:before{content:"󰬪"}.mdi-chevron-right-circle-outline:before{content:"󰬫"}.mdi-chevron-triple-down:before{content:"󰶹"}.mdi-chevron-triple-left:before{content:"󰶺"}.mdi-chevron-triple-right:before{content:"󰶻"}.mdi-chevron-triple-up:before{content:"󰶼"}.mdi-chevron-up:before{content:"󰅃"}.mdi-chevron-up-box:before{content:"󰧜"}.mdi-chevron-up-box-outline:before{content:"󰧝"}.mdi-chevron-up-circle:before{content:"󰬬"}.mdi-chevron-up-circle-outline:before{content:"󰬭"}.mdi-chili-alert:before{content:"󱟪"}.mdi-chili-alert-outline:before{content:"󱟫"}.mdi-chili-hot:before{content:"󰞲"}.mdi-chili-hot-outline:before{content:"󱟬"}.mdi-chili-medium:before{content:"󰞳"}.mdi-chili-medium-outline:before{content:"󱟭"}.mdi-chili-mild:before{content:"󰞴"}.mdi-chili-mild-outline:before{content:"󱟮"}.mdi-chili-off:before{content:"󱑧"}.mdi-chili-off-outline:before{content:"󱟯"}.mdi-chip:before{content:"󰘚"}.mdi-church:before{content:"󰅄"}.mdi-church-outline:before{content:"󱬂"}.mdi-cigar:before{content:"󱆉"}.mdi-cigar-off:before{content:"󱐛"}.mdi-circle:before{content:"󰝥"}.mdi-circle-box:before{content:"󱗜"}.mdi-circle-box-outline:before{content:"󱗝"}.mdi-circle-double:before{content:"󰺕"}.mdi-circle-edit-outline:before{content:"󰣕"}.mdi-circle-expand:before{content:"󰺖"}.mdi-circle-half:before{content:"󱎕"}.mdi-circle-half-full:before{content:"󱎖"}.mdi-circle-medium:before{content:"󰧞"}.mdi-circle-multiple:before{content:"󰬸"}.mdi-circle-multiple-outline:before{content:"󰚕"}.mdi-circle-off-outline:before{content:"󱃓"}.mdi-circle-opacity:before{content:"󱡓"}.mdi-circle-outline:before{content:"󰝦"}.mdi-circle-slice-1:before{content:"󰪞"}.mdi-circle-slice-2:before{content:"󰪟"}.mdi-circle-slice-3:before{content:"󰪠"}.mdi-circle-slice-4:before{content:"󰪡"}.mdi-circle-slice-5:before{content:"󰪢"}.mdi-circle-slice-6:before{content:"󰪣"}.mdi-circle-slice-7:before{content:"󰪤"}.mdi-circle-slice-8:before{content:"󰪥"}.mdi-circle-small:before{content:"󰧟"}.mdi-circular-saw:before{content:"󰸢"}.mdi-city:before{content:"󰅆"}.mdi-city-switch:before{content:"󱰨"}.mdi-city-variant:before{content:"󰨶"}.mdi-city-variant-outline:before{content:"󰨷"}.mdi-clipboard:before{content:"󰅇"}.mdi-clipboard-account:before{content:"󰅈"}.mdi-clipboard-account-outline:before{content:"󰱕"}.mdi-clipboard-alert:before{content:"󰅉"}.mdi-clipboard-alert-outline:before{content:"󰳷"}.mdi-clipboard-arrow-down:before{content:"󰅊"}.mdi-clipboard-arrow-down-outline:before{content:"󰱖"}.mdi-clipboard-arrow-left:before{content:"󰅋"}.mdi-clipboard-arrow-left-outline:before{content:"󰳸"}.mdi-clipboard-arrow-right:before{content:"󰳹"}.mdi-clipboard-arrow-right-outline:before{content:"󰳺"}.mdi-clipboard-arrow-up:before{content:"󰱗"}.mdi-clipboard-arrow-up-outline:before{content:"󰱘"}.mdi-clipboard-check:before{content:"󰅎"}.mdi-clipboard-check-multiple:before{content:"󱉣"}.mdi-clipboard-check-multiple-outline:before{content:"󱉤"}.mdi-clipboard-check-outline:before{content:"󰢨"}.mdi-clipboard-clock:before{content:"󱛢"}.mdi-clipboard-clock-outline:before{content:"󱛣"}.mdi-clipboard-edit:before{content:"󱓥"}.mdi-clipboard-edit-outline:before{content:"󱓦"}.mdi-clipboard-file:before{content:"󱉥"}.mdi-clipboard-file-outline:before{content:"󱉦"}.mdi-clipboard-flow:before{content:"󰛈"}.mdi-clipboard-flow-outline:before{content:"󱄗"}.mdi-clipboard-list:before{content:"󱃔"}.mdi-clipboard-list-outline:before{content:"󱃕"}.mdi-clipboard-minus:before{content:"󱘘"}.mdi-clipboard-minus-outline:before{content:"󱘙"}.mdi-clipboard-multiple:before{content:"󱉧"}.mdi-clipboard-multiple-outline:before{content:"󱉨"}.mdi-clipboard-off:before{content:"󱘚"}.mdi-clipboard-off-outline:before{content:"󱘛"}.mdi-clipboard-outline:before{content:"󰅌"}.mdi-clipboard-play:before{content:"󰱙"}.mdi-clipboard-play-multiple:before{content:"󱉩"}.mdi-clipboard-play-multiple-outline:before{content:"󱉪"}.mdi-clipboard-play-outline:before{content:"󰱚"}.mdi-clipboard-plus:before{content:"󰝑"}.mdi-clipboard-plus-outline:before{content:"󱌟"}.mdi-clipboard-pulse:before{content:"󰡝"}.mdi-clipboard-pulse-outline:before{content:"󰡞"}.mdi-clipboard-remove:before{content:"󱘜"}.mdi-clipboard-remove-outline:before{content:"󱘝"}.mdi-clipboard-search:before{content:"󱘞"}.mdi-clipboard-search-outline:before{content:"󱘟"}.mdi-clipboard-text:before{content:"󰅍"}.mdi-clipboard-text-clock:before{content:"󱣹"}.mdi-clipboard-text-clock-outline:before{content:"󱣺"}.mdi-clipboard-text-multiple:before{content:"󱉫"}.mdi-clipboard-text-multiple-outline:before{content:"󱉬"}.mdi-clipboard-text-off:before{content:"󱘠"}.mdi-clipboard-text-off-outline:before{content:"󱘡"}.mdi-clipboard-text-outline:before{content:"󰨸"}.mdi-clipboard-text-play:before{content:"󰱛"}.mdi-clipboard-text-play-outline:before{content:"󰱜"}.mdi-clipboard-text-search:before{content:"󱘢"}.mdi-clipboard-text-search-outline:before{content:"󱘣"}.mdi-clippy:before{content:"󰅏"}.mdi-clock:before{content:"󰥔"}.mdi-clock-alert:before{content:"󰥕"}.mdi-clock-alert-outline:before{content:"󰗎"}.mdi-clock-check:before{content:"󰾨"}.mdi-clock-check-outline:before{content:"󰾩"}.mdi-clock-digital:before{content:"󰺗"}.mdi-clock-edit:before{content:"󱦺"}.mdi-clock-edit-outline:before{content:"󱦻"}.mdi-clock-end:before{content:"󰅑"}.mdi-clock-fast:before{content:"󰅒"}.mdi-clock-in:before{content:"󰅓"}.mdi-clock-minus:before{content:"󱡣"}.mdi-clock-minus-outline:before{content:"󱡤"}.mdi-clock-out:before{content:"󰅔"}.mdi-clock-outline:before{content:"󰅐"}.mdi-clock-plus:before{content:"󱡡"}.mdi-clock-plus-outline:before{content:"󱡢"}.mdi-clock-remove:before{content:"󱡥"}.mdi-clock-remove-outline:before{content:"󱡦"}.mdi-clock-star-four-points:before{content:"󱰩"}.mdi-clock-star-four-points-outline:before{content:"󱰪"}.mdi-clock-start:before{content:"󰅕"}.mdi-clock-time-eight:before{content:"󱑆"}.mdi-clock-time-eight-outline:before{content:"󱑒"}.mdi-clock-time-eleven:before{content:"󱑉"}.mdi-clock-time-eleven-outline:before{content:"󱑕"}.mdi-clock-time-five:before{content:"󱑃"}.mdi-clock-time-five-outline:before{content:"󱑏"}.mdi-clock-time-four:before{content:"󱑂"}.mdi-clock-time-four-outline:before{content:"󱑎"}.mdi-clock-time-nine:before{content:"󱑇"}.mdi-clock-time-nine-outline:before{content:"󱑓"}.mdi-clock-time-one:before{content:"󱐿"}.mdi-clock-time-one-outline:before{content:"󱑋"}.mdi-clock-time-seven:before{content:"󱑅"}.mdi-clock-time-seven-outline:before{content:"󱑑"}.mdi-clock-time-six:before{content:"󱑄"}.mdi-clock-time-six-outline:before{content:"󱑐"}.mdi-clock-time-ten:before{content:"󱑈"}.mdi-clock-time-ten-outline:before{content:"󱑔"}.mdi-clock-time-three:before{content:"󱑁"}.mdi-clock-time-three-outline:before{content:"󱑍"}.mdi-clock-time-twelve:before{content:"󱑊"}.mdi-clock-time-twelve-outline:before{content:"󱑖"}.mdi-clock-time-two:before{content:"󱑀"}.mdi-clock-time-two-outline:before{content:"󱑌"}.mdi-close:before{content:"󰅖"}.mdi-close-box:before{content:"󰅗"}.mdi-close-box-multiple:before{content:"󰱝"}.mdi-close-box-multiple-outline:before{content:"󰱞"}.mdi-close-box-outline:before{content:"󰅘"}.mdi-close-circle:before{content:"󰅙"}.mdi-close-circle-multiple:before{content:"󰘪"}.mdi-close-circle-multiple-outline:before{content:"󰢃"}.mdi-close-circle-outline:before{content:"󰅚"}.mdi-close-network:before{content:"󰅛"}.mdi-close-network-outline:before{content:"󰱟"}.mdi-close-octagon:before{content:"󰅜"}.mdi-close-octagon-outline:before{content:"󰅝"}.mdi-close-outline:before{content:"󰛉"}.mdi-close-thick:before{content:"󱎘"}.mdi-closed-caption:before{content:"󰅞"}.mdi-closed-caption-outline:before{content:"󰶽"}.mdi-cloud:before{content:"󰅟"}.mdi-cloud-alert:before{content:"󰧠"}.mdi-cloud-alert-outline:before{content:"󱯠"}.mdi-cloud-arrow-down:before{content:"󱯡"}.mdi-cloud-arrow-down-outline:before{content:"󱯢"}.mdi-cloud-arrow-left:before{content:"󱯣"}.mdi-cloud-arrow-left-outline:before{content:"󱯤"}.mdi-cloud-arrow-right:before{content:"󱯥"}.mdi-cloud-arrow-right-outline:before{content:"󱯦"}.mdi-cloud-arrow-up:before{content:"󱯧"}.mdi-cloud-arrow-up-outline:before{content:"󱯨"}.mdi-cloud-braces:before{content:"󰞵"}.mdi-cloud-cancel:before{content:"󱯩"}.mdi-cloud-cancel-outline:before{content:"󱯪"}.mdi-cloud-check:before{content:"󱯫"}.mdi-cloud-check-outline:before{content:"󱯬"}.mdi-cloud-check-variant:before{content:"󰅠"}.mdi-cloud-check-variant-outline:before{content:"󱋌"}.mdi-cloud-circle:before{content:"󰅡"}.mdi-cloud-circle-outline:before{content:"󱯭"}.mdi-cloud-clock:before{content:"󱯮"}.mdi-cloud-clock-outline:before{content:"󱯯"}.mdi-cloud-cog:before{content:"󱯰"}.mdi-cloud-cog-outline:before{content:"󱯱"}.mdi-cloud-download:before{content:"󰅢"}.mdi-cloud-download-outline:before{content:"󰭽"}.mdi-cloud-lock:before{content:"󱇱"}.mdi-cloud-lock-open:before{content:"󱯲"}.mdi-cloud-lock-open-outline:before{content:"󱯳"}.mdi-cloud-lock-outline:before{content:"󱇲"}.mdi-cloud-minus:before{content:"󱯴"}.mdi-cloud-minus-outline:before{content:"󱯵"}.mdi-cloud-off:before{content:"󱯶"}.mdi-cloud-off-outline:before{content:"󰅤"}.mdi-cloud-outline:before{content:"󰅣"}.mdi-cloud-percent:before{content:"󱨵"}.mdi-cloud-percent-outline:before{content:"󱨶"}.mdi-cloud-plus:before{content:"󱯷"}.mdi-cloud-plus-outline:before{content:"󱯸"}.mdi-cloud-print:before{content:"󰅥"}.mdi-cloud-print-outline:before{content:"󰅦"}.mdi-cloud-question:before{content:"󰨹"}.mdi-cloud-question-outline:before{content:"󱯹"}.mdi-cloud-refresh:before{content:"󱯺"}.mdi-cloud-refresh-outline:before{content:"󱯻"}.mdi-cloud-refresh-variant:before{content:"󰔪"}.mdi-cloud-refresh-variant-outline:before{content:"󱯼"}.mdi-cloud-remove:before{content:"󱯽"}.mdi-cloud-remove-outline:before{content:"󱯾"}.mdi-cloud-search:before{content:"󰥖"}.mdi-cloud-search-outline:before{content:"󰥗"}.mdi-cloud-sync:before{content:"󰘿"}.mdi-cloud-sync-outline:before{content:"󱋖"}.mdi-cloud-tags:before{content:"󰞶"}.mdi-cloud-upload:before{content:"󰅧"}.mdi-cloud-upload-outline:before{content:"󰭾"}.mdi-clouds:before{content:"󱮕"}.mdi-clover:before{content:"󰠖"}.mdi-clover-outline:before{content:"󱱢"}.mdi-coach-lamp:before{content:"󱀠"}.mdi-coach-lamp-variant:before{content:"󱨷"}.mdi-coat-rack:before{content:"󱂞"}.mdi-code-array:before{content:"󰅨"}.mdi-code-braces:before{content:"󰅩"}.mdi-code-braces-box:before{content:"󱃖"}.mdi-code-brackets:before{content:"󰅪"}.mdi-code-equal:before{content:"󰅫"}.mdi-code-greater-than:before{content:"󰅬"}.mdi-code-greater-than-or-equal:before{content:"󰅭"}.mdi-code-json:before{content:"󰘦"}.mdi-code-less-than:before{content:"󰅮"}.mdi-code-less-than-or-equal:before{content:"󰅯"}.mdi-code-not-equal:before{content:"󰅰"}.mdi-code-not-equal-variant:before{content:"󰅱"}.mdi-code-parentheses:before{content:"󰅲"}.mdi-code-parentheses-box:before{content:"󱃗"}.mdi-code-string:before{content:"󰅳"}.mdi-code-tags:before{content:"󰅴"}.mdi-code-tags-check:before{content:"󰚔"}.mdi-codepen:before{content:"󰅵"}.mdi-coffee:before{content:"󰅶"}.mdi-coffee-maker:before{content:"󱂟"}.mdi-coffee-maker-check:before{content:"󱤱"}.mdi-coffee-maker-check-outline:before{content:"󱤲"}.mdi-coffee-maker-outline:before{content:"󱠛"}.mdi-coffee-off:before{content:"󰾪"}.mdi-coffee-off-outline:before{content:"󰾫"}.mdi-coffee-outline:before{content:"󰛊"}.mdi-coffee-to-go:before{content:"󰅷"}.mdi-coffee-to-go-outline:before{content:"󱌎"}.mdi-coffin:before{content:"󰭿"}.mdi-cog:before{content:"󰒓"}.mdi-cog-box:before{content:"󰒔"}.mdi-cog-clockwise:before{content:"󱇝"}.mdi-cog-counterclockwise:before{content:"󱇞"}.mdi-cog-off:before{content:"󱏎"}.mdi-cog-off-outline:before{content:"󱏏"}.mdi-cog-outline:before{content:"󰢻"}.mdi-cog-pause:before{content:"󱤳"}.mdi-cog-pause-outline:before{content:"󱤴"}.mdi-cog-play:before{content:"󱤵"}.mdi-cog-play-outline:before{content:"󱤶"}.mdi-cog-refresh:before{content:"󱑞"}.mdi-cog-refresh-outline:before{content:"󱑟"}.mdi-cog-stop:before{content:"󱤷"}.mdi-cog-stop-outline:before{content:"󱤸"}.mdi-cog-sync:before{content:"󱑠"}.mdi-cog-sync-outline:before{content:"󱑡"}.mdi-cog-transfer:before{content:"󱁛"}.mdi-cog-transfer-outline:before{content:"󱁜"}.mdi-cogs:before{content:"󰣖"}.mdi-collage:before{content:"󰙀"}.mdi-collapse-all:before{content:"󰪦"}.mdi-collapse-all-outline:before{content:"󰪧"}.mdi-color-helper:before{content:"󰅹"}.mdi-comma:before{content:"󰸣"}.mdi-comma-box:before{content:"󰸫"}.mdi-comma-box-outline:before{content:"󰸤"}.mdi-comma-circle:before{content:"󰸥"}.mdi-comma-circle-outline:before{content:"󰸦"}.mdi-comment:before{content:"󰅺"}.mdi-comment-account:before{content:"󰅻"}.mdi-comment-account-outline:before{content:"󰅼"}.mdi-comment-alert:before{content:"󰅽"}.mdi-comment-alert-outline:before{content:"󰅾"}.mdi-comment-arrow-left:before{content:"󰧡"}.mdi-comment-arrow-left-outline:before{content:"󰧢"}.mdi-comment-arrow-right:before{content:"󰧣"}.mdi-comment-arrow-right-outline:before{content:"󰧤"}.mdi-comment-bookmark:before{content:"󱖮"}.mdi-comment-bookmark-outline:before{content:"󱖯"}.mdi-comment-check:before{content:"󰅿"}.mdi-comment-check-outline:before{content:"󰆀"}.mdi-comment-edit:before{content:"󱆿"}.mdi-comment-edit-outline:before{content:"󱋄"}.mdi-comment-eye:before{content:"󰨺"}.mdi-comment-eye-outline:before{content:"󰨻"}.mdi-comment-flash:before{content:"󱖰"}.mdi-comment-flash-outline:before{content:"󱖱"}.mdi-comment-minus:before{content:"󱗟"}.mdi-comment-minus-outline:before{content:"󱗠"}.mdi-comment-multiple:before{content:"󰡟"}.mdi-comment-multiple-outline:before{content:"󰆁"}.mdi-comment-off:before{content:"󱗡"}.mdi-comment-off-outline:before{content:"󱗢"}.mdi-comment-outline:before{content:"󰆂"}.mdi-comment-plus:before{content:"󰧥"}.mdi-comment-plus-outline:before{content:"󰆃"}.mdi-comment-processing:before{content:"󰆄"}.mdi-comment-processing-outline:before{content:"󰆅"}.mdi-comment-question:before{content:"󰠗"}.mdi-comment-question-outline:before{content:"󰆆"}.mdi-comment-quote:before{content:"󱀡"}.mdi-comment-quote-outline:before{content:"󱀢"}.mdi-comment-remove:before{content:"󰗞"}.mdi-comment-remove-outline:before{content:"󰆇"}.mdi-comment-search:before{content:"󰨼"}.mdi-comment-search-outline:before{content:"󰨽"}.mdi-comment-text:before{content:"󰆈"}.mdi-comment-text-multiple:before{content:"󰡠"}.mdi-comment-text-multiple-outline:before{content:"󰡡"}.mdi-comment-text-outline:before{content:"󰆉"}.mdi-compare:before{content:"󰆊"}.mdi-compare-horizontal:before{content:"󱒒"}.mdi-compare-remove:before{content:"󱢳"}.mdi-compare-vertical:before{content:"󱒓"}.mdi-compass:before{content:"󰆋"}.mdi-compass-off:before{content:"󰮀"}.mdi-compass-off-outline:before{content:"󰮁"}.mdi-compass-outline:before{content:"󰆌"}.mdi-compass-rose:before{content:"󱎂"}.mdi-compost:before{content:"󱨸"}.mdi-cone:before{content:"󱥌"}.mdi-cone-off:before{content:"󱥍"}.mdi-connection:before{content:"󱘖"}.mdi-console:before{content:"󰆍"}.mdi-console-line:before{content:"󰞷"}.mdi-console-network:before{content:"󰢩"}.mdi-console-network-outline:before{content:"󰱠"}.mdi-consolidate:before{content:"󱃘"}.mdi-contactless-payment:before{content:"󰵪"}.mdi-contactless-payment-circle:before{content:"󰌡"}.mdi-contactless-payment-circle-outline:before{content:"󰐈"}.mdi-contacts:before{content:"󰛋"}.mdi-contacts-outline:before{content:"󰖸"}.mdi-contain:before{content:"󰨾"}.mdi-contain-end:before{content:"󰨿"}.mdi-contain-start:before{content:"󰩀"}.mdi-content-copy:before{content:"󰆏"}.mdi-content-cut:before{content:"󰆐"}.mdi-content-duplicate:before{content:"󰆑"}.mdi-content-paste:before{content:"󰆒"}.mdi-content-save:before{content:"󰆓"}.mdi-content-save-alert:before{content:"󰽂"}.mdi-content-save-alert-outline:before{content:"󰽃"}.mdi-content-save-all:before{content:"󰆔"}.mdi-content-save-all-outline:before{content:"󰽄"}.mdi-content-save-check:before{content:"󱣪"}.mdi-content-save-check-outline:before{content:"󱣫"}.mdi-content-save-cog:before{content:"󱑛"}.mdi-content-save-cog-outline:before{content:"󱑜"}.mdi-content-save-edit:before{content:"󰳻"}.mdi-content-save-edit-outline:before{content:"󰳼"}.mdi-content-save-minus:before{content:"󱭃"}.mdi-content-save-minus-outline:before{content:"󱭄"}.mdi-content-save-move:before{content:"󰸧"}.mdi-content-save-move-outline:before{content:"󰸨"}.mdi-content-save-off:before{content:"󱙃"}.mdi-content-save-off-outline:before{content:"󱙄"}.mdi-content-save-outline:before{content:"󰠘"}.mdi-content-save-plus:before{content:"󱭁"}.mdi-content-save-plus-outline:before{content:"󱭂"}.mdi-content-save-settings:before{content:"󰘛"}.mdi-content-save-settings-outline:before{content:"󰬮"}.mdi-contrast:before{content:"󰆕"}.mdi-contrast-box:before{content:"󰆖"}.mdi-contrast-circle:before{content:"󰆗"}.mdi-controller:before{content:"󰊴"}.mdi-controller-classic:before{content:"󰮂"}.mdi-controller-classic-outline:before{content:"󰮃"}.mdi-controller-off:before{content:"󰊵"}.mdi-cookie:before{content:"󰆘"}.mdi-cookie-alert:before{content:"󱛐"}.mdi-cookie-alert-outline:before{content:"󱛑"}.mdi-cookie-check:before{content:"󱛒"}.mdi-cookie-check-outline:before{content:"󱛓"}.mdi-cookie-clock:before{content:"󱛤"}.mdi-cookie-clock-outline:before{content:"󱛥"}.mdi-cookie-cog:before{content:"󱛔"}.mdi-cookie-cog-outline:before{content:"󱛕"}.mdi-cookie-edit:before{content:"󱛦"}.mdi-cookie-edit-outline:before{content:"󱛧"}.mdi-cookie-lock:before{content:"󱛨"}.mdi-cookie-lock-outline:before{content:"󱛩"}.mdi-cookie-minus:before{content:"󱛚"}.mdi-cookie-minus-outline:before{content:"󱛛"}.mdi-cookie-off:before{content:"󱛪"}.mdi-cookie-off-outline:before{content:"󱛫"}.mdi-cookie-outline:before{content:"󱛞"}.mdi-cookie-plus:before{content:"󱛖"}.mdi-cookie-plus-outline:before{content:"󱛗"}.mdi-cookie-refresh:before{content:"󱛬"}.mdi-cookie-refresh-outline:before{content:"󱛭"}.mdi-cookie-remove:before{content:"󱛘"}.mdi-cookie-remove-outline:before{content:"󱛙"}.mdi-cookie-settings:before{content:"󱛜"}.mdi-cookie-settings-outline:before{content:"󱛝"}.mdi-coolant-temperature:before{content:"󰏈"}.mdi-copyleft:before{content:"󱤹"}.mdi-copyright:before{content:"󰗦"}.mdi-cordova:before{content:"󰥘"}.mdi-corn:before{content:"󰞸"}.mdi-corn-off:before{content:"󱏯"}.mdi-cosine-wave:before{content:"󱑹"}.mdi-counter:before{content:"󰆙"}.mdi-countertop:before{content:"󱠜"}.mdi-countertop-outline:before{content:"󱠝"}.mdi-cow:before{content:"󰆚"}.mdi-cow-off:before{content:"󱣼"}.mdi-cpu-32-bit:before{content:"󰻟"}.mdi-cpu-64-bit:before{content:"󰻠"}.mdi-cradle:before{content:"󱦋"}.mdi-cradle-outline:before{content:"󱦑"}.mdi-crane:before{content:"󰡢"}.mdi-creation:before{content:"󰙴"}.mdi-creation-outline:before{content:"󱰫"}.mdi-creative-commons:before{content:"󰵫"}.mdi-credit-card:before{content:"󰿯"}.mdi-credit-card-check:before{content:"󱏐"}.mdi-credit-card-check-outline:before{content:"󱏑"}.mdi-credit-card-chip:before{content:"󱤏"}.mdi-credit-card-chip-outline:before{content:"󱤐"}.mdi-credit-card-clock:before{content:"󰻡"}.mdi-credit-card-clock-outline:before{content:"󰻢"}.mdi-credit-card-edit:before{content:"󱟗"}.mdi-credit-card-edit-outline:before{content:"󱟘"}.mdi-credit-card-fast:before{content:"󱤑"}.mdi-credit-card-fast-outline:before{content:"󱤒"}.mdi-credit-card-lock:before{content:"󱣧"}.mdi-credit-card-lock-outline:before{content:"󱣨"}.mdi-credit-card-marker:before{content:"󰚨"}.mdi-credit-card-marker-outline:before{content:"󰶾"}.mdi-credit-card-minus:before{content:"󰾬"}.mdi-credit-card-minus-outline:before{content:"󰾭"}.mdi-credit-card-multiple:before{content:"󰿰"}.mdi-credit-card-multiple-outline:before{content:"󰆜"}.mdi-credit-card-off:before{content:"󰿱"}.mdi-credit-card-off-outline:before{content:"󰗤"}.mdi-credit-card-outline:before{content:"󰆛"}.mdi-credit-card-plus:before{content:"󰿲"}.mdi-credit-card-plus-outline:before{content:"󰙶"}.mdi-credit-card-refresh:before{content:"󱙅"}.mdi-credit-card-refresh-outline:before{content:"󱙆"}.mdi-credit-card-refund:before{content:"󰿳"}.mdi-credit-card-refund-outline:before{content:"󰪨"}.mdi-credit-card-remove:before{content:"󰾮"}.mdi-credit-card-remove-outline:before{content:"󰾯"}.mdi-credit-card-scan:before{content:"󰿴"}.mdi-credit-card-scan-outline:before{content:"󰆝"}.mdi-credit-card-search:before{content:"󱙇"}.mdi-credit-card-search-outline:before{content:"󱙈"}.mdi-credit-card-settings:before{content:"󰿵"}.mdi-credit-card-settings-outline:before{content:"󰣗"}.mdi-credit-card-sync:before{content:"󱙉"}.mdi-credit-card-sync-outline:before{content:"󱙊"}.mdi-credit-card-wireless:before{content:"󰠂"}.mdi-credit-card-wireless-off:before{content:"󰕺"}.mdi-credit-card-wireless-off-outline:before{content:"󰕻"}.mdi-credit-card-wireless-outline:before{content:"󰵬"}.mdi-cricket:before{content:"󰵭"}.mdi-crop:before{content:"󰆞"}.mdi-crop-free:before{content:"󰆟"}.mdi-crop-landscape:before{content:"󰆠"}.mdi-crop-portrait:before{content:"󰆡"}.mdi-crop-rotate:before{content:"󰚖"}.mdi-crop-square:before{content:"󰆢"}.mdi-cross:before{content:"󰥓"}.mdi-cross-bolnisi:before{content:"󰳭"}.mdi-cross-celtic:before{content:"󰳵"}.mdi-cross-outline:before{content:"󰳶"}.mdi-crosshairs:before{content:"󰆣"}.mdi-crosshairs-gps:before{content:"󰆤"}.mdi-crosshairs-off:before{content:"󰽅"}.mdi-crosshairs-question:before{content:"󱄶"}.mdi-crowd:before{content:"󱥵"}.mdi-crown:before{content:"󰆥"}.mdi-crown-circle:before{content:"󱟜"}.mdi-crown-circle-outline:before{content:"󱟝"}.mdi-crown-outline:before{content:"󱇐"}.mdi-cryengine:before{content:"󰥙"}.mdi-crystal-ball:before{content:"󰬯"}.mdi-cube:before{content:"󰆦"}.mdi-cube-off:before{content:"󱐜"}.mdi-cube-off-outline:before{content:"󱐝"}.mdi-cube-outline:before{content:"󰆧"}.mdi-cube-scan:before{content:"󰮄"}.mdi-cube-send:before{content:"󰆨"}.mdi-cube-unfolded:before{content:"󰆩"}.mdi-cup:before{content:"󰆪"}.mdi-cup-off:before{content:"󰗥"}.mdi-cup-off-outline:before{content:"󱍽"}.mdi-cup-outline:before{content:"󱌏"}.mdi-cup-water:before{content:"󰆫"}.mdi-cupboard:before{content:"󰽆"}.mdi-cupboard-outline:before{content:"󰽇"}.mdi-cupcake:before{content:"󰥚"}.mdi-curling:before{content:"󰡣"}.mdi-currency-bdt:before{content:"󰡤"}.mdi-currency-brl:before{content:"󰮅"}.mdi-currency-btc:before{content:"󰆬"}.mdi-currency-cny:before{content:"󰞺"}.mdi-currency-eth:before{content:"󰞻"}.mdi-currency-eur:before{content:"󰆭"}.mdi-currency-eur-off:before{content:"󱌕"}.mdi-currency-fra:before{content:"󱨹"}.mdi-currency-gbp:before{content:"󰆮"}.mdi-currency-ils:before{content:"󰱡"}.mdi-currency-inr:before{content:"󰆯"}.mdi-currency-jpy:before{content:"󰞼"}.mdi-currency-krw:before{content:"󰞽"}.mdi-currency-kzt:before{content:"󰡥"}.mdi-currency-mnt:before{content:"󱔒"}.mdi-currency-ngn:before{content:"󰆰"}.mdi-currency-php:before{content:"󰧦"}.mdi-currency-rial:before{content:"󰺜"}.mdi-currency-rub:before{content:"󰆱"}.mdi-currency-rupee:before{content:"󱥶"}.mdi-currency-sign:before{content:"󰞾"}.mdi-currency-thb:before{content:"󱰅"}.mdi-currency-try:before{content:"󰆲"}.mdi-currency-twd:before{content:"󰞿"}.mdi-currency-uah:before{content:"󱮛"}.mdi-currency-usd:before{content:"󰇁"}.mdi-currency-usd-off:before{content:"󰙺"}.mdi-current-ac:before{content:"󱒀"}.mdi-current-dc:before{content:"󰥜"}.mdi-cursor-default:before{content:"󰇀"}.mdi-cursor-default-click:before{content:"󰳽"}.mdi-cursor-default-click-outline:before{content:"󰳾"}.mdi-cursor-default-gesture:before{content:"󱄧"}.mdi-cursor-default-gesture-outline:before{content:"󱄨"}.mdi-cursor-default-outline:before{content:"󰆿"}.mdi-cursor-move:before{content:"󰆾"}.mdi-cursor-pointer:before{content:"󰆽"}.mdi-cursor-text:before{content:"󰗧"}.mdi-curtains:before{content:"󱡆"}.mdi-curtains-closed:before{content:"󱡇"}.mdi-cylinder:before{content:"󱥎"}.mdi-cylinder-off:before{content:"󱥏"}.mdi-dance-ballroom:before{content:"󱗻"}.mdi-dance-pole:before{content:"󱕸"}.mdi-data-matrix:before{content:"󱔼"}.mdi-data-matrix-edit:before{content:"󱔽"}.mdi-data-matrix-minus:before{content:"󱔾"}.mdi-data-matrix-plus:before{content:"󱔿"}.mdi-data-matrix-remove:before{content:"󱕀"}.mdi-data-matrix-scan:before{content:"󱕁"}.mdi-database:before{content:"󰆼"}.mdi-database-alert:before{content:"󱘺"}.mdi-database-alert-outline:before{content:"󱘤"}.mdi-database-arrow-down:before{content:"󱘻"}.mdi-database-arrow-down-outline:before{content:"󱘥"}.mdi-database-arrow-left:before{content:"󱘼"}.mdi-database-arrow-left-outline:before{content:"󱘦"}.mdi-database-arrow-right:before{content:"󱘽"}.mdi-database-arrow-right-outline:before{content:"󱘧"}.mdi-database-arrow-up:before{content:"󱘾"}.mdi-database-arrow-up-outline:before{content:"󱘨"}.mdi-database-check:before{content:"󰪩"}.mdi-database-check-outline:before{content:"󱘩"}.mdi-database-clock:before{content:"󱘿"}.mdi-database-clock-outline:before{content:"󱘪"}.mdi-database-cog:before{content:"󱙋"}.mdi-database-cog-outline:before{content:"󱙌"}.mdi-database-edit:before{content:"󰮆"}.mdi-database-edit-outline:before{content:"󱘫"}.mdi-database-export:before{content:"󰥞"}.mdi-database-export-outline:before{content:"󱘬"}.mdi-database-eye:before{content:"󱤟"}.mdi-database-eye-off:before{content:"󱤠"}.mdi-database-eye-off-outline:before{content:"󱤡"}.mdi-database-eye-outline:before{content:"󱤢"}.mdi-database-import:before{content:"󰥝"}.mdi-database-import-outline:before{content:"󱘭"}.mdi-database-lock:before{content:"󰪪"}.mdi-database-lock-outline:before{content:"󱘮"}.mdi-database-marker:before{content:"󱋶"}.mdi-database-marker-outline:before{content:"󱘯"}.mdi-database-minus:before{content:"󰆻"}.mdi-database-minus-outline:before{content:"󱘰"}.mdi-database-off:before{content:"󱙀"}.mdi-database-off-outline:before{content:"󱘱"}.mdi-database-outline:before{content:"󱘲"}.mdi-database-plus:before{content:"󰆺"}.mdi-database-plus-outline:before{content:"󱘳"}.mdi-database-refresh:before{content:"󰗂"}.mdi-database-refresh-outline:before{content:"󱘴"}.mdi-database-remove:before{content:"󰴀"}.mdi-database-remove-outline:before{content:"󱘵"}.mdi-database-search:before{content:"󰡦"}.mdi-database-search-outline:before{content:"󱘶"}.mdi-database-settings:before{content:"󰴁"}.mdi-database-settings-outline:before{content:"󱘷"}.mdi-database-sync:before{content:"󰳿"}.mdi-database-sync-outline:before{content:"󱘸"}.mdi-death-star:before{content:"󰣘"}.mdi-death-star-variant:before{content:"󰣙"}.mdi-deathly-hallows:before{content:"󰮇"}.mdi-debian:before{content:"󰣚"}.mdi-debug-step-into:before{content:"󰆹"}.mdi-debug-step-out:before{content:"󰆸"}.mdi-debug-step-over:before{content:"󰆷"}.mdi-decagram:before{content:"󰝬"}.mdi-decagram-outline:before{content:"󰝭"}.mdi-decimal:before{content:"󱂡"}.mdi-decimal-comma:before{content:"󱂢"}.mdi-decimal-comma-decrease:before{content:"󱂣"}.mdi-decimal-comma-increase:before{content:"󱂤"}.mdi-decimal-decrease:before{content:"󰆶"}.mdi-decimal-increase:before{content:"󰆵"}.mdi-delete:before{content:"󰆴"}.mdi-delete-alert:before{content:"󱂥"}.mdi-delete-alert-outline:before{content:"󱂦"}.mdi-delete-circle:before{content:"󰚃"}.mdi-delete-circle-outline:before{content:"󰮈"}.mdi-delete-clock:before{content:"󱕖"}.mdi-delete-clock-outline:before{content:"󱕗"}.mdi-delete-empty:before{content:"󰛌"}.mdi-delete-empty-outline:before{content:"󰺝"}.mdi-delete-forever:before{content:"󰗨"}.mdi-delete-forever-outline:before{content:"󰮉"}.mdi-delete-off:before{content:"󱂧"}.mdi-delete-off-outline:before{content:"󱂨"}.mdi-delete-outline:before{content:"󰧧"}.mdi-delete-restore:before{content:"󰠙"}.mdi-delete-sweep:before{content:"󰗩"}.mdi-delete-sweep-outline:before{content:"󰱢"}.mdi-delete-variant:before{content:"󰆳"}.mdi-delta:before{content:"󰇂"}.mdi-desk:before{content:"󱈹"}.mdi-desk-lamp:before{content:"󰥟"}.mdi-desk-lamp-off:before{content:"󱬟"}.mdi-desk-lamp-on:before{content:"󱬠"}.mdi-deskphone:before{content:"󰇃"}.mdi-desktop-classic:before{content:"󰟀"}.mdi-desktop-tower:before{content:"󰇅"}.mdi-desktop-tower-monitor:before{content:"󰪫"}.mdi-details:before{content:"󰇆"}.mdi-dev-to:before{content:"󰵮"}.mdi-developer-board:before{content:"󰚗"}.mdi-deviantart:before{content:"󰇇"}.mdi-devices:before{content:"󰾰"}.mdi-dharmachakra:before{content:"󰥋"}.mdi-diabetes:before{content:"󱄦"}.mdi-dialpad:before{content:"󰘜"}.mdi-diameter:before{content:"󰱣"}.mdi-diameter-outline:before{content:"󰱤"}.mdi-diameter-variant:before{content:"󰱥"}.mdi-diamond:before{content:"󰮊"}.mdi-diamond-outline:before{content:"󰮋"}.mdi-diamond-stone:before{content:"󰇈"}.mdi-dice-1:before{content:"󰇊"}.mdi-dice-1-outline:before{content:"󱅊"}.mdi-dice-2:before{content:"󰇋"}.mdi-dice-2-outline:before{content:"󱅋"}.mdi-dice-3:before{content:"󰇌"}.mdi-dice-3-outline:before{content:"󱅌"}.mdi-dice-4:before{content:"󰇍"}.mdi-dice-4-outline:before{content:"󱅍"}.mdi-dice-5:before{content:"󰇎"}.mdi-dice-5-outline:before{content:"󱅎"}.mdi-dice-6:before{content:"󰇏"}.mdi-dice-6-outline:before{content:"󱅏"}.mdi-dice-d10:before{content:"󱅓"}.mdi-dice-d10-outline:before{content:"󰝯"}.mdi-dice-d12:before{content:"󱅔"}.mdi-dice-d12-outline:before{content:"󰡧"}.mdi-dice-d20:before{content:"󱅕"}.mdi-dice-d20-outline:before{content:"󰗪"}.mdi-dice-d4:before{content:"󱅐"}.mdi-dice-d4-outline:before{content:"󰗫"}.mdi-dice-d6:before{content:"󱅑"}.mdi-dice-d6-outline:before{content:"󰗭"}.mdi-dice-d8:before{content:"󱅒"}.mdi-dice-d8-outline:before{content:"󰗬"}.mdi-dice-multiple:before{content:"󰝮"}.mdi-dice-multiple-outline:before{content:"󱅖"}.mdi-digital-ocean:before{content:"󱈷"}.mdi-dip-switch:before{content:"󰟁"}.mdi-directions:before{content:"󰇐"}.mdi-directions-fork:before{content:"󰙁"}.mdi-disc:before{content:"󰗮"}.mdi-disc-alert:before{content:"󰇑"}.mdi-disc-player:before{content:"󰥠"}.mdi-dishwasher:before{content:"󰪬"}.mdi-dishwasher-alert:before{content:"󱆸"}.mdi-dishwasher-off:before{content:"󱆹"}.mdi-disqus:before{content:"󰇒"}.mdi-distribute-horizontal-center:before{content:"󱇉"}.mdi-distribute-horizontal-left:before{content:"󱇈"}.mdi-distribute-horizontal-right:before{content:"󱇊"}.mdi-distribute-vertical-bottom:before{content:"󱇋"}.mdi-distribute-vertical-center:before{content:"󱇌"}.mdi-distribute-vertical-top:before{content:"󱇍"}.mdi-diversify:before{content:"󱡷"}.mdi-diving:before{content:"󱥷"}.mdi-diving-flippers:before{content:"󰶿"}.mdi-diving-helmet:before{content:"󰷀"}.mdi-diving-scuba:before{content:"󱭷"}.mdi-diving-scuba-flag:before{content:"󰷂"}.mdi-diving-scuba-mask:before{content:"󰷁"}.mdi-diving-scuba-tank:before{content:"󰷃"}.mdi-diving-scuba-tank-multiple:before{content:"󰷄"}.mdi-diving-snorkel:before{content:"󰷅"}.mdi-division:before{content:"󰇔"}.mdi-division-box:before{content:"󰇕"}.mdi-dlna:before{content:"󰩁"}.mdi-dna:before{content:"󰚄"}.mdi-dns:before{content:"󰇖"}.mdi-dns-outline:before{content:"󰮌"}.mdi-dock-bottom:before{content:"󱂩"}.mdi-dock-left:before{content:"󱂪"}.mdi-dock-right:before{content:"󱂫"}.mdi-dock-top:before{content:"󱔓"}.mdi-dock-window:before{content:"󱂬"}.mdi-docker:before{content:"󰡨"}.mdi-doctor:before{content:"󰩂"}.mdi-dog:before{content:"󰩃"}.mdi-dog-service:before{content:"󰪭"}.mdi-dog-side:before{content:"󰩄"}.mdi-dog-side-off:before{content:"󱛮"}.mdi-dolby:before{content:"󰚳"}.mdi-dolly:before{content:"󰺞"}.mdi-dolphin:before{content:"󱢴"}.mdi-domain:before{content:"󰇗"}.mdi-domain-off:before{content:"󰵯"}.mdi-domain-plus:before{content:"󱂭"}.mdi-domain-remove:before{content:"󱂮"}.mdi-domain-switch:before{content:"󱰬"}.mdi-dome-light:before{content:"󱐞"}.mdi-domino-mask:before{content:"󱀣"}.mdi-donkey:before{content:"󰟂"}.mdi-door:before{content:"󰠚"}.mdi-door-closed:before{content:"󰠛"}.mdi-door-closed-lock:before{content:"󱂯"}.mdi-door-open:before{content:"󰠜"}.mdi-door-sliding:before{content:"󱠞"}.mdi-door-sliding-lock:before{content:"󱠟"}.mdi-door-sliding-open:before{content:"󱠠"}.mdi-doorbell:before{content:"󱋦"}.mdi-doorbell-video:before{content:"󰡩"}.mdi-dot-net:before{content:"󰪮"}.mdi-dots-circle:before{content:"󱥸"}.mdi-dots-grid:before{content:"󱗼"}.mdi-dots-hexagon:before{content:"󱗿"}.mdi-dots-horizontal:before{content:"󰇘"}.mdi-dots-horizontal-circle:before{content:"󰟃"}.mdi-dots-horizontal-circle-outline:before{content:"󰮍"}.mdi-dots-square:before{content:"󱗽"}.mdi-dots-triangle:before{content:"󱗾"}.mdi-dots-vertical:before{content:"󰇙"}.mdi-dots-vertical-circle:before{content:"󰟄"}.mdi-dots-vertical-circle-outline:before{content:"󰮎"}.mdi-download:before{content:"󰇚"}.mdi-download-box:before{content:"󱑢"}.mdi-download-box-outline:before{content:"󱑣"}.mdi-download-circle:before{content:"󱑤"}.mdi-download-circle-outline:before{content:"󱑥"}.mdi-download-lock:before{content:"󱌠"}.mdi-download-lock-outline:before{content:"󱌡"}.mdi-download-multiple:before{content:"󰧩"}.mdi-download-network:before{content:"󰛴"}.mdi-download-network-outline:before{content:"󰱦"}.mdi-download-off:before{content:"󱂰"}.mdi-download-off-outline:before{content:"󱂱"}.mdi-download-outline:before{content:"󰮏"}.mdi-drag:before{content:"󰇛"}.mdi-drag-horizontal:before{content:"󰇜"}.mdi-drag-horizontal-variant:before{content:"󱋰"}.mdi-drag-variant:before{content:"󰮐"}.mdi-drag-vertical:before{content:"󰇝"}.mdi-drag-vertical-variant:before{content:"󱋱"}.mdi-drama-masks:before{content:"󰴂"}.mdi-draw:before{content:"󰽉"}.mdi-draw-pen:before{content:"󱦹"}.mdi-drawing:before{content:"󰇞"}.mdi-drawing-box:before{content:"󰇟"}.mdi-dresser:before{content:"󰽊"}.mdi-dresser-outline:before{content:"󰽋"}.mdi-drone:before{content:"󰇢"}.mdi-dropbox:before{content:"󰇣"}.mdi-drupal:before{content:"󰇤"}.mdi-duck:before{content:"󰇥"}.mdi-dumbbell:before{content:"󰇦"}.mdi-dump-truck:before{content:"󰱧"}.mdi-ear-hearing:before{content:"󰟅"}.mdi-ear-hearing-loop:before{content:"󱫮"}.mdi-ear-hearing-off:before{content:"󰩅"}.mdi-earbuds:before{content:"󱡏"}.mdi-earbuds-off:before{content:"󱡐"}.mdi-earbuds-off-outline:before{content:"󱡑"}.mdi-earbuds-outline:before{content:"󱡒"}.mdi-earth:before{content:"󰇧"}.mdi-earth-arrow-right:before{content:"󱌑"}.mdi-earth-box:before{content:"󰛍"}.mdi-earth-box-minus:before{content:"󱐇"}.mdi-earth-box-off:before{content:"󰛎"}.mdi-earth-box-plus:before{content:"󱐆"}.mdi-earth-box-remove:before{content:"󱐈"}.mdi-earth-minus:before{content:"󱐄"}.mdi-earth-off:before{content:"󰇨"}.mdi-earth-plus:before{content:"󱐃"}.mdi-earth-remove:before{content:"󱐅"}.mdi-egg:before{content:"󰪯"}.mdi-egg-easter:before{content:"󰪰"}.mdi-egg-fried:before{content:"󱡊"}.mdi-egg-off:before{content:"󱏰"}.mdi-egg-off-outline:before{content:"󱏱"}.mdi-egg-outline:before{content:"󱏲"}.mdi-eiffel-tower:before{content:"󱕫"}.mdi-eight-track:before{content:"󰧪"}.mdi-eject:before{content:"󰇪"}.mdi-eject-circle:before{content:"󱬣"}.mdi-eject-circle-outline:before{content:"󱬤"}.mdi-eject-outline:before{content:"󰮑"}.mdi-electric-switch:before{content:"󰺟"}.mdi-electric-switch-closed:before{content:"󱃙"}.mdi-electron-framework:before{content:"󱀤"}.mdi-elephant:before{content:"󰟆"}.mdi-elevation-decline:before{content:"󰇫"}.mdi-elevation-rise:before{content:"󰇬"}.mdi-elevator:before{content:"󰇭"}.mdi-elevator-down:before{content:"󱋂"}.mdi-elevator-passenger:before{content:"󱎁"}.mdi-elevator-passenger-off:before{content:"󱥹"}.mdi-elevator-passenger-off-outline:before{content:"󱥺"}.mdi-elevator-passenger-outline:before{content:"󱥻"}.mdi-elevator-up:before{content:"󱋁"}.mdi-ellipse:before{content:"󰺠"}.mdi-ellipse-outline:before{content:"󰺡"}.mdi-email:before{content:"󰇮"}.mdi-email-alert:before{content:"󰛏"}.mdi-email-alert-outline:before{content:"󰵂"}.mdi-email-arrow-left:before{content:"󱃚"}.mdi-email-arrow-left-outline:before{content:"󱃛"}.mdi-email-arrow-right:before{content:"󱃜"}.mdi-email-arrow-right-outline:before{content:"󱃝"}.mdi-email-box:before{content:"󰴃"}.mdi-email-check:before{content:"󰪱"}.mdi-email-check-outline:before{content:"󰪲"}.mdi-email-edit:before{content:"󰻣"}.mdi-email-edit-outline:before{content:"󰻤"}.mdi-email-fast:before{content:"󱡯"}.mdi-email-fast-outline:before{content:"󱡰"}.mdi-email-heart-outline:before{content:"󱱛"}.mdi-email-lock:before{content:"󰇱"}.mdi-email-lock-outline:before{content:"󱭡"}.mdi-email-mark-as-unread:before{content:"󰮒"}.mdi-email-minus:before{content:"󰻥"}.mdi-email-minus-outline:before{content:"󰻦"}.mdi-email-multiple:before{content:"󰻧"}.mdi-email-multiple-outline:before{content:"󰻨"}.mdi-email-newsletter:before{content:"󰾱"}.mdi-email-off:before{content:"󱏣"}.mdi-email-off-outline:before{content:"󱏤"}.mdi-email-open:before{content:"󰇯"}.mdi-email-open-heart-outline:before{content:"󱱜"}.mdi-email-open-multiple:before{content:"󰻩"}.mdi-email-open-multiple-outline:before{content:"󰻪"}.mdi-email-open-outline:before{content:"󰗯"}.mdi-email-outline:before{content:"󰇰"}.mdi-email-plus:before{content:"󰧫"}.mdi-email-plus-outline:before{content:"󰧬"}.mdi-email-remove:before{content:"󱙡"}.mdi-email-remove-outline:before{content:"󱙢"}.mdi-email-seal:before{content:"󱥛"}.mdi-email-seal-outline:before{content:"󱥜"}.mdi-email-search:before{content:"󰥡"}.mdi-email-search-outline:before{content:"󰥢"}.mdi-email-sync:before{content:"󱋇"}.mdi-email-sync-outline:before{content:"󱋈"}.mdi-email-variant:before{content:"󰗰"}.mdi-ember:before{content:"󰬰"}.mdi-emby:before{content:"󰚴"}.mdi-emoticon:before{content:"󰱨"}.mdi-emoticon-angry:before{content:"󰱩"}.mdi-emoticon-angry-outline:before{content:"󰱪"}.mdi-emoticon-confused:before{content:"󱃞"}.mdi-emoticon-confused-outline:before{content:"󱃟"}.mdi-emoticon-cool:before{content:"󰱫"}.mdi-emoticon-cool-outline:before{content:"󰇳"}.mdi-emoticon-cry:before{content:"󰱬"}.mdi-emoticon-cry-outline:before{content:"󰱭"}.mdi-emoticon-dead:before{content:"󰱮"}.mdi-emoticon-dead-outline:before{content:"󰚛"}.mdi-emoticon-devil:before{content:"󰱯"}.mdi-emoticon-devil-outline:before{content:"󰇴"}.mdi-emoticon-excited:before{content:"󰱰"}.mdi-emoticon-excited-outline:before{content:"󰚜"}.mdi-emoticon-frown:before{content:"󰽌"}.mdi-emoticon-frown-outline:before{content:"󰽍"}.mdi-emoticon-happy:before{content:"󰱱"}.mdi-emoticon-happy-outline:before{content:"󰇵"}.mdi-emoticon-kiss:before{content:"󰱲"}.mdi-emoticon-kiss-outline:before{content:"󰱳"}.mdi-emoticon-lol:before{content:"󱈔"}.mdi-emoticon-lol-outline:before{content:"󱈕"}.mdi-emoticon-neutral:before{content:"󰱴"}.mdi-emoticon-neutral-outline:before{content:"󰇶"}.mdi-emoticon-outline:before{content:"󰇲"}.mdi-emoticon-poop:before{content:"󰇷"}.mdi-emoticon-poop-outline:before{content:"󰱵"}.mdi-emoticon-sad:before{content:"󰱶"}.mdi-emoticon-sad-outline:before{content:"󰇸"}.mdi-emoticon-sick:before{content:"󱕼"}.mdi-emoticon-sick-outline:before{content:"󱕽"}.mdi-emoticon-tongue:before{content:"󰇹"}.mdi-emoticon-tongue-outline:before{content:"󰱷"}.mdi-emoticon-wink:before{content:"󰱸"}.mdi-emoticon-wink-outline:before{content:"󰱹"}.mdi-engine:before{content:"󰇺"}.mdi-engine-off:before{content:"󰩆"}.mdi-engine-off-outline:before{content:"󰩇"}.mdi-engine-outline:before{content:"󰇻"}.mdi-epsilon:before{content:"󱃠"}.mdi-equal:before{content:"󰇼"}.mdi-equal-box:before{content:"󰇽"}.mdi-equalizer:before{content:"󰺢"}.mdi-equalizer-outline:before{content:"󰺣"}.mdi-eraser:before{content:"󰇾"}.mdi-eraser-variant:before{content:"󰙂"}.mdi-escalator:before{content:"󰇿"}.mdi-escalator-box:before{content:"󱎙"}.mdi-escalator-down:before{content:"󱋀"}.mdi-escalator-up:before{content:"󱊿"}.mdi-eslint:before{content:"󰱺"}.mdi-et:before{content:"󰪳"}.mdi-ethereum:before{content:"󰡪"}.mdi-ethernet:before{content:"󰈀"}.mdi-ethernet-cable:before{content:"󰈁"}.mdi-ethernet-cable-off:before{content:"󰈂"}.mdi-ev-plug-ccs1:before{content:"󱔙"}.mdi-ev-plug-ccs2:before{content:"󱔚"}.mdi-ev-plug-chademo:before{content:"󱔛"}.mdi-ev-plug-tesla:before{content:"󱔜"}.mdi-ev-plug-type1:before{content:"󱔝"}.mdi-ev-plug-type2:before{content:"󱔞"}.mdi-ev-station:before{content:"󰗱"}.mdi-evernote:before{content:"󰈄"}.mdi-excavator:before{content:"󱀥"}.mdi-exclamation:before{content:"󰈅"}.mdi-exclamation-thick:before{content:"󱈸"}.mdi-exit-run:before{content:"󰩈"}.mdi-exit-to-app:before{content:"󰈆"}.mdi-expand-all:before{content:"󰪴"}.mdi-expand-all-outline:before{content:"󰪵"}.mdi-expansion-card:before{content:"󰢮"}.mdi-expansion-card-variant:before{content:"󰾲"}.mdi-exponent:before{content:"󰥣"}.mdi-exponent-box:before{content:"󰥤"}.mdi-export:before{content:"󰈇"}.mdi-export-variant:before{content:"󰮓"}.mdi-eye:before{content:"󰈈"}.mdi-eye-arrow-left:before{content:"󱣽"}.mdi-eye-arrow-left-outline:before{content:"󱣾"}.mdi-eye-arrow-right:before{content:"󱣿"}.mdi-eye-arrow-right-outline:before{content:"󱤀"}.mdi-eye-check:before{content:"󰴄"}.mdi-eye-check-outline:before{content:"󰴅"}.mdi-eye-circle:before{content:"󰮔"}.mdi-eye-circle-outline:before{content:"󰮕"}.mdi-eye-lock:before{content:"󱰆"}.mdi-eye-lock-open:before{content:"󱰇"}.mdi-eye-lock-open-outline:before{content:"󱰈"}.mdi-eye-lock-outline:before{content:"󱰉"}.mdi-eye-minus:before{content:"󱀦"}.mdi-eye-minus-outline:before{content:"󱀧"}.mdi-eye-off:before{content:"󰈉"}.mdi-eye-off-outline:before{content:"󰛑"}.mdi-eye-outline:before{content:"󰛐"}.mdi-eye-plus:before{content:"󰡫"}.mdi-eye-plus-outline:before{content:"󰡬"}.mdi-eye-refresh:before{content:"󱥼"}.mdi-eye-refresh-outline:before{content:"󱥽"}.mdi-eye-remove:before{content:"󱗣"}.mdi-eye-remove-outline:before{content:"󱗤"}.mdi-eye-settings:before{content:"󰡭"}.mdi-eye-settings-outline:before{content:"󰡮"}.mdi-eyedropper:before{content:"󰈊"}.mdi-eyedropper-minus:before{content:"󱏝"}.mdi-eyedropper-off:before{content:"󱏟"}.mdi-eyedropper-plus:before{content:"󱏜"}.mdi-eyedropper-remove:before{content:"󱏞"}.mdi-eyedropper-variant:before{content:"󰈋"}.mdi-face-agent:before{content:"󰵰"}.mdi-face-man:before{content:"󰙃"}.mdi-face-man-outline:before{content:"󰮖"}.mdi-face-man-profile:before{content:"󰙄"}.mdi-face-man-shimmer:before{content:"󱗌"}.mdi-face-man-shimmer-outline:before{content:"󱗍"}.mdi-face-mask:before{content:"󱖆"}.mdi-face-mask-outline:before{content:"󱖇"}.mdi-face-recognition:before{content:"󰱻"}.mdi-face-woman:before{content:"󱁷"}.mdi-face-woman-outline:before{content:"󱁸"}.mdi-face-woman-profile:before{content:"󱁶"}.mdi-face-woman-shimmer:before{content:"󱗎"}.mdi-face-woman-shimmer-outline:before{content:"󱗏"}.mdi-facebook:before{content:"󰈌"}.mdi-facebook-gaming:before{content:"󰟝"}.mdi-facebook-messenger:before{content:"󰈎"}.mdi-facebook-workplace:before{content:"󰬱"}.mdi-factory:before{content:"󰈏"}.mdi-family-tree:before{content:"󱘎"}.mdi-fan:before{content:"󰈐"}.mdi-fan-alert:before{content:"󱑬"}.mdi-fan-auto:before{content:"󱜝"}.mdi-fan-chevron-down:before{content:"󱑭"}.mdi-fan-chevron-up:before{content:"󱑮"}.mdi-fan-clock:before{content:"󱨺"}.mdi-fan-minus:before{content:"󱑰"}.mdi-fan-off:before{content:"󰠝"}.mdi-fan-plus:before{content:"󱑯"}.mdi-fan-remove:before{content:"󱑱"}.mdi-fan-speed-1:before{content:"󱑲"}.mdi-fan-speed-2:before{content:"󱑳"}.mdi-fan-speed-3:before{content:"󱑴"}.mdi-fast-forward:before{content:"󰈑"}.mdi-fast-forward-10:before{content:"󰵱"}.mdi-fast-forward-15:before{content:"󱤺"}.mdi-fast-forward-30:before{content:"󰴆"}.mdi-fast-forward-45:before{content:"󱬒"}.mdi-fast-forward-5:before{content:"󱇸"}.mdi-fast-forward-60:before{content:"󱘋"}.mdi-fast-forward-outline:before{content:"󰛒"}.mdi-faucet:before{content:"󱬩"}.mdi-faucet-variant:before{content:"󱬪"}.mdi-fax:before{content:"󰈒"}.mdi-feather:before{content:"󰛓"}.mdi-feature-search:before{content:"󰩉"}.mdi-feature-search-outline:before{content:"󰩊"}.mdi-fedora:before{content:"󰣛"}.mdi-fence:before{content:"󱞚"}.mdi-fence-electric:before{content:"󱟶"}.mdi-fencing:before{content:"󱓁"}.mdi-ferris-wheel:before{content:"󰺤"}.mdi-ferry:before{content:"󰈓"}.mdi-file:before{content:"󰈔"}.mdi-file-account:before{content:"󰜻"}.mdi-file-account-outline:before{content:"󱀨"}.mdi-file-alert:before{content:"󰩋"}.mdi-file-alert-outline:before{content:"󰩌"}.mdi-file-arrow-left-right:before{content:"󱪓"}.mdi-file-arrow-left-right-outline:before{content:"󱪔"}.mdi-file-arrow-up-down:before{content:"󱪕"}.mdi-file-arrow-up-down-outline:before{content:"󱪖"}.mdi-file-cabinet:before{content:"󰪶"}.mdi-file-cad:before{content:"󰻫"}.mdi-file-cad-box:before{content:"󰻬"}.mdi-file-cancel:before{content:"󰷆"}.mdi-file-cancel-outline:before{content:"󰷇"}.mdi-file-certificate:before{content:"󱆆"}.mdi-file-certificate-outline:before{content:"󱆇"}.mdi-file-chart:before{content:"󰈕"}.mdi-file-chart-check:before{content:"󱧆"}.mdi-file-chart-check-outline:before{content:"󱧇"}.mdi-file-chart-outline:before{content:"󱀩"}.mdi-file-check:before{content:"󰈖"}.mdi-file-check-outline:before{content:"󰸩"}.mdi-file-clock:before{content:"󱋡"}.mdi-file-clock-outline:before{content:"󱋢"}.mdi-file-cloud:before{content:"󰈗"}.mdi-file-cloud-outline:before{content:"󱀪"}.mdi-file-code:before{content:"󰈮"}.mdi-file-code-outline:before{content:"󱀫"}.mdi-file-cog:before{content:"󱁻"}.mdi-file-cog-outline:before{content:"󱁼"}.mdi-file-compare:before{content:"󰢪"}.mdi-file-delimited:before{content:"󰈘"}.mdi-file-delimited-outline:before{content:"󰺥"}.mdi-file-document:before{content:"󰈙"}.mdi-file-document-alert:before{content:"󱪗"}.mdi-file-document-alert-outline:before{content:"󱪘"}.mdi-file-document-arrow-right:before{content:"󱰏"}.mdi-file-document-arrow-right-outline:before{content:"󱰐"}.mdi-file-document-check:before{content:"󱪙"}.mdi-file-document-check-outline:before{content:"󱪚"}.mdi-file-document-edit:before{content:"󰷈"}.mdi-file-document-edit-outline:before{content:"󰷉"}.mdi-file-document-minus:before{content:"󱪛"}.mdi-file-document-minus-outline:before{content:"󱪜"}.mdi-file-document-multiple:before{content:"󱔗"}.mdi-file-document-multiple-outline:before{content:"󱔘"}.mdi-file-document-outline:before{content:"󰧮"}.mdi-file-document-plus:before{content:"󱪝"}.mdi-file-document-plus-outline:before{content:"󱪞"}.mdi-file-document-refresh:before{content:"󱱺"}.mdi-file-document-refresh-outline:before{content:"󱱻"}.mdi-file-document-remove:before{content:"󱪟"}.mdi-file-document-remove-outline:before{content:"󱪠"}.mdi-file-download:before{content:"󰥥"}.mdi-file-download-outline:before{content:"󰥦"}.mdi-file-edit:before{content:"󱇧"}.mdi-file-edit-outline:before{content:"󱇨"}.mdi-file-excel:before{content:"󰈛"}.mdi-file-excel-box:before{content:"󰈜"}.mdi-file-excel-box-outline:before{content:"󱀬"}.mdi-file-excel-outline:before{content:"󱀭"}.mdi-file-export:before{content:"󰈝"}.mdi-file-export-outline:before{content:"󱀮"}.mdi-file-eye:before{content:"󰷊"}.mdi-file-eye-outline:before{content:"󰷋"}.mdi-file-find:before{content:"󰈞"}.mdi-file-find-outline:before{content:"󰮗"}.mdi-file-gif-box:before{content:"󰵸"}.mdi-file-hidden:before{content:"󰘓"}.mdi-file-image:before{content:"󰈟"}.mdi-file-image-marker:before{content:"󱝲"}.mdi-file-image-marker-outline:before{content:"󱝳"}.mdi-file-image-minus:before{content:"󱤻"}.mdi-file-image-minus-outline:before{content:"󱤼"}.mdi-file-image-outline:before{content:"󰺰"}.mdi-file-image-plus:before{content:"󱤽"}.mdi-file-image-plus-outline:before{content:"󱤾"}.mdi-file-image-remove:before{content:"󱤿"}.mdi-file-image-remove-outline:before{content:"󱥀"}.mdi-file-import:before{content:"󰈠"}.mdi-file-import-outline:before{content:"󱀯"}.mdi-file-jpg-box:before{content:"󰈥"}.mdi-file-key:before{content:"󱆄"}.mdi-file-key-outline:before{content:"󱆅"}.mdi-file-link:before{content:"󱅷"}.mdi-file-link-outline:before{content:"󱅸"}.mdi-file-lock:before{content:"󰈡"}.mdi-file-lock-open:before{content:"󱧈"}.mdi-file-lock-open-outline:before{content:"󱧉"}.mdi-file-lock-outline:before{content:"󱀰"}.mdi-file-marker:before{content:"󱝴"}.mdi-file-marker-outline:before{content:"󱝵"}.mdi-file-minus:before{content:"󱪡"}.mdi-file-minus-outline:before{content:"󱪢"}.mdi-file-move:before{content:"󰪹"}.mdi-file-move-outline:before{content:"󱀱"}.mdi-file-multiple:before{content:"󰈢"}.mdi-file-multiple-outline:before{content:"󱀲"}.mdi-file-music:before{content:"󰈣"}.mdi-file-music-outline:before{content:"󰸪"}.mdi-file-outline:before{content:"󰈤"}.mdi-file-pdf-box:before{content:"󰈦"}.mdi-file-percent:before{content:"󰠞"}.mdi-file-percent-outline:before{content:"󱀳"}.mdi-file-phone:before{content:"󱅹"}.mdi-file-phone-outline:before{content:"󱅺"}.mdi-file-plus:before{content:"󰝒"}.mdi-file-plus-outline:before{content:"󰻭"}.mdi-file-png-box:before{content:"󰸭"}.mdi-file-powerpoint:before{content:"󰈧"}.mdi-file-powerpoint-box:before{content:"󰈨"}.mdi-file-powerpoint-box-outline:before{content:"󱀴"}.mdi-file-powerpoint-outline:before{content:"󱀵"}.mdi-file-presentation-box:before{content:"󰈩"}.mdi-file-question:before{content:"󰡯"}.mdi-file-question-outline:before{content:"󱀶"}.mdi-file-refresh:before{content:"󰤘"}.mdi-file-refresh-outline:before{content:"󰕁"}.mdi-file-remove:before{content:"󰮘"}.mdi-file-remove-outline:before{content:"󱀷"}.mdi-file-replace:before{content:"󰬲"}.mdi-file-replace-outline:before{content:"󰬳"}.mdi-file-restore:before{content:"󰙰"}.mdi-file-restore-outline:before{content:"󱀸"}.mdi-file-rotate-left:before{content:"󱨻"}.mdi-file-rotate-left-outline:before{content:"󱨼"}.mdi-file-rotate-right:before{content:"󱨽"}.mdi-file-rotate-right-outline:before{content:"󱨾"}.mdi-file-search:before{content:"󰱼"}.mdi-file-search-outline:before{content:"󰱽"}.mdi-file-send:before{content:"󰈪"}.mdi-file-send-outline:before{content:"󱀹"}.mdi-file-settings:before{content:"󱁹"}.mdi-file-settings-outline:before{content:"󱁺"}.mdi-file-sign:before{content:"󱧃"}.mdi-file-star:before{content:"󱀺"}.mdi-file-star-four-points:before{content:"󱰭"}.mdi-file-star-four-points-outline:before{content:"󱰮"}.mdi-file-star-outline:before{content:"󱀻"}.mdi-file-swap:before{content:"󰾴"}.mdi-file-swap-outline:before{content:"󰾵"}.mdi-file-sync:before{content:"󱈖"}.mdi-file-sync-outline:before{content:"󱈗"}.mdi-file-table:before{content:"󰱾"}.mdi-file-table-box:before{content:"󱃡"}.mdi-file-table-box-multiple:before{content:"󱃢"}.mdi-file-table-box-multiple-outline:before{content:"󱃣"}.mdi-file-table-box-outline:before{content:"󱃤"}.mdi-file-table-outline:before{content:"󰱿"}.mdi-file-tree:before{content:"󰙅"}.mdi-file-tree-outline:before{content:"󱏒"}.mdi-file-undo:before{content:"󰣜"}.mdi-file-undo-outline:before{content:"󱀼"}.mdi-file-upload:before{content:"󰩍"}.mdi-file-upload-outline:before{content:"󰩎"}.mdi-file-video:before{content:"󰈫"}.mdi-file-video-outline:before{content:"󰸬"}.mdi-file-word:before{content:"󰈬"}.mdi-file-word-box:before{content:"󰈭"}.mdi-file-word-box-outline:before{content:"󱀽"}.mdi-file-word-outline:before{content:"󱀾"}.mdi-file-xml-box:before{content:"󱭋"}.mdi-film:before{content:"󰈯"}.mdi-filmstrip:before{content:"󰈰"}.mdi-filmstrip-box:before{content:"󰌲"}.mdi-filmstrip-box-multiple:before{content:"󰴘"}.mdi-filmstrip-off:before{content:"󰈱"}.mdi-filter:before{content:"󰈲"}.mdi-filter-check:before{content:"󱣬"}.mdi-filter-check-outline:before{content:"󱣭"}.mdi-filter-cog:before{content:"󱪣"}.mdi-filter-cog-outline:before{content:"󱪤"}.mdi-filter-menu:before{content:"󱃥"}.mdi-filter-menu-outline:before{content:"󱃦"}.mdi-filter-minus:before{content:"󰻮"}.mdi-filter-minus-outline:before{content:"󰻯"}.mdi-filter-multiple:before{content:"󱨿"}.mdi-filter-multiple-outline:before{content:"󱩀"}.mdi-filter-off:before{content:"󱓯"}.mdi-filter-off-outline:before{content:"󱓰"}.mdi-filter-outline:before{content:"󰈳"}.mdi-filter-plus:before{content:"󰻰"}.mdi-filter-plus-outline:before{content:"󰻱"}.mdi-filter-remove:before{content:"󰈴"}.mdi-filter-remove-outline:before{content:"󰈵"}.mdi-filter-settings:before{content:"󱪥"}.mdi-filter-settings-outline:before{content:"󱪦"}.mdi-filter-variant:before{content:"󰈶"}.mdi-filter-variant-minus:before{content:"󱄒"}.mdi-filter-variant-plus:before{content:"󱄓"}.mdi-filter-variant-remove:before{content:"󱀿"}.mdi-finance:before{content:"󰠟"}.mdi-find-replace:before{content:"󰛔"}.mdi-fingerprint:before{content:"󰈷"}.mdi-fingerprint-off:before{content:"󰺱"}.mdi-fire:before{content:"󰈸"}.mdi-fire-alert:before{content:"󱗗"}.mdi-fire-circle:before{content:"󱠇"}.mdi-fire-extinguisher:before{content:"󰻲"}.mdi-fire-hydrant:before{content:"󱄷"}.mdi-fire-hydrant-alert:before{content:"󱄸"}.mdi-fire-hydrant-off:before{content:"󱄹"}.mdi-fire-off:before{content:"󱜢"}.mdi-fire-truck:before{content:"󰢫"}.mdi-firebase:before{content:"󰥧"}.mdi-firefox:before{content:"󰈹"}.mdi-fireplace:before{content:"󰸮"}.mdi-fireplace-off:before{content:"󰸯"}.mdi-firewire:before{content:"󰖾"}.mdi-firework:before{content:"󰸰"}.mdi-firework-off:before{content:"󱜣"}.mdi-fish:before{content:"󰈺"}.mdi-fish-off:before{content:"󱏳"}.mdi-fishbowl:before{content:"󰻳"}.mdi-fishbowl-outline:before{content:"󰻴"}.mdi-fit-to-page:before{content:"󰻵"}.mdi-fit-to-page-outline:before{content:"󰻶"}.mdi-fit-to-screen:before{content:"󱣴"}.mdi-fit-to-screen-outline:before{content:"󱣵"}.mdi-flag:before{content:"󰈻"}.mdi-flag-checkered:before{content:"󰈼"}.mdi-flag-minus:before{content:"󰮙"}.mdi-flag-minus-outline:before{content:"󱂲"}.mdi-flag-off:before{content:"󱣮"}.mdi-flag-off-outline:before{content:"󱣯"}.mdi-flag-outline:before{content:"󰈽"}.mdi-flag-plus:before{content:"󰮚"}.mdi-flag-plus-outline:before{content:"󱂳"}.mdi-flag-remove:before{content:"󰮛"}.mdi-flag-remove-outline:before{content:"󱂴"}.mdi-flag-triangle:before{content:"󰈿"}.mdi-flag-variant:before{content:"󰉀"}.mdi-flag-variant-minus:before{content:"󱮴"}.mdi-flag-variant-minus-outline:before{content:"󱮵"}.mdi-flag-variant-off:before{content:"󱮰"}.mdi-flag-variant-off-outline:before{content:"󱮱"}.mdi-flag-variant-outline:before{content:"󰈾"}.mdi-flag-variant-plus:before{content:"󱮲"}.mdi-flag-variant-plus-outline:before{content:"󱮳"}.mdi-flag-variant-remove:before{content:"󱮶"}.mdi-flag-variant-remove-outline:before{content:"󱮷"}.mdi-flare:before{content:"󰵲"}.mdi-flash:before{content:"󰉁"}.mdi-flash-alert:before{content:"󰻷"}.mdi-flash-alert-outline:before{content:"󰻸"}.mdi-flash-auto:before{content:"󰉂"}.mdi-flash-off:before{content:"󰉃"}.mdi-flash-off-outline:before{content:"󱭅"}.mdi-flash-outline:before{content:"󰛕"}.mdi-flash-red-eye:before{content:"󰙻"}.mdi-flash-triangle:before{content:"󱬝"}.mdi-flash-triangle-outline:before{content:"󱬞"}.mdi-flashlight:before{content:"󰉄"}.mdi-flashlight-off:before{content:"󰉅"}.mdi-flask:before{content:"󰂓"}.mdi-flask-empty:before{content:"󰂔"}.mdi-flask-empty-minus:before{content:"󱈺"}.mdi-flask-empty-minus-outline:before{content:"󱈻"}.mdi-flask-empty-off:before{content:"󱏴"}.mdi-flask-empty-off-outline:before{content:"󱏵"}.mdi-flask-empty-outline:before{content:"󰂕"}.mdi-flask-empty-plus:before{content:"󱈼"}.mdi-flask-empty-plus-outline:before{content:"󱈽"}.mdi-flask-empty-remove:before{content:"󱈾"}.mdi-flask-empty-remove-outline:before{content:"󱈿"}.mdi-flask-minus:before{content:"󱉀"}.mdi-flask-minus-outline:before{content:"󱉁"}.mdi-flask-off:before{content:"󱏶"}.mdi-flask-off-outline:before{content:"󱏷"}.mdi-flask-outline:before{content:"󰂖"}.mdi-flask-plus:before{content:"󱉂"}.mdi-flask-plus-outline:before{content:"󱉃"}.mdi-flask-remove:before{content:"󱉄"}.mdi-flask-remove-outline:before{content:"󱉅"}.mdi-flask-round-bottom:before{content:"󱉋"}.mdi-flask-round-bottom-empty:before{content:"󱉌"}.mdi-flask-round-bottom-empty-outline:before{content:"󱉍"}.mdi-flask-round-bottom-outline:before{content:"󱉎"}.mdi-fleur-de-lis:before{content:"󱌃"}.mdi-flip-horizontal:before{content:"󱃧"}.mdi-flip-to-back:before{content:"󰉇"}.mdi-flip-to-front:before{content:"󰉈"}.mdi-flip-vertical:before{content:"󱃨"}.mdi-floor-lamp:before{content:"󰣝"}.mdi-floor-lamp-dual:before{content:"󱁀"}.mdi-floor-lamp-dual-outline:before{content:"󱟎"}.mdi-floor-lamp-outline:before{content:"󱟈"}.mdi-floor-lamp-torchiere:before{content:"󱝇"}.mdi-floor-lamp-torchiere-outline:before{content:"󱟖"}.mdi-floor-lamp-torchiere-variant:before{content:"󱁁"}.mdi-floor-lamp-torchiere-variant-outline:before{content:"󱟏"}.mdi-floor-plan:before{content:"󰠡"}.mdi-floppy:before{content:"󰉉"}.mdi-floppy-variant:before{content:"󰧯"}.mdi-flower:before{content:"󰉊"}.mdi-flower-outline:before{content:"󰧰"}.mdi-flower-pollen:before{content:"󱢅"}.mdi-flower-pollen-outline:before{content:"󱢆"}.mdi-flower-poppy:before{content:"󰴈"}.mdi-flower-tulip:before{content:"󰧱"}.mdi-flower-tulip-outline:before{content:"󰧲"}.mdi-focus-auto:before{content:"󰽎"}.mdi-focus-field:before{content:"󰽏"}.mdi-focus-field-horizontal:before{content:"󰽐"}.mdi-focus-field-vertical:before{content:"󰽑"}.mdi-folder:before{content:"󰉋"}.mdi-folder-account:before{content:"󰉌"}.mdi-folder-account-outline:before{content:"󰮜"}.mdi-folder-alert:before{content:"󰷌"}.mdi-folder-alert-outline:before{content:"󰷍"}.mdi-folder-arrow-down:before{content:"󱧨"}.mdi-folder-arrow-down-outline:before{content:"󱧩"}.mdi-folder-arrow-left:before{content:"󱧪"}.mdi-folder-arrow-left-outline:before{content:"󱧫"}.mdi-folder-arrow-left-right:before{content:"󱧬"}.mdi-folder-arrow-left-right-outline:before{content:"󱧭"}.mdi-folder-arrow-right:before{content:"󱧮"}.mdi-folder-arrow-right-outline:before{content:"󱧯"}.mdi-folder-arrow-up:before{content:"󱧰"}.mdi-folder-arrow-up-down:before{content:"󱧱"}.mdi-folder-arrow-up-down-outline:before{content:"󱧲"}.mdi-folder-arrow-up-outline:before{content:"󱧳"}.mdi-folder-cancel:before{content:"󱧴"}.mdi-folder-cancel-outline:before{content:"󱧵"}.mdi-folder-check:before{content:"󱥾"}.mdi-folder-check-outline:before{content:"󱥿"}.mdi-folder-clock:before{content:"󰪺"}.mdi-folder-clock-outline:before{content:"󰪻"}.mdi-folder-cog:before{content:"󱁿"}.mdi-folder-cog-outline:before{content:"󱂀"}.mdi-folder-download:before{content:"󰉍"}.mdi-folder-download-outline:before{content:"󱃩"}.mdi-folder-edit:before{content:"󰣞"}.mdi-folder-edit-outline:before{content:"󰷎"}.mdi-folder-eye:before{content:"󱞊"}.mdi-folder-eye-outline:before{content:"󱞋"}.mdi-folder-file:before{content:"󱧶"}.mdi-folder-file-outline:before{content:"󱧷"}.mdi-folder-google-drive:before{content:"󰉎"}.mdi-folder-heart:before{content:"󱃪"}.mdi-folder-heart-outline:before{content:"󱃫"}.mdi-folder-hidden:before{content:"󱞞"}.mdi-folder-home:before{content:"󱂵"}.mdi-folder-home-outline:before{content:"󱂶"}.mdi-folder-image:before{content:"󰉏"}.mdi-folder-information:before{content:"󱂷"}.mdi-folder-information-outline:before{content:"󱂸"}.mdi-folder-key:before{content:"󰢬"}.mdi-folder-key-network:before{content:"󰢭"}.mdi-folder-key-network-outline:before{content:"󰲀"}.mdi-folder-key-outline:before{content:"󱃬"}.mdi-folder-lock:before{content:"󰉐"}.mdi-folder-lock-open:before{content:"󰉑"}.mdi-folder-lock-open-outline:before{content:"󱪧"}.mdi-folder-lock-outline:before{content:"󱪨"}.mdi-folder-marker:before{content:"󱉭"}.mdi-folder-marker-outline:before{content:"󱉮"}.mdi-folder-minus:before{content:"󱭉"}.mdi-folder-minus-outline:before{content:"󱭊"}.mdi-folder-move:before{content:"󰉒"}.mdi-folder-move-outline:before{content:"󱉆"}.mdi-folder-multiple:before{content:"󰉓"}.mdi-folder-multiple-image:before{content:"󰉔"}.mdi-folder-multiple-outline:before{content:"󰉕"}.mdi-folder-multiple-plus:before{content:"󱑾"}.mdi-folder-multiple-plus-outline:before{content:"󱑿"}.mdi-folder-music:before{content:"󱍙"}.mdi-folder-music-outline:before{content:"󱍚"}.mdi-folder-network:before{content:"󰡰"}.mdi-folder-network-outline:before{content:"󰲁"}.mdi-folder-off:before{content:"󱧸"}.mdi-folder-off-outline:before{content:"󱧹"}.mdi-folder-open:before{content:"󰝰"}.mdi-folder-open-outline:before{content:"󰷏"}.mdi-folder-outline:before{content:"󰉖"}.mdi-folder-play:before{content:"󱧺"}.mdi-folder-play-outline:before{content:"󱧻"}.mdi-folder-plus:before{content:"󰉗"}.mdi-folder-plus-outline:before{content:"󰮝"}.mdi-folder-pound:before{content:"󰴉"}.mdi-folder-pound-outline:before{content:"󰴊"}.mdi-folder-question:before{content:"󱧊"}.mdi-folder-question-outline:before{content:"󱧋"}.mdi-folder-refresh:before{content:"󰝉"}.mdi-folder-refresh-outline:before{content:"󰕂"}.mdi-folder-remove:before{content:"󰉘"}.mdi-folder-remove-outline:before{content:"󰮞"}.mdi-folder-search:before{content:"󰥨"}.mdi-folder-search-outline:before{content:"󰥩"}.mdi-folder-settings:before{content:"󱁽"}.mdi-folder-settings-outline:before{content:"󱁾"}.mdi-folder-star:before{content:"󰚝"}.mdi-folder-star-multiple:before{content:"󱏓"}.mdi-folder-star-multiple-outline:before{content:"󱏔"}.mdi-folder-star-outline:before{content:"󰮟"}.mdi-folder-swap:before{content:"󰾶"}.mdi-folder-swap-outline:before{content:"󰾷"}.mdi-folder-sync:before{content:"󰴋"}.mdi-folder-sync-outline:before{content:"󰴌"}.mdi-folder-table:before{content:"󱋣"}.mdi-folder-table-outline:before{content:"󱋤"}.mdi-folder-text:before{content:"󰲂"}.mdi-folder-text-outline:before{content:"󰲃"}.mdi-folder-upload:before{content:"󰉙"}.mdi-folder-upload-outline:before{content:"󱃭"}.mdi-folder-wrench:before{content:"󱧼"}.mdi-folder-wrench-outline:before{content:"󱧽"}.mdi-folder-zip:before{content:"󰛫"}.mdi-folder-zip-outline:before{content:"󰞹"}.mdi-font-awesome:before{content:"󰀺"}.mdi-food:before{content:"󰉚"}.mdi-food-apple:before{content:"󰉛"}.mdi-food-apple-outline:before{content:"󰲄"}.mdi-food-croissant:before{content:"󰟈"}.mdi-food-drumstick:before{content:"󱐟"}.mdi-food-drumstick-off:before{content:"󱑨"}.mdi-food-drumstick-off-outline:before{content:"󱑩"}.mdi-food-drumstick-outline:before{content:"󱐠"}.mdi-food-fork-drink:before{content:"󰗲"}.mdi-food-halal:before{content:"󱕲"}.mdi-food-hot-dog:before{content:"󱡋"}.mdi-food-kosher:before{content:"󱕳"}.mdi-food-off:before{content:"󰗳"}.mdi-food-off-outline:before{content:"󱤕"}.mdi-food-outline:before{content:"󱤖"}.mdi-food-steak:before{content:"󱑪"}.mdi-food-steak-off:before{content:"󱑫"}.mdi-food-takeout-box:before{content:"󱠶"}.mdi-food-takeout-box-outline:before{content:"󱠷"}.mdi-food-turkey:before{content:"󱜜"}.mdi-food-variant:before{content:"󰉜"}.mdi-food-variant-off:before{content:"󱏥"}.mdi-foot-print:before{content:"󰽒"}.mdi-football:before{content:"󰉝"}.mdi-football-australian:before{content:"󰉞"}.mdi-football-helmet:before{content:"󰉟"}.mdi-forest:before{content:"󱢗"}.mdi-forest-outline:before{content:"󱱣"}.mdi-forklift:before{content:"󰟉"}.mdi-form-dropdown:before{content:"󱐀"}.mdi-form-select:before{content:"󱐁"}.mdi-form-textarea:before{content:"󱂕"}.mdi-form-textbox:before{content:"󰘎"}.mdi-form-textbox-lock:before{content:"󱍝"}.mdi-form-textbox-password:before{content:"󰟵"}.mdi-format-align-bottom:before{content:"󰝓"}.mdi-format-align-center:before{content:"󰉠"}.mdi-format-align-justify:before{content:"󰉡"}.mdi-format-align-left:before{content:"󰉢"}.mdi-format-align-middle:before{content:"󰝔"}.mdi-format-align-right:before{content:"󰉣"}.mdi-format-align-top:before{content:"󰝕"}.mdi-format-annotation-minus:before{content:"󰪼"}.mdi-format-annotation-plus:before{content:"󰙆"}.mdi-format-bold:before{content:"󰉤"}.mdi-format-clear:before{content:"󰉥"}.mdi-format-color-fill:before{content:"󰉦"}.mdi-format-color-highlight:before{content:"󰸱"}.mdi-format-color-marker-cancel:before{content:"󱌓"}.mdi-format-color-text:before{content:"󰚞"}.mdi-format-columns:before{content:"󰣟"}.mdi-format-float-center:before{content:"󰉧"}.mdi-format-float-left:before{content:"󰉨"}.mdi-format-float-none:before{content:"󰉩"}.mdi-format-float-right:before{content:"󰉪"}.mdi-format-font:before{content:"󰛖"}.mdi-format-font-size-decrease:before{content:"󰧳"}.mdi-format-font-size-increase:before{content:"󰧴"}.mdi-format-header-1:before{content:"󰉫"}.mdi-format-header-2:before{content:"󰉬"}.mdi-format-header-3:before{content:"󰉭"}.mdi-format-header-4:before{content:"󰉮"}.mdi-format-header-5:before{content:"󰉯"}.mdi-format-header-6:before{content:"󰉰"}.mdi-format-header-decrease:before{content:"󰉱"}.mdi-format-header-equal:before{content:"󰉲"}.mdi-format-header-increase:before{content:"󰉳"}.mdi-format-header-pound:before{content:"󰉴"}.mdi-format-horizontal-align-center:before{content:"󰘞"}.mdi-format-horizontal-align-left:before{content:"󰘟"}.mdi-format-horizontal-align-right:before{content:"󰘠"}.mdi-format-indent-decrease:before{content:"󰉵"}.mdi-format-indent-increase:before{content:"󰉶"}.mdi-format-italic:before{content:"󰉷"}.mdi-format-letter-case:before{content:"󰬴"}.mdi-format-letter-case-lower:before{content:"󰬵"}.mdi-format-letter-case-upper:before{content:"󰬶"}.mdi-format-letter-ends-with:before{content:"󰾸"}.mdi-format-letter-matches:before{content:"󰾹"}.mdi-format-letter-spacing:before{content:"󱥖"}.mdi-format-letter-spacing-variant:before{content:"󱫻"}.mdi-format-letter-starts-with:before{content:"󰾺"}.mdi-format-line-height:before{content:"󱫼"}.mdi-format-line-spacing:before{content:"󰉸"}.mdi-format-line-style:before{content:"󰗈"}.mdi-format-line-weight:before{content:"󰗉"}.mdi-format-list-bulleted:before{content:"󰉹"}.mdi-format-list-bulleted-square:before{content:"󰷐"}.mdi-format-list-bulleted-triangle:before{content:"󰺲"}.mdi-format-list-bulleted-type:before{content:"󰉺"}.mdi-format-list-checkbox:before{content:"󰥪"}.mdi-format-list-checks:before{content:"󰝖"}.mdi-format-list-group:before{content:"󱡠"}.mdi-format-list-group-plus:before{content:"󱭖"}.mdi-format-list-numbered:before{content:"󰉻"}.mdi-format-list-numbered-rtl:before{content:"󰴍"}.mdi-format-list-text:before{content:"󱉯"}.mdi-format-overline:before{content:"󰺳"}.mdi-format-page-break:before{content:"󰛗"}.mdi-format-page-split:before{content:"󱤗"}.mdi-format-paint:before{content:"󰉼"}.mdi-format-paragraph:before{content:"󰉽"}.mdi-format-paragraph-spacing:before{content:"󱫽"}.mdi-format-pilcrow:before{content:"󰛘"}.mdi-format-pilcrow-arrow-left:before{content:"󰊆"}.mdi-format-pilcrow-arrow-right:before{content:"󰊅"}.mdi-format-quote-close:before{content:"󰉾"}.mdi-format-quote-close-outline:before{content:"󱆨"}.mdi-format-quote-open:before{content:"󰝗"}.mdi-format-quote-open-outline:before{content:"󱆧"}.mdi-format-rotate-90:before{content:"󰚪"}.mdi-format-section:before{content:"󰚟"}.mdi-format-size:before{content:"󰉿"}.mdi-format-strikethrough:before{content:"󰊀"}.mdi-format-strikethrough-variant:before{content:"󰊁"}.mdi-format-subscript:before{content:"󰊂"}.mdi-format-superscript:before{content:"󰊃"}.mdi-format-text:before{content:"󰊄"}.mdi-format-text-rotation-angle-down:before{content:"󰾻"}.mdi-format-text-rotation-angle-up:before{content:"󰾼"}.mdi-format-text-rotation-down:before{content:"󰵳"}.mdi-format-text-rotation-down-vertical:before{content:"󰾽"}.mdi-format-text-rotation-none:before{content:"󰵴"}.mdi-format-text-rotation-up:before{content:"󰾾"}.mdi-format-text-rotation-vertical:before{content:"󰾿"}.mdi-format-text-variant:before{content:"󰸲"}.mdi-format-text-variant-outline:before{content:"󱔏"}.mdi-format-text-wrapping-clip:before{content:"󰴎"}.mdi-format-text-wrapping-overflow:before{content:"󰴏"}.mdi-format-text-wrapping-wrap:before{content:"󰴐"}.mdi-format-textbox:before{content:"󰴑"}.mdi-format-title:before{content:"󰗴"}.mdi-format-underline:before{content:"󰊇"}.mdi-format-underline-wavy:before{content:"󱣩"}.mdi-format-vertical-align-bottom:before{content:"󰘡"}.mdi-format-vertical-align-center:before{content:"󰘢"}.mdi-format-vertical-align-top:before{content:"󰘣"}.mdi-format-wrap-inline:before{content:"󰊈"}.mdi-format-wrap-square:before{content:"󰊉"}.mdi-format-wrap-tight:before{content:"󰊊"}.mdi-format-wrap-top-bottom:before{content:"󰊋"}.mdi-forum:before{content:"󰊌"}.mdi-forum-minus:before{content:"󱪩"}.mdi-forum-minus-outline:before{content:"󱪪"}.mdi-forum-outline:before{content:"󰠢"}.mdi-forum-plus:before{content:"󱪫"}.mdi-forum-plus-outline:before{content:"󱪬"}.mdi-forum-remove:before{content:"󱪭"}.mdi-forum-remove-outline:before{content:"󱪮"}.mdi-forward:before{content:"󰊍"}.mdi-forwardburger:before{content:"󰵵"}.mdi-fountain:before{content:"󰥫"}.mdi-fountain-pen:before{content:"󰴒"}.mdi-fountain-pen-tip:before{content:"󰴓"}.mdi-fraction-one-half:before{content:"󱦒"}.mdi-freebsd:before{content:"󰣠"}.mdi-french-fries:before{content:"󱥗"}.mdi-frequently-asked-questions:before{content:"󰺴"}.mdi-fridge:before{content:"󰊐"}.mdi-fridge-alert:before{content:"󱆱"}.mdi-fridge-alert-outline:before{content:"󱆲"}.mdi-fridge-bottom:before{content:"󰊒"}.mdi-fridge-industrial:before{content:"󱗮"}.mdi-fridge-industrial-alert:before{content:"󱗯"}.mdi-fridge-industrial-alert-outline:before{content:"󱗰"}.mdi-fridge-industrial-off:before{content:"󱗱"}.mdi-fridge-industrial-off-outline:before{content:"󱗲"}.mdi-fridge-industrial-outline:before{content:"󱗳"}.mdi-fridge-off:before{content:"󱆯"}.mdi-fridge-off-outline:before{content:"󱆰"}.mdi-fridge-outline:before{content:"󰊏"}.mdi-fridge-top:before{content:"󰊑"}.mdi-fridge-variant:before{content:"󱗴"}.mdi-fridge-variant-alert:before{content:"󱗵"}.mdi-fridge-variant-alert-outline:before{content:"󱗶"}.mdi-fridge-variant-off:before{content:"󱗷"}.mdi-fridge-variant-off-outline:before{content:"󱗸"}.mdi-fridge-variant-outline:before{content:"󱗹"}.mdi-fruit-cherries:before{content:"󱁂"}.mdi-fruit-cherries-off:before{content:"󱏸"}.mdi-fruit-citrus:before{content:"󱁃"}.mdi-fruit-citrus-off:before{content:"󱏹"}.mdi-fruit-grapes:before{content:"󱁄"}.mdi-fruit-grapes-outline:before{content:"󱁅"}.mdi-fruit-pear:before{content:"󱨎"}.mdi-fruit-pineapple:before{content:"󱁆"}.mdi-fruit-watermelon:before{content:"󱁇"}.mdi-fuel:before{content:"󰟊"}.mdi-fuel-cell:before{content:"󱢵"}.mdi-fullscreen:before{content:"󰊓"}.mdi-fullscreen-exit:before{content:"󰊔"}.mdi-function:before{content:"󰊕"}.mdi-function-variant:before{content:"󰡱"}.mdi-furigana-horizontal:before{content:"󱂁"}.mdi-furigana-vertical:before{content:"󱂂"}.mdi-fuse:before{content:"󰲅"}.mdi-fuse-alert:before{content:"󱐭"}.mdi-fuse-blade:before{content:"󰲆"}.mdi-fuse-off:before{content:"󱐬"}.mdi-gamepad:before{content:"󰊖"}.mdi-gamepad-circle:before{content:"󰸳"}.mdi-gamepad-circle-down:before{content:"󰸴"}.mdi-gamepad-circle-left:before{content:"󰸵"}.mdi-gamepad-circle-outline:before{content:"󰸶"}.mdi-gamepad-circle-right:before{content:"󰸷"}.mdi-gamepad-circle-up:before{content:"󰸸"}.mdi-gamepad-down:before{content:"󰸹"}.mdi-gamepad-left:before{content:"󰸺"}.mdi-gamepad-outline:before{content:"󱤙"}.mdi-gamepad-right:before{content:"󰸻"}.mdi-gamepad-round:before{content:"󰸼"}.mdi-gamepad-round-down:before{content:"󰸽"}.mdi-gamepad-round-left:before{content:"󰸾"}.mdi-gamepad-round-outline:before{content:"󰸿"}.mdi-gamepad-round-right:before{content:"󰹀"}.mdi-gamepad-round-up:before{content:"󰹁"}.mdi-gamepad-square:before{content:"󰺵"}.mdi-gamepad-square-outline:before{content:"󰺶"}.mdi-gamepad-up:before{content:"󰹂"}.mdi-gamepad-variant:before{content:"󰊗"}.mdi-gamepad-variant-outline:before{content:"󰺷"}.mdi-gamma:before{content:"󱃮"}.mdi-gantry-crane:before{content:"󰷑"}.mdi-garage:before{content:"󰛙"}.mdi-garage-alert:before{content:"󰡲"}.mdi-garage-alert-variant:before{content:"󱋕"}.mdi-garage-lock:before{content:"󱟻"}.mdi-garage-open:before{content:"󰛚"}.mdi-garage-open-variant:before{content:"󱋔"}.mdi-garage-variant:before{content:"󱋓"}.mdi-garage-variant-lock:before{content:"󱟼"}.mdi-gas-burner:before{content:"󱨛"}.mdi-gas-cylinder:before{content:"󰙇"}.mdi-gas-station:before{content:"󰊘"}.mdi-gas-station-off:before{content:"󱐉"}.mdi-gas-station-off-outline:before{content:"󱐊"}.mdi-gas-station-outline:before{content:"󰺸"}.mdi-gate:before{content:"󰊙"}.mdi-gate-alert:before{content:"󱟸"}.mdi-gate-and:before{content:"󰣡"}.mdi-gate-arrow-left:before{content:"󱟷"}.mdi-gate-arrow-right:before{content:"󱅩"}.mdi-gate-buffer:before{content:"󱫾"}.mdi-gate-nand:before{content:"󰣢"}.mdi-gate-nor:before{content:"󰣣"}.mdi-gate-not:before{content:"󰣤"}.mdi-gate-open:before{content:"󱅪"}.mdi-gate-or:before{content:"󰣥"}.mdi-gate-xnor:before{content:"󰣦"}.mdi-gate-xor:before{content:"󰣧"}.mdi-gatsby:before{content:"󰹃"}.mdi-gauge:before{content:"󰊚"}.mdi-gauge-empty:before{content:"󰡳"}.mdi-gauge-full:before{content:"󰡴"}.mdi-gauge-low:before{content:"󰡵"}.mdi-gavel:before{content:"󰊛"}.mdi-gender-female:before{content:"󰊜"}.mdi-gender-male:before{content:"󰊝"}.mdi-gender-male-female:before{content:"󰊞"}.mdi-gender-male-female-variant:before{content:"󱄿"}.mdi-gender-non-binary:before{content:"󱅀"}.mdi-gender-transgender:before{content:"󰊟"}.mdi-gentoo:before{content:"󰣨"}.mdi-gesture:before{content:"󰟋"}.mdi-gesture-double-tap:before{content:"󰜼"}.mdi-gesture-pinch:before{content:"󰪽"}.mdi-gesture-spread:before{content:"󰪾"}.mdi-gesture-swipe:before{content:"󰵶"}.mdi-gesture-swipe-down:before{content:"󰜽"}.mdi-gesture-swipe-horizontal:before{content:"󰪿"}.mdi-gesture-swipe-left:before{content:"󰜾"}.mdi-gesture-swipe-right:before{content:"󰜿"}.mdi-gesture-swipe-up:before{content:"󰝀"}.mdi-gesture-swipe-vertical:before{content:"󰫀"}.mdi-gesture-tap:before{content:"󰝁"}.mdi-gesture-tap-box:before{content:"󱊩"}.mdi-gesture-tap-button:before{content:"󱊨"}.mdi-gesture-tap-hold:before{content:"󰵷"}.mdi-gesture-two-double-tap:before{content:"󰝂"}.mdi-gesture-two-tap:before{content:"󰝃"}.mdi-ghost:before{content:"󰊠"}.mdi-ghost-off:before{content:"󰧵"}.mdi-ghost-off-outline:before{content:"󱙜"}.mdi-ghost-outline:before{content:"󱙝"}.mdi-gift:before{content:"󰹄"}.mdi-gift-off:before{content:"󱛯"}.mdi-gift-off-outline:before{content:"󱛰"}.mdi-gift-open:before{content:"󱛱"}.mdi-gift-open-outline:before{content:"󱛲"}.mdi-gift-outline:before{content:"󰊡"}.mdi-git:before{content:"󰊢"}.mdi-github:before{content:"󰊤"}.mdi-gitlab:before{content:"󰮠"}.mdi-glass-cocktail:before{content:"󰍖"}.mdi-glass-cocktail-off:before{content:"󱗦"}.mdi-glass-flute:before{content:"󰊥"}.mdi-glass-fragile:before{content:"󱡳"}.mdi-glass-mug:before{content:"󰊦"}.mdi-glass-mug-off:before{content:"󱗧"}.mdi-glass-mug-variant:before{content:"󱄖"}.mdi-glass-mug-variant-off:before{content:"󱗨"}.mdi-glass-pint-outline:before{content:"󱌍"}.mdi-glass-stange:before{content:"󰊧"}.mdi-glass-tulip:before{content:"󰊨"}.mdi-glass-wine:before{content:"󰡶"}.mdi-glasses:before{content:"󰊪"}.mdi-globe-light:before{content:"󰙯"}.mdi-globe-light-outline:before{content:"󱋗"}.mdi-globe-model:before{content:"󰣩"}.mdi-gmail:before{content:"󰊫"}.mdi-gnome:before{content:"󰊬"}.mdi-go-kart:before{content:"󰵹"}.mdi-go-kart-track:before{content:"󰵺"}.mdi-gog:before{content:"󰮡"}.mdi-gold:before{content:"󱉏"}.mdi-golf:before{content:"󰠣"}.mdi-golf-cart:before{content:"󱆤"}.mdi-golf-tee:before{content:"󱂃"}.mdi-gondola:before{content:"󰚆"}.mdi-goodreads:before{content:"󰵻"}.mdi-google:before{content:"󰊭"}.mdi-google-ads:before{content:"󰲇"}.mdi-google-analytics:before{content:"󰟌"}.mdi-google-assistant:before{content:"󰟍"}.mdi-google-cardboard:before{content:"󰊮"}.mdi-google-chrome:before{content:"󰊯"}.mdi-google-circles:before{content:"󰊰"}.mdi-google-circles-communities:before{content:"󰊱"}.mdi-google-circles-extended:before{content:"󰊲"}.mdi-google-circles-group:before{content:"󰊳"}.mdi-google-classroom:before{content:"󰋀"}.mdi-google-cloud:before{content:"󱇶"}.mdi-google-downasaur:before{content:"󱍢"}.mdi-google-drive:before{content:"󰊶"}.mdi-google-earth:before{content:"󰊷"}.mdi-google-fit:before{content:"󰥬"}.mdi-google-glass:before{content:"󰊸"}.mdi-google-hangouts:before{content:"󰋉"}.mdi-google-keep:before{content:"󰛜"}.mdi-google-lens:before{content:"󰧶"}.mdi-google-maps:before{content:"󰗵"}.mdi-google-my-business:before{content:"󱁈"}.mdi-google-nearby:before{content:"󰊹"}.mdi-google-play:before{content:"󰊼"}.mdi-google-plus:before{content:"󰊽"}.mdi-google-podcast:before{content:"󰺹"}.mdi-google-spreadsheet:before{content:"󰧷"}.mdi-google-street-view:before{content:"󰲈"}.mdi-google-translate:before{content:"󰊿"}.mdi-gradient-horizontal:before{content:"󱝊"}.mdi-gradient-vertical:before{content:"󰚠"}.mdi-grain:before{content:"󰵼"}.mdi-graph:before{content:"󱁉"}.mdi-graph-outline:before{content:"󱁊"}.mdi-graphql:before{content:"󰡷"}.mdi-grass:before{content:"󱔐"}.mdi-grave-stone:before{content:"󰮢"}.mdi-grease-pencil:before{content:"󰙈"}.mdi-greater-than:before{content:"󰥭"}.mdi-greater-than-or-equal:before{content:"󰥮"}.mdi-greenhouse:before{content:"󰀭"}.mdi-grid:before{content:"󰋁"}.mdi-grid-large:before{content:"󰝘"}.mdi-grid-off:before{content:"󰋂"}.mdi-grill:before{content:"󰹅"}.mdi-grill-outline:before{content:"󱆊"}.mdi-group:before{content:"󰋃"}.mdi-guitar-acoustic:before{content:"󰝱"}.mdi-guitar-electric:before{content:"󰋄"}.mdi-guitar-pick:before{content:"󰋅"}.mdi-guitar-pick-outline:before{content:"󰋆"}.mdi-guy-fawkes-mask:before{content:"󰠥"}.mdi-gymnastics:before{content:"󱩁"}.mdi-hail:before{content:"󰫁"}.mdi-hair-dryer:before{content:"󱃯"}.mdi-hair-dryer-outline:before{content:"󱃰"}.mdi-halloween:before{content:"󰮣"}.mdi-hamburger:before{content:"󰚅"}.mdi-hamburger-check:before{content:"󱝶"}.mdi-hamburger-minus:before{content:"󱝷"}.mdi-hamburger-off:before{content:"󱝸"}.mdi-hamburger-plus:before{content:"󱝹"}.mdi-hamburger-remove:before{content:"󱝺"}.mdi-hammer:before{content:"󰣪"}.mdi-hammer-screwdriver:before{content:"󱌢"}.mdi-hammer-sickle:before{content:"󱢇"}.mdi-hammer-wrench:before{content:"󱌣"}.mdi-hand-back-left:before{content:"󰹆"}.mdi-hand-back-left-off:before{content:"󱠰"}.mdi-hand-back-left-off-outline:before{content:"󱠲"}.mdi-hand-back-left-outline:before{content:"󱠬"}.mdi-hand-back-right:before{content:"󰹇"}.mdi-hand-back-right-off:before{content:"󱠱"}.mdi-hand-back-right-off-outline:before{content:"󱠳"}.mdi-hand-back-right-outline:before{content:"󱠭"}.mdi-hand-clap:before{content:"󱥋"}.mdi-hand-clap-off:before{content:"󱩂"}.mdi-hand-coin:before{content:"󱢏"}.mdi-hand-coin-outline:before{content:"󱢐"}.mdi-hand-cycle:before{content:"󱮜"}.mdi-hand-extended:before{content:"󱢶"}.mdi-hand-extended-outline:before{content:"󱢷"}.mdi-hand-front-left:before{content:"󱠫"}.mdi-hand-front-left-outline:before{content:"󱠮"}.mdi-hand-front-right:before{content:"󰩏"}.mdi-hand-front-right-outline:before{content:"󱠯"}.mdi-hand-heart:before{content:"󱃱"}.mdi-hand-heart-outline:before{content:"󱕾"}.mdi-hand-okay:before{content:"󰩐"}.mdi-hand-peace:before{content:"󰩑"}.mdi-hand-peace-variant:before{content:"󰩒"}.mdi-hand-pointing-down:before{content:"󰩓"}.mdi-hand-pointing-left:before{content:"󰩔"}.mdi-hand-pointing-right:before{content:"󰋇"}.mdi-hand-pointing-up:before{content:"󰩕"}.mdi-hand-saw:before{content:"󰹈"}.mdi-hand-wash:before{content:"󱕿"}.mdi-hand-wash-outline:before{content:"󱖀"}.mdi-hand-water:before{content:"󱎟"}.mdi-hand-wave:before{content:"󱠡"}.mdi-hand-wave-outline:before{content:"󱠢"}.mdi-handball:before{content:"󰽓"}.mdi-handcuffs:before{content:"󱄾"}.mdi-hands-pray:before{content:"󰕹"}.mdi-handshake:before{content:"󱈘"}.mdi-handshake-outline:before{content:"󱖡"}.mdi-hanger:before{content:"󰋈"}.mdi-hard-hat:before{content:"󰥯"}.mdi-harddisk:before{content:"󰋊"}.mdi-harddisk-plus:before{content:"󱁋"}.mdi-harddisk-remove:before{content:"󱁌"}.mdi-hat-fedora:before{content:"󰮤"}.mdi-hazard-lights:before{content:"󰲉"}.mdi-hdmi-port:before{content:"󱮸"}.mdi-hdr:before{content:"󰵽"}.mdi-hdr-off:before{content:"󰵾"}.mdi-head:before{content:"󱍞"}.mdi-head-alert:before{content:"󱌸"}.mdi-head-alert-outline:before{content:"󱌹"}.mdi-head-check:before{content:"󱌺"}.mdi-head-check-outline:before{content:"󱌻"}.mdi-head-cog:before{content:"󱌼"}.mdi-head-cog-outline:before{content:"󱌽"}.mdi-head-dots-horizontal:before{content:"󱌾"}.mdi-head-dots-horizontal-outline:before{content:"󱌿"}.mdi-head-flash:before{content:"󱍀"}.mdi-head-flash-outline:before{content:"󱍁"}.mdi-head-heart:before{content:"󱍂"}.mdi-head-heart-outline:before{content:"󱍃"}.mdi-head-lightbulb:before{content:"󱍄"}.mdi-head-lightbulb-outline:before{content:"󱍅"}.mdi-head-minus:before{content:"󱍆"}.mdi-head-minus-outline:before{content:"󱍇"}.mdi-head-outline:before{content:"󱍟"}.mdi-head-plus:before{content:"󱍈"}.mdi-head-plus-outline:before{content:"󱍉"}.mdi-head-question:before{content:"󱍊"}.mdi-head-question-outline:before{content:"󱍋"}.mdi-head-remove:before{content:"󱍌"}.mdi-head-remove-outline:before{content:"󱍍"}.mdi-head-snowflake:before{content:"󱍎"}.mdi-head-snowflake-outline:before{content:"󱍏"}.mdi-head-sync:before{content:"󱍐"}.mdi-head-sync-outline:before{content:"󱍑"}.mdi-headphones:before{content:"󰋋"}.mdi-headphones-bluetooth:before{content:"󰥰"}.mdi-headphones-box:before{content:"󰋌"}.mdi-headphones-off:before{content:"󰟎"}.mdi-headphones-settings:before{content:"󰋍"}.mdi-headset:before{content:"󰋎"}.mdi-headset-dock:before{content:"󰋏"}.mdi-headset-off:before{content:"󰋐"}.mdi-heart:before{content:"󰋑"}.mdi-heart-box:before{content:"󰋒"}.mdi-heart-box-outline:before{content:"󰋓"}.mdi-heart-broken:before{content:"󰋔"}.mdi-heart-broken-outline:before{content:"󰴔"}.mdi-heart-circle:before{content:"󰥱"}.mdi-heart-circle-outline:before{content:"󰥲"}.mdi-heart-cog:before{content:"󱙣"}.mdi-heart-cog-outline:before{content:"󱙤"}.mdi-heart-flash:before{content:"󰻹"}.mdi-heart-half:before{content:"󰛟"}.mdi-heart-half-full:before{content:"󰛞"}.mdi-heart-half-outline:before{content:"󰛠"}.mdi-heart-minus:before{content:"󱐯"}.mdi-heart-minus-outline:before{content:"󱐲"}.mdi-heart-multiple:before{content:"󰩖"}.mdi-heart-multiple-outline:before{content:"󰩗"}.mdi-heart-off:before{content:"󰝙"}.mdi-heart-off-outline:before{content:"󱐴"}.mdi-heart-outline:before{content:"󰋕"}.mdi-heart-plus:before{content:"󱐮"}.mdi-heart-plus-outline:before{content:"󱐱"}.mdi-heart-pulse:before{content:"󰗶"}.mdi-heart-remove:before{content:"󱐰"}.mdi-heart-remove-outline:before{content:"󱐳"}.mdi-heart-settings:before{content:"󱙥"}.mdi-heart-settings-outline:before{content:"󱙦"}.mdi-heat-pump:before{content:"󱩃"}.mdi-heat-pump-outline:before{content:"󱩄"}.mdi-heat-wave:before{content:"󱩅"}.mdi-heating-coil:before{content:"󱪯"}.mdi-helicopter:before{content:"󰫂"}.mdi-help:before{content:"󰋖"}.mdi-help-box:before{content:"󰞋"}.mdi-help-box-multiple:before{content:"󱰊"}.mdi-help-box-multiple-outline:before{content:"󱰋"}.mdi-help-box-outline:before{content:"󱰌"}.mdi-help-circle:before{content:"󰋗"}.mdi-help-circle-outline:before{content:"󰘥"}.mdi-help-network:before{content:"󰛵"}.mdi-help-network-outline:before{content:"󰲊"}.mdi-help-rhombus:before{content:"󰮥"}.mdi-help-rhombus-outline:before{content:"󰮦"}.mdi-hexadecimal:before{content:"󱊧"}.mdi-hexagon:before{content:"󰋘"}.mdi-hexagon-multiple:before{content:"󰛡"}.mdi-hexagon-multiple-outline:before{content:"󱃲"}.mdi-hexagon-outline:before{content:"󰋙"}.mdi-hexagon-slice-1:before{content:"󰫃"}.mdi-hexagon-slice-2:before{content:"󰫄"}.mdi-hexagon-slice-3:before{content:"󰫅"}.mdi-hexagon-slice-4:before{content:"󰫆"}.mdi-hexagon-slice-5:before{content:"󰫇"}.mdi-hexagon-slice-6:before{content:"󰫈"}.mdi-hexagram:before{content:"󰫉"}.mdi-hexagram-outline:before{content:"󰫊"}.mdi-high-definition:before{content:"󰟏"}.mdi-high-definition-box:before{content:"󰡸"}.mdi-highway:before{content:"󰗷"}.mdi-hiking:before{content:"󰵿"}.mdi-history:before{content:"󰋚"}.mdi-hockey-puck:before{content:"󰡹"}.mdi-hockey-sticks:before{content:"󰡺"}.mdi-hololens:before{content:"󰋛"}.mdi-home:before{content:"󰋜"}.mdi-home-account:before{content:"󰠦"}.mdi-home-alert:before{content:"󰡻"}.mdi-home-alert-outline:before{content:"󱗐"}.mdi-home-analytics:before{content:"󰺺"}.mdi-home-assistant:before{content:"󰟐"}.mdi-home-automation:before{content:"󰟑"}.mdi-home-battery:before{content:"󱤁"}.mdi-home-battery-outline:before{content:"󱤂"}.mdi-home-circle:before{content:"󰟒"}.mdi-home-circle-outline:before{content:"󱁍"}.mdi-home-city:before{content:"󰴕"}.mdi-home-city-outline:before{content:"󰴖"}.mdi-home-clock:before{content:"󱨒"}.mdi-home-clock-outline:before{content:"󱨓"}.mdi-home-edit:before{content:"󱅙"}.mdi-home-edit-outline:before{content:"󱅚"}.mdi-home-export-outline:before{content:"󰾛"}.mdi-home-flood:before{content:"󰻺"}.mdi-home-floor-0:before{content:"󰷒"}.mdi-home-floor-1:before{content:"󰶀"}.mdi-home-floor-2:before{content:"󰶁"}.mdi-home-floor-3:before{content:"󰶂"}.mdi-home-floor-a:before{content:"󰶃"}.mdi-home-floor-b:before{content:"󰶄"}.mdi-home-floor-g:before{content:"󰶅"}.mdi-home-floor-l:before{content:"󰶆"}.mdi-home-floor-negative-1:before{content:"󰷓"}.mdi-home-group:before{content:"󰷔"}.mdi-home-group-minus:before{content:"󱧁"}.mdi-home-group-plus:before{content:"󱧀"}.mdi-home-group-remove:before{content:"󱧂"}.mdi-home-heart:before{content:"󰠧"}.mdi-home-import-outline:before{content:"󰾜"}.mdi-home-lightbulb:before{content:"󱉑"}.mdi-home-lightbulb-outline:before{content:"󱉒"}.mdi-home-lightning-bolt:before{content:"󱤃"}.mdi-home-lightning-bolt-outline:before{content:"󱤄"}.mdi-home-lock:before{content:"󰣫"}.mdi-home-lock-open:before{content:"󰣬"}.mdi-home-map-marker:before{content:"󰗸"}.mdi-home-minus:before{content:"󰥴"}.mdi-home-minus-outline:before{content:"󱏕"}.mdi-home-modern:before{content:"󰋝"}.mdi-home-off:before{content:"󱩆"}.mdi-home-off-outline:before{content:"󱩇"}.mdi-home-outline:before{content:"󰚡"}.mdi-home-percent:before{content:"󱱼"}.mdi-home-percent-outline:before{content:"󱱽"}.mdi-home-plus:before{content:"󰥵"}.mdi-home-plus-outline:before{content:"󱏖"}.mdi-home-remove:before{content:"󱉇"}.mdi-home-remove-outline:before{content:"󱏗"}.mdi-home-roof:before{content:"󱄫"}.mdi-home-search:before{content:"󱎰"}.mdi-home-search-outline:before{content:"󱎱"}.mdi-home-silo:before{content:"󱮠"}.mdi-home-silo-outline:before{content:"󱮡"}.mdi-home-sound-in:before{content:"󱰯"}.mdi-home-sound-in-outline:before{content:"󱰰"}.mdi-home-sound-out:before{content:"󱰱"}.mdi-home-sound-out-outline:before{content:"󱰲"}.mdi-home-switch:before{content:"󱞔"}.mdi-home-switch-outline:before{content:"󱞕"}.mdi-home-thermometer:before{content:"󰽔"}.mdi-home-thermometer-outline:before{content:"󰽕"}.mdi-home-variant:before{content:"󰋞"}.mdi-home-variant-outline:before{content:"󰮧"}.mdi-hook:before{content:"󰛢"}.mdi-hook-off:before{content:"󰛣"}.mdi-hoop-house:before{content:"󰹖"}.mdi-hops:before{content:"󰋟"}.mdi-horizontal-rotate-clockwise:before{content:"󱃳"}.mdi-horizontal-rotate-counterclockwise:before{content:"󱃴"}.mdi-horse:before{content:"󱖿"}.mdi-horse-human:before{content:"󱗀"}.mdi-horse-variant:before{content:"󱗁"}.mdi-horse-variant-fast:before{content:"󱡮"}.mdi-horseshoe:before{content:"󰩘"}.mdi-hospital:before{content:"󰿶"}.mdi-hospital-box:before{content:"󰋠"}.mdi-hospital-box-outline:before{content:"󰿷"}.mdi-hospital-building:before{content:"󰋡"}.mdi-hospital-marker:before{content:"󰋢"}.mdi-hot-tub:before{content:"󰠨"}.mdi-hours-24:before{content:"󱑸"}.mdi-hubspot:before{content:"󰴗"}.mdi-hulu:before{content:"󰠩"}.mdi-human:before{content:"󰋦"}.mdi-human-baby-changing-table:before{content:"󱎋"}.mdi-human-cane:before{content:"󱖁"}.mdi-human-capacity-decrease:before{content:"󱖛"}.mdi-human-capacity-increase:before{content:"󱖜"}.mdi-human-child:before{content:"󰋧"}.mdi-human-dolly:before{content:"󱦀"}.mdi-human-edit:before{content:"󱓨"}.mdi-human-female:before{content:"󰙉"}.mdi-human-female-boy:before{content:"󰩙"}.mdi-human-female-dance:before{content:"󱗉"}.mdi-human-female-female:before{content:"󰩚"}.mdi-human-female-girl:before{content:"󰩛"}.mdi-human-greeting:before{content:"󱟄"}.mdi-human-greeting-proximity:before{content:"󱖝"}.mdi-human-greeting-variant:before{content:"󰙊"}.mdi-human-handsdown:before{content:"󰙋"}.mdi-human-handsup:before{content:"󰙌"}.mdi-human-male:before{content:"󰙍"}.mdi-human-male-board:before{content:"󰢐"}.mdi-human-male-board-poll:before{content:"󰡆"}.mdi-human-male-boy:before{content:"󰩜"}.mdi-human-male-child:before{content:"󱎌"}.mdi-human-male-female:before{content:"󰋨"}.mdi-human-male-female-child:before{content:"󱠣"}.mdi-human-male-girl:before{content:"󰩝"}.mdi-human-male-height:before{content:"󰻻"}.mdi-human-male-height-variant:before{content:"󰻼"}.mdi-human-male-male:before{content:"󰩞"}.mdi-human-non-binary:before{content:"󱡈"}.mdi-human-pregnant:before{content:"󰗏"}.mdi-human-queue:before{content:"󱕱"}.mdi-human-scooter:before{content:"󱇩"}.mdi-human-walker:before{content:"󱭱"}.mdi-human-wheelchair:before{content:"󱎍"}.mdi-human-white-cane:before{content:"󱦁"}.mdi-humble-bundle:before{content:"󰝄"}.mdi-hvac:before{content:"󱍒"}.mdi-hvac-off:before{content:"󱖞"}.mdi-hydraulic-oil-level:before{content:"󱌤"}.mdi-hydraulic-oil-temperature:before{content:"󱌥"}.mdi-hydro-power:before{content:"󱋥"}.mdi-hydrogen-station:before{content:"󱢔"}.mdi-ice-cream:before{content:"󰠪"}.mdi-ice-cream-off:before{content:"󰹒"}.mdi-ice-pop:before{content:"󰻽"}.mdi-id-card:before{content:"󰿀"}.mdi-identifier:before{content:"󰻾"}.mdi-ideogram-cjk:before{content:"󱌱"}.mdi-ideogram-cjk-variant:before{content:"󱌲"}.mdi-image:before{content:"󰋩"}.mdi-image-album:before{content:"󰋪"}.mdi-image-area:before{content:"󰋫"}.mdi-image-area-close:before{content:"󰋬"}.mdi-image-auto-adjust:before{content:"󰿁"}.mdi-image-broken:before{content:"󰋭"}.mdi-image-broken-variant:before{content:"󰋮"}.mdi-image-check:before{content:"󱬥"}.mdi-image-check-outline:before{content:"󱬦"}.mdi-image-edit:before{content:"󱇣"}.mdi-image-edit-outline:before{content:"󱇤"}.mdi-image-filter-black-white:before{content:"󰋰"}.mdi-image-filter-center-focus:before{content:"󰋱"}.mdi-image-filter-center-focus-strong:before{content:"󰻿"}.mdi-image-filter-center-focus-strong-outline:before{content:"󰼀"}.mdi-image-filter-center-focus-weak:before{content:"󰋲"}.mdi-image-filter-drama:before{content:"󰋳"}.mdi-image-filter-drama-outline:before{content:"󱯿"}.mdi-image-filter-frames:before{content:"󰋴"}.mdi-image-filter-hdr:before{content:"󰋵"}.mdi-image-filter-hdr-outline:before{content:"󱱤"}.mdi-image-filter-none:before{content:"󰋶"}.mdi-image-filter-tilt-shift:before{content:"󰋷"}.mdi-image-filter-vintage:before{content:"󰋸"}.mdi-image-frame:before{content:"󰹉"}.mdi-image-lock:before{content:"󱪰"}.mdi-image-lock-outline:before{content:"󱪱"}.mdi-image-marker:before{content:"󱝻"}.mdi-image-marker-outline:before{content:"󱝼"}.mdi-image-minus:before{content:"󱐙"}.mdi-image-minus-outline:before{content:"󱭇"}.mdi-image-move:before{content:"󰧸"}.mdi-image-multiple:before{content:"󰋹"}.mdi-image-multiple-outline:before{content:"󰋯"}.mdi-image-off:before{content:"󰠫"}.mdi-image-off-outline:before{content:"󱇑"}.mdi-image-outline:before{content:"󰥶"}.mdi-image-plus:before{content:"󰡼"}.mdi-image-plus-outline:before{content:"󱭆"}.mdi-image-refresh:before{content:"󱧾"}.mdi-image-refresh-outline:before{content:"󱧿"}.mdi-image-remove:before{content:"󱐘"}.mdi-image-remove-outline:before{content:"󱭈"}.mdi-image-search:before{content:"󰥷"}.mdi-image-search-outline:before{content:"󰥸"}.mdi-image-size-select-actual:before{content:"󰲍"}.mdi-image-size-select-large:before{content:"󰲎"}.mdi-image-size-select-small:before{content:"󰲏"}.mdi-image-sync:before{content:"󱨀"}.mdi-image-sync-outline:before{content:"󱨁"}.mdi-image-text:before{content:"󱘍"}.mdi-import:before{content:"󰋺"}.mdi-inbox:before{content:"󰚇"}.mdi-inbox-arrow-down:before{content:"󰋻"}.mdi-inbox-arrow-down-outline:before{content:"󱉰"}.mdi-inbox-arrow-up:before{content:"󰏑"}.mdi-inbox-arrow-up-outline:before{content:"󱉱"}.mdi-inbox-full:before{content:"󱉲"}.mdi-inbox-full-outline:before{content:"󱉳"}.mdi-inbox-multiple:before{content:"󰢰"}.mdi-inbox-multiple-outline:before{content:"󰮨"}.mdi-inbox-outline:before{content:"󱉴"}.mdi-inbox-remove:before{content:"󱖟"}.mdi-inbox-remove-outline:before{content:"󱖠"}.mdi-incognito:before{content:"󰗹"}.mdi-incognito-circle:before{content:"󱐡"}.mdi-incognito-circle-off:before{content:"󱐢"}.mdi-incognito-off:before{content:"󰁵"}.mdi-induction:before{content:"󱡌"}.mdi-infinity:before{content:"󰛤"}.mdi-information:before{content:"󰋼"}.mdi-information-box:before{content:"󱱥"}.mdi-information-box-outline:before{content:"󱱦"}.mdi-information-off:before{content:"󱞌"}.mdi-information-off-outline:before{content:"󱞍"}.mdi-information-outline:before{content:"󰋽"}.mdi-information-slab-box:before{content:"󱱧"}.mdi-information-slab-box-outline:before{content:"󱱨"}.mdi-information-slab-circle:before{content:"󱱩"}.mdi-information-slab-circle-outline:before{content:"󱱪"}.mdi-information-slab-symbol:before{content:"󱱫"}.mdi-information-symbol:before{content:"󱱬"}.mdi-information-variant:before{content:"󰙎"}.mdi-information-variant-box:before{content:"󱱭"}.mdi-information-variant-box-outline:before{content:"󱱮"}.mdi-information-variant-circle:before{content:"󱱯"}.mdi-information-variant-circle-outline:before{content:"󱱰"}.mdi-instagram:before{content:"󰋾"}.mdi-instrument-triangle:before{content:"󱁎"}.mdi-integrated-circuit-chip:before{content:"󱤓"}.mdi-invert-colors:before{content:"󰌁"}.mdi-invert-colors-off:before{content:"󰹊"}.mdi-iobroker:before{content:"󱋨"}.mdi-ip:before{content:"󰩟"}.mdi-ip-network:before{content:"󰩠"}.mdi-ip-network-outline:before{content:"󰲐"}.mdi-ip-outline:before{content:"󱦂"}.mdi-ipod:before{content:"󰲑"}.mdi-iron:before{content:"󱠤"}.mdi-iron-board:before{content:"󱠸"}.mdi-iron-outline:before{content:"󱠥"}.mdi-island:before{content:"󱁏"}.mdi-iv-bag:before{content:"󱂹"}.mdi-jabber:before{content:"󰷕"}.mdi-jeepney:before{content:"󰌂"}.mdi-jellyfish:before{content:"󰼁"}.mdi-jellyfish-outline:before{content:"󰼂"}.mdi-jira:before{content:"󰌃"}.mdi-jquery:before{content:"󰡽"}.mdi-jsfiddle:before{content:"󰌄"}.mdi-jump-rope:before{content:"󱋿"}.mdi-kabaddi:before{content:"󰶇"}.mdi-kangaroo:before{content:"󱕘"}.mdi-karate:before{content:"󰠬"}.mdi-kayaking:before{content:"󰢯"}.mdi-keg:before{content:"󰌅"}.mdi-kettle:before{content:"󰗺"}.mdi-kettle-alert:before{content:"󱌗"}.mdi-kettle-alert-outline:before{content:"󱌘"}.mdi-kettle-off:before{content:"󱌛"}.mdi-kettle-off-outline:before{content:"󱌜"}.mdi-kettle-outline:before{content:"󰽖"}.mdi-kettle-pour-over:before{content:"󱜼"}.mdi-kettle-steam:before{content:"󱌙"}.mdi-kettle-steam-outline:before{content:"󱌚"}.mdi-kettlebell:before{content:"󱌀"}.mdi-key:before{content:"󰌆"}.mdi-key-alert:before{content:"󱦃"}.mdi-key-alert-outline:before{content:"󱦄"}.mdi-key-arrow-right:before{content:"󱌒"}.mdi-key-chain:before{content:"󱕴"}.mdi-key-chain-variant:before{content:"󱕵"}.mdi-key-change:before{content:"󰌇"}.mdi-key-link:before{content:"󱆟"}.mdi-key-minus:before{content:"󰌈"}.mdi-key-outline:before{content:"󰷖"}.mdi-key-plus:before{content:"󰌉"}.mdi-key-remove:before{content:"󰌊"}.mdi-key-star:before{content:"󱆞"}.mdi-key-variant:before{content:"󰌋"}.mdi-key-wireless:before{content:"󰿂"}.mdi-keyboard:before{content:"󰌌"}.mdi-keyboard-backspace:before{content:"󰌍"}.mdi-keyboard-caps:before{content:"󰌎"}.mdi-keyboard-close:before{content:"󰌏"}.mdi-keyboard-close-outline:before{content:"󱰀"}.mdi-keyboard-esc:before{content:"󱊷"}.mdi-keyboard-f1:before{content:"󱊫"}.mdi-keyboard-f10:before{content:"󱊴"}.mdi-keyboard-f11:before{content:"󱊵"}.mdi-keyboard-f12:before{content:"󱊶"}.mdi-keyboard-f2:before{content:"󱊬"}.mdi-keyboard-f3:before{content:"󱊭"}.mdi-keyboard-f4:before{content:"󱊮"}.mdi-keyboard-f5:before{content:"󱊯"}.mdi-keyboard-f6:before{content:"󱊰"}.mdi-keyboard-f7:before{content:"󱊱"}.mdi-keyboard-f8:before{content:"󱊲"}.mdi-keyboard-f9:before{content:"󱊳"}.mdi-keyboard-off:before{content:"󰌐"}.mdi-keyboard-off-outline:before{content:"󰹋"}.mdi-keyboard-outline:before{content:"󰥻"}.mdi-keyboard-return:before{content:"󰌑"}.mdi-keyboard-settings:before{content:"󰧹"}.mdi-keyboard-settings-outline:before{content:"󰧺"}.mdi-keyboard-space:before{content:"󱁐"}.mdi-keyboard-tab:before{content:"󰌒"}.mdi-keyboard-tab-reverse:before{content:"󰌥"}.mdi-keyboard-variant:before{content:"󰌓"}.mdi-khanda:before{content:"󱃽"}.mdi-kickstarter:before{content:"󰝅"}.mdi-kite:before{content:"󱦅"}.mdi-kite-outline:before{content:"󱦆"}.mdi-kitesurfing:before{content:"󱝄"}.mdi-klingon:before{content:"󱍛"}.mdi-knife:before{content:"󰧻"}.mdi-knife-military:before{content:"󰧼"}.mdi-knob:before{content:"󱮖"}.mdi-koala:before{content:"󱜿"}.mdi-kodi:before{content:"󰌔"}.mdi-kubernetes:before{content:"󱃾"}.mdi-label:before{content:"󰌕"}.mdi-label-multiple:before{content:"󱍵"}.mdi-label-multiple-outline:before{content:"󱍶"}.mdi-label-off:before{content:"󰫋"}.mdi-label-off-outline:before{content:"󰫌"}.mdi-label-outline:before{content:"󰌖"}.mdi-label-percent:before{content:"󱋪"}.mdi-label-percent-outline:before{content:"󱋫"}.mdi-label-variant:before{content:"󰫍"}.mdi-label-variant-outline:before{content:"󰫎"}.mdi-ladder:before{content:"󱖢"}.mdi-ladybug:before{content:"󰠭"}.mdi-lambda:before{content:"󰘧"}.mdi-lamp:before{content:"󰚵"}.mdi-lamp-outline:before{content:"󱟐"}.mdi-lamps:before{content:"󱕶"}.mdi-lamps-outline:before{content:"󱟑"}.mdi-lan:before{content:"󰌗"}.mdi-lan-check:before{content:"󱊪"}.mdi-lan-connect:before{content:"󰌘"}.mdi-lan-disconnect:before{content:"󰌙"}.mdi-lan-pending:before{content:"󰌚"}.mdi-land-fields:before{content:"󱪲"}.mdi-land-plots:before{content:"󱪳"}.mdi-land-plots-circle:before{content:"󱪴"}.mdi-land-plots-circle-variant:before{content:"󱪵"}.mdi-land-plots-marker:before{content:"󱱝"}.mdi-land-rows-horizontal:before{content:"󱪶"}.mdi-land-rows-vertical:before{content:"󱪷"}.mdi-landslide:before{content:"󱩈"}.mdi-landslide-outline:before{content:"󱩉"}.mdi-language-c:before{content:"󰙱"}.mdi-language-cpp:before{content:"󰙲"}.mdi-language-csharp:before{content:"󰌛"}.mdi-language-css3:before{content:"󰌜"}.mdi-language-fortran:before{content:"󱈚"}.mdi-language-go:before{content:"󰟓"}.mdi-language-haskell:before{content:"󰲒"}.mdi-language-html5:before{content:"󰌝"}.mdi-language-java:before{content:"󰬷"}.mdi-language-javascript:before{content:"󰌞"}.mdi-language-kotlin:before{content:"󱈙"}.mdi-language-lua:before{content:"󰢱"}.mdi-language-markdown:before{content:"󰍔"}.mdi-language-markdown-outline:before{content:"󰽛"}.mdi-language-php:before{content:"󰌟"}.mdi-language-python:before{content:"󰌠"}.mdi-language-r:before{content:"󰟔"}.mdi-language-ruby:before{content:"󰴭"}.mdi-language-ruby-on-rails:before{content:"󰫏"}.mdi-language-rust:before{content:"󱘗"}.mdi-language-swift:before{content:"󰛥"}.mdi-language-typescript:before{content:"󰛦"}.mdi-language-xaml:before{content:"󰙳"}.mdi-laptop:before{content:"󰌢"}.mdi-laptop-account:before{content:"󱩊"}.mdi-laptop-off:before{content:"󰛧"}.mdi-laravel:before{content:"󰫐"}.mdi-laser-pointer:before{content:"󱒄"}.mdi-lasso:before{content:"󰼃"}.mdi-lastpass:before{content:"󰑆"}.mdi-latitude:before{content:"󰽗"}.mdi-launch:before{content:"󰌧"}.mdi-lava-lamp:before{content:"󰟕"}.mdi-layers:before{content:"󰌨"}.mdi-layers-edit:before{content:"󱢒"}.mdi-layers-minus:before{content:"󰹌"}.mdi-layers-off:before{content:"󰌩"}.mdi-layers-off-outline:before{content:"󰧽"}.mdi-layers-outline:before{content:"󰧾"}.mdi-layers-plus:before{content:"󰹍"}.mdi-layers-remove:before{content:"󰹎"}.mdi-layers-search:before{content:"󱈆"}.mdi-layers-search-outline:before{content:"󱈇"}.mdi-layers-triple:before{content:"󰽘"}.mdi-layers-triple-outline:before{content:"󰽙"}.mdi-lead-pencil:before{content:"󰙏"}.mdi-leaf:before{content:"󰌪"}.mdi-leaf-circle:before{content:"󱤅"}.mdi-leaf-circle-outline:before{content:"󱤆"}.mdi-leaf-maple:before{content:"󰲓"}.mdi-leaf-maple-off:before{content:"󱋚"}.mdi-leaf-off:before{content:"󱋙"}.mdi-leak:before{content:"󰷗"}.mdi-leak-off:before{content:"󰷘"}.mdi-lectern:before{content:"󱫰"}.mdi-led-off:before{content:"󰌫"}.mdi-led-on:before{content:"󰌬"}.mdi-led-outline:before{content:"󰌭"}.mdi-led-strip:before{content:"󰟖"}.mdi-led-strip-variant:before{content:"󱁑"}.mdi-led-strip-variant-off:before{content:"󱩋"}.mdi-led-variant-off:before{content:"󰌮"}.mdi-led-variant-on:before{content:"󰌯"}.mdi-led-variant-outline:before{content:"󰌰"}.mdi-leek:before{content:"󱅽"}.mdi-less-than:before{content:"󰥼"}.mdi-less-than-or-equal:before{content:"󰥽"}.mdi-library:before{content:"󰌱"}.mdi-library-outline:before{content:"󱨢"}.mdi-library-shelves:before{content:"󰮩"}.mdi-license:before{content:"󰿃"}.mdi-lifebuoy:before{content:"󰡾"}.mdi-light-flood-down:before{content:"󱦇"}.mdi-light-flood-up:before{content:"󱦈"}.mdi-light-recessed:before{content:"󱞛"}.mdi-light-switch:before{content:"󰥾"}.mdi-light-switch-off:before{content:"󱨤"}.mdi-lightbulb:before{content:"󰌵"}.mdi-lightbulb-alert:before{content:"󱧡"}.mdi-lightbulb-alert-outline:before{content:"󱧢"}.mdi-lightbulb-auto:before{content:"󱠀"}.mdi-lightbulb-auto-outline:before{content:"󱠁"}.mdi-lightbulb-cfl:before{content:"󱈈"}.mdi-lightbulb-cfl-off:before{content:"󱈉"}.mdi-lightbulb-cfl-spiral:before{content:"󱉵"}.mdi-lightbulb-cfl-spiral-off:before{content:"󱋃"}.mdi-lightbulb-fluorescent-tube:before{content:"󱠄"}.mdi-lightbulb-fluorescent-tube-outline:before{content:"󱠅"}.mdi-lightbulb-group:before{content:"󱉓"}.mdi-lightbulb-group-off:before{content:"󱋍"}.mdi-lightbulb-group-off-outline:before{content:"󱋎"}.mdi-lightbulb-group-outline:before{content:"󱉔"}.mdi-lightbulb-multiple:before{content:"󱉕"}.mdi-lightbulb-multiple-off:before{content:"󱋏"}.mdi-lightbulb-multiple-off-outline:before{content:"󱋐"}.mdi-lightbulb-multiple-outline:before{content:"󱉖"}.mdi-lightbulb-night:before{content:"󱩌"}.mdi-lightbulb-night-outline:before{content:"󱩍"}.mdi-lightbulb-off:before{content:"󰹏"}.mdi-lightbulb-off-outline:before{content:"󰹐"}.mdi-lightbulb-on:before{content:"󰛨"}.mdi-lightbulb-on-10:before{content:"󱩎"}.mdi-lightbulb-on-20:before{content:"󱩏"}.mdi-lightbulb-on-30:before{content:"󱩐"}.mdi-lightbulb-on-40:before{content:"󱩑"}.mdi-lightbulb-on-50:before{content:"󱩒"}.mdi-lightbulb-on-60:before{content:"󱩓"}.mdi-lightbulb-on-70:before{content:"󱩔"}.mdi-lightbulb-on-80:before{content:"󱩕"}.mdi-lightbulb-on-90:before{content:"󱩖"}.mdi-lightbulb-on-outline:before{content:"󰛩"}.mdi-lightbulb-outline:before{content:"󰌶"}.mdi-lightbulb-question:before{content:"󱧣"}.mdi-lightbulb-question-outline:before{content:"󱧤"}.mdi-lightbulb-spot:before{content:"󱟴"}.mdi-lightbulb-spot-off:before{content:"󱟵"}.mdi-lightbulb-variant:before{content:"󱠂"}.mdi-lightbulb-variant-outline:before{content:"󱠃"}.mdi-lighthouse:before{content:"󰧿"}.mdi-lighthouse-on:before{content:"󰨀"}.mdi-lightning-bolt:before{content:"󱐋"}.mdi-lightning-bolt-circle:before{content:"󰠠"}.mdi-lightning-bolt-outline:before{content:"󱐌"}.mdi-line-scan:before{content:"󰘤"}.mdi-lingerie:before{content:"󱑶"}.mdi-link:before{content:"󰌷"}.mdi-link-box:before{content:"󰴚"}.mdi-link-box-outline:before{content:"󰴛"}.mdi-link-box-variant:before{content:"󰴜"}.mdi-link-box-variant-outline:before{content:"󰴝"}.mdi-link-lock:before{content:"󱂺"}.mdi-link-off:before{content:"󰌸"}.mdi-link-plus:before{content:"󰲔"}.mdi-link-variant:before{content:"󰌹"}.mdi-link-variant-minus:before{content:"󱃿"}.mdi-link-variant-off:before{content:"󰌺"}.mdi-link-variant-plus:before{content:"󱄀"}.mdi-link-variant-remove:before{content:"󱄁"}.mdi-linkedin:before{content:"󰌻"}.mdi-linux:before{content:"󰌽"}.mdi-linux-mint:before{content:"󰣭"}.mdi-lipstick:before{content:"󱎵"}.mdi-liquid-spot:before{content:"󱠦"}.mdi-liquor:before{content:"󱤞"}.mdi-list-box:before{content:"󱭻"}.mdi-list-box-outline:before{content:"󱭼"}.mdi-list-status:before{content:"󱖫"}.mdi-litecoin:before{content:"󰩡"}.mdi-loading:before{content:"󰝲"}.mdi-location-enter:before{content:"󰿄"}.mdi-location-exit:before{content:"󰿅"}.mdi-lock:before{content:"󰌾"}.mdi-lock-alert:before{content:"󰣮"}.mdi-lock-alert-outline:before{content:"󱗑"}.mdi-lock-check:before{content:"󱎚"}.mdi-lock-check-outline:before{content:"󱚨"}.mdi-lock-clock:before{content:"󰥿"}.mdi-lock-minus:before{content:"󱚩"}.mdi-lock-minus-outline:before{content:"󱚪"}.mdi-lock-off:before{content:"󱙱"}.mdi-lock-off-outline:before{content:"󱙲"}.mdi-lock-open:before{content:"󰌿"}.mdi-lock-open-alert:before{content:"󱎛"}.mdi-lock-open-alert-outline:before{content:"󱗒"}.mdi-lock-open-check:before{content:"󱎜"}.mdi-lock-open-check-outline:before{content:"󱚫"}.mdi-lock-open-minus:before{content:"󱚬"}.mdi-lock-open-minus-outline:before{content:"󱚭"}.mdi-lock-open-outline:before{content:"󰍀"}.mdi-lock-open-plus:before{content:"󱚮"}.mdi-lock-open-plus-outline:before{content:"󱚯"}.mdi-lock-open-remove:before{content:"󱚰"}.mdi-lock-open-remove-outline:before{content:"󱚱"}.mdi-lock-open-variant:before{content:"󰿆"}.mdi-lock-open-variant-outline:before{content:"󰿇"}.mdi-lock-outline:before{content:"󰍁"}.mdi-lock-pattern:before{content:"󰛪"}.mdi-lock-percent:before{content:"󱰒"}.mdi-lock-percent-open:before{content:"󱰓"}.mdi-lock-percent-open-outline:before{content:"󱰔"}.mdi-lock-percent-open-variant:before{content:"󱰕"}.mdi-lock-percent-open-variant-outline:before{content:"󱰖"}.mdi-lock-percent-outline:before{content:"󱰗"}.mdi-lock-plus:before{content:"󰗻"}.mdi-lock-plus-outline:before{content:"󱚲"}.mdi-lock-question:before{content:"󰣯"}.mdi-lock-remove:before{content:"󱚳"}.mdi-lock-remove-outline:before{content:"󱚴"}.mdi-lock-reset:before{content:"󰝳"}.mdi-lock-smart:before{content:"󰢲"}.mdi-locker:before{content:"󰟗"}.mdi-locker-multiple:before{content:"󰟘"}.mdi-login:before{content:"󰍂"}.mdi-login-variant:before{content:"󰗼"}.mdi-logout:before{content:"󰍃"}.mdi-logout-variant:before{content:"󰗽"}.mdi-longitude:before{content:"󰽚"}.mdi-looks:before{content:"󰍄"}.mdi-lotion:before{content:"󱖂"}.mdi-lotion-outline:before{content:"󱖃"}.mdi-lotion-plus:before{content:"󱖄"}.mdi-lotion-plus-outline:before{content:"󱖅"}.mdi-loupe:before{content:"󰍅"}.mdi-lumx:before{content:"󰍆"}.mdi-lungs:before{content:"󱂄"}.mdi-mace:before{content:"󱡃"}.mdi-magazine-pistol:before{content:"󰌤"}.mdi-magazine-rifle:before{content:"󰌣"}.mdi-magic-staff:before{content:"󱡄"}.mdi-magnet:before{content:"󰍇"}.mdi-magnet-on:before{content:"󰍈"}.mdi-magnify:before{content:"󰍉"}.mdi-magnify-close:before{content:"󰦀"}.mdi-magnify-expand:before{content:"󱡴"}.mdi-magnify-minus:before{content:"󰍊"}.mdi-magnify-minus-cursor:before{content:"󰩢"}.mdi-magnify-minus-outline:before{content:"󰛬"}.mdi-magnify-plus:before{content:"󰍋"}.mdi-magnify-plus-cursor:before{content:"󰩣"}.mdi-magnify-plus-outline:before{content:"󰛭"}.mdi-magnify-remove-cursor:before{content:"󱈌"}.mdi-magnify-remove-outline:before{content:"󱈍"}.mdi-magnify-scan:before{content:"󱉶"}.mdi-mail:before{content:"󰺻"}.mdi-mailbox:before{content:"󰛮"}.mdi-mailbox-open:before{content:"󰶈"}.mdi-mailbox-open-outline:before{content:"󰶉"}.mdi-mailbox-open-up:before{content:"󰶊"}.mdi-mailbox-open-up-outline:before{content:"󰶋"}.mdi-mailbox-outline:before{content:"󰶌"}.mdi-mailbox-up:before{content:"󰶍"}.mdi-mailbox-up-outline:before{content:"󰶎"}.mdi-manjaro:before{content:"󱘊"}.mdi-map:before{content:"󰍍"}.mdi-map-check:before{content:"󰺼"}.mdi-map-check-outline:before{content:"󰺽"}.mdi-map-clock:before{content:"󰴞"}.mdi-map-clock-outline:before{content:"󰴟"}.mdi-map-legend:before{content:"󰨁"}.mdi-map-marker:before{content:"󰍎"}.mdi-map-marker-account:before{content:"󱣣"}.mdi-map-marker-account-outline:before{content:"󱣤"}.mdi-map-marker-alert:before{content:"󰼅"}.mdi-map-marker-alert-outline:before{content:"󰼆"}.mdi-map-marker-check:before{content:"󰲕"}.mdi-map-marker-check-outline:before{content:"󱋻"}.mdi-map-marker-circle:before{content:"󰍏"}.mdi-map-marker-distance:before{content:"󰣰"}.mdi-map-marker-down:before{content:"󱄂"}.mdi-map-marker-left:before{content:"󱋛"}.mdi-map-marker-left-outline:before{content:"󱋝"}.mdi-map-marker-minus:before{content:"󰙐"}.mdi-map-marker-minus-outline:before{content:"󱋹"}.mdi-map-marker-multiple:before{content:"󰍐"}.mdi-map-marker-multiple-outline:before{content:"󱉷"}.mdi-map-marker-off:before{content:"󰍑"}.mdi-map-marker-off-outline:before{content:"󱋽"}.mdi-map-marker-outline:before{content:"󰟙"}.mdi-map-marker-path:before{content:"󰴠"}.mdi-map-marker-plus:before{content:"󰙑"}.mdi-map-marker-plus-outline:before{content:"󱋸"}.mdi-map-marker-question:before{content:"󰼇"}.mdi-map-marker-question-outline:before{content:"󰼈"}.mdi-map-marker-radius:before{content:"󰍒"}.mdi-map-marker-radius-outline:before{content:"󱋼"}.mdi-map-marker-remove:before{content:"󰼉"}.mdi-map-marker-remove-outline:before{content:"󱋺"}.mdi-map-marker-remove-variant:before{content:"󰼊"}.mdi-map-marker-right:before{content:"󱋜"}.mdi-map-marker-right-outline:before{content:"󱋞"}.mdi-map-marker-star:before{content:"󱘈"}.mdi-map-marker-star-outline:before{content:"󱘉"}.mdi-map-marker-up:before{content:"󱄃"}.mdi-map-minus:before{content:"󰦁"}.mdi-map-outline:before{content:"󰦂"}.mdi-map-plus:before{content:"󰦃"}.mdi-map-search:before{content:"󰦄"}.mdi-map-search-outline:before{content:"󰦅"}.mdi-mapbox:before{content:"󰮪"}.mdi-margin:before{content:"󰍓"}.mdi-marker:before{content:"󰙒"}.mdi-marker-cancel:before{content:"󰷙"}.mdi-marker-check:before{content:"󰍕"}.mdi-mastodon:before{content:"󰫑"}.mdi-material-design:before{content:"󰦆"}.mdi-material-ui:before{content:"󰍗"}.mdi-math-compass:before{content:"󰍘"}.mdi-math-cos:before{content:"󰲖"}.mdi-math-integral:before{content:"󰿈"}.mdi-math-integral-box:before{content:"󰿉"}.mdi-math-log:before{content:"󱂅"}.mdi-math-norm:before{content:"󰿊"}.mdi-math-norm-box:before{content:"󰿋"}.mdi-math-sin:before{content:"󰲗"}.mdi-math-tan:before{content:"󰲘"}.mdi-matrix:before{content:"󰘨"}.mdi-medal:before{content:"󰦇"}.mdi-medal-outline:before{content:"󱌦"}.mdi-medical-bag:before{content:"󰛯"}.mdi-medical-cotton-swab:before{content:"󱪸"}.mdi-medication:before{content:"󱬔"}.mdi-medication-outline:before{content:"󱬕"}.mdi-meditation:before{content:"󱅻"}.mdi-memory:before{content:"󰍛"}.mdi-menorah:before{content:"󱟔"}.mdi-menorah-fire:before{content:"󱟕"}.mdi-menu:before{content:"󰍜"}.mdi-menu-down:before{content:"󰍝"}.mdi-menu-down-outline:before{content:"󰚶"}.mdi-menu-left:before{content:"󰍞"}.mdi-menu-left-outline:before{content:"󰨂"}.mdi-menu-open:before{content:"󰮫"}.mdi-menu-right:before{content:"󰍟"}.mdi-menu-right-outline:before{content:"󰨃"}.mdi-menu-swap:before{content:"󰩤"}.mdi-menu-swap-outline:before{content:"󰩥"}.mdi-menu-up:before{content:"󰍠"}.mdi-menu-up-outline:before{content:"󰚷"}.mdi-merge:before{content:"󰽜"}.mdi-message:before{content:"󰍡"}.mdi-message-alert:before{content:"󰍢"}.mdi-message-alert-outline:before{content:"󰨄"}.mdi-message-arrow-left:before{content:"󱋲"}.mdi-message-arrow-left-outline:before{content:"󱋳"}.mdi-message-arrow-right:before{content:"󱋴"}.mdi-message-arrow-right-outline:before{content:"󱋵"}.mdi-message-badge:before{content:"󱥁"}.mdi-message-badge-outline:before{content:"󱥂"}.mdi-message-bookmark:before{content:"󱖬"}.mdi-message-bookmark-outline:before{content:"󱖭"}.mdi-message-bulleted:before{content:"󰚢"}.mdi-message-bulleted-off:before{content:"󰚣"}.mdi-message-check:before{content:"󱮊"}.mdi-message-check-outline:before{content:"󱮋"}.mdi-message-cog:before{content:"󰛱"}.mdi-message-cog-outline:before{content:"󱅲"}.mdi-message-draw:before{content:"󰍣"}.mdi-message-fast:before{content:"󱧌"}.mdi-message-fast-outline:before{content:"󱧍"}.mdi-message-flash:before{content:"󱖩"}.mdi-message-flash-outline:before{content:"󱖪"}.mdi-message-image:before{content:"󰍤"}.mdi-message-image-outline:before{content:"󱅬"}.mdi-message-lock:before{content:"󰿌"}.mdi-message-lock-outline:before{content:"󱅭"}.mdi-message-minus:before{content:"󱅮"}.mdi-message-minus-outline:before{content:"󱅯"}.mdi-message-off:before{content:"󱙍"}.mdi-message-off-outline:before{content:"󱙎"}.mdi-message-outline:before{content:"󰍥"}.mdi-message-plus:before{content:"󰙓"}.mdi-message-plus-outline:before{content:"󱂻"}.mdi-message-processing:before{content:"󰍦"}.mdi-message-processing-outline:before{content:"󱅰"}.mdi-message-question:before{content:"󱜺"}.mdi-message-question-outline:before{content:"󱜻"}.mdi-message-reply:before{content:"󰍧"}.mdi-message-reply-outline:before{content:"󱜽"}.mdi-message-reply-text:before{content:"󰍨"}.mdi-message-reply-text-outline:before{content:"󱜾"}.mdi-message-settings:before{content:"󰛰"}.mdi-message-settings-outline:before{content:"󱅱"}.mdi-message-star:before{content:"󰚚"}.mdi-message-star-outline:before{content:"󱉐"}.mdi-message-text:before{content:"󰍩"}.mdi-message-text-clock:before{content:"󱅳"}.mdi-message-text-clock-outline:before{content:"󱅴"}.mdi-message-text-fast:before{content:"󱧎"}.mdi-message-text-fast-outline:before{content:"󱧏"}.mdi-message-text-lock:before{content:"󰿍"}.mdi-message-text-lock-outline:before{content:"󱅵"}.mdi-message-text-outline:before{content:"󰍪"}.mdi-message-video:before{content:"󰍫"}.mdi-meteor:before{content:"󰘩"}.mdi-meter-electric:before{content:"󱩗"}.mdi-meter-electric-outline:before{content:"󱩘"}.mdi-meter-gas:before{content:"󱩙"}.mdi-meter-gas-outline:before{content:"󱩚"}.mdi-metronome:before{content:"󰟚"}.mdi-metronome-tick:before{content:"󰟛"}.mdi-micro-sd:before{content:"󰟜"}.mdi-microphone:before{content:"󰍬"}.mdi-microphone-message:before{content:"󰔊"}.mdi-microphone-message-off:before{content:"󰔋"}.mdi-microphone-minus:before{content:"󰢳"}.mdi-microphone-off:before{content:"󰍭"}.mdi-microphone-outline:before{content:"󰍮"}.mdi-microphone-plus:before{content:"󰢴"}.mdi-microphone-question:before{content:"󱦉"}.mdi-microphone-question-outline:before{content:"󱦊"}.mdi-microphone-settings:before{content:"󰍯"}.mdi-microphone-variant:before{content:"󰍰"}.mdi-microphone-variant-off:before{content:"󰍱"}.mdi-microscope:before{content:"󰙔"}.mdi-microsoft:before{content:"󰍲"}.mdi-microsoft-access:before{content:"󱎎"}.mdi-microsoft-azure:before{content:"󰠅"}.mdi-microsoft-azure-devops:before{content:"󰿕"}.mdi-microsoft-bing:before{content:"󰂤"}.mdi-microsoft-dynamics-365:before{content:"󰦈"}.mdi-microsoft-edge:before{content:"󰇩"}.mdi-microsoft-excel:before{content:"󱎏"}.mdi-microsoft-internet-explorer:before{content:"󰌀"}.mdi-microsoft-office:before{content:"󰏆"}.mdi-microsoft-onedrive:before{content:"󰏊"}.mdi-microsoft-onenote:before{content:"󰝇"}.mdi-microsoft-outlook:before{content:"󰴢"}.mdi-microsoft-powerpoint:before{content:"󱎐"}.mdi-microsoft-sharepoint:before{content:"󱎑"}.mdi-microsoft-teams:before{content:"󰊻"}.mdi-microsoft-visual-studio:before{content:"󰘐"}.mdi-microsoft-visual-studio-code:before{content:"󰨞"}.mdi-microsoft-windows:before{content:"󰖳"}.mdi-microsoft-windows-classic:before{content:"󰨡"}.mdi-microsoft-word:before{content:"󱎒"}.mdi-microsoft-xbox:before{content:"󰖹"}.mdi-microsoft-xbox-controller:before{content:"󰖺"}.mdi-microsoft-xbox-controller-battery-alert:before{content:"󰝋"}.mdi-microsoft-xbox-controller-battery-charging:before{content:"󰨢"}.mdi-microsoft-xbox-controller-battery-empty:before{content:"󰝌"}.mdi-microsoft-xbox-controller-battery-full:before{content:"󰝍"}.mdi-microsoft-xbox-controller-battery-low:before{content:"󰝎"}.mdi-microsoft-xbox-controller-battery-medium:before{content:"󰝏"}.mdi-microsoft-xbox-controller-battery-unknown:before{content:"󰝐"}.mdi-microsoft-xbox-controller-menu:before{content:"󰹯"}.mdi-microsoft-xbox-controller-off:before{content:"󰖻"}.mdi-microsoft-xbox-controller-view:before{content:"󰹰"}.mdi-microwave:before{content:"󰲙"}.mdi-microwave-off:before{content:"󱐣"}.mdi-middleware:before{content:"󰽝"}.mdi-middleware-outline:before{content:"󰽞"}.mdi-midi:before{content:"󰣱"}.mdi-midi-port:before{content:"󰣲"}.mdi-mine:before{content:"󰷚"}.mdi-minecraft:before{content:"󰍳"}.mdi-mini-sd:before{content:"󰨅"}.mdi-minidisc:before{content:"󰨆"}.mdi-minus:before{content:"󰍴"}.mdi-minus-box:before{content:"󰍵"}.mdi-minus-box-multiple:before{content:"󱅁"}.mdi-minus-box-multiple-outline:before{content:"󱅂"}.mdi-minus-box-outline:before{content:"󰛲"}.mdi-minus-circle:before{content:"󰍶"}.mdi-minus-circle-multiple:before{content:"󰍚"}.mdi-minus-circle-multiple-outline:before{content:"󰫓"}.mdi-minus-circle-off:before{content:"󱑙"}.mdi-minus-circle-off-outline:before{content:"󱑚"}.mdi-minus-circle-outline:before{content:"󰍷"}.mdi-minus-network:before{content:"󰍸"}.mdi-minus-network-outline:before{content:"󰲚"}.mdi-minus-thick:before{content:"󱘹"}.mdi-mirror:before{content:"󱇽"}.mdi-mirror-rectangle:before{content:"󱞟"}.mdi-mirror-variant:before{content:"󱞠"}.mdi-mixed-martial-arts:before{content:"󰶏"}.mdi-mixed-reality:before{content:"󰡿"}.mdi-molecule:before{content:"󰮬"}.mdi-molecule-co:before{content:"󱋾"}.mdi-molecule-co2:before{content:"󰟤"}.mdi-monitor:before{content:"󰍹"}.mdi-monitor-account:before{content:"󱩛"}.mdi-monitor-arrow-down:before{content:"󱧐"}.mdi-monitor-arrow-down-variant:before{content:"󱧑"}.mdi-monitor-cellphone:before{content:"󰦉"}.mdi-monitor-cellphone-star:before{content:"󰦊"}.mdi-monitor-dashboard:before{content:"󰨇"}.mdi-monitor-edit:before{content:"󱋆"}.mdi-monitor-eye:before{content:"󱎴"}.mdi-monitor-lock:before{content:"󰷛"}.mdi-monitor-multiple:before{content:"󰍺"}.mdi-monitor-off:before{content:"󰶐"}.mdi-monitor-screenshot:before{content:"󰹑"}.mdi-monitor-share:before{content:"󱒃"}.mdi-monitor-shimmer:before{content:"󱄄"}.mdi-monitor-small:before{content:"󱡶"}.mdi-monitor-speaker:before{content:"󰽟"}.mdi-monitor-speaker-off:before{content:"󰽠"}.mdi-monitor-star:before{content:"󰷜"}.mdi-monitor-vertical:before{content:"󱰳"}.mdi-moon-first-quarter:before{content:"󰽡"}.mdi-moon-full:before{content:"󰽢"}.mdi-moon-last-quarter:before{content:"󰽣"}.mdi-moon-new:before{content:"󰽤"}.mdi-moon-waning-crescent:before{content:"󰽥"}.mdi-moon-waning-gibbous:before{content:"󰽦"}.mdi-moon-waxing-crescent:before{content:"󰽧"}.mdi-moon-waxing-gibbous:before{content:"󰽨"}.mdi-moped:before{content:"󱂆"}.mdi-moped-electric:before{content:"󱖷"}.mdi-moped-electric-outline:before{content:"󱖸"}.mdi-moped-outline:before{content:"󱖹"}.mdi-more:before{content:"󰍻"}.mdi-mortar-pestle:before{content:"󱝈"}.mdi-mortar-pestle-plus:before{content:"󰏱"}.mdi-mosque:before{content:"󰵅"}.mdi-mosque-outline:before{content:"󱠧"}.mdi-mother-heart:before{content:"󱌔"}.mdi-mother-nurse:before{content:"󰴡"}.mdi-motion:before{content:"󱖲"}.mdi-motion-outline:before{content:"󱖳"}.mdi-motion-pause:before{content:"󱖐"}.mdi-motion-pause-outline:before{content:"󱖒"}.mdi-motion-play:before{content:"󱖏"}.mdi-motion-play-outline:before{content:"󱖑"}.mdi-motion-sensor:before{content:"󰶑"}.mdi-motion-sensor-off:before{content:"󱐵"}.mdi-motorbike:before{content:"󰍼"}.mdi-motorbike-electric:before{content:"󱖺"}.mdi-motorbike-off:before{content:"󱬖"}.mdi-mouse:before{content:"󰍽"}.mdi-mouse-bluetooth:before{content:"󰦋"}.mdi-mouse-move-down:before{content:"󱕐"}.mdi-mouse-move-up:before{content:"󱕑"}.mdi-mouse-move-vertical:before{content:"󱕒"}.mdi-mouse-off:before{content:"󰍾"}.mdi-mouse-variant:before{content:"󰍿"}.mdi-mouse-variant-off:before{content:"󰎀"}.mdi-move-resize:before{content:"󰙕"}.mdi-move-resize-variant:before{content:"󰙖"}.mdi-movie:before{content:"󰎁"}.mdi-movie-check:before{content:"󱛳"}.mdi-movie-check-outline:before{content:"󱛴"}.mdi-movie-cog:before{content:"󱛵"}.mdi-movie-cog-outline:before{content:"󱛶"}.mdi-movie-edit:before{content:"󱄢"}.mdi-movie-edit-outline:before{content:"󱄣"}.mdi-movie-filter:before{content:"󱄤"}.mdi-movie-filter-outline:before{content:"󱄥"}.mdi-movie-minus:before{content:"󱛷"}.mdi-movie-minus-outline:before{content:"󱛸"}.mdi-movie-off:before{content:"󱛹"}.mdi-movie-off-outline:before{content:"󱛺"}.mdi-movie-open:before{content:"󰿎"}.mdi-movie-open-check:before{content:"󱛻"}.mdi-movie-open-check-outline:before{content:"󱛼"}.mdi-movie-open-cog:before{content:"󱛽"}.mdi-movie-open-cog-outline:before{content:"󱛾"}.mdi-movie-open-edit:before{content:"󱛿"}.mdi-movie-open-edit-outline:before{content:"󱜀"}.mdi-movie-open-minus:before{content:"󱜁"}.mdi-movie-open-minus-outline:before{content:"󱜂"}.mdi-movie-open-off:before{content:"󱜃"}.mdi-movie-open-off-outline:before{content:"󱜄"}.mdi-movie-open-outline:before{content:"󰿏"}.mdi-movie-open-play:before{content:"󱜅"}.mdi-movie-open-play-outline:before{content:"󱜆"}.mdi-movie-open-plus:before{content:"󱜇"}.mdi-movie-open-plus-outline:before{content:"󱜈"}.mdi-movie-open-remove:before{content:"󱜉"}.mdi-movie-open-remove-outline:before{content:"󱜊"}.mdi-movie-open-settings:before{content:"󱜋"}.mdi-movie-open-settings-outline:before{content:"󱜌"}.mdi-movie-open-star:before{content:"󱜍"}.mdi-movie-open-star-outline:before{content:"󱜎"}.mdi-movie-outline:before{content:"󰷝"}.mdi-movie-play:before{content:"󱜏"}.mdi-movie-play-outline:before{content:"󱜐"}.mdi-movie-plus:before{content:"󱜑"}.mdi-movie-plus-outline:before{content:"󱜒"}.mdi-movie-remove:before{content:"󱜓"}.mdi-movie-remove-outline:before{content:"󱜔"}.mdi-movie-roll:before{content:"󰟞"}.mdi-movie-search:before{content:"󱇒"}.mdi-movie-search-outline:before{content:"󱇓"}.mdi-movie-settings:before{content:"󱜕"}.mdi-movie-settings-outline:before{content:"󱜖"}.mdi-movie-star:before{content:"󱜗"}.mdi-movie-star-outline:before{content:"󱜘"}.mdi-mower:before{content:"󱙯"}.mdi-mower-bag:before{content:"󱙰"}.mdi-mower-bag-on:before{content:"󱭠"}.mdi-mower-on:before{content:"󱭟"}.mdi-muffin:before{content:"󰦌"}.mdi-multicast:before{content:"󱢓"}.mdi-multimedia:before{content:"󱮗"}.mdi-multiplication:before{content:"󰎂"}.mdi-multiplication-box:before{content:"󰎃"}.mdi-mushroom:before{content:"󰟟"}.mdi-mushroom-off:before{content:"󱏺"}.mdi-mushroom-off-outline:before{content:"󱏻"}.mdi-mushroom-outline:before{content:"󰟠"}.mdi-music:before{content:"󰝚"}.mdi-music-accidental-double-flat:before{content:"󰽩"}.mdi-music-accidental-double-sharp:before{content:"󰽪"}.mdi-music-accidental-flat:before{content:"󰽫"}.mdi-music-accidental-natural:before{content:"󰽬"}.mdi-music-accidental-sharp:before{content:"󰽭"}.mdi-music-box:before{content:"󰎄"}.mdi-music-box-multiple:before{content:"󰌳"}.mdi-music-box-multiple-outline:before{content:"󰼄"}.mdi-music-box-outline:before{content:"󰎅"}.mdi-music-circle:before{content:"󰎆"}.mdi-music-circle-outline:before{content:"󰫔"}.mdi-music-clef-alto:before{content:"󰽮"}.mdi-music-clef-bass:before{content:"󰽯"}.mdi-music-clef-treble:before{content:"󰽰"}.mdi-music-note:before{content:"󰎇"}.mdi-music-note-bluetooth:before{content:"󰗾"}.mdi-music-note-bluetooth-off:before{content:"󰗿"}.mdi-music-note-eighth:before{content:"󰎈"}.mdi-music-note-eighth-dotted:before{content:"󰽱"}.mdi-music-note-half:before{content:"󰎉"}.mdi-music-note-half-dotted:before{content:"󰽲"}.mdi-music-note-minus:before{content:"󱮉"}.mdi-music-note-off:before{content:"󰎊"}.mdi-music-note-off-outline:before{content:"󰽳"}.mdi-music-note-outline:before{content:"󰽴"}.mdi-music-note-plus:before{content:"󰷞"}.mdi-music-note-quarter:before{content:"󰎋"}.mdi-music-note-quarter-dotted:before{content:"󰽵"}.mdi-music-note-sixteenth:before{content:"󰎌"}.mdi-music-note-sixteenth-dotted:before{content:"󰽶"}.mdi-music-note-whole:before{content:"󰎍"}.mdi-music-note-whole-dotted:before{content:"󰽷"}.mdi-music-off:before{content:"󰝛"}.mdi-music-rest-eighth:before{content:"󰽸"}.mdi-music-rest-half:before{content:"󰽹"}.mdi-music-rest-quarter:before{content:"󰽺"}.mdi-music-rest-sixteenth:before{content:"󰽻"}.mdi-music-rest-whole:before{content:"󰽼"}.mdi-mustache:before{content:"󱗞"}.mdi-nail:before{content:"󰷟"}.mdi-nas:before{content:"󰣳"}.mdi-nativescript:before{content:"󰢀"}.mdi-nature:before{content:"󰎎"}.mdi-nature-outline:before{content:"󱱱"}.mdi-nature-people:before{content:"󰎏"}.mdi-nature-people-outline:before{content:"󱱲"}.mdi-navigation:before{content:"󰎐"}.mdi-navigation-outline:before{content:"󱘇"}.mdi-navigation-variant:before{content:"󱣰"}.mdi-navigation-variant-outline:before{content:"󱣱"}.mdi-near-me:before{content:"󰗍"}.mdi-necklace:before{content:"󰼋"}.mdi-needle:before{content:"󰎑"}.mdi-needle-off:before{content:"󱧒"}.mdi-netflix:before{content:"󰝆"}.mdi-network:before{content:"󰛳"}.mdi-network-off:before{content:"󰲛"}.mdi-network-off-outline:before{content:"󰲜"}.mdi-network-outline:before{content:"󰲝"}.mdi-network-pos:before{content:"󱫋"}.mdi-network-strength-1:before{content:"󰣴"}.mdi-network-strength-1-alert:before{content:"󰣵"}.mdi-network-strength-2:before{content:"󰣶"}.mdi-network-strength-2-alert:before{content:"󰣷"}.mdi-network-strength-3:before{content:"󰣸"}.mdi-network-strength-3-alert:before{content:"󰣹"}.mdi-network-strength-4:before{content:"󰣺"}.mdi-network-strength-4-alert:before{content:"󰣻"}.mdi-network-strength-4-cog:before{content:"󱤚"}.mdi-network-strength-off:before{content:"󰣼"}.mdi-network-strength-off-outline:before{content:"󰣽"}.mdi-network-strength-outline:before{content:"󰣾"}.mdi-new-box:before{content:"󰎔"}.mdi-newspaper:before{content:"󰎕"}.mdi-newspaper-check:before{content:"󱥃"}.mdi-newspaper-minus:before{content:"󰼌"}.mdi-newspaper-plus:before{content:"󰼍"}.mdi-newspaper-remove:before{content:"󱥄"}.mdi-newspaper-variant:before{content:"󱀁"}.mdi-newspaper-variant-multiple:before{content:"󱀂"}.mdi-newspaper-variant-multiple-outline:before{content:"󱀃"}.mdi-newspaper-variant-outline:before{content:"󱀄"}.mdi-nfc:before{content:"󰎖"}.mdi-nfc-search-variant:before{content:"󰹓"}.mdi-nfc-tap:before{content:"󰎗"}.mdi-nfc-variant:before{content:"󰎘"}.mdi-nfc-variant-off:before{content:"󰹔"}.mdi-ninja:before{content:"󰝴"}.mdi-nintendo-game-boy:before{content:"󱎓"}.mdi-nintendo-switch:before{content:"󰟡"}.mdi-nintendo-wii:before{content:"󰖫"}.mdi-nintendo-wiiu:before{content:"󰜭"}.mdi-nix:before{content:"󱄅"}.mdi-nodejs:before{content:"󰎙"}.mdi-noodles:before{content:"󱅾"}.mdi-not-equal:before{content:"󰦍"}.mdi-not-equal-variant:before{content:"󰦎"}.mdi-note:before{content:"󰎚"}.mdi-note-alert:before{content:"󱝽"}.mdi-note-alert-outline:before{content:"󱝾"}.mdi-note-check:before{content:"󱝿"}.mdi-note-check-outline:before{content:"󱞀"}.mdi-note-edit:before{content:"󱞁"}.mdi-note-edit-outline:before{content:"󱞂"}.mdi-note-minus:before{content:"󱙏"}.mdi-note-minus-outline:before{content:"󱙐"}.mdi-note-multiple:before{content:"󰚸"}.mdi-note-multiple-outline:before{content:"󰚹"}.mdi-note-off:before{content:"󱞃"}.mdi-note-off-outline:before{content:"󱞄"}.mdi-note-outline:before{content:"󰎛"}.mdi-note-plus:before{content:"󰎜"}.mdi-note-plus-outline:before{content:"󰎝"}.mdi-note-remove:before{content:"󱙑"}.mdi-note-remove-outline:before{content:"󱙒"}.mdi-note-search:before{content:"󱙓"}.mdi-note-search-outline:before{content:"󱙔"}.mdi-note-text:before{content:"󰎞"}.mdi-note-text-outline:before{content:"󱇗"}.mdi-notebook:before{content:"󰠮"}.mdi-notebook-check:before{content:"󱓵"}.mdi-notebook-check-outline:before{content:"󱓶"}.mdi-notebook-edit:before{content:"󱓧"}.mdi-notebook-edit-outline:before{content:"󱓩"}.mdi-notebook-heart:before{content:"󱨋"}.mdi-notebook-heart-outline:before{content:"󱨌"}.mdi-notebook-minus:before{content:"󱘐"}.mdi-notebook-minus-outline:before{content:"󱘑"}.mdi-notebook-multiple:before{content:"󰹕"}.mdi-notebook-outline:before{content:"󰺿"}.mdi-notebook-plus:before{content:"󱘒"}.mdi-notebook-plus-outline:before{content:"󱘓"}.mdi-notebook-remove:before{content:"󱘔"}.mdi-notebook-remove-outline:before{content:"󱘕"}.mdi-notification-clear-all:before{content:"󰎟"}.mdi-npm:before{content:"󰛷"}.mdi-nuke:before{content:"󰚤"}.mdi-null:before{content:"󰟢"}.mdi-numeric:before{content:"󰎠"}.mdi-numeric-0:before{content:"󰬹"}.mdi-numeric-0-box:before{content:"󰎡"}.mdi-numeric-0-box-multiple:before{content:"󰼎"}.mdi-numeric-0-box-multiple-outline:before{content:"󰎢"}.mdi-numeric-0-box-outline:before{content:"󰎣"}.mdi-numeric-0-circle:before{content:"󰲞"}.mdi-numeric-0-circle-outline:before{content:"󰲟"}.mdi-numeric-1:before{content:"󰬺"}.mdi-numeric-1-box:before{content:"󰎤"}.mdi-numeric-1-box-multiple:before{content:"󰼏"}.mdi-numeric-1-box-multiple-outline:before{content:"󰎥"}.mdi-numeric-1-box-outline:before{content:"󰎦"}.mdi-numeric-1-circle:before{content:"󰲠"}.mdi-numeric-1-circle-outline:before{content:"󰲡"}.mdi-numeric-10:before{content:"󰿩"}.mdi-numeric-10-box:before{content:"󰽽"}.mdi-numeric-10-box-multiple:before{content:"󰿪"}.mdi-numeric-10-box-multiple-outline:before{content:"󰿫"}.mdi-numeric-10-box-outline:before{content:"󰽾"}.mdi-numeric-10-circle:before{content:"󰿬"}.mdi-numeric-10-circle-outline:before{content:"󰿭"}.mdi-numeric-2:before{content:"󰬻"}.mdi-numeric-2-box:before{content:"󰎧"}.mdi-numeric-2-box-multiple:before{content:"󰼐"}.mdi-numeric-2-box-multiple-outline:before{content:"󰎨"}.mdi-numeric-2-box-outline:before{content:"󰎩"}.mdi-numeric-2-circle:before{content:"󰲢"}.mdi-numeric-2-circle-outline:before{content:"󰲣"}.mdi-numeric-3:before{content:"󰬼"}.mdi-numeric-3-box:before{content:"󰎪"}.mdi-numeric-3-box-multiple:before{content:"󰼑"}.mdi-numeric-3-box-multiple-outline:before{content:"󰎫"}.mdi-numeric-3-box-outline:before{content:"󰎬"}.mdi-numeric-3-circle:before{content:"󰲤"}.mdi-numeric-3-circle-outline:before{content:"󰲥"}.mdi-numeric-4:before{content:"󰬽"}.mdi-numeric-4-box:before{content:"󰎭"}.mdi-numeric-4-box-multiple:before{content:"󰼒"}.mdi-numeric-4-box-multiple-outline:before{content:"󰎲"}.mdi-numeric-4-box-outline:before{content:"󰎮"}.mdi-numeric-4-circle:before{content:"󰲦"}.mdi-numeric-4-circle-outline:before{content:"󰲧"}.mdi-numeric-5:before{content:"󰬾"}.mdi-numeric-5-box:before{content:"󰎱"}.mdi-numeric-5-box-multiple:before{content:"󰼓"}.mdi-numeric-5-box-multiple-outline:before{content:"󰎯"}.mdi-numeric-5-box-outline:before{content:"󰎰"}.mdi-numeric-5-circle:before{content:"󰲨"}.mdi-numeric-5-circle-outline:before{content:"󰲩"}.mdi-numeric-6:before{content:"󰬿"}.mdi-numeric-6-box:before{content:"󰎳"}.mdi-numeric-6-box-multiple:before{content:"󰼔"}.mdi-numeric-6-box-multiple-outline:before{content:"󰎴"}.mdi-numeric-6-box-outline:before{content:"󰎵"}.mdi-numeric-6-circle:before{content:"󰲪"}.mdi-numeric-6-circle-outline:before{content:"󰲫"}.mdi-numeric-7:before{content:"󰭀"}.mdi-numeric-7-box:before{content:"󰎶"}.mdi-numeric-7-box-multiple:before{content:"󰼕"}.mdi-numeric-7-box-multiple-outline:before{content:"󰎷"}.mdi-numeric-7-box-outline:before{content:"󰎸"}.mdi-numeric-7-circle:before{content:"󰲬"}.mdi-numeric-7-circle-outline:before{content:"󰲭"}.mdi-numeric-8:before{content:"󰭁"}.mdi-numeric-8-box:before{content:"󰎹"}.mdi-numeric-8-box-multiple:before{content:"󰼖"}.mdi-numeric-8-box-multiple-outline:before{content:"󰎺"}.mdi-numeric-8-box-outline:before{content:"󰎻"}.mdi-numeric-8-circle:before{content:"󰲮"}.mdi-numeric-8-circle-outline:before{content:"󰲯"}.mdi-numeric-9:before{content:"󰭂"}.mdi-numeric-9-box:before{content:"󰎼"}.mdi-numeric-9-box-multiple:before{content:"󰼗"}.mdi-numeric-9-box-multiple-outline:before{content:"󰎽"}.mdi-numeric-9-box-outline:before{content:"󰎾"}.mdi-numeric-9-circle:before{content:"󰲰"}.mdi-numeric-9-circle-outline:before{content:"󰲱"}.mdi-numeric-9-plus:before{content:"󰿮"}.mdi-numeric-9-plus-box:before{content:"󰎿"}.mdi-numeric-9-plus-box-multiple:before{content:"󰼘"}.mdi-numeric-9-plus-box-multiple-outline:before{content:"󰏀"}.mdi-numeric-9-plus-box-outline:before{content:"󰏁"}.mdi-numeric-9-plus-circle:before{content:"󰲲"}.mdi-numeric-9-plus-circle-outline:before{content:"󰲳"}.mdi-numeric-negative-1:before{content:"󱁒"}.mdi-numeric-off:before{content:"󱧓"}.mdi-numeric-positive-1:before{content:"󱗋"}.mdi-nut:before{content:"󰛸"}.mdi-nutrition:before{content:"󰏂"}.mdi-nuxt:before{content:"󱄆"}.mdi-oar:before{content:"󰙼"}.mdi-ocarina:before{content:"󰷠"}.mdi-oci:before{content:"󱋩"}.mdi-ocr:before{content:"󱄺"}.mdi-octagon:before{content:"󰏃"}.mdi-octagon-outline:before{content:"󰏄"}.mdi-octagram:before{content:"󰛹"}.mdi-octagram-edit:before{content:"󱰴"}.mdi-octagram-edit-outline:before{content:"󱰵"}.mdi-octagram-minus:before{content:"󱰶"}.mdi-octagram-minus-outline:before{content:"󱰷"}.mdi-octagram-outline:before{content:"󰝵"}.mdi-octagram-plus:before{content:"󱰸"}.mdi-octagram-plus-outline:before{content:"󱰹"}.mdi-octahedron:before{content:"󱥐"}.mdi-octahedron-off:before{content:"󱥑"}.mdi-odnoklassniki:before{content:"󰏅"}.mdi-offer:before{content:"󱈛"}.mdi-office-building:before{content:"󰦑"}.mdi-office-building-cog:before{content:"󱥉"}.mdi-office-building-cog-outline:before{content:"󱥊"}.mdi-office-building-marker:before{content:"󱔠"}.mdi-office-building-marker-outline:before{content:"󱔡"}.mdi-office-building-minus:before{content:"󱮪"}.mdi-office-building-minus-outline:before{content:"󱮫"}.mdi-office-building-outline:before{content:"󱔟"}.mdi-office-building-plus:before{content:"󱮨"}.mdi-office-building-plus-outline:before{content:"󱮩"}.mdi-office-building-remove:before{content:"󱮬"}.mdi-office-building-remove-outline:before{content:"󱮭"}.mdi-oil:before{content:"󰏇"}.mdi-oil-lamp:before{content:"󰼙"}.mdi-oil-level:before{content:"󱁓"}.mdi-oil-temperature:before{content:"󰿸"}.mdi-om:before{content:"󰥳"}.mdi-omega:before{content:"󰏉"}.mdi-one-up:before{content:"󰮭"}.mdi-onepassword:before{content:"󰢁"}.mdi-opacity:before{content:"󰗌"}.mdi-open-in-app:before{content:"󰏋"}.mdi-open-in-new:before{content:"󰏌"}.mdi-open-source-initiative:before{content:"󰮮"}.mdi-openid:before{content:"󰏍"}.mdi-opera:before{content:"󰏎"}.mdi-orbit:before{content:"󰀘"}.mdi-orbit-variant:before{content:"󱗛"}.mdi-order-alphabetical-ascending:before{content:"󰈍"}.mdi-order-alphabetical-descending:before{content:"󰴇"}.mdi-order-bool-ascending:before{content:"󰊾"}.mdi-order-bool-ascending-variant:before{content:"󰦏"}.mdi-order-bool-descending:before{content:"󱎄"}.mdi-order-bool-descending-variant:before{content:"󰦐"}.mdi-order-numeric-ascending:before{content:"󰕅"}.mdi-order-numeric-descending:before{content:"󰕆"}.mdi-origin:before{content:"󰭃"}.mdi-ornament:before{content:"󰏏"}.mdi-ornament-variant:before{content:"󰏐"}.mdi-outdoor-lamp:before{content:"󱁔"}.mdi-overscan:before{content:"󱀅"}.mdi-owl:before{content:"󰏒"}.mdi-pac-man:before{content:"󰮯"}.mdi-package:before{content:"󰏓"}.mdi-package-check:before{content:"󱭑"}.mdi-package-down:before{content:"󰏔"}.mdi-package-up:before{content:"󰏕"}.mdi-package-variant:before{content:"󰏖"}.mdi-package-variant-closed:before{content:"󰏗"}.mdi-package-variant-closed-check:before{content:"󱭒"}.mdi-package-variant-closed-minus:before{content:"󱧔"}.mdi-package-variant-closed-plus:before{content:"󱧕"}.mdi-package-variant-closed-remove:before{content:"󱧖"}.mdi-package-variant-minus:before{content:"󱧗"}.mdi-package-variant-plus:before{content:"󱧘"}.mdi-package-variant-remove:before{content:"󱧙"}.mdi-page-first:before{content:"󰘀"}.mdi-page-last:before{content:"󰘁"}.mdi-page-layout-body:before{content:"󰛺"}.mdi-page-layout-footer:before{content:"󰛻"}.mdi-page-layout-header:before{content:"󰛼"}.mdi-page-layout-header-footer:before{content:"󰽿"}.mdi-page-layout-sidebar-left:before{content:"󰛽"}.mdi-page-layout-sidebar-right:before{content:"󰛾"}.mdi-page-next:before{content:"󰮰"}.mdi-page-next-outline:before{content:"󰮱"}.mdi-page-previous:before{content:"󰮲"}.mdi-page-previous-outline:before{content:"󰮳"}.mdi-pail:before{content:"󱐗"}.mdi-pail-minus:before{content:"󱐷"}.mdi-pail-minus-outline:before{content:"󱐼"}.mdi-pail-off:before{content:"󱐹"}.mdi-pail-off-outline:before{content:"󱐾"}.mdi-pail-outline:before{content:"󱐺"}.mdi-pail-plus:before{content:"󱐶"}.mdi-pail-plus-outline:before{content:"󱐻"}.mdi-pail-remove:before{content:"󱐸"}.mdi-pail-remove-outline:before{content:"󱐽"}.mdi-palette:before{content:"󰏘"}.mdi-palette-advanced:before{content:"󰏙"}.mdi-palette-outline:before{content:"󰸌"}.mdi-palette-swatch:before{content:"󰢵"}.mdi-palette-swatch-outline:before{content:"󱍜"}.mdi-palette-swatch-variant:before{content:"󱥚"}.mdi-palm-tree:before{content:"󱁕"}.mdi-pan:before{content:"󰮴"}.mdi-pan-bottom-left:before{content:"󰮵"}.mdi-pan-bottom-right:before{content:"󰮶"}.mdi-pan-down:before{content:"󰮷"}.mdi-pan-horizontal:before{content:"󰮸"}.mdi-pan-left:before{content:"󰮹"}.mdi-pan-right:before{content:"󰮺"}.mdi-pan-top-left:before{content:"󰮻"}.mdi-pan-top-right:before{content:"󰮼"}.mdi-pan-up:before{content:"󰮽"}.mdi-pan-vertical:before{content:"󰮾"}.mdi-panda:before{content:"󰏚"}.mdi-pandora:before{content:"󰏛"}.mdi-panorama:before{content:"󰏜"}.mdi-panorama-fisheye:before{content:"󰏝"}.mdi-panorama-horizontal:before{content:"󱤨"}.mdi-panorama-horizontal-outline:before{content:"󰏞"}.mdi-panorama-outline:before{content:"󱦌"}.mdi-panorama-sphere:before{content:"󱦍"}.mdi-panorama-sphere-outline:before{content:"󱦎"}.mdi-panorama-variant:before{content:"󱦏"}.mdi-panorama-variant-outline:before{content:"󱦐"}.mdi-panorama-vertical:before{content:"󱤩"}.mdi-panorama-vertical-outline:before{content:"󰏟"}.mdi-panorama-wide-angle:before{content:"󱥟"}.mdi-panorama-wide-angle-outline:before{content:"󰏠"}.mdi-paper-cut-vertical:before{content:"󰏡"}.mdi-paper-roll:before{content:"󱅗"}.mdi-paper-roll-outline:before{content:"󱅘"}.mdi-paperclip:before{content:"󰏢"}.mdi-paperclip-check:before{content:"󱫆"}.mdi-paperclip-lock:before{content:"󱧚"}.mdi-paperclip-minus:before{content:"󱫇"}.mdi-paperclip-off:before{content:"󱫈"}.mdi-paperclip-plus:before{content:"󱫉"}.mdi-paperclip-remove:before{content:"󱫊"}.mdi-parachute:before{content:"󰲴"}.mdi-parachute-outline:before{content:"󰲵"}.mdi-paragliding:before{content:"󱝅"}.mdi-parking:before{content:"󰏣"}.mdi-party-popper:before{content:"󱁖"}.mdi-passport:before{content:"󰟣"}.mdi-passport-biometric:before{content:"󰷡"}.mdi-pasta:before{content:"󱅠"}.mdi-patio-heater:before{content:"󰾀"}.mdi-patreon:before{content:"󰢂"}.mdi-pause:before{content:"󰏤"}.mdi-pause-box:before{content:"󰂼"}.mdi-pause-box-outline:before{content:"󱭺"}.mdi-pause-circle:before{content:"󰏥"}.mdi-pause-circle-outline:before{content:"󰏦"}.mdi-pause-octagon:before{content:"󰏧"}.mdi-pause-octagon-outline:before{content:"󰏨"}.mdi-paw:before{content:"󰏩"}.mdi-paw-off:before{content:"󰙗"}.mdi-paw-off-outline:before{content:"󱙶"}.mdi-paw-outline:before{content:"󱙵"}.mdi-peace:before{content:"󰢄"}.mdi-peanut:before{content:"󰿼"}.mdi-peanut-off:before{content:"󰿽"}.mdi-peanut-off-outline:before{content:"󰿿"}.mdi-peanut-outline:before{content:"󰿾"}.mdi-pen:before{content:"󰏪"}.mdi-pen-lock:before{content:"󰷢"}.mdi-pen-minus:before{content:"󰷣"}.mdi-pen-off:before{content:"󰷤"}.mdi-pen-plus:before{content:"󰷥"}.mdi-pen-remove:before{content:"󰷦"}.mdi-pencil:before{content:"󰏫"}.mdi-pencil-box:before{content:"󰏬"}.mdi-pencil-box-multiple:before{content:"󱅄"}.mdi-pencil-box-multiple-outline:before{content:"󱅅"}.mdi-pencil-box-outline:before{content:"󰏭"}.mdi-pencil-circle:before{content:"󰛿"}.mdi-pencil-circle-outline:before{content:"󰝶"}.mdi-pencil-lock:before{content:"󰏮"}.mdi-pencil-lock-outline:before{content:"󰷧"}.mdi-pencil-minus:before{content:"󰷨"}.mdi-pencil-minus-outline:before{content:"󰷩"}.mdi-pencil-off:before{content:"󰏯"}.mdi-pencil-off-outline:before{content:"󰷪"}.mdi-pencil-outline:before{content:"󰲶"}.mdi-pencil-plus:before{content:"󰷫"}.mdi-pencil-plus-outline:before{content:"󰷬"}.mdi-pencil-remove:before{content:"󰷭"}.mdi-pencil-remove-outline:before{content:"󰷮"}.mdi-pencil-ruler:before{content:"󱍓"}.mdi-pencil-ruler-outline:before{content:"󱰑"}.mdi-penguin:before{content:"󰻀"}.mdi-pentagon:before{content:"󰜁"}.mdi-pentagon-outline:before{content:"󰜀"}.mdi-pentagram:before{content:"󱙧"}.mdi-percent:before{content:"󰏰"}.mdi-percent-box:before{content:"󱨂"}.mdi-percent-box-outline:before{content:"󱨃"}.mdi-percent-circle:before{content:"󱨄"}.mdi-percent-circle-outline:before{content:"󱨅"}.mdi-percent-outline:before{content:"󱉸"}.mdi-periodic-table:before{content:"󰢶"}.mdi-perspective-less:before{content:"󰴣"}.mdi-perspective-more:before{content:"󰴤"}.mdi-ph:before{content:"󱟅"}.mdi-phone:before{content:"󰏲"}.mdi-phone-alert:before{content:"󰼚"}.mdi-phone-alert-outline:before{content:"󱆎"}.mdi-phone-bluetooth:before{content:"󰏳"}.mdi-phone-bluetooth-outline:before{content:"󱆏"}.mdi-phone-cancel:before{content:"󱂼"}.mdi-phone-cancel-outline:before{content:"󱆐"}.mdi-phone-check:before{content:"󱆩"}.mdi-phone-check-outline:before{content:"󱆪"}.mdi-phone-classic:before{content:"󰘂"}.mdi-phone-classic-off:before{content:"󱉹"}.mdi-phone-clock:before{content:"󱧛"}.mdi-phone-dial:before{content:"󱕙"}.mdi-phone-dial-outline:before{content:"󱕚"}.mdi-phone-forward:before{content:"󰏴"}.mdi-phone-forward-outline:before{content:"󱆑"}.mdi-phone-hangup:before{content:"󰏵"}.mdi-phone-hangup-outline:before{content:"󱆒"}.mdi-phone-in-talk:before{content:"󰏶"}.mdi-phone-in-talk-outline:before{content:"󱆂"}.mdi-phone-incoming:before{content:"󰏷"}.mdi-phone-incoming-outgoing:before{content:"󱬿"}.mdi-phone-incoming-outgoing-outline:before{content:"󱭀"}.mdi-phone-incoming-outline:before{content:"󱆓"}.mdi-phone-lock:before{content:"󰏸"}.mdi-phone-lock-outline:before{content:"󱆔"}.mdi-phone-log:before{content:"󰏹"}.mdi-phone-log-outline:before{content:"󱆕"}.mdi-phone-message:before{content:"󱆖"}.mdi-phone-message-outline:before{content:"󱆗"}.mdi-phone-minus:before{content:"󰙘"}.mdi-phone-minus-outline:before{content:"󱆘"}.mdi-phone-missed:before{content:"󰏺"}.mdi-phone-missed-outline:before{content:"󱆥"}.mdi-phone-off:before{content:"󰷯"}.mdi-phone-off-outline:before{content:"󱆦"}.mdi-phone-outgoing:before{content:"󰏻"}.mdi-phone-outgoing-outline:before{content:"󱆙"}.mdi-phone-outline:before{content:"󰷰"}.mdi-phone-paused:before{content:"󰏼"}.mdi-phone-paused-outline:before{content:"󱆚"}.mdi-phone-plus:before{content:"󰙙"}.mdi-phone-plus-outline:before{content:"󱆛"}.mdi-phone-refresh:before{content:"󱦓"}.mdi-phone-refresh-outline:before{content:"󱦔"}.mdi-phone-remove:before{content:"󱔯"}.mdi-phone-remove-outline:before{content:"󱔰"}.mdi-phone-return:before{content:"󰠯"}.mdi-phone-return-outline:before{content:"󱆜"}.mdi-phone-ring:before{content:"󱆫"}.mdi-phone-ring-outline:before{content:"󱆬"}.mdi-phone-rotate-landscape:before{content:"󰢅"}.mdi-phone-rotate-portrait:before{content:"󰢆"}.mdi-phone-settings:before{content:"󰏽"}.mdi-phone-settings-outline:before{content:"󱆝"}.mdi-phone-sync:before{content:"󱦕"}.mdi-phone-sync-outline:before{content:"󱦖"}.mdi-phone-voip:before{content:"󰏾"}.mdi-pi:before{content:"󰏿"}.mdi-pi-box:before{content:"󰐀"}.mdi-pi-hole:before{content:"󰷱"}.mdi-piano:before{content:"󰙽"}.mdi-piano-off:before{content:"󰚘"}.mdi-pickaxe:before{content:"󰢷"}.mdi-picture-in-picture-bottom-right:before{content:"󰹗"}.mdi-picture-in-picture-bottom-right-outline:before{content:"󰹘"}.mdi-picture-in-picture-top-right:before{content:"󰹙"}.mdi-picture-in-picture-top-right-outline:before{content:"󰹚"}.mdi-pier:before{content:"󰢇"}.mdi-pier-crane:before{content:"󰢈"}.mdi-pig:before{content:"󰐁"}.mdi-pig-variant:before{content:"󱀆"}.mdi-pig-variant-outline:before{content:"󱙸"}.mdi-piggy-bank:before{content:"󱀇"}.mdi-piggy-bank-outline:before{content:"󱙹"}.mdi-pill:before{content:"󰐂"}.mdi-pill-multiple:before{content:"󱭌"}.mdi-pill-off:before{content:"󱩜"}.mdi-pillar:before{content:"󰜂"}.mdi-pin:before{content:"󰐃"}.mdi-pin-off:before{content:"󰐄"}.mdi-pin-off-outline:before{content:"󰤰"}.mdi-pin-outline:before{content:"󰤱"}.mdi-pine-tree:before{content:"󰐅"}.mdi-pine-tree-box:before{content:"󰐆"}.mdi-pine-tree-fire:before{content:"󱐚"}.mdi-pine-tree-variant:before{content:"󱱳"}.mdi-pine-tree-variant-outline:before{content:"󱱴"}.mdi-pinterest:before{content:"󰐇"}.mdi-pinwheel:before{content:"󰫕"}.mdi-pinwheel-outline:before{content:"󰫖"}.mdi-pipe:before{content:"󰟥"}.mdi-pipe-disconnected:before{content:"󰟦"}.mdi-pipe-leak:before{content:"󰢉"}.mdi-pipe-valve:before{content:"󱡍"}.mdi-pipe-wrench:before{content:"󱍔"}.mdi-pirate:before{content:"󰨈"}.mdi-pistol:before{content:"󰜃"}.mdi-piston:before{content:"󰢊"}.mdi-pitchfork:before{content:"󱕓"}.mdi-pizza:before{content:"󰐉"}.mdi-plane-car:before{content:"󱫿"}.mdi-plane-train:before{content:"󱬀"}.mdi-play:before{content:"󰐊"}.mdi-play-box:before{content:"󱉺"}.mdi-play-box-edit-outline:before{content:"󱰺"}.mdi-play-box-lock:before{content:"󱨖"}.mdi-play-box-lock-open:before{content:"󱨗"}.mdi-play-box-lock-open-outline:before{content:"󱨘"}.mdi-play-box-lock-outline:before{content:"󱨙"}.mdi-play-box-multiple:before{content:"󰴙"}.mdi-play-box-multiple-outline:before{content:"󱏦"}.mdi-play-box-outline:before{content:"󰐋"}.mdi-play-circle:before{content:"󰐌"}.mdi-play-circle-outline:before{content:"󰐍"}.mdi-play-network:before{content:"󰢋"}.mdi-play-network-outline:before{content:"󰲷"}.mdi-play-outline:before{content:"󰼛"}.mdi-play-pause:before{content:"󰐎"}.mdi-play-protected-content:before{content:"󰐏"}.mdi-play-speed:before{content:"󰣿"}.mdi-playlist-check:before{content:"󰗇"}.mdi-playlist-edit:before{content:"󰤀"}.mdi-playlist-minus:before{content:"󰐐"}.mdi-playlist-music:before{content:"󰲸"}.mdi-playlist-music-outline:before{content:"󰲹"}.mdi-playlist-play:before{content:"󰐑"}.mdi-playlist-plus:before{content:"󰐒"}.mdi-playlist-remove:before{content:"󰐓"}.mdi-playlist-star:before{content:"󰷲"}.mdi-plex:before{content:"󰚺"}.mdi-pliers:before{content:"󱦤"}.mdi-plus:before{content:"󰐕"}.mdi-plus-box:before{content:"󰐖"}.mdi-plus-box-multiple:before{content:"󰌴"}.mdi-plus-box-multiple-outline:before{content:"󱅃"}.mdi-plus-box-outline:before{content:"󰜄"}.mdi-plus-circle:before{content:"󰐗"}.mdi-plus-circle-multiple:before{content:"󰍌"}.mdi-plus-circle-multiple-outline:before{content:"󰐘"}.mdi-plus-circle-outline:before{content:"󰐙"}.mdi-plus-lock:before{content:"󱩝"}.mdi-plus-lock-open:before{content:"󱩞"}.mdi-plus-minus:before{content:"󰦒"}.mdi-plus-minus-box:before{content:"󰦓"}.mdi-plus-minus-variant:before{content:"󱓉"}.mdi-plus-network:before{content:"󰐚"}.mdi-plus-network-outline:before{content:"󰲺"}.mdi-plus-outline:before{content:"󰜅"}.mdi-plus-thick:before{content:"󱇬"}.mdi-podcast:before{content:"󰦔"}.mdi-podium:before{content:"󰴥"}.mdi-podium-bronze:before{content:"󰴦"}.mdi-podium-gold:before{content:"󰴧"}.mdi-podium-silver:before{content:"󰴨"}.mdi-point-of-sale:before{content:"󰶒"}.mdi-pokeball:before{content:"󰐝"}.mdi-pokemon-go:before{content:"󰨉"}.mdi-poker-chip:before{content:"󰠰"}.mdi-polaroid:before{content:"󰐞"}.mdi-police-badge:before{content:"󱅧"}.mdi-police-badge-outline:before{content:"󱅨"}.mdi-police-station:before{content:"󱠹"}.mdi-poll:before{content:"󰐟"}.mdi-polo:before{content:"󱓃"}.mdi-polymer:before{content:"󰐡"}.mdi-pool:before{content:"󰘆"}.mdi-pool-thermometer:before{content:"󱩟"}.mdi-popcorn:before{content:"󰐢"}.mdi-post:before{content:"󱀈"}.mdi-post-lamp:before{content:"󱩠"}.mdi-post-outline:before{content:"󱀉"}.mdi-postage-stamp:before{content:"󰲻"}.mdi-pot:before{content:"󰋥"}.mdi-pot-mix:before{content:"󰙛"}.mdi-pot-mix-outline:before{content:"󰙷"}.mdi-pot-outline:before{content:"󰋿"}.mdi-pot-steam:before{content:"󰙚"}.mdi-pot-steam-outline:before{content:"󰌦"}.mdi-pound:before{content:"󰐣"}.mdi-pound-box:before{content:"󰐤"}.mdi-pound-box-outline:before{content:"󱅿"}.mdi-power:before{content:"󰐥"}.mdi-power-cycle:before{content:"󰤁"}.mdi-power-off:before{content:"󰤂"}.mdi-power-on:before{content:"󰤃"}.mdi-power-plug:before{content:"󰚥"}.mdi-power-plug-battery:before{content:"󱰻"}.mdi-power-plug-battery-outline:before{content:"󱰼"}.mdi-power-plug-off:before{content:"󰚦"}.mdi-power-plug-off-outline:before{content:"󱐤"}.mdi-power-plug-outline:before{content:"󱐥"}.mdi-power-settings:before{content:"󰐦"}.mdi-power-sleep:before{content:"󰤄"}.mdi-power-socket:before{content:"󰐧"}.mdi-power-socket-au:before{content:"󰤅"}.mdi-power-socket-ch:before{content:"󰾳"}.mdi-power-socket-de:before{content:"󱄇"}.mdi-power-socket-eu:before{content:"󰟧"}.mdi-power-socket-fr:before{content:"󱄈"}.mdi-power-socket-it:before{content:"󱓿"}.mdi-power-socket-jp:before{content:"󱄉"}.mdi-power-socket-uk:before{content:"󰟨"}.mdi-power-socket-us:before{content:"󰟩"}.mdi-power-standby:before{content:"󰤆"}.mdi-powershell:before{content:"󰨊"}.mdi-prescription:before{content:"󰜆"}.mdi-presentation:before{content:"󰐨"}.mdi-presentation-play:before{content:"󰐩"}.mdi-pretzel:before{content:"󱕢"}.mdi-printer:before{content:"󰐪"}.mdi-printer-3d:before{content:"󰐫"}.mdi-printer-3d-nozzle:before{content:"󰹛"}.mdi-printer-3d-nozzle-alert:before{content:"󱇀"}.mdi-printer-3d-nozzle-alert-outline:before{content:"󱇁"}.mdi-printer-3d-nozzle-heat:before{content:"󱢸"}.mdi-printer-3d-nozzle-heat-outline:before{content:"󱢹"}.mdi-printer-3d-nozzle-off:before{content:"󱬙"}.mdi-printer-3d-nozzle-off-outline:before{content:"󱬚"}.mdi-printer-3d-nozzle-outline:before{content:"󰹜"}.mdi-printer-3d-off:before{content:"󱬎"}.mdi-printer-alert:before{content:"󰐬"}.mdi-printer-check:before{content:"󱅆"}.mdi-printer-eye:before{content:"󱑘"}.mdi-printer-off:before{content:"󰹝"}.mdi-printer-off-outline:before{content:"󱞅"}.mdi-printer-outline:before{content:"󱞆"}.mdi-printer-pos:before{content:"󱁗"}.mdi-printer-pos-alert:before{content:"󱮼"}.mdi-printer-pos-alert-outline:before{content:"󱮽"}.mdi-printer-pos-cancel:before{content:"󱮾"}.mdi-printer-pos-cancel-outline:before{content:"󱮿"}.mdi-printer-pos-check:before{content:"󱯀"}.mdi-printer-pos-check-outline:before{content:"󱯁"}.mdi-printer-pos-cog:before{content:"󱯂"}.mdi-printer-pos-cog-outline:before{content:"󱯃"}.mdi-printer-pos-edit:before{content:"󱯄"}.mdi-printer-pos-edit-outline:before{content:"󱯅"}.mdi-printer-pos-minus:before{content:"󱯆"}.mdi-printer-pos-minus-outline:before{content:"󱯇"}.mdi-printer-pos-network:before{content:"󱯈"}.mdi-printer-pos-network-outline:before{content:"󱯉"}.mdi-printer-pos-off:before{content:"󱯊"}.mdi-printer-pos-off-outline:before{content:"󱯋"}.mdi-printer-pos-outline:before{content:"󱯌"}.mdi-printer-pos-pause:before{content:"󱯍"}.mdi-printer-pos-pause-outline:before{content:"󱯎"}.mdi-printer-pos-play:before{content:"󱯏"}.mdi-printer-pos-play-outline:before{content:"󱯐"}.mdi-printer-pos-plus:before{content:"󱯑"}.mdi-printer-pos-plus-outline:before{content:"󱯒"}.mdi-printer-pos-refresh:before{content:"󱯓"}.mdi-printer-pos-refresh-outline:before{content:"󱯔"}.mdi-printer-pos-remove:before{content:"󱯕"}.mdi-printer-pos-remove-outline:before{content:"󱯖"}.mdi-printer-pos-star:before{content:"󱯗"}.mdi-printer-pos-star-outline:before{content:"󱯘"}.mdi-printer-pos-stop:before{content:"󱯙"}.mdi-printer-pos-stop-outline:before{content:"󱯚"}.mdi-printer-pos-sync:before{content:"󱯛"}.mdi-printer-pos-sync-outline:before{content:"󱯜"}.mdi-printer-pos-wrench:before{content:"󱯝"}.mdi-printer-pos-wrench-outline:before{content:"󱯞"}.mdi-printer-search:before{content:"󱑗"}.mdi-printer-settings:before{content:"󰜇"}.mdi-printer-wireless:before{content:"󰨋"}.mdi-priority-high:before{content:"󰘃"}.mdi-priority-low:before{content:"󰘄"}.mdi-professional-hexagon:before{content:"󰐭"}.mdi-progress-alert:before{content:"󰲼"}.mdi-progress-check:before{content:"󰦕"}.mdi-progress-clock:before{content:"󰦖"}.mdi-progress-close:before{content:"󱄊"}.mdi-progress-download:before{content:"󰦗"}.mdi-progress-helper:before{content:"󱮢"}.mdi-progress-pencil:before{content:"󱞇"}.mdi-progress-question:before{content:"󱔢"}.mdi-progress-star:before{content:"󱞈"}.mdi-progress-star-four-points:before{content:"󱰽"}.mdi-progress-upload:before{content:"󰦘"}.mdi-progress-wrench:before{content:"󰲽"}.mdi-projector:before{content:"󰐮"}.mdi-projector-off:before{content:"󱨣"}.mdi-projector-screen:before{content:"󰐯"}.mdi-projector-screen-off:before{content:"󱠍"}.mdi-projector-screen-off-outline:before{content:"󱠎"}.mdi-projector-screen-outline:before{content:"󱜤"}.mdi-projector-screen-variant:before{content:"󱠏"}.mdi-projector-screen-variant-off:before{content:"󱠐"}.mdi-projector-screen-variant-off-outline:before{content:"󱠑"}.mdi-projector-screen-variant-outline:before{content:"󱠒"}.mdi-propane-tank:before{content:"󱍗"}.mdi-propane-tank-outline:before{content:"󱍘"}.mdi-protocol:before{content:"󰿘"}.mdi-publish:before{content:"󰚧"}.mdi-publish-off:before{content:"󱥅"}.mdi-pulse:before{content:"󰐰"}.mdi-pump:before{content:"󱐂"}.mdi-pump-off:before{content:"󱬢"}.mdi-pumpkin:before{content:"󰮿"}.mdi-purse:before{content:"󰼜"}.mdi-purse-outline:before{content:"󰼝"}.mdi-puzzle:before{content:"󰐱"}.mdi-puzzle-check:before{content:"󱐦"}.mdi-puzzle-check-outline:before{content:"󱐧"}.mdi-puzzle-edit:before{content:"󱓓"}.mdi-puzzle-edit-outline:before{content:"󱓙"}.mdi-puzzle-heart:before{content:"󱓔"}.mdi-puzzle-heart-outline:before{content:"󱓚"}.mdi-puzzle-minus:before{content:"󱓑"}.mdi-puzzle-minus-outline:before{content:"󱓗"}.mdi-puzzle-outline:before{content:"󰩦"}.mdi-puzzle-plus:before{content:"󱓐"}.mdi-puzzle-plus-outline:before{content:"󱓖"}.mdi-puzzle-remove:before{content:"󱓒"}.mdi-puzzle-remove-outline:before{content:"󱓘"}.mdi-puzzle-star:before{content:"󱓕"}.mdi-puzzle-star-outline:before{content:"󱓛"}.mdi-pyramid:before{content:"󱥒"}.mdi-pyramid-off:before{content:"󱥓"}.mdi-qi:before{content:"󰦙"}.mdi-qqchat:before{content:"󰘅"}.mdi-qrcode:before{content:"󰐲"}.mdi-qrcode-edit:before{content:"󰢸"}.mdi-qrcode-minus:before{content:"󱆌"}.mdi-qrcode-plus:before{content:"󱆋"}.mdi-qrcode-remove:before{content:"󱆍"}.mdi-qrcode-scan:before{content:"󰐳"}.mdi-quadcopter:before{content:"󰐴"}.mdi-quality-high:before{content:"󰐵"}.mdi-quality-low:before{content:"󰨌"}.mdi-quality-medium:before{content:"󰨍"}.mdi-quora:before{content:"󰴩"}.mdi-rabbit:before{content:"󰤇"}.mdi-rabbit-variant:before{content:"󱩡"}.mdi-rabbit-variant-outline:before{content:"󱩢"}.mdi-racing-helmet:before{content:"󰶓"}.mdi-racquetball:before{content:"󰶔"}.mdi-radar:before{content:"󰐷"}.mdi-radiator:before{content:"󰐸"}.mdi-radiator-disabled:before{content:"󰫗"}.mdi-radiator-off:before{content:"󰫘"}.mdi-radio:before{content:"󰐹"}.mdi-radio-am:before{content:"󰲾"}.mdi-radio-fm:before{content:"󰲿"}.mdi-radio-handheld:before{content:"󰐺"}.mdi-radio-off:before{content:"󱈜"}.mdi-radio-tower:before{content:"󰐻"}.mdi-radioactive:before{content:"󰐼"}.mdi-radioactive-circle:before{content:"󱡝"}.mdi-radioactive-circle-outline:before{content:"󱡞"}.mdi-radioactive-off:before{content:"󰻁"}.mdi-radiobox-blank:before{content:"󰐽"}.mdi-radiobox-indeterminate-variant:before{content:"󱱞"}.mdi-radiobox-marked:before{content:"󰐾"}.mdi-radiology-box:before{content:"󱓅"}.mdi-radiology-box-outline:before{content:"󱓆"}.mdi-radius:before{content:"󰳀"}.mdi-radius-outline:before{content:"󰳁"}.mdi-railroad-light:before{content:"󰼞"}.mdi-rake:before{content:"󱕄"}.mdi-raspberry-pi:before{content:"󰐿"}.mdi-raw:before{content:"󱨏"}.mdi-raw-off:before{content:"󱨐"}.mdi-ray-end:before{content:"󰑀"}.mdi-ray-end-arrow:before{content:"󰑁"}.mdi-ray-start:before{content:"󰑂"}.mdi-ray-start-arrow:before{content:"󰑃"}.mdi-ray-start-end:before{content:"󰑄"}.mdi-ray-start-vertex-end:before{content:"󱗘"}.mdi-ray-vertex:before{content:"󰑅"}.mdi-razor-double-edge:before{content:"󱦗"}.mdi-razor-single-edge:before{content:"󱦘"}.mdi-react:before{content:"󰜈"}.mdi-read:before{content:"󰑇"}.mdi-receipt:before{content:"󰠤"}.mdi-receipt-clock:before{content:"󱰾"}.mdi-receipt-clock-outline:before{content:"󱰿"}.mdi-receipt-outline:before{content:"󰓷"}.mdi-receipt-send:before{content:"󱱀"}.mdi-receipt-send-outline:before{content:"󱱁"}.mdi-receipt-text:before{content:"󰑉"}.mdi-receipt-text-arrow-left:before{content:"󱱂"}.mdi-receipt-text-arrow-left-outline:before{content:"󱱃"}.mdi-receipt-text-arrow-right:before{content:"󱱄"}.mdi-receipt-text-arrow-right-outline:before{content:"󱱅"}.mdi-receipt-text-check:before{content:"󱩣"}.mdi-receipt-text-check-outline:before{content:"󱩤"}.mdi-receipt-text-clock:before{content:"󱱆"}.mdi-receipt-text-clock-outline:before{content:"󱱇"}.mdi-receipt-text-edit:before{content:"󱱈"}.mdi-receipt-text-edit-outline:before{content:"󱱉"}.mdi-receipt-text-minus:before{content:"󱩥"}.mdi-receipt-text-minus-outline:before{content:"󱩦"}.mdi-receipt-text-outline:before{content:"󱧜"}.mdi-receipt-text-plus:before{content:"󱩧"}.mdi-receipt-text-plus-outline:before{content:"󱩨"}.mdi-receipt-text-remove:before{content:"󱩩"}.mdi-receipt-text-remove-outline:before{content:"󱩪"}.mdi-receipt-text-send:before{content:"󱱊"}.mdi-receipt-text-send-outline:before{content:"󱱋"}.mdi-record:before{content:"󰑊"}.mdi-record-circle:before{content:"󰻂"}.mdi-record-circle-outline:before{content:"󰻃"}.mdi-record-player:before{content:"󰦚"}.mdi-record-rec:before{content:"󰑋"}.mdi-rectangle:before{content:"󰹞"}.mdi-rectangle-outline:before{content:"󰹟"}.mdi-recycle:before{content:"󰑌"}.mdi-recycle-variant:before{content:"󱎝"}.mdi-reddit:before{content:"󰑍"}.mdi-redhat:before{content:"󱄛"}.mdi-redo:before{content:"󰑎"}.mdi-redo-variant:before{content:"󰑏"}.mdi-reflect-horizontal:before{content:"󰨎"}.mdi-reflect-vertical:before{content:"󰨏"}.mdi-refresh:before{content:"󰑐"}.mdi-refresh-auto:before{content:"󱣲"}.mdi-refresh-circle:before{content:"󱍷"}.mdi-regex:before{content:"󰑑"}.mdi-registered-trademark:before{content:"󰩧"}.mdi-reiterate:before{content:"󱖈"}.mdi-relation-many-to-many:before{content:"󱒖"}.mdi-relation-many-to-one:before{content:"󱒗"}.mdi-relation-many-to-one-or-many:before{content:"󱒘"}.mdi-relation-many-to-only-one:before{content:"󱒙"}.mdi-relation-many-to-zero-or-many:before{content:"󱒚"}.mdi-relation-many-to-zero-or-one:before{content:"󱒛"}.mdi-relation-one-or-many-to-many:before{content:"󱒜"}.mdi-relation-one-or-many-to-one:before{content:"󱒝"}.mdi-relation-one-or-many-to-one-or-many:before{content:"󱒞"}.mdi-relation-one-or-many-to-only-one:before{content:"󱒟"}.mdi-relation-one-or-many-to-zero-or-many:before{content:"󱒠"}.mdi-relation-one-or-many-to-zero-or-one:before{content:"󱒡"}.mdi-relation-one-to-many:before{content:"󱒢"}.mdi-relation-one-to-one:before{content:"󱒣"}.mdi-relation-one-to-one-or-many:before{content:"󱒤"}.mdi-relation-one-to-only-one:before{content:"󱒥"}.mdi-relation-one-to-zero-or-many:before{content:"󱒦"}.mdi-relation-one-to-zero-or-one:before{content:"󱒧"}.mdi-relation-only-one-to-many:before{content:"󱒨"}.mdi-relation-only-one-to-one:before{content:"󱒩"}.mdi-relation-only-one-to-one-or-many:before{content:"󱒪"}.mdi-relation-only-one-to-only-one:before{content:"󱒫"}.mdi-relation-only-one-to-zero-or-many:before{content:"󱒬"}.mdi-relation-only-one-to-zero-or-one:before{content:"󱒭"}.mdi-relation-zero-or-many-to-many:before{content:"󱒮"}.mdi-relation-zero-or-many-to-one:before{content:"󱒯"}.mdi-relation-zero-or-many-to-one-or-many:before{content:"󱒰"}.mdi-relation-zero-or-many-to-only-one:before{content:"󱒱"}.mdi-relation-zero-or-many-to-zero-or-many:before{content:"󱒲"}.mdi-relation-zero-or-many-to-zero-or-one:before{content:"󱒳"}.mdi-relation-zero-or-one-to-many:before{content:"󱒴"}.mdi-relation-zero-or-one-to-one:before{content:"󱒵"}.mdi-relation-zero-or-one-to-one-or-many:before{content:"󱒶"}.mdi-relation-zero-or-one-to-only-one:before{content:"󱒷"}.mdi-relation-zero-or-one-to-zero-or-many:before{content:"󱒸"}.mdi-relation-zero-or-one-to-zero-or-one:before{content:"󱒹"}.mdi-relative-scale:before{content:"󰑒"}.mdi-reload:before{content:"󰑓"}.mdi-reload-alert:before{content:"󱄋"}.mdi-reminder:before{content:"󰢌"}.mdi-remote:before{content:"󰑔"}.mdi-remote-desktop:before{content:"󰢹"}.mdi-remote-off:before{content:"󰻄"}.mdi-remote-tv:before{content:"󰻅"}.mdi-remote-tv-off:before{content:"󰻆"}.mdi-rename:before{content:"󱰘"}.mdi-rename-box:before{content:"󰑕"}.mdi-rename-box-outline:before{content:"󱰙"}.mdi-rename-outline:before{content:"󱰚"}.mdi-reorder-horizontal:before{content:"󰚈"}.mdi-reorder-vertical:before{content:"󰚉"}.mdi-repeat:before{content:"󰑖"}.mdi-repeat-off:before{content:"󰑗"}.mdi-repeat-once:before{content:"󰑘"}.mdi-repeat-variant:before{content:"󰕇"}.mdi-replay:before{content:"󰑙"}.mdi-reply:before{content:"󰑚"}.mdi-reply-all:before{content:"󰑛"}.mdi-reply-all-outline:before{content:"󰼟"}.mdi-reply-circle:before{content:"󱆮"}.mdi-reply-outline:before{content:"󰼠"}.mdi-reproduction:before{content:"󰑜"}.mdi-resistor:before{content:"󰭄"}.mdi-resistor-nodes:before{content:"󰭅"}.mdi-resize:before{content:"󰩨"}.mdi-resize-bottom-right:before{content:"󰑝"}.mdi-responsive:before{content:"󰑞"}.mdi-restart:before{content:"󰜉"}.mdi-restart-alert:before{content:"󱄌"}.mdi-restart-off:before{content:"󰶕"}.mdi-restore:before{content:"󰦛"}.mdi-restore-alert:before{content:"󱄍"}.mdi-rewind:before{content:"󰑟"}.mdi-rewind-10:before{content:"󰴪"}.mdi-rewind-15:before{content:"󱥆"}.mdi-rewind-30:before{content:"󰶖"}.mdi-rewind-45:before{content:"󱬓"}.mdi-rewind-5:before{content:"󱇹"}.mdi-rewind-60:before{content:"󱘌"}.mdi-rewind-outline:before{content:"󰜊"}.mdi-rhombus:before{content:"󰜋"}.mdi-rhombus-medium:before{content:"󰨐"}.mdi-rhombus-medium-outline:before{content:"󱓜"}.mdi-rhombus-outline:before{content:"󰜌"}.mdi-rhombus-split:before{content:"󰨑"}.mdi-rhombus-split-outline:before{content:"󱓝"}.mdi-ribbon:before{content:"󰑠"}.mdi-rice:before{content:"󰟪"}.mdi-rickshaw:before{content:"󱖻"}.mdi-rickshaw-electric:before{content:"󱖼"}.mdi-ring:before{content:"󰟫"}.mdi-rivet:before{content:"󰹠"}.mdi-road:before{content:"󰑡"}.mdi-road-variant:before{content:"󰑢"}.mdi-robber:before{content:"󱁘"}.mdi-robot:before{content:"󰚩"}.mdi-robot-angry:before{content:"󱚝"}.mdi-robot-angry-outline:before{content:"󱚞"}.mdi-robot-confused:before{content:"󱚟"}.mdi-robot-confused-outline:before{content:"󱚠"}.mdi-robot-dead:before{content:"󱚡"}.mdi-robot-dead-outline:before{content:"󱚢"}.mdi-robot-excited:before{content:"󱚣"}.mdi-robot-excited-outline:before{content:"󱚤"}.mdi-robot-happy:before{content:"󱜙"}.mdi-robot-happy-outline:before{content:"󱜚"}.mdi-robot-industrial:before{content:"󰭆"}.mdi-robot-industrial-outline:before{content:"󱨚"}.mdi-robot-love:before{content:"󱚥"}.mdi-robot-love-outline:before{content:"󱚦"}.mdi-robot-mower:before{content:"󱇷"}.mdi-robot-mower-outline:before{content:"󱇳"}.mdi-robot-off:before{content:"󱚧"}.mdi-robot-off-outline:before{content:"󱙻"}.mdi-robot-outline:before{content:"󱙺"}.mdi-robot-vacuum:before{content:"󰜍"}.mdi-robot-vacuum-alert:before{content:"󱭝"}.mdi-robot-vacuum-off:before{content:"󱰁"}.mdi-robot-vacuum-variant:before{content:"󰤈"}.mdi-robot-vacuum-variant-alert:before{content:"󱭞"}.mdi-robot-vacuum-variant-off:before{content:"󱰂"}.mdi-rocket:before{content:"󰑣"}.mdi-rocket-launch:before{content:"󱓞"}.mdi-rocket-launch-outline:before{content:"󱓟"}.mdi-rocket-outline:before{content:"󱎯"}.mdi-rodent:before{content:"󱌧"}.mdi-roller-shade:before{content:"󱩫"}.mdi-roller-shade-closed:before{content:"󱩬"}.mdi-roller-skate:before{content:"󰴫"}.mdi-roller-skate-off:before{content:"󰅅"}.mdi-rollerblade:before{content:"󰴬"}.mdi-rollerblade-off:before{content:"󰀮"}.mdi-rollupjs:before{content:"󰯀"}.mdi-rolodex:before{content:"󱪹"}.mdi-rolodex-outline:before{content:"󱪺"}.mdi-roman-numeral-1:before{content:"󱂈"}.mdi-roman-numeral-10:before{content:"󱂑"}.mdi-roman-numeral-2:before{content:"󱂉"}.mdi-roman-numeral-3:before{content:"󱂊"}.mdi-roman-numeral-4:before{content:"󱂋"}.mdi-roman-numeral-5:before{content:"󱂌"}.mdi-roman-numeral-6:before{content:"󱂍"}.mdi-roman-numeral-7:before{content:"󱂎"}.mdi-roman-numeral-8:before{content:"󱂏"}.mdi-roman-numeral-9:before{content:"󱂐"}.mdi-room-service:before{content:"󰢍"}.mdi-room-service-outline:before{content:"󰶗"}.mdi-rotate-360:before{content:"󱦙"}.mdi-rotate-3d:before{content:"󰻇"}.mdi-rotate-3d-variant:before{content:"󰑤"}.mdi-rotate-left:before{content:"󰑥"}.mdi-rotate-left-variant:before{content:"󰑦"}.mdi-rotate-orbit:before{content:"󰶘"}.mdi-rotate-right:before{content:"󰑧"}.mdi-rotate-right-variant:before{content:"󰑨"}.mdi-rounded-corner:before{content:"󰘇"}.mdi-router:before{content:"󱇢"}.mdi-router-network:before{content:"󱂇"}.mdi-router-wireless:before{content:"󰑩"}.mdi-router-wireless-off:before{content:"󱖣"}.mdi-router-wireless-settings:before{content:"󰩩"}.mdi-routes:before{content:"󰑪"}.mdi-routes-clock:before{content:"󱁙"}.mdi-rowing:before{content:"󰘈"}.mdi-rss:before{content:"󰑫"}.mdi-rss-box:before{content:"󰑬"}.mdi-rss-off:before{content:"󰼡"}.mdi-rug:before{content:"󱑵"}.mdi-rugby:before{content:"󰶙"}.mdi-ruler:before{content:"󰑭"}.mdi-ruler-square:before{content:"󰳂"}.mdi-ruler-square-compass:before{content:"󰺾"}.mdi-run:before{content:"󰜎"}.mdi-run-fast:before{content:"󰑮"}.mdi-rv-truck:before{content:"󱇔"}.mdi-sack:before{content:"󰴮"}.mdi-sack-outline:before{content:"󱱌"}.mdi-sack-percent:before{content:"󰴯"}.mdi-safe:before{content:"󰩪"}.mdi-safe-square:before{content:"󱉼"}.mdi-safe-square-outline:before{content:"󱉽"}.mdi-safety-goggles:before{content:"󰴰"}.mdi-sail-boat:before{content:"󰻈"}.mdi-sail-boat-sink:before{content:"󱫯"}.mdi-sale:before{content:"󰑯"}.mdi-sale-outline:before{content:"󱨆"}.mdi-salesforce:before{content:"󰢎"}.mdi-sass:before{content:"󰟬"}.mdi-satellite:before{content:"󰑰"}.mdi-satellite-uplink:before{content:"󰤉"}.mdi-satellite-variant:before{content:"󰑱"}.mdi-sausage:before{content:"󰢺"}.mdi-sausage-off:before{content:"󱞉"}.mdi-saw-blade:before{content:"󰹡"}.mdi-sawtooth-wave:before{content:"󱑺"}.mdi-saxophone:before{content:"󰘉"}.mdi-scale:before{content:"󰑲"}.mdi-scale-balance:before{content:"󰗑"}.mdi-scale-bathroom:before{content:"󰑳"}.mdi-scale-off:before{content:"󱁚"}.mdi-scale-unbalanced:before{content:"󱦸"}.mdi-scan-helper:before{content:"󱏘"}.mdi-scanner:before{content:"󰚫"}.mdi-scanner-off:before{content:"󰤊"}.mdi-scatter-plot:before{content:"󰻉"}.mdi-scatter-plot-outline:before{content:"󰻊"}.mdi-scent:before{content:"󱥘"}.mdi-scent-off:before{content:"󱥙"}.mdi-school:before{content:"󰑴"}.mdi-school-outline:before{content:"󱆀"}.mdi-scissors-cutting:before{content:"󰩫"}.mdi-scooter:before{content:"󱖽"}.mdi-scooter-electric:before{content:"󱖾"}.mdi-scoreboard:before{content:"󱉾"}.mdi-scoreboard-outline:before{content:"󱉿"}.mdi-screen-rotation:before{content:"󰑵"}.mdi-screen-rotation-lock:before{content:"󰑸"}.mdi-screw-flat-top:before{content:"󰷳"}.mdi-screw-lag:before{content:"󰷴"}.mdi-screw-machine-flat-top:before{content:"󰷵"}.mdi-screw-machine-round-top:before{content:"󰷶"}.mdi-screw-round-top:before{content:"󰷷"}.mdi-screwdriver:before{content:"󰑶"}.mdi-script:before{content:"󰯁"}.mdi-script-outline:before{content:"󰑷"}.mdi-script-text:before{content:"󰯂"}.mdi-script-text-key:before{content:"󱜥"}.mdi-script-text-key-outline:before{content:"󱜦"}.mdi-script-text-outline:before{content:"󰯃"}.mdi-script-text-play:before{content:"󱜧"}.mdi-script-text-play-outline:before{content:"󱜨"}.mdi-sd:before{content:"󰑹"}.mdi-seal:before{content:"󰑺"}.mdi-seal-variant:before{content:"󰿙"}.mdi-search-web:before{content:"󰜏"}.mdi-seat:before{content:"󰳃"}.mdi-seat-flat:before{content:"󰑻"}.mdi-seat-flat-angled:before{content:"󰑼"}.mdi-seat-individual-suite:before{content:"󰑽"}.mdi-seat-legroom-extra:before{content:"󰑾"}.mdi-seat-legroom-normal:before{content:"󰑿"}.mdi-seat-legroom-reduced:before{content:"󰒀"}.mdi-seat-outline:before{content:"󰳄"}.mdi-seat-passenger:before{content:"󱉉"}.mdi-seat-recline-extra:before{content:"󰒁"}.mdi-seat-recline-normal:before{content:"󰒂"}.mdi-seatbelt:before{content:"󰳅"}.mdi-security:before{content:"󰒃"}.mdi-security-network:before{content:"󰒄"}.mdi-seed:before{content:"󰹢"}.mdi-seed-off:before{content:"󱏽"}.mdi-seed-off-outline:before{content:"󱏾"}.mdi-seed-outline:before{content:"󰹣"}.mdi-seed-plus:before{content:"󱩭"}.mdi-seed-plus-outline:before{content:"󱩮"}.mdi-seesaw:before{content:"󱖤"}.mdi-segment:before{content:"󰻋"}.mdi-select:before{content:"󰒅"}.mdi-select-all:before{content:"󰒆"}.mdi-select-arrow-down:before{content:"󱭙"}.mdi-select-arrow-up:before{content:"󱭘"}.mdi-select-color:before{content:"󰴱"}.mdi-select-compare:before{content:"󰫙"}.mdi-select-drag:before{content:"󰩬"}.mdi-select-group:before{content:"󰾂"}.mdi-select-inverse:before{content:"󰒇"}.mdi-select-marker:before{content:"󱊀"}.mdi-select-multiple:before{content:"󱊁"}.mdi-select-multiple-marker:before{content:"󱊂"}.mdi-select-off:before{content:"󰒈"}.mdi-select-place:before{content:"󰿚"}.mdi-select-remove:before{content:"󱟁"}.mdi-select-search:before{content:"󱈄"}.mdi-selection:before{content:"󰒉"}.mdi-selection-drag:before{content:"󰩭"}.mdi-selection-ellipse:before{content:"󰴲"}.mdi-selection-ellipse-arrow-inside:before{content:"󰼢"}.mdi-selection-ellipse-remove:before{content:"󱟂"}.mdi-selection-marker:before{content:"󱊃"}.mdi-selection-multiple:before{content:"󱊅"}.mdi-selection-multiple-marker:before{content:"󱊄"}.mdi-selection-off:before{content:"󰝷"}.mdi-selection-remove:before{content:"󱟃"}.mdi-selection-search:before{content:"󱈅"}.mdi-semantic-web:before{content:"󱌖"}.mdi-send:before{content:"󰒊"}.mdi-send-check:before{content:"󱅡"}.mdi-send-check-outline:before{content:"󱅢"}.mdi-send-circle:before{content:"󰷸"}.mdi-send-circle-outline:before{content:"󰷹"}.mdi-send-clock:before{content:"󱅣"}.mdi-send-clock-outline:before{content:"󱅤"}.mdi-send-lock:before{content:"󰟭"}.mdi-send-lock-outline:before{content:"󱅦"}.mdi-send-outline:before{content:"󱅥"}.mdi-send-variant:before{content:"󱱍"}.mdi-send-variant-clock:before{content:"󱱾"}.mdi-send-variant-clock-outline:before{content:"󱱿"}.mdi-send-variant-outline:before{content:"󱱎"}.mdi-serial-port:before{content:"󰙜"}.mdi-server:before{content:"󰒋"}.mdi-server-minus:before{content:"󰒌"}.mdi-server-network:before{content:"󰒍"}.mdi-server-network-off:before{content:"󰒎"}.mdi-server-off:before{content:"󰒏"}.mdi-server-plus:before{content:"󰒐"}.mdi-server-remove:before{content:"󰒑"}.mdi-server-security:before{content:"󰒒"}.mdi-set-all:before{content:"󰝸"}.mdi-set-center:before{content:"󰝹"}.mdi-set-center-right:before{content:"󰝺"}.mdi-set-left:before{content:"󰝻"}.mdi-set-left-center:before{content:"󰝼"}.mdi-set-left-right:before{content:"󰝽"}.mdi-set-merge:before{content:"󱓠"}.mdi-set-none:before{content:"󰝾"}.mdi-set-right:before{content:"󰝿"}.mdi-set-split:before{content:"󱓡"}.mdi-set-square:before{content:"󱑝"}.mdi-set-top-box:before{content:"󰦟"}.mdi-settings-helper:before{content:"󰩮"}.mdi-shaker:before{content:"󱄎"}.mdi-shaker-outline:before{content:"󱄏"}.mdi-shape:before{content:"󰠱"}.mdi-shape-circle-plus:before{content:"󰙝"}.mdi-shape-outline:before{content:"󰠲"}.mdi-shape-oval-plus:before{content:"󱇺"}.mdi-shape-plus:before{content:"󰒕"}.mdi-shape-plus-outline:before{content:"󱱏"}.mdi-shape-polygon-plus:before{content:"󰙞"}.mdi-shape-rectangle-plus:before{content:"󰙟"}.mdi-shape-square-plus:before{content:"󰙠"}.mdi-shape-square-rounded-plus:before{content:"󱓺"}.mdi-share:before{content:"󰒖"}.mdi-share-all:before{content:"󱇴"}.mdi-share-all-outline:before{content:"󱇵"}.mdi-share-circle:before{content:"󱆭"}.mdi-share-off:before{content:"󰼣"}.mdi-share-off-outline:before{content:"󰼤"}.mdi-share-outline:before{content:"󰤲"}.mdi-share-variant:before{content:"󰒗"}.mdi-share-variant-outline:before{content:"󱔔"}.mdi-shark:before{content:"󱢺"}.mdi-shark-fin:before{content:"󱙳"}.mdi-shark-fin-outline:before{content:"󱙴"}.mdi-shark-off:before{content:"󱢻"}.mdi-sheep:before{content:"󰳆"}.mdi-shield:before{content:"󰒘"}.mdi-shield-account:before{content:"󰢏"}.mdi-shield-account-outline:before{content:"󰨒"}.mdi-shield-account-variant:before{content:"󱖧"}.mdi-shield-account-variant-outline:before{content:"󱖨"}.mdi-shield-airplane:before{content:"󰚻"}.mdi-shield-airplane-outline:before{content:"󰳇"}.mdi-shield-alert:before{content:"󰻌"}.mdi-shield-alert-outline:before{content:"󰻍"}.mdi-shield-bug:before{content:"󱏚"}.mdi-shield-bug-outline:before{content:"󱏛"}.mdi-shield-car:before{content:"󰾃"}.mdi-shield-check:before{content:"󰕥"}.mdi-shield-check-outline:before{content:"󰳈"}.mdi-shield-cross:before{content:"󰳉"}.mdi-shield-cross-outline:before{content:"󰳊"}.mdi-shield-crown:before{content:"󱢼"}.mdi-shield-crown-outline:before{content:"󱢽"}.mdi-shield-edit:before{content:"󱆠"}.mdi-shield-edit-outline:before{content:"󱆡"}.mdi-shield-half:before{content:"󱍠"}.mdi-shield-half-full:before{content:"󰞀"}.mdi-shield-home:before{content:"󰚊"}.mdi-shield-home-outline:before{content:"󰳋"}.mdi-shield-key:before{content:"󰯄"}.mdi-shield-key-outline:before{content:"󰯅"}.mdi-shield-link-variant:before{content:"󰴳"}.mdi-shield-link-variant-outline:before{content:"󰴴"}.mdi-shield-lock:before{content:"󰦝"}.mdi-shield-lock-open:before{content:"󱦚"}.mdi-shield-lock-open-outline:before{content:"󱦛"}.mdi-shield-lock-outline:before{content:"󰳌"}.mdi-shield-moon:before{content:"󱠨"}.mdi-shield-moon-outline:before{content:"󱠩"}.mdi-shield-off:before{content:"󰦞"}.mdi-shield-off-outline:before{content:"󰦜"}.mdi-shield-outline:before{content:"󰒙"}.mdi-shield-plus:before{content:"󰫚"}.mdi-shield-plus-outline:before{content:"󰫛"}.mdi-shield-refresh:before{content:"󰂪"}.mdi-shield-refresh-outline:before{content:"󰇠"}.mdi-shield-remove:before{content:"󰫜"}.mdi-shield-remove-outline:before{content:"󰫝"}.mdi-shield-search:before{content:"󰶚"}.mdi-shield-star:before{content:"󱄻"}.mdi-shield-star-outline:before{content:"󱄼"}.mdi-shield-sun:before{content:"󱁝"}.mdi-shield-sun-outline:before{content:"󱁞"}.mdi-shield-sword:before{content:"󱢾"}.mdi-shield-sword-outline:before{content:"󱢿"}.mdi-shield-sync:before{content:"󱆢"}.mdi-shield-sync-outline:before{content:"󱆣"}.mdi-shimmer:before{content:"󱕅"}.mdi-ship-wheel:before{content:"󰠳"}.mdi-shipping-pallet:before{content:"󱡎"}.mdi-shoe-ballet:before{content:"󱗊"}.mdi-shoe-cleat:before{content:"󱗇"}.mdi-shoe-formal:before{content:"󰭇"}.mdi-shoe-heel:before{content:"󰭈"}.mdi-shoe-print:before{content:"󰷺"}.mdi-shoe-sneaker:before{content:"󱗈"}.mdi-shopping:before{content:"󰒚"}.mdi-shopping-music:before{content:"󰒛"}.mdi-shopping-outline:before{content:"󱇕"}.mdi-shopping-search:before{content:"󰾄"}.mdi-shopping-search-outline:before{content:"󱩯"}.mdi-shore:before{content:"󱓹"}.mdi-shovel:before{content:"󰜐"}.mdi-shovel-off:before{content:"󰜑"}.mdi-shower:before{content:"󰦠"}.mdi-shower-head:before{content:"󰦡"}.mdi-shredder:before{content:"󰒜"}.mdi-shuffle:before{content:"󰒝"}.mdi-shuffle-disabled:before{content:"󰒞"}.mdi-shuffle-variant:before{content:"󰒟"}.mdi-shuriken:before{content:"󱍿"}.mdi-sickle:before{content:"󱣀"}.mdi-sigma:before{content:"󰒠"}.mdi-sigma-lower:before{content:"󰘫"}.mdi-sign-caution:before{content:"󰒡"}.mdi-sign-direction:before{content:"󰞁"}.mdi-sign-direction-minus:before{content:"󱀀"}.mdi-sign-direction-plus:before{content:"󰿜"}.mdi-sign-direction-remove:before{content:"󰿝"}.mdi-sign-language:before{content:"󱭍"}.mdi-sign-language-outline:before{content:"󱭎"}.mdi-sign-pole:before{content:"󱓸"}.mdi-sign-real-estate:before{content:"󱄘"}.mdi-sign-text:before{content:"󰞂"}.mdi-sign-yield:before{content:"󱮯"}.mdi-signal:before{content:"󰒢"}.mdi-signal-2g:before{content:"󰜒"}.mdi-signal-3g:before{content:"󰜓"}.mdi-signal-4g:before{content:"󰜔"}.mdi-signal-5g:before{content:"󰩯"}.mdi-signal-cellular-1:before{content:"󰢼"}.mdi-signal-cellular-2:before{content:"󰢽"}.mdi-signal-cellular-3:before{content:"󰢾"}.mdi-signal-cellular-outline:before{content:"󰢿"}.mdi-signal-distance-variant:before{content:"󰹤"}.mdi-signal-hspa:before{content:"󰜕"}.mdi-signal-hspa-plus:before{content:"󰜖"}.mdi-signal-off:before{content:"󰞃"}.mdi-signal-variant:before{content:"󰘊"}.mdi-signature:before{content:"󰷻"}.mdi-signature-freehand:before{content:"󰷼"}.mdi-signature-image:before{content:"󰷽"}.mdi-signature-text:before{content:"󰷾"}.mdi-silo:before{content:"󱮟"}.mdi-silo-outline:before{content:"󰭉"}.mdi-silverware:before{content:"󰒣"}.mdi-silverware-clean:before{content:"󰿞"}.mdi-silverware-fork:before{content:"󰒤"}.mdi-silverware-fork-knife:before{content:"󰩰"}.mdi-silverware-spoon:before{content:"󰒥"}.mdi-silverware-variant:before{content:"󰒦"}.mdi-sim:before{content:"󰒧"}.mdi-sim-alert:before{content:"󰒨"}.mdi-sim-alert-outline:before{content:"󱗓"}.mdi-sim-off:before{content:"󰒩"}.mdi-sim-off-outline:before{content:"󱗔"}.mdi-sim-outline:before{content:"󱗕"}.mdi-simple-icons:before{content:"󱌝"}.mdi-sina-weibo:before{content:"󰫟"}.mdi-sine-wave:before{content:"󰥛"}.mdi-sitemap:before{content:"󰒪"}.mdi-sitemap-outline:before{content:"󱦜"}.mdi-size-l:before{content:"󱎦"}.mdi-size-m:before{content:"󱎥"}.mdi-size-s:before{content:"󱎤"}.mdi-size-xl:before{content:"󱎧"}.mdi-size-xs:before{content:"󱎣"}.mdi-size-xxl:before{content:"󱎨"}.mdi-size-xxs:before{content:"󱎢"}.mdi-size-xxxl:before{content:"󱎩"}.mdi-skate:before{content:"󰴵"}.mdi-skate-off:before{content:"󰚙"}.mdi-skateboard:before{content:"󱓂"}.mdi-skateboarding:before{content:"󰔁"}.mdi-skew-less:before{content:"󰴶"}.mdi-skew-more:before{content:"󰴷"}.mdi-ski:before{content:"󱌄"}.mdi-ski-cross-country:before{content:"󱌅"}.mdi-ski-water:before{content:"󱌆"}.mdi-skip-backward:before{content:"󰒫"}.mdi-skip-backward-outline:before{content:"󰼥"}.mdi-skip-forward:before{content:"󰒬"}.mdi-skip-forward-outline:before{content:"󰼦"}.mdi-skip-next:before{content:"󰒭"}.mdi-skip-next-circle:before{content:"󰙡"}.mdi-skip-next-circle-outline:before{content:"󰙢"}.mdi-skip-next-outline:before{content:"󰼧"}.mdi-skip-previous:before{content:"󰒮"}.mdi-skip-previous-circle:before{content:"󰙣"}.mdi-skip-previous-circle-outline:before{content:"󰙤"}.mdi-skip-previous-outline:before{content:"󰼨"}.mdi-skull:before{content:"󰚌"}.mdi-skull-crossbones:before{content:"󰯆"}.mdi-skull-crossbones-outline:before{content:"󰯇"}.mdi-skull-outline:before{content:"󰯈"}.mdi-skull-scan:before{content:"󱓇"}.mdi-skull-scan-outline:before{content:"󱓈"}.mdi-skype:before{content:"󰒯"}.mdi-skype-business:before{content:"󰒰"}.mdi-slack:before{content:"󰒱"}.mdi-slash-forward:before{content:"󰿟"}.mdi-slash-forward-box:before{content:"󰿠"}.mdi-sledding:before{content:"󰐛"}.mdi-sleep:before{content:"󰒲"}.mdi-sleep-off:before{content:"󰒳"}.mdi-slide:before{content:"󱖥"}.mdi-slope-downhill:before{content:"󰷿"}.mdi-slope-uphill:before{content:"󰸀"}.mdi-slot-machine:before{content:"󱄔"}.mdi-slot-machine-outline:before{content:"󱄕"}.mdi-smart-card:before{content:"󱂽"}.mdi-smart-card-off:before{content:"󱣷"}.mdi-smart-card-off-outline:before{content:"󱣸"}.mdi-smart-card-outline:before{content:"󱂾"}.mdi-smart-card-reader:before{content:"󱂿"}.mdi-smart-card-reader-outline:before{content:"󱃀"}.mdi-smog:before{content:"󰩱"}.mdi-smoke:before{content:"󱞙"}.mdi-smoke-detector:before{content:"󰎒"}.mdi-smoke-detector-alert:before{content:"󱤮"}.mdi-smoke-detector-alert-outline:before{content:"󱤯"}.mdi-smoke-detector-off:before{content:"󱠉"}.mdi-smoke-detector-off-outline:before{content:"󱠊"}.mdi-smoke-detector-outline:before{content:"󱠈"}.mdi-smoke-detector-variant:before{content:"󱠋"}.mdi-smoke-detector-variant-alert:before{content:"󱤰"}.mdi-smoke-detector-variant-off:before{content:"󱠌"}.mdi-smoking:before{content:"󰒴"}.mdi-smoking-off:before{content:"󰒵"}.mdi-smoking-pipe:before{content:"󱐍"}.mdi-smoking-pipe-off:before{content:"󱐨"}.mdi-snail:before{content:"󱙷"}.mdi-snake:before{content:"󱔎"}.mdi-snapchat:before{content:"󰒶"}.mdi-snowboard:before{content:"󱌇"}.mdi-snowflake:before{content:"󰜗"}.mdi-snowflake-alert:before{content:"󰼩"}.mdi-snowflake-check:before{content:"󱩰"}.mdi-snowflake-melt:before{content:"󱋋"}.mdi-snowflake-off:before{content:"󱓣"}.mdi-snowflake-thermometer:before{content:"󱩱"}.mdi-snowflake-variant:before{content:"󰼪"}.mdi-snowman:before{content:"󰒷"}.mdi-snowmobile:before{content:"󰛝"}.mdi-snowshoeing:before{content:"󱩲"}.mdi-soccer:before{content:"󰒸"}.mdi-soccer-field:before{content:"󰠴"}.mdi-social-distance-2-meters:before{content:"󱕹"}.mdi-social-distance-6-feet:before{content:"󱕺"}.mdi-sofa:before{content:"󰒹"}.mdi-sofa-outline:before{content:"󱕭"}.mdi-sofa-single:before{content:"󱕮"}.mdi-sofa-single-outline:before{content:"󱕯"}.mdi-solar-panel:before{content:"󰶛"}.mdi-solar-panel-large:before{content:"󰶜"}.mdi-solar-power:before{content:"󰩲"}.mdi-solar-power-variant:before{content:"󱩳"}.mdi-solar-power-variant-outline:before{content:"󱩴"}.mdi-soldering-iron:before{content:"󱂒"}.mdi-solid:before{content:"󰚍"}.mdi-sony-playstation:before{content:"󰐔"}.mdi-sort:before{content:"󰒺"}.mdi-sort-alphabetical-ascending:before{content:"󰖽"}.mdi-sort-alphabetical-ascending-variant:before{content:"󱅈"}.mdi-sort-alphabetical-descending:before{content:"󰖿"}.mdi-sort-alphabetical-descending-variant:before{content:"󱅉"}.mdi-sort-alphabetical-variant:before{content:"󰒻"}.mdi-sort-ascending:before{content:"󰒼"}.mdi-sort-bool-ascending:before{content:"󱎅"}.mdi-sort-bool-ascending-variant:before{content:"󱎆"}.mdi-sort-bool-descending:before{content:"󱎇"}.mdi-sort-bool-descending-variant:before{content:"󱎈"}.mdi-sort-calendar-ascending:before{content:"󱕇"}.mdi-sort-calendar-descending:before{content:"󱕈"}.mdi-sort-clock-ascending:before{content:"󱕉"}.mdi-sort-clock-ascending-outline:before{content:"󱕊"}.mdi-sort-clock-descending:before{content:"󱕋"}.mdi-sort-clock-descending-outline:before{content:"󱕌"}.mdi-sort-descending:before{content:"󰒽"}.mdi-sort-numeric-ascending:before{content:"󱎉"}.mdi-sort-numeric-ascending-variant:before{content:"󰤍"}.mdi-sort-numeric-descending:before{content:"󱎊"}.mdi-sort-numeric-descending-variant:before{content:"󰫒"}.mdi-sort-numeric-variant:before{content:"󰒾"}.mdi-sort-reverse-variant:before{content:"󰌼"}.mdi-sort-variant:before{content:"󰒿"}.mdi-sort-variant-lock:before{content:"󰳍"}.mdi-sort-variant-lock-open:before{content:"󰳎"}.mdi-sort-variant-off:before{content:"󱪻"}.mdi-sort-variant-remove:before{content:"󱅇"}.mdi-soundbar:before{content:"󱟛"}.mdi-soundcloud:before{content:"󰓀"}.mdi-source-branch:before{content:"󰘬"}.mdi-source-branch-check:before{content:"󱓏"}.mdi-source-branch-minus:before{content:"󱓋"}.mdi-source-branch-plus:before{content:"󱓊"}.mdi-source-branch-refresh:before{content:"󱓍"}.mdi-source-branch-remove:before{content:"󱓌"}.mdi-source-branch-sync:before{content:"󱓎"}.mdi-source-commit:before{content:"󰜘"}.mdi-source-commit-end:before{content:"󰜙"}.mdi-source-commit-end-local:before{content:"󰜚"}.mdi-source-commit-local:before{content:"󰜛"}.mdi-source-commit-next-local:before{content:"󰜜"}.mdi-source-commit-start:before{content:"󰜝"}.mdi-source-commit-start-next-local:before{content:"󰜞"}.mdi-source-fork:before{content:"󰓁"}.mdi-source-merge:before{content:"󰘭"}.mdi-source-pull:before{content:"󰓂"}.mdi-source-repository:before{content:"󰳏"}.mdi-source-repository-multiple:before{content:"󰳐"}.mdi-soy-sauce:before{content:"󰟮"}.mdi-soy-sauce-off:before{content:"󱏼"}.mdi-spa:before{content:"󰳑"}.mdi-spa-outline:before{content:"󰳒"}.mdi-space-invaders:before{content:"󰯉"}.mdi-space-station:before{content:"󱎃"}.mdi-spade:before{content:"󰹥"}.mdi-speaker:before{content:"󰓃"}.mdi-speaker-bluetooth:before{content:"󰦢"}.mdi-speaker-message:before{content:"󱬑"}.mdi-speaker-multiple:before{content:"󰴸"}.mdi-speaker-off:before{content:"󰓄"}.mdi-speaker-pause:before{content:"󱭳"}.mdi-speaker-play:before{content:"󱭲"}.mdi-speaker-stop:before{content:"󱭴"}.mdi-speaker-wireless:before{content:"󰜟"}.mdi-spear:before{content:"󱡅"}.mdi-speedometer:before{content:"󰓅"}.mdi-speedometer-medium:before{content:"󰾅"}.mdi-speedometer-slow:before{content:"󰾆"}.mdi-spellcheck:before{content:"󰓆"}.mdi-sphere:before{content:"󱥔"}.mdi-sphere-off:before{content:"󱥕"}.mdi-spider:before{content:"󱇪"}.mdi-spider-outline:before{content:"󱱵"}.mdi-spider-thread:before{content:"󱇫"}.mdi-spider-web:before{content:"󰯊"}.mdi-spirit-level:before{content:"󱓱"}.mdi-spoon-sugar:before{content:"󱐩"}.mdi-spotify:before{content:"󰓇"}.mdi-spotlight:before{content:"󰓈"}.mdi-spotlight-beam:before{content:"󰓉"}.mdi-spray:before{content:"󰙥"}.mdi-spray-bottle:before{content:"󰫠"}.mdi-sprinkler:before{content:"󱁟"}.mdi-sprinkler-fire:before{content:"󱦝"}.mdi-sprinkler-variant:before{content:"󱁠"}.mdi-sprout:before{content:"󰹦"}.mdi-sprout-outline:before{content:"󰹧"}.mdi-square:before{content:"󰝤"}.mdi-square-circle:before{content:"󱔀"}.mdi-square-circle-outline:before{content:"󱱐"}.mdi-square-edit-outline:before{content:"󰤌"}.mdi-square-medium:before{content:"󰨓"}.mdi-square-medium-outline:before{content:"󰨔"}.mdi-square-off:before{content:"󱋮"}.mdi-square-off-outline:before{content:"󱋯"}.mdi-square-opacity:before{content:"󱡔"}.mdi-square-outline:before{content:"󰝣"}.mdi-square-root:before{content:"󰞄"}.mdi-square-root-box:before{content:"󰦣"}.mdi-square-rounded:before{content:"󱓻"}.mdi-square-rounded-badge:before{content:"󱨇"}.mdi-square-rounded-badge-outline:before{content:"󱨈"}.mdi-square-rounded-outline:before{content:"󱓼"}.mdi-square-small:before{content:"󰨕"}.mdi-square-wave:before{content:"󱑻"}.mdi-squeegee:before{content:"󰫡"}.mdi-ssh:before{content:"󰣀"}.mdi-stack-exchange:before{content:"󰘋"}.mdi-stack-overflow:before{content:"󰓌"}.mdi-stackpath:before{content:"󰍙"}.mdi-stadium:before{content:"󰿹"}.mdi-stadium-outline:before{content:"󱬃"}.mdi-stadium-variant:before{content:"󰜠"}.mdi-stairs:before{content:"󰓍"}.mdi-stairs-box:before{content:"󱎞"}.mdi-stairs-down:before{content:"󱊾"}.mdi-stairs-up:before{content:"󱊽"}.mdi-stamper:before{content:"󰴹"}.mdi-standard-definition:before{content:"󰟯"}.mdi-star:before{content:"󰓎"}.mdi-star-box:before{content:"󰩳"}.mdi-star-box-multiple:before{content:"󱊆"}.mdi-star-box-multiple-outline:before{content:"󱊇"}.mdi-star-box-outline:before{content:"󰩴"}.mdi-star-check:before{content:"󱕦"}.mdi-star-check-outline:before{content:"󱕪"}.mdi-star-circle:before{content:"󰓏"}.mdi-star-circle-outline:before{content:"󰦤"}.mdi-star-cog:before{content:"󱙨"}.mdi-star-cog-outline:before{content:"󱙩"}.mdi-star-crescent:before{content:"󰥹"}.mdi-star-david:before{content:"󰥺"}.mdi-star-face:before{content:"󰦥"}.mdi-star-four-points:before{content:"󰫢"}.mdi-star-four-points-box:before{content:"󱱑"}.mdi-star-four-points-box-outline:before{content:"󱱒"}.mdi-star-four-points-circle:before{content:"󱱓"}.mdi-star-four-points-circle-outline:before{content:"󱱔"}.mdi-star-four-points-outline:before{content:"󰫣"}.mdi-star-four-points-small:before{content:"󱱕"}.mdi-star-half:before{content:"󰉆"}.mdi-star-half-full:before{content:"󰓐"}.mdi-star-minus:before{content:"󱕤"}.mdi-star-minus-outline:before{content:"󱕨"}.mdi-star-off:before{content:"󰓑"}.mdi-star-off-outline:before{content:"󱕛"}.mdi-star-outline:before{content:"󰓒"}.mdi-star-plus:before{content:"󱕣"}.mdi-star-plus-outline:before{content:"󱕧"}.mdi-star-remove:before{content:"󱕥"}.mdi-star-remove-outline:before{content:"󱕩"}.mdi-star-settings:before{content:"󱙪"}.mdi-star-settings-outline:before{content:"󱙫"}.mdi-star-shooting:before{content:"󱝁"}.mdi-star-shooting-outline:before{content:"󱝂"}.mdi-star-three-points:before{content:"󰫤"}.mdi-star-three-points-outline:before{content:"󰫥"}.mdi-state-machine:before{content:"󱇯"}.mdi-steam:before{content:"󰓓"}.mdi-steering:before{content:"󰓔"}.mdi-steering-off:before{content:"󰤎"}.mdi-step-backward:before{content:"󰓕"}.mdi-step-backward-2:before{content:"󰓖"}.mdi-step-forward:before{content:"󰓗"}.mdi-step-forward-2:before{content:"󰓘"}.mdi-stethoscope:before{content:"󰓙"}.mdi-sticker:before{content:"󱍤"}.mdi-sticker-alert:before{content:"󱍥"}.mdi-sticker-alert-outline:before{content:"󱍦"}.mdi-sticker-check:before{content:"󱍧"}.mdi-sticker-check-outline:before{content:"󱍨"}.mdi-sticker-circle-outline:before{content:"󰗐"}.mdi-sticker-emoji:before{content:"󰞅"}.mdi-sticker-minus:before{content:"󱍩"}.mdi-sticker-minus-outline:before{content:"󱍪"}.mdi-sticker-outline:before{content:"󱍫"}.mdi-sticker-plus:before{content:"󱍬"}.mdi-sticker-plus-outline:before{content:"󱍭"}.mdi-sticker-remove:before{content:"󱍮"}.mdi-sticker-remove-outline:before{content:"󱍯"}.mdi-sticker-text:before{content:"󱞎"}.mdi-sticker-text-outline:before{content:"󱞏"}.mdi-stocking:before{content:"󰓚"}.mdi-stomach:before{content:"󱂓"}.mdi-stool:before{content:"󱥝"}.mdi-stool-outline:before{content:"󱥞"}.mdi-stop:before{content:"󰓛"}.mdi-stop-circle:before{content:"󰙦"}.mdi-stop-circle-outline:before{content:"󰙧"}.mdi-storage-tank:before{content:"󱩵"}.mdi-storage-tank-outline:before{content:"󱩶"}.mdi-store:before{content:"󰓜"}.mdi-store-24-hour:before{content:"󰓝"}.mdi-store-alert:before{content:"󱣁"}.mdi-store-alert-outline:before{content:"󱣂"}.mdi-store-check:before{content:"󱣃"}.mdi-store-check-outline:before{content:"󱣄"}.mdi-store-clock:before{content:"󱣅"}.mdi-store-clock-outline:before{content:"󱣆"}.mdi-store-cog:before{content:"󱣇"}.mdi-store-cog-outline:before{content:"󱣈"}.mdi-store-edit:before{content:"󱣉"}.mdi-store-edit-outline:before{content:"󱣊"}.mdi-store-marker:before{content:"󱣋"}.mdi-store-marker-outline:before{content:"󱣌"}.mdi-store-minus:before{content:"󱙞"}.mdi-store-minus-outline:before{content:"󱣍"}.mdi-store-off:before{content:"󱣎"}.mdi-store-off-outline:before{content:"󱣏"}.mdi-store-outline:before{content:"󱍡"}.mdi-store-plus:before{content:"󱙟"}.mdi-store-plus-outline:before{content:"󱣐"}.mdi-store-remove:before{content:"󱙠"}.mdi-store-remove-outline:before{content:"󱣑"}.mdi-store-search:before{content:"󱣒"}.mdi-store-search-outline:before{content:"󱣓"}.mdi-store-settings:before{content:"󱣔"}.mdi-store-settings-outline:before{content:"󱣕"}.mdi-storefront:before{content:"󰟇"}.mdi-storefront-check:before{content:"󱭽"}.mdi-storefront-check-outline:before{content:"󱭾"}.mdi-storefront-edit:before{content:"󱭿"}.mdi-storefront-edit-outline:before{content:"󱮀"}.mdi-storefront-minus:before{content:"󱮃"}.mdi-storefront-minus-outline:before{content:"󱮄"}.mdi-storefront-outline:before{content:"󱃁"}.mdi-storefront-plus:before{content:"󱮁"}.mdi-storefront-plus-outline:before{content:"󱮂"}.mdi-storefront-remove:before{content:"󱮅"}.mdi-storefront-remove-outline:before{content:"󱮆"}.mdi-stove:before{content:"󰓞"}.mdi-strategy:before{content:"󱇖"}.mdi-stretch-to-page:before{content:"󰼫"}.mdi-stretch-to-page-outline:before{content:"󰼬"}.mdi-string-lights:before{content:"󱊺"}.mdi-string-lights-off:before{content:"󱊻"}.mdi-subdirectory-arrow-left:before{content:"󰘌"}.mdi-subdirectory-arrow-right:before{content:"󰘍"}.mdi-submarine:before{content:"󱕬"}.mdi-subtitles:before{content:"󰨖"}.mdi-subtitles-outline:before{content:"󰨗"}.mdi-subway:before{content:"󰚬"}.mdi-subway-alert-variant:before{content:"󰶝"}.mdi-subway-variant:before{content:"󰓟"}.mdi-summit:before{content:"󰞆"}.mdi-sun-angle:before{content:"󱬧"}.mdi-sun-angle-outline:before{content:"󱬨"}.mdi-sun-clock:before{content:"󱩷"}.mdi-sun-clock-outline:before{content:"󱩸"}.mdi-sun-compass:before{content:"󱦥"}.mdi-sun-snowflake:before{content:"󱞖"}.mdi-sun-snowflake-variant:before{content:"󱩹"}.mdi-sun-thermometer:before{content:"󱣖"}.mdi-sun-thermometer-outline:before{content:"󱣗"}.mdi-sun-wireless:before{content:"󱟾"}.mdi-sun-wireless-outline:before{content:"󱟿"}.mdi-sunglasses:before{content:"󰓠"}.mdi-surfing:before{content:"󱝆"}.mdi-surround-sound:before{content:"󰗅"}.mdi-surround-sound-2-0:before{content:"󰟰"}.mdi-surround-sound-2-1:before{content:"󱜩"}.mdi-surround-sound-3-1:before{content:"󰟱"}.mdi-surround-sound-5-1:before{content:"󰟲"}.mdi-surround-sound-5-1-2:before{content:"󱜪"}.mdi-surround-sound-7-1:before{content:"󰟳"}.mdi-svg:before{content:"󰜡"}.mdi-swap-horizontal:before{content:"󰓡"}.mdi-swap-horizontal-bold:before{content:"󰯍"}.mdi-swap-horizontal-circle:before{content:"󰿡"}.mdi-swap-horizontal-circle-outline:before{content:"󰿢"}.mdi-swap-horizontal-variant:before{content:"󰣁"}.mdi-swap-vertical:before{content:"󰓢"}.mdi-swap-vertical-bold:before{content:"󰯎"}.mdi-swap-vertical-circle:before{content:"󰿣"}.mdi-swap-vertical-circle-outline:before{content:"󰿤"}.mdi-swap-vertical-variant:before{content:"󰣂"}.mdi-swim:before{content:"󰓣"}.mdi-switch:before{content:"󰓤"}.mdi-sword:before{content:"󰓥"}.mdi-sword-cross:before{content:"󰞇"}.mdi-syllabary-hangul:before{content:"󱌳"}.mdi-syllabary-hiragana:before{content:"󱌴"}.mdi-syllabary-katakana:before{content:"󱌵"}.mdi-syllabary-katakana-halfwidth:before{content:"󱌶"}.mdi-symbol:before{content:"󱔁"}.mdi-symfony:before{content:"󰫦"}.mdi-synagogue:before{content:"󱬄"}.mdi-synagogue-outline:before{content:"󱬅"}.mdi-sync:before{content:"󰓦"}.mdi-sync-alert:before{content:"󰓧"}.mdi-sync-circle:before{content:"󱍸"}.mdi-sync-off:before{content:"󰓨"}.mdi-tab:before{content:"󰓩"}.mdi-tab-minus:before{content:"󰭋"}.mdi-tab-plus:before{content:"󰝜"}.mdi-tab-remove:before{content:"󰭌"}.mdi-tab-search:before{content:"󱦞"}.mdi-tab-unselected:before{content:"󰓪"}.mdi-table:before{content:"󰓫"}.mdi-table-account:before{content:"󱎹"}.mdi-table-alert:before{content:"󱎺"}.mdi-table-arrow-down:before{content:"󱎻"}.mdi-table-arrow-left:before{content:"󱎼"}.mdi-table-arrow-right:before{content:"󱎽"}.mdi-table-arrow-up:before{content:"󱎾"}.mdi-table-border:before{content:"󰨘"}.mdi-table-cancel:before{content:"󱎿"}.mdi-table-chair:before{content:"󱁡"}.mdi-table-check:before{content:"󱏀"}.mdi-table-clock:before{content:"󱏁"}.mdi-table-cog:before{content:"󱏂"}.mdi-table-column:before{content:"󰠵"}.mdi-table-column-plus-after:before{content:"󰓬"}.mdi-table-column-plus-before:before{content:"󰓭"}.mdi-table-column-remove:before{content:"󰓮"}.mdi-table-column-width:before{content:"󰓯"}.mdi-table-edit:before{content:"󰓰"}.mdi-table-eye:before{content:"󱂔"}.mdi-table-eye-off:before{content:"󱏃"}.mdi-table-filter:before{content:"󱮌"}.mdi-table-furniture:before{content:"󰖼"}.mdi-table-headers-eye:before{content:"󱈝"}.mdi-table-headers-eye-off:before{content:"󱈞"}.mdi-table-heart:before{content:"󱏄"}.mdi-table-key:before{content:"󱏅"}.mdi-table-large:before{content:"󰓱"}.mdi-table-large-plus:before{content:"󰾇"}.mdi-table-large-remove:before{content:"󰾈"}.mdi-table-lock:before{content:"󱏆"}.mdi-table-merge-cells:before{content:"󰦦"}.mdi-table-minus:before{content:"󱏇"}.mdi-table-multiple:before{content:"󱏈"}.mdi-table-network:before{content:"󱏉"}.mdi-table-of-contents:before{content:"󰠶"}.mdi-table-off:before{content:"󱏊"}.mdi-table-picnic:before{content:"󱝃"}.mdi-table-pivot:before{content:"󱠼"}.mdi-table-plus:before{content:"󰩵"}.mdi-table-question:before{content:"󱬡"}.mdi-table-refresh:before{content:"󱎠"}.mdi-table-remove:before{content:"󰩶"}.mdi-table-row:before{content:"󰠷"}.mdi-table-row-height:before{content:"󰓲"}.mdi-table-row-plus-after:before{content:"󰓳"}.mdi-table-row-plus-before:before{content:"󰓴"}.mdi-table-row-remove:before{content:"󰓵"}.mdi-table-search:before{content:"󰤏"}.mdi-table-settings:before{content:"󰠸"}.mdi-table-split-cell:before{content:"󱐪"}.mdi-table-star:before{content:"󱏋"}.mdi-table-sync:before{content:"󱎡"}.mdi-table-tennis:before{content:"󰹨"}.mdi-tablet:before{content:"󰓶"}.mdi-tablet-cellphone:before{content:"󰦧"}.mdi-tablet-dashboard:before{content:"󰻎"}.mdi-taco:before{content:"󰝢"}.mdi-tag:before{content:"󰓹"}.mdi-tag-arrow-down:before{content:"󱜫"}.mdi-tag-arrow-down-outline:before{content:"󱜬"}.mdi-tag-arrow-left:before{content:"󱜭"}.mdi-tag-arrow-left-outline:before{content:"󱜮"}.mdi-tag-arrow-right:before{content:"󱜯"}.mdi-tag-arrow-right-outline:before{content:"󱜰"}.mdi-tag-arrow-up:before{content:"󱜱"}.mdi-tag-arrow-up-outline:before{content:"󱜲"}.mdi-tag-check:before{content:"󱩺"}.mdi-tag-check-outline:before{content:"󱩻"}.mdi-tag-faces:before{content:"󰓺"}.mdi-tag-heart:before{content:"󰚋"}.mdi-tag-heart-outline:before{content:"󰯏"}.mdi-tag-hidden:before{content:"󱱶"}.mdi-tag-minus:before{content:"󰤐"}.mdi-tag-minus-outline:before{content:"󱈟"}.mdi-tag-multiple:before{content:"󰓻"}.mdi-tag-multiple-outline:before{content:"󱋷"}.mdi-tag-off:before{content:"󱈠"}.mdi-tag-off-outline:before{content:"󱈡"}.mdi-tag-outline:before{content:"󰓼"}.mdi-tag-plus:before{content:"󰜢"}.mdi-tag-plus-outline:before{content:"󱈢"}.mdi-tag-remove:before{content:"󰜣"}.mdi-tag-remove-outline:before{content:"󱈣"}.mdi-tag-search:before{content:"󱤇"}.mdi-tag-search-outline:before{content:"󱤈"}.mdi-tag-text:before{content:"󱈤"}.mdi-tag-text-outline:before{content:"󰓽"}.mdi-tailwind:before{content:"󱏿"}.mdi-tally-mark-1:before{content:"󱪼"}.mdi-tally-mark-2:before{content:"󱪽"}.mdi-tally-mark-3:before{content:"󱪾"}.mdi-tally-mark-4:before{content:"󱪿"}.mdi-tally-mark-5:before{content:"󱫀"}.mdi-tangram:before{content:"󰓸"}.mdi-tank:before{content:"󰴺"}.mdi-tanker-truck:before{content:"󰿥"}.mdi-tape-drive:before{content:"󱛟"}.mdi-tape-measure:before{content:"󰭍"}.mdi-target:before{content:"󰓾"}.mdi-target-account:before{content:"󰯐"}.mdi-target-variant:before{content:"󰩷"}.mdi-taxi:before{content:"󰓿"}.mdi-tea:before{content:"󰶞"}.mdi-tea-outline:before{content:"󰶟"}.mdi-teamviewer:before{content:"󰔀"}.mdi-teddy-bear:before{content:"󱣻"}.mdi-telescope:before{content:"󰭎"}.mdi-television:before{content:"󰔂"}.mdi-television-ambient-light:before{content:"󱍖"}.mdi-television-box:before{content:"󰠹"}.mdi-television-classic:before{content:"󰟴"}.mdi-television-classic-off:before{content:"󰠺"}.mdi-television-guide:before{content:"󰔃"}.mdi-television-off:before{content:"󰠻"}.mdi-television-pause:before{content:"󰾉"}.mdi-television-play:before{content:"󰻏"}.mdi-television-shimmer:before{content:"󱄐"}.mdi-television-speaker:before{content:"󱬛"}.mdi-television-speaker-off:before{content:"󱬜"}.mdi-television-stop:before{content:"󰾊"}.mdi-temperature-celsius:before{content:"󰔄"}.mdi-temperature-fahrenheit:before{content:"󰔅"}.mdi-temperature-kelvin:before{content:"󰔆"}.mdi-temple-buddhist:before{content:"󱬆"}.mdi-temple-buddhist-outline:before{content:"󱬇"}.mdi-temple-hindu:before{content:"󱬈"}.mdi-temple-hindu-outline:before{content:"󱬉"}.mdi-tennis:before{content:"󰶠"}.mdi-tennis-ball:before{content:"󰔇"}.mdi-tennis-ball-outline:before{content:"󱱟"}.mdi-tent:before{content:"󰔈"}.mdi-terraform:before{content:"󱁢"}.mdi-terrain:before{content:"󰔉"}.mdi-test-tube:before{content:"󰙨"}.mdi-test-tube-empty:before{content:"󰤑"}.mdi-test-tube-off:before{content:"󰤒"}.mdi-text:before{content:"󰦨"}.mdi-text-account:before{content:"󱕰"}.mdi-text-box:before{content:"󰈚"}.mdi-text-box-check:before{content:"󰺦"}.mdi-text-box-check-outline:before{content:"󰺧"}.mdi-text-box-edit:before{content:"󱩼"}.mdi-text-box-edit-outline:before{content:"󱩽"}.mdi-text-box-minus:before{content:"󰺨"}.mdi-text-box-minus-outline:before{content:"󰺩"}.mdi-text-box-multiple:before{content:"󰪷"}.mdi-text-box-multiple-outline:before{content:"󰪸"}.mdi-text-box-outline:before{content:"󰧭"}.mdi-text-box-plus:before{content:"󰺪"}.mdi-text-box-plus-outline:before{content:"󰺫"}.mdi-text-box-remove:before{content:"󰺬"}.mdi-text-box-remove-outline:before{content:"󰺭"}.mdi-text-box-search:before{content:"󰺮"}.mdi-text-box-search-outline:before{content:"󰺯"}.mdi-text-long:before{content:"󰦪"}.mdi-text-recognition:before{content:"󱄽"}.mdi-text-search:before{content:"󱎸"}.mdi-text-search-variant:before{content:"󱩾"}.mdi-text-shadow:before{content:"󰙩"}.mdi-text-short:before{content:"󰦩"}.mdi-texture:before{content:"󰔌"}.mdi-texture-box:before{content:"󰿦"}.mdi-theater:before{content:"󰔍"}.mdi-theme-light-dark:before{content:"󰔎"}.mdi-thermometer:before{content:"󰔏"}.mdi-thermometer-alert:before{content:"󰸁"}.mdi-thermometer-auto:before{content:"󱬏"}.mdi-thermometer-bluetooth:before{content:"󱢕"}.mdi-thermometer-check:before{content:"󱩿"}.mdi-thermometer-chevron-down:before{content:"󰸂"}.mdi-thermometer-chevron-up:before{content:"󰸃"}.mdi-thermometer-high:before{content:"󱃂"}.mdi-thermometer-lines:before{content:"󰔐"}.mdi-thermometer-low:before{content:"󱃃"}.mdi-thermometer-minus:before{content:"󰸄"}.mdi-thermometer-off:before{content:"󱔱"}.mdi-thermometer-plus:before{content:"󰸅"}.mdi-thermometer-probe:before{content:"󱬫"}.mdi-thermometer-probe-off:before{content:"󱬬"}.mdi-thermometer-water:before{content:"󱪀"}.mdi-thermostat:before{content:"󰎓"}.mdi-thermostat-auto:before{content:"󱬗"}.mdi-thermostat-box:before{content:"󰢑"}.mdi-thermostat-box-auto:before{content:"󱬘"}.mdi-thermostat-cog:before{content:"󱲀"}.mdi-thought-bubble:before{content:"󰟶"}.mdi-thought-bubble-outline:before{content:"󰟷"}.mdi-thumb-down:before{content:"󰔑"}.mdi-thumb-down-outline:before{content:"󰔒"}.mdi-thumb-up:before{content:"󰔓"}.mdi-thumb-up-outline:before{content:"󰔔"}.mdi-thumbs-up-down:before{content:"󰔕"}.mdi-thumbs-up-down-outline:before{content:"󱤔"}.mdi-ticket:before{content:"󰔖"}.mdi-ticket-account:before{content:"󰔗"}.mdi-ticket-confirmation:before{content:"󰔘"}.mdi-ticket-confirmation-outline:before{content:"󱎪"}.mdi-ticket-outline:before{content:"󰤓"}.mdi-ticket-percent:before{content:"󰜤"}.mdi-ticket-percent-outline:before{content:"󱐫"}.mdi-tie:before{content:"󰔙"}.mdi-tilde:before{content:"󰜥"}.mdi-tilde-off:before{content:"󱣳"}.mdi-timelapse:before{content:"󰔚"}.mdi-timeline:before{content:"󰯑"}.mdi-timeline-alert:before{content:"󰾕"}.mdi-timeline-alert-outline:before{content:"󰾘"}.mdi-timeline-check:before{content:"󱔲"}.mdi-timeline-check-outline:before{content:"󱔳"}.mdi-timeline-clock:before{content:"󱇻"}.mdi-timeline-clock-outline:before{content:"󱇼"}.mdi-timeline-minus:before{content:"󱔴"}.mdi-timeline-minus-outline:before{content:"󱔵"}.mdi-timeline-outline:before{content:"󰯒"}.mdi-timeline-plus:before{content:"󰾖"}.mdi-timeline-plus-outline:before{content:"󰾗"}.mdi-timeline-question:before{content:"󰾙"}.mdi-timeline-question-outline:before{content:"󰾚"}.mdi-timeline-remove:before{content:"󱔶"}.mdi-timeline-remove-outline:before{content:"󱔷"}.mdi-timeline-text:before{content:"󰯓"}.mdi-timeline-text-outline:before{content:"󰯔"}.mdi-timer:before{content:"󱎫"}.mdi-timer-10:before{content:"󰔜"}.mdi-timer-3:before{content:"󰔝"}.mdi-timer-alert:before{content:"󱫌"}.mdi-timer-alert-outline:before{content:"󱫍"}.mdi-timer-cancel:before{content:"󱫎"}.mdi-timer-cancel-outline:before{content:"󱫏"}.mdi-timer-check:before{content:"󱫐"}.mdi-timer-check-outline:before{content:"󱫑"}.mdi-timer-cog:before{content:"󱤥"}.mdi-timer-cog-outline:before{content:"󱤦"}.mdi-timer-edit:before{content:"󱫒"}.mdi-timer-edit-outline:before{content:"󱫓"}.mdi-timer-lock:before{content:"󱫔"}.mdi-timer-lock-open:before{content:"󱫕"}.mdi-timer-lock-open-outline:before{content:"󱫖"}.mdi-timer-lock-outline:before{content:"󱫗"}.mdi-timer-marker:before{content:"󱫘"}.mdi-timer-marker-outline:before{content:"󱫙"}.mdi-timer-minus:before{content:"󱫚"}.mdi-timer-minus-outline:before{content:"󱫛"}.mdi-timer-music:before{content:"󱫜"}.mdi-timer-music-outline:before{content:"󱫝"}.mdi-timer-off:before{content:"󱎬"}.mdi-timer-off-outline:before{content:"󰔞"}.mdi-timer-outline:before{content:"󰔛"}.mdi-timer-pause:before{content:"󱫞"}.mdi-timer-pause-outline:before{content:"󱫟"}.mdi-timer-play:before{content:"󱫠"}.mdi-timer-play-outline:before{content:"󱫡"}.mdi-timer-plus:before{content:"󱫢"}.mdi-timer-plus-outline:before{content:"󱫣"}.mdi-timer-refresh:before{content:"󱫤"}.mdi-timer-refresh-outline:before{content:"󱫥"}.mdi-timer-remove:before{content:"󱫦"}.mdi-timer-remove-outline:before{content:"󱫧"}.mdi-timer-sand:before{content:"󰔟"}.mdi-timer-sand-complete:before{content:"󱦟"}.mdi-timer-sand-empty:before{content:"󰚭"}.mdi-timer-sand-full:before{content:"󰞌"}.mdi-timer-sand-paused:before{content:"󱦠"}.mdi-timer-settings:before{content:"󱤣"}.mdi-timer-settings-outline:before{content:"󱤤"}.mdi-timer-star:before{content:"󱫨"}.mdi-timer-star-outline:before{content:"󱫩"}.mdi-timer-stop:before{content:"󱫪"}.mdi-timer-stop-outline:before{content:"󱫫"}.mdi-timer-sync:before{content:"󱫬"}.mdi-timer-sync-outline:before{content:"󱫭"}.mdi-timetable:before{content:"󰔠"}.mdi-tire:before{content:"󱢖"}.mdi-toaster:before{content:"󱁣"}.mdi-toaster-off:before{content:"󱆷"}.mdi-toaster-oven:before{content:"󰳓"}.mdi-toggle-switch:before{content:"󰔡"}.mdi-toggle-switch-off:before{content:"󰔢"}.mdi-toggle-switch-off-outline:before{content:"󰨙"}.mdi-toggle-switch-outline:before{content:"󰨚"}.mdi-toggle-switch-variant:before{content:"󱨥"}.mdi-toggle-switch-variant-off:before{content:"󱨦"}.mdi-toilet:before{content:"󰦫"}.mdi-toolbox:before{content:"󰦬"}.mdi-toolbox-outline:before{content:"󰦭"}.mdi-tools:before{content:"󱁤"}.mdi-tooltip:before{content:"󰔣"}.mdi-tooltip-account:before{content:"󰀌"}.mdi-tooltip-cellphone:before{content:"󱠻"}.mdi-tooltip-check:before{content:"󱕜"}.mdi-tooltip-check-outline:before{content:"󱕝"}.mdi-tooltip-edit:before{content:"󰔤"}.mdi-tooltip-edit-outline:before{content:"󱋅"}.mdi-tooltip-image:before{content:"󰔥"}.mdi-tooltip-image-outline:before{content:"󰯕"}.mdi-tooltip-minus:before{content:"󱕞"}.mdi-tooltip-minus-outline:before{content:"󱕟"}.mdi-tooltip-outline:before{content:"󰔦"}.mdi-tooltip-plus:before{content:"󰯖"}.mdi-tooltip-plus-outline:before{content:"󰔧"}.mdi-tooltip-question:before{content:"󱮺"}.mdi-tooltip-question-outline:before{content:"󱮻"}.mdi-tooltip-remove:before{content:"󱕠"}.mdi-tooltip-remove-outline:before{content:"󱕡"}.mdi-tooltip-text:before{content:"󰔨"}.mdi-tooltip-text-outline:before{content:"󰯗"}.mdi-tooth:before{content:"󰣃"}.mdi-tooth-outline:before{content:"󰔩"}.mdi-toothbrush:before{content:"󱄩"}.mdi-toothbrush-electric:before{content:"󱄬"}.mdi-toothbrush-paste:before{content:"󱄪"}.mdi-torch:before{content:"󱘆"}.mdi-tortoise:before{content:"󰴻"}.mdi-toslink:before{content:"󱊸"}.mdi-touch-text-outline:before{content:"󱱠"}.mdi-tournament:before{content:"󰦮"}.mdi-tow-truck:before{content:"󰠼"}.mdi-tower-beach:before{content:"󰚁"}.mdi-tower-fire:before{content:"󰚂"}.mdi-town-hall:before{content:"󱡵"}.mdi-toy-brick:before{content:"󱊈"}.mdi-toy-brick-marker:before{content:"󱊉"}.mdi-toy-brick-marker-outline:before{content:"󱊊"}.mdi-toy-brick-minus:before{content:"󱊋"}.mdi-toy-brick-minus-outline:before{content:"󱊌"}.mdi-toy-brick-outline:before{content:"󱊍"}.mdi-toy-brick-plus:before{content:"󱊎"}.mdi-toy-brick-plus-outline:before{content:"󱊏"}.mdi-toy-brick-remove:before{content:"󱊐"}.mdi-toy-brick-remove-outline:before{content:"󱊑"}.mdi-toy-brick-search:before{content:"󱊒"}.mdi-toy-brick-search-outline:before{content:"󱊓"}.mdi-track-light:before{content:"󰤔"}.mdi-track-light-off:before{content:"󱬁"}.mdi-trackpad:before{content:"󰟸"}.mdi-trackpad-lock:before{content:"󰤳"}.mdi-tractor:before{content:"󰢒"}.mdi-tractor-variant:before{content:"󱓄"}.mdi-trademark:before{content:"󰩸"}.mdi-traffic-cone:before{content:"󱍼"}.mdi-traffic-light:before{content:"󰔫"}.mdi-traffic-light-outline:before{content:"󱠪"}.mdi-train:before{content:"󰔬"}.mdi-train-car:before{content:"󰯘"}.mdi-train-car-autorack:before{content:"󱬭"}.mdi-train-car-box:before{content:"󱬮"}.mdi-train-car-box-full:before{content:"󱬯"}.mdi-train-car-box-open:before{content:"󱬰"}.mdi-train-car-caboose:before{content:"󱬱"}.mdi-train-car-centerbeam:before{content:"󱬲"}.mdi-train-car-centerbeam-full:before{content:"󱬳"}.mdi-train-car-container:before{content:"󱬴"}.mdi-train-car-flatbed:before{content:"󱬵"}.mdi-train-car-flatbed-car:before{content:"󱬶"}.mdi-train-car-flatbed-tank:before{content:"󱬷"}.mdi-train-car-gondola:before{content:"󱬸"}.mdi-train-car-gondola-full:before{content:"󱬹"}.mdi-train-car-hopper:before{content:"󱬺"}.mdi-train-car-hopper-covered:before{content:"󱬻"}.mdi-train-car-hopper-full:before{content:"󱬼"}.mdi-train-car-intermodal:before{content:"󱬽"}.mdi-train-car-passenger:before{content:"󱜳"}.mdi-train-car-passenger-door:before{content:"󱜴"}.mdi-train-car-passenger-door-open:before{content:"󱜵"}.mdi-train-car-passenger-variant:before{content:"󱜶"}.mdi-train-car-tank:before{content:"󱬾"}.mdi-train-variant:before{content:"󰣄"}.mdi-tram:before{content:"󰔭"}.mdi-tram-side:before{content:"󰿧"}.mdi-transcribe:before{content:"󰔮"}.mdi-transcribe-close:before{content:"󰔯"}.mdi-transfer:before{content:"󱁥"}.mdi-transfer-down:before{content:"󰶡"}.mdi-transfer-left:before{content:"󰶢"}.mdi-transfer-right:before{content:"󰔰"}.mdi-transfer-up:before{content:"󰶣"}.mdi-transit-connection:before{content:"󰴼"}.mdi-transit-connection-horizontal:before{content:"󱕆"}.mdi-transit-connection-variant:before{content:"󰴽"}.mdi-transit-detour:before{content:"󰾋"}.mdi-transit-skip:before{content:"󱔕"}.mdi-transit-transfer:before{content:"󰚮"}.mdi-transition:before{content:"󰤕"}.mdi-transition-masked:before{content:"󰤖"}.mdi-translate:before{content:"󰗊"}.mdi-translate-off:before{content:"󰸆"}.mdi-translate-variant:before{content:"󱮙"}.mdi-transmission-tower:before{content:"󰴾"}.mdi-transmission-tower-export:before{content:"󱤬"}.mdi-transmission-tower-import:before{content:"󱤭"}.mdi-transmission-tower-off:before{content:"󱧝"}.mdi-trash-can:before{content:"󰩹"}.mdi-trash-can-outline:before{content:"󰩺"}.mdi-tray:before{content:"󱊔"}.mdi-tray-alert:before{content:"󱊕"}.mdi-tray-arrow-down:before{content:"󰄠"}.mdi-tray-arrow-up:before{content:"󰄝"}.mdi-tray-full:before{content:"󱊖"}.mdi-tray-minus:before{content:"󱊗"}.mdi-tray-plus:before{content:"󱊘"}.mdi-tray-remove:before{content:"󱊙"}.mdi-treasure-chest:before{content:"󰜦"}.mdi-treasure-chest-outline:before{content:"󱱷"}.mdi-tree:before{content:"󰔱"}.mdi-tree-outline:before{content:"󰹩"}.mdi-trello:before{content:"󰔲"}.mdi-trending-down:before{content:"󰔳"}.mdi-trending-neutral:before{content:"󰔴"}.mdi-trending-up:before{content:"󰔵"}.mdi-triangle:before{content:"󰔶"}.mdi-triangle-down:before{content:"󱱖"}.mdi-triangle-down-outline:before{content:"󱱗"}.mdi-triangle-outline:before{content:"󰔷"}.mdi-triangle-small-down:before{content:"󱨉"}.mdi-triangle-small-up:before{content:"󱨊"}.mdi-triangle-wave:before{content:"󱑼"}.mdi-triforce:before{content:"󰯙"}.mdi-trophy:before{content:"󰔸"}.mdi-trophy-award:before{content:"󰔹"}.mdi-trophy-broken:before{content:"󰶤"}.mdi-trophy-outline:before{content:"󰔺"}.mdi-trophy-variant:before{content:"󰔻"}.mdi-trophy-variant-outline:before{content:"󰔼"}.mdi-truck:before{content:"󰔽"}.mdi-truck-alert:before{content:"󱧞"}.mdi-truck-alert-outline:before{content:"󱧟"}.mdi-truck-cargo-container:before{content:"󱣘"}.mdi-truck-check:before{content:"󰳔"}.mdi-truck-check-outline:before{content:"󱊚"}.mdi-truck-delivery:before{content:"󰔾"}.mdi-truck-delivery-outline:before{content:"󱊛"}.mdi-truck-fast:before{content:"󰞈"}.mdi-truck-fast-outline:before{content:"󱊜"}.mdi-truck-flatbed:before{content:"󱢑"}.mdi-truck-minus:before{content:"󱦮"}.mdi-truck-minus-outline:before{content:"󱦽"}.mdi-truck-outline:before{content:"󱊝"}.mdi-truck-plus:before{content:"󱦭"}.mdi-truck-plus-outline:before{content:"󱦼"}.mdi-truck-remove:before{content:"󱦯"}.mdi-truck-remove-outline:before{content:"󱦾"}.mdi-truck-snowflake:before{content:"󱦦"}.mdi-truck-trailer:before{content:"󰜧"}.mdi-trumpet:before{content:"󱂖"}.mdi-tshirt-crew:before{content:"󰩻"}.mdi-tshirt-crew-outline:before{content:"󰔿"}.mdi-tshirt-v:before{content:"󰩼"}.mdi-tshirt-v-outline:before{content:"󰕀"}.mdi-tsunami:before{content:"󱪁"}.mdi-tumble-dryer:before{content:"󰤗"}.mdi-tumble-dryer-alert:before{content:"󱆺"}.mdi-tumble-dryer-off:before{content:"󱆻"}.mdi-tune:before{content:"󰘮"}.mdi-tune-variant:before{content:"󱕂"}.mdi-tune-vertical:before{content:"󰙪"}.mdi-tune-vertical-variant:before{content:"󱕃"}.mdi-tunnel:before{content:"󱠽"}.mdi-tunnel-outline:before{content:"󱠾"}.mdi-turbine:before{content:"󱪂"}.mdi-turkey:before{content:"󱜛"}.mdi-turnstile:before{content:"󰳕"}.mdi-turnstile-outline:before{content:"󰳖"}.mdi-turtle:before{content:"󰳗"}.mdi-twitch:before{content:"󰕃"}.mdi-twitter:before{content:"󰕄"}.mdi-two-factor-authentication:before{content:"󰦯"}.mdi-typewriter:before{content:"󰼭"}.mdi-ubisoft:before{content:"󰯚"}.mdi-ubuntu:before{content:"󰕈"}.mdi-ufo:before{content:"󱃄"}.mdi-ufo-outline:before{content:"󱃅"}.mdi-ultra-high-definition:before{content:"󰟹"}.mdi-umbraco:before{content:"󰕉"}.mdi-umbrella:before{content:"󰕊"}.mdi-umbrella-beach:before{content:"󱢊"}.mdi-umbrella-beach-outline:before{content:"󱢋"}.mdi-umbrella-closed:before{content:"󰦰"}.mdi-umbrella-closed-outline:before{content:"󱏢"}.mdi-umbrella-closed-variant:before{content:"󱏡"}.mdi-umbrella-outline:before{content:"󰕋"}.mdi-undo:before{content:"󰕌"}.mdi-undo-variant:before{content:"󰕍"}.mdi-unfold-less-horizontal:before{content:"󰕎"}.mdi-unfold-less-vertical:before{content:"󰝠"}.mdi-unfold-more-horizontal:before{content:"󰕏"}.mdi-unfold-more-vertical:before{content:"󰝡"}.mdi-ungroup:before{content:"󰕐"}.mdi-unicode:before{content:"󰻐"}.mdi-unicorn:before{content:"󱗂"}.mdi-unicorn-variant:before{content:"󱗃"}.mdi-unicycle:before{content:"󱗥"}.mdi-unity:before{content:"󰚯"}.mdi-unreal:before{content:"󰦱"}.mdi-update:before{content:"󰚰"}.mdi-upload:before{content:"󰕒"}.mdi-upload-lock:before{content:"󱍳"}.mdi-upload-lock-outline:before{content:"󱍴"}.mdi-upload-multiple:before{content:"󰠽"}.mdi-upload-network:before{content:"󰛶"}.mdi-upload-network-outline:before{content:"󰳘"}.mdi-upload-off:before{content:"󱃆"}.mdi-upload-off-outline:before{content:"󱃇"}.mdi-upload-outline:before{content:"󰸇"}.mdi-usb:before{content:"󰕓"}.mdi-usb-flash-drive:before{content:"󱊞"}.mdi-usb-flash-drive-outline:before{content:"󱊟"}.mdi-usb-port:before{content:"󱇰"}.mdi-vacuum:before{content:"󱦡"}.mdi-vacuum-outline:before{content:"󱦢"}.mdi-valve:before{content:"󱁦"}.mdi-valve-closed:before{content:"󱁧"}.mdi-valve-open:before{content:"󱁨"}.mdi-van-passenger:before{content:"󰟺"}.mdi-van-utility:before{content:"󰟻"}.mdi-vanish:before{content:"󰟼"}.mdi-vanish-quarter:before{content:"󱕔"}.mdi-vanity-light:before{content:"󱇡"}.mdi-variable:before{content:"󰫧"}.mdi-variable-box:before{content:"󱄑"}.mdi-vector-arrange-above:before{content:"󰕔"}.mdi-vector-arrange-below:before{content:"󰕕"}.mdi-vector-bezier:before{content:"󰫨"}.mdi-vector-circle:before{content:"󰕖"}.mdi-vector-circle-variant:before{content:"󰕗"}.mdi-vector-combine:before{content:"󰕘"}.mdi-vector-curve:before{content:"󰕙"}.mdi-vector-difference:before{content:"󰕚"}.mdi-vector-difference-ab:before{content:"󰕛"}.mdi-vector-difference-ba:before{content:"󰕜"}.mdi-vector-ellipse:before{content:"󰢓"}.mdi-vector-intersection:before{content:"󰕝"}.mdi-vector-line:before{content:"󰕞"}.mdi-vector-link:before{content:"󰿨"}.mdi-vector-point:before{content:"󰇄"}.mdi-vector-point-edit:before{content:"󰧨"}.mdi-vector-point-minus:before{content:"󱭸"}.mdi-vector-point-plus:before{content:"󱭹"}.mdi-vector-point-select:before{content:"󰕟"}.mdi-vector-polygon:before{content:"󰕠"}.mdi-vector-polygon-variant:before{content:"󱡖"}.mdi-vector-polyline:before{content:"󰕡"}.mdi-vector-polyline-edit:before{content:"󱈥"}.mdi-vector-polyline-minus:before{content:"󱈦"}.mdi-vector-polyline-plus:before{content:"󱈧"}.mdi-vector-polyline-remove:before{content:"󱈨"}.mdi-vector-radius:before{content:"󰝊"}.mdi-vector-rectangle:before{content:"󰗆"}.mdi-vector-selection:before{content:"󰕢"}.mdi-vector-square:before{content:"󰀁"}.mdi-vector-square-close:before{content:"󱡗"}.mdi-vector-square-edit:before{content:"󱣙"}.mdi-vector-square-minus:before{content:"󱣚"}.mdi-vector-square-open:before{content:"󱡘"}.mdi-vector-square-plus:before{content:"󱣛"}.mdi-vector-square-remove:before{content:"󱣜"}.mdi-vector-triangle:before{content:"󰕣"}.mdi-vector-union:before{content:"󰕤"}.mdi-vhs:before{content:"󰨛"}.mdi-vibrate:before{content:"󰕦"}.mdi-vibrate-off:before{content:"󰳙"}.mdi-video:before{content:"󰕧"}.mdi-video-2d:before{content:"󱨜"}.mdi-video-3d:before{content:"󰟽"}.mdi-video-3d-off:before{content:"󱏙"}.mdi-video-3d-variant:before{content:"󰻑"}.mdi-video-4k-box:before{content:"󰠾"}.mdi-video-account:before{content:"󰤙"}.mdi-video-box:before{content:"󰃽"}.mdi-video-box-off:before{content:"󰃾"}.mdi-video-check:before{content:"󱁩"}.mdi-video-check-outline:before{content:"󱁪"}.mdi-video-high-definition:before{content:"󱔮"}.mdi-video-image:before{content:"󰤚"}.mdi-video-input-antenna:before{content:"󰠿"}.mdi-video-input-component:before{content:"󰡀"}.mdi-video-input-hdmi:before{content:"󰡁"}.mdi-video-input-scart:before{content:"󰾌"}.mdi-video-input-svideo:before{content:"󰡂"}.mdi-video-marker:before{content:"󱦩"}.mdi-video-marker-outline:before{content:"󱦪"}.mdi-video-minus:before{content:"󰦲"}.mdi-video-minus-outline:before{content:"󰊺"}.mdi-video-off:before{content:"󰕨"}.mdi-video-off-outline:before{content:"󰯛"}.mdi-video-outline:before{content:"󰯜"}.mdi-video-plus:before{content:"󰦳"}.mdi-video-plus-outline:before{content:"󰇓"}.mdi-video-stabilization:before{content:"󰤛"}.mdi-video-switch:before{content:"󰕩"}.mdi-video-switch-outline:before{content:"󰞐"}.mdi-video-vintage:before{content:"󰨜"}.mdi-video-wireless:before{content:"󰻒"}.mdi-video-wireless-outline:before{content:"󰻓"}.mdi-view-agenda:before{content:"󰕪"}.mdi-view-agenda-outline:before{content:"󱇘"}.mdi-view-array:before{content:"󰕫"}.mdi-view-array-outline:before{content:"󱒅"}.mdi-view-carousel:before{content:"󰕬"}.mdi-view-carousel-outline:before{content:"󱒆"}.mdi-view-column:before{content:"󰕭"}.mdi-view-column-outline:before{content:"󱒇"}.mdi-view-comfy:before{content:"󰹪"}.mdi-view-comfy-outline:before{content:"󱒈"}.mdi-view-compact:before{content:"󰹫"}.mdi-view-compact-outline:before{content:"󰹬"}.mdi-view-dashboard:before{content:"󰕮"}.mdi-view-dashboard-edit:before{content:"󱥇"}.mdi-view-dashboard-edit-outline:before{content:"󱥈"}.mdi-view-dashboard-outline:before{content:"󰨝"}.mdi-view-dashboard-variant:before{content:"󰡃"}.mdi-view-dashboard-variant-outline:before{content:"󱒉"}.mdi-view-day:before{content:"󰕯"}.mdi-view-day-outline:before{content:"󱒊"}.mdi-view-gallery:before{content:"󱢈"}.mdi-view-gallery-outline:before{content:"󱢉"}.mdi-view-grid:before{content:"󰕰"}.mdi-view-grid-compact:before{content:"󱱡"}.mdi-view-grid-outline:before{content:"󱇙"}.mdi-view-grid-plus:before{content:"󰾍"}.mdi-view-grid-plus-outline:before{content:"󱇚"}.mdi-view-headline:before{content:"󰕱"}.mdi-view-list:before{content:"󰕲"}.mdi-view-list-outline:before{content:"󱒋"}.mdi-view-module:before{content:"󰕳"}.mdi-view-module-outline:before{content:"󱒌"}.mdi-view-parallel:before{content:"󰜨"}.mdi-view-parallel-outline:before{content:"󱒍"}.mdi-view-quilt:before{content:"󰕴"}.mdi-view-quilt-outline:before{content:"󱒎"}.mdi-view-sequential:before{content:"󰜩"}.mdi-view-sequential-outline:before{content:"󱒏"}.mdi-view-split-horizontal:before{content:"󰯋"}.mdi-view-split-vertical:before{content:"󰯌"}.mdi-view-stream:before{content:"󰕵"}.mdi-view-stream-outline:before{content:"󱒐"}.mdi-view-week:before{content:"󰕶"}.mdi-view-week-outline:before{content:"󱒑"}.mdi-vimeo:before{content:"󰕷"}.mdi-violin:before{content:"󰘏"}.mdi-virtual-reality:before{content:"󰢔"}.mdi-virus:before{content:"󱎶"}.mdi-virus-off:before{content:"󱣡"}.mdi-virus-off-outline:before{content:"󱣢"}.mdi-virus-outline:before{content:"󱎷"}.mdi-vlc:before{content:"󰕼"}.mdi-voicemail:before{content:"󰕽"}.mdi-volcano:before{content:"󱪃"}.mdi-volcano-outline:before{content:"󱪄"}.mdi-volleyball:before{content:"󰦴"}.mdi-volume-equal:before{content:"󱬐"}.mdi-volume-high:before{content:"󰕾"}.mdi-volume-low:before{content:"󰕿"}.mdi-volume-medium:before{content:"󰖀"}.mdi-volume-minus:before{content:"󰝞"}.mdi-volume-mute:before{content:"󰝟"}.mdi-volume-off:before{content:"󰖁"}.mdi-volume-plus:before{content:"󰝝"}.mdi-volume-source:before{content:"󱄠"}.mdi-volume-variant-off:before{content:"󰸈"}.mdi-volume-vibrate:before{content:"󱄡"}.mdi-vote:before{content:"󰨟"}.mdi-vote-outline:before{content:"󰨠"}.mdi-vpn:before{content:"󰖂"}.mdi-vuejs:before{content:"󰡄"}.mdi-vuetify:before{content:"󰹭"}.mdi-walk:before{content:"󰖃"}.mdi-wall:before{content:"󰟾"}.mdi-wall-fire:before{content:"󱨑"}.mdi-wall-sconce:before{content:"󰤜"}.mdi-wall-sconce-flat:before{content:"󰤝"}.mdi-wall-sconce-flat-outline:before{content:"󱟉"}.mdi-wall-sconce-flat-variant:before{content:"󰐜"}.mdi-wall-sconce-flat-variant-outline:before{content:"󱟊"}.mdi-wall-sconce-outline:before{content:"󱟋"}.mdi-wall-sconce-round:before{content:"󰝈"}.mdi-wall-sconce-round-outline:before{content:"󱟌"}.mdi-wall-sconce-round-variant:before{content:"󰤞"}.mdi-wall-sconce-round-variant-outline:before{content:"󱟍"}.mdi-wallet:before{content:"󰖄"}.mdi-wallet-bifold:before{content:"󱱘"}.mdi-wallet-bifold-outline:before{content:"󱱙"}.mdi-wallet-giftcard:before{content:"󰖅"}.mdi-wallet-membership:before{content:"󰖆"}.mdi-wallet-outline:before{content:"󰯝"}.mdi-wallet-plus:before{content:"󰾎"}.mdi-wallet-plus-outline:before{content:"󰾏"}.mdi-wallet-travel:before{content:"󰖇"}.mdi-wallpaper:before{content:"󰸉"}.mdi-wan:before{content:"󰖈"}.mdi-wardrobe:before{content:"󰾐"}.mdi-wardrobe-outline:before{content:"󰾑"}.mdi-warehouse:before{content:"󰾁"}.mdi-washing-machine:before{content:"󰜪"}.mdi-washing-machine-alert:before{content:"󱆼"}.mdi-washing-machine-off:before{content:"󱆽"}.mdi-watch:before{content:"󰖉"}.mdi-watch-export:before{content:"󰖊"}.mdi-watch-export-variant:before{content:"󰢕"}.mdi-watch-import:before{content:"󰖋"}.mdi-watch-import-variant:before{content:"󰢖"}.mdi-watch-variant:before{content:"󰢗"}.mdi-watch-vibrate:before{content:"󰚱"}.mdi-watch-vibrate-off:before{content:"󰳚"}.mdi-water:before{content:"󰖌"}.mdi-water-alert:before{content:"󱔂"}.mdi-water-alert-outline:before{content:"󱔃"}.mdi-water-boiler:before{content:"󰾒"}.mdi-water-boiler-alert:before{content:"󱆳"}.mdi-water-boiler-auto:before{content:"󱮘"}.mdi-water-boiler-off:before{content:"󱆴"}.mdi-water-check:before{content:"󱔄"}.mdi-water-check-outline:before{content:"󱔅"}.mdi-water-circle:before{content:"󱠆"}.mdi-water-minus:before{content:"󱔆"}.mdi-water-minus-outline:before{content:"󱔇"}.mdi-water-off:before{content:"󰖍"}.mdi-water-off-outline:before{content:"󱔈"}.mdi-water-opacity:before{content:"󱡕"}.mdi-water-outline:before{content:"󰸊"}.mdi-water-percent:before{content:"󰖎"}.mdi-water-percent-alert:before{content:"󱔉"}.mdi-water-plus:before{content:"󱔊"}.mdi-water-plus-outline:before{content:"󱔋"}.mdi-water-polo:before{content:"󱊠"}.mdi-water-pump:before{content:"󰖏"}.mdi-water-pump-off:before{content:"󰾓"}.mdi-water-remove:before{content:"󱔌"}.mdi-water-remove-outline:before{content:"󱔍"}.mdi-water-sync:before{content:"󱟆"}.mdi-water-thermometer:before{content:"󱪅"}.mdi-water-thermometer-outline:before{content:"󱪆"}.mdi-water-well:before{content:"󱁫"}.mdi-water-well-outline:before{content:"󱁬"}.mdi-waterfall:before{content:"󱡉"}.mdi-watering-can:before{content:"󱒁"}.mdi-watering-can-outline:before{content:"󱒂"}.mdi-watermark:before{content:"󰘒"}.mdi-wave:before{content:"󰼮"}.mdi-waveform:before{content:"󱑽"}.mdi-waves:before{content:"󰞍"}.mdi-waves-arrow-left:before{content:"󱡙"}.mdi-waves-arrow-right:before{content:"󱡚"}.mdi-waves-arrow-up:before{content:"󱡛"}.mdi-waze:before{content:"󰯞"}.mdi-weather-cloudy:before{content:"󰖐"}.mdi-weather-cloudy-alert:before{content:"󰼯"}.mdi-weather-cloudy-arrow-right:before{content:"󰹮"}.mdi-weather-cloudy-clock:before{content:"󱣶"}.mdi-weather-dust:before{content:"󱭚"}.mdi-weather-fog:before{content:"󰖑"}.mdi-weather-hail:before{content:"󰖒"}.mdi-weather-hazy:before{content:"󰼰"}.mdi-weather-hurricane:before{content:"󰢘"}.mdi-weather-hurricane-outline:before{content:"󱱸"}.mdi-weather-lightning:before{content:"󰖓"}.mdi-weather-lightning-rainy:before{content:"󰙾"}.mdi-weather-night:before{content:"󰖔"}.mdi-weather-night-partly-cloudy:before{content:"󰼱"}.mdi-weather-partly-cloudy:before{content:"󰖕"}.mdi-weather-partly-lightning:before{content:"󰼲"}.mdi-weather-partly-rainy:before{content:"󰼳"}.mdi-weather-partly-snowy:before{content:"󰼴"}.mdi-weather-partly-snowy-rainy:before{content:"󰼵"}.mdi-weather-pouring:before{content:"󰖖"}.mdi-weather-rainy:before{content:"󰖗"}.mdi-weather-snowy:before{content:"󰖘"}.mdi-weather-snowy-heavy:before{content:"󰼶"}.mdi-weather-snowy-rainy:before{content:"󰙿"}.mdi-weather-sunny:before{content:"󰖙"}.mdi-weather-sunny-alert:before{content:"󰼷"}.mdi-weather-sunny-off:before{content:"󱓤"}.mdi-weather-sunset:before{content:"󰖚"}.mdi-weather-sunset-down:before{content:"󰖛"}.mdi-weather-sunset-up:before{content:"󰖜"}.mdi-weather-tornado:before{content:"󰼸"}.mdi-weather-windy:before{content:"󰖝"}.mdi-weather-windy-variant:before{content:"󰖞"}.mdi-web:before{content:"󰖟"}.mdi-web-box:before{content:"󰾔"}.mdi-web-cancel:before{content:"󱞐"}.mdi-web-check:before{content:"󰞉"}.mdi-web-clock:before{content:"󱉊"}.mdi-web-minus:before{content:"󱂠"}.mdi-web-off:before{content:"󰪎"}.mdi-web-plus:before{content:"󰀳"}.mdi-web-refresh:before{content:"󱞑"}.mdi-web-remove:before{content:"󰕑"}.mdi-web-sync:before{content:"󱞒"}.mdi-webcam:before{content:"󰖠"}.mdi-webcam-off:before{content:"󱜷"}.mdi-webhook:before{content:"󰘯"}.mdi-webpack:before{content:"󰜫"}.mdi-webrtc:before{content:"󱉈"}.mdi-wechat:before{content:"󰘑"}.mdi-weight:before{content:"󰖡"}.mdi-weight-gram:before{content:"󰴿"}.mdi-weight-kilogram:before{content:"󰖢"}.mdi-weight-lifter:before{content:"󱅝"}.mdi-weight-pound:before{content:"󰦵"}.mdi-whatsapp:before{content:"󰖣"}.mdi-wheel-barrow:before{content:"󱓲"}.mdi-wheelchair:before{content:"󱪇"}.mdi-wheelchair-accessibility:before{content:"󰖤"}.mdi-whistle:before{content:"󰦶"}.mdi-whistle-outline:before{content:"󱊼"}.mdi-white-balance-auto:before{content:"󰖥"}.mdi-white-balance-incandescent:before{content:"󰖦"}.mdi-white-balance-iridescent:before{content:"󰖧"}.mdi-white-balance-sunny:before{content:"󰖨"}.mdi-widgets:before{content:"󰜬"}.mdi-widgets-outline:before{content:"󱍕"}.mdi-wifi:before{content:"󰖩"}.mdi-wifi-alert:before{content:"󱚵"}.mdi-wifi-arrow-down:before{content:"󱚶"}.mdi-wifi-arrow-left:before{content:"󱚷"}.mdi-wifi-arrow-left-right:before{content:"󱚸"}.mdi-wifi-arrow-right:before{content:"󱚹"}.mdi-wifi-arrow-up:before{content:"󱚺"}.mdi-wifi-arrow-up-down:before{content:"󱚻"}.mdi-wifi-cancel:before{content:"󱚼"}.mdi-wifi-check:before{content:"󱚽"}.mdi-wifi-cog:before{content:"󱚾"}.mdi-wifi-lock:before{content:"󱚿"}.mdi-wifi-lock-open:before{content:"󱛀"}.mdi-wifi-marker:before{content:"󱛁"}.mdi-wifi-minus:before{content:"󱛂"}.mdi-wifi-off:before{content:"󰖪"}.mdi-wifi-plus:before{content:"󱛃"}.mdi-wifi-refresh:before{content:"󱛄"}.mdi-wifi-remove:before{content:"󱛅"}.mdi-wifi-settings:before{content:"󱛆"}.mdi-wifi-star:before{content:"󰸋"}.mdi-wifi-strength-1:before{content:"󰤟"}.mdi-wifi-strength-1-alert:before{content:"󰤠"}.mdi-wifi-strength-1-lock:before{content:"󰤡"}.mdi-wifi-strength-1-lock-open:before{content:"󱛋"}.mdi-wifi-strength-2:before{content:"󰤢"}.mdi-wifi-strength-2-alert:before{content:"󰤣"}.mdi-wifi-strength-2-lock:before{content:"󰤤"}.mdi-wifi-strength-2-lock-open:before{content:"󱛌"}.mdi-wifi-strength-3:before{content:"󰤥"}.mdi-wifi-strength-3-alert:before{content:"󰤦"}.mdi-wifi-strength-3-lock:before{content:"󰤧"}.mdi-wifi-strength-3-lock-open:before{content:"󱛍"}.mdi-wifi-strength-4:before{content:"󰤨"}.mdi-wifi-strength-4-alert:before{content:"󰤩"}.mdi-wifi-strength-4-lock:before{content:"󰤪"}.mdi-wifi-strength-4-lock-open:before{content:"󱛎"}.mdi-wifi-strength-alert-outline:before{content:"󰤫"}.mdi-wifi-strength-lock-open-outline:before{content:"󱛏"}.mdi-wifi-strength-lock-outline:before{content:"󰤬"}.mdi-wifi-strength-off:before{content:"󰤭"}.mdi-wifi-strength-off-outline:before{content:"󰤮"}.mdi-wifi-strength-outline:before{content:"󰤯"}.mdi-wifi-sync:before{content:"󱛇"}.mdi-wikipedia:before{content:"󰖬"}.mdi-wind-power:before{content:"󱪈"}.mdi-wind-power-outline:before{content:"󱪉"}.mdi-wind-turbine:before{content:"󰶥"}.mdi-wind-turbine-alert:before{content:"󱦫"}.mdi-wind-turbine-check:before{content:"󱦬"}.mdi-window-close:before{content:"󰖭"}.mdi-window-closed:before{content:"󰖮"}.mdi-window-closed-variant:before{content:"󱇛"}.mdi-window-maximize:before{content:"󰖯"}.mdi-window-minimize:before{content:"󰖰"}.mdi-window-open:before{content:"󰖱"}.mdi-window-open-variant:before{content:"󱇜"}.mdi-window-restore:before{content:"󰖲"}.mdi-window-shutter:before{content:"󱄜"}.mdi-window-shutter-alert:before{content:"󱄝"}.mdi-window-shutter-auto:before{content:"󱮣"}.mdi-window-shutter-cog:before{content:"󱪊"}.mdi-window-shutter-open:before{content:"󱄞"}.mdi-window-shutter-settings:before{content:"󱪋"}.mdi-windsock:before{content:"󱗺"}.mdi-wiper:before{content:"󰫩"}.mdi-wiper-wash:before{content:"󰶦"}.mdi-wiper-wash-alert:before{content:"󱣟"}.mdi-wizard-hat:before{content:"󱑷"}.mdi-wordpress:before{content:"󰖴"}.mdi-wrap:before{content:"󰖶"}.mdi-wrap-disabled:before{content:"󰯟"}.mdi-wrench:before{content:"󰖷"}.mdi-wrench-check:before{content:"󱮏"}.mdi-wrench-check-outline:before{content:"󱮐"}.mdi-wrench-clock:before{content:"󱦣"}.mdi-wrench-clock-outline:before{content:"󱮓"}.mdi-wrench-cog:before{content:"󱮑"}.mdi-wrench-cog-outline:before{content:"󱮒"}.mdi-wrench-outline:before{content:"󰯠"}.mdi-xamarin:before{content:"󰡅"}.mdi-xml:before{content:"󰗀"}.mdi-xmpp:before{content:"󰟿"}.mdi-yahoo:before{content:"󰭏"}.mdi-yeast:before{content:"󰗁"}.mdi-yin-yang:before{content:"󰚀"}.mdi-yoga:before{content:"󱅼"}.mdi-youtube:before{content:"󰗃"}.mdi-youtube-gaming:before{content:"󰡈"}.mdi-youtube-studio:before{content:"󰡇"}.mdi-youtube-subscription:before{content:"󰵀"}.mdi-youtube-tv:before{content:"󰑈"}.mdi-yurt:before{content:"󱔖"}.mdi-z-wave:before{content:"󰫪"}.mdi-zend:before{content:"󰫫"}.mdi-zigbee:before{content:"󰵁"}.mdi-zip-box:before{content:"󰗄"}.mdi-zip-box-outline:before{content:"󰿺"}.mdi-zip-disk:before{content:"󰨣"}.mdi-zodiac-aquarius:before{content:"󰩽"}.mdi-zodiac-aries:before{content:"󰩾"}.mdi-zodiac-cancer:before{content:"󰩿"}.mdi-zodiac-capricorn:before{content:"󰪀"}.mdi-zodiac-gemini:before{content:"󰪁"}.mdi-zodiac-leo:before{content:"󰪂"}.mdi-zodiac-libra:before{content:"󰪃"}.mdi-zodiac-pisces:before{content:"󰪄"}.mdi-zodiac-sagittarius:before{content:"󰪅"}.mdi-zodiac-scorpio:before{content:"󰪆"}.mdi-zodiac-taurus:before{content:"󰪇"}.mdi-zodiac-virgo:before{content:"󰪈"}.mdi-blank:before{content:"";visibility:hidden}.mdi-18px.mdi-set,.mdi-18px.mdi:before{font-size:18px}.mdi-24px.mdi-set,.mdi-24px.mdi:before{font-size:24px}.mdi-36px.mdi-set,.mdi-36px.mdi:before{font-size:36px}.mdi-48px.mdi-set,.mdi-48px.mdi:before{font-size:48px}.mdi-dark:before{color:#0000008a}.mdi-dark.mdi-inactive:before{color:#00000042}.mdi-light:before{color:#fff}.mdi-light.mdi-inactive:before{color:#ffffff4d}.mdi-rotate-45:before{-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.mdi-rotate-90:before{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.mdi-rotate-135:before{-webkit-transform:rotate(135deg);-ms-transform:rotate(135deg);transform:rotate(135deg)}.mdi-rotate-180:before{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.mdi-rotate-225:before{-webkit-transform:rotate(225deg);-ms-transform:rotate(225deg);transform:rotate(225deg)}.mdi-rotate-270:before{-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.mdi-rotate-315:before{-webkit-transform:rotate(315deg);-ms-transform:rotate(315deg);transform:rotate(315deg)}.mdi-flip-h:before{-webkit-transform:scaleX(-1);transform:scaleX(-1);filter:FlipH;-ms-filter:"FlipH"}.mdi-flip-v:before{-webkit-transform:scaleY(-1);transform:scaleY(-1);filter:FlipV;-ms-filter:"FlipV"}.mdi-spin:before{-webkit-animation:mdi-spin 2s infinite linear;animation:mdi-spin 2s infinite linear}@-webkit-keyframes mdi-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes mdi-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes v-shake{59%{margin-left:0}60%,80%{margin-left:2px}70%,90%{margin-left:-2px}}.bg-black{background-color:#000!important;color:#fff!important}.bg-white{background-color:#fff!important;color:#000!important}.bg-transparent{background-color:transparent!important;color:currentColor!important}.bg-red{background-color:#f44336!important;color:#fff!important}.bg-red-lighten-5{background-color:#ffebee!important;color:#000!important}.bg-red-lighten-4{background-color:#ffcdd2!important;color:#000!important}.bg-red-lighten-3{background-color:#ef9a9a!important;color:#000!important}.bg-red-lighten-2{background-color:#e57373!important;color:#fff!important}.bg-red-lighten-1{background-color:#ef5350!important;color:#fff!important}.bg-red-darken-1{background-color:#e53935!important;color:#fff!important}.bg-red-darken-2{background-color:#d32f2f!important;color:#fff!important}.bg-red-darken-3{background-color:#c62828!important;color:#fff!important}.bg-red-darken-4{background-color:#b71c1c!important;color:#fff!important}.bg-red-accent-1{background-color:#ff8a80!important;color:#000!important}.bg-red-accent-2{background-color:#ff5252!important;color:#fff!important}.bg-red-accent-3{background-color:#ff1744!important;color:#fff!important}.bg-red-accent-4{background-color:#d50000!important;color:#fff!important}.bg-pink{background-color:#e91e63!important;color:#fff!important}.bg-pink-lighten-5{background-color:#fce4ec!important;color:#000!important}.bg-pink-lighten-4{background-color:#f8bbd0!important;color:#000!important}.bg-pink-lighten-3{background-color:#f48fb1!important;color:#000!important}.bg-pink-lighten-2{background-color:#f06292!important;color:#fff!important}.bg-pink-lighten-1{background-color:#ec407a!important;color:#fff!important}.bg-pink-darken-1{background-color:#d81b60!important;color:#fff!important}.bg-pink-darken-2{background-color:#c2185b!important;color:#fff!important}.bg-pink-darken-3{background-color:#ad1457!important;color:#fff!important}.bg-pink-darken-4{background-color:#880e4f!important;color:#fff!important}.bg-pink-accent-1{background-color:#ff80ab!important;color:#fff!important}.bg-pink-accent-2{background-color:#ff4081!important;color:#fff!important}.bg-pink-accent-3{background-color:#f50057!important;color:#fff!important}.bg-pink-accent-4{background-color:#c51162!important;color:#fff!important}.bg-purple{background-color:#9c27b0!important;color:#fff!important}.bg-purple-lighten-5{background-color:#f3e5f5!important;color:#000!important}.bg-purple-lighten-4{background-color:#e1bee7!important;color:#000!important}.bg-purple-lighten-3{background-color:#ce93d8!important;color:#fff!important}.bg-purple-lighten-2{background-color:#ba68c8!important;color:#fff!important}.bg-purple-lighten-1{background-color:#ab47bc!important;color:#fff!important}.bg-purple-darken-1{background-color:#8e24aa!important;color:#fff!important}.bg-purple-darken-2{background-color:#7b1fa2!important;color:#fff!important}.bg-purple-darken-3{background-color:#6a1b9a!important;color:#fff!important}.bg-purple-darken-4{background-color:#4a148c!important;color:#fff!important}.bg-purple-accent-1{background-color:#ea80fc!important;color:#fff!important}.bg-purple-accent-2{background-color:#e040fb!important;color:#fff!important}.bg-purple-accent-3{background-color:#d500f9!important;color:#fff!important}.bg-purple-accent-4{background-color:#a0f!important;color:#fff!important}.bg-deep-purple{background-color:#673ab7!important;color:#fff!important}.bg-deep-purple-lighten-5{background-color:#ede7f6!important;color:#000!important}.bg-deep-purple-lighten-4{background-color:#d1c4e9!important;color:#000!important}.bg-deep-purple-lighten-3{background-color:#b39ddb!important;color:#fff!important}.bg-deep-purple-lighten-2{background-color:#9575cd!important;color:#fff!important}.bg-deep-purple-lighten-1{background-color:#7e57c2!important;color:#fff!important}.bg-deep-purple-darken-1{background-color:#5e35b1!important;color:#fff!important}.bg-deep-purple-darken-2{background-color:#512da8!important;color:#fff!important}.bg-deep-purple-darken-3{background-color:#4527a0!important;color:#fff!important}.bg-deep-purple-darken-4{background-color:#311b92!important;color:#fff!important}.bg-deep-purple-accent-1{background-color:#b388ff!important;color:#fff!important}.bg-deep-purple-accent-2{background-color:#7c4dff!important;color:#fff!important}.bg-deep-purple-accent-3{background-color:#651fff!important;color:#fff!important}.bg-deep-purple-accent-4{background-color:#6200ea!important;color:#fff!important}.bg-indigo{background-color:#3f51b5!important;color:#fff!important}.bg-indigo-lighten-5{background-color:#e8eaf6!important;color:#000!important}.bg-indigo-lighten-4{background-color:#c5cae9!important;color:#000!important}.bg-indigo-lighten-3{background-color:#9fa8da!important;color:#fff!important}.bg-indigo-lighten-2{background-color:#7986cb!important;color:#fff!important}.bg-indigo-lighten-1{background-color:#5c6bc0!important;color:#fff!important}.bg-indigo-darken-1{background-color:#3949ab!important;color:#fff!important}.bg-indigo-darken-2{background-color:#303f9f!important;color:#fff!important}.bg-indigo-darken-3{background-color:#283593!important;color:#fff!important}.bg-indigo-darken-4{background-color:#1a237e!important;color:#fff!important}.bg-indigo-accent-1{background-color:#8c9eff!important;color:#fff!important}.bg-indigo-accent-2{background-color:#536dfe!important;color:#fff!important}.bg-indigo-accent-3{background-color:#3d5afe!important;color:#fff!important}.bg-indigo-accent-4{background-color:#304ffe!important;color:#fff!important}.bg-blue{background-color:#2196f3!important;color:#fff!important}.bg-blue-lighten-5{background-color:#e3f2fd!important;color:#000!important}.bg-blue-lighten-4{background-color:#bbdefb!important;color:#000!important}.bg-blue-lighten-3{background-color:#90caf9!important;color:#000!important}.bg-blue-lighten-2{background-color:#64b5f6!important;color:#000!important}.bg-blue-lighten-1{background-color:#42a5f5!important;color:#fff!important}.bg-blue-darken-1{background-color:#1e88e5!important;color:#fff!important}.bg-blue-darken-2{background-color:#1976d2!important;color:#fff!important}.bg-blue-darken-3{background-color:#1565c0!important;color:#fff!important}.bg-blue-darken-4{background-color:#0d47a1!important;color:#fff!important}.bg-blue-accent-1{background-color:#82b1ff!important;color:#000!important}.bg-blue-accent-2{background-color:#448aff!important;color:#fff!important}.bg-blue-accent-3{background-color:#2979ff!important;color:#fff!important}.bg-blue-accent-4{background-color:#2962ff!important;color:#fff!important}.bg-light-blue{background-color:#03a9f4!important;color:#fff!important}.bg-light-blue-lighten-5{background-color:#e1f5fe!important;color:#000!important}.bg-light-blue-lighten-4{background-color:#b3e5fc!important;color:#000!important}.bg-light-blue-lighten-3{background-color:#81d4fa!important;color:#000!important}.bg-light-blue-lighten-2{background-color:#4fc3f7!important;color:#000!important}.bg-light-blue-lighten-1{background-color:#29b6f6!important;color:#000!important}.bg-light-blue-darken-1{background-color:#039be5!important;color:#fff!important}.bg-light-blue-darken-2{background-color:#0288d1!important;color:#fff!important}.bg-light-blue-darken-3{background-color:#0277bd!important;color:#fff!important}.bg-light-blue-darken-4{background-color:#01579b!important;color:#fff!important}.bg-light-blue-accent-1{background-color:#80d8ff!important;color:#000!important}.bg-light-blue-accent-2{background-color:#40c4ff!important;color:#000!important}.bg-light-blue-accent-3{background-color:#00b0ff!important;color:#fff!important}.bg-light-blue-accent-4{background-color:#0091ea!important;color:#fff!important}.bg-cyan{background-color:#00bcd4!important;color:#000!important}.bg-cyan-lighten-5{background-color:#e0f7fa!important;color:#000!important}.bg-cyan-lighten-4{background-color:#b2ebf2!important;color:#000!important}.bg-cyan-lighten-3{background-color:#80deea!important;color:#000!important}.bg-cyan-lighten-2{background-color:#4dd0e1!important;color:#000!important}.bg-cyan-lighten-1{background-color:#26c6da!important;color:#000!important}.bg-cyan-darken-1{background-color:#00acc1!important;color:#fff!important}.bg-cyan-darken-2{background-color:#0097a7!important;color:#fff!important}.bg-cyan-darken-3{background-color:#00838f!important;color:#fff!important}.bg-cyan-darken-4{background-color:#006064!important;color:#fff!important}.bg-cyan-accent-1{background-color:#84ffff!important;color:#000!important}.bg-cyan-accent-2{background-color:#18ffff!important;color:#000!important}.bg-cyan-accent-3{background-color:#00e5ff!important;color:#000!important}.bg-cyan-accent-4{background-color:#00b8d4!important;color:#fff!important}.bg-teal{background-color:#009688!important;color:#fff!important}.bg-teal-lighten-5{background-color:#e0f2f1!important;color:#000!important}.bg-teal-lighten-4{background-color:#b2dfdb!important;color:#000!important}.bg-teal-lighten-3{background-color:#80cbc4!important;color:#000!important}.bg-teal-lighten-2{background-color:#4db6ac!important;color:#fff!important}.bg-teal-lighten-1{background-color:#26a69a!important;color:#fff!important}.bg-teal-darken-1{background-color:#00897b!important;color:#fff!important}.bg-teal-darken-2{background-color:#00796b!important;color:#fff!important}.bg-teal-darken-3{background-color:#00695c!important;color:#fff!important}.bg-teal-darken-4{background-color:#004d40!important;color:#fff!important}.bg-teal-accent-1{background-color:#a7ffeb!important;color:#000!important}.bg-teal-accent-2{background-color:#64ffda!important;color:#000!important}.bg-teal-accent-3{background-color:#1de9b6!important;color:#000!important}.bg-teal-accent-4{background-color:#00bfa5!important;color:#fff!important}.bg-green{background-color:#4caf50!important;color:#fff!important}.bg-green-lighten-5{background-color:#e8f5e9!important;color:#000!important}.bg-green-lighten-4{background-color:#c8e6c9!important;color:#000!important}.bg-green-lighten-3{background-color:#a5d6a7!important;color:#000!important}.bg-green-lighten-2{background-color:#81c784!important;color:#000!important}.bg-green-lighten-1{background-color:#66bb6a!important;color:#fff!important}.bg-green-darken-1{background-color:#43a047!important;color:#fff!important}.bg-green-darken-2{background-color:#388e3c!important;color:#fff!important}.bg-green-darken-3{background-color:#2e7d32!important;color:#fff!important}.bg-green-darken-4{background-color:#1b5e20!important;color:#fff!important}.bg-green-accent-1{background-color:#b9f6ca!important;color:#000!important}.bg-green-accent-2{background-color:#69f0ae!important;color:#000!important}.bg-green-accent-3{background-color:#00e676!important;color:#000!important}.bg-green-accent-4{background-color:#00c853!important;color:#000!important}.bg-light-green{background-color:#8bc34a!important;color:#000!important}.bg-light-green-lighten-5{background-color:#f1f8e9!important;color:#000!important}.bg-light-green-lighten-4{background-color:#dcedc8!important;color:#000!important}.bg-light-green-lighten-3{background-color:#c5e1a5!important;color:#000!important}.bg-light-green-lighten-2{background-color:#aed581!important;color:#000!important}.bg-light-green-lighten-1{background-color:#9ccc65!important;color:#000!important}.bg-light-green-darken-1{background-color:#7cb342!important;color:#fff!important}.bg-light-green-darken-2{background-color:#689f38!important;color:#fff!important}.bg-light-green-darken-3{background-color:#558b2f!important;color:#fff!important}.bg-light-green-darken-4{background-color:#33691e!important;color:#fff!important}.bg-light-green-accent-1{background-color:#ccff90!important;color:#000!important}.bg-light-green-accent-2{background-color:#b2ff59!important;color:#000!important}.bg-light-green-accent-3{background-color:#76ff03!important;color:#000!important}.bg-light-green-accent-4{background-color:#64dd17!important;color:#000!important}.bg-lime{background-color:#cddc39!important;color:#000!important}.bg-lime-lighten-5{background-color:#f9fbe7!important;color:#000!important}.bg-lime-lighten-4{background-color:#f0f4c3!important;color:#000!important}.bg-lime-lighten-3{background-color:#e6ee9c!important;color:#000!important}.bg-lime-lighten-2{background-color:#dce775!important;color:#000!important}.bg-lime-lighten-1{background-color:#d4e157!important;color:#000!important}.bg-lime-darken-1{background-color:#c0ca33!important;color:#000!important}.bg-lime-darken-2{background-color:#afb42b!important;color:#000!important}.bg-lime-darken-3{background-color:#9e9d24!important;color:#fff!important}.bg-lime-darken-4{background-color:#827717!important;color:#fff!important}.bg-lime-accent-1{background-color:#f4ff81!important;color:#000!important}.bg-lime-accent-2{background-color:#eeff41!important;color:#000!important}.bg-lime-accent-3{background-color:#c6ff00!important;color:#000!important}.bg-lime-accent-4{background-color:#aeea00!important;color:#000!important}.bg-yellow{background-color:#ffeb3b!important;color:#000!important}.bg-yellow-lighten-5{background-color:#fffde7!important;color:#000!important}.bg-yellow-lighten-4{background-color:#fff9c4!important;color:#000!important}.bg-yellow-lighten-3{background-color:#fff59d!important;color:#000!important}.bg-yellow-lighten-2{background-color:#fff176!important;color:#000!important}.bg-yellow-lighten-1{background-color:#ffee58!important;color:#000!important}.bg-yellow-darken-1{background-color:#fdd835!important;color:#000!important}.bg-yellow-darken-2{background-color:#fbc02d!important;color:#000!important}.bg-yellow-darken-3{background-color:#f9a825!important;color:#000!important}.bg-yellow-darken-4{background-color:#f57f17!important;color:#fff!important}.bg-yellow-accent-1{background-color:#ffff8d!important;color:#000!important}.bg-yellow-accent-2{background-color:#ff0!important;color:#000!important}.bg-yellow-accent-3{background-color:#ffea00!important;color:#000!important}.bg-yellow-accent-4{background-color:#ffd600!important;color:#000!important}.bg-amber{background-color:#ffc107!important;color:#000!important}.bg-amber-lighten-5{background-color:#fff8e1!important;color:#000!important}.bg-amber-lighten-4{background-color:#ffecb3!important;color:#000!important}.bg-amber-lighten-3{background-color:#ffe082!important;color:#000!important}.bg-amber-lighten-2{background-color:#ffd54f!important;color:#000!important}.bg-amber-lighten-1{background-color:#ffca28!important;color:#000!important}.bg-amber-darken-1{background-color:#ffb300!important;color:#000!important}.bg-amber-darken-2{background-color:#ffa000!important;color:#000!important}.bg-amber-darken-3{background-color:#ff8f00!important;color:#000!important}.bg-amber-darken-4{background-color:#ff6f00!important;color:#fff!important}.bg-amber-accent-1{background-color:#ffe57f!important;color:#000!important}.bg-amber-accent-2{background-color:#ffd740!important;color:#000!important}.bg-amber-accent-3{background-color:#ffc400!important;color:#000!important}.bg-amber-accent-4{background-color:#ffab00!important;color:#000!important}.bg-orange{background-color:#ff9800!important;color:#000!important}.bg-orange-lighten-5{background-color:#fff3e0!important;color:#000!important}.bg-orange-lighten-4{background-color:#ffe0b2!important;color:#000!important}.bg-orange-lighten-3{background-color:#ffcc80!important;color:#000!important}.bg-orange-lighten-2{background-color:#ffb74d!important;color:#000!important}.bg-orange-lighten-1{background-color:#ffa726!important;color:#000!important}.bg-orange-darken-1{background-color:#fb8c00!important;color:#fff!important}.bg-orange-darken-2{background-color:#f57c00!important;color:#fff!important}.bg-orange-darken-3{background-color:#ef6c00!important;color:#fff!important}.bg-orange-darken-4{background-color:#e65100!important;color:#fff!important}.bg-orange-accent-1{background-color:#ffd180!important;color:#000!important}.bg-orange-accent-2{background-color:#ffab40!important;color:#000!important}.bg-orange-accent-3{background-color:#ff9100!important;color:#000!important}.bg-orange-accent-4{background-color:#ff6d00!important;color:#fff!important}.bg-deep-orange{background-color:#ff5722!important;color:#fff!important}.bg-deep-orange-lighten-5{background-color:#fbe9e7!important;color:#000!important}.bg-deep-orange-lighten-4{background-color:#ffccbc!important;color:#000!important}.bg-deep-orange-lighten-3{background-color:#ffab91!important;color:#000!important}.bg-deep-orange-lighten-2{background-color:#ff8a65!important;color:#000!important}.bg-deep-orange-lighten-1{background-color:#ff7043!important;color:#fff!important}.bg-deep-orange-darken-1{background-color:#f4511e!important;color:#fff!important}.bg-deep-orange-darken-2{background-color:#e64a19!important;color:#fff!important}.bg-deep-orange-darken-3{background-color:#d84315!important;color:#fff!important}.bg-deep-orange-darken-4{background-color:#bf360c!important;color:#fff!important}.bg-deep-orange-accent-1{background-color:#ff9e80!important;color:#000!important}.bg-deep-orange-accent-2{background-color:#ff6e40!important;color:#fff!important}.bg-deep-orange-accent-3{background-color:#ff3d00!important;color:#fff!important}.bg-deep-orange-accent-4{background-color:#dd2c00!important;color:#fff!important}.bg-brown{background-color:#795548!important;color:#fff!important}.bg-brown-lighten-5{background-color:#efebe9!important;color:#000!important}.bg-brown-lighten-4{background-color:#d7ccc8!important;color:#000!important}.bg-brown-lighten-3{background-color:#bcaaa4!important;color:#000!important}.bg-brown-lighten-2{background-color:#a1887f!important;color:#fff!important}.bg-brown-lighten-1{background-color:#8d6e63!important;color:#fff!important}.bg-brown-darken-1{background-color:#6d4c41!important;color:#fff!important}.bg-brown-darken-2{background-color:#5d4037!important;color:#fff!important}.bg-brown-darken-3{background-color:#4e342e!important;color:#fff!important}.bg-brown-darken-4{background-color:#3e2723!important;color:#fff!important}.bg-blue-grey{background-color:#607d8b!important;color:#fff!important}.bg-blue-grey-lighten-5{background-color:#eceff1!important;color:#000!important}.bg-blue-grey-lighten-4{background-color:#cfd8dc!important;color:#000!important}.bg-blue-grey-lighten-3{background-color:#b0bec5!important;color:#000!important}.bg-blue-grey-lighten-2{background-color:#90a4ae!important;color:#fff!important}.bg-blue-grey-lighten-1{background-color:#78909c!important;color:#fff!important}.bg-blue-grey-darken-1{background-color:#546e7a!important;color:#fff!important}.bg-blue-grey-darken-2{background-color:#455a64!important;color:#fff!important}.bg-blue-grey-darken-3{background-color:#37474f!important;color:#fff!important}.bg-blue-grey-darken-4{background-color:#263238!important;color:#fff!important}.bg-grey{background-color:#9e9e9e!important;color:#fff!important}.bg-grey-lighten-5{background-color:#fafafa!important;color:#000!important}.bg-grey-lighten-4{background-color:#f5f5f5!important;color:#000!important}.bg-grey-lighten-3{background-color:#eee!important;color:#000!important}.bg-grey-lighten-2{background-color:#e0e0e0!important;color:#000!important}.bg-grey-lighten-1{background-color:#bdbdbd!important;color:#000!important}.bg-grey-darken-1{background-color:#757575!important;color:#fff!important}.bg-grey-darken-2{background-color:#616161!important;color:#fff!important}.bg-grey-darken-3{background-color:#424242!important;color:#fff!important}.bg-grey-darken-4{background-color:#212121!important;color:#fff!important}.bg-shades-black{background-color:#000!important;color:#fff!important}.bg-shades-white{background-color:#fff!important;color:#000!important}.bg-shades-transparent{background-color:transparent!important;color:currentColor!important}.text-black{color:#000!important}.text-white{color:#fff!important}.text-transparent{color:transparent!important}.text-red{color:#f44336!important}.text-red-lighten-5{color:#ffebee!important}.text-red-lighten-4{color:#ffcdd2!important}.text-red-lighten-3{color:#ef9a9a!important}.text-red-lighten-2{color:#e57373!important}.text-red-lighten-1{color:#ef5350!important}.text-red-darken-1{color:#e53935!important}.text-red-darken-2{color:#d32f2f!important}.text-red-darken-3{color:#c62828!important}.text-red-darken-4{color:#b71c1c!important}.text-red-accent-1{color:#ff8a80!important}.text-red-accent-2{color:#ff5252!important}.text-red-accent-3{color:#ff1744!important}.text-red-accent-4{color:#d50000!important}.text-pink{color:#e91e63!important}.text-pink-lighten-5{color:#fce4ec!important}.text-pink-lighten-4{color:#f8bbd0!important}.text-pink-lighten-3{color:#f48fb1!important}.text-pink-lighten-2{color:#f06292!important}.text-pink-lighten-1{color:#ec407a!important}.text-pink-darken-1{color:#d81b60!important}.text-pink-darken-2{color:#c2185b!important}.text-pink-darken-3{color:#ad1457!important}.text-pink-darken-4{color:#880e4f!important}.text-pink-accent-1{color:#ff80ab!important}.text-pink-accent-2{color:#ff4081!important}.text-pink-accent-3{color:#f50057!important}.text-pink-accent-4{color:#c51162!important}.text-purple{color:#9c27b0!important}.text-purple-lighten-5{color:#f3e5f5!important}.text-purple-lighten-4{color:#e1bee7!important}.text-purple-lighten-3{color:#ce93d8!important}.text-purple-lighten-2{color:#ba68c8!important}.text-purple-lighten-1{color:#ab47bc!important}.text-purple-darken-1{color:#8e24aa!important}.text-purple-darken-2{color:#7b1fa2!important}.text-purple-darken-3{color:#6a1b9a!important}.text-purple-darken-4{color:#4a148c!important}.text-purple-accent-1{color:#ea80fc!important}.text-purple-accent-2{color:#e040fb!important}.text-purple-accent-3{color:#d500f9!important}.text-purple-accent-4{color:#a0f!important}.text-deep-purple{color:#673ab7!important}.text-deep-purple-lighten-5{color:#ede7f6!important}.text-deep-purple-lighten-4{color:#d1c4e9!important}.text-deep-purple-lighten-3{color:#b39ddb!important}.text-deep-purple-lighten-2{color:#9575cd!important}.text-deep-purple-lighten-1{color:#7e57c2!important}.text-deep-purple-darken-1{color:#5e35b1!important}.text-deep-purple-darken-2{color:#512da8!important}.text-deep-purple-darken-3{color:#4527a0!important}.text-deep-purple-darken-4{color:#311b92!important}.text-deep-purple-accent-1{color:#b388ff!important}.text-deep-purple-accent-2{color:#7c4dff!important}.text-deep-purple-accent-3{color:#651fff!important}.text-deep-purple-accent-4{color:#6200ea!important}.text-indigo{color:#3f51b5!important}.text-indigo-lighten-5{color:#e8eaf6!important}.text-indigo-lighten-4{color:#c5cae9!important}.text-indigo-lighten-3{color:#9fa8da!important}.text-indigo-lighten-2{color:#7986cb!important}.text-indigo-lighten-1{color:#5c6bc0!important}.text-indigo-darken-1{color:#3949ab!important}.text-indigo-darken-2{color:#303f9f!important}.text-indigo-darken-3{color:#283593!important}.text-indigo-darken-4{color:#1a237e!important}.text-indigo-accent-1{color:#8c9eff!important}.text-indigo-accent-2{color:#536dfe!important}.text-indigo-accent-3{color:#3d5afe!important}.text-indigo-accent-4{color:#304ffe!important}.text-blue{color:#2196f3!important}.text-blue-lighten-5{color:#e3f2fd!important}.text-blue-lighten-4{color:#bbdefb!important}.text-blue-lighten-3{color:#90caf9!important}.text-blue-lighten-2{color:#64b5f6!important}.text-blue-lighten-1{color:#42a5f5!important}.text-blue-darken-1{color:#1e88e5!important}.text-blue-darken-2{color:#1976d2!important}.text-blue-darken-3{color:#1565c0!important}.text-blue-darken-4{color:#0d47a1!important}.text-blue-accent-1{color:#82b1ff!important}.text-blue-accent-2{color:#448aff!important}.text-blue-accent-3{color:#2979ff!important}.text-blue-accent-4{color:#2962ff!important}.text-light-blue{color:#03a9f4!important}.text-light-blue-lighten-5{color:#e1f5fe!important}.text-light-blue-lighten-4{color:#b3e5fc!important}.text-light-blue-lighten-3{color:#81d4fa!important}.text-light-blue-lighten-2{color:#4fc3f7!important}.text-light-blue-lighten-1{color:#29b6f6!important}.text-light-blue-darken-1{color:#039be5!important}.text-light-blue-darken-2{color:#0288d1!important}.text-light-blue-darken-3{color:#0277bd!important}.text-light-blue-darken-4{color:#01579b!important}.text-light-blue-accent-1{color:#80d8ff!important}.text-light-blue-accent-2{color:#40c4ff!important}.text-light-blue-accent-3{color:#00b0ff!important}.text-light-blue-accent-4{color:#0091ea!important}.text-cyan{color:#00bcd4!important}.text-cyan-lighten-5{color:#e0f7fa!important}.text-cyan-lighten-4{color:#b2ebf2!important}.text-cyan-lighten-3{color:#80deea!important}.text-cyan-lighten-2{color:#4dd0e1!important}.text-cyan-lighten-1{color:#26c6da!important}.text-cyan-darken-1{color:#00acc1!important}.text-cyan-darken-2{color:#0097a7!important}.text-cyan-darken-3{color:#00838f!important}.text-cyan-darken-4{color:#006064!important}.text-cyan-accent-1{color:#84ffff!important}.text-cyan-accent-2{color:#18ffff!important}.text-cyan-accent-3{color:#00e5ff!important}.text-cyan-accent-4{color:#00b8d4!important}.text-teal{color:#009688!important}.text-teal-lighten-5{color:#e0f2f1!important}.text-teal-lighten-4{color:#b2dfdb!important}.text-teal-lighten-3{color:#80cbc4!important}.text-teal-lighten-2{color:#4db6ac!important}.text-teal-lighten-1{color:#26a69a!important}.text-teal-darken-1{color:#00897b!important}.text-teal-darken-2{color:#00796b!important}.text-teal-darken-3{color:#00695c!important}.text-teal-darken-4{color:#004d40!important}.text-teal-accent-1{color:#a7ffeb!important}.text-teal-accent-2{color:#64ffda!important}.text-teal-accent-3{color:#1de9b6!important}.text-teal-accent-4{color:#00bfa5!important}.text-green{color:#4caf50!important}.text-green-lighten-5{color:#e8f5e9!important}.text-green-lighten-4{color:#c8e6c9!important}.text-green-lighten-3{color:#a5d6a7!important}.text-green-lighten-2{color:#81c784!important}.text-green-lighten-1{color:#66bb6a!important}.text-green-darken-1{color:#43a047!important}.text-green-darken-2{color:#388e3c!important}.text-green-darken-3{color:#2e7d32!important}.text-green-darken-4{color:#1b5e20!important}.text-green-accent-1{color:#b9f6ca!important}.text-green-accent-2{color:#69f0ae!important}.text-green-accent-3{color:#00e676!important}.text-green-accent-4{color:#00c853!important}.text-light-green{color:#8bc34a!important}.text-light-green-lighten-5{color:#f1f8e9!important}.text-light-green-lighten-4{color:#dcedc8!important}.text-light-green-lighten-3{color:#c5e1a5!important}.text-light-green-lighten-2{color:#aed581!important}.text-light-green-lighten-1{color:#9ccc65!important}.text-light-green-darken-1{color:#7cb342!important}.text-light-green-darken-2{color:#689f38!important}.text-light-green-darken-3{color:#558b2f!important}.text-light-green-darken-4{color:#33691e!important}.text-light-green-accent-1{color:#ccff90!important}.text-light-green-accent-2{color:#b2ff59!important}.text-light-green-accent-3{color:#76ff03!important}.text-light-green-accent-4{color:#64dd17!important}.text-lime{color:#cddc39!important}.text-lime-lighten-5{color:#f9fbe7!important}.text-lime-lighten-4{color:#f0f4c3!important}.text-lime-lighten-3{color:#e6ee9c!important}.text-lime-lighten-2{color:#dce775!important}.text-lime-lighten-1{color:#d4e157!important}.text-lime-darken-1{color:#c0ca33!important}.text-lime-darken-2{color:#afb42b!important}.text-lime-darken-3{color:#9e9d24!important}.text-lime-darken-4{color:#827717!important}.text-lime-accent-1{color:#f4ff81!important}.text-lime-accent-2{color:#eeff41!important}.text-lime-accent-3{color:#c6ff00!important}.text-lime-accent-4{color:#aeea00!important}.text-yellow{color:#ffeb3b!important}.text-yellow-lighten-5{color:#fffde7!important}.text-yellow-lighten-4{color:#fff9c4!important}.text-yellow-lighten-3{color:#fff59d!important}.text-yellow-lighten-2{color:#fff176!important}.text-yellow-lighten-1{color:#ffee58!important}.text-yellow-darken-1{color:#fdd835!important}.text-yellow-darken-2{color:#fbc02d!important}.text-yellow-darken-3{color:#f9a825!important}.text-yellow-darken-4{color:#f57f17!important}.text-yellow-accent-1{color:#ffff8d!important}.text-yellow-accent-2{color:#ff0!important}.text-yellow-accent-3{color:#ffea00!important}.text-yellow-accent-4{color:#ffd600!important}.text-amber{color:#ffc107!important}.text-amber-lighten-5{color:#fff8e1!important}.text-amber-lighten-4{color:#ffecb3!important}.text-amber-lighten-3{color:#ffe082!important}.text-amber-lighten-2{color:#ffd54f!important}.text-amber-lighten-1{color:#ffca28!important}.text-amber-darken-1{color:#ffb300!important}.text-amber-darken-2{color:#ffa000!important}.text-amber-darken-3{color:#ff8f00!important}.text-amber-darken-4{color:#ff6f00!important}.text-amber-accent-1{color:#ffe57f!important}.text-amber-accent-2{color:#ffd740!important}.text-amber-accent-3{color:#ffc400!important}.text-amber-accent-4{color:#ffab00!important}.text-orange{color:#ff9800!important}.text-orange-lighten-5{color:#fff3e0!important}.text-orange-lighten-4{color:#ffe0b2!important}.text-orange-lighten-3{color:#ffcc80!important}.text-orange-lighten-2{color:#ffb74d!important}.text-orange-lighten-1{color:#ffa726!important}.text-orange-darken-1{color:#fb8c00!important}.text-orange-darken-2{color:#f57c00!important}.text-orange-darken-3{color:#ef6c00!important}.text-orange-darken-4{color:#e65100!important}.text-orange-accent-1{color:#ffd180!important}.text-orange-accent-2{color:#ffab40!important}.text-orange-accent-3{color:#ff9100!important}.text-orange-accent-4{color:#ff6d00!important}.text-deep-orange{color:#ff5722!important}.text-deep-orange-lighten-5{color:#fbe9e7!important}.text-deep-orange-lighten-4{color:#ffccbc!important}.text-deep-orange-lighten-3{color:#ffab91!important}.text-deep-orange-lighten-2{color:#ff8a65!important}.text-deep-orange-lighten-1{color:#ff7043!important}.text-deep-orange-darken-1{color:#f4511e!important}.text-deep-orange-darken-2{color:#e64a19!important}.text-deep-orange-darken-3{color:#d84315!important}.text-deep-orange-darken-4{color:#bf360c!important}.text-deep-orange-accent-1{color:#ff9e80!important}.text-deep-orange-accent-2{color:#ff6e40!important}.text-deep-orange-accent-3{color:#ff3d00!important}.text-deep-orange-accent-4{color:#dd2c00!important}.text-brown{color:#795548!important}.text-brown-lighten-5{color:#efebe9!important}.text-brown-lighten-4{color:#d7ccc8!important}.text-brown-lighten-3{color:#bcaaa4!important}.text-brown-lighten-2{color:#a1887f!important}.text-brown-lighten-1{color:#8d6e63!important}.text-brown-darken-1{color:#6d4c41!important}.text-brown-darken-2{color:#5d4037!important}.text-brown-darken-3{color:#4e342e!important}.text-brown-darken-4{color:#3e2723!important}.text-blue-grey{color:#607d8b!important}.text-blue-grey-lighten-5{color:#eceff1!important}.text-blue-grey-lighten-4{color:#cfd8dc!important}.text-blue-grey-lighten-3{color:#b0bec5!important}.text-blue-grey-lighten-2{color:#90a4ae!important}.text-blue-grey-lighten-1{color:#78909c!important}.text-blue-grey-darken-1{color:#546e7a!important}.text-blue-grey-darken-2{color:#455a64!important}.text-blue-grey-darken-3{color:#37474f!important}.text-blue-grey-darken-4{color:#263238!important}.text-grey{color:#9e9e9e!important}.text-grey-lighten-5{color:#fafafa!important}.text-grey-lighten-4{color:#f5f5f5!important}.text-grey-lighten-3{color:#eee!important}.text-grey-lighten-2{color:#e0e0e0!important}.text-grey-lighten-1{color:#bdbdbd!important}.text-grey-darken-1{color:#757575!important}.text-grey-darken-2{color:#616161!important}.text-grey-darken-3{color:#424242!important}.text-grey-darken-4{color:#212121!important}.text-shades-black{color:#000!important}.text-shades-white{color:#fff!important}.text-shades-transparent{color:transparent!important}/*! +.tabulator{position:relative;border:1px solid #dee2e6;background-color:#fff;font-size:16px;text-align:left;overflow:hidden;-webkit-transform:translateZ(0);-moz-transform:translateZ(0);-ms-transform:translateZ(0);-o-transform:translateZ(0);transform:translateZ(0)}.tabulator[tabulator-layout=fitDataFill] .tabulator-tableholder .tabulator-table{min-width:100%}.tabulator[tabulator-layout=fitDataTable]{display:inline-block}.tabulator.tabulator-block-select{-webkit-user-select:none;user-select:none}.tabulator.tabulator-ranges .tabulator-cell:not(.tabulator-editing){-webkit-user-select:none;user-select:none}.tabulator .tabulator-header{position:relative;box-sizing:border-box;width:100%;border-bottom:1px solid #dee2e6;background-color:#fff;color:#555;font-weight:700;white-space:nowrap;overflow:hidden;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none;outline:none}.tabulator .tabulator-header.tabulator-header-hidden{display:none}.tabulator .tabulator-header .tabulator-header-contents{position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-header-contents .tabulator-headers{display:inline-block}.tabulator .tabulator-header .tabulator-col{display:inline-flex;position:relative;box-sizing:border-box;flex-direction:column;justify-content:flex-start;border-right:1px solid #aaa;background:#fff;text-align:left;vertical-align:bottom;overflow:hidden}.tabulator .tabulator-header .tabulator-col.tabulator-moving{position:absolute;border:1px solid #dee2e6;background:#e6e6e6;pointer-events:none}.tabulator .tabulator-header .tabulator-col.tabulator-range-highlight{background-color:#d6d6d6;color:#000}.tabulator .tabulator-header .tabulator-col.tabulator-range-selected{background-color:#3876ca;color:#fff}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{box-sizing:border-box;position:relative;padding:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button{padding:0 8px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button:hover{cursor:pointer;opacity:.6}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title-holder{position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title{box-sizing:border-box;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title.tabulator-col-title-wrap{white-space:normal;text-overflow:initial}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-title-editor{box-sizing:border-box;width:100%;border:1px solid #999;padding:1px;background:#fff}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-header-popup-button+.tabulator-title-editor{width:calc(100% - 22px)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{display:flex;align-items:center;position:absolute;top:0;bottom:0;right:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #bbb}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{position:relative;display:flex;border-top:1px solid #aaa;overflow:hidden;margin-right:-1px}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter{position:relative;box-sizing:border-box;margin-top:2px;width:100%;text-align:center}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter textarea{height:auto!important}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter svg{margin-top:3px}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input::-ms-clear{width:0;height:0}.tabulator .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:25px}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable.tabulator-col-sorter-element:hover{cursor:pointer;background-color:#e6e6e6}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter{color:#bbb}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-bottom:6px solid #555}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid #bbb}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter{color:#666}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-bottom:6px solid #555}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid #666}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter{color:#666}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-top:6px solid #555}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-bottom:none;border-top:6px solid #666;color:#666}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical .tabulator-col-content .tabulator-col-title{writing-mode:vertical-rl;text-orientation:mixed;display:flex;align-items:center;justify-content:center}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-col-vertical-flip .tabulator-col-title{transform:rotate(180deg)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-title{padding-right:0;padding-top:20px}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable.tabulator-col-vertical-flip .tabulator-col-title{padding-right:0;padding-bottom:20px}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-sorter{justify-content:center;left:0;right:0;top:4px;bottom:auto}.tabulator .tabulator-header .tabulator-frozen{position:sticky;left:0;z-index:11}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-left{border-right:2px solid #dee2e6}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-right{border-left:2px solid #dee2e6}.tabulator .tabulator-header .tabulator-calcs-holder{box-sizing:border-box;display:inline-block;background:white!important;border-top:1px solid #dee2e6;border-bottom:1px solid #aaa}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row{background:white!important}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-header .tabulator-frozen-rows-holder{display:inline-block}.tabulator .tabulator-header .tabulator-frozen-rows-holder:empty{display:none}.tabulator .tabulator-tableholder{position:relative;width:100%;white-space:nowrap;overflow:auto;-webkit-overflow-scrolling:touch}.tabulator .tabulator-tableholder:focus{outline:none}.tabulator .tabulator-tableholder .tabulator-placeholder{box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-width:100%;width:100%}.tabulator .tabulator-tableholder .tabulator-placeholder[tabulator-render-mode=virtual]{min-height:100%}.tabulator .tabulator-tableholder .tabulator-placeholder .tabulator-placeholder-contents{display:inline-block;text-align:center;padding:10px;color:#ccc;font-weight:700;font-size:20px;white-space:normal}.tabulator .tabulator-tableholder .tabulator-table{position:relative;display:inline-block;background-color:#fff;white-space:nowrap;overflow:visible;color:#333}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs{font-weight:700;background:#ececec!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-top{border-bottom:2px solid #dee2e6}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-bottom{border-top:2px solid #dee2e6}.tabulator .tabulator-tableholder .tabulator-range-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;pointer-events:none}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range{position:absolute;box-sizing:border-box;border:1px solid #2975DD}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range.tabulator-range-active:after{content:"";position:absolute;right:-3px;bottom:-3px;width:6px;height:6px;background-color:#2975dd;border-radius:999px}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range-cell-active{position:absolute;box-sizing:border-box;border:2px solid #2975DD}.tabulator .tabulator-footer{border-top:1px solid #dee2e6;background-color:#e6e6e6;color:#555;font-weight:700;white-space:nowrap;user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator .tabulator-footer .tabulator-footer-contents{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:5px 10px}.tabulator .tabulator-footer .tabulator-footer-contents:empty{display:none}.tabulator .tabulator-footer .tabulator-calcs-holder{box-sizing:border-box;width:100%;text-align:left;background:#f3f3f3!important;border-bottom:1px solid #dee2e6;border-top:1px solid #dee2e6;overflow:hidden}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row{display:inline-block;background:#f3f3f3!important}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-footer .tabulator-calcs-holder:only-child{margin-bottom:-5px;border-bottom:none}.tabulator .tabulator-footer>*+.tabulator-page-counter{margin-left:10px}.tabulator .tabulator-footer .tabulator-page-counter{font-weight:400}.tabulator .tabulator-footer .tabulator-paginator{flex:1;text-align:right;color:#555;font-family:inherit;font-weight:inherit;font-size:inherit}.tabulator .tabulator-footer .tabulator-page-size{display:inline-block;margin:0 5px;padding:2px 5px;border:1px solid #dee2e6;border-radius:3px}.tabulator .tabulator-footer .tabulator-pages{margin:0 7px}.tabulator .tabulator-footer .tabulator-page{display:inline-block;margin:0 2px;padding:2px 5px;border:1px solid #dee2e6;border-radius:3px;background:rgba(255,255,255,.2)}.tabulator .tabulator-footer .tabulator-page.active{color:#fff}.tabulator .tabulator-footer .tabulator-page:disabled{opacity:.5}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-footer .tabulator-page:not(disabled):hover{cursor:pointer;background:rgba(0,0,0,.2);color:#fff}}.tabulator .tabulator-col-resize-handle{position:relative;display:inline-block;width:6px;margin-left:-3px;margin-right:-3px;z-index:11;vertical-align:middle}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-col-resize-handle:hover{cursor:ew-resize}}.tabulator .tabulator-col-resize-handle:last-of-type{width:3px;margin-right:0}.tabulator .tabulator-alert{position:absolute;display:flex;align-items:center;top:0;left:0;z-index:100;height:100%;width:100%;background:rgba(0,0,0,.4);text-align:center}.tabulator .tabulator-alert .tabulator-alert-msg{display:inline-block;margin:0 auto;padding:10px 20px;border-radius:10px;background:#fff;font-weight:700;font-size:16px}.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-msg{border:4px solid #333;color:#000}.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-error{border:4px solid #D00;color:#590000}.tabulator-row{position:relative;box-sizing:border-box;min-height:24px;background-color:#fff}.tabulator-row.tabulator-row-even{background-color:#f9f9f9}@media (hover: hover) and (pointer: fine){.tabulator-row.tabulator-selectable:hover{background-color:#f5f5f5;cursor:pointer}}.tabulator-row.tabulator-selected{background-color:#9abcea}@media (hover: hover) and (pointer: fine){.tabulator-row.tabulator-selected:hover{background-color:#769bcc;cursor:pointer}}.tabulator-row.tabulator-row-moving{border:1px solid #000;background:#fff}.tabulator-row.tabulator-moving{position:absolute;border-top:1px solid #dee2e6;border-bottom:1px solid #dee2e6;pointer-events:none;z-index:15}.tabulator-row.tabulator-range-highlight .tabulator-cell.tabulator-range-row-header{background-color:#d6d6d6;color:#000}.tabulator-row.tabulator-range-highlight.tabulator-range-selected .tabulator-cell.tabulator-range-row-header,.tabulator-row.tabulator-range-selected .tabulator-cell.tabulator-range-row-header{background-color:#3876ca;color:#fff}.tabulator-row .tabulator-row-resize-handle{position:absolute;right:0;bottom:0;left:0;height:5px}.tabulator-row .tabulator-row-resize-handle.prev{top:0;bottom:auto}@media (hover: hover) and (pointer: fine){.tabulator-row .tabulator-row-resize-handle:hover{cursor:ns-resize}}.tabulator-row .tabulator-responsive-collapse{box-sizing:border-box;padding:5px;border-top:1px solid #dee2e6;border-bottom:1px solid #dee2e6}.tabulator-row .tabulator-responsive-collapse:empty{display:none}.tabulator-row .tabulator-responsive-collapse table{font-size:16px}.tabulator-row .tabulator-responsive-collapse table tr td{position:relative}.tabulator-row .tabulator-responsive-collapse table tr td:first-of-type{padding-right:10px}.tabulator-row .tabulator-cell{display:inline-block;position:relative;box-sizing:border-box;padding:4px;border-right:1px solid #dee2e6;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;outline:none}.tabulator-row .tabulator-cell.tabulator-frozen{display:inline-block;position:sticky;left:0;background-color:inherit;z-index:11}.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-right:2px solid #dee2e6}.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-left:2px solid #dee2e6}.tabulator-row .tabulator-cell.tabulator-editing{border:1px solid #1D68CD;outline:none;padding:0}.tabulator-row .tabulator-cell.tabulator-editing input,.tabulator-row .tabulator-cell.tabulator-editing select{border:1px;background:transparent;outline:none}.tabulator-row .tabulator-cell.tabulator-validation-fail{border:1px solid #dd0000}.tabulator-row .tabulator-cell.tabulator-validation-fail input,.tabulator-row .tabulator-cell.tabulator-validation-fail select{border:1px;background:transparent;color:#d00}.tabulator-row .tabulator-cell.tabulator-row-handle{display:inline-flex;align-items:center;justify-content:center;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box{width:80%}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box .tabulator-row-handle-bar{width:100%;height:3px;margin-top:2px;background:#666}.tabulator-row .tabulator-cell.tabulator-range-selected:not(.tabulator-range-only-cell-selected):not(.tabulator-range-row-header){background-color:#9abcea}.tabulator-row .tabulator-cell .tabulator-data-tree-branch-empty{display:inline-block;width:7px}.tabulator-row .tabulator-cell .tabulator-data-tree-branch{display:inline-block;vertical-align:middle;height:9px;width:7px;margin-top:-9px;margin-right:5px;border-bottom-left-radius:1px;border-left:2px solid #dee2e6;border-bottom:2px solid #dee2e6}.tabulator-row .tabulator-cell .tabulator-data-tree-control{display:inline-flex;justify-content:center;align-items:center;vertical-align:middle;height:11px;width:11px;margin-right:5px;border:1px solid #333;border-radius:2px;background:rgba(0,0,0,.1);overflow:hidden}@media (hover: hover) and (pointer: fine){.tabulator-row .tabulator-cell .tabulator-data-tree-control:hover{cursor:pointer;background:rgba(0,0,0,.2)}}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse{display:inline-block;position:relative;height:7px;width:1px;background:transparent}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand{display:inline-block;position:relative;height:7px;width:1px;background:#333}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle{display:inline-flex;align-items:center;justify-content:center;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none;height:15px;width:15px;border-radius:20px;background:#666;color:#fff;font-weight:700;font-size:1.1em}@media (hover: hover) and (pointer: fine){.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle:hover{opacity:.7;cursor:pointer}}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-close{display:initial}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-open{display:none}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle svg{stroke:#fff}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle .tabulator-responsive-collapse-toggle-close{display:none}.tabulator-row .tabulator-cell .tabulator-traffic-light{display:inline-block;height:14px;width:14px;border-radius:14px}.tabulator-row.tabulator-group{box-sizing:border-box;border-bottom:1px solid #999;border-right:1px solid #dee2e6;border-top:1px solid #999;padding:5px 5px 5px 10px;background:#ccc;font-weight:700;min-width:100%}@media (hover: hover) and (pointer: fine){.tabulator-row.tabulator-group:hover{cursor:pointer;background-color:#0000001a}}.tabulator-row.tabulator-group.tabulator-group-visible .tabulator-arrow{margin-right:10px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #666;border-bottom:0}.tabulator-row.tabulator-group.tabulator-group-level-1{padding-left:30px}.tabulator-row.tabulator-group.tabulator-group-level-2{padding-left:50px}.tabulator-row.tabulator-group.tabulator-group-level-3{padding-left:70px}.tabulator-row.tabulator-group.tabulator-group-level-4{padding-left:90px}.tabulator-row.tabulator-group.tabulator-group-level-5{padding-left:110px}.tabulator-row.tabulator-group .tabulator-group-toggle{display:inline-block}.tabulator-row.tabulator-group .tabulator-arrow{display:inline-block;width:0;height:0;margin-right:16px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:0;border-left:6px solid #666;vertical-align:middle}.tabulator-row.tabulator-group span{margin-left:10px;color:#d00}.tabulator-popup-container{position:absolute;display:inline-block;box-sizing:border-box;background:#fff;border:1px solid #dee2e6;box-shadow:0 0 5px #0003;font-size:16px;overflow-y:auto;-webkit-overflow-scrolling:touch;z-index:10000}.tabulator-popup{padding:5px;border-radius:3px}.tabulator-tooltip{max-width:min(500px,100%);padding:3px 5px;border-radius:2px;box-shadow:none;font-size:12px;pointer-events:none}.tabulator-menu .tabulator-menu-item{position:relative;box-sizing:border-box;padding:5px 10px;-webkit-user-select:none;user-select:none}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-disabled{opacity:.5}@media (hover: hover) and (pointer: fine){.tabulator-menu .tabulator-menu-item:not(.tabulator-menu-item-disabled):hover{cursor:pointer;background:#f9f9f9}}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu{padding-right:25px}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu:after{display:inline-block;position:absolute;top:calc(5px + .4em);right:10px;height:7px;width:7px;content:"";border-width:1px 1px 0 0;border-style:solid;border-color:#dee2e6;vertical-align:top;transform:rotate(45deg)}.tabulator-menu .tabulator-menu-separator{border-top:1px solid #dee2e6}.tabulator-edit-list{max-height:200px;font-size:16px;overflow-y:auto;-webkit-overflow-scrolling:touch}.tabulator-edit-list .tabulator-edit-list-item{padding:4px;color:#333;outline:none}.tabulator-edit-list .tabulator-edit-list-item.active{color:#fff;background:#1D68CD}.tabulator-edit-list .tabulator-edit-list-item.active.focused{outline:1px solid rgba(255,255,255,.5)}.tabulator-edit-list .tabulator-edit-list-item.focused{outline:1px solid #1D68CD}@media (hover: hover) and (pointer: fine){.tabulator-edit-list .tabulator-edit-list-item:hover{cursor:pointer;color:#fff;background:#1D68CD}}.tabulator-edit-list .tabulator-edit-list-placeholder{padding:4px;color:#333;text-align:center}.tabulator-edit-list .tabulator-edit-list-group{border-bottom:1px solid #dee2e6;padding:6px 4px 4px;color:#333;font-weight:700}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-2,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-2{padding-left:12px}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-3,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-3{padding-left:20px}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-4,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-4{padding-left:28px}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-5,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-5{padding-left:36px}.tabulator.tabulator-ltr{direction:ltr}.tabulator.tabulator-rtl{text-align:initial;direction:rtl}.tabulator.tabulator-rtl .tabulator-header .tabulator-col{text-align:initial;border-left:1px solid #aaa;border-right:initial}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{margin-right:initial;margin-left:-1px}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:0;padding-left:25px}.tabulator.tabulator-rtl .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{left:8px;right:initial}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell{border-right:initial;border-left:1px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-branch{margin-right:initial;margin-left:5px;border-bottom-left-radius:initial;border-bottom-right-radius:1px;border-left:initial;border-right:2px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-control{margin-right:initial;margin-left:5px}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-left:2px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-right:2px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-col-resize-handle:last-of-type{width:3px;margin-left:0;margin-right:-3px}.tabulator.tabulator-rtl .tabulator-footer .tabulator-calcs-holder{text-align:initial}.tabulator-print-fullscreen{position:absolute;top:0;bottom:0;left:0;right:0;z-index:10000}body.tabulator-print-fullscreen-hide>*:not(.tabulator-print-fullscreen){display:none!important}.tabulator-print-table{border-collapse:collapse}.tabulator-print-table .tabulator-data-tree-branch{display:inline-block;vertical-align:middle;height:9px;width:7px;margin-top:-9px;margin-right:5px;border-bottom-left-radius:1px;border-left:2px solid #dee2e6;border-bottom:2px solid #dee2e6}.tabulator-print-table .tabulator-print-table-group{box-sizing:border-box;border-bottom:1px solid #999;border-right:1px solid #dee2e6;border-top:1px solid #999;padding:5px 5px 5px 10px;background:#ccc;font-weight:700;min-width:100%}@media (hover: hover) and (pointer: fine){.tabulator-print-table .tabulator-print-table-group:hover{cursor:pointer;background-color:#0000001a}}.tabulator-print-table .tabulator-print-table-group.tabulator-group-visible .tabulator-arrow{margin-right:10px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #666;border-bottom:0}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-1 td{padding-left:30px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-2 td{padding-left:50px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-3 td{padding-left:70px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-4 td{padding-left:90px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-5 td{padding-left:110px!important}.tabulator-print-table .tabulator-print-table-group .tabulator-group-toggle{display:inline-block}.tabulator-print-table .tabulator-print-table-group .tabulator-arrow{display:inline-block;width:0;height:0;margin-right:16px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:0;border-left:6px solid #666;vertical-align:middle}.tabulator-print-table .tabulator-print-table-group span{margin-left:10px;color:#d00}.tabulator-print-table .tabulator-data-tree-control{display:inline-flex;justify-content:center;align-items:center;vertical-align:middle;height:11px;width:11px;margin-right:5px;border:1px solid #333;border-radius:2px;background:rgba(0,0,0,.1);overflow:hidden}@media (hover: hover) and (pointer: fine){.tabulator-print-table .tabulator-data-tree-control:hover{cursor:pointer;background:rgba(0,0,0,.2)}}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse{display:inline-block;position:relative;height:7px;width:1px;background:transparent}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand{display:inline-block;position:relative;height:7px;width:1px;background:#333}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator{background-color:#fff;border:none}.tabulator .tabulator-header{border-top:1px solid #dee2e6;border-bottom:2px solid #dee2e6;color:inherit}.tabulator .tabulator-header .tabulator-col{border-right:none;background-color:#fff}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{padding:12px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{right:0}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{border-top:1px solid #dee2e6}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input{padding:.375rem .75rem;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;font-size:1rem;line-height:1.5;color:#495057}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input:focus{color:#495057;background-color:#fff;border:1px solid #1D68CD;outline:0}.tabulator .tabulator-header .tabulator-calcs-holder{width:100%;border-bottom:1px solid #dee2e6}.tabulator .tabulator-tableholder .tabulator-placeholder span{color:#000}.tabulator .tabulator-tableholder .tabulator-table,.tabulator .tabulator-footer,.tabulator .tabulator-footer .tabulator-paginator{color:inherit}.tabulator .tabulator-footer .tabulator-pages{margin:0}.tabulator .tabulator-footer .tabulator-page{margin:5px 0 0;padding:8px 12px}.tabulator .tabulator-footer .tabulator-page[data-page=first]{border-top-left-radius:4px;border-bottom-left-radius:4px}.tabulator .tabulator-footer .tabulator-page[data-page=last]{border:1px solid #dee2e6;border-top-right-radius:4px;border-bottom-right-radius:4px}.tabulator .tabulator-footer .tabulator-page.active{border-color:#007bff;background-color:#007bff;color:#fff}.tabulator .tabulator-footer .tabulator-page:disabled{border-color:#dee2e6;background:#fff;color:#6c757d}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-footer .tabulator-page:not(.disabled):hover{border-color:#dee2e6;background:#e9ecef;color:#0056b3}}.tabulator.thead-dark .tabulator-header,.tabulator.thead-dark .tabulator-header .tabulator-col{border-color:#32383e;background-color:#212529;color:#fff}.tabulator.table-dark{background-color:#212529}.tabulator.table-dark:not(.thead-light) .tabulator-header{border-color:#32383e;background-color:#212529;color:#fff}.tabulator.table-dark:not(.thead-light) .tabulator-header .tabulator-col{border-color:#32383e;background-color:#212529;color:#fff}.tabulator.table-dark .tabulator-tableholder{color:#fff}.tabulator.table-dark .tabulator-row{border-color:#32383e;background-color:#212529;color:#fff}@media (hover: hover) and (pointer: fine){.tabulator.table-dark .tabulator-row:hover{background-color:#32383e}.tabulator.table-dark .tabulator-row:hover .tabulator-cell{background-color:#ffffff13}}.tabulator.table-dark .tabulator-row.tabulator-selected{background-color:#9abcea}.tabulator.table-dark .tabulator-footer{border-color:#32383e!important}.tabulator.table-dark .tabulator-footer .tabulator-calcs-holder{border-color:#32383e!important;background:#212529!important}.tabulator.table-dark .tabulator-footer .tabulator-calcs-holder .tabulator-row{border-color:#32383e!important;background-color:#212529!important;color:#fff!important}.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even{background-color:#f9f9f9}.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even.tabulator-selected{background-color:#9abcea}@media (hover: hover) and (pointer: fine){.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even.tabulator-selectable:hover{background-color:#f5f5f5;cursor:pointer}.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even.tabulator-selected:hover{background-color:#769bcc;cursor:pointer}}.tabulator.table-striped.table-dark .tabulator-row:nth-child(2n) .tabulator-cell{background-color:#ffffff0d}.tabulator.table-bordered{border:1px solid #dee2e6}.tabulator.table-bordered .tabulator-header .tabulator-col,.tabulator.table-bordered .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell{border-right:1px solid #dee2e6}.tabulator.table-borderless .tabulator-header,.tabulator.table-borderless .tabulator-row{border:none}.tabulator.table-sm .tabulator-header .tabulator-col .tabulator-col-content{padding:5px!important}.tabulator.table-sm .tabulator-tableholder .tabulator-table .tabulator-row{min-height:26px}.tabulator.table-sm .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell{padding:5px!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-primary{background:#b8daff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-secondary{background:#d6d8db!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-success{background:#c3e6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-info{background:#bee5eb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-warning{background:#ffeeba!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-danger{background:#f5c6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-light{background:#fdfdfe!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-dark{background:#c6c8ca!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-active{background:#f5f5f5!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-primary{background:#007bff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-secondary{background:#6c757d!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-success{background:#28a745!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-info{background:#17a2b8!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-warning{background:#ffc107!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-danger{background:#dc3545!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-light{background:#f8f9fa!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-dark{background:#343a40!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-active{background:#f5f5f5!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-primary{background:#b8daff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-secondary{background:#d6d8db!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-success{background:#c3e6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-info{background:#bee5eb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-warning{background:#ffeeba!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-danger{background:#f5c6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-light{background:#fdfdfe!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-dark{background:#c6c8ca!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-active{background:#f5f5f5!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-primary{background:#007bff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-secondary{background:#6c757d!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-success{background:#28a745!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-info{background:#17a2b8!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-warning{background:#ffc107!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-danger{background:#dc3545!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-light{background:#f8f9fa!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-dark{background:#343a40!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-active{background:#f5f5f5!important}.tabulator-row{min-height:40px;border-bottom:1px solid #dee2e6}.tabulator-row .tabulator-cell{padding:12px;border-right:none}.tabulator-row .tabulator-cell:last-of-type{border-right:none}.tabulator-row .tabulator-cell .tabulator-data-tree-control{border:1px solid #ccc}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{background:#ccc}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand{background:#ccc}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{background:#ccc}.tabulator-row.tabulator-group{background:#fafafa}.tabulator-row.tabulator-group span{color:#666}.tabulator-edit-select-list{background:#fff}.tabulator-edit-select-list .tabulator-edit-select-list-item.active{color:#fff}.tabulator-edit-select-list .tabulator-edit-select-list-item.active.focused{outline:1px solid rgba(255,255,255,.5)}@media (hover: hover) and (pointer: fine){.tabulator-edit-select-list .tabulator-edit-select-list-item:hover{color:#fff}}.tabulator-edit-select-list .tabulator-edit-select-list-notice,.tabulator-edit-select-list .tabulator-edit-select-list-group{color:inherit}.tabulator.tabulator-rtl .tabulator-header .tabulator-col{text-align:initial;border-left:initial}.tabulator-print-table .tabulator-print-table-group{background:#fafafa}.tabulator-print-table .tabulator-print-table-group span{color:#666}.tabulator-print-table .tabulator-data-tree-control{color:inherit}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{background:#ccc}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand{background:#ccc}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{background:#ccc}.tabulator-col-title,.tabulator-cell{font-size:14px}.plot-container[data-v-0b5cc4d2]{position:relative;width:100%;color:var(--text-color);background-color:var(--background-color)}.simple-button[data-v-0b5cc4d2]{position:absolute;top:17%;left:6.5%;z-index:1000;background-color:var(--annotation-background);border:none;border-radius:50%;width:30px;height:30px;text-align:center;line-height:230%;cursor:pointer}.simple-button[data-v-0b5cc4d2]:hover{background-color:var(--button-hover-color)}.foreground[data-v-fb6c82e8]{position:relative;z-index:1000}.sequence-amino-acid-highlighted[data-v-fb6c82e8],.sequence-amino-acid.highlighted[data-v-fb6c82e8]{background-color:#f3a712;color:#000;outline:3px solid #29335C;font-weight:700}.sequence-amino-acid-truncated[data-v-fb6c82e8],.sequence-amino-acid.truncated .aa-text[data-v-fb6c82e8]{color:#8080804d;outline:rgba(128,128,128,.3);text-decoration:line-through!important}.sequence-amino-acid[data-v-fb6c82e8]{background-color:var(--amino-acid-cell-bg-color);color:var(--amino-acid-cell-color)}.sequence-amino-acid[data-v-fb6c82e8]:hover{background-color:var(--amino-acid-cell-hover-bg-color);color:var(--amino-acid-cell-hover-color)}.sequence-amino-acid-highlighted[data-v-fb6c82e8]{background-color:var(--amino-acid-cell-bg-color);color:#f3a712}.sequence-amino-acid-highlighted[data-v-fb6c82e8]:hover{background-color:var(--amino-acid-cell-hover-bg-color)}.sequence-amino-acid-modified[data-v-fb6c82e8]{background-color:#a79c91}.sequence-amino-acid-modified[data-v-fb6c82e8]:hover{background-color:#c5baaf}.frag-marker-container[data-v-fb6c82e8],.frag-marker-container-a[data-v-fb6c82e8],.frag-marker-container-b[data-v-fb6c82e8],.frag-marker-container-c[data-v-fb6c82e8],.frag-marker-container-x[data-v-fb6c82e8],.frag-marker-container-y[data-v-fb6c82e8],.frag-marker-container-z[data-v-fb6c82e8],.frag-marker-extra-type[data-v-fb6c82e8]{width:100%;height:100%;position:absolute;z-index:1000}.frag-marker-container-a[data-v-fb6c82e8]{top:-28%;left:15%}.frag-marker-container-b[data-v-fb6c82e8]{top:-8%;left:13%}.frag-marker-container-c[data-v-fb6c82e8]{top:-28%;left:15%}.frag-marker-container-x[data-v-fb6c82e8]{bottom:-32%;left:-10%}.frag-marker-container-y[data-v-fb6c82e8]{bottom:-8%;left:-10%}.frag-marker-container-z[data-v-fb6c82e8]{bottom:-32%;left:-10%}.frag-marker-extra-type[data-v-fb6c82e8]{top:-30%}.aa-text[data-v-fb6c82e8]{position:absolute}.tag-marker[data-v-fb6c82e8]{position:absolute;top:-7.5%;left:-7.5%;width:115%;height:115%;display:flex;align-items:center;justify-content:right;border-top:.3em solid black;border-right:.3em solid black;border-bottom:.3em solid black;border-left:.3em solid black;z-index:1100}.tag-start[data-v-fb6c82e8]{clip-path:inset(0 50% 0 0)}.tag-end[data-v-fb6c82e8]{clip-path:inset(0 0 0 50%)}.mod-marker[data-v-fb6c82e8]{position:absolute;width:100%;height:100%;display:flex;align-items:center;justify-content:right;background-image:radial-gradient(#676a9c .5px,transparent .5px),radial-gradient(#444cf7 .5px,#e5e5f7 .5px);background-size:15px 15px;background-position:0 0,10px 10px;background-repeat:repeat}.mod-mass[data-v-fb6c82e8]{background-color:#fff;display:inline-block;position:absolute;top:-15%;right:-25%;display:flex;align-items:center;justify-content:right;border-top:.1em solid #a79c91;border-right:.1em solid #a79c91;border-bottom:.1em solid #a79c91;border-left:.1em solid #a79c91;font-size:.7em;padding:0 .2em;z-index:1100}.mod-mass-a[data-v-fb6c82e8]{display:inline-block;position:absolute;top:-15%;right:-25%;display:flex;align-items:center;border-top:.2em solid green;border-right:.2em solid green;border-bottom:.2em solid green;border-radius:.5rem;padding:0 .2em;z-index:1200;font-size:.7em;color:#0000}.mod-mass-b[data-v-fb6c82e8]{display:inline-block;position:absolute;top:-15%;right:-25%;display:flex;align-items:center;border-top:.2em solid blue;border-right:.2em solid blue;border-bottom:.2em solid blue;border-radius:.5rem;z-index:1200;padding:0 .2em;font-size:.7em;color:#0000}.mod-mass-c[data-v-fb6c82e8]{display:inline-block;position:absolute;top:-15%;right:-25%;display:flex;align-items:center;border-top:.2em solid red;border-right:.2em solid red;border-bottom:.2em solid red;border-radius:.5rem;z-index:1200;font-size:.7em;padding:0 .2em;color:#0000}.mod-start[data-v-fb6c82e8]{clip-path:inset(0 50% 0 0)}.mod-end[data-v-fb6c82e8],.mod-start-cont[data-v-fb6c82e8]{clip-path:inset(0 0 0 50%)}.mod-end-cont[data-v-fb6c82e8]{clip-path:inset(0 50% 0 0)}.mod-center-cont[data-v-fb6c82e8]{width:125%}.undetermined[data-v-beee67fe]{position:relative;top:-20%;font-size:.7em;font-weight:1000;color:red;z-index:1100}.protein-terminal[data-v-beee67fe]:hover{background-color:var(--protein-terminal-cell-hover-bg-color);color:var(--protein-terminal-cell-hover-color)}.terminal-text[data-v-beee67fe]{font-weight:1000}.terminal-text.truncated[data-v-beee67fe]{color:#80808066;outline:rgba(128,128,128,.4)}.protein-terminal-modified[data-v-beee67fe]{background-color:#9c1e1e;color:var(--amino-acid-cell-color)}.protein-terminal-modified[data-v-beee67fe]:hover{background-color:#ff1e1e}.sequence-grid[data-v-9a6912d6]{display:grid;grid-template-rows:auto;gap:4px 4px}.sequence-grid>div[data-v-9a6912d6]{aspect-ratio:1}.sequence-amino-acid-modified[data-v-9a6912d6]{background-color:#9c1e1e!important}.sequence-amino-acid-modified[data-v-9a6912d6]:hover{background-color:#ff1e1e}.sequence-amino-acid-highlighted[data-v-9a6912d6]{background-color:var(--amino-acid-cell-bg-color);color:#f0a441}.sequence-amino-acid-highlighted[data-v-9a6912d6]:hover{background-color:var(--amino-acid-cell-hover-bg-color)}.sequence-grid[data-v-14f01162]{display:grid;grid-template-rows:auto;gap:4px 4px}.sequence-grid>div[data-v-14f01162]{aspect-ratio:1}.protein-terminal[data-v-14f01162]:hover{background-color:var(--amino-acid-cell-hover-bg-color);color:var(--amino-acid-cell-hover-color)}.grid-width-20[data-v-14f01162]{grid-template-columns:repeat(22,1fr)}.grid-width-25[data-v-14f01162]{grid-template-columns:repeat(27,1fr)}.grid-width-30[data-v-14f01162]{grid-template-columns:repeat(32,1fr)}.grid-width-35[data-v-14f01162]{grid-template-columns:repeat(37,1fr)}.grid-width-40[data-v-14f01162]{grid-template-columns:repeat(42,1fr)}.sequence-and-scale[data-v-14f01162]{display:flex;align-items:center}.scale-container[data-v-14f01162]{display:flex;flex-direction:column;align-items:center}#sequence-part[data-v-14f01162]{flex-grow:1}.scale[data-v-14f01162]{width:60px;height:100px;background:linear-gradient(to top,rgba(228,87,46,.1),rgba(228,87,46,.2) 10%,rgba(228,87,46,.4) 20%,rgba(228,87,46,.6) 40%,rgba(228,87,46,.8) 70%,#e4572e 100%)}.scale-text[data-v-14f01162]{text-align:center;font-size:14pt;font-weight:700}.sequence-text[data-v-ece55ad7]{font-size:8px}.fragment-segment[data-v-ece55ad7],.by-fragment[data-v-ece55ad7],.cy-fragment[data-v-ece55ad7],.bz-fragment[data-v-ece55ad7],.not-in-fragment[data-v-ece55ad7],.by-fragment-overlayed[data-v-ece55ad7],.by-fragment-legend[data-v-ece55ad7],.cy-fragment-overlayed[data-v-ece55ad7],.cy-fragment-legend[data-v-ece55ad7],.bz-fragment-overlayed[data-v-ece55ad7],.bz-fragment-legend[data-v-ece55ad7]{aspect-ratio:1}.by-fragment[data-v-ece55ad7],.by-fragment-overlayed[data-v-ece55ad7],.by-fragment-legend[data-v-ece55ad7]{background:#f0a441}.by-fragment-overlayed[data-v-ece55ad7]{opacity:var(--frag-block-opacity-value)}.by-fragment-legend[data-v-ece55ad7]{height:10px}.cy-fragment[data-v-ece55ad7],.cy-fragment-overlayed[data-v-ece55ad7],.cy-fragment-legend[data-v-ece55ad7]{background:#12871d}.cy-fragment-overlayed[data-v-ece55ad7]{opacity:var(--frag-block-opacity-value)}.cy-fragment-legend[data-v-ece55ad7]{height:10px}.bz-fragment[data-v-ece55ad7],.bz-fragment-overlayed[data-v-ece55ad7],.bz-fragment-legend[data-v-ece55ad7]{background:#7831cc}.bz-fragment-overlayed[data-v-ece55ad7]{opacity:var(--frag-block-opacity-value)}.bz-fragment-legend[data-v-ece55ad7]{height:10px}.not-in-fragment[data-v-ece55ad7]{background:transparent;aspect-ratio:1}.v-input.textFieldFontSize[data-v-ece55ad7]{width:100px}.component-row[data-v-942c08f7]{display:flex;flex-direction:row;align-items:center}.height-1[data-v-942c08f7]{min-height:200px;height:fit-content;max-height:400px}.height-2[data-v-942c08f7]{min-height:200px;height:fit-content;max-height:800px}.height-any[data-v-942c08f7]{min-height:200px;height:fit-content}.component-width-1[data-v-942c08f7]{flex-basis:100%;flex-grow:0}.component-width-2[data-v-942c08f7]{max-width:50%;flex-basis:50%;flex-grow:0}.component-width-3[data-v-942c08f7]{max-width:33%;flex-basis:33%;flex-grow:0}.component-layout[data-v-721e06dc]{display:flex;flex-direction:column}body{margin:0;font-family:Source Sans Pro,sans-serif}.tabulator-tooltip{background:#fff;color:#000}@font-face{font-family:Material Design Icons;src:url(./materialdesignicons-webfont-67d24abe.eot?v=7.2.96);src:url(./materialdesignicons-webfont-67d24abe.eot?#iefix&v=7.2.96) format("embedded-opentype"),url(./materialdesignicons-webfont-c1c004a9.woff2?v=7.2.96) format("woff2"),url(./materialdesignicons-webfont-80bb28b3.woff?v=7.2.96) format("woff"),url(./materialdesignicons-webfont-a58ecb54.ttf?v=7.2.96) format("truetype");font-weight:400;font-style:normal}.mdi:before,.mdi-set{display:inline-block;font: 24px/1 Material Design Icons;font-size:inherit;text-rendering:auto;line-height:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.mdi-ab-testing:before{content:"󰇉"}.mdi-abacus:before{content:"󱛠"}.mdi-abjad-arabic:before{content:"󱌨"}.mdi-abjad-hebrew:before{content:"󱌩"}.mdi-abugida-devanagari:before{content:"󱌪"}.mdi-abugida-thai:before{content:"󱌫"}.mdi-access-point:before{content:"󰀃"}.mdi-access-point-check:before{content:"󱔸"}.mdi-access-point-minus:before{content:"󱔹"}.mdi-access-point-network:before{content:"󰀂"}.mdi-access-point-network-off:before{content:"󰯡"}.mdi-access-point-off:before{content:"󱔑"}.mdi-access-point-plus:before{content:"󱔺"}.mdi-access-point-remove:before{content:"󱔻"}.mdi-account:before{content:"󰀄"}.mdi-account-alert:before{content:"󰀅"}.mdi-account-alert-outline:before{content:"󰭐"}.mdi-account-arrow-down:before{content:"󱡨"}.mdi-account-arrow-down-outline:before{content:"󱡩"}.mdi-account-arrow-left:before{content:"󰭑"}.mdi-account-arrow-left-outline:before{content:"󰭒"}.mdi-account-arrow-right:before{content:"󰭓"}.mdi-account-arrow-right-outline:before{content:"󰭔"}.mdi-account-arrow-up:before{content:"󱡧"}.mdi-account-arrow-up-outline:before{content:"󱡪"}.mdi-account-badge:before{content:"󱬊"}.mdi-account-badge-outline:before{content:"󱬋"}.mdi-account-box:before{content:"󰀆"}.mdi-account-box-multiple:before{content:"󰤴"}.mdi-account-box-multiple-outline:before{content:"󱀊"}.mdi-account-box-outline:before{content:"󰀇"}.mdi-account-cancel:before{content:"󱋟"}.mdi-account-cancel-outline:before{content:"󱋠"}.mdi-account-card:before{content:"󱮤"}.mdi-account-card-outline:before{content:"󱮥"}.mdi-account-cash:before{content:"󱂗"}.mdi-account-cash-outline:before{content:"󱂘"}.mdi-account-check:before{content:"󰀈"}.mdi-account-check-outline:before{content:"󰯢"}.mdi-account-child:before{content:"󰪉"}.mdi-account-child-circle:before{content:"󰪊"}.mdi-account-child-outline:before{content:"󱃈"}.mdi-account-circle:before{content:"󰀉"}.mdi-account-circle-outline:before{content:"󰭕"}.mdi-account-clock:before{content:"󰭖"}.mdi-account-clock-outline:before{content:"󰭗"}.mdi-account-cog:before{content:"󱍰"}.mdi-account-cog-outline:before{content:"󱍱"}.mdi-account-convert:before{content:"󰀊"}.mdi-account-convert-outline:before{content:"󱌁"}.mdi-account-cowboy-hat:before{content:"󰺛"}.mdi-account-cowboy-hat-outline:before{content:"󱟳"}.mdi-account-credit-card:before{content:"󱮦"}.mdi-account-credit-card-outline:before{content:"󱮧"}.mdi-account-details:before{content:"󰘱"}.mdi-account-details-outline:before{content:"󱍲"}.mdi-account-edit:before{content:"󰚼"}.mdi-account-edit-outline:before{content:"󰿻"}.mdi-account-eye:before{content:"󰐠"}.mdi-account-eye-outline:before{content:"󱉻"}.mdi-account-filter:before{content:"󰤶"}.mdi-account-filter-outline:before{content:"󰾝"}.mdi-account-group:before{content:"󰡉"}.mdi-account-group-outline:before{content:"󰭘"}.mdi-account-hard-hat:before{content:"󰖵"}.mdi-account-hard-hat-outline:before{content:"󱨟"}.mdi-account-heart:before{content:"󰢙"}.mdi-account-heart-outline:before{content:"󰯣"}.mdi-account-injury:before{content:"󱠕"}.mdi-account-injury-outline:before{content:"󱠖"}.mdi-account-key:before{content:"󰀋"}.mdi-account-key-outline:before{content:"󰯤"}.mdi-account-lock:before{content:"󱅞"}.mdi-account-lock-open:before{content:"󱥠"}.mdi-account-lock-open-outline:before{content:"󱥡"}.mdi-account-lock-outline:before{content:"󱅟"}.mdi-account-minus:before{content:"󰀍"}.mdi-account-minus-outline:before{content:"󰫬"}.mdi-account-multiple:before{content:"󰀎"}.mdi-account-multiple-check:before{content:"󰣅"}.mdi-account-multiple-check-outline:before{content:"󱇾"}.mdi-account-multiple-minus:before{content:"󰗓"}.mdi-account-multiple-minus-outline:before{content:"󰯥"}.mdi-account-multiple-outline:before{content:"󰀏"}.mdi-account-multiple-plus:before{content:"󰀐"}.mdi-account-multiple-plus-outline:before{content:"󰠀"}.mdi-account-multiple-remove:before{content:"󱈊"}.mdi-account-multiple-remove-outline:before{content:"󱈋"}.mdi-account-music:before{content:"󰠃"}.mdi-account-music-outline:before{content:"󰳩"}.mdi-account-network:before{content:"󰀑"}.mdi-account-network-off:before{content:"󱫱"}.mdi-account-network-off-outline:before{content:"󱫲"}.mdi-account-network-outline:before{content:"󰯦"}.mdi-account-off:before{content:"󰀒"}.mdi-account-off-outline:before{content:"󰯧"}.mdi-account-outline:before{content:"󰀓"}.mdi-account-plus:before{content:"󰀔"}.mdi-account-plus-outline:before{content:"󰠁"}.mdi-account-question:before{content:"󰭙"}.mdi-account-question-outline:before{content:"󰭚"}.mdi-account-reactivate:before{content:"󱔫"}.mdi-account-reactivate-outline:before{content:"󱔬"}.mdi-account-remove:before{content:"󰀕"}.mdi-account-remove-outline:before{content:"󰫭"}.mdi-account-school:before{content:"󱨠"}.mdi-account-school-outline:before{content:"󱨡"}.mdi-account-search:before{content:"󰀖"}.mdi-account-search-outline:before{content:"󰤵"}.mdi-account-settings:before{content:"󰘰"}.mdi-account-settings-outline:before{content:"󱃉"}.mdi-account-star:before{content:"󰀗"}.mdi-account-star-outline:before{content:"󰯨"}.mdi-account-supervisor:before{content:"󰪋"}.mdi-account-supervisor-circle:before{content:"󰪌"}.mdi-account-supervisor-circle-outline:before{content:"󱓬"}.mdi-account-supervisor-outline:before{content:"󱄭"}.mdi-account-switch:before{content:"󰀙"}.mdi-account-switch-outline:before{content:"󰓋"}.mdi-account-sync:before{content:"󱤛"}.mdi-account-sync-outline:before{content:"󱤜"}.mdi-account-tag:before{content:"󱰛"}.mdi-account-tag-outline:before{content:"󱰜"}.mdi-account-tie:before{content:"󰳣"}.mdi-account-tie-hat:before{content:"󱢘"}.mdi-account-tie-hat-outline:before{content:"󱢙"}.mdi-account-tie-outline:before{content:"󱃊"}.mdi-account-tie-voice:before{content:"󱌈"}.mdi-account-tie-voice-off:before{content:"󱌊"}.mdi-account-tie-voice-off-outline:before{content:"󱌋"}.mdi-account-tie-voice-outline:before{content:"󱌉"}.mdi-account-tie-woman:before{content:"󱪌"}.mdi-account-voice:before{content:"󰗋"}.mdi-account-voice-off:before{content:"󰻔"}.mdi-account-wrench:before{content:"󱢚"}.mdi-account-wrench-outline:before{content:"󱢛"}.mdi-adjust:before{content:"󰀚"}.mdi-advertisements:before{content:"󱤪"}.mdi-advertisements-off:before{content:"󱤫"}.mdi-air-conditioner:before{content:"󰀛"}.mdi-air-filter:before{content:"󰵃"}.mdi-air-horn:before{content:"󰶬"}.mdi-air-humidifier:before{content:"󱂙"}.mdi-air-humidifier-off:before{content:"󱑦"}.mdi-air-purifier:before{content:"󰵄"}.mdi-air-purifier-off:before{content:"󱭗"}.mdi-airbag:before{content:"󰯩"}.mdi-airballoon:before{content:"󰀜"}.mdi-airballoon-outline:before{content:"󱀋"}.mdi-airplane:before{content:"󰀝"}.mdi-airplane-alert:before{content:"󱡺"}.mdi-airplane-check:before{content:"󱡻"}.mdi-airplane-clock:before{content:"󱡼"}.mdi-airplane-cog:before{content:"󱡽"}.mdi-airplane-edit:before{content:"󱡾"}.mdi-airplane-landing:before{content:"󰗔"}.mdi-airplane-marker:before{content:"󱡿"}.mdi-airplane-minus:before{content:"󱢀"}.mdi-airplane-off:before{content:"󰀞"}.mdi-airplane-plus:before{content:"󱢁"}.mdi-airplane-remove:before{content:"󱢂"}.mdi-airplane-search:before{content:"󱢃"}.mdi-airplane-settings:before{content:"󱢄"}.mdi-airplane-takeoff:before{content:"󰗕"}.mdi-airport:before{content:"󰡋"}.mdi-alarm:before{content:"󰀠"}.mdi-alarm-bell:before{content:"󰞎"}.mdi-alarm-check:before{content:"󰀡"}.mdi-alarm-light:before{content:"󰞏"}.mdi-alarm-light-off:before{content:"󱜞"}.mdi-alarm-light-off-outline:before{content:"󱜟"}.mdi-alarm-light-outline:before{content:"󰯪"}.mdi-alarm-multiple:before{content:"󰀢"}.mdi-alarm-note:before{content:"󰹱"}.mdi-alarm-note-off:before{content:"󰹲"}.mdi-alarm-off:before{content:"󰀣"}.mdi-alarm-panel:before{content:"󱗄"}.mdi-alarm-panel-outline:before{content:"󱗅"}.mdi-alarm-plus:before{content:"󰀤"}.mdi-alarm-snooze:before{content:"󰚎"}.mdi-album:before{content:"󰀥"}.mdi-alert:before{content:"󰀦"}.mdi-alert-box:before{content:"󰀧"}.mdi-alert-box-outline:before{content:"󰳤"}.mdi-alert-circle:before{content:"󰀨"}.mdi-alert-circle-check:before{content:"󱇭"}.mdi-alert-circle-check-outline:before{content:"󱇮"}.mdi-alert-circle-outline:before{content:"󰗖"}.mdi-alert-decagram:before{content:"󰚽"}.mdi-alert-decagram-outline:before{content:"󰳥"}.mdi-alert-minus:before{content:"󱒻"}.mdi-alert-minus-outline:before{content:"󱒾"}.mdi-alert-octagon:before{content:"󰀩"}.mdi-alert-octagon-outline:before{content:"󰳦"}.mdi-alert-octagram:before{content:"󰝧"}.mdi-alert-octagram-outline:before{content:"󰳧"}.mdi-alert-outline:before{content:"󰀪"}.mdi-alert-plus:before{content:"󱒺"}.mdi-alert-plus-outline:before{content:"󱒽"}.mdi-alert-remove:before{content:"󱒼"}.mdi-alert-remove-outline:before{content:"󱒿"}.mdi-alert-rhombus:before{content:"󱇎"}.mdi-alert-rhombus-outline:before{content:"󱇏"}.mdi-alien:before{content:"󰢚"}.mdi-alien-outline:before{content:"󱃋"}.mdi-align-horizontal-center:before{content:"󱇃"}.mdi-align-horizontal-distribute:before{content:"󱥢"}.mdi-align-horizontal-left:before{content:"󱇂"}.mdi-align-horizontal-right:before{content:"󱇄"}.mdi-align-vertical-bottom:before{content:"󱇅"}.mdi-align-vertical-center:before{content:"󱇆"}.mdi-align-vertical-distribute:before{content:"󱥣"}.mdi-align-vertical-top:before{content:"󱇇"}.mdi-all-inclusive:before{content:"󰚾"}.mdi-all-inclusive-box:before{content:"󱢍"}.mdi-all-inclusive-box-outline:before{content:"󱢎"}.mdi-allergy:before{content:"󱉘"}.mdi-alpha:before{content:"󰀫"}.mdi-alpha-a:before{content:"󰫮"}.mdi-alpha-a-box:before{content:"󰬈"}.mdi-alpha-a-box-outline:before{content:"󰯫"}.mdi-alpha-a-circle:before{content:"󰯬"}.mdi-alpha-a-circle-outline:before{content:"󰯭"}.mdi-alpha-b:before{content:"󰫯"}.mdi-alpha-b-box:before{content:"󰬉"}.mdi-alpha-b-box-outline:before{content:"󰯮"}.mdi-alpha-b-circle:before{content:"󰯯"}.mdi-alpha-b-circle-outline:before{content:"󰯰"}.mdi-alpha-c:before{content:"󰫰"}.mdi-alpha-c-box:before{content:"󰬊"}.mdi-alpha-c-box-outline:before{content:"󰯱"}.mdi-alpha-c-circle:before{content:"󰯲"}.mdi-alpha-c-circle-outline:before{content:"󰯳"}.mdi-alpha-d:before{content:"󰫱"}.mdi-alpha-d-box:before{content:"󰬋"}.mdi-alpha-d-box-outline:before{content:"󰯴"}.mdi-alpha-d-circle:before{content:"󰯵"}.mdi-alpha-d-circle-outline:before{content:"󰯶"}.mdi-alpha-e:before{content:"󰫲"}.mdi-alpha-e-box:before{content:"󰬌"}.mdi-alpha-e-box-outline:before{content:"󰯷"}.mdi-alpha-e-circle:before{content:"󰯸"}.mdi-alpha-e-circle-outline:before{content:"󰯹"}.mdi-alpha-f:before{content:"󰫳"}.mdi-alpha-f-box:before{content:"󰬍"}.mdi-alpha-f-box-outline:before{content:"󰯺"}.mdi-alpha-f-circle:before{content:"󰯻"}.mdi-alpha-f-circle-outline:before{content:"󰯼"}.mdi-alpha-g:before{content:"󰫴"}.mdi-alpha-g-box:before{content:"󰬎"}.mdi-alpha-g-box-outline:before{content:"󰯽"}.mdi-alpha-g-circle:before{content:"󰯾"}.mdi-alpha-g-circle-outline:before{content:"󰯿"}.mdi-alpha-h:before{content:"󰫵"}.mdi-alpha-h-box:before{content:"󰬏"}.mdi-alpha-h-box-outline:before{content:"󰰀"}.mdi-alpha-h-circle:before{content:"󰰁"}.mdi-alpha-h-circle-outline:before{content:"󰰂"}.mdi-alpha-i:before{content:"󰫶"}.mdi-alpha-i-box:before{content:"󰬐"}.mdi-alpha-i-box-outline:before{content:"󰰃"}.mdi-alpha-i-circle:before{content:"󰰄"}.mdi-alpha-i-circle-outline:before{content:"󰰅"}.mdi-alpha-j:before{content:"󰫷"}.mdi-alpha-j-box:before{content:"󰬑"}.mdi-alpha-j-box-outline:before{content:"󰰆"}.mdi-alpha-j-circle:before{content:"󰰇"}.mdi-alpha-j-circle-outline:before{content:"󰰈"}.mdi-alpha-k:before{content:"󰫸"}.mdi-alpha-k-box:before{content:"󰬒"}.mdi-alpha-k-box-outline:before{content:"󰰉"}.mdi-alpha-k-circle:before{content:"󰰊"}.mdi-alpha-k-circle-outline:before{content:"󰰋"}.mdi-alpha-l:before{content:"󰫹"}.mdi-alpha-l-box:before{content:"󰬓"}.mdi-alpha-l-box-outline:before{content:"󰰌"}.mdi-alpha-l-circle:before{content:"󰰍"}.mdi-alpha-l-circle-outline:before{content:"󰰎"}.mdi-alpha-m:before{content:"󰫺"}.mdi-alpha-m-box:before{content:"󰬔"}.mdi-alpha-m-box-outline:before{content:"󰰏"}.mdi-alpha-m-circle:before{content:"󰰐"}.mdi-alpha-m-circle-outline:before{content:"󰰑"}.mdi-alpha-n:before{content:"󰫻"}.mdi-alpha-n-box:before{content:"󰬕"}.mdi-alpha-n-box-outline:before{content:"󰰒"}.mdi-alpha-n-circle:before{content:"󰰓"}.mdi-alpha-n-circle-outline:before{content:"󰰔"}.mdi-alpha-o:before{content:"󰫼"}.mdi-alpha-o-box:before{content:"󰬖"}.mdi-alpha-o-box-outline:before{content:"󰰕"}.mdi-alpha-o-circle:before{content:"󰰖"}.mdi-alpha-o-circle-outline:before{content:"󰰗"}.mdi-alpha-p:before{content:"󰫽"}.mdi-alpha-p-box:before{content:"󰬗"}.mdi-alpha-p-box-outline:before{content:"󰰘"}.mdi-alpha-p-circle:before{content:"󰰙"}.mdi-alpha-p-circle-outline:before{content:"󰰚"}.mdi-alpha-q:before{content:"󰫾"}.mdi-alpha-q-box:before{content:"󰬘"}.mdi-alpha-q-box-outline:before{content:"󰰛"}.mdi-alpha-q-circle:before{content:"󰰜"}.mdi-alpha-q-circle-outline:before{content:"󰰝"}.mdi-alpha-r:before{content:"󰫿"}.mdi-alpha-r-box:before{content:"󰬙"}.mdi-alpha-r-box-outline:before{content:"󰰞"}.mdi-alpha-r-circle:before{content:"󰰟"}.mdi-alpha-r-circle-outline:before{content:"󰰠"}.mdi-alpha-s:before{content:"󰬀"}.mdi-alpha-s-box:before{content:"󰬚"}.mdi-alpha-s-box-outline:before{content:"󰰡"}.mdi-alpha-s-circle:before{content:"󰰢"}.mdi-alpha-s-circle-outline:before{content:"󰰣"}.mdi-alpha-t:before{content:"󰬁"}.mdi-alpha-t-box:before{content:"󰬛"}.mdi-alpha-t-box-outline:before{content:"󰰤"}.mdi-alpha-t-circle:before{content:"󰰥"}.mdi-alpha-t-circle-outline:before{content:"󰰦"}.mdi-alpha-u:before{content:"󰬂"}.mdi-alpha-u-box:before{content:"󰬜"}.mdi-alpha-u-box-outline:before{content:"󰰧"}.mdi-alpha-u-circle:before{content:"󰰨"}.mdi-alpha-u-circle-outline:before{content:"󰰩"}.mdi-alpha-v:before{content:"󰬃"}.mdi-alpha-v-box:before{content:"󰬝"}.mdi-alpha-v-box-outline:before{content:"󰰪"}.mdi-alpha-v-circle:before{content:"󰰫"}.mdi-alpha-v-circle-outline:before{content:"󰰬"}.mdi-alpha-w:before{content:"󰬄"}.mdi-alpha-w-box:before{content:"󰬞"}.mdi-alpha-w-box-outline:before{content:"󰰭"}.mdi-alpha-w-circle:before{content:"󰰮"}.mdi-alpha-w-circle-outline:before{content:"󰰯"}.mdi-alpha-x:before{content:"󰬅"}.mdi-alpha-x-box:before{content:"󰬟"}.mdi-alpha-x-box-outline:before{content:"󰰰"}.mdi-alpha-x-circle:before{content:"󰰱"}.mdi-alpha-x-circle-outline:before{content:"󰰲"}.mdi-alpha-y:before{content:"󰬆"}.mdi-alpha-y-box:before{content:"󰬠"}.mdi-alpha-y-box-outline:before{content:"󰰳"}.mdi-alpha-y-circle:before{content:"󰰴"}.mdi-alpha-y-circle-outline:before{content:"󰰵"}.mdi-alpha-z:before{content:"󰬇"}.mdi-alpha-z-box:before{content:"󰬡"}.mdi-alpha-z-box-outline:before{content:"󰰶"}.mdi-alpha-z-circle:before{content:"󰰷"}.mdi-alpha-z-circle-outline:before{content:"󰰸"}.mdi-alphabet-aurebesh:before{content:"󱌬"}.mdi-alphabet-cyrillic:before{content:"󱌭"}.mdi-alphabet-greek:before{content:"󱌮"}.mdi-alphabet-latin:before{content:"󱌯"}.mdi-alphabet-piqad:before{content:"󱌰"}.mdi-alphabet-tengwar:before{content:"󱌷"}.mdi-alphabetical:before{content:"󰀬"}.mdi-alphabetical-off:before{content:"󱀌"}.mdi-alphabetical-variant:before{content:"󱀍"}.mdi-alphabetical-variant-off:before{content:"󱀎"}.mdi-altimeter:before{content:"󰗗"}.mdi-ambulance:before{content:"󰀯"}.mdi-ammunition:before{content:"󰳨"}.mdi-ampersand:before{content:"󰪍"}.mdi-amplifier:before{content:"󰀰"}.mdi-amplifier-off:before{content:"󱆵"}.mdi-anchor:before{content:"󰀱"}.mdi-android:before{content:"󰀲"}.mdi-android-studio:before{content:"󰀴"}.mdi-angle-acute:before{content:"󰤷"}.mdi-angle-obtuse:before{content:"󰤸"}.mdi-angle-right:before{content:"󰤹"}.mdi-angular:before{content:"󰚲"}.mdi-angularjs:before{content:"󰚿"}.mdi-animation:before{content:"󰗘"}.mdi-animation-outline:before{content:"󰪏"}.mdi-animation-play:before{content:"󰤺"}.mdi-animation-play-outline:before{content:"󰪐"}.mdi-ansible:before{content:"󱂚"}.mdi-antenna:before{content:"󱄙"}.mdi-anvil:before{content:"󰢛"}.mdi-apache-kafka:before{content:"󱀏"}.mdi-api:before{content:"󱂛"}.mdi-api-off:before{content:"󱉗"}.mdi-apple:before{content:"󰀵"}.mdi-apple-finder:before{content:"󰀶"}.mdi-apple-icloud:before{content:"󰀸"}.mdi-apple-ios:before{content:"󰀷"}.mdi-apple-keyboard-caps:before{content:"󰘲"}.mdi-apple-keyboard-command:before{content:"󰘳"}.mdi-apple-keyboard-control:before{content:"󰘴"}.mdi-apple-keyboard-option:before{content:"󰘵"}.mdi-apple-keyboard-shift:before{content:"󰘶"}.mdi-apple-safari:before{content:"󰀹"}.mdi-application:before{content:"󰣆"}.mdi-application-array:before{content:"󱃵"}.mdi-application-array-outline:before{content:"󱃶"}.mdi-application-braces:before{content:"󱃷"}.mdi-application-braces-outline:before{content:"󱃸"}.mdi-application-brackets:before{content:"󰲋"}.mdi-application-brackets-outline:before{content:"󰲌"}.mdi-application-cog:before{content:"󰙵"}.mdi-application-cog-outline:before{content:"󱕷"}.mdi-application-edit:before{content:"󰂮"}.mdi-application-edit-outline:before{content:"󰘙"}.mdi-application-export:before{content:"󰶭"}.mdi-application-import:before{content:"󰶮"}.mdi-application-outline:before{content:"󰘔"}.mdi-application-parentheses:before{content:"󱃹"}.mdi-application-parentheses-outline:before{content:"󱃺"}.mdi-application-settings:before{content:"󰭠"}.mdi-application-settings-outline:before{content:"󱕕"}.mdi-application-variable:before{content:"󱃻"}.mdi-application-variable-outline:before{content:"󱃼"}.mdi-approximately-equal:before{content:"󰾞"}.mdi-approximately-equal-box:before{content:"󰾟"}.mdi-apps:before{content:"󰀻"}.mdi-apps-box:before{content:"󰵆"}.mdi-arch:before{content:"󰣇"}.mdi-archive:before{content:"󰀼"}.mdi-archive-alert:before{content:"󱓽"}.mdi-archive-alert-outline:before{content:"󱓾"}.mdi-archive-arrow-down:before{content:"󱉙"}.mdi-archive-arrow-down-outline:before{content:"󱉚"}.mdi-archive-arrow-up:before{content:"󱉛"}.mdi-archive-arrow-up-outline:before{content:"󱉜"}.mdi-archive-cancel:before{content:"󱝋"}.mdi-archive-cancel-outline:before{content:"󱝌"}.mdi-archive-check:before{content:"󱝍"}.mdi-archive-check-outline:before{content:"󱝎"}.mdi-archive-clock:before{content:"󱝏"}.mdi-archive-clock-outline:before{content:"󱝐"}.mdi-archive-cog:before{content:"󱝑"}.mdi-archive-cog-outline:before{content:"󱝒"}.mdi-archive-edit:before{content:"󱝓"}.mdi-archive-edit-outline:before{content:"󱝔"}.mdi-archive-eye:before{content:"󱝕"}.mdi-archive-eye-outline:before{content:"󱝖"}.mdi-archive-lock:before{content:"󱝗"}.mdi-archive-lock-open:before{content:"󱝘"}.mdi-archive-lock-open-outline:before{content:"󱝙"}.mdi-archive-lock-outline:before{content:"󱝚"}.mdi-archive-marker:before{content:"󱝛"}.mdi-archive-marker-outline:before{content:"󱝜"}.mdi-archive-minus:before{content:"󱝝"}.mdi-archive-minus-outline:before{content:"󱝞"}.mdi-archive-music:before{content:"󱝟"}.mdi-archive-music-outline:before{content:"󱝠"}.mdi-archive-off:before{content:"󱝡"}.mdi-archive-off-outline:before{content:"󱝢"}.mdi-archive-outline:before{content:"󱈎"}.mdi-archive-plus:before{content:"󱝣"}.mdi-archive-plus-outline:before{content:"󱝤"}.mdi-archive-refresh:before{content:"󱝥"}.mdi-archive-refresh-outline:before{content:"󱝦"}.mdi-archive-remove:before{content:"󱝧"}.mdi-archive-remove-outline:before{content:"󱝨"}.mdi-archive-search:before{content:"󱝩"}.mdi-archive-search-outline:before{content:"󱝪"}.mdi-archive-settings:before{content:"󱝫"}.mdi-archive-settings-outline:before{content:"󱝬"}.mdi-archive-star:before{content:"󱝭"}.mdi-archive-star-outline:before{content:"󱝮"}.mdi-archive-sync:before{content:"󱝯"}.mdi-archive-sync-outline:before{content:"󱝰"}.mdi-arm-flex:before{content:"󰿗"}.mdi-arm-flex-outline:before{content:"󰿖"}.mdi-arrange-bring-forward:before{content:"󰀽"}.mdi-arrange-bring-to-front:before{content:"󰀾"}.mdi-arrange-send-backward:before{content:"󰀿"}.mdi-arrange-send-to-back:before{content:"󰁀"}.mdi-arrow-all:before{content:"󰁁"}.mdi-arrow-bottom-left:before{content:"󰁂"}.mdi-arrow-bottom-left-bold-box:before{content:"󱥤"}.mdi-arrow-bottom-left-bold-box-outline:before{content:"󱥥"}.mdi-arrow-bottom-left-bold-outline:before{content:"󰦷"}.mdi-arrow-bottom-left-thick:before{content:"󰦸"}.mdi-arrow-bottom-left-thin:before{content:"󱦶"}.mdi-arrow-bottom-left-thin-circle-outline:before{content:"󱖖"}.mdi-arrow-bottom-right:before{content:"󰁃"}.mdi-arrow-bottom-right-bold-box:before{content:"󱥦"}.mdi-arrow-bottom-right-bold-box-outline:before{content:"󱥧"}.mdi-arrow-bottom-right-bold-outline:before{content:"󰦹"}.mdi-arrow-bottom-right-thick:before{content:"󰦺"}.mdi-arrow-bottom-right-thin:before{content:"󱦷"}.mdi-arrow-bottom-right-thin-circle-outline:before{content:"󱖕"}.mdi-arrow-collapse:before{content:"󰘕"}.mdi-arrow-collapse-all:before{content:"󰁄"}.mdi-arrow-collapse-down:before{content:"󰞒"}.mdi-arrow-collapse-horizontal:before{content:"󰡌"}.mdi-arrow-collapse-left:before{content:"󰞓"}.mdi-arrow-collapse-right:before{content:"󰞔"}.mdi-arrow-collapse-up:before{content:"󰞕"}.mdi-arrow-collapse-vertical:before{content:"󰡍"}.mdi-arrow-decision:before{content:"󰦻"}.mdi-arrow-decision-auto:before{content:"󰦼"}.mdi-arrow-decision-auto-outline:before{content:"󰦽"}.mdi-arrow-decision-outline:before{content:"󰦾"}.mdi-arrow-down:before{content:"󰁅"}.mdi-arrow-down-bold:before{content:"󰜮"}.mdi-arrow-down-bold-box:before{content:"󰜯"}.mdi-arrow-down-bold-box-outline:before{content:"󰜰"}.mdi-arrow-down-bold-circle:before{content:"󰁇"}.mdi-arrow-down-bold-circle-outline:before{content:"󰁈"}.mdi-arrow-down-bold-hexagon-outline:before{content:"󰁉"}.mdi-arrow-down-bold-outline:before{content:"󰦿"}.mdi-arrow-down-box:before{content:"󰛀"}.mdi-arrow-down-circle:before{content:"󰳛"}.mdi-arrow-down-circle-outline:before{content:"󰳜"}.mdi-arrow-down-drop-circle:before{content:"󰁊"}.mdi-arrow-down-drop-circle-outline:before{content:"󰁋"}.mdi-arrow-down-left:before{content:"󱞡"}.mdi-arrow-down-left-bold:before{content:"󱞢"}.mdi-arrow-down-right:before{content:"󱞣"}.mdi-arrow-down-right-bold:before{content:"󱞤"}.mdi-arrow-down-thick:before{content:"󰁆"}.mdi-arrow-down-thin:before{content:"󱦳"}.mdi-arrow-down-thin-circle-outline:before{content:"󱖙"}.mdi-arrow-expand:before{content:"󰘖"}.mdi-arrow-expand-all:before{content:"󰁌"}.mdi-arrow-expand-down:before{content:"󰞖"}.mdi-arrow-expand-horizontal:before{content:"󰡎"}.mdi-arrow-expand-left:before{content:"󰞗"}.mdi-arrow-expand-right:before{content:"󰞘"}.mdi-arrow-expand-up:before{content:"󰞙"}.mdi-arrow-expand-vertical:before{content:"󰡏"}.mdi-arrow-horizontal-lock:before{content:"󱅛"}.mdi-arrow-left:before{content:"󰁍"}.mdi-arrow-left-bold:before{content:"󰜱"}.mdi-arrow-left-bold-box:before{content:"󰜲"}.mdi-arrow-left-bold-box-outline:before{content:"󰜳"}.mdi-arrow-left-bold-circle:before{content:"󰁏"}.mdi-arrow-left-bold-circle-outline:before{content:"󰁐"}.mdi-arrow-left-bold-hexagon-outline:before{content:"󰁑"}.mdi-arrow-left-bold-outline:before{content:"󰧀"}.mdi-arrow-left-bottom:before{content:"󱞥"}.mdi-arrow-left-bottom-bold:before{content:"󱞦"}.mdi-arrow-left-box:before{content:"󰛁"}.mdi-arrow-left-circle:before{content:"󰳝"}.mdi-arrow-left-circle-outline:before{content:"󰳞"}.mdi-arrow-left-drop-circle:before{content:"󰁒"}.mdi-arrow-left-drop-circle-outline:before{content:"󰁓"}.mdi-arrow-left-right:before{content:"󰹳"}.mdi-arrow-left-right-bold:before{content:"󰹴"}.mdi-arrow-left-right-bold-outline:before{content:"󰧁"}.mdi-arrow-left-thick:before{content:"󰁎"}.mdi-arrow-left-thin:before{content:"󱦱"}.mdi-arrow-left-thin-circle-outline:before{content:"󱖚"}.mdi-arrow-left-top:before{content:"󱞧"}.mdi-arrow-left-top-bold:before{content:"󱞨"}.mdi-arrow-projectile:before{content:"󱡀"}.mdi-arrow-projectile-multiple:before{content:"󱠿"}.mdi-arrow-right:before{content:"󰁔"}.mdi-arrow-right-bold:before{content:"󰜴"}.mdi-arrow-right-bold-box:before{content:"󰜵"}.mdi-arrow-right-bold-box-outline:before{content:"󰜶"}.mdi-arrow-right-bold-circle:before{content:"󰁖"}.mdi-arrow-right-bold-circle-outline:before{content:"󰁗"}.mdi-arrow-right-bold-hexagon-outline:before{content:"󰁘"}.mdi-arrow-right-bold-outline:before{content:"󰧂"}.mdi-arrow-right-bottom:before{content:"󱞩"}.mdi-arrow-right-bottom-bold:before{content:"󱞪"}.mdi-arrow-right-box:before{content:"󰛂"}.mdi-arrow-right-circle:before{content:"󰳟"}.mdi-arrow-right-circle-outline:before{content:"󰳠"}.mdi-arrow-right-drop-circle:before{content:"󰁙"}.mdi-arrow-right-drop-circle-outline:before{content:"󰁚"}.mdi-arrow-right-thick:before{content:"󰁕"}.mdi-arrow-right-thin:before{content:"󱦰"}.mdi-arrow-right-thin-circle-outline:before{content:"󱖘"}.mdi-arrow-right-top:before{content:"󱞫"}.mdi-arrow-right-top-bold:before{content:"󱞬"}.mdi-arrow-split-horizontal:before{content:"󰤻"}.mdi-arrow-split-vertical:before{content:"󰤼"}.mdi-arrow-top-left:before{content:"󰁛"}.mdi-arrow-top-left-bold-box:before{content:"󱥨"}.mdi-arrow-top-left-bold-box-outline:before{content:"󱥩"}.mdi-arrow-top-left-bold-outline:before{content:"󰧃"}.mdi-arrow-top-left-bottom-right:before{content:"󰹵"}.mdi-arrow-top-left-bottom-right-bold:before{content:"󰹶"}.mdi-arrow-top-left-thick:before{content:"󰧄"}.mdi-arrow-top-left-thin:before{content:"󱦵"}.mdi-arrow-top-left-thin-circle-outline:before{content:"󱖓"}.mdi-arrow-top-right:before{content:"󰁜"}.mdi-arrow-top-right-bold-box:before{content:"󱥪"}.mdi-arrow-top-right-bold-box-outline:before{content:"󱥫"}.mdi-arrow-top-right-bold-outline:before{content:"󰧅"}.mdi-arrow-top-right-bottom-left:before{content:"󰹷"}.mdi-arrow-top-right-bottom-left-bold:before{content:"󰹸"}.mdi-arrow-top-right-thick:before{content:"󰧆"}.mdi-arrow-top-right-thin:before{content:"󱦴"}.mdi-arrow-top-right-thin-circle-outline:before{content:"󱖔"}.mdi-arrow-u-down-left:before{content:"󱞭"}.mdi-arrow-u-down-left-bold:before{content:"󱞮"}.mdi-arrow-u-down-right:before{content:"󱞯"}.mdi-arrow-u-down-right-bold:before{content:"󱞰"}.mdi-arrow-u-left-bottom:before{content:"󱞱"}.mdi-arrow-u-left-bottom-bold:before{content:"󱞲"}.mdi-arrow-u-left-top:before{content:"󱞳"}.mdi-arrow-u-left-top-bold:before{content:"󱞴"}.mdi-arrow-u-right-bottom:before{content:"󱞵"}.mdi-arrow-u-right-bottom-bold:before{content:"󱞶"}.mdi-arrow-u-right-top:before{content:"󱞷"}.mdi-arrow-u-right-top-bold:before{content:"󱞸"}.mdi-arrow-u-up-left:before{content:"󱞹"}.mdi-arrow-u-up-left-bold:before{content:"󱞺"}.mdi-arrow-u-up-right:before{content:"󱞻"}.mdi-arrow-u-up-right-bold:before{content:"󱞼"}.mdi-arrow-up:before{content:"󰁝"}.mdi-arrow-up-bold:before{content:"󰜷"}.mdi-arrow-up-bold-box:before{content:"󰜸"}.mdi-arrow-up-bold-box-outline:before{content:"󰜹"}.mdi-arrow-up-bold-circle:before{content:"󰁟"}.mdi-arrow-up-bold-circle-outline:before{content:"󰁠"}.mdi-arrow-up-bold-hexagon-outline:before{content:"󰁡"}.mdi-arrow-up-bold-outline:before{content:"󰧇"}.mdi-arrow-up-box:before{content:"󰛃"}.mdi-arrow-up-circle:before{content:"󰳡"}.mdi-arrow-up-circle-outline:before{content:"󰳢"}.mdi-arrow-up-down:before{content:"󰹹"}.mdi-arrow-up-down-bold:before{content:"󰹺"}.mdi-arrow-up-down-bold-outline:before{content:"󰧈"}.mdi-arrow-up-drop-circle:before{content:"󰁢"}.mdi-arrow-up-drop-circle-outline:before{content:"󰁣"}.mdi-arrow-up-left:before{content:"󱞽"}.mdi-arrow-up-left-bold:before{content:"󱞾"}.mdi-arrow-up-right:before{content:"󱞿"}.mdi-arrow-up-right-bold:before{content:"󱟀"}.mdi-arrow-up-thick:before{content:"󰁞"}.mdi-arrow-up-thin:before{content:"󱦲"}.mdi-arrow-up-thin-circle-outline:before{content:"󱖗"}.mdi-arrow-vertical-lock:before{content:"󱅜"}.mdi-artboard:before{content:"󱮚"}.mdi-artstation:before{content:"󰭛"}.mdi-aspect-ratio:before{content:"󰨤"}.mdi-assistant:before{content:"󰁤"}.mdi-asterisk:before{content:"󰛄"}.mdi-asterisk-circle-outline:before{content:"󱨧"}.mdi-at:before{content:"󰁥"}.mdi-atlassian:before{content:"󰠄"}.mdi-atm:before{content:"󰵇"}.mdi-atom:before{content:"󰝨"}.mdi-atom-variant:before{content:"󰹻"}.mdi-attachment:before{content:"󰁦"}.mdi-attachment-check:before{content:"󱫁"}.mdi-attachment-lock:before{content:"󱧄"}.mdi-attachment-minus:before{content:"󱫂"}.mdi-attachment-off:before{content:"󱫃"}.mdi-attachment-plus:before{content:"󱫄"}.mdi-attachment-remove:before{content:"󱫅"}.mdi-atv:before{content:"󱭰"}.mdi-audio-input-rca:before{content:"󱡫"}.mdi-audio-input-stereo-minijack:before{content:"󱡬"}.mdi-audio-input-xlr:before{content:"󱡭"}.mdi-audio-video:before{content:"󰤽"}.mdi-audio-video-off:before{content:"󱆶"}.mdi-augmented-reality:before{content:"󰡐"}.mdi-aurora:before{content:"󱮹"}.mdi-auto-download:before{content:"󱍾"}.mdi-auto-fix:before{content:"󰁨"}.mdi-auto-mode:before{content:"󱰠"}.mdi-auto-upload:before{content:"󰁩"}.mdi-autorenew:before{content:"󰁪"}.mdi-autorenew-off:before{content:"󱧧"}.mdi-av-timer:before{content:"󰁫"}.mdi-awning:before{content:"󱮇"}.mdi-awning-outline:before{content:"󱮈"}.mdi-aws:before{content:"󰸏"}.mdi-axe:before{content:"󰣈"}.mdi-axe-battle:before{content:"󱡂"}.mdi-axis:before{content:"󰵈"}.mdi-axis-arrow:before{content:"󰵉"}.mdi-axis-arrow-info:before{content:"󱐎"}.mdi-axis-arrow-lock:before{content:"󰵊"}.mdi-axis-lock:before{content:"󰵋"}.mdi-axis-x-arrow:before{content:"󰵌"}.mdi-axis-x-arrow-lock:before{content:"󰵍"}.mdi-axis-x-rotate-clockwise:before{content:"󰵎"}.mdi-axis-x-rotate-counterclockwise:before{content:"󰵏"}.mdi-axis-x-y-arrow-lock:before{content:"󰵐"}.mdi-axis-y-arrow:before{content:"󰵑"}.mdi-axis-y-arrow-lock:before{content:"󰵒"}.mdi-axis-y-rotate-clockwise:before{content:"󰵓"}.mdi-axis-y-rotate-counterclockwise:before{content:"󰵔"}.mdi-axis-z-arrow:before{content:"󰵕"}.mdi-axis-z-arrow-lock:before{content:"󰵖"}.mdi-axis-z-rotate-clockwise:before{content:"󰵗"}.mdi-axis-z-rotate-counterclockwise:before{content:"󰵘"}.mdi-babel:before{content:"󰨥"}.mdi-baby:before{content:"󰁬"}.mdi-baby-bottle:before{content:"󰼹"}.mdi-baby-bottle-outline:before{content:"󰼺"}.mdi-baby-buggy:before{content:"󱏠"}.mdi-baby-buggy-off:before{content:"󱫳"}.mdi-baby-carriage:before{content:"󰚏"}.mdi-baby-carriage-off:before{content:"󰾠"}.mdi-baby-face:before{content:"󰹼"}.mdi-baby-face-outline:before{content:"󰹽"}.mdi-backburger:before{content:"󰁭"}.mdi-backspace:before{content:"󰁮"}.mdi-backspace-outline:before{content:"󰭜"}.mdi-backspace-reverse:before{content:"󰹾"}.mdi-backspace-reverse-outline:before{content:"󰹿"}.mdi-backup-restore:before{content:"󰁯"}.mdi-bacteria:before{content:"󰻕"}.mdi-bacteria-outline:before{content:"󰻖"}.mdi-badge-account:before{content:"󰶧"}.mdi-badge-account-alert:before{content:"󰶨"}.mdi-badge-account-alert-outline:before{content:"󰶩"}.mdi-badge-account-horizontal:before{content:"󰸍"}.mdi-badge-account-horizontal-outline:before{content:"󰸎"}.mdi-badge-account-outline:before{content:"󰶪"}.mdi-badminton:before{content:"󰡑"}.mdi-bag-carry-on:before{content:"󰼻"}.mdi-bag-carry-on-check:before{content:"󰵥"}.mdi-bag-carry-on-off:before{content:"󰼼"}.mdi-bag-checked:before{content:"󰼽"}.mdi-bag-personal:before{content:"󰸐"}.mdi-bag-personal-off:before{content:"󰸑"}.mdi-bag-personal-off-outline:before{content:"󰸒"}.mdi-bag-personal-outline:before{content:"󰸓"}.mdi-bag-personal-tag:before{content:"󱬌"}.mdi-bag-personal-tag-outline:before{content:"󱬍"}.mdi-bag-suitcase:before{content:"󱖋"}.mdi-bag-suitcase-off:before{content:"󱖍"}.mdi-bag-suitcase-off-outline:before{content:"󱖎"}.mdi-bag-suitcase-outline:before{content:"󱖌"}.mdi-baguette:before{content:"󰼾"}.mdi-balcony:before{content:"󱠗"}.mdi-balloon:before{content:"󰨦"}.mdi-ballot:before{content:"󰧉"}.mdi-ballot-outline:before{content:"󰧊"}.mdi-ballot-recount:before{content:"󰰹"}.mdi-ballot-recount-outline:before{content:"󰰺"}.mdi-bandage:before{content:"󰶯"}.mdi-bank:before{content:"󰁰"}.mdi-bank-check:before{content:"󱙕"}.mdi-bank-circle:before{content:"󱰃"}.mdi-bank-circle-outline:before{content:"󱰄"}.mdi-bank-minus:before{content:"󰶰"}.mdi-bank-off:before{content:"󱙖"}.mdi-bank-off-outline:before{content:"󱙗"}.mdi-bank-outline:before{content:"󰺀"}.mdi-bank-plus:before{content:"󰶱"}.mdi-bank-remove:before{content:"󰶲"}.mdi-bank-transfer:before{content:"󰨧"}.mdi-bank-transfer-in:before{content:"󰨨"}.mdi-bank-transfer-out:before{content:"󰨩"}.mdi-barcode:before{content:"󰁱"}.mdi-barcode-off:before{content:"󱈶"}.mdi-barcode-scan:before{content:"󰁲"}.mdi-barley:before{content:"󰁳"}.mdi-barley-off:before{content:"󰭝"}.mdi-barn:before{content:"󰭞"}.mdi-barrel:before{content:"󰁴"}.mdi-barrel-outline:before{content:"󱨨"}.mdi-baseball:before{content:"󰡒"}.mdi-baseball-bat:before{content:"󰡓"}.mdi-baseball-diamond:before{content:"󱗬"}.mdi-baseball-diamond-outline:before{content:"󱗭"}.mdi-baseball-outline:before{content:"󱱚"}.mdi-bash:before{content:"󱆃"}.mdi-basket:before{content:"󰁶"}.mdi-basket-check:before{content:"󱣥"}.mdi-basket-check-outline:before{content:"󱣦"}.mdi-basket-fill:before{content:"󰁷"}.mdi-basket-minus:before{content:"󱔣"}.mdi-basket-minus-outline:before{content:"󱔤"}.mdi-basket-off:before{content:"󱔥"}.mdi-basket-off-outline:before{content:"󱔦"}.mdi-basket-outline:before{content:"󱆁"}.mdi-basket-plus:before{content:"󱔧"}.mdi-basket-plus-outline:before{content:"󱔨"}.mdi-basket-remove:before{content:"󱔩"}.mdi-basket-remove-outline:before{content:"󱔪"}.mdi-basket-unfill:before{content:"󰁸"}.mdi-basketball:before{content:"󰠆"}.mdi-basketball-hoop:before{content:"󰰻"}.mdi-basketball-hoop-outline:before{content:"󰰼"}.mdi-bat:before{content:"󰭟"}.mdi-bathtub:before{content:"󱠘"}.mdi-bathtub-outline:before{content:"󱠙"}.mdi-battery:before{content:"󰁹"}.mdi-battery-10:before{content:"󰁺"}.mdi-battery-10-bluetooth:before{content:"󰤾"}.mdi-battery-20:before{content:"󰁻"}.mdi-battery-20-bluetooth:before{content:"󰤿"}.mdi-battery-30:before{content:"󰁼"}.mdi-battery-30-bluetooth:before{content:"󰥀"}.mdi-battery-40:before{content:"󰁽"}.mdi-battery-40-bluetooth:before{content:"󰥁"}.mdi-battery-50:before{content:"󰁾"}.mdi-battery-50-bluetooth:before{content:"󰥂"}.mdi-battery-60:before{content:"󰁿"}.mdi-battery-60-bluetooth:before{content:"󰥃"}.mdi-battery-70:before{content:"󰂀"}.mdi-battery-70-bluetooth:before{content:"󰥄"}.mdi-battery-80:before{content:"󰂁"}.mdi-battery-80-bluetooth:before{content:"󰥅"}.mdi-battery-90:before{content:"󰂂"}.mdi-battery-90-bluetooth:before{content:"󰥆"}.mdi-battery-alert:before{content:"󰂃"}.mdi-battery-alert-bluetooth:before{content:"󰥇"}.mdi-battery-alert-variant:before{content:"󱃌"}.mdi-battery-alert-variant-outline:before{content:"󱃍"}.mdi-battery-arrow-down:before{content:"󱟞"}.mdi-battery-arrow-down-outline:before{content:"󱟟"}.mdi-battery-arrow-up:before{content:"󱟠"}.mdi-battery-arrow-up-outline:before{content:"󱟡"}.mdi-battery-bluetooth:before{content:"󰥈"}.mdi-battery-bluetooth-variant:before{content:"󰥉"}.mdi-battery-charging:before{content:"󰂄"}.mdi-battery-charging-10:before{content:"󰢜"}.mdi-battery-charging-100:before{content:"󰂅"}.mdi-battery-charging-20:before{content:"󰂆"}.mdi-battery-charging-30:before{content:"󰂇"}.mdi-battery-charging-40:before{content:"󰂈"}.mdi-battery-charging-50:before{content:"󰢝"}.mdi-battery-charging-60:before{content:"󰂉"}.mdi-battery-charging-70:before{content:"󰢞"}.mdi-battery-charging-80:before{content:"󰂊"}.mdi-battery-charging-90:before{content:"󰂋"}.mdi-battery-charging-high:before{content:"󱊦"}.mdi-battery-charging-low:before{content:"󱊤"}.mdi-battery-charging-medium:before{content:"󱊥"}.mdi-battery-charging-outline:before{content:"󰢟"}.mdi-battery-charging-wireless:before{content:"󰠇"}.mdi-battery-charging-wireless-10:before{content:"󰠈"}.mdi-battery-charging-wireless-20:before{content:"󰠉"}.mdi-battery-charging-wireless-30:before{content:"󰠊"}.mdi-battery-charging-wireless-40:before{content:"󰠋"}.mdi-battery-charging-wireless-50:before{content:"󰠌"}.mdi-battery-charging-wireless-60:before{content:"󰠍"}.mdi-battery-charging-wireless-70:before{content:"󰠎"}.mdi-battery-charging-wireless-80:before{content:"󰠏"}.mdi-battery-charging-wireless-90:before{content:"󰠐"}.mdi-battery-charging-wireless-alert:before{content:"󰠑"}.mdi-battery-charging-wireless-outline:before{content:"󰠒"}.mdi-battery-check:before{content:"󱟢"}.mdi-battery-check-outline:before{content:"󱟣"}.mdi-battery-clock:before{content:"󱧥"}.mdi-battery-clock-outline:before{content:"󱧦"}.mdi-battery-heart:before{content:"󱈏"}.mdi-battery-heart-outline:before{content:"󱈐"}.mdi-battery-heart-variant:before{content:"󱈑"}.mdi-battery-high:before{content:"󱊣"}.mdi-battery-lock:before{content:"󱞜"}.mdi-battery-lock-open:before{content:"󱞝"}.mdi-battery-low:before{content:"󱊡"}.mdi-battery-medium:before{content:"󱊢"}.mdi-battery-minus:before{content:"󱟤"}.mdi-battery-minus-outline:before{content:"󱟥"}.mdi-battery-minus-variant:before{content:"󰂌"}.mdi-battery-negative:before{content:"󰂍"}.mdi-battery-off:before{content:"󱉝"}.mdi-battery-off-outline:before{content:"󱉞"}.mdi-battery-outline:before{content:"󰂎"}.mdi-battery-plus:before{content:"󱟦"}.mdi-battery-plus-outline:before{content:"󱟧"}.mdi-battery-plus-variant:before{content:"󰂏"}.mdi-battery-positive:before{content:"󰂐"}.mdi-battery-remove:before{content:"󱟨"}.mdi-battery-remove-outline:before{content:"󱟩"}.mdi-battery-sync:before{content:"󱠴"}.mdi-battery-sync-outline:before{content:"󱠵"}.mdi-battery-unknown:before{content:"󰂑"}.mdi-battery-unknown-bluetooth:before{content:"󰥊"}.mdi-beach:before{content:"󰂒"}.mdi-beaker:before{content:"󰳪"}.mdi-beaker-alert:before{content:"󱈩"}.mdi-beaker-alert-outline:before{content:"󱈪"}.mdi-beaker-check:before{content:"󱈫"}.mdi-beaker-check-outline:before{content:"󱈬"}.mdi-beaker-minus:before{content:"󱈭"}.mdi-beaker-minus-outline:before{content:"󱈮"}.mdi-beaker-outline:before{content:"󰚐"}.mdi-beaker-plus:before{content:"󱈯"}.mdi-beaker-plus-outline:before{content:"󱈰"}.mdi-beaker-question:before{content:"󱈱"}.mdi-beaker-question-outline:before{content:"󱈲"}.mdi-beaker-remove:before{content:"󱈳"}.mdi-beaker-remove-outline:before{content:"󱈴"}.mdi-bed:before{content:"󰋣"}.mdi-bed-clock:before{content:"󱮔"}.mdi-bed-double:before{content:"󰿔"}.mdi-bed-double-outline:before{content:"󰿓"}.mdi-bed-empty:before{content:"󰢠"}.mdi-bed-king:before{content:"󰿒"}.mdi-bed-king-outline:before{content:"󰿑"}.mdi-bed-outline:before{content:"󰂙"}.mdi-bed-queen:before{content:"󰿐"}.mdi-bed-queen-outline:before{content:"󰿛"}.mdi-bed-single:before{content:"󱁭"}.mdi-bed-single-outline:before{content:"󱁮"}.mdi-bee:before{content:"󰾡"}.mdi-bee-flower:before{content:"󰾢"}.mdi-beehive-off-outline:before{content:"󱏭"}.mdi-beehive-outline:before{content:"󱃎"}.mdi-beekeeper:before{content:"󱓢"}.mdi-beer:before{content:"󰂘"}.mdi-beer-outline:before{content:"󱌌"}.mdi-bell:before{content:"󰂚"}.mdi-bell-alert:before{content:"󰵙"}.mdi-bell-alert-outline:before{content:"󰺁"}.mdi-bell-badge:before{content:"󱅫"}.mdi-bell-badge-outline:before{content:"󰅸"}.mdi-bell-cancel:before{content:"󱏧"}.mdi-bell-cancel-outline:before{content:"󱏨"}.mdi-bell-check:before{content:"󱇥"}.mdi-bell-check-outline:before{content:"󱇦"}.mdi-bell-circle:before{content:"󰵚"}.mdi-bell-circle-outline:before{content:"󰵛"}.mdi-bell-cog:before{content:"󱨩"}.mdi-bell-cog-outline:before{content:"󱨪"}.mdi-bell-minus:before{content:"󱏩"}.mdi-bell-minus-outline:before{content:"󱏪"}.mdi-bell-off:before{content:"󰂛"}.mdi-bell-off-outline:before{content:"󰪑"}.mdi-bell-outline:before{content:"󰂜"}.mdi-bell-plus:before{content:"󰂝"}.mdi-bell-plus-outline:before{content:"󰪒"}.mdi-bell-remove:before{content:"󱏫"}.mdi-bell-remove-outline:before{content:"󱏬"}.mdi-bell-ring:before{content:"󰂞"}.mdi-bell-ring-outline:before{content:"󰂟"}.mdi-bell-sleep:before{content:"󰂠"}.mdi-bell-sleep-outline:before{content:"󰪓"}.mdi-bench:before{content:"󱰡"}.mdi-bench-back:before{content:"󱰢"}.mdi-beta:before{content:"󰂡"}.mdi-betamax:before{content:"󰧋"}.mdi-biathlon:before{content:"󰸔"}.mdi-bicycle:before{content:"󱂜"}.mdi-bicycle-basket:before{content:"󱈵"}.mdi-bicycle-cargo:before{content:"󱢜"}.mdi-bicycle-electric:before{content:"󱖴"}.mdi-bicycle-penny-farthing:before{content:"󱗩"}.mdi-bike:before{content:"󰂣"}.mdi-bike-fast:before{content:"󱄟"}.mdi-bike-pedal:before{content:"󱰣"}.mdi-bike-pedal-clipless:before{content:"󱰤"}.mdi-bike-pedal-mountain:before{content:"󱰥"}.mdi-billboard:before{content:"󱀐"}.mdi-billiards:before{content:"󰭡"}.mdi-billiards-rack:before{content:"󰭢"}.mdi-binoculars:before{content:"󰂥"}.mdi-bio:before{content:"󰂦"}.mdi-biohazard:before{content:"󰂧"}.mdi-bird:before{content:"󱗆"}.mdi-bitbucket:before{content:"󰂨"}.mdi-bitcoin:before{content:"󰠓"}.mdi-black-mesa:before{content:"󰂩"}.mdi-blender:before{content:"󰳫"}.mdi-blender-outline:before{content:"󱠚"}.mdi-blender-software:before{content:"󰂫"}.mdi-blinds:before{content:"󰂬"}.mdi-blinds-horizontal:before{content:"󱨫"}.mdi-blinds-horizontal-closed:before{content:"󱨬"}.mdi-blinds-open:before{content:"󱀑"}.mdi-blinds-vertical:before{content:"󱨭"}.mdi-blinds-vertical-closed:before{content:"󱨮"}.mdi-block-helper:before{content:"󰂭"}.mdi-blood-bag:before{content:"󰳬"}.mdi-bluetooth:before{content:"󰂯"}.mdi-bluetooth-audio:before{content:"󰂰"}.mdi-bluetooth-connect:before{content:"󰂱"}.mdi-bluetooth-off:before{content:"󰂲"}.mdi-bluetooth-settings:before{content:"󰂳"}.mdi-bluetooth-transfer:before{content:"󰂴"}.mdi-blur:before{content:"󰂵"}.mdi-blur-linear:before{content:"󰂶"}.mdi-blur-off:before{content:"󰂷"}.mdi-blur-radial:before{content:"󰂸"}.mdi-bolt:before{content:"󰶳"}.mdi-bomb:before{content:"󰚑"}.mdi-bomb-off:before{content:"󰛅"}.mdi-bone:before{content:"󰂹"}.mdi-bone-off:before{content:"󱧠"}.mdi-book:before{content:"󰂺"}.mdi-book-account:before{content:"󱎭"}.mdi-book-account-outline:before{content:"󱎮"}.mdi-book-alert:before{content:"󱙼"}.mdi-book-alert-outline:before{content:"󱙽"}.mdi-book-alphabet:before{content:"󰘝"}.mdi-book-arrow-down:before{content:"󱙾"}.mdi-book-arrow-down-outline:before{content:"󱙿"}.mdi-book-arrow-left:before{content:"󱚀"}.mdi-book-arrow-left-outline:before{content:"󱚁"}.mdi-book-arrow-right:before{content:"󱚂"}.mdi-book-arrow-right-outline:before{content:"󱚃"}.mdi-book-arrow-up:before{content:"󱚄"}.mdi-book-arrow-up-outline:before{content:"󱚅"}.mdi-book-cancel:before{content:"󱚆"}.mdi-book-cancel-outline:before{content:"󱚇"}.mdi-book-check:before{content:"󱓳"}.mdi-book-check-outline:before{content:"󱓴"}.mdi-book-clock:before{content:"󱚈"}.mdi-book-clock-outline:before{content:"󱚉"}.mdi-book-cog:before{content:"󱚊"}.mdi-book-cog-outline:before{content:"󱚋"}.mdi-book-cross:before{content:"󰂢"}.mdi-book-edit:before{content:"󱚌"}.mdi-book-edit-outline:before{content:"󱚍"}.mdi-book-education:before{content:"󱛉"}.mdi-book-education-outline:before{content:"󱛊"}.mdi-book-heart:before{content:"󱨝"}.mdi-book-heart-outline:before{content:"󱨞"}.mdi-book-information-variant:before{content:"󱁯"}.mdi-book-lock:before{content:"󰞚"}.mdi-book-lock-open:before{content:"󰞛"}.mdi-book-lock-open-outline:before{content:"󱚎"}.mdi-book-lock-outline:before{content:"󱚏"}.mdi-book-marker:before{content:"󱚐"}.mdi-book-marker-outline:before{content:"󱚑"}.mdi-book-minus:before{content:"󰗙"}.mdi-book-minus-multiple:before{content:"󰪔"}.mdi-book-minus-multiple-outline:before{content:"󰤋"}.mdi-book-minus-outline:before{content:"󱚒"}.mdi-book-multiple:before{content:"󰂻"}.mdi-book-multiple-outline:before{content:"󰐶"}.mdi-book-music:before{content:"󰁧"}.mdi-book-music-outline:before{content:"󱚓"}.mdi-book-off:before{content:"󱚔"}.mdi-book-off-outline:before{content:"󱚕"}.mdi-book-open:before{content:"󰂽"}.mdi-book-open-blank-variant:before{content:"󰂾"}.mdi-book-open-outline:before{content:"󰭣"}.mdi-book-open-page-variant:before{content:"󰗚"}.mdi-book-open-page-variant-outline:before{content:"󱗖"}.mdi-book-open-variant:before{content:"󱓷"}.mdi-book-outline:before{content:"󰭤"}.mdi-book-play:before{content:"󰺂"}.mdi-book-play-outline:before{content:"󰺃"}.mdi-book-plus:before{content:"󰗛"}.mdi-book-plus-multiple:before{content:"󰪕"}.mdi-book-plus-multiple-outline:before{content:"󰫞"}.mdi-book-plus-outline:before{content:"󱚖"}.mdi-book-refresh:before{content:"󱚗"}.mdi-book-refresh-outline:before{content:"󱚘"}.mdi-book-remove:before{content:"󰪗"}.mdi-book-remove-multiple:before{content:"󰪖"}.mdi-book-remove-multiple-outline:before{content:"󰓊"}.mdi-book-remove-outline:before{content:"󱚙"}.mdi-book-search:before{content:"󰺄"}.mdi-book-search-outline:before{content:"󰺅"}.mdi-book-settings:before{content:"󱚚"}.mdi-book-settings-outline:before{content:"󱚛"}.mdi-book-sync:before{content:"󱚜"}.mdi-book-sync-outline:before{content:"󱛈"}.mdi-book-variant:before{content:"󰂿"}.mdi-bookmark:before{content:"󰃀"}.mdi-bookmark-box:before{content:"󱭵"}.mdi-bookmark-box-multiple:before{content:"󱥬"}.mdi-bookmark-box-multiple-outline:before{content:"󱥭"}.mdi-bookmark-box-outline:before{content:"󱭶"}.mdi-bookmark-check:before{content:"󰃁"}.mdi-bookmark-check-outline:before{content:"󱍻"}.mdi-bookmark-minus:before{content:"󰧌"}.mdi-bookmark-minus-outline:before{content:"󰧍"}.mdi-bookmark-multiple:before{content:"󰸕"}.mdi-bookmark-multiple-outline:before{content:"󰸖"}.mdi-bookmark-music:before{content:"󰃂"}.mdi-bookmark-music-outline:before{content:"󱍹"}.mdi-bookmark-off:before{content:"󰧎"}.mdi-bookmark-off-outline:before{content:"󰧏"}.mdi-bookmark-outline:before{content:"󰃃"}.mdi-bookmark-plus:before{content:"󰃅"}.mdi-bookmark-plus-outline:before{content:"󰃄"}.mdi-bookmark-remove:before{content:"󰃆"}.mdi-bookmark-remove-outline:before{content:"󱍺"}.mdi-bookshelf:before{content:"󱉟"}.mdi-boom-gate:before{content:"󰺆"}.mdi-boom-gate-alert:before{content:"󰺇"}.mdi-boom-gate-alert-outline:before{content:"󰺈"}.mdi-boom-gate-arrow-down:before{content:"󰺉"}.mdi-boom-gate-arrow-down-outline:before{content:"󰺊"}.mdi-boom-gate-arrow-up:before{content:"󰺌"}.mdi-boom-gate-arrow-up-outline:before{content:"󰺍"}.mdi-boom-gate-outline:before{content:"󰺋"}.mdi-boom-gate-up:before{content:"󱟹"}.mdi-boom-gate-up-outline:before{content:"󱟺"}.mdi-boombox:before{content:"󰗜"}.mdi-boomerang:before{content:"󱃏"}.mdi-bootstrap:before{content:"󰛆"}.mdi-border-all:before{content:"󰃇"}.mdi-border-all-variant:before{content:"󰢡"}.mdi-border-bottom:before{content:"󰃈"}.mdi-border-bottom-variant:before{content:"󰢢"}.mdi-border-color:before{content:"󰃉"}.mdi-border-horizontal:before{content:"󰃊"}.mdi-border-inside:before{content:"󰃋"}.mdi-border-left:before{content:"󰃌"}.mdi-border-left-variant:before{content:"󰢣"}.mdi-border-none:before{content:"󰃍"}.mdi-border-none-variant:before{content:"󰢤"}.mdi-border-outside:before{content:"󰃎"}.mdi-border-radius:before{content:"󱫴"}.mdi-border-right:before{content:"󰃏"}.mdi-border-right-variant:before{content:"󰢥"}.mdi-border-style:before{content:"󰃐"}.mdi-border-top:before{content:"󰃑"}.mdi-border-top-variant:before{content:"󰢦"}.mdi-border-vertical:before{content:"󰃒"}.mdi-bottle-soda:before{content:"󱁰"}.mdi-bottle-soda-classic:before{content:"󱁱"}.mdi-bottle-soda-classic-outline:before{content:"󱍣"}.mdi-bottle-soda-outline:before{content:"󱁲"}.mdi-bottle-tonic:before{content:"󱄮"}.mdi-bottle-tonic-outline:before{content:"󱄯"}.mdi-bottle-tonic-plus:before{content:"󱄰"}.mdi-bottle-tonic-plus-outline:before{content:"󱄱"}.mdi-bottle-tonic-skull:before{content:"󱄲"}.mdi-bottle-tonic-skull-outline:before{content:"󱄳"}.mdi-bottle-wine:before{content:"󰡔"}.mdi-bottle-wine-outline:before{content:"󱌐"}.mdi-bow-arrow:before{content:"󱡁"}.mdi-bow-tie:before{content:"󰙸"}.mdi-bowl:before{content:"󰊎"}.mdi-bowl-mix:before{content:"󰘗"}.mdi-bowl-mix-outline:before{content:"󰋤"}.mdi-bowl-outline:before{content:"󰊩"}.mdi-bowling:before{content:"󰃓"}.mdi-box:before{content:"󰃔"}.mdi-box-cutter:before{content:"󰃕"}.mdi-box-cutter-off:before{content:"󰭊"}.mdi-box-shadow:before{content:"󰘷"}.mdi-boxing-glove:before{content:"󰭥"}.mdi-braille:before{content:"󰧐"}.mdi-brain:before{content:"󰧑"}.mdi-bread-slice:before{content:"󰳮"}.mdi-bread-slice-outline:before{content:"󰳯"}.mdi-bridge:before{content:"󰘘"}.mdi-briefcase:before{content:"󰃖"}.mdi-briefcase-account:before{content:"󰳰"}.mdi-briefcase-account-outline:before{content:"󰳱"}.mdi-briefcase-arrow-left-right:before{content:"󱪍"}.mdi-briefcase-arrow-left-right-outline:before{content:"󱪎"}.mdi-briefcase-arrow-up-down:before{content:"󱪏"}.mdi-briefcase-arrow-up-down-outline:before{content:"󱪐"}.mdi-briefcase-check:before{content:"󰃗"}.mdi-briefcase-check-outline:before{content:"󱌞"}.mdi-briefcase-clock:before{content:"󱃐"}.mdi-briefcase-clock-outline:before{content:"󱃑"}.mdi-briefcase-download:before{content:"󰃘"}.mdi-briefcase-download-outline:before{content:"󰰽"}.mdi-briefcase-edit:before{content:"󰪘"}.mdi-briefcase-edit-outline:before{content:"󰰾"}.mdi-briefcase-eye:before{content:"󱟙"}.mdi-briefcase-eye-outline:before{content:"󱟚"}.mdi-briefcase-minus:before{content:"󰨪"}.mdi-briefcase-minus-outline:before{content:"󰰿"}.mdi-briefcase-off:before{content:"󱙘"}.mdi-briefcase-off-outline:before{content:"󱙙"}.mdi-briefcase-outline:before{content:"󰠔"}.mdi-briefcase-plus:before{content:"󰨫"}.mdi-briefcase-plus-outline:before{content:"󰱀"}.mdi-briefcase-remove:before{content:"󰨬"}.mdi-briefcase-remove-outline:before{content:"󰱁"}.mdi-briefcase-search:before{content:"󰨭"}.mdi-briefcase-search-outline:before{content:"󰱂"}.mdi-briefcase-upload:before{content:"󰃙"}.mdi-briefcase-upload-outline:before{content:"󰱃"}.mdi-briefcase-variant:before{content:"󱒔"}.mdi-briefcase-variant-off:before{content:"󱙚"}.mdi-briefcase-variant-off-outline:before{content:"󱙛"}.mdi-briefcase-variant-outline:before{content:"󱒕"}.mdi-brightness-1:before{content:"󰃚"}.mdi-brightness-2:before{content:"󰃛"}.mdi-brightness-3:before{content:"󰃜"}.mdi-brightness-4:before{content:"󰃝"}.mdi-brightness-5:before{content:"󰃞"}.mdi-brightness-6:before{content:"󰃟"}.mdi-brightness-7:before{content:"󰃠"}.mdi-brightness-auto:before{content:"󰃡"}.mdi-brightness-percent:before{content:"󰳲"}.mdi-broadcast:before{content:"󱜠"}.mdi-broadcast-off:before{content:"󱜡"}.mdi-broom:before{content:"󰃢"}.mdi-brush:before{content:"󰃣"}.mdi-brush-off:before{content:"󱝱"}.mdi-brush-outline:before{content:"󱨍"}.mdi-brush-variant:before{content:"󱠓"}.mdi-bucket:before{content:"󱐕"}.mdi-bucket-outline:before{content:"󱐖"}.mdi-buffet:before{content:"󰕸"}.mdi-bug:before{content:"󰃤"}.mdi-bug-check:before{content:"󰨮"}.mdi-bug-check-outline:before{content:"󰨯"}.mdi-bug-outline:before{content:"󰨰"}.mdi-bug-pause:before{content:"󱫵"}.mdi-bug-pause-outline:before{content:"󱫶"}.mdi-bug-play:before{content:"󱫷"}.mdi-bug-play-outline:before{content:"󱫸"}.mdi-bug-stop:before{content:"󱫹"}.mdi-bug-stop-outline:before{content:"󱫺"}.mdi-bugle:before{content:"󰶴"}.mdi-bulkhead-light:before{content:"󱨯"}.mdi-bulldozer:before{content:"󰬢"}.mdi-bullet:before{content:"󰳳"}.mdi-bulletin-board:before{content:"󰃥"}.mdi-bullhorn:before{content:"󰃦"}.mdi-bullhorn-outline:before{content:"󰬣"}.mdi-bullhorn-variant:before{content:"󱥮"}.mdi-bullhorn-variant-outline:before{content:"󱥯"}.mdi-bullseye:before{content:"󰗝"}.mdi-bullseye-arrow:before{content:"󰣉"}.mdi-bulma:before{content:"󱋧"}.mdi-bunk-bed:before{content:"󱌂"}.mdi-bunk-bed-outline:before{content:"󰂗"}.mdi-bus:before{content:"󰃧"}.mdi-bus-alert:before{content:"󰪙"}.mdi-bus-articulated-end:before{content:"󰞜"}.mdi-bus-articulated-front:before{content:"󰞝"}.mdi-bus-clock:before{content:"󰣊"}.mdi-bus-double-decker:before{content:"󰞞"}.mdi-bus-electric:before{content:"󱤝"}.mdi-bus-marker:before{content:"󱈒"}.mdi-bus-multiple:before{content:"󰼿"}.mdi-bus-school:before{content:"󰞟"}.mdi-bus-side:before{content:"󰞠"}.mdi-bus-stop:before{content:"󱀒"}.mdi-bus-stop-covered:before{content:"󱀓"}.mdi-bus-stop-uncovered:before{content:"󱀔"}.mdi-butterfly:before{content:"󱖉"}.mdi-butterfly-outline:before{content:"󱖊"}.mdi-button-cursor:before{content:"󱭏"}.mdi-button-pointer:before{content:"󱭐"}.mdi-cabin-a-frame:before{content:"󱢌"}.mdi-cable-data:before{content:"󱎔"}.mdi-cached:before{content:"󰃨"}.mdi-cactus:before{content:"󰶵"}.mdi-cake:before{content:"󰃩"}.mdi-cake-layered:before{content:"󰃪"}.mdi-cake-variant:before{content:"󰃫"}.mdi-cake-variant-outline:before{content:"󱟰"}.mdi-calculator:before{content:"󰃬"}.mdi-calculator-variant:before{content:"󰪚"}.mdi-calculator-variant-outline:before{content:"󱖦"}.mdi-calendar:before{content:"󰃭"}.mdi-calendar-account:before{content:"󰻗"}.mdi-calendar-account-outline:before{content:"󰻘"}.mdi-calendar-alert:before{content:"󰨱"}.mdi-calendar-alert-outline:before{content:"󱭢"}.mdi-calendar-arrow-left:before{content:"󱄴"}.mdi-calendar-arrow-right:before{content:"󱄵"}.mdi-calendar-badge:before{content:"󱮝"}.mdi-calendar-badge-outline:before{content:"󱮞"}.mdi-calendar-blank:before{content:"󰃮"}.mdi-calendar-blank-multiple:before{content:"󱁳"}.mdi-calendar-blank-outline:before{content:"󰭦"}.mdi-calendar-check:before{content:"󰃯"}.mdi-calendar-check-outline:before{content:"󰱄"}.mdi-calendar-clock:before{content:"󰃰"}.mdi-calendar-clock-outline:before{content:"󱛡"}.mdi-calendar-collapse-horizontal:before{content:"󱢝"}.mdi-calendar-collapse-horizontal-outline:before{content:"󱭣"}.mdi-calendar-cursor:before{content:"󱕻"}.mdi-calendar-cursor-outline:before{content:"󱭤"}.mdi-calendar-edit:before{content:"󰢧"}.mdi-calendar-edit-outline:before{content:"󱭥"}.mdi-calendar-end:before{content:"󱙬"}.mdi-calendar-end-outline:before{content:"󱭦"}.mdi-calendar-expand-horizontal:before{content:"󱢞"}.mdi-calendar-expand-horizontal-outline:before{content:"󱭧"}.mdi-calendar-export:before{content:"󰬤"}.mdi-calendar-export-outline:before{content:"󱭨"}.mdi-calendar-filter:before{content:"󱨲"}.mdi-calendar-filter-outline:before{content:"󱨳"}.mdi-calendar-heart:before{content:"󰧒"}.mdi-calendar-heart-outline:before{content:"󱭩"}.mdi-calendar-import:before{content:"󰬥"}.mdi-calendar-import-outline:before{content:"󱭪"}.mdi-calendar-lock:before{content:"󱙁"}.mdi-calendar-lock-open:before{content:"󱭛"}.mdi-calendar-lock-open-outline:before{content:"󱭜"}.mdi-calendar-lock-outline:before{content:"󱙂"}.mdi-calendar-minus:before{content:"󰵜"}.mdi-calendar-minus-outline:before{content:"󱭫"}.mdi-calendar-month:before{content:"󰸗"}.mdi-calendar-month-outline:before{content:"󰸘"}.mdi-calendar-multiple:before{content:"󰃱"}.mdi-calendar-multiple-check:before{content:"󰃲"}.mdi-calendar-multiselect:before{content:"󰨲"}.mdi-calendar-multiselect-outline:before{content:"󱭕"}.mdi-calendar-outline:before{content:"󰭧"}.mdi-calendar-plus:before{content:"󰃳"}.mdi-calendar-plus-outline:before{content:"󱭬"}.mdi-calendar-question:before{content:"󰚒"}.mdi-calendar-question-outline:before{content:"󱭭"}.mdi-calendar-range:before{content:"󰙹"}.mdi-calendar-range-outline:before{content:"󰭨"}.mdi-calendar-refresh:before{content:"󰇡"}.mdi-calendar-refresh-outline:before{content:"󰈃"}.mdi-calendar-remove:before{content:"󰃴"}.mdi-calendar-remove-outline:before{content:"󰱅"}.mdi-calendar-search:before{content:"󰥌"}.mdi-calendar-search-outline:before{content:"󱭮"}.mdi-calendar-star:before{content:"󰧓"}.mdi-calendar-star-four-points:before{content:"󱰟"}.mdi-calendar-star-outline:before{content:"󱭓"}.mdi-calendar-start:before{content:"󱙭"}.mdi-calendar-start-outline:before{content:"󱭯"}.mdi-calendar-sync:before{content:"󰺎"}.mdi-calendar-sync-outline:before{content:"󰺏"}.mdi-calendar-text:before{content:"󰃵"}.mdi-calendar-text-outline:before{content:"󰱆"}.mdi-calendar-today:before{content:"󰃶"}.mdi-calendar-today-outline:before{content:"󱨰"}.mdi-calendar-week:before{content:"󰨳"}.mdi-calendar-week-begin:before{content:"󰨴"}.mdi-calendar-week-begin-outline:before{content:"󱨱"}.mdi-calendar-week-outline:before{content:"󱨴"}.mdi-calendar-weekend:before{content:"󰻙"}.mdi-calendar-weekend-outline:before{content:"󰻚"}.mdi-call-made:before{content:"󰃷"}.mdi-call-merge:before{content:"󰃸"}.mdi-call-missed:before{content:"󰃹"}.mdi-call-received:before{content:"󰃺"}.mdi-call-split:before{content:"󰃻"}.mdi-camcorder:before{content:"󰃼"}.mdi-camcorder-off:before{content:"󰃿"}.mdi-camera:before{content:"󰄀"}.mdi-camera-account:before{content:"󰣋"}.mdi-camera-burst:before{content:"󰚓"}.mdi-camera-control:before{content:"󰭩"}.mdi-camera-document:before{content:"󱡱"}.mdi-camera-document-off:before{content:"󱡲"}.mdi-camera-enhance:before{content:"󰄁"}.mdi-camera-enhance-outline:before{content:"󰭪"}.mdi-camera-flip:before{content:"󱗙"}.mdi-camera-flip-outline:before{content:"󱗚"}.mdi-camera-front:before{content:"󰄂"}.mdi-camera-front-variant:before{content:"󰄃"}.mdi-camera-gopro:before{content:"󰞡"}.mdi-camera-image:before{content:"󰣌"}.mdi-camera-iris:before{content:"󰄄"}.mdi-camera-lock:before{content:"󱨔"}.mdi-camera-lock-open:before{content:"󱰍"}.mdi-camera-lock-open-outline:before{content:"󱰎"}.mdi-camera-lock-outline:before{content:"󱨕"}.mdi-camera-marker:before{content:"󱦧"}.mdi-camera-marker-outline:before{content:"󱦨"}.mdi-camera-metering-center:before{content:"󰞢"}.mdi-camera-metering-matrix:before{content:"󰞣"}.mdi-camera-metering-partial:before{content:"󰞤"}.mdi-camera-metering-spot:before{content:"󰞥"}.mdi-camera-off:before{content:"󰗟"}.mdi-camera-off-outline:before{content:"󱦿"}.mdi-camera-outline:before{content:"󰵝"}.mdi-camera-party-mode:before{content:"󰄅"}.mdi-camera-plus:before{content:"󰻛"}.mdi-camera-plus-outline:before{content:"󰻜"}.mdi-camera-rear:before{content:"󰄆"}.mdi-camera-rear-variant:before{content:"󰄇"}.mdi-camera-retake:before{content:"󰸙"}.mdi-camera-retake-outline:before{content:"󰸚"}.mdi-camera-switch:before{content:"󰄈"}.mdi-camera-switch-outline:before{content:"󰡊"}.mdi-camera-timer:before{content:"󰄉"}.mdi-camera-wireless:before{content:"󰶶"}.mdi-camera-wireless-outline:before{content:"󰶷"}.mdi-campfire:before{content:"󰻝"}.mdi-cancel:before{content:"󰜺"}.mdi-candelabra:before{content:"󱟒"}.mdi-candelabra-fire:before{content:"󱟓"}.mdi-candle:before{content:"󰗢"}.mdi-candy:before{content:"󱥰"}.mdi-candy-off:before{content:"󱥱"}.mdi-candy-off-outline:before{content:"󱥲"}.mdi-candy-outline:before{content:"󱥳"}.mdi-candycane:before{content:"󰄊"}.mdi-cannabis:before{content:"󰞦"}.mdi-cannabis-off:before{content:"󱙮"}.mdi-caps-lock:before{content:"󰪛"}.mdi-car:before{content:"󰄋"}.mdi-car-2-plus:before{content:"󱀕"}.mdi-car-3-plus:before{content:"󱀖"}.mdi-car-arrow-left:before{content:"󱎲"}.mdi-car-arrow-right:before{content:"󱎳"}.mdi-car-back:before{content:"󰸛"}.mdi-car-battery:before{content:"󰄌"}.mdi-car-brake-abs:before{content:"󰱇"}.mdi-car-brake-alert:before{content:"󰱈"}.mdi-car-brake-fluid-level:before{content:"󱤉"}.mdi-car-brake-hold:before{content:"󰵞"}.mdi-car-brake-low-pressure:before{content:"󱤊"}.mdi-car-brake-parking:before{content:"󰵟"}.mdi-car-brake-retarder:before{content:"󱀗"}.mdi-car-brake-temperature:before{content:"󱤋"}.mdi-car-brake-worn-linings:before{content:"󱤌"}.mdi-car-child-seat:before{content:"󰾣"}.mdi-car-clock:before{content:"󱥴"}.mdi-car-clutch:before{content:"󱀘"}.mdi-car-cog:before{content:"󱏌"}.mdi-car-connected:before{content:"󰄍"}.mdi-car-convertible:before{content:"󰞧"}.mdi-car-coolant-level:before{content:"󱀙"}.mdi-car-cruise-control:before{content:"󰵠"}.mdi-car-defrost-front:before{content:"󰵡"}.mdi-car-defrost-rear:before{content:"󰵢"}.mdi-car-door:before{content:"󰭫"}.mdi-car-door-lock:before{content:"󱂝"}.mdi-car-electric:before{content:"󰭬"}.mdi-car-electric-outline:before{content:"󱖵"}.mdi-car-emergency:before{content:"󱘏"}.mdi-car-esp:before{content:"󰱉"}.mdi-car-estate:before{content:"󰞨"}.mdi-car-hatchback:before{content:"󰞩"}.mdi-car-info:before{content:"󱆾"}.mdi-car-key:before{content:"󰭭"}.mdi-car-lifted-pickup:before{content:"󱔭"}.mdi-car-light-alert:before{content:"󱤍"}.mdi-car-light-dimmed:before{content:"󰱊"}.mdi-car-light-fog:before{content:"󰱋"}.mdi-car-light-high:before{content:"󰱌"}.mdi-car-limousine:before{content:"󰣍"}.mdi-car-multiple:before{content:"󰭮"}.mdi-car-off:before{content:"󰸜"}.mdi-car-outline:before{content:"󱓭"}.mdi-car-parking-lights:before{content:"󰵣"}.mdi-car-pickup:before{content:"󰞪"}.mdi-car-search:before{content:"󱮍"}.mdi-car-search-outline:before{content:"󱮎"}.mdi-car-seat:before{content:"󰾤"}.mdi-car-seat-cooler:before{content:"󰾥"}.mdi-car-seat-heater:before{content:"󰾦"}.mdi-car-select:before{content:"󱡹"}.mdi-car-settings:before{content:"󱏍"}.mdi-car-shift-pattern:before{content:"󰽀"}.mdi-car-side:before{content:"󰞫"}.mdi-car-speed-limiter:before{content:"󱤎"}.mdi-car-sports:before{content:"󰞬"}.mdi-car-tire-alert:before{content:"󰱍"}.mdi-car-traction-control:before{content:"󰵤"}.mdi-car-turbocharger:before{content:"󱀚"}.mdi-car-wash:before{content:"󰄎"}.mdi-car-windshield:before{content:"󱀛"}.mdi-car-windshield-outline:before{content:"󱀜"}.mdi-car-wireless:before{content:"󱡸"}.mdi-car-wrench:before{content:"󱠔"}.mdi-carabiner:before{content:"󱓀"}.mdi-caravan:before{content:"󰞭"}.mdi-card:before{content:"󰭯"}.mdi-card-account-details:before{content:"󰗒"}.mdi-card-account-details-outline:before{content:"󰶫"}.mdi-card-account-details-star:before{content:"󰊣"}.mdi-card-account-details-star-outline:before{content:"󰛛"}.mdi-card-account-mail:before{content:"󰆎"}.mdi-card-account-mail-outline:before{content:"󰺘"}.mdi-card-account-phone:before{content:"󰺙"}.mdi-card-account-phone-outline:before{content:"󰺚"}.mdi-card-bulleted:before{content:"󰭰"}.mdi-card-bulleted-off:before{content:"󰭱"}.mdi-card-bulleted-off-outline:before{content:"󰭲"}.mdi-card-bulleted-outline:before{content:"󰭳"}.mdi-card-bulleted-settings:before{content:"󰭴"}.mdi-card-bulleted-settings-outline:before{content:"󰭵"}.mdi-card-minus:before{content:"󱘀"}.mdi-card-minus-outline:before{content:"󱘁"}.mdi-card-multiple:before{content:"󱟱"}.mdi-card-multiple-outline:before{content:"󱟲"}.mdi-card-off:before{content:"󱘂"}.mdi-card-off-outline:before{content:"󱘃"}.mdi-card-outline:before{content:"󰭶"}.mdi-card-plus:before{content:"󱇿"}.mdi-card-plus-outline:before{content:"󱈀"}.mdi-card-remove:before{content:"󱘄"}.mdi-card-remove-outline:before{content:"󱘅"}.mdi-card-search:before{content:"󱁴"}.mdi-card-search-outline:before{content:"󱁵"}.mdi-card-text:before{content:"󰭷"}.mdi-card-text-outline:before{content:"󰭸"}.mdi-cards:before{content:"󰘸"}.mdi-cards-club:before{content:"󰣎"}.mdi-cards-club-outline:before{content:"󱢟"}.mdi-cards-diamond:before{content:"󰣏"}.mdi-cards-diamond-outline:before{content:"󱀝"}.mdi-cards-heart:before{content:"󰣐"}.mdi-cards-heart-outline:before{content:"󱢠"}.mdi-cards-outline:before{content:"󰘹"}.mdi-cards-playing:before{content:"󱢡"}.mdi-cards-playing-club:before{content:"󱢢"}.mdi-cards-playing-club-multiple:before{content:"󱢣"}.mdi-cards-playing-club-multiple-outline:before{content:"󱢤"}.mdi-cards-playing-club-outline:before{content:"󱢥"}.mdi-cards-playing-diamond:before{content:"󱢦"}.mdi-cards-playing-diamond-multiple:before{content:"󱢧"}.mdi-cards-playing-diamond-multiple-outline:before{content:"󱢨"}.mdi-cards-playing-diamond-outline:before{content:"󱢩"}.mdi-cards-playing-heart:before{content:"󱢪"}.mdi-cards-playing-heart-multiple:before{content:"󱢫"}.mdi-cards-playing-heart-multiple-outline:before{content:"󱢬"}.mdi-cards-playing-heart-outline:before{content:"󱢭"}.mdi-cards-playing-outline:before{content:"󰘺"}.mdi-cards-playing-spade:before{content:"󱢮"}.mdi-cards-playing-spade-multiple:before{content:"󱢯"}.mdi-cards-playing-spade-multiple-outline:before{content:"󱢰"}.mdi-cards-playing-spade-outline:before{content:"󱢱"}.mdi-cards-spade:before{content:"󰣑"}.mdi-cards-spade-outline:before{content:"󱢲"}.mdi-cards-variant:before{content:"󰛇"}.mdi-carrot:before{content:"󰄏"}.mdi-cart:before{content:"󰄐"}.mdi-cart-arrow-down:before{content:"󰵦"}.mdi-cart-arrow-right:before{content:"󰱎"}.mdi-cart-arrow-up:before{content:"󰵧"}.mdi-cart-check:before{content:"󱗪"}.mdi-cart-heart:before{content:"󱣠"}.mdi-cart-minus:before{content:"󰵨"}.mdi-cart-off:before{content:"󰙫"}.mdi-cart-outline:before{content:"󰄑"}.mdi-cart-percent:before{content:"󱮮"}.mdi-cart-plus:before{content:"󰄒"}.mdi-cart-remove:before{content:"󰵩"}.mdi-cart-variant:before{content:"󱗫"}.mdi-case-sensitive-alt:before{content:"󰄓"}.mdi-cash:before{content:"󰄔"}.mdi-cash-100:before{content:"󰄕"}.mdi-cash-check:before{content:"󱓮"}.mdi-cash-clock:before{content:"󱪑"}.mdi-cash-fast:before{content:"󱡜"}.mdi-cash-lock:before{content:"󱓪"}.mdi-cash-lock-open:before{content:"󱓫"}.mdi-cash-marker:before{content:"󰶸"}.mdi-cash-minus:before{content:"󱉠"}.mdi-cash-multiple:before{content:"󰄖"}.mdi-cash-off:before{content:"󱱹"}.mdi-cash-plus:before{content:"󱉡"}.mdi-cash-refund:before{content:"󰪜"}.mdi-cash-register:before{content:"󰳴"}.mdi-cash-remove:before{content:"󱉢"}.mdi-cash-sync:before{content:"󱪒"}.mdi-cassette:before{content:"󰧔"}.mdi-cast:before{content:"󰄘"}.mdi-cast-audio:before{content:"󱀞"}.mdi-cast-audio-variant:before{content:"󱝉"}.mdi-cast-connected:before{content:"󰄙"}.mdi-cast-education:before{content:"󰸝"}.mdi-cast-off:before{content:"󰞊"}.mdi-cast-variant:before{content:"󰀟"}.mdi-castle:before{content:"󰄚"}.mdi-cat:before{content:"󰄛"}.mdi-cctv:before{content:"󰞮"}.mdi-cctv-off:before{content:"󱡟"}.mdi-ceiling-fan:before{content:"󱞗"}.mdi-ceiling-fan-light:before{content:"󱞘"}.mdi-ceiling-light:before{content:"󰝩"}.mdi-ceiling-light-multiple:before{content:"󱣝"}.mdi-ceiling-light-multiple-outline:before{content:"󱣞"}.mdi-ceiling-light-outline:before{content:"󱟇"}.mdi-cellphone:before{content:"󰄜"}.mdi-cellphone-arrow-down:before{content:"󰧕"}.mdi-cellphone-arrow-down-variant:before{content:"󱧅"}.mdi-cellphone-basic:before{content:"󰄞"}.mdi-cellphone-charging:before{content:"󱎗"}.mdi-cellphone-check:before{content:"󱟽"}.mdi-cellphone-cog:before{content:"󰥑"}.mdi-cellphone-dock:before{content:"󰄟"}.mdi-cellphone-information:before{content:"󰽁"}.mdi-cellphone-key:before{content:"󰥎"}.mdi-cellphone-link:before{content:"󰄡"}.mdi-cellphone-link-off:before{content:"󰄢"}.mdi-cellphone-lock:before{content:"󰥏"}.mdi-cellphone-marker:before{content:"󱠺"}.mdi-cellphone-message:before{content:"󰣓"}.mdi-cellphone-message-off:before{content:"󱃒"}.mdi-cellphone-nfc:before{content:"󰺐"}.mdi-cellphone-nfc-off:before{content:"󱋘"}.mdi-cellphone-off:before{content:"󰥐"}.mdi-cellphone-play:before{content:"󱀟"}.mdi-cellphone-remove:before{content:"󰥍"}.mdi-cellphone-screenshot:before{content:"󰨵"}.mdi-cellphone-settings:before{content:"󰄣"}.mdi-cellphone-sound:before{content:"󰥒"}.mdi-cellphone-text:before{content:"󰣒"}.mdi-cellphone-wireless:before{content:"󰠕"}.mdi-centos:before{content:"󱄚"}.mdi-certificate:before{content:"󰄤"}.mdi-certificate-outline:before{content:"󱆈"}.mdi-chair-rolling:before{content:"󰽈"}.mdi-chair-school:before{content:"󰄥"}.mdi-chandelier:before{content:"󱞓"}.mdi-charity:before{content:"󰱏"}.mdi-chart-arc:before{content:"󰄦"}.mdi-chart-areaspline:before{content:"󰄧"}.mdi-chart-areaspline-variant:before{content:"󰺑"}.mdi-chart-bar:before{content:"󰄨"}.mdi-chart-bar-stacked:before{content:"󰝪"}.mdi-chart-bell-curve:before{content:"󰱐"}.mdi-chart-bell-curve-cumulative:before{content:"󰾧"}.mdi-chart-box:before{content:"󱕍"}.mdi-chart-box-outline:before{content:"󱕎"}.mdi-chart-box-plus-outline:before{content:"󱕏"}.mdi-chart-bubble:before{content:"󰗣"}.mdi-chart-donut:before{content:"󰞯"}.mdi-chart-donut-variant:before{content:"󰞰"}.mdi-chart-gantt:before{content:"󰙬"}.mdi-chart-histogram:before{content:"󰄩"}.mdi-chart-line:before{content:"󰄪"}.mdi-chart-line-stacked:before{content:"󰝫"}.mdi-chart-line-variant:before{content:"󰞱"}.mdi-chart-multiline:before{content:"󰣔"}.mdi-chart-multiple:before{content:"󱈓"}.mdi-chart-pie:before{content:"󰄫"}.mdi-chart-pie-outline:before{content:"󱯟"}.mdi-chart-ppf:before{content:"󱎀"}.mdi-chart-sankey:before{content:"󱇟"}.mdi-chart-sankey-variant:before{content:"󱇠"}.mdi-chart-scatter-plot:before{content:"󰺒"}.mdi-chart-scatter-plot-hexbin:before{content:"󰙭"}.mdi-chart-timeline:before{content:"󰙮"}.mdi-chart-timeline-variant:before{content:"󰺓"}.mdi-chart-timeline-variant-shimmer:before{content:"󱖶"}.mdi-chart-tree:before{content:"󰺔"}.mdi-chart-waterfall:before{content:"󱤘"}.mdi-chat:before{content:"󰭹"}.mdi-chat-alert:before{content:"󰭺"}.mdi-chat-alert-outline:before{content:"󱋉"}.mdi-chat-minus:before{content:"󱐐"}.mdi-chat-minus-outline:before{content:"󱐓"}.mdi-chat-outline:before{content:"󰻞"}.mdi-chat-plus:before{content:"󱐏"}.mdi-chat-plus-outline:before{content:"󱐒"}.mdi-chat-processing:before{content:"󰭻"}.mdi-chat-processing-outline:before{content:"󱋊"}.mdi-chat-question:before{content:"󱜸"}.mdi-chat-question-outline:before{content:"󱜹"}.mdi-chat-remove:before{content:"󱐑"}.mdi-chat-remove-outline:before{content:"󱐔"}.mdi-chat-sleep:before{content:"󱋑"}.mdi-chat-sleep-outline:before{content:"󱋒"}.mdi-check:before{content:"󰄬"}.mdi-check-all:before{content:"󰄭"}.mdi-check-bold:before{content:"󰸞"}.mdi-check-circle:before{content:"󰗠"}.mdi-check-circle-outline:before{content:"󰗡"}.mdi-check-decagram:before{content:"󰞑"}.mdi-check-decagram-outline:before{content:"󱝀"}.mdi-check-network:before{content:"󰱓"}.mdi-check-network-outline:before{content:"󰱔"}.mdi-check-outline:before{content:"󰡕"}.mdi-check-underline:before{content:"󰸟"}.mdi-check-underline-circle:before{content:"󰸠"}.mdi-check-underline-circle-outline:before{content:"󰸡"}.mdi-checkbook:before{content:"󰪝"}.mdi-checkbook-arrow-left:before{content:"󱰝"}.mdi-checkbook-arrow-right:before{content:"󱰞"}.mdi-checkbox-blank:before{content:"󰄮"}.mdi-checkbox-blank-badge:before{content:"󱅶"}.mdi-checkbox-blank-badge-outline:before{content:"󰄗"}.mdi-checkbox-blank-circle:before{content:"󰄯"}.mdi-checkbox-blank-circle-outline:before{content:"󰄰"}.mdi-checkbox-blank-off:before{content:"󱋬"}.mdi-checkbox-blank-off-outline:before{content:"󱋭"}.mdi-checkbox-blank-outline:before{content:"󰄱"}.mdi-checkbox-intermediate:before{content:"󰡖"}.mdi-checkbox-intermediate-variant:before{content:"󱭔"}.mdi-checkbox-marked:before{content:"󰄲"}.mdi-checkbox-marked-circle:before{content:"󰄳"}.mdi-checkbox-marked-circle-auto-outline:before{content:"󱰦"}.mdi-checkbox-marked-circle-minus-outline:before{content:"󱰧"}.mdi-checkbox-marked-circle-outline:before{content:"󰄴"}.mdi-checkbox-marked-circle-plus-outline:before{content:"󱤧"}.mdi-checkbox-marked-outline:before{content:"󰄵"}.mdi-checkbox-multiple-blank:before{content:"󰄶"}.mdi-checkbox-multiple-blank-circle:before{content:"󰘻"}.mdi-checkbox-multiple-blank-circle-outline:before{content:"󰘼"}.mdi-checkbox-multiple-blank-outline:before{content:"󰄷"}.mdi-checkbox-multiple-marked:before{content:"󰄸"}.mdi-checkbox-multiple-marked-circle:before{content:"󰘽"}.mdi-checkbox-multiple-marked-circle-outline:before{content:"󰘾"}.mdi-checkbox-multiple-marked-outline:before{content:"󰄹"}.mdi-checkbox-multiple-outline:before{content:"󰱑"}.mdi-checkbox-outline:before{content:"󰱒"}.mdi-checkerboard:before{content:"󰄺"}.mdi-checkerboard-minus:before{content:"󱈂"}.mdi-checkerboard-plus:before{content:"󱈁"}.mdi-checkerboard-remove:before{content:"󱈃"}.mdi-cheese:before{content:"󱊹"}.mdi-cheese-off:before{content:"󱏮"}.mdi-chef-hat:before{content:"󰭼"}.mdi-chemical-weapon:before{content:"󰄻"}.mdi-chess-bishop:before{content:"󰡜"}.mdi-chess-king:before{content:"󰡗"}.mdi-chess-knight:before{content:"󰡘"}.mdi-chess-pawn:before{content:"󰡙"}.mdi-chess-queen:before{content:"󰡚"}.mdi-chess-rook:before{content:"󰡛"}.mdi-chevron-double-down:before{content:"󰄼"}.mdi-chevron-double-left:before{content:"󰄽"}.mdi-chevron-double-right:before{content:"󰄾"}.mdi-chevron-double-up:before{content:"󰄿"}.mdi-chevron-down:before{content:"󰅀"}.mdi-chevron-down-box:before{content:"󰧖"}.mdi-chevron-down-box-outline:before{content:"󰧗"}.mdi-chevron-down-circle:before{content:"󰬦"}.mdi-chevron-down-circle-outline:before{content:"󰬧"}.mdi-chevron-left:before{content:"󰅁"}.mdi-chevron-left-box:before{content:"󰧘"}.mdi-chevron-left-box-outline:before{content:"󰧙"}.mdi-chevron-left-circle:before{content:"󰬨"}.mdi-chevron-left-circle-outline:before{content:"󰬩"}.mdi-chevron-right:before{content:"󰅂"}.mdi-chevron-right-box:before{content:"󰧚"}.mdi-chevron-right-box-outline:before{content:"󰧛"}.mdi-chevron-right-circle:before{content:"󰬪"}.mdi-chevron-right-circle-outline:before{content:"󰬫"}.mdi-chevron-triple-down:before{content:"󰶹"}.mdi-chevron-triple-left:before{content:"󰶺"}.mdi-chevron-triple-right:before{content:"󰶻"}.mdi-chevron-triple-up:before{content:"󰶼"}.mdi-chevron-up:before{content:"󰅃"}.mdi-chevron-up-box:before{content:"󰧜"}.mdi-chevron-up-box-outline:before{content:"󰧝"}.mdi-chevron-up-circle:before{content:"󰬬"}.mdi-chevron-up-circle-outline:before{content:"󰬭"}.mdi-chili-alert:before{content:"󱟪"}.mdi-chili-alert-outline:before{content:"󱟫"}.mdi-chili-hot:before{content:"󰞲"}.mdi-chili-hot-outline:before{content:"󱟬"}.mdi-chili-medium:before{content:"󰞳"}.mdi-chili-medium-outline:before{content:"󱟭"}.mdi-chili-mild:before{content:"󰞴"}.mdi-chili-mild-outline:before{content:"󱟮"}.mdi-chili-off:before{content:"󱑧"}.mdi-chili-off-outline:before{content:"󱟯"}.mdi-chip:before{content:"󰘚"}.mdi-church:before{content:"󰅄"}.mdi-church-outline:before{content:"󱬂"}.mdi-cigar:before{content:"󱆉"}.mdi-cigar-off:before{content:"󱐛"}.mdi-circle:before{content:"󰝥"}.mdi-circle-box:before{content:"󱗜"}.mdi-circle-box-outline:before{content:"󱗝"}.mdi-circle-double:before{content:"󰺕"}.mdi-circle-edit-outline:before{content:"󰣕"}.mdi-circle-expand:before{content:"󰺖"}.mdi-circle-half:before{content:"󱎕"}.mdi-circle-half-full:before{content:"󱎖"}.mdi-circle-medium:before{content:"󰧞"}.mdi-circle-multiple:before{content:"󰬸"}.mdi-circle-multiple-outline:before{content:"󰚕"}.mdi-circle-off-outline:before{content:"󱃓"}.mdi-circle-opacity:before{content:"󱡓"}.mdi-circle-outline:before{content:"󰝦"}.mdi-circle-slice-1:before{content:"󰪞"}.mdi-circle-slice-2:before{content:"󰪟"}.mdi-circle-slice-3:before{content:"󰪠"}.mdi-circle-slice-4:before{content:"󰪡"}.mdi-circle-slice-5:before{content:"󰪢"}.mdi-circle-slice-6:before{content:"󰪣"}.mdi-circle-slice-7:before{content:"󰪤"}.mdi-circle-slice-8:before{content:"󰪥"}.mdi-circle-small:before{content:"󰧟"}.mdi-circular-saw:before{content:"󰸢"}.mdi-city:before{content:"󰅆"}.mdi-city-switch:before{content:"󱰨"}.mdi-city-variant:before{content:"󰨶"}.mdi-city-variant-outline:before{content:"󰨷"}.mdi-clipboard:before{content:"󰅇"}.mdi-clipboard-account:before{content:"󰅈"}.mdi-clipboard-account-outline:before{content:"󰱕"}.mdi-clipboard-alert:before{content:"󰅉"}.mdi-clipboard-alert-outline:before{content:"󰳷"}.mdi-clipboard-arrow-down:before{content:"󰅊"}.mdi-clipboard-arrow-down-outline:before{content:"󰱖"}.mdi-clipboard-arrow-left:before{content:"󰅋"}.mdi-clipboard-arrow-left-outline:before{content:"󰳸"}.mdi-clipboard-arrow-right:before{content:"󰳹"}.mdi-clipboard-arrow-right-outline:before{content:"󰳺"}.mdi-clipboard-arrow-up:before{content:"󰱗"}.mdi-clipboard-arrow-up-outline:before{content:"󰱘"}.mdi-clipboard-check:before{content:"󰅎"}.mdi-clipboard-check-multiple:before{content:"󱉣"}.mdi-clipboard-check-multiple-outline:before{content:"󱉤"}.mdi-clipboard-check-outline:before{content:"󰢨"}.mdi-clipboard-clock:before{content:"󱛢"}.mdi-clipboard-clock-outline:before{content:"󱛣"}.mdi-clipboard-edit:before{content:"󱓥"}.mdi-clipboard-edit-outline:before{content:"󱓦"}.mdi-clipboard-file:before{content:"󱉥"}.mdi-clipboard-file-outline:before{content:"󱉦"}.mdi-clipboard-flow:before{content:"󰛈"}.mdi-clipboard-flow-outline:before{content:"󱄗"}.mdi-clipboard-list:before{content:"󱃔"}.mdi-clipboard-list-outline:before{content:"󱃕"}.mdi-clipboard-minus:before{content:"󱘘"}.mdi-clipboard-minus-outline:before{content:"󱘙"}.mdi-clipboard-multiple:before{content:"󱉧"}.mdi-clipboard-multiple-outline:before{content:"󱉨"}.mdi-clipboard-off:before{content:"󱘚"}.mdi-clipboard-off-outline:before{content:"󱘛"}.mdi-clipboard-outline:before{content:"󰅌"}.mdi-clipboard-play:before{content:"󰱙"}.mdi-clipboard-play-multiple:before{content:"󱉩"}.mdi-clipboard-play-multiple-outline:before{content:"󱉪"}.mdi-clipboard-play-outline:before{content:"󰱚"}.mdi-clipboard-plus:before{content:"󰝑"}.mdi-clipboard-plus-outline:before{content:"󱌟"}.mdi-clipboard-pulse:before{content:"󰡝"}.mdi-clipboard-pulse-outline:before{content:"󰡞"}.mdi-clipboard-remove:before{content:"󱘜"}.mdi-clipboard-remove-outline:before{content:"󱘝"}.mdi-clipboard-search:before{content:"󱘞"}.mdi-clipboard-search-outline:before{content:"󱘟"}.mdi-clipboard-text:before{content:"󰅍"}.mdi-clipboard-text-clock:before{content:"󱣹"}.mdi-clipboard-text-clock-outline:before{content:"󱣺"}.mdi-clipboard-text-multiple:before{content:"󱉫"}.mdi-clipboard-text-multiple-outline:before{content:"󱉬"}.mdi-clipboard-text-off:before{content:"󱘠"}.mdi-clipboard-text-off-outline:before{content:"󱘡"}.mdi-clipboard-text-outline:before{content:"󰨸"}.mdi-clipboard-text-play:before{content:"󰱛"}.mdi-clipboard-text-play-outline:before{content:"󰱜"}.mdi-clipboard-text-search:before{content:"󱘢"}.mdi-clipboard-text-search-outline:before{content:"󱘣"}.mdi-clippy:before{content:"󰅏"}.mdi-clock:before{content:"󰥔"}.mdi-clock-alert:before{content:"󰥕"}.mdi-clock-alert-outline:before{content:"󰗎"}.mdi-clock-check:before{content:"󰾨"}.mdi-clock-check-outline:before{content:"󰾩"}.mdi-clock-digital:before{content:"󰺗"}.mdi-clock-edit:before{content:"󱦺"}.mdi-clock-edit-outline:before{content:"󱦻"}.mdi-clock-end:before{content:"󰅑"}.mdi-clock-fast:before{content:"󰅒"}.mdi-clock-in:before{content:"󰅓"}.mdi-clock-minus:before{content:"󱡣"}.mdi-clock-minus-outline:before{content:"󱡤"}.mdi-clock-out:before{content:"󰅔"}.mdi-clock-outline:before{content:"󰅐"}.mdi-clock-plus:before{content:"󱡡"}.mdi-clock-plus-outline:before{content:"󱡢"}.mdi-clock-remove:before{content:"󱡥"}.mdi-clock-remove-outline:before{content:"󱡦"}.mdi-clock-star-four-points:before{content:"󱰩"}.mdi-clock-star-four-points-outline:before{content:"󱰪"}.mdi-clock-start:before{content:"󰅕"}.mdi-clock-time-eight:before{content:"󱑆"}.mdi-clock-time-eight-outline:before{content:"󱑒"}.mdi-clock-time-eleven:before{content:"󱑉"}.mdi-clock-time-eleven-outline:before{content:"󱑕"}.mdi-clock-time-five:before{content:"󱑃"}.mdi-clock-time-five-outline:before{content:"󱑏"}.mdi-clock-time-four:before{content:"󱑂"}.mdi-clock-time-four-outline:before{content:"󱑎"}.mdi-clock-time-nine:before{content:"󱑇"}.mdi-clock-time-nine-outline:before{content:"󱑓"}.mdi-clock-time-one:before{content:"󱐿"}.mdi-clock-time-one-outline:before{content:"󱑋"}.mdi-clock-time-seven:before{content:"󱑅"}.mdi-clock-time-seven-outline:before{content:"󱑑"}.mdi-clock-time-six:before{content:"󱑄"}.mdi-clock-time-six-outline:before{content:"󱑐"}.mdi-clock-time-ten:before{content:"󱑈"}.mdi-clock-time-ten-outline:before{content:"󱑔"}.mdi-clock-time-three:before{content:"󱑁"}.mdi-clock-time-three-outline:before{content:"󱑍"}.mdi-clock-time-twelve:before{content:"󱑊"}.mdi-clock-time-twelve-outline:before{content:"󱑖"}.mdi-clock-time-two:before{content:"󱑀"}.mdi-clock-time-two-outline:before{content:"󱑌"}.mdi-close:before{content:"󰅖"}.mdi-close-box:before{content:"󰅗"}.mdi-close-box-multiple:before{content:"󰱝"}.mdi-close-box-multiple-outline:before{content:"󰱞"}.mdi-close-box-outline:before{content:"󰅘"}.mdi-close-circle:before{content:"󰅙"}.mdi-close-circle-multiple:before{content:"󰘪"}.mdi-close-circle-multiple-outline:before{content:"󰢃"}.mdi-close-circle-outline:before{content:"󰅚"}.mdi-close-network:before{content:"󰅛"}.mdi-close-network-outline:before{content:"󰱟"}.mdi-close-octagon:before{content:"󰅜"}.mdi-close-octagon-outline:before{content:"󰅝"}.mdi-close-outline:before{content:"󰛉"}.mdi-close-thick:before{content:"󱎘"}.mdi-closed-caption:before{content:"󰅞"}.mdi-closed-caption-outline:before{content:"󰶽"}.mdi-cloud:before{content:"󰅟"}.mdi-cloud-alert:before{content:"󰧠"}.mdi-cloud-alert-outline:before{content:"󱯠"}.mdi-cloud-arrow-down:before{content:"󱯡"}.mdi-cloud-arrow-down-outline:before{content:"󱯢"}.mdi-cloud-arrow-left:before{content:"󱯣"}.mdi-cloud-arrow-left-outline:before{content:"󱯤"}.mdi-cloud-arrow-right:before{content:"󱯥"}.mdi-cloud-arrow-right-outline:before{content:"󱯦"}.mdi-cloud-arrow-up:before{content:"󱯧"}.mdi-cloud-arrow-up-outline:before{content:"󱯨"}.mdi-cloud-braces:before{content:"󰞵"}.mdi-cloud-cancel:before{content:"󱯩"}.mdi-cloud-cancel-outline:before{content:"󱯪"}.mdi-cloud-check:before{content:"󱯫"}.mdi-cloud-check-outline:before{content:"󱯬"}.mdi-cloud-check-variant:before{content:"󰅠"}.mdi-cloud-check-variant-outline:before{content:"󱋌"}.mdi-cloud-circle:before{content:"󰅡"}.mdi-cloud-circle-outline:before{content:"󱯭"}.mdi-cloud-clock:before{content:"󱯮"}.mdi-cloud-clock-outline:before{content:"󱯯"}.mdi-cloud-cog:before{content:"󱯰"}.mdi-cloud-cog-outline:before{content:"󱯱"}.mdi-cloud-download:before{content:"󰅢"}.mdi-cloud-download-outline:before{content:"󰭽"}.mdi-cloud-lock:before{content:"󱇱"}.mdi-cloud-lock-open:before{content:"󱯲"}.mdi-cloud-lock-open-outline:before{content:"󱯳"}.mdi-cloud-lock-outline:before{content:"󱇲"}.mdi-cloud-minus:before{content:"󱯴"}.mdi-cloud-minus-outline:before{content:"󱯵"}.mdi-cloud-off:before{content:"󱯶"}.mdi-cloud-off-outline:before{content:"󰅤"}.mdi-cloud-outline:before{content:"󰅣"}.mdi-cloud-percent:before{content:"󱨵"}.mdi-cloud-percent-outline:before{content:"󱨶"}.mdi-cloud-plus:before{content:"󱯷"}.mdi-cloud-plus-outline:before{content:"󱯸"}.mdi-cloud-print:before{content:"󰅥"}.mdi-cloud-print-outline:before{content:"󰅦"}.mdi-cloud-question:before{content:"󰨹"}.mdi-cloud-question-outline:before{content:"󱯹"}.mdi-cloud-refresh:before{content:"󱯺"}.mdi-cloud-refresh-outline:before{content:"󱯻"}.mdi-cloud-refresh-variant:before{content:"󰔪"}.mdi-cloud-refresh-variant-outline:before{content:"󱯼"}.mdi-cloud-remove:before{content:"󱯽"}.mdi-cloud-remove-outline:before{content:"󱯾"}.mdi-cloud-search:before{content:"󰥖"}.mdi-cloud-search-outline:before{content:"󰥗"}.mdi-cloud-sync:before{content:"󰘿"}.mdi-cloud-sync-outline:before{content:"󱋖"}.mdi-cloud-tags:before{content:"󰞶"}.mdi-cloud-upload:before{content:"󰅧"}.mdi-cloud-upload-outline:before{content:"󰭾"}.mdi-clouds:before{content:"󱮕"}.mdi-clover:before{content:"󰠖"}.mdi-clover-outline:before{content:"󱱢"}.mdi-coach-lamp:before{content:"󱀠"}.mdi-coach-lamp-variant:before{content:"󱨷"}.mdi-coat-rack:before{content:"󱂞"}.mdi-code-array:before{content:"󰅨"}.mdi-code-braces:before{content:"󰅩"}.mdi-code-braces-box:before{content:"󱃖"}.mdi-code-brackets:before{content:"󰅪"}.mdi-code-equal:before{content:"󰅫"}.mdi-code-greater-than:before{content:"󰅬"}.mdi-code-greater-than-or-equal:before{content:"󰅭"}.mdi-code-json:before{content:"󰘦"}.mdi-code-less-than:before{content:"󰅮"}.mdi-code-less-than-or-equal:before{content:"󰅯"}.mdi-code-not-equal:before{content:"󰅰"}.mdi-code-not-equal-variant:before{content:"󰅱"}.mdi-code-parentheses:before{content:"󰅲"}.mdi-code-parentheses-box:before{content:"󱃗"}.mdi-code-string:before{content:"󰅳"}.mdi-code-tags:before{content:"󰅴"}.mdi-code-tags-check:before{content:"󰚔"}.mdi-codepen:before{content:"󰅵"}.mdi-coffee:before{content:"󰅶"}.mdi-coffee-maker:before{content:"󱂟"}.mdi-coffee-maker-check:before{content:"󱤱"}.mdi-coffee-maker-check-outline:before{content:"󱤲"}.mdi-coffee-maker-outline:before{content:"󱠛"}.mdi-coffee-off:before{content:"󰾪"}.mdi-coffee-off-outline:before{content:"󰾫"}.mdi-coffee-outline:before{content:"󰛊"}.mdi-coffee-to-go:before{content:"󰅷"}.mdi-coffee-to-go-outline:before{content:"󱌎"}.mdi-coffin:before{content:"󰭿"}.mdi-cog:before{content:"󰒓"}.mdi-cog-box:before{content:"󰒔"}.mdi-cog-clockwise:before{content:"󱇝"}.mdi-cog-counterclockwise:before{content:"󱇞"}.mdi-cog-off:before{content:"󱏎"}.mdi-cog-off-outline:before{content:"󱏏"}.mdi-cog-outline:before{content:"󰢻"}.mdi-cog-pause:before{content:"󱤳"}.mdi-cog-pause-outline:before{content:"󱤴"}.mdi-cog-play:before{content:"󱤵"}.mdi-cog-play-outline:before{content:"󱤶"}.mdi-cog-refresh:before{content:"󱑞"}.mdi-cog-refresh-outline:before{content:"󱑟"}.mdi-cog-stop:before{content:"󱤷"}.mdi-cog-stop-outline:before{content:"󱤸"}.mdi-cog-sync:before{content:"󱑠"}.mdi-cog-sync-outline:before{content:"󱑡"}.mdi-cog-transfer:before{content:"󱁛"}.mdi-cog-transfer-outline:before{content:"󱁜"}.mdi-cogs:before{content:"󰣖"}.mdi-collage:before{content:"󰙀"}.mdi-collapse-all:before{content:"󰪦"}.mdi-collapse-all-outline:before{content:"󰪧"}.mdi-color-helper:before{content:"󰅹"}.mdi-comma:before{content:"󰸣"}.mdi-comma-box:before{content:"󰸫"}.mdi-comma-box-outline:before{content:"󰸤"}.mdi-comma-circle:before{content:"󰸥"}.mdi-comma-circle-outline:before{content:"󰸦"}.mdi-comment:before{content:"󰅺"}.mdi-comment-account:before{content:"󰅻"}.mdi-comment-account-outline:before{content:"󰅼"}.mdi-comment-alert:before{content:"󰅽"}.mdi-comment-alert-outline:before{content:"󰅾"}.mdi-comment-arrow-left:before{content:"󰧡"}.mdi-comment-arrow-left-outline:before{content:"󰧢"}.mdi-comment-arrow-right:before{content:"󰧣"}.mdi-comment-arrow-right-outline:before{content:"󰧤"}.mdi-comment-bookmark:before{content:"󱖮"}.mdi-comment-bookmark-outline:before{content:"󱖯"}.mdi-comment-check:before{content:"󰅿"}.mdi-comment-check-outline:before{content:"󰆀"}.mdi-comment-edit:before{content:"󱆿"}.mdi-comment-edit-outline:before{content:"󱋄"}.mdi-comment-eye:before{content:"󰨺"}.mdi-comment-eye-outline:before{content:"󰨻"}.mdi-comment-flash:before{content:"󱖰"}.mdi-comment-flash-outline:before{content:"󱖱"}.mdi-comment-minus:before{content:"󱗟"}.mdi-comment-minus-outline:before{content:"󱗠"}.mdi-comment-multiple:before{content:"󰡟"}.mdi-comment-multiple-outline:before{content:"󰆁"}.mdi-comment-off:before{content:"󱗡"}.mdi-comment-off-outline:before{content:"󱗢"}.mdi-comment-outline:before{content:"󰆂"}.mdi-comment-plus:before{content:"󰧥"}.mdi-comment-plus-outline:before{content:"󰆃"}.mdi-comment-processing:before{content:"󰆄"}.mdi-comment-processing-outline:before{content:"󰆅"}.mdi-comment-question:before{content:"󰠗"}.mdi-comment-question-outline:before{content:"󰆆"}.mdi-comment-quote:before{content:"󱀡"}.mdi-comment-quote-outline:before{content:"󱀢"}.mdi-comment-remove:before{content:"󰗞"}.mdi-comment-remove-outline:before{content:"󰆇"}.mdi-comment-search:before{content:"󰨼"}.mdi-comment-search-outline:before{content:"󰨽"}.mdi-comment-text:before{content:"󰆈"}.mdi-comment-text-multiple:before{content:"󰡠"}.mdi-comment-text-multiple-outline:before{content:"󰡡"}.mdi-comment-text-outline:before{content:"󰆉"}.mdi-compare:before{content:"󰆊"}.mdi-compare-horizontal:before{content:"󱒒"}.mdi-compare-remove:before{content:"󱢳"}.mdi-compare-vertical:before{content:"󱒓"}.mdi-compass:before{content:"󰆋"}.mdi-compass-off:before{content:"󰮀"}.mdi-compass-off-outline:before{content:"󰮁"}.mdi-compass-outline:before{content:"󰆌"}.mdi-compass-rose:before{content:"󱎂"}.mdi-compost:before{content:"󱨸"}.mdi-cone:before{content:"󱥌"}.mdi-cone-off:before{content:"󱥍"}.mdi-connection:before{content:"󱘖"}.mdi-console:before{content:"󰆍"}.mdi-console-line:before{content:"󰞷"}.mdi-console-network:before{content:"󰢩"}.mdi-console-network-outline:before{content:"󰱠"}.mdi-consolidate:before{content:"󱃘"}.mdi-contactless-payment:before{content:"󰵪"}.mdi-contactless-payment-circle:before{content:"󰌡"}.mdi-contactless-payment-circle-outline:before{content:"󰐈"}.mdi-contacts:before{content:"󰛋"}.mdi-contacts-outline:before{content:"󰖸"}.mdi-contain:before{content:"󰨾"}.mdi-contain-end:before{content:"󰨿"}.mdi-contain-start:before{content:"󰩀"}.mdi-content-copy:before{content:"󰆏"}.mdi-content-cut:before{content:"󰆐"}.mdi-content-duplicate:before{content:"󰆑"}.mdi-content-paste:before{content:"󰆒"}.mdi-content-save:before{content:"󰆓"}.mdi-content-save-alert:before{content:"󰽂"}.mdi-content-save-alert-outline:before{content:"󰽃"}.mdi-content-save-all:before{content:"󰆔"}.mdi-content-save-all-outline:before{content:"󰽄"}.mdi-content-save-check:before{content:"󱣪"}.mdi-content-save-check-outline:before{content:"󱣫"}.mdi-content-save-cog:before{content:"󱑛"}.mdi-content-save-cog-outline:before{content:"󱑜"}.mdi-content-save-edit:before{content:"󰳻"}.mdi-content-save-edit-outline:before{content:"󰳼"}.mdi-content-save-minus:before{content:"󱭃"}.mdi-content-save-minus-outline:before{content:"󱭄"}.mdi-content-save-move:before{content:"󰸧"}.mdi-content-save-move-outline:before{content:"󰸨"}.mdi-content-save-off:before{content:"󱙃"}.mdi-content-save-off-outline:before{content:"󱙄"}.mdi-content-save-outline:before{content:"󰠘"}.mdi-content-save-plus:before{content:"󱭁"}.mdi-content-save-plus-outline:before{content:"󱭂"}.mdi-content-save-settings:before{content:"󰘛"}.mdi-content-save-settings-outline:before{content:"󰬮"}.mdi-contrast:before{content:"󰆕"}.mdi-contrast-box:before{content:"󰆖"}.mdi-contrast-circle:before{content:"󰆗"}.mdi-controller:before{content:"󰊴"}.mdi-controller-classic:before{content:"󰮂"}.mdi-controller-classic-outline:before{content:"󰮃"}.mdi-controller-off:before{content:"󰊵"}.mdi-cookie:before{content:"󰆘"}.mdi-cookie-alert:before{content:"󱛐"}.mdi-cookie-alert-outline:before{content:"󱛑"}.mdi-cookie-check:before{content:"󱛒"}.mdi-cookie-check-outline:before{content:"󱛓"}.mdi-cookie-clock:before{content:"󱛤"}.mdi-cookie-clock-outline:before{content:"󱛥"}.mdi-cookie-cog:before{content:"󱛔"}.mdi-cookie-cog-outline:before{content:"󱛕"}.mdi-cookie-edit:before{content:"󱛦"}.mdi-cookie-edit-outline:before{content:"󱛧"}.mdi-cookie-lock:before{content:"󱛨"}.mdi-cookie-lock-outline:before{content:"󱛩"}.mdi-cookie-minus:before{content:"󱛚"}.mdi-cookie-minus-outline:before{content:"󱛛"}.mdi-cookie-off:before{content:"󱛪"}.mdi-cookie-off-outline:before{content:"󱛫"}.mdi-cookie-outline:before{content:"󱛞"}.mdi-cookie-plus:before{content:"󱛖"}.mdi-cookie-plus-outline:before{content:"󱛗"}.mdi-cookie-refresh:before{content:"󱛬"}.mdi-cookie-refresh-outline:before{content:"󱛭"}.mdi-cookie-remove:before{content:"󱛘"}.mdi-cookie-remove-outline:before{content:"󱛙"}.mdi-cookie-settings:before{content:"󱛜"}.mdi-cookie-settings-outline:before{content:"󱛝"}.mdi-coolant-temperature:before{content:"󰏈"}.mdi-copyleft:before{content:"󱤹"}.mdi-copyright:before{content:"󰗦"}.mdi-cordova:before{content:"󰥘"}.mdi-corn:before{content:"󰞸"}.mdi-corn-off:before{content:"󱏯"}.mdi-cosine-wave:before{content:"󱑹"}.mdi-counter:before{content:"󰆙"}.mdi-countertop:before{content:"󱠜"}.mdi-countertop-outline:before{content:"󱠝"}.mdi-cow:before{content:"󰆚"}.mdi-cow-off:before{content:"󱣼"}.mdi-cpu-32-bit:before{content:"󰻟"}.mdi-cpu-64-bit:before{content:"󰻠"}.mdi-cradle:before{content:"󱦋"}.mdi-cradle-outline:before{content:"󱦑"}.mdi-crane:before{content:"󰡢"}.mdi-creation:before{content:"󰙴"}.mdi-creation-outline:before{content:"󱰫"}.mdi-creative-commons:before{content:"󰵫"}.mdi-credit-card:before{content:"󰿯"}.mdi-credit-card-check:before{content:"󱏐"}.mdi-credit-card-check-outline:before{content:"󱏑"}.mdi-credit-card-chip:before{content:"󱤏"}.mdi-credit-card-chip-outline:before{content:"󱤐"}.mdi-credit-card-clock:before{content:"󰻡"}.mdi-credit-card-clock-outline:before{content:"󰻢"}.mdi-credit-card-edit:before{content:"󱟗"}.mdi-credit-card-edit-outline:before{content:"󱟘"}.mdi-credit-card-fast:before{content:"󱤑"}.mdi-credit-card-fast-outline:before{content:"󱤒"}.mdi-credit-card-lock:before{content:"󱣧"}.mdi-credit-card-lock-outline:before{content:"󱣨"}.mdi-credit-card-marker:before{content:"󰚨"}.mdi-credit-card-marker-outline:before{content:"󰶾"}.mdi-credit-card-minus:before{content:"󰾬"}.mdi-credit-card-minus-outline:before{content:"󰾭"}.mdi-credit-card-multiple:before{content:"󰿰"}.mdi-credit-card-multiple-outline:before{content:"󰆜"}.mdi-credit-card-off:before{content:"󰿱"}.mdi-credit-card-off-outline:before{content:"󰗤"}.mdi-credit-card-outline:before{content:"󰆛"}.mdi-credit-card-plus:before{content:"󰿲"}.mdi-credit-card-plus-outline:before{content:"󰙶"}.mdi-credit-card-refresh:before{content:"󱙅"}.mdi-credit-card-refresh-outline:before{content:"󱙆"}.mdi-credit-card-refund:before{content:"󰿳"}.mdi-credit-card-refund-outline:before{content:"󰪨"}.mdi-credit-card-remove:before{content:"󰾮"}.mdi-credit-card-remove-outline:before{content:"󰾯"}.mdi-credit-card-scan:before{content:"󰿴"}.mdi-credit-card-scan-outline:before{content:"󰆝"}.mdi-credit-card-search:before{content:"󱙇"}.mdi-credit-card-search-outline:before{content:"󱙈"}.mdi-credit-card-settings:before{content:"󰿵"}.mdi-credit-card-settings-outline:before{content:"󰣗"}.mdi-credit-card-sync:before{content:"󱙉"}.mdi-credit-card-sync-outline:before{content:"󱙊"}.mdi-credit-card-wireless:before{content:"󰠂"}.mdi-credit-card-wireless-off:before{content:"󰕺"}.mdi-credit-card-wireless-off-outline:before{content:"󰕻"}.mdi-credit-card-wireless-outline:before{content:"󰵬"}.mdi-cricket:before{content:"󰵭"}.mdi-crop:before{content:"󰆞"}.mdi-crop-free:before{content:"󰆟"}.mdi-crop-landscape:before{content:"󰆠"}.mdi-crop-portrait:before{content:"󰆡"}.mdi-crop-rotate:before{content:"󰚖"}.mdi-crop-square:before{content:"󰆢"}.mdi-cross:before{content:"󰥓"}.mdi-cross-bolnisi:before{content:"󰳭"}.mdi-cross-celtic:before{content:"󰳵"}.mdi-cross-outline:before{content:"󰳶"}.mdi-crosshairs:before{content:"󰆣"}.mdi-crosshairs-gps:before{content:"󰆤"}.mdi-crosshairs-off:before{content:"󰽅"}.mdi-crosshairs-question:before{content:"󱄶"}.mdi-crowd:before{content:"󱥵"}.mdi-crown:before{content:"󰆥"}.mdi-crown-circle:before{content:"󱟜"}.mdi-crown-circle-outline:before{content:"󱟝"}.mdi-crown-outline:before{content:"󱇐"}.mdi-cryengine:before{content:"󰥙"}.mdi-crystal-ball:before{content:"󰬯"}.mdi-cube:before{content:"󰆦"}.mdi-cube-off:before{content:"󱐜"}.mdi-cube-off-outline:before{content:"󱐝"}.mdi-cube-outline:before{content:"󰆧"}.mdi-cube-scan:before{content:"󰮄"}.mdi-cube-send:before{content:"󰆨"}.mdi-cube-unfolded:before{content:"󰆩"}.mdi-cup:before{content:"󰆪"}.mdi-cup-off:before{content:"󰗥"}.mdi-cup-off-outline:before{content:"󱍽"}.mdi-cup-outline:before{content:"󱌏"}.mdi-cup-water:before{content:"󰆫"}.mdi-cupboard:before{content:"󰽆"}.mdi-cupboard-outline:before{content:"󰽇"}.mdi-cupcake:before{content:"󰥚"}.mdi-curling:before{content:"󰡣"}.mdi-currency-bdt:before{content:"󰡤"}.mdi-currency-brl:before{content:"󰮅"}.mdi-currency-btc:before{content:"󰆬"}.mdi-currency-cny:before{content:"󰞺"}.mdi-currency-eth:before{content:"󰞻"}.mdi-currency-eur:before{content:"󰆭"}.mdi-currency-eur-off:before{content:"󱌕"}.mdi-currency-fra:before{content:"󱨹"}.mdi-currency-gbp:before{content:"󰆮"}.mdi-currency-ils:before{content:"󰱡"}.mdi-currency-inr:before{content:"󰆯"}.mdi-currency-jpy:before{content:"󰞼"}.mdi-currency-krw:before{content:"󰞽"}.mdi-currency-kzt:before{content:"󰡥"}.mdi-currency-mnt:before{content:"󱔒"}.mdi-currency-ngn:before{content:"󰆰"}.mdi-currency-php:before{content:"󰧦"}.mdi-currency-rial:before{content:"󰺜"}.mdi-currency-rub:before{content:"󰆱"}.mdi-currency-rupee:before{content:"󱥶"}.mdi-currency-sign:before{content:"󰞾"}.mdi-currency-thb:before{content:"󱰅"}.mdi-currency-try:before{content:"󰆲"}.mdi-currency-twd:before{content:"󰞿"}.mdi-currency-uah:before{content:"󱮛"}.mdi-currency-usd:before{content:"󰇁"}.mdi-currency-usd-off:before{content:"󰙺"}.mdi-current-ac:before{content:"󱒀"}.mdi-current-dc:before{content:"󰥜"}.mdi-cursor-default:before{content:"󰇀"}.mdi-cursor-default-click:before{content:"󰳽"}.mdi-cursor-default-click-outline:before{content:"󰳾"}.mdi-cursor-default-gesture:before{content:"󱄧"}.mdi-cursor-default-gesture-outline:before{content:"󱄨"}.mdi-cursor-default-outline:before{content:"󰆿"}.mdi-cursor-move:before{content:"󰆾"}.mdi-cursor-pointer:before{content:"󰆽"}.mdi-cursor-text:before{content:"󰗧"}.mdi-curtains:before{content:"󱡆"}.mdi-curtains-closed:before{content:"󱡇"}.mdi-cylinder:before{content:"󱥎"}.mdi-cylinder-off:before{content:"󱥏"}.mdi-dance-ballroom:before{content:"󱗻"}.mdi-dance-pole:before{content:"󱕸"}.mdi-data-matrix:before{content:"󱔼"}.mdi-data-matrix-edit:before{content:"󱔽"}.mdi-data-matrix-minus:before{content:"󱔾"}.mdi-data-matrix-plus:before{content:"󱔿"}.mdi-data-matrix-remove:before{content:"󱕀"}.mdi-data-matrix-scan:before{content:"󱕁"}.mdi-database:before{content:"󰆼"}.mdi-database-alert:before{content:"󱘺"}.mdi-database-alert-outline:before{content:"󱘤"}.mdi-database-arrow-down:before{content:"󱘻"}.mdi-database-arrow-down-outline:before{content:"󱘥"}.mdi-database-arrow-left:before{content:"󱘼"}.mdi-database-arrow-left-outline:before{content:"󱘦"}.mdi-database-arrow-right:before{content:"󱘽"}.mdi-database-arrow-right-outline:before{content:"󱘧"}.mdi-database-arrow-up:before{content:"󱘾"}.mdi-database-arrow-up-outline:before{content:"󱘨"}.mdi-database-check:before{content:"󰪩"}.mdi-database-check-outline:before{content:"󱘩"}.mdi-database-clock:before{content:"󱘿"}.mdi-database-clock-outline:before{content:"󱘪"}.mdi-database-cog:before{content:"󱙋"}.mdi-database-cog-outline:before{content:"󱙌"}.mdi-database-edit:before{content:"󰮆"}.mdi-database-edit-outline:before{content:"󱘫"}.mdi-database-export:before{content:"󰥞"}.mdi-database-export-outline:before{content:"󱘬"}.mdi-database-eye:before{content:"󱤟"}.mdi-database-eye-off:before{content:"󱤠"}.mdi-database-eye-off-outline:before{content:"󱤡"}.mdi-database-eye-outline:before{content:"󱤢"}.mdi-database-import:before{content:"󰥝"}.mdi-database-import-outline:before{content:"󱘭"}.mdi-database-lock:before{content:"󰪪"}.mdi-database-lock-outline:before{content:"󱘮"}.mdi-database-marker:before{content:"󱋶"}.mdi-database-marker-outline:before{content:"󱘯"}.mdi-database-minus:before{content:"󰆻"}.mdi-database-minus-outline:before{content:"󱘰"}.mdi-database-off:before{content:"󱙀"}.mdi-database-off-outline:before{content:"󱘱"}.mdi-database-outline:before{content:"󱘲"}.mdi-database-plus:before{content:"󰆺"}.mdi-database-plus-outline:before{content:"󱘳"}.mdi-database-refresh:before{content:"󰗂"}.mdi-database-refresh-outline:before{content:"󱘴"}.mdi-database-remove:before{content:"󰴀"}.mdi-database-remove-outline:before{content:"󱘵"}.mdi-database-search:before{content:"󰡦"}.mdi-database-search-outline:before{content:"󱘶"}.mdi-database-settings:before{content:"󰴁"}.mdi-database-settings-outline:before{content:"󱘷"}.mdi-database-sync:before{content:"󰳿"}.mdi-database-sync-outline:before{content:"󱘸"}.mdi-death-star:before{content:"󰣘"}.mdi-death-star-variant:before{content:"󰣙"}.mdi-deathly-hallows:before{content:"󰮇"}.mdi-debian:before{content:"󰣚"}.mdi-debug-step-into:before{content:"󰆹"}.mdi-debug-step-out:before{content:"󰆸"}.mdi-debug-step-over:before{content:"󰆷"}.mdi-decagram:before{content:"󰝬"}.mdi-decagram-outline:before{content:"󰝭"}.mdi-decimal:before{content:"󱂡"}.mdi-decimal-comma:before{content:"󱂢"}.mdi-decimal-comma-decrease:before{content:"󱂣"}.mdi-decimal-comma-increase:before{content:"󱂤"}.mdi-decimal-decrease:before{content:"󰆶"}.mdi-decimal-increase:before{content:"󰆵"}.mdi-delete:before{content:"󰆴"}.mdi-delete-alert:before{content:"󱂥"}.mdi-delete-alert-outline:before{content:"󱂦"}.mdi-delete-circle:before{content:"󰚃"}.mdi-delete-circle-outline:before{content:"󰮈"}.mdi-delete-clock:before{content:"󱕖"}.mdi-delete-clock-outline:before{content:"󱕗"}.mdi-delete-empty:before{content:"󰛌"}.mdi-delete-empty-outline:before{content:"󰺝"}.mdi-delete-forever:before{content:"󰗨"}.mdi-delete-forever-outline:before{content:"󰮉"}.mdi-delete-off:before{content:"󱂧"}.mdi-delete-off-outline:before{content:"󱂨"}.mdi-delete-outline:before{content:"󰧧"}.mdi-delete-restore:before{content:"󰠙"}.mdi-delete-sweep:before{content:"󰗩"}.mdi-delete-sweep-outline:before{content:"󰱢"}.mdi-delete-variant:before{content:"󰆳"}.mdi-delta:before{content:"󰇂"}.mdi-desk:before{content:"󱈹"}.mdi-desk-lamp:before{content:"󰥟"}.mdi-desk-lamp-off:before{content:"󱬟"}.mdi-desk-lamp-on:before{content:"󱬠"}.mdi-deskphone:before{content:"󰇃"}.mdi-desktop-classic:before{content:"󰟀"}.mdi-desktop-tower:before{content:"󰇅"}.mdi-desktop-tower-monitor:before{content:"󰪫"}.mdi-details:before{content:"󰇆"}.mdi-dev-to:before{content:"󰵮"}.mdi-developer-board:before{content:"󰚗"}.mdi-deviantart:before{content:"󰇇"}.mdi-devices:before{content:"󰾰"}.mdi-dharmachakra:before{content:"󰥋"}.mdi-diabetes:before{content:"󱄦"}.mdi-dialpad:before{content:"󰘜"}.mdi-diameter:before{content:"󰱣"}.mdi-diameter-outline:before{content:"󰱤"}.mdi-diameter-variant:before{content:"󰱥"}.mdi-diamond:before{content:"󰮊"}.mdi-diamond-outline:before{content:"󰮋"}.mdi-diamond-stone:before{content:"󰇈"}.mdi-dice-1:before{content:"󰇊"}.mdi-dice-1-outline:before{content:"󱅊"}.mdi-dice-2:before{content:"󰇋"}.mdi-dice-2-outline:before{content:"󱅋"}.mdi-dice-3:before{content:"󰇌"}.mdi-dice-3-outline:before{content:"󱅌"}.mdi-dice-4:before{content:"󰇍"}.mdi-dice-4-outline:before{content:"󱅍"}.mdi-dice-5:before{content:"󰇎"}.mdi-dice-5-outline:before{content:"󱅎"}.mdi-dice-6:before{content:"󰇏"}.mdi-dice-6-outline:before{content:"󱅏"}.mdi-dice-d10:before{content:"󱅓"}.mdi-dice-d10-outline:before{content:"󰝯"}.mdi-dice-d12:before{content:"󱅔"}.mdi-dice-d12-outline:before{content:"󰡧"}.mdi-dice-d20:before{content:"󱅕"}.mdi-dice-d20-outline:before{content:"󰗪"}.mdi-dice-d4:before{content:"󱅐"}.mdi-dice-d4-outline:before{content:"󰗫"}.mdi-dice-d6:before{content:"󱅑"}.mdi-dice-d6-outline:before{content:"󰗭"}.mdi-dice-d8:before{content:"󱅒"}.mdi-dice-d8-outline:before{content:"󰗬"}.mdi-dice-multiple:before{content:"󰝮"}.mdi-dice-multiple-outline:before{content:"󱅖"}.mdi-digital-ocean:before{content:"󱈷"}.mdi-dip-switch:before{content:"󰟁"}.mdi-directions:before{content:"󰇐"}.mdi-directions-fork:before{content:"󰙁"}.mdi-disc:before{content:"󰗮"}.mdi-disc-alert:before{content:"󰇑"}.mdi-disc-player:before{content:"󰥠"}.mdi-dishwasher:before{content:"󰪬"}.mdi-dishwasher-alert:before{content:"󱆸"}.mdi-dishwasher-off:before{content:"󱆹"}.mdi-disqus:before{content:"󰇒"}.mdi-distribute-horizontal-center:before{content:"󱇉"}.mdi-distribute-horizontal-left:before{content:"󱇈"}.mdi-distribute-horizontal-right:before{content:"󱇊"}.mdi-distribute-vertical-bottom:before{content:"󱇋"}.mdi-distribute-vertical-center:before{content:"󱇌"}.mdi-distribute-vertical-top:before{content:"󱇍"}.mdi-diversify:before{content:"󱡷"}.mdi-diving:before{content:"󱥷"}.mdi-diving-flippers:before{content:"󰶿"}.mdi-diving-helmet:before{content:"󰷀"}.mdi-diving-scuba:before{content:"󱭷"}.mdi-diving-scuba-flag:before{content:"󰷂"}.mdi-diving-scuba-mask:before{content:"󰷁"}.mdi-diving-scuba-tank:before{content:"󰷃"}.mdi-diving-scuba-tank-multiple:before{content:"󰷄"}.mdi-diving-snorkel:before{content:"󰷅"}.mdi-division:before{content:"󰇔"}.mdi-division-box:before{content:"󰇕"}.mdi-dlna:before{content:"󰩁"}.mdi-dna:before{content:"󰚄"}.mdi-dns:before{content:"󰇖"}.mdi-dns-outline:before{content:"󰮌"}.mdi-dock-bottom:before{content:"󱂩"}.mdi-dock-left:before{content:"󱂪"}.mdi-dock-right:before{content:"󱂫"}.mdi-dock-top:before{content:"󱔓"}.mdi-dock-window:before{content:"󱂬"}.mdi-docker:before{content:"󰡨"}.mdi-doctor:before{content:"󰩂"}.mdi-dog:before{content:"󰩃"}.mdi-dog-service:before{content:"󰪭"}.mdi-dog-side:before{content:"󰩄"}.mdi-dog-side-off:before{content:"󱛮"}.mdi-dolby:before{content:"󰚳"}.mdi-dolly:before{content:"󰺞"}.mdi-dolphin:before{content:"󱢴"}.mdi-domain:before{content:"󰇗"}.mdi-domain-off:before{content:"󰵯"}.mdi-domain-plus:before{content:"󱂭"}.mdi-domain-remove:before{content:"󱂮"}.mdi-domain-switch:before{content:"󱰬"}.mdi-dome-light:before{content:"󱐞"}.mdi-domino-mask:before{content:"󱀣"}.mdi-donkey:before{content:"󰟂"}.mdi-door:before{content:"󰠚"}.mdi-door-closed:before{content:"󰠛"}.mdi-door-closed-lock:before{content:"󱂯"}.mdi-door-open:before{content:"󰠜"}.mdi-door-sliding:before{content:"󱠞"}.mdi-door-sliding-lock:before{content:"󱠟"}.mdi-door-sliding-open:before{content:"󱠠"}.mdi-doorbell:before{content:"󱋦"}.mdi-doorbell-video:before{content:"󰡩"}.mdi-dot-net:before{content:"󰪮"}.mdi-dots-circle:before{content:"󱥸"}.mdi-dots-grid:before{content:"󱗼"}.mdi-dots-hexagon:before{content:"󱗿"}.mdi-dots-horizontal:before{content:"󰇘"}.mdi-dots-horizontal-circle:before{content:"󰟃"}.mdi-dots-horizontal-circle-outline:before{content:"󰮍"}.mdi-dots-square:before{content:"󱗽"}.mdi-dots-triangle:before{content:"󱗾"}.mdi-dots-vertical:before{content:"󰇙"}.mdi-dots-vertical-circle:before{content:"󰟄"}.mdi-dots-vertical-circle-outline:before{content:"󰮎"}.mdi-download:before{content:"󰇚"}.mdi-download-box:before{content:"󱑢"}.mdi-download-box-outline:before{content:"󱑣"}.mdi-download-circle:before{content:"󱑤"}.mdi-download-circle-outline:before{content:"󱑥"}.mdi-download-lock:before{content:"󱌠"}.mdi-download-lock-outline:before{content:"󱌡"}.mdi-download-multiple:before{content:"󰧩"}.mdi-download-network:before{content:"󰛴"}.mdi-download-network-outline:before{content:"󰱦"}.mdi-download-off:before{content:"󱂰"}.mdi-download-off-outline:before{content:"󱂱"}.mdi-download-outline:before{content:"󰮏"}.mdi-drag:before{content:"󰇛"}.mdi-drag-horizontal:before{content:"󰇜"}.mdi-drag-horizontal-variant:before{content:"󱋰"}.mdi-drag-variant:before{content:"󰮐"}.mdi-drag-vertical:before{content:"󰇝"}.mdi-drag-vertical-variant:before{content:"󱋱"}.mdi-drama-masks:before{content:"󰴂"}.mdi-draw:before{content:"󰽉"}.mdi-draw-pen:before{content:"󱦹"}.mdi-drawing:before{content:"󰇞"}.mdi-drawing-box:before{content:"󰇟"}.mdi-dresser:before{content:"󰽊"}.mdi-dresser-outline:before{content:"󰽋"}.mdi-drone:before{content:"󰇢"}.mdi-dropbox:before{content:"󰇣"}.mdi-drupal:before{content:"󰇤"}.mdi-duck:before{content:"󰇥"}.mdi-dumbbell:before{content:"󰇦"}.mdi-dump-truck:before{content:"󰱧"}.mdi-ear-hearing:before{content:"󰟅"}.mdi-ear-hearing-loop:before{content:"󱫮"}.mdi-ear-hearing-off:before{content:"󰩅"}.mdi-earbuds:before{content:"󱡏"}.mdi-earbuds-off:before{content:"󱡐"}.mdi-earbuds-off-outline:before{content:"󱡑"}.mdi-earbuds-outline:before{content:"󱡒"}.mdi-earth:before{content:"󰇧"}.mdi-earth-arrow-right:before{content:"󱌑"}.mdi-earth-box:before{content:"󰛍"}.mdi-earth-box-minus:before{content:"󱐇"}.mdi-earth-box-off:before{content:"󰛎"}.mdi-earth-box-plus:before{content:"󱐆"}.mdi-earth-box-remove:before{content:"󱐈"}.mdi-earth-minus:before{content:"󱐄"}.mdi-earth-off:before{content:"󰇨"}.mdi-earth-plus:before{content:"󱐃"}.mdi-earth-remove:before{content:"󱐅"}.mdi-egg:before{content:"󰪯"}.mdi-egg-easter:before{content:"󰪰"}.mdi-egg-fried:before{content:"󱡊"}.mdi-egg-off:before{content:"󱏰"}.mdi-egg-off-outline:before{content:"󱏱"}.mdi-egg-outline:before{content:"󱏲"}.mdi-eiffel-tower:before{content:"󱕫"}.mdi-eight-track:before{content:"󰧪"}.mdi-eject:before{content:"󰇪"}.mdi-eject-circle:before{content:"󱬣"}.mdi-eject-circle-outline:before{content:"󱬤"}.mdi-eject-outline:before{content:"󰮑"}.mdi-electric-switch:before{content:"󰺟"}.mdi-electric-switch-closed:before{content:"󱃙"}.mdi-electron-framework:before{content:"󱀤"}.mdi-elephant:before{content:"󰟆"}.mdi-elevation-decline:before{content:"󰇫"}.mdi-elevation-rise:before{content:"󰇬"}.mdi-elevator:before{content:"󰇭"}.mdi-elevator-down:before{content:"󱋂"}.mdi-elevator-passenger:before{content:"󱎁"}.mdi-elevator-passenger-off:before{content:"󱥹"}.mdi-elevator-passenger-off-outline:before{content:"󱥺"}.mdi-elevator-passenger-outline:before{content:"󱥻"}.mdi-elevator-up:before{content:"󱋁"}.mdi-ellipse:before{content:"󰺠"}.mdi-ellipse-outline:before{content:"󰺡"}.mdi-email:before{content:"󰇮"}.mdi-email-alert:before{content:"󰛏"}.mdi-email-alert-outline:before{content:"󰵂"}.mdi-email-arrow-left:before{content:"󱃚"}.mdi-email-arrow-left-outline:before{content:"󱃛"}.mdi-email-arrow-right:before{content:"󱃜"}.mdi-email-arrow-right-outline:before{content:"󱃝"}.mdi-email-box:before{content:"󰴃"}.mdi-email-check:before{content:"󰪱"}.mdi-email-check-outline:before{content:"󰪲"}.mdi-email-edit:before{content:"󰻣"}.mdi-email-edit-outline:before{content:"󰻤"}.mdi-email-fast:before{content:"󱡯"}.mdi-email-fast-outline:before{content:"󱡰"}.mdi-email-heart-outline:before{content:"󱱛"}.mdi-email-lock:before{content:"󰇱"}.mdi-email-lock-outline:before{content:"󱭡"}.mdi-email-mark-as-unread:before{content:"󰮒"}.mdi-email-minus:before{content:"󰻥"}.mdi-email-minus-outline:before{content:"󰻦"}.mdi-email-multiple:before{content:"󰻧"}.mdi-email-multiple-outline:before{content:"󰻨"}.mdi-email-newsletter:before{content:"󰾱"}.mdi-email-off:before{content:"󱏣"}.mdi-email-off-outline:before{content:"󱏤"}.mdi-email-open:before{content:"󰇯"}.mdi-email-open-heart-outline:before{content:"󱱜"}.mdi-email-open-multiple:before{content:"󰻩"}.mdi-email-open-multiple-outline:before{content:"󰻪"}.mdi-email-open-outline:before{content:"󰗯"}.mdi-email-outline:before{content:"󰇰"}.mdi-email-plus:before{content:"󰧫"}.mdi-email-plus-outline:before{content:"󰧬"}.mdi-email-remove:before{content:"󱙡"}.mdi-email-remove-outline:before{content:"󱙢"}.mdi-email-seal:before{content:"󱥛"}.mdi-email-seal-outline:before{content:"󱥜"}.mdi-email-search:before{content:"󰥡"}.mdi-email-search-outline:before{content:"󰥢"}.mdi-email-sync:before{content:"󱋇"}.mdi-email-sync-outline:before{content:"󱋈"}.mdi-email-variant:before{content:"󰗰"}.mdi-ember:before{content:"󰬰"}.mdi-emby:before{content:"󰚴"}.mdi-emoticon:before{content:"󰱨"}.mdi-emoticon-angry:before{content:"󰱩"}.mdi-emoticon-angry-outline:before{content:"󰱪"}.mdi-emoticon-confused:before{content:"󱃞"}.mdi-emoticon-confused-outline:before{content:"󱃟"}.mdi-emoticon-cool:before{content:"󰱫"}.mdi-emoticon-cool-outline:before{content:"󰇳"}.mdi-emoticon-cry:before{content:"󰱬"}.mdi-emoticon-cry-outline:before{content:"󰱭"}.mdi-emoticon-dead:before{content:"󰱮"}.mdi-emoticon-dead-outline:before{content:"󰚛"}.mdi-emoticon-devil:before{content:"󰱯"}.mdi-emoticon-devil-outline:before{content:"󰇴"}.mdi-emoticon-excited:before{content:"󰱰"}.mdi-emoticon-excited-outline:before{content:"󰚜"}.mdi-emoticon-frown:before{content:"󰽌"}.mdi-emoticon-frown-outline:before{content:"󰽍"}.mdi-emoticon-happy:before{content:"󰱱"}.mdi-emoticon-happy-outline:before{content:"󰇵"}.mdi-emoticon-kiss:before{content:"󰱲"}.mdi-emoticon-kiss-outline:before{content:"󰱳"}.mdi-emoticon-lol:before{content:"󱈔"}.mdi-emoticon-lol-outline:before{content:"󱈕"}.mdi-emoticon-neutral:before{content:"󰱴"}.mdi-emoticon-neutral-outline:before{content:"󰇶"}.mdi-emoticon-outline:before{content:"󰇲"}.mdi-emoticon-poop:before{content:"󰇷"}.mdi-emoticon-poop-outline:before{content:"󰱵"}.mdi-emoticon-sad:before{content:"󰱶"}.mdi-emoticon-sad-outline:before{content:"󰇸"}.mdi-emoticon-sick:before{content:"󱕼"}.mdi-emoticon-sick-outline:before{content:"󱕽"}.mdi-emoticon-tongue:before{content:"󰇹"}.mdi-emoticon-tongue-outline:before{content:"󰱷"}.mdi-emoticon-wink:before{content:"󰱸"}.mdi-emoticon-wink-outline:before{content:"󰱹"}.mdi-engine:before{content:"󰇺"}.mdi-engine-off:before{content:"󰩆"}.mdi-engine-off-outline:before{content:"󰩇"}.mdi-engine-outline:before{content:"󰇻"}.mdi-epsilon:before{content:"󱃠"}.mdi-equal:before{content:"󰇼"}.mdi-equal-box:before{content:"󰇽"}.mdi-equalizer:before{content:"󰺢"}.mdi-equalizer-outline:before{content:"󰺣"}.mdi-eraser:before{content:"󰇾"}.mdi-eraser-variant:before{content:"󰙂"}.mdi-escalator:before{content:"󰇿"}.mdi-escalator-box:before{content:"󱎙"}.mdi-escalator-down:before{content:"󱋀"}.mdi-escalator-up:before{content:"󱊿"}.mdi-eslint:before{content:"󰱺"}.mdi-et:before{content:"󰪳"}.mdi-ethereum:before{content:"󰡪"}.mdi-ethernet:before{content:"󰈀"}.mdi-ethernet-cable:before{content:"󰈁"}.mdi-ethernet-cable-off:before{content:"󰈂"}.mdi-ev-plug-ccs1:before{content:"󱔙"}.mdi-ev-plug-ccs2:before{content:"󱔚"}.mdi-ev-plug-chademo:before{content:"󱔛"}.mdi-ev-plug-tesla:before{content:"󱔜"}.mdi-ev-plug-type1:before{content:"󱔝"}.mdi-ev-plug-type2:before{content:"󱔞"}.mdi-ev-station:before{content:"󰗱"}.mdi-evernote:before{content:"󰈄"}.mdi-excavator:before{content:"󱀥"}.mdi-exclamation:before{content:"󰈅"}.mdi-exclamation-thick:before{content:"󱈸"}.mdi-exit-run:before{content:"󰩈"}.mdi-exit-to-app:before{content:"󰈆"}.mdi-expand-all:before{content:"󰪴"}.mdi-expand-all-outline:before{content:"󰪵"}.mdi-expansion-card:before{content:"󰢮"}.mdi-expansion-card-variant:before{content:"󰾲"}.mdi-exponent:before{content:"󰥣"}.mdi-exponent-box:before{content:"󰥤"}.mdi-export:before{content:"󰈇"}.mdi-export-variant:before{content:"󰮓"}.mdi-eye:before{content:"󰈈"}.mdi-eye-arrow-left:before{content:"󱣽"}.mdi-eye-arrow-left-outline:before{content:"󱣾"}.mdi-eye-arrow-right:before{content:"󱣿"}.mdi-eye-arrow-right-outline:before{content:"󱤀"}.mdi-eye-check:before{content:"󰴄"}.mdi-eye-check-outline:before{content:"󰴅"}.mdi-eye-circle:before{content:"󰮔"}.mdi-eye-circle-outline:before{content:"󰮕"}.mdi-eye-lock:before{content:"󱰆"}.mdi-eye-lock-open:before{content:"󱰇"}.mdi-eye-lock-open-outline:before{content:"󱰈"}.mdi-eye-lock-outline:before{content:"󱰉"}.mdi-eye-minus:before{content:"󱀦"}.mdi-eye-minus-outline:before{content:"󱀧"}.mdi-eye-off:before{content:"󰈉"}.mdi-eye-off-outline:before{content:"󰛑"}.mdi-eye-outline:before{content:"󰛐"}.mdi-eye-plus:before{content:"󰡫"}.mdi-eye-plus-outline:before{content:"󰡬"}.mdi-eye-refresh:before{content:"󱥼"}.mdi-eye-refresh-outline:before{content:"󱥽"}.mdi-eye-remove:before{content:"󱗣"}.mdi-eye-remove-outline:before{content:"󱗤"}.mdi-eye-settings:before{content:"󰡭"}.mdi-eye-settings-outline:before{content:"󰡮"}.mdi-eyedropper:before{content:"󰈊"}.mdi-eyedropper-minus:before{content:"󱏝"}.mdi-eyedropper-off:before{content:"󱏟"}.mdi-eyedropper-plus:before{content:"󱏜"}.mdi-eyedropper-remove:before{content:"󱏞"}.mdi-eyedropper-variant:before{content:"󰈋"}.mdi-face-agent:before{content:"󰵰"}.mdi-face-man:before{content:"󰙃"}.mdi-face-man-outline:before{content:"󰮖"}.mdi-face-man-profile:before{content:"󰙄"}.mdi-face-man-shimmer:before{content:"󱗌"}.mdi-face-man-shimmer-outline:before{content:"󱗍"}.mdi-face-mask:before{content:"󱖆"}.mdi-face-mask-outline:before{content:"󱖇"}.mdi-face-recognition:before{content:"󰱻"}.mdi-face-woman:before{content:"󱁷"}.mdi-face-woman-outline:before{content:"󱁸"}.mdi-face-woman-profile:before{content:"󱁶"}.mdi-face-woman-shimmer:before{content:"󱗎"}.mdi-face-woman-shimmer-outline:before{content:"󱗏"}.mdi-facebook:before{content:"󰈌"}.mdi-facebook-gaming:before{content:"󰟝"}.mdi-facebook-messenger:before{content:"󰈎"}.mdi-facebook-workplace:before{content:"󰬱"}.mdi-factory:before{content:"󰈏"}.mdi-family-tree:before{content:"󱘎"}.mdi-fan:before{content:"󰈐"}.mdi-fan-alert:before{content:"󱑬"}.mdi-fan-auto:before{content:"󱜝"}.mdi-fan-chevron-down:before{content:"󱑭"}.mdi-fan-chevron-up:before{content:"󱑮"}.mdi-fan-clock:before{content:"󱨺"}.mdi-fan-minus:before{content:"󱑰"}.mdi-fan-off:before{content:"󰠝"}.mdi-fan-plus:before{content:"󱑯"}.mdi-fan-remove:before{content:"󱑱"}.mdi-fan-speed-1:before{content:"󱑲"}.mdi-fan-speed-2:before{content:"󱑳"}.mdi-fan-speed-3:before{content:"󱑴"}.mdi-fast-forward:before{content:"󰈑"}.mdi-fast-forward-10:before{content:"󰵱"}.mdi-fast-forward-15:before{content:"󱤺"}.mdi-fast-forward-30:before{content:"󰴆"}.mdi-fast-forward-45:before{content:"󱬒"}.mdi-fast-forward-5:before{content:"󱇸"}.mdi-fast-forward-60:before{content:"󱘋"}.mdi-fast-forward-outline:before{content:"󰛒"}.mdi-faucet:before{content:"󱬩"}.mdi-faucet-variant:before{content:"󱬪"}.mdi-fax:before{content:"󰈒"}.mdi-feather:before{content:"󰛓"}.mdi-feature-search:before{content:"󰩉"}.mdi-feature-search-outline:before{content:"󰩊"}.mdi-fedora:before{content:"󰣛"}.mdi-fence:before{content:"󱞚"}.mdi-fence-electric:before{content:"󱟶"}.mdi-fencing:before{content:"󱓁"}.mdi-ferris-wheel:before{content:"󰺤"}.mdi-ferry:before{content:"󰈓"}.mdi-file:before{content:"󰈔"}.mdi-file-account:before{content:"󰜻"}.mdi-file-account-outline:before{content:"󱀨"}.mdi-file-alert:before{content:"󰩋"}.mdi-file-alert-outline:before{content:"󰩌"}.mdi-file-arrow-left-right:before{content:"󱪓"}.mdi-file-arrow-left-right-outline:before{content:"󱪔"}.mdi-file-arrow-up-down:before{content:"󱪕"}.mdi-file-arrow-up-down-outline:before{content:"󱪖"}.mdi-file-cabinet:before{content:"󰪶"}.mdi-file-cad:before{content:"󰻫"}.mdi-file-cad-box:before{content:"󰻬"}.mdi-file-cancel:before{content:"󰷆"}.mdi-file-cancel-outline:before{content:"󰷇"}.mdi-file-certificate:before{content:"󱆆"}.mdi-file-certificate-outline:before{content:"󱆇"}.mdi-file-chart:before{content:"󰈕"}.mdi-file-chart-check:before{content:"󱧆"}.mdi-file-chart-check-outline:before{content:"󱧇"}.mdi-file-chart-outline:before{content:"󱀩"}.mdi-file-check:before{content:"󰈖"}.mdi-file-check-outline:before{content:"󰸩"}.mdi-file-clock:before{content:"󱋡"}.mdi-file-clock-outline:before{content:"󱋢"}.mdi-file-cloud:before{content:"󰈗"}.mdi-file-cloud-outline:before{content:"󱀪"}.mdi-file-code:before{content:"󰈮"}.mdi-file-code-outline:before{content:"󱀫"}.mdi-file-cog:before{content:"󱁻"}.mdi-file-cog-outline:before{content:"󱁼"}.mdi-file-compare:before{content:"󰢪"}.mdi-file-delimited:before{content:"󰈘"}.mdi-file-delimited-outline:before{content:"󰺥"}.mdi-file-document:before{content:"󰈙"}.mdi-file-document-alert:before{content:"󱪗"}.mdi-file-document-alert-outline:before{content:"󱪘"}.mdi-file-document-arrow-right:before{content:"󱰏"}.mdi-file-document-arrow-right-outline:before{content:"󱰐"}.mdi-file-document-check:before{content:"󱪙"}.mdi-file-document-check-outline:before{content:"󱪚"}.mdi-file-document-edit:before{content:"󰷈"}.mdi-file-document-edit-outline:before{content:"󰷉"}.mdi-file-document-minus:before{content:"󱪛"}.mdi-file-document-minus-outline:before{content:"󱪜"}.mdi-file-document-multiple:before{content:"󱔗"}.mdi-file-document-multiple-outline:before{content:"󱔘"}.mdi-file-document-outline:before{content:"󰧮"}.mdi-file-document-plus:before{content:"󱪝"}.mdi-file-document-plus-outline:before{content:"󱪞"}.mdi-file-document-refresh:before{content:"󱱺"}.mdi-file-document-refresh-outline:before{content:"󱱻"}.mdi-file-document-remove:before{content:"󱪟"}.mdi-file-document-remove-outline:before{content:"󱪠"}.mdi-file-download:before{content:"󰥥"}.mdi-file-download-outline:before{content:"󰥦"}.mdi-file-edit:before{content:"󱇧"}.mdi-file-edit-outline:before{content:"󱇨"}.mdi-file-excel:before{content:"󰈛"}.mdi-file-excel-box:before{content:"󰈜"}.mdi-file-excel-box-outline:before{content:"󱀬"}.mdi-file-excel-outline:before{content:"󱀭"}.mdi-file-export:before{content:"󰈝"}.mdi-file-export-outline:before{content:"󱀮"}.mdi-file-eye:before{content:"󰷊"}.mdi-file-eye-outline:before{content:"󰷋"}.mdi-file-find:before{content:"󰈞"}.mdi-file-find-outline:before{content:"󰮗"}.mdi-file-gif-box:before{content:"󰵸"}.mdi-file-hidden:before{content:"󰘓"}.mdi-file-image:before{content:"󰈟"}.mdi-file-image-marker:before{content:"󱝲"}.mdi-file-image-marker-outline:before{content:"󱝳"}.mdi-file-image-minus:before{content:"󱤻"}.mdi-file-image-minus-outline:before{content:"󱤼"}.mdi-file-image-outline:before{content:"󰺰"}.mdi-file-image-plus:before{content:"󱤽"}.mdi-file-image-plus-outline:before{content:"󱤾"}.mdi-file-image-remove:before{content:"󱤿"}.mdi-file-image-remove-outline:before{content:"󱥀"}.mdi-file-import:before{content:"󰈠"}.mdi-file-import-outline:before{content:"󱀯"}.mdi-file-jpg-box:before{content:"󰈥"}.mdi-file-key:before{content:"󱆄"}.mdi-file-key-outline:before{content:"󱆅"}.mdi-file-link:before{content:"󱅷"}.mdi-file-link-outline:before{content:"󱅸"}.mdi-file-lock:before{content:"󰈡"}.mdi-file-lock-open:before{content:"󱧈"}.mdi-file-lock-open-outline:before{content:"󱧉"}.mdi-file-lock-outline:before{content:"󱀰"}.mdi-file-marker:before{content:"󱝴"}.mdi-file-marker-outline:before{content:"󱝵"}.mdi-file-minus:before{content:"󱪡"}.mdi-file-minus-outline:before{content:"󱪢"}.mdi-file-move:before{content:"󰪹"}.mdi-file-move-outline:before{content:"󱀱"}.mdi-file-multiple:before{content:"󰈢"}.mdi-file-multiple-outline:before{content:"󱀲"}.mdi-file-music:before{content:"󰈣"}.mdi-file-music-outline:before{content:"󰸪"}.mdi-file-outline:before{content:"󰈤"}.mdi-file-pdf-box:before{content:"󰈦"}.mdi-file-percent:before{content:"󰠞"}.mdi-file-percent-outline:before{content:"󱀳"}.mdi-file-phone:before{content:"󱅹"}.mdi-file-phone-outline:before{content:"󱅺"}.mdi-file-plus:before{content:"󰝒"}.mdi-file-plus-outline:before{content:"󰻭"}.mdi-file-png-box:before{content:"󰸭"}.mdi-file-powerpoint:before{content:"󰈧"}.mdi-file-powerpoint-box:before{content:"󰈨"}.mdi-file-powerpoint-box-outline:before{content:"󱀴"}.mdi-file-powerpoint-outline:before{content:"󱀵"}.mdi-file-presentation-box:before{content:"󰈩"}.mdi-file-question:before{content:"󰡯"}.mdi-file-question-outline:before{content:"󱀶"}.mdi-file-refresh:before{content:"󰤘"}.mdi-file-refresh-outline:before{content:"󰕁"}.mdi-file-remove:before{content:"󰮘"}.mdi-file-remove-outline:before{content:"󱀷"}.mdi-file-replace:before{content:"󰬲"}.mdi-file-replace-outline:before{content:"󰬳"}.mdi-file-restore:before{content:"󰙰"}.mdi-file-restore-outline:before{content:"󱀸"}.mdi-file-rotate-left:before{content:"󱨻"}.mdi-file-rotate-left-outline:before{content:"󱨼"}.mdi-file-rotate-right:before{content:"󱨽"}.mdi-file-rotate-right-outline:before{content:"󱨾"}.mdi-file-search:before{content:"󰱼"}.mdi-file-search-outline:before{content:"󰱽"}.mdi-file-send:before{content:"󰈪"}.mdi-file-send-outline:before{content:"󱀹"}.mdi-file-settings:before{content:"󱁹"}.mdi-file-settings-outline:before{content:"󱁺"}.mdi-file-sign:before{content:"󱧃"}.mdi-file-star:before{content:"󱀺"}.mdi-file-star-four-points:before{content:"󱰭"}.mdi-file-star-four-points-outline:before{content:"󱰮"}.mdi-file-star-outline:before{content:"󱀻"}.mdi-file-swap:before{content:"󰾴"}.mdi-file-swap-outline:before{content:"󰾵"}.mdi-file-sync:before{content:"󱈖"}.mdi-file-sync-outline:before{content:"󱈗"}.mdi-file-table:before{content:"󰱾"}.mdi-file-table-box:before{content:"󱃡"}.mdi-file-table-box-multiple:before{content:"󱃢"}.mdi-file-table-box-multiple-outline:before{content:"󱃣"}.mdi-file-table-box-outline:before{content:"󱃤"}.mdi-file-table-outline:before{content:"󰱿"}.mdi-file-tree:before{content:"󰙅"}.mdi-file-tree-outline:before{content:"󱏒"}.mdi-file-undo:before{content:"󰣜"}.mdi-file-undo-outline:before{content:"󱀼"}.mdi-file-upload:before{content:"󰩍"}.mdi-file-upload-outline:before{content:"󰩎"}.mdi-file-video:before{content:"󰈫"}.mdi-file-video-outline:before{content:"󰸬"}.mdi-file-word:before{content:"󰈬"}.mdi-file-word-box:before{content:"󰈭"}.mdi-file-word-box-outline:before{content:"󱀽"}.mdi-file-word-outline:before{content:"󱀾"}.mdi-file-xml-box:before{content:"󱭋"}.mdi-film:before{content:"󰈯"}.mdi-filmstrip:before{content:"󰈰"}.mdi-filmstrip-box:before{content:"󰌲"}.mdi-filmstrip-box-multiple:before{content:"󰴘"}.mdi-filmstrip-off:before{content:"󰈱"}.mdi-filter:before{content:"󰈲"}.mdi-filter-check:before{content:"󱣬"}.mdi-filter-check-outline:before{content:"󱣭"}.mdi-filter-cog:before{content:"󱪣"}.mdi-filter-cog-outline:before{content:"󱪤"}.mdi-filter-menu:before{content:"󱃥"}.mdi-filter-menu-outline:before{content:"󱃦"}.mdi-filter-minus:before{content:"󰻮"}.mdi-filter-minus-outline:before{content:"󰻯"}.mdi-filter-multiple:before{content:"󱨿"}.mdi-filter-multiple-outline:before{content:"󱩀"}.mdi-filter-off:before{content:"󱓯"}.mdi-filter-off-outline:before{content:"󱓰"}.mdi-filter-outline:before{content:"󰈳"}.mdi-filter-plus:before{content:"󰻰"}.mdi-filter-plus-outline:before{content:"󰻱"}.mdi-filter-remove:before{content:"󰈴"}.mdi-filter-remove-outline:before{content:"󰈵"}.mdi-filter-settings:before{content:"󱪥"}.mdi-filter-settings-outline:before{content:"󱪦"}.mdi-filter-variant:before{content:"󰈶"}.mdi-filter-variant-minus:before{content:"󱄒"}.mdi-filter-variant-plus:before{content:"󱄓"}.mdi-filter-variant-remove:before{content:"󱀿"}.mdi-finance:before{content:"󰠟"}.mdi-find-replace:before{content:"󰛔"}.mdi-fingerprint:before{content:"󰈷"}.mdi-fingerprint-off:before{content:"󰺱"}.mdi-fire:before{content:"󰈸"}.mdi-fire-alert:before{content:"󱗗"}.mdi-fire-circle:before{content:"󱠇"}.mdi-fire-extinguisher:before{content:"󰻲"}.mdi-fire-hydrant:before{content:"󱄷"}.mdi-fire-hydrant-alert:before{content:"󱄸"}.mdi-fire-hydrant-off:before{content:"󱄹"}.mdi-fire-off:before{content:"󱜢"}.mdi-fire-truck:before{content:"󰢫"}.mdi-firebase:before{content:"󰥧"}.mdi-firefox:before{content:"󰈹"}.mdi-fireplace:before{content:"󰸮"}.mdi-fireplace-off:before{content:"󰸯"}.mdi-firewire:before{content:"󰖾"}.mdi-firework:before{content:"󰸰"}.mdi-firework-off:before{content:"󱜣"}.mdi-fish:before{content:"󰈺"}.mdi-fish-off:before{content:"󱏳"}.mdi-fishbowl:before{content:"󰻳"}.mdi-fishbowl-outline:before{content:"󰻴"}.mdi-fit-to-page:before{content:"󰻵"}.mdi-fit-to-page-outline:before{content:"󰻶"}.mdi-fit-to-screen:before{content:"󱣴"}.mdi-fit-to-screen-outline:before{content:"󱣵"}.mdi-flag:before{content:"󰈻"}.mdi-flag-checkered:before{content:"󰈼"}.mdi-flag-minus:before{content:"󰮙"}.mdi-flag-minus-outline:before{content:"󱂲"}.mdi-flag-off:before{content:"󱣮"}.mdi-flag-off-outline:before{content:"󱣯"}.mdi-flag-outline:before{content:"󰈽"}.mdi-flag-plus:before{content:"󰮚"}.mdi-flag-plus-outline:before{content:"󱂳"}.mdi-flag-remove:before{content:"󰮛"}.mdi-flag-remove-outline:before{content:"󱂴"}.mdi-flag-triangle:before{content:"󰈿"}.mdi-flag-variant:before{content:"󰉀"}.mdi-flag-variant-minus:before{content:"󱮴"}.mdi-flag-variant-minus-outline:before{content:"󱮵"}.mdi-flag-variant-off:before{content:"󱮰"}.mdi-flag-variant-off-outline:before{content:"󱮱"}.mdi-flag-variant-outline:before{content:"󰈾"}.mdi-flag-variant-plus:before{content:"󱮲"}.mdi-flag-variant-plus-outline:before{content:"󱮳"}.mdi-flag-variant-remove:before{content:"󱮶"}.mdi-flag-variant-remove-outline:before{content:"󱮷"}.mdi-flare:before{content:"󰵲"}.mdi-flash:before{content:"󰉁"}.mdi-flash-alert:before{content:"󰻷"}.mdi-flash-alert-outline:before{content:"󰻸"}.mdi-flash-auto:before{content:"󰉂"}.mdi-flash-off:before{content:"󰉃"}.mdi-flash-off-outline:before{content:"󱭅"}.mdi-flash-outline:before{content:"󰛕"}.mdi-flash-red-eye:before{content:"󰙻"}.mdi-flash-triangle:before{content:"󱬝"}.mdi-flash-triangle-outline:before{content:"󱬞"}.mdi-flashlight:before{content:"󰉄"}.mdi-flashlight-off:before{content:"󰉅"}.mdi-flask:before{content:"󰂓"}.mdi-flask-empty:before{content:"󰂔"}.mdi-flask-empty-minus:before{content:"󱈺"}.mdi-flask-empty-minus-outline:before{content:"󱈻"}.mdi-flask-empty-off:before{content:"󱏴"}.mdi-flask-empty-off-outline:before{content:"󱏵"}.mdi-flask-empty-outline:before{content:"󰂕"}.mdi-flask-empty-plus:before{content:"󱈼"}.mdi-flask-empty-plus-outline:before{content:"󱈽"}.mdi-flask-empty-remove:before{content:"󱈾"}.mdi-flask-empty-remove-outline:before{content:"󱈿"}.mdi-flask-minus:before{content:"󱉀"}.mdi-flask-minus-outline:before{content:"󱉁"}.mdi-flask-off:before{content:"󱏶"}.mdi-flask-off-outline:before{content:"󱏷"}.mdi-flask-outline:before{content:"󰂖"}.mdi-flask-plus:before{content:"󱉂"}.mdi-flask-plus-outline:before{content:"󱉃"}.mdi-flask-remove:before{content:"󱉄"}.mdi-flask-remove-outline:before{content:"󱉅"}.mdi-flask-round-bottom:before{content:"󱉋"}.mdi-flask-round-bottom-empty:before{content:"󱉌"}.mdi-flask-round-bottom-empty-outline:before{content:"󱉍"}.mdi-flask-round-bottom-outline:before{content:"󱉎"}.mdi-fleur-de-lis:before{content:"󱌃"}.mdi-flip-horizontal:before{content:"󱃧"}.mdi-flip-to-back:before{content:"󰉇"}.mdi-flip-to-front:before{content:"󰉈"}.mdi-flip-vertical:before{content:"󱃨"}.mdi-floor-lamp:before{content:"󰣝"}.mdi-floor-lamp-dual:before{content:"󱁀"}.mdi-floor-lamp-dual-outline:before{content:"󱟎"}.mdi-floor-lamp-outline:before{content:"󱟈"}.mdi-floor-lamp-torchiere:before{content:"󱝇"}.mdi-floor-lamp-torchiere-outline:before{content:"󱟖"}.mdi-floor-lamp-torchiere-variant:before{content:"󱁁"}.mdi-floor-lamp-torchiere-variant-outline:before{content:"󱟏"}.mdi-floor-plan:before{content:"󰠡"}.mdi-floppy:before{content:"󰉉"}.mdi-floppy-variant:before{content:"󰧯"}.mdi-flower:before{content:"󰉊"}.mdi-flower-outline:before{content:"󰧰"}.mdi-flower-pollen:before{content:"󱢅"}.mdi-flower-pollen-outline:before{content:"󱢆"}.mdi-flower-poppy:before{content:"󰴈"}.mdi-flower-tulip:before{content:"󰧱"}.mdi-flower-tulip-outline:before{content:"󰧲"}.mdi-focus-auto:before{content:"󰽎"}.mdi-focus-field:before{content:"󰽏"}.mdi-focus-field-horizontal:before{content:"󰽐"}.mdi-focus-field-vertical:before{content:"󰽑"}.mdi-folder:before{content:"󰉋"}.mdi-folder-account:before{content:"󰉌"}.mdi-folder-account-outline:before{content:"󰮜"}.mdi-folder-alert:before{content:"󰷌"}.mdi-folder-alert-outline:before{content:"󰷍"}.mdi-folder-arrow-down:before{content:"󱧨"}.mdi-folder-arrow-down-outline:before{content:"󱧩"}.mdi-folder-arrow-left:before{content:"󱧪"}.mdi-folder-arrow-left-outline:before{content:"󱧫"}.mdi-folder-arrow-left-right:before{content:"󱧬"}.mdi-folder-arrow-left-right-outline:before{content:"󱧭"}.mdi-folder-arrow-right:before{content:"󱧮"}.mdi-folder-arrow-right-outline:before{content:"󱧯"}.mdi-folder-arrow-up:before{content:"󱧰"}.mdi-folder-arrow-up-down:before{content:"󱧱"}.mdi-folder-arrow-up-down-outline:before{content:"󱧲"}.mdi-folder-arrow-up-outline:before{content:"󱧳"}.mdi-folder-cancel:before{content:"󱧴"}.mdi-folder-cancel-outline:before{content:"󱧵"}.mdi-folder-check:before{content:"󱥾"}.mdi-folder-check-outline:before{content:"󱥿"}.mdi-folder-clock:before{content:"󰪺"}.mdi-folder-clock-outline:before{content:"󰪻"}.mdi-folder-cog:before{content:"󱁿"}.mdi-folder-cog-outline:before{content:"󱂀"}.mdi-folder-download:before{content:"󰉍"}.mdi-folder-download-outline:before{content:"󱃩"}.mdi-folder-edit:before{content:"󰣞"}.mdi-folder-edit-outline:before{content:"󰷎"}.mdi-folder-eye:before{content:"󱞊"}.mdi-folder-eye-outline:before{content:"󱞋"}.mdi-folder-file:before{content:"󱧶"}.mdi-folder-file-outline:before{content:"󱧷"}.mdi-folder-google-drive:before{content:"󰉎"}.mdi-folder-heart:before{content:"󱃪"}.mdi-folder-heart-outline:before{content:"󱃫"}.mdi-folder-hidden:before{content:"󱞞"}.mdi-folder-home:before{content:"󱂵"}.mdi-folder-home-outline:before{content:"󱂶"}.mdi-folder-image:before{content:"󰉏"}.mdi-folder-information:before{content:"󱂷"}.mdi-folder-information-outline:before{content:"󱂸"}.mdi-folder-key:before{content:"󰢬"}.mdi-folder-key-network:before{content:"󰢭"}.mdi-folder-key-network-outline:before{content:"󰲀"}.mdi-folder-key-outline:before{content:"󱃬"}.mdi-folder-lock:before{content:"󰉐"}.mdi-folder-lock-open:before{content:"󰉑"}.mdi-folder-lock-open-outline:before{content:"󱪧"}.mdi-folder-lock-outline:before{content:"󱪨"}.mdi-folder-marker:before{content:"󱉭"}.mdi-folder-marker-outline:before{content:"󱉮"}.mdi-folder-minus:before{content:"󱭉"}.mdi-folder-minus-outline:before{content:"󱭊"}.mdi-folder-move:before{content:"󰉒"}.mdi-folder-move-outline:before{content:"󱉆"}.mdi-folder-multiple:before{content:"󰉓"}.mdi-folder-multiple-image:before{content:"󰉔"}.mdi-folder-multiple-outline:before{content:"󰉕"}.mdi-folder-multiple-plus:before{content:"󱑾"}.mdi-folder-multiple-plus-outline:before{content:"󱑿"}.mdi-folder-music:before{content:"󱍙"}.mdi-folder-music-outline:before{content:"󱍚"}.mdi-folder-network:before{content:"󰡰"}.mdi-folder-network-outline:before{content:"󰲁"}.mdi-folder-off:before{content:"󱧸"}.mdi-folder-off-outline:before{content:"󱧹"}.mdi-folder-open:before{content:"󰝰"}.mdi-folder-open-outline:before{content:"󰷏"}.mdi-folder-outline:before{content:"󰉖"}.mdi-folder-play:before{content:"󱧺"}.mdi-folder-play-outline:before{content:"󱧻"}.mdi-folder-plus:before{content:"󰉗"}.mdi-folder-plus-outline:before{content:"󰮝"}.mdi-folder-pound:before{content:"󰴉"}.mdi-folder-pound-outline:before{content:"󰴊"}.mdi-folder-question:before{content:"󱧊"}.mdi-folder-question-outline:before{content:"󱧋"}.mdi-folder-refresh:before{content:"󰝉"}.mdi-folder-refresh-outline:before{content:"󰕂"}.mdi-folder-remove:before{content:"󰉘"}.mdi-folder-remove-outline:before{content:"󰮞"}.mdi-folder-search:before{content:"󰥨"}.mdi-folder-search-outline:before{content:"󰥩"}.mdi-folder-settings:before{content:"󱁽"}.mdi-folder-settings-outline:before{content:"󱁾"}.mdi-folder-star:before{content:"󰚝"}.mdi-folder-star-multiple:before{content:"󱏓"}.mdi-folder-star-multiple-outline:before{content:"󱏔"}.mdi-folder-star-outline:before{content:"󰮟"}.mdi-folder-swap:before{content:"󰾶"}.mdi-folder-swap-outline:before{content:"󰾷"}.mdi-folder-sync:before{content:"󰴋"}.mdi-folder-sync-outline:before{content:"󰴌"}.mdi-folder-table:before{content:"󱋣"}.mdi-folder-table-outline:before{content:"󱋤"}.mdi-folder-text:before{content:"󰲂"}.mdi-folder-text-outline:before{content:"󰲃"}.mdi-folder-upload:before{content:"󰉙"}.mdi-folder-upload-outline:before{content:"󱃭"}.mdi-folder-wrench:before{content:"󱧼"}.mdi-folder-wrench-outline:before{content:"󱧽"}.mdi-folder-zip:before{content:"󰛫"}.mdi-folder-zip-outline:before{content:"󰞹"}.mdi-font-awesome:before{content:"󰀺"}.mdi-food:before{content:"󰉚"}.mdi-food-apple:before{content:"󰉛"}.mdi-food-apple-outline:before{content:"󰲄"}.mdi-food-croissant:before{content:"󰟈"}.mdi-food-drumstick:before{content:"󱐟"}.mdi-food-drumstick-off:before{content:"󱑨"}.mdi-food-drumstick-off-outline:before{content:"󱑩"}.mdi-food-drumstick-outline:before{content:"󱐠"}.mdi-food-fork-drink:before{content:"󰗲"}.mdi-food-halal:before{content:"󱕲"}.mdi-food-hot-dog:before{content:"󱡋"}.mdi-food-kosher:before{content:"󱕳"}.mdi-food-off:before{content:"󰗳"}.mdi-food-off-outline:before{content:"󱤕"}.mdi-food-outline:before{content:"󱤖"}.mdi-food-steak:before{content:"󱑪"}.mdi-food-steak-off:before{content:"󱑫"}.mdi-food-takeout-box:before{content:"󱠶"}.mdi-food-takeout-box-outline:before{content:"󱠷"}.mdi-food-turkey:before{content:"󱜜"}.mdi-food-variant:before{content:"󰉜"}.mdi-food-variant-off:before{content:"󱏥"}.mdi-foot-print:before{content:"󰽒"}.mdi-football:before{content:"󰉝"}.mdi-football-australian:before{content:"󰉞"}.mdi-football-helmet:before{content:"󰉟"}.mdi-forest:before{content:"󱢗"}.mdi-forest-outline:before{content:"󱱣"}.mdi-forklift:before{content:"󰟉"}.mdi-form-dropdown:before{content:"󱐀"}.mdi-form-select:before{content:"󱐁"}.mdi-form-textarea:before{content:"󱂕"}.mdi-form-textbox:before{content:"󰘎"}.mdi-form-textbox-lock:before{content:"󱍝"}.mdi-form-textbox-password:before{content:"󰟵"}.mdi-format-align-bottom:before{content:"󰝓"}.mdi-format-align-center:before{content:"󰉠"}.mdi-format-align-justify:before{content:"󰉡"}.mdi-format-align-left:before{content:"󰉢"}.mdi-format-align-middle:before{content:"󰝔"}.mdi-format-align-right:before{content:"󰉣"}.mdi-format-align-top:before{content:"󰝕"}.mdi-format-annotation-minus:before{content:"󰪼"}.mdi-format-annotation-plus:before{content:"󰙆"}.mdi-format-bold:before{content:"󰉤"}.mdi-format-clear:before{content:"󰉥"}.mdi-format-color-fill:before{content:"󰉦"}.mdi-format-color-highlight:before{content:"󰸱"}.mdi-format-color-marker-cancel:before{content:"󱌓"}.mdi-format-color-text:before{content:"󰚞"}.mdi-format-columns:before{content:"󰣟"}.mdi-format-float-center:before{content:"󰉧"}.mdi-format-float-left:before{content:"󰉨"}.mdi-format-float-none:before{content:"󰉩"}.mdi-format-float-right:before{content:"󰉪"}.mdi-format-font:before{content:"󰛖"}.mdi-format-font-size-decrease:before{content:"󰧳"}.mdi-format-font-size-increase:before{content:"󰧴"}.mdi-format-header-1:before{content:"󰉫"}.mdi-format-header-2:before{content:"󰉬"}.mdi-format-header-3:before{content:"󰉭"}.mdi-format-header-4:before{content:"󰉮"}.mdi-format-header-5:before{content:"󰉯"}.mdi-format-header-6:before{content:"󰉰"}.mdi-format-header-decrease:before{content:"󰉱"}.mdi-format-header-equal:before{content:"󰉲"}.mdi-format-header-increase:before{content:"󰉳"}.mdi-format-header-pound:before{content:"󰉴"}.mdi-format-horizontal-align-center:before{content:"󰘞"}.mdi-format-horizontal-align-left:before{content:"󰘟"}.mdi-format-horizontal-align-right:before{content:"󰘠"}.mdi-format-indent-decrease:before{content:"󰉵"}.mdi-format-indent-increase:before{content:"󰉶"}.mdi-format-italic:before{content:"󰉷"}.mdi-format-letter-case:before{content:"󰬴"}.mdi-format-letter-case-lower:before{content:"󰬵"}.mdi-format-letter-case-upper:before{content:"󰬶"}.mdi-format-letter-ends-with:before{content:"󰾸"}.mdi-format-letter-matches:before{content:"󰾹"}.mdi-format-letter-spacing:before{content:"󱥖"}.mdi-format-letter-spacing-variant:before{content:"󱫻"}.mdi-format-letter-starts-with:before{content:"󰾺"}.mdi-format-line-height:before{content:"󱫼"}.mdi-format-line-spacing:before{content:"󰉸"}.mdi-format-line-style:before{content:"󰗈"}.mdi-format-line-weight:before{content:"󰗉"}.mdi-format-list-bulleted:before{content:"󰉹"}.mdi-format-list-bulleted-square:before{content:"󰷐"}.mdi-format-list-bulleted-triangle:before{content:"󰺲"}.mdi-format-list-bulleted-type:before{content:"󰉺"}.mdi-format-list-checkbox:before{content:"󰥪"}.mdi-format-list-checks:before{content:"󰝖"}.mdi-format-list-group:before{content:"󱡠"}.mdi-format-list-group-plus:before{content:"󱭖"}.mdi-format-list-numbered:before{content:"󰉻"}.mdi-format-list-numbered-rtl:before{content:"󰴍"}.mdi-format-list-text:before{content:"󱉯"}.mdi-format-overline:before{content:"󰺳"}.mdi-format-page-break:before{content:"󰛗"}.mdi-format-page-split:before{content:"󱤗"}.mdi-format-paint:before{content:"󰉼"}.mdi-format-paragraph:before{content:"󰉽"}.mdi-format-paragraph-spacing:before{content:"󱫽"}.mdi-format-pilcrow:before{content:"󰛘"}.mdi-format-pilcrow-arrow-left:before{content:"󰊆"}.mdi-format-pilcrow-arrow-right:before{content:"󰊅"}.mdi-format-quote-close:before{content:"󰉾"}.mdi-format-quote-close-outline:before{content:"󱆨"}.mdi-format-quote-open:before{content:"󰝗"}.mdi-format-quote-open-outline:before{content:"󱆧"}.mdi-format-rotate-90:before{content:"󰚪"}.mdi-format-section:before{content:"󰚟"}.mdi-format-size:before{content:"󰉿"}.mdi-format-strikethrough:before{content:"󰊀"}.mdi-format-strikethrough-variant:before{content:"󰊁"}.mdi-format-subscript:before{content:"󰊂"}.mdi-format-superscript:before{content:"󰊃"}.mdi-format-text:before{content:"󰊄"}.mdi-format-text-rotation-angle-down:before{content:"󰾻"}.mdi-format-text-rotation-angle-up:before{content:"󰾼"}.mdi-format-text-rotation-down:before{content:"󰵳"}.mdi-format-text-rotation-down-vertical:before{content:"󰾽"}.mdi-format-text-rotation-none:before{content:"󰵴"}.mdi-format-text-rotation-up:before{content:"󰾾"}.mdi-format-text-rotation-vertical:before{content:"󰾿"}.mdi-format-text-variant:before{content:"󰸲"}.mdi-format-text-variant-outline:before{content:"󱔏"}.mdi-format-text-wrapping-clip:before{content:"󰴎"}.mdi-format-text-wrapping-overflow:before{content:"󰴏"}.mdi-format-text-wrapping-wrap:before{content:"󰴐"}.mdi-format-textbox:before{content:"󰴑"}.mdi-format-title:before{content:"󰗴"}.mdi-format-underline:before{content:"󰊇"}.mdi-format-underline-wavy:before{content:"󱣩"}.mdi-format-vertical-align-bottom:before{content:"󰘡"}.mdi-format-vertical-align-center:before{content:"󰘢"}.mdi-format-vertical-align-top:before{content:"󰘣"}.mdi-format-wrap-inline:before{content:"󰊈"}.mdi-format-wrap-square:before{content:"󰊉"}.mdi-format-wrap-tight:before{content:"󰊊"}.mdi-format-wrap-top-bottom:before{content:"󰊋"}.mdi-forum:before{content:"󰊌"}.mdi-forum-minus:before{content:"󱪩"}.mdi-forum-minus-outline:before{content:"󱪪"}.mdi-forum-outline:before{content:"󰠢"}.mdi-forum-plus:before{content:"󱪫"}.mdi-forum-plus-outline:before{content:"󱪬"}.mdi-forum-remove:before{content:"󱪭"}.mdi-forum-remove-outline:before{content:"󱪮"}.mdi-forward:before{content:"󰊍"}.mdi-forwardburger:before{content:"󰵵"}.mdi-fountain:before{content:"󰥫"}.mdi-fountain-pen:before{content:"󰴒"}.mdi-fountain-pen-tip:before{content:"󰴓"}.mdi-fraction-one-half:before{content:"󱦒"}.mdi-freebsd:before{content:"󰣠"}.mdi-french-fries:before{content:"󱥗"}.mdi-frequently-asked-questions:before{content:"󰺴"}.mdi-fridge:before{content:"󰊐"}.mdi-fridge-alert:before{content:"󱆱"}.mdi-fridge-alert-outline:before{content:"󱆲"}.mdi-fridge-bottom:before{content:"󰊒"}.mdi-fridge-industrial:before{content:"󱗮"}.mdi-fridge-industrial-alert:before{content:"󱗯"}.mdi-fridge-industrial-alert-outline:before{content:"󱗰"}.mdi-fridge-industrial-off:before{content:"󱗱"}.mdi-fridge-industrial-off-outline:before{content:"󱗲"}.mdi-fridge-industrial-outline:before{content:"󱗳"}.mdi-fridge-off:before{content:"󱆯"}.mdi-fridge-off-outline:before{content:"󱆰"}.mdi-fridge-outline:before{content:"󰊏"}.mdi-fridge-top:before{content:"󰊑"}.mdi-fridge-variant:before{content:"󱗴"}.mdi-fridge-variant-alert:before{content:"󱗵"}.mdi-fridge-variant-alert-outline:before{content:"󱗶"}.mdi-fridge-variant-off:before{content:"󱗷"}.mdi-fridge-variant-off-outline:before{content:"󱗸"}.mdi-fridge-variant-outline:before{content:"󱗹"}.mdi-fruit-cherries:before{content:"󱁂"}.mdi-fruit-cherries-off:before{content:"󱏸"}.mdi-fruit-citrus:before{content:"󱁃"}.mdi-fruit-citrus-off:before{content:"󱏹"}.mdi-fruit-grapes:before{content:"󱁄"}.mdi-fruit-grapes-outline:before{content:"󱁅"}.mdi-fruit-pear:before{content:"󱨎"}.mdi-fruit-pineapple:before{content:"󱁆"}.mdi-fruit-watermelon:before{content:"󱁇"}.mdi-fuel:before{content:"󰟊"}.mdi-fuel-cell:before{content:"󱢵"}.mdi-fullscreen:before{content:"󰊓"}.mdi-fullscreen-exit:before{content:"󰊔"}.mdi-function:before{content:"󰊕"}.mdi-function-variant:before{content:"󰡱"}.mdi-furigana-horizontal:before{content:"󱂁"}.mdi-furigana-vertical:before{content:"󱂂"}.mdi-fuse:before{content:"󰲅"}.mdi-fuse-alert:before{content:"󱐭"}.mdi-fuse-blade:before{content:"󰲆"}.mdi-fuse-off:before{content:"󱐬"}.mdi-gamepad:before{content:"󰊖"}.mdi-gamepad-circle:before{content:"󰸳"}.mdi-gamepad-circle-down:before{content:"󰸴"}.mdi-gamepad-circle-left:before{content:"󰸵"}.mdi-gamepad-circle-outline:before{content:"󰸶"}.mdi-gamepad-circle-right:before{content:"󰸷"}.mdi-gamepad-circle-up:before{content:"󰸸"}.mdi-gamepad-down:before{content:"󰸹"}.mdi-gamepad-left:before{content:"󰸺"}.mdi-gamepad-outline:before{content:"󱤙"}.mdi-gamepad-right:before{content:"󰸻"}.mdi-gamepad-round:before{content:"󰸼"}.mdi-gamepad-round-down:before{content:"󰸽"}.mdi-gamepad-round-left:before{content:"󰸾"}.mdi-gamepad-round-outline:before{content:"󰸿"}.mdi-gamepad-round-right:before{content:"󰹀"}.mdi-gamepad-round-up:before{content:"󰹁"}.mdi-gamepad-square:before{content:"󰺵"}.mdi-gamepad-square-outline:before{content:"󰺶"}.mdi-gamepad-up:before{content:"󰹂"}.mdi-gamepad-variant:before{content:"󰊗"}.mdi-gamepad-variant-outline:before{content:"󰺷"}.mdi-gamma:before{content:"󱃮"}.mdi-gantry-crane:before{content:"󰷑"}.mdi-garage:before{content:"󰛙"}.mdi-garage-alert:before{content:"󰡲"}.mdi-garage-alert-variant:before{content:"󱋕"}.mdi-garage-lock:before{content:"󱟻"}.mdi-garage-open:before{content:"󰛚"}.mdi-garage-open-variant:before{content:"󱋔"}.mdi-garage-variant:before{content:"󱋓"}.mdi-garage-variant-lock:before{content:"󱟼"}.mdi-gas-burner:before{content:"󱨛"}.mdi-gas-cylinder:before{content:"󰙇"}.mdi-gas-station:before{content:"󰊘"}.mdi-gas-station-off:before{content:"󱐉"}.mdi-gas-station-off-outline:before{content:"󱐊"}.mdi-gas-station-outline:before{content:"󰺸"}.mdi-gate:before{content:"󰊙"}.mdi-gate-alert:before{content:"󱟸"}.mdi-gate-and:before{content:"󰣡"}.mdi-gate-arrow-left:before{content:"󱟷"}.mdi-gate-arrow-right:before{content:"󱅩"}.mdi-gate-buffer:before{content:"󱫾"}.mdi-gate-nand:before{content:"󰣢"}.mdi-gate-nor:before{content:"󰣣"}.mdi-gate-not:before{content:"󰣤"}.mdi-gate-open:before{content:"󱅪"}.mdi-gate-or:before{content:"󰣥"}.mdi-gate-xnor:before{content:"󰣦"}.mdi-gate-xor:before{content:"󰣧"}.mdi-gatsby:before{content:"󰹃"}.mdi-gauge:before{content:"󰊚"}.mdi-gauge-empty:before{content:"󰡳"}.mdi-gauge-full:before{content:"󰡴"}.mdi-gauge-low:before{content:"󰡵"}.mdi-gavel:before{content:"󰊛"}.mdi-gender-female:before{content:"󰊜"}.mdi-gender-male:before{content:"󰊝"}.mdi-gender-male-female:before{content:"󰊞"}.mdi-gender-male-female-variant:before{content:"󱄿"}.mdi-gender-non-binary:before{content:"󱅀"}.mdi-gender-transgender:before{content:"󰊟"}.mdi-gentoo:before{content:"󰣨"}.mdi-gesture:before{content:"󰟋"}.mdi-gesture-double-tap:before{content:"󰜼"}.mdi-gesture-pinch:before{content:"󰪽"}.mdi-gesture-spread:before{content:"󰪾"}.mdi-gesture-swipe:before{content:"󰵶"}.mdi-gesture-swipe-down:before{content:"󰜽"}.mdi-gesture-swipe-horizontal:before{content:"󰪿"}.mdi-gesture-swipe-left:before{content:"󰜾"}.mdi-gesture-swipe-right:before{content:"󰜿"}.mdi-gesture-swipe-up:before{content:"󰝀"}.mdi-gesture-swipe-vertical:before{content:"󰫀"}.mdi-gesture-tap:before{content:"󰝁"}.mdi-gesture-tap-box:before{content:"󱊩"}.mdi-gesture-tap-button:before{content:"󱊨"}.mdi-gesture-tap-hold:before{content:"󰵷"}.mdi-gesture-two-double-tap:before{content:"󰝂"}.mdi-gesture-two-tap:before{content:"󰝃"}.mdi-ghost:before{content:"󰊠"}.mdi-ghost-off:before{content:"󰧵"}.mdi-ghost-off-outline:before{content:"󱙜"}.mdi-ghost-outline:before{content:"󱙝"}.mdi-gift:before{content:"󰹄"}.mdi-gift-off:before{content:"󱛯"}.mdi-gift-off-outline:before{content:"󱛰"}.mdi-gift-open:before{content:"󱛱"}.mdi-gift-open-outline:before{content:"󱛲"}.mdi-gift-outline:before{content:"󰊡"}.mdi-git:before{content:"󰊢"}.mdi-github:before{content:"󰊤"}.mdi-gitlab:before{content:"󰮠"}.mdi-glass-cocktail:before{content:"󰍖"}.mdi-glass-cocktail-off:before{content:"󱗦"}.mdi-glass-flute:before{content:"󰊥"}.mdi-glass-fragile:before{content:"󱡳"}.mdi-glass-mug:before{content:"󰊦"}.mdi-glass-mug-off:before{content:"󱗧"}.mdi-glass-mug-variant:before{content:"󱄖"}.mdi-glass-mug-variant-off:before{content:"󱗨"}.mdi-glass-pint-outline:before{content:"󱌍"}.mdi-glass-stange:before{content:"󰊧"}.mdi-glass-tulip:before{content:"󰊨"}.mdi-glass-wine:before{content:"󰡶"}.mdi-glasses:before{content:"󰊪"}.mdi-globe-light:before{content:"󰙯"}.mdi-globe-light-outline:before{content:"󱋗"}.mdi-globe-model:before{content:"󰣩"}.mdi-gmail:before{content:"󰊫"}.mdi-gnome:before{content:"󰊬"}.mdi-go-kart:before{content:"󰵹"}.mdi-go-kart-track:before{content:"󰵺"}.mdi-gog:before{content:"󰮡"}.mdi-gold:before{content:"󱉏"}.mdi-golf:before{content:"󰠣"}.mdi-golf-cart:before{content:"󱆤"}.mdi-golf-tee:before{content:"󱂃"}.mdi-gondola:before{content:"󰚆"}.mdi-goodreads:before{content:"󰵻"}.mdi-google:before{content:"󰊭"}.mdi-google-ads:before{content:"󰲇"}.mdi-google-analytics:before{content:"󰟌"}.mdi-google-assistant:before{content:"󰟍"}.mdi-google-cardboard:before{content:"󰊮"}.mdi-google-chrome:before{content:"󰊯"}.mdi-google-circles:before{content:"󰊰"}.mdi-google-circles-communities:before{content:"󰊱"}.mdi-google-circles-extended:before{content:"󰊲"}.mdi-google-circles-group:before{content:"󰊳"}.mdi-google-classroom:before{content:"󰋀"}.mdi-google-cloud:before{content:"󱇶"}.mdi-google-downasaur:before{content:"󱍢"}.mdi-google-drive:before{content:"󰊶"}.mdi-google-earth:before{content:"󰊷"}.mdi-google-fit:before{content:"󰥬"}.mdi-google-glass:before{content:"󰊸"}.mdi-google-hangouts:before{content:"󰋉"}.mdi-google-keep:before{content:"󰛜"}.mdi-google-lens:before{content:"󰧶"}.mdi-google-maps:before{content:"󰗵"}.mdi-google-my-business:before{content:"󱁈"}.mdi-google-nearby:before{content:"󰊹"}.mdi-google-play:before{content:"󰊼"}.mdi-google-plus:before{content:"󰊽"}.mdi-google-podcast:before{content:"󰺹"}.mdi-google-spreadsheet:before{content:"󰧷"}.mdi-google-street-view:before{content:"󰲈"}.mdi-google-translate:before{content:"󰊿"}.mdi-gradient-horizontal:before{content:"󱝊"}.mdi-gradient-vertical:before{content:"󰚠"}.mdi-grain:before{content:"󰵼"}.mdi-graph:before{content:"󱁉"}.mdi-graph-outline:before{content:"󱁊"}.mdi-graphql:before{content:"󰡷"}.mdi-grass:before{content:"󱔐"}.mdi-grave-stone:before{content:"󰮢"}.mdi-grease-pencil:before{content:"󰙈"}.mdi-greater-than:before{content:"󰥭"}.mdi-greater-than-or-equal:before{content:"󰥮"}.mdi-greenhouse:before{content:"󰀭"}.mdi-grid:before{content:"󰋁"}.mdi-grid-large:before{content:"󰝘"}.mdi-grid-off:before{content:"󰋂"}.mdi-grill:before{content:"󰹅"}.mdi-grill-outline:before{content:"󱆊"}.mdi-group:before{content:"󰋃"}.mdi-guitar-acoustic:before{content:"󰝱"}.mdi-guitar-electric:before{content:"󰋄"}.mdi-guitar-pick:before{content:"󰋅"}.mdi-guitar-pick-outline:before{content:"󰋆"}.mdi-guy-fawkes-mask:before{content:"󰠥"}.mdi-gymnastics:before{content:"󱩁"}.mdi-hail:before{content:"󰫁"}.mdi-hair-dryer:before{content:"󱃯"}.mdi-hair-dryer-outline:before{content:"󱃰"}.mdi-halloween:before{content:"󰮣"}.mdi-hamburger:before{content:"󰚅"}.mdi-hamburger-check:before{content:"󱝶"}.mdi-hamburger-minus:before{content:"󱝷"}.mdi-hamburger-off:before{content:"󱝸"}.mdi-hamburger-plus:before{content:"󱝹"}.mdi-hamburger-remove:before{content:"󱝺"}.mdi-hammer:before{content:"󰣪"}.mdi-hammer-screwdriver:before{content:"󱌢"}.mdi-hammer-sickle:before{content:"󱢇"}.mdi-hammer-wrench:before{content:"󱌣"}.mdi-hand-back-left:before{content:"󰹆"}.mdi-hand-back-left-off:before{content:"󱠰"}.mdi-hand-back-left-off-outline:before{content:"󱠲"}.mdi-hand-back-left-outline:before{content:"󱠬"}.mdi-hand-back-right:before{content:"󰹇"}.mdi-hand-back-right-off:before{content:"󱠱"}.mdi-hand-back-right-off-outline:before{content:"󱠳"}.mdi-hand-back-right-outline:before{content:"󱠭"}.mdi-hand-clap:before{content:"󱥋"}.mdi-hand-clap-off:before{content:"󱩂"}.mdi-hand-coin:before{content:"󱢏"}.mdi-hand-coin-outline:before{content:"󱢐"}.mdi-hand-cycle:before{content:"󱮜"}.mdi-hand-extended:before{content:"󱢶"}.mdi-hand-extended-outline:before{content:"󱢷"}.mdi-hand-front-left:before{content:"󱠫"}.mdi-hand-front-left-outline:before{content:"󱠮"}.mdi-hand-front-right:before{content:"󰩏"}.mdi-hand-front-right-outline:before{content:"󱠯"}.mdi-hand-heart:before{content:"󱃱"}.mdi-hand-heart-outline:before{content:"󱕾"}.mdi-hand-okay:before{content:"󰩐"}.mdi-hand-peace:before{content:"󰩑"}.mdi-hand-peace-variant:before{content:"󰩒"}.mdi-hand-pointing-down:before{content:"󰩓"}.mdi-hand-pointing-left:before{content:"󰩔"}.mdi-hand-pointing-right:before{content:"󰋇"}.mdi-hand-pointing-up:before{content:"󰩕"}.mdi-hand-saw:before{content:"󰹈"}.mdi-hand-wash:before{content:"󱕿"}.mdi-hand-wash-outline:before{content:"󱖀"}.mdi-hand-water:before{content:"󱎟"}.mdi-hand-wave:before{content:"󱠡"}.mdi-hand-wave-outline:before{content:"󱠢"}.mdi-handball:before{content:"󰽓"}.mdi-handcuffs:before{content:"󱄾"}.mdi-hands-pray:before{content:"󰕹"}.mdi-handshake:before{content:"󱈘"}.mdi-handshake-outline:before{content:"󱖡"}.mdi-hanger:before{content:"󰋈"}.mdi-hard-hat:before{content:"󰥯"}.mdi-harddisk:before{content:"󰋊"}.mdi-harddisk-plus:before{content:"󱁋"}.mdi-harddisk-remove:before{content:"󱁌"}.mdi-hat-fedora:before{content:"󰮤"}.mdi-hazard-lights:before{content:"󰲉"}.mdi-hdmi-port:before{content:"󱮸"}.mdi-hdr:before{content:"󰵽"}.mdi-hdr-off:before{content:"󰵾"}.mdi-head:before{content:"󱍞"}.mdi-head-alert:before{content:"󱌸"}.mdi-head-alert-outline:before{content:"󱌹"}.mdi-head-check:before{content:"󱌺"}.mdi-head-check-outline:before{content:"󱌻"}.mdi-head-cog:before{content:"󱌼"}.mdi-head-cog-outline:before{content:"󱌽"}.mdi-head-dots-horizontal:before{content:"󱌾"}.mdi-head-dots-horizontal-outline:before{content:"󱌿"}.mdi-head-flash:before{content:"󱍀"}.mdi-head-flash-outline:before{content:"󱍁"}.mdi-head-heart:before{content:"󱍂"}.mdi-head-heart-outline:before{content:"󱍃"}.mdi-head-lightbulb:before{content:"󱍄"}.mdi-head-lightbulb-outline:before{content:"󱍅"}.mdi-head-minus:before{content:"󱍆"}.mdi-head-minus-outline:before{content:"󱍇"}.mdi-head-outline:before{content:"󱍟"}.mdi-head-plus:before{content:"󱍈"}.mdi-head-plus-outline:before{content:"󱍉"}.mdi-head-question:before{content:"󱍊"}.mdi-head-question-outline:before{content:"󱍋"}.mdi-head-remove:before{content:"󱍌"}.mdi-head-remove-outline:before{content:"󱍍"}.mdi-head-snowflake:before{content:"󱍎"}.mdi-head-snowflake-outline:before{content:"󱍏"}.mdi-head-sync:before{content:"󱍐"}.mdi-head-sync-outline:before{content:"󱍑"}.mdi-headphones:before{content:"󰋋"}.mdi-headphones-bluetooth:before{content:"󰥰"}.mdi-headphones-box:before{content:"󰋌"}.mdi-headphones-off:before{content:"󰟎"}.mdi-headphones-settings:before{content:"󰋍"}.mdi-headset:before{content:"󰋎"}.mdi-headset-dock:before{content:"󰋏"}.mdi-headset-off:before{content:"󰋐"}.mdi-heart:before{content:"󰋑"}.mdi-heart-box:before{content:"󰋒"}.mdi-heart-box-outline:before{content:"󰋓"}.mdi-heart-broken:before{content:"󰋔"}.mdi-heart-broken-outline:before{content:"󰴔"}.mdi-heart-circle:before{content:"󰥱"}.mdi-heart-circle-outline:before{content:"󰥲"}.mdi-heart-cog:before{content:"󱙣"}.mdi-heart-cog-outline:before{content:"󱙤"}.mdi-heart-flash:before{content:"󰻹"}.mdi-heart-half:before{content:"󰛟"}.mdi-heart-half-full:before{content:"󰛞"}.mdi-heart-half-outline:before{content:"󰛠"}.mdi-heart-minus:before{content:"󱐯"}.mdi-heart-minus-outline:before{content:"󱐲"}.mdi-heart-multiple:before{content:"󰩖"}.mdi-heart-multiple-outline:before{content:"󰩗"}.mdi-heart-off:before{content:"󰝙"}.mdi-heart-off-outline:before{content:"󱐴"}.mdi-heart-outline:before{content:"󰋕"}.mdi-heart-plus:before{content:"󱐮"}.mdi-heart-plus-outline:before{content:"󱐱"}.mdi-heart-pulse:before{content:"󰗶"}.mdi-heart-remove:before{content:"󱐰"}.mdi-heart-remove-outline:before{content:"󱐳"}.mdi-heart-settings:before{content:"󱙥"}.mdi-heart-settings-outline:before{content:"󱙦"}.mdi-heat-pump:before{content:"󱩃"}.mdi-heat-pump-outline:before{content:"󱩄"}.mdi-heat-wave:before{content:"󱩅"}.mdi-heating-coil:before{content:"󱪯"}.mdi-helicopter:before{content:"󰫂"}.mdi-help:before{content:"󰋖"}.mdi-help-box:before{content:"󰞋"}.mdi-help-box-multiple:before{content:"󱰊"}.mdi-help-box-multiple-outline:before{content:"󱰋"}.mdi-help-box-outline:before{content:"󱰌"}.mdi-help-circle:before{content:"󰋗"}.mdi-help-circle-outline:before{content:"󰘥"}.mdi-help-network:before{content:"󰛵"}.mdi-help-network-outline:before{content:"󰲊"}.mdi-help-rhombus:before{content:"󰮥"}.mdi-help-rhombus-outline:before{content:"󰮦"}.mdi-hexadecimal:before{content:"󱊧"}.mdi-hexagon:before{content:"󰋘"}.mdi-hexagon-multiple:before{content:"󰛡"}.mdi-hexagon-multiple-outline:before{content:"󱃲"}.mdi-hexagon-outline:before{content:"󰋙"}.mdi-hexagon-slice-1:before{content:"󰫃"}.mdi-hexagon-slice-2:before{content:"󰫄"}.mdi-hexagon-slice-3:before{content:"󰫅"}.mdi-hexagon-slice-4:before{content:"󰫆"}.mdi-hexagon-slice-5:before{content:"󰫇"}.mdi-hexagon-slice-6:before{content:"󰫈"}.mdi-hexagram:before{content:"󰫉"}.mdi-hexagram-outline:before{content:"󰫊"}.mdi-high-definition:before{content:"󰟏"}.mdi-high-definition-box:before{content:"󰡸"}.mdi-highway:before{content:"󰗷"}.mdi-hiking:before{content:"󰵿"}.mdi-history:before{content:"󰋚"}.mdi-hockey-puck:before{content:"󰡹"}.mdi-hockey-sticks:before{content:"󰡺"}.mdi-hololens:before{content:"󰋛"}.mdi-home:before{content:"󰋜"}.mdi-home-account:before{content:"󰠦"}.mdi-home-alert:before{content:"󰡻"}.mdi-home-alert-outline:before{content:"󱗐"}.mdi-home-analytics:before{content:"󰺺"}.mdi-home-assistant:before{content:"󰟐"}.mdi-home-automation:before{content:"󰟑"}.mdi-home-battery:before{content:"󱤁"}.mdi-home-battery-outline:before{content:"󱤂"}.mdi-home-circle:before{content:"󰟒"}.mdi-home-circle-outline:before{content:"󱁍"}.mdi-home-city:before{content:"󰴕"}.mdi-home-city-outline:before{content:"󰴖"}.mdi-home-clock:before{content:"󱨒"}.mdi-home-clock-outline:before{content:"󱨓"}.mdi-home-edit:before{content:"󱅙"}.mdi-home-edit-outline:before{content:"󱅚"}.mdi-home-export-outline:before{content:"󰾛"}.mdi-home-flood:before{content:"󰻺"}.mdi-home-floor-0:before{content:"󰷒"}.mdi-home-floor-1:before{content:"󰶀"}.mdi-home-floor-2:before{content:"󰶁"}.mdi-home-floor-3:before{content:"󰶂"}.mdi-home-floor-a:before{content:"󰶃"}.mdi-home-floor-b:before{content:"󰶄"}.mdi-home-floor-g:before{content:"󰶅"}.mdi-home-floor-l:before{content:"󰶆"}.mdi-home-floor-negative-1:before{content:"󰷓"}.mdi-home-group:before{content:"󰷔"}.mdi-home-group-minus:before{content:"󱧁"}.mdi-home-group-plus:before{content:"󱧀"}.mdi-home-group-remove:before{content:"󱧂"}.mdi-home-heart:before{content:"󰠧"}.mdi-home-import-outline:before{content:"󰾜"}.mdi-home-lightbulb:before{content:"󱉑"}.mdi-home-lightbulb-outline:before{content:"󱉒"}.mdi-home-lightning-bolt:before{content:"󱤃"}.mdi-home-lightning-bolt-outline:before{content:"󱤄"}.mdi-home-lock:before{content:"󰣫"}.mdi-home-lock-open:before{content:"󰣬"}.mdi-home-map-marker:before{content:"󰗸"}.mdi-home-minus:before{content:"󰥴"}.mdi-home-minus-outline:before{content:"󱏕"}.mdi-home-modern:before{content:"󰋝"}.mdi-home-off:before{content:"󱩆"}.mdi-home-off-outline:before{content:"󱩇"}.mdi-home-outline:before{content:"󰚡"}.mdi-home-percent:before{content:"󱱼"}.mdi-home-percent-outline:before{content:"󱱽"}.mdi-home-plus:before{content:"󰥵"}.mdi-home-plus-outline:before{content:"󱏖"}.mdi-home-remove:before{content:"󱉇"}.mdi-home-remove-outline:before{content:"󱏗"}.mdi-home-roof:before{content:"󱄫"}.mdi-home-search:before{content:"󱎰"}.mdi-home-search-outline:before{content:"󱎱"}.mdi-home-silo:before{content:"󱮠"}.mdi-home-silo-outline:before{content:"󱮡"}.mdi-home-sound-in:before{content:"󱰯"}.mdi-home-sound-in-outline:before{content:"󱰰"}.mdi-home-sound-out:before{content:"󱰱"}.mdi-home-sound-out-outline:before{content:"󱰲"}.mdi-home-switch:before{content:"󱞔"}.mdi-home-switch-outline:before{content:"󱞕"}.mdi-home-thermometer:before{content:"󰽔"}.mdi-home-thermometer-outline:before{content:"󰽕"}.mdi-home-variant:before{content:"󰋞"}.mdi-home-variant-outline:before{content:"󰮧"}.mdi-hook:before{content:"󰛢"}.mdi-hook-off:before{content:"󰛣"}.mdi-hoop-house:before{content:"󰹖"}.mdi-hops:before{content:"󰋟"}.mdi-horizontal-rotate-clockwise:before{content:"󱃳"}.mdi-horizontal-rotate-counterclockwise:before{content:"󱃴"}.mdi-horse:before{content:"󱖿"}.mdi-horse-human:before{content:"󱗀"}.mdi-horse-variant:before{content:"󱗁"}.mdi-horse-variant-fast:before{content:"󱡮"}.mdi-horseshoe:before{content:"󰩘"}.mdi-hospital:before{content:"󰿶"}.mdi-hospital-box:before{content:"󰋠"}.mdi-hospital-box-outline:before{content:"󰿷"}.mdi-hospital-building:before{content:"󰋡"}.mdi-hospital-marker:before{content:"󰋢"}.mdi-hot-tub:before{content:"󰠨"}.mdi-hours-24:before{content:"󱑸"}.mdi-hubspot:before{content:"󰴗"}.mdi-hulu:before{content:"󰠩"}.mdi-human:before{content:"󰋦"}.mdi-human-baby-changing-table:before{content:"󱎋"}.mdi-human-cane:before{content:"󱖁"}.mdi-human-capacity-decrease:before{content:"󱖛"}.mdi-human-capacity-increase:before{content:"󱖜"}.mdi-human-child:before{content:"󰋧"}.mdi-human-dolly:before{content:"󱦀"}.mdi-human-edit:before{content:"󱓨"}.mdi-human-female:before{content:"󰙉"}.mdi-human-female-boy:before{content:"󰩙"}.mdi-human-female-dance:before{content:"󱗉"}.mdi-human-female-female:before{content:"󰩚"}.mdi-human-female-girl:before{content:"󰩛"}.mdi-human-greeting:before{content:"󱟄"}.mdi-human-greeting-proximity:before{content:"󱖝"}.mdi-human-greeting-variant:before{content:"󰙊"}.mdi-human-handsdown:before{content:"󰙋"}.mdi-human-handsup:before{content:"󰙌"}.mdi-human-male:before{content:"󰙍"}.mdi-human-male-board:before{content:"󰢐"}.mdi-human-male-board-poll:before{content:"󰡆"}.mdi-human-male-boy:before{content:"󰩜"}.mdi-human-male-child:before{content:"󱎌"}.mdi-human-male-female:before{content:"󰋨"}.mdi-human-male-female-child:before{content:"󱠣"}.mdi-human-male-girl:before{content:"󰩝"}.mdi-human-male-height:before{content:"󰻻"}.mdi-human-male-height-variant:before{content:"󰻼"}.mdi-human-male-male:before{content:"󰩞"}.mdi-human-non-binary:before{content:"󱡈"}.mdi-human-pregnant:before{content:"󰗏"}.mdi-human-queue:before{content:"󱕱"}.mdi-human-scooter:before{content:"󱇩"}.mdi-human-walker:before{content:"󱭱"}.mdi-human-wheelchair:before{content:"󱎍"}.mdi-human-white-cane:before{content:"󱦁"}.mdi-humble-bundle:before{content:"󰝄"}.mdi-hvac:before{content:"󱍒"}.mdi-hvac-off:before{content:"󱖞"}.mdi-hydraulic-oil-level:before{content:"󱌤"}.mdi-hydraulic-oil-temperature:before{content:"󱌥"}.mdi-hydro-power:before{content:"󱋥"}.mdi-hydrogen-station:before{content:"󱢔"}.mdi-ice-cream:before{content:"󰠪"}.mdi-ice-cream-off:before{content:"󰹒"}.mdi-ice-pop:before{content:"󰻽"}.mdi-id-card:before{content:"󰿀"}.mdi-identifier:before{content:"󰻾"}.mdi-ideogram-cjk:before{content:"󱌱"}.mdi-ideogram-cjk-variant:before{content:"󱌲"}.mdi-image:before{content:"󰋩"}.mdi-image-album:before{content:"󰋪"}.mdi-image-area:before{content:"󰋫"}.mdi-image-area-close:before{content:"󰋬"}.mdi-image-auto-adjust:before{content:"󰿁"}.mdi-image-broken:before{content:"󰋭"}.mdi-image-broken-variant:before{content:"󰋮"}.mdi-image-check:before{content:"󱬥"}.mdi-image-check-outline:before{content:"󱬦"}.mdi-image-edit:before{content:"󱇣"}.mdi-image-edit-outline:before{content:"󱇤"}.mdi-image-filter-black-white:before{content:"󰋰"}.mdi-image-filter-center-focus:before{content:"󰋱"}.mdi-image-filter-center-focus-strong:before{content:"󰻿"}.mdi-image-filter-center-focus-strong-outline:before{content:"󰼀"}.mdi-image-filter-center-focus-weak:before{content:"󰋲"}.mdi-image-filter-drama:before{content:"󰋳"}.mdi-image-filter-drama-outline:before{content:"󱯿"}.mdi-image-filter-frames:before{content:"󰋴"}.mdi-image-filter-hdr:before{content:"󰋵"}.mdi-image-filter-hdr-outline:before{content:"󱱤"}.mdi-image-filter-none:before{content:"󰋶"}.mdi-image-filter-tilt-shift:before{content:"󰋷"}.mdi-image-filter-vintage:before{content:"󰋸"}.mdi-image-frame:before{content:"󰹉"}.mdi-image-lock:before{content:"󱪰"}.mdi-image-lock-outline:before{content:"󱪱"}.mdi-image-marker:before{content:"󱝻"}.mdi-image-marker-outline:before{content:"󱝼"}.mdi-image-minus:before{content:"󱐙"}.mdi-image-minus-outline:before{content:"󱭇"}.mdi-image-move:before{content:"󰧸"}.mdi-image-multiple:before{content:"󰋹"}.mdi-image-multiple-outline:before{content:"󰋯"}.mdi-image-off:before{content:"󰠫"}.mdi-image-off-outline:before{content:"󱇑"}.mdi-image-outline:before{content:"󰥶"}.mdi-image-plus:before{content:"󰡼"}.mdi-image-plus-outline:before{content:"󱭆"}.mdi-image-refresh:before{content:"󱧾"}.mdi-image-refresh-outline:before{content:"󱧿"}.mdi-image-remove:before{content:"󱐘"}.mdi-image-remove-outline:before{content:"󱭈"}.mdi-image-search:before{content:"󰥷"}.mdi-image-search-outline:before{content:"󰥸"}.mdi-image-size-select-actual:before{content:"󰲍"}.mdi-image-size-select-large:before{content:"󰲎"}.mdi-image-size-select-small:before{content:"󰲏"}.mdi-image-sync:before{content:"󱨀"}.mdi-image-sync-outline:before{content:"󱨁"}.mdi-image-text:before{content:"󱘍"}.mdi-import:before{content:"󰋺"}.mdi-inbox:before{content:"󰚇"}.mdi-inbox-arrow-down:before{content:"󰋻"}.mdi-inbox-arrow-down-outline:before{content:"󱉰"}.mdi-inbox-arrow-up:before{content:"󰏑"}.mdi-inbox-arrow-up-outline:before{content:"󱉱"}.mdi-inbox-full:before{content:"󱉲"}.mdi-inbox-full-outline:before{content:"󱉳"}.mdi-inbox-multiple:before{content:"󰢰"}.mdi-inbox-multiple-outline:before{content:"󰮨"}.mdi-inbox-outline:before{content:"󱉴"}.mdi-inbox-remove:before{content:"󱖟"}.mdi-inbox-remove-outline:before{content:"󱖠"}.mdi-incognito:before{content:"󰗹"}.mdi-incognito-circle:before{content:"󱐡"}.mdi-incognito-circle-off:before{content:"󱐢"}.mdi-incognito-off:before{content:"󰁵"}.mdi-induction:before{content:"󱡌"}.mdi-infinity:before{content:"󰛤"}.mdi-information:before{content:"󰋼"}.mdi-information-box:before{content:"󱱥"}.mdi-information-box-outline:before{content:"󱱦"}.mdi-information-off:before{content:"󱞌"}.mdi-information-off-outline:before{content:"󱞍"}.mdi-information-outline:before{content:"󰋽"}.mdi-information-slab-box:before{content:"󱱧"}.mdi-information-slab-box-outline:before{content:"󱱨"}.mdi-information-slab-circle:before{content:"󱱩"}.mdi-information-slab-circle-outline:before{content:"󱱪"}.mdi-information-slab-symbol:before{content:"󱱫"}.mdi-information-symbol:before{content:"󱱬"}.mdi-information-variant:before{content:"󰙎"}.mdi-information-variant-box:before{content:"󱱭"}.mdi-information-variant-box-outline:before{content:"󱱮"}.mdi-information-variant-circle:before{content:"󱱯"}.mdi-information-variant-circle-outline:before{content:"󱱰"}.mdi-instagram:before{content:"󰋾"}.mdi-instrument-triangle:before{content:"󱁎"}.mdi-integrated-circuit-chip:before{content:"󱤓"}.mdi-invert-colors:before{content:"󰌁"}.mdi-invert-colors-off:before{content:"󰹊"}.mdi-iobroker:before{content:"󱋨"}.mdi-ip:before{content:"󰩟"}.mdi-ip-network:before{content:"󰩠"}.mdi-ip-network-outline:before{content:"󰲐"}.mdi-ip-outline:before{content:"󱦂"}.mdi-ipod:before{content:"󰲑"}.mdi-iron:before{content:"󱠤"}.mdi-iron-board:before{content:"󱠸"}.mdi-iron-outline:before{content:"󱠥"}.mdi-island:before{content:"󱁏"}.mdi-iv-bag:before{content:"󱂹"}.mdi-jabber:before{content:"󰷕"}.mdi-jeepney:before{content:"󰌂"}.mdi-jellyfish:before{content:"󰼁"}.mdi-jellyfish-outline:before{content:"󰼂"}.mdi-jira:before{content:"󰌃"}.mdi-jquery:before{content:"󰡽"}.mdi-jsfiddle:before{content:"󰌄"}.mdi-jump-rope:before{content:"󱋿"}.mdi-kabaddi:before{content:"󰶇"}.mdi-kangaroo:before{content:"󱕘"}.mdi-karate:before{content:"󰠬"}.mdi-kayaking:before{content:"󰢯"}.mdi-keg:before{content:"󰌅"}.mdi-kettle:before{content:"󰗺"}.mdi-kettle-alert:before{content:"󱌗"}.mdi-kettle-alert-outline:before{content:"󱌘"}.mdi-kettle-off:before{content:"󱌛"}.mdi-kettle-off-outline:before{content:"󱌜"}.mdi-kettle-outline:before{content:"󰽖"}.mdi-kettle-pour-over:before{content:"󱜼"}.mdi-kettle-steam:before{content:"󱌙"}.mdi-kettle-steam-outline:before{content:"󱌚"}.mdi-kettlebell:before{content:"󱌀"}.mdi-key:before{content:"󰌆"}.mdi-key-alert:before{content:"󱦃"}.mdi-key-alert-outline:before{content:"󱦄"}.mdi-key-arrow-right:before{content:"󱌒"}.mdi-key-chain:before{content:"󱕴"}.mdi-key-chain-variant:before{content:"󱕵"}.mdi-key-change:before{content:"󰌇"}.mdi-key-link:before{content:"󱆟"}.mdi-key-minus:before{content:"󰌈"}.mdi-key-outline:before{content:"󰷖"}.mdi-key-plus:before{content:"󰌉"}.mdi-key-remove:before{content:"󰌊"}.mdi-key-star:before{content:"󱆞"}.mdi-key-variant:before{content:"󰌋"}.mdi-key-wireless:before{content:"󰿂"}.mdi-keyboard:before{content:"󰌌"}.mdi-keyboard-backspace:before{content:"󰌍"}.mdi-keyboard-caps:before{content:"󰌎"}.mdi-keyboard-close:before{content:"󰌏"}.mdi-keyboard-close-outline:before{content:"󱰀"}.mdi-keyboard-esc:before{content:"󱊷"}.mdi-keyboard-f1:before{content:"󱊫"}.mdi-keyboard-f10:before{content:"󱊴"}.mdi-keyboard-f11:before{content:"󱊵"}.mdi-keyboard-f12:before{content:"󱊶"}.mdi-keyboard-f2:before{content:"󱊬"}.mdi-keyboard-f3:before{content:"󱊭"}.mdi-keyboard-f4:before{content:"󱊮"}.mdi-keyboard-f5:before{content:"󱊯"}.mdi-keyboard-f6:before{content:"󱊰"}.mdi-keyboard-f7:before{content:"󱊱"}.mdi-keyboard-f8:before{content:"󱊲"}.mdi-keyboard-f9:before{content:"󱊳"}.mdi-keyboard-off:before{content:"󰌐"}.mdi-keyboard-off-outline:before{content:"󰹋"}.mdi-keyboard-outline:before{content:"󰥻"}.mdi-keyboard-return:before{content:"󰌑"}.mdi-keyboard-settings:before{content:"󰧹"}.mdi-keyboard-settings-outline:before{content:"󰧺"}.mdi-keyboard-space:before{content:"󱁐"}.mdi-keyboard-tab:before{content:"󰌒"}.mdi-keyboard-tab-reverse:before{content:"󰌥"}.mdi-keyboard-variant:before{content:"󰌓"}.mdi-khanda:before{content:"󱃽"}.mdi-kickstarter:before{content:"󰝅"}.mdi-kite:before{content:"󱦅"}.mdi-kite-outline:before{content:"󱦆"}.mdi-kitesurfing:before{content:"󱝄"}.mdi-klingon:before{content:"󱍛"}.mdi-knife:before{content:"󰧻"}.mdi-knife-military:before{content:"󰧼"}.mdi-knob:before{content:"󱮖"}.mdi-koala:before{content:"󱜿"}.mdi-kodi:before{content:"󰌔"}.mdi-kubernetes:before{content:"󱃾"}.mdi-label:before{content:"󰌕"}.mdi-label-multiple:before{content:"󱍵"}.mdi-label-multiple-outline:before{content:"󱍶"}.mdi-label-off:before{content:"󰫋"}.mdi-label-off-outline:before{content:"󰫌"}.mdi-label-outline:before{content:"󰌖"}.mdi-label-percent:before{content:"󱋪"}.mdi-label-percent-outline:before{content:"󱋫"}.mdi-label-variant:before{content:"󰫍"}.mdi-label-variant-outline:before{content:"󰫎"}.mdi-ladder:before{content:"󱖢"}.mdi-ladybug:before{content:"󰠭"}.mdi-lambda:before{content:"󰘧"}.mdi-lamp:before{content:"󰚵"}.mdi-lamp-outline:before{content:"󱟐"}.mdi-lamps:before{content:"󱕶"}.mdi-lamps-outline:before{content:"󱟑"}.mdi-lan:before{content:"󰌗"}.mdi-lan-check:before{content:"󱊪"}.mdi-lan-connect:before{content:"󰌘"}.mdi-lan-disconnect:before{content:"󰌙"}.mdi-lan-pending:before{content:"󰌚"}.mdi-land-fields:before{content:"󱪲"}.mdi-land-plots:before{content:"󱪳"}.mdi-land-plots-circle:before{content:"󱪴"}.mdi-land-plots-circle-variant:before{content:"󱪵"}.mdi-land-plots-marker:before{content:"󱱝"}.mdi-land-rows-horizontal:before{content:"󱪶"}.mdi-land-rows-vertical:before{content:"󱪷"}.mdi-landslide:before{content:"󱩈"}.mdi-landslide-outline:before{content:"󱩉"}.mdi-language-c:before{content:"󰙱"}.mdi-language-cpp:before{content:"󰙲"}.mdi-language-csharp:before{content:"󰌛"}.mdi-language-css3:before{content:"󰌜"}.mdi-language-fortran:before{content:"󱈚"}.mdi-language-go:before{content:"󰟓"}.mdi-language-haskell:before{content:"󰲒"}.mdi-language-html5:before{content:"󰌝"}.mdi-language-java:before{content:"󰬷"}.mdi-language-javascript:before{content:"󰌞"}.mdi-language-kotlin:before{content:"󱈙"}.mdi-language-lua:before{content:"󰢱"}.mdi-language-markdown:before{content:"󰍔"}.mdi-language-markdown-outline:before{content:"󰽛"}.mdi-language-php:before{content:"󰌟"}.mdi-language-python:before{content:"󰌠"}.mdi-language-r:before{content:"󰟔"}.mdi-language-ruby:before{content:"󰴭"}.mdi-language-ruby-on-rails:before{content:"󰫏"}.mdi-language-rust:before{content:"󱘗"}.mdi-language-swift:before{content:"󰛥"}.mdi-language-typescript:before{content:"󰛦"}.mdi-language-xaml:before{content:"󰙳"}.mdi-laptop:before{content:"󰌢"}.mdi-laptop-account:before{content:"󱩊"}.mdi-laptop-off:before{content:"󰛧"}.mdi-laravel:before{content:"󰫐"}.mdi-laser-pointer:before{content:"󱒄"}.mdi-lasso:before{content:"󰼃"}.mdi-lastpass:before{content:"󰑆"}.mdi-latitude:before{content:"󰽗"}.mdi-launch:before{content:"󰌧"}.mdi-lava-lamp:before{content:"󰟕"}.mdi-layers:before{content:"󰌨"}.mdi-layers-edit:before{content:"󱢒"}.mdi-layers-minus:before{content:"󰹌"}.mdi-layers-off:before{content:"󰌩"}.mdi-layers-off-outline:before{content:"󰧽"}.mdi-layers-outline:before{content:"󰧾"}.mdi-layers-plus:before{content:"󰹍"}.mdi-layers-remove:before{content:"󰹎"}.mdi-layers-search:before{content:"󱈆"}.mdi-layers-search-outline:before{content:"󱈇"}.mdi-layers-triple:before{content:"󰽘"}.mdi-layers-triple-outline:before{content:"󰽙"}.mdi-lead-pencil:before{content:"󰙏"}.mdi-leaf:before{content:"󰌪"}.mdi-leaf-circle:before{content:"󱤅"}.mdi-leaf-circle-outline:before{content:"󱤆"}.mdi-leaf-maple:before{content:"󰲓"}.mdi-leaf-maple-off:before{content:"󱋚"}.mdi-leaf-off:before{content:"󱋙"}.mdi-leak:before{content:"󰷗"}.mdi-leak-off:before{content:"󰷘"}.mdi-lectern:before{content:"󱫰"}.mdi-led-off:before{content:"󰌫"}.mdi-led-on:before{content:"󰌬"}.mdi-led-outline:before{content:"󰌭"}.mdi-led-strip:before{content:"󰟖"}.mdi-led-strip-variant:before{content:"󱁑"}.mdi-led-strip-variant-off:before{content:"󱩋"}.mdi-led-variant-off:before{content:"󰌮"}.mdi-led-variant-on:before{content:"󰌯"}.mdi-led-variant-outline:before{content:"󰌰"}.mdi-leek:before{content:"󱅽"}.mdi-less-than:before{content:"󰥼"}.mdi-less-than-or-equal:before{content:"󰥽"}.mdi-library:before{content:"󰌱"}.mdi-library-outline:before{content:"󱨢"}.mdi-library-shelves:before{content:"󰮩"}.mdi-license:before{content:"󰿃"}.mdi-lifebuoy:before{content:"󰡾"}.mdi-light-flood-down:before{content:"󱦇"}.mdi-light-flood-up:before{content:"󱦈"}.mdi-light-recessed:before{content:"󱞛"}.mdi-light-switch:before{content:"󰥾"}.mdi-light-switch-off:before{content:"󱨤"}.mdi-lightbulb:before{content:"󰌵"}.mdi-lightbulb-alert:before{content:"󱧡"}.mdi-lightbulb-alert-outline:before{content:"󱧢"}.mdi-lightbulb-auto:before{content:"󱠀"}.mdi-lightbulb-auto-outline:before{content:"󱠁"}.mdi-lightbulb-cfl:before{content:"󱈈"}.mdi-lightbulb-cfl-off:before{content:"󱈉"}.mdi-lightbulb-cfl-spiral:before{content:"󱉵"}.mdi-lightbulb-cfl-spiral-off:before{content:"󱋃"}.mdi-lightbulb-fluorescent-tube:before{content:"󱠄"}.mdi-lightbulb-fluorescent-tube-outline:before{content:"󱠅"}.mdi-lightbulb-group:before{content:"󱉓"}.mdi-lightbulb-group-off:before{content:"󱋍"}.mdi-lightbulb-group-off-outline:before{content:"󱋎"}.mdi-lightbulb-group-outline:before{content:"󱉔"}.mdi-lightbulb-multiple:before{content:"󱉕"}.mdi-lightbulb-multiple-off:before{content:"󱋏"}.mdi-lightbulb-multiple-off-outline:before{content:"󱋐"}.mdi-lightbulb-multiple-outline:before{content:"󱉖"}.mdi-lightbulb-night:before{content:"󱩌"}.mdi-lightbulb-night-outline:before{content:"󱩍"}.mdi-lightbulb-off:before{content:"󰹏"}.mdi-lightbulb-off-outline:before{content:"󰹐"}.mdi-lightbulb-on:before{content:"󰛨"}.mdi-lightbulb-on-10:before{content:"󱩎"}.mdi-lightbulb-on-20:before{content:"󱩏"}.mdi-lightbulb-on-30:before{content:"󱩐"}.mdi-lightbulb-on-40:before{content:"󱩑"}.mdi-lightbulb-on-50:before{content:"󱩒"}.mdi-lightbulb-on-60:before{content:"󱩓"}.mdi-lightbulb-on-70:before{content:"󱩔"}.mdi-lightbulb-on-80:before{content:"󱩕"}.mdi-lightbulb-on-90:before{content:"󱩖"}.mdi-lightbulb-on-outline:before{content:"󰛩"}.mdi-lightbulb-outline:before{content:"󰌶"}.mdi-lightbulb-question:before{content:"󱧣"}.mdi-lightbulb-question-outline:before{content:"󱧤"}.mdi-lightbulb-spot:before{content:"󱟴"}.mdi-lightbulb-spot-off:before{content:"󱟵"}.mdi-lightbulb-variant:before{content:"󱠂"}.mdi-lightbulb-variant-outline:before{content:"󱠃"}.mdi-lighthouse:before{content:"󰧿"}.mdi-lighthouse-on:before{content:"󰨀"}.mdi-lightning-bolt:before{content:"󱐋"}.mdi-lightning-bolt-circle:before{content:"󰠠"}.mdi-lightning-bolt-outline:before{content:"󱐌"}.mdi-line-scan:before{content:"󰘤"}.mdi-lingerie:before{content:"󱑶"}.mdi-link:before{content:"󰌷"}.mdi-link-box:before{content:"󰴚"}.mdi-link-box-outline:before{content:"󰴛"}.mdi-link-box-variant:before{content:"󰴜"}.mdi-link-box-variant-outline:before{content:"󰴝"}.mdi-link-lock:before{content:"󱂺"}.mdi-link-off:before{content:"󰌸"}.mdi-link-plus:before{content:"󰲔"}.mdi-link-variant:before{content:"󰌹"}.mdi-link-variant-minus:before{content:"󱃿"}.mdi-link-variant-off:before{content:"󰌺"}.mdi-link-variant-plus:before{content:"󱄀"}.mdi-link-variant-remove:before{content:"󱄁"}.mdi-linkedin:before{content:"󰌻"}.mdi-linux:before{content:"󰌽"}.mdi-linux-mint:before{content:"󰣭"}.mdi-lipstick:before{content:"󱎵"}.mdi-liquid-spot:before{content:"󱠦"}.mdi-liquor:before{content:"󱤞"}.mdi-list-box:before{content:"󱭻"}.mdi-list-box-outline:before{content:"󱭼"}.mdi-list-status:before{content:"󱖫"}.mdi-litecoin:before{content:"󰩡"}.mdi-loading:before{content:"󰝲"}.mdi-location-enter:before{content:"󰿄"}.mdi-location-exit:before{content:"󰿅"}.mdi-lock:before{content:"󰌾"}.mdi-lock-alert:before{content:"󰣮"}.mdi-lock-alert-outline:before{content:"󱗑"}.mdi-lock-check:before{content:"󱎚"}.mdi-lock-check-outline:before{content:"󱚨"}.mdi-lock-clock:before{content:"󰥿"}.mdi-lock-minus:before{content:"󱚩"}.mdi-lock-minus-outline:before{content:"󱚪"}.mdi-lock-off:before{content:"󱙱"}.mdi-lock-off-outline:before{content:"󱙲"}.mdi-lock-open:before{content:"󰌿"}.mdi-lock-open-alert:before{content:"󱎛"}.mdi-lock-open-alert-outline:before{content:"󱗒"}.mdi-lock-open-check:before{content:"󱎜"}.mdi-lock-open-check-outline:before{content:"󱚫"}.mdi-lock-open-minus:before{content:"󱚬"}.mdi-lock-open-minus-outline:before{content:"󱚭"}.mdi-lock-open-outline:before{content:"󰍀"}.mdi-lock-open-plus:before{content:"󱚮"}.mdi-lock-open-plus-outline:before{content:"󱚯"}.mdi-lock-open-remove:before{content:"󱚰"}.mdi-lock-open-remove-outline:before{content:"󱚱"}.mdi-lock-open-variant:before{content:"󰿆"}.mdi-lock-open-variant-outline:before{content:"󰿇"}.mdi-lock-outline:before{content:"󰍁"}.mdi-lock-pattern:before{content:"󰛪"}.mdi-lock-percent:before{content:"󱰒"}.mdi-lock-percent-open:before{content:"󱰓"}.mdi-lock-percent-open-outline:before{content:"󱰔"}.mdi-lock-percent-open-variant:before{content:"󱰕"}.mdi-lock-percent-open-variant-outline:before{content:"󱰖"}.mdi-lock-percent-outline:before{content:"󱰗"}.mdi-lock-plus:before{content:"󰗻"}.mdi-lock-plus-outline:before{content:"󱚲"}.mdi-lock-question:before{content:"󰣯"}.mdi-lock-remove:before{content:"󱚳"}.mdi-lock-remove-outline:before{content:"󱚴"}.mdi-lock-reset:before{content:"󰝳"}.mdi-lock-smart:before{content:"󰢲"}.mdi-locker:before{content:"󰟗"}.mdi-locker-multiple:before{content:"󰟘"}.mdi-login:before{content:"󰍂"}.mdi-login-variant:before{content:"󰗼"}.mdi-logout:before{content:"󰍃"}.mdi-logout-variant:before{content:"󰗽"}.mdi-longitude:before{content:"󰽚"}.mdi-looks:before{content:"󰍄"}.mdi-lotion:before{content:"󱖂"}.mdi-lotion-outline:before{content:"󱖃"}.mdi-lotion-plus:before{content:"󱖄"}.mdi-lotion-plus-outline:before{content:"󱖅"}.mdi-loupe:before{content:"󰍅"}.mdi-lumx:before{content:"󰍆"}.mdi-lungs:before{content:"󱂄"}.mdi-mace:before{content:"󱡃"}.mdi-magazine-pistol:before{content:"󰌤"}.mdi-magazine-rifle:before{content:"󰌣"}.mdi-magic-staff:before{content:"󱡄"}.mdi-magnet:before{content:"󰍇"}.mdi-magnet-on:before{content:"󰍈"}.mdi-magnify:before{content:"󰍉"}.mdi-magnify-close:before{content:"󰦀"}.mdi-magnify-expand:before{content:"󱡴"}.mdi-magnify-minus:before{content:"󰍊"}.mdi-magnify-minus-cursor:before{content:"󰩢"}.mdi-magnify-minus-outline:before{content:"󰛬"}.mdi-magnify-plus:before{content:"󰍋"}.mdi-magnify-plus-cursor:before{content:"󰩣"}.mdi-magnify-plus-outline:before{content:"󰛭"}.mdi-magnify-remove-cursor:before{content:"󱈌"}.mdi-magnify-remove-outline:before{content:"󱈍"}.mdi-magnify-scan:before{content:"󱉶"}.mdi-mail:before{content:"󰺻"}.mdi-mailbox:before{content:"󰛮"}.mdi-mailbox-open:before{content:"󰶈"}.mdi-mailbox-open-outline:before{content:"󰶉"}.mdi-mailbox-open-up:before{content:"󰶊"}.mdi-mailbox-open-up-outline:before{content:"󰶋"}.mdi-mailbox-outline:before{content:"󰶌"}.mdi-mailbox-up:before{content:"󰶍"}.mdi-mailbox-up-outline:before{content:"󰶎"}.mdi-manjaro:before{content:"󱘊"}.mdi-map:before{content:"󰍍"}.mdi-map-check:before{content:"󰺼"}.mdi-map-check-outline:before{content:"󰺽"}.mdi-map-clock:before{content:"󰴞"}.mdi-map-clock-outline:before{content:"󰴟"}.mdi-map-legend:before{content:"󰨁"}.mdi-map-marker:before{content:"󰍎"}.mdi-map-marker-account:before{content:"󱣣"}.mdi-map-marker-account-outline:before{content:"󱣤"}.mdi-map-marker-alert:before{content:"󰼅"}.mdi-map-marker-alert-outline:before{content:"󰼆"}.mdi-map-marker-check:before{content:"󰲕"}.mdi-map-marker-check-outline:before{content:"󱋻"}.mdi-map-marker-circle:before{content:"󰍏"}.mdi-map-marker-distance:before{content:"󰣰"}.mdi-map-marker-down:before{content:"󱄂"}.mdi-map-marker-left:before{content:"󱋛"}.mdi-map-marker-left-outline:before{content:"󱋝"}.mdi-map-marker-minus:before{content:"󰙐"}.mdi-map-marker-minus-outline:before{content:"󱋹"}.mdi-map-marker-multiple:before{content:"󰍐"}.mdi-map-marker-multiple-outline:before{content:"󱉷"}.mdi-map-marker-off:before{content:"󰍑"}.mdi-map-marker-off-outline:before{content:"󱋽"}.mdi-map-marker-outline:before{content:"󰟙"}.mdi-map-marker-path:before{content:"󰴠"}.mdi-map-marker-plus:before{content:"󰙑"}.mdi-map-marker-plus-outline:before{content:"󱋸"}.mdi-map-marker-question:before{content:"󰼇"}.mdi-map-marker-question-outline:before{content:"󰼈"}.mdi-map-marker-radius:before{content:"󰍒"}.mdi-map-marker-radius-outline:before{content:"󱋼"}.mdi-map-marker-remove:before{content:"󰼉"}.mdi-map-marker-remove-outline:before{content:"󱋺"}.mdi-map-marker-remove-variant:before{content:"󰼊"}.mdi-map-marker-right:before{content:"󱋜"}.mdi-map-marker-right-outline:before{content:"󱋞"}.mdi-map-marker-star:before{content:"󱘈"}.mdi-map-marker-star-outline:before{content:"󱘉"}.mdi-map-marker-up:before{content:"󱄃"}.mdi-map-minus:before{content:"󰦁"}.mdi-map-outline:before{content:"󰦂"}.mdi-map-plus:before{content:"󰦃"}.mdi-map-search:before{content:"󰦄"}.mdi-map-search-outline:before{content:"󰦅"}.mdi-mapbox:before{content:"󰮪"}.mdi-margin:before{content:"󰍓"}.mdi-marker:before{content:"󰙒"}.mdi-marker-cancel:before{content:"󰷙"}.mdi-marker-check:before{content:"󰍕"}.mdi-mastodon:before{content:"󰫑"}.mdi-material-design:before{content:"󰦆"}.mdi-material-ui:before{content:"󰍗"}.mdi-math-compass:before{content:"󰍘"}.mdi-math-cos:before{content:"󰲖"}.mdi-math-integral:before{content:"󰿈"}.mdi-math-integral-box:before{content:"󰿉"}.mdi-math-log:before{content:"󱂅"}.mdi-math-norm:before{content:"󰿊"}.mdi-math-norm-box:before{content:"󰿋"}.mdi-math-sin:before{content:"󰲗"}.mdi-math-tan:before{content:"󰲘"}.mdi-matrix:before{content:"󰘨"}.mdi-medal:before{content:"󰦇"}.mdi-medal-outline:before{content:"󱌦"}.mdi-medical-bag:before{content:"󰛯"}.mdi-medical-cotton-swab:before{content:"󱪸"}.mdi-medication:before{content:"󱬔"}.mdi-medication-outline:before{content:"󱬕"}.mdi-meditation:before{content:"󱅻"}.mdi-memory:before{content:"󰍛"}.mdi-menorah:before{content:"󱟔"}.mdi-menorah-fire:before{content:"󱟕"}.mdi-menu:before{content:"󰍜"}.mdi-menu-down:before{content:"󰍝"}.mdi-menu-down-outline:before{content:"󰚶"}.mdi-menu-left:before{content:"󰍞"}.mdi-menu-left-outline:before{content:"󰨂"}.mdi-menu-open:before{content:"󰮫"}.mdi-menu-right:before{content:"󰍟"}.mdi-menu-right-outline:before{content:"󰨃"}.mdi-menu-swap:before{content:"󰩤"}.mdi-menu-swap-outline:before{content:"󰩥"}.mdi-menu-up:before{content:"󰍠"}.mdi-menu-up-outline:before{content:"󰚷"}.mdi-merge:before{content:"󰽜"}.mdi-message:before{content:"󰍡"}.mdi-message-alert:before{content:"󰍢"}.mdi-message-alert-outline:before{content:"󰨄"}.mdi-message-arrow-left:before{content:"󱋲"}.mdi-message-arrow-left-outline:before{content:"󱋳"}.mdi-message-arrow-right:before{content:"󱋴"}.mdi-message-arrow-right-outline:before{content:"󱋵"}.mdi-message-badge:before{content:"󱥁"}.mdi-message-badge-outline:before{content:"󱥂"}.mdi-message-bookmark:before{content:"󱖬"}.mdi-message-bookmark-outline:before{content:"󱖭"}.mdi-message-bulleted:before{content:"󰚢"}.mdi-message-bulleted-off:before{content:"󰚣"}.mdi-message-check:before{content:"󱮊"}.mdi-message-check-outline:before{content:"󱮋"}.mdi-message-cog:before{content:"󰛱"}.mdi-message-cog-outline:before{content:"󱅲"}.mdi-message-draw:before{content:"󰍣"}.mdi-message-fast:before{content:"󱧌"}.mdi-message-fast-outline:before{content:"󱧍"}.mdi-message-flash:before{content:"󱖩"}.mdi-message-flash-outline:before{content:"󱖪"}.mdi-message-image:before{content:"󰍤"}.mdi-message-image-outline:before{content:"󱅬"}.mdi-message-lock:before{content:"󰿌"}.mdi-message-lock-outline:before{content:"󱅭"}.mdi-message-minus:before{content:"󱅮"}.mdi-message-minus-outline:before{content:"󱅯"}.mdi-message-off:before{content:"󱙍"}.mdi-message-off-outline:before{content:"󱙎"}.mdi-message-outline:before{content:"󰍥"}.mdi-message-plus:before{content:"󰙓"}.mdi-message-plus-outline:before{content:"󱂻"}.mdi-message-processing:before{content:"󰍦"}.mdi-message-processing-outline:before{content:"󱅰"}.mdi-message-question:before{content:"󱜺"}.mdi-message-question-outline:before{content:"󱜻"}.mdi-message-reply:before{content:"󰍧"}.mdi-message-reply-outline:before{content:"󱜽"}.mdi-message-reply-text:before{content:"󰍨"}.mdi-message-reply-text-outline:before{content:"󱜾"}.mdi-message-settings:before{content:"󰛰"}.mdi-message-settings-outline:before{content:"󱅱"}.mdi-message-star:before{content:"󰚚"}.mdi-message-star-outline:before{content:"󱉐"}.mdi-message-text:before{content:"󰍩"}.mdi-message-text-clock:before{content:"󱅳"}.mdi-message-text-clock-outline:before{content:"󱅴"}.mdi-message-text-fast:before{content:"󱧎"}.mdi-message-text-fast-outline:before{content:"󱧏"}.mdi-message-text-lock:before{content:"󰿍"}.mdi-message-text-lock-outline:before{content:"󱅵"}.mdi-message-text-outline:before{content:"󰍪"}.mdi-message-video:before{content:"󰍫"}.mdi-meteor:before{content:"󰘩"}.mdi-meter-electric:before{content:"󱩗"}.mdi-meter-electric-outline:before{content:"󱩘"}.mdi-meter-gas:before{content:"󱩙"}.mdi-meter-gas-outline:before{content:"󱩚"}.mdi-metronome:before{content:"󰟚"}.mdi-metronome-tick:before{content:"󰟛"}.mdi-micro-sd:before{content:"󰟜"}.mdi-microphone:before{content:"󰍬"}.mdi-microphone-message:before{content:"󰔊"}.mdi-microphone-message-off:before{content:"󰔋"}.mdi-microphone-minus:before{content:"󰢳"}.mdi-microphone-off:before{content:"󰍭"}.mdi-microphone-outline:before{content:"󰍮"}.mdi-microphone-plus:before{content:"󰢴"}.mdi-microphone-question:before{content:"󱦉"}.mdi-microphone-question-outline:before{content:"󱦊"}.mdi-microphone-settings:before{content:"󰍯"}.mdi-microphone-variant:before{content:"󰍰"}.mdi-microphone-variant-off:before{content:"󰍱"}.mdi-microscope:before{content:"󰙔"}.mdi-microsoft:before{content:"󰍲"}.mdi-microsoft-access:before{content:"󱎎"}.mdi-microsoft-azure:before{content:"󰠅"}.mdi-microsoft-azure-devops:before{content:"󰿕"}.mdi-microsoft-bing:before{content:"󰂤"}.mdi-microsoft-dynamics-365:before{content:"󰦈"}.mdi-microsoft-edge:before{content:"󰇩"}.mdi-microsoft-excel:before{content:"󱎏"}.mdi-microsoft-internet-explorer:before{content:"󰌀"}.mdi-microsoft-office:before{content:"󰏆"}.mdi-microsoft-onedrive:before{content:"󰏊"}.mdi-microsoft-onenote:before{content:"󰝇"}.mdi-microsoft-outlook:before{content:"󰴢"}.mdi-microsoft-powerpoint:before{content:"󱎐"}.mdi-microsoft-sharepoint:before{content:"󱎑"}.mdi-microsoft-teams:before{content:"󰊻"}.mdi-microsoft-visual-studio:before{content:"󰘐"}.mdi-microsoft-visual-studio-code:before{content:"󰨞"}.mdi-microsoft-windows:before{content:"󰖳"}.mdi-microsoft-windows-classic:before{content:"󰨡"}.mdi-microsoft-word:before{content:"󱎒"}.mdi-microsoft-xbox:before{content:"󰖹"}.mdi-microsoft-xbox-controller:before{content:"󰖺"}.mdi-microsoft-xbox-controller-battery-alert:before{content:"󰝋"}.mdi-microsoft-xbox-controller-battery-charging:before{content:"󰨢"}.mdi-microsoft-xbox-controller-battery-empty:before{content:"󰝌"}.mdi-microsoft-xbox-controller-battery-full:before{content:"󰝍"}.mdi-microsoft-xbox-controller-battery-low:before{content:"󰝎"}.mdi-microsoft-xbox-controller-battery-medium:before{content:"󰝏"}.mdi-microsoft-xbox-controller-battery-unknown:before{content:"󰝐"}.mdi-microsoft-xbox-controller-menu:before{content:"󰹯"}.mdi-microsoft-xbox-controller-off:before{content:"󰖻"}.mdi-microsoft-xbox-controller-view:before{content:"󰹰"}.mdi-microwave:before{content:"󰲙"}.mdi-microwave-off:before{content:"󱐣"}.mdi-middleware:before{content:"󰽝"}.mdi-middleware-outline:before{content:"󰽞"}.mdi-midi:before{content:"󰣱"}.mdi-midi-port:before{content:"󰣲"}.mdi-mine:before{content:"󰷚"}.mdi-minecraft:before{content:"󰍳"}.mdi-mini-sd:before{content:"󰨅"}.mdi-minidisc:before{content:"󰨆"}.mdi-minus:before{content:"󰍴"}.mdi-minus-box:before{content:"󰍵"}.mdi-minus-box-multiple:before{content:"󱅁"}.mdi-minus-box-multiple-outline:before{content:"󱅂"}.mdi-minus-box-outline:before{content:"󰛲"}.mdi-minus-circle:before{content:"󰍶"}.mdi-minus-circle-multiple:before{content:"󰍚"}.mdi-minus-circle-multiple-outline:before{content:"󰫓"}.mdi-minus-circle-off:before{content:"󱑙"}.mdi-minus-circle-off-outline:before{content:"󱑚"}.mdi-minus-circle-outline:before{content:"󰍷"}.mdi-minus-network:before{content:"󰍸"}.mdi-minus-network-outline:before{content:"󰲚"}.mdi-minus-thick:before{content:"󱘹"}.mdi-mirror:before{content:"󱇽"}.mdi-mirror-rectangle:before{content:"󱞟"}.mdi-mirror-variant:before{content:"󱞠"}.mdi-mixed-martial-arts:before{content:"󰶏"}.mdi-mixed-reality:before{content:"󰡿"}.mdi-molecule:before{content:"󰮬"}.mdi-molecule-co:before{content:"󱋾"}.mdi-molecule-co2:before{content:"󰟤"}.mdi-monitor:before{content:"󰍹"}.mdi-monitor-account:before{content:"󱩛"}.mdi-monitor-arrow-down:before{content:"󱧐"}.mdi-monitor-arrow-down-variant:before{content:"󱧑"}.mdi-monitor-cellphone:before{content:"󰦉"}.mdi-monitor-cellphone-star:before{content:"󰦊"}.mdi-monitor-dashboard:before{content:"󰨇"}.mdi-monitor-edit:before{content:"󱋆"}.mdi-monitor-eye:before{content:"󱎴"}.mdi-monitor-lock:before{content:"󰷛"}.mdi-monitor-multiple:before{content:"󰍺"}.mdi-monitor-off:before{content:"󰶐"}.mdi-monitor-screenshot:before{content:"󰹑"}.mdi-monitor-share:before{content:"󱒃"}.mdi-monitor-shimmer:before{content:"󱄄"}.mdi-monitor-small:before{content:"󱡶"}.mdi-monitor-speaker:before{content:"󰽟"}.mdi-monitor-speaker-off:before{content:"󰽠"}.mdi-monitor-star:before{content:"󰷜"}.mdi-monitor-vertical:before{content:"󱰳"}.mdi-moon-first-quarter:before{content:"󰽡"}.mdi-moon-full:before{content:"󰽢"}.mdi-moon-last-quarter:before{content:"󰽣"}.mdi-moon-new:before{content:"󰽤"}.mdi-moon-waning-crescent:before{content:"󰽥"}.mdi-moon-waning-gibbous:before{content:"󰽦"}.mdi-moon-waxing-crescent:before{content:"󰽧"}.mdi-moon-waxing-gibbous:before{content:"󰽨"}.mdi-moped:before{content:"󱂆"}.mdi-moped-electric:before{content:"󱖷"}.mdi-moped-electric-outline:before{content:"󱖸"}.mdi-moped-outline:before{content:"󱖹"}.mdi-more:before{content:"󰍻"}.mdi-mortar-pestle:before{content:"󱝈"}.mdi-mortar-pestle-plus:before{content:"󰏱"}.mdi-mosque:before{content:"󰵅"}.mdi-mosque-outline:before{content:"󱠧"}.mdi-mother-heart:before{content:"󱌔"}.mdi-mother-nurse:before{content:"󰴡"}.mdi-motion:before{content:"󱖲"}.mdi-motion-outline:before{content:"󱖳"}.mdi-motion-pause:before{content:"󱖐"}.mdi-motion-pause-outline:before{content:"󱖒"}.mdi-motion-play:before{content:"󱖏"}.mdi-motion-play-outline:before{content:"󱖑"}.mdi-motion-sensor:before{content:"󰶑"}.mdi-motion-sensor-off:before{content:"󱐵"}.mdi-motorbike:before{content:"󰍼"}.mdi-motorbike-electric:before{content:"󱖺"}.mdi-motorbike-off:before{content:"󱬖"}.mdi-mouse:before{content:"󰍽"}.mdi-mouse-bluetooth:before{content:"󰦋"}.mdi-mouse-move-down:before{content:"󱕐"}.mdi-mouse-move-up:before{content:"󱕑"}.mdi-mouse-move-vertical:before{content:"󱕒"}.mdi-mouse-off:before{content:"󰍾"}.mdi-mouse-variant:before{content:"󰍿"}.mdi-mouse-variant-off:before{content:"󰎀"}.mdi-move-resize:before{content:"󰙕"}.mdi-move-resize-variant:before{content:"󰙖"}.mdi-movie:before{content:"󰎁"}.mdi-movie-check:before{content:"󱛳"}.mdi-movie-check-outline:before{content:"󱛴"}.mdi-movie-cog:before{content:"󱛵"}.mdi-movie-cog-outline:before{content:"󱛶"}.mdi-movie-edit:before{content:"󱄢"}.mdi-movie-edit-outline:before{content:"󱄣"}.mdi-movie-filter:before{content:"󱄤"}.mdi-movie-filter-outline:before{content:"󱄥"}.mdi-movie-minus:before{content:"󱛷"}.mdi-movie-minus-outline:before{content:"󱛸"}.mdi-movie-off:before{content:"󱛹"}.mdi-movie-off-outline:before{content:"󱛺"}.mdi-movie-open:before{content:"󰿎"}.mdi-movie-open-check:before{content:"󱛻"}.mdi-movie-open-check-outline:before{content:"󱛼"}.mdi-movie-open-cog:before{content:"󱛽"}.mdi-movie-open-cog-outline:before{content:"󱛾"}.mdi-movie-open-edit:before{content:"󱛿"}.mdi-movie-open-edit-outline:before{content:"󱜀"}.mdi-movie-open-minus:before{content:"󱜁"}.mdi-movie-open-minus-outline:before{content:"󱜂"}.mdi-movie-open-off:before{content:"󱜃"}.mdi-movie-open-off-outline:before{content:"󱜄"}.mdi-movie-open-outline:before{content:"󰿏"}.mdi-movie-open-play:before{content:"󱜅"}.mdi-movie-open-play-outline:before{content:"󱜆"}.mdi-movie-open-plus:before{content:"󱜇"}.mdi-movie-open-plus-outline:before{content:"󱜈"}.mdi-movie-open-remove:before{content:"󱜉"}.mdi-movie-open-remove-outline:before{content:"󱜊"}.mdi-movie-open-settings:before{content:"󱜋"}.mdi-movie-open-settings-outline:before{content:"󱜌"}.mdi-movie-open-star:before{content:"󱜍"}.mdi-movie-open-star-outline:before{content:"󱜎"}.mdi-movie-outline:before{content:"󰷝"}.mdi-movie-play:before{content:"󱜏"}.mdi-movie-play-outline:before{content:"󱜐"}.mdi-movie-plus:before{content:"󱜑"}.mdi-movie-plus-outline:before{content:"󱜒"}.mdi-movie-remove:before{content:"󱜓"}.mdi-movie-remove-outline:before{content:"󱜔"}.mdi-movie-roll:before{content:"󰟞"}.mdi-movie-search:before{content:"󱇒"}.mdi-movie-search-outline:before{content:"󱇓"}.mdi-movie-settings:before{content:"󱜕"}.mdi-movie-settings-outline:before{content:"󱜖"}.mdi-movie-star:before{content:"󱜗"}.mdi-movie-star-outline:before{content:"󱜘"}.mdi-mower:before{content:"󱙯"}.mdi-mower-bag:before{content:"󱙰"}.mdi-mower-bag-on:before{content:"󱭠"}.mdi-mower-on:before{content:"󱭟"}.mdi-muffin:before{content:"󰦌"}.mdi-multicast:before{content:"󱢓"}.mdi-multimedia:before{content:"󱮗"}.mdi-multiplication:before{content:"󰎂"}.mdi-multiplication-box:before{content:"󰎃"}.mdi-mushroom:before{content:"󰟟"}.mdi-mushroom-off:before{content:"󱏺"}.mdi-mushroom-off-outline:before{content:"󱏻"}.mdi-mushroom-outline:before{content:"󰟠"}.mdi-music:before{content:"󰝚"}.mdi-music-accidental-double-flat:before{content:"󰽩"}.mdi-music-accidental-double-sharp:before{content:"󰽪"}.mdi-music-accidental-flat:before{content:"󰽫"}.mdi-music-accidental-natural:before{content:"󰽬"}.mdi-music-accidental-sharp:before{content:"󰽭"}.mdi-music-box:before{content:"󰎄"}.mdi-music-box-multiple:before{content:"󰌳"}.mdi-music-box-multiple-outline:before{content:"󰼄"}.mdi-music-box-outline:before{content:"󰎅"}.mdi-music-circle:before{content:"󰎆"}.mdi-music-circle-outline:before{content:"󰫔"}.mdi-music-clef-alto:before{content:"󰽮"}.mdi-music-clef-bass:before{content:"󰽯"}.mdi-music-clef-treble:before{content:"󰽰"}.mdi-music-note:before{content:"󰎇"}.mdi-music-note-bluetooth:before{content:"󰗾"}.mdi-music-note-bluetooth-off:before{content:"󰗿"}.mdi-music-note-eighth:before{content:"󰎈"}.mdi-music-note-eighth-dotted:before{content:"󰽱"}.mdi-music-note-half:before{content:"󰎉"}.mdi-music-note-half-dotted:before{content:"󰽲"}.mdi-music-note-minus:before{content:"󱮉"}.mdi-music-note-off:before{content:"󰎊"}.mdi-music-note-off-outline:before{content:"󰽳"}.mdi-music-note-outline:before{content:"󰽴"}.mdi-music-note-plus:before{content:"󰷞"}.mdi-music-note-quarter:before{content:"󰎋"}.mdi-music-note-quarter-dotted:before{content:"󰽵"}.mdi-music-note-sixteenth:before{content:"󰎌"}.mdi-music-note-sixteenth-dotted:before{content:"󰽶"}.mdi-music-note-whole:before{content:"󰎍"}.mdi-music-note-whole-dotted:before{content:"󰽷"}.mdi-music-off:before{content:"󰝛"}.mdi-music-rest-eighth:before{content:"󰽸"}.mdi-music-rest-half:before{content:"󰽹"}.mdi-music-rest-quarter:before{content:"󰽺"}.mdi-music-rest-sixteenth:before{content:"󰽻"}.mdi-music-rest-whole:before{content:"󰽼"}.mdi-mustache:before{content:"󱗞"}.mdi-nail:before{content:"󰷟"}.mdi-nas:before{content:"󰣳"}.mdi-nativescript:before{content:"󰢀"}.mdi-nature:before{content:"󰎎"}.mdi-nature-outline:before{content:"󱱱"}.mdi-nature-people:before{content:"󰎏"}.mdi-nature-people-outline:before{content:"󱱲"}.mdi-navigation:before{content:"󰎐"}.mdi-navigation-outline:before{content:"󱘇"}.mdi-navigation-variant:before{content:"󱣰"}.mdi-navigation-variant-outline:before{content:"󱣱"}.mdi-near-me:before{content:"󰗍"}.mdi-necklace:before{content:"󰼋"}.mdi-needle:before{content:"󰎑"}.mdi-needle-off:before{content:"󱧒"}.mdi-netflix:before{content:"󰝆"}.mdi-network:before{content:"󰛳"}.mdi-network-off:before{content:"󰲛"}.mdi-network-off-outline:before{content:"󰲜"}.mdi-network-outline:before{content:"󰲝"}.mdi-network-pos:before{content:"󱫋"}.mdi-network-strength-1:before{content:"󰣴"}.mdi-network-strength-1-alert:before{content:"󰣵"}.mdi-network-strength-2:before{content:"󰣶"}.mdi-network-strength-2-alert:before{content:"󰣷"}.mdi-network-strength-3:before{content:"󰣸"}.mdi-network-strength-3-alert:before{content:"󰣹"}.mdi-network-strength-4:before{content:"󰣺"}.mdi-network-strength-4-alert:before{content:"󰣻"}.mdi-network-strength-4-cog:before{content:"󱤚"}.mdi-network-strength-off:before{content:"󰣼"}.mdi-network-strength-off-outline:before{content:"󰣽"}.mdi-network-strength-outline:before{content:"󰣾"}.mdi-new-box:before{content:"󰎔"}.mdi-newspaper:before{content:"󰎕"}.mdi-newspaper-check:before{content:"󱥃"}.mdi-newspaper-minus:before{content:"󰼌"}.mdi-newspaper-plus:before{content:"󰼍"}.mdi-newspaper-remove:before{content:"󱥄"}.mdi-newspaper-variant:before{content:"󱀁"}.mdi-newspaper-variant-multiple:before{content:"󱀂"}.mdi-newspaper-variant-multiple-outline:before{content:"󱀃"}.mdi-newspaper-variant-outline:before{content:"󱀄"}.mdi-nfc:before{content:"󰎖"}.mdi-nfc-search-variant:before{content:"󰹓"}.mdi-nfc-tap:before{content:"󰎗"}.mdi-nfc-variant:before{content:"󰎘"}.mdi-nfc-variant-off:before{content:"󰹔"}.mdi-ninja:before{content:"󰝴"}.mdi-nintendo-game-boy:before{content:"󱎓"}.mdi-nintendo-switch:before{content:"󰟡"}.mdi-nintendo-wii:before{content:"󰖫"}.mdi-nintendo-wiiu:before{content:"󰜭"}.mdi-nix:before{content:"󱄅"}.mdi-nodejs:before{content:"󰎙"}.mdi-noodles:before{content:"󱅾"}.mdi-not-equal:before{content:"󰦍"}.mdi-not-equal-variant:before{content:"󰦎"}.mdi-note:before{content:"󰎚"}.mdi-note-alert:before{content:"󱝽"}.mdi-note-alert-outline:before{content:"󱝾"}.mdi-note-check:before{content:"󱝿"}.mdi-note-check-outline:before{content:"󱞀"}.mdi-note-edit:before{content:"󱞁"}.mdi-note-edit-outline:before{content:"󱞂"}.mdi-note-minus:before{content:"󱙏"}.mdi-note-minus-outline:before{content:"󱙐"}.mdi-note-multiple:before{content:"󰚸"}.mdi-note-multiple-outline:before{content:"󰚹"}.mdi-note-off:before{content:"󱞃"}.mdi-note-off-outline:before{content:"󱞄"}.mdi-note-outline:before{content:"󰎛"}.mdi-note-plus:before{content:"󰎜"}.mdi-note-plus-outline:before{content:"󰎝"}.mdi-note-remove:before{content:"󱙑"}.mdi-note-remove-outline:before{content:"󱙒"}.mdi-note-search:before{content:"󱙓"}.mdi-note-search-outline:before{content:"󱙔"}.mdi-note-text:before{content:"󰎞"}.mdi-note-text-outline:before{content:"󱇗"}.mdi-notebook:before{content:"󰠮"}.mdi-notebook-check:before{content:"󱓵"}.mdi-notebook-check-outline:before{content:"󱓶"}.mdi-notebook-edit:before{content:"󱓧"}.mdi-notebook-edit-outline:before{content:"󱓩"}.mdi-notebook-heart:before{content:"󱨋"}.mdi-notebook-heart-outline:before{content:"󱨌"}.mdi-notebook-minus:before{content:"󱘐"}.mdi-notebook-minus-outline:before{content:"󱘑"}.mdi-notebook-multiple:before{content:"󰹕"}.mdi-notebook-outline:before{content:"󰺿"}.mdi-notebook-plus:before{content:"󱘒"}.mdi-notebook-plus-outline:before{content:"󱘓"}.mdi-notebook-remove:before{content:"󱘔"}.mdi-notebook-remove-outline:before{content:"󱘕"}.mdi-notification-clear-all:before{content:"󰎟"}.mdi-npm:before{content:"󰛷"}.mdi-nuke:before{content:"󰚤"}.mdi-null:before{content:"󰟢"}.mdi-numeric:before{content:"󰎠"}.mdi-numeric-0:before{content:"󰬹"}.mdi-numeric-0-box:before{content:"󰎡"}.mdi-numeric-0-box-multiple:before{content:"󰼎"}.mdi-numeric-0-box-multiple-outline:before{content:"󰎢"}.mdi-numeric-0-box-outline:before{content:"󰎣"}.mdi-numeric-0-circle:before{content:"󰲞"}.mdi-numeric-0-circle-outline:before{content:"󰲟"}.mdi-numeric-1:before{content:"󰬺"}.mdi-numeric-1-box:before{content:"󰎤"}.mdi-numeric-1-box-multiple:before{content:"󰼏"}.mdi-numeric-1-box-multiple-outline:before{content:"󰎥"}.mdi-numeric-1-box-outline:before{content:"󰎦"}.mdi-numeric-1-circle:before{content:"󰲠"}.mdi-numeric-1-circle-outline:before{content:"󰲡"}.mdi-numeric-10:before{content:"󰿩"}.mdi-numeric-10-box:before{content:"󰽽"}.mdi-numeric-10-box-multiple:before{content:"󰿪"}.mdi-numeric-10-box-multiple-outline:before{content:"󰿫"}.mdi-numeric-10-box-outline:before{content:"󰽾"}.mdi-numeric-10-circle:before{content:"󰿬"}.mdi-numeric-10-circle-outline:before{content:"󰿭"}.mdi-numeric-2:before{content:"󰬻"}.mdi-numeric-2-box:before{content:"󰎧"}.mdi-numeric-2-box-multiple:before{content:"󰼐"}.mdi-numeric-2-box-multiple-outline:before{content:"󰎨"}.mdi-numeric-2-box-outline:before{content:"󰎩"}.mdi-numeric-2-circle:before{content:"󰲢"}.mdi-numeric-2-circle-outline:before{content:"󰲣"}.mdi-numeric-3:before{content:"󰬼"}.mdi-numeric-3-box:before{content:"󰎪"}.mdi-numeric-3-box-multiple:before{content:"󰼑"}.mdi-numeric-3-box-multiple-outline:before{content:"󰎫"}.mdi-numeric-3-box-outline:before{content:"󰎬"}.mdi-numeric-3-circle:before{content:"󰲤"}.mdi-numeric-3-circle-outline:before{content:"󰲥"}.mdi-numeric-4:before{content:"󰬽"}.mdi-numeric-4-box:before{content:"󰎭"}.mdi-numeric-4-box-multiple:before{content:"󰼒"}.mdi-numeric-4-box-multiple-outline:before{content:"󰎲"}.mdi-numeric-4-box-outline:before{content:"󰎮"}.mdi-numeric-4-circle:before{content:"󰲦"}.mdi-numeric-4-circle-outline:before{content:"󰲧"}.mdi-numeric-5:before{content:"󰬾"}.mdi-numeric-5-box:before{content:"󰎱"}.mdi-numeric-5-box-multiple:before{content:"󰼓"}.mdi-numeric-5-box-multiple-outline:before{content:"󰎯"}.mdi-numeric-5-box-outline:before{content:"󰎰"}.mdi-numeric-5-circle:before{content:"󰲨"}.mdi-numeric-5-circle-outline:before{content:"󰲩"}.mdi-numeric-6:before{content:"󰬿"}.mdi-numeric-6-box:before{content:"󰎳"}.mdi-numeric-6-box-multiple:before{content:"󰼔"}.mdi-numeric-6-box-multiple-outline:before{content:"󰎴"}.mdi-numeric-6-box-outline:before{content:"󰎵"}.mdi-numeric-6-circle:before{content:"󰲪"}.mdi-numeric-6-circle-outline:before{content:"󰲫"}.mdi-numeric-7:before{content:"󰭀"}.mdi-numeric-7-box:before{content:"󰎶"}.mdi-numeric-7-box-multiple:before{content:"󰼕"}.mdi-numeric-7-box-multiple-outline:before{content:"󰎷"}.mdi-numeric-7-box-outline:before{content:"󰎸"}.mdi-numeric-7-circle:before{content:"󰲬"}.mdi-numeric-7-circle-outline:before{content:"󰲭"}.mdi-numeric-8:before{content:"󰭁"}.mdi-numeric-8-box:before{content:"󰎹"}.mdi-numeric-8-box-multiple:before{content:"󰼖"}.mdi-numeric-8-box-multiple-outline:before{content:"󰎺"}.mdi-numeric-8-box-outline:before{content:"󰎻"}.mdi-numeric-8-circle:before{content:"󰲮"}.mdi-numeric-8-circle-outline:before{content:"󰲯"}.mdi-numeric-9:before{content:"󰭂"}.mdi-numeric-9-box:before{content:"󰎼"}.mdi-numeric-9-box-multiple:before{content:"󰼗"}.mdi-numeric-9-box-multiple-outline:before{content:"󰎽"}.mdi-numeric-9-box-outline:before{content:"󰎾"}.mdi-numeric-9-circle:before{content:"󰲰"}.mdi-numeric-9-circle-outline:before{content:"󰲱"}.mdi-numeric-9-plus:before{content:"󰿮"}.mdi-numeric-9-plus-box:before{content:"󰎿"}.mdi-numeric-9-plus-box-multiple:before{content:"󰼘"}.mdi-numeric-9-plus-box-multiple-outline:before{content:"󰏀"}.mdi-numeric-9-plus-box-outline:before{content:"󰏁"}.mdi-numeric-9-plus-circle:before{content:"󰲲"}.mdi-numeric-9-plus-circle-outline:before{content:"󰲳"}.mdi-numeric-negative-1:before{content:"󱁒"}.mdi-numeric-off:before{content:"󱧓"}.mdi-numeric-positive-1:before{content:"󱗋"}.mdi-nut:before{content:"󰛸"}.mdi-nutrition:before{content:"󰏂"}.mdi-nuxt:before{content:"󱄆"}.mdi-oar:before{content:"󰙼"}.mdi-ocarina:before{content:"󰷠"}.mdi-oci:before{content:"󱋩"}.mdi-ocr:before{content:"󱄺"}.mdi-octagon:before{content:"󰏃"}.mdi-octagon-outline:before{content:"󰏄"}.mdi-octagram:before{content:"󰛹"}.mdi-octagram-edit:before{content:"󱰴"}.mdi-octagram-edit-outline:before{content:"󱰵"}.mdi-octagram-minus:before{content:"󱰶"}.mdi-octagram-minus-outline:before{content:"󱰷"}.mdi-octagram-outline:before{content:"󰝵"}.mdi-octagram-plus:before{content:"󱰸"}.mdi-octagram-plus-outline:before{content:"󱰹"}.mdi-octahedron:before{content:"󱥐"}.mdi-octahedron-off:before{content:"󱥑"}.mdi-odnoklassniki:before{content:"󰏅"}.mdi-offer:before{content:"󱈛"}.mdi-office-building:before{content:"󰦑"}.mdi-office-building-cog:before{content:"󱥉"}.mdi-office-building-cog-outline:before{content:"󱥊"}.mdi-office-building-marker:before{content:"󱔠"}.mdi-office-building-marker-outline:before{content:"󱔡"}.mdi-office-building-minus:before{content:"󱮪"}.mdi-office-building-minus-outline:before{content:"󱮫"}.mdi-office-building-outline:before{content:"󱔟"}.mdi-office-building-plus:before{content:"󱮨"}.mdi-office-building-plus-outline:before{content:"󱮩"}.mdi-office-building-remove:before{content:"󱮬"}.mdi-office-building-remove-outline:before{content:"󱮭"}.mdi-oil:before{content:"󰏇"}.mdi-oil-lamp:before{content:"󰼙"}.mdi-oil-level:before{content:"󱁓"}.mdi-oil-temperature:before{content:"󰿸"}.mdi-om:before{content:"󰥳"}.mdi-omega:before{content:"󰏉"}.mdi-one-up:before{content:"󰮭"}.mdi-onepassword:before{content:"󰢁"}.mdi-opacity:before{content:"󰗌"}.mdi-open-in-app:before{content:"󰏋"}.mdi-open-in-new:before{content:"󰏌"}.mdi-open-source-initiative:before{content:"󰮮"}.mdi-openid:before{content:"󰏍"}.mdi-opera:before{content:"󰏎"}.mdi-orbit:before{content:"󰀘"}.mdi-orbit-variant:before{content:"󱗛"}.mdi-order-alphabetical-ascending:before{content:"󰈍"}.mdi-order-alphabetical-descending:before{content:"󰴇"}.mdi-order-bool-ascending:before{content:"󰊾"}.mdi-order-bool-ascending-variant:before{content:"󰦏"}.mdi-order-bool-descending:before{content:"󱎄"}.mdi-order-bool-descending-variant:before{content:"󰦐"}.mdi-order-numeric-ascending:before{content:"󰕅"}.mdi-order-numeric-descending:before{content:"󰕆"}.mdi-origin:before{content:"󰭃"}.mdi-ornament:before{content:"󰏏"}.mdi-ornament-variant:before{content:"󰏐"}.mdi-outdoor-lamp:before{content:"󱁔"}.mdi-overscan:before{content:"󱀅"}.mdi-owl:before{content:"󰏒"}.mdi-pac-man:before{content:"󰮯"}.mdi-package:before{content:"󰏓"}.mdi-package-check:before{content:"󱭑"}.mdi-package-down:before{content:"󰏔"}.mdi-package-up:before{content:"󰏕"}.mdi-package-variant:before{content:"󰏖"}.mdi-package-variant-closed:before{content:"󰏗"}.mdi-package-variant-closed-check:before{content:"󱭒"}.mdi-package-variant-closed-minus:before{content:"󱧔"}.mdi-package-variant-closed-plus:before{content:"󱧕"}.mdi-package-variant-closed-remove:before{content:"󱧖"}.mdi-package-variant-minus:before{content:"󱧗"}.mdi-package-variant-plus:before{content:"󱧘"}.mdi-package-variant-remove:before{content:"󱧙"}.mdi-page-first:before{content:"󰘀"}.mdi-page-last:before{content:"󰘁"}.mdi-page-layout-body:before{content:"󰛺"}.mdi-page-layout-footer:before{content:"󰛻"}.mdi-page-layout-header:before{content:"󰛼"}.mdi-page-layout-header-footer:before{content:"󰽿"}.mdi-page-layout-sidebar-left:before{content:"󰛽"}.mdi-page-layout-sidebar-right:before{content:"󰛾"}.mdi-page-next:before{content:"󰮰"}.mdi-page-next-outline:before{content:"󰮱"}.mdi-page-previous:before{content:"󰮲"}.mdi-page-previous-outline:before{content:"󰮳"}.mdi-pail:before{content:"󱐗"}.mdi-pail-minus:before{content:"󱐷"}.mdi-pail-minus-outline:before{content:"󱐼"}.mdi-pail-off:before{content:"󱐹"}.mdi-pail-off-outline:before{content:"󱐾"}.mdi-pail-outline:before{content:"󱐺"}.mdi-pail-plus:before{content:"󱐶"}.mdi-pail-plus-outline:before{content:"󱐻"}.mdi-pail-remove:before{content:"󱐸"}.mdi-pail-remove-outline:before{content:"󱐽"}.mdi-palette:before{content:"󰏘"}.mdi-palette-advanced:before{content:"󰏙"}.mdi-palette-outline:before{content:"󰸌"}.mdi-palette-swatch:before{content:"󰢵"}.mdi-palette-swatch-outline:before{content:"󱍜"}.mdi-palette-swatch-variant:before{content:"󱥚"}.mdi-palm-tree:before{content:"󱁕"}.mdi-pan:before{content:"󰮴"}.mdi-pan-bottom-left:before{content:"󰮵"}.mdi-pan-bottom-right:before{content:"󰮶"}.mdi-pan-down:before{content:"󰮷"}.mdi-pan-horizontal:before{content:"󰮸"}.mdi-pan-left:before{content:"󰮹"}.mdi-pan-right:before{content:"󰮺"}.mdi-pan-top-left:before{content:"󰮻"}.mdi-pan-top-right:before{content:"󰮼"}.mdi-pan-up:before{content:"󰮽"}.mdi-pan-vertical:before{content:"󰮾"}.mdi-panda:before{content:"󰏚"}.mdi-pandora:before{content:"󰏛"}.mdi-panorama:before{content:"󰏜"}.mdi-panorama-fisheye:before{content:"󰏝"}.mdi-panorama-horizontal:before{content:"󱤨"}.mdi-panorama-horizontal-outline:before{content:"󰏞"}.mdi-panorama-outline:before{content:"󱦌"}.mdi-panorama-sphere:before{content:"󱦍"}.mdi-panorama-sphere-outline:before{content:"󱦎"}.mdi-panorama-variant:before{content:"󱦏"}.mdi-panorama-variant-outline:before{content:"󱦐"}.mdi-panorama-vertical:before{content:"󱤩"}.mdi-panorama-vertical-outline:before{content:"󰏟"}.mdi-panorama-wide-angle:before{content:"󱥟"}.mdi-panorama-wide-angle-outline:before{content:"󰏠"}.mdi-paper-cut-vertical:before{content:"󰏡"}.mdi-paper-roll:before{content:"󱅗"}.mdi-paper-roll-outline:before{content:"󱅘"}.mdi-paperclip:before{content:"󰏢"}.mdi-paperclip-check:before{content:"󱫆"}.mdi-paperclip-lock:before{content:"󱧚"}.mdi-paperclip-minus:before{content:"󱫇"}.mdi-paperclip-off:before{content:"󱫈"}.mdi-paperclip-plus:before{content:"󱫉"}.mdi-paperclip-remove:before{content:"󱫊"}.mdi-parachute:before{content:"󰲴"}.mdi-parachute-outline:before{content:"󰲵"}.mdi-paragliding:before{content:"󱝅"}.mdi-parking:before{content:"󰏣"}.mdi-party-popper:before{content:"󱁖"}.mdi-passport:before{content:"󰟣"}.mdi-passport-biometric:before{content:"󰷡"}.mdi-pasta:before{content:"󱅠"}.mdi-patio-heater:before{content:"󰾀"}.mdi-patreon:before{content:"󰢂"}.mdi-pause:before{content:"󰏤"}.mdi-pause-box:before{content:"󰂼"}.mdi-pause-box-outline:before{content:"󱭺"}.mdi-pause-circle:before{content:"󰏥"}.mdi-pause-circle-outline:before{content:"󰏦"}.mdi-pause-octagon:before{content:"󰏧"}.mdi-pause-octagon-outline:before{content:"󰏨"}.mdi-paw:before{content:"󰏩"}.mdi-paw-off:before{content:"󰙗"}.mdi-paw-off-outline:before{content:"󱙶"}.mdi-paw-outline:before{content:"󱙵"}.mdi-peace:before{content:"󰢄"}.mdi-peanut:before{content:"󰿼"}.mdi-peanut-off:before{content:"󰿽"}.mdi-peanut-off-outline:before{content:"󰿿"}.mdi-peanut-outline:before{content:"󰿾"}.mdi-pen:before{content:"󰏪"}.mdi-pen-lock:before{content:"󰷢"}.mdi-pen-minus:before{content:"󰷣"}.mdi-pen-off:before{content:"󰷤"}.mdi-pen-plus:before{content:"󰷥"}.mdi-pen-remove:before{content:"󰷦"}.mdi-pencil:before{content:"󰏫"}.mdi-pencil-box:before{content:"󰏬"}.mdi-pencil-box-multiple:before{content:"󱅄"}.mdi-pencil-box-multiple-outline:before{content:"󱅅"}.mdi-pencil-box-outline:before{content:"󰏭"}.mdi-pencil-circle:before{content:"󰛿"}.mdi-pencil-circle-outline:before{content:"󰝶"}.mdi-pencil-lock:before{content:"󰏮"}.mdi-pencil-lock-outline:before{content:"󰷧"}.mdi-pencil-minus:before{content:"󰷨"}.mdi-pencil-minus-outline:before{content:"󰷩"}.mdi-pencil-off:before{content:"󰏯"}.mdi-pencil-off-outline:before{content:"󰷪"}.mdi-pencil-outline:before{content:"󰲶"}.mdi-pencil-plus:before{content:"󰷫"}.mdi-pencil-plus-outline:before{content:"󰷬"}.mdi-pencil-remove:before{content:"󰷭"}.mdi-pencil-remove-outline:before{content:"󰷮"}.mdi-pencil-ruler:before{content:"󱍓"}.mdi-pencil-ruler-outline:before{content:"󱰑"}.mdi-penguin:before{content:"󰻀"}.mdi-pentagon:before{content:"󰜁"}.mdi-pentagon-outline:before{content:"󰜀"}.mdi-pentagram:before{content:"󱙧"}.mdi-percent:before{content:"󰏰"}.mdi-percent-box:before{content:"󱨂"}.mdi-percent-box-outline:before{content:"󱨃"}.mdi-percent-circle:before{content:"󱨄"}.mdi-percent-circle-outline:before{content:"󱨅"}.mdi-percent-outline:before{content:"󱉸"}.mdi-periodic-table:before{content:"󰢶"}.mdi-perspective-less:before{content:"󰴣"}.mdi-perspective-more:before{content:"󰴤"}.mdi-ph:before{content:"󱟅"}.mdi-phone:before{content:"󰏲"}.mdi-phone-alert:before{content:"󰼚"}.mdi-phone-alert-outline:before{content:"󱆎"}.mdi-phone-bluetooth:before{content:"󰏳"}.mdi-phone-bluetooth-outline:before{content:"󱆏"}.mdi-phone-cancel:before{content:"󱂼"}.mdi-phone-cancel-outline:before{content:"󱆐"}.mdi-phone-check:before{content:"󱆩"}.mdi-phone-check-outline:before{content:"󱆪"}.mdi-phone-classic:before{content:"󰘂"}.mdi-phone-classic-off:before{content:"󱉹"}.mdi-phone-clock:before{content:"󱧛"}.mdi-phone-dial:before{content:"󱕙"}.mdi-phone-dial-outline:before{content:"󱕚"}.mdi-phone-forward:before{content:"󰏴"}.mdi-phone-forward-outline:before{content:"󱆑"}.mdi-phone-hangup:before{content:"󰏵"}.mdi-phone-hangup-outline:before{content:"󱆒"}.mdi-phone-in-talk:before{content:"󰏶"}.mdi-phone-in-talk-outline:before{content:"󱆂"}.mdi-phone-incoming:before{content:"󰏷"}.mdi-phone-incoming-outgoing:before{content:"󱬿"}.mdi-phone-incoming-outgoing-outline:before{content:"󱭀"}.mdi-phone-incoming-outline:before{content:"󱆓"}.mdi-phone-lock:before{content:"󰏸"}.mdi-phone-lock-outline:before{content:"󱆔"}.mdi-phone-log:before{content:"󰏹"}.mdi-phone-log-outline:before{content:"󱆕"}.mdi-phone-message:before{content:"󱆖"}.mdi-phone-message-outline:before{content:"󱆗"}.mdi-phone-minus:before{content:"󰙘"}.mdi-phone-minus-outline:before{content:"󱆘"}.mdi-phone-missed:before{content:"󰏺"}.mdi-phone-missed-outline:before{content:"󱆥"}.mdi-phone-off:before{content:"󰷯"}.mdi-phone-off-outline:before{content:"󱆦"}.mdi-phone-outgoing:before{content:"󰏻"}.mdi-phone-outgoing-outline:before{content:"󱆙"}.mdi-phone-outline:before{content:"󰷰"}.mdi-phone-paused:before{content:"󰏼"}.mdi-phone-paused-outline:before{content:"󱆚"}.mdi-phone-plus:before{content:"󰙙"}.mdi-phone-plus-outline:before{content:"󱆛"}.mdi-phone-refresh:before{content:"󱦓"}.mdi-phone-refresh-outline:before{content:"󱦔"}.mdi-phone-remove:before{content:"󱔯"}.mdi-phone-remove-outline:before{content:"󱔰"}.mdi-phone-return:before{content:"󰠯"}.mdi-phone-return-outline:before{content:"󱆜"}.mdi-phone-ring:before{content:"󱆫"}.mdi-phone-ring-outline:before{content:"󱆬"}.mdi-phone-rotate-landscape:before{content:"󰢅"}.mdi-phone-rotate-portrait:before{content:"󰢆"}.mdi-phone-settings:before{content:"󰏽"}.mdi-phone-settings-outline:before{content:"󱆝"}.mdi-phone-sync:before{content:"󱦕"}.mdi-phone-sync-outline:before{content:"󱦖"}.mdi-phone-voip:before{content:"󰏾"}.mdi-pi:before{content:"󰏿"}.mdi-pi-box:before{content:"󰐀"}.mdi-pi-hole:before{content:"󰷱"}.mdi-piano:before{content:"󰙽"}.mdi-piano-off:before{content:"󰚘"}.mdi-pickaxe:before{content:"󰢷"}.mdi-picture-in-picture-bottom-right:before{content:"󰹗"}.mdi-picture-in-picture-bottom-right-outline:before{content:"󰹘"}.mdi-picture-in-picture-top-right:before{content:"󰹙"}.mdi-picture-in-picture-top-right-outline:before{content:"󰹚"}.mdi-pier:before{content:"󰢇"}.mdi-pier-crane:before{content:"󰢈"}.mdi-pig:before{content:"󰐁"}.mdi-pig-variant:before{content:"󱀆"}.mdi-pig-variant-outline:before{content:"󱙸"}.mdi-piggy-bank:before{content:"󱀇"}.mdi-piggy-bank-outline:before{content:"󱙹"}.mdi-pill:before{content:"󰐂"}.mdi-pill-multiple:before{content:"󱭌"}.mdi-pill-off:before{content:"󱩜"}.mdi-pillar:before{content:"󰜂"}.mdi-pin:before{content:"󰐃"}.mdi-pin-off:before{content:"󰐄"}.mdi-pin-off-outline:before{content:"󰤰"}.mdi-pin-outline:before{content:"󰤱"}.mdi-pine-tree:before{content:"󰐅"}.mdi-pine-tree-box:before{content:"󰐆"}.mdi-pine-tree-fire:before{content:"󱐚"}.mdi-pine-tree-variant:before{content:"󱱳"}.mdi-pine-tree-variant-outline:before{content:"󱱴"}.mdi-pinterest:before{content:"󰐇"}.mdi-pinwheel:before{content:"󰫕"}.mdi-pinwheel-outline:before{content:"󰫖"}.mdi-pipe:before{content:"󰟥"}.mdi-pipe-disconnected:before{content:"󰟦"}.mdi-pipe-leak:before{content:"󰢉"}.mdi-pipe-valve:before{content:"󱡍"}.mdi-pipe-wrench:before{content:"󱍔"}.mdi-pirate:before{content:"󰨈"}.mdi-pistol:before{content:"󰜃"}.mdi-piston:before{content:"󰢊"}.mdi-pitchfork:before{content:"󱕓"}.mdi-pizza:before{content:"󰐉"}.mdi-plane-car:before{content:"󱫿"}.mdi-plane-train:before{content:"󱬀"}.mdi-play:before{content:"󰐊"}.mdi-play-box:before{content:"󱉺"}.mdi-play-box-edit-outline:before{content:"󱰺"}.mdi-play-box-lock:before{content:"󱨖"}.mdi-play-box-lock-open:before{content:"󱨗"}.mdi-play-box-lock-open-outline:before{content:"󱨘"}.mdi-play-box-lock-outline:before{content:"󱨙"}.mdi-play-box-multiple:before{content:"󰴙"}.mdi-play-box-multiple-outline:before{content:"󱏦"}.mdi-play-box-outline:before{content:"󰐋"}.mdi-play-circle:before{content:"󰐌"}.mdi-play-circle-outline:before{content:"󰐍"}.mdi-play-network:before{content:"󰢋"}.mdi-play-network-outline:before{content:"󰲷"}.mdi-play-outline:before{content:"󰼛"}.mdi-play-pause:before{content:"󰐎"}.mdi-play-protected-content:before{content:"󰐏"}.mdi-play-speed:before{content:"󰣿"}.mdi-playlist-check:before{content:"󰗇"}.mdi-playlist-edit:before{content:"󰤀"}.mdi-playlist-minus:before{content:"󰐐"}.mdi-playlist-music:before{content:"󰲸"}.mdi-playlist-music-outline:before{content:"󰲹"}.mdi-playlist-play:before{content:"󰐑"}.mdi-playlist-plus:before{content:"󰐒"}.mdi-playlist-remove:before{content:"󰐓"}.mdi-playlist-star:before{content:"󰷲"}.mdi-plex:before{content:"󰚺"}.mdi-pliers:before{content:"󱦤"}.mdi-plus:before{content:"󰐕"}.mdi-plus-box:before{content:"󰐖"}.mdi-plus-box-multiple:before{content:"󰌴"}.mdi-plus-box-multiple-outline:before{content:"󱅃"}.mdi-plus-box-outline:before{content:"󰜄"}.mdi-plus-circle:before{content:"󰐗"}.mdi-plus-circle-multiple:before{content:"󰍌"}.mdi-plus-circle-multiple-outline:before{content:"󰐘"}.mdi-plus-circle-outline:before{content:"󰐙"}.mdi-plus-lock:before{content:"󱩝"}.mdi-plus-lock-open:before{content:"󱩞"}.mdi-plus-minus:before{content:"󰦒"}.mdi-plus-minus-box:before{content:"󰦓"}.mdi-plus-minus-variant:before{content:"󱓉"}.mdi-plus-network:before{content:"󰐚"}.mdi-plus-network-outline:before{content:"󰲺"}.mdi-plus-outline:before{content:"󰜅"}.mdi-plus-thick:before{content:"󱇬"}.mdi-podcast:before{content:"󰦔"}.mdi-podium:before{content:"󰴥"}.mdi-podium-bronze:before{content:"󰴦"}.mdi-podium-gold:before{content:"󰴧"}.mdi-podium-silver:before{content:"󰴨"}.mdi-point-of-sale:before{content:"󰶒"}.mdi-pokeball:before{content:"󰐝"}.mdi-pokemon-go:before{content:"󰨉"}.mdi-poker-chip:before{content:"󰠰"}.mdi-polaroid:before{content:"󰐞"}.mdi-police-badge:before{content:"󱅧"}.mdi-police-badge-outline:before{content:"󱅨"}.mdi-police-station:before{content:"󱠹"}.mdi-poll:before{content:"󰐟"}.mdi-polo:before{content:"󱓃"}.mdi-polymer:before{content:"󰐡"}.mdi-pool:before{content:"󰘆"}.mdi-pool-thermometer:before{content:"󱩟"}.mdi-popcorn:before{content:"󰐢"}.mdi-post:before{content:"󱀈"}.mdi-post-lamp:before{content:"󱩠"}.mdi-post-outline:before{content:"󱀉"}.mdi-postage-stamp:before{content:"󰲻"}.mdi-pot:before{content:"󰋥"}.mdi-pot-mix:before{content:"󰙛"}.mdi-pot-mix-outline:before{content:"󰙷"}.mdi-pot-outline:before{content:"󰋿"}.mdi-pot-steam:before{content:"󰙚"}.mdi-pot-steam-outline:before{content:"󰌦"}.mdi-pound:before{content:"󰐣"}.mdi-pound-box:before{content:"󰐤"}.mdi-pound-box-outline:before{content:"󱅿"}.mdi-power:before{content:"󰐥"}.mdi-power-cycle:before{content:"󰤁"}.mdi-power-off:before{content:"󰤂"}.mdi-power-on:before{content:"󰤃"}.mdi-power-plug:before{content:"󰚥"}.mdi-power-plug-battery:before{content:"󱰻"}.mdi-power-plug-battery-outline:before{content:"󱰼"}.mdi-power-plug-off:before{content:"󰚦"}.mdi-power-plug-off-outline:before{content:"󱐤"}.mdi-power-plug-outline:before{content:"󱐥"}.mdi-power-settings:before{content:"󰐦"}.mdi-power-sleep:before{content:"󰤄"}.mdi-power-socket:before{content:"󰐧"}.mdi-power-socket-au:before{content:"󰤅"}.mdi-power-socket-ch:before{content:"󰾳"}.mdi-power-socket-de:before{content:"󱄇"}.mdi-power-socket-eu:before{content:"󰟧"}.mdi-power-socket-fr:before{content:"󱄈"}.mdi-power-socket-it:before{content:"󱓿"}.mdi-power-socket-jp:before{content:"󱄉"}.mdi-power-socket-uk:before{content:"󰟨"}.mdi-power-socket-us:before{content:"󰟩"}.mdi-power-standby:before{content:"󰤆"}.mdi-powershell:before{content:"󰨊"}.mdi-prescription:before{content:"󰜆"}.mdi-presentation:before{content:"󰐨"}.mdi-presentation-play:before{content:"󰐩"}.mdi-pretzel:before{content:"󱕢"}.mdi-printer:before{content:"󰐪"}.mdi-printer-3d:before{content:"󰐫"}.mdi-printer-3d-nozzle:before{content:"󰹛"}.mdi-printer-3d-nozzle-alert:before{content:"󱇀"}.mdi-printer-3d-nozzle-alert-outline:before{content:"󱇁"}.mdi-printer-3d-nozzle-heat:before{content:"󱢸"}.mdi-printer-3d-nozzle-heat-outline:before{content:"󱢹"}.mdi-printer-3d-nozzle-off:before{content:"󱬙"}.mdi-printer-3d-nozzle-off-outline:before{content:"󱬚"}.mdi-printer-3d-nozzle-outline:before{content:"󰹜"}.mdi-printer-3d-off:before{content:"󱬎"}.mdi-printer-alert:before{content:"󰐬"}.mdi-printer-check:before{content:"󱅆"}.mdi-printer-eye:before{content:"󱑘"}.mdi-printer-off:before{content:"󰹝"}.mdi-printer-off-outline:before{content:"󱞅"}.mdi-printer-outline:before{content:"󱞆"}.mdi-printer-pos:before{content:"󱁗"}.mdi-printer-pos-alert:before{content:"󱮼"}.mdi-printer-pos-alert-outline:before{content:"󱮽"}.mdi-printer-pos-cancel:before{content:"󱮾"}.mdi-printer-pos-cancel-outline:before{content:"󱮿"}.mdi-printer-pos-check:before{content:"󱯀"}.mdi-printer-pos-check-outline:before{content:"󱯁"}.mdi-printer-pos-cog:before{content:"󱯂"}.mdi-printer-pos-cog-outline:before{content:"󱯃"}.mdi-printer-pos-edit:before{content:"󱯄"}.mdi-printer-pos-edit-outline:before{content:"󱯅"}.mdi-printer-pos-minus:before{content:"󱯆"}.mdi-printer-pos-minus-outline:before{content:"󱯇"}.mdi-printer-pos-network:before{content:"󱯈"}.mdi-printer-pos-network-outline:before{content:"󱯉"}.mdi-printer-pos-off:before{content:"󱯊"}.mdi-printer-pos-off-outline:before{content:"󱯋"}.mdi-printer-pos-outline:before{content:"󱯌"}.mdi-printer-pos-pause:before{content:"󱯍"}.mdi-printer-pos-pause-outline:before{content:"󱯎"}.mdi-printer-pos-play:before{content:"󱯏"}.mdi-printer-pos-play-outline:before{content:"󱯐"}.mdi-printer-pos-plus:before{content:"󱯑"}.mdi-printer-pos-plus-outline:before{content:"󱯒"}.mdi-printer-pos-refresh:before{content:"󱯓"}.mdi-printer-pos-refresh-outline:before{content:"󱯔"}.mdi-printer-pos-remove:before{content:"󱯕"}.mdi-printer-pos-remove-outline:before{content:"󱯖"}.mdi-printer-pos-star:before{content:"󱯗"}.mdi-printer-pos-star-outline:before{content:"󱯘"}.mdi-printer-pos-stop:before{content:"󱯙"}.mdi-printer-pos-stop-outline:before{content:"󱯚"}.mdi-printer-pos-sync:before{content:"󱯛"}.mdi-printer-pos-sync-outline:before{content:"󱯜"}.mdi-printer-pos-wrench:before{content:"󱯝"}.mdi-printer-pos-wrench-outline:before{content:"󱯞"}.mdi-printer-search:before{content:"󱑗"}.mdi-printer-settings:before{content:"󰜇"}.mdi-printer-wireless:before{content:"󰨋"}.mdi-priority-high:before{content:"󰘃"}.mdi-priority-low:before{content:"󰘄"}.mdi-professional-hexagon:before{content:"󰐭"}.mdi-progress-alert:before{content:"󰲼"}.mdi-progress-check:before{content:"󰦕"}.mdi-progress-clock:before{content:"󰦖"}.mdi-progress-close:before{content:"󱄊"}.mdi-progress-download:before{content:"󰦗"}.mdi-progress-helper:before{content:"󱮢"}.mdi-progress-pencil:before{content:"󱞇"}.mdi-progress-question:before{content:"󱔢"}.mdi-progress-star:before{content:"󱞈"}.mdi-progress-star-four-points:before{content:"󱰽"}.mdi-progress-upload:before{content:"󰦘"}.mdi-progress-wrench:before{content:"󰲽"}.mdi-projector:before{content:"󰐮"}.mdi-projector-off:before{content:"󱨣"}.mdi-projector-screen:before{content:"󰐯"}.mdi-projector-screen-off:before{content:"󱠍"}.mdi-projector-screen-off-outline:before{content:"󱠎"}.mdi-projector-screen-outline:before{content:"󱜤"}.mdi-projector-screen-variant:before{content:"󱠏"}.mdi-projector-screen-variant-off:before{content:"󱠐"}.mdi-projector-screen-variant-off-outline:before{content:"󱠑"}.mdi-projector-screen-variant-outline:before{content:"󱠒"}.mdi-propane-tank:before{content:"󱍗"}.mdi-propane-tank-outline:before{content:"󱍘"}.mdi-protocol:before{content:"󰿘"}.mdi-publish:before{content:"󰚧"}.mdi-publish-off:before{content:"󱥅"}.mdi-pulse:before{content:"󰐰"}.mdi-pump:before{content:"󱐂"}.mdi-pump-off:before{content:"󱬢"}.mdi-pumpkin:before{content:"󰮿"}.mdi-purse:before{content:"󰼜"}.mdi-purse-outline:before{content:"󰼝"}.mdi-puzzle:before{content:"󰐱"}.mdi-puzzle-check:before{content:"󱐦"}.mdi-puzzle-check-outline:before{content:"󱐧"}.mdi-puzzle-edit:before{content:"󱓓"}.mdi-puzzle-edit-outline:before{content:"󱓙"}.mdi-puzzle-heart:before{content:"󱓔"}.mdi-puzzle-heart-outline:before{content:"󱓚"}.mdi-puzzle-minus:before{content:"󱓑"}.mdi-puzzle-minus-outline:before{content:"󱓗"}.mdi-puzzle-outline:before{content:"󰩦"}.mdi-puzzle-plus:before{content:"󱓐"}.mdi-puzzle-plus-outline:before{content:"󱓖"}.mdi-puzzle-remove:before{content:"󱓒"}.mdi-puzzle-remove-outline:before{content:"󱓘"}.mdi-puzzle-star:before{content:"󱓕"}.mdi-puzzle-star-outline:before{content:"󱓛"}.mdi-pyramid:before{content:"󱥒"}.mdi-pyramid-off:before{content:"󱥓"}.mdi-qi:before{content:"󰦙"}.mdi-qqchat:before{content:"󰘅"}.mdi-qrcode:before{content:"󰐲"}.mdi-qrcode-edit:before{content:"󰢸"}.mdi-qrcode-minus:before{content:"󱆌"}.mdi-qrcode-plus:before{content:"󱆋"}.mdi-qrcode-remove:before{content:"󱆍"}.mdi-qrcode-scan:before{content:"󰐳"}.mdi-quadcopter:before{content:"󰐴"}.mdi-quality-high:before{content:"󰐵"}.mdi-quality-low:before{content:"󰨌"}.mdi-quality-medium:before{content:"󰨍"}.mdi-quora:before{content:"󰴩"}.mdi-rabbit:before{content:"󰤇"}.mdi-rabbit-variant:before{content:"󱩡"}.mdi-rabbit-variant-outline:before{content:"󱩢"}.mdi-racing-helmet:before{content:"󰶓"}.mdi-racquetball:before{content:"󰶔"}.mdi-radar:before{content:"󰐷"}.mdi-radiator:before{content:"󰐸"}.mdi-radiator-disabled:before{content:"󰫗"}.mdi-radiator-off:before{content:"󰫘"}.mdi-radio:before{content:"󰐹"}.mdi-radio-am:before{content:"󰲾"}.mdi-radio-fm:before{content:"󰲿"}.mdi-radio-handheld:before{content:"󰐺"}.mdi-radio-off:before{content:"󱈜"}.mdi-radio-tower:before{content:"󰐻"}.mdi-radioactive:before{content:"󰐼"}.mdi-radioactive-circle:before{content:"󱡝"}.mdi-radioactive-circle-outline:before{content:"󱡞"}.mdi-radioactive-off:before{content:"󰻁"}.mdi-radiobox-blank:before{content:"󰐽"}.mdi-radiobox-indeterminate-variant:before{content:"󱱞"}.mdi-radiobox-marked:before{content:"󰐾"}.mdi-radiology-box:before{content:"󱓅"}.mdi-radiology-box-outline:before{content:"󱓆"}.mdi-radius:before{content:"󰳀"}.mdi-radius-outline:before{content:"󰳁"}.mdi-railroad-light:before{content:"󰼞"}.mdi-rake:before{content:"󱕄"}.mdi-raspberry-pi:before{content:"󰐿"}.mdi-raw:before{content:"󱨏"}.mdi-raw-off:before{content:"󱨐"}.mdi-ray-end:before{content:"󰑀"}.mdi-ray-end-arrow:before{content:"󰑁"}.mdi-ray-start:before{content:"󰑂"}.mdi-ray-start-arrow:before{content:"󰑃"}.mdi-ray-start-end:before{content:"󰑄"}.mdi-ray-start-vertex-end:before{content:"󱗘"}.mdi-ray-vertex:before{content:"󰑅"}.mdi-razor-double-edge:before{content:"󱦗"}.mdi-razor-single-edge:before{content:"󱦘"}.mdi-react:before{content:"󰜈"}.mdi-read:before{content:"󰑇"}.mdi-receipt:before{content:"󰠤"}.mdi-receipt-clock:before{content:"󱰾"}.mdi-receipt-clock-outline:before{content:"󱰿"}.mdi-receipt-outline:before{content:"󰓷"}.mdi-receipt-send:before{content:"󱱀"}.mdi-receipt-send-outline:before{content:"󱱁"}.mdi-receipt-text:before{content:"󰑉"}.mdi-receipt-text-arrow-left:before{content:"󱱂"}.mdi-receipt-text-arrow-left-outline:before{content:"󱱃"}.mdi-receipt-text-arrow-right:before{content:"󱱄"}.mdi-receipt-text-arrow-right-outline:before{content:"󱱅"}.mdi-receipt-text-check:before{content:"󱩣"}.mdi-receipt-text-check-outline:before{content:"󱩤"}.mdi-receipt-text-clock:before{content:"󱱆"}.mdi-receipt-text-clock-outline:before{content:"󱱇"}.mdi-receipt-text-edit:before{content:"󱱈"}.mdi-receipt-text-edit-outline:before{content:"󱱉"}.mdi-receipt-text-minus:before{content:"󱩥"}.mdi-receipt-text-minus-outline:before{content:"󱩦"}.mdi-receipt-text-outline:before{content:"󱧜"}.mdi-receipt-text-plus:before{content:"󱩧"}.mdi-receipt-text-plus-outline:before{content:"󱩨"}.mdi-receipt-text-remove:before{content:"󱩩"}.mdi-receipt-text-remove-outline:before{content:"󱩪"}.mdi-receipt-text-send:before{content:"󱱊"}.mdi-receipt-text-send-outline:before{content:"󱱋"}.mdi-record:before{content:"󰑊"}.mdi-record-circle:before{content:"󰻂"}.mdi-record-circle-outline:before{content:"󰻃"}.mdi-record-player:before{content:"󰦚"}.mdi-record-rec:before{content:"󰑋"}.mdi-rectangle:before{content:"󰹞"}.mdi-rectangle-outline:before{content:"󰹟"}.mdi-recycle:before{content:"󰑌"}.mdi-recycle-variant:before{content:"󱎝"}.mdi-reddit:before{content:"󰑍"}.mdi-redhat:before{content:"󱄛"}.mdi-redo:before{content:"󰑎"}.mdi-redo-variant:before{content:"󰑏"}.mdi-reflect-horizontal:before{content:"󰨎"}.mdi-reflect-vertical:before{content:"󰨏"}.mdi-refresh:before{content:"󰑐"}.mdi-refresh-auto:before{content:"󱣲"}.mdi-refresh-circle:before{content:"󱍷"}.mdi-regex:before{content:"󰑑"}.mdi-registered-trademark:before{content:"󰩧"}.mdi-reiterate:before{content:"󱖈"}.mdi-relation-many-to-many:before{content:"󱒖"}.mdi-relation-many-to-one:before{content:"󱒗"}.mdi-relation-many-to-one-or-many:before{content:"󱒘"}.mdi-relation-many-to-only-one:before{content:"󱒙"}.mdi-relation-many-to-zero-or-many:before{content:"󱒚"}.mdi-relation-many-to-zero-or-one:before{content:"󱒛"}.mdi-relation-one-or-many-to-many:before{content:"󱒜"}.mdi-relation-one-or-many-to-one:before{content:"󱒝"}.mdi-relation-one-or-many-to-one-or-many:before{content:"󱒞"}.mdi-relation-one-or-many-to-only-one:before{content:"󱒟"}.mdi-relation-one-or-many-to-zero-or-many:before{content:"󱒠"}.mdi-relation-one-or-many-to-zero-or-one:before{content:"󱒡"}.mdi-relation-one-to-many:before{content:"󱒢"}.mdi-relation-one-to-one:before{content:"󱒣"}.mdi-relation-one-to-one-or-many:before{content:"󱒤"}.mdi-relation-one-to-only-one:before{content:"󱒥"}.mdi-relation-one-to-zero-or-many:before{content:"󱒦"}.mdi-relation-one-to-zero-or-one:before{content:"󱒧"}.mdi-relation-only-one-to-many:before{content:"󱒨"}.mdi-relation-only-one-to-one:before{content:"󱒩"}.mdi-relation-only-one-to-one-or-many:before{content:"󱒪"}.mdi-relation-only-one-to-only-one:before{content:"󱒫"}.mdi-relation-only-one-to-zero-or-many:before{content:"󱒬"}.mdi-relation-only-one-to-zero-or-one:before{content:"󱒭"}.mdi-relation-zero-or-many-to-many:before{content:"󱒮"}.mdi-relation-zero-or-many-to-one:before{content:"󱒯"}.mdi-relation-zero-or-many-to-one-or-many:before{content:"󱒰"}.mdi-relation-zero-or-many-to-only-one:before{content:"󱒱"}.mdi-relation-zero-or-many-to-zero-or-many:before{content:"󱒲"}.mdi-relation-zero-or-many-to-zero-or-one:before{content:"󱒳"}.mdi-relation-zero-or-one-to-many:before{content:"󱒴"}.mdi-relation-zero-or-one-to-one:before{content:"󱒵"}.mdi-relation-zero-or-one-to-one-or-many:before{content:"󱒶"}.mdi-relation-zero-or-one-to-only-one:before{content:"󱒷"}.mdi-relation-zero-or-one-to-zero-or-many:before{content:"󱒸"}.mdi-relation-zero-or-one-to-zero-or-one:before{content:"󱒹"}.mdi-relative-scale:before{content:"󰑒"}.mdi-reload:before{content:"󰑓"}.mdi-reload-alert:before{content:"󱄋"}.mdi-reminder:before{content:"󰢌"}.mdi-remote:before{content:"󰑔"}.mdi-remote-desktop:before{content:"󰢹"}.mdi-remote-off:before{content:"󰻄"}.mdi-remote-tv:before{content:"󰻅"}.mdi-remote-tv-off:before{content:"󰻆"}.mdi-rename:before{content:"󱰘"}.mdi-rename-box:before{content:"󰑕"}.mdi-rename-box-outline:before{content:"󱰙"}.mdi-rename-outline:before{content:"󱰚"}.mdi-reorder-horizontal:before{content:"󰚈"}.mdi-reorder-vertical:before{content:"󰚉"}.mdi-repeat:before{content:"󰑖"}.mdi-repeat-off:before{content:"󰑗"}.mdi-repeat-once:before{content:"󰑘"}.mdi-repeat-variant:before{content:"󰕇"}.mdi-replay:before{content:"󰑙"}.mdi-reply:before{content:"󰑚"}.mdi-reply-all:before{content:"󰑛"}.mdi-reply-all-outline:before{content:"󰼟"}.mdi-reply-circle:before{content:"󱆮"}.mdi-reply-outline:before{content:"󰼠"}.mdi-reproduction:before{content:"󰑜"}.mdi-resistor:before{content:"󰭄"}.mdi-resistor-nodes:before{content:"󰭅"}.mdi-resize:before{content:"󰩨"}.mdi-resize-bottom-right:before{content:"󰑝"}.mdi-responsive:before{content:"󰑞"}.mdi-restart:before{content:"󰜉"}.mdi-restart-alert:before{content:"󱄌"}.mdi-restart-off:before{content:"󰶕"}.mdi-restore:before{content:"󰦛"}.mdi-restore-alert:before{content:"󱄍"}.mdi-rewind:before{content:"󰑟"}.mdi-rewind-10:before{content:"󰴪"}.mdi-rewind-15:before{content:"󱥆"}.mdi-rewind-30:before{content:"󰶖"}.mdi-rewind-45:before{content:"󱬓"}.mdi-rewind-5:before{content:"󱇹"}.mdi-rewind-60:before{content:"󱘌"}.mdi-rewind-outline:before{content:"󰜊"}.mdi-rhombus:before{content:"󰜋"}.mdi-rhombus-medium:before{content:"󰨐"}.mdi-rhombus-medium-outline:before{content:"󱓜"}.mdi-rhombus-outline:before{content:"󰜌"}.mdi-rhombus-split:before{content:"󰨑"}.mdi-rhombus-split-outline:before{content:"󱓝"}.mdi-ribbon:before{content:"󰑠"}.mdi-rice:before{content:"󰟪"}.mdi-rickshaw:before{content:"󱖻"}.mdi-rickshaw-electric:before{content:"󱖼"}.mdi-ring:before{content:"󰟫"}.mdi-rivet:before{content:"󰹠"}.mdi-road:before{content:"󰑡"}.mdi-road-variant:before{content:"󰑢"}.mdi-robber:before{content:"󱁘"}.mdi-robot:before{content:"󰚩"}.mdi-robot-angry:before{content:"󱚝"}.mdi-robot-angry-outline:before{content:"󱚞"}.mdi-robot-confused:before{content:"󱚟"}.mdi-robot-confused-outline:before{content:"󱚠"}.mdi-robot-dead:before{content:"󱚡"}.mdi-robot-dead-outline:before{content:"󱚢"}.mdi-robot-excited:before{content:"󱚣"}.mdi-robot-excited-outline:before{content:"󱚤"}.mdi-robot-happy:before{content:"󱜙"}.mdi-robot-happy-outline:before{content:"󱜚"}.mdi-robot-industrial:before{content:"󰭆"}.mdi-robot-industrial-outline:before{content:"󱨚"}.mdi-robot-love:before{content:"󱚥"}.mdi-robot-love-outline:before{content:"󱚦"}.mdi-robot-mower:before{content:"󱇷"}.mdi-robot-mower-outline:before{content:"󱇳"}.mdi-robot-off:before{content:"󱚧"}.mdi-robot-off-outline:before{content:"󱙻"}.mdi-robot-outline:before{content:"󱙺"}.mdi-robot-vacuum:before{content:"󰜍"}.mdi-robot-vacuum-alert:before{content:"󱭝"}.mdi-robot-vacuum-off:before{content:"󱰁"}.mdi-robot-vacuum-variant:before{content:"󰤈"}.mdi-robot-vacuum-variant-alert:before{content:"󱭞"}.mdi-robot-vacuum-variant-off:before{content:"󱰂"}.mdi-rocket:before{content:"󰑣"}.mdi-rocket-launch:before{content:"󱓞"}.mdi-rocket-launch-outline:before{content:"󱓟"}.mdi-rocket-outline:before{content:"󱎯"}.mdi-rodent:before{content:"󱌧"}.mdi-roller-shade:before{content:"󱩫"}.mdi-roller-shade-closed:before{content:"󱩬"}.mdi-roller-skate:before{content:"󰴫"}.mdi-roller-skate-off:before{content:"󰅅"}.mdi-rollerblade:before{content:"󰴬"}.mdi-rollerblade-off:before{content:"󰀮"}.mdi-rollupjs:before{content:"󰯀"}.mdi-rolodex:before{content:"󱪹"}.mdi-rolodex-outline:before{content:"󱪺"}.mdi-roman-numeral-1:before{content:"󱂈"}.mdi-roman-numeral-10:before{content:"󱂑"}.mdi-roman-numeral-2:before{content:"󱂉"}.mdi-roman-numeral-3:before{content:"󱂊"}.mdi-roman-numeral-4:before{content:"󱂋"}.mdi-roman-numeral-5:before{content:"󱂌"}.mdi-roman-numeral-6:before{content:"󱂍"}.mdi-roman-numeral-7:before{content:"󱂎"}.mdi-roman-numeral-8:before{content:"󱂏"}.mdi-roman-numeral-9:before{content:"󱂐"}.mdi-room-service:before{content:"󰢍"}.mdi-room-service-outline:before{content:"󰶗"}.mdi-rotate-360:before{content:"󱦙"}.mdi-rotate-3d:before{content:"󰻇"}.mdi-rotate-3d-variant:before{content:"󰑤"}.mdi-rotate-left:before{content:"󰑥"}.mdi-rotate-left-variant:before{content:"󰑦"}.mdi-rotate-orbit:before{content:"󰶘"}.mdi-rotate-right:before{content:"󰑧"}.mdi-rotate-right-variant:before{content:"󰑨"}.mdi-rounded-corner:before{content:"󰘇"}.mdi-router:before{content:"󱇢"}.mdi-router-network:before{content:"󱂇"}.mdi-router-wireless:before{content:"󰑩"}.mdi-router-wireless-off:before{content:"󱖣"}.mdi-router-wireless-settings:before{content:"󰩩"}.mdi-routes:before{content:"󰑪"}.mdi-routes-clock:before{content:"󱁙"}.mdi-rowing:before{content:"󰘈"}.mdi-rss:before{content:"󰑫"}.mdi-rss-box:before{content:"󰑬"}.mdi-rss-off:before{content:"󰼡"}.mdi-rug:before{content:"󱑵"}.mdi-rugby:before{content:"󰶙"}.mdi-ruler:before{content:"󰑭"}.mdi-ruler-square:before{content:"󰳂"}.mdi-ruler-square-compass:before{content:"󰺾"}.mdi-run:before{content:"󰜎"}.mdi-run-fast:before{content:"󰑮"}.mdi-rv-truck:before{content:"󱇔"}.mdi-sack:before{content:"󰴮"}.mdi-sack-outline:before{content:"󱱌"}.mdi-sack-percent:before{content:"󰴯"}.mdi-safe:before{content:"󰩪"}.mdi-safe-square:before{content:"󱉼"}.mdi-safe-square-outline:before{content:"󱉽"}.mdi-safety-goggles:before{content:"󰴰"}.mdi-sail-boat:before{content:"󰻈"}.mdi-sail-boat-sink:before{content:"󱫯"}.mdi-sale:before{content:"󰑯"}.mdi-sale-outline:before{content:"󱨆"}.mdi-salesforce:before{content:"󰢎"}.mdi-sass:before{content:"󰟬"}.mdi-satellite:before{content:"󰑰"}.mdi-satellite-uplink:before{content:"󰤉"}.mdi-satellite-variant:before{content:"󰑱"}.mdi-sausage:before{content:"󰢺"}.mdi-sausage-off:before{content:"󱞉"}.mdi-saw-blade:before{content:"󰹡"}.mdi-sawtooth-wave:before{content:"󱑺"}.mdi-saxophone:before{content:"󰘉"}.mdi-scale:before{content:"󰑲"}.mdi-scale-balance:before{content:"󰗑"}.mdi-scale-bathroom:before{content:"󰑳"}.mdi-scale-off:before{content:"󱁚"}.mdi-scale-unbalanced:before{content:"󱦸"}.mdi-scan-helper:before{content:"󱏘"}.mdi-scanner:before{content:"󰚫"}.mdi-scanner-off:before{content:"󰤊"}.mdi-scatter-plot:before{content:"󰻉"}.mdi-scatter-plot-outline:before{content:"󰻊"}.mdi-scent:before{content:"󱥘"}.mdi-scent-off:before{content:"󱥙"}.mdi-school:before{content:"󰑴"}.mdi-school-outline:before{content:"󱆀"}.mdi-scissors-cutting:before{content:"󰩫"}.mdi-scooter:before{content:"󱖽"}.mdi-scooter-electric:before{content:"󱖾"}.mdi-scoreboard:before{content:"󱉾"}.mdi-scoreboard-outline:before{content:"󱉿"}.mdi-screen-rotation:before{content:"󰑵"}.mdi-screen-rotation-lock:before{content:"󰑸"}.mdi-screw-flat-top:before{content:"󰷳"}.mdi-screw-lag:before{content:"󰷴"}.mdi-screw-machine-flat-top:before{content:"󰷵"}.mdi-screw-machine-round-top:before{content:"󰷶"}.mdi-screw-round-top:before{content:"󰷷"}.mdi-screwdriver:before{content:"󰑶"}.mdi-script:before{content:"󰯁"}.mdi-script-outline:before{content:"󰑷"}.mdi-script-text:before{content:"󰯂"}.mdi-script-text-key:before{content:"󱜥"}.mdi-script-text-key-outline:before{content:"󱜦"}.mdi-script-text-outline:before{content:"󰯃"}.mdi-script-text-play:before{content:"󱜧"}.mdi-script-text-play-outline:before{content:"󱜨"}.mdi-sd:before{content:"󰑹"}.mdi-seal:before{content:"󰑺"}.mdi-seal-variant:before{content:"󰿙"}.mdi-search-web:before{content:"󰜏"}.mdi-seat:before{content:"󰳃"}.mdi-seat-flat:before{content:"󰑻"}.mdi-seat-flat-angled:before{content:"󰑼"}.mdi-seat-individual-suite:before{content:"󰑽"}.mdi-seat-legroom-extra:before{content:"󰑾"}.mdi-seat-legroom-normal:before{content:"󰑿"}.mdi-seat-legroom-reduced:before{content:"󰒀"}.mdi-seat-outline:before{content:"󰳄"}.mdi-seat-passenger:before{content:"󱉉"}.mdi-seat-recline-extra:before{content:"󰒁"}.mdi-seat-recline-normal:before{content:"󰒂"}.mdi-seatbelt:before{content:"󰳅"}.mdi-security:before{content:"󰒃"}.mdi-security-network:before{content:"󰒄"}.mdi-seed:before{content:"󰹢"}.mdi-seed-off:before{content:"󱏽"}.mdi-seed-off-outline:before{content:"󱏾"}.mdi-seed-outline:before{content:"󰹣"}.mdi-seed-plus:before{content:"󱩭"}.mdi-seed-plus-outline:before{content:"󱩮"}.mdi-seesaw:before{content:"󱖤"}.mdi-segment:before{content:"󰻋"}.mdi-select:before{content:"󰒅"}.mdi-select-all:before{content:"󰒆"}.mdi-select-arrow-down:before{content:"󱭙"}.mdi-select-arrow-up:before{content:"󱭘"}.mdi-select-color:before{content:"󰴱"}.mdi-select-compare:before{content:"󰫙"}.mdi-select-drag:before{content:"󰩬"}.mdi-select-group:before{content:"󰾂"}.mdi-select-inverse:before{content:"󰒇"}.mdi-select-marker:before{content:"󱊀"}.mdi-select-multiple:before{content:"󱊁"}.mdi-select-multiple-marker:before{content:"󱊂"}.mdi-select-off:before{content:"󰒈"}.mdi-select-place:before{content:"󰿚"}.mdi-select-remove:before{content:"󱟁"}.mdi-select-search:before{content:"󱈄"}.mdi-selection:before{content:"󰒉"}.mdi-selection-drag:before{content:"󰩭"}.mdi-selection-ellipse:before{content:"󰴲"}.mdi-selection-ellipse-arrow-inside:before{content:"󰼢"}.mdi-selection-ellipse-remove:before{content:"󱟂"}.mdi-selection-marker:before{content:"󱊃"}.mdi-selection-multiple:before{content:"󱊅"}.mdi-selection-multiple-marker:before{content:"󱊄"}.mdi-selection-off:before{content:"󰝷"}.mdi-selection-remove:before{content:"󱟃"}.mdi-selection-search:before{content:"󱈅"}.mdi-semantic-web:before{content:"󱌖"}.mdi-send:before{content:"󰒊"}.mdi-send-check:before{content:"󱅡"}.mdi-send-check-outline:before{content:"󱅢"}.mdi-send-circle:before{content:"󰷸"}.mdi-send-circle-outline:before{content:"󰷹"}.mdi-send-clock:before{content:"󱅣"}.mdi-send-clock-outline:before{content:"󱅤"}.mdi-send-lock:before{content:"󰟭"}.mdi-send-lock-outline:before{content:"󱅦"}.mdi-send-outline:before{content:"󱅥"}.mdi-send-variant:before{content:"󱱍"}.mdi-send-variant-clock:before{content:"󱱾"}.mdi-send-variant-clock-outline:before{content:"󱱿"}.mdi-send-variant-outline:before{content:"󱱎"}.mdi-serial-port:before{content:"󰙜"}.mdi-server:before{content:"󰒋"}.mdi-server-minus:before{content:"󰒌"}.mdi-server-network:before{content:"󰒍"}.mdi-server-network-off:before{content:"󰒎"}.mdi-server-off:before{content:"󰒏"}.mdi-server-plus:before{content:"󰒐"}.mdi-server-remove:before{content:"󰒑"}.mdi-server-security:before{content:"󰒒"}.mdi-set-all:before{content:"󰝸"}.mdi-set-center:before{content:"󰝹"}.mdi-set-center-right:before{content:"󰝺"}.mdi-set-left:before{content:"󰝻"}.mdi-set-left-center:before{content:"󰝼"}.mdi-set-left-right:before{content:"󰝽"}.mdi-set-merge:before{content:"󱓠"}.mdi-set-none:before{content:"󰝾"}.mdi-set-right:before{content:"󰝿"}.mdi-set-split:before{content:"󱓡"}.mdi-set-square:before{content:"󱑝"}.mdi-set-top-box:before{content:"󰦟"}.mdi-settings-helper:before{content:"󰩮"}.mdi-shaker:before{content:"󱄎"}.mdi-shaker-outline:before{content:"󱄏"}.mdi-shape:before{content:"󰠱"}.mdi-shape-circle-plus:before{content:"󰙝"}.mdi-shape-outline:before{content:"󰠲"}.mdi-shape-oval-plus:before{content:"󱇺"}.mdi-shape-plus:before{content:"󰒕"}.mdi-shape-plus-outline:before{content:"󱱏"}.mdi-shape-polygon-plus:before{content:"󰙞"}.mdi-shape-rectangle-plus:before{content:"󰙟"}.mdi-shape-square-plus:before{content:"󰙠"}.mdi-shape-square-rounded-plus:before{content:"󱓺"}.mdi-share:before{content:"󰒖"}.mdi-share-all:before{content:"󱇴"}.mdi-share-all-outline:before{content:"󱇵"}.mdi-share-circle:before{content:"󱆭"}.mdi-share-off:before{content:"󰼣"}.mdi-share-off-outline:before{content:"󰼤"}.mdi-share-outline:before{content:"󰤲"}.mdi-share-variant:before{content:"󰒗"}.mdi-share-variant-outline:before{content:"󱔔"}.mdi-shark:before{content:"󱢺"}.mdi-shark-fin:before{content:"󱙳"}.mdi-shark-fin-outline:before{content:"󱙴"}.mdi-shark-off:before{content:"󱢻"}.mdi-sheep:before{content:"󰳆"}.mdi-shield:before{content:"󰒘"}.mdi-shield-account:before{content:"󰢏"}.mdi-shield-account-outline:before{content:"󰨒"}.mdi-shield-account-variant:before{content:"󱖧"}.mdi-shield-account-variant-outline:before{content:"󱖨"}.mdi-shield-airplane:before{content:"󰚻"}.mdi-shield-airplane-outline:before{content:"󰳇"}.mdi-shield-alert:before{content:"󰻌"}.mdi-shield-alert-outline:before{content:"󰻍"}.mdi-shield-bug:before{content:"󱏚"}.mdi-shield-bug-outline:before{content:"󱏛"}.mdi-shield-car:before{content:"󰾃"}.mdi-shield-check:before{content:"󰕥"}.mdi-shield-check-outline:before{content:"󰳈"}.mdi-shield-cross:before{content:"󰳉"}.mdi-shield-cross-outline:before{content:"󰳊"}.mdi-shield-crown:before{content:"󱢼"}.mdi-shield-crown-outline:before{content:"󱢽"}.mdi-shield-edit:before{content:"󱆠"}.mdi-shield-edit-outline:before{content:"󱆡"}.mdi-shield-half:before{content:"󱍠"}.mdi-shield-half-full:before{content:"󰞀"}.mdi-shield-home:before{content:"󰚊"}.mdi-shield-home-outline:before{content:"󰳋"}.mdi-shield-key:before{content:"󰯄"}.mdi-shield-key-outline:before{content:"󰯅"}.mdi-shield-link-variant:before{content:"󰴳"}.mdi-shield-link-variant-outline:before{content:"󰴴"}.mdi-shield-lock:before{content:"󰦝"}.mdi-shield-lock-open:before{content:"󱦚"}.mdi-shield-lock-open-outline:before{content:"󱦛"}.mdi-shield-lock-outline:before{content:"󰳌"}.mdi-shield-moon:before{content:"󱠨"}.mdi-shield-moon-outline:before{content:"󱠩"}.mdi-shield-off:before{content:"󰦞"}.mdi-shield-off-outline:before{content:"󰦜"}.mdi-shield-outline:before{content:"󰒙"}.mdi-shield-plus:before{content:"󰫚"}.mdi-shield-plus-outline:before{content:"󰫛"}.mdi-shield-refresh:before{content:"󰂪"}.mdi-shield-refresh-outline:before{content:"󰇠"}.mdi-shield-remove:before{content:"󰫜"}.mdi-shield-remove-outline:before{content:"󰫝"}.mdi-shield-search:before{content:"󰶚"}.mdi-shield-star:before{content:"󱄻"}.mdi-shield-star-outline:before{content:"󱄼"}.mdi-shield-sun:before{content:"󱁝"}.mdi-shield-sun-outline:before{content:"󱁞"}.mdi-shield-sword:before{content:"󱢾"}.mdi-shield-sword-outline:before{content:"󱢿"}.mdi-shield-sync:before{content:"󱆢"}.mdi-shield-sync-outline:before{content:"󱆣"}.mdi-shimmer:before{content:"󱕅"}.mdi-ship-wheel:before{content:"󰠳"}.mdi-shipping-pallet:before{content:"󱡎"}.mdi-shoe-ballet:before{content:"󱗊"}.mdi-shoe-cleat:before{content:"󱗇"}.mdi-shoe-formal:before{content:"󰭇"}.mdi-shoe-heel:before{content:"󰭈"}.mdi-shoe-print:before{content:"󰷺"}.mdi-shoe-sneaker:before{content:"󱗈"}.mdi-shopping:before{content:"󰒚"}.mdi-shopping-music:before{content:"󰒛"}.mdi-shopping-outline:before{content:"󱇕"}.mdi-shopping-search:before{content:"󰾄"}.mdi-shopping-search-outline:before{content:"󱩯"}.mdi-shore:before{content:"󱓹"}.mdi-shovel:before{content:"󰜐"}.mdi-shovel-off:before{content:"󰜑"}.mdi-shower:before{content:"󰦠"}.mdi-shower-head:before{content:"󰦡"}.mdi-shredder:before{content:"󰒜"}.mdi-shuffle:before{content:"󰒝"}.mdi-shuffle-disabled:before{content:"󰒞"}.mdi-shuffle-variant:before{content:"󰒟"}.mdi-shuriken:before{content:"󱍿"}.mdi-sickle:before{content:"󱣀"}.mdi-sigma:before{content:"󰒠"}.mdi-sigma-lower:before{content:"󰘫"}.mdi-sign-caution:before{content:"󰒡"}.mdi-sign-direction:before{content:"󰞁"}.mdi-sign-direction-minus:before{content:"󱀀"}.mdi-sign-direction-plus:before{content:"󰿜"}.mdi-sign-direction-remove:before{content:"󰿝"}.mdi-sign-language:before{content:"󱭍"}.mdi-sign-language-outline:before{content:"󱭎"}.mdi-sign-pole:before{content:"󱓸"}.mdi-sign-real-estate:before{content:"󱄘"}.mdi-sign-text:before{content:"󰞂"}.mdi-sign-yield:before{content:"󱮯"}.mdi-signal:before{content:"󰒢"}.mdi-signal-2g:before{content:"󰜒"}.mdi-signal-3g:before{content:"󰜓"}.mdi-signal-4g:before{content:"󰜔"}.mdi-signal-5g:before{content:"󰩯"}.mdi-signal-cellular-1:before{content:"󰢼"}.mdi-signal-cellular-2:before{content:"󰢽"}.mdi-signal-cellular-3:before{content:"󰢾"}.mdi-signal-cellular-outline:before{content:"󰢿"}.mdi-signal-distance-variant:before{content:"󰹤"}.mdi-signal-hspa:before{content:"󰜕"}.mdi-signal-hspa-plus:before{content:"󰜖"}.mdi-signal-off:before{content:"󰞃"}.mdi-signal-variant:before{content:"󰘊"}.mdi-signature:before{content:"󰷻"}.mdi-signature-freehand:before{content:"󰷼"}.mdi-signature-image:before{content:"󰷽"}.mdi-signature-text:before{content:"󰷾"}.mdi-silo:before{content:"󱮟"}.mdi-silo-outline:before{content:"󰭉"}.mdi-silverware:before{content:"󰒣"}.mdi-silverware-clean:before{content:"󰿞"}.mdi-silverware-fork:before{content:"󰒤"}.mdi-silverware-fork-knife:before{content:"󰩰"}.mdi-silverware-spoon:before{content:"󰒥"}.mdi-silverware-variant:before{content:"󰒦"}.mdi-sim:before{content:"󰒧"}.mdi-sim-alert:before{content:"󰒨"}.mdi-sim-alert-outline:before{content:"󱗓"}.mdi-sim-off:before{content:"󰒩"}.mdi-sim-off-outline:before{content:"󱗔"}.mdi-sim-outline:before{content:"󱗕"}.mdi-simple-icons:before{content:"󱌝"}.mdi-sina-weibo:before{content:"󰫟"}.mdi-sine-wave:before{content:"󰥛"}.mdi-sitemap:before{content:"󰒪"}.mdi-sitemap-outline:before{content:"󱦜"}.mdi-size-l:before{content:"󱎦"}.mdi-size-m:before{content:"󱎥"}.mdi-size-s:before{content:"󱎤"}.mdi-size-xl:before{content:"󱎧"}.mdi-size-xs:before{content:"󱎣"}.mdi-size-xxl:before{content:"󱎨"}.mdi-size-xxs:before{content:"󱎢"}.mdi-size-xxxl:before{content:"󱎩"}.mdi-skate:before{content:"󰴵"}.mdi-skate-off:before{content:"󰚙"}.mdi-skateboard:before{content:"󱓂"}.mdi-skateboarding:before{content:"󰔁"}.mdi-skew-less:before{content:"󰴶"}.mdi-skew-more:before{content:"󰴷"}.mdi-ski:before{content:"󱌄"}.mdi-ski-cross-country:before{content:"󱌅"}.mdi-ski-water:before{content:"󱌆"}.mdi-skip-backward:before{content:"󰒫"}.mdi-skip-backward-outline:before{content:"󰼥"}.mdi-skip-forward:before{content:"󰒬"}.mdi-skip-forward-outline:before{content:"󰼦"}.mdi-skip-next:before{content:"󰒭"}.mdi-skip-next-circle:before{content:"󰙡"}.mdi-skip-next-circle-outline:before{content:"󰙢"}.mdi-skip-next-outline:before{content:"󰼧"}.mdi-skip-previous:before{content:"󰒮"}.mdi-skip-previous-circle:before{content:"󰙣"}.mdi-skip-previous-circle-outline:before{content:"󰙤"}.mdi-skip-previous-outline:before{content:"󰼨"}.mdi-skull:before{content:"󰚌"}.mdi-skull-crossbones:before{content:"󰯆"}.mdi-skull-crossbones-outline:before{content:"󰯇"}.mdi-skull-outline:before{content:"󰯈"}.mdi-skull-scan:before{content:"󱓇"}.mdi-skull-scan-outline:before{content:"󱓈"}.mdi-skype:before{content:"󰒯"}.mdi-skype-business:before{content:"󰒰"}.mdi-slack:before{content:"󰒱"}.mdi-slash-forward:before{content:"󰿟"}.mdi-slash-forward-box:before{content:"󰿠"}.mdi-sledding:before{content:"󰐛"}.mdi-sleep:before{content:"󰒲"}.mdi-sleep-off:before{content:"󰒳"}.mdi-slide:before{content:"󱖥"}.mdi-slope-downhill:before{content:"󰷿"}.mdi-slope-uphill:before{content:"󰸀"}.mdi-slot-machine:before{content:"󱄔"}.mdi-slot-machine-outline:before{content:"󱄕"}.mdi-smart-card:before{content:"󱂽"}.mdi-smart-card-off:before{content:"󱣷"}.mdi-smart-card-off-outline:before{content:"󱣸"}.mdi-smart-card-outline:before{content:"󱂾"}.mdi-smart-card-reader:before{content:"󱂿"}.mdi-smart-card-reader-outline:before{content:"󱃀"}.mdi-smog:before{content:"󰩱"}.mdi-smoke:before{content:"󱞙"}.mdi-smoke-detector:before{content:"󰎒"}.mdi-smoke-detector-alert:before{content:"󱤮"}.mdi-smoke-detector-alert-outline:before{content:"󱤯"}.mdi-smoke-detector-off:before{content:"󱠉"}.mdi-smoke-detector-off-outline:before{content:"󱠊"}.mdi-smoke-detector-outline:before{content:"󱠈"}.mdi-smoke-detector-variant:before{content:"󱠋"}.mdi-smoke-detector-variant-alert:before{content:"󱤰"}.mdi-smoke-detector-variant-off:before{content:"󱠌"}.mdi-smoking:before{content:"󰒴"}.mdi-smoking-off:before{content:"󰒵"}.mdi-smoking-pipe:before{content:"󱐍"}.mdi-smoking-pipe-off:before{content:"󱐨"}.mdi-snail:before{content:"󱙷"}.mdi-snake:before{content:"󱔎"}.mdi-snapchat:before{content:"󰒶"}.mdi-snowboard:before{content:"󱌇"}.mdi-snowflake:before{content:"󰜗"}.mdi-snowflake-alert:before{content:"󰼩"}.mdi-snowflake-check:before{content:"󱩰"}.mdi-snowflake-melt:before{content:"󱋋"}.mdi-snowflake-off:before{content:"󱓣"}.mdi-snowflake-thermometer:before{content:"󱩱"}.mdi-snowflake-variant:before{content:"󰼪"}.mdi-snowman:before{content:"󰒷"}.mdi-snowmobile:before{content:"󰛝"}.mdi-snowshoeing:before{content:"󱩲"}.mdi-soccer:before{content:"󰒸"}.mdi-soccer-field:before{content:"󰠴"}.mdi-social-distance-2-meters:before{content:"󱕹"}.mdi-social-distance-6-feet:before{content:"󱕺"}.mdi-sofa:before{content:"󰒹"}.mdi-sofa-outline:before{content:"󱕭"}.mdi-sofa-single:before{content:"󱕮"}.mdi-sofa-single-outline:before{content:"󱕯"}.mdi-solar-panel:before{content:"󰶛"}.mdi-solar-panel-large:before{content:"󰶜"}.mdi-solar-power:before{content:"󰩲"}.mdi-solar-power-variant:before{content:"󱩳"}.mdi-solar-power-variant-outline:before{content:"󱩴"}.mdi-soldering-iron:before{content:"󱂒"}.mdi-solid:before{content:"󰚍"}.mdi-sony-playstation:before{content:"󰐔"}.mdi-sort:before{content:"󰒺"}.mdi-sort-alphabetical-ascending:before{content:"󰖽"}.mdi-sort-alphabetical-ascending-variant:before{content:"󱅈"}.mdi-sort-alphabetical-descending:before{content:"󰖿"}.mdi-sort-alphabetical-descending-variant:before{content:"󱅉"}.mdi-sort-alphabetical-variant:before{content:"󰒻"}.mdi-sort-ascending:before{content:"󰒼"}.mdi-sort-bool-ascending:before{content:"󱎅"}.mdi-sort-bool-ascending-variant:before{content:"󱎆"}.mdi-sort-bool-descending:before{content:"󱎇"}.mdi-sort-bool-descending-variant:before{content:"󱎈"}.mdi-sort-calendar-ascending:before{content:"󱕇"}.mdi-sort-calendar-descending:before{content:"󱕈"}.mdi-sort-clock-ascending:before{content:"󱕉"}.mdi-sort-clock-ascending-outline:before{content:"󱕊"}.mdi-sort-clock-descending:before{content:"󱕋"}.mdi-sort-clock-descending-outline:before{content:"󱕌"}.mdi-sort-descending:before{content:"󰒽"}.mdi-sort-numeric-ascending:before{content:"󱎉"}.mdi-sort-numeric-ascending-variant:before{content:"󰤍"}.mdi-sort-numeric-descending:before{content:"󱎊"}.mdi-sort-numeric-descending-variant:before{content:"󰫒"}.mdi-sort-numeric-variant:before{content:"󰒾"}.mdi-sort-reverse-variant:before{content:"󰌼"}.mdi-sort-variant:before{content:"󰒿"}.mdi-sort-variant-lock:before{content:"󰳍"}.mdi-sort-variant-lock-open:before{content:"󰳎"}.mdi-sort-variant-off:before{content:"󱪻"}.mdi-sort-variant-remove:before{content:"󱅇"}.mdi-soundbar:before{content:"󱟛"}.mdi-soundcloud:before{content:"󰓀"}.mdi-source-branch:before{content:"󰘬"}.mdi-source-branch-check:before{content:"󱓏"}.mdi-source-branch-minus:before{content:"󱓋"}.mdi-source-branch-plus:before{content:"󱓊"}.mdi-source-branch-refresh:before{content:"󱓍"}.mdi-source-branch-remove:before{content:"󱓌"}.mdi-source-branch-sync:before{content:"󱓎"}.mdi-source-commit:before{content:"󰜘"}.mdi-source-commit-end:before{content:"󰜙"}.mdi-source-commit-end-local:before{content:"󰜚"}.mdi-source-commit-local:before{content:"󰜛"}.mdi-source-commit-next-local:before{content:"󰜜"}.mdi-source-commit-start:before{content:"󰜝"}.mdi-source-commit-start-next-local:before{content:"󰜞"}.mdi-source-fork:before{content:"󰓁"}.mdi-source-merge:before{content:"󰘭"}.mdi-source-pull:before{content:"󰓂"}.mdi-source-repository:before{content:"󰳏"}.mdi-source-repository-multiple:before{content:"󰳐"}.mdi-soy-sauce:before{content:"󰟮"}.mdi-soy-sauce-off:before{content:"󱏼"}.mdi-spa:before{content:"󰳑"}.mdi-spa-outline:before{content:"󰳒"}.mdi-space-invaders:before{content:"󰯉"}.mdi-space-station:before{content:"󱎃"}.mdi-spade:before{content:"󰹥"}.mdi-speaker:before{content:"󰓃"}.mdi-speaker-bluetooth:before{content:"󰦢"}.mdi-speaker-message:before{content:"󱬑"}.mdi-speaker-multiple:before{content:"󰴸"}.mdi-speaker-off:before{content:"󰓄"}.mdi-speaker-pause:before{content:"󱭳"}.mdi-speaker-play:before{content:"󱭲"}.mdi-speaker-stop:before{content:"󱭴"}.mdi-speaker-wireless:before{content:"󰜟"}.mdi-spear:before{content:"󱡅"}.mdi-speedometer:before{content:"󰓅"}.mdi-speedometer-medium:before{content:"󰾅"}.mdi-speedometer-slow:before{content:"󰾆"}.mdi-spellcheck:before{content:"󰓆"}.mdi-sphere:before{content:"󱥔"}.mdi-sphere-off:before{content:"󱥕"}.mdi-spider:before{content:"󱇪"}.mdi-spider-outline:before{content:"󱱵"}.mdi-spider-thread:before{content:"󱇫"}.mdi-spider-web:before{content:"󰯊"}.mdi-spirit-level:before{content:"󱓱"}.mdi-spoon-sugar:before{content:"󱐩"}.mdi-spotify:before{content:"󰓇"}.mdi-spotlight:before{content:"󰓈"}.mdi-spotlight-beam:before{content:"󰓉"}.mdi-spray:before{content:"󰙥"}.mdi-spray-bottle:before{content:"󰫠"}.mdi-sprinkler:before{content:"󱁟"}.mdi-sprinkler-fire:before{content:"󱦝"}.mdi-sprinkler-variant:before{content:"󱁠"}.mdi-sprout:before{content:"󰹦"}.mdi-sprout-outline:before{content:"󰹧"}.mdi-square:before{content:"󰝤"}.mdi-square-circle:before{content:"󱔀"}.mdi-square-circle-outline:before{content:"󱱐"}.mdi-square-edit-outline:before{content:"󰤌"}.mdi-square-medium:before{content:"󰨓"}.mdi-square-medium-outline:before{content:"󰨔"}.mdi-square-off:before{content:"󱋮"}.mdi-square-off-outline:before{content:"󱋯"}.mdi-square-opacity:before{content:"󱡔"}.mdi-square-outline:before{content:"󰝣"}.mdi-square-root:before{content:"󰞄"}.mdi-square-root-box:before{content:"󰦣"}.mdi-square-rounded:before{content:"󱓻"}.mdi-square-rounded-badge:before{content:"󱨇"}.mdi-square-rounded-badge-outline:before{content:"󱨈"}.mdi-square-rounded-outline:before{content:"󱓼"}.mdi-square-small:before{content:"󰨕"}.mdi-square-wave:before{content:"󱑻"}.mdi-squeegee:before{content:"󰫡"}.mdi-ssh:before{content:"󰣀"}.mdi-stack-exchange:before{content:"󰘋"}.mdi-stack-overflow:before{content:"󰓌"}.mdi-stackpath:before{content:"󰍙"}.mdi-stadium:before{content:"󰿹"}.mdi-stadium-outline:before{content:"󱬃"}.mdi-stadium-variant:before{content:"󰜠"}.mdi-stairs:before{content:"󰓍"}.mdi-stairs-box:before{content:"󱎞"}.mdi-stairs-down:before{content:"󱊾"}.mdi-stairs-up:before{content:"󱊽"}.mdi-stamper:before{content:"󰴹"}.mdi-standard-definition:before{content:"󰟯"}.mdi-star:before{content:"󰓎"}.mdi-star-box:before{content:"󰩳"}.mdi-star-box-multiple:before{content:"󱊆"}.mdi-star-box-multiple-outline:before{content:"󱊇"}.mdi-star-box-outline:before{content:"󰩴"}.mdi-star-check:before{content:"󱕦"}.mdi-star-check-outline:before{content:"󱕪"}.mdi-star-circle:before{content:"󰓏"}.mdi-star-circle-outline:before{content:"󰦤"}.mdi-star-cog:before{content:"󱙨"}.mdi-star-cog-outline:before{content:"󱙩"}.mdi-star-crescent:before{content:"󰥹"}.mdi-star-david:before{content:"󰥺"}.mdi-star-face:before{content:"󰦥"}.mdi-star-four-points:before{content:"󰫢"}.mdi-star-four-points-box:before{content:"󱱑"}.mdi-star-four-points-box-outline:before{content:"󱱒"}.mdi-star-four-points-circle:before{content:"󱱓"}.mdi-star-four-points-circle-outline:before{content:"󱱔"}.mdi-star-four-points-outline:before{content:"󰫣"}.mdi-star-four-points-small:before{content:"󱱕"}.mdi-star-half:before{content:"󰉆"}.mdi-star-half-full:before{content:"󰓐"}.mdi-star-minus:before{content:"󱕤"}.mdi-star-minus-outline:before{content:"󱕨"}.mdi-star-off:before{content:"󰓑"}.mdi-star-off-outline:before{content:"󱕛"}.mdi-star-outline:before{content:"󰓒"}.mdi-star-plus:before{content:"󱕣"}.mdi-star-plus-outline:before{content:"󱕧"}.mdi-star-remove:before{content:"󱕥"}.mdi-star-remove-outline:before{content:"󱕩"}.mdi-star-settings:before{content:"󱙪"}.mdi-star-settings-outline:before{content:"󱙫"}.mdi-star-shooting:before{content:"󱝁"}.mdi-star-shooting-outline:before{content:"󱝂"}.mdi-star-three-points:before{content:"󰫤"}.mdi-star-three-points-outline:before{content:"󰫥"}.mdi-state-machine:before{content:"󱇯"}.mdi-steam:before{content:"󰓓"}.mdi-steering:before{content:"󰓔"}.mdi-steering-off:before{content:"󰤎"}.mdi-step-backward:before{content:"󰓕"}.mdi-step-backward-2:before{content:"󰓖"}.mdi-step-forward:before{content:"󰓗"}.mdi-step-forward-2:before{content:"󰓘"}.mdi-stethoscope:before{content:"󰓙"}.mdi-sticker:before{content:"󱍤"}.mdi-sticker-alert:before{content:"󱍥"}.mdi-sticker-alert-outline:before{content:"󱍦"}.mdi-sticker-check:before{content:"󱍧"}.mdi-sticker-check-outline:before{content:"󱍨"}.mdi-sticker-circle-outline:before{content:"󰗐"}.mdi-sticker-emoji:before{content:"󰞅"}.mdi-sticker-minus:before{content:"󱍩"}.mdi-sticker-minus-outline:before{content:"󱍪"}.mdi-sticker-outline:before{content:"󱍫"}.mdi-sticker-plus:before{content:"󱍬"}.mdi-sticker-plus-outline:before{content:"󱍭"}.mdi-sticker-remove:before{content:"󱍮"}.mdi-sticker-remove-outline:before{content:"󱍯"}.mdi-sticker-text:before{content:"󱞎"}.mdi-sticker-text-outline:before{content:"󱞏"}.mdi-stocking:before{content:"󰓚"}.mdi-stomach:before{content:"󱂓"}.mdi-stool:before{content:"󱥝"}.mdi-stool-outline:before{content:"󱥞"}.mdi-stop:before{content:"󰓛"}.mdi-stop-circle:before{content:"󰙦"}.mdi-stop-circle-outline:before{content:"󰙧"}.mdi-storage-tank:before{content:"󱩵"}.mdi-storage-tank-outline:before{content:"󱩶"}.mdi-store:before{content:"󰓜"}.mdi-store-24-hour:before{content:"󰓝"}.mdi-store-alert:before{content:"󱣁"}.mdi-store-alert-outline:before{content:"󱣂"}.mdi-store-check:before{content:"󱣃"}.mdi-store-check-outline:before{content:"󱣄"}.mdi-store-clock:before{content:"󱣅"}.mdi-store-clock-outline:before{content:"󱣆"}.mdi-store-cog:before{content:"󱣇"}.mdi-store-cog-outline:before{content:"󱣈"}.mdi-store-edit:before{content:"󱣉"}.mdi-store-edit-outline:before{content:"󱣊"}.mdi-store-marker:before{content:"󱣋"}.mdi-store-marker-outline:before{content:"󱣌"}.mdi-store-minus:before{content:"󱙞"}.mdi-store-minus-outline:before{content:"󱣍"}.mdi-store-off:before{content:"󱣎"}.mdi-store-off-outline:before{content:"󱣏"}.mdi-store-outline:before{content:"󱍡"}.mdi-store-plus:before{content:"󱙟"}.mdi-store-plus-outline:before{content:"󱣐"}.mdi-store-remove:before{content:"󱙠"}.mdi-store-remove-outline:before{content:"󱣑"}.mdi-store-search:before{content:"󱣒"}.mdi-store-search-outline:before{content:"󱣓"}.mdi-store-settings:before{content:"󱣔"}.mdi-store-settings-outline:before{content:"󱣕"}.mdi-storefront:before{content:"󰟇"}.mdi-storefront-check:before{content:"󱭽"}.mdi-storefront-check-outline:before{content:"󱭾"}.mdi-storefront-edit:before{content:"󱭿"}.mdi-storefront-edit-outline:before{content:"󱮀"}.mdi-storefront-minus:before{content:"󱮃"}.mdi-storefront-minus-outline:before{content:"󱮄"}.mdi-storefront-outline:before{content:"󱃁"}.mdi-storefront-plus:before{content:"󱮁"}.mdi-storefront-plus-outline:before{content:"󱮂"}.mdi-storefront-remove:before{content:"󱮅"}.mdi-storefront-remove-outline:before{content:"󱮆"}.mdi-stove:before{content:"󰓞"}.mdi-strategy:before{content:"󱇖"}.mdi-stretch-to-page:before{content:"󰼫"}.mdi-stretch-to-page-outline:before{content:"󰼬"}.mdi-string-lights:before{content:"󱊺"}.mdi-string-lights-off:before{content:"󱊻"}.mdi-subdirectory-arrow-left:before{content:"󰘌"}.mdi-subdirectory-arrow-right:before{content:"󰘍"}.mdi-submarine:before{content:"󱕬"}.mdi-subtitles:before{content:"󰨖"}.mdi-subtitles-outline:before{content:"󰨗"}.mdi-subway:before{content:"󰚬"}.mdi-subway-alert-variant:before{content:"󰶝"}.mdi-subway-variant:before{content:"󰓟"}.mdi-summit:before{content:"󰞆"}.mdi-sun-angle:before{content:"󱬧"}.mdi-sun-angle-outline:before{content:"󱬨"}.mdi-sun-clock:before{content:"󱩷"}.mdi-sun-clock-outline:before{content:"󱩸"}.mdi-sun-compass:before{content:"󱦥"}.mdi-sun-snowflake:before{content:"󱞖"}.mdi-sun-snowflake-variant:before{content:"󱩹"}.mdi-sun-thermometer:before{content:"󱣖"}.mdi-sun-thermometer-outline:before{content:"󱣗"}.mdi-sun-wireless:before{content:"󱟾"}.mdi-sun-wireless-outline:before{content:"󱟿"}.mdi-sunglasses:before{content:"󰓠"}.mdi-surfing:before{content:"󱝆"}.mdi-surround-sound:before{content:"󰗅"}.mdi-surround-sound-2-0:before{content:"󰟰"}.mdi-surround-sound-2-1:before{content:"󱜩"}.mdi-surround-sound-3-1:before{content:"󰟱"}.mdi-surround-sound-5-1:before{content:"󰟲"}.mdi-surround-sound-5-1-2:before{content:"󱜪"}.mdi-surround-sound-7-1:before{content:"󰟳"}.mdi-svg:before{content:"󰜡"}.mdi-swap-horizontal:before{content:"󰓡"}.mdi-swap-horizontal-bold:before{content:"󰯍"}.mdi-swap-horizontal-circle:before{content:"󰿡"}.mdi-swap-horizontal-circle-outline:before{content:"󰿢"}.mdi-swap-horizontal-variant:before{content:"󰣁"}.mdi-swap-vertical:before{content:"󰓢"}.mdi-swap-vertical-bold:before{content:"󰯎"}.mdi-swap-vertical-circle:before{content:"󰿣"}.mdi-swap-vertical-circle-outline:before{content:"󰿤"}.mdi-swap-vertical-variant:before{content:"󰣂"}.mdi-swim:before{content:"󰓣"}.mdi-switch:before{content:"󰓤"}.mdi-sword:before{content:"󰓥"}.mdi-sword-cross:before{content:"󰞇"}.mdi-syllabary-hangul:before{content:"󱌳"}.mdi-syllabary-hiragana:before{content:"󱌴"}.mdi-syllabary-katakana:before{content:"󱌵"}.mdi-syllabary-katakana-halfwidth:before{content:"󱌶"}.mdi-symbol:before{content:"󱔁"}.mdi-symfony:before{content:"󰫦"}.mdi-synagogue:before{content:"󱬄"}.mdi-synagogue-outline:before{content:"󱬅"}.mdi-sync:before{content:"󰓦"}.mdi-sync-alert:before{content:"󰓧"}.mdi-sync-circle:before{content:"󱍸"}.mdi-sync-off:before{content:"󰓨"}.mdi-tab:before{content:"󰓩"}.mdi-tab-minus:before{content:"󰭋"}.mdi-tab-plus:before{content:"󰝜"}.mdi-tab-remove:before{content:"󰭌"}.mdi-tab-search:before{content:"󱦞"}.mdi-tab-unselected:before{content:"󰓪"}.mdi-table:before{content:"󰓫"}.mdi-table-account:before{content:"󱎹"}.mdi-table-alert:before{content:"󱎺"}.mdi-table-arrow-down:before{content:"󱎻"}.mdi-table-arrow-left:before{content:"󱎼"}.mdi-table-arrow-right:before{content:"󱎽"}.mdi-table-arrow-up:before{content:"󱎾"}.mdi-table-border:before{content:"󰨘"}.mdi-table-cancel:before{content:"󱎿"}.mdi-table-chair:before{content:"󱁡"}.mdi-table-check:before{content:"󱏀"}.mdi-table-clock:before{content:"󱏁"}.mdi-table-cog:before{content:"󱏂"}.mdi-table-column:before{content:"󰠵"}.mdi-table-column-plus-after:before{content:"󰓬"}.mdi-table-column-plus-before:before{content:"󰓭"}.mdi-table-column-remove:before{content:"󰓮"}.mdi-table-column-width:before{content:"󰓯"}.mdi-table-edit:before{content:"󰓰"}.mdi-table-eye:before{content:"󱂔"}.mdi-table-eye-off:before{content:"󱏃"}.mdi-table-filter:before{content:"󱮌"}.mdi-table-furniture:before{content:"󰖼"}.mdi-table-headers-eye:before{content:"󱈝"}.mdi-table-headers-eye-off:before{content:"󱈞"}.mdi-table-heart:before{content:"󱏄"}.mdi-table-key:before{content:"󱏅"}.mdi-table-large:before{content:"󰓱"}.mdi-table-large-plus:before{content:"󰾇"}.mdi-table-large-remove:before{content:"󰾈"}.mdi-table-lock:before{content:"󱏆"}.mdi-table-merge-cells:before{content:"󰦦"}.mdi-table-minus:before{content:"󱏇"}.mdi-table-multiple:before{content:"󱏈"}.mdi-table-network:before{content:"󱏉"}.mdi-table-of-contents:before{content:"󰠶"}.mdi-table-off:before{content:"󱏊"}.mdi-table-picnic:before{content:"󱝃"}.mdi-table-pivot:before{content:"󱠼"}.mdi-table-plus:before{content:"󰩵"}.mdi-table-question:before{content:"󱬡"}.mdi-table-refresh:before{content:"󱎠"}.mdi-table-remove:before{content:"󰩶"}.mdi-table-row:before{content:"󰠷"}.mdi-table-row-height:before{content:"󰓲"}.mdi-table-row-plus-after:before{content:"󰓳"}.mdi-table-row-plus-before:before{content:"󰓴"}.mdi-table-row-remove:before{content:"󰓵"}.mdi-table-search:before{content:"󰤏"}.mdi-table-settings:before{content:"󰠸"}.mdi-table-split-cell:before{content:"󱐪"}.mdi-table-star:before{content:"󱏋"}.mdi-table-sync:before{content:"󱎡"}.mdi-table-tennis:before{content:"󰹨"}.mdi-tablet:before{content:"󰓶"}.mdi-tablet-cellphone:before{content:"󰦧"}.mdi-tablet-dashboard:before{content:"󰻎"}.mdi-taco:before{content:"󰝢"}.mdi-tag:before{content:"󰓹"}.mdi-tag-arrow-down:before{content:"󱜫"}.mdi-tag-arrow-down-outline:before{content:"󱜬"}.mdi-tag-arrow-left:before{content:"󱜭"}.mdi-tag-arrow-left-outline:before{content:"󱜮"}.mdi-tag-arrow-right:before{content:"󱜯"}.mdi-tag-arrow-right-outline:before{content:"󱜰"}.mdi-tag-arrow-up:before{content:"󱜱"}.mdi-tag-arrow-up-outline:before{content:"󱜲"}.mdi-tag-check:before{content:"󱩺"}.mdi-tag-check-outline:before{content:"󱩻"}.mdi-tag-faces:before{content:"󰓺"}.mdi-tag-heart:before{content:"󰚋"}.mdi-tag-heart-outline:before{content:"󰯏"}.mdi-tag-hidden:before{content:"󱱶"}.mdi-tag-minus:before{content:"󰤐"}.mdi-tag-minus-outline:before{content:"󱈟"}.mdi-tag-multiple:before{content:"󰓻"}.mdi-tag-multiple-outline:before{content:"󱋷"}.mdi-tag-off:before{content:"󱈠"}.mdi-tag-off-outline:before{content:"󱈡"}.mdi-tag-outline:before{content:"󰓼"}.mdi-tag-plus:before{content:"󰜢"}.mdi-tag-plus-outline:before{content:"󱈢"}.mdi-tag-remove:before{content:"󰜣"}.mdi-tag-remove-outline:before{content:"󱈣"}.mdi-tag-search:before{content:"󱤇"}.mdi-tag-search-outline:before{content:"󱤈"}.mdi-tag-text:before{content:"󱈤"}.mdi-tag-text-outline:before{content:"󰓽"}.mdi-tailwind:before{content:"󱏿"}.mdi-tally-mark-1:before{content:"󱪼"}.mdi-tally-mark-2:before{content:"󱪽"}.mdi-tally-mark-3:before{content:"󱪾"}.mdi-tally-mark-4:before{content:"󱪿"}.mdi-tally-mark-5:before{content:"󱫀"}.mdi-tangram:before{content:"󰓸"}.mdi-tank:before{content:"󰴺"}.mdi-tanker-truck:before{content:"󰿥"}.mdi-tape-drive:before{content:"󱛟"}.mdi-tape-measure:before{content:"󰭍"}.mdi-target:before{content:"󰓾"}.mdi-target-account:before{content:"󰯐"}.mdi-target-variant:before{content:"󰩷"}.mdi-taxi:before{content:"󰓿"}.mdi-tea:before{content:"󰶞"}.mdi-tea-outline:before{content:"󰶟"}.mdi-teamviewer:before{content:"󰔀"}.mdi-teddy-bear:before{content:"󱣻"}.mdi-telescope:before{content:"󰭎"}.mdi-television:before{content:"󰔂"}.mdi-television-ambient-light:before{content:"󱍖"}.mdi-television-box:before{content:"󰠹"}.mdi-television-classic:before{content:"󰟴"}.mdi-television-classic-off:before{content:"󰠺"}.mdi-television-guide:before{content:"󰔃"}.mdi-television-off:before{content:"󰠻"}.mdi-television-pause:before{content:"󰾉"}.mdi-television-play:before{content:"󰻏"}.mdi-television-shimmer:before{content:"󱄐"}.mdi-television-speaker:before{content:"󱬛"}.mdi-television-speaker-off:before{content:"󱬜"}.mdi-television-stop:before{content:"󰾊"}.mdi-temperature-celsius:before{content:"󰔄"}.mdi-temperature-fahrenheit:before{content:"󰔅"}.mdi-temperature-kelvin:before{content:"󰔆"}.mdi-temple-buddhist:before{content:"󱬆"}.mdi-temple-buddhist-outline:before{content:"󱬇"}.mdi-temple-hindu:before{content:"󱬈"}.mdi-temple-hindu-outline:before{content:"󱬉"}.mdi-tennis:before{content:"󰶠"}.mdi-tennis-ball:before{content:"󰔇"}.mdi-tennis-ball-outline:before{content:"󱱟"}.mdi-tent:before{content:"󰔈"}.mdi-terraform:before{content:"󱁢"}.mdi-terrain:before{content:"󰔉"}.mdi-test-tube:before{content:"󰙨"}.mdi-test-tube-empty:before{content:"󰤑"}.mdi-test-tube-off:before{content:"󰤒"}.mdi-text:before{content:"󰦨"}.mdi-text-account:before{content:"󱕰"}.mdi-text-box:before{content:"󰈚"}.mdi-text-box-check:before{content:"󰺦"}.mdi-text-box-check-outline:before{content:"󰺧"}.mdi-text-box-edit:before{content:"󱩼"}.mdi-text-box-edit-outline:before{content:"󱩽"}.mdi-text-box-minus:before{content:"󰺨"}.mdi-text-box-minus-outline:before{content:"󰺩"}.mdi-text-box-multiple:before{content:"󰪷"}.mdi-text-box-multiple-outline:before{content:"󰪸"}.mdi-text-box-outline:before{content:"󰧭"}.mdi-text-box-plus:before{content:"󰺪"}.mdi-text-box-plus-outline:before{content:"󰺫"}.mdi-text-box-remove:before{content:"󰺬"}.mdi-text-box-remove-outline:before{content:"󰺭"}.mdi-text-box-search:before{content:"󰺮"}.mdi-text-box-search-outline:before{content:"󰺯"}.mdi-text-long:before{content:"󰦪"}.mdi-text-recognition:before{content:"󱄽"}.mdi-text-search:before{content:"󱎸"}.mdi-text-search-variant:before{content:"󱩾"}.mdi-text-shadow:before{content:"󰙩"}.mdi-text-short:before{content:"󰦩"}.mdi-texture:before{content:"󰔌"}.mdi-texture-box:before{content:"󰿦"}.mdi-theater:before{content:"󰔍"}.mdi-theme-light-dark:before{content:"󰔎"}.mdi-thermometer:before{content:"󰔏"}.mdi-thermometer-alert:before{content:"󰸁"}.mdi-thermometer-auto:before{content:"󱬏"}.mdi-thermometer-bluetooth:before{content:"󱢕"}.mdi-thermometer-check:before{content:"󱩿"}.mdi-thermometer-chevron-down:before{content:"󰸂"}.mdi-thermometer-chevron-up:before{content:"󰸃"}.mdi-thermometer-high:before{content:"󱃂"}.mdi-thermometer-lines:before{content:"󰔐"}.mdi-thermometer-low:before{content:"󱃃"}.mdi-thermometer-minus:before{content:"󰸄"}.mdi-thermometer-off:before{content:"󱔱"}.mdi-thermometer-plus:before{content:"󰸅"}.mdi-thermometer-probe:before{content:"󱬫"}.mdi-thermometer-probe-off:before{content:"󱬬"}.mdi-thermometer-water:before{content:"󱪀"}.mdi-thermostat:before{content:"󰎓"}.mdi-thermostat-auto:before{content:"󱬗"}.mdi-thermostat-box:before{content:"󰢑"}.mdi-thermostat-box-auto:before{content:"󱬘"}.mdi-thermostat-cog:before{content:"󱲀"}.mdi-thought-bubble:before{content:"󰟶"}.mdi-thought-bubble-outline:before{content:"󰟷"}.mdi-thumb-down:before{content:"󰔑"}.mdi-thumb-down-outline:before{content:"󰔒"}.mdi-thumb-up:before{content:"󰔓"}.mdi-thumb-up-outline:before{content:"󰔔"}.mdi-thumbs-up-down:before{content:"󰔕"}.mdi-thumbs-up-down-outline:before{content:"󱤔"}.mdi-ticket:before{content:"󰔖"}.mdi-ticket-account:before{content:"󰔗"}.mdi-ticket-confirmation:before{content:"󰔘"}.mdi-ticket-confirmation-outline:before{content:"󱎪"}.mdi-ticket-outline:before{content:"󰤓"}.mdi-ticket-percent:before{content:"󰜤"}.mdi-ticket-percent-outline:before{content:"󱐫"}.mdi-tie:before{content:"󰔙"}.mdi-tilde:before{content:"󰜥"}.mdi-tilde-off:before{content:"󱣳"}.mdi-timelapse:before{content:"󰔚"}.mdi-timeline:before{content:"󰯑"}.mdi-timeline-alert:before{content:"󰾕"}.mdi-timeline-alert-outline:before{content:"󰾘"}.mdi-timeline-check:before{content:"󱔲"}.mdi-timeline-check-outline:before{content:"󱔳"}.mdi-timeline-clock:before{content:"󱇻"}.mdi-timeline-clock-outline:before{content:"󱇼"}.mdi-timeline-minus:before{content:"󱔴"}.mdi-timeline-minus-outline:before{content:"󱔵"}.mdi-timeline-outline:before{content:"󰯒"}.mdi-timeline-plus:before{content:"󰾖"}.mdi-timeline-plus-outline:before{content:"󰾗"}.mdi-timeline-question:before{content:"󰾙"}.mdi-timeline-question-outline:before{content:"󰾚"}.mdi-timeline-remove:before{content:"󱔶"}.mdi-timeline-remove-outline:before{content:"󱔷"}.mdi-timeline-text:before{content:"󰯓"}.mdi-timeline-text-outline:before{content:"󰯔"}.mdi-timer:before{content:"󱎫"}.mdi-timer-10:before{content:"󰔜"}.mdi-timer-3:before{content:"󰔝"}.mdi-timer-alert:before{content:"󱫌"}.mdi-timer-alert-outline:before{content:"󱫍"}.mdi-timer-cancel:before{content:"󱫎"}.mdi-timer-cancel-outline:before{content:"󱫏"}.mdi-timer-check:before{content:"󱫐"}.mdi-timer-check-outline:before{content:"󱫑"}.mdi-timer-cog:before{content:"󱤥"}.mdi-timer-cog-outline:before{content:"󱤦"}.mdi-timer-edit:before{content:"󱫒"}.mdi-timer-edit-outline:before{content:"󱫓"}.mdi-timer-lock:before{content:"󱫔"}.mdi-timer-lock-open:before{content:"󱫕"}.mdi-timer-lock-open-outline:before{content:"󱫖"}.mdi-timer-lock-outline:before{content:"󱫗"}.mdi-timer-marker:before{content:"󱫘"}.mdi-timer-marker-outline:before{content:"󱫙"}.mdi-timer-minus:before{content:"󱫚"}.mdi-timer-minus-outline:before{content:"󱫛"}.mdi-timer-music:before{content:"󱫜"}.mdi-timer-music-outline:before{content:"󱫝"}.mdi-timer-off:before{content:"󱎬"}.mdi-timer-off-outline:before{content:"󰔞"}.mdi-timer-outline:before{content:"󰔛"}.mdi-timer-pause:before{content:"󱫞"}.mdi-timer-pause-outline:before{content:"󱫟"}.mdi-timer-play:before{content:"󱫠"}.mdi-timer-play-outline:before{content:"󱫡"}.mdi-timer-plus:before{content:"󱫢"}.mdi-timer-plus-outline:before{content:"󱫣"}.mdi-timer-refresh:before{content:"󱫤"}.mdi-timer-refresh-outline:before{content:"󱫥"}.mdi-timer-remove:before{content:"󱫦"}.mdi-timer-remove-outline:before{content:"󱫧"}.mdi-timer-sand:before{content:"󰔟"}.mdi-timer-sand-complete:before{content:"󱦟"}.mdi-timer-sand-empty:before{content:"󰚭"}.mdi-timer-sand-full:before{content:"󰞌"}.mdi-timer-sand-paused:before{content:"󱦠"}.mdi-timer-settings:before{content:"󱤣"}.mdi-timer-settings-outline:before{content:"󱤤"}.mdi-timer-star:before{content:"󱫨"}.mdi-timer-star-outline:before{content:"󱫩"}.mdi-timer-stop:before{content:"󱫪"}.mdi-timer-stop-outline:before{content:"󱫫"}.mdi-timer-sync:before{content:"󱫬"}.mdi-timer-sync-outline:before{content:"󱫭"}.mdi-timetable:before{content:"󰔠"}.mdi-tire:before{content:"󱢖"}.mdi-toaster:before{content:"󱁣"}.mdi-toaster-off:before{content:"󱆷"}.mdi-toaster-oven:before{content:"󰳓"}.mdi-toggle-switch:before{content:"󰔡"}.mdi-toggle-switch-off:before{content:"󰔢"}.mdi-toggle-switch-off-outline:before{content:"󰨙"}.mdi-toggle-switch-outline:before{content:"󰨚"}.mdi-toggle-switch-variant:before{content:"󱨥"}.mdi-toggle-switch-variant-off:before{content:"󱨦"}.mdi-toilet:before{content:"󰦫"}.mdi-toolbox:before{content:"󰦬"}.mdi-toolbox-outline:before{content:"󰦭"}.mdi-tools:before{content:"󱁤"}.mdi-tooltip:before{content:"󰔣"}.mdi-tooltip-account:before{content:"󰀌"}.mdi-tooltip-cellphone:before{content:"󱠻"}.mdi-tooltip-check:before{content:"󱕜"}.mdi-tooltip-check-outline:before{content:"󱕝"}.mdi-tooltip-edit:before{content:"󰔤"}.mdi-tooltip-edit-outline:before{content:"󱋅"}.mdi-tooltip-image:before{content:"󰔥"}.mdi-tooltip-image-outline:before{content:"󰯕"}.mdi-tooltip-minus:before{content:"󱕞"}.mdi-tooltip-minus-outline:before{content:"󱕟"}.mdi-tooltip-outline:before{content:"󰔦"}.mdi-tooltip-plus:before{content:"󰯖"}.mdi-tooltip-plus-outline:before{content:"󰔧"}.mdi-tooltip-question:before{content:"󱮺"}.mdi-tooltip-question-outline:before{content:"󱮻"}.mdi-tooltip-remove:before{content:"󱕠"}.mdi-tooltip-remove-outline:before{content:"󱕡"}.mdi-tooltip-text:before{content:"󰔨"}.mdi-tooltip-text-outline:before{content:"󰯗"}.mdi-tooth:before{content:"󰣃"}.mdi-tooth-outline:before{content:"󰔩"}.mdi-toothbrush:before{content:"󱄩"}.mdi-toothbrush-electric:before{content:"󱄬"}.mdi-toothbrush-paste:before{content:"󱄪"}.mdi-torch:before{content:"󱘆"}.mdi-tortoise:before{content:"󰴻"}.mdi-toslink:before{content:"󱊸"}.mdi-touch-text-outline:before{content:"󱱠"}.mdi-tournament:before{content:"󰦮"}.mdi-tow-truck:before{content:"󰠼"}.mdi-tower-beach:before{content:"󰚁"}.mdi-tower-fire:before{content:"󰚂"}.mdi-town-hall:before{content:"󱡵"}.mdi-toy-brick:before{content:"󱊈"}.mdi-toy-brick-marker:before{content:"󱊉"}.mdi-toy-brick-marker-outline:before{content:"󱊊"}.mdi-toy-brick-minus:before{content:"󱊋"}.mdi-toy-brick-minus-outline:before{content:"󱊌"}.mdi-toy-brick-outline:before{content:"󱊍"}.mdi-toy-brick-plus:before{content:"󱊎"}.mdi-toy-brick-plus-outline:before{content:"󱊏"}.mdi-toy-brick-remove:before{content:"󱊐"}.mdi-toy-brick-remove-outline:before{content:"󱊑"}.mdi-toy-brick-search:before{content:"󱊒"}.mdi-toy-brick-search-outline:before{content:"󱊓"}.mdi-track-light:before{content:"󰤔"}.mdi-track-light-off:before{content:"󱬁"}.mdi-trackpad:before{content:"󰟸"}.mdi-trackpad-lock:before{content:"󰤳"}.mdi-tractor:before{content:"󰢒"}.mdi-tractor-variant:before{content:"󱓄"}.mdi-trademark:before{content:"󰩸"}.mdi-traffic-cone:before{content:"󱍼"}.mdi-traffic-light:before{content:"󰔫"}.mdi-traffic-light-outline:before{content:"󱠪"}.mdi-train:before{content:"󰔬"}.mdi-train-car:before{content:"󰯘"}.mdi-train-car-autorack:before{content:"󱬭"}.mdi-train-car-box:before{content:"󱬮"}.mdi-train-car-box-full:before{content:"󱬯"}.mdi-train-car-box-open:before{content:"󱬰"}.mdi-train-car-caboose:before{content:"󱬱"}.mdi-train-car-centerbeam:before{content:"󱬲"}.mdi-train-car-centerbeam-full:before{content:"󱬳"}.mdi-train-car-container:before{content:"󱬴"}.mdi-train-car-flatbed:before{content:"󱬵"}.mdi-train-car-flatbed-car:before{content:"󱬶"}.mdi-train-car-flatbed-tank:before{content:"󱬷"}.mdi-train-car-gondola:before{content:"󱬸"}.mdi-train-car-gondola-full:before{content:"󱬹"}.mdi-train-car-hopper:before{content:"󱬺"}.mdi-train-car-hopper-covered:before{content:"󱬻"}.mdi-train-car-hopper-full:before{content:"󱬼"}.mdi-train-car-intermodal:before{content:"󱬽"}.mdi-train-car-passenger:before{content:"󱜳"}.mdi-train-car-passenger-door:before{content:"󱜴"}.mdi-train-car-passenger-door-open:before{content:"󱜵"}.mdi-train-car-passenger-variant:before{content:"󱜶"}.mdi-train-car-tank:before{content:"󱬾"}.mdi-train-variant:before{content:"󰣄"}.mdi-tram:before{content:"󰔭"}.mdi-tram-side:before{content:"󰿧"}.mdi-transcribe:before{content:"󰔮"}.mdi-transcribe-close:before{content:"󰔯"}.mdi-transfer:before{content:"󱁥"}.mdi-transfer-down:before{content:"󰶡"}.mdi-transfer-left:before{content:"󰶢"}.mdi-transfer-right:before{content:"󰔰"}.mdi-transfer-up:before{content:"󰶣"}.mdi-transit-connection:before{content:"󰴼"}.mdi-transit-connection-horizontal:before{content:"󱕆"}.mdi-transit-connection-variant:before{content:"󰴽"}.mdi-transit-detour:before{content:"󰾋"}.mdi-transit-skip:before{content:"󱔕"}.mdi-transit-transfer:before{content:"󰚮"}.mdi-transition:before{content:"󰤕"}.mdi-transition-masked:before{content:"󰤖"}.mdi-translate:before{content:"󰗊"}.mdi-translate-off:before{content:"󰸆"}.mdi-translate-variant:before{content:"󱮙"}.mdi-transmission-tower:before{content:"󰴾"}.mdi-transmission-tower-export:before{content:"󱤬"}.mdi-transmission-tower-import:before{content:"󱤭"}.mdi-transmission-tower-off:before{content:"󱧝"}.mdi-trash-can:before{content:"󰩹"}.mdi-trash-can-outline:before{content:"󰩺"}.mdi-tray:before{content:"󱊔"}.mdi-tray-alert:before{content:"󱊕"}.mdi-tray-arrow-down:before{content:"󰄠"}.mdi-tray-arrow-up:before{content:"󰄝"}.mdi-tray-full:before{content:"󱊖"}.mdi-tray-minus:before{content:"󱊗"}.mdi-tray-plus:before{content:"󱊘"}.mdi-tray-remove:before{content:"󱊙"}.mdi-treasure-chest:before{content:"󰜦"}.mdi-treasure-chest-outline:before{content:"󱱷"}.mdi-tree:before{content:"󰔱"}.mdi-tree-outline:before{content:"󰹩"}.mdi-trello:before{content:"󰔲"}.mdi-trending-down:before{content:"󰔳"}.mdi-trending-neutral:before{content:"󰔴"}.mdi-trending-up:before{content:"󰔵"}.mdi-triangle:before{content:"󰔶"}.mdi-triangle-down:before{content:"󱱖"}.mdi-triangle-down-outline:before{content:"󱱗"}.mdi-triangle-outline:before{content:"󰔷"}.mdi-triangle-small-down:before{content:"󱨉"}.mdi-triangle-small-up:before{content:"󱨊"}.mdi-triangle-wave:before{content:"󱑼"}.mdi-triforce:before{content:"󰯙"}.mdi-trophy:before{content:"󰔸"}.mdi-trophy-award:before{content:"󰔹"}.mdi-trophy-broken:before{content:"󰶤"}.mdi-trophy-outline:before{content:"󰔺"}.mdi-trophy-variant:before{content:"󰔻"}.mdi-trophy-variant-outline:before{content:"󰔼"}.mdi-truck:before{content:"󰔽"}.mdi-truck-alert:before{content:"󱧞"}.mdi-truck-alert-outline:before{content:"󱧟"}.mdi-truck-cargo-container:before{content:"󱣘"}.mdi-truck-check:before{content:"󰳔"}.mdi-truck-check-outline:before{content:"󱊚"}.mdi-truck-delivery:before{content:"󰔾"}.mdi-truck-delivery-outline:before{content:"󱊛"}.mdi-truck-fast:before{content:"󰞈"}.mdi-truck-fast-outline:before{content:"󱊜"}.mdi-truck-flatbed:before{content:"󱢑"}.mdi-truck-minus:before{content:"󱦮"}.mdi-truck-minus-outline:before{content:"󱦽"}.mdi-truck-outline:before{content:"󱊝"}.mdi-truck-plus:before{content:"󱦭"}.mdi-truck-plus-outline:before{content:"󱦼"}.mdi-truck-remove:before{content:"󱦯"}.mdi-truck-remove-outline:before{content:"󱦾"}.mdi-truck-snowflake:before{content:"󱦦"}.mdi-truck-trailer:before{content:"󰜧"}.mdi-trumpet:before{content:"󱂖"}.mdi-tshirt-crew:before{content:"󰩻"}.mdi-tshirt-crew-outline:before{content:"󰔿"}.mdi-tshirt-v:before{content:"󰩼"}.mdi-tshirt-v-outline:before{content:"󰕀"}.mdi-tsunami:before{content:"󱪁"}.mdi-tumble-dryer:before{content:"󰤗"}.mdi-tumble-dryer-alert:before{content:"󱆺"}.mdi-tumble-dryer-off:before{content:"󱆻"}.mdi-tune:before{content:"󰘮"}.mdi-tune-variant:before{content:"󱕂"}.mdi-tune-vertical:before{content:"󰙪"}.mdi-tune-vertical-variant:before{content:"󱕃"}.mdi-tunnel:before{content:"󱠽"}.mdi-tunnel-outline:before{content:"󱠾"}.mdi-turbine:before{content:"󱪂"}.mdi-turkey:before{content:"󱜛"}.mdi-turnstile:before{content:"󰳕"}.mdi-turnstile-outline:before{content:"󰳖"}.mdi-turtle:before{content:"󰳗"}.mdi-twitch:before{content:"󰕃"}.mdi-twitter:before{content:"󰕄"}.mdi-two-factor-authentication:before{content:"󰦯"}.mdi-typewriter:before{content:"󰼭"}.mdi-ubisoft:before{content:"󰯚"}.mdi-ubuntu:before{content:"󰕈"}.mdi-ufo:before{content:"󱃄"}.mdi-ufo-outline:before{content:"󱃅"}.mdi-ultra-high-definition:before{content:"󰟹"}.mdi-umbraco:before{content:"󰕉"}.mdi-umbrella:before{content:"󰕊"}.mdi-umbrella-beach:before{content:"󱢊"}.mdi-umbrella-beach-outline:before{content:"󱢋"}.mdi-umbrella-closed:before{content:"󰦰"}.mdi-umbrella-closed-outline:before{content:"󱏢"}.mdi-umbrella-closed-variant:before{content:"󱏡"}.mdi-umbrella-outline:before{content:"󰕋"}.mdi-undo:before{content:"󰕌"}.mdi-undo-variant:before{content:"󰕍"}.mdi-unfold-less-horizontal:before{content:"󰕎"}.mdi-unfold-less-vertical:before{content:"󰝠"}.mdi-unfold-more-horizontal:before{content:"󰕏"}.mdi-unfold-more-vertical:before{content:"󰝡"}.mdi-ungroup:before{content:"󰕐"}.mdi-unicode:before{content:"󰻐"}.mdi-unicorn:before{content:"󱗂"}.mdi-unicorn-variant:before{content:"󱗃"}.mdi-unicycle:before{content:"󱗥"}.mdi-unity:before{content:"󰚯"}.mdi-unreal:before{content:"󰦱"}.mdi-update:before{content:"󰚰"}.mdi-upload:before{content:"󰕒"}.mdi-upload-lock:before{content:"󱍳"}.mdi-upload-lock-outline:before{content:"󱍴"}.mdi-upload-multiple:before{content:"󰠽"}.mdi-upload-network:before{content:"󰛶"}.mdi-upload-network-outline:before{content:"󰳘"}.mdi-upload-off:before{content:"󱃆"}.mdi-upload-off-outline:before{content:"󱃇"}.mdi-upload-outline:before{content:"󰸇"}.mdi-usb:before{content:"󰕓"}.mdi-usb-flash-drive:before{content:"󱊞"}.mdi-usb-flash-drive-outline:before{content:"󱊟"}.mdi-usb-port:before{content:"󱇰"}.mdi-vacuum:before{content:"󱦡"}.mdi-vacuum-outline:before{content:"󱦢"}.mdi-valve:before{content:"󱁦"}.mdi-valve-closed:before{content:"󱁧"}.mdi-valve-open:before{content:"󱁨"}.mdi-van-passenger:before{content:"󰟺"}.mdi-van-utility:before{content:"󰟻"}.mdi-vanish:before{content:"󰟼"}.mdi-vanish-quarter:before{content:"󱕔"}.mdi-vanity-light:before{content:"󱇡"}.mdi-variable:before{content:"󰫧"}.mdi-variable-box:before{content:"󱄑"}.mdi-vector-arrange-above:before{content:"󰕔"}.mdi-vector-arrange-below:before{content:"󰕕"}.mdi-vector-bezier:before{content:"󰫨"}.mdi-vector-circle:before{content:"󰕖"}.mdi-vector-circle-variant:before{content:"󰕗"}.mdi-vector-combine:before{content:"󰕘"}.mdi-vector-curve:before{content:"󰕙"}.mdi-vector-difference:before{content:"󰕚"}.mdi-vector-difference-ab:before{content:"󰕛"}.mdi-vector-difference-ba:before{content:"󰕜"}.mdi-vector-ellipse:before{content:"󰢓"}.mdi-vector-intersection:before{content:"󰕝"}.mdi-vector-line:before{content:"󰕞"}.mdi-vector-link:before{content:"󰿨"}.mdi-vector-point:before{content:"󰇄"}.mdi-vector-point-edit:before{content:"󰧨"}.mdi-vector-point-minus:before{content:"󱭸"}.mdi-vector-point-plus:before{content:"󱭹"}.mdi-vector-point-select:before{content:"󰕟"}.mdi-vector-polygon:before{content:"󰕠"}.mdi-vector-polygon-variant:before{content:"󱡖"}.mdi-vector-polyline:before{content:"󰕡"}.mdi-vector-polyline-edit:before{content:"󱈥"}.mdi-vector-polyline-minus:before{content:"󱈦"}.mdi-vector-polyline-plus:before{content:"󱈧"}.mdi-vector-polyline-remove:before{content:"󱈨"}.mdi-vector-radius:before{content:"󰝊"}.mdi-vector-rectangle:before{content:"󰗆"}.mdi-vector-selection:before{content:"󰕢"}.mdi-vector-square:before{content:"󰀁"}.mdi-vector-square-close:before{content:"󱡗"}.mdi-vector-square-edit:before{content:"󱣙"}.mdi-vector-square-minus:before{content:"󱣚"}.mdi-vector-square-open:before{content:"󱡘"}.mdi-vector-square-plus:before{content:"󱣛"}.mdi-vector-square-remove:before{content:"󱣜"}.mdi-vector-triangle:before{content:"󰕣"}.mdi-vector-union:before{content:"󰕤"}.mdi-vhs:before{content:"󰨛"}.mdi-vibrate:before{content:"󰕦"}.mdi-vibrate-off:before{content:"󰳙"}.mdi-video:before{content:"󰕧"}.mdi-video-2d:before{content:"󱨜"}.mdi-video-3d:before{content:"󰟽"}.mdi-video-3d-off:before{content:"󱏙"}.mdi-video-3d-variant:before{content:"󰻑"}.mdi-video-4k-box:before{content:"󰠾"}.mdi-video-account:before{content:"󰤙"}.mdi-video-box:before{content:"󰃽"}.mdi-video-box-off:before{content:"󰃾"}.mdi-video-check:before{content:"󱁩"}.mdi-video-check-outline:before{content:"󱁪"}.mdi-video-high-definition:before{content:"󱔮"}.mdi-video-image:before{content:"󰤚"}.mdi-video-input-antenna:before{content:"󰠿"}.mdi-video-input-component:before{content:"󰡀"}.mdi-video-input-hdmi:before{content:"󰡁"}.mdi-video-input-scart:before{content:"󰾌"}.mdi-video-input-svideo:before{content:"󰡂"}.mdi-video-marker:before{content:"󱦩"}.mdi-video-marker-outline:before{content:"󱦪"}.mdi-video-minus:before{content:"󰦲"}.mdi-video-minus-outline:before{content:"󰊺"}.mdi-video-off:before{content:"󰕨"}.mdi-video-off-outline:before{content:"󰯛"}.mdi-video-outline:before{content:"󰯜"}.mdi-video-plus:before{content:"󰦳"}.mdi-video-plus-outline:before{content:"󰇓"}.mdi-video-stabilization:before{content:"󰤛"}.mdi-video-switch:before{content:"󰕩"}.mdi-video-switch-outline:before{content:"󰞐"}.mdi-video-vintage:before{content:"󰨜"}.mdi-video-wireless:before{content:"󰻒"}.mdi-video-wireless-outline:before{content:"󰻓"}.mdi-view-agenda:before{content:"󰕪"}.mdi-view-agenda-outline:before{content:"󱇘"}.mdi-view-array:before{content:"󰕫"}.mdi-view-array-outline:before{content:"󱒅"}.mdi-view-carousel:before{content:"󰕬"}.mdi-view-carousel-outline:before{content:"󱒆"}.mdi-view-column:before{content:"󰕭"}.mdi-view-column-outline:before{content:"󱒇"}.mdi-view-comfy:before{content:"󰹪"}.mdi-view-comfy-outline:before{content:"󱒈"}.mdi-view-compact:before{content:"󰹫"}.mdi-view-compact-outline:before{content:"󰹬"}.mdi-view-dashboard:before{content:"󰕮"}.mdi-view-dashboard-edit:before{content:"󱥇"}.mdi-view-dashboard-edit-outline:before{content:"󱥈"}.mdi-view-dashboard-outline:before{content:"󰨝"}.mdi-view-dashboard-variant:before{content:"󰡃"}.mdi-view-dashboard-variant-outline:before{content:"󱒉"}.mdi-view-day:before{content:"󰕯"}.mdi-view-day-outline:before{content:"󱒊"}.mdi-view-gallery:before{content:"󱢈"}.mdi-view-gallery-outline:before{content:"󱢉"}.mdi-view-grid:before{content:"󰕰"}.mdi-view-grid-compact:before{content:"󱱡"}.mdi-view-grid-outline:before{content:"󱇙"}.mdi-view-grid-plus:before{content:"󰾍"}.mdi-view-grid-plus-outline:before{content:"󱇚"}.mdi-view-headline:before{content:"󰕱"}.mdi-view-list:before{content:"󰕲"}.mdi-view-list-outline:before{content:"󱒋"}.mdi-view-module:before{content:"󰕳"}.mdi-view-module-outline:before{content:"󱒌"}.mdi-view-parallel:before{content:"󰜨"}.mdi-view-parallel-outline:before{content:"󱒍"}.mdi-view-quilt:before{content:"󰕴"}.mdi-view-quilt-outline:before{content:"󱒎"}.mdi-view-sequential:before{content:"󰜩"}.mdi-view-sequential-outline:before{content:"󱒏"}.mdi-view-split-horizontal:before{content:"󰯋"}.mdi-view-split-vertical:before{content:"󰯌"}.mdi-view-stream:before{content:"󰕵"}.mdi-view-stream-outline:before{content:"󱒐"}.mdi-view-week:before{content:"󰕶"}.mdi-view-week-outline:before{content:"󱒑"}.mdi-vimeo:before{content:"󰕷"}.mdi-violin:before{content:"󰘏"}.mdi-virtual-reality:before{content:"󰢔"}.mdi-virus:before{content:"󱎶"}.mdi-virus-off:before{content:"󱣡"}.mdi-virus-off-outline:before{content:"󱣢"}.mdi-virus-outline:before{content:"󱎷"}.mdi-vlc:before{content:"󰕼"}.mdi-voicemail:before{content:"󰕽"}.mdi-volcano:before{content:"󱪃"}.mdi-volcano-outline:before{content:"󱪄"}.mdi-volleyball:before{content:"󰦴"}.mdi-volume-equal:before{content:"󱬐"}.mdi-volume-high:before{content:"󰕾"}.mdi-volume-low:before{content:"󰕿"}.mdi-volume-medium:before{content:"󰖀"}.mdi-volume-minus:before{content:"󰝞"}.mdi-volume-mute:before{content:"󰝟"}.mdi-volume-off:before{content:"󰖁"}.mdi-volume-plus:before{content:"󰝝"}.mdi-volume-source:before{content:"󱄠"}.mdi-volume-variant-off:before{content:"󰸈"}.mdi-volume-vibrate:before{content:"󱄡"}.mdi-vote:before{content:"󰨟"}.mdi-vote-outline:before{content:"󰨠"}.mdi-vpn:before{content:"󰖂"}.mdi-vuejs:before{content:"󰡄"}.mdi-vuetify:before{content:"󰹭"}.mdi-walk:before{content:"󰖃"}.mdi-wall:before{content:"󰟾"}.mdi-wall-fire:before{content:"󱨑"}.mdi-wall-sconce:before{content:"󰤜"}.mdi-wall-sconce-flat:before{content:"󰤝"}.mdi-wall-sconce-flat-outline:before{content:"󱟉"}.mdi-wall-sconce-flat-variant:before{content:"󰐜"}.mdi-wall-sconce-flat-variant-outline:before{content:"󱟊"}.mdi-wall-sconce-outline:before{content:"󱟋"}.mdi-wall-sconce-round:before{content:"󰝈"}.mdi-wall-sconce-round-outline:before{content:"󱟌"}.mdi-wall-sconce-round-variant:before{content:"󰤞"}.mdi-wall-sconce-round-variant-outline:before{content:"󱟍"}.mdi-wallet:before{content:"󰖄"}.mdi-wallet-bifold:before{content:"󱱘"}.mdi-wallet-bifold-outline:before{content:"󱱙"}.mdi-wallet-giftcard:before{content:"󰖅"}.mdi-wallet-membership:before{content:"󰖆"}.mdi-wallet-outline:before{content:"󰯝"}.mdi-wallet-plus:before{content:"󰾎"}.mdi-wallet-plus-outline:before{content:"󰾏"}.mdi-wallet-travel:before{content:"󰖇"}.mdi-wallpaper:before{content:"󰸉"}.mdi-wan:before{content:"󰖈"}.mdi-wardrobe:before{content:"󰾐"}.mdi-wardrobe-outline:before{content:"󰾑"}.mdi-warehouse:before{content:"󰾁"}.mdi-washing-machine:before{content:"󰜪"}.mdi-washing-machine-alert:before{content:"󱆼"}.mdi-washing-machine-off:before{content:"󱆽"}.mdi-watch:before{content:"󰖉"}.mdi-watch-export:before{content:"󰖊"}.mdi-watch-export-variant:before{content:"󰢕"}.mdi-watch-import:before{content:"󰖋"}.mdi-watch-import-variant:before{content:"󰢖"}.mdi-watch-variant:before{content:"󰢗"}.mdi-watch-vibrate:before{content:"󰚱"}.mdi-watch-vibrate-off:before{content:"󰳚"}.mdi-water:before{content:"󰖌"}.mdi-water-alert:before{content:"󱔂"}.mdi-water-alert-outline:before{content:"󱔃"}.mdi-water-boiler:before{content:"󰾒"}.mdi-water-boiler-alert:before{content:"󱆳"}.mdi-water-boiler-auto:before{content:"󱮘"}.mdi-water-boiler-off:before{content:"󱆴"}.mdi-water-check:before{content:"󱔄"}.mdi-water-check-outline:before{content:"󱔅"}.mdi-water-circle:before{content:"󱠆"}.mdi-water-minus:before{content:"󱔆"}.mdi-water-minus-outline:before{content:"󱔇"}.mdi-water-off:before{content:"󰖍"}.mdi-water-off-outline:before{content:"󱔈"}.mdi-water-opacity:before{content:"󱡕"}.mdi-water-outline:before{content:"󰸊"}.mdi-water-percent:before{content:"󰖎"}.mdi-water-percent-alert:before{content:"󱔉"}.mdi-water-plus:before{content:"󱔊"}.mdi-water-plus-outline:before{content:"󱔋"}.mdi-water-polo:before{content:"󱊠"}.mdi-water-pump:before{content:"󰖏"}.mdi-water-pump-off:before{content:"󰾓"}.mdi-water-remove:before{content:"󱔌"}.mdi-water-remove-outline:before{content:"󱔍"}.mdi-water-sync:before{content:"󱟆"}.mdi-water-thermometer:before{content:"󱪅"}.mdi-water-thermometer-outline:before{content:"󱪆"}.mdi-water-well:before{content:"󱁫"}.mdi-water-well-outline:before{content:"󱁬"}.mdi-waterfall:before{content:"󱡉"}.mdi-watering-can:before{content:"󱒁"}.mdi-watering-can-outline:before{content:"󱒂"}.mdi-watermark:before{content:"󰘒"}.mdi-wave:before{content:"󰼮"}.mdi-waveform:before{content:"󱑽"}.mdi-waves:before{content:"󰞍"}.mdi-waves-arrow-left:before{content:"󱡙"}.mdi-waves-arrow-right:before{content:"󱡚"}.mdi-waves-arrow-up:before{content:"󱡛"}.mdi-waze:before{content:"󰯞"}.mdi-weather-cloudy:before{content:"󰖐"}.mdi-weather-cloudy-alert:before{content:"󰼯"}.mdi-weather-cloudy-arrow-right:before{content:"󰹮"}.mdi-weather-cloudy-clock:before{content:"󱣶"}.mdi-weather-dust:before{content:"󱭚"}.mdi-weather-fog:before{content:"󰖑"}.mdi-weather-hail:before{content:"󰖒"}.mdi-weather-hazy:before{content:"󰼰"}.mdi-weather-hurricane:before{content:"󰢘"}.mdi-weather-hurricane-outline:before{content:"󱱸"}.mdi-weather-lightning:before{content:"󰖓"}.mdi-weather-lightning-rainy:before{content:"󰙾"}.mdi-weather-night:before{content:"󰖔"}.mdi-weather-night-partly-cloudy:before{content:"󰼱"}.mdi-weather-partly-cloudy:before{content:"󰖕"}.mdi-weather-partly-lightning:before{content:"󰼲"}.mdi-weather-partly-rainy:before{content:"󰼳"}.mdi-weather-partly-snowy:before{content:"󰼴"}.mdi-weather-partly-snowy-rainy:before{content:"󰼵"}.mdi-weather-pouring:before{content:"󰖖"}.mdi-weather-rainy:before{content:"󰖗"}.mdi-weather-snowy:before{content:"󰖘"}.mdi-weather-snowy-heavy:before{content:"󰼶"}.mdi-weather-snowy-rainy:before{content:"󰙿"}.mdi-weather-sunny:before{content:"󰖙"}.mdi-weather-sunny-alert:before{content:"󰼷"}.mdi-weather-sunny-off:before{content:"󱓤"}.mdi-weather-sunset:before{content:"󰖚"}.mdi-weather-sunset-down:before{content:"󰖛"}.mdi-weather-sunset-up:before{content:"󰖜"}.mdi-weather-tornado:before{content:"󰼸"}.mdi-weather-windy:before{content:"󰖝"}.mdi-weather-windy-variant:before{content:"󰖞"}.mdi-web:before{content:"󰖟"}.mdi-web-box:before{content:"󰾔"}.mdi-web-cancel:before{content:"󱞐"}.mdi-web-check:before{content:"󰞉"}.mdi-web-clock:before{content:"󱉊"}.mdi-web-minus:before{content:"󱂠"}.mdi-web-off:before{content:"󰪎"}.mdi-web-plus:before{content:"󰀳"}.mdi-web-refresh:before{content:"󱞑"}.mdi-web-remove:before{content:"󰕑"}.mdi-web-sync:before{content:"󱞒"}.mdi-webcam:before{content:"󰖠"}.mdi-webcam-off:before{content:"󱜷"}.mdi-webhook:before{content:"󰘯"}.mdi-webpack:before{content:"󰜫"}.mdi-webrtc:before{content:"󱉈"}.mdi-wechat:before{content:"󰘑"}.mdi-weight:before{content:"󰖡"}.mdi-weight-gram:before{content:"󰴿"}.mdi-weight-kilogram:before{content:"󰖢"}.mdi-weight-lifter:before{content:"󱅝"}.mdi-weight-pound:before{content:"󰦵"}.mdi-whatsapp:before{content:"󰖣"}.mdi-wheel-barrow:before{content:"󱓲"}.mdi-wheelchair:before{content:"󱪇"}.mdi-wheelchair-accessibility:before{content:"󰖤"}.mdi-whistle:before{content:"󰦶"}.mdi-whistle-outline:before{content:"󱊼"}.mdi-white-balance-auto:before{content:"󰖥"}.mdi-white-balance-incandescent:before{content:"󰖦"}.mdi-white-balance-iridescent:before{content:"󰖧"}.mdi-white-balance-sunny:before{content:"󰖨"}.mdi-widgets:before{content:"󰜬"}.mdi-widgets-outline:before{content:"󱍕"}.mdi-wifi:before{content:"󰖩"}.mdi-wifi-alert:before{content:"󱚵"}.mdi-wifi-arrow-down:before{content:"󱚶"}.mdi-wifi-arrow-left:before{content:"󱚷"}.mdi-wifi-arrow-left-right:before{content:"󱚸"}.mdi-wifi-arrow-right:before{content:"󱚹"}.mdi-wifi-arrow-up:before{content:"󱚺"}.mdi-wifi-arrow-up-down:before{content:"󱚻"}.mdi-wifi-cancel:before{content:"󱚼"}.mdi-wifi-check:before{content:"󱚽"}.mdi-wifi-cog:before{content:"󱚾"}.mdi-wifi-lock:before{content:"󱚿"}.mdi-wifi-lock-open:before{content:"󱛀"}.mdi-wifi-marker:before{content:"󱛁"}.mdi-wifi-minus:before{content:"󱛂"}.mdi-wifi-off:before{content:"󰖪"}.mdi-wifi-plus:before{content:"󱛃"}.mdi-wifi-refresh:before{content:"󱛄"}.mdi-wifi-remove:before{content:"󱛅"}.mdi-wifi-settings:before{content:"󱛆"}.mdi-wifi-star:before{content:"󰸋"}.mdi-wifi-strength-1:before{content:"󰤟"}.mdi-wifi-strength-1-alert:before{content:"󰤠"}.mdi-wifi-strength-1-lock:before{content:"󰤡"}.mdi-wifi-strength-1-lock-open:before{content:"󱛋"}.mdi-wifi-strength-2:before{content:"󰤢"}.mdi-wifi-strength-2-alert:before{content:"󰤣"}.mdi-wifi-strength-2-lock:before{content:"󰤤"}.mdi-wifi-strength-2-lock-open:before{content:"󱛌"}.mdi-wifi-strength-3:before{content:"󰤥"}.mdi-wifi-strength-3-alert:before{content:"󰤦"}.mdi-wifi-strength-3-lock:before{content:"󰤧"}.mdi-wifi-strength-3-lock-open:before{content:"󱛍"}.mdi-wifi-strength-4:before{content:"󰤨"}.mdi-wifi-strength-4-alert:before{content:"󰤩"}.mdi-wifi-strength-4-lock:before{content:"󰤪"}.mdi-wifi-strength-4-lock-open:before{content:"󱛎"}.mdi-wifi-strength-alert-outline:before{content:"󰤫"}.mdi-wifi-strength-lock-open-outline:before{content:"󱛏"}.mdi-wifi-strength-lock-outline:before{content:"󰤬"}.mdi-wifi-strength-off:before{content:"󰤭"}.mdi-wifi-strength-off-outline:before{content:"󰤮"}.mdi-wifi-strength-outline:before{content:"󰤯"}.mdi-wifi-sync:before{content:"󱛇"}.mdi-wikipedia:before{content:"󰖬"}.mdi-wind-power:before{content:"󱪈"}.mdi-wind-power-outline:before{content:"󱪉"}.mdi-wind-turbine:before{content:"󰶥"}.mdi-wind-turbine-alert:before{content:"󱦫"}.mdi-wind-turbine-check:before{content:"󱦬"}.mdi-window-close:before{content:"󰖭"}.mdi-window-closed:before{content:"󰖮"}.mdi-window-closed-variant:before{content:"󱇛"}.mdi-window-maximize:before{content:"󰖯"}.mdi-window-minimize:before{content:"󰖰"}.mdi-window-open:before{content:"󰖱"}.mdi-window-open-variant:before{content:"󱇜"}.mdi-window-restore:before{content:"󰖲"}.mdi-window-shutter:before{content:"󱄜"}.mdi-window-shutter-alert:before{content:"󱄝"}.mdi-window-shutter-auto:before{content:"󱮣"}.mdi-window-shutter-cog:before{content:"󱪊"}.mdi-window-shutter-open:before{content:"󱄞"}.mdi-window-shutter-settings:before{content:"󱪋"}.mdi-windsock:before{content:"󱗺"}.mdi-wiper:before{content:"󰫩"}.mdi-wiper-wash:before{content:"󰶦"}.mdi-wiper-wash-alert:before{content:"󱣟"}.mdi-wizard-hat:before{content:"󱑷"}.mdi-wordpress:before{content:"󰖴"}.mdi-wrap:before{content:"󰖶"}.mdi-wrap-disabled:before{content:"󰯟"}.mdi-wrench:before{content:"󰖷"}.mdi-wrench-check:before{content:"󱮏"}.mdi-wrench-check-outline:before{content:"󱮐"}.mdi-wrench-clock:before{content:"󱦣"}.mdi-wrench-clock-outline:before{content:"󱮓"}.mdi-wrench-cog:before{content:"󱮑"}.mdi-wrench-cog-outline:before{content:"󱮒"}.mdi-wrench-outline:before{content:"󰯠"}.mdi-xamarin:before{content:"󰡅"}.mdi-xml:before{content:"󰗀"}.mdi-xmpp:before{content:"󰟿"}.mdi-yahoo:before{content:"󰭏"}.mdi-yeast:before{content:"󰗁"}.mdi-yin-yang:before{content:"󰚀"}.mdi-yoga:before{content:"󱅼"}.mdi-youtube:before{content:"󰗃"}.mdi-youtube-gaming:before{content:"󰡈"}.mdi-youtube-studio:before{content:"󰡇"}.mdi-youtube-subscription:before{content:"󰵀"}.mdi-youtube-tv:before{content:"󰑈"}.mdi-yurt:before{content:"󱔖"}.mdi-z-wave:before{content:"󰫪"}.mdi-zend:before{content:"󰫫"}.mdi-zigbee:before{content:"󰵁"}.mdi-zip-box:before{content:"󰗄"}.mdi-zip-box-outline:before{content:"󰿺"}.mdi-zip-disk:before{content:"󰨣"}.mdi-zodiac-aquarius:before{content:"󰩽"}.mdi-zodiac-aries:before{content:"󰩾"}.mdi-zodiac-cancer:before{content:"󰩿"}.mdi-zodiac-capricorn:before{content:"󰪀"}.mdi-zodiac-gemini:before{content:"󰪁"}.mdi-zodiac-leo:before{content:"󰪂"}.mdi-zodiac-libra:before{content:"󰪃"}.mdi-zodiac-pisces:before{content:"󰪄"}.mdi-zodiac-sagittarius:before{content:"󰪅"}.mdi-zodiac-scorpio:before{content:"󰪆"}.mdi-zodiac-taurus:before{content:"󰪇"}.mdi-zodiac-virgo:before{content:"󰪈"}.mdi-blank:before{content:"";visibility:hidden}.mdi-18px.mdi-set,.mdi-18px.mdi:before{font-size:18px}.mdi-24px.mdi-set,.mdi-24px.mdi:before{font-size:24px}.mdi-36px.mdi-set,.mdi-36px.mdi:before{font-size:36px}.mdi-48px.mdi-set,.mdi-48px.mdi:before{font-size:48px}.mdi-dark:before{color:#0000008a}.mdi-dark.mdi-inactive:before{color:#00000042}.mdi-light:before{color:#fff}.mdi-light.mdi-inactive:before{color:#ffffff4d}.mdi-rotate-45:before{-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.mdi-rotate-90:before{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.mdi-rotate-135:before{-webkit-transform:rotate(135deg);-ms-transform:rotate(135deg);transform:rotate(135deg)}.mdi-rotate-180:before{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.mdi-rotate-225:before{-webkit-transform:rotate(225deg);-ms-transform:rotate(225deg);transform:rotate(225deg)}.mdi-rotate-270:before{-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.mdi-rotate-315:before{-webkit-transform:rotate(315deg);-ms-transform:rotate(315deg);transform:rotate(315deg)}.mdi-flip-h:before{-webkit-transform:scaleX(-1);transform:scaleX(-1);filter:FlipH;-ms-filter:"FlipH"}.mdi-flip-v:before{-webkit-transform:scaleY(-1);transform:scaleY(-1);filter:FlipV;-ms-filter:"FlipV"}.mdi-spin:before{-webkit-animation:mdi-spin 2s infinite linear;animation:mdi-spin 2s infinite linear}@-webkit-keyframes mdi-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes mdi-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes v-shake{59%{margin-left:0}60%,80%{margin-left:2px}70%,90%{margin-left:-2px}}.bg-black{background-color:#000!important;color:#fff!important}.bg-white{background-color:#fff!important;color:#000!important}.bg-transparent{background-color:transparent!important;color:currentColor!important}.bg-red{background-color:#f44336!important;color:#fff!important}.bg-red-lighten-5{background-color:#ffebee!important;color:#000!important}.bg-red-lighten-4{background-color:#ffcdd2!important;color:#000!important}.bg-red-lighten-3{background-color:#ef9a9a!important;color:#000!important}.bg-red-lighten-2{background-color:#e57373!important;color:#fff!important}.bg-red-lighten-1{background-color:#ef5350!important;color:#fff!important}.bg-red-darken-1{background-color:#e53935!important;color:#fff!important}.bg-red-darken-2{background-color:#d32f2f!important;color:#fff!important}.bg-red-darken-3{background-color:#c62828!important;color:#fff!important}.bg-red-darken-4{background-color:#b71c1c!important;color:#fff!important}.bg-red-accent-1{background-color:#ff8a80!important;color:#000!important}.bg-red-accent-2{background-color:#ff5252!important;color:#fff!important}.bg-red-accent-3{background-color:#ff1744!important;color:#fff!important}.bg-red-accent-4{background-color:#d50000!important;color:#fff!important}.bg-pink{background-color:#e91e63!important;color:#fff!important}.bg-pink-lighten-5{background-color:#fce4ec!important;color:#000!important}.bg-pink-lighten-4{background-color:#f8bbd0!important;color:#000!important}.bg-pink-lighten-3{background-color:#f48fb1!important;color:#000!important}.bg-pink-lighten-2{background-color:#f06292!important;color:#fff!important}.bg-pink-lighten-1{background-color:#ec407a!important;color:#fff!important}.bg-pink-darken-1{background-color:#d81b60!important;color:#fff!important}.bg-pink-darken-2{background-color:#c2185b!important;color:#fff!important}.bg-pink-darken-3{background-color:#ad1457!important;color:#fff!important}.bg-pink-darken-4{background-color:#880e4f!important;color:#fff!important}.bg-pink-accent-1{background-color:#ff80ab!important;color:#fff!important}.bg-pink-accent-2{background-color:#ff4081!important;color:#fff!important}.bg-pink-accent-3{background-color:#f50057!important;color:#fff!important}.bg-pink-accent-4{background-color:#c51162!important;color:#fff!important}.bg-purple{background-color:#9c27b0!important;color:#fff!important}.bg-purple-lighten-5{background-color:#f3e5f5!important;color:#000!important}.bg-purple-lighten-4{background-color:#e1bee7!important;color:#000!important}.bg-purple-lighten-3{background-color:#ce93d8!important;color:#fff!important}.bg-purple-lighten-2{background-color:#ba68c8!important;color:#fff!important}.bg-purple-lighten-1{background-color:#ab47bc!important;color:#fff!important}.bg-purple-darken-1{background-color:#8e24aa!important;color:#fff!important}.bg-purple-darken-2{background-color:#7b1fa2!important;color:#fff!important}.bg-purple-darken-3{background-color:#6a1b9a!important;color:#fff!important}.bg-purple-darken-4{background-color:#4a148c!important;color:#fff!important}.bg-purple-accent-1{background-color:#ea80fc!important;color:#fff!important}.bg-purple-accent-2{background-color:#e040fb!important;color:#fff!important}.bg-purple-accent-3{background-color:#d500f9!important;color:#fff!important}.bg-purple-accent-4{background-color:#a0f!important;color:#fff!important}.bg-deep-purple{background-color:#673ab7!important;color:#fff!important}.bg-deep-purple-lighten-5{background-color:#ede7f6!important;color:#000!important}.bg-deep-purple-lighten-4{background-color:#d1c4e9!important;color:#000!important}.bg-deep-purple-lighten-3{background-color:#b39ddb!important;color:#fff!important}.bg-deep-purple-lighten-2{background-color:#9575cd!important;color:#fff!important}.bg-deep-purple-lighten-1{background-color:#7e57c2!important;color:#fff!important}.bg-deep-purple-darken-1{background-color:#5e35b1!important;color:#fff!important}.bg-deep-purple-darken-2{background-color:#512da8!important;color:#fff!important}.bg-deep-purple-darken-3{background-color:#4527a0!important;color:#fff!important}.bg-deep-purple-darken-4{background-color:#311b92!important;color:#fff!important}.bg-deep-purple-accent-1{background-color:#b388ff!important;color:#fff!important}.bg-deep-purple-accent-2{background-color:#7c4dff!important;color:#fff!important}.bg-deep-purple-accent-3{background-color:#651fff!important;color:#fff!important}.bg-deep-purple-accent-4{background-color:#6200ea!important;color:#fff!important}.bg-indigo{background-color:#3f51b5!important;color:#fff!important}.bg-indigo-lighten-5{background-color:#e8eaf6!important;color:#000!important}.bg-indigo-lighten-4{background-color:#c5cae9!important;color:#000!important}.bg-indigo-lighten-3{background-color:#9fa8da!important;color:#fff!important}.bg-indigo-lighten-2{background-color:#7986cb!important;color:#fff!important}.bg-indigo-lighten-1{background-color:#5c6bc0!important;color:#fff!important}.bg-indigo-darken-1{background-color:#3949ab!important;color:#fff!important}.bg-indigo-darken-2{background-color:#303f9f!important;color:#fff!important}.bg-indigo-darken-3{background-color:#283593!important;color:#fff!important}.bg-indigo-darken-4{background-color:#1a237e!important;color:#fff!important}.bg-indigo-accent-1{background-color:#8c9eff!important;color:#fff!important}.bg-indigo-accent-2{background-color:#536dfe!important;color:#fff!important}.bg-indigo-accent-3{background-color:#3d5afe!important;color:#fff!important}.bg-indigo-accent-4{background-color:#304ffe!important;color:#fff!important}.bg-blue{background-color:#2196f3!important;color:#fff!important}.bg-blue-lighten-5{background-color:#e3f2fd!important;color:#000!important}.bg-blue-lighten-4{background-color:#bbdefb!important;color:#000!important}.bg-blue-lighten-3{background-color:#90caf9!important;color:#000!important}.bg-blue-lighten-2{background-color:#64b5f6!important;color:#000!important}.bg-blue-lighten-1{background-color:#42a5f5!important;color:#fff!important}.bg-blue-darken-1{background-color:#1e88e5!important;color:#fff!important}.bg-blue-darken-2{background-color:#1976d2!important;color:#fff!important}.bg-blue-darken-3{background-color:#1565c0!important;color:#fff!important}.bg-blue-darken-4{background-color:#0d47a1!important;color:#fff!important}.bg-blue-accent-1{background-color:#82b1ff!important;color:#000!important}.bg-blue-accent-2{background-color:#448aff!important;color:#fff!important}.bg-blue-accent-3{background-color:#2979ff!important;color:#fff!important}.bg-blue-accent-4{background-color:#2962ff!important;color:#fff!important}.bg-light-blue{background-color:#03a9f4!important;color:#fff!important}.bg-light-blue-lighten-5{background-color:#e1f5fe!important;color:#000!important}.bg-light-blue-lighten-4{background-color:#b3e5fc!important;color:#000!important}.bg-light-blue-lighten-3{background-color:#81d4fa!important;color:#000!important}.bg-light-blue-lighten-2{background-color:#4fc3f7!important;color:#000!important}.bg-light-blue-lighten-1{background-color:#29b6f6!important;color:#000!important}.bg-light-blue-darken-1{background-color:#039be5!important;color:#fff!important}.bg-light-blue-darken-2{background-color:#0288d1!important;color:#fff!important}.bg-light-blue-darken-3{background-color:#0277bd!important;color:#fff!important}.bg-light-blue-darken-4{background-color:#01579b!important;color:#fff!important}.bg-light-blue-accent-1{background-color:#80d8ff!important;color:#000!important}.bg-light-blue-accent-2{background-color:#40c4ff!important;color:#000!important}.bg-light-blue-accent-3{background-color:#00b0ff!important;color:#fff!important}.bg-light-blue-accent-4{background-color:#0091ea!important;color:#fff!important}.bg-cyan{background-color:#00bcd4!important;color:#000!important}.bg-cyan-lighten-5{background-color:#e0f7fa!important;color:#000!important}.bg-cyan-lighten-4{background-color:#b2ebf2!important;color:#000!important}.bg-cyan-lighten-3{background-color:#80deea!important;color:#000!important}.bg-cyan-lighten-2{background-color:#4dd0e1!important;color:#000!important}.bg-cyan-lighten-1{background-color:#26c6da!important;color:#000!important}.bg-cyan-darken-1{background-color:#00acc1!important;color:#fff!important}.bg-cyan-darken-2{background-color:#0097a7!important;color:#fff!important}.bg-cyan-darken-3{background-color:#00838f!important;color:#fff!important}.bg-cyan-darken-4{background-color:#006064!important;color:#fff!important}.bg-cyan-accent-1{background-color:#84ffff!important;color:#000!important}.bg-cyan-accent-2{background-color:#18ffff!important;color:#000!important}.bg-cyan-accent-3{background-color:#00e5ff!important;color:#000!important}.bg-cyan-accent-4{background-color:#00b8d4!important;color:#fff!important}.bg-teal{background-color:#009688!important;color:#fff!important}.bg-teal-lighten-5{background-color:#e0f2f1!important;color:#000!important}.bg-teal-lighten-4{background-color:#b2dfdb!important;color:#000!important}.bg-teal-lighten-3{background-color:#80cbc4!important;color:#000!important}.bg-teal-lighten-2{background-color:#4db6ac!important;color:#fff!important}.bg-teal-lighten-1{background-color:#26a69a!important;color:#fff!important}.bg-teal-darken-1{background-color:#00897b!important;color:#fff!important}.bg-teal-darken-2{background-color:#00796b!important;color:#fff!important}.bg-teal-darken-3{background-color:#00695c!important;color:#fff!important}.bg-teal-darken-4{background-color:#004d40!important;color:#fff!important}.bg-teal-accent-1{background-color:#a7ffeb!important;color:#000!important}.bg-teal-accent-2{background-color:#64ffda!important;color:#000!important}.bg-teal-accent-3{background-color:#1de9b6!important;color:#000!important}.bg-teal-accent-4{background-color:#00bfa5!important;color:#fff!important}.bg-green{background-color:#4caf50!important;color:#fff!important}.bg-green-lighten-5{background-color:#e8f5e9!important;color:#000!important}.bg-green-lighten-4{background-color:#c8e6c9!important;color:#000!important}.bg-green-lighten-3{background-color:#a5d6a7!important;color:#000!important}.bg-green-lighten-2{background-color:#81c784!important;color:#000!important}.bg-green-lighten-1{background-color:#66bb6a!important;color:#fff!important}.bg-green-darken-1{background-color:#43a047!important;color:#fff!important}.bg-green-darken-2{background-color:#388e3c!important;color:#fff!important}.bg-green-darken-3{background-color:#2e7d32!important;color:#fff!important}.bg-green-darken-4{background-color:#1b5e20!important;color:#fff!important}.bg-green-accent-1{background-color:#b9f6ca!important;color:#000!important}.bg-green-accent-2{background-color:#69f0ae!important;color:#000!important}.bg-green-accent-3{background-color:#00e676!important;color:#000!important}.bg-green-accent-4{background-color:#00c853!important;color:#000!important}.bg-light-green{background-color:#8bc34a!important;color:#000!important}.bg-light-green-lighten-5{background-color:#f1f8e9!important;color:#000!important}.bg-light-green-lighten-4{background-color:#dcedc8!important;color:#000!important}.bg-light-green-lighten-3{background-color:#c5e1a5!important;color:#000!important}.bg-light-green-lighten-2{background-color:#aed581!important;color:#000!important}.bg-light-green-lighten-1{background-color:#9ccc65!important;color:#000!important}.bg-light-green-darken-1{background-color:#7cb342!important;color:#fff!important}.bg-light-green-darken-2{background-color:#689f38!important;color:#fff!important}.bg-light-green-darken-3{background-color:#558b2f!important;color:#fff!important}.bg-light-green-darken-4{background-color:#33691e!important;color:#fff!important}.bg-light-green-accent-1{background-color:#ccff90!important;color:#000!important}.bg-light-green-accent-2{background-color:#b2ff59!important;color:#000!important}.bg-light-green-accent-3{background-color:#76ff03!important;color:#000!important}.bg-light-green-accent-4{background-color:#64dd17!important;color:#000!important}.bg-lime{background-color:#cddc39!important;color:#000!important}.bg-lime-lighten-5{background-color:#f9fbe7!important;color:#000!important}.bg-lime-lighten-4{background-color:#f0f4c3!important;color:#000!important}.bg-lime-lighten-3{background-color:#e6ee9c!important;color:#000!important}.bg-lime-lighten-2{background-color:#dce775!important;color:#000!important}.bg-lime-lighten-1{background-color:#d4e157!important;color:#000!important}.bg-lime-darken-1{background-color:#c0ca33!important;color:#000!important}.bg-lime-darken-2{background-color:#afb42b!important;color:#000!important}.bg-lime-darken-3{background-color:#9e9d24!important;color:#fff!important}.bg-lime-darken-4{background-color:#827717!important;color:#fff!important}.bg-lime-accent-1{background-color:#f4ff81!important;color:#000!important}.bg-lime-accent-2{background-color:#eeff41!important;color:#000!important}.bg-lime-accent-3{background-color:#c6ff00!important;color:#000!important}.bg-lime-accent-4{background-color:#aeea00!important;color:#000!important}.bg-yellow{background-color:#ffeb3b!important;color:#000!important}.bg-yellow-lighten-5{background-color:#fffde7!important;color:#000!important}.bg-yellow-lighten-4{background-color:#fff9c4!important;color:#000!important}.bg-yellow-lighten-3{background-color:#fff59d!important;color:#000!important}.bg-yellow-lighten-2{background-color:#fff176!important;color:#000!important}.bg-yellow-lighten-1{background-color:#ffee58!important;color:#000!important}.bg-yellow-darken-1{background-color:#fdd835!important;color:#000!important}.bg-yellow-darken-2{background-color:#fbc02d!important;color:#000!important}.bg-yellow-darken-3{background-color:#f9a825!important;color:#000!important}.bg-yellow-darken-4{background-color:#f57f17!important;color:#fff!important}.bg-yellow-accent-1{background-color:#ffff8d!important;color:#000!important}.bg-yellow-accent-2{background-color:#ff0!important;color:#000!important}.bg-yellow-accent-3{background-color:#ffea00!important;color:#000!important}.bg-yellow-accent-4{background-color:#ffd600!important;color:#000!important}.bg-amber{background-color:#ffc107!important;color:#000!important}.bg-amber-lighten-5{background-color:#fff8e1!important;color:#000!important}.bg-amber-lighten-4{background-color:#ffecb3!important;color:#000!important}.bg-amber-lighten-3{background-color:#ffe082!important;color:#000!important}.bg-amber-lighten-2{background-color:#ffd54f!important;color:#000!important}.bg-amber-lighten-1{background-color:#ffca28!important;color:#000!important}.bg-amber-darken-1{background-color:#ffb300!important;color:#000!important}.bg-amber-darken-2{background-color:#ffa000!important;color:#000!important}.bg-amber-darken-3{background-color:#ff8f00!important;color:#000!important}.bg-amber-darken-4{background-color:#ff6f00!important;color:#fff!important}.bg-amber-accent-1{background-color:#ffe57f!important;color:#000!important}.bg-amber-accent-2{background-color:#ffd740!important;color:#000!important}.bg-amber-accent-3{background-color:#ffc400!important;color:#000!important}.bg-amber-accent-4{background-color:#ffab00!important;color:#000!important}.bg-orange{background-color:#ff9800!important;color:#000!important}.bg-orange-lighten-5{background-color:#fff3e0!important;color:#000!important}.bg-orange-lighten-4{background-color:#ffe0b2!important;color:#000!important}.bg-orange-lighten-3{background-color:#ffcc80!important;color:#000!important}.bg-orange-lighten-2{background-color:#ffb74d!important;color:#000!important}.bg-orange-lighten-1{background-color:#ffa726!important;color:#000!important}.bg-orange-darken-1{background-color:#fb8c00!important;color:#fff!important}.bg-orange-darken-2{background-color:#f57c00!important;color:#fff!important}.bg-orange-darken-3{background-color:#ef6c00!important;color:#fff!important}.bg-orange-darken-4{background-color:#e65100!important;color:#fff!important}.bg-orange-accent-1{background-color:#ffd180!important;color:#000!important}.bg-orange-accent-2{background-color:#ffab40!important;color:#000!important}.bg-orange-accent-3{background-color:#ff9100!important;color:#000!important}.bg-orange-accent-4{background-color:#ff6d00!important;color:#fff!important}.bg-deep-orange{background-color:#ff5722!important;color:#fff!important}.bg-deep-orange-lighten-5{background-color:#fbe9e7!important;color:#000!important}.bg-deep-orange-lighten-4{background-color:#ffccbc!important;color:#000!important}.bg-deep-orange-lighten-3{background-color:#ffab91!important;color:#000!important}.bg-deep-orange-lighten-2{background-color:#ff8a65!important;color:#000!important}.bg-deep-orange-lighten-1{background-color:#ff7043!important;color:#fff!important}.bg-deep-orange-darken-1{background-color:#f4511e!important;color:#fff!important}.bg-deep-orange-darken-2{background-color:#e64a19!important;color:#fff!important}.bg-deep-orange-darken-3{background-color:#d84315!important;color:#fff!important}.bg-deep-orange-darken-4{background-color:#bf360c!important;color:#fff!important}.bg-deep-orange-accent-1{background-color:#ff9e80!important;color:#000!important}.bg-deep-orange-accent-2{background-color:#ff6e40!important;color:#fff!important}.bg-deep-orange-accent-3{background-color:#ff3d00!important;color:#fff!important}.bg-deep-orange-accent-4{background-color:#dd2c00!important;color:#fff!important}.bg-brown{background-color:#795548!important;color:#fff!important}.bg-brown-lighten-5{background-color:#efebe9!important;color:#000!important}.bg-brown-lighten-4{background-color:#d7ccc8!important;color:#000!important}.bg-brown-lighten-3{background-color:#bcaaa4!important;color:#000!important}.bg-brown-lighten-2{background-color:#a1887f!important;color:#fff!important}.bg-brown-lighten-1{background-color:#8d6e63!important;color:#fff!important}.bg-brown-darken-1{background-color:#6d4c41!important;color:#fff!important}.bg-brown-darken-2{background-color:#5d4037!important;color:#fff!important}.bg-brown-darken-3{background-color:#4e342e!important;color:#fff!important}.bg-brown-darken-4{background-color:#3e2723!important;color:#fff!important}.bg-blue-grey{background-color:#607d8b!important;color:#fff!important}.bg-blue-grey-lighten-5{background-color:#eceff1!important;color:#000!important}.bg-blue-grey-lighten-4{background-color:#cfd8dc!important;color:#000!important}.bg-blue-grey-lighten-3{background-color:#b0bec5!important;color:#000!important}.bg-blue-grey-lighten-2{background-color:#90a4ae!important;color:#fff!important}.bg-blue-grey-lighten-1{background-color:#78909c!important;color:#fff!important}.bg-blue-grey-darken-1{background-color:#546e7a!important;color:#fff!important}.bg-blue-grey-darken-2{background-color:#455a64!important;color:#fff!important}.bg-blue-grey-darken-3{background-color:#37474f!important;color:#fff!important}.bg-blue-grey-darken-4{background-color:#263238!important;color:#fff!important}.bg-grey{background-color:#9e9e9e!important;color:#fff!important}.bg-grey-lighten-5{background-color:#fafafa!important;color:#000!important}.bg-grey-lighten-4{background-color:#f5f5f5!important;color:#000!important}.bg-grey-lighten-3{background-color:#eee!important;color:#000!important}.bg-grey-lighten-2{background-color:#e0e0e0!important;color:#000!important}.bg-grey-lighten-1{background-color:#bdbdbd!important;color:#000!important}.bg-grey-darken-1{background-color:#757575!important;color:#fff!important}.bg-grey-darken-2{background-color:#616161!important;color:#fff!important}.bg-grey-darken-3{background-color:#424242!important;color:#fff!important}.bg-grey-darken-4{background-color:#212121!important;color:#fff!important}.bg-shades-black{background-color:#000!important;color:#fff!important}.bg-shades-white{background-color:#fff!important;color:#000!important}.bg-shades-transparent{background-color:transparent!important;color:currentColor!important}.text-black{color:#000!important}.text-white{color:#fff!important}.text-transparent{color:transparent!important}.text-red{color:#f44336!important}.text-red-lighten-5{color:#ffebee!important}.text-red-lighten-4{color:#ffcdd2!important}.text-red-lighten-3{color:#ef9a9a!important}.text-red-lighten-2{color:#e57373!important}.text-red-lighten-1{color:#ef5350!important}.text-red-darken-1{color:#e53935!important}.text-red-darken-2{color:#d32f2f!important}.text-red-darken-3{color:#c62828!important}.text-red-darken-4{color:#b71c1c!important}.text-red-accent-1{color:#ff8a80!important}.text-red-accent-2{color:#ff5252!important}.text-red-accent-3{color:#ff1744!important}.text-red-accent-4{color:#d50000!important}.text-pink{color:#e91e63!important}.text-pink-lighten-5{color:#fce4ec!important}.text-pink-lighten-4{color:#f8bbd0!important}.text-pink-lighten-3{color:#f48fb1!important}.text-pink-lighten-2{color:#f06292!important}.text-pink-lighten-1{color:#ec407a!important}.text-pink-darken-1{color:#d81b60!important}.text-pink-darken-2{color:#c2185b!important}.text-pink-darken-3{color:#ad1457!important}.text-pink-darken-4{color:#880e4f!important}.text-pink-accent-1{color:#ff80ab!important}.text-pink-accent-2{color:#ff4081!important}.text-pink-accent-3{color:#f50057!important}.text-pink-accent-4{color:#c51162!important}.text-purple{color:#9c27b0!important}.text-purple-lighten-5{color:#f3e5f5!important}.text-purple-lighten-4{color:#e1bee7!important}.text-purple-lighten-3{color:#ce93d8!important}.text-purple-lighten-2{color:#ba68c8!important}.text-purple-lighten-1{color:#ab47bc!important}.text-purple-darken-1{color:#8e24aa!important}.text-purple-darken-2{color:#7b1fa2!important}.text-purple-darken-3{color:#6a1b9a!important}.text-purple-darken-4{color:#4a148c!important}.text-purple-accent-1{color:#ea80fc!important}.text-purple-accent-2{color:#e040fb!important}.text-purple-accent-3{color:#d500f9!important}.text-purple-accent-4{color:#a0f!important}.text-deep-purple{color:#673ab7!important}.text-deep-purple-lighten-5{color:#ede7f6!important}.text-deep-purple-lighten-4{color:#d1c4e9!important}.text-deep-purple-lighten-3{color:#b39ddb!important}.text-deep-purple-lighten-2{color:#9575cd!important}.text-deep-purple-lighten-1{color:#7e57c2!important}.text-deep-purple-darken-1{color:#5e35b1!important}.text-deep-purple-darken-2{color:#512da8!important}.text-deep-purple-darken-3{color:#4527a0!important}.text-deep-purple-darken-4{color:#311b92!important}.text-deep-purple-accent-1{color:#b388ff!important}.text-deep-purple-accent-2{color:#7c4dff!important}.text-deep-purple-accent-3{color:#651fff!important}.text-deep-purple-accent-4{color:#6200ea!important}.text-indigo{color:#3f51b5!important}.text-indigo-lighten-5{color:#e8eaf6!important}.text-indigo-lighten-4{color:#c5cae9!important}.text-indigo-lighten-3{color:#9fa8da!important}.text-indigo-lighten-2{color:#7986cb!important}.text-indigo-lighten-1{color:#5c6bc0!important}.text-indigo-darken-1{color:#3949ab!important}.text-indigo-darken-2{color:#303f9f!important}.text-indigo-darken-3{color:#283593!important}.text-indigo-darken-4{color:#1a237e!important}.text-indigo-accent-1{color:#8c9eff!important}.text-indigo-accent-2{color:#536dfe!important}.text-indigo-accent-3{color:#3d5afe!important}.text-indigo-accent-4{color:#304ffe!important}.text-blue{color:#2196f3!important}.text-blue-lighten-5{color:#e3f2fd!important}.text-blue-lighten-4{color:#bbdefb!important}.text-blue-lighten-3{color:#90caf9!important}.text-blue-lighten-2{color:#64b5f6!important}.text-blue-lighten-1{color:#42a5f5!important}.text-blue-darken-1{color:#1e88e5!important}.text-blue-darken-2{color:#1976d2!important}.text-blue-darken-3{color:#1565c0!important}.text-blue-darken-4{color:#0d47a1!important}.text-blue-accent-1{color:#82b1ff!important}.text-blue-accent-2{color:#448aff!important}.text-blue-accent-3{color:#2979ff!important}.text-blue-accent-4{color:#2962ff!important}.text-light-blue{color:#03a9f4!important}.text-light-blue-lighten-5{color:#e1f5fe!important}.text-light-blue-lighten-4{color:#b3e5fc!important}.text-light-blue-lighten-3{color:#81d4fa!important}.text-light-blue-lighten-2{color:#4fc3f7!important}.text-light-blue-lighten-1{color:#29b6f6!important}.text-light-blue-darken-1{color:#039be5!important}.text-light-blue-darken-2{color:#0288d1!important}.text-light-blue-darken-3{color:#0277bd!important}.text-light-blue-darken-4{color:#01579b!important}.text-light-blue-accent-1{color:#80d8ff!important}.text-light-blue-accent-2{color:#40c4ff!important}.text-light-blue-accent-3{color:#00b0ff!important}.text-light-blue-accent-4{color:#0091ea!important}.text-cyan{color:#00bcd4!important}.text-cyan-lighten-5{color:#e0f7fa!important}.text-cyan-lighten-4{color:#b2ebf2!important}.text-cyan-lighten-3{color:#80deea!important}.text-cyan-lighten-2{color:#4dd0e1!important}.text-cyan-lighten-1{color:#26c6da!important}.text-cyan-darken-1{color:#00acc1!important}.text-cyan-darken-2{color:#0097a7!important}.text-cyan-darken-3{color:#00838f!important}.text-cyan-darken-4{color:#006064!important}.text-cyan-accent-1{color:#84ffff!important}.text-cyan-accent-2{color:#18ffff!important}.text-cyan-accent-3{color:#00e5ff!important}.text-cyan-accent-4{color:#00b8d4!important}.text-teal{color:#009688!important}.text-teal-lighten-5{color:#e0f2f1!important}.text-teal-lighten-4{color:#b2dfdb!important}.text-teal-lighten-3{color:#80cbc4!important}.text-teal-lighten-2{color:#4db6ac!important}.text-teal-lighten-1{color:#26a69a!important}.text-teal-darken-1{color:#00897b!important}.text-teal-darken-2{color:#00796b!important}.text-teal-darken-3{color:#00695c!important}.text-teal-darken-4{color:#004d40!important}.text-teal-accent-1{color:#a7ffeb!important}.text-teal-accent-2{color:#64ffda!important}.text-teal-accent-3{color:#1de9b6!important}.text-teal-accent-4{color:#00bfa5!important}.text-green{color:#4caf50!important}.text-green-lighten-5{color:#e8f5e9!important}.text-green-lighten-4{color:#c8e6c9!important}.text-green-lighten-3{color:#a5d6a7!important}.text-green-lighten-2{color:#81c784!important}.text-green-lighten-1{color:#66bb6a!important}.text-green-darken-1{color:#43a047!important}.text-green-darken-2{color:#388e3c!important}.text-green-darken-3{color:#2e7d32!important}.text-green-darken-4{color:#1b5e20!important}.text-green-accent-1{color:#b9f6ca!important}.text-green-accent-2{color:#69f0ae!important}.text-green-accent-3{color:#00e676!important}.text-green-accent-4{color:#00c853!important}.text-light-green{color:#8bc34a!important}.text-light-green-lighten-5{color:#f1f8e9!important}.text-light-green-lighten-4{color:#dcedc8!important}.text-light-green-lighten-3{color:#c5e1a5!important}.text-light-green-lighten-2{color:#aed581!important}.text-light-green-lighten-1{color:#9ccc65!important}.text-light-green-darken-1{color:#7cb342!important}.text-light-green-darken-2{color:#689f38!important}.text-light-green-darken-3{color:#558b2f!important}.text-light-green-darken-4{color:#33691e!important}.text-light-green-accent-1{color:#ccff90!important}.text-light-green-accent-2{color:#b2ff59!important}.text-light-green-accent-3{color:#76ff03!important}.text-light-green-accent-4{color:#64dd17!important}.text-lime{color:#cddc39!important}.text-lime-lighten-5{color:#f9fbe7!important}.text-lime-lighten-4{color:#f0f4c3!important}.text-lime-lighten-3{color:#e6ee9c!important}.text-lime-lighten-2{color:#dce775!important}.text-lime-lighten-1{color:#d4e157!important}.text-lime-darken-1{color:#c0ca33!important}.text-lime-darken-2{color:#afb42b!important}.text-lime-darken-3{color:#9e9d24!important}.text-lime-darken-4{color:#827717!important}.text-lime-accent-1{color:#f4ff81!important}.text-lime-accent-2{color:#eeff41!important}.text-lime-accent-3{color:#c6ff00!important}.text-lime-accent-4{color:#aeea00!important}.text-yellow{color:#ffeb3b!important}.text-yellow-lighten-5{color:#fffde7!important}.text-yellow-lighten-4{color:#fff9c4!important}.text-yellow-lighten-3{color:#fff59d!important}.text-yellow-lighten-2{color:#fff176!important}.text-yellow-lighten-1{color:#ffee58!important}.text-yellow-darken-1{color:#fdd835!important}.text-yellow-darken-2{color:#fbc02d!important}.text-yellow-darken-3{color:#f9a825!important}.text-yellow-darken-4{color:#f57f17!important}.text-yellow-accent-1{color:#ffff8d!important}.text-yellow-accent-2{color:#ff0!important}.text-yellow-accent-3{color:#ffea00!important}.text-yellow-accent-4{color:#ffd600!important}.text-amber{color:#ffc107!important}.text-amber-lighten-5{color:#fff8e1!important}.text-amber-lighten-4{color:#ffecb3!important}.text-amber-lighten-3{color:#ffe082!important}.text-amber-lighten-2{color:#ffd54f!important}.text-amber-lighten-1{color:#ffca28!important}.text-amber-darken-1{color:#ffb300!important}.text-amber-darken-2{color:#ffa000!important}.text-amber-darken-3{color:#ff8f00!important}.text-amber-darken-4{color:#ff6f00!important}.text-amber-accent-1{color:#ffe57f!important}.text-amber-accent-2{color:#ffd740!important}.text-amber-accent-3{color:#ffc400!important}.text-amber-accent-4{color:#ffab00!important}.text-orange{color:#ff9800!important}.text-orange-lighten-5{color:#fff3e0!important}.text-orange-lighten-4{color:#ffe0b2!important}.text-orange-lighten-3{color:#ffcc80!important}.text-orange-lighten-2{color:#ffb74d!important}.text-orange-lighten-1{color:#ffa726!important}.text-orange-darken-1{color:#fb8c00!important}.text-orange-darken-2{color:#f57c00!important}.text-orange-darken-3{color:#ef6c00!important}.text-orange-darken-4{color:#e65100!important}.text-orange-accent-1{color:#ffd180!important}.text-orange-accent-2{color:#ffab40!important}.text-orange-accent-3{color:#ff9100!important}.text-orange-accent-4{color:#ff6d00!important}.text-deep-orange{color:#ff5722!important}.text-deep-orange-lighten-5{color:#fbe9e7!important}.text-deep-orange-lighten-4{color:#ffccbc!important}.text-deep-orange-lighten-3{color:#ffab91!important}.text-deep-orange-lighten-2{color:#ff8a65!important}.text-deep-orange-lighten-1{color:#ff7043!important}.text-deep-orange-darken-1{color:#f4511e!important}.text-deep-orange-darken-2{color:#e64a19!important}.text-deep-orange-darken-3{color:#d84315!important}.text-deep-orange-darken-4{color:#bf360c!important}.text-deep-orange-accent-1{color:#ff9e80!important}.text-deep-orange-accent-2{color:#ff6e40!important}.text-deep-orange-accent-3{color:#ff3d00!important}.text-deep-orange-accent-4{color:#dd2c00!important}.text-brown{color:#795548!important}.text-brown-lighten-5{color:#efebe9!important}.text-brown-lighten-4{color:#d7ccc8!important}.text-brown-lighten-3{color:#bcaaa4!important}.text-brown-lighten-2{color:#a1887f!important}.text-brown-lighten-1{color:#8d6e63!important}.text-brown-darken-1{color:#6d4c41!important}.text-brown-darken-2{color:#5d4037!important}.text-brown-darken-3{color:#4e342e!important}.text-brown-darken-4{color:#3e2723!important}.text-blue-grey{color:#607d8b!important}.text-blue-grey-lighten-5{color:#eceff1!important}.text-blue-grey-lighten-4{color:#cfd8dc!important}.text-blue-grey-lighten-3{color:#b0bec5!important}.text-blue-grey-lighten-2{color:#90a4ae!important}.text-blue-grey-lighten-1{color:#78909c!important}.text-blue-grey-darken-1{color:#546e7a!important}.text-blue-grey-darken-2{color:#455a64!important}.text-blue-grey-darken-3{color:#37474f!important}.text-blue-grey-darken-4{color:#263238!important}.text-grey{color:#9e9e9e!important}.text-grey-lighten-5{color:#fafafa!important}.text-grey-lighten-4{color:#f5f5f5!important}.text-grey-lighten-3{color:#eee!important}.text-grey-lighten-2{color:#e0e0e0!important}.text-grey-lighten-1{color:#bdbdbd!important}.text-grey-darken-1{color:#757575!important}.text-grey-darken-2{color:#616161!important}.text-grey-darken-3{color:#424242!important}.text-grey-darken-4{color:#212121!important}.text-shades-black{color:#000!important}.text-shades-white{color:#fff!important}.text-shades-transparent{color:transparent!important}/*! * ress.css • v2.0.4 * MIT License * github.com/filipelinhares/ress diff --git a/js-component/dist/index.html b/js-component/dist/index.html index ba885755..db83a12c 100644 --- a/js-component/dist/index.html +++ b/js-component/dist/index.html @@ -5,8 +5,8 @@ openms-streamlit-vue-component - - + +
diff --git a/openms-streamlit-vue-component b/openms-streamlit-vue-component index 1d46a276..9245874f 160000 --- a/openms-streamlit-vue-component +++ b/openms-streamlit-vue-component @@ -1 +1 @@ -Subproject commit 1d46a276800d1b3d01c5515d059215253dee44bb +Subproject commit 9245874feed9f2044b09a6023202adde20619eab From 1d373af61180ef40dfee24d4741fbc1a8afb93cf Mon Sep 17 00:00:00 2001 From: Tom David Mueller Date: Sun, 17 Aug 2025 08:04:07 +0200 Subject: [PATCH 20/21] update vue --- .../{index-1a66aa50.js => index-5ed08cb5.js} | 354 +++++++++++++----- ...{index-36755211.css => index-955eea1e.css} | 2 +- js-component/dist/index.html | 4 +- openms-streamlit-vue-component | 2 +- 4 files changed, 264 insertions(+), 98 deletions(-) rename js-component/dist/assets/{index-1a66aa50.js => index-5ed08cb5.js} (82%) rename js-component/dist/assets/{index-36755211.css => index-955eea1e.css} (56%) diff --git a/js-component/dist/assets/index-1a66aa50.js b/js-component/dist/assets/index-5ed08cb5.js similarity index 82% rename from js-component/dist/assets/index-1a66aa50.js rename to js-component/dist/assets/index-5ed08cb5.js index a45506b1..f68b53ed 100644 --- a/js-component/dist/assets/index-1a66aa50.js +++ b/js-component/dist/assets/index-5ed08cb5.js @@ -1,8 +1,8 @@ -(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const D of document.querySelectorAll('link[rel="modulepreload"]'))C(D);new MutationObserver(D=>{for(const T of D)if(T.type==="childList")for(const p of T.addedNodes)p.tagName==="LINK"&&p.rel==="modulepreload"&&C(p)}).observe(document,{childList:!0,subtree:!0});function r(D){const T={};return D.integrity&&(T.integrity=D.integrity),D.referrerPolicy&&(T.referrerPolicy=D.referrerPolicy),D.crossOrigin==="use-credentials"?T.credentials="include":D.crossOrigin==="anonymous"?T.credentials="omit":T.credentials="same-origin",T}function C(D){if(D.ep)return;D.ep=!0;const T=r(D);fetch(D.href,T)}})();function zx(n,e){const r=Object.create(null),C=n.split(",");for(let D=0;D!!r[D.toLowerCase()]:D=>!!r[D]}function zs(n){if(gi(n)){const e={};for(let r=0;r{if(r){const C=r.split(a8);C.length>1&&(e[C[0].trim()]=C[1].trim())}}),e}function Ju(n){let e="";if(Po(n))e=n;else if(gi(n))for(let r=0;rPo(n)?n:n==null?"":gi(n)||so(n)&&(n.toString===bT||!Fi(n.toString))?JSON.stringify(n,gT,2):String(n),gT=(n,e)=>e&&e.__v_isRef?gT(n,e.value):Np(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((r,[C,D])=>(r[`${C} =>`]=D,r),{})}:vT(e)?{[`Set(${e.size})`]:[...e.values()]}:so(e)&&!gi(e)&&!xT(e)?String(e):e,io={},Bp=[],Dc=()=>{},c8=()=>!1,h8=/^on[^a-z]/,my=n=>h8.test(n),Fx=n=>n.startsWith("onUpdate:"),Ms=Object.assign,Bx=(n,e)=>{const r=n.indexOf(e);r>-1&&n.splice(r,1)},f8=Object.prototype.hasOwnProperty,ga=(n,e)=>f8.call(n,e),gi=Array.isArray,Np=n=>gy(n)==="[object Map]",vT=n=>gy(n)==="[object Set]",Fi=n=>typeof n=="function",Po=n=>typeof n=="string",Nx=n=>typeof n=="symbol",so=n=>n!==null&&typeof n=="object",yT=n=>so(n)&&Fi(n.then)&&Fi(n.catch),bT=Object.prototype.toString,gy=n=>bT.call(n),d8=n=>gy(n).slice(8,-1),xT=n=>gy(n)==="[object Object]",Vx=n=>Po(n)&&n!=="NaN"&&n[0]!=="-"&&""+parseInt(n,10)===n,hv=zx(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),vy=n=>{const e=Object.create(null);return r=>e[r]||(e[r]=n(r))},p8=/-(\w)/g,tc=vy(n=>n.replace(p8,(e,r)=>r?r.toUpperCase():"")),m8=/\B([A-Z])/g,f0=vy(n=>n.replace(m8,"-$1").toLowerCase()),sf=vy(n=>n.charAt(0).toUpperCase()+n.slice(1)),Q1=vy(n=>n?`on${sf(n)}`:""),xm=(n,e)=>!Object.is(n,e),fv=(n,e)=>{for(let r=0;r{Object.defineProperty(n,e,{configurable:!0,enumerable:!1,value:r})},kb=n=>{const e=parseFloat(n);return isNaN(e)?n:e},g8=n=>{const e=Po(n)?Number(n):NaN;return isNaN(e)?n:e};let c3;const v8=()=>c3||(c3=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let du;class _T{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=du,!e&&du&&(this.index=(du.scopes||(du.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const r=du;try{return du=this,e()}finally{du=r}}}on(){du=this}off(){du=this.parent}stop(e){if(this._active){let r,C;for(r=0,C=this.effects.length;r{const e=new Set(n);return e.w=0,e.n=0,e},TT=n=>(n.w&jf)>0,kT=n=>(n.n&jf)>0,b8=({deps:n})=>{if(n.length)for(let e=0;e{const{deps:e}=n;if(e.length){let r=0;for(let C=0;C{(i==="length"||i>=d)&&t.push(g)})}else switch(r!==void 0&&t.push(p.get(r)),e){case"add":gi(n)?Vx(r)&&t.push(p.get("length")):(t.push(p.get(Fd)),Np(n)&&t.push(p.get(Ab)));break;case"delete":gi(n)||(t.push(p.get(Fd)),Np(n)&&t.push(p.get(Ab)));break;case"set":Np(n)&&t.push(p.get(Fd));break}if(t.length===1)t[0]&&Sb(t[0]);else{const d=[];for(const g of t)g&&d.push(...g);Sb(jx(d))}}function Sb(n,e){const r=gi(n)?n:[...n];for(const C of r)C.computed&&f3(C);for(const C of r)C.computed||f3(C)}function f3(n,e){(n!==Lc||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}function _8(n,e){var r;return(r=Sv.get(n))===null||r===void 0?void 0:r.get(e)}const w8=zx("__proto__,__v_isRef,__isVue"),ST=new Set(Object.getOwnPropertyNames(Symbol).filter(n=>n!=="arguments"&&n!=="caller").map(n=>Symbol[n]).filter(Nx)),T8=Hx(),k8=Hx(!1,!0),M8=Hx(!0),d3=A8();function A8(){const n={};return["includes","indexOf","lastIndexOf"].forEach(e=>{n[e]=function(...r){const C=wi(this);for(let T=0,p=this.length;T{n[e]=function(...r){d0();const C=wi(this)[e].apply(this,r);return p0(),C}}),n}function S8(n){const e=wi(this);return $l(e,"has",n),e.hasOwnProperty(n)}function Hx(n=!1,e=!1){return function(C,D,T){if(D==="__v_isReactive")return!n;if(D==="__v_isReadonly")return n;if(D==="__v_isShallow")return e;if(D==="__v_raw"&&T===(n?e?H8:RT:e?IT:LT).get(C))return C;const p=gi(C);if(!n){if(p&&ga(d3,D))return Reflect.get(d3,D,T);if(D==="hasOwnProperty")return S8}const t=Reflect.get(C,D,T);return(Nx(D)?ST.has(D):w8(D))||(n||$l(C,"get",D),e)?t:eo(t)?p&&Vx(D)?t:t.value:so(t)?n?Hm(t):yl(t):t}}const C8=CT(),E8=CT(!0);function CT(n=!1){return function(r,C,D,T){let p=r[C];if($p(p)&&eo(p)&&!eo(D))return!1;if(!n&&(!Cv(D)&&!$p(D)&&(p=wi(p),D=wi(D)),!gi(r)&&eo(p)&&!eo(D)))return p.value=D,!0;const t=gi(r)&&Vx(C)?Number(C)n,yy=n=>Reflect.getPrototypeOf(n);function Kg(n,e,r=!1,C=!1){n=n.__v_raw;const D=wi(n),T=wi(e);r||(e!==T&&$l(D,"get",e),$l(D,"get",T));const{has:p}=yy(D),t=C?Gx:r?Yx:_m;if(p.call(D,e))return t(n.get(e));if(p.call(D,T))return t(n.get(T));n!==D&&n.get(e)}function Jg(n,e=!1){const r=this.__v_raw,C=wi(r),D=wi(n);return e||(n!==D&&$l(C,"has",n),$l(C,"has",D)),n===D?r.has(n):r.has(n)||r.has(D)}function Qg(n,e=!1){return n=n.__v_raw,!e&&$l(wi(n),"iterate",Fd),Reflect.get(n,"size",n)}function p3(n){n=wi(n);const e=wi(this);return yy(e).has.call(e,n)||(e.add(n),ef(e,"add",n,n)),this}function m3(n,e){e=wi(e);const r=wi(this),{has:C,get:D}=yy(r);let T=C.call(r,n);T||(n=wi(n),T=C.call(r,n));const p=D.call(r,n);return r.set(n,e),T?xm(e,p)&&ef(r,"set",n,e):ef(r,"add",n,e),this}function g3(n){const e=wi(this),{has:r,get:C}=yy(e);let D=r.call(e,n);D||(n=wi(n),D=r.call(e,n)),C&&C.call(e,n);const T=e.delete(n);return D&&ef(e,"delete",n,void 0),T}function v3(){const n=wi(this),e=n.size!==0,r=n.clear();return e&&ef(n,"clear",void 0,void 0),r}function ev(n,e){return function(C,D){const T=this,p=T.__v_raw,t=wi(p),d=e?Gx:n?Yx:_m;return!n&&$l(t,"iterate",Fd),p.forEach((g,i)=>C.call(D,d(g),d(i),T))}}function tv(n,e,r){return function(...C){const D=this.__v_raw,T=wi(D),p=Np(T),t=n==="entries"||n===Symbol.iterator&&p,d=n==="keys"&&p,g=D[n](...C),i=r?Gx:e?Yx:_m;return!e&&$l(T,"iterate",d?Ab:Fd),{next(){const{value:M,done:v}=g.next();return v?{value:M,done:v}:{value:t?[i(M[0]),i(M[1])]:i(M),done:v}},[Symbol.iterator](){return this}}}}function Sf(n){return function(...e){return n==="delete"?!1:this}}function D8(){const n={get(T){return Kg(this,T)},get size(){return Qg(this)},has:Jg,add:p3,set:m3,delete:g3,clear:v3,forEach:ev(!1,!1)},e={get(T){return Kg(this,T,!1,!0)},get size(){return Qg(this)},has:Jg,add:p3,set:m3,delete:g3,clear:v3,forEach:ev(!1,!0)},r={get(T){return Kg(this,T,!0)},get size(){return Qg(this,!0)},has(T){return Jg.call(this,T,!0)},add:Sf("add"),set:Sf("set"),delete:Sf("delete"),clear:Sf("clear"),forEach:ev(!0,!1)},C={get(T){return Kg(this,T,!0,!0)},get size(){return Qg(this,!0)},has(T){return Jg.call(this,T,!0)},add:Sf("add"),set:Sf("set"),delete:Sf("delete"),clear:Sf("clear"),forEach:ev(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(T=>{n[T]=tv(T,!1,!1),r[T]=tv(T,!0,!1),e[T]=tv(T,!1,!0),C[T]=tv(T,!0,!0)}),[n,r,e,C]}const[z8,F8,B8,N8]=D8();function qx(n,e){const r=e?n?N8:B8:n?F8:z8;return(C,D,T)=>D==="__v_isReactive"?!n:D==="__v_isReadonly"?n:D==="__v_raw"?C:Reflect.get(ga(r,D)&&D in C?r:C,D,T)}const V8={get:qx(!1,!1)},j8={get:qx(!1,!0)},U8={get:qx(!0,!1)},LT=new WeakMap,IT=new WeakMap,RT=new WeakMap,H8=new WeakMap;function G8(n){switch(n){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function q8(n){return n.__v_skip||!Object.isExtensible(n)?0:G8(d8(n))}function yl(n){return $p(n)?n:Wx(n,!1,ET,V8,LT)}function W8(n){return Wx(n,!1,O8,j8,IT)}function Hm(n){return Wx(n,!0,P8,U8,RT)}function Wx(n,e,r,C,D){if(!so(n)||n.__v_raw&&!(e&&n.__v_isReactive))return n;const T=D.get(n);if(T)return T;const p=q8(n);if(p===0)return n;const t=new Proxy(n,p===2?C:r);return D.set(n,t),t}function Bf(n){return $p(n)?Bf(n.__v_raw):!!(n&&n.__v_isReactive)}function $p(n){return!!(n&&n.__v_isReadonly)}function Cv(n){return!!(n&&n.__v_isShallow)}function PT(n){return Bf(n)||$p(n)}function wi(n){const e=n&&n.__v_raw;return e?wi(e):n}function Zp(n){return Av(n,"__v_skip",!0),n}const _m=n=>so(n)?yl(n):n,Yx=n=>so(n)?Hm(n):n;function OT(n){Ff&&Lc&&(n=wi(n),AT(n.dep||(n.dep=jx())))}function DT(n,e){n=wi(n);const r=n.dep;r&&Sb(r)}function eo(n){return!!(n&&n.__v_isRef===!0)}function Vr(n){return zT(n,!1)}function Wr(n){return zT(n,!0)}function zT(n,e){return eo(n)?n:new Y8(n,e)}class Y8{constructor(e,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?e:wi(e),this._value=r?e:_m(e)}get value(){return OT(this),this._value}set value(e){const r=this.__v_isShallow||Cv(e)||$p(e);e=r?e:wi(e),xm(e,this._rawValue)&&(this._rawValue=e,this._value=r?e:_m(e),DT(this))}}function yu(n){return eo(n)?n.value:n}const $8={get:(n,e,r)=>yu(Reflect.get(n,e,r)),set:(n,e,r,C)=>{const D=n[e];return eo(D)&&!eo(r)?(D.value=r,!0):Reflect.set(n,e,r,C)}};function FT(n){return Bf(n)?n:new Proxy(n,$8)}function by(n){const e=gi(n)?new Array(n.length):{};for(const r in n)e[r]=Cr(n,r);return e}class Z8{constructor(e,r,C){this._object=e,this._key=r,this._defaultValue=C,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return _8(wi(this._object),this._key)}}function Cr(n,e,r){const C=n[e];return eo(C)?C:new Z8(n,e,r)}var BT;class X8{constructor(e,r,C,D){this._setter=r,this.dep=void 0,this.__v_isRef=!0,this[BT]=!1,this._dirty=!0,this.effect=new Ux(e,()=>{this._dirty||(this._dirty=!0,DT(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!D,this.__v_isReadonly=C}get value(){const e=wi(this);return OT(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}BT="__v_isReadonly";function K8(n,e,r=!1){let C,D;const T=Fi(n);return T?(C=n,D=Dc):(C=n.get,D=n.set),new X8(C,D,T||!D,r)}function Nf(n,e,r,C){let D;try{D=C?n(...C):n()}catch(T){xy(T,e,r)}return D}function Qu(n,e,r,C){if(Fi(n)){const T=Nf(n,e,r,C);return T&&yT(T)&&T.catch(p=>{xy(p,e,r)}),T}const D=[];for(let T=0;T>>1;Tm($s[C])sh&&$s.splice(e,1)}function tE(n){gi(n)?Vp.push(...n):(!Gh||!Gh.includes(n,n.allowRecurse?kd+1:kd))&&Vp.push(n),VT()}function y3(n,e=wm?sh+1:0){for(;e<$s.length;e++){const r=$s[e];r&&r.pre&&($s.splice(e,1),e--,r())}}function jT(n){if(Vp.length){const e=[...new Set(Vp)];if(Vp.length=0,Gh){Gh.push(...e);return}for(Gh=e,Gh.sort((r,C)=>Tm(r)-Tm(C)),kd=0;kdn.id==null?1/0:n.id,nE=(n,e)=>{const r=Tm(n)-Tm(e);if(r===0){if(n.pre&&!e.pre)return-1;if(e.pre&&!n.pre)return 1}return r};function UT(n){Cb=!1,wm=!0,$s.sort(nE);const e=Dc;try{for(sh=0;sh<$s.length;sh++){const r=$s[sh];r&&r.active!==!1&&Nf(r,null,14)}}finally{sh=0,$s.length=0,jT(),wm=!1,$x=null,($s.length||Vp.length)&&UT()}}function rE(n,e,...r){if(n.isUnmounted)return;const C=n.vnode.props||io;let D=r;const T=e.startsWith("update:"),p=T&&e.slice(7);if(p&&p in C){const i=`${p==="modelValue"?"model":p}Modifiers`,{number:M,trim:v}=C[i]||io;v&&(D=r.map(f=>Po(f)?f.trim():f)),M&&(D=r.map(kb))}let t,d=C[t=Q1(e)]||C[t=Q1(tc(e))];!d&&T&&(d=C[t=Q1(f0(e))]),d&&Qu(d,n,6,D);const g=C[t+"Once"];if(g){if(!n.emitted)n.emitted={};else if(n.emitted[t])return;n.emitted[t]=!0,Qu(g,n,6,D)}}function HT(n,e,r=!1){const C=e.emitsCache,D=C.get(n);if(D!==void 0)return D;const T=n.emits;let p={},t=!1;if(!Fi(n)){const d=g=>{const i=HT(g,e,!0);i&&(t=!0,Ms(p,i))};!r&&e.mixins.length&&e.mixins.forEach(d),n.extends&&d(n.extends),n.mixins&&n.mixins.forEach(d)}return!T&&!t?(so(n)&&C.set(n,null),null):(gi(T)?T.forEach(d=>p[d]=null):Ms(p,T),so(n)&&C.set(n,p),p)}function _y(n,e){return!n||!my(e)?!1:(e=e.slice(2).replace(/Once$/,""),ga(n,e[0].toLowerCase()+e.slice(1))||ga(n,f0(e))||ga(n,e))}let Fs=null,wy=null;function Ev(n){const e=Fs;return Fs=n,wy=n&&n.type.__scopeId||null,e}function Ty(n){wy=n}function ky(){wy=null}function ci(n,e=Fs,r){if(!e||n._n)return n;const C=(...D)=>{C._d&&E3(-1);const T=Ev(e);let p;try{p=n(...D)}finally{Ev(T),C._d&&E3(1)}return p};return C._n=!0,C._c=!0,C._d=!0,C}function eb(n){const{type:e,vnode:r,proxy:C,withProxy:D,props:T,propsOptions:[p],slots:t,attrs:d,emit:g,render:i,renderCache:M,data:v,setupState:f,ctx:l,inheritAttrs:a}=n;let u,o;const s=Ev(n);try{if(r.shapeFlag&4){const h=D||C;u=oh(i.call(h,h,M,T,f,v,l)),o=d}else{const h=e;u=oh(h.length>1?h(T,{attrs:d,slots:t,emit:g}):h(T,null)),o=e.props?d:iE(d)}}catch(h){dm.length=0,xy(h,n,1),u=gt(ec)}let c=u;if(o&&a!==!1){const h=Object.keys(o),{shapeFlag:m}=c;h.length&&m&7&&(p&&h.some(Fx)&&(o=aE(o,p)),c=tf(c,o))}return r.dirs&&(c=tf(c),c.dirs=c.dirs?c.dirs.concat(r.dirs):r.dirs),r.transition&&(c.transition=r.transition),u=c,Ev(s),u}const iE=n=>{let e;for(const r in n)(r==="class"||r==="style"||my(r))&&((e||(e={}))[r]=n[r]);return e},aE=(n,e)=>{const r={};for(const C in n)(!Fx(C)||!(C.slice(9)in e))&&(r[C]=n[C]);return r};function oE(n,e,r){const{props:C,children:D,component:T}=n,{props:p,children:t,patchFlag:d}=e,g=T.emitsOptions;if(e.dirs||e.transition)return!0;if(r&&d>=0){if(d&1024)return!0;if(d&16)return C?b3(C,p,g):!!p;if(d&8){const i=e.dynamicProps;for(let M=0;Mn.__isSuspense;function uE(n,e){e&&e.pendingBranch?gi(n)?e.effects.push(...n):e.effects.push(n):tE(n)}function ts(n,e){if(Wo){let r=Wo.provides;const C=Wo.parent&&Wo.parent.provides;C===r&&(r=Wo.provides=Object.create(C)),r[n]=e}}function ka(n,e,r=!1){const C=Wo||Fs;if(C){const D=C.parent==null?C.vnode.appContext&&C.vnode.appContext.provides:C.parent.provides;if(D&&n in D)return D[n];if(arguments.length>1)return r&&Fi(e)?e.call(C.proxy):e}}function wu(n,e){return Xx(n,null,e)}const nv={};function $r(n,e,r){return Xx(n,e,r)}function Xx(n,e,{immediate:r,deep:C,flush:D,onTrack:T,onTrigger:p}=io){const t=wT()===(Wo==null?void 0:Wo.scope)?Wo:null;let d,g=!1,i=!1;if(eo(n)?(d=()=>n.value,g=Cv(n)):Bf(n)?(d=()=>n,C=!0):gi(n)?(i=!0,g=n.some(c=>Bf(c)||Cv(c)),d=()=>n.map(c=>{if(eo(c))return c.value;if(Bf(c))return Sd(c);if(Fi(c))return Nf(c,t,2)})):Fi(n)?e?d=()=>Nf(n,t,2):d=()=>{if(!(t&&t.isUnmounted))return M&&M(),Qu(n,t,3,[v])}:d=Dc,e&&C){const c=d;d=()=>Sd(c())}let M,v=c=>{M=o.onStop=()=>{Nf(c,t,4)}},f;if(Sm)if(v=Dc,e?r&&Qu(e,t,3,[d(),i?[]:void 0,v]):d(),D==="sync"){const c=QE();f=c.__watcherHandles||(c.__watcherHandles=[])}else return Dc;let l=i?new Array(n.length).fill(nv):nv;const a=()=>{if(o.active)if(e){const c=o.run();(C||g||(i?c.some((h,m)=>xm(h,l[m])):xm(c,l)))&&(M&&M(),Qu(e,t,3,[c,l===nv?void 0:i&&l[0]===nv?[]:l,v]),l=c)}else o.run()};a.allowRecurse=!!e;let u;D==="sync"?u=a:D==="post"?u=()=>Nl(a,t&&t.suspense):(a.pre=!0,t&&(a.id=t.uid),u=()=>Zx(a));const o=new Ux(d,u);e?r?a():l=o.run():D==="post"?Nl(o.run.bind(o),t&&t.suspense):o.run();const s=()=>{o.stop(),t&&t.scope&&Bx(t.scope.effects,o)};return f&&f.push(s),s}function cE(n,e,r){const C=this.proxy,D=Po(n)?n.includes(".")?GT(C,n):()=>C[n]:n.bind(C,C);let T;Fi(e)?T=e:(T=e.handler,r=e);const p=Wo;Xp(this);const t=Xx(D,T.bind(C),r);return p?Xp(p):Bd(),t}function GT(n,e){const r=e.split(".");return()=>{let C=n;for(let D=0;D{Sd(r,e)});else if(xT(n))for(const r in n)Sd(n[r],e);return n}function qT(){const n={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ks(()=>{n.isMounted=!0}),Tl(()=>{n.isUnmounting=!0}),n}const Gu=[Function,Array],hE={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Gu,onEnter:Gu,onAfterEnter:Gu,onEnterCancelled:Gu,onBeforeLeave:Gu,onLeave:Gu,onAfterLeave:Gu,onLeaveCancelled:Gu,onBeforeAppear:Gu,onAppear:Gu,onAfterAppear:Gu,onAppearCancelled:Gu},setup(n,{slots:e}){const r=Ey(),C=qT();let D;return()=>{const T=e.default&&Kx(e.default(),!0);if(!T||!T.length)return;let p=T[0];if(T.length>1){for(const a of T)if(a.type!==ec){p=a;break}}const t=wi(n),{mode:d}=t;if(C.isLeaving)return tb(p);const g=x3(p);if(!g)return tb(p);const i=km(g,t,C,r);Mm(g,i);const M=r.subTree,v=M&&x3(M);let f=!1;const{getTransitionKey:l}=g.type;if(l){const a=l();D===void 0?D=a:a!==D&&(D=a,f=!0)}if(v&&v.type!==ec&&(!Md(g,v)||f)){const a=km(v,t,C,r);if(Mm(v,a),d==="out-in")return C.isLeaving=!0,a.afterLeave=()=>{C.isLeaving=!1,r.update.active!==!1&&r.update()},tb(p);d==="in-out"&&g.type!==ec&&(a.delayLeave=(u,o,s)=>{const c=YT(C,v);c[String(v.key)]=v,u._leaveCb=()=>{o(),u._leaveCb=void 0,delete i.delayedLeave},i.delayedLeave=s})}return p}}},WT=hE;function YT(n,e){const{leavingVNodes:r}=n;let C=r.get(e.type);return C||(C=Object.create(null),r.set(e.type,C)),C}function km(n,e,r,C){const{appear:D,mode:T,persisted:p=!1,onBeforeEnter:t,onEnter:d,onAfterEnter:g,onEnterCancelled:i,onBeforeLeave:M,onLeave:v,onAfterLeave:f,onLeaveCancelled:l,onBeforeAppear:a,onAppear:u,onAfterAppear:o,onAppearCancelled:s}=e,c=String(n.key),h=YT(r,n),m=(S,_)=>{S&&Qu(S,C,9,_)},w=(S,_)=>{const k=_[1];m(S,_),gi(S)?S.every(E=>E.length<=1)&&k():S.length<=1&&k()},y={mode:T,persisted:p,beforeEnter(S){let _=t;if(!r.isMounted)if(D)_=a||t;else return;S._leaveCb&&S._leaveCb(!0);const k=h[c];k&&Md(n,k)&&k.el._leaveCb&&k.el._leaveCb(),m(_,[S])},enter(S){let _=d,k=g,E=i;if(!r.isMounted)if(D)_=u||d,k=o||g,E=s||i;else return;let x=!1;const A=S._enterCb=L=>{x||(x=!0,L?m(E,[S]):m(k,[S]),y.delayedLeave&&y.delayedLeave(),S._enterCb=void 0)};_?w(_,[S,A]):A()},leave(S,_){const k=String(n.key);if(S._enterCb&&S._enterCb(!0),r.isUnmounting)return _();m(M,[S]);let E=!1;const x=S._leaveCb=A=>{E||(E=!0,_(),A?m(l,[S]):m(f,[S]),S._leaveCb=void 0,h[k]===n&&delete h[k])};h[k]=n,v?w(v,[S,x]):x()},clone(S){return km(S,e,r,C)}};return y}function tb(n){if(My(n))return n=tf(n),n.children=null,n}function x3(n){return My(n)?n.children?n.children[0]:void 0:n}function Mm(n,e){n.shapeFlag&6&&n.component?Mm(n.component.subTree,e):n.shapeFlag&128?(n.ssContent.transition=e.clone(n.ssContent),n.ssFallback.transition=e.clone(n.ssFallback)):n.transition=e}function Kx(n,e=!1,r){let C=[],D=0;for(let T=0;T1)for(let T=0;T!!n.type.__asyncLoader,My=n=>n.type.__isKeepAlive;function $T(n,e){XT(n,"a",e)}function ZT(n,e){XT(n,"da",e)}function XT(n,e,r=Wo){const C=n.__wdc||(n.__wdc=()=>{let D=r;for(;D;){if(D.isDeactivated)return;D=D.parent}return n()});if(Ay(e,C,r),r){let D=r.parent;for(;D&&D.parent;)My(D.parent.vnode)&&fE(C,e,r,D),D=D.parent}}function fE(n,e,r,C){const D=Ay(e,n,C,!0);QT(()=>{Bx(C[e],D)},r)}function Ay(n,e,r=Wo,C=!1){if(r){const D=r[n]||(r[n]=[]),T=e.__weh||(e.__weh=(...p)=>{if(r.isUnmounted)return;d0(),Xp(r);const t=Qu(e,r,n,p);return Bd(),p0(),t});return C?D.unshift(T):D.push(T),T}}const lf=n=>(e,r=Wo)=>(!Sm||n==="sp")&&Ay(n,(...C)=>e(...C),r),Sy=lf("bm"),Ks=lf("m"),KT=lf("bu"),JT=lf("u"),Tl=lf("bum"),QT=lf("um"),dE=lf("sp"),pE=lf("rtg"),mE=lf("rtc");function gE(n,e=Wo){Ay("ec",n,e)}function Co(n,e){const r=Fs;if(r===null)return n;const C=Ly(r)||r.proxy,D=n.dirs||(n.dirs=[]);for(let T=0;Te(p,t,void 0,T&&T[t]));else{const p=Object.keys(n);D=new Array(p.length);for(let t=0,d=p.length;tIv(e)?!(e.type===ec||e.type===Yr&&!t4(e.children)):!0)?n:null}const Eb=n=>n?f4(n)?Ly(n)||n.proxy:Eb(n.parent):null,hm=Ms(Object.create(null),{$:n=>n,$el:n=>n.vnode.el,$data:n=>n.data,$props:n=>n.props,$attrs:n=>n.attrs,$slots:n=>n.slots,$refs:n=>n.refs,$parent:n=>Eb(n.parent),$root:n=>Eb(n.root),$emit:n=>n.emit,$options:n=>e2(n),$forceUpdate:n=>n.f||(n.f=()=>Zx(n.update)),$nextTick:n=>n.n||(n.n=Ua.bind(n.proxy)),$watch:n=>cE.bind(n)}),rb=(n,e)=>n!==io&&!n.__isScriptSetup&&ga(n,e),bE={get({_:n},e){const{ctx:r,setupState:C,data:D,props:T,accessCache:p,type:t,appContext:d}=n;let g;if(e[0]!=="$"){const f=p[e];if(f!==void 0)switch(f){case 1:return C[e];case 2:return D[e];case 4:return r[e];case 3:return T[e]}else{if(rb(C,e))return p[e]=1,C[e];if(D!==io&&ga(D,e))return p[e]=2,D[e];if((g=n.propsOptions[0])&&ga(g,e))return p[e]=3,T[e];if(r!==io&&ga(r,e))return p[e]=4,r[e];Lb&&(p[e]=0)}}const i=hm[e];let M,v;if(i)return e==="$attrs"&&$l(n,"get",e),i(n);if((M=t.__cssModules)&&(M=M[e]))return M;if(r!==io&&ga(r,e))return p[e]=4,r[e];if(v=d.config.globalProperties,ga(v,e))return v[e]},set({_:n},e,r){const{data:C,setupState:D,ctx:T}=n;return rb(D,e)?(D[e]=r,!0):C!==io&&ga(C,e)?(C[e]=r,!0):ga(n.props,e)||e[0]==="$"&&e.slice(1)in n?!1:(T[e]=r,!0)},has({_:{data:n,setupState:e,accessCache:r,ctx:C,appContext:D,propsOptions:T}},p){let t;return!!r[p]||n!==io&&ga(n,p)||rb(e,p)||(t=T[0])&&ga(t,p)||ga(C,p)||ga(hm,p)||ga(D.config.globalProperties,p)},defineProperty(n,e,r){return r.get!=null?n._.accessCache[e]=0:ga(r,"value")&&this.set(n,e,r.value,null),Reflect.defineProperty(n,e,r)}};let Lb=!0;function xE(n){const e=e2(n),r=n.proxy,C=n.ctx;Lb=!1,e.beforeCreate&&w3(e.beforeCreate,n,"bc");const{data:D,computed:T,methods:p,watch:t,provide:d,inject:g,created:i,beforeMount:M,mounted:v,beforeUpdate:f,updated:l,activated:a,deactivated:u,beforeDestroy:o,beforeUnmount:s,destroyed:c,unmounted:h,render:m,renderTracked:w,renderTriggered:y,errorCaptured:S,serverPrefetch:_,expose:k,inheritAttrs:E,components:x,directives:A,filters:L}=e;if(g&&_E(g,C,null,n.appContext.config.unwrapInjectedRef),p)for(const I in p){const O=p[I];Fi(O)&&(C[I]=O.bind(r))}if(D){const I=D.call(r,r);so(I)&&(n.data=yl(I))}if(Lb=!0,T)for(const I in T){const O=T[I],z=Fi(O)?O.bind(r,r):Fi(O.get)?O.get.bind(r,r):Dc,F=!Fi(O)&&Fi(O.set)?O.set.bind(r):Dc,B=cn({get:z,set:F});Object.defineProperty(C,I,{enumerable:!0,configurable:!0,get:()=>B.value,set:N=>B.value=N})}if(t)for(const I in t)n4(t[I],C,r,I);if(d){const I=Fi(d)?d.call(r):d;Reflect.ownKeys(I).forEach(O=>{ts(O,I[O])})}i&&w3(i,n,"c");function R(I,O){gi(O)?O.forEach(z=>I(z.bind(r))):O&&I(O.bind(r))}if(R(Sy,M),R(Ks,v),R(KT,f),R(JT,l),R($T,a),R(ZT,u),R(gE,S),R(mE,w),R(pE,y),R(Tl,s),R(QT,h),R(dE,_),gi(k))if(k.length){const I=n.exposed||(n.exposed={});k.forEach(O=>{Object.defineProperty(I,O,{get:()=>r[O],set:z=>r[O]=z})})}else n.exposed||(n.exposed={});m&&n.render===Dc&&(n.render=m),E!=null&&(n.inheritAttrs=E),x&&(n.components=x),A&&(n.directives=A)}function _E(n,e,r=Dc,C=!1){gi(n)&&(n=Ib(n));for(const D in n){const T=n[D];let p;so(T)?"default"in T?p=ka(T.from||D,T.default,!0):p=ka(T.from||D):p=ka(T),eo(p)&&C?Object.defineProperty(e,D,{enumerable:!0,configurable:!0,get:()=>p.value,set:t=>p.value=t}):e[D]=p}}function w3(n,e,r){Qu(gi(n)?n.map(C=>C.bind(e.proxy)):n.bind(e.proxy),e,r)}function n4(n,e,r,C){const D=C.includes(".")?GT(r,C):()=>r[C];if(Po(n)){const T=e[n];Fi(T)&&$r(D,T)}else if(Fi(n))$r(D,n.bind(r));else if(so(n))if(gi(n))n.forEach(T=>n4(T,e,r,C));else{const T=Fi(n.handler)?n.handler.bind(r):e[n.handler];Fi(T)&&$r(D,T,n)}}function e2(n){const e=n.type,{mixins:r,extends:C}=e,{mixins:D,optionsCache:T,config:{optionMergeStrategies:p}}=n.appContext,t=T.get(e);let d;return t?d=t:!D.length&&!r&&!C?d=e:(d={},D.length&&D.forEach(g=>Lv(d,g,p,!0)),Lv(d,e,p)),so(e)&&T.set(e,d),d}function Lv(n,e,r,C=!1){const{mixins:D,extends:T}=e;T&&Lv(n,T,r,!0),D&&D.forEach(p=>Lv(n,p,r,!0));for(const p in e)if(!(C&&p==="expose")){const t=wE[p]||r&&r[p];n[p]=t?t(n[p],e[p]):e[p]}return n}const wE={data:T3,props:Td,emits:Td,methods:Td,computed:Td,beforeCreate:pl,created:pl,beforeMount:pl,mounted:pl,beforeUpdate:pl,updated:pl,beforeDestroy:pl,beforeUnmount:pl,destroyed:pl,unmounted:pl,activated:pl,deactivated:pl,errorCaptured:pl,serverPrefetch:pl,components:Td,directives:Td,watch:kE,provide:T3,inject:TE};function T3(n,e){return e?n?function(){return Ms(Fi(n)?n.call(this,this):n,Fi(e)?e.call(this,this):e)}:e:n}function TE(n,e){return Td(Ib(n),Ib(e))}function Ib(n){if(gi(n)){const e={};for(let r=0;r0)&&!(p&16)){if(p&8){const i=n.vnode.dynamicProps;for(let M=0;M{d=!0;const[v,f]=i4(M,e,!0);Ms(p,v),f&&t.push(...f)};!r&&e.mixins.length&&e.mixins.forEach(i),n.extends&&i(n.extends),n.mixins&&n.mixins.forEach(i)}if(!T&&!d)return so(n)&&C.set(n,Bp),Bp;if(gi(T))for(let i=0;i-1,f[1]=a<0||l-1||ga(f,"default"))&&t.push(M)}}}const g=[p,t];return so(n)&&C.set(n,g),g}function k3(n){return n[0]!=="$"}function M3(n){const e=n&&n.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:n===null?"null":""}function A3(n,e){return M3(n)===M3(e)}function S3(n,e){return gi(e)?e.findIndex(r=>A3(r,n)):Fi(e)&&A3(e,n)?0:-1}const a4=n=>n[0]==="_"||n==="$stable",t2=n=>gi(n)?n.map(oh):[oh(n)],SE=(n,e,r)=>{if(e._n)return e;const C=ci((...D)=>t2(e(...D)),r);return C._c=!1,C},o4=(n,e,r)=>{const C=n._ctx;for(const D in n){if(a4(D))continue;const T=n[D];if(Fi(T))e[D]=SE(D,T,C);else if(T!=null){const p=t2(T);e[D]=()=>p}}},s4=(n,e)=>{const r=t2(e);n.slots.default=()=>r},CE=(n,e)=>{if(n.vnode.shapeFlag&32){const r=e._;r?(n.slots=wi(e),Av(e,"_",r)):o4(e,n.slots={})}else n.slots={},e&&s4(n,e);Av(n.slots,Cy,1)},EE=(n,e,r)=>{const{vnode:C,slots:D}=n;let T=!0,p=io;if(C.shapeFlag&32){const t=e._;t?r&&t===1?T=!1:(Ms(D,e),!r&&t===1&&delete D._):(T=!e.$stable,o4(e,D)),p=e}else e&&(s4(n,e),p={default:1});if(T)for(const t in D)!a4(t)&&!(t in p)&&delete D[t]};function l4(){return{app:null,config:{isNativeTag:c8,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let LE=0;function IE(n,e){return function(C,D=null){Fi(C)||(C=Object.assign({},C)),D!=null&&!so(D)&&(D=null);const T=l4(),p=new Set;let t=!1;const d=T.app={_uid:LE++,_component:C,_props:D,_container:null,_context:T,_instance:null,version:e7,get config(){return T.config},set config(g){},use(g,...i){return p.has(g)||(g&&Fi(g.install)?(p.add(g),g.install(d,...i)):Fi(g)&&(p.add(g),g(d,...i))),d},mixin(g){return T.mixins.includes(g)||T.mixins.push(g),d},component(g,i){return i?(T.components[g]=i,d):T.components[g]},directive(g,i){return i?(T.directives[g]=i,d):T.directives[g]},mount(g,i,M){if(!t){const v=gt(C,D);return v.appContext=T,i&&e?e(v,g):n(v,g,M),t=!0,d._container=g,g.__vue_app__=d,Ly(v.component)||v.component.proxy}},unmount(){t&&(n(null,d._container),delete d._container.__vue_app__)},provide(g,i){return T.provides[g]=i,d}};return d}}function Pb(n,e,r,C,D=!1){if(gi(n)){n.forEach((v,f)=>Pb(v,e&&(gi(e)?e[f]:e),r,C,D));return}if(cm(C)&&!D)return;const T=C.shapeFlag&4?Ly(C.component)||C.component.proxy:C.el,p=D?null:T,{i:t,r:d}=n,g=e&&e.r,i=t.refs===io?t.refs={}:t.refs,M=t.setupState;if(g!=null&&g!==d&&(Po(g)?(i[g]=null,ga(M,g)&&(M[g]=null)):eo(g)&&(g.value=null)),Fi(d))Nf(d,t,12,[p,i]);else{const v=Po(d),f=eo(d);if(v||f){const l=()=>{if(n.f){const a=v?ga(M,d)?M[d]:i[d]:d.value;D?gi(a)&&Bx(a,T):gi(a)?a.includes(T)||a.push(T):v?(i[d]=[T],ga(M,d)&&(M[d]=i[d])):(d.value=[T],n.k&&(i[n.k]=d.value))}else v?(i[d]=p,ga(M,d)&&(M[d]=p)):f&&(d.value=p,n.k&&(i[n.k]=p))};p?(l.id=-1,Nl(l,r)):l()}}}const Nl=uE;function RE(n){return PE(n)}function PE(n,e){const r=v8();r.__VUE__=!0;const{insert:C,remove:D,patchProp:T,createElement:p,createText:t,createComment:d,setText:g,setElementText:i,parentNode:M,nextSibling:v,setScopeId:f=Dc,insertStaticContent:l}=n,a=(Z,X,Q,re=null,ie=null,oe=null,ue=!1,ce=null,ye=!!X.dynamicChildren)=>{if(Z===X)return;Z&&!Md(Z,X)&&(re=G(Z),N(Z,ie,oe,!0),Z=null),X.patchFlag===-2&&(ye=!1,X.dynamicChildren=null);const{type:de,ref:me,shapeFlag:pe}=X;switch(de){case Gm:u(Z,X,Q,re);break;case ec:o(Z,X,Q,re);break;case dv:Z==null&&s(X,Q,re,ue);break;case Yr:x(Z,X,Q,re,ie,oe,ue,ce,ye);break;default:pe&1?m(Z,X,Q,re,ie,oe,ue,ce,ye):pe&6?A(Z,X,Q,re,ie,oe,ue,ce,ye):(pe&64||pe&128)&&de.process(Z,X,Q,re,ie,oe,ue,ce,ye,H)}me!=null&&ie&&Pb(me,Z&&Z.ref,oe,X||Z,!X)},u=(Z,X,Q,re)=>{if(Z==null)C(X.el=t(X.children),Q,re);else{const ie=X.el=Z.el;X.children!==Z.children&&g(ie,X.children)}},o=(Z,X,Q,re)=>{Z==null?C(X.el=d(X.children||""),Q,re):X.el=Z.el},s=(Z,X,Q,re)=>{[Z.el,Z.anchor]=l(Z.children,X,Q,re,Z.el,Z.anchor)},c=({el:Z,anchor:X},Q,re)=>{let ie;for(;Z&&Z!==X;)ie=v(Z),C(Z,Q,re),Z=ie;C(X,Q,re)},h=({el:Z,anchor:X})=>{let Q;for(;Z&&Z!==X;)Q=v(Z),D(Z),Z=Q;D(X)},m=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{ue=ue||X.type==="svg",Z==null?w(X,Q,re,ie,oe,ue,ce,ye):_(Z,X,ie,oe,ue,ce,ye)},w=(Z,X,Q,re,ie,oe,ue,ce)=>{let ye,de;const{type:me,props:pe,shapeFlag:xe,transition:Pe,dirs:_e}=Z;if(ye=Z.el=p(Z.type,oe,pe&&pe.is,pe),xe&8?i(ye,Z.children):xe&16&&S(Z.children,ye,null,re,ie,oe&&me!=="foreignObject",ue,ce),_e&&vd(Z,null,re,"created"),y(ye,Z,Z.scopeId,ue,re),pe){for(const Se in pe)Se!=="value"&&!hv(Se)&&T(ye,Se,null,pe[Se],oe,Z.children,re,ie,U);"value"in pe&&T(ye,"value",null,pe.value),(de=pe.onVnodeBeforeMount)&&nh(de,re,Z)}_e&&vd(Z,null,re,"beforeMount");const Me=(!ie||ie&&!ie.pendingBranch)&&Pe&&!Pe.persisted;Me&&Pe.beforeEnter(ye),C(ye,X,Q),((de=pe&&pe.onVnodeMounted)||Me||_e)&&Nl(()=>{de&&nh(de,re,Z),Me&&Pe.enter(ye),_e&&vd(Z,null,re,"mounted")},ie)},y=(Z,X,Q,re,ie)=>{if(Q&&f(Z,Q),re)for(let oe=0;oe{for(let de=ye;de{const ce=X.el=Z.el;let{patchFlag:ye,dynamicChildren:de,dirs:me}=X;ye|=Z.patchFlag&16;const pe=Z.props||io,xe=X.props||io;let Pe;Q&&yd(Q,!1),(Pe=xe.onVnodeBeforeUpdate)&&nh(Pe,Q,X,Z),me&&vd(X,Z,Q,"beforeUpdate"),Q&&yd(Q,!0);const _e=ie&&X.type!=="foreignObject";if(de?k(Z.dynamicChildren,de,ce,Q,re,_e,oe):ue||O(Z,X,ce,null,Q,re,_e,oe,!1),ye>0){if(ye&16)E(ce,X,pe,xe,Q,re,ie);else if(ye&2&&pe.class!==xe.class&&T(ce,"class",null,xe.class,ie),ye&4&&T(ce,"style",pe.style,xe.style,ie),ye&8){const Me=X.dynamicProps;for(let Se=0;Se{Pe&&nh(Pe,Q,X,Z),me&&vd(X,Z,Q,"updated")},re)},k=(Z,X,Q,re,ie,oe,ue)=>{for(let ce=0;ce{if(Q!==re){if(Q!==io)for(const ce in Q)!hv(ce)&&!(ce in re)&&T(Z,ce,Q[ce],null,ue,X.children,ie,oe,U);for(const ce in re){if(hv(ce))continue;const ye=re[ce],de=Q[ce];ye!==de&&ce!=="value"&&T(Z,ce,de,ye,ue,X.children,ie,oe,U)}"value"in re&&T(Z,"value",Q.value,re.value)}},x=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{const de=X.el=Z?Z.el:t(""),me=X.anchor=Z?Z.anchor:t("");let{patchFlag:pe,dynamicChildren:xe,slotScopeIds:Pe}=X;Pe&&(ce=ce?ce.concat(Pe):Pe),Z==null?(C(de,Q,re),C(me,Q,re),S(X.children,Q,me,ie,oe,ue,ce,ye)):pe>0&&pe&64&&xe&&Z.dynamicChildren?(k(Z.dynamicChildren,xe,Q,ie,oe,ue,ce),(X.key!=null||ie&&X===ie.subTree)&&n2(Z,X,!0)):O(Z,X,Q,me,ie,oe,ue,ce,ye)},A=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{X.slotScopeIds=ce,Z==null?X.shapeFlag&512?ie.ctx.activate(X,Q,re,ue,ye):L(X,Q,re,ie,oe,ue,ye):b(Z,X,ye)},L=(Z,X,Q,re,ie,oe,ue)=>{const ce=Z.component=qE(Z,re,ie);if(My(Z)&&(ce.ctx.renderer=H),WE(ce),ce.asyncDep){if(ie&&ie.registerDep(ce,R),!Z.el){const ye=ce.subTree=gt(ec);o(null,ye,X,Q)}return}R(ce,Z,X,Q,ie,oe,ue)},b=(Z,X,Q)=>{const re=X.component=Z.component;if(oE(Z,X,Q))if(re.asyncDep&&!re.asyncResolved){I(re,X,Q);return}else re.next=X,eE(re.update),re.update();else X.el=Z.el,re.vnode=X},R=(Z,X,Q,re,ie,oe,ue)=>{const ce=()=>{if(Z.isMounted){let{next:me,bu:pe,u:xe,parent:Pe,vnode:_e}=Z,Me=me,Se;yd(Z,!1),me?(me.el=_e.el,I(Z,me,ue)):me=_e,pe&&fv(pe),(Se=me.props&&me.props.onVnodeBeforeUpdate)&&nh(Se,Pe,me,_e),yd(Z,!0);const Ce=eb(Z),ae=Z.subTree;Z.subTree=Ce,a(ae,Ce,M(ae.el),G(ae),Z,ie,oe),me.el=Ce.el,Me===null&&sE(Z,Ce.el),xe&&Nl(xe,ie),(Se=me.props&&me.props.onVnodeUpdated)&&Nl(()=>nh(Se,Pe,me,_e),ie)}else{let me;const{el:pe,props:xe}=X,{bm:Pe,m:_e,parent:Me}=Z,Se=cm(X);if(yd(Z,!1),Pe&&fv(Pe),!Se&&(me=xe&&xe.onVnodeBeforeMount)&&nh(me,Me,X),yd(Z,!0),pe&&te){const Ce=()=>{Z.subTree=eb(Z),te(pe,Z.subTree,Z,ie,null)};Se?X.type.__asyncLoader().then(()=>!Z.isUnmounted&&Ce()):Ce()}else{const Ce=Z.subTree=eb(Z);a(null,Ce,Q,re,Z,ie,oe),X.el=Ce.el}if(_e&&Nl(_e,ie),!Se&&(me=xe&&xe.onVnodeMounted)){const Ce=X;Nl(()=>nh(me,Me,Ce),ie)}(X.shapeFlag&256||Me&&cm(Me.vnode)&&Me.vnode.shapeFlag&256)&&Z.a&&Nl(Z.a,ie),Z.isMounted=!0,X=Q=re=null}},ye=Z.effect=new Ux(ce,()=>Zx(de),Z.scope),de=Z.update=()=>ye.run();de.id=Z.uid,yd(Z,!0),de()},I=(Z,X,Q)=>{X.component=Z;const re=Z.vnode.props;Z.vnode=X,Z.next=null,AE(Z,X.props,re,Q),EE(Z,X.children,Q),d0(),y3(),p0()},O=(Z,X,Q,re,ie,oe,ue,ce,ye=!1)=>{const de=Z&&Z.children,me=Z?Z.shapeFlag:0,pe=X.children,{patchFlag:xe,shapeFlag:Pe}=X;if(xe>0){if(xe&128){F(de,pe,Q,re,ie,oe,ue,ce,ye);return}else if(xe&256){z(de,pe,Q,re,ie,oe,ue,ce,ye);return}}Pe&8?(me&16&&U(de,ie,oe),pe!==de&&i(Q,pe)):me&16?Pe&16?F(de,pe,Q,re,ie,oe,ue,ce,ye):U(de,ie,oe,!0):(me&8&&i(Q,""),Pe&16&&S(pe,Q,re,ie,oe,ue,ce,ye))},z=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{Z=Z||Bp,X=X||Bp;const de=Z.length,me=X.length,pe=Math.min(de,me);let xe;for(xe=0;xeme?U(Z,ie,oe,!0,!1,pe):S(X,Q,re,ie,oe,ue,ce,ye,pe)},F=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{let de=0;const me=X.length;let pe=Z.length-1,xe=me-1;for(;de<=pe&&de<=xe;){const Pe=Z[de],_e=X[de]=ye?Rf(X[de]):oh(X[de]);if(Md(Pe,_e))a(Pe,_e,Q,null,ie,oe,ue,ce,ye);else break;de++}for(;de<=pe&&de<=xe;){const Pe=Z[pe],_e=X[xe]=ye?Rf(X[xe]):oh(X[xe]);if(Md(Pe,_e))a(Pe,_e,Q,null,ie,oe,ue,ce,ye);else break;pe--,xe--}if(de>pe){if(de<=xe){const Pe=xe+1,_e=Pexe)for(;de<=pe;)N(Z[de],ie,oe,!0),de++;else{const Pe=de,_e=de,Me=new Map;for(de=_e;de<=xe;de++){const Be=X[de]=ye?Rf(X[de]):oh(X[de]);Be.key!=null&&Me.set(Be.key,de)}let Se,Ce=0;const ae=xe-_e+1;let fe=!1,be=0;const ke=new Array(ae);for(de=0;de=ae){N(Be,ie,oe,!0);continue}let ze;if(Be.key!=null)ze=Me.get(Be.key);else for(Se=_e;Se<=xe;Se++)if(ke[Se-_e]===0&&Md(Be,X[Se])){ze=Se;break}ze===void 0?N(Be,ie,oe,!0):(ke[ze-_e]=de+1,ze>=be?be=ze:fe=!0,a(Be,X[ze],Q,null,ie,oe,ue,ce,ye),Ce++)}const Le=fe?OE(ke):Bp;for(Se=Le.length-1,de=ae-1;de>=0;de--){const Be=_e+de,ze=X[Be],je=Be+1{const{el:oe,type:ue,transition:ce,children:ye,shapeFlag:de}=Z;if(de&6){B(Z.component.subTree,X,Q,re);return}if(de&128){Z.suspense.move(X,Q,re);return}if(de&64){ue.move(Z,X,Q,H);return}if(ue===Yr){C(oe,X,Q);for(let pe=0;pece.enter(oe),ie);else{const{leave:pe,delayLeave:xe,afterLeave:Pe}=ce,_e=()=>C(oe,X,Q),Me=()=>{pe(oe,()=>{_e(),Pe&&Pe()})};xe?xe(oe,_e,Me):Me()}else C(oe,X,Q)},N=(Z,X,Q,re=!1,ie=!1)=>{const{type:oe,props:ue,ref:ce,children:ye,dynamicChildren:de,shapeFlag:me,patchFlag:pe,dirs:xe}=Z;if(ce!=null&&Pb(ce,null,Q,Z,!0),me&256){X.ctx.deactivate(Z);return}const Pe=me&1&&xe,_e=!cm(Z);let Me;if(_e&&(Me=ue&&ue.onVnodeBeforeUnmount)&&nh(Me,X,Z),me&6)$(Z.component,Q,re);else{if(me&128){Z.suspense.unmount(Q,re);return}Pe&&vd(Z,null,X,"beforeUnmount"),me&64?Z.type.remove(Z,X,Q,ie,H,re):de&&(oe!==Yr||pe>0&&pe&64)?U(de,X,Q,!1,!0):(oe===Yr&&pe&384||!ie&&me&16)&&U(ye,X,Q),re&&W(Z)}(_e&&(Me=ue&&ue.onVnodeUnmounted)||Pe)&&Nl(()=>{Me&&nh(Me,X,Z),Pe&&vd(Z,null,X,"unmounted")},Q)},W=Z=>{const{type:X,el:Q,anchor:re,transition:ie}=Z;if(X===Yr){j(Q,re);return}if(X===dv){h(Z);return}const oe=()=>{D(Q),ie&&!ie.persisted&&ie.afterLeave&&ie.afterLeave()};if(Z.shapeFlag&1&&ie&&!ie.persisted){const{leave:ue,delayLeave:ce}=ie,ye=()=>ue(Q,oe);ce?ce(Z.el,oe,ye):ye()}else oe()},j=(Z,X)=>{let Q;for(;Z!==X;)Q=v(Z),D(Z),Z=Q;D(X)},$=(Z,X,Q)=>{const{bum:re,scope:ie,update:oe,subTree:ue,um:ce}=Z;re&&fv(re),ie.stop(),oe&&(oe.active=!1,N(ue,Z,X,Q)),ce&&Nl(ce,X),Nl(()=>{Z.isUnmounted=!0},X),X&&X.pendingBranch&&!X.isUnmounted&&Z.asyncDep&&!Z.asyncResolved&&Z.suspenseId===X.pendingId&&(X.deps--,X.deps===0&&X.resolve())},U=(Z,X,Q,re=!1,ie=!1,oe=0)=>{for(let ue=oe;ueZ.shapeFlag&6?G(Z.component.subTree):Z.shapeFlag&128?Z.suspense.next():v(Z.anchor||Z.el),q=(Z,X,Q)=>{Z==null?X._vnode&&N(X._vnode,null,null,!0):a(X._vnode||null,Z,X,null,null,null,Q),y3(),jT(),X._vnode=Z},H={p:a,um:N,m:B,r:W,mt:L,mc:S,pc:O,pbc:k,n:G,o:n};let ne,te;return e&&([ne,te]=e(H)),{render:q,hydrate:ne,createApp:IE(q,ne)}}function yd({effect:n,update:e},r){n.allowRecurse=e.allowRecurse=r}function n2(n,e,r=!1){const C=n.children,D=e.children;if(gi(C)&&gi(D))for(let T=0;T>1,n[r[t]]0&&(e[C]=r[T-1]),r[T]=C)}}for(T=r.length,p=r[T-1];T-- >0;)r[T]=p,p=e[p];return r}const DE=n=>n.__isTeleport,fm=n=>n&&(n.disabled||n.disabled===""),C3=n=>typeof SVGElement<"u"&&n instanceof SVGElement,Ob=(n,e)=>{const r=n&&n.to;return Po(r)?e?e(r):null:r},zE={__isTeleport:!0,process(n,e,r,C,D,T,p,t,d,g){const{mc:i,pc:M,pbc:v,o:{insert:f,querySelector:l,createText:a,createComment:u}}=g,o=fm(e.props);let{shapeFlag:s,children:c,dynamicChildren:h}=e;if(n==null){const m=e.el=a(""),w=e.anchor=a("");f(m,r,C),f(w,r,C);const y=e.target=Ob(e.props,l),S=e.targetAnchor=a("");y&&(f(S,y),p=p||C3(y));const _=(k,E)=>{s&16&&i(c,k,E,D,T,p,t,d)};o?_(r,w):y&&_(y,S)}else{e.el=n.el;const m=e.anchor=n.anchor,w=e.target=n.target,y=e.targetAnchor=n.targetAnchor,S=fm(n.props),_=S?r:w,k=S?m:y;if(p=p||C3(w),h?(v(n.dynamicChildren,h,_,D,T,p,t),n2(n,e,!0)):d||M(n,e,_,k,D,T,p,t,!1),o)S||rv(e,r,m,g,1);else if((e.props&&e.props.to)!==(n.props&&n.props.to)){const E=e.target=Ob(e.props,l);E&&rv(e,E,null,g,0)}else S&&rv(e,w,y,g,1)}u4(e)},remove(n,e,r,C,{um:D,o:{remove:T}},p){const{shapeFlag:t,children:d,anchor:g,targetAnchor:i,target:M,props:v}=n;if(M&&T(i),(p||!fm(v))&&(T(g),t&16))for(let f=0;f0?Ic||Bp:null,NE(),Am>0&&Ic&&Ic.push(n),n}function ei(n,e,r,C,D,T){return c4(ti(n,e,r,C,D,T,!0))}function za(n,e,r,C,D){return c4(gt(n,e,r,C,D,!0))}function Iv(n){return n?n.__v_isVNode===!0:!1}function Md(n,e){return n.type===e.type&&n.key===e.key}const Cy="__vInternal",h4=({key:n})=>n??null,pv=({ref:n,ref_key:e,ref_for:r})=>n!=null?Po(n)||eo(n)||Fi(n)?{i:Fs,r:n,k:e,f:!!r}:n:null;function ti(n,e=null,r=null,C=0,D=null,T=n===Yr?0:1,p=!1,t=!1){const d={__v_isVNode:!0,__v_skip:!0,type:n,props:e,key:e&&h4(e),ref:e&&pv(e),scopeId:wy,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:T,patchFlag:C,dynamicProps:D,dynamicChildren:null,appContext:null,ctx:Fs};return t?(r2(d,r),T&128&&n.normalize(d)):r&&(d.shapeFlag|=Po(r)?8:16),Am>0&&!p&&Ic&&(d.patchFlag>0||T&6)&&d.patchFlag!==32&&Ic.push(d),d}const gt=VE;function VE(n,e=null,r=null,C=0,D=null,T=!1){if((!n||n===e4)&&(n=ec),Iv(n)){const t=tf(n,e,!0);return r&&r2(t,r),Am>0&&!T&&Ic&&(t.shapeFlag&6?Ic[Ic.indexOf(n)]=t:Ic.push(t)),t.patchFlag|=-2,t}if(KE(n)&&(n=n.__vccOpts),e){e=jE(e);let{class:t,style:d}=e;t&&!Po(t)&&(e.class=Ju(t)),so(d)&&(PT(d)&&!gi(d)&&(d=Ms({},d)),e.style=zs(d))}const p=Po(n)?1:lE(n)?128:DE(n)?64:so(n)?4:Fi(n)?2:0;return ti(n,e,r,C,D,p,T,!0)}function jE(n){return n?PT(n)||Cy in n?Ms({},n):n:null}function tf(n,e,r=!1){const{props:C,ref:D,patchFlag:T,children:p}=n,t=e?qr(C||{},e):C;return{__v_isVNode:!0,__v_skip:!0,type:n.type,props:t,key:t&&h4(t),ref:e&&e.ref?r&&D?gi(D)?D.concat(pv(e)):[D,pv(e)]:pv(e):D,scopeId:n.scopeId,slotScopeIds:n.slotScopeIds,children:p,target:n.target,targetAnchor:n.targetAnchor,staticCount:n.staticCount,shapeFlag:n.shapeFlag,patchFlag:e&&n.type!==Yr?T===-1?16:T|16:T,dynamicProps:n.dynamicProps,dynamicChildren:n.dynamicChildren,appContext:n.appContext,dirs:n.dirs,transition:n.transition,component:n.component,suspense:n.suspense,ssContent:n.ssContent&&tf(n.ssContent),ssFallback:n.ssFallback&&tf(n.ssFallback),el:n.el,anchor:n.anchor,ctx:n.ctx,ce:n.ce}}function ia(n=" ",e=0){return gt(Gm,null,n,e)}function UE(n,e){const r=gt(dv,null,n);return r.staticCount=e,r}function Zi(n="",e=!1){return e?(Rr(),za(ec,null,n)):gt(ec,null,n)}function oh(n){return n==null||typeof n=="boolean"?gt(ec):gi(n)?gt(Yr,null,n.slice()):typeof n=="object"?Rf(n):gt(Gm,null,String(n))}function Rf(n){return n.el===null&&n.patchFlag!==-1||n.memo?n:tf(n)}function r2(n,e){let r=0;const{shapeFlag:C}=n;if(e==null)e=null;else if(gi(e))r=16;else if(typeof e=="object")if(C&65){const D=e.default;D&&(D._c&&(D._d=!1),r2(n,D()),D._c&&(D._d=!0));return}else{r=32;const D=e._;!D&&!(Cy in e)?e._ctx=Fs:D===3&&Fs&&(Fs.slots._===1?e._=1:(e._=2,n.patchFlag|=1024))}else Fi(e)?(e={default:e,_ctx:Fs},r=32):(e=String(e),C&64?(r=16,e=[ia(e)]):r=8);n.children=e,n.shapeFlag|=r}function qr(...n){const e={};for(let r=0;rWo||Fs,Xp=n=>{Wo=n,n.scope.on()},Bd=()=>{Wo&&Wo.scope.off(),Wo=null};function f4(n){return n.vnode.shapeFlag&4}let Sm=!1;function WE(n,e=!1){Sm=e;const{props:r,children:C}=n.vnode,D=f4(n);ME(n,r,D,e),CE(n,C);const T=D?YE(n,e):void 0;return Sm=!1,T}function YE(n,e){const r=n.type;n.accessCache=Object.create(null),n.proxy=Zp(new Proxy(n.ctx,bE));const{setup:C}=r;if(C){const D=n.setupContext=C.length>1?ZE(n):null;Xp(n),d0();const T=Nf(C,n,0,[n.props,D]);if(p0(),Bd(),yT(T)){if(T.then(Bd,Bd),e)return T.then(p=>{L3(n,p,e)}).catch(p=>{xy(p,n,0)});n.asyncDep=T}else L3(n,T,e)}else d4(n,e)}function L3(n,e,r){Fi(e)?n.type.__ssrInlineRender?n.ssrRender=e:n.render=e:so(e)&&(n.setupState=FT(e)),d4(n,r)}let I3;function d4(n,e,r){const C=n.type;if(!n.render){if(!e&&I3&&!C.render){const D=C.template||e2(n).template;if(D){const{isCustomElement:T,compilerOptions:p}=n.appContext.config,{delimiters:t,compilerOptions:d}=C,g=Ms(Ms({isCustomElement:T,delimiters:t},p),d);C.render=I3(D,g)}}n.render=C.render||Dc}Xp(n),d0(),xE(n),p0(),Bd()}function $E(n){return new Proxy(n.attrs,{get(e,r){return $l(n,"get","$attrs"),e[r]}})}function ZE(n){const e=C=>{n.exposed=C||{}};let r;return{get attrs(){return r||(r=$E(n))},slots:n.slots,emit:n.emit,expose:e}}function Ly(n){if(n.exposed)return n.exposeProxy||(n.exposeProxy=new Proxy(FT(Zp(n.exposed)),{get(e,r){if(r in e)return e[r];if(r in hm)return hm[r](n)},has(e,r){return r in e||r in hm}}))}function XE(n,e=!0){return Fi(n)?n.displayName||n.name:n.name||e&&n.__name}function KE(n){return Fi(n)&&"__vccOpts"in n}const cn=(n,e)=>K8(n,e,Sm);function Xf(n,e,r){const C=arguments.length;return C===2?so(e)&&!gi(e)?Iv(e)?gt(n,null,[e]):gt(n,e):gt(n,null,e):(C>3?r=Array.prototype.slice.call(arguments,2):C===3&&Iv(r)&&(r=[r]),gt(n,e,r))}const JE=Symbol(""),QE=()=>ka(JE),e7="3.2.47",t7="http://www.w3.org/2000/svg",Ad=typeof document<"u"?document:null,R3=Ad&&Ad.createElement("template"),n7={insert:(n,e,r)=>{e.insertBefore(n,r||null)},remove:n=>{const e=n.parentNode;e&&e.removeChild(n)},createElement:(n,e,r,C)=>{const D=e?Ad.createElementNS(t7,n):Ad.createElement(n,r?{is:r}:void 0);return n==="select"&&C&&C.multiple!=null&&D.setAttribute("multiple",C.multiple),D},createText:n=>Ad.createTextNode(n),createComment:n=>Ad.createComment(n),setText:(n,e)=>{n.nodeValue=e},setElementText:(n,e)=>{n.textContent=e},parentNode:n=>n.parentNode,nextSibling:n=>n.nextSibling,querySelector:n=>Ad.querySelector(n),setScopeId(n,e){n.setAttribute(e,"")},insertStaticContent(n,e,r,C,D,T){const p=r?r.previousSibling:e.lastChild;if(D&&(D===T||D.nextSibling))for(;e.insertBefore(D.cloneNode(!0),r),!(D===T||!(D=D.nextSibling)););else{R3.innerHTML=C?`${n}`:n;const t=R3.content;if(C){const d=t.firstChild;for(;d.firstChild;)t.appendChild(d.firstChild);t.removeChild(d)}e.insertBefore(t,r)}return[p?p.nextSibling:e.firstChild,r?r.previousSibling:e.lastChild]}};function r7(n,e,r){const C=n._vtc;C&&(e=(e?[e,...C]:[...C]).join(" ")),e==null?n.removeAttribute("class"):r?n.setAttribute("class",e):n.className=e}function i7(n,e,r){const C=n.style,D=Po(r);if(r&&!D){if(e&&!Po(e))for(const T in e)r[T]==null&&Db(C,T,"");for(const T in r)Db(C,T,r[T])}else{const T=C.display;D?e!==r&&(C.cssText=r):e&&n.removeAttribute("style"),"_vod"in n&&(C.display=T)}}const P3=/\s*!important$/;function Db(n,e,r){if(gi(r))r.forEach(C=>Db(n,e,C));else if(r==null&&(r=""),e.startsWith("--"))n.setProperty(e,r);else{const C=a7(n,e);P3.test(r)?n.setProperty(f0(C),r.replace(P3,""),"important"):n[C]=r}}const O3=["Webkit","Moz","ms"],ib={};function a7(n,e){const r=ib[e];if(r)return r;let C=tc(e);if(C!=="filter"&&C in n)return ib[e]=C;C=sf(C);for(let D=0;Dab||(h7.then(()=>ab=0),ab=Date.now());function d7(n,e){const r=C=>{if(!C._vts)C._vts=Date.now();else if(C._vts<=r.attached)return;Qu(p7(C,r.value),e,5,[C])};return r.value=n,r.attached=f7(),r}function p7(n,e){if(gi(e)){const r=n.stopImmediatePropagation;return n.stopImmediatePropagation=()=>{r.call(n),n._stopped=!0},e.map(C=>D=>!D._stopped&&C&&C(D))}else return e}const F3=/^on[a-z]/,m7=(n,e,r,C,D=!1,T,p,t,d)=>{e==="class"?r7(n,C,D):e==="style"?i7(n,r,C):my(e)?Fx(e)||u7(n,e,r,C,p):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):g7(n,e,C,D))?s7(n,e,C,T,p,t,d):(e==="true-value"?n._trueValue=C:e==="false-value"&&(n._falseValue=C),o7(n,e,C,D))};function g7(n,e,r,C){return C?!!(e==="innerHTML"||e==="textContent"||e in n&&F3.test(e)&&Fi(r)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&n.tagName==="INPUT"||e==="type"&&n.tagName==="TEXTAREA"||F3.test(e)&&Po(r)?!1:e in n}const Cf="transition",tm="animation",bh=(n,{slots:e})=>Xf(WT,m4(n),e);bh.displayName="Transition";const p4={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},v7=bh.props=Ms({},WT.props,p4),bd=(n,e=[])=>{gi(n)?n.forEach(r=>r(...e)):n&&n(...e)},B3=n=>n?gi(n)?n.some(e=>e.length>1):n.length>1:!1;function m4(n){const e={};for(const x in n)x in p4||(e[x]=n[x]);if(n.css===!1)return e;const{name:r="v",type:C,duration:D,enterFromClass:T=`${r}-enter-from`,enterActiveClass:p=`${r}-enter-active`,enterToClass:t=`${r}-enter-to`,appearFromClass:d=T,appearActiveClass:g=p,appearToClass:i=t,leaveFromClass:M=`${r}-leave-from`,leaveActiveClass:v=`${r}-leave-active`,leaveToClass:f=`${r}-leave-to`}=n,l=y7(D),a=l&&l[0],u=l&&l[1],{onBeforeEnter:o,onEnter:s,onEnterCancelled:c,onLeave:h,onLeaveCancelled:m,onBeforeAppear:w=o,onAppear:y=s,onAppearCancelled:S=c}=e,_=(x,A,L)=>{Lf(x,A?i:t),Lf(x,A?g:p),L&&L()},k=(x,A)=>{x._isLeaving=!1,Lf(x,M),Lf(x,f),Lf(x,v),A&&A()},E=x=>(A,L)=>{const b=x?y:s,R=()=>_(A,x,L);bd(b,[A,R]),N3(()=>{Lf(A,x?d:T),Uh(A,x?i:t),B3(b)||V3(A,C,a,R)})};return Ms(e,{onBeforeEnter(x){bd(o,[x]),Uh(x,T),Uh(x,p)},onBeforeAppear(x){bd(w,[x]),Uh(x,d),Uh(x,g)},onEnter:E(!1),onAppear:E(!0),onLeave(x,A){x._isLeaving=!0;const L=()=>k(x,A);Uh(x,M),v4(),Uh(x,v),N3(()=>{x._isLeaving&&(Lf(x,M),Uh(x,f),B3(h)||V3(x,C,u,L))}),bd(h,[x,L])},onEnterCancelled(x){_(x,!1),bd(c,[x])},onAppearCancelled(x){_(x,!0),bd(S,[x])},onLeaveCancelled(x){k(x),bd(m,[x])}})}function y7(n){if(n==null)return null;if(so(n))return[ob(n.enter),ob(n.leave)];{const e=ob(n);return[e,e]}}function ob(n){return g8(n)}function Uh(n,e){e.split(/\s+/).forEach(r=>r&&n.classList.add(r)),(n._vtc||(n._vtc=new Set)).add(e)}function Lf(n,e){e.split(/\s+/).forEach(C=>C&&n.classList.remove(C));const{_vtc:r}=n;r&&(r.delete(e),r.size||(n._vtc=void 0))}function N3(n){requestAnimationFrame(()=>{requestAnimationFrame(n)})}let b7=0;function V3(n,e,r,C){const D=n._endId=++b7,T=()=>{D===n._endId&&C()};if(r)return setTimeout(T,r);const{type:p,timeout:t,propCount:d}=g4(n,e);if(!p)return C();const g=p+"end";let i=0;const M=()=>{n.removeEventListener(g,v),T()},v=f=>{f.target===n&&++i>=d&&M()};setTimeout(()=>{i(r[l]||"").split(", "),D=C(`${Cf}Delay`),T=C(`${Cf}Duration`),p=j3(D,T),t=C(`${tm}Delay`),d=C(`${tm}Duration`),g=j3(t,d);let i=null,M=0,v=0;e===Cf?p>0&&(i=Cf,M=p,v=T.length):e===tm?g>0&&(i=tm,M=g,v=d.length):(M=Math.max(p,g),i=M>0?p>g?Cf:tm:null,v=i?i===Cf?T.length:d.length:0);const f=i===Cf&&/\b(transform|all)(,|$)/.test(C(`${Cf}Property`).toString());return{type:i,timeout:M,propCount:v,hasTransform:f}}function j3(n,e){for(;n.lengthU3(r)+U3(n[C])))}function U3(n){return Number(n.slice(0,-1).replace(",","."))*1e3}function v4(){return document.body.offsetHeight}const y4=new WeakMap,b4=new WeakMap,x4={name:"TransitionGroup",props:Ms({},v7,{tag:String,moveClass:String}),setup(n,{slots:e}){const r=Ey(),C=qT();let D,T;return JT(()=>{if(!D.length)return;const p=n.moveClass||`${n.name||"v"}-move`;if(!M7(D[0].el,r.vnode.el,p))return;D.forEach(w7),D.forEach(T7);const t=D.filter(k7);v4(),t.forEach(d=>{const g=d.el,i=g.style;Uh(g,p),i.transform=i.webkitTransform=i.transitionDuration="";const M=g._moveCb=v=>{v&&v.target!==g||(!v||/transform$/.test(v.propertyName))&&(g.removeEventListener("transitionend",M),g._moveCb=null,Lf(g,p))};g.addEventListener("transitionend",M)})}),()=>{const p=wi(n),t=m4(p);let d=p.tag||Yr;D=T,T=e.default?Kx(e.default()):[];for(let g=0;gdelete n.mode;x4.props;const _7=x4;function w7(n){const e=n.el;e._moveCb&&e._moveCb(),e._enterCb&&e._enterCb()}function T7(n){b4.set(n,n.el.getBoundingClientRect())}function k7(n){const e=y4.get(n),r=b4.get(n),C=e.left-r.left,D=e.top-r.top;if(C||D){const T=n.el.style;return T.transform=T.webkitTransform=`translate(${C}px,${D}px)`,T.transitionDuration="0s",n}}function M7(n,e,r){const C=n.cloneNode();n._vtc&&n._vtc.forEach(p=>{p.split(/\s+/).forEach(t=>t&&C.classList.remove(t))}),r.split(/\s+/).forEach(p=>p&&C.classList.add(p)),C.style.display="none";const D=e.nodeType===1?e:e.parentNode;D.appendChild(C);const{hasTransform:T}=g4(C);return D.removeChild(C),T}const H3=n=>{const e=n.props["onUpdate:modelValue"]||!1;return gi(e)?r=>fv(e,r):e};function A7(n){n.target.composing=!0}function G3(n){const e=n.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const S7={created(n,{modifiers:{lazy:e,trim:r,number:C}},D){n._assign=H3(D);const T=C||D.props&&D.props.type==="number";Ip(n,e?"change":"input",p=>{if(p.target.composing)return;let t=n.value;r&&(t=t.trim()),T&&(t=kb(t)),n._assign(t)}),r&&Ip(n,"change",()=>{n.value=n.value.trim()}),e||(Ip(n,"compositionstart",A7),Ip(n,"compositionend",G3),Ip(n,"change",G3))},mounted(n,{value:e}){n.value=e??""},beforeUpdate(n,{value:e,modifiers:{lazy:r,trim:C,number:D}},T){if(n._assign=H3(T),n.composing||document.activeElement===n&&n.type!=="range"&&(r||C&&n.value.trim()===e||(D||n.type==="number")&&kb(n.value)===e))return;const p=e??"";n.value!==p&&(n.value=p)}},C7=["ctrl","shift","alt","meta"],E7={stop:n=>n.stopPropagation(),prevent:n=>n.preventDefault(),self:n=>n.target!==n.currentTarget,ctrl:n=>!n.ctrlKey,shift:n=>!n.shiftKey,alt:n=>!n.altKey,meta:n=>!n.metaKey,left:n=>"button"in n&&n.button!==0,middle:n=>"button"in n&&n.button!==1,right:n=>"button"in n&&n.button!==2,exact:(n,e)=>C7.some(r=>n[`${r}Key`]&&!e.includes(r))},jp=(n,e)=>(r,...C)=>{for(let D=0;D{nm(n,!1)}):nm(n,e))},beforeUnmount(n,{value:e}){nm(n,e)}};function nm(n,e){n.style.display=e?n._vod:"none"}const L7=Ms({patchProp:m7},n7);let q3;function I7(){return q3||(q3=RE(L7))}const R7=(...n)=>{const e=I7().createApp(...n),{mount:r}=e;return e.mount=C=>{const D=P7(C);if(!D)return;const T=e._component;!Fi(T)&&!T.render&&!T.template&&(T.template=D.innerHTML),D.innerHTML="";const p=r(D,!1,D instanceof SVGElement);return D instanceof Element&&(D.removeAttribute("v-cloak"),D.setAttribute("data-v-app","")),p},e};function P7(n){return Po(n)?document.querySelector(n):n}var O7=!1;/*! +(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const D of document.querySelectorAll('link[rel="modulepreload"]'))S(D);new MutationObserver(D=>{for(const T of D)if(T.type==="childList")for(const p of T.addedNodes)p.tagName==="LINK"&&p.rel==="modulepreload"&&S(p)}).observe(document,{childList:!0,subtree:!0});function r(D){const T={};return D.integrity&&(T.integrity=D.integrity),D.referrerPolicy&&(T.referrerPolicy=D.referrerPolicy),D.crossOrigin==="use-credentials"?T.credentials="include":D.crossOrigin==="anonymous"?T.credentials="omit":T.credentials="same-origin",T}function S(D){if(D.ep)return;D.ep=!0;const T=r(D);fetch(D.href,T)}})();function zx(n,e){const r=Object.create(null),S=n.split(",");for(let D=0;D!!r[D.toLowerCase()]:D=>!!r[D]}function zs(n){if(gi(n)){const e={};for(let r=0;r{if(r){const S=r.split(a8);S.length>1&&(e[S[0].trim()]=S[1].trim())}}),e}function Ju(n){let e="";if(Po(n))e=n;else if(gi(n))for(let r=0;rPo(n)?n:n==null?"":gi(n)||lo(n)&&(n.toString===bT||!Fi(n.toString))?JSON.stringify(n,gT,2):String(n),gT=(n,e)=>e&&e.__v_isRef?gT(n,e.value):Np(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((r,[S,D])=>(r[`${S} =>`]=D,r),{})}:vT(e)?{[`Set(${e.size})`]:[...e.values()]}:lo(e)&&!gi(e)&&!xT(e)?String(e):e,ao={},Bp=[],Dc=()=>{},c8=()=>!1,h8=/^on[^a-z]/,my=n=>h8.test(n),Fx=n=>n.startsWith("onUpdate:"),Ms=Object.assign,Bx=(n,e)=>{const r=n.indexOf(e);r>-1&&n.splice(r,1)},f8=Object.prototype.hasOwnProperty,ga=(n,e)=>f8.call(n,e),gi=Array.isArray,Np=n=>gy(n)==="[object Map]",vT=n=>gy(n)==="[object Set]",Fi=n=>typeof n=="function",Po=n=>typeof n=="string",Nx=n=>typeof n=="symbol",lo=n=>n!==null&&typeof n=="object",yT=n=>lo(n)&&Fi(n.then)&&Fi(n.catch),bT=Object.prototype.toString,gy=n=>bT.call(n),d8=n=>gy(n).slice(8,-1),xT=n=>gy(n)==="[object Object]",Vx=n=>Po(n)&&n!=="NaN"&&n[0]!=="-"&&""+parseInt(n,10)===n,hv=zx(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),vy=n=>{const e=Object.create(null);return r=>e[r]||(e[r]=n(r))},p8=/-(\w)/g,tc=vy(n=>n.replace(p8,(e,r)=>r?r.toUpperCase():"")),m8=/\B([A-Z])/g,f0=vy(n=>n.replace(m8,"-$1").toLowerCase()),sf=vy(n=>n.charAt(0).toUpperCase()+n.slice(1)),Q1=vy(n=>n?`on${sf(n)}`:""),xm=(n,e)=>!Object.is(n,e),fv=(n,e)=>{for(let r=0;r{Object.defineProperty(n,e,{configurable:!0,enumerable:!1,value:r})},kb=n=>{const e=parseFloat(n);return isNaN(e)?n:e},g8=n=>{const e=Po(n)?Number(n):NaN;return isNaN(e)?n:e};let c3;const v8=()=>c3||(c3=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let du;class _T{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=du,!e&&du&&(this.index=(du.scopes||(du.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const r=du;try{return du=this,e()}finally{du=r}}}on(){du=this}off(){du=this.parent}stop(e){if(this._active){let r,S;for(r=0,S=this.effects.length;r{const e=new Set(n);return e.w=0,e.n=0,e},TT=n=>(n.w&jf)>0,kT=n=>(n.n&jf)>0,b8=({deps:n})=>{if(n.length)for(let e=0;e{const{deps:e}=n;if(e.length){let r=0;for(let S=0;S{(i==="length"||i>=d)&&t.push(g)})}else switch(r!==void 0&&t.push(p.get(r)),e){case"add":gi(n)?Vx(r)&&t.push(p.get("length")):(t.push(p.get(Fd)),Np(n)&&t.push(p.get(Ab)));break;case"delete":gi(n)||(t.push(p.get(Fd)),Np(n)&&t.push(p.get(Ab)));break;case"set":Np(n)&&t.push(p.get(Fd));break}if(t.length===1)t[0]&&Sb(t[0]);else{const d=[];for(const g of t)g&&d.push(...g);Sb(jx(d))}}function Sb(n,e){const r=gi(n)?n:[...n];for(const S of r)S.computed&&f3(S);for(const S of r)S.computed||f3(S)}function f3(n,e){(n!==Lc||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}function _8(n,e){var r;return(r=Sv.get(n))===null||r===void 0?void 0:r.get(e)}const w8=zx("__proto__,__v_isRef,__isVue"),ST=new Set(Object.getOwnPropertyNames(Symbol).filter(n=>n!=="arguments"&&n!=="caller").map(n=>Symbol[n]).filter(Nx)),T8=Hx(),k8=Hx(!1,!0),M8=Hx(!0),d3=A8();function A8(){const n={};return["includes","indexOf","lastIndexOf"].forEach(e=>{n[e]=function(...r){const S=wi(this);for(let T=0,p=this.length;T{n[e]=function(...r){d0();const S=wi(this)[e].apply(this,r);return p0(),S}}),n}function S8(n){const e=wi(this);return $l(e,"has",n),e.hasOwnProperty(n)}function Hx(n=!1,e=!1){return function(S,D,T){if(D==="__v_isReactive")return!n;if(D==="__v_isReadonly")return n;if(D==="__v_isShallow")return e;if(D==="__v_raw"&&T===(n?e?H8:RT:e?IT:LT).get(S))return S;const p=gi(S);if(!n){if(p&&ga(d3,D))return Reflect.get(d3,D,T);if(D==="hasOwnProperty")return S8}const t=Reflect.get(S,D,T);return(Nx(D)?ST.has(D):w8(D))||(n||$l(S,"get",D),e)?t:eo(t)?p&&Vx(D)?t:t.value:lo(t)?n?Hm(t):yl(t):t}}const C8=CT(),E8=CT(!0);function CT(n=!1){return function(r,S,D,T){let p=r[S];if($p(p)&&eo(p)&&!eo(D))return!1;if(!n&&(!Cv(D)&&!$p(D)&&(p=wi(p),D=wi(D)),!gi(r)&&eo(p)&&!eo(D)))return p.value=D,!0;const t=gi(r)&&Vx(S)?Number(S)n,yy=n=>Reflect.getPrototypeOf(n);function Kg(n,e,r=!1,S=!1){n=n.__v_raw;const D=wi(n),T=wi(e);r||(e!==T&&$l(D,"get",e),$l(D,"get",T));const{has:p}=yy(D),t=S?Gx:r?Yx:_m;if(p.call(D,e))return t(n.get(e));if(p.call(D,T))return t(n.get(T));n!==D&&n.get(e)}function Jg(n,e=!1){const r=this.__v_raw,S=wi(r),D=wi(n);return e||(n!==D&&$l(S,"has",n),$l(S,"has",D)),n===D?r.has(n):r.has(n)||r.has(D)}function Qg(n,e=!1){return n=n.__v_raw,!e&&$l(wi(n),"iterate",Fd),Reflect.get(n,"size",n)}function p3(n){n=wi(n);const e=wi(this);return yy(e).has.call(e,n)||(e.add(n),ef(e,"add",n,n)),this}function m3(n,e){e=wi(e);const r=wi(this),{has:S,get:D}=yy(r);let T=S.call(r,n);T||(n=wi(n),T=S.call(r,n));const p=D.call(r,n);return r.set(n,e),T?xm(e,p)&&ef(r,"set",n,e):ef(r,"add",n,e),this}function g3(n){const e=wi(this),{has:r,get:S}=yy(e);let D=r.call(e,n);D||(n=wi(n),D=r.call(e,n)),S&&S.call(e,n);const T=e.delete(n);return D&&ef(e,"delete",n,void 0),T}function v3(){const n=wi(this),e=n.size!==0,r=n.clear();return e&&ef(n,"clear",void 0,void 0),r}function ev(n,e){return function(S,D){const T=this,p=T.__v_raw,t=wi(p),d=e?Gx:n?Yx:_m;return!n&&$l(t,"iterate",Fd),p.forEach((g,i)=>S.call(D,d(g),d(i),T))}}function tv(n,e,r){return function(...S){const D=this.__v_raw,T=wi(D),p=Np(T),t=n==="entries"||n===Symbol.iterator&&p,d=n==="keys"&&p,g=D[n](...S),i=r?Gx:e?Yx:_m;return!e&&$l(T,"iterate",d?Ab:Fd),{next(){const{value:M,done:v}=g.next();return v?{value:M,done:v}:{value:t?[i(M[0]),i(M[1])]:i(M),done:v}},[Symbol.iterator](){return this}}}}function Sf(n){return function(...e){return n==="delete"?!1:this}}function D8(){const n={get(T){return Kg(this,T)},get size(){return Qg(this)},has:Jg,add:p3,set:m3,delete:g3,clear:v3,forEach:ev(!1,!1)},e={get(T){return Kg(this,T,!1,!0)},get size(){return Qg(this)},has:Jg,add:p3,set:m3,delete:g3,clear:v3,forEach:ev(!1,!0)},r={get(T){return Kg(this,T,!0)},get size(){return Qg(this,!0)},has(T){return Jg.call(this,T,!0)},add:Sf("add"),set:Sf("set"),delete:Sf("delete"),clear:Sf("clear"),forEach:ev(!0,!1)},S={get(T){return Kg(this,T,!0,!0)},get size(){return Qg(this,!0)},has(T){return Jg.call(this,T,!0)},add:Sf("add"),set:Sf("set"),delete:Sf("delete"),clear:Sf("clear"),forEach:ev(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(T=>{n[T]=tv(T,!1,!1),r[T]=tv(T,!0,!1),e[T]=tv(T,!1,!0),S[T]=tv(T,!0,!0)}),[n,r,e,S]}const[z8,F8,B8,N8]=D8();function qx(n,e){const r=e?n?N8:B8:n?F8:z8;return(S,D,T)=>D==="__v_isReactive"?!n:D==="__v_isReadonly"?n:D==="__v_raw"?S:Reflect.get(ga(r,D)&&D in S?r:S,D,T)}const V8={get:qx(!1,!1)},j8={get:qx(!1,!0)},U8={get:qx(!0,!1)},LT=new WeakMap,IT=new WeakMap,RT=new WeakMap,H8=new WeakMap;function G8(n){switch(n){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function q8(n){return n.__v_skip||!Object.isExtensible(n)?0:G8(d8(n))}function yl(n){return $p(n)?n:Wx(n,!1,ET,V8,LT)}function W8(n){return Wx(n,!1,O8,j8,IT)}function Hm(n){return Wx(n,!0,P8,U8,RT)}function Wx(n,e,r,S,D){if(!lo(n)||n.__v_raw&&!(e&&n.__v_isReactive))return n;const T=D.get(n);if(T)return T;const p=q8(n);if(p===0)return n;const t=new Proxy(n,p===2?S:r);return D.set(n,t),t}function Bf(n){return $p(n)?Bf(n.__v_raw):!!(n&&n.__v_isReactive)}function $p(n){return!!(n&&n.__v_isReadonly)}function Cv(n){return!!(n&&n.__v_isShallow)}function PT(n){return Bf(n)||$p(n)}function wi(n){const e=n&&n.__v_raw;return e?wi(e):n}function Zp(n){return Av(n,"__v_skip",!0),n}const _m=n=>lo(n)?yl(n):n,Yx=n=>lo(n)?Hm(n):n;function OT(n){Ff&&Lc&&(n=wi(n),AT(n.dep||(n.dep=jx())))}function DT(n,e){n=wi(n);const r=n.dep;r&&Sb(r)}function eo(n){return!!(n&&n.__v_isRef===!0)}function Vr(n){return zT(n,!1)}function Wr(n){return zT(n,!0)}function zT(n,e){return eo(n)?n:new Y8(n,e)}class Y8{constructor(e,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?e:wi(e),this._value=r?e:_m(e)}get value(){return OT(this),this._value}set value(e){const r=this.__v_isShallow||Cv(e)||$p(e);e=r?e:wi(e),xm(e,this._rawValue)&&(this._rawValue=e,this._value=r?e:_m(e),DT(this))}}function yu(n){return eo(n)?n.value:n}const $8={get:(n,e,r)=>yu(Reflect.get(n,e,r)),set:(n,e,r,S)=>{const D=n[e];return eo(D)&&!eo(r)?(D.value=r,!0):Reflect.set(n,e,r,S)}};function FT(n){return Bf(n)?n:new Proxy(n,$8)}function by(n){const e=gi(n)?new Array(n.length):{};for(const r in n)e[r]=Cr(n,r);return e}class Z8{constructor(e,r,S){this._object=e,this._key=r,this._defaultValue=S,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return _8(wi(this._object),this._key)}}function Cr(n,e,r){const S=n[e];return eo(S)?S:new Z8(n,e,r)}var BT;class X8{constructor(e,r,S,D){this._setter=r,this.dep=void 0,this.__v_isRef=!0,this[BT]=!1,this._dirty=!0,this.effect=new Ux(e,()=>{this._dirty||(this._dirty=!0,DT(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!D,this.__v_isReadonly=S}get value(){const e=wi(this);return OT(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}BT="__v_isReadonly";function K8(n,e,r=!1){let S,D;const T=Fi(n);return T?(S=n,D=Dc):(S=n.get,D=n.set),new X8(S,D,T||!D,r)}function Nf(n,e,r,S){let D;try{D=S?n(...S):n()}catch(T){xy(T,e,r)}return D}function Qu(n,e,r,S){if(Fi(n)){const T=Nf(n,e,r,S);return T&&yT(T)&&T.catch(p=>{xy(p,e,r)}),T}const D=[];for(let T=0;T>>1;Tm($s[S])sh&&$s.splice(e,1)}function tE(n){gi(n)?Vp.push(...n):(!Gh||!Gh.includes(n,n.allowRecurse?kd+1:kd))&&Vp.push(n),VT()}function y3(n,e=wm?sh+1:0){for(;e<$s.length;e++){const r=$s[e];r&&r.pre&&($s.splice(e,1),e--,r())}}function jT(n){if(Vp.length){const e=[...new Set(Vp)];if(Vp.length=0,Gh){Gh.push(...e);return}for(Gh=e,Gh.sort((r,S)=>Tm(r)-Tm(S)),kd=0;kdn.id==null?1/0:n.id,nE=(n,e)=>{const r=Tm(n)-Tm(e);if(r===0){if(n.pre&&!e.pre)return-1;if(e.pre&&!n.pre)return 1}return r};function UT(n){Cb=!1,wm=!0,$s.sort(nE);const e=Dc;try{for(sh=0;sh<$s.length;sh++){const r=$s[sh];r&&r.active!==!1&&Nf(r,null,14)}}finally{sh=0,$s.length=0,jT(),wm=!1,$x=null,($s.length||Vp.length)&&UT()}}function rE(n,e,...r){if(n.isUnmounted)return;const S=n.vnode.props||ao;let D=r;const T=e.startsWith("update:"),p=T&&e.slice(7);if(p&&p in S){const i=`${p==="modelValue"?"model":p}Modifiers`,{number:M,trim:v}=S[i]||ao;v&&(D=r.map(f=>Po(f)?f.trim():f)),M&&(D=r.map(kb))}let t,d=S[t=Q1(e)]||S[t=Q1(tc(e))];!d&&T&&(d=S[t=Q1(f0(e))]),d&&Qu(d,n,6,D);const g=S[t+"Once"];if(g){if(!n.emitted)n.emitted={};else if(n.emitted[t])return;n.emitted[t]=!0,Qu(g,n,6,D)}}function HT(n,e,r=!1){const S=e.emitsCache,D=S.get(n);if(D!==void 0)return D;const T=n.emits;let p={},t=!1;if(!Fi(n)){const d=g=>{const i=HT(g,e,!0);i&&(t=!0,Ms(p,i))};!r&&e.mixins.length&&e.mixins.forEach(d),n.extends&&d(n.extends),n.mixins&&n.mixins.forEach(d)}return!T&&!t?(lo(n)&&S.set(n,null),null):(gi(T)?T.forEach(d=>p[d]=null):Ms(p,T),lo(n)&&S.set(n,p),p)}function _y(n,e){return!n||!my(e)?!1:(e=e.slice(2).replace(/Once$/,""),ga(n,e[0].toLowerCase()+e.slice(1))||ga(n,f0(e))||ga(n,e))}let Fs=null,wy=null;function Ev(n){const e=Fs;return Fs=n,wy=n&&n.type.__scopeId||null,e}function Ty(n){wy=n}function ky(){wy=null}function ci(n,e=Fs,r){if(!e||n._n)return n;const S=(...D)=>{S._d&&E3(-1);const T=Ev(e);let p;try{p=n(...D)}finally{Ev(T),S._d&&E3(1)}return p};return S._n=!0,S._c=!0,S._d=!0,S}function eb(n){const{type:e,vnode:r,proxy:S,withProxy:D,props:T,propsOptions:[p],slots:t,attrs:d,emit:g,render:i,renderCache:M,data:v,setupState:f,ctx:l,inheritAttrs:a}=n;let u,o;const s=Ev(n);try{if(r.shapeFlag&4){const c=D||S;u=oh(i.call(c,c,M,T,f,v,l)),o=d}else{const c=e;u=oh(c.length>1?c(T,{attrs:d,slots:t,emit:g}):c(T,null)),o=e.props?d:iE(d)}}catch(c){dm.length=0,xy(c,n,1),u=gt(ec)}let h=u;if(o&&a!==!1){const c=Object.keys(o),{shapeFlag:m}=h;c.length&&m&7&&(p&&c.some(Fx)&&(o=aE(o,p)),h=tf(h,o))}return r.dirs&&(h=tf(h),h.dirs=h.dirs?h.dirs.concat(r.dirs):r.dirs),r.transition&&(h.transition=r.transition),u=h,Ev(s),u}const iE=n=>{let e;for(const r in n)(r==="class"||r==="style"||my(r))&&((e||(e={}))[r]=n[r]);return e},aE=(n,e)=>{const r={};for(const S in n)(!Fx(S)||!(S.slice(9)in e))&&(r[S]=n[S]);return r};function oE(n,e,r){const{props:S,children:D,component:T}=n,{props:p,children:t,patchFlag:d}=e,g=T.emitsOptions;if(e.dirs||e.transition)return!0;if(r&&d>=0){if(d&1024)return!0;if(d&16)return S?b3(S,p,g):!!p;if(d&8){const i=e.dynamicProps;for(let M=0;Mn.__isSuspense;function uE(n,e){e&&e.pendingBranch?gi(n)?e.effects.push(...n):e.effects.push(n):tE(n)}function ts(n,e){if(Wo){let r=Wo.provides;const S=Wo.parent&&Wo.parent.provides;S===r&&(r=Wo.provides=Object.create(S)),r[n]=e}}function ka(n,e,r=!1){const S=Wo||Fs;if(S){const D=S.parent==null?S.vnode.appContext&&S.vnode.appContext.provides:S.parent.provides;if(D&&n in D)return D[n];if(arguments.length>1)return r&&Fi(e)?e.call(S.proxy):e}}function wu(n,e){return Xx(n,null,e)}const nv={};function $r(n,e,r){return Xx(n,e,r)}function Xx(n,e,{immediate:r,deep:S,flush:D,onTrack:T,onTrigger:p}=ao){const t=wT()===(Wo==null?void 0:Wo.scope)?Wo:null;let d,g=!1,i=!1;if(eo(n)?(d=()=>n.value,g=Cv(n)):Bf(n)?(d=()=>n,S=!0):gi(n)?(i=!0,g=n.some(h=>Bf(h)||Cv(h)),d=()=>n.map(h=>{if(eo(h))return h.value;if(Bf(h))return Sd(h);if(Fi(h))return Nf(h,t,2)})):Fi(n)?e?d=()=>Nf(n,t,2):d=()=>{if(!(t&&t.isUnmounted))return M&&M(),Qu(n,t,3,[v])}:d=Dc,e&&S){const h=d;d=()=>Sd(h())}let M,v=h=>{M=o.onStop=()=>{Nf(h,t,4)}},f;if(Sm)if(v=Dc,e?r&&Qu(e,t,3,[d(),i?[]:void 0,v]):d(),D==="sync"){const h=QE();f=h.__watcherHandles||(h.__watcherHandles=[])}else return Dc;let l=i?new Array(n.length).fill(nv):nv;const a=()=>{if(o.active)if(e){const h=o.run();(S||g||(i?h.some((c,m)=>xm(c,l[m])):xm(h,l)))&&(M&&M(),Qu(e,t,3,[h,l===nv?void 0:i&&l[0]===nv?[]:l,v]),l=h)}else o.run()};a.allowRecurse=!!e;let u;D==="sync"?u=a:D==="post"?u=()=>Vl(a,t&&t.suspense):(a.pre=!0,t&&(a.id=t.uid),u=()=>Zx(a));const o=new Ux(d,u);e?r?a():l=o.run():D==="post"?Vl(o.run.bind(o),t&&t.suspense):o.run();const s=()=>{o.stop(),t&&t.scope&&Bx(t.scope.effects,o)};return f&&f.push(s),s}function cE(n,e,r){const S=this.proxy,D=Po(n)?n.includes(".")?GT(S,n):()=>S[n]:n.bind(S,S);let T;Fi(e)?T=e:(T=e.handler,r=e);const p=Wo;Xp(this);const t=Xx(D,T.bind(S),r);return p?Xp(p):Bd(),t}function GT(n,e){const r=e.split(".");return()=>{let S=n;for(let D=0;D{Sd(r,e)});else if(xT(n))for(const r in n)Sd(n[r],e);return n}function qT(){const n={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ks(()=>{n.isMounted=!0}),kl(()=>{n.isUnmounting=!0}),n}const Gu=[Function,Array],hE={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Gu,onEnter:Gu,onAfterEnter:Gu,onEnterCancelled:Gu,onBeforeLeave:Gu,onLeave:Gu,onAfterLeave:Gu,onLeaveCancelled:Gu,onBeforeAppear:Gu,onAppear:Gu,onAfterAppear:Gu,onAppearCancelled:Gu},setup(n,{slots:e}){const r=Ey(),S=qT();let D;return()=>{const T=e.default&&Kx(e.default(),!0);if(!T||!T.length)return;let p=T[0];if(T.length>1){for(const a of T)if(a.type!==ec){p=a;break}}const t=wi(n),{mode:d}=t;if(S.isLeaving)return tb(p);const g=x3(p);if(!g)return tb(p);const i=km(g,t,S,r);Mm(g,i);const M=r.subTree,v=M&&x3(M);let f=!1;const{getTransitionKey:l}=g.type;if(l){const a=l();D===void 0?D=a:a!==D&&(D=a,f=!0)}if(v&&v.type!==ec&&(!Md(g,v)||f)){const a=km(v,t,S,r);if(Mm(v,a),d==="out-in")return S.isLeaving=!0,a.afterLeave=()=>{S.isLeaving=!1,r.update.active!==!1&&r.update()},tb(p);d==="in-out"&&g.type!==ec&&(a.delayLeave=(u,o,s)=>{const h=YT(S,v);h[String(v.key)]=v,u._leaveCb=()=>{o(),u._leaveCb=void 0,delete i.delayedLeave},i.delayedLeave=s})}return p}}},WT=hE;function YT(n,e){const{leavingVNodes:r}=n;let S=r.get(e.type);return S||(S=Object.create(null),r.set(e.type,S)),S}function km(n,e,r,S){const{appear:D,mode:T,persisted:p=!1,onBeforeEnter:t,onEnter:d,onAfterEnter:g,onEnterCancelled:i,onBeforeLeave:M,onLeave:v,onAfterLeave:f,onLeaveCancelled:l,onBeforeAppear:a,onAppear:u,onAfterAppear:o,onAppearCancelled:s}=e,h=String(n.key),c=YT(r,n),m=(C,_)=>{C&&Qu(C,S,9,_)},w=(C,_)=>{const k=_[1];m(C,_),gi(C)?C.every(E=>E.length<=1)&&k():C.length<=1&&k()},y={mode:T,persisted:p,beforeEnter(C){let _=t;if(!r.isMounted)if(D)_=a||t;else return;C._leaveCb&&C._leaveCb(!0);const k=c[h];k&&Md(n,k)&&k.el._leaveCb&&k.el._leaveCb(),m(_,[C])},enter(C){let _=d,k=g,E=i;if(!r.isMounted)if(D)_=u||d,k=o||g,E=s||i;else return;let x=!1;const A=C._enterCb=L=>{x||(x=!0,L?m(E,[C]):m(k,[C]),y.delayedLeave&&y.delayedLeave(),C._enterCb=void 0)};_?w(_,[C,A]):A()},leave(C,_){const k=String(n.key);if(C._enterCb&&C._enterCb(!0),r.isUnmounting)return _();m(M,[C]);let E=!1;const x=C._leaveCb=A=>{E||(E=!0,_(),A?m(l,[C]):m(f,[C]),C._leaveCb=void 0,c[k]===n&&delete c[k])};c[k]=n,v?w(v,[C,x]):x()},clone(C){return km(C,e,r,S)}};return y}function tb(n){if(My(n))return n=tf(n),n.children=null,n}function x3(n){return My(n)?n.children?n.children[0]:void 0:n}function Mm(n,e){n.shapeFlag&6&&n.component?Mm(n.component.subTree,e):n.shapeFlag&128?(n.ssContent.transition=e.clone(n.ssContent),n.ssFallback.transition=e.clone(n.ssFallback)):n.transition=e}function Kx(n,e=!1,r){let S=[],D=0;for(let T=0;T1)for(let T=0;T!!n.type.__asyncLoader,My=n=>n.type.__isKeepAlive;function $T(n,e){XT(n,"a",e)}function ZT(n,e){XT(n,"da",e)}function XT(n,e,r=Wo){const S=n.__wdc||(n.__wdc=()=>{let D=r;for(;D;){if(D.isDeactivated)return;D=D.parent}return n()});if(Ay(e,S,r),r){let D=r.parent;for(;D&&D.parent;)My(D.parent.vnode)&&fE(S,e,r,D),D=D.parent}}function fE(n,e,r,S){const D=Ay(e,n,S,!0);QT(()=>{Bx(S[e],D)},r)}function Ay(n,e,r=Wo,S=!1){if(r){const D=r[n]||(r[n]=[]),T=e.__weh||(e.__weh=(...p)=>{if(r.isUnmounted)return;d0(),Xp(r);const t=Qu(e,r,n,p);return Bd(),p0(),t});return S?D.unshift(T):D.push(T),T}}const lf=n=>(e,r=Wo)=>(!Sm||n==="sp")&&Ay(n,(...S)=>e(...S),r),Sy=lf("bm"),Ks=lf("m"),KT=lf("bu"),JT=lf("u"),kl=lf("bum"),QT=lf("um"),dE=lf("sp"),pE=lf("rtg"),mE=lf("rtc");function gE(n,e=Wo){Ay("ec",n,e)}function Co(n,e){const r=Fs;if(r===null)return n;const S=Ly(r)||r.proxy,D=n.dirs||(n.dirs=[]);for(let T=0;Te(p,t,void 0,T&&T[t]));else{const p=Object.keys(n);D=new Array(p.length);for(let t=0,d=p.length;tIv(e)?!(e.type===ec||e.type===Yr&&!t4(e.children)):!0)?n:null}const Eb=n=>n?f4(n)?Ly(n)||n.proxy:Eb(n.parent):null,hm=Ms(Object.create(null),{$:n=>n,$el:n=>n.vnode.el,$data:n=>n.data,$props:n=>n.props,$attrs:n=>n.attrs,$slots:n=>n.slots,$refs:n=>n.refs,$parent:n=>Eb(n.parent),$root:n=>Eb(n.root),$emit:n=>n.emit,$options:n=>e2(n),$forceUpdate:n=>n.f||(n.f=()=>Zx(n.update)),$nextTick:n=>n.n||(n.n=Ua.bind(n.proxy)),$watch:n=>cE.bind(n)}),rb=(n,e)=>n!==ao&&!n.__isScriptSetup&&ga(n,e),bE={get({_:n},e){const{ctx:r,setupState:S,data:D,props:T,accessCache:p,type:t,appContext:d}=n;let g;if(e[0]!=="$"){const f=p[e];if(f!==void 0)switch(f){case 1:return S[e];case 2:return D[e];case 4:return r[e];case 3:return T[e]}else{if(rb(S,e))return p[e]=1,S[e];if(D!==ao&&ga(D,e))return p[e]=2,D[e];if((g=n.propsOptions[0])&&ga(g,e))return p[e]=3,T[e];if(r!==ao&&ga(r,e))return p[e]=4,r[e];Lb&&(p[e]=0)}}const i=hm[e];let M,v;if(i)return e==="$attrs"&&$l(n,"get",e),i(n);if((M=t.__cssModules)&&(M=M[e]))return M;if(r!==ao&&ga(r,e))return p[e]=4,r[e];if(v=d.config.globalProperties,ga(v,e))return v[e]},set({_:n},e,r){const{data:S,setupState:D,ctx:T}=n;return rb(D,e)?(D[e]=r,!0):S!==ao&&ga(S,e)?(S[e]=r,!0):ga(n.props,e)||e[0]==="$"&&e.slice(1)in n?!1:(T[e]=r,!0)},has({_:{data:n,setupState:e,accessCache:r,ctx:S,appContext:D,propsOptions:T}},p){let t;return!!r[p]||n!==ao&&ga(n,p)||rb(e,p)||(t=T[0])&&ga(t,p)||ga(S,p)||ga(hm,p)||ga(D.config.globalProperties,p)},defineProperty(n,e,r){return r.get!=null?n._.accessCache[e]=0:ga(r,"value")&&this.set(n,e,r.value,null),Reflect.defineProperty(n,e,r)}};let Lb=!0;function xE(n){const e=e2(n),r=n.proxy,S=n.ctx;Lb=!1,e.beforeCreate&&w3(e.beforeCreate,n,"bc");const{data:D,computed:T,methods:p,watch:t,provide:d,inject:g,created:i,beforeMount:M,mounted:v,beforeUpdate:f,updated:l,activated:a,deactivated:u,beforeDestroy:o,beforeUnmount:s,destroyed:h,unmounted:c,render:m,renderTracked:w,renderTriggered:y,errorCaptured:C,serverPrefetch:_,expose:k,inheritAttrs:E,components:x,directives:A,filters:L}=e;if(g&&_E(g,S,null,n.appContext.config.unwrapInjectedRef),p)for(const I in p){const O=p[I];Fi(O)&&(S[I]=O.bind(r))}if(D){const I=D.call(r,r);lo(I)&&(n.data=yl(I))}if(Lb=!0,T)for(const I in T){const O=T[I],z=Fi(O)?O.bind(r,r):Fi(O.get)?O.get.bind(r,r):Dc,F=!Fi(O)&&Fi(O.set)?O.set.bind(r):Dc,B=cn({get:z,set:F});Object.defineProperty(S,I,{enumerable:!0,configurable:!0,get:()=>B.value,set:N=>B.value=N})}if(t)for(const I in t)n4(t[I],S,r,I);if(d){const I=Fi(d)?d.call(r):d;Reflect.ownKeys(I).forEach(O=>{ts(O,I[O])})}i&&w3(i,n,"c");function R(I,O){gi(O)?O.forEach(z=>I(z.bind(r))):O&&I(O.bind(r))}if(R(Sy,M),R(Ks,v),R(KT,f),R(JT,l),R($T,a),R(ZT,u),R(gE,C),R(mE,w),R(pE,y),R(kl,s),R(QT,c),R(dE,_),gi(k))if(k.length){const I=n.exposed||(n.exposed={});k.forEach(O=>{Object.defineProperty(I,O,{get:()=>r[O],set:z=>r[O]=z})})}else n.exposed||(n.exposed={});m&&n.render===Dc&&(n.render=m),E!=null&&(n.inheritAttrs=E),x&&(n.components=x),A&&(n.directives=A)}function _E(n,e,r=Dc,S=!1){gi(n)&&(n=Ib(n));for(const D in n){const T=n[D];let p;lo(T)?"default"in T?p=ka(T.from||D,T.default,!0):p=ka(T.from||D):p=ka(T),eo(p)&&S?Object.defineProperty(e,D,{enumerable:!0,configurable:!0,get:()=>p.value,set:t=>p.value=t}):e[D]=p}}function w3(n,e,r){Qu(gi(n)?n.map(S=>S.bind(e.proxy)):n.bind(e.proxy),e,r)}function n4(n,e,r,S){const D=S.includes(".")?GT(r,S):()=>r[S];if(Po(n)){const T=e[n];Fi(T)&&$r(D,T)}else if(Fi(n))$r(D,n.bind(r));else if(lo(n))if(gi(n))n.forEach(T=>n4(T,e,r,S));else{const T=Fi(n.handler)?n.handler.bind(r):e[n.handler];Fi(T)&&$r(D,T,n)}}function e2(n){const e=n.type,{mixins:r,extends:S}=e,{mixins:D,optionsCache:T,config:{optionMergeStrategies:p}}=n.appContext,t=T.get(e);let d;return t?d=t:!D.length&&!r&&!S?d=e:(d={},D.length&&D.forEach(g=>Lv(d,g,p,!0)),Lv(d,e,p)),lo(e)&&T.set(e,d),d}function Lv(n,e,r,S=!1){const{mixins:D,extends:T}=e;T&&Lv(n,T,r,!0),D&&D.forEach(p=>Lv(n,p,r,!0));for(const p in e)if(!(S&&p==="expose")){const t=wE[p]||r&&r[p];n[p]=t?t(n[p],e[p]):e[p]}return n}const wE={data:T3,props:Td,emits:Td,methods:Td,computed:Td,beforeCreate:pl,created:pl,beforeMount:pl,mounted:pl,beforeUpdate:pl,updated:pl,beforeDestroy:pl,beforeUnmount:pl,destroyed:pl,unmounted:pl,activated:pl,deactivated:pl,errorCaptured:pl,serverPrefetch:pl,components:Td,directives:Td,watch:kE,provide:T3,inject:TE};function T3(n,e){return e?n?function(){return Ms(Fi(n)?n.call(this,this):n,Fi(e)?e.call(this,this):e)}:e:n}function TE(n,e){return Td(Ib(n),Ib(e))}function Ib(n){if(gi(n)){const e={};for(let r=0;r0)&&!(p&16)){if(p&8){const i=n.vnode.dynamicProps;for(let M=0;M{d=!0;const[v,f]=i4(M,e,!0);Ms(p,v),f&&t.push(...f)};!r&&e.mixins.length&&e.mixins.forEach(i),n.extends&&i(n.extends),n.mixins&&n.mixins.forEach(i)}if(!T&&!d)return lo(n)&&S.set(n,Bp),Bp;if(gi(T))for(let i=0;i-1,f[1]=a<0||l-1||ga(f,"default"))&&t.push(M)}}}const g=[p,t];return lo(n)&&S.set(n,g),g}function k3(n){return n[0]!=="$"}function M3(n){const e=n&&n.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:n===null?"null":""}function A3(n,e){return M3(n)===M3(e)}function S3(n,e){return gi(e)?e.findIndex(r=>A3(r,n)):Fi(e)&&A3(e,n)?0:-1}const a4=n=>n[0]==="_"||n==="$stable",t2=n=>gi(n)?n.map(oh):[oh(n)],SE=(n,e,r)=>{if(e._n)return e;const S=ci((...D)=>t2(e(...D)),r);return S._c=!1,S},o4=(n,e,r)=>{const S=n._ctx;for(const D in n){if(a4(D))continue;const T=n[D];if(Fi(T))e[D]=SE(D,T,S);else if(T!=null){const p=t2(T);e[D]=()=>p}}},s4=(n,e)=>{const r=t2(e);n.slots.default=()=>r},CE=(n,e)=>{if(n.vnode.shapeFlag&32){const r=e._;r?(n.slots=wi(e),Av(e,"_",r)):o4(e,n.slots={})}else n.slots={},e&&s4(n,e);Av(n.slots,Cy,1)},EE=(n,e,r)=>{const{vnode:S,slots:D}=n;let T=!0,p=ao;if(S.shapeFlag&32){const t=e._;t?r&&t===1?T=!1:(Ms(D,e),!r&&t===1&&delete D._):(T=!e.$stable,o4(e,D)),p=e}else e&&(s4(n,e),p={default:1});if(T)for(const t in D)!a4(t)&&!(t in p)&&delete D[t]};function l4(){return{app:null,config:{isNativeTag:c8,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let LE=0;function IE(n,e){return function(S,D=null){Fi(S)||(S=Object.assign({},S)),D!=null&&!lo(D)&&(D=null);const T=l4(),p=new Set;let t=!1;const d=T.app={_uid:LE++,_component:S,_props:D,_container:null,_context:T,_instance:null,version:e7,get config(){return T.config},set config(g){},use(g,...i){return p.has(g)||(g&&Fi(g.install)?(p.add(g),g.install(d,...i)):Fi(g)&&(p.add(g),g(d,...i))),d},mixin(g){return T.mixins.includes(g)||T.mixins.push(g),d},component(g,i){return i?(T.components[g]=i,d):T.components[g]},directive(g,i){return i?(T.directives[g]=i,d):T.directives[g]},mount(g,i,M){if(!t){const v=gt(S,D);return v.appContext=T,i&&e?e(v,g):n(v,g,M),t=!0,d._container=g,g.__vue_app__=d,Ly(v.component)||v.component.proxy}},unmount(){t&&(n(null,d._container),delete d._container.__vue_app__)},provide(g,i){return T.provides[g]=i,d}};return d}}function Pb(n,e,r,S,D=!1){if(gi(n)){n.forEach((v,f)=>Pb(v,e&&(gi(e)?e[f]:e),r,S,D));return}if(cm(S)&&!D)return;const T=S.shapeFlag&4?Ly(S.component)||S.component.proxy:S.el,p=D?null:T,{i:t,r:d}=n,g=e&&e.r,i=t.refs===ao?t.refs={}:t.refs,M=t.setupState;if(g!=null&&g!==d&&(Po(g)?(i[g]=null,ga(M,g)&&(M[g]=null)):eo(g)&&(g.value=null)),Fi(d))Nf(d,t,12,[p,i]);else{const v=Po(d),f=eo(d);if(v||f){const l=()=>{if(n.f){const a=v?ga(M,d)?M[d]:i[d]:d.value;D?gi(a)&&Bx(a,T):gi(a)?a.includes(T)||a.push(T):v?(i[d]=[T],ga(M,d)&&(M[d]=i[d])):(d.value=[T],n.k&&(i[n.k]=d.value))}else v?(i[d]=p,ga(M,d)&&(M[d]=p)):f&&(d.value=p,n.k&&(i[n.k]=p))};p?(l.id=-1,Vl(l,r)):l()}}}const Vl=uE;function RE(n){return PE(n)}function PE(n,e){const r=v8();r.__VUE__=!0;const{insert:S,remove:D,patchProp:T,createElement:p,createText:t,createComment:d,setText:g,setElementText:i,parentNode:M,nextSibling:v,setScopeId:f=Dc,insertStaticContent:l}=n,a=(Z,X,Q,re=null,ie=null,oe=null,ue=!1,ce=null,ye=!!X.dynamicChildren)=>{if(Z===X)return;Z&&!Md(Z,X)&&(re=G(Z),N(Z,ie,oe,!0),Z=null),X.patchFlag===-2&&(ye=!1,X.dynamicChildren=null);const{type:de,ref:me,shapeFlag:pe}=X;switch(de){case Gm:u(Z,X,Q,re);break;case ec:o(Z,X,Q,re);break;case dv:Z==null&&s(X,Q,re,ue);break;case Yr:x(Z,X,Q,re,ie,oe,ue,ce,ye);break;default:pe&1?m(Z,X,Q,re,ie,oe,ue,ce,ye):pe&6?A(Z,X,Q,re,ie,oe,ue,ce,ye):(pe&64||pe&128)&&de.process(Z,X,Q,re,ie,oe,ue,ce,ye,H)}me!=null&&ie&&Pb(me,Z&&Z.ref,oe,X||Z,!X)},u=(Z,X,Q,re)=>{if(Z==null)S(X.el=t(X.children),Q,re);else{const ie=X.el=Z.el;X.children!==Z.children&&g(ie,X.children)}},o=(Z,X,Q,re)=>{Z==null?S(X.el=d(X.children||""),Q,re):X.el=Z.el},s=(Z,X,Q,re)=>{[Z.el,Z.anchor]=l(Z.children,X,Q,re,Z.el,Z.anchor)},h=({el:Z,anchor:X},Q,re)=>{let ie;for(;Z&&Z!==X;)ie=v(Z),S(Z,Q,re),Z=ie;S(X,Q,re)},c=({el:Z,anchor:X})=>{let Q;for(;Z&&Z!==X;)Q=v(Z),D(Z),Z=Q;D(X)},m=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{ue=ue||X.type==="svg",Z==null?w(X,Q,re,ie,oe,ue,ce,ye):_(Z,X,ie,oe,ue,ce,ye)},w=(Z,X,Q,re,ie,oe,ue,ce)=>{let ye,de;const{type:me,props:pe,shapeFlag:xe,transition:Pe,dirs:_e}=Z;if(ye=Z.el=p(Z.type,oe,pe&&pe.is,pe),xe&8?i(ye,Z.children):xe&16&&C(Z.children,ye,null,re,ie,oe&&me!=="foreignObject",ue,ce),_e&&vd(Z,null,re,"created"),y(ye,Z,Z.scopeId,ue,re),pe){for(const Se in pe)Se!=="value"&&!hv(Se)&&T(ye,Se,null,pe[Se],oe,Z.children,re,ie,U);"value"in pe&&T(ye,"value",null,pe.value),(de=pe.onVnodeBeforeMount)&&nh(de,re,Z)}_e&&vd(Z,null,re,"beforeMount");const Me=(!ie||ie&&!ie.pendingBranch)&&Pe&&!Pe.persisted;Me&&Pe.beforeEnter(ye),S(ye,X,Q),((de=pe&&pe.onVnodeMounted)||Me||_e)&&Vl(()=>{de&&nh(de,re,Z),Me&&Pe.enter(ye),_e&&vd(Z,null,re,"mounted")},ie)},y=(Z,X,Q,re,ie)=>{if(Q&&f(Z,Q),re)for(let oe=0;oe{for(let de=ye;de{const ce=X.el=Z.el;let{patchFlag:ye,dynamicChildren:de,dirs:me}=X;ye|=Z.patchFlag&16;const pe=Z.props||ao,xe=X.props||ao;let Pe;Q&&yd(Q,!1),(Pe=xe.onVnodeBeforeUpdate)&&nh(Pe,Q,X,Z),me&&vd(X,Z,Q,"beforeUpdate"),Q&&yd(Q,!0);const _e=ie&&X.type!=="foreignObject";if(de?k(Z.dynamicChildren,de,ce,Q,re,_e,oe):ue||O(Z,X,ce,null,Q,re,_e,oe,!1),ye>0){if(ye&16)E(ce,X,pe,xe,Q,re,ie);else if(ye&2&&pe.class!==xe.class&&T(ce,"class",null,xe.class,ie),ye&4&&T(ce,"style",pe.style,xe.style,ie),ye&8){const Me=X.dynamicProps;for(let Se=0;Se{Pe&&nh(Pe,Q,X,Z),me&&vd(X,Z,Q,"updated")},re)},k=(Z,X,Q,re,ie,oe,ue)=>{for(let ce=0;ce{if(Q!==re){if(Q!==ao)for(const ce in Q)!hv(ce)&&!(ce in re)&&T(Z,ce,Q[ce],null,ue,X.children,ie,oe,U);for(const ce in re){if(hv(ce))continue;const ye=re[ce],de=Q[ce];ye!==de&&ce!=="value"&&T(Z,ce,de,ye,ue,X.children,ie,oe,U)}"value"in re&&T(Z,"value",Q.value,re.value)}},x=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{const de=X.el=Z?Z.el:t(""),me=X.anchor=Z?Z.anchor:t("");let{patchFlag:pe,dynamicChildren:xe,slotScopeIds:Pe}=X;Pe&&(ce=ce?ce.concat(Pe):Pe),Z==null?(S(de,Q,re),S(me,Q,re),C(X.children,Q,me,ie,oe,ue,ce,ye)):pe>0&&pe&64&&xe&&Z.dynamicChildren?(k(Z.dynamicChildren,xe,Q,ie,oe,ue,ce),(X.key!=null||ie&&X===ie.subTree)&&n2(Z,X,!0)):O(Z,X,Q,me,ie,oe,ue,ce,ye)},A=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{X.slotScopeIds=ce,Z==null?X.shapeFlag&512?ie.ctx.activate(X,Q,re,ue,ye):L(X,Q,re,ie,oe,ue,ye):b(Z,X,ye)},L=(Z,X,Q,re,ie,oe,ue)=>{const ce=Z.component=qE(Z,re,ie);if(My(Z)&&(ce.ctx.renderer=H),WE(ce),ce.asyncDep){if(ie&&ie.registerDep(ce,R),!Z.el){const ye=ce.subTree=gt(ec);o(null,ye,X,Q)}return}R(ce,Z,X,Q,ie,oe,ue)},b=(Z,X,Q)=>{const re=X.component=Z.component;if(oE(Z,X,Q))if(re.asyncDep&&!re.asyncResolved){I(re,X,Q);return}else re.next=X,eE(re.update),re.update();else X.el=Z.el,re.vnode=X},R=(Z,X,Q,re,ie,oe,ue)=>{const ce=()=>{if(Z.isMounted){let{next:me,bu:pe,u:xe,parent:Pe,vnode:_e}=Z,Me=me,Se;yd(Z,!1),me?(me.el=_e.el,I(Z,me,ue)):me=_e,pe&&fv(pe),(Se=me.props&&me.props.onVnodeBeforeUpdate)&&nh(Se,Pe,me,_e),yd(Z,!0);const Ce=eb(Z),ae=Z.subTree;Z.subTree=Ce,a(ae,Ce,M(ae.el),G(ae),Z,ie,oe),me.el=Ce.el,Me===null&&sE(Z,Ce.el),xe&&Vl(xe,ie),(Se=me.props&&me.props.onVnodeUpdated)&&Vl(()=>nh(Se,Pe,me,_e),ie)}else{let me;const{el:pe,props:xe}=X,{bm:Pe,m:_e,parent:Me}=Z,Se=cm(X);if(yd(Z,!1),Pe&&fv(Pe),!Se&&(me=xe&&xe.onVnodeBeforeMount)&&nh(me,Me,X),yd(Z,!0),pe&&te){const Ce=()=>{Z.subTree=eb(Z),te(pe,Z.subTree,Z,ie,null)};Se?X.type.__asyncLoader().then(()=>!Z.isUnmounted&&Ce()):Ce()}else{const Ce=Z.subTree=eb(Z);a(null,Ce,Q,re,Z,ie,oe),X.el=Ce.el}if(_e&&Vl(_e,ie),!Se&&(me=xe&&xe.onVnodeMounted)){const Ce=X;Vl(()=>nh(me,Me,Ce),ie)}(X.shapeFlag&256||Me&&cm(Me.vnode)&&Me.vnode.shapeFlag&256)&&Z.a&&Vl(Z.a,ie),Z.isMounted=!0,X=Q=re=null}},ye=Z.effect=new Ux(ce,()=>Zx(de),Z.scope),de=Z.update=()=>ye.run();de.id=Z.uid,yd(Z,!0),de()},I=(Z,X,Q)=>{X.component=Z;const re=Z.vnode.props;Z.vnode=X,Z.next=null,AE(Z,X.props,re,Q),EE(Z,X.children,Q),d0(),y3(),p0()},O=(Z,X,Q,re,ie,oe,ue,ce,ye=!1)=>{const de=Z&&Z.children,me=Z?Z.shapeFlag:0,pe=X.children,{patchFlag:xe,shapeFlag:Pe}=X;if(xe>0){if(xe&128){F(de,pe,Q,re,ie,oe,ue,ce,ye);return}else if(xe&256){z(de,pe,Q,re,ie,oe,ue,ce,ye);return}}Pe&8?(me&16&&U(de,ie,oe),pe!==de&&i(Q,pe)):me&16?Pe&16?F(de,pe,Q,re,ie,oe,ue,ce,ye):U(de,ie,oe,!0):(me&8&&i(Q,""),Pe&16&&C(pe,Q,re,ie,oe,ue,ce,ye))},z=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{Z=Z||Bp,X=X||Bp;const de=Z.length,me=X.length,pe=Math.min(de,me);let xe;for(xe=0;xeme?U(Z,ie,oe,!0,!1,pe):C(X,Q,re,ie,oe,ue,ce,ye,pe)},F=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{let de=0;const me=X.length;let pe=Z.length-1,xe=me-1;for(;de<=pe&&de<=xe;){const Pe=Z[de],_e=X[de]=ye?Rf(X[de]):oh(X[de]);if(Md(Pe,_e))a(Pe,_e,Q,null,ie,oe,ue,ce,ye);else break;de++}for(;de<=pe&&de<=xe;){const Pe=Z[pe],_e=X[xe]=ye?Rf(X[xe]):oh(X[xe]);if(Md(Pe,_e))a(Pe,_e,Q,null,ie,oe,ue,ce,ye);else break;pe--,xe--}if(de>pe){if(de<=xe){const Pe=xe+1,_e=Pexe)for(;de<=pe;)N(Z[de],ie,oe,!0),de++;else{const Pe=de,_e=de,Me=new Map;for(de=_e;de<=xe;de++){const Be=X[de]=ye?Rf(X[de]):oh(X[de]);Be.key!=null&&Me.set(Be.key,de)}let Se,Ce=0;const ae=xe-_e+1;let fe=!1,be=0;const ke=new Array(ae);for(de=0;de=ae){N(Be,ie,oe,!0);continue}let ze;if(Be.key!=null)ze=Me.get(Be.key);else for(Se=_e;Se<=xe;Se++)if(ke[Se-_e]===0&&Md(Be,X[Se])){ze=Se;break}ze===void 0?N(Be,ie,oe,!0):(ke[ze-_e]=de+1,ze>=be?be=ze:fe=!0,a(Be,X[ze],Q,null,ie,oe,ue,ce,ye),Ce++)}const Le=fe?OE(ke):Bp;for(Se=Le.length-1,de=ae-1;de>=0;de--){const Be=_e+de,ze=X[Be],je=Be+1{const{el:oe,type:ue,transition:ce,children:ye,shapeFlag:de}=Z;if(de&6){B(Z.component.subTree,X,Q,re);return}if(de&128){Z.suspense.move(X,Q,re);return}if(de&64){ue.move(Z,X,Q,H);return}if(ue===Yr){S(oe,X,Q);for(let pe=0;pece.enter(oe),ie);else{const{leave:pe,delayLeave:xe,afterLeave:Pe}=ce,_e=()=>S(oe,X,Q),Me=()=>{pe(oe,()=>{_e(),Pe&&Pe()})};xe?xe(oe,_e,Me):Me()}else S(oe,X,Q)},N=(Z,X,Q,re=!1,ie=!1)=>{const{type:oe,props:ue,ref:ce,children:ye,dynamicChildren:de,shapeFlag:me,patchFlag:pe,dirs:xe}=Z;if(ce!=null&&Pb(ce,null,Q,Z,!0),me&256){X.ctx.deactivate(Z);return}const Pe=me&1&&xe,_e=!cm(Z);let Me;if(_e&&(Me=ue&&ue.onVnodeBeforeUnmount)&&nh(Me,X,Z),me&6)$(Z.component,Q,re);else{if(me&128){Z.suspense.unmount(Q,re);return}Pe&&vd(Z,null,X,"beforeUnmount"),me&64?Z.type.remove(Z,X,Q,ie,H,re):de&&(oe!==Yr||pe>0&&pe&64)?U(de,X,Q,!1,!0):(oe===Yr&&pe&384||!ie&&me&16)&&U(ye,X,Q),re&&W(Z)}(_e&&(Me=ue&&ue.onVnodeUnmounted)||Pe)&&Vl(()=>{Me&&nh(Me,X,Z),Pe&&vd(Z,null,X,"unmounted")},Q)},W=Z=>{const{type:X,el:Q,anchor:re,transition:ie}=Z;if(X===Yr){j(Q,re);return}if(X===dv){c(Z);return}const oe=()=>{D(Q),ie&&!ie.persisted&&ie.afterLeave&&ie.afterLeave()};if(Z.shapeFlag&1&&ie&&!ie.persisted){const{leave:ue,delayLeave:ce}=ie,ye=()=>ue(Q,oe);ce?ce(Z.el,oe,ye):ye()}else oe()},j=(Z,X)=>{let Q;for(;Z!==X;)Q=v(Z),D(Z),Z=Q;D(X)},$=(Z,X,Q)=>{const{bum:re,scope:ie,update:oe,subTree:ue,um:ce}=Z;re&&fv(re),ie.stop(),oe&&(oe.active=!1,N(ue,Z,X,Q)),ce&&Vl(ce,X),Vl(()=>{Z.isUnmounted=!0},X),X&&X.pendingBranch&&!X.isUnmounted&&Z.asyncDep&&!Z.asyncResolved&&Z.suspenseId===X.pendingId&&(X.deps--,X.deps===0&&X.resolve())},U=(Z,X,Q,re=!1,ie=!1,oe=0)=>{for(let ue=oe;ueZ.shapeFlag&6?G(Z.component.subTree):Z.shapeFlag&128?Z.suspense.next():v(Z.anchor||Z.el),q=(Z,X,Q)=>{Z==null?X._vnode&&N(X._vnode,null,null,!0):a(X._vnode||null,Z,X,null,null,null,Q),y3(),jT(),X._vnode=Z},H={p:a,um:N,m:B,r:W,mt:L,mc:C,pc:O,pbc:k,n:G,o:n};let ne,te;return e&&([ne,te]=e(H)),{render:q,hydrate:ne,createApp:IE(q,ne)}}function yd({effect:n,update:e},r){n.allowRecurse=e.allowRecurse=r}function n2(n,e,r=!1){const S=n.children,D=e.children;if(gi(S)&&gi(D))for(let T=0;T>1,n[r[t]]0&&(e[S]=r[T-1]),r[T]=S)}}for(T=r.length,p=r[T-1];T-- >0;)r[T]=p,p=e[p];return r}const DE=n=>n.__isTeleport,fm=n=>n&&(n.disabled||n.disabled===""),C3=n=>typeof SVGElement<"u"&&n instanceof SVGElement,Ob=(n,e)=>{const r=n&&n.to;return Po(r)?e?e(r):null:r},zE={__isTeleport:!0,process(n,e,r,S,D,T,p,t,d,g){const{mc:i,pc:M,pbc:v,o:{insert:f,querySelector:l,createText:a,createComment:u}}=g,o=fm(e.props);let{shapeFlag:s,children:h,dynamicChildren:c}=e;if(n==null){const m=e.el=a(""),w=e.anchor=a("");f(m,r,S),f(w,r,S);const y=e.target=Ob(e.props,l),C=e.targetAnchor=a("");y&&(f(C,y),p=p||C3(y));const _=(k,E)=>{s&16&&i(h,k,E,D,T,p,t,d)};o?_(r,w):y&&_(y,C)}else{e.el=n.el;const m=e.anchor=n.anchor,w=e.target=n.target,y=e.targetAnchor=n.targetAnchor,C=fm(n.props),_=C?r:w,k=C?m:y;if(p=p||C3(w),c?(v(n.dynamicChildren,c,_,D,T,p,t),n2(n,e,!0)):d||M(n,e,_,k,D,T,p,t,!1),o)C||rv(e,r,m,g,1);else if((e.props&&e.props.to)!==(n.props&&n.props.to)){const E=e.target=Ob(e.props,l);E&&rv(e,E,null,g,0)}else C&&rv(e,w,y,g,1)}u4(e)},remove(n,e,r,S,{um:D,o:{remove:T}},p){const{shapeFlag:t,children:d,anchor:g,targetAnchor:i,target:M,props:v}=n;if(M&&T(i),(p||!fm(v))&&(T(g),t&16))for(let f=0;f0?Ic||Bp:null,NE(),Am>0&&Ic&&Ic.push(n),n}function ei(n,e,r,S,D,T){return c4(ti(n,e,r,S,D,T,!0))}function za(n,e,r,S,D){return c4(gt(n,e,r,S,D,!0))}function Iv(n){return n?n.__v_isVNode===!0:!1}function Md(n,e){return n.type===e.type&&n.key===e.key}const Cy="__vInternal",h4=({key:n})=>n??null,pv=({ref:n,ref_key:e,ref_for:r})=>n!=null?Po(n)||eo(n)||Fi(n)?{i:Fs,r:n,k:e,f:!!r}:n:null;function ti(n,e=null,r=null,S=0,D=null,T=n===Yr?0:1,p=!1,t=!1){const d={__v_isVNode:!0,__v_skip:!0,type:n,props:e,key:e&&h4(e),ref:e&&pv(e),scopeId:wy,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:T,patchFlag:S,dynamicProps:D,dynamicChildren:null,appContext:null,ctx:Fs};return t?(r2(d,r),T&128&&n.normalize(d)):r&&(d.shapeFlag|=Po(r)?8:16),Am>0&&!p&&Ic&&(d.patchFlag>0||T&6)&&d.patchFlag!==32&&Ic.push(d),d}const gt=VE;function VE(n,e=null,r=null,S=0,D=null,T=!1){if((!n||n===e4)&&(n=ec),Iv(n)){const t=tf(n,e,!0);return r&&r2(t,r),Am>0&&!T&&Ic&&(t.shapeFlag&6?Ic[Ic.indexOf(n)]=t:Ic.push(t)),t.patchFlag|=-2,t}if(KE(n)&&(n=n.__vccOpts),e){e=jE(e);let{class:t,style:d}=e;t&&!Po(t)&&(e.class=Ju(t)),lo(d)&&(PT(d)&&!gi(d)&&(d=Ms({},d)),e.style=zs(d))}const p=Po(n)?1:lE(n)?128:DE(n)?64:lo(n)?4:Fi(n)?2:0;return ti(n,e,r,S,D,p,T,!0)}function jE(n){return n?PT(n)||Cy in n?Ms({},n):n:null}function tf(n,e,r=!1){const{props:S,ref:D,patchFlag:T,children:p}=n,t=e?qr(S||{},e):S;return{__v_isVNode:!0,__v_skip:!0,type:n.type,props:t,key:t&&h4(t),ref:e&&e.ref?r&&D?gi(D)?D.concat(pv(e)):[D,pv(e)]:pv(e):D,scopeId:n.scopeId,slotScopeIds:n.slotScopeIds,children:p,target:n.target,targetAnchor:n.targetAnchor,staticCount:n.staticCount,shapeFlag:n.shapeFlag,patchFlag:e&&n.type!==Yr?T===-1?16:T|16:T,dynamicProps:n.dynamicProps,dynamicChildren:n.dynamicChildren,appContext:n.appContext,dirs:n.dirs,transition:n.transition,component:n.component,suspense:n.suspense,ssContent:n.ssContent&&tf(n.ssContent),ssFallback:n.ssFallback&&tf(n.ssFallback),el:n.el,anchor:n.anchor,ctx:n.ctx,ce:n.ce}}function ia(n=" ",e=0){return gt(Gm,null,n,e)}function UE(n,e){const r=gt(dv,null,n);return r.staticCount=e,r}function Yi(n="",e=!1){return e?(Ir(),za(ec,null,n)):gt(ec,null,n)}function oh(n){return n==null||typeof n=="boolean"?gt(ec):gi(n)?gt(Yr,null,n.slice()):typeof n=="object"?Rf(n):gt(Gm,null,String(n))}function Rf(n){return n.el===null&&n.patchFlag!==-1||n.memo?n:tf(n)}function r2(n,e){let r=0;const{shapeFlag:S}=n;if(e==null)e=null;else if(gi(e))r=16;else if(typeof e=="object")if(S&65){const D=e.default;D&&(D._c&&(D._d=!1),r2(n,D()),D._c&&(D._d=!0));return}else{r=32;const D=e._;!D&&!(Cy in e)?e._ctx=Fs:D===3&&Fs&&(Fs.slots._===1?e._=1:(e._=2,n.patchFlag|=1024))}else Fi(e)?(e={default:e,_ctx:Fs},r=32):(e=String(e),S&64?(r=16,e=[ia(e)]):r=8);n.children=e,n.shapeFlag|=r}function qr(...n){const e={};for(let r=0;rWo||Fs,Xp=n=>{Wo=n,n.scope.on()},Bd=()=>{Wo&&Wo.scope.off(),Wo=null};function f4(n){return n.vnode.shapeFlag&4}let Sm=!1;function WE(n,e=!1){Sm=e;const{props:r,children:S}=n.vnode,D=f4(n);ME(n,r,D,e),CE(n,S);const T=D?YE(n,e):void 0;return Sm=!1,T}function YE(n,e){const r=n.type;n.accessCache=Object.create(null),n.proxy=Zp(new Proxy(n.ctx,bE));const{setup:S}=r;if(S){const D=n.setupContext=S.length>1?ZE(n):null;Xp(n),d0();const T=Nf(S,n,0,[n.props,D]);if(p0(),Bd(),yT(T)){if(T.then(Bd,Bd),e)return T.then(p=>{L3(n,p,e)}).catch(p=>{xy(p,n,0)});n.asyncDep=T}else L3(n,T,e)}else d4(n,e)}function L3(n,e,r){Fi(e)?n.type.__ssrInlineRender?n.ssrRender=e:n.render=e:lo(e)&&(n.setupState=FT(e)),d4(n,r)}let I3;function d4(n,e,r){const S=n.type;if(!n.render){if(!e&&I3&&!S.render){const D=S.template||e2(n).template;if(D){const{isCustomElement:T,compilerOptions:p}=n.appContext.config,{delimiters:t,compilerOptions:d}=S,g=Ms(Ms({isCustomElement:T,delimiters:t},p),d);S.render=I3(D,g)}}n.render=S.render||Dc}Xp(n),d0(),xE(n),p0(),Bd()}function $E(n){return new Proxy(n.attrs,{get(e,r){return $l(n,"get","$attrs"),e[r]}})}function ZE(n){const e=S=>{n.exposed=S||{}};let r;return{get attrs(){return r||(r=$E(n))},slots:n.slots,emit:n.emit,expose:e}}function Ly(n){if(n.exposed)return n.exposeProxy||(n.exposeProxy=new Proxy(FT(Zp(n.exposed)),{get(e,r){if(r in e)return e[r];if(r in hm)return hm[r](n)},has(e,r){return r in e||r in hm}}))}function XE(n,e=!0){return Fi(n)?n.displayName||n.name:n.name||e&&n.__name}function KE(n){return Fi(n)&&"__vccOpts"in n}const cn=(n,e)=>K8(n,e,Sm);function Xf(n,e,r){const S=arguments.length;return S===2?lo(e)&&!gi(e)?Iv(e)?gt(n,null,[e]):gt(n,e):gt(n,null,e):(S>3?r=Array.prototype.slice.call(arguments,2):S===3&&Iv(r)&&(r=[r]),gt(n,e,r))}const JE=Symbol(""),QE=()=>ka(JE),e7="3.2.47",t7="http://www.w3.org/2000/svg",Ad=typeof document<"u"?document:null,R3=Ad&&Ad.createElement("template"),n7={insert:(n,e,r)=>{e.insertBefore(n,r||null)},remove:n=>{const e=n.parentNode;e&&e.removeChild(n)},createElement:(n,e,r,S)=>{const D=e?Ad.createElementNS(t7,n):Ad.createElement(n,r?{is:r}:void 0);return n==="select"&&S&&S.multiple!=null&&D.setAttribute("multiple",S.multiple),D},createText:n=>Ad.createTextNode(n),createComment:n=>Ad.createComment(n),setText:(n,e)=>{n.nodeValue=e},setElementText:(n,e)=>{n.textContent=e},parentNode:n=>n.parentNode,nextSibling:n=>n.nextSibling,querySelector:n=>Ad.querySelector(n),setScopeId(n,e){n.setAttribute(e,"")},insertStaticContent(n,e,r,S,D,T){const p=r?r.previousSibling:e.lastChild;if(D&&(D===T||D.nextSibling))for(;e.insertBefore(D.cloneNode(!0),r),!(D===T||!(D=D.nextSibling)););else{R3.innerHTML=S?`${n}`:n;const t=R3.content;if(S){const d=t.firstChild;for(;d.firstChild;)t.appendChild(d.firstChild);t.removeChild(d)}e.insertBefore(t,r)}return[p?p.nextSibling:e.firstChild,r?r.previousSibling:e.lastChild]}};function r7(n,e,r){const S=n._vtc;S&&(e=(e?[e,...S]:[...S]).join(" ")),e==null?n.removeAttribute("class"):r?n.setAttribute("class",e):n.className=e}function i7(n,e,r){const S=n.style,D=Po(r);if(r&&!D){if(e&&!Po(e))for(const T in e)r[T]==null&&Db(S,T,"");for(const T in r)Db(S,T,r[T])}else{const T=S.display;D?e!==r&&(S.cssText=r):e&&n.removeAttribute("style"),"_vod"in n&&(S.display=T)}}const P3=/\s*!important$/;function Db(n,e,r){if(gi(r))r.forEach(S=>Db(n,e,S));else if(r==null&&(r=""),e.startsWith("--"))n.setProperty(e,r);else{const S=a7(n,e);P3.test(r)?n.setProperty(f0(S),r.replace(P3,""),"important"):n[S]=r}}const O3=["Webkit","Moz","ms"],ib={};function a7(n,e){const r=ib[e];if(r)return r;let S=tc(e);if(S!=="filter"&&S in n)return ib[e]=S;S=sf(S);for(let D=0;Dab||(h7.then(()=>ab=0),ab=Date.now());function d7(n,e){const r=S=>{if(!S._vts)S._vts=Date.now();else if(S._vts<=r.attached)return;Qu(p7(S,r.value),e,5,[S])};return r.value=n,r.attached=f7(),r}function p7(n,e){if(gi(e)){const r=n.stopImmediatePropagation;return n.stopImmediatePropagation=()=>{r.call(n),n._stopped=!0},e.map(S=>D=>!D._stopped&&S&&S(D))}else return e}const F3=/^on[a-z]/,m7=(n,e,r,S,D=!1,T,p,t,d)=>{e==="class"?r7(n,S,D):e==="style"?i7(n,r,S):my(e)?Fx(e)||u7(n,e,r,S,p):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):g7(n,e,S,D))?s7(n,e,S,T,p,t,d):(e==="true-value"?n._trueValue=S:e==="false-value"&&(n._falseValue=S),o7(n,e,S,D))};function g7(n,e,r,S){return S?!!(e==="innerHTML"||e==="textContent"||e in n&&F3.test(e)&&Fi(r)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&n.tagName==="INPUT"||e==="type"&&n.tagName==="TEXTAREA"||F3.test(e)&&Po(r)?!1:e in n}const Cf="transition",tm="animation",bh=(n,{slots:e})=>Xf(WT,m4(n),e);bh.displayName="Transition";const p4={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},v7=bh.props=Ms({},WT.props,p4),bd=(n,e=[])=>{gi(n)?n.forEach(r=>r(...e)):n&&n(...e)},B3=n=>n?gi(n)?n.some(e=>e.length>1):n.length>1:!1;function m4(n){const e={};for(const x in n)x in p4||(e[x]=n[x]);if(n.css===!1)return e;const{name:r="v",type:S,duration:D,enterFromClass:T=`${r}-enter-from`,enterActiveClass:p=`${r}-enter-active`,enterToClass:t=`${r}-enter-to`,appearFromClass:d=T,appearActiveClass:g=p,appearToClass:i=t,leaveFromClass:M=`${r}-leave-from`,leaveActiveClass:v=`${r}-leave-active`,leaveToClass:f=`${r}-leave-to`}=n,l=y7(D),a=l&&l[0],u=l&&l[1],{onBeforeEnter:o,onEnter:s,onEnterCancelled:h,onLeave:c,onLeaveCancelled:m,onBeforeAppear:w=o,onAppear:y=s,onAppearCancelled:C=h}=e,_=(x,A,L)=>{Lf(x,A?i:t),Lf(x,A?g:p),L&&L()},k=(x,A)=>{x._isLeaving=!1,Lf(x,M),Lf(x,f),Lf(x,v),A&&A()},E=x=>(A,L)=>{const b=x?y:s,R=()=>_(A,x,L);bd(b,[A,R]),N3(()=>{Lf(A,x?d:T),Uh(A,x?i:t),B3(b)||V3(A,S,a,R)})};return Ms(e,{onBeforeEnter(x){bd(o,[x]),Uh(x,T),Uh(x,p)},onBeforeAppear(x){bd(w,[x]),Uh(x,d),Uh(x,g)},onEnter:E(!1),onAppear:E(!0),onLeave(x,A){x._isLeaving=!0;const L=()=>k(x,A);Uh(x,M),v4(),Uh(x,v),N3(()=>{x._isLeaving&&(Lf(x,M),Uh(x,f),B3(c)||V3(x,S,u,L))}),bd(c,[x,L])},onEnterCancelled(x){_(x,!1),bd(h,[x])},onAppearCancelled(x){_(x,!0),bd(C,[x])},onLeaveCancelled(x){k(x),bd(m,[x])}})}function y7(n){if(n==null)return null;if(lo(n))return[ob(n.enter),ob(n.leave)];{const e=ob(n);return[e,e]}}function ob(n){return g8(n)}function Uh(n,e){e.split(/\s+/).forEach(r=>r&&n.classList.add(r)),(n._vtc||(n._vtc=new Set)).add(e)}function Lf(n,e){e.split(/\s+/).forEach(S=>S&&n.classList.remove(S));const{_vtc:r}=n;r&&(r.delete(e),r.size||(n._vtc=void 0))}function N3(n){requestAnimationFrame(()=>{requestAnimationFrame(n)})}let b7=0;function V3(n,e,r,S){const D=n._endId=++b7,T=()=>{D===n._endId&&S()};if(r)return setTimeout(T,r);const{type:p,timeout:t,propCount:d}=g4(n,e);if(!p)return S();const g=p+"end";let i=0;const M=()=>{n.removeEventListener(g,v),T()},v=f=>{f.target===n&&++i>=d&&M()};setTimeout(()=>{i(r[l]||"").split(", "),D=S(`${Cf}Delay`),T=S(`${Cf}Duration`),p=j3(D,T),t=S(`${tm}Delay`),d=S(`${tm}Duration`),g=j3(t,d);let i=null,M=0,v=0;e===Cf?p>0&&(i=Cf,M=p,v=T.length):e===tm?g>0&&(i=tm,M=g,v=d.length):(M=Math.max(p,g),i=M>0?p>g?Cf:tm:null,v=i?i===Cf?T.length:d.length:0);const f=i===Cf&&/\b(transform|all)(,|$)/.test(S(`${Cf}Property`).toString());return{type:i,timeout:M,propCount:v,hasTransform:f}}function j3(n,e){for(;n.lengthU3(r)+U3(n[S])))}function U3(n){return Number(n.slice(0,-1).replace(",","."))*1e3}function v4(){return document.body.offsetHeight}const y4=new WeakMap,b4=new WeakMap,x4={name:"TransitionGroup",props:Ms({},v7,{tag:String,moveClass:String}),setup(n,{slots:e}){const r=Ey(),S=qT();let D,T;return JT(()=>{if(!D.length)return;const p=n.moveClass||`${n.name||"v"}-move`;if(!M7(D[0].el,r.vnode.el,p))return;D.forEach(w7),D.forEach(T7);const t=D.filter(k7);v4(),t.forEach(d=>{const g=d.el,i=g.style;Uh(g,p),i.transform=i.webkitTransform=i.transitionDuration="";const M=g._moveCb=v=>{v&&v.target!==g||(!v||/transform$/.test(v.propertyName))&&(g.removeEventListener("transitionend",M),g._moveCb=null,Lf(g,p))};g.addEventListener("transitionend",M)})}),()=>{const p=wi(n),t=m4(p);let d=p.tag||Yr;D=T,T=e.default?Kx(e.default()):[];for(let g=0;gdelete n.mode;x4.props;const _7=x4;function w7(n){const e=n.el;e._moveCb&&e._moveCb(),e._enterCb&&e._enterCb()}function T7(n){b4.set(n,n.el.getBoundingClientRect())}function k7(n){const e=y4.get(n),r=b4.get(n),S=e.left-r.left,D=e.top-r.top;if(S||D){const T=n.el.style;return T.transform=T.webkitTransform=`translate(${S}px,${D}px)`,T.transitionDuration="0s",n}}function M7(n,e,r){const S=n.cloneNode();n._vtc&&n._vtc.forEach(p=>{p.split(/\s+/).forEach(t=>t&&S.classList.remove(t))}),r.split(/\s+/).forEach(p=>p&&S.classList.add(p)),S.style.display="none";const D=e.nodeType===1?e:e.parentNode;D.appendChild(S);const{hasTransform:T}=g4(S);return D.removeChild(S),T}const H3=n=>{const e=n.props["onUpdate:modelValue"]||!1;return gi(e)?r=>fv(e,r):e};function A7(n){n.target.composing=!0}function G3(n){const e=n.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const S7={created(n,{modifiers:{lazy:e,trim:r,number:S}},D){n._assign=H3(D);const T=S||D.props&&D.props.type==="number";Ip(n,e?"change":"input",p=>{if(p.target.composing)return;let t=n.value;r&&(t=t.trim()),T&&(t=kb(t)),n._assign(t)}),r&&Ip(n,"change",()=>{n.value=n.value.trim()}),e||(Ip(n,"compositionstart",A7),Ip(n,"compositionend",G3),Ip(n,"change",G3))},mounted(n,{value:e}){n.value=e??""},beforeUpdate(n,{value:e,modifiers:{lazy:r,trim:S,number:D}},T){if(n._assign=H3(T),n.composing||document.activeElement===n&&n.type!=="range"&&(r||S&&n.value.trim()===e||(D||n.type==="number")&&kb(n.value)===e))return;const p=e??"";n.value!==p&&(n.value=p)}},C7=["ctrl","shift","alt","meta"],E7={stop:n=>n.stopPropagation(),prevent:n=>n.preventDefault(),self:n=>n.target!==n.currentTarget,ctrl:n=>!n.ctrlKey,shift:n=>!n.shiftKey,alt:n=>!n.altKey,meta:n=>!n.metaKey,left:n=>"button"in n&&n.button!==0,middle:n=>"button"in n&&n.button!==1,right:n=>"button"in n&&n.button!==2,exact:(n,e)=>C7.some(r=>n[`${r}Key`]&&!e.includes(r))},jp=(n,e)=>(r,...S)=>{for(let D=0;D{nm(n,!1)}):nm(n,e))},beforeUnmount(n,{value:e}){nm(n,e)}};function nm(n,e){n.style.display=e?n._vod:"none"}const L7=Ms({patchProp:m7},n7);let q3;function I7(){return q3||(q3=RE(L7))}const R7=(...n)=>{const e=I7().createApp(...n),{mount:r}=e;return e.mount=S=>{const D=P7(S);if(!D)return;const T=e._component;!Fi(T)&&!T.render&&!T.template&&(T.template=D.innerHTML),D.innerHTML="";const p=r(D,!1,D instanceof SVGElement);return D instanceof Element&&(D.removeAttribute("v-cloak"),D.setAttribute("data-v-app","")),p},e};function P7(n){return Po(n)?document.querySelector(n):n}var O7=!1;/*! * pinia v2.0.35 * (c) 2023 Eduardo San Martin Morote * @license MIT - */let _4;const Iy=n=>_4=n,w4=Symbol();function zb(n){return n&&typeof n=="object"&&Object.prototype.toString.call(n)==="[object Object]"&&typeof n.toJSON!="function"}var pm;(function(n){n.direct="direct",n.patchObject="patch object",n.patchFunction="patch function"})(pm||(pm={}));function D7(){const n=Um(!0),e=n.run(()=>Vr({}));let r=[],C=[];const D=Zp({install(T){Iy(D),D._a=T,T.provide(w4,D),T.config.globalProperties.$pinia=D,C.forEach(p=>r.push(p)),C=[]},use(T){return!this._a&&!O7?C.push(T):r.push(T),this},_p:r,_a:null,_e:n,_s:new Map,state:e});return D}const T4=()=>{};function W3(n,e,r,C=T4){n.push(e);const D=()=>{const T=n.indexOf(e);T>-1&&(n.splice(T,1),C())};return!r&&wT()&&wl(D),D}function Mp(n,...e){n.slice().forEach(r=>{r(...e)})}function Fb(n,e){n instanceof Map&&e instanceof Map&&e.forEach((r,C)=>n.set(C,r)),n instanceof Set&&e instanceof Set&&e.forEach(n.add,n);for(const r in e){if(!e.hasOwnProperty(r))continue;const C=e[r],D=n[r];zb(D)&&zb(C)&&n.hasOwnProperty(r)&&!eo(C)&&!Bf(C)?n[r]=Fb(D,C):n[r]=C}return n}const z7=Symbol();function F7(n){return!zb(n)||!n.hasOwnProperty(z7)}const{assign:If}=Object;function B7(n){return!!(eo(n)&&n.effect)}function N7(n,e,r,C){const{state:D,actions:T,getters:p}=e,t=r.state.value[n];let d;function g(){t||(r.state.value[n]=D?D():{});const i=by(r.state.value[n]);return If(i,T,Object.keys(p||{}).reduce((M,v)=>(M[v]=Zp(cn(()=>{Iy(r);const f=r._s.get(n);return p[v].call(f,f)})),M),{}))}return d=k4(n,g,e,r,C,!0),d}function k4(n,e,r={},C,D,T){let p;const t=If({actions:{}},r),d={deep:!0};let g,i,M=Zp([]),v=Zp([]),f;const l=C.state.value[n];!T&&!l&&(C.state.value[n]={}),Vr({});let a;function u(y){let S;g=i=!1,typeof y=="function"?(y(C.state.value[n]),S={type:pm.patchFunction,storeId:n,events:f}):(Fb(C.state.value[n],y),S={type:pm.patchObject,payload:y,storeId:n,events:f});const _=a=Symbol();Ua().then(()=>{a===_&&(g=!0)}),i=!0,Mp(M,S,C.state.value[n])}const o=T?function(){const{state:S}=r,_=S?S():{};this.$patch(k=>{If(k,_)})}:T4;function s(){p.stop(),M=[],v=[],C._s.delete(n)}function c(y,S){return function(){Iy(C);const _=Array.from(arguments),k=[],E=[];function x(b){k.push(b)}function A(b){E.push(b)}Mp(v,{args:_,name:y,store:m,after:x,onError:A});let L;try{L=S.apply(this&&this.$id===n?this:m,_)}catch(b){throw Mp(E,b),b}return L instanceof Promise?L.then(b=>(Mp(k,b),b)).catch(b=>(Mp(E,b),Promise.reject(b))):(Mp(k,L),L)}}const h={_p:C,$id:n,$onAction:W3.bind(null,v),$patch:u,$reset:o,$subscribe(y,S={}){const _=W3(M,y,S.detached,()=>k()),k=p.run(()=>$r(()=>C.state.value[n],E=>{(S.flush==="sync"?i:g)&&y({storeId:n,type:pm.direct,events:f},E)},If({},d,S)));return _},$dispose:s},m=yl(h);C._s.set(n,m);const w=C._e.run(()=>(p=Um(),p.run(()=>e())));for(const y in w){const S=w[y];if(eo(S)&&!B7(S)||Bf(S))T||(l&&F7(S)&&(eo(S)?S.value=l[y]:Fb(S,l[y])),C.state.value[n][y]=S);else if(typeof S=="function"){const _=c(y,S);w[y]=_,t.actions[y]=S}}return If(m,w),If(wi(m),w),Object.defineProperty(m,"$state",{get:()=>C.state.value[n],set:y=>{u(S=>{If(S,y)})}}),C._p.forEach(y=>{If(m,p.run(()=>y({store:m,app:C._a,pinia:C,options:t})))}),l&&T&&r.hydrate&&r.hydrate(m.$state,l),g=!0,i=!0,m}function i2(n,e,r){let C,D;const T=typeof e=="function";typeof n=="string"?(C=n,D=T?r:e):(D=n,C=n.id);function p(t,d){const g=Ey();return t=t||g&&ka(w4,null),t&&Iy(t),t=_4,t._s.has(C)||(T?k4(C,e,D,t):N7(C,D,t)),t._s.get(C)}return p.$id=C,p}var V7=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function a2(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var M4={exports:{}},Ba={};/** @license React v16.13.1 + */let _4;const Iy=n=>_4=n,w4=Symbol();function zb(n){return n&&typeof n=="object"&&Object.prototype.toString.call(n)==="[object Object]"&&typeof n.toJSON!="function"}var pm;(function(n){n.direct="direct",n.patchObject="patch object",n.patchFunction="patch function"})(pm||(pm={}));function D7(){const n=Um(!0),e=n.run(()=>Vr({}));let r=[],S=[];const D=Zp({install(T){Iy(D),D._a=T,T.provide(w4,D),T.config.globalProperties.$pinia=D,S.forEach(p=>r.push(p)),S=[]},use(T){return!this._a&&!O7?S.push(T):r.push(T),this},_p:r,_a:null,_e:n,_s:new Map,state:e});return D}const T4=()=>{};function W3(n,e,r,S=T4){n.push(e);const D=()=>{const T=n.indexOf(e);T>-1&&(n.splice(T,1),S())};return!r&&wT()&&Tl(D),D}function Mp(n,...e){n.slice().forEach(r=>{r(...e)})}function Fb(n,e){n instanceof Map&&e instanceof Map&&e.forEach((r,S)=>n.set(S,r)),n instanceof Set&&e instanceof Set&&e.forEach(n.add,n);for(const r in e){if(!e.hasOwnProperty(r))continue;const S=e[r],D=n[r];zb(D)&&zb(S)&&n.hasOwnProperty(r)&&!eo(S)&&!Bf(S)?n[r]=Fb(D,S):n[r]=S}return n}const z7=Symbol();function F7(n){return!zb(n)||!n.hasOwnProperty(z7)}const{assign:If}=Object;function B7(n){return!!(eo(n)&&n.effect)}function N7(n,e,r,S){const{state:D,actions:T,getters:p}=e,t=r.state.value[n];let d;function g(){t||(r.state.value[n]=D?D():{});const i=by(r.state.value[n]);return If(i,T,Object.keys(p||{}).reduce((M,v)=>(M[v]=Zp(cn(()=>{Iy(r);const f=r._s.get(n);return p[v].call(f,f)})),M),{}))}return d=k4(n,g,e,r,S,!0),d}function k4(n,e,r={},S,D,T){let p;const t=If({actions:{}},r),d={deep:!0};let g,i,M=Zp([]),v=Zp([]),f;const l=S.state.value[n];!T&&!l&&(S.state.value[n]={}),Vr({});let a;function u(y){let C;g=i=!1,typeof y=="function"?(y(S.state.value[n]),C={type:pm.patchFunction,storeId:n,events:f}):(Fb(S.state.value[n],y),C={type:pm.patchObject,payload:y,storeId:n,events:f});const _=a=Symbol();Ua().then(()=>{a===_&&(g=!0)}),i=!0,Mp(M,C,S.state.value[n])}const o=T?function(){const{state:C}=r,_=C?C():{};this.$patch(k=>{If(k,_)})}:T4;function s(){p.stop(),M=[],v=[],S._s.delete(n)}function h(y,C){return function(){Iy(S);const _=Array.from(arguments),k=[],E=[];function x(b){k.push(b)}function A(b){E.push(b)}Mp(v,{args:_,name:y,store:m,after:x,onError:A});let L;try{L=C.apply(this&&this.$id===n?this:m,_)}catch(b){throw Mp(E,b),b}return L instanceof Promise?L.then(b=>(Mp(k,b),b)).catch(b=>(Mp(E,b),Promise.reject(b))):(Mp(k,L),L)}}const c={_p:S,$id:n,$onAction:W3.bind(null,v),$patch:u,$reset:o,$subscribe(y,C={}){const _=W3(M,y,C.detached,()=>k()),k=p.run(()=>$r(()=>S.state.value[n],E=>{(C.flush==="sync"?i:g)&&y({storeId:n,type:pm.direct,events:f},E)},If({},d,C)));return _},$dispose:s},m=yl(c);S._s.set(n,m);const w=S._e.run(()=>(p=Um(),p.run(()=>e())));for(const y in w){const C=w[y];if(eo(C)&&!B7(C)||Bf(C))T||(l&&F7(C)&&(eo(C)?C.value=l[y]:Fb(C,l[y])),S.state.value[n][y]=C);else if(typeof C=="function"){const _=h(y,C);w[y]=_,t.actions[y]=C}}return If(m,w),If(wi(m),w),Object.defineProperty(m,"$state",{get:()=>S.state.value[n],set:y=>{u(C=>{If(C,y)})}}),S._p.forEach(y=>{If(m,p.run(()=>y({store:m,app:S._a,pinia:S,options:t})))}),l&&T&&r.hydrate&&r.hydrate(m.$state,l),g=!0,i=!0,m}function i2(n,e,r){let S,D;const T=typeof e=="function";typeof n=="string"?(S=n,D=T?r:e):(D=n,S=n.id);function p(t,d){const g=Ey();return t=t||g&&ka(w4,null),t&&Iy(t),t=_4,t._s.has(S)||(T?k4(S,e,D,t):N7(S,D,t)),t._s.get(S)}return p.$id=S,p}var V7=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function a2(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var M4={exports:{}},Ba={};/** @license React v16.13.1 * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. @@ -13,17 +13,17 @@ object-assign (c) Sindre Sorhus @license MIT -*/var Y3=Object.getOwnPropertySymbols,Z7=Object.prototype.hasOwnProperty,X7=Object.prototype.propertyIsEnumerable;function K7(n){if(n==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(n)}function J7(){try{if(!Object.assign)return!1;var n=new String("abc");if(n[5]="de",Object.getOwnPropertyNames(n)[0]==="5")return!1;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;var C=Object.getOwnPropertyNames(e).map(function(T){return e[T]});if(C.join("")!=="0123456789")return!1;var D={};return"abcdefghijklmnopqrst".split("").forEach(function(T){D[T]=T}),Object.keys(Object.assign({},D)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var Q7=J7()?Object.assign:function(n,e){for(var r,C=K7(n),D,T=1;TRv.length&&Rv.push(n)}function Bb(n,e,r,C){var D=typeof n;(D==="undefined"||D==="boolean")&&(n=null);var T=!1;if(n===null)T=!0;else switch(D){case"string":case"number":T=!0;break;case"object":switch(n.$$typeof){case qm:case e9:T=!0}}if(T)return r(C,n,e===""?"."+sb(n,0):e),1;if(T=0,e=e===""?".":e+":",Array.isArray(n))for(var p=0;p=n.length&&(n=void 0),{value:n&&n[C++],done:!n}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function zi(n){return this instanceof zi?(this.v=n,this):new zi(n)}function mh(n,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var C=r.apply(n,e||[]),D,T=[];return D=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),t("next"),t("throw"),t("return",p),D[Symbol.asyncIterator]=function(){return this},D;function p(f){return function(l){return Promise.resolve(l).then(f,M)}}function t(f,l){C[f]&&(D[f]=function(a){return new Promise(function(u,o){T.push([f,a,u,o])>1||d(f,a)})},l&&(D[f]=l(D[f])))}function d(f,l){try{g(C[f](l))}catch(a){v(T[0][3],a)}}function g(f){f.value instanceof zi?Promise.resolve(f.value.v).then(i,M):v(T[0][2],f)}function i(f){d("next",f)}function M(f){d("throw",f)}function v(f,l){f(l),T.shift(),T.length&&d(T[0][0],T[0][1])}}function mv(n){var e,r;return e={},C("next"),C("throw",function(D){throw D}),C("return"),e[Symbol.iterator]=function(){return this},e;function C(D,T){e[D]=n[D]?function(p){return(r=!r)?{value:zi(n[D](p)),done:!1}:T?T(p):p}:T}}function Nd(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=n[Symbol.asyncIterator],r;return e?e.call(n):(n=typeof Z3=="function"?Z3(n):n[Symbol.iterator](),r={},C("next"),C("throw"),C("return"),r[Symbol.asyncIterator]=function(){return this},r);function C(T){r[T]=n[T]&&function(p){return new Promise(function(t,d){p=n[T](p),D(t,d,p.done,p.value)})}}function D(T,p,t,d){Promise.resolve(d).then(function(g){T({value:g,done:t})},p)}}const v9=new TextDecoder("utf-8"),jb=n=>v9.decode(n),y9=new TextEncoder,p2=n=>y9.encode(n),[NH,b9]=(()=>{const n=()=>{throw new Error("BigInt is not available in this environment")};function e(){throw n()}return e.asIntN=()=>{throw n()},e.asUintN=()=>{throw n()},typeof BigInt<"u"?[BigInt,!0]:[e,!1]})(),[Ym,VH]=(()=>{const n=()=>{throw new Error("BigInt64Array is not available in this environment")};class e{static get BYTES_PER_ELEMENT(){return 8}static of(){throw n()}static from(){throw n()}constructor(){throw n()}}return typeof BigInt64Array<"u"?[BigInt64Array,!0]:[e,!1]})(),[$m,jH]=(()=>{const n=()=>{throw new Error("BigUint64Array is not available in this environment")};class e{static get BYTES_PER_ELEMENT(){return 8}static of(){throw n()}static from(){throw n()}constructor(){throw n()}}return typeof BigUint64Array<"u"?[BigUint64Array,!0]:[e,!1]})(),x9=n=>typeof n=="number",V4=n=>typeof n=="boolean",us=n=>typeof n=="function",Zl=n=>n!=null&&Object(n)===n,Uf=n=>Zl(n)&&us(n.then),Zm=n=>Zl(n)&&us(n[Symbol.iterator]),g0=n=>Zl(n)&&us(n[Symbol.asyncIterator]),Ub=n=>Zl(n)&&Zl(n.schema),j4=n=>Zl(n)&&"done"in n&&"value"in n,U4=n=>Zl(n)&&us(n.stat)&&x9(n.fd),H4=n=>Zl(n)&&m2(n.body),Uy=n=>"_getDOMStream"in n&&"_getNodeStream"in n,_9=n=>Zl(n)&&us(n.abort)&&us(n.getWriter)&&!Uy(n),m2=n=>Zl(n)&&us(n.cancel)&&us(n.getReader)&&!Uy(n),w9=n=>Zl(n)&&us(n.end)&&us(n.write)&&V4(n.writable)&&!Uy(n),G4=n=>Zl(n)&&us(n.read)&&us(n.pipe)&&V4(n.readable)&&!Uy(n),T9=n=>Zl(n)&&us(n.clear)&&us(n.bytes)&&us(n.position)&&us(n.setPosition)&&us(n.capacity)&&us(n.getBufferIdentifier)&&us(n.createLong),g2=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:ArrayBuffer;function k9(n){const e=n[0]?[n[0]]:[];let r,C,D,T;for(let p,t,d=0,g=0,i=n.length;++di+M.byteLength,0);let D,T,p,t=0,d=-1;const g=Math.min(e||Number.POSITIVE_INFINITY,C);for(const i=r.length;++dqa(Int32Array,n),_a=n=>qa(Uint8Array,n),Hb=n=>(n.next(),n);function*M9(n,e){const r=function*(D){yield D},C=typeof e=="string"||ArrayBuffer.isView(e)||e instanceof ArrayBuffer||e instanceof g2?r(e):Zm(e)?e:r(e);return yield*Hb(function*(D){let T=null;do T=D.next(yield qa(n,T));while(!T.done)}(C[Symbol.iterator]())),new n}const A9=n=>M9(Uint8Array,n);function q4(n,e){return mh(this,arguments,function*(){if(Uf(e))return yield zi(yield zi(yield*mv(Nd(q4(n,yield zi(e))))));const C=function(p){return mh(this,arguments,function*(){yield yield zi(yield zi(p))})},D=function(p){return mh(this,arguments,function*(){yield zi(yield*mv(Nd(Hb(function*(t){let d=null;do d=t.next(yield d==null?void 0:d.value);while(!d.done)}(p[Symbol.iterator]())))))})},T=typeof e=="string"||ArrayBuffer.isView(e)||e instanceof ArrayBuffer||e instanceof g2?C(e):Zm(e)?D(e):g0(e)?e:C(e);return yield zi(yield*mv(Nd(Hb(function(p){return mh(this,arguments,function*(){let t=null;do t=yield zi(p.next(yield yield zi(qa(n,t))));while(!t.done)})}(T[Symbol.asyncIterator]()))))),yield zi(new n)})}const S9=n=>q4(Uint8Array,n);function v2(n,e,r){if(n!==0){r=r.slice(0,e+1);for(let C=-1;++C<=e;)r[C]+=n}return r}function C9(n,e){let r=0;const C=n.length;if(C!==e.length)return!1;if(C>0)do if(n[r]!==e[r])return!1;while(++r(n.next(),n);function*E9(n){let e,r=!1,C=[],D,T,p,t=0;function d(){return T==="peek"?xh(C,p)[0]:([D,C,t]=xh(C,p),D)}({cmd:T,size:p}=yield null);const g=A9(n)[Symbol.iterator]();try{do if({done:e,value:D}=Number.isNaN(p-t)?g.next():g.next(p-t),!e&&D.byteLength>0&&(C.push(D),t+=D.byteLength),e||p<=t)do({cmd:T,size:p}=yield d());while(p0&&(D.push(T),d+=T.byteLength),r||t<=d)do({cmd:p,size:t}=yield yield zi(g()));while(t0&&(D.push(_a(T)),d+=T.byteLength),r||t<=d)do({cmd:p,size:t}=yield yield zi(g()));while(t{})}get closed(){return this.reader?this.reader.closed.catch(()=>{}):Promise.resolve()}releaseLock(){this.reader&&this.reader.releaseLock(),this.reader=null}cancel(e){return yi(this,void 0,void 0,function*(){const{reader:r,source:C}=this;r&&(yield r.cancel(e).catch(()=>{})),C&&C.locked&&this.releaseLock()})}read(e){return yi(this,void 0,void 0,function*(){if(e===0)return{done:this.reader==null,value:new Uint8Array(0)};const r=yield this.reader.read();return!r.done&&(r.value=_a(r)),r})}}const lb=(n,e)=>{const r=D=>C([e,D]);let C;return[e,r,new Promise(D=>(C=D)&&n.once(e,r))]};function P9(n){return mh(this,arguments,function*(){const r=[];let C="error",D=!1,T=null,p,t,d=0,g=[],i;function M(){return p==="peek"?xh(g,t)[0]:([i,g,d]=xh(g,t),i)}if({cmd:p,size:t}=yield yield zi(null),n.isTTY)return yield yield zi(new Uint8Array(0)),yield zi(null);try{r[0]=lb(n,"end"),r[1]=lb(n,"error");do{if(r[2]=lb(n,"readable"),[C,T]=yield zi(Promise.race(r.map(f=>f[2]))),C==="error")break;if((D=C==="end")||(Number.isFinite(t-d)?(i=_a(n.read(t-d)),i.byteLength0&&(g.push(i),d+=i.byteLength)),D||t<=d)do({cmd:p,size:t}=yield yield zi(M()));while(t{for(const[o,s]of f)n.off(o,s);try{const o=n.destroy;o&&o.call(n,l),l=void 0}catch(o){l=o||l}finally{l!=null?u(l):a()}})}})}var gu;(function(n){n[n.V1=0]="V1",n[n.V2=1]="V2",n[n.V3=2]="V3",n[n.V4=3]="V4",n[n.V5=4]="V5"})(gu||(gu={}));var xu;(function(n){n[n.Sparse=0]="Sparse",n[n.Dense=1]="Dense"})(xu||(xu={}));var Yl;(function(n){n[n.HALF=0]="HALF",n[n.SINGLE=1]="SINGLE",n[n.DOUBLE=2]="DOUBLE"})(Yl||(Yl={}));var nf;(function(n){n[n.DAY=0]="DAY",n[n.MILLISECOND=1]="MILLISECOND"})(nf||(nf={}));var wa;(function(n){n[n.SECOND=0]="SECOND",n[n.MILLISECOND=1]="MILLISECOND",n[n.MICROSECOND=2]="MICROSECOND",n[n.NANOSECOND=3]="NANOSECOND"})(wa||(wa={}));var Hf;(function(n){n[n.YEAR_MONTH=0]="YEAR_MONTH",n[n.DAY_TIME=1]="DAY_TIME",n[n.MONTH_DAY_NANO=2]="MONTH_DAY_NANO"})(Hf||(Hf={}));var Ca;(function(n){n[n.NONE=0]="NONE",n[n.Schema=1]="Schema",n[n.DictionaryBatch=2]="DictionaryBatch",n[n.RecordBatch=3]="RecordBatch",n[n.Tensor=4]="Tensor",n[n.SparseTensor=5]="SparseTensor"})(Ca||(Ca={}));var Jn;(function(n){n[n.NONE=0]="NONE",n[n.Null=1]="Null",n[n.Int=2]="Int",n[n.Float=3]="Float",n[n.Binary=4]="Binary",n[n.Utf8=5]="Utf8",n[n.Bool=6]="Bool",n[n.Decimal=7]="Decimal",n[n.Date=8]="Date",n[n.Time=9]="Time",n[n.Timestamp=10]="Timestamp",n[n.Interval=11]="Interval",n[n.List=12]="List",n[n.Struct=13]="Struct",n[n.Union=14]="Union",n[n.FixedSizeBinary=15]="FixedSizeBinary",n[n.FixedSizeList=16]="FixedSizeList",n[n.Map=17]="Map",n[n.Dictionary=-1]="Dictionary",n[n.Int8=-2]="Int8",n[n.Int16=-3]="Int16",n[n.Int32=-4]="Int32",n[n.Int64=-5]="Int64",n[n.Uint8=-6]="Uint8",n[n.Uint16=-7]="Uint16",n[n.Uint32=-8]="Uint32",n[n.Uint64=-9]="Uint64",n[n.Float16=-10]="Float16",n[n.Float32=-11]="Float32",n[n.Float64=-12]="Float64",n[n.DateDay=-13]="DateDay",n[n.DateMillisecond=-14]="DateMillisecond",n[n.TimestampSecond=-15]="TimestampSecond",n[n.TimestampMillisecond=-16]="TimestampMillisecond",n[n.TimestampMicrosecond=-17]="TimestampMicrosecond",n[n.TimestampNanosecond=-18]="TimestampNanosecond",n[n.TimeSecond=-19]="TimeSecond",n[n.TimeMillisecond=-20]="TimeMillisecond",n[n.TimeMicrosecond=-21]="TimeMicrosecond",n[n.TimeNanosecond=-22]="TimeNanosecond",n[n.DenseUnion=-23]="DenseUnion",n[n.SparseUnion=-24]="SparseUnion",n[n.IntervalDayTime=-25]="IntervalDayTime",n[n.IntervalYearMonth=-26]="IntervalYearMonth"})(Jn||(Jn={}));var qh;(function(n){n[n.OFFSET=0]="OFFSET",n[n.DATA=1]="DATA",n[n.VALIDITY=2]="VALIDITY",n[n.TYPE=3]="TYPE"})(qh||(qh={}));const O9=void 0;function Cm(n){if(n===null)return"null";if(n===O9)return"undefined";switch(typeof n){case"number":return`${n}`;case"bigint":return`${n}`;case"string":return`"${n}"`}return typeof n[Symbol.toPrimitive]=="function"?n[Symbol.toPrimitive]("string"):ArrayBuffer.isView(n)?n instanceof Ym||n instanceof $m?`[${[...n].map(e=>Cm(e))}]`:`[${n}]`:ArrayBuffer.isView(n)?`[${n}]`:JSON.stringify(n,(e,r)=>typeof r=="bigint"?`${r}`:r)}const D9=Symbol.for("isArrowBigNum");function Bc(n,...e){return e.length===0?Object.setPrototypeOf(qa(this.TypedArray,n),this.constructor.prototype):Object.setPrototypeOf(new this.TypedArray(n,...e),this.constructor.prototype)}Bc.prototype[D9]=!0;Bc.prototype.toJSON=function(){return`"${Vd(this)}"`};Bc.prototype.valueOf=function(){return W4(this)};Bc.prototype.toString=function(){return Vd(this)};Bc.prototype[Symbol.toPrimitive]=function(n="default"){switch(n){case"number":return W4(this);case"string":return Vd(this);case"default":return Gb(this)}return Vd(this)};function Up(...n){return Bc.apply(this,n)}function Hp(...n){return Bc.apply(this,n)}function Em(...n){return Bc.apply(this,n)}Object.setPrototypeOf(Up.prototype,Object.create(Int32Array.prototype));Object.setPrototypeOf(Hp.prototype,Object.create(Uint32Array.prototype));Object.setPrototypeOf(Em.prototype,Object.create(Uint32Array.prototype));Object.assign(Up.prototype,Bc.prototype,{constructor:Up,signed:!0,TypedArray:Int32Array,BigIntArray:Ym});Object.assign(Hp.prototype,Bc.prototype,{constructor:Hp,signed:!1,TypedArray:Uint32Array,BigIntArray:$m});Object.assign(Em.prototype,Bc.prototype,{constructor:Em,signed:!0,TypedArray:Uint32Array,BigIntArray:$m});function W4(n){const{buffer:e,byteOffset:r,length:C,signed:D}=n,T=new $m(e,r,C),p=D&&T[T.length-1]&BigInt(1)<n.byteLength===8?new n.BigIntArray(n.buffer,n.byteOffset,1)[0]:ub(n),Vd=n=>n.byteLength===8?`${new n.BigIntArray(n.buffer,n.byteOffset,1)[0]}`:ub(n)):(Vd=ub,Gb=Vd);function ub(n){let e="";const r=new Uint32Array(2);let C=new Uint16Array(n.buffer,n.byteOffset,n.byteLength/2);const D=new Uint32Array((C=new Uint16Array(C).reverse()).buffer);let T=-1;const p=C.length-1;do{for(r[0]=C[T=0];T(n.children=null,n.ArrayType=Array,n[Symbol.toStringTag]="DataType"))(_i.prototype);let Gf=class extends _i{toString(){return"Null"}get typeId(){return Jn.Null}};$4=Symbol.toStringTag;Gf[$4]=(n=>n[Symbol.toStringTag]="Null")(Gf.prototype);class qf extends _i{constructor(e,r){super(),this.isSigned=e,this.bitWidth=r}get typeId(){return Jn.Int}get ArrayType(){switch(this.bitWidth){case 8:return this.isSigned?Int8Array:Uint8Array;case 16:return this.isSigned?Int16Array:Uint16Array;case 32:return this.isSigned?Int32Array:Uint32Array;case 64:return this.isSigned?Ym:$m}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`${this.isSigned?"I":"Ui"}nt${this.bitWidth}`}}Z4=Symbol.toStringTag;qf[Z4]=(n=>(n.isSigned=null,n.bitWidth=null,n[Symbol.toStringTag]="Int"))(qf.prototype);class Lm extends qf{constructor(){super(!0,32)}get ArrayType(){return Int32Array}}Object.defineProperty(Lm.prototype,"ArrayType",{value:Int32Array});class Im extends _i{constructor(e){super(),this.precision=e}get typeId(){return Jn.Float}get ArrayType(){switch(this.precision){case Yl.HALF:return Uint16Array;case Yl.SINGLE:return Float32Array;case Yl.DOUBLE:return Float64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`Float${this.precision<<5||16}`}}X4=Symbol.toStringTag;Im[X4]=(n=>(n.precision=null,n[Symbol.toStringTag]="Float"))(Im.prototype);let Pv=class extends _i{constructor(){super()}get typeId(){return Jn.Binary}toString(){return"Binary"}};K4=Symbol.toStringTag;Pv[K4]=(n=>(n.ArrayType=Uint8Array,n[Symbol.toStringTag]="Binary"))(Pv.prototype);let Ov=class extends _i{constructor(){super()}get typeId(){return Jn.Utf8}toString(){return"Utf8"}};J4=Symbol.toStringTag;Ov[J4]=(n=>(n.ArrayType=Uint8Array,n[Symbol.toStringTag]="Utf8"))(Ov.prototype);let Dv=class extends _i{constructor(){super()}get typeId(){return Jn.Bool}toString(){return"Bool"}};Q4=Symbol.toStringTag;Dv[Q4]=(n=>(n.ArrayType=Uint8Array,n[Symbol.toStringTag]="Bool"))(Dv.prototype);let zv=class extends _i{constructor(e,r,C=128){super(),this.scale=e,this.precision=r,this.bitWidth=C}get typeId(){return Jn.Decimal}toString(){return`Decimal[${this.precision}e${this.scale>0?"+":""}${this.scale}]`}};ek=Symbol.toStringTag;zv[ek]=(n=>(n.scale=null,n.precision=null,n.ArrayType=Uint32Array,n[Symbol.toStringTag]="Decimal"))(zv.prototype);class Fv extends _i{constructor(e){super(),this.unit=e}get typeId(){return Jn.Date}toString(){return`Date${(this.unit+1)*32}<${nf[this.unit]}>`}}tk=Symbol.toStringTag;Fv[tk]=(n=>(n.unit=null,n.ArrayType=Int32Array,n[Symbol.toStringTag]="Date"))(Fv.prototype);class Rm extends _i{constructor(e,r){super(),this.unit=e,this.bitWidth=r}get typeId(){return Jn.Time}toString(){return`Time${this.bitWidth}<${wa[this.unit]}>`}get ArrayType(){switch(this.bitWidth){case 32:return Int32Array;case 64:return Ym}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}}nk=Symbol.toStringTag;Rm[nk]=(n=>(n.unit=null,n.bitWidth=null,n[Symbol.toStringTag]="Time"))(Rm.prototype);class Bv extends _i{constructor(e,r){super(),this.unit=e,this.timezone=r}get typeId(){return Jn.Timestamp}toString(){return`Timestamp<${wa[this.unit]}${this.timezone?`, ${this.timezone}`:""}>`}}rk=Symbol.toStringTag;Bv[rk]=(n=>(n.unit=null,n.timezone=null,n.ArrayType=Int32Array,n[Symbol.toStringTag]="Timestamp"))(Bv.prototype);class Nv extends _i{constructor(e){super(),this.unit=e}get typeId(){return Jn.Interval}toString(){return`Interval<${Hf[this.unit]}>`}}ik=Symbol.toStringTag;Nv[ik]=(n=>(n.unit=null,n.ArrayType=Int32Array,n[Symbol.toStringTag]="Interval"))(Nv.prototype);let Vv=class extends _i{constructor(e){super(),this.children=[e]}get typeId(){return Jn.List}toString(){return`List<${this.valueType}>`}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}};ak=Symbol.toStringTag;Vv[ak]=(n=>(n.children=null,n[Symbol.toStringTag]="List"))(Vv.prototype);class bl extends _i{constructor(e){super(),this.children=e}get typeId(){return Jn.Struct}toString(){return`Struct<{${this.children.map(e=>`${e.name}:${e.type}`).join(", ")}}>`}}ok=Symbol.toStringTag;bl[ok]=(n=>(n.children=null,n[Symbol.toStringTag]="Struct"))(bl.prototype);class jv extends _i{constructor(e,r,C){super(),this.mode=e,this.children=C,this.typeIds=r=Int32Array.from(r),this.typeIdToChildIndex=r.reduce((D,T,p)=>(D[T]=p)&&D||D,Object.create(null))}get typeId(){return Jn.Union}toString(){return`${this[Symbol.toStringTag]}<${this.children.map(e=>`${e.type}`).join(" | ")}>`}}sk=Symbol.toStringTag;jv[sk]=(n=>(n.mode=null,n.typeIds=null,n.children=null,n.typeIdToChildIndex=null,n.ArrayType=Int8Array,n[Symbol.toStringTag]="Union"))(jv.prototype);let Uv=class extends _i{constructor(e){super(),this.byteWidth=e}get typeId(){return Jn.FixedSizeBinary}toString(){return`FixedSizeBinary[${this.byteWidth}]`}};lk=Symbol.toStringTag;Uv[lk]=(n=>(n.byteWidth=null,n.ArrayType=Uint8Array,n[Symbol.toStringTag]="FixedSizeBinary"))(Uv.prototype);let Hv=class extends _i{constructor(e,r){super(),this.listSize=e,this.children=[r]}get typeId(){return Jn.FixedSizeList}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}toString(){return`FixedSizeList[${this.listSize}]<${this.valueType}>`}};uk=Symbol.toStringTag;Hv[uk]=(n=>(n.children=null,n.listSize=null,n[Symbol.toStringTag]="FixedSizeList"))(Hv.prototype);class Gv extends _i{constructor(e,r=!1){super(),this.children=[e],this.keysSorted=r}get typeId(){return Jn.Map}get keyType(){return this.children[0].type.children[0].type}get valueType(){return this.children[0].type.children[1].type}get childType(){return this.children[0].type}toString(){return`Map<{${this.children[0].type.children.map(e=>`${e.name}:${e.type}`).join(", ")}}>`}}ck=Symbol.toStringTag;Gv[ck]=(n=>(n.children=null,n.keysSorted=null,n[Symbol.toStringTag]="Map_"))(Gv.prototype);const z9=(n=>()=>++n)(-1);class Kp extends _i{constructor(e,r,C,D){super(),this.indices=r,this.dictionary=e,this.isOrdered=D||!1,this.id=C==null?z9():typeof C=="number"?C:C.low}get typeId(){return Jn.Dictionary}get children(){return this.dictionary.children}get valueType(){return this.dictionary}get ArrayType(){return this.dictionary.ArrayType}toString(){return`Dictionary<${this.indices}, ${this.dictionary}>`}}hk=Symbol.toStringTag;Kp[hk]=(n=>(n.id=null,n.indices=null,n.isOrdered=null,n.dictionary=null,n[Symbol.toStringTag]="Dictionary"))(Kp.prototype);function Wh(n){const e=n;switch(n.typeId){case Jn.Decimal:return n.bitWidth/32;case Jn.Timestamp:return 2;case Jn.Date:return 1+e.unit;case Jn.Interval:return 1+e.unit;case Jn.FixedSizeList:return e.listSize;case Jn.FixedSizeBinary:return e.byteWidth;default:return 1}}class aa{visitMany(e,...r){return e.map((C,D)=>this.visit(C,...r.map(T=>T[D])))}visit(...e){return this.getVisitFn(e[0],!1).apply(this,e)}getVisitFn(e,r=!0){return F9(this,e,r)}getVisitFnByTypeId(e,r=!0){return Rp(this,e,r)}visitNull(e,...r){return null}visitBool(e,...r){return null}visitInt(e,...r){return null}visitFloat(e,...r){return null}visitUtf8(e,...r){return null}visitBinary(e,...r){return null}visitFixedSizeBinary(e,...r){return null}visitDate(e,...r){return null}visitTimestamp(e,...r){return null}visitTime(e,...r){return null}visitDecimal(e,...r){return null}visitList(e,...r){return null}visitStruct(e,...r){return null}visitUnion(e,...r){return null}visitDictionary(e,...r){return null}visitInterval(e,...r){return null}visitFixedSizeList(e,...r){return null}visitMap(e,...r){return null}}function F9(n,e,r=!0){return typeof e=="number"?Rp(n,e,r):typeof e=="string"&&e in Jn?Rp(n,Jn[e],r):e&&e instanceof _i?Rp(n,K3(e),r):e!=null&&e.type&&e.type instanceof _i?Rp(n,K3(e.type),r):Rp(n,Jn.NONE,r)}function Rp(n,e,r=!0){let C=null;switch(e){case Jn.Null:C=n.visitNull;break;case Jn.Bool:C=n.visitBool;break;case Jn.Int:C=n.visitInt;break;case Jn.Int8:C=n.visitInt8||n.visitInt;break;case Jn.Int16:C=n.visitInt16||n.visitInt;break;case Jn.Int32:C=n.visitInt32||n.visitInt;break;case Jn.Int64:C=n.visitInt64||n.visitInt;break;case Jn.Uint8:C=n.visitUint8||n.visitInt;break;case Jn.Uint16:C=n.visitUint16||n.visitInt;break;case Jn.Uint32:C=n.visitUint32||n.visitInt;break;case Jn.Uint64:C=n.visitUint64||n.visitInt;break;case Jn.Float:C=n.visitFloat;break;case Jn.Float16:C=n.visitFloat16||n.visitFloat;break;case Jn.Float32:C=n.visitFloat32||n.visitFloat;break;case Jn.Float64:C=n.visitFloat64||n.visitFloat;break;case Jn.Utf8:C=n.visitUtf8;break;case Jn.Binary:C=n.visitBinary;break;case Jn.FixedSizeBinary:C=n.visitFixedSizeBinary;break;case Jn.Date:C=n.visitDate;break;case Jn.DateDay:C=n.visitDateDay||n.visitDate;break;case Jn.DateMillisecond:C=n.visitDateMillisecond||n.visitDate;break;case Jn.Timestamp:C=n.visitTimestamp;break;case Jn.TimestampSecond:C=n.visitTimestampSecond||n.visitTimestamp;break;case Jn.TimestampMillisecond:C=n.visitTimestampMillisecond||n.visitTimestamp;break;case Jn.TimestampMicrosecond:C=n.visitTimestampMicrosecond||n.visitTimestamp;break;case Jn.TimestampNanosecond:C=n.visitTimestampNanosecond||n.visitTimestamp;break;case Jn.Time:C=n.visitTime;break;case Jn.TimeSecond:C=n.visitTimeSecond||n.visitTime;break;case Jn.TimeMillisecond:C=n.visitTimeMillisecond||n.visitTime;break;case Jn.TimeMicrosecond:C=n.visitTimeMicrosecond||n.visitTime;break;case Jn.TimeNanosecond:C=n.visitTimeNanosecond||n.visitTime;break;case Jn.Decimal:C=n.visitDecimal;break;case Jn.List:C=n.visitList;break;case Jn.Struct:C=n.visitStruct;break;case Jn.Union:C=n.visitUnion;break;case Jn.DenseUnion:C=n.visitDenseUnion||n.visitUnion;break;case Jn.SparseUnion:C=n.visitSparseUnion||n.visitUnion;break;case Jn.Dictionary:C=n.visitDictionary;break;case Jn.Interval:C=n.visitInterval;break;case Jn.IntervalDayTime:C=n.visitIntervalDayTime||n.visitInterval;break;case Jn.IntervalYearMonth:C=n.visitIntervalYearMonth||n.visitInterval;break;case Jn.FixedSizeList:C=n.visitFixedSizeList;break;case Jn.Map:C=n.visitMap;break}if(typeof C=="function")return C;if(!r)return()=>null;throw new Error(`Unrecognized type '${Jn[e]}'`)}function K3(n){switch(n.typeId){case Jn.Null:return Jn.Null;case Jn.Int:{const{bitWidth:e,isSigned:r}=n;switch(e){case 8:return r?Jn.Int8:Jn.Uint8;case 16:return r?Jn.Int16:Jn.Uint16;case 32:return r?Jn.Int32:Jn.Uint32;case 64:return r?Jn.Int64:Jn.Uint64}return Jn.Int}case Jn.Float:switch(n.precision){case Yl.HALF:return Jn.Float16;case Yl.SINGLE:return Jn.Float32;case Yl.DOUBLE:return Jn.Float64}return Jn.Float;case Jn.Binary:return Jn.Binary;case Jn.Utf8:return Jn.Utf8;case Jn.Bool:return Jn.Bool;case Jn.Decimal:return Jn.Decimal;case Jn.Time:switch(n.unit){case wa.SECOND:return Jn.TimeSecond;case wa.MILLISECOND:return Jn.TimeMillisecond;case wa.MICROSECOND:return Jn.TimeMicrosecond;case wa.NANOSECOND:return Jn.TimeNanosecond}return Jn.Time;case Jn.Timestamp:switch(n.unit){case wa.SECOND:return Jn.TimestampSecond;case wa.MILLISECOND:return Jn.TimestampMillisecond;case wa.MICROSECOND:return Jn.TimestampMicrosecond;case wa.NANOSECOND:return Jn.TimestampNanosecond}return Jn.Timestamp;case Jn.Date:switch(n.unit){case nf.DAY:return Jn.DateDay;case nf.MILLISECOND:return Jn.DateMillisecond}return Jn.Date;case Jn.Interval:switch(n.unit){case Hf.DAY_TIME:return Jn.IntervalDayTime;case Hf.YEAR_MONTH:return Jn.IntervalYearMonth}return Jn.Interval;case Jn.Map:return Jn.Map;case Jn.List:return Jn.List;case Jn.Struct:return Jn.Struct;case Jn.Union:switch(n.mode){case xu.Dense:return Jn.DenseUnion;case xu.Sparse:return Jn.SparseUnion}return Jn.Union;case Jn.FixedSizeBinary:return Jn.FixedSizeBinary;case Jn.FixedSizeList:return Jn.FixedSizeList;case Jn.Dictionary:return Jn.Dictionary}throw new Error(`Unrecognized type '${Jn[n.typeId]}'`)}aa.prototype.visitInt8=null;aa.prototype.visitInt16=null;aa.prototype.visitInt32=null;aa.prototype.visitInt64=null;aa.prototype.visitUint8=null;aa.prototype.visitUint16=null;aa.prototype.visitUint32=null;aa.prototype.visitUint64=null;aa.prototype.visitFloat16=null;aa.prototype.visitFloat32=null;aa.prototype.visitFloat64=null;aa.prototype.visitDateDay=null;aa.prototype.visitDateMillisecond=null;aa.prototype.visitTimestampSecond=null;aa.prototype.visitTimestampMillisecond=null;aa.prototype.visitTimestampMicrosecond=null;aa.prototype.visitTimestampNanosecond=null;aa.prototype.visitTimeSecond=null;aa.prototype.visitTimeMillisecond=null;aa.prototype.visitTimeMicrosecond=null;aa.prototype.visitTimeNanosecond=null;aa.prototype.visitDenseUnion=null;aa.prototype.visitSparseUnion=null;aa.prototype.visitIntervalDayTime=null;aa.prototype.visitIntervalYearMonth=null;const fk=new Float64Array(1),Ap=new Uint32Array(fk.buffer);function dk(n){const e=(n&31744)>>10,r=(n&1023)/1024,C=Math.pow(-1,(n&32768)>>15);switch(e){case 31:return C*(r?Number.NaN:1/0);case 0:return C*(r?6103515625e-14*r:0)}return C*Math.pow(2,e-15)*(1+r)}function B9(n){if(n!==n)return 32256;fk[0]=n;const e=(Ap[1]&2147483648)>>16&65535;let r=Ap[1]&2146435072,C=0;return r>=1089470464?Ap[0]>0?r=31744:(r=(r&2080374784)>>16,C=(Ap[1]&1048575)>>10):r<=1056964608?(C=1048576+(Ap[1]&1048575),C=1048576+(C<<(r>>20)-998)>>21,r=0):(r=r-1056964608>>10,C=(Ap[1]&1048575)+512>>10),e|r|C&65535}class Ci extends aa{}function Pi(n){return(e,r,C)=>{if(e.setValid(r,C!=null))return n(e,r,C)}}const N9=(n,e,r)=>{n[e]=Math.trunc(r/864e5)},b2=(n,e,r)=>{n[e]=Math.trunc(r%4294967296),n[e+1]=Math.trunc(r/4294967296)},V9=(n,e,r)=>{n[e]=Math.trunc(r*1e3%4294967296),n[e+1]=Math.trunc(r*1e3/4294967296)},j9=(n,e,r)=>{n[e]=Math.trunc(r*1e6%4294967296),n[e+1]=Math.trunc(r*1e6/4294967296)},pk=(n,e,r,C)=>{if(r+1{const D=n+r;C?e[D>>3]|=1<>3]&=~(1<{n[e]=r},x2=({values:n},e,r)=>{n[e]=r},mk=({values:n},e,r)=>{n[e]=B9(r)},H9=(n,e,r)=>{switch(n.type.precision){case Yl.HALF:return mk(n,e,r);case Yl.SINGLE:case Yl.DOUBLE:return x2(n,e,r)}},gk=({values:n},e,r)=>{N9(n,e,r.valueOf())},vk=({values:n},e,r)=>{b2(n,e*2,r.valueOf())},G9=({stride:n,values:e},r,C)=>{e.set(C.subarray(0,n),n*r)},q9=({values:n,valueOffsets:e},r,C)=>pk(n,e,r,C),W9=({values:n,valueOffsets:e},r,C)=>{pk(n,e,r,p2(C))},Y9=(n,e,r)=>{n.type.unit===nf.DAY?gk(n,e,r):vk(n,e,r)},yk=({values:n},e,r)=>b2(n,e*2,r/1e3),bk=({values:n},e,r)=>b2(n,e*2,r),xk=({values:n},e,r)=>V9(n,e*2,r),_k=({values:n},e,r)=>j9(n,e*2,r),$9=(n,e,r)=>{switch(n.type.unit){case wa.SECOND:return yk(n,e,r);case wa.MILLISECOND:return bk(n,e,r);case wa.MICROSECOND:return xk(n,e,r);case wa.NANOSECOND:return _k(n,e,r)}},wk=({values:n},e,r)=>{n[e]=r},Tk=({values:n},e,r)=>{n[e]=r},kk=({values:n},e,r)=>{n[e]=r},Mk=({values:n},e,r)=>{n[e]=r},Z9=(n,e,r)=>{switch(n.type.unit){case wa.SECOND:return wk(n,e,r);case wa.MILLISECOND:return Tk(n,e,r);case wa.MICROSECOND:return kk(n,e,r);case wa.NANOSECOND:return Mk(n,e,r)}},X9=({values:n,stride:e},r,C)=>{n.set(C.subarray(0,e),e*r)},K9=(n,e,r)=>{const C=n.children[0],D=n.valueOffsets,T=nc.getVisitFn(C);if(Array.isArray(r))for(let p=-1,t=D[e],d=D[e+1];t{const C=n.children[0],{valueOffsets:D}=n,T=nc.getVisitFn(C);let{[e]:p,[e+1]:t}=D;const d=r instanceof Map?r.entries():Object.entries(r);for(const g of d)if(T(C,p,g),++p>=t)break},Q9=(n,e)=>(r,C,D,T)=>C&&r(C,n,e[T]),eL=(n,e)=>(r,C,D,T)=>C&&r(C,n,e.get(T)),tL=(n,e)=>(r,C,D,T)=>C&&r(C,n,e.get(D.name)),nL=(n,e)=>(r,C,D,T)=>C&&r(C,n,e[D.name]),rL=(n,e,r)=>{const C=n.type.children.map(T=>nc.getVisitFn(T.type)),D=r instanceof Map?tL(e,r):r instanceof Ta?eL(e,r):Array.isArray(r)?Q9(e,r):nL(e,r);n.type.children.forEach((T,p)=>D(C[p],n.children[p],T,p))},iL=(n,e,r)=>{n.type.mode===xu.Dense?Ak(n,e,r):Sk(n,e,r)},Ak=(n,e,r)=>{const C=n.type.typeIdToChildIndex[n.typeIds[e]],D=n.children[C];nc.visit(D,n.valueOffsets[e],r)},Sk=(n,e,r)=>{const C=n.type.typeIdToChildIndex[n.typeIds[e]],D=n.children[C];nc.visit(D,e,r)},aL=(n,e,r)=>{var C;(C=n.dictionary)===null||C===void 0||C.set(n.values[e],r)},oL=(n,e,r)=>{n.type.unit===Hf.DAY_TIME?Ck(n,e,r):Ek(n,e,r)},Ck=({values:n},e,r)=>{n.set(r.subarray(0,2),2*e)},Ek=({values:n},e,r)=>{n[e]=r[0]*12+r[1]%12},sL=(n,e,r)=>{const{stride:C}=n,D=n.children[0],T=nc.getVisitFn(D);if(Array.isArray(r))for(let p=-1,t=e*C;++p`${Cm(e)}: ${Cm(r)}`).join(", ")}}`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}[Symbol.iterator](){return new lL(this[Ec],this[Gp])}}class lL{constructor(e,r){this.childIndex=0,this.children=e.children,this.rowIndex=r,this.childFields=e.type.children,this.numChildren=this.childFields.length}[Symbol.iterator](){return this}next(){const e=this.childIndex;return er.name)}has(e,r){return e[Ec].type.children.findIndex(C=>C.name===r)!==-1}getOwnPropertyDescriptor(e,r){if(e[Ec].type.children.findIndex(C=>C.name===r)!==-1)return{writable:!0,enumerable:!0,configurable:!0}}get(e,r){if(Reflect.has(e,r))return e[r];const C=e[Ec].type.children.findIndex(D=>D.name===r);if(C!==-1){const D=Xl.visit(e[Ec].children[C],e[Gp]);return Reflect.set(e,r,D),D}}set(e,r,C){const D=e[Ec].type.children.findIndex(T=>T.name===r);return D!==-1?(nc.visit(e[Ec].children[D],e[Gp],C),Reflect.set(e,r,C)):Reflect.has(e,r)||typeof r=="symbol"?Reflect.set(e,r,C):!1}}class Ti extends aa{}function Ei(n){return(e,r)=>e.getValid(r)?n(e,r):null}const cL=(n,e)=>864e5*n[e],w2=(n,e)=>4294967296*n[e+1]+(n[e]>>>0),hL=(n,e)=>4294967296*(n[e+1]/1e3)+(n[e]>>>0)/1e3,fL=(n,e)=>4294967296*(n[e+1]/1e6)+(n[e]>>>0)/1e6,Lk=n=>new Date(n),dL=(n,e)=>Lk(cL(n,e)),pL=(n,e)=>Lk(w2(n,e)),mL=(n,e)=>null,Ik=(n,e,r)=>{if(r+1>=e.length)return null;const C=e[r],D=e[r+1];return n.subarray(C,D)},gL=({offset:n,values:e},r)=>{const C=n+r;return(e[C>>3]&1<dL(n,e),Pk=({values:n},e)=>pL(n,e*2),Kf=({stride:n,values:e},r)=>e[n*r],vL=({stride:n,values:e},r)=>dk(e[n*r]),Ok=({values:n},e)=>n[e],yL=({stride:n,values:e},r)=>e.subarray(n*r,n*(r+1)),bL=({values:n,valueOffsets:e},r)=>Ik(n,e,r),xL=({values:n,valueOffsets:e},r)=>{const C=Ik(n,e,r);return C!==null?jb(C):null},_L=({values:n},e)=>n[e],wL=({type:n,values:e},r)=>n.precision!==Yl.HALF?e[r]:dk(e[r]),TL=(n,e)=>n.type.unit===nf.DAY?Rk(n,e):Pk(n,e),Dk=({values:n},e)=>1e3*w2(n,e*2),zk=({values:n},e)=>w2(n,e*2),Fk=({values:n},e)=>hL(n,e*2),Bk=({values:n},e)=>fL(n,e*2),kL=(n,e)=>{switch(n.type.unit){case wa.SECOND:return Dk(n,e);case wa.MILLISECOND:return zk(n,e);case wa.MICROSECOND:return Fk(n,e);case wa.NANOSECOND:return Bk(n,e)}},Nk=({values:n},e)=>n[e],Vk=({values:n},e)=>n[e],jk=({values:n},e)=>n[e],Uk=({values:n},e)=>n[e],ML=(n,e)=>{switch(n.type.unit){case wa.SECOND:return Nk(n,e);case wa.MILLISECOND:return Vk(n,e);case wa.MICROSECOND:return jk(n,e);case wa.NANOSECOND:return Uk(n,e)}},AL=({values:n,stride:e},r)=>y2.decimal(n.subarray(e*r,e*(r+1))),SL=(n,e)=>{const{valueOffsets:r,stride:C,children:D}=n,{[e*C]:T,[e*C+1]:p}=r,d=D[0].slice(T,p-T);return new Ta([d])},CL=(n,e)=>{const{valueOffsets:r,children:C}=n,{[e]:D,[e+1]:T}=r,p=C[0];return new T2(p.slice(D,T-D))},EL=(n,e)=>new _2(n,e),LL=(n,e)=>n.type.mode===xu.Dense?Hk(n,e):Gk(n,e),Hk=(n,e)=>{const r=n.type.typeIdToChildIndex[n.typeIds[e]],C=n.children[r];return Xl.visit(C,n.valueOffsets[e])},Gk=(n,e)=>{const r=n.type.typeIdToChildIndex[n.typeIds[e]],C=n.children[r];return Xl.visit(C,e)},IL=(n,e)=>{var r;return(r=n.dictionary)===null||r===void 0?void 0:r.get(n.values[e])},RL=(n,e)=>n.type.unit===Hf.DAY_TIME?qk(n,e):Wk(n,e),qk=({values:n},e)=>n.subarray(2*e,2*(e+1)),Wk=({values:n},e)=>{const r=n[e],C=new Int32Array(2);return C[0]=Math.trunc(r/12),C[1]=Math.trunc(r%12),C},PL=(n,e)=>{const{stride:r,children:C}=n,T=C[0].slice(e*r,r);return new Ta([T])};Ti.prototype.visitNull=Ei(mL);Ti.prototype.visitBool=Ei(gL);Ti.prototype.visitInt=Ei(_L);Ti.prototype.visitInt8=Ei(Kf);Ti.prototype.visitInt16=Ei(Kf);Ti.prototype.visitInt32=Ei(Kf);Ti.prototype.visitInt64=Ei(Ok);Ti.prototype.visitUint8=Ei(Kf);Ti.prototype.visitUint16=Ei(Kf);Ti.prototype.visitUint32=Ei(Kf);Ti.prototype.visitUint64=Ei(Ok);Ti.prototype.visitFloat=Ei(wL);Ti.prototype.visitFloat16=Ei(vL);Ti.prototype.visitFloat32=Ei(Kf);Ti.prototype.visitFloat64=Ei(Kf);Ti.prototype.visitUtf8=Ei(xL);Ti.prototype.visitBinary=Ei(bL);Ti.prototype.visitFixedSizeBinary=Ei(yL);Ti.prototype.visitDate=Ei(TL);Ti.prototype.visitDateDay=Ei(Rk);Ti.prototype.visitDateMillisecond=Ei(Pk);Ti.prototype.visitTimestamp=Ei(kL);Ti.prototype.visitTimestampSecond=Ei(Dk);Ti.prototype.visitTimestampMillisecond=Ei(zk);Ti.prototype.visitTimestampMicrosecond=Ei(Fk);Ti.prototype.visitTimestampNanosecond=Ei(Bk);Ti.prototype.visitTime=Ei(ML);Ti.prototype.visitTimeSecond=Ei(Nk);Ti.prototype.visitTimeMillisecond=Ei(Vk);Ti.prototype.visitTimeMicrosecond=Ei(jk);Ti.prototype.visitTimeNanosecond=Ei(Uk);Ti.prototype.visitDecimal=Ei(AL);Ti.prototype.visitList=Ei(SL);Ti.prototype.visitStruct=Ei(EL);Ti.prototype.visitUnion=Ei(LL);Ti.prototype.visitDenseUnion=Ei(Hk);Ti.prototype.visitSparseUnion=Ei(Gk);Ti.prototype.visitDictionary=Ei(IL);Ti.prototype.visitInterval=Ei(RL);Ti.prototype.visitIntervalDayTime=Ei(qk);Ti.prototype.visitIntervalYearMonth=Ei(Wk);Ti.prototype.visitFixedSizeList=Ei(PL);Ti.prototype.visitMap=Ei(CL);const Xl=new Ti,lh=Symbol.for("keys"),qp=Symbol.for("vals");class T2{constructor(e){return this[lh]=new Ta([e.children[0]]).memoize(),this[qp]=e.children[1],new Proxy(this,new DL)}[Symbol.iterator](){return new OL(this[lh],this[qp])}get size(){return this[lh].length}toArray(){return Object.values(this.toJSON())}toJSON(){const e=this[lh],r=this[qp],C={};for(let D=-1,T=e.length;++D`${Cm(e)}: ${Cm(r)}`).join(", ")}}`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}}class OL{constructor(e,r){this.keys=e,this.vals=r,this.keyIndex=0,this.numKeys=e.length}[Symbol.iterator](){return this}next(){const e=this.keyIndex;return e===this.numKeys?{done:!0,value:null}:(this.keyIndex++,{done:!1,value:[this.keys.get(e),Xl.visit(this.vals,e)]})}}class DL{isExtensible(){return!1}deleteProperty(){return!1}preventExtensions(){return!0}ownKeys(e){return e[lh].toArray().map(String)}has(e,r){return e[lh].includes(r)}getOwnPropertyDescriptor(e,r){if(e[lh].indexOf(r)!==-1)return{writable:!0,enumerable:!0,configurable:!0}}get(e,r){if(Reflect.has(e,r))return e[r];const C=e[lh].indexOf(r);if(C!==-1){const D=Xl.visit(Reflect.get(e,qp),C);return Reflect.set(e,r,D),D}}set(e,r,C){const D=e[lh].indexOf(r);return D!==-1?(nc.visit(Reflect.get(e,qp),D,C),Reflect.set(e,r,C)):Reflect.has(e,r)?Reflect.set(e,r,C):!1}}Object.defineProperties(T2.prototype,{[Symbol.toStringTag]:{enumerable:!1,configurable:!1,value:"Row"},[lh]:{writable:!0,enumerable:!1,configurable:!1,value:null},[qp]:{writable:!0,enumerable:!1,configurable:!1,value:null}});let J3;function Yk(n,e,r,C){const{length:D=0}=n;let T=typeof e!="number"?0:e,p=typeof r!="number"?D:r;return T<0&&(T=(T%D+D)%D),p<0&&(p=(p%D+D)%D),pD&&(p=D),C?C(n,T,p):[T,p]}const Q3=n=>n!==n;function v0(n){if(typeof n!=="object"||n===null)return Q3(n)?Q3:r=>r===n;if(n instanceof Date){const r=n.valueOf();return C=>C instanceof Date?C.valueOf()===r:!1}return ArrayBuffer.isView(n)?r=>r?C9(n,r):!1:n instanceof Map?FL(n):Array.isArray(n)?zL(n):n instanceof Ta?BL(n):NL(n,!0)}function zL(n){const e=[];for(let r=-1,C=n.length;++r!1;const C=[];for(let D=-1,T=r.length;++D{if(!r||typeof r!="object")return!1;switch(r.constructor){case Array:return VL(n,r);case Map:return e5(n,r,r.keys());case T2:case _2:case Object:case void 0:return e5(n,r,e||Object.keys(r))}return r instanceof Ta?jL(n,r):!1}}function VL(n,e){const r=n.length;if(e.length!==r)return!1;for(let C=-1;++C>C}function k2(n,e,r){const C=r.byteLength+7&-8;if(n>0||r.byteLength>3):qv(new M2(r,n,e,null,$k)).subarray(0,C)),D}return r}function qv(n){const e=[];let r=0,C=0,D=0;for(const p of n)p&&(D|=1<0)&&(e[r++]=D);const T=new Uint8Array(e.length+7&-8);return T.set(e),T}class M2{constructor(e,r,C,D,T){this.bytes=e,this.length=C,this.context=D,this.get=T,this.bit=r%8,this.byteIndex=r>>3,this.byte=e[this.byteIndex++],this.index=0}next(){return this.index>3<<3,D=e+(e%8===0?0:8-e%8);return qb(n,e,D)+qb(n,C,r)+HL(n,D>>3,C-D>>3)}function HL(n,e,r){let C=0,D=Math.trunc(e);const T=new DataView(n.buffer,n.byteOffset,n.byteLength),p=r===void 0?n.byteLength:D+r;for(;p-D>=4;)C+=cb(T.getUint32(D)),D+=4;for(;p-D>=2;)C+=cb(T.getUint16(D)),D+=2;for(;p-D>=1;)C+=cb(T.getUint8(D)),D+=1;return C}function cb(n){let e=Math.trunc(n);return e=e-(e>>>1&1431655765),e=(e&858993459)+(e>>>2&858993459),(e+(e>>>4)&252645135)*16843009>>>24}const GL=-1;class Qa{constructor(e,r,C,D,T,p=[],t){this.type=e,this.children=p,this.dictionary=t,this.offset=Math.floor(Math.max(r||0,0)),this.length=Math.floor(Math.max(C||0,0)),this._nullCount=Math.floor(Math.max(D||0,-1));let d;T instanceof Qa?(this.stride=T.stride,this.values=T.values,this.typeIds=T.typeIds,this.nullBitmap=T.nullBitmap,this.valueOffsets=T.valueOffsets):(this.stride=Wh(e),T&&((d=T[0])&&(this.valueOffsets=d),(d=T[1])&&(this.values=d),(d=T[2])&&(this.nullBitmap=d),(d=T[3])&&(this.typeIds=d))),this.nullable=this._nullCount!==0&&this.nullBitmap&&this.nullBitmap.byteLength>0}get typeId(){return this.type.typeId}get ArrayType(){return this.type.ArrayType}get buffers(){return[this.valueOffsets,this.values,this.nullBitmap,this.typeIds]}get byteLength(){let e=0;const{valueOffsets:r,values:C,nullBitmap:D,typeIds:T}=this;return r&&(e+=r.byteLength),C&&(e+=C.byteLength),D&&(e+=D.byteLength),T&&(e+=T.byteLength),this.children.reduce((p,t)=>p+t.byteLength,e)}get nullCount(){let e=this._nullCount,r;return e<=GL&&(r=this.nullBitmap)&&(this._nullCount=e=this.length-qb(r,this.offset,this.offset+this.length)),e}getValid(e){if(this.nullable&&this.nullCount>0){const r=this.offset+e;return(this.nullBitmap[r>>3]&1<>3){const{nullBitmap:d}=this._changeLengthAndBackfillNullBitmap(this.length);Object.assign(this,{nullBitmap:d,_nullCount:0})}const{nullBitmap:C,offset:D}=this,T=D+e>>3,p=(D+e)%8,t=C[T]>>p&1;return r?t===0&&(C[T]|=1<>3).fill(255,0,r>>3);D[r>>3]=(1<0&&D.set(k2(this.offset,r,this.nullBitmap),0);const T=this.buffers;return T[qh.VALIDITY]=D,this.clone(this.type,0,e,C+(e-r),T)}_sliceBuffers(e,r,C,D){let T;const{buffers:p}=this;return(T=p[qh.TYPE])&&(p[qh.TYPE]=T.subarray(e,e+r)),(T=p[qh.OFFSET])&&(p[qh.OFFSET]=T.subarray(e,e+r+1))||(T=p[qh.DATA])&&(p[qh.DATA]=D===6?T:T.subarray(C*e,C*(e+r))),p}_sliceChildren(e,r,C){return e.map(D=>D.slice(r,C))}}Qa.prototype.children=Object.freeze([]);class mm extends aa{visit(e){return this.getVisitFn(e.type).call(this,e)}visitNull(e){const{["type"]:r,["offset"]:C=0,["length"]:D=0}=e;return new Qa(r,C,D,0)}visitBool(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length>>3,["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,p,t,[void 0,T,D])}visitInt(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length,["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,p,t,[void 0,T,D])}visitFloat(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length,["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,p,t,[void 0,T,D])}visitUtf8(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.data),T=_a(e.nullBitmap),p=rm(e.valueOffsets),{["length"]:t=p.length-1,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,C,t,d,[p,D,T])}visitBinary(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.data),T=_a(e.nullBitmap),p=rm(e.valueOffsets),{["length"]:t=p.length-1,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,C,t,d,[p,D,T])}visitFixedSizeBinary(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,p,t,[void 0,T,D])}visitDate(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,p,t,[void 0,T,D])}visitTimestamp(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,p,t,[void 0,T,D])}visitTime(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,p,t,[void 0,T,D])}visitDecimal(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,p,t,[void 0,T,D])}visitList(e){const{["type"]:r,["offset"]:C=0,["child"]:D}=e,T=_a(e.nullBitmap),p=rm(e.valueOffsets),{["length"]:t=p.length-1,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,C,t,d,[p,void 0,T],[D])}visitStruct(e){const{["type"]:r,["offset"]:C=0,["children"]:D=[]}=e,T=_a(e.nullBitmap),{length:p=D.reduce((d,{length:g})=>Math.max(d,g),0),nullCount:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,p,t,[void 0,void 0,T],D)}visitUnion(e){const{["type"]:r,["offset"]:C=0,["children"]:D=[]}=e,T=_a(e.nullBitmap),p=qa(r.ArrayType,e.typeIds),{["length"]:t=p.length,["nullCount"]:d=e.nullBitmap?-1:0}=e;if(_i.isSparseUnion(r))return new Qa(r,C,t,d,[void 0,void 0,T,p],D);const g=rm(e.valueOffsets);return new Qa(r,C,t,d,[g,void 0,T,p],D)}visitDictionary(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),T=qa(r.indices.ArrayType,e.data),{["dictionary"]:p=new Ta([new mm().visit({type:r.dictionary})])}=e,{["length"]:t=T.length,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,C,t,d,[void 0,T,D],[],p)}visitInterval(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,p,t,[void 0,T,D])}visitFixedSizeList(e){const{["type"]:r,["offset"]:C=0,["child"]:D=new mm().visit({type:r.valueType})}=e,T=_a(e.nullBitmap),{["length"]:p=D.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,p,t,[void 0,void 0,T],[D])}visitMap(e){const{["type"]:r,["offset"]:C=0,["child"]:D=new mm().visit({type:r.childType})}=e,T=_a(e.nullBitmap),p=rm(e.valueOffsets),{["length"]:t=p.length-1,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,C,t,d,[p,void 0,T],[D])}}function ra(n){return new mm().visit(n)}class t5{constructor(e=0,r){this.numChunks=e,this.getChunkIterator=r,this.chunkIndex=0,this.chunkIterator=this.getChunkIterator(0)}next(){for(;this.chunkIndexe+r.nullCount,0)}function Xk(n){return n.reduce((e,r,C)=>(e[C+1]=e[C]+r.length,e),new Uint32Array(n.length+1))}function Kk(n,e,r,C){const D=[];for(let T=-1,p=n.length;++T=C)break;if(r>=d+g)continue;if(d>=r&&d+g<=C){D.push(t);continue}const i=Math.max(0,r-d),M=Math.min(C-d,g);D.push(t.slice(i,M-i))}return D.length===0&&D.push(n[0].slice(0,0)),D}function A2(n,e,r,C){let D=0,T=0,p=e.length-1;do{if(D>=p-1)return r0?0:-1}function WL(n,e){const{nullBitmap:r}=n;if(!r||n.nullCount<=0)return-1;let C=0;for(const D of new M2(r,n.offset+(e||0),n.length,r,$k)){if(!D)return C;++C}return-1}function Vi(n,e,r){if(e===void 0)return-1;if(e===null)return WL(n,r);const C=Xl.getVisitFn(n),D=v0(e);for(let T=(r||0)-1,p=n.length;++T{const D=n.data[C];return D.values.subarray(0,D.length)[Symbol.iterator]()});let r=0;return new t5(n.data.length,C=>{const T=n.data[C].length,p=n.slice(r,r+T);return r+=T,new YL(p)})}class YL{constructor(e){this.vector=e,this.index=0}next(){return this.indexn+e;class Jf extends aa{visitNull(e,r){return 0}visitInt(e,r){return e.type.bitWidth/8}visitFloat(e,r){return e.type.ArrayType.BYTES_PER_ELEMENT}visitBool(e,r){return 1/8}visitDecimal(e,r){return e.type.bitWidth/8}visitDate(e,r){return(e.type.unit+1)*4}visitTime(e,r){return e.type.bitWidth/8}visitTimestamp(e,r){return e.type.unit===wa.SECOND?4:8}visitInterval(e,r){return(e.type.unit+1)*4}visitStruct(e,r){return e.children.reduce((C,D)=>C+_h.visit(D,r),0)}visitFixedSizeBinary(e,r){return e.type.byteWidth}visitMap(e,r){return 8+e.children.reduce((C,D)=>C+_h.visit(D,r),0)}visitDictionary(e,r){var C;return e.type.indices.bitWidth/8+(((C=e.dictionary)===null||C===void 0?void 0:C.getByteLength(e.values[r]))||0)}}const ZL=({valueOffsets:n},e)=>8+(n[e+1]-n[e]),XL=({valueOffsets:n},e)=>8+(n[e+1]-n[e]),KL=({valueOffsets:n,stride:e,children:r},C)=>{const D=r[0],{[C*e]:T}=n,{[C*e+1]:p}=n,t=_h.getVisitFn(D.type),d=D.slice(T,p-T);let g=8;for(let i=-1,M=p-T;++i{const C=e[0],D=C.slice(r*n,n),T=_h.getVisitFn(C.type);let p=0;for(let t=-1,d=D.length;++tn.type.mode===xu.Dense?tM(n,e):nM(n,e),tM=({type:n,children:e,typeIds:r,valueOffsets:C},D)=>{const T=n.typeIdToChildIndex[r[D]];return 8+_h.visit(e[T],C[D])},nM=({children:n},e)=>4+_h.visitMany(n,n.map(()=>e)).reduce($L,0);Jf.prototype.visitUtf8=ZL;Jf.prototype.visitBinary=XL;Jf.prototype.visitList=KL;Jf.prototype.visitFixedSizeList=JL;Jf.prototype.visitUnion=QL;Jf.prototype.visitDenseUnion=tM;Jf.prototype.visitSparseUnion=nM;const _h=new Jf;var rM;const iM={},aM={};class Ta{constructor(e){var r,C,D;const T=e[0]instanceof Ta?e.flatMap(t=>t.data):e;if(T.length===0||T.some(t=>!(t instanceof Qa)))throw new TypeError("Vector constructor expects an Array of Data instances.");const p=(r=T[0])===null||r===void 0?void 0:r.type;switch(T.length){case 0:this._offsets=[0];break;case 1:{const{get:t,set:d,indexOf:g,byteLength:i}=iM[p.typeId],M=T[0];this.isValid=v=>S2(M,v),this.get=v=>t(M,v),this.set=(v,f)=>d(M,v,f),this.indexOf=v=>g(M,v),this.getByteLength=v=>i(M,v),this._offsets=[0,M.length];break}default:Object.setPrototypeOf(this,aM[p.typeId]),this._offsets=Xk(T);break}this.data=T,this.type=p,this.stride=Wh(p),this.numChildren=(D=(C=p.children)===null||C===void 0?void 0:C.length)!==null&&D!==void 0?D:0,this.length=this._offsets[this._offsets.length-1]}get byteLength(){return this._byteLength===-1&&(this._byteLength=this.data.reduce((e,r)=>e+r.byteLength,0)),this._byteLength}get nullCount(){return this._nullCount===-1&&(this._nullCount=Zk(this.data)),this._nullCount}get ArrayType(){return this.type.ArrayType}get[Symbol.toStringTag](){return`${this.VectorName}<${this.type[Symbol.toStringTag]}>`}get VectorName(){return`${Jn[this.type.typeId]}Vector`}isValid(e){return!1}get(e){return null}set(e,r){}indexOf(e,r){return-1}includes(e,r){return this.indexOf(e,r)>0}getByteLength(e){return 0}[Symbol.iterator](){return C2.visit(this)}concat(...e){return new Ta(this.data.concat(e.flatMap(r=>r.data).flat(Number.POSITIVE_INFINITY)))}slice(e,r){return new Ta(Yk(this,e,r,({data:C,_offsets:D},T,p)=>Kk(C,D,T,p)))}toJSON(){return[...this]}toArray(){const{type:e,data:r,length:C,stride:D,ArrayType:T}=this;switch(e.typeId){case Jn.Int:case Jn.Float:case Jn.Decimal:case Jn.Time:case Jn.Timestamp:switch(r.length){case 0:return new T;case 1:return r[0].values.subarray(0,C*D);default:return r.reduce((p,{values:t,length:d})=>(p.array.set(t.subarray(0,d*D),p.offset),p.offset+=d*D,p),{array:new T(C*D),offset:0}).array}}return[...this]}toString(){return`[${[...this].join(",")}]`}getChild(e){var r;return this.getChildAt((r=this.type.children)===null||r===void 0?void 0:r.findIndex(C=>C.name===e))}getChildAt(e){return e>-1&&er[e])):null}get isMemoized(){return _i.isDictionary(this.type)?this.data[0].dictionary.isMemoized:!1}memoize(){if(_i.isDictionary(this.type)){const e=new Yv(this.data[0].dictionary),r=this.data.map(C=>{const D=C.clone();return D.dictionary=e,D});return new Ta(r)}return new Yv(this)}unmemoize(){if(_i.isDictionary(this.type)&&this.isMemoized){const e=this.data[0].dictionary.unmemoize(),r=this.data.map(C=>{const D=C.clone();return D.dictionary=e,D});return new Ta(r)}return this}}rM=Symbol.toStringTag;Ta[rM]=(n=>{n.type=_i.prototype,n.data=[],n.length=0,n.stride=1,n.numChildren=0,n._nullCount=-1,n._byteLength=-1,n._offsets=new Uint32Array([0]),n[Symbol.isConcatSpreadable]=!0;const e=Object.keys(Jn).map(r=>Jn[r]).filter(r=>typeof r=="number"&&r!==Jn.NONE);for(const r of e){const C=Xl.getVisitFnByTypeId(r),D=nc.getVisitFnByTypeId(r),T=Wv.getVisitFnByTypeId(r),p=_h.getVisitFnByTypeId(r);iM[r]={get:C,set:D,indexOf:T,byteLength:p},aM[r]=Object.create(n,{isValid:{value:Wp(S2)},get:{value:Wp(Xl.getVisitFnByTypeId(r))},set:{value:Jk(nc.getVisitFnByTypeId(r))},indexOf:{value:Qk(Wv.getVisitFnByTypeId(r))},getByteLength:{value:Wp(_h.getVisitFnByTypeId(r))}})}return"Vector"})(Ta.prototype);class Yv extends Ta{constructor(e){super(e.data);const r=this.get,C=this.set,D=this.slice,T=new Array(this.length);Object.defineProperty(this,"get",{value(p){const t=T[p];if(t!==void 0)return t;const d=r.call(this,p);return T[p]=d,d}}),Object.defineProperty(this,"set",{value(p,t){C.call(this,p,t),T[p]=t}}),Object.defineProperty(this,"slice",{value:(p,t)=>new Yv(D.call(this,p,t))}),Object.defineProperty(this,"isMemoized",{value:!0}),Object.defineProperty(this,"unmemoize",{value:()=>new Ta(this.data)}),Object.defineProperty(this,"memoize",{value:()=>this})}}class Wb{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}offset(){return this.bb.readInt64(this.bb_pos)}metaDataLength(){return this.bb.readInt32(this.bb_pos+8)}bodyLength(){return this.bb.readInt64(this.bb_pos+16)}static sizeOf(){return 24}static createBlock(e,r,C,D){return e.prep(8,24),e.writeInt64(D),e.pad(4),e.writeInt32(C),e.writeInt64(r),e.offset()}}const hb=2,uh=4,$h=4,Wa=4,Pf=new Int32Array(2),n5=new Float32Array(Pf.buffer),r5=new Float64Array(Pf.buffer),av=new Uint16Array(new Uint8Array([1,0]).buffer)[0]===1;let Jh=class Yb{constructor(e,r){this.low=e|0,this.high=r|0}static create(e,r){return e==0&&r==0?Yb.ZERO:new Yb(e,r)}toFloat64(){return(this.low>>>0)+this.high*4294967296}equals(e){return this.low==e.low&&this.high==e.high}};Jh.ZERO=new Jh(0,0);var $b;(function(n){n[n.UTF8_BYTES=1]="UTF8_BYTES",n[n.UTF16_STRING=2]="UTF16_STRING"})($b||($b={}));let Jp=class oM{constructor(e){this.bytes_=e,this.position_=0}static allocate(e){return new oM(new Uint8Array(e))}clear(){this.position_=0}bytes(){return this.bytes_}position(){return this.position_}setPosition(e){this.position_=e}capacity(){return this.bytes_.length}readInt8(e){return this.readUint8(e)<<24>>24}readUint8(e){return this.bytes_[e]}readInt16(e){return this.readUint16(e)<<16>>16}readUint16(e){return this.bytes_[e]|this.bytes_[e+1]<<8}readInt32(e){return this.bytes_[e]|this.bytes_[e+1]<<8|this.bytes_[e+2]<<16|this.bytes_[e+3]<<24}readUint32(e){return this.readInt32(e)>>>0}readInt64(e){return new Jh(this.readInt32(e),this.readInt32(e+4))}readUint64(e){return new Jh(this.readUint32(e),this.readUint32(e+4))}readFloat32(e){return Pf[0]=this.readInt32(e),n5[0]}readFloat64(e){return Pf[av?0:1]=this.readInt32(e),Pf[av?1:0]=this.readInt32(e+4),r5[0]}writeInt8(e,r){this.bytes_[e]=r}writeUint8(e,r){this.bytes_[e]=r}writeInt16(e,r){this.bytes_[e]=r,this.bytes_[e+1]=r>>8}writeUint16(e,r){this.bytes_[e]=r,this.bytes_[e+1]=r>>8}writeInt32(e,r){this.bytes_[e]=r,this.bytes_[e+1]=r>>8,this.bytes_[e+2]=r>>16,this.bytes_[e+3]=r>>24}writeUint32(e,r){this.bytes_[e]=r,this.bytes_[e+1]=r>>8,this.bytes_[e+2]=r>>16,this.bytes_[e+3]=r>>24}writeInt64(e,r){this.writeInt32(e,r.low),this.writeInt32(e+4,r.high)}writeUint64(e,r){this.writeUint32(e,r.low),this.writeUint32(e+4,r.high)}writeFloat32(e,r){n5[0]=r,this.writeInt32(e,Pf[0])}writeFloat64(e,r){r5[0]=r,this.writeInt32(e,Pf[av?0:1]),this.writeInt32(e+4,Pf[av?1:0])}getBufferIdentifier(){if(this.bytes_.length>10)+55296,(p&1024-1)+56320))}return D}__union_with_string(e,r){return typeof e=="string"?this.__string(r):this.__union(e,r)}__indirect(e){return e+this.readInt32(e)}__vector(e){return e+this.readInt32(e)+uh}__vector_len(e){return this.readInt32(e+this.readInt32(e))}__has_identifier(e){if(e.length!=$h)throw new Error("FlatBuffers: file identifier must be length "+$h);for(let r=0;r<$h;r++)if(e.charCodeAt(r)!=this.readInt8(this.position()+uh+r))return!1;return!0}createLong(e,r){return Jh.create(e,r)}createScalarList(e,r){const C=[];for(let D=0;Dthis.minalign&&(this.minalign=e);const C=~(this.bb.capacity()-this.space+r)+1&e-1;for(;this.space=0&&this.vtable[r]==0;r--);const C=r+1;for(;r>=0;r--)this.addInt16(this.vtable[r]!=0?e-this.vtable[r]:0);const D=2;this.addInt16(e-this.object_start);const T=(C+D)*hb;this.addInt16(T);let p=0;const t=this.space;e:for(r=0;r=0;p--)this.writeInt8(T.charCodeAt(p))}this.prep(this.minalign,uh+D),this.addOffset(e),D&&this.addInt32(this.bb.capacity()-this.space),this.bb.setPosition(this.space)}finishSizePrefixed(e,r){this.finish(e,r,!0)}requiredField(e,r){const C=this.bb.capacity()-e,D=C-this.bb.readInt32(C);if(!(this.bb.readInt16(D+r)!=0))throw new Error("FlatBuffers: field "+r+" must be set")}startVector(e,r,C){this.notNested(),this.vector_num_elems=r,this.prep(uh,e*r),this.prep(C,e*r)}endVector(){return this.writeInt32(this.vector_num_elems),this.offset()}createSharedString(e){if(!e)return 0;if(this.string_maps||(this.string_maps=new Map),this.string_maps.has(e))return this.string_maps.get(e);const r=this.createString(e);return this.string_maps.set(e,r),r}createString(e){if(!e)return 0;let r;if(e instanceof Uint8Array)r=e;else{r=[];let C=0;for(;C=56320)D=T;else{const p=e.charCodeAt(C++);D=(T<<10)+p+(65536-56623104-56320)}D<128?r.push(D):(D<2048?r.push(D>>6&31|192):(D<65536?r.push(D>>12&15|224):r.push(D>>18&7|240,D>>12&63|128),r.push(D>>6&63|128)),r.push(D&63|128))}}this.addInt8(0),this.startVector(1,r.length,1),this.bb.setPosition(this.space-=r.length);for(let C=0,D=this.space,T=this.bb.bytes();C=0;C--)e.addInt32(r[C]);return e.endVector()}static startTypeIdsVector(e,r){e.startVector(4,r,4)}static endUnion(e){return e.endObject()}static createUnion(e,r,C){return Gl.startUnion(e),Gl.addMode(e,r),Gl.addTypeIds(e,C),Gl.endUnion(e)}}class Pd{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsUtf8(e,r){return(r||new Pd).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsUtf8(e,r){return e.setPosition(e.position()+Wa),(r||new Pd).__init(e.readInt32(e.position())+e.position(),e)}static startUtf8(e){e.startObject(0)}static endUtf8(e){return e.endObject()}static createUtf8(e){return Pd.startUtf8(e),Pd.endUtf8(e)}}var Ao;(function(n){n[n.NONE=0]="NONE",n[n.Null=1]="Null",n[n.Int=2]="Int",n[n.FloatingPoint=3]="FloatingPoint",n[n.Binary=4]="Binary",n[n.Utf8=5]="Utf8",n[n.Bool=6]="Bool",n[n.Decimal=7]="Decimal",n[n.Date=8]="Date",n[n.Time=9]="Time",n[n.Timestamp=10]="Timestamp",n[n.Interval=11]="Interval",n[n.List=12]="List",n[n.Struct_=13]="Struct_",n[n.Union=14]="Union",n[n.FixedSizeBinary=15]="FixedSizeBinary",n[n.FixedSizeList=16]="FixedSizeList",n[n.Map=17]="Map",n[n.Duration=18]="Duration",n[n.LargeBinary=19]="LargeBinary",n[n.LargeUtf8=20]="LargeUtf8",n[n.LargeList=21]="LargeList"})(Ao||(Ao={}));let qu=class yv{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsField(e,r){return(r||new yv).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsField(e,r){return e.setPosition(e.position()+Wa),(r||new yv).__init(e.readInt32(e.position())+e.position(),e)}name(e){const r=this.bb.__offset(this.bb_pos,4);return r?this.bb.__string(this.bb_pos+r,e):null}nullable(){const e=this.bb.__offset(this.bb_pos,6);return e?!!this.bb.readInt8(this.bb_pos+e):!1}typeType(){const e=this.bb.__offset(this.bb_pos,8);return e?this.bb.readUint8(this.bb_pos+e):Ao.NONE}type(e){const r=this.bb.__offset(this.bb_pos,10);return r?this.bb.__union(e,this.bb_pos+r):null}dictionary(e){const r=this.bb.__offset(this.bb_pos,12);return r?(e||new Zh).__init(this.bb.__indirect(this.bb_pos+r),this.bb):null}children(e,r){const C=this.bb.__offset(this.bb_pos,14);return C?(r||new yv).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+C)+e*4),this.bb):null}childrenLength(){const e=this.bb.__offset(this.bb_pos,14);return e?this.bb.__vector_len(this.bb_pos+e):0}customMetadata(e,r){const C=this.bb.__offset(this.bb_pos,16);return C?(r||new cs).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+C)+e*4),this.bb):null}customMetadataLength(){const e=this.bb.__offset(this.bb_pos,16);return e?this.bb.__vector_len(this.bb_pos+e):0}static startField(e){e.startObject(7)}static addName(e,r){e.addFieldOffset(0,r,0)}static addNullable(e,r){e.addFieldInt8(1,+r,0)}static addTypeType(e,r){e.addFieldInt8(2,r,Ao.NONE)}static addType(e,r){e.addFieldOffset(3,r,0)}static addDictionary(e,r){e.addFieldOffset(4,r,0)}static addChildren(e,r){e.addFieldOffset(5,r,0)}static createChildrenVector(e,r){e.startVector(4,r.length,4);for(let C=r.length-1;C>=0;C--)e.addOffset(r[C]);return e.endVector()}static startChildrenVector(e,r){e.startVector(4,r,4)}static addCustomMetadata(e,r){e.addFieldOffset(6,r,0)}static createCustomMetadataVector(e,r){e.startVector(4,r.length,4);for(let C=r.length-1;C>=0;C--)e.addOffset(r[C]);return e.endVector()}static startCustomMetadataVector(e,r){e.startVector(4,r,4)}static endField(e){return e.endObject()}},ih=class Hh{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsSchema(e,r){return(r||new Hh).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsSchema(e,r){return e.setPosition(e.position()+Wa),(r||new Hh).__init(e.readInt32(e.position())+e.position(),e)}endianness(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):e0.Little}fields(e,r){const C=this.bb.__offset(this.bb_pos,6);return C?(r||new qu).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+C)+e*4),this.bb):null}fieldsLength(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.__vector_len(this.bb_pos+e):0}customMetadata(e,r){const C=this.bb.__offset(this.bb_pos,8);return C?(r||new cs).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+C)+e*4),this.bb):null}customMetadataLength(){const e=this.bb.__offset(this.bb_pos,8);return e?this.bb.__vector_len(this.bb_pos+e):0}features(e){const r=this.bb.__offset(this.bb_pos,10);return r?this.bb.readInt64(this.bb.__vector(this.bb_pos+r)+e*8):this.bb.createLong(0,0)}featuresLength(){const e=this.bb.__offset(this.bb_pos,10);return e?this.bb.__vector_len(this.bb_pos+e):0}static startSchema(e){e.startObject(4)}static addEndianness(e,r){e.addFieldInt16(0,r,e0.Little)}static addFields(e,r){e.addFieldOffset(1,r,0)}static createFieldsVector(e,r){e.startVector(4,r.length,4);for(let C=r.length-1;C>=0;C--)e.addOffset(r[C]);return e.endVector()}static startFieldsVector(e,r){e.startVector(4,r,4)}static addCustomMetadata(e,r){e.addFieldOffset(2,r,0)}static createCustomMetadataVector(e,r){e.startVector(4,r.length,4);for(let C=r.length-1;C>=0;C--)e.addOffset(r[C]);return e.endVector()}static startCustomMetadataVector(e,r){e.startVector(4,r,4)}static addFeatures(e,r){e.addFieldOffset(3,r,0)}static createFeaturesVector(e,r){e.startVector(8,r.length,8);for(let C=r.length-1;C>=0;C--)e.addInt64(r[C]);return e.endVector()}static startFeaturesVector(e,r){e.startVector(8,r,8)}static endSchema(e){return e.endObject()}static finishSchemaBuffer(e,r){e.finish(r)}static finishSizePrefixedSchemaBuffer(e,r){e.finish(r,void 0,!0)}static createSchema(e,r,C,D,T){return Hh.startSchema(e),Hh.addEndianness(e,r),Hh.addFields(e,C),Hh.addCustomMetadata(e,D),Hh.addFeatures(e,T),Hh.endSchema(e)}};class fu{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsFooter(e,r){return(r||new fu).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsFooter(e,r){return e.setPosition(e.position()+Wa),(r||new fu).__init(e.readInt32(e.position())+e.position(),e)}version(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):Qp.V1}schema(e){const r=this.bb.__offset(this.bb_pos,6);return r?(e||new ih).__init(this.bb.__indirect(this.bb_pos+r),this.bb):null}dictionaries(e,r){const C=this.bb.__offset(this.bb_pos,8);return C?(r||new Wb).__init(this.bb.__vector(this.bb_pos+C)+e*24,this.bb):null}dictionariesLength(){const e=this.bb.__offset(this.bb_pos,8);return e?this.bb.__vector_len(this.bb_pos+e):0}recordBatches(e,r){const C=this.bb.__offset(this.bb_pos,10);return C?(r||new Wb).__init(this.bb.__vector(this.bb_pos+C)+e*24,this.bb):null}recordBatchesLength(){const e=this.bb.__offset(this.bb_pos,10);return e?this.bb.__vector_len(this.bb_pos+e):0}customMetadata(e,r){const C=this.bb.__offset(this.bb_pos,12);return C?(r||new cs).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+C)+e*4),this.bb):null}customMetadataLength(){const e=this.bb.__offset(this.bb_pos,12);return e?this.bb.__vector_len(this.bb_pos+e):0}static startFooter(e){e.startObject(5)}static addVersion(e,r){e.addFieldInt16(0,r,Qp.V1)}static addSchema(e,r){e.addFieldOffset(1,r,0)}static addDictionaries(e,r){e.addFieldOffset(2,r,0)}static startDictionariesVector(e,r){e.startVector(24,r,8)}static addRecordBatches(e,r){e.addFieldOffset(3,r,0)}static startRecordBatchesVector(e,r){e.startVector(24,r,8)}static addCustomMetadata(e,r){e.addFieldOffset(4,r,0)}static createCustomMetadataVector(e,r){e.startVector(4,r.length,4);for(let C=r.length-1;C>=0;C--)e.addOffset(r[C]);return e.endVector()}static startCustomMetadataVector(e,r){e.startVector(4,r,4)}static endFooter(e){return e.endObject()}static finishFooterBuffer(e,r){e.finish(r)}static finishSizePrefixedFooterBuffer(e,r){e.finish(r,void 0,!0)}}class Ea{constructor(e=[],r,C){this.fields=e||[],this.metadata=r||new Map,C||(C=Zb(e)),this.dictionaries=C}get[Symbol.toStringTag](){return"Schema"}get names(){return this.fields.map(e=>e.name)}toString(){return`Schema<{ ${this.fields.map((e,r)=>`${r}: ${e}`).join(", ")} }>`}select(e){const r=new Set(e),C=this.fields.filter(D=>r.has(D.name));return new Ea(C,this.metadata)}selectAt(e){const r=e.map(C=>this.fields[C]).filter(Boolean);return new Ea(r,this.metadata)}assign(...e){const r=e[0]instanceof Ea?e[0]:Array.isArray(e[0])?new Ea(e[0]):new Ea(e),C=[...this.fields],D=ov(ov(new Map,this.metadata),r.metadata),T=r.fields.filter(t=>{const d=C.findIndex(g=>g.name===t.name);return~d?(C[d]=t.clone({metadata:ov(ov(new Map,C[d].metadata),t.metadata)}))&&!1:!0}),p=Zb(T,new Map);return new Ea([...C,...T],D,new Map([...this.dictionaries,...p]))}}Ea.prototype.fields=null;Ea.prototype.metadata=null;Ea.prototype.dictionaries=null;class ao{constructor(e,r,C=!1,D){this.name=e,this.type=r,this.nullable=C,this.metadata=D||new Map}static new(...e){let[r,C,D,T]=e;return e[0]&&typeof e[0]=="object"&&({name:r}=e[0],C===void 0&&(C=e[0].type),D===void 0&&(D=e[0].nullable),T===void 0&&(T=e[0].metadata)),new ao(`${r}`,C,D,T)}get typeId(){return this.type.typeId}get[Symbol.toStringTag](){return"Field"}toString(){return`${this.name}: ${this.type}`}clone(...e){let[r,C,D,T]=e;return!e[0]||typeof e[0]!="object"?[r=this.name,C=this.type,D=this.nullable,T=this.metadata]=e:{name:r=this.name,type:C=this.type,nullable:D=this.nullable,metadata:T=this.metadata}=e[0],ao.new(r,C,D,T)}}ao.prototype.type=null;ao.prototype.name=null;ao.prototype.nullable=null;ao.prototype.metadata=null;function ov(n,e){return new Map([...n||new Map,...e||new Map])}function Zb(n,e=new Map){for(let r=-1,C=n.length;++r0&&Zb(T.children,e)}return e}var i5=Jh,eI=sM,tI=Jp;class Pm{constructor(e,r=gu.V4,C,D){this.schema=e,this.version=r,C&&(this._recordBatches=C),D&&(this._dictionaryBatches=D)}static decode(e){e=new tI(_a(e));const r=fu.getRootAsFooter(e),C=Ea.decode(r.schema());return new nI(C,r)}static encode(e){const r=new eI,C=Ea.encode(r,e.schema);fu.startRecordBatchesVector(r,e.numRecordBatches);for(const p of[...e.recordBatches()].slice().reverse())Wf.encode(r,p);const D=r.endVector();fu.startDictionariesVector(r,e.numDictionaries);for(const p of[...e.dictionaryBatches()].slice().reverse())Wf.encode(r,p);const T=r.endVector();return fu.startFooter(r),fu.addSchema(r,C),fu.addVersion(r,gu.V4),fu.addRecordBatches(r,D),fu.addDictionaries(r,T),fu.finishFooterBuffer(r,fu.endFooter(r)),r.asUint8Array()}get numRecordBatches(){return this._recordBatches.length}get numDictionaries(){return this._dictionaryBatches.length}*recordBatches(){for(let e,r=-1,C=this.numRecordBatches;++r=0&&e=0&&e=0&&e=0&&ethis._closedPromiseResolve=e)}get closed(){return this._closedPromise}cancel(e){return yi(this,void 0,void 0,function*(){yield this.return(e)})}write(e){this._ensureOpen()&&(this.resolvers.length<=0?this._values.push(e):this.resolvers.shift().resolve({done:!1,value:e}))}abort(e){this._closedPromiseResolve&&(this.resolvers.length<=0?this._error={error:e}:this.resolvers.shift().reject({done:!0,value:e}))}close(){if(this._closedPromiseResolve){const{resolvers:e}=this;for(;e.length>0;)e.shift().resolve(So);this._closedPromiseResolve(),this._closedPromiseResolve=void 0}}[Symbol.asyncIterator](){return this}toDOMStream(e){return $u.toDOMStream(this._closedPromiseResolve||this._error?this:this._values,e)}toNodeStream(e){return $u.toNodeStream(this._closedPromiseResolve||this._error?this:this._values,e)}throw(e){return yi(this,void 0,void 0,function*(){return yield this.abort(e),So})}return(e){return yi(this,void 0,void 0,function*(){return yield this.close(),So})}read(e){return yi(this,void 0,void 0,function*(){return(yield this.next(e,"read")).value})}peek(e){return yi(this,void 0,void 0,function*(){return(yield this.next(e,"peek")).value})}next(...e){return this._values.length>0?Promise.resolve({done:!1,value:this._values.shift()}):this._error?Promise.reject({done:!0,value:this._error.error}):this._closedPromiseResolve?new Promise((r,C)=>{this.resolvers.push({resolve:r,reject:C})}):Promise.resolve(So)}_ensureOpen(){if(this._closedPromiseResolve)return!0;throw new Error("AsyncQueue is closed")}}class bv extends rI{write(e){if((e=_a(e)).byteLength>0)return super.write(e)}toString(e=!1){return e?jb(this.toUint8Array(!0)):this.toUint8Array(!1).then(jb)}toUint8Array(e=!1){return e?xh(this._values)[0]:(()=>yi(this,void 0,void 0,function*(){var r,C;const D=[];let T=0;try{for(var p=Nd(this),t;t=yield p.next(),!t.done;){const d=t.value;D.push(d),T+=d.byteLength}}catch(d){r={error:d}}finally{try{t&&!t.done&&(C=p.return)&&(yield C.call(p))}finally{if(r)throw r.error}}return xh(D,T)[0]}))()}}class Qv{constructor(e){e&&(this.source=new iI($u.fromIterable(e)))}[Symbol.iterator](){return this}next(e){return this.source.next(e)}throw(e){return this.source.throw(e)}return(e){return this.source.return(e)}peek(e){return this.source.peek(e)}read(e){return this.source.read(e)}}class n0{constructor(e){e instanceof n0?this.source=e.source:e instanceof bv?this.source=new xd($u.fromAsyncIterable(e)):G4(e)?this.source=new xd($u.fromNodeStream(e)):m2(e)?this.source=new xd($u.fromDOMStream(e)):H4(e)?this.source=new xd($u.fromDOMStream(e.body)):Zm(e)?this.source=new xd($u.fromIterable(e)):Uf(e)?this.source=new xd($u.fromAsyncIterable(e)):g0(e)&&(this.source=new xd($u.fromAsyncIterable(e)))}[Symbol.asyncIterator](){return this}next(e){return this.source.next(e)}throw(e){return this.source.throw(e)}return(e){return this.source.return(e)}get closed(){return this.source.closed}cancel(e){return this.source.cancel(e)}peek(e){return this.source.peek(e)}read(e){return this.source.read(e)}}class iI{constructor(e){this.source=e}cancel(e){this.return(e)}peek(e){return this.next(e,"peek").value}read(e){return this.next(e,"read").value}next(e,r="read"){return this.source.next({cmd:r,size:e})}throw(e){return Object.create(this.source.throw&&this.source.throw(e)||So)}return(e){return Object.create(this.source.return&&this.source.return(e)||So)}}class xd{constructor(e){this.source=e,this._closedPromise=new Promise(r=>this._closedPromiseResolve=r)}cancel(e){return yi(this,void 0,void 0,function*(){yield this.return(e)})}get closed(){return this._closedPromise}read(e){return yi(this,void 0,void 0,function*(){return(yield this.next(e,"read")).value})}peek(e){return yi(this,void 0,void 0,function*(){return(yield this.next(e,"peek")).value})}next(e,r="read"){return yi(this,void 0,void 0,function*(){return yield this.source.next({cmd:r,size:e})})}throw(e){return yi(this,void 0,void 0,function*(){const r=this.source.throw&&(yield this.source.throw(e))||So;return this._closedPromiseResolve&&this._closedPromiseResolve(),this._closedPromiseResolve=void 0,Object.create(r)})}return(e){return yi(this,void 0,void 0,function*(){const r=this.source.return&&(yield this.source.return(e))||So;return this._closedPromiseResolve&&this._closedPromiseResolve(),this._closedPromiseResolve=void 0,Object.create(r)})}}class o5 extends Qv{constructor(e,r){super(),this.position=0,this.buffer=_a(e),this.size=typeof r>"u"?this.buffer.byteLength:r}readInt32(e){const{buffer:r,byteOffset:C}=this.readAt(e,4);return new DataView(r,C).getInt32(0,!0)}seek(e){return this.position=Math.min(e,this.size),eyi(this,void 0,void 0,function*(){this.size=(yield e.stat()).size,delete this._pending}))()}readInt32(e){return yi(this,void 0,void 0,function*(){const{buffer:r,byteOffset:C}=yield this.readAt(e,4);return new DataView(r,C).getInt32(0,!0)})}seek(e){return yi(this,void 0,void 0,function*(){return this._pending&&(yield this._pending),this.position=Math.min(e,this.size),e>>16,this.buffer[1]&65535,this.buffer[0]>>>16,this.buffer[0]&65535]),C=new Uint32Array([e.buffer[1]>>>16,e.buffer[1]&65535,e.buffer[0]>>>16,e.buffer[0]&65535]);let D=r[3]*C[3];this.buffer[0]=D&65535;let T=D>>>16;return D=r[2]*C[3],T+=D,D=r[3]*C[2]>>>0,T+=D,this.buffer[0]+=T<<16,this.buffer[1]=T>>>0>>16,this.buffer[1]+=r[1]*C[3]+r[2]*C[2]+r[3]*C[1],this.buffer[1]+=r[0]*C[3]+r[1]*C[2]+r[2]*C[1]+r[3]*C[0]<<16,this}_plus(e){const r=this.buffer[0]+e.buffer[0]>>>0;this.buffer[1]+=e.buffer[1],r>>0&&++this.buffer[1],this.buffer[0]=r}lessThan(e){return this.buffer[1]>>0,r[2]=this.buffer[2]+e.buffer[2]>>>0,r[1]=this.buffer[1]+e.buffer[1]>>>0,r[0]=this.buffer[0]+e.buffer[0]>>>0,r[0]>>0&&++r[1],r[1]>>0&&++r[2],r[2]>>0&&++r[3],this.buffer[3]=r[3],this.buffer[2]=r[2],this.buffer[1]=r[1],this.buffer[0]=r[0],this}hex(){return`${zp(this.buffer[3])} ${zp(this.buffer[2])} ${zp(this.buffer[1])} ${zp(this.buffer[0])}`}static multiply(e,r){return new ah(new Uint32Array(e.buffer)).times(r)}static add(e,r){return new ah(new Uint32Array(e.buffer)).plus(r)}static from(e,r=new Uint32Array(4)){return ah.fromString(typeof e=="string"?e:e.toString(),r)}static fromNumber(e,r=new Uint32Array(4)){return ah.fromString(e.toString(),r)}static fromString(e,r=new Uint32Array(4)){const C=e.startsWith("-"),D=e.length,T=new ah(r);for(let p=C?1:0;p0&&this.readData(e,C)||new Uint8Array(0)}readOffsets(e,r){return this.readData(e,r)}readTypeIds(e,r){return this.readData(e,r)}readData(e,{length:r,offset:C}=this.nextBufferRange()){return this.bytes.subarray(C,C+r)}readDictionary(e){return this.dictionaries.get(e.id)}}class oI extends cM{constructor(e,r,C,D){super(new Uint8Array(0),r,C,D),this.sources=e}readNullBitmap(e,r,{offset:C}=this.nextBufferRange()){return r<=0?new Uint8Array(0):qv(this.sources[C])}readOffsets(e,{offset:r}=this.nextBufferRange()){return qa(Uint8Array,qa(Int32Array,this.sources[r]))}readTypeIds(e,{offset:r}=this.nextBufferRange()){return qa(Uint8Array,qa(e.ArrayType,this.sources[r]))}readData(e,{offset:r}=this.nextBufferRange()){const{sources:C}=this;return _i.isTimestamp(e)||(_i.isInt(e)||_i.isTime(e))&&e.bitWidth===64||_i.isDate(e)&&e.unit===nf.MILLISECOND?qa(Uint8Array,Vl.convertArray(C[r])):_i.isDecimal(e)?qa(Uint8Array,ah.convertArray(C[r])):_i.isBinary(e)||_i.isFixedSizeBinary(e)?sI(C[r]):_i.isBool(e)?qv(C[r]):_i.isUtf8(e)?p2(C[r].join("")):qa(Uint8Array,qa(e.ArrayType,C[r].map(D=>+D)))}}function sI(n){const e=n.join(""),r=new Uint8Array(e.length/2);for(let C=0;C>1]=Number.parseInt(e.slice(C,C+2),16);return r}class Ai extends aa{compareSchemas(e,r){return e===r||r instanceof e.constructor&&this.compareManyFields(e.fields,r.fields)}compareManyFields(e,r){return e===r||Array.isArray(e)&&Array.isArray(r)&&e.length===r.length&&e.every((C,D)=>this.compareFields(C,r[D]))}compareFields(e,r){return e===r||r instanceof e.constructor&&e.name===r.name&&e.nullable===r.nullable&&this.visit(e.type,r.type)}}function Kl(n,e){return e instanceof n.constructor}function Xm(n,e){return n===e||Kl(n,e)}function hf(n,e){return n===e||Kl(n,e)&&n.bitWidth===e.bitWidth&&n.isSigned===e.isSigned}function Gy(n,e){return n===e||Kl(n,e)&&n.precision===e.precision}function lI(n,e){return n===e||Kl(n,e)&&n.byteWidth===e.byteWidth}function I2(n,e){return n===e||Kl(n,e)&&n.unit===e.unit}function Km(n,e){return n===e||Kl(n,e)&&n.unit===e.unit&&n.timezone===e.timezone}function Jm(n,e){return n===e||Kl(n,e)&&n.unit===e.unit&&n.bitWidth===e.bitWidth}function uI(n,e){return n===e||Kl(n,e)&&n.children.length===e.children.length&&Yf.compareManyFields(n.children,e.children)}function cI(n,e){return n===e||Kl(n,e)&&n.children.length===e.children.length&&Yf.compareManyFields(n.children,e.children)}function R2(n,e){return n===e||Kl(n,e)&&n.mode===e.mode&&n.typeIds.every((r,C)=>r===e.typeIds[C])&&Yf.compareManyFields(n.children,e.children)}function hI(n,e){return n===e||Kl(n,e)&&n.id===e.id&&n.isOrdered===e.isOrdered&&Yf.visit(n.indices,e.indices)&&Yf.visit(n.dictionary,e.dictionary)}function P2(n,e){return n===e||Kl(n,e)&&n.unit===e.unit}function fI(n,e){return n===e||Kl(n,e)&&n.listSize===e.listSize&&n.children.length===e.children.length&&Yf.compareManyFields(n.children,e.children)}function dI(n,e){return n===e||Kl(n,e)&&n.keysSorted===e.keysSorted&&n.children.length===e.children.length&&Yf.compareManyFields(n.children,e.children)}Ai.prototype.visitNull=Xm;Ai.prototype.visitBool=Xm;Ai.prototype.visitInt=hf;Ai.prototype.visitInt8=hf;Ai.prototype.visitInt16=hf;Ai.prototype.visitInt32=hf;Ai.prototype.visitInt64=hf;Ai.prototype.visitUint8=hf;Ai.prototype.visitUint16=hf;Ai.prototype.visitUint32=hf;Ai.prototype.visitUint64=hf;Ai.prototype.visitFloat=Gy;Ai.prototype.visitFloat16=Gy;Ai.prototype.visitFloat32=Gy;Ai.prototype.visitFloat64=Gy;Ai.prototype.visitUtf8=Xm;Ai.prototype.visitBinary=Xm;Ai.prototype.visitFixedSizeBinary=lI;Ai.prototype.visitDate=I2;Ai.prototype.visitDateDay=I2;Ai.prototype.visitDateMillisecond=I2;Ai.prototype.visitTimestamp=Km;Ai.prototype.visitTimestampSecond=Km;Ai.prototype.visitTimestampMillisecond=Km;Ai.prototype.visitTimestampMicrosecond=Km;Ai.prototype.visitTimestampNanosecond=Km;Ai.prototype.visitTime=Jm;Ai.prototype.visitTimeSecond=Jm;Ai.prototype.visitTimeMillisecond=Jm;Ai.prototype.visitTimeMicrosecond=Jm;Ai.prototype.visitTimeNanosecond=Jm;Ai.prototype.visitDecimal=Xm;Ai.prototype.visitList=uI;Ai.prototype.visitStruct=cI;Ai.prototype.visitUnion=R2;Ai.prototype.visitDenseUnion=R2;Ai.prototype.visitSparseUnion=R2;Ai.prototype.visitDictionary=hI;Ai.prototype.visitInterval=P2;Ai.prototype.visitIntervalDayTime=P2;Ai.prototype.visitIntervalYearMonth=P2;Ai.prototype.visitFixedSizeList=fI;Ai.prototype.visitMap=dI;const Yf=new Ai;function Xb(n,e){return Yf.compareSchemas(n,e)}function fb(n,e){return pI(n,e.map(r=>r.data.concat()))}function pI(n,e){const r=[...n.fields],C=[],D={numBatches:e.reduce((M,v)=>Math.max(M,v.length),0)};let T=0,p=0,t=-1;const d=e.length;let g,i=[];for(;D.numBatches-- >0;){for(p=Number.POSITIVE_INFINITY,t=-1;++t0&&(C[T++]=ra({type:new bl(r),length:p,nullCount:0,children:i.slice()})))}return[n=n.assign(r),C.map(M=>new ql(n,M))]}function mI(n,e,r,C,D){var T;const p=(e+63&-64)>>3;for(let t=-1,d=C.length;++t=e)i===e?r[t]=g:(r[t]=g.slice(0,e),D.numBatches=Math.max(D.numBatches,C[t].unshift(g.slice(e,i-e))));else{const M=n[t];n[t]=M.clone({nullable:!0}),r[t]=(T=g==null?void 0:g._changeLengthAndBackfillNullBitmap(e))!==null&&T!==void 0?T:ra({type:M.type,length:e,nullCount:e,nullBitmap:new Uint8Array(p)})}}return r}var hM;class ml{constructor(...e){var r,C;if(e.length===0)return this.batches=[],this.schema=new Ea([]),this._offsets=[0],this;let D,T;e[0]instanceof Ea&&(D=e.shift()),e[e.length-1]instanceof Uint32Array&&(T=e.pop());const p=d=>{if(d){if(d instanceof ql)return[d];if(d instanceof ml)return d.batches;if(d instanceof Qa){if(d.type instanceof bl)return[new ql(new Ea(d.type.children),d)]}else{if(Array.isArray(d))return d.flatMap(g=>p(g));if(typeof d[Symbol.iterator]=="function")return[...d].flatMap(g=>p(g));if(typeof d=="object"){const g=Object.keys(d),i=g.map(f=>new Ta([d[f]])),M=new Ea(g.map((f,l)=>new ao(String(f),i[l].type))),[,v]=fb(M,i);return v.length===0?[new ql(d)]:v}}}return[]},t=e.flatMap(d=>p(d));if(D=(C=D??((r=t[0])===null||r===void 0?void 0:r.schema))!==null&&C!==void 0?C:new Ea([]),!(D instanceof Ea))throw new TypeError("Table constructor expects a [Schema, RecordBatch[]] pair.");for(const d of t){if(!(d instanceof ql))throw new TypeError("Table constructor expects a [Schema, RecordBatch[]] pair.");if(!Xb(D,d.schema))throw new TypeError("Table and inner RecordBatch schemas must be equivalent.")}this.schema=D,this.batches=t,this._offsets=T??Xk(this.data)}get data(){return this.batches.map(({data:e})=>e)}get numCols(){return this.schema.fields.length}get numRows(){return this.data.reduce((e,r)=>e+r.length,0)}get nullCount(){return this._nullCount===-1&&(this._nullCount=Zk(this.data)),this._nullCount}isValid(e){return!1}get(e){return null}set(e,r){}indexOf(e,r){return-1}getByteLength(e){return 0}[Symbol.iterator](){return this.batches.length>0?C2.visit(new Ta(this.data)):new Array(0)[Symbol.iterator]()}toArray(){return[...this]}toString(){return`[ + */var u2=Q7,Fc=typeof Symbol=="function"&&Symbol.for,qm=Fc?Symbol.for("react.element"):60103,e9=Fc?Symbol.for("react.portal"):60106,t9=Fc?Symbol.for("react.fragment"):60107,n9=Fc?Symbol.for("react.strict_mode"):60108,r9=Fc?Symbol.for("react.profiler"):60114,i9=Fc?Symbol.for("react.provider"):60109,a9=Fc?Symbol.for("react.context"):60110,o9=Fc?Symbol.for("react.forward_ref"):60112,s9=Fc?Symbol.for("react.suspense"):60113,l9=Fc?Symbol.for("react.memo"):60115,u9=Fc?Symbol.for("react.lazy"):60116,$3=typeof Symbol=="function"&&Symbol.iterator;function Wm(n){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+n,r=1;rRv.length&&Rv.push(n)}function Bb(n,e,r,S){var D=typeof n;(D==="undefined"||D==="boolean")&&(n=null);var T=!1;if(n===null)T=!0;else switch(D){case"string":case"number":T=!0;break;case"object":switch(n.$$typeof){case qm:case e9:T=!0}}if(T)return r(S,n,e===""?"."+sb(n,0):e),1;if(T=0,e=e===""?".":e+":",Array.isArray(n))for(var p=0;p=n.length&&(n=void 0),{value:n&&n[S++],done:!n}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function zi(n){return this instanceof zi?(this.v=n,this):new zi(n)}function mh(n,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var S=r.apply(n,e||[]),D,T=[];return D=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),t("next"),t("throw"),t("return",p),D[Symbol.asyncIterator]=function(){return this},D;function p(f){return function(l){return Promise.resolve(l).then(f,M)}}function t(f,l){S[f]&&(D[f]=function(a){return new Promise(function(u,o){T.push([f,a,u,o])>1||d(f,a)})},l&&(D[f]=l(D[f])))}function d(f,l){try{g(S[f](l))}catch(a){v(T[0][3],a)}}function g(f){f.value instanceof zi?Promise.resolve(f.value.v).then(i,M):v(T[0][2],f)}function i(f){d("next",f)}function M(f){d("throw",f)}function v(f,l){f(l),T.shift(),T.length&&d(T[0][0],T[0][1])}}function mv(n){var e,r;return e={},S("next"),S("throw",function(D){throw D}),S("return"),e[Symbol.iterator]=function(){return this},e;function S(D,T){e[D]=n[D]?function(p){return(r=!r)?{value:zi(n[D](p)),done:!1}:T?T(p):p}:T}}function Nd(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=n[Symbol.asyncIterator],r;return e?e.call(n):(n=typeof Z3=="function"?Z3(n):n[Symbol.iterator](),r={},S("next"),S("throw"),S("return"),r[Symbol.asyncIterator]=function(){return this},r);function S(T){r[T]=n[T]&&function(p){return new Promise(function(t,d){p=n[T](p),D(t,d,p.done,p.value)})}}function D(T,p,t,d){Promise.resolve(d).then(function(g){T({value:g,done:t})},p)}}const v9=new TextDecoder("utf-8"),jb=n=>v9.decode(n),y9=new TextEncoder,p2=n=>y9.encode(n),[jH,b9]=(()=>{const n=()=>{throw new Error("BigInt is not available in this environment")};function e(){throw n()}return e.asIntN=()=>{throw n()},e.asUintN=()=>{throw n()},typeof BigInt<"u"?[BigInt,!0]:[e,!1]})(),[Ym,UH]=(()=>{const n=()=>{throw new Error("BigInt64Array is not available in this environment")};class e{static get BYTES_PER_ELEMENT(){return 8}static of(){throw n()}static from(){throw n()}constructor(){throw n()}}return typeof BigInt64Array<"u"?[BigInt64Array,!0]:[e,!1]})(),[$m,HH]=(()=>{const n=()=>{throw new Error("BigUint64Array is not available in this environment")};class e{static get BYTES_PER_ELEMENT(){return 8}static of(){throw n()}static from(){throw n()}constructor(){throw n()}}return typeof BigUint64Array<"u"?[BigUint64Array,!0]:[e,!1]})(),x9=n=>typeof n=="number",V4=n=>typeof n=="boolean",us=n=>typeof n=="function",Zl=n=>n!=null&&Object(n)===n,Uf=n=>Zl(n)&&us(n.then),Zm=n=>Zl(n)&&us(n[Symbol.iterator]),g0=n=>Zl(n)&&us(n[Symbol.asyncIterator]),Ub=n=>Zl(n)&&Zl(n.schema),j4=n=>Zl(n)&&"done"in n&&"value"in n,U4=n=>Zl(n)&&us(n.stat)&&x9(n.fd),H4=n=>Zl(n)&&m2(n.body),Uy=n=>"_getDOMStream"in n&&"_getNodeStream"in n,_9=n=>Zl(n)&&us(n.abort)&&us(n.getWriter)&&!Uy(n),m2=n=>Zl(n)&&us(n.cancel)&&us(n.getReader)&&!Uy(n),w9=n=>Zl(n)&&us(n.end)&&us(n.write)&&V4(n.writable)&&!Uy(n),G4=n=>Zl(n)&&us(n.read)&&us(n.pipe)&&V4(n.readable)&&!Uy(n),T9=n=>Zl(n)&&us(n.clear)&&us(n.bytes)&&us(n.position)&&us(n.setPosition)&&us(n.capacity)&&us(n.getBufferIdentifier)&&us(n.createLong),g2=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:ArrayBuffer;function k9(n){const e=n[0]?[n[0]]:[];let r,S,D,T;for(let p,t,d=0,g=0,i=n.length;++di+M.byteLength,0);let D,T,p,t=0,d=-1;const g=Math.min(e||Number.POSITIVE_INFINITY,S);for(const i=r.length;++dqa(Int32Array,n),_a=n=>qa(Uint8Array,n),Hb=n=>(n.next(),n);function*M9(n,e){const r=function*(D){yield D},S=typeof e=="string"||ArrayBuffer.isView(e)||e instanceof ArrayBuffer||e instanceof g2?r(e):Zm(e)?e:r(e);return yield*Hb(function*(D){let T=null;do T=D.next(yield qa(n,T));while(!T.done)}(S[Symbol.iterator]())),new n}const A9=n=>M9(Uint8Array,n);function q4(n,e){return mh(this,arguments,function*(){if(Uf(e))return yield zi(yield zi(yield*mv(Nd(q4(n,yield zi(e))))));const S=function(p){return mh(this,arguments,function*(){yield yield zi(yield zi(p))})},D=function(p){return mh(this,arguments,function*(){yield zi(yield*mv(Nd(Hb(function*(t){let d=null;do d=t.next(yield d==null?void 0:d.value);while(!d.done)}(p[Symbol.iterator]())))))})},T=typeof e=="string"||ArrayBuffer.isView(e)||e instanceof ArrayBuffer||e instanceof g2?S(e):Zm(e)?D(e):g0(e)?e:S(e);return yield zi(yield*mv(Nd(Hb(function(p){return mh(this,arguments,function*(){let t=null;do t=yield zi(p.next(yield yield zi(qa(n,t))));while(!t.done)})}(T[Symbol.asyncIterator]()))))),yield zi(new n)})}const S9=n=>q4(Uint8Array,n);function v2(n,e,r){if(n!==0){r=r.slice(0,e+1);for(let S=-1;++S<=e;)r[S]+=n}return r}function C9(n,e){let r=0;const S=n.length;if(S!==e.length)return!1;if(S>0)do if(n[r]!==e[r])return!1;while(++r(n.next(),n);function*E9(n){let e,r=!1,S=[],D,T,p,t=0;function d(){return T==="peek"?xh(S,p)[0]:([D,S,t]=xh(S,p),D)}({cmd:T,size:p}=yield null);const g=A9(n)[Symbol.iterator]();try{do if({done:e,value:D}=Number.isNaN(p-t)?g.next():g.next(p-t),!e&&D.byteLength>0&&(S.push(D),t+=D.byteLength),e||p<=t)do({cmd:T,size:p}=yield d());while(p0&&(D.push(T),d+=T.byteLength),r||t<=d)do({cmd:p,size:t}=yield yield zi(g()));while(t0&&(D.push(_a(T)),d+=T.byteLength),r||t<=d)do({cmd:p,size:t}=yield yield zi(g()));while(t{})}get closed(){return this.reader?this.reader.closed.catch(()=>{}):Promise.resolve()}releaseLock(){this.reader&&this.reader.releaseLock(),this.reader=null}cancel(e){return yi(this,void 0,void 0,function*(){const{reader:r,source:S}=this;r&&(yield r.cancel(e).catch(()=>{})),S&&S.locked&&this.releaseLock()})}read(e){return yi(this,void 0,void 0,function*(){if(e===0)return{done:this.reader==null,value:new Uint8Array(0)};const r=yield this.reader.read();return!r.done&&(r.value=_a(r)),r})}}const lb=(n,e)=>{const r=D=>S([e,D]);let S;return[e,r,new Promise(D=>(S=D)&&n.once(e,r))]};function P9(n){return mh(this,arguments,function*(){const r=[];let S="error",D=!1,T=null,p,t,d=0,g=[],i;function M(){return p==="peek"?xh(g,t)[0]:([i,g,d]=xh(g,t),i)}if({cmd:p,size:t}=yield yield zi(null),n.isTTY)return yield yield zi(new Uint8Array(0)),yield zi(null);try{r[0]=lb(n,"end"),r[1]=lb(n,"error");do{if(r[2]=lb(n,"readable"),[S,T]=yield zi(Promise.race(r.map(f=>f[2]))),S==="error")break;if((D=S==="end")||(Number.isFinite(t-d)?(i=_a(n.read(t-d)),i.byteLength0&&(g.push(i),d+=i.byteLength)),D||t<=d)do({cmd:p,size:t}=yield yield zi(M()));while(t{for(const[o,s]of f)n.off(o,s);try{const o=n.destroy;o&&o.call(n,l),l=void 0}catch(o){l=o||l}finally{l!=null?u(l):a()}})}})}var gu;(function(n){n[n.V1=0]="V1",n[n.V2=1]="V2",n[n.V3=2]="V3",n[n.V4=3]="V4",n[n.V5=4]="V5"})(gu||(gu={}));var xu;(function(n){n[n.Sparse=0]="Sparse",n[n.Dense=1]="Dense"})(xu||(xu={}));var Yl;(function(n){n[n.HALF=0]="HALF",n[n.SINGLE=1]="SINGLE",n[n.DOUBLE=2]="DOUBLE"})(Yl||(Yl={}));var nf;(function(n){n[n.DAY=0]="DAY",n[n.MILLISECOND=1]="MILLISECOND"})(nf||(nf={}));var wa;(function(n){n[n.SECOND=0]="SECOND",n[n.MILLISECOND=1]="MILLISECOND",n[n.MICROSECOND=2]="MICROSECOND",n[n.NANOSECOND=3]="NANOSECOND"})(wa||(wa={}));var Hf;(function(n){n[n.YEAR_MONTH=0]="YEAR_MONTH",n[n.DAY_TIME=1]="DAY_TIME",n[n.MONTH_DAY_NANO=2]="MONTH_DAY_NANO"})(Hf||(Hf={}));var Ca;(function(n){n[n.NONE=0]="NONE",n[n.Schema=1]="Schema",n[n.DictionaryBatch=2]="DictionaryBatch",n[n.RecordBatch=3]="RecordBatch",n[n.Tensor=4]="Tensor",n[n.SparseTensor=5]="SparseTensor"})(Ca||(Ca={}));var Jn;(function(n){n[n.NONE=0]="NONE",n[n.Null=1]="Null",n[n.Int=2]="Int",n[n.Float=3]="Float",n[n.Binary=4]="Binary",n[n.Utf8=5]="Utf8",n[n.Bool=6]="Bool",n[n.Decimal=7]="Decimal",n[n.Date=8]="Date",n[n.Time=9]="Time",n[n.Timestamp=10]="Timestamp",n[n.Interval=11]="Interval",n[n.List=12]="List",n[n.Struct=13]="Struct",n[n.Union=14]="Union",n[n.FixedSizeBinary=15]="FixedSizeBinary",n[n.FixedSizeList=16]="FixedSizeList",n[n.Map=17]="Map",n[n.Dictionary=-1]="Dictionary",n[n.Int8=-2]="Int8",n[n.Int16=-3]="Int16",n[n.Int32=-4]="Int32",n[n.Int64=-5]="Int64",n[n.Uint8=-6]="Uint8",n[n.Uint16=-7]="Uint16",n[n.Uint32=-8]="Uint32",n[n.Uint64=-9]="Uint64",n[n.Float16=-10]="Float16",n[n.Float32=-11]="Float32",n[n.Float64=-12]="Float64",n[n.DateDay=-13]="DateDay",n[n.DateMillisecond=-14]="DateMillisecond",n[n.TimestampSecond=-15]="TimestampSecond",n[n.TimestampMillisecond=-16]="TimestampMillisecond",n[n.TimestampMicrosecond=-17]="TimestampMicrosecond",n[n.TimestampNanosecond=-18]="TimestampNanosecond",n[n.TimeSecond=-19]="TimeSecond",n[n.TimeMillisecond=-20]="TimeMillisecond",n[n.TimeMicrosecond=-21]="TimeMicrosecond",n[n.TimeNanosecond=-22]="TimeNanosecond",n[n.DenseUnion=-23]="DenseUnion",n[n.SparseUnion=-24]="SparseUnion",n[n.IntervalDayTime=-25]="IntervalDayTime",n[n.IntervalYearMonth=-26]="IntervalYearMonth"})(Jn||(Jn={}));var qh;(function(n){n[n.OFFSET=0]="OFFSET",n[n.DATA=1]="DATA",n[n.VALIDITY=2]="VALIDITY",n[n.TYPE=3]="TYPE"})(qh||(qh={}));const O9=void 0;function Cm(n){if(n===null)return"null";if(n===O9)return"undefined";switch(typeof n){case"number":return`${n}`;case"bigint":return`${n}`;case"string":return`"${n}"`}return typeof n[Symbol.toPrimitive]=="function"?n[Symbol.toPrimitive]("string"):ArrayBuffer.isView(n)?n instanceof Ym||n instanceof $m?`[${[...n].map(e=>Cm(e))}]`:`[${n}]`:ArrayBuffer.isView(n)?`[${n}]`:JSON.stringify(n,(e,r)=>typeof r=="bigint"?`${r}`:r)}const D9=Symbol.for("isArrowBigNum");function Bc(n,...e){return e.length===0?Object.setPrototypeOf(qa(this.TypedArray,n),this.constructor.prototype):Object.setPrototypeOf(new this.TypedArray(n,...e),this.constructor.prototype)}Bc.prototype[D9]=!0;Bc.prototype.toJSON=function(){return`"${Vd(this)}"`};Bc.prototype.valueOf=function(){return W4(this)};Bc.prototype.toString=function(){return Vd(this)};Bc.prototype[Symbol.toPrimitive]=function(n="default"){switch(n){case"number":return W4(this);case"string":return Vd(this);case"default":return Gb(this)}return Vd(this)};function Up(...n){return Bc.apply(this,n)}function Hp(...n){return Bc.apply(this,n)}function Em(...n){return Bc.apply(this,n)}Object.setPrototypeOf(Up.prototype,Object.create(Int32Array.prototype));Object.setPrototypeOf(Hp.prototype,Object.create(Uint32Array.prototype));Object.setPrototypeOf(Em.prototype,Object.create(Uint32Array.prototype));Object.assign(Up.prototype,Bc.prototype,{constructor:Up,signed:!0,TypedArray:Int32Array,BigIntArray:Ym});Object.assign(Hp.prototype,Bc.prototype,{constructor:Hp,signed:!1,TypedArray:Uint32Array,BigIntArray:$m});Object.assign(Em.prototype,Bc.prototype,{constructor:Em,signed:!0,TypedArray:Uint32Array,BigIntArray:$m});function W4(n){const{buffer:e,byteOffset:r,length:S,signed:D}=n,T=new $m(e,r,S),p=D&&T[T.length-1]&BigInt(1)<n.byteLength===8?new n.BigIntArray(n.buffer,n.byteOffset,1)[0]:ub(n),Vd=n=>n.byteLength===8?`${new n.BigIntArray(n.buffer,n.byteOffset,1)[0]}`:ub(n)):(Vd=ub,Gb=Vd);function ub(n){let e="";const r=new Uint32Array(2);let S=new Uint16Array(n.buffer,n.byteOffset,n.byteLength/2);const D=new Uint32Array((S=new Uint16Array(S).reverse()).buffer);let T=-1;const p=S.length-1;do{for(r[0]=S[T=0];T(n.children=null,n.ArrayType=Array,n[Symbol.toStringTag]="DataType"))(_i.prototype);let Gf=class extends _i{toString(){return"Null"}get typeId(){return Jn.Null}};$4=Symbol.toStringTag;Gf[$4]=(n=>n[Symbol.toStringTag]="Null")(Gf.prototype);class qf extends _i{constructor(e,r){super(),this.isSigned=e,this.bitWidth=r}get typeId(){return Jn.Int}get ArrayType(){switch(this.bitWidth){case 8:return this.isSigned?Int8Array:Uint8Array;case 16:return this.isSigned?Int16Array:Uint16Array;case 32:return this.isSigned?Int32Array:Uint32Array;case 64:return this.isSigned?Ym:$m}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`${this.isSigned?"I":"Ui"}nt${this.bitWidth}`}}Z4=Symbol.toStringTag;qf[Z4]=(n=>(n.isSigned=null,n.bitWidth=null,n[Symbol.toStringTag]="Int"))(qf.prototype);class Lm extends qf{constructor(){super(!0,32)}get ArrayType(){return Int32Array}}Object.defineProperty(Lm.prototype,"ArrayType",{value:Int32Array});class Im extends _i{constructor(e){super(),this.precision=e}get typeId(){return Jn.Float}get ArrayType(){switch(this.precision){case Yl.HALF:return Uint16Array;case Yl.SINGLE:return Float32Array;case Yl.DOUBLE:return Float64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`Float${this.precision<<5||16}`}}X4=Symbol.toStringTag;Im[X4]=(n=>(n.precision=null,n[Symbol.toStringTag]="Float"))(Im.prototype);let Pv=class extends _i{constructor(){super()}get typeId(){return Jn.Binary}toString(){return"Binary"}};K4=Symbol.toStringTag;Pv[K4]=(n=>(n.ArrayType=Uint8Array,n[Symbol.toStringTag]="Binary"))(Pv.prototype);let Ov=class extends _i{constructor(){super()}get typeId(){return Jn.Utf8}toString(){return"Utf8"}};J4=Symbol.toStringTag;Ov[J4]=(n=>(n.ArrayType=Uint8Array,n[Symbol.toStringTag]="Utf8"))(Ov.prototype);let Dv=class extends _i{constructor(){super()}get typeId(){return Jn.Bool}toString(){return"Bool"}};Q4=Symbol.toStringTag;Dv[Q4]=(n=>(n.ArrayType=Uint8Array,n[Symbol.toStringTag]="Bool"))(Dv.prototype);let zv=class extends _i{constructor(e,r,S=128){super(),this.scale=e,this.precision=r,this.bitWidth=S}get typeId(){return Jn.Decimal}toString(){return`Decimal[${this.precision}e${this.scale>0?"+":""}${this.scale}]`}};ek=Symbol.toStringTag;zv[ek]=(n=>(n.scale=null,n.precision=null,n.ArrayType=Uint32Array,n[Symbol.toStringTag]="Decimal"))(zv.prototype);class Fv extends _i{constructor(e){super(),this.unit=e}get typeId(){return Jn.Date}toString(){return`Date${(this.unit+1)*32}<${nf[this.unit]}>`}}tk=Symbol.toStringTag;Fv[tk]=(n=>(n.unit=null,n.ArrayType=Int32Array,n[Symbol.toStringTag]="Date"))(Fv.prototype);class Rm extends _i{constructor(e,r){super(),this.unit=e,this.bitWidth=r}get typeId(){return Jn.Time}toString(){return`Time${this.bitWidth}<${wa[this.unit]}>`}get ArrayType(){switch(this.bitWidth){case 32:return Int32Array;case 64:return Ym}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}}nk=Symbol.toStringTag;Rm[nk]=(n=>(n.unit=null,n.bitWidth=null,n[Symbol.toStringTag]="Time"))(Rm.prototype);class Bv extends _i{constructor(e,r){super(),this.unit=e,this.timezone=r}get typeId(){return Jn.Timestamp}toString(){return`Timestamp<${wa[this.unit]}${this.timezone?`, ${this.timezone}`:""}>`}}rk=Symbol.toStringTag;Bv[rk]=(n=>(n.unit=null,n.timezone=null,n.ArrayType=Int32Array,n[Symbol.toStringTag]="Timestamp"))(Bv.prototype);class Nv extends _i{constructor(e){super(),this.unit=e}get typeId(){return Jn.Interval}toString(){return`Interval<${Hf[this.unit]}>`}}ik=Symbol.toStringTag;Nv[ik]=(n=>(n.unit=null,n.ArrayType=Int32Array,n[Symbol.toStringTag]="Interval"))(Nv.prototype);let Vv=class extends _i{constructor(e){super(),this.children=[e]}get typeId(){return Jn.List}toString(){return`List<${this.valueType}>`}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}};ak=Symbol.toStringTag;Vv[ak]=(n=>(n.children=null,n[Symbol.toStringTag]="List"))(Vv.prototype);class bl extends _i{constructor(e){super(),this.children=e}get typeId(){return Jn.Struct}toString(){return`Struct<{${this.children.map(e=>`${e.name}:${e.type}`).join(", ")}}>`}}ok=Symbol.toStringTag;bl[ok]=(n=>(n.children=null,n[Symbol.toStringTag]="Struct"))(bl.prototype);class jv extends _i{constructor(e,r,S){super(),this.mode=e,this.children=S,this.typeIds=r=Int32Array.from(r),this.typeIdToChildIndex=r.reduce((D,T,p)=>(D[T]=p)&&D||D,Object.create(null))}get typeId(){return Jn.Union}toString(){return`${this[Symbol.toStringTag]}<${this.children.map(e=>`${e.type}`).join(" | ")}>`}}sk=Symbol.toStringTag;jv[sk]=(n=>(n.mode=null,n.typeIds=null,n.children=null,n.typeIdToChildIndex=null,n.ArrayType=Int8Array,n[Symbol.toStringTag]="Union"))(jv.prototype);let Uv=class extends _i{constructor(e){super(),this.byteWidth=e}get typeId(){return Jn.FixedSizeBinary}toString(){return`FixedSizeBinary[${this.byteWidth}]`}};lk=Symbol.toStringTag;Uv[lk]=(n=>(n.byteWidth=null,n.ArrayType=Uint8Array,n[Symbol.toStringTag]="FixedSizeBinary"))(Uv.prototype);let Hv=class extends _i{constructor(e,r){super(),this.listSize=e,this.children=[r]}get typeId(){return Jn.FixedSizeList}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}toString(){return`FixedSizeList[${this.listSize}]<${this.valueType}>`}};uk=Symbol.toStringTag;Hv[uk]=(n=>(n.children=null,n.listSize=null,n[Symbol.toStringTag]="FixedSizeList"))(Hv.prototype);class Gv extends _i{constructor(e,r=!1){super(),this.children=[e],this.keysSorted=r}get typeId(){return Jn.Map}get keyType(){return this.children[0].type.children[0].type}get valueType(){return this.children[0].type.children[1].type}get childType(){return this.children[0].type}toString(){return`Map<{${this.children[0].type.children.map(e=>`${e.name}:${e.type}`).join(", ")}}>`}}ck=Symbol.toStringTag;Gv[ck]=(n=>(n.children=null,n.keysSorted=null,n[Symbol.toStringTag]="Map_"))(Gv.prototype);const z9=(n=>()=>++n)(-1);class Kp extends _i{constructor(e,r,S,D){super(),this.indices=r,this.dictionary=e,this.isOrdered=D||!1,this.id=S==null?z9():typeof S=="number"?S:S.low}get typeId(){return Jn.Dictionary}get children(){return this.dictionary.children}get valueType(){return this.dictionary}get ArrayType(){return this.dictionary.ArrayType}toString(){return`Dictionary<${this.indices}, ${this.dictionary}>`}}hk=Symbol.toStringTag;Kp[hk]=(n=>(n.id=null,n.indices=null,n.isOrdered=null,n.dictionary=null,n[Symbol.toStringTag]="Dictionary"))(Kp.prototype);function Wh(n){const e=n;switch(n.typeId){case Jn.Decimal:return n.bitWidth/32;case Jn.Timestamp:return 2;case Jn.Date:return 1+e.unit;case Jn.Interval:return 1+e.unit;case Jn.FixedSizeList:return e.listSize;case Jn.FixedSizeBinary:return e.byteWidth;default:return 1}}class aa{visitMany(e,...r){return e.map((S,D)=>this.visit(S,...r.map(T=>T[D])))}visit(...e){return this.getVisitFn(e[0],!1).apply(this,e)}getVisitFn(e,r=!0){return F9(this,e,r)}getVisitFnByTypeId(e,r=!0){return Rp(this,e,r)}visitNull(e,...r){return null}visitBool(e,...r){return null}visitInt(e,...r){return null}visitFloat(e,...r){return null}visitUtf8(e,...r){return null}visitBinary(e,...r){return null}visitFixedSizeBinary(e,...r){return null}visitDate(e,...r){return null}visitTimestamp(e,...r){return null}visitTime(e,...r){return null}visitDecimal(e,...r){return null}visitList(e,...r){return null}visitStruct(e,...r){return null}visitUnion(e,...r){return null}visitDictionary(e,...r){return null}visitInterval(e,...r){return null}visitFixedSizeList(e,...r){return null}visitMap(e,...r){return null}}function F9(n,e,r=!0){return typeof e=="number"?Rp(n,e,r):typeof e=="string"&&e in Jn?Rp(n,Jn[e],r):e&&e instanceof _i?Rp(n,K3(e),r):e!=null&&e.type&&e.type instanceof _i?Rp(n,K3(e.type),r):Rp(n,Jn.NONE,r)}function Rp(n,e,r=!0){let S=null;switch(e){case Jn.Null:S=n.visitNull;break;case Jn.Bool:S=n.visitBool;break;case Jn.Int:S=n.visitInt;break;case Jn.Int8:S=n.visitInt8||n.visitInt;break;case Jn.Int16:S=n.visitInt16||n.visitInt;break;case Jn.Int32:S=n.visitInt32||n.visitInt;break;case Jn.Int64:S=n.visitInt64||n.visitInt;break;case Jn.Uint8:S=n.visitUint8||n.visitInt;break;case Jn.Uint16:S=n.visitUint16||n.visitInt;break;case Jn.Uint32:S=n.visitUint32||n.visitInt;break;case Jn.Uint64:S=n.visitUint64||n.visitInt;break;case Jn.Float:S=n.visitFloat;break;case Jn.Float16:S=n.visitFloat16||n.visitFloat;break;case Jn.Float32:S=n.visitFloat32||n.visitFloat;break;case Jn.Float64:S=n.visitFloat64||n.visitFloat;break;case Jn.Utf8:S=n.visitUtf8;break;case Jn.Binary:S=n.visitBinary;break;case Jn.FixedSizeBinary:S=n.visitFixedSizeBinary;break;case Jn.Date:S=n.visitDate;break;case Jn.DateDay:S=n.visitDateDay||n.visitDate;break;case Jn.DateMillisecond:S=n.visitDateMillisecond||n.visitDate;break;case Jn.Timestamp:S=n.visitTimestamp;break;case Jn.TimestampSecond:S=n.visitTimestampSecond||n.visitTimestamp;break;case Jn.TimestampMillisecond:S=n.visitTimestampMillisecond||n.visitTimestamp;break;case Jn.TimestampMicrosecond:S=n.visitTimestampMicrosecond||n.visitTimestamp;break;case Jn.TimestampNanosecond:S=n.visitTimestampNanosecond||n.visitTimestamp;break;case Jn.Time:S=n.visitTime;break;case Jn.TimeSecond:S=n.visitTimeSecond||n.visitTime;break;case Jn.TimeMillisecond:S=n.visitTimeMillisecond||n.visitTime;break;case Jn.TimeMicrosecond:S=n.visitTimeMicrosecond||n.visitTime;break;case Jn.TimeNanosecond:S=n.visitTimeNanosecond||n.visitTime;break;case Jn.Decimal:S=n.visitDecimal;break;case Jn.List:S=n.visitList;break;case Jn.Struct:S=n.visitStruct;break;case Jn.Union:S=n.visitUnion;break;case Jn.DenseUnion:S=n.visitDenseUnion||n.visitUnion;break;case Jn.SparseUnion:S=n.visitSparseUnion||n.visitUnion;break;case Jn.Dictionary:S=n.visitDictionary;break;case Jn.Interval:S=n.visitInterval;break;case Jn.IntervalDayTime:S=n.visitIntervalDayTime||n.visitInterval;break;case Jn.IntervalYearMonth:S=n.visitIntervalYearMonth||n.visitInterval;break;case Jn.FixedSizeList:S=n.visitFixedSizeList;break;case Jn.Map:S=n.visitMap;break}if(typeof S=="function")return S;if(!r)return()=>null;throw new Error(`Unrecognized type '${Jn[e]}'`)}function K3(n){switch(n.typeId){case Jn.Null:return Jn.Null;case Jn.Int:{const{bitWidth:e,isSigned:r}=n;switch(e){case 8:return r?Jn.Int8:Jn.Uint8;case 16:return r?Jn.Int16:Jn.Uint16;case 32:return r?Jn.Int32:Jn.Uint32;case 64:return r?Jn.Int64:Jn.Uint64}return Jn.Int}case Jn.Float:switch(n.precision){case Yl.HALF:return Jn.Float16;case Yl.SINGLE:return Jn.Float32;case Yl.DOUBLE:return Jn.Float64}return Jn.Float;case Jn.Binary:return Jn.Binary;case Jn.Utf8:return Jn.Utf8;case Jn.Bool:return Jn.Bool;case Jn.Decimal:return Jn.Decimal;case Jn.Time:switch(n.unit){case wa.SECOND:return Jn.TimeSecond;case wa.MILLISECOND:return Jn.TimeMillisecond;case wa.MICROSECOND:return Jn.TimeMicrosecond;case wa.NANOSECOND:return Jn.TimeNanosecond}return Jn.Time;case Jn.Timestamp:switch(n.unit){case wa.SECOND:return Jn.TimestampSecond;case wa.MILLISECOND:return Jn.TimestampMillisecond;case wa.MICROSECOND:return Jn.TimestampMicrosecond;case wa.NANOSECOND:return Jn.TimestampNanosecond}return Jn.Timestamp;case Jn.Date:switch(n.unit){case nf.DAY:return Jn.DateDay;case nf.MILLISECOND:return Jn.DateMillisecond}return Jn.Date;case Jn.Interval:switch(n.unit){case Hf.DAY_TIME:return Jn.IntervalDayTime;case Hf.YEAR_MONTH:return Jn.IntervalYearMonth}return Jn.Interval;case Jn.Map:return Jn.Map;case Jn.List:return Jn.List;case Jn.Struct:return Jn.Struct;case Jn.Union:switch(n.mode){case xu.Dense:return Jn.DenseUnion;case xu.Sparse:return Jn.SparseUnion}return Jn.Union;case Jn.FixedSizeBinary:return Jn.FixedSizeBinary;case Jn.FixedSizeList:return Jn.FixedSizeList;case Jn.Dictionary:return Jn.Dictionary}throw new Error(`Unrecognized type '${Jn[n.typeId]}'`)}aa.prototype.visitInt8=null;aa.prototype.visitInt16=null;aa.prototype.visitInt32=null;aa.prototype.visitInt64=null;aa.prototype.visitUint8=null;aa.prototype.visitUint16=null;aa.prototype.visitUint32=null;aa.prototype.visitUint64=null;aa.prototype.visitFloat16=null;aa.prototype.visitFloat32=null;aa.prototype.visitFloat64=null;aa.prototype.visitDateDay=null;aa.prototype.visitDateMillisecond=null;aa.prototype.visitTimestampSecond=null;aa.prototype.visitTimestampMillisecond=null;aa.prototype.visitTimestampMicrosecond=null;aa.prototype.visitTimestampNanosecond=null;aa.prototype.visitTimeSecond=null;aa.prototype.visitTimeMillisecond=null;aa.prototype.visitTimeMicrosecond=null;aa.prototype.visitTimeNanosecond=null;aa.prototype.visitDenseUnion=null;aa.prototype.visitSparseUnion=null;aa.prototype.visitIntervalDayTime=null;aa.prototype.visitIntervalYearMonth=null;const fk=new Float64Array(1),Ap=new Uint32Array(fk.buffer);function dk(n){const e=(n&31744)>>10,r=(n&1023)/1024,S=Math.pow(-1,(n&32768)>>15);switch(e){case 31:return S*(r?Number.NaN:1/0);case 0:return S*(r?6103515625e-14*r:0)}return S*Math.pow(2,e-15)*(1+r)}function B9(n){if(n!==n)return 32256;fk[0]=n;const e=(Ap[1]&2147483648)>>16&65535;let r=Ap[1]&2146435072,S=0;return r>=1089470464?Ap[0]>0?r=31744:(r=(r&2080374784)>>16,S=(Ap[1]&1048575)>>10):r<=1056964608?(S=1048576+(Ap[1]&1048575),S=1048576+(S<<(r>>20)-998)>>21,r=0):(r=r-1056964608>>10,S=(Ap[1]&1048575)+512>>10),e|r|S&65535}class Ci extends aa{}function Pi(n){return(e,r,S)=>{if(e.setValid(r,S!=null))return n(e,r,S)}}const N9=(n,e,r)=>{n[e]=Math.trunc(r/864e5)},b2=(n,e,r)=>{n[e]=Math.trunc(r%4294967296),n[e+1]=Math.trunc(r/4294967296)},V9=(n,e,r)=>{n[e]=Math.trunc(r*1e3%4294967296),n[e+1]=Math.trunc(r*1e3/4294967296)},j9=(n,e,r)=>{n[e]=Math.trunc(r*1e6%4294967296),n[e+1]=Math.trunc(r*1e6/4294967296)},pk=(n,e,r,S)=>{if(r+1{const D=n+r;S?e[D>>3]|=1<>3]&=~(1<{n[e]=r},x2=({values:n},e,r)=>{n[e]=r},mk=({values:n},e,r)=>{n[e]=B9(r)},H9=(n,e,r)=>{switch(n.type.precision){case Yl.HALF:return mk(n,e,r);case Yl.SINGLE:case Yl.DOUBLE:return x2(n,e,r)}},gk=({values:n},e,r)=>{N9(n,e,r.valueOf())},vk=({values:n},e,r)=>{b2(n,e*2,r.valueOf())},G9=({stride:n,values:e},r,S)=>{e.set(S.subarray(0,n),n*r)},q9=({values:n,valueOffsets:e},r,S)=>pk(n,e,r,S),W9=({values:n,valueOffsets:e},r,S)=>{pk(n,e,r,p2(S))},Y9=(n,e,r)=>{n.type.unit===nf.DAY?gk(n,e,r):vk(n,e,r)},yk=({values:n},e,r)=>b2(n,e*2,r/1e3),bk=({values:n},e,r)=>b2(n,e*2,r),xk=({values:n},e,r)=>V9(n,e*2,r),_k=({values:n},e,r)=>j9(n,e*2,r),$9=(n,e,r)=>{switch(n.type.unit){case wa.SECOND:return yk(n,e,r);case wa.MILLISECOND:return bk(n,e,r);case wa.MICROSECOND:return xk(n,e,r);case wa.NANOSECOND:return _k(n,e,r)}},wk=({values:n},e,r)=>{n[e]=r},Tk=({values:n},e,r)=>{n[e]=r},kk=({values:n},e,r)=>{n[e]=r},Mk=({values:n},e,r)=>{n[e]=r},Z9=(n,e,r)=>{switch(n.type.unit){case wa.SECOND:return wk(n,e,r);case wa.MILLISECOND:return Tk(n,e,r);case wa.MICROSECOND:return kk(n,e,r);case wa.NANOSECOND:return Mk(n,e,r)}},X9=({values:n,stride:e},r,S)=>{n.set(S.subarray(0,e),e*r)},K9=(n,e,r)=>{const S=n.children[0],D=n.valueOffsets,T=nc.getVisitFn(S);if(Array.isArray(r))for(let p=-1,t=D[e],d=D[e+1];t{const S=n.children[0],{valueOffsets:D}=n,T=nc.getVisitFn(S);let{[e]:p,[e+1]:t}=D;const d=r instanceof Map?r.entries():Object.entries(r);for(const g of d)if(T(S,p,g),++p>=t)break},Q9=(n,e)=>(r,S,D,T)=>S&&r(S,n,e[T]),eL=(n,e)=>(r,S,D,T)=>S&&r(S,n,e.get(T)),tL=(n,e)=>(r,S,D,T)=>S&&r(S,n,e.get(D.name)),nL=(n,e)=>(r,S,D,T)=>S&&r(S,n,e[D.name]),rL=(n,e,r)=>{const S=n.type.children.map(T=>nc.getVisitFn(T.type)),D=r instanceof Map?tL(e,r):r instanceof Ta?eL(e,r):Array.isArray(r)?Q9(e,r):nL(e,r);n.type.children.forEach((T,p)=>D(S[p],n.children[p],T,p))},iL=(n,e,r)=>{n.type.mode===xu.Dense?Ak(n,e,r):Sk(n,e,r)},Ak=(n,e,r)=>{const S=n.type.typeIdToChildIndex[n.typeIds[e]],D=n.children[S];nc.visit(D,n.valueOffsets[e],r)},Sk=(n,e,r)=>{const S=n.type.typeIdToChildIndex[n.typeIds[e]],D=n.children[S];nc.visit(D,e,r)},aL=(n,e,r)=>{var S;(S=n.dictionary)===null||S===void 0||S.set(n.values[e],r)},oL=(n,e,r)=>{n.type.unit===Hf.DAY_TIME?Ck(n,e,r):Ek(n,e,r)},Ck=({values:n},e,r)=>{n.set(r.subarray(0,2),2*e)},Ek=({values:n},e,r)=>{n[e]=r[0]*12+r[1]%12},sL=(n,e,r)=>{const{stride:S}=n,D=n.children[0],T=nc.getVisitFn(D);if(Array.isArray(r))for(let p=-1,t=e*S;++p`${Cm(e)}: ${Cm(r)}`).join(", ")}}`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}[Symbol.iterator](){return new lL(this[Ec],this[Gp])}}class lL{constructor(e,r){this.childIndex=0,this.children=e.children,this.rowIndex=r,this.childFields=e.type.children,this.numChildren=this.childFields.length}[Symbol.iterator](){return this}next(){const e=this.childIndex;return er.name)}has(e,r){return e[Ec].type.children.findIndex(S=>S.name===r)!==-1}getOwnPropertyDescriptor(e,r){if(e[Ec].type.children.findIndex(S=>S.name===r)!==-1)return{writable:!0,enumerable:!0,configurable:!0}}get(e,r){if(Reflect.has(e,r))return e[r];const S=e[Ec].type.children.findIndex(D=>D.name===r);if(S!==-1){const D=Xl.visit(e[Ec].children[S],e[Gp]);return Reflect.set(e,r,D),D}}set(e,r,S){const D=e[Ec].type.children.findIndex(T=>T.name===r);return D!==-1?(nc.visit(e[Ec].children[D],e[Gp],S),Reflect.set(e,r,S)):Reflect.has(e,r)||typeof r=="symbol"?Reflect.set(e,r,S):!1}}class Ti extends aa{}function Ei(n){return(e,r)=>e.getValid(r)?n(e,r):null}const cL=(n,e)=>864e5*n[e],w2=(n,e)=>4294967296*n[e+1]+(n[e]>>>0),hL=(n,e)=>4294967296*(n[e+1]/1e3)+(n[e]>>>0)/1e3,fL=(n,e)=>4294967296*(n[e+1]/1e6)+(n[e]>>>0)/1e6,Lk=n=>new Date(n),dL=(n,e)=>Lk(cL(n,e)),pL=(n,e)=>Lk(w2(n,e)),mL=(n,e)=>null,Ik=(n,e,r)=>{if(r+1>=e.length)return null;const S=e[r],D=e[r+1];return n.subarray(S,D)},gL=({offset:n,values:e},r)=>{const S=n+r;return(e[S>>3]&1<dL(n,e),Pk=({values:n},e)=>pL(n,e*2),Kf=({stride:n,values:e},r)=>e[n*r],vL=({stride:n,values:e},r)=>dk(e[n*r]),Ok=({values:n},e)=>n[e],yL=({stride:n,values:e},r)=>e.subarray(n*r,n*(r+1)),bL=({values:n,valueOffsets:e},r)=>Ik(n,e,r),xL=({values:n,valueOffsets:e},r)=>{const S=Ik(n,e,r);return S!==null?jb(S):null},_L=({values:n},e)=>n[e],wL=({type:n,values:e},r)=>n.precision!==Yl.HALF?e[r]:dk(e[r]),TL=(n,e)=>n.type.unit===nf.DAY?Rk(n,e):Pk(n,e),Dk=({values:n},e)=>1e3*w2(n,e*2),zk=({values:n},e)=>w2(n,e*2),Fk=({values:n},e)=>hL(n,e*2),Bk=({values:n},e)=>fL(n,e*2),kL=(n,e)=>{switch(n.type.unit){case wa.SECOND:return Dk(n,e);case wa.MILLISECOND:return zk(n,e);case wa.MICROSECOND:return Fk(n,e);case wa.NANOSECOND:return Bk(n,e)}},Nk=({values:n},e)=>n[e],Vk=({values:n},e)=>n[e],jk=({values:n},e)=>n[e],Uk=({values:n},e)=>n[e],ML=(n,e)=>{switch(n.type.unit){case wa.SECOND:return Nk(n,e);case wa.MILLISECOND:return Vk(n,e);case wa.MICROSECOND:return jk(n,e);case wa.NANOSECOND:return Uk(n,e)}},AL=({values:n,stride:e},r)=>y2.decimal(n.subarray(e*r,e*(r+1))),SL=(n,e)=>{const{valueOffsets:r,stride:S,children:D}=n,{[e*S]:T,[e*S+1]:p}=r,d=D[0].slice(T,p-T);return new Ta([d])},CL=(n,e)=>{const{valueOffsets:r,children:S}=n,{[e]:D,[e+1]:T}=r,p=S[0];return new T2(p.slice(D,T-D))},EL=(n,e)=>new _2(n,e),LL=(n,e)=>n.type.mode===xu.Dense?Hk(n,e):Gk(n,e),Hk=(n,e)=>{const r=n.type.typeIdToChildIndex[n.typeIds[e]],S=n.children[r];return Xl.visit(S,n.valueOffsets[e])},Gk=(n,e)=>{const r=n.type.typeIdToChildIndex[n.typeIds[e]],S=n.children[r];return Xl.visit(S,e)},IL=(n,e)=>{var r;return(r=n.dictionary)===null||r===void 0?void 0:r.get(n.values[e])},RL=(n,e)=>n.type.unit===Hf.DAY_TIME?qk(n,e):Wk(n,e),qk=({values:n},e)=>n.subarray(2*e,2*(e+1)),Wk=({values:n},e)=>{const r=n[e],S=new Int32Array(2);return S[0]=Math.trunc(r/12),S[1]=Math.trunc(r%12),S},PL=(n,e)=>{const{stride:r,children:S}=n,T=S[0].slice(e*r,r);return new Ta([T])};Ti.prototype.visitNull=Ei(mL);Ti.prototype.visitBool=Ei(gL);Ti.prototype.visitInt=Ei(_L);Ti.prototype.visitInt8=Ei(Kf);Ti.prototype.visitInt16=Ei(Kf);Ti.prototype.visitInt32=Ei(Kf);Ti.prototype.visitInt64=Ei(Ok);Ti.prototype.visitUint8=Ei(Kf);Ti.prototype.visitUint16=Ei(Kf);Ti.prototype.visitUint32=Ei(Kf);Ti.prototype.visitUint64=Ei(Ok);Ti.prototype.visitFloat=Ei(wL);Ti.prototype.visitFloat16=Ei(vL);Ti.prototype.visitFloat32=Ei(Kf);Ti.prototype.visitFloat64=Ei(Kf);Ti.prototype.visitUtf8=Ei(xL);Ti.prototype.visitBinary=Ei(bL);Ti.prototype.visitFixedSizeBinary=Ei(yL);Ti.prototype.visitDate=Ei(TL);Ti.prototype.visitDateDay=Ei(Rk);Ti.prototype.visitDateMillisecond=Ei(Pk);Ti.prototype.visitTimestamp=Ei(kL);Ti.prototype.visitTimestampSecond=Ei(Dk);Ti.prototype.visitTimestampMillisecond=Ei(zk);Ti.prototype.visitTimestampMicrosecond=Ei(Fk);Ti.prototype.visitTimestampNanosecond=Ei(Bk);Ti.prototype.visitTime=Ei(ML);Ti.prototype.visitTimeSecond=Ei(Nk);Ti.prototype.visitTimeMillisecond=Ei(Vk);Ti.prototype.visitTimeMicrosecond=Ei(jk);Ti.prototype.visitTimeNanosecond=Ei(Uk);Ti.prototype.visitDecimal=Ei(AL);Ti.prototype.visitList=Ei(SL);Ti.prototype.visitStruct=Ei(EL);Ti.prototype.visitUnion=Ei(LL);Ti.prototype.visitDenseUnion=Ei(Hk);Ti.prototype.visitSparseUnion=Ei(Gk);Ti.prototype.visitDictionary=Ei(IL);Ti.prototype.visitInterval=Ei(RL);Ti.prototype.visitIntervalDayTime=Ei(qk);Ti.prototype.visitIntervalYearMonth=Ei(Wk);Ti.prototype.visitFixedSizeList=Ei(PL);Ti.prototype.visitMap=Ei(CL);const Xl=new Ti,lh=Symbol.for("keys"),qp=Symbol.for("vals");class T2{constructor(e){return this[lh]=new Ta([e.children[0]]).memoize(),this[qp]=e.children[1],new Proxy(this,new DL)}[Symbol.iterator](){return new OL(this[lh],this[qp])}get size(){return this[lh].length}toArray(){return Object.values(this.toJSON())}toJSON(){const e=this[lh],r=this[qp],S={};for(let D=-1,T=e.length;++D`${Cm(e)}: ${Cm(r)}`).join(", ")}}`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}}class OL{constructor(e,r){this.keys=e,this.vals=r,this.keyIndex=0,this.numKeys=e.length}[Symbol.iterator](){return this}next(){const e=this.keyIndex;return e===this.numKeys?{done:!0,value:null}:(this.keyIndex++,{done:!1,value:[this.keys.get(e),Xl.visit(this.vals,e)]})}}class DL{isExtensible(){return!1}deleteProperty(){return!1}preventExtensions(){return!0}ownKeys(e){return e[lh].toArray().map(String)}has(e,r){return e[lh].includes(r)}getOwnPropertyDescriptor(e,r){if(e[lh].indexOf(r)!==-1)return{writable:!0,enumerable:!0,configurable:!0}}get(e,r){if(Reflect.has(e,r))return e[r];const S=e[lh].indexOf(r);if(S!==-1){const D=Xl.visit(Reflect.get(e,qp),S);return Reflect.set(e,r,D),D}}set(e,r,S){const D=e[lh].indexOf(r);return D!==-1?(nc.visit(Reflect.get(e,qp),D,S),Reflect.set(e,r,S)):Reflect.has(e,r)?Reflect.set(e,r,S):!1}}Object.defineProperties(T2.prototype,{[Symbol.toStringTag]:{enumerable:!1,configurable:!1,value:"Row"},[lh]:{writable:!0,enumerable:!1,configurable:!1,value:null},[qp]:{writable:!0,enumerable:!1,configurable:!1,value:null}});let J3;function Yk(n,e,r,S){const{length:D=0}=n;let T=typeof e!="number"?0:e,p=typeof r!="number"?D:r;return T<0&&(T=(T%D+D)%D),p<0&&(p=(p%D+D)%D),pD&&(p=D),S?S(n,T,p):[T,p]}const Q3=n=>n!==n;function v0(n){if(typeof n!=="object"||n===null)return Q3(n)?Q3:r=>r===n;if(n instanceof Date){const r=n.valueOf();return S=>S instanceof Date?S.valueOf()===r:!1}return ArrayBuffer.isView(n)?r=>r?C9(n,r):!1:n instanceof Map?FL(n):Array.isArray(n)?zL(n):n instanceof Ta?BL(n):NL(n,!0)}function zL(n){const e=[];for(let r=-1,S=n.length;++r!1;const S=[];for(let D=-1,T=r.length;++D{if(!r||typeof r!="object")return!1;switch(r.constructor){case Array:return VL(n,r);case Map:return e5(n,r,r.keys());case T2:case _2:case Object:case void 0:return e5(n,r,e||Object.keys(r))}return r instanceof Ta?jL(n,r):!1}}function VL(n,e){const r=n.length;if(e.length!==r)return!1;for(let S=-1;++S>S}function k2(n,e,r){const S=r.byteLength+7&-8;if(n>0||r.byteLength>3):qv(new M2(r,n,e,null,$k)).subarray(0,S)),D}return r}function qv(n){const e=[];let r=0,S=0,D=0;for(const p of n)p&&(D|=1<0)&&(e[r++]=D);const T=new Uint8Array(e.length+7&-8);return T.set(e),T}class M2{constructor(e,r,S,D,T){this.bytes=e,this.length=S,this.context=D,this.get=T,this.bit=r%8,this.byteIndex=r>>3,this.byte=e[this.byteIndex++],this.index=0}next(){return this.index>3<<3,D=e+(e%8===0?0:8-e%8);return qb(n,e,D)+qb(n,S,r)+HL(n,D>>3,S-D>>3)}function HL(n,e,r){let S=0,D=Math.trunc(e);const T=new DataView(n.buffer,n.byteOffset,n.byteLength),p=r===void 0?n.byteLength:D+r;for(;p-D>=4;)S+=cb(T.getUint32(D)),D+=4;for(;p-D>=2;)S+=cb(T.getUint16(D)),D+=2;for(;p-D>=1;)S+=cb(T.getUint8(D)),D+=1;return S}function cb(n){let e=Math.trunc(n);return e=e-(e>>>1&1431655765),e=(e&858993459)+(e>>>2&858993459),(e+(e>>>4)&252645135)*16843009>>>24}const GL=-1;class Qa{constructor(e,r,S,D,T,p=[],t){this.type=e,this.children=p,this.dictionary=t,this.offset=Math.floor(Math.max(r||0,0)),this.length=Math.floor(Math.max(S||0,0)),this._nullCount=Math.floor(Math.max(D||0,-1));let d;T instanceof Qa?(this.stride=T.stride,this.values=T.values,this.typeIds=T.typeIds,this.nullBitmap=T.nullBitmap,this.valueOffsets=T.valueOffsets):(this.stride=Wh(e),T&&((d=T[0])&&(this.valueOffsets=d),(d=T[1])&&(this.values=d),(d=T[2])&&(this.nullBitmap=d),(d=T[3])&&(this.typeIds=d))),this.nullable=this._nullCount!==0&&this.nullBitmap&&this.nullBitmap.byteLength>0}get typeId(){return this.type.typeId}get ArrayType(){return this.type.ArrayType}get buffers(){return[this.valueOffsets,this.values,this.nullBitmap,this.typeIds]}get byteLength(){let e=0;const{valueOffsets:r,values:S,nullBitmap:D,typeIds:T}=this;return r&&(e+=r.byteLength),S&&(e+=S.byteLength),D&&(e+=D.byteLength),T&&(e+=T.byteLength),this.children.reduce((p,t)=>p+t.byteLength,e)}get nullCount(){let e=this._nullCount,r;return e<=GL&&(r=this.nullBitmap)&&(this._nullCount=e=this.length-qb(r,this.offset,this.offset+this.length)),e}getValid(e){if(this.nullable&&this.nullCount>0){const r=this.offset+e;return(this.nullBitmap[r>>3]&1<>3){const{nullBitmap:d}=this._changeLengthAndBackfillNullBitmap(this.length);Object.assign(this,{nullBitmap:d,_nullCount:0})}const{nullBitmap:S,offset:D}=this,T=D+e>>3,p=(D+e)%8,t=S[T]>>p&1;return r?t===0&&(S[T]|=1<>3).fill(255,0,r>>3);D[r>>3]=(1<0&&D.set(k2(this.offset,r,this.nullBitmap),0);const T=this.buffers;return T[qh.VALIDITY]=D,this.clone(this.type,0,e,S+(e-r),T)}_sliceBuffers(e,r,S,D){let T;const{buffers:p}=this;return(T=p[qh.TYPE])&&(p[qh.TYPE]=T.subarray(e,e+r)),(T=p[qh.OFFSET])&&(p[qh.OFFSET]=T.subarray(e,e+r+1))||(T=p[qh.DATA])&&(p[qh.DATA]=D===6?T:T.subarray(S*e,S*(e+r))),p}_sliceChildren(e,r,S){return e.map(D=>D.slice(r,S))}}Qa.prototype.children=Object.freeze([]);class mm extends aa{visit(e){return this.getVisitFn(e.type).call(this,e)}visitNull(e){const{["type"]:r,["offset"]:S=0,["length"]:D=0}=e;return new Qa(r,S,D,0)}visitBool(e){const{["type"]:r,["offset"]:S=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length>>3,["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,S,p,t,[void 0,T,D])}visitInt(e){const{["type"]:r,["offset"]:S=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length,["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,S,p,t,[void 0,T,D])}visitFloat(e){const{["type"]:r,["offset"]:S=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length,["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,S,p,t,[void 0,T,D])}visitUtf8(e){const{["type"]:r,["offset"]:S=0}=e,D=_a(e.data),T=_a(e.nullBitmap),p=rm(e.valueOffsets),{["length"]:t=p.length-1,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,S,t,d,[p,D,T])}visitBinary(e){const{["type"]:r,["offset"]:S=0}=e,D=_a(e.data),T=_a(e.nullBitmap),p=rm(e.valueOffsets),{["length"]:t=p.length-1,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,S,t,d,[p,D,T])}visitFixedSizeBinary(e){const{["type"]:r,["offset"]:S=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,S,p,t,[void 0,T,D])}visitDate(e){const{["type"]:r,["offset"]:S=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,S,p,t,[void 0,T,D])}visitTimestamp(e){const{["type"]:r,["offset"]:S=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,S,p,t,[void 0,T,D])}visitTime(e){const{["type"]:r,["offset"]:S=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,S,p,t,[void 0,T,D])}visitDecimal(e){const{["type"]:r,["offset"]:S=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,S,p,t,[void 0,T,D])}visitList(e){const{["type"]:r,["offset"]:S=0,["child"]:D}=e,T=_a(e.nullBitmap),p=rm(e.valueOffsets),{["length"]:t=p.length-1,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,S,t,d,[p,void 0,T],[D])}visitStruct(e){const{["type"]:r,["offset"]:S=0,["children"]:D=[]}=e,T=_a(e.nullBitmap),{length:p=D.reduce((d,{length:g})=>Math.max(d,g),0),nullCount:t=e.nullBitmap?-1:0}=e;return new Qa(r,S,p,t,[void 0,void 0,T],D)}visitUnion(e){const{["type"]:r,["offset"]:S=0,["children"]:D=[]}=e,T=_a(e.nullBitmap),p=qa(r.ArrayType,e.typeIds),{["length"]:t=p.length,["nullCount"]:d=e.nullBitmap?-1:0}=e;if(_i.isSparseUnion(r))return new Qa(r,S,t,d,[void 0,void 0,T,p],D);const g=rm(e.valueOffsets);return new Qa(r,S,t,d,[g,void 0,T,p],D)}visitDictionary(e){const{["type"]:r,["offset"]:S=0}=e,D=_a(e.nullBitmap),T=qa(r.indices.ArrayType,e.data),{["dictionary"]:p=new Ta([new mm().visit({type:r.dictionary})])}=e,{["length"]:t=T.length,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,S,t,d,[void 0,T,D],[],p)}visitInterval(e){const{["type"]:r,["offset"]:S=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,S,p,t,[void 0,T,D])}visitFixedSizeList(e){const{["type"]:r,["offset"]:S=0,["child"]:D=new mm().visit({type:r.valueType})}=e,T=_a(e.nullBitmap),{["length"]:p=D.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,S,p,t,[void 0,void 0,T],[D])}visitMap(e){const{["type"]:r,["offset"]:S=0,["child"]:D=new mm().visit({type:r.childType})}=e,T=_a(e.nullBitmap),p=rm(e.valueOffsets),{["length"]:t=p.length-1,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,S,t,d,[p,void 0,T],[D])}}function ra(n){return new mm().visit(n)}class t5{constructor(e=0,r){this.numChunks=e,this.getChunkIterator=r,this.chunkIndex=0,this.chunkIterator=this.getChunkIterator(0)}next(){for(;this.chunkIndexe+r.nullCount,0)}function Xk(n){return n.reduce((e,r,S)=>(e[S+1]=e[S]+r.length,e),new Uint32Array(n.length+1))}function Kk(n,e,r,S){const D=[];for(let T=-1,p=n.length;++T=S)break;if(r>=d+g)continue;if(d>=r&&d+g<=S){D.push(t);continue}const i=Math.max(0,r-d),M=Math.min(S-d,g);D.push(t.slice(i,M-i))}return D.length===0&&D.push(n[0].slice(0,0)),D}function A2(n,e,r,S){let D=0,T=0,p=e.length-1;do{if(D>=p-1)return r0?0:-1}function WL(n,e){const{nullBitmap:r}=n;if(!r||n.nullCount<=0)return-1;let S=0;for(const D of new M2(r,n.offset+(e||0),n.length,r,$k)){if(!D)return S;++S}return-1}function Vi(n,e,r){if(e===void 0)return-1;if(e===null)return WL(n,r);const S=Xl.getVisitFn(n),D=v0(e);for(let T=(r||0)-1,p=n.length;++T{const D=n.data[S];return D.values.subarray(0,D.length)[Symbol.iterator]()});let r=0;return new t5(n.data.length,S=>{const T=n.data[S].length,p=n.slice(r,r+T);return r+=T,new YL(p)})}class YL{constructor(e){this.vector=e,this.index=0}next(){return this.indexn+e;class Jf extends aa{visitNull(e,r){return 0}visitInt(e,r){return e.type.bitWidth/8}visitFloat(e,r){return e.type.ArrayType.BYTES_PER_ELEMENT}visitBool(e,r){return 1/8}visitDecimal(e,r){return e.type.bitWidth/8}visitDate(e,r){return(e.type.unit+1)*4}visitTime(e,r){return e.type.bitWidth/8}visitTimestamp(e,r){return e.type.unit===wa.SECOND?4:8}visitInterval(e,r){return(e.type.unit+1)*4}visitStruct(e,r){return e.children.reduce((S,D)=>S+_h.visit(D,r),0)}visitFixedSizeBinary(e,r){return e.type.byteWidth}visitMap(e,r){return 8+e.children.reduce((S,D)=>S+_h.visit(D,r),0)}visitDictionary(e,r){var S;return e.type.indices.bitWidth/8+(((S=e.dictionary)===null||S===void 0?void 0:S.getByteLength(e.values[r]))||0)}}const ZL=({valueOffsets:n},e)=>8+(n[e+1]-n[e]),XL=({valueOffsets:n},e)=>8+(n[e+1]-n[e]),KL=({valueOffsets:n,stride:e,children:r},S)=>{const D=r[0],{[S*e]:T}=n,{[S*e+1]:p}=n,t=_h.getVisitFn(D.type),d=D.slice(T,p-T);let g=8;for(let i=-1,M=p-T;++i{const S=e[0],D=S.slice(r*n,n),T=_h.getVisitFn(S.type);let p=0;for(let t=-1,d=D.length;++tn.type.mode===xu.Dense?tM(n,e):nM(n,e),tM=({type:n,children:e,typeIds:r,valueOffsets:S},D)=>{const T=n.typeIdToChildIndex[r[D]];return 8+_h.visit(e[T],S[D])},nM=({children:n},e)=>4+_h.visitMany(n,n.map(()=>e)).reduce($L,0);Jf.prototype.visitUtf8=ZL;Jf.prototype.visitBinary=XL;Jf.prototype.visitList=KL;Jf.prototype.visitFixedSizeList=JL;Jf.prototype.visitUnion=QL;Jf.prototype.visitDenseUnion=tM;Jf.prototype.visitSparseUnion=nM;const _h=new Jf;var rM;const iM={},aM={};class Ta{constructor(e){var r,S,D;const T=e[0]instanceof Ta?e.flatMap(t=>t.data):e;if(T.length===0||T.some(t=>!(t instanceof Qa)))throw new TypeError("Vector constructor expects an Array of Data instances.");const p=(r=T[0])===null||r===void 0?void 0:r.type;switch(T.length){case 0:this._offsets=[0];break;case 1:{const{get:t,set:d,indexOf:g,byteLength:i}=iM[p.typeId],M=T[0];this.isValid=v=>S2(M,v),this.get=v=>t(M,v),this.set=(v,f)=>d(M,v,f),this.indexOf=v=>g(M,v),this.getByteLength=v=>i(M,v),this._offsets=[0,M.length];break}default:Object.setPrototypeOf(this,aM[p.typeId]),this._offsets=Xk(T);break}this.data=T,this.type=p,this.stride=Wh(p),this.numChildren=(D=(S=p.children)===null||S===void 0?void 0:S.length)!==null&&D!==void 0?D:0,this.length=this._offsets[this._offsets.length-1]}get byteLength(){return this._byteLength===-1&&(this._byteLength=this.data.reduce((e,r)=>e+r.byteLength,0)),this._byteLength}get nullCount(){return this._nullCount===-1&&(this._nullCount=Zk(this.data)),this._nullCount}get ArrayType(){return this.type.ArrayType}get[Symbol.toStringTag](){return`${this.VectorName}<${this.type[Symbol.toStringTag]}>`}get VectorName(){return`${Jn[this.type.typeId]}Vector`}isValid(e){return!1}get(e){return null}set(e,r){}indexOf(e,r){return-1}includes(e,r){return this.indexOf(e,r)>0}getByteLength(e){return 0}[Symbol.iterator](){return C2.visit(this)}concat(...e){return new Ta(this.data.concat(e.flatMap(r=>r.data).flat(Number.POSITIVE_INFINITY)))}slice(e,r){return new Ta(Yk(this,e,r,({data:S,_offsets:D},T,p)=>Kk(S,D,T,p)))}toJSON(){return[...this]}toArray(){const{type:e,data:r,length:S,stride:D,ArrayType:T}=this;switch(e.typeId){case Jn.Int:case Jn.Float:case Jn.Decimal:case Jn.Time:case Jn.Timestamp:switch(r.length){case 0:return new T;case 1:return r[0].values.subarray(0,S*D);default:return r.reduce((p,{values:t,length:d})=>(p.array.set(t.subarray(0,d*D),p.offset),p.offset+=d*D,p),{array:new T(S*D),offset:0}).array}}return[...this]}toString(){return`[${[...this].join(",")}]`}getChild(e){var r;return this.getChildAt((r=this.type.children)===null||r===void 0?void 0:r.findIndex(S=>S.name===e))}getChildAt(e){return e>-1&&er[e])):null}get isMemoized(){return _i.isDictionary(this.type)?this.data[0].dictionary.isMemoized:!1}memoize(){if(_i.isDictionary(this.type)){const e=new Yv(this.data[0].dictionary),r=this.data.map(S=>{const D=S.clone();return D.dictionary=e,D});return new Ta(r)}return new Yv(this)}unmemoize(){if(_i.isDictionary(this.type)&&this.isMemoized){const e=this.data[0].dictionary.unmemoize(),r=this.data.map(S=>{const D=S.clone();return D.dictionary=e,D});return new Ta(r)}return this}}rM=Symbol.toStringTag;Ta[rM]=(n=>{n.type=_i.prototype,n.data=[],n.length=0,n.stride=1,n.numChildren=0,n._nullCount=-1,n._byteLength=-1,n._offsets=new Uint32Array([0]),n[Symbol.isConcatSpreadable]=!0;const e=Object.keys(Jn).map(r=>Jn[r]).filter(r=>typeof r=="number"&&r!==Jn.NONE);for(const r of e){const S=Xl.getVisitFnByTypeId(r),D=nc.getVisitFnByTypeId(r),T=Wv.getVisitFnByTypeId(r),p=_h.getVisitFnByTypeId(r);iM[r]={get:S,set:D,indexOf:T,byteLength:p},aM[r]=Object.create(n,{isValid:{value:Wp(S2)},get:{value:Wp(Xl.getVisitFnByTypeId(r))},set:{value:Jk(nc.getVisitFnByTypeId(r))},indexOf:{value:Qk(Wv.getVisitFnByTypeId(r))},getByteLength:{value:Wp(_h.getVisitFnByTypeId(r))}})}return"Vector"})(Ta.prototype);class Yv extends Ta{constructor(e){super(e.data);const r=this.get,S=this.set,D=this.slice,T=new Array(this.length);Object.defineProperty(this,"get",{value(p){const t=T[p];if(t!==void 0)return t;const d=r.call(this,p);return T[p]=d,d}}),Object.defineProperty(this,"set",{value(p,t){S.call(this,p,t),T[p]=t}}),Object.defineProperty(this,"slice",{value:(p,t)=>new Yv(D.call(this,p,t))}),Object.defineProperty(this,"isMemoized",{value:!0}),Object.defineProperty(this,"unmemoize",{value:()=>new Ta(this.data)}),Object.defineProperty(this,"memoize",{value:()=>this})}}class Wb{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}offset(){return this.bb.readInt64(this.bb_pos)}metaDataLength(){return this.bb.readInt32(this.bb_pos+8)}bodyLength(){return this.bb.readInt64(this.bb_pos+16)}static sizeOf(){return 24}static createBlock(e,r,S,D){return e.prep(8,24),e.writeInt64(D),e.pad(4),e.writeInt32(S),e.writeInt64(r),e.offset()}}const hb=2,uh=4,$h=4,Wa=4,Pf=new Int32Array(2),n5=new Float32Array(Pf.buffer),r5=new Float64Array(Pf.buffer),av=new Uint16Array(new Uint8Array([1,0]).buffer)[0]===1;let Jh=class Yb{constructor(e,r){this.low=e|0,this.high=r|0}static create(e,r){return e==0&&r==0?Yb.ZERO:new Yb(e,r)}toFloat64(){return(this.low>>>0)+this.high*4294967296}equals(e){return this.low==e.low&&this.high==e.high}};Jh.ZERO=new Jh(0,0);var $b;(function(n){n[n.UTF8_BYTES=1]="UTF8_BYTES",n[n.UTF16_STRING=2]="UTF16_STRING"})($b||($b={}));let Jp=class oM{constructor(e){this.bytes_=e,this.position_=0}static allocate(e){return new oM(new Uint8Array(e))}clear(){this.position_=0}bytes(){return this.bytes_}position(){return this.position_}setPosition(e){this.position_=e}capacity(){return this.bytes_.length}readInt8(e){return this.readUint8(e)<<24>>24}readUint8(e){return this.bytes_[e]}readInt16(e){return this.readUint16(e)<<16>>16}readUint16(e){return this.bytes_[e]|this.bytes_[e+1]<<8}readInt32(e){return this.bytes_[e]|this.bytes_[e+1]<<8|this.bytes_[e+2]<<16|this.bytes_[e+3]<<24}readUint32(e){return this.readInt32(e)>>>0}readInt64(e){return new Jh(this.readInt32(e),this.readInt32(e+4))}readUint64(e){return new Jh(this.readUint32(e),this.readUint32(e+4))}readFloat32(e){return Pf[0]=this.readInt32(e),n5[0]}readFloat64(e){return Pf[av?0:1]=this.readInt32(e),Pf[av?1:0]=this.readInt32(e+4),r5[0]}writeInt8(e,r){this.bytes_[e]=r}writeUint8(e,r){this.bytes_[e]=r}writeInt16(e,r){this.bytes_[e]=r,this.bytes_[e+1]=r>>8}writeUint16(e,r){this.bytes_[e]=r,this.bytes_[e+1]=r>>8}writeInt32(e,r){this.bytes_[e]=r,this.bytes_[e+1]=r>>8,this.bytes_[e+2]=r>>16,this.bytes_[e+3]=r>>24}writeUint32(e,r){this.bytes_[e]=r,this.bytes_[e+1]=r>>8,this.bytes_[e+2]=r>>16,this.bytes_[e+3]=r>>24}writeInt64(e,r){this.writeInt32(e,r.low),this.writeInt32(e+4,r.high)}writeUint64(e,r){this.writeUint32(e,r.low),this.writeUint32(e+4,r.high)}writeFloat32(e,r){n5[0]=r,this.writeInt32(e,Pf[0])}writeFloat64(e,r){r5[0]=r,this.writeInt32(e,Pf[av?0:1]),this.writeInt32(e+4,Pf[av?1:0])}getBufferIdentifier(){if(this.bytes_.length>10)+55296,(p&1024-1)+56320))}return D}__union_with_string(e,r){return typeof e=="string"?this.__string(r):this.__union(e,r)}__indirect(e){return e+this.readInt32(e)}__vector(e){return e+this.readInt32(e)+uh}__vector_len(e){return this.readInt32(e+this.readInt32(e))}__has_identifier(e){if(e.length!=$h)throw new Error("FlatBuffers: file identifier must be length "+$h);for(let r=0;r<$h;r++)if(e.charCodeAt(r)!=this.readInt8(this.position()+uh+r))return!1;return!0}createLong(e,r){return Jh.create(e,r)}createScalarList(e,r){const S=[];for(let D=0;Dthis.minalign&&(this.minalign=e);const S=~(this.bb.capacity()-this.space+r)+1&e-1;for(;this.space=0&&this.vtable[r]==0;r--);const S=r+1;for(;r>=0;r--)this.addInt16(this.vtable[r]!=0?e-this.vtable[r]:0);const D=2;this.addInt16(e-this.object_start);const T=(S+D)*hb;this.addInt16(T);let p=0;const t=this.space;e:for(r=0;r=0;p--)this.writeInt8(T.charCodeAt(p))}this.prep(this.minalign,uh+D),this.addOffset(e),D&&this.addInt32(this.bb.capacity()-this.space),this.bb.setPosition(this.space)}finishSizePrefixed(e,r){this.finish(e,r,!0)}requiredField(e,r){const S=this.bb.capacity()-e,D=S-this.bb.readInt32(S);if(!(this.bb.readInt16(D+r)!=0))throw new Error("FlatBuffers: field "+r+" must be set")}startVector(e,r,S){this.notNested(),this.vector_num_elems=r,this.prep(uh,e*r),this.prep(S,e*r)}endVector(){return this.writeInt32(this.vector_num_elems),this.offset()}createSharedString(e){if(!e)return 0;if(this.string_maps||(this.string_maps=new Map),this.string_maps.has(e))return this.string_maps.get(e);const r=this.createString(e);return this.string_maps.set(e,r),r}createString(e){if(!e)return 0;let r;if(e instanceof Uint8Array)r=e;else{r=[];let S=0;for(;S=56320)D=T;else{const p=e.charCodeAt(S++);D=(T<<10)+p+(65536-56623104-56320)}D<128?r.push(D):(D<2048?r.push(D>>6&31|192):(D<65536?r.push(D>>12&15|224):r.push(D>>18&7|240,D>>12&63|128),r.push(D>>6&63|128)),r.push(D&63|128))}}this.addInt8(0),this.startVector(1,r.length,1),this.bb.setPosition(this.space-=r.length);for(let S=0,D=this.space,T=this.bb.bytes();S=0;S--)e.addInt32(r[S]);return e.endVector()}static startTypeIdsVector(e,r){e.startVector(4,r,4)}static endUnion(e){return e.endObject()}static createUnion(e,r,S){return ql.startUnion(e),ql.addMode(e,r),ql.addTypeIds(e,S),ql.endUnion(e)}}class Pd{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsUtf8(e,r){return(r||new Pd).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsUtf8(e,r){return e.setPosition(e.position()+Wa),(r||new Pd).__init(e.readInt32(e.position())+e.position(),e)}static startUtf8(e){e.startObject(0)}static endUtf8(e){return e.endObject()}static createUtf8(e){return Pd.startUtf8(e),Pd.endUtf8(e)}}var Ao;(function(n){n[n.NONE=0]="NONE",n[n.Null=1]="Null",n[n.Int=2]="Int",n[n.FloatingPoint=3]="FloatingPoint",n[n.Binary=4]="Binary",n[n.Utf8=5]="Utf8",n[n.Bool=6]="Bool",n[n.Decimal=7]="Decimal",n[n.Date=8]="Date",n[n.Time=9]="Time",n[n.Timestamp=10]="Timestamp",n[n.Interval=11]="Interval",n[n.List=12]="List",n[n.Struct_=13]="Struct_",n[n.Union=14]="Union",n[n.FixedSizeBinary=15]="FixedSizeBinary",n[n.FixedSizeList=16]="FixedSizeList",n[n.Map=17]="Map",n[n.Duration=18]="Duration",n[n.LargeBinary=19]="LargeBinary",n[n.LargeUtf8=20]="LargeUtf8",n[n.LargeList=21]="LargeList"})(Ao||(Ao={}));let qu=class yv{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsField(e,r){return(r||new yv).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsField(e,r){return e.setPosition(e.position()+Wa),(r||new yv).__init(e.readInt32(e.position())+e.position(),e)}name(e){const r=this.bb.__offset(this.bb_pos,4);return r?this.bb.__string(this.bb_pos+r,e):null}nullable(){const e=this.bb.__offset(this.bb_pos,6);return e?!!this.bb.readInt8(this.bb_pos+e):!1}typeType(){const e=this.bb.__offset(this.bb_pos,8);return e?this.bb.readUint8(this.bb_pos+e):Ao.NONE}type(e){const r=this.bb.__offset(this.bb_pos,10);return r?this.bb.__union(e,this.bb_pos+r):null}dictionary(e){const r=this.bb.__offset(this.bb_pos,12);return r?(e||new Zh).__init(this.bb.__indirect(this.bb_pos+r),this.bb):null}children(e,r){const S=this.bb.__offset(this.bb_pos,14);return S?(r||new yv).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+S)+e*4),this.bb):null}childrenLength(){const e=this.bb.__offset(this.bb_pos,14);return e?this.bb.__vector_len(this.bb_pos+e):0}customMetadata(e,r){const S=this.bb.__offset(this.bb_pos,16);return S?(r||new cs).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+S)+e*4),this.bb):null}customMetadataLength(){const e=this.bb.__offset(this.bb_pos,16);return e?this.bb.__vector_len(this.bb_pos+e):0}static startField(e){e.startObject(7)}static addName(e,r){e.addFieldOffset(0,r,0)}static addNullable(e,r){e.addFieldInt8(1,+r,0)}static addTypeType(e,r){e.addFieldInt8(2,r,Ao.NONE)}static addType(e,r){e.addFieldOffset(3,r,0)}static addDictionary(e,r){e.addFieldOffset(4,r,0)}static addChildren(e,r){e.addFieldOffset(5,r,0)}static createChildrenVector(e,r){e.startVector(4,r.length,4);for(let S=r.length-1;S>=0;S--)e.addOffset(r[S]);return e.endVector()}static startChildrenVector(e,r){e.startVector(4,r,4)}static addCustomMetadata(e,r){e.addFieldOffset(6,r,0)}static createCustomMetadataVector(e,r){e.startVector(4,r.length,4);for(let S=r.length-1;S>=0;S--)e.addOffset(r[S]);return e.endVector()}static startCustomMetadataVector(e,r){e.startVector(4,r,4)}static endField(e){return e.endObject()}},ih=class Hh{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsSchema(e,r){return(r||new Hh).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsSchema(e,r){return e.setPosition(e.position()+Wa),(r||new Hh).__init(e.readInt32(e.position())+e.position(),e)}endianness(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):e0.Little}fields(e,r){const S=this.bb.__offset(this.bb_pos,6);return S?(r||new qu).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+S)+e*4),this.bb):null}fieldsLength(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.__vector_len(this.bb_pos+e):0}customMetadata(e,r){const S=this.bb.__offset(this.bb_pos,8);return S?(r||new cs).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+S)+e*4),this.bb):null}customMetadataLength(){const e=this.bb.__offset(this.bb_pos,8);return e?this.bb.__vector_len(this.bb_pos+e):0}features(e){const r=this.bb.__offset(this.bb_pos,10);return r?this.bb.readInt64(this.bb.__vector(this.bb_pos+r)+e*8):this.bb.createLong(0,0)}featuresLength(){const e=this.bb.__offset(this.bb_pos,10);return e?this.bb.__vector_len(this.bb_pos+e):0}static startSchema(e){e.startObject(4)}static addEndianness(e,r){e.addFieldInt16(0,r,e0.Little)}static addFields(e,r){e.addFieldOffset(1,r,0)}static createFieldsVector(e,r){e.startVector(4,r.length,4);for(let S=r.length-1;S>=0;S--)e.addOffset(r[S]);return e.endVector()}static startFieldsVector(e,r){e.startVector(4,r,4)}static addCustomMetadata(e,r){e.addFieldOffset(2,r,0)}static createCustomMetadataVector(e,r){e.startVector(4,r.length,4);for(let S=r.length-1;S>=0;S--)e.addOffset(r[S]);return e.endVector()}static startCustomMetadataVector(e,r){e.startVector(4,r,4)}static addFeatures(e,r){e.addFieldOffset(3,r,0)}static createFeaturesVector(e,r){e.startVector(8,r.length,8);for(let S=r.length-1;S>=0;S--)e.addInt64(r[S]);return e.endVector()}static startFeaturesVector(e,r){e.startVector(8,r,8)}static endSchema(e){return e.endObject()}static finishSchemaBuffer(e,r){e.finish(r)}static finishSizePrefixedSchemaBuffer(e,r){e.finish(r,void 0,!0)}static createSchema(e,r,S,D,T){return Hh.startSchema(e),Hh.addEndianness(e,r),Hh.addFields(e,S),Hh.addCustomMetadata(e,D),Hh.addFeatures(e,T),Hh.endSchema(e)}};class fu{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsFooter(e,r){return(r||new fu).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsFooter(e,r){return e.setPosition(e.position()+Wa),(r||new fu).__init(e.readInt32(e.position())+e.position(),e)}version(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):Qp.V1}schema(e){const r=this.bb.__offset(this.bb_pos,6);return r?(e||new ih).__init(this.bb.__indirect(this.bb_pos+r),this.bb):null}dictionaries(e,r){const S=this.bb.__offset(this.bb_pos,8);return S?(r||new Wb).__init(this.bb.__vector(this.bb_pos+S)+e*24,this.bb):null}dictionariesLength(){const e=this.bb.__offset(this.bb_pos,8);return e?this.bb.__vector_len(this.bb_pos+e):0}recordBatches(e,r){const S=this.bb.__offset(this.bb_pos,10);return S?(r||new Wb).__init(this.bb.__vector(this.bb_pos+S)+e*24,this.bb):null}recordBatchesLength(){const e=this.bb.__offset(this.bb_pos,10);return e?this.bb.__vector_len(this.bb_pos+e):0}customMetadata(e,r){const S=this.bb.__offset(this.bb_pos,12);return S?(r||new cs).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+S)+e*4),this.bb):null}customMetadataLength(){const e=this.bb.__offset(this.bb_pos,12);return e?this.bb.__vector_len(this.bb_pos+e):0}static startFooter(e){e.startObject(5)}static addVersion(e,r){e.addFieldInt16(0,r,Qp.V1)}static addSchema(e,r){e.addFieldOffset(1,r,0)}static addDictionaries(e,r){e.addFieldOffset(2,r,0)}static startDictionariesVector(e,r){e.startVector(24,r,8)}static addRecordBatches(e,r){e.addFieldOffset(3,r,0)}static startRecordBatchesVector(e,r){e.startVector(24,r,8)}static addCustomMetadata(e,r){e.addFieldOffset(4,r,0)}static createCustomMetadataVector(e,r){e.startVector(4,r.length,4);for(let S=r.length-1;S>=0;S--)e.addOffset(r[S]);return e.endVector()}static startCustomMetadataVector(e,r){e.startVector(4,r,4)}static endFooter(e){return e.endObject()}static finishFooterBuffer(e,r){e.finish(r)}static finishSizePrefixedFooterBuffer(e,r){e.finish(r,void 0,!0)}}class Ea{constructor(e=[],r,S){this.fields=e||[],this.metadata=r||new Map,S||(S=Zb(e)),this.dictionaries=S}get[Symbol.toStringTag](){return"Schema"}get names(){return this.fields.map(e=>e.name)}toString(){return`Schema<{ ${this.fields.map((e,r)=>`${r}: ${e}`).join(", ")} }>`}select(e){const r=new Set(e),S=this.fields.filter(D=>r.has(D.name));return new Ea(S,this.metadata)}selectAt(e){const r=e.map(S=>this.fields[S]).filter(Boolean);return new Ea(r,this.metadata)}assign(...e){const r=e[0]instanceof Ea?e[0]:Array.isArray(e[0])?new Ea(e[0]):new Ea(e),S=[...this.fields],D=ov(ov(new Map,this.metadata),r.metadata),T=r.fields.filter(t=>{const d=S.findIndex(g=>g.name===t.name);return~d?(S[d]=t.clone({metadata:ov(ov(new Map,S[d].metadata),t.metadata)}))&&!1:!0}),p=Zb(T,new Map);return new Ea([...S,...T],D,new Map([...this.dictionaries,...p]))}}Ea.prototype.fields=null;Ea.prototype.metadata=null;Ea.prototype.dictionaries=null;class oo{constructor(e,r,S=!1,D){this.name=e,this.type=r,this.nullable=S,this.metadata=D||new Map}static new(...e){let[r,S,D,T]=e;return e[0]&&typeof e[0]=="object"&&({name:r}=e[0],S===void 0&&(S=e[0].type),D===void 0&&(D=e[0].nullable),T===void 0&&(T=e[0].metadata)),new oo(`${r}`,S,D,T)}get typeId(){return this.type.typeId}get[Symbol.toStringTag](){return"Field"}toString(){return`${this.name}: ${this.type}`}clone(...e){let[r,S,D,T]=e;return!e[0]||typeof e[0]!="object"?[r=this.name,S=this.type,D=this.nullable,T=this.metadata]=e:{name:r=this.name,type:S=this.type,nullable:D=this.nullable,metadata:T=this.metadata}=e[0],oo.new(r,S,D,T)}}oo.prototype.type=null;oo.prototype.name=null;oo.prototype.nullable=null;oo.prototype.metadata=null;function ov(n,e){return new Map([...n||new Map,...e||new Map])}function Zb(n,e=new Map){for(let r=-1,S=n.length;++r0&&Zb(T.children,e)}return e}var i5=Jh,eI=sM,tI=Jp;class Pm{constructor(e,r=gu.V4,S,D){this.schema=e,this.version=r,S&&(this._recordBatches=S),D&&(this._dictionaryBatches=D)}static decode(e){e=new tI(_a(e));const r=fu.getRootAsFooter(e),S=Ea.decode(r.schema());return new nI(S,r)}static encode(e){const r=new eI,S=Ea.encode(r,e.schema);fu.startRecordBatchesVector(r,e.numRecordBatches);for(const p of[...e.recordBatches()].slice().reverse())Wf.encode(r,p);const D=r.endVector();fu.startDictionariesVector(r,e.numDictionaries);for(const p of[...e.dictionaryBatches()].slice().reverse())Wf.encode(r,p);const T=r.endVector();return fu.startFooter(r),fu.addSchema(r,S),fu.addVersion(r,gu.V4),fu.addRecordBatches(r,D),fu.addDictionaries(r,T),fu.finishFooterBuffer(r,fu.endFooter(r)),r.asUint8Array()}get numRecordBatches(){return this._recordBatches.length}get numDictionaries(){return this._dictionaryBatches.length}*recordBatches(){for(let e,r=-1,S=this.numRecordBatches;++r=0&&e=0&&e=0&&e=0&&ethis._closedPromiseResolve=e)}get closed(){return this._closedPromise}cancel(e){return yi(this,void 0,void 0,function*(){yield this.return(e)})}write(e){this._ensureOpen()&&(this.resolvers.length<=0?this._values.push(e):this.resolvers.shift().resolve({done:!1,value:e}))}abort(e){this._closedPromiseResolve&&(this.resolvers.length<=0?this._error={error:e}:this.resolvers.shift().reject({done:!0,value:e}))}close(){if(this._closedPromiseResolve){const{resolvers:e}=this;for(;e.length>0;)e.shift().resolve(So);this._closedPromiseResolve(),this._closedPromiseResolve=void 0}}[Symbol.asyncIterator](){return this}toDOMStream(e){return $u.toDOMStream(this._closedPromiseResolve||this._error?this:this._values,e)}toNodeStream(e){return $u.toNodeStream(this._closedPromiseResolve||this._error?this:this._values,e)}throw(e){return yi(this,void 0,void 0,function*(){return yield this.abort(e),So})}return(e){return yi(this,void 0,void 0,function*(){return yield this.close(),So})}read(e){return yi(this,void 0,void 0,function*(){return(yield this.next(e,"read")).value})}peek(e){return yi(this,void 0,void 0,function*(){return(yield this.next(e,"peek")).value})}next(...e){return this._values.length>0?Promise.resolve({done:!1,value:this._values.shift()}):this._error?Promise.reject({done:!0,value:this._error.error}):this._closedPromiseResolve?new Promise((r,S)=>{this.resolvers.push({resolve:r,reject:S})}):Promise.resolve(So)}_ensureOpen(){if(this._closedPromiseResolve)return!0;throw new Error("AsyncQueue is closed")}}class bv extends rI{write(e){if((e=_a(e)).byteLength>0)return super.write(e)}toString(e=!1){return e?jb(this.toUint8Array(!0)):this.toUint8Array(!1).then(jb)}toUint8Array(e=!1){return e?xh(this._values)[0]:(()=>yi(this,void 0,void 0,function*(){var r,S;const D=[];let T=0;try{for(var p=Nd(this),t;t=yield p.next(),!t.done;){const d=t.value;D.push(d),T+=d.byteLength}}catch(d){r={error:d}}finally{try{t&&!t.done&&(S=p.return)&&(yield S.call(p))}finally{if(r)throw r.error}}return xh(D,T)[0]}))()}}class Qv{constructor(e){e&&(this.source=new iI($u.fromIterable(e)))}[Symbol.iterator](){return this}next(e){return this.source.next(e)}throw(e){return this.source.throw(e)}return(e){return this.source.return(e)}peek(e){return this.source.peek(e)}read(e){return this.source.read(e)}}class n0{constructor(e){e instanceof n0?this.source=e.source:e instanceof bv?this.source=new xd($u.fromAsyncIterable(e)):G4(e)?this.source=new xd($u.fromNodeStream(e)):m2(e)?this.source=new xd($u.fromDOMStream(e)):H4(e)?this.source=new xd($u.fromDOMStream(e.body)):Zm(e)?this.source=new xd($u.fromIterable(e)):Uf(e)?this.source=new xd($u.fromAsyncIterable(e)):g0(e)&&(this.source=new xd($u.fromAsyncIterable(e)))}[Symbol.asyncIterator](){return this}next(e){return this.source.next(e)}throw(e){return this.source.throw(e)}return(e){return this.source.return(e)}get closed(){return this.source.closed}cancel(e){return this.source.cancel(e)}peek(e){return this.source.peek(e)}read(e){return this.source.read(e)}}class iI{constructor(e){this.source=e}cancel(e){this.return(e)}peek(e){return this.next(e,"peek").value}read(e){return this.next(e,"read").value}next(e,r="read"){return this.source.next({cmd:r,size:e})}throw(e){return Object.create(this.source.throw&&this.source.throw(e)||So)}return(e){return Object.create(this.source.return&&this.source.return(e)||So)}}class xd{constructor(e){this.source=e,this._closedPromise=new Promise(r=>this._closedPromiseResolve=r)}cancel(e){return yi(this,void 0,void 0,function*(){yield this.return(e)})}get closed(){return this._closedPromise}read(e){return yi(this,void 0,void 0,function*(){return(yield this.next(e,"read")).value})}peek(e){return yi(this,void 0,void 0,function*(){return(yield this.next(e,"peek")).value})}next(e,r="read"){return yi(this,void 0,void 0,function*(){return yield this.source.next({cmd:r,size:e})})}throw(e){return yi(this,void 0,void 0,function*(){const r=this.source.throw&&(yield this.source.throw(e))||So;return this._closedPromiseResolve&&this._closedPromiseResolve(),this._closedPromiseResolve=void 0,Object.create(r)})}return(e){return yi(this,void 0,void 0,function*(){const r=this.source.return&&(yield this.source.return(e))||So;return this._closedPromiseResolve&&this._closedPromiseResolve(),this._closedPromiseResolve=void 0,Object.create(r)})}}class o5 extends Qv{constructor(e,r){super(),this.position=0,this.buffer=_a(e),this.size=typeof r>"u"?this.buffer.byteLength:r}readInt32(e){const{buffer:r,byteOffset:S}=this.readAt(e,4);return new DataView(r,S).getInt32(0,!0)}seek(e){return this.position=Math.min(e,this.size),eyi(this,void 0,void 0,function*(){this.size=(yield e.stat()).size,delete this._pending}))()}readInt32(e){return yi(this,void 0,void 0,function*(){const{buffer:r,byteOffset:S}=yield this.readAt(e,4);return new DataView(r,S).getInt32(0,!0)})}seek(e){return yi(this,void 0,void 0,function*(){return this._pending&&(yield this._pending),this.position=Math.min(e,this.size),e>>16,this.buffer[1]&65535,this.buffer[0]>>>16,this.buffer[0]&65535]),S=new Uint32Array([e.buffer[1]>>>16,e.buffer[1]&65535,e.buffer[0]>>>16,e.buffer[0]&65535]);let D=r[3]*S[3];this.buffer[0]=D&65535;let T=D>>>16;return D=r[2]*S[3],T+=D,D=r[3]*S[2]>>>0,T+=D,this.buffer[0]+=T<<16,this.buffer[1]=T>>>0>>16,this.buffer[1]+=r[1]*S[3]+r[2]*S[2]+r[3]*S[1],this.buffer[1]+=r[0]*S[3]+r[1]*S[2]+r[2]*S[1]+r[3]*S[0]<<16,this}_plus(e){const r=this.buffer[0]+e.buffer[0]>>>0;this.buffer[1]+=e.buffer[1],r>>0&&++this.buffer[1],this.buffer[0]=r}lessThan(e){return this.buffer[1]>>0,r[2]=this.buffer[2]+e.buffer[2]>>>0,r[1]=this.buffer[1]+e.buffer[1]>>>0,r[0]=this.buffer[0]+e.buffer[0]>>>0,r[0]>>0&&++r[1],r[1]>>0&&++r[2],r[2]>>0&&++r[3],this.buffer[3]=r[3],this.buffer[2]=r[2],this.buffer[1]=r[1],this.buffer[0]=r[0],this}hex(){return`${zp(this.buffer[3])} ${zp(this.buffer[2])} ${zp(this.buffer[1])} ${zp(this.buffer[0])}`}static multiply(e,r){return new ah(new Uint32Array(e.buffer)).times(r)}static add(e,r){return new ah(new Uint32Array(e.buffer)).plus(r)}static from(e,r=new Uint32Array(4)){return ah.fromString(typeof e=="string"?e:e.toString(),r)}static fromNumber(e,r=new Uint32Array(4)){return ah.fromString(e.toString(),r)}static fromString(e,r=new Uint32Array(4)){const S=e.startsWith("-"),D=e.length,T=new ah(r);for(let p=S?1:0;p0&&this.readData(e,S)||new Uint8Array(0)}readOffsets(e,r){return this.readData(e,r)}readTypeIds(e,r){return this.readData(e,r)}readData(e,{length:r,offset:S}=this.nextBufferRange()){return this.bytes.subarray(S,S+r)}readDictionary(e){return this.dictionaries.get(e.id)}}class oI extends cM{constructor(e,r,S,D){super(new Uint8Array(0),r,S,D),this.sources=e}readNullBitmap(e,r,{offset:S}=this.nextBufferRange()){return r<=0?new Uint8Array(0):qv(this.sources[S])}readOffsets(e,{offset:r}=this.nextBufferRange()){return qa(Uint8Array,qa(Int32Array,this.sources[r]))}readTypeIds(e,{offset:r}=this.nextBufferRange()){return qa(Uint8Array,qa(e.ArrayType,this.sources[r]))}readData(e,{offset:r}=this.nextBufferRange()){const{sources:S}=this;return _i.isTimestamp(e)||(_i.isInt(e)||_i.isTime(e))&&e.bitWidth===64||_i.isDate(e)&&e.unit===nf.MILLISECOND?qa(Uint8Array,jl.convertArray(S[r])):_i.isDecimal(e)?qa(Uint8Array,ah.convertArray(S[r])):_i.isBinary(e)||_i.isFixedSizeBinary(e)?sI(S[r]):_i.isBool(e)?qv(S[r]):_i.isUtf8(e)?p2(S[r].join("")):qa(Uint8Array,qa(e.ArrayType,S[r].map(D=>+D)))}}function sI(n){const e=n.join(""),r=new Uint8Array(e.length/2);for(let S=0;S>1]=Number.parseInt(e.slice(S,S+2),16);return r}class Ai extends aa{compareSchemas(e,r){return e===r||r instanceof e.constructor&&this.compareManyFields(e.fields,r.fields)}compareManyFields(e,r){return e===r||Array.isArray(e)&&Array.isArray(r)&&e.length===r.length&&e.every((S,D)=>this.compareFields(S,r[D]))}compareFields(e,r){return e===r||r instanceof e.constructor&&e.name===r.name&&e.nullable===r.nullable&&this.visit(e.type,r.type)}}function Kl(n,e){return e instanceof n.constructor}function Xm(n,e){return n===e||Kl(n,e)}function hf(n,e){return n===e||Kl(n,e)&&n.bitWidth===e.bitWidth&&n.isSigned===e.isSigned}function Gy(n,e){return n===e||Kl(n,e)&&n.precision===e.precision}function lI(n,e){return n===e||Kl(n,e)&&n.byteWidth===e.byteWidth}function I2(n,e){return n===e||Kl(n,e)&&n.unit===e.unit}function Km(n,e){return n===e||Kl(n,e)&&n.unit===e.unit&&n.timezone===e.timezone}function Jm(n,e){return n===e||Kl(n,e)&&n.unit===e.unit&&n.bitWidth===e.bitWidth}function uI(n,e){return n===e||Kl(n,e)&&n.children.length===e.children.length&&Yf.compareManyFields(n.children,e.children)}function cI(n,e){return n===e||Kl(n,e)&&n.children.length===e.children.length&&Yf.compareManyFields(n.children,e.children)}function R2(n,e){return n===e||Kl(n,e)&&n.mode===e.mode&&n.typeIds.every((r,S)=>r===e.typeIds[S])&&Yf.compareManyFields(n.children,e.children)}function hI(n,e){return n===e||Kl(n,e)&&n.id===e.id&&n.isOrdered===e.isOrdered&&Yf.visit(n.indices,e.indices)&&Yf.visit(n.dictionary,e.dictionary)}function P2(n,e){return n===e||Kl(n,e)&&n.unit===e.unit}function fI(n,e){return n===e||Kl(n,e)&&n.listSize===e.listSize&&n.children.length===e.children.length&&Yf.compareManyFields(n.children,e.children)}function dI(n,e){return n===e||Kl(n,e)&&n.keysSorted===e.keysSorted&&n.children.length===e.children.length&&Yf.compareManyFields(n.children,e.children)}Ai.prototype.visitNull=Xm;Ai.prototype.visitBool=Xm;Ai.prototype.visitInt=hf;Ai.prototype.visitInt8=hf;Ai.prototype.visitInt16=hf;Ai.prototype.visitInt32=hf;Ai.prototype.visitInt64=hf;Ai.prototype.visitUint8=hf;Ai.prototype.visitUint16=hf;Ai.prototype.visitUint32=hf;Ai.prototype.visitUint64=hf;Ai.prototype.visitFloat=Gy;Ai.prototype.visitFloat16=Gy;Ai.prototype.visitFloat32=Gy;Ai.prototype.visitFloat64=Gy;Ai.prototype.visitUtf8=Xm;Ai.prototype.visitBinary=Xm;Ai.prototype.visitFixedSizeBinary=lI;Ai.prototype.visitDate=I2;Ai.prototype.visitDateDay=I2;Ai.prototype.visitDateMillisecond=I2;Ai.prototype.visitTimestamp=Km;Ai.prototype.visitTimestampSecond=Km;Ai.prototype.visitTimestampMillisecond=Km;Ai.prototype.visitTimestampMicrosecond=Km;Ai.prototype.visitTimestampNanosecond=Km;Ai.prototype.visitTime=Jm;Ai.prototype.visitTimeSecond=Jm;Ai.prototype.visitTimeMillisecond=Jm;Ai.prototype.visitTimeMicrosecond=Jm;Ai.prototype.visitTimeNanosecond=Jm;Ai.prototype.visitDecimal=Xm;Ai.prototype.visitList=uI;Ai.prototype.visitStruct=cI;Ai.prototype.visitUnion=R2;Ai.prototype.visitDenseUnion=R2;Ai.prototype.visitSparseUnion=R2;Ai.prototype.visitDictionary=hI;Ai.prototype.visitInterval=P2;Ai.prototype.visitIntervalDayTime=P2;Ai.prototype.visitIntervalYearMonth=P2;Ai.prototype.visitFixedSizeList=fI;Ai.prototype.visitMap=dI;const Yf=new Ai;function Xb(n,e){return Yf.compareSchemas(n,e)}function fb(n,e){return pI(n,e.map(r=>r.data.concat()))}function pI(n,e){const r=[...n.fields],S=[],D={numBatches:e.reduce((M,v)=>Math.max(M,v.length),0)};let T=0,p=0,t=-1;const d=e.length;let g,i=[];for(;D.numBatches-- >0;){for(p=Number.POSITIVE_INFINITY,t=-1;++t0&&(S[T++]=ra({type:new bl(r),length:p,nullCount:0,children:i.slice()})))}return[n=n.assign(r),S.map(M=>new Wl(n,M))]}function mI(n,e,r,S,D){var T;const p=(e+63&-64)>>3;for(let t=-1,d=S.length;++t=e)i===e?r[t]=g:(r[t]=g.slice(0,e),D.numBatches=Math.max(D.numBatches,S[t].unshift(g.slice(e,i-e))));else{const M=n[t];n[t]=M.clone({nullable:!0}),r[t]=(T=g==null?void 0:g._changeLengthAndBackfillNullBitmap(e))!==null&&T!==void 0?T:ra({type:M.type,length:e,nullCount:e,nullBitmap:new Uint8Array(p)})}}return r}var hM;class ml{constructor(...e){var r,S;if(e.length===0)return this.batches=[],this.schema=new Ea([]),this._offsets=[0],this;let D,T;e[0]instanceof Ea&&(D=e.shift()),e[e.length-1]instanceof Uint32Array&&(T=e.pop());const p=d=>{if(d){if(d instanceof Wl)return[d];if(d instanceof ml)return d.batches;if(d instanceof Qa){if(d.type instanceof bl)return[new Wl(new Ea(d.type.children),d)]}else{if(Array.isArray(d))return d.flatMap(g=>p(g));if(typeof d[Symbol.iterator]=="function")return[...d].flatMap(g=>p(g));if(typeof d=="object"){const g=Object.keys(d),i=g.map(f=>new Ta([d[f]])),M=new Ea(g.map((f,l)=>new oo(String(f),i[l].type))),[,v]=fb(M,i);return v.length===0?[new Wl(d)]:v}}}return[]},t=e.flatMap(d=>p(d));if(D=(S=D??((r=t[0])===null||r===void 0?void 0:r.schema))!==null&&S!==void 0?S:new Ea([]),!(D instanceof Ea))throw new TypeError("Table constructor expects a [Schema, RecordBatch[]] pair.");for(const d of t){if(!(d instanceof Wl))throw new TypeError("Table constructor expects a [Schema, RecordBatch[]] pair.");if(!Xb(D,d.schema))throw new TypeError("Table and inner RecordBatch schemas must be equivalent.")}this.schema=D,this.batches=t,this._offsets=T??Xk(this.data)}get data(){return this.batches.map(({data:e})=>e)}get numCols(){return this.schema.fields.length}get numRows(){return this.data.reduce((e,r)=>e+r.length,0)}get nullCount(){return this._nullCount===-1&&(this._nullCount=Zk(this.data)),this._nullCount}isValid(e){return!1}get(e){return null}set(e,r){}indexOf(e,r){return-1}getByteLength(e){return 0}[Symbol.iterator](){return this.batches.length>0?C2.visit(new Ta(this.data)):new Array(0)[Symbol.iterator]()}toArray(){return[...this]}toString(){return`[ ${this.toArray().join(`, `)} -]`}concat(...e){const r=this.schema,C=this.data.concat(e.flatMap(({data:D})=>D));return new ml(r,C.map(D=>new ql(r,D)))}slice(e,r){const C=this.schema;[e,r]=Yk({length:this.numRows},e,r);const D=Kk(this.data,this._offsets,e,r);return new ml(C,D.map(T=>new ql(C,T)))}getChild(e){return this.getChildAt(this.schema.fields.findIndex(r=>r.name===e))}getChildAt(e){if(e>-1&&eC.children[e]);if(r.length===0){const{type:C}=this.schema.fields[e],D=ra({type:C,length:0,nullCount:0});r.push(D._changeLengthAndBackfillNullBitmap(this.numRows))}return new Ta(r)}return null}setChild(e,r){var C;return this.setChildAt((C=this.schema.fields)===null||C===void 0?void 0:C.findIndex(D=>D.name===e),r)}setChildAt(e,r){let C=this.schema,D=[...this.batches];if(e>-1&&ethis.getChildAt(g));[T[e],t[e]]=[p,r],[C,D]=fb(C,t)}return new ml(C,D)}select(e){const r=this.schema.fields.reduce((C,D,T)=>C.set(D.name,T),new Map);return this.selectAt(e.map(C=>r.get(C)).filter(C=>C>-1))}selectAt(e){const r=this.schema.selectAt(e),C=this.batches.map(D=>D.selectAt(e));return new ml(r,C)}assign(e){const r=this.schema.fields,[C,D]=e.schema.fields.reduce((t,d,g)=>{const[i,M]=t,v=r.findIndex(f=>f.name===d.name);return~v?M[v]=g:i.push(g),t},[[],[]]),T=this.schema.assign(e.schema),p=[...r.map((t,d)=>[d,D[d]]).map(([t,d])=>d===void 0?this.getChildAt(t):e.getChildAt(d)),...C.map(t=>e.getChildAt(t))].filter(Boolean);return new ml(...fb(T,p))}}hM=Symbol.toStringTag;ml[hM]=(n=>(n.schema=null,n.batches=[],n._offsets=new Uint32Array([0]),n._nullCount=-1,n[Symbol.isConcatSpreadable]=!0,n.isValid=Wp(S2),n.get=Wp(Xl.getVisitFn(Jn.Struct)),n.set=Jk(nc.getVisitFn(Jn.Struct)),n.indexOf=Qk(Wv.getVisitFn(Jn.Struct)),n.getByteLength=Wp(_h.getVisitFn(Jn.Struct)),"Table"))(ml.prototype);var fM;let ql=class sm{constructor(...e){switch(e.length){case 2:{if([this.schema]=e,!(this.schema instanceof Ea))throw new TypeError("RecordBatch constructor expects a [Schema, Data] pair.");if([,this.data=ra({nullCount:0,type:new bl(this.schema.fields),children:this.schema.fields.map(r=>ra({type:r.type,nullCount:0}))})]=e,!(this.data instanceof Qa))throw new TypeError("RecordBatch constructor expects a [Schema, Data] pair.");[this.schema,this.data]=s5(this.schema,this.data.children);break}case 1:{const[r]=e,{fields:C,children:D,length:T}=Object.keys(r).reduce((d,g,i)=>(d.children[i]=r[g],d.length=Math.max(d.length,r[g].length),d.fields[i]=ao.new({name:g,type:r[g].type,nullable:!0}),d),{length:0,fields:new Array,children:new Array}),p=new Ea(C),t=ra({type:new bl(C),length:T,children:D,nullCount:0});[this.schema,this.data]=s5(p,t.children,T);break}default:throw new TypeError("RecordBatch constructor expects an Object mapping names to child Data, or a [Schema, Data] pair.")}}get dictionaries(){return this._dictionaries||(this._dictionaries=dM(this.schema.fields,this.data.children))}get numCols(){return this.schema.fields.length}get numRows(){return this.data.length}get nullCount(){return this.data.nullCount}isValid(e){return this.data.getValid(e)}get(e){return Xl.visit(this.data,e)}set(e,r){return nc.visit(this.data,e,r)}indexOf(e,r){return Wv.visit(this.data,e,r)}getByteLength(e){return _h.visit(this.data,e)}[Symbol.iterator](){return C2.visit(new Ta([this.data]))}toArray(){return[...this]}concat(...e){return new ml(this.schema,[this,...e])}slice(e,r){const[C]=new Ta([this.data]).slice(e,r).data;return new sm(this.schema,C)}getChild(e){var r;return this.getChildAt((r=this.schema.fields)===null||r===void 0?void 0:r.findIndex(C=>C.name===e))}getChildAt(e){return e>-1&&eD.name===e),r)}setChildAt(e,r){let C=this.schema,D=this.data;if(e>-1&&et.name===T);~p&&(D[p]=this.data.children[p])}return new sm(r,ra({type:C,length:this.numRows,children:D}))}selectAt(e){const r=this.schema.selectAt(e),C=e.map(T=>this.data.children[T]).filter(Boolean),D=ra({type:new bl(r.fields),length:this.numRows,children:C});return new sm(r,D)}};fM=Symbol.toStringTag;ql[fM]=(n=>(n._nullCount=-1,n[Symbol.isConcatSpreadable]=!0,"RecordBatch"))(ql.prototype);function s5(n,e,r=e.reduce((C,D)=>Math.max(C,D.length),0)){var C;const D=[...n.fields],T=[...e],p=(r+63&-64)>>3;for(const[t,d]of n.fields.entries()){const g=e[t];(!g||g.length!==r)&&(D[t]=d.clone({nullable:!0}),T[t]=(C=g==null?void 0:g._changeLengthAndBackfillNullBitmap(r))!==null&&C!==void 0?C:ra({type:d.type,length:r,nullCount:r,nullBitmap:new Uint8Array(p)}))}return[n.assign(D),ra({type:new bl(D),length:r,children:T})]}function dM(n,e,r=new Map){for(let C=-1,D=n.length;++C0&&dM(p.children,t.children,r)}return r}class O2 extends ql{constructor(e){const r=e.fields.map(D=>ra({type:D.type})),C=ra({type:new bl(e.fields),nullCount:0,children:r});super(e,C)}}var ty;(function(n){n[n.BUFFER=0]="BUFFER"})(ty||(ty={}));var ny;(function(n){n[n.LZ4_FRAME=0]="LZ4_FRAME",n[n.ZSTD=1]="ZSTD"})(ny||(ny={}));class Of{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsBodyCompression(e,r){return(r||new Of).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsBodyCompression(e,r){return e.setPosition(e.position()+Wa),(r||new Of).__init(e.readInt32(e.position())+e.position(),e)}codec(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt8(this.bb_pos+e):ny.LZ4_FRAME}method(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.readInt8(this.bb_pos+e):ty.BUFFER}static startBodyCompression(e){e.startObject(2)}static addCodec(e,r){e.addFieldInt8(0,r,ny.LZ4_FRAME)}static addMethod(e,r){e.addFieldInt8(1,r,ty.BUFFER)}static endBodyCompression(e){return e.endObject()}static createBodyCompression(e,r,C){return Of.startBodyCompression(e),Of.addCodec(e,r),Of.addMethod(e,C),Of.endBodyCompression(e)}}let pM=class{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}offset(){return this.bb.readInt64(this.bb_pos)}length(){return this.bb.readInt64(this.bb_pos+8)}static sizeOf(){return 16}static createBuffer(e,r,C){return e.prep(8,16),e.writeInt64(C),e.writeInt64(r),e.offset()}},mM=class{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}length(){return this.bb.readInt64(this.bb_pos)}nullCount(){return this.bb.readInt64(this.bb_pos+8)}static sizeOf(){return 16}static createFieldNode(e,r,C){return e.prep(8,16),e.writeInt64(C),e.writeInt64(r),e.offset()}},Yh=class Kb{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsRecordBatch(e,r){return(r||new Kb).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsRecordBatch(e,r){return e.setPosition(e.position()+Wa),(r||new Kb).__init(e.readInt32(e.position())+e.position(),e)}length(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt64(this.bb_pos+e):this.bb.createLong(0,0)}nodes(e,r){const C=this.bb.__offset(this.bb_pos,6);return C?(r||new mM).__init(this.bb.__vector(this.bb_pos+C)+e*16,this.bb):null}nodesLength(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.__vector_len(this.bb_pos+e):0}buffers(e,r){const C=this.bb.__offset(this.bb_pos,8);return C?(r||new pM).__init(this.bb.__vector(this.bb_pos+C)+e*16,this.bb):null}buffersLength(){const e=this.bb.__offset(this.bb_pos,8);return e?this.bb.__vector_len(this.bb_pos+e):0}compression(e){const r=this.bb.__offset(this.bb_pos,10);return r?(e||new Of).__init(this.bb.__indirect(this.bb_pos+r),this.bb):null}static startRecordBatch(e){e.startObject(4)}static addLength(e,r){e.addFieldInt64(0,r,e.createLong(0,0))}static addNodes(e,r){e.addFieldOffset(1,r,0)}static startNodesVector(e,r){e.startVector(16,r,8)}static addBuffers(e,r){e.addFieldOffset(2,r,0)}static startBuffersVector(e,r){e.startVector(16,r,8)}static addCompression(e,r){e.addFieldOffset(3,r,0)}static endRecordBatch(e){return e.endObject()}},Dp=class Jb{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsDictionaryBatch(e,r){return(r||new Jb).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsDictionaryBatch(e,r){return e.setPosition(e.position()+Wa),(r||new Jb).__init(e.readInt32(e.position())+e.position(),e)}id(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt64(this.bb_pos+e):this.bb.createLong(0,0)}data(e){const r=this.bb.__offset(this.bb_pos,6);return r?(e||new Yh).__init(this.bb.__indirect(this.bb_pos+r),this.bb):null}isDelta(){const e=this.bb.__offset(this.bb_pos,8);return e?!!this.bb.readInt8(this.bb_pos+e):!1}static startDictionaryBatch(e){e.startObject(3)}static addId(e,r){e.addFieldInt64(0,r,e.createLong(0,0))}static addData(e,r){e.addFieldOffset(1,r,0)}static addIsDelta(e,r){e.addFieldInt8(2,+r,0)}static endDictionaryBatch(e){return e.endObject()}};var ry;(function(n){n[n.NONE=0]="NONE",n[n.Schema=1]="Schema",n[n.DictionaryBatch=2]="DictionaryBatch",n[n.RecordBatch=3]="RecordBatch",n[n.Tensor=4]="Tensor",n[n.SparseTensor=5]="SparseTensor"})(ry||(ry={}));let Ef=class rh{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsMessage(e,r){return(r||new rh).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsMessage(e,r){return e.setPosition(e.position()+Wa),(r||new rh).__init(e.readInt32(e.position())+e.position(),e)}version(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):Qp.V1}headerType(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.readUint8(this.bb_pos+e):ry.NONE}header(e){const r=this.bb.__offset(this.bb_pos,8);return r?this.bb.__union(e,this.bb_pos+r):null}bodyLength(){const e=this.bb.__offset(this.bb_pos,10);return e?this.bb.readInt64(this.bb_pos+e):this.bb.createLong(0,0)}customMetadata(e,r){const C=this.bb.__offset(this.bb_pos,12);return C?(r||new cs).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+C)+e*4),this.bb):null}customMetadataLength(){const e=this.bb.__offset(this.bb_pos,12);return e?this.bb.__vector_len(this.bb_pos+e):0}static startMessage(e){e.startObject(5)}static addVersion(e,r){e.addFieldInt16(0,r,Qp.V1)}static addHeaderType(e,r){e.addFieldInt8(1,r,ry.NONE)}static addHeader(e,r){e.addFieldOffset(2,r,0)}static addBodyLength(e,r){e.addFieldInt64(3,r,e.createLong(0,0))}static addCustomMetadata(e,r){e.addFieldOffset(4,r,0)}static createCustomMetadataVector(e,r){e.startVector(4,r.length,4);for(let C=r.length-1;C>=0;C--)e.addOffset(r[C]);return e.endVector()}static startCustomMetadataVector(e,r){e.startVector(4,r,4)}static endMessage(e){return e.endObject()}static finishMessageBuffer(e,r){e.finish(r)}static finishSizePrefixedMessageBuffer(e,r){e.finish(r,void 0,!0)}static createMessage(e,r,C,D,T,p){return rh.startMessage(e),rh.addVersion(e,r),rh.addHeaderType(e,C),rh.addHeader(e,D),rh.addBodyLength(e,T),rh.addCustomMetadata(e,p),rh.endMessage(e)}};var gI=Jh;class vI extends aa{visit(e,r){return e==null||r==null?void 0:super.visit(e,r)}visitNull(e,r){return Id.startNull(r),Id.endNull(r)}visitInt(e,r){return mu.startInt(r),mu.addBitWidth(r,e.bitWidth),mu.addIsSigned(r,e.isSigned),mu.endInt(r)}visitFloat(e,r){return fh.startFloatingPoint(r),fh.addPrecision(r,e.precision),fh.endFloatingPoint(r)}visitBinary(e,r){return Cd.startBinary(r),Cd.endBinary(r)}visitBool(e,r){return Ed.startBool(r),Ed.endBool(r)}visitUtf8(e,r){return Pd.startUtf8(r),Pd.endUtf8(r)}visitDecimal(e,r){return Hl.startDecimal(r),Hl.addScale(r,e.scale),Hl.addPrecision(r,e.precision),Hl.addBitWidth(r,e.bitWidth),Hl.endDecimal(r)}visitDate(e,r){return gv.startDate(r),gv.addUnit(r,e.unit),gv.endDate(r)}visitTime(e,r){return Zu.startTime(r),Zu.addUnit(r,e.unit),Zu.addBitWidth(r,e.bitWidth),Zu.endTime(r)}visitTimestamp(e,r){const C=e.timezone&&r.createString(e.timezone)||void 0;return Xu.startTimestamp(r),Xu.addUnit(r,e.unit),C!==void 0&&Xu.addTimezone(r,C),Xu.endTimestamp(r)}visitInterval(e,r){return dh.startInterval(r),dh.addUnit(r,e.unit),dh.endInterval(r)}visitList(e,r){return Ld.startList(r),Ld.endList(r)}visitStruct(e,r){return Rd.startStruct_(r),Rd.endStruct_(r)}visitUnion(e,r){Gl.startTypeIdsVector(r,e.typeIds.length);const C=Gl.createTypeIdsVector(r,e.typeIds);return Gl.startUnion(r),Gl.addMode(r,e.mode),Gl.addTypeIds(r,C),Gl.endUnion(r)}visitDictionary(e,r){const C=this.visit(e.indices,r);return Zh.startDictionaryEncoding(r),Zh.addId(r,new gI(e.id,0)),Zh.addIsOrdered(r,e.isOrdered),C!==void 0&&Zh.addIndexType(r,C),Zh.endDictionaryEncoding(r)}visitFixedSizeBinary(e,r){return ch.startFixedSizeBinary(r),ch.addByteWidth(r,e.byteWidth),ch.endFixedSizeBinary(r)}visitFixedSizeList(e,r){return hh.startFixedSizeList(r),hh.addListSize(r,e.listSize),hh.endFixedSizeList(r)}visitMap(e,r){return vv.startMap(r),vv.addKeysSorted(r,e.keysSorted),vv.endMap(r)}}const db=new vI;function yI(n,e=new Map){return new Ea(xI(n,e),xv(n.customMetadata),e)}function gM(n){return new _u(n.count,vM(n.columns),yM(n.columns))}function bI(n){return new wh(gM(n.data),n.id,n.isDelta)}function xI(n,e){return(n.fields||[]).filter(Boolean).map(r=>ao.fromJSON(r,e))}function l5(n,e){return(n.children||[]).filter(Boolean).map(r=>ao.fromJSON(r,e))}function vM(n){return(n||[]).reduce((e,r)=>[...e,new Jd(r.count,_I(r.VALIDITY)),...vM(r.children)],[])}function yM(n,e=[]){for(let r=-1,C=(n||[]).length;++re+ +(r===0),0)}function wI(n,e){let r,C,D,T,p,t;return!e||!(T=n.dictionary)?(p=c5(n,l5(n,e)),D=new ao(n.name,p,n.nullable,xv(n.customMetadata))):e.has(r=T.id)?(C=(C=T.indexType)?u5(C):new Lm,t=new Kp(e.get(r),C,r,T.isOrdered),D=new ao(n.name,t,n.nullable,xv(n.customMetadata))):(C=(C=T.indexType)?u5(C):new Lm,e.set(r,p=c5(n,l5(n,e))),t=new Kp(p,C,r,T.isOrdered),D=new ao(n.name,t,n.nullable,xv(n.customMetadata))),D||null}function xv(n){return new Map(Object.entries(n||{}))}function u5(n){return new qf(n.isSigned,n.bitWidth)}function c5(n,e){const r=n.type.name;switch(r){case"NONE":return new Gf;case"null":return new Gf;case"binary":return new Pv;case"utf8":return new Ov;case"bool":return new Dv;case"list":return new Vv((e||[])[0]);case"struct":return new bl(e||[]);case"struct_":return new bl(e||[])}switch(r){case"int":{const C=n.type;return new qf(C.isSigned,C.bitWidth)}case"floatingpoint":{const C=n.type;return new Im(Yl[C.precision])}case"decimal":{const C=n.type;return new zv(C.scale,C.precision,C.bitWidth)}case"date":{const C=n.type;return new Fv(nf[C.unit])}case"time":{const C=n.type;return new Rm(wa[C.unit],C.bitWidth)}case"timestamp":{const C=n.type;return new Bv(wa[C.unit],C.timezone)}case"interval":{const C=n.type;return new Nv(Hf[C.unit])}case"union":{const C=n.type;return new jv(xu[C.mode],C.typeIds||[],e||[])}case"fixedsizebinary":{const C=n.type;return new Uv(C.byteWidth)}case"fixedsizelist":{const C=n.type;return new Hv(C.listSize,(e||[])[0])}case"map":{const C=n.type;return new Gv((e||[])[0],C.keysSorted)}}throw new Error(`Unrecognized type: "${r}"`)}var Gd=Jh,TI=sM,kI=Jp;class xl{constructor(e,r,C,D){this._version=r,this._headerType=C,this.body=new Uint8Array(0),D&&(this._createHeader=()=>D),this._bodyLength=typeof e=="number"?e:e.low}static fromJSON(e,r){const C=new xl(0,gu.V4,r);return C._createHeader=MI(e,r),C}static decode(e){e=new kI(_a(e));const r=Ef.getRootAsMessage(e),C=r.bodyLength(),D=r.version(),T=r.headerType(),p=new xl(C,D,T);return p._createHeader=AI(r,T),p}static encode(e){const r=new TI;let C=-1;return e.isSchema()?C=Ea.encode(r,e.header()):e.isRecordBatch()?C=_u.encode(r,e.header()):e.isDictionaryBatch()&&(C=wh.encode(r,e.header())),Ef.startMessage(r),Ef.addVersion(r,gu.V4),Ef.addHeader(r,C),Ef.addHeaderType(r,e.headerType),Ef.addBodyLength(r,new Gd(e.bodyLength,0)),Ef.finishMessageBuffer(r,Ef.endMessage(r)),r.asUint8Array()}static from(e,r=0){if(e instanceof Ea)return new xl(0,gu.V4,Ca.Schema,e);if(e instanceof _u)return new xl(r,gu.V4,Ca.RecordBatch,e);if(e instanceof wh)return new xl(r,gu.V4,Ca.DictionaryBatch,e);throw new Error(`Unrecognized Message header: ${e}`)}get type(){return this.headerType}get version(){return this._version}get headerType(){return this._headerType}get bodyLength(){return this._bodyLength}header(){return this._createHeader()}isSchema(){return this.headerType===Ca.Schema}isRecordBatch(){return this.headerType===Ca.RecordBatch}isDictionaryBatch(){return this.headerType===Ca.DictionaryBatch}}class _u{constructor(e,r,C){this._nodes=r,this._buffers=C,this._length=typeof e=="number"?e:e.low}get nodes(){return this._nodes}get length(){return this._length}get buffers(){return this._buffers}}class wh{constructor(e,r,C=!1){this._data=e,this._isDelta=C,this._id=typeof r=="number"?r:r.low}get id(){return this._id}get data(){return this._data}get isDelta(){return this._isDelta}get length(){return this.data.length}get nodes(){return this.data.nodes}get buffers(){return this.data.buffers}}class gh{constructor(e,r){this.offset=typeof e=="number"?e:e.low,this.length=typeof r=="number"?r:r.low}}class Jd{constructor(e,r){this.length=typeof e=="number"?e:e.low,this.nullCount=typeof r=="number"?r:r.low}}function MI(n,e){return()=>{switch(e){case Ca.Schema:return Ea.fromJSON(n);case Ca.RecordBatch:return _u.fromJSON(n);case Ca.DictionaryBatch:return wh.fromJSON(n)}throw new Error(`Unrecognized Message type: { name: ${Ca[e]}, type: ${e} }`)}}function AI(n,e){return()=>{switch(e){case Ca.Schema:return Ea.decode(n.header(new ih));case Ca.RecordBatch:return _u.decode(n.header(new Yh),n.version());case Ca.DictionaryBatch:return wh.decode(n.header(new Dp),n.version())}throw new Error(`Unrecognized Message type: { name: ${Ca[e]}, type: ${e} }`)}}ao.encode=FI;ao.decode=DI;ao.fromJSON=wI;Ea.encode=zI;Ea.decode=SI;Ea.fromJSON=yI;_u.encode=BI;_u.decode=CI;_u.fromJSON=gM;wh.encode=NI;wh.decode=EI;wh.fromJSON=bI;Jd.encode=VI;Jd.decode=II;gh.encode=jI;gh.decode=LI;function SI(n,e=new Map){const r=OI(n,e);return new Ea(r,_v(n),e)}function CI(n,e=gu.V4){if(n.compression()!==null)throw new Error("Record batch compression not implemented");return new _u(n.length(),RI(n),PI(n,e))}function EI(n,e=gu.V4){return new wh(_u.decode(n.data(),e),n.id(),n.isDelta())}function LI(n){return new gh(n.offset(),n.length())}function II(n){return new Jd(n.length(),n.nullCount())}function RI(n){const e=[];for(let r,C=-1,D=-1,T=n.nodesLength();++Cao.encode(n,T));ih.startFieldsVector(n,r.length);const C=ih.createFieldsVector(n,r),D=e.metadata&&e.metadata.size>0?ih.createCustomMetadataVector(n,[...e.metadata].map(([T,p])=>{const t=n.createString(`${T}`),d=n.createString(`${p}`);return cs.startKeyValue(n),cs.addKey(n,t),cs.addValue(n,d),cs.endKeyValue(n)})):-1;return ih.startSchema(n),ih.addFields(n,C),ih.addEndianness(n,UI?e0.Little:e0.Big),D!==-1&&ih.addCustomMetadata(n,D),ih.endSchema(n)}function FI(n,e){let r=-1,C=-1,D=-1;const T=e.type;let p=e.typeId;_i.isDictionary(T)?(p=T.dictionary.typeId,D=db.visit(T,n),C=db.visit(T.dictionary,n)):C=db.visit(T,n);const t=(T.children||[]).map(i=>ao.encode(n,i)),d=qu.createChildrenVector(n,t),g=e.metadata&&e.metadata.size>0?qu.createCustomMetadataVector(n,[...e.metadata].map(([i,M])=>{const v=n.createString(`${i}`),f=n.createString(`${M}`);return cs.startKeyValue(n),cs.addKey(n,v),cs.addValue(n,f),cs.endKeyValue(n)})):-1;return e.name&&(r=n.createString(e.name)),qu.startField(n),qu.addType(n,C),qu.addTypeType(n,p),qu.addChildren(n,d),qu.addNullable(n,!!e.nullable),r!==-1&&qu.addName(n,r),D!==-1&&qu.addDictionary(n,D),g!==-1&&qu.addCustomMetadata(n,g),qu.endField(n)}function BI(n,e){const r=e.nodes||[],C=e.buffers||[];Yh.startNodesVector(n,r.length);for(const p of r.slice().reverse())Jd.encode(n,p);const D=n.endVector();Yh.startBuffersVector(n,C.length);for(const p of C.slice().reverse())gh.encode(n,p);const T=n.endVector();return Yh.startRecordBatch(n),Yh.addLength(n,new Gd(e.length,0)),Yh.addNodes(n,D),Yh.addBuffers(n,T),Yh.endRecordBatch(n)}function NI(n,e){const r=_u.encode(n,e.data);return Dp.startDictionaryBatch(n),Dp.addId(n,new Gd(e.id,0)),Dp.addIsDelta(n,e.isDelta),Dp.addData(n,r),Dp.endDictionaryBatch(n)}function VI(n,e){return mM.createFieldNode(n,new Gd(e.length,0),new Gd(e.nullCount,0))}function jI(n,e){return pM.createBuffer(n,new Gd(e.offset,0),new Gd(e.length,0))}const UI=(()=>{const n=new ArrayBuffer(2);return new DataView(n).setInt16(0,256,!0),new Int16Array(n)[0]===256})(),D2=n=>`Expected ${Ca[n]} Message in stream, but was null or length 0.`,z2=n=>`Header pointer of flatbuffer-encoded ${Ca[n]} Message is null or length 0.`,bM=(n,e)=>`Expected to read ${n} metadata bytes, but only read ${e}.`,xM=(n,e)=>`Expected to read ${n} bytes for message body, but only read ${e}.`;class _M{constructor(e){this.source=e instanceof Qv?e:new Qv(e)}[Symbol.iterator](){return this}next(){let e;return(e=this.readMetadataLength()).done||e.value===-1&&(e=this.readMetadataLength()).done||(e=this.readMetadata(e.value)).done?So:e}throw(e){return this.source.throw(e)}return(e){return this.source.return(e)}readMessage(e){let r;if((r=this.next()).done)return null;if(e!=null&&r.value.headerType!==e)throw new Error(D2(e));return r.value}readMessageBody(e){if(e<=0)return new Uint8Array(0);const r=_a(this.source.read(e));if(r.byteLength[...D,...T.VALIDITY&&[T.VALIDITY]||[],...T.TYPE&&[T.TYPE]||[],...T.OFFSET&&[T.OFFSET]||[],...T.DATA&&[T.DATA]||[],...r(T.children)],[])}}readMessage(e){let r;if((r=this.next()).done)return null;if(e!=null&&r.value.headerType!==e)throw new Error(D2(e));return r.value}readSchema(){const e=Ca.Schema,r=this.readMessage(e),C=r==null?void 0:r.header();if(!r||!C)throw new Error(z2(e));return C}}const qy=4,Qb="ARROW1",Om=new Uint8Array(Qb.length);for(let n=0;nthis):this}readRecordBatch(e){return this._impl.isFile()?this._impl.readRecordBatch(e):null}[Symbol.iterator](){return this._impl[Symbol.iterator]()}[Symbol.asyncIterator](){return this._impl[Symbol.asyncIterator]()}toDOMStream(){return $u.toDOMStream(this.isSync()?{[Symbol.iterator]:()=>this}:{[Symbol.asyncIterator]:()=>this})}toNodeStream(){return $u.toNodeStream(this.isSync()?{[Symbol.iterator]:()=>this}:{[Symbol.asyncIterator]:()=>this},{objectMode:!0})}static throughNode(e){throw new Error('"throughNode" not available in this environment')}static throughDOM(e,r){throw new Error('"throughDOM" not available in this environment')}static from(e){return e instanceof Qh?e:Ub(e)?ZI(e):U4(e)?JI(e):Uf(e)?(()=>yi(this,void 0,void 0,function*(){return yield Qh.from(yield e)}))():H4(e)||m2(e)||G4(e)||g0(e)?KI(new n0(e)):XI(new Qv(e))}static readAll(e){return e instanceof Qh?e.isSync()?p5(e):m5(e):Ub(e)||ArrayBuffer.isView(e)||Zm(e)||j4(e)?p5(e):m5(e)}}class iy extends Qh{constructor(e){super(e),this._impl=e}readAll(){return[...this]}[Symbol.iterator](){return this._impl[Symbol.iterator]()}[Symbol.asyncIterator](){return mh(this,arguments,function*(){yield zi(yield*mv(Nd(this[Symbol.iterator]())))})}}class ay extends Qh{constructor(e){super(e),this._impl=e}readAll(){var e,r;return yi(this,void 0,void 0,function*(){const C=new Array;try{for(var D=Nd(this),T;T=yield D.next(),!T.done;){const p=T.value;C.push(p)}}catch(p){e={error:p}}finally{try{T&&!T.done&&(r=D.return)&&(yield r.call(D))}finally{if(e)throw e.error}}return C})}[Symbol.iterator](){throw new Error("AsyncRecordBatchStreamReader is not Iterable")}[Symbol.asyncIterator](){return this._impl[Symbol.asyncIterator]()}}class TM extends iy{constructor(e){super(e),this._impl=e}}class WI extends ay{constructor(e){super(e),this._impl=e}}class kM{constructor(e=new Map){this.closed=!1,this.autoDestroy=!0,this._dictionaryIndex=0,this._recordBatchIndex=0,this.dictionaries=e}get numDictionaries(){return this._dictionaryIndex}get numRecordBatches(){return this._recordBatchIndex}isSync(){return!1}isAsync(){return!1}isFile(){return!1}isStream(){return!1}reset(e){return this._dictionaryIndex=0,this._recordBatchIndex=0,this.schema=e,this.dictionaries=new Map,this}_loadRecordBatch(e,r){const C=this._loadVectors(e,r,this.schema.fields),D=ra({type:new bl(this.schema.fields),length:e.length,children:C});return new ql(this.schema,D)}_loadDictionaryBatch(e,r){const{id:C,isDelta:D}=e,{dictionaries:T,schema:p}=this,t=T.get(C);if(D||!t){const d=p.dictionaries.get(C),g=this._loadVectors(e.data,r,[d]);return(t&&D?t.concat(new Ta(g)):new Ta(g)).memoize()}return t.memoize()}_loadVectors(e,r,C){return new cM(r,e.nodes,e.buffers,this.dictionaries).visitMany(C)}}class oy extends kM{constructor(e,r){super(r),this._reader=Ub(e)?new GI(this._handle=e):new _M(this._handle=e)}isSync(){return!0}isStream(){return!0}[Symbol.iterator](){return this}cancel(){!this.closed&&(this.closed=!0)&&(this.reset()._reader.return(),this._reader=null,this.dictionaries=null)}open(e){return this.closed||(this.autoDestroy=AM(this,e),this.schema||(this.schema=this._reader.readSchema())||this.cancel()),this}throw(e){return!this.closed&&this.autoDestroy&&(this.closed=!0)?this.reset()._reader.throw(e):So}return(e){return!this.closed&&this.autoDestroy&&(this.closed=!0)?this.reset()._reader.return(e):So}next(){if(this.closed)return So;let e;const{_reader:r}=this;for(;e=this._readNextMessageAndValidate();)if(e.isSchema())this.reset(e.header());else if(e.isRecordBatch()){this._recordBatchIndex++;const C=e.header(),D=r.readMessageBody(e.bodyLength);return{done:!1,value:this._loadRecordBatch(C,D)}}else if(e.isDictionaryBatch()){this._dictionaryIndex++;const C=e.header(),D=r.readMessageBody(e.bodyLength),T=this._loadDictionaryBatch(C,D);this.dictionaries.set(C.id,T)}return this.schema&&this._recordBatchIndex===0?(this._recordBatchIndex++,{done:!1,value:new O2(this.schema)}):this.return()}_readNextMessageAndValidate(e){return this._reader.readMessage(e)}}class sy extends kM{constructor(e,r){super(r),this._reader=new HI(this._handle=e)}isAsync(){return!0}isStream(){return!0}[Symbol.asyncIterator](){return this}cancel(){return yi(this,void 0,void 0,function*(){!this.closed&&(this.closed=!0)&&(yield this.reset()._reader.return(),this._reader=null,this.dictionaries=null)})}open(e){return yi(this,void 0,void 0,function*(){return this.closed||(this.autoDestroy=AM(this,e),this.schema||(this.schema=yield this._reader.readSchema())||(yield this.cancel())),this})}throw(e){return yi(this,void 0,void 0,function*(){return!this.closed&&this.autoDestroy&&(this.closed=!0)?yield this.reset()._reader.throw(e):So})}return(e){return yi(this,void 0,void 0,function*(){return!this.closed&&this.autoDestroy&&(this.closed=!0)?yield this.reset()._reader.return(e):So})}next(){return yi(this,void 0,void 0,function*(){if(this.closed)return So;let e;const{_reader:r}=this;for(;e=yield this._readNextMessageAndValidate();)if(e.isSchema())yield this.reset(e.header());else if(e.isRecordBatch()){this._recordBatchIndex++;const C=e.header(),D=yield r.readMessageBody(e.bodyLength);return{done:!1,value:this._loadRecordBatch(C,D)}}else if(e.isDictionaryBatch()){this._dictionaryIndex++;const C=e.header(),D=yield r.readMessageBody(e.bodyLength),T=this._loadDictionaryBatch(C,D);this.dictionaries.set(C.id,T)}return this.schema&&this._recordBatchIndex===0?(this._recordBatchIndex++,{done:!1,value:new O2(this.schema)}):yield this.return()})}_readNextMessageAndValidate(e){return yi(this,void 0,void 0,function*(){return yield this._reader.readMessage(e)})}}class MM extends oy{constructor(e,r){super(e instanceof o5?e:new o5(e),r)}get footer(){return this._footer}get numDictionaries(){return this._footer?this._footer.numDictionaries:0}get numRecordBatches(){return this._footer?this._footer.numRecordBatches:0}isSync(){return!0}isFile(){return!0}open(e){if(!this.closed&&!this._footer){this.schema=(this._footer=this._readFooter()).schema;for(const r of this._footer.dictionaryBatches())r&&this._readDictionaryBatch(this._dictionaryIndex++)}return super.open(e)}readRecordBatch(e){var r;if(this.closed)return null;this._footer||this.open();const C=(r=this._footer)===null||r===void 0?void 0:r.getRecordBatch(e);if(C&&this._handle.seek(C.offset)){const D=this._reader.readMessage(Ca.RecordBatch);if(D!=null&&D.isRecordBatch()){const T=D.header(),p=this._reader.readMessageBody(D.bodyLength);return this._loadRecordBatch(T,p)}}return null}_readDictionaryBatch(e){var r;const C=(r=this._footer)===null||r===void 0?void 0:r.getDictionaryBatch(e);if(C&&this._handle.seek(C.offset)){const D=this._reader.readMessage(Ca.DictionaryBatch);if(D!=null&&D.isDictionaryBatch()){const T=D.header(),p=this._reader.readMessageBody(D.bodyLength),t=this._loadDictionaryBatch(T,p);this.dictionaries.set(T.id,t)}}}_readFooter(){const{_handle:e}=this,r=e.size-wM,C=e.readInt32(r),D=e.readAt(r-C,C);return Pm.decode(D)}_readNextMessageAndValidate(e){var r;if(this._footer||this.open(),this._footer&&this._recordBatchIndexsuper.open}});return yi(this,void 0,void 0,function*(){if(!this.closed&&!this._footer){this.schema=(this._footer=yield this._readFooter()).schema;for(const C of this._footer.dictionaryBatches())C&&(yield this._readDictionaryBatch(this._dictionaryIndex++))}return yield r.open.call(this,e)})}readRecordBatch(e){var r;return yi(this,void 0,void 0,function*(){if(this.closed)return null;this._footer||(yield this.open());const C=(r=this._footer)===null||r===void 0?void 0:r.getRecordBatch(e);if(C&&(yield this._handle.seek(C.offset))){const D=yield this._reader.readMessage(Ca.RecordBatch);if(D!=null&&D.isRecordBatch()){const T=D.header(),p=yield this._reader.readMessageBody(D.bodyLength);return this._loadRecordBatch(T,p)}}return null})}_readDictionaryBatch(e){var r;return yi(this,void 0,void 0,function*(){const C=(r=this._footer)===null||r===void 0?void 0:r.getDictionaryBatch(e);if(C&&(yield this._handle.seek(C.offset))){const D=yield this._reader.readMessage(Ca.DictionaryBatch);if(D!=null&&D.isDictionaryBatch()){const T=D.header(),p=yield this._reader.readMessageBody(D.bodyLength),t=this._loadDictionaryBatch(T,p);this.dictionaries.set(T.id,t)}}})}_readFooter(){return yi(this,void 0,void 0,function*(){const{_handle:e}=this;e._pending&&(yield e._pending);const r=e.size-wM,C=yield e.readInt32(r),D=yield e.readAt(r-C,C);return Pm.decode(D)})}_readNextMessageAndValidate(e){return yi(this,void 0,void 0,function*(){if(this._footer||(yield this.open()),this._footer&&this._recordBatchIndex=4?F2(e)?new TM(new MM(n.read())):new iy(new oy(n)):new iy(new oy(function*(){}()))}function KI(n){return yi(this,void 0,void 0,function*(){const e=yield n.peek(Qm+7&-8);return e&&e.byteLength>=4?F2(e)?new TM(new MM(yield n.read())):new ay(new sy(n)):new ay(new sy(function(){return mh(this,arguments,function*(){})}()))})}function JI(n){return yi(this,void 0,void 0,function*(){const{size:e}=yield n.stat(),r=new ey(n,e);return e>=qI&&F2(yield r.readAt(0,Qm+7&-8))?new WI(new YI(r)):new ay(new sy(r))})}class Qo extends aa{constructor(){super(),this._byteLength=0,this._nodes=[],this._buffers=[],this._bufferRegions=[]}static assemble(...e){const r=D=>D.flatMap(T=>Array.isArray(T)?r(T):T instanceof ql?T.data.children:T.data),C=new Qo;return C.visitMany(r(e)),C}visit(e){if(e instanceof Ta)return this.visitMany(e.data),this;const{type:r}=e;if(!_i.isDictionary(r)){const{length:C,nullCount:D}=e;if(C>2147483647)throw new RangeError("Cannot write arrays larger than 2^31 - 1 in length");_i.isNull(r)||zc.call(this,D<=0?new Uint8Array(0):k2(e.offset,C,e.nullBitmap)),this.nodes.push(new Jd(C,D))}return super.visit(e)}visitNull(e){return this}visitDictionary(e){return this.visit(e.clone(e.type.indices))}get nodes(){return this._nodes}get buffers(){return this._buffers}get byteLength(){return this._byteLength}get bufferRegions(){return this._bufferRegions}}function zc(n){const e=n.byteLength+7&-8;return this.buffers.push(n),this.bufferRegions.push(new gh(this._byteLength,e)),this._byteLength+=e,this}function QI(n){const{type:e,length:r,typeIds:C,valueOffsets:D}=n;if(zc.call(this,C),e.mode===xu.Sparse)return ex.call(this,n);if(e.mode===xu.Dense){if(n.offset<=0)return zc.call(this,D),ex.call(this,n);{const T=C.reduce((i,M)=>Math.max(i,M),C[0]),p=new Int32Array(T+1),t=new Int32Array(T+1).fill(-1),d=new Int32Array(r),g=v2(-D[0],r,D);for(let i,M,v=-1;++v=n.length?zc.call(this,new Uint8Array(0)):(e=n.values)instanceof Uint8Array?zc.call(this,k2(n.offset,n.length,e)):zc.call(this,qv(n.values))}function Qf(n){return zc.call(this,n.values.subarray(0,n.length*n.stride))}function SM(n){const{length:e,values:r,valueOffsets:C}=n,D=C[0],T=C[e],p=Math.min(T-D,r.byteLength-D);return zc.call(this,v2(-C[0],e,C)),zc.call(this,r.subarray(D,D+p)),this}function B2(n){const{length:e,valueOffsets:r}=n;return r&&zc.call(this,v2(r[0],e,r)),this.visit(n.children[0])}function ex(n){return this.visitMany(n.type.children.map((e,r)=>n.children[r]).filter(Boolean))[0]}Qo.prototype.visitBool=eR;Qo.prototype.visitInt=Qf;Qo.prototype.visitFloat=Qf;Qo.prototype.visitUtf8=SM;Qo.prototype.visitBinary=SM;Qo.prototype.visitFixedSizeBinary=Qf;Qo.prototype.visitDate=Qf;Qo.prototype.visitTimestamp=Qf;Qo.prototype.visitTime=Qf;Qo.prototype.visitDecimal=Qf;Qo.prototype.visitList=B2;Qo.prototype.visitStruct=ex;Qo.prototype.visitUnion=QI;Qo.prototype.visitInterval=Qf;Qo.prototype.visitFixedSizeList=B2;Qo.prototype.visitMap=B2;class CM extends E2{constructor(e){super(),this._position=0,this._started=!1,this._sink=new bv,this._schema=null,this._dictionaryBlocks=[],this._recordBatchBlocks=[],this._dictionaryDeltaOffsets=new Map,Zl(e)||(e={autoDestroy:!0,writeLegacyIpcFormat:!1}),this._autoDestroy=typeof e.autoDestroy=="boolean"?e.autoDestroy:!0,this._writeLegacyIpcFormat=typeof e.writeLegacyIpcFormat=="boolean"?e.writeLegacyIpcFormat:!1}static throughNode(e){throw new Error('"throughNode" not available in this environment')}static throughDOM(e,r){throw new Error('"throughDOM" not available in this environment')}toString(e=!1){return this._sink.toString(e)}toUint8Array(e=!1){return this._sink.toUint8Array(e)}writeAll(e){return Uf(e)?e.then(r=>this.writeAll(r)):g0(e)?U2(this,e):j2(this,e)}get closed(){return this._sink.closed}[Symbol.asyncIterator](){return this._sink[Symbol.asyncIterator]()}toDOMStream(e){return this._sink.toDOMStream(e)}toNodeStream(e){return this._sink.toNodeStream(e)}close(){return this.reset()._sink.close()}abort(e){return this.reset()._sink.abort(e)}finish(){return this._autoDestroy?this.close():this.reset(this._sink,this._schema),this}reset(e=this._sink,r=null){return e===this._sink||e instanceof bv?this._sink=e:(this._sink=new bv,e&&_9(e)?this.toDOMStream({type:"bytes"}).pipeTo(e):e&&w9(e)&&this.toNodeStream({objectMode:!1}).pipe(e)),this._started&&this._schema&&this._writeFooter(this._schema),this._started=!1,this._dictionaryBlocks=[],this._recordBatchBlocks=[],this._dictionaryDeltaOffsets=new Map,(!r||!Xb(r,this._schema))&&(r==null?(this._position=0,this._schema=null):(this._started=!0,this._schema=r,this._writeSchema(r))),this}write(e){let r=null;if(this._sink){if(e==null)return this.finish()&&void 0;if(e instanceof ml&&!(r=e.schema))return this.finish()&&void 0;if(e instanceof ql&&!(r=e.schema))return this.finish()&&void 0}else throw new Error("RecordBatchWriter is closed");if(r&&!Xb(r,this._schema)){if(this._started&&this._autoDestroy)return this.close();this.reset(this._sink,r)}e instanceof ql?e instanceof O2||this._writeRecordBatch(e):e instanceof ml?this.writeAll(e.batches):Zm(e)&&this.writeAll(e)}_writeMessage(e,r=8){const C=r-1,D=xl.encode(e),T=D.byteLength,p=this._writeLegacyIpcFormat?4:8,t=T+p+C&~C,d=t-T-p;return e.headerType===Ca.RecordBatch?this._recordBatchBlocks.push(new Wf(t,e.bodyLength,this._position)):e.headerType===Ca.DictionaryBatch&&this._dictionaryBlocks.push(new Wf(t,e.bodyLength,this._position)),this._writeLegacyIpcFormat||this._write(Int32Array.of(-1)),this._write(Int32Array.of(t-p)),T>0&&this._write(D),this._writePadding(d)}_write(e){if(this._started){const r=_a(e);r&&r.byteLength>0&&(this._sink.write(r),this._position+=r.byteLength)}return this}_writeSchema(e){return this._writeMessage(xl.from(e))}_writeFooter(e){return this._writeLegacyIpcFormat?this._write(Int32Array.of(0)):this._write(Int32Array.of(-1,0))}_writeMagic(){return this._write(Om)}_writePadding(e){return e>0?this._write(new Uint8Array(e)):this}_writeRecordBatch(e){const{byteLength:r,nodes:C,bufferRegions:D,buffers:T}=Qo.assemble(e),p=new _u(e.numRows,C,D),t=xl.from(p,r);return this._writeDictionaries(e)._writeMessage(t)._writeBodyBuffers(T)}_writeDictionaryBatch(e,r,C=!1){this._dictionaryDeltaOffsets.set(r,e.length+(this._dictionaryDeltaOffsets.get(r)||0));const{byteLength:D,nodes:T,bufferRegions:p,buffers:t}=Qo.assemble(new Ta([e])),d=new _u(e.length,T,p),g=new wh(d,r,C),i=xl.from(g,D);return this._writeMessage(i)._writeBodyBuffers(t)}_writeBodyBuffers(e){let r,C,D;for(let T=-1,p=e.length;++T0&&(this._write(r),(D=(C+7&-8)-C)>0&&this._writePadding(D));return this}_writeDictionaries(e){for(let[r,C]of e.dictionaries){let D=this._dictionaryDeltaOffsets.get(r)||0;if(D===0||(C=C==null?void 0:C.slice(D)).length>0)for(const T of C.data)this._writeDictionaryBatch(T,r,D>0),D+=T.length}return this}}class N2 extends CM{static writeAll(e,r){const C=new N2(r);return Uf(e)?e.then(D=>C.writeAll(D)):g0(e)?U2(C,e):j2(C,e)}}class V2 extends CM{static writeAll(e){const r=new V2;return Uf(e)?e.then(C=>r.writeAll(C)):g0(e)?U2(r,e):j2(r,e)}constructor(){super(),this._autoDestroy=!0}_writeSchema(e){return this._writeMagic()._writePadding(2)}_writeFooter(e){const r=Pm.encode(new Pm(e,gu.V4,this._recordBatchBlocks,this._dictionaryBlocks));return super._writeFooter(e)._write(r)._write(Int32Array.of(r.byteLength))._writeMagic()}}function j2(n,e){let r=e;e instanceof ml&&(r=e.batches,n.reset(void 0,e.schema));for(const C of r)n.write(C);return n.finish()}function U2(n,e){var r,C,D,T;return yi(this,void 0,void 0,function*(){try{for(r=Nd(e);C=yield r.next(),!C.done;){const p=C.value;n.write(p)}}catch(p){D={error:p}}finally{try{C&&!C.done&&(T=r.return)&&(yield T.call(r))}finally{if(D)throw D.error}}return n.finish()})}function lm(n){const e=Qh.from(n);return Uf(e)?e.then(r=>lm(r)):e.isAsync()?e.readAll().then(r=>new ml(r)):new ml(e.readAll())}function pb(n,e="stream"){return(e==="stream"?N2:V2).writeAll(n).toUint8Array(!0)}var tx=function(){function n(e,r,C,D){var T=this;this.getCell=function(p,t){var d=p=T.headerRows&&t=T.headerColumns;if(d){var M=["blank"];return t>0&&M.push("level"+p),{type:"blank",classNames:M.join(" "),content:""}}else if(i){var v=t-T.headerColumns,M=["col_heading","level"+p,"col"+v];return{type:"columns",classNames:M.join(" "),content:T.getContent(T.columnsTable,v,p)}}else if(g){var f=p-T.headerRows,M=["row_heading","level"+t,"row"+f];return{type:"index",id:"T_".concat(T.uuid,"level").concat(t,"_row").concat(f),classNames:M.join(" "),content:T.getContent(T.indexTable,f,t)}}else{var f=p-T.headerRows,v=t-T.headerColumns,M=["data","row"+f,"col"+v],l=T.styler?T.getContent(T.styler.displayValuesTable,f,v):T.getContent(T.dataTable,f,v);return{type:"data",id:"T_".concat(T.uuid,"row").concat(f,"_col").concat(v),classNames:M.join(" "),content:l}}},this.getContent=function(p,t,d){var g=p.getChildAt(d);if(g===null)return"";var i=T.getColumnTypeId(p,d);switch(i){case Jn.Timestamp:return T.nanosToDate(g.get(t));default:return g.get(t)}},this.dataTable=lm(e),this.indexTable=lm(r),this.columnsTable=lm(C),this.styler=D?{caption:D.caption,displayValuesTable:lm(D.displayValues),styles:D.styles,uuid:D.uuid}:void 0}return Object.defineProperty(n.prototype,"rows",{get:function(){return this.indexTable.numRows+this.columnsTable.numCols},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"columns",{get:function(){return this.indexTable.numCols+this.columnsTable.numRows},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"headerRows",{get:function(){return this.rows-this.dataRows},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"headerColumns",{get:function(){return this.columns-this.dataColumns},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dataRows",{get:function(){return this.dataTable.numRows},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dataColumns",{get:function(){return this.dataTable.numCols},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uuid",{get:function(){return this.styler&&this.styler.uuid},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"caption",{get:function(){return this.styler&&this.styler.caption},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"styles",{get:function(){return this.styler&&this.styler.styles},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"table",{get:function(){return this.dataTable},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"index",{get:function(){return this.indexTable},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"columnTable",{get:function(){return this.columnsTable},enumerable:!1,configurable:!0}),n.prototype.serialize=function(){return{data:pb(this.dataTable),index:pb(this.indexTable),columns:pb(this.columnsTable)}},n.prototype.getColumnTypeId=function(e,r){return e.schema.fields[r].type.typeId},n.prototype.nanosToDate=function(e){return new Date(e/1e6)},n}(),gm=globalThis&&globalThis.__assign||function(){return gm=Object.assign||function(n){for(var e,r=1,C=arguments.length;r0?n.argsDataframeToObject(e.dfs):{};r=gm(gm({},r),C);var D=!!e.disabled,T=e.theme;T&&tR(T);var p={disabled:D,args:r,theme:T},t=new CustomEvent(n.RENDER_EVENT,{detail:p});n.events.dispatchEvent(t)},n.argsDataframeToObject=function(e){var r=e.map(function(C){var D=C.key,T=C.value;return[D,n.toArrowTable(T)]});return Object.fromEntries(r)},n.toArrowTable=function(e){var r,C=(r=e.data,r.data),D=r.index,T=r.columns,p=r.styler;return new tx(C,D,T,p)},n.sendBackMsg=function(e,r){window.parent.postMessage(gm({isStreamlitMessage:!0,type:e},r),"*")},n}(),tR=function(n){var e=document.createElement("style");document.head.appendChild(e),e.innerHTML=` +]`}concat(...e){const r=this.schema,S=this.data.concat(e.flatMap(({data:D})=>D));return new ml(r,S.map(D=>new Wl(r,D)))}slice(e,r){const S=this.schema;[e,r]=Yk({length:this.numRows},e,r);const D=Kk(this.data,this._offsets,e,r);return new ml(S,D.map(T=>new Wl(S,T)))}getChild(e){return this.getChildAt(this.schema.fields.findIndex(r=>r.name===e))}getChildAt(e){if(e>-1&&eS.children[e]);if(r.length===0){const{type:S}=this.schema.fields[e],D=ra({type:S,length:0,nullCount:0});r.push(D._changeLengthAndBackfillNullBitmap(this.numRows))}return new Ta(r)}return null}setChild(e,r){var S;return this.setChildAt((S=this.schema.fields)===null||S===void 0?void 0:S.findIndex(D=>D.name===e),r)}setChildAt(e,r){let S=this.schema,D=[...this.batches];if(e>-1&&ethis.getChildAt(g));[T[e],t[e]]=[p,r],[S,D]=fb(S,t)}return new ml(S,D)}select(e){const r=this.schema.fields.reduce((S,D,T)=>S.set(D.name,T),new Map);return this.selectAt(e.map(S=>r.get(S)).filter(S=>S>-1))}selectAt(e){const r=this.schema.selectAt(e),S=this.batches.map(D=>D.selectAt(e));return new ml(r,S)}assign(e){const r=this.schema.fields,[S,D]=e.schema.fields.reduce((t,d,g)=>{const[i,M]=t,v=r.findIndex(f=>f.name===d.name);return~v?M[v]=g:i.push(g),t},[[],[]]),T=this.schema.assign(e.schema),p=[...r.map((t,d)=>[d,D[d]]).map(([t,d])=>d===void 0?this.getChildAt(t):e.getChildAt(d)),...S.map(t=>e.getChildAt(t))].filter(Boolean);return new ml(...fb(T,p))}}hM=Symbol.toStringTag;ml[hM]=(n=>(n.schema=null,n.batches=[],n._offsets=new Uint32Array([0]),n._nullCount=-1,n[Symbol.isConcatSpreadable]=!0,n.isValid=Wp(S2),n.get=Wp(Xl.getVisitFn(Jn.Struct)),n.set=Jk(nc.getVisitFn(Jn.Struct)),n.indexOf=Qk(Wv.getVisitFn(Jn.Struct)),n.getByteLength=Wp(_h.getVisitFn(Jn.Struct)),"Table"))(ml.prototype);var fM;let Wl=class sm{constructor(...e){switch(e.length){case 2:{if([this.schema]=e,!(this.schema instanceof Ea))throw new TypeError("RecordBatch constructor expects a [Schema, Data] pair.");if([,this.data=ra({nullCount:0,type:new bl(this.schema.fields),children:this.schema.fields.map(r=>ra({type:r.type,nullCount:0}))})]=e,!(this.data instanceof Qa))throw new TypeError("RecordBatch constructor expects a [Schema, Data] pair.");[this.schema,this.data]=s5(this.schema,this.data.children);break}case 1:{const[r]=e,{fields:S,children:D,length:T}=Object.keys(r).reduce((d,g,i)=>(d.children[i]=r[g],d.length=Math.max(d.length,r[g].length),d.fields[i]=oo.new({name:g,type:r[g].type,nullable:!0}),d),{length:0,fields:new Array,children:new Array}),p=new Ea(S),t=ra({type:new bl(S),length:T,children:D,nullCount:0});[this.schema,this.data]=s5(p,t.children,T);break}default:throw new TypeError("RecordBatch constructor expects an Object mapping names to child Data, or a [Schema, Data] pair.")}}get dictionaries(){return this._dictionaries||(this._dictionaries=dM(this.schema.fields,this.data.children))}get numCols(){return this.schema.fields.length}get numRows(){return this.data.length}get nullCount(){return this.data.nullCount}isValid(e){return this.data.getValid(e)}get(e){return Xl.visit(this.data,e)}set(e,r){return nc.visit(this.data,e,r)}indexOf(e,r){return Wv.visit(this.data,e,r)}getByteLength(e){return _h.visit(this.data,e)}[Symbol.iterator](){return C2.visit(new Ta([this.data]))}toArray(){return[...this]}concat(...e){return new ml(this.schema,[this,...e])}slice(e,r){const[S]=new Ta([this.data]).slice(e,r).data;return new sm(this.schema,S)}getChild(e){var r;return this.getChildAt((r=this.schema.fields)===null||r===void 0?void 0:r.findIndex(S=>S.name===e))}getChildAt(e){return e>-1&&eD.name===e),r)}setChildAt(e,r){let S=this.schema,D=this.data;if(e>-1&&et.name===T);~p&&(D[p]=this.data.children[p])}return new sm(r,ra({type:S,length:this.numRows,children:D}))}selectAt(e){const r=this.schema.selectAt(e),S=e.map(T=>this.data.children[T]).filter(Boolean),D=ra({type:new bl(r.fields),length:this.numRows,children:S});return new sm(r,D)}};fM=Symbol.toStringTag;Wl[fM]=(n=>(n._nullCount=-1,n[Symbol.isConcatSpreadable]=!0,"RecordBatch"))(Wl.prototype);function s5(n,e,r=e.reduce((S,D)=>Math.max(S,D.length),0)){var S;const D=[...n.fields],T=[...e],p=(r+63&-64)>>3;for(const[t,d]of n.fields.entries()){const g=e[t];(!g||g.length!==r)&&(D[t]=d.clone({nullable:!0}),T[t]=(S=g==null?void 0:g._changeLengthAndBackfillNullBitmap(r))!==null&&S!==void 0?S:ra({type:d.type,length:r,nullCount:r,nullBitmap:new Uint8Array(p)}))}return[n.assign(D),ra({type:new bl(D),length:r,children:T})]}function dM(n,e,r=new Map){for(let S=-1,D=n.length;++S0&&dM(p.children,t.children,r)}return r}class O2 extends Wl{constructor(e){const r=e.fields.map(D=>ra({type:D.type})),S=ra({type:new bl(e.fields),nullCount:0,children:r});super(e,S)}}var ty;(function(n){n[n.BUFFER=0]="BUFFER"})(ty||(ty={}));var ny;(function(n){n[n.LZ4_FRAME=0]="LZ4_FRAME",n[n.ZSTD=1]="ZSTD"})(ny||(ny={}));class Of{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsBodyCompression(e,r){return(r||new Of).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsBodyCompression(e,r){return e.setPosition(e.position()+Wa),(r||new Of).__init(e.readInt32(e.position())+e.position(),e)}codec(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt8(this.bb_pos+e):ny.LZ4_FRAME}method(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.readInt8(this.bb_pos+e):ty.BUFFER}static startBodyCompression(e){e.startObject(2)}static addCodec(e,r){e.addFieldInt8(0,r,ny.LZ4_FRAME)}static addMethod(e,r){e.addFieldInt8(1,r,ty.BUFFER)}static endBodyCompression(e){return e.endObject()}static createBodyCompression(e,r,S){return Of.startBodyCompression(e),Of.addCodec(e,r),Of.addMethod(e,S),Of.endBodyCompression(e)}}let pM=class{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}offset(){return this.bb.readInt64(this.bb_pos)}length(){return this.bb.readInt64(this.bb_pos+8)}static sizeOf(){return 16}static createBuffer(e,r,S){return e.prep(8,16),e.writeInt64(S),e.writeInt64(r),e.offset()}},mM=class{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}length(){return this.bb.readInt64(this.bb_pos)}nullCount(){return this.bb.readInt64(this.bb_pos+8)}static sizeOf(){return 16}static createFieldNode(e,r,S){return e.prep(8,16),e.writeInt64(S),e.writeInt64(r),e.offset()}},Yh=class Kb{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsRecordBatch(e,r){return(r||new Kb).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsRecordBatch(e,r){return e.setPosition(e.position()+Wa),(r||new Kb).__init(e.readInt32(e.position())+e.position(),e)}length(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt64(this.bb_pos+e):this.bb.createLong(0,0)}nodes(e,r){const S=this.bb.__offset(this.bb_pos,6);return S?(r||new mM).__init(this.bb.__vector(this.bb_pos+S)+e*16,this.bb):null}nodesLength(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.__vector_len(this.bb_pos+e):0}buffers(e,r){const S=this.bb.__offset(this.bb_pos,8);return S?(r||new pM).__init(this.bb.__vector(this.bb_pos+S)+e*16,this.bb):null}buffersLength(){const e=this.bb.__offset(this.bb_pos,8);return e?this.bb.__vector_len(this.bb_pos+e):0}compression(e){const r=this.bb.__offset(this.bb_pos,10);return r?(e||new Of).__init(this.bb.__indirect(this.bb_pos+r),this.bb):null}static startRecordBatch(e){e.startObject(4)}static addLength(e,r){e.addFieldInt64(0,r,e.createLong(0,0))}static addNodes(e,r){e.addFieldOffset(1,r,0)}static startNodesVector(e,r){e.startVector(16,r,8)}static addBuffers(e,r){e.addFieldOffset(2,r,0)}static startBuffersVector(e,r){e.startVector(16,r,8)}static addCompression(e,r){e.addFieldOffset(3,r,0)}static endRecordBatch(e){return e.endObject()}},Dp=class Jb{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsDictionaryBatch(e,r){return(r||new Jb).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsDictionaryBatch(e,r){return e.setPosition(e.position()+Wa),(r||new Jb).__init(e.readInt32(e.position())+e.position(),e)}id(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt64(this.bb_pos+e):this.bb.createLong(0,0)}data(e){const r=this.bb.__offset(this.bb_pos,6);return r?(e||new Yh).__init(this.bb.__indirect(this.bb_pos+r),this.bb):null}isDelta(){const e=this.bb.__offset(this.bb_pos,8);return e?!!this.bb.readInt8(this.bb_pos+e):!1}static startDictionaryBatch(e){e.startObject(3)}static addId(e,r){e.addFieldInt64(0,r,e.createLong(0,0))}static addData(e,r){e.addFieldOffset(1,r,0)}static addIsDelta(e,r){e.addFieldInt8(2,+r,0)}static endDictionaryBatch(e){return e.endObject()}};var ry;(function(n){n[n.NONE=0]="NONE",n[n.Schema=1]="Schema",n[n.DictionaryBatch=2]="DictionaryBatch",n[n.RecordBatch=3]="RecordBatch",n[n.Tensor=4]="Tensor",n[n.SparseTensor=5]="SparseTensor"})(ry||(ry={}));let Ef=class rh{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsMessage(e,r){return(r||new rh).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsMessage(e,r){return e.setPosition(e.position()+Wa),(r||new rh).__init(e.readInt32(e.position())+e.position(),e)}version(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):Qp.V1}headerType(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.readUint8(this.bb_pos+e):ry.NONE}header(e){const r=this.bb.__offset(this.bb_pos,8);return r?this.bb.__union(e,this.bb_pos+r):null}bodyLength(){const e=this.bb.__offset(this.bb_pos,10);return e?this.bb.readInt64(this.bb_pos+e):this.bb.createLong(0,0)}customMetadata(e,r){const S=this.bb.__offset(this.bb_pos,12);return S?(r||new cs).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+S)+e*4),this.bb):null}customMetadataLength(){const e=this.bb.__offset(this.bb_pos,12);return e?this.bb.__vector_len(this.bb_pos+e):0}static startMessage(e){e.startObject(5)}static addVersion(e,r){e.addFieldInt16(0,r,Qp.V1)}static addHeaderType(e,r){e.addFieldInt8(1,r,ry.NONE)}static addHeader(e,r){e.addFieldOffset(2,r,0)}static addBodyLength(e,r){e.addFieldInt64(3,r,e.createLong(0,0))}static addCustomMetadata(e,r){e.addFieldOffset(4,r,0)}static createCustomMetadataVector(e,r){e.startVector(4,r.length,4);for(let S=r.length-1;S>=0;S--)e.addOffset(r[S]);return e.endVector()}static startCustomMetadataVector(e,r){e.startVector(4,r,4)}static endMessage(e){return e.endObject()}static finishMessageBuffer(e,r){e.finish(r)}static finishSizePrefixedMessageBuffer(e,r){e.finish(r,void 0,!0)}static createMessage(e,r,S,D,T,p){return rh.startMessage(e),rh.addVersion(e,r),rh.addHeaderType(e,S),rh.addHeader(e,D),rh.addBodyLength(e,T),rh.addCustomMetadata(e,p),rh.endMessage(e)}};var gI=Jh;class vI extends aa{visit(e,r){return e==null||r==null?void 0:super.visit(e,r)}visitNull(e,r){return Id.startNull(r),Id.endNull(r)}visitInt(e,r){return mu.startInt(r),mu.addBitWidth(r,e.bitWidth),mu.addIsSigned(r,e.isSigned),mu.endInt(r)}visitFloat(e,r){return fh.startFloatingPoint(r),fh.addPrecision(r,e.precision),fh.endFloatingPoint(r)}visitBinary(e,r){return Cd.startBinary(r),Cd.endBinary(r)}visitBool(e,r){return Ed.startBool(r),Ed.endBool(r)}visitUtf8(e,r){return Pd.startUtf8(r),Pd.endUtf8(r)}visitDecimal(e,r){return Gl.startDecimal(r),Gl.addScale(r,e.scale),Gl.addPrecision(r,e.precision),Gl.addBitWidth(r,e.bitWidth),Gl.endDecimal(r)}visitDate(e,r){return gv.startDate(r),gv.addUnit(r,e.unit),gv.endDate(r)}visitTime(e,r){return Zu.startTime(r),Zu.addUnit(r,e.unit),Zu.addBitWidth(r,e.bitWidth),Zu.endTime(r)}visitTimestamp(e,r){const S=e.timezone&&r.createString(e.timezone)||void 0;return Xu.startTimestamp(r),Xu.addUnit(r,e.unit),S!==void 0&&Xu.addTimezone(r,S),Xu.endTimestamp(r)}visitInterval(e,r){return dh.startInterval(r),dh.addUnit(r,e.unit),dh.endInterval(r)}visitList(e,r){return Ld.startList(r),Ld.endList(r)}visitStruct(e,r){return Rd.startStruct_(r),Rd.endStruct_(r)}visitUnion(e,r){ql.startTypeIdsVector(r,e.typeIds.length);const S=ql.createTypeIdsVector(r,e.typeIds);return ql.startUnion(r),ql.addMode(r,e.mode),ql.addTypeIds(r,S),ql.endUnion(r)}visitDictionary(e,r){const S=this.visit(e.indices,r);return Zh.startDictionaryEncoding(r),Zh.addId(r,new gI(e.id,0)),Zh.addIsOrdered(r,e.isOrdered),S!==void 0&&Zh.addIndexType(r,S),Zh.endDictionaryEncoding(r)}visitFixedSizeBinary(e,r){return ch.startFixedSizeBinary(r),ch.addByteWidth(r,e.byteWidth),ch.endFixedSizeBinary(r)}visitFixedSizeList(e,r){return hh.startFixedSizeList(r),hh.addListSize(r,e.listSize),hh.endFixedSizeList(r)}visitMap(e,r){return vv.startMap(r),vv.addKeysSorted(r,e.keysSorted),vv.endMap(r)}}const db=new vI;function yI(n,e=new Map){return new Ea(xI(n,e),xv(n.customMetadata),e)}function gM(n){return new _u(n.count,vM(n.columns),yM(n.columns))}function bI(n){return new wh(gM(n.data),n.id,n.isDelta)}function xI(n,e){return(n.fields||[]).filter(Boolean).map(r=>oo.fromJSON(r,e))}function l5(n,e){return(n.children||[]).filter(Boolean).map(r=>oo.fromJSON(r,e))}function vM(n){return(n||[]).reduce((e,r)=>[...e,new Jd(r.count,_I(r.VALIDITY)),...vM(r.children)],[])}function yM(n,e=[]){for(let r=-1,S=(n||[]).length;++re+ +(r===0),0)}function wI(n,e){let r,S,D,T,p,t;return!e||!(T=n.dictionary)?(p=c5(n,l5(n,e)),D=new oo(n.name,p,n.nullable,xv(n.customMetadata))):e.has(r=T.id)?(S=(S=T.indexType)?u5(S):new Lm,t=new Kp(e.get(r),S,r,T.isOrdered),D=new oo(n.name,t,n.nullable,xv(n.customMetadata))):(S=(S=T.indexType)?u5(S):new Lm,e.set(r,p=c5(n,l5(n,e))),t=new Kp(p,S,r,T.isOrdered),D=new oo(n.name,t,n.nullable,xv(n.customMetadata))),D||null}function xv(n){return new Map(Object.entries(n||{}))}function u5(n){return new qf(n.isSigned,n.bitWidth)}function c5(n,e){const r=n.type.name;switch(r){case"NONE":return new Gf;case"null":return new Gf;case"binary":return new Pv;case"utf8":return new Ov;case"bool":return new Dv;case"list":return new Vv((e||[])[0]);case"struct":return new bl(e||[]);case"struct_":return new bl(e||[])}switch(r){case"int":{const S=n.type;return new qf(S.isSigned,S.bitWidth)}case"floatingpoint":{const S=n.type;return new Im(Yl[S.precision])}case"decimal":{const S=n.type;return new zv(S.scale,S.precision,S.bitWidth)}case"date":{const S=n.type;return new Fv(nf[S.unit])}case"time":{const S=n.type;return new Rm(wa[S.unit],S.bitWidth)}case"timestamp":{const S=n.type;return new Bv(wa[S.unit],S.timezone)}case"interval":{const S=n.type;return new Nv(Hf[S.unit])}case"union":{const S=n.type;return new jv(xu[S.mode],S.typeIds||[],e||[])}case"fixedsizebinary":{const S=n.type;return new Uv(S.byteWidth)}case"fixedsizelist":{const S=n.type;return new Hv(S.listSize,(e||[])[0])}case"map":{const S=n.type;return new Gv((e||[])[0],S.keysSorted)}}throw new Error(`Unrecognized type: "${r}"`)}var Gd=Jh,TI=sM,kI=Jp;class xl{constructor(e,r,S,D){this._version=r,this._headerType=S,this.body=new Uint8Array(0),D&&(this._createHeader=()=>D),this._bodyLength=typeof e=="number"?e:e.low}static fromJSON(e,r){const S=new xl(0,gu.V4,r);return S._createHeader=MI(e,r),S}static decode(e){e=new kI(_a(e));const r=Ef.getRootAsMessage(e),S=r.bodyLength(),D=r.version(),T=r.headerType(),p=new xl(S,D,T);return p._createHeader=AI(r,T),p}static encode(e){const r=new TI;let S=-1;return e.isSchema()?S=Ea.encode(r,e.header()):e.isRecordBatch()?S=_u.encode(r,e.header()):e.isDictionaryBatch()&&(S=wh.encode(r,e.header())),Ef.startMessage(r),Ef.addVersion(r,gu.V4),Ef.addHeader(r,S),Ef.addHeaderType(r,e.headerType),Ef.addBodyLength(r,new Gd(e.bodyLength,0)),Ef.finishMessageBuffer(r,Ef.endMessage(r)),r.asUint8Array()}static from(e,r=0){if(e instanceof Ea)return new xl(0,gu.V4,Ca.Schema,e);if(e instanceof _u)return new xl(r,gu.V4,Ca.RecordBatch,e);if(e instanceof wh)return new xl(r,gu.V4,Ca.DictionaryBatch,e);throw new Error(`Unrecognized Message header: ${e}`)}get type(){return this.headerType}get version(){return this._version}get headerType(){return this._headerType}get bodyLength(){return this._bodyLength}header(){return this._createHeader()}isSchema(){return this.headerType===Ca.Schema}isRecordBatch(){return this.headerType===Ca.RecordBatch}isDictionaryBatch(){return this.headerType===Ca.DictionaryBatch}}class _u{constructor(e,r,S){this._nodes=r,this._buffers=S,this._length=typeof e=="number"?e:e.low}get nodes(){return this._nodes}get length(){return this._length}get buffers(){return this._buffers}}class wh{constructor(e,r,S=!1){this._data=e,this._isDelta=S,this._id=typeof r=="number"?r:r.low}get id(){return this._id}get data(){return this._data}get isDelta(){return this._isDelta}get length(){return this.data.length}get nodes(){return this.data.nodes}get buffers(){return this.data.buffers}}class gh{constructor(e,r){this.offset=typeof e=="number"?e:e.low,this.length=typeof r=="number"?r:r.low}}class Jd{constructor(e,r){this.length=typeof e=="number"?e:e.low,this.nullCount=typeof r=="number"?r:r.low}}function MI(n,e){return()=>{switch(e){case Ca.Schema:return Ea.fromJSON(n);case Ca.RecordBatch:return _u.fromJSON(n);case Ca.DictionaryBatch:return wh.fromJSON(n)}throw new Error(`Unrecognized Message type: { name: ${Ca[e]}, type: ${e} }`)}}function AI(n,e){return()=>{switch(e){case Ca.Schema:return Ea.decode(n.header(new ih));case Ca.RecordBatch:return _u.decode(n.header(new Yh),n.version());case Ca.DictionaryBatch:return wh.decode(n.header(new Dp),n.version())}throw new Error(`Unrecognized Message type: { name: ${Ca[e]}, type: ${e} }`)}}oo.encode=FI;oo.decode=DI;oo.fromJSON=wI;Ea.encode=zI;Ea.decode=SI;Ea.fromJSON=yI;_u.encode=BI;_u.decode=CI;_u.fromJSON=gM;wh.encode=NI;wh.decode=EI;wh.fromJSON=bI;Jd.encode=VI;Jd.decode=II;gh.encode=jI;gh.decode=LI;function SI(n,e=new Map){const r=OI(n,e);return new Ea(r,_v(n),e)}function CI(n,e=gu.V4){if(n.compression()!==null)throw new Error("Record batch compression not implemented");return new _u(n.length(),RI(n),PI(n,e))}function EI(n,e=gu.V4){return new wh(_u.decode(n.data(),e),n.id(),n.isDelta())}function LI(n){return new gh(n.offset(),n.length())}function II(n){return new Jd(n.length(),n.nullCount())}function RI(n){const e=[];for(let r,S=-1,D=-1,T=n.nodesLength();++Soo.encode(n,T));ih.startFieldsVector(n,r.length);const S=ih.createFieldsVector(n,r),D=e.metadata&&e.metadata.size>0?ih.createCustomMetadataVector(n,[...e.metadata].map(([T,p])=>{const t=n.createString(`${T}`),d=n.createString(`${p}`);return cs.startKeyValue(n),cs.addKey(n,t),cs.addValue(n,d),cs.endKeyValue(n)})):-1;return ih.startSchema(n),ih.addFields(n,S),ih.addEndianness(n,UI?e0.Little:e0.Big),D!==-1&&ih.addCustomMetadata(n,D),ih.endSchema(n)}function FI(n,e){let r=-1,S=-1,D=-1;const T=e.type;let p=e.typeId;_i.isDictionary(T)?(p=T.dictionary.typeId,D=db.visit(T,n),S=db.visit(T.dictionary,n)):S=db.visit(T,n);const t=(T.children||[]).map(i=>oo.encode(n,i)),d=qu.createChildrenVector(n,t),g=e.metadata&&e.metadata.size>0?qu.createCustomMetadataVector(n,[...e.metadata].map(([i,M])=>{const v=n.createString(`${i}`),f=n.createString(`${M}`);return cs.startKeyValue(n),cs.addKey(n,v),cs.addValue(n,f),cs.endKeyValue(n)})):-1;return e.name&&(r=n.createString(e.name)),qu.startField(n),qu.addType(n,S),qu.addTypeType(n,p),qu.addChildren(n,d),qu.addNullable(n,!!e.nullable),r!==-1&&qu.addName(n,r),D!==-1&&qu.addDictionary(n,D),g!==-1&&qu.addCustomMetadata(n,g),qu.endField(n)}function BI(n,e){const r=e.nodes||[],S=e.buffers||[];Yh.startNodesVector(n,r.length);for(const p of r.slice().reverse())Jd.encode(n,p);const D=n.endVector();Yh.startBuffersVector(n,S.length);for(const p of S.slice().reverse())gh.encode(n,p);const T=n.endVector();return Yh.startRecordBatch(n),Yh.addLength(n,new Gd(e.length,0)),Yh.addNodes(n,D),Yh.addBuffers(n,T),Yh.endRecordBatch(n)}function NI(n,e){const r=_u.encode(n,e.data);return Dp.startDictionaryBatch(n),Dp.addId(n,new Gd(e.id,0)),Dp.addIsDelta(n,e.isDelta),Dp.addData(n,r),Dp.endDictionaryBatch(n)}function VI(n,e){return mM.createFieldNode(n,new Gd(e.length,0),new Gd(e.nullCount,0))}function jI(n,e){return pM.createBuffer(n,new Gd(e.offset,0),new Gd(e.length,0))}const UI=(()=>{const n=new ArrayBuffer(2);return new DataView(n).setInt16(0,256,!0),new Int16Array(n)[0]===256})(),D2=n=>`Expected ${Ca[n]} Message in stream, but was null or length 0.`,z2=n=>`Header pointer of flatbuffer-encoded ${Ca[n]} Message is null or length 0.`,bM=(n,e)=>`Expected to read ${n} metadata bytes, but only read ${e}.`,xM=(n,e)=>`Expected to read ${n} bytes for message body, but only read ${e}.`;class _M{constructor(e){this.source=e instanceof Qv?e:new Qv(e)}[Symbol.iterator](){return this}next(){let e;return(e=this.readMetadataLength()).done||e.value===-1&&(e=this.readMetadataLength()).done||(e=this.readMetadata(e.value)).done?So:e}throw(e){return this.source.throw(e)}return(e){return this.source.return(e)}readMessage(e){let r;if((r=this.next()).done)return null;if(e!=null&&r.value.headerType!==e)throw new Error(D2(e));return r.value}readMessageBody(e){if(e<=0)return new Uint8Array(0);const r=_a(this.source.read(e));if(r.byteLength[...D,...T.VALIDITY&&[T.VALIDITY]||[],...T.TYPE&&[T.TYPE]||[],...T.OFFSET&&[T.OFFSET]||[],...T.DATA&&[T.DATA]||[],...r(T.children)],[])}}readMessage(e){let r;if((r=this.next()).done)return null;if(e!=null&&r.value.headerType!==e)throw new Error(D2(e));return r.value}readSchema(){const e=Ca.Schema,r=this.readMessage(e),S=r==null?void 0:r.header();if(!r||!S)throw new Error(z2(e));return S}}const qy=4,Qb="ARROW1",Om=new Uint8Array(Qb.length);for(let n=0;nthis):this}readRecordBatch(e){return this._impl.isFile()?this._impl.readRecordBatch(e):null}[Symbol.iterator](){return this._impl[Symbol.iterator]()}[Symbol.asyncIterator](){return this._impl[Symbol.asyncIterator]()}toDOMStream(){return $u.toDOMStream(this.isSync()?{[Symbol.iterator]:()=>this}:{[Symbol.asyncIterator]:()=>this})}toNodeStream(){return $u.toNodeStream(this.isSync()?{[Symbol.iterator]:()=>this}:{[Symbol.asyncIterator]:()=>this},{objectMode:!0})}static throughNode(e){throw new Error('"throughNode" not available in this environment')}static throughDOM(e,r){throw new Error('"throughDOM" not available in this environment')}static from(e){return e instanceof Qh?e:Ub(e)?ZI(e):U4(e)?JI(e):Uf(e)?(()=>yi(this,void 0,void 0,function*(){return yield Qh.from(yield e)}))():H4(e)||m2(e)||G4(e)||g0(e)?KI(new n0(e)):XI(new Qv(e))}static readAll(e){return e instanceof Qh?e.isSync()?p5(e):m5(e):Ub(e)||ArrayBuffer.isView(e)||Zm(e)||j4(e)?p5(e):m5(e)}}class iy extends Qh{constructor(e){super(e),this._impl=e}readAll(){return[...this]}[Symbol.iterator](){return this._impl[Symbol.iterator]()}[Symbol.asyncIterator](){return mh(this,arguments,function*(){yield zi(yield*mv(Nd(this[Symbol.iterator]())))})}}class ay extends Qh{constructor(e){super(e),this._impl=e}readAll(){var e,r;return yi(this,void 0,void 0,function*(){const S=new Array;try{for(var D=Nd(this),T;T=yield D.next(),!T.done;){const p=T.value;S.push(p)}}catch(p){e={error:p}}finally{try{T&&!T.done&&(r=D.return)&&(yield r.call(D))}finally{if(e)throw e.error}}return S})}[Symbol.iterator](){throw new Error("AsyncRecordBatchStreamReader is not Iterable")}[Symbol.asyncIterator](){return this._impl[Symbol.asyncIterator]()}}class TM extends iy{constructor(e){super(e),this._impl=e}}class WI extends ay{constructor(e){super(e),this._impl=e}}class kM{constructor(e=new Map){this.closed=!1,this.autoDestroy=!0,this._dictionaryIndex=0,this._recordBatchIndex=0,this.dictionaries=e}get numDictionaries(){return this._dictionaryIndex}get numRecordBatches(){return this._recordBatchIndex}isSync(){return!1}isAsync(){return!1}isFile(){return!1}isStream(){return!1}reset(e){return this._dictionaryIndex=0,this._recordBatchIndex=0,this.schema=e,this.dictionaries=new Map,this}_loadRecordBatch(e,r){const S=this._loadVectors(e,r,this.schema.fields),D=ra({type:new bl(this.schema.fields),length:e.length,children:S});return new Wl(this.schema,D)}_loadDictionaryBatch(e,r){const{id:S,isDelta:D}=e,{dictionaries:T,schema:p}=this,t=T.get(S);if(D||!t){const d=p.dictionaries.get(S),g=this._loadVectors(e.data,r,[d]);return(t&&D?t.concat(new Ta(g)):new Ta(g)).memoize()}return t.memoize()}_loadVectors(e,r,S){return new cM(r,e.nodes,e.buffers,this.dictionaries).visitMany(S)}}class oy extends kM{constructor(e,r){super(r),this._reader=Ub(e)?new GI(this._handle=e):new _M(this._handle=e)}isSync(){return!0}isStream(){return!0}[Symbol.iterator](){return this}cancel(){!this.closed&&(this.closed=!0)&&(this.reset()._reader.return(),this._reader=null,this.dictionaries=null)}open(e){return this.closed||(this.autoDestroy=AM(this,e),this.schema||(this.schema=this._reader.readSchema())||this.cancel()),this}throw(e){return!this.closed&&this.autoDestroy&&(this.closed=!0)?this.reset()._reader.throw(e):So}return(e){return!this.closed&&this.autoDestroy&&(this.closed=!0)?this.reset()._reader.return(e):So}next(){if(this.closed)return So;let e;const{_reader:r}=this;for(;e=this._readNextMessageAndValidate();)if(e.isSchema())this.reset(e.header());else if(e.isRecordBatch()){this._recordBatchIndex++;const S=e.header(),D=r.readMessageBody(e.bodyLength);return{done:!1,value:this._loadRecordBatch(S,D)}}else if(e.isDictionaryBatch()){this._dictionaryIndex++;const S=e.header(),D=r.readMessageBody(e.bodyLength),T=this._loadDictionaryBatch(S,D);this.dictionaries.set(S.id,T)}return this.schema&&this._recordBatchIndex===0?(this._recordBatchIndex++,{done:!1,value:new O2(this.schema)}):this.return()}_readNextMessageAndValidate(e){return this._reader.readMessage(e)}}class sy extends kM{constructor(e,r){super(r),this._reader=new HI(this._handle=e)}isAsync(){return!0}isStream(){return!0}[Symbol.asyncIterator](){return this}cancel(){return yi(this,void 0,void 0,function*(){!this.closed&&(this.closed=!0)&&(yield this.reset()._reader.return(),this._reader=null,this.dictionaries=null)})}open(e){return yi(this,void 0,void 0,function*(){return this.closed||(this.autoDestroy=AM(this,e),this.schema||(this.schema=yield this._reader.readSchema())||(yield this.cancel())),this})}throw(e){return yi(this,void 0,void 0,function*(){return!this.closed&&this.autoDestroy&&(this.closed=!0)?yield this.reset()._reader.throw(e):So})}return(e){return yi(this,void 0,void 0,function*(){return!this.closed&&this.autoDestroy&&(this.closed=!0)?yield this.reset()._reader.return(e):So})}next(){return yi(this,void 0,void 0,function*(){if(this.closed)return So;let e;const{_reader:r}=this;for(;e=yield this._readNextMessageAndValidate();)if(e.isSchema())yield this.reset(e.header());else if(e.isRecordBatch()){this._recordBatchIndex++;const S=e.header(),D=yield r.readMessageBody(e.bodyLength);return{done:!1,value:this._loadRecordBatch(S,D)}}else if(e.isDictionaryBatch()){this._dictionaryIndex++;const S=e.header(),D=yield r.readMessageBody(e.bodyLength),T=this._loadDictionaryBatch(S,D);this.dictionaries.set(S.id,T)}return this.schema&&this._recordBatchIndex===0?(this._recordBatchIndex++,{done:!1,value:new O2(this.schema)}):yield this.return()})}_readNextMessageAndValidate(e){return yi(this,void 0,void 0,function*(){return yield this._reader.readMessage(e)})}}class MM extends oy{constructor(e,r){super(e instanceof o5?e:new o5(e),r)}get footer(){return this._footer}get numDictionaries(){return this._footer?this._footer.numDictionaries:0}get numRecordBatches(){return this._footer?this._footer.numRecordBatches:0}isSync(){return!0}isFile(){return!0}open(e){if(!this.closed&&!this._footer){this.schema=(this._footer=this._readFooter()).schema;for(const r of this._footer.dictionaryBatches())r&&this._readDictionaryBatch(this._dictionaryIndex++)}return super.open(e)}readRecordBatch(e){var r;if(this.closed)return null;this._footer||this.open();const S=(r=this._footer)===null||r===void 0?void 0:r.getRecordBatch(e);if(S&&this._handle.seek(S.offset)){const D=this._reader.readMessage(Ca.RecordBatch);if(D!=null&&D.isRecordBatch()){const T=D.header(),p=this._reader.readMessageBody(D.bodyLength);return this._loadRecordBatch(T,p)}}return null}_readDictionaryBatch(e){var r;const S=(r=this._footer)===null||r===void 0?void 0:r.getDictionaryBatch(e);if(S&&this._handle.seek(S.offset)){const D=this._reader.readMessage(Ca.DictionaryBatch);if(D!=null&&D.isDictionaryBatch()){const T=D.header(),p=this._reader.readMessageBody(D.bodyLength),t=this._loadDictionaryBatch(T,p);this.dictionaries.set(T.id,t)}}}_readFooter(){const{_handle:e}=this,r=e.size-wM,S=e.readInt32(r),D=e.readAt(r-S,S);return Pm.decode(D)}_readNextMessageAndValidate(e){var r;if(this._footer||this.open(),this._footer&&this._recordBatchIndexsuper.open}});return yi(this,void 0,void 0,function*(){if(!this.closed&&!this._footer){this.schema=(this._footer=yield this._readFooter()).schema;for(const S of this._footer.dictionaryBatches())S&&(yield this._readDictionaryBatch(this._dictionaryIndex++))}return yield r.open.call(this,e)})}readRecordBatch(e){var r;return yi(this,void 0,void 0,function*(){if(this.closed)return null;this._footer||(yield this.open());const S=(r=this._footer)===null||r===void 0?void 0:r.getRecordBatch(e);if(S&&(yield this._handle.seek(S.offset))){const D=yield this._reader.readMessage(Ca.RecordBatch);if(D!=null&&D.isRecordBatch()){const T=D.header(),p=yield this._reader.readMessageBody(D.bodyLength);return this._loadRecordBatch(T,p)}}return null})}_readDictionaryBatch(e){var r;return yi(this,void 0,void 0,function*(){const S=(r=this._footer)===null||r===void 0?void 0:r.getDictionaryBatch(e);if(S&&(yield this._handle.seek(S.offset))){const D=yield this._reader.readMessage(Ca.DictionaryBatch);if(D!=null&&D.isDictionaryBatch()){const T=D.header(),p=yield this._reader.readMessageBody(D.bodyLength),t=this._loadDictionaryBatch(T,p);this.dictionaries.set(T.id,t)}}})}_readFooter(){return yi(this,void 0,void 0,function*(){const{_handle:e}=this;e._pending&&(yield e._pending);const r=e.size-wM,S=yield e.readInt32(r),D=yield e.readAt(r-S,S);return Pm.decode(D)})}_readNextMessageAndValidate(e){return yi(this,void 0,void 0,function*(){if(this._footer||(yield this.open()),this._footer&&this._recordBatchIndex=4?F2(e)?new TM(new MM(n.read())):new iy(new oy(n)):new iy(new oy(function*(){}()))}function KI(n){return yi(this,void 0,void 0,function*(){const e=yield n.peek(Qm+7&-8);return e&&e.byteLength>=4?F2(e)?new TM(new MM(yield n.read())):new ay(new sy(n)):new ay(new sy(function(){return mh(this,arguments,function*(){})}()))})}function JI(n){return yi(this,void 0,void 0,function*(){const{size:e}=yield n.stat(),r=new ey(n,e);return e>=qI&&F2(yield r.readAt(0,Qm+7&-8))?new WI(new YI(r)):new ay(new sy(r))})}class Qo extends aa{constructor(){super(),this._byteLength=0,this._nodes=[],this._buffers=[],this._bufferRegions=[]}static assemble(...e){const r=D=>D.flatMap(T=>Array.isArray(T)?r(T):T instanceof Wl?T.data.children:T.data),S=new Qo;return S.visitMany(r(e)),S}visit(e){if(e instanceof Ta)return this.visitMany(e.data),this;const{type:r}=e;if(!_i.isDictionary(r)){const{length:S,nullCount:D}=e;if(S>2147483647)throw new RangeError("Cannot write arrays larger than 2^31 - 1 in length");_i.isNull(r)||zc.call(this,D<=0?new Uint8Array(0):k2(e.offset,S,e.nullBitmap)),this.nodes.push(new Jd(S,D))}return super.visit(e)}visitNull(e){return this}visitDictionary(e){return this.visit(e.clone(e.type.indices))}get nodes(){return this._nodes}get buffers(){return this._buffers}get byteLength(){return this._byteLength}get bufferRegions(){return this._bufferRegions}}function zc(n){const e=n.byteLength+7&-8;return this.buffers.push(n),this.bufferRegions.push(new gh(this._byteLength,e)),this._byteLength+=e,this}function QI(n){const{type:e,length:r,typeIds:S,valueOffsets:D}=n;if(zc.call(this,S),e.mode===xu.Sparse)return ex.call(this,n);if(e.mode===xu.Dense){if(n.offset<=0)return zc.call(this,D),ex.call(this,n);{const T=S.reduce((i,M)=>Math.max(i,M),S[0]),p=new Int32Array(T+1),t=new Int32Array(T+1).fill(-1),d=new Int32Array(r),g=v2(-D[0],r,D);for(let i,M,v=-1;++v=n.length?zc.call(this,new Uint8Array(0)):(e=n.values)instanceof Uint8Array?zc.call(this,k2(n.offset,n.length,e)):zc.call(this,qv(n.values))}function Qf(n){return zc.call(this,n.values.subarray(0,n.length*n.stride))}function SM(n){const{length:e,values:r,valueOffsets:S}=n,D=S[0],T=S[e],p=Math.min(T-D,r.byteLength-D);return zc.call(this,v2(-S[0],e,S)),zc.call(this,r.subarray(D,D+p)),this}function B2(n){const{length:e,valueOffsets:r}=n;return r&&zc.call(this,v2(r[0],e,r)),this.visit(n.children[0])}function ex(n){return this.visitMany(n.type.children.map((e,r)=>n.children[r]).filter(Boolean))[0]}Qo.prototype.visitBool=eR;Qo.prototype.visitInt=Qf;Qo.prototype.visitFloat=Qf;Qo.prototype.visitUtf8=SM;Qo.prototype.visitBinary=SM;Qo.prototype.visitFixedSizeBinary=Qf;Qo.prototype.visitDate=Qf;Qo.prototype.visitTimestamp=Qf;Qo.prototype.visitTime=Qf;Qo.prototype.visitDecimal=Qf;Qo.prototype.visitList=B2;Qo.prototype.visitStruct=ex;Qo.prototype.visitUnion=QI;Qo.prototype.visitInterval=Qf;Qo.prototype.visitFixedSizeList=B2;Qo.prototype.visitMap=B2;class CM extends E2{constructor(e){super(),this._position=0,this._started=!1,this._sink=new bv,this._schema=null,this._dictionaryBlocks=[],this._recordBatchBlocks=[],this._dictionaryDeltaOffsets=new Map,Zl(e)||(e={autoDestroy:!0,writeLegacyIpcFormat:!1}),this._autoDestroy=typeof e.autoDestroy=="boolean"?e.autoDestroy:!0,this._writeLegacyIpcFormat=typeof e.writeLegacyIpcFormat=="boolean"?e.writeLegacyIpcFormat:!1}static throughNode(e){throw new Error('"throughNode" not available in this environment')}static throughDOM(e,r){throw new Error('"throughDOM" not available in this environment')}toString(e=!1){return this._sink.toString(e)}toUint8Array(e=!1){return this._sink.toUint8Array(e)}writeAll(e){return Uf(e)?e.then(r=>this.writeAll(r)):g0(e)?U2(this,e):j2(this,e)}get closed(){return this._sink.closed}[Symbol.asyncIterator](){return this._sink[Symbol.asyncIterator]()}toDOMStream(e){return this._sink.toDOMStream(e)}toNodeStream(e){return this._sink.toNodeStream(e)}close(){return this.reset()._sink.close()}abort(e){return this.reset()._sink.abort(e)}finish(){return this._autoDestroy?this.close():this.reset(this._sink,this._schema),this}reset(e=this._sink,r=null){return e===this._sink||e instanceof bv?this._sink=e:(this._sink=new bv,e&&_9(e)?this.toDOMStream({type:"bytes"}).pipeTo(e):e&&w9(e)&&this.toNodeStream({objectMode:!1}).pipe(e)),this._started&&this._schema&&this._writeFooter(this._schema),this._started=!1,this._dictionaryBlocks=[],this._recordBatchBlocks=[],this._dictionaryDeltaOffsets=new Map,(!r||!Xb(r,this._schema))&&(r==null?(this._position=0,this._schema=null):(this._started=!0,this._schema=r,this._writeSchema(r))),this}write(e){let r=null;if(this._sink){if(e==null)return this.finish()&&void 0;if(e instanceof ml&&!(r=e.schema))return this.finish()&&void 0;if(e instanceof Wl&&!(r=e.schema))return this.finish()&&void 0}else throw new Error("RecordBatchWriter is closed");if(r&&!Xb(r,this._schema)){if(this._started&&this._autoDestroy)return this.close();this.reset(this._sink,r)}e instanceof Wl?e instanceof O2||this._writeRecordBatch(e):e instanceof ml?this.writeAll(e.batches):Zm(e)&&this.writeAll(e)}_writeMessage(e,r=8){const S=r-1,D=xl.encode(e),T=D.byteLength,p=this._writeLegacyIpcFormat?4:8,t=T+p+S&~S,d=t-T-p;return e.headerType===Ca.RecordBatch?this._recordBatchBlocks.push(new Wf(t,e.bodyLength,this._position)):e.headerType===Ca.DictionaryBatch&&this._dictionaryBlocks.push(new Wf(t,e.bodyLength,this._position)),this._writeLegacyIpcFormat||this._write(Int32Array.of(-1)),this._write(Int32Array.of(t-p)),T>0&&this._write(D),this._writePadding(d)}_write(e){if(this._started){const r=_a(e);r&&r.byteLength>0&&(this._sink.write(r),this._position+=r.byteLength)}return this}_writeSchema(e){return this._writeMessage(xl.from(e))}_writeFooter(e){return this._writeLegacyIpcFormat?this._write(Int32Array.of(0)):this._write(Int32Array.of(-1,0))}_writeMagic(){return this._write(Om)}_writePadding(e){return e>0?this._write(new Uint8Array(e)):this}_writeRecordBatch(e){const{byteLength:r,nodes:S,bufferRegions:D,buffers:T}=Qo.assemble(e),p=new _u(e.numRows,S,D),t=xl.from(p,r);return this._writeDictionaries(e)._writeMessage(t)._writeBodyBuffers(T)}_writeDictionaryBatch(e,r,S=!1){this._dictionaryDeltaOffsets.set(r,e.length+(this._dictionaryDeltaOffsets.get(r)||0));const{byteLength:D,nodes:T,bufferRegions:p,buffers:t}=Qo.assemble(new Ta([e])),d=new _u(e.length,T,p),g=new wh(d,r,S),i=xl.from(g,D);return this._writeMessage(i)._writeBodyBuffers(t)}_writeBodyBuffers(e){let r,S,D;for(let T=-1,p=e.length;++T0&&(this._write(r),(D=(S+7&-8)-S)>0&&this._writePadding(D));return this}_writeDictionaries(e){for(let[r,S]of e.dictionaries){let D=this._dictionaryDeltaOffsets.get(r)||0;if(D===0||(S=S==null?void 0:S.slice(D)).length>0)for(const T of S.data)this._writeDictionaryBatch(T,r,D>0),D+=T.length}return this}}class N2 extends CM{static writeAll(e,r){const S=new N2(r);return Uf(e)?e.then(D=>S.writeAll(D)):g0(e)?U2(S,e):j2(S,e)}}class V2 extends CM{static writeAll(e){const r=new V2;return Uf(e)?e.then(S=>r.writeAll(S)):g0(e)?U2(r,e):j2(r,e)}constructor(){super(),this._autoDestroy=!0}_writeSchema(e){return this._writeMagic()._writePadding(2)}_writeFooter(e){const r=Pm.encode(new Pm(e,gu.V4,this._recordBatchBlocks,this._dictionaryBlocks));return super._writeFooter(e)._write(r)._write(Int32Array.of(r.byteLength))._writeMagic()}}function j2(n,e){let r=e;e instanceof ml&&(r=e.batches,n.reset(void 0,e.schema));for(const S of r)n.write(S);return n.finish()}function U2(n,e){var r,S,D,T;return yi(this,void 0,void 0,function*(){try{for(r=Nd(e);S=yield r.next(),!S.done;){const p=S.value;n.write(p)}}catch(p){D={error:p}}finally{try{S&&!S.done&&(T=r.return)&&(yield T.call(r))}finally{if(D)throw D.error}}return n.finish()})}function lm(n){const e=Qh.from(n);return Uf(e)?e.then(r=>lm(r)):e.isAsync()?e.readAll().then(r=>new ml(r)):new ml(e.readAll())}function pb(n,e="stream"){return(e==="stream"?N2:V2).writeAll(n).toUint8Array(!0)}var tx=function(){function n(e,r,S,D){var T=this;this.getCell=function(p,t){var d=p=T.headerRows&&t=T.headerColumns;if(d){var M=["blank"];return t>0&&M.push("level"+p),{type:"blank",classNames:M.join(" "),content:""}}else if(i){var v=t-T.headerColumns,M=["col_heading","level"+p,"col"+v];return{type:"columns",classNames:M.join(" "),content:T.getContent(T.columnsTable,v,p)}}else if(g){var f=p-T.headerRows,M=["row_heading","level"+t,"row"+f];return{type:"index",id:"T_".concat(T.uuid,"level").concat(t,"_row").concat(f),classNames:M.join(" "),content:T.getContent(T.indexTable,f,t)}}else{var f=p-T.headerRows,v=t-T.headerColumns,M=["data","row"+f,"col"+v],l=T.styler?T.getContent(T.styler.displayValuesTable,f,v):T.getContent(T.dataTable,f,v);return{type:"data",id:"T_".concat(T.uuid,"row").concat(f,"_col").concat(v),classNames:M.join(" "),content:l}}},this.getContent=function(p,t,d){var g=p.getChildAt(d);if(g===null)return"";var i=T.getColumnTypeId(p,d);switch(i){case Jn.Timestamp:return T.nanosToDate(g.get(t));default:return g.get(t)}},this.dataTable=lm(e),this.indexTable=lm(r),this.columnsTable=lm(S),this.styler=D?{caption:D.caption,displayValuesTable:lm(D.displayValues),styles:D.styles,uuid:D.uuid}:void 0}return Object.defineProperty(n.prototype,"rows",{get:function(){return this.indexTable.numRows+this.columnsTable.numCols},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"columns",{get:function(){return this.indexTable.numCols+this.columnsTable.numRows},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"headerRows",{get:function(){return this.rows-this.dataRows},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"headerColumns",{get:function(){return this.columns-this.dataColumns},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dataRows",{get:function(){return this.dataTable.numRows},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dataColumns",{get:function(){return this.dataTable.numCols},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uuid",{get:function(){return this.styler&&this.styler.uuid},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"caption",{get:function(){return this.styler&&this.styler.caption},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"styles",{get:function(){return this.styler&&this.styler.styles},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"table",{get:function(){return this.dataTable},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"index",{get:function(){return this.indexTable},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"columnTable",{get:function(){return this.columnsTable},enumerable:!1,configurable:!0}),n.prototype.serialize=function(){return{data:pb(this.dataTable),index:pb(this.indexTable),columns:pb(this.columnsTable)}},n.prototype.getColumnTypeId=function(e,r){return e.schema.fields[r].type.typeId},n.prototype.nanosToDate=function(e){return new Date(e/1e6)},n}(),gm=globalThis&&globalThis.__assign||function(){return gm=Object.assign||function(n){for(var e,r=1,S=arguments.length;r0?n.argsDataframeToObject(e.dfs):{};r=gm(gm({},r),S);var D=!!e.disabled,T=e.theme;T&&tR(T);var p={disabled:D,args:r,theme:T},t=new CustomEvent(n.RENDER_EVENT,{detail:p});n.events.dispatchEvent(t)},n.argsDataframeToObject=function(e){var r=e.map(function(S){var D=S.key,T=S.value;return[D,n.toArrowTable(T)]});return Object.fromEntries(r)},n.toArrowTable=function(e){var r,S=(r=e.data,r.data),D=r.index,T=r.columns,p=r.styler;return new tx(S,D,T,p)},n.sendBackMsg=function(e,r){window.parent.postMessage(gm({isStreamlitMessage:!0,type:e},r),"*")},n}(),tR=function(n){var e=document.createElement("style");document.head.appendChild(e),e.innerHTML=` :root { --primary-color: `.concat(n.primaryColor,`; --background-color: `).concat(n.backgroundColor,`; @@ -36,15 +36,15 @@ object-assign background-color: var(--background-color); color: var(--text-color); } - `)};function nR(n){var e=!1;try{e=n instanceof BigInt64Array||n instanceof BigUint64Array}catch{}return n instanceof Int8Array||n instanceof Uint8Array||n instanceof Uint8ClampedArray||n instanceof Int16Array||n instanceof Uint16Array||n instanceof Int32Array||n instanceof Uint32Array||n instanceof Float32Array||n instanceof Float64Array||e}var rR=globalThis&&globalThis.__extends||function(){var n=function(e,r){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,D){C.__proto__=D}||function(C,D){for(var T in D)Object.prototype.hasOwnProperty.call(D,T)&&(C[T]=D[T])},n(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");n(e,r);function C(){this.constructor=e}e.prototype=r===null?Object.create(r):(C.prototype=r.prototype,new C)}}();(function(n){rR(e,n);function e(){return n!==null&&n.apply(this,arguments)||this}return e.prototype.componentDidMount=function(){Wu.setFrameHeight()},e.prototype.componentDidUpdate=function(){Wu.setFrameHeight()},e})(g9.PureComponent);const rc=i2("selection",{state:()=>({scanIndex:void 0,massIndex:void 0,proteinIndex:void 0,tagIndex:void 0,selectedObservedMass:void 0,AApos:void 0,tagData:void 0,counter:void 0,id:void 0,heatmap_deconv:void 0,heatmap_deconv2:void 0,heatmap_raw:void 0,heatmap_raw2:void 0}),getters:{selectedScanIndex:n=>n.scanIndex,selectedMassIndex:n=>n.massIndex,selectedProteinIndex:n=>n.proteinIndex,selectedTagIndex:n=>n.tagIndex,selectedAApos:n=>n.AApos,selectedTag:n=>n.tagData,selectedDeconvMS2Heatmap:n=>n.heatmap_deconv2,selectedDeconvHeatmap:n=>n.heatmap_deconv,selectedRawHeatmap:n=>n.heatmap_raw,selectedRawMS2Heatmap:n=>n.heatmap_raw2,selectedObservedMassFromFragmentTable:n=>n.selectedObservedMass},actions:{updateSelectedScan(n){this.scanIndex=n},updateSelectedMass(n){this.massIndex=n},updateSelectedProtein(n){this.proteinIndex=n},updateSelectedTag(n){this.tagIndex=n},selectedAminoAcid(n){this.selectedObservedMass=n},updateSelectedAA(n){this.AApos=n},updateTagData(n){this.tagData=n},updateRawHeatmapSelection(n){this.heatmap_raw=n},updateRawMS2HeatmapSelection(n){this.heatmap_raw2=n},updateDeconvHeatmapSelection(n){this.heatmap_deconv=n},updateDeconvMS2HeatmapSelection(n){this.heatmap_deconv2=n}}}),Ns=i2("streamlit-data",{state:()=>({renderData:null,dataForDrawing:{},dataset:"",hash:""}),getters:{args:n=>{var e;return(e=n.renderData)==null?void 0:e.args},components(){return this.args.components},allDataForDrawing:n=>n.dataForDrawing,sequenceData:n=>n.dataForDrawing.sequence_data,settings:n=>n.dataForDrawing.settings,internalFragmentData:n=>n.dataForDrawing.internal_fragment_data,theme:n=>{var e;return(e=n.renderData)==null?void 0:e.theme}},actions:{updateRenderData(n){var D;if(rc().$patch(T=>{if(n.args.selection_store.id!==T.id)for(const p in T)T[p]=void 0;Object.assign(T,n.args.selection_store)}),console.log(n.args.selection_store.id),this.hash===n.args.hash)return;this.hash=n.args.hash,delete n.args.selection_store,delete n.args.hash,this.dataForDrawing={},this.dataset=(D=n.args)==null?void 0:D.dataset,this.renderData=n;function r(T){if(typeof T=="bigint")return Number(T);if(T instanceof Ta){const p=[];for(let t=0;t{if(p instanceof tx){const t=[],d=p.table.schema.fields.map(g=>g.name);for(let g=0;g{var f;i[M]=r((f=p.table.getChildAt(v))==null?void 0:f.get(g))}),t.push(i)}this.dataForDrawing[T]=t}else this.dataForDrawing[T]=p})}}});var EM={exports:{}};(function(n,e){/*! For license information please see plotly.min.js.LICENSE.txt */(function(r,C){n.exports=C()})(self,function(){return function(){var r={98847:function(T,p,t){var d=t(71828),g={"X,X div":'direction:ltr;font-family:"Open Sans",verdana,arial,sans-serif;margin:0;padding:0;',"X input,X button":'font-family:"Open Sans",verdana,arial,sans-serif;',"X input:focus,X button:focus":"outline:none;","X a":"text-decoration:none;","X a:hover":"text-decoration:none;","X .crisp":"shape-rendering:crispEdges;","X .user-select-none":"-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;","X svg":"overflow:hidden;","X svg a":"fill:#447adb;","X svg a:hover":"fill:#3c6dc5;","X .main-svg":"position:absolute;top:0;left:0;pointer-events:none;","X .main-svg .draglayer":"pointer-events:all;","X .cursor-default":"cursor:default;","X .cursor-pointer":"cursor:pointer;","X .cursor-crosshair":"cursor:crosshair;","X .cursor-move":"cursor:move;","X .cursor-col-resize":"cursor:col-resize;","X .cursor-row-resize":"cursor:row-resize;","X .cursor-ns-resize":"cursor:ns-resize;","X .cursor-ew-resize":"cursor:ew-resize;","X .cursor-sw-resize":"cursor:sw-resize;","X .cursor-s-resize":"cursor:s-resize;","X .cursor-se-resize":"cursor:se-resize;","X .cursor-w-resize":"cursor:w-resize;","X .cursor-e-resize":"cursor:e-resize;","X .cursor-nw-resize":"cursor:nw-resize;","X .cursor-n-resize":"cursor:n-resize;","X .cursor-ne-resize":"cursor:ne-resize;","X .cursor-grab":"cursor:-webkit-grab;cursor:grab;","X .modebar":"position:absolute;top:2px;right:2px;","X .ease-bg":"-webkit-transition:background-color .3s ease 0s;-moz-transition:background-color .3s ease 0s;-ms-transition:background-color .3s ease 0s;-o-transition:background-color .3s ease 0s;transition:background-color .3s ease 0s;","X .modebar--hover>:not(.watermark)":"opacity:0;-webkit-transition:opacity .3s ease 0s;-moz-transition:opacity .3s ease 0s;-ms-transition:opacity .3s ease 0s;-o-transition:opacity .3s ease 0s;transition:opacity .3s ease 0s;","X:hover .modebar--hover .modebar-group":"opacity:1;","X .modebar-group":"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;","X .modebar-btn":"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;","X .modebar-btn svg":"position:relative;top:2px;","X .modebar.vertical":"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;","X .modebar.vertical svg":"top:-1px;","X .modebar.vertical .modebar-group":"display:block;float:none;padding-left:0px;padding-bottom:8px;","X .modebar.vertical .modebar-group .modebar-btn":"display:block;text-align:center;","X [data-title]:before,X [data-title]:after":"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none;opacity:0;z-index:1001;pointer-events:none;top:110%;right:50%;","X [data-title]:hover:before,X [data-title]:hover:after":"display:block;opacity:1;","X [data-title]:before":'content:"";position:absolute;background:rgba(0,0,0,0);border:6px solid rgba(0,0,0,0);z-index:1002;margin-top:-12px;border-bottom-color:#69738a;margin-right:-6px;',"X [data-title]:after":"content:attr(data-title);background:#69738a;color:#fff;padding:8px 10px;font-size:12px;line-height:12px;white-space:nowrap;margin-right:-18px;border-radius:2px;","X .vertical [data-title]:before,X .vertical [data-title]:after":"top:0%;right:200%;","X .vertical [data-title]:before":"border:6px solid rgba(0,0,0,0);border-left-color:#69738a;margin-top:8px;margin-right:-30px;",Y:'font-family:"Open Sans",verdana,arial,sans-serif;position:fixed;top:50px;right:20px;z-index:10000;font-size:10pt;max-width:180px;',"Y p":"margin:0;","Y .notifier-note":"min-width:180px;max-width:250px;border:1px solid #fff;z-index:3000;margin:0;background-color:#8c97af;background-color:rgba(140,151,175,.9);color:#fff;padding:10px;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-webkit-hyphens:auto;hyphens:auto;","Y .notifier-close":"color:#fff;opacity:.8;float:right;padding:0 5px;background:none;border:none;font-size:20px;font-weight:bold;line-height:20px;","Y .notifier-close:hover":"color:#444;text-decoration:none;cursor:pointer;"};for(var i in g){var M=i.replace(/^,/," ,").replace(/X/g,".js-plotly-plot .plotly").replace(/Y/g,".plotly-notifier");d.addStyleRule(M,g[i])}},98222:function(T,p,t){T.exports=t(82887)},27206:function(T,p,t){T.exports=t(60822)},59893:function(T,p,t){T.exports=t(23381)},5224:function(T,p,t){T.exports=t(83832)},59509:function(T,p,t){T.exports=t(72201)},75557:function(T,p,t){T.exports=t(91815)},40338:function(T,p,t){T.exports=t(21462)},35080:function(T,p,t){T.exports=t(51319)},61396:function(T,p,t){T.exports=t(57516)},40549:function(T,p,t){T.exports=t(98128)},49866:function(T,p,t){T.exports=t(99442)},36089:function(T,p,t){T.exports=t(93740)},19548:function(T,p,t){T.exports=t(8729)},35831:function(T,p,t){T.exports=t(93814)},61039:function(T,p,t){T.exports=t(14382)},97040:function(T,p,t){T.exports=t(51759)},77986:function(T,p,t){T.exports=t(10421)},24296:function(T,p,t){T.exports=t(43102)},58872:function(T,p,t){T.exports=t(92165)},29626:function(T,p,t){T.exports=t(3325)},65591:function(T,p,t){T.exports=t(36071)},69738:function(T,p,t){T.exports=t(43905)},92650:function(T,p,t){T.exports=t(35902)},35630:function(T,p,t){T.exports=t(69816)},73434:function(T,p,t){T.exports=t(94507)},27909:function(T,p,t){var d=t(19548);d.register([t(27206),t(5224),t(58872),t(65591),t(69738),t(92650),t(49866),t(25743),t(6197),t(97040),t(85461),t(73434),t(54201),t(81299),t(47645),t(35630),t(77986),t(83043),t(93005),t(96881),t(4534),t(50581),t(40549),t(77900),t(47582),t(35080),t(21641),t(17280),t(5861),t(29626),t(10021),t(65317),t(96268),t(61396),t(35831),t(16122),t(46163),t(40344),t(40338),t(48131),t(36089),t(55334),t(75557),t(19440),t(99488),t(59893),t(97393),t(98222),t(61039),t(24296),t(66398),t(59509)]),T.exports=d},46163:function(T,p,t){T.exports=t(15154)},96881:function(T,p,t){T.exports=t(64943)},50581:function(T,p,t){T.exports=t(21164)},55334:function(T,p,t){T.exports=t(54186)},65317:function(T,p,t){T.exports=t(94873)},10021:function(T,p,t){T.exports=t(67618)},54201:function(T,p,t){T.exports=t(58810)},5861:function(T,p,t){T.exports=t(20593)},16122:function(T,p,t){T.exports=t(29396)},83043:function(T,p,t){T.exports=t(13551)},48131:function(T,p,t){T.exports=t(46858)},47582:function(T,p,t){T.exports=t(17988)},21641:function(T,p,t){T.exports=t(68868)},96268:function(T,p,t){T.exports=t(20467)},19440:function(T,p,t){T.exports=t(91271)},99488:function(T,p,t){T.exports=t(21461)},97393:function(T,p,t){T.exports=t(85956)},25743:function(T,p,t){T.exports=t(52979)},66398:function(T,p,t){T.exports=t(32275)},17280:function(T,p,t){T.exports=t(6419)},77900:function(T,p,t){T.exports=t(61510)},81299:function(T,p,t){T.exports=t(87619)},93005:function(T,p,t){T.exports=t(93601)},40344:function(T,p,t){T.exports=t(96595)},47645:function(T,p,t){T.exports=t(70954)},6197:function(T,p,t){T.exports=t(47462)},4534:function(T,p,t){T.exports=t(17659)},85461:function(T,p,t){T.exports=t(19990)},82884:function(T){T.exports=[{path:"",backoff:0},{path:"M-2.4,-3V3L0.6,0Z",backoff:.6},{path:"M-3.7,-2.5V2.5L1.3,0Z",backoff:1.3},{path:"M-4.45,-3L-1.65,-0.2V0.2L-4.45,3L1.55,0Z",backoff:1.55},{path:"M-2.2,-2.2L-0.2,-0.2V0.2L-2.2,2.2L-1.4,3L1.6,0L-1.4,-3Z",backoff:1.6},{path:"M-4.4,-2.1L-0.6,-0.2V0.2L-4.4,2.1L-4,3L2,0L-4,-3Z",backoff:2},{path:"M2,0A2,2 0 1,1 0,-2A2,2 0 0,1 2,0Z",backoff:0,noRotate:!0},{path:"M2,2V-2H-2V2Z",backoff:0,noRotate:!0}]},50215:function(T,p,t){var d=t(82884),g=t(41940),i=t(85555),M=t(44467).templatedArray;t(24695),T.exports=M("annotation",{visible:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},text:{valType:"string",editType:"calc+arraydraw"},textangle:{valType:"angle",dflt:0,editType:"calc+arraydraw"},font:g({editType:"calc+arraydraw",colorEditType:"arraydraw"}),width:{valType:"number",min:1,dflt:null,editType:"calc+arraydraw"},height:{valType:"number",min:1,dflt:null,editType:"calc+arraydraw"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"arraydraw"},align:{valType:"enumerated",values:["left","center","right"],dflt:"center",editType:"arraydraw"},valign:{valType:"enumerated",values:["top","middle","bottom"],dflt:"middle",editType:"arraydraw"},bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},bordercolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},borderpad:{valType:"number",min:0,dflt:1,editType:"calc+arraydraw"},borderwidth:{valType:"number",min:0,dflt:1,editType:"calc+arraydraw"},showarrow:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},arrowcolor:{valType:"color",editType:"arraydraw"},arrowhead:{valType:"integer",min:0,max:d.length,dflt:1,editType:"arraydraw"},startarrowhead:{valType:"integer",min:0,max:d.length,dflt:1,editType:"arraydraw"},arrowside:{valType:"flaglist",flags:["end","start"],extras:["none"],dflt:"end",editType:"arraydraw"},arrowsize:{valType:"number",min:.3,dflt:1,editType:"calc+arraydraw"},startarrowsize:{valType:"number",min:.3,dflt:1,editType:"calc+arraydraw"},arrowwidth:{valType:"number",min:.1,editType:"calc+arraydraw"},standoff:{valType:"number",min:0,dflt:0,editType:"calc+arraydraw"},startstandoff:{valType:"number",min:0,dflt:0,editType:"calc+arraydraw"},ax:{valType:"any",editType:"calc+arraydraw"},ay:{valType:"any",editType:"calc+arraydraw"},axref:{valType:"enumerated",dflt:"pixel",values:["pixel",i.idRegex.x.toString()],editType:"calc"},ayref:{valType:"enumerated",dflt:"pixel",values:["pixel",i.idRegex.y.toString()],editType:"calc"},xref:{valType:"enumerated",values:["paper",i.idRegex.x.toString()],editType:"calc"},x:{valType:"any",editType:"calc+arraydraw"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto",editType:"calc+arraydraw"},xshift:{valType:"number",dflt:0,editType:"calc+arraydraw"},yref:{valType:"enumerated",values:["paper",i.idRegex.y.toString()],editType:"calc"},y:{valType:"any",editType:"calc+arraydraw"},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"auto",editType:"calc+arraydraw"},yshift:{valType:"number",dflt:0,editType:"calc+arraydraw"},clicktoshow:{valType:"enumerated",values:[!1,"onoff","onout"],dflt:!1,editType:"arraydraw"},xclick:{valType:"any",editType:"arraydraw"},yclick:{valType:"any",editType:"arraydraw"},hovertext:{valType:"string",editType:"arraydraw"},hoverlabel:{bgcolor:{valType:"color",editType:"arraydraw"},bordercolor:{valType:"color",editType:"arraydraw"},font:g({editType:"arraydraw"}),editType:"arraydraw"},captureevents:{valType:"boolean",editType:"arraydraw"},editType:"calc",_deprecated:{ref:{valType:"string",editType:"calc"}}})},3749:function(T,p,t){var d=t(71828),g=t(89298),i=t(92605).draw;function M(f){var l=f._fullLayout;d.filterVisible(l.annotations).forEach(function(a){var u=g.getFromId(f,a.xref),o=g.getFromId(f,a.yref),s=g.getRefType(a.xref),c=g.getRefType(a.yref);a._extremes={},s==="range"&&v(a,u),c==="range"&&v(a,o)})}function v(f,l){var a,u=l._id,o=u.charAt(0),s=f[o],c=f["a"+o],h=f[o+"ref"],m=f["a"+o+"ref"],w=f["_"+o+"padplus"],y=f["_"+o+"padminus"],S={x:1,y:-1}[o]*f[o+"shift"],_=3*f.arrowsize*f.arrowwidth||0,k=_+S,E=_-S,x=3*f.startarrowsize*f.arrowwidth||0,A=x+S,L=x-S;if(m===h){var b=g.findExtremes(l,[l.r2c(s)],{ppadplus:k,ppadminus:E}),R=g.findExtremes(l,[l.r2c(c)],{ppadplus:Math.max(w,A),ppadminus:Math.max(y,L)});a={min:[b.min[0],R.min[0]],max:[b.max[0],R.max[0]]}}else A=c?A+c:A,L=c?L-c:L,a=g.findExtremes(l,[l.r2c(s)],{ppadplus:Math.max(w,k,A),ppadminus:Math.max(y,E,L)});f._extremes[u]=a}T.exports=function(f){var l=f._fullLayout;if(d.filterVisible(l.annotations).length&&f._fullData.length)return d.syncOrAsync([i,M],f)}},44317:function(T,p,t){var d=t(71828),g=t(73972),i=t(44467).arrayEditor;function M(f,l){var a,u,o,s,c,h,m,w=f._fullLayout.annotations,y=[],S=[],_=[],k=(l||[]).length;for(a=0;a0||a.explicitOff.length>0},onClick:function(f,l){var a,u,o=M(f,l),s=o.on,c=o.off.concat(o.explicitOff),h={},m=f._fullLayout.annotations;if(s.length||c.length){for(a=0;a.6666666666666666?"right":"center"),{center:0,middle:0,left:.5,bottom:-.5,right:-.5,top:.5}[yt]}for(var Be=!1,ze=["x","y"],je=0;je1)&&(ot===st?((Vt=ht.r2fraction(k["a"+Ye]))<0||Vt>1)&&(Be=!0):Be=!0),ge=ht._offset+ht.r2p(k[Ye]),Ve=.5}else{var Ke=qt==="domain";Ye==="x"?(Ee=k[Ye],ge=Ke?ht._offset+ht._length*Ee:ge=O.l+O.w*Ee):(Ee=1-k[Ye],ge=Ke?ht._offset+ht._length*Ee:ge=O.t+O.h*Ee),Ve=k.showarrow?.5:Ee}if(k.showarrow){Bt.head=ge;var Je=k["a"+Ye];if($e=Et*Le(.5,k.xanchor)-kt*Le(.5,k.yanchor),ot===st){var qe=f.getRefType(ot);qe==="domain"?(Ye==="y"&&(Je=1-Je),Bt.tail=ht._offset+ht._length*Je):qe==="paper"?Ye==="y"?(Je=1-Je,Bt.tail=O.t+O.h*Je):Bt.tail=O.l+O.w*Je:Bt.tail=ht._offset+ht.r2p(Je),we=$e}else Bt.tail=ge+Je,we=$e+Je;Bt.text=Bt.tail+$e;var nt=I[Ye==="x"?"width":"height"];if(st==="paper"&&(Bt.head=M.constrain(Bt.head,1,nt-1)),ot==="pixel"){var ft=-Math.max(Bt.tail-3,Bt.text),Re=Math.min(Bt.tail+3,Bt.text)-nt;ft>0?(Bt.tail+=ft,Bt.text+=ft):Re>0&&(Bt.tail-=Re,Bt.text-=Re)}Bt.tail+=Ot,Bt.head+=Ot}else we=$e=xt*Le(Ve,Ft),Bt.text=ge+$e;Bt.text+=Ot,$e+=Ot,we+=Ot,k["_"+Ye+"padplus"]=xt/2+we,k["_"+Ye+"padminus"]=xt/2-we,k["_"+Ye+"size"]=xt,k["_"+Ye+"shift"]=$e}if(Be)te.remove();else{var Ne=0,Qe=0;if(k.align!=="left"&&(Ne=(ae-Se)*(k.align==="center"?.5:1)),k.valign!=="top"&&(Qe=(fe-Ce)*(k.valign==="middle"?.5:1)),_e)Pe.select("svg").attr({x:Q+Ne-1,y:Q+Qe}).call(a.setClipUrl,ie?j:null,_);else{var ut=Q+Qe-Me.top,dt=Q+Ne-Me.left;ye.call(o.positionText,dt,ut).call(a.setClipUrl,ie?j:null,_)}oe.select("rect").call(a.setRect,Q,Q,ae,fe),re.call(a.setRect,Z/2,Z/2,be-Z,ke-Z),te.call(a.setTranslate,Math.round($.x.text-be/2),Math.round($.y.text-ke/2)),q.attr({transform:"rotate("+U+","+$.x.text+","+$.y.text+")"});var _t,It=function(Lt,yt){G.selectAll(".annotation-arrow-g").remove();var Pt=$.x.head,wt=$.y.head,Rt=$.x.tail+Lt,Nt=$.y.tail+yt,Yt=$.x.text+Lt,Wt=$.y.text+yt,Xt=M.rotationXYMatrix(U,Yt,Wt),Qt=M.apply2DTransform(Xt),rn=M.apply2DTransform2(Xt),xn=+re.attr("width"),un=+re.attr("height"),An=Yt-.5*xn,Yn=An+xn,kn=Wt-.5*un,sn=kn+un,Tn=[[An,kn,An,sn],[An,sn,Yn,sn],[Yn,sn,Yn,kn],[Yn,kn,An,kn]].map(rn);if(!Tn.reduce(function(or,vr){return or^!!M.segmentsIntersect(Pt,wt,Pt+1e6,wt+1e6,vr[0],vr[1],vr[2],vr[3])},!1)){Tn.forEach(function(or){var vr=M.segmentsIntersect(Rt,Nt,Pt,wt,or[0],or[1],or[2],or[3]);vr&&(Rt=vr.x,Nt=vr.y)});var dn=k.arrowwidth,pn=k.arrowcolor,Dn=k.arrowside,In=G.append("g").style({opacity:l.opacity(pn)}).classed("annotation-arrow-g",!0),jn=In.append("path").attr("d","M"+Rt+","+Nt+"L"+Pt+","+wt).style("stroke-width",dn+"px").call(l.stroke,l.rgb(pn));if(m(jn,Dn,k),z.annotationPosition&&jn.node().parentNode&&!x){var Gn=Pt,qn=wt;if(k.standoff){var lr=Math.sqrt(Math.pow(Pt-Rt,2)+Math.pow(wt-Nt,2));Gn+=k.standoff*(Rt-Pt)/lr,qn+=k.standoff*(Nt-wt)/lr}var rr,Sr,yr=In.append("path").classed("annotation-arrow",!0).classed("anndrag",!0).classed("cursor-move",!0).attr({d:"M3,3H-3V-3H3ZM0,0L"+(Rt-Gn)+","+(Nt-qn),transform:v(Gn,qn)}).style("stroke-width",dn+6+"px").call(l.stroke,"rgba(0,0,0,0)").call(l.fill,"rgba(0,0,0,0)");c.init({element:yr.node(),gd:_,prepFn:function(){var or=a.getTranslate(te);rr=or.x,Sr=or.y,A&&A.autorange&&B(A._name+".autorange",!0),L&&L.autorange&&B(L._name+".autorange",!0)},moveFn:function(or,vr){var _r=Qt(rr,Sr),Kt=_r[0]+or,bn=_r[1]+vr;te.call(a.setTranslate,Kt,bn),N("x",y(A,or,"x",O,k)),N("y",y(L,vr,"y",O,k)),k.axref===k.xref&&N("ax",y(A,or,"ax",O,k)),k.ayref===k.yref&&N("ay",y(L,vr,"ay",O,k)),In.attr("transform",v(or,vr)),q.attr({transform:"rotate("+U+","+Kt+","+bn+")"})},doneFn:function(){g.call("_guiRelayout",_,W());var or=document.querySelector(".js-notes-box-panel");or&&or.redraw(or.selectedObj)}})}}};k.showarrow&&It(0,0),H&&c.init({element:te.node(),gd:_,prepFn:function(){_t=q.attr("transform")},moveFn:function(Lt,yt){var Pt="pointer";if(k.showarrow)k.axref===k.xref?N("ax",y(A,Lt,"ax",O,k)):N("ax",k.ax+Lt),k.ayref===k.yref?N("ay",y(L,yt,"ay",O.w,k)):N("ay",k.ay+yt),It(Lt,yt);else{if(x)return;var wt,Rt;if(A)wt=y(A,Lt,"x",O,k);else{var Nt=k._xsize/O.w,Yt=k.x+(k._xshift-k.xshift)/O.w-Nt/2;wt=c.align(Yt+Lt/O.w,Nt,0,1,k.xanchor)}if(L)Rt=y(L,yt,"y",O,k);else{var Wt=k._ysize/O.h,Xt=k.y-(k._yshift+k.yshift)/O.h-Wt/2;Rt=c.align(Xt-yt/O.h,Wt,0,1,k.yanchor)}N("x",wt),N("y",Rt),A&&L||(Pt=c.getCursor(A?.5:wt,L?.5:Rt,k.xanchor,k.yanchor))}q.attr({transform:v(Lt,yt)+_t}),s(te,Pt)},clickFn:function(Lt,yt){k.captureevents&&_.emit("plotly_clickannotation",de(yt))},doneFn:function(){s(te),g.call("_guiRelayout",_,W());var Lt=document.querySelector(".js-notes-box-panel");Lt&&Lt.redraw(Lt.selectedObj)}})}}}T.exports={draw:function(_){var k=_._fullLayout;k._infolayer.selectAll(".annotation").remove();for(var E=0;E=0,x=u.indexOf("end")>=0,A=y.backoff*_+o.standoff,L=S.backoff*k+o.startstandoff;if(w.nodeName==="line"){s={x:+a.attr("x1"),y:+a.attr("y1")},c={x:+a.attr("x2"),y:+a.attr("y2")};var b=s.x-c.x,R=s.y-c.y;if(m=(h=Math.atan2(R,b))+Math.PI,A&&L&&A+L>Math.sqrt(b*b+R*R))return void G();if(A){if(A*A>b*b+R*R)return void G();var I=A*Math.cos(h),O=A*Math.sin(h);c.x+=I,c.y+=O,a.attr({x2:c.x,y2:c.y})}if(L){if(L*L>b*b+R*R)return void G();var z=L*Math.cos(h),F=L*Math.sin(h);s.x-=z,s.y-=F,a.attr({x1:s.x,y1:s.y})}}else if(w.nodeName==="path"){var B=w.getTotalLength(),N="";if(B1){o=!0;break}}o?M.fullLayout._infolayer.select(".annotation-"+M.id+'[data-index="'+a+'"]').remove():(u._pdata=g(M.glplot.cameraParams,[v.xaxis.r2l(u.x)*f[0],v.yaxis.r2l(u.y)*f[1],v.zaxis.r2l(u.z)*f[2]]),d(M.graphDiv,u,a,M.id,u._xa,u._ya))}}},2468:function(T,p,t){var d=t(73972),g=t(71828);T.exports={moduleType:"component",name:"annotations3d",schema:{subplots:{scene:{annotations:t(26997)}}},layoutAttributes:t(26997),handleDefaults:t(20226),includeBasePlot:function(i,M){var v=d.subplotsRegistry.gl3d;if(v)for(var f=v.attrRegex,l=Object.keys(i),a=0;a=0)))return u;if(m===3)c[m]>1&&(c[m]=1);else if(c[m]>=1)return u}var w=Math.round(255*c[0])+", "+Math.round(255*c[1])+", "+Math.round(255*c[2]);return h?"rgba("+w+", "+c[3]+")":"rgb("+w+")"}M.tinyRGB=function(u){var o=u.toRgb();return"rgb("+Math.round(o.r)+", "+Math.round(o.g)+", "+Math.round(o.b)+")"},M.rgb=function(u){return M.tinyRGB(d(u))},M.opacity=function(u){return u?d(u).getAlpha():0},M.addOpacity=function(u,o){var s=d(u).toRgb();return"rgba("+Math.round(s.r)+", "+Math.round(s.g)+", "+Math.round(s.b)+", "+o+")"},M.combine=function(u,o){var s=d(u).toRgb();if(s.a===1)return d(u).toRgbString();var c=d(o||l).toRgb(),h=c.a===1?c:{r:255*(1-c.a)+c.r*c.a,g:255*(1-c.a)+c.g*c.a,b:255*(1-c.a)+c.b*c.a},m={r:h.r*(1-s.a)+s.r*s.a,g:h.g*(1-s.a)+s.g*s.a,b:h.b*(1-s.a)+s.b*s.a};return d(m).toRgbString()},M.contrast=function(u,o,s){var c=d(u);return c.getAlpha()!==1&&(c=d(M.combine(u,l))),(c.isDark()?o?c.lighten(o):l:s?c.darken(s):f).toString()},M.stroke=function(u,o){var s=d(o);u.style({stroke:M.tinyRGB(s),"stroke-opacity":s.getAlpha()})},M.fill=function(u,o){var s=d(o);u.style({fill:M.tinyRGB(s),"fill-opacity":s.getAlpha()})},M.clean=function(u){if(u&&typeof u=="object"){var o,s,c,h,m=Object.keys(u);for(o=0;o0?Je>=Ne:Je<=Ne));qe++)Je>ut&&Je0?Je>=Ne:Je<=Ne));qe++)Je>Ke[0]&&Je1){var ot=Math.pow(10,Math.floor(Math.log(st)/Math.LN10));$e*=ot*l.roundUp(st/ot,[2,5,10]),(Math.abs(_e.start)/_e.size+1e-6)%1<2e-6&&(Ee.tick0=0)}Ee.dtick=$e}Ee.domain=W?[ge+Q/ue.h,ge+ke-Q/ue.h]:[ge+X/ue.w,ge+ke-X/ue.w],Ee.setScale(),F.attr("transform",a(Math.round(ue.l),Math.round(ue.t)));var ht,bt=F.select("."+L.cbtitleunshift).attr("transform",a(-Math.round(ue.l),-Math.round(ue.t))),Et=Ee.ticklabelposition,kt=Ee.title.font.size,xt=F.select("."+L.cbaxis),Ft=0,Ot=0;function Bt(qt,Vt){var Ke={propContainer:Ee,propName:B._propPrefix+"title",traceIndex:B._traceIndex,_meta:B._meta,placeholder:oe._dfltTitle.colorbar,containerGroup:F.select("."+L.cbtitle)},Je=qt.charAt(0)==="h"?qt.substr(1):"h"+qt;F.selectAll("."+Je+",."+Je+"-math-group").remove(),h.draw(N,qt,u(Ke,Vt||{}))}return l.syncOrAsync([i.previousPromises,function(){var qt,Vt;(W&&Ve||!W&&!Ve)&&(me==="top"&&(qt=X+ue.l+ue.w*re,Vt=Q+ue.t+ue.h*(1-ge-ke)+3+.75*kt),me==="bottom"&&(qt=X+ue.l+ue.w*re,Vt=Q+ue.t+ue.h*(1-ge)-3-.25*kt),me==="right"&&(Vt=Q+ue.t+ue.h*ie+3+.75*kt,qt=X+ue.l+ue.w*ge),Bt(Ee._id+"title",{attributes:{x:qt,y:Vt,"text-anchor":W?"start":"middle"}}))},function(){if(!W&&!Ve||W&&Ve){var qt,Vt=F.select("."+L.cbtitle),Ke=Vt.select("text"),Je=[-q/2,q/2],qe=Vt.select(".h"+Ee._id+"title-math-group").node(),nt=15.6;if(Ke.node()&&(nt=parseInt(Ke.node().style.fontSize,10)*E),qe?(qt=s.bBox(qe),Ot=qt.width,(Ft=qt.height)>nt&&(Je[1]-=(Ft-nt)/2)):Ke.node()&&!Ke.classed(L.jsPlaceholder)&&(qt=s.bBox(Ke.node()),Ot=qt.width,Ft=qt.height),W){if(Ft){if(Ft+=5,me==="top")Ee.domain[1]-=Ft/ue.h,Je[1]*=-1;else{Ee.domain[0]+=Ft/ue.h;var ft=m.lineCount(Ke);Je[1]+=(1-ft)*nt}Vt.attr("transform",a(Je[0],Je[1])),Ee.setScale()}}else Ot&&(me==="right"&&(Ee.domain[0]+=(Ot+kt/2)/ue.w),Vt.attr("transform",a(Je[0],Je[1])),Ee.setScale())}F.selectAll("."+L.cbfills+",."+L.cblines).attr("transform",W?a(0,Math.round(ue.h*(1-Ee.domain[1]))):a(Math.round(ue.w*Ee.domain[0]),0)),xt.attr("transform",W?a(0,Math.round(-ue.t)):a(Math.round(-ue.l),0));var Re=F.select("."+L.cbfills).selectAll("rect."+L.cbfill).attr("style","").data(Se);Re.enter().append("rect").classed(L.cbfill,!0).style("stroke","none"),Re.exit().remove();var Ne=pe.map(Ee.c2p).map(Math.round).sort(function(It,Lt){return It-Lt});Re.each(function(It,Lt){var yt=[Lt===0?pe[0]:(Se[Lt]+Se[Lt-1])/2,Lt===Se.length-1?pe[1]:(Se[Lt]+Se[Lt+1])/2].map(Ee.c2p).map(Math.round);W&&(yt[1]=l.constrain(yt[1]+(yt[1]>yt[0])?1:-1,Ne[0],Ne[1]));var Pt=d.select(this).attr(W?"x":"y",Le).attr(W?"y":"x",d.min(yt)).attr(W?"width":"height",Math.max(ae,2)).attr(W?"height":"width",Math.max(d.max(yt)-d.min(yt),2));if(B._fillgradient)s.gradient(Pt,N,B._id,W?"vertical":"horizontalreversed",B._fillgradient,"fill");else{var wt=Pe(It).replace("e-","");Pt.attr("fill",g(wt).toHexString())}});var Qe=F.select("."+L.cblines).selectAll("path."+L.cbline).data(ye.color&&ye.width?Ce:[]);Qe.enter().append("path").classed(L.cbline,!0),Qe.exit().remove(),Qe.each(function(It){var Lt=Le,yt=Math.round(Ee.c2p(It))+ye.width/2%1;d.select(this).attr("d","M"+(W?Lt+","+yt:yt+","+Lt)+(W?"h":"v")+ae).call(s.lineGroupStyle,ye.width,xe(It),ye.dash)}),xt.selectAll("g."+Ee._id+"tick,path").remove();var ut=Le+ae+(q||0)/2-(B.ticks==="outside"?1:0),dt=v.calcTicks(Ee),_t=v.getTickSigns(Ee)[2];return v.drawTicks(N,Ee,{vals:Ee.ticks==="inside"?v.clipEnds(Ee,dt):dt,layer:xt,path:v.makeTickPath(Ee,ut,_t),transFn:v.makeTransTickFn(Ee)}),v.drawLabels(N,Ee,{vals:dt,layer:xt,transFn:v.makeTransTickLabelFn(Ee),labelFns:v.makeLabelFns(Ee,ut)})},function(){if(W&&!Ve||!W&&Ve){var qt,Vt,Ke=Ee.position||0,Je=Ee._offset+Ee._length/2;if(me==="right")Vt=Je,qt=ue.l+ue.w*Ke+10+kt*(Ee.showticklabels?1:.5);else if(qt=Je,me==="bottom"&&(Vt=ue.t+ue.h*Ke+10+(Et.indexOf("inside")===-1?Ee.tickfont.size:0)+(Ee.ticks!=="intside"&&B.ticklen||0)),me==="top"){var qe=de.text.split("
").length;Vt=ue.t+ue.h*Ke+10-ae-E*kt*qe}Bt((W?"h":"v")+Ee._id+"title",{avoid:{selection:d.select(N).selectAll("g."+Ee._id+"tick"),side:me,offsetTop:W?0:ue.t,offsetLeft:W?ue.l:0,maxShift:W?oe.width:oe.height},attributes:{x:qt,y:Vt,"text-anchor":"middle"},transform:{rotate:W?-90:0,offset:0}})}},i.previousPromises,function(){var qt,Vt=ae+q/2;Et.indexOf("inside")===-1&&(qt=s.bBox(xt.node()),Vt+=W?qt.width:qt.height),ht=bt.select("text");var Ke=0,Je=W&&me==="top",qe=!W&&me==="right",nt=0;if(ht.node()&&!ht.classed(L.jsPlaceholder)){var ft,Re=bt.select(".h"+Ee._id+"title-math-group").node();Re&&(W&&Ve||!W&&!Ve)?(Ke=(qt=s.bBox(Re)).width,ft=qt.height):(Ke=(qt=s.bBox(bt.node())).right-ue.l-(W?Le:we),ft=qt.bottom-ue.t-(W?we:Le),W||me!=="top"||(Vt+=qt.height,nt=qt.height)),qe&&(ht.attr("transform",a(Ke/2+kt/2,0)),Ke*=2),Vt=Math.max(Vt,W?Ke:ft)}var Ne=2*(W?X:Q)+Vt+H+q/2,Qe=0;!W&&de.text&&Z==="bottom"&&ie<=0&&(Ne+=Qe=Ne/2,nt+=Qe),oe._hColorbarMoveTitle=Qe,oe._hColorbarMoveCBTitle=nt;var ut=H+q;F.select("."+L.cbbg).attr("x",(W?Le:we)-ut/2-(W?X:0)).attr("y",(W?we:Le)-(W?be:Q+nt-Qe)).attr(W?"width":"height",Math.max(Ne-Qe,2)).attr(W?"height":"width",Math.max(be+ut,2)).call(c.fill,ne).call(c.stroke,B.bordercolor).style("stroke-width",H);var dt=qe?Math.max(Ke-10,0):0;if(F.selectAll("."+L.cboutline).attr("x",(W?Le:we+X)+dt).attr("y",(W?we+Q-be:Le)+(Je?Ft:0)).attr(W?"width":"height",Math.max(ae,2)).attr(W?"height":"width",Math.max(be-(W?2*Q+Ft:2*X+dt),2)).call(c.stroke,B.outlinecolor).style({fill:"none","stroke-width":q}),F.attr("transform",a(ue.l-(W?Be*Ne:0),ue.t-(W?0:(1-ze)*Ne-nt))),!W&&(H||g(ne).getAlpha()&&!g.equals(oe.paper_bgcolor,ne))){var _t=xt.selectAll("text"),It=_t[0].length,Lt=F.select("."+L.cbbg).node(),yt=s.bBox(Lt),Pt=s.getTranslate(F);_t.each(function(Qt,rn){var xn=It-1;if(rn===0||rn===xn){var un,An=s.bBox(this),Yn=s.getTranslate(this);if(rn===xn){var kn=An.right+Yn.x;(un=yt.right+Pt.x+we-H-2+re-kn)>0&&(un=0)}else if(rn===0){var sn=An.left+Yn.x;(un=yt.left+Pt.x+we+H+2-sn)<0&&(un=0)}un&&(It<3?this.setAttribute("transform","translate("+un+",0) "+this.getAttribute("transform")):this.setAttribute("visibility","hidden"))}})}var wt={},Rt=x[te],Nt=A[te],Yt=x[Z],Wt=A[Z],Xt=Ne-ae;W?($==="pixels"?(wt.y=ie,wt.t=be*Yt,wt.b=be*Wt):(wt.t=wt.b=0,wt.yt=ie+j*Yt,wt.yb=ie-j*Wt),G==="pixels"?(wt.x=re,wt.l=Ne*Rt,wt.r=Ne*Nt):(wt.l=Xt*Rt,wt.r=Xt*Nt,wt.xl=re-U*Rt,wt.xr=re+U*Nt)):($==="pixels"?(wt.x=re,wt.l=be*Rt,wt.r=be*Nt):(wt.l=wt.r=0,wt.xl=re+j*Rt,wt.xr=re-j*Nt),G==="pixels"?(wt.y=1-ie,wt.t=Ne*Yt,wt.b=Ne*Wt):(wt.t=Xt*Yt,wt.b=Xt*Wt,wt.yt=ie-U*Yt,wt.yb=ie+U*Wt)),i.autoMargin(N,B._id,wt)}],N)}(O,I,b);z&&z.then&&(b._promises||[]).push(z),b._context.edits.colorbarPosition&&function(F,B,N){var W,j,$,U=B.orientation==="v",G=N._fullLayout._size;f.init({element:F.node(),gd:N,prepFn:function(){W=F.attr("transform"),o(F)},moveFn:function(q,H){F.attr("transform",W+a(q,H)),j=f.align((U?B._uFrac:B._vFrac)+q/G.w,U?B._thickFrac:B._lenFrac,0,1,B.xanchor),$=f.align((U?B._vFrac:1-B._uFrac)-H/G.h,U?B._lenFrac:B._thickFrac,0,1,B.yanchor);var ne=f.getCursor(j,$,B.xanchor,B.yanchor);o(F,ne)},doneFn:function(){if(o(F),j!==void 0&&$!==void 0){var q={};q[B._propPrefix+"x"]=j,q[B._propPrefix+"y"]=$,B._traceIndex!==void 0?M.call("_guiRestyle",N,q,B._traceIndex):M.call("_guiRelayout",N,q)}}})}(O,I,b)}),R.exit().each(function(I){i.autoMargin(b,I._id)}).remove(),R.order()}}},76228:function(T,p,t){var d=t(71828);T.exports=function(g){return d.isPlainObject(g.colorbar)}},12311:function(T,p,t){T.exports={moduleType:"component",name:"colorbar",attributes:t(63583),supplyDefaults:t(62499),draw:t(98981).draw,hasColorbar:t(76228)}},50693:function(T,p,t){var d=t(63583),g=t(30587).counter,i=t(78607),M=t(63282).scales;function v(f){return"`"+f+"`"}i(M),T.exports=function(f,l){f=f||"";var a,u=(l=l||{}).cLetter||"c",o=("onlyIfNumerical"in l&&l.onlyIfNumerical,"noScale"in l?l.noScale:f==="marker.line"),s="showScaleDflt"in l?l.showScaleDflt:u==="z",c=typeof l.colorscaleDflt=="string"?M[l.colorscaleDflt]:null,h=l.editTypeOverride||"",m=f?f+".":"";"colorAttr"in l?(a=l.colorAttr,l.colorAttr):v(m+(a={z:"z",c:"color"}[u]));var w=u+"auto",y=u+"min",S=u+"max",_=u+"mid",k={};k[y]=k[S]=void 0;var E={};E[w]=!1;var x={};return a==="color"&&(x.color={valType:"color",arrayOk:!0,editType:h||"style"},l.anim&&(x.color.anim=!0)),x[w]={valType:"boolean",dflt:!0,editType:"calc",impliedEdits:k},x[y]={valType:"number",dflt:null,editType:h||"plot",impliedEdits:E},x[S]={valType:"number",dflt:null,editType:h||"plot",impliedEdits:E},x[_]={valType:"number",dflt:null,editType:"calc",impliedEdits:k},x.colorscale={valType:"colorscale",editType:"calc",dflt:c,impliedEdits:{autocolorscale:!1}},x.autocolorscale={valType:"boolean",dflt:l.autoColorDflt!==!1,editType:"calc",impliedEdits:{colorscale:void 0}},x.reversescale={valType:"boolean",dflt:!1,editType:"plot"},o||(x.showscale={valType:"boolean",dflt:s,editType:"calc"},x.colorbar=d),l.noColorAxis||(x.coloraxis={valType:"subplotid",regex:g("coloraxis"),dflt:null,editType:"calc"}),x}},78803:function(T,p,t){var d=t(92770),g=t(71828),i=t(52075).extractOpts;T.exports=function(M,v,f){var l,a=M._fullLayout,u=f.vals,o=f.containerStr,s=o?g.nestedProperty(v,o).get():v,c=i(s),h=c.auto!==!1,m=c.min,w=c.max,y=c.mid,S=function(){return g.aggNums(Math.min,null,u)},_=function(){return g.aggNums(Math.max,null,u)};m===void 0?m=S():h&&(m=s._colorAx&&d(m)?Math.min(m,S()):S()),w===void 0?w=_():h&&(w=s._colorAx&&d(w)?Math.max(w,_()):_()),h&&y!==void 0&&(w-y>y-m?m=y-(w-y):w-y=0?a.colorscale.sequential:a.colorscale.sequentialminus,c._sync("colorscale",l))}},33046:function(T,p,t){var d=t(71828),g=t(52075).hasColorscale,i=t(52075).extractOpts;T.exports=function(M,v){function f(h,m){var w=h["_"+m];w!==void 0&&(h[m]=w)}function l(h,m){var w=m.container?d.nestedProperty(h,m.container).get():h;if(w)if(w.coloraxis)w._colorAx=v[w.coloraxis];else{var y=i(w),S=y.auto;(S||y.min===void 0)&&f(w,m.min),(S||y.max===void 0)&&f(w,m.max),y.autocolorscale&&f(w,"colorscale")}}for(var a=0;a=0;S--,_++){var k=m[S];y[_]=[1-k[0],k[1]]}return y}function c(m,w){w=w||{};for(var y=m.domain,S=m.range,_=S.length,k=new Array(_),E=0;E<_;E++){var x=g(S[E]).toRgb();k[E]=[x.r,x.g,x.b,x.a]}var A,L=d.scale.linear().domain(y).range(k).clamp(!0),b=w.noNumericCheck,R=w.returnArray;return(A=b&&R?L:b?function(I){return h(L(I))}:R?function(I){return i(I)?L(I):g(I).isValid()?I:v.defaultLine}:function(I){return i(I)?h(L(I)):g(I).isValid()?I:v.defaultLine}).domain=L.domain,A.range=function(){return S},A}function h(m){var w={r:m[0],g:m[1],b:m[2],a:m[3]};return g(w).toRgbString()}T.exports={hasColorscale:function(m,w,y){var S=w?M.nestedProperty(m,w).get()||{}:m,_=S[y||"color"],k=!1;if(M.isArrayOrTypedArray(_)){for(var E=0;E<_.length;E++)if(i(_[E])){k=!0;break}}return M.isPlainObject(S)&&(k||S.showscale===!0||i(S.cmin)&&i(S.cmax)||f(S.colorscale)||M.isPlainObject(S.colorbar))},extractOpts:u,extractScale:o,flipScale:s,makeColorScaleFunc:c,makeColorScaleFuncFromTrace:function(m,w){return c(o(m),w)}}},21081:function(T,p,t){var d=t(63282),g=t(52075);T.exports={moduleType:"component",name:"colorscale",attributes:t(50693),layoutAttributes:t(72673),supplyLayoutDefaults:t(30959),handleDefaults:t(1586),crossTraceDefaults:t(33046),calc:t(78803),scales:d.scales,defaultScale:d.defaultScale,getScale:d.get,isValidScale:d.isValid,hasColorscale:g.hasColorscale,extractOpts:g.extractOpts,extractScale:g.extractScale,flipScale:g.flipScale,makeColorScaleFunc:g.makeColorScaleFunc,makeColorScaleFuncFromTrace:g.makeColorScaleFuncFromTrace}},72673:function(T,p,t){var d=t(1426).extendFlat,g=t(50693),i=t(63282).scales;T.exports={editType:"calc",colorscale:{editType:"calc",sequential:{valType:"colorscale",dflt:i.Reds,editType:"calc"},sequentialminus:{valType:"colorscale",dflt:i.Blues,editType:"calc"},diverging:{valType:"colorscale",dflt:i.RdBu,editType:"calc"}},coloraxis:d({_isSubplotObj:!0,editType:"calc"},g("",{colorAttr:"corresponding trace color array(s)",noColorAxis:!0,showScaleDflt:!0}))}},30959:function(T,p,t){var d=t(71828),g=t(44467),i=t(72673),M=t(1586);T.exports=function(v,f){function l(w,y){return d.coerce(v,f,i,w,y)}l("colorscale.sequential"),l("colorscale.sequentialminus"),l("colorscale.diverging");var a,u,o=f._colorAxes;function s(w,y){return d.coerce(a,u,i.coloraxis,w,y)}for(var c in o){var h=o[c];if(h[0])a=v[c]||{},(u=g.newContainer(f,c,"coloraxis"))._name=c,M(a,u,f,s,{prefix:"",cLetter:"c"});else{for(var m=0;m1.3333333333333333-f?v:f}},70461:function(T,p,t){var d=t(71828),g=[["sw-resize","s-resize","se-resize"],["w-resize","move","e-resize"],["nw-resize","n-resize","ne-resize"]];T.exports=function(i,M,v,f){return i=v==="left"?0:v==="center"?1:v==="right"?2:d.constrain(Math.floor(3*i),0,2),M=f==="bottom"?0:f==="middle"?1:f==="top"?2:d.constrain(Math.floor(3*M),0,2),g[M][i]}},64505:function(T,p){p.selectMode=function(t){return t==="lasso"||t==="select"},p.drawMode=function(t){return t==="drawclosedpath"||t==="drawopenpath"||t==="drawline"||t==="drawrect"||t==="drawcircle"},p.openMode=function(t){return t==="drawline"||t==="drawopenpath"},p.rectMode=function(t){return t==="select"||t==="drawline"||t==="drawrect"||t==="drawcircle"},p.freeMode=function(t){return t==="lasso"||t==="drawclosedpath"||t==="drawopenpath"},p.selectingOrDrawing=function(t){return p.freeMode(t)||p.rectMode(t)}},28569:function(T,p,t){var d=t(48956),g=t(57035),i=t(38520),M=t(71828).removeElement,v=t(85555),f=T.exports={};f.align=t(92807),f.getCursor=t(70461);var l=t(26041);function a(){var o=document.createElement("div");o.className="dragcover";var s=o.style;return s.position="fixed",s.left=0,s.right=0,s.top=0,s.bottom=0,s.zIndex=999999999,s.background="none",document.body.appendChild(o),o}function u(o){return d(o.changedTouches?o.changedTouches[0]:o,document.body)}f.unhover=l.wrapped,f.unhoverRaw=l.raw,f.init=function(o){var s,c,h,m,w,y,S,_,k=o.gd,E=1,x=k._context.doubleClickDelay,A=o.element;k._mouseDownTime||(k._mouseDownTime=0),A.style.pointerEvents="all",A.onmousedown=b,i?(A._ontouchstart&&A.removeEventListener("touchstart",A._ontouchstart),A._ontouchstart=b,A.addEventListener("touchstart",b,{passive:!1})):A.ontouchstart=b;var L=o.clampFn||function(O,z,F){return Math.abs(O)x&&(E=Math.max(E-1,1)),k._dragged)o.doneFn&&o.doneFn();else if(o.clickFn&&o.clickFn(E,y),!_){var z;try{z=new MouseEvent("click",O)}catch{var F=u(O);(z=document.createEvent("MouseEvents")).initMouseEvent("click",O.bubbles,O.cancelable,O.view,O.detail,O.screenX,O.screenY,F[0],F[1],O.ctrlKey,O.altKey,O.shiftKey,O.metaKey,O.button,O.relatedTarget)}S.dispatchEvent(z)}k._dragging=!1,k._dragged=!1}else k._dragged=!1}},f.coverSlip=a},26041:function(T,p,t){var d=t(11086),g=t(79990),i=t(24401).getGraphDiv,M=t(26675),v=T.exports={};v.wrapped=function(f,l,a){(f=i(f))._fullLayout&&g.clear(f._fullLayout._uid+M.HOVERID),v.raw(f,l,a)},v.raw=function(f,l){var a=f._fullLayout,u=f._hoverdata;l||(l={}),l.target&&!f._dragged&&d.triggerHandler(f,"plotly_beforehover",l)===!1||(a._hoverlayer.selectAll("g").remove(),a._hoverlayer.selectAll("line").remove(),a._hoverlayer.selectAll("circle").remove(),f._hoverdata=void 0,l.target&&u&&f.emit("plotly_unhover",{event:l,points:u}))}},79952:function(T,p){p.P={valType:"string",values:["solid","dot","dash","longdash","dashdot","longdashdot"],dflt:"solid",editType:"style"},p.u={shape:{valType:"enumerated",values:["","/","\\","x","-","|","+","."],dflt:"",arrayOk:!0,editType:"style"},fillmode:{valType:"enumerated",values:["replace","overlay"],dflt:"replace",editType:"style"},bgcolor:{valType:"color",arrayOk:!0,editType:"style"},fgcolor:{valType:"color",arrayOk:!0,editType:"style"},fgopacity:{valType:"number",editType:"style",min:0,max:1},size:{valType:"number",min:0,dflt:8,arrayOk:!0,editType:"style"},solidity:{valType:"number",min:0,max:1,dflt:.3,arrayOk:!0,editType:"style"},editType:"style"}},91424:function(T,p,t){var d=t(39898),g=t(71828),i=g.numberFormat,M=t(92770),v=t(84267),f=t(73972),l=t(7901),a=t(21081),u=g.strTranslate,o=t(63893),s=t(77922),c=t(18783).LINE_SPACING,h=t(37822).DESELECTDIM,m=t(34098),w=t(39984),y=t(23469).appendArrayPointValue,S=T.exports={};function _(_e,Me,Se){var Ce=Me.fillpattern,ae=Ce&&S.getPatternAttr(Ce.shape,0,"");if(ae){var fe=S.getPatternAttr(Ce.bgcolor,0,null),be=S.getPatternAttr(Ce.fgcolor,0,null),ke=Ce.fgopacity,Le=S.getPatternAttr(Ce.size,0,8),Be=S.getPatternAttr(Ce.solidity,0,.3),ze=Me.uid;S.pattern(_e,"point",Se,ze,ae,Le,Be,void 0,Ce.fillmode,fe,be,ke)}else Me.fillcolor&&_e.call(l.fill,Me.fillcolor)}S.font=function(_e,Me,Se,Ce){g.isPlainObject(Me)&&(Ce=Me.color,Se=Me.size,Me=Me.family),Me&&_e.style("font-family",Me),Se+1&&_e.style("font-size",Se+"px"),Ce&&_e.call(l.fill,Ce)},S.setPosition=function(_e,Me,Se){_e.attr("x",Me).attr("y",Se)},S.setSize=function(_e,Me,Se){_e.attr("width",Me).attr("height",Se)},S.setRect=function(_e,Me,Se,Ce,ae){_e.call(S.setPosition,Me,Se).call(S.setSize,Ce,ae)},S.translatePoint=function(_e,Me,Se,Ce){var ae=Se.c2p(_e.x),fe=Ce.c2p(_e.y);return!!(M(ae)&&M(fe)&&Me.node())&&(Me.node().nodeName==="text"?Me.attr("x",ae).attr("y",fe):Me.attr("transform",u(ae,fe)),!0)},S.translatePoints=function(_e,Me,Se){_e.each(function(Ce){var ae=d.select(this);S.translatePoint(Ce,ae,Me,Se)})},S.hideOutsideRangePoint=function(_e,Me,Se,Ce,ae,fe){Me.attr("display",Se.isPtWithinRange(_e,ae)&&Ce.isPtWithinRange(_e,fe)?null:"none")},S.hideOutsideRangePoints=function(_e,Me){if(Me._hasClipOnAxisFalse){var Se=Me.xaxis,Ce=Me.yaxis;_e.each(function(ae){var fe=ae[0].trace,be=fe.xcalendar,ke=fe.ycalendar,Le=f.traceIs(fe,"bar-like")?".bartext":".point,.textpoint";_e.selectAll(Le).each(function(Be){S.hideOutsideRangePoint(Be,d.select(this),Se,Ce,be,ke)})})}},S.crispRound=function(_e,Me,Se){return Me&&M(Me)?_e._context.staticPlot?Me:Me<1?1:Math.round(Me):Se||0},S.singleLineStyle=function(_e,Me,Se,Ce,ae){Me.style("fill","none");var fe=(((_e||[])[0]||{}).trace||{}).line||{},be=Se||fe.width||0,ke=ae||fe.dash||"";l.stroke(Me,Ce||fe.color),S.dashLine(Me,ke,be)},S.lineGroupStyle=function(_e,Me,Se,Ce){_e.style("fill","none").each(function(ae){var fe=(((ae||[])[0]||{}).trace||{}).line||{},be=Me||fe.width||0,ke=Ce||fe.dash||"";d.select(this).call(l.stroke,Se||fe.color).call(S.dashLine,ke,be)})},S.dashLine=function(_e,Me,Se){Se=+Se||0,Me=S.dashStyle(Me,Se),_e.style({"stroke-dasharray":Me,"stroke-width":Se+"px"})},S.dashStyle=function(_e,Me){Me=+Me||1;var Se=Math.max(Me,3);return _e==="solid"?_e="":_e==="dot"?_e=Se+"px,"+Se+"px":_e==="dash"?_e=3*Se+"px,"+3*Se+"px":_e==="longdash"?_e=5*Se+"px,"+5*Se+"px":_e==="dashdot"?_e=3*Se+"px,"+Se+"px,"+Se+"px,"+Se+"px":_e==="longdashdot"&&(_e=5*Se+"px,"+2*Se+"px,"+Se+"px,"+2*Se+"px"),_e},S.singleFillStyle=function(_e,Me){var Se=d.select(_e.node());_(_e,((Se.data()[0]||[])[0]||{}).trace||{},Me)},S.fillGroupStyle=function(_e,Me){_e.style("stroke-width",0).each(function(Se){var Ce=d.select(this);Se[0].trace&&_(Ce,Se[0].trace,Me)})};var k=t(90998);S.symbolNames=[],S.symbolFuncs=[],S.symbolBackOffs=[],S.symbolNeedLines={},S.symbolNoDot={},S.symbolNoFill={},S.symbolList=[],Object.keys(k).forEach(function(_e){var Me=k[_e],Se=Me.n;S.symbolList.push(Se,String(Se),_e,Se+100,String(Se+100),_e+"-open"),S.symbolNames[Se]=_e,S.symbolFuncs[Se]=Me.f,S.symbolBackOffs[Se]=Me.backoff||0,Me.needLine&&(S.symbolNeedLines[Se]=!0),Me.noDot?S.symbolNoDot[Se]=!0:S.symbolList.push(Se+200,String(Se+200),_e+"-dot",Se+300,String(Se+300),_e+"-open-dot"),Me.noFill&&(S.symbolNoFill[Se]=!0)});var E=S.symbolNames.length;function x(_e,Me,Se,Ce){var ae=_e%100;return S.symbolFuncs[ae](Me,Se,Ce)+(_e>=200?"M0,0.5L0.5,0L0,-0.5L-0.5,0Z":"")}S.symbolNumber=function(_e){if(M(_e))_e=+_e;else if(typeof _e=="string"){var Me=0;_e.indexOf("-open")>0&&(Me=100,_e=_e.replace("-open","")),_e.indexOf("-dot")>0&&(Me+=200,_e=_e.replace("-dot","")),(_e=S.symbolNames.indexOf(_e))>=0&&(_e+=Me)}return _e%100>=E||_e>=400?0:Math.floor(Math.max(_e,0))};var A={x1:1,x2:0,y1:0,y2:0},L={x1:0,x2:0,y1:1,y2:0},b=i("~f"),R={radial:{node:"radialGradient"},radialreversed:{node:"radialGradient",reversed:!0},horizontal:{node:"linearGradient",attrs:A},horizontalreversed:{node:"linearGradient",attrs:A,reversed:!0},vertical:{node:"linearGradient",attrs:L},verticalreversed:{node:"linearGradient",attrs:L,reversed:!0}};S.gradient=function(_e,Me,Se,Ce,ae,fe){for(var be=ae.length,ke=R[Ce],Le=new Array(be),Be=0;Be=100;var Be=Pe(_e,Se),ze=Q(_e,Se);Me.attr("d",x(Le,ke,Be,ze))}var je,ge,we,Ee=!1;if(_e.so)we=be.outlierwidth,ge=be.outliercolor,je=fe.outliercolor;else{var Ve=(be||{}).width;we=(_e.mlw+1||Ve+1||(_e.trace?(_e.trace.marker.line||{}).width:0)+1)-1||0,ge="mlc"in _e?_e.mlcc=Ce.lineScale(_e.mlc):g.isArrayOrTypedArray(be.color)?l.defaultLine:be.color,g.isArrayOrTypedArray(fe.color)&&(je=l.defaultLine,Ee=!0),je="mc"in _e?_e.mcc=Ce.markerScale(_e.mc):fe.color||"rgba(0,0,0,0)",Ce.selectedColorFn&&(je=Ce.selectedColorFn(_e))}if(_e.om)Me.call(l.stroke,je).style({"stroke-width":(we||1)+"px",fill:"none"});else{Me.style("stroke-width",(_e.isBlank?0:we)+"px");var $e=fe.gradient,Ye=_e.mgt;Ye?Ee=!0:Ye=$e&&$e.type,g.isArrayOrTypedArray(Ye)&&(Ye=Ye[0],R[Ye]||(Ye=0));var st=fe.pattern,ot=st&&S.getPatternAttr(st.shape,_e.i,"");if(Ye&&Ye!=="none"){var ht=_e.mgc;ht?Ee=!0:ht=$e.color;var bt=Se.uid;Ee&&(bt+="-"+_e.i),S.gradient(Me,ae,bt,Ye,[[0,ht],[1,je]],"fill")}else if(ot){var Et=S.getPatternAttr(st.bgcolor,_e.i,null),kt=S.getPatternAttr(st.fgcolor,_e.i,null),xt=st.fgopacity,Ft=S.getPatternAttr(st.size,_e.i,8),Ot=S.getPatternAttr(st.solidity,_e.i,.3),Bt=_e.mcc||g.isArrayOrTypedArray(st.shape)||g.isArrayOrTypedArray(st.bgcolor)||g.isArrayOrTypedArray(st.size)||g.isArrayOrTypedArray(st.solidity),qt=Se.uid;Bt&&(qt+="-"+_e.i),S.pattern(Me,"point",ae,qt,ot,Ft,Ot,_e.mcc,st.fillmode,Et,kt,xt)}else l.fill(Me,je);we&&l.stroke(Me,ge)}},S.makePointStyleFns=function(_e){var Me={},Se=_e.marker;return Me.markerScale=S.tryColorscale(Se,""),Me.lineScale=S.tryColorscale(Se,"line"),f.traceIs(_e,"symbols")&&(Me.ms2mrc=m.isBubble(_e)?w(_e):function(){return(Se.size||6)/2}),_e.selectedpoints&&g.extendFlat(Me,S.makeSelectedPointStyleFns(_e)),Me},S.makeSelectedPointStyleFns=function(_e){var Me={},Se=_e.selected||{},Ce=_e.unselected||{},ae=_e.marker||{},fe=Se.marker||{},be=Ce.marker||{},ke=ae.opacity,Le=fe.opacity,Be=be.opacity,ze=Le!==void 0,je=Be!==void 0;(g.isArrayOrTypedArray(ke)||ze||je)&&(Me.selectedOpacityFn=function(ht){var bt=ht.mo===void 0?ae.opacity:ht.mo;return ht.selected?ze?Le:bt:je?Be:h*bt});var ge=ae.color,we=fe.color,Ee=be.color;(we||Ee)&&(Me.selectedColorFn=function(ht){var bt=ht.mcc||ge;return ht.selected?we||bt:Ee||bt});var Ve=ae.size,$e=fe.size,Ye=be.size,st=$e!==void 0,ot=Ye!==void 0;return f.traceIs(_e,"symbols")&&(st||ot)&&(Me.selectedSizeFn=function(ht){var bt=ht.mrc||Ve/2;return ht.selected?st?$e/2:bt:ot?Ye/2:bt}),Me},S.makeSelectedTextStyleFns=function(_e){var Me={},Se=_e.selected||{},Ce=_e.unselected||{},ae=_e.textfont||{},fe=Se.textfont||{},be=Ce.textfont||{},ke=ae.color,Le=fe.color,Be=be.color;return Me.selectedTextColorFn=function(ze){var je=ze.tc||ke;return ze.selected?Le||je:Be||(Le?je:l.addOpacity(je,h))},Me},S.selectedPointStyle=function(_e,Me){if(_e.size()&&Me.selectedpoints){var Se=S.makeSelectedPointStyleFns(Me),Ce=Me.marker||{},ae=[];Se.selectedOpacityFn&&ae.push(function(fe,be){fe.style("opacity",Se.selectedOpacityFn(be))}),Se.selectedColorFn&&ae.push(function(fe,be){l.fill(fe,Se.selectedColorFn(be))}),Se.selectedSizeFn&&ae.push(function(fe,be){var ke=be.mx||Ce.symbol||0,Le=Se.selectedSizeFn(be);fe.attr("d",x(S.symbolNumber(ke),Le,Pe(be,Me),Q(be,Me))),be.mrc2=Le}),ae.length&&_e.each(function(fe){for(var be=d.select(this),ke=0;ke0?Se:0}function N(_e,Me,Se){return Se&&(_e=q(_e)),Me?j(_e[1]):W(_e[0])}function W(_e){var Me=d.round(_e,2);return I=Me,Me}function j(_e){var Me=d.round(_e,2);return O=Me,Me}function $(_e,Me,Se,Ce){var ae=_e[0]-Me[0],fe=_e[1]-Me[1],be=Se[0]-Me[0],ke=Se[1]-Me[1],Le=Math.pow(ae*ae+fe*fe,.25),Be=Math.pow(be*be+ke*ke,.25),ze=(Be*Be*ae-Le*Le*be)*Ce,je=(Be*Be*fe-Le*Le*ke)*Ce,ge=3*Be*(Le+Be),we=3*Le*(Le+Be);return[[W(Me[0]+(ge&&ze/ge)),j(Me[1]+(ge&&je/ge))],[W(Me[0]-(we&&ze/we)),j(Me[1]-(we&&je/we))]]}S.textPointStyle=function(_e,Me,Se){if(_e.size()){var Ce;if(Me.selectedpoints){var ae=S.makeSelectedTextStyleFns(Me);Ce=ae.selectedTextColorFn}var fe=Me.texttemplate,be=Se._fullLayout;_e.each(function(ke){var Le=d.select(this),Be=fe?g.extractOption(ke,Me,"txt","texttemplate"):g.extractOption(ke,Me,"tx","text");if(Be||Be===0){if(fe){var ze=Me._module.formatLabels,je=ze?ze(ke,Me,be):{},ge={};y(ge,Me,ke.i);var we=Me._meta||{};Be=g.texttemplateString(Be,je,be._d3locale,ge,ke,we)}var Ee=ke.tp||Me.textposition,Ve=B(ke,Me),$e=Ce?Ce(ke):ke.tc||Me.textfont.color;Le.call(S.font,ke.tf||Me.textfont.family,Ve,$e).text(Be).call(o.convertToTspans,Se).call(F,Ee,Ve,ke.mrc)}else Le.remove()})}},S.selectedTextStyle=function(_e,Me){if(_e.size()&&Me.selectedpoints){var Se=S.makeSelectedTextStyleFns(Me);_e.each(function(Ce){var ae=d.select(this),fe=Se.selectedTextColorFn(Ce),be=Ce.tp||Me.textposition,ke=B(Ce,Me);l.fill(ae,fe);var Le=f.traceIs(Me,"bar-like");F(ae,be,ke,Ce.mrc2||Ce.mrc,Le)})}},S.smoothopen=function(_e,Me){if(_e.length<3)return"M"+_e.join("L");var Se,Ce="M"+_e[0],ae=[];for(Se=1;Se<_e.length-1;Se++)ae.push($(_e[Se-1],_e[Se],_e[Se+1],Me));for(Ce+="Q"+ae[0][0]+" "+_e[1],Se=2;Se<_e.length-1;Se++)Ce+="C"+ae[Se-2][1]+" "+ae[Se-1][0]+" "+_e[Se];return Ce+"Q"+ae[_e.length-3][1]+" "+_e[_e.length-1]},S.smoothclosed=function(_e,Me){if(_e.length<3)return"M"+_e.join("L")+"Z";var Se,Ce="M"+_e[0],ae=_e.length-1,fe=[$(_e[ae],_e[0],_e[1],Me)];for(Se=1;Se=Le||ht>=ze&&ht<=Le)&&(bt<=je&&bt>=Be||bt>=je&&bt<=Be)&&(_e=[ht,bt])}return _e}S.steps=function(_e){var Me=U[_e]||G;return function(Se){for(var Ce="M"+W(Se[0][0])+","+j(Se[0][1]),ae=Se.length,fe=1;fe=1e4&&(S.savedBBoxes={},H=0),Se&&(S.savedBBoxes[Se]=we),H++,g.extendFlat({},we)},S.setClipUrl=function(_e,Me,Se){_e.attr("clip-path",te(Me,Se))},S.getTranslate=function(_e){var Me=(_e[_e.attr?"attr":"getAttribute"]("transform")||"").replace(/.*\btranslate\((-?\d*\.?\d*)[^-\d]*(-?\d*\.?\d*)[^\d].*/,function(Se,Ce,ae){return[Ce,ae].join(" ")}).split(" ");return{x:+Me[0]||0,y:+Me[1]||0}},S.setTranslate=function(_e,Me,Se){var Ce=_e.attr?"attr":"getAttribute",ae=_e.attr?"attr":"setAttribute",fe=_e[Ce]("transform")||"";return Me=Me||0,Se=Se||0,fe=fe.replace(/(\btranslate\(.*?\);?)/,"").trim(),fe=(fe+=u(Me,Se)).trim(),_e[ae]("transform",fe),fe},S.getScale=function(_e){var Me=(_e[_e.attr?"attr":"getAttribute"]("transform")||"").replace(/.*\bscale\((\d*\.?\d*)[^\d]*(\d*\.?\d*)[^\d].*/,function(Se,Ce,ae){return[Ce,ae].join(" ")}).split(" ");return{x:+Me[0]||1,y:+Me[1]||1}},S.setScale=function(_e,Me,Se){var Ce=_e.attr?"attr":"getAttribute",ae=_e.attr?"attr":"setAttribute",fe=_e[Ce]("transform")||"";return Me=Me||1,Se=Se||1,fe=fe.replace(/(\bscale\(.*?\);?)/,"").trim(),fe=(fe+="scale("+Me+","+Se+")").trim(),_e[ae]("transform",fe),fe};var Z=/\s*sc.*/;S.setPointGroupScale=function(_e,Me,Se){if(Me=Me||1,Se=Se||1,_e){var Ce=Me===1&&Se===1?"":"scale("+Me+","+Se+")";_e.each(function(){var ae=(this.getAttribute("transform")||"").replace(Z,"");ae=(ae+=Ce).trim(),this.setAttribute("transform",ae)})}};var X=/translate\([^)]*\)\s*$/;function Q(_e,Me){var Se;return _e&&(Se=_e.mf),Se===void 0&&(Se=Me.marker&&Me.marker.standoff||0),Me._geo||Me._xA?Se:-Se}S.setTextPointsScale=function(_e,Me,Se){_e&&_e.each(function(){var Ce,ae=d.select(this),fe=ae.select("text");if(fe.node()){var be=parseFloat(fe.attr("x")||0),ke=parseFloat(fe.attr("y")||0),Le=(ae.attr("transform")||"").match(X);Ce=Me===1&&Se===1?[]:[u(be,ke),"scale("+Me+","+Se+")",u(-be,-ke)],Le&&Ce.push(Le),ae.attr("transform",Ce.join(""))}})},S.getMarkerStandoff=Q;var re,ie,oe,ue,ce,ye,de=Math.atan2,me=Math.cos,pe=Math.sin;function xe(_e,Me){var Se=Me[0],Ce=Me[1];return[Se*me(_e)-Ce*pe(_e),Se*pe(_e)+Ce*me(_e)]}function Pe(_e,Me){var Se,Ce,ae=_e.ma;ae===void 0&&(ae=Me.marker.angle||0);var fe=Me.marker.angleref;if(fe==="previous"||fe==="north"){if(Me._geo){var be=Me._geo.project(_e.lonlat);Se=be[0],Ce=be[1]}else{var ke=Me._xA,Le=Me._yA;if(!ke||!Le)return 90;Se=ke.c2p(_e.x),Ce=Le.c2p(_e.y)}if(Me._geo){var Be,ze=_e.lonlat[0],je=_e.lonlat[1],ge=Me._geo.project([ze,je+1e-5]),we=Me._geo.project([ze+1e-5,je]),Ee=de(we[1]-Ce,we[0]-Se),Ve=de(ge[1]-Ce,ge[0]-Se);if(fe==="north")Be=ae/180*Math.PI;else if(fe==="previous"){var $e=ze/180*Math.PI,Ye=je/180*Math.PI,st=re/180*Math.PI,ot=ie/180*Math.PI,ht=st-$e,bt=me(ot)*pe(ht),Et=pe(ot)*me(Ye)-me(ot)*pe(Ye)*me(ht);Be=-de(bt,Et)-Math.PI,re=ze,ie=je}var kt=xe(Ee,[me(Be),0]),xt=xe(Ve,[pe(Be),0]);ae=de(kt[1]+xt[1],kt[0]+xt[0])/Math.PI*180,fe!=="previous"||ye===Me.uid&&_e.i===ce+1||(ae=null)}if(fe==="previous"&&!Me._geo)if(ye===Me.uid&&_e.i===ce+1&&M(Se)&&M(Ce)){var Ft=Se-oe,Ot=Ce-ue,Bt=Me.line&&Me.line.shape||"",qt=Bt.slice(Bt.length-1);qt==="h"&&(Ot=0),qt==="v"&&(Ft=0),ae+=de(Ot,Ft)/Math.PI*180+90}else ae=null}return oe=Se,ue=Ce,ce=_e.i,ye=Me.uid,ae}S.getMarkerAngle=Pe},90998:function(T,p,t){var d,g,i,M,v=t(95616),f=t(39898).round,l="M0,0Z",a=Math.sqrt(2),u=Math.sqrt(3),o=Math.PI,s=Math.cos,c=Math.sin;function h(w){return w===null}function m(w,y,S){if(!(w&&w%360!=0||y))return S;if(i===w&&M===y&&d===S)return g;function _(N,W){var j=s(N),$=c(N),U=W[0],G=W[1]+(y||0);return[U*j-G*$,U*$+G*j]}i=w,M=y,d=S;for(var k=w/180*o,E=0,x=0,A=v(S),L="",b=0;b0,c=v._context.staticPlot;f.each(function(h){var m,w=h[0].trace,y=w.error_x||{},S=w.error_y||{};w.ids&&(m=function(x){return x.id});var _=M.hasMarkers(w)&&w.marker.maxdisplayed>0;S.visible||y.visible||(h=[]);var k=d.select(this).selectAll("g.errorbar").data(h,m);if(k.exit().remove(),h.length){y.visible||k.selectAll("path.xerror").remove(),S.visible||k.selectAll("path.yerror").remove(),k.style("opacity",1);var E=k.enter().append("g").classed("errorbar",!0);s&&E.style("opacity",0).transition().duration(a.duration).style("opacity",1),i.setClipUrl(k,l.layerClipId,v),k.each(function(x){var A=d.select(this),L=function(F,B,N){var W={x:B.c2p(F.x),y:N.c2p(F.y)};return F.yh!==void 0&&(W.yh=N.c2p(F.yh),W.ys=N.c2p(F.ys),g(W.ys)||(W.noYS=!0,W.ys=N.c2p(F.ys,!0))),F.xh!==void 0&&(W.xh=B.c2p(F.xh),W.xs=B.c2p(F.xs),g(W.xs)||(W.noXS=!0,W.xs=B.c2p(F.xs,!0))),W}(x,u,o);if(!_||x.vis){var b,R=A.select("path.yerror");if(S.visible&&g(L.x)&&g(L.yh)&&g(L.ys)){var I=S.width;b="M"+(L.x-I)+","+L.yh+"h"+2*I+"m-"+I+",0V"+L.ys,L.noYS||(b+="m-"+I+",0h"+2*I),R.size()?s&&(R=R.transition().duration(a.duration).ease(a.easing)):R=A.append("path").style("vector-effect",c?"none":"non-scaling-stroke").classed("yerror",!0),R.attr("d",b)}else R.remove();var O=A.select("path.xerror");if(y.visible&&g(L.y)&&g(L.xh)&&g(L.xs)){var z=(y.copy_ystyle?S:y).width;b="M"+L.xh+","+(L.y-z)+"v"+2*z+"m0,-"+z+"H"+L.xs,L.noXS||(b+="m0,-"+z+"v"+2*z),O.size()?s&&(O=O.transition().duration(a.duration).ease(a.easing)):O=A.append("path").style("vector-effect",c?"none":"non-scaling-stroke").classed("xerror",!0),O.attr("d",b)}else O.remove()}})}})}},62662:function(T,p,t){var d=t(39898),g=t(7901);T.exports=function(i){i.each(function(M){var v=M[0].trace,f=v.error_y||{},l=v.error_x||{},a=d.select(this);a.selectAll("path.yerror").style("stroke-width",f.thickness+"px").call(g.stroke,f.color),l.copy_ystyle&&(l=f),a.selectAll("path.xerror").style("stroke-width",l.thickness+"px").call(g.stroke,l.color)})}},77914:function(T,p,t){var d=t(41940),g=t(528).hoverlabel,i=t(1426).extendFlat;T.exports={hoverlabel:{bgcolor:i({},g.bgcolor,{arrayOk:!0}),bordercolor:i({},g.bordercolor,{arrayOk:!0}),font:d({arrayOk:!0,editType:"none"}),align:i({},g.align,{arrayOk:!0}),namelength:i({},g.namelength,{arrayOk:!0}),editType:"none"}}},30732:function(T,p,t){var d=t(71828),g=t(73972);function i(M,v,f,l){l=l||d.identity,Array.isArray(M)&&(v[0][f]=l(M))}T.exports=function(M){var v=M.calcdata,f=M._fullLayout;function l(c){return function(h){return d.coerceHoverinfo({hoverinfo:h},{_module:c._module},f)}}for(var a=0;a=0&&u.indexae[0]._length||Je<0||Je>fe[0]._length)return c.unhoverRaw(ue,ce)}else Ke="xpx"in ce?ce.xpx:ae[0]._length/2,Je="ypx"in ce?ce.ypx:fe[0]._length/2;if(ce.pointerX=Ke+ae[0]._offset,ce.pointerY=Je+fe[0]._offset,we="xval"in ce?w.flat(pe,ce.xval):w.p2c(ae,Ke),Ee="yval"in ce?w.flat(pe,ce.yval):w.p2c(fe,Je),!g(we[0])||!g(Ee[0]))return M.warn("Fx.hover failed",ce,ue),c.unhoverRaw(ue,ce)}var ft=1/0;function Re(Kt,bn){for($e=0;$eFt&&(Ot.splice(0,Ft),ft=Ot[0].distance),Me&&ge!==0&&Ot.length===0){xt.distance=ge,xt.index=!1;var $n=st._module.hoverPoints(xt,Et,kt,"closest",{hoverLayer:xe._hoverlayer});if($n&&($n=$n.filter(function(Jt){return Jt.spikeDistance<=ge})),$n&&$n.length){var tr,mr=$n.filter(function(Jt){return Jt.xa.showspikes&&Jt.xa.spikesnap!=="hovered data"});if(mr.length){var nn=mr[0];g(nn.x0)&&g(nn.y0)&&(tr=Qe(nn),(!qt.vLinePoint||qt.vLinePoint.spikeDistance>tr.spikeDistance)&&(qt.vLinePoint=tr))}var Pn=$n.filter(function(Jt){return Jt.ya.showspikes&&Jt.ya.spikesnap!=="hovered data"});if(Pn.length){var jt=Pn[0];g(jt.x0)&&g(jt.y0)&&(tr=Qe(jt),(!qt.hLinePoint||qt.hLinePoint.spikeDistance>tr.spikeDistance)&&(qt.hLinePoint=tr))}}}}}function Ne(Kt,bn,Rn){for(var Ln,Un=null,Kn=1/0,$n=0;$n0&&Math.abs(Kt.distance)Yt-1;Wt--)xn(Ot[Wt]);Ot=Xt,It()}var un=ue._hoverdata,An=[],Yn=ne(ue),kn=te(ue);for(Ve=0;Ve1||Ot.length>1)||ze==="closest"&&Vt&&Ot.length>1,yr=s.combine(xe.plot_bgcolor||s.background,xe.paper_bgcolor),or=B(Ot,{gd:ue,hovermode:ze,rotateLabels:Sr,bgColor:yr,container:xe._hoverlayer,outerContainer:xe._paper.node(),commonLabelOpts:xe.hoverlabel,hoverdistance:xe.hoverdistance}),vr=or.hoverLabels;if(w.isUnifiedHover(ze)||(function(Kt,bn,Rn,Ln){var Un,Kn,$n,tr,mr,nn,Pn,jt=bn?"xa":"ya",Jt=bn?"ya":"xa",hn=0,zn=1,On=Kt.size(),En=new Array(On),mn=0,wn=Ln.minX,gn=Ln.maxX,yn=Ln.minY,Sn=Ln.maxY,Vn=function(Lr){return Lr*Rn._invScaleX},Xn=function(Lr){return Lr*Rn._invScaleY};function nr(Lr){var zr=Lr[0],gr=Lr[Lr.length-1];if(Kn=zr.pmin-zr.pos-zr.dp+zr.size,$n=gr.pos+gr.dp+gr.size-zr.pmax,Kn>.01){for(mr=Lr.length-1;mr>=0;mr--)Lr[mr].dp+=Kn;Un=!1}if(!($n<.01)){if(Kn<-.01){for(mr=Lr.length-1;mr>=0;mr--)Lr[mr].dp-=$n;Un=!1}if(Un){var Fr=0;for(tr=0;trzr.pmax&&Fr++;for(tr=Lr.length-1;tr>=0&&!(Fr<=0);tr--)(nn=Lr[tr]).pos>zr.pmax-1&&(nn.del=!0,Fr--);for(tr=0;tr=0;mr--)Lr[mr].dp-=$n;for(tr=Lr.length-1;tr>=0&&!(Fr<=0);tr--)(nn=Lr[tr]).pos+nn.dp+nn.size>zr.pmax&&(nn.del=!0,Fr--)}}}for(Kt.each(function(Lr){var zr=Lr[jt],gr=Lr[Jt],Fr=zr._id.charAt(0)==="x",ii=zr.range;mn===0&&ii&&ii[0]>ii[1]!==Fr&&(zn=-1);var ji=0,ea=Fr?Rn.width:Rn.height;if(Rn.hovermode==="x"||Rn.hovermode==="y"){var sa,uo,La=W(Lr,bn),Xi=Lr.anchor,Do=Xi==="end"?-1:1;if(Xi==="middle")uo=(sa=Lr.crossPos+(Fr?Xn(La.y-Lr.by/2):Vn(Lr.bx/2+Lr.tx2width/2)))+(Fr?Xn(Lr.by):Vn(Lr.bx));else if(Fr)uo=(sa=Lr.crossPos+Xn(b+La.y)-Xn(Lr.by/2-b))+Xn(Lr.by);else{var rs=Vn(Do*b+La.x),el=rs+Vn(Do*Lr.bx);sa=Lr.crossPos+Math.min(rs,el),uo=Lr.crossPos+Math.max(rs,el)}Fr?yn!==void 0&&Sn!==void 0&&Math.min(uo,Sn)-Math.max(sa,yn)>1&&(gr.side==="left"?(ji=gr._mainLinePosition,ea=Rn.width):ea=gr._mainLinePosition):wn!==void 0&&gn!==void 0&&Math.min(uo,gn)-Math.max(sa,wn)>1&&(gr.side==="top"?(ji=gr._mainLinePosition,ea=Rn.height):ea=gr._mainLinePosition)}En[mn++]=[{datum:Lr,traceIndex:Lr.trace.index,dp:0,pos:Lr.pos,posref:Lr.posref,size:Lr.by*(Fr?x:1)/2,pmin:ji,pmax:ea}]}),En.sort(function(Lr,zr){return Lr[0].posref-zr[0].posref||zn*(zr[0].traceIndex-Lr[0].traceIndex)});!Un&&hn<=On;){for(hn++,Un=!0,tr=0;tr.01&&cr.pmin===pr.pmin&&cr.pmax===pr.pmax){for(mr=hr.length-1;mr>=0;mr--)hr[mr].dp+=Kn;for(Qn.push.apply(Qn,hr),En.splice(tr+1,1),Pn=0,mr=Qn.length-1;mr>=0;mr--)Pn+=Qn[mr].dp;for($n=Pn/Qn.length,mr=Qn.length-1;mr>=0;mr--)Qn[mr].dp-=$n;Un=!1}else tr++}En.forEach(nr)}for(tr=En.length-1;tr>=0;tr--){var dr=En[tr];for(mr=dr.length-1;mr>=0;mr--){var br=dr[mr],Ir=br.datum;Ir.offset=br.dp,Ir.del=br.del}}}(vr,Sr,xe,or.commonLabelBoundingBox),j(vr,Sr,xe._invScaleX,xe._invScaleY)),me&&me.tagName){var _r=m.getComponentMethod("annotations","hasClickToShow")(ue,An);u(d.select(me),_r?"pointer":"")}me&&!de&&function(Kt,bn,Rn){if(!Rn||Rn.length!==Kt._hoverdata.length)return!0;for(var Ln=Rn.length-1;Ln>=0;Ln--){var Un=Rn[Ln],Kn=Kt._hoverdata[Ln];if(Un.curveNumber!==Kn.curveNumber||String(Un.pointNumber)!==String(Kn.pointNumber)||String(Un.pointNumbers)!==String(Kn.pointNumbers))return!0}return!1}(ue,0,un)&&(un&&ue.emit("plotly_unhover",{event:ce,points:un}),ue.emit("plotly_hover",{event:ce,points:ue._hoverdata,xaxes:ae,yaxes:fe,xvals:we,yvals:Ee}))})(X,Q,re,ie,oe)})},p.loneHover=function(X,Q){var re=!0;Array.isArray(X)||(re=!1,X=[X]);var ie=Q.gd,oe=ne(ie),ue=te(ie),ce=B(X.map(function(me){var pe=me._x0||me.x0||me.x||0,xe=me._x1||me.x1||me.x||0,Pe=me._y0||me.y0||me.y||0,_e=me._y1||me.y1||me.y||0,Me=me.eventData;if(Me){var Se=Math.min(pe,xe),Ce=Math.max(pe,xe),ae=Math.min(Pe,_e),fe=Math.max(Pe,_e),be=me.trace;if(m.traceIs(be,"gl3d")){var ke=ie._fullLayout[be.scene]._scene.container,Le=ke.offsetLeft,Be=ke.offsetTop;Se+=Le,Ce+=Le,ae+=Be,fe+=Be}Me.bbox={x0:Se+ue,x1:Ce+ue,y0:ae+oe,y1:fe+oe},Q.inOut_bbox&&Q.inOut_bbox.push(Me.bbox)}else Me=!1;return{color:me.color||s.defaultLine,x0:me.x0||me.x||0,x1:me.x1||me.x||0,y0:me.y0||me.y||0,y1:me.y1||me.y||0,xLabel:me.xLabel,yLabel:me.yLabel,zLabel:me.zLabel,text:me.text,name:me.name,idealAlign:me.idealAlign,borderColor:me.borderColor,fontFamily:me.fontFamily,fontSize:me.fontSize,fontColor:me.fontColor,nameLength:me.nameLength,textAlign:me.textAlign,trace:me.trace||{index:0,hoverinfo:""},xa:{_offset:0},ya:{_offset:0},index:0,hovertemplate:me.hovertemplate||!1,hovertemplateLabels:me.hovertemplateLabels||!1,eventData:Me}}),{gd:ie,hovermode:"closest",rotateLabels:!1,bgColor:Q.bgColor||s.background,container:d.select(Q.container),outerContainer:Q.outerContainer||Q.container}).hoverLabels,ye=0,de=0;return ce.sort(function(me,pe){return me.y0-pe.y0}).each(function(me,pe){var xe=me.y0-me.by/2;me.offset=xe-5([\s\S]*)<\/extra>/;function B(X,Q){var re=Q.gd,ie=re._fullLayout,oe=Q.hovermode,ue=Q.rotateLabels,ce=Q.bgColor,ye=Q.container,de=Q.outerContainer,me=Q.commonLabelOpts||{};if(X.length===0)return[[]];var pe=Q.fontFamily||y.HOVERFONT,xe=Q.fontSize||y.HOVERFONTSIZE,Pe=X[0],_e=Pe.xa,Me=Pe.ya,Se=oe.charAt(0),Ce=Se+"Label",ae=Pe[Ce];if(ae===void 0&&_e.type==="multicategory")for(var fe=0;feie.width-kn?(xn=ie.width-kn,Nt.attr("d","M"+(kn-b)+",0L"+kn+","+Yn+b+"v"+Yn+(2*R+An.height)+"H-"+kn+"V"+Yn+b+"H"+(kn-2*b)+"Z")):Nt.attr("d","M0,0L"+b+","+Yn+b+"H"+kn+"v"+Yn+(2*R+An.height)+"H-"+kn+"V"+Yn+b+"H-"+b+"Z"),$e.minX=xn-kn,$e.maxX=xn+kn,_e.side==="top"?($e.minY=un-(2*R+An.height),$e.maxY=un-R):($e.minY=un+R,$e.maxY=un+(2*R+An.height))}else{var sn,Tn,dn;Me.side==="right"?(sn="start",Tn=1,dn="",xn=_e._offset+_e._length):(sn="end",Tn=-1,dn="-",xn=_e._offset),un=Me._offset+(Pe.y0+Pe.y1)/2,Yt.attr("text-anchor",sn),Nt.attr("d","M0,0L"+dn+b+","+b+"V"+(R+An.height/2)+"h"+dn+(2*R+An.width)+"V-"+(R+An.height/2)+"H"+dn+b+"V-"+b+"Z"),$e.minY=un-(R+An.height/2),$e.maxY=un+(R+An.height/2),Me.side==="right"?($e.minX=xn+b,$e.maxX=xn+b+(2*R+An.width)):($e.minX=xn-b-(2*R+An.width),$e.maxX=xn-b);var pn,Dn=An.height/2,In=ke-An.top-Dn,jn="clip"+ie._uid+"commonlabel"+Me._id;if(xn=0?Je:qe+Re=0?qe:yt+Re=0?Vt:Ke+Ne=0?Ke:Pt+Ne=0,Rt.idealAlign!=="top"&&rr||!Sr?rr?(Dn+=jn/2,Rt.anchor="start"):Rt.anchor="middle":(Dn-=jn/2,Rt.anchor="end"),Rt.crossPos=Dn;else{if(Rt.pos=Dn,rr=pn+In/2+yr<=Le,Sr=pn-In/2-yr>=0,Rt.idealAlign!=="left"&&rr||!Sr)if(rr)pn+=In/2,Rt.anchor="start";else{Rt.anchor="middle";var or=yr/2,vr=pn+or-Le,_r=pn-or;vr>0&&(pn-=vr),_r<0&&(pn+=-_r)}else pn-=In/2,Rt.anchor="end";Rt.crossPos=pn}Yn.attr("text-anchor",Rt.anchor),sn&&kn.attr("text-anchor",Rt.anchor),Nt.attr("transform",v(pn,Dn)+(ue?f(k):""))}),{hoverLabels:wt,commonLabelBoundingBox:$e}}function N(X,Q,re,ie,oe,ue){var ce="",ye="";X.nameOverride!==void 0&&(X.name=X.nameOverride),X.name&&(X.trace._meta&&(X.name=M.templateString(X.name,X.trace._meta)),ce=q(X.name,X.nameLength));var de=re.charAt(0),me=de==="x"?"y":"x";X.zLabel!==void 0?(X.xLabel!==void 0&&(ye+="x: "+X.xLabel+"
"),X.yLabel!==void 0&&(ye+="y: "+X.yLabel+"
"),X.trace.type!=="choropleth"&&X.trace.type!=="choroplethmapbox"&&(ye+=(ye?"z: ":"")+X.zLabel)):Q&&X[de+"Label"]===oe?ye=X[me+"Label"]||"":X.xLabel===void 0?X.yLabel!==void 0&&X.trace.type!=="scattercarpet"&&(ye=X.yLabel):ye=X.yLabel===void 0?X.xLabel:"("+X.xLabel+", "+X.yLabel+")",!X.text&&X.text!==0||Array.isArray(X.text)||(ye+=(ye?"
":"")+X.text),X.extraText!==void 0&&(ye+=(ye?"
":"")+X.extraText),ue&&ye===""&&!X.hovertemplate&&(ce===""&&ue.remove(),ye=ce);var pe=X.hovertemplate||!1;if(pe){var xe=X.hovertemplateLabels||X;X[de+"Label"]!==oe&&(xe[de+"other"]=xe[de+"Val"],xe[de+"otherLabel"]=xe[de+"Label"]),ye=(ye=M.hovertemplateString(pe,xe,ie._d3locale,X.eventData[0]||{},X.trace._meta)).replace(F,function(Pe,_e){return ce=q(_e,X.nameLength),""})}return[ye,ce]}function W(X,Q){var re=0,ie=X.offset;return Q&&(ie*=-L,re=X.offset*A),{x:re,y:ie}}function j(X,Q,re,ie){var oe=function(ce){return ce*re},ue=function(ce){return ce*ie};X.each(function(ce){var ye=d.select(this);if(ce.del)return ye.remove();var de,me,pe,xe,Pe=ye.select("text.nums"),_e=ce.anchor,Me=_e==="end"?-1:1,Se=(xe=(pe=(me={start:1,end:-1,middle:0}[(de=ce).anchor])*(b+R))+me*(de.txwidth+R),de.anchor==="middle"&&(pe-=de.tx2width/2,xe+=de.txwidth/2+R),{alignShift:me,textShiftX:pe,text2ShiftX:xe}),Ce=W(ce,Q),ae=Ce.x,fe=Ce.y,be=_e==="middle";ye.select("path").attr("d",be?"M-"+oe(ce.bx/2+ce.tx2width/2)+","+ue(fe-ce.by/2)+"h"+oe(ce.bx)+"v"+ue(ce.by)+"h-"+oe(ce.bx)+"Z":"M0,0L"+oe(Me*b+ae)+","+ue(b+fe)+"v"+ue(ce.by/2-b)+"h"+oe(Me*ce.bx)+"v-"+ue(ce.by)+"H"+oe(Me*b+ae)+"V"+ue(fe-b)+"Z");var ke=ae+Se.textShiftX,Le=fe+ce.ty0-ce.by/2+R,Be=ce.textAlign||"auto";Be!=="auto"&&(Be==="left"&&_e!=="start"?(Pe.attr("text-anchor","start"),ke=be?-ce.bx/2-ce.tx2width/2+R:-ce.bx-R):Be==="right"&&_e!=="end"&&(Pe.attr("text-anchor","end"),ke=be?ce.bx/2-ce.tx2width/2-R:ce.bx+R)),Pe.call(a.positionText,oe(ke),ue(Le)),ce.tx2width&&(ye.select("text.name").call(a.positionText,oe(Se.text2ShiftX+Se.alignShift*R+ae),ue(fe+ce.ty0-ce.by/2+R)),ye.select("rect").call(o.setRect,oe(Se.text2ShiftX+(Se.alignShift-1)*ce.tx2width/2+ae),ue(fe-ce.by/2-1),oe(ce.tx2width),ue(ce.by+2)))})}function $(X,Q){var re=X.index,ie=X.trace||{},oe=X.cd[0],ue=X.cd[re]||{};function ce(Pe){return Pe||g(Pe)&&Pe===0}var ye=Array.isArray(re)?function(Pe,_e){var Me=M.castOption(oe,re,Pe);return ce(Me)?Me:M.extractOption({},ie,"",_e)}:function(Pe,_e){return M.extractOption(ue,ie,Pe,_e)};function de(Pe,_e,Me){var Se=ye(_e,Me);ce(Se)&&(X[Pe]=Se)}if(de("hoverinfo","hi","hoverinfo"),de("bgcolor","hbg","hoverlabel.bgcolor"),de("borderColor","hbc","hoverlabel.bordercolor"),de("fontFamily","htf","hoverlabel.font.family"),de("fontSize","hts","hoverlabel.font.size"),de("fontColor","htc","hoverlabel.font.color"),de("nameLength","hnl","hoverlabel.namelength"),de("textAlign","hta","hoverlabel.align"),X.posref=Q==="y"||Q==="closest"&&ie.orientation==="h"?X.xa._offset+(X.x0+X.x1)/2:X.ya._offset+(X.y0+X.y1)/2,X.x0=M.constrain(X.x0,0,X.xa._length),X.x1=M.constrain(X.x1,0,X.xa._length),X.y0=M.constrain(X.y0,0,X.ya._length),X.y1=M.constrain(X.y1,0,X.ya._length),X.xLabelVal!==void 0&&(X.xLabel="xLabel"in X?X.xLabel:h.hoverLabelText(X.xa,X.xLabelVal,ie.xhoverformat),X.xVal=X.xa.c2d(X.xLabelVal)),X.yLabelVal!==void 0&&(X.yLabel="yLabel"in X?X.yLabel:h.hoverLabelText(X.ya,X.yLabelVal,ie.yhoverformat),X.yVal=X.ya.c2d(X.yLabelVal)),X.zLabelVal!==void 0&&X.zLabel===void 0&&(X.zLabel=String(X.zLabelVal)),!(isNaN(X.xerr)||X.xa.type==="log"&&X.xerr<=0)){var me=h.tickText(X.xa,X.xa.c2l(X.xerr),"hover").text;X.xerrneg!==void 0?X.xLabel+=" +"+me+" / -"+h.tickText(X.xa,X.xa.c2l(X.xerrneg),"hover").text:X.xLabel+=" ± "+me,Q==="x"&&(X.distance+=1)}if(!(isNaN(X.yerr)||X.ya.type==="log"&&X.yerr<=0)){var pe=h.tickText(X.ya,X.ya.c2l(X.yerr),"hover").text;X.yerrneg!==void 0?X.yLabel+=" +"+pe+" / -"+h.tickText(X.ya,X.ya.c2l(X.yerrneg),"hover").text:X.yLabel+=" ± "+pe,Q==="y"&&(X.distance+=1)}var xe=X.hoverinfo||X.trace.hoverinfo;return xe&&xe!=="all"&&((xe=Array.isArray(xe)?xe:xe.split("+")).indexOf("x")===-1&&(X.xLabel=void 0),xe.indexOf("y")===-1&&(X.yLabel=void 0),xe.indexOf("z")===-1&&(X.zLabel=void 0),xe.indexOf("text")===-1&&(X.text=void 0),xe.indexOf("name")===-1&&(X.name=void 0)),X}function U(X,Q,re){var ie,oe,ue=re.container,ce=re.fullLayout,ye=ce._size,de=re.event,me=!!Q.hLinePoint,pe=!!Q.vLinePoint;if(ue.selectAll(".spikeline").remove(),pe||me){var xe=s.combine(ce.plot_bgcolor,ce.paper_bgcolor);if(me){var Pe,_e,Me=Q.hLinePoint;ie=Me&&Me.xa,(oe=Me&&Me.ya).spikesnap==="cursor"?(Pe=de.pointerX,_e=de.pointerY):(Pe=ie._offset+Me.x,_e=oe._offset+Me.y);var Se,Ce,ae=i.readability(Me.color,xe)<1.5?s.contrast(xe):Me.color,fe=oe.spikemode,be=oe.spikethickness,ke=oe.spikecolor||ae,Le=h.getPxPosition(X,oe);if(fe.indexOf("toaxis")!==-1||fe.indexOf("across")!==-1){if(fe.indexOf("toaxis")!==-1&&(Se=Le,Ce=Pe),fe.indexOf("across")!==-1){var Be=oe._counterDomainMin,ze=oe._counterDomainMax;oe.anchor==="free"&&(Be=Math.min(Be,oe.position),ze=Math.max(ze,oe.position)),Se=ye.l+Be*ye.w,Ce=ye.l+ze*ye.w}ue.insert("line",":first-child").attr({x1:Se,x2:Ce,y1:_e,y2:_e,"stroke-width":be,stroke:ke,"stroke-dasharray":o.dashStyle(oe.spikedash,be)}).classed("spikeline",!0).classed("crisp",!0),ue.insert("line",":first-child").attr({x1:Se,x2:Ce,y1:_e,y2:_e,"stroke-width":be+2,stroke:xe}).classed("spikeline",!0).classed("crisp",!0)}fe.indexOf("marker")!==-1&&ue.insert("circle",":first-child").attr({cx:Le+(oe.side!=="right"?be:-be),cy:_e,r:be,fill:ke}).classed("spikeline",!0)}if(pe){var je,ge,we=Q.vLinePoint;ie=we&&we.xa,oe=we&&we.ya,ie.spikesnap==="cursor"?(je=de.pointerX,ge=de.pointerY):(je=ie._offset+we.x,ge=oe._offset+we.y);var Ee,Ve,$e=i.readability(we.color,xe)<1.5?s.contrast(xe):we.color,Ye=ie.spikemode,st=ie.spikethickness,ot=ie.spikecolor||$e,ht=h.getPxPosition(X,ie);if(Ye.indexOf("toaxis")!==-1||Ye.indexOf("across")!==-1){if(Ye.indexOf("toaxis")!==-1&&(Ee=ht,Ve=ge),Ye.indexOf("across")!==-1){var bt=ie._counterDomainMin,Et=ie._counterDomainMax;ie.anchor==="free"&&(bt=Math.min(bt,ie.position),Et=Math.max(Et,ie.position)),Ee=ye.t+(1-Et)*ye.h,Ve=ye.t+(1-bt)*ye.h}ue.insert("line",":first-child").attr({x1:je,x2:je,y1:Ee,y2:Ve,"stroke-width":st,stroke:ot,"stroke-dasharray":o.dashStyle(ie.spikedash,st)}).classed("spikeline",!0).classed("crisp",!0),ue.insert("line",":first-child").attr({x1:je,x2:je,y1:Ee,y2:Ve,"stroke-width":st+2,stroke:xe}).classed("spikeline",!0).classed("crisp",!0)}Ye.indexOf("marker")!==-1&&ue.insert("circle",":first-child").attr({cx:je,cy:ht-(ie.side!=="top"?st:-st),r:st,fill:ot}).classed("spikeline",!0)}}}function G(X,Q){return!Q||Q.vLinePoint!==X._spikepoints.vLinePoint||Q.hLinePoint!==X._spikepoints.hLinePoint}function q(X,Q){return a.plainText(X||"",{len:Q,allowedTags:["br","sub","sup","b","i","em"]})}function H(X,Q,re){var ie=Q[X+"a"],oe=Q[X+"Val"],ue=Q.cd[0];if(ie.type==="category"||ie.type==="multicategory")oe=ie._categoriesMap[oe];else if(ie.type==="date"){var ce=Q.trace[X+"periodalignment"];if(ce){var ye=Q.cd[Q.index],de=ye[X+"Start"];de===void 0&&(de=ye[X]);var me=ye[X+"End"];me===void 0&&(me=ye[X]);var pe=me-de;ce==="end"?oe+=pe:ce==="middle"&&(oe+=pe/2)}oe=ie.d2c(oe)}return ue&&ue.t&&ue.t.posLetter===ie._id&&(re.boxmode!=="group"&&re.violinmode!=="group"||(oe+=ue.t.dPos)),oe}function ne(X){return X.offsetTop+X.clientTop}function te(X){return X.offsetLeft+X.clientLeft}function Z(X,Q){var re=X._fullLayout,ie=Q.getBoundingClientRect(),oe=ie.left,ue=ie.top,ce=oe+ie.width,ye=ue+ie.height,de=M.apply3DTransform(re._invTransform)(oe,ue),me=M.apply3DTransform(re._invTransform)(ce,ye),pe=de[0],xe=de[1],Pe=me[0],_e=me[1];return{x:pe,y:xe,width:Pe-pe,height:_e-xe,top:Math.min(xe,_e),left:Math.min(pe,Pe),right:Math.max(pe,Pe),bottom:Math.max(xe,_e)}}},38048:function(T,p,t){var d=t(71828),g=t(7901),i=t(23469).isUnifiedHover;T.exports=function(M,v,f,l){l=l||{};var a=v.legend;function u(o){l.font[o]||(l.font[o]=a?v.legend.font[o]:v.font[o])}v&&i(v.hovermode)&&(l.font||(l.font={}),u("size"),u("family"),u("color"),a?(l.bgcolor||(l.bgcolor=g.combine(v.legend.bgcolor,v.paper_bgcolor)),l.bordercolor||(l.bordercolor=v.legend.bordercolor)):l.bgcolor||(l.bgcolor=v.paper_bgcolor)),f("hoverlabel.bgcolor",l.bgcolor),f("hoverlabel.bordercolor",l.bordercolor),f("hoverlabel.namelength",l.namelength),d.coerceFont(f,"hoverlabel.font",l.font),f("hoverlabel.align",l.align)}},98212:function(T,p,t){var d=t(71828),g=t(528);T.exports=function(i,M){function v(f,l){return M[f]!==void 0?M[f]:d.coerce(i,M,g,f,l)}return v("clickmode"),v("hovermode")}},30211:function(T,p,t){var d=t(39898),g=t(71828),i=t(28569),M=t(23469),v=t(528),f=t(88335);T.exports={moduleType:"component",name:"fx",constants:t(26675),schema:{layout:v},attributes:t(77914),layoutAttributes:v,supplyLayoutGlobalDefaults:t(22774),supplyDefaults:t(54268),supplyLayoutDefaults:t(34938),calc:t(30732),getDistanceFunction:M.getDistanceFunction,getClosest:M.getClosest,inbox:M.inbox,quadrature:M.quadrature,appendArrayPointValue:M.appendArrayPointValue,castHoverOption:function(l,a,u){return g.castOption(l,a,"hoverlabel."+u)},castHoverinfo:function(l,a,u){return g.castOption(l,u,"hoverinfo",function(o){return g.coerceHoverinfo({hoverinfo:o},{_module:l._module},a)})},hover:f.hover,unhover:i.unhover,loneHover:f.loneHover,loneUnhover:function(l){var a=g.isD3Selection(l)?l:d.select(l);a.selectAll("g.hovertext").remove(),a.selectAll(".spikeline").remove()},click:t(75914)}},528:function(T,p,t){var d=t(26675),g=t(41940),i=g({editType:"none"});i.family.dflt=d.HOVERFONT,i.size.dflt=d.HOVERFONTSIZE,T.exports={clickmode:{valType:"flaglist",flags:["event","select"],dflt:"event",editType:"plot",extras:["none"]},dragmode:{valType:"enumerated",values:["zoom","pan","select","lasso","drawclosedpath","drawopenpath","drawline","drawrect","drawcircle","orbit","turntable",!1],dflt:"zoom",editType:"modebar"},hovermode:{valType:"enumerated",values:["x","y","closest",!1,"x unified","y unified"],dflt:"closest",editType:"modebar"},hoverdistance:{valType:"integer",min:-1,dflt:20,editType:"none"},spikedistance:{valType:"integer",min:-1,dflt:-1,editType:"none"},hoverlabel:{bgcolor:{valType:"color",editType:"none"},bordercolor:{valType:"color",editType:"none"},font:i,grouptitlefont:g({editType:"none"}),align:{valType:"enumerated",values:["left","right","auto"],dflt:"auto",editType:"none"},namelength:{valType:"integer",min:-1,dflt:15,editType:"none"},editType:"none"},selectdirection:{valType:"enumerated",values:["h","v","d","any"],dflt:"any",editType:"none"}}},34938:function(T,p,t){var d=t(71828),g=t(528),i=t(98212),M=t(38048);T.exports=function(v,f){function l(s,c){return d.coerce(v,f,g,s,c)}i(v,f)&&(l("hoverdistance"),l("spikedistance")),l("dragmode")==="select"&&l("selectdirection");var a=f._has("mapbox"),u=f._has("geo"),o=f._basePlotModules.length;f.dragmode==="zoom"&&((a||u)&&o===1||a&&u&&o===2)&&(f.dragmode="pan"),M(v,f,l),d.coerceFont(l,"hoverlabel.grouptitlefont",f.hoverlabel.font)}},22774:function(T,p,t){var d=t(71828),g=t(38048),i=t(528);T.exports=function(M,v){g(M,v,function(f,l){return d.coerce(M,v,i,f,l)})}},83312:function(T,p,t){var d=t(71828),g=t(30587).counter,i=t(27670).Y,M=t(85555).idRegex,v=t(44467),f={rows:{valType:"integer",min:1,editType:"plot"},roworder:{valType:"enumerated",values:["top to bottom","bottom to top"],dflt:"top to bottom",editType:"plot"},columns:{valType:"integer",min:1,editType:"plot"},subplots:{valType:"info_array",freeLength:!0,dimensions:2,items:{valType:"enumerated",values:[g("xy").toString(),""],editType:"plot"},editType:"plot"},xaxes:{valType:"info_array",freeLength:!0,items:{valType:"enumerated",values:[M.x.toString(),""],editType:"plot"},editType:"plot"},yaxes:{valType:"info_array",freeLength:!0,items:{valType:"enumerated",values:[M.y.toString(),""],editType:"plot"},editType:"plot"},pattern:{valType:"enumerated",values:["independent","coupled"],dflt:"coupled",editType:"plot"},xgap:{valType:"number",min:0,max:1,editType:"plot"},ygap:{valType:"number",min:0,max:1,editType:"plot"},domain:i({name:"grid",editType:"plot",noGridCell:!0},{}),xside:{valType:"enumerated",values:["bottom","bottom plot","top plot","top"],dflt:"bottom plot",editType:"plot"},yside:{valType:"enumerated",values:["left","left plot","right plot","right"],dflt:"left plot",editType:"plot"},editType:"plot"};function l(o,s,c){var h=s[c+"axes"],m=Object.keys((o._splomAxes||{})[c]||{});return Array.isArray(h)?h:m.length?m:void 0}function a(o,s,c,h,m,w){var y=s(o+"gap",c),S=s("domain."+o);s(o+"side",h);for(var _=new Array(m),k=S[0],E=(S[1]-k)/(m-y),x=E*(1-y),A=0;A1){S||_||k||F("pattern")==="independent"&&(S=!0),x._hasSubplotGrid=S;var b,R,I=F("roworder")==="top to bottom",O=S?.2:.1,z=S?.3:.1;E&&s._splomGridDflt&&(b=s._splomGridDflt.xside,R=s._splomGridDflt.yside),x._domains={x:a("x",F,O,b,L),y:a("y",F,z,R,A,I)}}else delete s.grid}function F(B,N){return d.coerce(c,x,f,B,N)}},contentDefaults:function(o,s){var c=s.grid;if(c&&c._domains){var h,m,w,y,S,_,k,E=o.grid||{},x=s._subplots,A=c._hasSubplotGrid,L=c.rows,b=c.columns,R=c.pattern==="independent",I=c._axisMap={};if(A){var O=E.subplots||[];_=c.subplots=new Array(L);var z=1;for(h=0;h1);if(R===!1&&(s.legend=void 0),(R!==!1||h.uirevision)&&(w("uirevision",s.uirevision),R!==!1)){w("borderwidth");var I,O,z,F=w("orientation")==="h";if(F?(I=0,d.getComponentMethod("rangeslider","isVisible")(o.xaxis)?(O=1.1,z="bottom"):(O=-.1,z="top")):(I=1.02,O=1,z="auto"),w("traceorder",L),l.isGrouped(s.legend)&&w("tracegroupgap"),w("entrywidth"),w("entrywidthmode"),w("itemsizing"),w("itemwidth"),w("itemclick"),w("itemdoubleclick"),w("groupclick"),w("x",I),w("xanchor"),w("y",O),w("yanchor",z),w("valign"),g.noneOrAll(h,m,["x","y"]),w("title.text")){w("title.side",F?"left":"top");var B=g.extendFlat({},y,{size:g.bigFont(y.size)});g.coerceFont(w,"title.font",B)}}}}T.exports=function(u,o,s){var c,h=["legend"];for(c=0;c1)}var ne=U.hiddenlabels||[];if(!(q||U.showlegend&&H.length))return j.selectAll("."+G).remove(),U._topdefs.select("#"+W).remove(),i.autoMargin(B,G);var te=g.ensureSingle(j,"g",G,function(ye){q||ye.attr("pointer-events","all")}),Z=g.ensureSingleById(U._topdefs,"clipPath",W,function(ye){ye.append("rect")}),X=g.ensureSingle(te,"rect","bg",function(ye){ye.attr("shape-rendering","crispEdges")});X.call(a.stroke,$.bordercolor).call(a.fill,$.bgcolor).style("stroke-width",$.borderwidth+"px");var Q=g.ensureSingle(te,"g","scrollbox"),re=$.title;if($._titleWidth=0,$._titleHeight=0,re.text){var ie=g.ensureSingle(Q,"text",G+"titletext");ie.attr("text-anchor","start").call(l.font,re.font).text(re.text),I(ie,Q,B,$,1)}else Q.selectAll("."+G+"titletext").remove();var oe=g.ensureSingle(te,"rect","scrollbar",function(ye){ye.attr(s.scrollBarEnterAttrs).call(a.fill,s.scrollBarColor)}),ue=Q.selectAll("g.groups").data(H);ue.enter().append("g").attr("class","groups"),ue.exit().remove();var ce=ue.selectAll("g.traces").data(g.identity);ce.enter().append("g").attr("class","traces"),ce.exit().remove(),ce.style("opacity",function(ye){var de=ye[0].trace;return M.traceIs(de,"pie-like")?ne.indexOf(ye[0].label)!==-1?.5:1:de.visible==="legendonly"?.5:1}).each(function(){d.select(this).call(L,B,$)}).call(S,B,$).each(function(){q||d.select(this).call(R,B,G)}),g.syncOrAsync([i.previousPromises,function(){return function(ye,de,me,pe){var xe=ye._fullLayout,Pe=F(pe);pe||(pe=xe[Pe]);var _e=xe._size,Me=_.isVertical(pe),Se=_.isGrouped(pe),Ce=pe.entrywidthmode==="fraction",ae=pe.borderwidth,fe=2*ae,be=s.itemGap,ke=pe.itemwidth+2*be,Le=2*(ae+be),Be=z(pe),ze=pe.y<0||pe.y===0&&Be==="top",je=pe.y>1||pe.y===1&&Be==="bottom",ge=pe.tracegroupgap,we={};pe._maxHeight=Math.max(ze||je?xe.height/2:_e.h,30);var Ee=0;pe._width=0,pe._height=0;var Ve=function(Re){var Ne=0,Qe=0,ut=Re.title.side;return ut&&(ut.indexOf("left")!==-1&&(Ne=Re._titleWidth),ut.indexOf("top")!==-1&&(Qe=Re._titleHeight)),[Ne,Qe]}(pe);if(Me)me.each(function(Re){var Ne=Re[0].height;l.setTranslate(this,ae+Ve[0],ae+Ve[1]+pe._height+Ne/2+be),pe._height+=Ne,pe._width=Math.max(pe._width,Re[0].width)}),Ee=ke+pe._width,pe._width+=be+ke+fe,pe._height+=Le,Se&&(de.each(function(Re,Ne){l.setTranslate(this,0,Ne*pe.tracegroupgap)}),pe._height+=(pe._lgroupsLength-1)*pe.tracegroupgap);else{var $e=O(pe),Ye=pe.x<0||pe.x===0&&$e==="right",st=pe.x>1||pe.x===1&&$e==="left",ot=je||ze,ht=xe.width/2;pe._maxWidth=Math.max(Ye?ot&&$e==="left"?_e.l+_e.w:ht:st?ot&&$e==="right"?_e.r+_e.w:ht:_e.w,2*ke);var bt=0,Et=0;me.each(function(Re){var Ne=x(Re,pe,ke);bt=Math.max(bt,Ne),Et+=Ne}),Ee=null;var kt=0;if(Se){var xt=0,Ft=0,Ot=0;de.each(function(){var Re=0,Ne=0;d.select(this).selectAll("g.traces").each(function(ut){var dt=x(ut,pe,ke),_t=ut[0].height;l.setTranslate(this,Ve[0],Ve[1]+ae+be+_t/2+Ne),Ne+=_t,Re=Math.max(Re,dt),we[ut[0].trace.legendgroup]=Re});var Qe=Re+be;Ft>0&&Qe+ae+Ft>pe._maxWidth?(kt=Math.max(kt,Ft),Ft=0,Ot+=xt+ge,xt=Ne):xt=Math.max(xt,Ne),l.setTranslate(this,Ft,Ot),Ft+=Qe}),pe._width=Math.max(kt,Ft)+ae,pe._height=Ot+xt+Le}else{var Bt=me.size(),qt=Et+fe+(Bt-1)*be=pe._maxWidth&&(kt=Math.max(kt,qe),Ke=0,Je+=Vt,pe._height+=Vt,Vt=0),l.setTranslate(this,Ve[0]+ae+Ke,Ve[1]+ae+Je+Ne/2+be),qe=Ke+Qe+be,Ke+=ut,Vt=Math.max(Vt,Ne)}),qt?(pe._width=Ke+fe,pe._height=Vt+Le):(pe._width=Math.max(kt,qe)+fe,pe._height+=Vt+Le)}}pe._width=Math.ceil(Math.max(pe._width+Ve[0],pe._titleWidth+2*(ae+s.titlePad))),pe._height=Math.ceil(Math.max(pe._height+Ve[1],pe._titleHeight+2*(ae+s.itemGap))),pe._effHeight=Math.min(pe._height,pe._maxHeight);var nt=ye._context.edits,ft=nt.legendText||nt.legendPosition;me.each(function(Re){var Ne=d.select(this).select("."+Pe+"toggle"),Qe=Re[0].height,ut=Re[0].trace.legendgroup,dt=x(Re,pe,ke);Se&&ut!==""&&(dt=we[ut]);var _t=ft?ke:Ee||dt;Me||Ce||(_t+=be/2),l.setRect(Ne,0,-Qe/2,_t,Qe)})}(B,ue,ce,$)},function(){var ye,de,me,pe,xe=U._size,Pe=$.borderwidth;if(!q){var _e=function(Ye,st){var ot=Ye._fullLayout[st],ht=O(ot),bt=z(ot);return i.autoMargin(Ye,st,{x:ot.x,y:ot.y,l:ot._width*m[ht],r:ot._width*w[ht],b:ot._effHeight*w[bt],t:ot._effHeight*m[bt]})}(B,G);if(_e)return;var Me=xe.l+xe.w*$.x-m[O($)]*$._width,Se=xe.t+xe.h*(1-$.y)-m[z($)]*$._effHeight;if(U.margin.autoexpand){var Ce=Me,ae=Se;Me=g.constrain(Me,0,U.width-$._width),Se=g.constrain(Se,0,U.height-$._effHeight),Me!==Ce&&g.log("Constrain "+G+".x to make legend fit inside graph"),Se!==ae&&g.log("Constrain "+G+".y to make legend fit inside graph")}l.setTranslate(te,Me,Se)}if(oe.on(".drag",null),te.on("wheel",null),q||$._height<=$._maxHeight||B._context.staticPlot){var fe=$._effHeight;q&&(fe=$._height),X.attr({width:$._width-Pe,height:fe-Pe,x:Pe/2,y:Pe/2}),l.setTranslate(Q,0,0),Z.select("rect").attr({width:$._width-2*Pe,height:fe-2*Pe,x:Pe,y:Pe}),l.setClipUrl(Q,W,B),l.setRect(oe,0,0,0,0),delete $._scrollY}else{var be,ke,Le,Be=Math.max(s.scrollBarMinHeight,$._effHeight*$._effHeight/$._height),ze=$._effHeight-Be-2*s.scrollBarMargin,je=$._height-$._effHeight,ge=ze/je,we=Math.min($._scrollY||0,je);X.attr({width:$._width-2*Pe+s.scrollBarWidth+s.scrollBarMargin,height:$._effHeight-Pe,x:Pe/2,y:Pe/2}),Z.select("rect").attr({width:$._width-2*Pe+s.scrollBarWidth+s.scrollBarMargin,height:$._effHeight-2*Pe,x:Pe,y:Pe+we}),l.setClipUrl(Q,W,B),$e(we,Be,ge),te.on("wheel",function(){$e(we=g.constrain($._scrollY+d.event.deltaY/ze*je,0,je),Be,ge),we!==0&&we!==je&&d.event.preventDefault()});var Ee=d.behavior.drag().on("dragstart",function(){var Ye=d.event.sourceEvent;be=Ye.type==="touchstart"?Ye.changedTouches[0].clientY:Ye.clientY,Le=we}).on("drag",function(){var Ye=d.event.sourceEvent;Ye.buttons===2||Ye.ctrlKey||(ke=Ye.type==="touchmove"?Ye.changedTouches[0].clientY:Ye.clientY,we=function(st,ot,ht){var bt=(ht-ot)/ge+st;return g.constrain(bt,0,je)}(Le,be,ke),$e(we,Be,ge))});oe.call(Ee);var Ve=d.behavior.drag().on("dragstart",function(){var Ye=d.event.sourceEvent;Ye.type==="touchstart"&&(be=Ye.changedTouches[0].clientY,Le=we)}).on("drag",function(){var Ye=d.event.sourceEvent;Ye.type==="touchmove"&&(ke=Ye.changedTouches[0].clientY,we=function(st,ot,ht){var bt=(ot-ht)/ge+st;return g.constrain(bt,0,je)}(Le,be,ke),$e(we,Be,ge))});Q.call(Ve)}function $e(Ye,st,ot){$._scrollY=B._fullLayout[G]._scrollY=Ye,l.setTranslate(Q,0,-Ye),l.setRect(oe,$._width,s.scrollBarMargin+Ye*ot,s.scrollBarWidth,st),Z.select("rect").attr("y",Pe+Ye)}B._context.edits.legendPosition&&(te.classed("cursor-move",!0),f.init({element:te.node(),gd:B,prepFn:function(){var Ye=l.getTranslate(te);me=Ye.x,pe=Ye.y},moveFn:function(Ye,st){var ot=me+Ye,ht=pe+st;l.setTranslate(te,ot,ht),ye=f.align(ot,$._width,xe.l,xe.l+xe.w,$.xanchor),de=f.align(ht+$._height,-$._height,xe.t+xe.h,xe.t,$.yanchor)},doneFn:function(){if(ye!==void 0&&de!==void 0){var Ye={};Ye[G+".x"]=ye,Ye[G+".y"]=de,M.call("_guiRelayout",B,Ye)}},clickFn:function(Ye,st){var ot=ue.selectAll("g.traces").filter(function(){var ht=this.getBoundingClientRect();return st.clientX>=ht.left&&st.clientX<=ht.right&&st.clientY>=ht.top&&st.clientY<=ht.bottom});ot.size()>0&&A(B,te,ot,Ye,st)}}))}],B)}}function x(B,N,W){var j=B[0],$=j.width,U=N.entrywidthmode,G=j.trace.legendwidth||N.entrywidth;return U==="fraction"?N._maxWidth*G:W+(G||$)}function A(B,N,W,j,$){var U=W.data()[0][0].trace,G={event:$,node:W.node(),curveNumber:U.index,expandedIndex:U._expandedIndex,data:B.data,layout:B.layout,frames:B._transitionData._frames,config:B._context,fullData:B._fullData,fullLayout:B._fullLayout};U._group&&(G.group=U._group),M.traceIs(U,"pie-like")&&(G.label=W.datum()[0].label),v.triggerHandler(B,"plotly_legendclick",G)!==!1&&(j===1?N._clickTimeout=setTimeout(function(){B._fullLayout&&o(W,B,j)},B._context.doubleClickDelay):j===2&&(N._clickTimeout&&clearTimeout(N._clickTimeout),B._legendMouseDownTime=0,v.triggerHandler(B,"plotly_legenddoubleclick",G)!==!1&&o(W,B,j)))}function L(B,N,W){var j,$,U=F(W),G=B.data()[0][0],q=G.trace,H=M.traceIs(q,"pie-like"),ne=!W._inHover&&N._context.edits.legendText&&!H,te=W._maxNameLength;G.groupTitle?(j=G.groupTitle.text,$=G.groupTitle.font):($=W.font,W.entries?j=G.text:(j=H?G.label:q.name,q._meta&&(j=g.templateString(j,q._meta))));var Z=g.ensureSingle(B,"text",U+"text");Z.attr("text-anchor","start").call(l.font,$).text(ne?b(j,te):j);var X=W.itemwidth+2*s.itemGap;u.positionText(Z,X,0),ne?Z.call(u.makeEditable,{gd:N,text:j}).call(I,B,N,W).on("edit",function(Q){this.text(b(Q,te)).call(I,B,N,W);var re=G.trace._fullInput||{},ie={};if(M.hasTransform(re,"groupby")){var oe=M.getTransformIndices(re,"groupby"),ue=oe[oe.length-1],ce=g.keyedContainer(re,"transforms["+ue+"].styles","target","value.name");ce.set(G.trace._group,Q),ie=ce.constructUpdate()}else ie.name=Q;return M.call("_guiRestyle",N,ie,q.index)}):I(Z,B,N,W)}function b(B,N){var W=Math.max(4,N);if(B&&B.trim().length>=W/2)return B;for(var j=W-(B=B||"").length;j>0;j--)B+=" ";return B}function R(B,N,W){var j,$=N._context.doubleClickDelay,U=1,G=g.ensureSingle(B,"rect",W+"toggle",function(q){N._context.staticPlot||q.style("cursor","pointer").attr("pointer-events","all"),q.call(a.fill,"rgba(0,0,0,0)")});N._context.staticPlot||(G.on("mousedown",function(){(j=new Date().getTime())-N._legendMouseDownTime<$?U+=1:(U=1,N._legendMouseDownTime=j)}),G.on("mouseup",function(){if(!N._dragged&&!N._editing){var q=N._fullLayout[W];new Date().getTime()-N._legendMouseDownTime>$&&(U=Math.max(U-1,1)),A(N,q,B,U,d.event)}}))}function I(B,N,W,j,$){j._inHover&&B.attr("data-notex",!0),u.convertToTspans(B,W,function(){(function(U,G,q,H){var ne=U.data()[0][0];if(q._inHover||!ne||ne.trace.showlegend){var te=U.select("g[class*=math-group]"),Z=te.node(),X=F(q);q||(q=G._fullLayout[X]);var Q,re,ie=q.borderwidth,oe=(H===1?q.title.font:ne.groupTitle?ne.groupTitle.font:q.font).size*h;if(Z){var ue=l.bBox(Z);Q=ue.height,re=ue.width,H===1?l.setTranslate(te,ie,ie+.75*Q):l.setTranslate(te,0,.25*Q)}else{var ce="."+X+(H===1?"title":"")+"text",ye=U.select(ce),de=u.lineCount(ye),me=ye.node();if(Q=oe*de,re=me?l.bBox(me).width:0,H===1)q.title.side==="left"&&(re+=2*s.itemGap),u.positionText(ye,ie+s.titlePad,ie+oe);else{var pe=2*s.itemGap+q.itemwidth;ne.groupTitle&&(pe=s.itemGap,re-=q.itemwidth),u.positionText(ye,pe,-oe*((de-1)/2-.3))}}H===1?(q._titleWidth=re,q._titleHeight=Q):(ne.lineHeight=oe,ne.height=Math.max(Q,16)+3,ne.width=re)}else U.remove()})(N,W,j,$)})}function O(B){return g.isRightAnchor(B)?"right":g.isCenterAnchor(B)?"center":"left"}function z(B){return g.isBottomAnchor(B)?"bottom":g.isMiddleAnchor(B)?"middle":"top"}function F(B){return B._id||"legend"}T.exports=function(B,N){if(N)E(B,N);else{var W=B._fullLayout,j=W._legends;W._infolayer.selectAll('[class^="legend"]').each(function(){var G=d.select(this),q=G.attr("class").split(" ")[0];q.match(k)&&j.indexOf(q)===-1&&G.remove()});for(var $=0;$z&&(O=z)}R[f][0]._groupMinRank=O,R[f][0]._preGroupSort=f}var F=function($,U){return $.trace.legendrank-U.trace.legendrank||$._preSort-U._preSort};for(R.forEach(function($,U){$[0]._preGroupSort=U}),R.sort(function($,U){return $[0]._groupMinRank-U[0]._groupMinRank||$[0]._preGroupSort-U[0]._preGroupSort}),f=0;fS?S:w}T.exports=function(w,y,S){var _=y._fullLayout;S||(S=_.legend);var k=S.itemsizing==="constant",E=S.itemwidth,x=(E+2*s.itemGap)/2,A=M(x,0),L=function(I,O,z,F){var B;if(I+1)B=I;else{if(!(O&&O.width>0))return 0;B=O.width}return k?F:Math.min(B,z)};function b(I,O,z){var F=I[0].trace,B=F.marker||{},N=B.line||{},W=z?F.visible&&F.type===z:g.traceIs(F,"bar"),j=d.select(O).select("g.legendpoints").selectAll("path.legend"+z).data(W?[I]:[]);j.enter().append("path").classed("legend"+z,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",A),j.exit().remove(),j.each(function($){var U=d.select(this),G=$[0],q=L(G.mlw,B.line,5,2);U.style("stroke-width",q+"px");var H=G.mcc;if(!S._inHover&&"mc"in G){var ne=l(B),te=ne.mid;te===void 0&&(te=(ne.max+ne.min)/2),H=v.tryColorscale(B,"")(te)}var Z=H||G.mc||B.color,X=B.pattern,Q=X&&v.getPatternAttr(X.shape,0,"");if(Q){var re=v.getPatternAttr(X.bgcolor,0,null),ie=v.getPatternAttr(X.fgcolor,0,null),oe=X.fgopacity,ue=m(X.size,8,10),ce=m(X.solidity,.5,1),ye="legend-"+F.uid;U.call(v.pattern,"legend",y,ye,Q,ue,ce,H,X.fillmode,re,ie,oe)}else U.call(f.fill,Z);q&&f.stroke(U,G.mlc||N.color)})}function R(I,O,z){var F=I[0],B=F.trace,N=z?B.visible&&B.type===z:g.traceIs(B,z),W=d.select(O).select("g.legendpoints").selectAll("path.legend"+z).data(N?[I]:[]);if(W.enter().append("path").classed("legend"+z,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",A),W.exit().remove(),W.size()){var j=(B.marker||{}).line,$=L(o(j.width,F.pts),j,5,2),U=i.minExtend(B,{marker:{line:{width:$}}});U.marker.line.color=j.color;var G=i.minExtend(F,{trace:U});u(W,G,U)}}w.each(function(I){var O=d.select(this),z=i.ensureSingle(O,"g","layers");z.style("opacity",I[0].trace.opacity);var F=S.valign,B=I[0].lineHeight,N=I[0].height;if(F!=="middle"&&B&&N){var W={top:1,bottom:-1}[F]*(.5*(B-N+3));z.attr("transform",M(0,W))}else z.attr("transform",null);z.selectAll("g.legendfill").data([I]).enter().append("g").classed("legendfill",!0),z.selectAll("g.legendlines").data([I]).enter().append("g").classed("legendlines",!0);var j=z.selectAll("g.legendsymbols").data([I]);j.enter().append("g").classed("legendsymbols",!0),j.selectAll("g.legendpoints").data([I]).enter().append("g").classed("legendpoints",!0)}).each(function(I){var O,z=I[0].trace,F=[];if(z.visible)switch(z.type){case"histogram2d":case"heatmap":F=[["M-15,-2V4H15V-2Z"]],O=!0;break;case"choropleth":case"choroplethmapbox":F=[["M-6,-6V6H6V-6Z"]],O=!0;break;case"densitymapbox":F=[["M-6,0 a6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0"]],O="radial";break;case"cone":F=[["M-6,2 A2,2 0 0,0 -6,6 V6L6,4Z"],["M-6,-6 A2,2 0 0,0 -6,-2 L6,-4Z"],["M-6,-2 A2,2 0 0,0 -6,2 L6,0Z"]],O=!1;break;case"streamtube":F=[["M-6,2 A2,2 0 0,0 -6,6 H6 A2,2 0 0,1 6,2 Z"],["M-6,-6 A2,2 0 0,0 -6,-2 H6 A2,2 0 0,1 6,-6 Z"],["M-6,-2 A2,2 0 0,0 -6,2 H6 A2,2 0 0,1 6,-2 Z"]],O=!1;break;case"surface":F=[["M-6,-6 A2,3 0 0,0 -6,0 H6 A2,3 0 0,1 6,-6 Z"],["M-6,1 A2,3 0 0,1 -6,6 H6 A2,3 0 0,0 6,0 Z"]],O=!0;break;case"mesh3d":F=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],O=!1;break;case"volume":F=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],O=!0;break;case"isosurface":F=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6 A12,24 0 0,0 6,-6 L0,6Z"]],O=!1}var B=d.select(this).select("g.legendpoints").selectAll("path.legend3dandfriends").data(F);B.enter().append("path").classed("legend3dandfriends",!0).attr("transform",A).style("stroke-miterlimit",1),B.exit().remove(),B.each(function(N,W){var j,$=d.select(this),U=l(z),G=U.colorscale,q=U.reversescale;if(G){if(!O){var H=G.length;j=W===0?G[q?H-1:0][1]:W===1?G[q?0:H-1][1]:G[Math.floor((H-1)/2)][1]}}else{var ne=z.vertexcolor||z.facecolor||z.color;j=i.isArrayOrTypedArray(ne)?ne[W]||ne[0]:ne}$.attr("d",N[0]),j?$.call(f.fill,j):$.call(function(te){if(te.size()){var Z="legendfill-"+z.uid;v.gradient(te,y,Z,c(q,O==="radial"),G,"fill")}})})}).each(function(I){var O=I[0].trace,z=O.type==="waterfall";if(I[0]._distinct&&z){var F=I[0].trace[I[0].dir].marker;return I[0].mc=F.color,I[0].mlw=F.line.width,I[0].mlc=F.line.color,b(I,this,"waterfall")}var B=[];O.visible&&z&&(B=I[0].hasTotals?[["increasing","M-6,-6V6H0Z"],["totals","M6,6H0L-6,-6H-0Z"],["decreasing","M6,6V-6H0Z"]]:[["increasing","M-6,-6V6H6Z"],["decreasing","M6,6V-6H-6Z"]]);var N=d.select(this).select("g.legendpoints").selectAll("path.legendwaterfall").data(B);N.enter().append("path").classed("legendwaterfall",!0).attr("transform",A).style("stroke-miterlimit",1),N.exit().remove(),N.each(function(W){var j=d.select(this),$=O[W[0]].marker,U=L(void 0,$.line,5,2);j.attr("d",W[1]).style("stroke-width",U+"px").call(f.fill,$.color),U&&j.call(f.stroke,$.line.color)})}).each(function(I){b(I,this,"funnel")}).each(function(I){b(I,this)}).each(function(I){var O=I[0].trace,z=d.select(this).select("g.legendpoints").selectAll("path.legendbox").data(O.visible&&g.traceIs(O,"box-violin")?[I]:[]);z.enter().append("path").classed("legendbox",!0).attr("d","M6,6H-6V-6H6Z").attr("transform",A),z.exit().remove(),z.each(function(){var F=d.select(this);if(O.boxpoints!=="all"&&O.points!=="all"||f.opacity(O.fillcolor)!==0||f.opacity((O.line||{}).color)!==0){var B=L(void 0,O.line,5,2);F.style("stroke-width",B+"px").call(f.fill,O.fillcolor),B&&f.stroke(F,O.line.color)}else{var N=i.minExtend(O,{marker:{size:k?12:i.constrain(O.marker.size,2,16),sizeref:1,sizemin:1,sizemode:"diameter"}});z.call(v.pointStyle,N,y)}})}).each(function(I){R(I,this,"funnelarea")}).each(function(I){R(I,this,"pie")}).each(function(I){var O,z,F=h(I),B=F.showFill,N=F.showLine,W=F.showGradientLine,j=F.showGradientFill,$=F.anyFill,U=F.anyLine,G=I[0],q=G.trace,H=l(q),ne=H.colorscale,te=H.reversescale,Z=a.hasMarkers(q)||!$?"M5,0":U?"M5,-2":"M5,-3",X=d.select(this),Q=X.select(".legendfill").selectAll("path").data(B||j?[I]:[]);if(Q.enter().append("path").classed("js-fill",!0),Q.exit().remove(),Q.attr("d",Z+"h"+E+"v6h-"+E+"z").call(function(oe){if(oe.size())if(B)v.fillGroupStyle(oe,y);else{var ue="legendfill-"+q.uid;v.gradient(oe,y,ue,c(te),ne,"fill")}}),N||W){var re=L(void 0,q.line,10,5);z=i.minExtend(q,{line:{width:re}}),O=[i.minExtend(G,{trace:z})]}var ie=X.select(".legendlines").selectAll("path").data(N||W?[O]:[]);ie.enter().append("path").classed("js-line",!0),ie.exit().remove(),ie.attr("d",Z+(W?"l"+E+",0.0001":"h"+E)).call(N?v.lineGroupStyle:function(oe){if(oe.size()){var ue="legendline-"+q.uid;v.lineGroupStyle(oe),v.gradient(oe,y,ue,c(te),ne,"stroke")}})}).each(function(I){var O,z,F=h(I),B=F.anyFill,N=F.anyLine,W=F.showLine,j=F.showMarker,$=I[0],U=$.trace,G=!j&&!N&&!B&&a.hasText(U);function q(ie,oe,ue,ce){var ye=i.nestedProperty(U,ie).get(),de=i.isArrayOrTypedArray(ye)&&oe?oe(ye):ye;if(k&&de&&ce!==void 0&&(de=ce),ue){if(deue[1])return ue[1]}return de}function H(ie){return $._distinct&&$.index&&ie[$.index]?ie[$.index]:ie[0]}if(j||G||W){var ne={},te={};if(j){ne.mc=q("marker.color",H),ne.mx=q("marker.symbol",H),ne.mo=q("marker.opacity",i.mean,[.2,1]),ne.mlc=q("marker.line.color",H),ne.mlw=q("marker.line.width",i.mean,[0,5],2),te.marker={sizeref:1,sizemin:1,sizemode:"diameter"};var Z=q("marker.size",i.mean,[2,16],12);ne.ms=Z,te.marker.size=Z}W&&(te.line={width:q("line.width",H,[0,10],5)}),G&&(ne.tx="Aa",ne.tp=q("textposition",H),ne.ts=10,ne.tc=q("textfont.color",H),ne.tf=q("textfont.family",H)),O=[i.minExtend($,ne)],(z=i.minExtend(U,te)).selectedpoints=null,z.texttemplate=null}var X=d.select(this).select("g.legendpoints"),Q=X.selectAll("path.scatterpts").data(j?O:[]);Q.enter().insert("path",":first-child").classed("scatterpts",!0).attr("transform",A),Q.exit().remove(),Q.call(v.pointStyle,z,y),j&&(O[0].mrc=3);var re=X.selectAll("g.pointtext").data(G?O:[]);re.enter().append("g").classed("pointtext",!0).append("text").attr("transform",A),re.exit().remove(),re.selectAll("text").call(v.textPointStyle,z,y)}).each(function(I){var O=I[0].trace,z=d.select(this).select("g.legendpoints").selectAll("path.legendcandle").data(O.visible&&O.type==="candlestick"?[I,I]:[]);z.enter().append("path").classed("legendcandle",!0).attr("d",function(F,B){return B?"M-15,0H-8M-8,6V-6H8Z":"M15,0H8M8,-6V6H-8Z"}).attr("transform",A).style("stroke-miterlimit",1),z.exit().remove(),z.each(function(F,B){var N=d.select(this),W=O[B?"increasing":"decreasing"],j=L(void 0,W.line,5,2);N.style("stroke-width",j+"px").call(f.fill,W.fillcolor),j&&f.stroke(N,W.line.color)})}).each(function(I){var O=I[0].trace,z=d.select(this).select("g.legendpoints").selectAll("path.legendohlc").data(O.visible&&O.type==="ohlc"?[I,I]:[]);z.enter().append("path").classed("legendohlc",!0).attr("d",function(F,B){return B?"M-15,0H0M-8,-6V0":"M15,0H0M8,6V0"}).attr("transform",A).style("stroke-miterlimit",1),z.exit().remove(),z.each(function(F,B){var N=d.select(this),W=O[B?"increasing":"decreasing"],j=L(void 0,W.line,5,2);N.style("fill","none").call(v.dashLine,W.line.dash,j),j&&f.stroke(N,W.line.color)})})}},42068:function(T,p,t){t(93348),T.exports={editType:"modebar",orientation:{valType:"enumerated",values:["v","h"],dflt:"h",editType:"modebar"},bgcolor:{valType:"color",editType:"modebar"},color:{valType:"color",editType:"modebar"},activecolor:{valType:"color",editType:"modebar"},uirevision:{valType:"any",editType:"none"},add:{valType:"string",arrayOk:!0,dflt:"",editType:"modebar"},remove:{valType:"string",arrayOk:!0,dflt:"",editType:"modebar"}}},26023:function(T,p,t){var d=t(73972),g=t(74875),i=t(41675),M=t(24255),v=t(34031).eraseActiveShape,f=t(71828),l=f._,a=T.exports={};function u(_,k){var E,x,A=k.currentTarget,L=A.getAttribute("data-attr"),b=A.getAttribute("data-val")||!0,R=_._fullLayout,I={},O=i.list(_,null,!0),z=R._cartesianSpikesEnabled;if(L==="zoom"){var F,B=b==="in"?.5:2,N=(1+B)/2,W=(1-B)/2;for(x=0;x1?(Z=["toggleHover"],X=["resetViews"]):I?(te=["zoomInGeo","zoomOutGeo"],Z=["hoverClosestGeo"],X=["resetGeo"]):R?(Z=["hoverClosest3d"],X=["resetCameraDefault3d","resetCameraLastSave3d"]):N?(te=["zoomInMapbox","zoomOutMapbox"],Z=["toggleHover"],X=["resetViewMapbox"]):F?Z=["hoverClosestGl2d"]:O?Z=["hoverClosestPie"]:$?(Z=["hoverClosestCartesian","hoverCompareCartesian"],X=["resetViewSankey"]):Z=["toggleHover"],b&&(Z=["toggleSpikelines","hoverClosestCartesian","hoverCompareCartesian"]),(function(ye){for(var de=0;de0)){var y=function(_,k,E){for(var x=E.filter(function(R){return k[R].anchor===_._id}),A=0,L=0;L=pe.max)de=oe[me+1];else if(ye=pe.pmax)de=oe[me+1];else if(yeme._length||ke+Ve<0)return;ge=be+Ve,we=ke+Ve;break;case Pe:if(Ee="col-resize",be+Ve>me._length)return;ge=be+Ve,we=ke;break;case _e:if(Ee="col-resize",ke+Ve<0)return;ge=be,we=ke+Ve;break;default:Ee="ew-resize",ge=fe,we=fe+Ve}if(we=0;F--){var B=k.append("path").attr(x).style("opacity",F?.1:A).call(M.stroke,b).call(M.fill,L).call(v.dashLine,F?"solid":I,F?4+R:R);if(c(B,m,S),O){var N=f(m.layout,"selections",S);B.style({cursor:"move"});var W={element:B.node(),plotinfo:_,gd:m,editHelpers:N,isActiveSelection:!0},j=d(E,m);g(j,B,W)}else B.style("pointer-events",F?"all":"none");z[F]=B}var $=z[0];z[1].node().addEventListener("click",function(){return function(U,G){if(o(U)){var q=+G.node().getAttribute("data-index");if(q>=0){if(q===U._fullLayout._activeSelectionIndex)return void h(U);U._fullLayout._activeSelectionIndex=q,U._fullLayout._deactivateSelection=h,u(U)}}}(m,$)})}(m._fullLayout._selectionLayer)}function c(m,w,y){var S=y.xref+y.yref;v.setClipUrl(m,"clip"+w._fullLayout._uid+S,w)}function h(m){o(m)&&m._fullLayout._activeSelectionIndex>=0&&(i(m),delete m._fullLayout._activeSelectionIndex,u(m))}T.exports={draw:u,drawOne:s,activateLastSelection:function(m){if(o(m)){var w=m._fullLayout.selections.length-1;m._fullLayout._activeSelectionIndex=w,m._fullLayout._deactivateSelection=h,u(m)}}}},53777:function(T,p,t){var d=t(79952).P,g=t(1426).extendFlat;T.exports={newselection:{mode:{valType:"enumerated",values:["immediate","gradual"],dflt:"immediate",editType:"none"},line:{color:{valType:"color",editType:"none"},width:{valType:"number",min:1,dflt:1,editType:"none"},dash:g({},d,{dflt:"dot",editType:"none"}),editType:"none"},editType:"none"},activeselection:{fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"none"},opacity:{valType:"number",min:0,max:1,dflt:.5,editType:"none"},editType:"none"}}},90849:function(T){T.exports=function(p,t,d){d("newselection.mode"),d("newselection.line.width")&&(d("newselection.line.color"),d("newselection.line.dash")),d("activeselection.fillcolor"),d("activeselection.opacity")}},35855:function(T,p,t){var d=t(64505).selectMode,g=t(51873).clearOutline,i=t(60165),M=i.readPaths,v=i.writePaths,f=i.fixDatesForPaths;T.exports=function(l,a){if(l.length){var u=l[0][0];if(u){var o=u.getAttribute("d"),s=a.gd,c=s._fullLayout.newselection,h=a.plotinfo,m=h.xaxis,w=h.yaxis,y=a.isActiveSelection,S=a.dragmode,_=(s.layout||{}).selections||[];if(!d(S)&&y!==void 0){var k=s._fullLayout._activeSelectionIndex;if(k<_.length)switch(s._fullLayout.selections[k].type){case"rect":S="select";break;case"path":S="lasso"}}var E,x=M(o,s,h,y),A={xref:m._id,yref:w._id,opacity:c.opacity,line:{color:c.line.color,width:c.line.width,dash:c.line.dash}};x.length===1&&(E=x[0]),E&&E.length===5&&S==="select"?(A.type="rect",A.x0=E[0][1],A.y0=E[0][2],A.x1=E[2][1],A.y1=E[2][2]):(A.type="path",m&&w&&f(x,m,w),A.path=v(x),E=null),g(s);for(var L=a.editHelpers,b=(L||{}).modifyItem,R=[],I=0;I<_.length;I++){var O=s._fullLayout.selections[I];if(O){if(R[I]=O._input,y!==void 0&&I===s._fullLayout._activeSelectionIndex){var z=A;switch(O.type){case"rect":b("x0",z.x0),b("x1",z.x1),b("y0",z.y0),b("y1",z.y1);break;case"path":b("path",z.path)}}}else R[I]=O}return y===void 0?(R.push(A),R):L?L.getUpdateObj():{}}}}},75549:function(T,p,t){var d=t(71828).strTranslate;function g(i,M){switch(i.type){case"log":return i.p2d(M);case"date":return i.p2r(M,0,i.calendar);default:return i.p2r(M)}}T.exports={p2r:g,r2p:function(i,M){switch(i.type){case"log":return i.d2p(M);case"date":return i.r2p(M,0,i.calendar);default:return i.r2p(M)}},axValue:function(i){var M=i._id.charAt(0)==="y"?1:0;return function(v){return g(i,v[M])}},getTransform:function(i){return d(i.xaxis._offset,i.yaxis._offset)}}},47322:function(T,p,t){var d=t(32485),g=t(3937);T.exports={moduleType:"component",name:"selections",layoutAttributes:t(8389),supplyLayoutDefaults:t(59402),supplyDrawNewSelectionDefaults:t(90849),includeBasePlot:t(76325)("selections"),draw:d.draw,drawOne:d.drawOne,reselect:g.reselect,prepSelect:g.prepSelect,clearOutline:g.clearOutline,clearSelectionsCache:g.clearSelectionsCache,selectOnClick:g.selectOnClick}},3937:function(T,p,t){var d=t(52142),g=t(38258),i=t(73972),M=t(91424).dashStyle,v=t(7901),f=t(30211),l=t(23469).makeEventData,a=t(64505),u=a.freeMode,o=a.rectMode,s=a.drawMode,c=a.openMode,h=a.selectMode,m=t(30477),w=t(21459),y=t(42359),S=t(51873).clearOutline,_=t(60165),k=_.handleEllipse,E=_.readPaths,x=t(90551),A=t(35855),L=t(32485).activateLastSelection,b=t(71828),R=b.sorterAsc,I=t(61082),O=t(79990),z=t(41675).getFromId,F=t(33306),B=t(61549).redrawReglTraces,N=t(34122),W=N.MINSELECT,j=I.filter,$=I.tester,U=t(75549),G=U.p2r,q=U.axValue,H=U.getTransform;function ne(ze){return ze.subplot!==void 0}function te(ze,je,ge,we,Ee,Ve,$e){var Ye,st,ot,ht,bt,Et,kt,xt,Ft,Ot=je._hoverdata,Bt=je._fullLayout.clickmode.indexOf("event")>-1,qt=[];if(function(nt){return nt&&Array.isArray(nt)&&nt[0].hoverOnBox!==!0}(Ot)){re(ze,je,Ve);var Vt=function(nt,ft){var Re,Ne,Qe=nt[0],ut=-1,dt=[];for(Ne=0;Ne0?function(nt,ft){var Re,Ne,Qe,ut=[];for(Qe=0;Qe0&&ut.push(Re);if(ut.length===1&&ut[0]===ft.searchInfo&&(Ne=ft.searchInfo.cd[0].trace).selectedpoints.length===ft.pointNumbers.length){for(Qe=0;Qe1||(Ne+=ft.selectedpoints.length)>1))return!1;return Ne===1}(Ye)&&(Et=ye(Vt))){for($e&&$e.remove(),Ft=0;Ft=0})(Ee)&&Ee._fullLayout._deactivateShape(Ee),function(bt){return bt._fullLayout._activeSelectionIndex>=0}(Ee)&&Ee._fullLayout._deactivateSelection(Ee);var Ve=Ee._fullLayout._zoomlayer,$e=s(ge),Ye=h(ge);if($e||Ye){var st,ot,ht=Ve.selectAll(".select-outline-"+we.id);ht&&Ee._fullLayout._outlining&&($e&&(st=x(ht,ze)),st&&i.call("_guiRelayout",Ee,{shapes:st}),Ye&&!ne(ze)&&(ot=A(ht,ze)),ot&&(Ee._fullLayout._noEmitSelectedAtStart=!0,i.call("_guiRelayout",Ee,{selections:ot}).then(function(){je&&L(Ee)})),Ee._fullLayout._outlining=!1)}we.selection={},we.selection.selectionDefs=ze.selectionDefs=[],we.selection.mergedPolygons=ze.mergedPolygons=[]}function oe(ze){return ze._id}function ue(ze,je,ge,we){if(!ze.calcdata)return[];var Ee,Ve,$e,Ye=[],st=je.map(oe),ot=ge.map(oe);for($e=0;$e0?we[0]:ge;return!!je.selectedpoints&&je.selectedpoints.indexOf(Ee)>-1}function de(ze,je,ge){var we,Ee;for(we=0;we-1&&je;if(!Ve&&je){var Tn=Ce(ze,!0);if(Tn.length){var dn=Tn[0].xref,pn=Tn[0].yref;if(dn&&pn){var Dn=be(Tn);ke([z(ze,dn,"x"),z(ze,pn,"y")])(kn,Dn)}}ze._fullLayout._noEmitSelectedAtStart?ze._fullLayout._noEmitSelectedAtStart=!1:sn&&Le(ze,kn),Et._reselect=!1}if(!Ve&&Et._deselect){var In=Et._deselect;(function(jn,Gn,qn){for(var lr=0;lr=0)kt._fullLayout._deactivateShape(kt);else if(!ot){var pn=xt.clickmode;O.done(An).then(function(){if(O.clear(An),Tn===2){for(Xt.remove(),Qe=0;Qe-1&&te(dn,kt,we.xaxes,we.yaxes,we.subplot,we,Xt),pn==="event"&&Le(kt,void 0);f.click(kt,dn)}).catch(b.error)}},we.doneFn=function(){un.remove(),O.done(An).then(function(){O.clear(An),!Ft&&Ne&&we.selectionDefs&&(Ne.subtract=Wt,we.selectionDefs.push(Ne),we.mergedPolygons.length=0,[].push.apply(we.mergedPolygons,Re)),(Ft||ot)&&ie(we,Ft),we.doneFnCompleted&&we.doneFnCompleted(Yn),ht&&Le(kt,dt)}).catch(b.error)}},clearOutline:S,clearSelectionsCache:ie,selectOnClick:te}},89827:function(T,p,t){var d=t(50215),g=t(41940),i=t(82196).line,M=t(79952).P,v=t(1426).extendFlat,f=t(44467).templatedArray,l=(t(24695),t(5386).R),a=t(37281);T.exports=f("shape",{visible:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},type:{valType:"enumerated",values:["circle","rect","path","line"],editType:"calc+arraydraw"},layer:{valType:"enumerated",values:["below","above"],dflt:"above",editType:"arraydraw"},xref:v({},d.xref,{}),xsizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",editType:"calc+arraydraw"},xanchor:{valType:"any",editType:"calc+arraydraw"},x0:{valType:"any",editType:"calc+arraydraw"},x1:{valType:"any",editType:"calc+arraydraw"},yref:v({},d.yref,{}),ysizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",editType:"calc+arraydraw"},yanchor:{valType:"any",editType:"calc+arraydraw"},y0:{valType:"any",editType:"calc+arraydraw"},y1:{valType:"any",editType:"calc+arraydraw"},path:{valType:"string",editType:"calc+arraydraw"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"arraydraw"},line:{color:v({},i.color,{editType:"arraydraw"}),width:v({},i.width,{editType:"calc+arraydraw"}),dash:v({},M,{editType:"arraydraw"}),editType:"calc+arraydraw"},fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},fillrule:{valType:"enumerated",values:["evenodd","nonzero"],dflt:"evenodd",editType:"arraydraw"},editable:{valType:"boolean",dflt:!1,editType:"calc+arraydraw"},label:{text:{valType:"string",dflt:"",editType:"arraydraw"},texttemplate:l({},{keys:Object.keys(a)}),font:g({editType:"calc+arraydraw",colorEditType:"arraydraw"}),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right","start","middle","end"],editType:"arraydraw"},textangle:{valType:"angle",dflt:"auto",editType:"calc+arraydraw"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto",editType:"calc+arraydraw"},yanchor:{valType:"enumerated",values:["top","middle","bottom"],editType:"calc+arraydraw"},padding:{valType:"number",dflt:3,min:0,editType:"arraydraw"},editType:"arraydraw"},editType:"arraydraw"})},5627:function(T,p,t){var d=t(71828),g=t(89298),i=t(21459),M=t(30477);function v(u){return l(u.line.width,u.xsizemode,u.x0,u.x1,u.path,!1)}function f(u){return l(u.line.width,u.ysizemode,u.y0,u.y1,u.path,!0)}function l(u,o,s,c,h,m){var w=u/2,y=m;if(o==="pixel"){var S=h?M.extractPathCoords(h,m?i.paramIsY:i.paramIsX):[s,c],_=d.aggNums(Math.max,null,S),k=d.aggNums(Math.min,null,S),E=k<0?Math.abs(k)+w:w,x=_>0?_+w:w;return{ppad:w,ppadplus:y?E:x,ppadminus:y?x:E}}return{ppad:w}}function a(u,o,s,c,h){var m=u.type==="category"||u.type==="multicategory"?u.r2c:u.d2c;if(o!==void 0)return[m(o),m(s)];if(c){var w,y,S,_,k=1/0,E=-1/0,x=c.match(i.segmentRE);for(u.type==="date"&&(m=M.decodeDate(m)),w=0;wE&&(E=_)));return E>=k?[k,E]:void 0}}T.exports=function(u){var o=u._fullLayout,s=d.filterVisible(o.shapes);if(s.length&&u._fullData.length)for(var c=0;c1&&(ye.length!==2||ye[1][0]!=="Z")&&(W===0&&(ye[0][0]="M"),A[N]=ye,O(),z())}}()}}function X(oe,ue){(function(ce,ye){if(A.length)for(var de=0;deSe?(fe=_e,Be="y0",be=Se,ze="y1"):(fe=Se,Be="y1",be=_e,ze="y0"),Je(Ne),ft(pe,de),function(Qe,ut,dt){var _t=ut.xref,It=ut.yref,Lt=M.getFromId(dt,_t),yt=M.getFromId(dt,It),Pt="";_t==="paper"||Lt.autorange||(Pt+=_t),It==="paper"||yt.autorange||(Pt+=It),u.setClipUrl(Qe,Pt?"clip"+dt._fullLayout._uid+Pt:null,dt)}(ye,de,ce),Ke.moveFn=Ee==="move"?qe:nt,Ke.altKey=Ne.altKey)},doneFn:function(){E(ce)||(c(ye),Re(pe),L(ye,ce,de),g.call("_guiRelayout",ce,xe.getUpdateObj()))},clickFn:function(){E(ce)||Re(pe)}};function Je(Ne){if(E(ce))Ee=null;else if(Ye)Ee=Ne.target.tagName==="path"?"move":Ne.target.attributes["data-line-point"].value==="start-point"?"resize-over-start-point":"resize-over-end-point";else{var Qe=Ke.element.getBoundingClientRect(),ut=Qe.right-Qe.left,dt=Qe.bottom-Qe.top,_t=Ne.clientX-Qe.left,It=Ne.clientY-Qe.top,Lt=!st&&ut>10&&dt>10&&!Ne.shiftKey?s.getCursor(_t/ut,1-It/dt):"move";c(ye,Lt),Ee=Lt.split("-")[0]}}function qe(Ne,Qe){if(de.type==="path"){var ut=function(It){return It},dt=ut,_t=ut;Ve?ot("xanchor",de.xanchor=Bt(Ce+Ne)):(dt=function(It){return Bt(Ft(It)+Ne)},bt&&bt.type==="date"&&(dt=w.encodeDate(dt))),$e?ot("yanchor",de.yanchor=qt(ae+Qe)):(_t=function(It){return qt(Ot(It)+Qe)},kt&&kt.type==="date"&&(_t=w.encodeDate(_t))),ot("path",de.path=R(we,dt,_t))}else Ve?ot("xanchor",de.xanchor=Bt(Ce+Ne)):(ot("x0",de.x0=Bt(Pe+Ne)),ot("x1",de.x1=Bt(Me+Ne))),$e?ot("yanchor",de.yanchor=qt(ae+Qe)):(ot("y0",de.y0=qt(_e+Qe)),ot("y1",de.y1=qt(Se+Qe)));ye.attr("d",y(ce,de)),ft(pe,de),b(ce,me,de,ht)}function nt(Ne,Qe){if(st){var ut=function(un){return un},dt=ut,_t=ut;Ve?ot("xanchor",de.xanchor=Bt(Ce+Ne)):(dt=function(un){return Bt(Ft(un)+Ne)},bt&&bt.type==="date"&&(dt=w.encodeDate(dt))),$e?ot("yanchor",de.yanchor=qt(ae+Qe)):(_t=function(un){return qt(Ot(un)+Qe)},kt&&kt.type==="date"&&(_t=w.encodeDate(_t))),ot("path",de.path=R(we,dt,_t))}else if(Ye){if(Ee==="resize-over-start-point"){var It=Pe+Ne,Lt=$e?_e-Qe:_e+Qe;ot("x0",de.x0=Ve?It:Bt(It)),ot("y0",de.y0=$e?Lt:qt(Lt))}else if(Ee==="resize-over-end-point"){var yt=Me+Ne,Pt=$e?Se-Qe:Se+Qe;ot("x1",de.x1=Ve?yt:Bt(yt)),ot("y1",de.y1=$e?Pt:qt(Pt))}}else{var wt=function(un){return Ee.indexOf(un)!==-1},Rt=wt("n"),Nt=wt("s"),Yt=wt("w"),Wt=wt("e"),Xt=Rt?fe+Qe:fe,Qt=Nt?be+Qe:be,rn=Yt?ke+Ne:ke,xn=Wt?Le+Ne:Le;$e&&(Rt&&(Xt=fe-Qe),Nt&&(Qt=be-Qe)),(!$e&&Qt-Xt>10||$e&&Xt-Qt>10)&&(ot(Be,de[Be]=$e?Xt:qt(Xt)),ot(ze,de[ze]=$e?Qt:qt(Qt))),xn-rn>10&&(ot(je,de[je]=Ve?rn:Bt(rn)),ot(ge,de[ge]=Ve?xn:Bt(xn)))}ye.attr("d",y(ce,de)),ft(pe,de),b(ce,me,de,ht)}function ft(Ne,Qe){(Ve||$e)&&function(){var ut=Qe.type!=="path",dt=Ne.selectAll(".visual-cue").data([0]);dt.enter().append("path").attr({fill:"#fff","fill-rule":"evenodd",stroke:"#000","stroke-width":1}).classed("visual-cue",!0);var _t=Ft(Ve?Qe.xanchor:i.midRange(ut?[Qe.x0,Qe.x1]:w.extractPathCoords(Qe.path,m.paramIsX))),It=Ot($e?Qe.yanchor:i.midRange(ut?[Qe.y0,Qe.y1]:w.extractPathCoords(Qe.path,m.paramIsY)));if(_t=w.roundPositionForSharpStrokeRendering(_t,1),It=w.roundPositionForSharpStrokeRendering(It,1),Ve&&$e){var Lt="M"+(_t-1-1)+","+(It-1-1)+"h-8v2h8 v8h2v-8 h8v-2h-8 v-8h-2 Z";dt.attr("d",Lt)}else if(Ve){var yt="M"+(_t-1-1)+","+(It-9-1)+"v18 h2 v-18 Z";dt.attr("d",yt)}else{var Pt="M"+(_t-9-1)+","+(It-1-1)+"h18 v2 h-18 Z";dt.attr("d",Pt)}}()}function Re(Ne){Ne.selectAll(".visual-cue").remove()}s.init(Ke),Vt.node().onmousemove=Je}(O,ie,B,z,j,Q):B.editable===!0&&ie.style("pointer-events",Z||a.opacity(q)*G<=.5?"stroke":"all");ie.node().addEventListener("click",function(){return function(ce,ye){if(x(ce)){var de=+ye.node().getAttribute("data-index");if(de>=0){if(de===ce._fullLayout._activeShapeIndex)return void I(ce);ce._fullLayout._activeShapeIndex=de,ce._fullLayout._deactivateShape=I,k(ce)}}}(O,ie)})}B._input&&B.visible!==!1&&(B.layer!=="below"?W(O._fullLayout._shapeUpperLayer):B.xref==="paper"||B.yref==="paper"?W(O._fullLayout._shapeLowerLayer):N._hadPlotinfo?W((N.mainplotinfo||N).shapelayer):W(O._fullLayout._shapeLowerLayer))}function L(O,z,F){var B=(F.xref+F.yref).replace(/paper/g,"").replace(/[xyz][1-9]* *domain/g,"");u.setClipUrl(O,B?"clip"+z._fullLayout._uid+B:null,z)}function b(O,z,F,B){if(B.selectAll(".shape-label").remove(),F.label.text||F.label.texttemplate){var N;if(F.label.texttemplate){var W={};if(F.type!=="path"){var j=M.getFromId(O,F.xref),$=M.getFromId(O,F.yref);for(var U in S){var G=S[U](F,j,$);G!==void 0&&(W[U]=G)}}N=i.texttemplateStringForShapes(F.label.texttemplate,{},O._fullLayout._d3locale,W)}else N=F.label.text;var q,H,ne,te,Z={"data-index":z},X=F.label.font,Q=B.append("g").attr(Z).classed("shape-label",!0).append("text").attr({"data-notex":1}).classed("shape-label-text",!0).text(N);if(F.path){var re=y(O,F),ie=v(re,O);q=1/0,ne=1/0,H=-1/0,te=-1/0;for(var oe=0;oe=Le?Be-je:je-Be,-180/Math.PI*Math.atan2(ge,we)}(q,ne,H,te):0),Q.call(function(Le){return Le.call(u.font,X).attr({}),h.convertToTspans(Le,O),Le});var ae=function(Le,Be,ze,je,ge,we,Ee){var Ve,$e,Ye,st,ot=ge.label.textposition,ht=ge.label.textangle,bt=ge.label.padding,Et=ge.type,kt=Math.PI/180*we,xt=Math.sin(kt),Ft=Math.cos(kt),Ot=ge.label.xanchor,Bt=ge.label.yanchor;if(Et==="line"){ot==="start"?(Ve=Le,$e=Be):ot==="end"?(Ve=ze,$e=je):(Ve=(Le+ze)/2,$e=(Be+je)/2),Ot==="auto"&&(Ot=ot==="start"?ht==="auto"?ze>Le?"left":zeLe?"right":zeLe?"right":zeLe?"left":ze=U||(j[N]?G=z(G):$[N]&&(G=F(G)),N++),G})})}function I(O){x(O)&&O._fullLayout._activeShapeIndex>=0&&(l(O),delete O._fullLayout._activeShapeIndex,k(O))}T.exports={draw:k,drawOne:A,eraseActiveShape:function(O){if(x(O)){l(O);var z=O._fullLayout._activeShapeIndex,F=(O.layout||{}).shapes||[];if(z0&&EZ&&(Q="X"),Q});return q>Z&&(X=X.replace(/[\s,]*X.*/,""),g.log("Ignoring extra params in segment "+G)),H+X})}(v,l,u);if(v.xsizemode==="pixel"){var E=l(v.xanchor);o=E+v.x0,s=E+v.x1}else o=l(v.x0),s=l(v.x1);if(v.ysizemode==="pixel"){var x=u(v.yanchor);c=x-v.y0,h=x-v.y1}else c=u(v.y0),h=u(v.y1);if(m==="line")return"M"+o+","+c+"L"+s+","+h;if(m==="rect")return"M"+o+","+c+"H"+s+"V"+h+"H"+o+"Z";var A=(o+s)/2,L=(c+h)/2,b=Math.abs(A-o),R=Math.abs(L-c),I="A"+b+","+R,O=A+b+","+L;return"M"+O+I+" 0 1,1 "+A+","+(L-R)+I+" 0 0,1 "+O+"Z"}},89853:function(T,p,t){var d=t(34031);T.exports={moduleType:"component",name:"shapes",layoutAttributes:t(89827),supplyLayoutDefaults:t(84726),supplyDrawNewShapeDefaults:t(45547),includeBasePlot:t(76325)("shapes"),calcAutorange:t(5627),draw:d.draw,drawOne:d.drawOne}},37281:function(T){function p(i,M){return M?M.d2l(i):i}function t(i,M){return M?M.l2d(i):i}function d(i,M){return p(i.x1,M)-p(i.x0,M)}function g(i,M,v){return p(i.y1,v)-p(i.y0,v)}T.exports={x0:function(i){return i.x0},x1:function(i){return i.x1},y0:function(i){return i.y0},y1:function(i){return i.y1},slope:function(i,M,v){return i.type!=="line"?void 0:g(i,0,v)/d(i,M)},dx:d,dy:g,width:function(i,M){return Math.abs(d(i,M))},height:function(i,M,v){return Math.abs(g(i,0,v))},length:function(i,M,v){return i.type!=="line"?void 0:Math.sqrt(Math.pow(d(i,M),2)+Math.pow(g(i,0,v),2))},xcenter:function(i,M){return t((p(i.x1,M)+p(i.x0,M))/2,M)},ycenter:function(i,M,v){return t((p(i.y1,v)+p(i.y0,v))/2,v)}}},75067:function(T,p,t){var d=t(41940),g=t(35025),i=t(1426).extendDeepAll,M=t(30962).overrideAll,v=t(85594),f=t(44467).templatedArray,l=t(98292),a=f("step",{visible:{valType:"boolean",dflt:!0},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle"},args:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},label:{valType:"string"},value:{valType:"string"},execute:{valType:"boolean",dflt:!0}});T.exports=M(f("slider",{visible:{valType:"boolean",dflt:!0},active:{valType:"number",min:0,dflt:0},steps:a,lenmode:{valType:"enumerated",values:["fraction","pixels"],dflt:"fraction"},len:{valType:"number",min:0,dflt:1},x:{valType:"number",min:-2,max:3,dflt:0},pad:i(g({editType:"arraydraw"}),{},{t:{dflt:20}}),xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left"},y:{valType:"number",min:-2,max:3,dflt:0},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top"},transition:{duration:{valType:"number",min:0,dflt:150},easing:{valType:"enumerated",values:v.transition.easing.values,dflt:"cubic-in-out"}},currentvalue:{visible:{valType:"boolean",dflt:!0},xanchor:{valType:"enumerated",values:["left","center","right"],dflt:"left"},offset:{valType:"number",dflt:10},prefix:{valType:"string"},suffix:{valType:"string"},font:d({})},font:d({}),activebgcolor:{valType:"color",dflt:l.gripBgActiveColor},bgcolor:{valType:"color",dflt:l.railBgColor},bordercolor:{valType:"color",dflt:l.railBorderColor},borderwidth:{valType:"number",min:0,dflt:l.railBorderWidth},ticklen:{valType:"number",min:0,dflt:l.tickLength},tickcolor:{valType:"color",dflt:l.tickColor},tickwidth:{valType:"number",min:0,dflt:1},minorticklen:{valType:"number",min:0,dflt:l.minorTickLength}}),"arraydraw","from-root")},98292:function(T){T.exports={name:"sliders",containerClassName:"slider-container",groupClassName:"slider-group",inputAreaClass:"slider-input-area",railRectClass:"slider-rail-rect",railTouchRectClass:"slider-rail-touch-rect",gripRectClass:"slider-grip-rect",tickRectClass:"slider-tick-rect",inputProxyClass:"slider-input-proxy",labelsClass:"slider-labels",labelGroupClass:"slider-label-group",labelClass:"slider-label",currentValueClass:"slider-current-value",railHeight:5,menuIndexAttrName:"slider-active-index",autoMarginIdRoot:"slider-",minWidth:30,minHeight:30,textPadX:40,arrowOffsetX:4,railRadius:2,railWidth:5,railBorder:4,railBorderWidth:1,railBorderColor:"#bec8d9",railBgColor:"#f8fafc",railInset:8,stepInset:10,gripRadius:10,gripWidth:20,gripHeight:20,gripBorder:20,gripBorderWidth:1,gripBorderColor:"#bec8d9",gripBgColor:"#f6f8fa",gripBgActiveColor:"#dbdde0",labelPadding:8,labelOffset:0,tickWidth:1,tickColor:"#333",tickOffset:25,tickLength:7,minorTickOffset:25,minorTickColor:"#333",minorTickLength:4,currentValuePadding:8,currentValueInset:0}},12343:function(T,p,t){var d=t(71828),g=t(85501),i=t(75067),M=t(98292).name,v=i.steps;function f(a,u,o){function s(y,S){return d.coerce(a,u,i,y,S)}for(var c=g(a,u,{name:"steps",handleItemDefaults:l}),h=0,m=0;m0&&(q=q.transition().duration(N.transition.duration).ease(N.transition.easing)),q.attr("transform",f(G-.5*u.gripWidth,N._dims.currentValueTotalHeight))}}function I(B,N){var W=B._dims;return W.inputAreaStart+u.stepInset+(W.inputAreaLength-2*u.stepInset)*Math.min(1,Math.max(0,N))}function O(B,N){var W=B._dims;return Math.min(1,Math.max(0,(N-u.stepInset-W.inputAreaStart)/(W.inputAreaLength-2*u.stepInset-2*W.inputAreaStart)))}function z(B,N,W){var j=W._dims,$=v.ensureSingle(B,"rect",u.railTouchRectClass,function(U){U.call(L,N,B,W).style("pointer-events","all")});$.attr({width:j.inputAreaLength,height:Math.max(j.inputAreaWidth,u.tickOffset+W.ticklen+j.labelHeight)}).call(i.fill,W.bgcolor).attr("opacity",0),M.setTranslate($,0,j.currentValueTotalHeight)}function F(B,N){var W=N._dims,j=W.inputAreaLength-2*u.railInset,$=v.ensureSingle(B,"rect",u.railRectClass);$.attr({width:j,height:u.railWidth,rx:u.railRadius,ry:u.railRadius,"shape-rendering":"crispEdges"}).call(i.stroke,N.bordercolor).call(i.fill,N.bgcolor).style("stroke-width",N.borderwidth+"px"),M.setTranslate($,u.railInset,.5*(W.inputAreaWidth-u.railWidth)+W.currentValueTotalHeight)}T.exports=function(B){var N=B._context.staticPlot,W=B._fullLayout,j=function(ne,te){for(var Z=ne[u.name],X=[],Q=0;Q0?[0]:[]);function U(ne){ne._commandObserver&&(ne._commandObserver.remove(),delete ne._commandObserver),g.autoMargin(B,m(ne))}if($.enter().append("g").classed(u.containerClassName,!0).style("cursor",N?null:"ew-resize"),$.exit().each(function(){d.select(this).selectAll("g."+u.groupClassName).each(U)}).remove(),j.length!==0){var G=$.selectAll("g."+u.groupClassName).data(j,w);G.enter().append("g").classed(u.groupClassName,!0),G.exit().each(U).remove();for(var q=0;q0||xe<0){var Se={left:[-Pe,0],right:[Pe,0],top:[0,-Pe],bottom:[0,Pe]}[x.side];X.attr("transform",f(Se[0],Se[1]))}}}return q.call(H),$&&(F?q.on(".opacity",null):(I=0,O=!0,q.text(k).on("mouseover.opacity",function(){d.select(this).transition().duration(o.SHOW_PLACEHOLDER).style("opacity",1)}).on("mouseout.opacity",function(){d.select(this).transition().duration(o.HIDE_PLACEHOLDER).style("opacity",0)})),q.call(u.makeEditable,{gd:h}).on("edit",function(Z){E!==void 0?M.call("_guiRestyle",h,_,Z,E):M.call("_guiRelayout",h,_,Z)}).on("cancel",function(){this.text(this.attr("data-unformatted")).call(H)}).on("input",function(Z){this.text(Z||" ").call(u.positionText,A.x,A.y)})),q.classed("js-placeholder",O),b}}},7163:function(T,p,t){var d=t(41940),g=t(22399),i=t(1426).extendFlat,M=t(30962).overrideAll,v=t(35025),f=t(44467).templatedArray,l=f("button",{visible:{valType:"boolean"},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle"},args:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},args2:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},label:{valType:"string",dflt:""},execute:{valType:"boolean",dflt:!0}});T.exports=M(f("updatemenu",{_arrayAttrRegexps:[/^updatemenus\[(0|[1-9][0-9]+)\]\.buttons/],visible:{valType:"boolean"},type:{valType:"enumerated",values:["dropdown","buttons"],dflt:"dropdown"},direction:{valType:"enumerated",values:["left","right","up","down"],dflt:"down"},active:{valType:"integer",min:-1,dflt:0},showactive:{valType:"boolean",dflt:!0},buttons:l,x:{valType:"number",min:-2,max:3,dflt:-.05},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"right"},y:{valType:"number",min:-2,max:3,dflt:1},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top"},pad:i(v({editType:"arraydraw"}),{}),font:d({}),bgcolor:{valType:"color"},bordercolor:{valType:"color",dflt:g.borderLine},borderwidth:{valType:"number",min:0,dflt:1,editType:"arraydraw"}}),"arraydraw","from-root")},75909:function(T){T.exports={name:"updatemenus",containerClassName:"updatemenu-container",headerGroupClassName:"updatemenu-header-group",headerClassName:"updatemenu-header",headerArrowClassName:"updatemenu-header-arrow",dropdownButtonGroupClassName:"updatemenu-dropdown-button-group",dropdownButtonClassName:"updatemenu-dropdown-button",buttonClassName:"updatemenu-button",itemRectClassName:"updatemenu-item-rect",itemTextClassName:"updatemenu-item-text",menuIndexAttrName:"updatemenu-active-index",autoMarginIdRoot:"updatemenu-",blankHeaderOpts:{label:" "},minWidth:30,minHeight:30,textPadX:24,arrowPadX:16,rx:2,ry:2,textOffsetX:12,textOffsetY:3,arrowOffsetX:4,gapButtonHeader:5,gapButton:2,activeColor:"#F4FAFF",hoverColor:"#F4FAFF",arrowSymbol:{left:"◄",right:"►",up:"▲",down:"▼"}}},64897:function(T,p,t){var d=t(71828),g=t(85501),i=t(7163),M=t(75909).name,v=i.buttons;function f(a,u,o){function s(c,h){return d.coerce(a,u,i,c,h)}s("visible",g(a,u,{name:"buttons",handleItemDefaults:l}).length>0)&&(s("active"),s("direction"),s("type"),s("showactive"),s("x"),s("y"),d.noneOrAll(a,u,["x","y"]),s("xanchor"),s("yanchor"),s("pad.t"),s("pad.r"),s("pad.b"),s("pad.l"),d.coerceFont(s,"font",o.font),s("bgcolor",o.paper_bgcolor),s("bordercolor"),s("borderwidth"))}function l(a,u){function o(s,c){return d.coerce(a,u,v,s,c)}o("visible",a.method==="skip"||Array.isArray(a.args))&&(o("method"),o("args"),o("args2"),o("label"),o("execute"))}T.exports=function(a,u){g(a,u,{name:M,handleItemDefaults:f})}},13689:function(T,p,t){var d=t(39898),g=t(74875),i=t(7901),M=t(91424),v=t(71828),f=t(63893),l=t(44467).arrayEditor,a=t(18783).LINE_SPACING,u=t(75909),o=t(25849);function s(I){return I._index}function c(I,O){return+I.attr(u.menuIndexAttrName)===O._index}function h(I,O,z,F,B,N,W,j){O.active=W,l(I.layout,u.name,O).applyUpdate("active",W),O.type==="buttons"?w(I,F,null,null,O):O.type==="dropdown"&&(B.attr(u.menuIndexAttrName,"-1"),m(I,F,B,N,O),j||w(I,F,B,N,O))}function m(I,O,z,F,B){var N=v.ensureSingle(O,"g",u.headerClassName,function(q){q.style("pointer-events","all")}),W=B._dims,j=B.active,$=B.buttons[j]||u.blankHeaderOpts,U={y:B.pad.t,yPad:0,x:B.pad.l,xPad:0,index:0},G={width:W.headerWidth,height:W.headerHeight};N.call(y,B,$,I).call(b,B,U,G),v.ensureSingle(O,"text",u.headerArrowClassName,function(q){q.attr("text-anchor","end").call(M.font,B.font).text(u.arrowSymbol[B.direction])}).attr({x:W.headerWidth-u.arrowOffsetX+B.pad.l,y:W.headerHeight/2+u.textOffsetY+B.pad.t}),N.on("click",function(){z.call(R,String(c(z,B)?-1:B._index)),w(I,O,z,F,B)}),N.on("mouseover",function(){N.call(E)}),N.on("mouseout",function(){N.call(x,B)}),M.setTranslate(O,W.lx,W.ly)}function w(I,O,z,F,B){z||(z=O).attr("pointer-events","all");var N=function(X){return+X.attr(u.menuIndexAttrName)==-1}(z)&&B.type!=="buttons"?[]:B.buttons,W=B.type==="dropdown"?u.dropdownButtonClassName:u.buttonClassName,j=z.selectAll("g."+W).data(v.filterVisible(N)),$=j.enter().append("g").classed(W,!0),U=j.exit();B.type==="dropdown"?($.attr("opacity","0").transition().attr("opacity","1"),U.transition().attr("opacity","0").remove()):U.remove();var G=0,q=0,H=B._dims,ne=["up","down"].indexOf(B.direction)!==-1;B.type==="dropdown"&&(ne?q=H.headerHeight+u.gapButtonHeader:G=H.headerWidth+u.gapButtonHeader),B.type==="dropdown"&&B.direction==="up"&&(q=-u.gapButtonHeader+u.gapButton-H.openHeight),B.type==="dropdown"&&B.direction==="left"&&(G=-u.gapButtonHeader+u.gapButton-H.openWidth);var te={x:H.lx+G+B.pad.l,y:H.ly+q+B.pad.t,yPad:u.gapButton,xPad:u.gapButton,index:0},Z={l:te.x+B.borderwidth,t:te.y+B.borderwidth};j.each(function(X,Q){var re=d.select(this);re.call(y,B,X,I).call(b,B,te),re.on("click",function(){d.event.defaultPrevented||(X.execute&&(X.args2&&B.active===Q?(h(I,B,0,O,z,F,-1),g.executeAPICommand(I,X.method,X.args2)):(h(I,B,0,O,z,F,Q),g.executeAPICommand(I,X.method,X.args))),I.emit("plotly_buttonclicked",{menu:B,button:X,active:B.active}))}),re.on("mouseover",function(){re.call(E)}),re.on("mouseout",function(){re.call(x,B),j.call(k,B)})}),j.call(k,B),ne?(Z.w=Math.max(H.openWidth,H.headerWidth),Z.h=te.y-Z.t):(Z.w=te.x-Z.l,Z.h=Math.max(H.openHeight,H.headerHeight)),Z.direction=B.direction,F&&(j.size()?function(X,Q,re,ie,oe,ue){var ce,ye,de,me=oe.direction,pe=me==="up"||me==="down",xe=oe._dims,Pe=oe.active;if(pe)for(ye=0,de=0;de0?[0]:[]);if(B.enter().append("g").classed(u.containerClassName,!0).style("cursor","pointer"),B.exit().each(function(){d.select(this).selectAll("g."+u.headerGroupClassName).each(F)}).remove(),z.length!==0){var N=B.selectAll("g."+u.headerGroupClassName).data(z,s);N.enter().append("g").classed(u.headerGroupClassName,!0);for(var W=v.ensureSingle(B,"g",u.dropdownButtonGroupClassName,function(q){q.style("pointer-events","all")}),j=0;jb,O=v.barLength+2*v.barPad,z=v.barWidth+2*v.barPad,F=y,B=_+k;B+z>s&&(B=s-z);var N=this.container.selectAll("rect.scrollbar-horizontal").data(I?[0]:[]);N.exit().on(".drag",null).remove(),N.enter().append("rect").classed("scrollbar-horizontal",!0).call(g.fill,v.barColor),I?(this.hbar=N.attr({rx:v.barRadius,ry:v.barRadius,x:F,y:B,width:O,height:z}),this._hbarXMin=F+O/2,this._hbarTranslateMax=b-O):(delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax);var W=k>R,j=v.barWidth+2*v.barPad,$=v.barLength+2*v.barPad,U=y+S,G=_;U+j>o&&(U=o-j);var q=this.container.selectAll("rect.scrollbar-vertical").data(W?[0]:[]);q.exit().on(".drag",null).remove(),q.enter().append("rect").classed("scrollbar-vertical",!0).call(g.fill,v.barColor),W?(this.vbar=q.attr({rx:v.barRadius,ry:v.barRadius,x:U,y:G,width:j,height:$}),this._vbarYMin=G+$/2,this._vbarTranslateMax=R-$):(delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax);var H=this.id,ne=c-.5,te=W?h+j+.5:h+.5,Z=m-.5,X=I?w+z+.5:w+.5,Q=u._topdefs.selectAll("#"+H).data(I||W?[0]:[]);if(Q.exit().remove(),Q.enter().append("clipPath").attr("id",H).append("rect"),I||W?(this._clipRect=Q.select("rect").attr({x:Math.floor(ne),y:Math.floor(Z),width:Math.ceil(te)-Math.floor(ne),height:Math.ceil(X)-Math.floor(Z)}),this.container.call(i.setClipUrl,H,this.gd),this.bg.attr({x:y,y:_,width:S,height:k})):(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(i.setClipUrl,null),delete this._clipRect),I||W){var re=d.behavior.drag().on("dragstart",function(){d.event.sourceEvent.preventDefault()}).on("drag",this._onBoxDrag.bind(this));this.container.on("wheel",null).on("wheel",this._onBoxWheel.bind(this)).on(".drag",null).call(re);var ie=d.behavior.drag().on("dragstart",function(){d.event.sourceEvent.preventDefault(),d.event.sourceEvent.stopPropagation()}).on("drag",this._onBarDrag.bind(this));I&&this.hbar.on(".drag",null).call(ie),W&&this.vbar.on(".drag",null).call(ie)}this.setTranslate(l,a)},v.prototype.disable=function(){(this.hbar||this.vbar)&&(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(i.setClipUrl,null),delete this._clipRect),this.hbar&&(this.hbar.on(".drag",null),this.hbar.remove(),delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax),this.vbar&&(this.vbar.on(".drag",null),this.vbar.remove(),delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax)},v.prototype._onBoxDrag=function(){var f=this.translateX,l=this.translateY;this.hbar&&(f-=d.event.dx),this.vbar&&(l-=d.event.dy),this.setTranslate(f,l)},v.prototype._onBoxWheel=function(){var f=this.translateX,l=this.translateY;this.hbar&&(f+=d.event.deltaY),this.vbar&&(l+=d.event.deltaY),this.setTranslate(f,l)},v.prototype._onBarDrag=function(){var f=this.translateX,l=this.translateY;if(this.hbar){var a=f+this._hbarXMin,u=a+this._hbarTranslateMax;f=(M.constrain(d.event.x,a,u)-a)/(u-a)*(this.position.w-this._box.w)}if(this.vbar){var o=l+this._vbarYMin,s=o+this._vbarTranslateMax;l=(M.constrain(d.event.y,o,s)-o)/(s-o)*(this.position.h-this._box.h)}this.setTranslate(f,l)},v.prototype.setTranslate=function(f,l){var a=this.position.w-this._box.w,u=this.position.h-this._box.h;if(f=M.constrain(f||0,0,a),l=M.constrain(l||0,0,u),this.translateX=f,this.translateY=l,this.container.call(i.setTranslate,this._box.l-this.position.l-f,this._box.t-this.position.t-l),this._clipRect&&this._clipRect.attr({x:Math.floor(this.position.l+f-.5),y:Math.floor(this.position.t+l-.5)}),this.hbar){var o=f/a;this.hbar.call(i.setTranslate,f+o*this._hbarTranslateMax,l)}if(this.vbar){var s=l/u;this.vbar.call(i.setTranslate,f,l+s*this._vbarTranslateMax)}}},18783:function(T){T.exports={FROM_BL:{left:0,center:.5,right:1,bottom:0,middle:.5,top:1},FROM_TL:{left:0,center:.5,right:1,bottom:1,middle:.5,top:0},FROM_BR:{left:1,center:.5,right:0,bottom:0,middle:.5,top:1},LINE_SPACING:1.3,CAP_SHIFT:.7,MID_SHIFT:.35,OPPOSITE_SIDE:{left:"right",right:"left",top:"bottom",bottom:"top"}}},24695:function(T){T.exports={axisRefDescription:function(p,t,d){return["If set to a",p,"axis id (e.g. *"+p+"* or","*"+p+"2*), the `"+p+"` position refers to a",p,"coordinate. If set to *paper*, the `"+p+"`","position refers to the distance from the",t,"of the plotting","area in normalized coordinates where *0* (*1*) corresponds to the",t,"("+d+"). If set to a",p,"axis ID followed by","*domain* (separated by a space), the position behaves like for","*paper*, but refers to the distance in fractions of the domain","length from the",t,"of the domain of that axis: e.g.,","*"+p+"2 domain* refers to the domain of the second",p," axis and a",p,"position of 0.5 refers to the","point between the",t,"and the",d,"of the domain of the","second",p,"axis."].join(" ")}}},22372:function(T){T.exports={INCREASING:{COLOR:"#3D9970",SYMBOL:"▲"},DECREASING:{COLOR:"#FF4136",SYMBOL:"▼"}}},31562:function(T){T.exports={FORMAT_LINK:"https://github.com/d3/d3-format/tree/v1.4.5#d3-format",DATE_FORMAT_LINK:"https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format"}},74808:function(T){T.exports={COMPARISON_OPS:["=","!=","<",">=",">","<="],COMPARISON_OPS2:["=","<",">=",">","<="],INTERVAL_OPS:["[]","()","[)","(]","][",")(","](",")["],SET_OPS:["{}","}{"],CONSTRAINT_REDUCTION:{"=":"=","<":"<","<=":"<",">":">",">=":">","[]":"[]","()":"[]","[)":"[]","(]":"[]","][":"][",")(":"][","](":"][",")[":"]["}}},29659:function(T){T.exports={solid:[[],0],dot:[[.5,1],200],dash:[[.5,1],50],longdash:[[.5,1],10],dashdot:[[.5,.625,.875,1],50],longdashdot:[[.5,.7,.8,1],10]}},87381:function(T){T.exports={circle:"●","circle-open":"○",square:"■","square-open":"□",diamond:"◆","diamond-open":"◇",cross:"+",x:"❌"}},37822:function(T){T.exports={SHOW_PLACEHOLDER:100,HIDE_PLACEHOLDER:1e3,DESELECTDIM:.2}},50606:function(T){T.exports={BADNUM:void 0,FP_SAFE:1e-4*Number.MAX_VALUE,ONEMAXYEAR:316224e5,ONEAVGYEAR:315576e5,ONEMINYEAR:31536e6,ONEMAXQUARTER:79488e5,ONEAVGQUARTER:78894e5,ONEMINQUARTER:76896e5,ONEMAXMONTH:26784e5,ONEAVGMONTH:26298e5,ONEMINMONTH:24192e5,ONEWEEK:6048e5,ONEDAY:864e5,ONEHOUR:36e5,ONEMIN:6e4,ONESEC:1e3,EPOCHJD:24405875e-1,ALMOST_EQUAL:.999999,LOG_CLIP:10,MINUS_SIGN:"−"}},77922:function(T,p){p.xmlns="http://www.w3.org/2000/xmlns/",p.svg="http://www.w3.org/2000/svg",p.xlink="http://www.w3.org/1999/xlink",p.svgAttrs={xmlns:p.svg,"xmlns:xlink":p.xlink}},8729:function(T,p,t){p.version=t(11506).version,t(7417),t(98847);for(var d=t(73972),g=p.register=d.register,i=t(10641),M=Object.keys(i),v=0;v",""," ",""," plotly-logomark"," "," "," "," "," "," "," "," "," "," "," "," "," ",""].join("")}}},99863:function(T,p){p.isLeftAnchor=function(t){return t.xanchor==="left"||t.xanchor==="auto"&&t.x<=.3333333333333333},p.isCenterAnchor=function(t){return t.xanchor==="center"||t.xanchor==="auto"&&t.x>.3333333333333333&&t.x<.6666666666666666},p.isRightAnchor=function(t){return t.xanchor==="right"||t.xanchor==="auto"&&t.x>=.6666666666666666},p.isTopAnchor=function(t){return t.yanchor==="top"||t.yanchor==="auto"&&t.y>=.6666666666666666},p.isMiddleAnchor=function(t){return t.yanchor==="middle"||t.yanchor==="auto"&&t.y>.3333333333333333&&t.y<.6666666666666666},p.isBottomAnchor=function(t){return t.yanchor==="bottom"||t.yanchor==="auto"&&t.y<=.3333333333333333}},26348:function(T,p,t){var d=t(64872),g=d.mod,i=d.modHalf,M=Math.PI,v=2*M;function f(o){return Math.abs(o[1]-o[0])>v-1e-14}function l(o,s){return i(s-o,v)}function a(o,s){if(f(s))return!0;var c,h;s[0](h=g(h,v))&&(h+=v);var m=g(o,v),w=m+v;return m>=c&&m<=h||w>=c&&w<=h}function u(o,s,c,h,m,w,y){m=m||0,w=w||0;var S,_,k,E,x,A=f([c,h]);function L(O,z){return[O*Math.cos(z)+m,w-O*Math.sin(z)]}A?(S=0,_=M,k=v):c=m&&o<=w);var m,w},pathArc:function(o,s,c,h,m){return u(null,o,s,c,h,m,0)},pathSector:function(o,s,c,h,m){return u(null,o,s,c,h,m,1)},pathAnnulus:function(o,s,c,h,m,w){return u(o,s,c,h,m,w,1)}}},73627:function(T,p){var t=Array.isArray,d=ArrayBuffer,g=DataView;function i(f){return d.isView(f)&&!(f instanceof g)}function M(f){return t(f)||i(f)}function v(f,l,a){if(M(f)){if(M(f[0])){for(var u=a,o=0;ow.max?h.set(m):h.set(+c)}},integer:{coerceFunction:function(c,h,m,w){c%1||!d(c)||w.min!==void 0&&cw.max?h.set(m):h.set(+c)}},string:{coerceFunction:function(c,h,m,w){if(typeof c!="string"){var y=typeof c=="number";w.strict!==!0&&y?h.set(String(c)):h.set(m)}else w.noBlank&&!c?h.set(m):h.set(c)}},color:{coerceFunction:function(c,h,m){g(c).isValid()?h.set(c):h.set(m)}},colorlist:{coerceFunction:function(c,h,m){Array.isArray(c)&&c.length&&c.every(function(w){return g(w).isValid()})?h.set(c):h.set(m)}},colorscale:{coerceFunction:function(c,h,m){h.set(M.get(c,m))}},angle:{coerceFunction:function(c,h,m){c==="auto"?h.set("auto"):d(c)?h.set(u(+c,360)):h.set(m)}},subplotid:{coerceFunction:function(c,h,m,w){var y=w.regex||a(m);typeof c=="string"&&y.test(c)?h.set(c):h.set(m)},validateFunction:function(c,h){var m=h.dflt;return c===m||typeof c=="string"&&!!a(m).test(c)}},flaglist:{coerceFunction:function(c,h,m,w){if((w.extras||[]).indexOf(c)===-1)if(typeof c=="string"){for(var y=c.split("+"),S=0;S=d&&N<=g?N:a}if(typeof N!="string"&&typeof N!="number")return a;N=String(N);var G=k(W),q=N.charAt(0);!G||q!=="G"&&q!=="g"||(N=N.substr(1),W="");var H=G&&W.substr(0,7)==="chinese",ne=N.match(H?S:y);if(!ne)return a;var te=ne[1],Z=ne[3]||"1",X=Number(ne[5]||1),Q=Number(ne[7]||0),re=Number(ne[9]||0),ie=Number(ne[11]||0);if(G){if(te.length===2)return a;var oe;te=Number(te);try{var ue=m.getComponentMethod("calendars","getCal")(W);if(H){var ce=Z.charAt(Z.length-1)==="i";Z=parseInt(Z,10),oe=ue.newDate(te,ue.toMonthIndex(te,Z,ce),X)}else oe=ue.newDate(te,Number(Z),X)}catch{return a}return oe?(oe.toJD()-h)*u+Q*o+re*s+ie*c:a}te=te.length===2?(Number(te)+2e3-_)%100+_:Number(te),Z-=1;var ye=new Date(Date.UTC(2e3,Z,X,Q,re));return ye.setUTCFullYear(te),ye.getUTCMonth()!==Z||ye.getUTCDate()!==X?a:ye.getTime()+ie*c},d=p.MIN_MS=p.dateTime2ms("-9999"),g=p.MAX_MS=p.dateTime2ms("9999-12-31 23:59:59.9999"),p.isDateTime=function(N,W){return p.dateTime2ms(N,W)!==a};var x=90*u,A=3*o,L=5*s;function b(N,W,j,$,U){if((W||j||$||U)&&(N+=" "+E(W,2)+":"+E(j,2),($||U)&&(N+=":"+E($,2),U))){for(var G=4;U%10==0;)G-=1,U/=10;N+="."+E(U,G)}return N}p.ms2DateTime=function(N,W,j){if(typeof N!="number"||!(N>=d&&N<=g))return a;W||(W=0);var $,U,G,q,H,ne,te=Math.floor(10*f(N+.05,1)),Z=Math.round(N-te/10);if(k(j)){var X=Math.floor(Z/u)+h,Q=Math.floor(f(N,u));try{$=m.getComponentMethod("calendars","getCal")(j).fromJD(X).formatDate("yyyy-mm-dd")}catch{$=w("G%Y-%m-%d")(new Date(Z))}if($.charAt(0)==="-")for(;$.length<11;)$="-0"+$.substr(1);else for(;$.length<10;)$="0"+$;U=W=d+u&&N<=g-u))return a;var W=Math.floor(10*f(N+.05,1)),j=new Date(Math.round(N-W/10));return b(i("%Y-%m-%d")(j),j.getHours(),j.getMinutes(),j.getSeconds(),10*j.getUTCMilliseconds()+W)},p.cleanDate=function(N,W,j){if(N===a)return W;if(p.isJSDate(N)||typeof N=="number"&&isFinite(N)){if(k(j))return v.error("JS Dates and milliseconds are incompatible with world calendars",N),W;if(!(N=p.ms2DateTimeLocal(+N))&&W!==void 0)return W}else if(!p.isDateTime(N,j))return v.error("unrecognized date",N),W;return N};var R=/%\d?f/g,I=/%h/g,O={1:"1",2:"1",3:"2",4:"2"};function z(N,W,j,$){N=N.replace(R,function(G){var q=Math.min(+G.charAt(1)||6,6);return(W/1e3%1+2).toFixed(q).substr(2).replace(/0+$/,"")||"0"});var U=new Date(Math.floor(W+.05));if(N=N.replace(I,function(){return O[j("%q")(U)]}),k($))try{N=m.getComponentMethod("calendars","worldCalFmt")(N,W,$)}catch{return"Invalid"}return j(N)(U)}var F=[59,59.9,59.99,59.999,59.9999];p.formatDate=function(N,W,j,$,U,G){if(U=k(U)&&U,!W)if(j==="y")W=G.year;else if(j==="m")W=G.month;else{if(j!=="d")return function(q,H){var ne=f(q+.05,u),te=E(Math.floor(ne/o),2)+":"+E(f(Math.floor(ne/s),60),2);if(H!=="M"){M(H)||(H=0);var Z=(100+Math.min(f(q/c,60),F[H])).toFixed(H).substr(1);H>0&&(Z=Z.replace(/0+$/,"").replace(/[\.]$/,"")),te+=":"+Z}return te}(N,j)+` + `)};function nR(n){var e=!1;try{e=n instanceof BigInt64Array||n instanceof BigUint64Array}catch{}return n instanceof Int8Array||n instanceof Uint8Array||n instanceof Uint8ClampedArray||n instanceof Int16Array||n instanceof Uint16Array||n instanceof Int32Array||n instanceof Uint32Array||n instanceof Float32Array||n instanceof Float64Array||e}var rR=globalThis&&globalThis.__extends||function(){var n=function(e,r){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,D){S.__proto__=D}||function(S,D){for(var T in D)Object.prototype.hasOwnProperty.call(D,T)&&(S[T]=D[T])},n(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");n(e,r);function S(){this.constructor=e}e.prototype=r===null?Object.create(r):(S.prototype=r.prototype,new S)}}();(function(n){rR(e,n);function e(){return n!==null&&n.apply(this,arguments)||this}return e.prototype.componentDidMount=function(){Wu.setFrameHeight()},e.prototype.componentDidUpdate=function(){Wu.setFrameHeight()},e})(g9.PureComponent);const rc=i2("selection",{state:()=>({scanIndex:void 0,massIndex:void 0,proteinIndex:void 0,tagIndex:void 0,selectedObservedMass:void 0,AApos:void 0,tagData:void 0,counter:void 0,id:void 0,heatmap_deconv:void 0,heatmap_deconv2:void 0,heatmap_raw:void 0,heatmap_raw2:void 0}),getters:{selectedScanIndex:n=>n.scanIndex,selectedMassIndex:n=>n.massIndex,selectedProteinIndex:n=>n.proteinIndex,selectedTagIndex:n=>n.tagIndex,selectedAApos:n=>n.AApos,selectedTag:n=>n.tagData,selectedDeconvMS2Heatmap:n=>n.heatmap_deconv2,selectedDeconvHeatmap:n=>n.heatmap_deconv,selectedRawHeatmap:n=>n.heatmap_raw,selectedRawMS2Heatmap:n=>n.heatmap_raw2,selectedObservedMassFromFragmentTable:n=>n.selectedObservedMass},actions:{updateSelectedScan(n){this.scanIndex=n},updateSelectedMass(n){this.massIndex=n},updateSelectedProtein(n){this.proteinIndex=n},updateSelectedTag(n){this.tagIndex=n},selectedAminoAcid(n){this.selectedObservedMass=n},updateSelectedAA(n){this.AApos=n},updateTagData(n){this.tagData=n},updateRawHeatmapSelection(n){this.heatmap_raw=n},updateRawMS2HeatmapSelection(n){this.heatmap_raw2=n},updateDeconvHeatmapSelection(n){this.heatmap_deconv=n},updateDeconvMS2HeatmapSelection(n){this.heatmap_deconv2=n}}}),Ns=i2("streamlit-data",{state:()=>({renderData:null,dataForDrawing:{},dataset:"",hash:""}),getters:{args:n=>{var e;return(e=n.renderData)==null?void 0:e.args},components(){return this.args.components},allDataForDrawing:n=>n.dataForDrawing,sequenceData:n=>n.dataForDrawing.sequence_data,settings:n=>n.dataForDrawing.settings,internalFragmentData:n=>n.dataForDrawing.internal_fragment_data,theme:n=>{var e;return(e=n.renderData)==null?void 0:e.theme}},actions:{updateRenderData(n){var D;if(rc().$patch(T=>{if(n.args.selection_store.id!==T.id)for(const p in T)T[p]=void 0;Object.assign(T,n.args.selection_store)}),console.log(n.args.selection_store.id),this.hash===n.args.hash)return;this.hash=n.args.hash,delete n.args.selection_store,delete n.args.hash,this.dataForDrawing={},this.dataset=(D=n.args)==null?void 0:D.dataset,this.renderData=n;function r(T){if(typeof T=="bigint")return Number(T);if(T instanceof Ta){const p=[];for(let t=0;t{if(p instanceof tx){const t=[],d=p.table.schema.fields.map(g=>g.name);for(let g=0;g{var f;i[M]=r((f=p.table.getChildAt(v))==null?void 0:f.get(g))}),t.push(i)}this.dataForDrawing[T]=t}else this.dataForDrawing[T]=p})}}});var EM={exports:{}};(function(n,e){/*! For license information please see plotly.min.js.LICENSE.txt */(function(r,S){n.exports=S()})(self,function(){return function(){var r={98847:function(T,p,t){var d=t(71828),g={"X,X div":'direction:ltr;font-family:"Open Sans",verdana,arial,sans-serif;margin:0;padding:0;',"X input,X button":'font-family:"Open Sans",verdana,arial,sans-serif;',"X input:focus,X button:focus":"outline:none;","X a":"text-decoration:none;","X a:hover":"text-decoration:none;","X .crisp":"shape-rendering:crispEdges;","X .user-select-none":"-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;","X svg":"overflow:hidden;","X svg a":"fill:#447adb;","X svg a:hover":"fill:#3c6dc5;","X .main-svg":"position:absolute;top:0;left:0;pointer-events:none;","X .main-svg .draglayer":"pointer-events:all;","X .cursor-default":"cursor:default;","X .cursor-pointer":"cursor:pointer;","X .cursor-crosshair":"cursor:crosshair;","X .cursor-move":"cursor:move;","X .cursor-col-resize":"cursor:col-resize;","X .cursor-row-resize":"cursor:row-resize;","X .cursor-ns-resize":"cursor:ns-resize;","X .cursor-ew-resize":"cursor:ew-resize;","X .cursor-sw-resize":"cursor:sw-resize;","X .cursor-s-resize":"cursor:s-resize;","X .cursor-se-resize":"cursor:se-resize;","X .cursor-w-resize":"cursor:w-resize;","X .cursor-e-resize":"cursor:e-resize;","X .cursor-nw-resize":"cursor:nw-resize;","X .cursor-n-resize":"cursor:n-resize;","X .cursor-ne-resize":"cursor:ne-resize;","X .cursor-grab":"cursor:-webkit-grab;cursor:grab;","X .modebar":"position:absolute;top:2px;right:2px;","X .ease-bg":"-webkit-transition:background-color .3s ease 0s;-moz-transition:background-color .3s ease 0s;-ms-transition:background-color .3s ease 0s;-o-transition:background-color .3s ease 0s;transition:background-color .3s ease 0s;","X .modebar--hover>:not(.watermark)":"opacity:0;-webkit-transition:opacity .3s ease 0s;-moz-transition:opacity .3s ease 0s;-ms-transition:opacity .3s ease 0s;-o-transition:opacity .3s ease 0s;transition:opacity .3s ease 0s;","X:hover .modebar--hover .modebar-group":"opacity:1;","X .modebar-group":"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;","X .modebar-btn":"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;","X .modebar-btn svg":"position:relative;top:2px;","X .modebar.vertical":"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;","X .modebar.vertical svg":"top:-1px;","X .modebar.vertical .modebar-group":"display:block;float:none;padding-left:0px;padding-bottom:8px;","X .modebar.vertical .modebar-group .modebar-btn":"display:block;text-align:center;","X [data-title]:before,X [data-title]:after":"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none;opacity:0;z-index:1001;pointer-events:none;top:110%;right:50%;","X [data-title]:hover:before,X [data-title]:hover:after":"display:block;opacity:1;","X [data-title]:before":'content:"";position:absolute;background:rgba(0,0,0,0);border:6px solid rgba(0,0,0,0);z-index:1002;margin-top:-12px;border-bottom-color:#69738a;margin-right:-6px;',"X [data-title]:after":"content:attr(data-title);background:#69738a;color:#fff;padding:8px 10px;font-size:12px;line-height:12px;white-space:nowrap;margin-right:-18px;border-radius:2px;","X .vertical [data-title]:before,X .vertical [data-title]:after":"top:0%;right:200%;","X .vertical [data-title]:before":"border:6px solid rgba(0,0,0,0);border-left-color:#69738a;margin-top:8px;margin-right:-30px;",Y:'font-family:"Open Sans",verdana,arial,sans-serif;position:fixed;top:50px;right:20px;z-index:10000;font-size:10pt;max-width:180px;',"Y p":"margin:0;","Y .notifier-note":"min-width:180px;max-width:250px;border:1px solid #fff;z-index:3000;margin:0;background-color:#8c97af;background-color:rgba(140,151,175,.9);color:#fff;padding:10px;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-webkit-hyphens:auto;hyphens:auto;","Y .notifier-close":"color:#fff;opacity:.8;float:right;padding:0 5px;background:none;border:none;font-size:20px;font-weight:bold;line-height:20px;","Y .notifier-close:hover":"color:#444;text-decoration:none;cursor:pointer;"};for(var i in g){var M=i.replace(/^,/," ,").replace(/X/g,".js-plotly-plot .plotly").replace(/Y/g,".plotly-notifier");d.addStyleRule(M,g[i])}},98222:function(T,p,t){T.exports=t(82887)},27206:function(T,p,t){T.exports=t(60822)},59893:function(T,p,t){T.exports=t(23381)},5224:function(T,p,t){T.exports=t(83832)},59509:function(T,p,t){T.exports=t(72201)},75557:function(T,p,t){T.exports=t(91815)},40338:function(T,p,t){T.exports=t(21462)},35080:function(T,p,t){T.exports=t(51319)},61396:function(T,p,t){T.exports=t(57516)},40549:function(T,p,t){T.exports=t(98128)},49866:function(T,p,t){T.exports=t(99442)},36089:function(T,p,t){T.exports=t(93740)},19548:function(T,p,t){T.exports=t(8729)},35831:function(T,p,t){T.exports=t(93814)},61039:function(T,p,t){T.exports=t(14382)},97040:function(T,p,t){T.exports=t(51759)},77986:function(T,p,t){T.exports=t(10421)},24296:function(T,p,t){T.exports=t(43102)},58872:function(T,p,t){T.exports=t(92165)},29626:function(T,p,t){T.exports=t(3325)},65591:function(T,p,t){T.exports=t(36071)},69738:function(T,p,t){T.exports=t(43905)},92650:function(T,p,t){T.exports=t(35902)},35630:function(T,p,t){T.exports=t(69816)},73434:function(T,p,t){T.exports=t(94507)},27909:function(T,p,t){var d=t(19548);d.register([t(27206),t(5224),t(58872),t(65591),t(69738),t(92650),t(49866),t(25743),t(6197),t(97040),t(85461),t(73434),t(54201),t(81299),t(47645),t(35630),t(77986),t(83043),t(93005),t(96881),t(4534),t(50581),t(40549),t(77900),t(47582),t(35080),t(21641),t(17280),t(5861),t(29626),t(10021),t(65317),t(96268),t(61396),t(35831),t(16122),t(46163),t(40344),t(40338),t(48131),t(36089),t(55334),t(75557),t(19440),t(99488),t(59893),t(97393),t(98222),t(61039),t(24296),t(66398),t(59509)]),T.exports=d},46163:function(T,p,t){T.exports=t(15154)},96881:function(T,p,t){T.exports=t(64943)},50581:function(T,p,t){T.exports=t(21164)},55334:function(T,p,t){T.exports=t(54186)},65317:function(T,p,t){T.exports=t(94873)},10021:function(T,p,t){T.exports=t(67618)},54201:function(T,p,t){T.exports=t(58810)},5861:function(T,p,t){T.exports=t(20593)},16122:function(T,p,t){T.exports=t(29396)},83043:function(T,p,t){T.exports=t(13551)},48131:function(T,p,t){T.exports=t(46858)},47582:function(T,p,t){T.exports=t(17988)},21641:function(T,p,t){T.exports=t(68868)},96268:function(T,p,t){T.exports=t(20467)},19440:function(T,p,t){T.exports=t(91271)},99488:function(T,p,t){T.exports=t(21461)},97393:function(T,p,t){T.exports=t(85956)},25743:function(T,p,t){T.exports=t(52979)},66398:function(T,p,t){T.exports=t(32275)},17280:function(T,p,t){T.exports=t(6419)},77900:function(T,p,t){T.exports=t(61510)},81299:function(T,p,t){T.exports=t(87619)},93005:function(T,p,t){T.exports=t(93601)},40344:function(T,p,t){T.exports=t(96595)},47645:function(T,p,t){T.exports=t(70954)},6197:function(T,p,t){T.exports=t(47462)},4534:function(T,p,t){T.exports=t(17659)},85461:function(T,p,t){T.exports=t(19990)},82884:function(T){T.exports=[{path:"",backoff:0},{path:"M-2.4,-3V3L0.6,0Z",backoff:.6},{path:"M-3.7,-2.5V2.5L1.3,0Z",backoff:1.3},{path:"M-4.45,-3L-1.65,-0.2V0.2L-4.45,3L1.55,0Z",backoff:1.55},{path:"M-2.2,-2.2L-0.2,-0.2V0.2L-2.2,2.2L-1.4,3L1.6,0L-1.4,-3Z",backoff:1.6},{path:"M-4.4,-2.1L-0.6,-0.2V0.2L-4.4,2.1L-4,3L2,0L-4,-3Z",backoff:2},{path:"M2,0A2,2 0 1,1 0,-2A2,2 0 0,1 2,0Z",backoff:0,noRotate:!0},{path:"M2,2V-2H-2V2Z",backoff:0,noRotate:!0}]},50215:function(T,p,t){var d=t(82884),g=t(41940),i=t(85555),M=t(44467).templatedArray;t(24695),T.exports=M("annotation",{visible:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},text:{valType:"string",editType:"calc+arraydraw"},textangle:{valType:"angle",dflt:0,editType:"calc+arraydraw"},font:g({editType:"calc+arraydraw",colorEditType:"arraydraw"}),width:{valType:"number",min:1,dflt:null,editType:"calc+arraydraw"},height:{valType:"number",min:1,dflt:null,editType:"calc+arraydraw"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"arraydraw"},align:{valType:"enumerated",values:["left","center","right"],dflt:"center",editType:"arraydraw"},valign:{valType:"enumerated",values:["top","middle","bottom"],dflt:"middle",editType:"arraydraw"},bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},bordercolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},borderpad:{valType:"number",min:0,dflt:1,editType:"calc+arraydraw"},borderwidth:{valType:"number",min:0,dflt:1,editType:"calc+arraydraw"},showarrow:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},arrowcolor:{valType:"color",editType:"arraydraw"},arrowhead:{valType:"integer",min:0,max:d.length,dflt:1,editType:"arraydraw"},startarrowhead:{valType:"integer",min:0,max:d.length,dflt:1,editType:"arraydraw"},arrowside:{valType:"flaglist",flags:["end","start"],extras:["none"],dflt:"end",editType:"arraydraw"},arrowsize:{valType:"number",min:.3,dflt:1,editType:"calc+arraydraw"},startarrowsize:{valType:"number",min:.3,dflt:1,editType:"calc+arraydraw"},arrowwidth:{valType:"number",min:.1,editType:"calc+arraydraw"},standoff:{valType:"number",min:0,dflt:0,editType:"calc+arraydraw"},startstandoff:{valType:"number",min:0,dflt:0,editType:"calc+arraydraw"},ax:{valType:"any",editType:"calc+arraydraw"},ay:{valType:"any",editType:"calc+arraydraw"},axref:{valType:"enumerated",dflt:"pixel",values:["pixel",i.idRegex.x.toString()],editType:"calc"},ayref:{valType:"enumerated",dflt:"pixel",values:["pixel",i.idRegex.y.toString()],editType:"calc"},xref:{valType:"enumerated",values:["paper",i.idRegex.x.toString()],editType:"calc"},x:{valType:"any",editType:"calc+arraydraw"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto",editType:"calc+arraydraw"},xshift:{valType:"number",dflt:0,editType:"calc+arraydraw"},yref:{valType:"enumerated",values:["paper",i.idRegex.y.toString()],editType:"calc"},y:{valType:"any",editType:"calc+arraydraw"},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"auto",editType:"calc+arraydraw"},yshift:{valType:"number",dflt:0,editType:"calc+arraydraw"},clicktoshow:{valType:"enumerated",values:[!1,"onoff","onout"],dflt:!1,editType:"arraydraw"},xclick:{valType:"any",editType:"arraydraw"},yclick:{valType:"any",editType:"arraydraw"},hovertext:{valType:"string",editType:"arraydraw"},hoverlabel:{bgcolor:{valType:"color",editType:"arraydraw"},bordercolor:{valType:"color",editType:"arraydraw"},font:g({editType:"arraydraw"}),editType:"arraydraw"},captureevents:{valType:"boolean",editType:"arraydraw"},editType:"calc",_deprecated:{ref:{valType:"string",editType:"calc"}}})},3749:function(T,p,t){var d=t(71828),g=t(89298),i=t(92605).draw;function M(f){var l=f._fullLayout;d.filterVisible(l.annotations).forEach(function(a){var u=g.getFromId(f,a.xref),o=g.getFromId(f,a.yref),s=g.getRefType(a.xref),h=g.getRefType(a.yref);a._extremes={},s==="range"&&v(a,u),h==="range"&&v(a,o)})}function v(f,l){var a,u=l._id,o=u.charAt(0),s=f[o],h=f["a"+o],c=f[o+"ref"],m=f["a"+o+"ref"],w=f["_"+o+"padplus"],y=f["_"+o+"padminus"],C={x:1,y:-1}[o]*f[o+"shift"],_=3*f.arrowsize*f.arrowwidth||0,k=_+C,E=_-C,x=3*f.startarrowsize*f.arrowwidth||0,A=x+C,L=x-C;if(m===c){var b=g.findExtremes(l,[l.r2c(s)],{ppadplus:k,ppadminus:E}),R=g.findExtremes(l,[l.r2c(h)],{ppadplus:Math.max(w,A),ppadminus:Math.max(y,L)});a={min:[b.min[0],R.min[0]],max:[b.max[0],R.max[0]]}}else A=h?A+h:A,L=h?L-h:L,a=g.findExtremes(l,[l.r2c(s)],{ppadplus:Math.max(w,k,A),ppadminus:Math.max(y,E,L)});f._extremes[u]=a}T.exports=function(f){var l=f._fullLayout;if(d.filterVisible(l.annotations).length&&f._fullData.length)return d.syncOrAsync([i,M],f)}},44317:function(T,p,t){var d=t(71828),g=t(73972),i=t(44467).arrayEditor;function M(f,l){var a,u,o,s,h,c,m,w=f._fullLayout.annotations,y=[],C=[],_=[],k=(l||[]).length;for(a=0;a0||a.explicitOff.length>0},onClick:function(f,l){var a,u,o=M(f,l),s=o.on,h=o.off.concat(o.explicitOff),c={},m=f._fullLayout.annotations;if(s.length||h.length){for(a=0;a.6666666666666666?"right":"center"),{center:0,middle:0,left:.5,bottom:-.5,right:-.5,top:.5}[yt]}for(var Be=!1,ze=["x","y"],je=0;je1)&&(ot===st?((Vt=ht.r2fraction(k["a"+Ye]))<0||Vt>1)&&(Be=!0):Be=!0),ge=ht._offset+ht.r2p(k[Ye]),Ve=.5}else{var Ke=qt==="domain";Ye==="x"?(Ee=k[Ye],ge=Ke?ht._offset+ht._length*Ee:ge=O.l+O.w*Ee):(Ee=1-k[Ye],ge=Ke?ht._offset+ht._length*Ee:ge=O.t+O.h*Ee),Ve=k.showarrow?.5:Ee}if(k.showarrow){Bt.head=ge;var Je=k["a"+Ye];if($e=Et*Le(.5,k.xanchor)-kt*Le(.5,k.yanchor),ot===st){var qe=f.getRefType(ot);qe==="domain"?(Ye==="y"&&(Je=1-Je),Bt.tail=ht._offset+ht._length*Je):qe==="paper"?Ye==="y"?(Je=1-Je,Bt.tail=O.t+O.h*Je):Bt.tail=O.l+O.w*Je:Bt.tail=ht._offset+ht.r2p(Je),we=$e}else Bt.tail=ge+Je,we=$e+Je;Bt.text=Bt.tail+$e;var nt=I[Ye==="x"?"width":"height"];if(st==="paper"&&(Bt.head=M.constrain(Bt.head,1,nt-1)),ot==="pixel"){var ft=-Math.max(Bt.tail-3,Bt.text),Re=Math.min(Bt.tail+3,Bt.text)-nt;ft>0?(Bt.tail+=ft,Bt.text+=ft):Re>0&&(Bt.tail-=Re,Bt.text-=Re)}Bt.tail+=Ot,Bt.head+=Ot}else we=$e=xt*Le(Ve,Ft),Bt.text=ge+$e;Bt.text+=Ot,$e+=Ot,we+=Ot,k["_"+Ye+"padplus"]=xt/2+we,k["_"+Ye+"padminus"]=xt/2-we,k["_"+Ye+"size"]=xt,k["_"+Ye+"shift"]=$e}if(Be)te.remove();else{var Ne=0,Qe=0;if(k.align!=="left"&&(Ne=(ae-Se)*(k.align==="center"?.5:1)),k.valign!=="top"&&(Qe=(fe-Ce)*(k.valign==="middle"?.5:1)),_e)Pe.select("svg").attr({x:Q+Ne-1,y:Q+Qe}).call(a.setClipUrl,ie?j:null,_);else{var ut=Q+Qe-Me.top,dt=Q+Ne-Me.left;ye.call(o.positionText,dt,ut).call(a.setClipUrl,ie?j:null,_)}oe.select("rect").call(a.setRect,Q,Q,ae,fe),re.call(a.setRect,Z/2,Z/2,be-Z,ke-Z),te.call(a.setTranslate,Math.round($.x.text-be/2),Math.round($.y.text-ke/2)),q.attr({transform:"rotate("+U+","+$.x.text+","+$.y.text+")"});var _t,It=function(Lt,yt){G.selectAll(".annotation-arrow-g").remove();var Pt=$.x.head,wt=$.y.head,Rt=$.x.tail+Lt,Nt=$.y.tail+yt,Yt=$.x.text+Lt,Wt=$.y.text+yt,Xt=M.rotationXYMatrix(U,Yt,Wt),Qt=M.apply2DTransform(Xt),rn=M.apply2DTransform2(Xt),xn=+re.attr("width"),un=+re.attr("height"),An=Yt-.5*xn,Yn=An+xn,kn=Wt-.5*un,sn=kn+un,Tn=[[An,kn,An,sn],[An,sn,Yn,sn],[Yn,sn,Yn,kn],[Yn,kn,An,kn]].map(rn);if(!Tn.reduce(function(or,vr){return or^!!M.segmentsIntersect(Pt,wt,Pt+1e6,wt+1e6,vr[0],vr[1],vr[2],vr[3])},!1)){Tn.forEach(function(or){var vr=M.segmentsIntersect(Rt,Nt,Pt,wt,or[0],or[1],or[2],or[3]);vr&&(Rt=vr.x,Nt=vr.y)});var dn=k.arrowwidth,pn=k.arrowcolor,Dn=k.arrowside,In=G.append("g").style({opacity:l.opacity(pn)}).classed("annotation-arrow-g",!0),jn=In.append("path").attr("d","M"+Rt+","+Nt+"L"+Pt+","+wt).style("stroke-width",dn+"px").call(l.stroke,l.rgb(pn));if(m(jn,Dn,k),z.annotationPosition&&jn.node().parentNode&&!x){var Gn=Pt,qn=wt;if(k.standoff){var lr=Math.sqrt(Math.pow(Pt-Rt,2)+Math.pow(wt-Nt,2));Gn+=k.standoff*(Rt-Pt)/lr,qn+=k.standoff*(Nt-wt)/lr}var rr,Sr,yr=In.append("path").classed("annotation-arrow",!0).classed("anndrag",!0).classed("cursor-move",!0).attr({d:"M3,3H-3V-3H3ZM0,0L"+(Rt-Gn)+","+(Nt-qn),transform:v(Gn,qn)}).style("stroke-width",dn+6+"px").call(l.stroke,"rgba(0,0,0,0)").call(l.fill,"rgba(0,0,0,0)");h.init({element:yr.node(),gd:_,prepFn:function(){var or=a.getTranslate(te);rr=or.x,Sr=or.y,A&&A.autorange&&B(A._name+".autorange",!0),L&&L.autorange&&B(L._name+".autorange",!0)},moveFn:function(or,vr){var _r=Qt(rr,Sr),Kt=_r[0]+or,bn=_r[1]+vr;te.call(a.setTranslate,Kt,bn),N("x",y(A,or,"x",O,k)),N("y",y(L,vr,"y",O,k)),k.axref===k.xref&&N("ax",y(A,or,"ax",O,k)),k.ayref===k.yref&&N("ay",y(L,vr,"ay",O,k)),In.attr("transform",v(or,vr)),q.attr({transform:"rotate("+U+","+Kt+","+bn+")"})},doneFn:function(){g.call("_guiRelayout",_,W());var or=document.querySelector(".js-notes-box-panel");or&&or.redraw(or.selectedObj)}})}}};k.showarrow&&It(0,0),H&&h.init({element:te.node(),gd:_,prepFn:function(){_t=q.attr("transform")},moveFn:function(Lt,yt){var Pt="pointer";if(k.showarrow)k.axref===k.xref?N("ax",y(A,Lt,"ax",O,k)):N("ax",k.ax+Lt),k.ayref===k.yref?N("ay",y(L,yt,"ay",O.w,k)):N("ay",k.ay+yt),It(Lt,yt);else{if(x)return;var wt,Rt;if(A)wt=y(A,Lt,"x",O,k);else{var Nt=k._xsize/O.w,Yt=k.x+(k._xshift-k.xshift)/O.w-Nt/2;wt=h.align(Yt+Lt/O.w,Nt,0,1,k.xanchor)}if(L)Rt=y(L,yt,"y",O,k);else{var Wt=k._ysize/O.h,Xt=k.y-(k._yshift+k.yshift)/O.h-Wt/2;Rt=h.align(Xt-yt/O.h,Wt,0,1,k.yanchor)}N("x",wt),N("y",Rt),A&&L||(Pt=h.getCursor(A?.5:wt,L?.5:Rt,k.xanchor,k.yanchor))}q.attr({transform:v(Lt,yt)+_t}),s(te,Pt)},clickFn:function(Lt,yt){k.captureevents&&_.emit("plotly_clickannotation",de(yt))},doneFn:function(){s(te),g.call("_guiRelayout",_,W());var Lt=document.querySelector(".js-notes-box-panel");Lt&&Lt.redraw(Lt.selectedObj)}})}}}T.exports={draw:function(_){var k=_._fullLayout;k._infolayer.selectAll(".annotation").remove();for(var E=0;E=0,x=u.indexOf("end")>=0,A=y.backoff*_+o.standoff,L=C.backoff*k+o.startstandoff;if(w.nodeName==="line"){s={x:+a.attr("x1"),y:+a.attr("y1")},h={x:+a.attr("x2"),y:+a.attr("y2")};var b=s.x-h.x,R=s.y-h.y;if(m=(c=Math.atan2(R,b))+Math.PI,A&&L&&A+L>Math.sqrt(b*b+R*R))return void G();if(A){if(A*A>b*b+R*R)return void G();var I=A*Math.cos(c),O=A*Math.sin(c);h.x+=I,h.y+=O,a.attr({x2:h.x,y2:h.y})}if(L){if(L*L>b*b+R*R)return void G();var z=L*Math.cos(c),F=L*Math.sin(c);s.x-=z,s.y-=F,a.attr({x1:s.x,y1:s.y})}}else if(w.nodeName==="path"){var B=w.getTotalLength(),N="";if(B1){o=!0;break}}o?M.fullLayout._infolayer.select(".annotation-"+M.id+'[data-index="'+a+'"]').remove():(u._pdata=g(M.glplot.cameraParams,[v.xaxis.r2l(u.x)*f[0],v.yaxis.r2l(u.y)*f[1],v.zaxis.r2l(u.z)*f[2]]),d(M.graphDiv,u,a,M.id,u._xa,u._ya))}}},2468:function(T,p,t){var d=t(73972),g=t(71828);T.exports={moduleType:"component",name:"annotations3d",schema:{subplots:{scene:{annotations:t(26997)}}},layoutAttributes:t(26997),handleDefaults:t(20226),includeBasePlot:function(i,M){var v=d.subplotsRegistry.gl3d;if(v)for(var f=v.attrRegex,l=Object.keys(i),a=0;a=0)))return u;if(m===3)h[m]>1&&(h[m]=1);else if(h[m]>=1)return u}var w=Math.round(255*h[0])+", "+Math.round(255*h[1])+", "+Math.round(255*h[2]);return c?"rgba("+w+", "+h[3]+")":"rgb("+w+")"}M.tinyRGB=function(u){var o=u.toRgb();return"rgb("+Math.round(o.r)+", "+Math.round(o.g)+", "+Math.round(o.b)+")"},M.rgb=function(u){return M.tinyRGB(d(u))},M.opacity=function(u){return u?d(u).getAlpha():0},M.addOpacity=function(u,o){var s=d(u).toRgb();return"rgba("+Math.round(s.r)+", "+Math.round(s.g)+", "+Math.round(s.b)+", "+o+")"},M.combine=function(u,o){var s=d(u).toRgb();if(s.a===1)return d(u).toRgbString();var h=d(o||l).toRgb(),c=h.a===1?h:{r:255*(1-h.a)+h.r*h.a,g:255*(1-h.a)+h.g*h.a,b:255*(1-h.a)+h.b*h.a},m={r:c.r*(1-s.a)+s.r*s.a,g:c.g*(1-s.a)+s.g*s.a,b:c.b*(1-s.a)+s.b*s.a};return d(m).toRgbString()},M.contrast=function(u,o,s){var h=d(u);return h.getAlpha()!==1&&(h=d(M.combine(u,l))),(h.isDark()?o?h.lighten(o):l:s?h.darken(s):f).toString()},M.stroke=function(u,o){var s=d(o);u.style({stroke:M.tinyRGB(s),"stroke-opacity":s.getAlpha()})},M.fill=function(u,o){var s=d(o);u.style({fill:M.tinyRGB(s),"fill-opacity":s.getAlpha()})},M.clean=function(u){if(u&&typeof u=="object"){var o,s,h,c,m=Object.keys(u);for(o=0;o0?Je>=Ne:Je<=Ne));qe++)Je>ut&&Je0?Je>=Ne:Je<=Ne));qe++)Je>Ke[0]&&Je1){var ot=Math.pow(10,Math.floor(Math.log(st)/Math.LN10));$e*=ot*l.roundUp(st/ot,[2,5,10]),(Math.abs(_e.start)/_e.size+1e-6)%1<2e-6&&(Ee.tick0=0)}Ee.dtick=$e}Ee.domain=W?[ge+Q/ue.h,ge+ke-Q/ue.h]:[ge+X/ue.w,ge+ke-X/ue.w],Ee.setScale(),F.attr("transform",a(Math.round(ue.l),Math.round(ue.t)));var ht,bt=F.select("."+L.cbtitleunshift).attr("transform",a(-Math.round(ue.l),-Math.round(ue.t))),Et=Ee.ticklabelposition,kt=Ee.title.font.size,xt=F.select("."+L.cbaxis),Ft=0,Ot=0;function Bt(qt,Vt){var Ke={propContainer:Ee,propName:B._propPrefix+"title",traceIndex:B._traceIndex,_meta:B._meta,placeholder:oe._dfltTitle.colorbar,containerGroup:F.select("."+L.cbtitle)},Je=qt.charAt(0)==="h"?qt.substr(1):"h"+qt;F.selectAll("."+Je+",."+Je+"-math-group").remove(),c.draw(N,qt,u(Ke,Vt||{}))}return l.syncOrAsync([i.previousPromises,function(){var qt,Vt;(W&&Ve||!W&&!Ve)&&(me==="top"&&(qt=X+ue.l+ue.w*re,Vt=Q+ue.t+ue.h*(1-ge-ke)+3+.75*kt),me==="bottom"&&(qt=X+ue.l+ue.w*re,Vt=Q+ue.t+ue.h*(1-ge)-3-.25*kt),me==="right"&&(Vt=Q+ue.t+ue.h*ie+3+.75*kt,qt=X+ue.l+ue.w*ge),Bt(Ee._id+"title",{attributes:{x:qt,y:Vt,"text-anchor":W?"start":"middle"}}))},function(){if(!W&&!Ve||W&&Ve){var qt,Vt=F.select("."+L.cbtitle),Ke=Vt.select("text"),Je=[-q/2,q/2],qe=Vt.select(".h"+Ee._id+"title-math-group").node(),nt=15.6;if(Ke.node()&&(nt=parseInt(Ke.node().style.fontSize,10)*E),qe?(qt=s.bBox(qe),Ot=qt.width,(Ft=qt.height)>nt&&(Je[1]-=(Ft-nt)/2)):Ke.node()&&!Ke.classed(L.jsPlaceholder)&&(qt=s.bBox(Ke.node()),Ot=qt.width,Ft=qt.height),W){if(Ft){if(Ft+=5,me==="top")Ee.domain[1]-=Ft/ue.h,Je[1]*=-1;else{Ee.domain[0]+=Ft/ue.h;var ft=m.lineCount(Ke);Je[1]+=(1-ft)*nt}Vt.attr("transform",a(Je[0],Je[1])),Ee.setScale()}}else Ot&&(me==="right"&&(Ee.domain[0]+=(Ot+kt/2)/ue.w),Vt.attr("transform",a(Je[0],Je[1])),Ee.setScale())}F.selectAll("."+L.cbfills+",."+L.cblines).attr("transform",W?a(0,Math.round(ue.h*(1-Ee.domain[1]))):a(Math.round(ue.w*Ee.domain[0]),0)),xt.attr("transform",W?a(0,Math.round(-ue.t)):a(Math.round(-ue.l),0));var Re=F.select("."+L.cbfills).selectAll("rect."+L.cbfill).attr("style","").data(Se);Re.enter().append("rect").classed(L.cbfill,!0).style("stroke","none"),Re.exit().remove();var Ne=pe.map(Ee.c2p).map(Math.round).sort(function(It,Lt){return It-Lt});Re.each(function(It,Lt){var yt=[Lt===0?pe[0]:(Se[Lt]+Se[Lt-1])/2,Lt===Se.length-1?pe[1]:(Se[Lt]+Se[Lt+1])/2].map(Ee.c2p).map(Math.round);W&&(yt[1]=l.constrain(yt[1]+(yt[1]>yt[0])?1:-1,Ne[0],Ne[1]));var Pt=d.select(this).attr(W?"x":"y",Le).attr(W?"y":"x",d.min(yt)).attr(W?"width":"height",Math.max(ae,2)).attr(W?"height":"width",Math.max(d.max(yt)-d.min(yt),2));if(B._fillgradient)s.gradient(Pt,N,B._id,W?"vertical":"horizontalreversed",B._fillgradient,"fill");else{var wt=Pe(It).replace("e-","");Pt.attr("fill",g(wt).toHexString())}});var Qe=F.select("."+L.cblines).selectAll("path."+L.cbline).data(ye.color&&ye.width?Ce:[]);Qe.enter().append("path").classed(L.cbline,!0),Qe.exit().remove(),Qe.each(function(It){var Lt=Le,yt=Math.round(Ee.c2p(It))+ye.width/2%1;d.select(this).attr("d","M"+(W?Lt+","+yt:yt+","+Lt)+(W?"h":"v")+ae).call(s.lineGroupStyle,ye.width,xe(It),ye.dash)}),xt.selectAll("g."+Ee._id+"tick,path").remove();var ut=Le+ae+(q||0)/2-(B.ticks==="outside"?1:0),dt=v.calcTicks(Ee),_t=v.getTickSigns(Ee)[2];return v.drawTicks(N,Ee,{vals:Ee.ticks==="inside"?v.clipEnds(Ee,dt):dt,layer:xt,path:v.makeTickPath(Ee,ut,_t),transFn:v.makeTransTickFn(Ee)}),v.drawLabels(N,Ee,{vals:dt,layer:xt,transFn:v.makeTransTickLabelFn(Ee),labelFns:v.makeLabelFns(Ee,ut)})},function(){if(W&&!Ve||!W&&Ve){var qt,Vt,Ke=Ee.position||0,Je=Ee._offset+Ee._length/2;if(me==="right")Vt=Je,qt=ue.l+ue.w*Ke+10+kt*(Ee.showticklabels?1:.5);else if(qt=Je,me==="bottom"&&(Vt=ue.t+ue.h*Ke+10+(Et.indexOf("inside")===-1?Ee.tickfont.size:0)+(Ee.ticks!=="intside"&&B.ticklen||0)),me==="top"){var qe=de.text.split("
").length;Vt=ue.t+ue.h*Ke+10-ae-E*kt*qe}Bt((W?"h":"v")+Ee._id+"title",{avoid:{selection:d.select(N).selectAll("g."+Ee._id+"tick"),side:me,offsetTop:W?0:ue.t,offsetLeft:W?ue.l:0,maxShift:W?oe.width:oe.height},attributes:{x:qt,y:Vt,"text-anchor":"middle"},transform:{rotate:W?-90:0,offset:0}})}},i.previousPromises,function(){var qt,Vt=ae+q/2;Et.indexOf("inside")===-1&&(qt=s.bBox(xt.node()),Vt+=W?qt.width:qt.height),ht=bt.select("text");var Ke=0,Je=W&&me==="top",qe=!W&&me==="right",nt=0;if(ht.node()&&!ht.classed(L.jsPlaceholder)){var ft,Re=bt.select(".h"+Ee._id+"title-math-group").node();Re&&(W&&Ve||!W&&!Ve)?(Ke=(qt=s.bBox(Re)).width,ft=qt.height):(Ke=(qt=s.bBox(bt.node())).right-ue.l-(W?Le:we),ft=qt.bottom-ue.t-(W?we:Le),W||me!=="top"||(Vt+=qt.height,nt=qt.height)),qe&&(ht.attr("transform",a(Ke/2+kt/2,0)),Ke*=2),Vt=Math.max(Vt,W?Ke:ft)}var Ne=2*(W?X:Q)+Vt+H+q/2,Qe=0;!W&&de.text&&Z==="bottom"&&ie<=0&&(Ne+=Qe=Ne/2,nt+=Qe),oe._hColorbarMoveTitle=Qe,oe._hColorbarMoveCBTitle=nt;var ut=H+q;F.select("."+L.cbbg).attr("x",(W?Le:we)-ut/2-(W?X:0)).attr("y",(W?we:Le)-(W?be:Q+nt-Qe)).attr(W?"width":"height",Math.max(Ne-Qe,2)).attr(W?"height":"width",Math.max(be+ut,2)).call(h.fill,ne).call(h.stroke,B.bordercolor).style("stroke-width",H);var dt=qe?Math.max(Ke-10,0):0;if(F.selectAll("."+L.cboutline).attr("x",(W?Le:we+X)+dt).attr("y",(W?we+Q-be:Le)+(Je?Ft:0)).attr(W?"width":"height",Math.max(ae,2)).attr(W?"height":"width",Math.max(be-(W?2*Q+Ft:2*X+dt),2)).call(h.stroke,B.outlinecolor).style({fill:"none","stroke-width":q}),F.attr("transform",a(ue.l-(W?Be*Ne:0),ue.t-(W?0:(1-ze)*Ne-nt))),!W&&(H||g(ne).getAlpha()&&!g.equals(oe.paper_bgcolor,ne))){var _t=xt.selectAll("text"),It=_t[0].length,Lt=F.select("."+L.cbbg).node(),yt=s.bBox(Lt),Pt=s.getTranslate(F);_t.each(function(Qt,rn){var xn=It-1;if(rn===0||rn===xn){var un,An=s.bBox(this),Yn=s.getTranslate(this);if(rn===xn){var kn=An.right+Yn.x;(un=yt.right+Pt.x+we-H-2+re-kn)>0&&(un=0)}else if(rn===0){var sn=An.left+Yn.x;(un=yt.left+Pt.x+we+H+2-sn)<0&&(un=0)}un&&(It<3?this.setAttribute("transform","translate("+un+",0) "+this.getAttribute("transform")):this.setAttribute("visibility","hidden"))}})}var wt={},Rt=x[te],Nt=A[te],Yt=x[Z],Wt=A[Z],Xt=Ne-ae;W?($==="pixels"?(wt.y=ie,wt.t=be*Yt,wt.b=be*Wt):(wt.t=wt.b=0,wt.yt=ie+j*Yt,wt.yb=ie-j*Wt),G==="pixels"?(wt.x=re,wt.l=Ne*Rt,wt.r=Ne*Nt):(wt.l=Xt*Rt,wt.r=Xt*Nt,wt.xl=re-U*Rt,wt.xr=re+U*Nt)):($==="pixels"?(wt.x=re,wt.l=be*Rt,wt.r=be*Nt):(wt.l=wt.r=0,wt.xl=re+j*Rt,wt.xr=re-j*Nt),G==="pixels"?(wt.y=1-ie,wt.t=Ne*Yt,wt.b=Ne*Wt):(wt.t=Xt*Yt,wt.b=Xt*Wt,wt.yt=ie-U*Yt,wt.yb=ie+U*Wt)),i.autoMargin(N,B._id,wt)}],N)}(O,I,b);z&&z.then&&(b._promises||[]).push(z),b._context.edits.colorbarPosition&&function(F,B,N){var W,j,$,U=B.orientation==="v",G=N._fullLayout._size;f.init({element:F.node(),gd:N,prepFn:function(){W=F.attr("transform"),o(F)},moveFn:function(q,H){F.attr("transform",W+a(q,H)),j=f.align((U?B._uFrac:B._vFrac)+q/G.w,U?B._thickFrac:B._lenFrac,0,1,B.xanchor),$=f.align((U?B._vFrac:1-B._uFrac)-H/G.h,U?B._lenFrac:B._thickFrac,0,1,B.yanchor);var ne=f.getCursor(j,$,B.xanchor,B.yanchor);o(F,ne)},doneFn:function(){if(o(F),j!==void 0&&$!==void 0){var q={};q[B._propPrefix+"x"]=j,q[B._propPrefix+"y"]=$,B._traceIndex!==void 0?M.call("_guiRestyle",N,q,B._traceIndex):M.call("_guiRelayout",N,q)}}})}(O,I,b)}),R.exit().each(function(I){i.autoMargin(b,I._id)}).remove(),R.order()}}},76228:function(T,p,t){var d=t(71828);T.exports=function(g){return d.isPlainObject(g.colorbar)}},12311:function(T,p,t){T.exports={moduleType:"component",name:"colorbar",attributes:t(63583),supplyDefaults:t(62499),draw:t(98981).draw,hasColorbar:t(76228)}},50693:function(T,p,t){var d=t(63583),g=t(30587).counter,i=t(78607),M=t(63282).scales;function v(f){return"`"+f+"`"}i(M),T.exports=function(f,l){f=f||"";var a,u=(l=l||{}).cLetter||"c",o=("onlyIfNumerical"in l&&l.onlyIfNumerical,"noScale"in l?l.noScale:f==="marker.line"),s="showScaleDflt"in l?l.showScaleDflt:u==="z",h=typeof l.colorscaleDflt=="string"?M[l.colorscaleDflt]:null,c=l.editTypeOverride||"",m=f?f+".":"";"colorAttr"in l?(a=l.colorAttr,l.colorAttr):v(m+(a={z:"z",c:"color"}[u]));var w=u+"auto",y=u+"min",C=u+"max",_=u+"mid",k={};k[y]=k[C]=void 0;var E={};E[w]=!1;var x={};return a==="color"&&(x.color={valType:"color",arrayOk:!0,editType:c||"style"},l.anim&&(x.color.anim=!0)),x[w]={valType:"boolean",dflt:!0,editType:"calc",impliedEdits:k},x[y]={valType:"number",dflt:null,editType:c||"plot",impliedEdits:E},x[C]={valType:"number",dflt:null,editType:c||"plot",impliedEdits:E},x[_]={valType:"number",dflt:null,editType:"calc",impliedEdits:k},x.colorscale={valType:"colorscale",editType:"calc",dflt:h,impliedEdits:{autocolorscale:!1}},x.autocolorscale={valType:"boolean",dflt:l.autoColorDflt!==!1,editType:"calc",impliedEdits:{colorscale:void 0}},x.reversescale={valType:"boolean",dflt:!1,editType:"plot"},o||(x.showscale={valType:"boolean",dflt:s,editType:"calc"},x.colorbar=d),l.noColorAxis||(x.coloraxis={valType:"subplotid",regex:g("coloraxis"),dflt:null,editType:"calc"}),x}},78803:function(T,p,t){var d=t(92770),g=t(71828),i=t(52075).extractOpts;T.exports=function(M,v,f){var l,a=M._fullLayout,u=f.vals,o=f.containerStr,s=o?g.nestedProperty(v,o).get():v,h=i(s),c=h.auto!==!1,m=h.min,w=h.max,y=h.mid,C=function(){return g.aggNums(Math.min,null,u)},_=function(){return g.aggNums(Math.max,null,u)};m===void 0?m=C():c&&(m=s._colorAx&&d(m)?Math.min(m,C()):C()),w===void 0?w=_():c&&(w=s._colorAx&&d(w)?Math.max(w,_()):_()),c&&y!==void 0&&(w-y>y-m?m=y-(w-y):w-y=0?a.colorscale.sequential:a.colorscale.sequentialminus,h._sync("colorscale",l))}},33046:function(T,p,t){var d=t(71828),g=t(52075).hasColorscale,i=t(52075).extractOpts;T.exports=function(M,v){function f(c,m){var w=c["_"+m];w!==void 0&&(c[m]=w)}function l(c,m){var w=m.container?d.nestedProperty(c,m.container).get():c;if(w)if(w.coloraxis)w._colorAx=v[w.coloraxis];else{var y=i(w),C=y.auto;(C||y.min===void 0)&&f(w,m.min),(C||y.max===void 0)&&f(w,m.max),y.autocolorscale&&f(w,"colorscale")}}for(var a=0;a=0;C--,_++){var k=m[C];y[_]=[1-k[0],k[1]]}return y}function h(m,w){w=w||{};for(var y=m.domain,C=m.range,_=C.length,k=new Array(_),E=0;E<_;E++){var x=g(C[E]).toRgb();k[E]=[x.r,x.g,x.b,x.a]}var A,L=d.scale.linear().domain(y).range(k).clamp(!0),b=w.noNumericCheck,R=w.returnArray;return(A=b&&R?L:b?function(I){return c(L(I))}:R?function(I){return i(I)?L(I):g(I).isValid()?I:v.defaultLine}:function(I){return i(I)?c(L(I)):g(I).isValid()?I:v.defaultLine}).domain=L.domain,A.range=function(){return C},A}function c(m){var w={r:m[0],g:m[1],b:m[2],a:m[3]};return g(w).toRgbString()}T.exports={hasColorscale:function(m,w,y){var C=w?M.nestedProperty(m,w).get()||{}:m,_=C[y||"color"],k=!1;if(M.isArrayOrTypedArray(_)){for(var E=0;E<_.length;E++)if(i(_[E])){k=!0;break}}return M.isPlainObject(C)&&(k||C.showscale===!0||i(C.cmin)&&i(C.cmax)||f(C.colorscale)||M.isPlainObject(C.colorbar))},extractOpts:u,extractScale:o,flipScale:s,makeColorScaleFunc:h,makeColorScaleFuncFromTrace:function(m,w){return h(o(m),w)}}},21081:function(T,p,t){var d=t(63282),g=t(52075);T.exports={moduleType:"component",name:"colorscale",attributes:t(50693),layoutAttributes:t(72673),supplyLayoutDefaults:t(30959),handleDefaults:t(1586),crossTraceDefaults:t(33046),calc:t(78803),scales:d.scales,defaultScale:d.defaultScale,getScale:d.get,isValidScale:d.isValid,hasColorscale:g.hasColorscale,extractOpts:g.extractOpts,extractScale:g.extractScale,flipScale:g.flipScale,makeColorScaleFunc:g.makeColorScaleFunc,makeColorScaleFuncFromTrace:g.makeColorScaleFuncFromTrace}},72673:function(T,p,t){var d=t(1426).extendFlat,g=t(50693),i=t(63282).scales;T.exports={editType:"calc",colorscale:{editType:"calc",sequential:{valType:"colorscale",dflt:i.Reds,editType:"calc"},sequentialminus:{valType:"colorscale",dflt:i.Blues,editType:"calc"},diverging:{valType:"colorscale",dflt:i.RdBu,editType:"calc"}},coloraxis:d({_isSubplotObj:!0,editType:"calc"},g("",{colorAttr:"corresponding trace color array(s)",noColorAxis:!0,showScaleDflt:!0}))}},30959:function(T,p,t){var d=t(71828),g=t(44467),i=t(72673),M=t(1586);T.exports=function(v,f){function l(w,y){return d.coerce(v,f,i,w,y)}l("colorscale.sequential"),l("colorscale.sequentialminus"),l("colorscale.diverging");var a,u,o=f._colorAxes;function s(w,y){return d.coerce(a,u,i.coloraxis,w,y)}for(var h in o){var c=o[h];if(c[0])a=v[h]||{},(u=g.newContainer(f,h,"coloraxis"))._name=h,M(a,u,f,s,{prefix:"",cLetter:"c"});else{for(var m=0;m1.3333333333333333-f?v:f}},70461:function(T,p,t){var d=t(71828),g=[["sw-resize","s-resize","se-resize"],["w-resize","move","e-resize"],["nw-resize","n-resize","ne-resize"]];T.exports=function(i,M,v,f){return i=v==="left"?0:v==="center"?1:v==="right"?2:d.constrain(Math.floor(3*i),0,2),M=f==="bottom"?0:f==="middle"?1:f==="top"?2:d.constrain(Math.floor(3*M),0,2),g[M][i]}},64505:function(T,p){p.selectMode=function(t){return t==="lasso"||t==="select"},p.drawMode=function(t){return t==="drawclosedpath"||t==="drawopenpath"||t==="drawline"||t==="drawrect"||t==="drawcircle"},p.openMode=function(t){return t==="drawline"||t==="drawopenpath"},p.rectMode=function(t){return t==="select"||t==="drawline"||t==="drawrect"||t==="drawcircle"},p.freeMode=function(t){return t==="lasso"||t==="drawclosedpath"||t==="drawopenpath"},p.selectingOrDrawing=function(t){return p.freeMode(t)||p.rectMode(t)}},28569:function(T,p,t){var d=t(48956),g=t(57035),i=t(38520),M=t(71828).removeElement,v=t(85555),f=T.exports={};f.align=t(92807),f.getCursor=t(70461);var l=t(26041);function a(){var o=document.createElement("div");o.className="dragcover";var s=o.style;return s.position="fixed",s.left=0,s.right=0,s.top=0,s.bottom=0,s.zIndex=999999999,s.background="none",document.body.appendChild(o),o}function u(o){return d(o.changedTouches?o.changedTouches[0]:o,document.body)}f.unhover=l.wrapped,f.unhoverRaw=l.raw,f.init=function(o){var s,h,c,m,w,y,C,_,k=o.gd,E=1,x=k._context.doubleClickDelay,A=o.element;k._mouseDownTime||(k._mouseDownTime=0),A.style.pointerEvents="all",A.onmousedown=b,i?(A._ontouchstart&&A.removeEventListener("touchstart",A._ontouchstart),A._ontouchstart=b,A.addEventListener("touchstart",b,{passive:!1})):A.ontouchstart=b;var L=o.clampFn||function(O,z,F){return Math.abs(O)x&&(E=Math.max(E-1,1)),k._dragged)o.doneFn&&o.doneFn();else if(o.clickFn&&o.clickFn(E,y),!_){var z;try{z=new MouseEvent("click",O)}catch{var F=u(O);(z=document.createEvent("MouseEvents")).initMouseEvent("click",O.bubbles,O.cancelable,O.view,O.detail,O.screenX,O.screenY,F[0],F[1],O.ctrlKey,O.altKey,O.shiftKey,O.metaKey,O.button,O.relatedTarget)}C.dispatchEvent(z)}k._dragging=!1,k._dragged=!1}else k._dragged=!1}},f.coverSlip=a},26041:function(T,p,t){var d=t(11086),g=t(79990),i=t(24401).getGraphDiv,M=t(26675),v=T.exports={};v.wrapped=function(f,l,a){(f=i(f))._fullLayout&&g.clear(f._fullLayout._uid+M.HOVERID),v.raw(f,l,a)},v.raw=function(f,l){var a=f._fullLayout,u=f._hoverdata;l||(l={}),l.target&&!f._dragged&&d.triggerHandler(f,"plotly_beforehover",l)===!1||(a._hoverlayer.selectAll("g").remove(),a._hoverlayer.selectAll("line").remove(),a._hoverlayer.selectAll("circle").remove(),f._hoverdata=void 0,l.target&&u&&f.emit("plotly_unhover",{event:l,points:u}))}},79952:function(T,p){p.P={valType:"string",values:["solid","dot","dash","longdash","dashdot","longdashdot"],dflt:"solid",editType:"style"},p.u={shape:{valType:"enumerated",values:["","/","\\","x","-","|","+","."],dflt:"",arrayOk:!0,editType:"style"},fillmode:{valType:"enumerated",values:["replace","overlay"],dflt:"replace",editType:"style"},bgcolor:{valType:"color",arrayOk:!0,editType:"style"},fgcolor:{valType:"color",arrayOk:!0,editType:"style"},fgopacity:{valType:"number",editType:"style",min:0,max:1},size:{valType:"number",min:0,dflt:8,arrayOk:!0,editType:"style"},solidity:{valType:"number",min:0,max:1,dflt:.3,arrayOk:!0,editType:"style"},editType:"style"}},91424:function(T,p,t){var d=t(39898),g=t(71828),i=g.numberFormat,M=t(92770),v=t(84267),f=t(73972),l=t(7901),a=t(21081),u=g.strTranslate,o=t(63893),s=t(77922),h=t(18783).LINE_SPACING,c=t(37822).DESELECTDIM,m=t(34098),w=t(39984),y=t(23469).appendArrayPointValue,C=T.exports={};function _(_e,Me,Se){var Ce=Me.fillpattern,ae=Ce&&C.getPatternAttr(Ce.shape,0,"");if(ae){var fe=C.getPatternAttr(Ce.bgcolor,0,null),be=C.getPatternAttr(Ce.fgcolor,0,null),ke=Ce.fgopacity,Le=C.getPatternAttr(Ce.size,0,8),Be=C.getPatternAttr(Ce.solidity,0,.3),ze=Me.uid;C.pattern(_e,"point",Se,ze,ae,Le,Be,void 0,Ce.fillmode,fe,be,ke)}else Me.fillcolor&&_e.call(l.fill,Me.fillcolor)}C.font=function(_e,Me,Se,Ce){g.isPlainObject(Me)&&(Ce=Me.color,Se=Me.size,Me=Me.family),Me&&_e.style("font-family",Me),Se+1&&_e.style("font-size",Se+"px"),Ce&&_e.call(l.fill,Ce)},C.setPosition=function(_e,Me,Se){_e.attr("x",Me).attr("y",Se)},C.setSize=function(_e,Me,Se){_e.attr("width",Me).attr("height",Se)},C.setRect=function(_e,Me,Se,Ce,ae){_e.call(C.setPosition,Me,Se).call(C.setSize,Ce,ae)},C.translatePoint=function(_e,Me,Se,Ce){var ae=Se.c2p(_e.x),fe=Ce.c2p(_e.y);return!!(M(ae)&&M(fe)&&Me.node())&&(Me.node().nodeName==="text"?Me.attr("x",ae).attr("y",fe):Me.attr("transform",u(ae,fe)),!0)},C.translatePoints=function(_e,Me,Se){_e.each(function(Ce){var ae=d.select(this);C.translatePoint(Ce,ae,Me,Se)})},C.hideOutsideRangePoint=function(_e,Me,Se,Ce,ae,fe){Me.attr("display",Se.isPtWithinRange(_e,ae)&&Ce.isPtWithinRange(_e,fe)?null:"none")},C.hideOutsideRangePoints=function(_e,Me){if(Me._hasClipOnAxisFalse){var Se=Me.xaxis,Ce=Me.yaxis;_e.each(function(ae){var fe=ae[0].trace,be=fe.xcalendar,ke=fe.ycalendar,Le=f.traceIs(fe,"bar-like")?".bartext":".point,.textpoint";_e.selectAll(Le).each(function(Be){C.hideOutsideRangePoint(Be,d.select(this),Se,Ce,be,ke)})})}},C.crispRound=function(_e,Me,Se){return Me&&M(Me)?_e._context.staticPlot?Me:Me<1?1:Math.round(Me):Se||0},C.singleLineStyle=function(_e,Me,Se,Ce,ae){Me.style("fill","none");var fe=(((_e||[])[0]||{}).trace||{}).line||{},be=Se||fe.width||0,ke=ae||fe.dash||"";l.stroke(Me,Ce||fe.color),C.dashLine(Me,ke,be)},C.lineGroupStyle=function(_e,Me,Se,Ce){_e.style("fill","none").each(function(ae){var fe=(((ae||[])[0]||{}).trace||{}).line||{},be=Me||fe.width||0,ke=Ce||fe.dash||"";d.select(this).call(l.stroke,Se||fe.color).call(C.dashLine,ke,be)})},C.dashLine=function(_e,Me,Se){Se=+Se||0,Me=C.dashStyle(Me,Se),_e.style({"stroke-dasharray":Me,"stroke-width":Se+"px"})},C.dashStyle=function(_e,Me){Me=+Me||1;var Se=Math.max(Me,3);return _e==="solid"?_e="":_e==="dot"?_e=Se+"px,"+Se+"px":_e==="dash"?_e=3*Se+"px,"+3*Se+"px":_e==="longdash"?_e=5*Se+"px,"+5*Se+"px":_e==="dashdot"?_e=3*Se+"px,"+Se+"px,"+Se+"px,"+Se+"px":_e==="longdashdot"&&(_e=5*Se+"px,"+2*Se+"px,"+Se+"px,"+2*Se+"px"),_e},C.singleFillStyle=function(_e,Me){var Se=d.select(_e.node());_(_e,((Se.data()[0]||[])[0]||{}).trace||{},Me)},C.fillGroupStyle=function(_e,Me){_e.style("stroke-width",0).each(function(Se){var Ce=d.select(this);Se[0].trace&&_(Ce,Se[0].trace,Me)})};var k=t(90998);C.symbolNames=[],C.symbolFuncs=[],C.symbolBackOffs=[],C.symbolNeedLines={},C.symbolNoDot={},C.symbolNoFill={},C.symbolList=[],Object.keys(k).forEach(function(_e){var Me=k[_e],Se=Me.n;C.symbolList.push(Se,String(Se),_e,Se+100,String(Se+100),_e+"-open"),C.symbolNames[Se]=_e,C.symbolFuncs[Se]=Me.f,C.symbolBackOffs[Se]=Me.backoff||0,Me.needLine&&(C.symbolNeedLines[Se]=!0),Me.noDot?C.symbolNoDot[Se]=!0:C.symbolList.push(Se+200,String(Se+200),_e+"-dot",Se+300,String(Se+300),_e+"-open-dot"),Me.noFill&&(C.symbolNoFill[Se]=!0)});var E=C.symbolNames.length;function x(_e,Me,Se,Ce){var ae=_e%100;return C.symbolFuncs[ae](Me,Se,Ce)+(_e>=200?"M0,0.5L0.5,0L0,-0.5L-0.5,0Z":"")}C.symbolNumber=function(_e){if(M(_e))_e=+_e;else if(typeof _e=="string"){var Me=0;_e.indexOf("-open")>0&&(Me=100,_e=_e.replace("-open","")),_e.indexOf("-dot")>0&&(Me+=200,_e=_e.replace("-dot","")),(_e=C.symbolNames.indexOf(_e))>=0&&(_e+=Me)}return _e%100>=E||_e>=400?0:Math.floor(Math.max(_e,0))};var A={x1:1,x2:0,y1:0,y2:0},L={x1:0,x2:0,y1:1,y2:0},b=i("~f"),R={radial:{node:"radialGradient"},radialreversed:{node:"radialGradient",reversed:!0},horizontal:{node:"linearGradient",attrs:A},horizontalreversed:{node:"linearGradient",attrs:A,reversed:!0},vertical:{node:"linearGradient",attrs:L},verticalreversed:{node:"linearGradient",attrs:L,reversed:!0}};C.gradient=function(_e,Me,Se,Ce,ae,fe){for(var be=ae.length,ke=R[Ce],Le=new Array(be),Be=0;Be=100;var Be=Pe(_e,Se),ze=Q(_e,Se);Me.attr("d",x(Le,ke,Be,ze))}var je,ge,we,Ee=!1;if(_e.so)we=be.outlierwidth,ge=be.outliercolor,je=fe.outliercolor;else{var Ve=(be||{}).width;we=(_e.mlw+1||Ve+1||(_e.trace?(_e.trace.marker.line||{}).width:0)+1)-1||0,ge="mlc"in _e?_e.mlcc=Ce.lineScale(_e.mlc):g.isArrayOrTypedArray(be.color)?l.defaultLine:be.color,g.isArrayOrTypedArray(fe.color)&&(je=l.defaultLine,Ee=!0),je="mc"in _e?_e.mcc=Ce.markerScale(_e.mc):fe.color||"rgba(0,0,0,0)",Ce.selectedColorFn&&(je=Ce.selectedColorFn(_e))}if(_e.om)Me.call(l.stroke,je).style({"stroke-width":(we||1)+"px",fill:"none"});else{Me.style("stroke-width",(_e.isBlank?0:we)+"px");var $e=fe.gradient,Ye=_e.mgt;Ye?Ee=!0:Ye=$e&&$e.type,g.isArrayOrTypedArray(Ye)&&(Ye=Ye[0],R[Ye]||(Ye=0));var st=fe.pattern,ot=st&&C.getPatternAttr(st.shape,_e.i,"");if(Ye&&Ye!=="none"){var ht=_e.mgc;ht?Ee=!0:ht=$e.color;var bt=Se.uid;Ee&&(bt+="-"+_e.i),C.gradient(Me,ae,bt,Ye,[[0,ht],[1,je]],"fill")}else if(ot){var Et=C.getPatternAttr(st.bgcolor,_e.i,null),kt=C.getPatternAttr(st.fgcolor,_e.i,null),xt=st.fgopacity,Ft=C.getPatternAttr(st.size,_e.i,8),Ot=C.getPatternAttr(st.solidity,_e.i,.3),Bt=_e.mcc||g.isArrayOrTypedArray(st.shape)||g.isArrayOrTypedArray(st.bgcolor)||g.isArrayOrTypedArray(st.size)||g.isArrayOrTypedArray(st.solidity),qt=Se.uid;Bt&&(qt+="-"+_e.i),C.pattern(Me,"point",ae,qt,ot,Ft,Ot,_e.mcc,st.fillmode,Et,kt,xt)}else l.fill(Me,je);we&&l.stroke(Me,ge)}},C.makePointStyleFns=function(_e){var Me={},Se=_e.marker;return Me.markerScale=C.tryColorscale(Se,""),Me.lineScale=C.tryColorscale(Se,"line"),f.traceIs(_e,"symbols")&&(Me.ms2mrc=m.isBubble(_e)?w(_e):function(){return(Se.size||6)/2}),_e.selectedpoints&&g.extendFlat(Me,C.makeSelectedPointStyleFns(_e)),Me},C.makeSelectedPointStyleFns=function(_e){var Me={},Se=_e.selected||{},Ce=_e.unselected||{},ae=_e.marker||{},fe=Se.marker||{},be=Ce.marker||{},ke=ae.opacity,Le=fe.opacity,Be=be.opacity,ze=Le!==void 0,je=Be!==void 0;(g.isArrayOrTypedArray(ke)||ze||je)&&(Me.selectedOpacityFn=function(ht){var bt=ht.mo===void 0?ae.opacity:ht.mo;return ht.selected?ze?Le:bt:je?Be:c*bt});var ge=ae.color,we=fe.color,Ee=be.color;(we||Ee)&&(Me.selectedColorFn=function(ht){var bt=ht.mcc||ge;return ht.selected?we||bt:Ee||bt});var Ve=ae.size,$e=fe.size,Ye=be.size,st=$e!==void 0,ot=Ye!==void 0;return f.traceIs(_e,"symbols")&&(st||ot)&&(Me.selectedSizeFn=function(ht){var bt=ht.mrc||Ve/2;return ht.selected?st?$e/2:bt:ot?Ye/2:bt}),Me},C.makeSelectedTextStyleFns=function(_e){var Me={},Se=_e.selected||{},Ce=_e.unselected||{},ae=_e.textfont||{},fe=Se.textfont||{},be=Ce.textfont||{},ke=ae.color,Le=fe.color,Be=be.color;return Me.selectedTextColorFn=function(ze){var je=ze.tc||ke;return ze.selected?Le||je:Be||(Le?je:l.addOpacity(je,c))},Me},C.selectedPointStyle=function(_e,Me){if(_e.size()&&Me.selectedpoints){var Se=C.makeSelectedPointStyleFns(Me),Ce=Me.marker||{},ae=[];Se.selectedOpacityFn&&ae.push(function(fe,be){fe.style("opacity",Se.selectedOpacityFn(be))}),Se.selectedColorFn&&ae.push(function(fe,be){l.fill(fe,Se.selectedColorFn(be))}),Se.selectedSizeFn&&ae.push(function(fe,be){var ke=be.mx||Ce.symbol||0,Le=Se.selectedSizeFn(be);fe.attr("d",x(C.symbolNumber(ke),Le,Pe(be,Me),Q(be,Me))),be.mrc2=Le}),ae.length&&_e.each(function(fe){for(var be=d.select(this),ke=0;ke0?Se:0}function N(_e,Me,Se){return Se&&(_e=q(_e)),Me?j(_e[1]):W(_e[0])}function W(_e){var Me=d.round(_e,2);return I=Me,Me}function j(_e){var Me=d.round(_e,2);return O=Me,Me}function $(_e,Me,Se,Ce){var ae=_e[0]-Me[0],fe=_e[1]-Me[1],be=Se[0]-Me[0],ke=Se[1]-Me[1],Le=Math.pow(ae*ae+fe*fe,.25),Be=Math.pow(be*be+ke*ke,.25),ze=(Be*Be*ae-Le*Le*be)*Ce,je=(Be*Be*fe-Le*Le*ke)*Ce,ge=3*Be*(Le+Be),we=3*Le*(Le+Be);return[[W(Me[0]+(ge&&ze/ge)),j(Me[1]+(ge&&je/ge))],[W(Me[0]-(we&&ze/we)),j(Me[1]-(we&&je/we))]]}C.textPointStyle=function(_e,Me,Se){if(_e.size()){var Ce;if(Me.selectedpoints){var ae=C.makeSelectedTextStyleFns(Me);Ce=ae.selectedTextColorFn}var fe=Me.texttemplate,be=Se._fullLayout;_e.each(function(ke){var Le=d.select(this),Be=fe?g.extractOption(ke,Me,"txt","texttemplate"):g.extractOption(ke,Me,"tx","text");if(Be||Be===0){if(fe){var ze=Me._module.formatLabels,je=ze?ze(ke,Me,be):{},ge={};y(ge,Me,ke.i);var we=Me._meta||{};Be=g.texttemplateString(Be,je,be._d3locale,ge,ke,we)}var Ee=ke.tp||Me.textposition,Ve=B(ke,Me),$e=Ce?Ce(ke):ke.tc||Me.textfont.color;Le.call(C.font,ke.tf||Me.textfont.family,Ve,$e).text(Be).call(o.convertToTspans,Se).call(F,Ee,Ve,ke.mrc)}else Le.remove()})}},C.selectedTextStyle=function(_e,Me){if(_e.size()&&Me.selectedpoints){var Se=C.makeSelectedTextStyleFns(Me);_e.each(function(Ce){var ae=d.select(this),fe=Se.selectedTextColorFn(Ce),be=Ce.tp||Me.textposition,ke=B(Ce,Me);l.fill(ae,fe);var Le=f.traceIs(Me,"bar-like");F(ae,be,ke,Ce.mrc2||Ce.mrc,Le)})}},C.smoothopen=function(_e,Me){if(_e.length<3)return"M"+_e.join("L");var Se,Ce="M"+_e[0],ae=[];for(Se=1;Se<_e.length-1;Se++)ae.push($(_e[Se-1],_e[Se],_e[Se+1],Me));for(Ce+="Q"+ae[0][0]+" "+_e[1],Se=2;Se<_e.length-1;Se++)Ce+="C"+ae[Se-2][1]+" "+ae[Se-1][0]+" "+_e[Se];return Ce+"Q"+ae[_e.length-3][1]+" "+_e[_e.length-1]},C.smoothclosed=function(_e,Me){if(_e.length<3)return"M"+_e.join("L")+"Z";var Se,Ce="M"+_e[0],ae=_e.length-1,fe=[$(_e[ae],_e[0],_e[1],Me)];for(Se=1;Se=Le||ht>=ze&&ht<=Le)&&(bt<=je&&bt>=Be||bt>=je&&bt<=Be)&&(_e=[ht,bt])}return _e}C.steps=function(_e){var Me=U[_e]||G;return function(Se){for(var Ce="M"+W(Se[0][0])+","+j(Se[0][1]),ae=Se.length,fe=1;fe=1e4&&(C.savedBBoxes={},H=0),Se&&(C.savedBBoxes[Se]=we),H++,g.extendFlat({},we)},C.setClipUrl=function(_e,Me,Se){_e.attr("clip-path",te(Me,Se))},C.getTranslate=function(_e){var Me=(_e[_e.attr?"attr":"getAttribute"]("transform")||"").replace(/.*\btranslate\((-?\d*\.?\d*)[^-\d]*(-?\d*\.?\d*)[^\d].*/,function(Se,Ce,ae){return[Ce,ae].join(" ")}).split(" ");return{x:+Me[0]||0,y:+Me[1]||0}},C.setTranslate=function(_e,Me,Se){var Ce=_e.attr?"attr":"getAttribute",ae=_e.attr?"attr":"setAttribute",fe=_e[Ce]("transform")||"";return Me=Me||0,Se=Se||0,fe=fe.replace(/(\btranslate\(.*?\);?)/,"").trim(),fe=(fe+=u(Me,Se)).trim(),_e[ae]("transform",fe),fe},C.getScale=function(_e){var Me=(_e[_e.attr?"attr":"getAttribute"]("transform")||"").replace(/.*\bscale\((\d*\.?\d*)[^\d]*(\d*\.?\d*)[^\d].*/,function(Se,Ce,ae){return[Ce,ae].join(" ")}).split(" ");return{x:+Me[0]||1,y:+Me[1]||1}},C.setScale=function(_e,Me,Se){var Ce=_e.attr?"attr":"getAttribute",ae=_e.attr?"attr":"setAttribute",fe=_e[Ce]("transform")||"";return Me=Me||1,Se=Se||1,fe=fe.replace(/(\bscale\(.*?\);?)/,"").trim(),fe=(fe+="scale("+Me+","+Se+")").trim(),_e[ae]("transform",fe),fe};var Z=/\s*sc.*/;C.setPointGroupScale=function(_e,Me,Se){if(Me=Me||1,Se=Se||1,_e){var Ce=Me===1&&Se===1?"":"scale("+Me+","+Se+")";_e.each(function(){var ae=(this.getAttribute("transform")||"").replace(Z,"");ae=(ae+=Ce).trim(),this.setAttribute("transform",ae)})}};var X=/translate\([^)]*\)\s*$/;function Q(_e,Me){var Se;return _e&&(Se=_e.mf),Se===void 0&&(Se=Me.marker&&Me.marker.standoff||0),Me._geo||Me._xA?Se:-Se}C.setTextPointsScale=function(_e,Me,Se){_e&&_e.each(function(){var Ce,ae=d.select(this),fe=ae.select("text");if(fe.node()){var be=parseFloat(fe.attr("x")||0),ke=parseFloat(fe.attr("y")||0),Le=(ae.attr("transform")||"").match(X);Ce=Me===1&&Se===1?[]:[u(be,ke),"scale("+Me+","+Se+")",u(-be,-ke)],Le&&Ce.push(Le),ae.attr("transform",Ce.join(""))}})},C.getMarkerStandoff=Q;var re,ie,oe,ue,ce,ye,de=Math.atan2,me=Math.cos,pe=Math.sin;function xe(_e,Me){var Se=Me[0],Ce=Me[1];return[Se*me(_e)-Ce*pe(_e),Se*pe(_e)+Ce*me(_e)]}function Pe(_e,Me){var Se,Ce,ae=_e.ma;ae===void 0&&(ae=Me.marker.angle||0);var fe=Me.marker.angleref;if(fe==="previous"||fe==="north"){if(Me._geo){var be=Me._geo.project(_e.lonlat);Se=be[0],Ce=be[1]}else{var ke=Me._xA,Le=Me._yA;if(!ke||!Le)return 90;Se=ke.c2p(_e.x),Ce=Le.c2p(_e.y)}if(Me._geo){var Be,ze=_e.lonlat[0],je=_e.lonlat[1],ge=Me._geo.project([ze,je+1e-5]),we=Me._geo.project([ze+1e-5,je]),Ee=de(we[1]-Ce,we[0]-Se),Ve=de(ge[1]-Ce,ge[0]-Se);if(fe==="north")Be=ae/180*Math.PI;else if(fe==="previous"){var $e=ze/180*Math.PI,Ye=je/180*Math.PI,st=re/180*Math.PI,ot=ie/180*Math.PI,ht=st-$e,bt=me(ot)*pe(ht),Et=pe(ot)*me(Ye)-me(ot)*pe(Ye)*me(ht);Be=-de(bt,Et)-Math.PI,re=ze,ie=je}var kt=xe(Ee,[me(Be),0]),xt=xe(Ve,[pe(Be),0]);ae=de(kt[1]+xt[1],kt[0]+xt[0])/Math.PI*180,fe!=="previous"||ye===Me.uid&&_e.i===ce+1||(ae=null)}if(fe==="previous"&&!Me._geo)if(ye===Me.uid&&_e.i===ce+1&&M(Se)&&M(Ce)){var Ft=Se-oe,Ot=Ce-ue,Bt=Me.line&&Me.line.shape||"",qt=Bt.slice(Bt.length-1);qt==="h"&&(Ot=0),qt==="v"&&(Ft=0),ae+=de(Ot,Ft)/Math.PI*180+90}else ae=null}return oe=Se,ue=Ce,ce=_e.i,ye=Me.uid,ae}C.getMarkerAngle=Pe},90998:function(T,p,t){var d,g,i,M,v=t(95616),f=t(39898).round,l="M0,0Z",a=Math.sqrt(2),u=Math.sqrt(3),o=Math.PI,s=Math.cos,h=Math.sin;function c(w){return w===null}function m(w,y,C){if(!(w&&w%360!=0||y))return C;if(i===w&&M===y&&d===C)return g;function _(N,W){var j=s(N),$=h(N),U=W[0],G=W[1]+(y||0);return[U*j-G*$,U*$+G*j]}i=w,M=y,d=C;for(var k=w/180*o,E=0,x=0,A=v(C),L="",b=0;b0,h=v._context.staticPlot;f.each(function(c){var m,w=c[0].trace,y=w.error_x||{},C=w.error_y||{};w.ids&&(m=function(x){return x.id});var _=M.hasMarkers(w)&&w.marker.maxdisplayed>0;C.visible||y.visible||(c=[]);var k=d.select(this).selectAll("g.errorbar").data(c,m);if(k.exit().remove(),c.length){y.visible||k.selectAll("path.xerror").remove(),C.visible||k.selectAll("path.yerror").remove(),k.style("opacity",1);var E=k.enter().append("g").classed("errorbar",!0);s&&E.style("opacity",0).transition().duration(a.duration).style("opacity",1),i.setClipUrl(k,l.layerClipId,v),k.each(function(x){var A=d.select(this),L=function(F,B,N){var W={x:B.c2p(F.x),y:N.c2p(F.y)};return F.yh!==void 0&&(W.yh=N.c2p(F.yh),W.ys=N.c2p(F.ys),g(W.ys)||(W.noYS=!0,W.ys=N.c2p(F.ys,!0))),F.xh!==void 0&&(W.xh=B.c2p(F.xh),W.xs=B.c2p(F.xs),g(W.xs)||(W.noXS=!0,W.xs=B.c2p(F.xs,!0))),W}(x,u,o);if(!_||x.vis){var b,R=A.select("path.yerror");if(C.visible&&g(L.x)&&g(L.yh)&&g(L.ys)){var I=C.width;b="M"+(L.x-I)+","+L.yh+"h"+2*I+"m-"+I+",0V"+L.ys,L.noYS||(b+="m-"+I+",0h"+2*I),R.size()?s&&(R=R.transition().duration(a.duration).ease(a.easing)):R=A.append("path").style("vector-effect",h?"none":"non-scaling-stroke").classed("yerror",!0),R.attr("d",b)}else R.remove();var O=A.select("path.xerror");if(y.visible&&g(L.y)&&g(L.xh)&&g(L.xs)){var z=(y.copy_ystyle?C:y).width;b="M"+L.xh+","+(L.y-z)+"v"+2*z+"m0,-"+z+"H"+L.xs,L.noXS||(b+="m0,-"+z+"v"+2*z),O.size()?s&&(O=O.transition().duration(a.duration).ease(a.easing)):O=A.append("path").style("vector-effect",h?"none":"non-scaling-stroke").classed("xerror",!0),O.attr("d",b)}else O.remove()}})}})}},62662:function(T,p,t){var d=t(39898),g=t(7901);T.exports=function(i){i.each(function(M){var v=M[0].trace,f=v.error_y||{},l=v.error_x||{},a=d.select(this);a.selectAll("path.yerror").style("stroke-width",f.thickness+"px").call(g.stroke,f.color),l.copy_ystyle&&(l=f),a.selectAll("path.xerror").style("stroke-width",l.thickness+"px").call(g.stroke,l.color)})}},77914:function(T,p,t){var d=t(41940),g=t(528).hoverlabel,i=t(1426).extendFlat;T.exports={hoverlabel:{bgcolor:i({},g.bgcolor,{arrayOk:!0}),bordercolor:i({},g.bordercolor,{arrayOk:!0}),font:d({arrayOk:!0,editType:"none"}),align:i({},g.align,{arrayOk:!0}),namelength:i({},g.namelength,{arrayOk:!0}),editType:"none"}}},30732:function(T,p,t){var d=t(71828),g=t(73972);function i(M,v,f,l){l=l||d.identity,Array.isArray(M)&&(v[0][f]=l(M))}T.exports=function(M){var v=M.calcdata,f=M._fullLayout;function l(h){return function(c){return d.coerceHoverinfo({hoverinfo:c},{_module:h._module},f)}}for(var a=0;a=0&&u.indexae[0]._length||Je<0||Je>fe[0]._length)return h.unhoverRaw(ue,ce)}else Ke="xpx"in ce?ce.xpx:ae[0]._length/2,Je="ypx"in ce?ce.ypx:fe[0]._length/2;if(ce.pointerX=Ke+ae[0]._offset,ce.pointerY=Je+fe[0]._offset,we="xval"in ce?w.flat(pe,ce.xval):w.p2c(ae,Ke),Ee="yval"in ce?w.flat(pe,ce.yval):w.p2c(fe,Je),!g(we[0])||!g(Ee[0]))return M.warn("Fx.hover failed",ce,ue),h.unhoverRaw(ue,ce)}var ft=1/0;function Re(Kt,bn){for($e=0;$eFt&&(Ot.splice(0,Ft),ft=Ot[0].distance),Me&&ge!==0&&Ot.length===0){xt.distance=ge,xt.index=!1;var $n=st._module.hoverPoints(xt,Et,kt,"closest",{hoverLayer:xe._hoverlayer});if($n&&($n=$n.filter(function(Jt){return Jt.spikeDistance<=ge})),$n&&$n.length){var tr,mr=$n.filter(function(Jt){return Jt.xa.showspikes&&Jt.xa.spikesnap!=="hovered data"});if(mr.length){var nn=mr[0];g(nn.x0)&&g(nn.y0)&&(tr=Qe(nn),(!qt.vLinePoint||qt.vLinePoint.spikeDistance>tr.spikeDistance)&&(qt.vLinePoint=tr))}var Pn=$n.filter(function(Jt){return Jt.ya.showspikes&&Jt.ya.spikesnap!=="hovered data"});if(Pn.length){var jt=Pn[0];g(jt.x0)&&g(jt.y0)&&(tr=Qe(jt),(!qt.hLinePoint||qt.hLinePoint.spikeDistance>tr.spikeDistance)&&(qt.hLinePoint=tr))}}}}}function Ne(Kt,bn,Rn){for(var Ln,Un=null,Kn=1/0,$n=0;$n0&&Math.abs(Kt.distance)Yt-1;Wt--)xn(Ot[Wt]);Ot=Xt,It()}var un=ue._hoverdata,An=[],Yn=ne(ue),kn=te(ue);for(Ve=0;Ve1||Ot.length>1)||ze==="closest"&&Vt&&Ot.length>1,yr=s.combine(xe.plot_bgcolor||s.background,xe.paper_bgcolor),or=B(Ot,{gd:ue,hovermode:ze,rotateLabels:Sr,bgColor:yr,container:xe._hoverlayer,outerContainer:xe._paper.node(),commonLabelOpts:xe.hoverlabel,hoverdistance:xe.hoverdistance}),vr=or.hoverLabels;if(w.isUnifiedHover(ze)||(function(Kt,bn,Rn,Ln){var Un,Kn,$n,tr,mr,nn,Pn,jt=bn?"xa":"ya",Jt=bn?"ya":"xa",hn=0,zn=1,On=Kt.size(),En=new Array(On),mn=0,wn=Ln.minX,gn=Ln.maxX,yn=Ln.minY,Sn=Ln.maxY,Vn=function(Lr){return Lr*Rn._invScaleX},Xn=function(Lr){return Lr*Rn._invScaleY};function nr(Lr){var zr=Lr[0],gr=Lr[Lr.length-1];if(Kn=zr.pmin-zr.pos-zr.dp+zr.size,$n=gr.pos+gr.dp+gr.size-zr.pmax,Kn>.01){for(mr=Lr.length-1;mr>=0;mr--)Lr[mr].dp+=Kn;Un=!1}if(!($n<.01)){if(Kn<-.01){for(mr=Lr.length-1;mr>=0;mr--)Lr[mr].dp-=$n;Un=!1}if(Un){var Fr=0;for(tr=0;trzr.pmax&&Fr++;for(tr=Lr.length-1;tr>=0&&!(Fr<=0);tr--)(nn=Lr[tr]).pos>zr.pmax-1&&(nn.del=!0,Fr--);for(tr=0;tr=0;mr--)Lr[mr].dp-=$n;for(tr=Lr.length-1;tr>=0&&!(Fr<=0);tr--)(nn=Lr[tr]).pos+nn.dp+nn.size>zr.pmax&&(nn.del=!0,Fr--)}}}for(Kt.each(function(Lr){var zr=Lr[jt],gr=Lr[Jt],Fr=zr._id.charAt(0)==="x",ii=zr.range;mn===0&&ii&&ii[0]>ii[1]!==Fr&&(zn=-1);var ji=0,ea=Fr?Rn.width:Rn.height;if(Rn.hovermode==="x"||Rn.hovermode==="y"){var sa,co,La=W(Lr,bn),Xi=Lr.anchor,Do=Xi==="end"?-1:1;if(Xi==="middle")co=(sa=Lr.crossPos+(Fr?Xn(La.y-Lr.by/2):Vn(Lr.bx/2+Lr.tx2width/2)))+(Fr?Xn(Lr.by):Vn(Lr.bx));else if(Fr)co=(sa=Lr.crossPos+Xn(b+La.y)-Xn(Lr.by/2-b))+Xn(Lr.by);else{var rs=Vn(Do*b+La.x),el=rs+Vn(Do*Lr.bx);sa=Lr.crossPos+Math.min(rs,el),co=Lr.crossPos+Math.max(rs,el)}Fr?yn!==void 0&&Sn!==void 0&&Math.min(co,Sn)-Math.max(sa,yn)>1&&(gr.side==="left"?(ji=gr._mainLinePosition,ea=Rn.width):ea=gr._mainLinePosition):wn!==void 0&&gn!==void 0&&Math.min(co,gn)-Math.max(sa,wn)>1&&(gr.side==="top"?(ji=gr._mainLinePosition,ea=Rn.height):ea=gr._mainLinePosition)}En[mn++]=[{datum:Lr,traceIndex:Lr.trace.index,dp:0,pos:Lr.pos,posref:Lr.posref,size:Lr.by*(Fr?x:1)/2,pmin:ji,pmax:ea}]}),En.sort(function(Lr,zr){return Lr[0].posref-zr[0].posref||zn*(zr[0].traceIndex-Lr[0].traceIndex)});!Un&&hn<=On;){for(hn++,Un=!0,tr=0;tr.01&&cr.pmin===pr.pmin&&cr.pmax===pr.pmax){for(mr=hr.length-1;mr>=0;mr--)hr[mr].dp+=Kn;for(Qn.push.apply(Qn,hr),En.splice(tr+1,1),Pn=0,mr=Qn.length-1;mr>=0;mr--)Pn+=Qn[mr].dp;for($n=Pn/Qn.length,mr=Qn.length-1;mr>=0;mr--)Qn[mr].dp-=$n;Un=!1}else tr++}En.forEach(nr)}for(tr=En.length-1;tr>=0;tr--){var dr=En[tr];for(mr=dr.length-1;mr>=0;mr--){var br=dr[mr],Rr=br.datum;Rr.offset=br.dp,Rr.del=br.del}}}(vr,Sr,xe,or.commonLabelBoundingBox),j(vr,Sr,xe._invScaleX,xe._invScaleY)),me&&me.tagName){var _r=m.getComponentMethod("annotations","hasClickToShow")(ue,An);u(d.select(me),_r?"pointer":"")}me&&!de&&function(Kt,bn,Rn){if(!Rn||Rn.length!==Kt._hoverdata.length)return!0;for(var Ln=Rn.length-1;Ln>=0;Ln--){var Un=Rn[Ln],Kn=Kt._hoverdata[Ln];if(Un.curveNumber!==Kn.curveNumber||String(Un.pointNumber)!==String(Kn.pointNumber)||String(Un.pointNumbers)!==String(Kn.pointNumbers))return!0}return!1}(ue,0,un)&&(un&&ue.emit("plotly_unhover",{event:ce,points:un}),ue.emit("plotly_hover",{event:ce,points:ue._hoverdata,xaxes:ae,yaxes:fe,xvals:we,yvals:Ee}))})(X,Q,re,ie,oe)})},p.loneHover=function(X,Q){var re=!0;Array.isArray(X)||(re=!1,X=[X]);var ie=Q.gd,oe=ne(ie),ue=te(ie),ce=B(X.map(function(me){var pe=me._x0||me.x0||me.x||0,xe=me._x1||me.x1||me.x||0,Pe=me._y0||me.y0||me.y||0,_e=me._y1||me.y1||me.y||0,Me=me.eventData;if(Me){var Se=Math.min(pe,xe),Ce=Math.max(pe,xe),ae=Math.min(Pe,_e),fe=Math.max(Pe,_e),be=me.trace;if(m.traceIs(be,"gl3d")){var ke=ie._fullLayout[be.scene]._scene.container,Le=ke.offsetLeft,Be=ke.offsetTop;Se+=Le,Ce+=Le,ae+=Be,fe+=Be}Me.bbox={x0:Se+ue,x1:Ce+ue,y0:ae+oe,y1:fe+oe},Q.inOut_bbox&&Q.inOut_bbox.push(Me.bbox)}else Me=!1;return{color:me.color||s.defaultLine,x0:me.x0||me.x||0,x1:me.x1||me.x||0,y0:me.y0||me.y||0,y1:me.y1||me.y||0,xLabel:me.xLabel,yLabel:me.yLabel,zLabel:me.zLabel,text:me.text,name:me.name,idealAlign:me.idealAlign,borderColor:me.borderColor,fontFamily:me.fontFamily,fontSize:me.fontSize,fontColor:me.fontColor,nameLength:me.nameLength,textAlign:me.textAlign,trace:me.trace||{index:0,hoverinfo:""},xa:{_offset:0},ya:{_offset:0},index:0,hovertemplate:me.hovertemplate||!1,hovertemplateLabels:me.hovertemplateLabels||!1,eventData:Me}}),{gd:ie,hovermode:"closest",rotateLabels:!1,bgColor:Q.bgColor||s.background,container:d.select(Q.container),outerContainer:Q.outerContainer||Q.container}).hoverLabels,ye=0,de=0;return ce.sort(function(me,pe){return me.y0-pe.y0}).each(function(me,pe){var xe=me.y0-me.by/2;me.offset=xe-5([\s\S]*)<\/extra>/;function B(X,Q){var re=Q.gd,ie=re._fullLayout,oe=Q.hovermode,ue=Q.rotateLabels,ce=Q.bgColor,ye=Q.container,de=Q.outerContainer,me=Q.commonLabelOpts||{};if(X.length===0)return[[]];var pe=Q.fontFamily||y.HOVERFONT,xe=Q.fontSize||y.HOVERFONTSIZE,Pe=X[0],_e=Pe.xa,Me=Pe.ya,Se=oe.charAt(0),Ce=Se+"Label",ae=Pe[Ce];if(ae===void 0&&_e.type==="multicategory")for(var fe=0;feie.width-kn?(xn=ie.width-kn,Nt.attr("d","M"+(kn-b)+",0L"+kn+","+Yn+b+"v"+Yn+(2*R+An.height)+"H-"+kn+"V"+Yn+b+"H"+(kn-2*b)+"Z")):Nt.attr("d","M0,0L"+b+","+Yn+b+"H"+kn+"v"+Yn+(2*R+An.height)+"H-"+kn+"V"+Yn+b+"H-"+b+"Z"),$e.minX=xn-kn,$e.maxX=xn+kn,_e.side==="top"?($e.minY=un-(2*R+An.height),$e.maxY=un-R):($e.minY=un+R,$e.maxY=un+(2*R+An.height))}else{var sn,Tn,dn;Me.side==="right"?(sn="start",Tn=1,dn="",xn=_e._offset+_e._length):(sn="end",Tn=-1,dn="-",xn=_e._offset),un=Me._offset+(Pe.y0+Pe.y1)/2,Yt.attr("text-anchor",sn),Nt.attr("d","M0,0L"+dn+b+","+b+"V"+(R+An.height/2)+"h"+dn+(2*R+An.width)+"V-"+(R+An.height/2)+"H"+dn+b+"V-"+b+"Z"),$e.minY=un-(R+An.height/2),$e.maxY=un+(R+An.height/2),Me.side==="right"?($e.minX=xn+b,$e.maxX=xn+b+(2*R+An.width)):($e.minX=xn-b-(2*R+An.width),$e.maxX=xn-b);var pn,Dn=An.height/2,In=ke-An.top-Dn,jn="clip"+ie._uid+"commonlabel"+Me._id;if(xn=0?Je:qe+Re=0?qe:yt+Re=0?Vt:Ke+Ne=0?Ke:Pt+Ne=0,Rt.idealAlign!=="top"&&rr||!Sr?rr?(Dn+=jn/2,Rt.anchor="start"):Rt.anchor="middle":(Dn-=jn/2,Rt.anchor="end"),Rt.crossPos=Dn;else{if(Rt.pos=Dn,rr=pn+In/2+yr<=Le,Sr=pn-In/2-yr>=0,Rt.idealAlign!=="left"&&rr||!Sr)if(rr)pn+=In/2,Rt.anchor="start";else{Rt.anchor="middle";var or=yr/2,vr=pn+or-Le,_r=pn-or;vr>0&&(pn-=vr),_r<0&&(pn+=-_r)}else pn-=In/2,Rt.anchor="end";Rt.crossPos=pn}Yn.attr("text-anchor",Rt.anchor),sn&&kn.attr("text-anchor",Rt.anchor),Nt.attr("transform",v(pn,Dn)+(ue?f(k):""))}),{hoverLabels:wt,commonLabelBoundingBox:$e}}function N(X,Q,re,ie,oe,ue){var ce="",ye="";X.nameOverride!==void 0&&(X.name=X.nameOverride),X.name&&(X.trace._meta&&(X.name=M.templateString(X.name,X.trace._meta)),ce=q(X.name,X.nameLength));var de=re.charAt(0),me=de==="x"?"y":"x";X.zLabel!==void 0?(X.xLabel!==void 0&&(ye+="x: "+X.xLabel+"
"),X.yLabel!==void 0&&(ye+="y: "+X.yLabel+"
"),X.trace.type!=="choropleth"&&X.trace.type!=="choroplethmapbox"&&(ye+=(ye?"z: ":"")+X.zLabel)):Q&&X[de+"Label"]===oe?ye=X[me+"Label"]||"":X.xLabel===void 0?X.yLabel!==void 0&&X.trace.type!=="scattercarpet"&&(ye=X.yLabel):ye=X.yLabel===void 0?X.xLabel:"("+X.xLabel+", "+X.yLabel+")",!X.text&&X.text!==0||Array.isArray(X.text)||(ye+=(ye?"
":"")+X.text),X.extraText!==void 0&&(ye+=(ye?"
":"")+X.extraText),ue&&ye===""&&!X.hovertemplate&&(ce===""&&ue.remove(),ye=ce);var pe=X.hovertemplate||!1;if(pe){var xe=X.hovertemplateLabels||X;X[de+"Label"]!==oe&&(xe[de+"other"]=xe[de+"Val"],xe[de+"otherLabel"]=xe[de+"Label"]),ye=(ye=M.hovertemplateString(pe,xe,ie._d3locale,X.eventData[0]||{},X.trace._meta)).replace(F,function(Pe,_e){return ce=q(_e,X.nameLength),""})}return[ye,ce]}function W(X,Q){var re=0,ie=X.offset;return Q&&(ie*=-L,re=X.offset*A),{x:re,y:ie}}function j(X,Q,re,ie){var oe=function(ce){return ce*re},ue=function(ce){return ce*ie};X.each(function(ce){var ye=d.select(this);if(ce.del)return ye.remove();var de,me,pe,xe,Pe=ye.select("text.nums"),_e=ce.anchor,Me=_e==="end"?-1:1,Se=(xe=(pe=(me={start:1,end:-1,middle:0}[(de=ce).anchor])*(b+R))+me*(de.txwidth+R),de.anchor==="middle"&&(pe-=de.tx2width/2,xe+=de.txwidth/2+R),{alignShift:me,textShiftX:pe,text2ShiftX:xe}),Ce=W(ce,Q),ae=Ce.x,fe=Ce.y,be=_e==="middle";ye.select("path").attr("d",be?"M-"+oe(ce.bx/2+ce.tx2width/2)+","+ue(fe-ce.by/2)+"h"+oe(ce.bx)+"v"+ue(ce.by)+"h-"+oe(ce.bx)+"Z":"M0,0L"+oe(Me*b+ae)+","+ue(b+fe)+"v"+ue(ce.by/2-b)+"h"+oe(Me*ce.bx)+"v-"+ue(ce.by)+"H"+oe(Me*b+ae)+"V"+ue(fe-b)+"Z");var ke=ae+Se.textShiftX,Le=fe+ce.ty0-ce.by/2+R,Be=ce.textAlign||"auto";Be!=="auto"&&(Be==="left"&&_e!=="start"?(Pe.attr("text-anchor","start"),ke=be?-ce.bx/2-ce.tx2width/2+R:-ce.bx-R):Be==="right"&&_e!=="end"&&(Pe.attr("text-anchor","end"),ke=be?ce.bx/2-ce.tx2width/2-R:ce.bx+R)),Pe.call(a.positionText,oe(ke),ue(Le)),ce.tx2width&&(ye.select("text.name").call(a.positionText,oe(Se.text2ShiftX+Se.alignShift*R+ae),ue(fe+ce.ty0-ce.by/2+R)),ye.select("rect").call(o.setRect,oe(Se.text2ShiftX+(Se.alignShift-1)*ce.tx2width/2+ae),ue(fe-ce.by/2-1),oe(ce.tx2width),ue(ce.by+2)))})}function $(X,Q){var re=X.index,ie=X.trace||{},oe=X.cd[0],ue=X.cd[re]||{};function ce(Pe){return Pe||g(Pe)&&Pe===0}var ye=Array.isArray(re)?function(Pe,_e){var Me=M.castOption(oe,re,Pe);return ce(Me)?Me:M.extractOption({},ie,"",_e)}:function(Pe,_e){return M.extractOption(ue,ie,Pe,_e)};function de(Pe,_e,Me){var Se=ye(_e,Me);ce(Se)&&(X[Pe]=Se)}if(de("hoverinfo","hi","hoverinfo"),de("bgcolor","hbg","hoverlabel.bgcolor"),de("borderColor","hbc","hoverlabel.bordercolor"),de("fontFamily","htf","hoverlabel.font.family"),de("fontSize","hts","hoverlabel.font.size"),de("fontColor","htc","hoverlabel.font.color"),de("nameLength","hnl","hoverlabel.namelength"),de("textAlign","hta","hoverlabel.align"),X.posref=Q==="y"||Q==="closest"&&ie.orientation==="h"?X.xa._offset+(X.x0+X.x1)/2:X.ya._offset+(X.y0+X.y1)/2,X.x0=M.constrain(X.x0,0,X.xa._length),X.x1=M.constrain(X.x1,0,X.xa._length),X.y0=M.constrain(X.y0,0,X.ya._length),X.y1=M.constrain(X.y1,0,X.ya._length),X.xLabelVal!==void 0&&(X.xLabel="xLabel"in X?X.xLabel:c.hoverLabelText(X.xa,X.xLabelVal,ie.xhoverformat),X.xVal=X.xa.c2d(X.xLabelVal)),X.yLabelVal!==void 0&&(X.yLabel="yLabel"in X?X.yLabel:c.hoverLabelText(X.ya,X.yLabelVal,ie.yhoverformat),X.yVal=X.ya.c2d(X.yLabelVal)),X.zLabelVal!==void 0&&X.zLabel===void 0&&(X.zLabel=String(X.zLabelVal)),!(isNaN(X.xerr)||X.xa.type==="log"&&X.xerr<=0)){var me=c.tickText(X.xa,X.xa.c2l(X.xerr),"hover").text;X.xerrneg!==void 0?X.xLabel+=" +"+me+" / -"+c.tickText(X.xa,X.xa.c2l(X.xerrneg),"hover").text:X.xLabel+=" ± "+me,Q==="x"&&(X.distance+=1)}if(!(isNaN(X.yerr)||X.ya.type==="log"&&X.yerr<=0)){var pe=c.tickText(X.ya,X.ya.c2l(X.yerr),"hover").text;X.yerrneg!==void 0?X.yLabel+=" +"+pe+" / -"+c.tickText(X.ya,X.ya.c2l(X.yerrneg),"hover").text:X.yLabel+=" ± "+pe,Q==="y"&&(X.distance+=1)}var xe=X.hoverinfo||X.trace.hoverinfo;return xe&&xe!=="all"&&((xe=Array.isArray(xe)?xe:xe.split("+")).indexOf("x")===-1&&(X.xLabel=void 0),xe.indexOf("y")===-1&&(X.yLabel=void 0),xe.indexOf("z")===-1&&(X.zLabel=void 0),xe.indexOf("text")===-1&&(X.text=void 0),xe.indexOf("name")===-1&&(X.name=void 0)),X}function U(X,Q,re){var ie,oe,ue=re.container,ce=re.fullLayout,ye=ce._size,de=re.event,me=!!Q.hLinePoint,pe=!!Q.vLinePoint;if(ue.selectAll(".spikeline").remove(),pe||me){var xe=s.combine(ce.plot_bgcolor,ce.paper_bgcolor);if(me){var Pe,_e,Me=Q.hLinePoint;ie=Me&&Me.xa,(oe=Me&&Me.ya).spikesnap==="cursor"?(Pe=de.pointerX,_e=de.pointerY):(Pe=ie._offset+Me.x,_e=oe._offset+Me.y);var Se,Ce,ae=i.readability(Me.color,xe)<1.5?s.contrast(xe):Me.color,fe=oe.spikemode,be=oe.spikethickness,ke=oe.spikecolor||ae,Le=c.getPxPosition(X,oe);if(fe.indexOf("toaxis")!==-1||fe.indexOf("across")!==-1){if(fe.indexOf("toaxis")!==-1&&(Se=Le,Ce=Pe),fe.indexOf("across")!==-1){var Be=oe._counterDomainMin,ze=oe._counterDomainMax;oe.anchor==="free"&&(Be=Math.min(Be,oe.position),ze=Math.max(ze,oe.position)),Se=ye.l+Be*ye.w,Ce=ye.l+ze*ye.w}ue.insert("line",":first-child").attr({x1:Se,x2:Ce,y1:_e,y2:_e,"stroke-width":be,stroke:ke,"stroke-dasharray":o.dashStyle(oe.spikedash,be)}).classed("spikeline",!0).classed("crisp",!0),ue.insert("line",":first-child").attr({x1:Se,x2:Ce,y1:_e,y2:_e,"stroke-width":be+2,stroke:xe}).classed("spikeline",!0).classed("crisp",!0)}fe.indexOf("marker")!==-1&&ue.insert("circle",":first-child").attr({cx:Le+(oe.side!=="right"?be:-be),cy:_e,r:be,fill:ke}).classed("spikeline",!0)}if(pe){var je,ge,we=Q.vLinePoint;ie=we&&we.xa,oe=we&&we.ya,ie.spikesnap==="cursor"?(je=de.pointerX,ge=de.pointerY):(je=ie._offset+we.x,ge=oe._offset+we.y);var Ee,Ve,$e=i.readability(we.color,xe)<1.5?s.contrast(xe):we.color,Ye=ie.spikemode,st=ie.spikethickness,ot=ie.spikecolor||$e,ht=c.getPxPosition(X,ie);if(Ye.indexOf("toaxis")!==-1||Ye.indexOf("across")!==-1){if(Ye.indexOf("toaxis")!==-1&&(Ee=ht,Ve=ge),Ye.indexOf("across")!==-1){var bt=ie._counterDomainMin,Et=ie._counterDomainMax;ie.anchor==="free"&&(bt=Math.min(bt,ie.position),Et=Math.max(Et,ie.position)),Ee=ye.t+(1-Et)*ye.h,Ve=ye.t+(1-bt)*ye.h}ue.insert("line",":first-child").attr({x1:je,x2:je,y1:Ee,y2:Ve,"stroke-width":st,stroke:ot,"stroke-dasharray":o.dashStyle(ie.spikedash,st)}).classed("spikeline",!0).classed("crisp",!0),ue.insert("line",":first-child").attr({x1:je,x2:je,y1:Ee,y2:Ve,"stroke-width":st+2,stroke:xe}).classed("spikeline",!0).classed("crisp",!0)}Ye.indexOf("marker")!==-1&&ue.insert("circle",":first-child").attr({cx:je,cy:ht-(ie.side!=="top"?st:-st),r:st,fill:ot}).classed("spikeline",!0)}}}function G(X,Q){return!Q||Q.vLinePoint!==X._spikepoints.vLinePoint||Q.hLinePoint!==X._spikepoints.hLinePoint}function q(X,Q){return a.plainText(X||"",{len:Q,allowedTags:["br","sub","sup","b","i","em"]})}function H(X,Q,re){var ie=Q[X+"a"],oe=Q[X+"Val"],ue=Q.cd[0];if(ie.type==="category"||ie.type==="multicategory")oe=ie._categoriesMap[oe];else if(ie.type==="date"){var ce=Q.trace[X+"periodalignment"];if(ce){var ye=Q.cd[Q.index],de=ye[X+"Start"];de===void 0&&(de=ye[X]);var me=ye[X+"End"];me===void 0&&(me=ye[X]);var pe=me-de;ce==="end"?oe+=pe:ce==="middle"&&(oe+=pe/2)}oe=ie.d2c(oe)}return ue&&ue.t&&ue.t.posLetter===ie._id&&(re.boxmode!=="group"&&re.violinmode!=="group"||(oe+=ue.t.dPos)),oe}function ne(X){return X.offsetTop+X.clientTop}function te(X){return X.offsetLeft+X.clientLeft}function Z(X,Q){var re=X._fullLayout,ie=Q.getBoundingClientRect(),oe=ie.left,ue=ie.top,ce=oe+ie.width,ye=ue+ie.height,de=M.apply3DTransform(re._invTransform)(oe,ue),me=M.apply3DTransform(re._invTransform)(ce,ye),pe=de[0],xe=de[1],Pe=me[0],_e=me[1];return{x:pe,y:xe,width:Pe-pe,height:_e-xe,top:Math.min(xe,_e),left:Math.min(pe,Pe),right:Math.max(pe,Pe),bottom:Math.max(xe,_e)}}},38048:function(T,p,t){var d=t(71828),g=t(7901),i=t(23469).isUnifiedHover;T.exports=function(M,v,f,l){l=l||{};var a=v.legend;function u(o){l.font[o]||(l.font[o]=a?v.legend.font[o]:v.font[o])}v&&i(v.hovermode)&&(l.font||(l.font={}),u("size"),u("family"),u("color"),a?(l.bgcolor||(l.bgcolor=g.combine(v.legend.bgcolor,v.paper_bgcolor)),l.bordercolor||(l.bordercolor=v.legend.bordercolor)):l.bgcolor||(l.bgcolor=v.paper_bgcolor)),f("hoverlabel.bgcolor",l.bgcolor),f("hoverlabel.bordercolor",l.bordercolor),f("hoverlabel.namelength",l.namelength),d.coerceFont(f,"hoverlabel.font",l.font),f("hoverlabel.align",l.align)}},98212:function(T,p,t){var d=t(71828),g=t(528);T.exports=function(i,M){function v(f,l){return M[f]!==void 0?M[f]:d.coerce(i,M,g,f,l)}return v("clickmode"),v("hovermode")}},30211:function(T,p,t){var d=t(39898),g=t(71828),i=t(28569),M=t(23469),v=t(528),f=t(88335);T.exports={moduleType:"component",name:"fx",constants:t(26675),schema:{layout:v},attributes:t(77914),layoutAttributes:v,supplyLayoutGlobalDefaults:t(22774),supplyDefaults:t(54268),supplyLayoutDefaults:t(34938),calc:t(30732),getDistanceFunction:M.getDistanceFunction,getClosest:M.getClosest,inbox:M.inbox,quadrature:M.quadrature,appendArrayPointValue:M.appendArrayPointValue,castHoverOption:function(l,a,u){return g.castOption(l,a,"hoverlabel."+u)},castHoverinfo:function(l,a,u){return g.castOption(l,u,"hoverinfo",function(o){return g.coerceHoverinfo({hoverinfo:o},{_module:l._module},a)})},hover:f.hover,unhover:i.unhover,loneHover:f.loneHover,loneUnhover:function(l){var a=g.isD3Selection(l)?l:d.select(l);a.selectAll("g.hovertext").remove(),a.selectAll(".spikeline").remove()},click:t(75914)}},528:function(T,p,t){var d=t(26675),g=t(41940),i=g({editType:"none"});i.family.dflt=d.HOVERFONT,i.size.dflt=d.HOVERFONTSIZE,T.exports={clickmode:{valType:"flaglist",flags:["event","select"],dflt:"event",editType:"plot",extras:["none"]},dragmode:{valType:"enumerated",values:["zoom","pan","select","lasso","drawclosedpath","drawopenpath","drawline","drawrect","drawcircle","orbit","turntable",!1],dflt:"zoom",editType:"modebar"},hovermode:{valType:"enumerated",values:["x","y","closest",!1,"x unified","y unified"],dflt:"closest",editType:"modebar"},hoverdistance:{valType:"integer",min:-1,dflt:20,editType:"none"},spikedistance:{valType:"integer",min:-1,dflt:-1,editType:"none"},hoverlabel:{bgcolor:{valType:"color",editType:"none"},bordercolor:{valType:"color",editType:"none"},font:i,grouptitlefont:g({editType:"none"}),align:{valType:"enumerated",values:["left","right","auto"],dflt:"auto",editType:"none"},namelength:{valType:"integer",min:-1,dflt:15,editType:"none"},editType:"none"},selectdirection:{valType:"enumerated",values:["h","v","d","any"],dflt:"any",editType:"none"}}},34938:function(T,p,t){var d=t(71828),g=t(528),i=t(98212),M=t(38048);T.exports=function(v,f){function l(s,h){return d.coerce(v,f,g,s,h)}i(v,f)&&(l("hoverdistance"),l("spikedistance")),l("dragmode")==="select"&&l("selectdirection");var a=f._has("mapbox"),u=f._has("geo"),o=f._basePlotModules.length;f.dragmode==="zoom"&&((a||u)&&o===1||a&&u&&o===2)&&(f.dragmode="pan"),M(v,f,l),d.coerceFont(l,"hoverlabel.grouptitlefont",f.hoverlabel.font)}},22774:function(T,p,t){var d=t(71828),g=t(38048),i=t(528);T.exports=function(M,v){g(M,v,function(f,l){return d.coerce(M,v,i,f,l)})}},83312:function(T,p,t){var d=t(71828),g=t(30587).counter,i=t(27670).Y,M=t(85555).idRegex,v=t(44467),f={rows:{valType:"integer",min:1,editType:"plot"},roworder:{valType:"enumerated",values:["top to bottom","bottom to top"],dflt:"top to bottom",editType:"plot"},columns:{valType:"integer",min:1,editType:"plot"},subplots:{valType:"info_array",freeLength:!0,dimensions:2,items:{valType:"enumerated",values:[g("xy").toString(),""],editType:"plot"},editType:"plot"},xaxes:{valType:"info_array",freeLength:!0,items:{valType:"enumerated",values:[M.x.toString(),""],editType:"plot"},editType:"plot"},yaxes:{valType:"info_array",freeLength:!0,items:{valType:"enumerated",values:[M.y.toString(),""],editType:"plot"},editType:"plot"},pattern:{valType:"enumerated",values:["independent","coupled"],dflt:"coupled",editType:"plot"},xgap:{valType:"number",min:0,max:1,editType:"plot"},ygap:{valType:"number",min:0,max:1,editType:"plot"},domain:i({name:"grid",editType:"plot",noGridCell:!0},{}),xside:{valType:"enumerated",values:["bottom","bottom plot","top plot","top"],dflt:"bottom plot",editType:"plot"},yside:{valType:"enumerated",values:["left","left plot","right plot","right"],dflt:"left plot",editType:"plot"},editType:"plot"};function l(o,s,h){var c=s[h+"axes"],m=Object.keys((o._splomAxes||{})[h]||{});return Array.isArray(c)?c:m.length?m:void 0}function a(o,s,h,c,m,w){var y=s(o+"gap",h),C=s("domain."+o);s(o+"side",c);for(var _=new Array(m),k=C[0],E=(C[1]-k)/(m-y),x=E*(1-y),A=0;A1){C||_||k||F("pattern")==="independent"&&(C=!0),x._hasSubplotGrid=C;var b,R,I=F("roworder")==="top to bottom",O=C?.2:.1,z=C?.3:.1;E&&s._splomGridDflt&&(b=s._splomGridDflt.xside,R=s._splomGridDflt.yside),x._domains={x:a("x",F,O,b,L),y:a("y",F,z,R,A,I)}}else delete s.grid}function F(B,N){return d.coerce(h,x,f,B,N)}},contentDefaults:function(o,s){var h=s.grid;if(h&&h._domains){var c,m,w,y,C,_,k,E=o.grid||{},x=s._subplots,A=h._hasSubplotGrid,L=h.rows,b=h.columns,R=h.pattern==="independent",I=h._axisMap={};if(A){var O=E.subplots||[];_=h.subplots=new Array(L);var z=1;for(c=0;c1);if(R===!1&&(s.legend=void 0),(R!==!1||c.uirevision)&&(w("uirevision",s.uirevision),R!==!1)){w("borderwidth");var I,O,z,F=w("orientation")==="h";if(F?(I=0,d.getComponentMethod("rangeslider","isVisible")(o.xaxis)?(O=1.1,z="bottom"):(O=-.1,z="top")):(I=1.02,O=1,z="auto"),w("traceorder",L),l.isGrouped(s.legend)&&w("tracegroupgap"),w("entrywidth"),w("entrywidthmode"),w("itemsizing"),w("itemwidth"),w("itemclick"),w("itemdoubleclick"),w("groupclick"),w("x",I),w("xanchor"),w("y",O),w("yanchor",z),w("valign"),g.noneOrAll(c,m,["x","y"]),w("title.text")){w("title.side",F?"left":"top");var B=g.extendFlat({},y,{size:g.bigFont(y.size)});g.coerceFont(w,"title.font",B)}}}}T.exports=function(u,o,s){var h,c=["legend"];for(h=0;h1)}var ne=U.hiddenlabels||[];if(!(q||U.showlegend&&H.length))return j.selectAll("."+G).remove(),U._topdefs.select("#"+W).remove(),i.autoMargin(B,G);var te=g.ensureSingle(j,"g",G,function(ye){q||ye.attr("pointer-events","all")}),Z=g.ensureSingleById(U._topdefs,"clipPath",W,function(ye){ye.append("rect")}),X=g.ensureSingle(te,"rect","bg",function(ye){ye.attr("shape-rendering","crispEdges")});X.call(a.stroke,$.bordercolor).call(a.fill,$.bgcolor).style("stroke-width",$.borderwidth+"px");var Q=g.ensureSingle(te,"g","scrollbox"),re=$.title;if($._titleWidth=0,$._titleHeight=0,re.text){var ie=g.ensureSingle(Q,"text",G+"titletext");ie.attr("text-anchor","start").call(l.font,re.font).text(re.text),I(ie,Q,B,$,1)}else Q.selectAll("."+G+"titletext").remove();var oe=g.ensureSingle(te,"rect","scrollbar",function(ye){ye.attr(s.scrollBarEnterAttrs).call(a.fill,s.scrollBarColor)}),ue=Q.selectAll("g.groups").data(H);ue.enter().append("g").attr("class","groups"),ue.exit().remove();var ce=ue.selectAll("g.traces").data(g.identity);ce.enter().append("g").attr("class","traces"),ce.exit().remove(),ce.style("opacity",function(ye){var de=ye[0].trace;return M.traceIs(de,"pie-like")?ne.indexOf(ye[0].label)!==-1?.5:1:de.visible==="legendonly"?.5:1}).each(function(){d.select(this).call(L,B,$)}).call(C,B,$).each(function(){q||d.select(this).call(R,B,G)}),g.syncOrAsync([i.previousPromises,function(){return function(ye,de,me,pe){var xe=ye._fullLayout,Pe=F(pe);pe||(pe=xe[Pe]);var _e=xe._size,Me=_.isVertical(pe),Se=_.isGrouped(pe),Ce=pe.entrywidthmode==="fraction",ae=pe.borderwidth,fe=2*ae,be=s.itemGap,ke=pe.itemwidth+2*be,Le=2*(ae+be),Be=z(pe),ze=pe.y<0||pe.y===0&&Be==="top",je=pe.y>1||pe.y===1&&Be==="bottom",ge=pe.tracegroupgap,we={};pe._maxHeight=Math.max(ze||je?xe.height/2:_e.h,30);var Ee=0;pe._width=0,pe._height=0;var Ve=function(Re){var Ne=0,Qe=0,ut=Re.title.side;return ut&&(ut.indexOf("left")!==-1&&(Ne=Re._titleWidth),ut.indexOf("top")!==-1&&(Qe=Re._titleHeight)),[Ne,Qe]}(pe);if(Me)me.each(function(Re){var Ne=Re[0].height;l.setTranslate(this,ae+Ve[0],ae+Ve[1]+pe._height+Ne/2+be),pe._height+=Ne,pe._width=Math.max(pe._width,Re[0].width)}),Ee=ke+pe._width,pe._width+=be+ke+fe,pe._height+=Le,Se&&(de.each(function(Re,Ne){l.setTranslate(this,0,Ne*pe.tracegroupgap)}),pe._height+=(pe._lgroupsLength-1)*pe.tracegroupgap);else{var $e=O(pe),Ye=pe.x<0||pe.x===0&&$e==="right",st=pe.x>1||pe.x===1&&$e==="left",ot=je||ze,ht=xe.width/2;pe._maxWidth=Math.max(Ye?ot&&$e==="left"?_e.l+_e.w:ht:st?ot&&$e==="right"?_e.r+_e.w:ht:_e.w,2*ke);var bt=0,Et=0;me.each(function(Re){var Ne=x(Re,pe,ke);bt=Math.max(bt,Ne),Et+=Ne}),Ee=null;var kt=0;if(Se){var xt=0,Ft=0,Ot=0;de.each(function(){var Re=0,Ne=0;d.select(this).selectAll("g.traces").each(function(ut){var dt=x(ut,pe,ke),_t=ut[0].height;l.setTranslate(this,Ve[0],Ve[1]+ae+be+_t/2+Ne),Ne+=_t,Re=Math.max(Re,dt),we[ut[0].trace.legendgroup]=Re});var Qe=Re+be;Ft>0&&Qe+ae+Ft>pe._maxWidth?(kt=Math.max(kt,Ft),Ft=0,Ot+=xt+ge,xt=Ne):xt=Math.max(xt,Ne),l.setTranslate(this,Ft,Ot),Ft+=Qe}),pe._width=Math.max(kt,Ft)+ae,pe._height=Ot+xt+Le}else{var Bt=me.size(),qt=Et+fe+(Bt-1)*be=pe._maxWidth&&(kt=Math.max(kt,qe),Ke=0,Je+=Vt,pe._height+=Vt,Vt=0),l.setTranslate(this,Ve[0]+ae+Ke,Ve[1]+ae+Je+Ne/2+be),qe=Ke+Qe+be,Ke+=ut,Vt=Math.max(Vt,Ne)}),qt?(pe._width=Ke+fe,pe._height=Vt+Le):(pe._width=Math.max(kt,qe)+fe,pe._height+=Vt+Le)}}pe._width=Math.ceil(Math.max(pe._width+Ve[0],pe._titleWidth+2*(ae+s.titlePad))),pe._height=Math.ceil(Math.max(pe._height+Ve[1],pe._titleHeight+2*(ae+s.itemGap))),pe._effHeight=Math.min(pe._height,pe._maxHeight);var nt=ye._context.edits,ft=nt.legendText||nt.legendPosition;me.each(function(Re){var Ne=d.select(this).select("."+Pe+"toggle"),Qe=Re[0].height,ut=Re[0].trace.legendgroup,dt=x(Re,pe,ke);Se&&ut!==""&&(dt=we[ut]);var _t=ft?ke:Ee||dt;Me||Ce||(_t+=be/2),l.setRect(Ne,0,-Qe/2,_t,Qe)})}(B,ue,ce,$)},function(){var ye,de,me,pe,xe=U._size,Pe=$.borderwidth;if(!q){var _e=function(Ye,st){var ot=Ye._fullLayout[st],ht=O(ot),bt=z(ot);return i.autoMargin(Ye,st,{x:ot.x,y:ot.y,l:ot._width*m[ht],r:ot._width*w[ht],b:ot._effHeight*w[bt],t:ot._effHeight*m[bt]})}(B,G);if(_e)return;var Me=xe.l+xe.w*$.x-m[O($)]*$._width,Se=xe.t+xe.h*(1-$.y)-m[z($)]*$._effHeight;if(U.margin.autoexpand){var Ce=Me,ae=Se;Me=g.constrain(Me,0,U.width-$._width),Se=g.constrain(Se,0,U.height-$._effHeight),Me!==Ce&&g.log("Constrain "+G+".x to make legend fit inside graph"),Se!==ae&&g.log("Constrain "+G+".y to make legend fit inside graph")}l.setTranslate(te,Me,Se)}if(oe.on(".drag",null),te.on("wheel",null),q||$._height<=$._maxHeight||B._context.staticPlot){var fe=$._effHeight;q&&(fe=$._height),X.attr({width:$._width-Pe,height:fe-Pe,x:Pe/2,y:Pe/2}),l.setTranslate(Q,0,0),Z.select("rect").attr({width:$._width-2*Pe,height:fe-2*Pe,x:Pe,y:Pe}),l.setClipUrl(Q,W,B),l.setRect(oe,0,0,0,0),delete $._scrollY}else{var be,ke,Le,Be=Math.max(s.scrollBarMinHeight,$._effHeight*$._effHeight/$._height),ze=$._effHeight-Be-2*s.scrollBarMargin,je=$._height-$._effHeight,ge=ze/je,we=Math.min($._scrollY||0,je);X.attr({width:$._width-2*Pe+s.scrollBarWidth+s.scrollBarMargin,height:$._effHeight-Pe,x:Pe/2,y:Pe/2}),Z.select("rect").attr({width:$._width-2*Pe+s.scrollBarWidth+s.scrollBarMargin,height:$._effHeight-2*Pe,x:Pe,y:Pe+we}),l.setClipUrl(Q,W,B),$e(we,Be,ge),te.on("wheel",function(){$e(we=g.constrain($._scrollY+d.event.deltaY/ze*je,0,je),Be,ge),we!==0&&we!==je&&d.event.preventDefault()});var Ee=d.behavior.drag().on("dragstart",function(){var Ye=d.event.sourceEvent;be=Ye.type==="touchstart"?Ye.changedTouches[0].clientY:Ye.clientY,Le=we}).on("drag",function(){var Ye=d.event.sourceEvent;Ye.buttons===2||Ye.ctrlKey||(ke=Ye.type==="touchmove"?Ye.changedTouches[0].clientY:Ye.clientY,we=function(st,ot,ht){var bt=(ht-ot)/ge+st;return g.constrain(bt,0,je)}(Le,be,ke),$e(we,Be,ge))});oe.call(Ee);var Ve=d.behavior.drag().on("dragstart",function(){var Ye=d.event.sourceEvent;Ye.type==="touchstart"&&(be=Ye.changedTouches[0].clientY,Le=we)}).on("drag",function(){var Ye=d.event.sourceEvent;Ye.type==="touchmove"&&(ke=Ye.changedTouches[0].clientY,we=function(st,ot,ht){var bt=(ot-ht)/ge+st;return g.constrain(bt,0,je)}(Le,be,ke),$e(we,Be,ge))});Q.call(Ve)}function $e(Ye,st,ot){$._scrollY=B._fullLayout[G]._scrollY=Ye,l.setTranslate(Q,0,-Ye),l.setRect(oe,$._width,s.scrollBarMargin+Ye*ot,s.scrollBarWidth,st),Z.select("rect").attr("y",Pe+Ye)}B._context.edits.legendPosition&&(te.classed("cursor-move",!0),f.init({element:te.node(),gd:B,prepFn:function(){var Ye=l.getTranslate(te);me=Ye.x,pe=Ye.y},moveFn:function(Ye,st){var ot=me+Ye,ht=pe+st;l.setTranslate(te,ot,ht),ye=f.align(ot,$._width,xe.l,xe.l+xe.w,$.xanchor),de=f.align(ht+$._height,-$._height,xe.t+xe.h,xe.t,$.yanchor)},doneFn:function(){if(ye!==void 0&&de!==void 0){var Ye={};Ye[G+".x"]=ye,Ye[G+".y"]=de,M.call("_guiRelayout",B,Ye)}},clickFn:function(Ye,st){var ot=ue.selectAll("g.traces").filter(function(){var ht=this.getBoundingClientRect();return st.clientX>=ht.left&&st.clientX<=ht.right&&st.clientY>=ht.top&&st.clientY<=ht.bottom});ot.size()>0&&A(B,te,ot,Ye,st)}}))}],B)}}function x(B,N,W){var j=B[0],$=j.width,U=N.entrywidthmode,G=j.trace.legendwidth||N.entrywidth;return U==="fraction"?N._maxWidth*G:W+(G||$)}function A(B,N,W,j,$){var U=W.data()[0][0].trace,G={event:$,node:W.node(),curveNumber:U.index,expandedIndex:U._expandedIndex,data:B.data,layout:B.layout,frames:B._transitionData._frames,config:B._context,fullData:B._fullData,fullLayout:B._fullLayout};U._group&&(G.group=U._group),M.traceIs(U,"pie-like")&&(G.label=W.datum()[0].label),v.triggerHandler(B,"plotly_legendclick",G)!==!1&&(j===1?N._clickTimeout=setTimeout(function(){B._fullLayout&&o(W,B,j)},B._context.doubleClickDelay):j===2&&(N._clickTimeout&&clearTimeout(N._clickTimeout),B._legendMouseDownTime=0,v.triggerHandler(B,"plotly_legenddoubleclick",G)!==!1&&o(W,B,j)))}function L(B,N,W){var j,$,U=F(W),G=B.data()[0][0],q=G.trace,H=M.traceIs(q,"pie-like"),ne=!W._inHover&&N._context.edits.legendText&&!H,te=W._maxNameLength;G.groupTitle?(j=G.groupTitle.text,$=G.groupTitle.font):($=W.font,W.entries?j=G.text:(j=H?G.label:q.name,q._meta&&(j=g.templateString(j,q._meta))));var Z=g.ensureSingle(B,"text",U+"text");Z.attr("text-anchor","start").call(l.font,$).text(ne?b(j,te):j);var X=W.itemwidth+2*s.itemGap;u.positionText(Z,X,0),ne?Z.call(u.makeEditable,{gd:N,text:j}).call(I,B,N,W).on("edit",function(Q){this.text(b(Q,te)).call(I,B,N,W);var re=G.trace._fullInput||{},ie={};if(M.hasTransform(re,"groupby")){var oe=M.getTransformIndices(re,"groupby"),ue=oe[oe.length-1],ce=g.keyedContainer(re,"transforms["+ue+"].styles","target","value.name");ce.set(G.trace._group,Q),ie=ce.constructUpdate()}else ie.name=Q;return M.call("_guiRestyle",N,ie,q.index)}):I(Z,B,N,W)}function b(B,N){var W=Math.max(4,N);if(B&&B.trim().length>=W/2)return B;for(var j=W-(B=B||"").length;j>0;j--)B+=" ";return B}function R(B,N,W){var j,$=N._context.doubleClickDelay,U=1,G=g.ensureSingle(B,"rect",W+"toggle",function(q){N._context.staticPlot||q.style("cursor","pointer").attr("pointer-events","all"),q.call(a.fill,"rgba(0,0,0,0)")});N._context.staticPlot||(G.on("mousedown",function(){(j=new Date().getTime())-N._legendMouseDownTime<$?U+=1:(U=1,N._legendMouseDownTime=j)}),G.on("mouseup",function(){if(!N._dragged&&!N._editing){var q=N._fullLayout[W];new Date().getTime()-N._legendMouseDownTime>$&&(U=Math.max(U-1,1)),A(N,q,B,U,d.event)}}))}function I(B,N,W,j,$){j._inHover&&B.attr("data-notex",!0),u.convertToTspans(B,W,function(){(function(U,G,q,H){var ne=U.data()[0][0];if(q._inHover||!ne||ne.trace.showlegend){var te=U.select("g[class*=math-group]"),Z=te.node(),X=F(q);q||(q=G._fullLayout[X]);var Q,re,ie=q.borderwidth,oe=(H===1?q.title.font:ne.groupTitle?ne.groupTitle.font:q.font).size*c;if(Z){var ue=l.bBox(Z);Q=ue.height,re=ue.width,H===1?l.setTranslate(te,ie,ie+.75*Q):l.setTranslate(te,0,.25*Q)}else{var ce="."+X+(H===1?"title":"")+"text",ye=U.select(ce),de=u.lineCount(ye),me=ye.node();if(Q=oe*de,re=me?l.bBox(me).width:0,H===1)q.title.side==="left"&&(re+=2*s.itemGap),u.positionText(ye,ie+s.titlePad,ie+oe);else{var pe=2*s.itemGap+q.itemwidth;ne.groupTitle&&(pe=s.itemGap,re-=q.itemwidth),u.positionText(ye,pe,-oe*((de-1)/2-.3))}}H===1?(q._titleWidth=re,q._titleHeight=Q):(ne.lineHeight=oe,ne.height=Math.max(Q,16)+3,ne.width=re)}else U.remove()})(N,W,j,$)})}function O(B){return g.isRightAnchor(B)?"right":g.isCenterAnchor(B)?"center":"left"}function z(B){return g.isBottomAnchor(B)?"bottom":g.isMiddleAnchor(B)?"middle":"top"}function F(B){return B._id||"legend"}T.exports=function(B,N){if(N)E(B,N);else{var W=B._fullLayout,j=W._legends;W._infolayer.selectAll('[class^="legend"]').each(function(){var G=d.select(this),q=G.attr("class").split(" ")[0];q.match(k)&&j.indexOf(q)===-1&&G.remove()});for(var $=0;$z&&(O=z)}R[f][0]._groupMinRank=O,R[f][0]._preGroupSort=f}var F=function($,U){return $.trace.legendrank-U.trace.legendrank||$._preSort-U._preSort};for(R.forEach(function($,U){$[0]._preGroupSort=U}),R.sort(function($,U){return $[0]._groupMinRank-U[0]._groupMinRank||$[0]._preGroupSort-U[0]._preGroupSort}),f=0;fC?C:w}T.exports=function(w,y,C){var _=y._fullLayout;C||(C=_.legend);var k=C.itemsizing==="constant",E=C.itemwidth,x=(E+2*s.itemGap)/2,A=M(x,0),L=function(I,O,z,F){var B;if(I+1)B=I;else{if(!(O&&O.width>0))return 0;B=O.width}return k?F:Math.min(B,z)};function b(I,O,z){var F=I[0].trace,B=F.marker||{},N=B.line||{},W=z?F.visible&&F.type===z:g.traceIs(F,"bar"),j=d.select(O).select("g.legendpoints").selectAll("path.legend"+z).data(W?[I]:[]);j.enter().append("path").classed("legend"+z,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",A),j.exit().remove(),j.each(function($){var U=d.select(this),G=$[0],q=L(G.mlw,B.line,5,2);U.style("stroke-width",q+"px");var H=G.mcc;if(!C._inHover&&"mc"in G){var ne=l(B),te=ne.mid;te===void 0&&(te=(ne.max+ne.min)/2),H=v.tryColorscale(B,"")(te)}var Z=H||G.mc||B.color,X=B.pattern,Q=X&&v.getPatternAttr(X.shape,0,"");if(Q){var re=v.getPatternAttr(X.bgcolor,0,null),ie=v.getPatternAttr(X.fgcolor,0,null),oe=X.fgopacity,ue=m(X.size,8,10),ce=m(X.solidity,.5,1),ye="legend-"+F.uid;U.call(v.pattern,"legend",y,ye,Q,ue,ce,H,X.fillmode,re,ie,oe)}else U.call(f.fill,Z);q&&f.stroke(U,G.mlc||N.color)})}function R(I,O,z){var F=I[0],B=F.trace,N=z?B.visible&&B.type===z:g.traceIs(B,z),W=d.select(O).select("g.legendpoints").selectAll("path.legend"+z).data(N?[I]:[]);if(W.enter().append("path").classed("legend"+z,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",A),W.exit().remove(),W.size()){var j=(B.marker||{}).line,$=L(o(j.width,F.pts),j,5,2),U=i.minExtend(B,{marker:{line:{width:$}}});U.marker.line.color=j.color;var G=i.minExtend(F,{trace:U});u(W,G,U)}}w.each(function(I){var O=d.select(this),z=i.ensureSingle(O,"g","layers");z.style("opacity",I[0].trace.opacity);var F=C.valign,B=I[0].lineHeight,N=I[0].height;if(F!=="middle"&&B&&N){var W={top:1,bottom:-1}[F]*(.5*(B-N+3));z.attr("transform",M(0,W))}else z.attr("transform",null);z.selectAll("g.legendfill").data([I]).enter().append("g").classed("legendfill",!0),z.selectAll("g.legendlines").data([I]).enter().append("g").classed("legendlines",!0);var j=z.selectAll("g.legendsymbols").data([I]);j.enter().append("g").classed("legendsymbols",!0),j.selectAll("g.legendpoints").data([I]).enter().append("g").classed("legendpoints",!0)}).each(function(I){var O,z=I[0].trace,F=[];if(z.visible)switch(z.type){case"histogram2d":case"heatmap":F=[["M-15,-2V4H15V-2Z"]],O=!0;break;case"choropleth":case"choroplethmapbox":F=[["M-6,-6V6H6V-6Z"]],O=!0;break;case"densitymapbox":F=[["M-6,0 a6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0"]],O="radial";break;case"cone":F=[["M-6,2 A2,2 0 0,0 -6,6 V6L6,4Z"],["M-6,-6 A2,2 0 0,0 -6,-2 L6,-4Z"],["M-6,-2 A2,2 0 0,0 -6,2 L6,0Z"]],O=!1;break;case"streamtube":F=[["M-6,2 A2,2 0 0,0 -6,6 H6 A2,2 0 0,1 6,2 Z"],["M-6,-6 A2,2 0 0,0 -6,-2 H6 A2,2 0 0,1 6,-6 Z"],["M-6,-2 A2,2 0 0,0 -6,2 H6 A2,2 0 0,1 6,-2 Z"]],O=!1;break;case"surface":F=[["M-6,-6 A2,3 0 0,0 -6,0 H6 A2,3 0 0,1 6,-6 Z"],["M-6,1 A2,3 0 0,1 -6,6 H6 A2,3 0 0,0 6,0 Z"]],O=!0;break;case"mesh3d":F=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],O=!1;break;case"volume":F=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],O=!0;break;case"isosurface":F=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6 A12,24 0 0,0 6,-6 L0,6Z"]],O=!1}var B=d.select(this).select("g.legendpoints").selectAll("path.legend3dandfriends").data(F);B.enter().append("path").classed("legend3dandfriends",!0).attr("transform",A).style("stroke-miterlimit",1),B.exit().remove(),B.each(function(N,W){var j,$=d.select(this),U=l(z),G=U.colorscale,q=U.reversescale;if(G){if(!O){var H=G.length;j=W===0?G[q?H-1:0][1]:W===1?G[q?0:H-1][1]:G[Math.floor((H-1)/2)][1]}}else{var ne=z.vertexcolor||z.facecolor||z.color;j=i.isArrayOrTypedArray(ne)?ne[W]||ne[0]:ne}$.attr("d",N[0]),j?$.call(f.fill,j):$.call(function(te){if(te.size()){var Z="legendfill-"+z.uid;v.gradient(te,y,Z,h(q,O==="radial"),G,"fill")}})})}).each(function(I){var O=I[0].trace,z=O.type==="waterfall";if(I[0]._distinct&&z){var F=I[0].trace[I[0].dir].marker;return I[0].mc=F.color,I[0].mlw=F.line.width,I[0].mlc=F.line.color,b(I,this,"waterfall")}var B=[];O.visible&&z&&(B=I[0].hasTotals?[["increasing","M-6,-6V6H0Z"],["totals","M6,6H0L-6,-6H-0Z"],["decreasing","M6,6V-6H0Z"]]:[["increasing","M-6,-6V6H6Z"],["decreasing","M6,6V-6H-6Z"]]);var N=d.select(this).select("g.legendpoints").selectAll("path.legendwaterfall").data(B);N.enter().append("path").classed("legendwaterfall",!0).attr("transform",A).style("stroke-miterlimit",1),N.exit().remove(),N.each(function(W){var j=d.select(this),$=O[W[0]].marker,U=L(void 0,$.line,5,2);j.attr("d",W[1]).style("stroke-width",U+"px").call(f.fill,$.color),U&&j.call(f.stroke,$.line.color)})}).each(function(I){b(I,this,"funnel")}).each(function(I){b(I,this)}).each(function(I){var O=I[0].trace,z=d.select(this).select("g.legendpoints").selectAll("path.legendbox").data(O.visible&&g.traceIs(O,"box-violin")?[I]:[]);z.enter().append("path").classed("legendbox",!0).attr("d","M6,6H-6V-6H6Z").attr("transform",A),z.exit().remove(),z.each(function(){var F=d.select(this);if(O.boxpoints!=="all"&&O.points!=="all"||f.opacity(O.fillcolor)!==0||f.opacity((O.line||{}).color)!==0){var B=L(void 0,O.line,5,2);F.style("stroke-width",B+"px").call(f.fill,O.fillcolor),B&&f.stroke(F,O.line.color)}else{var N=i.minExtend(O,{marker:{size:k?12:i.constrain(O.marker.size,2,16),sizeref:1,sizemin:1,sizemode:"diameter"}});z.call(v.pointStyle,N,y)}})}).each(function(I){R(I,this,"funnelarea")}).each(function(I){R(I,this,"pie")}).each(function(I){var O,z,F=c(I),B=F.showFill,N=F.showLine,W=F.showGradientLine,j=F.showGradientFill,$=F.anyFill,U=F.anyLine,G=I[0],q=G.trace,H=l(q),ne=H.colorscale,te=H.reversescale,Z=a.hasMarkers(q)||!$?"M5,0":U?"M5,-2":"M5,-3",X=d.select(this),Q=X.select(".legendfill").selectAll("path").data(B||j?[I]:[]);if(Q.enter().append("path").classed("js-fill",!0),Q.exit().remove(),Q.attr("d",Z+"h"+E+"v6h-"+E+"z").call(function(oe){if(oe.size())if(B)v.fillGroupStyle(oe,y);else{var ue="legendfill-"+q.uid;v.gradient(oe,y,ue,h(te),ne,"fill")}}),N||W){var re=L(void 0,q.line,10,5);z=i.minExtend(q,{line:{width:re}}),O=[i.minExtend(G,{trace:z})]}var ie=X.select(".legendlines").selectAll("path").data(N||W?[O]:[]);ie.enter().append("path").classed("js-line",!0),ie.exit().remove(),ie.attr("d",Z+(W?"l"+E+",0.0001":"h"+E)).call(N?v.lineGroupStyle:function(oe){if(oe.size()){var ue="legendline-"+q.uid;v.lineGroupStyle(oe),v.gradient(oe,y,ue,h(te),ne,"stroke")}})}).each(function(I){var O,z,F=c(I),B=F.anyFill,N=F.anyLine,W=F.showLine,j=F.showMarker,$=I[0],U=$.trace,G=!j&&!N&&!B&&a.hasText(U);function q(ie,oe,ue,ce){var ye=i.nestedProperty(U,ie).get(),de=i.isArrayOrTypedArray(ye)&&oe?oe(ye):ye;if(k&&de&&ce!==void 0&&(de=ce),ue){if(deue[1])return ue[1]}return de}function H(ie){return $._distinct&&$.index&&ie[$.index]?ie[$.index]:ie[0]}if(j||G||W){var ne={},te={};if(j){ne.mc=q("marker.color",H),ne.mx=q("marker.symbol",H),ne.mo=q("marker.opacity",i.mean,[.2,1]),ne.mlc=q("marker.line.color",H),ne.mlw=q("marker.line.width",i.mean,[0,5],2),te.marker={sizeref:1,sizemin:1,sizemode:"diameter"};var Z=q("marker.size",i.mean,[2,16],12);ne.ms=Z,te.marker.size=Z}W&&(te.line={width:q("line.width",H,[0,10],5)}),G&&(ne.tx="Aa",ne.tp=q("textposition",H),ne.ts=10,ne.tc=q("textfont.color",H),ne.tf=q("textfont.family",H)),O=[i.minExtend($,ne)],(z=i.minExtend(U,te)).selectedpoints=null,z.texttemplate=null}var X=d.select(this).select("g.legendpoints"),Q=X.selectAll("path.scatterpts").data(j?O:[]);Q.enter().insert("path",":first-child").classed("scatterpts",!0).attr("transform",A),Q.exit().remove(),Q.call(v.pointStyle,z,y),j&&(O[0].mrc=3);var re=X.selectAll("g.pointtext").data(G?O:[]);re.enter().append("g").classed("pointtext",!0).append("text").attr("transform",A),re.exit().remove(),re.selectAll("text").call(v.textPointStyle,z,y)}).each(function(I){var O=I[0].trace,z=d.select(this).select("g.legendpoints").selectAll("path.legendcandle").data(O.visible&&O.type==="candlestick"?[I,I]:[]);z.enter().append("path").classed("legendcandle",!0).attr("d",function(F,B){return B?"M-15,0H-8M-8,6V-6H8Z":"M15,0H8M8,-6V6H-8Z"}).attr("transform",A).style("stroke-miterlimit",1),z.exit().remove(),z.each(function(F,B){var N=d.select(this),W=O[B?"increasing":"decreasing"],j=L(void 0,W.line,5,2);N.style("stroke-width",j+"px").call(f.fill,W.fillcolor),j&&f.stroke(N,W.line.color)})}).each(function(I){var O=I[0].trace,z=d.select(this).select("g.legendpoints").selectAll("path.legendohlc").data(O.visible&&O.type==="ohlc"?[I,I]:[]);z.enter().append("path").classed("legendohlc",!0).attr("d",function(F,B){return B?"M-15,0H0M-8,-6V0":"M15,0H0M8,6V0"}).attr("transform",A).style("stroke-miterlimit",1),z.exit().remove(),z.each(function(F,B){var N=d.select(this),W=O[B?"increasing":"decreasing"],j=L(void 0,W.line,5,2);N.style("fill","none").call(v.dashLine,W.line.dash,j),j&&f.stroke(N,W.line.color)})})}},42068:function(T,p,t){t(93348),T.exports={editType:"modebar",orientation:{valType:"enumerated",values:["v","h"],dflt:"h",editType:"modebar"},bgcolor:{valType:"color",editType:"modebar"},color:{valType:"color",editType:"modebar"},activecolor:{valType:"color",editType:"modebar"},uirevision:{valType:"any",editType:"none"},add:{valType:"string",arrayOk:!0,dflt:"",editType:"modebar"},remove:{valType:"string",arrayOk:!0,dflt:"",editType:"modebar"}}},26023:function(T,p,t){var d=t(73972),g=t(74875),i=t(41675),M=t(24255),v=t(34031).eraseActiveShape,f=t(71828),l=f._,a=T.exports={};function u(_,k){var E,x,A=k.currentTarget,L=A.getAttribute("data-attr"),b=A.getAttribute("data-val")||!0,R=_._fullLayout,I={},O=i.list(_,null,!0),z=R._cartesianSpikesEnabled;if(L==="zoom"){var F,B=b==="in"?.5:2,N=(1+B)/2,W=(1-B)/2;for(x=0;x1?(Z=["toggleHover"],X=["resetViews"]):I?(te=["zoomInGeo","zoomOutGeo"],Z=["hoverClosestGeo"],X=["resetGeo"]):R?(Z=["hoverClosest3d"],X=["resetCameraDefault3d","resetCameraLastSave3d"]):N?(te=["zoomInMapbox","zoomOutMapbox"],Z=["toggleHover"],X=["resetViewMapbox"]):F?Z=["hoverClosestGl2d"]:O?Z=["hoverClosestPie"]:$?(Z=["hoverClosestCartesian","hoverCompareCartesian"],X=["resetViewSankey"]):Z=["toggleHover"],b&&(Z=["toggleSpikelines","hoverClosestCartesian","hoverCompareCartesian"]),(function(ye){for(var de=0;de0)){var y=function(_,k,E){for(var x=E.filter(function(R){return k[R].anchor===_._id}),A=0,L=0;L=pe.max)de=oe[me+1];else if(ye=pe.pmax)de=oe[me+1];else if(yeme._length||ke+Ve<0)return;ge=be+Ve,we=ke+Ve;break;case Pe:if(Ee="col-resize",be+Ve>me._length)return;ge=be+Ve,we=ke;break;case _e:if(Ee="col-resize",ke+Ve<0)return;ge=be,we=ke+Ve;break;default:Ee="ew-resize",ge=fe,we=fe+Ve}if(we=0;F--){var B=k.append("path").attr(x).style("opacity",F?.1:A).call(M.stroke,b).call(M.fill,L).call(v.dashLine,F?"solid":I,F?4+R:R);if(h(B,m,C),O){var N=f(m.layout,"selections",C);B.style({cursor:"move"});var W={element:B.node(),plotinfo:_,gd:m,editHelpers:N,isActiveSelection:!0},j=d(E,m);g(j,B,W)}else B.style("pointer-events",F?"all":"none");z[F]=B}var $=z[0];z[1].node().addEventListener("click",function(){return function(U,G){if(o(U)){var q=+G.node().getAttribute("data-index");if(q>=0){if(q===U._fullLayout._activeSelectionIndex)return void c(U);U._fullLayout._activeSelectionIndex=q,U._fullLayout._deactivateSelection=c,u(U)}}}(m,$)})}(m._fullLayout._selectionLayer)}function h(m,w,y){var C=y.xref+y.yref;v.setClipUrl(m,"clip"+w._fullLayout._uid+C,w)}function c(m){o(m)&&m._fullLayout._activeSelectionIndex>=0&&(i(m),delete m._fullLayout._activeSelectionIndex,u(m))}T.exports={draw:u,drawOne:s,activateLastSelection:function(m){if(o(m)){var w=m._fullLayout.selections.length-1;m._fullLayout._activeSelectionIndex=w,m._fullLayout._deactivateSelection=c,u(m)}}}},53777:function(T,p,t){var d=t(79952).P,g=t(1426).extendFlat;T.exports={newselection:{mode:{valType:"enumerated",values:["immediate","gradual"],dflt:"immediate",editType:"none"},line:{color:{valType:"color",editType:"none"},width:{valType:"number",min:1,dflt:1,editType:"none"},dash:g({},d,{dflt:"dot",editType:"none"}),editType:"none"},editType:"none"},activeselection:{fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"none"},opacity:{valType:"number",min:0,max:1,dflt:.5,editType:"none"},editType:"none"}}},90849:function(T){T.exports=function(p,t,d){d("newselection.mode"),d("newselection.line.width")&&(d("newselection.line.color"),d("newselection.line.dash")),d("activeselection.fillcolor"),d("activeselection.opacity")}},35855:function(T,p,t){var d=t(64505).selectMode,g=t(51873).clearOutline,i=t(60165),M=i.readPaths,v=i.writePaths,f=i.fixDatesForPaths;T.exports=function(l,a){if(l.length){var u=l[0][0];if(u){var o=u.getAttribute("d"),s=a.gd,h=s._fullLayout.newselection,c=a.plotinfo,m=c.xaxis,w=c.yaxis,y=a.isActiveSelection,C=a.dragmode,_=(s.layout||{}).selections||[];if(!d(C)&&y!==void 0){var k=s._fullLayout._activeSelectionIndex;if(k<_.length)switch(s._fullLayout.selections[k].type){case"rect":C="select";break;case"path":C="lasso"}}var E,x=M(o,s,c,y),A={xref:m._id,yref:w._id,opacity:h.opacity,line:{color:h.line.color,width:h.line.width,dash:h.line.dash}};x.length===1&&(E=x[0]),E&&E.length===5&&C==="select"?(A.type="rect",A.x0=E[0][1],A.y0=E[0][2],A.x1=E[2][1],A.y1=E[2][2]):(A.type="path",m&&w&&f(x,m,w),A.path=v(x),E=null),g(s);for(var L=a.editHelpers,b=(L||{}).modifyItem,R=[],I=0;I<_.length;I++){var O=s._fullLayout.selections[I];if(O){if(R[I]=O._input,y!==void 0&&I===s._fullLayout._activeSelectionIndex){var z=A;switch(O.type){case"rect":b("x0",z.x0),b("x1",z.x1),b("y0",z.y0),b("y1",z.y1);break;case"path":b("path",z.path)}}}else R[I]=O}return y===void 0?(R.push(A),R):L?L.getUpdateObj():{}}}}},75549:function(T,p,t){var d=t(71828).strTranslate;function g(i,M){switch(i.type){case"log":return i.p2d(M);case"date":return i.p2r(M,0,i.calendar);default:return i.p2r(M)}}T.exports={p2r:g,r2p:function(i,M){switch(i.type){case"log":return i.d2p(M);case"date":return i.r2p(M,0,i.calendar);default:return i.r2p(M)}},axValue:function(i){var M=i._id.charAt(0)==="y"?1:0;return function(v){return g(i,v[M])}},getTransform:function(i){return d(i.xaxis._offset,i.yaxis._offset)}}},47322:function(T,p,t){var d=t(32485),g=t(3937);T.exports={moduleType:"component",name:"selections",layoutAttributes:t(8389),supplyLayoutDefaults:t(59402),supplyDrawNewSelectionDefaults:t(90849),includeBasePlot:t(76325)("selections"),draw:d.draw,drawOne:d.drawOne,reselect:g.reselect,prepSelect:g.prepSelect,clearOutline:g.clearOutline,clearSelectionsCache:g.clearSelectionsCache,selectOnClick:g.selectOnClick}},3937:function(T,p,t){var d=t(52142),g=t(38258),i=t(73972),M=t(91424).dashStyle,v=t(7901),f=t(30211),l=t(23469).makeEventData,a=t(64505),u=a.freeMode,o=a.rectMode,s=a.drawMode,h=a.openMode,c=a.selectMode,m=t(30477),w=t(21459),y=t(42359),C=t(51873).clearOutline,_=t(60165),k=_.handleEllipse,E=_.readPaths,x=t(90551),A=t(35855),L=t(32485).activateLastSelection,b=t(71828),R=b.sorterAsc,I=t(61082),O=t(79990),z=t(41675).getFromId,F=t(33306),B=t(61549).redrawReglTraces,N=t(34122),W=N.MINSELECT,j=I.filter,$=I.tester,U=t(75549),G=U.p2r,q=U.axValue,H=U.getTransform;function ne(ze){return ze.subplot!==void 0}function te(ze,je,ge,we,Ee,Ve,$e){var Ye,st,ot,ht,bt,Et,kt,xt,Ft,Ot=je._hoverdata,Bt=je._fullLayout.clickmode.indexOf("event")>-1,qt=[];if(function(nt){return nt&&Array.isArray(nt)&&nt[0].hoverOnBox!==!0}(Ot)){re(ze,je,Ve);var Vt=function(nt,ft){var Re,Ne,Qe=nt[0],ut=-1,dt=[];for(Ne=0;Ne0?function(nt,ft){var Re,Ne,Qe,ut=[];for(Qe=0;Qe0&&ut.push(Re);if(ut.length===1&&ut[0]===ft.searchInfo&&(Ne=ft.searchInfo.cd[0].trace).selectedpoints.length===ft.pointNumbers.length){for(Qe=0;Qe1||(Ne+=ft.selectedpoints.length)>1))return!1;return Ne===1}(Ye)&&(Et=ye(Vt))){for($e&&$e.remove(),Ft=0;Ft=0})(Ee)&&Ee._fullLayout._deactivateShape(Ee),function(bt){return bt._fullLayout._activeSelectionIndex>=0}(Ee)&&Ee._fullLayout._deactivateSelection(Ee);var Ve=Ee._fullLayout._zoomlayer,$e=s(ge),Ye=c(ge);if($e||Ye){var st,ot,ht=Ve.selectAll(".select-outline-"+we.id);ht&&Ee._fullLayout._outlining&&($e&&(st=x(ht,ze)),st&&i.call("_guiRelayout",Ee,{shapes:st}),Ye&&!ne(ze)&&(ot=A(ht,ze)),ot&&(Ee._fullLayout._noEmitSelectedAtStart=!0,i.call("_guiRelayout",Ee,{selections:ot}).then(function(){je&&L(Ee)})),Ee._fullLayout._outlining=!1)}we.selection={},we.selection.selectionDefs=ze.selectionDefs=[],we.selection.mergedPolygons=ze.mergedPolygons=[]}function oe(ze){return ze._id}function ue(ze,je,ge,we){if(!ze.calcdata)return[];var Ee,Ve,$e,Ye=[],st=je.map(oe),ot=ge.map(oe);for($e=0;$e0?we[0]:ge;return!!je.selectedpoints&&je.selectedpoints.indexOf(Ee)>-1}function de(ze,je,ge){var we,Ee;for(we=0;we-1&&je;if(!Ve&&je){var Tn=Ce(ze,!0);if(Tn.length){var dn=Tn[0].xref,pn=Tn[0].yref;if(dn&&pn){var Dn=be(Tn);ke([z(ze,dn,"x"),z(ze,pn,"y")])(kn,Dn)}}ze._fullLayout._noEmitSelectedAtStart?ze._fullLayout._noEmitSelectedAtStart=!1:sn&&Le(ze,kn),Et._reselect=!1}if(!Ve&&Et._deselect){var In=Et._deselect;(function(jn,Gn,qn){for(var lr=0;lr=0)kt._fullLayout._deactivateShape(kt);else if(!ot){var pn=xt.clickmode;O.done(An).then(function(){if(O.clear(An),Tn===2){for(Xt.remove(),Qe=0;Qe-1&&te(dn,kt,we.xaxes,we.yaxes,we.subplot,we,Xt),pn==="event"&&Le(kt,void 0);f.click(kt,dn)}).catch(b.error)}},we.doneFn=function(){un.remove(),O.done(An).then(function(){O.clear(An),!Ft&&Ne&&we.selectionDefs&&(Ne.subtract=Wt,we.selectionDefs.push(Ne),we.mergedPolygons.length=0,[].push.apply(we.mergedPolygons,Re)),(Ft||ot)&&ie(we,Ft),we.doneFnCompleted&&we.doneFnCompleted(Yn),ht&&Le(kt,dt)}).catch(b.error)}},clearOutline:C,clearSelectionsCache:ie,selectOnClick:te}},89827:function(T,p,t){var d=t(50215),g=t(41940),i=t(82196).line,M=t(79952).P,v=t(1426).extendFlat,f=t(44467).templatedArray,l=(t(24695),t(5386).R),a=t(37281);T.exports=f("shape",{visible:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},type:{valType:"enumerated",values:["circle","rect","path","line"],editType:"calc+arraydraw"},layer:{valType:"enumerated",values:["below","above"],dflt:"above",editType:"arraydraw"},xref:v({},d.xref,{}),xsizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",editType:"calc+arraydraw"},xanchor:{valType:"any",editType:"calc+arraydraw"},x0:{valType:"any",editType:"calc+arraydraw"},x1:{valType:"any",editType:"calc+arraydraw"},yref:v({},d.yref,{}),ysizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",editType:"calc+arraydraw"},yanchor:{valType:"any",editType:"calc+arraydraw"},y0:{valType:"any",editType:"calc+arraydraw"},y1:{valType:"any",editType:"calc+arraydraw"},path:{valType:"string",editType:"calc+arraydraw"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"arraydraw"},line:{color:v({},i.color,{editType:"arraydraw"}),width:v({},i.width,{editType:"calc+arraydraw"}),dash:v({},M,{editType:"arraydraw"}),editType:"calc+arraydraw"},fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},fillrule:{valType:"enumerated",values:["evenodd","nonzero"],dflt:"evenodd",editType:"arraydraw"},editable:{valType:"boolean",dflt:!1,editType:"calc+arraydraw"},label:{text:{valType:"string",dflt:"",editType:"arraydraw"},texttemplate:l({},{keys:Object.keys(a)}),font:g({editType:"calc+arraydraw",colorEditType:"arraydraw"}),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right","start","middle","end"],editType:"arraydraw"},textangle:{valType:"angle",dflt:"auto",editType:"calc+arraydraw"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto",editType:"calc+arraydraw"},yanchor:{valType:"enumerated",values:["top","middle","bottom"],editType:"calc+arraydraw"},padding:{valType:"number",dflt:3,min:0,editType:"arraydraw"},editType:"arraydraw"},editType:"arraydraw"})},5627:function(T,p,t){var d=t(71828),g=t(89298),i=t(21459),M=t(30477);function v(u){return l(u.line.width,u.xsizemode,u.x0,u.x1,u.path,!1)}function f(u){return l(u.line.width,u.ysizemode,u.y0,u.y1,u.path,!0)}function l(u,o,s,h,c,m){var w=u/2,y=m;if(o==="pixel"){var C=c?M.extractPathCoords(c,m?i.paramIsY:i.paramIsX):[s,h],_=d.aggNums(Math.max,null,C),k=d.aggNums(Math.min,null,C),E=k<0?Math.abs(k)+w:w,x=_>0?_+w:w;return{ppad:w,ppadplus:y?E:x,ppadminus:y?x:E}}return{ppad:w}}function a(u,o,s,h,c){var m=u.type==="category"||u.type==="multicategory"?u.r2c:u.d2c;if(o!==void 0)return[m(o),m(s)];if(h){var w,y,C,_,k=1/0,E=-1/0,x=h.match(i.segmentRE);for(u.type==="date"&&(m=M.decodeDate(m)),w=0;wE&&(E=_)));return E>=k?[k,E]:void 0}}T.exports=function(u){var o=u._fullLayout,s=d.filterVisible(o.shapes);if(s.length&&u._fullData.length)for(var h=0;h1&&(ye.length!==2||ye[1][0]!=="Z")&&(W===0&&(ye[0][0]="M"),A[N]=ye,O(),z())}}()}}function X(oe,ue){(function(ce,ye){if(A.length)for(var de=0;deSe?(fe=_e,Be="y0",be=Se,ze="y1"):(fe=Se,Be="y1",be=_e,ze="y0"),Je(Ne),ft(pe,de),function(Qe,ut,dt){var _t=ut.xref,It=ut.yref,Lt=M.getFromId(dt,_t),yt=M.getFromId(dt,It),Pt="";_t==="paper"||Lt.autorange||(Pt+=_t),It==="paper"||yt.autorange||(Pt+=It),u.setClipUrl(Qe,Pt?"clip"+dt._fullLayout._uid+Pt:null,dt)}(ye,de,ce),Ke.moveFn=Ee==="move"?qe:nt,Ke.altKey=Ne.altKey)},doneFn:function(){E(ce)||(h(ye),Re(pe),L(ye,ce,de),g.call("_guiRelayout",ce,xe.getUpdateObj()))},clickFn:function(){E(ce)||Re(pe)}};function Je(Ne){if(E(ce))Ee=null;else if(Ye)Ee=Ne.target.tagName==="path"?"move":Ne.target.attributes["data-line-point"].value==="start-point"?"resize-over-start-point":"resize-over-end-point";else{var Qe=Ke.element.getBoundingClientRect(),ut=Qe.right-Qe.left,dt=Qe.bottom-Qe.top,_t=Ne.clientX-Qe.left,It=Ne.clientY-Qe.top,Lt=!st&&ut>10&&dt>10&&!Ne.shiftKey?s.getCursor(_t/ut,1-It/dt):"move";h(ye,Lt),Ee=Lt.split("-")[0]}}function qe(Ne,Qe){if(de.type==="path"){var ut=function(It){return It},dt=ut,_t=ut;Ve?ot("xanchor",de.xanchor=Bt(Ce+Ne)):(dt=function(It){return Bt(Ft(It)+Ne)},bt&&bt.type==="date"&&(dt=w.encodeDate(dt))),$e?ot("yanchor",de.yanchor=qt(ae+Qe)):(_t=function(It){return qt(Ot(It)+Qe)},kt&&kt.type==="date"&&(_t=w.encodeDate(_t))),ot("path",de.path=R(we,dt,_t))}else Ve?ot("xanchor",de.xanchor=Bt(Ce+Ne)):(ot("x0",de.x0=Bt(Pe+Ne)),ot("x1",de.x1=Bt(Me+Ne))),$e?ot("yanchor",de.yanchor=qt(ae+Qe)):(ot("y0",de.y0=qt(_e+Qe)),ot("y1",de.y1=qt(Se+Qe)));ye.attr("d",y(ce,de)),ft(pe,de),b(ce,me,de,ht)}function nt(Ne,Qe){if(st){var ut=function(un){return un},dt=ut,_t=ut;Ve?ot("xanchor",de.xanchor=Bt(Ce+Ne)):(dt=function(un){return Bt(Ft(un)+Ne)},bt&&bt.type==="date"&&(dt=w.encodeDate(dt))),$e?ot("yanchor",de.yanchor=qt(ae+Qe)):(_t=function(un){return qt(Ot(un)+Qe)},kt&&kt.type==="date"&&(_t=w.encodeDate(_t))),ot("path",de.path=R(we,dt,_t))}else if(Ye){if(Ee==="resize-over-start-point"){var It=Pe+Ne,Lt=$e?_e-Qe:_e+Qe;ot("x0",de.x0=Ve?It:Bt(It)),ot("y0",de.y0=$e?Lt:qt(Lt))}else if(Ee==="resize-over-end-point"){var yt=Me+Ne,Pt=$e?Se-Qe:Se+Qe;ot("x1",de.x1=Ve?yt:Bt(yt)),ot("y1",de.y1=$e?Pt:qt(Pt))}}else{var wt=function(un){return Ee.indexOf(un)!==-1},Rt=wt("n"),Nt=wt("s"),Yt=wt("w"),Wt=wt("e"),Xt=Rt?fe+Qe:fe,Qt=Nt?be+Qe:be,rn=Yt?ke+Ne:ke,xn=Wt?Le+Ne:Le;$e&&(Rt&&(Xt=fe-Qe),Nt&&(Qt=be-Qe)),(!$e&&Qt-Xt>10||$e&&Xt-Qt>10)&&(ot(Be,de[Be]=$e?Xt:qt(Xt)),ot(ze,de[ze]=$e?Qt:qt(Qt))),xn-rn>10&&(ot(je,de[je]=Ve?rn:Bt(rn)),ot(ge,de[ge]=Ve?xn:Bt(xn)))}ye.attr("d",y(ce,de)),ft(pe,de),b(ce,me,de,ht)}function ft(Ne,Qe){(Ve||$e)&&function(){var ut=Qe.type!=="path",dt=Ne.selectAll(".visual-cue").data([0]);dt.enter().append("path").attr({fill:"#fff","fill-rule":"evenodd",stroke:"#000","stroke-width":1}).classed("visual-cue",!0);var _t=Ft(Ve?Qe.xanchor:i.midRange(ut?[Qe.x0,Qe.x1]:w.extractPathCoords(Qe.path,m.paramIsX))),It=Ot($e?Qe.yanchor:i.midRange(ut?[Qe.y0,Qe.y1]:w.extractPathCoords(Qe.path,m.paramIsY)));if(_t=w.roundPositionForSharpStrokeRendering(_t,1),It=w.roundPositionForSharpStrokeRendering(It,1),Ve&&$e){var Lt="M"+(_t-1-1)+","+(It-1-1)+"h-8v2h8 v8h2v-8 h8v-2h-8 v-8h-2 Z";dt.attr("d",Lt)}else if(Ve){var yt="M"+(_t-1-1)+","+(It-9-1)+"v18 h2 v-18 Z";dt.attr("d",yt)}else{var Pt="M"+(_t-9-1)+","+(It-1-1)+"h18 v2 h-18 Z";dt.attr("d",Pt)}}()}function Re(Ne){Ne.selectAll(".visual-cue").remove()}s.init(Ke),Vt.node().onmousemove=Je}(O,ie,B,z,j,Q):B.editable===!0&&ie.style("pointer-events",Z||a.opacity(q)*G<=.5?"stroke":"all");ie.node().addEventListener("click",function(){return function(ce,ye){if(x(ce)){var de=+ye.node().getAttribute("data-index");if(de>=0){if(de===ce._fullLayout._activeShapeIndex)return void I(ce);ce._fullLayout._activeShapeIndex=de,ce._fullLayout._deactivateShape=I,k(ce)}}}(O,ie)})}B._input&&B.visible!==!1&&(B.layer!=="below"?W(O._fullLayout._shapeUpperLayer):B.xref==="paper"||B.yref==="paper"?W(O._fullLayout._shapeLowerLayer):N._hadPlotinfo?W((N.mainplotinfo||N).shapelayer):W(O._fullLayout._shapeLowerLayer))}function L(O,z,F){var B=(F.xref+F.yref).replace(/paper/g,"").replace(/[xyz][1-9]* *domain/g,"");u.setClipUrl(O,B?"clip"+z._fullLayout._uid+B:null,z)}function b(O,z,F,B){if(B.selectAll(".shape-label").remove(),F.label.text||F.label.texttemplate){var N;if(F.label.texttemplate){var W={};if(F.type!=="path"){var j=M.getFromId(O,F.xref),$=M.getFromId(O,F.yref);for(var U in C){var G=C[U](F,j,$);G!==void 0&&(W[U]=G)}}N=i.texttemplateStringForShapes(F.label.texttemplate,{},O._fullLayout._d3locale,W)}else N=F.label.text;var q,H,ne,te,Z={"data-index":z},X=F.label.font,Q=B.append("g").attr(Z).classed("shape-label",!0).append("text").attr({"data-notex":1}).classed("shape-label-text",!0).text(N);if(F.path){var re=y(O,F),ie=v(re,O);q=1/0,ne=1/0,H=-1/0,te=-1/0;for(var oe=0;oe=Le?Be-je:je-Be,-180/Math.PI*Math.atan2(ge,we)}(q,ne,H,te):0),Q.call(function(Le){return Le.call(u.font,X).attr({}),c.convertToTspans(Le,O),Le});var ae=function(Le,Be,ze,je,ge,we,Ee){var Ve,$e,Ye,st,ot=ge.label.textposition,ht=ge.label.textangle,bt=ge.label.padding,Et=ge.type,kt=Math.PI/180*we,xt=Math.sin(kt),Ft=Math.cos(kt),Ot=ge.label.xanchor,Bt=ge.label.yanchor;if(Et==="line"){ot==="start"?(Ve=Le,$e=Be):ot==="end"?(Ve=ze,$e=je):(Ve=(Le+ze)/2,$e=(Be+je)/2),Ot==="auto"&&(Ot=ot==="start"?ht==="auto"?ze>Le?"left":zeLe?"right":zeLe?"right":zeLe?"left":ze=U||(j[N]?G=z(G):$[N]&&(G=F(G)),N++),G})})}function I(O){x(O)&&O._fullLayout._activeShapeIndex>=0&&(l(O),delete O._fullLayout._activeShapeIndex,k(O))}T.exports={draw:k,drawOne:A,eraseActiveShape:function(O){if(x(O)){l(O);var z=O._fullLayout._activeShapeIndex,F=(O.layout||{}).shapes||[];if(z0&&EZ&&(Q="X"),Q});return q>Z&&(X=X.replace(/[\s,]*X.*/,""),g.log("Ignoring extra params in segment "+G)),H+X})}(v,l,u);if(v.xsizemode==="pixel"){var E=l(v.xanchor);o=E+v.x0,s=E+v.x1}else o=l(v.x0),s=l(v.x1);if(v.ysizemode==="pixel"){var x=u(v.yanchor);h=x-v.y0,c=x-v.y1}else h=u(v.y0),c=u(v.y1);if(m==="line")return"M"+o+","+h+"L"+s+","+c;if(m==="rect")return"M"+o+","+h+"H"+s+"V"+c+"H"+o+"Z";var A=(o+s)/2,L=(h+c)/2,b=Math.abs(A-o),R=Math.abs(L-h),I="A"+b+","+R,O=A+b+","+L;return"M"+O+I+" 0 1,1 "+A+","+(L-R)+I+" 0 0,1 "+O+"Z"}},89853:function(T,p,t){var d=t(34031);T.exports={moduleType:"component",name:"shapes",layoutAttributes:t(89827),supplyLayoutDefaults:t(84726),supplyDrawNewShapeDefaults:t(45547),includeBasePlot:t(76325)("shapes"),calcAutorange:t(5627),draw:d.draw,drawOne:d.drawOne}},37281:function(T){function p(i,M){return M?M.d2l(i):i}function t(i,M){return M?M.l2d(i):i}function d(i,M){return p(i.x1,M)-p(i.x0,M)}function g(i,M,v){return p(i.y1,v)-p(i.y0,v)}T.exports={x0:function(i){return i.x0},x1:function(i){return i.x1},y0:function(i){return i.y0},y1:function(i){return i.y1},slope:function(i,M,v){return i.type!=="line"?void 0:g(i,0,v)/d(i,M)},dx:d,dy:g,width:function(i,M){return Math.abs(d(i,M))},height:function(i,M,v){return Math.abs(g(i,0,v))},length:function(i,M,v){return i.type!=="line"?void 0:Math.sqrt(Math.pow(d(i,M),2)+Math.pow(g(i,0,v),2))},xcenter:function(i,M){return t((p(i.x1,M)+p(i.x0,M))/2,M)},ycenter:function(i,M,v){return t((p(i.y1,v)+p(i.y0,v))/2,v)}}},75067:function(T,p,t){var d=t(41940),g=t(35025),i=t(1426).extendDeepAll,M=t(30962).overrideAll,v=t(85594),f=t(44467).templatedArray,l=t(98292),a=f("step",{visible:{valType:"boolean",dflt:!0},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle"},args:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},label:{valType:"string"},value:{valType:"string"},execute:{valType:"boolean",dflt:!0}});T.exports=M(f("slider",{visible:{valType:"boolean",dflt:!0},active:{valType:"number",min:0,dflt:0},steps:a,lenmode:{valType:"enumerated",values:["fraction","pixels"],dflt:"fraction"},len:{valType:"number",min:0,dflt:1},x:{valType:"number",min:-2,max:3,dflt:0},pad:i(g({editType:"arraydraw"}),{},{t:{dflt:20}}),xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left"},y:{valType:"number",min:-2,max:3,dflt:0},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top"},transition:{duration:{valType:"number",min:0,dflt:150},easing:{valType:"enumerated",values:v.transition.easing.values,dflt:"cubic-in-out"}},currentvalue:{visible:{valType:"boolean",dflt:!0},xanchor:{valType:"enumerated",values:["left","center","right"],dflt:"left"},offset:{valType:"number",dflt:10},prefix:{valType:"string"},suffix:{valType:"string"},font:d({})},font:d({}),activebgcolor:{valType:"color",dflt:l.gripBgActiveColor},bgcolor:{valType:"color",dflt:l.railBgColor},bordercolor:{valType:"color",dflt:l.railBorderColor},borderwidth:{valType:"number",min:0,dflt:l.railBorderWidth},ticklen:{valType:"number",min:0,dflt:l.tickLength},tickcolor:{valType:"color",dflt:l.tickColor},tickwidth:{valType:"number",min:0,dflt:1},minorticklen:{valType:"number",min:0,dflt:l.minorTickLength}}),"arraydraw","from-root")},98292:function(T){T.exports={name:"sliders",containerClassName:"slider-container",groupClassName:"slider-group",inputAreaClass:"slider-input-area",railRectClass:"slider-rail-rect",railTouchRectClass:"slider-rail-touch-rect",gripRectClass:"slider-grip-rect",tickRectClass:"slider-tick-rect",inputProxyClass:"slider-input-proxy",labelsClass:"slider-labels",labelGroupClass:"slider-label-group",labelClass:"slider-label",currentValueClass:"slider-current-value",railHeight:5,menuIndexAttrName:"slider-active-index",autoMarginIdRoot:"slider-",minWidth:30,minHeight:30,textPadX:40,arrowOffsetX:4,railRadius:2,railWidth:5,railBorder:4,railBorderWidth:1,railBorderColor:"#bec8d9",railBgColor:"#f8fafc",railInset:8,stepInset:10,gripRadius:10,gripWidth:20,gripHeight:20,gripBorder:20,gripBorderWidth:1,gripBorderColor:"#bec8d9",gripBgColor:"#f6f8fa",gripBgActiveColor:"#dbdde0",labelPadding:8,labelOffset:0,tickWidth:1,tickColor:"#333",tickOffset:25,tickLength:7,minorTickOffset:25,minorTickColor:"#333",minorTickLength:4,currentValuePadding:8,currentValueInset:0}},12343:function(T,p,t){var d=t(71828),g=t(85501),i=t(75067),M=t(98292).name,v=i.steps;function f(a,u,o){function s(y,C){return d.coerce(a,u,i,y,C)}for(var h=g(a,u,{name:"steps",handleItemDefaults:l}),c=0,m=0;m0&&(q=q.transition().duration(N.transition.duration).ease(N.transition.easing)),q.attr("transform",f(G-.5*u.gripWidth,N._dims.currentValueTotalHeight))}}function I(B,N){var W=B._dims;return W.inputAreaStart+u.stepInset+(W.inputAreaLength-2*u.stepInset)*Math.min(1,Math.max(0,N))}function O(B,N){var W=B._dims;return Math.min(1,Math.max(0,(N-u.stepInset-W.inputAreaStart)/(W.inputAreaLength-2*u.stepInset-2*W.inputAreaStart)))}function z(B,N,W){var j=W._dims,$=v.ensureSingle(B,"rect",u.railTouchRectClass,function(U){U.call(L,N,B,W).style("pointer-events","all")});$.attr({width:j.inputAreaLength,height:Math.max(j.inputAreaWidth,u.tickOffset+W.ticklen+j.labelHeight)}).call(i.fill,W.bgcolor).attr("opacity",0),M.setTranslate($,0,j.currentValueTotalHeight)}function F(B,N){var W=N._dims,j=W.inputAreaLength-2*u.railInset,$=v.ensureSingle(B,"rect",u.railRectClass);$.attr({width:j,height:u.railWidth,rx:u.railRadius,ry:u.railRadius,"shape-rendering":"crispEdges"}).call(i.stroke,N.bordercolor).call(i.fill,N.bgcolor).style("stroke-width",N.borderwidth+"px"),M.setTranslate($,u.railInset,.5*(W.inputAreaWidth-u.railWidth)+W.currentValueTotalHeight)}T.exports=function(B){var N=B._context.staticPlot,W=B._fullLayout,j=function(ne,te){for(var Z=ne[u.name],X=[],Q=0;Q0?[0]:[]);function U(ne){ne._commandObserver&&(ne._commandObserver.remove(),delete ne._commandObserver),g.autoMargin(B,m(ne))}if($.enter().append("g").classed(u.containerClassName,!0).style("cursor",N?null:"ew-resize"),$.exit().each(function(){d.select(this).selectAll("g."+u.groupClassName).each(U)}).remove(),j.length!==0){var G=$.selectAll("g."+u.groupClassName).data(j,w);G.enter().append("g").classed(u.groupClassName,!0),G.exit().each(U).remove();for(var q=0;q0||xe<0){var Se={left:[-Pe,0],right:[Pe,0],top:[0,-Pe],bottom:[0,Pe]}[x.side];X.attr("transform",f(Se[0],Se[1]))}}}return q.call(H),$&&(F?q.on(".opacity",null):(I=0,O=!0,q.text(k).on("mouseover.opacity",function(){d.select(this).transition().duration(o.SHOW_PLACEHOLDER).style("opacity",1)}).on("mouseout.opacity",function(){d.select(this).transition().duration(o.HIDE_PLACEHOLDER).style("opacity",0)})),q.call(u.makeEditable,{gd:c}).on("edit",function(Z){E!==void 0?M.call("_guiRestyle",c,_,Z,E):M.call("_guiRelayout",c,_,Z)}).on("cancel",function(){this.text(this.attr("data-unformatted")).call(H)}).on("input",function(Z){this.text(Z||" ").call(u.positionText,A.x,A.y)})),q.classed("js-placeholder",O),b}}},7163:function(T,p,t){var d=t(41940),g=t(22399),i=t(1426).extendFlat,M=t(30962).overrideAll,v=t(35025),f=t(44467).templatedArray,l=f("button",{visible:{valType:"boolean"},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle"},args:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},args2:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},label:{valType:"string",dflt:""},execute:{valType:"boolean",dflt:!0}});T.exports=M(f("updatemenu",{_arrayAttrRegexps:[/^updatemenus\[(0|[1-9][0-9]+)\]\.buttons/],visible:{valType:"boolean"},type:{valType:"enumerated",values:["dropdown","buttons"],dflt:"dropdown"},direction:{valType:"enumerated",values:["left","right","up","down"],dflt:"down"},active:{valType:"integer",min:-1,dflt:0},showactive:{valType:"boolean",dflt:!0},buttons:l,x:{valType:"number",min:-2,max:3,dflt:-.05},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"right"},y:{valType:"number",min:-2,max:3,dflt:1},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top"},pad:i(v({editType:"arraydraw"}),{}),font:d({}),bgcolor:{valType:"color"},bordercolor:{valType:"color",dflt:g.borderLine},borderwidth:{valType:"number",min:0,dflt:1,editType:"arraydraw"}}),"arraydraw","from-root")},75909:function(T){T.exports={name:"updatemenus",containerClassName:"updatemenu-container",headerGroupClassName:"updatemenu-header-group",headerClassName:"updatemenu-header",headerArrowClassName:"updatemenu-header-arrow",dropdownButtonGroupClassName:"updatemenu-dropdown-button-group",dropdownButtonClassName:"updatemenu-dropdown-button",buttonClassName:"updatemenu-button",itemRectClassName:"updatemenu-item-rect",itemTextClassName:"updatemenu-item-text",menuIndexAttrName:"updatemenu-active-index",autoMarginIdRoot:"updatemenu-",blankHeaderOpts:{label:" "},minWidth:30,minHeight:30,textPadX:24,arrowPadX:16,rx:2,ry:2,textOffsetX:12,textOffsetY:3,arrowOffsetX:4,gapButtonHeader:5,gapButton:2,activeColor:"#F4FAFF",hoverColor:"#F4FAFF",arrowSymbol:{left:"◄",right:"►",up:"▲",down:"▼"}}},64897:function(T,p,t){var d=t(71828),g=t(85501),i=t(7163),M=t(75909).name,v=i.buttons;function f(a,u,o){function s(h,c){return d.coerce(a,u,i,h,c)}s("visible",g(a,u,{name:"buttons",handleItemDefaults:l}).length>0)&&(s("active"),s("direction"),s("type"),s("showactive"),s("x"),s("y"),d.noneOrAll(a,u,["x","y"]),s("xanchor"),s("yanchor"),s("pad.t"),s("pad.r"),s("pad.b"),s("pad.l"),d.coerceFont(s,"font",o.font),s("bgcolor",o.paper_bgcolor),s("bordercolor"),s("borderwidth"))}function l(a,u){function o(s,h){return d.coerce(a,u,v,s,h)}o("visible",a.method==="skip"||Array.isArray(a.args))&&(o("method"),o("args"),o("args2"),o("label"),o("execute"))}T.exports=function(a,u){g(a,u,{name:M,handleItemDefaults:f})}},13689:function(T,p,t){var d=t(39898),g=t(74875),i=t(7901),M=t(91424),v=t(71828),f=t(63893),l=t(44467).arrayEditor,a=t(18783).LINE_SPACING,u=t(75909),o=t(25849);function s(I){return I._index}function h(I,O){return+I.attr(u.menuIndexAttrName)===O._index}function c(I,O,z,F,B,N,W,j){O.active=W,l(I.layout,u.name,O).applyUpdate("active",W),O.type==="buttons"?w(I,F,null,null,O):O.type==="dropdown"&&(B.attr(u.menuIndexAttrName,"-1"),m(I,F,B,N,O),j||w(I,F,B,N,O))}function m(I,O,z,F,B){var N=v.ensureSingle(O,"g",u.headerClassName,function(q){q.style("pointer-events","all")}),W=B._dims,j=B.active,$=B.buttons[j]||u.blankHeaderOpts,U={y:B.pad.t,yPad:0,x:B.pad.l,xPad:0,index:0},G={width:W.headerWidth,height:W.headerHeight};N.call(y,B,$,I).call(b,B,U,G),v.ensureSingle(O,"text",u.headerArrowClassName,function(q){q.attr("text-anchor","end").call(M.font,B.font).text(u.arrowSymbol[B.direction])}).attr({x:W.headerWidth-u.arrowOffsetX+B.pad.l,y:W.headerHeight/2+u.textOffsetY+B.pad.t}),N.on("click",function(){z.call(R,String(h(z,B)?-1:B._index)),w(I,O,z,F,B)}),N.on("mouseover",function(){N.call(E)}),N.on("mouseout",function(){N.call(x,B)}),M.setTranslate(O,W.lx,W.ly)}function w(I,O,z,F,B){z||(z=O).attr("pointer-events","all");var N=function(X){return+X.attr(u.menuIndexAttrName)==-1}(z)&&B.type!=="buttons"?[]:B.buttons,W=B.type==="dropdown"?u.dropdownButtonClassName:u.buttonClassName,j=z.selectAll("g."+W).data(v.filterVisible(N)),$=j.enter().append("g").classed(W,!0),U=j.exit();B.type==="dropdown"?($.attr("opacity","0").transition().attr("opacity","1"),U.transition().attr("opacity","0").remove()):U.remove();var G=0,q=0,H=B._dims,ne=["up","down"].indexOf(B.direction)!==-1;B.type==="dropdown"&&(ne?q=H.headerHeight+u.gapButtonHeader:G=H.headerWidth+u.gapButtonHeader),B.type==="dropdown"&&B.direction==="up"&&(q=-u.gapButtonHeader+u.gapButton-H.openHeight),B.type==="dropdown"&&B.direction==="left"&&(G=-u.gapButtonHeader+u.gapButton-H.openWidth);var te={x:H.lx+G+B.pad.l,y:H.ly+q+B.pad.t,yPad:u.gapButton,xPad:u.gapButton,index:0},Z={l:te.x+B.borderwidth,t:te.y+B.borderwidth};j.each(function(X,Q){var re=d.select(this);re.call(y,B,X,I).call(b,B,te),re.on("click",function(){d.event.defaultPrevented||(X.execute&&(X.args2&&B.active===Q?(c(I,B,0,O,z,F,-1),g.executeAPICommand(I,X.method,X.args2)):(c(I,B,0,O,z,F,Q),g.executeAPICommand(I,X.method,X.args))),I.emit("plotly_buttonclicked",{menu:B,button:X,active:B.active}))}),re.on("mouseover",function(){re.call(E)}),re.on("mouseout",function(){re.call(x,B),j.call(k,B)})}),j.call(k,B),ne?(Z.w=Math.max(H.openWidth,H.headerWidth),Z.h=te.y-Z.t):(Z.w=te.x-Z.l,Z.h=Math.max(H.openHeight,H.headerHeight)),Z.direction=B.direction,F&&(j.size()?function(X,Q,re,ie,oe,ue){var ce,ye,de,me=oe.direction,pe=me==="up"||me==="down",xe=oe._dims,Pe=oe.active;if(pe)for(ye=0,de=0;de0?[0]:[]);if(B.enter().append("g").classed(u.containerClassName,!0).style("cursor","pointer"),B.exit().each(function(){d.select(this).selectAll("g."+u.headerGroupClassName).each(F)}).remove(),z.length!==0){var N=B.selectAll("g."+u.headerGroupClassName).data(z,s);N.enter().append("g").classed(u.headerGroupClassName,!0);for(var W=v.ensureSingle(B,"g",u.dropdownButtonGroupClassName,function(q){q.style("pointer-events","all")}),j=0;jb,O=v.barLength+2*v.barPad,z=v.barWidth+2*v.barPad,F=y,B=_+k;B+z>s&&(B=s-z);var N=this.container.selectAll("rect.scrollbar-horizontal").data(I?[0]:[]);N.exit().on(".drag",null).remove(),N.enter().append("rect").classed("scrollbar-horizontal",!0).call(g.fill,v.barColor),I?(this.hbar=N.attr({rx:v.barRadius,ry:v.barRadius,x:F,y:B,width:O,height:z}),this._hbarXMin=F+O/2,this._hbarTranslateMax=b-O):(delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax);var W=k>R,j=v.barWidth+2*v.barPad,$=v.barLength+2*v.barPad,U=y+C,G=_;U+j>o&&(U=o-j);var q=this.container.selectAll("rect.scrollbar-vertical").data(W?[0]:[]);q.exit().on(".drag",null).remove(),q.enter().append("rect").classed("scrollbar-vertical",!0).call(g.fill,v.barColor),W?(this.vbar=q.attr({rx:v.barRadius,ry:v.barRadius,x:U,y:G,width:j,height:$}),this._vbarYMin=G+$/2,this._vbarTranslateMax=R-$):(delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax);var H=this.id,ne=h-.5,te=W?c+j+.5:c+.5,Z=m-.5,X=I?w+z+.5:w+.5,Q=u._topdefs.selectAll("#"+H).data(I||W?[0]:[]);if(Q.exit().remove(),Q.enter().append("clipPath").attr("id",H).append("rect"),I||W?(this._clipRect=Q.select("rect").attr({x:Math.floor(ne),y:Math.floor(Z),width:Math.ceil(te)-Math.floor(ne),height:Math.ceil(X)-Math.floor(Z)}),this.container.call(i.setClipUrl,H,this.gd),this.bg.attr({x:y,y:_,width:C,height:k})):(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(i.setClipUrl,null),delete this._clipRect),I||W){var re=d.behavior.drag().on("dragstart",function(){d.event.sourceEvent.preventDefault()}).on("drag",this._onBoxDrag.bind(this));this.container.on("wheel",null).on("wheel",this._onBoxWheel.bind(this)).on(".drag",null).call(re);var ie=d.behavior.drag().on("dragstart",function(){d.event.sourceEvent.preventDefault(),d.event.sourceEvent.stopPropagation()}).on("drag",this._onBarDrag.bind(this));I&&this.hbar.on(".drag",null).call(ie),W&&this.vbar.on(".drag",null).call(ie)}this.setTranslate(l,a)},v.prototype.disable=function(){(this.hbar||this.vbar)&&(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(i.setClipUrl,null),delete this._clipRect),this.hbar&&(this.hbar.on(".drag",null),this.hbar.remove(),delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax),this.vbar&&(this.vbar.on(".drag",null),this.vbar.remove(),delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax)},v.prototype._onBoxDrag=function(){var f=this.translateX,l=this.translateY;this.hbar&&(f-=d.event.dx),this.vbar&&(l-=d.event.dy),this.setTranslate(f,l)},v.prototype._onBoxWheel=function(){var f=this.translateX,l=this.translateY;this.hbar&&(f+=d.event.deltaY),this.vbar&&(l+=d.event.deltaY),this.setTranslate(f,l)},v.prototype._onBarDrag=function(){var f=this.translateX,l=this.translateY;if(this.hbar){var a=f+this._hbarXMin,u=a+this._hbarTranslateMax;f=(M.constrain(d.event.x,a,u)-a)/(u-a)*(this.position.w-this._box.w)}if(this.vbar){var o=l+this._vbarYMin,s=o+this._vbarTranslateMax;l=(M.constrain(d.event.y,o,s)-o)/(s-o)*(this.position.h-this._box.h)}this.setTranslate(f,l)},v.prototype.setTranslate=function(f,l){var a=this.position.w-this._box.w,u=this.position.h-this._box.h;if(f=M.constrain(f||0,0,a),l=M.constrain(l||0,0,u),this.translateX=f,this.translateY=l,this.container.call(i.setTranslate,this._box.l-this.position.l-f,this._box.t-this.position.t-l),this._clipRect&&this._clipRect.attr({x:Math.floor(this.position.l+f-.5),y:Math.floor(this.position.t+l-.5)}),this.hbar){var o=f/a;this.hbar.call(i.setTranslate,f+o*this._hbarTranslateMax,l)}if(this.vbar){var s=l/u;this.vbar.call(i.setTranslate,f,l+s*this._vbarTranslateMax)}}},18783:function(T){T.exports={FROM_BL:{left:0,center:.5,right:1,bottom:0,middle:.5,top:1},FROM_TL:{left:0,center:.5,right:1,bottom:1,middle:.5,top:0},FROM_BR:{left:1,center:.5,right:0,bottom:0,middle:.5,top:1},LINE_SPACING:1.3,CAP_SHIFT:.7,MID_SHIFT:.35,OPPOSITE_SIDE:{left:"right",right:"left",top:"bottom",bottom:"top"}}},24695:function(T){T.exports={axisRefDescription:function(p,t,d){return["If set to a",p,"axis id (e.g. *"+p+"* or","*"+p+"2*), the `"+p+"` position refers to a",p,"coordinate. If set to *paper*, the `"+p+"`","position refers to the distance from the",t,"of the plotting","area in normalized coordinates where *0* (*1*) corresponds to the",t,"("+d+"). If set to a",p,"axis ID followed by","*domain* (separated by a space), the position behaves like for","*paper*, but refers to the distance in fractions of the domain","length from the",t,"of the domain of that axis: e.g.,","*"+p+"2 domain* refers to the domain of the second",p," axis and a",p,"position of 0.5 refers to the","point between the",t,"and the",d,"of the domain of the","second",p,"axis."].join(" ")}}},22372:function(T){T.exports={INCREASING:{COLOR:"#3D9970",SYMBOL:"▲"},DECREASING:{COLOR:"#FF4136",SYMBOL:"▼"}}},31562:function(T){T.exports={FORMAT_LINK:"https://github.com/d3/d3-format/tree/v1.4.5#d3-format",DATE_FORMAT_LINK:"https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format"}},74808:function(T){T.exports={COMPARISON_OPS:["=","!=","<",">=",">","<="],COMPARISON_OPS2:["=","<",">=",">","<="],INTERVAL_OPS:["[]","()","[)","(]","][",")(","](",")["],SET_OPS:["{}","}{"],CONSTRAINT_REDUCTION:{"=":"=","<":"<","<=":"<",">":">",">=":">","[]":"[]","()":"[]","[)":"[]","(]":"[]","][":"][",")(":"][","](":"][",")[":"]["}}},29659:function(T){T.exports={solid:[[],0],dot:[[.5,1],200],dash:[[.5,1],50],longdash:[[.5,1],10],dashdot:[[.5,.625,.875,1],50],longdashdot:[[.5,.7,.8,1],10]}},87381:function(T){T.exports={circle:"●","circle-open":"○",square:"■","square-open":"□",diamond:"◆","diamond-open":"◇",cross:"+",x:"❌"}},37822:function(T){T.exports={SHOW_PLACEHOLDER:100,HIDE_PLACEHOLDER:1e3,DESELECTDIM:.2}},50606:function(T){T.exports={BADNUM:void 0,FP_SAFE:1e-4*Number.MAX_VALUE,ONEMAXYEAR:316224e5,ONEAVGYEAR:315576e5,ONEMINYEAR:31536e6,ONEMAXQUARTER:79488e5,ONEAVGQUARTER:78894e5,ONEMINQUARTER:76896e5,ONEMAXMONTH:26784e5,ONEAVGMONTH:26298e5,ONEMINMONTH:24192e5,ONEWEEK:6048e5,ONEDAY:864e5,ONEHOUR:36e5,ONEMIN:6e4,ONESEC:1e3,EPOCHJD:24405875e-1,ALMOST_EQUAL:.999999,LOG_CLIP:10,MINUS_SIGN:"−"}},77922:function(T,p){p.xmlns="http://www.w3.org/2000/xmlns/",p.svg="http://www.w3.org/2000/svg",p.xlink="http://www.w3.org/1999/xlink",p.svgAttrs={xmlns:p.svg,"xmlns:xlink":p.xlink}},8729:function(T,p,t){p.version=t(11506).version,t(7417),t(98847);for(var d=t(73972),g=p.register=d.register,i=t(10641),M=Object.keys(i),v=0;v",""," ",""," plotly-logomark"," "," "," "," "," "," "," "," "," "," "," "," "," ",""].join("")}}},99863:function(T,p){p.isLeftAnchor=function(t){return t.xanchor==="left"||t.xanchor==="auto"&&t.x<=.3333333333333333},p.isCenterAnchor=function(t){return t.xanchor==="center"||t.xanchor==="auto"&&t.x>.3333333333333333&&t.x<.6666666666666666},p.isRightAnchor=function(t){return t.xanchor==="right"||t.xanchor==="auto"&&t.x>=.6666666666666666},p.isTopAnchor=function(t){return t.yanchor==="top"||t.yanchor==="auto"&&t.y>=.6666666666666666},p.isMiddleAnchor=function(t){return t.yanchor==="middle"||t.yanchor==="auto"&&t.y>.3333333333333333&&t.y<.6666666666666666},p.isBottomAnchor=function(t){return t.yanchor==="bottom"||t.yanchor==="auto"&&t.y<=.3333333333333333}},26348:function(T,p,t){var d=t(64872),g=d.mod,i=d.modHalf,M=Math.PI,v=2*M;function f(o){return Math.abs(o[1]-o[0])>v-1e-14}function l(o,s){return i(s-o,v)}function a(o,s){if(f(s))return!0;var h,c;s[0](c=g(c,v))&&(c+=v);var m=g(o,v),w=m+v;return m>=h&&m<=c||w>=h&&w<=c}function u(o,s,h,c,m,w,y){m=m||0,w=w||0;var C,_,k,E,x,A=f([h,c]);function L(O,z){return[O*Math.cos(z)+m,w-O*Math.sin(z)]}A?(C=0,_=M,k=v):h=m&&o<=w);var m,w},pathArc:function(o,s,h,c,m){return u(null,o,s,h,c,m,0)},pathSector:function(o,s,h,c,m){return u(null,o,s,h,c,m,1)},pathAnnulus:function(o,s,h,c,m,w){return u(o,s,h,c,m,w,1)}}},73627:function(T,p){var t=Array.isArray,d=ArrayBuffer,g=DataView;function i(f){return d.isView(f)&&!(f instanceof g)}function M(f){return t(f)||i(f)}function v(f,l,a){if(M(f)){if(M(f[0])){for(var u=a,o=0;ow.max?c.set(m):c.set(+h)}},integer:{coerceFunction:function(h,c,m,w){h%1||!d(h)||w.min!==void 0&&hw.max?c.set(m):c.set(+h)}},string:{coerceFunction:function(h,c,m,w){if(typeof h!="string"){var y=typeof h=="number";w.strict!==!0&&y?c.set(String(h)):c.set(m)}else w.noBlank&&!h?c.set(m):c.set(h)}},color:{coerceFunction:function(h,c,m){g(h).isValid()?c.set(h):c.set(m)}},colorlist:{coerceFunction:function(h,c,m){Array.isArray(h)&&h.length&&h.every(function(w){return g(w).isValid()})?c.set(h):c.set(m)}},colorscale:{coerceFunction:function(h,c,m){c.set(M.get(h,m))}},angle:{coerceFunction:function(h,c,m){h==="auto"?c.set("auto"):d(h)?c.set(u(+h,360)):c.set(m)}},subplotid:{coerceFunction:function(h,c,m,w){var y=w.regex||a(m);typeof h=="string"&&y.test(h)?c.set(h):c.set(m)},validateFunction:function(h,c){var m=c.dflt;return h===m||typeof h=="string"&&!!a(m).test(h)}},flaglist:{coerceFunction:function(h,c,m,w){if((w.extras||[]).indexOf(h)===-1)if(typeof h=="string"){for(var y=h.split("+"),C=0;C=d&&N<=g?N:a}if(typeof N!="string"&&typeof N!="number")return a;N=String(N);var G=k(W),q=N.charAt(0);!G||q!=="G"&&q!=="g"||(N=N.substr(1),W="");var H=G&&W.substr(0,7)==="chinese",ne=N.match(H?C:y);if(!ne)return a;var te=ne[1],Z=ne[3]||"1",X=Number(ne[5]||1),Q=Number(ne[7]||0),re=Number(ne[9]||0),ie=Number(ne[11]||0);if(G){if(te.length===2)return a;var oe;te=Number(te);try{var ue=m.getComponentMethod("calendars","getCal")(W);if(H){var ce=Z.charAt(Z.length-1)==="i";Z=parseInt(Z,10),oe=ue.newDate(te,ue.toMonthIndex(te,Z,ce),X)}else oe=ue.newDate(te,Number(Z),X)}catch{return a}return oe?(oe.toJD()-c)*u+Q*o+re*s+ie*h:a}te=te.length===2?(Number(te)+2e3-_)%100+_:Number(te),Z-=1;var ye=new Date(Date.UTC(2e3,Z,X,Q,re));return ye.setUTCFullYear(te),ye.getUTCMonth()!==Z||ye.getUTCDate()!==X?a:ye.getTime()+ie*h},d=p.MIN_MS=p.dateTime2ms("-9999"),g=p.MAX_MS=p.dateTime2ms("9999-12-31 23:59:59.9999"),p.isDateTime=function(N,W){return p.dateTime2ms(N,W)!==a};var x=90*u,A=3*o,L=5*s;function b(N,W,j,$,U){if((W||j||$||U)&&(N+=" "+E(W,2)+":"+E(j,2),($||U)&&(N+=":"+E($,2),U))){for(var G=4;U%10==0;)G-=1,U/=10;N+="."+E(U,G)}return N}p.ms2DateTime=function(N,W,j){if(typeof N!="number"||!(N>=d&&N<=g))return a;W||(W=0);var $,U,G,q,H,ne,te=Math.floor(10*f(N+.05,1)),Z=Math.round(N-te/10);if(k(j)){var X=Math.floor(Z/u)+c,Q=Math.floor(f(N,u));try{$=m.getComponentMethod("calendars","getCal")(j).fromJD(X).formatDate("yyyy-mm-dd")}catch{$=w("G%Y-%m-%d")(new Date(Z))}if($.charAt(0)==="-")for(;$.length<11;)$="-0"+$.substr(1);else for(;$.length<10;)$="0"+$;U=W=d+u&&N<=g-u))return a;var W=Math.floor(10*f(N+.05,1)),j=new Date(Math.round(N-W/10));return b(i("%Y-%m-%d")(j),j.getHours(),j.getMinutes(),j.getSeconds(),10*j.getUTCMilliseconds()+W)},p.cleanDate=function(N,W,j){if(N===a)return W;if(p.isJSDate(N)||typeof N=="number"&&isFinite(N)){if(k(j))return v.error("JS Dates and milliseconds are incompatible with world calendars",N),W;if(!(N=p.ms2DateTimeLocal(+N))&&W!==void 0)return W}else if(!p.isDateTime(N,j))return v.error("unrecognized date",N),W;return N};var R=/%\d?f/g,I=/%h/g,O={1:"1",2:"1",3:"2",4:"2"};function z(N,W,j,$){N=N.replace(R,function(G){var q=Math.min(+G.charAt(1)||6,6);return(W/1e3%1+2).toFixed(q).substr(2).replace(/0+$/,"")||"0"});var U=new Date(Math.floor(W+.05));if(N=N.replace(I,function(){return O[j("%q")(U)]}),k($))try{N=m.getComponentMethod("calendars","worldCalFmt")(N,W,$)}catch{return"Invalid"}return j(N)(U)}var F=[59,59.9,59.99,59.999,59.9999];p.formatDate=function(N,W,j,$,U,G){if(U=k(U)&&U,!W)if(j==="y")W=G.year;else if(j==="m")W=G.month;else{if(j!=="d")return function(q,H){var ne=f(q+.05,u),te=E(Math.floor(ne/o),2)+":"+E(f(Math.floor(ne/s),60),2);if(H!=="M"){M(H)||(H=0);var Z=(100+Math.min(f(q/h,60),F[H])).toFixed(H).substr(1);H>0&&(Z=Z.replace(/0+$/,"").replace(/[\.]$/,"")),te+=":"+Z}return te}(N,j)+` `+z(G.dayMonthYear,N,$,U);W=G.dayMonth+` -`+G.year}return z(W,N,$,U)};var B=3*u;p.incrementMonth=function(N,W,j){j=k(j)&&j;var $=f(N,u);if(N=Math.round(N-$),j)try{var U=Math.round(N/u)+h,G=m.getComponentMethod("calendars","getCal")(j),q=G.fromJD(U);return W%12?G.add(q,W,"m"):G.add(q,W/12,"y"),(q.toJD()-h)*u+$}catch{v.error("invalid ms "+N+" in calendar "+j)}var H=new Date(N+B);return H.setUTCMonth(H.getUTCMonth()+W)+$-B},p.findExactDates=function(N,W){for(var j,$,U=0,G=0,q=0,H=0,ne=k(W)&&m.getComponentMethod("calendars","getCal")(W),te=0;te0&&b[R+1][0]<0)return R;return null}switch(w=x==="RUS"||x==="FJI"?function(b){var R;if(L(b)===null)R=b;else for(R=new Array(b.length),_=0;_R?I[O++]=[b[_][0]+360,b[_][1]]:_===R?(I[O++]=b[_],I[O++]=[b[_][0],-90]):I[O++]=b[_];var z=o.tester(I);z.pts.pop(),A.push(z)}:function(b){A.push(o.tester(b))},k.type){case"MultiPolygon":for(y=0;yj&&(j=G,B=U)}else B=N;return M.default(B).geometry.coordinates}(z),I.fIn=b,I.fOut=z,k.push(z)}else l.log(["Location",I.loc,"does not have a valid GeoJSON geometry.","Traces with locationmode *geojson-id* only support","*Polygon* and *MultiPolygon* geometries."].join(" "))}delete _[R]}switch(y.type){case"FeatureCollection":var A=y.features;for(S=0;S100?(clearInterval(R),L("Unexpected error while fetching from "+x)):void b++},50)})}for(var k=0;k0&&(M.push(v),v=[])}return v.length>0&&M.push(v),M},p.makeLine=function(g){return g.length===1?{type:"LineString",coordinates:g[0]}:{type:"MultiLineString",coordinates:g}},p.makePolygon=function(g){if(g.length===1)return{type:"Polygon",coordinates:g};for(var i=new Array(g.length),M=0;M1||A<0||A>1?null:{x:l+w*A,y:a+_*A}}function f(l,a,u,o,s){var c=o*l+s*a;if(c<0)return o*o+s*s;if(c>u){var h=o-l,m=s-a;return h*h+m*m}var w=o*a-s*l;return w*w/u}p.segmentsIntersect=v,p.segmentDistance=function(l,a,u,o,s,c,h,m){if(v(l,a,u,o,s,c,h,m))return 0;var w=u-l,y=o-a,S=h-s,_=m-c,k=w*w+y*y,E=S*S+_*_,x=Math.min(f(w,y,k,s-l,c-a),f(w,y,k,h-l,m-a),f(S,_,E,l-s,a-c),f(S,_,E,u-s,o-c));return Math.sqrt(x)},p.getTextLocation=function(l,a,u,o){if(l===g&&o===i||(d={},g=l,i=o),d[u])return d[u];var s=l.getPointAtLength(M(u-o/2,a)),c=l.getPointAtLength(M(u+o/2,a)),h=Math.atan((c.y-s.y)/(c.x-s.x)),m=l.getPointAtLength(M(u,a)),w={x:(4*m.x+s.x+c.x)/6,y:(4*m.y+s.y+c.y)/6,theta:h};return d[u]=w,w},p.clearLocationCache=function(){g=null},p.getVisibleSegment=function(l,a,u){var o,s,c=a.left,h=a.right,m=a.top,w=a.bottom,y=0,S=l.getTotalLength(),_=S;function k(x){var A=l.getPointAtLength(x);x===0?o=A:x===S&&(s=A);var L=A.xh?A.x-h:0,b=A.yw?A.y-w:0;return Math.sqrt(L*L+b*b)}for(var E=k(y);E;){if((y+=E+u)>_)return;E=k(y)}for(E=k(_);E;){if(y>(_-=E+u))return;E=k(_)}return{min:y,max:_,len:_-y,total:S,isClosed:y===0&&_===S&&Math.abs(o.x-s.x)<.1&&Math.abs(o.y-s.y)<.1}},p.findPointOnPath=function(l,a,u,o){for(var s,c,h,m=(o=o||{}).pathLength||l.getTotalLength(),w=o.tolerance||.001,y=o.iterationLimit||30,S=l.getPointAtLength(0)[u]>l.getPointAtLength(m)[u]?-1:1,_=0,k=0,E=m;_0?E=s:k=s,_++}return c}},81697:function(T,p,t){var d=t(92770),g=t(84267),i=t(25075),M=t(21081),v=t(22399).defaultLine,f=t(73627).isArrayOrTypedArray,l=i(v);function a(s,c){var h=s;return h[3]*=c,h}function u(s){if(d(s))return l;var c=i(s);return c.length?c:l}function o(s){return d(s)?s:1}T.exports={formatColor:function(s,c,h){var m,w,y,S,_,k=s.color,E=f(k),x=f(c),A=M.extractOpts(s),L=[];if(m=A.colorscale!==void 0?M.makeColorScaleFuncFromTrace(s):u,w=E?function(R,I){return R[I]===void 0?l:i(m(R[I]))}:u,y=x?function(R,I){return R[I]===void 0?1:o(R[I])}:o,E||x)for(var b=0;b1?(d*p+d*t)/d:p+t,i=String(g).length;if(i>16){var M=String(t).length;if(i>=String(p).length+M){var v=parseFloat(g).toPrecision(12);v.indexOf("e+")===-1&&(g=+v)}}return g}},71828:function(T,p,t){var d=t(39898),g=t(84096).g0,i=t(60721).WU,M=t(92770),v=t(50606),f=v.FP_SAFE,l=-f,a=v.BADNUM,u=T.exports={};u.adjustFormat=function(Q){return!Q||/^\d[.]\df/.test(Q)||/[.]\d%/.test(Q)?Q:Q==="0.f"?"~f":/^\d%/.test(Q)?"~%":/^\ds/.test(Q)?"~s":!/^[~,.0$]/.test(Q)&&/[&fps]/.test(Q)?"~"+Q:Q};var o={};u.warnBadFormat=function(Q){var re=String(Q);o[re]||(o[re]=1,u.warn('encountered bad format: "'+re+'"'))},u.noFormat=function(Q){return String(Q)},u.numberFormat=function(Q){var re;try{re=i(u.adjustFormat(Q))}catch{return u.warnBadFormat(Q),u.noFormat}return re},u.nestedProperty=t(65487),u.keyedContainer=t(66636),u.relativeAttr=t(6962),u.isPlainObject=t(41965),u.toLogRange=t(58163),u.relinkPrivateKeys=t(51332);var s=t(73627);u.isTypedArray=s.isTypedArray,u.isArrayOrTypedArray=s.isArrayOrTypedArray,u.isArray1D=s.isArray1D,u.ensureArray=s.ensureArray,u.concat=s.concat,u.maxRowLength=s.maxRowLength,u.minRowLength=s.minRowLength;var c=t(64872);u.mod=c.mod,u.modHalf=c.modHalf;var h=t(96554);u.valObjectMeta=h.valObjectMeta,u.coerce=h.coerce,u.coerce2=h.coerce2,u.coerceFont=h.coerceFont,u.coercePattern=h.coercePattern,u.coerceHoverinfo=h.coerceHoverinfo,u.coerceSelectionMarkerOpacity=h.coerceSelectionMarkerOpacity,u.validate=h.validate;var m=t(41631);u.dateTime2ms=m.dateTime2ms,u.isDateTime=m.isDateTime,u.ms2DateTime=m.ms2DateTime,u.ms2DateTimeLocal=m.ms2DateTimeLocal,u.cleanDate=m.cleanDate,u.isJSDate=m.isJSDate,u.formatDate=m.formatDate,u.incrementMonth=m.incrementMonth,u.dateTick0=m.dateTick0,u.dfltRange=m.dfltRange,u.findExactDates=m.findExactDates,u.MIN_MS=m.MIN_MS,u.MAX_MS=m.MAX_MS;var w=t(65888);u.findBin=w.findBin,u.sorterAsc=w.sorterAsc,u.sorterDes=w.sorterDes,u.distinctVals=w.distinctVals,u.roundUp=w.roundUp,u.sort=w.sort,u.findIndexOfMin=w.findIndexOfMin,u.sortObjectKeys=t(78607);var y=t(80038);u.aggNums=y.aggNums,u.len=y.len,u.mean=y.mean,u.median=y.median,u.midRange=y.midRange,u.variance=y.variance,u.stdev=y.stdev,u.interp=y.interp;var S=t(35657);u.init2dArray=S.init2dArray,u.transposeRagged=S.transposeRagged,u.dot=S.dot,u.translationMatrix=S.translationMatrix,u.rotationMatrix=S.rotationMatrix,u.rotationXYMatrix=S.rotationXYMatrix,u.apply3DTransform=S.apply3DTransform,u.apply2DTransform=S.apply2DTransform,u.apply2DTransform2=S.apply2DTransform2,u.convertCssMatrix=S.convertCssMatrix,u.inverseTransformMatrix=S.inverseTransformMatrix;var _=t(26348);u.deg2rad=_.deg2rad,u.rad2deg=_.rad2deg,u.angleDelta=_.angleDelta,u.angleDist=_.angleDist,u.isFullCircle=_.isFullCircle,u.isAngleInsideSector=_.isAngleInsideSector,u.isPtInsideSector=_.isPtInsideSector,u.pathArc=_.pathArc,u.pathSector=_.pathSector,u.pathAnnulus=_.pathAnnulus;var k=t(99863);u.isLeftAnchor=k.isLeftAnchor,u.isCenterAnchor=k.isCenterAnchor,u.isRightAnchor=k.isRightAnchor,u.isTopAnchor=k.isTopAnchor,u.isMiddleAnchor=k.isMiddleAnchor,u.isBottomAnchor=k.isBottomAnchor;var E=t(87642);u.segmentsIntersect=E.segmentsIntersect,u.segmentDistance=E.segmentDistance,u.getTextLocation=E.getTextLocation,u.clearLocationCache=E.clearLocationCache,u.getVisibleSegment=E.getVisibleSegment,u.findPointOnPath=E.findPointOnPath;var x=t(1426);u.extendFlat=x.extendFlat,u.extendDeep=x.extendDeep,u.extendDeepAll=x.extendDeepAll,u.extendDeepNoArrays=x.extendDeepNoArrays;var A=t(47769);u.log=A.log,u.warn=A.warn,u.error=A.error;var L=t(30587);u.counterRegex=L.counter;var b=t(79990);u.throttle=b.throttle,u.throttleDone=b.done,u.clearThrottle=b.clear;var R=t(24401);function I(Q){var re={};for(var ie in Q)for(var oe=Q[ie],ue=0;uef||Q=re)&&M(Q)&&Q>=0&&Q%1==0},u.noop=t(64213),u.identity=t(23389),u.repeat=function(Q,re){for(var ie=new Array(re),oe=0;oeie?Math.max(ie,Math.min(re,Q)):Math.max(re,Math.min(ie,Q))},u.bBoxIntersect=function(Q,re,ie){return ie=ie||0,Q.left<=re.right+ie&&re.left<=Q.right+ie&&Q.top<=re.bottom+ie&&re.top<=Q.bottom+ie},u.simpleMap=function(Q,re,ie,oe,ue){for(var ce=Q.length,ye=new Array(ce),de=0;de=Math.pow(2,ie)?ue>10?(u.warn("randstr failed uniqueness"),me):Q(re,ie,oe,(ue||0)+1):me},u.OptionControl=function(Q,re){Q||(Q={}),re||(re="opt");var ie={optionList:[],_newoption:function(oe){oe[re]=Q,ie[oe.name]=oe,ie.optionList.push(oe)}};return ie["_"+re]=Q,ie},u.smooth=function(Q,re){if((re=Math.round(re)||0)<2)return Q;var ie,oe,ue,ce,ye=Q.length,de=2*ye,me=2*re-1,pe=new Array(me),xe=new Array(ye);for(ie=0;ie=de&&(ue-=de*Math.floor(ue/de)),ue<0?ue=-1-ue:ue>=ye&&(ue=de-1-ue),ce+=Q[ue]*pe[oe];xe[ie]=ce}return xe},u.syncOrAsync=function(Q,re,ie){var oe;function ue(){return u.syncOrAsync(Q,re,ie)}for(;Q.length;)if((oe=(0,Q.splice(0,1)[0])(re))&&oe.then)return oe.then(ue);return ie&&ie(re)},u.stripTrailingSlash=function(Q){return Q.substr(-1)==="/"?Q.substr(0,Q.length-1):Q},u.noneOrAll=function(Q,re,ie){if(Q){var oe,ue=!1,ce=!0;for(oe=0;oe0?ue:0})},u.fillArray=function(Q,re,ie,oe){if(oe=oe||u.identity,u.isArrayOrTypedArray(Q))for(var ue=0;ue1?ue+ye[1]:"";if(ce&&(ye.length>1||de.length>4||ie))for(;oe.test(de);)de=de.replace(oe,"$1"+ce+"$2");return de+me},u.TEMPLATE_STRING_REGEX=/%{([^\s%{}:]*)([:|\|][^}]*)?}/g;var W=/^\w*$/;u.templateString=function(Q,re){var ie={};return Q.replace(u.TEMPLATE_STRING_REGEX,function(oe,ue){var ce;return W.test(ue)?ce=re[ue]:(ie[ue]=ie[ue]||u.nestedProperty(re,ue).get,ce=ie[ue]()),u.isValidTextValue(ce)?ce:""})};var j={max:10,count:0,name:"hovertemplate"};u.hovertemplateString=function(){return ne.apply(j,arguments)};var $={max:10,count:0,name:"texttemplate"};u.texttemplateString=function(){return ne.apply($,arguments)};var U=/^(\S+)([\*\/])(-?\d+(\.\d+)?)$/;function G(Q){var re=Q.match(U);return re?{key:re[1],op:re[2],number:Number(re[3])}:{key:Q,op:null,number:null}}var q={max:10,count:0,name:"texttemplate",parseMultDiv:!0};u.texttemplateStringForShapes=function(){return ne.apply(q,arguments)};var H=/^[:|\|]/;function ne(Q,re,ie){var oe=this,ue=arguments;re||(re={});var ce={};return Q.replace(u.TEMPLATE_STRING_REGEX,function(ye,de,me){var pe=de==="_xother"||de==="_yother",xe=de==="_xother_"||de==="_yother_",Pe=de==="xother_"||de==="yother_",_e=de==="xother"||de==="yother"||pe||Pe||xe,Me=de;(pe||xe)&&(Me=Me.substring(1)),(Pe||xe)&&(Me=Me.substring(0,Me.length-1));var Se,Ce,ae,fe=null,be=null;if(oe.parseMultDiv){var ke=G(Me);Me=ke.key,fe=ke.op,be=ke.number}if(_e){if((Se=re[Me])===void 0)return""}else for(ae=3;ae=48&&ye<=57,pe=de>=48&&de<=57;if(me&&(oe=10*oe+ye-48),pe&&(ue=10*ue+de-48),!me||!pe){if(oe!==ue)return oe-ue;if(ye!==de)return ye-de}}return ue-oe};var te=2e9;u.seedPseudoRandom=function(){te=2e9},u.pseudoRandom=function(){var Q=te;return te=(69069*te+1)%4294967296,Math.abs(te-Q)<429496729?u.pseudoRandom():te/4294967296},u.fillText=function(Q,re,ie){var oe=Array.isArray(ie)?function(ye){ie.push(ye)}:function(ye){ie.text=ye},ue=u.extractOption(Q,re,"htx","hovertext");if(u.isValidTextValue(ue))return oe(ue);var ce=u.extractOption(Q,re,"tx","text");return u.isValidTextValue(ce)?oe(ce):void 0},u.isValidTextValue=function(Q){return Q||Q===0},u.formatPercent=function(Q,re){re=re||0;for(var ie=(Math.round(100*Q*Math.pow(10,re))*Math.pow(.1,re)).toFixed(re)+"%",oe=0;oe1&&(pe=1):pe=0,u.strTranslate(ue-pe*(ie+ye),ce-pe*(oe+de))+u.strScale(pe)+(me?"rotate("+me+(re?"":" "+ie+" "+oe)+")":"")},u.setTransormAndDisplay=function(Q,re){Q.attr("transform",u.getTextTransform(re)),Q.style("display",re.scale?null:"none")},u.ensureUniformFontSize=function(Q,re){var ie=u.extendFlat({},re);return ie.size=Math.max(re.size,Q._fullLayout.uniformtext.minsize||0),ie},u.join2=function(Q,re,ie){var oe=Q.length;return oe>1?Q.slice(0,-1).join(re)+ie+Q[oe-1]:Q.join(re)},u.bigFont=function(Q){return Math.round(1.2*Q)};var Z=u.getFirefoxVersion(),X=Z!==null&&Z<86;u.getPositionFromD3Event=function(){return X?[d.event.layerX,d.event.layerY]:[d.event.offsetX,d.event.offsetY]}},41965:function(T){T.exports=function(p){return window&&window.process&&window.process.versions?Object.prototype.toString.call(p)==="[object Object]":Object.prototype.toString.call(p)==="[object Object]"&&Object.getPrototypeOf(p).hasOwnProperty("hasOwnProperty")}},66636:function(T,p,t){var d=t(65487),g=/^\w*$/;T.exports=function(i,M,v,f){var l,a,u;v=v||"name",f=f||"value";var o={};M&&M.length?(u=d(i,M),a=u.get()):a=i,M=M||"";var s={};if(a)for(l=0;l2)return o[w]=2|o[w],h.set(m,null);if(c){for(l=w;l1){var v=["LOG:"];for(M=0;M1){var f=[];for(M=0;M"),"long")}},i.warn=function(){var M;if(d.logging>0){var v=["WARN:"];for(M=0;M0){var f=[];for(M=0;M"),"stick")}},i.error=function(){var M;if(d.logging>0){var v=["ERROR:"];for(M=0;M0){var f=[];for(M=0;M"),"stick")}}},77310:function(T,p,t){var d=t(39898);T.exports=function(g,i,M){var v=g.selectAll("g."+M.replace(/\s/g,".")).data(i,function(l){return l[0].trace.uid});v.exit().remove(),v.enter().append("g").attr("class",M),v.order();var f=g.classed("rangeplot")?"nodeRangePlot3":"node3";return v.each(function(l){l[0][f]=d.select(this)}),v}},35657:function(T,p,t){var d=t(79576);p.init2dArray=function(g,i){for(var M=new Array(g),v=0;vt/2?p-Math.round(p/t)*t:p}}},65487:function(T,p,t){var d=t(92770),g=t(73627).isArrayOrTypedArray;function i(o,s){return function(){var c,h,m,w,y,S=o;for(w=0;w/g),h=0;ha||_===g||_o||y&&s(w))}:function(w,y){var S=w[0],_=w[1];if(S===g||Sa||_===g||_o)return!1;var k,E,x,A,L,b=f.length,R=f[0][0],I=f[0][1],O=0;for(k=1;kMath.max(E,R)||_>Math.max(x,I)))if(_h||Math.abs(d(u,w))>l)return!0;return!1},i.filter=function(M,v){var f=[M[0]],l=0,a=0;function u(o){M.push(o);var s=f.length,c=l;f.splice(a+1);for(var h=c+1;h1&&u(M.pop()),{addPt:u,raw:M,filtered:f}}},79749:function(T,p,t){var d=t(58617),g=t(98580);T.exports=function(i,M,v){var f=i._fullLayout,l=!0;return f._glcanvas.each(function(a){if(a.regl)a.regl.preloadCachedCode(v);else if(!a.pick||f._has("parcoords")){try{a.regl=g({canvas:this,attributes:{antialias:!a.pick,preserveDrawingBuffer:!0},pixelRatio:i._context.plotGlPixelRatio||t.g.devicePixelRatio,extensions:M||[],cachedCode:v||{}})}catch{l=!1}a.regl||(l=!1),l&&this.addEventListener("webglcontextlost",function(u){i&&i.emit&&i.emit("plotly_webglcontextlost",{event:u,layer:a.key})},!1)}}),l||d({container:f._glcontainer.node()}),l}},45142:function(T,p,t){var d=t(92770),g=t(35791);T.exports=function(i){var M;if(typeof(M=i&&i.hasOwnProperty("userAgent")?i.userAgent:function(){var s;return typeof navigator<"u"&&(s=navigator.userAgent),s&&s.headers&&typeof s.headers["user-agent"]=="string"&&(s=s.headers["user-agent"]),s}())!="string")return!0;var v=g({ua:{headers:{"user-agent":M}},tablet:!0,featureDetect:!1});if(!v){for(var f=M.split(" "),l=1;l-1;a--){var u=f[a];if(u.substr(0,8)==="Version/"){var o=u.substr(8).split(".")[0];if(d(o)&&(o=+o),o>=13)return!0}}}return v}},75138:function(T){T.exports=function(p,t){if(t instanceof RegExp){for(var d=t.toString(),g=0;gg.queueLength&&(M.undoQueue.queue.shift(),M.undoQueue.index--))},startSequence:function(M){M.undoQueue=M.undoQueue||{index:0,queue:[],sequence:!1},M.undoQueue.sequence=!0,M.undoQueue.beginSequence=!0},stopSequence:function(M){M.undoQueue=M.undoQueue||{index:0,queue:[],sequence:!1},M.undoQueue.sequence=!1,M.undoQueue.beginSequence=!1},undo:function(M){var v,f;if(!(M.undoQueue===void 0||isNaN(M.undoQueue.index)||M.undoQueue.index<=0)){for(M.undoQueue.index--,v=M.undoQueue.queue[M.undoQueue.index],M.undoQueue.inSequence=!0,f=0;f=M.undoQueue.queue.length)){for(v=M.undoQueue.queue[M.undoQueue.index],M.undoQueue.inSequence=!0,f=0;fs}function u(o,s){return o>=s}p.findBin=function(o,s,c){if(d(s.start))return c?Math.ceil((o-s.start)/s.size-v)-1:Math.floor((o-s.start)/s.size+v);var h,m,w=0,y=s.length,S=0,_=y>1?(s[y-1]-s[0])/(y-1):1;for(m=_>=0?c?f:l:c?u:a,o+=_*v*(c?-1:1)*(_>=0?1:-1);w90&&g.log("Long binary search..."),w-1},p.sorterAsc=function(o,s){return o-s},p.sorterDes=function(o,s){return s-o},p.distinctVals=function(o){var s,c=o.slice();for(c.sort(p.sorterAsc),s=c.length-1;s>-1&&c[s]===M;s--);for(var h,m=c[s]-c[0]||1,w=m/(s||1)/1e4,y=[],S=0;S<=s;S++){var _=c[S],k=_-h;h===void 0?(y.push(_),h=_):k>w&&(m=Math.min(m,k),y.push(_),h=_)}return{vals:y,minDiff:m}},p.roundUp=function(o,s,c){for(var h,m=0,w=s.length-1,y=0,S=c?0:1,_=c?1:0,k=c?Math.ceil:Math.floor;m0&&(h=1),c&&h)return o.sort(s)}return h?o:o.reverse()},p.findIndexOfMin=function(o,s){s=s||i;for(var c,h=1/0,m=0;mv.length)&&(f=v.length),d(M)||(M=!1),g(v[0])){for(a=new Array(f),l=0;li.length-1)return i[i.length-1];var v=M%1;return v*i[Math.ceil(M)]+(1-v)*i[Math.floor(M)]}},78614:function(T,p,t){var d=t(25075);T.exports=function(g){return g?d(g):[0,0,0,1]}},63893:function(T,p,t){var d=t(39898),g=t(71828),i=g.strTranslate,M=t(77922),v=t(18783).LINE_SPACING,f=/([^$]*)([$]+[^$]*[$]+)([^$]*)/;p.convertToTspans=function(N,W,j){var $=N.text(),U=!N.attr("data-notex")&&W&&W._context.typesetMath&&typeof MathJax<"u"&&$.match(f),G=d.select(N.node().parentNode);if(!G.empty()){var q=N.attr("class")?N.attr("class").split(" ")[0]:"text";return q+="-math",G.selectAll("svg."+q).remove(),G.selectAll("g."+q+"-group").remove(),N.style("display",null).attr({"data-unformatted":$,"data-math":"N"}),U?(W&&W._promises||[]).push(new Promise(function(ne){N.style("display","none");var te=parseInt(N.node().style.fontSize,10),Z={fontSize:te};(function(X,Q,re){var ie,oe,ue,ce,ye=parseInt((MathJax.version||"").split(".")[0]);if(ye===2||ye===3){var de=function(){var pe="math-output-"+g.randstr({},64),xe=(ce=d.select("body").append("div").attr({id:pe}).style({visibility:"hidden",position:"absolute","font-size":Q.fontSize+"px"}).text(X.replace(l,"\\lt ").replace(a,"\\gt "))).node();return ye===2?MathJax.Hub.Typeset(xe):MathJax.typeset([xe])},me=function(){var pe=ce.select(ye===2?".MathJax_SVG":".MathJax"),xe=!pe.empty()&&ce.select("svg").node();if(xe){var Pe,_e=xe.getBoundingClientRect();Pe=ye===2?d.select("body").select("#MathJax_SVG_glyphs"):pe.select("defs"),re(pe,Pe,_e)}else g.log("There was an error in the tex syntax.",X),re();ce.remove()};ye===2?MathJax.Hub.Queue(function(){return oe=g.extendDeepAll({},MathJax.Hub.config),ue=MathJax.Hub.processSectionDelay,MathJax.Hub.processSectionDelay!==void 0&&(MathJax.Hub.processSectionDelay=0),MathJax.Hub.Config({messageStyle:"none",tex2jax:{inlineMath:u},displayAlign:"left"})},function(){if((ie=MathJax.Hub.config.menuSettings.renderer)!=="SVG")return MathJax.Hub.setRenderer("SVG")},de,me,function(){if(ie!=="SVG")return MathJax.Hub.setRenderer(ie)},function(){return ue!==void 0&&(MathJax.Hub.processSectionDelay=ue),MathJax.Hub.Config(oe)}):ye===3&&(oe=g.extendDeepAll({},MathJax.config),MathJax.config.tex||(MathJax.config.tex={}),MathJax.config.tex.inlineMath=u,(ie=MathJax.config.startup.output)!=="svg"&&(MathJax.config.startup.output="svg"),MathJax.startup.defaultReady(),MathJax.startup.promise.then(function(){de(),me(),ie!=="svg"&&(MathJax.config.startup.output=ie),MathJax.config=oe}))}else g.warn("No MathJax version:",MathJax.version)})(U[2],Z,function(X,Q,re){G.selectAll("svg."+q).remove(),G.selectAll("g."+q+"-group").remove();var ie=X&&X.select("svg");if(!ie||!ie.node())return H(),void ne();var oe=G.append("g").classed(q+"-group",!0).attr({"pointer-events":"none","data-unformatted":$,"data-math":"Y"});oe.node().appendChild(ie.node()),Q&&Q.node()&&ie.node().insertBefore(Q.node().cloneNode(!0),ie.node().firstChild);var ue=re.width,ce=re.height;ie.attr({class:q,height:ce,preserveAspectRatio:"xMinYMin meet"}).style({overflow:"visible","pointer-events":"none"});var ye=N.node().style.fill||"black",de=ie.select("g");de.attr({fill:ye,stroke:ye});var me=de.node().getBoundingClientRect(),pe=me.width,xe=me.height;(pe>ue||xe>ce)&&(ie.style("overflow","hidden"),pe=(me=ie.node().getBoundingClientRect()).width,xe=me.height);var Pe=+N.attr("x"),_e=+N.attr("y"),Me=-(te||N.node().getBoundingClientRect().height)/4;if(q[0]==="y")oe.attr({transform:"rotate("+[-90,Pe,_e]+")"+i(-pe/2,Me-xe/2)});else if(q[0]==="l")_e=Me-xe/2;else if(q[0]==="a"&&q.indexOf("atitle")!==0)Pe=0,_e=Me;else{var Se=N.attr("text-anchor");Pe-=pe*(Se==="middle"?.5:Se==="end"?1:0),_e=_e+Me-xe/2}ie.attr({x:Pe,y:_e}),j&&j.call(N,oe),ne(oe)})})):H(),N}function H(){G.empty()||(q=N.attr("class")+"-math",G.select("svg."+q).remove()),N.text("").style("white-space","pre");var ne=function(te,Z){Z=Z.replace(w," ");var X,Q=!1,re=[],ie=-1;function oe(){ie++;var be=document.createElementNS(M.svg,"tspan");d.select(be).attr({class:"line",dy:ie*v+"em"}),te.appendChild(be),X=be;var ke=re;if(re=[{node:be}],ke.length>1)for(var Le=1;Le doesnt match end tag <"+be+">. Pretending it did match.",Z),X=re[re.length-1].node}else g.log("Ignoring unexpected end tag .",Z)}_.test(Z)?oe():(X=te,re=[{node:te}]);for(var de=Z.split(y),me=0;me|>|>)/g,u=[["$","$"],["\\(","\\)"]],o={sup:"font-size:70%",sub:"font-size:70%",b:"font-weight:bold",i:"font-style:italic",a:"cursor:pointer",span:"",em:"font-style:italic;font-weight:bold"},s={sub:"0.3em",sup:"-0.6em"},c={sub:"-0.21em",sup:"0.42em"},h="​",m=["http:","https:","mailto:","",void 0,":"],w=p.NEWLINES=/(\r\n?|\n)/g,y=/(<[^<>]*>)/,S=/<(\/?)([^ >]*)(\s+(.*))?>/i,_=//i;p.BR_TAG_ALL=//gi;var k=/(^|[\s"'])style\s*=\s*("([^"]*);?"|'([^']*);?')/i,E=/(^|[\s"'])href\s*=\s*("([^"]*)"|'([^']*)')/i,x=/(^|[\s"'])target\s*=\s*("([^"\s]*)"|'([^'\s]*)')/i,A=/(^|[\s"'])popup\s*=\s*("([\w=,]*)"|'([\w=,]*)')/i;function L(N,W){if(!N)return null;var j=N.match(W),$=j&&(j[3]||j[4]);return $&&O($)}var b=/(^|;)\s*color:/;p.plainText=function(N,W){for(var j=(W=W||{}).len!==void 0&&W.len!==-1?W.len:1/0,$=W.allowedTags!==void 0?W.allowedTags:["br"],U=3,G=N.split(y),q=[],H="",ne=0,te=0;teU?q.push(Z.substr(0,ie-U)+"..."):q.push(Z.substr(0,ie));break}H=""}}return q.join("")};var R={mu:"μ",amp:"&",lt:"<",gt:">",nbsp:" ",times:"×",plusmn:"±",deg:"°"},I=/&(#\d+|#x[\da-fA-F]+|[a-z]+);/g;function O(N){return N.replace(I,function(W,j){return(j.charAt(0)==="#"?function($){if(!($>1114111)){var U=String.fromCodePoint;if(U)return U($);var G=String.fromCharCode;return $<=65535?G($):G(55232+($>>10),$%1024+56320)}}(j.charAt(1)==="x"?parseInt(j.substr(2),16):parseInt(j.substr(1),10)):R[j])||W})}function z(N){var W=encodeURI(decodeURI(N)),j=document.createElement("a"),$=document.createElement("a");j.href=N,$.href=W;var U=j.protocol,G=$.protocol;return m.indexOf(U)!==-1&&m.indexOf(G)!==-1?W:""}function F(N,W,j){var $,U,G,q=j.horizontalAlign,H=j.verticalAlign||"top",ne=N.node().getBoundingClientRect(),te=W.node().getBoundingClientRect();return U=H==="bottom"?function(){return ne.bottom-$.height}:H==="middle"?function(){return ne.top+(ne.height-$.height)/2}:function(){return ne.top},G=q==="right"?function(){return ne.right-$.width}:q==="center"?function(){return ne.left+(ne.width-$.width)/2}:function(){return ne.left},function(){$=this.node().getBoundingClientRect();var Z=G()-te.left,X=U()-te.top,Q=j.gd||{};if(j.gd){Q._fullLayout._calcInverseTransform(Q);var re=g.apply3DTransform(Q._fullLayout._invTransform)(Z,X);Z=re[0],X=re[1]}return this.style({top:X+"px",left:Z+"px","z-index":1e3}),this}}p.convertEntities=O,p.sanitizeHTML=function(N){N=N.replace(w," ");for(var W=document.createElement("p"),j=W,$=[],U=N.split(y),G=0;Gv.ts+i?a():v.timer=setTimeout(function(){a(),v.timer=null},i)},p.done=function(g){var i=t[g];return i&&i.timer?new Promise(function(M){var v=i.onDone;i.onDone=function(){v&&v(),M(),i.onDone=null}}):Promise.resolve()},p.clear=function(g){if(g)d(t[g]),delete t[g];else for(var i in t)p.clear(i)}},58163:function(T,p,t){var d=t(92770);T.exports=function(g,i){if(g>0)return Math.log(g)/Math.LN10;var M=Math.log(Math.min(i[0],i[1]))/Math.LN10;return d(M)||(M=Math.log(Math.max(i[0],i[1]))/Math.LN10-6),M}},90973:function(T,p,t){var d=T.exports={},g=t(78776).locationmodeToLayer,i=t(96892).zL;d.getTopojsonName=function(M){return[M.scope.replace(/ /g,"-"),"_",M.resolution.toString(),"m"].join("")},d.getTopojsonPath=function(M,v){return M+v+".json"},d.getTopojsonFeatures=function(M,v){var f=g[M.locationmode],l=v.objects[f];return i(v,l).features}},37815:function(T){T.exports={moduleType:"locale",name:"en-US",dictionary:{"Click to enter Colorscale title":"Click to enter Colorscale title"},format:{date:"%m/%d/%Y"}}},92177:function(T){T.exports={moduleType:"locale",name:"en",dictionary:{"Click to enter Colorscale title":"Click to enter Colourscale title"},format:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],periods:["AM","PM"],dateTime:"%a %b %e %X %Y",date:"%d/%m/%Y",time:"%H:%M:%S",decimal:".",thousands:",",grouping:[3],currency:["$",""],year:"%Y",month:"%b %Y",dayMonth:"%b %-d",dayMonthYear:"%b %-d, %Y"}}},14458:function(T,p,t){var d=t(73972);T.exports=function(g){for(var i,M,v=d.layoutArrayContainers,f=d.layoutArrayRegexes,l=g.split("[")[0],a=0;a0&&M.log("Clearing previous rejected promises from queue."),E._promises=[]},p.cleanLayout=function(E){var x,A;E||(E={}),E.xaxis1&&(E.xaxis||(E.xaxis=E.xaxis1),delete E.xaxis1),E.yaxis1&&(E.yaxis||(E.yaxis=E.yaxis1),delete E.yaxis1),E.scene1&&(E.scene||(E.scene=E.scene1),delete E.scene1);var L=(v.subplotsRegistry.cartesian||{}).attrRegex,b=(v.subplotsRegistry.polar||{}).attrRegex,R=(v.subplotsRegistry.ternary||{}).attrRegex,I=(v.subplotsRegistry.gl3d||{}).attrRegex,O=Object.keys(E);for(x=0;x3?(re.x=1.02,re.xanchor="left"):re.x<-2&&(re.x=-.02,re.xanchor="right"),re.y>3?(re.y=1.02,re.yanchor="bottom"):re.y<-2&&(re.y=-.02,re.yanchor="top")),c(E),E.dragmode==="rotate"&&(E.dragmode="orbit"),l.clean(E),E.template&&E.template.layout&&p.cleanLayout(E.template.layout),E},p.cleanData=function(E){for(var x=0;x0)return E.substr(0,x)}p.hasParent=function(E,x){for(var A=_(x);A;){if(A in E)return!0;A=_(A)}return!1};var k=["x","y","z"];p.clearAxisTypes=function(E,x,A){for(var L=0;L1&&i.warn("Full array edits are incompatible with other edits",h);var E=o[""][""];if(l(E))u.set(null);else{if(!Array.isArray(E))return i.warn("Unrecognized full array edit value",h,E),!0;u.set(E)}return!S&&(m(_,k),w(a),!0)}var x,A,L,b,R,I,O,z,F=Object.keys(o).map(Number).sort(M),B=u.get(),N=B||[],W=c(k,h).get(),j=[],$=-1,U=N.length;for(x=0;xN.length-(O?0:1))i.warn("index out of range",h,L);else if(I!==void 0)R.length>1&&i.warn("Insertion & removal are incompatible with edits to the same index.",h,L),l(I)?j.push(L):O?(I==="add"&&(I={}),N.splice(L,0,I),W&&W.splice(L,0,{})):i.warn("Unrecognized full object edit value",h,L,I),$===-1&&($=L);else for(A=0;A=0;x--)N.splice(j[x],1),W&&W.splice(j[x],1);if(N.length?B||u.set(N):u.set(null),S)return!1;if(m(_,k),y!==g){var G;if($===-1)G=F;else{for(U=Math.max(N.length,U),G=[],x=0;x=$);x++)G.push(L);for(x=$;x=ae.data.length||Le<-ae.data.length)throw new Error(be+" must be valid indices for gd.data.");if(fe.indexOf(Le,ke+1)>-1||Le>=0&&fe.indexOf(-ae.data.length+Le)>-1||Le<0&&fe.indexOf(ae.data.length+Le)>-1)throw new Error("each index in "+be+" must be unique.")}}function B(ae,fe,be){if(!Array.isArray(ae.data))throw new Error("gd.data must be an array.");if(fe===void 0)throw new Error("currentIndices is a required argument.");if(Array.isArray(fe)||(fe=[fe]),F(ae,fe,"currentIndices"),be===void 0||Array.isArray(be)||(be=[be]),be!==void 0&&F(ae,be,"newIndices"),be!==void 0&&fe.length!==be.length)throw new Error("current and new indices must be of equal length.")}function N(ae,fe,be,ke,Le){(function($e,Ye,st,ot){var ht=M.isPlainObject(ot);if(!Array.isArray($e.data))throw new Error("gd.data must be an array");if(!M.isPlainObject(Ye))throw new Error("update must be a key:value object");if(st===void 0)throw new Error("indices must be an integer or array of integers");for(var bt in F($e,st,"indices"),Ye){if(!Array.isArray(Ye[bt])||Ye[bt].length!==st.length)throw new Error("attribute "+bt+" must be an array of length equal to indices array length");if(ht&&(!(bt in ot)||!Array.isArray(ot[bt])||ot[bt].length!==Ye[bt].length))throw new Error("when maxPoints is set as a key:value object it must contain a 1:1 corrispondence with the keys and number of traces in the update object")}})(ae,fe,be,ke);for(var Be=function($e,Ye,st,ot){var ht,bt,Et,kt,xt,Ft=M.isPlainObject(ot),Ot=[];for(var Bt in Array.isArray(st)||(st=[st]),st=z(st,$e.data.length-1),Ye)for(var qt=0;qt-1&&be.indexOf("grouptitlefont")===-1?je(be,be.replace("titlefont","title.font")):be.indexOf("titleposition")>-1?je(be,be.replace("titleposition","title.position")):be.indexOf("titleside")>-1?je(be,be.replace("titleside","title.side")):be.indexOf("titleoffset")>-1&&je(be,be.replace("titleoffset","title.offset")):je(be,be.replace("title","title.text"));function je(ge,we){ae[we]=ae[ge],delete ae[ge]}}function ne(ae,fe,be){ae=M.getGraphDiv(ae),k.clearPromiseQueue(ae);var ke={};if(typeof fe=="string")ke[fe]=be;else{if(!M.isPlainObject(fe))return M.warn("Relayout fail.",fe,be),Promise.reject();ke=M.extendFlat({},fe)}Object.keys(ke).length&&(ae.changed=!0);var Le=ie(ae,ke),Be=Le.flags;Be.calc&&(ae.calcdata=void 0);var ze=[o.previousPromises];Be.layoutReplot?ze.push(E.layoutReplot):Object.keys(ke).length&&(te(ae,Be,Le)||o.supplyDefaults(ae),Be.legend&&ze.push(E.doLegend),Be.layoutstyle&&ze.push(E.layoutStyles),Be.axrange&&Z(ze,Le.rangesAltered),Be.ticks&&ze.push(E.doTicksRelayout),Be.modebar&&ze.push(E.doModeBar),Be.camera&&ze.push(E.doCamera),Be.colorbars&&ze.push(E.doColorBars),ze.push(b)),ze.push(o.rehover,o.redrag,o.reselect),l.add(ae,ne,[ae,Le.undoit],ne,[ae,Le.redoit]);var je=M.syncOrAsync(ze,ae);return je&&je.then||(je=Promise.resolve(ae)),je.then(function(){return ae.emit("plotly_relayout",Le.eventData),ae})}function te(ae,fe,be){var ke=ae._fullLayout;if(!fe.axrange)return!1;for(var Le in fe)if(Le!=="axrange"&&fe[Le])return!1;for(var Be in be.rangesAltered){var ze=s.id2name(Be),je=ae.layout[ze],ge=ke[ze];if(ge.autorange=je.autorange,je.range&&(ge.range=je.range.slice()),ge.cleanRange(),ge._matchGroup){for(var we in ge._matchGroup)if(we!==Be){var Ee=ke[s.id2name(we)];Ee.autorange=ge.autorange,Ee.range=ge.range.slice(),Ee._input.range=ge.range.slice()}}}return!0}function Z(ae,fe){var be=fe?function(ke){var Le=[];for(var Be in fe){var ze=s.getFromId(ke,Be);if(Le.push(Be),(ze.ticklabelposition||"").indexOf("inside")!==-1&&ze._anchorAxis&&Le.push(ze._anchorAxis._id),ze._matchGroup)for(var je in ze._matchGroup)fe[je]||Le.push(je)}return s.draw(ke,Le,{skipTitle:!0})}:function(ke){return s.draw(ke,"redraw")};ae.push(y,E.doAutoRangeAndConstraints,be,E.drawData,E.finalDraw)}var X=/^[xyz]axis[0-9]*\.range(\[[0|1]\])?$/,Q=/^[xyz]axis[0-9]*\.autorange$/,re=/^[xyz]axis[0-9]*\.domain(\[[0|1]\])?$/;function ie(ae,fe){var be,ke,Le,Be=ae.layout,ze=ae._fullLayout,je=ze._guiEditing,ge=U(ze._preGUI,je),we=Object.keys(fe),Ee=s.list(ae),Ve=M.extendDeepAll({},fe),$e={};for(H(fe),we=Object.keys(fe),ke=0;ke0&&typeof qt.parts[Ke]!="string";)Ke--;var Je=qt.parts[Ke],qe=qt.parts[Ke-1]+"."+Je,nt=qt.parts.slice(0,Ke).join("."),ft=v(ae.layout,nt).get(),Re=v(ze,nt).get(),Ne=qt.get();if(Vt!==void 0){bt[Bt]=Vt,Et[Bt]=Je==="reverse"?Vt:$(Ne);var Qe=u.getLayoutValObject(ze,qt.parts);if(Qe&&Qe.impliedEdits&&Vt!==null)for(var ut in Qe.impliedEdits)kt(M.relativeAttr(Bt,ut),Qe.impliedEdits[ut]);if(["width","height"].indexOf(Bt)!==-1)if(Vt){kt("autosize",null);var dt=Bt==="height"?"width":"height";kt(dt,ze[dt])}else ze[Bt]=ae._initialAutoSize[Bt];else if(Bt==="autosize")kt("width",Vt?null:ze.width),kt("height",Vt?null:ze.height);else if(qe.match(X))Ot(qe),v(ze,nt+"._inputRange").set(null);else if(qe.match(Q)){Ot(qe),v(ze,nt+"._inputRange").set(null);var _t=v(ze,nt).get();_t._inputDomain&&(_t._input.domain=_t._inputDomain.slice())}else qe.match(re)&&v(ze,nt+"._inputDomain").set(null);if(Je==="type"){xt=ft;var It=Re.type==="linear"&&Vt==="log",Lt=Re.type==="log"&&Vt==="linear";if(It||Lt){if(xt&&xt.range)if(Re.autorange)It&&(xt.range=xt.range[1]>xt.range[0]?[1,2]:[2,1]);else{var yt=xt.range[0],Pt=xt.range[1];It?(yt<=0&&Pt<=0&&kt(nt+".autorange",!0),yt<=0?yt=Pt/1e6:Pt<=0&&(Pt=yt/1e6),kt(nt+".range[0]",Math.log(yt)/Math.LN10),kt(nt+".range[1]",Math.log(Pt)/Math.LN10)):(kt(nt+".range[0]",Math.pow(10,yt)),kt(nt+".range[1]",Math.pow(10,Pt)))}else kt(nt+".autorange",!0);Array.isArray(ze._subplots.polar)&&ze._subplots.polar.length&&ze[qt.parts[0]]&&qt.parts[1]==="radialaxis"&&delete ze[qt.parts[0]]._subplot.viewInitial["radialaxis.range"],a.getComponentMethod("annotations","convertCoords")(ae,Re,Vt,kt),a.getComponentMethod("images","convertCoords")(ae,Re,Vt,kt)}else kt(nt+".autorange",!0),kt(nt+".range",null);v(ze,nt+"._inputRange").set(null)}else if(Je.match(A)){var wt=v(ze,Bt).get(),Rt=(Vt||{}).type;Rt&&Rt!=="-"||(Rt="linear"),a.getComponentMethod("annotations","convertCoords")(ae,wt,Rt,kt),a.getComponentMethod("images","convertCoords")(ae,wt,Rt,kt)}var Nt=_.containerArrayMatch(Bt);if(Nt){be=Nt.array,ke=Nt.index;var Yt=Nt.property,Wt=Qe||{editType:"calc"};ke!==""&&Yt===""&&(_.isAddVal(Vt)?Et[Bt]=null:_.isRemoveVal(Vt)?Et[Bt]=(v(Be,be).get()||[])[ke]:M.warn("unrecognized full object value",fe)),x.update(ht,Wt),$e[be]||($e[be]={});var Xt=$e[be][ke];Xt||(Xt=$e[be][ke]={}),Xt[Yt]=Vt,delete fe[Bt]}else Je==="reverse"?(ft.range?ft.range.reverse():(kt(nt+".autorange",!0),ft.range=[1,0]),Re.autorange?ht.calc=!0:ht.plot=!0):(Bt==="dragmode"&&(Vt===!1&&Ne!==!1||Vt!==!1&&Ne===!1)||ze._has("scatter-like")&&ze._has("regl")&&Bt==="dragmode"&&(Vt==="lasso"||Vt==="select")&&Ne!=="lasso"&&Ne!=="select"||ze._has("gl2d")?ht.plot=!0:Qe?x.update(ht,Qe):ht.calc=!0,qt.set(Vt))}}for(be in $e)_.applyContainerArrayChanges(ae,ge(Be,be),$e[be],ht,ge)||(ht.plot=!0);for(var Qt in Ft){var rn=(xt=s.getFromId(ae,Qt))&&xt._constraintGroup;if(rn)for(var xn in ht.calc=!0,rn)Ft[xn]||(s.getFromId(ae,xn)._constraintShrinkable=!0)}return(oe(ae)||fe.height||fe.width)&&(ht.plot=!0),(ht.plot||ht.calc)&&(ht.layoutReplot=!0),{flags:ht,rangesAltered:Ft,undoit:Et,redoit:bt,eventData:Ve}}function oe(ae){var fe=ae._fullLayout,be=fe.width,ke=fe.height;return ae.layout.autosize&&o.plotAutoSize(ae,ae.layout,fe),fe.width!==be||fe.height!==ke}function ue(ae,fe,be,ke){ae=M.getGraphDiv(ae),k.clearPromiseQueue(ae),M.isPlainObject(fe)||(fe={}),M.isPlainObject(be)||(be={}),Object.keys(fe).length&&(ae.changed=!0),Object.keys(be).length&&(ae.changed=!0);var Le=k.coerceTraceIndices(ae,ke),Be=q(ae,M.extendFlat({},fe),Le),ze=Be.flags,je=ie(ae,M.extendFlat({},be)),ge=je.flags;(ze.calc||ge.calc)&&(ae.calcdata=void 0),ze.clearAxisTypes&&k.clearAxisTypes(ae,Le,be);var we=[];ge.layoutReplot?we.push(E.layoutReplot):ze.fullReplot?we.push(p._doPlot):(we.push(o.previousPromises),te(ae,ge,je)||o.supplyDefaults(ae),ze.style&&we.push(E.doTraceStyle),(ze.colorbars||ge.colorbars)&&we.push(E.doColorBars),ge.legend&&we.push(E.doLegend),ge.layoutstyle&&we.push(E.layoutStyles),ge.axrange&&Z(we,je.rangesAltered),ge.ticks&&we.push(E.doTicksRelayout),ge.modebar&&we.push(E.doModeBar),ge.camera&&we.push(E.doCamera),we.push(b)),we.push(o.rehover,o.redrag,o.reselect),l.add(ae,ue,[ae,Be.undoit,je.undoit,Be.traces],ue,[ae,Be.redoit,je.redoit,Be.traces]);var Ee=M.syncOrAsync(we,ae);return Ee&&Ee.then||(Ee=Promise.resolve(ae)),Ee.then(function(){return ae.emit("plotly_update",{data:Be.eventData,layout:je.eventData}),ae})}function ce(ae){return function(fe){fe._fullLayout._guiEditing=!0;var be=ae.apply(null,arguments);return fe._fullLayout._guiEditing=!1,be}}var ye=[{pattern:/^hiddenlabels/,attr:"legend.uirevision"},{pattern:/^((x|y)axis\d*)\.((auto)?range|title\.text)/},{pattern:/axis\d*\.showspikes$/,attr:"modebar.uirevision"},{pattern:/(hover|drag)mode$/,attr:"modebar.uirevision"},{pattern:/^(scene\d*)\.camera/},{pattern:/^(geo\d*)\.(projection|center|fitbounds)/},{pattern:/^(ternary\d*\.[abc]axis)\.(min|title\.text)$/},{pattern:/^(polar\d*\.radialaxis)\.((auto)?range|angle|title\.text)/},{pattern:/^(polar\d*\.angularaxis)\.rotation/},{pattern:/^(mapbox\d*)\.(center|zoom|bearing|pitch)/},{pattern:/^legend\.(x|y)$/,attr:"editrevision"},{pattern:/^(shapes|annotations)/,attr:"editrevision"},{pattern:/^title\.text$/,attr:"editrevision"}],de=[{pattern:/^selectedpoints$/,attr:"selectionrevision"},{pattern:/(^|value\.)visible$/,attr:"legend.uirevision"},{pattern:/^dimensions\[\d+\]\.constraintrange/},{pattern:/^node\.(x|y|groups)/},{pattern:/^level$/},{pattern:/(^|value\.)name$/},{pattern:/colorbar\.title\.text$/},{pattern:/colorbar\.(x|y)$/,attr:"editrevision"}];function me(ae,fe){for(var be=0;be1;)if(ke.pop(),(be=v(fe,ke.join(".")+".uirevision").get())!==void 0)return be;return fe.uirevision}function xe(ae,fe){for(var be=0;be=Le.length?Le[0]:Le[we]:Le}function je(we){return Array.isArray(Be)?we>=Be.length?Be[0]:Be[we]:Be}function ge(we,Ee){var Ve=0;return function(){if(we&&++Ve===Ee)return we()}}return ke._frameWaitingCnt===void 0&&(ke._frameWaitingCnt=0),new Promise(function(we,Ee){function Ve(){ae.emit("plotly_animating"),ke._lastFrameAt=-1/0,ke._timeToNext=0,ke._runningTransitions=0,ke._currentFrame=null;var Bt=function(){ke._animationRaf=window.requestAnimationFrame(Bt),Date.now()-ke._lastFrameAt>ke._timeToNext&&function(){ke._currentFrame&&ke._currentFrame.onComplete&&ke._currentFrame.onComplete();var qt=ke._currentFrame=ke._frameQueue.shift();if(qt){var Vt=qt.name?qt.name.toString():null;ae._fullLayout._currentFrame=Vt,ke._lastFrameAt=Date.now(),ke._timeToNext=qt.frameOpts.duration,o.transition(ae,qt.frame.data,qt.frame.layout,k.coerceTraceIndices(ae,qt.frame.traces),qt.frameOpts,qt.transitionOpts).then(function(){qt.onComplete&&qt.onComplete()}),ae.emit("plotly_animatingframe",{name:Vt,frame:qt.frame,animation:{frame:qt.frameOpts,transition:qt.transitionOpts}})}else ae.emit("plotly_animated"),window.cancelAnimationFrame(ke._animationRaf),ke._animationRaf=null}()};Bt()}var $e,Ye,st=0;function ot(Bt){return Array.isArray(Le)?st>=Le.length?Bt.transitionOpts=Le[st]:Bt.transitionOpts=Le[0]:Bt.transitionOpts=Le,st++,Bt}var ht=[],bt=fe==null,Et=Array.isArray(fe);if(bt||Et||!M.isPlainObject(fe)){if(bt||["string","number"].indexOf(typeof fe)!==-1)for($e=0;$e0&&FtFt)&&Ot.push(Ye);ht=Ot}}ht.length>0?function(Bt){if(Bt.length!==0){for(var qt=0;qt=0;ke--)if(M.isPlainObject(fe[ke])){var $e=fe[ke].name,Ye=(ge[$e]||Ve[$e]||{}).name,st=fe[ke].name,ot=ge[Ye]||Ve[Ye];Ye&&st&&typeof st=="number"&&ot&&L<5&&(L++,M.warn('addFrames: overwriting frame "'+(ge[Ye]||Ve[Ye]).name+'" with a frame whose name of type "number" also equates to "'+Ye+'". This is valid but may potentially lead to unexpected behavior since all plotly.js frame names are stored internally as strings.'),L===5&&M.warn("addFrames: This API call has yielded too many of these warnings. For the rest of this call, further warnings about numeric frame names will be suppressed.")),Ve[$e]={name:$e},Ee.push({frame:o.supplyFrameDefaults(fe[ke]),index:be&&be[ke]!==void 0&&be[ke]!==null?be[ke]:we+ke})}Ee.sort(function(Bt,qt){return Bt.index>qt.index?-1:Bt.index=0;ke--){if(typeof(Le=Ee[ke].frame).name=="number"&&M.warn("Warning: addFrames accepts frames with numeric names, but the numbers areimplicitly cast to strings"),!Le.name)for(;ge[Le.name="frame "+ae._transitionData._counter++];);if(ge[Le.name]){for(Be=0;Be=0;be--)ke=fe[be],Be.push({type:"delete",index:ke}),ze.unshift({type:"insert",index:ke,value:Le[ke]});var je=o.modifyFrames,ge=o.modifyFrames,we=[ae,ze],Ee=[ae,Be];return l&&l.add(ae,je,we,ge,Ee),o.modifyFrames(ae,Be)},p.addTraces=function ae(fe,be,ke){fe=M.getGraphDiv(fe);var Le,Be,ze=[],je=p.deleteTraces,ge=ae,we=[fe,ze],Ee=[fe,be];for(function(Ve,$e,Ye){var st,ot;if(!Array.isArray(Ve.data))throw new Error("gd.data must be an array.");if($e===void 0)throw new Error("traces must be defined.");for(Array.isArray($e)||($e=[$e]),st=0;st<$e.length;st++)if(typeof(ot=$e[st])!="object"||Array.isArray(ot)||ot===null)throw new Error("all values in traces array must be non-array objects");if(Ye===void 0||Array.isArray(Ye)||(Ye=[Ye]),Ye!==void 0&&Ye.length!==$e.length)throw new Error("if indices is specified, traces.length must equal indices.length")}(fe,be,ke),Array.isArray(be)||(be=[be]),be=be.map(function(Ve){return M.extendFlat({},Ve)}),k.cleanData(be),Le=0;Le=0&&Ve<$e.length?$e.splice(0,$e.length-Ve):[];return[$e,Ye]}var ze=N(fe=M.getGraphDiv(fe),be,ke,Le,Be),je=p.redraw(fe),ge=[fe,ze.update,ke,ze.maxPoints];return l.add(fe,p.prependTraces,ge,ae,arguments),je},p.moveTraces=function ae(fe,be,ke){var Le,Be=[],ze=[],je=ae,ge=ae,we=[fe=M.getGraphDiv(fe),ke,be],Ee=[fe,be,ke];if(B(fe,be,ke),be=Array.isArray(be)?be:[be],ke===void 0)for(ke=[],Le=0;Le=0&&Ve<$e.length?$e.splice(Ve,$e.length):[];return[$e,Ye]}var ze=N(fe=M.getGraphDiv(fe),be,ke,Le,Be),je=p.redraw(fe),ge=[fe,ze.update,ke,ze.maxPoints];return l.add(fe,p.extendTraces,ge,ae,arguments),je},p.newPlot=function(ae,fe,be,ke){return ae=M.getGraphDiv(ae),o.cleanPlot([],{},ae._fullData||[],ae._fullLayout||{}),o.purge(ae),p._doPlot(ae,fe,be,ke)},p._doPlot=function(ae,fe,be,ke){var Le;if(ae=M.getGraphDiv(ae),f.init(ae),M.isPlainObject(fe)){var Be=fe;fe=Be.data,be=Be.layout,ke=Be.config,Le=Be.frames}if(f.triggerHandler(ae,"plotly_beforeplot",[fe,be,ke])===!1)return Promise.reject();fe||be||M.isPlotDiv(ae)||M.warn("Calling _doPlot as if redrawing but this container doesn't yet have a plot.",ae),O(ae,ke),be||(be={}),d.select(ae).classed("js-plotly-plot",!0),c.makeTester(),Array.isArray(ae._promises)||(ae._promises=[]);var ze=(ae.data||[]).length===0&&Array.isArray(fe);Array.isArray(fe)&&(k.cleanData(fe),ze?ae.data=fe:ae.data.push.apply(ae.data,fe),ae.empty=!1),ae.layout&&!ze||(ae.layout=k.cleanLayout(be)),o.supplyDefaults(ae);var je=ae._fullLayout,ge=je._has("cartesian");je._replotting=!0,(ze||je._shouldCreateBgLayer)&&(function(bt){var Et=d.select(bt),kt=bt._fullLayout;if(kt._calcInverseTransform=Ce,kt._calcInverseTransform(bt),kt._container=Et.selectAll(".plot-container").data([0]),kt._container.enter().insert("div",":first-child").classed("plot-container",!0).classed("plotly",!0),kt._paperdiv=kt._container.selectAll(".svg-container").data([0]),kt._paperdiv.enter().append("div").classed("user-select-none",!0).classed("svg-container",!0).style("position","relative"),kt._glcontainer=kt._paperdiv.selectAll(".gl-container").data([{}]),kt._glcontainer.enter().append("div").classed("gl-container",!0),kt._paperdiv.selectAll(".main-svg").remove(),kt._paperdiv.select(".modebar-container").remove(),kt._paper=kt._paperdiv.insert("svg",":first-child").classed("main-svg",!0),kt._toppaper=kt._paperdiv.append("svg").classed("main-svg",!0),kt._modebardiv=kt._paperdiv.append("div"),delete kt._modeBar,kt._hoverpaper=kt._paperdiv.append("svg").classed("main-svg",!0),!kt._uid){var xt={};d.selectAll("defs").each(function(){this.id&&(xt[this.id.split("-")[1]]=1)}),kt._uid=M.randstr(xt)}kt._paperdiv.selectAll(".main-svg").attr(w.svgAttrs),kt._defs=kt._paper.append("defs").attr("id","defs-"+kt._uid),kt._clips=kt._defs.append("g").classed("clips",!0),kt._topdefs=kt._toppaper.append("defs").attr("id","topdefs-"+kt._uid),kt._topclips=kt._topdefs.append("g").classed("clips",!0),kt._bgLayer=kt._paper.append("g").classed("bglayer",!0),kt._draggers=kt._paper.append("g").classed("draglayer",!0);var Ft=kt._paper.append("g").classed("layer-below",!0);kt._imageLowerLayer=Ft.append("g").classed("imagelayer",!0),kt._shapeLowerLayer=Ft.append("g").classed("shapelayer",!0),kt._cartesianlayer=kt._paper.append("g").classed("cartesianlayer",!0),kt._polarlayer=kt._paper.append("g").classed("polarlayer",!0),kt._smithlayer=kt._paper.append("g").classed("smithlayer",!0),kt._ternarylayer=kt._paper.append("g").classed("ternarylayer",!0),kt._geolayer=kt._paper.append("g").classed("geolayer",!0),kt._funnelarealayer=kt._paper.append("g").classed("funnelarealayer",!0),kt._pielayer=kt._paper.append("g").classed("pielayer",!0),kt._iciclelayer=kt._paper.append("g").classed("iciclelayer",!0),kt._treemaplayer=kt._paper.append("g").classed("treemaplayer",!0),kt._sunburstlayer=kt._paper.append("g").classed("sunburstlayer",!0),kt._indicatorlayer=kt._toppaper.append("g").classed("indicatorlayer",!0),kt._glimages=kt._paper.append("g").classed("glimages",!0);var Ot=kt._toppaper.append("g").classed("layer-above",!0);kt._imageUpperLayer=Ot.append("g").classed("imagelayer",!0),kt._shapeUpperLayer=Ot.append("g").classed("shapelayer",!0),kt._selectionLayer=kt._toppaper.append("g").classed("selectionlayer",!0),kt._infolayer=kt._toppaper.append("g").classed("infolayer",!0),kt._menulayer=kt._toppaper.append("g").classed("menulayer",!0),kt._zoomlayer=kt._toppaper.append("g").classed("zoomlayer",!0),kt._hoverlayer=kt._hoverpaper.append("g").classed("hoverlayer",!0),kt._modebardiv.classed("modebar-container",!0).style("position","absolute").style("top","0px").style("right","0px"),bt.emit("plotly_framework")}(ae),je._shouldCreateBgLayer&&delete je._shouldCreateBgLayer),c.initGradients(ae),c.initPatterns(ae),ze&&s.saveShowSpikeInitial(ae);var we=!ae.calcdata||ae.calcdata.length!==(ae._fullData||[]).length;we&&o.doCalcdata(ae);for(var Ee=0;Ee=F.length)return!1;if(b.dimensions===2){if(I++,R.length===I)return b;var B=R[I];if(!k(B))return!1;b=F[z][B]}else b=F[z]}else b=F}}return b}function k(b){return b===Math.round(b)&&b>=0}function E(){var b,R,I={};for(b in u(I,M),d.subplotsRegistry)if((R=d.subplotsRegistry[b]).layoutAttributes)if(Array.isArray(R.attr))for(var O=0;O=B.length)return!1;O=(I=(d.transformsRegistry[B[N].type]||{}).attributes)&&I[R[2]],F=3}else{var W=b._module;if(W||(W=(d.modules[b.type||i.type.dflt]||{})._module),!W)return!1;if(!(O=(I=W.attributes)&&I[z])){var j=W.basePlotModule;j&&j.attributes&&(O=j.attributes[z])}O||(O=i[z])}return _(O,R,F)},p.getLayoutValObject=function(b,R){var I=function(O,z){var F,B,N,W,j=O._basePlotModules;if(j){var $;for(F=0;F=u&&(a._input||{})._templateitemname;s&&(o=u);var c,h=l+"["+o+"]";function m(){c={},s&&(c[h]={},c[h].templateitemname=s)}function w(S,_){s?d.nestedProperty(c[h],S).set(_):c[h+"."+S]=_}function y(){var S=c;return m(),S}return m(),{modifyBase:function(S,_){c[S]=_},modifyItem:w,getUpdateObj:y,applyUpdate:function(S,_){S&&w(S,_);var k=y();for(var E in k)d.nestedProperty(f,E).set(k[E])}}}},61549:function(T,p,t){var d=t(39898),g=t(73972),i=t(74875),M=t(71828),v=t(63893),f=t(33306),l=t(7901),a=t(91424),u=t(92998),o=t(64168),s=t(89298),c=t(18783),h=t(99082),m=h.enforce,w=h.clean,y=t(71739).doAutoRange,S="start";function _(L,b,R){for(var I=0;I=L[1]||O[1]<=L[0])&&z[0]b[0])return!0}return!1}function k(L){var b,R,I,O,z,F,B=L._fullLayout,N=B._size,W=N.p,j=s.list(L,"",!0);if(B._paperdiv.style({width:L._context.responsive&&B.autosize&&!L._context._hasZeroWidth&&!L.layout.width?"100%":B.width+"px",height:L._context.responsive&&B.autosize&&!L._context._hasZeroHeight&&!L.layout.height?"100%":B.height+"px"}).selectAll(".main-svg").call(a.setSize,B.width,B.height),L._context.setBackground(L,B.paper_bgcolor),p.drawMainTitle(L),o.manage(L),!B._has("cartesian"))return i.previousPromises(L);function $(Ve,$e,Ye){var st=Ve._lw/2;return Ve._id.charAt(0)==="x"?$e?Ye==="top"?$e._offset-W-st:$e._offset+$e._length+W+st:N.t+N.h*(1-(Ve.position||0))+st%1:$e?Ye==="right"?$e._offset+$e._length+W+st:$e._offset-W-st:N.l+N.w*(Ve.position||0)+st%1}for(b=0;b.5?"t":"b",te=$._fullLayout.margin[ne],Z=0;return U.yref==="paper"?Z=G+U.pad.t+U.pad.b:U.yref==="container"&&(Z=function(X,Q,re,ie,oe){var ue=0;return re==="middle"&&(ue+=oe/2),X==="t"?(re==="top"&&(ue+=oe),ue+=ie-Q*ie):(re==="bottom"&&(ue+=oe),ue+=Q*ie),ue}(ne,q,H,$._fullLayout.height,G)+U.pad.t+U.pad.b),Z>te?Z:0}(L,R,W);j>0&&(function($,U,G,q){var H="title.automargin",ne=$._fullLayout.title,te=ne.y>.5?"t":"b",Z={x:ne.x,y:ne.y,t:0,b:0},X={};ne.yref==="paper"&&function(Q,re,ie,oe,ue){var ce=re.yref==="paper"?Q._fullLayout._size.h:Q._fullLayout.height,ye=M.isTopAnchor(re)?oe:oe-ue,de=ie==="b"?ce-ye:ye;return!(M.isTopAnchor(re)&&ie==="t"||M.isBottomAnchor(re)&&ie==="b")&&deN?A.push({code:"unused",traceType:I,templateCount:B,dataCount:N}):N>B&&A.push({code:"reused",traceType:I,templateCount:B,dataCount:N})}}else A.push({code:"data"});if(function W(j,$){for(var U in j)if(U.charAt(0)!=="_"){var G=j[U],q=h(j,U,$);g(G)?(Array.isArray(j)&&G._template===!1&&G.templateitemname&&A.push({code:"missing",path:q,templateitemname:G.templateitemname}),W(G,q)):Array.isArray(G)&&m(G)&&W(G,q)}}({data:b,layout:L},""),A.length)return A.map(w)}},403:function(T,p,t){var d=t(92770),g=t(72391),i=t(74875),M=t(71828),v=t(25095),f=t(5900),l=t(70942),a=t(11506).version,u={format:{valType:"enumerated",values:["png","jpeg","webp","svg","full-json"],dflt:"png"},width:{valType:"number",min:1},height:{valType:"number",min:1},scale:{valType:"number",min:0,dflt:1},setBackground:{valType:"any",dflt:!1},imageDataOnly:{valType:"boolean",dflt:!1}};T.exports=function(o,s){var c,h,m,w;function y(N){return!(N in s)||M.validate(s[N],u[N])}if(s=s||{},M.isPlainObject(o)?(c=o.data||[],h=o.layout||{},m=o.config||{},w={}):(o=M.getGraphDiv(o),c=M.extendDeep([],o.data),h=M.extendDeep({},o.layout),m=o._context,w=o._fullLayout||{}),!y("width")&&s.width!==null||!y("height")&&s.height!==null)throw new Error("Height and width should be pixel values.");if(!y("format"))throw new Error("Export format is not "+M.join2(u.format.values,", "," or ")+".");var S={};function _(N,W){return M.coerce(s,S,u,N,W)}var k=_("format"),E=_("width"),x=_("height"),A=_("scale"),L=_("setBackground"),b=_("imageDataOnly"),R=document.createElement("div");R.style.position="absolute",R.style.left="-5000px",document.body.appendChild(R);var I=M.extendFlat({},h);E?I.width=E:s.width===null&&d(w.width)&&(I.width=w.width),x?I.height=x:s.height===null&&d(w.height)&&(I.height=w.height);var O=M.extendFlat({},m,{_exportedPlot:!0,staticPlot:!0,setBackground:L}),z=v.getRedrawFunc(R);function F(){return new Promise(function(N){setTimeout(N,v.getDelay(R._fullLayout))})}function B(){return new Promise(function(N,W){var j=f(R,k,A),$=R._fullLayout.width,U=R._fullLayout.height;function G(){g.purge(R),document.body.removeChild(R)}if(k==="full-json"){var q=i.graphJson(R,!1,"keepdata","object",!0,!0);return q.version=a,q=JSON.stringify(q),G(),N(b?q:v.encodeJSON(q))}if(G(),k==="svg")return N(b?j:v.encodeSVG(j));var H=document.createElement("canvas");H.id=M.randstr(),l({format:k,width:$,height:U,scale:A,canvas:H,svg:j,promise:!0}).then(N).catch(W)})}return new Promise(function(N,W){g.newPlot(R,c,I,O).then(z).then(F).then(B).then(function(j){N(function($){return b?$.replace(v.IMAGE_URL_PREFIX,""):$}(j))}).catch(function(j){W(j)})})}},84936:function(T,p,t){var d=t(71828),g=t(74875),i=t(86281),M=t(72075).dfltConfig,v=d.isPlainObject,f=Array.isArray,l=d.isArrayOrTypedArray;function a(S,_,k,E,x,A){A=A||[];for(var L=Object.keys(S),b=0;bz.length&&E.push(c("unused",x,I.concat(z.length)));var $,U,G,q,H,ne=z.length,te=Array.isArray(j);if(te&&(ne=Math.min(ne,j.length)),F.dimensions===2)for(U=0;Uz[U].length&&E.push(c("unused",x,I.concat(U,z[U].length)));var Z=z[U].length;for($=0;$<(te?Math.min(Z,j[U].length):Z);$++)G=te?j[U][$]:j,q=O[U][$],H=z[U][$],d.validate(q,G)?H!==q&&H!==+q&&E.push(c("dynamic",x,I.concat(U,$),q,H)):E.push(c("value",x,I.concat(U,$),q))}else E.push(c("array",x,I.concat(U),O[U]));else for(U=0;U1&&A.push(c("object","layout"))),g.supplyDefaults(L);for(var b=L._fullData,R=k.length,I=0;I0&&Math.round(h)===h))return{vals:u};s=h}for(var m=l.calendar,w=o==="start",y=o==="end",S=f[a+"period0"],_=i(S,m)||0,k=[],E=[],x=[],A=u.length,L=0;LO;)I=M(I,-s,m);for(;I<=O;)I=M(I,s,m);R=M(I,-s,m)}else{for(I=_+(b=Math.round((O-_)/c))*c;I>O;)I-=c;for(;I<=O;)I+=c;R=I-c}k[L]=w?R:y?I:(R+I)/2,E[L]=R,x[L]=I}return{vals:k,starts:E,ends:x}}},89502:function(T){T.exports={xaxis:{valType:"subplotid",dflt:"x",editType:"calc+clearAxisTypes"},yaxis:{valType:"subplotid",dflt:"y",editType:"calc+clearAxisTypes"}}},71739:function(T,p,t){var d=t(39898),g=t(92770),i=t(71828),M=t(50606).FP_SAFE,v=t(73972),f=t(91424),l=t(41675),a=l.getFromId,u=l.isLinked;function o(E,x){var A,L,b=[],R=E._fullLayout,I=c(R,x,0),O=c(R,x,1),z=h(E,x),F=z.min,B=z.max;if(F.length===0||B.length===0)return i.simpleMap(x.range,x.r2l);var N=F[0].val,W=B[0].val;for(A=1;A0&&((ne=re-I(U)-O(G))>ie?te/ne>oe&&(q=U,H=G,oe=te/ne):te/re>oe&&(q={val:U.val,nopad:1},H={val:G.val,nopad:1},oe=te/re));if(N===W){var ue=N-1,ce=N+1;if(X)if(N===0)b=[0,1];else{var ye=(N>0?B:F).reduce(function(me,pe){return Math.max(me,O(pe))},0),de=N/(1-Math.min(.5,ye/re));b=N>0?[0,de]:[de,0]}else b=Q?[Math.max(0,ue),Math.max(1,ce)]:[ue,ce]}else X?(q.val>=0&&(q={val:0,nopad:1}),H.val<=0&&(H={val:0,nopad:1})):Q&&(q.val-oe*I(q)<0&&(q={val:0,nopad:1}),H.val<=0&&(H={val:1,nopad:1})),oe=(H.val-q.val-s(x,U.val,G.val))/(re-I(q)-O(H)),b=[q.val-oe*I(q),H.val+oe*O(H)];return j&&b.reverse(),i.simpleMap(b,x.l2r||Number)}function s(E,x,A){var L=0;if(E.rangebreaks)for(var b=E.locateBreaks(x,A),R=0;R=A&&(F.extrapad||!I)){O=!1;break}b(x,F.val)&&F.pad<=A&&(I||!F.extrapad)&&(E.splice(z,1),z--)}if(O){var B=R&&x===0;E.push({val:x,pad:B?0:A,extrapad:!B&&I})}}function S(E){return g(E)&&Math.abs(E)=x}T.exports={getAutoRange:o,makePadFn:c,doAutoRange:function(E,x,A){if(x.setScale(),x.autorange){x.range=A?A.slice():o(E,x),x._r=x.range.slice(),x._rl=i.simpleMap(x._r,x.r2l);var L=x._input,b={};b[x._attr+".range"]=x.range,b[x._attr+".autorange"]=x.autorange,v.call("_storeDirectGUIEdit",E.layout,E._fullLayout._preGUI,b),L.range=x.range.slice(),L.autorange=x.autorange}var R=x._anchorAxis;if(R&&R.rangeslider){var I=R.rangeslider[x._name];I&&I.rangemode==="auto"&&(I.range=o(E,x)),R._input.rangeslider[x._name]=i.extendFlat({},I)}},findExtremes:function(E,x,A){A||(A={}),E._m||E.setScale();var L,b,R,I,O,z,F,B,N,W=[],j=[],$=x.length,U=A.padded||!1,G=A.tozero&&(E.type==="linear"||E.type==="-"),q=E.type==="log",H=!1,ne=A.vpadLinearized||!1;function te(ce){if(Array.isArray(ce))return H=!0,function(de){return Math.max(Number(ce[de]||0),0)};var ye=Math.max(Number(ce||0),0);return function(){return ye}}var Z=te((E._m>0?A.ppadplus:A.ppadminus)||A.ppad||0),X=te((E._m>0?A.ppadminus:A.ppadplus)||A.ppad||0),Q=te(A.vpadplus||A.vpad),re=te(A.vpadminus||A.vpad);if(!H){if(B=1/0,N=-1/0,q)for(L=0;L<$;L++)(b=x[L])0&&(B=b),b>N&&b-M&&(B=b),b>N&&b=ue;L--)oe(L);return{min:W,max:j,opts:A}},concatExtremes:h}},89298:function(T,p,t){var d=t(39898),g=t(92770),i=t(74875),M=t(73972),v=t(71828),f=v.strTranslate,l=t(63893),a=t(92998),u=t(7901),o=t(91424),s=t(13838),c=t(66287),h=t(50606),m=h.ONEMAXYEAR,w=h.ONEAVGYEAR,y=h.ONEMINYEAR,S=h.ONEMAXQUARTER,_=h.ONEAVGQUARTER,k=h.ONEMINQUARTER,E=h.ONEMAXMONTH,x=h.ONEAVGMONTH,A=h.ONEMINMONTH,L=h.ONEWEEK,b=h.ONEDAY,R=b/2,I=h.ONEHOUR,O=h.ONEMIN,z=h.ONESEC,F=h.MINUS_SIGN,B=h.BADNUM,N={K:"zeroline"},W={K:"gridline",L:"path"},j={K:"minor-gridline",L:"path"},$={K:"tick",L:"path"},U={K:"tick",L:"text"},G={width:["x","r","l","xl","xr"],height:["y","t","b","yt","yb"],right:["r","xr"],left:["l","xl"],top:["t","yt"],bottom:["b","yb"]},q=t(18783),H=q.MID_SHIFT,ne=q.CAP_SHIFT,te=q.LINE_SPACING,Z=q.OPPOSITE_SIDE,X=T.exports={};X.setConvert=t(21994);var Q=t(4322),re=t(41675),ie=re.idSort,oe=re.isLinked;X.id2name=re.id2name,X.name2id=re.name2id,X.cleanId=re.cleanId,X.list=re.list,X.listIds=re.listIds,X.getFromId=re.getFromId,X.getFromTrace=re.getFromTrace;var ue=t(71739);function ce(Re){var Ne=1e-4*(Re[1]-Re[0]);return[Re[0]-Ne,Re[1]+Ne]}X.getAutoRange=ue.getAutoRange,X.findExtremes=ue.findExtremes,X.coerceRef=function(Re,Ne,Qe,ut,dt,_t){var It=ut.charAt(ut.length-1),Lt=Qe._fullLayout._subplots[It+"axis"],yt=ut+"ref",Pt={};return dt||(dt=Lt[0]||(typeof _t=="string"?_t:_t[0])),_t||(_t=dt),Lt=Lt.concat(Lt.map(function(wt){return wt+" domain"})),Pt[yt]={valType:"enumerated",values:Lt.concat(_t?typeof _t=="string"?[_t]:_t:[]),dflt:dt},v.coerce(Re,Ne,Pt,yt)},X.getRefType=function(Re){return Re===void 0?Re:Re==="paper"?"paper":Re==="pixel"?"pixel":/( domain)$/.test(Re)?"domain":"range"},X.coercePosition=function(Re,Ne,Qe,ut,dt,_t){var It,Lt;if(X.getRefType(ut)!=="range")It=v.ensureNumber,Lt=Qe(dt,_t);else{var yt=X.getFromId(Ne,ut);Lt=Qe(dt,_t=yt.fraction2r(_t)),It=yt.cleanPos}Re[dt]=It(Lt)},X.cleanPosition=function(Re,Ne,Qe){return(Qe==="paper"||Qe==="pixel"?v.ensureNumber:X.getFromId(Ne,Qe).cleanPos)(Re)},X.redrawComponents=function(Re,Ne){Ne=Ne||X.listIds(Re);var Qe=Re._fullLayout;function ut(dt,_t,It,Lt){for(var yt=M.getComponentMethod(dt,_t),Pt={},wt=0;wtQe&&wt2e-6||((Qe-Re._forceTick0)/Re._minDtick%1+1.000001)%1>2e-6)&&(Re._minDtick=0)):Re._minDtick=0},X.saveRangeInitial=function(Re,Ne){for(var Qe=X.list(Re,"",!0),ut=!1,dt=0;dt.3*Dn||dn(un)||dn(An))){var In=xn.dtick/2;Qt+=Qt+In.8){var kn=Number(xn.substr(1));Yn.exactYears>.8&&kn%12==0?Qt=X.tickIncrement(Qt,"M6","reverse")+1.5*b:Yn.exactMonths>.8?Qt=X.tickIncrement(Qt,"M1","reverse")+15.5*b:Qt-=R;var sn=X.tickIncrement(Qt,xn);if(sn<=un)return sn}return Qt}(Xt,Re,Wt,Lt,dt)),Yt=Xt;Yt<=yt;)Yt=X.tickIncrement(Yt,Wt,!1,dt);return{start:Ne.c2r(Xt,0,dt),end:Ne.c2r(Yt,0,dt),size:Wt,_dataSpan:yt-Lt}},X.prepMinorTicks=function(Re,Ne,Qe){if(!Ne.minor.dtick){delete Re.dtick;var ut,dt=Ne.dtick&&g(Ne._tmin);if(dt){var _t=X.tickIncrement(Ne._tmin,Ne.dtick,!0);ut=[Ne._tmin,.99*_t+.01*Ne._tmin]}else{var It=v.simpleMap(Ne.range,Ne.r2l);ut=[It[0],.8*It[0]+.2*It[1]]}if(Re.range=v.simpleMap(ut,Ne.l2r),Re._isMinor=!0,X.prepTicks(Re,Qe),dt){var Lt=g(Ne.dtick),yt=g(Re.dtick),Pt=Lt?Ne.dtick:+Ne.dtick.substring(1),wt=yt?Re.dtick:+Re.dtick.substring(1);Lt&&yt?pe(Pt,wt)?Pt===2*L&&wt===2*b&&(Re.dtick=L):Pt===2*L&&wt===3*b?Re.dtick=L:Pt!==L||(Ne._input.minor||{}).nticks?xe(Pt/wt,2.5)?Re.dtick=Pt/2:Re.dtick=Pt:Re.dtick=b:String(Ne.dtick).charAt(0)==="M"?yt?Re.dtick="M1":pe(Pt,wt)?Pt>=12&&wt===2&&(Re.dtick="M3"):Re.dtick=Ne.dtick:String(Re.dtick).charAt(0)==="L"?String(Ne.dtick).charAt(0)==="L"?pe(Pt,wt)||(Re.dtick=xe(Pt/wt,2.5)?Ne.dtick/2:Ne.dtick):Re.dtick="D1":Re.dtick==="D2"&&+Ne.dtick>1&&(Re.dtick=1)}Re.range=Ne.range}Ne.minor._tick0Init===void 0&&(Re.tick0=Ne.tick0)},X.prepTicks=function(Re,Ne){var Qe=v.simpleMap(Re.range,Re.r2l,void 0,void 0,Ne);if(Re.tickmode==="auto"||!Re.dtick){var ut,dt=Re.nticks;dt||(Re.type==="category"||Re.type==="multicategory"?(ut=Re.tickfont?v.bigFont(Re.tickfont.size||12):15,dt=Re._length/ut):(ut=Re._id.charAt(0)==="y"?40:80,dt=v.constrain(Re._length/ut,4,9)+1),Re._name==="radialaxis"&&(dt*=2)),Re.minor&&Re.minor.tickmode!=="array"||Re.tickmode==="array"&&(dt*=100),Re._roughDTick=Math.abs(Qe[1]-Qe[0])/dt,X.autoTicks(Re,Re._roughDTick),Re._minDtick>0&&Re.dtick<2*Re._minDtick&&(Re.dtick=Re._minDtick,Re.tick0=Re.l2r(Re._forceTick0))}Re.ticklabelmode==="period"&&function(_t){var It;function Lt(){return!(g(_t.dtick)||_t.dtick.charAt(0)!=="M")}var yt=Lt(),Pt=X.getTickFormat(_t);if(Pt){var wt=_t._dtickInit!==_t.dtick;/%[fLQsSMX]/.test(Pt)||(/%[HI]/.test(Pt)?(It=I,wt&&!yt&&_t.dtick=(rn?0:1);xn--){var un=!xn;xn?(Re._dtickInit=Re.dtick,Re._tick0Init=Re.tick0):(Re.minor._dtickInit=Re.minor.dtick,Re.minor._tick0Init=Re.minor.tick0);var An=xn?Re:v.extendFlat({},Re,Re.minor);if(un?X.prepMinorTicks(An,Re,Ne):X.prepTicks(An,Ne),An.tickmode!=="array")if(An.tickmode!=="sync"){var Yn=ce(yt),kn=Yn[0],sn=Yn[1],Tn=g(An.dtick),dn=dt==="log"&&!(Tn||An.dtick.charAt(0)==="L"),pn=X.tickFirst(An,Ne);if(xn){if(Re._tmin=pn,pn=sn:Gn<=sn;Gn=X.tickIncrement(Gn,qn,Pt,_t)){if(xn&&Dn++,An.rangebreaks&&!Pt){if(Gn=Rt)break}if(Xt.length>Nt||Gn===jn)break;jn=Gn;var lr={value:Gn};xn?(dn&&Gn!==(0|Gn)&&(lr.simpleLabel=!0),It>1&&Dn%It&&(lr.skipLabel=!0),Xt.push(lr)):(lr.minor=!0,Qt.push(lr))}}else Xt=[],Yt=Me(Re);else xn?(Xt=[],Yt=Se(Re)):(Qt=[],Wt=Se(Re))}if(rn&&!(Re.minor.ticks==="inside"&&Re.ticks==="outside"||Re.minor.ticks==="outside"&&Re.ticks==="inside")){for(var rr=Xt.map(function(Pn){return Pn.value}),Sr=[],yr=0;yr0?(On=hn-1,En=hn):(On=hn,En=hn);var mn,wn=Pn[On].value,gn=Pn[En].value,yn=Math.abs(gn-wn),Sn=Jt||yn,Vn=0;Sn>=y?Vn=yn>=y&&yn<=m?yn:w:Jt===_&&Sn>=k?Vn=yn>=k&&yn<=S?yn:_:Sn>=A?Vn=yn>=A&&yn<=E?yn:x:Jt===L&&Sn>=L?Vn=L:Sn>=b?Vn=b:Jt===R&&Sn>=R?Vn=R:Jt===I&&Sn>=I&&(Vn=I),Vn>=yn&&(Vn=yn,mn=!0);var Xn=zn+Vn;if(jt.rangebreaks&&Vn>0){for(var nr=0,Qn=0;Qn<84;Qn++){var hr=(Qn+.5)/84;jt.maskBreaks(zn*(1-hr)+hr*Xn)!==B&&nr++}(Vn*=nr/84)||(Pn[hn].drop=!0),mn&&yn>L&&(Vn=yn)}(Vn>0||hn===0)&&(Pn[hn].periodX=zn+Vn/2)}}(Xt,Re,Re._definedDelta),Re.rangebreaks){var bn=Re._id.charAt(0)==="y",Rn=1;Re.tickmode==="auto"&&(Rn=Re.tickfont?Re.tickfont.size:12);var Ln=NaN;for(Qe=Xt.length-1;Qe>-1;Qe--)if(Xt[Qe].drop)Xt.splice(Qe,1);else{Xt[Qe].value=Je(Xt[Qe].value,Re);var Un=Re.c2p(Xt[Qe].value);(bn?Ln>Un-Rn:LnRt||$nRt&&(Kn.periodX=Rt),$n10||ut.substr(5)!=="01-01"?Re._tickround="d":Re._tickround=+Ne.substr(1)%12==0?"y":"m";else if(Ne>=b&&dt<=10||Ne>=15*b)Re._tickround="d";else if(Ne>=O&&dt<=16||Ne>=I)Re._tickround="M";else if(Ne>=z&&dt<=19||Ne>=O)Re._tickround="S";else{var _t=Re.l2r(Qe+Ne).replace(/^-/,"").length;Re._tickround=Math.max(dt,_t)-20,Re._tickround<0&&(Re._tickround=4)}}else if(g(Ne)||Ne.charAt(0)==="L"){var It=Re.range.map(Re.r2d||Number);g(Ne)||(Ne=Number(Ne.substr(1))),Re._tickround=2-Math.floor(Math.log(Ne)/Math.LN10+.01);var Lt=Math.max(Math.abs(It[0]),Math.abs(It[1])),yt=Math.floor(Math.log(Lt)/Math.LN10+.01),Pt=Re.minexponent===void 0?3:Re.minexponent;Math.abs(yt)>Pt&&(Ee(Re.exponentformat)&&!Ve(yt)?Re._tickexponent=3*Math.round((yt-1)/3):Re._tickexponent=yt)}else Re._tickround=null}function ge(Re,Ne,Qe){var ut=Re.tickfont||{};return{x:Ne,dx:0,dy:0,text:Qe||"",fontSize:ut.size,font:ut.family,fontColor:ut.color}}X.autoTicks=function(Re,Ne,Qe){var ut;function dt(Rt){return Math.pow(Rt,Math.floor(Math.log(Ne)/Math.LN10))}if(Re.type==="date"){Re.tick0=v.dateTick0(Re.calendar,0);var _t=2*Ne;if(_t>w)Ne/=w,ut=dt(10),Re.dtick="M"+12*ze(Ne,ut,Ce);else if(_t>x)Ne/=x,Re.dtick="M"+ze(Ne,1,ae);else if(_t>b){if(Re.dtick=ze(Ne,b,Re._hasDayOfWeekBreaks?[1,2,7,14]:be),!Qe){var It=X.getTickFormat(Re),Lt=Re.ticklabelmode==="period";Lt&&(Re._rawTick0=Re.tick0),/%[uVW]/.test(It)?Re.tick0=v.dateTick0(Re.calendar,2):Re.tick0=v.dateTick0(Re.calendar,1),Lt&&(Re._dowTick0=Re.tick0)}}else _t>I?Re.dtick=ze(Ne,I,ae):_t>O?Re.dtick=ze(Ne,O,fe):_t>z?Re.dtick=ze(Ne,z,fe):(ut=dt(10),Re.dtick=ze(Ne,ut,Ce))}else if(Re.type==="log"){Re.tick0=0;var yt=v.simpleMap(Re.range,Re.r2l);if(Re._isMinor&&(Ne*=1.5),Ne>.7)Re.dtick=Math.ceil(Ne);else if(Math.abs(yt[1]-yt[0])<1){var Pt=1.5*Math.abs((yt[1]-yt[0])/Ne);Ne=Math.abs(Math.pow(10,yt[1])-Math.pow(10,yt[0]))/Pt,ut=dt(10),Re.dtick="L"+ze(Ne,ut,Ce)}else Re.dtick=Ne>.3?"D2":"D1"}else Re.type==="category"||Re.type==="multicategory"?(Re.tick0=0,Re.dtick=Math.ceil(Math.max(Ne,1))):Ke(Re)?(Re.tick0=0,ut=1,Re.dtick=ze(Ne,ut,Be)):(Re.tick0=0,ut=dt(10),Re.dtick=ze(Ne,ut,Ce));if(Re.dtick===0&&(Re.dtick=1),!g(Re.dtick)&&typeof Re.dtick!="string"){var wt=Re.dtick;throw Re.dtick=1,"ax.dtick error: "+String(wt)}},X.tickIncrement=function(Re,Ne,Qe,ut){var dt=Qe?-1:1;if(g(Ne))return v.increment(Re,dt*Ne);var _t=Ne.charAt(0),It=dt*Number(Ne.substr(1));if(_t==="M")return v.incrementMonth(Re,It,ut);if(_t==="L")return Math.log(Math.pow(10,Re)+It)/Math.LN10;if(_t==="D"){var Lt=Ne==="D2"?Le:ke,yt=Re+.01*dt,Pt=v.roundUp(v.mod(yt,1),Lt,Qe);return Math.floor(yt)+Math.log(d.round(Math.pow(10,Pt),1))/Math.LN10}throw"unrecognized dtick "+String(Ne)},X.tickFirst=function(Re,Ne){var Qe=Re.r2l||Number,ut=v.simpleMap(Re.range,Qe,void 0,void 0,Ne),dt=ut[1] ")}else Qt._prevDateHead=kn,sn+="
"+kn;rn.text=sn}(Re,_t,Qe,Lt):yt==="log"?function(Qt,rn,xn,un,An){var Yn=Qt.dtick,kn=rn.x,sn=Qt.tickformat,Tn=typeof Yn=="string"&&Yn.charAt(0);if(An==="never"&&(An=""),un&&Tn!=="L"&&(Yn="L3",Tn="L"),sn||Tn==="L")rn.text=$e(Math.pow(10,kn),Qt,An,un);else if(g(Yn)||Tn==="D"&&v.mod(kn+.01,1)<.1){var dn=Math.round(kn),pn=Math.abs(dn),Dn=Qt.exponentformat;Dn==="power"||Ee(Dn)&&Ve(dn)?(rn.text=dn===0?1:dn===1?"10":"10"+(dn>1?"":F)+pn+"",rn.fontSize*=1.25):(Dn==="e"||Dn==="E")&&pn>2?rn.text="1"+Dn+(dn>0?"+":F)+pn:(rn.text=$e(Math.pow(10,kn),Qt,"","fakehover"),Yn==="D1"&&Qt._id.charAt(0)==="y"&&(rn.dy-=rn.fontSize/6))}else{if(Tn!=="D")throw"unrecognized dtick "+String(Yn);rn.text=String(Math.round(Math.pow(10,v.mod(kn,1)))),rn.fontSize*=.75}if(Qt.dtick==="D1"){var In=String(rn.text).charAt(0);In!=="0"&&In!=="1"||(Qt._id.charAt(0)==="y"?rn.dx-=rn.fontSize/4:(rn.dy+=rn.fontSize/2,rn.dx+=(Qt.range[1]>Qt.range[0]?1:-1)*rn.fontSize*(kn<0?.5:.25)))}}(Re,_t,0,Lt,Yt):yt==="category"?function(Qt,rn){var xn=Qt._categories[Math.round(rn.x)];xn===void 0&&(xn=""),rn.text=String(xn)}(Re,_t):yt==="multicategory"?function(Qt,rn,xn){var un=Math.round(rn.x),An=Qt._categories[un]||[],Yn=An[1]===void 0?"":String(An[1]),kn=An[0]===void 0?"":String(An[0]);xn?rn.text=kn+" - "+Yn:(rn.text=Yn,rn.text2=kn)}(Re,_t,Qe):Ke(Re)?function(Qt,rn,xn,un,An){if(Qt.thetaunit!=="radians"||xn)rn.text=$e(rn.x,Qt,An,un);else{var Yn=rn.x/180;if(Yn===0)rn.text="0";else{var kn=function(Tn){function dn(jn,Gn){return Math.abs(jn-Gn)<=1e-6}var pn=function(jn){for(var Gn=1;!dn(Math.round(jn*Gn)/Gn,jn);)Gn*=10;return Gn}(Tn),Dn=Tn*pn,In=Math.abs(function jn(Gn,qn){return dn(qn,0)?Gn:jn(qn,Gn%qn)}(Dn,pn));return[Math.round(Dn/In),Math.round(pn/In)]}(Yn);if(kn[1]>=100)rn.text=$e(v.deg2rad(rn.x),Qt,An,un);else{var sn=rn.x<0;kn[1]===1?kn[0]===1?rn.text="π":rn.text=kn[0]+"π":rn.text=["",kn[0],"","⁄","",kn[1],"","π"].join(""),sn&&(rn.text=F+rn.text)}}}}(Re,_t,Qe,Lt,Yt):function(Qt,rn,xn,un,An){An==="never"?An="":Qt.showexponent==="all"&&Math.abs(rn.x/Qt.dtick)<1e-6&&(An="hide"),rn.text=$e(rn.x,Qt,An,un)}(Re,_t,0,Lt,Yt),ut||(Re.tickprefix&&!Nt(Re.showtickprefix)&&(_t.text=Re.tickprefix+_t.text),Re.ticksuffix&&!Nt(Re.showticksuffix)&&(_t.text+=Re.ticksuffix)),Re.labelalias&&Re.labelalias.hasOwnProperty(_t.text)){var Wt=Re.labelalias[_t.text];typeof Wt=="string"&&(_t.text=Wt)}if(Re.tickson==="boundaries"||Re.showdividers){var Xt=function(Qt){var rn=Re.l2p(Qt);return rn>=0&&rn<=Re._length?Qt:null};_t.xbnd=[Xt(_t.x-.5),Xt(_t.x+Re.dtick-.5)]}return _t},X.hoverLabelText=function(Re,Ne,Qe){Qe&&(Re=v.extendFlat({},Re,{hoverformat:Qe}));var ut=Array.isArray(Ne)?Ne[0]:Ne,dt=Array.isArray(Ne)?Ne[1]:void 0;if(dt!==void 0&&dt!==ut)return X.hoverLabelText(Re,ut,Qe)+" - "+X.hoverLabelText(Re,dt,Qe);var _t=Re.type==="log"&&ut<=0,It=X.tickText(Re,Re.c2l(_t?-ut:ut),"hover").text;return _t?ut===0?"0":F+It:It};var we=["f","p","n","μ","m","","k","M","G","T"];function Ee(Re){return Re==="SI"||Re==="B"}function Ve(Re){return Re>14||Re<-15}function $e(Re,Ne,Qe,ut){var dt=Re<0,_t=Ne._tickround,It=Qe||Ne.exponentformat||"B",Lt=Ne._tickexponent,yt=X.getTickFormat(Ne),Pt=Ne.separatethousands;if(ut){var wt={exponentformat:It,minexponent:Ne.minexponent,dtick:Ne.showexponent==="none"?Ne.dtick:g(Re)&&Math.abs(Re)||1,range:Ne.showexponent==="none"?Ne.range.map(Ne.r2d):[0,Re||1]};je(wt),_t=(Number(wt._tickround)||0)+4,Lt=wt._tickexponent,Ne.hoverformat&&(yt=Ne.hoverformat)}if(yt)return Ne._numFormat(yt)(Re).replace(/-/g,F);var Rt,Nt=Math.pow(10,-_t)/2;if(It==="none"&&(Lt=0),(Re=Math.abs(Re))"+Rt+"":It==="B"&&Lt===9?Re+="B":Ee(It)&&(Re+=we[Lt/3+5])),dt?F+Re:Re}function Ye(Re,Ne){if(Re){var Qe=Object.keys(G).reduce(function(ut,dt){return Ne.indexOf(dt)!==-1&&G[dt].forEach(function(_t){ut[_t]=1}),ut},{});Object.keys(Re).forEach(function(ut){Qe[ut]||(ut.length===1?Re[ut]=0:delete Re[ut])})}}function st(Re,Ne){for(var Qe=[],ut={},dt=0;dt1&&Qe=dt.min&&Re=0,rn=wt(Nt,Yt[1])<=0;return(Wt||Qt)&&(Xt||rn)}if(Re.tickformatstops&&Re.tickformatstops.length>0)switch(Re.type){case"date":case"linear":for(Ne=0;Ne=It(dt)))){Qe=ut;break}break;case"log":for(Ne=0;Ne=0&&dt.unshift(dt.splice(Pt,1).shift())}});var It={false:{left:0,right:0}};return v.syncOrAsync(dt.map(function(Lt){return function(){if(Lt){var yt=X.getFromId(Re,Lt);Qe||(Qe={}),Qe.axShifts=It,Qe.overlayingShiftedAx=_t;var Pt=X.drawOne(Re,yt,Qe);return yt._shiftPusher&&ft(yt,yt._fullDepth||0,It,!0),yt._r=yt.range.slice(),yt._rl=v.simpleMap(yt._r,yt.r2l),Pt}}}))},X.drawOne=function(Re,Ne,Qe){var ut,dt,_t,It=(Qe=Qe||{}).axShifts||{},Lt=Qe.overlayingShiftedAx||[];Ne.setScale();var yt=Re._fullLayout,Pt=Ne._id,wt=Pt.charAt(0),Rt=X.counterLetter(Pt),Nt=yt._plots[Ne._mainSubplot];if(Nt){if(Ne._shiftPusher=Ne.autoshift||Lt.indexOf(Ne._id)!==-1||Lt.indexOf(Ne.overlaying)!==-1,Ne._shiftPusher&Ne.anchor==="free"){var Yt=Ne.linewidth/2||0;Ne.ticks==="inside"&&(Yt+=Ne.ticklen),ft(Ne,Yt,It,!0),ft(Ne,Ne.shift||0,It,!1)}Qe.skipTitle===!0&&Ne._shift!==void 0||(Ne._shift=function(En,mn){return En.autoshift?mn[En.overlaying][En.side]:En.shift||0}(Ne,It));var Wt=Nt[wt+"axislayer"],Xt=Ne._mainLinePosition,Qt=Xt+=Ne._shift,rn=Ne._mainMirrorPosition,xn=Ne._vals=X.calcTicks(Ne),un=[Ne.mirror,Qt,rn].join("_");for(ut=0;ut0?En.bottom-Vn:0,Xn))));var nr=0,Qn=0;if(Ne._shiftPusher&&(nr=Math.max(Xn,En.height>0?yn==="l"?Vn-En.left:En.right-Vn:0),Ne.title.text!==yt._dfltTitle[wt]&&(Qn=(Ne._titleStandoff||0)+(Ne._titleScoot||0),yn==="l"&&(Qn+=bt(Ne))),Ne._fullDepth=Math.max(nr,Qn)),Ne.automargin){mn={x:0,y:0,r:0,l:0,t:0,b:0};var hr=[0,1],cr=typeof Ne._shift=="number"?Ne._shift:0;if(wt==="x"){if(yn==="b"?mn[yn]=Ne._depth:(mn[yn]=Ne._depth=Math.max(En.width>0?Vn-En.top:0,Xn),hr.reverse()),En.width>0){var pr=En.right-(Ne._offset+Ne._length);pr>0&&(mn.xr=1,mn.r=pr);var dr=Ne._offset-En.left;dr>0&&(mn.xl=0,mn.l=dr)}}else if(yn==="l"?(Ne._depth=Math.max(En.height>0?Vn-En.left:0,Xn),mn[yn]=Ne._depth-cr):(Ne._depth=Math.max(En.height>0?En.right-Vn:0,Xn),mn[yn]=Ne._depth+cr,hr.reverse()),En.height>0){var br=En.bottom-(Ne._offset+Ne._length);br>0&&(mn.yb=0,mn.b=br);var Ir=Ne._offset-En.top;Ir>0&&(mn.yt=1,mn.t=Ir)}mn[Rt]=Ne.anchor==="free"?Ne.position:Ne._anchorAxis.domain[hr[0]],Ne.title.text!==yt._dfltTitle[wt]&&(mn[yn]+=bt(Ne)+(Ne.title.standoff||0)),Ne.mirror&&Ne.anchor!=="free"&&((wn={x:0,y:0,r:0,l:0,t:0,b:0})[Sn]=Ne.linewidth,Ne.mirror&&Ne.mirror!==!0&&(wn[Sn]+=Xn),Ne.mirror===!0||Ne.mirror==="ticks"?wn[Rt]=Ne._anchorAxis.domain[hr[1]]:Ne.mirror!=="all"&&Ne.mirror!=="allticks"||(wn[Rt]=[Ne._counterDomainMin,Ne._counterDomainMax][hr[1]]))}zn&&(gn=M.getComponentMethod("rangeslider","autoMarginOpts")(Re,Ne)),typeof Ne.automargin=="string"&&(Ye(mn,Ne.automargin),Ye(wn,Ne.automargin)),i.autoMargin(Re,xt(Ne),mn),i.autoMargin(Re,Ft(Ne),wn),i.autoMargin(Re,Ot(Ne),gn)}),v.syncOrAsync(Jt)}}function On(En){var mn=Pt+(En||"tick");return An[mn]||(An[mn]=function(wn,gn){var yn,Sn,Vn,Xn;return wn._selections[gn].size()?(yn=1/0,Sn=-1/0,Vn=1/0,Xn=-1/0,wn._selections[gn].each(function(){var nr=kt(this),Qn=o.bBox(nr.node().parentNode);yn=Math.min(yn,Qn.top),Sn=Math.max(Sn,Qn.bottom),Vn=Math.min(Vn,Qn.left),Xn=Math.max(Xn,Qn.right)})):(yn=0,Sn=0,Vn=0,Xn=0),{top:yn,bottom:Sn,left:Vn,right:Xn,height:Sn-yn,width:Xn-Vn}}(Ne,mn)),An[mn]}},X.getTickSigns=function(Re,Ne){var Qe=Re._id.charAt(0),ut={x:"top",y:"right"}[Qe],dt=Re.side===ut?1:-1,_t=[-1,1,dt,-dt];return(Ne?(Re.minor||{}).ticks:Re.ticks)!=="inside"==(Qe==="x")&&(_t=_t.map(function(It){return-It})),Re.side&&_t.push({l:-1,t:-1,r:1,b:1}[Re.side.charAt(0)]),_t},X.makeTransTickFn=function(Re){return Re._id.charAt(0)==="x"?function(Ne){return f(Re._offset+Re.l2p(Ne.x),0)}:function(Ne){return f(0,Re._offset+Re.l2p(Ne.x))}},X.makeTransTickLabelFn=function(Re){var Ne=function(dt){var _t=dt.ticklabelposition||"",It=function(rn){return _t.indexOf(rn)!==-1},Lt=It("top"),yt=It("left"),Pt=It("right"),wt=It("bottom"),Rt=It("inside"),Nt=wt||yt||Lt||Pt;if(!Nt&&!Rt)return[0,0];var Yt=dt.side,Wt=Nt?(dt.tickwidth||0)/2:0,Xt=3,Qt=dt.tickfont?dt.tickfont.size:12;return(wt||Lt)&&(Wt+=Qt*ne,Xt+=(dt.linewidth||0)/2),(yt||Pt)&&(Wt+=(dt.linewidth||0)/2,Xt+=3),Rt&&Yt==="top"&&(Xt-=Qt*(1-ne)),(yt||Lt)&&(Wt=-Wt),Yt!=="bottom"&&Yt!=="right"||(Xt=-Xt),[Nt?Wt:0,Rt?Xt:0]}(Re),Qe=Ne[0],ut=Ne[1];return Re._id.charAt(0)==="x"?function(dt){return f(Qe+Re._offset+Re.l2p(ot(dt)),ut)}:function(dt){return f(ut,Qe+Re._offset+Re.l2p(ot(dt)))}},X.makeTickPath=function(Re,Ne,Qe,ut){ut||(ut={});var dt=ut.minor;if(dt&&!Re.minor)return"";var _t=ut.len!==void 0?ut.len:dt?Re.minor.ticklen:Re.ticklen,It=Re._id.charAt(0),Lt=(Re.linewidth||1)/2;return It==="x"?"M0,"+(Ne+Lt*Qe)+"v"+_t*Qe:"M"+(Ne+Lt*Qe)+",0h"+_t*Qe},X.makeLabelFns=function(Re,Ne,Qe){var ut=Re.ticklabelposition||"",dt=function(Dn){return ut.indexOf(Dn)!==-1},_t=dt("top"),It=dt("left"),Lt=dt("right"),yt=dt("bottom")||It||_t||Lt,Pt=dt("inside"),wt=ut==="inside"&&Re.ticks==="inside"||!Pt&&Re.ticks==="outside"&&Re.tickson!=="boundaries",Rt=0,Nt=0,Yt=wt?Re.ticklen:0;if(Pt?Yt*=-1:yt&&(Yt=0),wt&&(Rt+=Yt,Qe)){var Wt=v.deg2rad(Qe);Rt=Yt*Math.cos(Wt)+1,Nt=Yt*Math.sin(Wt)}Re.showticklabels&&(wt||Re.showline)&&(Rt+=.2*Re.tickfont.size);var Xt,Qt,rn,xn,un,An={labelStandoff:Rt+=(Re.linewidth||1)/2*(Pt?-1:1),labelShift:Nt},Yn=0,kn=Re.side,sn=Re._id.charAt(0),Tn=Re.tickangle;if(sn==="x")xn=(un=!Pt&&kn==="bottom"||Pt&&kn==="top")?1:-1,Pt&&(xn*=-1),Xt=Nt*xn,Qt=Ne+Rt*xn,rn=un?1:-.2,Math.abs(Tn)===90&&(Pt?rn+=H:rn=Tn===-90&&kn==="bottom"?ne:Tn===90&&kn==="top"?H:.5,Yn=H/2*(Tn/90)),An.xFn=function(Dn){return Dn.dx+Xt+Yn*Dn.fontSize},An.yFn=function(Dn){return Dn.dy+Qt+Dn.fontSize*rn},An.anchorFn=function(Dn,In){if(yt){if(It)return"end";if(Lt)return"start"}return g(In)&&In!==0&&In!==180?In*xn<0!==Pt?"end":"start":"middle"},An.heightFn=function(Dn,In,jn){return In<-60||In>60?-.5*jn:Re.side==="top"!==Pt?-jn:0};else if(sn==="y"){if(xn=(un=!Pt&&kn==="left"||Pt&&kn==="right")?1:-1,Pt&&(xn*=-1),Xt=Rt,Qt=Nt*xn,rn=0,Pt||Math.abs(Tn)!==90||(rn=Tn===-90&&kn==="left"||Tn===90&&kn==="right"?ne:.5),Pt){var dn=g(Tn)?+Tn:0;if(dn!==0){var pn=v.deg2rad(dn);Yn=Math.abs(Math.sin(pn))*ne*xn,rn=0}}An.xFn=function(Dn){return Dn.dx+Ne-(Xt+Dn.fontSize*rn)*xn+Yn*Dn.fontSize},An.yFn=function(Dn){return Dn.dy+Qt+Dn.fontSize*H},An.anchorFn=function(Dn,In){return g(In)&&Math.abs(In)===90?"middle":un?"end":"start"},An.heightFn=function(Dn,In,jn){return Re.side==="right"&&(In*=-1),In<-30?-jn:In<30?-.5*jn:0}}return An},X.drawTicks=function(Re,Ne,Qe){Qe=Qe||{};var ut=Ne._id+"tick",dt=[].concat(Ne.minor&&Ne.minor.ticks?Qe.vals.filter(function(It){return It.minor&&!It.noTick}):[]).concat(Ne.ticks?Qe.vals.filter(function(It){return!It.minor&&!It.noTick}):[]),_t=Qe.layer.selectAll("path."+ut).data(dt,ht);_t.exit().remove(),_t.enter().append("path").classed(ut,1).classed("ticks",1).classed("crisp",Qe.crisp!==!1).each(function(It){return u.stroke(d.select(this),It.minor?Ne.minor.tickcolor:Ne.tickcolor)}).style("stroke-width",function(It){return o.crispRound(Re,It.minor?Ne.minor.tickwidth:Ne.tickwidth,1)+"px"}).attr("d",Qe.path).style("display",null),nt(Ne,[$]),_t.attr("transform",Qe.transFn)},X.drawGrid=function(Re,Ne,Qe){if(Qe=Qe||{},Ne.tickmode!=="sync"){var ut=Ne._id+"grid",dt=Ne.minor&&Ne.minor.showgrid,_t=dt?Qe.vals.filter(function(rn){return rn.minor}):[],It=Ne.showgrid?Qe.vals.filter(function(rn){return!rn.minor}):[],Lt=Qe.counterAxis;if(Lt&&X.shouldShowZeroLine(Re,Ne,Lt))for(var yt=Ne.tickmode==="array",Pt=0;Pt=0;Wt--){var Xt=Wt?Nt:Yt;if(Xt){var Qt=Xt.selectAll("path."+ut).data(Wt?It:_t,ht);Qt.exit().remove(),Qt.enter().append("path").classed(ut,1).classed("crisp",Qe.crisp!==!1),Qt.attr("transform",Qe.transFn).attr("d",Qe.path).each(function(rn){return u.stroke(d.select(this),rn.minor?Ne.minor.gridcolor:Ne.gridcolor||"#ddd")}).style("stroke-dasharray",function(rn){return o.dashStyle(rn.minor?Ne.minor.griddash:Ne.griddash,rn.minor?Ne.minor.gridwidth:Ne.gridwidth)}).style("stroke-width",function(rn){return(rn.minor?Rt:Ne._gw)+"px"}).style("display",null),typeof Qe.path=="function"&&Qt.attr("d",Qe.path)}}nt(Ne,[W,j])}},X.drawZeroLine=function(Re,Ne,Qe){Qe=Qe||Qe;var ut=Ne._id+"zl",dt=X.shouldShowZeroLine(Re,Ne,Qe.counterAxis),_t=Qe.layer.selectAll("path."+ut).data(dt?[{x:0,id:Ne._id}]:[]);_t.exit().remove(),_t.enter().append("path").classed(ut,1).classed("zl",1).classed("crisp",Qe.crisp!==!1).each(function(){Qe.layer.selectAll("path").sort(function(It,Lt){return ie(It.id,Lt.id)})}),_t.attr("transform",Qe.transFn).attr("d",Qe.path).call(u.stroke,Ne.zerolinecolor||u.defaultLine).style("stroke-width",o.crispRound(Re,Ne.zerolinewidth,Ne._gw||1)+"px").style("display",null),nt(Ne,[N])},X.drawLabels=function(Re,Ne,Qe){Qe=Qe||{};var ut=Re._fullLayout,dt=Ne._id,_t=dt.charAt(0),It=Qe.cls||dt+"tick",Lt=Qe.vals.filter(function(xn){return xn.text}),yt=Qe.labelFns,Pt=Qe.secondary?0:Ne.tickangle,wt=(Ne._prevTickAngles||{})[It],Rt=Qe.layer.selectAll("g."+It).data(Ne.showticklabels?Lt:[],ht),Nt=[];function Yt(xn,un){xn.each(function(An){var Yn=d.select(this),kn=Yn.select(".text-math-group"),sn=yt.anchorFn(An,un),Tn=Qe.transFn.call(Yn.node(),An)+(g(un)&&+un!=0?" rotate("+un+","+yt.xFn(An)+","+(yt.yFn(An)-An.fontSize/2)+")":""),dn=l.lineCount(Yn),pn=te*An.fontSize,Dn=yt.heightFn(An,g(un)?+un:0,(dn-1)*pn);if(Dn&&(Tn+=f(0,Dn)),kn.empty()){var In=Yn.select("text");In.attr({transform:Tn,"text-anchor":sn}),In.style("opacity",1),Ne._adjustTickLabelsOverflow&&Ne._adjustTickLabelsOverflow()}else{var jn=o.bBox(kn.node()).width*{end:-.5,start:.5}[sn];kn.attr("transform",Tn+f(jn,0))}})}Rt.enter().append("g").classed(It,1).append("text").attr("text-anchor","middle").each(function(xn){var un=d.select(this),An=Re._promises.length;un.call(l.positionText,yt.xFn(xn),yt.yFn(xn)).call(o.font,xn.font,xn.fontSize,xn.fontColor).text(xn.text).call(l.convertToTspans,Re),Re._promises[An]?Nt.push(Re._promises.pop().then(function(){Yt(un,Pt)})):Yt(un,Pt)}),nt(Ne,[U]),Rt.exit().remove(),Qe.repositionOnUpdate&&Rt.each(function(xn){d.select(this).select("text").call(l.positionText,yt.xFn(xn),yt.yFn(xn))}),Ne._adjustTickLabelsOverflow=function(){var xn=Ne.ticklabeloverflow;if(xn&&xn!=="allow"){var un=xn.indexOf("hide")!==-1,An=Ne._id.charAt(0)==="x",Yn=0,kn=An?Re._fullLayout.width:Re._fullLayout.height;if(xn.indexOf("domain")!==-1){var sn=v.simpleMap(Ne.range,Ne.r2l);Yn=Ne.l2p(sn[0])+Ne._offset,kn=Ne.l2p(sn[1])+Ne._offset}var Tn=Math.min(Yn,kn),dn=Math.max(Yn,kn),pn=Ne.side,Dn=1/0,In=-1/0;for(var jn in Rt.each(function(lr){var rr=d.select(this);if(rr.select(".text-math-group").empty()){var Sr=o.bBox(rr.node()),yr=0;An?(Sr.right>dn||Sr.leftdn||Sr.top+(Ne.tickangle?0:lr.fontSize/4)Ne["_visibleLabelMin_"+sn._id]?qn.style("display","none"):dn.K!=="tick"||Tn||qn.style("display",null)})})})})},Yt(Rt,wt+1?wt:Pt);var Wt=null;Ne._selections&&(Ne._selections[It]=Rt);var Xt=[function(){return Nt.length&&Promise.all(Nt)}];Ne.automargin&&ut._redrawFromAutoMarginCount&&wt===90?(Wt=90,Xt.push(function(){Yt(Rt,wt)})):Xt.push(function(){if(Yt(Rt,Pt),Lt.length&&_t==="x"&&!g(Pt)&&(Ne.type!=="log"||String(Ne.dtick).charAt(0)!=="D")){Wt=0;var xn,un=0,An=[];if(Rt.each(function(rr){un=Math.max(un,rr.fontSize);var Sr=Ne.l2p(rr.x),yr=kt(this),or=o.bBox(yr.node());An.push({top:0,bottom:10,height:10,left:Sr-or.width/2,right:Sr+or.width/2+2,width:or.width+2})}),Ne.tickson!=="boundaries"&&!Ne.showdividers||Qe.secondary){var Yn=Lt.length,kn=Math.abs((Lt[Yn-1].x-Lt[0].x)*Ne._m)/(Yn-1),sn=Ne.ticklabelposition||"",Tn=function(rr){return sn.indexOf(rr)!==-1},dn=Tn("top"),pn=Tn("left"),Dn=Tn("right"),In=Tn("bottom")||pn||dn||Dn?(Ne.tickwidth||0)+6:0,jn=kn<2.5*un||Ne.type==="multicategory"||Ne._name==="realaxis";for(xn=0;xn1)for(Lt=1;Lt2*b}(h,s))return"date";var _=c.autotypenumbers!=="strict";return function(k,E){for(var x=k.length,A=u(x),L=0,b=0,R={},I=0;I2*L}(h,_)?"category":function(k,E){for(var x=k.length,A=0;A=2){var b,R,I="";if(L.length===2){for(b=0;b<2;b++)if(R=_(L[b])){I=m;break}}var O=A("pattern",I);if(O===m)for(b=0;b<2;b++)(R=_(L[b]))&&(E.bounds[b]=L[b]=R-1);if(O)for(b=0;b<2;b++)switch(R=L[b],O){case m:if(!d(R)||(R=+R)!==Math.floor(R)||R<0||R>=7)return void(E.enabled=!1);E.bounds[b]=L[b]=R;break;case w:if(!d(R)||(R=+R)<0||R>24)return void(E.enabled=!1);E.bounds[b]=L[b]=R}if(x.autorange===!1){var z=x.range;if(z[0]z[1])return void(E.enabled=!1)}else if(L[0]>z[0]&&L[1]l?1:-1:+(M.substr(1)||1)-+(v.substr(1)||1)},p.ref2id=function(M){return!!/^[xyz]/.test(M)&&M.split(" ")[0]},p.isLinked=function(M,v){return i(v,M._axisMatchGroups)||i(v,M._axisConstraintGroups)}},15258:function(T){T.exports=function(p,t,d,g){if(t.type==="category"){var i,M=p.categoryarray,v=Array.isArray(M)&&M.length>0;v&&(i="array");var f,l=d("categoryorder",i);l==="array"&&(f=d("categoryarray")),v||l!=="array"||(l=t.categoryorder="trace"),l==="trace"?t._initialCategories=[]:l==="array"?t._initialCategories=f.slice():(f=function(a,u){var o,s,c,h=u.dataAttr||a._id.charAt(0),m={};if(u.axData)o=u.axData;else for(o=[],s=0;sk?E.substr(k):x.substr(_))+A:E+x+y*S:A}function m(y,S){for(var _=S._size,k=_.h/_.w,E={},x=Object.keys(y),A=0;Al*F)||j){for(_=0;_Q&&ueZ&&(Z=ue);b/=(Z-te)/(2*X),te=x.l2r(te),Z=x.l2r(Z),x.range=x._input.range=q=0?Math.min(ue,.9):1/(1/Math.max(ue,-.3)+3.222))}function q(ue,ce,ye,de,me){return ue.append("path").attr("class","zoombox").style({fill:ce>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("transform",l(ye,de)).attr("d",me+"Z")}function H(ue,ce,ye){return ue.append("path").attr("class","zoombox-corners").style({fill:u.background,stroke:u.defaultLine,"stroke-width":1,opacity:0}).attr("transform",l(ce,ye)).attr("d","M0,0Z")}function ne(ue,ce,ye,de,me,pe){ue.attr("d",de+"M"+ye.l+","+ye.t+"v"+ye.h+"h"+ye.w+"v-"+ye.h+"h-"+ye.w+"Z"),te(ue,ce,me,pe)}function te(ue,ce,ye,de){ye||(ue.transition().style("fill",de>.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),ce.transition().style("opacity",1).duration(200))}function Z(ue){d.select(ue).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}function X(ue){B&&ue.data&&ue._context.showTips&&(g.notifier(g._(ue,"Double-click to zoom back out"),"long"),B=!1)}function Q(ue){var ce=Math.floor(Math.min(ue.b-ue.t,ue.r-ue.l,F)/2);return"M"+(ue.l-3.5)+","+(ue.t-.5+ce)+"h3v"+-ce+"h"+ce+"v-3h-"+(ce+3)+"ZM"+(ue.r+3.5)+","+(ue.t-.5+ce)+"h-3v"+-ce+"h"+-ce+"v-3h"+(ce+3)+"ZM"+(ue.r+3.5)+","+(ue.b+.5-ce)+"h-3v"+ce+"h"+-ce+"v3h"+(ce+3)+"ZM"+(ue.l-3.5)+","+(ue.b+.5-ce)+"h3v"+ce+"h"+ce+"v3h-"+(ce+3)+"Z"}function re(ue,ce,ye,de,me){for(var pe,xe,Pe,_e,Me=!1,Se={},Ce={},ae=(me||{}).xaHash,fe=(me||{}).yaHash,be=0;be=0)dn._fullLayout._deactivateShape(dn);else{var pn=dn._fullLayout.clickmode;if(Z(dn),sn!==2||Ft||rn(),xt)pn.indexOf("select")>-1&&R(Tn,dn,ae,fe,ce.id,dt),pn.indexOf("event")>-1&&s.click(dn,Tn,ce.id);else if(sn===1&&Ft){var Dn=xe?Me:_e,In=xe==="s"||Pe==="w"?0:1,jn=Dn._name+".range["+In+"]",Gn=function(rr,Sr){var yr,or=rr.range[Sr],vr=Math.abs(or-rr.range[1-Sr]);return rr.type==="date"?or:rr.type==="log"?(yr=Math.ceil(Math.max(0,-Math.log(vr)/Math.LN10))+3,i("."+yr+"g")(Math.pow(10,or))):(yr=Math.floor(Math.log(Math.abs(or))/Math.LN10)-Math.floor(Math.log(vr)/Math.LN10)+4,i("."+String(yr)+"g")(or))}(Dn,In),qn="left",lr="middle";if(Dn.fixedrange)return;xe?(lr=xe==="n"?"top":"bottom",Dn.side==="right"&&(qn="right")):Pe==="e"&&(qn="right"),dn._context.showAxisRangeEntryBoxes&&d.select(qt).call(a.makeEditable,{gd:dn,immediate:!0,background:dn._fullLayout.paper_bgcolor,text:String(Gn),fill:Dn.tickfont?Dn.tickfont.color:"#444",horizontalAlign:qn,verticalAlign:lr}).on("edit",function(rr){var Sr=Dn.d2r(rr);Sr!==void 0&&f.call("_guiRelayout",dn,jn,Sr)})}}}function Lt(sn,Tn){if(ue._transitioningWithDuration)return!1;var dn=Math.max(0,Math.min(Le,bt*sn+Vt)),pn=Math.max(0,Math.min(Be,Et*Tn+Ke)),Dn=Math.abs(dn-Vt),In=Math.abs(pn-Ke);function jn(){Re="",Je.r=Je.l,Je.t=Je.b,Qe.attr("d","M0,0Z")}if(Je.l=Math.min(Vt,dn),Je.r=Math.max(Vt,dn),Je.t=Math.min(Ke,pn),Je.b=Math.max(Ke,pn),ze.isSubplotConstrained)Dn>F||In>F?(Re="xy",Dn/Le>In/Be?(In=Dn*Be/Le,Ke>pn?Je.t=Ke-In:Je.b=Ke+In):(Dn=In*Le/Be,Vt>dn?Je.l=Vt-Dn:Je.r=Vt+Dn),Qe.attr("d",Q(Je))):jn();else if(je.isSubplotConstrained)if(Dn>F||In>F){Re="xy";var Gn=Math.min(Je.l/Le,(Be-Je.b)/Be),qn=Math.max(Je.r/Le,(Be-Je.t)/Be);Je.l=Gn*Le,Je.r=qn*Le,Je.b=(1-Gn)*Be,Je.t=(1-qn)*Be,Qe.attr("d",Q(Je))}else jn();else!we||In0){var lr;if(je.isSubplotConstrained||!ge&&we.length===1){for(lr=0;lrx[1]-.000244140625&&(M.domain=a),g.noneOrAll(i.domain,M.domain,a),M.tickmode==="sync"&&(M.tickmode="auto")}return v("layer"),M}},89426:function(T,p,t){var d=t(59652);T.exports=function(g,i,M,v,f){f||(f={});var l=f.tickSuffixDflt,a=d(g);M("tickprefix")&&M("showtickprefix",a),M("ticksuffix",l)&&M("showticksuffix",a)}},42449:function(T,p,t){var d=t(18783).FROM_BL;T.exports=function(g,i,M){M===void 0&&(M=d[g.constraintoward||"center"]);var v=[g.r2l(g.range[0]),g.r2l(g.range[1])],f=v[0]+(v[1]-v[0])*M;g.range=g._input.range=[g.l2r(f+(v[0]-f)*i),g.l2r(f+(v[1]-f)*i)],g.setScale()}},21994:function(T,p,t){var d=t(39898),g=t(84096).g0,i=t(71828),M=i.numberFormat,v=t(92770),f=i.cleanNumber,l=i.ms2DateTime,a=i.dateTime2ms,u=i.ensureNumber,o=i.isArrayOrTypedArray,s=t(50606),c=s.FP_SAFE,h=s.BADNUM,m=s.LOG_CLIP,w=s.ONEWEEK,y=s.ONEDAY,S=s.ONEHOUR,_=s.ONEMIN,k=s.ONESEC,E=t(41675),x=t(85555),A=x.HOUR_PATTERN,L=x.WEEKDAY_PATTERN;function b(I){return Math.pow(10,I)}function R(I){return I!=null}T.exports=function(I,O){O=O||{};var z=I._id||"x",F=z.charAt(0);function B(re,ie){if(re>0)return Math.log(re)/Math.LN10;if(re<=0&&ie&&I.range&&I.range.length===2){var oe=I.range[0],ue=I.range[1];return .5*(oe+ue-2*m*Math.abs(oe-ue))}return h}function N(re,ie,oe,ue){if((ue||{}).msUTC&&v(re))return+re;var ce=a(re,oe||I.calendar);if(ce===h){if(!v(re))return h;re=+re;var ye=Math.floor(10*i.mod(re+.05,1)),de=Math.round(re-ye/10);ce=a(new Date(de))+ye/10}return ce}function W(re,ie,oe){return l(re,ie,oe||I.calendar)}function j(re){return I._categories[Math.round(re)]}function $(re){if(R(re)){if(I._categoriesMap===void 0&&(I._categoriesMap={}),I._categoriesMap[re]!==void 0)return I._categoriesMap[re];I._categories.push(typeof re=="number"?String(re):re);var ie=I._categories.length-1;return I._categoriesMap[re]=ie,ie}return h}function U(re){if(I._categoriesMap)return I._categoriesMap[re]}function G(re){var ie=U(re);return ie!==void 0?ie:v(re)?+re:void 0}function q(re){return v(re)?+re:U(re)}function H(re,ie,oe){return d.round(oe+ie*re,2)}function ne(re,ie,oe){return(re-oe)/ie}var te=function(re){return v(re)?H(re,I._m,I._b):h},Z=function(re){return ne(re,I._m,I._b)};if(I.rangebreaks){var X=F==="y";te=function(re){if(!v(re))return h;var ie=I._rangebreaks.length;if(!ie)return H(re,I._m,I._b);var oe=X;I.range[0]>I.range[1]&&(oe=!oe);for(var ue=oe?-1:1,ce=ue*re,ye=0,de=0;depe)){ye=ce<(me+pe)/2?de:de+1;break}ye=de+1}var xe=I._B[ye]||0;return isFinite(xe)?H(re,I._m2,xe):0},Z=function(re){var ie=I._rangebreaks.length;if(!ie)return ne(re,I._m,I._b);for(var oe=0,ue=0;ueI._rangebreaks[ue].pmax&&(oe=ue+1);return ne(re,I._m2,I._B[oe])}}I.c2l=I.type==="log"?B:u,I.l2c=I.type==="log"?b:u,I.l2p=te,I.p2l=Z,I.c2p=I.type==="log"?function(re,ie){return te(B(re,ie))}:te,I.p2c=I.type==="log"?function(re){return b(Z(re))}:Z,["linear","-"].indexOf(I.type)!==-1?(I.d2r=I.r2d=I.d2c=I.r2c=I.d2l=I.r2l=f,I.c2d=I.c2r=I.l2d=I.l2r=u,I.d2p=I.r2p=function(re){return I.l2p(f(re))},I.p2d=I.p2r=Z,I.cleanPos=u):I.type==="log"?(I.d2r=I.d2l=function(re,ie){return B(f(re),ie)},I.r2d=I.r2c=function(re){return b(f(re))},I.d2c=I.r2l=f,I.c2d=I.l2r=u,I.c2r=B,I.l2d=b,I.d2p=function(re,ie){return I.l2p(I.d2r(re,ie))},I.p2d=function(re){return b(Z(re))},I.r2p=function(re){return I.l2p(f(re))},I.p2r=Z,I.cleanPos=u):I.type==="date"?(I.d2r=I.r2d=i.identity,I.d2c=I.r2c=I.d2l=I.r2l=N,I.c2d=I.c2r=I.l2d=I.l2r=W,I.d2p=I.r2p=function(re,ie,oe){return I.l2p(N(re,0,oe))},I.p2d=I.p2r=function(re,ie,oe){return W(Z(re),ie,oe)},I.cleanPos=function(re){return i.cleanDate(re,h,I.calendar)}):I.type==="category"?(I.d2c=I.d2l=$,I.r2d=I.c2d=I.l2d=j,I.d2r=I.d2l_noadd=G,I.r2c=function(re){var ie=q(re);return ie!==void 0?ie:I.fraction2r(.5)},I.l2r=I.c2r=u,I.r2l=q,I.d2p=function(re){return I.l2p(I.r2c(re))},I.p2d=function(re){return j(Z(re))},I.r2p=I.d2p,I.p2r=Z,I.cleanPos=function(re){return typeof re=="string"&&re!==""?re:u(re)}):I.type==="multicategory"&&(I.r2d=I.c2d=I.l2d=j,I.d2r=I.d2l_noadd=G,I.r2c=function(re){var ie=G(re);return ie!==void 0?ie:I.fraction2r(.5)},I.r2c_just_indices=U,I.l2r=I.c2r=u,I.r2l=G,I.d2p=function(re){return I.l2p(I.r2c(re))},I.p2d=function(re){return j(Z(re))},I.r2p=I.d2p,I.p2r=Z,I.cleanPos=function(re){return Array.isArray(re)||typeof re=="string"&&re!==""?re:u(re)},I.setupMultiCategory=function(re){var ie,oe,ue=I._traceIndices,ce=I._matchGroup;if(ce&&I._categories.length===0){for(var ye in ce)if(ye!==z){var de=O[E.id2name(ye)];ue=ue.concat(de._traceIndices)}}var me=[[0,{}],[0,{}]],pe=[];for(ie=0;iec&&(ce[oe]=c),ce[0]===ce[1]){var de=Math.max(1,Math.abs(1e-6*ce[0]));ce[0]-=de,ce[1]+=de}}else i.nestedProperty(I,re).set(ue)},I.setScale=function(re){var ie=O._size;if(I.overlaying){var oe=E.getFromId({_fullLayout:O},I.overlaying);I.domain=oe.domain}var ue=re&&I._r?"_r":"range",ce=I.calendar;I.cleanRange(ue);var ye,de,me=I.r2l(I[ue][0],ce),pe=I.r2l(I[ue][1],ce),xe=F==="y";if(xe?(I._offset=ie.t+(1-I.domain[1])*ie.h,I._length=ie.h*(I.domain[1]-I.domain[0]),I._m=I._length/(me-pe),I._b=-I._m*pe):(I._offset=ie.l+I.domain[0]*ie.w,I._length=ie.w*(I.domain[1]-I.domain[0]),I._m=I._length/(pe-me),I._b=-I._m*me),I._rangebreaks=[],I._lBreaks=0,I._m2=0,I._B=[],I.rangebreaks&&(I._rangebreaks=I.locateBreaks(Math.min(me,pe),Math.max(me,pe)),I._rangebreaks.length)){for(ye=0;yepe&&(Pe=!Pe),Pe&&I._rangebreaks.reverse();var _e=Pe?-1:1;for(I._m2=_e*I._length/(Math.abs(pe-me)-I._lBreaks),I._B.push(-I._m2*(xe?pe:me)),ye=0;yeue&&(ue+=7,ceue&&(ue+=24,ce=oe&&ce=oe&&re=je.min&&(keje.max&&(je.max=Le),Be=!1)}Be&&de.push({min:ke,max:Le})}};for(oe=0;oea.duration?(function(){for(var A={},L=0;L rect").call(M.setTranslate,0,0).call(M.setScale,1,1),_.plot.call(M.setTranslate,k._offset,E._offset).call(M.setScale,1,1);var x=_.plot.selectAll(".scatterlayer .trace");x.selectAll(".point").call(M.setPointGroupScale,1,1),x.selectAll(".textpoint").call(M.setTextPointsScale,1,1),x.call(M.hideOutsideRangePoints,_)}function S(_,k){var E=_.plotinfo,x=E.xaxis,A=E.yaxis,L=x._length,b=A._length,R=!!_.xr1,I=!!_.yr1,O=[];if(R){var z=i.simpleMap(_.xr0,x.r2l),F=i.simpleMap(_.xr1,x.r2l),B=z[1]-z[0],N=F[1]-F[0];O[0]=(z[0]*(1-k)+k*F[0]-z[0])/(z[1]-z[0])*L,O[2]=L*(1-k+k*N/B),x.range[0]=x.l2r(z[0]*(1-k)+k*F[0]),x.range[1]=x.l2r(z[1]*(1-k)+k*F[1])}else O[0]=0,O[2]=L;if(I){var W=i.simpleMap(_.yr0,A.r2l),j=i.simpleMap(_.yr1,A.r2l),$=W[1]-W[0],U=j[1]-j[0];O[1]=(W[1]*(1-k)+k*j[1]-W[1])/(W[0]-W[1])*b,O[3]=b*(1-k+k*U/$),A.range[0]=x.l2r(W[0]*(1-k)+k*j[0]),A.range[1]=A.l2r(W[1]*(1-k)+k*j[1])}else O[1]=0,O[3]=b;v.drawOne(f,x,{skipTitle:!0}),v.drawOne(f,A,{skipTitle:!0}),v.redrawComponents(f,[x._id,A._id]);var G=R?L/O[2]:1,q=I?b/O[3]:1,H=R?O[0]:0,ne=I?O[1]:0,te=R?O[0]/O[2]*L:0,Z=I?O[1]/O[3]*b:0,X=x._offset-te,Q=A._offset-Z;E.clipRect.call(M.setTranslate,H,ne).call(M.setScale,1/G,1/q),E.plot.call(M.setTranslate,X,Q).call(M.setScale,G,q),M.setPointGroupScale(E.zoomScalePts,1/G,1/q),M.setTextPointsScale(E.zoomScaleTxt,1/G,1/q)}v.redrawComponents(f)}},951:function(T,p,t){var d=t(73972).traceIs,g=t(4322);function i(v){return{v:"x",h:"y"}[v.orientation||"v"]}function M(v,f){var l=i(v),a=d(v,"box-violin"),u=d(v._fullInput||{},"candlestick");return a&&!u&&f===l&&v[l]===void 0&&v[l+"0"]===void 0}T.exports=function(v,f,l,a){l("autotypenumbers",a.autotypenumbersDflt),l("type",(a.splomStash||{}).type)==="-"&&(function(u,o){if(u.type==="-"){var s,c=u._id,h=c.charAt(0);c.indexOf("scene")!==-1&&(c=h);var m=function(A,L,b){for(var R=0;R0&&(I["_"+b+"axes"]||{})[L]||(I[b+"axis"]||b)===L&&(M(I,b)||(I[b]||[]).length||I[b+"0"]))return I}}(o,c,h);if(m)if(m.type!=="histogram"||h!=={v:"y",h:"x"}[m.orientation||"v"]){var w=h+"calendar",y=m[w],S={noMultiCategory:!d(m,"cartesian")||d(m,"noMultiCategory")};if(m.type==="box"&&m._hasPreCompStats&&h==={h:"x",v:"y"}[m.orientation||"v"]&&(S.noMultiCategory=!0),S.autotypenumbers=u.autotypenumbers,M(m,h)){var _=i(m),k=[];for(s=0;s0?".":"")+s;g.isPlainObject(c)?f(c,a,h,o+1):a(h,s,c)}})}p.manageCommandObserver=function(l,a,u,o){var s={},c=!0;a&&a._commandObserver&&(s=a._commandObserver),s.cache||(s.cache={}),s.lookupTable={};var h=p.hasSimpleAPICommandBindings(l,u,s.lookupTable);if(a&&a._commandObserver){if(h)return s;if(a._commandObserver.remove)return a._commandObserver.remove(),a._commandObserver=null,s}if(h){i(l,h,s.cache),s.check=function(){if(c){var y=i(l,h,s.cache);return y.changed&&o&&s.lookupTable[y.value]!==void 0&&(s.disable(),Promise.resolve(o({value:y.value,type:h.type,prop:h.prop,traces:h.traces,index:s.lookupTable[y.value]})).then(s.enable,s.enable)),y.changed}};for(var m=["plotly_relayout","plotly_redraw","plotly_restyle","plotly_update","plotly_animatingframe","plotly_afterplot"],w=0;w0&&N<0&&(N+=360);var $=(N-B)/4;return{type:"Polygon",coordinates:[[[B,W],[B,j],[B+$,j],[B+2*$,j],[B+3*$,j],[N,j],[N,W],[N-$,W],[N-2*$,W],[N-3*$,W],[B,W]]]}}T.exports=function(O){return new b(O)},R.plot=function(O,z,F,B){var N=this;if(B)return N.update(O,z,!0);N._geoCalcData=O,N._fullLayout=z;var W=z[this.id],j=[],$=!1;for(var U in E.layerNameToAdjective)if(U!=="frame"&&W["show"+U]){$=!0;break}for(var G=!1,q=0;q0&&j._module.calcGeoJSON(W,z)}if(!F){if(this.updateProjection(O,z))return;this.viewInitial&&this.scope===B.scope||this.saveViewInitial(B)}this.scope=B.scope,this.updateBaseLayers(z,B),this.updateDims(z,B),this.updateFx(z,B),c.generalUpdatePerTraceModule(this.graphDiv,this,O,B);var $=this.layers.frontplot.select(".scatterlayer");this.dataPoints.point=$.selectAll(".point"),this.dataPoints.text=$.selectAll("text"),this.dataPaths.line=$.selectAll(".js-line");var U=this.layers.backplot.select(".choroplethlayer");this.dataPaths.choropleth=U.selectAll("path"),this._render()},R.updateProjection=function(O,z){var F=this.graphDiv,B=z[this.id],N=z._size,W=B.domain,j=B.projection,$=B.lonaxis,U=B.lataxis,G=$._ax,q=U._ax,H=this.projection=function(Ce){var ae=Ce.projection,fe=ae.type,be=E.projNames[fe];be="geo"+l.titleCase(be);for(var ke=(g[be]||v[be])(),Le=Ce._isSatellite?180*Math.acos(1/ae.distance)/Math.PI:Ce._isClipped?E.lonaxisSpan[fe]/2:null,Be=["center","rotate","parallels","clipExtent"],ze=function(we){return we?ke:[]},je=0;jeLe*Math.PI/180}return!1},ke.getPath=function(){return i().projection(ke)},ke.getBounds=function(we){return ke.getPath().bounds(we)},ke.precision(E.precision),Ce._isSatellite&&ke.tilt(ae.tilt).distance(ae.distance),Le&&ke.clipAngle(Le-E.clipPad),ke}(B),ne=[[N.l+N.w*W.x[0],N.t+N.h*(1-W.y[1])],[N.l+N.w*W.x[1],N.t+N.h*(1-W.y[0])]],te=B.center||{},Z=j.rotation||{},X=$.range||[],Q=U.range||[];if(B.fitbounds){G._length=ne[1][0]-ne[0][0],q._length=ne[1][1]-ne[0][1],G.range=m(F,G),q.range=m(F,q);var re=(G.range[0]+G.range[1])/2,ie=(q.range[0]+q.range[1])/2;if(B._isScoped)te={lon:re,lat:ie};else if(B._isClipped){te={lon:re,lat:ie},Z={lon:re,lat:ie,roll:Z.roll};var oe=j.type,ue=E.lonaxisSpan[oe]/2||180,ce=E.lataxisSpan[oe]/2||90;X=[re-ue,re+ue],Q=[ie-ce,ie+ce]}else te={lon:re,lat:ie},Z={lon:re,lat:Z.lat,roll:Z.roll}}H.center([te.lon-Z.lon,te.lat-Z.lat]).rotate([-Z.lon,-Z.lat,Z.roll]).parallels(j.parallels);var ye=I(X,Q);H.fitExtent(ne,ye);var de=this.bounds=H.getBounds(ye),me=this.fitScale=H.scale(),pe=H.translate();if(B.fitbounds){var xe=H.getBounds(I(G.range,q.range)),Pe=Math.min((de[1][0]-de[0][0])/(xe[1][0]-xe[0][0]),(de[1][1]-de[0][1])/(xe[1][1]-xe[0][1]));isFinite(Pe)?H.scale(Pe*me):l.warn("Something went wrong during"+this.id+"fitbounds computations.")}else H.scale(j.scale*me);var _e=this.midPt=[(de[0][0]+de[1][0])/2,(de[0][1]+de[1][1])/2];if(H.translate([pe[0]+(_e[0]-pe[0]),pe[1]+(_e[1]-pe[1])]).clipExtent(de),B._isAlbersUsa){var Me=H([te.lon,te.lat]),Se=H.translate();H.translate([Se[0]-(Me[0]-Se[0]),Se[1]-(Me[1]-Se[1])])}},R.updateBaseLayers=function(O,z){var F=this,B=F.topojson,N=F.layers,W=F.basePaths;function j(H){return H==="lonaxis"||H==="lataxis"}function $(H){return!!E.lineLayers[H]}function U(H){return!!E.fillLayers[H]}var G=(this.hasChoropleth?E.layersForChoropleth:E.layers).filter(function(H){return $(H)||U(H)?z["show"+H]:!j(H)||z[H].showgrid}),q=F.framework.selectAll(".layer").data(G,String);q.exit().each(function(H){delete N[H],delete W[H],d.select(this).remove()}),q.enter().append("g").attr("class",function(H){return"layer "+H}).each(function(H){var ne=N[H]=d.select(this);H==="bg"?F.bgRect=ne.append("rect").style("pointer-events","all"):j(H)?W[H]=ne.append("path").style("fill","none"):H==="backplot"?ne.append("g").classed("choroplethlayer",!0):H==="frontplot"?ne.append("g").classed("scatterlayer",!0):$(H)?W[H]=ne.append("path").style("fill","none").style("stroke-miterlimit",2):U(H)&&(W[H]=ne.append("path").style("stroke","none"))}),q.order(),q.each(function(H){var ne=W[H],te=E.layerNameToAdjective[H];H==="frame"?ne.datum(E.sphereSVG):$(H)||U(H)?ne.datum(L(B,B.objects[H])):j(H)&&ne.datum(function(Z,X,Q){var re,ie,oe,ue=X[Z],ce=E.scopeDefaults[X.scope];Z==="lonaxis"?(re=ce.lonaxisRange,ie=ce.lataxisRange,oe=function(Se,Ce){return[Se,Ce]}):Z==="lataxis"&&(re=ce.lataxisRange,ie=ce.lonaxisRange,oe=function(Se,Ce){return[Ce,Se]});var ye={type:"linear",range:[re[0],re[1]-1e-6],tick0:ue.tick0,dtick:ue.dtick};h.setConvert(ye,Q);var de=h.calcTicks(ye);X.isScoped||Z!=="lonaxis"||de.pop();for(var me=de.length,pe=new Array(me),xe=0;xe-1&&_(d.event,B,[F.xaxis],[F.yaxis],F.id,$),j.indexOf("event")>-1&&s.click(B,d.event))})}function U(G){return F.projection.invert([G[0]+F.xaxis._offset,G[1]+F.yaxis._offset])}},R.makeFramework=function(){var O=this,z=O.graphDiv,F=z._fullLayout,B="clip"+F._uid+O.id;O.clipDef=F._clips.append("clipPath").attr("id",B),O.clipRect=O.clipDef.append("rect"),O.framework=d.select(O.container).append("g").attr("class","geo "+O.id).call(o.setClipUrl,B,z),O.project=function(N){var W=O.projection(N);return W?[W[0]-O.xaxis._offset,W[1]-O.yaxis._offset]:[null,null]},O.xaxis={_id:"x",c2p:function(N){return O.project(N)[0]}},O.yaxis={_id:"y",c2p:function(N){return O.project(N)[1]}},O.mockAxis={type:"linear",showexponent:"all",exponentformat:"B"},h.setConvert(O.mockAxis,F)},R.saveViewInitial=function(O){var z,F=O.center||{},B=O.projection,N=B.rotation||{};this.viewInitial={fitbounds:O.fitbounds,"projection.scale":B.scale},z=O._isScoped?{"center.lon":F.lon,"center.lat":F.lat}:O._isClipped?{"projection.rotation.lon":N.lon,"projection.rotation.lat":N.lat}:{"center.lon":F.lon,"center.lat":F.lat,"projection.rotation.lon":N.lon},l.extendFlat(this.viewInitial,z)},R.render=function(O){this._hasMarkerAngles&&O?this.plot(this._geoCalcData,this._fullLayout,[],!0):this._render()},R._render=function(){var O,z=this.projection,F=z.getPath();function B(W){var j=z(W.lonlat);return j?a(j[0],j[1]):null}function N(W){return z.isLonLatOverEdges(W.lonlat)?"none":null}for(O in this.basePaths)this.basePaths[O].attr("d",F);for(O in this.dataPaths)this.dataPaths[O].attr("d",function(W){return F(W.geojson)});for(O in this.dataPoints)this.dataPoints[O].attr("display",N).attr("transform",B)}},44622:function(T,p,t){var d=t(27659).AU,g=t(71828).counterRegex,i=t(69082),M="geo",v=g(M),f={};f.geo={valType:"subplotid",dflt:M,editType:"calc"},T.exports={attr:M,name:M,idRoot:M,idRegex:v,attrRegex:v,attributes:f,layoutAttributes:t(77519),supplyLayoutDefaults:t(82161),plot:function(l){for(var a=l._fullLayout,u=l.calcdata,o=a._subplots.geo,s=0;s0&&U<0&&(U+=360);var G,q,H,ne=($+U)/2;if(!S){var te=_?w.projRotate:[ne,0,0];G=o("projection.rotation.lon",te[0]),o("projection.rotation.lat",te[1]),o("projection.rotation.roll",te[2]),o("showcoastlines",!_&&L)&&(o("coastlinecolor"),o("coastlinewidth")),o("showocean",!!L&&void 0)&&o("oceancolor")}S?(q=-96.6,H=38.7):(q=_?ne:G,H=(j[0]+j[1])/2),o("center.lon",q),o("center.lat",H),k&&(o("projection.tilt"),o("projection.distance")),E&&o("projection.parallels",w.projParallels||[0,60]),o("projection.scale"),o("showland",!!L&&void 0)&&o("landcolor"),o("showlakes",!!L&&void 0)&&o("lakecolor"),o("showrivers",!!L&&void 0)&&(o("rivercolor"),o("riverwidth")),o("showcountries",_&&m!=="usa"&&L)&&(o("countrycolor"),o("countrywidth")),(m==="usa"||m==="north america"&&h===50)&&(o("showsubunits",L),o("subunitcolor"),o("subunitwidth")),_||o("showframe",L)&&(o("framecolor"),o("framewidth")),o("bgcolor"),o("fitbounds")&&(delete u.projection.scale,_?(delete u.center.lon,delete u.center.lat):x?(delete u.center.lon,delete u.center.lat,delete u.projection.rotation.lon,delete u.projection.rotation.lat,delete u.lonaxis.range,delete u.lataxis.range):(delete u.center.lon,delete u.center.lat,delete u.projection.rotation.lon))}T.exports=function(a,u,o){g(a,u,o,{type:"geo",attributes:v,handleDefaults:l,fullData:o,partition:"y"})}},74455:function(T,p,t){var d=t(39898),g=t(71828),i=t(73972),M=Math.PI/180,v=180/Math.PI,f={cursor:"pointer"},l={cursor:"auto"};function a(L,b){return d.behavior.zoom().translate(b.translate()).scale(b.scale())}function u(L,b,R){var I=L.id,O=L.graphDiv,z=O.layout,F=z[I],B=O._fullLayout,N=B[I],W={},j={};function $(U,G){W[I+"."+U]=g.nestedProperty(F,U).get(),i.call("_storeDirectGUIEdit",z,B._preGUI,W);var q=g.nestedProperty(N,U);q.get()!==G&&(q.set(G),g.nestedProperty(F,U).set(G),j[I+"."+U]=G)}R($),$("projection.scale",b.scale()/L.fitScale),$("fitbounds",!1),O.emit("plotly_relayout",j)}function o(L,b){var R=a(0,b);function I(O){var z=b.invert(L.midPt);O("center.lon",z[0]),O("center.lat",z[1])}return R.on("zoomstart",function(){d.select(this).style(f)}).on("zoom",function(){b.scale(d.event.scale).translate(d.event.translate),L.render(!0);var O=b.invert(L.midPt);L.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":b.scale()/L.fitScale,"geo.center.lon":O[0],"geo.center.lat":O[1]})}).on("zoomend",function(){d.select(this).style(l),u(L,b,I)}),R}function s(L,b){var R,I,O,z,F,B,N,W,j,$=a(0,b);function U(q){return b.invert(q)}function G(q){var H=b.rotate(),ne=b.invert(L.midPt);q("projection.rotation.lon",-H[0]),q("center.lon",ne[0]),q("center.lat",ne[1])}return $.on("zoomstart",function(){d.select(this).style(f),R=d.mouse(this),I=b.rotate(),O=b.translate(),z=I,F=U(R)}).on("zoom",function(){if(B=d.mouse(this),function(ne){var te=U(ne);if(!te)return!0;var Z=b(te);return Math.abs(Z[0]-ne[0])>2||Math.abs(Z[1]-ne[1])>2}(R))return $.scale(b.scale()),void $.translate(b.translate());b.scale(d.event.scale),b.translate([O[0],d.event.translate[1]]),F?U(B)&&(W=U(B),N=[z[0]+(W[0]-F[0]),I[1],I[2]],b.rotate(N),z=N):F=U(R=B),j=!0,L.render(!0);var q=b.rotate(),H=b.invert(L.midPt);L.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":b.scale()/L.fitScale,"geo.center.lon":H[0],"geo.center.lat":H[1],"geo.projection.rotation.lon":-q[0]})}).on("zoomend",function(){d.select(this).style(l),j&&u(L,b,G)}),$}function c(L,b){var R;b.rotate(),b.scale();var I=a(0,b),O=function($){for(var U=0,G=arguments.length,q=[];++UG?(z=(j>0?90:-90)-U,O=0):(z=Math.asin(j/G)*v-U,O=Math.sqrt(G*G-j*j));var q=180-z-2*U,H=(Math.atan2($,W)-Math.atan2(N,O))*v,ne=(Math.atan2($,W)-Math.atan2(N,-O))*v;return _(R[0],R[1],z,H)<=_(R[0],R[1],q,ne)?[z,H,R[2]]:[q,ne,R[2]]}function _(L,b,R,I){var O=k(R-L),z=k(I-b);return Math.sqrt(O*O+z*z)}function k(L){return(L%360+540)%360-180}function E(L,b,R){var I=R*M,O=L.slice(),z=b===0?1:0,F=b===2?1:2,B=Math.cos(I),N=Math.sin(I);return O[z]=L[z]*B-L[F]*N,O[F]=L[F]*B+L[z]*N,O}function x(L){return[Math.atan2(2*(L[0]*L[1]+L[2]*L[3]),1-2*(L[1]*L[1]+L[2]*L[2]))*v,Math.asin(Math.max(-1,Math.min(1,2*(L[0]*L[2]-L[3]*L[1]))))*v,Math.atan2(2*(L[0]*L[3]+L[1]*L[2]),1-2*(L[2]*L[2]+L[3]*L[3]))*v]}function A(L,b){for(var R=0,I=0,O=L.length;IMath.abs(S)?(o.boxEnd[1]=o.boxStart[1]+Math.abs(y)*F*(S>=0?1:-1),o.boxEnd[1]<_[1]?(o.boxEnd[1]=_[1],o.boxEnd[0]=o.boxStart[0]+(_[1]-o.boxStart[1])/Math.abs(F)):o.boxEnd[1]>_[3]&&(o.boxEnd[1]=_[3],o.boxEnd[0]=o.boxStart[0]+(_[3]-o.boxStart[1])/Math.abs(F))):(o.boxEnd[0]=o.boxStart[0]+Math.abs(S)/F*(y>=0?1:-1),o.boxEnd[0]<_[0]?(o.boxEnd[0]=_[0],o.boxEnd[1]=o.boxStart[1]+(_[0]-o.boxStart[0])*Math.abs(F)):o.boxEnd[0]>_[2]&&(o.boxEnd[0]=_[2],o.boxEnd[1]=o.boxStart[1]+(_[2]-o.boxStart[0])*Math.abs(F)))}}else o.boxEnabled?(y=o.boxStart[0]!==o.boxEnd[0],S=o.boxStart[1]!==o.boxEnd[1],y||S?(y&&(b(0,o.boxStart[0],o.boxEnd[0]),l.xaxis.autorange=!1),S&&(b(1,o.boxStart[1],o.boxEnd[1]),l.yaxis.autorange=!1),l.relayoutCallback()):l.glplot.setDirty(),o.boxEnabled=!1,o.boxInited=!1):o.boxInited&&(o.boxInited=!1);break;case"pan":o.boxEnabled=!1,o.boxInited=!1,h?(o.panning||(o.dragStart[0]=m,o.dragStart[1]=w),Math.abs(o.dragStart[0]-m).999&&(x="turntable"):x="turntable")}else x="turntable";c("dragmode",x),c("hovermode",h.getDfltFromLayout("hovermode"))}T.exports=function(o,s,c){var h=s._basePlotModules.length>1;M(o,s,c,{type:a,attributes:f,handleDefaults:u,fullLayout:s,font:s.font,fullData:c,getDfltFromLayout:function(m){if(!h)return d.validate(o[m],f[m])?o[m]:void 0},autotypenumbersDflt:s.autotypenumbers,paper_bgcolor:s.paper_bgcolor,calendar:s.calendar})}},65500:function(T,p,t){var d=t(77894),g=t(27670).Y,i=t(1426).extendFlat,M=t(71828).counterRegex;function v(f,l,a){return{x:{valType:"number",dflt:f,editType:"camera"},y:{valType:"number",dflt:l,editType:"camera"},z:{valType:"number",dflt:a,editType:"camera"},editType:"camera"}}T.exports={_arrayAttrRegexps:[M("scene",".annotations",!0)],bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"plot"},camera:{up:i(v(0,0,1),{}),center:i(v(0,0,0),{}),eye:i(v(1.25,1.25,1.25),{}),projection:{type:{valType:"enumerated",values:["perspective","orthographic"],dflt:"perspective",editType:"calc"},editType:"calc"},editType:"camera"},domain:g({name:"scene",editType:"plot"}),aspectmode:{valType:"enumerated",values:["auto","cube","data","manual"],dflt:"auto",editType:"plot",impliedEdits:{"aspectratio.x":void 0,"aspectratio.y":void 0,"aspectratio.z":void 0}},aspectratio:{x:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},y:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},z:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},editType:"plot",impliedEdits:{aspectmode:"manual"}},xaxis:d,yaxis:d,zaxis:d,dragmode:{valType:"enumerated",values:["orbit","turntable","zoom","pan",!1],editType:"plot"},hovermode:{valType:"enumerated",values:["closest",!1],dflt:"closest",editType:"modebar"},uirevision:{valType:"any",editType:"none"},editType:"plot",_deprecated:{cameraposition:{valType:"info_array",editType:"camera"}}}},13133:function(T,p,t){var d=t(78614),g=["xaxis","yaxis","zaxis"];function i(){this.enabled=[!0,!0,!0],this.colors=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.drawSides=[!0,!0,!0],this.lineWidth=[1,1,1]}i.prototype.merge=function(M){for(var v=0;v<3;++v){var f=M[g[v]];f.visible?(this.enabled[v]=f.showspikes,this.colors[v]=d(f.spikecolor),this.drawSides[v]=f.spikesides,this.lineWidth[v]=f.spikethickness):(this.enabled[v]=!1,this.drawSides[v]=!1)}},T.exports=function(M){var v=new i;return v.merge(M),v}},96085:function(T,p,t){T.exports=function(v){for(var f=v.axesOptions,l=v.glplot.axesPixels,a=v.fullSceneLayout,u=[[],[],[]],o=0;o<3;++o){var s=a[i[o]];if(s._length=(l[o].hi-l[o].lo)*l[o].pixelsPerDataUnit/v.dataScale[o],Math.abs(s._length)===1/0||isNaN(s._length))u[o]=[];else{s._input_range=s.range.slice(),s.range[0]=l[o].lo/v.dataScale[o],s.range[1]=l[o].hi/v.dataScale[o],s._m=1/(v.dataScale[o]*l[o].pixelsPerDataUnit),s.range[0]===s.range[1]&&(s.range[0]-=1,s.range[1]+=1);var c=s.tickmode;if(s.tickmode==="auto"){s.tickmode="linear";var h=s.nticks||g.constrain(s._length/40,4,9);d.autoTicks(s,Math.abs(s.range[1]-s.range[0])/h)}for(var m=d.calcTicks(s,{msUTC:!0}),w=0;w/g," "));u[o]=m,s.tickmode=c}}for(f.ticks=u,o=0;o<3;++o)for(M[o]=.5*(v.glplot.bounds[0][o]+v.glplot.bounds[1][o]),w=0;w<2;++w)f.bounds[w][o]=v.glplot.bounds[w][o];v.contourLevels=function(y){for(var S=new Array(3),_=0;_<3;++_){for(var k=y[_],E=new Array(k.length),x=0;xB.deltaY?1.1:.9090909090909091,W=R.glplot.getAspectratio();R.glplot.setAspectratio({x:N*W.x,y:N*W.y,z:N*W.z})}F(R)}},!!l&&{passive:!1}),R.glplot.canvas.addEventListener("mousemove",function(){if(R.fullSceneLayout.dragmode!==!1&&R.camera.mouseListener.buttons!==0){var B=z();R.graphDiv.emit("plotly_relayouting",B)}}),R.staticMode||R.glplot.canvas.addEventListener("webglcontextlost",function(B){I&&I.emit&&I.emit("plotly_webglcontextlost",{event:B,layer:R.id})},!1)),R.glplot.oncontextloss=function(){R.recoverContext()},R.glplot.onrender=function(){R.render()},!0},x.render=function(){var R,I=this,O=I.graphDiv,z=I.svgContainer,F=I.container.getBoundingClientRect();O._fullLayout._calcInverseTransform(O);var B=O._fullLayout._invScaleX,N=O._fullLayout._invScaleY,W=F.width*B,j=F.height*N;z.setAttributeNS(null,"viewBox","0 0 "+W+" "+j),z.setAttributeNS(null,"width",W),z.setAttributeNS(null,"height",j),_(I),I.glplot.axes.update(I.axesOptions);for(var $=Object.keys(I.traces),U=null,G=I.glplot.selection,q=0;q<$.length;++q)(R=I.traces[$[q]]).data.hoverinfo!=="skip"&&R.handlePick(G)&&(U=R),R.setContourLevels&&R.setContourLevels();function H(me,pe,xe){var Pe=I.fullSceneLayout[me+"axis"];return Pe.type!=="log"&&(pe=Pe.d2l(pe)),s.hoverLabelText(Pe,pe,xe)}if(U!==null){var ne=w(I.glplot.cameraParams,G.dataCoordinate);R=U.data;var te,Z=O._fullData[R.index],X=G.index,Q={xLabel:H("x",G.traceCoordinate[0],R.xhoverformat),yLabel:H("y",G.traceCoordinate[1],R.yhoverformat),zLabel:H("z",G.traceCoordinate[2],R.zhoverformat)},re=c.castHoverinfo(Z,I.fullLayout,X),ie=(re||"").split("+"),oe=re&&re==="all";Z.hovertemplate||oe||(ie.indexOf("x")===-1&&(Q.xLabel=void 0),ie.indexOf("y")===-1&&(Q.yLabel=void 0),ie.indexOf("z")===-1&&(Q.zLabel=void 0),ie.indexOf("text")===-1&&(G.textLabel=void 0),ie.indexOf("name")===-1&&(U.name=void 0));var ue=[];R.type==="cone"||R.type==="streamtube"?(Q.uLabel=H("x",G.traceCoordinate[3],R.uhoverformat),(oe||ie.indexOf("u")!==-1)&&ue.push("u: "+Q.uLabel),Q.vLabel=H("y",G.traceCoordinate[4],R.vhoverformat),(oe||ie.indexOf("v")!==-1)&&ue.push("v: "+Q.vLabel),Q.wLabel=H("z",G.traceCoordinate[5],R.whoverformat),(oe||ie.indexOf("w")!==-1)&&ue.push("w: "+Q.wLabel),Q.normLabel=G.traceCoordinate[6].toPrecision(3),(oe||ie.indexOf("norm")!==-1)&&ue.push("norm: "+Q.normLabel),R.type==="streamtube"&&(Q.divergenceLabel=G.traceCoordinate[7].toPrecision(3),(oe||ie.indexOf("divergence")!==-1)&&ue.push("divergence: "+Q.divergenceLabel)),G.textLabel&&ue.push(G.textLabel),te=ue.join("
")):R.type==="isosurface"||R.type==="volume"?(Q.valueLabel=s.hoverLabelText(I._mockAxis,I._mockAxis.d2l(G.traceCoordinate[3]),R.valuehoverformat),ue.push("value: "+Q.valueLabel),G.textLabel&&ue.push(G.textLabel),te=ue.join("
")):te=G.textLabel;var ce={x:G.traceCoordinate[0],y:G.traceCoordinate[1],z:G.traceCoordinate[2],data:Z._input,fullData:Z,curveNumber:Z.index,pointNumber:X};c.appendArrayPointValue(ce,Z,X),R._module.eventData&&(ce=Z._module.eventData(ce,G,Z,{},X));var ye={points:[ce]};if(I.fullSceneLayout.hovermode){var de=[];c.loneHover({trace:Z,x:(.5+.5*ne[0]/ne[3])*W,y:(.5-.5*ne[1]/ne[3])*j,xLabel:Q.xLabel,yLabel:Q.yLabel,zLabel:Q.zLabel,text:te,name:U.name,color:c.castHoverOption(Z,X,"bgcolor")||U.color,borderColor:c.castHoverOption(Z,X,"bordercolor"),fontFamily:c.castHoverOption(Z,X,"font.family"),fontSize:c.castHoverOption(Z,X,"font.size"),fontColor:c.castHoverOption(Z,X,"font.color"),nameLength:c.castHoverOption(Z,X,"namelength"),textAlign:c.castHoverOption(Z,X,"align"),hovertemplate:u.castOption(Z,X,"hovertemplate"),hovertemplateLabels:u.extendFlat({},ce,Q),eventData:[ce]},{container:z,gd:O,inOut_bbox:de}),ce.bbox=de[0]}G.distance<5&&(G.buttons||k)?O.emit("plotly_click",ye):O.emit("plotly_hover",ye),this.oldEventData=ye}else c.loneUnhover(z),this.oldEventData&&O.emit("plotly_unhover",this.oldEventData),this.oldEventData=void 0;I.drawAnnotations(I)},x.recoverContext=function(){var R=this;R.glplot.dispose();var I=function(){R.glplot.gl.isContextLost()?requestAnimationFrame(I):R.initializeGLPlot()?R.plot.apply(R,R.plotArgs):u.error("Catastrophic and unrecoverable WebGL error. Context lost.")};requestAnimationFrame(I)};var L=["xaxis","yaxis","zaxis"];function b(R,I,O){for(var z=R.fullSceneLayout,F=0;F<3;F++){var B=L[F],N=B.charAt(0),W=z[B],j=I[N],$=I[N+"calendar"],U=I["_"+N+"length"];if(u.isArrayOrTypedArray(j))for(var G,q=0;q<(U||j.length);q++)if(u.isArrayOrTypedArray(j[q]))for(var H=0;HZ[1][N])Z[0][N]=-1,Z[1][N]=1;else{var pe=Z[1][N]-Z[0][N];Z[0][N]-=pe/32,Z[1][N]+=pe/32}if(j.autorange==="reversed"){var xe=Z[0][N];Z[0][N]=Z[1][N],Z[1][N]=xe}}else{var Pe=j.range;Z[0][N]=j.r2l(Pe[0]),Z[1][N]=j.r2l(Pe[1])}Z[0][N]===Z[1][N]&&(Z[0][N]-=1,Z[1][N]+=1),X[N]=Z[1][N]-Z[0][N],z.glplot.setBounds(N,{min:Z[0][N]*H[N],max:Z[1][N]*H[N]})}var _e=U.aspectmode;if(_e==="cube")te=[1,1,1];else if(_e==="manual"){var Me=U.aspectratio;te=[Me.x,Me.y,Me.z]}else{if(_e!=="auto"&&_e!=="data")throw new Error("scene.js aspectRatio was not one of the enumerated types");var Se=[1,1,1];for(N=0;N<3;++N){var Ce=Q[$=(j=U[L[N]]).type];Se[N]=Math.pow(Ce.acc,1/Ce.count)/H[N]}te=_e==="data"||Math.max.apply(null,Se)/Math.min.apply(null,Se)<=4?Se:[1,1,1]}U.aspectratio.x=G.aspectratio.x=te[0],U.aspectratio.y=G.aspectratio.y=te[1],U.aspectratio.z=G.aspectratio.z=te[2],z.glplot.setAspectratio(U.aspectratio),z.viewInitial.aspectratio||(z.viewInitial.aspectratio={x:U.aspectratio.x,y:U.aspectratio.y,z:U.aspectratio.z}),z.viewInitial.aspectmode||(z.viewInitial.aspectmode=U.aspectmode);var ae=U.domain||null,fe=I._size||null;if(ae&&fe){var be=z.container.style;be.position="absolute",be.left=fe.l+ae.x[0]*fe.w+"px",be.top=fe.t+(1-ae.y[1])*fe.h+"px",be.width=fe.w*(ae.x[1]-ae.x[0])+"px",be.height=fe.h*(ae.y[1]-ae.y[0])+"px"}z.glplot.redraw()}},x.destroy=function(){var R=this;R.glplot&&(R.camera.mouseListener.enabled=!1,R.container.removeEventListener("wheel",R.camera.wheelListener),R.camera=null,R.glplot.dispose(),R.container.parentNode.removeChild(R.container),R.glplot=null)},x.getCamera=function(){var R,I=this;return I.camera.view.recalcMatrix(I.camera.view.lastT()),{up:{x:(R=I.camera).up[0],y:R.up[1],z:R.up[2]},center:{x:R.center[0],y:R.center[1],z:R.center[2]},eye:{x:R.eye[0],y:R.eye[1],z:R.eye[2]},projection:{type:R._ortho===!0?"orthographic":"perspective"}}},x.setViewport=function(R){var I,O=this,z=R.camera;O.camera.lookAt.apply(this,[[(I=z).eye.x,I.eye.y,I.eye.z],[I.center.x,I.center.y,I.center.z],[I.up.x,I.up.y,I.up.z]]),O.glplot.setAspectratio(R.aspectratio),z.projection.type==="orthographic"!==O.camera._ortho&&(O.glplot.redraw(),O.glplot.clearRGBA(),O.glplot.dispose(),O.initializeGLPlot())},x.isCameraChanged=function(R){var I=this.getCamera(),O=u.nestedProperty(R,this.id+".camera").get();function z(W,j,$,U){var G=["up","center","eye"],q=["x","y","z"];return j[G[$]]&&W[G[$]][q[U]]===j[G[$]][q[U]]}var F=!1;if(O===void 0)F=!0;else{for(var B=0;B<3;B++)for(var N=0;N<3;N++)if(!z(I,O,B,N)){F=!0;break}(!O.projection||I.projection&&I.projection.type!==O.projection.type)&&(F=!0)}return F},x.isAspectChanged=function(R){var I=this.glplot.getAspectratio(),O=u.nestedProperty(R,this.id+".aspectratio").get();return O===void 0||O.x!==I.x||O.y!==I.y||O.z!==I.z},x.saveLayout=function(R){var I,O,z,F,B,N,W=this,j=W.fullLayout,$=W.isCameraChanged(R),U=W.isAspectChanged(R),G=$||U;if(G){var q={};$&&(I=W.getCamera(),z=(O=u.nestedProperty(R,W.id+".camera")).get(),q[W.id+".camera"]=z),U&&(F=W.glplot.getAspectratio(),N=(B=u.nestedProperty(R,W.id+".aspectratio")).get(),q[W.id+".aspectratio"]=N),a.call("_storeDirectGUIEdit",R,j._preGUI,q),$&&(O.set(I),u.nestedProperty(j,W.id+".camera").set(I)),U&&(B.set(F),u.nestedProperty(j,W.id+".aspectratio").set(F),W.glplot.redraw())}return G},x.updateFx=function(R,I){var O=this,z=O.camera;if(z)if(R==="orbit")z.mode="orbit",z.keyBindingMode="rotate";else if(R==="turntable"){z.up=[0,0,1],z.mode="turntable",z.keyBindingMode="rotate";var F=O.graphDiv,B=F._fullLayout,N=O.fullSceneLayout.camera,W=N.up.x,j=N.up.y,$=N.up.z;if($/Math.sqrt(W*W+j*j+$*$)<.999){var U=O.id+".camera.up",G={x:0,y:0,z:1},q={};q[U]=G;var H=F.layout;a.call("_storeDirectGUIEdit",H,B._preGUI,q),N.up=G,u.nestedProperty(H,U).set(G)}}else z.keyBindingMode=R;O.fullSceneLayout.hovermode=I},x.toImage=function(R){var I=this;R||(R="png"),I.staticMode&&I.container.appendChild(d),I.glplot.redraw();var O=I.glplot.gl,z=O.drawingBufferWidth,F=O.drawingBufferHeight;O.bindFramebuffer(O.FRAMEBUFFER,null);var B=new Uint8Array(z*F*4);O.readPixels(0,0,z,F,O.RGBA,O.UNSIGNED_BYTE,B),function(U,G,q){for(var H=0,ne=q-1;H0)for(var X=255/Z,Q=0;Q<3;++Q)U[te+Q]=Math.min(X*U[te+Q],255)}}(B,z,F);var N=document.createElement("canvas");N.width=z,N.height=F;var W,j=N.getContext("2d",{willReadFrequently:!0}),$=j.createImageData(z,F);switch($.data.set(B),j.putImageData($,0,0),R){case"jpeg":W=N.toDataURL("image/jpeg");break;case"webp":W=N.toDataURL("image/webp");break;default:W=N.toDataURL("image/png")}return I.staticMode&&I.container.removeChild(d),W},x.setConvert=function(){for(var R=0;R<3;R++){var I=this.fullSceneLayout[L[R]];s.setConvert(I,this.fullLayout),I.setScale=u.noop}},x.make4thDimension=function(){var R=this,I=R.graphDiv._fullLayout;R._mockAxis={type:"linear",showexponent:"all",exponentformat:"B"},s.setConvert(R._mockAxis,I)},T.exports=E},90060:function(T){T.exports=function(p,t,d,g){g=g||p.length;for(var i=new Array(g),M=0;MOpenStreetMap
contributors',i=['© Carto',g].join(" "),M=['Map tiles by Stamen Design','under CC BY 3.0',"|",'Data by OpenStreetMap contributors','under ODbL'].join(" "),v={"open-street-map":{id:"osm",version:8,sources:{"plotly-osm-tiles":{type:"raster",attribution:g,tiles:["https://a.tile.openstreetmap.org/{z}/{x}/{y}.png","https://b.tile.openstreetmap.org/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-osm-tiles",type:"raster",source:"plotly-osm-tiles",minzoom:0,maxzoom:22}]},"white-bg":{id:"white-bg",version:8,sources:{},layers:[{id:"white-bg",type:"background",paint:{"background-color":"#FFFFFF"},minzoom:0,maxzoom:22}]},"carto-positron":{id:"carto-positron",version:8,sources:{"plotly-carto-positron":{type:"raster",attribution:i,tiles:["https://cartodb-basemaps-c.global.ssl.fastly.net/light_all/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-carto-positron",type:"raster",source:"plotly-carto-positron",minzoom:0,maxzoom:22}]},"carto-darkmatter":{id:"carto-darkmatter",version:8,sources:{"plotly-carto-darkmatter":{type:"raster",attribution:i,tiles:["https://cartodb-basemaps-c.global.ssl.fastly.net/dark_all/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-carto-darkmatter",type:"raster",source:"plotly-carto-darkmatter",minzoom:0,maxzoom:22}]},"stamen-terrain":{id:"stamen-terrain",version:8,sources:{"plotly-stamen-terrain":{type:"raster",attribution:M,tiles:["https://stamen-tiles.a.ssl.fastly.net/terrain/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-terrain",type:"raster",source:"plotly-stamen-terrain",minzoom:0,maxzoom:22}]},"stamen-toner":{id:"stamen-toner",version:8,sources:{"plotly-stamen-toner":{type:"raster",attribution:M,tiles:["https://stamen-tiles.a.ssl.fastly.net/toner/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-toner",type:"raster",source:"plotly-stamen-toner",minzoom:0,maxzoom:22}]},"stamen-watercolor":{id:"stamen-watercolor",version:8,sources:{"plotly-stamen-watercolor":{type:"raster",attribution:['Map tiles by Stamen Design','under CC BY 3.0',"|",'Data by OpenStreetMap contributors','under CC BY SA'].join(" "),tiles:["https://stamen-tiles.a.ssl.fastly.net/watercolor/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-watercolor",type:"raster",source:"plotly-stamen-watercolor",minzoom:0,maxzoom:22}]}},f=d(v);T.exports={requiredVersion:"1.10.1",styleUrlPrefix:"mapbox://styles/mapbox/",styleUrlSuffix:"v9",styleValuesMapbox:["basic","streets","outdoors","light","dark","satellite","satellite-streets"],styleValueDflt:"basic",stylesNonMapbox:v,styleValuesNonMapbox:f,traceLayerPrefix:"plotly-trace-layer-",layoutLayerPrefix:"plotly-layout-layer-",wrongVersionErrorMsg:["Your custom plotly.js bundle is not using the correct mapbox-gl version","Please install mapbox-gl@1.10.1."].join(` +`+G.year}return z(W,N,$,U)};var B=3*u;p.incrementMonth=function(N,W,j){j=k(j)&&j;var $=f(N,u);if(N=Math.round(N-$),j)try{var U=Math.round(N/u)+c,G=m.getComponentMethod("calendars","getCal")(j),q=G.fromJD(U);return W%12?G.add(q,W,"m"):G.add(q,W/12,"y"),(q.toJD()-c)*u+$}catch{v.error("invalid ms "+N+" in calendar "+j)}var H=new Date(N+B);return H.setUTCMonth(H.getUTCMonth()+W)+$-B},p.findExactDates=function(N,W){for(var j,$,U=0,G=0,q=0,H=0,ne=k(W)&&m.getComponentMethod("calendars","getCal")(W),te=0;te0&&b[R+1][0]<0)return R;return null}switch(w=x==="RUS"||x==="FJI"?function(b){var R;if(L(b)===null)R=b;else for(R=new Array(b.length),_=0;_R?I[O++]=[b[_][0]+360,b[_][1]]:_===R?(I[O++]=b[_],I[O++]=[b[_][0],-90]):I[O++]=b[_];var z=o.tester(I);z.pts.pop(),A.push(z)}:function(b){A.push(o.tester(b))},k.type){case"MultiPolygon":for(y=0;yj&&(j=G,B=U)}else B=N;return M.default(B).geometry.coordinates}(z),I.fIn=b,I.fOut=z,k.push(z)}else l.log(["Location",I.loc,"does not have a valid GeoJSON geometry.","Traces with locationmode *geojson-id* only support","*Polygon* and *MultiPolygon* geometries."].join(" "))}delete _[R]}switch(y.type){case"FeatureCollection":var A=y.features;for(C=0;C100?(clearInterval(R),L("Unexpected error while fetching from "+x)):void b++},50)})}for(var k=0;k0&&(M.push(v),v=[])}return v.length>0&&M.push(v),M},p.makeLine=function(g){return g.length===1?{type:"LineString",coordinates:g[0]}:{type:"MultiLineString",coordinates:g}},p.makePolygon=function(g){if(g.length===1)return{type:"Polygon",coordinates:g};for(var i=new Array(g.length),M=0;M1||A<0||A>1?null:{x:l+w*A,y:a+_*A}}function f(l,a,u,o,s){var h=o*l+s*a;if(h<0)return o*o+s*s;if(h>u){var c=o-l,m=s-a;return c*c+m*m}var w=o*a-s*l;return w*w/u}p.segmentsIntersect=v,p.segmentDistance=function(l,a,u,o,s,h,c,m){if(v(l,a,u,o,s,h,c,m))return 0;var w=u-l,y=o-a,C=c-s,_=m-h,k=w*w+y*y,E=C*C+_*_,x=Math.min(f(w,y,k,s-l,h-a),f(w,y,k,c-l,m-a),f(C,_,E,l-s,a-h),f(C,_,E,u-s,o-h));return Math.sqrt(x)},p.getTextLocation=function(l,a,u,o){if(l===g&&o===i||(d={},g=l,i=o),d[u])return d[u];var s=l.getPointAtLength(M(u-o/2,a)),h=l.getPointAtLength(M(u+o/2,a)),c=Math.atan((h.y-s.y)/(h.x-s.x)),m=l.getPointAtLength(M(u,a)),w={x:(4*m.x+s.x+h.x)/6,y:(4*m.y+s.y+h.y)/6,theta:c};return d[u]=w,w},p.clearLocationCache=function(){g=null},p.getVisibleSegment=function(l,a,u){var o,s,h=a.left,c=a.right,m=a.top,w=a.bottom,y=0,C=l.getTotalLength(),_=C;function k(x){var A=l.getPointAtLength(x);x===0?o=A:x===C&&(s=A);var L=A.xc?A.x-c:0,b=A.yw?A.y-w:0;return Math.sqrt(L*L+b*b)}for(var E=k(y);E;){if((y+=E+u)>_)return;E=k(y)}for(E=k(_);E;){if(y>(_-=E+u))return;E=k(_)}return{min:y,max:_,len:_-y,total:C,isClosed:y===0&&_===C&&Math.abs(o.x-s.x)<.1&&Math.abs(o.y-s.y)<.1}},p.findPointOnPath=function(l,a,u,o){for(var s,h,c,m=(o=o||{}).pathLength||l.getTotalLength(),w=o.tolerance||.001,y=o.iterationLimit||30,C=l.getPointAtLength(0)[u]>l.getPointAtLength(m)[u]?-1:1,_=0,k=0,E=m;_0?E=s:k=s,_++}return h}},81697:function(T,p,t){var d=t(92770),g=t(84267),i=t(25075),M=t(21081),v=t(22399).defaultLine,f=t(73627).isArrayOrTypedArray,l=i(v);function a(s,h){var c=s;return c[3]*=h,c}function u(s){if(d(s))return l;var h=i(s);return h.length?h:l}function o(s){return d(s)?s:1}T.exports={formatColor:function(s,h,c){var m,w,y,C,_,k=s.color,E=f(k),x=f(h),A=M.extractOpts(s),L=[];if(m=A.colorscale!==void 0?M.makeColorScaleFuncFromTrace(s):u,w=E?function(R,I){return R[I]===void 0?l:i(m(R[I]))}:u,y=x?function(R,I){return R[I]===void 0?1:o(R[I])}:o,E||x)for(var b=0;b1?(d*p+d*t)/d:p+t,i=String(g).length;if(i>16){var M=String(t).length;if(i>=String(p).length+M){var v=parseFloat(g).toPrecision(12);v.indexOf("e+")===-1&&(g=+v)}}return g}},71828:function(T,p,t){var d=t(39898),g=t(84096).g0,i=t(60721).WU,M=t(92770),v=t(50606),f=v.FP_SAFE,l=-f,a=v.BADNUM,u=T.exports={};u.adjustFormat=function(Q){return!Q||/^\d[.]\df/.test(Q)||/[.]\d%/.test(Q)?Q:Q==="0.f"?"~f":/^\d%/.test(Q)?"~%":/^\ds/.test(Q)?"~s":!/^[~,.0$]/.test(Q)&&/[&fps]/.test(Q)?"~"+Q:Q};var o={};u.warnBadFormat=function(Q){var re=String(Q);o[re]||(o[re]=1,u.warn('encountered bad format: "'+re+'"'))},u.noFormat=function(Q){return String(Q)},u.numberFormat=function(Q){var re;try{re=i(u.adjustFormat(Q))}catch{return u.warnBadFormat(Q),u.noFormat}return re},u.nestedProperty=t(65487),u.keyedContainer=t(66636),u.relativeAttr=t(6962),u.isPlainObject=t(41965),u.toLogRange=t(58163),u.relinkPrivateKeys=t(51332);var s=t(73627);u.isTypedArray=s.isTypedArray,u.isArrayOrTypedArray=s.isArrayOrTypedArray,u.isArray1D=s.isArray1D,u.ensureArray=s.ensureArray,u.concat=s.concat,u.maxRowLength=s.maxRowLength,u.minRowLength=s.minRowLength;var h=t(64872);u.mod=h.mod,u.modHalf=h.modHalf;var c=t(96554);u.valObjectMeta=c.valObjectMeta,u.coerce=c.coerce,u.coerce2=c.coerce2,u.coerceFont=c.coerceFont,u.coercePattern=c.coercePattern,u.coerceHoverinfo=c.coerceHoverinfo,u.coerceSelectionMarkerOpacity=c.coerceSelectionMarkerOpacity,u.validate=c.validate;var m=t(41631);u.dateTime2ms=m.dateTime2ms,u.isDateTime=m.isDateTime,u.ms2DateTime=m.ms2DateTime,u.ms2DateTimeLocal=m.ms2DateTimeLocal,u.cleanDate=m.cleanDate,u.isJSDate=m.isJSDate,u.formatDate=m.formatDate,u.incrementMonth=m.incrementMonth,u.dateTick0=m.dateTick0,u.dfltRange=m.dfltRange,u.findExactDates=m.findExactDates,u.MIN_MS=m.MIN_MS,u.MAX_MS=m.MAX_MS;var w=t(65888);u.findBin=w.findBin,u.sorterAsc=w.sorterAsc,u.sorterDes=w.sorterDes,u.distinctVals=w.distinctVals,u.roundUp=w.roundUp,u.sort=w.sort,u.findIndexOfMin=w.findIndexOfMin,u.sortObjectKeys=t(78607);var y=t(80038);u.aggNums=y.aggNums,u.len=y.len,u.mean=y.mean,u.median=y.median,u.midRange=y.midRange,u.variance=y.variance,u.stdev=y.stdev,u.interp=y.interp;var C=t(35657);u.init2dArray=C.init2dArray,u.transposeRagged=C.transposeRagged,u.dot=C.dot,u.translationMatrix=C.translationMatrix,u.rotationMatrix=C.rotationMatrix,u.rotationXYMatrix=C.rotationXYMatrix,u.apply3DTransform=C.apply3DTransform,u.apply2DTransform=C.apply2DTransform,u.apply2DTransform2=C.apply2DTransform2,u.convertCssMatrix=C.convertCssMatrix,u.inverseTransformMatrix=C.inverseTransformMatrix;var _=t(26348);u.deg2rad=_.deg2rad,u.rad2deg=_.rad2deg,u.angleDelta=_.angleDelta,u.angleDist=_.angleDist,u.isFullCircle=_.isFullCircle,u.isAngleInsideSector=_.isAngleInsideSector,u.isPtInsideSector=_.isPtInsideSector,u.pathArc=_.pathArc,u.pathSector=_.pathSector,u.pathAnnulus=_.pathAnnulus;var k=t(99863);u.isLeftAnchor=k.isLeftAnchor,u.isCenterAnchor=k.isCenterAnchor,u.isRightAnchor=k.isRightAnchor,u.isTopAnchor=k.isTopAnchor,u.isMiddleAnchor=k.isMiddleAnchor,u.isBottomAnchor=k.isBottomAnchor;var E=t(87642);u.segmentsIntersect=E.segmentsIntersect,u.segmentDistance=E.segmentDistance,u.getTextLocation=E.getTextLocation,u.clearLocationCache=E.clearLocationCache,u.getVisibleSegment=E.getVisibleSegment,u.findPointOnPath=E.findPointOnPath;var x=t(1426);u.extendFlat=x.extendFlat,u.extendDeep=x.extendDeep,u.extendDeepAll=x.extendDeepAll,u.extendDeepNoArrays=x.extendDeepNoArrays;var A=t(47769);u.log=A.log,u.warn=A.warn,u.error=A.error;var L=t(30587);u.counterRegex=L.counter;var b=t(79990);u.throttle=b.throttle,u.throttleDone=b.done,u.clearThrottle=b.clear;var R=t(24401);function I(Q){var re={};for(var ie in Q)for(var oe=Q[ie],ue=0;uef||Q=re)&&M(Q)&&Q>=0&&Q%1==0},u.noop=t(64213),u.identity=t(23389),u.repeat=function(Q,re){for(var ie=new Array(re),oe=0;oeie?Math.max(ie,Math.min(re,Q)):Math.max(re,Math.min(ie,Q))},u.bBoxIntersect=function(Q,re,ie){return ie=ie||0,Q.left<=re.right+ie&&re.left<=Q.right+ie&&Q.top<=re.bottom+ie&&re.top<=Q.bottom+ie},u.simpleMap=function(Q,re,ie,oe,ue){for(var ce=Q.length,ye=new Array(ce),de=0;de=Math.pow(2,ie)?ue>10?(u.warn("randstr failed uniqueness"),me):Q(re,ie,oe,(ue||0)+1):me},u.OptionControl=function(Q,re){Q||(Q={}),re||(re="opt");var ie={optionList:[],_newoption:function(oe){oe[re]=Q,ie[oe.name]=oe,ie.optionList.push(oe)}};return ie["_"+re]=Q,ie},u.smooth=function(Q,re){if((re=Math.round(re)||0)<2)return Q;var ie,oe,ue,ce,ye=Q.length,de=2*ye,me=2*re-1,pe=new Array(me),xe=new Array(ye);for(ie=0;ie=de&&(ue-=de*Math.floor(ue/de)),ue<0?ue=-1-ue:ue>=ye&&(ue=de-1-ue),ce+=Q[ue]*pe[oe];xe[ie]=ce}return xe},u.syncOrAsync=function(Q,re,ie){var oe;function ue(){return u.syncOrAsync(Q,re,ie)}for(;Q.length;)if((oe=(0,Q.splice(0,1)[0])(re))&&oe.then)return oe.then(ue);return ie&&ie(re)},u.stripTrailingSlash=function(Q){return Q.substr(-1)==="/"?Q.substr(0,Q.length-1):Q},u.noneOrAll=function(Q,re,ie){if(Q){var oe,ue=!1,ce=!0;for(oe=0;oe0?ue:0})},u.fillArray=function(Q,re,ie,oe){if(oe=oe||u.identity,u.isArrayOrTypedArray(Q))for(var ue=0;ue1?ue+ye[1]:"";if(ce&&(ye.length>1||de.length>4||ie))for(;oe.test(de);)de=de.replace(oe,"$1"+ce+"$2");return de+me},u.TEMPLATE_STRING_REGEX=/%{([^\s%{}:]*)([:|\|][^}]*)?}/g;var W=/^\w*$/;u.templateString=function(Q,re){var ie={};return Q.replace(u.TEMPLATE_STRING_REGEX,function(oe,ue){var ce;return W.test(ue)?ce=re[ue]:(ie[ue]=ie[ue]||u.nestedProperty(re,ue).get,ce=ie[ue]()),u.isValidTextValue(ce)?ce:""})};var j={max:10,count:0,name:"hovertemplate"};u.hovertemplateString=function(){return ne.apply(j,arguments)};var $={max:10,count:0,name:"texttemplate"};u.texttemplateString=function(){return ne.apply($,arguments)};var U=/^(\S+)([\*\/])(-?\d+(\.\d+)?)$/;function G(Q){var re=Q.match(U);return re?{key:re[1],op:re[2],number:Number(re[3])}:{key:Q,op:null,number:null}}var q={max:10,count:0,name:"texttemplate",parseMultDiv:!0};u.texttemplateStringForShapes=function(){return ne.apply(q,arguments)};var H=/^[:|\|]/;function ne(Q,re,ie){var oe=this,ue=arguments;re||(re={});var ce={};return Q.replace(u.TEMPLATE_STRING_REGEX,function(ye,de,me){var pe=de==="_xother"||de==="_yother",xe=de==="_xother_"||de==="_yother_",Pe=de==="xother_"||de==="yother_",_e=de==="xother"||de==="yother"||pe||Pe||xe,Me=de;(pe||xe)&&(Me=Me.substring(1)),(Pe||xe)&&(Me=Me.substring(0,Me.length-1));var Se,Ce,ae,fe=null,be=null;if(oe.parseMultDiv){var ke=G(Me);Me=ke.key,fe=ke.op,be=ke.number}if(_e){if((Se=re[Me])===void 0)return""}else for(ae=3;ae=48&&ye<=57,pe=de>=48&&de<=57;if(me&&(oe=10*oe+ye-48),pe&&(ue=10*ue+de-48),!me||!pe){if(oe!==ue)return oe-ue;if(ye!==de)return ye-de}}return ue-oe};var te=2e9;u.seedPseudoRandom=function(){te=2e9},u.pseudoRandom=function(){var Q=te;return te=(69069*te+1)%4294967296,Math.abs(te-Q)<429496729?u.pseudoRandom():te/4294967296},u.fillText=function(Q,re,ie){var oe=Array.isArray(ie)?function(ye){ie.push(ye)}:function(ye){ie.text=ye},ue=u.extractOption(Q,re,"htx","hovertext");if(u.isValidTextValue(ue))return oe(ue);var ce=u.extractOption(Q,re,"tx","text");return u.isValidTextValue(ce)?oe(ce):void 0},u.isValidTextValue=function(Q){return Q||Q===0},u.formatPercent=function(Q,re){re=re||0;for(var ie=(Math.round(100*Q*Math.pow(10,re))*Math.pow(.1,re)).toFixed(re)+"%",oe=0;oe1&&(pe=1):pe=0,u.strTranslate(ue-pe*(ie+ye),ce-pe*(oe+de))+u.strScale(pe)+(me?"rotate("+me+(re?"":" "+ie+" "+oe)+")":"")},u.setTransormAndDisplay=function(Q,re){Q.attr("transform",u.getTextTransform(re)),Q.style("display",re.scale?null:"none")},u.ensureUniformFontSize=function(Q,re){var ie=u.extendFlat({},re);return ie.size=Math.max(re.size,Q._fullLayout.uniformtext.minsize||0),ie},u.join2=function(Q,re,ie){var oe=Q.length;return oe>1?Q.slice(0,-1).join(re)+ie+Q[oe-1]:Q.join(re)},u.bigFont=function(Q){return Math.round(1.2*Q)};var Z=u.getFirefoxVersion(),X=Z!==null&&Z<86;u.getPositionFromD3Event=function(){return X?[d.event.layerX,d.event.layerY]:[d.event.offsetX,d.event.offsetY]}},41965:function(T){T.exports=function(p){return window&&window.process&&window.process.versions?Object.prototype.toString.call(p)==="[object Object]":Object.prototype.toString.call(p)==="[object Object]"&&Object.getPrototypeOf(p).hasOwnProperty("hasOwnProperty")}},66636:function(T,p,t){var d=t(65487),g=/^\w*$/;T.exports=function(i,M,v,f){var l,a,u;v=v||"name",f=f||"value";var o={};M&&M.length?(u=d(i,M),a=u.get()):a=i,M=M||"";var s={};if(a)for(l=0;l2)return o[w]=2|o[w],c.set(m,null);if(h){for(l=w;l1){var v=["LOG:"];for(M=0;M1){var f=[];for(M=0;M"),"long")}},i.warn=function(){var M;if(d.logging>0){var v=["WARN:"];for(M=0;M0){var f=[];for(M=0;M"),"stick")}},i.error=function(){var M;if(d.logging>0){var v=["ERROR:"];for(M=0;M0){var f=[];for(M=0;M"),"stick")}}},77310:function(T,p,t){var d=t(39898);T.exports=function(g,i,M){var v=g.selectAll("g."+M.replace(/\s/g,".")).data(i,function(l){return l[0].trace.uid});v.exit().remove(),v.enter().append("g").attr("class",M),v.order();var f=g.classed("rangeplot")?"nodeRangePlot3":"node3";return v.each(function(l){l[0][f]=d.select(this)}),v}},35657:function(T,p,t){var d=t(79576);p.init2dArray=function(g,i){for(var M=new Array(g),v=0;vt/2?p-Math.round(p/t)*t:p}}},65487:function(T,p,t){var d=t(92770),g=t(73627).isArrayOrTypedArray;function i(o,s){return function(){var h,c,m,w,y,C=o;for(w=0;w/g),c=0;ca||_===g||_o||y&&s(w))}:function(w,y){var C=w[0],_=w[1];if(C===g||Ca||_===g||_o)return!1;var k,E,x,A,L,b=f.length,R=f[0][0],I=f[0][1],O=0;for(k=1;kMath.max(E,R)||_>Math.max(x,I)))if(_c||Math.abs(d(u,w))>l)return!0;return!1},i.filter=function(M,v){var f=[M[0]],l=0,a=0;function u(o){M.push(o);var s=f.length,h=l;f.splice(a+1);for(var c=h+1;c1&&u(M.pop()),{addPt:u,raw:M,filtered:f}}},79749:function(T,p,t){var d=t(58617),g=t(98580);T.exports=function(i,M,v){var f=i._fullLayout,l=!0;return f._glcanvas.each(function(a){if(a.regl)a.regl.preloadCachedCode(v);else if(!a.pick||f._has("parcoords")){try{a.regl=g({canvas:this,attributes:{antialias:!a.pick,preserveDrawingBuffer:!0},pixelRatio:i._context.plotGlPixelRatio||t.g.devicePixelRatio,extensions:M||[],cachedCode:v||{}})}catch{l=!1}a.regl||(l=!1),l&&this.addEventListener("webglcontextlost",function(u){i&&i.emit&&i.emit("plotly_webglcontextlost",{event:u,layer:a.key})},!1)}}),l||d({container:f._glcontainer.node()}),l}},45142:function(T,p,t){var d=t(92770),g=t(35791);T.exports=function(i){var M;if(typeof(M=i&&i.hasOwnProperty("userAgent")?i.userAgent:function(){var s;return typeof navigator<"u"&&(s=navigator.userAgent),s&&s.headers&&typeof s.headers["user-agent"]=="string"&&(s=s.headers["user-agent"]),s}())!="string")return!0;var v=g({ua:{headers:{"user-agent":M}},tablet:!0,featureDetect:!1});if(!v){for(var f=M.split(" "),l=1;l-1;a--){var u=f[a];if(u.substr(0,8)==="Version/"){var o=u.substr(8).split(".")[0];if(d(o)&&(o=+o),o>=13)return!0}}}return v}},75138:function(T){T.exports=function(p,t){if(t instanceof RegExp){for(var d=t.toString(),g=0;gg.queueLength&&(M.undoQueue.queue.shift(),M.undoQueue.index--))},startSequence:function(M){M.undoQueue=M.undoQueue||{index:0,queue:[],sequence:!1},M.undoQueue.sequence=!0,M.undoQueue.beginSequence=!0},stopSequence:function(M){M.undoQueue=M.undoQueue||{index:0,queue:[],sequence:!1},M.undoQueue.sequence=!1,M.undoQueue.beginSequence=!1},undo:function(M){var v,f;if(!(M.undoQueue===void 0||isNaN(M.undoQueue.index)||M.undoQueue.index<=0)){for(M.undoQueue.index--,v=M.undoQueue.queue[M.undoQueue.index],M.undoQueue.inSequence=!0,f=0;f=M.undoQueue.queue.length)){for(v=M.undoQueue.queue[M.undoQueue.index],M.undoQueue.inSequence=!0,f=0;fs}function u(o,s){return o>=s}p.findBin=function(o,s,h){if(d(s.start))return h?Math.ceil((o-s.start)/s.size-v)-1:Math.floor((o-s.start)/s.size+v);var c,m,w=0,y=s.length,C=0,_=y>1?(s[y-1]-s[0])/(y-1):1;for(m=_>=0?h?f:l:h?u:a,o+=_*v*(h?-1:1)*(_>=0?1:-1);w90&&g.log("Long binary search..."),w-1},p.sorterAsc=function(o,s){return o-s},p.sorterDes=function(o,s){return s-o},p.distinctVals=function(o){var s,h=o.slice();for(h.sort(p.sorterAsc),s=h.length-1;s>-1&&h[s]===M;s--);for(var c,m=h[s]-h[0]||1,w=m/(s||1)/1e4,y=[],C=0;C<=s;C++){var _=h[C],k=_-c;c===void 0?(y.push(_),c=_):k>w&&(m=Math.min(m,k),y.push(_),c=_)}return{vals:y,minDiff:m}},p.roundUp=function(o,s,h){for(var c,m=0,w=s.length-1,y=0,C=h?0:1,_=h?1:0,k=h?Math.ceil:Math.floor;m0&&(c=1),h&&c)return o.sort(s)}return c?o:o.reverse()},p.findIndexOfMin=function(o,s){s=s||i;for(var h,c=1/0,m=0;mv.length)&&(f=v.length),d(M)||(M=!1),g(v[0])){for(a=new Array(f),l=0;li.length-1)return i[i.length-1];var v=M%1;return v*i[Math.ceil(M)]+(1-v)*i[Math.floor(M)]}},78614:function(T,p,t){var d=t(25075);T.exports=function(g){return g?d(g):[0,0,0,1]}},63893:function(T,p,t){var d=t(39898),g=t(71828),i=g.strTranslate,M=t(77922),v=t(18783).LINE_SPACING,f=/([^$]*)([$]+[^$]*[$]+)([^$]*)/;p.convertToTspans=function(N,W,j){var $=N.text(),U=!N.attr("data-notex")&&W&&W._context.typesetMath&&typeof MathJax<"u"&&$.match(f),G=d.select(N.node().parentNode);if(!G.empty()){var q=N.attr("class")?N.attr("class").split(" ")[0]:"text";return q+="-math",G.selectAll("svg."+q).remove(),G.selectAll("g."+q+"-group").remove(),N.style("display",null).attr({"data-unformatted":$,"data-math":"N"}),U?(W&&W._promises||[]).push(new Promise(function(ne){N.style("display","none");var te=parseInt(N.node().style.fontSize,10),Z={fontSize:te};(function(X,Q,re){var ie,oe,ue,ce,ye=parseInt((MathJax.version||"").split(".")[0]);if(ye===2||ye===3){var de=function(){var pe="math-output-"+g.randstr({},64),xe=(ce=d.select("body").append("div").attr({id:pe}).style({visibility:"hidden",position:"absolute","font-size":Q.fontSize+"px"}).text(X.replace(l,"\\lt ").replace(a,"\\gt "))).node();return ye===2?MathJax.Hub.Typeset(xe):MathJax.typeset([xe])},me=function(){var pe=ce.select(ye===2?".MathJax_SVG":".MathJax"),xe=!pe.empty()&&ce.select("svg").node();if(xe){var Pe,_e=xe.getBoundingClientRect();Pe=ye===2?d.select("body").select("#MathJax_SVG_glyphs"):pe.select("defs"),re(pe,Pe,_e)}else g.log("There was an error in the tex syntax.",X),re();ce.remove()};ye===2?MathJax.Hub.Queue(function(){return oe=g.extendDeepAll({},MathJax.Hub.config),ue=MathJax.Hub.processSectionDelay,MathJax.Hub.processSectionDelay!==void 0&&(MathJax.Hub.processSectionDelay=0),MathJax.Hub.Config({messageStyle:"none",tex2jax:{inlineMath:u},displayAlign:"left"})},function(){if((ie=MathJax.Hub.config.menuSettings.renderer)!=="SVG")return MathJax.Hub.setRenderer("SVG")},de,me,function(){if(ie!=="SVG")return MathJax.Hub.setRenderer(ie)},function(){return ue!==void 0&&(MathJax.Hub.processSectionDelay=ue),MathJax.Hub.Config(oe)}):ye===3&&(oe=g.extendDeepAll({},MathJax.config),MathJax.config.tex||(MathJax.config.tex={}),MathJax.config.tex.inlineMath=u,(ie=MathJax.config.startup.output)!=="svg"&&(MathJax.config.startup.output="svg"),MathJax.startup.defaultReady(),MathJax.startup.promise.then(function(){de(),me(),ie!=="svg"&&(MathJax.config.startup.output=ie),MathJax.config=oe}))}else g.warn("No MathJax version:",MathJax.version)})(U[2],Z,function(X,Q,re){G.selectAll("svg."+q).remove(),G.selectAll("g."+q+"-group").remove();var ie=X&&X.select("svg");if(!ie||!ie.node())return H(),void ne();var oe=G.append("g").classed(q+"-group",!0).attr({"pointer-events":"none","data-unformatted":$,"data-math":"Y"});oe.node().appendChild(ie.node()),Q&&Q.node()&&ie.node().insertBefore(Q.node().cloneNode(!0),ie.node().firstChild);var ue=re.width,ce=re.height;ie.attr({class:q,height:ce,preserveAspectRatio:"xMinYMin meet"}).style({overflow:"visible","pointer-events":"none"});var ye=N.node().style.fill||"black",de=ie.select("g");de.attr({fill:ye,stroke:ye});var me=de.node().getBoundingClientRect(),pe=me.width,xe=me.height;(pe>ue||xe>ce)&&(ie.style("overflow","hidden"),pe=(me=ie.node().getBoundingClientRect()).width,xe=me.height);var Pe=+N.attr("x"),_e=+N.attr("y"),Me=-(te||N.node().getBoundingClientRect().height)/4;if(q[0]==="y")oe.attr({transform:"rotate("+[-90,Pe,_e]+")"+i(-pe/2,Me-xe/2)});else if(q[0]==="l")_e=Me-xe/2;else if(q[0]==="a"&&q.indexOf("atitle")!==0)Pe=0,_e=Me;else{var Se=N.attr("text-anchor");Pe-=pe*(Se==="middle"?.5:Se==="end"?1:0),_e=_e+Me-xe/2}ie.attr({x:Pe,y:_e}),j&&j.call(N,oe),ne(oe)})})):H(),N}function H(){G.empty()||(q=N.attr("class")+"-math",G.select("svg."+q).remove()),N.text("").style("white-space","pre");var ne=function(te,Z){Z=Z.replace(w," ");var X,Q=!1,re=[],ie=-1;function oe(){ie++;var be=document.createElementNS(M.svg,"tspan");d.select(be).attr({class:"line",dy:ie*v+"em"}),te.appendChild(be),X=be;var ke=re;if(re=[{node:be}],ke.length>1)for(var Le=1;Le doesnt match end tag <"+be+">. Pretending it did match.",Z),X=re[re.length-1].node}else g.log("Ignoring unexpected end tag .",Z)}_.test(Z)?oe():(X=te,re=[{node:te}]);for(var de=Z.split(y),me=0;me|>|>)/g,u=[["$","$"],["\\(","\\)"]],o={sup:"font-size:70%",sub:"font-size:70%",b:"font-weight:bold",i:"font-style:italic",a:"cursor:pointer",span:"",em:"font-style:italic;font-weight:bold"},s={sub:"0.3em",sup:"-0.6em"},h={sub:"-0.21em",sup:"0.42em"},c="​",m=["http:","https:","mailto:","",void 0,":"],w=p.NEWLINES=/(\r\n?|\n)/g,y=/(<[^<>]*>)/,C=/<(\/?)([^ >]*)(\s+(.*))?>/i,_=//i;p.BR_TAG_ALL=//gi;var k=/(^|[\s"'])style\s*=\s*("([^"]*);?"|'([^']*);?')/i,E=/(^|[\s"'])href\s*=\s*("([^"]*)"|'([^']*)')/i,x=/(^|[\s"'])target\s*=\s*("([^"\s]*)"|'([^'\s]*)')/i,A=/(^|[\s"'])popup\s*=\s*("([\w=,]*)"|'([\w=,]*)')/i;function L(N,W){if(!N)return null;var j=N.match(W),$=j&&(j[3]||j[4]);return $&&O($)}var b=/(^|;)\s*color:/;p.plainText=function(N,W){for(var j=(W=W||{}).len!==void 0&&W.len!==-1?W.len:1/0,$=W.allowedTags!==void 0?W.allowedTags:["br"],U=3,G=N.split(y),q=[],H="",ne=0,te=0;teU?q.push(Z.substr(0,ie-U)+"..."):q.push(Z.substr(0,ie));break}H=""}}return q.join("")};var R={mu:"μ",amp:"&",lt:"<",gt:">",nbsp:" ",times:"×",plusmn:"±",deg:"°"},I=/&(#\d+|#x[\da-fA-F]+|[a-z]+);/g;function O(N){return N.replace(I,function(W,j){return(j.charAt(0)==="#"?function($){if(!($>1114111)){var U=String.fromCodePoint;if(U)return U($);var G=String.fromCharCode;return $<=65535?G($):G(55232+($>>10),$%1024+56320)}}(j.charAt(1)==="x"?parseInt(j.substr(2),16):parseInt(j.substr(1),10)):R[j])||W})}function z(N){var W=encodeURI(decodeURI(N)),j=document.createElement("a"),$=document.createElement("a");j.href=N,$.href=W;var U=j.protocol,G=$.protocol;return m.indexOf(U)!==-1&&m.indexOf(G)!==-1?W:""}function F(N,W,j){var $,U,G,q=j.horizontalAlign,H=j.verticalAlign||"top",ne=N.node().getBoundingClientRect(),te=W.node().getBoundingClientRect();return U=H==="bottom"?function(){return ne.bottom-$.height}:H==="middle"?function(){return ne.top+(ne.height-$.height)/2}:function(){return ne.top},G=q==="right"?function(){return ne.right-$.width}:q==="center"?function(){return ne.left+(ne.width-$.width)/2}:function(){return ne.left},function(){$=this.node().getBoundingClientRect();var Z=G()-te.left,X=U()-te.top,Q=j.gd||{};if(j.gd){Q._fullLayout._calcInverseTransform(Q);var re=g.apply3DTransform(Q._fullLayout._invTransform)(Z,X);Z=re[0],X=re[1]}return this.style({top:X+"px",left:Z+"px","z-index":1e3}),this}}p.convertEntities=O,p.sanitizeHTML=function(N){N=N.replace(w," ");for(var W=document.createElement("p"),j=W,$=[],U=N.split(y),G=0;Gv.ts+i?a():v.timer=setTimeout(function(){a(),v.timer=null},i)},p.done=function(g){var i=t[g];return i&&i.timer?new Promise(function(M){var v=i.onDone;i.onDone=function(){v&&v(),M(),i.onDone=null}}):Promise.resolve()},p.clear=function(g){if(g)d(t[g]),delete t[g];else for(var i in t)p.clear(i)}},58163:function(T,p,t){var d=t(92770);T.exports=function(g,i){if(g>0)return Math.log(g)/Math.LN10;var M=Math.log(Math.min(i[0],i[1]))/Math.LN10;return d(M)||(M=Math.log(Math.max(i[0],i[1]))/Math.LN10-6),M}},90973:function(T,p,t){var d=T.exports={},g=t(78776).locationmodeToLayer,i=t(96892).zL;d.getTopojsonName=function(M){return[M.scope.replace(/ /g,"-"),"_",M.resolution.toString(),"m"].join("")},d.getTopojsonPath=function(M,v){return M+v+".json"},d.getTopojsonFeatures=function(M,v){var f=g[M.locationmode],l=v.objects[f];return i(v,l).features}},37815:function(T){T.exports={moduleType:"locale",name:"en-US",dictionary:{"Click to enter Colorscale title":"Click to enter Colorscale title"},format:{date:"%m/%d/%Y"}}},92177:function(T){T.exports={moduleType:"locale",name:"en",dictionary:{"Click to enter Colorscale title":"Click to enter Colourscale title"},format:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],periods:["AM","PM"],dateTime:"%a %b %e %X %Y",date:"%d/%m/%Y",time:"%H:%M:%S",decimal:".",thousands:",",grouping:[3],currency:["$",""],year:"%Y",month:"%b %Y",dayMonth:"%b %-d",dayMonthYear:"%b %-d, %Y"}}},14458:function(T,p,t){var d=t(73972);T.exports=function(g){for(var i,M,v=d.layoutArrayContainers,f=d.layoutArrayRegexes,l=g.split("[")[0],a=0;a0&&M.log("Clearing previous rejected promises from queue."),E._promises=[]},p.cleanLayout=function(E){var x,A;E||(E={}),E.xaxis1&&(E.xaxis||(E.xaxis=E.xaxis1),delete E.xaxis1),E.yaxis1&&(E.yaxis||(E.yaxis=E.yaxis1),delete E.yaxis1),E.scene1&&(E.scene||(E.scene=E.scene1),delete E.scene1);var L=(v.subplotsRegistry.cartesian||{}).attrRegex,b=(v.subplotsRegistry.polar||{}).attrRegex,R=(v.subplotsRegistry.ternary||{}).attrRegex,I=(v.subplotsRegistry.gl3d||{}).attrRegex,O=Object.keys(E);for(x=0;x3?(re.x=1.02,re.xanchor="left"):re.x<-2&&(re.x=-.02,re.xanchor="right"),re.y>3?(re.y=1.02,re.yanchor="bottom"):re.y<-2&&(re.y=-.02,re.yanchor="top")),h(E),E.dragmode==="rotate"&&(E.dragmode="orbit"),l.clean(E),E.template&&E.template.layout&&p.cleanLayout(E.template.layout),E},p.cleanData=function(E){for(var x=0;x0)return E.substr(0,x)}p.hasParent=function(E,x){for(var A=_(x);A;){if(A in E)return!0;A=_(A)}return!1};var k=["x","y","z"];p.clearAxisTypes=function(E,x,A){for(var L=0;L1&&i.warn("Full array edits are incompatible with other edits",c);var E=o[""][""];if(l(E))u.set(null);else{if(!Array.isArray(E))return i.warn("Unrecognized full array edit value",c,E),!0;u.set(E)}return!C&&(m(_,k),w(a),!0)}var x,A,L,b,R,I,O,z,F=Object.keys(o).map(Number).sort(M),B=u.get(),N=B||[],W=h(k,c).get(),j=[],$=-1,U=N.length;for(x=0;xN.length-(O?0:1))i.warn("index out of range",c,L);else if(I!==void 0)R.length>1&&i.warn("Insertion & removal are incompatible with edits to the same index.",c,L),l(I)?j.push(L):O?(I==="add"&&(I={}),N.splice(L,0,I),W&&W.splice(L,0,{})):i.warn("Unrecognized full object edit value",c,L,I),$===-1&&($=L);else for(A=0;A=0;x--)N.splice(j[x],1),W&&W.splice(j[x],1);if(N.length?B||u.set(N):u.set(null),C)return!1;if(m(_,k),y!==g){var G;if($===-1)G=F;else{for(U=Math.max(N.length,U),G=[],x=0;x=$);x++)G.push(L);for(x=$;x=ae.data.length||Le<-ae.data.length)throw new Error(be+" must be valid indices for gd.data.");if(fe.indexOf(Le,ke+1)>-1||Le>=0&&fe.indexOf(-ae.data.length+Le)>-1||Le<0&&fe.indexOf(ae.data.length+Le)>-1)throw new Error("each index in "+be+" must be unique.")}}function B(ae,fe,be){if(!Array.isArray(ae.data))throw new Error("gd.data must be an array.");if(fe===void 0)throw new Error("currentIndices is a required argument.");if(Array.isArray(fe)||(fe=[fe]),F(ae,fe,"currentIndices"),be===void 0||Array.isArray(be)||(be=[be]),be!==void 0&&F(ae,be,"newIndices"),be!==void 0&&fe.length!==be.length)throw new Error("current and new indices must be of equal length.")}function N(ae,fe,be,ke,Le){(function($e,Ye,st,ot){var ht=M.isPlainObject(ot);if(!Array.isArray($e.data))throw new Error("gd.data must be an array");if(!M.isPlainObject(Ye))throw new Error("update must be a key:value object");if(st===void 0)throw new Error("indices must be an integer or array of integers");for(var bt in F($e,st,"indices"),Ye){if(!Array.isArray(Ye[bt])||Ye[bt].length!==st.length)throw new Error("attribute "+bt+" must be an array of length equal to indices array length");if(ht&&(!(bt in ot)||!Array.isArray(ot[bt])||ot[bt].length!==Ye[bt].length))throw new Error("when maxPoints is set as a key:value object it must contain a 1:1 corrispondence with the keys and number of traces in the update object")}})(ae,fe,be,ke);for(var Be=function($e,Ye,st,ot){var ht,bt,Et,kt,xt,Ft=M.isPlainObject(ot),Ot=[];for(var Bt in Array.isArray(st)||(st=[st]),st=z(st,$e.data.length-1),Ye)for(var qt=0;qt-1&&be.indexOf("grouptitlefont")===-1?je(be,be.replace("titlefont","title.font")):be.indexOf("titleposition")>-1?je(be,be.replace("titleposition","title.position")):be.indexOf("titleside")>-1?je(be,be.replace("titleside","title.side")):be.indexOf("titleoffset")>-1&&je(be,be.replace("titleoffset","title.offset")):je(be,be.replace("title","title.text"));function je(ge,we){ae[we]=ae[ge],delete ae[ge]}}function ne(ae,fe,be){ae=M.getGraphDiv(ae),k.clearPromiseQueue(ae);var ke={};if(typeof fe=="string")ke[fe]=be;else{if(!M.isPlainObject(fe))return M.warn("Relayout fail.",fe,be),Promise.reject();ke=M.extendFlat({},fe)}Object.keys(ke).length&&(ae.changed=!0);var Le=ie(ae,ke),Be=Le.flags;Be.calc&&(ae.calcdata=void 0);var ze=[o.previousPromises];Be.layoutReplot?ze.push(E.layoutReplot):Object.keys(ke).length&&(te(ae,Be,Le)||o.supplyDefaults(ae),Be.legend&&ze.push(E.doLegend),Be.layoutstyle&&ze.push(E.layoutStyles),Be.axrange&&Z(ze,Le.rangesAltered),Be.ticks&&ze.push(E.doTicksRelayout),Be.modebar&&ze.push(E.doModeBar),Be.camera&&ze.push(E.doCamera),Be.colorbars&&ze.push(E.doColorBars),ze.push(b)),ze.push(o.rehover,o.redrag,o.reselect),l.add(ae,ne,[ae,Le.undoit],ne,[ae,Le.redoit]);var je=M.syncOrAsync(ze,ae);return je&&je.then||(je=Promise.resolve(ae)),je.then(function(){return ae.emit("plotly_relayout",Le.eventData),ae})}function te(ae,fe,be){var ke=ae._fullLayout;if(!fe.axrange)return!1;for(var Le in fe)if(Le!=="axrange"&&fe[Le])return!1;for(var Be in be.rangesAltered){var ze=s.id2name(Be),je=ae.layout[ze],ge=ke[ze];if(ge.autorange=je.autorange,je.range&&(ge.range=je.range.slice()),ge.cleanRange(),ge._matchGroup){for(var we in ge._matchGroup)if(we!==Be){var Ee=ke[s.id2name(we)];Ee.autorange=ge.autorange,Ee.range=ge.range.slice(),Ee._input.range=ge.range.slice()}}}return!0}function Z(ae,fe){var be=fe?function(ke){var Le=[];for(var Be in fe){var ze=s.getFromId(ke,Be);if(Le.push(Be),(ze.ticklabelposition||"").indexOf("inside")!==-1&&ze._anchorAxis&&Le.push(ze._anchorAxis._id),ze._matchGroup)for(var je in ze._matchGroup)fe[je]||Le.push(je)}return s.draw(ke,Le,{skipTitle:!0})}:function(ke){return s.draw(ke,"redraw")};ae.push(y,E.doAutoRangeAndConstraints,be,E.drawData,E.finalDraw)}var X=/^[xyz]axis[0-9]*\.range(\[[0|1]\])?$/,Q=/^[xyz]axis[0-9]*\.autorange$/,re=/^[xyz]axis[0-9]*\.domain(\[[0|1]\])?$/;function ie(ae,fe){var be,ke,Le,Be=ae.layout,ze=ae._fullLayout,je=ze._guiEditing,ge=U(ze._preGUI,je),we=Object.keys(fe),Ee=s.list(ae),Ve=M.extendDeepAll({},fe),$e={};for(H(fe),we=Object.keys(fe),ke=0;ke0&&typeof qt.parts[Ke]!="string";)Ke--;var Je=qt.parts[Ke],qe=qt.parts[Ke-1]+"."+Je,nt=qt.parts.slice(0,Ke).join("."),ft=v(ae.layout,nt).get(),Re=v(ze,nt).get(),Ne=qt.get();if(Vt!==void 0){bt[Bt]=Vt,Et[Bt]=Je==="reverse"?Vt:$(Ne);var Qe=u.getLayoutValObject(ze,qt.parts);if(Qe&&Qe.impliedEdits&&Vt!==null)for(var ut in Qe.impliedEdits)kt(M.relativeAttr(Bt,ut),Qe.impliedEdits[ut]);if(["width","height"].indexOf(Bt)!==-1)if(Vt){kt("autosize",null);var dt=Bt==="height"?"width":"height";kt(dt,ze[dt])}else ze[Bt]=ae._initialAutoSize[Bt];else if(Bt==="autosize")kt("width",Vt?null:ze.width),kt("height",Vt?null:ze.height);else if(qe.match(X))Ot(qe),v(ze,nt+"._inputRange").set(null);else if(qe.match(Q)){Ot(qe),v(ze,nt+"._inputRange").set(null);var _t=v(ze,nt).get();_t._inputDomain&&(_t._input.domain=_t._inputDomain.slice())}else qe.match(re)&&v(ze,nt+"._inputDomain").set(null);if(Je==="type"){xt=ft;var It=Re.type==="linear"&&Vt==="log",Lt=Re.type==="log"&&Vt==="linear";if(It||Lt){if(xt&&xt.range)if(Re.autorange)It&&(xt.range=xt.range[1]>xt.range[0]?[1,2]:[2,1]);else{var yt=xt.range[0],Pt=xt.range[1];It?(yt<=0&&Pt<=0&&kt(nt+".autorange",!0),yt<=0?yt=Pt/1e6:Pt<=0&&(Pt=yt/1e6),kt(nt+".range[0]",Math.log(yt)/Math.LN10),kt(nt+".range[1]",Math.log(Pt)/Math.LN10)):(kt(nt+".range[0]",Math.pow(10,yt)),kt(nt+".range[1]",Math.pow(10,Pt)))}else kt(nt+".autorange",!0);Array.isArray(ze._subplots.polar)&&ze._subplots.polar.length&&ze[qt.parts[0]]&&qt.parts[1]==="radialaxis"&&delete ze[qt.parts[0]]._subplot.viewInitial["radialaxis.range"],a.getComponentMethod("annotations","convertCoords")(ae,Re,Vt,kt),a.getComponentMethod("images","convertCoords")(ae,Re,Vt,kt)}else kt(nt+".autorange",!0),kt(nt+".range",null);v(ze,nt+"._inputRange").set(null)}else if(Je.match(A)){var wt=v(ze,Bt).get(),Rt=(Vt||{}).type;Rt&&Rt!=="-"||(Rt="linear"),a.getComponentMethod("annotations","convertCoords")(ae,wt,Rt,kt),a.getComponentMethod("images","convertCoords")(ae,wt,Rt,kt)}var Nt=_.containerArrayMatch(Bt);if(Nt){be=Nt.array,ke=Nt.index;var Yt=Nt.property,Wt=Qe||{editType:"calc"};ke!==""&&Yt===""&&(_.isAddVal(Vt)?Et[Bt]=null:_.isRemoveVal(Vt)?Et[Bt]=(v(Be,be).get()||[])[ke]:M.warn("unrecognized full object value",fe)),x.update(ht,Wt),$e[be]||($e[be]={});var Xt=$e[be][ke];Xt||(Xt=$e[be][ke]={}),Xt[Yt]=Vt,delete fe[Bt]}else Je==="reverse"?(ft.range?ft.range.reverse():(kt(nt+".autorange",!0),ft.range=[1,0]),Re.autorange?ht.calc=!0:ht.plot=!0):(Bt==="dragmode"&&(Vt===!1&&Ne!==!1||Vt!==!1&&Ne===!1)||ze._has("scatter-like")&&ze._has("regl")&&Bt==="dragmode"&&(Vt==="lasso"||Vt==="select")&&Ne!=="lasso"&&Ne!=="select"||ze._has("gl2d")?ht.plot=!0:Qe?x.update(ht,Qe):ht.calc=!0,qt.set(Vt))}}for(be in $e)_.applyContainerArrayChanges(ae,ge(Be,be),$e[be],ht,ge)||(ht.plot=!0);for(var Qt in Ft){var rn=(xt=s.getFromId(ae,Qt))&&xt._constraintGroup;if(rn)for(var xn in ht.calc=!0,rn)Ft[xn]||(s.getFromId(ae,xn)._constraintShrinkable=!0)}return(oe(ae)||fe.height||fe.width)&&(ht.plot=!0),(ht.plot||ht.calc)&&(ht.layoutReplot=!0),{flags:ht,rangesAltered:Ft,undoit:Et,redoit:bt,eventData:Ve}}function oe(ae){var fe=ae._fullLayout,be=fe.width,ke=fe.height;return ae.layout.autosize&&o.plotAutoSize(ae,ae.layout,fe),fe.width!==be||fe.height!==ke}function ue(ae,fe,be,ke){ae=M.getGraphDiv(ae),k.clearPromiseQueue(ae),M.isPlainObject(fe)||(fe={}),M.isPlainObject(be)||(be={}),Object.keys(fe).length&&(ae.changed=!0),Object.keys(be).length&&(ae.changed=!0);var Le=k.coerceTraceIndices(ae,ke),Be=q(ae,M.extendFlat({},fe),Le),ze=Be.flags,je=ie(ae,M.extendFlat({},be)),ge=je.flags;(ze.calc||ge.calc)&&(ae.calcdata=void 0),ze.clearAxisTypes&&k.clearAxisTypes(ae,Le,be);var we=[];ge.layoutReplot?we.push(E.layoutReplot):ze.fullReplot?we.push(p._doPlot):(we.push(o.previousPromises),te(ae,ge,je)||o.supplyDefaults(ae),ze.style&&we.push(E.doTraceStyle),(ze.colorbars||ge.colorbars)&&we.push(E.doColorBars),ge.legend&&we.push(E.doLegend),ge.layoutstyle&&we.push(E.layoutStyles),ge.axrange&&Z(we,je.rangesAltered),ge.ticks&&we.push(E.doTicksRelayout),ge.modebar&&we.push(E.doModeBar),ge.camera&&we.push(E.doCamera),we.push(b)),we.push(o.rehover,o.redrag,o.reselect),l.add(ae,ue,[ae,Be.undoit,je.undoit,Be.traces],ue,[ae,Be.redoit,je.redoit,Be.traces]);var Ee=M.syncOrAsync(we,ae);return Ee&&Ee.then||(Ee=Promise.resolve(ae)),Ee.then(function(){return ae.emit("plotly_update",{data:Be.eventData,layout:je.eventData}),ae})}function ce(ae){return function(fe){fe._fullLayout._guiEditing=!0;var be=ae.apply(null,arguments);return fe._fullLayout._guiEditing=!1,be}}var ye=[{pattern:/^hiddenlabels/,attr:"legend.uirevision"},{pattern:/^((x|y)axis\d*)\.((auto)?range|title\.text)/},{pattern:/axis\d*\.showspikes$/,attr:"modebar.uirevision"},{pattern:/(hover|drag)mode$/,attr:"modebar.uirevision"},{pattern:/^(scene\d*)\.camera/},{pattern:/^(geo\d*)\.(projection|center|fitbounds)/},{pattern:/^(ternary\d*\.[abc]axis)\.(min|title\.text)$/},{pattern:/^(polar\d*\.radialaxis)\.((auto)?range|angle|title\.text)/},{pattern:/^(polar\d*\.angularaxis)\.rotation/},{pattern:/^(mapbox\d*)\.(center|zoom|bearing|pitch)/},{pattern:/^legend\.(x|y)$/,attr:"editrevision"},{pattern:/^(shapes|annotations)/,attr:"editrevision"},{pattern:/^title\.text$/,attr:"editrevision"}],de=[{pattern:/^selectedpoints$/,attr:"selectionrevision"},{pattern:/(^|value\.)visible$/,attr:"legend.uirevision"},{pattern:/^dimensions\[\d+\]\.constraintrange/},{pattern:/^node\.(x|y|groups)/},{pattern:/^level$/},{pattern:/(^|value\.)name$/},{pattern:/colorbar\.title\.text$/},{pattern:/colorbar\.(x|y)$/,attr:"editrevision"}];function me(ae,fe){for(var be=0;be1;)if(ke.pop(),(be=v(fe,ke.join(".")+".uirevision").get())!==void 0)return be;return fe.uirevision}function xe(ae,fe){for(var be=0;be=Le.length?Le[0]:Le[we]:Le}function je(we){return Array.isArray(Be)?we>=Be.length?Be[0]:Be[we]:Be}function ge(we,Ee){var Ve=0;return function(){if(we&&++Ve===Ee)return we()}}return ke._frameWaitingCnt===void 0&&(ke._frameWaitingCnt=0),new Promise(function(we,Ee){function Ve(){ae.emit("plotly_animating"),ke._lastFrameAt=-1/0,ke._timeToNext=0,ke._runningTransitions=0,ke._currentFrame=null;var Bt=function(){ke._animationRaf=window.requestAnimationFrame(Bt),Date.now()-ke._lastFrameAt>ke._timeToNext&&function(){ke._currentFrame&&ke._currentFrame.onComplete&&ke._currentFrame.onComplete();var qt=ke._currentFrame=ke._frameQueue.shift();if(qt){var Vt=qt.name?qt.name.toString():null;ae._fullLayout._currentFrame=Vt,ke._lastFrameAt=Date.now(),ke._timeToNext=qt.frameOpts.duration,o.transition(ae,qt.frame.data,qt.frame.layout,k.coerceTraceIndices(ae,qt.frame.traces),qt.frameOpts,qt.transitionOpts).then(function(){qt.onComplete&&qt.onComplete()}),ae.emit("plotly_animatingframe",{name:Vt,frame:qt.frame,animation:{frame:qt.frameOpts,transition:qt.transitionOpts}})}else ae.emit("plotly_animated"),window.cancelAnimationFrame(ke._animationRaf),ke._animationRaf=null}()};Bt()}var $e,Ye,st=0;function ot(Bt){return Array.isArray(Le)?st>=Le.length?Bt.transitionOpts=Le[st]:Bt.transitionOpts=Le[0]:Bt.transitionOpts=Le,st++,Bt}var ht=[],bt=fe==null,Et=Array.isArray(fe);if(bt||Et||!M.isPlainObject(fe)){if(bt||["string","number"].indexOf(typeof fe)!==-1)for($e=0;$e0&&FtFt)&&Ot.push(Ye);ht=Ot}}ht.length>0?function(Bt){if(Bt.length!==0){for(var qt=0;qt=0;ke--)if(M.isPlainObject(fe[ke])){var $e=fe[ke].name,Ye=(ge[$e]||Ve[$e]||{}).name,st=fe[ke].name,ot=ge[Ye]||Ve[Ye];Ye&&st&&typeof st=="number"&&ot&&L<5&&(L++,M.warn('addFrames: overwriting frame "'+(ge[Ye]||Ve[Ye]).name+'" with a frame whose name of type "number" also equates to "'+Ye+'". This is valid but may potentially lead to unexpected behavior since all plotly.js frame names are stored internally as strings.'),L===5&&M.warn("addFrames: This API call has yielded too many of these warnings. For the rest of this call, further warnings about numeric frame names will be suppressed.")),Ve[$e]={name:$e},Ee.push({frame:o.supplyFrameDefaults(fe[ke]),index:be&&be[ke]!==void 0&&be[ke]!==null?be[ke]:we+ke})}Ee.sort(function(Bt,qt){return Bt.index>qt.index?-1:Bt.index=0;ke--){if(typeof(Le=Ee[ke].frame).name=="number"&&M.warn("Warning: addFrames accepts frames with numeric names, but the numbers areimplicitly cast to strings"),!Le.name)for(;ge[Le.name="frame "+ae._transitionData._counter++];);if(ge[Le.name]){for(Be=0;Be=0;be--)ke=fe[be],Be.push({type:"delete",index:ke}),ze.unshift({type:"insert",index:ke,value:Le[ke]});var je=o.modifyFrames,ge=o.modifyFrames,we=[ae,ze],Ee=[ae,Be];return l&&l.add(ae,je,we,ge,Ee),o.modifyFrames(ae,Be)},p.addTraces=function ae(fe,be,ke){fe=M.getGraphDiv(fe);var Le,Be,ze=[],je=p.deleteTraces,ge=ae,we=[fe,ze],Ee=[fe,be];for(function(Ve,$e,Ye){var st,ot;if(!Array.isArray(Ve.data))throw new Error("gd.data must be an array.");if($e===void 0)throw new Error("traces must be defined.");for(Array.isArray($e)||($e=[$e]),st=0;st<$e.length;st++)if(typeof(ot=$e[st])!="object"||Array.isArray(ot)||ot===null)throw new Error("all values in traces array must be non-array objects");if(Ye===void 0||Array.isArray(Ye)||(Ye=[Ye]),Ye!==void 0&&Ye.length!==$e.length)throw new Error("if indices is specified, traces.length must equal indices.length")}(fe,be,ke),Array.isArray(be)||(be=[be]),be=be.map(function(Ve){return M.extendFlat({},Ve)}),k.cleanData(be),Le=0;Le=0&&Ve<$e.length?$e.splice(0,$e.length-Ve):[];return[$e,Ye]}var ze=N(fe=M.getGraphDiv(fe),be,ke,Le,Be),je=p.redraw(fe),ge=[fe,ze.update,ke,ze.maxPoints];return l.add(fe,p.prependTraces,ge,ae,arguments),je},p.moveTraces=function ae(fe,be,ke){var Le,Be=[],ze=[],je=ae,ge=ae,we=[fe=M.getGraphDiv(fe),ke,be],Ee=[fe,be,ke];if(B(fe,be,ke),be=Array.isArray(be)?be:[be],ke===void 0)for(ke=[],Le=0;Le=0&&Ve<$e.length?$e.splice(Ve,$e.length):[];return[$e,Ye]}var ze=N(fe=M.getGraphDiv(fe),be,ke,Le,Be),je=p.redraw(fe),ge=[fe,ze.update,ke,ze.maxPoints];return l.add(fe,p.extendTraces,ge,ae,arguments),je},p.newPlot=function(ae,fe,be,ke){return ae=M.getGraphDiv(ae),o.cleanPlot([],{},ae._fullData||[],ae._fullLayout||{}),o.purge(ae),p._doPlot(ae,fe,be,ke)},p._doPlot=function(ae,fe,be,ke){var Le;if(ae=M.getGraphDiv(ae),f.init(ae),M.isPlainObject(fe)){var Be=fe;fe=Be.data,be=Be.layout,ke=Be.config,Le=Be.frames}if(f.triggerHandler(ae,"plotly_beforeplot",[fe,be,ke])===!1)return Promise.reject();fe||be||M.isPlotDiv(ae)||M.warn("Calling _doPlot as if redrawing but this container doesn't yet have a plot.",ae),O(ae,ke),be||(be={}),d.select(ae).classed("js-plotly-plot",!0),h.makeTester(),Array.isArray(ae._promises)||(ae._promises=[]);var ze=(ae.data||[]).length===0&&Array.isArray(fe);Array.isArray(fe)&&(k.cleanData(fe),ze?ae.data=fe:ae.data.push.apply(ae.data,fe),ae.empty=!1),ae.layout&&!ze||(ae.layout=k.cleanLayout(be)),o.supplyDefaults(ae);var je=ae._fullLayout,ge=je._has("cartesian");je._replotting=!0,(ze||je._shouldCreateBgLayer)&&(function(bt){var Et=d.select(bt),kt=bt._fullLayout;if(kt._calcInverseTransform=Ce,kt._calcInverseTransform(bt),kt._container=Et.selectAll(".plot-container").data([0]),kt._container.enter().insert("div",":first-child").classed("plot-container",!0).classed("plotly",!0),kt._paperdiv=kt._container.selectAll(".svg-container").data([0]),kt._paperdiv.enter().append("div").classed("user-select-none",!0).classed("svg-container",!0).style("position","relative"),kt._glcontainer=kt._paperdiv.selectAll(".gl-container").data([{}]),kt._glcontainer.enter().append("div").classed("gl-container",!0),kt._paperdiv.selectAll(".main-svg").remove(),kt._paperdiv.select(".modebar-container").remove(),kt._paper=kt._paperdiv.insert("svg",":first-child").classed("main-svg",!0),kt._toppaper=kt._paperdiv.append("svg").classed("main-svg",!0),kt._modebardiv=kt._paperdiv.append("div"),delete kt._modeBar,kt._hoverpaper=kt._paperdiv.append("svg").classed("main-svg",!0),!kt._uid){var xt={};d.selectAll("defs").each(function(){this.id&&(xt[this.id.split("-")[1]]=1)}),kt._uid=M.randstr(xt)}kt._paperdiv.selectAll(".main-svg").attr(w.svgAttrs),kt._defs=kt._paper.append("defs").attr("id","defs-"+kt._uid),kt._clips=kt._defs.append("g").classed("clips",!0),kt._topdefs=kt._toppaper.append("defs").attr("id","topdefs-"+kt._uid),kt._topclips=kt._topdefs.append("g").classed("clips",!0),kt._bgLayer=kt._paper.append("g").classed("bglayer",!0),kt._draggers=kt._paper.append("g").classed("draglayer",!0);var Ft=kt._paper.append("g").classed("layer-below",!0);kt._imageLowerLayer=Ft.append("g").classed("imagelayer",!0),kt._shapeLowerLayer=Ft.append("g").classed("shapelayer",!0),kt._cartesianlayer=kt._paper.append("g").classed("cartesianlayer",!0),kt._polarlayer=kt._paper.append("g").classed("polarlayer",!0),kt._smithlayer=kt._paper.append("g").classed("smithlayer",!0),kt._ternarylayer=kt._paper.append("g").classed("ternarylayer",!0),kt._geolayer=kt._paper.append("g").classed("geolayer",!0),kt._funnelarealayer=kt._paper.append("g").classed("funnelarealayer",!0),kt._pielayer=kt._paper.append("g").classed("pielayer",!0),kt._iciclelayer=kt._paper.append("g").classed("iciclelayer",!0),kt._treemaplayer=kt._paper.append("g").classed("treemaplayer",!0),kt._sunburstlayer=kt._paper.append("g").classed("sunburstlayer",!0),kt._indicatorlayer=kt._toppaper.append("g").classed("indicatorlayer",!0),kt._glimages=kt._paper.append("g").classed("glimages",!0);var Ot=kt._toppaper.append("g").classed("layer-above",!0);kt._imageUpperLayer=Ot.append("g").classed("imagelayer",!0),kt._shapeUpperLayer=Ot.append("g").classed("shapelayer",!0),kt._selectionLayer=kt._toppaper.append("g").classed("selectionlayer",!0),kt._infolayer=kt._toppaper.append("g").classed("infolayer",!0),kt._menulayer=kt._toppaper.append("g").classed("menulayer",!0),kt._zoomlayer=kt._toppaper.append("g").classed("zoomlayer",!0),kt._hoverlayer=kt._hoverpaper.append("g").classed("hoverlayer",!0),kt._modebardiv.classed("modebar-container",!0).style("position","absolute").style("top","0px").style("right","0px"),bt.emit("plotly_framework")}(ae),je._shouldCreateBgLayer&&delete je._shouldCreateBgLayer),h.initGradients(ae),h.initPatterns(ae),ze&&s.saveShowSpikeInitial(ae);var we=!ae.calcdata||ae.calcdata.length!==(ae._fullData||[]).length;we&&o.doCalcdata(ae);for(var Ee=0;Ee=F.length)return!1;if(b.dimensions===2){if(I++,R.length===I)return b;var B=R[I];if(!k(B))return!1;b=F[z][B]}else b=F[z]}else b=F}}return b}function k(b){return b===Math.round(b)&&b>=0}function E(){var b,R,I={};for(b in u(I,M),d.subplotsRegistry)if((R=d.subplotsRegistry[b]).layoutAttributes)if(Array.isArray(R.attr))for(var O=0;O=B.length)return!1;O=(I=(d.transformsRegistry[B[N].type]||{}).attributes)&&I[R[2]],F=3}else{var W=b._module;if(W||(W=(d.modules[b.type||i.type.dflt]||{})._module),!W)return!1;if(!(O=(I=W.attributes)&&I[z])){var j=W.basePlotModule;j&&j.attributes&&(O=j.attributes[z])}O||(O=i[z])}return _(O,R,F)},p.getLayoutValObject=function(b,R){var I=function(O,z){var F,B,N,W,j=O._basePlotModules;if(j){var $;for(F=0;F=u&&(a._input||{})._templateitemname;s&&(o=u);var h,c=l+"["+o+"]";function m(){h={},s&&(h[c]={},h[c].templateitemname=s)}function w(C,_){s?d.nestedProperty(h[c],C).set(_):h[c+"."+C]=_}function y(){var C=h;return m(),C}return m(),{modifyBase:function(C,_){h[C]=_},modifyItem:w,getUpdateObj:y,applyUpdate:function(C,_){C&&w(C,_);var k=y();for(var E in k)d.nestedProperty(f,E).set(k[E])}}}},61549:function(T,p,t){var d=t(39898),g=t(73972),i=t(74875),M=t(71828),v=t(63893),f=t(33306),l=t(7901),a=t(91424),u=t(92998),o=t(64168),s=t(89298),h=t(18783),c=t(99082),m=c.enforce,w=c.clean,y=t(71739).doAutoRange,C="start";function _(L,b,R){for(var I=0;I=L[1]||O[1]<=L[0])&&z[0]b[0])return!0}return!1}function k(L){var b,R,I,O,z,F,B=L._fullLayout,N=B._size,W=N.p,j=s.list(L,"",!0);if(B._paperdiv.style({width:L._context.responsive&&B.autosize&&!L._context._hasZeroWidth&&!L.layout.width?"100%":B.width+"px",height:L._context.responsive&&B.autosize&&!L._context._hasZeroHeight&&!L.layout.height?"100%":B.height+"px"}).selectAll(".main-svg").call(a.setSize,B.width,B.height),L._context.setBackground(L,B.paper_bgcolor),p.drawMainTitle(L),o.manage(L),!B._has("cartesian"))return i.previousPromises(L);function $(Ve,$e,Ye){var st=Ve._lw/2;return Ve._id.charAt(0)==="x"?$e?Ye==="top"?$e._offset-W-st:$e._offset+$e._length+W+st:N.t+N.h*(1-(Ve.position||0))+st%1:$e?Ye==="right"?$e._offset+$e._length+W+st:$e._offset-W-st:N.l+N.w*(Ve.position||0)+st%1}for(b=0;b.5?"t":"b",te=$._fullLayout.margin[ne],Z=0;return U.yref==="paper"?Z=G+U.pad.t+U.pad.b:U.yref==="container"&&(Z=function(X,Q,re,ie,oe){var ue=0;return re==="middle"&&(ue+=oe/2),X==="t"?(re==="top"&&(ue+=oe),ue+=ie-Q*ie):(re==="bottom"&&(ue+=oe),ue+=Q*ie),ue}(ne,q,H,$._fullLayout.height,G)+U.pad.t+U.pad.b),Z>te?Z:0}(L,R,W);j>0&&(function($,U,G,q){var H="title.automargin",ne=$._fullLayout.title,te=ne.y>.5?"t":"b",Z={x:ne.x,y:ne.y,t:0,b:0},X={};ne.yref==="paper"&&function(Q,re,ie,oe,ue){var ce=re.yref==="paper"?Q._fullLayout._size.h:Q._fullLayout.height,ye=M.isTopAnchor(re)?oe:oe-ue,de=ie==="b"?ce-ye:ye;return!(M.isTopAnchor(re)&&ie==="t"||M.isBottomAnchor(re)&&ie==="b")&&deN?A.push({code:"unused",traceType:I,templateCount:B,dataCount:N}):N>B&&A.push({code:"reused",traceType:I,templateCount:B,dataCount:N})}}else A.push({code:"data"});if(function W(j,$){for(var U in j)if(U.charAt(0)!=="_"){var G=j[U],q=c(j,U,$);g(G)?(Array.isArray(j)&&G._template===!1&&G.templateitemname&&A.push({code:"missing",path:q,templateitemname:G.templateitemname}),W(G,q)):Array.isArray(G)&&m(G)&&W(G,q)}}({data:b,layout:L},""),A.length)return A.map(w)}},403:function(T,p,t){var d=t(92770),g=t(72391),i=t(74875),M=t(71828),v=t(25095),f=t(5900),l=t(70942),a=t(11506).version,u={format:{valType:"enumerated",values:["png","jpeg","webp","svg","full-json"],dflt:"png"},width:{valType:"number",min:1},height:{valType:"number",min:1},scale:{valType:"number",min:0,dflt:1},setBackground:{valType:"any",dflt:!1},imageDataOnly:{valType:"boolean",dflt:!1}};T.exports=function(o,s){var h,c,m,w;function y(N){return!(N in s)||M.validate(s[N],u[N])}if(s=s||{},M.isPlainObject(o)?(h=o.data||[],c=o.layout||{},m=o.config||{},w={}):(o=M.getGraphDiv(o),h=M.extendDeep([],o.data),c=M.extendDeep({},o.layout),m=o._context,w=o._fullLayout||{}),!y("width")&&s.width!==null||!y("height")&&s.height!==null)throw new Error("Height and width should be pixel values.");if(!y("format"))throw new Error("Export format is not "+M.join2(u.format.values,", "," or ")+".");var C={};function _(N,W){return M.coerce(s,C,u,N,W)}var k=_("format"),E=_("width"),x=_("height"),A=_("scale"),L=_("setBackground"),b=_("imageDataOnly"),R=document.createElement("div");R.style.position="absolute",R.style.left="-5000px",document.body.appendChild(R);var I=M.extendFlat({},c);E?I.width=E:s.width===null&&d(w.width)&&(I.width=w.width),x?I.height=x:s.height===null&&d(w.height)&&(I.height=w.height);var O=M.extendFlat({},m,{_exportedPlot:!0,staticPlot:!0,setBackground:L}),z=v.getRedrawFunc(R);function F(){return new Promise(function(N){setTimeout(N,v.getDelay(R._fullLayout))})}function B(){return new Promise(function(N,W){var j=f(R,k,A),$=R._fullLayout.width,U=R._fullLayout.height;function G(){g.purge(R),document.body.removeChild(R)}if(k==="full-json"){var q=i.graphJson(R,!1,"keepdata","object",!0,!0);return q.version=a,q=JSON.stringify(q),G(),N(b?q:v.encodeJSON(q))}if(G(),k==="svg")return N(b?j:v.encodeSVG(j));var H=document.createElement("canvas");H.id=M.randstr(),l({format:k,width:$,height:U,scale:A,canvas:H,svg:j,promise:!0}).then(N).catch(W)})}return new Promise(function(N,W){g.newPlot(R,h,I,O).then(z).then(F).then(B).then(function(j){N(function($){return b?$.replace(v.IMAGE_URL_PREFIX,""):$}(j))}).catch(function(j){W(j)})})}},84936:function(T,p,t){var d=t(71828),g=t(74875),i=t(86281),M=t(72075).dfltConfig,v=d.isPlainObject,f=Array.isArray,l=d.isArrayOrTypedArray;function a(C,_,k,E,x,A){A=A||[];for(var L=Object.keys(C),b=0;bz.length&&E.push(h("unused",x,I.concat(z.length)));var $,U,G,q,H,ne=z.length,te=Array.isArray(j);if(te&&(ne=Math.min(ne,j.length)),F.dimensions===2)for(U=0;Uz[U].length&&E.push(h("unused",x,I.concat(U,z[U].length)));var Z=z[U].length;for($=0;$<(te?Math.min(Z,j[U].length):Z);$++)G=te?j[U][$]:j,q=O[U][$],H=z[U][$],d.validate(q,G)?H!==q&&H!==+q&&E.push(h("dynamic",x,I.concat(U,$),q,H)):E.push(h("value",x,I.concat(U,$),q))}else E.push(h("array",x,I.concat(U),O[U]));else for(U=0;U1&&A.push(h("object","layout"))),g.supplyDefaults(L);for(var b=L._fullData,R=k.length,I=0;I0&&Math.round(c)===c))return{vals:u};s=c}for(var m=l.calendar,w=o==="start",y=o==="end",C=f[a+"period0"],_=i(C,m)||0,k=[],E=[],x=[],A=u.length,L=0;LO;)I=M(I,-s,m);for(;I<=O;)I=M(I,s,m);R=M(I,-s,m)}else{for(I=_+(b=Math.round((O-_)/h))*h;I>O;)I-=h;for(;I<=O;)I+=h;R=I-h}k[L]=w?R:y?I:(R+I)/2,E[L]=R,x[L]=I}return{vals:k,starts:E,ends:x}}},89502:function(T){T.exports={xaxis:{valType:"subplotid",dflt:"x",editType:"calc+clearAxisTypes"},yaxis:{valType:"subplotid",dflt:"y",editType:"calc+clearAxisTypes"}}},71739:function(T,p,t){var d=t(39898),g=t(92770),i=t(71828),M=t(50606).FP_SAFE,v=t(73972),f=t(91424),l=t(41675),a=l.getFromId,u=l.isLinked;function o(E,x){var A,L,b=[],R=E._fullLayout,I=h(R,x,0),O=h(R,x,1),z=c(E,x),F=z.min,B=z.max;if(F.length===0||B.length===0)return i.simpleMap(x.range,x.r2l);var N=F[0].val,W=B[0].val;for(A=1;A0&&((ne=re-I(U)-O(G))>ie?te/ne>oe&&(q=U,H=G,oe=te/ne):te/re>oe&&(q={val:U.val,nopad:1},H={val:G.val,nopad:1},oe=te/re));if(N===W){var ue=N-1,ce=N+1;if(X)if(N===0)b=[0,1];else{var ye=(N>0?B:F).reduce(function(me,pe){return Math.max(me,O(pe))},0),de=N/(1-Math.min(.5,ye/re));b=N>0?[0,de]:[de,0]}else b=Q?[Math.max(0,ue),Math.max(1,ce)]:[ue,ce]}else X?(q.val>=0&&(q={val:0,nopad:1}),H.val<=0&&(H={val:0,nopad:1})):Q&&(q.val-oe*I(q)<0&&(q={val:0,nopad:1}),H.val<=0&&(H={val:1,nopad:1})),oe=(H.val-q.val-s(x,U.val,G.val))/(re-I(q)-O(H)),b=[q.val-oe*I(q),H.val+oe*O(H)];return j&&b.reverse(),i.simpleMap(b,x.l2r||Number)}function s(E,x,A){var L=0;if(E.rangebreaks)for(var b=E.locateBreaks(x,A),R=0;R=A&&(F.extrapad||!I)){O=!1;break}b(x,F.val)&&F.pad<=A&&(I||!F.extrapad)&&(E.splice(z,1),z--)}if(O){var B=R&&x===0;E.push({val:x,pad:B?0:A,extrapad:!B&&I})}}function C(E){return g(E)&&Math.abs(E)=x}T.exports={getAutoRange:o,makePadFn:h,doAutoRange:function(E,x,A){if(x.setScale(),x.autorange){x.range=A?A.slice():o(E,x),x._r=x.range.slice(),x._rl=i.simpleMap(x._r,x.r2l);var L=x._input,b={};b[x._attr+".range"]=x.range,b[x._attr+".autorange"]=x.autorange,v.call("_storeDirectGUIEdit",E.layout,E._fullLayout._preGUI,b),L.range=x.range.slice(),L.autorange=x.autorange}var R=x._anchorAxis;if(R&&R.rangeslider){var I=R.rangeslider[x._name];I&&I.rangemode==="auto"&&(I.range=o(E,x)),R._input.rangeslider[x._name]=i.extendFlat({},I)}},findExtremes:function(E,x,A){A||(A={}),E._m||E.setScale();var L,b,R,I,O,z,F,B,N,W=[],j=[],$=x.length,U=A.padded||!1,G=A.tozero&&(E.type==="linear"||E.type==="-"),q=E.type==="log",H=!1,ne=A.vpadLinearized||!1;function te(ce){if(Array.isArray(ce))return H=!0,function(de){return Math.max(Number(ce[de]||0),0)};var ye=Math.max(Number(ce||0),0);return function(){return ye}}var Z=te((E._m>0?A.ppadplus:A.ppadminus)||A.ppad||0),X=te((E._m>0?A.ppadminus:A.ppadplus)||A.ppad||0),Q=te(A.vpadplus||A.vpad),re=te(A.vpadminus||A.vpad);if(!H){if(B=1/0,N=-1/0,q)for(L=0;L<$;L++)(b=x[L])0&&(B=b),b>N&&b-M&&(B=b),b>N&&b=ue;L--)oe(L);return{min:W,max:j,opts:A}},concatExtremes:c}},89298:function(T,p,t){var d=t(39898),g=t(92770),i=t(74875),M=t(73972),v=t(71828),f=v.strTranslate,l=t(63893),a=t(92998),u=t(7901),o=t(91424),s=t(13838),h=t(66287),c=t(50606),m=c.ONEMAXYEAR,w=c.ONEAVGYEAR,y=c.ONEMINYEAR,C=c.ONEMAXQUARTER,_=c.ONEAVGQUARTER,k=c.ONEMINQUARTER,E=c.ONEMAXMONTH,x=c.ONEAVGMONTH,A=c.ONEMINMONTH,L=c.ONEWEEK,b=c.ONEDAY,R=b/2,I=c.ONEHOUR,O=c.ONEMIN,z=c.ONESEC,F=c.MINUS_SIGN,B=c.BADNUM,N={K:"zeroline"},W={K:"gridline",L:"path"},j={K:"minor-gridline",L:"path"},$={K:"tick",L:"path"},U={K:"tick",L:"text"},G={width:["x","r","l","xl","xr"],height:["y","t","b","yt","yb"],right:["r","xr"],left:["l","xl"],top:["t","yt"],bottom:["b","yb"]},q=t(18783),H=q.MID_SHIFT,ne=q.CAP_SHIFT,te=q.LINE_SPACING,Z=q.OPPOSITE_SIDE,X=T.exports={};X.setConvert=t(21994);var Q=t(4322),re=t(41675),ie=re.idSort,oe=re.isLinked;X.id2name=re.id2name,X.name2id=re.name2id,X.cleanId=re.cleanId,X.list=re.list,X.listIds=re.listIds,X.getFromId=re.getFromId,X.getFromTrace=re.getFromTrace;var ue=t(71739);function ce(Re){var Ne=1e-4*(Re[1]-Re[0]);return[Re[0]-Ne,Re[1]+Ne]}X.getAutoRange=ue.getAutoRange,X.findExtremes=ue.findExtremes,X.coerceRef=function(Re,Ne,Qe,ut,dt,_t){var It=ut.charAt(ut.length-1),Lt=Qe._fullLayout._subplots[It+"axis"],yt=ut+"ref",Pt={};return dt||(dt=Lt[0]||(typeof _t=="string"?_t:_t[0])),_t||(_t=dt),Lt=Lt.concat(Lt.map(function(wt){return wt+" domain"})),Pt[yt]={valType:"enumerated",values:Lt.concat(_t?typeof _t=="string"?[_t]:_t:[]),dflt:dt},v.coerce(Re,Ne,Pt,yt)},X.getRefType=function(Re){return Re===void 0?Re:Re==="paper"?"paper":Re==="pixel"?"pixel":/( domain)$/.test(Re)?"domain":"range"},X.coercePosition=function(Re,Ne,Qe,ut,dt,_t){var It,Lt;if(X.getRefType(ut)!=="range")It=v.ensureNumber,Lt=Qe(dt,_t);else{var yt=X.getFromId(Ne,ut);Lt=Qe(dt,_t=yt.fraction2r(_t)),It=yt.cleanPos}Re[dt]=It(Lt)},X.cleanPosition=function(Re,Ne,Qe){return(Qe==="paper"||Qe==="pixel"?v.ensureNumber:X.getFromId(Ne,Qe).cleanPos)(Re)},X.redrawComponents=function(Re,Ne){Ne=Ne||X.listIds(Re);var Qe=Re._fullLayout;function ut(dt,_t,It,Lt){for(var yt=M.getComponentMethod(dt,_t),Pt={},wt=0;wtQe&&wt2e-6||((Qe-Re._forceTick0)/Re._minDtick%1+1.000001)%1>2e-6)&&(Re._minDtick=0)):Re._minDtick=0},X.saveRangeInitial=function(Re,Ne){for(var Qe=X.list(Re,"",!0),ut=!1,dt=0;dt.3*Dn||dn(un)||dn(An))){var In=xn.dtick/2;Qt+=Qt+In.8){var kn=Number(xn.substr(1));Yn.exactYears>.8&&kn%12==0?Qt=X.tickIncrement(Qt,"M6","reverse")+1.5*b:Yn.exactMonths>.8?Qt=X.tickIncrement(Qt,"M1","reverse")+15.5*b:Qt-=R;var sn=X.tickIncrement(Qt,xn);if(sn<=un)return sn}return Qt}(Xt,Re,Wt,Lt,dt)),Yt=Xt;Yt<=yt;)Yt=X.tickIncrement(Yt,Wt,!1,dt);return{start:Ne.c2r(Xt,0,dt),end:Ne.c2r(Yt,0,dt),size:Wt,_dataSpan:yt-Lt}},X.prepMinorTicks=function(Re,Ne,Qe){if(!Ne.minor.dtick){delete Re.dtick;var ut,dt=Ne.dtick&&g(Ne._tmin);if(dt){var _t=X.tickIncrement(Ne._tmin,Ne.dtick,!0);ut=[Ne._tmin,.99*_t+.01*Ne._tmin]}else{var It=v.simpleMap(Ne.range,Ne.r2l);ut=[It[0],.8*It[0]+.2*It[1]]}if(Re.range=v.simpleMap(ut,Ne.l2r),Re._isMinor=!0,X.prepTicks(Re,Qe),dt){var Lt=g(Ne.dtick),yt=g(Re.dtick),Pt=Lt?Ne.dtick:+Ne.dtick.substring(1),wt=yt?Re.dtick:+Re.dtick.substring(1);Lt&&yt?pe(Pt,wt)?Pt===2*L&&wt===2*b&&(Re.dtick=L):Pt===2*L&&wt===3*b?Re.dtick=L:Pt!==L||(Ne._input.minor||{}).nticks?xe(Pt/wt,2.5)?Re.dtick=Pt/2:Re.dtick=Pt:Re.dtick=b:String(Ne.dtick).charAt(0)==="M"?yt?Re.dtick="M1":pe(Pt,wt)?Pt>=12&&wt===2&&(Re.dtick="M3"):Re.dtick=Ne.dtick:String(Re.dtick).charAt(0)==="L"?String(Ne.dtick).charAt(0)==="L"?pe(Pt,wt)||(Re.dtick=xe(Pt/wt,2.5)?Ne.dtick/2:Ne.dtick):Re.dtick="D1":Re.dtick==="D2"&&+Ne.dtick>1&&(Re.dtick=1)}Re.range=Ne.range}Ne.minor._tick0Init===void 0&&(Re.tick0=Ne.tick0)},X.prepTicks=function(Re,Ne){var Qe=v.simpleMap(Re.range,Re.r2l,void 0,void 0,Ne);if(Re.tickmode==="auto"||!Re.dtick){var ut,dt=Re.nticks;dt||(Re.type==="category"||Re.type==="multicategory"?(ut=Re.tickfont?v.bigFont(Re.tickfont.size||12):15,dt=Re._length/ut):(ut=Re._id.charAt(0)==="y"?40:80,dt=v.constrain(Re._length/ut,4,9)+1),Re._name==="radialaxis"&&(dt*=2)),Re.minor&&Re.minor.tickmode!=="array"||Re.tickmode==="array"&&(dt*=100),Re._roughDTick=Math.abs(Qe[1]-Qe[0])/dt,X.autoTicks(Re,Re._roughDTick),Re._minDtick>0&&Re.dtick<2*Re._minDtick&&(Re.dtick=Re._minDtick,Re.tick0=Re.l2r(Re._forceTick0))}Re.ticklabelmode==="period"&&function(_t){var It;function Lt(){return!(g(_t.dtick)||_t.dtick.charAt(0)!=="M")}var yt=Lt(),Pt=X.getTickFormat(_t);if(Pt){var wt=_t._dtickInit!==_t.dtick;/%[fLQsSMX]/.test(Pt)||(/%[HI]/.test(Pt)?(It=I,wt&&!yt&&_t.dtick=(rn?0:1);xn--){var un=!xn;xn?(Re._dtickInit=Re.dtick,Re._tick0Init=Re.tick0):(Re.minor._dtickInit=Re.minor.dtick,Re.minor._tick0Init=Re.minor.tick0);var An=xn?Re:v.extendFlat({},Re,Re.minor);if(un?X.prepMinorTicks(An,Re,Ne):X.prepTicks(An,Ne),An.tickmode!=="array")if(An.tickmode!=="sync"){var Yn=ce(yt),kn=Yn[0],sn=Yn[1],Tn=g(An.dtick),dn=dt==="log"&&!(Tn||An.dtick.charAt(0)==="L"),pn=X.tickFirst(An,Ne);if(xn){if(Re._tmin=pn,pn=sn:Gn<=sn;Gn=X.tickIncrement(Gn,qn,Pt,_t)){if(xn&&Dn++,An.rangebreaks&&!Pt){if(Gn=Rt)break}if(Xt.length>Nt||Gn===jn)break;jn=Gn;var lr={value:Gn};xn?(dn&&Gn!==(0|Gn)&&(lr.simpleLabel=!0),It>1&&Dn%It&&(lr.skipLabel=!0),Xt.push(lr)):(lr.minor=!0,Qt.push(lr))}}else Xt=[],Yt=Me(Re);else xn?(Xt=[],Yt=Se(Re)):(Qt=[],Wt=Se(Re))}if(rn&&!(Re.minor.ticks==="inside"&&Re.ticks==="outside"||Re.minor.ticks==="outside"&&Re.ticks==="inside")){for(var rr=Xt.map(function(Pn){return Pn.value}),Sr=[],yr=0;yr0?(On=hn-1,En=hn):(On=hn,En=hn);var mn,wn=Pn[On].value,gn=Pn[En].value,yn=Math.abs(gn-wn),Sn=Jt||yn,Vn=0;Sn>=y?Vn=yn>=y&&yn<=m?yn:w:Jt===_&&Sn>=k?Vn=yn>=k&&yn<=C?yn:_:Sn>=A?Vn=yn>=A&&yn<=E?yn:x:Jt===L&&Sn>=L?Vn=L:Sn>=b?Vn=b:Jt===R&&Sn>=R?Vn=R:Jt===I&&Sn>=I&&(Vn=I),Vn>=yn&&(Vn=yn,mn=!0);var Xn=zn+Vn;if(jt.rangebreaks&&Vn>0){for(var nr=0,Qn=0;Qn<84;Qn++){var hr=(Qn+.5)/84;jt.maskBreaks(zn*(1-hr)+hr*Xn)!==B&&nr++}(Vn*=nr/84)||(Pn[hn].drop=!0),mn&&yn>L&&(Vn=yn)}(Vn>0||hn===0)&&(Pn[hn].periodX=zn+Vn/2)}}(Xt,Re,Re._definedDelta),Re.rangebreaks){var bn=Re._id.charAt(0)==="y",Rn=1;Re.tickmode==="auto"&&(Rn=Re.tickfont?Re.tickfont.size:12);var Ln=NaN;for(Qe=Xt.length-1;Qe>-1;Qe--)if(Xt[Qe].drop)Xt.splice(Qe,1);else{Xt[Qe].value=Je(Xt[Qe].value,Re);var Un=Re.c2p(Xt[Qe].value);(bn?Ln>Un-Rn:LnRt||$nRt&&(Kn.periodX=Rt),$n10||ut.substr(5)!=="01-01"?Re._tickround="d":Re._tickround=+Ne.substr(1)%12==0?"y":"m";else if(Ne>=b&&dt<=10||Ne>=15*b)Re._tickround="d";else if(Ne>=O&&dt<=16||Ne>=I)Re._tickround="M";else if(Ne>=z&&dt<=19||Ne>=O)Re._tickround="S";else{var _t=Re.l2r(Qe+Ne).replace(/^-/,"").length;Re._tickround=Math.max(dt,_t)-20,Re._tickround<0&&(Re._tickround=4)}}else if(g(Ne)||Ne.charAt(0)==="L"){var It=Re.range.map(Re.r2d||Number);g(Ne)||(Ne=Number(Ne.substr(1))),Re._tickround=2-Math.floor(Math.log(Ne)/Math.LN10+.01);var Lt=Math.max(Math.abs(It[0]),Math.abs(It[1])),yt=Math.floor(Math.log(Lt)/Math.LN10+.01),Pt=Re.minexponent===void 0?3:Re.minexponent;Math.abs(yt)>Pt&&(Ee(Re.exponentformat)&&!Ve(yt)?Re._tickexponent=3*Math.round((yt-1)/3):Re._tickexponent=yt)}else Re._tickround=null}function ge(Re,Ne,Qe){var ut=Re.tickfont||{};return{x:Ne,dx:0,dy:0,text:Qe||"",fontSize:ut.size,font:ut.family,fontColor:ut.color}}X.autoTicks=function(Re,Ne,Qe){var ut;function dt(Rt){return Math.pow(Rt,Math.floor(Math.log(Ne)/Math.LN10))}if(Re.type==="date"){Re.tick0=v.dateTick0(Re.calendar,0);var _t=2*Ne;if(_t>w)Ne/=w,ut=dt(10),Re.dtick="M"+12*ze(Ne,ut,Ce);else if(_t>x)Ne/=x,Re.dtick="M"+ze(Ne,1,ae);else if(_t>b){if(Re.dtick=ze(Ne,b,Re._hasDayOfWeekBreaks?[1,2,7,14]:be),!Qe){var It=X.getTickFormat(Re),Lt=Re.ticklabelmode==="period";Lt&&(Re._rawTick0=Re.tick0),/%[uVW]/.test(It)?Re.tick0=v.dateTick0(Re.calendar,2):Re.tick0=v.dateTick0(Re.calendar,1),Lt&&(Re._dowTick0=Re.tick0)}}else _t>I?Re.dtick=ze(Ne,I,ae):_t>O?Re.dtick=ze(Ne,O,fe):_t>z?Re.dtick=ze(Ne,z,fe):(ut=dt(10),Re.dtick=ze(Ne,ut,Ce))}else if(Re.type==="log"){Re.tick0=0;var yt=v.simpleMap(Re.range,Re.r2l);if(Re._isMinor&&(Ne*=1.5),Ne>.7)Re.dtick=Math.ceil(Ne);else if(Math.abs(yt[1]-yt[0])<1){var Pt=1.5*Math.abs((yt[1]-yt[0])/Ne);Ne=Math.abs(Math.pow(10,yt[1])-Math.pow(10,yt[0]))/Pt,ut=dt(10),Re.dtick="L"+ze(Ne,ut,Ce)}else Re.dtick=Ne>.3?"D2":"D1"}else Re.type==="category"||Re.type==="multicategory"?(Re.tick0=0,Re.dtick=Math.ceil(Math.max(Ne,1))):Ke(Re)?(Re.tick0=0,ut=1,Re.dtick=ze(Ne,ut,Be)):(Re.tick0=0,ut=dt(10),Re.dtick=ze(Ne,ut,Ce));if(Re.dtick===0&&(Re.dtick=1),!g(Re.dtick)&&typeof Re.dtick!="string"){var wt=Re.dtick;throw Re.dtick=1,"ax.dtick error: "+String(wt)}},X.tickIncrement=function(Re,Ne,Qe,ut){var dt=Qe?-1:1;if(g(Ne))return v.increment(Re,dt*Ne);var _t=Ne.charAt(0),It=dt*Number(Ne.substr(1));if(_t==="M")return v.incrementMonth(Re,It,ut);if(_t==="L")return Math.log(Math.pow(10,Re)+It)/Math.LN10;if(_t==="D"){var Lt=Ne==="D2"?Le:ke,yt=Re+.01*dt,Pt=v.roundUp(v.mod(yt,1),Lt,Qe);return Math.floor(yt)+Math.log(d.round(Math.pow(10,Pt),1))/Math.LN10}throw"unrecognized dtick "+String(Ne)},X.tickFirst=function(Re,Ne){var Qe=Re.r2l||Number,ut=v.simpleMap(Re.range,Qe,void 0,void 0,Ne),dt=ut[1] ")}else Qt._prevDateHead=kn,sn+="
"+kn;rn.text=sn}(Re,_t,Qe,Lt):yt==="log"?function(Qt,rn,xn,un,An){var Yn=Qt.dtick,kn=rn.x,sn=Qt.tickformat,Tn=typeof Yn=="string"&&Yn.charAt(0);if(An==="never"&&(An=""),un&&Tn!=="L"&&(Yn="L3",Tn="L"),sn||Tn==="L")rn.text=$e(Math.pow(10,kn),Qt,An,un);else if(g(Yn)||Tn==="D"&&v.mod(kn+.01,1)<.1){var dn=Math.round(kn),pn=Math.abs(dn),Dn=Qt.exponentformat;Dn==="power"||Ee(Dn)&&Ve(dn)?(rn.text=dn===0?1:dn===1?"10":"10"+(dn>1?"":F)+pn+"",rn.fontSize*=1.25):(Dn==="e"||Dn==="E")&&pn>2?rn.text="1"+Dn+(dn>0?"+":F)+pn:(rn.text=$e(Math.pow(10,kn),Qt,"","fakehover"),Yn==="D1"&&Qt._id.charAt(0)==="y"&&(rn.dy-=rn.fontSize/6))}else{if(Tn!=="D")throw"unrecognized dtick "+String(Yn);rn.text=String(Math.round(Math.pow(10,v.mod(kn,1)))),rn.fontSize*=.75}if(Qt.dtick==="D1"){var In=String(rn.text).charAt(0);In!=="0"&&In!=="1"||(Qt._id.charAt(0)==="y"?rn.dx-=rn.fontSize/4:(rn.dy+=rn.fontSize/2,rn.dx+=(Qt.range[1]>Qt.range[0]?1:-1)*rn.fontSize*(kn<0?.5:.25)))}}(Re,_t,0,Lt,Yt):yt==="category"?function(Qt,rn){var xn=Qt._categories[Math.round(rn.x)];xn===void 0&&(xn=""),rn.text=String(xn)}(Re,_t):yt==="multicategory"?function(Qt,rn,xn){var un=Math.round(rn.x),An=Qt._categories[un]||[],Yn=An[1]===void 0?"":String(An[1]),kn=An[0]===void 0?"":String(An[0]);xn?rn.text=kn+" - "+Yn:(rn.text=Yn,rn.text2=kn)}(Re,_t,Qe):Ke(Re)?function(Qt,rn,xn,un,An){if(Qt.thetaunit!=="radians"||xn)rn.text=$e(rn.x,Qt,An,un);else{var Yn=rn.x/180;if(Yn===0)rn.text="0";else{var kn=function(Tn){function dn(jn,Gn){return Math.abs(jn-Gn)<=1e-6}var pn=function(jn){for(var Gn=1;!dn(Math.round(jn*Gn)/Gn,jn);)Gn*=10;return Gn}(Tn),Dn=Tn*pn,In=Math.abs(function jn(Gn,qn){return dn(qn,0)?Gn:jn(qn,Gn%qn)}(Dn,pn));return[Math.round(Dn/In),Math.round(pn/In)]}(Yn);if(kn[1]>=100)rn.text=$e(v.deg2rad(rn.x),Qt,An,un);else{var sn=rn.x<0;kn[1]===1?kn[0]===1?rn.text="π":rn.text=kn[0]+"π":rn.text=["",kn[0],"","⁄","",kn[1],"","π"].join(""),sn&&(rn.text=F+rn.text)}}}}(Re,_t,Qe,Lt,Yt):function(Qt,rn,xn,un,An){An==="never"?An="":Qt.showexponent==="all"&&Math.abs(rn.x/Qt.dtick)<1e-6&&(An="hide"),rn.text=$e(rn.x,Qt,An,un)}(Re,_t,0,Lt,Yt),ut||(Re.tickprefix&&!Nt(Re.showtickprefix)&&(_t.text=Re.tickprefix+_t.text),Re.ticksuffix&&!Nt(Re.showticksuffix)&&(_t.text+=Re.ticksuffix)),Re.labelalias&&Re.labelalias.hasOwnProperty(_t.text)){var Wt=Re.labelalias[_t.text];typeof Wt=="string"&&(_t.text=Wt)}if(Re.tickson==="boundaries"||Re.showdividers){var Xt=function(Qt){var rn=Re.l2p(Qt);return rn>=0&&rn<=Re._length?Qt:null};_t.xbnd=[Xt(_t.x-.5),Xt(_t.x+Re.dtick-.5)]}return _t},X.hoverLabelText=function(Re,Ne,Qe){Qe&&(Re=v.extendFlat({},Re,{hoverformat:Qe}));var ut=Array.isArray(Ne)?Ne[0]:Ne,dt=Array.isArray(Ne)?Ne[1]:void 0;if(dt!==void 0&&dt!==ut)return X.hoverLabelText(Re,ut,Qe)+" - "+X.hoverLabelText(Re,dt,Qe);var _t=Re.type==="log"&&ut<=0,It=X.tickText(Re,Re.c2l(_t?-ut:ut),"hover").text;return _t?ut===0?"0":F+It:It};var we=["f","p","n","μ","m","","k","M","G","T"];function Ee(Re){return Re==="SI"||Re==="B"}function Ve(Re){return Re>14||Re<-15}function $e(Re,Ne,Qe,ut){var dt=Re<0,_t=Ne._tickround,It=Qe||Ne.exponentformat||"B",Lt=Ne._tickexponent,yt=X.getTickFormat(Ne),Pt=Ne.separatethousands;if(ut){var wt={exponentformat:It,minexponent:Ne.minexponent,dtick:Ne.showexponent==="none"?Ne.dtick:g(Re)&&Math.abs(Re)||1,range:Ne.showexponent==="none"?Ne.range.map(Ne.r2d):[0,Re||1]};je(wt),_t=(Number(wt._tickround)||0)+4,Lt=wt._tickexponent,Ne.hoverformat&&(yt=Ne.hoverformat)}if(yt)return Ne._numFormat(yt)(Re).replace(/-/g,F);var Rt,Nt=Math.pow(10,-_t)/2;if(It==="none"&&(Lt=0),(Re=Math.abs(Re))"+Rt+"":It==="B"&&Lt===9?Re+="B":Ee(It)&&(Re+=we[Lt/3+5])),dt?F+Re:Re}function Ye(Re,Ne){if(Re){var Qe=Object.keys(G).reduce(function(ut,dt){return Ne.indexOf(dt)!==-1&&G[dt].forEach(function(_t){ut[_t]=1}),ut},{});Object.keys(Re).forEach(function(ut){Qe[ut]||(ut.length===1?Re[ut]=0:delete Re[ut])})}}function st(Re,Ne){for(var Qe=[],ut={},dt=0;dt1&&Qe=dt.min&&Re=0,rn=wt(Nt,Yt[1])<=0;return(Wt||Qt)&&(Xt||rn)}if(Re.tickformatstops&&Re.tickformatstops.length>0)switch(Re.type){case"date":case"linear":for(Ne=0;Ne=It(dt)))){Qe=ut;break}break;case"log":for(Ne=0;Ne=0&&dt.unshift(dt.splice(Pt,1).shift())}});var It={false:{left:0,right:0}};return v.syncOrAsync(dt.map(function(Lt){return function(){if(Lt){var yt=X.getFromId(Re,Lt);Qe||(Qe={}),Qe.axShifts=It,Qe.overlayingShiftedAx=_t;var Pt=X.drawOne(Re,yt,Qe);return yt._shiftPusher&&ft(yt,yt._fullDepth||0,It,!0),yt._r=yt.range.slice(),yt._rl=v.simpleMap(yt._r,yt.r2l),Pt}}}))},X.drawOne=function(Re,Ne,Qe){var ut,dt,_t,It=(Qe=Qe||{}).axShifts||{},Lt=Qe.overlayingShiftedAx||[];Ne.setScale();var yt=Re._fullLayout,Pt=Ne._id,wt=Pt.charAt(0),Rt=X.counterLetter(Pt),Nt=yt._plots[Ne._mainSubplot];if(Nt){if(Ne._shiftPusher=Ne.autoshift||Lt.indexOf(Ne._id)!==-1||Lt.indexOf(Ne.overlaying)!==-1,Ne._shiftPusher&Ne.anchor==="free"){var Yt=Ne.linewidth/2||0;Ne.ticks==="inside"&&(Yt+=Ne.ticklen),ft(Ne,Yt,It,!0),ft(Ne,Ne.shift||0,It,!1)}Qe.skipTitle===!0&&Ne._shift!==void 0||(Ne._shift=function(En,mn){return En.autoshift?mn[En.overlaying][En.side]:En.shift||0}(Ne,It));var Wt=Nt[wt+"axislayer"],Xt=Ne._mainLinePosition,Qt=Xt+=Ne._shift,rn=Ne._mainMirrorPosition,xn=Ne._vals=X.calcTicks(Ne),un=[Ne.mirror,Qt,rn].join("_");for(ut=0;ut0?En.bottom-Vn:0,Xn))));var nr=0,Qn=0;if(Ne._shiftPusher&&(nr=Math.max(Xn,En.height>0?yn==="l"?Vn-En.left:En.right-Vn:0),Ne.title.text!==yt._dfltTitle[wt]&&(Qn=(Ne._titleStandoff||0)+(Ne._titleScoot||0),yn==="l"&&(Qn+=bt(Ne))),Ne._fullDepth=Math.max(nr,Qn)),Ne.automargin){mn={x:0,y:0,r:0,l:0,t:0,b:0};var hr=[0,1],cr=typeof Ne._shift=="number"?Ne._shift:0;if(wt==="x"){if(yn==="b"?mn[yn]=Ne._depth:(mn[yn]=Ne._depth=Math.max(En.width>0?Vn-En.top:0,Xn),hr.reverse()),En.width>0){var pr=En.right-(Ne._offset+Ne._length);pr>0&&(mn.xr=1,mn.r=pr);var dr=Ne._offset-En.left;dr>0&&(mn.xl=0,mn.l=dr)}}else if(yn==="l"?(Ne._depth=Math.max(En.height>0?Vn-En.left:0,Xn),mn[yn]=Ne._depth-cr):(Ne._depth=Math.max(En.height>0?En.right-Vn:0,Xn),mn[yn]=Ne._depth+cr,hr.reverse()),En.height>0){var br=En.bottom-(Ne._offset+Ne._length);br>0&&(mn.yb=0,mn.b=br);var Rr=Ne._offset-En.top;Rr>0&&(mn.yt=1,mn.t=Rr)}mn[Rt]=Ne.anchor==="free"?Ne.position:Ne._anchorAxis.domain[hr[0]],Ne.title.text!==yt._dfltTitle[wt]&&(mn[yn]+=bt(Ne)+(Ne.title.standoff||0)),Ne.mirror&&Ne.anchor!=="free"&&((wn={x:0,y:0,r:0,l:0,t:0,b:0})[Sn]=Ne.linewidth,Ne.mirror&&Ne.mirror!==!0&&(wn[Sn]+=Xn),Ne.mirror===!0||Ne.mirror==="ticks"?wn[Rt]=Ne._anchorAxis.domain[hr[1]]:Ne.mirror!=="all"&&Ne.mirror!=="allticks"||(wn[Rt]=[Ne._counterDomainMin,Ne._counterDomainMax][hr[1]]))}zn&&(gn=M.getComponentMethod("rangeslider","autoMarginOpts")(Re,Ne)),typeof Ne.automargin=="string"&&(Ye(mn,Ne.automargin),Ye(wn,Ne.automargin)),i.autoMargin(Re,xt(Ne),mn),i.autoMargin(Re,Ft(Ne),wn),i.autoMargin(Re,Ot(Ne),gn)}),v.syncOrAsync(Jt)}}function On(En){var mn=Pt+(En||"tick");return An[mn]||(An[mn]=function(wn,gn){var yn,Sn,Vn,Xn;return wn._selections[gn].size()?(yn=1/0,Sn=-1/0,Vn=1/0,Xn=-1/0,wn._selections[gn].each(function(){var nr=kt(this),Qn=o.bBox(nr.node().parentNode);yn=Math.min(yn,Qn.top),Sn=Math.max(Sn,Qn.bottom),Vn=Math.min(Vn,Qn.left),Xn=Math.max(Xn,Qn.right)})):(yn=0,Sn=0,Vn=0,Xn=0),{top:yn,bottom:Sn,left:Vn,right:Xn,height:Sn-yn,width:Xn-Vn}}(Ne,mn)),An[mn]}},X.getTickSigns=function(Re,Ne){var Qe=Re._id.charAt(0),ut={x:"top",y:"right"}[Qe],dt=Re.side===ut?1:-1,_t=[-1,1,dt,-dt];return(Ne?(Re.minor||{}).ticks:Re.ticks)!=="inside"==(Qe==="x")&&(_t=_t.map(function(It){return-It})),Re.side&&_t.push({l:-1,t:-1,r:1,b:1}[Re.side.charAt(0)]),_t},X.makeTransTickFn=function(Re){return Re._id.charAt(0)==="x"?function(Ne){return f(Re._offset+Re.l2p(Ne.x),0)}:function(Ne){return f(0,Re._offset+Re.l2p(Ne.x))}},X.makeTransTickLabelFn=function(Re){var Ne=function(dt){var _t=dt.ticklabelposition||"",It=function(rn){return _t.indexOf(rn)!==-1},Lt=It("top"),yt=It("left"),Pt=It("right"),wt=It("bottom"),Rt=It("inside"),Nt=wt||yt||Lt||Pt;if(!Nt&&!Rt)return[0,0];var Yt=dt.side,Wt=Nt?(dt.tickwidth||0)/2:0,Xt=3,Qt=dt.tickfont?dt.tickfont.size:12;return(wt||Lt)&&(Wt+=Qt*ne,Xt+=(dt.linewidth||0)/2),(yt||Pt)&&(Wt+=(dt.linewidth||0)/2,Xt+=3),Rt&&Yt==="top"&&(Xt-=Qt*(1-ne)),(yt||Lt)&&(Wt=-Wt),Yt!=="bottom"&&Yt!=="right"||(Xt=-Xt),[Nt?Wt:0,Rt?Xt:0]}(Re),Qe=Ne[0],ut=Ne[1];return Re._id.charAt(0)==="x"?function(dt){return f(Qe+Re._offset+Re.l2p(ot(dt)),ut)}:function(dt){return f(ut,Qe+Re._offset+Re.l2p(ot(dt)))}},X.makeTickPath=function(Re,Ne,Qe,ut){ut||(ut={});var dt=ut.minor;if(dt&&!Re.minor)return"";var _t=ut.len!==void 0?ut.len:dt?Re.minor.ticklen:Re.ticklen,It=Re._id.charAt(0),Lt=(Re.linewidth||1)/2;return It==="x"?"M0,"+(Ne+Lt*Qe)+"v"+_t*Qe:"M"+(Ne+Lt*Qe)+",0h"+_t*Qe},X.makeLabelFns=function(Re,Ne,Qe){var ut=Re.ticklabelposition||"",dt=function(Dn){return ut.indexOf(Dn)!==-1},_t=dt("top"),It=dt("left"),Lt=dt("right"),yt=dt("bottom")||It||_t||Lt,Pt=dt("inside"),wt=ut==="inside"&&Re.ticks==="inside"||!Pt&&Re.ticks==="outside"&&Re.tickson!=="boundaries",Rt=0,Nt=0,Yt=wt?Re.ticklen:0;if(Pt?Yt*=-1:yt&&(Yt=0),wt&&(Rt+=Yt,Qe)){var Wt=v.deg2rad(Qe);Rt=Yt*Math.cos(Wt)+1,Nt=Yt*Math.sin(Wt)}Re.showticklabels&&(wt||Re.showline)&&(Rt+=.2*Re.tickfont.size);var Xt,Qt,rn,xn,un,An={labelStandoff:Rt+=(Re.linewidth||1)/2*(Pt?-1:1),labelShift:Nt},Yn=0,kn=Re.side,sn=Re._id.charAt(0),Tn=Re.tickangle;if(sn==="x")xn=(un=!Pt&&kn==="bottom"||Pt&&kn==="top")?1:-1,Pt&&(xn*=-1),Xt=Nt*xn,Qt=Ne+Rt*xn,rn=un?1:-.2,Math.abs(Tn)===90&&(Pt?rn+=H:rn=Tn===-90&&kn==="bottom"?ne:Tn===90&&kn==="top"?H:.5,Yn=H/2*(Tn/90)),An.xFn=function(Dn){return Dn.dx+Xt+Yn*Dn.fontSize},An.yFn=function(Dn){return Dn.dy+Qt+Dn.fontSize*rn},An.anchorFn=function(Dn,In){if(yt){if(It)return"end";if(Lt)return"start"}return g(In)&&In!==0&&In!==180?In*xn<0!==Pt?"end":"start":"middle"},An.heightFn=function(Dn,In,jn){return In<-60||In>60?-.5*jn:Re.side==="top"!==Pt?-jn:0};else if(sn==="y"){if(xn=(un=!Pt&&kn==="left"||Pt&&kn==="right")?1:-1,Pt&&(xn*=-1),Xt=Rt,Qt=Nt*xn,rn=0,Pt||Math.abs(Tn)!==90||(rn=Tn===-90&&kn==="left"||Tn===90&&kn==="right"?ne:.5),Pt){var dn=g(Tn)?+Tn:0;if(dn!==0){var pn=v.deg2rad(dn);Yn=Math.abs(Math.sin(pn))*ne*xn,rn=0}}An.xFn=function(Dn){return Dn.dx+Ne-(Xt+Dn.fontSize*rn)*xn+Yn*Dn.fontSize},An.yFn=function(Dn){return Dn.dy+Qt+Dn.fontSize*H},An.anchorFn=function(Dn,In){return g(In)&&Math.abs(In)===90?"middle":un?"end":"start"},An.heightFn=function(Dn,In,jn){return Re.side==="right"&&(In*=-1),In<-30?-jn:In<30?-.5*jn:0}}return An},X.drawTicks=function(Re,Ne,Qe){Qe=Qe||{};var ut=Ne._id+"tick",dt=[].concat(Ne.minor&&Ne.minor.ticks?Qe.vals.filter(function(It){return It.minor&&!It.noTick}):[]).concat(Ne.ticks?Qe.vals.filter(function(It){return!It.minor&&!It.noTick}):[]),_t=Qe.layer.selectAll("path."+ut).data(dt,ht);_t.exit().remove(),_t.enter().append("path").classed(ut,1).classed("ticks",1).classed("crisp",Qe.crisp!==!1).each(function(It){return u.stroke(d.select(this),It.minor?Ne.minor.tickcolor:Ne.tickcolor)}).style("stroke-width",function(It){return o.crispRound(Re,It.minor?Ne.minor.tickwidth:Ne.tickwidth,1)+"px"}).attr("d",Qe.path).style("display",null),nt(Ne,[$]),_t.attr("transform",Qe.transFn)},X.drawGrid=function(Re,Ne,Qe){if(Qe=Qe||{},Ne.tickmode!=="sync"){var ut=Ne._id+"grid",dt=Ne.minor&&Ne.minor.showgrid,_t=dt?Qe.vals.filter(function(rn){return rn.minor}):[],It=Ne.showgrid?Qe.vals.filter(function(rn){return!rn.minor}):[],Lt=Qe.counterAxis;if(Lt&&X.shouldShowZeroLine(Re,Ne,Lt))for(var yt=Ne.tickmode==="array",Pt=0;Pt=0;Wt--){var Xt=Wt?Nt:Yt;if(Xt){var Qt=Xt.selectAll("path."+ut).data(Wt?It:_t,ht);Qt.exit().remove(),Qt.enter().append("path").classed(ut,1).classed("crisp",Qe.crisp!==!1),Qt.attr("transform",Qe.transFn).attr("d",Qe.path).each(function(rn){return u.stroke(d.select(this),rn.minor?Ne.minor.gridcolor:Ne.gridcolor||"#ddd")}).style("stroke-dasharray",function(rn){return o.dashStyle(rn.minor?Ne.minor.griddash:Ne.griddash,rn.minor?Ne.minor.gridwidth:Ne.gridwidth)}).style("stroke-width",function(rn){return(rn.minor?Rt:Ne._gw)+"px"}).style("display",null),typeof Qe.path=="function"&&Qt.attr("d",Qe.path)}}nt(Ne,[W,j])}},X.drawZeroLine=function(Re,Ne,Qe){Qe=Qe||Qe;var ut=Ne._id+"zl",dt=X.shouldShowZeroLine(Re,Ne,Qe.counterAxis),_t=Qe.layer.selectAll("path."+ut).data(dt?[{x:0,id:Ne._id}]:[]);_t.exit().remove(),_t.enter().append("path").classed(ut,1).classed("zl",1).classed("crisp",Qe.crisp!==!1).each(function(){Qe.layer.selectAll("path").sort(function(It,Lt){return ie(It.id,Lt.id)})}),_t.attr("transform",Qe.transFn).attr("d",Qe.path).call(u.stroke,Ne.zerolinecolor||u.defaultLine).style("stroke-width",o.crispRound(Re,Ne.zerolinewidth,Ne._gw||1)+"px").style("display",null),nt(Ne,[N])},X.drawLabels=function(Re,Ne,Qe){Qe=Qe||{};var ut=Re._fullLayout,dt=Ne._id,_t=dt.charAt(0),It=Qe.cls||dt+"tick",Lt=Qe.vals.filter(function(xn){return xn.text}),yt=Qe.labelFns,Pt=Qe.secondary?0:Ne.tickangle,wt=(Ne._prevTickAngles||{})[It],Rt=Qe.layer.selectAll("g."+It).data(Ne.showticklabels?Lt:[],ht),Nt=[];function Yt(xn,un){xn.each(function(An){var Yn=d.select(this),kn=Yn.select(".text-math-group"),sn=yt.anchorFn(An,un),Tn=Qe.transFn.call(Yn.node(),An)+(g(un)&&+un!=0?" rotate("+un+","+yt.xFn(An)+","+(yt.yFn(An)-An.fontSize/2)+")":""),dn=l.lineCount(Yn),pn=te*An.fontSize,Dn=yt.heightFn(An,g(un)?+un:0,(dn-1)*pn);if(Dn&&(Tn+=f(0,Dn)),kn.empty()){var In=Yn.select("text");In.attr({transform:Tn,"text-anchor":sn}),In.style("opacity",1),Ne._adjustTickLabelsOverflow&&Ne._adjustTickLabelsOverflow()}else{var jn=o.bBox(kn.node()).width*{end:-.5,start:.5}[sn];kn.attr("transform",Tn+f(jn,0))}})}Rt.enter().append("g").classed(It,1).append("text").attr("text-anchor","middle").each(function(xn){var un=d.select(this),An=Re._promises.length;un.call(l.positionText,yt.xFn(xn),yt.yFn(xn)).call(o.font,xn.font,xn.fontSize,xn.fontColor).text(xn.text).call(l.convertToTspans,Re),Re._promises[An]?Nt.push(Re._promises.pop().then(function(){Yt(un,Pt)})):Yt(un,Pt)}),nt(Ne,[U]),Rt.exit().remove(),Qe.repositionOnUpdate&&Rt.each(function(xn){d.select(this).select("text").call(l.positionText,yt.xFn(xn),yt.yFn(xn))}),Ne._adjustTickLabelsOverflow=function(){var xn=Ne.ticklabeloverflow;if(xn&&xn!=="allow"){var un=xn.indexOf("hide")!==-1,An=Ne._id.charAt(0)==="x",Yn=0,kn=An?Re._fullLayout.width:Re._fullLayout.height;if(xn.indexOf("domain")!==-1){var sn=v.simpleMap(Ne.range,Ne.r2l);Yn=Ne.l2p(sn[0])+Ne._offset,kn=Ne.l2p(sn[1])+Ne._offset}var Tn=Math.min(Yn,kn),dn=Math.max(Yn,kn),pn=Ne.side,Dn=1/0,In=-1/0;for(var jn in Rt.each(function(lr){var rr=d.select(this);if(rr.select(".text-math-group").empty()){var Sr=o.bBox(rr.node()),yr=0;An?(Sr.right>dn||Sr.leftdn||Sr.top+(Ne.tickangle?0:lr.fontSize/4)Ne["_visibleLabelMin_"+sn._id]?qn.style("display","none"):dn.K!=="tick"||Tn||qn.style("display",null)})})})})},Yt(Rt,wt+1?wt:Pt);var Wt=null;Ne._selections&&(Ne._selections[It]=Rt);var Xt=[function(){return Nt.length&&Promise.all(Nt)}];Ne.automargin&&ut._redrawFromAutoMarginCount&&wt===90?(Wt=90,Xt.push(function(){Yt(Rt,wt)})):Xt.push(function(){if(Yt(Rt,Pt),Lt.length&&_t==="x"&&!g(Pt)&&(Ne.type!=="log"||String(Ne.dtick).charAt(0)!=="D")){Wt=0;var xn,un=0,An=[];if(Rt.each(function(rr){un=Math.max(un,rr.fontSize);var Sr=Ne.l2p(rr.x),yr=kt(this),or=o.bBox(yr.node());An.push({top:0,bottom:10,height:10,left:Sr-or.width/2,right:Sr+or.width/2+2,width:or.width+2})}),Ne.tickson!=="boundaries"&&!Ne.showdividers||Qe.secondary){var Yn=Lt.length,kn=Math.abs((Lt[Yn-1].x-Lt[0].x)*Ne._m)/(Yn-1),sn=Ne.ticklabelposition||"",Tn=function(rr){return sn.indexOf(rr)!==-1},dn=Tn("top"),pn=Tn("left"),Dn=Tn("right"),In=Tn("bottom")||pn||dn||Dn?(Ne.tickwidth||0)+6:0,jn=kn<2.5*un||Ne.type==="multicategory"||Ne._name==="realaxis";for(xn=0;xn1)for(Lt=1;Lt2*b}(c,s))return"date";var _=h.autotypenumbers!=="strict";return function(k,E){for(var x=k.length,A=u(x),L=0,b=0,R={},I=0;I2*L}(c,_)?"category":function(k,E){for(var x=k.length,A=0;A=2){var b,R,I="";if(L.length===2){for(b=0;b<2;b++)if(R=_(L[b])){I=m;break}}var O=A("pattern",I);if(O===m)for(b=0;b<2;b++)(R=_(L[b]))&&(E.bounds[b]=L[b]=R-1);if(O)for(b=0;b<2;b++)switch(R=L[b],O){case m:if(!d(R)||(R=+R)!==Math.floor(R)||R<0||R>=7)return void(E.enabled=!1);E.bounds[b]=L[b]=R;break;case w:if(!d(R)||(R=+R)<0||R>24)return void(E.enabled=!1);E.bounds[b]=L[b]=R}if(x.autorange===!1){var z=x.range;if(z[0]z[1])return void(E.enabled=!1)}else if(L[0]>z[0]&&L[1]l?1:-1:+(M.substr(1)||1)-+(v.substr(1)||1)},p.ref2id=function(M){return!!/^[xyz]/.test(M)&&M.split(" ")[0]},p.isLinked=function(M,v){return i(v,M._axisMatchGroups)||i(v,M._axisConstraintGroups)}},15258:function(T){T.exports=function(p,t,d,g){if(t.type==="category"){var i,M=p.categoryarray,v=Array.isArray(M)&&M.length>0;v&&(i="array");var f,l=d("categoryorder",i);l==="array"&&(f=d("categoryarray")),v||l!=="array"||(l=t.categoryorder="trace"),l==="trace"?t._initialCategories=[]:l==="array"?t._initialCategories=f.slice():(f=function(a,u){var o,s,h,c=u.dataAttr||a._id.charAt(0),m={};if(u.axData)o=u.axData;else for(o=[],s=0;sk?E.substr(k):x.substr(_))+A:E+x+y*C:A}function m(y,C){for(var _=C._size,k=_.h/_.w,E={},x=Object.keys(y),A=0;Al*F)||j){for(_=0;_Q&&ueZ&&(Z=ue);b/=(Z-te)/(2*X),te=x.l2r(te),Z=x.l2r(Z),x.range=x._input.range=q=0?Math.min(ue,.9):1/(1/Math.max(ue,-.3)+3.222))}function q(ue,ce,ye,de,me){return ue.append("path").attr("class","zoombox").style({fill:ce>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("transform",l(ye,de)).attr("d",me+"Z")}function H(ue,ce,ye){return ue.append("path").attr("class","zoombox-corners").style({fill:u.background,stroke:u.defaultLine,"stroke-width":1,opacity:0}).attr("transform",l(ce,ye)).attr("d","M0,0Z")}function ne(ue,ce,ye,de,me,pe){ue.attr("d",de+"M"+ye.l+","+ye.t+"v"+ye.h+"h"+ye.w+"v-"+ye.h+"h-"+ye.w+"Z"),te(ue,ce,me,pe)}function te(ue,ce,ye,de){ye||(ue.transition().style("fill",de>.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),ce.transition().style("opacity",1).duration(200))}function Z(ue){d.select(ue).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}function X(ue){B&&ue.data&&ue._context.showTips&&(g.notifier(g._(ue,"Double-click to zoom back out"),"long"),B=!1)}function Q(ue){var ce=Math.floor(Math.min(ue.b-ue.t,ue.r-ue.l,F)/2);return"M"+(ue.l-3.5)+","+(ue.t-.5+ce)+"h3v"+-ce+"h"+ce+"v-3h-"+(ce+3)+"ZM"+(ue.r+3.5)+","+(ue.t-.5+ce)+"h-3v"+-ce+"h"+-ce+"v-3h"+(ce+3)+"ZM"+(ue.r+3.5)+","+(ue.b+.5-ce)+"h-3v"+ce+"h"+-ce+"v3h"+(ce+3)+"ZM"+(ue.l-3.5)+","+(ue.b+.5-ce)+"h3v"+ce+"h"+ce+"v3h-"+(ce+3)+"Z"}function re(ue,ce,ye,de,me){for(var pe,xe,Pe,_e,Me=!1,Se={},Ce={},ae=(me||{}).xaHash,fe=(me||{}).yaHash,be=0;be=0)dn._fullLayout._deactivateShape(dn);else{var pn=dn._fullLayout.clickmode;if(Z(dn),sn!==2||Ft||rn(),xt)pn.indexOf("select")>-1&&R(Tn,dn,ae,fe,ce.id,dt),pn.indexOf("event")>-1&&s.click(dn,Tn,ce.id);else if(sn===1&&Ft){var Dn=xe?Me:_e,In=xe==="s"||Pe==="w"?0:1,jn=Dn._name+".range["+In+"]",Gn=function(rr,Sr){var yr,or=rr.range[Sr],vr=Math.abs(or-rr.range[1-Sr]);return rr.type==="date"?or:rr.type==="log"?(yr=Math.ceil(Math.max(0,-Math.log(vr)/Math.LN10))+3,i("."+yr+"g")(Math.pow(10,or))):(yr=Math.floor(Math.log(Math.abs(or))/Math.LN10)-Math.floor(Math.log(vr)/Math.LN10)+4,i("."+String(yr)+"g")(or))}(Dn,In),qn="left",lr="middle";if(Dn.fixedrange)return;xe?(lr=xe==="n"?"top":"bottom",Dn.side==="right"&&(qn="right")):Pe==="e"&&(qn="right"),dn._context.showAxisRangeEntryBoxes&&d.select(qt).call(a.makeEditable,{gd:dn,immediate:!0,background:dn._fullLayout.paper_bgcolor,text:String(Gn),fill:Dn.tickfont?Dn.tickfont.color:"#444",horizontalAlign:qn,verticalAlign:lr}).on("edit",function(rr){var Sr=Dn.d2r(rr);Sr!==void 0&&f.call("_guiRelayout",dn,jn,Sr)})}}}function Lt(sn,Tn){if(ue._transitioningWithDuration)return!1;var dn=Math.max(0,Math.min(Le,bt*sn+Vt)),pn=Math.max(0,Math.min(Be,Et*Tn+Ke)),Dn=Math.abs(dn-Vt),In=Math.abs(pn-Ke);function jn(){Re="",Je.r=Je.l,Je.t=Je.b,Qe.attr("d","M0,0Z")}if(Je.l=Math.min(Vt,dn),Je.r=Math.max(Vt,dn),Je.t=Math.min(Ke,pn),Je.b=Math.max(Ke,pn),ze.isSubplotConstrained)Dn>F||In>F?(Re="xy",Dn/Le>In/Be?(In=Dn*Be/Le,Ke>pn?Je.t=Ke-In:Je.b=Ke+In):(Dn=In*Le/Be,Vt>dn?Je.l=Vt-Dn:Je.r=Vt+Dn),Qe.attr("d",Q(Je))):jn();else if(je.isSubplotConstrained)if(Dn>F||In>F){Re="xy";var Gn=Math.min(Je.l/Le,(Be-Je.b)/Be),qn=Math.max(Je.r/Le,(Be-Je.t)/Be);Je.l=Gn*Le,Je.r=qn*Le,Je.b=(1-Gn)*Be,Je.t=(1-qn)*Be,Qe.attr("d",Q(Je))}else jn();else!we||In0){var lr;if(je.isSubplotConstrained||!ge&&we.length===1){for(lr=0;lrx[1]-.000244140625&&(M.domain=a),g.noneOrAll(i.domain,M.domain,a),M.tickmode==="sync"&&(M.tickmode="auto")}return v("layer"),M}},89426:function(T,p,t){var d=t(59652);T.exports=function(g,i,M,v,f){f||(f={});var l=f.tickSuffixDflt,a=d(g);M("tickprefix")&&M("showtickprefix",a),M("ticksuffix",l)&&M("showticksuffix",a)}},42449:function(T,p,t){var d=t(18783).FROM_BL;T.exports=function(g,i,M){M===void 0&&(M=d[g.constraintoward||"center"]);var v=[g.r2l(g.range[0]),g.r2l(g.range[1])],f=v[0]+(v[1]-v[0])*M;g.range=g._input.range=[g.l2r(f+(v[0]-f)*i),g.l2r(f+(v[1]-f)*i)],g.setScale()}},21994:function(T,p,t){var d=t(39898),g=t(84096).g0,i=t(71828),M=i.numberFormat,v=t(92770),f=i.cleanNumber,l=i.ms2DateTime,a=i.dateTime2ms,u=i.ensureNumber,o=i.isArrayOrTypedArray,s=t(50606),h=s.FP_SAFE,c=s.BADNUM,m=s.LOG_CLIP,w=s.ONEWEEK,y=s.ONEDAY,C=s.ONEHOUR,_=s.ONEMIN,k=s.ONESEC,E=t(41675),x=t(85555),A=x.HOUR_PATTERN,L=x.WEEKDAY_PATTERN;function b(I){return Math.pow(10,I)}function R(I){return I!=null}T.exports=function(I,O){O=O||{};var z=I._id||"x",F=z.charAt(0);function B(re,ie){if(re>0)return Math.log(re)/Math.LN10;if(re<=0&&ie&&I.range&&I.range.length===2){var oe=I.range[0],ue=I.range[1];return .5*(oe+ue-2*m*Math.abs(oe-ue))}return c}function N(re,ie,oe,ue){if((ue||{}).msUTC&&v(re))return+re;var ce=a(re,oe||I.calendar);if(ce===c){if(!v(re))return c;re=+re;var ye=Math.floor(10*i.mod(re+.05,1)),de=Math.round(re-ye/10);ce=a(new Date(de))+ye/10}return ce}function W(re,ie,oe){return l(re,ie,oe||I.calendar)}function j(re){return I._categories[Math.round(re)]}function $(re){if(R(re)){if(I._categoriesMap===void 0&&(I._categoriesMap={}),I._categoriesMap[re]!==void 0)return I._categoriesMap[re];I._categories.push(typeof re=="number"?String(re):re);var ie=I._categories.length-1;return I._categoriesMap[re]=ie,ie}return c}function U(re){if(I._categoriesMap)return I._categoriesMap[re]}function G(re){var ie=U(re);return ie!==void 0?ie:v(re)?+re:void 0}function q(re){return v(re)?+re:U(re)}function H(re,ie,oe){return d.round(oe+ie*re,2)}function ne(re,ie,oe){return(re-oe)/ie}var te=function(re){return v(re)?H(re,I._m,I._b):c},Z=function(re){return ne(re,I._m,I._b)};if(I.rangebreaks){var X=F==="y";te=function(re){if(!v(re))return c;var ie=I._rangebreaks.length;if(!ie)return H(re,I._m,I._b);var oe=X;I.range[0]>I.range[1]&&(oe=!oe);for(var ue=oe?-1:1,ce=ue*re,ye=0,de=0;depe)){ye=ce<(me+pe)/2?de:de+1;break}ye=de+1}var xe=I._B[ye]||0;return isFinite(xe)?H(re,I._m2,xe):0},Z=function(re){var ie=I._rangebreaks.length;if(!ie)return ne(re,I._m,I._b);for(var oe=0,ue=0;ueI._rangebreaks[ue].pmax&&(oe=ue+1);return ne(re,I._m2,I._B[oe])}}I.c2l=I.type==="log"?B:u,I.l2c=I.type==="log"?b:u,I.l2p=te,I.p2l=Z,I.c2p=I.type==="log"?function(re,ie){return te(B(re,ie))}:te,I.p2c=I.type==="log"?function(re){return b(Z(re))}:Z,["linear","-"].indexOf(I.type)!==-1?(I.d2r=I.r2d=I.d2c=I.r2c=I.d2l=I.r2l=f,I.c2d=I.c2r=I.l2d=I.l2r=u,I.d2p=I.r2p=function(re){return I.l2p(f(re))},I.p2d=I.p2r=Z,I.cleanPos=u):I.type==="log"?(I.d2r=I.d2l=function(re,ie){return B(f(re),ie)},I.r2d=I.r2c=function(re){return b(f(re))},I.d2c=I.r2l=f,I.c2d=I.l2r=u,I.c2r=B,I.l2d=b,I.d2p=function(re,ie){return I.l2p(I.d2r(re,ie))},I.p2d=function(re){return b(Z(re))},I.r2p=function(re){return I.l2p(f(re))},I.p2r=Z,I.cleanPos=u):I.type==="date"?(I.d2r=I.r2d=i.identity,I.d2c=I.r2c=I.d2l=I.r2l=N,I.c2d=I.c2r=I.l2d=I.l2r=W,I.d2p=I.r2p=function(re,ie,oe){return I.l2p(N(re,0,oe))},I.p2d=I.p2r=function(re,ie,oe){return W(Z(re),ie,oe)},I.cleanPos=function(re){return i.cleanDate(re,c,I.calendar)}):I.type==="category"?(I.d2c=I.d2l=$,I.r2d=I.c2d=I.l2d=j,I.d2r=I.d2l_noadd=G,I.r2c=function(re){var ie=q(re);return ie!==void 0?ie:I.fraction2r(.5)},I.l2r=I.c2r=u,I.r2l=q,I.d2p=function(re){return I.l2p(I.r2c(re))},I.p2d=function(re){return j(Z(re))},I.r2p=I.d2p,I.p2r=Z,I.cleanPos=function(re){return typeof re=="string"&&re!==""?re:u(re)}):I.type==="multicategory"&&(I.r2d=I.c2d=I.l2d=j,I.d2r=I.d2l_noadd=G,I.r2c=function(re){var ie=G(re);return ie!==void 0?ie:I.fraction2r(.5)},I.r2c_just_indices=U,I.l2r=I.c2r=u,I.r2l=G,I.d2p=function(re){return I.l2p(I.r2c(re))},I.p2d=function(re){return j(Z(re))},I.r2p=I.d2p,I.p2r=Z,I.cleanPos=function(re){return Array.isArray(re)||typeof re=="string"&&re!==""?re:u(re)},I.setupMultiCategory=function(re){var ie,oe,ue=I._traceIndices,ce=I._matchGroup;if(ce&&I._categories.length===0){for(var ye in ce)if(ye!==z){var de=O[E.id2name(ye)];ue=ue.concat(de._traceIndices)}}var me=[[0,{}],[0,{}]],pe=[];for(ie=0;ieh&&(ce[oe]=h),ce[0]===ce[1]){var de=Math.max(1,Math.abs(1e-6*ce[0]));ce[0]-=de,ce[1]+=de}}else i.nestedProperty(I,re).set(ue)},I.setScale=function(re){var ie=O._size;if(I.overlaying){var oe=E.getFromId({_fullLayout:O},I.overlaying);I.domain=oe.domain}var ue=re&&I._r?"_r":"range",ce=I.calendar;I.cleanRange(ue);var ye,de,me=I.r2l(I[ue][0],ce),pe=I.r2l(I[ue][1],ce),xe=F==="y";if(xe?(I._offset=ie.t+(1-I.domain[1])*ie.h,I._length=ie.h*(I.domain[1]-I.domain[0]),I._m=I._length/(me-pe),I._b=-I._m*pe):(I._offset=ie.l+I.domain[0]*ie.w,I._length=ie.w*(I.domain[1]-I.domain[0]),I._m=I._length/(pe-me),I._b=-I._m*me),I._rangebreaks=[],I._lBreaks=0,I._m2=0,I._B=[],I.rangebreaks&&(I._rangebreaks=I.locateBreaks(Math.min(me,pe),Math.max(me,pe)),I._rangebreaks.length)){for(ye=0;yepe&&(Pe=!Pe),Pe&&I._rangebreaks.reverse();var _e=Pe?-1:1;for(I._m2=_e*I._length/(Math.abs(pe-me)-I._lBreaks),I._B.push(-I._m2*(xe?pe:me)),ye=0;yeue&&(ue+=7,ceue&&(ue+=24,ce=oe&&ce=oe&&re=je.min&&(keje.max&&(je.max=Le),Be=!1)}Be&&de.push({min:ke,max:Le})}};for(oe=0;oea.duration?(function(){for(var A={},L=0;L rect").call(M.setTranslate,0,0).call(M.setScale,1,1),_.plot.call(M.setTranslate,k._offset,E._offset).call(M.setScale,1,1);var x=_.plot.selectAll(".scatterlayer .trace");x.selectAll(".point").call(M.setPointGroupScale,1,1),x.selectAll(".textpoint").call(M.setTextPointsScale,1,1),x.call(M.hideOutsideRangePoints,_)}function C(_,k){var E=_.plotinfo,x=E.xaxis,A=E.yaxis,L=x._length,b=A._length,R=!!_.xr1,I=!!_.yr1,O=[];if(R){var z=i.simpleMap(_.xr0,x.r2l),F=i.simpleMap(_.xr1,x.r2l),B=z[1]-z[0],N=F[1]-F[0];O[0]=(z[0]*(1-k)+k*F[0]-z[0])/(z[1]-z[0])*L,O[2]=L*(1-k+k*N/B),x.range[0]=x.l2r(z[0]*(1-k)+k*F[0]),x.range[1]=x.l2r(z[1]*(1-k)+k*F[1])}else O[0]=0,O[2]=L;if(I){var W=i.simpleMap(_.yr0,A.r2l),j=i.simpleMap(_.yr1,A.r2l),$=W[1]-W[0],U=j[1]-j[0];O[1]=(W[1]*(1-k)+k*j[1]-W[1])/(W[0]-W[1])*b,O[3]=b*(1-k+k*U/$),A.range[0]=x.l2r(W[0]*(1-k)+k*j[0]),A.range[1]=A.l2r(W[1]*(1-k)+k*j[1])}else O[1]=0,O[3]=b;v.drawOne(f,x,{skipTitle:!0}),v.drawOne(f,A,{skipTitle:!0}),v.redrawComponents(f,[x._id,A._id]);var G=R?L/O[2]:1,q=I?b/O[3]:1,H=R?O[0]:0,ne=I?O[1]:0,te=R?O[0]/O[2]*L:0,Z=I?O[1]/O[3]*b:0,X=x._offset-te,Q=A._offset-Z;E.clipRect.call(M.setTranslate,H,ne).call(M.setScale,1/G,1/q),E.plot.call(M.setTranslate,X,Q).call(M.setScale,G,q),M.setPointGroupScale(E.zoomScalePts,1/G,1/q),M.setTextPointsScale(E.zoomScaleTxt,1/G,1/q)}v.redrawComponents(f)}},951:function(T,p,t){var d=t(73972).traceIs,g=t(4322);function i(v){return{v:"x",h:"y"}[v.orientation||"v"]}function M(v,f){var l=i(v),a=d(v,"box-violin"),u=d(v._fullInput||{},"candlestick");return a&&!u&&f===l&&v[l]===void 0&&v[l+"0"]===void 0}T.exports=function(v,f,l,a){l("autotypenumbers",a.autotypenumbersDflt),l("type",(a.splomStash||{}).type)==="-"&&(function(u,o){if(u.type==="-"){var s,h=u._id,c=h.charAt(0);h.indexOf("scene")!==-1&&(h=c);var m=function(A,L,b){for(var R=0;R0&&(I["_"+b+"axes"]||{})[L]||(I[b+"axis"]||b)===L&&(M(I,b)||(I[b]||[]).length||I[b+"0"]))return I}}(o,h,c);if(m)if(m.type!=="histogram"||c!=={v:"y",h:"x"}[m.orientation||"v"]){var w=c+"calendar",y=m[w],C={noMultiCategory:!d(m,"cartesian")||d(m,"noMultiCategory")};if(m.type==="box"&&m._hasPreCompStats&&c==={h:"x",v:"y"}[m.orientation||"v"]&&(C.noMultiCategory=!0),C.autotypenumbers=u.autotypenumbers,M(m,c)){var _=i(m),k=[];for(s=0;s0?".":"")+s;g.isPlainObject(h)?f(h,a,c,o+1):a(c,s,h)}})}p.manageCommandObserver=function(l,a,u,o){var s={},h=!0;a&&a._commandObserver&&(s=a._commandObserver),s.cache||(s.cache={}),s.lookupTable={};var c=p.hasSimpleAPICommandBindings(l,u,s.lookupTable);if(a&&a._commandObserver){if(c)return s;if(a._commandObserver.remove)return a._commandObserver.remove(),a._commandObserver=null,s}if(c){i(l,c,s.cache),s.check=function(){if(h){var y=i(l,c,s.cache);return y.changed&&o&&s.lookupTable[y.value]!==void 0&&(s.disable(),Promise.resolve(o({value:y.value,type:c.type,prop:c.prop,traces:c.traces,index:s.lookupTable[y.value]})).then(s.enable,s.enable)),y.changed}};for(var m=["plotly_relayout","plotly_redraw","plotly_restyle","plotly_update","plotly_animatingframe","plotly_afterplot"],w=0;w0&&N<0&&(N+=360);var $=(N-B)/4;return{type:"Polygon",coordinates:[[[B,W],[B,j],[B+$,j],[B+2*$,j],[B+3*$,j],[N,j],[N,W],[N-$,W],[N-2*$,W],[N-3*$,W],[B,W]]]}}T.exports=function(O){return new b(O)},R.plot=function(O,z,F,B){var N=this;if(B)return N.update(O,z,!0);N._geoCalcData=O,N._fullLayout=z;var W=z[this.id],j=[],$=!1;for(var U in E.layerNameToAdjective)if(U!=="frame"&&W["show"+U]){$=!0;break}for(var G=!1,q=0;q0&&j._module.calcGeoJSON(W,z)}if(!F){if(this.updateProjection(O,z))return;this.viewInitial&&this.scope===B.scope||this.saveViewInitial(B)}this.scope=B.scope,this.updateBaseLayers(z,B),this.updateDims(z,B),this.updateFx(z,B),h.generalUpdatePerTraceModule(this.graphDiv,this,O,B);var $=this.layers.frontplot.select(".scatterlayer");this.dataPoints.point=$.selectAll(".point"),this.dataPoints.text=$.selectAll("text"),this.dataPaths.line=$.selectAll(".js-line");var U=this.layers.backplot.select(".choroplethlayer");this.dataPaths.choropleth=U.selectAll("path"),this._render()},R.updateProjection=function(O,z){var F=this.graphDiv,B=z[this.id],N=z._size,W=B.domain,j=B.projection,$=B.lonaxis,U=B.lataxis,G=$._ax,q=U._ax,H=this.projection=function(Ce){var ae=Ce.projection,fe=ae.type,be=E.projNames[fe];be="geo"+l.titleCase(be);for(var ke=(g[be]||v[be])(),Le=Ce._isSatellite?180*Math.acos(1/ae.distance)/Math.PI:Ce._isClipped?E.lonaxisSpan[fe]/2:null,Be=["center","rotate","parallels","clipExtent"],ze=function(we){return we?ke:[]},je=0;jeLe*Math.PI/180}return!1},ke.getPath=function(){return i().projection(ke)},ke.getBounds=function(we){return ke.getPath().bounds(we)},ke.precision(E.precision),Ce._isSatellite&&ke.tilt(ae.tilt).distance(ae.distance),Le&&ke.clipAngle(Le-E.clipPad),ke}(B),ne=[[N.l+N.w*W.x[0],N.t+N.h*(1-W.y[1])],[N.l+N.w*W.x[1],N.t+N.h*(1-W.y[0])]],te=B.center||{},Z=j.rotation||{},X=$.range||[],Q=U.range||[];if(B.fitbounds){G._length=ne[1][0]-ne[0][0],q._length=ne[1][1]-ne[0][1],G.range=m(F,G),q.range=m(F,q);var re=(G.range[0]+G.range[1])/2,ie=(q.range[0]+q.range[1])/2;if(B._isScoped)te={lon:re,lat:ie};else if(B._isClipped){te={lon:re,lat:ie},Z={lon:re,lat:ie,roll:Z.roll};var oe=j.type,ue=E.lonaxisSpan[oe]/2||180,ce=E.lataxisSpan[oe]/2||90;X=[re-ue,re+ue],Q=[ie-ce,ie+ce]}else te={lon:re,lat:ie},Z={lon:re,lat:Z.lat,roll:Z.roll}}H.center([te.lon-Z.lon,te.lat-Z.lat]).rotate([-Z.lon,-Z.lat,Z.roll]).parallels(j.parallels);var ye=I(X,Q);H.fitExtent(ne,ye);var de=this.bounds=H.getBounds(ye),me=this.fitScale=H.scale(),pe=H.translate();if(B.fitbounds){var xe=H.getBounds(I(G.range,q.range)),Pe=Math.min((de[1][0]-de[0][0])/(xe[1][0]-xe[0][0]),(de[1][1]-de[0][1])/(xe[1][1]-xe[0][1]));isFinite(Pe)?H.scale(Pe*me):l.warn("Something went wrong during"+this.id+"fitbounds computations.")}else H.scale(j.scale*me);var _e=this.midPt=[(de[0][0]+de[1][0])/2,(de[0][1]+de[1][1])/2];if(H.translate([pe[0]+(_e[0]-pe[0]),pe[1]+(_e[1]-pe[1])]).clipExtent(de),B._isAlbersUsa){var Me=H([te.lon,te.lat]),Se=H.translate();H.translate([Se[0]-(Me[0]-Se[0]),Se[1]-(Me[1]-Se[1])])}},R.updateBaseLayers=function(O,z){var F=this,B=F.topojson,N=F.layers,W=F.basePaths;function j(H){return H==="lonaxis"||H==="lataxis"}function $(H){return!!E.lineLayers[H]}function U(H){return!!E.fillLayers[H]}var G=(this.hasChoropleth?E.layersForChoropleth:E.layers).filter(function(H){return $(H)||U(H)?z["show"+H]:!j(H)||z[H].showgrid}),q=F.framework.selectAll(".layer").data(G,String);q.exit().each(function(H){delete N[H],delete W[H],d.select(this).remove()}),q.enter().append("g").attr("class",function(H){return"layer "+H}).each(function(H){var ne=N[H]=d.select(this);H==="bg"?F.bgRect=ne.append("rect").style("pointer-events","all"):j(H)?W[H]=ne.append("path").style("fill","none"):H==="backplot"?ne.append("g").classed("choroplethlayer",!0):H==="frontplot"?ne.append("g").classed("scatterlayer",!0):$(H)?W[H]=ne.append("path").style("fill","none").style("stroke-miterlimit",2):U(H)&&(W[H]=ne.append("path").style("stroke","none"))}),q.order(),q.each(function(H){var ne=W[H],te=E.layerNameToAdjective[H];H==="frame"?ne.datum(E.sphereSVG):$(H)||U(H)?ne.datum(L(B,B.objects[H])):j(H)&&ne.datum(function(Z,X,Q){var re,ie,oe,ue=X[Z],ce=E.scopeDefaults[X.scope];Z==="lonaxis"?(re=ce.lonaxisRange,ie=ce.lataxisRange,oe=function(Se,Ce){return[Se,Ce]}):Z==="lataxis"&&(re=ce.lataxisRange,ie=ce.lonaxisRange,oe=function(Se,Ce){return[Ce,Se]});var ye={type:"linear",range:[re[0],re[1]-1e-6],tick0:ue.tick0,dtick:ue.dtick};c.setConvert(ye,Q);var de=c.calcTicks(ye);X.isScoped||Z!=="lonaxis"||de.pop();for(var me=de.length,pe=new Array(me),xe=0;xe-1&&_(d.event,B,[F.xaxis],[F.yaxis],F.id,$),j.indexOf("event")>-1&&s.click(B,d.event))})}function U(G){return F.projection.invert([G[0]+F.xaxis._offset,G[1]+F.yaxis._offset])}},R.makeFramework=function(){var O=this,z=O.graphDiv,F=z._fullLayout,B="clip"+F._uid+O.id;O.clipDef=F._clips.append("clipPath").attr("id",B),O.clipRect=O.clipDef.append("rect"),O.framework=d.select(O.container).append("g").attr("class","geo "+O.id).call(o.setClipUrl,B,z),O.project=function(N){var W=O.projection(N);return W?[W[0]-O.xaxis._offset,W[1]-O.yaxis._offset]:[null,null]},O.xaxis={_id:"x",c2p:function(N){return O.project(N)[0]}},O.yaxis={_id:"y",c2p:function(N){return O.project(N)[1]}},O.mockAxis={type:"linear",showexponent:"all",exponentformat:"B"},c.setConvert(O.mockAxis,F)},R.saveViewInitial=function(O){var z,F=O.center||{},B=O.projection,N=B.rotation||{};this.viewInitial={fitbounds:O.fitbounds,"projection.scale":B.scale},z=O._isScoped?{"center.lon":F.lon,"center.lat":F.lat}:O._isClipped?{"projection.rotation.lon":N.lon,"projection.rotation.lat":N.lat}:{"center.lon":F.lon,"center.lat":F.lat,"projection.rotation.lon":N.lon},l.extendFlat(this.viewInitial,z)},R.render=function(O){this._hasMarkerAngles&&O?this.plot(this._geoCalcData,this._fullLayout,[],!0):this._render()},R._render=function(){var O,z=this.projection,F=z.getPath();function B(W){var j=z(W.lonlat);return j?a(j[0],j[1]):null}function N(W){return z.isLonLatOverEdges(W.lonlat)?"none":null}for(O in this.basePaths)this.basePaths[O].attr("d",F);for(O in this.dataPaths)this.dataPaths[O].attr("d",function(W){return F(W.geojson)});for(O in this.dataPoints)this.dataPoints[O].attr("display",N).attr("transform",B)}},44622:function(T,p,t){var d=t(27659).AU,g=t(71828).counterRegex,i=t(69082),M="geo",v=g(M),f={};f.geo={valType:"subplotid",dflt:M,editType:"calc"},T.exports={attr:M,name:M,idRoot:M,idRegex:v,attrRegex:v,attributes:f,layoutAttributes:t(77519),supplyLayoutDefaults:t(82161),plot:function(l){for(var a=l._fullLayout,u=l.calcdata,o=a._subplots.geo,s=0;s0&&U<0&&(U+=360);var G,q,H,ne=($+U)/2;if(!C){var te=_?w.projRotate:[ne,0,0];G=o("projection.rotation.lon",te[0]),o("projection.rotation.lat",te[1]),o("projection.rotation.roll",te[2]),o("showcoastlines",!_&&L)&&(o("coastlinecolor"),o("coastlinewidth")),o("showocean",!!L&&void 0)&&o("oceancolor")}C?(q=-96.6,H=38.7):(q=_?ne:G,H=(j[0]+j[1])/2),o("center.lon",q),o("center.lat",H),k&&(o("projection.tilt"),o("projection.distance")),E&&o("projection.parallels",w.projParallels||[0,60]),o("projection.scale"),o("showland",!!L&&void 0)&&o("landcolor"),o("showlakes",!!L&&void 0)&&o("lakecolor"),o("showrivers",!!L&&void 0)&&(o("rivercolor"),o("riverwidth")),o("showcountries",_&&m!=="usa"&&L)&&(o("countrycolor"),o("countrywidth")),(m==="usa"||m==="north america"&&c===50)&&(o("showsubunits",L),o("subunitcolor"),o("subunitwidth")),_||o("showframe",L)&&(o("framecolor"),o("framewidth")),o("bgcolor"),o("fitbounds")&&(delete u.projection.scale,_?(delete u.center.lon,delete u.center.lat):x?(delete u.center.lon,delete u.center.lat,delete u.projection.rotation.lon,delete u.projection.rotation.lat,delete u.lonaxis.range,delete u.lataxis.range):(delete u.center.lon,delete u.center.lat,delete u.projection.rotation.lon))}T.exports=function(a,u,o){g(a,u,o,{type:"geo",attributes:v,handleDefaults:l,fullData:o,partition:"y"})}},74455:function(T,p,t){var d=t(39898),g=t(71828),i=t(73972),M=Math.PI/180,v=180/Math.PI,f={cursor:"pointer"},l={cursor:"auto"};function a(L,b){return d.behavior.zoom().translate(b.translate()).scale(b.scale())}function u(L,b,R){var I=L.id,O=L.graphDiv,z=O.layout,F=z[I],B=O._fullLayout,N=B[I],W={},j={};function $(U,G){W[I+"."+U]=g.nestedProperty(F,U).get(),i.call("_storeDirectGUIEdit",z,B._preGUI,W);var q=g.nestedProperty(N,U);q.get()!==G&&(q.set(G),g.nestedProperty(F,U).set(G),j[I+"."+U]=G)}R($),$("projection.scale",b.scale()/L.fitScale),$("fitbounds",!1),O.emit("plotly_relayout",j)}function o(L,b){var R=a(0,b);function I(O){var z=b.invert(L.midPt);O("center.lon",z[0]),O("center.lat",z[1])}return R.on("zoomstart",function(){d.select(this).style(f)}).on("zoom",function(){b.scale(d.event.scale).translate(d.event.translate),L.render(!0);var O=b.invert(L.midPt);L.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":b.scale()/L.fitScale,"geo.center.lon":O[0],"geo.center.lat":O[1]})}).on("zoomend",function(){d.select(this).style(l),u(L,b,I)}),R}function s(L,b){var R,I,O,z,F,B,N,W,j,$=a(0,b);function U(q){return b.invert(q)}function G(q){var H=b.rotate(),ne=b.invert(L.midPt);q("projection.rotation.lon",-H[0]),q("center.lon",ne[0]),q("center.lat",ne[1])}return $.on("zoomstart",function(){d.select(this).style(f),R=d.mouse(this),I=b.rotate(),O=b.translate(),z=I,F=U(R)}).on("zoom",function(){if(B=d.mouse(this),function(ne){var te=U(ne);if(!te)return!0;var Z=b(te);return Math.abs(Z[0]-ne[0])>2||Math.abs(Z[1]-ne[1])>2}(R))return $.scale(b.scale()),void $.translate(b.translate());b.scale(d.event.scale),b.translate([O[0],d.event.translate[1]]),F?U(B)&&(W=U(B),N=[z[0]+(W[0]-F[0]),I[1],I[2]],b.rotate(N),z=N):F=U(R=B),j=!0,L.render(!0);var q=b.rotate(),H=b.invert(L.midPt);L.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":b.scale()/L.fitScale,"geo.center.lon":H[0],"geo.center.lat":H[1],"geo.projection.rotation.lon":-q[0]})}).on("zoomend",function(){d.select(this).style(l),j&&u(L,b,G)}),$}function h(L,b){var R;b.rotate(),b.scale();var I=a(0,b),O=function($){for(var U=0,G=arguments.length,q=[];++UG?(z=(j>0?90:-90)-U,O=0):(z=Math.asin(j/G)*v-U,O=Math.sqrt(G*G-j*j));var q=180-z-2*U,H=(Math.atan2($,W)-Math.atan2(N,O))*v,ne=(Math.atan2($,W)-Math.atan2(N,-O))*v;return _(R[0],R[1],z,H)<=_(R[0],R[1],q,ne)?[z,H,R[2]]:[q,ne,R[2]]}function _(L,b,R,I){var O=k(R-L),z=k(I-b);return Math.sqrt(O*O+z*z)}function k(L){return(L%360+540)%360-180}function E(L,b,R){var I=R*M,O=L.slice(),z=b===0?1:0,F=b===2?1:2,B=Math.cos(I),N=Math.sin(I);return O[z]=L[z]*B-L[F]*N,O[F]=L[F]*B+L[z]*N,O}function x(L){return[Math.atan2(2*(L[0]*L[1]+L[2]*L[3]),1-2*(L[1]*L[1]+L[2]*L[2]))*v,Math.asin(Math.max(-1,Math.min(1,2*(L[0]*L[2]-L[3]*L[1]))))*v,Math.atan2(2*(L[0]*L[3]+L[1]*L[2]),1-2*(L[2]*L[2]+L[3]*L[3]))*v]}function A(L,b){for(var R=0,I=0,O=L.length;IMath.abs(C)?(o.boxEnd[1]=o.boxStart[1]+Math.abs(y)*F*(C>=0?1:-1),o.boxEnd[1]<_[1]?(o.boxEnd[1]=_[1],o.boxEnd[0]=o.boxStart[0]+(_[1]-o.boxStart[1])/Math.abs(F)):o.boxEnd[1]>_[3]&&(o.boxEnd[1]=_[3],o.boxEnd[0]=o.boxStart[0]+(_[3]-o.boxStart[1])/Math.abs(F))):(o.boxEnd[0]=o.boxStart[0]+Math.abs(C)/F*(y>=0?1:-1),o.boxEnd[0]<_[0]?(o.boxEnd[0]=_[0],o.boxEnd[1]=o.boxStart[1]+(_[0]-o.boxStart[0])*Math.abs(F)):o.boxEnd[0]>_[2]&&(o.boxEnd[0]=_[2],o.boxEnd[1]=o.boxStart[1]+(_[2]-o.boxStart[0])*Math.abs(F)))}}else o.boxEnabled?(y=o.boxStart[0]!==o.boxEnd[0],C=o.boxStart[1]!==o.boxEnd[1],y||C?(y&&(b(0,o.boxStart[0],o.boxEnd[0]),l.xaxis.autorange=!1),C&&(b(1,o.boxStart[1],o.boxEnd[1]),l.yaxis.autorange=!1),l.relayoutCallback()):l.glplot.setDirty(),o.boxEnabled=!1,o.boxInited=!1):o.boxInited&&(o.boxInited=!1);break;case"pan":o.boxEnabled=!1,o.boxInited=!1,c?(o.panning||(o.dragStart[0]=m,o.dragStart[1]=w),Math.abs(o.dragStart[0]-m).999&&(x="turntable"):x="turntable")}else x="turntable";h("dragmode",x),h("hovermode",c.getDfltFromLayout("hovermode"))}T.exports=function(o,s,h){var c=s._basePlotModules.length>1;M(o,s,h,{type:a,attributes:f,handleDefaults:u,fullLayout:s,font:s.font,fullData:h,getDfltFromLayout:function(m){if(!c)return d.validate(o[m],f[m])?o[m]:void 0},autotypenumbersDflt:s.autotypenumbers,paper_bgcolor:s.paper_bgcolor,calendar:s.calendar})}},65500:function(T,p,t){var d=t(77894),g=t(27670).Y,i=t(1426).extendFlat,M=t(71828).counterRegex;function v(f,l,a){return{x:{valType:"number",dflt:f,editType:"camera"},y:{valType:"number",dflt:l,editType:"camera"},z:{valType:"number",dflt:a,editType:"camera"},editType:"camera"}}T.exports={_arrayAttrRegexps:[M("scene",".annotations",!0)],bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"plot"},camera:{up:i(v(0,0,1),{}),center:i(v(0,0,0),{}),eye:i(v(1.25,1.25,1.25),{}),projection:{type:{valType:"enumerated",values:["perspective","orthographic"],dflt:"perspective",editType:"calc"},editType:"calc"},editType:"camera"},domain:g({name:"scene",editType:"plot"}),aspectmode:{valType:"enumerated",values:["auto","cube","data","manual"],dflt:"auto",editType:"plot",impliedEdits:{"aspectratio.x":void 0,"aspectratio.y":void 0,"aspectratio.z":void 0}},aspectratio:{x:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},y:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},z:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},editType:"plot",impliedEdits:{aspectmode:"manual"}},xaxis:d,yaxis:d,zaxis:d,dragmode:{valType:"enumerated",values:["orbit","turntable","zoom","pan",!1],editType:"plot"},hovermode:{valType:"enumerated",values:["closest",!1],dflt:"closest",editType:"modebar"},uirevision:{valType:"any",editType:"none"},editType:"plot",_deprecated:{cameraposition:{valType:"info_array",editType:"camera"}}}},13133:function(T,p,t){var d=t(78614),g=["xaxis","yaxis","zaxis"];function i(){this.enabled=[!0,!0,!0],this.colors=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.drawSides=[!0,!0,!0],this.lineWidth=[1,1,1]}i.prototype.merge=function(M){for(var v=0;v<3;++v){var f=M[g[v]];f.visible?(this.enabled[v]=f.showspikes,this.colors[v]=d(f.spikecolor),this.drawSides[v]=f.spikesides,this.lineWidth[v]=f.spikethickness):(this.enabled[v]=!1,this.drawSides[v]=!1)}},T.exports=function(M){var v=new i;return v.merge(M),v}},96085:function(T,p,t){T.exports=function(v){for(var f=v.axesOptions,l=v.glplot.axesPixels,a=v.fullSceneLayout,u=[[],[],[]],o=0;o<3;++o){var s=a[i[o]];if(s._length=(l[o].hi-l[o].lo)*l[o].pixelsPerDataUnit/v.dataScale[o],Math.abs(s._length)===1/0||isNaN(s._length))u[o]=[];else{s._input_range=s.range.slice(),s.range[0]=l[o].lo/v.dataScale[o],s.range[1]=l[o].hi/v.dataScale[o],s._m=1/(v.dataScale[o]*l[o].pixelsPerDataUnit),s.range[0]===s.range[1]&&(s.range[0]-=1,s.range[1]+=1);var h=s.tickmode;if(s.tickmode==="auto"){s.tickmode="linear";var c=s.nticks||g.constrain(s._length/40,4,9);d.autoTicks(s,Math.abs(s.range[1]-s.range[0])/c)}for(var m=d.calcTicks(s,{msUTC:!0}),w=0;w/g," "));u[o]=m,s.tickmode=h}}for(f.ticks=u,o=0;o<3;++o)for(M[o]=.5*(v.glplot.bounds[0][o]+v.glplot.bounds[1][o]),w=0;w<2;++w)f.bounds[w][o]=v.glplot.bounds[w][o];v.contourLevels=function(y){for(var C=new Array(3),_=0;_<3;++_){for(var k=y[_],E=new Array(k.length),x=0;xB.deltaY?1.1:.9090909090909091,W=R.glplot.getAspectratio();R.glplot.setAspectratio({x:N*W.x,y:N*W.y,z:N*W.z})}F(R)}},!!l&&{passive:!1}),R.glplot.canvas.addEventListener("mousemove",function(){if(R.fullSceneLayout.dragmode!==!1&&R.camera.mouseListener.buttons!==0){var B=z();R.graphDiv.emit("plotly_relayouting",B)}}),R.staticMode||R.glplot.canvas.addEventListener("webglcontextlost",function(B){I&&I.emit&&I.emit("plotly_webglcontextlost",{event:B,layer:R.id})},!1)),R.glplot.oncontextloss=function(){R.recoverContext()},R.glplot.onrender=function(){R.render()},!0},x.render=function(){var R,I=this,O=I.graphDiv,z=I.svgContainer,F=I.container.getBoundingClientRect();O._fullLayout._calcInverseTransform(O);var B=O._fullLayout._invScaleX,N=O._fullLayout._invScaleY,W=F.width*B,j=F.height*N;z.setAttributeNS(null,"viewBox","0 0 "+W+" "+j),z.setAttributeNS(null,"width",W),z.setAttributeNS(null,"height",j),_(I),I.glplot.axes.update(I.axesOptions);for(var $=Object.keys(I.traces),U=null,G=I.glplot.selection,q=0;q<$.length;++q)(R=I.traces[$[q]]).data.hoverinfo!=="skip"&&R.handlePick(G)&&(U=R),R.setContourLevels&&R.setContourLevels();function H(me,pe,xe){var Pe=I.fullSceneLayout[me+"axis"];return Pe.type!=="log"&&(pe=Pe.d2l(pe)),s.hoverLabelText(Pe,pe,xe)}if(U!==null){var ne=w(I.glplot.cameraParams,G.dataCoordinate);R=U.data;var te,Z=O._fullData[R.index],X=G.index,Q={xLabel:H("x",G.traceCoordinate[0],R.xhoverformat),yLabel:H("y",G.traceCoordinate[1],R.yhoverformat),zLabel:H("z",G.traceCoordinate[2],R.zhoverformat)},re=h.castHoverinfo(Z,I.fullLayout,X),ie=(re||"").split("+"),oe=re&&re==="all";Z.hovertemplate||oe||(ie.indexOf("x")===-1&&(Q.xLabel=void 0),ie.indexOf("y")===-1&&(Q.yLabel=void 0),ie.indexOf("z")===-1&&(Q.zLabel=void 0),ie.indexOf("text")===-1&&(G.textLabel=void 0),ie.indexOf("name")===-1&&(U.name=void 0));var ue=[];R.type==="cone"||R.type==="streamtube"?(Q.uLabel=H("x",G.traceCoordinate[3],R.uhoverformat),(oe||ie.indexOf("u")!==-1)&&ue.push("u: "+Q.uLabel),Q.vLabel=H("y",G.traceCoordinate[4],R.vhoverformat),(oe||ie.indexOf("v")!==-1)&&ue.push("v: "+Q.vLabel),Q.wLabel=H("z",G.traceCoordinate[5],R.whoverformat),(oe||ie.indexOf("w")!==-1)&&ue.push("w: "+Q.wLabel),Q.normLabel=G.traceCoordinate[6].toPrecision(3),(oe||ie.indexOf("norm")!==-1)&&ue.push("norm: "+Q.normLabel),R.type==="streamtube"&&(Q.divergenceLabel=G.traceCoordinate[7].toPrecision(3),(oe||ie.indexOf("divergence")!==-1)&&ue.push("divergence: "+Q.divergenceLabel)),G.textLabel&&ue.push(G.textLabel),te=ue.join("
")):R.type==="isosurface"||R.type==="volume"?(Q.valueLabel=s.hoverLabelText(I._mockAxis,I._mockAxis.d2l(G.traceCoordinate[3]),R.valuehoverformat),ue.push("value: "+Q.valueLabel),G.textLabel&&ue.push(G.textLabel),te=ue.join("
")):te=G.textLabel;var ce={x:G.traceCoordinate[0],y:G.traceCoordinate[1],z:G.traceCoordinate[2],data:Z._input,fullData:Z,curveNumber:Z.index,pointNumber:X};h.appendArrayPointValue(ce,Z,X),R._module.eventData&&(ce=Z._module.eventData(ce,G,Z,{},X));var ye={points:[ce]};if(I.fullSceneLayout.hovermode){var de=[];h.loneHover({trace:Z,x:(.5+.5*ne[0]/ne[3])*W,y:(.5-.5*ne[1]/ne[3])*j,xLabel:Q.xLabel,yLabel:Q.yLabel,zLabel:Q.zLabel,text:te,name:U.name,color:h.castHoverOption(Z,X,"bgcolor")||U.color,borderColor:h.castHoverOption(Z,X,"bordercolor"),fontFamily:h.castHoverOption(Z,X,"font.family"),fontSize:h.castHoverOption(Z,X,"font.size"),fontColor:h.castHoverOption(Z,X,"font.color"),nameLength:h.castHoverOption(Z,X,"namelength"),textAlign:h.castHoverOption(Z,X,"align"),hovertemplate:u.castOption(Z,X,"hovertemplate"),hovertemplateLabels:u.extendFlat({},ce,Q),eventData:[ce]},{container:z,gd:O,inOut_bbox:de}),ce.bbox=de[0]}G.distance<5&&(G.buttons||k)?O.emit("plotly_click",ye):O.emit("plotly_hover",ye),this.oldEventData=ye}else h.loneUnhover(z),this.oldEventData&&O.emit("plotly_unhover",this.oldEventData),this.oldEventData=void 0;I.drawAnnotations(I)},x.recoverContext=function(){var R=this;R.glplot.dispose();var I=function(){R.glplot.gl.isContextLost()?requestAnimationFrame(I):R.initializeGLPlot()?R.plot.apply(R,R.plotArgs):u.error("Catastrophic and unrecoverable WebGL error. Context lost.")};requestAnimationFrame(I)};var L=["xaxis","yaxis","zaxis"];function b(R,I,O){for(var z=R.fullSceneLayout,F=0;F<3;F++){var B=L[F],N=B.charAt(0),W=z[B],j=I[N],$=I[N+"calendar"],U=I["_"+N+"length"];if(u.isArrayOrTypedArray(j))for(var G,q=0;q<(U||j.length);q++)if(u.isArrayOrTypedArray(j[q]))for(var H=0;HZ[1][N])Z[0][N]=-1,Z[1][N]=1;else{var pe=Z[1][N]-Z[0][N];Z[0][N]-=pe/32,Z[1][N]+=pe/32}if(j.autorange==="reversed"){var xe=Z[0][N];Z[0][N]=Z[1][N],Z[1][N]=xe}}else{var Pe=j.range;Z[0][N]=j.r2l(Pe[0]),Z[1][N]=j.r2l(Pe[1])}Z[0][N]===Z[1][N]&&(Z[0][N]-=1,Z[1][N]+=1),X[N]=Z[1][N]-Z[0][N],z.glplot.setBounds(N,{min:Z[0][N]*H[N],max:Z[1][N]*H[N]})}var _e=U.aspectmode;if(_e==="cube")te=[1,1,1];else if(_e==="manual"){var Me=U.aspectratio;te=[Me.x,Me.y,Me.z]}else{if(_e!=="auto"&&_e!=="data")throw new Error("scene.js aspectRatio was not one of the enumerated types");var Se=[1,1,1];for(N=0;N<3;++N){var Ce=Q[$=(j=U[L[N]]).type];Se[N]=Math.pow(Ce.acc,1/Ce.count)/H[N]}te=_e==="data"||Math.max.apply(null,Se)/Math.min.apply(null,Se)<=4?Se:[1,1,1]}U.aspectratio.x=G.aspectratio.x=te[0],U.aspectratio.y=G.aspectratio.y=te[1],U.aspectratio.z=G.aspectratio.z=te[2],z.glplot.setAspectratio(U.aspectratio),z.viewInitial.aspectratio||(z.viewInitial.aspectratio={x:U.aspectratio.x,y:U.aspectratio.y,z:U.aspectratio.z}),z.viewInitial.aspectmode||(z.viewInitial.aspectmode=U.aspectmode);var ae=U.domain||null,fe=I._size||null;if(ae&&fe){var be=z.container.style;be.position="absolute",be.left=fe.l+ae.x[0]*fe.w+"px",be.top=fe.t+(1-ae.y[1])*fe.h+"px",be.width=fe.w*(ae.x[1]-ae.x[0])+"px",be.height=fe.h*(ae.y[1]-ae.y[0])+"px"}z.glplot.redraw()}},x.destroy=function(){var R=this;R.glplot&&(R.camera.mouseListener.enabled=!1,R.container.removeEventListener("wheel",R.camera.wheelListener),R.camera=null,R.glplot.dispose(),R.container.parentNode.removeChild(R.container),R.glplot=null)},x.getCamera=function(){var R,I=this;return I.camera.view.recalcMatrix(I.camera.view.lastT()),{up:{x:(R=I.camera).up[0],y:R.up[1],z:R.up[2]},center:{x:R.center[0],y:R.center[1],z:R.center[2]},eye:{x:R.eye[0],y:R.eye[1],z:R.eye[2]},projection:{type:R._ortho===!0?"orthographic":"perspective"}}},x.setViewport=function(R){var I,O=this,z=R.camera;O.camera.lookAt.apply(this,[[(I=z).eye.x,I.eye.y,I.eye.z],[I.center.x,I.center.y,I.center.z],[I.up.x,I.up.y,I.up.z]]),O.glplot.setAspectratio(R.aspectratio),z.projection.type==="orthographic"!==O.camera._ortho&&(O.glplot.redraw(),O.glplot.clearRGBA(),O.glplot.dispose(),O.initializeGLPlot())},x.isCameraChanged=function(R){var I=this.getCamera(),O=u.nestedProperty(R,this.id+".camera").get();function z(W,j,$,U){var G=["up","center","eye"],q=["x","y","z"];return j[G[$]]&&W[G[$]][q[U]]===j[G[$]][q[U]]}var F=!1;if(O===void 0)F=!0;else{for(var B=0;B<3;B++)for(var N=0;N<3;N++)if(!z(I,O,B,N)){F=!0;break}(!O.projection||I.projection&&I.projection.type!==O.projection.type)&&(F=!0)}return F},x.isAspectChanged=function(R){var I=this.glplot.getAspectratio(),O=u.nestedProperty(R,this.id+".aspectratio").get();return O===void 0||O.x!==I.x||O.y!==I.y||O.z!==I.z},x.saveLayout=function(R){var I,O,z,F,B,N,W=this,j=W.fullLayout,$=W.isCameraChanged(R),U=W.isAspectChanged(R),G=$||U;if(G){var q={};$&&(I=W.getCamera(),z=(O=u.nestedProperty(R,W.id+".camera")).get(),q[W.id+".camera"]=z),U&&(F=W.glplot.getAspectratio(),N=(B=u.nestedProperty(R,W.id+".aspectratio")).get(),q[W.id+".aspectratio"]=N),a.call("_storeDirectGUIEdit",R,j._preGUI,q),$&&(O.set(I),u.nestedProperty(j,W.id+".camera").set(I)),U&&(B.set(F),u.nestedProperty(j,W.id+".aspectratio").set(F),W.glplot.redraw())}return G},x.updateFx=function(R,I){var O=this,z=O.camera;if(z)if(R==="orbit")z.mode="orbit",z.keyBindingMode="rotate";else if(R==="turntable"){z.up=[0,0,1],z.mode="turntable",z.keyBindingMode="rotate";var F=O.graphDiv,B=F._fullLayout,N=O.fullSceneLayout.camera,W=N.up.x,j=N.up.y,$=N.up.z;if($/Math.sqrt(W*W+j*j+$*$)<.999){var U=O.id+".camera.up",G={x:0,y:0,z:1},q={};q[U]=G;var H=F.layout;a.call("_storeDirectGUIEdit",H,B._preGUI,q),N.up=G,u.nestedProperty(H,U).set(G)}}else z.keyBindingMode=R;O.fullSceneLayout.hovermode=I},x.toImage=function(R){var I=this;R||(R="png"),I.staticMode&&I.container.appendChild(d),I.glplot.redraw();var O=I.glplot.gl,z=O.drawingBufferWidth,F=O.drawingBufferHeight;O.bindFramebuffer(O.FRAMEBUFFER,null);var B=new Uint8Array(z*F*4);O.readPixels(0,0,z,F,O.RGBA,O.UNSIGNED_BYTE,B),function(U,G,q){for(var H=0,ne=q-1;H0)for(var X=255/Z,Q=0;Q<3;++Q)U[te+Q]=Math.min(X*U[te+Q],255)}}(B,z,F);var N=document.createElement("canvas");N.width=z,N.height=F;var W,j=N.getContext("2d",{willReadFrequently:!0}),$=j.createImageData(z,F);switch($.data.set(B),j.putImageData($,0,0),R){case"jpeg":W=N.toDataURL("image/jpeg");break;case"webp":W=N.toDataURL("image/webp");break;default:W=N.toDataURL("image/png")}return I.staticMode&&I.container.removeChild(d),W},x.setConvert=function(){for(var R=0;R<3;R++){var I=this.fullSceneLayout[L[R]];s.setConvert(I,this.fullLayout),I.setScale=u.noop}},x.make4thDimension=function(){var R=this,I=R.graphDiv._fullLayout;R._mockAxis={type:"linear",showexponent:"all",exponentformat:"B"},s.setConvert(R._mockAxis,I)},T.exports=E},90060:function(T){T.exports=function(p,t,d,g){g=g||p.length;for(var i=new Array(g),M=0;MOpenStreetMap contributors',i=['© Carto',g].join(" "),M=['Map tiles by Stamen Design','under CC BY 3.0',"|",'Data by OpenStreetMap contributors','under ODbL'].join(" "),v={"open-street-map":{id:"osm",version:8,sources:{"plotly-osm-tiles":{type:"raster",attribution:g,tiles:["https://a.tile.openstreetmap.org/{z}/{x}/{y}.png","https://b.tile.openstreetmap.org/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-osm-tiles",type:"raster",source:"plotly-osm-tiles",minzoom:0,maxzoom:22}]},"white-bg":{id:"white-bg",version:8,sources:{},layers:[{id:"white-bg",type:"background",paint:{"background-color":"#FFFFFF"},minzoom:0,maxzoom:22}]},"carto-positron":{id:"carto-positron",version:8,sources:{"plotly-carto-positron":{type:"raster",attribution:i,tiles:["https://cartodb-basemaps-c.global.ssl.fastly.net/light_all/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-carto-positron",type:"raster",source:"plotly-carto-positron",minzoom:0,maxzoom:22}]},"carto-darkmatter":{id:"carto-darkmatter",version:8,sources:{"plotly-carto-darkmatter":{type:"raster",attribution:i,tiles:["https://cartodb-basemaps-c.global.ssl.fastly.net/dark_all/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-carto-darkmatter",type:"raster",source:"plotly-carto-darkmatter",minzoom:0,maxzoom:22}]},"stamen-terrain":{id:"stamen-terrain",version:8,sources:{"plotly-stamen-terrain":{type:"raster",attribution:M,tiles:["https://stamen-tiles.a.ssl.fastly.net/terrain/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-terrain",type:"raster",source:"plotly-stamen-terrain",minzoom:0,maxzoom:22}]},"stamen-toner":{id:"stamen-toner",version:8,sources:{"plotly-stamen-toner":{type:"raster",attribution:M,tiles:["https://stamen-tiles.a.ssl.fastly.net/toner/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-toner",type:"raster",source:"plotly-stamen-toner",minzoom:0,maxzoom:22}]},"stamen-watercolor":{id:"stamen-watercolor",version:8,sources:{"plotly-stamen-watercolor":{type:"raster",attribution:['Map tiles by Stamen Design','under CC BY 3.0',"|",'Data by OpenStreetMap contributors','under CC BY SA'].join(" "),tiles:["https://stamen-tiles.a.ssl.fastly.net/watercolor/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-watercolor",type:"raster",source:"plotly-stamen-watercolor",minzoom:0,maxzoom:22}]}},f=d(v);T.exports={requiredVersion:"1.10.1",styleUrlPrefix:"mapbox://styles/mapbox/",styleUrlSuffix:"v9",styleValuesMapbox:["basic","streets","outdoors","light","dark","satellite","satellite-streets"],styleValueDflt:"basic",stylesNonMapbox:v,styleValuesNonMapbox:f,traceLayerPrefix:"plotly-trace-layer-",layoutLayerPrefix:"plotly-layout-layer-",wrongVersionErrorMsg:["Your custom plotly.js bundle is not using the correct mapbox-gl version","Please install mapbox-gl@1.10.1."].join(` `),noAccessTokenErrorMsg:["Missing Mapbox access token.","Mapbox trace type require a Mapbox access token to be registered.","For example:"," Plotly.newPlot(gd, data, layout, { mapboxAccessToken: 'my-access-token' });","More info here: https://www.mapbox.com/help/define-access-token/"].join(` `),missingStyleErrorMsg:["No valid mapbox style found, please set `mapbox.style` to one of:",f.join(", "),"or register a Mapbox access token to use a Mapbox-served style."].join(` `),multipleTokensErrorMsg:["Set multiple mapbox access token across different mapbox subplot,","using first token found as mapbox-gl does not allow multipleaccess tokens on the same page."].join(` -`),mapOnErrorMsg:"Mapbox error.",mapboxLogo:{path0:"m 10.5,1.24 c -5.11,0 -9.25,4.15 -9.25,9.25 0,5.1 4.15,9.25 9.25,9.25 5.1,0 9.25,-4.15 9.25,-9.25 0,-5.11 -4.14,-9.25 -9.25,-9.25 z m 4.39,11.53 c -1.93,1.93 -4.78,2.31 -6.7,2.31 -0.7,0 -1.41,-0.05 -2.1,-0.16 0,0 -1.02,-5.64 2.14,-8.81 0.83,-0.83 1.95,-1.28 3.13,-1.28 1.27,0 2.49,0.51 3.39,1.42 1.84,1.84 1.89,4.75 0.14,6.52 z",path1:"M 10.5,-0.01 C 4.7,-0.01 0,4.7 0,10.49 c 0,5.79 4.7,10.5 10.5,10.5 5.8,0 10.5,-4.7 10.5,-10.5 C 20.99,4.7 16.3,-0.01 10.5,-0.01 Z m 0,19.75 c -5.11,0 -9.25,-4.15 -9.25,-9.25 0,-5.1 4.14,-9.26 9.25,-9.26 5.11,0 9.25,4.15 9.25,9.25 0,5.13 -4.14,9.26 -9.25,9.26 z",path2:"M 14.74,6.25 C 12.9,4.41 9.98,4.35 8.23,6.1 5.07,9.27 6.09,14.91 6.09,14.91 c 0,0 5.64,1.02 8.81,-2.14 C 16.64,11 16.59,8.09 14.74,6.25 Z m -2.27,4.09 -0.91,1.87 -0.9,-1.87 -1.86,-0.91 1.86,-0.9 0.9,-1.87 0.91,1.87 1.86,0.9 z",polygon:"11.56,12.21 10.66,10.34 8.8,9.43 10.66,8.53 11.56,6.66 12.47,8.53 14.33,9.43 12.47,10.34"},styleRules:{map:"overflow:hidden;position:relative;","missing-css":"display:none;",canary:"background-color:salmon;","ctrl-bottom-left":"position: absolute; pointer-events: none; z-index: 2; bottom: 0; left: 0;","ctrl-bottom-right":"position: absolute; pointer-events: none; z-index: 2; right: 0; bottom: 0;",ctrl:"clear: both; pointer-events: auto; transform: translate(0, 0);","ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-inner":"display: none;","ctrl-attrib.mapboxgl-compact:hover .mapboxgl-ctrl-attrib-inner":"display: block; margin-top:2px","ctrl-attrib.mapboxgl-compact:hover":"padding: 2px 24px 2px 4px; visibility: visible; margin-top: 6px;","ctrl-attrib.mapboxgl-compact::after":`content: ""; cursor: pointer; position: absolute; background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"%3E %3Cpath fill="%23333333" fill-rule="evenodd" d="M4,10a6,6 0 1,0 12,0a6,6 0 1,0 -12,0 M9,7a1,1 0 1,0 2,0a1,1 0 1,0 -2,0 M9,10a1,1 0 1,1 2,0l0,3a1,1 0 1,1 -2,0"/%3E %3C/svg%3E'); background-color: rgba(255, 255, 255, 0.5); width: 24px; height: 24px; box-sizing: border-box; border-radius: 12px;`,"ctrl-attrib.mapboxgl-compact":"min-height: 20px; padding: 0; margin: 10px; position: relative; background-color: #fff; border-radius: 3px 12px 12px 3px;","ctrl-bottom-right > .mapboxgl-ctrl-attrib.mapboxgl-compact::after":"bottom: 0; right: 0","ctrl-bottom-left > .mapboxgl-ctrl-attrib.mapboxgl-compact::after":"bottom: 0; left: 0","ctrl-bottom-left .mapboxgl-ctrl":"margin: 0 0 10px 10px; float: left;","ctrl-bottom-right .mapboxgl-ctrl":"margin: 0 10px 10px 0; float: right;","ctrl-attrib":"color: rgba(0, 0, 0, 0.75); text-decoration: none; font-size: 12px","ctrl-attrib a":"color: rgba(0, 0, 0, 0.75); text-decoration: none; font-size: 12px","ctrl-attrib a:hover":"color: inherit; text-decoration: underline;","ctrl-attrib .mapbox-improve-map":"font-weight: bold; margin-left: 2px;","attrib-empty":"display: none;","ctrl-logo":`display:block; width: 21px; height: 21px; background-image: url('data:image/svg+xml;charset=utf-8,%3C?xml version="1.0" encoding="utf-8"?%3E %3Csvg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 21 21" style="enable-background:new 0 0 21 21;" xml:space="preserve"%3E%3Cg transform="translate(0,0.01)"%3E%3Cpath d="m 10.5,1.24 c -5.11,0 -9.25,4.15 -9.25,9.25 0,5.1 4.15,9.25 9.25,9.25 5.1,0 9.25,-4.15 9.25,-9.25 0,-5.11 -4.14,-9.25 -9.25,-9.25 z m 4.39,11.53 c -1.93,1.93 -4.78,2.31 -6.7,2.31 -0.7,0 -1.41,-0.05 -2.1,-0.16 0,0 -1.02,-5.64 2.14,-8.81 0.83,-0.83 1.95,-1.28 3.13,-1.28 1.27,0 2.49,0.51 3.39,1.42 1.84,1.84 1.89,4.75 0.14,6.52 z" style="opacity:0.9;fill:%23ffffff;enable-background:new" class="st0"/%3E%3Cpath d="M 10.5,-0.01 C 4.7,-0.01 0,4.7 0,10.49 c 0,5.79 4.7,10.5 10.5,10.5 5.8,0 10.5,-4.7 10.5,-10.5 C 20.99,4.7 16.3,-0.01 10.5,-0.01 Z m 0,19.75 c -5.11,0 -9.25,-4.15 -9.25,-9.25 0,-5.1 4.14,-9.26 9.25,-9.26 5.11,0 9.25,4.15 9.25,9.25 0,5.13 -4.14,9.26 -9.25,9.26 z" style="opacity:0.35;enable-background:new" class="st1"/%3E%3Cpath d="M 14.74,6.25 C 12.9,4.41 9.98,4.35 8.23,6.1 5.07,9.27 6.09,14.91 6.09,14.91 c 0,0 5.64,1.02 8.81,-2.14 C 16.64,11 16.59,8.09 14.74,6.25 Z m -2.27,4.09 -0.91,1.87 -0.9,-1.87 -1.86,-0.91 1.86,-0.9 0.9,-1.87 0.91,1.87 1.86,0.9 z" style="opacity:0.35;enable-background:new" class="st1"/%3E%3Cpolygon points="11.56,12.21 10.66,10.34 8.8,9.43 10.66,8.53 11.56,6.66 12.47,8.53 14.33,9.43 12.47,10.34 " style="opacity:0.9;fill:%23ffffff;enable-background:new" class="st0"/%3E%3C/g%3E%3C/svg%3E')`}}},13056:function(T,p,t){var d=t(71828);T.exports=function(g,i){var M=g.split(" "),v=M[0],f=M[1],l=d.isArrayOrTypedArray(i)?d.mean(i):i,a=.5+l/100,u=1.5+l/100,o=["",""],s=[0,0];switch(v){case"top":o[0]="top",s[1]=-u;break;case"bottom":o[0]="bottom",s[1]=u}switch(f){case"left":o[1]="right",s[0]=-a;break;case"right":o[1]="left",s[0]=a}return{anchor:o[0]&&o[1]?o.join("-"):o[0]?o[0]:o[1]?o[1]:"center",offset:s}}},50101:function(T,p,t){var d=t(44517),g=t(71828),i=g.strTranslate,M=g.strScale,v=t(27659).AU,f=t(77922),l=t(39898),a=t(91424),u=t(63893),o=t(10481),s="mapbox",c=p.constants=t(77734);function h(m){return typeof m=="string"&&(c.styleValuesMapbox.indexOf(m)!==-1||m.indexOf("mapbox://")===0)}p.name=s,p.attr="subplot",p.idRoot=s,p.idRegex=p.attrRegex=g.counterRegex(s),p.attributes={subplot:{valType:"subplotid",dflt:"mapbox",editType:"calc"}},p.layoutAttributes=t(23585),p.supplyLayoutDefaults=t(77882),p.plot=function(m){var w=m._fullLayout,y=m.calcdata,S=w._subplots.mapbox;if(d.version!==c.requiredVersion)throw new Error(c.wrongVersionErrorMsg);var _=function(b,R){var I=b._fullLayout;if(b._context.mapboxAccessToken==="")return"";for(var O=[],z=[],F=!1,B=!1,N=0;N1&&g.warn(c.multipleTokensErrorMsg),O[0]):(z.length&&g.log(["Listed mapbox access token(s)",z.join(","),"but did not use a Mapbox map style, ignoring token(s)."].join(" ")),"")}(m,S);d.accessToken=_;for(var k=0;kz/2){var F=b.split("|").join("
");I.text(F).attr("data-unformatted",F).call(u.convertToTspans,m),O=a.bBox(I.node())}I.attr("transform",i(-3,8-O.height)),R.insert("rect",".static-attribution").attr({x:-O.width-6,y:-O.height-3,width:O.width+6,height:O.height+3,fill:"rgba(255, 255, 255, 0.75)"});var B=1;O.width+6>z&&(B=z/(O.width+6));var N=[S.l+S.w*E.x[1],S.t+S.h*(1-E.y[0])];R.attr("transform",i(N[0],N[1])+M(B))}},p.updateFx=function(m){for(var w=m._fullLayout,y=w._subplots.mapbox,S=0;S0){for(var s=0;s0}function a(u){var o={},s={};switch(u.type){case"circle":d.extendFlat(s,{"circle-radius":u.circle.radius,"circle-color":u.color,"circle-opacity":u.opacity});break;case"line":d.extendFlat(s,{"line-width":u.line.width,"line-color":u.color,"line-opacity":u.opacity,"line-dasharray":u.line.dash});break;case"fill":d.extendFlat(s,{"fill-color":u.color,"fill-outline-color":u.fill.outlinecolor,"fill-opacity":u.opacity});break;case"symbol":var c=u.symbol,h=i(c.textposition,c.iconsize);d.extendFlat(o,{"icon-image":c.icon+"-15","icon-size":c.iconsize/10,"text-field":c.text,"text-size":c.textfont.size,"text-anchor":h.anchor,"text-offset":h.offset,"symbol-placement":c.placement}),d.extendFlat(s,{"icon-color":u.color,"text-color":c.textfont.color,"text-opacity":u.opacity});break;case"raster":d.extendFlat(s,{"raster-fade-duration":0,"raster-opacity":u.opacity})}return{layout:o,paint:s}}f.update=function(u){this.visible?this.needsNewImage(u)?this.updateImage(u):this.needsNewSource(u)?(this.removeLayer(),this.updateSource(u),this.updateLayer(u)):this.needsNewLayer(u)?this.updateLayer(u):this.updateStyle(u):(this.updateSource(u),this.updateLayer(u)),this.visible=l(u)},f.needsNewImage=function(u){return this.subplot.map.getSource(this.idSource)&&this.sourceType==="image"&&u.sourcetype==="image"&&(this.source!==u.source||JSON.stringify(this.coordinates)!==JSON.stringify(u.coordinates))},f.needsNewSource=function(u){return this.sourceType!==u.sourcetype||JSON.stringify(this.source)!==JSON.stringify(u.source)||this.layerType!==u.type},f.needsNewLayer=function(u){return this.layerType!==u.type||this.below!==this.subplot.belowLookup["layout-"+this.index]},f.lookupBelow=function(){return this.subplot.belowLookup["layout-"+this.index]},f.updateImage=function(u){this.subplot.map.getSource(this.idSource).updateImage({url:u.source,coordinates:u.coordinates});var o=this.findFollowingMapboxLayerId(this.lookupBelow());o!==null&&this.subplot.map.moveLayer(this.idLayer,o)},f.updateSource=function(u){var o=this.subplot.map;if(o.getSource(this.idSource)&&o.removeSource(this.idSource),this.sourceType=u.sourcetype,this.source=u.source,l(u)){var s=function(c){var h,m=c.sourcetype,w=c.source,y={type:m};return m==="geojson"?h="data":m==="vector"?h=typeof w=="string"?"url":"tiles":m==="raster"?(h="tiles",y.tileSize=256):m==="image"&&(h="url",y.coordinates=c.coordinates),y[h]=w,c.sourceattribution&&(y.attribution=g(c.sourceattribution)),y}(u);o.addSource(this.idSource,s)}},f.findFollowingMapboxLayerId=function(u){if(u==="traces")for(var o=this.subplot.getMapLayers(),s=0;s1)for(R=0;R-1&&m(N.originalEvent,I,[R.xaxis],[R.yaxis],R.id,B),W.indexOf("event")>-1&&l.click(I,N.originalEvent)}}},_.updateFx=function(L){var b=this,R=b.map,I=b.gd;if(!b.isStatic){var O,z=L.dragmode;O=function(N,W){W.isRect?(N.range={})[b.id]=[B([W.xmin,W.ymin]),B([W.xmax,W.ymax])]:(N.lassoPoints={})[b.id]=W.map(B)};var F=b.dragOptions;b.dragOptions=g.extendDeep(F||{},{dragmode:L.dragmode,element:b.div,gd:I,plotinfo:{id:b.id,domain:L[b.id].domain,xaxis:b.xaxis,yaxis:b.yaxis,fillRangeItems:O},xaxes:[b.xaxis],yaxes:[b.yaxis],subplot:b.id}),R.off("click",b.onClickInPanHandler),o(z)||u(z)?(R.dragPan.disable(),R.on("zoomstart",b.clearOutline),b.dragOptions.prepFn=function(N,W,j){s(N,W,j,b.dragOptions,z)},f.init(b.dragOptions)):(R.dragPan.enable(),R.off("zoomstart",b.clearOutline),b.div.onmousedown=null,b.div.ontouchstart=null,b.div.removeEventListener("touchstart",b.div._ontouchstart),b.onClickInPanHandler=b.onClickInPanFn(b.dragOptions),R.on("click",b.onClickInPanHandler))}function B(N){var W=b.map.unproject(N);return[W.lng,W.lat]}},_.updateFramework=function(L){var b=L[this.id].domain,R=L._size,I=this.div.style;I.width=R.w*(b.x[1]-b.x[0])+"px",I.height=R.h*(b.y[1]-b.y[0])+"px",I.left=R.l+b.x[0]*R.w+"px",I.top=R.t+(1-b.y[1])*R.h+"px",this.xaxis._offset=R.l+b.x[0]*R.w,this.xaxis._length=R.w*(b.x[1]-b.x[0]),this.yaxis._offset=R.t+(1-b.y[1])*R.h,this.yaxis._length=R.h*(b.y[1]-b.y[0])},_.updateLayers=function(L){var b,R=L[this.id].layers,I=this.layerList;if(R.length!==I.length){for(b=0;b=G.width-20?(ne["text-anchor"]="start",ne.x=5):(ne["text-anchor"]="end",ne.x=G._paper.attr("width")-7),q.attr(ne);var te=q.select(".js-link-to-tool"),Z=q.select(".js-link-spacer"),X=q.select(".js-sourcelinks");U._context.showSources&&U._context.showSources(U),U._context.showLink&&function(Q,re){re.text("");var ie=re.append("a").attr({"xlink:xlink:href":"#",class:"link--impt link--embedview","font-weight":"bold"}).text(Q._context.linkText+" "+String.fromCharCode(187));if(Q._context.sendData)ie.on("click",function(){k.sendDataToCloud(Q)});else{var oe=window.location.pathname.split("/"),ue=window.location.search;ie.attr({"xlink:xlink:show":"new","xlink:xlink:href":"/"+oe[2].split(".")[0]+"/"+oe[1]+ue})}}(U,te),Z.text(te.text()&&X.text()?" - ":"")}},k.sendDataToCloud=function(U){var G=(window.PLOTLYENV||{}).BASE_URL||U._context.plotlyServerURL;if(G){U.emit("plotly_beforeexport");var q=d.select(U).append("div").attr("id","hiddenform").style("display","none"),H=q.append("form").attr({action:G+"/external",method:"post",target:"_blank"});return H.append("input").attr({type:"text",name:"data"}).node().value=k.graphJson(U,!1,"keepdata"),H.node().submit(),q.remove(),U.emit("plotly_afterexport"),!1}};var A=["days","shortDays","months","shortMonths","periods","dateTime","date","time","decimal","thousands","grouping","currency"],L=["year","month","dayMonth","dayMonthYear"];function b(U,G){var q=U._context.locale;q||(q="en-US");var H=!1,ne={};function te(oe){for(var ue=!0,ce=0;ce1&&Se.length>1){for(v.getComponentMethod("grid","sizeDefaults")(Z,te),ne=0;ne15&&Se.length>15&&te.shapes.length===0&&te.images.length===0,k.linkSubplots(Q,te,X,H),k.cleanPlot(Q,te,X,H);var ke=!(!H._has||!H._has("gl2d")),Le=!(!te._has||!te._has("gl2d")),Be=!(!H._has||!H._has("cartesian"))||ke,ze=!(!te._has||!te._has("cartesian"))||Le;Be&&!ze?H._bgLayer.remove():ze&&!Be&&(te._shouldCreateBgLayer=!0),H._zoomlayer&&!U._dragging&&c({_fullLayout:H}),function(Ee,Ve){var $e,Ye=[];Ve.meta&&($e=Ve._meta={meta:Ve.meta,layout:{meta:Ve.meta}});for(var st=0;st0){var re=1-2*Z;H=Math.round(re*H),ne=Math.round(re*ne)}}var ie=k.layoutAttributes.width.min,oe=k.layoutAttributes.height.min;H1,ce=!G.height&&Math.abs(q.height-ne)>1;(ce||ue)&&(ue&&(q.width=H),ce&&(q.height=ne)),U._initialAutoSize||(U._initialAutoSize={width:H,height:ne}),k.sanitizeMargins(q)},k.supplyLayoutModuleDefaults=function(U,G,q,H){var ne,te,Z,X=v.componentsRegistry,Q=G._basePlotModules,re=v.subplotsRegistry.cartesian;for(ne in X)(Z=X[ne]).includeBasePlot&&Z.includeBasePlot(U,G);for(var ie in Q.length||Q.push(re),G._has("cartesian")&&(v.getComponentMethod("grid","contentDefaults")(U,G),re.finalizeSubplots(U,G)),G._subplots)G._subplots[ie].sort(a.subplotSort);for(te=0;te1&&(q.l/=me,q.r/=me)}if(ue){var pe=(q.t+q.b)/ue;pe>1&&(q.t/=pe,q.b/=pe)}var xe=q.xl!==void 0?q.xl:q.x,Pe=q.xr!==void 0?q.xr:q.x,_e=q.yt!==void 0?q.yt:q.y,Me=q.yb!==void 0?q.yb:q.y;ce[G]={l:{val:xe,size:q.l+de},r:{val:Pe,size:q.r+de},b:{val:Me,size:q.b+de},t:{val:_e,size:q.t+de}},ye[G]=1}else delete ce[G],delete ye[G];if(!H._replotting)return k.doAutoMargin(U)}},k.doAutoMargin=function(U){var G=U._fullLayout,q=G.width,H=G.height;G._size||(G._size={}),F(G);var ne=G._size,te=G.margin,Z={t:0,b:0,l:0,r:0},X=a.extendFlat({},ne),Q=U._fullLayout._reservedMargin;for(var re in Q)for(var ie in Q[re]){var oe=Q[re][ie];Z[ie]=Math.max(Z[ie],oe)}var ue=te.l,ce=te.r,ye=te.t,de=te.b,me=G._pushmargin,pe=G._pushmarginIds,xe=G.minreducedwidth,Pe=G.minreducedheight;if(G.margin.autoexpand!==!1){for(var _e in me)pe[_e]||delete me[_e];for(var Me in me.base={l:{val:0,size:ue},r:{val:1,size:ce},t:{val:1,size:ye},b:{val:0,size:de}},me){var Se=me[Me].l||{},Ce=me[Me].b||{},ae=Se.val,fe=Se.size,be=Ce.val,ke=Ce.size,Le=q-Z.r-Z.l,Be=H-Z.t-Z.b;for(var ze in me){if(M(fe)&&me[ze].r){var je=me[ze].r.val,ge=me[ze].r.size;if(je>ae){var we=(fe*je+(ge-Le)*ae)/(je-ae),Ee=(ge*(1-ae)+(fe-Le)*(1-je))/(je-ae);we+Ee>ue+ce&&(ue=we,ce=Ee)}}if(M(ke)&&me[ze].t){var Ve=me[ze].t.val,$e=me[ze].t.size;if(Ve>be){var Ye=(ke*Ve+($e-Be)*be)/(Ve-be),st=($e*(1-be)+(ke-Be)*(1-Ve))/(Ve-be);Ye+st>de+ye&&(de=Ye,ye=st)}}}}}var ot=a.constrain(q-te.l-te.r,2,xe),ht=a.constrain(H-te.t-te.b,2,Pe),bt=Math.max(0,q-ot),Et=Math.max(0,H-ht);if(bt){var kt=(ue+ce)/bt;kt>1&&(ue/=kt,ce/=kt)}if(Et){var xt=(de+ye)/Et;xt>1&&(de/=xt,ye/=xt)}if(ne.l=Math.round(ue)+Z.l,ne.r=Math.round(ce)+Z.r,ne.t=Math.round(ye)+Z.t,ne.b=Math.round(de)+Z.b,ne.p=Math.round(te.pad),ne.w=Math.round(q)-ne.l-ne.r,ne.h=Math.round(H)-ne.t-ne.b,!G._replotting&&(k.didMarginChange(X,ne)||function(Ot){if("_redrawFromAutoMarginCount"in Ot._fullLayout)return!1;var Bt=s.list(Ot,"",!0);for(var qt in Bt)if(Bt[qt].autoshift||Bt[qt].shift)return!0;return!1}(U))){"_redrawFromAutoMarginCount"in G?G._redrawFromAutoMarginCount++:G._redrawFromAutoMarginCount=1;var Ft=3*(1+Object.keys(pe).length);if(G._redrawFromAutoMarginCount0&&(U._transitioningWithDuration=!0),U._transitionData._interruptCallbacks.push(function(){H=!0}),q.redraw&&U._transitionData._interruptCallbacks.push(function(){return v.call("redraw",U)}),U._transitionData._interruptCallbacks.push(function(){U.emit("plotly_transitioninterrupted",[])});var X=0,Q=0;function re(){return X++,function(){var ie;Q++,H||Q!==X||(ie=Z,U._transitionData&&(function(oe){if(oe)for(;oe.length;)oe.shift()}(U._transitionData._interruptCallbacks),Promise.resolve().then(function(){if(q.redraw)return v.call("redraw",U)}).then(function(){U._transitioning=!1,U._transitioningWithDuration=!1,U.emit("plotly_transitioned",[])}).then(ie)))}}q.runFn(re),setTimeout(re())})}],te=a.syncOrAsync(ne,U);return te&&te.then||(te=Promise.resolve()),te.then(function(){return U})}k.didMarginChange=function(U,G){for(var q=0;q1)return!0}return!1},k.graphJson=function(U,G,q,H,ne,te){(ne&&G&&!U._fullData||ne&&!G&&!U._fullLayout)&&k.supplyDefaults(U);var Z=ne?U._fullData:U.data,X=ne?U._fullLayout:U.layout,Q=(U._transitionData||{})._frames;function re(ue,ce){if(typeof ue=="function")return ce?"_function_":null;if(a.isPlainObject(ue)){var ye,de={};return Object.keys(ue).sort().forEach(function(me){if(["_","["].indexOf(me.charAt(0))===-1)if(typeof ue[me]!="function"){if(q==="keepdata"){if(me.substr(me.length-3)==="src")return}else if(q==="keepstream"){if(typeof(ye=ue[me+"src"])=="string"&&ye.indexOf(":")>0&&!a.isPlainObject(ue.stream))return}else if(q!=="keepall"&&typeof(ye=ue[me+"src"])=="string"&&ye.indexOf(":")>0)return;de[me]=re(ue[me],ce)}else ce&&(de[me]="_function")}),de}return Array.isArray(ue)?ue.map(function(me){return re(me,ce)}):a.isTypedArray(ue)?a.simpleMap(ue,a.identity):a.isJSDate(ue)?a.ms2DateTimeLocal(+ue):ue}var ie={data:(Z||[]).map(function(ue){var ce=re(ue);return G&&delete ce.fit,ce})};if(!G&&(ie.layout=re(X),ne)){var oe=X._size;ie.layout.computed={margin:{b:oe.b,l:oe.l,r:oe.r,t:oe.t}}}return Q&&(ie.frames=re(Q)),te&&(ie.config=re(U._context,!0)),H==="object"?ie:JSON.stringify(ie)},k.modifyFrames=function(U,G){var q,H,ne,te=U._transitionData._frames,Z=U._transitionData._frameHash;for(q=0;q=0;te--)if(Me[te].enabled){q._indexToPoints=Me[te]._indexToPoints;break}H&&H.calc&&(_e=H.calc(U,q))}Array.isArray(_e)&&_e[0]||(_e=[{x:o,y:o}]),_e[0].t||(_e[0].t={}),_e[0].trace=q,re[xe]=_e}}for(j(Z,X,Q),ne=0;ne1e-10?s:0}function o(s,c,h){c=c||0,h=h||0;for(var m=s.length,w=new Array(m),y=0;y0?y:1/0}),m=d.mod(h+1,c.length);return[c[h],c[m]]},findIntersectionXY:l,findXYatLength:function(s,c,h,m){var w=-c*h,y=c*c+1,S=2*(c*w-h),_=w*w+h*h-s*s,k=Math.sqrt(S*S-4*y*_),E=(-S+k)/(2*y),x=(-S-k)/(2*y);return[[E,c*E+w+m],[x,c*x+w+m]]},clampTiny:u,pathPolygon:function(s,c,h,m,w,y){return"M"+o(a(s,c,h,m),w,y).join("L")},pathPolygonAnnulus:function(s,c,h,m,w,y,S){var _,k;s=90||kt>90&&xt>=450?1:Ot<=0&&qt<=0?0:Math.max(Ot,qt),[kt<=180&&xt>=180||kt>180&&xt>=540?-1:Ft>=0&&Bt>=0?0:Math.min(Ft,Bt),kt<=270&&xt>=270||kt>270&&xt>=630?-1:Ot>=0&&qt>=0?0:Math.min(Ot,qt),xt>=360?1:Ft<=0&&Bt<=0?0:Math.max(Ft,Bt),ht]}(pe),ae=Ce[2]-Ce[0],fe=Ce[3]-Ce[1],be=me/de,ke=Math.abs(fe/ae);be>ke?(xe=de,Se=(me-(Pe=de*ke))/ie.h/2,_e=[ce[0],ce[1]],Me=[ye[0]+Se,ye[1]-Se]):(Pe=me,Se=(de-(xe=me/ke))/ie.w/2,_e=[ce[0]+Se,ce[1]-Se],Me=[ye[0],ye[1]]),Q.xLength2=xe,Q.yLength2=Pe,Q.xDomain2=_e,Q.yDomain2=Me;var Le,Be=Q.xOffset2=ie.l+ie.w*_e[0],ze=Q.yOffset2=ie.t+ie.h*(1-Me[1]),je=Q.radius=xe/ae,ge=Q.innerRadius=Q.getHole(X)*je,we=Q.cx=Be-je*Ce[0],Ee=Q.cy=ze+je*Ce[3],Ve=Q.cxx=we-Be,$e=Q.cyy=Ee-ze,Ye=oe.side;Ye==="counterclockwise"?(Le=Ye,Ye="top"):Ye==="clockwise"&&(Le=Ye,Ye="bottom"),Q.radialAxis=Q.mockAxis(Z,X,oe,{_id:"x",side:Ye,_trueSide:Le,domain:[ge/ie.w,je/ie.w]}),Q.angularAxis=Q.mockAxis(Z,X,ue,{side:"right",domain:[0,Math.PI],autorange:!1}),Q.doAutoRange(Z,X),Q.updateAngularAxis(Z,X),Q.updateRadialAxis(Z,X),Q.updateRadialAxisTitle(Z,X),Q.xaxis=Q.mockCartesianAxis(Z,X,{_id:"x",domain:_e}),Q.yaxis=Q.mockCartesianAxis(Z,X,{_id:"y",domain:Me});var st=Q.pathSubplot();Q.clipPaths.forTraces.select("path").attr("d",st).attr("transform",f(Ve,$e)),re.frontplot.attr("transform",f(Be,ze)).call(a.setClipUrl,Q._hasClipOnAxisFalse?null:Q.clipIds.forTraces,Q.gd),re.bg.attr("d",st).attr("transform",f(we,Ee)).call(l.fill,X.bgcolor)},q.mockAxis=function(Z,X,Q,re){var ie=M.extendFlat({},Q,re);return c(ie,X,Z),ie},q.mockCartesianAxis=function(Z,X,Q){var re=this,ie=re.isSmith,oe=Q._id,ue=M.extendFlat({type:"linear"},Q);s(ue,Z);var ce={x:[0,2],y:[1,3]};return ue.setRange=function(){var ye=re.sectorBBox,de=ce[oe],me=re.radialAxis._rl,pe=(me[1]-me[0])/(1-re.getHole(X));ue.range=[ye[de[0]]*pe,ye[de[1]]*pe]},ue.isPtWithinRange=oe!=="x"||ie?function(){return!0}:function(ye){return re.isPtInside(ye)},ue.setRange(),ue.setScale(),ue},q.doAutoRange=function(Z,X){var Q=this,re=Q.gd,ie=Q.radialAxis,oe=Q.getRadial(X);h(re,ie);var ue=ie.range;oe.range=ue.slice(),oe._input.range=ue.slice(),ie._rl=[ie.r2l(ue[0],null,"gregorian"),ie.r2l(ue[1],null,"gregorian")]},q.updateRadialAxis=function(Z,X){var Q=this,re=Q.gd,ie=Q.layers,oe=Q.radius,ue=Q.innerRadius,ce=Q.cx,ye=Q.cy,de=Q.getRadial(X),me=j(Q.getSector(X)[0],360),pe=Q.radialAxis,xe=ue90&&me<=270&&(pe.tickangle=180);var _e=Pe?function(ze){var je=N(Q,z([ze.x,0]));return f(je[0]-ce,je[1]-ye)}:function(ze){return f(pe.l2p(ze.x)+ue,0)},Me=Pe?function(ze){return B(Q,ze.x,-1/0,1/0)}:function(ze){return Q.pathArc(pe.r2p(ze.x)+ue)},Se=H(de);if(Q.radialTickLayout!==Se&&(ie["radial-axis"].selectAll(".xtick").remove(),Q.radialTickLayout=Se),xe){pe.setScale();var Ce=0,ae=Pe?(pe.tickvals||[]).filter(function(ze){return ze>=0}).map(function(ze){return o.tickText(pe,ze,!0,!1)}):o.calcTicks(pe),fe=Pe?ae:o.clipEnds(pe,ae),be=o.getTickSigns(pe)[2];Pe&&((pe.ticks==="top"&&pe.side==="bottom"||pe.ticks==="bottom"&&pe.side==="top")&&(be=-be),pe.ticks==="top"&&pe.side==="top"&&(Ce=-pe.ticklen),pe.ticks==="bottom"&&pe.side==="bottom"&&(Ce=pe.ticklen)),o.drawTicks(re,pe,{vals:ae,layer:ie["radial-axis"],path:o.makeTickPath(pe,0,be),transFn:_e,crisp:!1}),o.drawGrid(re,pe,{vals:fe,layer:ie["radial-grid"],path:Me,transFn:M.noop,crisp:!1}),o.drawLabels(re,pe,{vals:ae,layer:ie["radial-axis"],transFn:_e,labelFns:o.makeLabelFns(pe,Ce)})}var ke=Q.radialAxisAngle=Q.vangles?U(ne($(de.angle),Q.vangles)):de.angle,Le=f(ce,ye),Be=Le+v(-ke);te(ie["radial-axis"],xe&&(de.showticklabels||de.ticks),{transform:Be}),te(ie["radial-grid"],xe&&de.showgrid,{transform:Pe?"":Le}),te(ie["radial-line"].select("line"),xe&&de.showline,{x1:Pe?-oe:ue,y1:0,x2:oe,y2:0,transform:Be}).attr("stroke-width",de.linewidth).call(l.stroke,de.linecolor)},q.updateRadialAxisTitle=function(Z,X,Q){if(!this.isSmith){var re=this,ie=re.gd,oe=re.radius,ue=re.cx,ce=re.cy,ye=re.getRadial(X),de=re.id+"title",me=0;if(ye.title){var pe=a.bBox(re.layers["radial-axis"].node()).height,xe=ye.title.font.size,Pe=ye.side;me=Pe==="top"?xe:Pe==="counterclockwise"?-(pe+.4*xe):pe+.8*xe}var _e=Q!==void 0?Q:re.radialAxisAngle,Me=$(_e),Se=Math.cos(Me),Ce=Math.sin(Me),ae=ue+oe/2*Se+me*Ce,fe=ce-oe/2*Ce+me*Se;re.layers["radial-axis-title"]=S.draw(ie,de,{propContainer:ye,propName:re.id+".radialaxis.title",placeholder:W(ie,"Click to enter radial axis title"),attributes:{x:ae,y:fe,"text-anchor":"middle"},transform:{rotate:-_e}})}},q.updateAngularAxis=function(Z,X){var Q=this,re=Q.gd,ie=Q.layers,oe=Q.radius,ue=Q.innerRadius,ce=Q.cx,ye=Q.cy,de=Q.getAngular(X),me=Q.angularAxis,pe=Q.isSmith;pe||(Q.fillViewInitialKey("angularaxis.rotation",de.rotation),me.setGeometry(),me.setScale());var xe=pe?function(ze){var je=N(Q,z([0,ze.x]));return Math.atan2(je[0]-ce,je[1]-ye)-Math.PI/2}:function(ze){return me.t2g(ze.x)};me.type==="linear"&&me.thetaunit==="radians"&&(me.tick0=U(me.tick0),me.dtick=U(me.dtick));var Pe=function(ze){return f(ce+oe*Math.cos(ze),ye-oe*Math.sin(ze))},_e=pe?function(ze){var je=N(Q,z([0,ze.x]));return f(je[0],je[1])}:function(ze){return Pe(xe(ze))},Me=pe?function(ze){var je=N(Q,z([0,ze.x])),ge=Math.atan2(je[0]-ce,je[1]-ye)-Math.PI/2;return f(je[0],je[1])+v(-U(ge))}:function(ze){var je=xe(ze);return Pe(je)+v(-U(je))},Se=pe?function(ze){return F(Q,ze.x,0,1/0)}:function(ze){var je=xe(ze),ge=Math.cos(je),we=Math.sin(je);return"M"+[ce+ue*ge,ye-ue*we]+"L"+[ce+oe*ge,ye-oe*we]},Ce=o.makeLabelFns(me,0).labelStandoff,ae={xFn:function(ze){var je=xe(ze);return Math.cos(je)*Ce},yFn:function(ze){var je=xe(ze),ge=Math.sin(je)>0?.2:1;return-Math.sin(je)*(Ce+ze.fontSize*ge)+Math.abs(Math.cos(je))*(ze.fontSize*b)},anchorFn:function(ze){var je=xe(ze),ge=Math.cos(je);return Math.abs(ge)<.1?"middle":ge>0?"start":"end"},heightFn:function(ze,je,ge){var we=xe(ze);return-.5*(1+Math.sin(we))*ge}},fe=H(de);Q.angularTickLayout!==fe&&(ie["angular-axis"].selectAll("."+me._id+"tick").remove(),Q.angularTickLayout=fe);var be,ke=pe?[1/0].concat(me.tickvals||[]).map(function(ze){return o.tickText(me,ze,!0,!1)}):o.calcTicks(me);if(pe&&(ke[0].text="∞",ke[0].fontSize*=1.75),X.gridshape==="linear"?(be=ke.map(xe),M.angleDelta(be[0],be[1])<0&&(be=be.slice().reverse())):be=null,Q.vangles=be,me.type==="category"&&(ke=ke.filter(function(ze){return M.isAngleInsideSector(xe(ze),Q.sectorInRad)})),me.visible){var Le=me.ticks==="inside"?-1:1,Be=(me.linewidth||1)/2;o.drawTicks(re,me,{vals:ke,layer:ie["angular-axis"],path:"M"+Le*Be+",0h"+Le*me.ticklen,transFn:Me,crisp:!1}),o.drawGrid(re,me,{vals:ke,layer:ie["angular-grid"],path:Se,transFn:M.noop,crisp:!1}),o.drawLabels(re,me,{vals:ke,layer:ie["angular-axis"],repositionOnUpdate:!0,transFn:_e,labelFns:ae})}te(ie["angular-line"].select("path"),de.showline,{d:Q.pathSubplot(),transform:f(ce,ye)}).attr("stroke-width",de.linewidth).call(l.stroke,de.linecolor)},q.updateFx=function(Z,X){this.gd._context.staticPlot||(!this.isSmith&&(this.updateAngularDrag(Z),this.updateRadialDrag(Z,X,0),this.updateRadialDrag(Z,X,1)),this.updateHoverAndMainDrag(Z))},q.updateHoverAndMainDrag=function(Z){var X,Q,re=this,ie=re.isSmith,oe=re.gd,ue=re.layers,ce=Z._zoomlayer,ye=R.MINZOOM,de=R.OFFEDGE,me=re.radius,pe=re.innerRadius,xe=re.cx,Pe=re.cy,_e=re.cxx,Me=re.cyy,Se=re.sectorInRad,Ce=re.vangles,ae=re.radialAxis,fe=I.clampTiny,be=I.findXYatLength,ke=I.findEnclosingVertexAngles,Le=R.cornerHalfWidth,Be=R.cornerLen/2,ze=m.makeDragger(ue,"path","maindrag",Z.dragmode===!1?"none":"crosshair");d.select(ze).attr("d",re.pathSubplot()).attr("transform",f(xe,Pe)),ze.onmousemove=function(Re){y.hover(oe,Re,re.id),oe._fullLayout._lasthover=ze,oe._fullLayout._hoversubplot=re.id},ze.onmouseout=function(Re){oe._dragging||w.unhover(oe,Re)};var je,ge,we,Ee,Ve,$e,Ye,st,ot,ht={element:ze,gd:oe,subplot:re.id,plotinfo:{id:re.id,xaxis:re.xaxis,yaxis:re.yaxis},xaxes:[re.xaxis],yaxes:[re.yaxis]};function bt(Re,Ne){return Math.sqrt(Re*Re+Ne*Ne)}function Et(Re,Ne){return bt(Re-_e,Ne-Me)}function kt(Re,Ne){return Math.atan2(Me-Ne,Re-_e)}function xt(Re,Ne){return[Re*Math.cos(Ne),Re*Math.sin(-Ne)]}function Ft(Re,Ne){if(Re===0)return re.pathSector(2*Le);var Qe=Be/Re,ut=Ne-Qe,dt=Ne+Qe,_t=Math.max(0,Math.min(Re,me)),It=_t-Le,Lt=_t+Le;return"M"+xt(It,ut)+"A"+[It,It]+" 0,0,0 "+xt(It,dt)+"L"+xt(Lt,dt)+"A"+[Lt,Lt]+" 0,0,1 "+xt(Lt,ut)+"Z"}function Ot(Re,Ne,Qe){if(Re===0)return re.pathSector(2*Le);var ut,dt,_t=xt(Re,Ne),It=xt(Re,Qe),Lt=fe((_t[0]+It[0])/2),yt=fe((_t[1]+It[1])/2);if(Lt&&yt){var Pt=yt/Lt,wt=-1/Pt,Rt=be(Le,Pt,Lt,yt);ut=be(Be,wt,Rt[0][0],Rt[0][1]),dt=be(Be,wt,Rt[1][0],Rt[1][1])}else{var Nt,Yt;yt?(Nt=Be,Yt=Le):(Nt=Le,Yt=Be),ut=[[Lt-Nt,yt-Yt],[Lt+Nt,yt-Yt]],dt=[[Lt-Nt,yt+Yt],[Lt+Nt,yt+Yt]]}return"M"+ut.join("L")+"L"+dt.reverse().join("L")+"Z"}function Bt(Re,Ne){return Ne=Math.max(Math.min(Ne,me),pe),Reye?(Re-1&&Re===1&&k(Ne,oe,[re.xaxis],[re.yaxis],re.id,ht),Qe.indexOf("event")>-1&&y.click(oe,Ne,re.id)}ht.prepFn=function(Re,Ne,Qe){var ut=oe._fullLayout.dragmode,dt=ze.getBoundingClientRect();oe._fullLayout._calcInverseTransform(oe);var _t=oe._fullLayout._invTransform;X=oe._fullLayout._invScaleX,Q=oe._fullLayout._invScaleY;var It=M.apply3DTransform(_t)(Ne-dt.left,Qe-dt.top);if(je=It[0],ge=It[1],Ce){var Lt=I.findPolygonOffset(me,Se[0],Se[1],Ce);je+=_e+Lt[0],ge+=Me+Lt[1]}switch(ut){case"zoom":ht.clickFn=ft,ie||(ht.moveFn=Ce?Je:Vt,ht.doneFn=qe,function(){we=null,Ee=null,Ve=re.pathSubplot(),$e=!1;var yt=oe._fullLayout[re.id];Ye=g(yt.bgcolor).getLuminance(),(st=m.makeZoombox(ce,Ye,xe,Pe,Ve)).attr("fill-rule","evenodd"),ot=m.makeCorners(ce,xe,Pe),E(oe)}());break;case"select":case"lasso":_(Re,Ne,Qe,ht,ut)}},w.init(ht)},q.updateRadialDrag=function(Z,X,Q){var re=this,ie=re.gd,oe=re.layers,ue=re.radius,ce=re.innerRadius,ye=re.cx,de=re.cy,me=re.radialAxis,pe=R.radialDragBoxSize,xe=pe/2;if(me.visible){var Pe,_e,Me,Se=$(re.radialAxisAngle),Ce=me._rl,ae=Ce[0],fe=Ce[1],be=Ce[Q],ke=.75*(Ce[1]-Ce[0])/(1-re.getHole(X))/ue;Q?(Pe=ye+(ue+xe)*Math.cos(Se),_e=de-(ue+xe)*Math.sin(Se),Me="radialdrag"):(Pe=ye+(ce-xe)*Math.cos(Se),_e=de-(ce-xe)*Math.sin(Se),Me="radialdrag-inner");var Le,Be,ze,je=m.makeRectDragger(oe,Me,"crosshair",-xe,-xe,pe,pe),ge={element:je,gd:ie};Z.dragmode===!1&&(ge.dragmode=!1),te(d.select(je),me.visible&&ce0==(Q?ze>ae:zec?function(S){return S<=0}:function(S){return S>=0};a.c2g=function(S){var _=a.c2l(S)-s;return(y(_)?_:0)+w},a.g2c=function(S){return a.l2c(S+s-w)},a.g2p=function(S){return S*m},a.c2p=function(S){return a.g2p(a.c2g(S))}}})(v,f);break;case"angularaxis":(function(a,u){var o=a.type;if(o==="linear"){var s=a.d2c,c=a.c2d;a.d2c=function(h,m){return function(w,y){return y==="degrees"?i(w):w}(s(h),m)},a.c2d=function(h,m){return c(function(w,y){return y==="degrees"?M(w):w}(h,m))}}a.makeCalcdata=function(h,m){var w,y,S=h[m],_=h._length,k=function(b){return a.d2c(b,h.thetaunit)};if(S){if(d.isTypedArray(S)&&o==="linear"){if(_===S.length)return S;if(S.subarray)return S.subarray(0,_)}for(w=new Array(_),y=0;y<_;y++)w[y]=k(S[y])}else{var E=m+"0",x="d"+m,A=E in h?k(h[E]):0,L=h[x]?k(h[x]):(a.period||2*Math.PI)/_;for(w=new Array(_),y=0;y<_;y++)w[y]=A+y*L}return w},a.setGeometry=function(){var h,m,w,y,S=u.sector,_=S.map(i),k={clockwise:-1,counterclockwise:1}[a.direction],E=i(a.rotation),x=function(R){return k*R+E},A=function(R){return(R-E)/k};switch(o){case"linear":m=h=d.identity,y=i,w=M,a.range=d.isFullCircle(_)?[S[0],S[0]+360]:_.map(A).map(M);break;case"category":var L=a._categories.length,b=a.period?Math.max(a.period,L):L;b===0&&(b=1),m=y=function(R){return 2*R*Math.PI/b},h=w=function(R){return R*b/Math.PI/2},a.range=[0,b]}a.c2g=function(R){return x(m(R))},a.g2c=function(R){return h(A(R))},a.t2g=function(R){return x(y(R))},a.g2t=function(R){return w(A(R))}}})(v,f)}}},39779:function(T){T.exports={attr:"subplot",name:"smith",axisNames:["realaxis","imaginaryaxis"],axisName2dataArray:{imaginaryaxis:"imag",realaxis:"real"}}},23893:function(T){function p(i){return i<0?-1:i>0?1:0}function t(i){var M=i[0],v=i[1];if(!isFinite(M)||!isFinite(v))return[1,0];var f=(M+1)*(M+1)+v*v;return[(M*M+v*v-1)/f,2*v/f]}function d(i,M){var v=M[0],f=M[1];return[v*i.radius+i.cx,-f*i.radius+i.cy]}function g(i,M){return M*i.radius}T.exports={smith:t,reactanceArc:function(i,M,v,f){var l=d(i,t([v,M])),a=l[0],u=l[1],o=d(i,t([f,M])),s=o[0],c=o[1];if(M===0)return["M"+a+","+u,"L"+s+","+c].join(" ");var h=g(i,1/Math.abs(M));return["M"+a+","+u,"A"+h+","+h+" 0 0,"+(M<0?1:0)+" "+s+","+c].join(" ")},resistanceArc:function(i,M,v,f){var l=g(i,1/(M+1)),a=d(i,t([M,v])),u=a[0],o=a[1],s=d(i,t([M,f])),c=s[0],h=s[1];if(p(v)!==p(f)){var m=d(i,t([M,0]));return["M"+u+","+o,"A"+l+","+l+" 0 0,"+(00){for(var f=[],l=0;l=A&&(b.min=0,R.min=0,I.min=0,m.aaxis&&delete m.aaxis.min,m.baxis&&delete m.baxis.min,m.caxis&&delete m.caxis.min)}function h(m,w,y,S){var _=o[w._name];function k(R,I){return i.coerce(m,w,_,R,I)}k("uirevision",S.uirevision),w.type="linear";var E=k("color"),x=E!==_.color.dflt?E:y.font.color,A=w._name.charAt(0).toUpperCase(),L="Component "+A,b=k("title.text",L);w._hovertitle=b===L?b:A,i.coerceFont(k,"title.font",{family:y.font.family,size:i.bigFont(y.font.size),color:x}),k("min"),a(m,w,k,"linear"),f(m,w,k,"linear"),v(m,w,k,"linear"),l(m,w,k,{outerTicks:!0}),k("showticklabels")&&(i.coerceFont(k,"tickfont",{family:y.font.family,size:y.font.size,color:x}),k("tickangle"),k("tickformat")),u(m,w,k,{dfltColor:E,bgColor:y.bgColor,blend:60,showLine:!0,showGrid:!0,noZeroLine:!0,attributes:_}),k("hoverformat"),k("layer")}T.exports=function(m,w,y){M(m,w,y,{type:"ternary",attributes:o,handleDefaults:c,font:w.font,paper_bgcolor:w.paper_bgcolor})}},64380:function(T,p,t){var d=t(39898),g=t(84267),i=t(73972),M=t(71828),v=M.strTranslate,f=M._,l=t(7901),a=t(91424),u=t(21994),o=t(1426).extendFlat,s=t(74875),c=t(89298),h=t(28569),m=t(30211),w=t(64505),y=w.freeMode,S=w.rectMode,_=t(92998),k=t(47322).prepSelect,E=t(47322).selectOnClick,x=t(47322).clearOutline,A=t(47322).clearSelectionsCache,L=t(85555);function b(j,$){this.id=j.id,this.graphDiv=j.graphDiv,this.init($),this.makeFramework($),this.aTickLayout=null,this.bTickLayout=null,this.cTickLayout=null}T.exports=b;var R=b.prototype;R.init=function(j){this.container=j._ternarylayer,this.defs=j._defs,this.layoutId=j._uid,this.traceHash={},this.layers={}},R.plot=function(j,$){var U=this,G=$[U.id],q=$._size;U._hasClipOnAxisFalse=!1;for(var H=0;HI*ce?q=(H=ce)*I:H=(q=ue)/I,ne=ie*q/ue,te=oe*H/ce,U=$.l+$.w*Q-q/2,G=$.t+$.h*(1-re)-H/2,Z.x0=U,Z.y0=G,Z.w=q,Z.h=H,Z.sum=ye,Z.xaxis={type:"linear",range:[de+2*pe-ye,ye-de-2*me],domain:[Q-ne/2,Q+ne/2],_id:"x"},u(Z.xaxis,Z.graphDiv._fullLayout),Z.xaxis.setScale(),Z.xaxis.isPtWithinRange=function(Le){return Le.a>=Z.aaxis.range[0]&&Le.a<=Z.aaxis.range[1]&&Le.b>=Z.baxis.range[1]&&Le.b<=Z.baxis.range[0]&&Le.c>=Z.caxis.range[1]&&Le.c<=Z.caxis.range[0]},Z.yaxis={type:"linear",range:[de,ye-me-pe],domain:[re-te/2,re+te/2],_id:"y"},u(Z.yaxis,Z.graphDiv._fullLayout),Z.yaxis.setScale(),Z.yaxis.isPtWithinRange=function(){return!0};var xe=Z.yaxis.domain[0],Pe=Z.aaxis=o({},j.aaxis,{range:[de,ye-me-pe],side:"left",tickangle:(+j.aaxis.tickangle||0)-30,domain:[xe,xe+te*I],anchor:"free",position:0,_id:"y",_length:q});u(Pe,Z.graphDiv._fullLayout),Pe.setScale();var _e=Z.baxis=o({},j.baxis,{range:[ye-de-pe,me],side:"bottom",domain:Z.xaxis.domain,anchor:"free",position:0,_id:"x",_length:q});u(_e,Z.graphDiv._fullLayout),_e.setScale();var Me=Z.caxis=o({},j.caxis,{range:[ye-de-me,pe],side:"right",tickangle:(+j.caxis.tickangle||0)+30,domain:[xe,xe+te*I],anchor:"free",position:0,_id:"y",_length:q});u(Me,Z.graphDiv._fullLayout),Me.setScale();var Se="M"+U+","+(G+H)+"h"+q+"l-"+q/2+",-"+H+"Z";Z.clipDef.select("path").attr("d",Se),Z.layers.plotbg.select("path").attr("d",Se);var Ce="M0,"+H+"h"+q+"l-"+q/2+",-"+H+"Z";Z.clipDefRelative.select("path").attr("d",Ce);var ae=v(U,G);Z.plotContainer.selectAll(".scatterlayer,.maplayer").attr("transform",ae),Z.clipDefRelative.select("path").attr("transform",null);var fe=v(U-_e._offset,G+H);Z.layers.baxis.attr("transform",fe),Z.layers.bgrid.attr("transform",fe);var be=v(U+q/2,G)+"rotate(30)"+v(0,-Pe._offset);Z.layers.aaxis.attr("transform",be),Z.layers.agrid.attr("transform",be);var ke=v(U+q/2,G)+"rotate(-30)"+v(0,-Me._offset);Z.layers.caxis.attr("transform",ke),Z.layers.cgrid.attr("transform",ke),Z.drawAxes(!0),Z.layers.aline.select("path").attr("d",Pe.showline?"M"+U+","+(G+H)+"l"+q/2+",-"+H:"M0,0").call(l.stroke,Pe.linecolor||"#000").style("stroke-width",(Pe.linewidth||0)+"px"),Z.layers.bline.select("path").attr("d",_e.showline?"M"+U+","+(G+H)+"h"+q:"M0,0").call(l.stroke,_e.linecolor||"#000").style("stroke-width",(_e.linewidth||0)+"px"),Z.layers.cline.select("path").attr("d",Me.showline?"M"+(U+q/2)+","+G+"l"+q/2+","+H:"M0,0").call(l.stroke,Me.linecolor||"#000").style("stroke-width",(Me.linewidth||0)+"px"),Z.graphDiv._context.staticPlot||Z.initInteractions(),a.setClipUrl(Z.layers.frontplot,Z._hasClipOnAxisFalse?null:Z.clipId,Z.graphDiv)},R.drawAxes=function(j){var $=this,U=$.graphDiv,G=$.id.substr(7)+"title",q=$.layers,H=$.aaxis,ne=$.baxis,te=$.caxis;if($.drawAx(H),$.drawAx(ne),$.drawAx(te),j){var Z=Math.max(H.showticklabels?H.tickfont.size/2:0,(te.showticklabels?.75*te.tickfont.size:0)+(te.ticks==="outside"?.87*te.ticklen:0)),X=(ne.showticklabels?ne.tickfont.size:0)+(ne.ticks==="outside"?ne.ticklen:0)+3;q["a-title"]=_.draw(U,"a"+G,{propContainer:H,propName:$.id+".aaxis.title",placeholder:f(U,"Click to enter Component A title"),attributes:{x:$.x0+$.w/2,y:$.y0-H.title.font.size/3-Z,"text-anchor":"middle"}}),q["b-title"]=_.draw(U,"b"+G,{propContainer:ne,propName:$.id+".baxis.title",placeholder:f(U,"Click to enter Component B title"),attributes:{x:$.x0-X,y:$.y0+$.h+.83*ne.title.font.size+X,"text-anchor":"middle"}}),q["c-title"]=_.draw(U,"c"+G,{propContainer:te,propName:$.id+".caxis.title",placeholder:f(U,"Click to enter Component C title"),attributes:{x:$.x0+$.w+X,y:$.y0+$.h+.83*te.title.font.size+X,"text-anchor":"middle"}})}},R.drawAx=function(j){var $,U=this,G=U.graphDiv,q=j._name,H=q.charAt(0),ne=j._id,te=U.layers[q],Z=H+"tickLayout",X=($=j).ticks+String($.ticklen)+String($.showticklabels);U[Z]!==X&&(te.selectAll("."+ne+"tick").remove(),U[Z]=X),j.setScale();var Q=c.calcTicks(j),re=c.clipEnds(j,Q),ie=c.makeTransTickFn(j),oe=c.getTickSigns(j)[2],ue=M.deg2rad(30),ce=oe*(j.linewidth||1)/2,ye=oe*j.ticklen,de=U.w,me=U.h,pe=H==="b"?"M0,"+ce+"l"+Math.sin(ue)*ye+","+Math.cos(ue)*ye:"M"+ce+",0l"+Math.cos(ue)*ye+","+-Math.sin(ue)*ye,xe={a:"M0,0l"+me+",-"+de/2,b:"M0,0l-"+de/2+",-"+me,c:"M0,0l-"+me+","+de/2}[H];c.drawTicks(G,j,{vals:j.ticks==="inside"?re:Q,layer:te,path:pe,transFn:ie,crisp:!1}),c.drawGrid(G,j,{vals:re,layer:U.layers[H+"grid"],path:xe,transFn:ie,crisp:!1}),c.drawLabels(G,j,{vals:Q,layer:te,transFn:ie,labelFns:c.makeLabelFns(j,0,30)})};var O=L.MINZOOM/2+.87,z="m-0.87,.5h"+O+"v3h-"+(O+5.2)+"l"+(O/2+2.6)+",-"+(.87*O+4.5)+"l2.6,1.5l-"+O/2+","+.87*O+"Z",F="m0.87,.5h-"+O+"v3h"+(O+5.2)+"l-"+(O/2+2.6)+",-"+(.87*O+4.5)+"l-2.6,1.5l"+O/2+","+.87*O+"Z",B="m0,1l"+O/2+","+.87*O+"l2.6,-1.5l-"+(O/2+2.6)+",-"+(.87*O+4.5)+"l-"+(O/2+2.6)+","+(.87*O+4.5)+"l2.6,1.5l"+O/2+",-"+.87*O+"Z",N=!0;function W(j){d.select(j).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}R.clearOutline=function(){A(this.dragOptions),x(this.dragOptions.gd)},R.initInteractions=function(){var j,$,U,G,q,H,ne,te,Z,X,Q,re,ie=this,oe=ie.layers.plotbg.select("path").node(),ue=ie.graphDiv,ce=ue._fullLayout._zoomlayer;function ye(Ce){var ae={};return ae[ie.id+".aaxis.min"]=Ce.a,ae[ie.id+".baxis.min"]=Ce.b,ae[ie.id+".caxis.min"]=Ce.c,ae}function de(Ce,ae){var fe=ue._fullLayout.clickmode;W(ue),Ce===2&&(ue.emit("plotly_doubleclick",null),i.call("_guiRelayout",ue,ye({a:0,b:0,c:0}))),fe.indexOf("select")>-1&&Ce===1&&E(ae,ue,[ie.xaxis],[ie.yaxis],ie.id,ie.dragOptions),fe.indexOf("event")>-1&&m.click(ue,ae,ie.id)}function me(Ce,ae){return 1-ae/ie.h}function pe(Ce,ae){return 1-(Ce+(ie.h-ae)/Math.sqrt(3))/ie.w}function xe(Ce,ae){return(Ce-(ie.h-ae)/Math.sqrt(3))/ie.w}function Pe(Ce,ae){var fe=U+Ce*j,be=G+ae*$,ke=Math.max(0,Math.min(1,me(0,G),me(0,be))),Le=Math.max(0,Math.min(1,pe(U,G),pe(fe,be))),Be=Math.max(0,Math.min(1,xe(U,G),xe(fe,be))),ze=(ke/2+Be)*ie.w,je=(1-ke/2-Le)*ie.w,ge=(ze+je)/2,we=je-ze,Ee=(1-ke)*ie.h,Ve=Ee-we/I;we.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),re.transition().style("opacity",1).duration(200),X=!0),ue.emit("plotly_relayouting",ye(ne))}function _e(){W(ue),ne!==q&&(i.call("_guiRelayout",ue,ye(ne)),N&&ue.data&&ue._context.showTips&&(M.notifier(f(ue,"Double-click to zoom back out"),"long"),N=!1))}function Me(Ce,ae){var fe=Ce/ie.xaxis._m,be=ae/ie.yaxis._m,ke=[(ne={a:q.a-be,b:q.b+(fe+be)/2,c:q.c-(fe-be)/2}).a,ne.b,ne.c].sort(M.sorterAsc),Le=ke.indexOf(ne.a),Be=ke.indexOf(ne.b),ze=ke.indexOf(ne.c);ke[0]<0&&(ke[1]+ke[0]/2<0?(ke[2]+=ke[0]+ke[1],ke[0]=ke[1]=0):(ke[2]+=ke[0]/2,ke[1]+=ke[0]/2,ke[0]=0),ne={a:ke[Le],b:ke[Be],c:ke[ze]},ae=(q.a-ne.a)*ie.yaxis._m,Ce=(q.c-ne.c-q.b+ne.b)*ie.xaxis._m);var je=v(ie.x0+Ce,ie.y0+ae);ie.plotContainer.selectAll(".scatterlayer,.maplayer").attr("transform",je);var ge=v(-Ce,-ae);ie.clipDefRelative.select("path").attr("transform",ge),ie.aaxis.range=[ne.a,ie.sum-ne.b-ne.c],ie.baxis.range=[ie.sum-ne.a-ne.c,ne.b],ie.caxis.range=[ie.sum-ne.a-ne.b,ne.c],ie.drawAxes(!1),ie._hasClipOnAxisFalse&&ie.plotContainer.select(".scatterlayer").selectAll(".trace").call(a.hideOutsideRangePoints,ie),ue.emit("plotly_relayouting",ye(ne))}function Se(){i.call("_guiRelayout",ue,ye(ne))}this.dragOptions={element:oe,gd:ue,plotinfo:{id:ie.id,domain:ue._fullLayout[ie.id].domain,xaxis:ie.xaxis,yaxis:ie.yaxis},subplot:ie.id,prepFn:function(Ce,ae,fe){ie.dragOptions.xaxes=[ie.xaxis],ie.dragOptions.yaxes=[ie.yaxis],j=ue._fullLayout._invScaleX,$=ue._fullLayout._invScaleY;var be=ie.dragOptions.dragmode=ue._fullLayout.dragmode;y(be)?ie.dragOptions.minDrag=1:ie.dragOptions.minDrag=void 0,be==="zoom"?(ie.dragOptions.moveFn=Pe,ie.dragOptions.clickFn=de,ie.dragOptions.doneFn=_e,function(ke,Le,Be){var ze=oe.getBoundingClientRect();U=Le-ze.left,G=Be-ze.top,ue._fullLayout._calcInverseTransform(ue);var je=ue._fullLayout._invTransform,ge=M.apply3DTransform(je)(U,G);U=ge[0],G=ge[1],q={a:ie.aaxis.range[0],b:ie.baxis.range[1],c:ie.caxis.range[1]},ne=q,H=ie.aaxis.range[1]-q.a,te=g(ie.graphDiv._fullLayout[ie.id].bgcolor).getLuminance(),Z="M0,"+ie.h+"L"+ie.w/2+", 0L"+ie.w+","+ie.h+"Z",X=!1,Q=ce.append("path").attr("class","zoombox").attr("transform",v(ie.x0,ie.y0)).style({fill:te>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("d",Z),re=ce.append("path").attr("class","zoombox-corners").attr("transform",v(ie.x0,ie.y0)).style({fill:l.background,stroke:l.defaultLine,"stroke-width":1,opacity:0}).attr("d","M0,0Z"),ie.clearOutline(ue)}(0,ae,fe)):be==="pan"?(ie.dragOptions.moveFn=Me,ie.dragOptions.clickFn=de,ie.dragOptions.doneFn=Se,q={a:ie.aaxis.range[0],b:ie.baxis.range[1],c:ie.caxis.range[1]},ne=q,ie.clearOutline(ue)):(S(be)||y(be))&&k(Ce,ae,fe,ie.dragOptions,be)}},oe.onmousemove=function(Ce){m.hover(ue,Ce,ie.id),ue._fullLayout._lasthover=oe,ue._fullLayout._hoversubplot=ie.id},oe.onmouseout=function(Ce){ue._dragging||h.unhover(ue,Ce)},h.init(this.dragOptions)}},73972:function(T,p,t){var d=t(47769),g=t(64213),i=t(75138),M=t(41965),v=t(24401).addStyleRule,f=t(1426),l=t(9012),a=t(10820),u=f.extendFlat,o=f.extendDeepAll;function s(E){var x=E.name,A=E.categories,L=E.meta;if(p.modules[x])d.log("Type "+x+" already registered");else{p.subplotsRegistry[E.basePlotModule.name]||function(N){var W=N.name;if(p.subplotsRegistry[W])d.log("Plot type "+W+" already registered.");else for(var j in w(N),p.subplotsRegistry[W]=N,p.componentsRegistry)_(j,N.name)}(E.basePlotModule);for(var b={},R=0;R-1&&(h[w[a]].title={text:""});for(a=0;a")!==-1?"":R.html(O).text()});return R.remove(),I}(L)).replace(/&(?!\w+;|\#[0-9]+;| \#x[0-9A-F]+;)/g,"&")).replace(a,"'"),g.isIE()&&(L=(L=(L=L.replace(/"/gi,"'")).replace(/(\('#)([^']*)('\))/gi,'("#$2")')).replace(/(\\')/gi,'"')),L}},75341:function(T,p,t){var d=t(71828);T.exports=function(g,i){for(var M=0;MI+b||!d(R))}for(var z=0;za))return v}return f!==void 0?f:M.dflt},p.coerceColor=function(M,v,f){return g(v).isValid()?v:f!==void 0?f:M.dflt},p.coerceEnumerated=function(M,v,f){return M.coerceNumber&&(v=+v),M.values.indexOf(v)!==-1?v:f!==void 0?f:M.dflt},p.getValue=function(M,v){var f;return Array.isArray(M)?v0?ye+=de:y<0&&(ye-=de)}return ye}function te(ce){var ye=y,de=ce.b,me=ne(ce);return d.inbox(de-ye,me-ye,O+(me-ye)/(me-de)-1)}var Z=o[S+"a"],X=o[_+"a"];x=Math.abs(Z.r2c(Z.range[1])-Z.r2c(Z.range[0]));var Q=d.getDistanceFunction(h,k,E,function(ce){return(k(ce)+E(ce))/2});if(d.getClosest(A,Q,o),o.index!==!1&&A[o.index].p!==l){B||(U=function(ce){return Math.min(N(ce),ce.p-b.bargroupwidth/2)},G=function(ce){return Math.max(W(ce),ce.p+b.bargroupwidth/2)});var re=A[o.index],ie=L.base?re.b+re.s:re.s;o[_+"0"]=o[_+"1"]=X.c2p(re[_],!0),o[_+"LabelVal"]=ie;var oe=b.extents[b.extents.round(re.p)];o[S+"0"]=Z.c2p(R?U(re):oe[0],!0),o[S+"1"]=Z.c2p(R?G(re):oe[1],!0);var ue=re.orig_p!==void 0;return o[S+"LabelVal"]=ue?re.orig_p:re.p,o.labelLabel=f(Z,o[S+"LabelVal"],L[S+"hoverformat"]),o.valueLabel=f(X,o[_+"LabelVal"],L[_+"hoverformat"]),o.baseLabel=f(X,re.b,L[_+"hoverformat"]),o.spikeDistance=(function(ce){var ye=y,de=ce.b,me=ne(ce);return d.inbox(de-ye,me-ye,z+(me-ye)/(me-de)-1)}(re)+function(ce){return q(N(ce),W(ce),z)}(re))/2,o[S+"Spike"]=Z.c2p(re.p,!0),M(re,L,o),o.hovertemplate=L.hovertemplate,o}}function u(o,s){var c=s.mcc||o.marker.color,h=s.mlcc||o.marker.line.color,m=v(o,s);return i.opacity(c)?c:i.opacity(h)&&m?h:void 0}T.exports={hoverPoints:function(o,s,c,h,m){var w=a(o,s,c,h,m);if(w){var y=w.cd,S=y[0].trace,_=y[w.index];return w.color=u(S,_),g.getComponentMethod("errorbars","hoverInfo")(_,S,w),[w]}},hoverOnBars:a,getTraceColor:u}},60822:function(T,p,t){T.exports={attributes:t(1486),layoutAttributes:t(43641),supplyDefaults:t(90769).supplyDefaults,crossTraceDefaults:t(90769).crossTraceDefaults,supplyLayoutDefaults:t(13957),calc:t(92290),crossTraceCalc:t(11661).crossTraceCalc,colorbar:t(4898),arraysToCalcdata:t(75341),plot:t(17295).plot,style:t(16688).style,styleOnSelect:t(16688).styleOnSelect,hoverPoints:t(95423).hoverPoints,eventData:t(58065),selectPoints:t(81974),moduleType:"trace",name:"bar",basePlotModule:t(93612),categories:["bar-like","cartesian","svg","bar","oriented","errorBarsOK","showLegend","zoomScale"],animatable:!0,meta:{}}},43641:function(T){T.exports={barmode:{valType:"enumerated",values:["stack","group","overlay","relative"],dflt:"group",editType:"calc"},barnorm:{valType:"enumerated",values:["","fraction","percent"],dflt:"",editType:"calc"},bargap:{valType:"number",min:0,max:1,editType:"calc"},bargroupgap:{valType:"number",min:0,max:1,dflt:0,editType:"calc"}}},13957:function(T,p,t){var d=t(73972),g=t(89298),i=t(71828),M=t(43641);T.exports=function(v,f,l){function a(S,_){return i.coerce(v,f,M,S,_)}for(var u=!1,o=!1,s=!1,c={},h=a("barmode"),m=0;m0}function R(z){return z==="auto"?0:z}function I(z,F){var B=Math.PI/180*F,N=Math.abs(Math.sin(B)),W=Math.abs(Math.cos(B));return{x:z.width*W+z.height*N,y:z.width*N+z.height*W}}function O(z,F,B,N,W,j){var $=!!j.isHorizontal,U=!!j.constrained,G=j.angle||0,q=j.anchor||"end",H=q==="end",ne=q==="start",te=((j.leftToRight||0)+1)/2,Z=1-te,X=W.width,Q=W.height,re=Math.abs(F-z),ie=Math.abs(N-B),oe=re>2*k&&ie>2*k?k:0;re-=2*oe,ie-=2*oe;var ue=R(G);G!=="auto"||X<=re&&Q<=ie||!(X>re||Q>ie)||(X>ie||Q>re)&&X.01?Be:function(we,Ee,Ve){return Ve&&we===Ee?we:Math.abs(we-Ee)>=2?Be(we):we>Ee?Math.ceil(we):Math.floor(we)};Ce=ze(Ce,ae,oe),ae=ze(ae,Ce,oe),fe=ze(fe,be,!oe),be=ze(be,fe,!oe)}var je=L(i.ensureSingle(Me,"path"),G,W,j);if(je.style("vector-effect",q?"none":"non-scaling-stroke").attr("d",isNaN((ae-Ce)*(be-fe))||ke&&z._context.staticPlot?"M0,0Z":"M"+Ce+","+fe+"V"+be+"H"+ae+"V"+fe+"Z").call(f.setClipUrl,F.layerClipId,z),!G.uniformtext.mode&&ue){var ge=f.makePointStyleFns(Z);f.singlePointStyle(pe,je,Z,ge,z)}(function(we,Ee,Ve,$e,Ye,st,ot,ht,bt,Et,kt){var xt,Ft=Ee.xaxis,Ot=Ee.yaxis,Bt=we._fullLayout;function qt(Qt,rn,xn){return i.ensureSingle(Qt,"text").text(rn).attr({class:"bartext bartext-"+xt,"text-anchor":"middle","data-notex":1}).call(f.font,xn).call(M.convertToTspans,we)}var Vt=$e[0].trace,Ke=Vt.orientation==="h",Je=function(Qt,rn,xn,un,An){var Yn,kn=rn[0].trace;return Yn=kn.texttemplate?function(sn,Tn,dn,pn,Dn){var In=Tn[0].trace,jn=i.castOption(In,dn,"texttemplate");if(!jn)return"";var Gn,qn,lr,rr,Sr=In.type==="histogram",yr=In.type==="waterfall",or=In.type==="funnel",vr=In.orientation==="h";function _r($n){return a(rr,rr.c2l($n),!0).text}vr?(Gn="y",qn=Dn,lr="x",rr=pn):(Gn="x",qn=pn,lr="y",rr=Dn);var Kt,bn=Tn[dn],Rn={};Rn.label=bn.p,Rn.labelLabel=Rn[Gn+"Label"]=(Kt=bn.p,a(qn,qn.c2l(Kt),!0).text);var Ln=i.castOption(In,bn.i,"text");(Ln===0||Ln)&&(Rn.text=Ln),Rn.value=bn.s,Rn.valueLabel=Rn[lr+"Label"]=_r(bn.s);var Un={};_(Un,In,bn.i),(Sr||Un.x===void 0)&&(Un.x=vr?Rn.value:Rn.label),(Sr||Un.y===void 0)&&(Un.y=vr?Rn.label:Rn.value),(Sr||Un.xLabel===void 0)&&(Un.xLabel=vr?Rn.valueLabel:Rn.labelLabel),(Sr||Un.yLabel===void 0)&&(Un.yLabel=vr?Rn.labelLabel:Rn.valueLabel),yr&&(Rn.delta=+bn.rawS||bn.s,Rn.deltaLabel=_r(Rn.delta),Rn.final=bn.v,Rn.finalLabel=_r(Rn.final),Rn.initial=Rn.final-Rn.delta,Rn.initialLabel=_r(Rn.initial)),or&&(Rn.value=bn.s,Rn.valueLabel=_r(Rn.value),Rn.percentInitial=bn.begR,Rn.percentInitialLabel=i.formatPercent(bn.begR),Rn.percentPrevious=bn.difR,Rn.percentPreviousLabel=i.formatPercent(bn.difR),Rn.percentTotal=bn.sumR,Rn.percenTotalLabel=i.formatPercent(bn.sumR));var Kn=i.castOption(In,bn.i,"customdata");return Kn&&(Rn.customdata=Kn),i.texttemplateString(jn,Rn,sn._d3locale,Un,Rn,In._meta||{})}(Qt,rn,xn,un,An):kn.textinfo?function(sn,Tn,dn,pn){var Dn=sn[0].trace,In=Dn.orientation==="h",jn=Dn.type==="waterfall",Gn=Dn.type==="funnel";function qn(Kn){return a(In?dn:pn,+Kn,!0).text}var lr,rr,Sr=Dn.textinfo,yr=sn[Tn],or=Sr.split("+"),vr=[],_r=function(Kn){return or.indexOf(Kn)!==-1};if(_r("label")&&vr.push((rr=sn[Tn].p,a(In?pn:dn,rr,!0).text)),_r("text")&&((lr=i.castOption(Dn,yr.i,"text"))===0||lr)&&vr.push(lr),jn){var Kt=+yr.rawS||yr.s,bn=yr.v,Rn=bn-Kt;_r("initial")&&vr.push(qn(Rn)),_r("delta")&&vr.push(qn(Kt)),_r("final")&&vr.push(qn(bn))}if(Gn){_r("value")&&vr.push(qn(yr.s));var Ln=0;_r("percent initial")&&Ln++,_r("percent previous")&&Ln++,_r("percent total")&&Ln++;var Un=Ln>1;_r("percent initial")&&(lr=i.formatPercent(yr.begR),Un&&(lr+=" of initial"),vr.push(lr)),_r("percent previous")&&(lr=i.formatPercent(yr.difR),Un&&(lr+=" of previous"),vr.push(lr)),_r("percent total")&&(lr=i.formatPercent(yr.sumR),Un&&(lr+=" of total"),vr.push(lr))}return vr.join("
")}(rn,xn,un,An):h.getValue(kn.text,xn),h.coerceString(y,Yn)}(Bt,$e,Ye,Ft,Ot);xt=function(Qt,rn){var xn=h.getValue(Qt.textposition,rn);return h.coerceEnumerated(S,xn)}(Vt,Ye);var qe=Et.mode==="stack"||Et.mode==="relative",nt=$e[Ye],ft=!qe||nt._outmost;if(Je&&xt!=="none"&&(!nt.isBlank&&st!==ot&&ht!==bt||xt!=="auto"&&xt!=="inside")){var Re=Bt.font,Ne=c.getBarColor($e[Ye],Vt),Qe=c.getInsideTextFont(Vt,Ye,Re,Ne),ut=c.getOutsideTextFont(Vt,Ye,Re),dt=Ve.datum();Ke?Ft.type==="log"&&dt.s0<=0&&(st=Ft.range[0]0&&yt>0&&(Lt<=wt&&yt<=Rt||Lt<=Rt&&yt<=wt||(Ke?wt>=Lt*(Rt/yt):Rt>=yt*(wt/Lt)))?xt="inside":(xt="outside",_t.remove(),_t=null)):xt="inside"),!_t){var Nt=(_t=qt(Ve,Je,Pt=i.ensureUniformFontSize(we,xt==="outside"?ut:Qe))).attr("transform");if(_t.attr("transform",""),Lt=(It=f.bBox(_t.node())).width,yt=It.height,_t.attr("transform",Nt),Lt<=0||yt<=0)return void _t.remove()}var Yt,Wt=Vt.textangle;Yt=xt==="outside"?function(Qt,rn,xn,un,An,Yn){var kn,sn=!!Yn.isHorizontal,Tn=!!Yn.constrained,dn=Yn.angle||0,pn=An.width,Dn=An.height,In=Math.abs(rn-Qt),jn=Math.abs(un-xn);kn=sn?jn>2*k?k:0:In>2*k?k:0;var Gn=1;Tn&&(Gn=sn?Math.min(1,jn/Dn):Math.min(1,In/pn));var qn=R(dn),lr=I(An,qn),rr=(sn?lr.x:lr.y)/2,Sr=(An.left+An.right)/2,yr=(An.top+An.bottom)/2,or=(Qt+rn)/2,vr=(xn+un)/2,_r=0,Kt=0,bn=sn?A(rn,Qt):A(xn,un);return sn?(or=rn-bn*kn,_r=bn*rr):(vr=un+bn*kn,Kt=-bn*rr),{textX:Sr,textY:yr,targetX:or,targetY:vr,anchorX:_r,anchorY:Kt,scale:Gn,rotate:qn}}(st,ot,ht,bt,It,{isHorizontal:Ke,constrained:Vt.constraintext==="both"||Vt.constraintext==="outside",angle:Wt}):O(st,ot,ht,bt,It,{isHorizontal:Ke,constrained:Vt.constraintext==="both"||Vt.constraintext==="inside",angle:Wt,anchor:Vt.insidetextanchor}),Yt.fontSize=Pt.size,o(Vt.type==="histogram"?"bar":Vt.type,Yt,Bt),nt.transform=Yt;var Xt=L(_t,Bt,Et,kt);i.setTransormAndDisplay(Xt,Yt)}else Ve.select("text").remove()})(z,F,Me,ne,xe,Ce,ae,fe,be,W,j),F.layerClipId&&f.hideOutsideRangePoint(pe,Me.select("text"),$,U,Z.xcalendar,Z.ycalendar)});var me=Z.cliponaxis===!1;f.setClipUrl(te,me?null:F.layerClipId,z)});l.getComponentMethod("errorbars","plot")(z,H,F,W)},toMoveInsideBar:O}},81974:function(T){function p(t,d,g,i,M){var v=d.c2p(i?t.s0:t.p0,!0),f=d.c2p(i?t.s1:t.p1,!0),l=g.c2p(i?t.p0:t.s0,!0),a=g.c2p(i?t.p1:t.s1,!0);return M?[(v+f)/2,(l+a)/2]:i?[f,(l+a)/2]:[(v+f)/2,a]}T.exports=function(t,d){var g,i=t.cd,M=t.xaxis,v=t.yaxis,f=i[0].trace,l=f.type==="funnel",a=f.orientation==="h",u=[];if(d===!1)for(g=0;g1||L.bargap===0&&L.bargroupgap===0&&!b[0].trace.marker.line.width)&&d.select(this).attr("shape-rendering","crispEdges")}),x.selectAll("g.points").each(function(b){c(d.select(this),b[0].trace,E)}),v.getComponentMethod("errorbars","style")(x)},styleTextPoints:h,styleOnSelect:function(E,x,A){var L=x[0].trace;L.selectedpoints?function(b,R,I){i.selectedPointStyle(b.selectAll("path"),R),function(O,z,F){O.each(function(B){var N,W=d.select(this);if(B.selected){N=M.ensureUniformFontSize(F,m(W,B,z,F));var j=z.selected.textfont&&z.selected.textfont.color;j&&(N.color=j),i.font(W,N)}else i.selectedTextStyle(W,z)})}(b.selectAll("text"),R,I)}(A,L,E):(c(A,L,E),v.getComponentMethod("errorbars","style")(A))},getInsideTextFont:y,getOutsideTextFont:S,getBarColor:k,resizeText:f}},98340:function(T,p,t){var d=t(7901),g=t(52075).hasColorscale,i=t(1586),M=t(71828).coercePattern;T.exports=function(v,f,l,a,u){var o=l("marker.color",a),s=g(v,"marker");s&&i(v,f,u,l,{prefix:"marker.",cLetter:"c"}),l("marker.line.color",d.defaultLine),g(v,"marker.line")&&i(v,f,u,l,{prefix:"marker.line.",cLetter:"c"}),l("marker.line.width"),l("marker.opacity"),M(l,"marker.pattern",o,s),l("selected.marker.color"),l("unselected.marker.color")}},72597:function(T,p,t){var d=t(39898),g=t(71828);function i(M){return"_"+M+"Text_minsize"}T.exports={recordMinTextSize:function(M,v,f){if(f.uniformtext.mode){var l=i(M),a=f.uniformtext.minsize,u=v.scale*v.fontSize;v.hide=uh.range[1]&&(E+=Math.PI),d.getClosest(o,function(L){return y(k,E,[L.rp0,L.rp1],[L.thetag0,L.thetag1],w)?S+Math.min(1,Math.abs(L.thetag1-L.thetag0)/_)-1+(L.rp1-k)/(L.rp1-L.rp0)-1:1/0},l),l.index!==!1){var x=o[l.index];l.x0=l.x1=x.ct[0],l.y0=l.y1=x.ct[1];var A=g.extendFlat({},x,{r:x.s,theta:x.p});return M(x,s,l),v(A,s,c,l),l.hovertemplate=s.hovertemplate,l.color=i(s,x),l.xLabelVal=l.yLabelVal=void 0,x.s<0&&(l.idealAlign="left"),[l]}}},23381:function(T,p,t){T.exports={moduleType:"trace",name:"barpolar",basePlotModule:t(23580),categories:["polar","bar","showLegend"],attributes:t(55023),layoutAttributes:t(40151),supplyDefaults:t(6135),supplyLayoutDefaults:t(19860),calc:t(74692).calc,crossTraceCalc:t(74692).crossTraceCalc,plot:t(60173),colorbar:t(4898),formatLabels:t(98608),style:t(16688).style,styleOnSelect:t(16688).styleOnSelect,hoverPoints:t(27379),selectPoints:t(81974),meta:{}}},40151:function(T){T.exports={barmode:{valType:"enumerated",values:["stack","overlay"],dflt:"stack",editType:"calc"},bargap:{valType:"number",dflt:.1,min:0,max:1,editType:"calc"}}},19860:function(T,p,t){var d=t(71828),g=t(40151);T.exports=function(i,M,v){var f,l={};function a(s,c){return d.coerce(i[f]||{},M[f],g,s,c)}for(var u=0;u0?(L=x,b=A):(L=A,b=x);var R=[v.findEnclosingVertexAngles(L,y.vangles)[0],(L+b)/2,v.findEnclosingVertexAngles(b,y.vangles)[1]];return v.pathPolygonAnnulus(k,E,L,b,R,S,_)}:function(k,E,x,A){return i.pathAnnulus(k,E,x,A,S,_)}}(l),w=l.layers.frontplot.select("g.barlayer");i.makeTraceGroups(w,a,"trace bars").each(function(){var y=d.select(this),S=i.ensureSingle(y,"g","points").selectAll("g.point").data(i.identity);S.enter().append("g").style("vector-effect",u?"none":"non-scaling-stroke").style("stroke-miterlimit",2).classed("point",!0),S.exit().remove(),S.each(function(_){var k,E=d.select(this),x=_.rp0=c.c2p(_.s0),A=_.rp1=c.c2p(_.s1),L=_.thetag0=h.c2g(_.p0),b=_.thetag1=h.c2g(_.p1);if(g(x)&&g(A)&&g(L)&&g(b)&&x!==A&&L!==b){var R=c.c2g(_.s1),I=(L+b)/2;_.ct=[o.c2p(R*Math.cos(I)),s.c2p(R*Math.sin(I))],k=m(x,A,L,b)}else k="M0,0Z";i.ensureSingle(E,"path").attr("d",k)}),M.setClipUrl(y,l._hasClipOnAxisFalse?l.clipIds.forTraces:null,f)})}},53522:function(T,p,t){var d=t(82196),g=t(1486),i=t(22399),M=t(12663).axisHoverFormat,v=t(5386).fF,f=t(1426).extendFlat,l=d.marker,a=l.line;T.exports={y:{valType:"data_array",editType:"calc+clearAxisTypes"},x:{valType:"data_array",editType:"calc+clearAxisTypes"},x0:{valType:"any",editType:"calc+clearAxisTypes"},y0:{valType:"any",editType:"calc+clearAxisTypes"},dx:{valType:"number",editType:"calc"},dy:{valType:"number",editType:"calc"},xperiod:d.xperiod,yperiod:d.yperiod,xperiod0:d.xperiod0,yperiod0:d.yperiod0,xperiodalignment:d.xperiodalignment,yperiodalignment:d.yperiodalignment,xhoverformat:M("x"),yhoverformat:M("y"),name:{valType:"string",editType:"calc+clearAxisTypes"},q1:{valType:"data_array",editType:"calc+clearAxisTypes"},median:{valType:"data_array",editType:"calc+clearAxisTypes"},q3:{valType:"data_array",editType:"calc+clearAxisTypes"},lowerfence:{valType:"data_array",editType:"calc"},upperfence:{valType:"data_array",editType:"calc"},notched:{valType:"boolean",editType:"calc"},notchwidth:{valType:"number",min:0,max:.5,dflt:.25,editType:"calc"},notchspan:{valType:"data_array",editType:"calc"},boxpoints:{valType:"enumerated",values:["all","outliers","suspectedoutliers",!1],editType:"calc"},jitter:{valType:"number",min:0,max:1,editType:"calc"},pointpos:{valType:"number",min:-2,max:2,editType:"calc"},boxmean:{valType:"enumerated",values:[!0,"sd",!1],editType:"calc"},mean:{valType:"data_array",editType:"calc"},sd:{valType:"data_array",editType:"calc"},orientation:{valType:"enumerated",values:["v","h"],editType:"calc+clearAxisTypes"},quartilemethod:{valType:"enumerated",values:["linear","exclusive","inclusive"],dflt:"linear",editType:"calc"},width:{valType:"number",min:0,dflt:0,editType:"calc"},marker:{outliercolor:{valType:"color",dflt:"rgba(0, 0, 0, 0)",editType:"style"},symbol:f({},l.symbol,{arrayOk:!1,editType:"plot"}),opacity:f({},l.opacity,{arrayOk:!1,dflt:1,editType:"style"}),angle:f({},l.angle,{arrayOk:!1,editType:"calc"}),size:f({},l.size,{arrayOk:!1,editType:"calc"}),color:f({},l.color,{arrayOk:!1,editType:"style"}),line:{color:f({},a.color,{arrayOk:!1,dflt:i.defaultLine,editType:"style"}),width:f({},a.width,{arrayOk:!1,dflt:0,editType:"style"}),outliercolor:{valType:"color",editType:"style"},outlierwidth:{valType:"number",min:0,dflt:1,editType:"style"},editType:"style"},editType:"plot"},line:{color:{valType:"color",editType:"style"},width:{valType:"number",min:0,dflt:2,editType:"style"},editType:"plot"},fillcolor:d.fillcolor,whiskerwidth:{valType:"number",min:0,max:1,dflt:.5,editType:"calc"},offsetgroup:g.offsetgroup,alignmentgroup:g.alignmentgroup,selected:{marker:d.selected.marker,editType:"style"},unselected:{marker:d.unselected.marker,editType:"style"},text:f({},d.text,{}),hovertext:f({},d.hovertext,{}),hovertemplate:v({}),hoveron:{valType:"flaglist",flags:["boxes","points"],dflt:"boxes+points",editType:"style"}}},48518:function(T,p,t){var d=t(92770),g=t(89298),i=t(42973),M=t(71828),v=t(50606).BADNUM,f=M._;T.exports=function(y,S){var _,k,E,x,A,L,b,R=y._fullLayout,I=g.getFromId(y,S.xaxis||"x"),O=g.getFromId(y,S.yaxis||"y"),z=[],F=S.type==="violin"?"_numViolins":"_numBoxes";S.orientation==="h"?(E=I,x="x",A=O,L="y",b=!!S.yperiodalignment):(E=O,x="y",A=I,L="x",b=!!S.xperiodalignment);var B,N,W,j,$,U,G=function(Ee,Ve,$e,Ye){var st,ot=Ve+"0"in Ee;if(Ve in Ee||ot&&"d"+Ve in Ee){var ht=$e.makeCalcdata(Ee,Ve);return[i(Ee,$e,Ve,ht).vals,ht]}st=ot?Ee[Ve+"0"]:"name"in Ee&&($e.type==="category"||d(Ee.name)&&["linear","log"].indexOf($e.type)!==-1||M.isDateTime(Ee.name)&&$e.type==="date")?Ee.name:Ye;for(var bt=$e.type==="multicategory"?$e.r2c_just_indices(st):$e.d2c(st,0,Ee[Ve+"calendar"]),Et=Ee._length,kt=new Array(Et),xt=0;xtB.uf};if(S._hasPreCompStats){var Q=S[x],re=function(Ee){return E.d2c((S[Ee]||[])[_])},ie=1/0,oe=-1/0;for(_=0;_=B.q1&&B.q3>=B.med){var ce=re("lowerfence");B.lf=ce!==v&&ce<=B.q1?ce:s(B,W,j);var ye=re("upperfence");B.uf=ye!==v&&ye>=B.q3?ye:c(B,W,j);var de=re("mean");B.mean=de!==v?de:j?M.mean(W,j):(B.q1+B.q3)/2;var me=re("sd");B.sd=de!==v&&me>=0?me:j?M.stdev(W,j,B.mean):B.q3-B.q1,B.lo=h(B),B.uo=m(B);var pe=re("notchspan");pe=pe!==v&&pe>0?pe:w(B,j),B.ln=B.med-pe,B.un=B.med+pe;var xe=B.lf,Pe=B.uf;S.boxpoints&&W.length&&(xe=Math.min(xe,W[0]),Pe=Math.max(Pe,W[j-1])),S.notched&&(xe=Math.min(xe,B.ln),Pe=Math.max(Pe,B.un)),B.min=xe,B.max=Pe}else{var _e;M.warn(["Invalid input - make sure that q1 <= median <= q3","q1 = "+B.q1,"median = "+B.med,"q3 = "+B.q3].join(` -`)),_e=B.med!==v?B.med:B.q1!==v?B.q3!==v?(B.q1+B.q3)/2:B.q1:B.q3!==v?B.q3:0,B.med=_e,B.q1=B.q3=_e,B.lf=B.uf=_e,B.mean=B.sd=_e,B.ln=B.un=_e,B.min=B.max=_e}ie=Math.min(ie,B.min),oe=Math.max(oe,B.max),B.pts2=N.filter(X),z.push(B)}}S._extremes[E._id]=g.findExtremes(E,[ie,oe],{padded:!0})}else{var Me=E.makeCalcdata(S,x),Se=function(Ee,Ve){for(var $e=Ee.length,Ye=new Array($e+1),st=0;st<$e;st++)Ye[st]=Ee[st]-Ve;return Ye[$e]=Ee[$e-1]+Ve,Ye}(te,Z),Ce=te.length,ae=function(Ee){for(var Ve=new Array(Ee),$e=0;$e=0&&fe0){var je,ge;(B={}).pos=B[L]=te[_],N=B.pts=ae[_].sort(u),j=(W=B[x]=N.map(o)).length,B.min=W[0],B.max=W[j-1],B.mean=M.mean(W,j),B.sd=M.stdev(W,j,B.mean),B.med=M.interp(W,.5),j%2&&(Be||ze)?(Be?(je=W.slice(0,j/2),ge=W.slice(j/2+1)):ze&&(je=W.slice(0,j/2+1),ge=W.slice(j/2)),B.q1=M.interp(je,.5),B.q3=M.interp(ge,.5)):(B.q1=M.interp(W,.25),B.q3=M.interp(W,.75)),B.lf=s(B,W,j),B.uf=c(B,W,j),B.lo=h(B),B.uo=m(B);var we=w(B,j);B.ln=B.med-we,B.un=B.med+we,be=Math.min(be,B.ln),ke=Math.max(ke,B.un),B.pts2=N.filter(X),z.push(B)}S._extremes[E._id]=g.findExtremes(E,S.notched?Me.concat([be,ke]):Me,{padded:!0})}return function(Ee,Ve){if(M.isArrayOrTypedArray(Ve.selectedpoints))for(var $e=0;$e0?(z[0].t={num:R[F],dPos:Z,posLetter:L,valLetter:x,labels:{med:f(y,"median:"),min:f(y,"min:"),q1:f(y,"q1:"),q3:f(y,"q3:"),max:f(y,"max:"),mean:S.boxmean==="sd"?f(y,"mean ± σ:"):f(y,"mean:"),lf:f(y,"lower fence:"),uf:f(y,"upper fence:")}},R[F]++,z):[{t:{empty:!0}}]};var l={text:"tx",hovertext:"htx"};function a(y,S,_){for(var k in l)M.isArrayOrTypedArray(S[k])&&(Array.isArray(_)?M.isArrayOrTypedArray(S[k][_[0]])&&(y[l[k]]=S[k][_[0]][_[1]]):y[l[k]]=S[k][_])}function u(y,S){return y.v-S.v}function o(y){return y.v}function s(y,S,_){return _===0?y.q1:Math.min(y.q1,S[Math.min(M.findBin(2.5*y.q1-1.5*y.q3,S,!0)+1,_-1)])}function c(y,S,_){return _===0?y.q3:Math.max(y.q3,S[Math.max(M.findBin(2.5*y.q3-1.5*y.q1,S),0)])}function h(y){return 4*y.q1-3*y.q3}function m(y){return 4*y.q3-3*y.q1}function w(y,S){return S===0?0:1.57*(y.q3-y.q1)/Math.sqrt(S)}},37188:function(T,p,t){var d=t(89298),g=t(71828),i=t(99082).getAxisGroup,M=["v","h"];function v(f,l,a,u){var o,s,c,h=l.calcdata,m=l._fullLayout,w=u._id,y=w.charAt(0),S=[],_=0;for(o=0;o1,L=1-m[f+"gap"],b=1-m[f+"groupgap"];for(o=0;o0){var ue=N.pointpos,ce=N.jitter,ye=N.marker.size/2,de=0;ue+ce>=0&&((de=ie*(ue+ce))>F?(oe=!0,Q=ye,Z=de):de>ne&&(Q=ye,Z=F)),de<=F&&(Z=F);var me=0;ue-ce<=0&&((me=-ie*(ue-ce))>B?(oe=!0,re=ye,X=me):me>te&&(re=ye,X=B)),me<=B&&(X=B)}else Z=F,X=B;var pe=new Array(c.length);for(s=0;s0?(A="v",L=R>0?Math.min(O,I):Math.min(I)):R>0?(A="h",L=Math.min(O)):L=0;if(L){s._length=L;var j=c("orientation",A);s._hasPreCompStats?j==="v"&&R===0?(c("x0",0),c("dx",1)):j==="h"&&b===0&&(c("y0",0),c("dy",1)):j==="v"&&R===0?c("x0"):j==="h"&&b===0&&c("y0"),g.getComponentMethod("calendars","handleTraceDefaults")(o,s,["x","y"],h)}else s.visible=!1}function u(o,s,c,h){var m=h.prefix,w=d.coerce2(o,s,l,"marker.outliercolor"),y=c("marker.line.outliercolor"),S="outliers";s._hasPreCompStats?S="all":(w||y)&&(S="suspectedoutliers");var _=c(m+"points",S);_?(c("jitter",_==="all"?.3:0),c("pointpos",_==="all"?-1.5:0),c("marker.symbol"),c("marker.opacity"),c("marker.size"),c("marker.angle"),c("marker.color",s.line.color),c("marker.line.color"),c("marker.line.width"),_==="suspectedoutliers"&&(c("marker.line.outliercolor",s.marker.color),c("marker.line.outlierwidth")),c("selected.marker.color"),c("unselected.marker.color"),c("selected.marker.size"),c("unselected.marker.size"),c("text"),c("hovertext")):delete s.marker;var k=c("hoveron");k!=="all"&&k.indexOf("points")===-1||c("hovertemplate"),d.coerceSelectionMarkerOpacity(s,c)}T.exports={supplyDefaults:function(o,s,c,h){function m(x,A){return d.coerce(o,s,l,x,A)}if(a(o,s,m,h),s.visible!==!1){M(o,s,h,m),m("xhoverformat"),m("yhoverformat");var w=s._hasPreCompStats;w&&(m("lowerfence"),m("upperfence")),m("line.color",(o.marker||{}).color||c),m("line.width"),m("fillcolor",i.addOpacity(s.line.color,.5));var y=!1;if(w){var S=m("mean"),_=m("sd");S&&S.length&&(y=!0,_&&_.length&&(y="sd"))}m("boxmean",y),m("whiskerwidth"),m("width"),m("quartilemethod");var k=!1;if(w){var E=m("notchspan");E&&E.length&&(k=!0)}else d.validate(o.notchwidth,l.notchwidth)&&(k=!0);m("notched",k)&&m("notchwidth"),u(o,s,m,{prefix:"box"})}},crossTraceDefaults:function(o,s){var c,h;function m(S){return d.coerce(h._input,h,l,S)}for(var w=0;w_.lo&&(W.so=!0)}return x});S.enter().append("path").classed("point",!0),S.exit().remove(),S.call(i.translatePoints,s,c)}function f(l,a,u,o){var s,c,h=a.val,m=a.pos,w=!!m.rangebreaks,y=o.bPos,S=o.bPosPxOffset||0,_=u.boxmean||(u.meanline||{}).visible;Array.isArray(o.bdPos)?(s=o.bdPos[0],c=o.bdPos[1]):(s=o.bdPos,c=o.bdPos);var k=l.selectAll("path.mean").data(u.type==="box"&&u.boxmean||u.type==="violin"&&u.box.visible&&u.meanline.visible?g.identity:[]);k.enter().append("path").attr("class","mean").style({fill:"none","vector-effect":"non-scaling-stroke"}),k.exit().remove(),k.each(function(E){var x=m.c2l(E.pos+y,!0),A=m.l2p(x-s)+S,L=m.l2p(x+c)+S,b=w?(A+L)/2:m.l2p(x)+S,R=h.c2p(E.mean,!0),I=h.c2p(E.mean-E.sd,!0),O=h.c2p(E.mean+E.sd,!0);u.orientation==="h"?d.select(this).attr("d","M"+R+","+A+"V"+L+(_==="sd"?"m0,0L"+I+","+b+"L"+R+","+A+"L"+O+","+b+"Z":"")):d.select(this).attr("d","M"+A+","+R+"H"+L+(_==="sd"?"m0,0L"+b+","+I+"L"+A+","+R+"L"+b+","+O+"Z":""))})}T.exports={plot:function(l,a,u,o){var s=l._context.staticPlot,c=a.xaxis,h=a.yaxis;g.makeTraceGroups(o,u,"trace boxes").each(function(m){var w,y,S=d.select(this),_=m[0],k=_.t,E=_.trace;k.wdPos=k.bdPos*E.whiskerwidth,E.visible!==!0||k.empty?S.remove():(E.orientation==="h"?(w=h,y=c):(w=c,y=h),M(S,{pos:w,val:y},E,k,s),v(S,{x:c,y:h},E,k),f(S,{pos:w,val:y},E,k))})},plotBoxAndWhiskers:M,plotPoints:v,plotBoxMean:f}},24626:function(T){T.exports=function(p,t){var d,g,i=p.cd,M=p.xaxis,v=p.yaxis,f=[];if(t===!1)for(d=0;d=10)return null;for(var v=1/0,f=-1/0,l=i.length,a=0;a0?Math.floor:Math.ceil,j=B>0?Math.ceil:Math.floor,$=B>0?Math.min:Math.max,U=B>0?Math.max:Math.min,G=W(z+N),q=j(F-N),H=[[c=O(z)]];for(f=G;f*B=0;i--)M[u-i]=p[o][i],v[u-i]=t[o][i];for(f.push({x:M,y:v,bicubic:l}),i=o,M=[],v=[];i>=0;i--)M[o-i]=p[i][0],v[o-i]=t[i][0];return f.push({x:M,y:v,bicubic:a}),f}},20347:function(T,p,t){var d=t(89298),g=t(1426).extendFlat;T.exports=function(i,M,v){var f,l,a,u,o,s,c,h,m,w,y,S,_,k,E=i["_"+M],x=i[M+"axis"],A=x._gridlines=[],L=x._minorgridlines=[],b=x._boundarylines=[],R=i["_"+v],I=i[v+"axis"];x.tickmode==="array"&&(x.tickvals=E.slice());var O=i._xctrl,z=i._yctrl,F=O[0].length,B=O.length,N=i._a.length,W=i._b.length;d.prepTicks(x),x.tickmode==="array"&&delete x.tickvals;var j=x.smoothing?3:1;function $(G){var q,H,ne,te,Z,X,Q,re,ie,oe,ue,ce,ye=[],de=[],me={};if(M==="b")for(H=i.b2j(G),ne=Math.floor(Math.max(0,Math.min(W-2,H))),te=H-ne,me.length=W,me.crossLength=N,me.xy=function(pe){return i.evalxy([],pe,H)},me.dxy=function(pe,xe){return i.dxydi([],pe,ne,xe,te)},q=0;q0&&(ie=i.dxydi([],q-1,ne,0,te),ye.push(Z[0]+ie[0]/3),de.push(Z[1]+ie[1]/3),oe=i.dxydi([],q-1,ne,1,te),ye.push(re[0]-oe[0]/3),de.push(re[1]-oe[1]/3)),ye.push(re[0]),de.push(re[1]),Z=re;else for(q=i.a2i(G),X=Math.floor(Math.max(0,Math.min(N-2,q))),Q=q-X,me.length=N,me.crossLength=W,me.xy=function(pe){return i.evalxy([],q,pe)},me.dxy=function(pe,xe){return i.dxydj([],X,pe,Q,xe)},H=0;H0&&(ue=i.dxydj([],X,H-1,Q,0),ye.push(Z[0]+ue[0]/3),de.push(Z[1]+ue[1]/3),ce=i.dxydj([],X,H-1,Q,1),ye.push(re[0]-ce[0]/3),de.push(re[1]-ce[1]/3)),ye.push(re[0]),de.push(re[1]),Z=re;return me.axisLetter=M,me.axis=x,me.crossAxis=I,me.value=G,me.constvar=v,me.index=h,me.x=ye,me.y=de,me.smoothing=I.smoothing,me}function U(G){var q,H,ne,te,Z,X=[],Q=[],re={};if(re.length=E.length,re.crossLength=R.length,M==="b")for(ne=Math.max(0,Math.min(W-2,G)),Z=Math.min(1,Math.max(0,G-ne)),re.xy=function(ie){return i.evalxy([],ie,G)},re.dxy=function(ie,oe){return i.dxydi([],ie,ne,oe,Z)},q=0;qE.length-1||A.push(g(U(l),{color:x.gridcolor,width:x.gridwidth,dash:x.griddash}));for(h=s;hE.length-1||y<0||y>E.length-1))for(S=E[a],_=E[y],f=0;fE[E.length-1]||L.push(g($(w),{color:x.minorgridcolor,width:x.minorgridwidth,dash:x.minorgriddash}));x.startline&&b.push(g(U(0),{color:x.startlinecolor,width:x.startlinewidth})),x.endline&&b.push(g(U(E.length-1),{color:x.endlinecolor,width:x.endlinewidth}))}else{for(u=5e-15,s=(o=[Math.floor((E[E.length-1]-x.tick0)/x.dtick*(1+u)),Math.ceil((E[0]-x.tick0)/x.dtick/(1+u))].sort(function(G,q){return G-q}))[0],c=o[1],h=s;h<=c;h++)m=x.tick0+x.dtick*h,A.push(g($(m),{color:x.gridcolor,width:x.gridwidth,dash:x.griddash}));for(h=s-1;hE[E.length-1]||L.push(g($(w),{color:x.minorgridcolor,width:x.minorgridwidth,dash:x.minorgriddash}));x.startline&&b.push(g($(E[0]),{color:x.startlinecolor,width:x.startlinewidth})),x.endline&&b.push(g($(E[E.length-1]),{color:x.endlinecolor,width:x.endlinewidth}))}}},83311:function(T,p,t){var d=t(89298),g=t(1426).extendFlat;T.exports=function(i,M){var v,f,l,a=M._labels=[],u=M._gridlines;for(v=0;vi.length&&(g=g.slice(0,i.length)):g=[],v=0;v90&&(c-=180,l=-l),{angle:c,flip:l,p:p.c2p(g,t,d),offsetMultplier:a}}},89740:function(T,p,t){var d=t(39898),g=t(91424),i=t(27669),M=t(67961),v=t(11651),f=t(63893),l=t(71828),a=l.strRotate,u=l.strTranslate,o=t(18783);function s(y,S,_,k,E,x,A){var L="const-"+E+"-lines",b=_.selectAll("."+L).data(x);b.enter().append("path").classed(L,!0).style("vector-effect",A?"none":"non-scaling-stroke"),b.each(function(R){var I=R,O=I.x,z=I.y,F=i([],O,y.c2p),B=i([],z,S.c2p),N="M"+M(F,B,I.smoothing);d.select(this).attr("d",N).style("stroke-width",I.width).style("stroke",I.color).style("stroke-dasharray",g.dashStyle(I.dash,I.width)).style("fill","none")}),b.exit().remove()}function c(y,S,_,k,E,x,A,L){var b=x.selectAll("text."+L).data(A);b.enter().append("text").classed(L,!0);var R=0,I={};return b.each(function(O,z){var F;if(O.axis.tickangle==="auto")F=v(k,S,_,O.xy,O.dxy);else{var B=(O.axis.tickangle+180)*Math.PI/180;F=v(k,S,_,O.xy,[Math.cos(B),Math.sin(B)])}z||(I={angle:F.angle,flip:F.flip});var N=(O.endAnchor?-1:1)*F.flip,W=d.select(this).attr({"text-anchor":N>0?"start":"end","data-notex":1}).call(g.font,O.font).text(O.text).call(f.convertToTspans,y),j=g.bBox(this);W.attr("transform",u(F.p[0],F.p[1])+a(F.angle)+u(O.axis.labelpadding*N,.3*j.height)),R=Math.max(R,j.width+O.axis.labelpadding)}),b.exit().remove(),I.maxExtent=R,I}T.exports=function(y,S,_,k){var E=y._context.staticPlot,x=S.xaxis,A=S.yaxis,L=y._fullLayout._clips;l.makeTraceGroups(k,_,"trace").each(function(b){var R=d.select(this),I=b[0],O=I.trace,z=O.aaxis,F=O.baxis,B=l.ensureSingle(R,"g","minorlayer"),N=l.ensureSingle(R,"g","majorlayer"),W=l.ensureSingle(R,"g","boundarylayer"),j=l.ensureSingle(R,"g","labellayer");R.style("opacity",O.opacity),s(x,A,N,0,"a",z._gridlines,!0),s(x,A,N,0,"b",F._gridlines,!0),s(x,A,B,0,"a",z._minorgridlines,!0),s(x,A,B,0,"b",F._minorgridlines,!0),s(x,A,W,0,"a-boundary",z._boundarylines,E),s(x,A,W,0,"b-boundary",F._boundarylines,E);var $=c(y,x,A,O,0,j,z._labels,"a-label"),U=c(y,x,A,O,0,j,F._labels,"b-label");(function(G,q,H,ne,te,Z,X,Q){var re,ie,oe,ue,ce=l.aggNums(Math.min,null,H.a),ye=l.aggNums(Math.max,null,H.a),de=l.aggNums(Math.min,null,H.b),me=l.aggNums(Math.max,null,H.b);re=.5*(ce+ye),ie=de,oe=H.ab2xy(re,ie,!0),ue=H.dxyda_rough(re,ie),X.angle===void 0&&l.extendFlat(X,v(H,te,Z,oe,H.dxydb_rough(re,ie))),w(G,q,H,0,oe,ue,H.aaxis,te,Z,X,"a-title"),re=ce,ie=.5*(de+me),oe=H.ab2xy(re,ie,!0),ue=H.dxydb_rough(re,ie),Q.angle===void 0&&l.extendFlat(Q,v(H,te,Z,oe,H.dxyda_rough(re,ie))),w(G,q,H,0,oe,ue,H.baxis,te,Z,Q,"b-title")})(y,j,O,0,x,A,$,U),function(G,q,H,ne,te){var Z,X,Q,re,ie=H.select("#"+G._clipPathId);ie.size()||(ie=H.append("clipPath").classed("carpetclip",!0));var oe=l.ensureSingle(ie,"path","carpetboundary"),ue=q.clipsegments,ce=[];for(re=0;re90&&W<270,$=d.select(this);$.text(A.title.text).call(f.convertToTspans,y),j&&(F=(-f.lineCount($)+m)*h*N-F),$.attr("transform",u(B.p[0],B.p[1])+a(B.angle)+u(0,F)).attr("text-anchor","middle").call(g.font,A.title.font)}),z.exit().remove()}},11435:function(T,p,t){var d=t(35509),g=t(65888).findBin,i=t(45664),M=t(20349),v=t(54495),f=t(73057);T.exports=function(l){var a=l._a,u=l._b,o=a.length,s=u.length,c=l.aaxis,h=l.baxis,m=a[0],w=a[o-1],y=u[0],S=u[s-1],_=a[a.length-1]-a[0],k=u[u.length-1]-u[0],E=_*d.RELATIVE_CULL_TOLERANCE,x=k*d.RELATIVE_CULL_TOLERANCE;m-=E,w+=E,y-=x,S+=x,l.isVisible=function(A,L){return A>m&&Ay&&Lw||LS},l.setScale=function(){var A=l._x,L=l._y,b=i(l._xctrl,l._yctrl,A,L,c.smoothing,h.smoothing);l._xctrl=b[0],l._yctrl=b[1],l.evalxy=M([l._xctrl,l._yctrl],o,s,c.smoothing,h.smoothing),l.dxydi=v([l._xctrl,l._yctrl],c.smoothing,h.smoothing),l.dxydj=f([l._xctrl,l._yctrl],c.smoothing,h.smoothing)},l.i2a=function(A){var L=Math.max(0,Math.floor(A[0]),o-2),b=A[0]-L;return(1-b)*a[L]+b*a[L+1]},l.j2b=function(A){var L=Math.max(0,Math.floor(A[1]),o-2),b=A[1]-L;return(1-b)*u[L]+b*u[L+1]},l.ij2ab=function(A){return[l.i2a(A[0]),l.j2b(A[1])]},l.a2i=function(A){var L=Math.max(0,Math.min(g(A,a),o-2)),b=a[L],R=a[L+1];return Math.max(0,Math.min(o-1,L+(A-b)/(R-b)))},l.b2j=function(A){var L=Math.max(0,Math.min(g(A,u),s-2)),b=u[L],R=u[L+1];return Math.max(0,Math.min(s-1,L+(A-b)/(R-b)))},l.ab2ij=function(A){return[l.a2i(A[0]),l.b2j(A[1])]},l.i2c=function(A,L){return l.evalxy([],A,L)},l.ab2xy=function(A,L,b){if(!b&&(Aa[o-1]|Lu[s-1]))return[!1,!1];var R=l.a2i(A),I=l.b2j(L),O=l.evalxy([],R,I);if(b){var z,F,B,N,W=0,j=0,$=[];Aa[o-1]?(z=o-2,F=1,W=(A-a[o-1])/(a[o-1]-a[o-2])):F=R-(z=Math.max(0,Math.min(o-2,Math.floor(R)))),Lu[s-1]?(B=s-2,N=1,j=(L-u[s-1])/(u[s-1]-u[s-2])):N=I-(B=Math.max(0,Math.min(s-2,Math.floor(I)))),W&&(l.dxydi($,z,B,F,N),O[0]+=$[0]*W,O[1]+=$[1]*W),j&&(l.dxydj($,z,B,F,N),O[0]+=$[0]*j,O[1]+=$[1]*j)}return O},l.c2p=function(A,L,b){return[L.c2p(A[0]),b.c2p(A[1])]},l.p2x=function(A,L,b){return[L.p2c(A[0]),b.p2c(A[1])]},l.dadi=function(A){var L=Math.max(0,Math.min(a.length-2,A));return a[L+1]-a[L]},l.dbdj=function(A){var L=Math.max(0,Math.min(u.length-2,A));return u[L+1]-u[L]},l.dxyda=function(A,L,b,R){var I=l.dxydi(null,A,L,b,R),O=l.dadi(A,b);return[I[0]/O,I[1]/O]},l.dxydb=function(A,L,b,R){var I=l.dxydj(null,A,L,b,R),O=l.dbdj(L,R);return[I[0]/O,I[1]/O]},l.dxyda_rough=function(A,L,b){var R=_*(b||.1),I=l.ab2xy(A+R,L,!0),O=l.ab2xy(A-R,L,!0);return[.5*(I[0]-O[0])/R,.5*(I[1]-O[1])/R]},l.dxydb_rough=function(A,L,b){var R=k*(b||.1),I=l.ab2xy(A,L+R,!0),O=l.ab2xy(A,L-R,!0);return[.5*(I[0]-O[0])/R,.5*(I[1]-O[1])/R]},l.dpdx=function(A){return A._m},l.dpdy=function(A){return A._m}}},72505:function(T,p,t){var d=t(71828);T.exports=function(g,i,M){var v,f,l,a=[],u=[],o=g[0].length,s=g.length;function c(G,q){var H,ne=0,te=0;return G>0&&(H=g[q][G-1])!==void 0&&(te++,ne+=H),G0&&(H=g[q-1][G])!==void 0&&(te++,ne+=H),q0&&f0&&v1e-5);return d.log("Smoother converged to",R,"after",I,"iterations"),g}},19237:function(T,p,t){var d=t(71828).isArray1D;T.exports=function(g,i,M){var v=M("x"),f=v&&v.length,l=M("y"),a=l&&l.length;if(!f&&!a)return!1;if(i._cheater=!v,f&&!d(v)||a&&!d(l))i._length=null;else{var u=f?v.length:1/0;a&&(u=Math.min(u,l.length)),i.a&&i.a.length&&(u=Math.min(u,i.a.length)),i.b&&i.b.length&&(u=Math.min(u,i.b.length)),i._length=u}return!0}},69568:function(T,p,t){var d=t(5386).fF,g=t(19316),i=t(50693),M=t(9012),v=t(22399).defaultLine,f=t(1426).extendFlat,l=g.marker.line;T.exports=f({locations:{valType:"data_array",editType:"calc"},locationmode:g.locationmode,z:{valType:"data_array",editType:"calc"},geojson:f({},g.geojson,{}),featureidkey:g.featureidkey,text:f({},g.text,{}),hovertext:f({},g.hovertext,{}),marker:{line:{color:f({},l.color,{dflt:v}),width:f({},l.width,{dflt:1}),editType:"calc"},opacity:{valType:"number",arrayOk:!0,min:0,max:1,dflt:1,editType:"style"},editType:"calc"},selected:{marker:{opacity:g.selected.marker.opacity,editType:"plot"},editType:"plot"},unselected:{marker:{opacity:g.unselected.marker.opacity,editType:"plot"},editType:"plot"},hoverinfo:f({},M.hoverinfo,{editType:"calc",flags:["location","z","text","name"]}),hovertemplate:d(),showlegend:f({},M.showlegend,{dflt:!1})},i("",{cLetter:"z",editTypeOverride:"calc"}))},38675:function(T,p,t){var d=t(92770),g=t(50606).BADNUM,i=t(78803),M=t(75225),v=t(66279);function f(l){return l&&typeof l=="string"}T.exports=function(l,a){var u,o=a._length,s=new Array(o);u=a.geojson?function(y){return f(y)||d(y)}:f;for(var c=0;c")}}(M,c,l),[M]}},51319:function(T,p,t){T.exports={attributes:t(69568),supplyDefaults:t(61869),colorbar:t(61243),calc:t(38675),calcGeoJSON:t(99841).calcGeoJSON,plot:t(99841).plot,style:t(99636).style,styleOnSelect:t(99636).styleOnSelect,hoverPoints:t(42300),eventData:t(92069),selectPoints:t(81253),moduleType:"trace",name:"choropleth",basePlotModule:t(44622),categories:["geo","noOpacity","showLegend"],meta:{}}},99841:function(T,p,t){var d=t(39898),g=t(71828),i=t(41327),M=t(90973).getTopojsonFeatures,v=t(71739).findExtremes,f=t(99636).style;T.exports={calcGeoJSON:function(l,a){for(var u=l[0].trace,o=a[u.geo],s=o._subplot,c=u.locationmode,h=u._length,m=c==="geojson-id"?i.extractTraceFeature(l):M(u,s.topojson),w=[],y=[],S=0;S=0;M--){var v=i[M].id;if(typeof v=="string"&&v.indexOf("water")===0){for(var f=M+1;f=0;a--)f.removeLayer(l[a][1])},v.dispose=function(){var f=this.subplot.map;this._removeLayers(),f.removeSource(this.sourceId)},T.exports=function(f,l){var a=l[0].trace,u=new M(f,a.uid),o=u.sourceId,s=d(l),c=u.below=f.belowLookup["trace-"+a.uid];return f.map.addSource(o,{type:"geojson",data:s.geojson}),u._addLayers(s,c),l[0].trace._glTrace=u,u}},12674:function(T,p,t){var d=t(50693),g=t(12663).axisHoverFormat,i=t(5386).fF,M=t(2418),v=t(9012),f=t(1426).extendFlat,l={x:{valType:"data_array",editType:"calc+clearAxisTypes"},y:{valType:"data_array",editType:"calc+clearAxisTypes"},z:{valType:"data_array",editType:"calc+clearAxisTypes"},u:{valType:"data_array",editType:"calc"},v:{valType:"data_array",editType:"calc"},w:{valType:"data_array",editType:"calc"},sizemode:{valType:"enumerated",values:["scaled","absolute"],editType:"calc",dflt:"scaled"},sizeref:{valType:"number",editType:"calc",min:0},anchor:{valType:"enumerated",editType:"calc",values:["tip","tail","cm","center"],dflt:"cm"},text:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertemplate:i({editType:"calc"},{keys:["norm"]}),uhoverformat:g("u",1),vhoverformat:g("v",1),whoverformat:g("w",1),xhoverformat:g("x"),yhoverformat:g("y"),zhoverformat:g("z"),showlegend:f({},v.showlegend,{dflt:!1})};f(l,d("",{colorAttr:"u/v/w norm",showScaleDflt:!0,editTypeOverride:"calc"})),["opacity","lightposition","lighting"].forEach(function(a){l[a]=M[a]}),l.hoverinfo=f({},v.hoverinfo,{editType:"calc",flags:["x","y","z","u","v","w","norm","text","name"],dflt:"x+y+z+norm+text+name"}),l.transforms=void 0,T.exports=l},31371:function(T,p,t){var d=t(78803);T.exports=function(g,i){for(var M=i.u,v=i.v,f=i.w,l=Math.min(i.x.length,i.y.length,i.z.length,M.length,v.length,f.length),a=-1/0,u=1/0,o=0;ov.level||v.starts.length&&M===v.level)}break;case"constraint":if(g.prefixBoundary=!1,g.edgepaths.length)return;var f=g.x.length,l=g.y.length,a=-1/0,u=1/0;for(d=0;d":c>a&&(g.prefixBoundary=!0);break;case"<":(ca||g.starts.length&&s===u)&&(g.prefixBoundary=!0);break;case"][":o=Math.min(c[0],c[1]),s=Math.max(c[0],c[1]),oa&&(g.prefixBoundary=!0)}}}},90654:function(T,p,t){var d=t(21081),g=t(86068),i=t(53572);T.exports={min:"zmin",max:"zmax",calc:function(M,v,f){var l=v.contours,a=v.line,u=l.size||1,o=l.coloring,s=g(v,{isColorbar:!0});if(o==="heatmap"){var c=d.extractOpts(v);f._fillgradient=c.reversescale?d.flipScale(c.colorscale):c.colorscale,f._zrange=[c.min,c.max]}else o==="fill"&&(f._fillcolor=s);f._line={color:o==="lines"?s:a.color,width:l.showlines!==!1?a.width:0,dash:a.dash},f._levels={start:l.start,end:i(l),size:u}}}},36914:function(T){T.exports={BOTTOMSTART:[1,9,13,104,713],TOPSTART:[4,6,7,104,713],LEFTSTART:[8,12,14,208,1114],RIGHTSTART:[2,3,11,208,1114],NEWDELTA:[null,[-1,0],[0,-1],[-1,0],[1,0],null,[0,-1],[-1,0],[0,1],[0,1],null,[0,1],[1,0],[1,0],[0,-1]],CHOOSESADDLE:{104:[4,1],208:[2,8],713:[7,13],1114:[11,14]},SADDLEREMAINDER:{1:4,2:8,4:1,7:13,8:2,11:14,13:7,14:11},LABELDISTANCE:2,LABELINCREASE:10,LABELMIN:3,LABELMAX:10,LABELOPTIMIZER:{EDGECOST:1,ANGLECOST:1,NEIGHBORCOST:5,SAMELEVELFACTOR:10,SAMELEVELDISTANCE:5,MAXCOST:100,INITIALSEARCHPOINTS:10,ITERATIONS:5}}},83179:function(T,p,t){var d=t(92770),g=t(14523),i=t(7901),M=i.addOpacity,v=i.opacity,f=t(74808),l=f.CONSTRAINT_REDUCTION,a=f.COMPARISON_OPS2;T.exports=function(u,o,s,c,h,m){var w,y,S,_=o.contours,k=s("contours.operation");_._operation=l[k],function(E,x){var A;a.indexOf(x.operation)===-1?(E("contours.value",[0,1]),Array.isArray(x.value)?x.value.length>2?x.value=x.value.slice(2):x.length===0?x.value=[0,1]:x.length<2?(A=parseFloat(x.value[0]),x.value=[A,A+1]):x.value=[parseFloat(x.value[0]),parseFloat(x.value[1])]:d(x.value)&&(A=parseFloat(x.value),x.value=[A,A+1])):(E("contours.value",0),d(x.value)||(Array.isArray(x.value)?x.value=parseFloat(x.value[0]):x.value=0))}(s,_),k==="="?w=_.showlines=!0:(w=s("contours.showlines"),S=s("fillcolor",M((u.line||{}).color||h,.5))),w&&(y=s("line.color",S&&v(S)?M(o.fillcolor,1):h),s("line.width",2),s("line.dash")),s("line.smoothing"),g(s,c,y,m)}},64237:function(T,p,t){var d=t(74808),g=t(92770);function i(f,l){var a,u=Array.isArray(l);function o(s){return g(s)?+s:null}return d.COMPARISON_OPS2.indexOf(f)!==-1?a=o(u?l[0]:l):d.INTERVAL_OPS.indexOf(f)!==-1?a=u?[o(l[0]),o(l[1])]:[o(l),o(l)]:d.SET_OPS.indexOf(f)!==-1&&(a=u?l.map(o):[o(l)]),a}function M(f){return function(l){l=i(f,l);var a=Math.min(l[0],l[1]),u=Math.max(l[0],l[1]);return{start:a,end:u,size:u-a}}}function v(f){return function(l){return{start:l=i(f,l),end:1/0,size:1/0}}}T.exports={"[]":M("[]"),"][":M("]["),">":v(">"),"<":v("<"),"=":v("=")}},67217:function(T){T.exports=function(p,t,d,g){var i=g("contours.start"),M=g("contours.end"),v=i===!1||M===!1,f=d("contours.size");!(v?t.autocontour=!0:d("autocontour",!1))&&f||d("ncontours")}},84857:function(T,p,t){var d=t(71828);function g(i){return d.extendFlat({},i,{edgepaths:d.extendDeep([],i.edgepaths),paths:d.extendDeep([],i.paths),starts:d.extendDeep([],i.starts)})}T.exports=function(i,M){var v,f,l,a=function(s){return s.reverse()},u=function(s){return s};switch(M){case"=":case"<":return i;case">":for(i.length!==1&&d.warn("Contour data invalid for the specified inequality operation."),f=i[0],v=0;v1e3){d.warn("Too many contours, clipping at 1000",M);break}return u}},53572:function(T){T.exports=function(p){return p.end+p.size/1e6}},81696:function(T,p,t){var d=t(71828),g=t(36914);function i(f,l,a,u){return Math.abs(f[0]-l[0])20&&oe?ie===208||ie===1114?ce=ue[0]===0?1:-1:ye=ue[1]===0?1:-1:g.BOTTOMSTART.indexOf(ie)!==-1?ye=1:g.LEFTSTART.indexOf(ie)!==-1?ce=1:g.TOPSTART.indexOf(ie)!==-1?ye=-1:ce=-1,[ce,ye]}(h,a,l),w=[v(f,l,[-m[0],-m[1]])],y=f.z.length,S=f.z[0].length,_=l.slice(),k=m.slice();for(s=0;s<1e4;s++){if(h>20?(h=g.CHOOSESADDLE[h][(m[0]||m[1])<0?0:1],f.crossings[c]=g.SADDLEREMAINDER[h]):delete f.crossings[c],!(m=g.NEWDELTA[h])){d.log("Found bad marching index:",h,l,f.level);break}w.push(v(f,l,m)),l[0]+=m[0],l[1]+=m[1],c=l.join(","),i(w[w.length-1],w[w.length-2],u,o)&&w.pop();var E=m[0]&&(l[0]<0||l[0]>S-2)||m[1]&&(l[1]<0||l[1]>y-2);if(l[0]===_[0]&&l[1]===_[1]&&m[0]===k[0]&&m[1]===k[1]||a&&E)break;h=f.crossings[c]}s===1e4&&d.log("Infinite loop in contour?");var x,A,L,b,R,I,O,z,F,B,N,W,j,$,U,G=i(w[0],w[w.length-1],u,o),q=0,H=.2*f.smoothing,ne=[],te=0;for(s=1;s=te;s--)if((x=ne[s])=te&&x+ne[A]z&&F--,f.edgepaths[F]=N.concat(w,B));break}re||(f.edgepaths[z]=w.concat(B))}for(z=0;zi?0:1)+(M[0][1]>i?0:2)+(M[1][1]>i?0:4)+(M[1][0]>i?0:8);return v===5||v===10?i>(M[0][0]+M[0][1]+M[1][0]+M[1][1])/4?v===5?713:1114:v===5?104:208:v===15?0:v}T.exports=function(i){var M,v,f,l,a,u,o,s,c,h=i[0].z,m=h.length,w=h[0].length,y=m===2||w===2;for(v=0;v=0&&(A=U,b=R):Math.abs(x[1]-A[1])<.01?Math.abs(x[1]-U[1])<.01&&(U[0]-x[0])*(A[0]-U[0])>=0&&(A=U,b=R):g.log("endpt to newendpt is not vert. or horz.",x,A,U)}if(x=A,b>=0)break;z+="L"+A}if(b===k.edgepaths.length){g.log("unclosed perimeter path");break}F=b,(N=B.indexOf(F)===-1)&&(F=B[0],z+="Z")}for(F=0;FA.center?A.right-R:R-A.left)/(z+Math.abs(Math.sin(O)*b)),N=(I>A.middle?A.bottom-I:I-A.top)/(Math.abs(F)+Math.cos(O)*b);if(B<1||N<1)return 1/0;var W=w.EDGECOST*(1/(B-1)+1/(N-1));W+=w.ANGLECOST*O*O;for(var j=R-z,$=I-F,U=R+z,G=I+F,q=0;q2*w.MAXCOST)break;N&&(R/=2),I=(b=O-R/2)+1.5*R}if(B<=w.MAXCOST)return z},p.addLabelData=function(k,E,x,A){var L=E.fontSize,b=E.width+L/3,R=Math.max(0,E.height-L/3),I=k.x,O=k.y,z=k.theta,F=Math.sin(z),B=Math.cos(z),N=function(j,$){return[I+j*B-$*F,O+j*F+$*B]},W=[N(-b/2,-R/2),N(-b/2,R/2),N(b/2,R/2),N(b/2,-R/2)];x.push({text:E.text,x:I,y:O,dy:E.dy,theta:z,level:E.level,width:b,height:R}),A.push(W)},p.drawLabels=function(k,E,x,A,L){var b=k.selectAll("text").data(E,function(O){return O.text+","+O.x+","+O.y+","+O.theta});if(b.exit().remove(),b.enter().append("text").attr({"data-notex":1,"text-anchor":"middle"}).each(function(O){var z=O.x+Math.sin(O.theta)*O.dy,F=O.y-Math.cos(O.theta)*O.dy;d.select(this).text(O.text).attr({x:z,y:F,transform:"rotate("+180*O.theta/Math.PI+" "+z+" "+F+")"}).call(v.convertToTspans,x)}),L){for(var R="",I=0;If.end&&(f.start=f.end=(f.start+f.end)/2),M._input.contours||(M._input.contours={}),g.extendFlat(M._input.contours,{start:f.start,end:f.end,size:f.size}),M._input.autocontour=!0}else if(f.type!=="constraint"){var o,s=f.start,c=f.end,h=M._input.contours;s>c&&(f.start=h.start=c,c=f.end=h.end=s,s=f.start),f.size>0||(o=s===c?1:i(s,c,M.ncontours).dtick,h.size=f.size=o)}}},84426:function(T,p,t){var d=t(39898),g=t(91424),i=t(70035),M=t(86068);T.exports=function(v){var f=d.select(v).selectAll("g.contour");f.style("opacity",function(l){return l[0].trace.opacity}),f.each(function(l){var a=d.select(this),u=l[0].trace,o=u.contours,s=u.line,c=o.size||1,h=o.start,m=o.type==="constraint",w=!m&&o.coloring==="lines",y=!m&&o.coloring==="fill",S=w||y?M(u):null;a.selectAll("g.contourlevel").each(function(E){d.select(this).selectAll("path").call(g.lineGroupStyle,s.width,w?S(E.level):s.color,s.dash)});var _=o.labelfont;if(a.selectAll("g.contourlabels text").each(function(E){g.font(d.select(this),{family:_.family,size:_.size,color:_.color||(w?S(E.level):s.color)})}),m)a.selectAll("g.contourfill path").style("fill",u.fillcolor);else if(y){var k;a.selectAll("g.contourfill path").style("fill",function(E){return k===void 0&&(k=E.level),S(E.level+.5*c)}),k===void 0&&(k=h),a.selectAll("g.contourbg path").style("fill",S(k-.5*c))}}),i(v)}},8724:function(T,p,t){var d=t(1586),g=t(14523);T.exports=function(i,M,v,f,l){var a,u=v("contours.coloring"),o="";u==="fill"&&(a=v("contours.showlines")),a!==!1&&(u!=="lines"&&(o=v("line.color","#000")),v("line.width",.5),v("line.dash")),u!=="none"&&(i.showlegend!==!0&&(M.showlegend=!1),M._dfltShowLegend=!1,d(i,M,f,v,{prefix:"",cLetter:"z"})),v("line.smoothing"),g(v,f,o,l)}},88085:function(T,p,t){var d=t(21606),g=t(70600),i=t(50693),M=t(1426).extendFlat,v=g.contours;T.exports=M({carpet:{valType:"string",editType:"calc"},z:d.z,a:d.x,a0:d.x0,da:d.dx,b:d.y,b0:d.y0,db:d.dy,text:d.text,hovertext:d.hovertext,transpose:d.transpose,atype:d.xtype,btype:d.ytype,fillcolor:g.fillcolor,autocontour:g.autocontour,ncontours:g.ncontours,contours:{type:v.type,start:v.start,end:v.end,size:v.size,coloring:{valType:"enumerated",values:["fill","lines","none"],dflt:"fill",editType:"calc"},showlines:v.showlines,showlabels:v.showlabels,labelfont:v.labelfont,labelformat:v.labelformat,operation:v.operation,value:v.value,editType:"calc",impliedEdits:{autocontour:!1}},line:{color:g.line.color,width:g.line.width,dash:g.line.dash,smoothing:g.line.smoothing,editType:"plot"},transforms:void 0},i("",{cLetter:"z",autoColorDflt:!1}))},59885:function(T,p,t){var d=t(78803),g=t(71828),i=t(68296),M=t(4742),v=t(824),f=t(43907),l=t(70769),a=t(75005),u=t(22882),o=t(18670);T.exports=function(s,c){var h=c._carpetTrace=u(s,c);if(h&&h.visible&&h.visible!=="legendonly"){if(!c.a||!c.b){var m=s.data[h.index],w=s.data[c.index];w.a||(w.a=m.a),w.b||(w.b=m.b),a(w,c,c._defaultColor,s._fullLayout)}var y=function(S,_){var k,E,x,A,L,b,R,I=_._carpetTrace,O=I.aaxis,z=I.baxis;O._minDtick=0,z._minDtick=0,g.isArray1D(_.z)&&i(_,O,z,"a","b",["z"]),k=_._a=_._a||_.a,A=_._b=_._b||_.b,k=k?O.makeCalcdata(_,"_a"):[],A=A?z.makeCalcdata(_,"_b"):[],E=_.a0||0,x=_.da||1,L=_.b0||0,b=_.db||1,R=_._z=M(_._z||_.z,_.transpose),_._emptypoints=f(R),v(R,_._emptypoints);var F=g.maxRowLength(R),B=_.xtype==="scaled"?"":k,N=l(_,B,E,x,F,O),W=_.ytype==="scaled"?"":A,j={a:N,b:l(_,W,L,b,R.length,z),z:R};return _.contours.type==="levels"&&_.contours.coloring!=="none"&&d(S,_,{vals:R,containerStr:"",cLetter:"z"}),[j]}(s,c);return o(c,c._z),y}}},75005:function(T,p,t){var d=t(71828),g=t(67684),i=t(88085),M=t(83179),v=t(67217),f=t(8724);T.exports=function(l,a,u,o){function s(c,h){return d.coerce(l,a,i,c,h)}if(s("carpet"),l.a&&l.b){if(!g(l,a,s,o,"a","b"))return void(a.visible=!1);s("text"),s("contours.type")==="constraint"?M(l,a,s,o,u,{hasHover:!1}):(v(l,a,s,function(c){return d.coerce2(l,a,i,c)}),f(l,a,s,o,{hasHover:!1}))}else a._defaultColor=u,a._length=null}},93740:function(T,p,t){T.exports={attributes:t(88085),supplyDefaults:t(75005),colorbar:t(90654),calc:t(59885),plot:t(51048),style:t(84426),moduleType:"trace",name:"contourcarpet",basePlotModule:t(93612),categories:["cartesian","svg","carpet","contour","symbols","showLegend","hasLines","carpetDependent","noHover","noSortingByValue"],meta:{}}},51048:function(T,p,t){var d=t(39898),g=t(27669),i=t(67961),M=t(91424),v=t(71828),f=t(87678),l=t(81696),a=t(29854),u=t(36914),o=t(84857),s=t(87558),c=t(20083),h=t(22882),m=t(4536);function w(_,k,E){var x=_.getPointAtLength(k),A=_.getPointAtLength(E),L=A.x-x.x,b=A.y-x.y,R=Math.sqrt(L*L+b*b);return[L/R,b/R]}function y(_){var k=Math.sqrt(_[0]*_[0]+_[1]*_[1]);return[_[0]/k,_[1]/k]}function S(_,k){var E=Math.abs(_[0]*k[0]+_[1]*k[1]);return Math.sqrt(1-E*E)/E}T.exports=function(_,k,E,x){var A=k.xaxis,L=k.yaxis;v.makeTraceGroups(x,E,"contour").each(function(b){var R=d.select(this),I=b[0],O=I.trace,z=O._carpetTrace=h(_,O),F=_.calcdata[z.index][0];if(z.visible&&z.visible!=="legendonly"){var B=I.a,N=I.b,W=O.contours,j=s(W,k,I),$=W.type==="constraint",U=W._operation,G=$?U==="="?"lines":"fill":W.coloring,q=[[B[0],N[N.length-1]],[B[B.length-1],N[N.length-1]],[B[B.length-1],N[0]],[B[0],N[0]]];f(j);var H=1e-8*(B[B.length-1]-B[0]),ne=1e-8*(N[N.length-1]-N[0]);l(j,H,ne);var te,Z,X,Q,re=j;W.type==="constraint"&&(re=o(j,U)),function(ce,ye){var de,me,pe,xe,Pe,_e,Me,Se,Ce;for(de=0;de=0;Q--)te=F.clipsegments[Q],Z=g([],te.x,A.c2p),X=g([],te.y,L.c2p),Z.reverse(),X.reverse(),ie.push(i(Z,X,te.bicubic));var oe="M"+ie.join("L")+"Z";(function(ce,ye,de,me,pe,xe){var Pe,_e,Me,Se,Ce=v.ensureSingle(ce,"g","contourbg").selectAll("path").data(xe!=="fill"||pe?[]:[0]);Ce.enter().append("path"),Ce.exit().remove();var ae=[];for(Se=0;Se=0&&(st=ft,ht=bt):Math.abs(Ye[1]-st[1])=0&&(st=ft,ht=bt):v.log("endpt to newendpt is not vert. or horz.",Ye,st,ft)}if(ht>=0)break;kt+=qe(Ye,st),Ye=st}if(ht===Be.edgepaths.length){v.log("unclosed perimeter path");break}$e=ht,(Ft=xt.indexOf($e)===-1)&&($e=xt[0],kt+=qe(Ye,st)+"Z",Ye=null)}for($e=0;$eLt&&(Ke.max=Lt),Ke.len=Ke.max-Ke.min}function yt(Pt,wt){var Rt,Nt=0,Yt=.1;return(Math.abs(Pt[0]-Re)0?+m[s]:0),c.push({type:"Feature",geometry:{type:"Point",coordinates:_},properties:k})}}var x=M.extractOpts(a),A=x.reversescale?M.flipScale(x.colorscale):x.colorscale,L=A[0][1],b=["interpolate",["linear"],["heatmap-density"],0,i.opacity(L)<1?L:i.addOpacity(L,0)];for(s=1;s=0;l--)v.removeLayer(f[l][1])},M.dispose=function(){var v=this.subplot.map;this._removeLayers(),v.removeSource(this.sourceId)},T.exports=function(v,f){var l=f[0].trace,a=new i(v,l.uid),u=a.sourceId,o=d(f),s=a.below=v.belowLookup["trace-"+l.uid];return v.map.addSource(u,{type:"geojson",data:o.geojson}),a._addLayers(o,s),a}},49789:function(T,p,t){var d=t(71828);T.exports=function(g,i){for(var M=0;M"),u.color=function(k,E){var x=k.marker,A=E.mc||x.color,L=E.mlc||x.line.color,b=E.mlw||x.line.width;return d(A)?A:d(L)&&b?L:void 0}(s,h),[u]}}},51759:function(T,p,t){T.exports={attributes:t(1285),layoutAttributes:t(10440),supplyDefaults:t(26199).supplyDefaults,crossTraceDefaults:t(26199).crossTraceDefaults,supplyLayoutDefaults:t(93138),calc:t(9532),crossTraceCalc:t(8984),plot:t(80461),style:t(68266).style,hoverPoints:t(63341),eventData:t(34598),selectPoints:t(81974),moduleType:"trace",name:"funnel",basePlotModule:t(93612),categories:["bar-like","cartesian","svg","oriented","showLegend","zoomScale"],meta:{}}},10440:function(T){T.exports={funnelmode:{valType:"enumerated",values:["stack","group","overlay"],dflt:"stack",editType:"calc"},funnelgap:{valType:"number",min:0,max:1,editType:"calc"},funnelgroupgap:{valType:"number",min:0,max:1,dflt:0,editType:"calc"}}},93138:function(T,p,t){var d=t(71828),g=t(10440);T.exports=function(i,M,v){var f=!1;function l(o,s){return d.coerce(i,M,g,o,s)}for(var a=0;a path").each(function(w){if(!w.isBlank){var y=m.marker;d.select(this).call(i.fill,w.mc||y.color).call(i.stroke,w.mlc||y.line.color).call(g.dashLine,y.line.dash,w.mlw||y.line.width).style("opacity",m.selectedpoints&&!w.selected?M:1)}}),l(h,m,a),h.selectAll(".regions").each(function(){d.select(this).selectAll("path").style("stroke-width",0).call(i.fill,m.connector.fillcolor)}),h.selectAll(".lines").each(function(){var w=m.connector.line;g.lineGroupStyle(d.select(this).selectAll("path"),w.width,w.color,w.dash)})})}}},86807:function(T,p,t){var d=t(34e3),g=t(9012),i=t(27670).Y,M=t(5386).fF,v=t(5386).si,f=t(1426).extendFlat;T.exports={labels:d.labels,label0:d.label0,dlabel:d.dlabel,values:d.values,marker:{colors:d.marker.colors,line:{color:f({},d.marker.line.color,{dflt:null}),width:f({},d.marker.line.width,{dflt:1}),editType:"calc"},editType:"calc"},text:d.text,hovertext:d.hovertext,scalegroup:f({},d.scalegroup,{}),textinfo:f({},d.textinfo,{flags:["label","text","value","percent"]}),texttemplate:v({editType:"plot"},{keys:["label","color","value","text","percent"]}),hoverinfo:f({},g.hoverinfo,{flags:["label","text","value","percent","name"]}),hovertemplate:M({},{keys:["label","color","value","text","percent"]}),textposition:f({},d.textposition,{values:["inside","none"],dflt:"inside"}),textfont:d.textfont,insidetextfont:d.insidetextfont,title:{text:d.title.text,font:d.title.font,position:f({},d.title.position,{values:["top left","top center","top right"],dflt:"top center"}),editType:"plot"},domain:i({name:"funnelarea",trace:!0,editType:"calc"}),aspectratio:{valType:"number",min:0,dflt:1,editType:"plot"},baseratio:{valType:"number",min:0,max:1,dflt:.333,editType:"plot"}}},6452:function(T,p,t){var d=t(74875);p.name="funnelarea",p.plot=function(g,i,M,v){d.plotBasePlot(p.name,g,i,M,v)},p.clean=function(g,i,M,v){d.cleanBasePlot(p.name,g,i,M,v)}},89574:function(T,p,t){var d=t(32354);T.exports={calc:function(g,i){return d.calc(g,i)},crossTraceCalc:function(g){d.crossTraceCalc(g,{type:"funnelarea"})}}},86282:function(T,p,t){var d=t(71828),g=t(86807),i=t(27670).c,M=t(90769).handleText,v=t(37434).handleLabelsAndValues;T.exports=function(f,l,a,u){function o(k,E){return d.coerce(f,l,g,k,E)}var s=o("labels"),c=o("values"),h=v(s,c),m=h.len;if(l._hasLabels=h.hasLabels,l._hasValues=h.hasValues,!l._hasLabels&&l._hasValues&&(o("label0"),o("dlabel")),m){l._length=m,o("marker.line.width")&&o("marker.line.color",u.paper_bgcolor),o("marker.colors"),o("scalegroup");var w,y=o("text"),S=o("texttemplate");if(S||(w=o("textinfo",Array.isArray(y)?"text+percent":"percent")),o("hovertext"),o("hovertemplate"),S||w&&w!=="none"){var _=o("textposition");M(f,l,u,o,_,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1})}i(l,u,o),o("title.text")&&(o("title.position"),d.coerceFont(o,"title.font",u.font)),o("aspectratio"),o("baseratio")}else l.visible=!1}},10421:function(T,p,t){T.exports={moduleType:"trace",name:"funnelarea",basePlotModule:t(6452),categories:["pie-like","funnelarea","showLegend"],attributes:t(86807),layoutAttributes:t(80097),supplyDefaults:t(86282),supplyLayoutDefaults:t(57402),calc:t(89574).calc,crossTraceCalc:t(89574).crossTraceCalc,plot:t(79187),style:t(71858),styleOne:t(63463),meta:{}}},80097:function(T,p,t){var d=t(92774).hiddenlabels;T.exports={hiddenlabels:d,funnelareacolorway:{valType:"colorlist",editType:"calc"},extendfunnelareacolors:{valType:"boolean",dflt:!0,editType:"calc"}}},57402:function(T,p,t){var d=t(71828),g=t(80097);T.exports=function(i,M){function v(f,l){return d.coerce(i,M,g,f,l)}v("hiddenlabels"),v("funnelareacolorway",M.colorway),v("extendfunnelareacolors")}},79187:function(T,p,t){var d=t(39898),g=t(91424),i=t(71828),M=i.strScale,v=i.strTranslate,f=t(63893),l=t(17295).toMoveInsideBar,a=t(72597),u=a.recordMinTextSize,o=a.clearMinTextSize,s=t(53581),c=t(14575),h=c.attachFxHandlers,m=c.determineInsideTextFont,w=c.layoutAreas,y=c.prerenderTitles,S=c.positionTitleOutside,_=c.formatSliceLabel;function k(E,x){return"l"+(x[0]-E[0])+","+(x[1]-E[1])}T.exports=function(E,x){var A=E._context.staticPlot,L=E._fullLayout;o("funnelarea",L),y(x,E),w(x,L._size),i.makeTraceGroups(L._funnelarealayer,x,"trace").each(function(b){var R=d.select(this),I=b[0],O=I.trace;(function(z){if(z.length){var F=z[0],B=F.trace,N=B.aspectratio,W=B.baseratio;W>.999&&(W=.999);var j,$,U,G=Math.pow(W,2),q=F.vTotal,H=q,ne=q*G/(1-G)/q,te=[];for(te.push(Me()),$=z.length-1;$>-1;$--)if(!(U=z[$]).hidden){var Z=U.v/H;ne+=Z,te.push(Me())}var X=1/0,Q=-1/0;for($=0;$-1;$--)if(!(U=z[$]).hidden){var Pe=te[xe+=1][0],_e=te[xe][1];U.TL=[-Pe,_e],U.TR=[Pe,_e],U.BL=me,U.BR=pe,U.pxmid=(ye=U.TR,de=U.BR,[.5*(ye[0]+de[0]),.5*(ye[1]+de[1])]),me=U.TL,pe=U.TR}}function Me(){var Se,Ce={x:Se=Math.sqrt(ne),y:-Se};return[Ce.x,Ce.y]}})(b),R.each(function(){var z=d.select(this).selectAll("g.slice").data(b);z.enter().append("g").classed("slice",!0),z.exit().remove(),z.each(function(B,N){if(B.hidden)d.select(this).selectAll("path,g").remove();else{B.pointNumber=B.i,B.curveNumber=O.index;var W=I.cx,j=I.cy,$=d.select(this),U=$.selectAll("path.surface").data([B]);U.enter().append("path").classed("surface",!0).style({"pointer-events":A?"none":"all"}),$.call(h,E,b);var G="M"+(W+B.TR[0])+","+(j+B.TR[1])+k(B.TR,B.BR)+k(B.BR,B.BL)+k(B.BL,B.TL)+"Z";U.attr("d",G),_(E,B,I);var q=s.castOption(O.textposition,B.pts),H=$.selectAll("g.slicetext").data(B.text&&q!=="none"?[0]:[]);H.enter().append("g").classed("slicetext",!0),H.exit().remove(),H.each(function(){var ne=i.ensureSingle(d.select(this),"text","",function(ue){ue.attr("data-notex",1)}),te=i.ensureUniformFontSize(E,m(O,B,L.font));ne.text(B.text).attr({class:"slicetext",transform:"","text-anchor":"middle"}).call(g.font,te).call(f.convertToTspans,E);var Z,X,Q,re=g.bBox(ne.node()),ie=Math.min(B.BL[1],B.BR[1])+j,oe=Math.max(B.TL[1],B.TR[1])+j;X=Math.max(B.TL[0],B.BL[0])+W,Q=Math.min(B.TR[0],B.BR[0])+W,(Z=l(X,Q,ie,oe,re,{isHorizontal:!0,constrained:!0,angle:0,anchor:"middle"})).fontSize=te.size,u(O.type,Z,L),b[N].transform=Z,i.setTransormAndDisplay(ne,Z)})}});var F=d.select(this).selectAll("g.titletext").data(O.title.text?[0]:[]);F.enter().append("g").classed("titletext",!0),F.exit().remove(),F.each(function(){var B=i.ensureSingle(d.select(this),"text","",function(j){j.attr("data-notex",1)}),N=O.title.text;O._meta&&(N=i.templateString(N,O._meta)),B.text(N).attr({class:"titletext",transform:"","text-anchor":"middle"}).call(g.font,O.title.font).call(f.convertToTspans,E);var W=S(I,L._size);B.attr("transform",v(W.x,W.y)+M(Math.min(1,W.scale))+v(W.tx,W.ty))})})})}},71858:function(T,p,t){var d=t(39898),g=t(63463),i=t(72597).resizeText;T.exports=function(M){var v=M._fullLayout._funnelarealayer.selectAll(".trace");i(M,v,"funnelarea"),v.each(function(f){var l=f[0].trace,a=d.select(this);a.style({opacity:l.opacity}),a.selectAll("path.surface").each(function(u){d.select(this).call(g,u,l)})})}},21606:function(T,p,t){var d=t(82196),g=t(9012),i=t(41940),M=t(12663).axisHoverFormat,v=t(5386).fF,f=t(5386).si,l=t(50693),a=t(1426).extendFlat;T.exports=a({z:{valType:"data_array",editType:"calc"},x:a({},d.x,{impliedEdits:{xtype:"array"}}),x0:a({},d.x0,{impliedEdits:{xtype:"scaled"}}),dx:a({},d.dx,{impliedEdits:{xtype:"scaled"}}),y:a({},d.y,{impliedEdits:{ytype:"array"}}),y0:a({},d.y0,{impliedEdits:{ytype:"scaled"}}),dy:a({},d.dy,{impliedEdits:{ytype:"scaled"}}),xperiod:a({},d.xperiod,{impliedEdits:{xtype:"scaled"}}),yperiod:a({},d.yperiod,{impliedEdits:{ytype:"scaled"}}),xperiod0:a({},d.xperiod0,{impliedEdits:{xtype:"scaled"}}),yperiod0:a({},d.yperiod0,{impliedEdits:{ytype:"scaled"}}),xperiodalignment:a({},d.xperiodalignment,{impliedEdits:{xtype:"scaled"}}),yperiodalignment:a({},d.yperiodalignment,{impliedEdits:{ytype:"scaled"}}),text:{valType:"data_array",editType:"calc"},hovertext:{valType:"data_array",editType:"calc"},transpose:{valType:"boolean",dflt:!1,editType:"calc"},xtype:{valType:"enumerated",values:["array","scaled"],editType:"calc+clearAxisTypes"},ytype:{valType:"enumerated",values:["array","scaled"],editType:"calc+clearAxisTypes"},zsmooth:{valType:"enumerated",values:["fast","best",!1],dflt:!1,editType:"calc"},hoverongaps:{valType:"boolean",dflt:!0,editType:"none"},connectgaps:{valType:"boolean",editType:"calc"},xgap:{valType:"number",dflt:0,min:0,editType:"plot"},ygap:{valType:"number",dflt:0,min:0,editType:"plot"},xhoverformat:M("x"),yhoverformat:M("y"),zhoverformat:M("z",1),hovertemplate:v(),texttemplate:f({arrayOk:!1,editType:"plot"},{keys:["x","y","z","text"]}),textfont:i({editType:"plot",autoSize:!0,autoColor:!0,colorEditType:"style"}),showlegend:a({},g.showlegend,{dflt:!1})},{transforms:void 0},l("",{cLetter:"z",autoColorDflt:!1}))},90757:function(T,p,t){var d=t(73972),g=t(71828),i=t(89298),M=t(42973),v=t(17562),f=t(78803),l=t(68296),a=t(4742),u=t(824),o=t(43907),s=t(70769),c=t(50606).BADNUM;function h(m){for(var w=[],y=m.length,S=0;SG){$("x scale is not linear");break}}if(E.length&&W==="fast"){var q=(E[E.length-1]-E[0])/(E.length-1),H=Math.abs(q/100);for(R=0;RH){$("y scale is not linear");break}}}}var ne=g.maxRowLength(b),te=w.xtype==="scaled"?"":y,Z=s(w,te,S,_,ne,O),X=w.ytype==="scaled"?"":E,Q=s(w,X,x,A,b.length,z);N||(w._extremes[O._id]=i.findExtremes(O,Z),w._extremes[z._id]=i.findExtremes(z,Q));var re={x:Z,y:Q,z:b,text:w._text||w.text,hovertext:w._hovertext||w.hovertext};if(w.xperiodalignment&&k&&(re.orig_x=k),w.yperiodalignment&&L&&(re.orig_y=L),te&&te.length===Z.length-1&&(re.xCenter=te),X&&X.length===Q.length-1&&(re.yCenter=X),B&&(re.xRanges=I.xRanges,re.yRanges=I.yRanges,re.pts=I.pts),F||f(m,w,{vals:b,cLetter:"z"}),F&&w.contours&&w.contours.coloring==="heatmap"){var ie={type:w.type==="contour"?"heatmap":"histogram2d",xcalendar:w.xcalendar,ycalendar:w.ycalendar};re.xfill=s(ie,te,S,_,ne,O),re.yfill=s(ie,X,x,A,b.length,z)}return[re]}},4742:function(T,p,t){var d=t(92770),g=t(71828),i=t(50606).BADNUM;T.exports=function(M,v,f,l){var a,u,o,s,c,h;function m(E){if(d(E))return+E}if(v&&v.transpose){for(a=0,c=0;c=0;l--)(a=((c[[(M=(f=h[l])[0])-1,v=f[1]]]||y)[2]+(c[[M+1,v]]||y)[2]+(c[[M,v-1]]||y)[2]+(c[[M,v+1]]||y)[2])/20)&&(u[f]=[M,v,a],h.splice(l,1),o=!0);if(!o)throw"findEmpties iterated with no new neighbors";for(f in u)c[f]=u[f],s.push(u[f])}return s.sort(function(_,k){return k[2]-_[2]})}},46248:function(T,p,t){var d=t(30211),g=t(71828),i=t(89298),M=t(21081).extractOpts;T.exports=function(v,f,l,a,u){u||(u={});var o,s,c,h,m=u.isContour,w=v.cd[0],y=w.trace,S=v.xa,_=v.ya,k=w.x,E=w.y,x=w.z,A=w.xCenter,L=w.yCenter,b=w.zmask,R=y.zhoverformat,I=k,O=E;if(v.index!==!1){try{c=Math.round(v.index[1]),h=Math.round(v.index[0])}catch{return void g.error("Error hovering on heatmap, pointNumber must be [row,col], found:",v.index)}if(c<0||c>=x[0].length||h<0||h>x.length)return}else{if(d.inbox(f-k[0],f-k[k.length-1],0)>0||d.inbox(l-E[0],l-E[E.length-1],0)>0)return;if(m){var z;for(I=[2*k[0]-k[1]],z=1;zk&&(x=Math.max(x,Math.abs(v[u][o]-_)/(E-k))))}return x}T.exports=function(v,f){var l,a=1;for(M(v,f),l=0;l.01;l++)a=M(v,f,i(a));return a>.01&&d.log("interp2d didn't converge quickly",a),v}},58623:function(T,p,t){var d=t(71828);T.exports=function(g,i){g("texttemplate");var M=d.extendFlat({},i.font,{color:"auto",size:"auto"});d.coerceFont(g,"textfont",M)}},70769:function(T,p,t){var d=t(73972),g=t(71828).isArrayOrTypedArray;T.exports=function(i,M,v,f,l,a){var u,o,s,c=[],h=d.traceIs(i,"contour"),m=d.traceIs(i,"histogram"),w=d.traceIs(i,"gl2d");if(g(M)&&M.length>1&&!m&&a.type!=="category"){var y=M.length;if(!(y<=l))return h?M.slice(0,l):M.slice(0,l+1);if(h||w)c=M.slice(0,l);else if(l===1)c=[M[0]-.5,M[0]+.5];else{for(c=[1.5*M[0]-.5*M[1]],s=1;s0;)z=b.c2p(Z[W]),W--;for(z0;)N=R.c2p(X[W]),W--;if(NWt||Wt>R._length))for(j=wt;jQt||Qt>b._length)){var rn=a({x:Xt,y:Yt},q,E._fullLayout);rn.x=Xt,rn.y=Yt;var xn=G.z[W][j];xn===void 0?(rn.z="",rn.zLabel=""):(rn.z=xn,rn.zLabel=v.tickText(It,xn,"hover").text);var un=G.text&&G.text[W]&&G.text[W][j];un!==void 0&&un!==!1||(un=""),rn.text=un;var An=f.texttemplateString(dt,rn,E._fullLayout._d3locale,rn,q._meta||{});if(An){var Yn=An.split("
"),kn=Yn.length,sn=0;for($=0;$0&&(k=!0);for(var A=0;Af){var l=f-M[g];return M[g]=f,l}}return 0},max:function(g,i,M,v){var f=v[i];if(d(f)){if(f=Number(f),!d(M[g]))return M[g]=f,f;if(M[g]l?h>M?h>1.1*g?g:h>1.1*i?i:M:h>v?v:h>f?f:l:Math.pow(10,Math.floor(Math.log(h)/Math.LN10))}function s(h,m,w,y,S,_){if(y&&h>M){var k=c(m,S,_),E=c(w,S,_),x=h===g?0:1;return k[x]!==E[x]}return Math.floor(w/h)-Math.floor(m/h)>.1}function c(h,m,w){var y=m.c2d(h,g,w).split("-");return y[0]===""&&(y.unshift(),y[0]="-"+y[0]),y}T.exports=function(h,m,w,y,S){var _,k,E=-1.1*m,x=-.1*m,A=h-x,L=w[0],b=w[1],R=Math.min(u(L+x,L+A,y,S),u(b+x,b+A,y,S)),I=Math.min(u(L+E,L+x,y,S),u(b+E,b+x,y,S));if(R>I&&IM){var O=_===g?1:6,z=_===g?"M12":"M1";return function(F,B){var N=y.c2d(F,g,S),W=N.indexOf("-",O);W>0&&(N=N.substr(0,W));var j=y.d2c(N,0,S);if(jh.r2l(re)&&(oe=M.tickIncrement(oe,I.size,!0,k)),te.start=h.l2r(oe),Q||g.nestedProperty(c,L+".start").set(te.start)}var ue=I.end,ce=h.r2l(ne.end),ye=ce!==void 0;if((I.endFound||ye)&&ce!==h.r2l(ue)){var de=ye?ce:g.aggNums(Math.max,null,E);te.end=h.l2r(de),ye||g.nestedProperty(c,L+".start").set(te.end)}var me="autobin"+m;return c._input[me]===!1&&(c._input[L]=g.extendFlat({},c[L]||{}),delete c._input[me],delete c[me]),[te,E]}T.exports={calc:function(s,c){var h,m,w,y,S=[],_=[],k=c.orientation==="h",E=M.getFromId(s,k?c.yaxis:c.xaxis),x=k?"y":"x",A={x:"y",y:"x"}[x],L=c[x+"calendar"],b=c.cumulative,R=o(s,c,E,x),I=R[0],O=R[1],z=typeof I.size=="string",F=[],B=z?F:I,N=[],W=[],j=[],$=0,U=c.histnorm,G=c.histfunc,q=U.indexOf("density")!==-1;b.enabled&&q&&(U=U.replace(/ ?density$/,""),q=!1);var H,ne=G==="max"||G==="min"?null:0,te=f.count,Z=l[U],X=!1,Q=function(Ce){return E.r2c(Ce,0,L)};for(g.isArrayOrTypedArray(c[A])&&G!=="count"&&(H=c[A],X=G==="avg",te=f[G]),h=Q(I.start),w=Q(I.end)+(h-M.tickIncrement(h,I.size,!1,L))/1e6;h=0&&y=0;be--)ze(be);else if(ae==="increasing"){for(be=1;be=0;be--)Ce[be]+=Ce[be+1];fe==="exclude"&&(Ce.push(0),Ce.shift())}}(_,b.direction,b.currentbin);var xe=Math.min(S.length,_.length),Pe=[],_e=0,Me=xe-1;for(h=0;h=_e;h--)if(_[h]){Me=h;break}for(h=_e;h<=Me;h++)if(d(S[h])&&d(_[h])){var Se={p:S[h],s:_[h],b:0};b.enabled||(Se.pts=j[h],ce?Se.ph0=Se.ph1=j[h].length?O[j[h][0]]:S[h]:(c._computePh=!0,Se.ph0=oe(F[h]),Se.ph1=oe(F[h+1],!0))),Pe.push(Se)}return Pe.length===1&&(Pe[0].width1=M.tickIncrement(Pe[0].p,I.size,!1,L)-Pe[0].p),v(Pe,c),g.isArrayOrTypedArray(c.selectedpoints)&&g.tagSelected(Pe,c,me),Pe},calcAllAutoBins:o}},72406:function(T){T.exports={eventDataKeys:["binNumber"]}},82222:function(T,p,t){var d=t(71828),g=t(41675),i=t(73972).traceIs,M=t(26125),v=d.nestedProperty,f=t(99082).getAxisGroup,l=[{aStr:{x:"xbins.start",y:"ybins.start"},name:"start"},{aStr:{x:"xbins.end",y:"ybins.end"},name:"end"},{aStr:{x:"xbins.size",y:"ybins.size"},name:"size"},{aStr:{x:"nbinsx",y:"nbinsy"},name:"nbins"}],a=["x","y"];T.exports=function(u,o){var s,c,h,m,w,y,S,_=o._histogramBinOpts={},k=[],E={},x=[];function A(q,H){return d.coerce(s._input,s,s._module.attributes,q,H)}function L(q){return q.orientation==="v"?"x":"y"}function b(q,H,ne){var te=q.uid+"__"+ne;H||(H=te);var Z=function(ie,oe){return g.getFromTrace({_fullLayout:o},ie,oe).type}(q,ne),X=q[ne+"calendar"]||"",Q=_[H],re=!0;Q&&(Z===Q.axType&&X===Q.calendar?(re=!1,Q.traces.push(q),Q.dirs.push(ne)):(H=te,Z!==Q.axType&&d.warn(["Attempted to group the bins of trace",q.index,"set on a","type:"+Z,"axis","with bins on","type:"+Q.axType,"axis."].join(" ")),X!==Q.calendar&&d.warn(["Attempted to group the bins of trace",q.index,"set with a",X,"calendar","with bins",Q.calendar?"on a "+Q.calendar+" calendar":"w/o a set calendar"].join(" ")))),re&&(_[H]={traces:[q],dirs:[ne],axType:Z,calendar:q[ne+"calendar"]||""}),q["_"+ne+"bingroup"]=H}for(w=0;wF&&R.splice(F,R.length-F),z.length>F&&z.splice(F,z.length-F);var B=[],N=[],W=[],j=typeof b.size=="string",$=typeof O.size=="string",U=[],G=[],q=j?U:b,H=$?G:O,ne=0,te=[],Z=[],X=c.histnorm,Q=c.histfunc,re=X.indexOf("density")!==-1,ie=Q==="max"||Q==="min"?null:0,oe=i.count,ue=M[X],ce=!1,ye=[],de=[],me="z"in c?c.z:"marker"in c&&Array.isArray(c.marker.color)?c.marker.color:"";me&&Q!=="count"&&(ce=Q==="avg",oe=i[Q]);var pe=b.size,xe=x(b.start),Pe=x(b.end)+(xe-g.tickIncrement(xe,pe,!1,k))/1e6;for(h=xe;h=0&&w=0&&y-1,flipY:N.tiling.flip.indexOf("y")>-1,orientation:N.tiling.orientation,pad:{inner:N.tiling.pad},maxDepth:N._maxDepth}).descendants(),G=1/0,q=-1/0;U.forEach(function(X){var Q=X.depth;Q>=N._maxDepth?(X.x0=X.x1=(X.x0+X.x1)/2,X.y0=X.y1=(X.y0+X.y1)/2):(G=Math.min(G,Q),q=Math.max(q,Q))}),w=w.data(U,a.getPtId),N._maxVisibleLayers=isFinite(q)?q-G+1:0,w.enter().append("g").classed("slice",!0),R(w,s,{},[S,_],x),w.order();var H=null;if(b&&z){var ne=a.getPtId(z);w.each(function(X){H===null&&a.getPtId(X)===ne&&(H={x0:X.x0,x1:X.x1,y0:X.y0,y1:X.y1})})}var te=function(){return H||{x0:0,x1:S,y0:0,y1:_}},Z=w;return b&&(Z=Z.transition().each("end",function(){var X=d.select(this);a.setSliceCursor(X,c,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})})),Z.each(function(X){X._x0=k(X.x0),X._x1=k(X.x1),X._y0=E(X.y0),X._y1=E(X.y1),X._hoverX=k(X.x1-N.tiling.pad),X._hoverY=E($?X.y1-N.tiling.pad/2:X.y0+N.tiling.pad/2);var Q=d.select(this),re=g.ensureSingle(Q,"path","surface",function(ce){ce.style("pointer-events",F?"none":"all")});b?re.transition().attrTween("d",function(ce){var ye=I(ce,s,te(),[S,_],{orientation:N.tiling.orientation,flipX:N.tiling.flip.indexOf("x")>-1,flipY:N.tiling.flip.indexOf("y")>-1});return function(de){return x(ye(de))}}):re.attr("d",x),Q.call(u,m,c,h,{styleOne:f,eventDataKeys:l.eventDataKeys,transitionTime:l.CLICK_TRANSITION_TIME,transitionEasing:l.CLICK_TRANSITION_EASING}).call(a.setSliceCursor,c,{isTransitioning:c._transitioning}),re.call(f,X,N,{hovered:!1}),X.x0===X.x1||X.y0===X.y1?X._text="":X._text=o(X,m,N,h,B)||"";var ie=g.ensureSingle(Q,"g","slicetext"),oe=g.ensureSingle(ie,"text","",function(ce){ce.attr("data-notex",1)}),ue=g.ensureUniformFontSize(c,a.determineTextFont(N,X,B.font));oe.text(X._text||" ").classed("slicetext",!0).attr("text-anchor",j?"end":W?"start":"middle").call(i.font,ue).call(M.convertToTspans,c),X.textBB=i.bBox(oe.node()),X.transform=A(X,{fontSize:ue.size}),X.transform.fontSize=ue.size,b?oe.transition().attrTween("transform",function(ce){var ye=O(ce,s,te(),[S,_]);return function(de){return L(ye(de))}}):oe.attr("transform",L(X))}),H}},69816:function(T,p,t){T.exports={moduleType:"trace",name:"icicle",basePlotModule:t(96346),categories:[],animatable:!0,attributes:t(46291),layoutAttributes:t(92894),supplyDefaults:t(56524),supplyLayoutDefaults:t(21070),calc:t(46584).y,crossTraceCalc:t(46584).T,plot:t(85596),style:t(82454).style,colorbar:t(4898),meta:{}}},92894:function(T){T.exports={iciclecolorway:{valType:"colorlist",editType:"calc"},extendiciclecolors:{valType:"boolean",dflt:!0,editType:"calc"}}},21070:function(T,p,t){var d=t(71828),g=t(92894);T.exports=function(i,M){function v(f,l){return d.coerce(i,M,g,f,l)}v("iciclecolorway",M.colorway),v("extendiciclecolors")}},21538:function(T,p,t){var d=t(674),g=t(14102);T.exports=function(i,M,v){var f=v.flipX,l=v.flipY,a=v.orientation==="h",u=v.maxDepth,o=M[0],s=M[1];u&&(o=(i.height+1)*M[0]/Math.min(i.height+1,u),s=(i.height+1)*M[1]/Math.min(i.height+1,u));var c=d.partition().padding(v.pad.inner).size(a?[M[1],o]:[M[0],s])(i);return(a||f||l)&&g(c,M,{swapXY:a,flipX:f,flipY:l}),c}},85596:function(T,p,t){var d=t(80694),g=t(90666);T.exports=function(i,M,v,f){return d(i,M,v,f,{type:"icicle",drawDescendants:g})}},82454:function(T,p,t){var d=t(39898),g=t(7901),i=t(71828),M=t(72597).resizeText;function v(f,l,a){var u=l.data.data,o=!l.children,s=u.i,c=i.castOption(a,s,"marker.line.color")||g.defaultLine,h=i.castOption(a,s,"marker.line.width")||0;f.style("stroke-width",h).call(g.fill,u.color).call(g.stroke,c).style("opacity",o?a.leaf.opacity:null)}T.exports={style:function(f){var l=f._fullLayout._iciclelayer.selectAll(".trace");M(f,l,"icicle"),l.each(function(a){var u=d.select(this),o=a[0].trace;u.style("opacity",o.opacity),u.selectAll("path.surface").each(function(s){d.select(this).call(v,s,o)})})},styleOne:v}},17230:function(T,p,t){for(var d=t(9012),g=t(5386).fF,i=t(1426).extendFlat,M=t(51877).colormodel,v=["rgb","rgba","rgba256","hsl","hsla"],f=[],l=[],a=0;a0||d.inbox(f-l.y0,f-(l.y0+l.h*a.dy),0)>0)){var s,c=Math.floor((v-l.x0)/a.dx),h=Math.floor(Math.abs(f-l.y0)/a.dy);if(a._hasZ?s=l.z[h][c]:a._hasSource&&(s=a._canvas.el.getContext("2d",{willReadFrequently:!0}).getImageData(c,h,1,1).data),s){var m,w=l.hi||a.hoverinfo;if(w){var y=w.split("+");y.indexOf("all")!==-1&&(y=["color"]),y.indexOf("color")!==-1&&(m=!0)}var S,_=i.colormodel[a.colormodel],k=_.colormodel||a.colormodel,E=k.length,x=a._scaler(s),A=_.suffix,L=[];(a.hovertemplate||m)&&(L.push("["+[x[0]+A[0],x[1]+A[1],x[2]+A[2]].join(", ")),E===4&&L.push(", "+x[3]+A[3]),L.push("]"),L=L.join(""),M.extraText=k.toUpperCase()+": "+L),Array.isArray(a.hovertext)&&Array.isArray(a.hovertext[h])?S=a.hovertext[h][c]:Array.isArray(a.text)&&Array.isArray(a.text[h])&&(S=a.text[h][c]);var b=o.c2p(l.y0+(h+.5)*a.dy),R=l.x0+(c+.5)*a.dx,I=l.y0+(h+.5)*a.dy,O="["+s.slice(0,a.colormodel.length).join(", ")+"]";return[g.extendFlat(M,{index:[h,c],x0:u.c2p(l.x0+c*a.dx),x1:u.c2p(l.x0+(c+1)*a.dx),y0:b,y1:b,color:x,xVal:R,xLabelVal:R,yVal:I,yLabelVal:I,zLabelVal:O,text:S,hovertemplateLabels:{zLabel:O,colorLabel:L,"color[0]Label":x[0]+A[0],"color[1]Label":x[1]+A[1],"color[2]Label":x[2]+A[2],"color[3]Label":x[3]+A[3]}})]}}}},94507:function(T,p,t){T.exports={attributes:t(17230),supplyDefaults:t(13245),calc:t(71113),plot:t(60775),style:t(12826),hoverPoints:t(28749),eventData:t(30835),moduleType:"trace",name:"image",basePlotModule:t(93612),categories:["cartesian","svg","2dMap","noSortingByValue"],animatable:!1,meta:{}}},60775:function(T,p,t){var d=t(39898),g=t(71828),i=g.strTranslate,M=t(77922),v=t(51877),f=g.isIOS()||g.isSafari()||g.isIE();T.exports=function(l,a,u,o){var s=a.xaxis,c=a.yaxis,h=!(f||l._context._exportedPlot);g.makeTraceGroups(o,u,"im").each(function(m){var w=d.select(this),y=m[0],S=y.trace,_=(S.zsmooth==="fast"||S.zsmooth===!1&&h)&&!S._hasZ&&S._hasSource&&s.type==="linear"&&c.type==="linear";S._realImage=_;var k,E,x,A,L,b,R=y.z,I=y.x0,O=y.y0,z=y.w,F=y.h,B=S.dx,N=S.dy;for(b=0;k===void 0&&b0;)E=s.c2p(I+b*B),b--;for(b=0;A===void 0&&b0;)L=c.c2p(O+b*N),b--;Eq[0];if(H||ne){var te=k+W/2,Z=A+j/2;U+="transform:"+i(te+"px",Z+"px")+"scale("+(H?-1:1)+","+(ne?-1:1)+")"+i(-te+"px",-Z+"px")+";"}}$.attr("style",U);var X=new Promise(function(re){if(S._hasZ)re();else if(S._hasSource)if(S._canvas&&S._canvas.el.width===z&&S._canvas.el.height===F&&S._canvas.source===S.source)re();else{var ie=document.createElement("canvas");ie.width=z,ie.height=F;var oe=ie.getContext("2d",{willReadFrequently:!0});S._image=S._image||new Image;var ue=S._image;ue.onload=function(){oe.drawImage(ue,0,0),S._canvas={el:ie,source:S.source},re()},ue.setAttribute("src",S.source)}}).then(function(){var re,ie;if(S._hasZ)ie=Q(function(ue,ce){return R[ce][ue]}),re=ie.toDataURL("image/png");else if(S._hasSource)if(_)re=S.source;else{var oe=S._canvas.el.getContext("2d",{willReadFrequently:!0}).getImageData(0,0,z,F).data;ie=Q(function(ue,ce){var ye=4*(ce*z+ue);return[oe[ye],oe[ye+1],oe[ye+2],oe[ye+3]]}),re=ie.toDataURL("image/png")}$.attr({"xlink:href":re,height:j,width:W,x:k,y:A})});l._promises.push(X)}function Q(re){var ie=document.createElement("canvas");ie.width=W,ie.height=j;var oe,ue=ie.getContext("2d",{willReadFrequently:!0}),ce=function(Ce){return g.constrain(Math.round(s.c2p(I+Ce*B)-k),0,W)},ye=function(Ce){return g.constrain(Math.round(c.c2p(O+Ce*N)-A),0,j)},de=v.colormodel[S.colormodel],me=de.colormodel||S.colormodel,pe=de.fmt;for(b=0;b0}function x(I){I.each(function(O){y.stroke(d.select(this),O.line.color)}).each(function(O){y.fill(d.select(this),O.color)}).style("stroke-width",function(O){return O.line.width})}function A(I,O,z){var F=I._fullLayout,B=M.extendFlat({type:"linear",ticks:"outside",range:z,showline:!0},O),N={type:"linear",_id:"x"+O._id},W={letter:"x",font:F.font,noHover:!0,noTickson:!0};function j($,U){return M.coerce(B,N,w,$,U)}return h(B,N,j,W,F),m(B,N,j,W),N}function L(I,O,z){return[Math.min(O/I.width,z/I.height),I,O+"x"+z]}function b(I,O,z,F){var B=document.createElementNS("http://www.w3.org/2000/svg","text"),N=d.select(B);return N.text(I).attr("x",0).attr("y",0).attr("text-anchor",z).attr("data-unformatted",I).call(s.convertToTspans,F).call(u.font,O),u.bBox(N.node())}function R(I,O,z,F,B,N){var W="_cache"+O;I[W]&&I[W].key===B||(I[W]={key:B,value:z});var j=M.aggNums(N,null,[I[W].value,F],2);return I[W].value=j,j}T.exports=function(I,O,z,F){var B,N=I._fullLayout;E(z)&&F&&(B=F()),M.makeTraceGroups(N._indicatorlayer,O,"trace").each(function(W){var j,$,U,G,q,H=W[0].trace,ne=d.select(this),te=H._hasGauge,Z=H._isAngular,X=H._isBullet,Q=H.domain,re={w:N._size.w*(Q.x[1]-Q.x[0]),h:N._size.h*(Q.y[1]-Q.y[0]),l:N._size.l+N._size.w*Q.x[0],r:N._size.r+N._size.w*(1-Q.x[1]),t:N._size.t+N._size.h*(1-Q.y[1]),b:N._size.b+N._size.h*Q.y[0]},ie=re.l+re.w/2,oe=re.t+re.h/2,ue=Math.min(re.w/2,re.h),ce=o.innerRadius*ue,ye=H.align||"center";if($=oe,te){if(Z&&(j=ie,$=oe+ue/2,U=function(Se){return function(Ce,ae){return[ae/Math.sqrt(Ce.width/2*(Ce.width/2)+Ce.height*Ce.height),Ce,ae]}(Se,.9*ce)}),X){var de=o.bulletPadding,me=1-o.bulletNumberDomainSize+de;j=re.l+(me+(1-me)*_[ye])*re.w,U=function(Se){return L(Se,(o.bulletNumberDomainSize-de)*re.w,re.h)}}}else j=re.l+_[ye]*re.w,U=function(Se){return L(Se,re.w,re.h)};(function(Se,Ce,ae,fe){var be,ke,Le,Be=ae[0].trace,ze=fe.numbersX,je=fe.numbersY,ge=Be.align||"center",we=S[ge],Ee=fe.transitionOpts,Ve=fe.onComplete,$e=M.ensureSingle(Ce,"g","numbers"),Ye=[];Be._hasNumber&&Ye.push("number"),Be._hasDelta&&(Ye.push("delta"),Be.delta.position==="left"&&Ye.reverse());var st=$e.selectAll("text").data(Ye);function ot(Bt,qt,Vt,Ke){if(!Bt.match("s")||Vt>=0==Ke>=0||qt(Vt).slice(-1).match(k)||qt(Ke).slice(-1).match(k))return qt;var Je=Bt.slice().replace("s","f").replace(/\d+/,function(nt){return parseInt(nt)-1}),qe=A(Se,{tickformat:Je});return function(nt){return Math.abs(nt)<1?c.tickText(qe,nt).text:qt(nt)}}st.enter().append("text"),st.attr("text-anchor",function(){return we}).attr("class",function(Bt){return Bt}).attr("x",null).attr("y",null).attr("dx",null).attr("dy",null),st.exit().remove();var ht,bt=Be.mode+Be.align;if(Be._hasDelta&&(ht=function(){var Bt=A(Se,{tickformat:Be.delta.valueformat},Be._range);Bt.setScale(),c.prepTicks(Bt);var qt=function(Ne){return c.tickText(Bt,Ne).text},Vt=Be.delta.suffix,Ke=Be.delta.prefix,Je=function(Ne){return Be.delta.relative?Ne.relativeDelta:Ne.delta},qe=function(Ne,Qe){return Ne===0||typeof Ne!="number"||isNaN(Ne)?"-":(Ne>0?Be.delta.increasing.symbol:Be.delta.decreasing.symbol)+Ke+Qe(Ne)+Vt},nt=function(Ne){return Ne.delta>=0?Be.delta.increasing.color:Be.delta.decreasing.color};Be._deltaLastValue===void 0&&(Be._deltaLastValue=Je(ae[0]));var ft=$e.select("text.delta");function Re(){ft.text(qe(Je(ae[0]),qt)).call(y.fill,nt(ae[0])).call(s.convertToTspans,Se)}return ft.call(u.font,Be.delta.font).call(y.fill,nt({delta:Be._deltaLastValue})),E(Ee)?ft.transition().duration(Ee.duration).ease(Ee.easing).tween("text",function(){var Ne=d.select(this),Qe=Je(ae[0]),ut=Be._deltaLastValue,dt=ot(Be.delta.valueformat,qt,ut,Qe),_t=i(ut,Qe);return Be._deltaLastValue=Qe,function(It){Ne.text(qe(_t(It),dt)),Ne.call(y.fill,nt({delta:_t(It)}))}}).each("end",function(){Re(),Ve&&Ve()}).each("interrupt",function(){Re(),Ve&&Ve()}):Re(),ke=b(qe(Je(ae[0]),qt),Be.delta.font,we,Se),ft}(),bt+=Be.delta.position+Be.delta.font.size+Be.delta.font.family+Be.delta.valueformat,bt+=Be.delta.increasing.symbol+Be.delta.decreasing.symbol,Le=ke),Be._hasNumber&&(function(){var Bt=A(Se,{tickformat:Be.number.valueformat},Be._range);Bt.setScale(),c.prepTicks(Bt);var qt=function(nt){return c.tickText(Bt,nt).text},Vt=Be.number.suffix,Ke=Be.number.prefix,Je=$e.select("text.number");function qe(){var nt=typeof ae[0].y=="number"?Ke+qt(ae[0].y)+Vt:"-";Je.text(nt).call(u.font,Be.number.font).call(s.convertToTspans,Se)}E(Ee)?Je.transition().duration(Ee.duration).ease(Ee.easing).each("end",function(){qe(),Ve&&Ve()}).each("interrupt",function(){qe(),Ve&&Ve()}).attrTween("text",function(){var nt=d.select(this),ft=i(ae[0].lastY,ae[0].y);Be._lastValue=ae[0].y;var Re=ot(Be.number.valueformat,qt,ae[0].lastY,ae[0].y);return function(Ne){nt.text(Ke+Re(ft(Ne))+Vt)}}):qe(),be=b(Ke+qt(ae[0].y)+Vt,Be.number.font,we,Se)}(),bt+=Be.number.font.size+Be.number.font.family+Be.number.valueformat+Be.number.suffix+Be.number.prefix,Le=be),Be._hasDelta&&Be._hasNumber){var Et,kt,xt=[(be.left+be.right)/2,(be.top+be.bottom)/2],Ft=[(ke.left+ke.right)/2,(ke.top+ke.bottom)/2],Ot=.75*Be.delta.font.size;Be.delta.position==="left"&&(Et=R(Be,"deltaPos",0,-1*(be.width*_[Be.align]+ke.width*(1-_[Be.align])+Ot),bt,Math.min),kt=xt[1]-Ft[1],Le={width:be.width+ke.width+Ot,height:Math.max(be.height,ke.height),left:ke.left+Et,right:be.right,top:Math.min(be.top,ke.top+kt),bottom:Math.max(be.bottom,ke.bottom+kt)}),Be.delta.position==="right"&&(Et=R(Be,"deltaPos",0,be.width*(1-_[Be.align])+ke.width*_[Be.align]+Ot,bt,Math.max),kt=xt[1]-Ft[1],Le={width:be.width+ke.width+Ot,height:Math.max(be.height,ke.height),left:be.left,right:ke.right+Et,top:Math.min(be.top,ke.top+kt),bottom:Math.max(be.bottom,ke.bottom+kt)}),Be.delta.position==="bottom"&&(Et=null,kt=ke.height,Le={width:Math.max(be.width,ke.width),height:be.height+ke.height,left:Math.min(be.left,ke.left),right:Math.max(be.right,ke.right),top:be.bottom-be.height,bottom:be.bottom+ke.height}),Be.delta.position==="top"&&(Et=null,kt=be.top,Le={width:Math.max(be.width,ke.width),height:be.height+ke.height,left:Math.min(be.left,ke.left),right:Math.max(be.right,ke.right),top:be.bottom-be.height-ke.height,bottom:be.bottom}),ht.attr({dx:Et,dy:kt})}(Be._hasNumber||Be._hasDelta)&&$e.attr("transform",function(){var Bt=fe.numbersScaler(Le);bt+=Bt[2];var qt,Vt=R(Be,"numbersScale",1,Bt[0],bt,Math.min);Be._scaleNumbers||(Vt=1),qt=Be._isAngular?je-Vt*Le.bottom:je-Vt*(Le.top+Le.bottom)/2,Be._numbersTop=Vt*Le.top+qt;var Ke=Le[ge];ge==="center"&&(Ke=(Le.left+Le.right)/2);var Je=ze-Vt*Ke;return Je=R(Be,"numbersTranslate",0,Je,bt,Math.max),f(Je,qt)+v(Vt)})})(I,ne,W,{numbersX:j,numbersY:$,numbersScaler:U,transitionOpts:z,onComplete:B}),te&&(G={range:H.gauge.axis.range,color:H.gauge.bgcolor,line:{color:H.gauge.bordercolor,width:0},thickness:1},q={range:H.gauge.axis.range,color:"rgba(0, 0, 0, 0)",line:{color:H.gauge.bordercolor,width:H.gauge.borderwidth},thickness:1});var pe=ne.selectAll("g.angular").data(Z?W:[]);pe.exit().remove();var xe=ne.selectAll("g.angularaxis").data(Z?W:[]);xe.exit().remove(),Z&&function(Se,Ce,ae,fe){var be,ke,Le,Be,ze=ae[0].trace,je=fe.size,ge=fe.radius,we=fe.innerRadius,Ee=fe.gaugeBg,Ve=fe.gaugeOutline,$e=[je.l+je.w/2,je.t+je.h/2+ge/2],Ye=fe.gauge,st=fe.layer,ot=fe.transitionOpts,ht=fe.onComplete,bt=Math.PI/2;function Et(It){var Lt=ze.gauge.axis.range[0],yt=(It-Lt)/(ze.gauge.axis.range[1]-Lt)*Math.PI-bt;return yt<-bt?-bt:yt>bt?bt:yt}function kt(It){return d.svg.arc().innerRadius((we+ge)/2-It/2*(ge-we)).outerRadius((we+ge)/2+It/2*(ge-we)).startAngle(-bt)}function xt(It){It.attr("d",function(Lt){return kt(Lt.thickness).startAngle(Et(Lt.range[0])).endAngle(Et(Lt.range[1]))()})}Ye.enter().append("g").classed("angular",!0),Ye.attr("transform",f($e[0],$e[1])),st.enter().append("g").classed("angularaxis",!0).classed("crisp",!0),st.selectAll("g.xangularaxistick,path,text").remove(),(be=A(Se,ze.gauge.axis)).type="linear",be.range=ze.gauge.axis.range,be._id="xangularaxis",be.ticklabeloverflow="allow",be.setScale();var Ft=function(It){return(be.range[0]-It.x)/(be.range[1]-be.range[0])*Math.PI+Math.PI},Ot={},Bt=c.makeLabelFns(be,0).labelStandoff;Ot.xFn=function(It){var Lt=Ft(It);return Math.cos(Lt)*Bt},Ot.yFn=function(It){var Lt=Ft(It),yt=Math.sin(Lt)>0?.2:1;return-Math.sin(Lt)*(Bt+It.fontSize*yt)+Math.abs(Math.cos(Lt))*(It.fontSize*a)},Ot.anchorFn=function(It){var Lt=Ft(It),yt=Math.cos(Lt);return Math.abs(yt)<.1?"middle":yt>0?"start":"end"},Ot.heightFn=function(It,Lt,yt){var Pt=Ft(It);return-.5*(1+Math.sin(Pt))*yt};var qt=function(It){return f($e[0]+ge*Math.cos(It),$e[1]-ge*Math.sin(It))};if(Le=function(It){return qt(Ft(It))},ke=c.calcTicks(be),Be=c.getTickSigns(be)[2],be.visible){Be=be.ticks==="inside"?-1:1;var Vt=(be.linewidth||1)/2;c.drawTicks(Se,be,{vals:ke,layer:st,path:"M"+Be*Vt+",0h"+Be*be.ticklen,transFn:function(It){var Lt=Ft(It);return qt(Lt)+"rotate("+-l(Lt)+")"}}),c.drawLabels(Se,be,{vals:ke,layer:st,transFn:Le,labelFns:Ot})}var Ke=[Ee].concat(ze.gauge.steps),Je=Ye.selectAll("g.bg-arc").data(Ke);Je.enter().append("g").classed("bg-arc",!0).append("path"),Je.select("path").call(xt).call(x),Je.exit().remove();var qe=kt(ze.gauge.bar.thickness),nt=Ye.selectAll("g.value-arc").data([ze.gauge.bar]);nt.enter().append("g").classed("value-arc",!0).append("path");var ft,Re,Ne,Qe=nt.select("path");E(ot)?(Qe.transition().duration(ot.duration).ease(ot.easing).each("end",function(){ht&&ht()}).each("interrupt",function(){ht&&ht()}).attrTween("d",(ft=qe,Re=Et(ae[0].lastY),Ne=Et(ae[0].y),function(){var It=g(Re,Ne);return function(Lt){return ft.endAngle(It(Lt))()}})),ze._lastValue=ae[0].y):Qe.attr("d",typeof ae[0].y=="number"?qe.endAngle(Et(ae[0].y)):"M0,0Z"),Qe.call(x),nt.exit().remove(),Ke=[];var ut=ze.gauge.threshold.value;(ut||ut===0)&&Ke.push({range:[ut,ut],color:ze.gauge.threshold.color,line:{color:ze.gauge.threshold.line.color,width:ze.gauge.threshold.line.width},thickness:ze.gauge.threshold.thickness});var dt=Ye.selectAll("g.threshold-arc").data(Ke);dt.enter().append("g").classed("threshold-arc",!0).append("path"),dt.select("path").call(xt).call(x),dt.exit().remove();var _t=Ye.selectAll("g.gauge-outline").data([Ve]);_t.enter().append("g").classed("gauge-outline",!0).append("path"),_t.select("path").call(xt).call(x),_t.exit().remove()}(I,0,W,{radius:ue,innerRadius:ce,gauge:pe,layer:xe,size:re,gaugeBg:G,gaugeOutline:q,transitionOpts:z,onComplete:B});var Pe=ne.selectAll("g.bullet").data(X?W:[]);Pe.exit().remove();var _e=ne.selectAll("g.bulletaxis").data(X?W:[]);_e.exit().remove(),X&&function(Se,Ce,ae,fe){var be,ke,Le,Be,ze,je=ae[0].trace,ge=fe.gauge,we=fe.layer,Ee=fe.gaugeBg,Ve=fe.gaugeOutline,$e=fe.size,Ye=je.domain,st=fe.transitionOpts,ot=fe.onComplete;ge.enter().append("g").classed("bullet",!0),ge.attr("transform",f($e.l,$e.t)),we.enter().append("g").classed("bulletaxis",!0).classed("crisp",!0),we.selectAll("g.xbulletaxistick,path,text").remove();var ht=$e.h,bt=je.gauge.bar.thickness*ht,Et=Ye.x[0],kt=Ye.x[0]+(Ye.x[1]-Ye.x[0])*(je._hasNumber||je._hasDelta?1-o.bulletNumberDomainSize:1);function xt(Je){Je.attr("width",function(qe){return Math.max(0,be.c2p(qe.range[1])-be.c2p(qe.range[0]))}).attr("x",function(qe){return be.c2p(qe.range[0])}).attr("y",function(qe){return .5*(1-qe.thickness)*ht}).attr("height",function(qe){return qe.thickness*ht})}(be=A(Se,je.gauge.axis))._id="xbulletaxis",be.domain=[Et,kt],be.setScale(),ke=c.calcTicks(be),Le=c.makeTransTickFn(be),Be=c.getTickSigns(be)[2],ze=$e.t+$e.h,be.visible&&(c.drawTicks(Se,be,{vals:be.ticks==="inside"?c.clipEnds(be,ke):ke,layer:we,path:c.makeTickPath(be,ze,Be),transFn:Le}),c.drawLabels(Se,be,{vals:ke,layer:we,transFn:Le,labelFns:c.makeLabelFns(be,ze)}));var Ft=[Ee].concat(je.gauge.steps),Ot=ge.selectAll("g.bg-bullet").data(Ft);Ot.enter().append("g").classed("bg-bullet",!0).append("rect"),Ot.select("rect").call(xt).call(x),Ot.exit().remove();var Bt=ge.selectAll("g.value-bullet").data([je.gauge.bar]);Bt.enter().append("g").classed("value-bullet",!0).append("rect"),Bt.select("rect").attr("height",bt).attr("y",(ht-bt)/2).call(x),E(st)?Bt.select("rect").transition().duration(st.duration).ease(st.easing).each("end",function(){ot&&ot()}).each("interrupt",function(){ot&&ot()}).attr("width",Math.max(0,be.c2p(Math.min(je.gauge.axis.range[1],ae[0].y)))):Bt.select("rect").attr("width",typeof ae[0].y=="number"?Math.max(0,be.c2p(Math.min(je.gauge.axis.range[1],ae[0].y))):0),Bt.exit().remove();var qt=ae.filter(function(){return je.gauge.threshold.value||je.gauge.threshold.value===0}),Vt=ge.selectAll("g.threshold-bullet").data(qt);Vt.enter().append("g").classed("threshold-bullet",!0).append("line"),Vt.select("line").attr("x1",be.c2p(je.gauge.threshold.value)).attr("x2",be.c2p(je.gauge.threshold.value)).attr("y1",(1-je.gauge.threshold.thickness)/2*ht).attr("y2",(1-(1-je.gauge.threshold.thickness)/2)*ht).call(y.stroke,je.gauge.threshold.line.color).style("stroke-width",je.gauge.threshold.line.width),Vt.exit().remove();var Ke=ge.selectAll("g.gauge-outline").data([Ve]);Ke.enter().append("g").classed("gauge-outline",!0).append("rect"),Ke.select("rect").call(xt).call(x),Ke.exit().remove()}(I,0,W,{gauge:Pe,layer:_e,size:re,gaugeBg:G,gaugeOutline:q,transitionOpts:z,onComplete:B});var Me=ne.selectAll("text.title").data(W);Me.exit().remove(),Me.enter().append("text").classed("title",!0),Me.attr("text-anchor",function(){return X?S.right:S[H.title.align]}).text(H.title.text).call(u.font,H.title.font).call(s.convertToTspans,I),Me.attr("transform",function(){var Se,Ce=re.l+re.w*_[H.title.align],ae=o.titlePadding,fe=u.bBox(Me.node());return te?(Z&&(Se=H.gauge.axis.visible?u.bBox(xe.node()).top-ae-fe.bottom:re.t+re.h/2-ue/2-fe.bottom-ae),X&&(Se=$-(fe.top+fe.bottom)/2,Ce=re.l-o.bulletPadding*re.w)):Se=H._numbersTop-ae-fe.bottom,f(Ce,Se)})})}},16249:function(T,p,t){var d=t(50693),g=t(12663).axisHoverFormat,i=t(5386).fF,M=t(2418),v=t(9012),f=t(1426).extendFlat,l=t(30962).overrideAll,a=T.exports=l(f({x:{valType:"data_array"},y:{valType:"data_array"},z:{valType:"data_array"},value:{valType:"data_array"},isomin:{valType:"number"},isomax:{valType:"number"},surface:{show:{valType:"boolean",dflt:!0},count:{valType:"integer",dflt:2,min:1},fill:{valType:"number",min:0,max:1,dflt:1},pattern:{valType:"flaglist",flags:["A","B","C","D","E"],extras:["all","odd","even"],dflt:"all"}},spaceframe:{show:{valType:"boolean",dflt:!1},fill:{valType:"number",min:0,max:1,dflt:.15}},slices:{x:{show:{valType:"boolean",dflt:!1},locations:{valType:"data_array",dflt:[]},fill:{valType:"number",min:0,max:1,dflt:1}},y:{show:{valType:"boolean",dflt:!1},locations:{valType:"data_array",dflt:[]},fill:{valType:"number",min:0,max:1,dflt:1}},z:{show:{valType:"boolean",dflt:!1},locations:{valType:"data_array",dflt:[]},fill:{valType:"number",min:0,max:1,dflt:1}}},caps:{x:{show:{valType:"boolean",dflt:!0},fill:{valType:"number",min:0,max:1,dflt:1}},y:{show:{valType:"boolean",dflt:!0},fill:{valType:"number",min:0,max:1,dflt:1}},z:{show:{valType:"boolean",dflt:!0},fill:{valType:"number",min:0,max:1,dflt:1}}},text:{valType:"string",dflt:"",arrayOk:!0},hovertext:{valType:"string",dflt:"",arrayOk:!0},hovertemplate:i(),xhoverformat:g("x"),yhoverformat:g("y"),zhoverformat:g("z"),valuehoverformat:g("value",1),showlegend:f({},v.showlegend,{dflt:!1})},d("",{colorAttr:"`value`",showScaleDflt:!0,editTypeOverride:"calc"}),{opacity:M.opacity,lightposition:M.lightposition,lighting:M.lighting,flatshading:M.flatshading,contour:M.contour,hoverinfo:f({},v.hoverinfo)}),"calc","nested");a.flatshading.dflt=!0,a.lighting.facenormalsepsilon.dflt=0,a.x.editType=a.y.editType=a.z.editType=a.value.editType="calc+clearAxisTypes",a.transforms=void 0},56959:function(T,p,t){var d=t(78803),g=t(88489).processGrid,i=t(88489).filter;T.exports=function(M,v){v._len=Math.min(v.x.length,v.y.length,v.z.length,v.value.length),v._x=i(v.x,v._len),v._y=i(v.y,v._len),v._z=i(v.z,v._len),v._value=i(v.value,v._len);var f=g(v);v._gridFill=f.fill,v._Xs=f.Xs,v._Ys=f.Ys,v._Zs=f.Zs,v._len=f.len;for(var l=1/0,a=-1/0,u=0;u0;h--){var m=Math.min(c[h],c[h-1]),w=Math.max(c[h],c[h-1]);if(w>m&&m-1}function ie(je,ge){return je===null?ge:je}function oe(je,ge,we){ne();var Ee,Ve,$e,Ye=[ge],st=[we];if(_>=1)Ye=[ge],st=[we];else if(_>0){var ot=function(qt,Vt){var Ke=qt[0],Je=qt[1],qe=qt[2],nt=function(It,Lt,yt){for(var Pt=[],wt=0;wt-1?we[Et]:H(kt,xt,Ft);bt[Et]=Bt>-1?Bt:Z(kt,xt,Ft,ie(je,Ot))}Ee=bt[0],Ve=bt[1],$e=bt[2],s._meshI.push(Ee),s._meshJ.push(Ve),s._meshK.push($e),++R}}function ue(je,ge,we,Ee){var Ve=je[3];VeEe&&(Ve=Ee);for(var $e=(je[3]-Ve)/(je[3]-ge[3]+1e-9),Ye=[],st=0;st<4;st++)Ye[st]=(1-$e)*je[st]+$e*ge[st];return Ye}function ce(je,ge,we){return je>=ge&&je<=we}function ye(je){var ge=.001*(q-G);return je>=G-ge&&je<=q+ge}function de(je){for(var ge=[],we=0;we<4;we++){var Ee=je[we];ge.push([s._x[Ee],s._y[Ee],s._z[Ee],s._value[Ee]])}return ge}function me(je,ge,we,Ee,Ve,$e){$e||($e=1),we=[-1,-1,-1];var Ye=!1,st=[ce(ge[0][3],Ee,Ve),ce(ge[1][3],Ee,Ve),ce(ge[2][3],Ee,Ve)];if(!st[0]&&!st[1]&&!st[2])return!1;var ot=function(bt,Et,kt){return ye(Et[0][3])&&ye(Et[1][3])&&ye(Et[2][3])?(oe(bt,Et,kt),!0):$e<3&&me(bt,Et,kt,G,q,++$e)};if(st[0]&&st[1]&&st[2])return ot(je,ge,we)||Ye;var ht=!1;return[[0,1,2],[2,0,1],[1,2,0]].forEach(function(bt){if(st[bt[0]]&&st[bt[1]]&&!st[bt[2]]){var Et=ge[bt[0]],kt=ge[bt[1]],xt=ge[bt[2]],Ft=ue(xt,Et,Ee,Ve),Ot=ue(xt,kt,Ee,Ve);Ye=ot(je,[Ot,Ft,Et],[-1,-1,we[bt[0]]])||Ye,Ye=ot(je,[Et,kt,Ot],[we[bt[0]],we[bt[1]],-1])||Ye,ht=!0}}),ht||[[0,1,2],[1,2,0],[2,0,1]].forEach(function(bt){if(st[bt[0]]&&!st[bt[1]]&&!st[bt[2]]){var Et=ge[bt[0]],kt=ge[bt[1]],xt=ge[bt[2]],Ft=ue(kt,Et,Ee,Ve),Ot=ue(xt,Et,Ee,Ve);Ye=ot(je,[Ot,Ft,Et],[-1,-1,we[bt[0]]])||Ye,ht=!0}}),Ye}function pe(je,ge,we,Ee){var Ve=!1,$e=de(ge),Ye=[ce($e[0][3],we,Ee),ce($e[1][3],we,Ee),ce($e[2][3],we,Ee),ce($e[3][3],we,Ee)];if(!(Ye[0]||Ye[1]||Ye[2]||Ye[3]))return Ve;if(Ye[0]&&Ye[1]&&Ye[2]&&Ye[3])return b&&(Ve=function(ot,ht,bt){var Et=function(kt,xt,Ft){oe(ot,[ht[kt],ht[xt],ht[Ft]],[bt[kt],bt[xt],bt[Ft]])};Et(0,1,2),Et(3,0,1),Et(2,3,0),Et(1,2,3)}(je,$e,ge)||Ve),Ve;var st=!1;return[[0,1,2,3],[3,0,1,2],[2,3,0,1],[1,2,3,0]].forEach(function(ot){if(Ye[ot[0]]&&Ye[ot[1]]&&Ye[ot[2]]&&!Ye[ot[3]]){var ht=$e[ot[0]],bt=$e[ot[1]],Et=$e[ot[2]],kt=$e[ot[3]];if(b)Ve=oe(je,[ht,bt,Et],[ge[ot[0]],ge[ot[1]],ge[ot[2]]])||Ve;else{var xt=ue(kt,ht,we,Ee),Ft=ue(kt,bt,we,Ee),Ot=ue(kt,Et,we,Ee);Ve=oe(null,[xt,Ft,Ot],[-1,-1,-1])||Ve}st=!0}}),st||([[0,1,2,3],[1,2,3,0],[2,3,0,1],[3,0,1,2],[0,2,3,1],[1,3,2,0]].forEach(function(ot){if(Ye[ot[0]]&&Ye[ot[1]]&&!Ye[ot[2]]&&!Ye[ot[3]]){var ht=$e[ot[0]],bt=$e[ot[1]],Et=$e[ot[2]],kt=$e[ot[3]],xt=ue(Et,ht,we,Ee),Ft=ue(Et,bt,we,Ee),Ot=ue(kt,bt,we,Ee),Bt=ue(kt,ht,we,Ee);b?(Ve=oe(je,[ht,Bt,xt],[ge[ot[0]],-1,-1])||Ve,Ve=oe(je,[bt,Ft,Ot],[ge[ot[1]],-1,-1])||Ve):Ve=function(qt,Vt,Ke){var Je=function(qe,nt,ft){oe(null,[Vt[qe],Vt[nt],Vt[ft]],[Ke[qe],Ke[nt],Ke[ft]])};Je(0,1,2),Je(2,3,0)}(0,[xt,Ft,Ot,Bt],[-1,-1,-1,-1])||Ve,st=!0}}),st||[[0,1,2,3],[1,2,3,0],[2,3,0,1],[3,0,1,2]].forEach(function(ot){if(Ye[ot[0]]&&!Ye[ot[1]]&&!Ye[ot[2]]&&!Ye[ot[3]]){var ht=$e[ot[0]],bt=$e[ot[1]],Et=$e[ot[2]],kt=$e[ot[3]],xt=ue(bt,ht,we,Ee),Ft=ue(Et,ht,we,Ee),Ot=ue(kt,ht,we,Ee);b?(Ve=oe(je,[ht,xt,Ft],[ge[ot[0]],-1,-1])||Ve,Ve=oe(je,[ht,Ft,Ot],[ge[ot[0]],-1,-1])||Ve,Ve=oe(je,[ht,Ot,xt],[ge[ot[0]],-1,-1])||Ve):Ve=oe(null,[xt,Ft,Ot],[-1,-1,-1])||Ve,st=!0}})),Ve}function xe(je,ge,we,Ee,Ve,$e,Ye,st,ot,ht,bt){var Et=!1;return L&&(re(je,"A")&&(Et=pe(null,[ge,we,Ee,$e],ht,bt)||Et),re(je,"B")&&(Et=pe(null,[we,Ee,Ve,ot],ht,bt)||Et),re(je,"C")&&(Et=pe(null,[we,$e,Ye,ot],ht,bt)||Et),re(je,"D")&&(Et=pe(null,[Ee,$e,st,ot],ht,bt)||Et),re(je,"E")&&(Et=pe(null,[we,Ee,$e,ot],ht,bt)||Et)),b&&(Et=pe(je,[we,Ee,$e,ot],ht,bt)||Et),Et}function Pe(je,ge,we,Ee,Ve,$e,Ye,st){return[st[0]===!0||me(je,de([ge,we,Ee]),[ge,we,Ee],$e,Ye),st[1]===!0||me(je,de([Ee,Ve,ge]),[Ee,Ve,ge],$e,Ye)]}function _e(je,ge,we,Ee,Ve,$e,Ye,st,ot){return st?Pe(je,ge,we,Ve,Ee,$e,Ye,ot):Pe(je,we,Ve,Ee,ge,$e,Ye,ot)}function Me(je,ge,we,Ee,Ve,$e,Ye){var st,ot,ht,bt,Et=!1,kt=function(){Et=me(je,[st,ot,ht],[-1,-1,-1],Ve,$e)||Et,Et=me(je,[ht,bt,st],[-1,-1,-1],Ve,$e)||Et},xt=Ye[0],Ft=Ye[1],Ot=Ye[2];return xt&&(st=X(de([j(ge,we-0,Ee-0)])[0],de([j(ge-1,we-0,Ee-0)])[0],xt),ot=X(de([j(ge,we-0,Ee-1)])[0],de([j(ge-1,we-0,Ee-1)])[0],xt),ht=X(de([j(ge,we-1,Ee-1)])[0],de([j(ge-1,we-1,Ee-1)])[0],xt),bt=X(de([j(ge,we-1,Ee-0)])[0],de([j(ge-1,we-1,Ee-0)])[0],xt),kt()),Ft&&(st=X(de([j(ge-0,we,Ee-0)])[0],de([j(ge-0,we-1,Ee-0)])[0],Ft),ot=X(de([j(ge-0,we,Ee-1)])[0],de([j(ge-0,we-1,Ee-1)])[0],Ft),ht=X(de([j(ge-1,we,Ee-1)])[0],de([j(ge-1,we-1,Ee-1)])[0],Ft),bt=X(de([j(ge-1,we,Ee-0)])[0],de([j(ge-1,we-1,Ee-0)])[0],Ft),kt()),Ot&&(st=X(de([j(ge-0,we-0,Ee)])[0],de([j(ge-0,we-0,Ee-1)])[0],Ot),ot=X(de([j(ge-0,we-1,Ee)])[0],de([j(ge-0,we-1,Ee-1)])[0],Ot),ht=X(de([j(ge-1,we-1,Ee)])[0],de([j(ge-1,we-1,Ee-1)])[0],Ot),bt=X(de([j(ge-1,we-0,Ee)])[0],de([j(ge-1,we-0,Ee-1)])[0],Ot),kt()),Et}function Se(je,ge,we,Ee,Ve,$e,Ye,st,ot,ht,bt,Et){var kt=je;return Et?(L&&je==="even"&&(kt=null),xe(kt,ge,we,Ee,Ve,$e,Ye,st,ot,ht,bt)):(L&&je==="odd"&&(kt=null),xe(kt,ot,st,Ye,$e,Ve,Ee,we,ge,ht,bt))}function Ce(je,ge,we,Ee,Ve){for(var $e=[],Ye=0,st=0;stMath.abs($e-U)?[$,$e]:[$e,U];L=!0,be(ge,Ye[0],Ye[1]),L=!1}}var st=[[Math.min(G,U),Math.max(G,U)],[Math.min($,q),Math.max($,q)]];["x","y","z"].forEach(function(ot){for(var ht=[],bt=0;bt0&&(Bt.push(Ke.id),ot==="x"?qt.push([Ke.distRatio,0,0]):ot==="y"?qt.push([0,Ke.distRatio,0]):qt.push([0,0,Ke.distRatio]))}else Ot=ze(1,ot==="x"?F-1:ot==="y"?B-1:N-1);Bt.length>0&&(ht[Et]=ot==="x"?ke(je,Bt,kt,xt,qt,ht[Et]):ot==="y"?Le(je,Bt,kt,xt,qt,ht[Et]):Be(je,Bt,kt,xt,qt,ht[Et]),Et++),Ot.length>0&&(ht[Et]=ot==="x"?Ce(je,Ot,kt,xt,ht[Et]):ot==="y"?ae(je,Ot,kt,xt,ht[Et]):fe(je,Ot,kt,xt,ht[Et]),Et++)}var Je=s.caps[ot];Je.show&&Je.fill&&(Q(Je.fill),ht[Et]=ot==="x"?Ce(je,[0,F-1],kt,xt,ht[Et]):ot==="y"?ae(je,[0,B-1],kt,xt,ht[Et]):fe(je,[0,N-1],kt,xt,ht[Et]),Et++)}}),R===0&&te(),s._meshX=m,s._meshY=w,s._meshZ=y,s._meshIntensity=S,s._Xs=I,s._Ys=O,s._Zs=z}(),s}T.exports={findNearestOnAxis:f,generateIsoMeshes:o,createIsosurfaceTrace:function(s,c){var h=s.glplot.gl,m=d({gl:h}),w=new l(s,m,c.uid);return m._trace=w,w.update(c),s.glplot.add(m),w}}},82738:function(T,p,t){var d=t(71828),g=t(73972),i=t(16249),M=t(1586);function v(f,l,a,u,o){var s=o("isomin"),c=o("isomax");c!=null&&s!=null&&s>c&&(l.isomin=null,l.isomax=null);var h=o("x"),m=o("y"),w=o("z"),y=o("value");h&&h.length&&m&&m.length&&w&&w.length&&y&&y.length?(g.getComponentMethod("calendars","handleTraceDefaults")(f,l,["x","y","z"],u),o("valuehoverformat"),["x","y","z"].forEach(function(S){o(S+"hoverformat");var _="caps."+S;o(_+".show")&&o(_+".fill");var k="slices."+S;o(k+".show")&&(o(k+".fill"),o(k+".locations"))}),o("spaceframe.show")&&o("spaceframe.fill"),o("surface.show")&&(o("surface.count"),o("surface.fill"),o("surface.pattern")),o("contour.show")&&(o("contour.color"),o("contour.width")),["text","hovertext","hovertemplate","lighting.ambient","lighting.diffuse","lighting.specular","lighting.roughness","lighting.fresnel","lighting.vertexnormalsepsilon","lighting.facenormalsepsilon","lightposition.x","lightposition.y","lightposition.z","flatshading","opacity"].forEach(function(S){o(S)}),M(f,l,u,o,{prefix:"",cLetter:"c"}),l._length=null):l.visible=!1}T.exports={supplyDefaults:function(f,l,a,u){v(f,l,0,u,function(o,s){return d.coerce(f,l,i,o,s)})},supplyIsoDefaults:v}},64943:function(T,p,t){T.exports={attributes:t(16249),supplyDefaults:t(82738).supplyDefaults,calc:t(56959),colorbar:{min:"cmin",max:"cmax"},plot:t(22674).createIsosurfaceTrace,moduleType:"trace",name:"isosurface",basePlotModule:t(58547),categories:["gl3d","showLegend"],meta:{}}},2418:function(T,p,t){var d=t(50693),g=t(12663).axisHoverFormat,i=t(5386).fF,M=t(54532),v=t(9012),f=t(1426).extendFlat;T.exports=f({x:{valType:"data_array",editType:"calc+clearAxisTypes"},y:{valType:"data_array",editType:"calc+clearAxisTypes"},z:{valType:"data_array",editType:"calc+clearAxisTypes"},i:{valType:"data_array",editType:"calc"},j:{valType:"data_array",editType:"calc"},k:{valType:"data_array",editType:"calc"},text:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertemplate:i({editType:"calc"}),xhoverformat:g("x"),yhoverformat:g("y"),zhoverformat:g("z"),delaunayaxis:{valType:"enumerated",values:["x","y","z"],dflt:"z",editType:"calc"},alphahull:{valType:"number",dflt:-1,editType:"calc"},intensity:{valType:"data_array",editType:"calc"},intensitymode:{valType:"enumerated",values:["vertex","cell"],dflt:"vertex",editType:"calc"},color:{valType:"color",editType:"calc"},vertexcolor:{valType:"data_array",editType:"calc"},facecolor:{valType:"data_array",editType:"calc"},transforms:void 0},d("",{colorAttr:"`intensity`",showScaleDflt:!0,editTypeOverride:"calc"}),{opacity:M.opacity,flatshading:{valType:"boolean",dflt:!1,editType:"calc"},contour:{show:f({},M.contours.x.show,{}),color:M.contours.x.color,width:M.contours.x.width,editType:"calc"},lightposition:{x:f({},M.lightposition.x,{dflt:1e5}),y:f({},M.lightposition.y,{dflt:1e5}),z:f({},M.lightposition.z,{dflt:0}),editType:"calc"},lighting:f({vertexnormalsepsilon:{valType:"number",min:0,max:1,dflt:1e-12,editType:"calc"},facenormalsepsilon:{valType:"number",min:0,max:1,dflt:1e-6,editType:"calc"},editType:"calc"},M.lighting),hoverinfo:f({},v.hoverinfo,{editType:"calc"}),showlegend:f({},v.showlegend,{dflt:!1})})},82932:function(T,p,t){var d=t(78803);T.exports=function(g,i){i.intensity&&d(g,i,{vals:i.intensity,containerStr:"",cLetter:"c"})}},91134:function(T,p,t){var d=t(9330).gl_mesh3d,g=t(9330).delaunay_triangulate,i=t(9330).alpha_shape,M=t(9330).convex_hull,v=t(81697).parseColorScale,f=t(78614),l=t(21081).extractOpts,a=t(90060);function u(w,y,S){this.scene=w,this.uid=S,this.mesh=y,this.name="",this.color="#fff",this.data=null,this.showContour=!1}var o=u.prototype;function s(w){for(var y=[],S=w.length,_=0;_=y-.5)return!1;return!0}o.handlePick=function(w){if(w.object===this.mesh){var y=w.index=w.data.index;w.data._cellCenter?w.traceCoordinate=w.data.dataCoordinate:w.traceCoordinate=[this.data.x[y],this.data.y[y],this.data.z[y]];var S=this.data.hovertext||this.data.text;return Array.isArray(S)&&S[y]!==void 0?w.textLabel=S[y]:S&&(w.textLabel=S),!0}},o.update=function(w){var y=this.scene,S=y.fullSceneLayout;this.data=w;var _,k=w.x.length,E=a(c(S.xaxis,w.x,y.dataScale[0],w.xcalendar),c(S.yaxis,w.y,y.dataScale[1],w.ycalendar),c(S.zaxis,w.z,y.dataScale[2],w.zcalendar));if(w.i&&w.j&&w.k){if(w.i.length!==w.j.length||w.j.length!==w.k.length||!m(w.i,k)||!m(w.j,k)||!m(w.k,k))return;_=a(h(w.i),h(w.j),h(w.k))}else _=w.alphahull===0?M(E):w.alphahull>0?i(w.alphahull,E):function(b,R){for(var I=["x","y","z"].indexOf(b),O=[],z=R.length,F=0;Fx):E=F>I,x=F;var B=h(I,O,z,F);B.pos=R,B.yc=(I+F)/2,B.i=b,B.dir=E?"increasing":"decreasing",B.x=B.pos,B.y=[z,O],A&&(B.orig_p=o[b]),_&&(B.tx=u.text[b]),k&&(B.htx=u.hovertext[b]),L.push(B)}else L.push({pos:R,empty:!0})}return u._extremes[c._id]=i.findExtremes(c,d.concat(y,w),{padded:!0}),L.length&&(L[0].t={labels:{open:g(a,"open:")+" ",high:g(a,"high:")+" ",low:g(a,"low:")+" ",close:g(a,"close:")+" "}}),L}T.exports={calc:function(a,u){var o=i.getFromId(a,u.xaxis),s=i.getFromId(a,u.yaxis),c=function(S,_,k){var E=k._minDiff;if(!E){var x,A=S._fullData,L=[];for(E=1/0,x=0;x"+_.labels[O]+d.hoverLabelText(y,z,S.yhoverformat):((I=g.extendFlat({},E)).y0=I.y1=F,I.yLabelVal=z,I.yLabel=_.labels[O]+d.hoverLabelText(y,z,S.yhoverformat),I.name="",k.push(I),b[z]=I)}return k}function o(s,c,h,m){var w=s.cd,y=s.ya,S=w[0].trace,_=w[0].t,k=a(s,c,h,m);if(!k)return[];var E=w[k.index],x=k.index=E.i,A=E.dir;function L(B){return _.labels[B]+d.hoverLabelText(y,S[B][x],S.yhoverformat)}var b=E.hi||S.hoverinfo,R=b.split("+"),I=b==="all",O=I||R.indexOf("y")!==-1,z=I||R.indexOf("text")!==-1,F=O?[L("open"),L("high"),L("low"),L("close")+" "+l[A]]:[];return z&&v(E,S,F),k.extraText=F.join("
"),k.y0=k.y1=y.c2p(E.yc,!0),[k]}T.exports={hoverPoints:function(s,c,h,m){return s.cd[0].trace.hoverlabel.split?u(s,c,h,m):o(s,c,h,m)},hoverSplit:u,hoverOnPoints:o}},54186:function(T,p,t){T.exports={moduleType:"trace",name:"ohlc",basePlotModule:t(93612),categories:["cartesian","svg","showLegend"],meta:{},attributes:t(2522),supplyDefaults:t(16169),calc:t(3485).calc,plot:t(72314),style:t(53101),hoverPoints:t(66449).hoverPoints,selectPoints:t(67324)}},14555:function(T,p,t){var d=t(73972),g=t(71828);T.exports=function(i,M,v,f){var l=v("x"),a=v("open"),u=v("high"),o=v("low"),s=v("close");if(v("hoverlabel.split"),d.getComponentMethod("calendars","handleTraceDefaults")(i,M,["x"],f),a&&u&&o&&s){var c=Math.min(a.length,u.length,o.length,s.length);return l&&(c=Math.min(c,g.minRowLength(l))),M._length=c,c}}},72314:function(T,p,t){var d=t(39898),g=t(71828);T.exports=function(i,M,v,f){var l=M.yaxis,a=M.xaxis,u=!!a.rangebreaks;g.makeTraceGroups(f,v,"trace ohlc").each(function(o){var s=d.select(this),c=o[0],h=c.t;if(c.trace.visible!==!0||h.empty)s.remove();else{var m=h.tickLen,w=s.selectAll("path").data(g.identity);w.enter().append("path"),w.exit().remove(),w.attr("d",function(y){if(y.empty)return"M0,0Z";var S=a.c2p(y.pos-m,!0),_=a.c2p(y.pos+m,!0),k=u?(S+_)/2:a.c2p(y.pos,!0);return"M"+S+","+l.c2p(y.o,!0)+"H"+k+"M"+k+","+l.c2p(y.h,!0)+"V"+l.c2p(y.l,!0)+"M"+_+","+l.c2p(y.c,!0)+"H"+k})}})}},67324:function(T){T.exports=function(p,t){var d,g=p.cd,i=p.xaxis,M=p.yaxis,v=[],f=g[0].t.bPos||0;if(t===!1)for(d=0;d=Z.length||X[Z[Q]]!==void 0)return!1;X[Z[Q]]=!0}return!0}(te))for(ne=0;ne0;y&&(m="array");var S=s("categoryorder",m);S==="array"?(s("categoryarray"),s("ticktext")):(delete u.categoryarray,delete u.ticktext),y||S!=="array"||(o.categoryorder="trace")}}T.exports=function(u,o,s,c){function h(_,k){return d.coerce(u,o,f,_,k)}var m=v(u,o,{name:"dimensions",handleItemDefaults:a}),w=function(_,k,E,x,A){A("line.shape"),A("line.hovertemplate");var L=A("line.color",x.colorway[0]);if(g(_,"line")&&d.isArrayOrTypedArray(L)){if(L.length)return A("line.colorscale"),i(_,k,x,A,{prefix:"line.",cLetter:"c"}),L.length;k.line.color=E}return 1/0}(u,o,s,c,h);M(o,c,h),Array.isArray(m)&&m.length||(o.visible=!1),l(o,m,"values",w),h("hoveron"),h("hovertemplate"),h("arrangement"),h("bundlecolors"),h("sortpaths"),h("counts");var y={family:c.font.family,size:Math.round(c.font.size),color:c.font.color};d.coerceFont(h,"labelfont",y);var S={family:c.font.family,size:Math.round(c.font.size/1.2),color:c.font.color};d.coerceFont(h,"tickfont",S)}},94873:function(T,p,t){T.exports={attributes:t(99506),supplyDefaults:t(14647),calc:t(28699),plot:t(45784),colorbar:{container:"line",min:"cmin",max:"cmax"},moduleType:"trace",name:"parcats",basePlotModule:t(27677),categories:["noOpacity"],meta:{}}},45460:function(T,p,t){var d=t(39898),g=t(81684).k4,i=t(72391),M=t(30211),v=t(71828),f=v.strTranslate,l=t(91424),a=t(84267),u=t(63893);function o(te,Z,X,Q){var re=Z._context.staticPlot,ie=te.map(U.bind(0,Z,X)),oe=Q.selectAll("g.parcatslayer").data([null]);oe.enter().append("g").attr("class","parcatslayer").style("pointer-events",re?"none":"all");var ue=oe.selectAll("g.trace.parcats").data(ie,s),ce=ue.enter().append("g").attr("class","trace parcats");ue.attr("transform",function(Se){return f(Se.x,Se.y)}),ce.append("g").attr("class","paths");var ye=ue.select("g.paths").selectAll("path.path").data(function(Se){return Se.paths},s);ye.attr("fill",function(Se){return Se.model.color});var de=ye.enter().append("path").attr("class","path").attr("stroke-opacity",0).attr("fill",function(Se){return Se.model.color}).attr("fill-opacity",0);k(de),ye.attr("d",function(Se){return Se.svgD}),de.empty()||ye.sort(h),ye.exit().remove(),ye.on("mouseover",m).on("mouseout",w).on("click",_),ce.append("g").attr("class","dimensions");var me=ue.select("g.dimensions").selectAll("g.dimension").data(function(Se){return Se.dimensions},s);me.enter().append("g").attr("class","dimension"),me.attr("transform",function(Se){return f(Se.x,0)}),me.exit().remove();var pe=me.selectAll("g.category").data(function(Se){return Se.categories},s),xe=pe.enter().append("g").attr("class","category");pe.attr("transform",function(Se){return f(0,Se.y)}),xe.append("rect").attr("class","catrect").attr("pointer-events","none"),pe.select("rect.catrect").attr("fill","none").attr("width",function(Se){return Se.width}).attr("height",function(Se){return Se.height}),x(xe);var Pe=pe.selectAll("rect.bandrect").data(function(Se){return Se.bands},s);Pe.each(function(){v.raiseToTop(this)}),Pe.attr("fill",function(Se){return Se.color});var _e=Pe.enter().append("rect").attr("class","bandrect").attr("stroke-opacity",0).attr("fill",function(Se){return Se.color}).attr("fill-opacity",0);Pe.attr("fill",function(Se){return Se.color}).attr("width",function(Se){return Se.width}).attr("height",function(Se){return Se.height}).attr("y",function(Se){return Se.y}).attr("cursor",function(Se){return Se.parcatsViewModel.arrangement==="fixed"?"default":Se.parcatsViewModel.arrangement==="perpendicular"?"ns-resize":"move"}),A(_e),Pe.exit().remove(),xe.append("text").attr("class","catlabel").attr("pointer-events","none");var Me=Z._fullLayout.paper_bgcolor;pe.select("text.catlabel").attr("text-anchor",function(Se){return c(Se)?"start":"end"}).attr("alignment-baseline","middle").style("text-shadow",u.makeTextShadow(Me)).style("fill","rgb(0, 0, 0)").attr("x",function(Se){return c(Se)?Se.width+5:-5}).attr("y",function(Se){return Se.height/2}).text(function(Se){return Se.model.categoryLabel}).each(function(Se){l.font(d.select(this),Se.parcatsViewModel.categorylabelfont),u.convertToTspans(d.select(this),Z)}),xe.append("text").attr("class","dimlabel"),pe.select("text.dimlabel").attr("text-anchor","middle").attr("alignment-baseline","baseline").attr("cursor",function(Se){return Se.parcatsViewModel.arrangement==="fixed"?"default":"ew-resize"}).attr("x",function(Se){return Se.width/2}).attr("y",-5).text(function(Se,Ce){return Ce===0?Se.parcatsViewModel.model.dimensions[Se.model.dimensionInd].dimensionLabel:null}).each(function(Se){l.font(d.select(this),Se.parcatsViewModel.labelfont)}),pe.selectAll("rect.bandrect").on("mouseover",O).on("mouseout",z),pe.exit().remove(),me.call(d.behavior.drag().origin(function(Se){return{x:Se.x,y:0}}).on("dragstart",F).on("drag",B).on("dragend",N)),ue.each(function(Se){Se.traceSelection=d.select(this),Se.pathSelection=d.select(this).selectAll("g.paths").selectAll("path.path"),Se.dimensionSelection=d.select(this).selectAll("g.dimensions").selectAll("g.dimension")}),ue.exit().remove()}function s(te){return te.key}function c(te){var Z=te.parcatsViewModel.dimensions.length,X=te.parcatsViewModel.dimensions[Z-1].model.dimensionInd;return te.model.dimensionInd===X}function h(te,Z){return te.model.rawColor>Z.model.rawColor?1:te.model.rawColor"),ke=d.mouse(ue)[0];M.loneHover({trace:ce,x:Pe-de.left+me.left,y:_e-de.top+me.top,text:be,color:te.model.color,borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontSize:10,fontColor:Me,idealAlign:ke1&&me.displayInd===de.dimensions.length-1?(Q=ce.left,re="left"):(Q=ce.left+ce.width,re="right");var Pe=ye.model.count,_e=ye.model.categoryLabel,Me=Pe/ye.parcatsViewModel.model.count,Se={countLabel:Pe,categoryLabel:_e,probabilityLabel:Me.toFixed(3)},Ce=[];ye.parcatsViewModel.hoverinfoItems.indexOf("count")!==-1&&Ce.push(["Count:",Se.countLabel].join(" ")),ye.parcatsViewModel.hoverinfoItems.indexOf("probability")!==-1&&Ce.push(["P("+Se.categoryLabel+"):",Se.probabilityLabel].join(" "));var ae=Ce.join("
");return{trace:pe,x:ie*(Q-Z.left),y:oe*(xe-Z.top),text:ae,color:"lightgray",borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontSize:12,fontColor:"black",idealAlign:re,hovertemplate:pe.hovertemplate,hovertemplateLabels:Se,eventData:[{data:pe._input,fullData:pe,count:Pe,category:_e,probability:Me}]}}function O(te){if(!te.parcatsViewModel.dragDimension&&te.parcatsViewModel.hoverinfoItems.indexOf("skip")===-1){if(d.mouse(this)[1]<-1)return;var Z,X=te.parcatsViewModel.graphDiv,Q=X._fullLayout,re=Q._paperdiv.node().getBoundingClientRect(),ie=te.parcatsViewModel.hoveron,oe=this;ie==="color"?(function(ue){var ce=d.select(ue).datum(),ye=L(ce);E(ye),ye.each(function(){v.raiseToTop(this)}),d.select(ue.parentNode).selectAll("rect.bandrect").filter(function(de){return de.color===ce.color}).each(function(){v.raiseToTop(this),d.select(this).attr("stroke","black").attr("stroke-width",1.5)})}(oe),R(oe,"plotly_hover",d.event)):(function(ue){d.select(ue.parentNode).selectAll("rect.bandrect").each(function(ce){var ye=L(ce);E(ye),ye.each(function(){v.raiseToTop(this)})}),d.select(ue.parentNode).select("rect.catrect").attr("stroke","black").attr("stroke-width",2.5)}(oe),b(oe,"plotly_hover",d.event)),te.parcatsViewModel.hoverinfoItems.indexOf("none")===-1&&(ie==="category"?Z=I(X,re,oe):ie==="color"?Z=function(ue,ce,ye){ue._fullLayout._calcInverseTransform(ue);var de,me,pe=ue._fullLayout._invScaleX,xe=ue._fullLayout._invScaleY,Pe=ye.getBoundingClientRect(),_e=d.select(ye).datum(),Me=_e.categoryViewModel,Se=Me.parcatsViewModel,Ce=Se.model.dimensions[Me.model.dimensionInd],ae=Se.trace,fe=Pe.y+Pe.height/2;Se.dimensions.length>1&&Ce.displayInd===Se.dimensions.length-1?(de=Pe.left,me="left"):(de=Pe.left+Pe.width,me="right");var be=Me.model.categoryLabel,ke=_e.parcatsViewModel.model.count,Le=0;_e.categoryViewModel.bands.forEach(function(st){st.color===_e.color&&(Le+=st.count)});var Be=Me.model.count,ze=0;Se.pathSelection.each(function(st){st.model.color===_e.color&&(ze+=st.model.count)});var je=Le/ke,ge=Le/ze,we=Le/Be,Ee={countLabel:ke,categoryLabel:be,probabilityLabel:je.toFixed(3)},Ve=[];Me.parcatsViewModel.hoverinfoItems.indexOf("count")!==-1&&Ve.push(["Count:",Ee.countLabel].join(" ")),Me.parcatsViewModel.hoverinfoItems.indexOf("probability")!==-1&&(Ve.push("P(color ∩ "+be+"): "+Ee.probabilityLabel),Ve.push("P("+be+" | color): "+ge.toFixed(3)),Ve.push("P(color | "+be+"): "+we.toFixed(3)));var $e=Ve.join("
"),Ye=a.mostReadable(_e.color,["black","white"]);return{trace:ae,x:pe*(de-ce.left),y:xe*(fe-ce.top),text:$e,color:_e.color,borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontColor:Ye,fontSize:10,idealAlign:me,hovertemplate:ae.hovertemplate,hovertemplateLabels:Ee,eventData:[{data:ae._input,fullData:ae,category:be,count:ke,probability:je,categorycount:Be,colorcount:ze,bandcolorcount:Le}]}}(X,re,oe):ie==="dimension"&&(Z=function(ue,ce,ye){var de=[];return d.select(ye.parentNode.parentNode).selectAll("g.category").select("rect.catrect").each(function(){de.push(I(ue,ce,this))}),de}(X,re,oe)),Z&&M.loneHover(Z,{container:Q._hoverlayer.node(),outerContainer:Q._paper.node(),gd:X}))}}function z(te){var Z=te.parcatsViewModel;Z.dragDimension||(k(Z.pathSelection),x(Z.dimensionSelection.selectAll("g.category")),A(Z.dimensionSelection.selectAll("g.category").selectAll("rect.bandrect")),M.loneUnhover(Z.graphDiv._fullLayout._hoverlayer.node()),Z.pathSelection.sort(h),Z.hoverinfoItems.indexOf("skip")!==-1)||(te.parcatsViewModel.hoveron==="color"?R(this,"plotly_unhover",d.event):b(this,"plotly_unhover",d.event))}function F(te){te.parcatsViewModel.arrangement!=="fixed"&&(te.dragDimensionDisplayInd=te.model.displayInd,te.initialDragDimensionDisplayInds=te.parcatsViewModel.model.dimensions.map(function(Z){return Z.displayInd}),te.dragHasMoved=!1,te.dragCategoryDisplayInd=null,d.select(this).selectAll("g.category").select("rect.catrect").each(function(Z){var X=d.mouse(this)[0],Q=d.mouse(this)[1];-2<=X&&X<=Z.width+2&&-2<=Q&&Q<=Z.height+2&&(te.dragCategoryDisplayInd=Z.model.displayInd,te.initialDragCategoryDisplayInds=te.model.categories.map(function(re){return re.displayInd}),Z.model.dragY=Z.y,v.raiseToTop(this.parentNode),d.select(this.parentNode).selectAll("rect.bandrect").each(function(re){re.yde.y+de.height/2&&(ie.model.displayInd=de.model.displayInd,de.model.displayInd=ue),te.dragCategoryDisplayInd=ie.model.displayInd}if(te.dragCategoryDisplayInd===null||te.parcatsViewModel.arrangement==="freeform"){re.model.dragX=d.event.x;var me=te.parcatsViewModel.dimensions[X],pe=te.parcatsViewModel.dimensions[Q];me!==void 0&&re.model.dragXpe.x&&(re.model.displayInd=pe.model.displayInd,pe.model.displayInd=te.dragDimensionDisplayInd),te.dragDimensionDisplayInd=re.model.displayInd}H(te.parcatsViewModel),q(te.parcatsViewModel),$(te.parcatsViewModel),j(te.parcatsViewModel)}}function N(te){if(te.parcatsViewModel.arrangement!=="fixed"&&te.dragDimensionDisplayInd!==null){d.select(this).selectAll("text").attr("font-weight","normal");var Z={},X=W(te.parcatsViewModel),Q=te.parcatsViewModel.model.dimensions.map(function(de){return de.displayInd}),re=te.initialDragDimensionDisplayInds.some(function(de,me){return de!==Q[me]});re&&Q.forEach(function(de,me){var pe=te.parcatsViewModel.model.dimensions[me].containerInd;Z["dimensions["+pe+"].displayindex"]=de});var ie=!1;if(te.dragCategoryDisplayInd!==null){var oe=te.model.categories.map(function(de){return de.displayInd});if(ie=te.initialDragCategoryDisplayInds.some(function(de,me){return de!==oe[me]})){var ue=te.model.categories.slice().sort(function(de,me){return de.displayInd-me.displayInd}),ce=ue.map(function(de){return de.categoryValue}),ye=ue.map(function(de){return de.categoryLabel});Z["dimensions["+te.model.containerInd+"].categoryarray"]=[ce],Z["dimensions["+te.model.containerInd+"].ticktext"]=[ye],Z["dimensions["+te.model.containerInd+"].categoryorder"]="array"}}te.parcatsViewModel.hoverinfoItems.indexOf("skip")===-1&&!te.dragHasMoved&&te.potentialClickBand&&(te.parcatsViewModel.hoveron==="color"?R(te.potentialClickBand,"plotly_click",d.event.sourceEvent):b(te.potentialClickBand,"plotly_click",d.event.sourceEvent)),te.model.dragX=null,te.dragCategoryDisplayInd!==null&&(te.parcatsViewModel.dimensions[te.dragDimensionDisplayInd].categories[te.dragCategoryDisplayInd].model.dragY=null,te.dragCategoryDisplayInd=null),te.dragDimensionDisplayInd=null,te.parcatsViewModel.dragDimension=null,te.dragHasMoved=null,te.potentialClickBand=null,H(te.parcatsViewModel),q(te.parcatsViewModel),d.transition().duration(300).ease("cubic-in-out").each(function(){$(te.parcatsViewModel,!0),j(te.parcatsViewModel,!0)}).each("end",function(){(re||ie)&&i.restyle(te.parcatsViewModel.graphDiv,Z,[X])})}}function W(te){for(var Z,X=te.graphDiv._fullData,Q=0;Q=0;oe--)ye+="C"+ce[oe]+","+(Z[oe+1]+Q)+" "+ue[oe]+","+(Z[oe]+Q)+" "+(te[oe]+X[oe])+","+(Z[oe]+Q),ye+="l-"+X[oe]+",0 ";return ye+"Z"}function q(te){var Z=te.dimensions,X=te.model,Q=Z.map(function(Ee){return Ee.categories.map(function(Ve){return Ve.y})}),re=te.model.dimensions.map(function(Ee){return Ee.categories.map(function(Ve){return Ve.displayInd})}),ie=te.model.dimensions.map(function(Ee){return Ee.displayInd}),oe=te.dimensions.map(function(Ee){return Ee.model.dimensionInd}),ue=Z.map(function(Ee){return Ee.x}),ce=Z.map(function(Ee){return Ee.width}),ye=[];for(var de in X.paths)X.paths.hasOwnProperty(de)&&ye.push(X.paths[de]);function me(Ee){var Ve=Ee.categoryInds.map(function($e,Ye){return re[Ye][$e]});return oe.map(function($e){return Ve[$e]})}ye.sort(function(Ee,Ve){var $e=me(Ee),Ye=me(Ve);return te.sortpaths==="backward"&&($e.reverse(),Ye.reverse()),$e.push(Ee.valueInds[0]),Ye.push(Ve.valueInds[0]),te.bundlecolors&&($e.unshift(Ee.rawColor),Ye.unshift(Ve.rawColor)),$eYe?1:0});for(var pe=new Array(ye.length),xe=Z[0].model.count,Pe=Z[0].categories.map(function(Ee){return Ee.height}).reduce(function(Ee,Ve){return Ee+Ve}),_e=0;_e0?Pe*(Se.count/xe):0;for(var Ce,ae=new Array(Q.length),fe=0;fe1?(te.width-80-16)/(Q-1):0)*re;var ie,oe,ue,ce,ye,de=[],me=te.model.maxCats,pe=Z.categories.length,xe=Z.count,Pe=te.height-8*(me-1),_e=8*(me-pe)/2,Me=Z.categories.map(function(Se){return{displayInd:Se.displayInd,categoryInd:Se.categoryInd}});for(Me.sort(function(Se,Ce){return Se.displayInd-Ce.displayInd}),ye=0;ye0?oe.count/xe*Pe:0,ue={key:oe.valueInds[0],model:oe,width:16,height:ie,y:oe.dragY!==null?oe.dragY:_e,bands:[],parcatsViewModel:te},_e=_e+ie+8,de.push(ue);return{key:Z.dimensionInd,x:Z.dragX!==null?Z.dragX:X,y:0,width:16,model:Z,categories:de,parcatsViewModel:te,dragCategoryDisplayInd:null,dragDimensionDisplayInd:null,initialDragDimensionDisplayInds:null,initialDragCategoryDisplayInds:null,dragHasMoved:null,potentialClickBand:null}}T.exports=function(te,Z,X,Q){o(X,te,Q,Z)}},45784:function(T,p,t){var d=t(45460);T.exports=function(g,i,M,v){var f=g._fullLayout,l=f._paper,a=f._size;d(g,l,i,{width:a.w,height:a.h,margin:{t:a.t,r:a.r,b:a.b,l:a.l}},M,v)}},73362:function(T,p,t){var d=t(50693),g=t(13838),i=t(41940),M=t(27670).Y,v=t(1426).extendFlat,f=t(44467).templatedArray;T.exports={domain:M({name:"parcoords",trace:!0,editType:"plot"}),labelangle:{valType:"angle",dflt:0,editType:"plot"},labelside:{valType:"enumerated",values:["top","bottom"],dflt:"top",editType:"plot"},labelfont:i({editType:"plot"}),tickfont:i({editType:"plot"}),rangefont:i({editType:"plot"}),dimensions:f("dimension",{label:{valType:"string",editType:"plot"},tickvals:v({},g.tickvals,{editType:"plot"}),ticktext:v({},g.ticktext,{editType:"plot"}),tickformat:v({},g.tickformat,{editType:"plot"}),visible:{valType:"boolean",dflt:!0,editType:"plot"},range:{valType:"info_array",items:[{valType:"number",editType:"plot"},{valType:"number",editType:"plot"}],editType:"plot"},constraintrange:{valType:"info_array",freeLength:!0,dimensions:"1-2",items:[{valType:"any",editType:"plot"},{valType:"any",editType:"plot"}],editType:"plot"},multiselect:{valType:"boolean",dflt:!0,editType:"plot"},values:{valType:"data_array",editType:"calc"},editType:"calc"}),line:v({editType:"calc"},d("line",{colorscaleDflt:"Viridis",autoColorDflt:!1,editTypeOverride:"calc"})),unselected:{line:{color:{valType:"color",dflt:"#7f7f7f",editType:"plot"},opacity:{valType:"number",min:0,max:1,dflt:"auto",editType:"plot"},editType:"plot"},editType:"plot"}}},57920:function(T,p,t){var d=t(25706),g=t(39898),i=t(28984).keyFun,M=t(28984).repeat,v=t(71828).sorterAsc,f=t(71828).strTranslate,l=d.bar.snapRatio;function a(I,O){return I*(1-l)+O*l}var u=d.bar.snapClose;function o(I,O){return I*(1-u)+O*u}function s(I,O,z,F){if(function(ne,te){for(var Z=0;Z=te[Z][0]&&ne<=te[Z][1])return!0;return!1}(z,F))return z;var B=I?-1:1,N=0,W=O.length-1;if(B<0){var j=N;N=W,W=j}for(var $=O[N],U=$,G=N;B*GO){q=z;break}}if(B=U,isNaN(B)&&(B=isNaN(G)||isNaN(q)?isNaN(G)?q:G:O-$[G][1]<$[q][0]-O?G:q),!isNaN(B)){var ne=$[B],te=function(re,ie){var oe=d.bar.handleHeight;if(!(ie>re[1]+oe||ie=.9*re[1]+.1*re[0]?"n":ie<=.9*re[0]+.1*re[1]?"s":"ns"}(ne,O);te&&(N.interval=j[B],N.intervalPix=ne,N.region=te)}}if(I.ordinal&&!N.region){var Z=I.unitTickvals,X=I.unitToPaddedPx.invert(O);for(z=0;z=Q[0]&&X<=Q[1]){N.clickableOrdinalRange=Q;break}}}return N}function E(I,O){g.event.sourceEvent.stopPropagation();var z=O.height-g.mouse(I)[1]-2*d.verticalPadding,F=O.brush.svgBrush;F.wasDragged=!0,F._dragging=!0,F.grabbingBar?F.newExtent=[z-F.grabPoint,z+F.barLength-F.grabPoint].map(O.unitToPaddedPx.invert):F.newExtent=[F.startExtent,O.unitToPaddedPx.invert(z)].sort(v),O.brush.filterSpecified=!0,F.extent=F.stayingIntervals.concat([F.newExtent]),F.brushCallback(O),_(I.parentNode)}function x(I,O){var z=k(O,O.height-g.mouse(I)[1]-2*d.verticalPadding),F="crosshair";z.clickableOrdinalRange?F="pointer":z.region&&(F=z.region+"-resize"),g.select(document.body).style("cursor",F)}function A(I){I.on("mousemove",function(O){g.event.preventDefault(),O.parent.inBrushDrag||x(this,O)}).on("mouseleave",function(O){O.parent.inBrushDrag||y()}).call(g.behavior.drag().on("dragstart",function(O){(function(z,F){g.event.sourceEvent.stopPropagation();var B=F.height-g.mouse(z)[1]-2*d.verticalPadding,N=F.unitToPaddedPx.invert(B),W=F.brush,j=k(F,B),$=j.interval,U=W.svgBrush;if(U.wasDragged=!1,U.grabbingBar=j.region==="ns",U.grabbingBar){var G=$.map(F.unitToPaddedPx);U.grabPoint=B-G[0]-d.verticalPadding,U.barLength=G[1]-G[0]}U.clickableOrdinalRange=j.clickableOrdinalRange,U.stayingIntervals=F.multiselect&&W.filterSpecified?W.filter.getConsolidated():[],$&&(U.stayingIntervals=U.stayingIntervals.filter(function(q){return q[0]!==$[0]&&q[1]!==$[1]})),U.startExtent=j.region?$[j.region==="s"?1:0]:N,F.parent.inBrushDrag=!0,U.brushStartCallback()})(this,O)}).on("drag",function(O){E(this,O)}).on("dragend",function(O){(function(z,F){var B=F.brush,N=B.filter,W=B.svgBrush;W._dragging||(x(z,F),E(z,F),F.brush.svgBrush.wasDragged=!1),W._dragging=!1,g.event.sourceEvent.stopPropagation();var j=W.grabbingBar;if(W.grabbingBar=!1,W.grabLocation=void 0,F.parent.inBrushDrag=!1,y(),!W.wasDragged)return W.wasDragged=void 0,W.clickableOrdinalRange?B.filterSpecified&&F.multiselect?W.extent.push(W.clickableOrdinalRange):(W.extent=[W.clickableOrdinalRange],B.filterSpecified=!0):j?(W.extent=W.stayingIntervals,W.extent.length===0&&b(B)):b(B),W.brushCallback(F),_(z.parentNode),void W.brushEndCallback(B.filterSpecified?N.getConsolidated():[]);var $=function(){N.set(N.getConsolidated())};if(F.ordinal){var U=F.unitTickvals;U[U.length-1]W.newExtent[0];W.extent=W.stayingIntervals.concat(G?[W.newExtent]:[]),W.extent.length||b(B),W.brushCallback(F),G?_(z.parentNode,$):($(),_(z.parentNode))}else $();W.brushEndCallback(B.filterSpecified?N.getConsolidated():[])})(this,O)}))}function L(I,O){return I[0]-O[0]}function b(I){I.filterSpecified=!1,I.svgBrush.extent=[[-1/0,1/0]]}function R(I){for(var O,z=I.slice(),F=[],B=z.shift();B;){for(O=B.slice();(B=z.shift())&&B[0]<=O[1];)O[1]=Math.max(O[1],B[1]);F.push(O)}return F.length===1&&F[0][0]>F[0][1]&&(F=[]),F}T.exports={makeBrush:function(I,O,z,F,B,N){var W,j=function(){var $,U,G=[];return{set:function(q){(G=q.map(function(H){return H.slice().sort(v)}).sort(L)).length===1&&G[0][0]===-1/0&&G[0][1]===1/0&&(G=[[0,-1]]),$=R(G),U=G.reduce(function(H,ne){return[Math.min(H[0],ne[0]),Math.max(H[1],ne[1])]},[1/0,-1/0])},get:function(){return G.slice()},getConsolidated:function(){return $},getBounds:function(){return U}}}();return j.set(z),{filter:j,filterSpecified:O,svgBrush:{extent:[],brushStartCallback:F,brushCallback:(W=B,function($){var U=$.brush,G=function(H){return H.svgBrush.extent.map(function(ne){return ne.slice()})}(U),q=G.slice();U.filter.set(q),W()}),brushEndCallback:N}}},ensureAxisBrush:function(I,O,z){var F=I.selectAll("."+d.cn.axisBrush).data(M,i);F.enter().append("g").classed(d.cn.axisBrush,!0),function(B,N,W){var j=W._context.staticPlot,$=B.selectAll(".background").data(M);$.enter().append("rect").classed("background",!0).call(c).call(h).style("pointer-events",j?"none":"auto").attr("transform",f(0,d.verticalPadding)),$.call(A).attr("height",function(q){return q.height-d.verticalPadding});var U=B.selectAll(".highlight-shadow").data(M);U.enter().append("line").classed("highlight-shadow",!0).attr("x",-d.bar.width/2).attr("stroke-width",d.bar.width+d.bar.strokeWidth).attr("stroke",N).attr("opacity",d.bar.strokeOpacity).attr("stroke-linecap","butt"),U.attr("y1",function(q){return q.height}).call(S);var G=B.selectAll(".highlight").data(M);G.enter().append("line").classed("highlight",!0).attr("x",-d.bar.width/2).attr("stroke-width",d.bar.width-d.bar.strokeWidth).attr("stroke",d.bar.fillColor).attr("opacity",d.bar.fillOpacity).attr("stroke-linecap","butt"),G.attr("y1",function(q){return q.height}).call(S)}(F,O,z)},cleanRanges:function(I,O){if(Array.isArray(I[0])?(I=I.map(function(F){return F.sort(v)}),I=O.multiselect?R(I.sort(L)):[I[0]]):I=[I.sort(v)],O.tickvals){var z=O.tickvals.slice().sort(v);if(!(I=I.map(function(F){var B=[s(0,z,F[0],[]),s(1,z,F[1],[])];if(B[1]>B[0])return B}).filter(function(F){return F})).length)return}return I.length>1?I:I[0]}}},71791:function(T,p,t){T.exports={attributes:t(73362),supplyDefaults:t(3633),calc:t(24639),colorbar:{container:"line",min:"cmin",max:"cmax"},moduleType:"trace",name:"parcoords",basePlotModule:t(49351),categories:["gl","regl","noOpacity","noHover"],meta:{}}},49351:function(T,p,t){var d=t(39898),g=t(27659).a0,i=t(21341),M=t(77922);p.name="parcoords",p.plot=function(v){var f=g(v.calcdata,"parcoords")[0];f.length&&i(v,f)},p.clean=function(v,f,l,a){var u=a._has&&a._has("parcoords"),o=f._has&&f._has("parcoords");u&&!o&&(a._paperdiv.selectAll(".parcoords").remove(),a._glimages.selectAll("*").remove())},p.toSVG=function(v){var f=v._fullLayout._glimages,l=d.select(v).selectAll(".svg-container");l.filter(function(a,u){return u===l.size()-1}).selectAll(".gl-canvas-context, .gl-canvas-focus").each(function(){var a=this,u=a.toDataURL("image/png");f.append("svg:image").attr({xmlns:M.svg,"xlink:href":u,preserveAspectRatio:"none",x:0,y:0,width:a.style.width,height:a.style.height})}),window.setTimeout(function(){d.selectAll("#filterBarPattern").attr("id","filterBarPattern")},60)}},24639:function(T,p,t){var d=t(71828).isArrayOrTypedArray,g=t(21081),i=t(28984).wrap;T.exports=function(M,v){var f,l;return g.hasColorscale(v,"line")&&d(v.line.color)?(f=v.line.color,l=g.extractOpts(v.line).colorscale,g.calc(M,v,{vals:f,containerStr:"line",cLetter:"c"})):(f=function(a){for(var u=new Array(a),o=0;ou&&(d.log("parcoords traces support up to "+u+" dimensions at the moment"),S.splice(u));var _=v(c,h,{name:"dimensions",layout:w,handleItemDefaults:s}),k=function(x,A,L,b,R){var I=R("line.color",L);if(g(x,"line")&&d.isArrayOrTypedArray(I)){if(I.length)return R("line.colorscale"),i(x,A,b,R,{prefix:"line.",cLetter:"c"}),I.length;A.line.color=L}return 1/0}(c,h,m,w,y);M(h,w,y),Array.isArray(_)&&_.length||(h.visible=!1),o(h,_,"values",k);var E={family:w.font.family,size:Math.round(w.font.size/1.2),color:w.font.color};d.coerceFont(y,"labelfont",E),d.coerceFont(y,"tickfont",E),d.coerceFont(y,"rangefont",E),y("labelangle"),y("labelside"),y("unselected.line.color"),y("unselected.line.opacity")}},1602:function(T,p,t){var d=t(71828).isTypedArray;p.convertTypedArray=function(g){return d(g)?Array.prototype.slice.call(g):g},p.isOrdinal=function(g){return!!g.tickvals},p.isVisible=function(g){return g.visible||!("visible"in g)}},67618:function(T,p,t){var d=t(71791);d.plot=t(21341),T.exports=d},83398:function(T,p,t){var d=t(56068),g=d([`precision highp float; +`),mapOnErrorMsg:"Mapbox error.",mapboxLogo:{path0:"m 10.5,1.24 c -5.11,0 -9.25,4.15 -9.25,9.25 0,5.1 4.15,9.25 9.25,9.25 5.1,0 9.25,-4.15 9.25,-9.25 0,-5.11 -4.14,-9.25 -9.25,-9.25 z m 4.39,11.53 c -1.93,1.93 -4.78,2.31 -6.7,2.31 -0.7,0 -1.41,-0.05 -2.1,-0.16 0,0 -1.02,-5.64 2.14,-8.81 0.83,-0.83 1.95,-1.28 3.13,-1.28 1.27,0 2.49,0.51 3.39,1.42 1.84,1.84 1.89,4.75 0.14,6.52 z",path1:"M 10.5,-0.01 C 4.7,-0.01 0,4.7 0,10.49 c 0,5.79 4.7,10.5 10.5,10.5 5.8,0 10.5,-4.7 10.5,-10.5 C 20.99,4.7 16.3,-0.01 10.5,-0.01 Z m 0,19.75 c -5.11,0 -9.25,-4.15 -9.25,-9.25 0,-5.1 4.14,-9.26 9.25,-9.26 5.11,0 9.25,4.15 9.25,9.25 0,5.13 -4.14,9.26 -9.25,9.26 z",path2:"M 14.74,6.25 C 12.9,4.41 9.98,4.35 8.23,6.1 5.07,9.27 6.09,14.91 6.09,14.91 c 0,0 5.64,1.02 8.81,-2.14 C 16.64,11 16.59,8.09 14.74,6.25 Z m -2.27,4.09 -0.91,1.87 -0.9,-1.87 -1.86,-0.91 1.86,-0.9 0.9,-1.87 0.91,1.87 1.86,0.9 z",polygon:"11.56,12.21 10.66,10.34 8.8,9.43 10.66,8.53 11.56,6.66 12.47,8.53 14.33,9.43 12.47,10.34"},styleRules:{map:"overflow:hidden;position:relative;","missing-css":"display:none;",canary:"background-color:salmon;","ctrl-bottom-left":"position: absolute; pointer-events: none; z-index: 2; bottom: 0; left: 0;","ctrl-bottom-right":"position: absolute; pointer-events: none; z-index: 2; right: 0; bottom: 0;",ctrl:"clear: both; pointer-events: auto; transform: translate(0, 0);","ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-inner":"display: none;","ctrl-attrib.mapboxgl-compact:hover .mapboxgl-ctrl-attrib-inner":"display: block; margin-top:2px","ctrl-attrib.mapboxgl-compact:hover":"padding: 2px 24px 2px 4px; visibility: visible; margin-top: 6px;","ctrl-attrib.mapboxgl-compact::after":`content: ""; cursor: pointer; position: absolute; background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"%3E %3Cpath fill="%23333333" fill-rule="evenodd" d="M4,10a6,6 0 1,0 12,0a6,6 0 1,0 -12,0 M9,7a1,1 0 1,0 2,0a1,1 0 1,0 -2,0 M9,10a1,1 0 1,1 2,0l0,3a1,1 0 1,1 -2,0"/%3E %3C/svg%3E'); background-color: rgba(255, 255, 255, 0.5); width: 24px; height: 24px; box-sizing: border-box; border-radius: 12px;`,"ctrl-attrib.mapboxgl-compact":"min-height: 20px; padding: 0; margin: 10px; position: relative; background-color: #fff; border-radius: 3px 12px 12px 3px;","ctrl-bottom-right > .mapboxgl-ctrl-attrib.mapboxgl-compact::after":"bottom: 0; right: 0","ctrl-bottom-left > .mapboxgl-ctrl-attrib.mapboxgl-compact::after":"bottom: 0; left: 0","ctrl-bottom-left .mapboxgl-ctrl":"margin: 0 0 10px 10px; float: left;","ctrl-bottom-right .mapboxgl-ctrl":"margin: 0 10px 10px 0; float: right;","ctrl-attrib":"color: rgba(0, 0, 0, 0.75); text-decoration: none; font-size: 12px","ctrl-attrib a":"color: rgba(0, 0, 0, 0.75); text-decoration: none; font-size: 12px","ctrl-attrib a:hover":"color: inherit; text-decoration: underline;","ctrl-attrib .mapbox-improve-map":"font-weight: bold; margin-left: 2px;","attrib-empty":"display: none;","ctrl-logo":`display:block; width: 21px; height: 21px; background-image: url('data:image/svg+xml;charset=utf-8,%3C?xml version="1.0" encoding="utf-8"?%3E %3Csvg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 21 21" style="enable-background:new 0 0 21 21;" xml:space="preserve"%3E%3Cg transform="translate(0,0.01)"%3E%3Cpath d="m 10.5,1.24 c -5.11,0 -9.25,4.15 -9.25,9.25 0,5.1 4.15,9.25 9.25,9.25 5.1,0 9.25,-4.15 9.25,-9.25 0,-5.11 -4.14,-9.25 -9.25,-9.25 z m 4.39,11.53 c -1.93,1.93 -4.78,2.31 -6.7,2.31 -0.7,0 -1.41,-0.05 -2.1,-0.16 0,0 -1.02,-5.64 2.14,-8.81 0.83,-0.83 1.95,-1.28 3.13,-1.28 1.27,0 2.49,0.51 3.39,1.42 1.84,1.84 1.89,4.75 0.14,6.52 z" style="opacity:0.9;fill:%23ffffff;enable-background:new" class="st0"/%3E%3Cpath d="M 10.5,-0.01 C 4.7,-0.01 0,4.7 0,10.49 c 0,5.79 4.7,10.5 10.5,10.5 5.8,0 10.5,-4.7 10.5,-10.5 C 20.99,4.7 16.3,-0.01 10.5,-0.01 Z m 0,19.75 c -5.11,0 -9.25,-4.15 -9.25,-9.25 0,-5.1 4.14,-9.26 9.25,-9.26 5.11,0 9.25,4.15 9.25,9.25 0,5.13 -4.14,9.26 -9.25,9.26 z" style="opacity:0.35;enable-background:new" class="st1"/%3E%3Cpath d="M 14.74,6.25 C 12.9,4.41 9.98,4.35 8.23,6.1 5.07,9.27 6.09,14.91 6.09,14.91 c 0,0 5.64,1.02 8.81,-2.14 C 16.64,11 16.59,8.09 14.74,6.25 Z m -2.27,4.09 -0.91,1.87 -0.9,-1.87 -1.86,-0.91 1.86,-0.9 0.9,-1.87 0.91,1.87 1.86,0.9 z" style="opacity:0.35;enable-background:new" class="st1"/%3E%3Cpolygon points="11.56,12.21 10.66,10.34 8.8,9.43 10.66,8.53 11.56,6.66 12.47,8.53 14.33,9.43 12.47,10.34 " style="opacity:0.9;fill:%23ffffff;enable-background:new" class="st0"/%3E%3C/g%3E%3C/svg%3E')`}}},13056:function(T,p,t){var d=t(71828);T.exports=function(g,i){var M=g.split(" "),v=M[0],f=M[1],l=d.isArrayOrTypedArray(i)?d.mean(i):i,a=.5+l/100,u=1.5+l/100,o=["",""],s=[0,0];switch(v){case"top":o[0]="top",s[1]=-u;break;case"bottom":o[0]="bottom",s[1]=u}switch(f){case"left":o[1]="right",s[0]=-a;break;case"right":o[1]="left",s[0]=a}return{anchor:o[0]&&o[1]?o.join("-"):o[0]?o[0]:o[1]?o[1]:"center",offset:s}}},50101:function(T,p,t){var d=t(44517),g=t(71828),i=g.strTranslate,M=g.strScale,v=t(27659).AU,f=t(77922),l=t(39898),a=t(91424),u=t(63893),o=t(10481),s="mapbox",h=p.constants=t(77734);function c(m){return typeof m=="string"&&(h.styleValuesMapbox.indexOf(m)!==-1||m.indexOf("mapbox://")===0)}p.name=s,p.attr="subplot",p.idRoot=s,p.idRegex=p.attrRegex=g.counterRegex(s),p.attributes={subplot:{valType:"subplotid",dflt:"mapbox",editType:"calc"}},p.layoutAttributes=t(23585),p.supplyLayoutDefaults=t(77882),p.plot=function(m){var w=m._fullLayout,y=m.calcdata,C=w._subplots.mapbox;if(d.version!==h.requiredVersion)throw new Error(h.wrongVersionErrorMsg);var _=function(b,R){var I=b._fullLayout;if(b._context.mapboxAccessToken==="")return"";for(var O=[],z=[],F=!1,B=!1,N=0;N1&&g.warn(h.multipleTokensErrorMsg),O[0]):(z.length&&g.log(["Listed mapbox access token(s)",z.join(","),"but did not use a Mapbox map style, ignoring token(s)."].join(" ")),"")}(m,C);d.accessToken=_;for(var k=0;kz/2){var F=b.split("|").join("
");I.text(F).attr("data-unformatted",F).call(u.convertToTspans,m),O=a.bBox(I.node())}I.attr("transform",i(-3,8-O.height)),R.insert("rect",".static-attribution").attr({x:-O.width-6,y:-O.height-3,width:O.width+6,height:O.height+3,fill:"rgba(255, 255, 255, 0.75)"});var B=1;O.width+6>z&&(B=z/(O.width+6));var N=[C.l+C.w*E.x[1],C.t+C.h*(1-E.y[0])];R.attr("transform",i(N[0],N[1])+M(B))}},p.updateFx=function(m){for(var w=m._fullLayout,y=w._subplots.mapbox,C=0;C0){for(var s=0;s0}function a(u){var o={},s={};switch(u.type){case"circle":d.extendFlat(s,{"circle-radius":u.circle.radius,"circle-color":u.color,"circle-opacity":u.opacity});break;case"line":d.extendFlat(s,{"line-width":u.line.width,"line-color":u.color,"line-opacity":u.opacity,"line-dasharray":u.line.dash});break;case"fill":d.extendFlat(s,{"fill-color":u.color,"fill-outline-color":u.fill.outlinecolor,"fill-opacity":u.opacity});break;case"symbol":var h=u.symbol,c=i(h.textposition,h.iconsize);d.extendFlat(o,{"icon-image":h.icon+"-15","icon-size":h.iconsize/10,"text-field":h.text,"text-size":h.textfont.size,"text-anchor":c.anchor,"text-offset":c.offset,"symbol-placement":h.placement}),d.extendFlat(s,{"icon-color":u.color,"text-color":h.textfont.color,"text-opacity":u.opacity});break;case"raster":d.extendFlat(s,{"raster-fade-duration":0,"raster-opacity":u.opacity})}return{layout:o,paint:s}}f.update=function(u){this.visible?this.needsNewImage(u)?this.updateImage(u):this.needsNewSource(u)?(this.removeLayer(),this.updateSource(u),this.updateLayer(u)):this.needsNewLayer(u)?this.updateLayer(u):this.updateStyle(u):(this.updateSource(u),this.updateLayer(u)),this.visible=l(u)},f.needsNewImage=function(u){return this.subplot.map.getSource(this.idSource)&&this.sourceType==="image"&&u.sourcetype==="image"&&(this.source!==u.source||JSON.stringify(this.coordinates)!==JSON.stringify(u.coordinates))},f.needsNewSource=function(u){return this.sourceType!==u.sourcetype||JSON.stringify(this.source)!==JSON.stringify(u.source)||this.layerType!==u.type},f.needsNewLayer=function(u){return this.layerType!==u.type||this.below!==this.subplot.belowLookup["layout-"+this.index]},f.lookupBelow=function(){return this.subplot.belowLookup["layout-"+this.index]},f.updateImage=function(u){this.subplot.map.getSource(this.idSource).updateImage({url:u.source,coordinates:u.coordinates});var o=this.findFollowingMapboxLayerId(this.lookupBelow());o!==null&&this.subplot.map.moveLayer(this.idLayer,o)},f.updateSource=function(u){var o=this.subplot.map;if(o.getSource(this.idSource)&&o.removeSource(this.idSource),this.sourceType=u.sourcetype,this.source=u.source,l(u)){var s=function(h){var c,m=h.sourcetype,w=h.source,y={type:m};return m==="geojson"?c="data":m==="vector"?c=typeof w=="string"?"url":"tiles":m==="raster"?(c="tiles",y.tileSize=256):m==="image"&&(c="url",y.coordinates=h.coordinates),y[c]=w,h.sourceattribution&&(y.attribution=g(h.sourceattribution)),y}(u);o.addSource(this.idSource,s)}},f.findFollowingMapboxLayerId=function(u){if(u==="traces")for(var o=this.subplot.getMapLayers(),s=0;s1)for(R=0;R-1&&m(N.originalEvent,I,[R.xaxis],[R.yaxis],R.id,B),W.indexOf("event")>-1&&l.click(I,N.originalEvent)}}},_.updateFx=function(L){var b=this,R=b.map,I=b.gd;if(!b.isStatic){var O,z=L.dragmode;O=function(N,W){W.isRect?(N.range={})[b.id]=[B([W.xmin,W.ymin]),B([W.xmax,W.ymax])]:(N.lassoPoints={})[b.id]=W.map(B)};var F=b.dragOptions;b.dragOptions=g.extendDeep(F||{},{dragmode:L.dragmode,element:b.div,gd:I,plotinfo:{id:b.id,domain:L[b.id].domain,xaxis:b.xaxis,yaxis:b.yaxis,fillRangeItems:O},xaxes:[b.xaxis],yaxes:[b.yaxis],subplot:b.id}),R.off("click",b.onClickInPanHandler),o(z)||u(z)?(R.dragPan.disable(),R.on("zoomstart",b.clearOutline),b.dragOptions.prepFn=function(N,W,j){s(N,W,j,b.dragOptions,z)},f.init(b.dragOptions)):(R.dragPan.enable(),R.off("zoomstart",b.clearOutline),b.div.onmousedown=null,b.div.ontouchstart=null,b.div.removeEventListener("touchstart",b.div._ontouchstart),b.onClickInPanHandler=b.onClickInPanFn(b.dragOptions),R.on("click",b.onClickInPanHandler))}function B(N){var W=b.map.unproject(N);return[W.lng,W.lat]}},_.updateFramework=function(L){var b=L[this.id].domain,R=L._size,I=this.div.style;I.width=R.w*(b.x[1]-b.x[0])+"px",I.height=R.h*(b.y[1]-b.y[0])+"px",I.left=R.l+b.x[0]*R.w+"px",I.top=R.t+(1-b.y[1])*R.h+"px",this.xaxis._offset=R.l+b.x[0]*R.w,this.xaxis._length=R.w*(b.x[1]-b.x[0]),this.yaxis._offset=R.t+(1-b.y[1])*R.h,this.yaxis._length=R.h*(b.y[1]-b.y[0])},_.updateLayers=function(L){var b,R=L[this.id].layers,I=this.layerList;if(R.length!==I.length){for(b=0;b=G.width-20?(ne["text-anchor"]="start",ne.x=5):(ne["text-anchor"]="end",ne.x=G._paper.attr("width")-7),q.attr(ne);var te=q.select(".js-link-to-tool"),Z=q.select(".js-link-spacer"),X=q.select(".js-sourcelinks");U._context.showSources&&U._context.showSources(U),U._context.showLink&&function(Q,re){re.text("");var ie=re.append("a").attr({"xlink:xlink:href":"#",class:"link--impt link--embedview","font-weight":"bold"}).text(Q._context.linkText+" "+String.fromCharCode(187));if(Q._context.sendData)ie.on("click",function(){k.sendDataToCloud(Q)});else{var oe=window.location.pathname.split("/"),ue=window.location.search;ie.attr({"xlink:xlink:show":"new","xlink:xlink:href":"/"+oe[2].split(".")[0]+"/"+oe[1]+ue})}}(U,te),Z.text(te.text()&&X.text()?" - ":"")}},k.sendDataToCloud=function(U){var G=(window.PLOTLYENV||{}).BASE_URL||U._context.plotlyServerURL;if(G){U.emit("plotly_beforeexport");var q=d.select(U).append("div").attr("id","hiddenform").style("display","none"),H=q.append("form").attr({action:G+"/external",method:"post",target:"_blank"});return H.append("input").attr({type:"text",name:"data"}).node().value=k.graphJson(U,!1,"keepdata"),H.node().submit(),q.remove(),U.emit("plotly_afterexport"),!1}};var A=["days","shortDays","months","shortMonths","periods","dateTime","date","time","decimal","thousands","grouping","currency"],L=["year","month","dayMonth","dayMonthYear"];function b(U,G){var q=U._context.locale;q||(q="en-US");var H=!1,ne={};function te(oe){for(var ue=!0,ce=0;ce1&&Se.length>1){for(v.getComponentMethod("grid","sizeDefaults")(Z,te),ne=0;ne15&&Se.length>15&&te.shapes.length===0&&te.images.length===0,k.linkSubplots(Q,te,X,H),k.cleanPlot(Q,te,X,H);var ke=!(!H._has||!H._has("gl2d")),Le=!(!te._has||!te._has("gl2d")),Be=!(!H._has||!H._has("cartesian"))||ke,ze=!(!te._has||!te._has("cartesian"))||Le;Be&&!ze?H._bgLayer.remove():ze&&!Be&&(te._shouldCreateBgLayer=!0),H._zoomlayer&&!U._dragging&&h({_fullLayout:H}),function(Ee,Ve){var $e,Ye=[];Ve.meta&&($e=Ve._meta={meta:Ve.meta,layout:{meta:Ve.meta}});for(var st=0;st0){var re=1-2*Z;H=Math.round(re*H),ne=Math.round(re*ne)}}var ie=k.layoutAttributes.width.min,oe=k.layoutAttributes.height.min;H1,ce=!G.height&&Math.abs(q.height-ne)>1;(ce||ue)&&(ue&&(q.width=H),ce&&(q.height=ne)),U._initialAutoSize||(U._initialAutoSize={width:H,height:ne}),k.sanitizeMargins(q)},k.supplyLayoutModuleDefaults=function(U,G,q,H){var ne,te,Z,X=v.componentsRegistry,Q=G._basePlotModules,re=v.subplotsRegistry.cartesian;for(ne in X)(Z=X[ne]).includeBasePlot&&Z.includeBasePlot(U,G);for(var ie in Q.length||Q.push(re),G._has("cartesian")&&(v.getComponentMethod("grid","contentDefaults")(U,G),re.finalizeSubplots(U,G)),G._subplots)G._subplots[ie].sort(a.subplotSort);for(te=0;te1&&(q.l/=me,q.r/=me)}if(ue){var pe=(q.t+q.b)/ue;pe>1&&(q.t/=pe,q.b/=pe)}var xe=q.xl!==void 0?q.xl:q.x,Pe=q.xr!==void 0?q.xr:q.x,_e=q.yt!==void 0?q.yt:q.y,Me=q.yb!==void 0?q.yb:q.y;ce[G]={l:{val:xe,size:q.l+de},r:{val:Pe,size:q.r+de},b:{val:Me,size:q.b+de},t:{val:_e,size:q.t+de}},ye[G]=1}else delete ce[G],delete ye[G];if(!H._replotting)return k.doAutoMargin(U)}},k.doAutoMargin=function(U){var G=U._fullLayout,q=G.width,H=G.height;G._size||(G._size={}),F(G);var ne=G._size,te=G.margin,Z={t:0,b:0,l:0,r:0},X=a.extendFlat({},ne),Q=U._fullLayout._reservedMargin;for(var re in Q)for(var ie in Q[re]){var oe=Q[re][ie];Z[ie]=Math.max(Z[ie],oe)}var ue=te.l,ce=te.r,ye=te.t,de=te.b,me=G._pushmargin,pe=G._pushmarginIds,xe=G.minreducedwidth,Pe=G.minreducedheight;if(G.margin.autoexpand!==!1){for(var _e in me)pe[_e]||delete me[_e];for(var Me in me.base={l:{val:0,size:ue},r:{val:1,size:ce},t:{val:1,size:ye},b:{val:0,size:de}},me){var Se=me[Me].l||{},Ce=me[Me].b||{},ae=Se.val,fe=Se.size,be=Ce.val,ke=Ce.size,Le=q-Z.r-Z.l,Be=H-Z.t-Z.b;for(var ze in me){if(M(fe)&&me[ze].r){var je=me[ze].r.val,ge=me[ze].r.size;if(je>ae){var we=(fe*je+(ge-Le)*ae)/(je-ae),Ee=(ge*(1-ae)+(fe-Le)*(1-je))/(je-ae);we+Ee>ue+ce&&(ue=we,ce=Ee)}}if(M(ke)&&me[ze].t){var Ve=me[ze].t.val,$e=me[ze].t.size;if(Ve>be){var Ye=(ke*Ve+($e-Be)*be)/(Ve-be),st=($e*(1-be)+(ke-Be)*(1-Ve))/(Ve-be);Ye+st>de+ye&&(de=Ye,ye=st)}}}}}var ot=a.constrain(q-te.l-te.r,2,xe),ht=a.constrain(H-te.t-te.b,2,Pe),bt=Math.max(0,q-ot),Et=Math.max(0,H-ht);if(bt){var kt=(ue+ce)/bt;kt>1&&(ue/=kt,ce/=kt)}if(Et){var xt=(de+ye)/Et;xt>1&&(de/=xt,ye/=xt)}if(ne.l=Math.round(ue)+Z.l,ne.r=Math.round(ce)+Z.r,ne.t=Math.round(ye)+Z.t,ne.b=Math.round(de)+Z.b,ne.p=Math.round(te.pad),ne.w=Math.round(q)-ne.l-ne.r,ne.h=Math.round(H)-ne.t-ne.b,!G._replotting&&(k.didMarginChange(X,ne)||function(Ot){if("_redrawFromAutoMarginCount"in Ot._fullLayout)return!1;var Bt=s.list(Ot,"",!0);for(var qt in Bt)if(Bt[qt].autoshift||Bt[qt].shift)return!0;return!1}(U))){"_redrawFromAutoMarginCount"in G?G._redrawFromAutoMarginCount++:G._redrawFromAutoMarginCount=1;var Ft=3*(1+Object.keys(pe).length);if(G._redrawFromAutoMarginCount0&&(U._transitioningWithDuration=!0),U._transitionData._interruptCallbacks.push(function(){H=!0}),q.redraw&&U._transitionData._interruptCallbacks.push(function(){return v.call("redraw",U)}),U._transitionData._interruptCallbacks.push(function(){U.emit("plotly_transitioninterrupted",[])});var X=0,Q=0;function re(){return X++,function(){var ie;Q++,H||Q!==X||(ie=Z,U._transitionData&&(function(oe){if(oe)for(;oe.length;)oe.shift()}(U._transitionData._interruptCallbacks),Promise.resolve().then(function(){if(q.redraw)return v.call("redraw",U)}).then(function(){U._transitioning=!1,U._transitioningWithDuration=!1,U.emit("plotly_transitioned",[])}).then(ie)))}}q.runFn(re),setTimeout(re())})}],te=a.syncOrAsync(ne,U);return te&&te.then||(te=Promise.resolve()),te.then(function(){return U})}k.didMarginChange=function(U,G){for(var q=0;q1)return!0}return!1},k.graphJson=function(U,G,q,H,ne,te){(ne&&G&&!U._fullData||ne&&!G&&!U._fullLayout)&&k.supplyDefaults(U);var Z=ne?U._fullData:U.data,X=ne?U._fullLayout:U.layout,Q=(U._transitionData||{})._frames;function re(ue,ce){if(typeof ue=="function")return ce?"_function_":null;if(a.isPlainObject(ue)){var ye,de={};return Object.keys(ue).sort().forEach(function(me){if(["_","["].indexOf(me.charAt(0))===-1)if(typeof ue[me]!="function"){if(q==="keepdata"){if(me.substr(me.length-3)==="src")return}else if(q==="keepstream"){if(typeof(ye=ue[me+"src"])=="string"&&ye.indexOf(":")>0&&!a.isPlainObject(ue.stream))return}else if(q!=="keepall"&&typeof(ye=ue[me+"src"])=="string"&&ye.indexOf(":")>0)return;de[me]=re(ue[me],ce)}else ce&&(de[me]="_function")}),de}return Array.isArray(ue)?ue.map(function(me){return re(me,ce)}):a.isTypedArray(ue)?a.simpleMap(ue,a.identity):a.isJSDate(ue)?a.ms2DateTimeLocal(+ue):ue}var ie={data:(Z||[]).map(function(ue){var ce=re(ue);return G&&delete ce.fit,ce})};if(!G&&(ie.layout=re(X),ne)){var oe=X._size;ie.layout.computed={margin:{b:oe.b,l:oe.l,r:oe.r,t:oe.t}}}return Q&&(ie.frames=re(Q)),te&&(ie.config=re(U._context,!0)),H==="object"?ie:JSON.stringify(ie)},k.modifyFrames=function(U,G){var q,H,ne,te=U._transitionData._frames,Z=U._transitionData._frameHash;for(q=0;q=0;te--)if(Me[te].enabled){q._indexToPoints=Me[te]._indexToPoints;break}H&&H.calc&&(_e=H.calc(U,q))}Array.isArray(_e)&&_e[0]||(_e=[{x:o,y:o}]),_e[0].t||(_e[0].t={}),_e[0].trace=q,re[xe]=_e}}for(j(Z,X,Q),ne=0;ne1e-10?s:0}function o(s,h,c){h=h||0,c=c||0;for(var m=s.length,w=new Array(m),y=0;y0?y:1/0}),m=d.mod(c+1,h.length);return[h[c],h[m]]},findIntersectionXY:l,findXYatLength:function(s,h,c,m){var w=-h*c,y=h*h+1,C=2*(h*w-c),_=w*w+c*c-s*s,k=Math.sqrt(C*C-4*y*_),E=(-C+k)/(2*y),x=(-C-k)/(2*y);return[[E,h*E+w+m],[x,h*x+w+m]]},clampTiny:u,pathPolygon:function(s,h,c,m,w,y){return"M"+o(a(s,h,c,m),w,y).join("L")},pathPolygonAnnulus:function(s,h,c,m,w,y,C){var _,k;s=90||kt>90&&xt>=450?1:Ot<=0&&qt<=0?0:Math.max(Ot,qt),[kt<=180&&xt>=180||kt>180&&xt>=540?-1:Ft>=0&&Bt>=0?0:Math.min(Ft,Bt),kt<=270&&xt>=270||kt>270&&xt>=630?-1:Ot>=0&&qt>=0?0:Math.min(Ot,qt),xt>=360?1:Ft<=0&&Bt<=0?0:Math.max(Ft,Bt),ht]}(pe),ae=Ce[2]-Ce[0],fe=Ce[3]-Ce[1],be=me/de,ke=Math.abs(fe/ae);be>ke?(xe=de,Se=(me-(Pe=de*ke))/ie.h/2,_e=[ce[0],ce[1]],Me=[ye[0]+Se,ye[1]-Se]):(Pe=me,Se=(de-(xe=me/ke))/ie.w/2,_e=[ce[0]+Se,ce[1]-Se],Me=[ye[0],ye[1]]),Q.xLength2=xe,Q.yLength2=Pe,Q.xDomain2=_e,Q.yDomain2=Me;var Le,Be=Q.xOffset2=ie.l+ie.w*_e[0],ze=Q.yOffset2=ie.t+ie.h*(1-Me[1]),je=Q.radius=xe/ae,ge=Q.innerRadius=Q.getHole(X)*je,we=Q.cx=Be-je*Ce[0],Ee=Q.cy=ze+je*Ce[3],Ve=Q.cxx=we-Be,$e=Q.cyy=Ee-ze,Ye=oe.side;Ye==="counterclockwise"?(Le=Ye,Ye="top"):Ye==="clockwise"&&(Le=Ye,Ye="bottom"),Q.radialAxis=Q.mockAxis(Z,X,oe,{_id:"x",side:Ye,_trueSide:Le,domain:[ge/ie.w,je/ie.w]}),Q.angularAxis=Q.mockAxis(Z,X,ue,{side:"right",domain:[0,Math.PI],autorange:!1}),Q.doAutoRange(Z,X),Q.updateAngularAxis(Z,X),Q.updateRadialAxis(Z,X),Q.updateRadialAxisTitle(Z,X),Q.xaxis=Q.mockCartesianAxis(Z,X,{_id:"x",domain:_e}),Q.yaxis=Q.mockCartesianAxis(Z,X,{_id:"y",domain:Me});var st=Q.pathSubplot();Q.clipPaths.forTraces.select("path").attr("d",st).attr("transform",f(Ve,$e)),re.frontplot.attr("transform",f(Be,ze)).call(a.setClipUrl,Q._hasClipOnAxisFalse?null:Q.clipIds.forTraces,Q.gd),re.bg.attr("d",st).attr("transform",f(we,Ee)).call(l.fill,X.bgcolor)},q.mockAxis=function(Z,X,Q,re){var ie=M.extendFlat({},Q,re);return h(ie,X,Z),ie},q.mockCartesianAxis=function(Z,X,Q){var re=this,ie=re.isSmith,oe=Q._id,ue=M.extendFlat({type:"linear"},Q);s(ue,Z);var ce={x:[0,2],y:[1,3]};return ue.setRange=function(){var ye=re.sectorBBox,de=ce[oe],me=re.radialAxis._rl,pe=(me[1]-me[0])/(1-re.getHole(X));ue.range=[ye[de[0]]*pe,ye[de[1]]*pe]},ue.isPtWithinRange=oe!=="x"||ie?function(){return!0}:function(ye){return re.isPtInside(ye)},ue.setRange(),ue.setScale(),ue},q.doAutoRange=function(Z,X){var Q=this,re=Q.gd,ie=Q.radialAxis,oe=Q.getRadial(X);c(re,ie);var ue=ie.range;oe.range=ue.slice(),oe._input.range=ue.slice(),ie._rl=[ie.r2l(ue[0],null,"gregorian"),ie.r2l(ue[1],null,"gregorian")]},q.updateRadialAxis=function(Z,X){var Q=this,re=Q.gd,ie=Q.layers,oe=Q.radius,ue=Q.innerRadius,ce=Q.cx,ye=Q.cy,de=Q.getRadial(X),me=j(Q.getSector(X)[0],360),pe=Q.radialAxis,xe=ue90&&me<=270&&(pe.tickangle=180);var _e=Pe?function(ze){var je=N(Q,z([ze.x,0]));return f(je[0]-ce,je[1]-ye)}:function(ze){return f(pe.l2p(ze.x)+ue,0)},Me=Pe?function(ze){return B(Q,ze.x,-1/0,1/0)}:function(ze){return Q.pathArc(pe.r2p(ze.x)+ue)},Se=H(de);if(Q.radialTickLayout!==Se&&(ie["radial-axis"].selectAll(".xtick").remove(),Q.radialTickLayout=Se),xe){pe.setScale();var Ce=0,ae=Pe?(pe.tickvals||[]).filter(function(ze){return ze>=0}).map(function(ze){return o.tickText(pe,ze,!0,!1)}):o.calcTicks(pe),fe=Pe?ae:o.clipEnds(pe,ae),be=o.getTickSigns(pe)[2];Pe&&((pe.ticks==="top"&&pe.side==="bottom"||pe.ticks==="bottom"&&pe.side==="top")&&(be=-be),pe.ticks==="top"&&pe.side==="top"&&(Ce=-pe.ticklen),pe.ticks==="bottom"&&pe.side==="bottom"&&(Ce=pe.ticklen)),o.drawTicks(re,pe,{vals:ae,layer:ie["radial-axis"],path:o.makeTickPath(pe,0,be),transFn:_e,crisp:!1}),o.drawGrid(re,pe,{vals:fe,layer:ie["radial-grid"],path:Me,transFn:M.noop,crisp:!1}),o.drawLabels(re,pe,{vals:ae,layer:ie["radial-axis"],transFn:_e,labelFns:o.makeLabelFns(pe,Ce)})}var ke=Q.radialAxisAngle=Q.vangles?U(ne($(de.angle),Q.vangles)):de.angle,Le=f(ce,ye),Be=Le+v(-ke);te(ie["radial-axis"],xe&&(de.showticklabels||de.ticks),{transform:Be}),te(ie["radial-grid"],xe&&de.showgrid,{transform:Pe?"":Le}),te(ie["radial-line"].select("line"),xe&&de.showline,{x1:Pe?-oe:ue,y1:0,x2:oe,y2:0,transform:Be}).attr("stroke-width",de.linewidth).call(l.stroke,de.linecolor)},q.updateRadialAxisTitle=function(Z,X,Q){if(!this.isSmith){var re=this,ie=re.gd,oe=re.radius,ue=re.cx,ce=re.cy,ye=re.getRadial(X),de=re.id+"title",me=0;if(ye.title){var pe=a.bBox(re.layers["radial-axis"].node()).height,xe=ye.title.font.size,Pe=ye.side;me=Pe==="top"?xe:Pe==="counterclockwise"?-(pe+.4*xe):pe+.8*xe}var _e=Q!==void 0?Q:re.radialAxisAngle,Me=$(_e),Se=Math.cos(Me),Ce=Math.sin(Me),ae=ue+oe/2*Se+me*Ce,fe=ce-oe/2*Ce+me*Se;re.layers["radial-axis-title"]=C.draw(ie,de,{propContainer:ye,propName:re.id+".radialaxis.title",placeholder:W(ie,"Click to enter radial axis title"),attributes:{x:ae,y:fe,"text-anchor":"middle"},transform:{rotate:-_e}})}},q.updateAngularAxis=function(Z,X){var Q=this,re=Q.gd,ie=Q.layers,oe=Q.radius,ue=Q.innerRadius,ce=Q.cx,ye=Q.cy,de=Q.getAngular(X),me=Q.angularAxis,pe=Q.isSmith;pe||(Q.fillViewInitialKey("angularaxis.rotation",de.rotation),me.setGeometry(),me.setScale());var xe=pe?function(ze){var je=N(Q,z([0,ze.x]));return Math.atan2(je[0]-ce,je[1]-ye)-Math.PI/2}:function(ze){return me.t2g(ze.x)};me.type==="linear"&&me.thetaunit==="radians"&&(me.tick0=U(me.tick0),me.dtick=U(me.dtick));var Pe=function(ze){return f(ce+oe*Math.cos(ze),ye-oe*Math.sin(ze))},_e=pe?function(ze){var je=N(Q,z([0,ze.x]));return f(je[0],je[1])}:function(ze){return Pe(xe(ze))},Me=pe?function(ze){var je=N(Q,z([0,ze.x])),ge=Math.atan2(je[0]-ce,je[1]-ye)-Math.PI/2;return f(je[0],je[1])+v(-U(ge))}:function(ze){var je=xe(ze);return Pe(je)+v(-U(je))},Se=pe?function(ze){return F(Q,ze.x,0,1/0)}:function(ze){var je=xe(ze),ge=Math.cos(je),we=Math.sin(je);return"M"+[ce+ue*ge,ye-ue*we]+"L"+[ce+oe*ge,ye-oe*we]},Ce=o.makeLabelFns(me,0).labelStandoff,ae={xFn:function(ze){var je=xe(ze);return Math.cos(je)*Ce},yFn:function(ze){var je=xe(ze),ge=Math.sin(je)>0?.2:1;return-Math.sin(je)*(Ce+ze.fontSize*ge)+Math.abs(Math.cos(je))*(ze.fontSize*b)},anchorFn:function(ze){var je=xe(ze),ge=Math.cos(je);return Math.abs(ge)<.1?"middle":ge>0?"start":"end"},heightFn:function(ze,je,ge){var we=xe(ze);return-.5*(1+Math.sin(we))*ge}},fe=H(de);Q.angularTickLayout!==fe&&(ie["angular-axis"].selectAll("."+me._id+"tick").remove(),Q.angularTickLayout=fe);var be,ke=pe?[1/0].concat(me.tickvals||[]).map(function(ze){return o.tickText(me,ze,!0,!1)}):o.calcTicks(me);if(pe&&(ke[0].text="∞",ke[0].fontSize*=1.75),X.gridshape==="linear"?(be=ke.map(xe),M.angleDelta(be[0],be[1])<0&&(be=be.slice().reverse())):be=null,Q.vangles=be,me.type==="category"&&(ke=ke.filter(function(ze){return M.isAngleInsideSector(xe(ze),Q.sectorInRad)})),me.visible){var Le=me.ticks==="inside"?-1:1,Be=(me.linewidth||1)/2;o.drawTicks(re,me,{vals:ke,layer:ie["angular-axis"],path:"M"+Le*Be+",0h"+Le*me.ticklen,transFn:Me,crisp:!1}),o.drawGrid(re,me,{vals:ke,layer:ie["angular-grid"],path:Se,transFn:M.noop,crisp:!1}),o.drawLabels(re,me,{vals:ke,layer:ie["angular-axis"],repositionOnUpdate:!0,transFn:_e,labelFns:ae})}te(ie["angular-line"].select("path"),de.showline,{d:Q.pathSubplot(),transform:f(ce,ye)}).attr("stroke-width",de.linewidth).call(l.stroke,de.linecolor)},q.updateFx=function(Z,X){this.gd._context.staticPlot||(!this.isSmith&&(this.updateAngularDrag(Z),this.updateRadialDrag(Z,X,0),this.updateRadialDrag(Z,X,1)),this.updateHoverAndMainDrag(Z))},q.updateHoverAndMainDrag=function(Z){var X,Q,re=this,ie=re.isSmith,oe=re.gd,ue=re.layers,ce=Z._zoomlayer,ye=R.MINZOOM,de=R.OFFEDGE,me=re.radius,pe=re.innerRadius,xe=re.cx,Pe=re.cy,_e=re.cxx,Me=re.cyy,Se=re.sectorInRad,Ce=re.vangles,ae=re.radialAxis,fe=I.clampTiny,be=I.findXYatLength,ke=I.findEnclosingVertexAngles,Le=R.cornerHalfWidth,Be=R.cornerLen/2,ze=m.makeDragger(ue,"path","maindrag",Z.dragmode===!1?"none":"crosshair");d.select(ze).attr("d",re.pathSubplot()).attr("transform",f(xe,Pe)),ze.onmousemove=function(Re){y.hover(oe,Re,re.id),oe._fullLayout._lasthover=ze,oe._fullLayout._hoversubplot=re.id},ze.onmouseout=function(Re){oe._dragging||w.unhover(oe,Re)};var je,ge,we,Ee,Ve,$e,Ye,st,ot,ht={element:ze,gd:oe,subplot:re.id,plotinfo:{id:re.id,xaxis:re.xaxis,yaxis:re.yaxis},xaxes:[re.xaxis],yaxes:[re.yaxis]};function bt(Re,Ne){return Math.sqrt(Re*Re+Ne*Ne)}function Et(Re,Ne){return bt(Re-_e,Ne-Me)}function kt(Re,Ne){return Math.atan2(Me-Ne,Re-_e)}function xt(Re,Ne){return[Re*Math.cos(Ne),Re*Math.sin(-Ne)]}function Ft(Re,Ne){if(Re===0)return re.pathSector(2*Le);var Qe=Be/Re,ut=Ne-Qe,dt=Ne+Qe,_t=Math.max(0,Math.min(Re,me)),It=_t-Le,Lt=_t+Le;return"M"+xt(It,ut)+"A"+[It,It]+" 0,0,0 "+xt(It,dt)+"L"+xt(Lt,dt)+"A"+[Lt,Lt]+" 0,0,1 "+xt(Lt,ut)+"Z"}function Ot(Re,Ne,Qe){if(Re===0)return re.pathSector(2*Le);var ut,dt,_t=xt(Re,Ne),It=xt(Re,Qe),Lt=fe((_t[0]+It[0])/2),yt=fe((_t[1]+It[1])/2);if(Lt&&yt){var Pt=yt/Lt,wt=-1/Pt,Rt=be(Le,Pt,Lt,yt);ut=be(Be,wt,Rt[0][0],Rt[0][1]),dt=be(Be,wt,Rt[1][0],Rt[1][1])}else{var Nt,Yt;yt?(Nt=Be,Yt=Le):(Nt=Le,Yt=Be),ut=[[Lt-Nt,yt-Yt],[Lt+Nt,yt-Yt]],dt=[[Lt-Nt,yt+Yt],[Lt+Nt,yt+Yt]]}return"M"+ut.join("L")+"L"+dt.reverse().join("L")+"Z"}function Bt(Re,Ne){return Ne=Math.max(Math.min(Ne,me),pe),Reye?(Re-1&&Re===1&&k(Ne,oe,[re.xaxis],[re.yaxis],re.id,ht),Qe.indexOf("event")>-1&&y.click(oe,Ne,re.id)}ht.prepFn=function(Re,Ne,Qe){var ut=oe._fullLayout.dragmode,dt=ze.getBoundingClientRect();oe._fullLayout._calcInverseTransform(oe);var _t=oe._fullLayout._invTransform;X=oe._fullLayout._invScaleX,Q=oe._fullLayout._invScaleY;var It=M.apply3DTransform(_t)(Ne-dt.left,Qe-dt.top);if(je=It[0],ge=It[1],Ce){var Lt=I.findPolygonOffset(me,Se[0],Se[1],Ce);je+=_e+Lt[0],ge+=Me+Lt[1]}switch(ut){case"zoom":ht.clickFn=ft,ie||(ht.moveFn=Ce?Je:Vt,ht.doneFn=qe,function(){we=null,Ee=null,Ve=re.pathSubplot(),$e=!1;var yt=oe._fullLayout[re.id];Ye=g(yt.bgcolor).getLuminance(),(st=m.makeZoombox(ce,Ye,xe,Pe,Ve)).attr("fill-rule","evenodd"),ot=m.makeCorners(ce,xe,Pe),E(oe)}());break;case"select":case"lasso":_(Re,Ne,Qe,ht,ut)}},w.init(ht)},q.updateRadialDrag=function(Z,X,Q){var re=this,ie=re.gd,oe=re.layers,ue=re.radius,ce=re.innerRadius,ye=re.cx,de=re.cy,me=re.radialAxis,pe=R.radialDragBoxSize,xe=pe/2;if(me.visible){var Pe,_e,Me,Se=$(re.radialAxisAngle),Ce=me._rl,ae=Ce[0],fe=Ce[1],be=Ce[Q],ke=.75*(Ce[1]-Ce[0])/(1-re.getHole(X))/ue;Q?(Pe=ye+(ue+xe)*Math.cos(Se),_e=de-(ue+xe)*Math.sin(Se),Me="radialdrag"):(Pe=ye+(ce-xe)*Math.cos(Se),_e=de-(ce-xe)*Math.sin(Se),Me="radialdrag-inner");var Le,Be,ze,je=m.makeRectDragger(oe,Me,"crosshair",-xe,-xe,pe,pe),ge={element:je,gd:ie};Z.dragmode===!1&&(ge.dragmode=!1),te(d.select(je),me.visible&&ce0==(Q?ze>ae:zeh?function(C){return C<=0}:function(C){return C>=0};a.c2g=function(C){var _=a.c2l(C)-s;return(y(_)?_:0)+w},a.g2c=function(C){return a.l2c(C+s-w)},a.g2p=function(C){return C*m},a.c2p=function(C){return a.g2p(a.c2g(C))}}})(v,f);break;case"angularaxis":(function(a,u){var o=a.type;if(o==="linear"){var s=a.d2c,h=a.c2d;a.d2c=function(c,m){return function(w,y){return y==="degrees"?i(w):w}(s(c),m)},a.c2d=function(c,m){return h(function(w,y){return y==="degrees"?M(w):w}(c,m))}}a.makeCalcdata=function(c,m){var w,y,C=c[m],_=c._length,k=function(b){return a.d2c(b,c.thetaunit)};if(C){if(d.isTypedArray(C)&&o==="linear"){if(_===C.length)return C;if(C.subarray)return C.subarray(0,_)}for(w=new Array(_),y=0;y<_;y++)w[y]=k(C[y])}else{var E=m+"0",x="d"+m,A=E in c?k(c[E]):0,L=c[x]?k(c[x]):(a.period||2*Math.PI)/_;for(w=new Array(_),y=0;y<_;y++)w[y]=A+y*L}return w},a.setGeometry=function(){var c,m,w,y,C=u.sector,_=C.map(i),k={clockwise:-1,counterclockwise:1}[a.direction],E=i(a.rotation),x=function(R){return k*R+E},A=function(R){return(R-E)/k};switch(o){case"linear":m=c=d.identity,y=i,w=M,a.range=d.isFullCircle(_)?[C[0],C[0]+360]:_.map(A).map(M);break;case"category":var L=a._categories.length,b=a.period?Math.max(a.period,L):L;b===0&&(b=1),m=y=function(R){return 2*R*Math.PI/b},c=w=function(R){return R*b/Math.PI/2},a.range=[0,b]}a.c2g=function(R){return x(m(R))},a.g2c=function(R){return c(A(R))},a.t2g=function(R){return x(y(R))},a.g2t=function(R){return w(A(R))}}})(v,f)}}},39779:function(T){T.exports={attr:"subplot",name:"smith",axisNames:["realaxis","imaginaryaxis"],axisName2dataArray:{imaginaryaxis:"imag",realaxis:"real"}}},23893:function(T){function p(i){return i<0?-1:i>0?1:0}function t(i){var M=i[0],v=i[1];if(!isFinite(M)||!isFinite(v))return[1,0];var f=(M+1)*(M+1)+v*v;return[(M*M+v*v-1)/f,2*v/f]}function d(i,M){var v=M[0],f=M[1];return[v*i.radius+i.cx,-f*i.radius+i.cy]}function g(i,M){return M*i.radius}T.exports={smith:t,reactanceArc:function(i,M,v,f){var l=d(i,t([v,M])),a=l[0],u=l[1],o=d(i,t([f,M])),s=o[0],h=o[1];if(M===0)return["M"+a+","+u,"L"+s+","+h].join(" ");var c=g(i,1/Math.abs(M));return["M"+a+","+u,"A"+c+","+c+" 0 0,"+(M<0?1:0)+" "+s+","+h].join(" ")},resistanceArc:function(i,M,v,f){var l=g(i,1/(M+1)),a=d(i,t([M,v])),u=a[0],o=a[1],s=d(i,t([M,f])),h=s[0],c=s[1];if(p(v)!==p(f)){var m=d(i,t([M,0]));return["M"+u+","+o,"A"+l+","+l+" 0 0,"+(00){for(var f=[],l=0;l=A&&(b.min=0,R.min=0,I.min=0,m.aaxis&&delete m.aaxis.min,m.baxis&&delete m.baxis.min,m.caxis&&delete m.caxis.min)}function c(m,w,y,C){var _=o[w._name];function k(R,I){return i.coerce(m,w,_,R,I)}k("uirevision",C.uirevision),w.type="linear";var E=k("color"),x=E!==_.color.dflt?E:y.font.color,A=w._name.charAt(0).toUpperCase(),L="Component "+A,b=k("title.text",L);w._hovertitle=b===L?b:A,i.coerceFont(k,"title.font",{family:y.font.family,size:i.bigFont(y.font.size),color:x}),k("min"),a(m,w,k,"linear"),f(m,w,k,"linear"),v(m,w,k,"linear"),l(m,w,k,{outerTicks:!0}),k("showticklabels")&&(i.coerceFont(k,"tickfont",{family:y.font.family,size:y.font.size,color:x}),k("tickangle"),k("tickformat")),u(m,w,k,{dfltColor:E,bgColor:y.bgColor,blend:60,showLine:!0,showGrid:!0,noZeroLine:!0,attributes:_}),k("hoverformat"),k("layer")}T.exports=function(m,w,y){M(m,w,y,{type:"ternary",attributes:o,handleDefaults:h,font:w.font,paper_bgcolor:w.paper_bgcolor})}},64380:function(T,p,t){var d=t(39898),g=t(84267),i=t(73972),M=t(71828),v=M.strTranslate,f=M._,l=t(7901),a=t(91424),u=t(21994),o=t(1426).extendFlat,s=t(74875),h=t(89298),c=t(28569),m=t(30211),w=t(64505),y=w.freeMode,C=w.rectMode,_=t(92998),k=t(47322).prepSelect,E=t(47322).selectOnClick,x=t(47322).clearOutline,A=t(47322).clearSelectionsCache,L=t(85555);function b(j,$){this.id=j.id,this.graphDiv=j.graphDiv,this.init($),this.makeFramework($),this.aTickLayout=null,this.bTickLayout=null,this.cTickLayout=null}T.exports=b;var R=b.prototype;R.init=function(j){this.container=j._ternarylayer,this.defs=j._defs,this.layoutId=j._uid,this.traceHash={},this.layers={}},R.plot=function(j,$){var U=this,G=$[U.id],q=$._size;U._hasClipOnAxisFalse=!1;for(var H=0;HI*ce?q=(H=ce)*I:H=(q=ue)/I,ne=ie*q/ue,te=oe*H/ce,U=$.l+$.w*Q-q/2,G=$.t+$.h*(1-re)-H/2,Z.x0=U,Z.y0=G,Z.w=q,Z.h=H,Z.sum=ye,Z.xaxis={type:"linear",range:[de+2*pe-ye,ye-de-2*me],domain:[Q-ne/2,Q+ne/2],_id:"x"},u(Z.xaxis,Z.graphDiv._fullLayout),Z.xaxis.setScale(),Z.xaxis.isPtWithinRange=function(Le){return Le.a>=Z.aaxis.range[0]&&Le.a<=Z.aaxis.range[1]&&Le.b>=Z.baxis.range[1]&&Le.b<=Z.baxis.range[0]&&Le.c>=Z.caxis.range[1]&&Le.c<=Z.caxis.range[0]},Z.yaxis={type:"linear",range:[de,ye-me-pe],domain:[re-te/2,re+te/2],_id:"y"},u(Z.yaxis,Z.graphDiv._fullLayout),Z.yaxis.setScale(),Z.yaxis.isPtWithinRange=function(){return!0};var xe=Z.yaxis.domain[0],Pe=Z.aaxis=o({},j.aaxis,{range:[de,ye-me-pe],side:"left",tickangle:(+j.aaxis.tickangle||0)-30,domain:[xe,xe+te*I],anchor:"free",position:0,_id:"y",_length:q});u(Pe,Z.graphDiv._fullLayout),Pe.setScale();var _e=Z.baxis=o({},j.baxis,{range:[ye-de-pe,me],side:"bottom",domain:Z.xaxis.domain,anchor:"free",position:0,_id:"x",_length:q});u(_e,Z.graphDiv._fullLayout),_e.setScale();var Me=Z.caxis=o({},j.caxis,{range:[ye-de-me,pe],side:"right",tickangle:(+j.caxis.tickangle||0)+30,domain:[xe,xe+te*I],anchor:"free",position:0,_id:"y",_length:q});u(Me,Z.graphDiv._fullLayout),Me.setScale();var Se="M"+U+","+(G+H)+"h"+q+"l-"+q/2+",-"+H+"Z";Z.clipDef.select("path").attr("d",Se),Z.layers.plotbg.select("path").attr("d",Se);var Ce="M0,"+H+"h"+q+"l-"+q/2+",-"+H+"Z";Z.clipDefRelative.select("path").attr("d",Ce);var ae=v(U,G);Z.plotContainer.selectAll(".scatterlayer,.maplayer").attr("transform",ae),Z.clipDefRelative.select("path").attr("transform",null);var fe=v(U-_e._offset,G+H);Z.layers.baxis.attr("transform",fe),Z.layers.bgrid.attr("transform",fe);var be=v(U+q/2,G)+"rotate(30)"+v(0,-Pe._offset);Z.layers.aaxis.attr("transform",be),Z.layers.agrid.attr("transform",be);var ke=v(U+q/2,G)+"rotate(-30)"+v(0,-Me._offset);Z.layers.caxis.attr("transform",ke),Z.layers.cgrid.attr("transform",ke),Z.drawAxes(!0),Z.layers.aline.select("path").attr("d",Pe.showline?"M"+U+","+(G+H)+"l"+q/2+",-"+H:"M0,0").call(l.stroke,Pe.linecolor||"#000").style("stroke-width",(Pe.linewidth||0)+"px"),Z.layers.bline.select("path").attr("d",_e.showline?"M"+U+","+(G+H)+"h"+q:"M0,0").call(l.stroke,_e.linecolor||"#000").style("stroke-width",(_e.linewidth||0)+"px"),Z.layers.cline.select("path").attr("d",Me.showline?"M"+(U+q/2)+","+G+"l"+q/2+","+H:"M0,0").call(l.stroke,Me.linecolor||"#000").style("stroke-width",(Me.linewidth||0)+"px"),Z.graphDiv._context.staticPlot||Z.initInteractions(),a.setClipUrl(Z.layers.frontplot,Z._hasClipOnAxisFalse?null:Z.clipId,Z.graphDiv)},R.drawAxes=function(j){var $=this,U=$.graphDiv,G=$.id.substr(7)+"title",q=$.layers,H=$.aaxis,ne=$.baxis,te=$.caxis;if($.drawAx(H),$.drawAx(ne),$.drawAx(te),j){var Z=Math.max(H.showticklabels?H.tickfont.size/2:0,(te.showticklabels?.75*te.tickfont.size:0)+(te.ticks==="outside"?.87*te.ticklen:0)),X=(ne.showticklabels?ne.tickfont.size:0)+(ne.ticks==="outside"?ne.ticklen:0)+3;q["a-title"]=_.draw(U,"a"+G,{propContainer:H,propName:$.id+".aaxis.title",placeholder:f(U,"Click to enter Component A title"),attributes:{x:$.x0+$.w/2,y:$.y0-H.title.font.size/3-Z,"text-anchor":"middle"}}),q["b-title"]=_.draw(U,"b"+G,{propContainer:ne,propName:$.id+".baxis.title",placeholder:f(U,"Click to enter Component B title"),attributes:{x:$.x0-X,y:$.y0+$.h+.83*ne.title.font.size+X,"text-anchor":"middle"}}),q["c-title"]=_.draw(U,"c"+G,{propContainer:te,propName:$.id+".caxis.title",placeholder:f(U,"Click to enter Component C title"),attributes:{x:$.x0+$.w+X,y:$.y0+$.h+.83*te.title.font.size+X,"text-anchor":"middle"}})}},R.drawAx=function(j){var $,U=this,G=U.graphDiv,q=j._name,H=q.charAt(0),ne=j._id,te=U.layers[q],Z=H+"tickLayout",X=($=j).ticks+String($.ticklen)+String($.showticklabels);U[Z]!==X&&(te.selectAll("."+ne+"tick").remove(),U[Z]=X),j.setScale();var Q=h.calcTicks(j),re=h.clipEnds(j,Q),ie=h.makeTransTickFn(j),oe=h.getTickSigns(j)[2],ue=M.deg2rad(30),ce=oe*(j.linewidth||1)/2,ye=oe*j.ticklen,de=U.w,me=U.h,pe=H==="b"?"M0,"+ce+"l"+Math.sin(ue)*ye+","+Math.cos(ue)*ye:"M"+ce+",0l"+Math.cos(ue)*ye+","+-Math.sin(ue)*ye,xe={a:"M0,0l"+me+",-"+de/2,b:"M0,0l-"+de/2+",-"+me,c:"M0,0l-"+me+","+de/2}[H];h.drawTicks(G,j,{vals:j.ticks==="inside"?re:Q,layer:te,path:pe,transFn:ie,crisp:!1}),h.drawGrid(G,j,{vals:re,layer:U.layers[H+"grid"],path:xe,transFn:ie,crisp:!1}),h.drawLabels(G,j,{vals:Q,layer:te,transFn:ie,labelFns:h.makeLabelFns(j,0,30)})};var O=L.MINZOOM/2+.87,z="m-0.87,.5h"+O+"v3h-"+(O+5.2)+"l"+(O/2+2.6)+",-"+(.87*O+4.5)+"l2.6,1.5l-"+O/2+","+.87*O+"Z",F="m0.87,.5h-"+O+"v3h"+(O+5.2)+"l-"+(O/2+2.6)+",-"+(.87*O+4.5)+"l-2.6,1.5l"+O/2+","+.87*O+"Z",B="m0,1l"+O/2+","+.87*O+"l2.6,-1.5l-"+(O/2+2.6)+",-"+(.87*O+4.5)+"l-"+(O/2+2.6)+","+(.87*O+4.5)+"l2.6,1.5l"+O/2+",-"+.87*O+"Z",N=!0;function W(j){d.select(j).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}R.clearOutline=function(){A(this.dragOptions),x(this.dragOptions.gd)},R.initInteractions=function(){var j,$,U,G,q,H,ne,te,Z,X,Q,re,ie=this,oe=ie.layers.plotbg.select("path").node(),ue=ie.graphDiv,ce=ue._fullLayout._zoomlayer;function ye(Ce){var ae={};return ae[ie.id+".aaxis.min"]=Ce.a,ae[ie.id+".baxis.min"]=Ce.b,ae[ie.id+".caxis.min"]=Ce.c,ae}function de(Ce,ae){var fe=ue._fullLayout.clickmode;W(ue),Ce===2&&(ue.emit("plotly_doubleclick",null),i.call("_guiRelayout",ue,ye({a:0,b:0,c:0}))),fe.indexOf("select")>-1&&Ce===1&&E(ae,ue,[ie.xaxis],[ie.yaxis],ie.id,ie.dragOptions),fe.indexOf("event")>-1&&m.click(ue,ae,ie.id)}function me(Ce,ae){return 1-ae/ie.h}function pe(Ce,ae){return 1-(Ce+(ie.h-ae)/Math.sqrt(3))/ie.w}function xe(Ce,ae){return(Ce-(ie.h-ae)/Math.sqrt(3))/ie.w}function Pe(Ce,ae){var fe=U+Ce*j,be=G+ae*$,ke=Math.max(0,Math.min(1,me(0,G),me(0,be))),Le=Math.max(0,Math.min(1,pe(U,G),pe(fe,be))),Be=Math.max(0,Math.min(1,xe(U,G),xe(fe,be))),ze=(ke/2+Be)*ie.w,je=(1-ke/2-Le)*ie.w,ge=(ze+je)/2,we=je-ze,Ee=(1-ke)*ie.h,Ve=Ee-we/I;we.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),re.transition().style("opacity",1).duration(200),X=!0),ue.emit("plotly_relayouting",ye(ne))}function _e(){W(ue),ne!==q&&(i.call("_guiRelayout",ue,ye(ne)),N&&ue.data&&ue._context.showTips&&(M.notifier(f(ue,"Double-click to zoom back out"),"long"),N=!1))}function Me(Ce,ae){var fe=Ce/ie.xaxis._m,be=ae/ie.yaxis._m,ke=[(ne={a:q.a-be,b:q.b+(fe+be)/2,c:q.c-(fe-be)/2}).a,ne.b,ne.c].sort(M.sorterAsc),Le=ke.indexOf(ne.a),Be=ke.indexOf(ne.b),ze=ke.indexOf(ne.c);ke[0]<0&&(ke[1]+ke[0]/2<0?(ke[2]+=ke[0]+ke[1],ke[0]=ke[1]=0):(ke[2]+=ke[0]/2,ke[1]+=ke[0]/2,ke[0]=0),ne={a:ke[Le],b:ke[Be],c:ke[ze]},ae=(q.a-ne.a)*ie.yaxis._m,Ce=(q.c-ne.c-q.b+ne.b)*ie.xaxis._m);var je=v(ie.x0+Ce,ie.y0+ae);ie.plotContainer.selectAll(".scatterlayer,.maplayer").attr("transform",je);var ge=v(-Ce,-ae);ie.clipDefRelative.select("path").attr("transform",ge),ie.aaxis.range=[ne.a,ie.sum-ne.b-ne.c],ie.baxis.range=[ie.sum-ne.a-ne.c,ne.b],ie.caxis.range=[ie.sum-ne.a-ne.b,ne.c],ie.drawAxes(!1),ie._hasClipOnAxisFalse&&ie.plotContainer.select(".scatterlayer").selectAll(".trace").call(a.hideOutsideRangePoints,ie),ue.emit("plotly_relayouting",ye(ne))}function Se(){i.call("_guiRelayout",ue,ye(ne))}this.dragOptions={element:oe,gd:ue,plotinfo:{id:ie.id,domain:ue._fullLayout[ie.id].domain,xaxis:ie.xaxis,yaxis:ie.yaxis},subplot:ie.id,prepFn:function(Ce,ae,fe){ie.dragOptions.xaxes=[ie.xaxis],ie.dragOptions.yaxes=[ie.yaxis],j=ue._fullLayout._invScaleX,$=ue._fullLayout._invScaleY;var be=ie.dragOptions.dragmode=ue._fullLayout.dragmode;y(be)?ie.dragOptions.minDrag=1:ie.dragOptions.minDrag=void 0,be==="zoom"?(ie.dragOptions.moveFn=Pe,ie.dragOptions.clickFn=de,ie.dragOptions.doneFn=_e,function(ke,Le,Be){var ze=oe.getBoundingClientRect();U=Le-ze.left,G=Be-ze.top,ue._fullLayout._calcInverseTransform(ue);var je=ue._fullLayout._invTransform,ge=M.apply3DTransform(je)(U,G);U=ge[0],G=ge[1],q={a:ie.aaxis.range[0],b:ie.baxis.range[1],c:ie.caxis.range[1]},ne=q,H=ie.aaxis.range[1]-q.a,te=g(ie.graphDiv._fullLayout[ie.id].bgcolor).getLuminance(),Z="M0,"+ie.h+"L"+ie.w/2+", 0L"+ie.w+","+ie.h+"Z",X=!1,Q=ce.append("path").attr("class","zoombox").attr("transform",v(ie.x0,ie.y0)).style({fill:te>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("d",Z),re=ce.append("path").attr("class","zoombox-corners").attr("transform",v(ie.x0,ie.y0)).style({fill:l.background,stroke:l.defaultLine,"stroke-width":1,opacity:0}).attr("d","M0,0Z"),ie.clearOutline(ue)}(0,ae,fe)):be==="pan"?(ie.dragOptions.moveFn=Me,ie.dragOptions.clickFn=de,ie.dragOptions.doneFn=Se,q={a:ie.aaxis.range[0],b:ie.baxis.range[1],c:ie.caxis.range[1]},ne=q,ie.clearOutline(ue)):(C(be)||y(be))&&k(Ce,ae,fe,ie.dragOptions,be)}},oe.onmousemove=function(Ce){m.hover(ue,Ce,ie.id),ue._fullLayout._lasthover=oe,ue._fullLayout._hoversubplot=ie.id},oe.onmouseout=function(Ce){ue._dragging||c.unhover(ue,Ce)},c.init(this.dragOptions)}},73972:function(T,p,t){var d=t(47769),g=t(64213),i=t(75138),M=t(41965),v=t(24401).addStyleRule,f=t(1426),l=t(9012),a=t(10820),u=f.extendFlat,o=f.extendDeepAll;function s(E){var x=E.name,A=E.categories,L=E.meta;if(p.modules[x])d.log("Type "+x+" already registered");else{p.subplotsRegistry[E.basePlotModule.name]||function(N){var W=N.name;if(p.subplotsRegistry[W])d.log("Plot type "+W+" already registered.");else for(var j in w(N),p.subplotsRegistry[W]=N,p.componentsRegistry)_(j,N.name)}(E.basePlotModule);for(var b={},R=0;R-1&&(c[w[a]].title={text:""});for(a=0;a")!==-1?"":R.html(O).text()});return R.remove(),I}(L)).replace(/&(?!\w+;|\#[0-9]+;| \#x[0-9A-F]+;)/g,"&")).replace(a,"'"),g.isIE()&&(L=(L=(L=L.replace(/"/gi,"'")).replace(/(\('#)([^']*)('\))/gi,'("#$2")')).replace(/(\\')/gi,'"')),L}},75341:function(T,p,t){var d=t(71828);T.exports=function(g,i){for(var M=0;MI+b||!d(R))}for(var z=0;za))return v}return f!==void 0?f:M.dflt},p.coerceColor=function(M,v,f){return g(v).isValid()?v:f!==void 0?f:M.dflt},p.coerceEnumerated=function(M,v,f){return M.coerceNumber&&(v=+v),M.values.indexOf(v)!==-1?v:f!==void 0?f:M.dflt},p.getValue=function(M,v){var f;return Array.isArray(M)?v0?ye+=de:y<0&&(ye-=de)}return ye}function te(ce){var ye=y,de=ce.b,me=ne(ce);return d.inbox(de-ye,me-ye,O+(me-ye)/(me-de)-1)}var Z=o[C+"a"],X=o[_+"a"];x=Math.abs(Z.r2c(Z.range[1])-Z.r2c(Z.range[0]));var Q=d.getDistanceFunction(c,k,E,function(ce){return(k(ce)+E(ce))/2});if(d.getClosest(A,Q,o),o.index!==!1&&A[o.index].p!==l){B||(U=function(ce){return Math.min(N(ce),ce.p-b.bargroupwidth/2)},G=function(ce){return Math.max(W(ce),ce.p+b.bargroupwidth/2)});var re=A[o.index],ie=L.base?re.b+re.s:re.s;o[_+"0"]=o[_+"1"]=X.c2p(re[_],!0),o[_+"LabelVal"]=ie;var oe=b.extents[b.extents.round(re.p)];o[C+"0"]=Z.c2p(R?U(re):oe[0],!0),o[C+"1"]=Z.c2p(R?G(re):oe[1],!0);var ue=re.orig_p!==void 0;return o[C+"LabelVal"]=ue?re.orig_p:re.p,o.labelLabel=f(Z,o[C+"LabelVal"],L[C+"hoverformat"]),o.valueLabel=f(X,o[_+"LabelVal"],L[_+"hoverformat"]),o.baseLabel=f(X,re.b,L[_+"hoverformat"]),o.spikeDistance=(function(ce){var ye=y,de=ce.b,me=ne(ce);return d.inbox(de-ye,me-ye,z+(me-ye)/(me-de)-1)}(re)+function(ce){return q(N(ce),W(ce),z)}(re))/2,o[C+"Spike"]=Z.c2p(re.p,!0),M(re,L,o),o.hovertemplate=L.hovertemplate,o}}function u(o,s){var h=s.mcc||o.marker.color,c=s.mlcc||o.marker.line.color,m=v(o,s);return i.opacity(h)?h:i.opacity(c)&&m?c:void 0}T.exports={hoverPoints:function(o,s,h,c,m){var w=a(o,s,h,c,m);if(w){var y=w.cd,C=y[0].trace,_=y[w.index];return w.color=u(C,_),g.getComponentMethod("errorbars","hoverInfo")(_,C,w),[w]}},hoverOnBars:a,getTraceColor:u}},60822:function(T,p,t){T.exports={attributes:t(1486),layoutAttributes:t(43641),supplyDefaults:t(90769).supplyDefaults,crossTraceDefaults:t(90769).crossTraceDefaults,supplyLayoutDefaults:t(13957),calc:t(92290),crossTraceCalc:t(11661).crossTraceCalc,colorbar:t(4898),arraysToCalcdata:t(75341),plot:t(17295).plot,style:t(16688).style,styleOnSelect:t(16688).styleOnSelect,hoverPoints:t(95423).hoverPoints,eventData:t(58065),selectPoints:t(81974),moduleType:"trace",name:"bar",basePlotModule:t(93612),categories:["bar-like","cartesian","svg","bar","oriented","errorBarsOK","showLegend","zoomScale"],animatable:!0,meta:{}}},43641:function(T){T.exports={barmode:{valType:"enumerated",values:["stack","group","overlay","relative"],dflt:"group",editType:"calc"},barnorm:{valType:"enumerated",values:["","fraction","percent"],dflt:"",editType:"calc"},bargap:{valType:"number",min:0,max:1,editType:"calc"},bargroupgap:{valType:"number",min:0,max:1,dflt:0,editType:"calc"}}},13957:function(T,p,t){var d=t(73972),g=t(89298),i=t(71828),M=t(43641);T.exports=function(v,f,l){function a(C,_){return i.coerce(v,f,M,C,_)}for(var u=!1,o=!1,s=!1,h={},c=a("barmode"),m=0;m0}function R(z){return z==="auto"?0:z}function I(z,F){var B=Math.PI/180*F,N=Math.abs(Math.sin(B)),W=Math.abs(Math.cos(B));return{x:z.width*W+z.height*N,y:z.width*N+z.height*W}}function O(z,F,B,N,W,j){var $=!!j.isHorizontal,U=!!j.constrained,G=j.angle||0,q=j.anchor||"end",H=q==="end",ne=q==="start",te=((j.leftToRight||0)+1)/2,Z=1-te,X=W.width,Q=W.height,re=Math.abs(F-z),ie=Math.abs(N-B),oe=re>2*k&&ie>2*k?k:0;re-=2*oe,ie-=2*oe;var ue=R(G);G!=="auto"||X<=re&&Q<=ie||!(X>re||Q>ie)||(X>ie||Q>re)&&X.01?Be:function(we,Ee,Ve){return Ve&&we===Ee?we:Math.abs(we-Ee)>=2?Be(we):we>Ee?Math.ceil(we):Math.floor(we)};Ce=ze(Ce,ae,oe),ae=ze(ae,Ce,oe),fe=ze(fe,be,!oe),be=ze(be,fe,!oe)}var je=L(i.ensureSingle(Me,"path"),G,W,j);if(je.style("vector-effect",q?"none":"non-scaling-stroke").attr("d",isNaN((ae-Ce)*(be-fe))||ke&&z._context.staticPlot?"M0,0Z":"M"+Ce+","+fe+"V"+be+"H"+ae+"V"+fe+"Z").call(f.setClipUrl,F.layerClipId,z),!G.uniformtext.mode&&ue){var ge=f.makePointStyleFns(Z);f.singlePointStyle(pe,je,Z,ge,z)}(function(we,Ee,Ve,$e,Ye,st,ot,ht,bt,Et,kt){var xt,Ft=Ee.xaxis,Ot=Ee.yaxis,Bt=we._fullLayout;function qt(Qt,rn,xn){return i.ensureSingle(Qt,"text").text(rn).attr({class:"bartext bartext-"+xt,"text-anchor":"middle","data-notex":1}).call(f.font,xn).call(M.convertToTspans,we)}var Vt=$e[0].trace,Ke=Vt.orientation==="h",Je=function(Qt,rn,xn,un,An){var Yn,kn=rn[0].trace;return Yn=kn.texttemplate?function(sn,Tn,dn,pn,Dn){var In=Tn[0].trace,jn=i.castOption(In,dn,"texttemplate");if(!jn)return"";var Gn,qn,lr,rr,Sr=In.type==="histogram",yr=In.type==="waterfall",or=In.type==="funnel",vr=In.orientation==="h";function _r($n){return a(rr,rr.c2l($n),!0).text}vr?(Gn="y",qn=Dn,lr="x",rr=pn):(Gn="x",qn=pn,lr="y",rr=Dn);var Kt,bn=Tn[dn],Rn={};Rn.label=bn.p,Rn.labelLabel=Rn[Gn+"Label"]=(Kt=bn.p,a(qn,qn.c2l(Kt),!0).text);var Ln=i.castOption(In,bn.i,"text");(Ln===0||Ln)&&(Rn.text=Ln),Rn.value=bn.s,Rn.valueLabel=Rn[lr+"Label"]=_r(bn.s);var Un={};_(Un,In,bn.i),(Sr||Un.x===void 0)&&(Un.x=vr?Rn.value:Rn.label),(Sr||Un.y===void 0)&&(Un.y=vr?Rn.label:Rn.value),(Sr||Un.xLabel===void 0)&&(Un.xLabel=vr?Rn.valueLabel:Rn.labelLabel),(Sr||Un.yLabel===void 0)&&(Un.yLabel=vr?Rn.labelLabel:Rn.valueLabel),yr&&(Rn.delta=+bn.rawS||bn.s,Rn.deltaLabel=_r(Rn.delta),Rn.final=bn.v,Rn.finalLabel=_r(Rn.final),Rn.initial=Rn.final-Rn.delta,Rn.initialLabel=_r(Rn.initial)),or&&(Rn.value=bn.s,Rn.valueLabel=_r(Rn.value),Rn.percentInitial=bn.begR,Rn.percentInitialLabel=i.formatPercent(bn.begR),Rn.percentPrevious=bn.difR,Rn.percentPreviousLabel=i.formatPercent(bn.difR),Rn.percentTotal=bn.sumR,Rn.percenTotalLabel=i.formatPercent(bn.sumR));var Kn=i.castOption(In,bn.i,"customdata");return Kn&&(Rn.customdata=Kn),i.texttemplateString(jn,Rn,sn._d3locale,Un,Rn,In._meta||{})}(Qt,rn,xn,un,An):kn.textinfo?function(sn,Tn,dn,pn){var Dn=sn[0].trace,In=Dn.orientation==="h",jn=Dn.type==="waterfall",Gn=Dn.type==="funnel";function qn(Kn){return a(In?dn:pn,+Kn,!0).text}var lr,rr,Sr=Dn.textinfo,yr=sn[Tn],or=Sr.split("+"),vr=[],_r=function(Kn){return or.indexOf(Kn)!==-1};if(_r("label")&&vr.push((rr=sn[Tn].p,a(In?pn:dn,rr,!0).text)),_r("text")&&((lr=i.castOption(Dn,yr.i,"text"))===0||lr)&&vr.push(lr),jn){var Kt=+yr.rawS||yr.s,bn=yr.v,Rn=bn-Kt;_r("initial")&&vr.push(qn(Rn)),_r("delta")&&vr.push(qn(Kt)),_r("final")&&vr.push(qn(bn))}if(Gn){_r("value")&&vr.push(qn(yr.s));var Ln=0;_r("percent initial")&&Ln++,_r("percent previous")&&Ln++,_r("percent total")&&Ln++;var Un=Ln>1;_r("percent initial")&&(lr=i.formatPercent(yr.begR),Un&&(lr+=" of initial"),vr.push(lr)),_r("percent previous")&&(lr=i.formatPercent(yr.difR),Un&&(lr+=" of previous"),vr.push(lr)),_r("percent total")&&(lr=i.formatPercent(yr.sumR),Un&&(lr+=" of total"),vr.push(lr))}return vr.join("
")}(rn,xn,un,An):c.getValue(kn.text,xn),c.coerceString(y,Yn)}(Bt,$e,Ye,Ft,Ot);xt=function(Qt,rn){var xn=c.getValue(Qt.textposition,rn);return c.coerceEnumerated(C,xn)}(Vt,Ye);var qe=Et.mode==="stack"||Et.mode==="relative",nt=$e[Ye],ft=!qe||nt._outmost;if(Je&&xt!=="none"&&(!nt.isBlank&&st!==ot&&ht!==bt||xt!=="auto"&&xt!=="inside")){var Re=Bt.font,Ne=h.getBarColor($e[Ye],Vt),Qe=h.getInsideTextFont(Vt,Ye,Re,Ne),ut=h.getOutsideTextFont(Vt,Ye,Re),dt=Ve.datum();Ke?Ft.type==="log"&&dt.s0<=0&&(st=Ft.range[0]0&&yt>0&&(Lt<=wt&&yt<=Rt||Lt<=Rt&&yt<=wt||(Ke?wt>=Lt*(Rt/yt):Rt>=yt*(wt/Lt)))?xt="inside":(xt="outside",_t.remove(),_t=null)):xt="inside"),!_t){var Nt=(_t=qt(Ve,Je,Pt=i.ensureUniformFontSize(we,xt==="outside"?ut:Qe))).attr("transform");if(_t.attr("transform",""),Lt=(It=f.bBox(_t.node())).width,yt=It.height,_t.attr("transform",Nt),Lt<=0||yt<=0)return void _t.remove()}var Yt,Wt=Vt.textangle;Yt=xt==="outside"?function(Qt,rn,xn,un,An,Yn){var kn,sn=!!Yn.isHorizontal,Tn=!!Yn.constrained,dn=Yn.angle||0,pn=An.width,Dn=An.height,In=Math.abs(rn-Qt),jn=Math.abs(un-xn);kn=sn?jn>2*k?k:0:In>2*k?k:0;var Gn=1;Tn&&(Gn=sn?Math.min(1,jn/Dn):Math.min(1,In/pn));var qn=R(dn),lr=I(An,qn),rr=(sn?lr.x:lr.y)/2,Sr=(An.left+An.right)/2,yr=(An.top+An.bottom)/2,or=(Qt+rn)/2,vr=(xn+un)/2,_r=0,Kt=0,bn=sn?A(rn,Qt):A(xn,un);return sn?(or=rn-bn*kn,_r=bn*rr):(vr=un+bn*kn,Kt=-bn*rr),{textX:Sr,textY:yr,targetX:or,targetY:vr,anchorX:_r,anchorY:Kt,scale:Gn,rotate:qn}}(st,ot,ht,bt,It,{isHorizontal:Ke,constrained:Vt.constraintext==="both"||Vt.constraintext==="outside",angle:Wt}):O(st,ot,ht,bt,It,{isHorizontal:Ke,constrained:Vt.constraintext==="both"||Vt.constraintext==="inside",angle:Wt,anchor:Vt.insidetextanchor}),Yt.fontSize=Pt.size,o(Vt.type==="histogram"?"bar":Vt.type,Yt,Bt),nt.transform=Yt;var Xt=L(_t,Bt,Et,kt);i.setTransormAndDisplay(Xt,Yt)}else Ve.select("text").remove()})(z,F,Me,ne,xe,Ce,ae,fe,be,W,j),F.layerClipId&&f.hideOutsideRangePoint(pe,Me.select("text"),$,U,Z.xcalendar,Z.ycalendar)});var me=Z.cliponaxis===!1;f.setClipUrl(te,me?null:F.layerClipId,z)});l.getComponentMethod("errorbars","plot")(z,H,F,W)},toMoveInsideBar:O}},81974:function(T){function p(t,d,g,i,M){var v=d.c2p(i?t.s0:t.p0,!0),f=d.c2p(i?t.s1:t.p1,!0),l=g.c2p(i?t.p0:t.s0,!0),a=g.c2p(i?t.p1:t.s1,!0);return M?[(v+f)/2,(l+a)/2]:i?[f,(l+a)/2]:[(v+f)/2,a]}T.exports=function(t,d){var g,i=t.cd,M=t.xaxis,v=t.yaxis,f=i[0].trace,l=f.type==="funnel",a=f.orientation==="h",u=[];if(d===!1)for(g=0;g1||L.bargap===0&&L.bargroupgap===0&&!b[0].trace.marker.line.width)&&d.select(this).attr("shape-rendering","crispEdges")}),x.selectAll("g.points").each(function(b){h(d.select(this),b[0].trace,E)}),v.getComponentMethod("errorbars","style")(x)},styleTextPoints:c,styleOnSelect:function(E,x,A){var L=x[0].trace;L.selectedpoints?function(b,R,I){i.selectedPointStyle(b.selectAll("path"),R),function(O,z,F){O.each(function(B){var N,W=d.select(this);if(B.selected){N=M.ensureUniformFontSize(F,m(W,B,z,F));var j=z.selected.textfont&&z.selected.textfont.color;j&&(N.color=j),i.font(W,N)}else i.selectedTextStyle(W,z)})}(b.selectAll("text"),R,I)}(A,L,E):(h(A,L,E),v.getComponentMethod("errorbars","style")(A))},getInsideTextFont:y,getOutsideTextFont:C,getBarColor:k,resizeText:f}},98340:function(T,p,t){var d=t(7901),g=t(52075).hasColorscale,i=t(1586),M=t(71828).coercePattern;T.exports=function(v,f,l,a,u){var o=l("marker.color",a),s=g(v,"marker");s&&i(v,f,u,l,{prefix:"marker.",cLetter:"c"}),l("marker.line.color",d.defaultLine),g(v,"marker.line")&&i(v,f,u,l,{prefix:"marker.line.",cLetter:"c"}),l("marker.line.width"),l("marker.opacity"),M(l,"marker.pattern",o,s),l("selected.marker.color"),l("unselected.marker.color")}},72597:function(T,p,t){var d=t(39898),g=t(71828);function i(M){return"_"+M+"Text_minsize"}T.exports={recordMinTextSize:function(M,v,f){if(f.uniformtext.mode){var l=i(M),a=f.uniformtext.minsize,u=v.scale*v.fontSize;v.hide=uc.range[1]&&(E+=Math.PI),d.getClosest(o,function(L){return y(k,E,[L.rp0,L.rp1],[L.thetag0,L.thetag1],w)?C+Math.min(1,Math.abs(L.thetag1-L.thetag0)/_)-1+(L.rp1-k)/(L.rp1-L.rp0)-1:1/0},l),l.index!==!1){var x=o[l.index];l.x0=l.x1=x.ct[0],l.y0=l.y1=x.ct[1];var A=g.extendFlat({},x,{r:x.s,theta:x.p});return M(x,s,l),v(A,s,h,l),l.hovertemplate=s.hovertemplate,l.color=i(s,x),l.xLabelVal=l.yLabelVal=void 0,x.s<0&&(l.idealAlign="left"),[l]}}},23381:function(T,p,t){T.exports={moduleType:"trace",name:"barpolar",basePlotModule:t(23580),categories:["polar","bar","showLegend"],attributes:t(55023),layoutAttributes:t(40151),supplyDefaults:t(6135),supplyLayoutDefaults:t(19860),calc:t(74692).calc,crossTraceCalc:t(74692).crossTraceCalc,plot:t(60173),colorbar:t(4898),formatLabels:t(98608),style:t(16688).style,styleOnSelect:t(16688).styleOnSelect,hoverPoints:t(27379),selectPoints:t(81974),meta:{}}},40151:function(T){T.exports={barmode:{valType:"enumerated",values:["stack","overlay"],dflt:"stack",editType:"calc"},bargap:{valType:"number",dflt:.1,min:0,max:1,editType:"calc"}}},19860:function(T,p,t){var d=t(71828),g=t(40151);T.exports=function(i,M,v){var f,l={};function a(s,h){return d.coerce(i[f]||{},M[f],g,s,h)}for(var u=0;u0?(L=x,b=A):(L=A,b=x);var R=[v.findEnclosingVertexAngles(L,y.vangles)[0],(L+b)/2,v.findEnclosingVertexAngles(b,y.vangles)[1]];return v.pathPolygonAnnulus(k,E,L,b,R,C,_)}:function(k,E,x,A){return i.pathAnnulus(k,E,x,A,C,_)}}(l),w=l.layers.frontplot.select("g.barlayer");i.makeTraceGroups(w,a,"trace bars").each(function(){var y=d.select(this),C=i.ensureSingle(y,"g","points").selectAll("g.point").data(i.identity);C.enter().append("g").style("vector-effect",u?"none":"non-scaling-stroke").style("stroke-miterlimit",2).classed("point",!0),C.exit().remove(),C.each(function(_){var k,E=d.select(this),x=_.rp0=h.c2p(_.s0),A=_.rp1=h.c2p(_.s1),L=_.thetag0=c.c2g(_.p0),b=_.thetag1=c.c2g(_.p1);if(g(x)&&g(A)&&g(L)&&g(b)&&x!==A&&L!==b){var R=h.c2g(_.s1),I=(L+b)/2;_.ct=[o.c2p(R*Math.cos(I)),s.c2p(R*Math.sin(I))],k=m(x,A,L,b)}else k="M0,0Z";i.ensureSingle(E,"path").attr("d",k)}),M.setClipUrl(y,l._hasClipOnAxisFalse?l.clipIds.forTraces:null,f)})}},53522:function(T,p,t){var d=t(82196),g=t(1486),i=t(22399),M=t(12663).axisHoverFormat,v=t(5386).fF,f=t(1426).extendFlat,l=d.marker,a=l.line;T.exports={y:{valType:"data_array",editType:"calc+clearAxisTypes"},x:{valType:"data_array",editType:"calc+clearAxisTypes"},x0:{valType:"any",editType:"calc+clearAxisTypes"},y0:{valType:"any",editType:"calc+clearAxisTypes"},dx:{valType:"number",editType:"calc"},dy:{valType:"number",editType:"calc"},xperiod:d.xperiod,yperiod:d.yperiod,xperiod0:d.xperiod0,yperiod0:d.yperiod0,xperiodalignment:d.xperiodalignment,yperiodalignment:d.yperiodalignment,xhoverformat:M("x"),yhoverformat:M("y"),name:{valType:"string",editType:"calc+clearAxisTypes"},q1:{valType:"data_array",editType:"calc+clearAxisTypes"},median:{valType:"data_array",editType:"calc+clearAxisTypes"},q3:{valType:"data_array",editType:"calc+clearAxisTypes"},lowerfence:{valType:"data_array",editType:"calc"},upperfence:{valType:"data_array",editType:"calc"},notched:{valType:"boolean",editType:"calc"},notchwidth:{valType:"number",min:0,max:.5,dflt:.25,editType:"calc"},notchspan:{valType:"data_array",editType:"calc"},boxpoints:{valType:"enumerated",values:["all","outliers","suspectedoutliers",!1],editType:"calc"},jitter:{valType:"number",min:0,max:1,editType:"calc"},pointpos:{valType:"number",min:-2,max:2,editType:"calc"},boxmean:{valType:"enumerated",values:[!0,"sd",!1],editType:"calc"},mean:{valType:"data_array",editType:"calc"},sd:{valType:"data_array",editType:"calc"},orientation:{valType:"enumerated",values:["v","h"],editType:"calc+clearAxisTypes"},quartilemethod:{valType:"enumerated",values:["linear","exclusive","inclusive"],dflt:"linear",editType:"calc"},width:{valType:"number",min:0,dflt:0,editType:"calc"},marker:{outliercolor:{valType:"color",dflt:"rgba(0, 0, 0, 0)",editType:"style"},symbol:f({},l.symbol,{arrayOk:!1,editType:"plot"}),opacity:f({},l.opacity,{arrayOk:!1,dflt:1,editType:"style"}),angle:f({},l.angle,{arrayOk:!1,editType:"calc"}),size:f({},l.size,{arrayOk:!1,editType:"calc"}),color:f({},l.color,{arrayOk:!1,editType:"style"}),line:{color:f({},a.color,{arrayOk:!1,dflt:i.defaultLine,editType:"style"}),width:f({},a.width,{arrayOk:!1,dflt:0,editType:"style"}),outliercolor:{valType:"color",editType:"style"},outlierwidth:{valType:"number",min:0,dflt:1,editType:"style"},editType:"style"},editType:"plot"},line:{color:{valType:"color",editType:"style"},width:{valType:"number",min:0,dflt:2,editType:"style"},editType:"plot"},fillcolor:d.fillcolor,whiskerwidth:{valType:"number",min:0,max:1,dflt:.5,editType:"calc"},offsetgroup:g.offsetgroup,alignmentgroup:g.alignmentgroup,selected:{marker:d.selected.marker,editType:"style"},unselected:{marker:d.unselected.marker,editType:"style"},text:f({},d.text,{}),hovertext:f({},d.hovertext,{}),hovertemplate:v({}),hoveron:{valType:"flaglist",flags:["boxes","points"],dflt:"boxes+points",editType:"style"}}},48518:function(T,p,t){var d=t(92770),g=t(89298),i=t(42973),M=t(71828),v=t(50606).BADNUM,f=M._;T.exports=function(y,C){var _,k,E,x,A,L,b,R=y._fullLayout,I=g.getFromId(y,C.xaxis||"x"),O=g.getFromId(y,C.yaxis||"y"),z=[],F=C.type==="violin"?"_numViolins":"_numBoxes";C.orientation==="h"?(E=I,x="x",A=O,L="y",b=!!C.yperiodalignment):(E=O,x="y",A=I,L="x",b=!!C.xperiodalignment);var B,N,W,j,$,U,G=function(Ee,Ve,$e,Ye){var st,ot=Ve+"0"in Ee;if(Ve in Ee||ot&&"d"+Ve in Ee){var ht=$e.makeCalcdata(Ee,Ve);return[i(Ee,$e,Ve,ht).vals,ht]}st=ot?Ee[Ve+"0"]:"name"in Ee&&($e.type==="category"||d(Ee.name)&&["linear","log"].indexOf($e.type)!==-1||M.isDateTime(Ee.name)&&$e.type==="date")?Ee.name:Ye;for(var bt=$e.type==="multicategory"?$e.r2c_just_indices(st):$e.d2c(st,0,Ee[Ve+"calendar"]),Et=Ee._length,kt=new Array(Et),xt=0;xtB.uf};if(C._hasPreCompStats){var Q=C[x],re=function(Ee){return E.d2c((C[Ee]||[])[_])},ie=1/0,oe=-1/0;for(_=0;_=B.q1&&B.q3>=B.med){var ce=re("lowerfence");B.lf=ce!==v&&ce<=B.q1?ce:s(B,W,j);var ye=re("upperfence");B.uf=ye!==v&&ye>=B.q3?ye:h(B,W,j);var de=re("mean");B.mean=de!==v?de:j?M.mean(W,j):(B.q1+B.q3)/2;var me=re("sd");B.sd=de!==v&&me>=0?me:j?M.stdev(W,j,B.mean):B.q3-B.q1,B.lo=c(B),B.uo=m(B);var pe=re("notchspan");pe=pe!==v&&pe>0?pe:w(B,j),B.ln=B.med-pe,B.un=B.med+pe;var xe=B.lf,Pe=B.uf;C.boxpoints&&W.length&&(xe=Math.min(xe,W[0]),Pe=Math.max(Pe,W[j-1])),C.notched&&(xe=Math.min(xe,B.ln),Pe=Math.max(Pe,B.un)),B.min=xe,B.max=Pe}else{var _e;M.warn(["Invalid input - make sure that q1 <= median <= q3","q1 = "+B.q1,"median = "+B.med,"q3 = "+B.q3].join(` +`)),_e=B.med!==v?B.med:B.q1!==v?B.q3!==v?(B.q1+B.q3)/2:B.q1:B.q3!==v?B.q3:0,B.med=_e,B.q1=B.q3=_e,B.lf=B.uf=_e,B.mean=B.sd=_e,B.ln=B.un=_e,B.min=B.max=_e}ie=Math.min(ie,B.min),oe=Math.max(oe,B.max),B.pts2=N.filter(X),z.push(B)}}C._extremes[E._id]=g.findExtremes(E,[ie,oe],{padded:!0})}else{var Me=E.makeCalcdata(C,x),Se=function(Ee,Ve){for(var $e=Ee.length,Ye=new Array($e+1),st=0;st<$e;st++)Ye[st]=Ee[st]-Ve;return Ye[$e]=Ee[$e-1]+Ve,Ye}(te,Z),Ce=te.length,ae=function(Ee){for(var Ve=new Array(Ee),$e=0;$e=0&&fe0){var je,ge;(B={}).pos=B[L]=te[_],N=B.pts=ae[_].sort(u),j=(W=B[x]=N.map(o)).length,B.min=W[0],B.max=W[j-1],B.mean=M.mean(W,j),B.sd=M.stdev(W,j,B.mean),B.med=M.interp(W,.5),j%2&&(Be||ze)?(Be?(je=W.slice(0,j/2),ge=W.slice(j/2+1)):ze&&(je=W.slice(0,j/2+1),ge=W.slice(j/2)),B.q1=M.interp(je,.5),B.q3=M.interp(ge,.5)):(B.q1=M.interp(W,.25),B.q3=M.interp(W,.75)),B.lf=s(B,W,j),B.uf=h(B,W,j),B.lo=c(B),B.uo=m(B);var we=w(B,j);B.ln=B.med-we,B.un=B.med+we,be=Math.min(be,B.ln),ke=Math.max(ke,B.un),B.pts2=N.filter(X),z.push(B)}C._extremes[E._id]=g.findExtremes(E,C.notched?Me.concat([be,ke]):Me,{padded:!0})}return function(Ee,Ve){if(M.isArrayOrTypedArray(Ve.selectedpoints))for(var $e=0;$e0?(z[0].t={num:R[F],dPos:Z,posLetter:L,valLetter:x,labels:{med:f(y,"median:"),min:f(y,"min:"),q1:f(y,"q1:"),q3:f(y,"q3:"),max:f(y,"max:"),mean:C.boxmean==="sd"?f(y,"mean ± σ:"):f(y,"mean:"),lf:f(y,"lower fence:"),uf:f(y,"upper fence:")}},R[F]++,z):[{t:{empty:!0}}]};var l={text:"tx",hovertext:"htx"};function a(y,C,_){for(var k in l)M.isArrayOrTypedArray(C[k])&&(Array.isArray(_)?M.isArrayOrTypedArray(C[k][_[0]])&&(y[l[k]]=C[k][_[0]][_[1]]):y[l[k]]=C[k][_])}function u(y,C){return y.v-C.v}function o(y){return y.v}function s(y,C,_){return _===0?y.q1:Math.min(y.q1,C[Math.min(M.findBin(2.5*y.q1-1.5*y.q3,C,!0)+1,_-1)])}function h(y,C,_){return _===0?y.q3:Math.max(y.q3,C[Math.max(M.findBin(2.5*y.q3-1.5*y.q1,C),0)])}function c(y){return 4*y.q1-3*y.q3}function m(y){return 4*y.q3-3*y.q1}function w(y,C){return C===0?0:1.57*(y.q3-y.q1)/Math.sqrt(C)}},37188:function(T,p,t){var d=t(89298),g=t(71828),i=t(99082).getAxisGroup,M=["v","h"];function v(f,l,a,u){var o,s,h,c=l.calcdata,m=l._fullLayout,w=u._id,y=w.charAt(0),C=[],_=0;for(o=0;o1,L=1-m[f+"gap"],b=1-m[f+"groupgap"];for(o=0;o0){var ue=N.pointpos,ce=N.jitter,ye=N.marker.size/2,de=0;ue+ce>=0&&((de=ie*(ue+ce))>F?(oe=!0,Q=ye,Z=de):de>ne&&(Q=ye,Z=F)),de<=F&&(Z=F);var me=0;ue-ce<=0&&((me=-ie*(ue-ce))>B?(oe=!0,re=ye,X=me):me>te&&(re=ye,X=B)),me<=B&&(X=B)}else Z=F,X=B;var pe=new Array(h.length);for(s=0;s0?(A="v",L=R>0?Math.min(O,I):Math.min(I)):R>0?(A="h",L=Math.min(O)):L=0;if(L){s._length=L;var j=h("orientation",A);s._hasPreCompStats?j==="v"&&R===0?(h("x0",0),h("dx",1)):j==="h"&&b===0&&(h("y0",0),h("dy",1)):j==="v"&&R===0?h("x0"):j==="h"&&b===0&&h("y0"),g.getComponentMethod("calendars","handleTraceDefaults")(o,s,["x","y"],c)}else s.visible=!1}function u(o,s,h,c){var m=c.prefix,w=d.coerce2(o,s,l,"marker.outliercolor"),y=h("marker.line.outliercolor"),C="outliers";s._hasPreCompStats?C="all":(w||y)&&(C="suspectedoutliers");var _=h(m+"points",C);_?(h("jitter",_==="all"?.3:0),h("pointpos",_==="all"?-1.5:0),h("marker.symbol"),h("marker.opacity"),h("marker.size"),h("marker.angle"),h("marker.color",s.line.color),h("marker.line.color"),h("marker.line.width"),_==="suspectedoutliers"&&(h("marker.line.outliercolor",s.marker.color),h("marker.line.outlierwidth")),h("selected.marker.color"),h("unselected.marker.color"),h("selected.marker.size"),h("unselected.marker.size"),h("text"),h("hovertext")):delete s.marker;var k=h("hoveron");k!=="all"&&k.indexOf("points")===-1||h("hovertemplate"),d.coerceSelectionMarkerOpacity(s,h)}T.exports={supplyDefaults:function(o,s,h,c){function m(x,A){return d.coerce(o,s,l,x,A)}if(a(o,s,m,c),s.visible!==!1){M(o,s,c,m),m("xhoverformat"),m("yhoverformat");var w=s._hasPreCompStats;w&&(m("lowerfence"),m("upperfence")),m("line.color",(o.marker||{}).color||h),m("line.width"),m("fillcolor",i.addOpacity(s.line.color,.5));var y=!1;if(w){var C=m("mean"),_=m("sd");C&&C.length&&(y=!0,_&&_.length&&(y="sd"))}m("boxmean",y),m("whiskerwidth"),m("width"),m("quartilemethod");var k=!1;if(w){var E=m("notchspan");E&&E.length&&(k=!0)}else d.validate(o.notchwidth,l.notchwidth)&&(k=!0);m("notched",k)&&m("notchwidth"),u(o,s,m,{prefix:"box"})}},crossTraceDefaults:function(o,s){var h,c;function m(C){return d.coerce(c._input,c,l,C)}for(var w=0;w_.lo&&(W.so=!0)}return x});C.enter().append("path").classed("point",!0),C.exit().remove(),C.call(i.translatePoints,s,h)}function f(l,a,u,o){var s,h,c=a.val,m=a.pos,w=!!m.rangebreaks,y=o.bPos,C=o.bPosPxOffset||0,_=u.boxmean||(u.meanline||{}).visible;Array.isArray(o.bdPos)?(s=o.bdPos[0],h=o.bdPos[1]):(s=o.bdPos,h=o.bdPos);var k=l.selectAll("path.mean").data(u.type==="box"&&u.boxmean||u.type==="violin"&&u.box.visible&&u.meanline.visible?g.identity:[]);k.enter().append("path").attr("class","mean").style({fill:"none","vector-effect":"non-scaling-stroke"}),k.exit().remove(),k.each(function(E){var x=m.c2l(E.pos+y,!0),A=m.l2p(x-s)+C,L=m.l2p(x+h)+C,b=w?(A+L)/2:m.l2p(x)+C,R=c.c2p(E.mean,!0),I=c.c2p(E.mean-E.sd,!0),O=c.c2p(E.mean+E.sd,!0);u.orientation==="h"?d.select(this).attr("d","M"+R+","+A+"V"+L+(_==="sd"?"m0,0L"+I+","+b+"L"+R+","+A+"L"+O+","+b+"Z":"")):d.select(this).attr("d","M"+A+","+R+"H"+L+(_==="sd"?"m0,0L"+b+","+I+"L"+A+","+R+"L"+b+","+O+"Z":""))})}T.exports={plot:function(l,a,u,o){var s=l._context.staticPlot,h=a.xaxis,c=a.yaxis;g.makeTraceGroups(o,u,"trace boxes").each(function(m){var w,y,C=d.select(this),_=m[0],k=_.t,E=_.trace;k.wdPos=k.bdPos*E.whiskerwidth,E.visible!==!0||k.empty?C.remove():(E.orientation==="h"?(w=c,y=h):(w=h,y=c),M(C,{pos:w,val:y},E,k,s),v(C,{x:h,y:c},E,k),f(C,{pos:w,val:y},E,k))})},plotBoxAndWhiskers:M,plotPoints:v,plotBoxMean:f}},24626:function(T){T.exports=function(p,t){var d,g,i=p.cd,M=p.xaxis,v=p.yaxis,f=[];if(t===!1)for(d=0;d=10)return null;for(var v=1/0,f=-1/0,l=i.length,a=0;a0?Math.floor:Math.ceil,j=B>0?Math.ceil:Math.floor,$=B>0?Math.min:Math.max,U=B>0?Math.max:Math.min,G=W(z+N),q=j(F-N),H=[[h=O(z)]];for(f=G;f*B=0;i--)M[u-i]=p[o][i],v[u-i]=t[o][i];for(f.push({x:M,y:v,bicubic:l}),i=o,M=[],v=[];i>=0;i--)M[o-i]=p[i][0],v[o-i]=t[i][0];return f.push({x:M,y:v,bicubic:a}),f}},20347:function(T,p,t){var d=t(89298),g=t(1426).extendFlat;T.exports=function(i,M,v){var f,l,a,u,o,s,h,c,m,w,y,C,_,k,E=i["_"+M],x=i[M+"axis"],A=x._gridlines=[],L=x._minorgridlines=[],b=x._boundarylines=[],R=i["_"+v],I=i[v+"axis"];x.tickmode==="array"&&(x.tickvals=E.slice());var O=i._xctrl,z=i._yctrl,F=O[0].length,B=O.length,N=i._a.length,W=i._b.length;d.prepTicks(x),x.tickmode==="array"&&delete x.tickvals;var j=x.smoothing?3:1;function $(G){var q,H,ne,te,Z,X,Q,re,ie,oe,ue,ce,ye=[],de=[],me={};if(M==="b")for(H=i.b2j(G),ne=Math.floor(Math.max(0,Math.min(W-2,H))),te=H-ne,me.length=W,me.crossLength=N,me.xy=function(pe){return i.evalxy([],pe,H)},me.dxy=function(pe,xe){return i.dxydi([],pe,ne,xe,te)},q=0;q0&&(ie=i.dxydi([],q-1,ne,0,te),ye.push(Z[0]+ie[0]/3),de.push(Z[1]+ie[1]/3),oe=i.dxydi([],q-1,ne,1,te),ye.push(re[0]-oe[0]/3),de.push(re[1]-oe[1]/3)),ye.push(re[0]),de.push(re[1]),Z=re;else for(q=i.a2i(G),X=Math.floor(Math.max(0,Math.min(N-2,q))),Q=q-X,me.length=N,me.crossLength=W,me.xy=function(pe){return i.evalxy([],q,pe)},me.dxy=function(pe,xe){return i.dxydj([],X,pe,Q,xe)},H=0;H0&&(ue=i.dxydj([],X,H-1,Q,0),ye.push(Z[0]+ue[0]/3),de.push(Z[1]+ue[1]/3),ce=i.dxydj([],X,H-1,Q,1),ye.push(re[0]-ce[0]/3),de.push(re[1]-ce[1]/3)),ye.push(re[0]),de.push(re[1]),Z=re;return me.axisLetter=M,me.axis=x,me.crossAxis=I,me.value=G,me.constvar=v,me.index=c,me.x=ye,me.y=de,me.smoothing=I.smoothing,me}function U(G){var q,H,ne,te,Z,X=[],Q=[],re={};if(re.length=E.length,re.crossLength=R.length,M==="b")for(ne=Math.max(0,Math.min(W-2,G)),Z=Math.min(1,Math.max(0,G-ne)),re.xy=function(ie){return i.evalxy([],ie,G)},re.dxy=function(ie,oe){return i.dxydi([],ie,ne,oe,Z)},q=0;qE.length-1||A.push(g(U(l),{color:x.gridcolor,width:x.gridwidth,dash:x.griddash}));for(c=s;cE.length-1||y<0||y>E.length-1))for(C=E[a],_=E[y],f=0;fE[E.length-1]||L.push(g($(w),{color:x.minorgridcolor,width:x.minorgridwidth,dash:x.minorgriddash}));x.startline&&b.push(g(U(0),{color:x.startlinecolor,width:x.startlinewidth})),x.endline&&b.push(g(U(E.length-1),{color:x.endlinecolor,width:x.endlinewidth}))}else{for(u=5e-15,s=(o=[Math.floor((E[E.length-1]-x.tick0)/x.dtick*(1+u)),Math.ceil((E[0]-x.tick0)/x.dtick/(1+u))].sort(function(G,q){return G-q}))[0],h=o[1],c=s;c<=h;c++)m=x.tick0+x.dtick*c,A.push(g($(m),{color:x.gridcolor,width:x.gridwidth,dash:x.griddash}));for(c=s-1;cE[E.length-1]||L.push(g($(w),{color:x.minorgridcolor,width:x.minorgridwidth,dash:x.minorgriddash}));x.startline&&b.push(g($(E[0]),{color:x.startlinecolor,width:x.startlinewidth})),x.endline&&b.push(g($(E[E.length-1]),{color:x.endlinecolor,width:x.endlinewidth}))}}},83311:function(T,p,t){var d=t(89298),g=t(1426).extendFlat;T.exports=function(i,M){var v,f,l,a=M._labels=[],u=M._gridlines;for(v=0;vi.length&&(g=g.slice(0,i.length)):g=[],v=0;v90&&(h-=180,l=-l),{angle:h,flip:l,p:p.c2p(g,t,d),offsetMultplier:a}}},89740:function(T,p,t){var d=t(39898),g=t(91424),i=t(27669),M=t(67961),v=t(11651),f=t(63893),l=t(71828),a=l.strRotate,u=l.strTranslate,o=t(18783);function s(y,C,_,k,E,x,A){var L="const-"+E+"-lines",b=_.selectAll("."+L).data(x);b.enter().append("path").classed(L,!0).style("vector-effect",A?"none":"non-scaling-stroke"),b.each(function(R){var I=R,O=I.x,z=I.y,F=i([],O,y.c2p),B=i([],z,C.c2p),N="M"+M(F,B,I.smoothing);d.select(this).attr("d",N).style("stroke-width",I.width).style("stroke",I.color).style("stroke-dasharray",g.dashStyle(I.dash,I.width)).style("fill","none")}),b.exit().remove()}function h(y,C,_,k,E,x,A,L){var b=x.selectAll("text."+L).data(A);b.enter().append("text").classed(L,!0);var R=0,I={};return b.each(function(O,z){var F;if(O.axis.tickangle==="auto")F=v(k,C,_,O.xy,O.dxy);else{var B=(O.axis.tickangle+180)*Math.PI/180;F=v(k,C,_,O.xy,[Math.cos(B),Math.sin(B)])}z||(I={angle:F.angle,flip:F.flip});var N=(O.endAnchor?-1:1)*F.flip,W=d.select(this).attr({"text-anchor":N>0?"start":"end","data-notex":1}).call(g.font,O.font).text(O.text).call(f.convertToTspans,y),j=g.bBox(this);W.attr("transform",u(F.p[0],F.p[1])+a(F.angle)+u(O.axis.labelpadding*N,.3*j.height)),R=Math.max(R,j.width+O.axis.labelpadding)}),b.exit().remove(),I.maxExtent=R,I}T.exports=function(y,C,_,k){var E=y._context.staticPlot,x=C.xaxis,A=C.yaxis,L=y._fullLayout._clips;l.makeTraceGroups(k,_,"trace").each(function(b){var R=d.select(this),I=b[0],O=I.trace,z=O.aaxis,F=O.baxis,B=l.ensureSingle(R,"g","minorlayer"),N=l.ensureSingle(R,"g","majorlayer"),W=l.ensureSingle(R,"g","boundarylayer"),j=l.ensureSingle(R,"g","labellayer");R.style("opacity",O.opacity),s(x,A,N,0,"a",z._gridlines,!0),s(x,A,N,0,"b",F._gridlines,!0),s(x,A,B,0,"a",z._minorgridlines,!0),s(x,A,B,0,"b",F._minorgridlines,!0),s(x,A,W,0,"a-boundary",z._boundarylines,E),s(x,A,W,0,"b-boundary",F._boundarylines,E);var $=h(y,x,A,O,0,j,z._labels,"a-label"),U=h(y,x,A,O,0,j,F._labels,"b-label");(function(G,q,H,ne,te,Z,X,Q){var re,ie,oe,ue,ce=l.aggNums(Math.min,null,H.a),ye=l.aggNums(Math.max,null,H.a),de=l.aggNums(Math.min,null,H.b),me=l.aggNums(Math.max,null,H.b);re=.5*(ce+ye),ie=de,oe=H.ab2xy(re,ie,!0),ue=H.dxyda_rough(re,ie),X.angle===void 0&&l.extendFlat(X,v(H,te,Z,oe,H.dxydb_rough(re,ie))),w(G,q,H,0,oe,ue,H.aaxis,te,Z,X,"a-title"),re=ce,ie=.5*(de+me),oe=H.ab2xy(re,ie,!0),ue=H.dxydb_rough(re,ie),Q.angle===void 0&&l.extendFlat(Q,v(H,te,Z,oe,H.dxyda_rough(re,ie))),w(G,q,H,0,oe,ue,H.baxis,te,Z,Q,"b-title")})(y,j,O,0,x,A,$,U),function(G,q,H,ne,te){var Z,X,Q,re,ie=H.select("#"+G._clipPathId);ie.size()||(ie=H.append("clipPath").classed("carpetclip",!0));var oe=l.ensureSingle(ie,"path","carpetboundary"),ue=q.clipsegments,ce=[];for(re=0;re90&&W<270,$=d.select(this);$.text(A.title.text).call(f.convertToTspans,y),j&&(F=(-f.lineCount($)+m)*c*N-F),$.attr("transform",u(B.p[0],B.p[1])+a(B.angle)+u(0,F)).attr("text-anchor","middle").call(g.font,A.title.font)}),z.exit().remove()}},11435:function(T,p,t){var d=t(35509),g=t(65888).findBin,i=t(45664),M=t(20349),v=t(54495),f=t(73057);T.exports=function(l){var a=l._a,u=l._b,o=a.length,s=u.length,h=l.aaxis,c=l.baxis,m=a[0],w=a[o-1],y=u[0],C=u[s-1],_=a[a.length-1]-a[0],k=u[u.length-1]-u[0],E=_*d.RELATIVE_CULL_TOLERANCE,x=k*d.RELATIVE_CULL_TOLERANCE;m-=E,w+=E,y-=x,C+=x,l.isVisible=function(A,L){return A>m&&Ay&&Lw||LC},l.setScale=function(){var A=l._x,L=l._y,b=i(l._xctrl,l._yctrl,A,L,h.smoothing,c.smoothing);l._xctrl=b[0],l._yctrl=b[1],l.evalxy=M([l._xctrl,l._yctrl],o,s,h.smoothing,c.smoothing),l.dxydi=v([l._xctrl,l._yctrl],h.smoothing,c.smoothing),l.dxydj=f([l._xctrl,l._yctrl],h.smoothing,c.smoothing)},l.i2a=function(A){var L=Math.max(0,Math.floor(A[0]),o-2),b=A[0]-L;return(1-b)*a[L]+b*a[L+1]},l.j2b=function(A){var L=Math.max(0,Math.floor(A[1]),o-2),b=A[1]-L;return(1-b)*u[L]+b*u[L+1]},l.ij2ab=function(A){return[l.i2a(A[0]),l.j2b(A[1])]},l.a2i=function(A){var L=Math.max(0,Math.min(g(A,a),o-2)),b=a[L],R=a[L+1];return Math.max(0,Math.min(o-1,L+(A-b)/(R-b)))},l.b2j=function(A){var L=Math.max(0,Math.min(g(A,u),s-2)),b=u[L],R=u[L+1];return Math.max(0,Math.min(s-1,L+(A-b)/(R-b)))},l.ab2ij=function(A){return[l.a2i(A[0]),l.b2j(A[1])]},l.i2c=function(A,L){return l.evalxy([],A,L)},l.ab2xy=function(A,L,b){if(!b&&(Aa[o-1]|Lu[s-1]))return[!1,!1];var R=l.a2i(A),I=l.b2j(L),O=l.evalxy([],R,I);if(b){var z,F,B,N,W=0,j=0,$=[];Aa[o-1]?(z=o-2,F=1,W=(A-a[o-1])/(a[o-1]-a[o-2])):F=R-(z=Math.max(0,Math.min(o-2,Math.floor(R)))),Lu[s-1]?(B=s-2,N=1,j=(L-u[s-1])/(u[s-1]-u[s-2])):N=I-(B=Math.max(0,Math.min(s-2,Math.floor(I)))),W&&(l.dxydi($,z,B,F,N),O[0]+=$[0]*W,O[1]+=$[1]*W),j&&(l.dxydj($,z,B,F,N),O[0]+=$[0]*j,O[1]+=$[1]*j)}return O},l.c2p=function(A,L,b){return[L.c2p(A[0]),b.c2p(A[1])]},l.p2x=function(A,L,b){return[L.p2c(A[0]),b.p2c(A[1])]},l.dadi=function(A){var L=Math.max(0,Math.min(a.length-2,A));return a[L+1]-a[L]},l.dbdj=function(A){var L=Math.max(0,Math.min(u.length-2,A));return u[L+1]-u[L]},l.dxyda=function(A,L,b,R){var I=l.dxydi(null,A,L,b,R),O=l.dadi(A,b);return[I[0]/O,I[1]/O]},l.dxydb=function(A,L,b,R){var I=l.dxydj(null,A,L,b,R),O=l.dbdj(L,R);return[I[0]/O,I[1]/O]},l.dxyda_rough=function(A,L,b){var R=_*(b||.1),I=l.ab2xy(A+R,L,!0),O=l.ab2xy(A-R,L,!0);return[.5*(I[0]-O[0])/R,.5*(I[1]-O[1])/R]},l.dxydb_rough=function(A,L,b){var R=k*(b||.1),I=l.ab2xy(A,L+R,!0),O=l.ab2xy(A,L-R,!0);return[.5*(I[0]-O[0])/R,.5*(I[1]-O[1])/R]},l.dpdx=function(A){return A._m},l.dpdy=function(A){return A._m}}},72505:function(T,p,t){var d=t(71828);T.exports=function(g,i,M){var v,f,l,a=[],u=[],o=g[0].length,s=g.length;function h(G,q){var H,ne=0,te=0;return G>0&&(H=g[q][G-1])!==void 0&&(te++,ne+=H),G0&&(H=g[q-1][G])!==void 0&&(te++,ne+=H),q0&&f0&&v1e-5);return d.log("Smoother converged to",R,"after",I,"iterations"),g}},19237:function(T,p,t){var d=t(71828).isArray1D;T.exports=function(g,i,M){var v=M("x"),f=v&&v.length,l=M("y"),a=l&&l.length;if(!f&&!a)return!1;if(i._cheater=!v,f&&!d(v)||a&&!d(l))i._length=null;else{var u=f?v.length:1/0;a&&(u=Math.min(u,l.length)),i.a&&i.a.length&&(u=Math.min(u,i.a.length)),i.b&&i.b.length&&(u=Math.min(u,i.b.length)),i._length=u}return!0}},69568:function(T,p,t){var d=t(5386).fF,g=t(19316),i=t(50693),M=t(9012),v=t(22399).defaultLine,f=t(1426).extendFlat,l=g.marker.line;T.exports=f({locations:{valType:"data_array",editType:"calc"},locationmode:g.locationmode,z:{valType:"data_array",editType:"calc"},geojson:f({},g.geojson,{}),featureidkey:g.featureidkey,text:f({},g.text,{}),hovertext:f({},g.hovertext,{}),marker:{line:{color:f({},l.color,{dflt:v}),width:f({},l.width,{dflt:1}),editType:"calc"},opacity:{valType:"number",arrayOk:!0,min:0,max:1,dflt:1,editType:"style"},editType:"calc"},selected:{marker:{opacity:g.selected.marker.opacity,editType:"plot"},editType:"plot"},unselected:{marker:{opacity:g.unselected.marker.opacity,editType:"plot"},editType:"plot"},hoverinfo:f({},M.hoverinfo,{editType:"calc",flags:["location","z","text","name"]}),hovertemplate:d(),showlegend:f({},M.showlegend,{dflt:!1})},i("",{cLetter:"z",editTypeOverride:"calc"}))},38675:function(T,p,t){var d=t(92770),g=t(50606).BADNUM,i=t(78803),M=t(75225),v=t(66279);function f(l){return l&&typeof l=="string"}T.exports=function(l,a){var u,o=a._length,s=new Array(o);u=a.geojson?function(y){return f(y)||d(y)}:f;for(var h=0;h")}}(M,h,l),[M]}},51319:function(T,p,t){T.exports={attributes:t(69568),supplyDefaults:t(61869),colorbar:t(61243),calc:t(38675),calcGeoJSON:t(99841).calcGeoJSON,plot:t(99841).plot,style:t(99636).style,styleOnSelect:t(99636).styleOnSelect,hoverPoints:t(42300),eventData:t(92069),selectPoints:t(81253),moduleType:"trace",name:"choropleth",basePlotModule:t(44622),categories:["geo","noOpacity","showLegend"],meta:{}}},99841:function(T,p,t){var d=t(39898),g=t(71828),i=t(41327),M=t(90973).getTopojsonFeatures,v=t(71739).findExtremes,f=t(99636).style;T.exports={calcGeoJSON:function(l,a){for(var u=l[0].trace,o=a[u.geo],s=o._subplot,h=u.locationmode,c=u._length,m=h==="geojson-id"?i.extractTraceFeature(l):M(u,s.topojson),w=[],y=[],C=0;C=0;M--){var v=i[M].id;if(typeof v=="string"&&v.indexOf("water")===0){for(var f=M+1;f=0;a--)f.removeLayer(l[a][1])},v.dispose=function(){var f=this.subplot.map;this._removeLayers(),f.removeSource(this.sourceId)},T.exports=function(f,l){var a=l[0].trace,u=new M(f,a.uid),o=u.sourceId,s=d(l),h=u.below=f.belowLookup["trace-"+a.uid];return f.map.addSource(o,{type:"geojson",data:s.geojson}),u._addLayers(s,h),l[0].trace._glTrace=u,u}},12674:function(T,p,t){var d=t(50693),g=t(12663).axisHoverFormat,i=t(5386).fF,M=t(2418),v=t(9012),f=t(1426).extendFlat,l={x:{valType:"data_array",editType:"calc+clearAxisTypes"},y:{valType:"data_array",editType:"calc+clearAxisTypes"},z:{valType:"data_array",editType:"calc+clearAxisTypes"},u:{valType:"data_array",editType:"calc"},v:{valType:"data_array",editType:"calc"},w:{valType:"data_array",editType:"calc"},sizemode:{valType:"enumerated",values:["scaled","absolute"],editType:"calc",dflt:"scaled"},sizeref:{valType:"number",editType:"calc",min:0},anchor:{valType:"enumerated",editType:"calc",values:["tip","tail","cm","center"],dflt:"cm"},text:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertemplate:i({editType:"calc"},{keys:["norm"]}),uhoverformat:g("u",1),vhoverformat:g("v",1),whoverformat:g("w",1),xhoverformat:g("x"),yhoverformat:g("y"),zhoverformat:g("z"),showlegend:f({},v.showlegend,{dflt:!1})};f(l,d("",{colorAttr:"u/v/w norm",showScaleDflt:!0,editTypeOverride:"calc"})),["opacity","lightposition","lighting"].forEach(function(a){l[a]=M[a]}),l.hoverinfo=f({},v.hoverinfo,{editType:"calc",flags:["x","y","z","u","v","w","norm","text","name"],dflt:"x+y+z+norm+text+name"}),l.transforms=void 0,T.exports=l},31371:function(T,p,t){var d=t(78803);T.exports=function(g,i){for(var M=i.u,v=i.v,f=i.w,l=Math.min(i.x.length,i.y.length,i.z.length,M.length,v.length,f.length),a=-1/0,u=1/0,o=0;ov.level||v.starts.length&&M===v.level)}break;case"constraint":if(g.prefixBoundary=!1,g.edgepaths.length)return;var f=g.x.length,l=g.y.length,a=-1/0,u=1/0;for(d=0;d":h>a&&(g.prefixBoundary=!0);break;case"<":(ha||g.starts.length&&s===u)&&(g.prefixBoundary=!0);break;case"][":o=Math.min(h[0],h[1]),s=Math.max(h[0],h[1]),oa&&(g.prefixBoundary=!0)}}}},90654:function(T,p,t){var d=t(21081),g=t(86068),i=t(53572);T.exports={min:"zmin",max:"zmax",calc:function(M,v,f){var l=v.contours,a=v.line,u=l.size||1,o=l.coloring,s=g(v,{isColorbar:!0});if(o==="heatmap"){var h=d.extractOpts(v);f._fillgradient=h.reversescale?d.flipScale(h.colorscale):h.colorscale,f._zrange=[h.min,h.max]}else o==="fill"&&(f._fillcolor=s);f._line={color:o==="lines"?s:a.color,width:l.showlines!==!1?a.width:0,dash:a.dash},f._levels={start:l.start,end:i(l),size:u}}}},36914:function(T){T.exports={BOTTOMSTART:[1,9,13,104,713],TOPSTART:[4,6,7,104,713],LEFTSTART:[8,12,14,208,1114],RIGHTSTART:[2,3,11,208,1114],NEWDELTA:[null,[-1,0],[0,-1],[-1,0],[1,0],null,[0,-1],[-1,0],[0,1],[0,1],null,[0,1],[1,0],[1,0],[0,-1]],CHOOSESADDLE:{104:[4,1],208:[2,8],713:[7,13],1114:[11,14]},SADDLEREMAINDER:{1:4,2:8,4:1,7:13,8:2,11:14,13:7,14:11},LABELDISTANCE:2,LABELINCREASE:10,LABELMIN:3,LABELMAX:10,LABELOPTIMIZER:{EDGECOST:1,ANGLECOST:1,NEIGHBORCOST:5,SAMELEVELFACTOR:10,SAMELEVELDISTANCE:5,MAXCOST:100,INITIALSEARCHPOINTS:10,ITERATIONS:5}}},83179:function(T,p,t){var d=t(92770),g=t(14523),i=t(7901),M=i.addOpacity,v=i.opacity,f=t(74808),l=f.CONSTRAINT_REDUCTION,a=f.COMPARISON_OPS2;T.exports=function(u,o,s,h,c,m){var w,y,C,_=o.contours,k=s("contours.operation");_._operation=l[k],function(E,x){var A;a.indexOf(x.operation)===-1?(E("contours.value",[0,1]),Array.isArray(x.value)?x.value.length>2?x.value=x.value.slice(2):x.length===0?x.value=[0,1]:x.length<2?(A=parseFloat(x.value[0]),x.value=[A,A+1]):x.value=[parseFloat(x.value[0]),parseFloat(x.value[1])]:d(x.value)&&(A=parseFloat(x.value),x.value=[A,A+1])):(E("contours.value",0),d(x.value)||(Array.isArray(x.value)?x.value=parseFloat(x.value[0]):x.value=0))}(s,_),k==="="?w=_.showlines=!0:(w=s("contours.showlines"),C=s("fillcolor",M((u.line||{}).color||c,.5))),w&&(y=s("line.color",C&&v(C)?M(o.fillcolor,1):c),s("line.width",2),s("line.dash")),s("line.smoothing"),g(s,h,y,m)}},64237:function(T,p,t){var d=t(74808),g=t(92770);function i(f,l){var a,u=Array.isArray(l);function o(s){return g(s)?+s:null}return d.COMPARISON_OPS2.indexOf(f)!==-1?a=o(u?l[0]:l):d.INTERVAL_OPS.indexOf(f)!==-1?a=u?[o(l[0]),o(l[1])]:[o(l),o(l)]:d.SET_OPS.indexOf(f)!==-1&&(a=u?l.map(o):[o(l)]),a}function M(f){return function(l){l=i(f,l);var a=Math.min(l[0],l[1]),u=Math.max(l[0],l[1]);return{start:a,end:u,size:u-a}}}function v(f){return function(l){return{start:l=i(f,l),end:1/0,size:1/0}}}T.exports={"[]":M("[]"),"][":M("]["),">":v(">"),"<":v("<"),"=":v("=")}},67217:function(T){T.exports=function(p,t,d,g){var i=g("contours.start"),M=g("contours.end"),v=i===!1||M===!1,f=d("contours.size");!(v?t.autocontour=!0:d("autocontour",!1))&&f||d("ncontours")}},84857:function(T,p,t){var d=t(71828);function g(i){return d.extendFlat({},i,{edgepaths:d.extendDeep([],i.edgepaths),paths:d.extendDeep([],i.paths),starts:d.extendDeep([],i.starts)})}T.exports=function(i,M){var v,f,l,a=function(s){return s.reverse()},u=function(s){return s};switch(M){case"=":case"<":return i;case">":for(i.length!==1&&d.warn("Contour data invalid for the specified inequality operation."),f=i[0],v=0;v1e3){d.warn("Too many contours, clipping at 1000",M);break}return u}},53572:function(T){T.exports=function(p){return p.end+p.size/1e6}},81696:function(T,p,t){var d=t(71828),g=t(36914);function i(f,l,a,u){return Math.abs(f[0]-l[0])20&&oe?ie===208||ie===1114?ce=ue[0]===0?1:-1:ye=ue[1]===0?1:-1:g.BOTTOMSTART.indexOf(ie)!==-1?ye=1:g.LEFTSTART.indexOf(ie)!==-1?ce=1:g.TOPSTART.indexOf(ie)!==-1?ye=-1:ce=-1,[ce,ye]}(c,a,l),w=[v(f,l,[-m[0],-m[1]])],y=f.z.length,C=f.z[0].length,_=l.slice(),k=m.slice();for(s=0;s<1e4;s++){if(c>20?(c=g.CHOOSESADDLE[c][(m[0]||m[1])<0?0:1],f.crossings[h]=g.SADDLEREMAINDER[c]):delete f.crossings[h],!(m=g.NEWDELTA[c])){d.log("Found bad marching index:",c,l,f.level);break}w.push(v(f,l,m)),l[0]+=m[0],l[1]+=m[1],h=l.join(","),i(w[w.length-1],w[w.length-2],u,o)&&w.pop();var E=m[0]&&(l[0]<0||l[0]>C-2)||m[1]&&(l[1]<0||l[1]>y-2);if(l[0]===_[0]&&l[1]===_[1]&&m[0]===k[0]&&m[1]===k[1]||a&&E)break;c=f.crossings[h]}s===1e4&&d.log("Infinite loop in contour?");var x,A,L,b,R,I,O,z,F,B,N,W,j,$,U,G=i(w[0],w[w.length-1],u,o),q=0,H=.2*f.smoothing,ne=[],te=0;for(s=1;s=te;s--)if((x=ne[s])=te&&x+ne[A]z&&F--,f.edgepaths[F]=N.concat(w,B));break}re||(f.edgepaths[z]=w.concat(B))}for(z=0;zi?0:1)+(M[0][1]>i?0:2)+(M[1][1]>i?0:4)+(M[1][0]>i?0:8);return v===5||v===10?i>(M[0][0]+M[0][1]+M[1][0]+M[1][1])/4?v===5?713:1114:v===5?104:208:v===15?0:v}T.exports=function(i){var M,v,f,l,a,u,o,s,h,c=i[0].z,m=c.length,w=c[0].length,y=m===2||w===2;for(v=0;v=0&&(A=U,b=R):Math.abs(x[1]-A[1])<.01?Math.abs(x[1]-U[1])<.01&&(U[0]-x[0])*(A[0]-U[0])>=0&&(A=U,b=R):g.log("endpt to newendpt is not vert. or horz.",x,A,U)}if(x=A,b>=0)break;z+="L"+A}if(b===k.edgepaths.length){g.log("unclosed perimeter path");break}F=b,(N=B.indexOf(F)===-1)&&(F=B[0],z+="Z")}for(F=0;FA.center?A.right-R:R-A.left)/(z+Math.abs(Math.sin(O)*b)),N=(I>A.middle?A.bottom-I:I-A.top)/(Math.abs(F)+Math.cos(O)*b);if(B<1||N<1)return 1/0;var W=w.EDGECOST*(1/(B-1)+1/(N-1));W+=w.ANGLECOST*O*O;for(var j=R-z,$=I-F,U=R+z,G=I+F,q=0;q2*w.MAXCOST)break;N&&(R/=2),I=(b=O-R/2)+1.5*R}if(B<=w.MAXCOST)return z},p.addLabelData=function(k,E,x,A){var L=E.fontSize,b=E.width+L/3,R=Math.max(0,E.height-L/3),I=k.x,O=k.y,z=k.theta,F=Math.sin(z),B=Math.cos(z),N=function(j,$){return[I+j*B-$*F,O+j*F+$*B]},W=[N(-b/2,-R/2),N(-b/2,R/2),N(b/2,R/2),N(b/2,-R/2)];x.push({text:E.text,x:I,y:O,dy:E.dy,theta:z,level:E.level,width:b,height:R}),A.push(W)},p.drawLabels=function(k,E,x,A,L){var b=k.selectAll("text").data(E,function(O){return O.text+","+O.x+","+O.y+","+O.theta});if(b.exit().remove(),b.enter().append("text").attr({"data-notex":1,"text-anchor":"middle"}).each(function(O){var z=O.x+Math.sin(O.theta)*O.dy,F=O.y-Math.cos(O.theta)*O.dy;d.select(this).text(O.text).attr({x:z,y:F,transform:"rotate("+180*O.theta/Math.PI+" "+z+" "+F+")"}).call(v.convertToTspans,x)}),L){for(var R="",I=0;If.end&&(f.start=f.end=(f.start+f.end)/2),M._input.contours||(M._input.contours={}),g.extendFlat(M._input.contours,{start:f.start,end:f.end,size:f.size}),M._input.autocontour=!0}else if(f.type!=="constraint"){var o,s=f.start,h=f.end,c=M._input.contours;s>h&&(f.start=c.start=h,h=f.end=c.end=s,s=f.start),f.size>0||(o=s===h?1:i(s,h,M.ncontours).dtick,c.size=f.size=o)}}},84426:function(T,p,t){var d=t(39898),g=t(91424),i=t(70035),M=t(86068);T.exports=function(v){var f=d.select(v).selectAll("g.contour");f.style("opacity",function(l){return l[0].trace.opacity}),f.each(function(l){var a=d.select(this),u=l[0].trace,o=u.contours,s=u.line,h=o.size||1,c=o.start,m=o.type==="constraint",w=!m&&o.coloring==="lines",y=!m&&o.coloring==="fill",C=w||y?M(u):null;a.selectAll("g.contourlevel").each(function(E){d.select(this).selectAll("path").call(g.lineGroupStyle,s.width,w?C(E.level):s.color,s.dash)});var _=o.labelfont;if(a.selectAll("g.contourlabels text").each(function(E){g.font(d.select(this),{family:_.family,size:_.size,color:_.color||(w?C(E.level):s.color)})}),m)a.selectAll("g.contourfill path").style("fill",u.fillcolor);else if(y){var k;a.selectAll("g.contourfill path").style("fill",function(E){return k===void 0&&(k=E.level),C(E.level+.5*h)}),k===void 0&&(k=c),a.selectAll("g.contourbg path").style("fill",C(k-.5*h))}}),i(v)}},8724:function(T,p,t){var d=t(1586),g=t(14523);T.exports=function(i,M,v,f,l){var a,u=v("contours.coloring"),o="";u==="fill"&&(a=v("contours.showlines")),a!==!1&&(u!=="lines"&&(o=v("line.color","#000")),v("line.width",.5),v("line.dash")),u!=="none"&&(i.showlegend!==!0&&(M.showlegend=!1),M._dfltShowLegend=!1,d(i,M,f,v,{prefix:"",cLetter:"z"})),v("line.smoothing"),g(v,f,o,l)}},88085:function(T,p,t){var d=t(21606),g=t(70600),i=t(50693),M=t(1426).extendFlat,v=g.contours;T.exports=M({carpet:{valType:"string",editType:"calc"},z:d.z,a:d.x,a0:d.x0,da:d.dx,b:d.y,b0:d.y0,db:d.dy,text:d.text,hovertext:d.hovertext,transpose:d.transpose,atype:d.xtype,btype:d.ytype,fillcolor:g.fillcolor,autocontour:g.autocontour,ncontours:g.ncontours,contours:{type:v.type,start:v.start,end:v.end,size:v.size,coloring:{valType:"enumerated",values:["fill","lines","none"],dflt:"fill",editType:"calc"},showlines:v.showlines,showlabels:v.showlabels,labelfont:v.labelfont,labelformat:v.labelformat,operation:v.operation,value:v.value,editType:"calc",impliedEdits:{autocontour:!1}},line:{color:g.line.color,width:g.line.width,dash:g.line.dash,smoothing:g.line.smoothing,editType:"plot"},transforms:void 0},i("",{cLetter:"z",autoColorDflt:!1}))},59885:function(T,p,t){var d=t(78803),g=t(71828),i=t(68296),M=t(4742),v=t(824),f=t(43907),l=t(70769),a=t(75005),u=t(22882),o=t(18670);T.exports=function(s,h){var c=h._carpetTrace=u(s,h);if(c&&c.visible&&c.visible!=="legendonly"){if(!h.a||!h.b){var m=s.data[c.index],w=s.data[h.index];w.a||(w.a=m.a),w.b||(w.b=m.b),a(w,h,h._defaultColor,s._fullLayout)}var y=function(C,_){var k,E,x,A,L,b,R,I=_._carpetTrace,O=I.aaxis,z=I.baxis;O._minDtick=0,z._minDtick=0,g.isArray1D(_.z)&&i(_,O,z,"a","b",["z"]),k=_._a=_._a||_.a,A=_._b=_._b||_.b,k=k?O.makeCalcdata(_,"_a"):[],A=A?z.makeCalcdata(_,"_b"):[],E=_.a0||0,x=_.da||1,L=_.b0||0,b=_.db||1,R=_._z=M(_._z||_.z,_.transpose),_._emptypoints=f(R),v(R,_._emptypoints);var F=g.maxRowLength(R),B=_.xtype==="scaled"?"":k,N=l(_,B,E,x,F,O),W=_.ytype==="scaled"?"":A,j={a:N,b:l(_,W,L,b,R.length,z),z:R};return _.contours.type==="levels"&&_.contours.coloring!=="none"&&d(C,_,{vals:R,containerStr:"",cLetter:"z"}),[j]}(s,h);return o(h,h._z),y}}},75005:function(T,p,t){var d=t(71828),g=t(67684),i=t(88085),M=t(83179),v=t(67217),f=t(8724);T.exports=function(l,a,u,o){function s(h,c){return d.coerce(l,a,i,h,c)}if(s("carpet"),l.a&&l.b){if(!g(l,a,s,o,"a","b"))return void(a.visible=!1);s("text"),s("contours.type")==="constraint"?M(l,a,s,o,u,{hasHover:!1}):(v(l,a,s,function(h){return d.coerce2(l,a,i,h)}),f(l,a,s,o,{hasHover:!1}))}else a._defaultColor=u,a._length=null}},93740:function(T,p,t){T.exports={attributes:t(88085),supplyDefaults:t(75005),colorbar:t(90654),calc:t(59885),plot:t(51048),style:t(84426),moduleType:"trace",name:"contourcarpet",basePlotModule:t(93612),categories:["cartesian","svg","carpet","contour","symbols","showLegend","hasLines","carpetDependent","noHover","noSortingByValue"],meta:{}}},51048:function(T,p,t){var d=t(39898),g=t(27669),i=t(67961),M=t(91424),v=t(71828),f=t(87678),l=t(81696),a=t(29854),u=t(36914),o=t(84857),s=t(87558),h=t(20083),c=t(22882),m=t(4536);function w(_,k,E){var x=_.getPointAtLength(k),A=_.getPointAtLength(E),L=A.x-x.x,b=A.y-x.y,R=Math.sqrt(L*L+b*b);return[L/R,b/R]}function y(_){var k=Math.sqrt(_[0]*_[0]+_[1]*_[1]);return[_[0]/k,_[1]/k]}function C(_,k){var E=Math.abs(_[0]*k[0]+_[1]*k[1]);return Math.sqrt(1-E*E)/E}T.exports=function(_,k,E,x){var A=k.xaxis,L=k.yaxis;v.makeTraceGroups(x,E,"contour").each(function(b){var R=d.select(this),I=b[0],O=I.trace,z=O._carpetTrace=c(_,O),F=_.calcdata[z.index][0];if(z.visible&&z.visible!=="legendonly"){var B=I.a,N=I.b,W=O.contours,j=s(W,k,I),$=W.type==="constraint",U=W._operation,G=$?U==="="?"lines":"fill":W.coloring,q=[[B[0],N[N.length-1]],[B[B.length-1],N[N.length-1]],[B[B.length-1],N[0]],[B[0],N[0]]];f(j);var H=1e-8*(B[B.length-1]-B[0]),ne=1e-8*(N[N.length-1]-N[0]);l(j,H,ne);var te,Z,X,Q,re=j;W.type==="constraint"&&(re=o(j,U)),function(ce,ye){var de,me,pe,xe,Pe,_e,Me,Se,Ce;for(de=0;de=0;Q--)te=F.clipsegments[Q],Z=g([],te.x,A.c2p),X=g([],te.y,L.c2p),Z.reverse(),X.reverse(),ie.push(i(Z,X,te.bicubic));var oe="M"+ie.join("L")+"Z";(function(ce,ye,de,me,pe,xe){var Pe,_e,Me,Se,Ce=v.ensureSingle(ce,"g","contourbg").selectAll("path").data(xe!=="fill"||pe?[]:[0]);Ce.enter().append("path"),Ce.exit().remove();var ae=[];for(Se=0;Se=0&&(st=ft,ht=bt):Math.abs(Ye[1]-st[1])=0&&(st=ft,ht=bt):v.log("endpt to newendpt is not vert. or horz.",Ye,st,ft)}if(ht>=0)break;kt+=qe(Ye,st),Ye=st}if(ht===Be.edgepaths.length){v.log("unclosed perimeter path");break}$e=ht,(Ft=xt.indexOf($e)===-1)&&($e=xt[0],kt+=qe(Ye,st)+"Z",Ye=null)}for($e=0;$eLt&&(Ke.max=Lt),Ke.len=Ke.max-Ke.min}function yt(Pt,wt){var Rt,Nt=0,Yt=.1;return(Math.abs(Pt[0]-Re)0?+m[s]:0),h.push({type:"Feature",geometry:{type:"Point",coordinates:_},properties:k})}}var x=M.extractOpts(a),A=x.reversescale?M.flipScale(x.colorscale):x.colorscale,L=A[0][1],b=["interpolate",["linear"],["heatmap-density"],0,i.opacity(L)<1?L:i.addOpacity(L,0)];for(s=1;s=0;l--)v.removeLayer(f[l][1])},M.dispose=function(){var v=this.subplot.map;this._removeLayers(),v.removeSource(this.sourceId)},T.exports=function(v,f){var l=f[0].trace,a=new i(v,l.uid),u=a.sourceId,o=d(f),s=a.below=v.belowLookup["trace-"+l.uid];return v.map.addSource(u,{type:"geojson",data:o.geojson}),a._addLayers(o,s),a}},49789:function(T,p,t){var d=t(71828);T.exports=function(g,i){for(var M=0;M"),u.color=function(k,E){var x=k.marker,A=E.mc||x.color,L=E.mlc||x.line.color,b=E.mlw||x.line.width;return d(A)?A:d(L)&&b?L:void 0}(s,c),[u]}}},51759:function(T,p,t){T.exports={attributes:t(1285),layoutAttributes:t(10440),supplyDefaults:t(26199).supplyDefaults,crossTraceDefaults:t(26199).crossTraceDefaults,supplyLayoutDefaults:t(93138),calc:t(9532),crossTraceCalc:t(8984),plot:t(80461),style:t(68266).style,hoverPoints:t(63341),eventData:t(34598),selectPoints:t(81974),moduleType:"trace",name:"funnel",basePlotModule:t(93612),categories:["bar-like","cartesian","svg","oriented","showLegend","zoomScale"],meta:{}}},10440:function(T){T.exports={funnelmode:{valType:"enumerated",values:["stack","group","overlay"],dflt:"stack",editType:"calc"},funnelgap:{valType:"number",min:0,max:1,editType:"calc"},funnelgroupgap:{valType:"number",min:0,max:1,dflt:0,editType:"calc"}}},93138:function(T,p,t){var d=t(71828),g=t(10440);T.exports=function(i,M,v){var f=!1;function l(o,s){return d.coerce(i,M,g,o,s)}for(var a=0;a path").each(function(w){if(!w.isBlank){var y=m.marker;d.select(this).call(i.fill,w.mc||y.color).call(i.stroke,w.mlc||y.line.color).call(g.dashLine,y.line.dash,w.mlw||y.line.width).style("opacity",m.selectedpoints&&!w.selected?M:1)}}),l(c,m,a),c.selectAll(".regions").each(function(){d.select(this).selectAll("path").style("stroke-width",0).call(i.fill,m.connector.fillcolor)}),c.selectAll(".lines").each(function(){var w=m.connector.line;g.lineGroupStyle(d.select(this).selectAll("path"),w.width,w.color,w.dash)})})}}},86807:function(T,p,t){var d=t(34e3),g=t(9012),i=t(27670).Y,M=t(5386).fF,v=t(5386).si,f=t(1426).extendFlat;T.exports={labels:d.labels,label0:d.label0,dlabel:d.dlabel,values:d.values,marker:{colors:d.marker.colors,line:{color:f({},d.marker.line.color,{dflt:null}),width:f({},d.marker.line.width,{dflt:1}),editType:"calc"},editType:"calc"},text:d.text,hovertext:d.hovertext,scalegroup:f({},d.scalegroup,{}),textinfo:f({},d.textinfo,{flags:["label","text","value","percent"]}),texttemplate:v({editType:"plot"},{keys:["label","color","value","text","percent"]}),hoverinfo:f({},g.hoverinfo,{flags:["label","text","value","percent","name"]}),hovertemplate:M({},{keys:["label","color","value","text","percent"]}),textposition:f({},d.textposition,{values:["inside","none"],dflt:"inside"}),textfont:d.textfont,insidetextfont:d.insidetextfont,title:{text:d.title.text,font:d.title.font,position:f({},d.title.position,{values:["top left","top center","top right"],dflt:"top center"}),editType:"plot"},domain:i({name:"funnelarea",trace:!0,editType:"calc"}),aspectratio:{valType:"number",min:0,dflt:1,editType:"plot"},baseratio:{valType:"number",min:0,max:1,dflt:.333,editType:"plot"}}},6452:function(T,p,t){var d=t(74875);p.name="funnelarea",p.plot=function(g,i,M,v){d.plotBasePlot(p.name,g,i,M,v)},p.clean=function(g,i,M,v){d.cleanBasePlot(p.name,g,i,M,v)}},89574:function(T,p,t){var d=t(32354);T.exports={calc:function(g,i){return d.calc(g,i)},crossTraceCalc:function(g){d.crossTraceCalc(g,{type:"funnelarea"})}}},86282:function(T,p,t){var d=t(71828),g=t(86807),i=t(27670).c,M=t(90769).handleText,v=t(37434).handleLabelsAndValues;T.exports=function(f,l,a,u){function o(k,E){return d.coerce(f,l,g,k,E)}var s=o("labels"),h=o("values"),c=v(s,h),m=c.len;if(l._hasLabels=c.hasLabels,l._hasValues=c.hasValues,!l._hasLabels&&l._hasValues&&(o("label0"),o("dlabel")),m){l._length=m,o("marker.line.width")&&o("marker.line.color",u.paper_bgcolor),o("marker.colors"),o("scalegroup");var w,y=o("text"),C=o("texttemplate");if(C||(w=o("textinfo",Array.isArray(y)?"text+percent":"percent")),o("hovertext"),o("hovertemplate"),C||w&&w!=="none"){var _=o("textposition");M(f,l,u,o,_,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1})}i(l,u,o),o("title.text")&&(o("title.position"),d.coerceFont(o,"title.font",u.font)),o("aspectratio"),o("baseratio")}else l.visible=!1}},10421:function(T,p,t){T.exports={moduleType:"trace",name:"funnelarea",basePlotModule:t(6452),categories:["pie-like","funnelarea","showLegend"],attributes:t(86807),layoutAttributes:t(80097),supplyDefaults:t(86282),supplyLayoutDefaults:t(57402),calc:t(89574).calc,crossTraceCalc:t(89574).crossTraceCalc,plot:t(79187),style:t(71858),styleOne:t(63463),meta:{}}},80097:function(T,p,t){var d=t(92774).hiddenlabels;T.exports={hiddenlabels:d,funnelareacolorway:{valType:"colorlist",editType:"calc"},extendfunnelareacolors:{valType:"boolean",dflt:!0,editType:"calc"}}},57402:function(T,p,t){var d=t(71828),g=t(80097);T.exports=function(i,M){function v(f,l){return d.coerce(i,M,g,f,l)}v("hiddenlabels"),v("funnelareacolorway",M.colorway),v("extendfunnelareacolors")}},79187:function(T,p,t){var d=t(39898),g=t(91424),i=t(71828),M=i.strScale,v=i.strTranslate,f=t(63893),l=t(17295).toMoveInsideBar,a=t(72597),u=a.recordMinTextSize,o=a.clearMinTextSize,s=t(53581),h=t(14575),c=h.attachFxHandlers,m=h.determineInsideTextFont,w=h.layoutAreas,y=h.prerenderTitles,C=h.positionTitleOutside,_=h.formatSliceLabel;function k(E,x){return"l"+(x[0]-E[0])+","+(x[1]-E[1])}T.exports=function(E,x){var A=E._context.staticPlot,L=E._fullLayout;o("funnelarea",L),y(x,E),w(x,L._size),i.makeTraceGroups(L._funnelarealayer,x,"trace").each(function(b){var R=d.select(this),I=b[0],O=I.trace;(function(z){if(z.length){var F=z[0],B=F.trace,N=B.aspectratio,W=B.baseratio;W>.999&&(W=.999);var j,$,U,G=Math.pow(W,2),q=F.vTotal,H=q,ne=q*G/(1-G)/q,te=[];for(te.push(Me()),$=z.length-1;$>-1;$--)if(!(U=z[$]).hidden){var Z=U.v/H;ne+=Z,te.push(Me())}var X=1/0,Q=-1/0;for($=0;$-1;$--)if(!(U=z[$]).hidden){var Pe=te[xe+=1][0],_e=te[xe][1];U.TL=[-Pe,_e],U.TR=[Pe,_e],U.BL=me,U.BR=pe,U.pxmid=(ye=U.TR,de=U.BR,[.5*(ye[0]+de[0]),.5*(ye[1]+de[1])]),me=U.TL,pe=U.TR}}function Me(){var Se,Ce={x:Se=Math.sqrt(ne),y:-Se};return[Ce.x,Ce.y]}})(b),R.each(function(){var z=d.select(this).selectAll("g.slice").data(b);z.enter().append("g").classed("slice",!0),z.exit().remove(),z.each(function(B,N){if(B.hidden)d.select(this).selectAll("path,g").remove();else{B.pointNumber=B.i,B.curveNumber=O.index;var W=I.cx,j=I.cy,$=d.select(this),U=$.selectAll("path.surface").data([B]);U.enter().append("path").classed("surface",!0).style({"pointer-events":A?"none":"all"}),$.call(c,E,b);var G="M"+(W+B.TR[0])+","+(j+B.TR[1])+k(B.TR,B.BR)+k(B.BR,B.BL)+k(B.BL,B.TL)+"Z";U.attr("d",G),_(E,B,I);var q=s.castOption(O.textposition,B.pts),H=$.selectAll("g.slicetext").data(B.text&&q!=="none"?[0]:[]);H.enter().append("g").classed("slicetext",!0),H.exit().remove(),H.each(function(){var ne=i.ensureSingle(d.select(this),"text","",function(ue){ue.attr("data-notex",1)}),te=i.ensureUniformFontSize(E,m(O,B,L.font));ne.text(B.text).attr({class:"slicetext",transform:"","text-anchor":"middle"}).call(g.font,te).call(f.convertToTspans,E);var Z,X,Q,re=g.bBox(ne.node()),ie=Math.min(B.BL[1],B.BR[1])+j,oe=Math.max(B.TL[1],B.TR[1])+j;X=Math.max(B.TL[0],B.BL[0])+W,Q=Math.min(B.TR[0],B.BR[0])+W,(Z=l(X,Q,ie,oe,re,{isHorizontal:!0,constrained:!0,angle:0,anchor:"middle"})).fontSize=te.size,u(O.type,Z,L),b[N].transform=Z,i.setTransormAndDisplay(ne,Z)})}});var F=d.select(this).selectAll("g.titletext").data(O.title.text?[0]:[]);F.enter().append("g").classed("titletext",!0),F.exit().remove(),F.each(function(){var B=i.ensureSingle(d.select(this),"text","",function(j){j.attr("data-notex",1)}),N=O.title.text;O._meta&&(N=i.templateString(N,O._meta)),B.text(N).attr({class:"titletext",transform:"","text-anchor":"middle"}).call(g.font,O.title.font).call(f.convertToTspans,E);var W=C(I,L._size);B.attr("transform",v(W.x,W.y)+M(Math.min(1,W.scale))+v(W.tx,W.ty))})})})}},71858:function(T,p,t){var d=t(39898),g=t(63463),i=t(72597).resizeText;T.exports=function(M){var v=M._fullLayout._funnelarealayer.selectAll(".trace");i(M,v,"funnelarea"),v.each(function(f){var l=f[0].trace,a=d.select(this);a.style({opacity:l.opacity}),a.selectAll("path.surface").each(function(u){d.select(this).call(g,u,l)})})}},21606:function(T,p,t){var d=t(82196),g=t(9012),i=t(41940),M=t(12663).axisHoverFormat,v=t(5386).fF,f=t(5386).si,l=t(50693),a=t(1426).extendFlat;T.exports=a({z:{valType:"data_array",editType:"calc"},x:a({},d.x,{impliedEdits:{xtype:"array"}}),x0:a({},d.x0,{impliedEdits:{xtype:"scaled"}}),dx:a({},d.dx,{impliedEdits:{xtype:"scaled"}}),y:a({},d.y,{impliedEdits:{ytype:"array"}}),y0:a({},d.y0,{impliedEdits:{ytype:"scaled"}}),dy:a({},d.dy,{impliedEdits:{ytype:"scaled"}}),xperiod:a({},d.xperiod,{impliedEdits:{xtype:"scaled"}}),yperiod:a({},d.yperiod,{impliedEdits:{ytype:"scaled"}}),xperiod0:a({},d.xperiod0,{impliedEdits:{xtype:"scaled"}}),yperiod0:a({},d.yperiod0,{impliedEdits:{ytype:"scaled"}}),xperiodalignment:a({},d.xperiodalignment,{impliedEdits:{xtype:"scaled"}}),yperiodalignment:a({},d.yperiodalignment,{impliedEdits:{ytype:"scaled"}}),text:{valType:"data_array",editType:"calc"},hovertext:{valType:"data_array",editType:"calc"},transpose:{valType:"boolean",dflt:!1,editType:"calc"},xtype:{valType:"enumerated",values:["array","scaled"],editType:"calc+clearAxisTypes"},ytype:{valType:"enumerated",values:["array","scaled"],editType:"calc+clearAxisTypes"},zsmooth:{valType:"enumerated",values:["fast","best",!1],dflt:!1,editType:"calc"},hoverongaps:{valType:"boolean",dflt:!0,editType:"none"},connectgaps:{valType:"boolean",editType:"calc"},xgap:{valType:"number",dflt:0,min:0,editType:"plot"},ygap:{valType:"number",dflt:0,min:0,editType:"plot"},xhoverformat:M("x"),yhoverformat:M("y"),zhoverformat:M("z",1),hovertemplate:v(),texttemplate:f({arrayOk:!1,editType:"plot"},{keys:["x","y","z","text"]}),textfont:i({editType:"plot",autoSize:!0,autoColor:!0,colorEditType:"style"}),showlegend:a({},g.showlegend,{dflt:!1})},{transforms:void 0},l("",{cLetter:"z",autoColorDflt:!1}))},90757:function(T,p,t){var d=t(73972),g=t(71828),i=t(89298),M=t(42973),v=t(17562),f=t(78803),l=t(68296),a=t(4742),u=t(824),o=t(43907),s=t(70769),h=t(50606).BADNUM;function c(m){for(var w=[],y=m.length,C=0;CG){$("x scale is not linear");break}}if(E.length&&W==="fast"){var q=(E[E.length-1]-E[0])/(E.length-1),H=Math.abs(q/100);for(R=0;RH){$("y scale is not linear");break}}}}var ne=g.maxRowLength(b),te=w.xtype==="scaled"?"":y,Z=s(w,te,C,_,ne,O),X=w.ytype==="scaled"?"":E,Q=s(w,X,x,A,b.length,z);N||(w._extremes[O._id]=i.findExtremes(O,Z),w._extremes[z._id]=i.findExtremes(z,Q));var re={x:Z,y:Q,z:b,text:w._text||w.text,hovertext:w._hovertext||w.hovertext};if(w.xperiodalignment&&k&&(re.orig_x=k),w.yperiodalignment&&L&&(re.orig_y=L),te&&te.length===Z.length-1&&(re.xCenter=te),X&&X.length===Q.length-1&&(re.yCenter=X),B&&(re.xRanges=I.xRanges,re.yRanges=I.yRanges,re.pts=I.pts),F||f(m,w,{vals:b,cLetter:"z"}),F&&w.contours&&w.contours.coloring==="heatmap"){var ie={type:w.type==="contour"?"heatmap":"histogram2d",xcalendar:w.xcalendar,ycalendar:w.ycalendar};re.xfill=s(ie,te,C,_,ne,O),re.yfill=s(ie,X,x,A,b.length,z)}return[re]}},4742:function(T,p,t){var d=t(92770),g=t(71828),i=t(50606).BADNUM;T.exports=function(M,v,f,l){var a,u,o,s,h,c;function m(E){if(d(E))return+E}if(v&&v.transpose){for(a=0,h=0;h=0;l--)(a=((h[[(M=(f=c[l])[0])-1,v=f[1]]]||y)[2]+(h[[M+1,v]]||y)[2]+(h[[M,v-1]]||y)[2]+(h[[M,v+1]]||y)[2])/20)&&(u[f]=[M,v,a],c.splice(l,1),o=!0);if(!o)throw"findEmpties iterated with no new neighbors";for(f in u)h[f]=u[f],s.push(u[f])}return s.sort(function(_,k){return k[2]-_[2]})}},46248:function(T,p,t){var d=t(30211),g=t(71828),i=t(89298),M=t(21081).extractOpts;T.exports=function(v,f,l,a,u){u||(u={});var o,s,h,c,m=u.isContour,w=v.cd[0],y=w.trace,C=v.xa,_=v.ya,k=w.x,E=w.y,x=w.z,A=w.xCenter,L=w.yCenter,b=w.zmask,R=y.zhoverformat,I=k,O=E;if(v.index!==!1){try{h=Math.round(v.index[1]),c=Math.round(v.index[0])}catch{return void g.error("Error hovering on heatmap, pointNumber must be [row,col], found:",v.index)}if(h<0||h>=x[0].length||c<0||c>x.length)return}else{if(d.inbox(f-k[0],f-k[k.length-1],0)>0||d.inbox(l-E[0],l-E[E.length-1],0)>0)return;if(m){var z;for(I=[2*k[0]-k[1]],z=1;zk&&(x=Math.max(x,Math.abs(v[u][o]-_)/(E-k))))}return x}T.exports=function(v,f){var l,a=1;for(M(v,f),l=0;l.01;l++)a=M(v,f,i(a));return a>.01&&d.log("interp2d didn't converge quickly",a),v}},58623:function(T,p,t){var d=t(71828);T.exports=function(g,i){g("texttemplate");var M=d.extendFlat({},i.font,{color:"auto",size:"auto"});d.coerceFont(g,"textfont",M)}},70769:function(T,p,t){var d=t(73972),g=t(71828).isArrayOrTypedArray;T.exports=function(i,M,v,f,l,a){var u,o,s,h=[],c=d.traceIs(i,"contour"),m=d.traceIs(i,"histogram"),w=d.traceIs(i,"gl2d");if(g(M)&&M.length>1&&!m&&a.type!=="category"){var y=M.length;if(!(y<=l))return c?M.slice(0,l):M.slice(0,l+1);if(c||w)h=M.slice(0,l);else if(l===1)h=[M[0]-.5,M[0]+.5];else{for(h=[1.5*M[0]-.5*M[1]],s=1;s0;)z=b.c2p(Z[W]),W--;for(z0;)N=R.c2p(X[W]),W--;if(NWt||Wt>R._length))for(j=wt;jQt||Qt>b._length)){var rn=a({x:Xt,y:Yt},q,E._fullLayout);rn.x=Xt,rn.y=Yt;var xn=G.z[W][j];xn===void 0?(rn.z="",rn.zLabel=""):(rn.z=xn,rn.zLabel=v.tickText(It,xn,"hover").text);var un=G.text&&G.text[W]&&G.text[W][j];un!==void 0&&un!==!1||(un=""),rn.text=un;var An=f.texttemplateString(dt,rn,E._fullLayout._d3locale,rn,q._meta||{});if(An){var Yn=An.split("
"),kn=Yn.length,sn=0;for($=0;$0&&(k=!0);for(var A=0;Af){var l=f-M[g];return M[g]=f,l}}return 0},max:function(g,i,M,v){var f=v[i];if(d(f)){if(f=Number(f),!d(M[g]))return M[g]=f,f;if(M[g]l?c>M?c>1.1*g?g:c>1.1*i?i:M:c>v?v:c>f?f:l:Math.pow(10,Math.floor(Math.log(c)/Math.LN10))}function s(c,m,w,y,C,_){if(y&&c>M){var k=h(m,C,_),E=h(w,C,_),x=c===g?0:1;return k[x]!==E[x]}return Math.floor(w/c)-Math.floor(m/c)>.1}function h(c,m,w){var y=m.c2d(c,g,w).split("-");return y[0]===""&&(y.unshift(),y[0]="-"+y[0]),y}T.exports=function(c,m,w,y,C){var _,k,E=-1.1*m,x=-.1*m,A=c-x,L=w[0],b=w[1],R=Math.min(u(L+x,L+A,y,C),u(b+x,b+A,y,C)),I=Math.min(u(L+E,L+x,y,C),u(b+E,b+x,y,C));if(R>I&&IM){var O=_===g?1:6,z=_===g?"M12":"M1";return function(F,B){var N=y.c2d(F,g,C),W=N.indexOf("-",O);W>0&&(N=N.substr(0,W));var j=y.d2c(N,0,C);if(jc.r2l(re)&&(oe=M.tickIncrement(oe,I.size,!0,k)),te.start=c.l2r(oe),Q||g.nestedProperty(h,L+".start").set(te.start)}var ue=I.end,ce=c.r2l(ne.end),ye=ce!==void 0;if((I.endFound||ye)&&ce!==c.r2l(ue)){var de=ye?ce:g.aggNums(Math.max,null,E);te.end=c.l2r(de),ye||g.nestedProperty(h,L+".start").set(te.end)}var me="autobin"+m;return h._input[me]===!1&&(h._input[L]=g.extendFlat({},h[L]||{}),delete h._input[me],delete h[me]),[te,E]}T.exports={calc:function(s,h){var c,m,w,y,C=[],_=[],k=h.orientation==="h",E=M.getFromId(s,k?h.yaxis:h.xaxis),x=k?"y":"x",A={x:"y",y:"x"}[x],L=h[x+"calendar"],b=h.cumulative,R=o(s,h,E,x),I=R[0],O=R[1],z=typeof I.size=="string",F=[],B=z?F:I,N=[],W=[],j=[],$=0,U=h.histnorm,G=h.histfunc,q=U.indexOf("density")!==-1;b.enabled&&q&&(U=U.replace(/ ?density$/,""),q=!1);var H,ne=G==="max"||G==="min"?null:0,te=f.count,Z=l[U],X=!1,Q=function(Ce){return E.r2c(Ce,0,L)};for(g.isArrayOrTypedArray(h[A])&&G!=="count"&&(H=h[A],X=G==="avg",te=f[G]),c=Q(I.start),w=Q(I.end)+(c-M.tickIncrement(c,I.size,!1,L))/1e6;c=0&&y=0;be--)ze(be);else if(ae==="increasing"){for(be=1;be=0;be--)Ce[be]+=Ce[be+1];fe==="exclude"&&(Ce.push(0),Ce.shift())}}(_,b.direction,b.currentbin);var xe=Math.min(C.length,_.length),Pe=[],_e=0,Me=xe-1;for(c=0;c=_e;c--)if(_[c]){Me=c;break}for(c=_e;c<=Me;c++)if(d(C[c])&&d(_[c])){var Se={p:C[c],s:_[c],b:0};b.enabled||(Se.pts=j[c],ce?Se.ph0=Se.ph1=j[c].length?O[j[c][0]]:C[c]:(h._computePh=!0,Se.ph0=oe(F[c]),Se.ph1=oe(F[c+1],!0))),Pe.push(Se)}return Pe.length===1&&(Pe[0].width1=M.tickIncrement(Pe[0].p,I.size,!1,L)-Pe[0].p),v(Pe,h),g.isArrayOrTypedArray(h.selectedpoints)&&g.tagSelected(Pe,h,me),Pe},calcAllAutoBins:o}},72406:function(T){T.exports={eventDataKeys:["binNumber"]}},82222:function(T,p,t){var d=t(71828),g=t(41675),i=t(73972).traceIs,M=t(26125),v=d.nestedProperty,f=t(99082).getAxisGroup,l=[{aStr:{x:"xbins.start",y:"ybins.start"},name:"start"},{aStr:{x:"xbins.end",y:"ybins.end"},name:"end"},{aStr:{x:"xbins.size",y:"ybins.size"},name:"size"},{aStr:{x:"nbinsx",y:"nbinsy"},name:"nbins"}],a=["x","y"];T.exports=function(u,o){var s,h,c,m,w,y,C,_=o._histogramBinOpts={},k=[],E={},x=[];function A(q,H){return d.coerce(s._input,s,s._module.attributes,q,H)}function L(q){return q.orientation==="v"?"x":"y"}function b(q,H,ne){var te=q.uid+"__"+ne;H||(H=te);var Z=function(ie,oe){return g.getFromTrace({_fullLayout:o},ie,oe).type}(q,ne),X=q[ne+"calendar"]||"",Q=_[H],re=!0;Q&&(Z===Q.axType&&X===Q.calendar?(re=!1,Q.traces.push(q),Q.dirs.push(ne)):(H=te,Z!==Q.axType&&d.warn(["Attempted to group the bins of trace",q.index,"set on a","type:"+Z,"axis","with bins on","type:"+Q.axType,"axis."].join(" ")),X!==Q.calendar&&d.warn(["Attempted to group the bins of trace",q.index,"set with a",X,"calendar","with bins",Q.calendar?"on a "+Q.calendar+" calendar":"w/o a set calendar"].join(" ")))),re&&(_[H]={traces:[q],dirs:[ne],axType:Z,calendar:q[ne+"calendar"]||""}),q["_"+ne+"bingroup"]=H}for(w=0;wF&&R.splice(F,R.length-F),z.length>F&&z.splice(F,z.length-F);var B=[],N=[],W=[],j=typeof b.size=="string",$=typeof O.size=="string",U=[],G=[],q=j?U:b,H=$?G:O,ne=0,te=[],Z=[],X=h.histnorm,Q=h.histfunc,re=X.indexOf("density")!==-1,ie=Q==="max"||Q==="min"?null:0,oe=i.count,ue=M[X],ce=!1,ye=[],de=[],me="z"in h?h.z:"marker"in h&&Array.isArray(h.marker.color)?h.marker.color:"";me&&Q!=="count"&&(ce=Q==="avg",oe=i[Q]);var pe=b.size,xe=x(b.start),Pe=x(b.end)+(xe-g.tickIncrement(xe,pe,!1,k))/1e6;for(c=xe;c=0&&w=0&&y-1,flipY:N.tiling.flip.indexOf("y")>-1,orientation:N.tiling.orientation,pad:{inner:N.tiling.pad},maxDepth:N._maxDepth}).descendants(),G=1/0,q=-1/0;U.forEach(function(X){var Q=X.depth;Q>=N._maxDepth?(X.x0=X.x1=(X.x0+X.x1)/2,X.y0=X.y1=(X.y0+X.y1)/2):(G=Math.min(G,Q),q=Math.max(q,Q))}),w=w.data(U,a.getPtId),N._maxVisibleLayers=isFinite(q)?q-G+1:0,w.enter().append("g").classed("slice",!0),R(w,s,{},[C,_],x),w.order();var H=null;if(b&&z){var ne=a.getPtId(z);w.each(function(X){H===null&&a.getPtId(X)===ne&&(H={x0:X.x0,x1:X.x1,y0:X.y0,y1:X.y1})})}var te=function(){return H||{x0:0,x1:C,y0:0,y1:_}},Z=w;return b&&(Z=Z.transition().each("end",function(){var X=d.select(this);a.setSliceCursor(X,h,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})})),Z.each(function(X){X._x0=k(X.x0),X._x1=k(X.x1),X._y0=E(X.y0),X._y1=E(X.y1),X._hoverX=k(X.x1-N.tiling.pad),X._hoverY=E($?X.y1-N.tiling.pad/2:X.y0+N.tiling.pad/2);var Q=d.select(this),re=g.ensureSingle(Q,"path","surface",function(ce){ce.style("pointer-events",F?"none":"all")});b?re.transition().attrTween("d",function(ce){var ye=I(ce,s,te(),[C,_],{orientation:N.tiling.orientation,flipX:N.tiling.flip.indexOf("x")>-1,flipY:N.tiling.flip.indexOf("y")>-1});return function(de){return x(ye(de))}}):re.attr("d",x),Q.call(u,m,h,c,{styleOne:f,eventDataKeys:l.eventDataKeys,transitionTime:l.CLICK_TRANSITION_TIME,transitionEasing:l.CLICK_TRANSITION_EASING}).call(a.setSliceCursor,h,{isTransitioning:h._transitioning}),re.call(f,X,N,{hovered:!1}),X.x0===X.x1||X.y0===X.y1?X._text="":X._text=o(X,m,N,c,B)||"";var ie=g.ensureSingle(Q,"g","slicetext"),oe=g.ensureSingle(ie,"text","",function(ce){ce.attr("data-notex",1)}),ue=g.ensureUniformFontSize(h,a.determineTextFont(N,X,B.font));oe.text(X._text||" ").classed("slicetext",!0).attr("text-anchor",j?"end":W?"start":"middle").call(i.font,ue).call(M.convertToTspans,h),X.textBB=i.bBox(oe.node()),X.transform=A(X,{fontSize:ue.size}),X.transform.fontSize=ue.size,b?oe.transition().attrTween("transform",function(ce){var ye=O(ce,s,te(),[C,_]);return function(de){return L(ye(de))}}):oe.attr("transform",L(X))}),H}},69816:function(T,p,t){T.exports={moduleType:"trace",name:"icicle",basePlotModule:t(96346),categories:[],animatable:!0,attributes:t(46291),layoutAttributes:t(92894),supplyDefaults:t(56524),supplyLayoutDefaults:t(21070),calc:t(46584).y,crossTraceCalc:t(46584).T,plot:t(85596),style:t(82454).style,colorbar:t(4898),meta:{}}},92894:function(T){T.exports={iciclecolorway:{valType:"colorlist",editType:"calc"},extendiciclecolors:{valType:"boolean",dflt:!0,editType:"calc"}}},21070:function(T,p,t){var d=t(71828),g=t(92894);T.exports=function(i,M){function v(f,l){return d.coerce(i,M,g,f,l)}v("iciclecolorway",M.colorway),v("extendiciclecolors")}},21538:function(T,p,t){var d=t(674),g=t(14102);T.exports=function(i,M,v){var f=v.flipX,l=v.flipY,a=v.orientation==="h",u=v.maxDepth,o=M[0],s=M[1];u&&(o=(i.height+1)*M[0]/Math.min(i.height+1,u),s=(i.height+1)*M[1]/Math.min(i.height+1,u));var h=d.partition().padding(v.pad.inner).size(a?[M[1],o]:[M[0],s])(i);return(a||f||l)&&g(h,M,{swapXY:a,flipX:f,flipY:l}),h}},85596:function(T,p,t){var d=t(80694),g=t(90666);T.exports=function(i,M,v,f){return d(i,M,v,f,{type:"icicle",drawDescendants:g})}},82454:function(T,p,t){var d=t(39898),g=t(7901),i=t(71828),M=t(72597).resizeText;function v(f,l,a){var u=l.data.data,o=!l.children,s=u.i,h=i.castOption(a,s,"marker.line.color")||g.defaultLine,c=i.castOption(a,s,"marker.line.width")||0;f.style("stroke-width",c).call(g.fill,u.color).call(g.stroke,h).style("opacity",o?a.leaf.opacity:null)}T.exports={style:function(f){var l=f._fullLayout._iciclelayer.selectAll(".trace");M(f,l,"icicle"),l.each(function(a){var u=d.select(this),o=a[0].trace;u.style("opacity",o.opacity),u.selectAll("path.surface").each(function(s){d.select(this).call(v,s,o)})})},styleOne:v}},17230:function(T,p,t){for(var d=t(9012),g=t(5386).fF,i=t(1426).extendFlat,M=t(51877).colormodel,v=["rgb","rgba","rgba256","hsl","hsla"],f=[],l=[],a=0;a0||d.inbox(f-l.y0,f-(l.y0+l.h*a.dy),0)>0)){var s,h=Math.floor((v-l.x0)/a.dx),c=Math.floor(Math.abs(f-l.y0)/a.dy);if(a._hasZ?s=l.z[c][h]:a._hasSource&&(s=a._canvas.el.getContext("2d",{willReadFrequently:!0}).getImageData(h,c,1,1).data),s){var m,w=l.hi||a.hoverinfo;if(w){var y=w.split("+");y.indexOf("all")!==-1&&(y=["color"]),y.indexOf("color")!==-1&&(m=!0)}var C,_=i.colormodel[a.colormodel],k=_.colormodel||a.colormodel,E=k.length,x=a._scaler(s),A=_.suffix,L=[];(a.hovertemplate||m)&&(L.push("["+[x[0]+A[0],x[1]+A[1],x[2]+A[2]].join(", ")),E===4&&L.push(", "+x[3]+A[3]),L.push("]"),L=L.join(""),M.extraText=k.toUpperCase()+": "+L),Array.isArray(a.hovertext)&&Array.isArray(a.hovertext[c])?C=a.hovertext[c][h]:Array.isArray(a.text)&&Array.isArray(a.text[c])&&(C=a.text[c][h]);var b=o.c2p(l.y0+(c+.5)*a.dy),R=l.x0+(h+.5)*a.dx,I=l.y0+(c+.5)*a.dy,O="["+s.slice(0,a.colormodel.length).join(", ")+"]";return[g.extendFlat(M,{index:[c,h],x0:u.c2p(l.x0+h*a.dx),x1:u.c2p(l.x0+(h+1)*a.dx),y0:b,y1:b,color:x,xVal:R,xLabelVal:R,yVal:I,yLabelVal:I,zLabelVal:O,text:C,hovertemplateLabels:{zLabel:O,colorLabel:L,"color[0]Label":x[0]+A[0],"color[1]Label":x[1]+A[1],"color[2]Label":x[2]+A[2],"color[3]Label":x[3]+A[3]}})]}}}},94507:function(T,p,t){T.exports={attributes:t(17230),supplyDefaults:t(13245),calc:t(71113),plot:t(60775),style:t(12826),hoverPoints:t(28749),eventData:t(30835),moduleType:"trace",name:"image",basePlotModule:t(93612),categories:["cartesian","svg","2dMap","noSortingByValue"],animatable:!1,meta:{}}},60775:function(T,p,t){var d=t(39898),g=t(71828),i=g.strTranslate,M=t(77922),v=t(51877),f=g.isIOS()||g.isSafari()||g.isIE();T.exports=function(l,a,u,o){var s=a.xaxis,h=a.yaxis,c=!(f||l._context._exportedPlot);g.makeTraceGroups(o,u,"im").each(function(m){var w=d.select(this),y=m[0],C=y.trace,_=(C.zsmooth==="fast"||C.zsmooth===!1&&c)&&!C._hasZ&&C._hasSource&&s.type==="linear"&&h.type==="linear";C._realImage=_;var k,E,x,A,L,b,R=y.z,I=y.x0,O=y.y0,z=y.w,F=y.h,B=C.dx,N=C.dy;for(b=0;k===void 0&&b0;)E=s.c2p(I+b*B),b--;for(b=0;A===void 0&&b0;)L=h.c2p(O+b*N),b--;Eq[0];if(H||ne){var te=k+W/2,Z=A+j/2;U+="transform:"+i(te+"px",Z+"px")+"scale("+(H?-1:1)+","+(ne?-1:1)+")"+i(-te+"px",-Z+"px")+";"}}$.attr("style",U);var X=new Promise(function(re){if(C._hasZ)re();else if(C._hasSource)if(C._canvas&&C._canvas.el.width===z&&C._canvas.el.height===F&&C._canvas.source===C.source)re();else{var ie=document.createElement("canvas");ie.width=z,ie.height=F;var oe=ie.getContext("2d",{willReadFrequently:!0});C._image=C._image||new Image;var ue=C._image;ue.onload=function(){oe.drawImage(ue,0,0),C._canvas={el:ie,source:C.source},re()},ue.setAttribute("src",C.source)}}).then(function(){var re,ie;if(C._hasZ)ie=Q(function(ue,ce){return R[ce][ue]}),re=ie.toDataURL("image/png");else if(C._hasSource)if(_)re=C.source;else{var oe=C._canvas.el.getContext("2d",{willReadFrequently:!0}).getImageData(0,0,z,F).data;ie=Q(function(ue,ce){var ye=4*(ce*z+ue);return[oe[ye],oe[ye+1],oe[ye+2],oe[ye+3]]}),re=ie.toDataURL("image/png")}$.attr({"xlink:href":re,height:j,width:W,x:k,y:A})});l._promises.push(X)}function Q(re){var ie=document.createElement("canvas");ie.width=W,ie.height=j;var oe,ue=ie.getContext("2d",{willReadFrequently:!0}),ce=function(Ce){return g.constrain(Math.round(s.c2p(I+Ce*B)-k),0,W)},ye=function(Ce){return g.constrain(Math.round(h.c2p(O+Ce*N)-A),0,j)},de=v.colormodel[C.colormodel],me=de.colormodel||C.colormodel,pe=de.fmt;for(b=0;b0}function x(I){I.each(function(O){y.stroke(d.select(this),O.line.color)}).each(function(O){y.fill(d.select(this),O.color)}).style("stroke-width",function(O){return O.line.width})}function A(I,O,z){var F=I._fullLayout,B=M.extendFlat({type:"linear",ticks:"outside",range:z,showline:!0},O),N={type:"linear",_id:"x"+O._id},W={letter:"x",font:F.font,noHover:!0,noTickson:!0};function j($,U){return M.coerce(B,N,w,$,U)}return c(B,N,j,W,F),m(B,N,j,W),N}function L(I,O,z){return[Math.min(O/I.width,z/I.height),I,O+"x"+z]}function b(I,O,z,F){var B=document.createElementNS("http://www.w3.org/2000/svg","text"),N=d.select(B);return N.text(I).attr("x",0).attr("y",0).attr("text-anchor",z).attr("data-unformatted",I).call(s.convertToTspans,F).call(u.font,O),u.bBox(N.node())}function R(I,O,z,F,B,N){var W="_cache"+O;I[W]&&I[W].key===B||(I[W]={key:B,value:z});var j=M.aggNums(N,null,[I[W].value,F],2);return I[W].value=j,j}T.exports=function(I,O,z,F){var B,N=I._fullLayout;E(z)&&F&&(B=F()),M.makeTraceGroups(N._indicatorlayer,O,"trace").each(function(W){var j,$,U,G,q,H=W[0].trace,ne=d.select(this),te=H._hasGauge,Z=H._isAngular,X=H._isBullet,Q=H.domain,re={w:N._size.w*(Q.x[1]-Q.x[0]),h:N._size.h*(Q.y[1]-Q.y[0]),l:N._size.l+N._size.w*Q.x[0],r:N._size.r+N._size.w*(1-Q.x[1]),t:N._size.t+N._size.h*(1-Q.y[1]),b:N._size.b+N._size.h*Q.y[0]},ie=re.l+re.w/2,oe=re.t+re.h/2,ue=Math.min(re.w/2,re.h),ce=o.innerRadius*ue,ye=H.align||"center";if($=oe,te){if(Z&&(j=ie,$=oe+ue/2,U=function(Se){return function(Ce,ae){return[ae/Math.sqrt(Ce.width/2*(Ce.width/2)+Ce.height*Ce.height),Ce,ae]}(Se,.9*ce)}),X){var de=o.bulletPadding,me=1-o.bulletNumberDomainSize+de;j=re.l+(me+(1-me)*_[ye])*re.w,U=function(Se){return L(Se,(o.bulletNumberDomainSize-de)*re.w,re.h)}}}else j=re.l+_[ye]*re.w,U=function(Se){return L(Se,re.w,re.h)};(function(Se,Ce,ae,fe){var be,ke,Le,Be=ae[0].trace,ze=fe.numbersX,je=fe.numbersY,ge=Be.align||"center",we=C[ge],Ee=fe.transitionOpts,Ve=fe.onComplete,$e=M.ensureSingle(Ce,"g","numbers"),Ye=[];Be._hasNumber&&Ye.push("number"),Be._hasDelta&&(Ye.push("delta"),Be.delta.position==="left"&&Ye.reverse());var st=$e.selectAll("text").data(Ye);function ot(Bt,qt,Vt,Ke){if(!Bt.match("s")||Vt>=0==Ke>=0||qt(Vt).slice(-1).match(k)||qt(Ke).slice(-1).match(k))return qt;var Je=Bt.slice().replace("s","f").replace(/\d+/,function(nt){return parseInt(nt)-1}),qe=A(Se,{tickformat:Je});return function(nt){return Math.abs(nt)<1?h.tickText(qe,nt).text:qt(nt)}}st.enter().append("text"),st.attr("text-anchor",function(){return we}).attr("class",function(Bt){return Bt}).attr("x",null).attr("y",null).attr("dx",null).attr("dy",null),st.exit().remove();var ht,bt=Be.mode+Be.align;if(Be._hasDelta&&(ht=function(){var Bt=A(Se,{tickformat:Be.delta.valueformat},Be._range);Bt.setScale(),h.prepTicks(Bt);var qt=function(Ne){return h.tickText(Bt,Ne).text},Vt=Be.delta.suffix,Ke=Be.delta.prefix,Je=function(Ne){return Be.delta.relative?Ne.relativeDelta:Ne.delta},qe=function(Ne,Qe){return Ne===0||typeof Ne!="number"||isNaN(Ne)?"-":(Ne>0?Be.delta.increasing.symbol:Be.delta.decreasing.symbol)+Ke+Qe(Ne)+Vt},nt=function(Ne){return Ne.delta>=0?Be.delta.increasing.color:Be.delta.decreasing.color};Be._deltaLastValue===void 0&&(Be._deltaLastValue=Je(ae[0]));var ft=$e.select("text.delta");function Re(){ft.text(qe(Je(ae[0]),qt)).call(y.fill,nt(ae[0])).call(s.convertToTspans,Se)}return ft.call(u.font,Be.delta.font).call(y.fill,nt({delta:Be._deltaLastValue})),E(Ee)?ft.transition().duration(Ee.duration).ease(Ee.easing).tween("text",function(){var Ne=d.select(this),Qe=Je(ae[0]),ut=Be._deltaLastValue,dt=ot(Be.delta.valueformat,qt,ut,Qe),_t=i(ut,Qe);return Be._deltaLastValue=Qe,function(It){Ne.text(qe(_t(It),dt)),Ne.call(y.fill,nt({delta:_t(It)}))}}).each("end",function(){Re(),Ve&&Ve()}).each("interrupt",function(){Re(),Ve&&Ve()}):Re(),ke=b(qe(Je(ae[0]),qt),Be.delta.font,we,Se),ft}(),bt+=Be.delta.position+Be.delta.font.size+Be.delta.font.family+Be.delta.valueformat,bt+=Be.delta.increasing.symbol+Be.delta.decreasing.symbol,Le=ke),Be._hasNumber&&(function(){var Bt=A(Se,{tickformat:Be.number.valueformat},Be._range);Bt.setScale(),h.prepTicks(Bt);var qt=function(nt){return h.tickText(Bt,nt).text},Vt=Be.number.suffix,Ke=Be.number.prefix,Je=$e.select("text.number");function qe(){var nt=typeof ae[0].y=="number"?Ke+qt(ae[0].y)+Vt:"-";Je.text(nt).call(u.font,Be.number.font).call(s.convertToTspans,Se)}E(Ee)?Je.transition().duration(Ee.duration).ease(Ee.easing).each("end",function(){qe(),Ve&&Ve()}).each("interrupt",function(){qe(),Ve&&Ve()}).attrTween("text",function(){var nt=d.select(this),ft=i(ae[0].lastY,ae[0].y);Be._lastValue=ae[0].y;var Re=ot(Be.number.valueformat,qt,ae[0].lastY,ae[0].y);return function(Ne){nt.text(Ke+Re(ft(Ne))+Vt)}}):qe(),be=b(Ke+qt(ae[0].y)+Vt,Be.number.font,we,Se)}(),bt+=Be.number.font.size+Be.number.font.family+Be.number.valueformat+Be.number.suffix+Be.number.prefix,Le=be),Be._hasDelta&&Be._hasNumber){var Et,kt,xt=[(be.left+be.right)/2,(be.top+be.bottom)/2],Ft=[(ke.left+ke.right)/2,(ke.top+ke.bottom)/2],Ot=.75*Be.delta.font.size;Be.delta.position==="left"&&(Et=R(Be,"deltaPos",0,-1*(be.width*_[Be.align]+ke.width*(1-_[Be.align])+Ot),bt,Math.min),kt=xt[1]-Ft[1],Le={width:be.width+ke.width+Ot,height:Math.max(be.height,ke.height),left:ke.left+Et,right:be.right,top:Math.min(be.top,ke.top+kt),bottom:Math.max(be.bottom,ke.bottom+kt)}),Be.delta.position==="right"&&(Et=R(Be,"deltaPos",0,be.width*(1-_[Be.align])+ke.width*_[Be.align]+Ot,bt,Math.max),kt=xt[1]-Ft[1],Le={width:be.width+ke.width+Ot,height:Math.max(be.height,ke.height),left:be.left,right:ke.right+Et,top:Math.min(be.top,ke.top+kt),bottom:Math.max(be.bottom,ke.bottom+kt)}),Be.delta.position==="bottom"&&(Et=null,kt=ke.height,Le={width:Math.max(be.width,ke.width),height:be.height+ke.height,left:Math.min(be.left,ke.left),right:Math.max(be.right,ke.right),top:be.bottom-be.height,bottom:be.bottom+ke.height}),Be.delta.position==="top"&&(Et=null,kt=be.top,Le={width:Math.max(be.width,ke.width),height:be.height+ke.height,left:Math.min(be.left,ke.left),right:Math.max(be.right,ke.right),top:be.bottom-be.height-ke.height,bottom:be.bottom}),ht.attr({dx:Et,dy:kt})}(Be._hasNumber||Be._hasDelta)&&$e.attr("transform",function(){var Bt=fe.numbersScaler(Le);bt+=Bt[2];var qt,Vt=R(Be,"numbersScale",1,Bt[0],bt,Math.min);Be._scaleNumbers||(Vt=1),qt=Be._isAngular?je-Vt*Le.bottom:je-Vt*(Le.top+Le.bottom)/2,Be._numbersTop=Vt*Le.top+qt;var Ke=Le[ge];ge==="center"&&(Ke=(Le.left+Le.right)/2);var Je=ze-Vt*Ke;return Je=R(Be,"numbersTranslate",0,Je,bt,Math.max),f(Je,qt)+v(Vt)})})(I,ne,W,{numbersX:j,numbersY:$,numbersScaler:U,transitionOpts:z,onComplete:B}),te&&(G={range:H.gauge.axis.range,color:H.gauge.bgcolor,line:{color:H.gauge.bordercolor,width:0},thickness:1},q={range:H.gauge.axis.range,color:"rgba(0, 0, 0, 0)",line:{color:H.gauge.bordercolor,width:H.gauge.borderwidth},thickness:1});var pe=ne.selectAll("g.angular").data(Z?W:[]);pe.exit().remove();var xe=ne.selectAll("g.angularaxis").data(Z?W:[]);xe.exit().remove(),Z&&function(Se,Ce,ae,fe){var be,ke,Le,Be,ze=ae[0].trace,je=fe.size,ge=fe.radius,we=fe.innerRadius,Ee=fe.gaugeBg,Ve=fe.gaugeOutline,$e=[je.l+je.w/2,je.t+je.h/2+ge/2],Ye=fe.gauge,st=fe.layer,ot=fe.transitionOpts,ht=fe.onComplete,bt=Math.PI/2;function Et(It){var Lt=ze.gauge.axis.range[0],yt=(It-Lt)/(ze.gauge.axis.range[1]-Lt)*Math.PI-bt;return yt<-bt?-bt:yt>bt?bt:yt}function kt(It){return d.svg.arc().innerRadius((we+ge)/2-It/2*(ge-we)).outerRadius((we+ge)/2+It/2*(ge-we)).startAngle(-bt)}function xt(It){It.attr("d",function(Lt){return kt(Lt.thickness).startAngle(Et(Lt.range[0])).endAngle(Et(Lt.range[1]))()})}Ye.enter().append("g").classed("angular",!0),Ye.attr("transform",f($e[0],$e[1])),st.enter().append("g").classed("angularaxis",!0).classed("crisp",!0),st.selectAll("g.xangularaxistick,path,text").remove(),(be=A(Se,ze.gauge.axis)).type="linear",be.range=ze.gauge.axis.range,be._id="xangularaxis",be.ticklabeloverflow="allow",be.setScale();var Ft=function(It){return(be.range[0]-It.x)/(be.range[1]-be.range[0])*Math.PI+Math.PI},Ot={},Bt=h.makeLabelFns(be,0).labelStandoff;Ot.xFn=function(It){var Lt=Ft(It);return Math.cos(Lt)*Bt},Ot.yFn=function(It){var Lt=Ft(It),yt=Math.sin(Lt)>0?.2:1;return-Math.sin(Lt)*(Bt+It.fontSize*yt)+Math.abs(Math.cos(Lt))*(It.fontSize*a)},Ot.anchorFn=function(It){var Lt=Ft(It),yt=Math.cos(Lt);return Math.abs(yt)<.1?"middle":yt>0?"start":"end"},Ot.heightFn=function(It,Lt,yt){var Pt=Ft(It);return-.5*(1+Math.sin(Pt))*yt};var qt=function(It){return f($e[0]+ge*Math.cos(It),$e[1]-ge*Math.sin(It))};if(Le=function(It){return qt(Ft(It))},ke=h.calcTicks(be),Be=h.getTickSigns(be)[2],be.visible){Be=be.ticks==="inside"?-1:1;var Vt=(be.linewidth||1)/2;h.drawTicks(Se,be,{vals:ke,layer:st,path:"M"+Be*Vt+",0h"+Be*be.ticklen,transFn:function(It){var Lt=Ft(It);return qt(Lt)+"rotate("+-l(Lt)+")"}}),h.drawLabels(Se,be,{vals:ke,layer:st,transFn:Le,labelFns:Ot})}var Ke=[Ee].concat(ze.gauge.steps),Je=Ye.selectAll("g.bg-arc").data(Ke);Je.enter().append("g").classed("bg-arc",!0).append("path"),Je.select("path").call(xt).call(x),Je.exit().remove();var qe=kt(ze.gauge.bar.thickness),nt=Ye.selectAll("g.value-arc").data([ze.gauge.bar]);nt.enter().append("g").classed("value-arc",!0).append("path");var ft,Re,Ne,Qe=nt.select("path");E(ot)?(Qe.transition().duration(ot.duration).ease(ot.easing).each("end",function(){ht&&ht()}).each("interrupt",function(){ht&&ht()}).attrTween("d",(ft=qe,Re=Et(ae[0].lastY),Ne=Et(ae[0].y),function(){var It=g(Re,Ne);return function(Lt){return ft.endAngle(It(Lt))()}})),ze._lastValue=ae[0].y):Qe.attr("d",typeof ae[0].y=="number"?qe.endAngle(Et(ae[0].y)):"M0,0Z"),Qe.call(x),nt.exit().remove(),Ke=[];var ut=ze.gauge.threshold.value;(ut||ut===0)&&Ke.push({range:[ut,ut],color:ze.gauge.threshold.color,line:{color:ze.gauge.threshold.line.color,width:ze.gauge.threshold.line.width},thickness:ze.gauge.threshold.thickness});var dt=Ye.selectAll("g.threshold-arc").data(Ke);dt.enter().append("g").classed("threshold-arc",!0).append("path"),dt.select("path").call(xt).call(x),dt.exit().remove();var _t=Ye.selectAll("g.gauge-outline").data([Ve]);_t.enter().append("g").classed("gauge-outline",!0).append("path"),_t.select("path").call(xt).call(x),_t.exit().remove()}(I,0,W,{radius:ue,innerRadius:ce,gauge:pe,layer:xe,size:re,gaugeBg:G,gaugeOutline:q,transitionOpts:z,onComplete:B});var Pe=ne.selectAll("g.bullet").data(X?W:[]);Pe.exit().remove();var _e=ne.selectAll("g.bulletaxis").data(X?W:[]);_e.exit().remove(),X&&function(Se,Ce,ae,fe){var be,ke,Le,Be,ze,je=ae[0].trace,ge=fe.gauge,we=fe.layer,Ee=fe.gaugeBg,Ve=fe.gaugeOutline,$e=fe.size,Ye=je.domain,st=fe.transitionOpts,ot=fe.onComplete;ge.enter().append("g").classed("bullet",!0),ge.attr("transform",f($e.l,$e.t)),we.enter().append("g").classed("bulletaxis",!0).classed("crisp",!0),we.selectAll("g.xbulletaxistick,path,text").remove();var ht=$e.h,bt=je.gauge.bar.thickness*ht,Et=Ye.x[0],kt=Ye.x[0]+(Ye.x[1]-Ye.x[0])*(je._hasNumber||je._hasDelta?1-o.bulletNumberDomainSize:1);function xt(Je){Je.attr("width",function(qe){return Math.max(0,be.c2p(qe.range[1])-be.c2p(qe.range[0]))}).attr("x",function(qe){return be.c2p(qe.range[0])}).attr("y",function(qe){return .5*(1-qe.thickness)*ht}).attr("height",function(qe){return qe.thickness*ht})}(be=A(Se,je.gauge.axis))._id="xbulletaxis",be.domain=[Et,kt],be.setScale(),ke=h.calcTicks(be),Le=h.makeTransTickFn(be),Be=h.getTickSigns(be)[2],ze=$e.t+$e.h,be.visible&&(h.drawTicks(Se,be,{vals:be.ticks==="inside"?h.clipEnds(be,ke):ke,layer:we,path:h.makeTickPath(be,ze,Be),transFn:Le}),h.drawLabels(Se,be,{vals:ke,layer:we,transFn:Le,labelFns:h.makeLabelFns(be,ze)}));var Ft=[Ee].concat(je.gauge.steps),Ot=ge.selectAll("g.bg-bullet").data(Ft);Ot.enter().append("g").classed("bg-bullet",!0).append("rect"),Ot.select("rect").call(xt).call(x),Ot.exit().remove();var Bt=ge.selectAll("g.value-bullet").data([je.gauge.bar]);Bt.enter().append("g").classed("value-bullet",!0).append("rect"),Bt.select("rect").attr("height",bt).attr("y",(ht-bt)/2).call(x),E(st)?Bt.select("rect").transition().duration(st.duration).ease(st.easing).each("end",function(){ot&&ot()}).each("interrupt",function(){ot&&ot()}).attr("width",Math.max(0,be.c2p(Math.min(je.gauge.axis.range[1],ae[0].y)))):Bt.select("rect").attr("width",typeof ae[0].y=="number"?Math.max(0,be.c2p(Math.min(je.gauge.axis.range[1],ae[0].y))):0),Bt.exit().remove();var qt=ae.filter(function(){return je.gauge.threshold.value||je.gauge.threshold.value===0}),Vt=ge.selectAll("g.threshold-bullet").data(qt);Vt.enter().append("g").classed("threshold-bullet",!0).append("line"),Vt.select("line").attr("x1",be.c2p(je.gauge.threshold.value)).attr("x2",be.c2p(je.gauge.threshold.value)).attr("y1",(1-je.gauge.threshold.thickness)/2*ht).attr("y2",(1-(1-je.gauge.threshold.thickness)/2)*ht).call(y.stroke,je.gauge.threshold.line.color).style("stroke-width",je.gauge.threshold.line.width),Vt.exit().remove();var Ke=ge.selectAll("g.gauge-outline").data([Ve]);Ke.enter().append("g").classed("gauge-outline",!0).append("rect"),Ke.select("rect").call(xt).call(x),Ke.exit().remove()}(I,0,W,{gauge:Pe,layer:_e,size:re,gaugeBg:G,gaugeOutline:q,transitionOpts:z,onComplete:B});var Me=ne.selectAll("text.title").data(W);Me.exit().remove(),Me.enter().append("text").classed("title",!0),Me.attr("text-anchor",function(){return X?C.right:C[H.title.align]}).text(H.title.text).call(u.font,H.title.font).call(s.convertToTspans,I),Me.attr("transform",function(){var Se,Ce=re.l+re.w*_[H.title.align],ae=o.titlePadding,fe=u.bBox(Me.node());return te?(Z&&(Se=H.gauge.axis.visible?u.bBox(xe.node()).top-ae-fe.bottom:re.t+re.h/2-ue/2-fe.bottom-ae),X&&(Se=$-(fe.top+fe.bottom)/2,Ce=re.l-o.bulletPadding*re.w)):Se=H._numbersTop-ae-fe.bottom,f(Ce,Se)})})}},16249:function(T,p,t){var d=t(50693),g=t(12663).axisHoverFormat,i=t(5386).fF,M=t(2418),v=t(9012),f=t(1426).extendFlat,l=t(30962).overrideAll,a=T.exports=l(f({x:{valType:"data_array"},y:{valType:"data_array"},z:{valType:"data_array"},value:{valType:"data_array"},isomin:{valType:"number"},isomax:{valType:"number"},surface:{show:{valType:"boolean",dflt:!0},count:{valType:"integer",dflt:2,min:1},fill:{valType:"number",min:0,max:1,dflt:1},pattern:{valType:"flaglist",flags:["A","B","C","D","E"],extras:["all","odd","even"],dflt:"all"}},spaceframe:{show:{valType:"boolean",dflt:!1},fill:{valType:"number",min:0,max:1,dflt:.15}},slices:{x:{show:{valType:"boolean",dflt:!1},locations:{valType:"data_array",dflt:[]},fill:{valType:"number",min:0,max:1,dflt:1}},y:{show:{valType:"boolean",dflt:!1},locations:{valType:"data_array",dflt:[]},fill:{valType:"number",min:0,max:1,dflt:1}},z:{show:{valType:"boolean",dflt:!1},locations:{valType:"data_array",dflt:[]},fill:{valType:"number",min:0,max:1,dflt:1}}},caps:{x:{show:{valType:"boolean",dflt:!0},fill:{valType:"number",min:0,max:1,dflt:1}},y:{show:{valType:"boolean",dflt:!0},fill:{valType:"number",min:0,max:1,dflt:1}},z:{show:{valType:"boolean",dflt:!0},fill:{valType:"number",min:0,max:1,dflt:1}}},text:{valType:"string",dflt:"",arrayOk:!0},hovertext:{valType:"string",dflt:"",arrayOk:!0},hovertemplate:i(),xhoverformat:g("x"),yhoverformat:g("y"),zhoverformat:g("z"),valuehoverformat:g("value",1),showlegend:f({},v.showlegend,{dflt:!1})},d("",{colorAttr:"`value`",showScaleDflt:!0,editTypeOverride:"calc"}),{opacity:M.opacity,lightposition:M.lightposition,lighting:M.lighting,flatshading:M.flatshading,contour:M.contour,hoverinfo:f({},v.hoverinfo)}),"calc","nested");a.flatshading.dflt=!0,a.lighting.facenormalsepsilon.dflt=0,a.x.editType=a.y.editType=a.z.editType=a.value.editType="calc+clearAxisTypes",a.transforms=void 0},56959:function(T,p,t){var d=t(78803),g=t(88489).processGrid,i=t(88489).filter;T.exports=function(M,v){v._len=Math.min(v.x.length,v.y.length,v.z.length,v.value.length),v._x=i(v.x,v._len),v._y=i(v.y,v._len),v._z=i(v.z,v._len),v._value=i(v.value,v._len);var f=g(v);v._gridFill=f.fill,v._Xs=f.Xs,v._Ys=f.Ys,v._Zs=f.Zs,v._len=f.len;for(var l=1/0,a=-1/0,u=0;u0;c--){var m=Math.min(h[c],h[c-1]),w=Math.max(h[c],h[c-1]);if(w>m&&m-1}function ie(je,ge){return je===null?ge:je}function oe(je,ge,we){ne();var Ee,Ve,$e,Ye=[ge],st=[we];if(_>=1)Ye=[ge],st=[we];else if(_>0){var ot=function(qt,Vt){var Ke=qt[0],Je=qt[1],qe=qt[2],nt=function(It,Lt,yt){for(var Pt=[],wt=0;wt-1?we[Et]:H(kt,xt,Ft);bt[Et]=Bt>-1?Bt:Z(kt,xt,Ft,ie(je,Ot))}Ee=bt[0],Ve=bt[1],$e=bt[2],s._meshI.push(Ee),s._meshJ.push(Ve),s._meshK.push($e),++R}}function ue(je,ge,we,Ee){var Ve=je[3];VeEe&&(Ve=Ee);for(var $e=(je[3]-Ve)/(je[3]-ge[3]+1e-9),Ye=[],st=0;st<4;st++)Ye[st]=(1-$e)*je[st]+$e*ge[st];return Ye}function ce(je,ge,we){return je>=ge&&je<=we}function ye(je){var ge=.001*(q-G);return je>=G-ge&&je<=q+ge}function de(je){for(var ge=[],we=0;we<4;we++){var Ee=je[we];ge.push([s._x[Ee],s._y[Ee],s._z[Ee],s._value[Ee]])}return ge}function me(je,ge,we,Ee,Ve,$e){$e||($e=1),we=[-1,-1,-1];var Ye=!1,st=[ce(ge[0][3],Ee,Ve),ce(ge[1][3],Ee,Ve),ce(ge[2][3],Ee,Ve)];if(!st[0]&&!st[1]&&!st[2])return!1;var ot=function(bt,Et,kt){return ye(Et[0][3])&&ye(Et[1][3])&&ye(Et[2][3])?(oe(bt,Et,kt),!0):$e<3&&me(bt,Et,kt,G,q,++$e)};if(st[0]&&st[1]&&st[2])return ot(je,ge,we)||Ye;var ht=!1;return[[0,1,2],[2,0,1],[1,2,0]].forEach(function(bt){if(st[bt[0]]&&st[bt[1]]&&!st[bt[2]]){var Et=ge[bt[0]],kt=ge[bt[1]],xt=ge[bt[2]],Ft=ue(xt,Et,Ee,Ve),Ot=ue(xt,kt,Ee,Ve);Ye=ot(je,[Ot,Ft,Et],[-1,-1,we[bt[0]]])||Ye,Ye=ot(je,[Et,kt,Ot],[we[bt[0]],we[bt[1]],-1])||Ye,ht=!0}}),ht||[[0,1,2],[1,2,0],[2,0,1]].forEach(function(bt){if(st[bt[0]]&&!st[bt[1]]&&!st[bt[2]]){var Et=ge[bt[0]],kt=ge[bt[1]],xt=ge[bt[2]],Ft=ue(kt,Et,Ee,Ve),Ot=ue(xt,Et,Ee,Ve);Ye=ot(je,[Ot,Ft,Et],[-1,-1,we[bt[0]]])||Ye,ht=!0}}),Ye}function pe(je,ge,we,Ee){var Ve=!1,$e=de(ge),Ye=[ce($e[0][3],we,Ee),ce($e[1][3],we,Ee),ce($e[2][3],we,Ee),ce($e[3][3],we,Ee)];if(!(Ye[0]||Ye[1]||Ye[2]||Ye[3]))return Ve;if(Ye[0]&&Ye[1]&&Ye[2]&&Ye[3])return b&&(Ve=function(ot,ht,bt){var Et=function(kt,xt,Ft){oe(ot,[ht[kt],ht[xt],ht[Ft]],[bt[kt],bt[xt],bt[Ft]])};Et(0,1,2),Et(3,0,1),Et(2,3,0),Et(1,2,3)}(je,$e,ge)||Ve),Ve;var st=!1;return[[0,1,2,3],[3,0,1,2],[2,3,0,1],[1,2,3,0]].forEach(function(ot){if(Ye[ot[0]]&&Ye[ot[1]]&&Ye[ot[2]]&&!Ye[ot[3]]){var ht=$e[ot[0]],bt=$e[ot[1]],Et=$e[ot[2]],kt=$e[ot[3]];if(b)Ve=oe(je,[ht,bt,Et],[ge[ot[0]],ge[ot[1]],ge[ot[2]]])||Ve;else{var xt=ue(kt,ht,we,Ee),Ft=ue(kt,bt,we,Ee),Ot=ue(kt,Et,we,Ee);Ve=oe(null,[xt,Ft,Ot],[-1,-1,-1])||Ve}st=!0}}),st||([[0,1,2,3],[1,2,3,0],[2,3,0,1],[3,0,1,2],[0,2,3,1],[1,3,2,0]].forEach(function(ot){if(Ye[ot[0]]&&Ye[ot[1]]&&!Ye[ot[2]]&&!Ye[ot[3]]){var ht=$e[ot[0]],bt=$e[ot[1]],Et=$e[ot[2]],kt=$e[ot[3]],xt=ue(Et,ht,we,Ee),Ft=ue(Et,bt,we,Ee),Ot=ue(kt,bt,we,Ee),Bt=ue(kt,ht,we,Ee);b?(Ve=oe(je,[ht,Bt,xt],[ge[ot[0]],-1,-1])||Ve,Ve=oe(je,[bt,Ft,Ot],[ge[ot[1]],-1,-1])||Ve):Ve=function(qt,Vt,Ke){var Je=function(qe,nt,ft){oe(null,[Vt[qe],Vt[nt],Vt[ft]],[Ke[qe],Ke[nt],Ke[ft]])};Je(0,1,2),Je(2,3,0)}(0,[xt,Ft,Ot,Bt],[-1,-1,-1,-1])||Ve,st=!0}}),st||[[0,1,2,3],[1,2,3,0],[2,3,0,1],[3,0,1,2]].forEach(function(ot){if(Ye[ot[0]]&&!Ye[ot[1]]&&!Ye[ot[2]]&&!Ye[ot[3]]){var ht=$e[ot[0]],bt=$e[ot[1]],Et=$e[ot[2]],kt=$e[ot[3]],xt=ue(bt,ht,we,Ee),Ft=ue(Et,ht,we,Ee),Ot=ue(kt,ht,we,Ee);b?(Ve=oe(je,[ht,xt,Ft],[ge[ot[0]],-1,-1])||Ve,Ve=oe(je,[ht,Ft,Ot],[ge[ot[0]],-1,-1])||Ve,Ve=oe(je,[ht,Ot,xt],[ge[ot[0]],-1,-1])||Ve):Ve=oe(null,[xt,Ft,Ot],[-1,-1,-1])||Ve,st=!0}})),Ve}function xe(je,ge,we,Ee,Ve,$e,Ye,st,ot,ht,bt){var Et=!1;return L&&(re(je,"A")&&(Et=pe(null,[ge,we,Ee,$e],ht,bt)||Et),re(je,"B")&&(Et=pe(null,[we,Ee,Ve,ot],ht,bt)||Et),re(je,"C")&&(Et=pe(null,[we,$e,Ye,ot],ht,bt)||Et),re(je,"D")&&(Et=pe(null,[Ee,$e,st,ot],ht,bt)||Et),re(je,"E")&&(Et=pe(null,[we,Ee,$e,ot],ht,bt)||Et)),b&&(Et=pe(je,[we,Ee,$e,ot],ht,bt)||Et),Et}function Pe(je,ge,we,Ee,Ve,$e,Ye,st){return[st[0]===!0||me(je,de([ge,we,Ee]),[ge,we,Ee],$e,Ye),st[1]===!0||me(je,de([Ee,Ve,ge]),[Ee,Ve,ge],$e,Ye)]}function _e(je,ge,we,Ee,Ve,$e,Ye,st,ot){return st?Pe(je,ge,we,Ve,Ee,$e,Ye,ot):Pe(je,we,Ve,Ee,ge,$e,Ye,ot)}function Me(je,ge,we,Ee,Ve,$e,Ye){var st,ot,ht,bt,Et=!1,kt=function(){Et=me(je,[st,ot,ht],[-1,-1,-1],Ve,$e)||Et,Et=me(je,[ht,bt,st],[-1,-1,-1],Ve,$e)||Et},xt=Ye[0],Ft=Ye[1],Ot=Ye[2];return xt&&(st=X(de([j(ge,we-0,Ee-0)])[0],de([j(ge-1,we-0,Ee-0)])[0],xt),ot=X(de([j(ge,we-0,Ee-1)])[0],de([j(ge-1,we-0,Ee-1)])[0],xt),ht=X(de([j(ge,we-1,Ee-1)])[0],de([j(ge-1,we-1,Ee-1)])[0],xt),bt=X(de([j(ge,we-1,Ee-0)])[0],de([j(ge-1,we-1,Ee-0)])[0],xt),kt()),Ft&&(st=X(de([j(ge-0,we,Ee-0)])[0],de([j(ge-0,we-1,Ee-0)])[0],Ft),ot=X(de([j(ge-0,we,Ee-1)])[0],de([j(ge-0,we-1,Ee-1)])[0],Ft),ht=X(de([j(ge-1,we,Ee-1)])[0],de([j(ge-1,we-1,Ee-1)])[0],Ft),bt=X(de([j(ge-1,we,Ee-0)])[0],de([j(ge-1,we-1,Ee-0)])[0],Ft),kt()),Ot&&(st=X(de([j(ge-0,we-0,Ee)])[0],de([j(ge-0,we-0,Ee-1)])[0],Ot),ot=X(de([j(ge-0,we-1,Ee)])[0],de([j(ge-0,we-1,Ee-1)])[0],Ot),ht=X(de([j(ge-1,we-1,Ee)])[0],de([j(ge-1,we-1,Ee-1)])[0],Ot),bt=X(de([j(ge-1,we-0,Ee)])[0],de([j(ge-1,we-0,Ee-1)])[0],Ot),kt()),Et}function Se(je,ge,we,Ee,Ve,$e,Ye,st,ot,ht,bt,Et){var kt=je;return Et?(L&&je==="even"&&(kt=null),xe(kt,ge,we,Ee,Ve,$e,Ye,st,ot,ht,bt)):(L&&je==="odd"&&(kt=null),xe(kt,ot,st,Ye,$e,Ve,Ee,we,ge,ht,bt))}function Ce(je,ge,we,Ee,Ve){for(var $e=[],Ye=0,st=0;stMath.abs($e-U)?[$,$e]:[$e,U];L=!0,be(ge,Ye[0],Ye[1]),L=!1}}var st=[[Math.min(G,U),Math.max(G,U)],[Math.min($,q),Math.max($,q)]];["x","y","z"].forEach(function(ot){for(var ht=[],bt=0;bt0&&(Bt.push(Ke.id),ot==="x"?qt.push([Ke.distRatio,0,0]):ot==="y"?qt.push([0,Ke.distRatio,0]):qt.push([0,0,Ke.distRatio]))}else Ot=ze(1,ot==="x"?F-1:ot==="y"?B-1:N-1);Bt.length>0&&(ht[Et]=ot==="x"?ke(je,Bt,kt,xt,qt,ht[Et]):ot==="y"?Le(je,Bt,kt,xt,qt,ht[Et]):Be(je,Bt,kt,xt,qt,ht[Et]),Et++),Ot.length>0&&(ht[Et]=ot==="x"?Ce(je,Ot,kt,xt,ht[Et]):ot==="y"?ae(je,Ot,kt,xt,ht[Et]):fe(je,Ot,kt,xt,ht[Et]),Et++)}var Je=s.caps[ot];Je.show&&Je.fill&&(Q(Je.fill),ht[Et]=ot==="x"?Ce(je,[0,F-1],kt,xt,ht[Et]):ot==="y"?ae(je,[0,B-1],kt,xt,ht[Et]):fe(je,[0,N-1],kt,xt,ht[Et]),Et++)}}),R===0&&te(),s._meshX=m,s._meshY=w,s._meshZ=y,s._meshIntensity=C,s._Xs=I,s._Ys=O,s._Zs=z}(),s}T.exports={findNearestOnAxis:f,generateIsoMeshes:o,createIsosurfaceTrace:function(s,h){var c=s.glplot.gl,m=d({gl:c}),w=new l(s,m,h.uid);return m._trace=w,w.update(h),s.glplot.add(m),w}}},82738:function(T,p,t){var d=t(71828),g=t(73972),i=t(16249),M=t(1586);function v(f,l,a,u,o){var s=o("isomin"),h=o("isomax");h!=null&&s!=null&&s>h&&(l.isomin=null,l.isomax=null);var c=o("x"),m=o("y"),w=o("z"),y=o("value");c&&c.length&&m&&m.length&&w&&w.length&&y&&y.length?(g.getComponentMethod("calendars","handleTraceDefaults")(f,l,["x","y","z"],u),o("valuehoverformat"),["x","y","z"].forEach(function(C){o(C+"hoverformat");var _="caps."+C;o(_+".show")&&o(_+".fill");var k="slices."+C;o(k+".show")&&(o(k+".fill"),o(k+".locations"))}),o("spaceframe.show")&&o("spaceframe.fill"),o("surface.show")&&(o("surface.count"),o("surface.fill"),o("surface.pattern")),o("contour.show")&&(o("contour.color"),o("contour.width")),["text","hovertext","hovertemplate","lighting.ambient","lighting.diffuse","lighting.specular","lighting.roughness","lighting.fresnel","lighting.vertexnormalsepsilon","lighting.facenormalsepsilon","lightposition.x","lightposition.y","lightposition.z","flatshading","opacity"].forEach(function(C){o(C)}),M(f,l,u,o,{prefix:"",cLetter:"c"}),l._length=null):l.visible=!1}T.exports={supplyDefaults:function(f,l,a,u){v(f,l,0,u,function(o,s){return d.coerce(f,l,i,o,s)})},supplyIsoDefaults:v}},64943:function(T,p,t){T.exports={attributes:t(16249),supplyDefaults:t(82738).supplyDefaults,calc:t(56959),colorbar:{min:"cmin",max:"cmax"},plot:t(22674).createIsosurfaceTrace,moduleType:"trace",name:"isosurface",basePlotModule:t(58547),categories:["gl3d","showLegend"],meta:{}}},2418:function(T,p,t){var d=t(50693),g=t(12663).axisHoverFormat,i=t(5386).fF,M=t(54532),v=t(9012),f=t(1426).extendFlat;T.exports=f({x:{valType:"data_array",editType:"calc+clearAxisTypes"},y:{valType:"data_array",editType:"calc+clearAxisTypes"},z:{valType:"data_array",editType:"calc+clearAxisTypes"},i:{valType:"data_array",editType:"calc"},j:{valType:"data_array",editType:"calc"},k:{valType:"data_array",editType:"calc"},text:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertemplate:i({editType:"calc"}),xhoverformat:g("x"),yhoverformat:g("y"),zhoverformat:g("z"),delaunayaxis:{valType:"enumerated",values:["x","y","z"],dflt:"z",editType:"calc"},alphahull:{valType:"number",dflt:-1,editType:"calc"},intensity:{valType:"data_array",editType:"calc"},intensitymode:{valType:"enumerated",values:["vertex","cell"],dflt:"vertex",editType:"calc"},color:{valType:"color",editType:"calc"},vertexcolor:{valType:"data_array",editType:"calc"},facecolor:{valType:"data_array",editType:"calc"},transforms:void 0},d("",{colorAttr:"`intensity`",showScaleDflt:!0,editTypeOverride:"calc"}),{opacity:M.opacity,flatshading:{valType:"boolean",dflt:!1,editType:"calc"},contour:{show:f({},M.contours.x.show,{}),color:M.contours.x.color,width:M.contours.x.width,editType:"calc"},lightposition:{x:f({},M.lightposition.x,{dflt:1e5}),y:f({},M.lightposition.y,{dflt:1e5}),z:f({},M.lightposition.z,{dflt:0}),editType:"calc"},lighting:f({vertexnormalsepsilon:{valType:"number",min:0,max:1,dflt:1e-12,editType:"calc"},facenormalsepsilon:{valType:"number",min:0,max:1,dflt:1e-6,editType:"calc"},editType:"calc"},M.lighting),hoverinfo:f({},v.hoverinfo,{editType:"calc"}),showlegend:f({},v.showlegend,{dflt:!1})})},82932:function(T,p,t){var d=t(78803);T.exports=function(g,i){i.intensity&&d(g,i,{vals:i.intensity,containerStr:"",cLetter:"c"})}},91134:function(T,p,t){var d=t(9330).gl_mesh3d,g=t(9330).delaunay_triangulate,i=t(9330).alpha_shape,M=t(9330).convex_hull,v=t(81697).parseColorScale,f=t(78614),l=t(21081).extractOpts,a=t(90060);function u(w,y,C){this.scene=w,this.uid=C,this.mesh=y,this.name="",this.color="#fff",this.data=null,this.showContour=!1}var o=u.prototype;function s(w){for(var y=[],C=w.length,_=0;_=y-.5)return!1;return!0}o.handlePick=function(w){if(w.object===this.mesh){var y=w.index=w.data.index;w.data._cellCenter?w.traceCoordinate=w.data.dataCoordinate:w.traceCoordinate=[this.data.x[y],this.data.y[y],this.data.z[y]];var C=this.data.hovertext||this.data.text;return Array.isArray(C)&&C[y]!==void 0?w.textLabel=C[y]:C&&(w.textLabel=C),!0}},o.update=function(w){var y=this.scene,C=y.fullSceneLayout;this.data=w;var _,k=w.x.length,E=a(h(C.xaxis,w.x,y.dataScale[0],w.xcalendar),h(C.yaxis,w.y,y.dataScale[1],w.ycalendar),h(C.zaxis,w.z,y.dataScale[2],w.zcalendar));if(w.i&&w.j&&w.k){if(w.i.length!==w.j.length||w.j.length!==w.k.length||!m(w.i,k)||!m(w.j,k)||!m(w.k,k))return;_=a(c(w.i),c(w.j),c(w.k))}else _=w.alphahull===0?M(E):w.alphahull>0?i(w.alphahull,E):function(b,R){for(var I=["x","y","z"].indexOf(b),O=[],z=R.length,F=0;Fx):E=F>I,x=F;var B=c(I,O,z,F);B.pos=R,B.yc=(I+F)/2,B.i=b,B.dir=E?"increasing":"decreasing",B.x=B.pos,B.y=[z,O],A&&(B.orig_p=o[b]),_&&(B.tx=u.text[b]),k&&(B.htx=u.hovertext[b]),L.push(B)}else L.push({pos:R,empty:!0})}return u._extremes[h._id]=i.findExtremes(h,d.concat(y,w),{padded:!0}),L.length&&(L[0].t={labels:{open:g(a,"open:")+" ",high:g(a,"high:")+" ",low:g(a,"low:")+" ",close:g(a,"close:")+" "}}),L}T.exports={calc:function(a,u){var o=i.getFromId(a,u.xaxis),s=i.getFromId(a,u.yaxis),h=function(C,_,k){var E=k._minDiff;if(!E){var x,A=C._fullData,L=[];for(E=1/0,x=0;x"+_.labels[O]+d.hoverLabelText(y,z,C.yhoverformat):((I=g.extendFlat({},E)).y0=I.y1=F,I.yLabelVal=z,I.yLabel=_.labels[O]+d.hoverLabelText(y,z,C.yhoverformat),I.name="",k.push(I),b[z]=I)}return k}function o(s,h,c,m){var w=s.cd,y=s.ya,C=w[0].trace,_=w[0].t,k=a(s,h,c,m);if(!k)return[];var E=w[k.index],x=k.index=E.i,A=E.dir;function L(B){return _.labels[B]+d.hoverLabelText(y,C[B][x],C.yhoverformat)}var b=E.hi||C.hoverinfo,R=b.split("+"),I=b==="all",O=I||R.indexOf("y")!==-1,z=I||R.indexOf("text")!==-1,F=O?[L("open"),L("high"),L("low"),L("close")+" "+l[A]]:[];return z&&v(E,C,F),k.extraText=F.join("
"),k.y0=k.y1=y.c2p(E.yc,!0),[k]}T.exports={hoverPoints:function(s,h,c,m){return s.cd[0].trace.hoverlabel.split?u(s,h,c,m):o(s,h,c,m)},hoverSplit:u,hoverOnPoints:o}},54186:function(T,p,t){T.exports={moduleType:"trace",name:"ohlc",basePlotModule:t(93612),categories:["cartesian","svg","showLegend"],meta:{},attributes:t(2522),supplyDefaults:t(16169),calc:t(3485).calc,plot:t(72314),style:t(53101),hoverPoints:t(66449).hoverPoints,selectPoints:t(67324)}},14555:function(T,p,t){var d=t(73972),g=t(71828);T.exports=function(i,M,v,f){var l=v("x"),a=v("open"),u=v("high"),o=v("low"),s=v("close");if(v("hoverlabel.split"),d.getComponentMethod("calendars","handleTraceDefaults")(i,M,["x"],f),a&&u&&o&&s){var h=Math.min(a.length,u.length,o.length,s.length);return l&&(h=Math.min(h,g.minRowLength(l))),M._length=h,h}}},72314:function(T,p,t){var d=t(39898),g=t(71828);T.exports=function(i,M,v,f){var l=M.yaxis,a=M.xaxis,u=!!a.rangebreaks;g.makeTraceGroups(f,v,"trace ohlc").each(function(o){var s=d.select(this),h=o[0],c=h.t;if(h.trace.visible!==!0||c.empty)s.remove();else{var m=c.tickLen,w=s.selectAll("path").data(g.identity);w.enter().append("path"),w.exit().remove(),w.attr("d",function(y){if(y.empty)return"M0,0Z";var C=a.c2p(y.pos-m,!0),_=a.c2p(y.pos+m,!0),k=u?(C+_)/2:a.c2p(y.pos,!0);return"M"+C+","+l.c2p(y.o,!0)+"H"+k+"M"+k+","+l.c2p(y.h,!0)+"V"+l.c2p(y.l,!0)+"M"+_+","+l.c2p(y.c,!0)+"H"+k})}})}},67324:function(T){T.exports=function(p,t){var d,g=p.cd,i=p.xaxis,M=p.yaxis,v=[],f=g[0].t.bPos||0;if(t===!1)for(d=0;d=Z.length||X[Z[Q]]!==void 0)return!1;X[Z[Q]]=!0}return!0}(te))for(ne=0;ne0;y&&(m="array");var C=s("categoryorder",m);C==="array"?(s("categoryarray"),s("ticktext")):(delete u.categoryarray,delete u.ticktext),y||C!=="array"||(o.categoryorder="trace")}}T.exports=function(u,o,s,h){function c(_,k){return d.coerce(u,o,f,_,k)}var m=v(u,o,{name:"dimensions",handleItemDefaults:a}),w=function(_,k,E,x,A){A("line.shape"),A("line.hovertemplate");var L=A("line.color",x.colorway[0]);if(g(_,"line")&&d.isArrayOrTypedArray(L)){if(L.length)return A("line.colorscale"),i(_,k,x,A,{prefix:"line.",cLetter:"c"}),L.length;k.line.color=E}return 1/0}(u,o,s,h,c);M(o,h,c),Array.isArray(m)&&m.length||(o.visible=!1),l(o,m,"values",w),c("hoveron"),c("hovertemplate"),c("arrangement"),c("bundlecolors"),c("sortpaths"),c("counts");var y={family:h.font.family,size:Math.round(h.font.size),color:h.font.color};d.coerceFont(c,"labelfont",y);var C={family:h.font.family,size:Math.round(h.font.size/1.2),color:h.font.color};d.coerceFont(c,"tickfont",C)}},94873:function(T,p,t){T.exports={attributes:t(99506),supplyDefaults:t(14647),calc:t(28699),plot:t(45784),colorbar:{container:"line",min:"cmin",max:"cmax"},moduleType:"trace",name:"parcats",basePlotModule:t(27677),categories:["noOpacity"],meta:{}}},45460:function(T,p,t){var d=t(39898),g=t(81684).k4,i=t(72391),M=t(30211),v=t(71828),f=v.strTranslate,l=t(91424),a=t(84267),u=t(63893);function o(te,Z,X,Q){var re=Z._context.staticPlot,ie=te.map(U.bind(0,Z,X)),oe=Q.selectAll("g.parcatslayer").data([null]);oe.enter().append("g").attr("class","parcatslayer").style("pointer-events",re?"none":"all");var ue=oe.selectAll("g.trace.parcats").data(ie,s),ce=ue.enter().append("g").attr("class","trace parcats");ue.attr("transform",function(Se){return f(Se.x,Se.y)}),ce.append("g").attr("class","paths");var ye=ue.select("g.paths").selectAll("path.path").data(function(Se){return Se.paths},s);ye.attr("fill",function(Se){return Se.model.color});var de=ye.enter().append("path").attr("class","path").attr("stroke-opacity",0).attr("fill",function(Se){return Se.model.color}).attr("fill-opacity",0);k(de),ye.attr("d",function(Se){return Se.svgD}),de.empty()||ye.sort(c),ye.exit().remove(),ye.on("mouseover",m).on("mouseout",w).on("click",_),ce.append("g").attr("class","dimensions");var me=ue.select("g.dimensions").selectAll("g.dimension").data(function(Se){return Se.dimensions},s);me.enter().append("g").attr("class","dimension"),me.attr("transform",function(Se){return f(Se.x,0)}),me.exit().remove();var pe=me.selectAll("g.category").data(function(Se){return Se.categories},s),xe=pe.enter().append("g").attr("class","category");pe.attr("transform",function(Se){return f(0,Se.y)}),xe.append("rect").attr("class","catrect").attr("pointer-events","none"),pe.select("rect.catrect").attr("fill","none").attr("width",function(Se){return Se.width}).attr("height",function(Se){return Se.height}),x(xe);var Pe=pe.selectAll("rect.bandrect").data(function(Se){return Se.bands},s);Pe.each(function(){v.raiseToTop(this)}),Pe.attr("fill",function(Se){return Se.color});var _e=Pe.enter().append("rect").attr("class","bandrect").attr("stroke-opacity",0).attr("fill",function(Se){return Se.color}).attr("fill-opacity",0);Pe.attr("fill",function(Se){return Se.color}).attr("width",function(Se){return Se.width}).attr("height",function(Se){return Se.height}).attr("y",function(Se){return Se.y}).attr("cursor",function(Se){return Se.parcatsViewModel.arrangement==="fixed"?"default":Se.parcatsViewModel.arrangement==="perpendicular"?"ns-resize":"move"}),A(_e),Pe.exit().remove(),xe.append("text").attr("class","catlabel").attr("pointer-events","none");var Me=Z._fullLayout.paper_bgcolor;pe.select("text.catlabel").attr("text-anchor",function(Se){return h(Se)?"start":"end"}).attr("alignment-baseline","middle").style("text-shadow",u.makeTextShadow(Me)).style("fill","rgb(0, 0, 0)").attr("x",function(Se){return h(Se)?Se.width+5:-5}).attr("y",function(Se){return Se.height/2}).text(function(Se){return Se.model.categoryLabel}).each(function(Se){l.font(d.select(this),Se.parcatsViewModel.categorylabelfont),u.convertToTspans(d.select(this),Z)}),xe.append("text").attr("class","dimlabel"),pe.select("text.dimlabel").attr("text-anchor","middle").attr("alignment-baseline","baseline").attr("cursor",function(Se){return Se.parcatsViewModel.arrangement==="fixed"?"default":"ew-resize"}).attr("x",function(Se){return Se.width/2}).attr("y",-5).text(function(Se,Ce){return Ce===0?Se.parcatsViewModel.model.dimensions[Se.model.dimensionInd].dimensionLabel:null}).each(function(Se){l.font(d.select(this),Se.parcatsViewModel.labelfont)}),pe.selectAll("rect.bandrect").on("mouseover",O).on("mouseout",z),pe.exit().remove(),me.call(d.behavior.drag().origin(function(Se){return{x:Se.x,y:0}}).on("dragstart",F).on("drag",B).on("dragend",N)),ue.each(function(Se){Se.traceSelection=d.select(this),Se.pathSelection=d.select(this).selectAll("g.paths").selectAll("path.path"),Se.dimensionSelection=d.select(this).selectAll("g.dimensions").selectAll("g.dimension")}),ue.exit().remove()}function s(te){return te.key}function h(te){var Z=te.parcatsViewModel.dimensions.length,X=te.parcatsViewModel.dimensions[Z-1].model.dimensionInd;return te.model.dimensionInd===X}function c(te,Z){return te.model.rawColor>Z.model.rawColor?1:te.model.rawColor"),ke=d.mouse(ue)[0];M.loneHover({trace:ce,x:Pe-de.left+me.left,y:_e-de.top+me.top,text:be,color:te.model.color,borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontSize:10,fontColor:Me,idealAlign:ke1&&me.displayInd===de.dimensions.length-1?(Q=ce.left,re="left"):(Q=ce.left+ce.width,re="right");var Pe=ye.model.count,_e=ye.model.categoryLabel,Me=Pe/ye.parcatsViewModel.model.count,Se={countLabel:Pe,categoryLabel:_e,probabilityLabel:Me.toFixed(3)},Ce=[];ye.parcatsViewModel.hoverinfoItems.indexOf("count")!==-1&&Ce.push(["Count:",Se.countLabel].join(" ")),ye.parcatsViewModel.hoverinfoItems.indexOf("probability")!==-1&&Ce.push(["P("+Se.categoryLabel+"):",Se.probabilityLabel].join(" "));var ae=Ce.join("
");return{trace:pe,x:ie*(Q-Z.left),y:oe*(xe-Z.top),text:ae,color:"lightgray",borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontSize:12,fontColor:"black",idealAlign:re,hovertemplate:pe.hovertemplate,hovertemplateLabels:Se,eventData:[{data:pe._input,fullData:pe,count:Pe,category:_e,probability:Me}]}}function O(te){if(!te.parcatsViewModel.dragDimension&&te.parcatsViewModel.hoverinfoItems.indexOf("skip")===-1){if(d.mouse(this)[1]<-1)return;var Z,X=te.parcatsViewModel.graphDiv,Q=X._fullLayout,re=Q._paperdiv.node().getBoundingClientRect(),ie=te.parcatsViewModel.hoveron,oe=this;ie==="color"?(function(ue){var ce=d.select(ue).datum(),ye=L(ce);E(ye),ye.each(function(){v.raiseToTop(this)}),d.select(ue.parentNode).selectAll("rect.bandrect").filter(function(de){return de.color===ce.color}).each(function(){v.raiseToTop(this),d.select(this).attr("stroke","black").attr("stroke-width",1.5)})}(oe),R(oe,"plotly_hover",d.event)):(function(ue){d.select(ue.parentNode).selectAll("rect.bandrect").each(function(ce){var ye=L(ce);E(ye),ye.each(function(){v.raiseToTop(this)})}),d.select(ue.parentNode).select("rect.catrect").attr("stroke","black").attr("stroke-width",2.5)}(oe),b(oe,"plotly_hover",d.event)),te.parcatsViewModel.hoverinfoItems.indexOf("none")===-1&&(ie==="category"?Z=I(X,re,oe):ie==="color"?Z=function(ue,ce,ye){ue._fullLayout._calcInverseTransform(ue);var de,me,pe=ue._fullLayout._invScaleX,xe=ue._fullLayout._invScaleY,Pe=ye.getBoundingClientRect(),_e=d.select(ye).datum(),Me=_e.categoryViewModel,Se=Me.parcatsViewModel,Ce=Se.model.dimensions[Me.model.dimensionInd],ae=Se.trace,fe=Pe.y+Pe.height/2;Se.dimensions.length>1&&Ce.displayInd===Se.dimensions.length-1?(de=Pe.left,me="left"):(de=Pe.left+Pe.width,me="right");var be=Me.model.categoryLabel,ke=_e.parcatsViewModel.model.count,Le=0;_e.categoryViewModel.bands.forEach(function(st){st.color===_e.color&&(Le+=st.count)});var Be=Me.model.count,ze=0;Se.pathSelection.each(function(st){st.model.color===_e.color&&(ze+=st.model.count)});var je=Le/ke,ge=Le/ze,we=Le/Be,Ee={countLabel:ke,categoryLabel:be,probabilityLabel:je.toFixed(3)},Ve=[];Me.parcatsViewModel.hoverinfoItems.indexOf("count")!==-1&&Ve.push(["Count:",Ee.countLabel].join(" ")),Me.parcatsViewModel.hoverinfoItems.indexOf("probability")!==-1&&(Ve.push("P(color ∩ "+be+"): "+Ee.probabilityLabel),Ve.push("P("+be+" | color): "+ge.toFixed(3)),Ve.push("P(color | "+be+"): "+we.toFixed(3)));var $e=Ve.join("
"),Ye=a.mostReadable(_e.color,["black","white"]);return{trace:ae,x:pe*(de-ce.left),y:xe*(fe-ce.top),text:$e,color:_e.color,borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontColor:Ye,fontSize:10,idealAlign:me,hovertemplate:ae.hovertemplate,hovertemplateLabels:Ee,eventData:[{data:ae._input,fullData:ae,category:be,count:ke,probability:je,categorycount:Be,colorcount:ze,bandcolorcount:Le}]}}(X,re,oe):ie==="dimension"&&(Z=function(ue,ce,ye){var de=[];return d.select(ye.parentNode.parentNode).selectAll("g.category").select("rect.catrect").each(function(){de.push(I(ue,ce,this))}),de}(X,re,oe)),Z&&M.loneHover(Z,{container:Q._hoverlayer.node(),outerContainer:Q._paper.node(),gd:X}))}}function z(te){var Z=te.parcatsViewModel;Z.dragDimension||(k(Z.pathSelection),x(Z.dimensionSelection.selectAll("g.category")),A(Z.dimensionSelection.selectAll("g.category").selectAll("rect.bandrect")),M.loneUnhover(Z.graphDiv._fullLayout._hoverlayer.node()),Z.pathSelection.sort(c),Z.hoverinfoItems.indexOf("skip")!==-1)||(te.parcatsViewModel.hoveron==="color"?R(this,"plotly_unhover",d.event):b(this,"plotly_unhover",d.event))}function F(te){te.parcatsViewModel.arrangement!=="fixed"&&(te.dragDimensionDisplayInd=te.model.displayInd,te.initialDragDimensionDisplayInds=te.parcatsViewModel.model.dimensions.map(function(Z){return Z.displayInd}),te.dragHasMoved=!1,te.dragCategoryDisplayInd=null,d.select(this).selectAll("g.category").select("rect.catrect").each(function(Z){var X=d.mouse(this)[0],Q=d.mouse(this)[1];-2<=X&&X<=Z.width+2&&-2<=Q&&Q<=Z.height+2&&(te.dragCategoryDisplayInd=Z.model.displayInd,te.initialDragCategoryDisplayInds=te.model.categories.map(function(re){return re.displayInd}),Z.model.dragY=Z.y,v.raiseToTop(this.parentNode),d.select(this.parentNode).selectAll("rect.bandrect").each(function(re){re.yde.y+de.height/2&&(ie.model.displayInd=de.model.displayInd,de.model.displayInd=ue),te.dragCategoryDisplayInd=ie.model.displayInd}if(te.dragCategoryDisplayInd===null||te.parcatsViewModel.arrangement==="freeform"){re.model.dragX=d.event.x;var me=te.parcatsViewModel.dimensions[X],pe=te.parcatsViewModel.dimensions[Q];me!==void 0&&re.model.dragXpe.x&&(re.model.displayInd=pe.model.displayInd,pe.model.displayInd=te.dragDimensionDisplayInd),te.dragDimensionDisplayInd=re.model.displayInd}H(te.parcatsViewModel),q(te.parcatsViewModel),$(te.parcatsViewModel),j(te.parcatsViewModel)}}function N(te){if(te.parcatsViewModel.arrangement!=="fixed"&&te.dragDimensionDisplayInd!==null){d.select(this).selectAll("text").attr("font-weight","normal");var Z={},X=W(te.parcatsViewModel),Q=te.parcatsViewModel.model.dimensions.map(function(de){return de.displayInd}),re=te.initialDragDimensionDisplayInds.some(function(de,me){return de!==Q[me]});re&&Q.forEach(function(de,me){var pe=te.parcatsViewModel.model.dimensions[me].containerInd;Z["dimensions["+pe+"].displayindex"]=de});var ie=!1;if(te.dragCategoryDisplayInd!==null){var oe=te.model.categories.map(function(de){return de.displayInd});if(ie=te.initialDragCategoryDisplayInds.some(function(de,me){return de!==oe[me]})){var ue=te.model.categories.slice().sort(function(de,me){return de.displayInd-me.displayInd}),ce=ue.map(function(de){return de.categoryValue}),ye=ue.map(function(de){return de.categoryLabel});Z["dimensions["+te.model.containerInd+"].categoryarray"]=[ce],Z["dimensions["+te.model.containerInd+"].ticktext"]=[ye],Z["dimensions["+te.model.containerInd+"].categoryorder"]="array"}}te.parcatsViewModel.hoverinfoItems.indexOf("skip")===-1&&!te.dragHasMoved&&te.potentialClickBand&&(te.parcatsViewModel.hoveron==="color"?R(te.potentialClickBand,"plotly_click",d.event.sourceEvent):b(te.potentialClickBand,"plotly_click",d.event.sourceEvent)),te.model.dragX=null,te.dragCategoryDisplayInd!==null&&(te.parcatsViewModel.dimensions[te.dragDimensionDisplayInd].categories[te.dragCategoryDisplayInd].model.dragY=null,te.dragCategoryDisplayInd=null),te.dragDimensionDisplayInd=null,te.parcatsViewModel.dragDimension=null,te.dragHasMoved=null,te.potentialClickBand=null,H(te.parcatsViewModel),q(te.parcatsViewModel),d.transition().duration(300).ease("cubic-in-out").each(function(){$(te.parcatsViewModel,!0),j(te.parcatsViewModel,!0)}).each("end",function(){(re||ie)&&i.restyle(te.parcatsViewModel.graphDiv,Z,[X])})}}function W(te){for(var Z,X=te.graphDiv._fullData,Q=0;Q=0;oe--)ye+="C"+ce[oe]+","+(Z[oe+1]+Q)+" "+ue[oe]+","+(Z[oe]+Q)+" "+(te[oe]+X[oe])+","+(Z[oe]+Q),ye+="l-"+X[oe]+",0 ";return ye+"Z"}function q(te){var Z=te.dimensions,X=te.model,Q=Z.map(function(Ee){return Ee.categories.map(function(Ve){return Ve.y})}),re=te.model.dimensions.map(function(Ee){return Ee.categories.map(function(Ve){return Ve.displayInd})}),ie=te.model.dimensions.map(function(Ee){return Ee.displayInd}),oe=te.dimensions.map(function(Ee){return Ee.model.dimensionInd}),ue=Z.map(function(Ee){return Ee.x}),ce=Z.map(function(Ee){return Ee.width}),ye=[];for(var de in X.paths)X.paths.hasOwnProperty(de)&&ye.push(X.paths[de]);function me(Ee){var Ve=Ee.categoryInds.map(function($e,Ye){return re[Ye][$e]});return oe.map(function($e){return Ve[$e]})}ye.sort(function(Ee,Ve){var $e=me(Ee),Ye=me(Ve);return te.sortpaths==="backward"&&($e.reverse(),Ye.reverse()),$e.push(Ee.valueInds[0]),Ye.push(Ve.valueInds[0]),te.bundlecolors&&($e.unshift(Ee.rawColor),Ye.unshift(Ve.rawColor)),$eYe?1:0});for(var pe=new Array(ye.length),xe=Z[0].model.count,Pe=Z[0].categories.map(function(Ee){return Ee.height}).reduce(function(Ee,Ve){return Ee+Ve}),_e=0;_e0?Pe*(Se.count/xe):0;for(var Ce,ae=new Array(Q.length),fe=0;fe1?(te.width-80-16)/(Q-1):0)*re;var ie,oe,ue,ce,ye,de=[],me=te.model.maxCats,pe=Z.categories.length,xe=Z.count,Pe=te.height-8*(me-1),_e=8*(me-pe)/2,Me=Z.categories.map(function(Se){return{displayInd:Se.displayInd,categoryInd:Se.categoryInd}});for(Me.sort(function(Se,Ce){return Se.displayInd-Ce.displayInd}),ye=0;ye0?oe.count/xe*Pe:0,ue={key:oe.valueInds[0],model:oe,width:16,height:ie,y:oe.dragY!==null?oe.dragY:_e,bands:[],parcatsViewModel:te},_e=_e+ie+8,de.push(ue);return{key:Z.dimensionInd,x:Z.dragX!==null?Z.dragX:X,y:0,width:16,model:Z,categories:de,parcatsViewModel:te,dragCategoryDisplayInd:null,dragDimensionDisplayInd:null,initialDragDimensionDisplayInds:null,initialDragCategoryDisplayInds:null,dragHasMoved:null,potentialClickBand:null}}T.exports=function(te,Z,X,Q){o(X,te,Q,Z)}},45784:function(T,p,t){var d=t(45460);T.exports=function(g,i,M,v){var f=g._fullLayout,l=f._paper,a=f._size;d(g,l,i,{width:a.w,height:a.h,margin:{t:a.t,r:a.r,b:a.b,l:a.l}},M,v)}},73362:function(T,p,t){var d=t(50693),g=t(13838),i=t(41940),M=t(27670).Y,v=t(1426).extendFlat,f=t(44467).templatedArray;T.exports={domain:M({name:"parcoords",trace:!0,editType:"plot"}),labelangle:{valType:"angle",dflt:0,editType:"plot"},labelside:{valType:"enumerated",values:["top","bottom"],dflt:"top",editType:"plot"},labelfont:i({editType:"plot"}),tickfont:i({editType:"plot"}),rangefont:i({editType:"plot"}),dimensions:f("dimension",{label:{valType:"string",editType:"plot"},tickvals:v({},g.tickvals,{editType:"plot"}),ticktext:v({},g.ticktext,{editType:"plot"}),tickformat:v({},g.tickformat,{editType:"plot"}),visible:{valType:"boolean",dflt:!0,editType:"plot"},range:{valType:"info_array",items:[{valType:"number",editType:"plot"},{valType:"number",editType:"plot"}],editType:"plot"},constraintrange:{valType:"info_array",freeLength:!0,dimensions:"1-2",items:[{valType:"any",editType:"plot"},{valType:"any",editType:"plot"}],editType:"plot"},multiselect:{valType:"boolean",dflt:!0,editType:"plot"},values:{valType:"data_array",editType:"calc"},editType:"calc"}),line:v({editType:"calc"},d("line",{colorscaleDflt:"Viridis",autoColorDflt:!1,editTypeOverride:"calc"})),unselected:{line:{color:{valType:"color",dflt:"#7f7f7f",editType:"plot"},opacity:{valType:"number",min:0,max:1,dflt:"auto",editType:"plot"},editType:"plot"},editType:"plot"}}},57920:function(T,p,t){var d=t(25706),g=t(39898),i=t(28984).keyFun,M=t(28984).repeat,v=t(71828).sorterAsc,f=t(71828).strTranslate,l=d.bar.snapRatio;function a(I,O){return I*(1-l)+O*l}var u=d.bar.snapClose;function o(I,O){return I*(1-u)+O*u}function s(I,O,z,F){if(function(ne,te){for(var Z=0;Z=te[Z][0]&&ne<=te[Z][1])return!0;return!1}(z,F))return z;var B=I?-1:1,N=0,W=O.length-1;if(B<0){var j=N;N=W,W=j}for(var $=O[N],U=$,G=N;B*GO){q=z;break}}if(B=U,isNaN(B)&&(B=isNaN(G)||isNaN(q)?isNaN(G)?q:G:O-$[G][1]<$[q][0]-O?G:q),!isNaN(B)){var ne=$[B],te=function(re,ie){var oe=d.bar.handleHeight;if(!(ie>re[1]+oe||ie=.9*re[1]+.1*re[0]?"n":ie<=.9*re[0]+.1*re[1]?"s":"ns"}(ne,O);te&&(N.interval=j[B],N.intervalPix=ne,N.region=te)}}if(I.ordinal&&!N.region){var Z=I.unitTickvals,X=I.unitToPaddedPx.invert(O);for(z=0;z=Q[0]&&X<=Q[1]){N.clickableOrdinalRange=Q;break}}}return N}function E(I,O){g.event.sourceEvent.stopPropagation();var z=O.height-g.mouse(I)[1]-2*d.verticalPadding,F=O.brush.svgBrush;F.wasDragged=!0,F._dragging=!0,F.grabbingBar?F.newExtent=[z-F.grabPoint,z+F.barLength-F.grabPoint].map(O.unitToPaddedPx.invert):F.newExtent=[F.startExtent,O.unitToPaddedPx.invert(z)].sort(v),O.brush.filterSpecified=!0,F.extent=F.stayingIntervals.concat([F.newExtent]),F.brushCallback(O),_(I.parentNode)}function x(I,O){var z=k(O,O.height-g.mouse(I)[1]-2*d.verticalPadding),F="crosshair";z.clickableOrdinalRange?F="pointer":z.region&&(F=z.region+"-resize"),g.select(document.body).style("cursor",F)}function A(I){I.on("mousemove",function(O){g.event.preventDefault(),O.parent.inBrushDrag||x(this,O)}).on("mouseleave",function(O){O.parent.inBrushDrag||y()}).call(g.behavior.drag().on("dragstart",function(O){(function(z,F){g.event.sourceEvent.stopPropagation();var B=F.height-g.mouse(z)[1]-2*d.verticalPadding,N=F.unitToPaddedPx.invert(B),W=F.brush,j=k(F,B),$=j.interval,U=W.svgBrush;if(U.wasDragged=!1,U.grabbingBar=j.region==="ns",U.grabbingBar){var G=$.map(F.unitToPaddedPx);U.grabPoint=B-G[0]-d.verticalPadding,U.barLength=G[1]-G[0]}U.clickableOrdinalRange=j.clickableOrdinalRange,U.stayingIntervals=F.multiselect&&W.filterSpecified?W.filter.getConsolidated():[],$&&(U.stayingIntervals=U.stayingIntervals.filter(function(q){return q[0]!==$[0]&&q[1]!==$[1]})),U.startExtent=j.region?$[j.region==="s"?1:0]:N,F.parent.inBrushDrag=!0,U.brushStartCallback()})(this,O)}).on("drag",function(O){E(this,O)}).on("dragend",function(O){(function(z,F){var B=F.brush,N=B.filter,W=B.svgBrush;W._dragging||(x(z,F),E(z,F),F.brush.svgBrush.wasDragged=!1),W._dragging=!1,g.event.sourceEvent.stopPropagation();var j=W.grabbingBar;if(W.grabbingBar=!1,W.grabLocation=void 0,F.parent.inBrushDrag=!1,y(),!W.wasDragged)return W.wasDragged=void 0,W.clickableOrdinalRange?B.filterSpecified&&F.multiselect?W.extent.push(W.clickableOrdinalRange):(W.extent=[W.clickableOrdinalRange],B.filterSpecified=!0):j?(W.extent=W.stayingIntervals,W.extent.length===0&&b(B)):b(B),W.brushCallback(F),_(z.parentNode),void W.brushEndCallback(B.filterSpecified?N.getConsolidated():[]);var $=function(){N.set(N.getConsolidated())};if(F.ordinal){var U=F.unitTickvals;U[U.length-1]W.newExtent[0];W.extent=W.stayingIntervals.concat(G?[W.newExtent]:[]),W.extent.length||b(B),W.brushCallback(F),G?_(z.parentNode,$):($(),_(z.parentNode))}else $();W.brushEndCallback(B.filterSpecified?N.getConsolidated():[])})(this,O)}))}function L(I,O){return I[0]-O[0]}function b(I){I.filterSpecified=!1,I.svgBrush.extent=[[-1/0,1/0]]}function R(I){for(var O,z=I.slice(),F=[],B=z.shift();B;){for(O=B.slice();(B=z.shift())&&B[0]<=O[1];)O[1]=Math.max(O[1],B[1]);F.push(O)}return F.length===1&&F[0][0]>F[0][1]&&(F=[]),F}T.exports={makeBrush:function(I,O,z,F,B,N){var W,j=function(){var $,U,G=[];return{set:function(q){(G=q.map(function(H){return H.slice().sort(v)}).sort(L)).length===1&&G[0][0]===-1/0&&G[0][1]===1/0&&(G=[[0,-1]]),$=R(G),U=G.reduce(function(H,ne){return[Math.min(H[0],ne[0]),Math.max(H[1],ne[1])]},[1/0,-1/0])},get:function(){return G.slice()},getConsolidated:function(){return $},getBounds:function(){return U}}}();return j.set(z),{filter:j,filterSpecified:O,svgBrush:{extent:[],brushStartCallback:F,brushCallback:(W=B,function($){var U=$.brush,G=function(H){return H.svgBrush.extent.map(function(ne){return ne.slice()})}(U),q=G.slice();U.filter.set(q),W()}),brushEndCallback:N}}},ensureAxisBrush:function(I,O,z){var F=I.selectAll("."+d.cn.axisBrush).data(M,i);F.enter().append("g").classed(d.cn.axisBrush,!0),function(B,N,W){var j=W._context.staticPlot,$=B.selectAll(".background").data(M);$.enter().append("rect").classed("background",!0).call(h).call(c).style("pointer-events",j?"none":"auto").attr("transform",f(0,d.verticalPadding)),$.call(A).attr("height",function(q){return q.height-d.verticalPadding});var U=B.selectAll(".highlight-shadow").data(M);U.enter().append("line").classed("highlight-shadow",!0).attr("x",-d.bar.width/2).attr("stroke-width",d.bar.width+d.bar.strokeWidth).attr("stroke",N).attr("opacity",d.bar.strokeOpacity).attr("stroke-linecap","butt"),U.attr("y1",function(q){return q.height}).call(C);var G=B.selectAll(".highlight").data(M);G.enter().append("line").classed("highlight",!0).attr("x",-d.bar.width/2).attr("stroke-width",d.bar.width-d.bar.strokeWidth).attr("stroke",d.bar.fillColor).attr("opacity",d.bar.fillOpacity).attr("stroke-linecap","butt"),G.attr("y1",function(q){return q.height}).call(C)}(F,O,z)},cleanRanges:function(I,O){if(Array.isArray(I[0])?(I=I.map(function(F){return F.sort(v)}),I=O.multiselect?R(I.sort(L)):[I[0]]):I=[I.sort(v)],O.tickvals){var z=O.tickvals.slice().sort(v);if(!(I=I.map(function(F){var B=[s(0,z,F[0],[]),s(1,z,F[1],[])];if(B[1]>B[0])return B}).filter(function(F){return F})).length)return}return I.length>1?I:I[0]}}},71791:function(T,p,t){T.exports={attributes:t(73362),supplyDefaults:t(3633),calc:t(24639),colorbar:{container:"line",min:"cmin",max:"cmax"},moduleType:"trace",name:"parcoords",basePlotModule:t(49351),categories:["gl","regl","noOpacity","noHover"],meta:{}}},49351:function(T,p,t){var d=t(39898),g=t(27659).a0,i=t(21341),M=t(77922);p.name="parcoords",p.plot=function(v){var f=g(v.calcdata,"parcoords")[0];f.length&&i(v,f)},p.clean=function(v,f,l,a){var u=a._has&&a._has("parcoords"),o=f._has&&f._has("parcoords");u&&!o&&(a._paperdiv.selectAll(".parcoords").remove(),a._glimages.selectAll("*").remove())},p.toSVG=function(v){var f=v._fullLayout._glimages,l=d.select(v).selectAll(".svg-container");l.filter(function(a,u){return u===l.size()-1}).selectAll(".gl-canvas-context, .gl-canvas-focus").each(function(){var a=this,u=a.toDataURL("image/png");f.append("svg:image").attr({xmlns:M.svg,"xlink:href":u,preserveAspectRatio:"none",x:0,y:0,width:a.style.width,height:a.style.height})}),window.setTimeout(function(){d.selectAll("#filterBarPattern").attr("id","filterBarPattern")},60)}},24639:function(T,p,t){var d=t(71828).isArrayOrTypedArray,g=t(21081),i=t(28984).wrap;T.exports=function(M,v){var f,l;return g.hasColorscale(v,"line")&&d(v.line.color)?(f=v.line.color,l=g.extractOpts(v.line).colorscale,g.calc(M,v,{vals:f,containerStr:"line",cLetter:"c"})):(f=function(a){for(var u=new Array(a),o=0;ou&&(d.log("parcoords traces support up to "+u+" dimensions at the moment"),C.splice(u));var _=v(h,c,{name:"dimensions",layout:w,handleItemDefaults:s}),k=function(x,A,L,b,R){var I=R("line.color",L);if(g(x,"line")&&d.isArrayOrTypedArray(I)){if(I.length)return R("line.colorscale"),i(x,A,b,R,{prefix:"line.",cLetter:"c"}),I.length;A.line.color=L}return 1/0}(h,c,m,w,y);M(c,w,y),Array.isArray(_)&&_.length||(c.visible=!1),o(c,_,"values",k);var E={family:w.font.family,size:Math.round(w.font.size/1.2),color:w.font.color};d.coerceFont(y,"labelfont",E),d.coerceFont(y,"tickfont",E),d.coerceFont(y,"rangefont",E),y("labelangle"),y("labelside"),y("unselected.line.color"),y("unselected.line.opacity")}},1602:function(T,p,t){var d=t(71828).isTypedArray;p.convertTypedArray=function(g){return d(g)?Array.prototype.slice.call(g):g},p.isOrdinal=function(g){return!!g.tickvals},p.isVisible=function(g){return g.visible||!("visible"in g)}},67618:function(T,p,t){var d=t(71791);d.plot=t(21341),T.exports=d},83398:function(T,p,t){var d=t(56068),g=d([`precision highp float; #define GLSLIFY 1 varying vec4 fragColor; @@ -176,11 +176,11 @@ varying vec4 fragColor; void main() { gl_FragColor = fragColor; } -`]),M=t(25706).maxDimensionCount,v=t(71828),f=new Uint8Array(4),l=new Uint8Array(4),a={shape:[256,1],format:"rgba",type:"uint8",mag:"nearest",min:"nearest"};function u(_,k,E,x,A){var L=_._gl;L.enable(L.SCISSOR_TEST),L.scissor(k,E,x,A),_.clear({color:[0,0,0,0],depth:1})}function o(_,k,E,x,A,L){var b=L.key;E.drawCompleted||(function(R){R.read({x:0,y:0,width:1,height:1,data:f})}(_),E.drawCompleted=!0),function R(I){var O=Math.min(x,A-I*x);I===0&&(window.cancelAnimationFrame(E.currentRafs[b]),delete E.currentRafs[b],u(_,L.scissorX,L.scissorY,L.scissorWidth,L.viewBoxSize[1])),E.clearOnly||(L.count=2*O,L.offset=2*I*x,k(L),I*x+O>>8*k)%256/255}function h(_,k,E){for(var x=new Array(8*k),A=0,L=0;Lie&&(ie=q[te].dim1.canvasX,X=te);Q===0&&u(O,0,0,E.canvasWidth,E.canvasHeight);var oe=function(Me){var Se,Ce,ae,fe=[[],[]];for(ae=0;ae<64;ae++){var be=!Me&&aeoe._length&&(Pe=Pe.slice(0,oe._length));var _e,Me=oe.tickvals;function Se(ke,Le){return{val:ke,text:_e[Le]}}function Ce(ke,Le){return ke.val-Le.val}if(Array.isArray(Me)&&Me.length){_e=oe.ticktext,Array.isArray(_e)&&_e.length?_e.length>Me.length?_e=_e.slice(0,Me.length):Me.length>_e.length&&(Me=Me.slice(0,_e.length)):_e=Me.map(i(oe.tickformat));for(var ae=1;ae=Be||we>=ze)return;var Ee=ke.lineLayer.readPixel(ge,ze-1-we),Ve=Ee[3]!==0,$e=Ve?Ee[2]+256*(Ee[1]+256*Ee[0]):null,Ye={x:ge,y:we,clientX:Le.clientX,clientY:Le.clientY,dataIndex:ke.model.key,curveNumber:$e};$e!==ye&&(Ve?q.hover(Ye):q.unhover&&q.unhover(Ye),ye=$e)}}),ce.style("opacity",function(ke){return ke.pick?0:1}),te.style("background","rgba(255, 255, 255, 0)");var de=te.selectAll("."+y.cn.parcoords).data(ue,c);de.exit().remove(),de.enter().append("g").classed(y.cn.parcoords,!0).style("shape-rendering","crispEdges").style("pointer-events","none"),de.attr("transform",function(ke){return l(ke.model.translateX,ke.model.translateY)});var me=de.selectAll("."+y.cn.parcoordsControlView).data(h,c);me.enter().append("g").classed(y.cn.parcoordsControlView,!0),me.attr("transform",function(ke){return l(ke.model.pad.l,ke.model.pad.t)});var pe=me.selectAll("."+y.cn.yAxis).data(function(ke){return ke.dimensions},c);pe.enter().append("g").classed(y.cn.yAxis,!0),me.each(function(ke){N(pe,ke,X)}),ce.each(function(ke){if(ke.viewModel){!ke.lineLayer||q?ke.lineLayer=_(this,ke):ke.lineLayer.update(ke),(ke.key||ke.key===0)&&(ke.viewModel[ke.key]=ke.lineLayer);var Le=!ke.context||q;ke.lineLayer.render(ke.viewModel.panels,Le)}}),pe.attr("transform",function(ke){return l(ke.xScale(ke.xIndex),0)}),pe.call(d.behavior.drag().origin(function(ke){return ke}).on("drag",function(ke){var Le=ke.parent;oe.linePickActive(!1),ke.x=Math.max(-y.overdrag,Math.min(ke.model.width+y.overdrag,d.event.x)),ke.canvasX=ke.x*ke.model.canvasPixelRatio,pe.sort(function(Be,ze){return Be.x-ze.x}).each(function(Be,ze){Be.xIndex=ze,Be.x=ke===Be?Be.x:Be.xScale(Be.xIndex),Be.canvasX=Be.x*Be.model.canvasPixelRatio}),N(pe,Le,X),pe.filter(function(Be){return Math.abs(ke.xIndex-Be.xIndex)!==0}).attr("transform",function(Be){return l(Be.xScale(Be.xIndex),0)}),d.select(this).attr("transform",l(ke.x,0)),pe.each(function(Be,ze,je){je===ke.parent.key&&(Le.dimensions[ze]=Be)}),Le.contextLayer&&Le.contextLayer.render(Le.panels,!1,!I(Le)),Le.focusLayer.render&&Le.focusLayer.render(Le.panels)}).on("dragend",function(ke){var Le=ke.parent;ke.x=ke.xScale(ke.xIndex),ke.canvasX=ke.x*ke.model.canvasPixelRatio,N(pe,Le,X),d.select(this).attr("transform",function(Be){return l(Be.x,0)}),Le.contextLayer&&Le.contextLayer.render(Le.panels,!1,!I(Le)),Le.focusLayer&&Le.focusLayer.render(Le.panels),Le.pickLayer&&Le.pickLayer.render(Le.panels,!0),oe.linePickActive(!0),q&&q.axesMoved&&q.axesMoved(Le.key,Le.dimensions.map(function(Be){return Be.crossfilterDimensionIndex}))})),pe.exit().remove();var xe=pe.selectAll("."+y.cn.axisOverlays).data(h,c);xe.enter().append("g").classed(y.cn.axisOverlays,!0),xe.selectAll("."+y.cn.axis).remove();var Pe=xe.selectAll("."+y.cn.axis).data(h,c);Pe.enter().append("g").classed(y.cn.axis,!0),Pe.each(function(ke){var Le=ke.model.height/ke.model.tickDistance,Be=ke.domainScale,ze=Be.domain();d.select(this).call(d.svg.axis().orient("left").tickSize(4).outerTickSize(2).ticks(Le,ke.tickFormat).tickValues(ke.ordinal?ze:null).tickFormat(function(je){return w.isOrdinal(ke)?je:W(ke.model.dimensions[ke.visibleIndex],je)}).scale(Be)),u.font(Pe.selectAll("text"),ke.model.tickFont)}),Pe.selectAll(".domain, .tick>line").attr("fill","none").attr("stroke","black").attr("stroke-opacity",.25).attr("stroke-width","1px"),Pe.selectAll("text").style("text-shadow",a.makeTextShadow(Q)).style("cursor","default");var _e=xe.selectAll("."+y.cn.axisHeading).data(h,c);_e.enter().append("g").classed(y.cn.axisHeading,!0);var Me=_e.selectAll("."+y.cn.axisTitle).data(h,c);Me.enter().append("text").classed(y.cn.axisTitle,!0).attr("text-anchor","middle").style("cursor","ew-resize").style("pointer-events",H?"none":"auto"),Me.text(function(ke){return ke.label}).each(function(ke){var Le=d.select(this);u.font(Le,ke.model.labelFont),a.convertToTspans(Le,$)}).attr("transform",function(ke){var Le=B(ke.model.labelAngle,ke.model.labelSide),Be=y.axisTitleOffset;return(Le.dir>0?"":l(0,2*Be+ke.model.height))+f(Le.degrees)+l(-Be*Le.dx,-Be*Le.dy)}).attr("text-anchor",function(ke){var Le=B(ke.model.labelAngle,ke.model.labelSide);return 2*Math.abs(Le.dx)>Math.abs(Le.dy)?Le.dir*Le.dx<0?"start":"end":"middle"});var Se=xe.selectAll("."+y.cn.axisExtent).data(h,c);Se.enter().append("g").classed(y.cn.axisExtent,!0);var Ce=Se.selectAll("."+y.cn.axisExtentTop).data(h,c);Ce.enter().append("g").classed(y.cn.axisExtentTop,!0),Ce.attr("transform",l(0,-y.axisExtentOffset));var ae=Ce.selectAll("."+y.cn.axisExtentTopText).data(h,c);ae.enter().append("text").classed(y.cn.axisExtentTopText,!0).call(F),ae.text(function(ke){return j(ke,!0)}).each(function(ke){u.font(d.select(this),ke.model.rangeFont)});var fe=Se.selectAll("."+y.cn.axisExtentBottom).data(h,c);fe.enter().append("g").classed(y.cn.axisExtentBottom,!0),fe.attr("transform",function(ke){return l(0,ke.model.height+y.axisExtentOffset)});var be=fe.selectAll("."+y.cn.axisExtentBottomText).data(h,c);be.enter().append("text").classed(y.cn.axisExtentBottomText,!0).attr("dy","0.75em").call(F),be.text(function(ke){return j(ke,!1)}).each(function(ke){u.font(d.select(this),ke.model.rangeFont)}),S.ensureAxisBrush(xe,Q,$)}},21341:function(T,p,t){var d=t(17171),g=t(79749),i=t(1602).isVisible,M={};function v(f,l,a){var u=l.indexOf(a),o=f.indexOf(u);return o===-1&&(o+=l.length),o}(T.exports=function(f,l){var a=f._fullLayout;if(g(f,[],M)){var u={},o={},s={},c={},h=a._size;l.forEach(function(m,w){var y=m[0].trace;s[w]=y.index;var S=c[w]=y._fullInput.index;u[w]=f.data[S].dimensions,o[w]=f.data[S].dimensions.slice()}),d(f,l,{width:h.w,height:h.h,margin:{t:h.t,r:h.r,b:h.b,l:h.l}},{filterChanged:function(m,w,y){var S=o[m][w],_=y.map(function(b){return b.slice()}),k="dimensions["+w+"].constraintrange",E=a._tracePreGUI[f._fullData[s[m]]._fullInput.uid];if(E[k]===void 0){var x=S.constraintrange;E[k]=x||null}var A=f._fullData[s[m]].dimensions[w];_.length?(_.length===1&&(_=_[0]),S.constraintrange=_,A.constraintrange=_.slice(),_=[_]):(delete S.constraintrange,delete A.constraintrange,_=null);var L={};L[k]=_,f.emit("plotly_restyle",[L,[c[m]]])},hover:function(m){f.emit("plotly_hover",m)},unhover:function(m){f.emit("plotly_unhover",m)},axesMoved:function(m,w){var y=function(S,_){return function(k,E){return v(S,_,k)-v(S,_,E)}}(w,o[m].filter(i));u[m].sort(y),o[m].filter(function(S){return!i(S)}).sort(function(S){return o[m].indexOf(S)}).forEach(function(S){u[m].splice(u[m].indexOf(S),1),u[m].splice(o[m].indexOf(S),0,S)}),f.emit("plotly_restyle",[{dimensions:[u[m]]},[c[m]]])}})}}).reglPrecompiled=M},34e3:function(T,p,t){var d=t(9012),g=t(27670).Y,i=t(41940),M=t(22399),v=t(5386).fF,f=t(5386).si,l=t(1426).extendFlat,a=i({editType:"plot",arrayOk:!0,colorEditType:"plot"});T.exports={labels:{valType:"data_array",editType:"calc"},label0:{valType:"number",dflt:0,editType:"calc"},dlabel:{valType:"number",dflt:1,editType:"calc"},values:{valType:"data_array",editType:"calc"},marker:{colors:{valType:"data_array",editType:"calc"},line:{color:{valType:"color",dflt:M.defaultLine,arrayOk:!0,editType:"style"},width:{valType:"number",min:0,dflt:0,arrayOk:!0,editType:"style"},editType:"calc"},editType:"calc"},text:{valType:"data_array",editType:"plot"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"style"},scalegroup:{valType:"string",dflt:"",editType:"calc"},textinfo:{valType:"flaglist",flags:["label","text","value","percent"],extras:["none"],editType:"calc"},hoverinfo:l({},d.hoverinfo,{flags:["label","text","value","percent","name"]}),hovertemplate:v({},{keys:["label","color","value","percent","text"]}),texttemplate:f({editType:"plot"},{keys:["label","color","value","percent","text"]}),textposition:{valType:"enumerated",values:["inside","outside","auto","none"],dflt:"auto",arrayOk:!0,editType:"plot"},textfont:l({},a,{}),insidetextorientation:{valType:"enumerated",values:["horizontal","radial","tangential","auto"],dflt:"auto",editType:"plot"},insidetextfont:l({},a,{}),outsidetextfont:l({},a,{}),automargin:{valType:"boolean",dflt:!1,editType:"plot"},title:{text:{valType:"string",dflt:"",editType:"plot"},font:l({},a,{}),position:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],editType:"plot"},editType:"plot"},domain:g({name:"pie",trace:!0,editType:"calc"}),hole:{valType:"number",min:0,max:1,dflt:0,editType:"calc"},sort:{valType:"boolean",dflt:!0,editType:"calc"},direction:{valType:"enumerated",values:["clockwise","counterclockwise"],dflt:"counterclockwise",editType:"calc"},rotation:{valType:"angle",dflt:0,editType:"calc"},pull:{valType:"number",min:0,max:1,dflt:0,arrayOk:!0,editType:"calc"},_deprecated:{title:{valType:"string",dflt:"",editType:"calc"},titlefont:l({},a,{}),titleposition:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],editType:"calc"}}}},13584:function(T,p,t){var d=t(74875);p.name="pie",p.plot=function(g,i,M,v){d.plotBasePlot(p.name,g,i,M,v)},p.clean=function(g,i,M,v){d.cleanBasePlot(p.name,g,i,M,v)}},32354:function(T,p,t){var d=t(92770),g=t(84267),i=t(7901),M={};function v(l){return function(a,u){return!!a&&!!(a=g(a)).isValid()&&(a=i.addOpacity(a,a.getAlpha()),l[u]||(l[u]=a),a)}}function f(l,a){var u,o=JSON.stringify(l),s=a[o];if(!s){for(s=l.slice(),u=0;u=0}),(a.type==="funnelarea"?A:a.sort)&&s.sort(function(O,z){return z.v-O.v}),s[0]&&(s[0].vTotal=x),s},crossTraceCalc:function(l,a){var u=(a||{}).type;u||(u="pie");var o=l._fullLayout,s=l.calcdata,c=o[u+"colorway"],h=o["_"+u+"colormap"];o["extend"+u+"colors"]&&(c=f(c,M));for(var m=0,w=0;w0){c=!0;break}}c||(s=0)}return{hasLabels:u,hasValues:o,len:s}}T.exports={handleLabelsAndValues:f,supplyDefaults:function(l,a,u,o){function s(E,x){return g.coerce(l,a,i,E,x)}var c=f(s("labels"),s("values")),h=c.len;if(a._hasLabels=c.hasLabels,a._hasValues=c.hasValues,!a._hasLabels&&a._hasValues&&(s("label0"),s("dlabel")),h){a._length=h,s("marker.line.width")&&s("marker.line.color"),s("marker.colors"),s("scalegroup");var m,w=s("text"),y=s("texttemplate");if(y||(m=s("textinfo",Array.isArray(w)?"text+percent":"percent")),s("hovertext"),s("hovertemplate"),y||m&&m!=="none"){var S=s("textposition");v(l,a,o,s,S,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),(Array.isArray(S)||S==="auto"||S==="outside")&&s("automargin"),(S==="inside"||S==="auto"||Array.isArray(S))&&s("insidetextorientation")}M(a,o,s);var _=s("hole");if(s("title.text")){var k=s("title.position",_?"middle center":"top center");_||k!=="middle center"||(a.title.position="top center"),g.coerceFont(s,"title.font",o.font)}s("sort"),s("direction"),s("rotation"),s("pull")}else a.visible=!1}}},20007:function(T,p,t){var d=t(23469).appendArrayMultiPointValues;T.exports=function(g,i){var M={curveNumber:i.index,pointNumbers:g.pts,data:i._input,fullData:i,label:g.label,color:g.color,value:g.v,percent:g.percent,text:g.text,bbox:g.bbox,v:g.v};return g.pts.length===1&&(M.pointNumber=M.i=g.pts[0]),d(M,i,g.pts),i.type==="funnelarea"&&(delete M.v,delete M.i),M}},53581:function(T,p,t){var d=t(71828);function g(i){return i.indexOf("e")!==-1?i.replace(/[.]?0+e/,"e"):i.indexOf(".")!==-1?i.replace(/[.]?0+$/,""):i}p.formatPiePercent=function(i,M){var v=g((100*i).toPrecision(3));return d.numSeparate(v,M)+"%"},p.formatPieValue=function(i,M){var v=g(i.toPrecision(10));return d.numSeparate(v,M)},p.getFirstFilled=function(i,M){if(Array.isArray(i))for(var v=0;v"),name:ie.hovertemplate||oe.indexOf("name")!==-1?ie.name:void 0,idealAlign:Q.pxmid[0]<0?"left":"right",color:m.castOption(xe.bgcolor,Q.pts)||Q.color,borderColor:m.castOption(xe.bordercolor,Q.pts),fontFamily:m.castOption(Pe.family,Q.pts),fontSize:m.castOption(Pe.size,Q.pts),fontColor:m.castOption(Pe.color,Q.pts),nameLength:m.castOption(xe.namelength,Q.pts),textAlign:m.castOption(xe.align,Q.pts),hovertemplate:m.castOption(ie.hovertemplate,Q.pts),hovertemplateLabels:Q,eventData:[w(Q,ie)]},{container:re._hoverlayer.node(),outerContainer:re._paper.node(),gd:G,inOut_bbox:_e}),Q.bbox=_e[0],Z._hasHoverLabel=!0}Z._hasHoverEvent=!0,G.emit("plotly_hover",{points:[w(Q,ie)],event:d.event})}}),U.on("mouseout",function(Q){var re=G._fullLayout,ie=G._fullData[Z.index],oe=d.select(this).datum();Z._hasHoverEvent&&(Q.originalEvent=d.event,G.emit("plotly_unhover",{points:[w(oe,ie)],event:d.event}),Z._hasHoverEvent=!1),Z._hasHoverLabel&&(i.loneUnhover(re._hoverlayer.node()),Z._hasHoverLabel=!1)}),U.on("click",function(Q){var re=G._fullLayout,ie=G._fullData[Z.index];G._dragging||re.hovermode===!1||(G._hoverdata=[w(Q,ie)],i.click(G,d.event))})}function _(U,G,q){var H=m.castOption(U.insidetextfont.color,G.pts);!H&&U._input.textfont&&(H=m.castOption(U._input.textfont.color,G.pts));var ne=m.castOption(U.insidetextfont.family,G.pts)||m.castOption(U.textfont.family,G.pts)||q.family,te=m.castOption(U.insidetextfont.size,G.pts)||m.castOption(U.textfont.size,G.pts)||q.size;return{color:H||M.contrast(G.color),family:ne,size:te}}function k(U,G){for(var q,H,ne=0;neBe&&Be>je||ze=-4;me-=2)pe(Math.PI*me,"tan");for(me=4;me>=-4;me-=2)pe(Math.PI*(me+1),"tan")}if(oe||ce){for(me=4;me>=-4;me-=2)pe(Math.PI*(me+1.5),"rad");for(me=4;me>=-4;me-=2)pe(Math.PI*(me+.5),"rad")}}if(X||ye||oe){var xe=Math.sqrt(U.width*U.width+U.height*U.height);if((te={scale:ne*H*2/xe,rCenter:1-ne,rotate:0}).textPosAngle=(G.startangle+G.stopangle)/2,te.scale>=1)return te;de.push(te)}(ye||ce)&&((te=x(U,H,Z,Q,re)).textPosAngle=(G.startangle+G.stopangle)/2,de.push(te)),(ye||ue)&&((te=A(U,H,Z,Q,re)).textPosAngle=(G.startangle+G.stopangle)/2,de.push(te));for(var Pe=0,_e=0,Me=0;Me=1)break}return de[Pe]}function x(U,G,q,H,ne){G=Math.max(0,G-2*h);var te=U.width/U.height,Z=R(te,H,G,q);return{scale:2*Z/U.height,rCenter:L(te,Z/G),rotate:b(ne)}}function A(U,G,q,H,ne){G=Math.max(0,G-2*h);var te=U.height/U.width,Z=R(te,H,G,q);return{scale:2*Z/U.width,rCenter:L(te,Z/G),rotate:b(ne+Math.PI/2)}}function L(U,G){return Math.cos(G)-U*G}function b(U){return(180/Math.PI*U+720)%180-90}function R(U,G,q,H){var ne=U+1/(2*Math.tan(G));return q*Math.min(1/(Math.sqrt(ne*ne+.5)+ne),H/(Math.sqrt(U*U+H/2)+U))}function I(U,G){return U.v!==G.vTotal||G.trace.hole?Math.min(1/(1+1/Math.sin(U.halfangle)),U.ring/2):1}function O(U,G){var q=G.pxmid[0],H=G.pxmid[1],ne=U.width/2,te=U.height/2;return q<0&&(ne*=-1),H<0&&(te*=-1),{scale:1,rCenter:1,rotate:0,x:ne+Math.abs(te)*(ne>0?1:-1)/2,y:te/(1+q*q/(H*H)),outside:!0}}function z(U,G){var q,H,ne,te=U.trace,Z={x:U.cx,y:U.cy},X={tx:0,ty:0};X.ty+=te.title.font.size,ne=B(te),te.title.position.indexOf("top")!==-1?(Z.y-=(1+ne)*U.r,X.ty-=U.titleBox.height):te.title.position.indexOf("bottom")!==-1&&(Z.y+=(1+ne)*U.r);var Q,re=U.r/((Q=U.trace.aspectratio)===void 0?1:Q),ie=G.w*(te.domain.x[1]-te.domain.x[0])/2;return te.title.position.indexOf("left")!==-1?(ie+=re,Z.x-=(1+ne)*re,X.tx+=U.titleBox.width/2):te.title.position.indexOf("center")!==-1?ie*=2:te.title.position.indexOf("right")!==-1&&(ie+=re,Z.x+=(1+ne)*re,X.tx-=U.titleBox.width/2),q=ie/U.titleBox.width,H=F(U,G)/U.titleBox.height,{x:Z.x,y:Z.y,scale:Math.min(q,H),tx:X.tx,ty:X.ty}}function F(U,G){var q=U.trace,H=G.h*(q.domain.y[1]-q.domain.y[0]);return Math.min(U.titleBox.height,H/2)}function B(U){var G,q=U.pull;if(!q)return 0;if(Array.isArray(q))for(q=0,G=0;Gq&&(q=U.pull[G]);return q}function N(U,G){for(var q=[],H=0;H1?Me=(_e=ce.r)/de.aspectratio:_e=(Me=ce.r)*de.aspectratio,Pe=(_e*=(1+de.baseratio)/2)*Me}pe=Math.min(pe,Pe/ce.vTotal)}for(ye=0;ye")}if(te){var me=f.castOption(ne,G.i,"texttemplate");if(me){var pe=function(Pe){return{label:Pe.label,value:Pe.v,valueLabel:m.formatPieValue(Pe.v,H.separators),percent:Pe.v/q.vTotal,percentLabel:m.formatPiePercent(Pe.v/q.vTotal,H.separators),color:Pe.color,text:Pe.text,customdata:f.castOption(ne,Pe.i,"customdata")}}(G),xe=m.getFirstFilled(ne.text,G.pts);(y(xe)||xe==="")&&(pe.text=xe),G.text=f.texttemplateString(me,pe,U._fullLayout._d3locale,pe,ne._meta||{})}else G.text=""}}function $(U,G){var q=U.rotate*Math.PI/180,H=Math.cos(q),ne=Math.sin(q),te=(G.left+G.right)/2,Z=(G.top+G.bottom)/2;U.textX=te*H-Z*ne,U.textY=te*ne+Z*H,U.noCenter=!0}T.exports={plot:function(U,G){var q=U._context.staticPlot,H=U._fullLayout,ne=H._size;c("pie",H),k(G,U),N(G,ne);var te=f.makeTraceGroups(H._pielayer,G,"trace").each(function(Z){var X=d.select(this),Q=Z[0],re=Q.trace;(function(ie){var oe,ue,ce,ye=ie[0],de=ye.r,me=ye.trace,pe=m.getRotationAngle(me.rotation),xe=2*Math.PI/ye.vTotal,Pe="px0",_e="px1";if(me.direction==="counterclockwise"){for(oe=0;oeye.vTotal/2?1:0,ue.halfangle=Math.PI*Math.min(ue.v/ye.vTotal,.5),ue.ring=1-me.hole,ue.rInscribed=I(ue,ye))})(Z),X.attr("stroke-linejoin","round"),X.each(function(){var ie=d.select(this).selectAll("g.slice").data(Z);ie.enter().append("g").classed("slice",!0),ie.exit().remove();var oe=[[[],[]],[[],[]]],ue=!1;ie.each(function(_e,Me){if(_e.hidden)d.select(this).selectAll("path,g").remove();else{_e.pointNumber=_e.i,_e.curveNumber=re.index,oe[_e.pxmid[1]<0?0:1][_e.pxmid[0]<0?0:1].push(_e);var Se=Q.cx,Ce=Q.cy,ae=d.select(this),fe=ae.selectAll("path.surface").data([_e]);if(fe.enter().append("path").classed("surface",!0).style({"pointer-events":q?"none":"all"}),ae.call(S,U,Z),re.pull){var be=+m.castOption(re.pull,_e.pts)||0;be>0&&(Se+=be*_e.pxmid[0],Ce+=be*_e.pxmid[1])}_e.cxFinal=Se,_e.cyFinal=Ce;var ke=re.hole;if(_e.v===Q.vTotal){var Le="M"+(Se+_e.px0[0])+","+(Ce+_e.px0[1])+we(_e.px0,_e.pxmid,!0,1)+we(_e.pxmid,_e.px0,!0,1)+"Z";ke?fe.attr("d","M"+(Se+ke*_e.px0[0])+","+(Ce+ke*_e.px0[1])+we(_e.px0,_e.pxmid,!1,ke)+we(_e.pxmid,_e.px0,!1,ke)+"Z"+Le):fe.attr("d",Le)}else{var Be=we(_e.px0,_e.px1,!0,1);if(ke){var ze=1-ke;fe.attr("d","M"+(Se+ke*_e.px1[0])+","+(Ce+ke*_e.px1[1])+we(_e.px1,_e.px0,!1,ke)+"l"+ze*_e.px0[0]+","+ze*_e.px0[1]+Be+"Z")}else fe.attr("d","M"+Se+","+Ce+"l"+_e.px0[0]+","+_e.px0[1]+Be+"Z")}j(U,_e,Q);var je=m.castOption(re.textposition,_e.pts),ge=ae.selectAll("g.slicetext").data(_e.text&&je!=="none"?[0]:[]);ge.enter().append("g").classed("slicetext",!0),ge.exit().remove(),ge.each(function(){var Ee=f.ensureSingle(d.select(this),"text","",function(Et){Et.attr("data-notex",1)}),Ve=f.ensureUniformFontSize(U,je==="outside"?function(Et,kt,xt){return{color:m.castOption(Et.outsidetextfont.color,kt.pts)||m.castOption(Et.textfont.color,kt.pts)||xt.color,family:m.castOption(Et.outsidetextfont.family,kt.pts)||m.castOption(Et.textfont.family,kt.pts)||xt.family,size:m.castOption(Et.outsidetextfont.size,kt.pts)||m.castOption(Et.textfont.size,kt.pts)||xt.size}}(re,_e,H.font):_(re,_e,H.font));Ee.text(_e.text).attr({class:"slicetext",transform:"","text-anchor":"middle"}).call(v.font,Ve).call(u.convertToTspans,U);var $e,Ye=v.bBox(Ee.node());if(je==="outside")$e=O(Ye,_e);else if($e=E(Ye,_e,Q),je==="auto"&&$e.scale<1){var st=f.ensureUniformFontSize(U,re.outsidetextfont);Ee.call(v.font,st),$e=O(Ye=v.bBox(Ee.node()),_e)}var ot=$e.textPosAngle,ht=ot===void 0?_e.pxmid:W(Q.r,ot);if($e.targetX=Se+ht[0]*$e.rCenter+($e.x||0),$e.targetY=Ce+ht[1]*$e.rCenter+($e.y||0),$($e,Ye),$e.outside){var bt=$e.targetY;_e.yLabelMin=bt-Ye.height/2,_e.yLabelMid=bt,_e.yLabelMax=bt+Ye.height/2,_e.labelExtraX=0,_e.labelExtraY=0,ue=!0}$e.fontSize=Ve.size,s(re.type,$e,H),Z[Me].transform=$e,f.setTransormAndDisplay(Ee,$e)})}function we(Ee,Ve,$e,Ye){var st=Ye*(Ve[0]-Ee[0]),ot=Ye*(Ve[1]-Ee[1]);return"a"+Ye*Q.r+","+Ye*Q.r+" 0 "+_e.largeArc+($e?" 1 ":" 0 ")+st+","+ot}});var ce=d.select(this).selectAll("g.titletext").data(re.title.text?[0]:[]);if(ce.enter().append("g").classed("titletext",!0),ce.exit().remove(),ce.each(function(){var _e,Me=f.ensureSingle(d.select(this),"text","",function(Ce){Ce.attr("data-notex",1)}),Se=re.title.text;re._meta&&(Se=f.templateString(Se,re._meta)),Me.text(Se).attr({class:"titletext",transform:"","text-anchor":"middle"}).call(v.font,re.title.font).call(u.convertToTspans,U),_e=re.title.position==="middle center"?function(Ce){var ae=Math.sqrt(Ce.titleBox.width*Ce.titleBox.width+Ce.titleBox.height*Ce.titleBox.height);return{x:Ce.cx,y:Ce.cy,scale:Ce.trace.hole*Ce.r*2/ae,tx:0,ty:-Ce.titleBox.height/2+Ce.trace.title.font.size}}(Q):z(Q,ne),Me.attr("transform",a(_e.x,_e.y)+l(Math.min(1,_e.scale))+a(_e.tx,_e.ty))}),ue&&function(_e,Me){var Se,Ce,ae,fe,be,ke,Le,Be,ze,je,ge,we,Ee;function Ve(ot,ht){return ot.pxmid[1]-ht.pxmid[1]}function $e(ot,ht){return ht.pxmid[1]-ot.pxmid[1]}function Ye(ot,ht){ht||(ht={});var bt,Et,kt,xt,Ft=ht.labelExtraY+(Ce?ht.yLabelMax:ht.yLabelMin),Ot=Ce?ot.yLabelMin:ot.yLabelMax,Bt=Ce?ot.yLabelMax:ot.yLabelMin,qt=ot.cyFinal+be(ot.px0[1],ot.px1[1]),Vt=Ft-Ot;if(Vt*Le>0&&(ot.labelExtraY=Vt),Array.isArray(Me.pull))for(Et=0;Et=(m.castOption(Me.pull,kt.pts)||0)||((ot.pxmid[1]-kt.pxmid[1])*Le>0?(Vt=kt.cyFinal+be(kt.px0[1],kt.px1[1])-Ot-ot.labelExtraY)*Le>0&&(ot.labelExtraY+=Vt):(Bt+ot.labelExtraY-qt)*Le>0&&(bt=3*ke*Math.abs(Et-je.indexOf(ot)),(xt=kt.cxFinal+fe(kt.px0[0],kt.px1[0])+bt-(ot.cxFinal+ot.pxmid[0])-ot.labelExtraX)*ke>0&&(ot.labelExtraX+=xt)))}for(Ce=0;Ce<2;Ce++)for(ae=Ce?Ve:$e,be=Ce?Math.max:Math.min,Le=Ce?1:-1,Se=0;Se<2;Se++){for(fe=Se?Math.max:Math.min,ke=Se?1:-1,(Be=_e[Ce][Se]).sort(ae),ze=_e[1-Ce][Se],je=ze.concat(Be),we=[],ge=0;geMath.abs(Be)?be+="l"+Be*Se.pxmid[0]/Se.pxmid[1]+","+Be+"H"+(fe+Se.labelExtraX+ke):be+="l"+Se.labelExtraX+","+Le+"v"+(Be-Le)+"h"+ke}else be+="V"+(Se.yLabelMid+Se.labelExtraY)+"h"+ke;f.ensureSingle(Ce,"path","textline").call(M.stroke,Me.outsidetextfont.color).attr({"stroke-width":Math.min(2,Me.outsidetextfont.size/8),d:be,fill:"none"})}else Ce.select("path.textline").remove()})}(ie,re),ue&&re.automargin){var ye=v.bBox(X.node()),de=re.domain,me=ne.w*(de.x[1]-de.x[0]),pe=ne.h*(de.y[1]-de.y[0]),xe=(.5*me-Q.r)/ne.w,Pe=(.5*pe-Q.r)/ne.h;g.autoMargin(U,"pie."+re.uid+".automargin",{xl:de.x[0]-xe,xr:de.x[1]+xe,yb:de.y[0]-Pe,yt:de.y[1]+Pe,l:Math.max(Q.cx-Q.r-ye.left,0),r:Math.max(ye.right-(Q.cx+Q.r),0),b:Math.max(ye.bottom-(Q.cy+Q.r),0),t:Math.max(Q.cy-Q.r-ye.top,0),pad:5})}})});setTimeout(function(){te.selectAll("tspan").each(function(){var Z=d.select(this);Z.attr("dy")&&Z.attr("dy",Z.attr("dy"))})},0)},formatSliceLabel:j,transformInsideText:E,determineInsideTextFont:_,positionTitleOutside:z,prerenderTitles:k,layoutAreas:N,attachFxHandlers:S,computeTransform:$}},68357:function(T,p,t){var d=t(39898),g=t(63463),i=t(72597).resizeText;T.exports=function(M){var v=M._fullLayout._pielayer.selectAll(".trace");i(M,v,"pie"),v.each(function(f){var l=f[0].trace,a=d.select(this);a.style({opacity:l.opacity}),a.selectAll("path.surface").each(function(u){d.select(this).call(g,u,l)})})}},63463:function(T,p,t){var d=t(7901),g=t(53581).castOption;T.exports=function(i,M,v){var f=v.marker.line,l=g(f.color,M.pts)||d.defaultLine,a=g(f.width,M.pts)||0;i.style("stroke-width",a).call(d.fill,M.color).call(d.stroke,l)}},10959:function(T,p,t){var d=t(82196);T.exports={x:d.x,y:d.y,xy:{valType:"data_array",editType:"calc"},indices:{valType:"data_array",editType:"calc"},xbounds:{valType:"data_array",editType:"calc"},ybounds:{valType:"data_array",editType:"calc"},text:d.text,marker:{color:{valType:"color",arrayOk:!1,editType:"calc"},opacity:{valType:"number",min:0,max:1,dflt:1,arrayOk:!1,editType:"calc"},blend:{valType:"boolean",dflt:null,editType:"calc"},sizemin:{valType:"number",min:.1,max:2,dflt:.5,editType:"calc"},sizemax:{valType:"number",min:.1,dflt:20,editType:"calc"},border:{color:{valType:"color",arrayOk:!1,editType:"calc"},arearatio:{valType:"number",min:0,max:1,dflt:0,editType:"calc"},editType:"calc"},editType:"calc"},transforms:void 0}},42743:function(T,p,t){var d=t(9330).gl_pointcloud2d,g=t(78614),i=t(71739).findExtremes,M=t(34603);function v(l,a){this.scene=l,this.uid=a,this.type="pointcloud",this.pickXData=[],this.pickYData=[],this.xData=[],this.yData=[],this.textLabels=[],this.color="rgb(0, 0, 0)",this.name="",this.hoverinfo="all",this.idToIndex=new Int32Array(0),this.bounds=[0,0,0,0],this.pointcloudOptions={positions:new Float32Array(0),idToIndex:this.idToIndex,sizemin:.5,sizemax:12,color:[0,0,0,1],areaRatio:1,borderColor:[0,0,0,1]},this.pointcloud=d(l.glplot,this.pointcloudOptions),this.pointcloud._trace=this}var f=v.prototype;f.handlePick=function(l){var a=this.idToIndex[l.pointId];return{trace:this,dataCoord:l.dataCoord,traceCoord:this.pickXYData?[this.pickXYData[2*a],this.pickXYData[2*a+1]]:[this.pickXData[a],this.pickYData[a]],textLabel:Array.isArray(this.textLabels)?this.textLabels[a]:this.textLabels,color:this.color,name:this.name,pointIndex:a,hoverinfo:this.hoverinfo}},f.update=function(l){this.index=l.index,this.textLabels=l.text,this.name=l.name,this.hoverinfo=l.hoverinfo,this.bounds=[1/0,1/0,-1/0,-1/0],this.updateFast(l),this.color=M(l,{})},f.updateFast=function(l){var a,u,o,s,c,h,m=this.xData=this.pickXData=l.x,w=this.yData=this.pickYData=l.y,y=this.pickXYData=l.xy,S=l.xbounds&&l.ybounds,_=l.indices,k=this.bounds;if(y){if(o=y,a=y.length>>>1,S)k[0]=l.xbounds[0],k[2]=l.xbounds[1],k[1]=l.ybounds[0],k[3]=l.ybounds[1];else for(h=0;hk[2]&&(k[2]=s),ck[3]&&(k[3]=c);if(_)u=_;else for(u=new Int32Array(a),h=0;hk[2]&&(k[2]=s),ck[3]&&(k[3]=c);this.idToIndex=u,this.pointcloudOptions.idToIndex=u,this.pointcloudOptions.positions=o;var E=g(l.marker.color),x=g(l.marker.border.color),A=l.opacity*l.marker.opacity;E[3]*=A,this.pointcloudOptions.color=E;var L=l.marker.blend;L===null&&(L=m.length<100||w.length<100),this.pointcloudOptions.blend=L,x[3]*=A,this.pointcloudOptions.borderColor=x;var b=l.marker.sizemin,R=Math.max(l.marker.sizemax,l.marker.sizemin);this.pointcloudOptions.sizeMin=b,this.pointcloudOptions.sizeMax=R,this.pointcloudOptions.areaRatio=l.marker.border.arearatio,this.pointcloud.update(this.pointcloudOptions);var I=this.scene.xaxis,O=this.scene.yaxis,z=R/2||.5;l._extremes[I._id]=i(I,[k[0],k[2]],{ppad:z}),l._extremes[O._id]=i(O,[k[1],k[3]],{ppad:z})},f.dispose=function(){this.pointcloud.dispose()},T.exports=function(l,a){var u=new v(l,a.uid);return u.update(a),u}},33876:function(T,p,t){var d=t(71828),g=t(10959);T.exports=function(i,M,v){function f(l,a){return d.coerce(i,M,g,l,a)}f("x"),f("y"),f("xbounds"),f("ybounds"),i.xy&&i.xy instanceof Float32Array&&(M.xy=i.xy),i.indices&&i.indices instanceof Int32Array&&(M.indices=i.indices),f("text"),f("marker.color",v),f("marker.opacity"),f("marker.blend"),f("marker.sizemin"),f("marker.sizemax"),f("marker.border.color",v),f("marker.border.arearatio"),M._length=null}},20593:function(T,p,t){T.exports={attributes:t(10959),supplyDefaults:t(33876),calc:t(36563),plot:t(42743),moduleType:"trace",name:"pointcloud",basePlotModule:t(4796),categories:["gl","gl2d","showLegend"],meta:{}}},39953:function(T,p,t){var d=t(41940),g=t(9012),i=t(22399),M=t(77914),v=t(27670).Y,f=t(5386).fF,l=t(50693),a=t(44467).templatedArray,u=t(12663).descriptionOnlyNumbers,o=t(1426).extendFlat,s=t(30962).overrideAll;(T.exports=s({hoverinfo:o({},g.hoverinfo,{flags:[],arrayOk:!1}),hoverlabel:M.hoverlabel,domain:v({name:"sankey",trace:!0}),orientation:{valType:"enumerated",values:["v","h"],dflt:"h"},valueformat:{valType:"string",dflt:".3s",description:u("value")},valuesuffix:{valType:"string",dflt:""},arrangement:{valType:"enumerated",values:["snap","perpendicular","freeform","fixed"],dflt:"snap"},textfont:d({}),customdata:void 0,node:{label:{valType:"data_array",dflt:[]},groups:{valType:"info_array",impliedEdits:{x:[],y:[]},dimensions:2,freeLength:!0,dflt:[],items:{valType:"number",editType:"calc"}},x:{valType:"data_array",dflt:[]},y:{valType:"data_array",dflt:[]},color:{valType:"color",arrayOk:!0},customdata:{valType:"data_array",editType:"calc"},line:{color:{valType:"color",dflt:i.defaultLine,arrayOk:!0},width:{valType:"number",min:0,dflt:.5,arrayOk:!0}},pad:{valType:"number",arrayOk:!1,min:0,dflt:20},thickness:{valType:"number",arrayOk:!1,min:1,dflt:20},hoverinfo:{valType:"enumerated",values:["all","none","skip"],dflt:"all"},hoverlabel:M.hoverlabel,hovertemplate:f({},{keys:["value","label"]})},link:{arrowlen:{valType:"number",min:0,dflt:0},label:{valType:"data_array",dflt:[]},color:{valType:"color",arrayOk:!0},customdata:{valType:"data_array",editType:"calc"},line:{color:{valType:"color",dflt:i.defaultLine,arrayOk:!0},width:{valType:"number",min:0,dflt:0,arrayOk:!0}},source:{valType:"data_array",dflt:[]},target:{valType:"data_array",dflt:[]},value:{valType:"data_array",dflt:[]},hoverinfo:{valType:"enumerated",values:["all","none","skip"],dflt:"all"},hoverlabel:M.hoverlabel,hovertemplate:f({},{keys:["value","label"]}),colorscales:a("concentrationscales",{editType:"calc",label:{valType:"string",editType:"calc",dflt:""},cmax:{valType:"number",editType:"calc",dflt:1},cmin:{valType:"number",editType:"calc",dflt:0},colorscale:o(l().colorscale,{dflt:[[0,"white"],[1,"black"]]})})}},"calc","nested")).transforms=void 0},75536:function(T,p,t){var d=t(30962).overrideAll,g=t(27659).a0,i=t(60436),M=t(528),v=t(6964),f=t(28569),l=t(47322).prepSelect,a=t(71828),u=t(73972),o="sankey";function s(c,h){var m=c._fullData[h],w=c._fullLayout,y=w.dragmode,S=w.dragmode==="pan"?"move":"crosshair",_=m._bgRect;if(_&&y!=="pan"&&y!=="zoom"){v(_,S);var k={_id:"x",c2p:a.identity,_offset:m._sankey.translateX,_length:m._sankey.width},E={_id:"y",c2p:a.identity,_offset:m._sankey.translateY,_length:m._sankey.height},x={gd:c,element:_.node(),plotinfo:{id:h,xaxis:k,yaxis:E,fillRangeItems:a.noop},subplot:h,xaxes:[k],yaxes:[E],doneFnCompleted:function(A){var L,b=c._fullData[h],R=b.node.groups.slice(),I=[];function O(N){for(var W=b._sankey.graph.nodes,j=0;jL&&(L=h.source[s]),h.target[s]>L&&(L=h.target[s]);var b,R=L+1;o.node._count=R;var I=o.node.groups,O={};for(s=0;s0&&v(j,R)&&v($,R)&&(!O.hasOwnProperty(j)||!O.hasOwnProperty($)||O[j]!==O[$])){O.hasOwnProperty($)&&($=O[$]),O.hasOwnProperty(j)&&(j=O[j]),$=+$,S[j=+j]=S[$]=!0;var U="";h.label&&h.label[s]&&(U=h.label[s]);var G=null;U&&_.hasOwnProperty(U)&&(G=_[U]),m.push({pointNumber:s,label:U,color:w?h.color[s]:h.color,customdata:y?h.customdata[s]:h.customdata,concentrationscale:G,source:j,target:$,value:+W}),N.source.push(j),N.target.push($)}}var q=R+I.length,H=M(c.color),ne=M(c.customdata),te=[];for(s=0;sR-1,childrenNodes:[],pointNumber:s,label:Z,color:H?c.color[s]:c.color,customdata:ne?c.customdata[s]:c.customdata})}var X=!1;return function(Q,re,ie){for(var oe=g.init2dArray(Q,0),ue=0;ue1})}(q,N.source,N.target)&&(X=!0),{circular:X,links:m,nodes:te,groups:I,groupLookup:O}}(a);return i({circular:u.circular,_nodes:u.nodes,_links:u.links,_groups:u.groups,_groupLookup:u.groupLookup})}},85247:function(T){T.exports={nodeTextOffsetHorizontal:4,nodeTextOffsetVertical:3,nodePadAcross:10,sankeyIterations:50,forceIterations:5,forceTicksPerFrame:10,duration:500,ease:"linear",cn:{sankey:"sankey",sankeyLinks:"sankey-links",sankeyLink:"sankey-link",sankeyNodeSet:"sankey-node-set",sankeyNode:"sankey-node",nodeRect:"node-rect",nodeLabel:"node-label"}}},26857:function(T,p,t){var d=t(71828),g=t(39953),i=t(7901),M=t(84267),v=t(27670).c,f=t(38048),l=t(44467),a=t(85501);function u(o,s){function c(h,m){return d.coerce(o,s,g.link.colorscales,h,m)}c("label"),c("cmin"),c("cmax"),c("colorscale")}T.exports=function(o,s,c,h){function m(R,I){return d.coerce(o,s,g,R,I)}var w=d.extendDeep(h.hoverlabel,o.hoverlabel),y=o.node,S=l.newContainer(s,"node");function _(R,I){return d.coerce(y,S,g.node,R,I)}_("label"),_("groups"),_("x"),_("y"),_("pad"),_("thickness"),_("line.color"),_("line.width"),_("hoverinfo",o.hoverinfo),f(y,S,_,w),_("hovertemplate");var k=h.colorway;_("color",S.label.map(function(R,I){return i.addOpacity(function(O){return k[O%k.length]}(I),.8)})),_("customdata");var E=o.link||{},x=l.newContainer(s,"link");function A(R,I){return d.coerce(E,x,g.link,R,I)}A("label"),A("arrowlen"),A("source"),A("target"),A("value"),A("line.color"),A("line.width"),A("hoverinfo",o.hoverinfo),f(E,x,A,w),A("hovertemplate");var L,b=M(h.paper_bgcolor).getLuminance()<.333?"rgba(255, 255, 255, 0.6)":"rgba(0, 0, 0, 0.2)";A("color",d.repeat(b,x.value.length)),A("customdata"),a(E,x,{name:"colorscales",handleItemDefaults:u}),v(s,h,m),m("orientation"),m("valueformat"),m("valuesuffix"),S.x.length&&S.y.length&&(L="freeform"),m("arrangement",L),d.coerceFont(m,"textfont",d.extendFlat({},h.font)),s._length=null}},29396:function(T,p,t){T.exports={attributes:t(39953),supplyDefaults:t(26857),calc:t(92930),plot:t(60436),moduleType:"trace",name:"sankey",basePlotModule:t(75536),selectPoints:t(84564),categories:["noOpacity"],meta:{}}},60436:function(T,p,t){var d=t(39898),g=t(71828),i=g.numberFormat,M=t(3393),v=t(30211),f=t(7901),l=t(85247).cn,a=g._;function u(E){return E!==""}function o(E,x){return E.filter(function(A){return A.key===x.traceId})}function s(E,x){d.select(E).select("path").style("fill-opacity",x),d.select(E).select("rect").style("fill-opacity",x)}function c(E){d.select(E).select("text.name").style("fill","black")}function h(E){return function(x){return E.node.sourceLinks.indexOf(x.link)!==-1||E.node.targetLinks.indexOf(x.link)!==-1}}function m(E){return function(x){return x.node.sourceLinks.indexOf(E.link)!==-1||x.node.targetLinks.indexOf(E.link)!==-1}}function w(E,x,A){x&&A&&o(A,x).selectAll("."+l.sankeyLink).filter(h(x)).call(S.bind(0,x,A,!1))}function y(E,x,A){x&&A&&o(A,x).selectAll("."+l.sankeyLink).filter(h(x)).call(_.bind(0,x,A,!1))}function S(E,x,A,L){var b=L.datum().link.label;L.style("fill-opacity",function(R){if(!R.link.concentrationscale)return .4}),b&&o(x,E).selectAll("."+l.sankeyLink).filter(function(R){return R.link.label===b}).style("fill-opacity",function(R){if(!R.link.concentrationscale)return .4}),A&&o(x,E).selectAll("."+l.sankeyNode).filter(m(E)).call(w)}function _(E,x,A,L){var b=L.datum().link.label;L.style("fill-opacity",function(R){return R.tinyColorAlpha}),b&&o(x,E).selectAll("."+l.sankeyLink).filter(function(R){return R.link.label===b}).style("fill-opacity",function(R){return R.tinyColorAlpha}),A&&o(x,E).selectAll(l.sankeyNode).filter(m(E)).call(y)}function k(E,x){var A=E.hoverlabel||{},L=g.nestedProperty(A,x).get();return!Array.isArray(L)&&L}T.exports=function(E,x){for(var A=E._fullLayout,L=A._paper,b=A._size,R=0;R"),color:k($,"bgcolor")||f.addOpacity(H.color,1),borderColor:k($,"bordercolor"),fontFamily:k($,"font.family"),fontSize:k($,"font.size"),fontColor:k($,"font.color"),nameLength:k($,"namelength"),textAlign:k($,"align"),idealAlign:d.event.x"),color:k($,"bgcolor")||j.tinyColorHue,borderColor:k($,"bordercolor"),fontFamily:k($,"font.family"),fontSize:k($,"font.size"),fontColor:k($,"font.color"),nameLength:k($,"namelength"),textAlign:k($,"align"),idealAlign:"left",hovertemplate:$.hovertemplate,hovertemplateLabels:Z,eventData:[j.node]},{container:A._hoverlayer.node(),outerContainer:A._paper.node(),gd:E});s(re,.85),c(re)}}},unhover:function(W,j,$){E._fullLayout.hovermode!==!1&&(d.select(W).call(y,j,$),j.node.trace.node.hoverinfo!=="skip"&&(j.node.fullData=j.node.trace,E.emit("plotly_unhover",{event:d.event,points:[j.node]})),v.loneUnhover(A._hoverlayer.node()))},select:function(W,j,$){var U=j.node;U.originalEvent=d.event,E._hoverdata=[U],d.select(W).call(y,j,$),v.click(E,{target:!0})}}})}},3393:function(T,p,t){var d=t(49887),g=t(81684).k4,i=t(39898),M=t(30838),v=t(86781),f=t(85247),l=t(84267),a=t(7901),u=t(91424),o=t(71828),s=o.strTranslate,c=o.strRotate,h=t(28984),m=h.keyFun,w=h.repeat,y=h.unwrap,S=t(63893),_=t(73972),k=t(18783),E=k.CAP_SHIFT,x=k.LINE_SPACING;function A(q,H,ne){var te,Z=y(H),X=Z.trace,Q=X.domain,re=X.orientation==="h",ie=X.node.pad,oe=X.node.thickness,ue=q.width*(Q.x[1]-Q.x[0]),ce=q.height*(Q.y[1]-Q.y[0]),ye=Z._nodes,de=Z._links,me=Z.circular;(te=me?v.sankeyCircular().circularLinkGap(0):M.sankey()).iterations(f.sankeyIterations).size(re?[ue,ce]:[ce,ue]).nodeWidth(oe).nodePadding(ie).nodeId(function(ke){return ke.pointNumber}).nodes(ye).links(de);var pe,xe,Pe,_e=te();for(var Me in te.nodePadding()we+oe&&(ge+=1,Le=Ee.x0),we=Ee.x0,je[ge]||(je[ge]=[]),je[ge].push(Ee),Be=Le-Ee.x0,Ee.x0+=Be,Ee.x1+=Be}return je}(ye=_e.nodes).forEach(function(ke){var Le,Be,ze,je=0,ge=ke.length;for(ke.sort(function(we,Ee){return we.y0-Ee.y0}),ze=0;ze=je||(Be=je-Le.y0)>1e-6&&(Le.y0+=Be,Le.y1+=Be),je=Le.y1+ie}),te.update(_e)}return{circular:me,key:ne,trace:X,guid:o.randstr(),horizontal:re,width:ue,height:ce,nodePad:X.node.pad,nodeLineColor:X.node.line.color,nodeLineWidth:X.node.line.width,linkLineColor:X.link.line.color,linkLineWidth:X.link.line.width,linkArrowLength:X.link.arrowlen,valueFormat:X.valueformat,valueSuffix:X.valuesuffix,textFont:X.textfont,translateX:Q.x[0]*q.width+q.margin.l,translateY:q.height-Q.y[1]*q.height+q.margin.t,dragParallel:re?ce:ue,dragPerpendicular:re?ue:ce,arrangement:X.arrangement,sankey:te,graph:_e,forceLayouts:{},interactionState:{dragInProgress:!1,hovered:!1}}}function L(q,H,ne){var te=l(H.color),Z=H.source.label+"|"+H.target.label+"__"+ne;return H.trace=q.trace,H.curveNumber=q.trace.index,{circular:q.circular,key:Z,traceId:q.key,pointNumber:H.pointNumber,link:H,tinyColorHue:a.tinyRGB(te),tinyColorAlpha:te.getAlpha(),linkPath:b,linkLineColor:q.linkLineColor,linkLineWidth:q.linkLineWidth,linkArrowLength:q.linkArrowLength,valueFormat:q.valueFormat,valueSuffix:q.valueSuffix,sankey:q.sankey,parent:q,interactionState:q.interactionState,flow:H.flow}}function b(){return function(q){var H=q.linkArrowLength;if(q.link.circular)return function(xe,Pe){var _e=xe.width/2,Me=xe.circularPathData;return xe.circularLinkType==="top"?"M "+(Me.targetX-Pe)+" "+(Me.targetY+_e)+" L"+(Me.rightInnerExtent-Pe)+" "+(Me.targetY+_e)+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightSmallArcRadius+_e)+" 0 0 1 "+(Me.rightFullExtent-_e-Pe)+" "+(Me.targetY-Me.rightSmallArcRadius)+"L"+(Me.rightFullExtent-_e-Pe)+" "+Me.verticalRightInnerExtent+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightLargeArcRadius+_e)+" 0 0 1 "+(Me.rightInnerExtent-Pe)+" "+(Me.verticalFullExtent-_e)+"L"+Me.leftInnerExtent+" "+(Me.verticalFullExtent-_e)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftLargeArcRadius+_e)+" 0 0 1 "+(Me.leftFullExtent+_e)+" "+Me.verticalLeftInnerExtent+"L"+(Me.leftFullExtent+_e)+" "+(Me.sourceY-Me.leftSmallArcRadius)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftSmallArcRadius+_e)+" 0 0 1 "+Me.leftInnerExtent+" "+(Me.sourceY+_e)+"L"+Me.sourceX+" "+(Me.sourceY+_e)+"L"+Me.sourceX+" "+(Me.sourceY-_e)+"L"+Me.leftInnerExtent+" "+(Me.sourceY-_e)+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftSmallArcRadius-_e)+" 0 0 0 "+(Me.leftFullExtent-_e)+" "+(Me.sourceY-Me.leftSmallArcRadius)+"L"+(Me.leftFullExtent-_e)+" "+Me.verticalLeftInnerExtent+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftLargeArcRadius-_e)+" 0 0 0 "+Me.leftInnerExtent+" "+(Me.verticalFullExtent+_e)+"L"+(Me.rightInnerExtent-Pe)+" "+(Me.verticalFullExtent+_e)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightLargeArcRadius-_e)+" 0 0 0 "+(Me.rightFullExtent+_e-Pe)+" "+Me.verticalRightInnerExtent+"L"+(Me.rightFullExtent+_e-Pe)+" "+(Me.targetY-Me.rightSmallArcRadius)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightSmallArcRadius-_e)+" 0 0 0 "+(Me.rightInnerExtent-Pe)+" "+(Me.targetY-_e)+"L"+(Me.targetX-Pe)+" "+(Me.targetY-_e)+(Pe>0?"L"+Me.targetX+" "+Me.targetY:"")+"Z":"M "+(Me.targetX-Pe)+" "+(Me.targetY-_e)+" L"+(Me.rightInnerExtent-Pe)+" "+(Me.targetY-_e)+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightSmallArcRadius+_e)+" 0 0 0 "+(Me.rightFullExtent-_e-Pe)+" "+(Me.targetY+Me.rightSmallArcRadius)+"L"+(Me.rightFullExtent-_e-Pe)+" "+Me.verticalRightInnerExtent+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightLargeArcRadius+_e)+" 0 0 0 "+(Me.rightInnerExtent-Pe)+" "+(Me.verticalFullExtent+_e)+"L"+Me.leftInnerExtent+" "+(Me.verticalFullExtent+_e)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftLargeArcRadius+_e)+" 0 0 0 "+(Me.leftFullExtent+_e)+" "+Me.verticalLeftInnerExtent+"L"+(Me.leftFullExtent+_e)+" "+(Me.sourceY+Me.leftSmallArcRadius)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftSmallArcRadius+_e)+" 0 0 0 "+Me.leftInnerExtent+" "+(Me.sourceY-_e)+"L"+Me.sourceX+" "+(Me.sourceY-_e)+"L"+Me.sourceX+" "+(Me.sourceY+_e)+"L"+Me.leftInnerExtent+" "+(Me.sourceY+_e)+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftSmallArcRadius-_e)+" 0 0 1 "+(Me.leftFullExtent-_e)+" "+(Me.sourceY+Me.leftSmallArcRadius)+"L"+(Me.leftFullExtent-_e)+" "+Me.verticalLeftInnerExtent+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftLargeArcRadius-_e)+" 0 0 1 "+Me.leftInnerExtent+" "+(Me.verticalFullExtent-_e)+"L"+(Me.rightInnerExtent-Pe)+" "+(Me.verticalFullExtent-_e)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightLargeArcRadius-_e)+" 0 0 1 "+(Me.rightFullExtent+_e-Pe)+" "+Me.verticalRightInnerExtent+"L"+(Me.rightFullExtent+_e-Pe)+" "+(Me.targetY+Me.rightSmallArcRadius)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightSmallArcRadius-_e)+" 0 0 1 "+(Me.rightInnerExtent-Pe)+" "+(Me.targetY+_e)+"L"+(Me.targetX-Pe)+" "+(Me.targetY+_e)+(Pe>0?"L"+Me.targetX+" "+Me.targetY:"")+"Z"}(q.link,H);var ne=Math.abs((q.link.target.x0-q.link.source.x1)/2);H>ne&&(H=ne);var te=q.link.source.x1,Z=q.link.target.x0-H,X=g(te,Z),Q=X(.5),re=X(.5),ie=q.link.y0-q.link.width/2,oe=q.link.y0+q.link.width/2,ue=q.link.y1-q.link.width/2,ce=q.link.y1+q.link.width/2,ye="M"+te+","+ie,de="C"+Q+","+ie+" "+re+","+ue+" "+Z+","+ue,me="C"+re+","+ce+" "+Q+","+oe+" "+te+","+oe,pe=H>0?"L"+(Z+H)+","+(ue+q.link.width/2):"";return ye+de+(pe+="L"+Z+","+ce)+me+"Z"}}function R(q,H){var ne=l(H.color),te=f.nodePadAcross,Z=q.nodePad/2;H.dx=H.x1-H.x0,H.dy=H.y1-H.y0;var X=H.dx,Q=Math.max(.5,H.dy),re="node_"+H.pointNumber;return H.group&&(re=o.randstr()),H.trace=q.trace,H.curveNumber=q.trace.index,{index:H.pointNumber,key:re,partOfGroup:H.partOfGroup||!1,group:H.group,traceId:q.key,trace:q.trace,node:H,nodePad:q.nodePad,nodeLineColor:q.nodeLineColor,nodeLineWidth:q.nodeLineWidth,textFont:q.textFont,size:q.horizontal?q.height:q.width,visibleWidth:Math.ceil(X),visibleHeight:Q,zoneX:-te,zoneY:-Z,zoneWidth:X+2*te,zoneHeight:Q+2*Z,labelY:q.horizontal?H.dy/2+1:H.dx/2+1,left:H.originalLayer===1,sizeAcross:q.width,forceLayouts:q.forceLayouts,horizontal:q.horizontal,darkBackground:ne.getBrightness()<=128,tinyColorHue:a.tinyRGB(ne),tinyColorAlpha:ne.getAlpha(),valueFormat:q.valueFormat,valueSuffix:q.valueSuffix,sankey:q.sankey,graph:q.graph,arrangement:q.arrangement,uniqueNodeLabelPathId:[q.guid,q.key,re].join("_"),interactionState:q.interactionState,figure:q}}function I(q){q.attr("transform",function(H){return s(H.node.x0.toFixed(3),H.node.y0.toFixed(3))})}function O(q){q.call(I)}function z(q,H){q.call(O),H.attr("d",b())}function F(q){q.attr("width",function(H){return H.node.x1-H.node.x0}).attr("height",function(H){return H.visibleHeight})}function B(q){return q.link.width>1||q.linkLineWidth>0}function N(q){return s(q.translateX,q.translateY)+(q.horizontal?"matrix(1 0 0 1 0 0)":"matrix(0 1 1 0 0 0)")}function W(q,H,ne){q.on(".basic",null).on("mouseover.basic",function(te){te.interactionState.dragInProgress||te.partOfGroup||(ne.hover(this,te,H),te.interactionState.hovered=[this,te])}).on("mousemove.basic",function(te){te.interactionState.dragInProgress||te.partOfGroup||(ne.follow(this,te),te.interactionState.hovered=[this,te])}).on("mouseout.basic",function(te){te.interactionState.dragInProgress||te.partOfGroup||(ne.unhover(this,te,H),te.interactionState.hovered=!1)}).on("click.basic",function(te){te.interactionState.hovered&&(ne.unhover(this,te,H),te.interactionState.hovered=!1),te.interactionState.dragInProgress||te.partOfGroup||ne.select(this,te,H)})}function j(q,H,ne,te){var Z=i.behavior.drag().origin(function(X){return{x:X.node.x0+X.visibleWidth/2,y:X.node.y0+X.visibleHeight/2}}).on("dragstart",function(X){if(X.arrangement!=="fixed"&&(o.ensureSingle(te._fullLayout._infolayer,"g","dragcover",function(re){te._fullLayout._dragCover=re}),o.raiseToTop(this),X.interactionState.dragInProgress=X.node,U(X.node),X.interactionState.hovered&&(ne.nodeEvents.unhover.apply(0,X.interactionState.hovered),X.interactionState.hovered=!1),X.arrangement==="snap")){var Q=X.traceId+"|"+X.key;X.forceLayouts[Q]?X.forceLayouts[Q].alpha(1):function(re,ie,oe,ue){(function(ye){for(var de=0;de0&&pe.forceLayouts[de].alpha(0)}}(0,ie,ce,oe)).stop()}(0,Q,X),function(re,ie,oe,ue,ce){window.requestAnimationFrame(function ye(){var de;for(de=0;de0)window.requestAnimationFrame(ye);else{var me=oe.node.originalX;oe.node.x0=me-oe.visibleWidth/2,oe.node.x1=me+oe.visibleWidth/2,$(oe,ce)}})}(q,H,X,Q,te)}}).on("drag",function(X){if(X.arrangement!=="fixed"){var Q=i.event.x,re=i.event.y;X.arrangement==="snap"?(X.node.x0=Q-X.visibleWidth/2,X.node.x1=Q+X.visibleWidth/2,X.node.y0=re-X.visibleHeight/2,X.node.y1=re+X.visibleHeight/2):(X.arrangement==="freeform"&&(X.node.x0=Q-X.visibleWidth/2,X.node.x1=Q+X.visibleWidth/2),re=Math.max(0,Math.min(X.size-X.visibleHeight/2,re)),X.node.y0=re-X.visibleHeight/2,X.node.y1=re+X.visibleHeight/2),U(X.node),X.arrangement!=="snap"&&(X.sankey.update(X.graph),z(q.filter(G(X)),H))}}).on("dragend",function(X){if(X.arrangement!=="fixed"){X.interactionState.dragInProgress=!1;for(var Q=0;Q_&&j[E].gap;)E--;for(A=j[E].s,k=j.length-1;k>E;k--)j[k].s=A;for(;_z[c]&&c=0;c--){var h=M[c];if(h.type==="scatter"&&h.xaxis===o.xaxis&&h.yaxis===o.yaxis){h.opacity=void 0;break}}}}}},17438:function(T,p,t){var d=t(71828),g=t(73972),i=t(82196),M=t(47581),v=t(34098),f=t(67513),l=t(73927),a=t(565),u=t(49508),o=t(11058),s=t(94039),c=t(82410),h=t(28908),m=t(71828).coercePattern;T.exports=function(w,y,S,_){function k(O,z){return d.coerce(w,y,i,O,z)}var E=f(w,y,_,k);if(E||(y.visible=!1),y.visible){l(w,y,_,k),k("xhoverformat"),k("yhoverformat");var x=a(w,y,_,k);_.scattermode==="group"&&y.orientation===void 0&&k("orientation","v");var A=!x&&E=Math.min(me,pe)&&w<=Math.max(me,pe)?0:1/0}var xe=Math.max(3,de.mrc||0),Pe=1-1/xe,_e=Math.abs(h.c2p(de.x)-w);return _e=Math.min(me,pe)&&y<=Math.max(me,pe)?0:1/0}var xe=Math.max(3,de.mrc||0),Pe=1-1/xe,_e=Math.abs(m.c2p(de.y)-y);return _ece!=(te=U[j][1])>=ce&&(q=U[j-1][0],H=U[j][0],te-ne&&(G=q+(H-q)*(ce-ne)/(te-ne),re=Math.min(re,G),ie=Math.max(ie,G)));re=Math.max(re,0),ie=Math.min(ie,h._length);var ye=v.defaultLine;return v.opacity(c.fillcolor)?ye=c.fillcolor:v.opacity((c.line||{}).color)&&(ye=c.line.color),d.extendFlat(l,{distance:l.maxHoverDistance,x0:re,x1:ie,y0:ce,y1:ce,color:ye,hovertemplate:!1}),delete l.index,c.text&&!Array.isArray(c.text)?l.text=String(c.text):l.text=c.name,[l]}}}},67368:function(T,p,t){var d=t(34098);T.exports={hasLines:d.hasLines,hasMarkers:d.hasMarkers,hasText:d.hasText,isBubble:d.isBubble,attributes:t(82196),layoutAttributes:t(21479),supplyDefaults:t(17438),crossTraceDefaults:t(34936),supplyLayoutDefaults:t(79334),calc:t(47761).calc,crossTraceCalc:t(72626),arraysToCalcdata:t(75225),plot:t(32663),colorbar:t(4898),formatLabels:t(8225),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(33720),selectPoints:t(98002),animatable:!0,moduleType:"trace",name:"scatter",basePlotModule:t(93612),categories:["cartesian","svg","symbols","errorBarsOK","showLegend","scatter-like","zoomScale"],meta:{}}},21479:function(T){T.exports={scattermode:{valType:"enumerated",values:["group","overlay"],dflt:"overlay",editType:"calc"},scattergap:{valType:"number",min:0,max:1,editType:"calc"}}},79334:function(T,p,t){var d=t(71828),g=t(21479);T.exports=function(i,M){var v,f=M.barmode==="group";M.scattermode==="group"&&(v=f?M.bargap:.2,d.coerce(i,M,g,"scattergap",v))}},11058:function(T,p,t){var d=t(71828).isArrayOrTypedArray,g=t(52075).hasColorscale,i=t(1586);T.exports=function(M,v,f,l,a,u){u||(u={});var o=(M.marker||{}).color;a("line.color",f),g(M,"line")?i(M,v,l,a,{prefix:"line.",cLetter:"c"}):a("line.color",!d(o)&&o||f),a("line.width"),u.noDash||a("line.dash"),u.backoff&&a("line.backoff")}},34621:function(T,p,t){var d=t(91424),g=t(50606),i=g.BADNUM,M=g.LOG_CLIP,v=M+.5,f=M-.5,l=t(71828),a=l.segmentsIntersect,u=l.constrain,o=t(47581);T.exports=function(s,c){var h,m,w,y,S,_,k,E,x,A,L,b,R,I,O,z,F,B,N=c.trace||{},W=c.xaxis,j=c.yaxis,$=W.type==="log",U=j.type==="log",G=W._length,q=j._length,H=c.backoff,ne=N.marker,te=c.connectGaps,Z=c.baseTolerance,X=c.shape,Q=X==="linear",re=N.fill&&N.fill!=="none",ie=[],oe=o.minTolerance,ue=s.length,ce=new Array(ue),ye=0;function de(Vt){var Ke=s[Vt];if(!Ke)return!1;var Je=c.linearized?W.l2p(Ke.x):W.c2p(Ke.x),qe=c.linearized?j.l2p(Ke.y):j.c2p(Ke.y);if(Je===i){if($&&(Je=W.c2p(Ke.x,!0)),Je===i)return!1;U&&qe===i&&(Je*=Math.abs(W._m*q*(W._m>0?v:f)/(j._m*G*(j._m>0?v:f)))),Je*=1e3}if(qe===i){if(U&&(qe=j.c2p(Ke.y,!0)),qe===i)return!1;qe*=1e3}return[Je,qe]}function me(Vt,Ke,Je,qe){var nt=Je-Vt,ft=qe-Ke,Re=.5-Vt,Ne=.5-Ke,Qe=nt*nt+ft*ft,ut=nt*Re+ft*Ne;if(ut>0&&utLe||Vt[1]ze)return[u(Vt[0],ke,Le),u(Vt[1],Be,ze)]}function we(Vt,Ke){return Vt[0]===Ke[0]&&(Vt[0]===ke||Vt[0]===Le)||Vt[1]===Ke[1]&&(Vt[1]===Be||Vt[1]===ze)||void 0}function Ee(Vt,Ke,Je){return function(qe,nt){var ft=ge(qe),Re=ge(nt),Ne=[];if(ft&&Re&&we(ft,Re))return Ne;ft&&Ne.push(ft),Re&&Ne.push(Re);var Qe=2*l.constrain((qe[Vt]+nt[Vt])/2,Ke,Je)-((ft||qe)[Vt]+(Re||nt)[Vt]);return Qe&&((ft&&Re?Qe>0==ft[Vt]>Re[Vt]?ft:Re:ft||Re)[Vt]+=Qe),Ne}}function Ve(Vt){var Ke=Vt[0],Je=Vt[1],qe=Ke===ce[ye-1][0],nt=Je===ce[ye-1][1];if(!qe||!nt)if(ye>1){var ft=Ke===ce[ye-2][0],Re=Je===ce[ye-2][1];qe&&(Ke===ke||Ke===Le)&&ft?Re?ye--:ce[ye-1]=Vt:nt&&(Je===Be||Je===ze)&&Re?ft?ye--:ce[ye-1]=Vt:ce[ye++]=Vt}else ce[ye++]=Vt}function $e(Vt){ce[ye-1][0]!==Vt[0]&&ce[ye-1][1]!==Vt[1]&&Ve([Me,Se]),Ve(Vt),Ce=null,Me=Se=0}X==="linear"||X==="spline"?fe=function(Vt,Ke){for(var Je=[],qe=0,nt=0;nt<4;nt++){var ft=je[nt],Re=a(Vt[0],Vt[1],Ke[0],Ke[1],ft[0],ft[1],ft[2],ft[3]);Re&&(!qe||Math.abs(Re.x-Je[0][0])>1||Math.abs(Re.y-Je[0][1])>1)&&(Re=[Re.x,Re.y],qe&&xe(Re,Vt)Le?Le:0,_e=Vt[1]ze?ze:0,Pe||_e){if(ye)if(Ce){var Ke=fe(Ce,Vt);Ke.length>1&&($e(Ke[0]),ce[ye++]=Ke[1])}else ae=fe(ce[ye-1],Vt)[0],ce[ye++]=ae;else ce[ye++]=[Pe||Vt[0],_e||Vt[1]];var Je=ce[ye-1];Pe&&_e&&(Je[0]!==Pe||Je[1]!==_e)?(Ce&&(Me!==Pe&&Se!==_e?Ve(Me&&Se?(qe=Ce,ft=(nt=Vt)[0]-qe[0],Re=(nt[1]-qe[1])/ft,(qe[1]*nt[0]-nt[1]*qe[0])/ft>0?[Re>0?ke:Le,ze]:[Re>0?Le:ke,Be]):[Me||Pe,Se||_e]):Me&&Se&&Ve([Me,Se])),Ve([Pe,_e])):Me-Pe&&Se-_e&&Ve([Pe||Me,_e||Se]),Ce=Vt,Me=Pe,Se=_e}else Ce&&$e(fe(Ce,Vt)[0]),ce[ye++]=Vt;var qe,nt,ft,Re}for(h=0;hpe(_,ot))break;w=_,(R=x[0]*E[0]+x[1]*E[1])>L?(L=R,y=_,k=!1):R=s.length||!_)break;st(_),m=_}}else st(y)}Ce&&Ve([Me||Ce[0],Se||Ce[1]]),ie.push(ce.slice(0,ye))}var ht=X.slice(X.length-1);if(H&&ht!=="h"&&ht!=="v"){for(var bt=!1,Et=-1,kt=[],xt=0;xt=0?l=c:(l=c=s,s++),l0?Math.max(u,f):0}}},4898:function(T){T.exports={container:"marker",min:"cmin",max:"cmax"}},49508:function(T,p,t){var d=t(7901),g=t(52075).hasColorscale,i=t(1586),M=t(34098);T.exports=function(v,f,l,a,u,o){var s=M.isBubble(v),c=(v.line||{}).color;o=o||{},c&&(l=c),u("marker.symbol"),u("marker.opacity",s?.7:1),u("marker.size"),o.noAngle||(u("marker.angle"),o.noAngleRef||u("marker.angleref"),o.noStandOff||u("marker.standoff")),u("marker.color",l),g(v,"marker")&&i(v,f,a,u,{prefix:"marker.",cLetter:"c"}),o.noSelect||(u("selected.marker.color"),u("unselected.marker.color"),u("selected.marker.size"),u("unselected.marker.size")),o.noLine||(u("marker.line.color",c&&!Array.isArray(c)&&f.marker.color!==c?c:s?d.background:d.defaultLine),g(v,"marker.line")&&i(v,f,a,u,{prefix:"marker.line.",cLetter:"c"}),u("marker.line.width",s?1:0)),s&&(u("marker.sizeref"),u("marker.sizemin"),u("marker.sizemode")),o.gradient&&u("marker.gradient.type")!=="none"&&u("marker.gradient.color")}},73927:function(T,p,t){var d=t(71828).dateTick0,g=t(50606).ONEWEEK;function i(M,v){return d(v,M%g==0?1:0)}T.exports=function(M,v,f,l,a){if(a||(a={x:!0,y:!0}),a.x){var u=l("xperiod");u&&(l("xperiod0",i(u,v.xcalendar)),l("xperiodalignment"))}if(a.y){var o=l("yperiod");o&&(l("yperiod0",i(o,v.ycalendar)),l("yperiodalignment"))}}},32663:function(T,p,t){var d=t(39898),g=t(73972),i=t(71828),M=i.ensureSingle,v=i.identity,f=t(91424),l=t(34098),a=t(34621),u=t(68687),o=t(61082).tester;function s(c,h,m,w,y,S,_){var k,E=c._context.staticPlot;(function(fe,be,ke,Le,Be){var ze=ke.xaxis,je=ke.yaxis,ge=d.extent(i.simpleMap(ze.range,ze.r2c)),we=d.extent(i.simpleMap(je.range,je.r2c)),Ee=Le[0].trace;if(l.hasMarkers(Ee)){var Ve=Ee.marker.maxdisplayed;if(Ve!==0){var $e=Le.filter(function(ht){return ht.x>=ge[0]&&ht.x<=ge[1]&&ht.y>=we[0]&&ht.y<=we[1]}),Ye=Math.ceil($e.length/Ve),st=0;Be.forEach(function(ht,bt){var Et=ht[0].trace;l.hasMarkers(Et)&&Et.marker.maxdisplayed>0&&bt0;function A(fe){return x?fe.transition():fe}var L=m.xaxis,b=m.yaxis,R=w[0].trace,I=R.line,O=d.select(S),z=M(O,"g","errorbars"),F=M(O,"g","lines"),B=M(O,"g","points"),N=M(O,"g","text");if(g.getComponentMethod("errorbars","plot")(c,z,m,_),R.visible===!0){var W,j;A(O).style("opacity",R.opacity);var $=R.fill.charAt(R.fill.length-1);$!=="x"&&$!=="y"&&($=""),w[0][m.isRangePlot?"nodeRangePlot3":"node3"]=O;var U,G,q="",H=[],ne=R._prevtrace;ne&&(q=ne._prevRevpath||"",j=ne._nextFill,H=ne._polygons);var te,Z,X,Q,re,ie,oe,ue="",ce="",ye=[],de=i.noop;if(W=R._ownFill,l.hasLines(R)||R.fill!=="none"){for(j&&j.datum(w),["hv","vh","hvh","vhv"].indexOf(I.shape)!==-1?(te=f.steps(I.shape),Z=f.steps(I.shape.split("").reverse().join(""))):te=Z=I.shape==="spline"?function(fe){var be=fe[fe.length-1];return fe.length>1&&fe[0][0]===be[0]&&fe[0][1]===be[1]?f.smoothclosed(fe.slice(1),I.smoothing):f.smoothopen(fe,I.smoothing)}:function(fe){return"M"+fe.join("L")},X=function(fe){return Z(fe.reverse())},ye=a(w,{xaxis:L,yaxis:b,trace:R,connectGaps:R.connectgaps,baseTolerance:Math.max(I.width||1,3)/4,shape:I.shape,backoff:I.backoff,simplify:I.simplify,fill:R.fill}),oe=R._polygons=new Array(ye.length),k=0;k0,A=u(c,h,m);(_=w.selectAll("g.trace").data(A,function(L){return L[0].trace.uid})).enter().append("g").attr("class",function(L){return"trace scatter trace"+L[0].trace.uid}).style("stroke-miterlimit",2),_.order(),function(L,b,R){b.each(function(I){var O=M(d.select(this),"g","fills");f.setClipUrl(O,R.layerClipId,L);var z=I[0].trace,F=[];z._ownfill&&F.push("_ownFill"),z._nexttrace&&F.push("_nextFill");var B=O.selectAll("g").data(F,v);B.enter().append("g"),B.exit().each(function(N){z[N]=null}).remove(),B.order().each(function(N){z[N]=M(d.select(this),"path","js-fill")})})}(c,_,h),x?(S&&(k=S()),d.transition().duration(y.duration).ease(y.easing).each("end",function(){k&&k()}).each("interrupt",function(){k&&k()}).each(function(){w.selectAll("g.trace").each(function(L,b){s(c,b,h,L,A,this,y)})})):_.each(function(L,b){s(c,b,h,L,A,this,y)}),E&&_.exit().remove(),w.selectAll("path:not([d])").remove()}},98002:function(T,p,t){var d=t(34098);T.exports=function(g,i){var M,v,f,l,a=g.cd,u=g.xaxis,o=g.yaxis,s=[],c=a[0].trace;if(!d.hasMarkers(c)&&!d.hasText(c))return[];if(i===!1)for(M=0;M0){var m=f.c2l(c);f._lowerLogErrorBound||(f._lowerLogErrorBound=m),f._lowerErrorBound=Math.min(f._lowerLogErrorBound,m)}}else a[u]=[-o[0]*v,o[1]*v]}return a}T.exports=function(i,M,v){var f=[g(i.x,i.error_x,M[0],v.xaxis),g(i.y,i.error_y,M[1],v.yaxis),g(i.z,i.error_z,M[2],v.zaxis)],l=function(h){for(var m=0;m-1?-1:b.indexOf("right")>-1?1:0}function _(b){return b==null?0:b.indexOf("top")>-1?-1:b.indexOf("bottom")>-1?1:0}function k(b,R){return R(4*b)}function E(b){return s[b]}function x(b,R,I,O,z){var F=null;if(f.isArrayOrTypedArray(b)){F=[];for(var B=0;B=0){var j=function($,U,G){var q,H=(G+1)%3,ne=(G+2)%3,te=[],Z=[];for(q=0;q<$.length;++q){var X=$[q];!isNaN(X[H])&&isFinite(X[H])&&!isNaN(X[ne])&&isFinite(X[ne])&&(te.push([X[H],X[ne]]),Z.push(q))}var Q=v(te);for(q=0;q=0&&c("surfacecolor",m||w);for(var y=["x","y","z"],S=0;S<3;++S){var _="projection."+y[S];c(_+".show")&&(c(_+".opacity"),c(_+".scale"))}var k=d.getComponentMethod("errorbars","supplyDefaults");k(a,u,m||w||o,{axis:"z"}),k(a,u,m||w||o,{axis:"y",inherit:"z"}),k(a,u,m||w||o,{axis:"x",inherit:"z"})}else u.visible=!1}},13551:function(T,p,t){T.exports={plot:t(58925),attributes:t(44542),markerSymbols:t(87381),supplyDefaults:t(21428),colorbar:[{container:"marker",min:"cmin",max:"cmax"},{container:"line",min:"cmin",max:"cmax"}],calc:t(36563),moduleType:"trace",name:"scatter3d",basePlotModule:t(58547),categories:["gl3d","symbols","showLegend","scatter-like"],meta:{}}},97001:function(T,p,t){var d=t(82196),g=t(9012),i=t(5386).fF,M=t(5386).si,v=t(50693),f=t(1426).extendFlat,l=d.marker,a=d.line,u=l.line;T.exports={carpet:{valType:"string",editType:"calc"},a:{valType:"data_array",editType:"calc"},b:{valType:"data_array",editType:"calc"},mode:f({},d.mode,{dflt:"markers"}),text:f({},d.text,{}),texttemplate:M({editType:"plot"},{keys:["a","b","text"]}),hovertext:f({},d.hovertext,{}),line:{color:a.color,width:a.width,dash:a.dash,backoff:a.backoff,shape:f({},a.shape,{values:["linear","spline"]}),smoothing:a.smoothing,editType:"calc"},connectgaps:d.connectgaps,fill:f({},d.fill,{values:["none","toself","tonext"],dflt:"none"}),fillcolor:d.fillcolor,marker:f({symbol:l.symbol,opacity:l.opacity,maxdisplayed:l.maxdisplayed,angle:l.angle,angleref:l.angleref,standoff:l.standoff,size:l.size,sizeref:l.sizeref,sizemin:l.sizemin,sizemode:l.sizemode,line:f({width:u.width,editType:"calc"},v("marker.line")),gradient:l.gradient,editType:"calc"},v("marker")),textfont:d.textfont,textposition:d.textposition,selected:d.selected,unselected:d.unselected,hoverinfo:f({},g.hoverinfo,{flags:["a","b","text","name"]}),hoveron:d.hoveron,hovertemplate:i()}},34618:function(T,p,t){var d=t(92770),g=t(36922),i=t(75225),M=t(66279),v=t(47761).calcMarkerSize,f=t(22882);T.exports=function(l,a){var u=a._carpetTrace=f(l,a);if(u&&u.visible&&u.visible!=="legendonly"){var o;a.xaxis=u.xaxis,a.yaxis=u.yaxis;var s,c,h=a._length,m=new Array(h),w=!1;for(o=0;o")}return l}function k(E,x){var A;A=E.labelprefix&&E.labelprefix.length>0?E.labelprefix.replace(/ = $/,""):E._hovertitle,S.push(A+": "+x.toFixed(3)+E.labelsuffix)}}},46858:function(T,p,t){T.exports={attributes:t(97001),supplyDefaults:t(98965),colorbar:t(4898),formatLabels:t(48953),calc:t(34618),plot:t(1913),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(22931),selectPoints:t(98002),eventData:t(16165),moduleType:"trace",name:"scattercarpet",basePlotModule:t(93612),categories:["svg","carpet","symbols","showLegend","carpetDependent","zoomScale"],meta:{}}},1913:function(T,p,t){var d=t(32663),g=t(89298),i=t(91424);T.exports=function(M,v,f,l){var a,u,o,s=f[0][0].carpet,c=g.getFromId(M,s.xaxis||"x"),h=g.getFromId(M,s.yaxis||"y"),m={xaxis:c,yaxis:h,plot:v.plot};for(a=0;a")}function j($){return $+"°"}}(o,y,f,u[0].t.labels),f.hovertemplate=o.hovertemplate,[f]}}},17988:function(T,p,t){T.exports={attributes:t(19316),supplyDefaults:t(10659),colorbar:t(4898),formatLabels:t(82719),calc:t(84622),calcGeoJSON:t(89171).calcGeoJSON,plot:t(89171).plot,style:t(33095),styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(14977),eventData:t(84084),selectPoints:t(20548),moduleType:"trace",name:"scattergeo",basePlotModule:t(44622),categories:["geo","symbols","showLegend","scatter-like"],meta:{}}},89171:function(T,p,t){var d=t(39898),g=t(71828),i=t(90973).getTopojsonFeatures,M=t(18214),v=t(41327),f=t(71739).findExtremes,l=t(50606).BADNUM,a=t(47761).calcMarkerSize,u=t(34098),o=t(33095);T.exports={calcGeoJSON:function(s,c){var h,m,w=s[0].trace,y=c[w.geo],S=y._subplot,_=w._length;if(Array.isArray(w.locations)){var k=w.locationmode,E=k==="geojson-id"?v.extractTraceFeature(s):i(w,S.topojson);for(h=0;h<_;h++){m=s[h];var x=k==="geojson-id"?m.fOut:v.locationToFeature(k,m.loc,E);m.lonlat=x?x.properties.ct:[l,l]}}var A,L,b={padded:!0};if(y.fitbounds==="geojson"&&w.locationmode==="geojson-id"){var R=v.computeBbox(v.getTraceGeojson(w));A=[R[0],R[2]],L=[R[1],R[3]]}else{for(A=new Array(_),L=new Array(_),h=0;h<_;h++)m=s[h],A[h]=m.lonlat[0],L[h]=m.lonlat[1];b.ppad=a(w,_)}w._extremes.lon=f(y.lonaxis._ax,A,b),w._extremes.lat=f(y.lataxis._ax,L,b)},plot:function(s,c,h){var m=c.layers.frontplot.select(".scatterlayer"),w=g.makeTraceGroups(m,h,"trace scattergeo");function y(S,_){S.lonlat[0]===l&&d.select(_).remove()}w.selectAll("*").remove(),w.each(function(S){var _=d.select(this),k=S[0].trace;if(u.hasLines(k)||k.fill!=="none"){var E=M.calcTraceToLineCoords(S),x=k.fill!=="none"?M.makePolygon(E):M.makeLine(E);_.selectAll("path.js-line").data([{geojson:x,trace:k}]).enter().append("path").classed("js-line",!0).style("stroke-miterlimit",2)}u.hasMarkers(k)&&_.selectAll("path.point").data(g.identity).enter().append("path").classed("point",!0).each(function(A){y(A,this)}),u.hasText(k)&&_.selectAll("g").data(g.identity).enter().append("g").append("text").each(function(A){y(A,this)}),o(s,S)})}}},20548:function(T,p,t){var d=t(34098),g=t(50606).BADNUM;T.exports=function(i,M){var v,f,l,a,u,o=i.cd,s=i.xaxis,c=i.yaxis,h=[],m=o[0].trace;if(!d.hasMarkers(m)&&!d.hasText(m))return[];if(M===!1)for(u=0;u=m,R=2*L,I={},O=E.makeCalcdata(S,"x"),z=x.makeCalcdata(S,"y"),F=v(S,E,"x",O),B=v(S,x,"y",z),N=F.vals,W=B.vals;S._x=N,S._y=W,S.xperiodalignment&&(S._origX=O,S._xStarts=F.starts,S._xEnds=F.ends),S.yperiodalignment&&(S._origY=z,S._yStarts=B.starts,S._yEnds=B.ends);var j=new Array(R),$=new Array(L);for(_=0;_1&&g.extendFlat(re.line,s.linePositions(H,te,Z)),re.errorX||re.errorY){var ie=s.errorBarPositions(H,te,Z,X,Q);re.errorX&&g.extendFlat(re.errorX,ie.x),re.errorY&&g.extendFlat(re.errorY,ie.y)}return re.text&&(g.extendFlat(re.text,{positions:Z},s.textPosition(H,te,re.text,re.marker)),g.extendFlat(re.textSel,{positions:Z},s.textPosition(H,te,re.text,re.markerSel)),g.extendFlat(re.textUnsel,{positions:Z},s.textPosition(H,te,re.text,re.markerUnsel))),re}(y,0,S,j,N,W),q=c(y,A);return u(k,S),b?G.marker&&(U=G.marker.sizeAvg||Math.max(G.marker.size,3)):U=l(S,L),a(y,S,E,x,N,W,U),G.errorX&&w(S,E,G.errorX),G.errorY&&w(S,x,G.errorY),G.fill&&!q.fill2d&&(q.fill2d=!0),G.marker&&!q.scatter2d&&(q.scatter2d=!0),G.line&&!q.line2d&&(q.line2d=!0),!G.errorX&&!G.errorY||q.error2d||(q.error2d=!0),G.text&&!q.glText&&(q.glText=!0),G.marker&&(G.marker.snap=L),q.lineOptions.push(G.line),q.errorXOptions.push(G.errorX),q.errorYOptions.push(G.errorY),q.fillOptions.push(G.fill),q.markerOptions.push(G.marker),q.markerSelectedOptions.push(G.markerSel),q.markerUnselectedOptions.push(G.markerUnsel),q.textOptions.push(G.text),q.textSelectedOptions.push(G.textSel),q.textUnselectedOptions.push(G.textUnsel),q.selectBatch.push([]),q.unselectBatch.push([]),I._scene=q,I.index=q.count,I.x=N,I.y=W,I.positions=j,q.count++,[{x:!1,y:!1,t:I,trace:S}]}},78232:function(T){T.exports={TOO_MANY_POINTS:1e5,SYMBOL_SDF_SIZE:200,SYMBOL_SIZE:20,SYMBOL_STROKE:1,DOT_RE:/-dot/,OPEN_RE:/-open/,DASHES:{solid:[1],dot:[1,1],dash:[4,1],longdash:[8,1],dashdot:[4,1,1,1],longdashdot:[8,1,1,1]}}},19635:function(T,p,t){var d=t(92770),g=t(82019),i=t(25075),M=t(73972),v=t(71828),f=t(91424),l=t(41675),a=t(81697).formatColor,u=t(34098),o=t(39984),s=t(68645),c=t(78232),h=t(37822).DESELECTDIM,m={start:1,left:1,end:-1,right:-1,middle:0,center:0,bottom:1,top:-1},w=t(23469).appendArrayPointValue;function y(O,z){var F,B=O._fullLayout,N=z._length,W=z.textfont,j=z.textposition,$=Array.isArray(j)?j:[j],U=W.color,G=W.size,q=W.family,H={},ne=O._context.plotGlPixelRatio,te=z.texttemplate;if(te){H.text=[];var Z=B._d3locale,X=Array.isArray(te),Q=X?Math.min(te.length,N):N,re=X?function(me){return te[me]}:function(){return te};for(F=0;Fc.TOO_MANY_POINTS||u.hasMarkers(z)?"rect":"round";if(G&&z.connectgaps){var H=B[0],ne=B[1];for(N=0;N1?U[N]:U[0]:U,te=Array.isArray(G)?G.length>1?G[N]:G[0]:G,Z=m[ne],X=m[te],Q=q?q/.8+1:0,re=-X*Q-.5*X;j.offset[N]=[Z*Q/H,re/H]}}return j}}},47148:function(T,p,t){var d=t(71828),g=t(73972),i=t(68645),M=t(42341),v=t(47581),f=t(34098),l=t(67513),a=t(73927),u=t(49508),o=t(11058),s=t(28908),c=t(82410);T.exports=function(h,m,w,y){function S(R,I){return d.coerce(h,m,M,R,I)}var _=!!h.marker&&i.isOpenSymbol(h.marker.symbol),k=f.isBubble(h),E=l(h,m,y,S);if(E){a(h,m,y,S),S("xhoverformat"),S("yhoverformat");var x=E100},p.isDotSymbol=function(g){return typeof g=="string"?d.DOT_RE.test(g):g>200}},20794:function(T,p,t){var d=t(73972),g=t(71828),i=t(34603);function M(v,f,l,a){var u=v.xa,o=v.ya,s=v.distance,c=v.dxy,h=v.index,m={pointNumber:h,x:f[h],y:l[h]};m.tx=Array.isArray(a.text)?a.text[h]:a.text,m.htx=Array.isArray(a.hovertext)?a.hovertext[h]:a.hovertext,m.data=Array.isArray(a.customdata)?a.customdata[h]:a.customdata,m.tp=Array.isArray(a.textposition)?a.textposition[h]:a.textposition;var w=a.textfont;w&&(m.ts=g.isArrayOrTypedArray(w.size)?w.size[h]:w.size,m.tc=Array.isArray(w.color)?w.color[h]:w.color,m.tf=Array.isArray(w.family)?w.family[h]:w.family);var y=a.marker;y&&(m.ms=g.isArrayOrTypedArray(y.size)?y.size[h]:y.size,m.mo=g.isArrayOrTypedArray(y.opacity)?y.opacity[h]:y.opacity,m.mx=g.isArrayOrTypedArray(y.symbol)?y.symbol[h]:y.symbol,m.ma=g.isArrayOrTypedArray(y.angle)?y.angle[h]:y.angle,m.mc=g.isArrayOrTypedArray(y.color)?y.color[h]:y.color);var S=y&&y.line;S&&(m.mlc=Array.isArray(S.color)?S.color[h]:S.color,m.mlw=g.isArrayOrTypedArray(S.width)?S.width[h]:S.width);var _=y&&y.gradient;_&&_.type!=="none"&&(m.mgt=Array.isArray(_.type)?_.type[h]:_.type,m.mgc=Array.isArray(_.color)?_.color[h]:_.color);var k=u.c2p(m.x,!0),E=o.c2p(m.y,!0),x=m.mrc||1,A=a.hoverlabel;A&&(m.hbg=Array.isArray(A.bgcolor)?A.bgcolor[h]:A.bgcolor,m.hbc=Array.isArray(A.bordercolor)?A.bordercolor[h]:A.bordercolor,m.hts=g.isArrayOrTypedArray(A.font.size)?A.font.size[h]:A.font.size,m.htc=Array.isArray(A.font.color)?A.font.color[h]:A.font.color,m.htf=Array.isArray(A.font.family)?A.font.family[h]:A.font.family,m.hnl=g.isArrayOrTypedArray(A.namelength)?A.namelength[h]:A.namelength);var L=a.hoverinfo;L&&(m.hi=Array.isArray(L)?L[h]:L);var b=a.hovertemplate;b&&(m.ht=Array.isArray(b)?b[h]:b);var R={};R[v.index]=m;var I=a._origX,O=a._origY,z=g.extendFlat({},v,{color:i(a,m),x0:k-x,x1:k+x,xLabelVal:I?I[h]:m.x,y0:E-x,y1:E+x,yLabelVal:O?O[h]:m.y,cd:R,distance:s,spikeDistance:c,hovertemplate:m.ht});return m.htx?z.text=m.htx:m.tx?z.text=m.tx:a.text&&(z.text=a.text),g.fillText(m,a,z),d.getComponentMethod("errorbars","hoverInfo")(m,a,z),z}T.exports={hoverPoints:function(v,f,l,a){var u,o,s,c,h,m,w,y,S,_,k=v.cd,E=k[0].t,x=k[0].trace,A=v.xa,L=v.ya,b=E.x,R=E.y,I=A.c2p(f),O=L.c2p(l),z=v.distance;if(E.tree){var F=A.p2c(I-z),B=A.p2c(I+z),N=L.p2c(O-z),W=L.p2c(O+z);u=a==="x"?E.tree.range(Math.min(F,B),Math.min(L._rl[0],L._rl[1]),Math.max(F,B),Math.max(L._rl[0],L._rl[1])):E.tree.range(Math.min(F,B),Math.min(N,W),Math.max(F,B),Math.max(N,W))}else u=E.ids;var j=z;if(a==="x"){var $=!!x.xperiodalignment,U=!!x.yperiodalignment;for(m=0;m=Math.min(G,q)&&I<=Math.max(G,q)?0:1/0}if(w=Math.min(H,ne)&&O<=Math.max(H,ne)?0:1/0}_=Math.sqrt(w*w+y*y),s=u[m]}}}else for(m=u.length-1;m>-1;m--)c=b[o=u[m]],h=R[o],w=A.c2p(c)-I,y=L.c2p(h)-O,(S=Math.sqrt(w*w+y*y))k.glText.length){var b=A-k.glText.length;for(y=0;yue&&(isNaN(oe[ce])||isNaN(oe[ce+1]));)ce-=2;ie.positions=oe.slice(ue,ce+2)}return ie}),k.line2d.update(k.lineOptions)),k.error2d){var I=(k.errorXOptions||[]).concat(k.errorYOptions||[]);k.error2d.update(I)}k.scatter2d&&k.scatter2d.update(k.markerOptions),k.fillOrder=v.repeat(null,A),k.fill2d&&(k.fillOptions=k.fillOptions.map(function(ie,oe){var ue=w[oe];if(ie&&ue&&ue[0]&&ue[0].trace){var ce,ye,de=ue[0],me=de.trace,pe=de.t,xe=k.lineOptions[oe],Pe=[];me._ownfill&&Pe.push(oe),me._nexttrace&&Pe.push(oe+1),Pe.length&&(k.fillOrder[oe]=Pe);var _e,Me,Se=[],Ce=xe&&xe.positions||pe.positions;if(me.fill==="tozeroy"){for(_e=0;_e_e&&isNaN(Ce[Me+1]);)Me-=2;Ce[_e+1]!==0&&(Se=[Ce[_e],0]),Se=Se.concat(Ce.slice(_e,Me+2)),Ce[Me+1]!==0&&(Se=Se.concat([Ce[Me],0]))}else if(me.fill==="tozerox"){for(_e=0;_e_e&&isNaN(Ce[Me]);)Me-=2;Ce[_e]!==0&&(Se=[0,Ce[_e+1]]),Se=Se.concat(Ce.slice(_e,Me+2)),Ce[Me]!==0&&(Se=Se.concat([0,Ce[Me+1]]))}else if(me.fill==="toself"||me.fill==="tonext"){for(Se=[],ce=0,ie.splitNull=!0,ye=0;ye-1;for(y=0;y")}function S(_){return _+"°"}}T.exports={hoverPoints:function(a,u,o){var s=a.cd,c=s[0].trace,h=a.xa,m=a.ya,w=a.subplot,y=[],S=f+c.uid+"-circle",_=c.cluster&&c.cluster.enabled;if(_){var k=w.map.queryRenderedFeatures(null,{layers:[S]});y=k.map(function(B){return B.id})}var E=360*(u>=0?Math.floor((u+180)/360):Math.ceil((u-180)/360)),x=u-E;if(d.getClosest(s,function(B){var N=B.lonlat;if(N[0]===v||_&&y.indexOf(B.i+1)===-1)return 1/0;var W=g.modHalf(N[0],360),j=N[1],$=w.project([W,j]),U=$.x-h.c2p([x,j]),G=$.y-m.c2p([W,o]),q=Math.max(3,B.mrc||0);return Math.max(Math.sqrt(U*U+G*G)-q,1-3/q)},a),a.index!==!1){var A=s[a.index],L=A.lonlat,b=[g.modHalf(L[0],360)+E,L[1]],R=h.c2p(b),I=m.c2p(b),O=A.mrc||1;a.x0=R-O,a.x1=R+O,a.y0=I-O,a.y1=I+O;var z={};z[c.subplot]={_subplot:w};var F=c._module.formatLabels(A,c,z);return a.lonLabel=F.lonLabel,a.latLabel=F.latLabel,a.color=i(c,A),a.extraText=l(c,A,s[0].t.labels),a.hovertemplate=c.hovertemplate,[a]}},getExtraText:l}},20467:function(T,p,t){T.exports={attributes:t(99181),supplyDefaults:t(76645),colorbar:t(4898),formatLabels:t(15636),calc:t(84622),plot:t(86951),hoverPoints:t(28178).hoverPoints,eventData:t(53353),selectPoints:t(86387),styleOnSelect:function(d,g){g&&g[0].trace._glTrace.update(g)},moduleType:"trace",name:"scattermapbox",basePlotModule:t(50101),categories:["mapbox","gl","symbols","showLegend","scatter-like"],meta:{}}},86951:function(T,p,t){var d=t(71828),g=t(15790),i=t(77734).traceLayerPrefix,M={cluster:["cluster","clusterCount","circle"],nonCluster:["fill","line","circle","symbol"]};function v(l,a,u,o){this.type="scattermapbox",this.subplot=l,this.uid=a,this.clusterEnabled=u,this.isHidden=o,this.sourceIds={fill:"source-"+a+"-fill",line:"source-"+a+"-line",circle:"source-"+a+"-circle",symbol:"source-"+a+"-symbol",cluster:"source-"+a+"-circle",clusterCount:"source-"+a+"-circle"},this.layerIds={fill:i+a+"-fill",line:i+a+"-line",circle:i+a+"-circle",symbol:i+a+"-symbol",cluster:i+a+"-cluster",clusterCount:i+a+"-cluster-count"},this.below=null}var f=v.prototype;f.addSource=function(l,a,u){var o={type:"geojson",data:a.geojson};u&&u.enabled&&d.extendFlat(o,{cluster:!0,clusterMaxZoom:u.maxzoom});var s=this.subplot.map.getSource(this.sourceIds[l]);s?s.setData(a.geojson):this.subplot.map.addSource(this.sourceIds[l],o)},f.setSourceData=function(l,a){this.subplot.map.getSource(this.sourceIds[l]).setData(a.geojson)},f.addLayer=function(l,a,u){var o={type:a.type,id:this.layerIds[l],source:this.sourceIds[l],layout:a.layout,paint:a.paint};a.filter&&(o.filter=a.filter);for(var s,c=this.layerIds[l],h=this.subplot.getMapLayers(),m=0;m=0;b--){var R=L[b];o.removeLayer(w.layerIds[R])}A||o.removeSource(w.sourceIds.circle)}(x):function(A){for(var L=M.nonCluster,b=L.length-1;b>=0;b--){var R=L[b];o.removeLayer(w.layerIds[R]),A||o.removeSource(w.sourceIds[R])}}(x)}function S(x){h?function(A){A||w.addSource("circle",s.circle,a.cluster);for(var L=M.cluster,b=0;b=0;u--){var o=a[u];l.removeLayer(this.layerIds[o]),l.removeSource(this.sourceIds[o])}},T.exports=function(l,a){var u,o,s,c=a[0].trace,h=c.cluster&&c.cluster.enabled,m=c.visible!==!0,w=new v(l,c.uid,h,m),y=g(l.gd,a),S=w.below=l.belowLookup["trace-"+c.uid];if(h)for(w.addSource("circle",y.circle,c.cluster),u=0;u")}}T.exports={hoverPoints:function(i,M,v,f){var l=d(i,M,v,f);if(l&&l[0].index!==!1){var a=l[0];if(a.index===void 0)return l;var u=i.subplot,o=a.cd[a.index],s=a.trace;if(u.isPtInside(o))return a.xLabelVal=void 0,a.yLabelVal=void 0,g(o,s,u,a),a.hovertemplate=s.hovertemplate,l}},makeHoverPointText:g}},91271:function(T,p,t){T.exports={moduleType:"trace",name:"scatterpolar",basePlotModule:t(23580),categories:["polar","symbols","showLegend","scatter-like"],attributes:t(81245),supplyDefaults:t(22184).supplyDefaults,colorbar:t(4898),formatLabels:t(98608),calc:t(26442),plot:t(45162),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(59150).hoverPoints,selectPoints:t(98002),meta:{}}},45162:function(T,p,t){var d=t(32663),g=t(50606).BADNUM;T.exports=function(i,M,v){for(var f=M.layers.frontplot.select("g.scatterlayer"),l=M.xaxis,a=M.yaxis,u={xaxis:l,yaxis:a,plot:M.framework,layerClipId:M._hasClipOnAxisFalse?M.clipIds.forTraces:null},o=M.radialAxis,s=M.angularAxis,c=0;c=l&&(A.marker.cluster=_.tree),A.marker&&(A.markerSel.positions=A.markerUnsel.positions=A.marker.positions=R),A.line&&R.length>1&&f.extendFlat(A.line,v.linePositions(a,S,R)),A.text&&(f.extendFlat(A.text,{positions:R},v.textPosition(a,S,A.text,A.marker)),f.extendFlat(A.textSel,{positions:R},v.textPosition(a,S,A.text,A.markerSel)),f.extendFlat(A.textUnsel,{positions:R},v.textPosition(a,S,A.text,A.markerUnsel))),A.fill&&!h.fill2d&&(h.fill2d=!0),A.marker&&!h.scatter2d&&(h.scatter2d=!0),A.line&&!h.line2d&&(h.line2d=!0),A.text&&!h.glText&&(h.glText=!0),h.lineOptions.push(A.line),h.fillOptions.push(A.fill),h.markerOptions.push(A.marker),h.markerSelectedOptions.push(A.markerSel),h.markerUnselectedOptions.push(A.markerUnsel),h.textOptions.push(A.text),h.textSelectedOptions.push(A.textSel),h.textUnselectedOptions.push(A.textUnsel),h.selectBatch.push([]),h.unselectBatch.push([]),_.x=I,_.y=O,_.rawx=I,_.rawy=O,_.r=E,_.theta=x,_.positions=R,_._scene=h,_.index=h.count,h.count++}}),i(a,u,o)}},T.exports.reglPrecompiled={}},48300:function(T,p,t){var d=t(5386).fF,g=t(5386).si,i=t(1426).extendFlat,M=t(82196),v=t(9012),f=M.line;T.exports={mode:M.mode,real:{valType:"data_array",editType:"calc+clearAxisTypes"},imag:{valType:"data_array",editType:"calc+clearAxisTypes"},text:M.text,texttemplate:g({editType:"plot"},{keys:["real","imag","text"]}),hovertext:M.hovertext,line:{color:f.color,width:f.width,dash:f.dash,backoff:f.backoff,shape:i({},f.shape,{values:["linear","spline"]}),smoothing:f.smoothing,editType:"calc"},connectgaps:M.connectgaps,marker:M.marker,cliponaxis:i({},M.cliponaxis,{dflt:!1}),textposition:M.textposition,textfont:M.textfont,fill:i({},M.fill,{values:["none","toself","tonext"],dflt:"none"}),fillcolor:M.fillcolor,hoverinfo:i({},v.hoverinfo,{flags:["real","imag","text","name"]}),hoveron:M.hoveron,hovertemplate:d(),selected:M.selected,unselected:M.unselected}},30621:function(T,p,t){var d=t(92770),g=t(50606).BADNUM,i=t(36922),M=t(75225),v=t(66279),f=t(47761).calcMarkerSize;T.exports=function(l,a){for(var u=l._fullLayout,o=a.subplot,s=u[o].realaxis,c=u[o].imaginaryaxis,h=s.makeCalcdata(a,"real"),m=c.makeCalcdata(a,"imag"),w=a._length,y=new Array(w),S=0;S")}}T.exports={hoverPoints:function(i,M,v,f){var l=d(i,M,v,f);if(l&&l[0].index!==!1){var a=l[0];if(a.index===void 0)return l;var u=i.subplot,o=a.cd[a.index],s=a.trace;if(u.isPtInside(o))return a.xLabelVal=void 0,a.yLabelVal=void 0,g(o,s,u,a),a.hovertemplate=s.hovertemplate,l}},makeHoverPointText:g}},85956:function(T,p,t){T.exports={moduleType:"trace",name:"scattersmith",basePlotModule:t(7504),categories:["smith","symbols","showLegend","scatter-like"],attributes:t(48300),supplyDefaults:t(65269),colorbar:t(4898),formatLabels:t(62047),calc:t(30621),plot:t(12480),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(11350).hoverPoints,selectPoints:t(98002),meta:{}}},12480:function(T,p,t){var d=t(32663),g=t(50606).BADNUM,i=t(23893).smith;T.exports=function(M,v,f){for(var l=v.layers.frontplot.select("g.scatterlayer"),a=v.xaxis,u=v.yaxis,o={xaxis:a,yaxis:u,plot:v.framework,layerClipId:v._hasClipOnAxisFalse?v.clipIds.forTraces:null},s=0;s"),l.hovertemplate=h.hovertemplate,f}function E(x,A){_.push(x._hovertitle+": "+A)}}},52979:function(T,p,t){T.exports={attributes:t(50413),supplyDefaults:t(46008),colorbar:t(4898),formatLabels:t(93645),calc:t(54337),plot:t(7507),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(47250),selectPoints:t(98002),eventData:t(4524),moduleType:"trace",name:"scatterternary",basePlotModule:t(61639),categories:["ternary","symbols","showLegend","scatter-like"],meta:{}}},7507:function(T,p,t){var d=t(32663);T.exports=function(g,i,M){var v=i.plotContainer;v.select(".scatterlayer").selectAll("*").remove();for(var f=i.xaxis,l=i.yaxis,a={xaxis:f,yaxis:l,plot:v,layerClipId:i._hasClipOnAxisFalse?i.clipIdRelative:null},u=i.layers.frontplot.select("g.scatterlayer"),o=0;oo?x.sizeAvg||Math.max(x.size,3):i(c,E),m=0;mR&&z||b-1,j=!0;if(M(x)||w.selectedpoints||W){var $=w._length;if(w.selectedpoints){S.selectBatch=w.selectedpoints;var U=w.selectedpoints,G={};for(o=0;o1&&(m=k[A-1],y=E[A-1],_=x[A-1]),l=0;lm?"-":"+")+"x")).replace("y",(w>y?"-":"+")+"y")).replace("z",(S>_?"-":"+")+"z");var j=function(){A=0,B=[],N=[],W=[]};(!A||A2?h.slice(1,m-1):m===2?[(h[0]+h[1])/2]:h}function s(h){var m=h.length;return m===1?[.5,.5]:[h[1]-h[0],h[m-1]-h[m-2]]}function c(h,m){var w=h.fullSceneLayout,y=h.dataScale,S=m._len,_={};function k(te,Z){var X=w[Z],Q=y[l[Z]];return i.simpleMap(te,function(re){return X.d2l(re)*Q})}if(_.vectors=f(k(m._u,"xaxis"),k(m._v,"yaxis"),k(m._w,"zaxis"),S),!S)return{positions:[],cells:[]};var E=k(m._Xs,"xaxis"),x=k(m._Ys,"yaxis"),A=k(m._Zs,"zaxis");if(_.meshgrid=[E,x,A],_.gridFill=m._gridFill,m._slen)_.startingPositions=f(k(m._startsX,"xaxis"),k(m._startsY,"yaxis"),k(m._startsZ,"zaxis"));else{for(var L=x[0],b=o(E),R=o(A),I=new Array(b.length*R.length),O=0,z=0;z=0};L?(w=Math.min(A.length,R.length),y=function(ue){return N(A[ue])&&W(ue)},S=function(ue){return String(A[ue])}):(w=Math.min(b.length,R.length),y=function(ue){return N(b[ue])&&W(ue)},S=function(ue){return String(b[ue])}),O&&(w=Math.min(w,I.length));for(var j=0;j1){for(var q=i.randstr(),H=0;H>>8*k)%256/255}function c(_,k,E){for(var x=new Array(8*k),A=0,L=0;Lie&&(ie=q[te].dim1.canvasX,X=te);Q===0&&u(O,0,0,E.canvasWidth,E.canvasHeight);var oe=function(Me){var Se,Ce,ae,fe=[[],[]];for(ae=0;ae<64;ae++){var be=!Me&&aeoe._length&&(Pe=Pe.slice(0,oe._length));var _e,Me=oe.tickvals;function Se(ke,Le){return{val:ke,text:_e[Le]}}function Ce(ke,Le){return ke.val-Le.val}if(Array.isArray(Me)&&Me.length){_e=oe.ticktext,Array.isArray(_e)&&_e.length?_e.length>Me.length?_e=_e.slice(0,Me.length):Me.length>_e.length&&(Me=Me.slice(0,_e.length)):_e=Me.map(i(oe.tickformat));for(var ae=1;ae=Be||we>=ze)return;var Ee=ke.lineLayer.readPixel(ge,ze-1-we),Ve=Ee[3]!==0,$e=Ve?Ee[2]+256*(Ee[1]+256*Ee[0]):null,Ye={x:ge,y:we,clientX:Le.clientX,clientY:Le.clientY,dataIndex:ke.model.key,curveNumber:$e};$e!==ye&&(Ve?q.hover(Ye):q.unhover&&q.unhover(Ye),ye=$e)}}),ce.style("opacity",function(ke){return ke.pick?0:1}),te.style("background","rgba(255, 255, 255, 0)");var de=te.selectAll("."+y.cn.parcoords).data(ue,h);de.exit().remove(),de.enter().append("g").classed(y.cn.parcoords,!0).style("shape-rendering","crispEdges").style("pointer-events","none"),de.attr("transform",function(ke){return l(ke.model.translateX,ke.model.translateY)});var me=de.selectAll("."+y.cn.parcoordsControlView).data(c,h);me.enter().append("g").classed(y.cn.parcoordsControlView,!0),me.attr("transform",function(ke){return l(ke.model.pad.l,ke.model.pad.t)});var pe=me.selectAll("."+y.cn.yAxis).data(function(ke){return ke.dimensions},h);pe.enter().append("g").classed(y.cn.yAxis,!0),me.each(function(ke){N(pe,ke,X)}),ce.each(function(ke){if(ke.viewModel){!ke.lineLayer||q?ke.lineLayer=_(this,ke):ke.lineLayer.update(ke),(ke.key||ke.key===0)&&(ke.viewModel[ke.key]=ke.lineLayer);var Le=!ke.context||q;ke.lineLayer.render(ke.viewModel.panels,Le)}}),pe.attr("transform",function(ke){return l(ke.xScale(ke.xIndex),0)}),pe.call(d.behavior.drag().origin(function(ke){return ke}).on("drag",function(ke){var Le=ke.parent;oe.linePickActive(!1),ke.x=Math.max(-y.overdrag,Math.min(ke.model.width+y.overdrag,d.event.x)),ke.canvasX=ke.x*ke.model.canvasPixelRatio,pe.sort(function(Be,ze){return Be.x-ze.x}).each(function(Be,ze){Be.xIndex=ze,Be.x=ke===Be?Be.x:Be.xScale(Be.xIndex),Be.canvasX=Be.x*Be.model.canvasPixelRatio}),N(pe,Le,X),pe.filter(function(Be){return Math.abs(ke.xIndex-Be.xIndex)!==0}).attr("transform",function(Be){return l(Be.xScale(Be.xIndex),0)}),d.select(this).attr("transform",l(ke.x,0)),pe.each(function(Be,ze,je){je===ke.parent.key&&(Le.dimensions[ze]=Be)}),Le.contextLayer&&Le.contextLayer.render(Le.panels,!1,!I(Le)),Le.focusLayer.render&&Le.focusLayer.render(Le.panels)}).on("dragend",function(ke){var Le=ke.parent;ke.x=ke.xScale(ke.xIndex),ke.canvasX=ke.x*ke.model.canvasPixelRatio,N(pe,Le,X),d.select(this).attr("transform",function(Be){return l(Be.x,0)}),Le.contextLayer&&Le.contextLayer.render(Le.panels,!1,!I(Le)),Le.focusLayer&&Le.focusLayer.render(Le.panels),Le.pickLayer&&Le.pickLayer.render(Le.panels,!0),oe.linePickActive(!0),q&&q.axesMoved&&q.axesMoved(Le.key,Le.dimensions.map(function(Be){return Be.crossfilterDimensionIndex}))})),pe.exit().remove();var xe=pe.selectAll("."+y.cn.axisOverlays).data(c,h);xe.enter().append("g").classed(y.cn.axisOverlays,!0),xe.selectAll("."+y.cn.axis).remove();var Pe=xe.selectAll("."+y.cn.axis).data(c,h);Pe.enter().append("g").classed(y.cn.axis,!0),Pe.each(function(ke){var Le=ke.model.height/ke.model.tickDistance,Be=ke.domainScale,ze=Be.domain();d.select(this).call(d.svg.axis().orient("left").tickSize(4).outerTickSize(2).ticks(Le,ke.tickFormat).tickValues(ke.ordinal?ze:null).tickFormat(function(je){return w.isOrdinal(ke)?je:W(ke.model.dimensions[ke.visibleIndex],je)}).scale(Be)),u.font(Pe.selectAll("text"),ke.model.tickFont)}),Pe.selectAll(".domain, .tick>line").attr("fill","none").attr("stroke","black").attr("stroke-opacity",.25).attr("stroke-width","1px"),Pe.selectAll("text").style("text-shadow",a.makeTextShadow(Q)).style("cursor","default");var _e=xe.selectAll("."+y.cn.axisHeading).data(c,h);_e.enter().append("g").classed(y.cn.axisHeading,!0);var Me=_e.selectAll("."+y.cn.axisTitle).data(c,h);Me.enter().append("text").classed(y.cn.axisTitle,!0).attr("text-anchor","middle").style("cursor","ew-resize").style("pointer-events",H?"none":"auto"),Me.text(function(ke){return ke.label}).each(function(ke){var Le=d.select(this);u.font(Le,ke.model.labelFont),a.convertToTspans(Le,$)}).attr("transform",function(ke){var Le=B(ke.model.labelAngle,ke.model.labelSide),Be=y.axisTitleOffset;return(Le.dir>0?"":l(0,2*Be+ke.model.height))+f(Le.degrees)+l(-Be*Le.dx,-Be*Le.dy)}).attr("text-anchor",function(ke){var Le=B(ke.model.labelAngle,ke.model.labelSide);return 2*Math.abs(Le.dx)>Math.abs(Le.dy)?Le.dir*Le.dx<0?"start":"end":"middle"});var Se=xe.selectAll("."+y.cn.axisExtent).data(c,h);Se.enter().append("g").classed(y.cn.axisExtent,!0);var Ce=Se.selectAll("."+y.cn.axisExtentTop).data(c,h);Ce.enter().append("g").classed(y.cn.axisExtentTop,!0),Ce.attr("transform",l(0,-y.axisExtentOffset));var ae=Ce.selectAll("."+y.cn.axisExtentTopText).data(c,h);ae.enter().append("text").classed(y.cn.axisExtentTopText,!0).call(F),ae.text(function(ke){return j(ke,!0)}).each(function(ke){u.font(d.select(this),ke.model.rangeFont)});var fe=Se.selectAll("."+y.cn.axisExtentBottom).data(c,h);fe.enter().append("g").classed(y.cn.axisExtentBottom,!0),fe.attr("transform",function(ke){return l(0,ke.model.height+y.axisExtentOffset)});var be=fe.selectAll("."+y.cn.axisExtentBottomText).data(c,h);be.enter().append("text").classed(y.cn.axisExtentBottomText,!0).attr("dy","0.75em").call(F),be.text(function(ke){return j(ke,!1)}).each(function(ke){u.font(d.select(this),ke.model.rangeFont)}),C.ensureAxisBrush(xe,Q,$)}},21341:function(T,p,t){var d=t(17171),g=t(79749),i=t(1602).isVisible,M={};function v(f,l,a){var u=l.indexOf(a),o=f.indexOf(u);return o===-1&&(o+=l.length),o}(T.exports=function(f,l){var a=f._fullLayout;if(g(f,[],M)){var u={},o={},s={},h={},c=a._size;l.forEach(function(m,w){var y=m[0].trace;s[w]=y.index;var C=h[w]=y._fullInput.index;u[w]=f.data[C].dimensions,o[w]=f.data[C].dimensions.slice()}),d(f,l,{width:c.w,height:c.h,margin:{t:c.t,r:c.r,b:c.b,l:c.l}},{filterChanged:function(m,w,y){var C=o[m][w],_=y.map(function(b){return b.slice()}),k="dimensions["+w+"].constraintrange",E=a._tracePreGUI[f._fullData[s[m]]._fullInput.uid];if(E[k]===void 0){var x=C.constraintrange;E[k]=x||null}var A=f._fullData[s[m]].dimensions[w];_.length?(_.length===1&&(_=_[0]),C.constraintrange=_,A.constraintrange=_.slice(),_=[_]):(delete C.constraintrange,delete A.constraintrange,_=null);var L={};L[k]=_,f.emit("plotly_restyle",[L,[h[m]]])},hover:function(m){f.emit("plotly_hover",m)},unhover:function(m){f.emit("plotly_unhover",m)},axesMoved:function(m,w){var y=function(C,_){return function(k,E){return v(C,_,k)-v(C,_,E)}}(w,o[m].filter(i));u[m].sort(y),o[m].filter(function(C){return!i(C)}).sort(function(C){return o[m].indexOf(C)}).forEach(function(C){u[m].splice(u[m].indexOf(C),1),u[m].splice(o[m].indexOf(C),0,C)}),f.emit("plotly_restyle",[{dimensions:[u[m]]},[h[m]]])}})}}).reglPrecompiled=M},34e3:function(T,p,t){var d=t(9012),g=t(27670).Y,i=t(41940),M=t(22399),v=t(5386).fF,f=t(5386).si,l=t(1426).extendFlat,a=i({editType:"plot",arrayOk:!0,colorEditType:"plot"});T.exports={labels:{valType:"data_array",editType:"calc"},label0:{valType:"number",dflt:0,editType:"calc"},dlabel:{valType:"number",dflt:1,editType:"calc"},values:{valType:"data_array",editType:"calc"},marker:{colors:{valType:"data_array",editType:"calc"},line:{color:{valType:"color",dflt:M.defaultLine,arrayOk:!0,editType:"style"},width:{valType:"number",min:0,dflt:0,arrayOk:!0,editType:"style"},editType:"calc"},editType:"calc"},text:{valType:"data_array",editType:"plot"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"style"},scalegroup:{valType:"string",dflt:"",editType:"calc"},textinfo:{valType:"flaglist",flags:["label","text","value","percent"],extras:["none"],editType:"calc"},hoverinfo:l({},d.hoverinfo,{flags:["label","text","value","percent","name"]}),hovertemplate:v({},{keys:["label","color","value","percent","text"]}),texttemplate:f({editType:"plot"},{keys:["label","color","value","percent","text"]}),textposition:{valType:"enumerated",values:["inside","outside","auto","none"],dflt:"auto",arrayOk:!0,editType:"plot"},textfont:l({},a,{}),insidetextorientation:{valType:"enumerated",values:["horizontal","radial","tangential","auto"],dflt:"auto",editType:"plot"},insidetextfont:l({},a,{}),outsidetextfont:l({},a,{}),automargin:{valType:"boolean",dflt:!1,editType:"plot"},title:{text:{valType:"string",dflt:"",editType:"plot"},font:l({},a,{}),position:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],editType:"plot"},editType:"plot"},domain:g({name:"pie",trace:!0,editType:"calc"}),hole:{valType:"number",min:0,max:1,dflt:0,editType:"calc"},sort:{valType:"boolean",dflt:!0,editType:"calc"},direction:{valType:"enumerated",values:["clockwise","counterclockwise"],dflt:"counterclockwise",editType:"calc"},rotation:{valType:"angle",dflt:0,editType:"calc"},pull:{valType:"number",min:0,max:1,dflt:0,arrayOk:!0,editType:"calc"},_deprecated:{title:{valType:"string",dflt:"",editType:"calc"},titlefont:l({},a,{}),titleposition:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],editType:"calc"}}}},13584:function(T,p,t){var d=t(74875);p.name="pie",p.plot=function(g,i,M,v){d.plotBasePlot(p.name,g,i,M,v)},p.clean=function(g,i,M,v){d.cleanBasePlot(p.name,g,i,M,v)}},32354:function(T,p,t){var d=t(92770),g=t(84267),i=t(7901),M={};function v(l){return function(a,u){return!!a&&!!(a=g(a)).isValid()&&(a=i.addOpacity(a,a.getAlpha()),l[u]||(l[u]=a),a)}}function f(l,a){var u,o=JSON.stringify(l),s=a[o];if(!s){for(s=l.slice(),u=0;u=0}),(a.type==="funnelarea"?A:a.sort)&&s.sort(function(O,z){return z.v-O.v}),s[0]&&(s[0].vTotal=x),s},crossTraceCalc:function(l,a){var u=(a||{}).type;u||(u="pie");var o=l._fullLayout,s=l.calcdata,h=o[u+"colorway"],c=o["_"+u+"colormap"];o["extend"+u+"colors"]&&(h=f(h,M));for(var m=0,w=0;w0){h=!0;break}}h||(s=0)}return{hasLabels:u,hasValues:o,len:s}}T.exports={handleLabelsAndValues:f,supplyDefaults:function(l,a,u,o){function s(E,x){return g.coerce(l,a,i,E,x)}var h=f(s("labels"),s("values")),c=h.len;if(a._hasLabels=h.hasLabels,a._hasValues=h.hasValues,!a._hasLabels&&a._hasValues&&(s("label0"),s("dlabel")),c){a._length=c,s("marker.line.width")&&s("marker.line.color"),s("marker.colors"),s("scalegroup");var m,w=s("text"),y=s("texttemplate");if(y||(m=s("textinfo",Array.isArray(w)?"text+percent":"percent")),s("hovertext"),s("hovertemplate"),y||m&&m!=="none"){var C=s("textposition");v(l,a,o,s,C,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),(Array.isArray(C)||C==="auto"||C==="outside")&&s("automargin"),(C==="inside"||C==="auto"||Array.isArray(C))&&s("insidetextorientation")}M(a,o,s);var _=s("hole");if(s("title.text")){var k=s("title.position",_?"middle center":"top center");_||k!=="middle center"||(a.title.position="top center"),g.coerceFont(s,"title.font",o.font)}s("sort"),s("direction"),s("rotation"),s("pull")}else a.visible=!1}}},20007:function(T,p,t){var d=t(23469).appendArrayMultiPointValues;T.exports=function(g,i){var M={curveNumber:i.index,pointNumbers:g.pts,data:i._input,fullData:i,label:g.label,color:g.color,value:g.v,percent:g.percent,text:g.text,bbox:g.bbox,v:g.v};return g.pts.length===1&&(M.pointNumber=M.i=g.pts[0]),d(M,i,g.pts),i.type==="funnelarea"&&(delete M.v,delete M.i),M}},53581:function(T,p,t){var d=t(71828);function g(i){return i.indexOf("e")!==-1?i.replace(/[.]?0+e/,"e"):i.indexOf(".")!==-1?i.replace(/[.]?0+$/,""):i}p.formatPiePercent=function(i,M){var v=g((100*i).toPrecision(3));return d.numSeparate(v,M)+"%"},p.formatPieValue=function(i,M){var v=g(i.toPrecision(10));return d.numSeparate(v,M)},p.getFirstFilled=function(i,M){if(Array.isArray(i))for(var v=0;v"),name:ie.hovertemplate||oe.indexOf("name")!==-1?ie.name:void 0,idealAlign:Q.pxmid[0]<0?"left":"right",color:m.castOption(xe.bgcolor,Q.pts)||Q.color,borderColor:m.castOption(xe.bordercolor,Q.pts),fontFamily:m.castOption(Pe.family,Q.pts),fontSize:m.castOption(Pe.size,Q.pts),fontColor:m.castOption(Pe.color,Q.pts),nameLength:m.castOption(xe.namelength,Q.pts),textAlign:m.castOption(xe.align,Q.pts),hovertemplate:m.castOption(ie.hovertemplate,Q.pts),hovertemplateLabels:Q,eventData:[w(Q,ie)]},{container:re._hoverlayer.node(),outerContainer:re._paper.node(),gd:G,inOut_bbox:_e}),Q.bbox=_e[0],Z._hasHoverLabel=!0}Z._hasHoverEvent=!0,G.emit("plotly_hover",{points:[w(Q,ie)],event:d.event})}}),U.on("mouseout",function(Q){var re=G._fullLayout,ie=G._fullData[Z.index],oe=d.select(this).datum();Z._hasHoverEvent&&(Q.originalEvent=d.event,G.emit("plotly_unhover",{points:[w(oe,ie)],event:d.event}),Z._hasHoverEvent=!1),Z._hasHoverLabel&&(i.loneUnhover(re._hoverlayer.node()),Z._hasHoverLabel=!1)}),U.on("click",function(Q){var re=G._fullLayout,ie=G._fullData[Z.index];G._dragging||re.hovermode===!1||(G._hoverdata=[w(Q,ie)],i.click(G,d.event))})}function _(U,G,q){var H=m.castOption(U.insidetextfont.color,G.pts);!H&&U._input.textfont&&(H=m.castOption(U._input.textfont.color,G.pts));var ne=m.castOption(U.insidetextfont.family,G.pts)||m.castOption(U.textfont.family,G.pts)||q.family,te=m.castOption(U.insidetextfont.size,G.pts)||m.castOption(U.textfont.size,G.pts)||q.size;return{color:H||M.contrast(G.color),family:ne,size:te}}function k(U,G){for(var q,H,ne=0;neBe&&Be>je||ze=-4;me-=2)pe(Math.PI*me,"tan");for(me=4;me>=-4;me-=2)pe(Math.PI*(me+1),"tan")}if(oe||ce){for(me=4;me>=-4;me-=2)pe(Math.PI*(me+1.5),"rad");for(me=4;me>=-4;me-=2)pe(Math.PI*(me+.5),"rad")}}if(X||ye||oe){var xe=Math.sqrt(U.width*U.width+U.height*U.height);if((te={scale:ne*H*2/xe,rCenter:1-ne,rotate:0}).textPosAngle=(G.startangle+G.stopangle)/2,te.scale>=1)return te;de.push(te)}(ye||ce)&&((te=x(U,H,Z,Q,re)).textPosAngle=(G.startangle+G.stopangle)/2,de.push(te)),(ye||ue)&&((te=A(U,H,Z,Q,re)).textPosAngle=(G.startangle+G.stopangle)/2,de.push(te));for(var Pe=0,_e=0,Me=0;Me=1)break}return de[Pe]}function x(U,G,q,H,ne){G=Math.max(0,G-2*c);var te=U.width/U.height,Z=R(te,H,G,q);return{scale:2*Z/U.height,rCenter:L(te,Z/G),rotate:b(ne)}}function A(U,G,q,H,ne){G=Math.max(0,G-2*c);var te=U.height/U.width,Z=R(te,H,G,q);return{scale:2*Z/U.width,rCenter:L(te,Z/G),rotate:b(ne+Math.PI/2)}}function L(U,G){return Math.cos(G)-U*G}function b(U){return(180/Math.PI*U+720)%180-90}function R(U,G,q,H){var ne=U+1/(2*Math.tan(G));return q*Math.min(1/(Math.sqrt(ne*ne+.5)+ne),H/(Math.sqrt(U*U+H/2)+U))}function I(U,G){return U.v!==G.vTotal||G.trace.hole?Math.min(1/(1+1/Math.sin(U.halfangle)),U.ring/2):1}function O(U,G){var q=G.pxmid[0],H=G.pxmid[1],ne=U.width/2,te=U.height/2;return q<0&&(ne*=-1),H<0&&(te*=-1),{scale:1,rCenter:1,rotate:0,x:ne+Math.abs(te)*(ne>0?1:-1)/2,y:te/(1+q*q/(H*H)),outside:!0}}function z(U,G){var q,H,ne,te=U.trace,Z={x:U.cx,y:U.cy},X={tx:0,ty:0};X.ty+=te.title.font.size,ne=B(te),te.title.position.indexOf("top")!==-1?(Z.y-=(1+ne)*U.r,X.ty-=U.titleBox.height):te.title.position.indexOf("bottom")!==-1&&(Z.y+=(1+ne)*U.r);var Q,re=U.r/((Q=U.trace.aspectratio)===void 0?1:Q),ie=G.w*(te.domain.x[1]-te.domain.x[0])/2;return te.title.position.indexOf("left")!==-1?(ie+=re,Z.x-=(1+ne)*re,X.tx+=U.titleBox.width/2):te.title.position.indexOf("center")!==-1?ie*=2:te.title.position.indexOf("right")!==-1&&(ie+=re,Z.x+=(1+ne)*re,X.tx-=U.titleBox.width/2),q=ie/U.titleBox.width,H=F(U,G)/U.titleBox.height,{x:Z.x,y:Z.y,scale:Math.min(q,H),tx:X.tx,ty:X.ty}}function F(U,G){var q=U.trace,H=G.h*(q.domain.y[1]-q.domain.y[0]);return Math.min(U.titleBox.height,H/2)}function B(U){var G,q=U.pull;if(!q)return 0;if(Array.isArray(q))for(q=0,G=0;Gq&&(q=U.pull[G]);return q}function N(U,G){for(var q=[],H=0;H1?Me=(_e=ce.r)/de.aspectratio:_e=(Me=ce.r)*de.aspectratio,Pe=(_e*=(1+de.baseratio)/2)*Me}pe=Math.min(pe,Pe/ce.vTotal)}for(ye=0;ye")}if(te){var me=f.castOption(ne,G.i,"texttemplate");if(me){var pe=function(Pe){return{label:Pe.label,value:Pe.v,valueLabel:m.formatPieValue(Pe.v,H.separators),percent:Pe.v/q.vTotal,percentLabel:m.formatPiePercent(Pe.v/q.vTotal,H.separators),color:Pe.color,text:Pe.text,customdata:f.castOption(ne,Pe.i,"customdata")}}(G),xe=m.getFirstFilled(ne.text,G.pts);(y(xe)||xe==="")&&(pe.text=xe),G.text=f.texttemplateString(me,pe,U._fullLayout._d3locale,pe,ne._meta||{})}else G.text=""}}function $(U,G){var q=U.rotate*Math.PI/180,H=Math.cos(q),ne=Math.sin(q),te=(G.left+G.right)/2,Z=(G.top+G.bottom)/2;U.textX=te*H-Z*ne,U.textY=te*ne+Z*H,U.noCenter=!0}T.exports={plot:function(U,G){var q=U._context.staticPlot,H=U._fullLayout,ne=H._size;h("pie",H),k(G,U),N(G,ne);var te=f.makeTraceGroups(H._pielayer,G,"trace").each(function(Z){var X=d.select(this),Q=Z[0],re=Q.trace;(function(ie){var oe,ue,ce,ye=ie[0],de=ye.r,me=ye.trace,pe=m.getRotationAngle(me.rotation),xe=2*Math.PI/ye.vTotal,Pe="px0",_e="px1";if(me.direction==="counterclockwise"){for(oe=0;oeye.vTotal/2?1:0,ue.halfangle=Math.PI*Math.min(ue.v/ye.vTotal,.5),ue.ring=1-me.hole,ue.rInscribed=I(ue,ye))})(Z),X.attr("stroke-linejoin","round"),X.each(function(){var ie=d.select(this).selectAll("g.slice").data(Z);ie.enter().append("g").classed("slice",!0),ie.exit().remove();var oe=[[[],[]],[[],[]]],ue=!1;ie.each(function(_e,Me){if(_e.hidden)d.select(this).selectAll("path,g").remove();else{_e.pointNumber=_e.i,_e.curveNumber=re.index,oe[_e.pxmid[1]<0?0:1][_e.pxmid[0]<0?0:1].push(_e);var Se=Q.cx,Ce=Q.cy,ae=d.select(this),fe=ae.selectAll("path.surface").data([_e]);if(fe.enter().append("path").classed("surface",!0).style({"pointer-events":q?"none":"all"}),ae.call(C,U,Z),re.pull){var be=+m.castOption(re.pull,_e.pts)||0;be>0&&(Se+=be*_e.pxmid[0],Ce+=be*_e.pxmid[1])}_e.cxFinal=Se,_e.cyFinal=Ce;var ke=re.hole;if(_e.v===Q.vTotal){var Le="M"+(Se+_e.px0[0])+","+(Ce+_e.px0[1])+we(_e.px0,_e.pxmid,!0,1)+we(_e.pxmid,_e.px0,!0,1)+"Z";ke?fe.attr("d","M"+(Se+ke*_e.px0[0])+","+(Ce+ke*_e.px0[1])+we(_e.px0,_e.pxmid,!1,ke)+we(_e.pxmid,_e.px0,!1,ke)+"Z"+Le):fe.attr("d",Le)}else{var Be=we(_e.px0,_e.px1,!0,1);if(ke){var ze=1-ke;fe.attr("d","M"+(Se+ke*_e.px1[0])+","+(Ce+ke*_e.px1[1])+we(_e.px1,_e.px0,!1,ke)+"l"+ze*_e.px0[0]+","+ze*_e.px0[1]+Be+"Z")}else fe.attr("d","M"+Se+","+Ce+"l"+_e.px0[0]+","+_e.px0[1]+Be+"Z")}j(U,_e,Q);var je=m.castOption(re.textposition,_e.pts),ge=ae.selectAll("g.slicetext").data(_e.text&&je!=="none"?[0]:[]);ge.enter().append("g").classed("slicetext",!0),ge.exit().remove(),ge.each(function(){var Ee=f.ensureSingle(d.select(this),"text","",function(Et){Et.attr("data-notex",1)}),Ve=f.ensureUniformFontSize(U,je==="outside"?function(Et,kt,xt){return{color:m.castOption(Et.outsidetextfont.color,kt.pts)||m.castOption(Et.textfont.color,kt.pts)||xt.color,family:m.castOption(Et.outsidetextfont.family,kt.pts)||m.castOption(Et.textfont.family,kt.pts)||xt.family,size:m.castOption(Et.outsidetextfont.size,kt.pts)||m.castOption(Et.textfont.size,kt.pts)||xt.size}}(re,_e,H.font):_(re,_e,H.font));Ee.text(_e.text).attr({class:"slicetext",transform:"","text-anchor":"middle"}).call(v.font,Ve).call(u.convertToTspans,U);var $e,Ye=v.bBox(Ee.node());if(je==="outside")$e=O(Ye,_e);else if($e=E(Ye,_e,Q),je==="auto"&&$e.scale<1){var st=f.ensureUniformFontSize(U,re.outsidetextfont);Ee.call(v.font,st),$e=O(Ye=v.bBox(Ee.node()),_e)}var ot=$e.textPosAngle,ht=ot===void 0?_e.pxmid:W(Q.r,ot);if($e.targetX=Se+ht[0]*$e.rCenter+($e.x||0),$e.targetY=Ce+ht[1]*$e.rCenter+($e.y||0),$($e,Ye),$e.outside){var bt=$e.targetY;_e.yLabelMin=bt-Ye.height/2,_e.yLabelMid=bt,_e.yLabelMax=bt+Ye.height/2,_e.labelExtraX=0,_e.labelExtraY=0,ue=!0}$e.fontSize=Ve.size,s(re.type,$e,H),Z[Me].transform=$e,f.setTransormAndDisplay(Ee,$e)})}function we(Ee,Ve,$e,Ye){var st=Ye*(Ve[0]-Ee[0]),ot=Ye*(Ve[1]-Ee[1]);return"a"+Ye*Q.r+","+Ye*Q.r+" 0 "+_e.largeArc+($e?" 1 ":" 0 ")+st+","+ot}});var ce=d.select(this).selectAll("g.titletext").data(re.title.text?[0]:[]);if(ce.enter().append("g").classed("titletext",!0),ce.exit().remove(),ce.each(function(){var _e,Me=f.ensureSingle(d.select(this),"text","",function(Ce){Ce.attr("data-notex",1)}),Se=re.title.text;re._meta&&(Se=f.templateString(Se,re._meta)),Me.text(Se).attr({class:"titletext",transform:"","text-anchor":"middle"}).call(v.font,re.title.font).call(u.convertToTspans,U),_e=re.title.position==="middle center"?function(Ce){var ae=Math.sqrt(Ce.titleBox.width*Ce.titleBox.width+Ce.titleBox.height*Ce.titleBox.height);return{x:Ce.cx,y:Ce.cy,scale:Ce.trace.hole*Ce.r*2/ae,tx:0,ty:-Ce.titleBox.height/2+Ce.trace.title.font.size}}(Q):z(Q,ne),Me.attr("transform",a(_e.x,_e.y)+l(Math.min(1,_e.scale))+a(_e.tx,_e.ty))}),ue&&function(_e,Me){var Se,Ce,ae,fe,be,ke,Le,Be,ze,je,ge,we,Ee;function Ve(ot,ht){return ot.pxmid[1]-ht.pxmid[1]}function $e(ot,ht){return ht.pxmid[1]-ot.pxmid[1]}function Ye(ot,ht){ht||(ht={});var bt,Et,kt,xt,Ft=ht.labelExtraY+(Ce?ht.yLabelMax:ht.yLabelMin),Ot=Ce?ot.yLabelMin:ot.yLabelMax,Bt=Ce?ot.yLabelMax:ot.yLabelMin,qt=ot.cyFinal+be(ot.px0[1],ot.px1[1]),Vt=Ft-Ot;if(Vt*Le>0&&(ot.labelExtraY=Vt),Array.isArray(Me.pull))for(Et=0;Et=(m.castOption(Me.pull,kt.pts)||0)||((ot.pxmid[1]-kt.pxmid[1])*Le>0?(Vt=kt.cyFinal+be(kt.px0[1],kt.px1[1])-Ot-ot.labelExtraY)*Le>0&&(ot.labelExtraY+=Vt):(Bt+ot.labelExtraY-qt)*Le>0&&(bt=3*ke*Math.abs(Et-je.indexOf(ot)),(xt=kt.cxFinal+fe(kt.px0[0],kt.px1[0])+bt-(ot.cxFinal+ot.pxmid[0])-ot.labelExtraX)*ke>0&&(ot.labelExtraX+=xt)))}for(Ce=0;Ce<2;Ce++)for(ae=Ce?Ve:$e,be=Ce?Math.max:Math.min,Le=Ce?1:-1,Se=0;Se<2;Se++){for(fe=Se?Math.max:Math.min,ke=Se?1:-1,(Be=_e[Ce][Se]).sort(ae),ze=_e[1-Ce][Se],je=ze.concat(Be),we=[],ge=0;geMath.abs(Be)?be+="l"+Be*Se.pxmid[0]/Se.pxmid[1]+","+Be+"H"+(fe+Se.labelExtraX+ke):be+="l"+Se.labelExtraX+","+Le+"v"+(Be-Le)+"h"+ke}else be+="V"+(Se.yLabelMid+Se.labelExtraY)+"h"+ke;f.ensureSingle(Ce,"path","textline").call(M.stroke,Me.outsidetextfont.color).attr({"stroke-width":Math.min(2,Me.outsidetextfont.size/8),d:be,fill:"none"})}else Ce.select("path.textline").remove()})}(ie,re),ue&&re.automargin){var ye=v.bBox(X.node()),de=re.domain,me=ne.w*(de.x[1]-de.x[0]),pe=ne.h*(de.y[1]-de.y[0]),xe=(.5*me-Q.r)/ne.w,Pe=(.5*pe-Q.r)/ne.h;g.autoMargin(U,"pie."+re.uid+".automargin",{xl:de.x[0]-xe,xr:de.x[1]+xe,yb:de.y[0]-Pe,yt:de.y[1]+Pe,l:Math.max(Q.cx-Q.r-ye.left,0),r:Math.max(ye.right-(Q.cx+Q.r),0),b:Math.max(ye.bottom-(Q.cy+Q.r),0),t:Math.max(Q.cy-Q.r-ye.top,0),pad:5})}})});setTimeout(function(){te.selectAll("tspan").each(function(){var Z=d.select(this);Z.attr("dy")&&Z.attr("dy",Z.attr("dy"))})},0)},formatSliceLabel:j,transformInsideText:E,determineInsideTextFont:_,positionTitleOutside:z,prerenderTitles:k,layoutAreas:N,attachFxHandlers:C,computeTransform:$}},68357:function(T,p,t){var d=t(39898),g=t(63463),i=t(72597).resizeText;T.exports=function(M){var v=M._fullLayout._pielayer.selectAll(".trace");i(M,v,"pie"),v.each(function(f){var l=f[0].trace,a=d.select(this);a.style({opacity:l.opacity}),a.selectAll("path.surface").each(function(u){d.select(this).call(g,u,l)})})}},63463:function(T,p,t){var d=t(7901),g=t(53581).castOption;T.exports=function(i,M,v){var f=v.marker.line,l=g(f.color,M.pts)||d.defaultLine,a=g(f.width,M.pts)||0;i.style("stroke-width",a).call(d.fill,M.color).call(d.stroke,l)}},10959:function(T,p,t){var d=t(82196);T.exports={x:d.x,y:d.y,xy:{valType:"data_array",editType:"calc"},indices:{valType:"data_array",editType:"calc"},xbounds:{valType:"data_array",editType:"calc"},ybounds:{valType:"data_array",editType:"calc"},text:d.text,marker:{color:{valType:"color",arrayOk:!1,editType:"calc"},opacity:{valType:"number",min:0,max:1,dflt:1,arrayOk:!1,editType:"calc"},blend:{valType:"boolean",dflt:null,editType:"calc"},sizemin:{valType:"number",min:.1,max:2,dflt:.5,editType:"calc"},sizemax:{valType:"number",min:.1,dflt:20,editType:"calc"},border:{color:{valType:"color",arrayOk:!1,editType:"calc"},arearatio:{valType:"number",min:0,max:1,dflt:0,editType:"calc"},editType:"calc"},editType:"calc"},transforms:void 0}},42743:function(T,p,t){var d=t(9330).gl_pointcloud2d,g=t(78614),i=t(71739).findExtremes,M=t(34603);function v(l,a){this.scene=l,this.uid=a,this.type="pointcloud",this.pickXData=[],this.pickYData=[],this.xData=[],this.yData=[],this.textLabels=[],this.color="rgb(0, 0, 0)",this.name="",this.hoverinfo="all",this.idToIndex=new Int32Array(0),this.bounds=[0,0,0,0],this.pointcloudOptions={positions:new Float32Array(0),idToIndex:this.idToIndex,sizemin:.5,sizemax:12,color:[0,0,0,1],areaRatio:1,borderColor:[0,0,0,1]},this.pointcloud=d(l.glplot,this.pointcloudOptions),this.pointcloud._trace=this}var f=v.prototype;f.handlePick=function(l){var a=this.idToIndex[l.pointId];return{trace:this,dataCoord:l.dataCoord,traceCoord:this.pickXYData?[this.pickXYData[2*a],this.pickXYData[2*a+1]]:[this.pickXData[a],this.pickYData[a]],textLabel:Array.isArray(this.textLabels)?this.textLabels[a]:this.textLabels,color:this.color,name:this.name,pointIndex:a,hoverinfo:this.hoverinfo}},f.update=function(l){this.index=l.index,this.textLabels=l.text,this.name=l.name,this.hoverinfo=l.hoverinfo,this.bounds=[1/0,1/0,-1/0,-1/0],this.updateFast(l),this.color=M(l,{})},f.updateFast=function(l){var a,u,o,s,h,c,m=this.xData=this.pickXData=l.x,w=this.yData=this.pickYData=l.y,y=this.pickXYData=l.xy,C=l.xbounds&&l.ybounds,_=l.indices,k=this.bounds;if(y){if(o=y,a=y.length>>>1,C)k[0]=l.xbounds[0],k[2]=l.xbounds[1],k[1]=l.ybounds[0],k[3]=l.ybounds[1];else for(c=0;ck[2]&&(k[2]=s),hk[3]&&(k[3]=h);if(_)u=_;else for(u=new Int32Array(a),c=0;ck[2]&&(k[2]=s),hk[3]&&(k[3]=h);this.idToIndex=u,this.pointcloudOptions.idToIndex=u,this.pointcloudOptions.positions=o;var E=g(l.marker.color),x=g(l.marker.border.color),A=l.opacity*l.marker.opacity;E[3]*=A,this.pointcloudOptions.color=E;var L=l.marker.blend;L===null&&(L=m.length<100||w.length<100),this.pointcloudOptions.blend=L,x[3]*=A,this.pointcloudOptions.borderColor=x;var b=l.marker.sizemin,R=Math.max(l.marker.sizemax,l.marker.sizemin);this.pointcloudOptions.sizeMin=b,this.pointcloudOptions.sizeMax=R,this.pointcloudOptions.areaRatio=l.marker.border.arearatio,this.pointcloud.update(this.pointcloudOptions);var I=this.scene.xaxis,O=this.scene.yaxis,z=R/2||.5;l._extremes[I._id]=i(I,[k[0],k[2]],{ppad:z}),l._extremes[O._id]=i(O,[k[1],k[3]],{ppad:z})},f.dispose=function(){this.pointcloud.dispose()},T.exports=function(l,a){var u=new v(l,a.uid);return u.update(a),u}},33876:function(T,p,t){var d=t(71828),g=t(10959);T.exports=function(i,M,v){function f(l,a){return d.coerce(i,M,g,l,a)}f("x"),f("y"),f("xbounds"),f("ybounds"),i.xy&&i.xy instanceof Float32Array&&(M.xy=i.xy),i.indices&&i.indices instanceof Int32Array&&(M.indices=i.indices),f("text"),f("marker.color",v),f("marker.opacity"),f("marker.blend"),f("marker.sizemin"),f("marker.sizemax"),f("marker.border.color",v),f("marker.border.arearatio"),M._length=null}},20593:function(T,p,t){T.exports={attributes:t(10959),supplyDefaults:t(33876),calc:t(36563),plot:t(42743),moduleType:"trace",name:"pointcloud",basePlotModule:t(4796),categories:["gl","gl2d","showLegend"],meta:{}}},39953:function(T,p,t){var d=t(41940),g=t(9012),i=t(22399),M=t(77914),v=t(27670).Y,f=t(5386).fF,l=t(50693),a=t(44467).templatedArray,u=t(12663).descriptionOnlyNumbers,o=t(1426).extendFlat,s=t(30962).overrideAll;(T.exports=s({hoverinfo:o({},g.hoverinfo,{flags:[],arrayOk:!1}),hoverlabel:M.hoverlabel,domain:v({name:"sankey",trace:!0}),orientation:{valType:"enumerated",values:["v","h"],dflt:"h"},valueformat:{valType:"string",dflt:".3s",description:u("value")},valuesuffix:{valType:"string",dflt:""},arrangement:{valType:"enumerated",values:["snap","perpendicular","freeform","fixed"],dflt:"snap"},textfont:d({}),customdata:void 0,node:{label:{valType:"data_array",dflt:[]},groups:{valType:"info_array",impliedEdits:{x:[],y:[]},dimensions:2,freeLength:!0,dflt:[],items:{valType:"number",editType:"calc"}},x:{valType:"data_array",dflt:[]},y:{valType:"data_array",dflt:[]},color:{valType:"color",arrayOk:!0},customdata:{valType:"data_array",editType:"calc"},line:{color:{valType:"color",dflt:i.defaultLine,arrayOk:!0},width:{valType:"number",min:0,dflt:.5,arrayOk:!0}},pad:{valType:"number",arrayOk:!1,min:0,dflt:20},thickness:{valType:"number",arrayOk:!1,min:1,dflt:20},hoverinfo:{valType:"enumerated",values:["all","none","skip"],dflt:"all"},hoverlabel:M.hoverlabel,hovertemplate:f({},{keys:["value","label"]})},link:{arrowlen:{valType:"number",min:0,dflt:0},label:{valType:"data_array",dflt:[]},color:{valType:"color",arrayOk:!0},customdata:{valType:"data_array",editType:"calc"},line:{color:{valType:"color",dflt:i.defaultLine,arrayOk:!0},width:{valType:"number",min:0,dflt:0,arrayOk:!0}},source:{valType:"data_array",dflt:[]},target:{valType:"data_array",dflt:[]},value:{valType:"data_array",dflt:[]},hoverinfo:{valType:"enumerated",values:["all","none","skip"],dflt:"all"},hoverlabel:M.hoverlabel,hovertemplate:f({},{keys:["value","label"]}),colorscales:a("concentrationscales",{editType:"calc",label:{valType:"string",editType:"calc",dflt:""},cmax:{valType:"number",editType:"calc",dflt:1},cmin:{valType:"number",editType:"calc",dflt:0},colorscale:o(l().colorscale,{dflt:[[0,"white"],[1,"black"]]})})}},"calc","nested")).transforms=void 0},75536:function(T,p,t){var d=t(30962).overrideAll,g=t(27659).a0,i=t(60436),M=t(528),v=t(6964),f=t(28569),l=t(47322).prepSelect,a=t(71828),u=t(73972),o="sankey";function s(h,c){var m=h._fullData[c],w=h._fullLayout,y=w.dragmode,C=w.dragmode==="pan"?"move":"crosshair",_=m._bgRect;if(_&&y!=="pan"&&y!=="zoom"){v(_,C);var k={_id:"x",c2p:a.identity,_offset:m._sankey.translateX,_length:m._sankey.width},E={_id:"y",c2p:a.identity,_offset:m._sankey.translateY,_length:m._sankey.height},x={gd:h,element:_.node(),plotinfo:{id:c,xaxis:k,yaxis:E,fillRangeItems:a.noop},subplot:c,xaxes:[k],yaxes:[E],doneFnCompleted:function(A){var L,b=h._fullData[c],R=b.node.groups.slice(),I=[];function O(N){for(var W=b._sankey.graph.nodes,j=0;jL&&(L=c.source[s]),c.target[s]>L&&(L=c.target[s]);var b,R=L+1;o.node._count=R;var I=o.node.groups,O={};for(s=0;s0&&v(j,R)&&v($,R)&&(!O.hasOwnProperty(j)||!O.hasOwnProperty($)||O[j]!==O[$])){O.hasOwnProperty($)&&($=O[$]),O.hasOwnProperty(j)&&(j=O[j]),$=+$,C[j=+j]=C[$]=!0;var U="";c.label&&c.label[s]&&(U=c.label[s]);var G=null;U&&_.hasOwnProperty(U)&&(G=_[U]),m.push({pointNumber:s,label:U,color:w?c.color[s]:c.color,customdata:y?c.customdata[s]:c.customdata,concentrationscale:G,source:j,target:$,value:+W}),N.source.push(j),N.target.push($)}}var q=R+I.length,H=M(h.color),ne=M(h.customdata),te=[];for(s=0;sR-1,childrenNodes:[],pointNumber:s,label:Z,color:H?h.color[s]:h.color,customdata:ne?h.customdata[s]:h.customdata})}var X=!1;return function(Q,re,ie){for(var oe=g.init2dArray(Q,0),ue=0;ue1})}(q,N.source,N.target)&&(X=!0),{circular:X,links:m,nodes:te,groups:I,groupLookup:O}}(a);return i({circular:u.circular,_nodes:u.nodes,_links:u.links,_groups:u.groups,_groupLookup:u.groupLookup})}},85247:function(T){T.exports={nodeTextOffsetHorizontal:4,nodeTextOffsetVertical:3,nodePadAcross:10,sankeyIterations:50,forceIterations:5,forceTicksPerFrame:10,duration:500,ease:"linear",cn:{sankey:"sankey",sankeyLinks:"sankey-links",sankeyLink:"sankey-link",sankeyNodeSet:"sankey-node-set",sankeyNode:"sankey-node",nodeRect:"node-rect",nodeLabel:"node-label"}}},26857:function(T,p,t){var d=t(71828),g=t(39953),i=t(7901),M=t(84267),v=t(27670).c,f=t(38048),l=t(44467),a=t(85501);function u(o,s){function h(c,m){return d.coerce(o,s,g.link.colorscales,c,m)}h("label"),h("cmin"),h("cmax"),h("colorscale")}T.exports=function(o,s,h,c){function m(R,I){return d.coerce(o,s,g,R,I)}var w=d.extendDeep(c.hoverlabel,o.hoverlabel),y=o.node,C=l.newContainer(s,"node");function _(R,I){return d.coerce(y,C,g.node,R,I)}_("label"),_("groups"),_("x"),_("y"),_("pad"),_("thickness"),_("line.color"),_("line.width"),_("hoverinfo",o.hoverinfo),f(y,C,_,w),_("hovertemplate");var k=c.colorway;_("color",C.label.map(function(R,I){return i.addOpacity(function(O){return k[O%k.length]}(I),.8)})),_("customdata");var E=o.link||{},x=l.newContainer(s,"link");function A(R,I){return d.coerce(E,x,g.link,R,I)}A("label"),A("arrowlen"),A("source"),A("target"),A("value"),A("line.color"),A("line.width"),A("hoverinfo",o.hoverinfo),f(E,x,A,w),A("hovertemplate");var L,b=M(c.paper_bgcolor).getLuminance()<.333?"rgba(255, 255, 255, 0.6)":"rgba(0, 0, 0, 0.2)";A("color",d.repeat(b,x.value.length)),A("customdata"),a(E,x,{name:"colorscales",handleItemDefaults:u}),v(s,c,m),m("orientation"),m("valueformat"),m("valuesuffix"),C.x.length&&C.y.length&&(L="freeform"),m("arrangement",L),d.coerceFont(m,"textfont",d.extendFlat({},c.font)),s._length=null}},29396:function(T,p,t){T.exports={attributes:t(39953),supplyDefaults:t(26857),calc:t(92930),plot:t(60436),moduleType:"trace",name:"sankey",basePlotModule:t(75536),selectPoints:t(84564),categories:["noOpacity"],meta:{}}},60436:function(T,p,t){var d=t(39898),g=t(71828),i=g.numberFormat,M=t(3393),v=t(30211),f=t(7901),l=t(85247).cn,a=g._;function u(E){return E!==""}function o(E,x){return E.filter(function(A){return A.key===x.traceId})}function s(E,x){d.select(E).select("path").style("fill-opacity",x),d.select(E).select("rect").style("fill-opacity",x)}function h(E){d.select(E).select("text.name").style("fill","black")}function c(E){return function(x){return E.node.sourceLinks.indexOf(x.link)!==-1||E.node.targetLinks.indexOf(x.link)!==-1}}function m(E){return function(x){return x.node.sourceLinks.indexOf(E.link)!==-1||x.node.targetLinks.indexOf(E.link)!==-1}}function w(E,x,A){x&&A&&o(A,x).selectAll("."+l.sankeyLink).filter(c(x)).call(C.bind(0,x,A,!1))}function y(E,x,A){x&&A&&o(A,x).selectAll("."+l.sankeyLink).filter(c(x)).call(_.bind(0,x,A,!1))}function C(E,x,A,L){var b=L.datum().link.label;L.style("fill-opacity",function(R){if(!R.link.concentrationscale)return .4}),b&&o(x,E).selectAll("."+l.sankeyLink).filter(function(R){return R.link.label===b}).style("fill-opacity",function(R){if(!R.link.concentrationscale)return .4}),A&&o(x,E).selectAll("."+l.sankeyNode).filter(m(E)).call(w)}function _(E,x,A,L){var b=L.datum().link.label;L.style("fill-opacity",function(R){return R.tinyColorAlpha}),b&&o(x,E).selectAll("."+l.sankeyLink).filter(function(R){return R.link.label===b}).style("fill-opacity",function(R){return R.tinyColorAlpha}),A&&o(x,E).selectAll(l.sankeyNode).filter(m(E)).call(y)}function k(E,x){var A=E.hoverlabel||{},L=g.nestedProperty(A,x).get();return!Array.isArray(L)&&L}T.exports=function(E,x){for(var A=E._fullLayout,L=A._paper,b=A._size,R=0;R"),color:k($,"bgcolor")||f.addOpacity(H.color,1),borderColor:k($,"bordercolor"),fontFamily:k($,"font.family"),fontSize:k($,"font.size"),fontColor:k($,"font.color"),nameLength:k($,"namelength"),textAlign:k($,"align"),idealAlign:d.event.x"),color:k($,"bgcolor")||j.tinyColorHue,borderColor:k($,"bordercolor"),fontFamily:k($,"font.family"),fontSize:k($,"font.size"),fontColor:k($,"font.color"),nameLength:k($,"namelength"),textAlign:k($,"align"),idealAlign:"left",hovertemplate:$.hovertemplate,hovertemplateLabels:Z,eventData:[j.node]},{container:A._hoverlayer.node(),outerContainer:A._paper.node(),gd:E});s(re,.85),h(re)}}},unhover:function(W,j,$){E._fullLayout.hovermode!==!1&&(d.select(W).call(y,j,$),j.node.trace.node.hoverinfo!=="skip"&&(j.node.fullData=j.node.trace,E.emit("plotly_unhover",{event:d.event,points:[j.node]})),v.loneUnhover(A._hoverlayer.node()))},select:function(W,j,$){var U=j.node;U.originalEvent=d.event,E._hoverdata=[U],d.select(W).call(y,j,$),v.click(E,{target:!0})}}})}},3393:function(T,p,t){var d=t(49887),g=t(81684).k4,i=t(39898),M=t(30838),v=t(86781),f=t(85247),l=t(84267),a=t(7901),u=t(91424),o=t(71828),s=o.strTranslate,h=o.strRotate,c=t(28984),m=c.keyFun,w=c.repeat,y=c.unwrap,C=t(63893),_=t(73972),k=t(18783),E=k.CAP_SHIFT,x=k.LINE_SPACING;function A(q,H,ne){var te,Z=y(H),X=Z.trace,Q=X.domain,re=X.orientation==="h",ie=X.node.pad,oe=X.node.thickness,ue=q.width*(Q.x[1]-Q.x[0]),ce=q.height*(Q.y[1]-Q.y[0]),ye=Z._nodes,de=Z._links,me=Z.circular;(te=me?v.sankeyCircular().circularLinkGap(0):M.sankey()).iterations(f.sankeyIterations).size(re?[ue,ce]:[ce,ue]).nodeWidth(oe).nodePadding(ie).nodeId(function(ke){return ke.pointNumber}).nodes(ye).links(de);var pe,xe,Pe,_e=te();for(var Me in te.nodePadding()we+oe&&(ge+=1,Le=Ee.x0),we=Ee.x0,je[ge]||(je[ge]=[]),je[ge].push(Ee),Be=Le-Ee.x0,Ee.x0+=Be,Ee.x1+=Be}return je}(ye=_e.nodes).forEach(function(ke){var Le,Be,ze,je=0,ge=ke.length;for(ke.sort(function(we,Ee){return we.y0-Ee.y0}),ze=0;ze=je||(Be=je-Le.y0)>1e-6&&(Le.y0+=Be,Le.y1+=Be),je=Le.y1+ie}),te.update(_e)}return{circular:me,key:ne,trace:X,guid:o.randstr(),horizontal:re,width:ue,height:ce,nodePad:X.node.pad,nodeLineColor:X.node.line.color,nodeLineWidth:X.node.line.width,linkLineColor:X.link.line.color,linkLineWidth:X.link.line.width,linkArrowLength:X.link.arrowlen,valueFormat:X.valueformat,valueSuffix:X.valuesuffix,textFont:X.textfont,translateX:Q.x[0]*q.width+q.margin.l,translateY:q.height-Q.y[1]*q.height+q.margin.t,dragParallel:re?ce:ue,dragPerpendicular:re?ue:ce,arrangement:X.arrangement,sankey:te,graph:_e,forceLayouts:{},interactionState:{dragInProgress:!1,hovered:!1}}}function L(q,H,ne){var te=l(H.color),Z=H.source.label+"|"+H.target.label+"__"+ne;return H.trace=q.trace,H.curveNumber=q.trace.index,{circular:q.circular,key:Z,traceId:q.key,pointNumber:H.pointNumber,link:H,tinyColorHue:a.tinyRGB(te),tinyColorAlpha:te.getAlpha(),linkPath:b,linkLineColor:q.linkLineColor,linkLineWidth:q.linkLineWidth,linkArrowLength:q.linkArrowLength,valueFormat:q.valueFormat,valueSuffix:q.valueSuffix,sankey:q.sankey,parent:q,interactionState:q.interactionState,flow:H.flow}}function b(){return function(q){var H=q.linkArrowLength;if(q.link.circular)return function(xe,Pe){var _e=xe.width/2,Me=xe.circularPathData;return xe.circularLinkType==="top"?"M "+(Me.targetX-Pe)+" "+(Me.targetY+_e)+" L"+(Me.rightInnerExtent-Pe)+" "+(Me.targetY+_e)+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightSmallArcRadius+_e)+" 0 0 1 "+(Me.rightFullExtent-_e-Pe)+" "+(Me.targetY-Me.rightSmallArcRadius)+"L"+(Me.rightFullExtent-_e-Pe)+" "+Me.verticalRightInnerExtent+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightLargeArcRadius+_e)+" 0 0 1 "+(Me.rightInnerExtent-Pe)+" "+(Me.verticalFullExtent-_e)+"L"+Me.leftInnerExtent+" "+(Me.verticalFullExtent-_e)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftLargeArcRadius+_e)+" 0 0 1 "+(Me.leftFullExtent+_e)+" "+Me.verticalLeftInnerExtent+"L"+(Me.leftFullExtent+_e)+" "+(Me.sourceY-Me.leftSmallArcRadius)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftSmallArcRadius+_e)+" 0 0 1 "+Me.leftInnerExtent+" "+(Me.sourceY+_e)+"L"+Me.sourceX+" "+(Me.sourceY+_e)+"L"+Me.sourceX+" "+(Me.sourceY-_e)+"L"+Me.leftInnerExtent+" "+(Me.sourceY-_e)+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftSmallArcRadius-_e)+" 0 0 0 "+(Me.leftFullExtent-_e)+" "+(Me.sourceY-Me.leftSmallArcRadius)+"L"+(Me.leftFullExtent-_e)+" "+Me.verticalLeftInnerExtent+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftLargeArcRadius-_e)+" 0 0 0 "+Me.leftInnerExtent+" "+(Me.verticalFullExtent+_e)+"L"+(Me.rightInnerExtent-Pe)+" "+(Me.verticalFullExtent+_e)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightLargeArcRadius-_e)+" 0 0 0 "+(Me.rightFullExtent+_e-Pe)+" "+Me.verticalRightInnerExtent+"L"+(Me.rightFullExtent+_e-Pe)+" "+(Me.targetY-Me.rightSmallArcRadius)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightSmallArcRadius-_e)+" 0 0 0 "+(Me.rightInnerExtent-Pe)+" "+(Me.targetY-_e)+"L"+(Me.targetX-Pe)+" "+(Me.targetY-_e)+(Pe>0?"L"+Me.targetX+" "+Me.targetY:"")+"Z":"M "+(Me.targetX-Pe)+" "+(Me.targetY-_e)+" L"+(Me.rightInnerExtent-Pe)+" "+(Me.targetY-_e)+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightSmallArcRadius+_e)+" 0 0 0 "+(Me.rightFullExtent-_e-Pe)+" "+(Me.targetY+Me.rightSmallArcRadius)+"L"+(Me.rightFullExtent-_e-Pe)+" "+Me.verticalRightInnerExtent+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightLargeArcRadius+_e)+" 0 0 0 "+(Me.rightInnerExtent-Pe)+" "+(Me.verticalFullExtent+_e)+"L"+Me.leftInnerExtent+" "+(Me.verticalFullExtent+_e)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftLargeArcRadius+_e)+" 0 0 0 "+(Me.leftFullExtent+_e)+" "+Me.verticalLeftInnerExtent+"L"+(Me.leftFullExtent+_e)+" "+(Me.sourceY+Me.leftSmallArcRadius)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftSmallArcRadius+_e)+" 0 0 0 "+Me.leftInnerExtent+" "+(Me.sourceY-_e)+"L"+Me.sourceX+" "+(Me.sourceY-_e)+"L"+Me.sourceX+" "+(Me.sourceY+_e)+"L"+Me.leftInnerExtent+" "+(Me.sourceY+_e)+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftSmallArcRadius-_e)+" 0 0 1 "+(Me.leftFullExtent-_e)+" "+(Me.sourceY+Me.leftSmallArcRadius)+"L"+(Me.leftFullExtent-_e)+" "+Me.verticalLeftInnerExtent+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftLargeArcRadius-_e)+" 0 0 1 "+Me.leftInnerExtent+" "+(Me.verticalFullExtent-_e)+"L"+(Me.rightInnerExtent-Pe)+" "+(Me.verticalFullExtent-_e)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightLargeArcRadius-_e)+" 0 0 1 "+(Me.rightFullExtent+_e-Pe)+" "+Me.verticalRightInnerExtent+"L"+(Me.rightFullExtent+_e-Pe)+" "+(Me.targetY+Me.rightSmallArcRadius)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightSmallArcRadius-_e)+" 0 0 1 "+(Me.rightInnerExtent-Pe)+" "+(Me.targetY+_e)+"L"+(Me.targetX-Pe)+" "+(Me.targetY+_e)+(Pe>0?"L"+Me.targetX+" "+Me.targetY:"")+"Z"}(q.link,H);var ne=Math.abs((q.link.target.x0-q.link.source.x1)/2);H>ne&&(H=ne);var te=q.link.source.x1,Z=q.link.target.x0-H,X=g(te,Z),Q=X(.5),re=X(.5),ie=q.link.y0-q.link.width/2,oe=q.link.y0+q.link.width/2,ue=q.link.y1-q.link.width/2,ce=q.link.y1+q.link.width/2,ye="M"+te+","+ie,de="C"+Q+","+ie+" "+re+","+ue+" "+Z+","+ue,me="C"+re+","+ce+" "+Q+","+oe+" "+te+","+oe,pe=H>0?"L"+(Z+H)+","+(ue+q.link.width/2):"";return ye+de+(pe+="L"+Z+","+ce)+me+"Z"}}function R(q,H){var ne=l(H.color),te=f.nodePadAcross,Z=q.nodePad/2;H.dx=H.x1-H.x0,H.dy=H.y1-H.y0;var X=H.dx,Q=Math.max(.5,H.dy),re="node_"+H.pointNumber;return H.group&&(re=o.randstr()),H.trace=q.trace,H.curveNumber=q.trace.index,{index:H.pointNumber,key:re,partOfGroup:H.partOfGroup||!1,group:H.group,traceId:q.key,trace:q.trace,node:H,nodePad:q.nodePad,nodeLineColor:q.nodeLineColor,nodeLineWidth:q.nodeLineWidth,textFont:q.textFont,size:q.horizontal?q.height:q.width,visibleWidth:Math.ceil(X),visibleHeight:Q,zoneX:-te,zoneY:-Z,zoneWidth:X+2*te,zoneHeight:Q+2*Z,labelY:q.horizontal?H.dy/2+1:H.dx/2+1,left:H.originalLayer===1,sizeAcross:q.width,forceLayouts:q.forceLayouts,horizontal:q.horizontal,darkBackground:ne.getBrightness()<=128,tinyColorHue:a.tinyRGB(ne),tinyColorAlpha:ne.getAlpha(),valueFormat:q.valueFormat,valueSuffix:q.valueSuffix,sankey:q.sankey,graph:q.graph,arrangement:q.arrangement,uniqueNodeLabelPathId:[q.guid,q.key,re].join("_"),interactionState:q.interactionState,figure:q}}function I(q){q.attr("transform",function(H){return s(H.node.x0.toFixed(3),H.node.y0.toFixed(3))})}function O(q){q.call(I)}function z(q,H){q.call(O),H.attr("d",b())}function F(q){q.attr("width",function(H){return H.node.x1-H.node.x0}).attr("height",function(H){return H.visibleHeight})}function B(q){return q.link.width>1||q.linkLineWidth>0}function N(q){return s(q.translateX,q.translateY)+(q.horizontal?"matrix(1 0 0 1 0 0)":"matrix(0 1 1 0 0 0)")}function W(q,H,ne){q.on(".basic",null).on("mouseover.basic",function(te){te.interactionState.dragInProgress||te.partOfGroup||(ne.hover(this,te,H),te.interactionState.hovered=[this,te])}).on("mousemove.basic",function(te){te.interactionState.dragInProgress||te.partOfGroup||(ne.follow(this,te),te.interactionState.hovered=[this,te])}).on("mouseout.basic",function(te){te.interactionState.dragInProgress||te.partOfGroup||(ne.unhover(this,te,H),te.interactionState.hovered=!1)}).on("click.basic",function(te){te.interactionState.hovered&&(ne.unhover(this,te,H),te.interactionState.hovered=!1),te.interactionState.dragInProgress||te.partOfGroup||ne.select(this,te,H)})}function j(q,H,ne,te){var Z=i.behavior.drag().origin(function(X){return{x:X.node.x0+X.visibleWidth/2,y:X.node.y0+X.visibleHeight/2}}).on("dragstart",function(X){if(X.arrangement!=="fixed"&&(o.ensureSingle(te._fullLayout._infolayer,"g","dragcover",function(re){te._fullLayout._dragCover=re}),o.raiseToTop(this),X.interactionState.dragInProgress=X.node,U(X.node),X.interactionState.hovered&&(ne.nodeEvents.unhover.apply(0,X.interactionState.hovered),X.interactionState.hovered=!1),X.arrangement==="snap")){var Q=X.traceId+"|"+X.key;X.forceLayouts[Q]?X.forceLayouts[Q].alpha(1):function(re,ie,oe,ue){(function(ye){for(var de=0;de0&&pe.forceLayouts[de].alpha(0)}}(0,ie,ce,oe)).stop()}(0,Q,X),function(re,ie,oe,ue,ce){window.requestAnimationFrame(function ye(){var de;for(de=0;de0)window.requestAnimationFrame(ye);else{var me=oe.node.originalX;oe.node.x0=me-oe.visibleWidth/2,oe.node.x1=me+oe.visibleWidth/2,$(oe,ce)}})}(q,H,X,Q,te)}}).on("drag",function(X){if(X.arrangement!=="fixed"){var Q=i.event.x,re=i.event.y;X.arrangement==="snap"?(X.node.x0=Q-X.visibleWidth/2,X.node.x1=Q+X.visibleWidth/2,X.node.y0=re-X.visibleHeight/2,X.node.y1=re+X.visibleHeight/2):(X.arrangement==="freeform"&&(X.node.x0=Q-X.visibleWidth/2,X.node.x1=Q+X.visibleWidth/2),re=Math.max(0,Math.min(X.size-X.visibleHeight/2,re)),X.node.y0=re-X.visibleHeight/2,X.node.y1=re+X.visibleHeight/2),U(X.node),X.arrangement!=="snap"&&(X.sankey.update(X.graph),z(q.filter(G(X)),H))}}).on("dragend",function(X){if(X.arrangement!=="fixed"){X.interactionState.dragInProgress=!1;for(var Q=0;Q_&&j[E].gap;)E--;for(A=j[E].s,k=j.length-1;k>E;k--)j[k].s=A;for(;_z[h]&&h=0;h--){var c=M[h];if(c.type==="scatter"&&c.xaxis===o.xaxis&&c.yaxis===o.yaxis){c.opacity=void 0;break}}}}}},17438:function(T,p,t){var d=t(71828),g=t(73972),i=t(82196),M=t(47581),v=t(34098),f=t(67513),l=t(73927),a=t(565),u=t(49508),o=t(11058),s=t(94039),h=t(82410),c=t(28908),m=t(71828).coercePattern;T.exports=function(w,y,C,_){function k(O,z){return d.coerce(w,y,i,O,z)}var E=f(w,y,_,k);if(E||(y.visible=!1),y.visible){l(w,y,_,k),k("xhoverformat"),k("yhoverformat");var x=a(w,y,_,k);_.scattermode==="group"&&y.orientation===void 0&&k("orientation","v");var A=!x&&E=Math.min(me,pe)&&w<=Math.max(me,pe)?0:1/0}var xe=Math.max(3,de.mrc||0),Pe=1-1/xe,_e=Math.abs(c.c2p(de.x)-w);return _e=Math.min(me,pe)&&y<=Math.max(me,pe)?0:1/0}var xe=Math.max(3,de.mrc||0),Pe=1-1/xe,_e=Math.abs(m.c2p(de.y)-y);return _ece!=(te=U[j][1])>=ce&&(q=U[j-1][0],H=U[j][0],te-ne&&(G=q+(H-q)*(ce-ne)/(te-ne),re=Math.min(re,G),ie=Math.max(ie,G)));re=Math.max(re,0),ie=Math.min(ie,c._length);var ye=v.defaultLine;return v.opacity(h.fillcolor)?ye=h.fillcolor:v.opacity((h.line||{}).color)&&(ye=h.line.color),d.extendFlat(l,{distance:l.maxHoverDistance,x0:re,x1:ie,y0:ce,y1:ce,color:ye,hovertemplate:!1}),delete l.index,h.text&&!Array.isArray(h.text)?l.text=String(h.text):l.text=h.name,[l]}}}},67368:function(T,p,t){var d=t(34098);T.exports={hasLines:d.hasLines,hasMarkers:d.hasMarkers,hasText:d.hasText,isBubble:d.isBubble,attributes:t(82196),layoutAttributes:t(21479),supplyDefaults:t(17438),crossTraceDefaults:t(34936),supplyLayoutDefaults:t(79334),calc:t(47761).calc,crossTraceCalc:t(72626),arraysToCalcdata:t(75225),plot:t(32663),colorbar:t(4898),formatLabels:t(8225),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(33720),selectPoints:t(98002),animatable:!0,moduleType:"trace",name:"scatter",basePlotModule:t(93612),categories:["cartesian","svg","symbols","errorBarsOK","showLegend","scatter-like","zoomScale"],meta:{}}},21479:function(T){T.exports={scattermode:{valType:"enumerated",values:["group","overlay"],dflt:"overlay",editType:"calc"},scattergap:{valType:"number",min:0,max:1,editType:"calc"}}},79334:function(T,p,t){var d=t(71828),g=t(21479);T.exports=function(i,M){var v,f=M.barmode==="group";M.scattermode==="group"&&(v=f?M.bargap:.2,d.coerce(i,M,g,"scattergap",v))}},11058:function(T,p,t){var d=t(71828).isArrayOrTypedArray,g=t(52075).hasColorscale,i=t(1586);T.exports=function(M,v,f,l,a,u){u||(u={});var o=(M.marker||{}).color;a("line.color",f),g(M,"line")?i(M,v,l,a,{prefix:"line.",cLetter:"c"}):a("line.color",!d(o)&&o||f),a("line.width"),u.noDash||a("line.dash"),u.backoff&&a("line.backoff")}},34621:function(T,p,t){var d=t(91424),g=t(50606),i=g.BADNUM,M=g.LOG_CLIP,v=M+.5,f=M-.5,l=t(71828),a=l.segmentsIntersect,u=l.constrain,o=t(47581);T.exports=function(s,h){var c,m,w,y,C,_,k,E,x,A,L,b,R,I,O,z,F,B,N=h.trace||{},W=h.xaxis,j=h.yaxis,$=W.type==="log",U=j.type==="log",G=W._length,q=j._length,H=h.backoff,ne=N.marker,te=h.connectGaps,Z=h.baseTolerance,X=h.shape,Q=X==="linear",re=N.fill&&N.fill!=="none",ie=[],oe=o.minTolerance,ue=s.length,ce=new Array(ue),ye=0;function de(Vt){var Ke=s[Vt];if(!Ke)return!1;var Je=h.linearized?W.l2p(Ke.x):W.c2p(Ke.x),qe=h.linearized?j.l2p(Ke.y):j.c2p(Ke.y);if(Je===i){if($&&(Je=W.c2p(Ke.x,!0)),Je===i)return!1;U&&qe===i&&(Je*=Math.abs(W._m*q*(W._m>0?v:f)/(j._m*G*(j._m>0?v:f)))),Je*=1e3}if(qe===i){if(U&&(qe=j.c2p(Ke.y,!0)),qe===i)return!1;qe*=1e3}return[Je,qe]}function me(Vt,Ke,Je,qe){var nt=Je-Vt,ft=qe-Ke,Re=.5-Vt,Ne=.5-Ke,Qe=nt*nt+ft*ft,ut=nt*Re+ft*Ne;if(ut>0&&utLe||Vt[1]ze)return[u(Vt[0],ke,Le),u(Vt[1],Be,ze)]}function we(Vt,Ke){return Vt[0]===Ke[0]&&(Vt[0]===ke||Vt[0]===Le)||Vt[1]===Ke[1]&&(Vt[1]===Be||Vt[1]===ze)||void 0}function Ee(Vt,Ke,Je){return function(qe,nt){var ft=ge(qe),Re=ge(nt),Ne=[];if(ft&&Re&&we(ft,Re))return Ne;ft&&Ne.push(ft),Re&&Ne.push(Re);var Qe=2*l.constrain((qe[Vt]+nt[Vt])/2,Ke,Je)-((ft||qe)[Vt]+(Re||nt)[Vt]);return Qe&&((ft&&Re?Qe>0==ft[Vt]>Re[Vt]?ft:Re:ft||Re)[Vt]+=Qe),Ne}}function Ve(Vt){var Ke=Vt[0],Je=Vt[1],qe=Ke===ce[ye-1][0],nt=Je===ce[ye-1][1];if(!qe||!nt)if(ye>1){var ft=Ke===ce[ye-2][0],Re=Je===ce[ye-2][1];qe&&(Ke===ke||Ke===Le)&&ft?Re?ye--:ce[ye-1]=Vt:nt&&(Je===Be||Je===ze)&&Re?ft?ye--:ce[ye-1]=Vt:ce[ye++]=Vt}else ce[ye++]=Vt}function $e(Vt){ce[ye-1][0]!==Vt[0]&&ce[ye-1][1]!==Vt[1]&&Ve([Me,Se]),Ve(Vt),Ce=null,Me=Se=0}X==="linear"||X==="spline"?fe=function(Vt,Ke){for(var Je=[],qe=0,nt=0;nt<4;nt++){var ft=je[nt],Re=a(Vt[0],Vt[1],Ke[0],Ke[1],ft[0],ft[1],ft[2],ft[3]);Re&&(!qe||Math.abs(Re.x-Je[0][0])>1||Math.abs(Re.y-Je[0][1])>1)&&(Re=[Re.x,Re.y],qe&&xe(Re,Vt)Le?Le:0,_e=Vt[1]ze?ze:0,Pe||_e){if(ye)if(Ce){var Ke=fe(Ce,Vt);Ke.length>1&&($e(Ke[0]),ce[ye++]=Ke[1])}else ae=fe(ce[ye-1],Vt)[0],ce[ye++]=ae;else ce[ye++]=[Pe||Vt[0],_e||Vt[1]];var Je=ce[ye-1];Pe&&_e&&(Je[0]!==Pe||Je[1]!==_e)?(Ce&&(Me!==Pe&&Se!==_e?Ve(Me&&Se?(qe=Ce,ft=(nt=Vt)[0]-qe[0],Re=(nt[1]-qe[1])/ft,(qe[1]*nt[0]-nt[1]*qe[0])/ft>0?[Re>0?ke:Le,ze]:[Re>0?Le:ke,Be]):[Me||Pe,Se||_e]):Me&&Se&&Ve([Me,Se])),Ve([Pe,_e])):Me-Pe&&Se-_e&&Ve([Pe||Me,_e||Se]),Ce=Vt,Me=Pe,Se=_e}else Ce&&$e(fe(Ce,Vt)[0]),ce[ye++]=Vt;var qe,nt,ft,Re}for(c=0;cpe(_,ot))break;w=_,(R=x[0]*E[0]+x[1]*E[1])>L?(L=R,y=_,k=!1):R=s.length||!_)break;st(_),m=_}}else st(y)}Ce&&Ve([Me||Ce[0],Se||Ce[1]]),ie.push(ce.slice(0,ye))}var ht=X.slice(X.length-1);if(H&&ht!=="h"&&ht!=="v"){for(var bt=!1,Et=-1,kt=[],xt=0;xt=0?l=h:(l=h=s,s++),l0?Math.max(u,f):0}}},4898:function(T){T.exports={container:"marker",min:"cmin",max:"cmax"}},49508:function(T,p,t){var d=t(7901),g=t(52075).hasColorscale,i=t(1586),M=t(34098);T.exports=function(v,f,l,a,u,o){var s=M.isBubble(v),h=(v.line||{}).color;o=o||{},h&&(l=h),u("marker.symbol"),u("marker.opacity",s?.7:1),u("marker.size"),o.noAngle||(u("marker.angle"),o.noAngleRef||u("marker.angleref"),o.noStandOff||u("marker.standoff")),u("marker.color",l),g(v,"marker")&&i(v,f,a,u,{prefix:"marker.",cLetter:"c"}),o.noSelect||(u("selected.marker.color"),u("unselected.marker.color"),u("selected.marker.size"),u("unselected.marker.size")),o.noLine||(u("marker.line.color",h&&!Array.isArray(h)&&f.marker.color!==h?h:s?d.background:d.defaultLine),g(v,"marker.line")&&i(v,f,a,u,{prefix:"marker.line.",cLetter:"c"}),u("marker.line.width",s?1:0)),s&&(u("marker.sizeref"),u("marker.sizemin"),u("marker.sizemode")),o.gradient&&u("marker.gradient.type")!=="none"&&u("marker.gradient.color")}},73927:function(T,p,t){var d=t(71828).dateTick0,g=t(50606).ONEWEEK;function i(M,v){return d(v,M%g==0?1:0)}T.exports=function(M,v,f,l,a){if(a||(a={x:!0,y:!0}),a.x){var u=l("xperiod");u&&(l("xperiod0",i(u,v.xcalendar)),l("xperiodalignment"))}if(a.y){var o=l("yperiod");o&&(l("yperiod0",i(o,v.ycalendar)),l("yperiodalignment"))}}},32663:function(T,p,t){var d=t(39898),g=t(73972),i=t(71828),M=i.ensureSingle,v=i.identity,f=t(91424),l=t(34098),a=t(34621),u=t(68687),o=t(61082).tester;function s(h,c,m,w,y,C,_){var k,E=h._context.staticPlot;(function(fe,be,ke,Le,Be){var ze=ke.xaxis,je=ke.yaxis,ge=d.extent(i.simpleMap(ze.range,ze.r2c)),we=d.extent(i.simpleMap(je.range,je.r2c)),Ee=Le[0].trace;if(l.hasMarkers(Ee)){var Ve=Ee.marker.maxdisplayed;if(Ve!==0){var $e=Le.filter(function(ht){return ht.x>=ge[0]&&ht.x<=ge[1]&&ht.y>=we[0]&&ht.y<=we[1]}),Ye=Math.ceil($e.length/Ve),st=0;Be.forEach(function(ht,bt){var Et=ht[0].trace;l.hasMarkers(Et)&&Et.marker.maxdisplayed>0&&bt0;function A(fe){return x?fe.transition():fe}var L=m.xaxis,b=m.yaxis,R=w[0].trace,I=R.line,O=d.select(C),z=M(O,"g","errorbars"),F=M(O,"g","lines"),B=M(O,"g","points"),N=M(O,"g","text");if(g.getComponentMethod("errorbars","plot")(h,z,m,_),R.visible===!0){var W,j;A(O).style("opacity",R.opacity);var $=R.fill.charAt(R.fill.length-1);$!=="x"&&$!=="y"&&($=""),w[0][m.isRangePlot?"nodeRangePlot3":"node3"]=O;var U,G,q="",H=[],ne=R._prevtrace;ne&&(q=ne._prevRevpath||"",j=ne._nextFill,H=ne._polygons);var te,Z,X,Q,re,ie,oe,ue="",ce="",ye=[],de=i.noop;if(W=R._ownFill,l.hasLines(R)||R.fill!=="none"){for(j&&j.datum(w),["hv","vh","hvh","vhv"].indexOf(I.shape)!==-1?(te=f.steps(I.shape),Z=f.steps(I.shape.split("").reverse().join(""))):te=Z=I.shape==="spline"?function(fe){var be=fe[fe.length-1];return fe.length>1&&fe[0][0]===be[0]&&fe[0][1]===be[1]?f.smoothclosed(fe.slice(1),I.smoothing):f.smoothopen(fe,I.smoothing)}:function(fe){return"M"+fe.join("L")},X=function(fe){return Z(fe.reverse())},ye=a(w,{xaxis:L,yaxis:b,trace:R,connectGaps:R.connectgaps,baseTolerance:Math.max(I.width||1,3)/4,shape:I.shape,backoff:I.backoff,simplify:I.simplify,fill:R.fill}),oe=R._polygons=new Array(ye.length),k=0;k0,A=u(h,c,m);(_=w.selectAll("g.trace").data(A,function(L){return L[0].trace.uid})).enter().append("g").attr("class",function(L){return"trace scatter trace"+L[0].trace.uid}).style("stroke-miterlimit",2),_.order(),function(L,b,R){b.each(function(I){var O=M(d.select(this),"g","fills");f.setClipUrl(O,R.layerClipId,L);var z=I[0].trace,F=[];z._ownfill&&F.push("_ownFill"),z._nexttrace&&F.push("_nextFill");var B=O.selectAll("g").data(F,v);B.enter().append("g"),B.exit().each(function(N){z[N]=null}).remove(),B.order().each(function(N){z[N]=M(d.select(this),"path","js-fill")})})}(h,_,c),x?(C&&(k=C()),d.transition().duration(y.duration).ease(y.easing).each("end",function(){k&&k()}).each("interrupt",function(){k&&k()}).each(function(){w.selectAll("g.trace").each(function(L,b){s(h,b,c,L,A,this,y)})})):_.each(function(L,b){s(h,b,c,L,A,this,y)}),E&&_.exit().remove(),w.selectAll("path:not([d])").remove()}},98002:function(T,p,t){var d=t(34098);T.exports=function(g,i){var M,v,f,l,a=g.cd,u=g.xaxis,o=g.yaxis,s=[],h=a[0].trace;if(!d.hasMarkers(h)&&!d.hasText(h))return[];if(i===!1)for(M=0;M0){var m=f.c2l(h);f._lowerLogErrorBound||(f._lowerLogErrorBound=m),f._lowerErrorBound=Math.min(f._lowerLogErrorBound,m)}}else a[u]=[-o[0]*v,o[1]*v]}return a}T.exports=function(i,M,v){var f=[g(i.x,i.error_x,M[0],v.xaxis),g(i.y,i.error_y,M[1],v.yaxis),g(i.z,i.error_z,M[2],v.zaxis)],l=function(c){for(var m=0;m-1?-1:b.indexOf("right")>-1?1:0}function _(b){return b==null?0:b.indexOf("top")>-1?-1:b.indexOf("bottom")>-1?1:0}function k(b,R){return R(4*b)}function E(b){return s[b]}function x(b,R,I,O,z){var F=null;if(f.isArrayOrTypedArray(b)){F=[];for(var B=0;B=0){var j=function($,U,G){var q,H=(G+1)%3,ne=(G+2)%3,te=[],Z=[];for(q=0;q<$.length;++q){var X=$[q];!isNaN(X[H])&&isFinite(X[H])&&!isNaN(X[ne])&&isFinite(X[ne])&&(te.push([X[H],X[ne]]),Z.push(q))}var Q=v(te);for(q=0;q=0&&h("surfacecolor",m||w);for(var y=["x","y","z"],C=0;C<3;++C){var _="projection."+y[C];h(_+".show")&&(h(_+".opacity"),h(_+".scale"))}var k=d.getComponentMethod("errorbars","supplyDefaults");k(a,u,m||w||o,{axis:"z"}),k(a,u,m||w||o,{axis:"y",inherit:"z"}),k(a,u,m||w||o,{axis:"x",inherit:"z"})}else u.visible=!1}},13551:function(T,p,t){T.exports={plot:t(58925),attributes:t(44542),markerSymbols:t(87381),supplyDefaults:t(21428),colorbar:[{container:"marker",min:"cmin",max:"cmax"},{container:"line",min:"cmin",max:"cmax"}],calc:t(36563),moduleType:"trace",name:"scatter3d",basePlotModule:t(58547),categories:["gl3d","symbols","showLegend","scatter-like"],meta:{}}},97001:function(T,p,t){var d=t(82196),g=t(9012),i=t(5386).fF,M=t(5386).si,v=t(50693),f=t(1426).extendFlat,l=d.marker,a=d.line,u=l.line;T.exports={carpet:{valType:"string",editType:"calc"},a:{valType:"data_array",editType:"calc"},b:{valType:"data_array",editType:"calc"},mode:f({},d.mode,{dflt:"markers"}),text:f({},d.text,{}),texttemplate:M({editType:"plot"},{keys:["a","b","text"]}),hovertext:f({},d.hovertext,{}),line:{color:a.color,width:a.width,dash:a.dash,backoff:a.backoff,shape:f({},a.shape,{values:["linear","spline"]}),smoothing:a.smoothing,editType:"calc"},connectgaps:d.connectgaps,fill:f({},d.fill,{values:["none","toself","tonext"],dflt:"none"}),fillcolor:d.fillcolor,marker:f({symbol:l.symbol,opacity:l.opacity,maxdisplayed:l.maxdisplayed,angle:l.angle,angleref:l.angleref,standoff:l.standoff,size:l.size,sizeref:l.sizeref,sizemin:l.sizemin,sizemode:l.sizemode,line:f({width:u.width,editType:"calc"},v("marker.line")),gradient:l.gradient,editType:"calc"},v("marker")),textfont:d.textfont,textposition:d.textposition,selected:d.selected,unselected:d.unselected,hoverinfo:f({},g.hoverinfo,{flags:["a","b","text","name"]}),hoveron:d.hoveron,hovertemplate:i()}},34618:function(T,p,t){var d=t(92770),g=t(36922),i=t(75225),M=t(66279),v=t(47761).calcMarkerSize,f=t(22882);T.exports=function(l,a){var u=a._carpetTrace=f(l,a);if(u&&u.visible&&u.visible!=="legendonly"){var o;a.xaxis=u.xaxis,a.yaxis=u.yaxis;var s,h,c=a._length,m=new Array(c),w=!1;for(o=0;o")}return l}function k(E,x){var A;A=E.labelprefix&&E.labelprefix.length>0?E.labelprefix.replace(/ = $/,""):E._hovertitle,C.push(A+": "+x.toFixed(3)+E.labelsuffix)}}},46858:function(T,p,t){T.exports={attributes:t(97001),supplyDefaults:t(98965),colorbar:t(4898),formatLabels:t(48953),calc:t(34618),plot:t(1913),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(22931),selectPoints:t(98002),eventData:t(16165),moduleType:"trace",name:"scattercarpet",basePlotModule:t(93612),categories:["svg","carpet","symbols","showLegend","carpetDependent","zoomScale"],meta:{}}},1913:function(T,p,t){var d=t(32663),g=t(89298),i=t(91424);T.exports=function(M,v,f,l){var a,u,o,s=f[0][0].carpet,h=g.getFromId(M,s.xaxis||"x"),c=g.getFromId(M,s.yaxis||"y"),m={xaxis:h,yaxis:c,plot:v.plot};for(a=0;a")}function j($){return $+"°"}}(o,y,f,u[0].t.labels),f.hovertemplate=o.hovertemplate,[f]}}},17988:function(T,p,t){T.exports={attributes:t(19316),supplyDefaults:t(10659),colorbar:t(4898),formatLabels:t(82719),calc:t(84622),calcGeoJSON:t(89171).calcGeoJSON,plot:t(89171).plot,style:t(33095),styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(14977),eventData:t(84084),selectPoints:t(20548),moduleType:"trace",name:"scattergeo",basePlotModule:t(44622),categories:["geo","symbols","showLegend","scatter-like"],meta:{}}},89171:function(T,p,t){var d=t(39898),g=t(71828),i=t(90973).getTopojsonFeatures,M=t(18214),v=t(41327),f=t(71739).findExtremes,l=t(50606).BADNUM,a=t(47761).calcMarkerSize,u=t(34098),o=t(33095);T.exports={calcGeoJSON:function(s,h){var c,m,w=s[0].trace,y=h[w.geo],C=y._subplot,_=w._length;if(Array.isArray(w.locations)){var k=w.locationmode,E=k==="geojson-id"?v.extractTraceFeature(s):i(w,C.topojson);for(c=0;c<_;c++){m=s[c];var x=k==="geojson-id"?m.fOut:v.locationToFeature(k,m.loc,E);m.lonlat=x?x.properties.ct:[l,l]}}var A,L,b={padded:!0};if(y.fitbounds==="geojson"&&w.locationmode==="geojson-id"){var R=v.computeBbox(v.getTraceGeojson(w));A=[R[0],R[2]],L=[R[1],R[3]]}else{for(A=new Array(_),L=new Array(_),c=0;c<_;c++)m=s[c],A[c]=m.lonlat[0],L[c]=m.lonlat[1];b.ppad=a(w,_)}w._extremes.lon=f(y.lonaxis._ax,A,b),w._extremes.lat=f(y.lataxis._ax,L,b)},plot:function(s,h,c){var m=h.layers.frontplot.select(".scatterlayer"),w=g.makeTraceGroups(m,c,"trace scattergeo");function y(C,_){C.lonlat[0]===l&&d.select(_).remove()}w.selectAll("*").remove(),w.each(function(C){var _=d.select(this),k=C[0].trace;if(u.hasLines(k)||k.fill!=="none"){var E=M.calcTraceToLineCoords(C),x=k.fill!=="none"?M.makePolygon(E):M.makeLine(E);_.selectAll("path.js-line").data([{geojson:x,trace:k}]).enter().append("path").classed("js-line",!0).style("stroke-miterlimit",2)}u.hasMarkers(k)&&_.selectAll("path.point").data(g.identity).enter().append("path").classed("point",!0).each(function(A){y(A,this)}),u.hasText(k)&&_.selectAll("g").data(g.identity).enter().append("g").append("text").each(function(A){y(A,this)}),o(s,C)})}}},20548:function(T,p,t){var d=t(34098),g=t(50606).BADNUM;T.exports=function(i,M){var v,f,l,a,u,o=i.cd,s=i.xaxis,h=i.yaxis,c=[],m=o[0].trace;if(!d.hasMarkers(m)&&!d.hasText(m))return[];if(M===!1)for(u=0;u=m,R=2*L,I={},O=E.makeCalcdata(C,"x"),z=x.makeCalcdata(C,"y"),F=v(C,E,"x",O),B=v(C,x,"y",z),N=F.vals,W=B.vals;C._x=N,C._y=W,C.xperiodalignment&&(C._origX=O,C._xStarts=F.starts,C._xEnds=F.ends),C.yperiodalignment&&(C._origY=z,C._yStarts=B.starts,C._yEnds=B.ends);var j=new Array(R),$=new Array(L);for(_=0;_1&&g.extendFlat(re.line,s.linePositions(H,te,Z)),re.errorX||re.errorY){var ie=s.errorBarPositions(H,te,Z,X,Q);re.errorX&&g.extendFlat(re.errorX,ie.x),re.errorY&&g.extendFlat(re.errorY,ie.y)}return re.text&&(g.extendFlat(re.text,{positions:Z},s.textPosition(H,te,re.text,re.marker)),g.extendFlat(re.textSel,{positions:Z},s.textPosition(H,te,re.text,re.markerSel)),g.extendFlat(re.textUnsel,{positions:Z},s.textPosition(H,te,re.text,re.markerUnsel))),re}(y,0,C,j,N,W),q=h(y,A);return u(k,C),b?G.marker&&(U=G.marker.sizeAvg||Math.max(G.marker.size,3)):U=l(C,L),a(y,C,E,x,N,W,U),G.errorX&&w(C,E,G.errorX),G.errorY&&w(C,x,G.errorY),G.fill&&!q.fill2d&&(q.fill2d=!0),G.marker&&!q.scatter2d&&(q.scatter2d=!0),G.line&&!q.line2d&&(q.line2d=!0),!G.errorX&&!G.errorY||q.error2d||(q.error2d=!0),G.text&&!q.glText&&(q.glText=!0),G.marker&&(G.marker.snap=L),q.lineOptions.push(G.line),q.errorXOptions.push(G.errorX),q.errorYOptions.push(G.errorY),q.fillOptions.push(G.fill),q.markerOptions.push(G.marker),q.markerSelectedOptions.push(G.markerSel),q.markerUnselectedOptions.push(G.markerUnsel),q.textOptions.push(G.text),q.textSelectedOptions.push(G.textSel),q.textUnselectedOptions.push(G.textUnsel),q.selectBatch.push([]),q.unselectBatch.push([]),I._scene=q,I.index=q.count,I.x=N,I.y=W,I.positions=j,q.count++,[{x:!1,y:!1,t:I,trace:C}]}},78232:function(T){T.exports={TOO_MANY_POINTS:1e5,SYMBOL_SDF_SIZE:200,SYMBOL_SIZE:20,SYMBOL_STROKE:1,DOT_RE:/-dot/,OPEN_RE:/-open/,DASHES:{solid:[1],dot:[1,1],dash:[4,1],longdash:[8,1],dashdot:[4,1,1,1],longdashdot:[8,1,1,1]}}},19635:function(T,p,t){var d=t(92770),g=t(82019),i=t(25075),M=t(73972),v=t(71828),f=t(91424),l=t(41675),a=t(81697).formatColor,u=t(34098),o=t(39984),s=t(68645),h=t(78232),c=t(37822).DESELECTDIM,m={start:1,left:1,end:-1,right:-1,middle:0,center:0,bottom:1,top:-1},w=t(23469).appendArrayPointValue;function y(O,z){var F,B=O._fullLayout,N=z._length,W=z.textfont,j=z.textposition,$=Array.isArray(j)?j:[j],U=W.color,G=W.size,q=W.family,H={},ne=O._context.plotGlPixelRatio,te=z.texttemplate;if(te){H.text=[];var Z=B._d3locale,X=Array.isArray(te),Q=X?Math.min(te.length,N):N,re=X?function(me){return te[me]}:function(){return te};for(F=0;Fh.TOO_MANY_POINTS||u.hasMarkers(z)?"rect":"round";if(G&&z.connectgaps){var H=B[0],ne=B[1];for(N=0;N1?U[N]:U[0]:U,te=Array.isArray(G)?G.length>1?G[N]:G[0]:G,Z=m[ne],X=m[te],Q=q?q/.8+1:0,re=-X*Q-.5*X;j.offset[N]=[Z*Q/H,re/H]}}return j}}},47148:function(T,p,t){var d=t(71828),g=t(73972),i=t(68645),M=t(42341),v=t(47581),f=t(34098),l=t(67513),a=t(73927),u=t(49508),o=t(11058),s=t(28908),h=t(82410);T.exports=function(c,m,w,y){function C(R,I){return d.coerce(c,m,M,R,I)}var _=!!c.marker&&i.isOpenSymbol(c.marker.symbol),k=f.isBubble(c),E=l(c,m,y,C);if(E){a(c,m,y,C),C("xhoverformat"),C("yhoverformat");var x=E100},p.isDotSymbol=function(g){return typeof g=="string"?d.DOT_RE.test(g):g>200}},20794:function(T,p,t){var d=t(73972),g=t(71828),i=t(34603);function M(v,f,l,a){var u=v.xa,o=v.ya,s=v.distance,h=v.dxy,c=v.index,m={pointNumber:c,x:f[c],y:l[c]};m.tx=Array.isArray(a.text)?a.text[c]:a.text,m.htx=Array.isArray(a.hovertext)?a.hovertext[c]:a.hovertext,m.data=Array.isArray(a.customdata)?a.customdata[c]:a.customdata,m.tp=Array.isArray(a.textposition)?a.textposition[c]:a.textposition;var w=a.textfont;w&&(m.ts=g.isArrayOrTypedArray(w.size)?w.size[c]:w.size,m.tc=Array.isArray(w.color)?w.color[c]:w.color,m.tf=Array.isArray(w.family)?w.family[c]:w.family);var y=a.marker;y&&(m.ms=g.isArrayOrTypedArray(y.size)?y.size[c]:y.size,m.mo=g.isArrayOrTypedArray(y.opacity)?y.opacity[c]:y.opacity,m.mx=g.isArrayOrTypedArray(y.symbol)?y.symbol[c]:y.symbol,m.ma=g.isArrayOrTypedArray(y.angle)?y.angle[c]:y.angle,m.mc=g.isArrayOrTypedArray(y.color)?y.color[c]:y.color);var C=y&&y.line;C&&(m.mlc=Array.isArray(C.color)?C.color[c]:C.color,m.mlw=g.isArrayOrTypedArray(C.width)?C.width[c]:C.width);var _=y&&y.gradient;_&&_.type!=="none"&&(m.mgt=Array.isArray(_.type)?_.type[c]:_.type,m.mgc=Array.isArray(_.color)?_.color[c]:_.color);var k=u.c2p(m.x,!0),E=o.c2p(m.y,!0),x=m.mrc||1,A=a.hoverlabel;A&&(m.hbg=Array.isArray(A.bgcolor)?A.bgcolor[c]:A.bgcolor,m.hbc=Array.isArray(A.bordercolor)?A.bordercolor[c]:A.bordercolor,m.hts=g.isArrayOrTypedArray(A.font.size)?A.font.size[c]:A.font.size,m.htc=Array.isArray(A.font.color)?A.font.color[c]:A.font.color,m.htf=Array.isArray(A.font.family)?A.font.family[c]:A.font.family,m.hnl=g.isArrayOrTypedArray(A.namelength)?A.namelength[c]:A.namelength);var L=a.hoverinfo;L&&(m.hi=Array.isArray(L)?L[c]:L);var b=a.hovertemplate;b&&(m.ht=Array.isArray(b)?b[c]:b);var R={};R[v.index]=m;var I=a._origX,O=a._origY,z=g.extendFlat({},v,{color:i(a,m),x0:k-x,x1:k+x,xLabelVal:I?I[c]:m.x,y0:E-x,y1:E+x,yLabelVal:O?O[c]:m.y,cd:R,distance:s,spikeDistance:h,hovertemplate:m.ht});return m.htx?z.text=m.htx:m.tx?z.text=m.tx:a.text&&(z.text=a.text),g.fillText(m,a,z),d.getComponentMethod("errorbars","hoverInfo")(m,a,z),z}T.exports={hoverPoints:function(v,f,l,a){var u,o,s,h,c,m,w,y,C,_,k=v.cd,E=k[0].t,x=k[0].trace,A=v.xa,L=v.ya,b=E.x,R=E.y,I=A.c2p(f),O=L.c2p(l),z=v.distance;if(E.tree){var F=A.p2c(I-z),B=A.p2c(I+z),N=L.p2c(O-z),W=L.p2c(O+z);u=a==="x"?E.tree.range(Math.min(F,B),Math.min(L._rl[0],L._rl[1]),Math.max(F,B),Math.max(L._rl[0],L._rl[1])):E.tree.range(Math.min(F,B),Math.min(N,W),Math.max(F,B),Math.max(N,W))}else u=E.ids;var j=z;if(a==="x"){var $=!!x.xperiodalignment,U=!!x.yperiodalignment;for(m=0;m=Math.min(G,q)&&I<=Math.max(G,q)?0:1/0}if(w=Math.min(H,ne)&&O<=Math.max(H,ne)?0:1/0}_=Math.sqrt(w*w+y*y),s=u[m]}}}else for(m=u.length-1;m>-1;m--)h=b[o=u[m]],c=R[o],w=A.c2p(h)-I,y=L.c2p(c)-O,(C=Math.sqrt(w*w+y*y))k.glText.length){var b=A-k.glText.length;for(y=0;yue&&(isNaN(oe[ce])||isNaN(oe[ce+1]));)ce-=2;ie.positions=oe.slice(ue,ce+2)}return ie}),k.line2d.update(k.lineOptions)),k.error2d){var I=(k.errorXOptions||[]).concat(k.errorYOptions||[]);k.error2d.update(I)}k.scatter2d&&k.scatter2d.update(k.markerOptions),k.fillOrder=v.repeat(null,A),k.fill2d&&(k.fillOptions=k.fillOptions.map(function(ie,oe){var ue=w[oe];if(ie&&ue&&ue[0]&&ue[0].trace){var ce,ye,de=ue[0],me=de.trace,pe=de.t,xe=k.lineOptions[oe],Pe=[];me._ownfill&&Pe.push(oe),me._nexttrace&&Pe.push(oe+1),Pe.length&&(k.fillOrder[oe]=Pe);var _e,Me,Se=[],Ce=xe&&xe.positions||pe.positions;if(me.fill==="tozeroy"){for(_e=0;_e_e&&isNaN(Ce[Me+1]);)Me-=2;Ce[_e+1]!==0&&(Se=[Ce[_e],0]),Se=Se.concat(Ce.slice(_e,Me+2)),Ce[Me+1]!==0&&(Se=Se.concat([Ce[Me],0]))}else if(me.fill==="tozerox"){for(_e=0;_e_e&&isNaN(Ce[Me]);)Me-=2;Ce[_e]!==0&&(Se=[0,Ce[_e+1]]),Se=Se.concat(Ce.slice(_e,Me+2)),Ce[Me]!==0&&(Se=Se.concat([0,Ce[Me+1]]))}else if(me.fill==="toself"||me.fill==="tonext"){for(Se=[],ce=0,ie.splitNull=!0,ye=0;ye-1;for(y=0;y")}function C(_){return _+"°"}}T.exports={hoverPoints:function(a,u,o){var s=a.cd,h=s[0].trace,c=a.xa,m=a.ya,w=a.subplot,y=[],C=f+h.uid+"-circle",_=h.cluster&&h.cluster.enabled;if(_){var k=w.map.queryRenderedFeatures(null,{layers:[C]});y=k.map(function(B){return B.id})}var E=360*(u>=0?Math.floor((u+180)/360):Math.ceil((u-180)/360)),x=u-E;if(d.getClosest(s,function(B){var N=B.lonlat;if(N[0]===v||_&&y.indexOf(B.i+1)===-1)return 1/0;var W=g.modHalf(N[0],360),j=N[1],$=w.project([W,j]),U=$.x-c.c2p([x,j]),G=$.y-m.c2p([W,o]),q=Math.max(3,B.mrc||0);return Math.max(Math.sqrt(U*U+G*G)-q,1-3/q)},a),a.index!==!1){var A=s[a.index],L=A.lonlat,b=[g.modHalf(L[0],360)+E,L[1]],R=c.c2p(b),I=m.c2p(b),O=A.mrc||1;a.x0=R-O,a.x1=R+O,a.y0=I-O,a.y1=I+O;var z={};z[h.subplot]={_subplot:w};var F=h._module.formatLabels(A,h,z);return a.lonLabel=F.lonLabel,a.latLabel=F.latLabel,a.color=i(h,A),a.extraText=l(h,A,s[0].t.labels),a.hovertemplate=h.hovertemplate,[a]}},getExtraText:l}},20467:function(T,p,t){T.exports={attributes:t(99181),supplyDefaults:t(76645),colorbar:t(4898),formatLabels:t(15636),calc:t(84622),plot:t(86951),hoverPoints:t(28178).hoverPoints,eventData:t(53353),selectPoints:t(86387),styleOnSelect:function(d,g){g&&g[0].trace._glTrace.update(g)},moduleType:"trace",name:"scattermapbox",basePlotModule:t(50101),categories:["mapbox","gl","symbols","showLegend","scatter-like"],meta:{}}},86951:function(T,p,t){var d=t(71828),g=t(15790),i=t(77734).traceLayerPrefix,M={cluster:["cluster","clusterCount","circle"],nonCluster:["fill","line","circle","symbol"]};function v(l,a,u,o){this.type="scattermapbox",this.subplot=l,this.uid=a,this.clusterEnabled=u,this.isHidden=o,this.sourceIds={fill:"source-"+a+"-fill",line:"source-"+a+"-line",circle:"source-"+a+"-circle",symbol:"source-"+a+"-symbol",cluster:"source-"+a+"-circle",clusterCount:"source-"+a+"-circle"},this.layerIds={fill:i+a+"-fill",line:i+a+"-line",circle:i+a+"-circle",symbol:i+a+"-symbol",cluster:i+a+"-cluster",clusterCount:i+a+"-cluster-count"},this.below=null}var f=v.prototype;f.addSource=function(l,a,u){var o={type:"geojson",data:a.geojson};u&&u.enabled&&d.extendFlat(o,{cluster:!0,clusterMaxZoom:u.maxzoom});var s=this.subplot.map.getSource(this.sourceIds[l]);s?s.setData(a.geojson):this.subplot.map.addSource(this.sourceIds[l],o)},f.setSourceData=function(l,a){this.subplot.map.getSource(this.sourceIds[l]).setData(a.geojson)},f.addLayer=function(l,a,u){var o={type:a.type,id:this.layerIds[l],source:this.sourceIds[l],layout:a.layout,paint:a.paint};a.filter&&(o.filter=a.filter);for(var s,h=this.layerIds[l],c=this.subplot.getMapLayers(),m=0;m=0;b--){var R=L[b];o.removeLayer(w.layerIds[R])}A||o.removeSource(w.sourceIds.circle)}(x):function(A){for(var L=M.nonCluster,b=L.length-1;b>=0;b--){var R=L[b];o.removeLayer(w.layerIds[R]),A||o.removeSource(w.sourceIds[R])}}(x)}function C(x){c?function(A){A||w.addSource("circle",s.circle,a.cluster);for(var L=M.cluster,b=0;b=0;u--){var o=a[u];l.removeLayer(this.layerIds[o]),l.removeSource(this.sourceIds[o])}},T.exports=function(l,a){var u,o,s,h=a[0].trace,c=h.cluster&&h.cluster.enabled,m=h.visible!==!0,w=new v(l,h.uid,c,m),y=g(l.gd,a),C=w.below=l.belowLookup["trace-"+h.uid];if(c)for(w.addSource("circle",y.circle,h.cluster),u=0;u")}}T.exports={hoverPoints:function(i,M,v,f){var l=d(i,M,v,f);if(l&&l[0].index!==!1){var a=l[0];if(a.index===void 0)return l;var u=i.subplot,o=a.cd[a.index],s=a.trace;if(u.isPtInside(o))return a.xLabelVal=void 0,a.yLabelVal=void 0,g(o,s,u,a),a.hovertemplate=s.hovertemplate,l}},makeHoverPointText:g}},91271:function(T,p,t){T.exports={moduleType:"trace",name:"scatterpolar",basePlotModule:t(23580),categories:["polar","symbols","showLegend","scatter-like"],attributes:t(81245),supplyDefaults:t(22184).supplyDefaults,colorbar:t(4898),formatLabels:t(98608),calc:t(26442),plot:t(45162),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(59150).hoverPoints,selectPoints:t(98002),meta:{}}},45162:function(T,p,t){var d=t(32663),g=t(50606).BADNUM;T.exports=function(i,M,v){for(var f=M.layers.frontplot.select("g.scatterlayer"),l=M.xaxis,a=M.yaxis,u={xaxis:l,yaxis:a,plot:M.framework,layerClipId:M._hasClipOnAxisFalse?M.clipIds.forTraces:null},o=M.radialAxis,s=M.angularAxis,h=0;h=l&&(A.marker.cluster=_.tree),A.marker&&(A.markerSel.positions=A.markerUnsel.positions=A.marker.positions=R),A.line&&R.length>1&&f.extendFlat(A.line,v.linePositions(a,C,R)),A.text&&(f.extendFlat(A.text,{positions:R},v.textPosition(a,C,A.text,A.marker)),f.extendFlat(A.textSel,{positions:R},v.textPosition(a,C,A.text,A.markerSel)),f.extendFlat(A.textUnsel,{positions:R},v.textPosition(a,C,A.text,A.markerUnsel))),A.fill&&!c.fill2d&&(c.fill2d=!0),A.marker&&!c.scatter2d&&(c.scatter2d=!0),A.line&&!c.line2d&&(c.line2d=!0),A.text&&!c.glText&&(c.glText=!0),c.lineOptions.push(A.line),c.fillOptions.push(A.fill),c.markerOptions.push(A.marker),c.markerSelectedOptions.push(A.markerSel),c.markerUnselectedOptions.push(A.markerUnsel),c.textOptions.push(A.text),c.textSelectedOptions.push(A.textSel),c.textUnselectedOptions.push(A.textUnsel),c.selectBatch.push([]),c.unselectBatch.push([]),_.x=I,_.y=O,_.rawx=I,_.rawy=O,_.r=E,_.theta=x,_.positions=R,_._scene=c,_.index=c.count,c.count++}}),i(a,u,o)}},T.exports.reglPrecompiled={}},48300:function(T,p,t){var d=t(5386).fF,g=t(5386).si,i=t(1426).extendFlat,M=t(82196),v=t(9012),f=M.line;T.exports={mode:M.mode,real:{valType:"data_array",editType:"calc+clearAxisTypes"},imag:{valType:"data_array",editType:"calc+clearAxisTypes"},text:M.text,texttemplate:g({editType:"plot"},{keys:["real","imag","text"]}),hovertext:M.hovertext,line:{color:f.color,width:f.width,dash:f.dash,backoff:f.backoff,shape:i({},f.shape,{values:["linear","spline"]}),smoothing:f.smoothing,editType:"calc"},connectgaps:M.connectgaps,marker:M.marker,cliponaxis:i({},M.cliponaxis,{dflt:!1}),textposition:M.textposition,textfont:M.textfont,fill:i({},M.fill,{values:["none","toself","tonext"],dflt:"none"}),fillcolor:M.fillcolor,hoverinfo:i({},v.hoverinfo,{flags:["real","imag","text","name"]}),hoveron:M.hoveron,hovertemplate:d(),selected:M.selected,unselected:M.unselected}},30621:function(T,p,t){var d=t(92770),g=t(50606).BADNUM,i=t(36922),M=t(75225),v=t(66279),f=t(47761).calcMarkerSize;T.exports=function(l,a){for(var u=l._fullLayout,o=a.subplot,s=u[o].realaxis,h=u[o].imaginaryaxis,c=s.makeCalcdata(a,"real"),m=h.makeCalcdata(a,"imag"),w=a._length,y=new Array(w),C=0;C")}}T.exports={hoverPoints:function(i,M,v,f){var l=d(i,M,v,f);if(l&&l[0].index!==!1){var a=l[0];if(a.index===void 0)return l;var u=i.subplot,o=a.cd[a.index],s=a.trace;if(u.isPtInside(o))return a.xLabelVal=void 0,a.yLabelVal=void 0,g(o,s,u,a),a.hovertemplate=s.hovertemplate,l}},makeHoverPointText:g}},85956:function(T,p,t){T.exports={moduleType:"trace",name:"scattersmith",basePlotModule:t(7504),categories:["smith","symbols","showLegend","scatter-like"],attributes:t(48300),supplyDefaults:t(65269),colorbar:t(4898),formatLabels:t(62047),calc:t(30621),plot:t(12480),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(11350).hoverPoints,selectPoints:t(98002),meta:{}}},12480:function(T,p,t){var d=t(32663),g=t(50606).BADNUM,i=t(23893).smith;T.exports=function(M,v,f){for(var l=v.layers.frontplot.select("g.scatterlayer"),a=v.xaxis,u=v.yaxis,o={xaxis:a,yaxis:u,plot:v.framework,layerClipId:v._hasClipOnAxisFalse?v.clipIds.forTraces:null},s=0;s"),l.hovertemplate=c.hovertemplate,f}function E(x,A){_.push(x._hovertitle+": "+A)}}},52979:function(T,p,t){T.exports={attributes:t(50413),supplyDefaults:t(46008),colorbar:t(4898),formatLabels:t(93645),calc:t(54337),plot:t(7507),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(47250),selectPoints:t(98002),eventData:t(4524),moduleType:"trace",name:"scatterternary",basePlotModule:t(61639),categories:["ternary","symbols","showLegend","scatter-like"],meta:{}}},7507:function(T,p,t){var d=t(32663);T.exports=function(g,i,M){var v=i.plotContainer;v.select(".scatterlayer").selectAll("*").remove();for(var f=i.xaxis,l=i.yaxis,a={xaxis:f,yaxis:l,plot:v,layerClipId:i._hasClipOnAxisFalse?i.clipIdRelative:null},u=i.layers.frontplot.select("g.scatterlayer"),o=0;oo?x.sizeAvg||Math.max(x.size,3):i(h,E),m=0;mR&&z||b-1,j=!0;if(M(x)||w.selectedpoints||W){var $=w._length;if(w.selectedpoints){C.selectBatch=w.selectedpoints;var U=w.selectedpoints,G={};for(o=0;o1&&(m=k[A-1],y=E[A-1],_=x[A-1]),l=0;lm?"-":"+")+"x")).replace("y",(w>y?"-":"+")+"y")).replace("z",(C>_?"-":"+")+"z");var j=function(){A=0,B=[],N=[],W=[]};(!A||A2?c.slice(1,m-1):m===2?[(c[0]+c[1])/2]:c}function s(c){var m=c.length;return m===1?[.5,.5]:[c[1]-c[0],c[m-1]-c[m-2]]}function h(c,m){var w=c.fullSceneLayout,y=c.dataScale,C=m._len,_={};function k(te,Z){var X=w[Z],Q=y[l[Z]];return i.simpleMap(te,function(re){return X.d2l(re)*Q})}if(_.vectors=f(k(m._u,"xaxis"),k(m._v,"yaxis"),k(m._w,"zaxis"),C),!C)return{positions:[],cells:[]};var E=k(m._Xs,"xaxis"),x=k(m._Ys,"yaxis"),A=k(m._Zs,"zaxis");if(_.meshgrid=[E,x,A],_.gridFill=m._gridFill,m._slen)_.startingPositions=f(k(m._startsX,"xaxis"),k(m._startsY,"yaxis"),k(m._startsZ,"zaxis"));else{for(var L=x[0],b=o(E),R=o(A),I=new Array(b.length*R.length),O=0,z=0;z=0};L?(w=Math.min(A.length,R.length),y=function(ue){return N(A[ue])&&W(ue)},C=function(ue){return String(A[ue])}):(w=Math.min(b.length,R.length),y=function(ue){return N(b[ue])&&W(ue)},C=function(ue){return String(b[ue])}),O&&(w=Math.min(w,I.length));for(var j=0;j1){for(var q=i.randstr(),H=0;H"),name:B||ne("name")?L.name:void 0,color:F("hoverlabel.bgcolor")||b.color,borderColor:F("hoverlabel.bordercolor"),fontFamily:F("hoverlabel.font.family"),fontSize:F("hoverlabel.font.size"),fontColor:F("hoverlabel.font.color"),nameLength:F("hoverlabel.namelength"),textAlign:F("hoverlabel.align"),hovertemplate:B,hovertemplateLabels:G,eventData:A};_&&(X.x0=j-E.rInscribed*E.rpx1,X.x1=j+E.rInscribed*E.rpx1,X.idealAlign=E.pxmid[0]<0?"left":"right"),k&&(X.x=j,X.idealAlign=j<0?"left":"right");var Q=[];M.loneHover(X,{container:x._hoverlayer.node(),outerContainer:x._paper.node(),gd:c,inOut_bbox:Q}),A[0].bbox=Q[0],y._hasHoverLabel=!0}if(k){var re=o.select("path.surface");m.styleOne(re,E,L,{hovered:!0})}y._hasHoverEvent=!0,c.emit("plotly_hover",{points:A||[u(E,L,m.eventDataKeys)],event:d.event})}}),o.on("mouseout",function(E){var x=c._fullLayout,A=c._fullData[y.index],L=d.select(this).datum();if(y._hasHoverEvent&&(E.originalEvent=d.event,c.emit("plotly_unhover",{points:[u(L,A,m.eventDataKeys)],event:d.event}),y._hasHoverEvent=!1),y._hasHoverLabel&&(M.loneUnhover(x._hoverlayer.node()),y._hasHoverLabel=!1),k){var b=o.select("path.surface");m.styleOne(b,L,A,{hovered:!1})}}),o.on("click",function(E){var x=c._fullLayout,A=c._fullData[y.index],L=_&&(l.isHierarchyRoot(E)||l.isLeaf(E)),b=l.getPtId(E),R=l.isEntry(E)?l.findEntryWithChild(S,b):l.findEntryWithLevel(S,b),I=l.getPtId(R),O={points:[u(E,A,m.eventDataKeys)],event:d.event};L||(O.nextLevel=I);var z=f.triggerHandler(c,"plotly_"+y.type+"click",O);if(z!==!1&&x.hovermode&&(c._hoverdata=[u(E,A,m.eventDataKeys)],M.click(c,d.event)),!L&&z!==!1&&!c._dragging&&!c._transitioning){g.call("_storeDirectGUIEdit",A,x._tracePreGUI[A.uid],{level:A.level});var F={data:[{level:I}],traces:[y.index]},B={frame:{redraw:!1,duration:m.transitionTime},transition:{duration:m.transitionTime,easing:m.transitionEasing},mode:"immediate",fromcurrent:!0};M.loneUnhover(x._hoverlayer.node()),g.call("animate",c,F,B)}})}},2791:function(T,p,t){var d=t(71828),g=t(7901),i=t(6964),M=t(53581);function v(f){return f.data.data.pid}p.findEntryWithLevel=function(f,l){var a;return l&&f.eachAfter(function(u){if(p.getPtId(u)===l)return a=u.copy()}),a||f},p.findEntryWithChild=function(f,l){var a;return f.eachAfter(function(u){for(var o=u.children||[],s=0;s0)},p.getMaxDepth=function(f){return f.maxdepth>=0?f.maxdepth:1/0},p.isHeader=function(f,l){return!(p.isLeaf(f)||f.depth===l._maxDepth-1)},p.getParent=function(f,l){return p.findEntryWithLevel(f,v(l))},p.listPath=function(f,l){var a=f.parent;if(!a)return[];var u=l?[a.data[l]]:[a];return p.listPath(a,l).concat(u)},p.getPath=function(f){return p.listPath(f,"label").join("/")+"/"},p.formatValue=M.formatPieValue,p.formatPercent=function(f,l){var a=d.formatPercent(f,0);return a==="0%"&&(a=M.formatPiePercent(f,l)),a}},87619:function(T,p,t){T.exports={moduleType:"trace",name:"sunburst",basePlotModule:t(66888),categories:[],animatable:!0,attributes:t(57564),layoutAttributes:t(2654),supplyDefaults:t(17094),supplyLayoutDefaults:t(57034),calc:t(52147).calc,crossTraceCalc:t(52147).crossTraceCalc,plot:t(24714).plot,style:t(29969).style,colorbar:t(4898),meta:{}}},2654:function(T){T.exports={sunburstcolorway:{valType:"colorlist",editType:"calc"},extendsunburstcolors:{valType:"boolean",dflt:!0,editType:"calc"}}},57034:function(T,p,t){var d=t(71828),g=t(2654);T.exports=function(i,M){function v(f,l){return d.coerce(i,M,g,f,l)}v("sunburstcolorway",M.colorway),v("extendsunburstcolors")}},24714:function(T,p,t){var d=t(39898),g=t(674),i=t(81684).sX,M=t(91424),v=t(71828),f=t(63893),l=t(72597),a=l.recordMinTextSize,u=l.clearMinTextSize,o=t(14575),s=t(53581).getRotationAngle,c=o.computeTransform,h=o.transformInsideText,m=t(29969).styleOne,w=t(16688).resizeText,y=t(83523),S=t(7055),_=t(2791);function k(x,A,L,b){var R=x._context.staticPlot,I=x._fullLayout,O=!I.uniformtext.mode&&_.hasTransition(b),z=d.select(L).selectAll("g.slice"),F=A[0],B=F.trace,N=F.hierarchy,W=_.findEntryWithLevel(N,B.level),j=_.getMaxDepth(B),$=I._size,U=B.domain,G=$.w*(U.x[1]-U.x[0]),q=$.h*(U.y[1]-U.y[0]),H=.5*Math.min(G,q),ne=F.cx=$.l+$.w*(U.x[1]+U.x[0])/2,te=F.cy=$.t+$.h*(1-U.y[0])-q/2;if(!W)return z.remove();var Z=null,X={};O&&z.each(function(Ce){X[_.getPtId(Ce)]={rpx0:Ce.rpx0,rpx1:Ce.rpx1,x0:Ce.x0,x1:Ce.x1,transform:Ce.transform},!Z&&_.isEntry(Ce)&&(Z=Ce)});var Q=function(Ce){return g.partition().size([2*Math.PI,Ce.height+1])(Ce)}(W).descendants(),re=W.height+1,ie=0,oe=j;F.hasMultipleRoots&&_.isHierarchyRoot(W)&&(Q=Q.slice(1),re-=1,ie=1,oe+=1),Q=Q.filter(function(Ce){return Ce.y1<=oe});var ue=s(B.rotation);ue&&Q.forEach(function(Ce){Ce.x0+=ue,Ce.x1+=ue});var ce=Math.min(re,j),ye=function(Ce){return(Ce-ie)/ce*H},de=function(Ce,ae){return[Ce*Math.cos(ae),-Ce*Math.sin(ae)]},me=function(Ce){return v.pathAnnulus(Ce.rpx0,Ce.rpx1,Ce.x0,Ce.x1,ne,te)},pe=function(Ce){return ne+E(Ce)[0]*(Ce.transform.rCenter||0)+(Ce.transform.x||0)},xe=function(Ce){return te+E(Ce)[1]*(Ce.transform.rCenter||0)+(Ce.transform.y||0)};(z=z.data(Q,_.getPtId)).enter().append("g").classed("slice",!0),O?z.exit().transition().each(function(){var Ce=d.select(this);Ce.select("path.surface").transition().attrTween("d",function(ae){var fe=function(be){var ke,Le=_.getPtId(be),Be=X[Le],ze=X[_.getPtId(W)];if(ze){var je=(be.x1>ze.x1?2*Math.PI:0)+ue;ke=be.rpx1Pe?2*Math.PI:0)+ue;Ee={x0:Ye,x1:Ye}}else Ee={rpx0:H,rpx1:H},v.extendFlat(Ee,Se(we));else Ee={rpx0:0,rpx1:0};else Ee={x0:ue,x1:ue};return i(Ee,$e)}(je);return function(we){return me(ge(we))}}):fe.attr("d",me),ae.call(y,W,x,A,{eventDataKeys:S.eventDataKeys,transitionTime:S.CLICK_TRANSITION_TIME,transitionEasing:S.CLICK_TRANSITION_EASING}).call(_.setSliceCursor,x,{hideOnRoot:!0,hideOnLeaves:!0,isTransitioning:x._transitioning}),fe.call(m,Ce,B);var be=v.ensureSingle(ae,"g","slicetext"),ke=v.ensureSingle(be,"text","",function(je){je.attr("data-notex",1)}),Le=v.ensureUniformFontSize(x,_.determineTextFont(B,Ce,I.font));ke.text(p.formatSliceLabel(Ce,W,B,A,I)).classed("slicetext",!0).attr("text-anchor","middle").call(M.font,Le).call(f.convertToTspans,x);var Be=M.bBox(ke.node());Ce.transform=h(Be,Ce,F),Ce.transform.targetX=pe(Ce),Ce.transform.targetY=xe(Ce);var ze=function(je,ge){var we=je.transform;return c(we,ge),we.fontSize=Le.size,a(B.type,we,I),v.getTextTransform(we)};O?ke.transition().attrTween("transform",function(je){var ge=function(we){var Ee,Ve=X[_.getPtId(we)],$e=we.transform;if(Ve)Ee=Ve;else if(Ee={rpx1:we.rpx1,transform:{textPosAngle:$e.textPosAngle,scale:0,rotate:$e.rotate,rCenter:$e.rCenter,x:$e.x,y:$e.y}},Z)if(we.parent)if(Pe){var Ye=we.x1>Pe?2*Math.PI:0;Ee.x0=Ee.x1=Ye}else v.extendFlat(Ee,Se(we));else Ee.x0=Ee.x1=ue;else Ee.x0=Ee.x1=ue;var st=i(Ee.transform.textPosAngle,we.transform.textPosAngle),ot=i(Ee.rpx1,we.rpx1),ht=i(Ee.x0,we.x0),bt=i(Ee.x1,we.x1),Et=i(Ee.transform.scale,$e.scale),kt=i(Ee.transform.rotate,$e.rotate),xt=$e.rCenter===0?3:Ee.transform.rCenter===0?1/3:1,Ft=i(Ee.transform.rCenter,$e.rCenter);return function(Ot){var Bt=ot(Ot),qt=ht(Ot),Vt=bt(Ot),Ke=function(qe){return Ft(Math.pow(qe,xt))}(Ot),Je={pxmid:de(Bt,(qt+Vt)/2),rpx1:Bt,transform:{textPosAngle:st(Ot),rCenter:Ke,x:$e.x,y:$e.y}};return a(B.type,$e,I),{transform:{targetX:pe(Je),targetY:xe(Je),scale:Et(Ot),rotate:kt(Ot),rCenter:Ke}}}}(je);return function(we){return ze(ge(we),Be)}}):ke.attr("transform",ze(Ce,Be))})}function E(x){return A=x.rpx1,L=x.transform.textPosAngle,[A*Math.sin(L),-A*Math.cos(L)];var A,L}p.plot=function(x,A,L,b){var R,I,O=x._fullLayout,z=O._sunburstlayer,F=!L,B=!O.uniformtext.mode&&_.hasTransition(L);u("sunburst",O),(R=z.selectAll("g.trace.sunburst").data(A,function(N){return N[0].trace.uid})).enter().append("g").classed("trace",!0).classed("sunburst",!0).attr("stroke-linejoin","round"),R.order(),B?(b&&(I=b()),d.transition().duration(L.duration).ease(L.easing).each("end",function(){I&&I()}).each("interrupt",function(){I&&I()}).each(function(){z.selectAll("g.trace").each(function(N){k(x,N,this,L)})})):(R.each(function(N){k(x,N,this,L)}),O.uniformtext.mode&&w(x,O._sunburstlayer.selectAll(".trace"),"sunburst")),F&&R.exit().remove()},p.formatSliceLabel=function(x,A,L,b,R){var I=L.texttemplate,O=L.textinfo;if(!(I||O&&O!=="none"))return"";var z=R.separators,F=b[0],B=x.data.data,N=F.hierarchy,W=_.isHierarchyRoot(x),j=_.getParent(N,x),$=_.getValue(x);if(!I){var U,G=O.split("+"),q=function(oe){return G.indexOf(oe)!==-1},H=[];if(q("label")&&B.label&&H.push(B.label),B.hasOwnProperty("v")&&q("value")&&H.push(_.formatValue(B.v,z)),!W){q("current path")&&H.push(_.getPath(x.data));var ne=0;q("percent parent")&&ne++,q("percent entry")&&ne++,q("percent root")&&ne++;var te=ne>1;if(ne){var Z,X=function(oe){U=_.formatPercent(Z,z),te&&(U+=" of "+oe),H.push(U)};q("percent parent")&&!W&&(Z=$/_.getValue(j),X("parent")),q("percent entry")&&(Z=$/_.getValue(A),X("entry")),q("percent root")&&(Z=$/_.getValue(N),X("root"))}}return q("text")&&(U=v.castOption(L,B.i,"text"),v.isValidTextValue(U)&&H.push(U)),H.join("
")}var Q=v.castOption(L,B.i,"texttemplate");if(!Q)return"";var re={};B.label&&(re.label=B.label),B.hasOwnProperty("v")&&(re.value=B.v,re.valueLabel=_.formatValue(B.v,z)),re.currentPath=_.getPath(x.data),W||(re.percentParent=$/_.getValue(j),re.percentParentLabel=_.formatPercent(re.percentParent,z),re.parent=_.getPtLabel(j)),re.percentEntry=$/_.getValue(A),re.percentEntryLabel=_.formatPercent(re.percentEntry,z),re.entry=_.getPtLabel(A),re.percentRoot=$/_.getValue(N),re.percentRootLabel=_.formatPercent(re.percentRoot,z),re.root=_.getPtLabel(N),B.hasOwnProperty("color")&&(re.color=B.color);var ie=v.castOption(L,B.i,"text");return(v.isValidTextValue(ie)||ie==="")&&(re.text=ie),re.customdata=v.castOption(L,B.i,"customdata"),v.texttemplateString(Q,re,R._d3locale,re,L._meta||{})}},29969:function(T,p,t){var d=t(39898),g=t(7901),i=t(71828),M=t(72597).resizeText;function v(f,l,a){var u=l.data.data,o=!l.children,s=u.i,c=i.castOption(a,s,"marker.line.color")||g.defaultLine,h=i.castOption(a,s,"marker.line.width")||0;f.style("stroke-width",h).call(g.fill,u.color).call(g.stroke,c).style("opacity",o?a.leaf.opacity:null)}T.exports={style:function(f){var l=f._fullLayout._sunburstlayer.selectAll(".trace");M(f,l,"sunburst"),l.each(function(a){var u=d.select(this),o=a[0].trace;u.style("opacity",o.opacity),u.selectAll("path.surface").each(function(s){d.select(this).call(v,s,o)})})},styleOne:v}},54532:function(T,p,t){var d=t(7901),g=t(50693),i=t(12663).axisHoverFormat,M=t(5386).fF,v=t(9012),f=t(1426).extendFlat,l=t(30962).overrideAll;function a(o){return{show:{valType:"boolean",dflt:!1},start:{valType:"number",dflt:null,editType:"plot"},end:{valType:"number",dflt:null,editType:"plot"},size:{valType:"number",dflt:null,min:0,editType:"plot"},project:{x:{valType:"boolean",dflt:!1},y:{valType:"boolean",dflt:!1},z:{valType:"boolean",dflt:!1}},color:{valType:"color",dflt:d.defaultLine},usecolormap:{valType:"boolean",dflt:!1},width:{valType:"number",min:1,max:16,dflt:2},highlight:{valType:"boolean",dflt:!0},highlightcolor:{valType:"color",dflt:d.defaultLine},highlightwidth:{valType:"number",min:1,max:16,dflt:2}}}var u=T.exports=l(f({z:{valType:"data_array"},x:{valType:"data_array"},y:{valType:"data_array"},text:{valType:"string",dflt:"",arrayOk:!0},hovertext:{valType:"string",dflt:"",arrayOk:!0},hovertemplate:M(),xhoverformat:i("x"),yhoverformat:i("y"),zhoverformat:i("z"),connectgaps:{valType:"boolean",dflt:!1,editType:"calc"},surfacecolor:{valType:"data_array"}},g("",{colorAttr:"z or surfacecolor",showScaleDflt:!0,autoColorDflt:!1,editTypeOverride:"calc"}),{contours:{x:a(),y:a(),z:a()},hidesurface:{valType:"boolean",dflt:!1},lightposition:{x:{valType:"number",min:-1e5,max:1e5,dflt:10},y:{valType:"number",min:-1e5,max:1e5,dflt:1e4},z:{valType:"number",min:-1e5,max:1e5,dflt:0}},lighting:{ambient:{valType:"number",min:0,max:1,dflt:.8},diffuse:{valType:"number",min:0,max:1,dflt:.8},specular:{valType:"number",min:0,max:2,dflt:.05},roughness:{valType:"number",min:0,max:1,dflt:.5},fresnel:{valType:"number",min:0,max:5,dflt:.2}},opacity:{valType:"number",min:0,max:1,dflt:1},opacityscale:{valType:"any",editType:"calc"},_deprecated:{zauto:f({},g.zauto,{}),zmin:f({},g.zmin,{}),zmax:f({},g.zmax,{})},hoverinfo:f({},v.hoverinfo),showlegend:f({},v.showlegend,{dflt:!1})}),"calc","nested");u.x.editType=u.y.editType=u.z.editType="calc+clearAxisTypes",u.transforms=void 0},18396:function(T,p,t){var d=t(78803);T.exports=function(g,i){i.surfacecolor?d(g,i,{vals:i.surfacecolor,containerStr:"",cLetter:"c"}):d(g,i,{vals:i.z,containerStr:"",cLetter:"c"})}},43768:function(T,p,t){var d=t(9330).gl_surface3d,g=t(9330).ndarray,i=t(9330).ndarray_linear_interpolate.d2,M=t(824),v=t(43907),f=t(71828).isArrayOrTypedArray,l=t(81697).parseColorScale,a=t(78614),u=t(21081).extractOpts;function o(L,b,R){this.scene=L,this.uid=R,this.surface=b,this.data=null,this.showContour=[!1,!1,!1],this.contourStart=[null,null,null],this.contourEnd=[null,null,null],this.contourSize=[0,0,0],this.minValues=[1/0,1/0,1/0],this.maxValues=[-1/0,-1/0,-1/0],this.dataScaleX=1,this.dataScaleY=1,this.refineData=!0,this.objectOffset=[0,0,0]}var s=o.prototype;s.getXat=function(L,b,R,I){var O=f(this.data.x)?f(this.data.x[0])?this.data.x[b][L]:this.data.x[L]:L;return R===void 0?O:I.d2l(O,0,R)},s.getYat=function(L,b,R,I){var O=f(this.data.y)?f(this.data.y[0])?this.data.y[b][L]:this.data.y[b]:b;return R===void 0?O:I.d2l(O,0,R)},s.getZat=function(L,b,R,I){var O=this.data.z[b][L];return O===null&&this.data.connectgaps&&this.data._interpolatedZ&&(O=this.data._interpolatedZ[b][L]),R===void 0?O:I.d2l(O,0,R)},s.handlePick=function(L){if(L.object===this.surface){var b=(L.data.index[0]-1)/this.dataScaleX-1,R=(L.data.index[1]-1)/this.dataScaleY-1,I=Math.max(Math.min(Math.round(b),this.data.z[0].length-1),0),O=Math.max(Math.min(Math.round(R),this.data._ylength-1),0);L.index=[I,O],L.traceCoordinate=[this.getXat(I,O),this.getYat(I,O),this.getZat(I,O)],L.dataCoordinate=[this.getXat(I,O,this.data.xcalendar,this.scene.fullSceneLayout.xaxis),this.getYat(I,O,this.data.ycalendar,this.scene.fullSceneLayout.yaxis),this.getZat(I,O,this.data.zcalendar,this.scene.fullSceneLayout.zaxis)];for(var z=0;z<3;z++)L.dataCoordinate[z]!=null&&(L.dataCoordinate[z]*=this.scene.dataScale[z]);var F=this.data.hovertext||this.data.text;return Array.isArray(F)&&F[O]&&F[O][I]!==void 0?L.textLabel=F[O][I]:L.textLabel=F||"",L.data.dataCoordinate=L.dataCoordinate.slice(),this.surface.highlight(L.data),this.scene.glplot.spikes.position=L.dataCoordinate,!0}};var c=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997,1009,1013,1019,1021,1031,1033,1039,1049,1051,1061,1063,1069,1087,1091,1093,1097,1103,1109,1117,1123,1129,1151,1153,1163,1171,1181,1187,1193,1201,1213,1217,1223,1229,1231,1237,1249,1259,1277,1279,1283,1289,1291,1297,1301,1303,1307,1319,1321,1327,1361,1367,1373,1381,1399,1409,1423,1427,1429,1433,1439,1447,1451,1453,1459,1471,1481,1483,1487,1489,1493,1499,1511,1523,1531,1543,1549,1553,1559,1567,1571,1579,1583,1597,1601,1607,1609,1613,1619,1621,1627,1637,1657,1663,1667,1669,1693,1697,1699,1709,1721,1723,1733,1741,1747,1753,1759,1777,1783,1787,1789,1801,1811,1823,1831,1847,1861,1867,1871,1873,1877,1879,1889,1901,1907,1913,1931,1933,1949,1951,1973,1979,1987,1993,1997,1999,2003,2011,2017,2027,2029,2039,2053,2063,2069,2081,2083,2087,2089,2099,2111,2113,2129,2131,2137,2141,2143,2153,2161,2179,2203,2207,2213,2221,2237,2239,2243,2251,2267,2269,2273,2281,2287,2293,2297,2309,2311,2333,2339,2341,2347,2351,2357,2371,2377,2381,2383,2389,2393,2399,2411,2417,2423,2437,2441,2447,2459,2467,2473,2477,2503,2521,2531,2539,2543,2549,2551,2557,2579,2591,2593,2609,2617,2621,2633,2647,2657,2659,2663,2671,2677,2683,2687,2689,2693,2699,2707,2711,2713,2719,2729,2731,2741,2749,2753,2767,2777,2789,2791,2797,2801,2803,2819,2833,2837,2843,2851,2857,2861,2879,2887,2897,2903,2909,2917,2927,2939,2953,2957,2963,2969,2971,2999];function h(L,b){if(L0){R=c[I];break}return R}function y(L,b){if(!(L<1||b<1)){for(var R=m(L),I=m(b),O=1,z=0;zk;)R--,R/=w(R),++R<_&&(R=k);var I=Math.round(R/L);return I>1?I:1},s.refineCoords=function(L){for(var b=this.dataScaleX,R=this.dataScaleY,I=L[0].shape[0],O=L[0].shape[1],z=0|Math.floor(L[0].shape[0]*b+1),F=0|Math.floor(L[0].shape[1]*R+1),B=1+I+1,N=1+O+1,W=g(new Float32Array(B*N),[B,N]),j=[1/b,0,0,0,1/R,0,0,0,1],$=0;$0&&this.contourStart[L]!==null&&this.contourEnd[L]!==null&&this.contourEnd[L]>this.contourStart[L]))for(O[L]=!0,b=this.contourStart[L];bO&&(this.minValues[b]=O),this.maxValues[b]",maxDimensionCount:60,overdrag:45,releaseTransitionDuration:120,releaseTransitionEase:"cubic-out",scrollbarCaptureWidth:18,scrollbarHideDelay:1e3,scrollbarHideDuration:1e3,scrollbarOffset:5,scrollbarWidth:8,transitionDuration:100,transitionEase:"cubic-out",uplift:5,wrapSpacer:" ",wrapSplitCharacter:" ",cn:{table:"table",tableControlView:"table-control-view",scrollBackground:"scroll-background",yColumn:"y-column",columnBlock:"column-block",scrollAreaClip:"scroll-area-clip",scrollAreaClipRect:"scroll-area-clip-rect",columnBoundary:"column-boundary",columnBoundaryClippath:"column-boundary-clippath",columnBoundaryRect:"column-boundary-rect",columnCells:"column-cells",columnCell:"column-cell",cellRect:"cell-rect",cellText:"cell-text",cellTextHolder:"cell-text-holder",scrollbarKit:"scrollbar-kit",scrollbar:"scrollbar",scrollbarSlider:"scrollbar-slider",scrollbarGlyph:"scrollbar-glyph",scrollbarCaptureZone:"scrollbar-capture-zone"}}},51018:function(T,p,t){var d=t(49850),g=t(1426).extendFlat,i=t(92770);function M(s){if(Array.isArray(s)){for(var c=0,h=0;h=c||E===s.length-1)&&(m[w]=S,S.key=k++,S.firstRowIndex=_,S.lastRowIndex=E,S={firstRowIndex:null,lastRowIndex:null,rows:[]},w+=y,_=E+1,y=0);return m}T.exports=function(s,c){var h=f(c.cells.values),m=function(W){return W.slice(c.header.values.length,W.length)},w=f(c.header.values);w.length&&!w[0].length&&(w[0]=[""],w=f(w));var y=w.concat(m(h).map(function(){return l((w[0]||[""]).length)})),S=c.domain,_=Math.floor(s._fullLayout._size.w*(S.x[1]-S.x[0])),k=Math.floor(s._fullLayout._size.h*(S.y[1]-S.y[0])),E=c.header.values.length?y[0].map(function(){return c.header.height}):[d.emptyHeaderHeight],x=h.length?h[0].map(function(){return c.cells.height}):[],A=E.reduce(v,0),L=o(x,k-A+d.uplift),b=u(o(E,A),[]),R=u(L,b),I={},O=c._fullInput.columnorder.concat(m(h.map(function(W,j){return j}))),z=y.map(function(W,j){var $=Array.isArray(c.columnwidth)?c.columnwidth[Math.min(j,c.columnwidth.length-1)]:c.columnwidth;return i($)?Number($):1}),F=z.reduce(v,0);z=z.map(function(W){return W/F*_});var B=Math.max(M(c.header.line.width),M(c.cells.line.width)),N={key:c.uid+s._context.staticPlot,translateX:S.x[0]*s._fullLayout._size.w,translateY:s._fullLayout._size.h*(1-S.y[1]),size:s._fullLayout._size,width:_,maxLineWidth:B,height:k,columnOrder:O,groupHeight:k,rowBlocks:R,headerRowBlocks:b,scrollY:0,cells:g({},c.cells,{values:h}),headerCells:g({},c.header,{values:y}),gdColumns:y.map(function(W){return W[0]}),gdColumnsOriginalOrder:y.map(function(W){return W[0]}),prevPages:[0,0],scrollbarState:{scrollbarScrollInProgress:!1},columns:y.map(function(W,j){var $=I[W];return I[W]=($||0)+1,{key:W+"__"+I[W],label:W,specIndex:j,xIndex:O[j],xScale:a,x:void 0,calcdata:void 0,columnWidth:z[j]}})};return N.columns.forEach(function(W){W.calcdata=N,W.x=a(W)}),N}},56269:function(T,p,t){var d=t(1426).extendFlat;p.splitToPanels=function(g){var i=[0,0],M=d({},g,{key:"header",type:"header",page:0,prevPages:i,currentRepaint:[null,null],dragHandle:!0,values:g.calcdata.headerCells.values[g.specIndex],rowBlocks:g.calcdata.headerRowBlocks,calcdata:d({},g.calcdata,{cells:g.calcdata.headerCells})});return[d({},g,{key:"cells1",type:"cells",page:0,prevPages:i,currentRepaint:[null,null],dragHandle:!1,values:g.calcdata.cells.values[g.specIndex],rowBlocks:g.calcdata.rowBlocks}),d({},g,{key:"cells2",type:"cells",page:1,prevPages:i,currentRepaint:[null,null],dragHandle:!1,values:g.calcdata.cells.values[g.specIndex],rowBlocks:g.calcdata.rowBlocks}),M]},p.splitToCells=function(g){var i=function(M){var v=M.rowBlocks[M.page],f=v?v.rows[0].rowIndex:0;return[f,v?f+v.rows.length:0]}(g);return(g.values||[]).slice(i[0],i[1]).map(function(M,v){return{keyWithinBlock:v+(typeof M=="string"&&M.match(/[<$&> ]/)?"_keybuster_"+Math.random():""),key:i[0]+v,column:g,calcdata:g.calcdata,page:g.page,rowBlocks:g.rowBlocks,value:M}})}},39754:function(T,p,t){var d=t(71828),g=t(44464),i=t(27670).c;T.exports=function(M,v,f,l){function a(u,o){return d.coerce(M,v,g,u,o)}i(v,l,a),a("columnwidth"),a("header.values"),a("header.format"),a("header.align"),a("header.prefix"),a("header.suffix"),a("header.height"),a("header.line.width"),a("header.line.color"),a("header.fill.color"),d.coerceFont(a,"header.font",d.extendFlat({},l.font)),function(u,o){for(var s=u.columnorder||[],c=u.header.values.length,h=s.slice(0,c),m=h.slice().sort(function(S,_){return S-_}),w=h.map(function(S){return m.indexOf(S)}),y=w.length;y/i),ue=!ie||oe;Z.mayHaveMarkup=ie&&re.match(/[<&>]/);var ce,ye=typeof(ce=re)=="string"&&ce.match(d.latexCheck);Z.latex=ye;var de,me,pe=ye?"":x(Z.calcdata.cells.prefix,X,Q)||"",xe=ye?"":x(Z.calcdata.cells.suffix,X,Q)||"",Pe=ye?null:x(Z.calcdata.cells.format,X,Q)||null,_e=pe+(Pe?i(Pe)(Z.value):Z.value)+xe;if(Z.wrappingNeeded=!Z.wrapped&&!ue&&!ye&&(de=E(_e)),Z.cellHeightMayIncrease=oe||ye||Z.mayHaveMarkup||(de===void 0?E(_e):de),Z.needsConvertToTspans=Z.mayHaveMarkup||Z.wrappingNeeded||Z.latex,Z.wrappingNeeded){var Me=(d.wrapSplitCharacter===" "?_e.replace(/me&&de.push(pe),me+=_e}return de}(Z,ie,re);oe.length===1&&(oe[0]===Z.length-1?oe.unshift(oe[0]-1):oe.push(oe[0]+1)),oe[0]%2&&oe.reverse(),H.each(function(ue,ce){ue.page=oe[ce],ue.scrollY=ie}),H.attr("transform",function(ue){var ce=j(ue.rowBlocks,ue.page)-ue.scrollY;return a(0,ce)}),q&&(z(q,ne,H,oe,te.prevPages,te,0),z(q,ne,H,oe,te.prevPages,te,1),S(ne,q))}}function O(q,H,ne,te){return function(Z){var X=Z.calcdata?Z.calcdata:Z,Q=H.filter(function(ue){return X.key===ue.key}),re=ne||X.scrollbarState.dragMultiplier,ie=X.scrollY;X.scrollY=te===void 0?X.scrollY+re*g.event.dy:te;var oe=Q.selectAll("."+d.cn.yColumn).selectAll("."+d.cn.columnBlock).filter(L);return I(q,oe,Q),X.scrollY===ie}}function z(q,H,ne,te,Z,X,Q){te[Q]!==Z[Q]&&(clearTimeout(X.currentRepaint[Q]),X.currentRepaint[Q]=setTimeout(function(){var re=ne.filter(function(ie,oe){return oe===Q&&te[oe]!==Z[oe]});_(q,H,re,ne),Z[Q]=te[Q]}))}function F(q,H,ne,te){return function(){var Z=g.select(H.parentNode);Z.each(function(X){var Q=X.fragments;Z.selectAll("tspan.line").each(function(me,pe){Q[pe].width=this.getComputedTextLength()});var re,ie,oe=Q[Q.length-1].width,ue=Q.slice(0,-1),ce=[],ye=0,de=X.column.columnWidth-2*d.cellPad;for(X.value="";ue.length;)ye+(ie=(re=ue.shift()).width+oe)>de&&(X.value+=ce.join(d.wrapSpacer)+d.lineBreaker,ce=[],ye=0),ce.push(re.text),ye+=ie;ye&&(X.value+=ce.join(d.wrapSpacer)),X.wrapped=!0}),Z.selectAll("tspan.line").remove(),k(Z.select("."+d.cn.cellText),ne,q,te),g.select(H.parentNode.parentNode).call(W)}}function B(q,H,ne,te,Z){return function(){if(!Z.settledY){var X=g.select(H.parentNode),Q=G(Z),re=Z.key-Q.firstRowIndex,ie=Q.rows[re].rowHeight,oe=Z.cellHeightMayIncrease?H.parentNode.getBoundingClientRect().height+2*d.cellPad:ie,ue=Math.max(oe,ie);ue-Q.rows[re].rowHeight&&(Q.rows[re].rowHeight=ue,q.selectAll("."+d.cn.columnCell).call(W),I(null,q.filter(L),0),S(ne,te,!0)),X.attr("transform",function(){var ce=this,ye=ce.parentNode.getBoundingClientRect(),de=g.select(ce.parentNode).select("."+d.cn.cellRect).node().getBoundingClientRect(),me=ce.transform.baseVal.consolidate(),pe=de.top-ye.top+(me?me.matrix.f:d.cellPad);return a(N(Z,g.select(ce.parentNode).select("."+d.cn.cellTextHolder).node().getBoundingClientRect().width),pe)}),Z.settledY=!0}}}function N(q,H){switch(q.align){case"left":default:return d.cellPad;case"right":return q.column.columnWidth-(H||0)-d.cellPad;case"center":return(q.column.columnWidth-(H||0))/2}}function W(q){q.attr("transform",function(H){var ne=H.rowBlocks[0].auxiliaryBlocks.reduce(function(Z,X){return Z+$(X,1/0)},0),te=$(G(H),H.key);return a(0,te+ne)}).selectAll("."+d.cn.cellRect).attr("height",function(H){return(ne=G(H),te=H.key,ne.rows[te-ne.firstRowIndex]).rowHeight;var ne,te})}function j(q,H){for(var ne=0,te=H-1;te>=0;te--)ne+=U(q[te]);return ne}function $(q,H){for(var ne=0,te=0;te","<","|","/","\\"],dflt:">",editType:"plot"},thickness:{valType:"number",min:12,editType:"plot"},textfont:a({},v.textfont,{}),editType:"calc"},text:v.text,textinfo:f.textinfo,texttemplate:g({editType:"plot"},{keys:l.eventDataKeys.concat(["label","value"])}),hovertext:v.hovertext,hoverinfo:f.hoverinfo,hovertemplate:d({},{keys:l.eventDataKeys}),textfont:v.textfont,insidetextfont:v.insidetextfont,outsidetextfont:a({},v.outsidetextfont,{}),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],dflt:"top left",editType:"plot"},sort:v.sort,root:f.root,domain:M({name:"treemap",trace:!0,editType:"calc"})}},78018:function(T,p,t){var d=t(74875);p.name="treemap",p.plot=function(g,i,M,v){d.plotBasePlot(p.name,g,i,M,v)},p.clean=function(g,i,M,v){d.cleanBasePlot(p.name,g,i,M,v)}},65039:function(T,p,t){var d=t(52147);p.y=function(g,i){return d.calc(g,i)},p.T=function(g){return d._runCrossTraceCalc("treemap",g)}},43473:function(T){T.exports={CLICK_TRANSITION_TIME:750,CLICK_TRANSITION_EASING:"poly",eventDataKeys:["currentPath","root","entry","percentRoot","percentEntry","percentParent"],gapWithPathbar:1}},91174:function(T,p,t){var d=t(71828),g=t(45802),i=t(7901),M=t(27670).c,v=t(90769).handleText,f=t(97313).TEXTPAD,l=t(21081),a=l.hasColorscale,u=l.handleDefaults;T.exports=function(o,s,c,h){function m(L,b){return d.coerce(o,s,g,L,b)}var w=m("labels"),y=m("parents");if(w&&w.length&&y&&y.length){var S=m("values");S&&S.length?m("branchvalues"):m("count"),m("level"),m("maxdepth"),m("tiling.packing")==="squarify"&&m("tiling.squarifyratio"),m("tiling.flip"),m("tiling.pad");var _=m("text");m("texttemplate"),s.texttemplate||m("textinfo",Array.isArray(_)?"text+label":"label"),m("hovertext"),m("hovertemplate");var k=m("pathbar.visible");v(o,s,h,m,"auto",{hasPathbar:k,moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),m("textposition");var E=s.textposition.indexOf("bottom")!==-1;m("marker.line.width")&&m("marker.line.color",h.paper_bgcolor);var x=m("marker.colors");(s._hasColorscale=a(o,"marker","colors")||(o.marker||{}).coloraxis)?u(o,s,h,m,{prefix:"marker.",cLetter:"c"}):m("marker.depthfade",!(x||[]).length);var A=2*s.textfont.size;m("marker.pad.t",E?A/4:A),m("marker.pad.l",A/4),m("marker.pad.r",A/4),m("marker.pad.b",E?A:A/4),m("marker.cornerradius"),s._hovered={marker:{line:{width:2,color:i.contrast(h.paper_bgcolor)}}},k&&(m("pathbar.thickness",s.pathbar.textfont.size+2*f),m("pathbar.side"),m("pathbar.edgeshape")),m("sort"),m("root.color"),M(s,h,m),s._length=null}else s.visible=!1}},80694:function(T,p,t){var d=t(39898),g=t(2791),i=t(72597).clearMinTextSize,M=t(16688).resizeText,v=t(46650);T.exports=function(f,l,a,u,o){var s,c,h=o.type,m=o.drawDescendants,w=f._fullLayout,y=w["_"+h+"layer"],S=!a;i(h,w),(s=y.selectAll("g.trace."+h).data(l,function(_){return _[0].trace.uid})).enter().append("g").classed("trace",!0).classed(h,!0),s.order(),!w.uniformtext.mode&&g.hasTransition(a)?(u&&(c=u()),d.transition().duration(a.duration).ease(a.easing).each("end",function(){c&&c()}).each("interrupt",function(){c&&c()}).each(function(){y.selectAll("g.trace").each(function(_){v(f,_,this,a,m)})})):(s.each(function(_){v(f,_,this,a,m)}),w.uniformtext.mode&&M(f,y.selectAll(".trace"),h)),S&&s.exit().remove()}},66209:function(T,p,t){var d=t(39898),g=t(71828),i=t(91424),M=t(63893),v=t(37210),f=t(96362).styleOne,l=t(43473),a=t(2791),u=t(83523),o=!0;T.exports=function(s,c,h,m,w){var y=w.barDifY,S=w.width,_=w.height,k=w.viewX,E=w.viewY,x=w.pathSlice,A=w.toMoveInsideSlice,L=w.strTransform,b=w.hasTransition,R=w.handleSlicesExit,I=w.makeUpdateSliceInterpolator,O=w.makeUpdateTextInterpolator,z={},F=s._context.staticPlot,B=s._fullLayout,N=c[0],W=N.trace,j=N.hierarchy,$=S/W._entryDepth,U=a.listPath(h.data,"id"),G=v(j.copy(),[S,_],{packing:"dice",pad:{inner:0,top:0,left:0,right:0,bottom:0}}).descendants();(G=G.filter(function(H){var ne=U.indexOf(H.data.id);return ne!==-1&&(H.x0=$*ne,H.x1=$*(ne+1),H.y0=y,H.y1=y+_,H.onPathbar=!0,!0)})).reverse(),(m=m.data(G,a.getPtId)).enter().append("g").classed("pathbar",!0),R(m,o,z,[S,_],x),m.order();var q=m;b&&(q=q.transition().each("end",function(){var H=d.select(this);a.setSliceCursor(H,s,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:!1})})),q.each(function(H){H._x0=k(H.x0),H._x1=k(H.x1),H._y0=E(H.y0),H._y1=E(H.y1),H._hoverX=k(H.x1-Math.min(S,_)/2),H._hoverY=E(H.y1-_/2);var ne=d.select(this),te=g.ensureSingle(ne,"path","surface",function(re){re.style("pointer-events",F?"none":"all")});b?te.transition().attrTween("d",function(re){var ie=I(re,o,z,[S,_]);return function(oe){return x(ie(oe))}}):te.attr("d",x),ne.call(u,h,s,c,{styleOne:f,eventDataKeys:l.eventDataKeys,transitionTime:l.CLICK_TRANSITION_TIME,transitionEasing:l.CLICK_TRANSITION_EASING}).call(a.setSliceCursor,s,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:s._transitioning}),te.call(f,H,W,{hovered:!1}),H._text=(a.getPtLabel(H)||"").split("
").join(" ")||"";var Z=g.ensureSingle(ne,"g","slicetext"),X=g.ensureSingle(Z,"text","",function(re){re.attr("data-notex",1)}),Q=g.ensureUniformFontSize(s,a.determineTextFont(W,H,B.font,{onPathbar:!0}));X.text(H._text||" ").classed("slicetext",!0).attr("text-anchor","start").call(i.font,Q).call(M.convertToTspans,s),H.textBB=i.bBox(X.node()),H.transform=A(H,{fontSize:Q.size,onPathbar:!0}),H.transform.fontSize=Q.size,b?X.transition().attrTween("transform",function(re){var ie=O(re,o,z,[S,_]);return function(oe){return L(ie(oe))}}):X.attr("transform",L(H))})}},52583:function(T,p,t){var d=t(39898),g=t(71828),i=t(91424),M=t(63893),v=t(37210),f=t(96362).styleOne,l=t(43473),a=t(2791),u=t(83523),o=t(24714).formatSliceLabel,s=!1;T.exports=function(c,h,m,w,y){var S=y.width,_=y.height,k=y.viewX,E=y.viewY,x=y.pathSlice,A=y.toMoveInsideSlice,L=y.strTransform,b=y.hasTransition,R=y.handleSlicesExit,I=y.makeUpdateSliceInterpolator,O=y.makeUpdateTextInterpolator,z=y.prevEntry,F=c._context.staticPlot,B=c._fullLayout,N=h[0].trace,W=N.textposition.indexOf("left")!==-1,j=N.textposition.indexOf("right")!==-1,$=N.textposition.indexOf("bottom")!==-1,U=!$&&!N.marker.pad.t||$&&!N.marker.pad.b,G=v(m,[S,_],{packing:N.tiling.packing,squarifyratio:N.tiling.squarifyratio,flipX:N.tiling.flip.indexOf("x")>-1,flipY:N.tiling.flip.indexOf("y")>-1,pad:{inner:N.tiling.pad,top:N.marker.pad.t,left:N.marker.pad.l,right:N.marker.pad.r,bottom:N.marker.pad.b}}).descendants(),q=1/0,H=-1/0;G.forEach(function(Q){var re=Q.depth;re>=N._maxDepth?(Q.x0=Q.x1=(Q.x0+Q.x1)/2,Q.y0=Q.y1=(Q.y0+Q.y1)/2):(q=Math.min(q,re),H=Math.max(H,re))}),w=w.data(G,a.getPtId),N._maxVisibleLayers=isFinite(H)?H-q+1:0,w.enter().append("g").classed("slice",!0),R(w,s,{},[S,_],x),w.order();var ne=null;if(b&&z){var te=a.getPtId(z);w.each(function(Q){ne===null&&a.getPtId(Q)===te&&(ne={x0:Q.x0,x1:Q.x1,y0:Q.y0,y1:Q.y1})})}var Z=function(){return ne||{x0:0,x1:S,y0:0,y1:_}},X=w;return b&&(X=X.transition().each("end",function(){var Q=d.select(this);a.setSliceCursor(Q,c,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})})),X.each(function(Q){var re=a.isHeader(Q,N);Q._x0=k(Q.x0),Q._x1=k(Q.x1),Q._y0=E(Q.y0),Q._y1=E(Q.y1),Q._hoverX=k(Q.x1-N.marker.pad.r),Q._hoverY=E($?Q.y1-N.marker.pad.b/2:Q.y0+N.marker.pad.t/2);var ie=d.select(this),oe=g.ensureSingle(ie,"path","surface",function(de){de.style("pointer-events",F?"none":"all")});b?oe.transition().attrTween("d",function(de){var me=I(de,s,Z(),[S,_]);return function(pe){return x(me(pe))}}):oe.attr("d",x),ie.call(u,m,c,h,{styleOne:f,eventDataKeys:l.eventDataKeys,transitionTime:l.CLICK_TRANSITION_TIME,transitionEasing:l.CLICK_TRANSITION_EASING}).call(a.setSliceCursor,c,{isTransitioning:c._transitioning}),oe.call(f,Q,N,{hovered:!1}),Q.x0===Q.x1||Q.y0===Q.y1?Q._text="":Q._text=re?U?"":a.getPtLabel(Q)||"":o(Q,m,N,h,B)||"";var ue=g.ensureSingle(ie,"g","slicetext"),ce=g.ensureSingle(ue,"text","",function(de){de.attr("data-notex",1)}),ye=g.ensureUniformFontSize(c,a.determineTextFont(N,Q,B.font));ce.text(Q._text||" ").classed("slicetext",!0).attr("text-anchor",j?"end":W||re?"start":"middle").call(i.font,ye).call(M.convertToTspans,c),Q.textBB=i.bBox(ce.node()),Q.transform=A(Q,{fontSize:ye.size,isHeader:re}),Q.transform.fontSize=ye.size,b?ce.transition().attrTween("transform",function(de){var me=O(de,s,Z(),[S,_]);return function(pe){return L(me(pe))}}):ce.attr("transform",L(Q))}),ne}},14102:function(T){T.exports=function p(t,d,g){var i;g.swapXY&&(i=t.x0,t.x0=t.y0,t.y0=i,i=t.x1,t.x1=t.y1,t.y1=i),g.flipX&&(i=t.x0,t.x0=d[0]-t.x1,t.x1=d[0]-i),g.flipY&&(i=t.y0,t.y0=d[1]-t.y1,t.y1=d[1]-i);var M=t.children;if(M)for(var v=0;v-1?N+$:-(j+$):0,G={x0:W,x1:W,y0:U,y1:U+j},q=function(ge,we,Ee){var Ve=_.tiling.pad,$e=function(ht){return ht-Ve<=we.x0},Ye=function(ht){return ht+Ve>=we.x1},st=function(ht){return ht-Ve<=we.y0},ot=function(ht){return ht+Ve>=we.y1};return ge.x0===we.x0&&ge.x1===we.x1&&ge.y0===we.y0&&ge.y1===we.y1?{x0:ge.x0,x1:ge.x1,y0:ge.y0,y1:ge.y1}:{x0:$e(ge.x0-Ve)?0:Ye(ge.x0-Ve)?Ee[0]:ge.x0,x1:$e(ge.x1+Ve)?0:Ye(ge.x1+Ve)?Ee[0]:ge.x1,y0:st(ge.y0-Ve)?0:ot(ge.y0-Ve)?Ee[1]:ge.y0,y1:st(ge.y1+Ve)?0:ot(ge.y1+Ve)?Ee[1]:ge.y1}},H=null,ne={},te={},Z=null,X=function(ge,we){return we?ne[o(ge)]:te[o(ge)]};S.hasMultipleRoots&&R&&O++,_._maxDepth=O,_._backgroundColor=y.paper_bgcolor,_._entryDepth=x.data.depth,_._atRootLevel=R;var Q=-B/2+z.l+z.w*(F.x[1]+F.x[0])/2,re=-N/2+z.t+z.h*(1-(F.y[1]+F.y[0])/2),ie=function(ge){return Q+ge},oe=function(ge){return re+ge},ue=oe(0),ce=ie(0),ye=function(ge){return ce+ge},de=function(ge){return ue+ge};function me(ge,we){return ge+","+we}var pe=ye(0),xe=function(ge){ge.x=Math.max(pe,ge.x)},Pe=_.pathbar.edgeshape,_e=_[k?"tiling":"marker"].pad,Me=function(ge){return _.textposition.indexOf(ge)!==-1},Se=Me("top"),Ce=Me("left"),ae=Me("right"),fe=Me("bottom"),be=function(ge,we){var Ee=ge.x0,Ve=ge.x1,$e=ge.y0,Ye=ge.y1,st=ge.textBB,ot=Se||we.isHeader&&!fe?"start":fe?"end":"middle",ht=Me("right"),bt=Me("left")||we.onPathbar?-1:ht?1:0;if(we.isHeader){if((Ee+=(k?_e:_e.l)-v)>=(Ve-=(k?_e:_e.r)-v)){var Et=(Ee+Ve)/2;Ee=Et,Ve=Et}var kt;fe?$e<(kt=Ye-(k?_e:_e.b))&&kt"?(ht.x-=Ye,bt.x-=Ye,Et.x-=Ye,kt.x-=Ye):Pe==="/"?(Et.x-=Ye,kt.x-=Ye,st.x-=Ye/2,ot.x-=Ye/2):Pe==="\\"?(ht.x-=Ye,bt.x-=Ye,st.x-=Ye/2,ot.x-=Ye/2):Pe==="<"&&(st.x-=Ye,ot.x-=Ye),xe(ht),xe(kt),xe(st),xe(bt),xe(Et),xe(ot),"M"+me(ht.x,ht.y)+"L"+me(bt.x,bt.y)+"L"+me(ot.x,ot.y)+"L"+me(Et.x,Et.y)+"L"+me(kt.x,kt.y)+"L"+me(st.x,st.y)+"Z"},toMoveInsideSlice:be,makeUpdateSliceInterpolator:Le,makeUpdateTextInterpolator:Be,handleSlicesExit:ze,hasTransition:I,strTransform:je}):L.remove()}},96362:function(T,p,t){var d=t(39898),g=t(7901),i=t(71828),M=t(2791),v=t(72597).resizeText;function f(l,a,u,o){var s,c,h=(o||{}).hovered,m=a.data.data,w=m.i,y=m.color,S=M.isHierarchyRoot(a),_=1;if(h)s=u._hovered.marker.line.color,c=u._hovered.marker.line.width;else if(S&&y===u.root.color)_=100,s="rgba(0,0,0,0)",c=0;else if(s=i.castOption(u,w,"marker.line.color")||g.defaultLine,c=i.castOption(u,w,"marker.line.width")||0,!u._hasColorscale&&!a.onPathbar){var k=u.marker.depthfade;if(k){var E,x=g.combine(g.addOpacity(u._backgroundColor,.75),y);if(k===!0){var A=M.getMaxDepth(u);E=isFinite(A)?M.isLeaf(a)?0:u._maxVisibleLayers-(a.data.depth-u._entryDepth):a.data.height+1}else E=a.data.depth-u._entryDepth,u._atRootLevel||E++;if(E>0)for(var L=0;L0){var x,A,L,b,R,I=f.xa,O=f.ya;w.orientation==="h"?(R=l,x="y",L=O,A="x",b=I):(R=a,x="x",L=I,A="y",b=O);var z=m[f.index];if(R>=z.span[0]&&R<=z.span[1]){var F=g.extendFlat({},f),B=b.c2p(R,!0),N=v.getKdeValue(z,w,R),W=v.getPositionOnKdePath(z,w,B),j=L._offset,$=L._length;F[x+"0"]=W[0],F[x+"1"]=W[1],F[A+"0"]=F[A+"1"]=B,F[A+"Label"]=A+": "+i.hoverLabelText(b,R,w[A+"hoverformat"])+", "+m[0].t.labels.kde+" "+N.toFixed(3);for(var U=0,G=0;G")),c.color=function(O,z){var F=O[z.dir].marker,B=F.color,N=F.line.color,W=F.line.width;return g(B)?B:g(N)&&W?N:void 0}(m,_),[c]}function I(O){return d(S,O,m[y+"hoverformat"])}}},19990:function(T,p,t){T.exports={attributes:t(43037),layoutAttributes:t(13494),supplyDefaults:t(83266).supplyDefaults,crossTraceDefaults:t(83266).crossTraceDefaults,supplyLayoutDefaults:t(5176),calc:t(52752),crossTraceCalc:t(70766),plot:t(30436),style:t(55750).style,hoverPoints:t(61326),eventData:t(58593),selectPoints:t(81974),moduleType:"trace",name:"waterfall",basePlotModule:t(93612),categories:["bar-like","cartesian","svg","oriented","showLegend","zoomScale"],meta:{}}},13494:function(T){T.exports={waterfallmode:{valType:"enumerated",values:["group","overlay"],dflt:"group",editType:"calc"},waterfallgap:{valType:"number",min:0,max:1,editType:"calc"},waterfallgroupgap:{valType:"number",min:0,max:1,dflt:0,editType:"calc"}}},5176:function(T,p,t){var d=t(71828),g=t(13494);T.exports=function(i,M,v){var f=!1;function l(o,s){return d.coerce(i,M,g,o,s)}for(var a=0;a0&&(N+=A?"M"+F[0]+","+B[1]+"V"+B[0]:"M"+F[1]+","+B[0]+"H"+F[0]),L!=="between"&&(I.isSum||O path").each(function(w){if(!w.isBlank){var y=m[w.dir].marker;d.select(this).call(i.fill,y.color).call(i.stroke,y.line.color).call(g.dashLine,y.line.dash,y.line.width).style("opacity",m.selectedpoints&&!w.selected?M:1)}}),l(h,m,a),h.selectAll(".lines").each(function(){var w=m.connector.line;g.lineGroupStyle(d.select(this).selectAll("path"),w.width,w.color,w.dash)})})}}},82887:function(T,p,t){var d=t(89298),g=t(71828),i=t(86281),M=t(79344).p,v=t(50606).BADNUM;p.moduleType="transform",p.name="aggregate";var f=p.attributes={enabled:{valType:"boolean",dflt:!0,editType:"calc"},groups:{valType:"string",strict:!0,noBlank:!0,arrayOk:!0,dflt:"x",editType:"calc"},aggregations:{_isLinkedToArray:"aggregation",target:{valType:"string",editType:"calc"},func:{valType:"enumerated",values:["count","sum","avg","median","mode","rms","stddev","min","max","first","last","change","range"],dflt:"first",editType:"calc"},funcmode:{valType:"enumerated",values:["sample","population"],dflt:"sample",editType:"calc"},enabled:{valType:"boolean",dflt:!0,editType:"calc"},editType:"calc"},editType:"calc"},l=f.aggregations;function a(c,h,m,w){if(w.enabled){for(var y=w.target,S=g.nestedProperty(h,y),_=S.get(),k=function(A,L){var b=A.func,R=L.d2c,I=L.c2d;switch(b){case"count":return u;case"first":return o;case"last":return s;case"sum":return function(O,z){for(var F=0,B=0;BB&&(B=$,N=j)}}return B?I(N):v};case"rms":return function(O,z){for(var F=0,B=0,N=0;N":return function(H){return q(H)>U};case">=":return function(H){return q(H)>=U};case"[]":return function(H){var ne=q(H);return ne>=U[0]&&ne<=U[1]};case"()":return function(H){var ne=q(H);return ne>U[0]&&ne=U[0]&&neU[0]&&ne<=U[1]};case"][":return function(H){var ne=q(H);return ne<=U[0]||ne>=U[1]};case")(":return function(H){var ne=q(H);return neU[1]};case"](":return function(H){var ne=q(H);return ne<=U[0]||ne>U[1]};case")[":return function(H){var ne=q(H);return ne=U[1]};case"{}":return function(H){return U.indexOf(q(H))!==-1};case"}{":return function(H){return U.indexOf(q(H))===-1}}}(s,i.getDataToCoordFunc(u,o,h,c),w),A={},L={},b=0;S?(k=function(z){A[z.astr]=d.extendDeep([],z.get()),z.set(new Array(m))},E=function(z,F){var B=A[z.astr][F];z.get()[F]=B}):(k=function(z){A[z.astr]=d.extendDeep([],z.get()),z.set([])},E=function(z,F){var B=A[z.astr][F];z.get().push(B)}),O(k);for(var R=M(o.transforms,s),I=0;I1?"%{group} (%{trace})":"%{group}");var c=f.styles,h=o.styles=[];if(c)for(u=0;uk)throw new RangeError('The value "'+ge+'" is invalid for option "size"');var we=new Uint8Array(ge);return Object.setPrototypeOf(we,x.prototype),we}function x(ge,we,Ee){if(typeof ge=="number"){if(typeof we=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return b(ge)}return A(ge,we,Ee)}function A(ge,we,Ee){if(typeof ge=="string")return function(Ye,st){if(typeof st=="string"&&st!==""||(st="utf8"),!x.isEncoding(st))throw new TypeError("Unknown encoding: "+st);var ot=0|z(Ye,st),ht=E(ot),bt=ht.write(Ye,st);return bt!==ot&&(ht=ht.slice(0,bt)),ht}(ge,we);if(ArrayBuffer.isView(ge))return function(Ye){if(ke(Ye,Uint8Array)){var st=new Uint8Array(Ye);return I(st.buffer,st.byteOffset,st.byteLength)}return R(Ye)}(ge);if(ge==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+w(ge));if(ke(ge,ArrayBuffer)||ge&&ke(ge.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(ke(ge,SharedArrayBuffer)||ge&&ke(ge.buffer,SharedArrayBuffer)))return I(ge,we,Ee);if(typeof ge=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var Ve=ge.valueOf&&ge.valueOf();if(Ve!=null&&Ve!==ge)return x.from(Ve,we,Ee);var $e=function(Ye){if(x.isBuffer(Ye)){var st=0|O(Ye.length),ot=E(st);return ot.length===0||Ye.copy(ot,0,0,st),ot}return Ye.length!==void 0?typeof Ye.length!="number"||Le(Ye.length)?E(0):R(Ye):Ye.type==="Buffer"&&Array.isArray(Ye.data)?R(Ye.data):void 0}(ge);if($e)return $e;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof ge[Symbol.toPrimitive]=="function")return x.from(ge[Symbol.toPrimitive]("string"),we,Ee);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+w(ge))}function L(ge){if(typeof ge!="number")throw new TypeError('"size" argument must be of type number');if(ge<0)throw new RangeError('The value "'+ge+'" is invalid for option "size"')}function b(ge){return L(ge),E(ge<0?0:0|O(ge))}function R(ge){for(var we=ge.length<0?0:0|O(ge.length),Ee=E(we),Ve=0;Ve=k)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+k.toString(16)+" bytes");return 0|ge}function z(ge,we){if(x.isBuffer(ge))return ge.length;if(ArrayBuffer.isView(ge)||ke(ge,ArrayBuffer))return ge.byteLength;if(typeof ge!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+w(ge));var Ee=ge.length,Ve=arguments.length>2&&arguments[2]===!0;if(!Ve&&Ee===0)return 0;for(var $e=!1;;)switch(we){case"ascii":case"latin1":case"binary":return Ee;case"utf8":case"utf-8":return ae(ge).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*Ee;case"hex":return Ee>>>1;case"base64":return fe(ge).length;default:if($e)return Ve?-1:ae(ge).length;we=(""+we).toLowerCase(),$e=!0}}function F(ge,we,Ee){var Ve=!1;if((we===void 0||we<0)&&(we=0),we>this.length||((Ee===void 0||Ee>this.length)&&(Ee=this.length),Ee<=0)||(Ee>>>=0)<=(we>>>=0))return"";for(ge||(ge="utf8");;)switch(ge){case"hex":return Q(this,we,Ee);case"utf8":case"utf-8":return ne(this,we,Ee);case"ascii":return Z(this,we,Ee);case"latin1":case"binary":return X(this,we,Ee);case"base64":return H(this,we,Ee);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return re(this,we,Ee);default:if(Ve)throw new TypeError("Unknown encoding: "+ge);ge=(ge+"").toLowerCase(),Ve=!0}}function B(ge,we,Ee){var Ve=ge[we];ge[we]=ge[Ee],ge[Ee]=Ve}function N(ge,we,Ee,Ve,$e){if(ge.length===0)return-1;if(typeof Ee=="string"?(Ve=Ee,Ee=0):Ee>2147483647?Ee=2147483647:Ee<-2147483648&&(Ee=-2147483648),Le(Ee=+Ee)&&(Ee=$e?0:ge.length-1),Ee<0&&(Ee=ge.length+Ee),Ee>=ge.length){if($e)return-1;Ee=ge.length-1}else if(Ee<0){if(!$e)return-1;Ee=0}if(typeof we=="string"&&(we=x.from(we,Ve)),x.isBuffer(we))return we.length===0?-1:W(ge,we,Ee,Ve,$e);if(typeof we=="number")return we&=255,typeof Uint8Array.prototype.indexOf=="function"?$e?Uint8Array.prototype.indexOf.call(ge,we,Ee):Uint8Array.prototype.lastIndexOf.call(ge,we,Ee):W(ge,[we],Ee,Ve,$e);throw new TypeError("val must be string, number or Buffer")}function W(ge,we,Ee,Ve,$e){var Ye,st=1,ot=ge.length,ht=we.length;if(Ve!==void 0&&((Ve=String(Ve).toLowerCase())==="ucs2"||Ve==="ucs-2"||Ve==="utf16le"||Ve==="utf-16le")){if(ge.length<2||we.length<2)return-1;st=2,ot/=2,ht/=2,Ee/=2}function bt(Ft,Ot){return st===1?Ft[Ot]:Ft.readUInt16BE(Ot*st)}if($e){var Et=-1;for(Ye=Ee;Yeot&&(Ee=ot-ht),Ye=Ee;Ye>=0;Ye--){for(var kt=!0,xt=0;xt$e&&(Ve=$e):Ve=$e;var Ye,st=we.length;for(Ve>st/2&&(Ve=st/2),Ye=0;Ye>8,ht=st%256,bt.push(ht),bt.push(ot);return bt}(we,ge.length-Ee),ge,Ee,Ve)}function H(ge,we,Ee){return we===0&&Ee===ge.length?y.fromByteArray(ge):y.fromByteArray(ge.slice(we,Ee))}function ne(ge,we,Ee){Ee=Math.min(ge.length,Ee);for(var Ve=[],$e=we;$e239?4:Ye>223?3:Ye>191?2:1;if($e+ot<=Ee){var ht=void 0,bt=void 0,Et=void 0,kt=void 0;switch(ot){case 1:Ye<128&&(st=Ye);break;case 2:(192&(ht=ge[$e+1]))==128&&(kt=(31&Ye)<<6|63&ht)>127&&(st=kt);break;case 3:ht=ge[$e+1],bt=ge[$e+2],(192&ht)==128&&(192&bt)==128&&(kt=(15&Ye)<<12|(63&ht)<<6|63&bt)>2047&&(kt<55296||kt>57343)&&(st=kt);break;case 4:ht=ge[$e+1],bt=ge[$e+2],Et=ge[$e+3],(192&ht)==128&&(192&bt)==128&&(192&Et)==128&&(kt=(15&Ye)<<18|(63&ht)<<12|(63&bt)<<6|63&Et)>65535&&kt<1114112&&(st=kt)}}st===null?(st=65533,ot=1):st>65535&&(st-=65536,Ve.push(st>>>10&1023|55296),st=56320|1023&st),Ve.push(st),$e+=ot}return function(xt){var Ft=xt.length;if(Ft<=te)return String.fromCharCode.apply(String,xt);for(var Ot="",Bt=0;Bt"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(x.prototype,"parent",{enumerable:!0,get:function(){if(x.isBuffer(this))return this.buffer}}),Object.defineProperty(x.prototype,"offset",{enumerable:!0,get:function(){if(x.isBuffer(this))return this.byteOffset}}),x.poolSize=8192,x.from=function(ge,we,Ee){return A(ge,we,Ee)},Object.setPrototypeOf(x.prototype,Uint8Array.prototype),Object.setPrototypeOf(x,Uint8Array),x.alloc=function(ge,we,Ee){return function(Ve,$e,Ye){return L(Ve),Ve<=0?E(Ve):$e!==void 0?typeof Ye=="string"?E(Ve).fill($e,Ye):E(Ve).fill($e):E(Ve)}(ge,we,Ee)},x.allocUnsafe=function(ge){return b(ge)},x.allocUnsafeSlow=function(ge){return b(ge)},x.isBuffer=function(ge){return ge!=null&&ge._isBuffer===!0&&ge!==x.prototype},x.compare=function(ge,we){if(ke(ge,Uint8Array)&&(ge=x.from(ge,ge.offset,ge.byteLength)),ke(we,Uint8Array)&&(we=x.from(we,we.offset,we.byteLength)),!x.isBuffer(ge)||!x.isBuffer(we))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ge===we)return 0;for(var Ee=ge.length,Ve=we.length,$e=0,Ye=Math.min(Ee,Ve);$eVe.length?(x.isBuffer(Ye)||(Ye=x.from(Ye)),Ye.copy(Ve,$e)):Uint8Array.prototype.set.call(Ve,Ye,$e);else{if(!x.isBuffer(Ye))throw new TypeError('"list" argument must be an Array of Buffers');Ye.copy(Ve,$e)}$e+=Ye.length}return Ve},x.byteLength=z,x.prototype._isBuffer=!0,x.prototype.swap16=function(){var ge=this.length;if(ge%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var we=0;wewe&&(ge+=" ... "),""},_&&(x.prototype[_]=x.prototype.inspect),x.prototype.compare=function(ge,we,Ee,Ve,$e){if(ke(ge,Uint8Array)&&(ge=x.from(ge,ge.offset,ge.byteLength)),!x.isBuffer(ge))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+w(ge));if(we===void 0&&(we=0),Ee===void 0&&(Ee=ge?ge.length:0),Ve===void 0&&(Ve=0),$e===void 0&&($e=this.length),we<0||Ee>ge.length||Ve<0||$e>this.length)throw new RangeError("out of range index");if(Ve>=$e&&we>=Ee)return 0;if(Ve>=$e)return-1;if(we>=Ee)return 1;if(this===ge)return 0;for(var Ye=($e>>>=0)-(Ve>>>=0),st=(Ee>>>=0)-(we>>>=0),ot=Math.min(Ye,st),ht=this.slice(Ve,$e),bt=ge.slice(we,Ee),Et=0;Et>>=0,isFinite(Ee)?(Ee>>>=0,Ve===void 0&&(Ve="utf8")):(Ve=Ee,Ee=void 0)}var $e=this.length-we;if((Ee===void 0||Ee>$e)&&(Ee=$e),ge.length>0&&(Ee<0||we<0)||we>this.length)throw new RangeError("Attempt to write outside buffer bounds");Ve||(Ve="utf8");for(var Ye=!1;;)switch(Ve){case"hex":return j(this,ge,we,Ee);case"utf8":case"utf-8":return $(this,ge,we,Ee);case"ascii":case"latin1":case"binary":return U(this,ge,we,Ee);case"base64":return G(this,ge,we,Ee);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return q(this,ge,we,Ee);default:if(Ye)throw new TypeError("Unknown encoding: "+Ve);Ve=(""+Ve).toLowerCase(),Ye=!0}},x.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var te=4096;function Z(ge,we,Ee){var Ve="";Ee=Math.min(ge.length,Ee);for(var $e=we;$eVe)&&(Ee=Ve);for(var $e="",Ye=we;YeEe)throw new RangeError("Trying to access beyond buffer length")}function oe(ge,we,Ee,Ve,$e,Ye){if(!x.isBuffer(ge))throw new TypeError('"buffer" argument must be a Buffer instance');if(we>$e||wege.length)throw new RangeError("Index out of range")}function ue(ge,we,Ee,Ve,$e){_e(we,Ve,$e,ge,Ee,7);var Ye=Number(we&BigInt(4294967295));ge[Ee++]=Ye,Ye>>=8,ge[Ee++]=Ye,Ye>>=8,ge[Ee++]=Ye,Ye>>=8,ge[Ee++]=Ye;var st=Number(we>>BigInt(32)&BigInt(4294967295));return ge[Ee++]=st,st>>=8,ge[Ee++]=st,st>>=8,ge[Ee++]=st,st>>=8,ge[Ee++]=st,Ee}function ce(ge,we,Ee,Ve,$e){_e(we,Ve,$e,ge,Ee,7);var Ye=Number(we&BigInt(4294967295));ge[Ee+7]=Ye,Ye>>=8,ge[Ee+6]=Ye,Ye>>=8,ge[Ee+5]=Ye,Ye>>=8,ge[Ee+4]=Ye;var st=Number(we>>BigInt(32)&BigInt(4294967295));return ge[Ee+3]=st,st>>=8,ge[Ee+2]=st,st>>=8,ge[Ee+1]=st,st>>=8,ge[Ee]=st,Ee+8}function ye(ge,we,Ee,Ve,$e,Ye){if(Ee+Ve>ge.length)throw new RangeError("Index out of range");if(Ee<0)throw new RangeError("Index out of range")}function de(ge,we,Ee,Ve,$e){return we=+we,Ee>>>=0,$e||ye(ge,0,Ee,4),S.write(ge,we,Ee,Ve,23,4),Ee+4}function me(ge,we,Ee,Ve,$e){return we=+we,Ee>>>=0,$e||ye(ge,0,Ee,8),S.write(ge,we,Ee,Ve,52,8),Ee+8}x.prototype.slice=function(ge,we){var Ee=this.length;(ge=~~ge)<0?(ge+=Ee)<0&&(ge=0):ge>Ee&&(ge=Ee),(we=we===void 0?Ee:~~we)<0?(we+=Ee)<0&&(we=0):we>Ee&&(we=Ee),we>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=this[ge],$e=1,Ye=0;++Ye>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=this[ge+--we],$e=1;we>0&&($e*=256);)Ve+=this[ge+--we]*$e;return Ve},x.prototype.readUint8=x.prototype.readUInt8=function(ge,we){return ge>>>=0,we||ie(ge,1,this.length),this[ge]},x.prototype.readUint16LE=x.prototype.readUInt16LE=function(ge,we){return ge>>>=0,we||ie(ge,2,this.length),this[ge]|this[ge+1]<<8},x.prototype.readUint16BE=x.prototype.readUInt16BE=function(ge,we){return ge>>>=0,we||ie(ge,2,this.length),this[ge]<<8|this[ge+1]},x.prototype.readUint32LE=x.prototype.readUInt32LE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),(this[ge]|this[ge+1]<<8|this[ge+2]<<16)+16777216*this[ge+3]},x.prototype.readUint32BE=x.prototype.readUInt32BE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),16777216*this[ge]+(this[ge+1]<<16|this[ge+2]<<8|this[ge+3])},x.prototype.readBigUInt64LE=ze(function(ge){Me(ge>>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=we+this[++ge]*Math.pow(2,8)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,24),$e=this[++ge]+this[++ge]*Math.pow(2,8)+this[++ge]*Math.pow(2,16)+Ee*Math.pow(2,24);return BigInt(Ve)+(BigInt($e)<>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=we*Math.pow(2,24)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,8)+this[++ge],$e=this[++ge]*Math.pow(2,24)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,8)+Ee;return(BigInt(Ve)<>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=this[ge],$e=1,Ye=0;++Ye=($e*=128)&&(Ve-=Math.pow(2,8*we)),Ve},x.prototype.readIntBE=function(ge,we,Ee){ge>>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=we,$e=1,Ye=this[ge+--Ve];Ve>0&&($e*=256);)Ye+=this[ge+--Ve]*$e;return Ye>=($e*=128)&&(Ye-=Math.pow(2,8*we)),Ye},x.prototype.readInt8=function(ge,we){return ge>>>=0,we||ie(ge,1,this.length),128&this[ge]?-1*(255-this[ge]+1):this[ge]},x.prototype.readInt16LE=function(ge,we){ge>>>=0,we||ie(ge,2,this.length);var Ee=this[ge]|this[ge+1]<<8;return 32768&Ee?4294901760|Ee:Ee},x.prototype.readInt16BE=function(ge,we){ge>>>=0,we||ie(ge,2,this.length);var Ee=this[ge+1]|this[ge]<<8;return 32768&Ee?4294901760|Ee:Ee},x.prototype.readInt32LE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),this[ge]|this[ge+1]<<8|this[ge+2]<<16|this[ge+3]<<24},x.prototype.readInt32BE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),this[ge]<<24|this[ge+1]<<16|this[ge+2]<<8|this[ge+3]},x.prototype.readBigInt64LE=ze(function(ge){Me(ge>>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=this[ge+4]+this[ge+5]*Math.pow(2,8)+this[ge+6]*Math.pow(2,16)+(Ee<<24);return(BigInt(Ve)<>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=(we<<24)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,8)+this[++ge];return(BigInt(Ve)<>>=0,we||ie(ge,4,this.length),S.read(this,ge,!0,23,4)},x.prototype.readFloatBE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),S.read(this,ge,!1,23,4)},x.prototype.readDoubleLE=function(ge,we){return ge>>>=0,we||ie(ge,8,this.length),S.read(this,ge,!0,52,8)},x.prototype.readDoubleBE=function(ge,we){return ge>>>=0,we||ie(ge,8,this.length),S.read(this,ge,!1,52,8)},x.prototype.writeUintLE=x.prototype.writeUIntLE=function(ge,we,Ee,Ve){ge=+ge,we>>>=0,Ee>>>=0,Ve||oe(this,ge,we,Ee,Math.pow(2,8*Ee)-1,0);var $e=1,Ye=0;for(this[we]=255≥++Ye>>=0,Ee>>>=0,Ve||oe(this,ge,we,Ee,Math.pow(2,8*Ee)-1,0);var $e=Ee-1,Ye=1;for(this[we+$e]=255≥--$e>=0&&(Ye*=256);)this[we+$e]=ge/Ye&255;return we+Ee},x.prototype.writeUint8=x.prototype.writeUInt8=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,1,255,0),this[we]=255&ge,we+1},x.prototype.writeUint16LE=x.prototype.writeUInt16LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,65535,0),this[we]=255&ge,this[we+1]=ge>>>8,we+2},x.prototype.writeUint16BE=x.prototype.writeUInt16BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,65535,0),this[we]=ge>>>8,this[we+1]=255&ge,we+2},x.prototype.writeUint32LE=x.prototype.writeUInt32LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,4294967295,0),this[we+3]=ge>>>24,this[we+2]=ge>>>16,this[we+1]=ge>>>8,this[we]=255&ge,we+4},x.prototype.writeUint32BE=x.prototype.writeUInt32BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,4294967295,0),this[we]=ge>>>24,this[we+1]=ge>>>16,this[we+2]=ge>>>8,this[we+3]=255&ge,we+4},x.prototype.writeBigUInt64LE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ue(this,ge,we,BigInt(0),BigInt("0xffffffffffffffff"))}),x.prototype.writeBigUInt64BE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ce(this,ge,we,BigInt(0),BigInt("0xffffffffffffffff"))}),x.prototype.writeIntLE=function(ge,we,Ee,Ve){if(ge=+ge,we>>>=0,!Ve){var $e=Math.pow(2,8*Ee-1);oe(this,ge,we,Ee,$e-1,-$e)}var Ye=0,st=1,ot=0;for(this[we]=255≥++Ye>0)-ot&255;return we+Ee},x.prototype.writeIntBE=function(ge,we,Ee,Ve){if(ge=+ge,we>>>=0,!Ve){var $e=Math.pow(2,8*Ee-1);oe(this,ge,we,Ee,$e-1,-$e)}var Ye=Ee-1,st=1,ot=0;for(this[we+Ye]=255≥--Ye>=0&&(st*=256);)ge<0&&ot===0&&this[we+Ye+1]!==0&&(ot=1),this[we+Ye]=(ge/st>>0)-ot&255;return we+Ee},x.prototype.writeInt8=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,1,127,-128),ge<0&&(ge=255+ge+1),this[we]=255&ge,we+1},x.prototype.writeInt16LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,32767,-32768),this[we]=255&ge,this[we+1]=ge>>>8,we+2},x.prototype.writeInt16BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,32767,-32768),this[we]=ge>>>8,this[we+1]=255&ge,we+2},x.prototype.writeInt32LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,2147483647,-2147483648),this[we]=255&ge,this[we+1]=ge>>>8,this[we+2]=ge>>>16,this[we+3]=ge>>>24,we+4},x.prototype.writeInt32BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,2147483647,-2147483648),ge<0&&(ge=4294967295+ge+1),this[we]=ge>>>24,this[we+1]=ge>>>16,this[we+2]=ge>>>8,this[we+3]=255&ge,we+4},x.prototype.writeBigInt64LE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ue(this,ge,we,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),x.prototype.writeBigInt64BE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ce(this,ge,we,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),x.prototype.writeFloatLE=function(ge,we,Ee){return de(this,ge,we,!0,Ee)},x.prototype.writeFloatBE=function(ge,we,Ee){return de(this,ge,we,!1,Ee)},x.prototype.writeDoubleLE=function(ge,we,Ee){return me(this,ge,we,!0,Ee)},x.prototype.writeDoubleBE=function(ge,we,Ee){return me(this,ge,we,!1,Ee)},x.prototype.copy=function(ge,we,Ee,Ve){if(!x.isBuffer(ge))throw new TypeError("argument should be a Buffer");if(Ee||(Ee=0),Ve||Ve===0||(Ve=this.length),we>=ge.length&&(we=ge.length),we||(we=0),Ve>0&&Ve=this.length)throw new RangeError("Index out of range");if(Ve<0)throw new RangeError("sourceEnd out of bounds");Ve>this.length&&(Ve=this.length),ge.length-we>>=0,Ee=Ee===void 0?this.length:Ee>>>0,ge||(ge=0),typeof ge=="number")for(Ye=we;Ye"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var Et,kt=m(st);if(ot){var xt=m(this).constructor;Et=Reflect.construct(kt,arguments,xt)}else Et=kt.apply(this,arguments);return c(this,Et)});function bt(){var Et;return u(this,bt),Et=ht.call(this),Object.defineProperty(h(Et),"message",{value:we.apply(h(Et),arguments),writable:!0,configurable:!0}),Et.name="".concat(Et.name," [").concat(ge,"]"),Et.stack,delete Et.name,Et}return $e=bt,(Ye=[{key:"code",get:function(){return ge},set:function(Et){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:Et,writable:!0})}},{key:"toString",value:function(){return"".concat(this.name," [").concat(ge,"]: ").concat(this.message)}}])&&o($e.prototype,Ye),Object.defineProperty($e,"prototype",{writable:!1}),bt}(Ee)}function Pe(ge){for(var we="",Ee=ge.length,Ve=ge[0]==="-"?1:0;Ee>=Ve+4;Ee-=3)we="_".concat(ge.slice(Ee-3,Ee)).concat(we);return"".concat(ge.slice(0,Ee)).concat(we)}function _e(ge,we,Ee,Ve,$e,Ye){if(ge>Ee||ge3?we===0||we===BigInt(0)?">= 0".concat(ot," and < 2").concat(ot," ** ").concat(8*(Ye+1)).concat(ot):">= -(2".concat(ot," ** ").concat(8*(Ye+1)-1).concat(ot,") and < 2 ** ")+"".concat(8*(Ye+1)-1).concat(ot):">= ".concat(we).concat(ot," and <= ").concat(Ee).concat(ot),new pe.ERR_OUT_OF_RANGE("value",st,ge)}(function(ht,bt,Et){Me(bt,"offset"),ht[bt]!==void 0&&ht[bt+Et]!==void 0||Se(bt,ht.length-(Et+1))})(Ve,$e,Ye)}function Me(ge,we){if(typeof ge!="number")throw new pe.ERR_INVALID_ARG_TYPE(we,"number",ge)}function Se(ge,we,Ee){throw Math.floor(ge)!==ge?(Me(ge,Ee),new pe.ERR_OUT_OF_RANGE(Ee||"offset","an integer",ge)):we<0?new pe.ERR_BUFFER_OUT_OF_BOUNDS:new pe.ERR_OUT_OF_RANGE(Ee||"offset",">= ".concat(Ee?1:0," and <= ").concat(we),ge)}xe("ERR_BUFFER_OUT_OF_BOUNDS",function(ge){return ge?"".concat(ge," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"},RangeError),xe("ERR_INVALID_ARG_TYPE",function(ge,we){return'The "'.concat(ge,'" argument must be of type number. Received type ').concat(w(we))},TypeError),xe("ERR_OUT_OF_RANGE",function(ge,we,Ee){var Ve='The value of "'.concat(ge,'" is out of range.'),$e=Ee;return Number.isInteger(Ee)&&Math.abs(Ee)>Math.pow(2,32)?$e=Pe(String(Ee)):typeof Ee=="bigint"&&($e=String(Ee),(Ee>Math.pow(BigInt(2),BigInt(32))||Ee<-Math.pow(BigInt(2),BigInt(32)))&&($e=Pe($e)),$e+="n"),Ve+" It must be ".concat(we,". Received ").concat($e)},RangeError);var Ce=/[^+/0-9A-Za-z-_]/g;function ae(ge,we){var Ee;we=we||1/0;for(var Ve=ge.length,$e=null,Ye=[],st=0;st55295&&Ee<57344){if(!$e){if(Ee>56319){(we-=3)>-1&&Ye.push(239,191,189);continue}if(st+1===Ve){(we-=3)>-1&&Ye.push(239,191,189);continue}$e=Ee;continue}if(Ee<56320){(we-=3)>-1&&Ye.push(239,191,189),$e=Ee;continue}Ee=65536+($e-55296<<10|Ee-56320)}else $e&&(we-=3)>-1&&Ye.push(239,191,189);if($e=null,Ee<128){if((we-=1)<0)break;Ye.push(Ee)}else if(Ee<2048){if((we-=2)<0)break;Ye.push(Ee>>6|192,63&Ee|128)}else if(Ee<65536){if((we-=3)<0)break;Ye.push(Ee>>12|224,Ee>>6&63|128,63&Ee|128)}else{if(!(Ee<1114112))throw new Error("Invalid code point");if((we-=4)<0)break;Ye.push(Ee>>18|240,Ee>>12&63|128,Ee>>6&63|128,63&Ee|128)}}return Ye}function fe(ge){return y.toByteArray(function(we){if((we=(we=we.split("=")[0]).trim().replace(Ce,"")).length<2)return"";for(;we.length%4!=0;)we+="=";return we}(ge))}function be(ge,we,Ee,Ve){var $e;for($e=0;$e=we.length||$e>=ge.length);++$e)we[$e+Ee]=ge[$e];return $e}function ke(ge,we){return ge instanceof we||ge!=null&&ge.constructor!=null&&ge.constructor.name!=null&&ge.constructor.name===we.name}function Le(ge){return ge!=ge}var Be=function(){for(var ge="0123456789abcdef",we=new Array(256),Ee=0;Ee<16;++Ee)for(var Ve=16*Ee,$e=0;$e<16;++$e)we[Ve+$e]=ge[Ee]+ge[$e];return we}();function ze(ge){return typeof BigInt>"u"?je:ge}function je(){throw new Error("BigInt not supported")}},2321:function(f){f.exports=o,f.exports.isMobile=o,f.exports.default=o;var l=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,a=/CrOS/,u=/android|ipad|playbook|silk/i;function o(s){s||(s={});var c=s.ua;if(c||typeof navigator>"u"||(c=navigator.userAgent),c&&c.headers&&typeof c.headers["user-agent"]=="string"&&(c=c.headers["user-agent"]),typeof c!="string")return!1;var h=l.test(c)&&!a.test(c)||!!s.tablet&&u.test(c);return!h&&s.tablet&&s.featureDetect&&navigator&&navigator.maxTouchPoints>1&&c.indexOf("Macintosh")!==-1&&c.indexOf("Safari")!==-1&&(h=!0),h}},3910:function(f,l){l.byteLength=function(y){var S=m(y),_=S[0],k=S[1];return 3*(_+k)/4-k},l.toByteArray=function(y){var S,_,k=m(y),E=k[0],x=k[1],A=new o(function(R,I,O){return 3*(I+O)/4-O}(0,E,x)),L=0,b=x>0?E-4:E;for(_=0;_>16&255,A[L++]=S>>8&255,A[L++]=255&S;return x===2&&(S=u[y.charCodeAt(_)]<<2|u[y.charCodeAt(_+1)]>>4,A[L++]=255&S),x===1&&(S=u[y.charCodeAt(_)]<<10|u[y.charCodeAt(_+1)]<<4|u[y.charCodeAt(_+2)]>>2,A[L++]=S>>8&255,A[L++]=255&S),A},l.fromByteArray=function(y){for(var S,_=y.length,k=_%3,E=[],x=16383,A=0,L=_-k;AL?L:A+x));return k===1?(S=y[_-1],E.push(a[S>>2]+a[S<<4&63]+"==")):k===2&&(S=(y[_-2]<<8)+y[_-1],E.push(a[S>>10]+a[S>>4&63]+a[S<<2&63]+"=")),E.join("")};for(var a=[],u=[],o=typeof Uint8Array<"u"?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=0,h=s.length;c0)throw new Error("Invalid string. Length must be a multiple of 4");var _=y.indexOf("=");return _===-1&&(_=S),[_,_===S?0:4-_%4]}function w(y,S,_){for(var k,E,x=[],A=S;A<_;A+=3)k=(y[A]<<16&16711680)+(y[A+1]<<8&65280)+(255&y[A+2]),x.push(a[(E=k)>>18&63]+a[E>>12&63]+a[E>>6&63]+a[63&E]);return x.join("")}u["-".charCodeAt(0)]=62,u["_".charCodeAt(0)]=63},3187:function(f,l){l.read=function(a,u,o,s,c){var h,m,w=8*c-s-1,y=(1<>1,_=-7,k=o?c-1:0,E=o?-1:1,x=a[u+k];for(k+=E,h=x&(1<<-_)-1,x>>=-_,_+=w;_>0;h=256*h+a[u+k],k+=E,_-=8);for(m=h&(1<<-_)-1,h>>=-_,_+=s;_>0;m=256*m+a[u+k],k+=E,_-=8);if(h===0)h=1-S;else{if(h===y)return m?NaN:1/0*(x?-1:1);m+=Math.pow(2,s),h-=S}return(x?-1:1)*m*Math.pow(2,h-s)},l.write=function(a,u,o,s,c,h){var m,w,y,S=8*h-c-1,_=(1<>1,E=c===23?Math.pow(2,-24)-Math.pow(2,-77):0,x=s?0:h-1,A=s?1:-1,L=u<0||u===0&&1/u<0?1:0;for(u=Math.abs(u),isNaN(u)||u===1/0?(w=isNaN(u)?1:0,m=_):(m=Math.floor(Math.log(u)/Math.LN2),u*(y=Math.pow(2,-m))<1&&(m--,y*=2),(u+=m+k>=1?E/y:E*Math.pow(2,1-k))*y>=2&&(m++,y/=2),m+k>=_?(w=0,m=_):m+k>=1?(w=(u*y-1)*Math.pow(2,c),m+=k):(w=u*Math.pow(2,k-1)*Math.pow(2,c),m=0));c>=8;a[o+x]=255&w,x+=A,w/=256,c-=8);for(m=m<0;a[o+x]=255&m,x+=A,m/=256,S-=8);a[o+x-A]|=128*L}},1152:function(f,l,a){f.exports=function(m){var w=(m=m||{}).eye||[0,0,1],y=m.center||[0,0,0],S=m.up||[0,1,0],_=m.distanceLimits||[0,1/0],k=m.mode||"turntable",E=u(),x=o(),A=s();return E.setDistanceLimits(_[0],_[1]),E.lookAt(0,w,y,S),x.setDistanceLimits(_[0],_[1]),x.lookAt(0,w,y,S),A.setDistanceLimits(_[0],_[1]),A.lookAt(0,w,y,S),new c({turntable:E,orbit:x,matrix:A},k)};var u=a(3440),o=a(7774),s=a(9298);function c(m,w){this._controllerNames=Object.keys(m),this._controllerList=this._controllerNames.map(function(y){return m[y]}),this._mode=w,this._active=m[w],this._active||(this._mode="turntable",this._active=m.turntable),this.modes=this._controllerNames,this.computedMatrix=this._active.computedMatrix,this.computedEye=this._active.computedEye,this.computedUp=this._active.computedUp,this.computedCenter=this._active.computedCenter,this.computedRadius=this._active.computedRadius}var h=c.prototype;h.flush=function(m){for(var w=this._controllerList,y=0;y"u"?a(5346):WeakMap,o=a(5827),s=a(2944),c=new u;f.exports=function(h){var m=c.get(h),w=m&&(m._triangleBuffer.handle||m._triangleBuffer.buffer);if(!w||!h.isBuffer(w)){var y=o(h,new Float32Array([-1,-1,-1,4,4,-1]));(m=s(h,[{buffer:y,type:h.FLOAT,size:2}]))._triangleBuffer=y,c.set(h,m)}m.bind(),h.drawArrays(h.TRIANGLES,0,3),m.unbind()}},8008:function(f,l,a){var u=a(4930);f.exports=function(o,s,c){s=typeof s=="number"?s:1,c=c||": ";var h=o.split(/\r?\n/),m=String(h.length+s-1).length;return h.map(function(w,y){var S=y+s,_=String(S).length;return u(S,m-_)+c+w}).join(` -`)}},2153:function(f,l,a){f.exports=function(s){var c=s.length;if(c===0)return[];if(c===1)return[0];for(var h=s[0].length,m=[s[0]],w=[0],y=1;y0?_=_.ushln(E):E<0&&(k=k.ushln(-E)),h(_,k)}},234:function(f,l,a){var u=a(3218);f.exports=function(o){return Array.isArray(o)&&o.length===2&&u(o[0])&&u(o[1])}},4275:function(f,l,a){var u=a(1928);f.exports=function(o){return o.cmp(new u(0))}},9958:function(f,l,a){var u=a(4275);f.exports=function(o){var s=o.length,c=o.words,h=0;if(s===1)h=c[0];else if(s===2)h=c[0]+67108864*c[1];else for(var m=0;m20?52:h+32}},3218:function(f,l,a){a(1928),f.exports=function(u){return u&&typeof u=="object"&&!!u.words}},5514:function(f,l,a){var u=a(1928),o=a(8362);f.exports=function(s){var c=o.exponent(s);return c<52?new u(s):new u(s*Math.pow(2,52-c)).ushln(c-52)}},8524:function(f,l,a){var u=a(5514),o=a(4275);f.exports=function(s,c){var h=o(s),m=o(c);if(h===0)return[u(0),u(1)];if(m===0)return[u(0),u(0)];m<0&&(s=s.neg(),c=c.neg());var w=s.gcd(c);return w.cmpn(1)?[s.div(w),c.div(w)]:[s,c]}},2813:function(f,l,a){var u=a(1928);f.exports=function(o){return new u(o)}},3962:function(f,l,a){var u=a(8524);f.exports=function(o,s){return u(o[0].mul(s[0]),o[1].mul(s[1]))}},4951:function(f,l,a){var u=a(4275);f.exports=function(o){return u(o[0])*u(o[1])}},4354:function(f,l,a){var u=a(8524);f.exports=function(o,s){return u(o[0].mul(s[1]).sub(o[1].mul(s[0])),o[1].mul(s[1]))}},7999:function(f,l,a){var u=a(9958),o=a(1112);f.exports=function(s){var c=s[0],h=s[1];if(c.cmpn(0)===0)return 0;var m=c.abs().divmod(h.abs()),w=m.div,y=u(w),S=m.mod,_=c.negative!==h.negative?-1:1;if(S.cmpn(0)===0)return _*y;if(y){var k=o(y)+4,E=u(S.ushln(k).divRound(h));return _*(y+E*Math.pow(2,-k))}var x=h.bitLength()-S.bitLength()+53;return E=u(S.ushln(x).divRound(h)),x<1023?_*E*Math.pow(2,-x):_*(E*=Math.pow(2,-1023))*Math.pow(2,1023-x)}},5070:function(f){function l(h,m,w,y,S){for(var _=S+1;y<=S;){var k=y+S>>>1,E=h[k];(w!==void 0?w(E,m):E-m)>=0?(_=k,S=k-1):y=k+1}return _}function a(h,m,w,y,S){for(var _=S+1;y<=S;){var k=y+S>>>1,E=h[k];(w!==void 0?w(E,m):E-m)>0?(_=k,S=k-1):y=k+1}return _}function u(h,m,w,y,S){for(var _=y-1;y<=S;){var k=y+S>>>1,E=h[k];(w!==void 0?w(E,m):E-m)<0?(_=k,y=k+1):S=k-1}return _}function o(h,m,w,y,S){for(var _=y-1;y<=S;){var k=y+S>>>1,E=h[k];(w!==void 0?w(E,m):E-m)<=0?(_=k,y=k+1):S=k-1}return _}function s(h,m,w,y,S){for(;y<=S;){var _=y+S>>>1,k=h[_],E=w!==void 0?w(k,m):k-m;if(E===0)return _;E<=0?y=_+1:S=_-1}return-1}function c(h,m,w,y,S,_){return typeof w=="function"?_(h,m,w,y===void 0?0:0|y,S===void 0?h.length-1:0|S):_(h,m,void 0,w===void 0?0:0|w,y===void 0?h.length-1:0|y)}f.exports={ge:function(h,m,w,y,S){return c(h,m,w,y,S,l)},gt:function(h,m,w,y,S){return c(h,m,w,y,S,a)},lt:function(h,m,w,y,S){return c(h,m,w,y,S,u)},le:function(h,m,w,y,S){return c(h,m,w,y,S,o)},eq:function(h,m,w,y,S){return c(h,m,w,y,S,s)}}},2288:function(f,l){function a(o){var s=32;return(o&=-o)&&s--,65535&o&&(s-=16),16711935&o&&(s-=8),252645135&o&&(s-=4),858993459&o&&(s-=2),1431655765&o&&(s-=1),s}l.INT_BITS=32,l.INT_MAX=2147483647,l.INT_MIN=-2147483648,l.sign=function(o){return(o>0)-(o<0)},l.abs=function(o){var s=o>>31;return(o^s)-s},l.min=function(o,s){return s^(o^s)&-(o65535)<<4,s|=c=((o>>>=s)>255)<<3,s|=c=((o>>>=c)>15)<<2,(s|=c=((o>>>=c)>3)<<1)|(o>>>=c)>>1},l.log10=function(o){return o>=1e9?9:o>=1e8?8:o>=1e7?7:o>=1e6?6:o>=1e5?5:o>=1e4?4:o>=1e3?3:o>=100?2:o>=10?1:0},l.popCount=function(o){return 16843009*((o=(858993459&(o-=o>>>1&1431655765))+(o>>>2&858993459))+(o>>>4)&252645135)>>>24},l.countTrailingZeros=a,l.nextPow2=function(o){return o+=o===0,--o,o|=o>>>1,o|=o>>>2,o|=o>>>4,1+((o|=o>>>8)|o>>>16)},l.prevPow2=function(o){return o|=o>>>1,o|=o>>>2,o|=o>>>4,o|=o>>>8,(o|=o>>>16)-(o>>>1)},l.parity=function(o){return o^=o>>>16,o^=o>>>8,o^=o>>>4,27030>>>(o&=15)&1};var u=new Array(256);(function(o){for(var s=0;s<256;++s){var c=s,h=s,m=7;for(c>>>=1;c;c>>>=1)h<<=1,h|=1&c,--m;o[s]=h<>>8&255]<<16|u[o>>>16&255]<<8|u[o>>>24&255]},l.interleave2=function(o,s){return(o=1431655765&((o=858993459&((o=252645135&((o=16711935&((o&=65535)|o<<8))|o<<4))|o<<2))|o<<1))|(s=1431655765&((s=858993459&((s=252645135&((s=16711935&((s&=65535)|s<<8))|s<<4))|s<<2))|s<<1))<<1},l.deinterleave2=function(o,s){return(o=65535&((o=16711935&((o=252645135&((o=858993459&((o=o>>>s&1431655765)|o>>>1))|o>>>2))|o>>>4))|o>>>16))<<16>>16},l.interleave3=function(o,s,c){return o=1227133513&((o=3272356035&((o=251719695&((o=4278190335&((o&=1023)|o<<16))|o<<8))|o<<4))|o<<2),(o|=(s=1227133513&((s=3272356035&((s=251719695&((s=4278190335&((s&=1023)|s<<16))|s<<8))|s<<4))|s<<2))<<1)|(c=1227133513&((c=3272356035&((c=251719695&((c=4278190335&((c&=1023)|c<<16))|c<<8))|c<<4))|c<<2))<<2},l.deinterleave3=function(o,s){return(o=1023&((o=4278190335&((o=251719695&((o=3272356035&((o=o>>>s&1227133513)|o>>>2))|o>>>4))|o>>>8))|o>>>16))<<22>>22},l.nextCombination=function(o){var s=o|o-1;return s+1|(~s&-~s)-1>>>a(o)+1}},1928:function(f,l,a){(function(u,o){function s(j,$){if(!j)throw new Error($||"Assertion failed")}function c(j,$){j.super_=$;var U=function(){};U.prototype=$.prototype,j.prototype=new U,j.prototype.constructor=j}function h(j,$,U){if(h.isBN(j))return j;this.negative=0,this.words=null,this.length=0,this.red=null,j!==null&&($!=="le"&&$!=="be"||(U=$,$=10),this._init(j||0,$||10,U||"be"))}var m;typeof u=="object"?u.exports=h:o.BN=h,h.BN=h,h.wordSize=26;try{m=typeof window<"u"&&window.Buffer!==void 0?window.Buffer:a(6601).Buffer}catch{}function w(j,$){var U=j.charCodeAt($);return U>=65&&U<=70?U-55:U>=97&&U<=102?U-87:U-48&15}function y(j,$,U){var G=w(j,U);return U-1>=$&&(G|=w(j,U-1)<<4),G}function S(j,$,U,G){for(var q=0,H=Math.min(j.length,U),ne=$;ne=49?te-49+10:te>=17?te-17+10:te}return q}h.isBN=function(j){return j instanceof h||j!==null&&typeof j=="object"&&j.constructor.wordSize===h.wordSize&&Array.isArray(j.words)},h.max=function(j,$){return j.cmp($)>0?j:$},h.min=function(j,$){return j.cmp($)<0?j:$},h.prototype._init=function(j,$,U){if(typeof j=="number")return this._initNumber(j,$,U);if(typeof j=="object")return this._initArray(j,$,U);$==="hex"&&($=16),s($===(0|$)&&$>=2&&$<=36);var G=0;(j=j.toString().replace(/\s+/g,""))[0]==="-"&&(G++,this.negative=1),G=0;G-=3)H=j[G]|j[G-1]<<8|j[G-2]<<16,this.words[q]|=H<>>26-ne&67108863,(ne+=24)>=26&&(ne-=26,q++);else if(U==="le")for(G=0,q=0;G>>26-ne&67108863,(ne+=24)>=26&&(ne-=26,q++);return this.strip()},h.prototype._parseHex=function(j,$,U){this.length=Math.ceil((j.length-$)/6),this.words=new Array(this.length);for(var G=0;G=$;G-=2)q=y(j,$,G)<=18?(H-=18,ne+=1,this.words[ne]|=q>>>26):H+=8;else for(G=(j.length-$)%2==0?$+1:$;G=18?(H-=18,ne+=1,this.words[ne]|=q>>>26):H+=8;this.strip()},h.prototype._parseBase=function(j,$,U){this.words=[0],this.length=1;for(var G=0,q=1;q<=67108863;q*=$)G++;G--,q=q/$|0;for(var H=j.length-U,ne=H%G,te=Math.min(H,H-ne)+U,Z=0,X=U;X1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},h.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},h.prototype.inspect=function(){return(this.red?""};var _=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],k=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],E=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function x(j,$,U){U.negative=$.negative^j.negative;var G=j.length+$.length|0;U.length=G,G=G-1|0;var q=0|j.words[0],H=0|$.words[0],ne=q*H,te=67108863&ne,Z=ne/67108864|0;U.words[0]=te;for(var X=1;X>>26,re=67108863&Z,ie=Math.min(X,$.length-1),oe=Math.max(0,X-j.length+1);oe<=ie;oe++){var ue=X-oe|0;Q+=(ne=(q=0|j.words[ue])*(H=0|$.words[oe])+re)/67108864|0,re=67108863&ne}U.words[X]=0|re,Z=0|Q}return Z!==0?U.words[X]=0|Z:U.length--,U.strip()}h.prototype.toString=function(j,$){var U;if($=0|$||1,(j=j||10)===16||j==="hex"){U="";for(var G=0,q=0,H=0;H>>24-G&16777215)!=0||H!==this.length-1?_[6-te.length]+te+U:te+U,(G+=2)>=26&&(G-=26,H--)}for(q!==0&&(U=q.toString(16)+U);U.length%$!=0;)U="0"+U;return this.negative!==0&&(U="-"+U),U}if(j===(0|j)&&j>=2&&j<=36){var Z=k[j],X=E[j];U="";var Q=this.clone();for(Q.negative=0;!Q.isZero();){var re=Q.modn(X).toString(j);U=(Q=Q.idivn(X)).isZero()?re+U:_[Z-re.length]+re+U}for(this.isZero()&&(U="0"+U);U.length%$!=0;)U="0"+U;return this.negative!==0&&(U="-"+U),U}s(!1,"Base should be between 2 and 36")},h.prototype.toNumber=function(){var j=this.words[0];return this.length===2?j+=67108864*this.words[1]:this.length===3&&this.words[2]===1?j+=4503599627370496+67108864*this.words[1]:this.length>2&&s(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-j:j},h.prototype.toJSON=function(){return this.toString(16)},h.prototype.toBuffer=function(j,$){return s(m!==void 0),this.toArrayLike(m,j,$)},h.prototype.toArray=function(j,$){return this.toArrayLike(Array,j,$)},h.prototype.toArrayLike=function(j,$,U){var G=this.byteLength(),q=U||Math.max(1,G);s(G<=q,"byte array longer than desired length"),s(q>0,"Requested array length <= 0"),this.strip();var H,ne,te=$==="le",Z=new j(q),X=this.clone();if(te){for(ne=0;!X.isZero();ne++)H=X.andln(255),X.iushrn(8),Z[ne]=H;for(;ne=4096&&(U+=13,$>>>=13),$>=64&&(U+=7,$>>>=7),$>=8&&(U+=4,$>>>=4),$>=2&&(U+=2,$>>>=2),U+$},h.prototype._zeroBits=function(j){if(j===0)return 26;var $=j,U=0;return!(8191&$)&&(U+=13,$>>>=13),!(127&$)&&(U+=7,$>>>=7),!(15&$)&&(U+=4,$>>>=4),!(3&$)&&(U+=2,$>>>=2),!(1&$)&&U++,U},h.prototype.bitLength=function(){var j=this.words[this.length-1],$=this._countBits(j);return 26*(this.length-1)+$},h.prototype.zeroBits=function(){if(this.isZero())return 0;for(var j=0,$=0;$j.length?this.clone().ior(j):j.clone().ior(this)},h.prototype.uor=function(j){return this.length>j.length?this.clone().iuor(j):j.clone().iuor(this)},h.prototype.iuand=function(j){var $;$=this.length>j.length?j:this;for(var U=0;U<$.length;U++)this.words[U]=this.words[U]&j.words[U];return this.length=$.length,this.strip()},h.prototype.iand=function(j){return s((this.negative|j.negative)==0),this.iuand(j)},h.prototype.and=function(j){return this.length>j.length?this.clone().iand(j):j.clone().iand(this)},h.prototype.uand=function(j){return this.length>j.length?this.clone().iuand(j):j.clone().iuand(this)},h.prototype.iuxor=function(j){var $,U;this.length>j.length?($=this,U=j):($=j,U=this);for(var G=0;Gj.length?this.clone().ixor(j):j.clone().ixor(this)},h.prototype.uxor=function(j){return this.length>j.length?this.clone().iuxor(j):j.clone().iuxor(this)},h.prototype.inotn=function(j){s(typeof j=="number"&&j>=0);var $=0|Math.ceil(j/26),U=j%26;this._expand($),U>0&&$--;for(var G=0;G<$;G++)this.words[G]=67108863&~this.words[G];return U>0&&(this.words[G]=~this.words[G]&67108863>>26-U),this.strip()},h.prototype.notn=function(j){return this.clone().inotn(j)},h.prototype.setn=function(j,$){s(typeof j=="number"&&j>=0);var U=j/26|0,G=j%26;return this._expand(U+1),this.words[U]=$?this.words[U]|1<j.length?(U=this,G=j):(U=j,G=this);for(var q=0,H=0;H>>26;for(;q!==0&&H>>26;if(this.length=U.length,q!==0)this.words[this.length]=q,this.length++;else if(U!==this)for(;Hj.length?this.clone().iadd(j):j.clone().iadd(this)},h.prototype.isub=function(j){if(j.negative!==0){j.negative=0;var $=this.iadd(j);return j.negative=1,$._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(j),this.negative=1,this._normSign();var U,G,q=this.cmp(j);if(q===0)return this.negative=0,this.length=1,this.words[0]=0,this;q>0?(U=this,G=j):(U=j,G=this);for(var H=0,ne=0;ne>26,this.words[ne]=67108863&$;for(;H!==0&&ne>26,this.words[ne]=67108863&$;if(H===0&&ne>>13,oe=0|ne[1],ue=8191&oe,ce=oe>>>13,ye=0|ne[2],de=8191&ye,me=ye>>>13,pe=0|ne[3],xe=8191&pe,Pe=pe>>>13,_e=0|ne[4],Me=8191&_e,Se=_e>>>13,Ce=0|ne[5],ae=8191&Ce,fe=Ce>>>13,be=0|ne[6],ke=8191&be,Le=be>>>13,Be=0|ne[7],ze=8191&Be,je=Be>>>13,ge=0|ne[8],we=8191&ge,Ee=ge>>>13,Ve=0|ne[9],$e=8191&Ve,Ye=Ve>>>13,st=0|te[0],ot=8191&st,ht=st>>>13,bt=0|te[1],Et=8191&bt,kt=bt>>>13,xt=0|te[2],Ft=8191&xt,Ot=xt>>>13,Bt=0|te[3],qt=8191&Bt,Vt=Bt>>>13,Ke=0|te[4],Je=8191&Ke,qe=Ke>>>13,nt=0|te[5],ft=8191&nt,Re=nt>>>13,Ne=0|te[6],Qe=8191&Ne,ut=Ne>>>13,dt=0|te[7],_t=8191&dt,It=dt>>>13,Lt=0|te[8],yt=8191&Lt,Pt=Lt>>>13,wt=0|te[9],Rt=8191&wt,Nt=wt>>>13;U.negative=j.negative^$.negative,U.length=19;var Yt=(X+(G=Math.imul(re,ot))|0)+((8191&(q=(q=Math.imul(re,ht))+Math.imul(ie,ot)|0))<<13)|0;X=((H=Math.imul(ie,ht))+(q>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,G=Math.imul(ue,ot),q=(q=Math.imul(ue,ht))+Math.imul(ce,ot)|0,H=Math.imul(ce,ht);var Wt=(X+(G=G+Math.imul(re,Et)|0)|0)+((8191&(q=(q=q+Math.imul(re,kt)|0)+Math.imul(ie,Et)|0))<<13)|0;X=((H=H+Math.imul(ie,kt)|0)+(q>>>13)|0)+(Wt>>>26)|0,Wt&=67108863,G=Math.imul(de,ot),q=(q=Math.imul(de,ht))+Math.imul(me,ot)|0,H=Math.imul(me,ht),G=G+Math.imul(ue,Et)|0,q=(q=q+Math.imul(ue,kt)|0)+Math.imul(ce,Et)|0,H=H+Math.imul(ce,kt)|0;var Xt=(X+(G=G+Math.imul(re,Ft)|0)|0)+((8191&(q=(q=q+Math.imul(re,Ot)|0)+Math.imul(ie,Ft)|0))<<13)|0;X=((H=H+Math.imul(ie,Ot)|0)+(q>>>13)|0)+(Xt>>>26)|0,Xt&=67108863,G=Math.imul(xe,ot),q=(q=Math.imul(xe,ht))+Math.imul(Pe,ot)|0,H=Math.imul(Pe,ht),G=G+Math.imul(de,Et)|0,q=(q=q+Math.imul(de,kt)|0)+Math.imul(me,Et)|0,H=H+Math.imul(me,kt)|0,G=G+Math.imul(ue,Ft)|0,q=(q=q+Math.imul(ue,Ot)|0)+Math.imul(ce,Ft)|0,H=H+Math.imul(ce,Ot)|0;var Qt=(X+(G=G+Math.imul(re,qt)|0)|0)+((8191&(q=(q=q+Math.imul(re,Vt)|0)+Math.imul(ie,qt)|0))<<13)|0;X=((H=H+Math.imul(ie,Vt)|0)+(q>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,G=Math.imul(Me,ot),q=(q=Math.imul(Me,ht))+Math.imul(Se,ot)|0,H=Math.imul(Se,ht),G=G+Math.imul(xe,Et)|0,q=(q=q+Math.imul(xe,kt)|0)+Math.imul(Pe,Et)|0,H=H+Math.imul(Pe,kt)|0,G=G+Math.imul(de,Ft)|0,q=(q=q+Math.imul(de,Ot)|0)+Math.imul(me,Ft)|0,H=H+Math.imul(me,Ot)|0,G=G+Math.imul(ue,qt)|0,q=(q=q+Math.imul(ue,Vt)|0)+Math.imul(ce,qt)|0,H=H+Math.imul(ce,Vt)|0;var rn=(X+(G=G+Math.imul(re,Je)|0)|0)+((8191&(q=(q=q+Math.imul(re,qe)|0)+Math.imul(ie,Je)|0))<<13)|0;X=((H=H+Math.imul(ie,qe)|0)+(q>>>13)|0)+(rn>>>26)|0,rn&=67108863,G=Math.imul(ae,ot),q=(q=Math.imul(ae,ht))+Math.imul(fe,ot)|0,H=Math.imul(fe,ht),G=G+Math.imul(Me,Et)|0,q=(q=q+Math.imul(Me,kt)|0)+Math.imul(Se,Et)|0,H=H+Math.imul(Se,kt)|0,G=G+Math.imul(xe,Ft)|0,q=(q=q+Math.imul(xe,Ot)|0)+Math.imul(Pe,Ft)|0,H=H+Math.imul(Pe,Ot)|0,G=G+Math.imul(de,qt)|0,q=(q=q+Math.imul(de,Vt)|0)+Math.imul(me,qt)|0,H=H+Math.imul(me,Vt)|0,G=G+Math.imul(ue,Je)|0,q=(q=q+Math.imul(ue,qe)|0)+Math.imul(ce,Je)|0,H=H+Math.imul(ce,qe)|0;var xn=(X+(G=G+Math.imul(re,ft)|0)|0)+((8191&(q=(q=q+Math.imul(re,Re)|0)+Math.imul(ie,ft)|0))<<13)|0;X=((H=H+Math.imul(ie,Re)|0)+(q>>>13)|0)+(xn>>>26)|0,xn&=67108863,G=Math.imul(ke,ot),q=(q=Math.imul(ke,ht))+Math.imul(Le,ot)|0,H=Math.imul(Le,ht),G=G+Math.imul(ae,Et)|0,q=(q=q+Math.imul(ae,kt)|0)+Math.imul(fe,Et)|0,H=H+Math.imul(fe,kt)|0,G=G+Math.imul(Me,Ft)|0,q=(q=q+Math.imul(Me,Ot)|0)+Math.imul(Se,Ft)|0,H=H+Math.imul(Se,Ot)|0,G=G+Math.imul(xe,qt)|0,q=(q=q+Math.imul(xe,Vt)|0)+Math.imul(Pe,qt)|0,H=H+Math.imul(Pe,Vt)|0,G=G+Math.imul(de,Je)|0,q=(q=q+Math.imul(de,qe)|0)+Math.imul(me,Je)|0,H=H+Math.imul(me,qe)|0,G=G+Math.imul(ue,ft)|0,q=(q=q+Math.imul(ue,Re)|0)+Math.imul(ce,ft)|0,H=H+Math.imul(ce,Re)|0;var un=(X+(G=G+Math.imul(re,Qe)|0)|0)+((8191&(q=(q=q+Math.imul(re,ut)|0)+Math.imul(ie,Qe)|0))<<13)|0;X=((H=H+Math.imul(ie,ut)|0)+(q>>>13)|0)+(un>>>26)|0,un&=67108863,G=Math.imul(ze,ot),q=(q=Math.imul(ze,ht))+Math.imul(je,ot)|0,H=Math.imul(je,ht),G=G+Math.imul(ke,Et)|0,q=(q=q+Math.imul(ke,kt)|0)+Math.imul(Le,Et)|0,H=H+Math.imul(Le,kt)|0,G=G+Math.imul(ae,Ft)|0,q=(q=q+Math.imul(ae,Ot)|0)+Math.imul(fe,Ft)|0,H=H+Math.imul(fe,Ot)|0,G=G+Math.imul(Me,qt)|0,q=(q=q+Math.imul(Me,Vt)|0)+Math.imul(Se,qt)|0,H=H+Math.imul(Se,Vt)|0,G=G+Math.imul(xe,Je)|0,q=(q=q+Math.imul(xe,qe)|0)+Math.imul(Pe,Je)|0,H=H+Math.imul(Pe,qe)|0,G=G+Math.imul(de,ft)|0,q=(q=q+Math.imul(de,Re)|0)+Math.imul(me,ft)|0,H=H+Math.imul(me,Re)|0,G=G+Math.imul(ue,Qe)|0,q=(q=q+Math.imul(ue,ut)|0)+Math.imul(ce,Qe)|0,H=H+Math.imul(ce,ut)|0;var An=(X+(G=G+Math.imul(re,_t)|0)|0)+((8191&(q=(q=q+Math.imul(re,It)|0)+Math.imul(ie,_t)|0))<<13)|0;X=((H=H+Math.imul(ie,It)|0)+(q>>>13)|0)+(An>>>26)|0,An&=67108863,G=Math.imul(we,ot),q=(q=Math.imul(we,ht))+Math.imul(Ee,ot)|0,H=Math.imul(Ee,ht),G=G+Math.imul(ze,Et)|0,q=(q=q+Math.imul(ze,kt)|0)+Math.imul(je,Et)|0,H=H+Math.imul(je,kt)|0,G=G+Math.imul(ke,Ft)|0,q=(q=q+Math.imul(ke,Ot)|0)+Math.imul(Le,Ft)|0,H=H+Math.imul(Le,Ot)|0,G=G+Math.imul(ae,qt)|0,q=(q=q+Math.imul(ae,Vt)|0)+Math.imul(fe,qt)|0,H=H+Math.imul(fe,Vt)|0,G=G+Math.imul(Me,Je)|0,q=(q=q+Math.imul(Me,qe)|0)+Math.imul(Se,Je)|0,H=H+Math.imul(Se,qe)|0,G=G+Math.imul(xe,ft)|0,q=(q=q+Math.imul(xe,Re)|0)+Math.imul(Pe,ft)|0,H=H+Math.imul(Pe,Re)|0,G=G+Math.imul(de,Qe)|0,q=(q=q+Math.imul(de,ut)|0)+Math.imul(me,Qe)|0,H=H+Math.imul(me,ut)|0,G=G+Math.imul(ue,_t)|0,q=(q=q+Math.imul(ue,It)|0)+Math.imul(ce,_t)|0,H=H+Math.imul(ce,It)|0;var Yn=(X+(G=G+Math.imul(re,yt)|0)|0)+((8191&(q=(q=q+Math.imul(re,Pt)|0)+Math.imul(ie,yt)|0))<<13)|0;X=((H=H+Math.imul(ie,Pt)|0)+(q>>>13)|0)+(Yn>>>26)|0,Yn&=67108863,G=Math.imul($e,ot),q=(q=Math.imul($e,ht))+Math.imul(Ye,ot)|0,H=Math.imul(Ye,ht),G=G+Math.imul(we,Et)|0,q=(q=q+Math.imul(we,kt)|0)+Math.imul(Ee,Et)|0,H=H+Math.imul(Ee,kt)|0,G=G+Math.imul(ze,Ft)|0,q=(q=q+Math.imul(ze,Ot)|0)+Math.imul(je,Ft)|0,H=H+Math.imul(je,Ot)|0,G=G+Math.imul(ke,qt)|0,q=(q=q+Math.imul(ke,Vt)|0)+Math.imul(Le,qt)|0,H=H+Math.imul(Le,Vt)|0,G=G+Math.imul(ae,Je)|0,q=(q=q+Math.imul(ae,qe)|0)+Math.imul(fe,Je)|0,H=H+Math.imul(fe,qe)|0,G=G+Math.imul(Me,ft)|0,q=(q=q+Math.imul(Me,Re)|0)+Math.imul(Se,ft)|0,H=H+Math.imul(Se,Re)|0,G=G+Math.imul(xe,Qe)|0,q=(q=q+Math.imul(xe,ut)|0)+Math.imul(Pe,Qe)|0,H=H+Math.imul(Pe,ut)|0,G=G+Math.imul(de,_t)|0,q=(q=q+Math.imul(de,It)|0)+Math.imul(me,_t)|0,H=H+Math.imul(me,It)|0,G=G+Math.imul(ue,yt)|0,q=(q=q+Math.imul(ue,Pt)|0)+Math.imul(ce,yt)|0,H=H+Math.imul(ce,Pt)|0;var kn=(X+(G=G+Math.imul(re,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(re,Nt)|0)+Math.imul(ie,Rt)|0))<<13)|0;X=((H=H+Math.imul(ie,Nt)|0)+(q>>>13)|0)+(kn>>>26)|0,kn&=67108863,G=Math.imul($e,Et),q=(q=Math.imul($e,kt))+Math.imul(Ye,Et)|0,H=Math.imul(Ye,kt),G=G+Math.imul(we,Ft)|0,q=(q=q+Math.imul(we,Ot)|0)+Math.imul(Ee,Ft)|0,H=H+Math.imul(Ee,Ot)|0,G=G+Math.imul(ze,qt)|0,q=(q=q+Math.imul(ze,Vt)|0)+Math.imul(je,qt)|0,H=H+Math.imul(je,Vt)|0,G=G+Math.imul(ke,Je)|0,q=(q=q+Math.imul(ke,qe)|0)+Math.imul(Le,Je)|0,H=H+Math.imul(Le,qe)|0,G=G+Math.imul(ae,ft)|0,q=(q=q+Math.imul(ae,Re)|0)+Math.imul(fe,ft)|0,H=H+Math.imul(fe,Re)|0,G=G+Math.imul(Me,Qe)|0,q=(q=q+Math.imul(Me,ut)|0)+Math.imul(Se,Qe)|0,H=H+Math.imul(Se,ut)|0,G=G+Math.imul(xe,_t)|0,q=(q=q+Math.imul(xe,It)|0)+Math.imul(Pe,_t)|0,H=H+Math.imul(Pe,It)|0,G=G+Math.imul(de,yt)|0,q=(q=q+Math.imul(de,Pt)|0)+Math.imul(me,yt)|0,H=H+Math.imul(me,Pt)|0;var sn=(X+(G=G+Math.imul(ue,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(ue,Nt)|0)+Math.imul(ce,Rt)|0))<<13)|0;X=((H=H+Math.imul(ce,Nt)|0)+(q>>>13)|0)+(sn>>>26)|0,sn&=67108863,G=Math.imul($e,Ft),q=(q=Math.imul($e,Ot))+Math.imul(Ye,Ft)|0,H=Math.imul(Ye,Ot),G=G+Math.imul(we,qt)|0,q=(q=q+Math.imul(we,Vt)|0)+Math.imul(Ee,qt)|0,H=H+Math.imul(Ee,Vt)|0,G=G+Math.imul(ze,Je)|0,q=(q=q+Math.imul(ze,qe)|0)+Math.imul(je,Je)|0,H=H+Math.imul(je,qe)|0,G=G+Math.imul(ke,ft)|0,q=(q=q+Math.imul(ke,Re)|0)+Math.imul(Le,ft)|0,H=H+Math.imul(Le,Re)|0,G=G+Math.imul(ae,Qe)|0,q=(q=q+Math.imul(ae,ut)|0)+Math.imul(fe,Qe)|0,H=H+Math.imul(fe,ut)|0,G=G+Math.imul(Me,_t)|0,q=(q=q+Math.imul(Me,It)|0)+Math.imul(Se,_t)|0,H=H+Math.imul(Se,It)|0,G=G+Math.imul(xe,yt)|0,q=(q=q+Math.imul(xe,Pt)|0)+Math.imul(Pe,yt)|0,H=H+Math.imul(Pe,Pt)|0;var Tn=(X+(G=G+Math.imul(de,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(de,Nt)|0)+Math.imul(me,Rt)|0))<<13)|0;X=((H=H+Math.imul(me,Nt)|0)+(q>>>13)|0)+(Tn>>>26)|0,Tn&=67108863,G=Math.imul($e,qt),q=(q=Math.imul($e,Vt))+Math.imul(Ye,qt)|0,H=Math.imul(Ye,Vt),G=G+Math.imul(we,Je)|0,q=(q=q+Math.imul(we,qe)|0)+Math.imul(Ee,Je)|0,H=H+Math.imul(Ee,qe)|0,G=G+Math.imul(ze,ft)|0,q=(q=q+Math.imul(ze,Re)|0)+Math.imul(je,ft)|0,H=H+Math.imul(je,Re)|0,G=G+Math.imul(ke,Qe)|0,q=(q=q+Math.imul(ke,ut)|0)+Math.imul(Le,Qe)|0,H=H+Math.imul(Le,ut)|0,G=G+Math.imul(ae,_t)|0,q=(q=q+Math.imul(ae,It)|0)+Math.imul(fe,_t)|0,H=H+Math.imul(fe,It)|0,G=G+Math.imul(Me,yt)|0,q=(q=q+Math.imul(Me,Pt)|0)+Math.imul(Se,yt)|0,H=H+Math.imul(Se,Pt)|0;var dn=(X+(G=G+Math.imul(xe,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(xe,Nt)|0)+Math.imul(Pe,Rt)|0))<<13)|0;X=((H=H+Math.imul(Pe,Nt)|0)+(q>>>13)|0)+(dn>>>26)|0,dn&=67108863,G=Math.imul($e,Je),q=(q=Math.imul($e,qe))+Math.imul(Ye,Je)|0,H=Math.imul(Ye,qe),G=G+Math.imul(we,ft)|0,q=(q=q+Math.imul(we,Re)|0)+Math.imul(Ee,ft)|0,H=H+Math.imul(Ee,Re)|0,G=G+Math.imul(ze,Qe)|0,q=(q=q+Math.imul(ze,ut)|0)+Math.imul(je,Qe)|0,H=H+Math.imul(je,ut)|0,G=G+Math.imul(ke,_t)|0,q=(q=q+Math.imul(ke,It)|0)+Math.imul(Le,_t)|0,H=H+Math.imul(Le,It)|0,G=G+Math.imul(ae,yt)|0,q=(q=q+Math.imul(ae,Pt)|0)+Math.imul(fe,yt)|0,H=H+Math.imul(fe,Pt)|0;var pn=(X+(G=G+Math.imul(Me,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(Me,Nt)|0)+Math.imul(Se,Rt)|0))<<13)|0;X=((H=H+Math.imul(Se,Nt)|0)+(q>>>13)|0)+(pn>>>26)|0,pn&=67108863,G=Math.imul($e,ft),q=(q=Math.imul($e,Re))+Math.imul(Ye,ft)|0,H=Math.imul(Ye,Re),G=G+Math.imul(we,Qe)|0,q=(q=q+Math.imul(we,ut)|0)+Math.imul(Ee,Qe)|0,H=H+Math.imul(Ee,ut)|0,G=G+Math.imul(ze,_t)|0,q=(q=q+Math.imul(ze,It)|0)+Math.imul(je,_t)|0,H=H+Math.imul(je,It)|0,G=G+Math.imul(ke,yt)|0,q=(q=q+Math.imul(ke,Pt)|0)+Math.imul(Le,yt)|0,H=H+Math.imul(Le,Pt)|0;var Dn=(X+(G=G+Math.imul(ae,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(ae,Nt)|0)+Math.imul(fe,Rt)|0))<<13)|0;X=((H=H+Math.imul(fe,Nt)|0)+(q>>>13)|0)+(Dn>>>26)|0,Dn&=67108863,G=Math.imul($e,Qe),q=(q=Math.imul($e,ut))+Math.imul(Ye,Qe)|0,H=Math.imul(Ye,ut),G=G+Math.imul(we,_t)|0,q=(q=q+Math.imul(we,It)|0)+Math.imul(Ee,_t)|0,H=H+Math.imul(Ee,It)|0,G=G+Math.imul(ze,yt)|0,q=(q=q+Math.imul(ze,Pt)|0)+Math.imul(je,yt)|0,H=H+Math.imul(je,Pt)|0;var In=(X+(G=G+Math.imul(ke,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(ke,Nt)|0)+Math.imul(Le,Rt)|0))<<13)|0;X=((H=H+Math.imul(Le,Nt)|0)+(q>>>13)|0)+(In>>>26)|0,In&=67108863,G=Math.imul($e,_t),q=(q=Math.imul($e,It))+Math.imul(Ye,_t)|0,H=Math.imul(Ye,It),G=G+Math.imul(we,yt)|0,q=(q=q+Math.imul(we,Pt)|0)+Math.imul(Ee,yt)|0,H=H+Math.imul(Ee,Pt)|0;var jn=(X+(G=G+Math.imul(ze,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(ze,Nt)|0)+Math.imul(je,Rt)|0))<<13)|0;X=((H=H+Math.imul(je,Nt)|0)+(q>>>13)|0)+(jn>>>26)|0,jn&=67108863,G=Math.imul($e,yt),q=(q=Math.imul($e,Pt))+Math.imul(Ye,yt)|0,H=Math.imul(Ye,Pt);var Gn=(X+(G=G+Math.imul(we,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(we,Nt)|0)+Math.imul(Ee,Rt)|0))<<13)|0;X=((H=H+Math.imul(Ee,Nt)|0)+(q>>>13)|0)+(Gn>>>26)|0,Gn&=67108863;var qn=(X+(G=Math.imul($e,Rt))|0)+((8191&(q=(q=Math.imul($e,Nt))+Math.imul(Ye,Rt)|0))<<13)|0;return X=((H=Math.imul(Ye,Nt))+(q>>>13)|0)+(qn>>>26)|0,qn&=67108863,Z[0]=Yt,Z[1]=Wt,Z[2]=Xt,Z[3]=Qt,Z[4]=rn,Z[5]=xn,Z[6]=un,Z[7]=An,Z[8]=Yn,Z[9]=kn,Z[10]=sn,Z[11]=Tn,Z[12]=dn,Z[13]=pn,Z[14]=Dn,Z[15]=In,Z[16]=jn,Z[17]=Gn,Z[18]=qn,X!==0&&(Z[19]=X,U.length++),U};function L(j,$,U){return new b().mulp(j,$,U)}function b(j,$){this.x=j,this.y=$}Math.imul||(A=x),h.prototype.mulTo=function(j,$){var U,G=this.length+j.length;return U=this.length===10&&j.length===10?A(this,j,$):G<63?x(this,j,$):G<1024?function(q,H,ne){ne.negative=H.negative^q.negative,ne.length=q.length+H.length;for(var te=0,Z=0,X=0;X>>26)|0)>>>26,Q&=67108863}ne.words[X]=re,te=Q,Q=Z}return te!==0?ne.words[X]=te:ne.length--,ne.strip()}(this,j,$):L(this,j,$),U},b.prototype.makeRBT=function(j){for(var $=new Array(j),U=h.prototype._countBits(j)-1,G=0;G>=1;return G},b.prototype.permute=function(j,$,U,G,q,H){for(var ne=0;ne>>=1)q++;return 1<>>=13,U[2*H+1]=8191&q,q>>>=13;for(H=2*$;H>=26,$+=G/67108864|0,$+=q>>>26,this.words[U]=67108863&q}return $!==0&&(this.words[U]=$,this.length++),this},h.prototype.muln=function(j){return this.clone().imuln(j)},h.prototype.sqr=function(){return this.mul(this)},h.prototype.isqr=function(){return this.imul(this.clone())},h.prototype.pow=function(j){var $=function(H){for(var ne=new Array(H.bitLength()),te=0;te>>X}return ne}(j);if($.length===0)return new h(1);for(var U=this,G=0;G<$.length&&$[G]===0;G++,U=U.sqr());if(++G<$.length)for(var q=U.sqr();G<$.length;G++,q=q.sqr())$[G]!==0&&(U=U.mul(q));return U},h.prototype.iushln=function(j){s(typeof j=="number"&&j>=0);var $,U=j%26,G=(j-U)/26,q=67108863>>>26-U<<26-U;if(U!==0){var H=0;for($=0;$>>26-U}H&&(this.words[$]=H,this.length++)}if(G!==0){for($=this.length-1;$>=0;$--)this.words[$+G]=this.words[$];for($=0;$=0),G=$?($-$%26)/26:0;var q=j%26,H=Math.min((j-q)/26,this.length),ne=67108863^67108863>>>q<H)for(this.length-=H,Z=0;Z=0&&(X!==0||Z>=G);Z--){var Q=0|this.words[Z];this.words[Z]=X<<26-q|Q>>>q,X=Q&ne}return te&&X!==0&&(te.words[te.length++]=X),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},h.prototype.ishrn=function(j,$,U){return s(this.negative===0),this.iushrn(j,$,U)},h.prototype.shln=function(j){return this.clone().ishln(j)},h.prototype.ushln=function(j){return this.clone().iushln(j)},h.prototype.shrn=function(j){return this.clone().ishrn(j)},h.prototype.ushrn=function(j){return this.clone().iushrn(j)},h.prototype.testn=function(j){s(typeof j=="number"&&j>=0);var $=j%26,U=(j-$)/26,G=1<<$;return!(this.length<=U||!(this.words[U]&G))},h.prototype.imaskn=function(j){s(typeof j=="number"&&j>=0);var $=j%26,U=(j-$)/26;if(s(this.negative===0,"imaskn works only with positive numbers"),this.length<=U)return this;if($!==0&&U++,this.length=Math.min(U,this.length),$!==0){var G=67108863^67108863>>>$<<$;this.words[this.length-1]&=G}return this.strip()},h.prototype.maskn=function(j){return this.clone().imaskn(j)},h.prototype.iaddn=function(j){return s(typeof j=="number"),s(j<67108864),j<0?this.isubn(-j):this.negative!==0?this.length===1&&(0|this.words[0])=67108864;$++)this.words[$]-=67108864,$===this.length-1?this.words[$+1]=1:this.words[$+1]++;return this.length=Math.max(this.length,$+1),this},h.prototype.isubn=function(j){if(s(typeof j=="number"),s(j<67108864),j<0)return this.iaddn(-j);if(this.negative!==0)return this.negative=0,this.iaddn(j),this.negative=1,this;if(this.words[0]-=j,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var $=0;$>26)-(te/67108864|0),this.words[G+U]=67108863&q}for(;G>26,this.words[G+U]=67108863&q;if(ne===0)return this.strip();for(s(ne===-1),ne=0,G=0;G>26,this.words[G]=67108863&q;return this.negative=1,this.strip()},h.prototype._wordDiv=function(j,$){var U=(this.length,j.length),G=this.clone(),q=j,H=0|q.words[q.length-1];(U=26-this._countBits(H))!=0&&(q=q.ushln(U),G.iushln(U),H=0|q.words[q.length-1]);var ne,te=G.length-q.length;if($!=="mod"){(ne=new h(null)).length=te+1,ne.words=new Array(ne.length);for(var Z=0;Z=0;Q--){var re=67108864*(0|G.words[q.length+Q])+(0|G.words[q.length+Q-1]);for(re=Math.min(re/H|0,67108863),G._ishlnsubmul(q,re,Q);G.negative!==0;)re--,G.negative=0,G._ishlnsubmul(q,1,Q),G.isZero()||(G.negative^=1);ne&&(ne.words[Q]=re)}return ne&&ne.strip(),G.strip(),$!=="div"&&U!==0&&G.iushrn(U),{div:ne||null,mod:G}},h.prototype.divmod=function(j,$,U){return s(!j.isZero()),this.isZero()?{div:new h(0),mod:new h(0)}:this.negative!==0&&j.negative===0?(H=this.neg().divmod(j,$),$!=="mod"&&(G=H.div.neg()),$!=="div"&&(q=H.mod.neg(),U&&q.negative!==0&&q.iadd(j)),{div:G,mod:q}):this.negative===0&&j.negative!==0?(H=this.divmod(j.neg(),$),$!=="mod"&&(G=H.div.neg()),{div:G,mod:H.mod}):this.negative&j.negative?(H=this.neg().divmod(j.neg(),$),$!=="div"&&(q=H.mod.neg(),U&&q.negative!==0&&q.isub(j)),{div:H.div,mod:q}):j.length>this.length||this.cmp(j)<0?{div:new h(0),mod:this}:j.length===1?$==="div"?{div:this.divn(j.words[0]),mod:null}:$==="mod"?{div:null,mod:new h(this.modn(j.words[0]))}:{div:this.divn(j.words[0]),mod:new h(this.modn(j.words[0]))}:this._wordDiv(j,$);var G,q,H},h.prototype.div=function(j){return this.divmod(j,"div",!1).div},h.prototype.mod=function(j){return this.divmod(j,"mod",!1).mod},h.prototype.umod=function(j){return this.divmod(j,"mod",!0).mod},h.prototype.divRound=function(j){var $=this.divmod(j);if($.mod.isZero())return $.div;var U=$.div.negative!==0?$.mod.isub(j):$.mod,G=j.ushrn(1),q=j.andln(1),H=U.cmp(G);return H<0||q===1&&H===0?$.div:$.div.negative!==0?$.div.isubn(1):$.div.iaddn(1)},h.prototype.modn=function(j){s(j<=67108863);for(var $=67108864%j,U=0,G=this.length-1;G>=0;G--)U=($*U+(0|this.words[G]))%j;return U},h.prototype.idivn=function(j){s(j<=67108863);for(var $=0,U=this.length-1;U>=0;U--){var G=(0|this.words[U])+67108864*$;this.words[U]=G/j|0,$=G%j}return this.strip()},h.prototype.divn=function(j){return this.clone().idivn(j)},h.prototype.egcd=function(j){s(j.negative===0),s(!j.isZero());var $=this,U=j.clone();$=$.negative!==0?$.umod(j):$.clone();for(var G=new h(1),q=new h(0),H=new h(0),ne=new h(1),te=0;$.isEven()&&U.isEven();)$.iushrn(1),U.iushrn(1),++te;for(var Z=U.clone(),X=$.clone();!$.isZero();){for(var Q=0,re=1;!($.words[0]&re)&&Q<26;++Q,re<<=1);if(Q>0)for($.iushrn(Q);Q-- >0;)(G.isOdd()||q.isOdd())&&(G.iadd(Z),q.isub(X)),G.iushrn(1),q.iushrn(1);for(var ie=0,oe=1;!(U.words[0]&oe)&&ie<26;++ie,oe<<=1);if(ie>0)for(U.iushrn(ie);ie-- >0;)(H.isOdd()||ne.isOdd())&&(H.iadd(Z),ne.isub(X)),H.iushrn(1),ne.iushrn(1);$.cmp(U)>=0?($.isub(U),G.isub(H),q.isub(ne)):(U.isub($),H.isub(G),ne.isub(q))}return{a:H,b:ne,gcd:U.iushln(te)}},h.prototype._invmp=function(j){s(j.negative===0),s(!j.isZero());var $=this,U=j.clone();$=$.negative!==0?$.umod(j):$.clone();for(var G,q=new h(1),H=new h(0),ne=U.clone();$.cmpn(1)>0&&U.cmpn(1)>0;){for(var te=0,Z=1;!($.words[0]&Z)&&te<26;++te,Z<<=1);if(te>0)for($.iushrn(te);te-- >0;)q.isOdd()&&q.iadd(ne),q.iushrn(1);for(var X=0,Q=1;!(U.words[0]&Q)&&X<26;++X,Q<<=1);if(X>0)for(U.iushrn(X);X-- >0;)H.isOdd()&&H.iadd(ne),H.iushrn(1);$.cmp(U)>=0?($.isub(U),q.isub(H)):(U.isub($),H.isub(q))}return(G=$.cmpn(1)===0?q:H).cmpn(0)<0&&G.iadd(j),G},h.prototype.gcd=function(j){if(this.isZero())return j.abs();if(j.isZero())return this.abs();var $=this.clone(),U=j.clone();$.negative=0,U.negative=0;for(var G=0;$.isEven()&&U.isEven();G++)$.iushrn(1),U.iushrn(1);for(;;){for(;$.isEven();)$.iushrn(1);for(;U.isEven();)U.iushrn(1);var q=$.cmp(U);if(q<0){var H=$;$=U,U=H}else if(q===0||U.cmpn(1)===0)break;$.isub(U)}return U.iushln(G)},h.prototype.invm=function(j){return this.egcd(j).a.umod(j)},h.prototype.isEven=function(){return(1&this.words[0])==0},h.prototype.isOdd=function(){return(1&this.words[0])==1},h.prototype.andln=function(j){return this.words[0]&j},h.prototype.bincn=function(j){s(typeof j=="number");var $=j%26,U=(j-$)/26,G=1<<$;if(this.length<=U)return this._expand(U+1),this.words[U]|=G,this;for(var q=G,H=U;q!==0&&H>>26,ne&=67108863,this.words[H]=ne}return q!==0&&(this.words[H]=q,this.length++),this},h.prototype.isZero=function(){return this.length===1&&this.words[0]===0},h.prototype.cmpn=function(j){var $,U=j<0;if(this.negative!==0&&!U)return-1;if(this.negative===0&&U)return 1;if(this.strip(),this.length>1)$=1;else{U&&(j=-j),s(j<=67108863,"Number is too big");var G=0|this.words[0];$=G===j?0:Gj.length)return 1;if(this.length=0;U--){var G=0|this.words[U],q=0|j.words[U];if(G!==q){Gq&&($=1);break}}return $},h.prototype.gtn=function(j){return this.cmpn(j)===1},h.prototype.gt=function(j){return this.cmp(j)===1},h.prototype.gten=function(j){return this.cmpn(j)>=0},h.prototype.gte=function(j){return this.cmp(j)>=0},h.prototype.ltn=function(j){return this.cmpn(j)===-1},h.prototype.lt=function(j){return this.cmp(j)===-1},h.prototype.lten=function(j){return this.cmpn(j)<=0},h.prototype.lte=function(j){return this.cmp(j)<=0},h.prototype.eqn=function(j){return this.cmpn(j)===0},h.prototype.eq=function(j){return this.cmp(j)===0},h.red=function(j){return new N(j)},h.prototype.toRed=function(j){return s(!this.red,"Already a number in reduction context"),s(this.negative===0,"red works only with positives"),j.convertTo(this)._forceRed(j)},h.prototype.fromRed=function(){return s(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},h.prototype._forceRed=function(j){return this.red=j,this},h.prototype.forceRed=function(j){return s(!this.red,"Already a number in reduction context"),this._forceRed(j)},h.prototype.redAdd=function(j){return s(this.red,"redAdd works only with red numbers"),this.red.add(this,j)},h.prototype.redIAdd=function(j){return s(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,j)},h.prototype.redSub=function(j){return s(this.red,"redSub works only with red numbers"),this.red.sub(this,j)},h.prototype.redISub=function(j){return s(this.red,"redISub works only with red numbers"),this.red.isub(this,j)},h.prototype.redShl=function(j){return s(this.red,"redShl works only with red numbers"),this.red.shl(this,j)},h.prototype.redMul=function(j){return s(this.red,"redMul works only with red numbers"),this.red._verify2(this,j),this.red.mul(this,j)},h.prototype.redIMul=function(j){return s(this.red,"redMul works only with red numbers"),this.red._verify2(this,j),this.red.imul(this,j)},h.prototype.redSqr=function(){return s(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},h.prototype.redISqr=function(){return s(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},h.prototype.redSqrt=function(){return s(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},h.prototype.redInvm=function(){return s(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},h.prototype.redNeg=function(){return s(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},h.prototype.redPow=function(j){return s(this.red&&!j.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,j)};var R={k256:null,p224:null,p192:null,p25519:null};function I(j,$){this.name=j,this.p=new h($,16),this.n=this.p.bitLength(),this.k=new h(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function O(){I.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function z(){I.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function F(){I.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function B(){I.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function N(j){if(typeof j=="string"){var $=h._prime(j);this.m=$.p,this.prime=$}else s(j.gtn(1),"modulus must be greater than 1"),this.m=j,this.prime=null}function W(j){N.call(this,j),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new h(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}I.prototype._tmp=function(){var j=new h(null);return j.words=new Array(Math.ceil(this.n/13)),j},I.prototype.ireduce=function(j){var $,U=j;do this.split(U,this.tmp),$=(U=(U=this.imulK(U)).iadd(this.tmp)).bitLength();while($>this.n);var G=$0?U.isub(this.p):U.strip!==void 0?U.strip():U._strip(),U},I.prototype.split=function(j,$){j.iushrn(this.n,0,$)},I.prototype.imulK=function(j){return j.imul(this.k)},c(O,I),O.prototype.split=function(j,$){for(var U=4194303,G=Math.min(j.length,9),q=0;q>>22,H=ne}H>>>=22,j.words[q-10]=H,H===0&&j.length>10?j.length-=10:j.length-=9},O.prototype.imulK=function(j){j.words[j.length]=0,j.words[j.length+1]=0,j.length+=2;for(var $=0,U=0;U>>=26,j.words[U]=q,$=G}return $!==0&&(j.words[j.length++]=$),j},h._prime=function(j){if(R[j])return R[j];var $;if(j==="k256")$=new O;else if(j==="p224")$=new z;else if(j==="p192")$=new F;else{if(j!=="p25519")throw new Error("Unknown prime "+j);$=new B}return R[j]=$,$},N.prototype._verify1=function(j){s(j.negative===0,"red works only with positives"),s(j.red,"red works only with red numbers")},N.prototype._verify2=function(j,$){s((j.negative|$.negative)==0,"red works only with positives"),s(j.red&&j.red===$.red,"red works only with red numbers")},N.prototype.imod=function(j){return this.prime?this.prime.ireduce(j)._forceRed(this):j.umod(this.m)._forceRed(this)},N.prototype.neg=function(j){return j.isZero()?j.clone():this.m.sub(j)._forceRed(this)},N.prototype.add=function(j,$){this._verify2(j,$);var U=j.add($);return U.cmp(this.m)>=0&&U.isub(this.m),U._forceRed(this)},N.prototype.iadd=function(j,$){this._verify2(j,$);var U=j.iadd($);return U.cmp(this.m)>=0&&U.isub(this.m),U},N.prototype.sub=function(j,$){this._verify2(j,$);var U=j.sub($);return U.cmpn(0)<0&&U.iadd(this.m),U._forceRed(this)},N.prototype.isub=function(j,$){this._verify2(j,$);var U=j.isub($);return U.cmpn(0)<0&&U.iadd(this.m),U},N.prototype.shl=function(j,$){return this._verify1(j),this.imod(j.ushln($))},N.prototype.imul=function(j,$){return this._verify2(j,$),this.imod(j.imul($))},N.prototype.mul=function(j,$){return this._verify2(j,$),this.imod(j.mul($))},N.prototype.isqr=function(j){return this.imul(j,j.clone())},N.prototype.sqr=function(j){return this.mul(j,j)},N.prototype.sqrt=function(j){if(j.isZero())return j.clone();var $=this.m.andln(3);if(s($%2==1),$===3){var U=this.m.add(new h(1)).iushrn(2);return this.pow(j,U)}for(var G=this.m.subn(1),q=0;!G.isZero()&&G.andln(1)===0;)q++,G.iushrn(1);s(!G.isZero());var H=new h(1).toRed(this),ne=H.redNeg(),te=this.m.subn(1).iushrn(1),Z=this.m.bitLength();for(Z=new h(2*Z*Z).toRed(this);this.pow(Z,te).cmp(ne)!==0;)Z.redIAdd(ne);for(var X=this.pow(Z,G),Q=this.pow(j,G.addn(1).iushrn(1)),re=this.pow(j,G),ie=q;re.cmp(H)!==0;){for(var oe=re,ue=0;oe.cmp(H)!==0;ue++)oe=oe.redSqr();s(ue=0;G--){for(var Z=$.words[G],X=te-1;X>=0;X--){var Q=Z>>X&1;q!==U[0]&&(q=this.sqr(q)),Q!==0||H!==0?(H<<=1,H|=Q,(++ne==4||G===0&&X===0)&&(q=this.mul(q,U[H]),ne=0,H=0)):ne=0}te=26}return q},N.prototype.convertTo=function(j){var $=j.umod(this.m);return $===j?$.clone():$},N.prototype.convertFrom=function(j){var $=j.clone();return $.red=null,$},h.mont=function(j){return new W(j)},c(W,N),W.prototype.convertTo=function(j){return this.imod(j.ushln(this.shift))},W.prototype.convertFrom=function(j){var $=this.imod(j.mul(this.rinv));return $.red=null,$},W.prototype.imul=function(j,$){if(j.isZero()||$.isZero())return j.words[0]=0,j.length=1,j;var U=j.imul($),G=U.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),q=U.isub(G).iushrn(this.shift),H=q;return q.cmp(this.m)>=0?H=q.isub(this.m):q.cmpn(0)<0&&(H=q.iadd(this.m)),H._forceRed(this)},W.prototype.mul=function(j,$){if(j.isZero()||$.isZero())return new h(0)._forceRed(this);var U=j.mul($),G=U.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),q=U.isub(G).iushrn(this.shift),H=q;return q.cmp(this.m)>=0?H=q.isub(this.m):q.cmpn(0)<0&&(H=q.iadd(this.m)),H._forceRed(this)},W.prototype.invm=function(j){return this.imod(j._invmp(this.m).mul(this.r2))._forceRed(this)}})(f=a.nmd(f),this)},2692:function(f){f.exports=function(l){var a,u,o,s=l.length,c=0;for(a=0;a>>1;if(!(R<=0)){var I,O=o.mallocDouble(2*R*L),z=o.mallocInt32(L);if((L=m(k,R,O,z))>0){if(R===1&&A)s.init(L),I=s.sweepComplete(R,x,0,L,O,z,0,L,O,z);else{var F=o.mallocDouble(2*R*b),B=o.mallocInt32(b);(b=m(E,R,F,B))>0&&(s.init(L+b),I=R===1?s.sweepBipartite(R,x,0,L,O,z,0,b,F,B):c(R,x,A,L,O,z,b,F,B),o.free(F),o.free(B))}o.free(O),o.free(z)}return I}}}function y(k,E){u.push([k,E])}function S(k){return u=[],w(k,k,y,!0),u}function _(k,E){return u=[],w(k,E,y,!1),u}},7333:function(f,l){function a(u){return u?function(o,s,c,h,m,w,y,S,_,k,E){return m-h>_-S?function(x,A,L,b,R,I,O,z,F,B,N){for(var W=2*x,j=b,$=W*b;jk-_?h?function(A,L,b,R,I,O,z,F,B,N,W){for(var j=2*A,$=R,U=j*R;$0;){var te=6*(H-=1),Z=L[te],X=L[te+1],Q=L[te+2],re=L[te+3],ie=L[te+4],oe=L[te+5],ue=2*H,ce=b[ue],ye=b[ue+1],de=1&oe,me=!!(16&oe),pe=W,xe=j,Pe=U,_e=G;if(de&&(pe=U,xe=G,Pe=W,_e=j),!(2&oe&&(Q=k(z,Z,X,Q,pe,xe,ye),X>=Q)||4&oe&&(X=E(z,Z,X,Q,pe,xe,ce))>=Q)){var Me=Q-X,Se=ie-re;if(me){if(z*Me*(Me+Se)<4194304){if((q=m.scanComplete(z,Z,F,X,Q,pe,xe,re,ie,Pe,_e))!==void 0)return q;continue}}else{if(z*Math.min(Me,Se)<128){if((q=c(z,Z,F,de,X,Q,pe,xe,re,ie,Pe,_e))!==void 0)return q;continue}if(z*Me*Se<4194304){if((q=m.scanBipartite(z,Z,F,de,X,Q,pe,xe,re,ie,Pe,_e))!==void 0)return q;continue}}var Ce=S(z,Z,X,Q,pe,xe,ce,ye);if(X=p0)&&!(p1>=hi)"),_=y("lo===p0"),k=y("lo>>1,E=2*s,x=k,A=w[E*k+c];S<_;){if(_-S<8){o(s,c,S,_,w,y),A=w[E*k+c];break}var L=_-S,b=Math.random()*L+S|0,R=w[E*b+c],I=Math.random()*L+S|0,O=w[E*I+c],z=Math.random()*L+S|0,F=w[E*z+c];R<=O?F>=O?(x=I,A=O):R>=F?(x=b,A=R):(x=z,A=F):O>=F?(x=I,A=O):F>=R?(x=b,A=R):(x=z,A=F);for(var B=E*(_-1),N=E*x,W=0;Wh&&w[A+c]>E;--x,A-=S){for(var L=A,b=A+S,R=0;RE;++E,y+=w)if(c[y+k]===m)if(_===E)_+=1,S+=w;else{for(var x=0;w>x;++x){var A=c[y+x];c[y+x]=c[S],c[S++]=A}var L=h[E];h[E]=h[_],h[_++]=L}return _},"loE;++E,y+=w)if(c[y+k]x;++x){var A=c[y+x];c[y+x]=c[S],c[S++]=A}var L=h[E];h[E]=h[_],h[_++]=L}return _},"lo<=p0":function(a,u,o,s,c,h,m){for(var w=2*a,y=w*o,S=y,_=o,k=a+u,E=o;s>E;++E,y+=w)if(c[y+k]<=m)if(_===E)_+=1,S+=w;else{for(var x=0;w>x;++x){var A=c[y+x];c[y+x]=c[S],c[S++]=A}var L=h[E];h[E]=h[_],h[_++]=L}return _},"hi<=p0":function(a,u,o,s,c,h,m){for(var w=2*a,y=w*o,S=y,_=o,k=a+u,E=o;s>E;++E,y+=w)if(c[y+k]<=m)if(_===E)_+=1,S+=w;else{for(var x=0;w>x;++x){var A=c[y+x];c[y+x]=c[S],c[S++]=A}var L=h[E];h[E]=h[_],h[_++]=L}return _},"lox;++x,y+=w){var A=c[y+k],L=c[y+E];if(Ab;++b){var R=c[y+b];c[y+b]=c[S],c[S++]=R}var I=h[x];h[x]=h[_],h[_++]=I}}return _},"lo<=p0&&p0<=hi":function(a,u,o,s,c,h,m){for(var w=2*a,y=w*o,S=y,_=o,k=u,E=a+u,x=o;s>x;++x,y+=w){var A=c[y+k],L=c[y+E];if(A<=m&&m<=L)if(_===x)_+=1,S+=w;else{for(var b=0;w>b;++b){var R=c[y+b];c[y+b]=c[S],c[S++]=R}var I=h[x];h[x]=h[_],h[_++]=I}}return _},"!(lo>=p0)&&!(p1>=hi)":function(a,u,o,s,c,h,m,w){for(var y=2*a,S=y*o,_=S,k=o,E=u,x=a+u,A=o;s>A;++A,S+=y){var L=c[S+E],b=c[S+x];if(!(L>=m||w>=b))if(k===A)k+=1,_+=y;else{for(var R=0;y>R;++R){var I=c[S+R];c[S+R]=c[_],c[_++]=I}var O=h[A];h[A]=h[k],h[k++]=O}}return k}}},309:function(f){function l(w,y,S){for(var _=2*(w+1),k=w+1;k<=y;++k){for(var E=S[_++],x=S[_++],A=k,L=_-2;A-- >w;){var b=S[L-2],R=S[L-1];if(bS[y+1])}function h(w,y,S,_){var k=_[w*=2];return k>1,A=x-_,L=x+_,b=k,R=A,I=x,O=L,z=E,F=w+1,B=y-1,N=0;c(b,R,S)&&(N=b,b=R,R=N),c(O,z,S)&&(N=O,O=z,z=N),c(b,I,S)&&(N=b,b=I,I=N),c(R,I,S)&&(N=R,R=I,I=N),c(b,O,S)&&(N=b,b=O,O=N),c(I,O,S)&&(N=I,I=O,O=N),c(R,z,S)&&(N=R,R=z,z=N),c(R,I,S)&&(N=R,R=I,I=N),c(O,z,S)&&(N=O,O=z,z=N);for(var W=S[2*R],j=S[2*R+1],$=S[2*O],U=S[2*O+1],G=2*b,q=2*I,H=2*z,ne=2*k,te=2*x,Z=2*E,X=0;X<2;++X){var Q=S[G+X],re=S[q+X],ie=S[H+X];S[ne+X]=Q,S[te+X]=re,S[Z+X]=ie}u(A,w,S),u(L,y,S);for(var oe=F;oe<=B;++oe)if(h(oe,W,j,S))oe!==F&&a(oe,F,S),++F;else if(!h(oe,$,U,S))for(;;){if(h(B,$,U,S)){h(B,W,j,S)?(o(oe,F,B,S),++F,--B):(a(oe,B,S),--B);break}if(--B>>1;s(E,Z);var X=0,Q=0;for(q=0;q=c)x(y,S,Q--,re=re-c|0);else if(re>=0)x(m,w,X--,re);else if(re<=-268435456){re=-re-c|0;for(var ie=0;ie>>1;s(E,Z);var X=0,Q=0,re=0;for(q=0;q>1==E[2*q+3]>>1&&(oe=2,q+=1),ie<0){for(var ue=-(ie>>1)-1,ce=0;ce>1)-1,oe===0?x(m,w,X--,ue):oe===1?x(y,S,Q--,ue):oe===2&&x(_,k,re--,ue)}},scanBipartite:function(L,b,R,I,O,z,F,B,N,W,j,$){var U=0,G=2*L,q=b,H=b+L,ne=1,te=1;I?te=c:ne=c;for(var Z=O;Z>>1;s(E,ie);var oe=0;for(Z=0;Z=c?(ce=!I,X-=c):(ce=!!I,X-=1),ce)A(m,w,oe++,X);else{var ye=$[X],de=G*X,me=j[de+b+1],pe=j[de+b+1+L];e:for(var xe=0;xe>>1;s(E,X);var Q=0;for(H=0;H=c)m[Q++]=ne-c;else{var ie=j[ne-=1],oe=U*ne,ue=W[oe+b+1],ce=W[oe+b+1+L];e:for(var ye=0;ye=0;--ye)if(m[ye]===ne){for(xe=ye+1;xe0;){for(var A=h.pop(),L=(k=-1,E=-1,S=w[y=h.pop()],1);L=0||(c.flip(y,A),o(s,c,h,k,y,E),o(s,c,h,y,E,k),o(s,c,h,E,A,k),o(s,c,h,A,k,E))}}},7098:function(f,l,a){var u,o=a(5070);function s(h,m,w,y,S,_,k){this.cells=h,this.neighbor=m,this.flags=y,this.constraint=w,this.active=S,this.next=_,this.boundary=k}function c(h,m){return h[0]-m[0]||h[1]-m[1]||h[2]-m[2]}f.exports=function(h,m,w){var y=function(F,B){for(var N=F.cells(),W=N.length,j=0;j0||k.length>0;){for(;_.length>0;){var b=_.pop();if(E[b]!==-S){E[b]=S,x[b];for(var R=0;R<3;++R){var I=L[3*b+R];I>=0&&E[I]===0&&(A[3*b+R]?k.push(I):(_.push(I),E[I]=S))}}}var O=k;k=_,_=O,k.length=0,S=-S}var z=function(F,B,N){for(var W=0,j=0;j1&&o(x[z[F-2]],x[z[F-1]],A)>0;)k.push([z[F-1],z[F-2],L]),F-=1;z.length=F,z.push(L);var B=O.upperIds;for(F=B.length;F>1&&o(x[B[F-2]],x[B[F-1]],A)<0;)k.push([B[F-2],B[F-1],L]),F-=1;B.length=F,B.push(L)}}function y(k,E){var x;return(x=k.a[0]O[0]&&L.push(new c(O,I,2,b),new c(I,O,1,b))}L.sort(h);for(var z=L[0].a[0]-(1+Math.abs(L[0].a[0]))*Math.pow(2,-52),F=[new s([z,1],[z,0],-1,[],[])],B=[],N=(b=0,L.length);b=0}}(),s.removeTriangle=function(h,m,w){var y=this.stars;c(y[h],m,w),c(y[m],w,h),c(y[w],h,m)},s.addTriangle=function(h,m,w){var y=this.stars;y[h].push(m,w),y[m].push(w,h),y[w].push(h,m)},s.opposite=function(h,m){for(var w=this.stars[m],y=1,S=w.length;yI[2]?1:0)}function L(R,I,O){if(R.length!==0){if(I)for(var z=0;z=0;--H){var ue=$[ne=(_e=G[H])[0]],ce=ue[0],ye=ue[1],de=j[ce],me=j[ye];if((de[0]-me[0]||de[1]-me[1])<0){var pe=ce;ce=ye,ye=pe}ue[0]=ce;var xe,Pe=ue[1]=_e[1];for(q&&(xe=ue[2]);H>0&&G[H-1][0]===ne;){var _e,Me=(_e=G[--H])[1];q?$.push([Pe,Me,xe]):$.push([Pe,Me]),Pe=Me}q?$.push([Pe,ye,xe]):$.push([Pe,ye])}return te}(R,I,F,B,O),W=E(R,N);return L(I,W,O),!!W||F.length>0||B.length>0}},5528:function(f,l,a){f.exports=function(S,_,k,E){var x=h(_,S),A=h(E,k),L=y(x,A);if(c(L)===0)return null;var b=y(A,h(S,k)),R=o(b,L),I=w(x,R);return m(S,I)};var u=a(3962),o=a(9189),s=a(4354),c=a(4951),h=a(6695),m=a(7584),w=a(4469);function y(S,_){return s(u(S[0],_[1]),u(S[1],_[0]))}},5692:function(f){f.exports={jet:[{index:0,rgb:[0,0,131]},{index:.125,rgb:[0,60,170]},{index:.375,rgb:[5,255,255]},{index:.625,rgb:[255,255,0]},{index:.875,rgb:[250,0,0]},{index:1,rgb:[128,0,0]}],hsv:[{index:0,rgb:[255,0,0]},{index:.169,rgb:[253,255,2]},{index:.173,rgb:[247,255,2]},{index:.337,rgb:[0,252,4]},{index:.341,rgb:[0,252,10]},{index:.506,rgb:[1,249,255]},{index:.671,rgb:[2,0,253]},{index:.675,rgb:[8,0,253]},{index:.839,rgb:[255,0,251]},{index:.843,rgb:[255,0,245]},{index:1,rgb:[255,0,6]}],hot:[{index:0,rgb:[0,0,0]},{index:.3,rgb:[230,0,0]},{index:.6,rgb:[255,210,0]},{index:1,rgb:[255,255,255]}],spring:[{index:0,rgb:[255,0,255]},{index:1,rgb:[255,255,0]}],summer:[{index:0,rgb:[0,128,102]},{index:1,rgb:[255,255,102]}],autumn:[{index:0,rgb:[255,0,0]},{index:1,rgb:[255,255,0]}],winter:[{index:0,rgb:[0,0,255]},{index:1,rgb:[0,255,128]}],bone:[{index:0,rgb:[0,0,0]},{index:.376,rgb:[84,84,116]},{index:.753,rgb:[169,200,200]},{index:1,rgb:[255,255,255]}],copper:[{index:0,rgb:[0,0,0]},{index:.804,rgb:[255,160,102]},{index:1,rgb:[255,199,127]}],greys:[{index:0,rgb:[0,0,0]},{index:1,rgb:[255,255,255]}],yignbu:[{index:0,rgb:[8,29,88]},{index:.125,rgb:[37,52,148]},{index:.25,rgb:[34,94,168]},{index:.375,rgb:[29,145,192]},{index:.5,rgb:[65,182,196]},{index:.625,rgb:[127,205,187]},{index:.75,rgb:[199,233,180]},{index:.875,rgb:[237,248,217]},{index:1,rgb:[255,255,217]}],greens:[{index:0,rgb:[0,68,27]},{index:.125,rgb:[0,109,44]},{index:.25,rgb:[35,139,69]},{index:.375,rgb:[65,171,93]},{index:.5,rgb:[116,196,118]},{index:.625,rgb:[161,217,155]},{index:.75,rgb:[199,233,192]},{index:.875,rgb:[229,245,224]},{index:1,rgb:[247,252,245]}],yiorrd:[{index:0,rgb:[128,0,38]},{index:.125,rgb:[189,0,38]},{index:.25,rgb:[227,26,28]},{index:.375,rgb:[252,78,42]},{index:.5,rgb:[253,141,60]},{index:.625,rgb:[254,178,76]},{index:.75,rgb:[254,217,118]},{index:.875,rgb:[255,237,160]},{index:1,rgb:[255,255,204]}],bluered:[{index:0,rgb:[0,0,255]},{index:1,rgb:[255,0,0]}],rdbu:[{index:0,rgb:[5,10,172]},{index:.35,rgb:[106,137,247]},{index:.5,rgb:[190,190,190]},{index:.6,rgb:[220,170,132]},{index:.7,rgb:[230,145,90]},{index:1,rgb:[178,10,28]}],picnic:[{index:0,rgb:[0,0,255]},{index:.1,rgb:[51,153,255]},{index:.2,rgb:[102,204,255]},{index:.3,rgb:[153,204,255]},{index:.4,rgb:[204,204,255]},{index:.5,rgb:[255,255,255]},{index:.6,rgb:[255,204,255]},{index:.7,rgb:[255,153,255]},{index:.8,rgb:[255,102,204]},{index:.9,rgb:[255,102,102]},{index:1,rgb:[255,0,0]}],rainbow:[{index:0,rgb:[150,0,90]},{index:.125,rgb:[0,0,200]},{index:.25,rgb:[0,25,255]},{index:.375,rgb:[0,152,255]},{index:.5,rgb:[44,255,150]},{index:.625,rgb:[151,255,0]},{index:.75,rgb:[255,234,0]},{index:.875,rgb:[255,111,0]},{index:1,rgb:[255,0,0]}],portland:[{index:0,rgb:[12,51,131]},{index:.25,rgb:[10,136,186]},{index:.5,rgb:[242,211,56]},{index:.75,rgb:[242,143,56]},{index:1,rgb:[217,30,30]}],blackbody:[{index:0,rgb:[0,0,0]},{index:.2,rgb:[230,0,0]},{index:.4,rgb:[230,210,0]},{index:.7,rgb:[255,255,255]},{index:1,rgb:[160,200,255]}],earth:[{index:0,rgb:[0,0,130]},{index:.1,rgb:[0,180,180]},{index:.2,rgb:[40,210,40]},{index:.4,rgb:[230,230,50]},{index:.6,rgb:[120,70,20]},{index:1,rgb:[255,255,255]}],electric:[{index:0,rgb:[0,0,0]},{index:.15,rgb:[30,0,100]},{index:.4,rgb:[120,0,100]},{index:.6,rgb:[160,90,0]},{index:.8,rgb:[230,200,0]},{index:1,rgb:[255,250,220]}],alpha:[{index:0,rgb:[255,255,255,0]},{index:1,rgb:[255,255,255,1]}],viridis:[{index:0,rgb:[68,1,84]},{index:.13,rgb:[71,44,122]},{index:.25,rgb:[59,81,139]},{index:.38,rgb:[44,113,142]},{index:.5,rgb:[33,144,141]},{index:.63,rgb:[39,173,129]},{index:.75,rgb:[92,200,99]},{index:.88,rgb:[170,220,50]},{index:1,rgb:[253,231,37]}],inferno:[{index:0,rgb:[0,0,4]},{index:.13,rgb:[31,12,72]},{index:.25,rgb:[85,15,109]},{index:.38,rgb:[136,34,106]},{index:.5,rgb:[186,54,85]},{index:.63,rgb:[227,89,51]},{index:.75,rgb:[249,140,10]},{index:.88,rgb:[249,201,50]},{index:1,rgb:[252,255,164]}],magma:[{index:0,rgb:[0,0,4]},{index:.13,rgb:[28,16,68]},{index:.25,rgb:[79,18,123]},{index:.38,rgb:[129,37,129]},{index:.5,rgb:[181,54,122]},{index:.63,rgb:[229,80,100]},{index:.75,rgb:[251,135,97]},{index:.88,rgb:[254,194,135]},{index:1,rgb:[252,253,191]}],plasma:[{index:0,rgb:[13,8,135]},{index:.13,rgb:[75,3,161]},{index:.25,rgb:[125,3,168]},{index:.38,rgb:[168,34,150]},{index:.5,rgb:[203,70,121]},{index:.63,rgb:[229,107,93]},{index:.75,rgb:[248,148,65]},{index:.88,rgb:[253,195,40]},{index:1,rgb:[240,249,33]}],warm:[{index:0,rgb:[125,0,179]},{index:.13,rgb:[172,0,187]},{index:.25,rgb:[219,0,170]},{index:.38,rgb:[255,0,130]},{index:.5,rgb:[255,63,74]},{index:.63,rgb:[255,123,0]},{index:.75,rgb:[234,176,0]},{index:.88,rgb:[190,228,0]},{index:1,rgb:[147,255,0]}],cool:[{index:0,rgb:[125,0,179]},{index:.13,rgb:[116,0,218]},{index:.25,rgb:[98,74,237]},{index:.38,rgb:[68,146,231]},{index:.5,rgb:[0,204,197]},{index:.63,rgb:[0,247,146]},{index:.75,rgb:[0,255,88]},{index:.88,rgb:[40,255,8]},{index:1,rgb:[147,255,0]}],"rainbow-soft":[{index:0,rgb:[125,0,179]},{index:.1,rgb:[199,0,180]},{index:.2,rgb:[255,0,121]},{index:.3,rgb:[255,108,0]},{index:.4,rgb:[222,194,0]},{index:.5,rgb:[150,255,0]},{index:.6,rgb:[0,255,55]},{index:.7,rgb:[0,246,150]},{index:.8,rgb:[50,167,222]},{index:.9,rgb:[103,51,235]},{index:1,rgb:[124,0,186]}],bathymetry:[{index:0,rgb:[40,26,44]},{index:.13,rgb:[59,49,90]},{index:.25,rgb:[64,76,139]},{index:.38,rgb:[63,110,151]},{index:.5,rgb:[72,142,158]},{index:.63,rgb:[85,174,163]},{index:.75,rgb:[120,206,163]},{index:.88,rgb:[187,230,172]},{index:1,rgb:[253,254,204]}],cdom:[{index:0,rgb:[47,15,62]},{index:.13,rgb:[87,23,86]},{index:.25,rgb:[130,28,99]},{index:.38,rgb:[171,41,96]},{index:.5,rgb:[206,67,86]},{index:.63,rgb:[230,106,84]},{index:.75,rgb:[242,149,103]},{index:.88,rgb:[249,193,135]},{index:1,rgb:[254,237,176]}],chlorophyll:[{index:0,rgb:[18,36,20]},{index:.13,rgb:[25,63,41]},{index:.25,rgb:[24,91,59]},{index:.38,rgb:[13,119,72]},{index:.5,rgb:[18,148,80]},{index:.63,rgb:[80,173,89]},{index:.75,rgb:[132,196,122]},{index:.88,rgb:[175,221,162]},{index:1,rgb:[215,249,208]}],density:[{index:0,rgb:[54,14,36]},{index:.13,rgb:[89,23,80]},{index:.25,rgb:[110,45,132]},{index:.38,rgb:[120,77,178]},{index:.5,rgb:[120,113,213]},{index:.63,rgb:[115,151,228]},{index:.75,rgb:[134,185,227]},{index:.88,rgb:[177,214,227]},{index:1,rgb:[230,241,241]}],"freesurface-blue":[{index:0,rgb:[30,4,110]},{index:.13,rgb:[47,14,176]},{index:.25,rgb:[41,45,236]},{index:.38,rgb:[25,99,212]},{index:.5,rgb:[68,131,200]},{index:.63,rgb:[114,156,197]},{index:.75,rgb:[157,181,203]},{index:.88,rgb:[200,208,216]},{index:1,rgb:[241,237,236]}],"freesurface-red":[{index:0,rgb:[60,9,18]},{index:.13,rgb:[100,17,27]},{index:.25,rgb:[142,20,29]},{index:.38,rgb:[177,43,27]},{index:.5,rgb:[192,87,63]},{index:.63,rgb:[205,125,105]},{index:.75,rgb:[216,162,148]},{index:.88,rgb:[227,199,193]},{index:1,rgb:[241,237,236]}],oxygen:[{index:0,rgb:[64,5,5]},{index:.13,rgb:[106,6,15]},{index:.25,rgb:[144,26,7]},{index:.38,rgb:[168,64,3]},{index:.5,rgb:[188,100,4]},{index:.63,rgb:[206,136,11]},{index:.75,rgb:[220,174,25]},{index:.88,rgb:[231,215,44]},{index:1,rgb:[248,254,105]}],par:[{index:0,rgb:[51,20,24]},{index:.13,rgb:[90,32,35]},{index:.25,rgb:[129,44,34]},{index:.38,rgb:[159,68,25]},{index:.5,rgb:[182,99,19]},{index:.63,rgb:[199,134,22]},{index:.75,rgb:[212,171,35]},{index:.88,rgb:[221,210,54]},{index:1,rgb:[225,253,75]}],phase:[{index:0,rgb:[145,105,18]},{index:.13,rgb:[184,71,38]},{index:.25,rgb:[186,58,115]},{index:.38,rgb:[160,71,185]},{index:.5,rgb:[110,97,218]},{index:.63,rgb:[50,123,164]},{index:.75,rgb:[31,131,110]},{index:.88,rgb:[77,129,34]},{index:1,rgb:[145,105,18]}],salinity:[{index:0,rgb:[42,24,108]},{index:.13,rgb:[33,50,162]},{index:.25,rgb:[15,90,145]},{index:.38,rgb:[40,118,137]},{index:.5,rgb:[59,146,135]},{index:.63,rgb:[79,175,126]},{index:.75,rgb:[120,203,104]},{index:.88,rgb:[193,221,100]},{index:1,rgb:[253,239,154]}],temperature:[{index:0,rgb:[4,35,51]},{index:.13,rgb:[23,51,122]},{index:.25,rgb:[85,59,157]},{index:.38,rgb:[129,79,143]},{index:.5,rgb:[175,95,130]},{index:.63,rgb:[222,112,101]},{index:.75,rgb:[249,146,66]},{index:.88,rgb:[249,196,65]},{index:1,rgb:[232,250,91]}],turbidity:[{index:0,rgb:[34,31,27]},{index:.13,rgb:[65,50,41]},{index:.25,rgb:[98,69,52]},{index:.38,rgb:[131,89,57]},{index:.5,rgb:[161,112,59]},{index:.63,rgb:[185,140,66]},{index:.75,rgb:[202,174,88]},{index:.88,rgb:[216,209,126]},{index:1,rgb:[233,246,171]}],"velocity-blue":[{index:0,rgb:[17,32,64]},{index:.13,rgb:[35,52,116]},{index:.25,rgb:[29,81,156]},{index:.38,rgb:[31,113,162]},{index:.5,rgb:[50,144,169]},{index:.63,rgb:[87,173,176]},{index:.75,rgb:[149,196,189]},{index:.88,rgb:[203,221,211]},{index:1,rgb:[254,251,230]}],"velocity-green":[{index:0,rgb:[23,35,19]},{index:.13,rgb:[24,64,38]},{index:.25,rgb:[11,95,45]},{index:.38,rgb:[39,123,35]},{index:.5,rgb:[95,146,12]},{index:.63,rgb:[152,165,18]},{index:.75,rgb:[201,186,69]},{index:.88,rgb:[233,216,137]},{index:1,rgb:[255,253,205]}],cubehelix:[{index:0,rgb:[0,0,0]},{index:.07,rgb:[22,5,59]},{index:.13,rgb:[60,4,105]},{index:.2,rgb:[109,1,135]},{index:.27,rgb:[161,0,147]},{index:.33,rgb:[210,2,142]},{index:.4,rgb:[251,11,123]},{index:.47,rgb:[255,29,97]},{index:.53,rgb:[255,54,69]},{index:.6,rgb:[255,85,46]},{index:.67,rgb:[255,120,34]},{index:.73,rgb:[255,157,37]},{index:.8,rgb:[241,191,57]},{index:.87,rgb:[224,220,93]},{index:.93,rgb:[218,241,142]},{index:1,rgb:[227,253,198]}]}},9156:function(f,l,a){var u=a(5692),o=a(3578);function s(m){return[m[0]/255,m[1]/255,m[2]/255,m[3]]}function c(m){for(var w,y="#",S=0;S<3;++S)y+=("00"+(w=(w=m[S]).toString(16))).substr(w.length);return y}function h(m){return"rgba("+m.join(",")+")"}f.exports=function(m){var w,y,S,_,k,E,x,A,L,b;if(m||(m={}),A=(m.nshades||72)-1,x=m.format||"hex",(E=m.colormap)||(E="jet"),typeof E=="string"){if(E=E.toLowerCase(),!u[E])throw Error(E+" not a supported colorscale");k=u[E]}else{if(!Array.isArray(E))throw Error("unsupported colormap option",E);k=E.slice()}if(k.length>A+1)throw new Error(E+" map requires nshades to be at least size "+k.length);L=Array.isArray(m.alpha)?m.alpha.length!==2?[1,1]:m.alpha.slice():typeof m.alpha=="number"?[m.alpha,m.alpha]:[1,1],w=k.map(function(F){return Math.round(F.index*A)}),L[0]=Math.min(Math.max(L[0],0),1),L[1]=Math.min(Math.max(L[1],0),1);var R=k.map(function(F,B){var N=k[B].index,W=k[B].rgb.slice();return W.length===4&&W[3]>=0&&W[3]<=1||(W[3]=L[0]+(L[1]-L[0])*N),W}),I=[];for(b=0;b0||m(w,y,_)?-1:1:E===0?x>0||m(w,y,S)?1:-1:o(x-E)}var L=u(w,y,S);return L>0?k>0&&u(w,y,_)>0?1:-1:L<0?k>0||u(w,y,_)>0?1:-1:u(w,y,_)>0||m(w,y,S)?1:-1};var u=a(417),o=a(7538),s=a(87),c=a(2019),h=a(9662);function m(w,y,S){var _=s(w[0],-y[0]),k=s(w[1],-y[1]),E=s(S[0],-y[0]),x=s(S[1],-y[1]),A=h(c(_,E),c(k,x));return A[A.length-1]>=0}},7538:function(f){f.exports=function(l){return l<0?-1:l>0?1:0}},9209:function(f){f.exports=function(u,o){var s=u.length,c=u.length-o.length;if(c)return c;switch(s){case 0:return 0;case 1:return u[0]-o[0];case 2:return u[0]+u[1]-o[0]-o[1]||l(u[0],u[1])-l(o[0],o[1]);case 3:var h=u[0]+u[1],m=o[0]+o[1];if(c=h+u[2]-(m+o[2]))return c;var w=l(u[0],u[1]),y=l(o[0],o[1]);return l(w,u[2])-l(y,o[2])||l(w+u[2],h)-l(y+o[2],m);case 4:var S=u[0],_=u[1],k=u[2],E=u[3],x=o[0],A=o[1],L=o[2],b=o[3];return S+_+k+E-(x+A+L+b)||l(S,_,k,E)-l(x,A,L,b,x)||l(S+_,S+k,S+E,_+k,_+E,k+E)-l(x+A,x+L,x+b,A+L,A+b,L+b)||l(S+_+k,S+_+E,S+k+E,_+k+E)-l(x+A+L,x+A+b,x+L+b,A+L+b);default:for(var R=u.slice().sort(a),I=o.slice().sort(a),O=0;Ol[u][0]&&(u=o);return au?[[u],[a]]:[[a]]}},8722:function(f,l,a){f.exports=function(o){var s=u(o),c=s.length;if(c<=2)return[];for(var h=new Array(c),m=s[c-1],w=0;w=S[b]&&(L+=1);x[A]=L}}return y}(u(m,!0),h)}};var u=a(2183),o=a(2153)},9680:function(f){f.exports=function(l,a,u,o,s,c){var h=s-1,m=s*s,w=h*h,y=(1+2*s)*w,S=s*w,_=m*(3-2*s),k=m*h;if(l.length){c||(c=new Array(l.length));for(var E=l.length-1;E>=0;--E)c[E]=y*l[E]+S*a[E]+_*u[E]+k*o[E];return c}return y*l+S*a+_*u+k*o},f.exports.derivative=function(l,a,u,o,s,c){var h=6*s*s-6*s,m=3*s*s-4*s+1,w=-6*s*s+6*s,y=3*s*s-2*s;if(l.length){c||(c=new Array(l.length));for(var S=l.length-1;S>=0;--S)c[S]=h*l[S]+m*a[S]+w*u[S]+y*o[S];return c}return h*l+m*a+w*u[S]+y*o}},4419:function(f,l,a){var u=a(2183),o=a(1215);function s(h,m){this.point=h,this.index=m}function c(h,m){for(var w=h.point,y=m.point,S=w.length,_=0;_=2)return!1;N[j]=$}return!0}):B.filter(function(N){for(var W=0;W<=y;++W){var j=I[N[W]];if(j<0)return!1;N[W]=j}return!0}),1&y)for(k=0;k>>31},f.exports.exponent=function(s){return(f.exports.hi(s)<<1>>>21)-1023},f.exports.fraction=function(s){var c=f.exports.lo(s),h=f.exports.hi(s),m=1048575&h;return 2146435072&h&&(m+=1048576),[c,m]},f.exports.denormalized=function(s){return!(2146435072&f.exports.hi(s))}},3094:function(f){function l(a,u,o){var s=0|a[o];if(s<=0)return[];var c,h=new Array(s);if(o===a.length-1)for(c=0;c0)return function(o,s){var c,h;for(c=new Array(o),h=0;h=S-1){b=E.length-1;var I=w-y[S-1];for(R=0;R=S-1)for(var L=E.length-1,b=(y[S-1],0);b=0;--S)if(w[--y])return!1;return!0},h.jump=function(w){var y=this.lastT(),S=this.dimension;if(!(w0;--R)_.push(s(A[R-1],L[R-1],arguments[R])),k.push(0)}},h.push=function(w){var y=this.lastT(),S=this.dimension;if(!(w1e-6?1/x:0;this._time.push(w);for(var I=S;I>0;--I){var O=s(L[I-1],b[I-1],arguments[I]);_.push(O),k.push((O-_[E++])*R)}}},h.set=function(w){var y=this.dimension;if(!(w0;--A)S.push(s(E[A-1],x[A-1],arguments[A])),_.push(0)}},h.move=function(w){var y=this.lastT(),S=this.dimension;if(!(w<=y||arguments.length!==S+1)){var _=this._state,k=this._velocity,E=_.length-this.dimension,x=this.bounds,A=x[0],L=x[1],b=w-y,R=b>1e-6?1/b:0;this._time.push(w);for(var I=S;I>0;--I){var O=arguments[I];_.push(s(A[I-1],L[I-1],_[E++]+O)),k.push(O*R)}}},h.idle=function(w){var y=this.lastT();if(!(w=0;--R)_.push(s(A[R],L[R],_[E]+b*k[E])),k.push(0),E+=1}}},7080:function(f){function l(E,x,A,L,b,R){this._color=E,this.key=x,this.value=A,this.left=L,this.right=b,this._count=R}function a(E){return new l(E._color,E.key,E.value,E.left,E.right,E._count)}function u(E,x){return new l(E,x.key,x.value,x.left,x.right,x._count)}function o(E){E._count=1+(E.left?E.left._count:0)+(E.right?E.right._count:0)}function s(E,x){this._compare=E,this.root=x}f.exports=function(E){return new s(E||k,null)};var c=s.prototype;function h(E,x){var A;return x.left&&(A=h(E,x.left))?A:(A=E(x.key,x.value))||(x.right?h(E,x.right):void 0)}function m(E,x,A,L){if(x(E,L.key)<=0){var b;if(L.left&&(b=m(E,x,A,L.left))||(b=A(L.key,L.value)))return b}if(L.right)return m(E,x,A,L.right)}function w(E,x,A,L,b){var R,I=A(E,b.key),O=A(x,b.key);if(I<=0&&(b.left&&(R=w(E,x,A,L,b.left))||O>0&&(R=L(b.key,b.value))))return R;if(O>0&&b.right)return w(E,x,A,L,b.right)}function y(E,x){this.tree=E,this._stack=x}Object.defineProperty(c,"keys",{get:function(){var E=[];return this.forEach(function(x,A){E.push(x)}),E}}),Object.defineProperty(c,"values",{get:function(){var E=[];return this.forEach(function(x,A){E.push(A)}),E}}),Object.defineProperty(c,"length",{get:function(){return this.root?this.root._count:0}}),c.insert=function(E,x){for(var A=this._compare,L=this.root,b=[],R=[];L;){var I=A(E,L.key);b.push(L),R.push(I),L=I<=0?L.left:L.right}b.push(new l(0,E,x,null,null,1));for(var O=b.length-2;O>=0;--O)L=b[O],R[O]<=0?b[O]=new l(L._color,L.key,L.value,b[O+1],L.right,L._count+1):b[O]=new l(L._color,L.key,L.value,L.left,b[O+1],L._count+1);for(O=b.length-1;O>1;--O){var z=b[O-1];if(L=b[O],z._color===1||L._color===1)break;var F=b[O-2];if(F.left===z)if(z.left===L){if(!(B=F.right)||B._color!==0){F._color=0,F.left=z.right,z._color=1,z.right=F,b[O-2]=z,b[O-1]=L,o(F),o(z),O>=3&&((N=b[O-3]).left===F?N.left=z:N.right=z);break}z._color=1,F.right=u(1,B),F._color=0,O-=1}else{if(!(B=F.right)||B._color!==0){z.right=L.left,F._color=0,F.left=L.right,L._color=1,L.left=z,L.right=F,b[O-2]=L,b[O-1]=z,o(F),o(z),o(L),O>=3&&((N=b[O-3]).left===F?N.left=L:N.right=L);break}z._color=1,F.right=u(1,B),F._color=0,O-=1}else if(z.right===L){if(!(B=F.left)||B._color!==0){F._color=0,F.right=z.left,z._color=1,z.left=F,b[O-2]=z,b[O-1]=L,o(F),o(z),O>=3&&((N=b[O-3]).right===F?N.right=z:N.left=z);break}z._color=1,F.left=u(1,B),F._color=0,O-=1}else{var B;if(!(B=F.left)||B._color!==0){var N;z.left=L.right,F._color=0,F.right=L.left,L._color=1,L.right=z,L.left=F,b[O-2]=L,b[O-1]=z,o(F),o(z),o(L),O>=3&&((N=b[O-3]).right===F?N.right=L:N.left=L);break}z._color=1,F.left=u(1,B),F._color=0,O-=1}}return b[0]._color=1,new s(A,b[0])},c.forEach=function(E,x,A){if(this.root)switch(arguments.length){case 1:return h(E,this.root);case 2:return m(x,this._compare,E,this.root);case 3:return this._compare(x,A)>=0?void 0:w(x,A,this._compare,E,this.root)}},Object.defineProperty(c,"begin",{get:function(){for(var E=[],x=this.root;x;)E.push(x),x=x.left;return new y(this,E)}}),Object.defineProperty(c,"end",{get:function(){for(var E=[],x=this.root;x;)E.push(x),x=x.right;return new y(this,E)}}),c.at=function(E){if(E<0)return new y(this,[]);for(var x=this.root,A=[];;){if(A.push(x),x.left){if(E=x.right._count)break;x=x.right}return new y(this,[])},c.ge=function(E){for(var x=this._compare,A=this.root,L=[],b=0;A;){var R=x(E,A.key);L.push(A),R<=0&&(b=L.length),A=R<=0?A.left:A.right}return L.length=b,new y(this,L)},c.gt=function(E){for(var x=this._compare,A=this.root,L=[],b=0;A;){var R=x(E,A.key);L.push(A),R<0&&(b=L.length),A=R<0?A.left:A.right}return L.length=b,new y(this,L)},c.lt=function(E){for(var x=this._compare,A=this.root,L=[],b=0;A;){var R=x(E,A.key);L.push(A),R>0&&(b=L.length),A=R<=0?A.left:A.right}return L.length=b,new y(this,L)},c.le=function(E){for(var x=this._compare,A=this.root,L=[],b=0;A;){var R=x(E,A.key);L.push(A),R>=0&&(b=L.length),A=R<0?A.left:A.right}return L.length=b,new y(this,L)},c.find=function(E){for(var x=this._compare,A=this.root,L=[];A;){var b=x(E,A.key);if(L.push(A),b===0)return new y(this,L);A=b<=0?A.left:A.right}return new y(this,[])},c.remove=function(E){var x=this.find(E);return x?x.remove():this},c.get=function(E){for(var x=this._compare,A=this.root;A;){var L=x(E,A.key);if(L===0)return A.value;A=L<=0?A.left:A.right}};var S=y.prototype;function _(E,x){E.key=x.key,E.value=x.value,E.left=x.left,E.right=x.right,E._color=x._color,E._count=x._count}function k(E,x){return Ex?1:0}Object.defineProperty(S,"valid",{get:function(){return this._stack.length>0}}),Object.defineProperty(S,"node",{get:function(){return this._stack.length>0?this._stack[this._stack.length-1]:null},enumerable:!0}),S.clone=function(){return new y(this.tree,this._stack.slice())},S.remove=function(){var E=this._stack;if(E.length===0)return this.tree;var x=new Array(E.length),A=E[E.length-1];x[x.length-1]=new l(A._color,A.key,A.value,A.left,A.right,A._count);for(var L=E.length-2;L>=0;--L)(A=E[L]).left===E[L+1]?x[L]=new l(A._color,A.key,A.value,x[L+1],A.right,A._count):x[L]=new l(A._color,A.key,A.value,A.left,x[L+1],A._count);if((A=x[x.length-1]).left&&A.right){var b=x.length;for(A=A.left;A.right;)x.push(A),A=A.right;var R=x[b-1];for(x.push(new l(A._color,R.key,R.value,A.left,A.right,A._count)),x[b-1].key=A.key,x[b-1].value=A.value,L=x.length-2;L>=b;--L)A=x[L],x[L]=new l(A._color,A.key,A.value,A.left,x[L+1],A._count);x[b-1].left=x[b]}if((A=x[x.length-1])._color===0){var I=x[x.length-2];for(I.left===A?I.left=null:I.right===A&&(I.right=null),x.pop(),L=0;L=0;--j){if(F=z[j],j===0)return void(F._color=1);if((B=z[j-1]).left===F){if((N=B.right).right&&N.right._color===0)return W=(N=B.right=a(N)).right=a(N.right),B.right=N.left,N.left=B,N.right=W,N._color=B._color,F._color=1,B._color=1,W._color=1,o(B),o(N),j>1&&(($=z[j-2]).left===B?$.left=N:$.right=N),void(z[j-1]=N);if(N.left&&N.left._color===0)return W=(N=B.right=a(N)).left=a(N.left),B.right=W.left,N.left=W.right,W.left=B,W.right=N,W._color=B._color,B._color=1,N._color=1,F._color=1,o(B),o(N),o(W),j>1&&(($=z[j-2]).left===B?$.left=W:$.right=W),void(z[j-1]=W);if(N._color===1){if(B._color===0)return B._color=1,void(B.right=u(0,N));B.right=u(0,N);continue}N=a(N),B.right=N.left,N.left=B,N._color=B._color,B._color=0,o(B),o(N),j>1&&(($=z[j-2]).left===B?$.left=N:$.right=N),z[j-1]=N,z[j]=B,j+11&&(($=z[j-2]).right===B?$.right=N:$.left=N),void(z[j-1]=N);if(N.right&&N.right._color===0)return W=(N=B.left=a(N)).right=a(N.right),B.left=W.right,N.right=W.left,W.right=B,W.left=N,W._color=B._color,B._color=1,N._color=1,F._color=1,o(B),o(N),o(W),j>1&&(($=z[j-2]).right===B?$.right=W:$.left=W),void(z[j-1]=W);if(N._color===1){if(B._color===0)return B._color=1,void(B.left=u(0,N));B.left=u(0,N);continue}var $;N=a(N),B.left=N.right,N.right=B,N._color=B._color,B._color=0,o(B),o(N),j>1&&(($=z[j-2]).right===B?$.right=N:$.left=N),z[j-1]=N,z[j]=B,j+10)return this._stack[this._stack.length-1].key},enumerable:!0}),Object.defineProperty(S,"value",{get:function(){if(this._stack.length>0)return this._stack[this._stack.length-1].value},enumerable:!0}),Object.defineProperty(S,"index",{get:function(){var E=0,x=this._stack;if(x.length===0){var A=this.tree.root;return A?A._count:0}x[x.length-1].left&&(E=x[x.length-1].left._count);for(var L=x.length-2;L>=0;--L)x[L+1]===x[L].right&&(++E,x[L].left&&(E+=x[L].left._count));return E},enumerable:!0}),S.next=function(){var E=this._stack;if(E.length!==0){var x=E[E.length-1];if(x.right)for(x=x.right;x;)E.push(x),x=x.left;else for(E.pop();E.length>0&&E[E.length-1].right===x;)x=E[E.length-1],E.pop()}},Object.defineProperty(S,"hasNext",{get:function(){var E=this._stack;if(E.length===0)return!1;if(E[E.length-1].right)return!0;for(var x=E.length-1;x>0;--x)if(E[x-1].left===E[x])return!0;return!1}}),S.update=function(E){var x=this._stack;if(x.length===0)throw new Error("Can't update empty node!");var A=new Array(x.length),L=x[x.length-1];A[A.length-1]=new l(L._color,L.key,E,L.left,L.right,L._count);for(var b=x.length-2;b>=0;--b)(L=x[b]).left===x[b+1]?A[b]=new l(L._color,L.key,L.value,A[b+1],L.right,L._count):A[b]=new l(L._color,L.key,L.value,L.left,A[b+1],L._count);return new s(this.tree._compare,A[0])},S.prev=function(){var E=this._stack;if(E.length!==0){var x=E[E.length-1];if(x.left)for(x=x.left;x;)E.push(x),x=x.right;else for(E.pop();E.length>0&&E[E.length-1].left===x;)x=E[E.length-1],E.pop()}},Object.defineProperty(S,"hasPrev",{get:function(){var E=this._stack;if(E.length===0)return!1;if(E[E.length-1].left)return!0;for(var x=E.length-1;x>0;--x)if(E[x-1].right===E[x])return!0;return!1}})},7453:function(f,l,a){f.exports=function(I,O){var z=new y(I);return z.update(O),z};var u=a(9557),o=a(1681),s=a(1011),c=a(2864),h=a(8468),m=new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]);function w(I,O){return I[0]=O[0],I[1]=O[1],I[2]=O[2],I}function y(I){this.gl=I,this.pixelRatio=1,this.bounds=[[-10,-10,-10],[10,10,10]],this.ticks=[[],[],[]],this.autoTicks=!0,this.tickSpacing=[1,1,1],this.tickEnable=[!0,!0,!0],this.tickFont=["sans-serif","sans-serif","sans-serif"],this.tickSize=[12,12,12],this.tickAngle=[0,0,0],this.tickAlign=["auto","auto","auto"],this.tickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.tickPad=[10,10,10],this.lastCubeProps={cubeEdges:[0,0,0],axis:[0,0,0]},this.labels=["x","y","z"],this.labelEnable=[!0,!0,!0],this.labelFont="sans-serif",this.labelSize=[20,20,20],this.labelAngle=[0,0,0],this.labelAlign=["auto","auto","auto"],this.labelColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.labelPad=[10,10,10],this.lineEnable=[!0,!0,!0],this.lineMirror=[!1,!1,!1],this.lineWidth=[1,1,1],this.lineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.lineTickEnable=[!0,!0,!0],this.lineTickMirror=[!1,!1,!1],this.lineTickLength=[0,0,0],this.lineTickWidth=[1,1,1],this.lineTickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.gridEnable=[!0,!0,!0],this.gridWidth=[1,1,1],this.gridColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroEnable=[!0,!0,!0],this.zeroLineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroLineWidth=[2,2,2],this.backgroundEnable=[!1,!1,!1],this.backgroundColor=[[.8,.8,.8,.5],[.8,.8,.8,.5],[.8,.8,.8,.5]],this._firstInit=!0,this._text=null,this._lines=null,this._background=s(I)}var S=y.prototype;function _(){this.primalOffset=[0,0,0],this.primalMinor=[0,0,0],this.mirrorOffset=[0,0,0],this.mirrorMinor=[0,0,0]}S.update=function(I){function O(ne,te,Z){if(Z in I){var X,Q=I[Z],re=this[Z];(ne?Array.isArray(Q)&&Array.isArray(Q[0]):Array.isArray(Q))?this[Z]=X=[te(Q[0]),te(Q[1]),te(Q[2])]:this[Z]=X=[te(Q),te(Q),te(Q)];for(var ie=0;ie<3;++ie)if(X[ie]!==re[ie])return!0}return!1}I=I||{};var z,F=O.bind(this,!1,Number),B=O.bind(this,!1,Boolean),N=O.bind(this,!1,String),W=O.bind(this,!0,function(ne){if(Array.isArray(ne)){if(ne.length===3)return[+ne[0],+ne[1],+ne[2],1];if(ne.length===4)return[+ne[0],+ne[1],+ne[2],+ne[3]]}return[0,0,0,1]}),j=!1,$=!1;if("bounds"in I)for(var U=I.bounds,G=0;G<2;++G)for(var q=0;q<3;++q)U[G][q]!==this.bounds[G][q]&&($=!0),this.bounds[G][q]=U[G][q];if("ticks"in I)for(z=I.ticks,j=!0,this.autoTicks=!1,G=0;G<3;++G)this.tickSpacing[G]=0;else F("tickSpacing")&&(this.autoTicks=!0,$=!0);if(this._firstInit&&("ticks"in I||"tickSpacing"in I||(this.autoTicks=!0),$=!0,j=!0,this._firstInit=!1),$&&this.autoTicks&&(z=h.create(this.bounds,this.tickSpacing),j=!0),j){for(G=0;G<3;++G)z[G].sort(function(ne,te){return ne.x-te.x});h.equal(z,this.ticks)?j=!1:this.ticks=z}B("tickEnable"),N("tickFont")&&(j=!0),F("tickSize"),F("tickAngle"),F("tickPad"),W("tickColor");var H=N("labels");N("labelFont")&&(H=!0),B("labelEnable"),F("labelSize"),F("labelPad"),W("labelColor"),B("lineEnable"),B("lineMirror"),F("lineWidth"),W("lineColor"),B("lineTickEnable"),B("lineTickMirror"),F("lineTickLength"),F("lineTickWidth"),W("lineTickColor"),B("gridEnable"),F("gridWidth"),W("gridColor"),B("zeroEnable"),W("zeroLineColor"),F("zeroLineWidth"),B("backgroundEnable"),W("backgroundColor"),this._text?this._text&&(H||j)&&this._text.update(this.bounds,this.labels,this.labelFont,this.ticks,this.tickFont):this._text=u(this.gl,this.bounds,this.labels,this.labelFont,this.ticks,this.tickFont),this._lines&&j&&(this._lines.dispose(),this._lines=null),this._lines||(this._lines=o(this.gl,this.bounds,this.ticks))};var k=[new _,new _,new _];function E(I,O,z,F,B){for(var N=I.primalOffset,W=I.primalMinor,j=I.mirrorOffset,$=I.mirrorMinor,U=F[O],G=0;G<3;++G)if(O!==G){var q=N,H=j,ne=W,te=$;U&1<0?(ne[G]=-1,te[G]=0):(ne[G]=0,te[G]=1)}}var x=[0,0,0],A={model:m,view:m,projection:m,_ortho:!1};S.isOpaque=function(){return!0},S.isTransparent=function(){return!1},S.drawTransparent=function(I){};var L=[0,0,0],b=[0,0,0],R=[0,0,0];S.draw=function(I){I=I||A;for(var O=this.gl,z=I.model||m,F=I.view||m,B=I.projection||m,N=this.bounds,W=I._ortho||!1,j=c(z,F,B,N,W),$=j.cubeEdges,U=j.axis,G=F[12],q=F[13],H=F[14],ne=F[15],te=(W?2:1)*this.pixelRatio*(B[3]*G+B[7]*q+B[11]*H+B[15]*ne)/O.drawingBufferHeight,Z=0;Z<3;++Z)this.lastCubeProps.cubeEdges[Z]=$[Z],this.lastCubeProps.axis[Z]=U[Z];var X=k;for(Z=0;Z<3;++Z)E(k[Z],Z,this.bounds,$,U);O=this.gl;var Q,re,ie,oe=x;for(Z=0;Z<3;++Z)this.backgroundEnable[Z]?oe[Z]=U[Z]:oe[Z]=0;for(this._background.draw(z,F,B,N,oe,this.backgroundColor),this._lines.bind(z,F,B,this),Z=0;Z<3;++Z){var ue=[0,0,0];U[Z]>0?ue[Z]=N[1][Z]:ue[Z]=N[0][Z];for(var ce=0;ce<2;++ce){var ye=(Z+1+ce)%3,de=(Z+1+(1^ce))%3;this.gridEnable[ye]&&this._lines.drawGrid(ye,de,this.bounds,ue,this.gridColor[ye],this.gridWidth[ye]*this.pixelRatio)}for(ce=0;ce<2;++ce)ye=(Z+1+ce)%3,de=(Z+1+(1^ce))%3,this.zeroEnable[de]&&Math.min(N[0][de],N[1][de])<=0&&Math.max(N[0][de],N[1][de])>=0&&this._lines.drawZero(ye,de,this.bounds,ue,this.zeroLineColor[de],this.zeroLineWidth[de]*this.pixelRatio)}for(Z=0;Z<3;++Z){this.lineEnable[Z]&&this._lines.drawAxisLine(Z,this.bounds,X[Z].primalOffset,this.lineColor[Z],this.lineWidth[Z]*this.pixelRatio),this.lineMirror[Z]&&this._lines.drawAxisLine(Z,this.bounds,X[Z].mirrorOffset,this.lineColor[Z],this.lineWidth[Z]*this.pixelRatio);var me=w(L,X[Z].primalMinor),pe=w(b,X[Z].mirrorMinor),xe=this.lineTickLength;for(ce=0;ce<3;++ce){var Pe=te/z[5*ce];me[ce]*=xe[ce]*Pe,pe[ce]*=xe[ce]*Pe}this.lineTickEnable[Z]&&this._lines.drawAxisTicks(Z,X[Z].primalOffset,me,this.lineTickColor[Z],this.lineTickWidth[Z]*this.pixelRatio),this.lineTickMirror[Z]&&this._lines.drawAxisTicks(Z,X[Z].mirrorOffset,pe,this.lineTickColor[Z],this.lineTickWidth[Z]*this.pixelRatio)}function _e(be){(ie=[0,0,0])[be]=1}function Me(be,ke,Le){var Be=(be+1)%3,ze=(be+2)%3,je=ke[Be],ge=ke[ze],we=Le[Be],Ee=Le[ze];je>0&&Ee>0||je>0&&Ee<0||je<0&&Ee>0||je<0&&Ee<0?_e(Be):(ge>0&&we>0||ge>0&&we<0||ge<0&&we>0||ge<0&&we<0)&&_e(ze)}for(this._lines.unbind(),this._text.bind(z,F,B,this.pixelRatio),Z=0;Z<3;++Z){var Se=X[Z].primalMinor,Ce=X[Z].mirrorMinor,ae=w(R,X[Z].primalOffset);for(ce=0;ce<3;++ce)this.lineTickEnable[Z]&&(ae[ce]+=te*Se[ce]*Math.max(this.lineTickLength[ce],0)/z[5*ce]);var fe=[0,0,0];if(fe[Z]=1,this.tickEnable[Z]){for(this.tickAngle[Z]===-3600?(this.tickAngle[Z]=0,this.tickAlign[Z]="auto"):this.tickAlign[Z]=-1,re=1,(Q=[this.tickAlign[Z],.5,re])[0]==="auto"?Q[0]=0:Q[0]=parseInt(""+Q[0]),ie=[0,0,0],Me(Z,Se,Ce),ce=0;ce<3;++ce)ae[ce]+=te*Se[ce]*this.tickPad[ce]/z[5*ce];this._text.drawTicks(Z,this.tickSize[Z],this.tickAngle[Z],ae,this.tickColor[Z],fe,ie,Q)}if(this.labelEnable[Z]){for(re=0,ie=[0,0,0],this.labels[Z].length>4&&(_e(Z),re=1),(Q=[this.labelAlign[Z],.5,re])[0]==="auto"?Q[0]=0:Q[0]=parseInt(""+Q[0]),ce=0;ce<3;++ce)ae[ce]+=te*Se[ce]*this.labelPad[ce]/z[5*ce];ae[Z]+=.5*(N[0][Z]+N[1][Z]),this._text.drawLabel(Z,this.labelSize[Z],this.labelAngle[Z],ae,this.labelColor[Z],[0,0,0],ie,Q)}}this._text.unbind()},S.dispose=function(){this._text.dispose(),this._lines.dispose(),this._background.dispose(),this._lines=null,this._text=null,this._background=null,this.gl=null}},1011:function(f,l,a){f.exports=function(m){for(var w=[],y=[],S=0,_=0;_<3;++_)for(var k=(_+1)%3,E=(_+2)%3,x=[0,0,0],A=[0,0,0],L=-1;L<=1;L+=2){y.push(S,S+2,S+1,S+1,S+2,S+3),x[_]=L,A[_]=L;for(var b=-1;b<=1;b+=2){x[k]=b;for(var R=-1;R<=1;R+=2)x[E]=R,w.push(x[0],x[1],x[2],A[0],A[1],A[2]),S+=1}var I=k;k=E,E=I}var O=u(m,new Float32Array(w)),z=u(m,new Uint16Array(y),m.ELEMENT_ARRAY_BUFFER),F=o(m,[{buffer:O,type:m.FLOAT,size:3,offset:0,stride:24},{buffer:O,type:m.FLOAT,size:3,offset:12,stride:24}],z),B=s(m);return B.attributes.position.location=0,B.attributes.normal.location=1,new c(m,O,F,B)};var u=a(5827),o=a(2944),s=a(1943).bg;function c(m,w,y,S){this.gl=m,this.buffer=w,this.vao=y,this.shader=S}var h=c.prototype;h.draw=function(m,w,y,S,_,k){for(var E=!1,x=0;x<3;++x)E=E||_[x];if(E){var A=this.gl;A.enable(A.POLYGON_OFFSET_FILL),A.polygonOffset(1,2),this.shader.bind(),this.shader.uniforms={model:m,view:w,projection:y,bounds:S,enable:_,colors:k},this.vao.bind(),this.vao.draw(this.gl.TRIANGLES,36),this.vao.unbind(),A.disable(A.POLYGON_OFFSET_FILL)}},h.dispose=function(){this.vao.dispose(),this.buffer.dispose(),this.shader.dispose()}},2864:function(f,l,a){f.exports=function(b,R,I,O,z){o(h,R,b),o(h,I,h);for(var F=0,B=0;B<2;++B){y[2]=O[B][2];for(var N=0;N<2;++N){y[1]=O[N][1];for(var W=0;W<2;++W)y[0]=O[W][0],_(m[F],y,h),F+=1}}var j=-1;for(B=0;B<8;++B){for(var $=m[B][3],U=0;U<3;++U)w[B][U]=m[B][U]/$;z&&(w[B][2]*=-1),$<0&&(j<0||w[B][2]ne&&(j|=1<ne&&(j|=1<w[B][1])&&(ue=B);var ce=-1;for(B=0;B<3;++B)(de=ue^1<w[ye][0]&&(ye=de))}var me=x;me[0]=me[1]=me[2]=0,me[u.log2(ce^ue)]=ue&ce,me[u.log2(ue^ye)]=ue&ye;var pe=7^ye;pe===j||pe===oe?(pe=7^ce,me[u.log2(ye^pe)]=pe&ye):me[u.log2(ce^pe)]=pe&ce;var xe=A,Pe=j;for(G=0;G<3;++G)xe[G]=Pe&1<"),name:B||ne("name")?L.name:void 0,color:F("hoverlabel.bgcolor")||b.color,borderColor:F("hoverlabel.bordercolor"),fontFamily:F("hoverlabel.font.family"),fontSize:F("hoverlabel.font.size"),fontColor:F("hoverlabel.font.color"),nameLength:F("hoverlabel.namelength"),textAlign:F("hoverlabel.align"),hovertemplate:B,hovertemplateLabels:G,eventData:A};_&&(X.x0=j-E.rInscribed*E.rpx1,X.x1=j+E.rInscribed*E.rpx1,X.idealAlign=E.pxmid[0]<0?"left":"right"),k&&(X.x=j,X.idealAlign=j<0?"left":"right");var Q=[];M.loneHover(X,{container:x._hoverlayer.node(),outerContainer:x._paper.node(),gd:h,inOut_bbox:Q}),A[0].bbox=Q[0],y._hasHoverLabel=!0}if(k){var re=o.select("path.surface");m.styleOne(re,E,L,{hovered:!0})}y._hasHoverEvent=!0,h.emit("plotly_hover",{points:A||[u(E,L,m.eventDataKeys)],event:d.event})}}),o.on("mouseout",function(E){var x=h._fullLayout,A=h._fullData[y.index],L=d.select(this).datum();if(y._hasHoverEvent&&(E.originalEvent=d.event,h.emit("plotly_unhover",{points:[u(L,A,m.eventDataKeys)],event:d.event}),y._hasHoverEvent=!1),y._hasHoverLabel&&(M.loneUnhover(x._hoverlayer.node()),y._hasHoverLabel=!1),k){var b=o.select("path.surface");m.styleOne(b,L,A,{hovered:!1})}}),o.on("click",function(E){var x=h._fullLayout,A=h._fullData[y.index],L=_&&(l.isHierarchyRoot(E)||l.isLeaf(E)),b=l.getPtId(E),R=l.isEntry(E)?l.findEntryWithChild(C,b):l.findEntryWithLevel(C,b),I=l.getPtId(R),O={points:[u(E,A,m.eventDataKeys)],event:d.event};L||(O.nextLevel=I);var z=f.triggerHandler(h,"plotly_"+y.type+"click",O);if(z!==!1&&x.hovermode&&(h._hoverdata=[u(E,A,m.eventDataKeys)],M.click(h,d.event)),!L&&z!==!1&&!h._dragging&&!h._transitioning){g.call("_storeDirectGUIEdit",A,x._tracePreGUI[A.uid],{level:A.level});var F={data:[{level:I}],traces:[y.index]},B={frame:{redraw:!1,duration:m.transitionTime},transition:{duration:m.transitionTime,easing:m.transitionEasing},mode:"immediate",fromcurrent:!0};M.loneUnhover(x._hoverlayer.node()),g.call("animate",h,F,B)}})}},2791:function(T,p,t){var d=t(71828),g=t(7901),i=t(6964),M=t(53581);function v(f){return f.data.data.pid}p.findEntryWithLevel=function(f,l){var a;return l&&f.eachAfter(function(u){if(p.getPtId(u)===l)return a=u.copy()}),a||f},p.findEntryWithChild=function(f,l){var a;return f.eachAfter(function(u){for(var o=u.children||[],s=0;s0)},p.getMaxDepth=function(f){return f.maxdepth>=0?f.maxdepth:1/0},p.isHeader=function(f,l){return!(p.isLeaf(f)||f.depth===l._maxDepth-1)},p.getParent=function(f,l){return p.findEntryWithLevel(f,v(l))},p.listPath=function(f,l){var a=f.parent;if(!a)return[];var u=l?[a.data[l]]:[a];return p.listPath(a,l).concat(u)},p.getPath=function(f){return p.listPath(f,"label").join("/")+"/"},p.formatValue=M.formatPieValue,p.formatPercent=function(f,l){var a=d.formatPercent(f,0);return a==="0%"&&(a=M.formatPiePercent(f,l)),a}},87619:function(T,p,t){T.exports={moduleType:"trace",name:"sunburst",basePlotModule:t(66888),categories:[],animatable:!0,attributes:t(57564),layoutAttributes:t(2654),supplyDefaults:t(17094),supplyLayoutDefaults:t(57034),calc:t(52147).calc,crossTraceCalc:t(52147).crossTraceCalc,plot:t(24714).plot,style:t(29969).style,colorbar:t(4898),meta:{}}},2654:function(T){T.exports={sunburstcolorway:{valType:"colorlist",editType:"calc"},extendsunburstcolors:{valType:"boolean",dflt:!0,editType:"calc"}}},57034:function(T,p,t){var d=t(71828),g=t(2654);T.exports=function(i,M){function v(f,l){return d.coerce(i,M,g,f,l)}v("sunburstcolorway",M.colorway),v("extendsunburstcolors")}},24714:function(T,p,t){var d=t(39898),g=t(674),i=t(81684).sX,M=t(91424),v=t(71828),f=t(63893),l=t(72597),a=l.recordMinTextSize,u=l.clearMinTextSize,o=t(14575),s=t(53581).getRotationAngle,h=o.computeTransform,c=o.transformInsideText,m=t(29969).styleOne,w=t(16688).resizeText,y=t(83523),C=t(7055),_=t(2791);function k(x,A,L,b){var R=x._context.staticPlot,I=x._fullLayout,O=!I.uniformtext.mode&&_.hasTransition(b),z=d.select(L).selectAll("g.slice"),F=A[0],B=F.trace,N=F.hierarchy,W=_.findEntryWithLevel(N,B.level),j=_.getMaxDepth(B),$=I._size,U=B.domain,G=$.w*(U.x[1]-U.x[0]),q=$.h*(U.y[1]-U.y[0]),H=.5*Math.min(G,q),ne=F.cx=$.l+$.w*(U.x[1]+U.x[0])/2,te=F.cy=$.t+$.h*(1-U.y[0])-q/2;if(!W)return z.remove();var Z=null,X={};O&&z.each(function(Ce){X[_.getPtId(Ce)]={rpx0:Ce.rpx0,rpx1:Ce.rpx1,x0:Ce.x0,x1:Ce.x1,transform:Ce.transform},!Z&&_.isEntry(Ce)&&(Z=Ce)});var Q=function(Ce){return g.partition().size([2*Math.PI,Ce.height+1])(Ce)}(W).descendants(),re=W.height+1,ie=0,oe=j;F.hasMultipleRoots&&_.isHierarchyRoot(W)&&(Q=Q.slice(1),re-=1,ie=1,oe+=1),Q=Q.filter(function(Ce){return Ce.y1<=oe});var ue=s(B.rotation);ue&&Q.forEach(function(Ce){Ce.x0+=ue,Ce.x1+=ue});var ce=Math.min(re,j),ye=function(Ce){return(Ce-ie)/ce*H},de=function(Ce,ae){return[Ce*Math.cos(ae),-Ce*Math.sin(ae)]},me=function(Ce){return v.pathAnnulus(Ce.rpx0,Ce.rpx1,Ce.x0,Ce.x1,ne,te)},pe=function(Ce){return ne+E(Ce)[0]*(Ce.transform.rCenter||0)+(Ce.transform.x||0)},xe=function(Ce){return te+E(Ce)[1]*(Ce.transform.rCenter||0)+(Ce.transform.y||0)};(z=z.data(Q,_.getPtId)).enter().append("g").classed("slice",!0),O?z.exit().transition().each(function(){var Ce=d.select(this);Ce.select("path.surface").transition().attrTween("d",function(ae){var fe=function(be){var ke,Le=_.getPtId(be),Be=X[Le],ze=X[_.getPtId(W)];if(ze){var je=(be.x1>ze.x1?2*Math.PI:0)+ue;ke=be.rpx1Pe?2*Math.PI:0)+ue;Ee={x0:Ye,x1:Ye}}else Ee={rpx0:H,rpx1:H},v.extendFlat(Ee,Se(we));else Ee={rpx0:0,rpx1:0};else Ee={x0:ue,x1:ue};return i(Ee,$e)}(je);return function(we){return me(ge(we))}}):fe.attr("d",me),ae.call(y,W,x,A,{eventDataKeys:C.eventDataKeys,transitionTime:C.CLICK_TRANSITION_TIME,transitionEasing:C.CLICK_TRANSITION_EASING}).call(_.setSliceCursor,x,{hideOnRoot:!0,hideOnLeaves:!0,isTransitioning:x._transitioning}),fe.call(m,Ce,B);var be=v.ensureSingle(ae,"g","slicetext"),ke=v.ensureSingle(be,"text","",function(je){je.attr("data-notex",1)}),Le=v.ensureUniformFontSize(x,_.determineTextFont(B,Ce,I.font));ke.text(p.formatSliceLabel(Ce,W,B,A,I)).classed("slicetext",!0).attr("text-anchor","middle").call(M.font,Le).call(f.convertToTspans,x);var Be=M.bBox(ke.node());Ce.transform=c(Be,Ce,F),Ce.transform.targetX=pe(Ce),Ce.transform.targetY=xe(Ce);var ze=function(je,ge){var we=je.transform;return h(we,ge),we.fontSize=Le.size,a(B.type,we,I),v.getTextTransform(we)};O?ke.transition().attrTween("transform",function(je){var ge=function(we){var Ee,Ve=X[_.getPtId(we)],$e=we.transform;if(Ve)Ee=Ve;else if(Ee={rpx1:we.rpx1,transform:{textPosAngle:$e.textPosAngle,scale:0,rotate:$e.rotate,rCenter:$e.rCenter,x:$e.x,y:$e.y}},Z)if(we.parent)if(Pe){var Ye=we.x1>Pe?2*Math.PI:0;Ee.x0=Ee.x1=Ye}else v.extendFlat(Ee,Se(we));else Ee.x0=Ee.x1=ue;else Ee.x0=Ee.x1=ue;var st=i(Ee.transform.textPosAngle,we.transform.textPosAngle),ot=i(Ee.rpx1,we.rpx1),ht=i(Ee.x0,we.x0),bt=i(Ee.x1,we.x1),Et=i(Ee.transform.scale,$e.scale),kt=i(Ee.transform.rotate,$e.rotate),xt=$e.rCenter===0?3:Ee.transform.rCenter===0?1/3:1,Ft=i(Ee.transform.rCenter,$e.rCenter);return function(Ot){var Bt=ot(Ot),qt=ht(Ot),Vt=bt(Ot),Ke=function(qe){return Ft(Math.pow(qe,xt))}(Ot),Je={pxmid:de(Bt,(qt+Vt)/2),rpx1:Bt,transform:{textPosAngle:st(Ot),rCenter:Ke,x:$e.x,y:$e.y}};return a(B.type,$e,I),{transform:{targetX:pe(Je),targetY:xe(Je),scale:Et(Ot),rotate:kt(Ot),rCenter:Ke}}}}(je);return function(we){return ze(ge(we),Be)}}):ke.attr("transform",ze(Ce,Be))})}function E(x){return A=x.rpx1,L=x.transform.textPosAngle,[A*Math.sin(L),-A*Math.cos(L)];var A,L}p.plot=function(x,A,L,b){var R,I,O=x._fullLayout,z=O._sunburstlayer,F=!L,B=!O.uniformtext.mode&&_.hasTransition(L);u("sunburst",O),(R=z.selectAll("g.trace.sunburst").data(A,function(N){return N[0].trace.uid})).enter().append("g").classed("trace",!0).classed("sunburst",!0).attr("stroke-linejoin","round"),R.order(),B?(b&&(I=b()),d.transition().duration(L.duration).ease(L.easing).each("end",function(){I&&I()}).each("interrupt",function(){I&&I()}).each(function(){z.selectAll("g.trace").each(function(N){k(x,N,this,L)})})):(R.each(function(N){k(x,N,this,L)}),O.uniformtext.mode&&w(x,O._sunburstlayer.selectAll(".trace"),"sunburst")),F&&R.exit().remove()},p.formatSliceLabel=function(x,A,L,b,R){var I=L.texttemplate,O=L.textinfo;if(!(I||O&&O!=="none"))return"";var z=R.separators,F=b[0],B=x.data.data,N=F.hierarchy,W=_.isHierarchyRoot(x),j=_.getParent(N,x),$=_.getValue(x);if(!I){var U,G=O.split("+"),q=function(oe){return G.indexOf(oe)!==-1},H=[];if(q("label")&&B.label&&H.push(B.label),B.hasOwnProperty("v")&&q("value")&&H.push(_.formatValue(B.v,z)),!W){q("current path")&&H.push(_.getPath(x.data));var ne=0;q("percent parent")&&ne++,q("percent entry")&&ne++,q("percent root")&&ne++;var te=ne>1;if(ne){var Z,X=function(oe){U=_.formatPercent(Z,z),te&&(U+=" of "+oe),H.push(U)};q("percent parent")&&!W&&(Z=$/_.getValue(j),X("parent")),q("percent entry")&&(Z=$/_.getValue(A),X("entry")),q("percent root")&&(Z=$/_.getValue(N),X("root"))}}return q("text")&&(U=v.castOption(L,B.i,"text"),v.isValidTextValue(U)&&H.push(U)),H.join("
")}var Q=v.castOption(L,B.i,"texttemplate");if(!Q)return"";var re={};B.label&&(re.label=B.label),B.hasOwnProperty("v")&&(re.value=B.v,re.valueLabel=_.formatValue(B.v,z)),re.currentPath=_.getPath(x.data),W||(re.percentParent=$/_.getValue(j),re.percentParentLabel=_.formatPercent(re.percentParent,z),re.parent=_.getPtLabel(j)),re.percentEntry=$/_.getValue(A),re.percentEntryLabel=_.formatPercent(re.percentEntry,z),re.entry=_.getPtLabel(A),re.percentRoot=$/_.getValue(N),re.percentRootLabel=_.formatPercent(re.percentRoot,z),re.root=_.getPtLabel(N),B.hasOwnProperty("color")&&(re.color=B.color);var ie=v.castOption(L,B.i,"text");return(v.isValidTextValue(ie)||ie==="")&&(re.text=ie),re.customdata=v.castOption(L,B.i,"customdata"),v.texttemplateString(Q,re,R._d3locale,re,L._meta||{})}},29969:function(T,p,t){var d=t(39898),g=t(7901),i=t(71828),M=t(72597).resizeText;function v(f,l,a){var u=l.data.data,o=!l.children,s=u.i,h=i.castOption(a,s,"marker.line.color")||g.defaultLine,c=i.castOption(a,s,"marker.line.width")||0;f.style("stroke-width",c).call(g.fill,u.color).call(g.stroke,h).style("opacity",o?a.leaf.opacity:null)}T.exports={style:function(f){var l=f._fullLayout._sunburstlayer.selectAll(".trace");M(f,l,"sunburst"),l.each(function(a){var u=d.select(this),o=a[0].trace;u.style("opacity",o.opacity),u.selectAll("path.surface").each(function(s){d.select(this).call(v,s,o)})})},styleOne:v}},54532:function(T,p,t){var d=t(7901),g=t(50693),i=t(12663).axisHoverFormat,M=t(5386).fF,v=t(9012),f=t(1426).extendFlat,l=t(30962).overrideAll;function a(o){return{show:{valType:"boolean",dflt:!1},start:{valType:"number",dflt:null,editType:"plot"},end:{valType:"number",dflt:null,editType:"plot"},size:{valType:"number",dflt:null,min:0,editType:"plot"},project:{x:{valType:"boolean",dflt:!1},y:{valType:"boolean",dflt:!1},z:{valType:"boolean",dflt:!1}},color:{valType:"color",dflt:d.defaultLine},usecolormap:{valType:"boolean",dflt:!1},width:{valType:"number",min:1,max:16,dflt:2},highlight:{valType:"boolean",dflt:!0},highlightcolor:{valType:"color",dflt:d.defaultLine},highlightwidth:{valType:"number",min:1,max:16,dflt:2}}}var u=T.exports=l(f({z:{valType:"data_array"},x:{valType:"data_array"},y:{valType:"data_array"},text:{valType:"string",dflt:"",arrayOk:!0},hovertext:{valType:"string",dflt:"",arrayOk:!0},hovertemplate:M(),xhoverformat:i("x"),yhoverformat:i("y"),zhoverformat:i("z"),connectgaps:{valType:"boolean",dflt:!1,editType:"calc"},surfacecolor:{valType:"data_array"}},g("",{colorAttr:"z or surfacecolor",showScaleDflt:!0,autoColorDflt:!1,editTypeOverride:"calc"}),{contours:{x:a(),y:a(),z:a()},hidesurface:{valType:"boolean",dflt:!1},lightposition:{x:{valType:"number",min:-1e5,max:1e5,dflt:10},y:{valType:"number",min:-1e5,max:1e5,dflt:1e4},z:{valType:"number",min:-1e5,max:1e5,dflt:0}},lighting:{ambient:{valType:"number",min:0,max:1,dflt:.8},diffuse:{valType:"number",min:0,max:1,dflt:.8},specular:{valType:"number",min:0,max:2,dflt:.05},roughness:{valType:"number",min:0,max:1,dflt:.5},fresnel:{valType:"number",min:0,max:5,dflt:.2}},opacity:{valType:"number",min:0,max:1,dflt:1},opacityscale:{valType:"any",editType:"calc"},_deprecated:{zauto:f({},g.zauto,{}),zmin:f({},g.zmin,{}),zmax:f({},g.zmax,{})},hoverinfo:f({},v.hoverinfo),showlegend:f({},v.showlegend,{dflt:!1})}),"calc","nested");u.x.editType=u.y.editType=u.z.editType="calc+clearAxisTypes",u.transforms=void 0},18396:function(T,p,t){var d=t(78803);T.exports=function(g,i){i.surfacecolor?d(g,i,{vals:i.surfacecolor,containerStr:"",cLetter:"c"}):d(g,i,{vals:i.z,containerStr:"",cLetter:"c"})}},43768:function(T,p,t){var d=t(9330).gl_surface3d,g=t(9330).ndarray,i=t(9330).ndarray_linear_interpolate.d2,M=t(824),v=t(43907),f=t(71828).isArrayOrTypedArray,l=t(81697).parseColorScale,a=t(78614),u=t(21081).extractOpts;function o(L,b,R){this.scene=L,this.uid=R,this.surface=b,this.data=null,this.showContour=[!1,!1,!1],this.contourStart=[null,null,null],this.contourEnd=[null,null,null],this.contourSize=[0,0,0],this.minValues=[1/0,1/0,1/0],this.maxValues=[-1/0,-1/0,-1/0],this.dataScaleX=1,this.dataScaleY=1,this.refineData=!0,this.objectOffset=[0,0,0]}var s=o.prototype;s.getXat=function(L,b,R,I){var O=f(this.data.x)?f(this.data.x[0])?this.data.x[b][L]:this.data.x[L]:L;return R===void 0?O:I.d2l(O,0,R)},s.getYat=function(L,b,R,I){var O=f(this.data.y)?f(this.data.y[0])?this.data.y[b][L]:this.data.y[b]:b;return R===void 0?O:I.d2l(O,0,R)},s.getZat=function(L,b,R,I){var O=this.data.z[b][L];return O===null&&this.data.connectgaps&&this.data._interpolatedZ&&(O=this.data._interpolatedZ[b][L]),R===void 0?O:I.d2l(O,0,R)},s.handlePick=function(L){if(L.object===this.surface){var b=(L.data.index[0]-1)/this.dataScaleX-1,R=(L.data.index[1]-1)/this.dataScaleY-1,I=Math.max(Math.min(Math.round(b),this.data.z[0].length-1),0),O=Math.max(Math.min(Math.round(R),this.data._ylength-1),0);L.index=[I,O],L.traceCoordinate=[this.getXat(I,O),this.getYat(I,O),this.getZat(I,O)],L.dataCoordinate=[this.getXat(I,O,this.data.xcalendar,this.scene.fullSceneLayout.xaxis),this.getYat(I,O,this.data.ycalendar,this.scene.fullSceneLayout.yaxis),this.getZat(I,O,this.data.zcalendar,this.scene.fullSceneLayout.zaxis)];for(var z=0;z<3;z++)L.dataCoordinate[z]!=null&&(L.dataCoordinate[z]*=this.scene.dataScale[z]);var F=this.data.hovertext||this.data.text;return Array.isArray(F)&&F[O]&&F[O][I]!==void 0?L.textLabel=F[O][I]:L.textLabel=F||"",L.data.dataCoordinate=L.dataCoordinate.slice(),this.surface.highlight(L.data),this.scene.glplot.spikes.position=L.dataCoordinate,!0}};var h=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997,1009,1013,1019,1021,1031,1033,1039,1049,1051,1061,1063,1069,1087,1091,1093,1097,1103,1109,1117,1123,1129,1151,1153,1163,1171,1181,1187,1193,1201,1213,1217,1223,1229,1231,1237,1249,1259,1277,1279,1283,1289,1291,1297,1301,1303,1307,1319,1321,1327,1361,1367,1373,1381,1399,1409,1423,1427,1429,1433,1439,1447,1451,1453,1459,1471,1481,1483,1487,1489,1493,1499,1511,1523,1531,1543,1549,1553,1559,1567,1571,1579,1583,1597,1601,1607,1609,1613,1619,1621,1627,1637,1657,1663,1667,1669,1693,1697,1699,1709,1721,1723,1733,1741,1747,1753,1759,1777,1783,1787,1789,1801,1811,1823,1831,1847,1861,1867,1871,1873,1877,1879,1889,1901,1907,1913,1931,1933,1949,1951,1973,1979,1987,1993,1997,1999,2003,2011,2017,2027,2029,2039,2053,2063,2069,2081,2083,2087,2089,2099,2111,2113,2129,2131,2137,2141,2143,2153,2161,2179,2203,2207,2213,2221,2237,2239,2243,2251,2267,2269,2273,2281,2287,2293,2297,2309,2311,2333,2339,2341,2347,2351,2357,2371,2377,2381,2383,2389,2393,2399,2411,2417,2423,2437,2441,2447,2459,2467,2473,2477,2503,2521,2531,2539,2543,2549,2551,2557,2579,2591,2593,2609,2617,2621,2633,2647,2657,2659,2663,2671,2677,2683,2687,2689,2693,2699,2707,2711,2713,2719,2729,2731,2741,2749,2753,2767,2777,2789,2791,2797,2801,2803,2819,2833,2837,2843,2851,2857,2861,2879,2887,2897,2903,2909,2917,2927,2939,2953,2957,2963,2969,2971,2999];function c(L,b){if(L0){R=h[I];break}return R}function y(L,b){if(!(L<1||b<1)){for(var R=m(L),I=m(b),O=1,z=0;zk;)R--,R/=w(R),++R<_&&(R=k);var I=Math.round(R/L);return I>1?I:1},s.refineCoords=function(L){for(var b=this.dataScaleX,R=this.dataScaleY,I=L[0].shape[0],O=L[0].shape[1],z=0|Math.floor(L[0].shape[0]*b+1),F=0|Math.floor(L[0].shape[1]*R+1),B=1+I+1,N=1+O+1,W=g(new Float32Array(B*N),[B,N]),j=[1/b,0,0,0,1/R,0,0,0,1],$=0;$0&&this.contourStart[L]!==null&&this.contourEnd[L]!==null&&this.contourEnd[L]>this.contourStart[L]))for(O[L]=!0,b=this.contourStart[L];bO&&(this.minValues[b]=O),this.maxValues[b]",maxDimensionCount:60,overdrag:45,releaseTransitionDuration:120,releaseTransitionEase:"cubic-out",scrollbarCaptureWidth:18,scrollbarHideDelay:1e3,scrollbarHideDuration:1e3,scrollbarOffset:5,scrollbarWidth:8,transitionDuration:100,transitionEase:"cubic-out",uplift:5,wrapSpacer:" ",wrapSplitCharacter:" ",cn:{table:"table",tableControlView:"table-control-view",scrollBackground:"scroll-background",yColumn:"y-column",columnBlock:"column-block",scrollAreaClip:"scroll-area-clip",scrollAreaClipRect:"scroll-area-clip-rect",columnBoundary:"column-boundary",columnBoundaryClippath:"column-boundary-clippath",columnBoundaryRect:"column-boundary-rect",columnCells:"column-cells",columnCell:"column-cell",cellRect:"cell-rect",cellText:"cell-text",cellTextHolder:"cell-text-holder",scrollbarKit:"scrollbar-kit",scrollbar:"scrollbar",scrollbarSlider:"scrollbar-slider",scrollbarGlyph:"scrollbar-glyph",scrollbarCaptureZone:"scrollbar-capture-zone"}}},51018:function(T,p,t){var d=t(49850),g=t(1426).extendFlat,i=t(92770);function M(s){if(Array.isArray(s)){for(var h=0,c=0;c=h||E===s.length-1)&&(m[w]=C,C.key=k++,C.firstRowIndex=_,C.lastRowIndex=E,C={firstRowIndex:null,lastRowIndex:null,rows:[]},w+=y,_=E+1,y=0);return m}T.exports=function(s,h){var c=f(h.cells.values),m=function(W){return W.slice(h.header.values.length,W.length)},w=f(h.header.values);w.length&&!w[0].length&&(w[0]=[""],w=f(w));var y=w.concat(m(c).map(function(){return l((w[0]||[""]).length)})),C=h.domain,_=Math.floor(s._fullLayout._size.w*(C.x[1]-C.x[0])),k=Math.floor(s._fullLayout._size.h*(C.y[1]-C.y[0])),E=h.header.values.length?y[0].map(function(){return h.header.height}):[d.emptyHeaderHeight],x=c.length?c[0].map(function(){return h.cells.height}):[],A=E.reduce(v,0),L=o(x,k-A+d.uplift),b=u(o(E,A),[]),R=u(L,b),I={},O=h._fullInput.columnorder.concat(m(c.map(function(W,j){return j}))),z=y.map(function(W,j){var $=Array.isArray(h.columnwidth)?h.columnwidth[Math.min(j,h.columnwidth.length-1)]:h.columnwidth;return i($)?Number($):1}),F=z.reduce(v,0);z=z.map(function(W){return W/F*_});var B=Math.max(M(h.header.line.width),M(h.cells.line.width)),N={key:h.uid+s._context.staticPlot,translateX:C.x[0]*s._fullLayout._size.w,translateY:s._fullLayout._size.h*(1-C.y[1]),size:s._fullLayout._size,width:_,maxLineWidth:B,height:k,columnOrder:O,groupHeight:k,rowBlocks:R,headerRowBlocks:b,scrollY:0,cells:g({},h.cells,{values:c}),headerCells:g({},h.header,{values:y}),gdColumns:y.map(function(W){return W[0]}),gdColumnsOriginalOrder:y.map(function(W){return W[0]}),prevPages:[0,0],scrollbarState:{scrollbarScrollInProgress:!1},columns:y.map(function(W,j){var $=I[W];return I[W]=($||0)+1,{key:W+"__"+I[W],label:W,specIndex:j,xIndex:O[j],xScale:a,x:void 0,calcdata:void 0,columnWidth:z[j]}})};return N.columns.forEach(function(W){W.calcdata=N,W.x=a(W)}),N}},56269:function(T,p,t){var d=t(1426).extendFlat;p.splitToPanels=function(g){var i=[0,0],M=d({},g,{key:"header",type:"header",page:0,prevPages:i,currentRepaint:[null,null],dragHandle:!0,values:g.calcdata.headerCells.values[g.specIndex],rowBlocks:g.calcdata.headerRowBlocks,calcdata:d({},g.calcdata,{cells:g.calcdata.headerCells})});return[d({},g,{key:"cells1",type:"cells",page:0,prevPages:i,currentRepaint:[null,null],dragHandle:!1,values:g.calcdata.cells.values[g.specIndex],rowBlocks:g.calcdata.rowBlocks}),d({},g,{key:"cells2",type:"cells",page:1,prevPages:i,currentRepaint:[null,null],dragHandle:!1,values:g.calcdata.cells.values[g.specIndex],rowBlocks:g.calcdata.rowBlocks}),M]},p.splitToCells=function(g){var i=function(M){var v=M.rowBlocks[M.page],f=v?v.rows[0].rowIndex:0;return[f,v?f+v.rows.length:0]}(g);return(g.values||[]).slice(i[0],i[1]).map(function(M,v){return{keyWithinBlock:v+(typeof M=="string"&&M.match(/[<$&> ]/)?"_keybuster_"+Math.random():""),key:i[0]+v,column:g,calcdata:g.calcdata,page:g.page,rowBlocks:g.rowBlocks,value:M}})}},39754:function(T,p,t){var d=t(71828),g=t(44464),i=t(27670).c;T.exports=function(M,v,f,l){function a(u,o){return d.coerce(M,v,g,u,o)}i(v,l,a),a("columnwidth"),a("header.values"),a("header.format"),a("header.align"),a("header.prefix"),a("header.suffix"),a("header.height"),a("header.line.width"),a("header.line.color"),a("header.fill.color"),d.coerceFont(a,"header.font",d.extendFlat({},l.font)),function(u,o){for(var s=u.columnorder||[],h=u.header.values.length,c=s.slice(0,h),m=c.slice().sort(function(C,_){return C-_}),w=c.map(function(C){return m.indexOf(C)}),y=w.length;y/i),ue=!ie||oe;Z.mayHaveMarkup=ie&&re.match(/[<&>]/);var ce,ye=typeof(ce=re)=="string"&&ce.match(d.latexCheck);Z.latex=ye;var de,me,pe=ye?"":x(Z.calcdata.cells.prefix,X,Q)||"",xe=ye?"":x(Z.calcdata.cells.suffix,X,Q)||"",Pe=ye?null:x(Z.calcdata.cells.format,X,Q)||null,_e=pe+(Pe?i(Pe)(Z.value):Z.value)+xe;if(Z.wrappingNeeded=!Z.wrapped&&!ue&&!ye&&(de=E(_e)),Z.cellHeightMayIncrease=oe||ye||Z.mayHaveMarkup||(de===void 0?E(_e):de),Z.needsConvertToTspans=Z.mayHaveMarkup||Z.wrappingNeeded||Z.latex,Z.wrappingNeeded){var Me=(d.wrapSplitCharacter===" "?_e.replace(/
me&&de.push(pe),me+=_e}return de}(Z,ie,re);oe.length===1&&(oe[0]===Z.length-1?oe.unshift(oe[0]-1):oe.push(oe[0]+1)),oe[0]%2&&oe.reverse(),H.each(function(ue,ce){ue.page=oe[ce],ue.scrollY=ie}),H.attr("transform",function(ue){var ce=j(ue.rowBlocks,ue.page)-ue.scrollY;return a(0,ce)}),q&&(z(q,ne,H,oe,te.prevPages,te,0),z(q,ne,H,oe,te.prevPages,te,1),C(ne,q))}}function O(q,H,ne,te){return function(Z){var X=Z.calcdata?Z.calcdata:Z,Q=H.filter(function(ue){return X.key===ue.key}),re=ne||X.scrollbarState.dragMultiplier,ie=X.scrollY;X.scrollY=te===void 0?X.scrollY+re*g.event.dy:te;var oe=Q.selectAll("."+d.cn.yColumn).selectAll("."+d.cn.columnBlock).filter(L);return I(q,oe,Q),X.scrollY===ie}}function z(q,H,ne,te,Z,X,Q){te[Q]!==Z[Q]&&(clearTimeout(X.currentRepaint[Q]),X.currentRepaint[Q]=setTimeout(function(){var re=ne.filter(function(ie,oe){return oe===Q&&te[oe]!==Z[oe]});_(q,H,re,ne),Z[Q]=te[Q]}))}function F(q,H,ne,te){return function(){var Z=g.select(H.parentNode);Z.each(function(X){var Q=X.fragments;Z.selectAll("tspan.line").each(function(me,pe){Q[pe].width=this.getComputedTextLength()});var re,ie,oe=Q[Q.length-1].width,ue=Q.slice(0,-1),ce=[],ye=0,de=X.column.columnWidth-2*d.cellPad;for(X.value="";ue.length;)ye+(ie=(re=ue.shift()).width+oe)>de&&(X.value+=ce.join(d.wrapSpacer)+d.lineBreaker,ce=[],ye=0),ce.push(re.text),ye+=ie;ye&&(X.value+=ce.join(d.wrapSpacer)),X.wrapped=!0}),Z.selectAll("tspan.line").remove(),k(Z.select("."+d.cn.cellText),ne,q,te),g.select(H.parentNode.parentNode).call(W)}}function B(q,H,ne,te,Z){return function(){if(!Z.settledY){var X=g.select(H.parentNode),Q=G(Z),re=Z.key-Q.firstRowIndex,ie=Q.rows[re].rowHeight,oe=Z.cellHeightMayIncrease?H.parentNode.getBoundingClientRect().height+2*d.cellPad:ie,ue=Math.max(oe,ie);ue-Q.rows[re].rowHeight&&(Q.rows[re].rowHeight=ue,q.selectAll("."+d.cn.columnCell).call(W),I(null,q.filter(L),0),C(ne,te,!0)),X.attr("transform",function(){var ce=this,ye=ce.parentNode.getBoundingClientRect(),de=g.select(ce.parentNode).select("."+d.cn.cellRect).node().getBoundingClientRect(),me=ce.transform.baseVal.consolidate(),pe=de.top-ye.top+(me?me.matrix.f:d.cellPad);return a(N(Z,g.select(ce.parentNode).select("."+d.cn.cellTextHolder).node().getBoundingClientRect().width),pe)}),Z.settledY=!0}}}function N(q,H){switch(q.align){case"left":default:return d.cellPad;case"right":return q.column.columnWidth-(H||0)-d.cellPad;case"center":return(q.column.columnWidth-(H||0))/2}}function W(q){q.attr("transform",function(H){var ne=H.rowBlocks[0].auxiliaryBlocks.reduce(function(Z,X){return Z+$(X,1/0)},0),te=$(G(H),H.key);return a(0,te+ne)}).selectAll("."+d.cn.cellRect).attr("height",function(H){return(ne=G(H),te=H.key,ne.rows[te-ne.firstRowIndex]).rowHeight;var ne,te})}function j(q,H){for(var ne=0,te=H-1;te>=0;te--)ne+=U(q[te]);return ne}function $(q,H){for(var ne=0,te=0;te","<","|","/","\\"],dflt:">",editType:"plot"},thickness:{valType:"number",min:12,editType:"plot"},textfont:a({},v.textfont,{}),editType:"calc"},text:v.text,textinfo:f.textinfo,texttemplate:g({editType:"plot"},{keys:l.eventDataKeys.concat(["label","value"])}),hovertext:v.hovertext,hoverinfo:f.hoverinfo,hovertemplate:d({},{keys:l.eventDataKeys}),textfont:v.textfont,insidetextfont:v.insidetextfont,outsidetextfont:a({},v.outsidetextfont,{}),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],dflt:"top left",editType:"plot"},sort:v.sort,root:f.root,domain:M({name:"treemap",trace:!0,editType:"calc"})}},78018:function(T,p,t){var d=t(74875);p.name="treemap",p.plot=function(g,i,M,v){d.plotBasePlot(p.name,g,i,M,v)},p.clean=function(g,i,M,v){d.cleanBasePlot(p.name,g,i,M,v)}},65039:function(T,p,t){var d=t(52147);p.y=function(g,i){return d.calc(g,i)},p.T=function(g){return d._runCrossTraceCalc("treemap",g)}},43473:function(T){T.exports={CLICK_TRANSITION_TIME:750,CLICK_TRANSITION_EASING:"poly",eventDataKeys:["currentPath","root","entry","percentRoot","percentEntry","percentParent"],gapWithPathbar:1}},91174:function(T,p,t){var d=t(71828),g=t(45802),i=t(7901),M=t(27670).c,v=t(90769).handleText,f=t(97313).TEXTPAD,l=t(21081),a=l.hasColorscale,u=l.handleDefaults;T.exports=function(o,s,h,c){function m(L,b){return d.coerce(o,s,g,L,b)}var w=m("labels"),y=m("parents");if(w&&w.length&&y&&y.length){var C=m("values");C&&C.length?m("branchvalues"):m("count"),m("level"),m("maxdepth"),m("tiling.packing")==="squarify"&&m("tiling.squarifyratio"),m("tiling.flip"),m("tiling.pad");var _=m("text");m("texttemplate"),s.texttemplate||m("textinfo",Array.isArray(_)?"text+label":"label"),m("hovertext"),m("hovertemplate");var k=m("pathbar.visible");v(o,s,c,m,"auto",{hasPathbar:k,moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),m("textposition");var E=s.textposition.indexOf("bottom")!==-1;m("marker.line.width")&&m("marker.line.color",c.paper_bgcolor);var x=m("marker.colors");(s._hasColorscale=a(o,"marker","colors")||(o.marker||{}).coloraxis)?u(o,s,c,m,{prefix:"marker.",cLetter:"c"}):m("marker.depthfade",!(x||[]).length);var A=2*s.textfont.size;m("marker.pad.t",E?A/4:A),m("marker.pad.l",A/4),m("marker.pad.r",A/4),m("marker.pad.b",E?A:A/4),m("marker.cornerradius"),s._hovered={marker:{line:{width:2,color:i.contrast(c.paper_bgcolor)}}},k&&(m("pathbar.thickness",s.pathbar.textfont.size+2*f),m("pathbar.side"),m("pathbar.edgeshape")),m("sort"),m("root.color"),M(s,c,m),s._length=null}else s.visible=!1}},80694:function(T,p,t){var d=t(39898),g=t(2791),i=t(72597).clearMinTextSize,M=t(16688).resizeText,v=t(46650);T.exports=function(f,l,a,u,o){var s,h,c=o.type,m=o.drawDescendants,w=f._fullLayout,y=w["_"+c+"layer"],C=!a;i(c,w),(s=y.selectAll("g.trace."+c).data(l,function(_){return _[0].trace.uid})).enter().append("g").classed("trace",!0).classed(c,!0),s.order(),!w.uniformtext.mode&&g.hasTransition(a)?(u&&(h=u()),d.transition().duration(a.duration).ease(a.easing).each("end",function(){h&&h()}).each("interrupt",function(){h&&h()}).each(function(){y.selectAll("g.trace").each(function(_){v(f,_,this,a,m)})})):(s.each(function(_){v(f,_,this,a,m)}),w.uniformtext.mode&&M(f,y.selectAll(".trace"),c)),C&&s.exit().remove()}},66209:function(T,p,t){var d=t(39898),g=t(71828),i=t(91424),M=t(63893),v=t(37210),f=t(96362).styleOne,l=t(43473),a=t(2791),u=t(83523),o=!0;T.exports=function(s,h,c,m,w){var y=w.barDifY,C=w.width,_=w.height,k=w.viewX,E=w.viewY,x=w.pathSlice,A=w.toMoveInsideSlice,L=w.strTransform,b=w.hasTransition,R=w.handleSlicesExit,I=w.makeUpdateSliceInterpolator,O=w.makeUpdateTextInterpolator,z={},F=s._context.staticPlot,B=s._fullLayout,N=h[0],W=N.trace,j=N.hierarchy,$=C/W._entryDepth,U=a.listPath(c.data,"id"),G=v(j.copy(),[C,_],{packing:"dice",pad:{inner:0,top:0,left:0,right:0,bottom:0}}).descendants();(G=G.filter(function(H){var ne=U.indexOf(H.data.id);return ne!==-1&&(H.x0=$*ne,H.x1=$*(ne+1),H.y0=y,H.y1=y+_,H.onPathbar=!0,!0)})).reverse(),(m=m.data(G,a.getPtId)).enter().append("g").classed("pathbar",!0),R(m,o,z,[C,_],x),m.order();var q=m;b&&(q=q.transition().each("end",function(){var H=d.select(this);a.setSliceCursor(H,s,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:!1})})),q.each(function(H){H._x0=k(H.x0),H._x1=k(H.x1),H._y0=E(H.y0),H._y1=E(H.y1),H._hoverX=k(H.x1-Math.min(C,_)/2),H._hoverY=E(H.y1-_/2);var ne=d.select(this),te=g.ensureSingle(ne,"path","surface",function(re){re.style("pointer-events",F?"none":"all")});b?te.transition().attrTween("d",function(re){var ie=I(re,o,z,[C,_]);return function(oe){return x(ie(oe))}}):te.attr("d",x),ne.call(u,c,s,h,{styleOne:f,eventDataKeys:l.eventDataKeys,transitionTime:l.CLICK_TRANSITION_TIME,transitionEasing:l.CLICK_TRANSITION_EASING}).call(a.setSliceCursor,s,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:s._transitioning}),te.call(f,H,W,{hovered:!1}),H._text=(a.getPtLabel(H)||"").split("
").join(" ")||"";var Z=g.ensureSingle(ne,"g","slicetext"),X=g.ensureSingle(Z,"text","",function(re){re.attr("data-notex",1)}),Q=g.ensureUniformFontSize(s,a.determineTextFont(W,H,B.font,{onPathbar:!0}));X.text(H._text||" ").classed("slicetext",!0).attr("text-anchor","start").call(i.font,Q).call(M.convertToTspans,s),H.textBB=i.bBox(X.node()),H.transform=A(H,{fontSize:Q.size,onPathbar:!0}),H.transform.fontSize=Q.size,b?X.transition().attrTween("transform",function(re){var ie=O(re,o,z,[C,_]);return function(oe){return L(ie(oe))}}):X.attr("transform",L(H))})}},52583:function(T,p,t){var d=t(39898),g=t(71828),i=t(91424),M=t(63893),v=t(37210),f=t(96362).styleOne,l=t(43473),a=t(2791),u=t(83523),o=t(24714).formatSliceLabel,s=!1;T.exports=function(h,c,m,w,y){var C=y.width,_=y.height,k=y.viewX,E=y.viewY,x=y.pathSlice,A=y.toMoveInsideSlice,L=y.strTransform,b=y.hasTransition,R=y.handleSlicesExit,I=y.makeUpdateSliceInterpolator,O=y.makeUpdateTextInterpolator,z=y.prevEntry,F=h._context.staticPlot,B=h._fullLayout,N=c[0].trace,W=N.textposition.indexOf("left")!==-1,j=N.textposition.indexOf("right")!==-1,$=N.textposition.indexOf("bottom")!==-1,U=!$&&!N.marker.pad.t||$&&!N.marker.pad.b,G=v(m,[C,_],{packing:N.tiling.packing,squarifyratio:N.tiling.squarifyratio,flipX:N.tiling.flip.indexOf("x")>-1,flipY:N.tiling.flip.indexOf("y")>-1,pad:{inner:N.tiling.pad,top:N.marker.pad.t,left:N.marker.pad.l,right:N.marker.pad.r,bottom:N.marker.pad.b}}).descendants(),q=1/0,H=-1/0;G.forEach(function(Q){var re=Q.depth;re>=N._maxDepth?(Q.x0=Q.x1=(Q.x0+Q.x1)/2,Q.y0=Q.y1=(Q.y0+Q.y1)/2):(q=Math.min(q,re),H=Math.max(H,re))}),w=w.data(G,a.getPtId),N._maxVisibleLayers=isFinite(H)?H-q+1:0,w.enter().append("g").classed("slice",!0),R(w,s,{},[C,_],x),w.order();var ne=null;if(b&&z){var te=a.getPtId(z);w.each(function(Q){ne===null&&a.getPtId(Q)===te&&(ne={x0:Q.x0,x1:Q.x1,y0:Q.y0,y1:Q.y1})})}var Z=function(){return ne||{x0:0,x1:C,y0:0,y1:_}},X=w;return b&&(X=X.transition().each("end",function(){var Q=d.select(this);a.setSliceCursor(Q,h,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})})),X.each(function(Q){var re=a.isHeader(Q,N);Q._x0=k(Q.x0),Q._x1=k(Q.x1),Q._y0=E(Q.y0),Q._y1=E(Q.y1),Q._hoverX=k(Q.x1-N.marker.pad.r),Q._hoverY=E($?Q.y1-N.marker.pad.b/2:Q.y0+N.marker.pad.t/2);var ie=d.select(this),oe=g.ensureSingle(ie,"path","surface",function(de){de.style("pointer-events",F?"none":"all")});b?oe.transition().attrTween("d",function(de){var me=I(de,s,Z(),[C,_]);return function(pe){return x(me(pe))}}):oe.attr("d",x),ie.call(u,m,h,c,{styleOne:f,eventDataKeys:l.eventDataKeys,transitionTime:l.CLICK_TRANSITION_TIME,transitionEasing:l.CLICK_TRANSITION_EASING}).call(a.setSliceCursor,h,{isTransitioning:h._transitioning}),oe.call(f,Q,N,{hovered:!1}),Q.x0===Q.x1||Q.y0===Q.y1?Q._text="":Q._text=re?U?"":a.getPtLabel(Q)||"":o(Q,m,N,c,B)||"";var ue=g.ensureSingle(ie,"g","slicetext"),ce=g.ensureSingle(ue,"text","",function(de){de.attr("data-notex",1)}),ye=g.ensureUniformFontSize(h,a.determineTextFont(N,Q,B.font));ce.text(Q._text||" ").classed("slicetext",!0).attr("text-anchor",j?"end":W||re?"start":"middle").call(i.font,ye).call(M.convertToTspans,h),Q.textBB=i.bBox(ce.node()),Q.transform=A(Q,{fontSize:ye.size,isHeader:re}),Q.transform.fontSize=ye.size,b?ce.transition().attrTween("transform",function(de){var me=O(de,s,Z(),[C,_]);return function(pe){return L(me(pe))}}):ce.attr("transform",L(Q))}),ne}},14102:function(T){T.exports=function p(t,d,g){var i;g.swapXY&&(i=t.x0,t.x0=t.y0,t.y0=i,i=t.x1,t.x1=t.y1,t.y1=i),g.flipX&&(i=t.x0,t.x0=d[0]-t.x1,t.x1=d[0]-i),g.flipY&&(i=t.y0,t.y0=d[1]-t.y1,t.y1=d[1]-i);var M=t.children;if(M)for(var v=0;v-1?N+$:-(j+$):0,G={x0:W,x1:W,y0:U,y1:U+j},q=function(ge,we,Ee){var Ve=_.tiling.pad,$e=function(ht){return ht-Ve<=we.x0},Ye=function(ht){return ht+Ve>=we.x1},st=function(ht){return ht-Ve<=we.y0},ot=function(ht){return ht+Ve>=we.y1};return ge.x0===we.x0&&ge.x1===we.x1&&ge.y0===we.y0&&ge.y1===we.y1?{x0:ge.x0,x1:ge.x1,y0:ge.y0,y1:ge.y1}:{x0:$e(ge.x0-Ve)?0:Ye(ge.x0-Ve)?Ee[0]:ge.x0,x1:$e(ge.x1+Ve)?0:Ye(ge.x1+Ve)?Ee[0]:ge.x1,y0:st(ge.y0-Ve)?0:ot(ge.y0-Ve)?Ee[1]:ge.y0,y1:st(ge.y1+Ve)?0:ot(ge.y1+Ve)?Ee[1]:ge.y1}},H=null,ne={},te={},Z=null,X=function(ge,we){return we?ne[o(ge)]:te[o(ge)]};C.hasMultipleRoots&&R&&O++,_._maxDepth=O,_._backgroundColor=y.paper_bgcolor,_._entryDepth=x.data.depth,_._atRootLevel=R;var Q=-B/2+z.l+z.w*(F.x[1]+F.x[0])/2,re=-N/2+z.t+z.h*(1-(F.y[1]+F.y[0])/2),ie=function(ge){return Q+ge},oe=function(ge){return re+ge},ue=oe(0),ce=ie(0),ye=function(ge){return ce+ge},de=function(ge){return ue+ge};function me(ge,we){return ge+","+we}var pe=ye(0),xe=function(ge){ge.x=Math.max(pe,ge.x)},Pe=_.pathbar.edgeshape,_e=_[k?"tiling":"marker"].pad,Me=function(ge){return _.textposition.indexOf(ge)!==-1},Se=Me("top"),Ce=Me("left"),ae=Me("right"),fe=Me("bottom"),be=function(ge,we){var Ee=ge.x0,Ve=ge.x1,$e=ge.y0,Ye=ge.y1,st=ge.textBB,ot=Se||we.isHeader&&!fe?"start":fe?"end":"middle",ht=Me("right"),bt=Me("left")||we.onPathbar?-1:ht?1:0;if(we.isHeader){if((Ee+=(k?_e:_e.l)-v)>=(Ve-=(k?_e:_e.r)-v)){var Et=(Ee+Ve)/2;Ee=Et,Ve=Et}var kt;fe?$e<(kt=Ye-(k?_e:_e.b))&&kt"?(ht.x-=Ye,bt.x-=Ye,Et.x-=Ye,kt.x-=Ye):Pe==="/"?(Et.x-=Ye,kt.x-=Ye,st.x-=Ye/2,ot.x-=Ye/2):Pe==="\\"?(ht.x-=Ye,bt.x-=Ye,st.x-=Ye/2,ot.x-=Ye/2):Pe==="<"&&(st.x-=Ye,ot.x-=Ye),xe(ht),xe(kt),xe(st),xe(bt),xe(Et),xe(ot),"M"+me(ht.x,ht.y)+"L"+me(bt.x,bt.y)+"L"+me(ot.x,ot.y)+"L"+me(Et.x,Et.y)+"L"+me(kt.x,kt.y)+"L"+me(st.x,st.y)+"Z"},toMoveInsideSlice:be,makeUpdateSliceInterpolator:Le,makeUpdateTextInterpolator:Be,handleSlicesExit:ze,hasTransition:I,strTransform:je}):L.remove()}},96362:function(T,p,t){var d=t(39898),g=t(7901),i=t(71828),M=t(2791),v=t(72597).resizeText;function f(l,a,u,o){var s,h,c=(o||{}).hovered,m=a.data.data,w=m.i,y=m.color,C=M.isHierarchyRoot(a),_=1;if(c)s=u._hovered.marker.line.color,h=u._hovered.marker.line.width;else if(C&&y===u.root.color)_=100,s="rgba(0,0,0,0)",h=0;else if(s=i.castOption(u,w,"marker.line.color")||g.defaultLine,h=i.castOption(u,w,"marker.line.width")||0,!u._hasColorscale&&!a.onPathbar){var k=u.marker.depthfade;if(k){var E,x=g.combine(g.addOpacity(u._backgroundColor,.75),y);if(k===!0){var A=M.getMaxDepth(u);E=isFinite(A)?M.isLeaf(a)?0:u._maxVisibleLayers-(a.data.depth-u._entryDepth):a.data.height+1}else E=a.data.depth-u._entryDepth,u._atRootLevel||E++;if(E>0)for(var L=0;L0){var x,A,L,b,R,I=f.xa,O=f.ya;w.orientation==="h"?(R=l,x="y",L=O,A="x",b=I):(R=a,x="x",L=I,A="y",b=O);var z=m[f.index];if(R>=z.span[0]&&R<=z.span[1]){var F=g.extendFlat({},f),B=b.c2p(R,!0),N=v.getKdeValue(z,w,R),W=v.getPositionOnKdePath(z,w,B),j=L._offset,$=L._length;F[x+"0"]=W[0],F[x+"1"]=W[1],F[A+"0"]=F[A+"1"]=B,F[A+"Label"]=A+": "+i.hoverLabelText(b,R,w[A+"hoverformat"])+", "+m[0].t.labels.kde+" "+N.toFixed(3);for(var U=0,G=0;G")),h.color=function(O,z){var F=O[z.dir].marker,B=F.color,N=F.line.color,W=F.line.width;return g(B)?B:g(N)&&W?N:void 0}(m,_),[h]}function I(O){return d(C,O,m[y+"hoverformat"])}}},19990:function(T,p,t){T.exports={attributes:t(43037),layoutAttributes:t(13494),supplyDefaults:t(83266).supplyDefaults,crossTraceDefaults:t(83266).crossTraceDefaults,supplyLayoutDefaults:t(5176),calc:t(52752),crossTraceCalc:t(70766),plot:t(30436),style:t(55750).style,hoverPoints:t(61326),eventData:t(58593),selectPoints:t(81974),moduleType:"trace",name:"waterfall",basePlotModule:t(93612),categories:["bar-like","cartesian","svg","oriented","showLegend","zoomScale"],meta:{}}},13494:function(T){T.exports={waterfallmode:{valType:"enumerated",values:["group","overlay"],dflt:"group",editType:"calc"},waterfallgap:{valType:"number",min:0,max:1,editType:"calc"},waterfallgroupgap:{valType:"number",min:0,max:1,dflt:0,editType:"calc"}}},5176:function(T,p,t){var d=t(71828),g=t(13494);T.exports=function(i,M,v){var f=!1;function l(o,s){return d.coerce(i,M,g,o,s)}for(var a=0;a0&&(N+=A?"M"+F[0]+","+B[1]+"V"+B[0]:"M"+F[1]+","+B[0]+"H"+F[0]),L!=="between"&&(I.isSum||O path").each(function(w){if(!w.isBlank){var y=m[w.dir].marker;d.select(this).call(i.fill,y.color).call(i.stroke,y.line.color).call(g.dashLine,y.line.dash,y.line.width).style("opacity",m.selectedpoints&&!w.selected?M:1)}}),l(c,m,a),c.selectAll(".lines").each(function(){var w=m.connector.line;g.lineGroupStyle(d.select(this).selectAll("path"),w.width,w.color,w.dash)})})}}},82887:function(T,p,t){var d=t(89298),g=t(71828),i=t(86281),M=t(79344).p,v=t(50606).BADNUM;p.moduleType="transform",p.name="aggregate";var f=p.attributes={enabled:{valType:"boolean",dflt:!0,editType:"calc"},groups:{valType:"string",strict:!0,noBlank:!0,arrayOk:!0,dflt:"x",editType:"calc"},aggregations:{_isLinkedToArray:"aggregation",target:{valType:"string",editType:"calc"},func:{valType:"enumerated",values:["count","sum","avg","median","mode","rms","stddev","min","max","first","last","change","range"],dflt:"first",editType:"calc"},funcmode:{valType:"enumerated",values:["sample","population"],dflt:"sample",editType:"calc"},enabled:{valType:"boolean",dflt:!0,editType:"calc"},editType:"calc"},editType:"calc"},l=f.aggregations;function a(h,c,m,w){if(w.enabled){for(var y=w.target,C=g.nestedProperty(c,y),_=C.get(),k=function(A,L){var b=A.func,R=L.d2c,I=L.c2d;switch(b){case"count":return u;case"first":return o;case"last":return s;case"sum":return function(O,z){for(var F=0,B=0;BB&&(B=$,N=j)}}return B?I(N):v};case"rms":return function(O,z){for(var F=0,B=0,N=0;N":return function(H){return q(H)>U};case">=":return function(H){return q(H)>=U};case"[]":return function(H){var ne=q(H);return ne>=U[0]&&ne<=U[1]};case"()":return function(H){var ne=q(H);return ne>U[0]&&ne=U[0]&&neU[0]&&ne<=U[1]};case"][":return function(H){var ne=q(H);return ne<=U[0]||ne>=U[1]};case")(":return function(H){var ne=q(H);return neU[1]};case"](":return function(H){var ne=q(H);return ne<=U[0]||ne>U[1]};case")[":return function(H){var ne=q(H);return ne=U[1]};case"{}":return function(H){return U.indexOf(q(H))!==-1};case"}{":return function(H){return U.indexOf(q(H))===-1}}}(s,i.getDataToCoordFunc(u,o,c,h),w),A={},L={},b=0;C?(k=function(z){A[z.astr]=d.extendDeep([],z.get()),z.set(new Array(m))},E=function(z,F){var B=A[z.astr][F];z.get()[F]=B}):(k=function(z){A[z.astr]=d.extendDeep([],z.get()),z.set([])},E=function(z,F){var B=A[z.astr][F];z.get().push(B)}),O(k);for(var R=M(o.transforms,s),I=0;I1?"%{group} (%{trace})":"%{group}");var h=f.styles,c=o.styles=[];if(h)for(u=0;uk)throw new RangeError('The value "'+ge+'" is invalid for option "size"');var we=new Uint8Array(ge);return Object.setPrototypeOf(we,x.prototype),we}function x(ge,we,Ee){if(typeof ge=="number"){if(typeof we=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return b(ge)}return A(ge,we,Ee)}function A(ge,we,Ee){if(typeof ge=="string")return function(Ye,st){if(typeof st=="string"&&st!==""||(st="utf8"),!x.isEncoding(st))throw new TypeError("Unknown encoding: "+st);var ot=0|z(Ye,st),ht=E(ot),bt=ht.write(Ye,st);return bt!==ot&&(ht=ht.slice(0,bt)),ht}(ge,we);if(ArrayBuffer.isView(ge))return function(Ye){if(ke(Ye,Uint8Array)){var st=new Uint8Array(Ye);return I(st.buffer,st.byteOffset,st.byteLength)}return R(Ye)}(ge);if(ge==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+w(ge));if(ke(ge,ArrayBuffer)||ge&&ke(ge.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(ke(ge,SharedArrayBuffer)||ge&&ke(ge.buffer,SharedArrayBuffer)))return I(ge,we,Ee);if(typeof ge=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var Ve=ge.valueOf&&ge.valueOf();if(Ve!=null&&Ve!==ge)return x.from(Ve,we,Ee);var $e=function(Ye){if(x.isBuffer(Ye)){var st=0|O(Ye.length),ot=E(st);return ot.length===0||Ye.copy(ot,0,0,st),ot}return Ye.length!==void 0?typeof Ye.length!="number"||Le(Ye.length)?E(0):R(Ye):Ye.type==="Buffer"&&Array.isArray(Ye.data)?R(Ye.data):void 0}(ge);if($e)return $e;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof ge[Symbol.toPrimitive]=="function")return x.from(ge[Symbol.toPrimitive]("string"),we,Ee);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+w(ge))}function L(ge){if(typeof ge!="number")throw new TypeError('"size" argument must be of type number');if(ge<0)throw new RangeError('The value "'+ge+'" is invalid for option "size"')}function b(ge){return L(ge),E(ge<0?0:0|O(ge))}function R(ge){for(var we=ge.length<0?0:0|O(ge.length),Ee=E(we),Ve=0;Ve=k)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+k.toString(16)+" bytes");return 0|ge}function z(ge,we){if(x.isBuffer(ge))return ge.length;if(ArrayBuffer.isView(ge)||ke(ge,ArrayBuffer))return ge.byteLength;if(typeof ge!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+w(ge));var Ee=ge.length,Ve=arguments.length>2&&arguments[2]===!0;if(!Ve&&Ee===0)return 0;for(var $e=!1;;)switch(we){case"ascii":case"latin1":case"binary":return Ee;case"utf8":case"utf-8":return ae(ge).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*Ee;case"hex":return Ee>>>1;case"base64":return fe(ge).length;default:if($e)return Ve?-1:ae(ge).length;we=(""+we).toLowerCase(),$e=!0}}function F(ge,we,Ee){var Ve=!1;if((we===void 0||we<0)&&(we=0),we>this.length||((Ee===void 0||Ee>this.length)&&(Ee=this.length),Ee<=0)||(Ee>>>=0)<=(we>>>=0))return"";for(ge||(ge="utf8");;)switch(ge){case"hex":return Q(this,we,Ee);case"utf8":case"utf-8":return ne(this,we,Ee);case"ascii":return Z(this,we,Ee);case"latin1":case"binary":return X(this,we,Ee);case"base64":return H(this,we,Ee);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return re(this,we,Ee);default:if(Ve)throw new TypeError("Unknown encoding: "+ge);ge=(ge+"").toLowerCase(),Ve=!0}}function B(ge,we,Ee){var Ve=ge[we];ge[we]=ge[Ee],ge[Ee]=Ve}function N(ge,we,Ee,Ve,$e){if(ge.length===0)return-1;if(typeof Ee=="string"?(Ve=Ee,Ee=0):Ee>2147483647?Ee=2147483647:Ee<-2147483648&&(Ee=-2147483648),Le(Ee=+Ee)&&(Ee=$e?0:ge.length-1),Ee<0&&(Ee=ge.length+Ee),Ee>=ge.length){if($e)return-1;Ee=ge.length-1}else if(Ee<0){if(!$e)return-1;Ee=0}if(typeof we=="string"&&(we=x.from(we,Ve)),x.isBuffer(we))return we.length===0?-1:W(ge,we,Ee,Ve,$e);if(typeof we=="number")return we&=255,typeof Uint8Array.prototype.indexOf=="function"?$e?Uint8Array.prototype.indexOf.call(ge,we,Ee):Uint8Array.prototype.lastIndexOf.call(ge,we,Ee):W(ge,[we],Ee,Ve,$e);throw new TypeError("val must be string, number or Buffer")}function W(ge,we,Ee,Ve,$e){var Ye,st=1,ot=ge.length,ht=we.length;if(Ve!==void 0&&((Ve=String(Ve).toLowerCase())==="ucs2"||Ve==="ucs-2"||Ve==="utf16le"||Ve==="utf-16le")){if(ge.length<2||we.length<2)return-1;st=2,ot/=2,ht/=2,Ee/=2}function bt(Ft,Ot){return st===1?Ft[Ot]:Ft.readUInt16BE(Ot*st)}if($e){var Et=-1;for(Ye=Ee;Yeot&&(Ee=ot-ht),Ye=Ee;Ye>=0;Ye--){for(var kt=!0,xt=0;xt$e&&(Ve=$e):Ve=$e;var Ye,st=we.length;for(Ve>st/2&&(Ve=st/2),Ye=0;Ye>8,ht=st%256,bt.push(ht),bt.push(ot);return bt}(we,ge.length-Ee),ge,Ee,Ve)}function H(ge,we,Ee){return we===0&&Ee===ge.length?y.fromByteArray(ge):y.fromByteArray(ge.slice(we,Ee))}function ne(ge,we,Ee){Ee=Math.min(ge.length,Ee);for(var Ve=[],$e=we;$e239?4:Ye>223?3:Ye>191?2:1;if($e+ot<=Ee){var ht=void 0,bt=void 0,Et=void 0,kt=void 0;switch(ot){case 1:Ye<128&&(st=Ye);break;case 2:(192&(ht=ge[$e+1]))==128&&(kt=(31&Ye)<<6|63&ht)>127&&(st=kt);break;case 3:ht=ge[$e+1],bt=ge[$e+2],(192&ht)==128&&(192&bt)==128&&(kt=(15&Ye)<<12|(63&ht)<<6|63&bt)>2047&&(kt<55296||kt>57343)&&(st=kt);break;case 4:ht=ge[$e+1],bt=ge[$e+2],Et=ge[$e+3],(192&ht)==128&&(192&bt)==128&&(192&Et)==128&&(kt=(15&Ye)<<18|(63&ht)<<12|(63&bt)<<6|63&Et)>65535&&kt<1114112&&(st=kt)}}st===null?(st=65533,ot=1):st>65535&&(st-=65536,Ve.push(st>>>10&1023|55296),st=56320|1023&st),Ve.push(st),$e+=ot}return function(xt){var Ft=xt.length;if(Ft<=te)return String.fromCharCode.apply(String,xt);for(var Ot="",Bt=0;Bt"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(x.prototype,"parent",{enumerable:!0,get:function(){if(x.isBuffer(this))return this.buffer}}),Object.defineProperty(x.prototype,"offset",{enumerable:!0,get:function(){if(x.isBuffer(this))return this.byteOffset}}),x.poolSize=8192,x.from=function(ge,we,Ee){return A(ge,we,Ee)},Object.setPrototypeOf(x.prototype,Uint8Array.prototype),Object.setPrototypeOf(x,Uint8Array),x.alloc=function(ge,we,Ee){return function(Ve,$e,Ye){return L(Ve),Ve<=0?E(Ve):$e!==void 0?typeof Ye=="string"?E(Ve).fill($e,Ye):E(Ve).fill($e):E(Ve)}(ge,we,Ee)},x.allocUnsafe=function(ge){return b(ge)},x.allocUnsafeSlow=function(ge){return b(ge)},x.isBuffer=function(ge){return ge!=null&&ge._isBuffer===!0&&ge!==x.prototype},x.compare=function(ge,we){if(ke(ge,Uint8Array)&&(ge=x.from(ge,ge.offset,ge.byteLength)),ke(we,Uint8Array)&&(we=x.from(we,we.offset,we.byteLength)),!x.isBuffer(ge)||!x.isBuffer(we))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ge===we)return 0;for(var Ee=ge.length,Ve=we.length,$e=0,Ye=Math.min(Ee,Ve);$eVe.length?(x.isBuffer(Ye)||(Ye=x.from(Ye)),Ye.copy(Ve,$e)):Uint8Array.prototype.set.call(Ve,Ye,$e);else{if(!x.isBuffer(Ye))throw new TypeError('"list" argument must be an Array of Buffers');Ye.copy(Ve,$e)}$e+=Ye.length}return Ve},x.byteLength=z,x.prototype._isBuffer=!0,x.prototype.swap16=function(){var ge=this.length;if(ge%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var we=0;wewe&&(ge+=" ... "),""},_&&(x.prototype[_]=x.prototype.inspect),x.prototype.compare=function(ge,we,Ee,Ve,$e){if(ke(ge,Uint8Array)&&(ge=x.from(ge,ge.offset,ge.byteLength)),!x.isBuffer(ge))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+w(ge));if(we===void 0&&(we=0),Ee===void 0&&(Ee=ge?ge.length:0),Ve===void 0&&(Ve=0),$e===void 0&&($e=this.length),we<0||Ee>ge.length||Ve<0||$e>this.length)throw new RangeError("out of range index");if(Ve>=$e&&we>=Ee)return 0;if(Ve>=$e)return-1;if(we>=Ee)return 1;if(this===ge)return 0;for(var Ye=($e>>>=0)-(Ve>>>=0),st=(Ee>>>=0)-(we>>>=0),ot=Math.min(Ye,st),ht=this.slice(Ve,$e),bt=ge.slice(we,Ee),Et=0;Et>>=0,isFinite(Ee)?(Ee>>>=0,Ve===void 0&&(Ve="utf8")):(Ve=Ee,Ee=void 0)}var $e=this.length-we;if((Ee===void 0||Ee>$e)&&(Ee=$e),ge.length>0&&(Ee<0||we<0)||we>this.length)throw new RangeError("Attempt to write outside buffer bounds");Ve||(Ve="utf8");for(var Ye=!1;;)switch(Ve){case"hex":return j(this,ge,we,Ee);case"utf8":case"utf-8":return $(this,ge,we,Ee);case"ascii":case"latin1":case"binary":return U(this,ge,we,Ee);case"base64":return G(this,ge,we,Ee);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return q(this,ge,we,Ee);default:if(Ye)throw new TypeError("Unknown encoding: "+Ve);Ve=(""+Ve).toLowerCase(),Ye=!0}},x.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var te=4096;function Z(ge,we,Ee){var Ve="";Ee=Math.min(ge.length,Ee);for(var $e=we;$eVe)&&(Ee=Ve);for(var $e="",Ye=we;YeEe)throw new RangeError("Trying to access beyond buffer length")}function oe(ge,we,Ee,Ve,$e,Ye){if(!x.isBuffer(ge))throw new TypeError('"buffer" argument must be a Buffer instance');if(we>$e||wege.length)throw new RangeError("Index out of range")}function ue(ge,we,Ee,Ve,$e){_e(we,Ve,$e,ge,Ee,7);var Ye=Number(we&BigInt(4294967295));ge[Ee++]=Ye,Ye>>=8,ge[Ee++]=Ye,Ye>>=8,ge[Ee++]=Ye,Ye>>=8,ge[Ee++]=Ye;var st=Number(we>>BigInt(32)&BigInt(4294967295));return ge[Ee++]=st,st>>=8,ge[Ee++]=st,st>>=8,ge[Ee++]=st,st>>=8,ge[Ee++]=st,Ee}function ce(ge,we,Ee,Ve,$e){_e(we,Ve,$e,ge,Ee,7);var Ye=Number(we&BigInt(4294967295));ge[Ee+7]=Ye,Ye>>=8,ge[Ee+6]=Ye,Ye>>=8,ge[Ee+5]=Ye,Ye>>=8,ge[Ee+4]=Ye;var st=Number(we>>BigInt(32)&BigInt(4294967295));return ge[Ee+3]=st,st>>=8,ge[Ee+2]=st,st>>=8,ge[Ee+1]=st,st>>=8,ge[Ee]=st,Ee+8}function ye(ge,we,Ee,Ve,$e,Ye){if(Ee+Ve>ge.length)throw new RangeError("Index out of range");if(Ee<0)throw new RangeError("Index out of range")}function de(ge,we,Ee,Ve,$e){return we=+we,Ee>>>=0,$e||ye(ge,0,Ee,4),C.write(ge,we,Ee,Ve,23,4),Ee+4}function me(ge,we,Ee,Ve,$e){return we=+we,Ee>>>=0,$e||ye(ge,0,Ee,8),C.write(ge,we,Ee,Ve,52,8),Ee+8}x.prototype.slice=function(ge,we){var Ee=this.length;(ge=~~ge)<0?(ge+=Ee)<0&&(ge=0):ge>Ee&&(ge=Ee),(we=we===void 0?Ee:~~we)<0?(we+=Ee)<0&&(we=0):we>Ee&&(we=Ee),we>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=this[ge],$e=1,Ye=0;++Ye>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=this[ge+--we],$e=1;we>0&&($e*=256);)Ve+=this[ge+--we]*$e;return Ve},x.prototype.readUint8=x.prototype.readUInt8=function(ge,we){return ge>>>=0,we||ie(ge,1,this.length),this[ge]},x.prototype.readUint16LE=x.prototype.readUInt16LE=function(ge,we){return ge>>>=0,we||ie(ge,2,this.length),this[ge]|this[ge+1]<<8},x.prototype.readUint16BE=x.prototype.readUInt16BE=function(ge,we){return ge>>>=0,we||ie(ge,2,this.length),this[ge]<<8|this[ge+1]},x.prototype.readUint32LE=x.prototype.readUInt32LE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),(this[ge]|this[ge+1]<<8|this[ge+2]<<16)+16777216*this[ge+3]},x.prototype.readUint32BE=x.prototype.readUInt32BE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),16777216*this[ge]+(this[ge+1]<<16|this[ge+2]<<8|this[ge+3])},x.prototype.readBigUInt64LE=ze(function(ge){Me(ge>>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=we+this[++ge]*Math.pow(2,8)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,24),$e=this[++ge]+this[++ge]*Math.pow(2,8)+this[++ge]*Math.pow(2,16)+Ee*Math.pow(2,24);return BigInt(Ve)+(BigInt($e)<>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=we*Math.pow(2,24)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,8)+this[++ge],$e=this[++ge]*Math.pow(2,24)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,8)+Ee;return(BigInt(Ve)<>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=this[ge],$e=1,Ye=0;++Ye=($e*=128)&&(Ve-=Math.pow(2,8*we)),Ve},x.prototype.readIntBE=function(ge,we,Ee){ge>>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=we,$e=1,Ye=this[ge+--Ve];Ve>0&&($e*=256);)Ye+=this[ge+--Ve]*$e;return Ye>=($e*=128)&&(Ye-=Math.pow(2,8*we)),Ye},x.prototype.readInt8=function(ge,we){return ge>>>=0,we||ie(ge,1,this.length),128&this[ge]?-1*(255-this[ge]+1):this[ge]},x.prototype.readInt16LE=function(ge,we){ge>>>=0,we||ie(ge,2,this.length);var Ee=this[ge]|this[ge+1]<<8;return 32768&Ee?4294901760|Ee:Ee},x.prototype.readInt16BE=function(ge,we){ge>>>=0,we||ie(ge,2,this.length);var Ee=this[ge+1]|this[ge]<<8;return 32768&Ee?4294901760|Ee:Ee},x.prototype.readInt32LE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),this[ge]|this[ge+1]<<8|this[ge+2]<<16|this[ge+3]<<24},x.prototype.readInt32BE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),this[ge]<<24|this[ge+1]<<16|this[ge+2]<<8|this[ge+3]},x.prototype.readBigInt64LE=ze(function(ge){Me(ge>>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=this[ge+4]+this[ge+5]*Math.pow(2,8)+this[ge+6]*Math.pow(2,16)+(Ee<<24);return(BigInt(Ve)<>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=(we<<24)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,8)+this[++ge];return(BigInt(Ve)<>>=0,we||ie(ge,4,this.length),C.read(this,ge,!0,23,4)},x.prototype.readFloatBE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),C.read(this,ge,!1,23,4)},x.prototype.readDoubleLE=function(ge,we){return ge>>>=0,we||ie(ge,8,this.length),C.read(this,ge,!0,52,8)},x.prototype.readDoubleBE=function(ge,we){return ge>>>=0,we||ie(ge,8,this.length),C.read(this,ge,!1,52,8)},x.prototype.writeUintLE=x.prototype.writeUIntLE=function(ge,we,Ee,Ve){ge=+ge,we>>>=0,Ee>>>=0,Ve||oe(this,ge,we,Ee,Math.pow(2,8*Ee)-1,0);var $e=1,Ye=0;for(this[we]=255≥++Ye>>=0,Ee>>>=0,Ve||oe(this,ge,we,Ee,Math.pow(2,8*Ee)-1,0);var $e=Ee-1,Ye=1;for(this[we+$e]=255≥--$e>=0&&(Ye*=256);)this[we+$e]=ge/Ye&255;return we+Ee},x.prototype.writeUint8=x.prototype.writeUInt8=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,1,255,0),this[we]=255&ge,we+1},x.prototype.writeUint16LE=x.prototype.writeUInt16LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,65535,0),this[we]=255&ge,this[we+1]=ge>>>8,we+2},x.prototype.writeUint16BE=x.prototype.writeUInt16BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,65535,0),this[we]=ge>>>8,this[we+1]=255&ge,we+2},x.prototype.writeUint32LE=x.prototype.writeUInt32LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,4294967295,0),this[we+3]=ge>>>24,this[we+2]=ge>>>16,this[we+1]=ge>>>8,this[we]=255&ge,we+4},x.prototype.writeUint32BE=x.prototype.writeUInt32BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,4294967295,0),this[we]=ge>>>24,this[we+1]=ge>>>16,this[we+2]=ge>>>8,this[we+3]=255&ge,we+4},x.prototype.writeBigUInt64LE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ue(this,ge,we,BigInt(0),BigInt("0xffffffffffffffff"))}),x.prototype.writeBigUInt64BE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ce(this,ge,we,BigInt(0),BigInt("0xffffffffffffffff"))}),x.prototype.writeIntLE=function(ge,we,Ee,Ve){if(ge=+ge,we>>>=0,!Ve){var $e=Math.pow(2,8*Ee-1);oe(this,ge,we,Ee,$e-1,-$e)}var Ye=0,st=1,ot=0;for(this[we]=255≥++Ye>0)-ot&255;return we+Ee},x.prototype.writeIntBE=function(ge,we,Ee,Ve){if(ge=+ge,we>>>=0,!Ve){var $e=Math.pow(2,8*Ee-1);oe(this,ge,we,Ee,$e-1,-$e)}var Ye=Ee-1,st=1,ot=0;for(this[we+Ye]=255≥--Ye>=0&&(st*=256);)ge<0&&ot===0&&this[we+Ye+1]!==0&&(ot=1),this[we+Ye]=(ge/st>>0)-ot&255;return we+Ee},x.prototype.writeInt8=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,1,127,-128),ge<0&&(ge=255+ge+1),this[we]=255&ge,we+1},x.prototype.writeInt16LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,32767,-32768),this[we]=255&ge,this[we+1]=ge>>>8,we+2},x.prototype.writeInt16BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,32767,-32768),this[we]=ge>>>8,this[we+1]=255&ge,we+2},x.prototype.writeInt32LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,2147483647,-2147483648),this[we]=255&ge,this[we+1]=ge>>>8,this[we+2]=ge>>>16,this[we+3]=ge>>>24,we+4},x.prototype.writeInt32BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,2147483647,-2147483648),ge<0&&(ge=4294967295+ge+1),this[we]=ge>>>24,this[we+1]=ge>>>16,this[we+2]=ge>>>8,this[we+3]=255&ge,we+4},x.prototype.writeBigInt64LE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ue(this,ge,we,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),x.prototype.writeBigInt64BE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ce(this,ge,we,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),x.prototype.writeFloatLE=function(ge,we,Ee){return de(this,ge,we,!0,Ee)},x.prototype.writeFloatBE=function(ge,we,Ee){return de(this,ge,we,!1,Ee)},x.prototype.writeDoubleLE=function(ge,we,Ee){return me(this,ge,we,!0,Ee)},x.prototype.writeDoubleBE=function(ge,we,Ee){return me(this,ge,we,!1,Ee)},x.prototype.copy=function(ge,we,Ee,Ve){if(!x.isBuffer(ge))throw new TypeError("argument should be a Buffer");if(Ee||(Ee=0),Ve||Ve===0||(Ve=this.length),we>=ge.length&&(we=ge.length),we||(we=0),Ve>0&&Ve=this.length)throw new RangeError("Index out of range");if(Ve<0)throw new RangeError("sourceEnd out of bounds");Ve>this.length&&(Ve=this.length),ge.length-we>>=0,Ee=Ee===void 0?this.length:Ee>>>0,ge||(ge=0),typeof ge=="number")for(Ye=we;Ye"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var Et,kt=m(st);if(ot){var xt=m(this).constructor;Et=Reflect.construct(kt,arguments,xt)}else Et=kt.apply(this,arguments);return h(this,Et)});function bt(){var Et;return u(this,bt),Et=ht.call(this),Object.defineProperty(c(Et),"message",{value:we.apply(c(Et),arguments),writable:!0,configurable:!0}),Et.name="".concat(Et.name," [").concat(ge,"]"),Et.stack,delete Et.name,Et}return $e=bt,(Ye=[{key:"code",get:function(){return ge},set:function(Et){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:Et,writable:!0})}},{key:"toString",value:function(){return"".concat(this.name," [").concat(ge,"]: ").concat(this.message)}}])&&o($e.prototype,Ye),Object.defineProperty($e,"prototype",{writable:!1}),bt}(Ee)}function Pe(ge){for(var we="",Ee=ge.length,Ve=ge[0]==="-"?1:0;Ee>=Ve+4;Ee-=3)we="_".concat(ge.slice(Ee-3,Ee)).concat(we);return"".concat(ge.slice(0,Ee)).concat(we)}function _e(ge,we,Ee,Ve,$e,Ye){if(ge>Ee||ge3?we===0||we===BigInt(0)?">= 0".concat(ot," and < 2").concat(ot," ** ").concat(8*(Ye+1)).concat(ot):">= -(2".concat(ot," ** ").concat(8*(Ye+1)-1).concat(ot,") and < 2 ** ")+"".concat(8*(Ye+1)-1).concat(ot):">= ".concat(we).concat(ot," and <= ").concat(Ee).concat(ot),new pe.ERR_OUT_OF_RANGE("value",st,ge)}(function(ht,bt,Et){Me(bt,"offset"),ht[bt]!==void 0&&ht[bt+Et]!==void 0||Se(bt,ht.length-(Et+1))})(Ve,$e,Ye)}function Me(ge,we){if(typeof ge!="number")throw new pe.ERR_INVALID_ARG_TYPE(we,"number",ge)}function Se(ge,we,Ee){throw Math.floor(ge)!==ge?(Me(ge,Ee),new pe.ERR_OUT_OF_RANGE(Ee||"offset","an integer",ge)):we<0?new pe.ERR_BUFFER_OUT_OF_BOUNDS:new pe.ERR_OUT_OF_RANGE(Ee||"offset",">= ".concat(Ee?1:0," and <= ").concat(we),ge)}xe("ERR_BUFFER_OUT_OF_BOUNDS",function(ge){return ge?"".concat(ge," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"},RangeError),xe("ERR_INVALID_ARG_TYPE",function(ge,we){return'The "'.concat(ge,'" argument must be of type number. Received type ').concat(w(we))},TypeError),xe("ERR_OUT_OF_RANGE",function(ge,we,Ee){var Ve='The value of "'.concat(ge,'" is out of range.'),$e=Ee;return Number.isInteger(Ee)&&Math.abs(Ee)>Math.pow(2,32)?$e=Pe(String(Ee)):typeof Ee=="bigint"&&($e=String(Ee),(Ee>Math.pow(BigInt(2),BigInt(32))||Ee<-Math.pow(BigInt(2),BigInt(32)))&&($e=Pe($e)),$e+="n"),Ve+" It must be ".concat(we,". Received ").concat($e)},RangeError);var Ce=/[^+/0-9A-Za-z-_]/g;function ae(ge,we){var Ee;we=we||1/0;for(var Ve=ge.length,$e=null,Ye=[],st=0;st55295&&Ee<57344){if(!$e){if(Ee>56319){(we-=3)>-1&&Ye.push(239,191,189);continue}if(st+1===Ve){(we-=3)>-1&&Ye.push(239,191,189);continue}$e=Ee;continue}if(Ee<56320){(we-=3)>-1&&Ye.push(239,191,189),$e=Ee;continue}Ee=65536+($e-55296<<10|Ee-56320)}else $e&&(we-=3)>-1&&Ye.push(239,191,189);if($e=null,Ee<128){if((we-=1)<0)break;Ye.push(Ee)}else if(Ee<2048){if((we-=2)<0)break;Ye.push(Ee>>6|192,63&Ee|128)}else if(Ee<65536){if((we-=3)<0)break;Ye.push(Ee>>12|224,Ee>>6&63|128,63&Ee|128)}else{if(!(Ee<1114112))throw new Error("Invalid code point");if((we-=4)<0)break;Ye.push(Ee>>18|240,Ee>>12&63|128,Ee>>6&63|128,63&Ee|128)}}return Ye}function fe(ge){return y.toByteArray(function(we){if((we=(we=we.split("=")[0]).trim().replace(Ce,"")).length<2)return"";for(;we.length%4!=0;)we+="=";return we}(ge))}function be(ge,we,Ee,Ve){var $e;for($e=0;$e=we.length||$e>=ge.length);++$e)we[$e+Ee]=ge[$e];return $e}function ke(ge,we){return ge instanceof we||ge!=null&&ge.constructor!=null&&ge.constructor.name!=null&&ge.constructor.name===we.name}function Le(ge){return ge!=ge}var Be=function(){for(var ge="0123456789abcdef",we=new Array(256),Ee=0;Ee<16;++Ee)for(var Ve=16*Ee,$e=0;$e<16;++$e)we[Ve+$e]=ge[Ee]+ge[$e];return we}();function ze(ge){return typeof BigInt>"u"?je:ge}function je(){throw new Error("BigInt not supported")}},2321:function(f){f.exports=o,f.exports.isMobile=o,f.exports.default=o;var l=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,a=/CrOS/,u=/android|ipad|playbook|silk/i;function o(s){s||(s={});var h=s.ua;if(h||typeof navigator>"u"||(h=navigator.userAgent),h&&h.headers&&typeof h.headers["user-agent"]=="string"&&(h=h.headers["user-agent"]),typeof h!="string")return!1;var c=l.test(h)&&!a.test(h)||!!s.tablet&&u.test(h);return!c&&s.tablet&&s.featureDetect&&navigator&&navigator.maxTouchPoints>1&&h.indexOf("Macintosh")!==-1&&h.indexOf("Safari")!==-1&&(c=!0),c}},3910:function(f,l){l.byteLength=function(y){var C=m(y),_=C[0],k=C[1];return 3*(_+k)/4-k},l.toByteArray=function(y){var C,_,k=m(y),E=k[0],x=k[1],A=new o(function(R,I,O){return 3*(I+O)/4-O}(0,E,x)),L=0,b=x>0?E-4:E;for(_=0;_>16&255,A[L++]=C>>8&255,A[L++]=255&C;return x===2&&(C=u[y.charCodeAt(_)]<<2|u[y.charCodeAt(_+1)]>>4,A[L++]=255&C),x===1&&(C=u[y.charCodeAt(_)]<<10|u[y.charCodeAt(_+1)]<<4|u[y.charCodeAt(_+2)]>>2,A[L++]=C>>8&255,A[L++]=255&C),A},l.fromByteArray=function(y){for(var C,_=y.length,k=_%3,E=[],x=16383,A=0,L=_-k;AL?L:A+x));return k===1?(C=y[_-1],E.push(a[C>>2]+a[C<<4&63]+"==")):k===2&&(C=(y[_-2]<<8)+y[_-1],E.push(a[C>>10]+a[C>>4&63]+a[C<<2&63]+"=")),E.join("")};for(var a=[],u=[],o=typeof Uint8Array<"u"?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h=0,c=s.length;h0)throw new Error("Invalid string. Length must be a multiple of 4");var _=y.indexOf("=");return _===-1&&(_=C),[_,_===C?0:4-_%4]}function w(y,C,_){for(var k,E,x=[],A=C;A<_;A+=3)k=(y[A]<<16&16711680)+(y[A+1]<<8&65280)+(255&y[A+2]),x.push(a[(E=k)>>18&63]+a[E>>12&63]+a[E>>6&63]+a[63&E]);return x.join("")}u["-".charCodeAt(0)]=62,u["_".charCodeAt(0)]=63},3187:function(f,l){l.read=function(a,u,o,s,h){var c,m,w=8*h-s-1,y=(1<>1,_=-7,k=o?h-1:0,E=o?-1:1,x=a[u+k];for(k+=E,c=x&(1<<-_)-1,x>>=-_,_+=w;_>0;c=256*c+a[u+k],k+=E,_-=8);for(m=c&(1<<-_)-1,c>>=-_,_+=s;_>0;m=256*m+a[u+k],k+=E,_-=8);if(c===0)c=1-C;else{if(c===y)return m?NaN:1/0*(x?-1:1);m+=Math.pow(2,s),c-=C}return(x?-1:1)*m*Math.pow(2,c-s)},l.write=function(a,u,o,s,h,c){var m,w,y,C=8*c-h-1,_=(1<>1,E=h===23?Math.pow(2,-24)-Math.pow(2,-77):0,x=s?0:c-1,A=s?1:-1,L=u<0||u===0&&1/u<0?1:0;for(u=Math.abs(u),isNaN(u)||u===1/0?(w=isNaN(u)?1:0,m=_):(m=Math.floor(Math.log(u)/Math.LN2),u*(y=Math.pow(2,-m))<1&&(m--,y*=2),(u+=m+k>=1?E/y:E*Math.pow(2,1-k))*y>=2&&(m++,y/=2),m+k>=_?(w=0,m=_):m+k>=1?(w=(u*y-1)*Math.pow(2,h),m+=k):(w=u*Math.pow(2,k-1)*Math.pow(2,h),m=0));h>=8;a[o+x]=255&w,x+=A,w/=256,h-=8);for(m=m<0;a[o+x]=255&m,x+=A,m/=256,C-=8);a[o+x-A]|=128*L}},1152:function(f,l,a){f.exports=function(m){var w=(m=m||{}).eye||[0,0,1],y=m.center||[0,0,0],C=m.up||[0,1,0],_=m.distanceLimits||[0,1/0],k=m.mode||"turntable",E=u(),x=o(),A=s();return E.setDistanceLimits(_[0],_[1]),E.lookAt(0,w,y,C),x.setDistanceLimits(_[0],_[1]),x.lookAt(0,w,y,C),A.setDistanceLimits(_[0],_[1]),A.lookAt(0,w,y,C),new h({turntable:E,orbit:x,matrix:A},k)};var u=a(3440),o=a(7774),s=a(9298);function h(m,w){this._controllerNames=Object.keys(m),this._controllerList=this._controllerNames.map(function(y){return m[y]}),this._mode=w,this._active=m[w],this._active||(this._mode="turntable",this._active=m.turntable),this.modes=this._controllerNames,this.computedMatrix=this._active.computedMatrix,this.computedEye=this._active.computedEye,this.computedUp=this._active.computedUp,this.computedCenter=this._active.computedCenter,this.computedRadius=this._active.computedRadius}var c=h.prototype;c.flush=function(m){for(var w=this._controllerList,y=0;y"u"?a(5346):WeakMap,o=a(5827),s=a(2944),h=new u;f.exports=function(c){var m=h.get(c),w=m&&(m._triangleBuffer.handle||m._triangleBuffer.buffer);if(!w||!c.isBuffer(w)){var y=o(c,new Float32Array([-1,-1,-1,4,4,-1]));(m=s(c,[{buffer:y,type:c.FLOAT,size:2}]))._triangleBuffer=y,h.set(c,m)}m.bind(),c.drawArrays(c.TRIANGLES,0,3),m.unbind()}},8008:function(f,l,a){var u=a(4930);f.exports=function(o,s,h){s=typeof s=="number"?s:1,h=h||": ";var c=o.split(/\r?\n/),m=String(c.length+s-1).length;return c.map(function(w,y){var C=y+s,_=String(C).length;return u(C,m-_)+h+w}).join(` +`)}},2153:function(f,l,a){f.exports=function(s){var h=s.length;if(h===0)return[];if(h===1)return[0];for(var c=s[0].length,m=[s[0]],w=[0],y=1;y0?_=_.ushln(E):E<0&&(k=k.ushln(-E)),c(_,k)}},234:function(f,l,a){var u=a(3218);f.exports=function(o){return Array.isArray(o)&&o.length===2&&u(o[0])&&u(o[1])}},4275:function(f,l,a){var u=a(1928);f.exports=function(o){return o.cmp(new u(0))}},9958:function(f,l,a){var u=a(4275);f.exports=function(o){var s=o.length,h=o.words,c=0;if(s===1)c=h[0];else if(s===2)c=h[0]+67108864*h[1];else for(var m=0;m20?52:c+32}},3218:function(f,l,a){a(1928),f.exports=function(u){return u&&typeof u=="object"&&!!u.words}},5514:function(f,l,a){var u=a(1928),o=a(8362);f.exports=function(s){var h=o.exponent(s);return h<52?new u(s):new u(s*Math.pow(2,52-h)).ushln(h-52)}},8524:function(f,l,a){var u=a(5514),o=a(4275);f.exports=function(s,h){var c=o(s),m=o(h);if(c===0)return[u(0),u(1)];if(m===0)return[u(0),u(0)];m<0&&(s=s.neg(),h=h.neg());var w=s.gcd(h);return w.cmpn(1)?[s.div(w),h.div(w)]:[s,h]}},2813:function(f,l,a){var u=a(1928);f.exports=function(o){return new u(o)}},3962:function(f,l,a){var u=a(8524);f.exports=function(o,s){return u(o[0].mul(s[0]),o[1].mul(s[1]))}},4951:function(f,l,a){var u=a(4275);f.exports=function(o){return u(o[0])*u(o[1])}},4354:function(f,l,a){var u=a(8524);f.exports=function(o,s){return u(o[0].mul(s[1]).sub(o[1].mul(s[0])),o[1].mul(s[1]))}},7999:function(f,l,a){var u=a(9958),o=a(1112);f.exports=function(s){var h=s[0],c=s[1];if(h.cmpn(0)===0)return 0;var m=h.abs().divmod(c.abs()),w=m.div,y=u(w),C=m.mod,_=h.negative!==c.negative?-1:1;if(C.cmpn(0)===0)return _*y;if(y){var k=o(y)+4,E=u(C.ushln(k).divRound(c));return _*(y+E*Math.pow(2,-k))}var x=c.bitLength()-C.bitLength()+53;return E=u(C.ushln(x).divRound(c)),x<1023?_*E*Math.pow(2,-x):_*(E*=Math.pow(2,-1023))*Math.pow(2,1023-x)}},5070:function(f){function l(c,m,w,y,C){for(var _=C+1;y<=C;){var k=y+C>>>1,E=c[k];(w!==void 0?w(E,m):E-m)>=0?(_=k,C=k-1):y=k+1}return _}function a(c,m,w,y,C){for(var _=C+1;y<=C;){var k=y+C>>>1,E=c[k];(w!==void 0?w(E,m):E-m)>0?(_=k,C=k-1):y=k+1}return _}function u(c,m,w,y,C){for(var _=y-1;y<=C;){var k=y+C>>>1,E=c[k];(w!==void 0?w(E,m):E-m)<0?(_=k,y=k+1):C=k-1}return _}function o(c,m,w,y,C){for(var _=y-1;y<=C;){var k=y+C>>>1,E=c[k];(w!==void 0?w(E,m):E-m)<=0?(_=k,y=k+1):C=k-1}return _}function s(c,m,w,y,C){for(;y<=C;){var _=y+C>>>1,k=c[_],E=w!==void 0?w(k,m):k-m;if(E===0)return _;E<=0?y=_+1:C=_-1}return-1}function h(c,m,w,y,C,_){return typeof w=="function"?_(c,m,w,y===void 0?0:0|y,C===void 0?c.length-1:0|C):_(c,m,void 0,w===void 0?0:0|w,y===void 0?c.length-1:0|y)}f.exports={ge:function(c,m,w,y,C){return h(c,m,w,y,C,l)},gt:function(c,m,w,y,C){return h(c,m,w,y,C,a)},lt:function(c,m,w,y,C){return h(c,m,w,y,C,u)},le:function(c,m,w,y,C){return h(c,m,w,y,C,o)},eq:function(c,m,w,y,C){return h(c,m,w,y,C,s)}}},2288:function(f,l){function a(o){var s=32;return(o&=-o)&&s--,65535&o&&(s-=16),16711935&o&&(s-=8),252645135&o&&(s-=4),858993459&o&&(s-=2),1431655765&o&&(s-=1),s}l.INT_BITS=32,l.INT_MAX=2147483647,l.INT_MIN=-2147483648,l.sign=function(o){return(o>0)-(o<0)},l.abs=function(o){var s=o>>31;return(o^s)-s},l.min=function(o,s){return s^(o^s)&-(o65535)<<4,s|=h=((o>>>=s)>255)<<3,s|=h=((o>>>=h)>15)<<2,(s|=h=((o>>>=h)>3)<<1)|(o>>>=h)>>1},l.log10=function(o){return o>=1e9?9:o>=1e8?8:o>=1e7?7:o>=1e6?6:o>=1e5?5:o>=1e4?4:o>=1e3?3:o>=100?2:o>=10?1:0},l.popCount=function(o){return 16843009*((o=(858993459&(o-=o>>>1&1431655765))+(o>>>2&858993459))+(o>>>4)&252645135)>>>24},l.countTrailingZeros=a,l.nextPow2=function(o){return o+=o===0,--o,o|=o>>>1,o|=o>>>2,o|=o>>>4,1+((o|=o>>>8)|o>>>16)},l.prevPow2=function(o){return o|=o>>>1,o|=o>>>2,o|=o>>>4,o|=o>>>8,(o|=o>>>16)-(o>>>1)},l.parity=function(o){return o^=o>>>16,o^=o>>>8,o^=o>>>4,27030>>>(o&=15)&1};var u=new Array(256);(function(o){for(var s=0;s<256;++s){var h=s,c=s,m=7;for(h>>>=1;h;h>>>=1)c<<=1,c|=1&h,--m;o[s]=c<>>8&255]<<16|u[o>>>16&255]<<8|u[o>>>24&255]},l.interleave2=function(o,s){return(o=1431655765&((o=858993459&((o=252645135&((o=16711935&((o&=65535)|o<<8))|o<<4))|o<<2))|o<<1))|(s=1431655765&((s=858993459&((s=252645135&((s=16711935&((s&=65535)|s<<8))|s<<4))|s<<2))|s<<1))<<1},l.deinterleave2=function(o,s){return(o=65535&((o=16711935&((o=252645135&((o=858993459&((o=o>>>s&1431655765)|o>>>1))|o>>>2))|o>>>4))|o>>>16))<<16>>16},l.interleave3=function(o,s,h){return o=1227133513&((o=3272356035&((o=251719695&((o=4278190335&((o&=1023)|o<<16))|o<<8))|o<<4))|o<<2),(o|=(s=1227133513&((s=3272356035&((s=251719695&((s=4278190335&((s&=1023)|s<<16))|s<<8))|s<<4))|s<<2))<<1)|(h=1227133513&((h=3272356035&((h=251719695&((h=4278190335&((h&=1023)|h<<16))|h<<8))|h<<4))|h<<2))<<2},l.deinterleave3=function(o,s){return(o=1023&((o=4278190335&((o=251719695&((o=3272356035&((o=o>>>s&1227133513)|o>>>2))|o>>>4))|o>>>8))|o>>>16))<<22>>22},l.nextCombination=function(o){var s=o|o-1;return s+1|(~s&-~s)-1>>>a(o)+1}},1928:function(f,l,a){(function(u,o){function s(j,$){if(!j)throw new Error($||"Assertion failed")}function h(j,$){j.super_=$;var U=function(){};U.prototype=$.prototype,j.prototype=new U,j.prototype.constructor=j}function c(j,$,U){if(c.isBN(j))return j;this.negative=0,this.words=null,this.length=0,this.red=null,j!==null&&($!=="le"&&$!=="be"||(U=$,$=10),this._init(j||0,$||10,U||"be"))}var m;typeof u=="object"?u.exports=c:o.BN=c,c.BN=c,c.wordSize=26;try{m=typeof window<"u"&&window.Buffer!==void 0?window.Buffer:a(6601).Buffer}catch{}function w(j,$){var U=j.charCodeAt($);return U>=65&&U<=70?U-55:U>=97&&U<=102?U-87:U-48&15}function y(j,$,U){var G=w(j,U);return U-1>=$&&(G|=w(j,U-1)<<4),G}function C(j,$,U,G){for(var q=0,H=Math.min(j.length,U),ne=$;ne=49?te-49+10:te>=17?te-17+10:te}return q}c.isBN=function(j){return j instanceof c||j!==null&&typeof j=="object"&&j.constructor.wordSize===c.wordSize&&Array.isArray(j.words)},c.max=function(j,$){return j.cmp($)>0?j:$},c.min=function(j,$){return j.cmp($)<0?j:$},c.prototype._init=function(j,$,U){if(typeof j=="number")return this._initNumber(j,$,U);if(typeof j=="object")return this._initArray(j,$,U);$==="hex"&&($=16),s($===(0|$)&&$>=2&&$<=36);var G=0;(j=j.toString().replace(/\s+/g,""))[0]==="-"&&(G++,this.negative=1),G=0;G-=3)H=j[G]|j[G-1]<<8|j[G-2]<<16,this.words[q]|=H<>>26-ne&67108863,(ne+=24)>=26&&(ne-=26,q++);else if(U==="le")for(G=0,q=0;G>>26-ne&67108863,(ne+=24)>=26&&(ne-=26,q++);return this.strip()},c.prototype._parseHex=function(j,$,U){this.length=Math.ceil((j.length-$)/6),this.words=new Array(this.length);for(var G=0;G=$;G-=2)q=y(j,$,G)<=18?(H-=18,ne+=1,this.words[ne]|=q>>>26):H+=8;else for(G=(j.length-$)%2==0?$+1:$;G=18?(H-=18,ne+=1,this.words[ne]|=q>>>26):H+=8;this.strip()},c.prototype._parseBase=function(j,$,U){this.words=[0],this.length=1;for(var G=0,q=1;q<=67108863;q*=$)G++;G--,q=q/$|0;for(var H=j.length-U,ne=H%G,te=Math.min(H,H-ne)+U,Z=0,X=U;X1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},c.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},c.prototype.inspect=function(){return(this.red?""};var _=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],k=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],E=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function x(j,$,U){U.negative=$.negative^j.negative;var G=j.length+$.length|0;U.length=G,G=G-1|0;var q=0|j.words[0],H=0|$.words[0],ne=q*H,te=67108863&ne,Z=ne/67108864|0;U.words[0]=te;for(var X=1;X>>26,re=67108863&Z,ie=Math.min(X,$.length-1),oe=Math.max(0,X-j.length+1);oe<=ie;oe++){var ue=X-oe|0;Q+=(ne=(q=0|j.words[ue])*(H=0|$.words[oe])+re)/67108864|0,re=67108863&ne}U.words[X]=0|re,Z=0|Q}return Z!==0?U.words[X]=0|Z:U.length--,U.strip()}c.prototype.toString=function(j,$){var U;if($=0|$||1,(j=j||10)===16||j==="hex"){U="";for(var G=0,q=0,H=0;H>>24-G&16777215)!=0||H!==this.length-1?_[6-te.length]+te+U:te+U,(G+=2)>=26&&(G-=26,H--)}for(q!==0&&(U=q.toString(16)+U);U.length%$!=0;)U="0"+U;return this.negative!==0&&(U="-"+U),U}if(j===(0|j)&&j>=2&&j<=36){var Z=k[j],X=E[j];U="";var Q=this.clone();for(Q.negative=0;!Q.isZero();){var re=Q.modn(X).toString(j);U=(Q=Q.idivn(X)).isZero()?re+U:_[Z-re.length]+re+U}for(this.isZero()&&(U="0"+U);U.length%$!=0;)U="0"+U;return this.negative!==0&&(U="-"+U),U}s(!1,"Base should be between 2 and 36")},c.prototype.toNumber=function(){var j=this.words[0];return this.length===2?j+=67108864*this.words[1]:this.length===3&&this.words[2]===1?j+=4503599627370496+67108864*this.words[1]:this.length>2&&s(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-j:j},c.prototype.toJSON=function(){return this.toString(16)},c.prototype.toBuffer=function(j,$){return s(m!==void 0),this.toArrayLike(m,j,$)},c.prototype.toArray=function(j,$){return this.toArrayLike(Array,j,$)},c.prototype.toArrayLike=function(j,$,U){var G=this.byteLength(),q=U||Math.max(1,G);s(G<=q,"byte array longer than desired length"),s(q>0,"Requested array length <= 0"),this.strip();var H,ne,te=$==="le",Z=new j(q),X=this.clone();if(te){for(ne=0;!X.isZero();ne++)H=X.andln(255),X.iushrn(8),Z[ne]=H;for(;ne=4096&&(U+=13,$>>>=13),$>=64&&(U+=7,$>>>=7),$>=8&&(U+=4,$>>>=4),$>=2&&(U+=2,$>>>=2),U+$},c.prototype._zeroBits=function(j){if(j===0)return 26;var $=j,U=0;return!(8191&$)&&(U+=13,$>>>=13),!(127&$)&&(U+=7,$>>>=7),!(15&$)&&(U+=4,$>>>=4),!(3&$)&&(U+=2,$>>>=2),!(1&$)&&U++,U},c.prototype.bitLength=function(){var j=this.words[this.length-1],$=this._countBits(j);return 26*(this.length-1)+$},c.prototype.zeroBits=function(){if(this.isZero())return 0;for(var j=0,$=0;$j.length?this.clone().ior(j):j.clone().ior(this)},c.prototype.uor=function(j){return this.length>j.length?this.clone().iuor(j):j.clone().iuor(this)},c.prototype.iuand=function(j){var $;$=this.length>j.length?j:this;for(var U=0;U<$.length;U++)this.words[U]=this.words[U]&j.words[U];return this.length=$.length,this.strip()},c.prototype.iand=function(j){return s((this.negative|j.negative)==0),this.iuand(j)},c.prototype.and=function(j){return this.length>j.length?this.clone().iand(j):j.clone().iand(this)},c.prototype.uand=function(j){return this.length>j.length?this.clone().iuand(j):j.clone().iuand(this)},c.prototype.iuxor=function(j){var $,U;this.length>j.length?($=this,U=j):($=j,U=this);for(var G=0;Gj.length?this.clone().ixor(j):j.clone().ixor(this)},c.prototype.uxor=function(j){return this.length>j.length?this.clone().iuxor(j):j.clone().iuxor(this)},c.prototype.inotn=function(j){s(typeof j=="number"&&j>=0);var $=0|Math.ceil(j/26),U=j%26;this._expand($),U>0&&$--;for(var G=0;G<$;G++)this.words[G]=67108863&~this.words[G];return U>0&&(this.words[G]=~this.words[G]&67108863>>26-U),this.strip()},c.prototype.notn=function(j){return this.clone().inotn(j)},c.prototype.setn=function(j,$){s(typeof j=="number"&&j>=0);var U=j/26|0,G=j%26;return this._expand(U+1),this.words[U]=$?this.words[U]|1<j.length?(U=this,G=j):(U=j,G=this);for(var q=0,H=0;H>>26;for(;q!==0&&H>>26;if(this.length=U.length,q!==0)this.words[this.length]=q,this.length++;else if(U!==this)for(;Hj.length?this.clone().iadd(j):j.clone().iadd(this)},c.prototype.isub=function(j){if(j.negative!==0){j.negative=0;var $=this.iadd(j);return j.negative=1,$._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(j),this.negative=1,this._normSign();var U,G,q=this.cmp(j);if(q===0)return this.negative=0,this.length=1,this.words[0]=0,this;q>0?(U=this,G=j):(U=j,G=this);for(var H=0,ne=0;ne>26,this.words[ne]=67108863&$;for(;H!==0&&ne>26,this.words[ne]=67108863&$;if(H===0&&ne>>13,oe=0|ne[1],ue=8191&oe,ce=oe>>>13,ye=0|ne[2],de=8191&ye,me=ye>>>13,pe=0|ne[3],xe=8191&pe,Pe=pe>>>13,_e=0|ne[4],Me=8191&_e,Se=_e>>>13,Ce=0|ne[5],ae=8191&Ce,fe=Ce>>>13,be=0|ne[6],ke=8191&be,Le=be>>>13,Be=0|ne[7],ze=8191&Be,je=Be>>>13,ge=0|ne[8],we=8191&ge,Ee=ge>>>13,Ve=0|ne[9],$e=8191&Ve,Ye=Ve>>>13,st=0|te[0],ot=8191&st,ht=st>>>13,bt=0|te[1],Et=8191&bt,kt=bt>>>13,xt=0|te[2],Ft=8191&xt,Ot=xt>>>13,Bt=0|te[3],qt=8191&Bt,Vt=Bt>>>13,Ke=0|te[4],Je=8191&Ke,qe=Ke>>>13,nt=0|te[5],ft=8191&nt,Re=nt>>>13,Ne=0|te[6],Qe=8191&Ne,ut=Ne>>>13,dt=0|te[7],_t=8191&dt,It=dt>>>13,Lt=0|te[8],yt=8191&Lt,Pt=Lt>>>13,wt=0|te[9],Rt=8191&wt,Nt=wt>>>13;U.negative=j.negative^$.negative,U.length=19;var Yt=(X+(G=Math.imul(re,ot))|0)+((8191&(q=(q=Math.imul(re,ht))+Math.imul(ie,ot)|0))<<13)|0;X=((H=Math.imul(ie,ht))+(q>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,G=Math.imul(ue,ot),q=(q=Math.imul(ue,ht))+Math.imul(ce,ot)|0,H=Math.imul(ce,ht);var Wt=(X+(G=G+Math.imul(re,Et)|0)|0)+((8191&(q=(q=q+Math.imul(re,kt)|0)+Math.imul(ie,Et)|0))<<13)|0;X=((H=H+Math.imul(ie,kt)|0)+(q>>>13)|0)+(Wt>>>26)|0,Wt&=67108863,G=Math.imul(de,ot),q=(q=Math.imul(de,ht))+Math.imul(me,ot)|0,H=Math.imul(me,ht),G=G+Math.imul(ue,Et)|0,q=(q=q+Math.imul(ue,kt)|0)+Math.imul(ce,Et)|0,H=H+Math.imul(ce,kt)|0;var Xt=(X+(G=G+Math.imul(re,Ft)|0)|0)+((8191&(q=(q=q+Math.imul(re,Ot)|0)+Math.imul(ie,Ft)|0))<<13)|0;X=((H=H+Math.imul(ie,Ot)|0)+(q>>>13)|0)+(Xt>>>26)|0,Xt&=67108863,G=Math.imul(xe,ot),q=(q=Math.imul(xe,ht))+Math.imul(Pe,ot)|0,H=Math.imul(Pe,ht),G=G+Math.imul(de,Et)|0,q=(q=q+Math.imul(de,kt)|0)+Math.imul(me,Et)|0,H=H+Math.imul(me,kt)|0,G=G+Math.imul(ue,Ft)|0,q=(q=q+Math.imul(ue,Ot)|0)+Math.imul(ce,Ft)|0,H=H+Math.imul(ce,Ot)|0;var Qt=(X+(G=G+Math.imul(re,qt)|0)|0)+((8191&(q=(q=q+Math.imul(re,Vt)|0)+Math.imul(ie,qt)|0))<<13)|0;X=((H=H+Math.imul(ie,Vt)|0)+(q>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,G=Math.imul(Me,ot),q=(q=Math.imul(Me,ht))+Math.imul(Se,ot)|0,H=Math.imul(Se,ht),G=G+Math.imul(xe,Et)|0,q=(q=q+Math.imul(xe,kt)|0)+Math.imul(Pe,Et)|0,H=H+Math.imul(Pe,kt)|0,G=G+Math.imul(de,Ft)|0,q=(q=q+Math.imul(de,Ot)|0)+Math.imul(me,Ft)|0,H=H+Math.imul(me,Ot)|0,G=G+Math.imul(ue,qt)|0,q=(q=q+Math.imul(ue,Vt)|0)+Math.imul(ce,qt)|0,H=H+Math.imul(ce,Vt)|0;var rn=(X+(G=G+Math.imul(re,Je)|0)|0)+((8191&(q=(q=q+Math.imul(re,qe)|0)+Math.imul(ie,Je)|0))<<13)|0;X=((H=H+Math.imul(ie,qe)|0)+(q>>>13)|0)+(rn>>>26)|0,rn&=67108863,G=Math.imul(ae,ot),q=(q=Math.imul(ae,ht))+Math.imul(fe,ot)|0,H=Math.imul(fe,ht),G=G+Math.imul(Me,Et)|0,q=(q=q+Math.imul(Me,kt)|0)+Math.imul(Se,Et)|0,H=H+Math.imul(Se,kt)|0,G=G+Math.imul(xe,Ft)|0,q=(q=q+Math.imul(xe,Ot)|0)+Math.imul(Pe,Ft)|0,H=H+Math.imul(Pe,Ot)|0,G=G+Math.imul(de,qt)|0,q=(q=q+Math.imul(de,Vt)|0)+Math.imul(me,qt)|0,H=H+Math.imul(me,Vt)|0,G=G+Math.imul(ue,Je)|0,q=(q=q+Math.imul(ue,qe)|0)+Math.imul(ce,Je)|0,H=H+Math.imul(ce,qe)|0;var xn=(X+(G=G+Math.imul(re,ft)|0)|0)+((8191&(q=(q=q+Math.imul(re,Re)|0)+Math.imul(ie,ft)|0))<<13)|0;X=((H=H+Math.imul(ie,Re)|0)+(q>>>13)|0)+(xn>>>26)|0,xn&=67108863,G=Math.imul(ke,ot),q=(q=Math.imul(ke,ht))+Math.imul(Le,ot)|0,H=Math.imul(Le,ht),G=G+Math.imul(ae,Et)|0,q=(q=q+Math.imul(ae,kt)|0)+Math.imul(fe,Et)|0,H=H+Math.imul(fe,kt)|0,G=G+Math.imul(Me,Ft)|0,q=(q=q+Math.imul(Me,Ot)|0)+Math.imul(Se,Ft)|0,H=H+Math.imul(Se,Ot)|0,G=G+Math.imul(xe,qt)|0,q=(q=q+Math.imul(xe,Vt)|0)+Math.imul(Pe,qt)|0,H=H+Math.imul(Pe,Vt)|0,G=G+Math.imul(de,Je)|0,q=(q=q+Math.imul(de,qe)|0)+Math.imul(me,Je)|0,H=H+Math.imul(me,qe)|0,G=G+Math.imul(ue,ft)|0,q=(q=q+Math.imul(ue,Re)|0)+Math.imul(ce,ft)|0,H=H+Math.imul(ce,Re)|0;var un=(X+(G=G+Math.imul(re,Qe)|0)|0)+((8191&(q=(q=q+Math.imul(re,ut)|0)+Math.imul(ie,Qe)|0))<<13)|0;X=((H=H+Math.imul(ie,ut)|0)+(q>>>13)|0)+(un>>>26)|0,un&=67108863,G=Math.imul(ze,ot),q=(q=Math.imul(ze,ht))+Math.imul(je,ot)|0,H=Math.imul(je,ht),G=G+Math.imul(ke,Et)|0,q=(q=q+Math.imul(ke,kt)|0)+Math.imul(Le,Et)|0,H=H+Math.imul(Le,kt)|0,G=G+Math.imul(ae,Ft)|0,q=(q=q+Math.imul(ae,Ot)|0)+Math.imul(fe,Ft)|0,H=H+Math.imul(fe,Ot)|0,G=G+Math.imul(Me,qt)|0,q=(q=q+Math.imul(Me,Vt)|0)+Math.imul(Se,qt)|0,H=H+Math.imul(Se,Vt)|0,G=G+Math.imul(xe,Je)|0,q=(q=q+Math.imul(xe,qe)|0)+Math.imul(Pe,Je)|0,H=H+Math.imul(Pe,qe)|0,G=G+Math.imul(de,ft)|0,q=(q=q+Math.imul(de,Re)|0)+Math.imul(me,ft)|0,H=H+Math.imul(me,Re)|0,G=G+Math.imul(ue,Qe)|0,q=(q=q+Math.imul(ue,ut)|0)+Math.imul(ce,Qe)|0,H=H+Math.imul(ce,ut)|0;var An=(X+(G=G+Math.imul(re,_t)|0)|0)+((8191&(q=(q=q+Math.imul(re,It)|0)+Math.imul(ie,_t)|0))<<13)|0;X=((H=H+Math.imul(ie,It)|0)+(q>>>13)|0)+(An>>>26)|0,An&=67108863,G=Math.imul(we,ot),q=(q=Math.imul(we,ht))+Math.imul(Ee,ot)|0,H=Math.imul(Ee,ht),G=G+Math.imul(ze,Et)|0,q=(q=q+Math.imul(ze,kt)|0)+Math.imul(je,Et)|0,H=H+Math.imul(je,kt)|0,G=G+Math.imul(ke,Ft)|0,q=(q=q+Math.imul(ke,Ot)|0)+Math.imul(Le,Ft)|0,H=H+Math.imul(Le,Ot)|0,G=G+Math.imul(ae,qt)|0,q=(q=q+Math.imul(ae,Vt)|0)+Math.imul(fe,qt)|0,H=H+Math.imul(fe,Vt)|0,G=G+Math.imul(Me,Je)|0,q=(q=q+Math.imul(Me,qe)|0)+Math.imul(Se,Je)|0,H=H+Math.imul(Se,qe)|0,G=G+Math.imul(xe,ft)|0,q=(q=q+Math.imul(xe,Re)|0)+Math.imul(Pe,ft)|0,H=H+Math.imul(Pe,Re)|0,G=G+Math.imul(de,Qe)|0,q=(q=q+Math.imul(de,ut)|0)+Math.imul(me,Qe)|0,H=H+Math.imul(me,ut)|0,G=G+Math.imul(ue,_t)|0,q=(q=q+Math.imul(ue,It)|0)+Math.imul(ce,_t)|0,H=H+Math.imul(ce,It)|0;var Yn=(X+(G=G+Math.imul(re,yt)|0)|0)+((8191&(q=(q=q+Math.imul(re,Pt)|0)+Math.imul(ie,yt)|0))<<13)|0;X=((H=H+Math.imul(ie,Pt)|0)+(q>>>13)|0)+(Yn>>>26)|0,Yn&=67108863,G=Math.imul($e,ot),q=(q=Math.imul($e,ht))+Math.imul(Ye,ot)|0,H=Math.imul(Ye,ht),G=G+Math.imul(we,Et)|0,q=(q=q+Math.imul(we,kt)|0)+Math.imul(Ee,Et)|0,H=H+Math.imul(Ee,kt)|0,G=G+Math.imul(ze,Ft)|0,q=(q=q+Math.imul(ze,Ot)|0)+Math.imul(je,Ft)|0,H=H+Math.imul(je,Ot)|0,G=G+Math.imul(ke,qt)|0,q=(q=q+Math.imul(ke,Vt)|0)+Math.imul(Le,qt)|0,H=H+Math.imul(Le,Vt)|0,G=G+Math.imul(ae,Je)|0,q=(q=q+Math.imul(ae,qe)|0)+Math.imul(fe,Je)|0,H=H+Math.imul(fe,qe)|0,G=G+Math.imul(Me,ft)|0,q=(q=q+Math.imul(Me,Re)|0)+Math.imul(Se,ft)|0,H=H+Math.imul(Se,Re)|0,G=G+Math.imul(xe,Qe)|0,q=(q=q+Math.imul(xe,ut)|0)+Math.imul(Pe,Qe)|0,H=H+Math.imul(Pe,ut)|0,G=G+Math.imul(de,_t)|0,q=(q=q+Math.imul(de,It)|0)+Math.imul(me,_t)|0,H=H+Math.imul(me,It)|0,G=G+Math.imul(ue,yt)|0,q=(q=q+Math.imul(ue,Pt)|0)+Math.imul(ce,yt)|0,H=H+Math.imul(ce,Pt)|0;var kn=(X+(G=G+Math.imul(re,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(re,Nt)|0)+Math.imul(ie,Rt)|0))<<13)|0;X=((H=H+Math.imul(ie,Nt)|0)+(q>>>13)|0)+(kn>>>26)|0,kn&=67108863,G=Math.imul($e,Et),q=(q=Math.imul($e,kt))+Math.imul(Ye,Et)|0,H=Math.imul(Ye,kt),G=G+Math.imul(we,Ft)|0,q=(q=q+Math.imul(we,Ot)|0)+Math.imul(Ee,Ft)|0,H=H+Math.imul(Ee,Ot)|0,G=G+Math.imul(ze,qt)|0,q=(q=q+Math.imul(ze,Vt)|0)+Math.imul(je,qt)|0,H=H+Math.imul(je,Vt)|0,G=G+Math.imul(ke,Je)|0,q=(q=q+Math.imul(ke,qe)|0)+Math.imul(Le,Je)|0,H=H+Math.imul(Le,qe)|0,G=G+Math.imul(ae,ft)|0,q=(q=q+Math.imul(ae,Re)|0)+Math.imul(fe,ft)|0,H=H+Math.imul(fe,Re)|0,G=G+Math.imul(Me,Qe)|0,q=(q=q+Math.imul(Me,ut)|0)+Math.imul(Se,Qe)|0,H=H+Math.imul(Se,ut)|0,G=G+Math.imul(xe,_t)|0,q=(q=q+Math.imul(xe,It)|0)+Math.imul(Pe,_t)|0,H=H+Math.imul(Pe,It)|0,G=G+Math.imul(de,yt)|0,q=(q=q+Math.imul(de,Pt)|0)+Math.imul(me,yt)|0,H=H+Math.imul(me,Pt)|0;var sn=(X+(G=G+Math.imul(ue,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(ue,Nt)|0)+Math.imul(ce,Rt)|0))<<13)|0;X=((H=H+Math.imul(ce,Nt)|0)+(q>>>13)|0)+(sn>>>26)|0,sn&=67108863,G=Math.imul($e,Ft),q=(q=Math.imul($e,Ot))+Math.imul(Ye,Ft)|0,H=Math.imul(Ye,Ot),G=G+Math.imul(we,qt)|0,q=(q=q+Math.imul(we,Vt)|0)+Math.imul(Ee,qt)|0,H=H+Math.imul(Ee,Vt)|0,G=G+Math.imul(ze,Je)|0,q=(q=q+Math.imul(ze,qe)|0)+Math.imul(je,Je)|0,H=H+Math.imul(je,qe)|0,G=G+Math.imul(ke,ft)|0,q=(q=q+Math.imul(ke,Re)|0)+Math.imul(Le,ft)|0,H=H+Math.imul(Le,Re)|0,G=G+Math.imul(ae,Qe)|0,q=(q=q+Math.imul(ae,ut)|0)+Math.imul(fe,Qe)|0,H=H+Math.imul(fe,ut)|0,G=G+Math.imul(Me,_t)|0,q=(q=q+Math.imul(Me,It)|0)+Math.imul(Se,_t)|0,H=H+Math.imul(Se,It)|0,G=G+Math.imul(xe,yt)|0,q=(q=q+Math.imul(xe,Pt)|0)+Math.imul(Pe,yt)|0,H=H+Math.imul(Pe,Pt)|0;var Tn=(X+(G=G+Math.imul(de,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(de,Nt)|0)+Math.imul(me,Rt)|0))<<13)|0;X=((H=H+Math.imul(me,Nt)|0)+(q>>>13)|0)+(Tn>>>26)|0,Tn&=67108863,G=Math.imul($e,qt),q=(q=Math.imul($e,Vt))+Math.imul(Ye,qt)|0,H=Math.imul(Ye,Vt),G=G+Math.imul(we,Je)|0,q=(q=q+Math.imul(we,qe)|0)+Math.imul(Ee,Je)|0,H=H+Math.imul(Ee,qe)|0,G=G+Math.imul(ze,ft)|0,q=(q=q+Math.imul(ze,Re)|0)+Math.imul(je,ft)|0,H=H+Math.imul(je,Re)|0,G=G+Math.imul(ke,Qe)|0,q=(q=q+Math.imul(ke,ut)|0)+Math.imul(Le,Qe)|0,H=H+Math.imul(Le,ut)|0,G=G+Math.imul(ae,_t)|0,q=(q=q+Math.imul(ae,It)|0)+Math.imul(fe,_t)|0,H=H+Math.imul(fe,It)|0,G=G+Math.imul(Me,yt)|0,q=(q=q+Math.imul(Me,Pt)|0)+Math.imul(Se,yt)|0,H=H+Math.imul(Se,Pt)|0;var dn=(X+(G=G+Math.imul(xe,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(xe,Nt)|0)+Math.imul(Pe,Rt)|0))<<13)|0;X=((H=H+Math.imul(Pe,Nt)|0)+(q>>>13)|0)+(dn>>>26)|0,dn&=67108863,G=Math.imul($e,Je),q=(q=Math.imul($e,qe))+Math.imul(Ye,Je)|0,H=Math.imul(Ye,qe),G=G+Math.imul(we,ft)|0,q=(q=q+Math.imul(we,Re)|0)+Math.imul(Ee,ft)|0,H=H+Math.imul(Ee,Re)|0,G=G+Math.imul(ze,Qe)|0,q=(q=q+Math.imul(ze,ut)|0)+Math.imul(je,Qe)|0,H=H+Math.imul(je,ut)|0,G=G+Math.imul(ke,_t)|0,q=(q=q+Math.imul(ke,It)|0)+Math.imul(Le,_t)|0,H=H+Math.imul(Le,It)|0,G=G+Math.imul(ae,yt)|0,q=(q=q+Math.imul(ae,Pt)|0)+Math.imul(fe,yt)|0,H=H+Math.imul(fe,Pt)|0;var pn=(X+(G=G+Math.imul(Me,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(Me,Nt)|0)+Math.imul(Se,Rt)|0))<<13)|0;X=((H=H+Math.imul(Se,Nt)|0)+(q>>>13)|0)+(pn>>>26)|0,pn&=67108863,G=Math.imul($e,ft),q=(q=Math.imul($e,Re))+Math.imul(Ye,ft)|0,H=Math.imul(Ye,Re),G=G+Math.imul(we,Qe)|0,q=(q=q+Math.imul(we,ut)|0)+Math.imul(Ee,Qe)|0,H=H+Math.imul(Ee,ut)|0,G=G+Math.imul(ze,_t)|0,q=(q=q+Math.imul(ze,It)|0)+Math.imul(je,_t)|0,H=H+Math.imul(je,It)|0,G=G+Math.imul(ke,yt)|0,q=(q=q+Math.imul(ke,Pt)|0)+Math.imul(Le,yt)|0,H=H+Math.imul(Le,Pt)|0;var Dn=(X+(G=G+Math.imul(ae,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(ae,Nt)|0)+Math.imul(fe,Rt)|0))<<13)|0;X=((H=H+Math.imul(fe,Nt)|0)+(q>>>13)|0)+(Dn>>>26)|0,Dn&=67108863,G=Math.imul($e,Qe),q=(q=Math.imul($e,ut))+Math.imul(Ye,Qe)|0,H=Math.imul(Ye,ut),G=G+Math.imul(we,_t)|0,q=(q=q+Math.imul(we,It)|0)+Math.imul(Ee,_t)|0,H=H+Math.imul(Ee,It)|0,G=G+Math.imul(ze,yt)|0,q=(q=q+Math.imul(ze,Pt)|0)+Math.imul(je,yt)|0,H=H+Math.imul(je,Pt)|0;var In=(X+(G=G+Math.imul(ke,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(ke,Nt)|0)+Math.imul(Le,Rt)|0))<<13)|0;X=((H=H+Math.imul(Le,Nt)|0)+(q>>>13)|0)+(In>>>26)|0,In&=67108863,G=Math.imul($e,_t),q=(q=Math.imul($e,It))+Math.imul(Ye,_t)|0,H=Math.imul(Ye,It),G=G+Math.imul(we,yt)|0,q=(q=q+Math.imul(we,Pt)|0)+Math.imul(Ee,yt)|0,H=H+Math.imul(Ee,Pt)|0;var jn=(X+(G=G+Math.imul(ze,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(ze,Nt)|0)+Math.imul(je,Rt)|0))<<13)|0;X=((H=H+Math.imul(je,Nt)|0)+(q>>>13)|0)+(jn>>>26)|0,jn&=67108863,G=Math.imul($e,yt),q=(q=Math.imul($e,Pt))+Math.imul(Ye,yt)|0,H=Math.imul(Ye,Pt);var Gn=(X+(G=G+Math.imul(we,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(we,Nt)|0)+Math.imul(Ee,Rt)|0))<<13)|0;X=((H=H+Math.imul(Ee,Nt)|0)+(q>>>13)|0)+(Gn>>>26)|0,Gn&=67108863;var qn=(X+(G=Math.imul($e,Rt))|0)+((8191&(q=(q=Math.imul($e,Nt))+Math.imul(Ye,Rt)|0))<<13)|0;return X=((H=Math.imul(Ye,Nt))+(q>>>13)|0)+(qn>>>26)|0,qn&=67108863,Z[0]=Yt,Z[1]=Wt,Z[2]=Xt,Z[3]=Qt,Z[4]=rn,Z[5]=xn,Z[6]=un,Z[7]=An,Z[8]=Yn,Z[9]=kn,Z[10]=sn,Z[11]=Tn,Z[12]=dn,Z[13]=pn,Z[14]=Dn,Z[15]=In,Z[16]=jn,Z[17]=Gn,Z[18]=qn,X!==0&&(Z[19]=X,U.length++),U};function L(j,$,U){return new b().mulp(j,$,U)}function b(j,$){this.x=j,this.y=$}Math.imul||(A=x),c.prototype.mulTo=function(j,$){var U,G=this.length+j.length;return U=this.length===10&&j.length===10?A(this,j,$):G<63?x(this,j,$):G<1024?function(q,H,ne){ne.negative=H.negative^q.negative,ne.length=q.length+H.length;for(var te=0,Z=0,X=0;X>>26)|0)>>>26,Q&=67108863}ne.words[X]=re,te=Q,Q=Z}return te!==0?ne.words[X]=te:ne.length--,ne.strip()}(this,j,$):L(this,j,$),U},b.prototype.makeRBT=function(j){for(var $=new Array(j),U=c.prototype._countBits(j)-1,G=0;G>=1;return G},b.prototype.permute=function(j,$,U,G,q,H){for(var ne=0;ne>>=1)q++;return 1<>>=13,U[2*H+1]=8191&q,q>>>=13;for(H=2*$;H>=26,$+=G/67108864|0,$+=q>>>26,this.words[U]=67108863&q}return $!==0&&(this.words[U]=$,this.length++),this},c.prototype.muln=function(j){return this.clone().imuln(j)},c.prototype.sqr=function(){return this.mul(this)},c.prototype.isqr=function(){return this.imul(this.clone())},c.prototype.pow=function(j){var $=function(H){for(var ne=new Array(H.bitLength()),te=0;te>>X}return ne}(j);if($.length===0)return new c(1);for(var U=this,G=0;G<$.length&&$[G]===0;G++,U=U.sqr());if(++G<$.length)for(var q=U.sqr();G<$.length;G++,q=q.sqr())$[G]!==0&&(U=U.mul(q));return U},c.prototype.iushln=function(j){s(typeof j=="number"&&j>=0);var $,U=j%26,G=(j-U)/26,q=67108863>>>26-U<<26-U;if(U!==0){var H=0;for($=0;$>>26-U}H&&(this.words[$]=H,this.length++)}if(G!==0){for($=this.length-1;$>=0;$--)this.words[$+G]=this.words[$];for($=0;$=0),G=$?($-$%26)/26:0;var q=j%26,H=Math.min((j-q)/26,this.length),ne=67108863^67108863>>>q<H)for(this.length-=H,Z=0;Z=0&&(X!==0||Z>=G);Z--){var Q=0|this.words[Z];this.words[Z]=X<<26-q|Q>>>q,X=Q&ne}return te&&X!==0&&(te.words[te.length++]=X),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},c.prototype.ishrn=function(j,$,U){return s(this.negative===0),this.iushrn(j,$,U)},c.prototype.shln=function(j){return this.clone().ishln(j)},c.prototype.ushln=function(j){return this.clone().iushln(j)},c.prototype.shrn=function(j){return this.clone().ishrn(j)},c.prototype.ushrn=function(j){return this.clone().iushrn(j)},c.prototype.testn=function(j){s(typeof j=="number"&&j>=0);var $=j%26,U=(j-$)/26,G=1<<$;return!(this.length<=U||!(this.words[U]&G))},c.prototype.imaskn=function(j){s(typeof j=="number"&&j>=0);var $=j%26,U=(j-$)/26;if(s(this.negative===0,"imaskn works only with positive numbers"),this.length<=U)return this;if($!==0&&U++,this.length=Math.min(U,this.length),$!==0){var G=67108863^67108863>>>$<<$;this.words[this.length-1]&=G}return this.strip()},c.prototype.maskn=function(j){return this.clone().imaskn(j)},c.prototype.iaddn=function(j){return s(typeof j=="number"),s(j<67108864),j<0?this.isubn(-j):this.negative!==0?this.length===1&&(0|this.words[0])=67108864;$++)this.words[$]-=67108864,$===this.length-1?this.words[$+1]=1:this.words[$+1]++;return this.length=Math.max(this.length,$+1),this},c.prototype.isubn=function(j){if(s(typeof j=="number"),s(j<67108864),j<0)return this.iaddn(-j);if(this.negative!==0)return this.negative=0,this.iaddn(j),this.negative=1,this;if(this.words[0]-=j,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var $=0;$>26)-(te/67108864|0),this.words[G+U]=67108863&q}for(;G>26,this.words[G+U]=67108863&q;if(ne===0)return this.strip();for(s(ne===-1),ne=0,G=0;G>26,this.words[G]=67108863&q;return this.negative=1,this.strip()},c.prototype._wordDiv=function(j,$){var U=(this.length,j.length),G=this.clone(),q=j,H=0|q.words[q.length-1];(U=26-this._countBits(H))!=0&&(q=q.ushln(U),G.iushln(U),H=0|q.words[q.length-1]);var ne,te=G.length-q.length;if($!=="mod"){(ne=new c(null)).length=te+1,ne.words=new Array(ne.length);for(var Z=0;Z=0;Q--){var re=67108864*(0|G.words[q.length+Q])+(0|G.words[q.length+Q-1]);for(re=Math.min(re/H|0,67108863),G._ishlnsubmul(q,re,Q);G.negative!==0;)re--,G.negative=0,G._ishlnsubmul(q,1,Q),G.isZero()||(G.negative^=1);ne&&(ne.words[Q]=re)}return ne&&ne.strip(),G.strip(),$!=="div"&&U!==0&&G.iushrn(U),{div:ne||null,mod:G}},c.prototype.divmod=function(j,$,U){return s(!j.isZero()),this.isZero()?{div:new c(0),mod:new c(0)}:this.negative!==0&&j.negative===0?(H=this.neg().divmod(j,$),$!=="mod"&&(G=H.div.neg()),$!=="div"&&(q=H.mod.neg(),U&&q.negative!==0&&q.iadd(j)),{div:G,mod:q}):this.negative===0&&j.negative!==0?(H=this.divmod(j.neg(),$),$!=="mod"&&(G=H.div.neg()),{div:G,mod:H.mod}):this.negative&j.negative?(H=this.neg().divmod(j.neg(),$),$!=="div"&&(q=H.mod.neg(),U&&q.negative!==0&&q.isub(j)),{div:H.div,mod:q}):j.length>this.length||this.cmp(j)<0?{div:new c(0),mod:this}:j.length===1?$==="div"?{div:this.divn(j.words[0]),mod:null}:$==="mod"?{div:null,mod:new c(this.modn(j.words[0]))}:{div:this.divn(j.words[0]),mod:new c(this.modn(j.words[0]))}:this._wordDiv(j,$);var G,q,H},c.prototype.div=function(j){return this.divmod(j,"div",!1).div},c.prototype.mod=function(j){return this.divmod(j,"mod",!1).mod},c.prototype.umod=function(j){return this.divmod(j,"mod",!0).mod},c.prototype.divRound=function(j){var $=this.divmod(j);if($.mod.isZero())return $.div;var U=$.div.negative!==0?$.mod.isub(j):$.mod,G=j.ushrn(1),q=j.andln(1),H=U.cmp(G);return H<0||q===1&&H===0?$.div:$.div.negative!==0?$.div.isubn(1):$.div.iaddn(1)},c.prototype.modn=function(j){s(j<=67108863);for(var $=67108864%j,U=0,G=this.length-1;G>=0;G--)U=($*U+(0|this.words[G]))%j;return U},c.prototype.idivn=function(j){s(j<=67108863);for(var $=0,U=this.length-1;U>=0;U--){var G=(0|this.words[U])+67108864*$;this.words[U]=G/j|0,$=G%j}return this.strip()},c.prototype.divn=function(j){return this.clone().idivn(j)},c.prototype.egcd=function(j){s(j.negative===0),s(!j.isZero());var $=this,U=j.clone();$=$.negative!==0?$.umod(j):$.clone();for(var G=new c(1),q=new c(0),H=new c(0),ne=new c(1),te=0;$.isEven()&&U.isEven();)$.iushrn(1),U.iushrn(1),++te;for(var Z=U.clone(),X=$.clone();!$.isZero();){for(var Q=0,re=1;!($.words[0]&re)&&Q<26;++Q,re<<=1);if(Q>0)for($.iushrn(Q);Q-- >0;)(G.isOdd()||q.isOdd())&&(G.iadd(Z),q.isub(X)),G.iushrn(1),q.iushrn(1);for(var ie=0,oe=1;!(U.words[0]&oe)&&ie<26;++ie,oe<<=1);if(ie>0)for(U.iushrn(ie);ie-- >0;)(H.isOdd()||ne.isOdd())&&(H.iadd(Z),ne.isub(X)),H.iushrn(1),ne.iushrn(1);$.cmp(U)>=0?($.isub(U),G.isub(H),q.isub(ne)):(U.isub($),H.isub(G),ne.isub(q))}return{a:H,b:ne,gcd:U.iushln(te)}},c.prototype._invmp=function(j){s(j.negative===0),s(!j.isZero());var $=this,U=j.clone();$=$.negative!==0?$.umod(j):$.clone();for(var G,q=new c(1),H=new c(0),ne=U.clone();$.cmpn(1)>0&&U.cmpn(1)>0;){for(var te=0,Z=1;!($.words[0]&Z)&&te<26;++te,Z<<=1);if(te>0)for($.iushrn(te);te-- >0;)q.isOdd()&&q.iadd(ne),q.iushrn(1);for(var X=0,Q=1;!(U.words[0]&Q)&&X<26;++X,Q<<=1);if(X>0)for(U.iushrn(X);X-- >0;)H.isOdd()&&H.iadd(ne),H.iushrn(1);$.cmp(U)>=0?($.isub(U),q.isub(H)):(U.isub($),H.isub(q))}return(G=$.cmpn(1)===0?q:H).cmpn(0)<0&&G.iadd(j),G},c.prototype.gcd=function(j){if(this.isZero())return j.abs();if(j.isZero())return this.abs();var $=this.clone(),U=j.clone();$.negative=0,U.negative=0;for(var G=0;$.isEven()&&U.isEven();G++)$.iushrn(1),U.iushrn(1);for(;;){for(;$.isEven();)$.iushrn(1);for(;U.isEven();)U.iushrn(1);var q=$.cmp(U);if(q<0){var H=$;$=U,U=H}else if(q===0||U.cmpn(1)===0)break;$.isub(U)}return U.iushln(G)},c.prototype.invm=function(j){return this.egcd(j).a.umod(j)},c.prototype.isEven=function(){return(1&this.words[0])==0},c.prototype.isOdd=function(){return(1&this.words[0])==1},c.prototype.andln=function(j){return this.words[0]&j},c.prototype.bincn=function(j){s(typeof j=="number");var $=j%26,U=(j-$)/26,G=1<<$;if(this.length<=U)return this._expand(U+1),this.words[U]|=G,this;for(var q=G,H=U;q!==0&&H>>26,ne&=67108863,this.words[H]=ne}return q!==0&&(this.words[H]=q,this.length++),this},c.prototype.isZero=function(){return this.length===1&&this.words[0]===0},c.prototype.cmpn=function(j){var $,U=j<0;if(this.negative!==0&&!U)return-1;if(this.negative===0&&U)return 1;if(this.strip(),this.length>1)$=1;else{U&&(j=-j),s(j<=67108863,"Number is too big");var G=0|this.words[0];$=G===j?0:Gj.length)return 1;if(this.length=0;U--){var G=0|this.words[U],q=0|j.words[U];if(G!==q){Gq&&($=1);break}}return $},c.prototype.gtn=function(j){return this.cmpn(j)===1},c.prototype.gt=function(j){return this.cmp(j)===1},c.prototype.gten=function(j){return this.cmpn(j)>=0},c.prototype.gte=function(j){return this.cmp(j)>=0},c.prototype.ltn=function(j){return this.cmpn(j)===-1},c.prototype.lt=function(j){return this.cmp(j)===-1},c.prototype.lten=function(j){return this.cmpn(j)<=0},c.prototype.lte=function(j){return this.cmp(j)<=0},c.prototype.eqn=function(j){return this.cmpn(j)===0},c.prototype.eq=function(j){return this.cmp(j)===0},c.red=function(j){return new N(j)},c.prototype.toRed=function(j){return s(!this.red,"Already a number in reduction context"),s(this.negative===0,"red works only with positives"),j.convertTo(this)._forceRed(j)},c.prototype.fromRed=function(){return s(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},c.prototype._forceRed=function(j){return this.red=j,this},c.prototype.forceRed=function(j){return s(!this.red,"Already a number in reduction context"),this._forceRed(j)},c.prototype.redAdd=function(j){return s(this.red,"redAdd works only with red numbers"),this.red.add(this,j)},c.prototype.redIAdd=function(j){return s(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,j)},c.prototype.redSub=function(j){return s(this.red,"redSub works only with red numbers"),this.red.sub(this,j)},c.prototype.redISub=function(j){return s(this.red,"redISub works only with red numbers"),this.red.isub(this,j)},c.prototype.redShl=function(j){return s(this.red,"redShl works only with red numbers"),this.red.shl(this,j)},c.prototype.redMul=function(j){return s(this.red,"redMul works only with red numbers"),this.red._verify2(this,j),this.red.mul(this,j)},c.prototype.redIMul=function(j){return s(this.red,"redMul works only with red numbers"),this.red._verify2(this,j),this.red.imul(this,j)},c.prototype.redSqr=function(){return s(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},c.prototype.redISqr=function(){return s(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},c.prototype.redSqrt=function(){return s(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},c.prototype.redInvm=function(){return s(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},c.prototype.redNeg=function(){return s(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},c.prototype.redPow=function(j){return s(this.red&&!j.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,j)};var R={k256:null,p224:null,p192:null,p25519:null};function I(j,$){this.name=j,this.p=new c($,16),this.n=this.p.bitLength(),this.k=new c(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function O(){I.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function z(){I.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function F(){I.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function B(){I.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function N(j){if(typeof j=="string"){var $=c._prime(j);this.m=$.p,this.prime=$}else s(j.gtn(1),"modulus must be greater than 1"),this.m=j,this.prime=null}function W(j){N.call(this,j),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new c(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}I.prototype._tmp=function(){var j=new c(null);return j.words=new Array(Math.ceil(this.n/13)),j},I.prototype.ireduce=function(j){var $,U=j;do this.split(U,this.tmp),$=(U=(U=this.imulK(U)).iadd(this.tmp)).bitLength();while($>this.n);var G=$0?U.isub(this.p):U.strip!==void 0?U.strip():U._strip(),U},I.prototype.split=function(j,$){j.iushrn(this.n,0,$)},I.prototype.imulK=function(j){return j.imul(this.k)},h(O,I),O.prototype.split=function(j,$){for(var U=4194303,G=Math.min(j.length,9),q=0;q>>22,H=ne}H>>>=22,j.words[q-10]=H,H===0&&j.length>10?j.length-=10:j.length-=9},O.prototype.imulK=function(j){j.words[j.length]=0,j.words[j.length+1]=0,j.length+=2;for(var $=0,U=0;U>>=26,j.words[U]=q,$=G}return $!==0&&(j.words[j.length++]=$),j},c._prime=function(j){if(R[j])return R[j];var $;if(j==="k256")$=new O;else if(j==="p224")$=new z;else if(j==="p192")$=new F;else{if(j!=="p25519")throw new Error("Unknown prime "+j);$=new B}return R[j]=$,$},N.prototype._verify1=function(j){s(j.negative===0,"red works only with positives"),s(j.red,"red works only with red numbers")},N.prototype._verify2=function(j,$){s((j.negative|$.negative)==0,"red works only with positives"),s(j.red&&j.red===$.red,"red works only with red numbers")},N.prototype.imod=function(j){return this.prime?this.prime.ireduce(j)._forceRed(this):j.umod(this.m)._forceRed(this)},N.prototype.neg=function(j){return j.isZero()?j.clone():this.m.sub(j)._forceRed(this)},N.prototype.add=function(j,$){this._verify2(j,$);var U=j.add($);return U.cmp(this.m)>=0&&U.isub(this.m),U._forceRed(this)},N.prototype.iadd=function(j,$){this._verify2(j,$);var U=j.iadd($);return U.cmp(this.m)>=0&&U.isub(this.m),U},N.prototype.sub=function(j,$){this._verify2(j,$);var U=j.sub($);return U.cmpn(0)<0&&U.iadd(this.m),U._forceRed(this)},N.prototype.isub=function(j,$){this._verify2(j,$);var U=j.isub($);return U.cmpn(0)<0&&U.iadd(this.m),U},N.prototype.shl=function(j,$){return this._verify1(j),this.imod(j.ushln($))},N.prototype.imul=function(j,$){return this._verify2(j,$),this.imod(j.imul($))},N.prototype.mul=function(j,$){return this._verify2(j,$),this.imod(j.mul($))},N.prototype.isqr=function(j){return this.imul(j,j.clone())},N.prototype.sqr=function(j){return this.mul(j,j)},N.prototype.sqrt=function(j){if(j.isZero())return j.clone();var $=this.m.andln(3);if(s($%2==1),$===3){var U=this.m.add(new c(1)).iushrn(2);return this.pow(j,U)}for(var G=this.m.subn(1),q=0;!G.isZero()&&G.andln(1)===0;)q++,G.iushrn(1);s(!G.isZero());var H=new c(1).toRed(this),ne=H.redNeg(),te=this.m.subn(1).iushrn(1),Z=this.m.bitLength();for(Z=new c(2*Z*Z).toRed(this);this.pow(Z,te).cmp(ne)!==0;)Z.redIAdd(ne);for(var X=this.pow(Z,G),Q=this.pow(j,G.addn(1).iushrn(1)),re=this.pow(j,G),ie=q;re.cmp(H)!==0;){for(var oe=re,ue=0;oe.cmp(H)!==0;ue++)oe=oe.redSqr();s(ue=0;G--){for(var Z=$.words[G],X=te-1;X>=0;X--){var Q=Z>>X&1;q!==U[0]&&(q=this.sqr(q)),Q!==0||H!==0?(H<<=1,H|=Q,(++ne==4||G===0&&X===0)&&(q=this.mul(q,U[H]),ne=0,H=0)):ne=0}te=26}return q},N.prototype.convertTo=function(j){var $=j.umod(this.m);return $===j?$.clone():$},N.prototype.convertFrom=function(j){var $=j.clone();return $.red=null,$},c.mont=function(j){return new W(j)},h(W,N),W.prototype.convertTo=function(j){return this.imod(j.ushln(this.shift))},W.prototype.convertFrom=function(j){var $=this.imod(j.mul(this.rinv));return $.red=null,$},W.prototype.imul=function(j,$){if(j.isZero()||$.isZero())return j.words[0]=0,j.length=1,j;var U=j.imul($),G=U.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),q=U.isub(G).iushrn(this.shift),H=q;return q.cmp(this.m)>=0?H=q.isub(this.m):q.cmpn(0)<0&&(H=q.iadd(this.m)),H._forceRed(this)},W.prototype.mul=function(j,$){if(j.isZero()||$.isZero())return new c(0)._forceRed(this);var U=j.mul($),G=U.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),q=U.isub(G).iushrn(this.shift),H=q;return q.cmp(this.m)>=0?H=q.isub(this.m):q.cmpn(0)<0&&(H=q.iadd(this.m)),H._forceRed(this)},W.prototype.invm=function(j){return this.imod(j._invmp(this.m).mul(this.r2))._forceRed(this)}})(f=a.nmd(f),this)},2692:function(f){f.exports=function(l){var a,u,o,s=l.length,h=0;for(a=0;a>>1;if(!(R<=0)){var I,O=o.mallocDouble(2*R*L),z=o.mallocInt32(L);if((L=m(k,R,O,z))>0){if(R===1&&A)s.init(L),I=s.sweepComplete(R,x,0,L,O,z,0,L,O,z);else{var F=o.mallocDouble(2*R*b),B=o.mallocInt32(b);(b=m(E,R,F,B))>0&&(s.init(L+b),I=R===1?s.sweepBipartite(R,x,0,L,O,z,0,b,F,B):h(R,x,A,L,O,z,b,F,B),o.free(F),o.free(B))}o.free(O),o.free(z)}return I}}}function y(k,E){u.push([k,E])}function C(k){return u=[],w(k,k,y,!0),u}function _(k,E){return u=[],w(k,E,y,!1),u}},7333:function(f,l){function a(u){return u?function(o,s,h,c,m,w,y,C,_,k,E){return m-c>_-C?function(x,A,L,b,R,I,O,z,F,B,N){for(var W=2*x,j=b,$=W*b;jk-_?c?function(A,L,b,R,I,O,z,F,B,N,W){for(var j=2*A,$=R,U=j*R;$0;){var te=6*(H-=1),Z=L[te],X=L[te+1],Q=L[te+2],re=L[te+3],ie=L[te+4],oe=L[te+5],ue=2*H,ce=b[ue],ye=b[ue+1],de=1&oe,me=!!(16&oe),pe=W,xe=j,Pe=U,_e=G;if(de&&(pe=U,xe=G,Pe=W,_e=j),!(2&oe&&(Q=k(z,Z,X,Q,pe,xe,ye),X>=Q)||4&oe&&(X=E(z,Z,X,Q,pe,xe,ce))>=Q)){var Me=Q-X,Se=ie-re;if(me){if(z*Me*(Me+Se)<4194304){if((q=m.scanComplete(z,Z,F,X,Q,pe,xe,re,ie,Pe,_e))!==void 0)return q;continue}}else{if(z*Math.min(Me,Se)<128){if((q=h(z,Z,F,de,X,Q,pe,xe,re,ie,Pe,_e))!==void 0)return q;continue}if(z*Me*Se<4194304){if((q=m.scanBipartite(z,Z,F,de,X,Q,pe,xe,re,ie,Pe,_e))!==void 0)return q;continue}}var Ce=C(z,Z,X,Q,pe,xe,ce,ye);if(X=p0)&&!(p1>=hi)"),_=y("lo===p0"),k=y("lo>>1,E=2*s,x=k,A=w[E*k+h];C<_;){if(_-C<8){o(s,h,C,_,w,y),A=w[E*k+h];break}var L=_-C,b=Math.random()*L+C|0,R=w[E*b+h],I=Math.random()*L+C|0,O=w[E*I+h],z=Math.random()*L+C|0,F=w[E*z+h];R<=O?F>=O?(x=I,A=O):R>=F?(x=b,A=R):(x=z,A=F):O>=F?(x=I,A=O):F>=R?(x=b,A=R):(x=z,A=F);for(var B=E*(_-1),N=E*x,W=0;Wc&&w[A+h]>E;--x,A-=C){for(var L=A,b=A+C,R=0;RE;++E,y+=w)if(h[y+k]===m)if(_===E)_+=1,C+=w;else{for(var x=0;w>x;++x){var A=h[y+x];h[y+x]=h[C],h[C++]=A}var L=c[E];c[E]=c[_],c[_++]=L}return _},"loE;++E,y+=w)if(h[y+k]x;++x){var A=h[y+x];h[y+x]=h[C],h[C++]=A}var L=c[E];c[E]=c[_],c[_++]=L}return _},"lo<=p0":function(a,u,o,s,h,c,m){for(var w=2*a,y=w*o,C=y,_=o,k=a+u,E=o;s>E;++E,y+=w)if(h[y+k]<=m)if(_===E)_+=1,C+=w;else{for(var x=0;w>x;++x){var A=h[y+x];h[y+x]=h[C],h[C++]=A}var L=c[E];c[E]=c[_],c[_++]=L}return _},"hi<=p0":function(a,u,o,s,h,c,m){for(var w=2*a,y=w*o,C=y,_=o,k=a+u,E=o;s>E;++E,y+=w)if(h[y+k]<=m)if(_===E)_+=1,C+=w;else{for(var x=0;w>x;++x){var A=h[y+x];h[y+x]=h[C],h[C++]=A}var L=c[E];c[E]=c[_],c[_++]=L}return _},"lox;++x,y+=w){var A=h[y+k],L=h[y+E];if(Ab;++b){var R=h[y+b];h[y+b]=h[C],h[C++]=R}var I=c[x];c[x]=c[_],c[_++]=I}}return _},"lo<=p0&&p0<=hi":function(a,u,o,s,h,c,m){for(var w=2*a,y=w*o,C=y,_=o,k=u,E=a+u,x=o;s>x;++x,y+=w){var A=h[y+k],L=h[y+E];if(A<=m&&m<=L)if(_===x)_+=1,C+=w;else{for(var b=0;w>b;++b){var R=h[y+b];h[y+b]=h[C],h[C++]=R}var I=c[x];c[x]=c[_],c[_++]=I}}return _},"!(lo>=p0)&&!(p1>=hi)":function(a,u,o,s,h,c,m,w){for(var y=2*a,C=y*o,_=C,k=o,E=u,x=a+u,A=o;s>A;++A,C+=y){var L=h[C+E],b=h[C+x];if(!(L>=m||w>=b))if(k===A)k+=1,_+=y;else{for(var R=0;y>R;++R){var I=h[C+R];h[C+R]=h[_],h[_++]=I}var O=c[A];c[A]=c[k],c[k++]=O}}return k}}},309:function(f){function l(w,y,C){for(var _=2*(w+1),k=w+1;k<=y;++k){for(var E=C[_++],x=C[_++],A=k,L=_-2;A-- >w;){var b=C[L-2],R=C[L-1];if(bC[y+1])}function c(w,y,C,_){var k=_[w*=2];return k>1,A=x-_,L=x+_,b=k,R=A,I=x,O=L,z=E,F=w+1,B=y-1,N=0;h(b,R,C)&&(N=b,b=R,R=N),h(O,z,C)&&(N=O,O=z,z=N),h(b,I,C)&&(N=b,b=I,I=N),h(R,I,C)&&(N=R,R=I,I=N),h(b,O,C)&&(N=b,b=O,O=N),h(I,O,C)&&(N=I,I=O,O=N),h(R,z,C)&&(N=R,R=z,z=N),h(R,I,C)&&(N=R,R=I,I=N),h(O,z,C)&&(N=O,O=z,z=N);for(var W=C[2*R],j=C[2*R+1],$=C[2*O],U=C[2*O+1],G=2*b,q=2*I,H=2*z,ne=2*k,te=2*x,Z=2*E,X=0;X<2;++X){var Q=C[G+X],re=C[q+X],ie=C[H+X];C[ne+X]=Q,C[te+X]=re,C[Z+X]=ie}u(A,w,C),u(L,y,C);for(var oe=F;oe<=B;++oe)if(c(oe,W,j,C))oe!==F&&a(oe,F,C),++F;else if(!c(oe,$,U,C))for(;;){if(c(B,$,U,C)){c(B,W,j,C)?(o(oe,F,B,C),++F,--B):(a(oe,B,C),--B);break}if(--B>>1;s(E,Z);var X=0,Q=0;for(q=0;q=h)x(y,C,Q--,re=re-h|0);else if(re>=0)x(m,w,X--,re);else if(re<=-268435456){re=-re-h|0;for(var ie=0;ie>>1;s(E,Z);var X=0,Q=0,re=0;for(q=0;q>1==E[2*q+3]>>1&&(oe=2,q+=1),ie<0){for(var ue=-(ie>>1)-1,ce=0;ce>1)-1,oe===0?x(m,w,X--,ue):oe===1?x(y,C,Q--,ue):oe===2&&x(_,k,re--,ue)}},scanBipartite:function(L,b,R,I,O,z,F,B,N,W,j,$){var U=0,G=2*L,q=b,H=b+L,ne=1,te=1;I?te=h:ne=h;for(var Z=O;Z>>1;s(E,ie);var oe=0;for(Z=0;Z=h?(ce=!I,X-=h):(ce=!!I,X-=1),ce)A(m,w,oe++,X);else{var ye=$[X],de=G*X,me=j[de+b+1],pe=j[de+b+1+L];e:for(var xe=0;xe>>1;s(E,X);var Q=0;for(H=0;H=h)m[Q++]=ne-h;else{var ie=j[ne-=1],oe=U*ne,ue=W[oe+b+1],ce=W[oe+b+1+L];e:for(var ye=0;ye=0;--ye)if(m[ye]===ne){for(xe=ye+1;xe0;){for(var A=c.pop(),L=(k=-1,E=-1,C=w[y=c.pop()],1);L=0||(h.flip(y,A),o(s,h,c,k,y,E),o(s,h,c,y,E,k),o(s,h,c,E,A,k),o(s,h,c,A,k,E))}}},7098:function(f,l,a){var u,o=a(5070);function s(c,m,w,y,C,_,k){this.cells=c,this.neighbor=m,this.flags=y,this.constraint=w,this.active=C,this.next=_,this.boundary=k}function h(c,m){return c[0]-m[0]||c[1]-m[1]||c[2]-m[2]}f.exports=function(c,m,w){var y=function(F,B){for(var N=F.cells(),W=N.length,j=0;j0||k.length>0;){for(;_.length>0;){var b=_.pop();if(E[b]!==-C){E[b]=C,x[b];for(var R=0;R<3;++R){var I=L[3*b+R];I>=0&&E[I]===0&&(A[3*b+R]?k.push(I):(_.push(I),E[I]=C))}}}var O=k;k=_,_=O,k.length=0,C=-C}var z=function(F,B,N){for(var W=0,j=0;j1&&o(x[z[F-2]],x[z[F-1]],A)>0;)k.push([z[F-1],z[F-2],L]),F-=1;z.length=F,z.push(L);var B=O.upperIds;for(F=B.length;F>1&&o(x[B[F-2]],x[B[F-1]],A)<0;)k.push([B[F-2],B[F-1],L]),F-=1;B.length=F,B.push(L)}}function y(k,E){var x;return(x=k.a[0]O[0]&&L.push(new h(O,I,2,b),new h(I,O,1,b))}L.sort(c);for(var z=L[0].a[0]-(1+Math.abs(L[0].a[0]))*Math.pow(2,-52),F=[new s([z,1],[z,0],-1,[],[])],B=[],N=(b=0,L.length);b=0}}(),s.removeTriangle=function(c,m,w){var y=this.stars;h(y[c],m,w),h(y[m],w,c),h(y[w],c,m)},s.addTriangle=function(c,m,w){var y=this.stars;y[c].push(m,w),y[m].push(w,c),y[w].push(c,m)},s.opposite=function(c,m){for(var w=this.stars[m],y=1,C=w.length;yI[2]?1:0)}function L(R,I,O){if(R.length!==0){if(I)for(var z=0;z=0;--H){var ue=$[ne=(_e=G[H])[0]],ce=ue[0],ye=ue[1],de=j[ce],me=j[ye];if((de[0]-me[0]||de[1]-me[1])<0){var pe=ce;ce=ye,ye=pe}ue[0]=ce;var xe,Pe=ue[1]=_e[1];for(q&&(xe=ue[2]);H>0&&G[H-1][0]===ne;){var _e,Me=(_e=G[--H])[1];q?$.push([Pe,Me,xe]):$.push([Pe,Me]),Pe=Me}q?$.push([Pe,ye,xe]):$.push([Pe,ye])}return te}(R,I,F,B,O),W=E(R,N);return L(I,W,O),!!W||F.length>0||B.length>0}},5528:function(f,l,a){f.exports=function(C,_,k,E){var x=c(_,C),A=c(E,k),L=y(x,A);if(h(L)===0)return null;var b=y(A,c(C,k)),R=o(b,L),I=w(x,R);return m(C,I)};var u=a(3962),o=a(9189),s=a(4354),h=a(4951),c=a(6695),m=a(7584),w=a(4469);function y(C,_){return s(u(C[0],_[1]),u(C[1],_[0]))}},5692:function(f){f.exports={jet:[{index:0,rgb:[0,0,131]},{index:.125,rgb:[0,60,170]},{index:.375,rgb:[5,255,255]},{index:.625,rgb:[255,255,0]},{index:.875,rgb:[250,0,0]},{index:1,rgb:[128,0,0]}],hsv:[{index:0,rgb:[255,0,0]},{index:.169,rgb:[253,255,2]},{index:.173,rgb:[247,255,2]},{index:.337,rgb:[0,252,4]},{index:.341,rgb:[0,252,10]},{index:.506,rgb:[1,249,255]},{index:.671,rgb:[2,0,253]},{index:.675,rgb:[8,0,253]},{index:.839,rgb:[255,0,251]},{index:.843,rgb:[255,0,245]},{index:1,rgb:[255,0,6]}],hot:[{index:0,rgb:[0,0,0]},{index:.3,rgb:[230,0,0]},{index:.6,rgb:[255,210,0]},{index:1,rgb:[255,255,255]}],spring:[{index:0,rgb:[255,0,255]},{index:1,rgb:[255,255,0]}],summer:[{index:0,rgb:[0,128,102]},{index:1,rgb:[255,255,102]}],autumn:[{index:0,rgb:[255,0,0]},{index:1,rgb:[255,255,0]}],winter:[{index:0,rgb:[0,0,255]},{index:1,rgb:[0,255,128]}],bone:[{index:0,rgb:[0,0,0]},{index:.376,rgb:[84,84,116]},{index:.753,rgb:[169,200,200]},{index:1,rgb:[255,255,255]}],copper:[{index:0,rgb:[0,0,0]},{index:.804,rgb:[255,160,102]},{index:1,rgb:[255,199,127]}],greys:[{index:0,rgb:[0,0,0]},{index:1,rgb:[255,255,255]}],yignbu:[{index:0,rgb:[8,29,88]},{index:.125,rgb:[37,52,148]},{index:.25,rgb:[34,94,168]},{index:.375,rgb:[29,145,192]},{index:.5,rgb:[65,182,196]},{index:.625,rgb:[127,205,187]},{index:.75,rgb:[199,233,180]},{index:.875,rgb:[237,248,217]},{index:1,rgb:[255,255,217]}],greens:[{index:0,rgb:[0,68,27]},{index:.125,rgb:[0,109,44]},{index:.25,rgb:[35,139,69]},{index:.375,rgb:[65,171,93]},{index:.5,rgb:[116,196,118]},{index:.625,rgb:[161,217,155]},{index:.75,rgb:[199,233,192]},{index:.875,rgb:[229,245,224]},{index:1,rgb:[247,252,245]}],yiorrd:[{index:0,rgb:[128,0,38]},{index:.125,rgb:[189,0,38]},{index:.25,rgb:[227,26,28]},{index:.375,rgb:[252,78,42]},{index:.5,rgb:[253,141,60]},{index:.625,rgb:[254,178,76]},{index:.75,rgb:[254,217,118]},{index:.875,rgb:[255,237,160]},{index:1,rgb:[255,255,204]}],bluered:[{index:0,rgb:[0,0,255]},{index:1,rgb:[255,0,0]}],rdbu:[{index:0,rgb:[5,10,172]},{index:.35,rgb:[106,137,247]},{index:.5,rgb:[190,190,190]},{index:.6,rgb:[220,170,132]},{index:.7,rgb:[230,145,90]},{index:1,rgb:[178,10,28]}],picnic:[{index:0,rgb:[0,0,255]},{index:.1,rgb:[51,153,255]},{index:.2,rgb:[102,204,255]},{index:.3,rgb:[153,204,255]},{index:.4,rgb:[204,204,255]},{index:.5,rgb:[255,255,255]},{index:.6,rgb:[255,204,255]},{index:.7,rgb:[255,153,255]},{index:.8,rgb:[255,102,204]},{index:.9,rgb:[255,102,102]},{index:1,rgb:[255,0,0]}],rainbow:[{index:0,rgb:[150,0,90]},{index:.125,rgb:[0,0,200]},{index:.25,rgb:[0,25,255]},{index:.375,rgb:[0,152,255]},{index:.5,rgb:[44,255,150]},{index:.625,rgb:[151,255,0]},{index:.75,rgb:[255,234,0]},{index:.875,rgb:[255,111,0]},{index:1,rgb:[255,0,0]}],portland:[{index:0,rgb:[12,51,131]},{index:.25,rgb:[10,136,186]},{index:.5,rgb:[242,211,56]},{index:.75,rgb:[242,143,56]},{index:1,rgb:[217,30,30]}],blackbody:[{index:0,rgb:[0,0,0]},{index:.2,rgb:[230,0,0]},{index:.4,rgb:[230,210,0]},{index:.7,rgb:[255,255,255]},{index:1,rgb:[160,200,255]}],earth:[{index:0,rgb:[0,0,130]},{index:.1,rgb:[0,180,180]},{index:.2,rgb:[40,210,40]},{index:.4,rgb:[230,230,50]},{index:.6,rgb:[120,70,20]},{index:1,rgb:[255,255,255]}],electric:[{index:0,rgb:[0,0,0]},{index:.15,rgb:[30,0,100]},{index:.4,rgb:[120,0,100]},{index:.6,rgb:[160,90,0]},{index:.8,rgb:[230,200,0]},{index:1,rgb:[255,250,220]}],alpha:[{index:0,rgb:[255,255,255,0]},{index:1,rgb:[255,255,255,1]}],viridis:[{index:0,rgb:[68,1,84]},{index:.13,rgb:[71,44,122]},{index:.25,rgb:[59,81,139]},{index:.38,rgb:[44,113,142]},{index:.5,rgb:[33,144,141]},{index:.63,rgb:[39,173,129]},{index:.75,rgb:[92,200,99]},{index:.88,rgb:[170,220,50]},{index:1,rgb:[253,231,37]}],inferno:[{index:0,rgb:[0,0,4]},{index:.13,rgb:[31,12,72]},{index:.25,rgb:[85,15,109]},{index:.38,rgb:[136,34,106]},{index:.5,rgb:[186,54,85]},{index:.63,rgb:[227,89,51]},{index:.75,rgb:[249,140,10]},{index:.88,rgb:[249,201,50]},{index:1,rgb:[252,255,164]}],magma:[{index:0,rgb:[0,0,4]},{index:.13,rgb:[28,16,68]},{index:.25,rgb:[79,18,123]},{index:.38,rgb:[129,37,129]},{index:.5,rgb:[181,54,122]},{index:.63,rgb:[229,80,100]},{index:.75,rgb:[251,135,97]},{index:.88,rgb:[254,194,135]},{index:1,rgb:[252,253,191]}],plasma:[{index:0,rgb:[13,8,135]},{index:.13,rgb:[75,3,161]},{index:.25,rgb:[125,3,168]},{index:.38,rgb:[168,34,150]},{index:.5,rgb:[203,70,121]},{index:.63,rgb:[229,107,93]},{index:.75,rgb:[248,148,65]},{index:.88,rgb:[253,195,40]},{index:1,rgb:[240,249,33]}],warm:[{index:0,rgb:[125,0,179]},{index:.13,rgb:[172,0,187]},{index:.25,rgb:[219,0,170]},{index:.38,rgb:[255,0,130]},{index:.5,rgb:[255,63,74]},{index:.63,rgb:[255,123,0]},{index:.75,rgb:[234,176,0]},{index:.88,rgb:[190,228,0]},{index:1,rgb:[147,255,0]}],cool:[{index:0,rgb:[125,0,179]},{index:.13,rgb:[116,0,218]},{index:.25,rgb:[98,74,237]},{index:.38,rgb:[68,146,231]},{index:.5,rgb:[0,204,197]},{index:.63,rgb:[0,247,146]},{index:.75,rgb:[0,255,88]},{index:.88,rgb:[40,255,8]},{index:1,rgb:[147,255,0]}],"rainbow-soft":[{index:0,rgb:[125,0,179]},{index:.1,rgb:[199,0,180]},{index:.2,rgb:[255,0,121]},{index:.3,rgb:[255,108,0]},{index:.4,rgb:[222,194,0]},{index:.5,rgb:[150,255,0]},{index:.6,rgb:[0,255,55]},{index:.7,rgb:[0,246,150]},{index:.8,rgb:[50,167,222]},{index:.9,rgb:[103,51,235]},{index:1,rgb:[124,0,186]}],bathymetry:[{index:0,rgb:[40,26,44]},{index:.13,rgb:[59,49,90]},{index:.25,rgb:[64,76,139]},{index:.38,rgb:[63,110,151]},{index:.5,rgb:[72,142,158]},{index:.63,rgb:[85,174,163]},{index:.75,rgb:[120,206,163]},{index:.88,rgb:[187,230,172]},{index:1,rgb:[253,254,204]}],cdom:[{index:0,rgb:[47,15,62]},{index:.13,rgb:[87,23,86]},{index:.25,rgb:[130,28,99]},{index:.38,rgb:[171,41,96]},{index:.5,rgb:[206,67,86]},{index:.63,rgb:[230,106,84]},{index:.75,rgb:[242,149,103]},{index:.88,rgb:[249,193,135]},{index:1,rgb:[254,237,176]}],chlorophyll:[{index:0,rgb:[18,36,20]},{index:.13,rgb:[25,63,41]},{index:.25,rgb:[24,91,59]},{index:.38,rgb:[13,119,72]},{index:.5,rgb:[18,148,80]},{index:.63,rgb:[80,173,89]},{index:.75,rgb:[132,196,122]},{index:.88,rgb:[175,221,162]},{index:1,rgb:[215,249,208]}],density:[{index:0,rgb:[54,14,36]},{index:.13,rgb:[89,23,80]},{index:.25,rgb:[110,45,132]},{index:.38,rgb:[120,77,178]},{index:.5,rgb:[120,113,213]},{index:.63,rgb:[115,151,228]},{index:.75,rgb:[134,185,227]},{index:.88,rgb:[177,214,227]},{index:1,rgb:[230,241,241]}],"freesurface-blue":[{index:0,rgb:[30,4,110]},{index:.13,rgb:[47,14,176]},{index:.25,rgb:[41,45,236]},{index:.38,rgb:[25,99,212]},{index:.5,rgb:[68,131,200]},{index:.63,rgb:[114,156,197]},{index:.75,rgb:[157,181,203]},{index:.88,rgb:[200,208,216]},{index:1,rgb:[241,237,236]}],"freesurface-red":[{index:0,rgb:[60,9,18]},{index:.13,rgb:[100,17,27]},{index:.25,rgb:[142,20,29]},{index:.38,rgb:[177,43,27]},{index:.5,rgb:[192,87,63]},{index:.63,rgb:[205,125,105]},{index:.75,rgb:[216,162,148]},{index:.88,rgb:[227,199,193]},{index:1,rgb:[241,237,236]}],oxygen:[{index:0,rgb:[64,5,5]},{index:.13,rgb:[106,6,15]},{index:.25,rgb:[144,26,7]},{index:.38,rgb:[168,64,3]},{index:.5,rgb:[188,100,4]},{index:.63,rgb:[206,136,11]},{index:.75,rgb:[220,174,25]},{index:.88,rgb:[231,215,44]},{index:1,rgb:[248,254,105]}],par:[{index:0,rgb:[51,20,24]},{index:.13,rgb:[90,32,35]},{index:.25,rgb:[129,44,34]},{index:.38,rgb:[159,68,25]},{index:.5,rgb:[182,99,19]},{index:.63,rgb:[199,134,22]},{index:.75,rgb:[212,171,35]},{index:.88,rgb:[221,210,54]},{index:1,rgb:[225,253,75]}],phase:[{index:0,rgb:[145,105,18]},{index:.13,rgb:[184,71,38]},{index:.25,rgb:[186,58,115]},{index:.38,rgb:[160,71,185]},{index:.5,rgb:[110,97,218]},{index:.63,rgb:[50,123,164]},{index:.75,rgb:[31,131,110]},{index:.88,rgb:[77,129,34]},{index:1,rgb:[145,105,18]}],salinity:[{index:0,rgb:[42,24,108]},{index:.13,rgb:[33,50,162]},{index:.25,rgb:[15,90,145]},{index:.38,rgb:[40,118,137]},{index:.5,rgb:[59,146,135]},{index:.63,rgb:[79,175,126]},{index:.75,rgb:[120,203,104]},{index:.88,rgb:[193,221,100]},{index:1,rgb:[253,239,154]}],temperature:[{index:0,rgb:[4,35,51]},{index:.13,rgb:[23,51,122]},{index:.25,rgb:[85,59,157]},{index:.38,rgb:[129,79,143]},{index:.5,rgb:[175,95,130]},{index:.63,rgb:[222,112,101]},{index:.75,rgb:[249,146,66]},{index:.88,rgb:[249,196,65]},{index:1,rgb:[232,250,91]}],turbidity:[{index:0,rgb:[34,31,27]},{index:.13,rgb:[65,50,41]},{index:.25,rgb:[98,69,52]},{index:.38,rgb:[131,89,57]},{index:.5,rgb:[161,112,59]},{index:.63,rgb:[185,140,66]},{index:.75,rgb:[202,174,88]},{index:.88,rgb:[216,209,126]},{index:1,rgb:[233,246,171]}],"velocity-blue":[{index:0,rgb:[17,32,64]},{index:.13,rgb:[35,52,116]},{index:.25,rgb:[29,81,156]},{index:.38,rgb:[31,113,162]},{index:.5,rgb:[50,144,169]},{index:.63,rgb:[87,173,176]},{index:.75,rgb:[149,196,189]},{index:.88,rgb:[203,221,211]},{index:1,rgb:[254,251,230]}],"velocity-green":[{index:0,rgb:[23,35,19]},{index:.13,rgb:[24,64,38]},{index:.25,rgb:[11,95,45]},{index:.38,rgb:[39,123,35]},{index:.5,rgb:[95,146,12]},{index:.63,rgb:[152,165,18]},{index:.75,rgb:[201,186,69]},{index:.88,rgb:[233,216,137]},{index:1,rgb:[255,253,205]}],cubehelix:[{index:0,rgb:[0,0,0]},{index:.07,rgb:[22,5,59]},{index:.13,rgb:[60,4,105]},{index:.2,rgb:[109,1,135]},{index:.27,rgb:[161,0,147]},{index:.33,rgb:[210,2,142]},{index:.4,rgb:[251,11,123]},{index:.47,rgb:[255,29,97]},{index:.53,rgb:[255,54,69]},{index:.6,rgb:[255,85,46]},{index:.67,rgb:[255,120,34]},{index:.73,rgb:[255,157,37]},{index:.8,rgb:[241,191,57]},{index:.87,rgb:[224,220,93]},{index:.93,rgb:[218,241,142]},{index:1,rgb:[227,253,198]}]}},9156:function(f,l,a){var u=a(5692),o=a(3578);function s(m){return[m[0]/255,m[1]/255,m[2]/255,m[3]]}function h(m){for(var w,y="#",C=0;C<3;++C)y+=("00"+(w=(w=m[C]).toString(16))).substr(w.length);return y}function c(m){return"rgba("+m.join(",")+")"}f.exports=function(m){var w,y,C,_,k,E,x,A,L,b;if(m||(m={}),A=(m.nshades||72)-1,x=m.format||"hex",(E=m.colormap)||(E="jet"),typeof E=="string"){if(E=E.toLowerCase(),!u[E])throw Error(E+" not a supported colorscale");k=u[E]}else{if(!Array.isArray(E))throw Error("unsupported colormap option",E);k=E.slice()}if(k.length>A+1)throw new Error(E+" map requires nshades to be at least size "+k.length);L=Array.isArray(m.alpha)?m.alpha.length!==2?[1,1]:m.alpha.slice():typeof m.alpha=="number"?[m.alpha,m.alpha]:[1,1],w=k.map(function(F){return Math.round(F.index*A)}),L[0]=Math.min(Math.max(L[0],0),1),L[1]=Math.min(Math.max(L[1],0),1);var R=k.map(function(F,B){var N=k[B].index,W=k[B].rgb.slice();return W.length===4&&W[3]>=0&&W[3]<=1||(W[3]=L[0]+(L[1]-L[0])*N),W}),I=[];for(b=0;b0||m(w,y,_)?-1:1:E===0?x>0||m(w,y,C)?1:-1:o(x-E)}var L=u(w,y,C);return L>0?k>0&&u(w,y,_)>0?1:-1:L<0?k>0||u(w,y,_)>0?1:-1:u(w,y,_)>0||m(w,y,C)?1:-1};var u=a(417),o=a(7538),s=a(87),h=a(2019),c=a(9662);function m(w,y,C){var _=s(w[0],-y[0]),k=s(w[1],-y[1]),E=s(C[0],-y[0]),x=s(C[1],-y[1]),A=c(h(_,E),h(k,x));return A[A.length-1]>=0}},7538:function(f){f.exports=function(l){return l<0?-1:l>0?1:0}},9209:function(f){f.exports=function(u,o){var s=u.length,h=u.length-o.length;if(h)return h;switch(s){case 0:return 0;case 1:return u[0]-o[0];case 2:return u[0]+u[1]-o[0]-o[1]||l(u[0],u[1])-l(o[0],o[1]);case 3:var c=u[0]+u[1],m=o[0]+o[1];if(h=c+u[2]-(m+o[2]))return h;var w=l(u[0],u[1]),y=l(o[0],o[1]);return l(w,u[2])-l(y,o[2])||l(w+u[2],c)-l(y+o[2],m);case 4:var C=u[0],_=u[1],k=u[2],E=u[3],x=o[0],A=o[1],L=o[2],b=o[3];return C+_+k+E-(x+A+L+b)||l(C,_,k,E)-l(x,A,L,b,x)||l(C+_,C+k,C+E,_+k,_+E,k+E)-l(x+A,x+L,x+b,A+L,A+b,L+b)||l(C+_+k,C+_+E,C+k+E,_+k+E)-l(x+A+L,x+A+b,x+L+b,A+L+b);default:for(var R=u.slice().sort(a),I=o.slice().sort(a),O=0;Ol[u][0]&&(u=o);return au?[[u],[a]]:[[a]]}},8722:function(f,l,a){f.exports=function(o){var s=u(o),h=s.length;if(h<=2)return[];for(var c=new Array(h),m=s[h-1],w=0;w=C[b]&&(L+=1);x[A]=L}}return y}(u(m,!0),c)}};var u=a(2183),o=a(2153)},9680:function(f){f.exports=function(l,a,u,o,s,h){var c=s-1,m=s*s,w=c*c,y=(1+2*s)*w,C=s*w,_=m*(3-2*s),k=m*c;if(l.length){h||(h=new Array(l.length));for(var E=l.length-1;E>=0;--E)h[E]=y*l[E]+C*a[E]+_*u[E]+k*o[E];return h}return y*l+C*a+_*u+k*o},f.exports.derivative=function(l,a,u,o,s,h){var c=6*s*s-6*s,m=3*s*s-4*s+1,w=-6*s*s+6*s,y=3*s*s-2*s;if(l.length){h||(h=new Array(l.length));for(var C=l.length-1;C>=0;--C)h[C]=c*l[C]+m*a[C]+w*u[C]+y*o[C];return h}return c*l+m*a+w*u[C]+y*o}},4419:function(f,l,a){var u=a(2183),o=a(1215);function s(c,m){this.point=c,this.index=m}function h(c,m){for(var w=c.point,y=m.point,C=w.length,_=0;_=2)return!1;N[j]=$}return!0}):B.filter(function(N){for(var W=0;W<=y;++W){var j=I[N[W]];if(j<0)return!1;N[W]=j}return!0}),1&y)for(k=0;k>>31},f.exports.exponent=function(s){return(f.exports.hi(s)<<1>>>21)-1023},f.exports.fraction=function(s){var h=f.exports.lo(s),c=f.exports.hi(s),m=1048575&c;return 2146435072&c&&(m+=1048576),[h,m]},f.exports.denormalized=function(s){return!(2146435072&f.exports.hi(s))}},3094:function(f){function l(a,u,o){var s=0|a[o];if(s<=0)return[];var h,c=new Array(s);if(o===a.length-1)for(h=0;h0)return function(o,s){var h,c;for(h=new Array(o),c=0;c=C-1){b=E.length-1;var I=w-y[C-1];for(R=0;R=C-1)for(var L=E.length-1,b=(y[C-1],0);b=0;--C)if(w[--y])return!1;return!0},c.jump=function(w){var y=this.lastT(),C=this.dimension;if(!(w0;--R)_.push(s(A[R-1],L[R-1],arguments[R])),k.push(0)}},c.push=function(w){var y=this.lastT(),C=this.dimension;if(!(w1e-6?1/x:0;this._time.push(w);for(var I=C;I>0;--I){var O=s(L[I-1],b[I-1],arguments[I]);_.push(O),k.push((O-_[E++])*R)}}},c.set=function(w){var y=this.dimension;if(!(w0;--A)C.push(s(E[A-1],x[A-1],arguments[A])),_.push(0)}},c.move=function(w){var y=this.lastT(),C=this.dimension;if(!(w<=y||arguments.length!==C+1)){var _=this._state,k=this._velocity,E=_.length-this.dimension,x=this.bounds,A=x[0],L=x[1],b=w-y,R=b>1e-6?1/b:0;this._time.push(w);for(var I=C;I>0;--I){var O=arguments[I];_.push(s(A[I-1],L[I-1],_[E++]+O)),k.push(O*R)}}},c.idle=function(w){var y=this.lastT();if(!(w=0;--R)_.push(s(A[R],L[R],_[E]+b*k[E])),k.push(0),E+=1}}},7080:function(f){function l(E,x,A,L,b,R){this._color=E,this.key=x,this.value=A,this.left=L,this.right=b,this._count=R}function a(E){return new l(E._color,E.key,E.value,E.left,E.right,E._count)}function u(E,x){return new l(E,x.key,x.value,x.left,x.right,x._count)}function o(E){E._count=1+(E.left?E.left._count:0)+(E.right?E.right._count:0)}function s(E,x){this._compare=E,this.root=x}f.exports=function(E){return new s(E||k,null)};var h=s.prototype;function c(E,x){var A;return x.left&&(A=c(E,x.left))?A:(A=E(x.key,x.value))||(x.right?c(E,x.right):void 0)}function m(E,x,A,L){if(x(E,L.key)<=0){var b;if(L.left&&(b=m(E,x,A,L.left))||(b=A(L.key,L.value)))return b}if(L.right)return m(E,x,A,L.right)}function w(E,x,A,L,b){var R,I=A(E,b.key),O=A(x,b.key);if(I<=0&&(b.left&&(R=w(E,x,A,L,b.left))||O>0&&(R=L(b.key,b.value))))return R;if(O>0&&b.right)return w(E,x,A,L,b.right)}function y(E,x){this.tree=E,this._stack=x}Object.defineProperty(h,"keys",{get:function(){var E=[];return this.forEach(function(x,A){E.push(x)}),E}}),Object.defineProperty(h,"values",{get:function(){var E=[];return this.forEach(function(x,A){E.push(A)}),E}}),Object.defineProperty(h,"length",{get:function(){return this.root?this.root._count:0}}),h.insert=function(E,x){for(var A=this._compare,L=this.root,b=[],R=[];L;){var I=A(E,L.key);b.push(L),R.push(I),L=I<=0?L.left:L.right}b.push(new l(0,E,x,null,null,1));for(var O=b.length-2;O>=0;--O)L=b[O],R[O]<=0?b[O]=new l(L._color,L.key,L.value,b[O+1],L.right,L._count+1):b[O]=new l(L._color,L.key,L.value,L.left,b[O+1],L._count+1);for(O=b.length-1;O>1;--O){var z=b[O-1];if(L=b[O],z._color===1||L._color===1)break;var F=b[O-2];if(F.left===z)if(z.left===L){if(!(B=F.right)||B._color!==0){F._color=0,F.left=z.right,z._color=1,z.right=F,b[O-2]=z,b[O-1]=L,o(F),o(z),O>=3&&((N=b[O-3]).left===F?N.left=z:N.right=z);break}z._color=1,F.right=u(1,B),F._color=0,O-=1}else{if(!(B=F.right)||B._color!==0){z.right=L.left,F._color=0,F.left=L.right,L._color=1,L.left=z,L.right=F,b[O-2]=L,b[O-1]=z,o(F),o(z),o(L),O>=3&&((N=b[O-3]).left===F?N.left=L:N.right=L);break}z._color=1,F.right=u(1,B),F._color=0,O-=1}else if(z.right===L){if(!(B=F.left)||B._color!==0){F._color=0,F.right=z.left,z._color=1,z.left=F,b[O-2]=z,b[O-1]=L,o(F),o(z),O>=3&&((N=b[O-3]).right===F?N.right=z:N.left=z);break}z._color=1,F.left=u(1,B),F._color=0,O-=1}else{var B;if(!(B=F.left)||B._color!==0){var N;z.left=L.right,F._color=0,F.right=L.left,L._color=1,L.right=z,L.left=F,b[O-2]=L,b[O-1]=z,o(F),o(z),o(L),O>=3&&((N=b[O-3]).right===F?N.right=L:N.left=L);break}z._color=1,F.left=u(1,B),F._color=0,O-=1}}return b[0]._color=1,new s(A,b[0])},h.forEach=function(E,x,A){if(this.root)switch(arguments.length){case 1:return c(E,this.root);case 2:return m(x,this._compare,E,this.root);case 3:return this._compare(x,A)>=0?void 0:w(x,A,this._compare,E,this.root)}},Object.defineProperty(h,"begin",{get:function(){for(var E=[],x=this.root;x;)E.push(x),x=x.left;return new y(this,E)}}),Object.defineProperty(h,"end",{get:function(){for(var E=[],x=this.root;x;)E.push(x),x=x.right;return new y(this,E)}}),h.at=function(E){if(E<0)return new y(this,[]);for(var x=this.root,A=[];;){if(A.push(x),x.left){if(E=x.right._count)break;x=x.right}return new y(this,[])},h.ge=function(E){for(var x=this._compare,A=this.root,L=[],b=0;A;){var R=x(E,A.key);L.push(A),R<=0&&(b=L.length),A=R<=0?A.left:A.right}return L.length=b,new y(this,L)},h.gt=function(E){for(var x=this._compare,A=this.root,L=[],b=0;A;){var R=x(E,A.key);L.push(A),R<0&&(b=L.length),A=R<0?A.left:A.right}return L.length=b,new y(this,L)},h.lt=function(E){for(var x=this._compare,A=this.root,L=[],b=0;A;){var R=x(E,A.key);L.push(A),R>0&&(b=L.length),A=R<=0?A.left:A.right}return L.length=b,new y(this,L)},h.le=function(E){for(var x=this._compare,A=this.root,L=[],b=0;A;){var R=x(E,A.key);L.push(A),R>=0&&(b=L.length),A=R<0?A.left:A.right}return L.length=b,new y(this,L)},h.find=function(E){for(var x=this._compare,A=this.root,L=[];A;){var b=x(E,A.key);if(L.push(A),b===0)return new y(this,L);A=b<=0?A.left:A.right}return new y(this,[])},h.remove=function(E){var x=this.find(E);return x?x.remove():this},h.get=function(E){for(var x=this._compare,A=this.root;A;){var L=x(E,A.key);if(L===0)return A.value;A=L<=0?A.left:A.right}};var C=y.prototype;function _(E,x){E.key=x.key,E.value=x.value,E.left=x.left,E.right=x.right,E._color=x._color,E._count=x._count}function k(E,x){return Ex?1:0}Object.defineProperty(C,"valid",{get:function(){return this._stack.length>0}}),Object.defineProperty(C,"node",{get:function(){return this._stack.length>0?this._stack[this._stack.length-1]:null},enumerable:!0}),C.clone=function(){return new y(this.tree,this._stack.slice())},C.remove=function(){var E=this._stack;if(E.length===0)return this.tree;var x=new Array(E.length),A=E[E.length-1];x[x.length-1]=new l(A._color,A.key,A.value,A.left,A.right,A._count);for(var L=E.length-2;L>=0;--L)(A=E[L]).left===E[L+1]?x[L]=new l(A._color,A.key,A.value,x[L+1],A.right,A._count):x[L]=new l(A._color,A.key,A.value,A.left,x[L+1],A._count);if((A=x[x.length-1]).left&&A.right){var b=x.length;for(A=A.left;A.right;)x.push(A),A=A.right;var R=x[b-1];for(x.push(new l(A._color,R.key,R.value,A.left,A.right,A._count)),x[b-1].key=A.key,x[b-1].value=A.value,L=x.length-2;L>=b;--L)A=x[L],x[L]=new l(A._color,A.key,A.value,A.left,x[L+1],A._count);x[b-1].left=x[b]}if((A=x[x.length-1])._color===0){var I=x[x.length-2];for(I.left===A?I.left=null:I.right===A&&(I.right=null),x.pop(),L=0;L=0;--j){if(F=z[j],j===0)return void(F._color=1);if((B=z[j-1]).left===F){if((N=B.right).right&&N.right._color===0)return W=(N=B.right=a(N)).right=a(N.right),B.right=N.left,N.left=B,N.right=W,N._color=B._color,F._color=1,B._color=1,W._color=1,o(B),o(N),j>1&&(($=z[j-2]).left===B?$.left=N:$.right=N),void(z[j-1]=N);if(N.left&&N.left._color===0)return W=(N=B.right=a(N)).left=a(N.left),B.right=W.left,N.left=W.right,W.left=B,W.right=N,W._color=B._color,B._color=1,N._color=1,F._color=1,o(B),o(N),o(W),j>1&&(($=z[j-2]).left===B?$.left=W:$.right=W),void(z[j-1]=W);if(N._color===1){if(B._color===0)return B._color=1,void(B.right=u(0,N));B.right=u(0,N);continue}N=a(N),B.right=N.left,N.left=B,N._color=B._color,B._color=0,o(B),o(N),j>1&&(($=z[j-2]).left===B?$.left=N:$.right=N),z[j-1]=N,z[j]=B,j+11&&(($=z[j-2]).right===B?$.right=N:$.left=N),void(z[j-1]=N);if(N.right&&N.right._color===0)return W=(N=B.left=a(N)).right=a(N.right),B.left=W.right,N.right=W.left,W.right=B,W.left=N,W._color=B._color,B._color=1,N._color=1,F._color=1,o(B),o(N),o(W),j>1&&(($=z[j-2]).right===B?$.right=W:$.left=W),void(z[j-1]=W);if(N._color===1){if(B._color===0)return B._color=1,void(B.left=u(0,N));B.left=u(0,N);continue}var $;N=a(N),B.left=N.right,N.right=B,N._color=B._color,B._color=0,o(B),o(N),j>1&&(($=z[j-2]).right===B?$.right=N:$.left=N),z[j-1]=N,z[j]=B,j+10)return this._stack[this._stack.length-1].key},enumerable:!0}),Object.defineProperty(C,"value",{get:function(){if(this._stack.length>0)return this._stack[this._stack.length-1].value},enumerable:!0}),Object.defineProperty(C,"index",{get:function(){var E=0,x=this._stack;if(x.length===0){var A=this.tree.root;return A?A._count:0}x[x.length-1].left&&(E=x[x.length-1].left._count);for(var L=x.length-2;L>=0;--L)x[L+1]===x[L].right&&(++E,x[L].left&&(E+=x[L].left._count));return E},enumerable:!0}),C.next=function(){var E=this._stack;if(E.length!==0){var x=E[E.length-1];if(x.right)for(x=x.right;x;)E.push(x),x=x.left;else for(E.pop();E.length>0&&E[E.length-1].right===x;)x=E[E.length-1],E.pop()}},Object.defineProperty(C,"hasNext",{get:function(){var E=this._stack;if(E.length===0)return!1;if(E[E.length-1].right)return!0;for(var x=E.length-1;x>0;--x)if(E[x-1].left===E[x])return!0;return!1}}),C.update=function(E){var x=this._stack;if(x.length===0)throw new Error("Can't update empty node!");var A=new Array(x.length),L=x[x.length-1];A[A.length-1]=new l(L._color,L.key,E,L.left,L.right,L._count);for(var b=x.length-2;b>=0;--b)(L=x[b]).left===x[b+1]?A[b]=new l(L._color,L.key,L.value,A[b+1],L.right,L._count):A[b]=new l(L._color,L.key,L.value,L.left,A[b+1],L._count);return new s(this.tree._compare,A[0])},C.prev=function(){var E=this._stack;if(E.length!==0){var x=E[E.length-1];if(x.left)for(x=x.left;x;)E.push(x),x=x.right;else for(E.pop();E.length>0&&E[E.length-1].left===x;)x=E[E.length-1],E.pop()}},Object.defineProperty(C,"hasPrev",{get:function(){var E=this._stack;if(E.length===0)return!1;if(E[E.length-1].left)return!0;for(var x=E.length-1;x>0;--x)if(E[x-1].right===E[x])return!0;return!1}})},7453:function(f,l,a){f.exports=function(I,O){var z=new y(I);return z.update(O),z};var u=a(9557),o=a(1681),s=a(1011),h=a(2864),c=a(8468),m=new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]);function w(I,O){return I[0]=O[0],I[1]=O[1],I[2]=O[2],I}function y(I){this.gl=I,this.pixelRatio=1,this.bounds=[[-10,-10,-10],[10,10,10]],this.ticks=[[],[],[]],this.autoTicks=!0,this.tickSpacing=[1,1,1],this.tickEnable=[!0,!0,!0],this.tickFont=["sans-serif","sans-serif","sans-serif"],this.tickSize=[12,12,12],this.tickAngle=[0,0,0],this.tickAlign=["auto","auto","auto"],this.tickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.tickPad=[10,10,10],this.lastCubeProps={cubeEdges:[0,0,0],axis:[0,0,0]},this.labels=["x","y","z"],this.labelEnable=[!0,!0,!0],this.labelFont="sans-serif",this.labelSize=[20,20,20],this.labelAngle=[0,0,0],this.labelAlign=["auto","auto","auto"],this.labelColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.labelPad=[10,10,10],this.lineEnable=[!0,!0,!0],this.lineMirror=[!1,!1,!1],this.lineWidth=[1,1,1],this.lineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.lineTickEnable=[!0,!0,!0],this.lineTickMirror=[!1,!1,!1],this.lineTickLength=[0,0,0],this.lineTickWidth=[1,1,1],this.lineTickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.gridEnable=[!0,!0,!0],this.gridWidth=[1,1,1],this.gridColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroEnable=[!0,!0,!0],this.zeroLineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroLineWidth=[2,2,2],this.backgroundEnable=[!1,!1,!1],this.backgroundColor=[[.8,.8,.8,.5],[.8,.8,.8,.5],[.8,.8,.8,.5]],this._firstInit=!0,this._text=null,this._lines=null,this._background=s(I)}var C=y.prototype;function _(){this.primalOffset=[0,0,0],this.primalMinor=[0,0,0],this.mirrorOffset=[0,0,0],this.mirrorMinor=[0,0,0]}C.update=function(I){function O(ne,te,Z){if(Z in I){var X,Q=I[Z],re=this[Z];(ne?Array.isArray(Q)&&Array.isArray(Q[0]):Array.isArray(Q))?this[Z]=X=[te(Q[0]),te(Q[1]),te(Q[2])]:this[Z]=X=[te(Q),te(Q),te(Q)];for(var ie=0;ie<3;++ie)if(X[ie]!==re[ie])return!0}return!1}I=I||{};var z,F=O.bind(this,!1,Number),B=O.bind(this,!1,Boolean),N=O.bind(this,!1,String),W=O.bind(this,!0,function(ne){if(Array.isArray(ne)){if(ne.length===3)return[+ne[0],+ne[1],+ne[2],1];if(ne.length===4)return[+ne[0],+ne[1],+ne[2],+ne[3]]}return[0,0,0,1]}),j=!1,$=!1;if("bounds"in I)for(var U=I.bounds,G=0;G<2;++G)for(var q=0;q<3;++q)U[G][q]!==this.bounds[G][q]&&($=!0),this.bounds[G][q]=U[G][q];if("ticks"in I)for(z=I.ticks,j=!0,this.autoTicks=!1,G=0;G<3;++G)this.tickSpacing[G]=0;else F("tickSpacing")&&(this.autoTicks=!0,$=!0);if(this._firstInit&&("ticks"in I||"tickSpacing"in I||(this.autoTicks=!0),$=!0,j=!0,this._firstInit=!1),$&&this.autoTicks&&(z=c.create(this.bounds,this.tickSpacing),j=!0),j){for(G=0;G<3;++G)z[G].sort(function(ne,te){return ne.x-te.x});c.equal(z,this.ticks)?j=!1:this.ticks=z}B("tickEnable"),N("tickFont")&&(j=!0),F("tickSize"),F("tickAngle"),F("tickPad"),W("tickColor");var H=N("labels");N("labelFont")&&(H=!0),B("labelEnable"),F("labelSize"),F("labelPad"),W("labelColor"),B("lineEnable"),B("lineMirror"),F("lineWidth"),W("lineColor"),B("lineTickEnable"),B("lineTickMirror"),F("lineTickLength"),F("lineTickWidth"),W("lineTickColor"),B("gridEnable"),F("gridWidth"),W("gridColor"),B("zeroEnable"),W("zeroLineColor"),F("zeroLineWidth"),B("backgroundEnable"),W("backgroundColor"),this._text?this._text&&(H||j)&&this._text.update(this.bounds,this.labels,this.labelFont,this.ticks,this.tickFont):this._text=u(this.gl,this.bounds,this.labels,this.labelFont,this.ticks,this.tickFont),this._lines&&j&&(this._lines.dispose(),this._lines=null),this._lines||(this._lines=o(this.gl,this.bounds,this.ticks))};var k=[new _,new _,new _];function E(I,O,z,F,B){for(var N=I.primalOffset,W=I.primalMinor,j=I.mirrorOffset,$=I.mirrorMinor,U=F[O],G=0;G<3;++G)if(O!==G){var q=N,H=j,ne=W,te=$;U&1<0?(ne[G]=-1,te[G]=0):(ne[G]=0,te[G]=1)}}var x=[0,0,0],A={model:m,view:m,projection:m,_ortho:!1};C.isOpaque=function(){return!0},C.isTransparent=function(){return!1},C.drawTransparent=function(I){};var L=[0,0,0],b=[0,0,0],R=[0,0,0];C.draw=function(I){I=I||A;for(var O=this.gl,z=I.model||m,F=I.view||m,B=I.projection||m,N=this.bounds,W=I._ortho||!1,j=h(z,F,B,N,W),$=j.cubeEdges,U=j.axis,G=F[12],q=F[13],H=F[14],ne=F[15],te=(W?2:1)*this.pixelRatio*(B[3]*G+B[7]*q+B[11]*H+B[15]*ne)/O.drawingBufferHeight,Z=0;Z<3;++Z)this.lastCubeProps.cubeEdges[Z]=$[Z],this.lastCubeProps.axis[Z]=U[Z];var X=k;for(Z=0;Z<3;++Z)E(k[Z],Z,this.bounds,$,U);O=this.gl;var Q,re,ie,oe=x;for(Z=0;Z<3;++Z)this.backgroundEnable[Z]?oe[Z]=U[Z]:oe[Z]=0;for(this._background.draw(z,F,B,N,oe,this.backgroundColor),this._lines.bind(z,F,B,this),Z=0;Z<3;++Z){var ue=[0,0,0];U[Z]>0?ue[Z]=N[1][Z]:ue[Z]=N[0][Z];for(var ce=0;ce<2;++ce){var ye=(Z+1+ce)%3,de=(Z+1+(1^ce))%3;this.gridEnable[ye]&&this._lines.drawGrid(ye,de,this.bounds,ue,this.gridColor[ye],this.gridWidth[ye]*this.pixelRatio)}for(ce=0;ce<2;++ce)ye=(Z+1+ce)%3,de=(Z+1+(1^ce))%3,this.zeroEnable[de]&&Math.min(N[0][de],N[1][de])<=0&&Math.max(N[0][de],N[1][de])>=0&&this._lines.drawZero(ye,de,this.bounds,ue,this.zeroLineColor[de],this.zeroLineWidth[de]*this.pixelRatio)}for(Z=0;Z<3;++Z){this.lineEnable[Z]&&this._lines.drawAxisLine(Z,this.bounds,X[Z].primalOffset,this.lineColor[Z],this.lineWidth[Z]*this.pixelRatio),this.lineMirror[Z]&&this._lines.drawAxisLine(Z,this.bounds,X[Z].mirrorOffset,this.lineColor[Z],this.lineWidth[Z]*this.pixelRatio);var me=w(L,X[Z].primalMinor),pe=w(b,X[Z].mirrorMinor),xe=this.lineTickLength;for(ce=0;ce<3;++ce){var Pe=te/z[5*ce];me[ce]*=xe[ce]*Pe,pe[ce]*=xe[ce]*Pe}this.lineTickEnable[Z]&&this._lines.drawAxisTicks(Z,X[Z].primalOffset,me,this.lineTickColor[Z],this.lineTickWidth[Z]*this.pixelRatio),this.lineTickMirror[Z]&&this._lines.drawAxisTicks(Z,X[Z].mirrorOffset,pe,this.lineTickColor[Z],this.lineTickWidth[Z]*this.pixelRatio)}function _e(be){(ie=[0,0,0])[be]=1}function Me(be,ke,Le){var Be=(be+1)%3,ze=(be+2)%3,je=ke[Be],ge=ke[ze],we=Le[Be],Ee=Le[ze];je>0&&Ee>0||je>0&&Ee<0||je<0&&Ee>0||je<0&&Ee<0?_e(Be):(ge>0&&we>0||ge>0&&we<0||ge<0&&we>0||ge<0&&we<0)&&_e(ze)}for(this._lines.unbind(),this._text.bind(z,F,B,this.pixelRatio),Z=0;Z<3;++Z){var Se=X[Z].primalMinor,Ce=X[Z].mirrorMinor,ae=w(R,X[Z].primalOffset);for(ce=0;ce<3;++ce)this.lineTickEnable[Z]&&(ae[ce]+=te*Se[ce]*Math.max(this.lineTickLength[ce],0)/z[5*ce]);var fe=[0,0,0];if(fe[Z]=1,this.tickEnable[Z]){for(this.tickAngle[Z]===-3600?(this.tickAngle[Z]=0,this.tickAlign[Z]="auto"):this.tickAlign[Z]=-1,re=1,(Q=[this.tickAlign[Z],.5,re])[0]==="auto"?Q[0]=0:Q[0]=parseInt(""+Q[0]),ie=[0,0,0],Me(Z,Se,Ce),ce=0;ce<3;++ce)ae[ce]+=te*Se[ce]*this.tickPad[ce]/z[5*ce];this._text.drawTicks(Z,this.tickSize[Z],this.tickAngle[Z],ae,this.tickColor[Z],fe,ie,Q)}if(this.labelEnable[Z]){for(re=0,ie=[0,0,0],this.labels[Z].length>4&&(_e(Z),re=1),(Q=[this.labelAlign[Z],.5,re])[0]==="auto"?Q[0]=0:Q[0]=parseInt(""+Q[0]),ce=0;ce<3;++ce)ae[ce]+=te*Se[ce]*this.labelPad[ce]/z[5*ce];ae[Z]+=.5*(N[0][Z]+N[1][Z]),this._text.drawLabel(Z,this.labelSize[Z],this.labelAngle[Z],ae,this.labelColor[Z],[0,0,0],ie,Q)}}this._text.unbind()},C.dispose=function(){this._text.dispose(),this._lines.dispose(),this._background.dispose(),this._lines=null,this._text=null,this._background=null,this.gl=null}},1011:function(f,l,a){f.exports=function(m){for(var w=[],y=[],C=0,_=0;_<3;++_)for(var k=(_+1)%3,E=(_+2)%3,x=[0,0,0],A=[0,0,0],L=-1;L<=1;L+=2){y.push(C,C+2,C+1,C+1,C+2,C+3),x[_]=L,A[_]=L;for(var b=-1;b<=1;b+=2){x[k]=b;for(var R=-1;R<=1;R+=2)x[E]=R,w.push(x[0],x[1],x[2],A[0],A[1],A[2]),C+=1}var I=k;k=E,E=I}var O=u(m,new Float32Array(w)),z=u(m,new Uint16Array(y),m.ELEMENT_ARRAY_BUFFER),F=o(m,[{buffer:O,type:m.FLOAT,size:3,offset:0,stride:24},{buffer:O,type:m.FLOAT,size:3,offset:12,stride:24}],z),B=s(m);return B.attributes.position.location=0,B.attributes.normal.location=1,new h(m,O,F,B)};var u=a(5827),o=a(2944),s=a(1943).bg;function h(m,w,y,C){this.gl=m,this.buffer=w,this.vao=y,this.shader=C}var c=h.prototype;c.draw=function(m,w,y,C,_,k){for(var E=!1,x=0;x<3;++x)E=E||_[x];if(E){var A=this.gl;A.enable(A.POLYGON_OFFSET_FILL),A.polygonOffset(1,2),this.shader.bind(),this.shader.uniforms={model:m,view:w,projection:y,bounds:C,enable:_,colors:k},this.vao.bind(),this.vao.draw(this.gl.TRIANGLES,36),this.vao.unbind(),A.disable(A.POLYGON_OFFSET_FILL)}},c.dispose=function(){this.vao.dispose(),this.buffer.dispose(),this.shader.dispose()}},2864:function(f,l,a){f.exports=function(b,R,I,O,z){o(c,R,b),o(c,I,c);for(var F=0,B=0;B<2;++B){y[2]=O[B][2];for(var N=0;N<2;++N){y[1]=O[N][1];for(var W=0;W<2;++W)y[0]=O[W][0],_(m[F],y,c),F+=1}}var j=-1;for(B=0;B<8;++B){for(var $=m[B][3],U=0;U<3;++U)w[B][U]=m[B][U]/$;z&&(w[B][2]*=-1),$<0&&(j<0||w[B][2]ne&&(j|=1<ne&&(j|=1<w[B][1])&&(ue=B);var ce=-1;for(B=0;B<3;++B)(de=ue^1<w[ye][0]&&(ye=de))}var me=x;me[0]=me[1]=me[2]=0,me[u.log2(ce^ue)]=ue&ce,me[u.log2(ue^ye)]=ue&ye;var pe=7^ye;pe===j||pe===oe?(pe=7^ce,me[u.log2(ye^pe)]=pe&ye):me[u.log2(ce^pe)]=pe&ce;var xe=A,Pe=j;for(G=0;G<3;++G)xe[G]=Pe&1<=0;--oe){var ue=Z[ie[oe]];L.push(te*ue[0],-te*ue[1],W)}}for(var R=[0,0,0],I=[0,0,0],O=[0,0,0],z=[0,0,0],F={breaklines:!0,bolds:!0,italics:!0,subscripts:!0,superscripts:!0},B=0;B<3;++B){O[B]=L.length/3|0,b(.5*(_[0][B]+_[1][B]),k[B],E[B],12,1.25,F),z[B]=(L.length/3|0)-O[B],R[B]=L.length/3|0;for(var N=0;N=0&&(h=s.length-c-1);var m=Math.pow(10,h),w=Math.round(u*o*m),y=w+"";if(y.indexOf("e")>=0)return y;var S=w/m,_=w%m;w<0?(S=0|-Math.ceil(S),_=0|-_):(S=0|Math.floor(S),_|=0);var k=""+S;if(w<0&&(k="-"+k),h){for(var E=""+_;E.length=u[0][c];--m)h.push({x:m*o[c],text:a(o[c],m)});s.push(h)}return s},l.equal=function(u,o){for(var s=0;s<3;++s){if(u[s].length!==o[s].length)return!1;for(var c=0;ck)throw new Error("gl-buffer: If resizing buffer, must not specify offset");return S.bufferSubData(_,A,x),k}function y(S,_){for(var k=u.malloc(S.length,_),E=S.length,x=0;x=0;--I){if(b[I]!==R)return!1;R*=L[I]}return!0}(S.shape,S.stride))S.offset===0&&S.data.length===S.shape[0]?this.length=w(this.gl,this.type,this.length,this.usage,S.data,_):this.length=w(this.gl,this.type,this.length,this.usage,S.data.subarray(S.offset,S.shape[0]),_);else{var E=u.malloc(S.size,k),x=s(E,S.shape);o.assign(x,S),this.length=w(this.gl,this.type,this.length,this.usage,_<0?E:E.subarray(0,S.size),_),u.free(E)}}else if(Array.isArray(S)){var A;A=this.type===this.gl.ELEMENT_ARRAY_BUFFER?y(S,"uint16"):y(S,"float32"),this.length=w(this.gl,this.type,this.length,this.usage,_<0?A:A.subarray(0,S.length),_),u.free(A)}else if(typeof S=="object"&&typeof S.length=="number")this.length=w(this.gl,this.type,this.length,this.usage,S,_);else{if(typeof S!="number"&&S!==void 0)throw new Error("gl-buffer: Invalid data type");if(_>=0)throw new Error("gl-buffer: Cannot specify offset when resizing buffer");(S|=0)<=0&&(S=1),this.gl.bufferData(this.type,0|S,this.usage),this.length=S}},f.exports=function(S,_,k,E){if(k=k||S.ARRAY_BUFFER,E=E||S.DYNAMIC_DRAW,k!==S.ARRAY_BUFFER&&k!==S.ELEMENT_ARRAY_BUFFER)throw new Error("gl-buffer: Invalid type for webgl buffer, must be either gl.ARRAY_BUFFER or gl.ELEMENT_ARRAY_BUFFER");if(E!==S.DYNAMIC_DRAW&&E!==S.STATIC_DRAW&&E!==S.STREAM_DRAW)throw new Error("gl-buffer: Invalid usage for buffer, must be either gl.DYNAMIC_DRAW, gl.STATIC_DRAW or gl.STREAM_DRAW");var x=S.createBuffer(),A=new h(S,k,x,0,E);return A.update(_),A}},1140:function(f,l,a){var u=a(2858);f.exports=function(s,c){var h=s.positions,m=s.vectors,w={positions:[],vertexIntensity:[],vertexIntensityBounds:s.vertexIntensityBounds,vectors:[],cells:[],coneOffset:s.coneOffset,colormap:s.colormap};if(s.positions.length===0)return c&&(c[0]=[0,0,0],c[1]=[0,0,0]),w;for(var y=0,S=1/0,_=-1/0,k=1/0,E=-1/0,x=1/0,A=-1/0,L=null,b=null,R=[],I=1/0,O=!1,z=0;zy&&(y=u.length(B)),z){var N=2*u.distance(L,F)/(u.length(b)+u.length(B));N?(I=Math.min(I,N),O=!1):O=!0}O||(L=F,b=B),R.push(B)}var W=[S,k,x],j=[_,E,A];c&&(c[0]=W,c[1]=j),y===0&&(y=1);var $=1/y;isFinite(I)||(I=1),w.vectorScale=I;var U=s.coneSize||.5;s.absoluteConeSize&&(U=s.absoluteConeSize*$),w.coneScale=U,z=0;for(var G=0;z=1},k.isTransparent=function(){return this.opacity<1},k.pickSlots=1,k.setPickBase=function(A){this.pickId=A},k.update=function(A){A=A||{};var L=this.gl;this.dirty=!0,"lightPosition"in A&&(this.lightPosition=A.lightPosition),"opacity"in A&&(this.opacity=A.opacity),"ambient"in A&&(this.ambientLight=A.ambient),"diffuse"in A&&(this.diffuseLight=A.diffuse),"specular"in A&&(this.specularLight=A.specular),"roughness"in A&&(this.roughness=A.roughness),"fresnel"in A&&(this.fresnel=A.fresnel),A.tubeScale!==void 0&&(this.tubeScale=A.tubeScale),A.vectorScale!==void 0&&(this.vectorScale=A.vectorScale),A.coneScale!==void 0&&(this.coneScale=A.coneScale),A.coneOffset!==void 0&&(this.coneOffset=A.coneOffset),A.colormap&&(this.texture.shape=[256,256],this.texture.minFilter=L.LINEAR_MIPMAP_LINEAR,this.texture.magFilter=L.LINEAR,this.texture.setPixels(function(ue){for(var ce=y({colormap:ue,nshades:256,format:"rgba"}),ye=new Uint8Array(1024),de=0;de<256;++de){for(var me=ce[de],pe=0;pe<3;++pe)ye[4*de+pe]=me[pe];ye[4*de+3]=255*me[3]}return w(ye,[256,256,4],[4,0,1])}(A.colormap)),this.texture.generateMipmap());var b=A.cells,R=A.positions,I=A.vectors;if(R&&b&&I){var O=[],z=[],F=[],B=[],N=[];this.cells=b,this.positions=R,this.vectors=I;var W=A.meshColor||[1,1,1,1],j=A.vertexIntensity,$=1/0,U=-1/0;if(j)if(A.vertexIntensityBounds)$=+A.vertexIntensityBounds[0],U=+A.vertexIntensityBounds[1];else for(var G=0;G0){var $=this.triShader;$.bind(),$.uniforms=F,this.triangleVAO.bind(),L.drawArrays(L.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind()}},k.drawPick=function(A){A=A||{};for(var L=this.gl,b=A.model||S,R=A.view||S,I=A.projection||S,O=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],z=0;z<3;++z)O[0][z]=Math.max(O[0][z],this.clipBounds[0][z]),O[1][z]=Math.min(O[1][z],this.clipBounds[1][z]);this._model=[].slice.call(b),this._view=[].slice.call(R),this._projection=[].slice.call(I),this._resolution=[L.drawingBufferWidth,L.drawingBufferHeight];var F={model:b,view:R,projection:I,clipBounds:O,tubeScale:this.tubeScale,vectorScale:this.vectorScale,coneScale:this.coneScale,coneOffset:this.coneOffset,pickId:this.pickId/255},B=this.pickShader;B.bind(),B.uniforms=F,this.triangleCount>0&&(this.triangleVAO.bind(),L.drawArrays(L.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind())},k.pick=function(A){if(!A||A.id!==this.pickId)return null;var L=A.value[0]+256*A.value[1]+65536*A.value[2],b=this.cells[L],R=this.positions[b[1]].slice(0,3),I={position:R,dataCoordinate:R,index:Math.floor(b[1]/48)};return this.traceType==="cone"?I.index=Math.floor(b[1]/48):this.traceType==="streamtube"&&(I.intensity=this.intensity[b[1]],I.velocity=this.vectors[b[1]].slice(0,3),I.divergence=this.vectors[b[1]][3],I.index=L),I},k.dispose=function(){this.texture.dispose(),this.triShader.dispose(),this.pickShader.dispose(),this.triangleVAO.dispose(),this.trianglePositions.dispose(),this.triangleVectors.dispose(),this.triangleColors.dispose(),this.triangleUVs.dispose(),this.triangleIds.dispose()},f.exports=function(A,L,b){var R=b.shaders;arguments.length===1&&(A=(L=A).gl);var I=E(A,R),O=x(A,R),z=c(A,w(new Uint8Array([255,255,255,255]),[1,1,4]));z.generateMipmap(),z.minFilter=A.LINEAR_MIPMAP_LINEAR,z.magFilter=A.LINEAR;var F=o(A),B=o(A),N=o(A),W=o(A),j=o(A),$=s(A,[{buffer:F,type:A.FLOAT,size:4},{buffer:j,type:A.UNSIGNED_BYTE,size:4,normalized:!0},{buffer:N,type:A.FLOAT,size:4},{buffer:W,type:A.FLOAT,size:2},{buffer:B,type:A.FLOAT,size:4}]),U=new _(A,z,I,O,F,B,j,N,W,$,b.traceType||"cone");return U.update(L),U}},7234:function(f,l,a){var u=a(6832),o=u([`precision highp float; +}`]);l.bg=function(C){return o(C,w,y,null,[{name:"position",type:"vec3"},{name:"normal",type:"vec3"}])}},9557:function(f,l,a){f.exports=function(_,k,E,x,A,L){var b=u(_),R=o(_,[{buffer:b,size:3}]),I=h(_);I.attributes.position.location=0;var O=new w(_,I,b,R);return O.update(k,E,x,A,L),O};var u=a(5827),o=a(2944),s=a(875),h=a(1943).f,c=window||g.global||{},m=c.__TEXT_CACHE||{};function w(_,k,E,x){this.gl=_,this.shader=k,this.buffer=E,this.vao=x,this.tickOffset=this.tickCount=this.labelOffset=this.labelCount=null}c.__TEXT_CACHE={};var y=w.prototype,C=[0,0];y.bind=function(_,k,E,x){this.vao.bind(),this.shader.bind();var A=this.shader.uniforms;A.model=_,A.view=k,A.projection=E,A.pixelScale=x,C[0]=this.gl.drawingBufferWidth,C[1]=this.gl.drawingBufferHeight,this.shader.uniforms.resolution=C},y.unbind=function(){this.vao.unbind()},y.update=function(_,k,E,x,A){var L=[];function b(W,j,$,U,G,q){var H=m[$];H||(H=m[$]={});var ne=H[j];ne||(ne=H[j]=function(ce,ye){try{return s(ce,ye)}catch(de){return console.warn('error vectorizing text:"'+ce+'" error:',de),{cells:[],positions:[]}}}(j,{triangles:!0,font:$,textAlign:"center",textBaseline:"middle",lineSpacing:G,styletags:q}));for(var te=(U||12)/12,Z=ne.positions,X=ne.cells,Q=0,re=X.length;Q=0;--oe){var ue=Z[ie[oe]];L.push(te*ue[0],-te*ue[1],W)}}for(var R=[0,0,0],I=[0,0,0],O=[0,0,0],z=[0,0,0],F={breaklines:!0,bolds:!0,italics:!0,subscripts:!0,superscripts:!0},B=0;B<3;++B){O[B]=L.length/3|0,b(.5*(_[0][B]+_[1][B]),k[B],E[B],12,1.25,F),z[B]=(L.length/3|0)-O[B],R[B]=L.length/3|0;for(var N=0;N=0&&(c=s.length-h-1);var m=Math.pow(10,c),w=Math.round(u*o*m),y=w+"";if(y.indexOf("e")>=0)return y;var C=w/m,_=w%m;w<0?(C=0|-Math.ceil(C),_=0|-_):(C=0|Math.floor(C),_|=0);var k=""+C;if(w<0&&(k="-"+k),c){for(var E=""+_;E.length=u[0][h];--m)c.push({x:m*o[h],text:a(o[h],m)});s.push(c)}return s},l.equal=function(u,o){for(var s=0;s<3;++s){if(u[s].length!==o[s].length)return!1;for(var h=0;hk)throw new Error("gl-buffer: If resizing buffer, must not specify offset");return C.bufferSubData(_,A,x),k}function y(C,_){for(var k=u.malloc(C.length,_),E=C.length,x=0;x=0;--I){if(b[I]!==R)return!1;R*=L[I]}return!0}(C.shape,C.stride))C.offset===0&&C.data.length===C.shape[0]?this.length=w(this.gl,this.type,this.length,this.usage,C.data,_):this.length=w(this.gl,this.type,this.length,this.usage,C.data.subarray(C.offset,C.shape[0]),_);else{var E=u.malloc(C.size,k),x=s(E,C.shape);o.assign(x,C),this.length=w(this.gl,this.type,this.length,this.usage,_<0?E:E.subarray(0,C.size),_),u.free(E)}}else if(Array.isArray(C)){var A;A=this.type===this.gl.ELEMENT_ARRAY_BUFFER?y(C,"uint16"):y(C,"float32"),this.length=w(this.gl,this.type,this.length,this.usage,_<0?A:A.subarray(0,C.length),_),u.free(A)}else if(typeof C=="object"&&typeof C.length=="number")this.length=w(this.gl,this.type,this.length,this.usage,C,_);else{if(typeof C!="number"&&C!==void 0)throw new Error("gl-buffer: Invalid data type");if(_>=0)throw new Error("gl-buffer: Cannot specify offset when resizing buffer");(C|=0)<=0&&(C=1),this.gl.bufferData(this.type,0|C,this.usage),this.length=C}},f.exports=function(C,_,k,E){if(k=k||C.ARRAY_BUFFER,E=E||C.DYNAMIC_DRAW,k!==C.ARRAY_BUFFER&&k!==C.ELEMENT_ARRAY_BUFFER)throw new Error("gl-buffer: Invalid type for webgl buffer, must be either gl.ARRAY_BUFFER or gl.ELEMENT_ARRAY_BUFFER");if(E!==C.DYNAMIC_DRAW&&E!==C.STATIC_DRAW&&E!==C.STREAM_DRAW)throw new Error("gl-buffer: Invalid usage for buffer, must be either gl.DYNAMIC_DRAW, gl.STATIC_DRAW or gl.STREAM_DRAW");var x=C.createBuffer(),A=new c(C,k,x,0,E);return A.update(_),A}},1140:function(f,l,a){var u=a(2858);f.exports=function(s,h){var c=s.positions,m=s.vectors,w={positions:[],vertexIntensity:[],vertexIntensityBounds:s.vertexIntensityBounds,vectors:[],cells:[],coneOffset:s.coneOffset,colormap:s.colormap};if(s.positions.length===0)return h&&(h[0]=[0,0,0],h[1]=[0,0,0]),w;for(var y=0,C=1/0,_=-1/0,k=1/0,E=-1/0,x=1/0,A=-1/0,L=null,b=null,R=[],I=1/0,O=!1,z=0;zy&&(y=u.length(B)),z){var N=2*u.distance(L,F)/(u.length(b)+u.length(B));N?(I=Math.min(I,N),O=!1):O=!0}O||(L=F,b=B),R.push(B)}var W=[C,k,x],j=[_,E,A];h&&(h[0]=W,h[1]=j),y===0&&(y=1);var $=1/y;isFinite(I)||(I=1),w.vectorScale=I;var U=s.coneSize||.5;s.absoluteConeSize&&(U=s.absoluteConeSize*$),w.coneScale=U,z=0;for(var G=0;z=1},k.isTransparent=function(){return this.opacity<1},k.pickSlots=1,k.setPickBase=function(A){this.pickId=A},k.update=function(A){A=A||{};var L=this.gl;this.dirty=!0,"lightPosition"in A&&(this.lightPosition=A.lightPosition),"opacity"in A&&(this.opacity=A.opacity),"ambient"in A&&(this.ambientLight=A.ambient),"diffuse"in A&&(this.diffuseLight=A.diffuse),"specular"in A&&(this.specularLight=A.specular),"roughness"in A&&(this.roughness=A.roughness),"fresnel"in A&&(this.fresnel=A.fresnel),A.tubeScale!==void 0&&(this.tubeScale=A.tubeScale),A.vectorScale!==void 0&&(this.vectorScale=A.vectorScale),A.coneScale!==void 0&&(this.coneScale=A.coneScale),A.coneOffset!==void 0&&(this.coneOffset=A.coneOffset),A.colormap&&(this.texture.shape=[256,256],this.texture.minFilter=L.LINEAR_MIPMAP_LINEAR,this.texture.magFilter=L.LINEAR,this.texture.setPixels(function(ue){for(var ce=y({colormap:ue,nshades:256,format:"rgba"}),ye=new Uint8Array(1024),de=0;de<256;++de){for(var me=ce[de],pe=0;pe<3;++pe)ye[4*de+pe]=me[pe];ye[4*de+3]=255*me[3]}return w(ye,[256,256,4],[4,0,1])}(A.colormap)),this.texture.generateMipmap());var b=A.cells,R=A.positions,I=A.vectors;if(R&&b&&I){var O=[],z=[],F=[],B=[],N=[];this.cells=b,this.positions=R,this.vectors=I;var W=A.meshColor||[1,1,1,1],j=A.vertexIntensity,$=1/0,U=-1/0;if(j)if(A.vertexIntensityBounds)$=+A.vertexIntensityBounds[0],U=+A.vertexIntensityBounds[1];else for(var G=0;G0){var $=this.triShader;$.bind(),$.uniforms=F,this.triangleVAO.bind(),L.drawArrays(L.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind()}},k.drawPick=function(A){A=A||{};for(var L=this.gl,b=A.model||C,R=A.view||C,I=A.projection||C,O=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],z=0;z<3;++z)O[0][z]=Math.max(O[0][z],this.clipBounds[0][z]),O[1][z]=Math.min(O[1][z],this.clipBounds[1][z]);this._model=[].slice.call(b),this._view=[].slice.call(R),this._projection=[].slice.call(I),this._resolution=[L.drawingBufferWidth,L.drawingBufferHeight];var F={model:b,view:R,projection:I,clipBounds:O,tubeScale:this.tubeScale,vectorScale:this.vectorScale,coneScale:this.coneScale,coneOffset:this.coneOffset,pickId:this.pickId/255},B=this.pickShader;B.bind(),B.uniforms=F,this.triangleCount>0&&(this.triangleVAO.bind(),L.drawArrays(L.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind())},k.pick=function(A){if(!A||A.id!==this.pickId)return null;var L=A.value[0]+256*A.value[1]+65536*A.value[2],b=this.cells[L],R=this.positions[b[1]].slice(0,3),I={position:R,dataCoordinate:R,index:Math.floor(b[1]/48)};return this.traceType==="cone"?I.index=Math.floor(b[1]/48):this.traceType==="streamtube"&&(I.intensity=this.intensity[b[1]],I.velocity=this.vectors[b[1]].slice(0,3),I.divergence=this.vectors[b[1]][3],I.index=L),I},k.dispose=function(){this.texture.dispose(),this.triShader.dispose(),this.pickShader.dispose(),this.triangleVAO.dispose(),this.trianglePositions.dispose(),this.triangleVectors.dispose(),this.triangleColors.dispose(),this.triangleUVs.dispose(),this.triangleIds.dispose()},f.exports=function(A,L,b){var R=b.shaders;arguments.length===1&&(A=(L=A).gl);var I=E(A,R),O=x(A,R),z=h(A,w(new Uint8Array([255,255,255,255]),[1,1,4]));z.generateMipmap(),z.minFilter=A.LINEAR_MIPMAP_LINEAR,z.magFilter=A.LINEAR;var F=o(A),B=o(A),N=o(A),W=o(A),j=o(A),$=s(A,[{buffer:F,type:A.FLOAT,size:4},{buffer:j,type:A.UNSIGNED_BYTE,size:4,normalized:!0},{buffer:N,type:A.FLOAT,size:4},{buffer:W,type:A.FLOAT,size:2},{buffer:B,type:A.FLOAT,size:4}]),U=new _(A,z,I,O,F,B,j,N,W,$,b.traceType||"cone");return U.update(L),U}},7234:function(f,l,a){var u=a(6832),o=u([`precision highp float; precision highp float; #define GLSLIFY 1 @@ -601,7 +601,7 @@ void main() { gl_FragColor = litColor * opacity; } -`]),c=u([`precision highp float; +`]),h=u([`precision highp float; precision highp float; #define GLSLIFY 1 @@ -700,7 +700,7 @@ void main() { f_id = id; f_position = position.xyz; } -`]),h=u([`precision highp float; +`]),c=u([`precision highp float; #define GLSLIFY 1 bool outOfRange(float a, float b, float p) { @@ -733,7 +733,7 @@ void main() { if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard; gl_FragColor = vec4(pickId, f_id.xyz); -}`]);l.meshShader={vertex:o,fragment:s,attributes:[{name:"position",type:"vec4"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"},{name:"vector",type:"vec3"}]},l.pickShader={vertex:c,fragment:h,attributes:[{name:"position",type:"vec4"},{name:"id",type:"vec4"},{name:"vector",type:"vec3"}]}},1950:function(f){f.exports={0:"NONE",1:"ONE",2:"LINE_LOOP",3:"LINE_STRIP",4:"TRIANGLES",5:"TRIANGLE_STRIP",6:"TRIANGLE_FAN",256:"DEPTH_BUFFER_BIT",512:"NEVER",513:"LESS",514:"EQUAL",515:"LEQUAL",516:"GREATER",517:"NOTEQUAL",518:"GEQUAL",519:"ALWAYS",768:"SRC_COLOR",769:"ONE_MINUS_SRC_COLOR",770:"SRC_ALPHA",771:"ONE_MINUS_SRC_ALPHA",772:"DST_ALPHA",773:"ONE_MINUS_DST_ALPHA",774:"DST_COLOR",775:"ONE_MINUS_DST_COLOR",776:"SRC_ALPHA_SATURATE",1024:"STENCIL_BUFFER_BIT",1028:"FRONT",1029:"BACK",1032:"FRONT_AND_BACK",1280:"INVALID_ENUM",1281:"INVALID_VALUE",1282:"INVALID_OPERATION",1285:"OUT_OF_MEMORY",1286:"INVALID_FRAMEBUFFER_OPERATION",2304:"CW",2305:"CCW",2849:"LINE_WIDTH",2884:"CULL_FACE",2885:"CULL_FACE_MODE",2886:"FRONT_FACE",2928:"DEPTH_RANGE",2929:"DEPTH_TEST",2930:"DEPTH_WRITEMASK",2931:"DEPTH_CLEAR_VALUE",2932:"DEPTH_FUNC",2960:"STENCIL_TEST",2961:"STENCIL_CLEAR_VALUE",2962:"STENCIL_FUNC",2963:"STENCIL_VALUE_MASK",2964:"STENCIL_FAIL",2965:"STENCIL_PASS_DEPTH_FAIL",2966:"STENCIL_PASS_DEPTH_PASS",2967:"STENCIL_REF",2968:"STENCIL_WRITEMASK",2978:"VIEWPORT",3024:"DITHER",3042:"BLEND",3088:"SCISSOR_BOX",3089:"SCISSOR_TEST",3106:"COLOR_CLEAR_VALUE",3107:"COLOR_WRITEMASK",3317:"UNPACK_ALIGNMENT",3333:"PACK_ALIGNMENT",3379:"MAX_TEXTURE_SIZE",3386:"MAX_VIEWPORT_DIMS",3408:"SUBPIXEL_BITS",3410:"RED_BITS",3411:"GREEN_BITS",3412:"BLUE_BITS",3413:"ALPHA_BITS",3414:"DEPTH_BITS",3415:"STENCIL_BITS",3553:"TEXTURE_2D",4352:"DONT_CARE",4353:"FASTEST",4354:"NICEST",5120:"BYTE",5121:"UNSIGNED_BYTE",5122:"SHORT",5123:"UNSIGNED_SHORT",5124:"INT",5125:"UNSIGNED_INT",5126:"FLOAT",5386:"INVERT",5890:"TEXTURE",6401:"STENCIL_INDEX",6402:"DEPTH_COMPONENT",6406:"ALPHA",6407:"RGB",6408:"RGBA",6409:"LUMINANCE",6410:"LUMINANCE_ALPHA",7680:"KEEP",7681:"REPLACE",7682:"INCR",7683:"DECR",7936:"VENDOR",7937:"RENDERER",7938:"VERSION",9728:"NEAREST",9729:"LINEAR",9984:"NEAREST_MIPMAP_NEAREST",9985:"LINEAR_MIPMAP_NEAREST",9986:"NEAREST_MIPMAP_LINEAR",9987:"LINEAR_MIPMAP_LINEAR",10240:"TEXTURE_MAG_FILTER",10241:"TEXTURE_MIN_FILTER",10242:"TEXTURE_WRAP_S",10243:"TEXTURE_WRAP_T",10497:"REPEAT",10752:"POLYGON_OFFSET_UNITS",16384:"COLOR_BUFFER_BIT",32769:"CONSTANT_COLOR",32770:"ONE_MINUS_CONSTANT_COLOR",32771:"CONSTANT_ALPHA",32772:"ONE_MINUS_CONSTANT_ALPHA",32773:"BLEND_COLOR",32774:"FUNC_ADD",32777:"BLEND_EQUATION_RGB",32778:"FUNC_SUBTRACT",32779:"FUNC_REVERSE_SUBTRACT",32819:"UNSIGNED_SHORT_4_4_4_4",32820:"UNSIGNED_SHORT_5_5_5_1",32823:"POLYGON_OFFSET_FILL",32824:"POLYGON_OFFSET_FACTOR",32854:"RGBA4",32855:"RGB5_A1",32873:"TEXTURE_BINDING_2D",32926:"SAMPLE_ALPHA_TO_COVERAGE",32928:"SAMPLE_COVERAGE",32936:"SAMPLE_BUFFERS",32937:"SAMPLES",32938:"SAMPLE_COVERAGE_VALUE",32939:"SAMPLE_COVERAGE_INVERT",32968:"BLEND_DST_RGB",32969:"BLEND_SRC_RGB",32970:"BLEND_DST_ALPHA",32971:"BLEND_SRC_ALPHA",33071:"CLAMP_TO_EDGE",33170:"GENERATE_MIPMAP_HINT",33189:"DEPTH_COMPONENT16",33306:"DEPTH_STENCIL_ATTACHMENT",33635:"UNSIGNED_SHORT_5_6_5",33648:"MIRRORED_REPEAT",33901:"ALIASED_POINT_SIZE_RANGE",33902:"ALIASED_LINE_WIDTH_RANGE",33984:"TEXTURE0",33985:"TEXTURE1",33986:"TEXTURE2",33987:"TEXTURE3",33988:"TEXTURE4",33989:"TEXTURE5",33990:"TEXTURE6",33991:"TEXTURE7",33992:"TEXTURE8",33993:"TEXTURE9",33994:"TEXTURE10",33995:"TEXTURE11",33996:"TEXTURE12",33997:"TEXTURE13",33998:"TEXTURE14",33999:"TEXTURE15",34e3:"TEXTURE16",34001:"TEXTURE17",34002:"TEXTURE18",34003:"TEXTURE19",34004:"TEXTURE20",34005:"TEXTURE21",34006:"TEXTURE22",34007:"TEXTURE23",34008:"TEXTURE24",34009:"TEXTURE25",34010:"TEXTURE26",34011:"TEXTURE27",34012:"TEXTURE28",34013:"TEXTURE29",34014:"TEXTURE30",34015:"TEXTURE31",34016:"ACTIVE_TEXTURE",34024:"MAX_RENDERBUFFER_SIZE",34041:"DEPTH_STENCIL",34055:"INCR_WRAP",34056:"DECR_WRAP",34067:"TEXTURE_CUBE_MAP",34068:"TEXTURE_BINDING_CUBE_MAP",34069:"TEXTURE_CUBE_MAP_POSITIVE_X",34070:"TEXTURE_CUBE_MAP_NEGATIVE_X",34071:"TEXTURE_CUBE_MAP_POSITIVE_Y",34072:"TEXTURE_CUBE_MAP_NEGATIVE_Y",34073:"TEXTURE_CUBE_MAP_POSITIVE_Z",34074:"TEXTURE_CUBE_MAP_NEGATIVE_Z",34076:"MAX_CUBE_MAP_TEXTURE_SIZE",34338:"VERTEX_ATTRIB_ARRAY_ENABLED",34339:"VERTEX_ATTRIB_ARRAY_SIZE",34340:"VERTEX_ATTRIB_ARRAY_STRIDE",34341:"VERTEX_ATTRIB_ARRAY_TYPE",34342:"CURRENT_VERTEX_ATTRIB",34373:"VERTEX_ATTRIB_ARRAY_POINTER",34466:"NUM_COMPRESSED_TEXTURE_FORMATS",34467:"COMPRESSED_TEXTURE_FORMATS",34660:"BUFFER_SIZE",34661:"BUFFER_USAGE",34816:"STENCIL_BACK_FUNC",34817:"STENCIL_BACK_FAIL",34818:"STENCIL_BACK_PASS_DEPTH_FAIL",34819:"STENCIL_BACK_PASS_DEPTH_PASS",34877:"BLEND_EQUATION_ALPHA",34921:"MAX_VERTEX_ATTRIBS",34922:"VERTEX_ATTRIB_ARRAY_NORMALIZED",34930:"MAX_TEXTURE_IMAGE_UNITS",34962:"ARRAY_BUFFER",34963:"ELEMENT_ARRAY_BUFFER",34964:"ARRAY_BUFFER_BINDING",34965:"ELEMENT_ARRAY_BUFFER_BINDING",34975:"VERTEX_ATTRIB_ARRAY_BUFFER_BINDING",35040:"STREAM_DRAW",35044:"STATIC_DRAW",35048:"DYNAMIC_DRAW",35632:"FRAGMENT_SHADER",35633:"VERTEX_SHADER",35660:"MAX_VERTEX_TEXTURE_IMAGE_UNITS",35661:"MAX_COMBINED_TEXTURE_IMAGE_UNITS",35663:"SHADER_TYPE",35664:"FLOAT_VEC2",35665:"FLOAT_VEC3",35666:"FLOAT_VEC4",35667:"INT_VEC2",35668:"INT_VEC3",35669:"INT_VEC4",35670:"BOOL",35671:"BOOL_VEC2",35672:"BOOL_VEC3",35673:"BOOL_VEC4",35674:"FLOAT_MAT2",35675:"FLOAT_MAT3",35676:"FLOAT_MAT4",35678:"SAMPLER_2D",35680:"SAMPLER_CUBE",35712:"DELETE_STATUS",35713:"COMPILE_STATUS",35714:"LINK_STATUS",35715:"VALIDATE_STATUS",35716:"INFO_LOG_LENGTH",35717:"ATTACHED_SHADERS",35718:"ACTIVE_UNIFORMS",35719:"ACTIVE_UNIFORM_MAX_LENGTH",35720:"SHADER_SOURCE_LENGTH",35721:"ACTIVE_ATTRIBUTES",35722:"ACTIVE_ATTRIBUTE_MAX_LENGTH",35724:"SHADING_LANGUAGE_VERSION",35725:"CURRENT_PROGRAM",36003:"STENCIL_BACK_REF",36004:"STENCIL_BACK_VALUE_MASK",36005:"STENCIL_BACK_WRITEMASK",36006:"FRAMEBUFFER_BINDING",36007:"RENDERBUFFER_BINDING",36048:"FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE",36049:"FRAMEBUFFER_ATTACHMENT_OBJECT_NAME",36050:"FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL",36051:"FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE",36053:"FRAMEBUFFER_COMPLETE",36054:"FRAMEBUFFER_INCOMPLETE_ATTACHMENT",36055:"FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT",36057:"FRAMEBUFFER_INCOMPLETE_DIMENSIONS",36061:"FRAMEBUFFER_UNSUPPORTED",36064:"COLOR_ATTACHMENT0",36096:"DEPTH_ATTACHMENT",36128:"STENCIL_ATTACHMENT",36160:"FRAMEBUFFER",36161:"RENDERBUFFER",36162:"RENDERBUFFER_WIDTH",36163:"RENDERBUFFER_HEIGHT",36164:"RENDERBUFFER_INTERNAL_FORMAT",36168:"STENCIL_INDEX8",36176:"RENDERBUFFER_RED_SIZE",36177:"RENDERBUFFER_GREEN_SIZE",36178:"RENDERBUFFER_BLUE_SIZE",36179:"RENDERBUFFER_ALPHA_SIZE",36180:"RENDERBUFFER_DEPTH_SIZE",36181:"RENDERBUFFER_STENCIL_SIZE",36194:"RGB565",36336:"LOW_FLOAT",36337:"MEDIUM_FLOAT",36338:"HIGH_FLOAT",36339:"LOW_INT",36340:"MEDIUM_INT",36341:"HIGH_INT",36346:"SHADER_COMPILER",36347:"MAX_VERTEX_UNIFORM_VECTORS",36348:"MAX_VARYING_VECTORS",36349:"MAX_FRAGMENT_UNIFORM_VECTORS",37440:"UNPACK_FLIP_Y_WEBGL",37441:"UNPACK_PREMULTIPLY_ALPHA_WEBGL",37442:"CONTEXT_LOST_WEBGL",37443:"UNPACK_COLORSPACE_CONVERSION_WEBGL",37444:"BROWSER_DEFAULT_WEBGL"}},6603:function(f,l,a){var u=a(1950);f.exports=function(o){return u[o]}},3110:function(f,l,a){f.exports=function(_){var k=_.gl,E=u(k),x=o(k,[{buffer:E,type:k.FLOAT,size:3,offset:0,stride:40},{buffer:E,type:k.FLOAT,size:4,offset:12,stride:40},{buffer:E,type:k.FLOAT,size:3,offset:28,stride:40}]),A=s(k);A.attributes.position.location=0,A.attributes.color.location=1,A.attributes.offset.location=2;var L=new h(k,E,x,A);return L.update(_),L};var u=a(5827),o=a(2944),s=a(7667),c=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function h(_,k,E,x){this.gl=_,this.shader=x,this.buffer=k,this.vao=E,this.pixelRatio=1,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.lineWidth=[1,1,1],this.capSize=[10,10,10],this.lineCount=[0,0,0],this.lineOffset=[0,0,0],this.opacity=1,this.hasAlpha=!1}var m=h.prototype;function w(_,k){for(var E=0;E<3;++E)_[0][E]=Math.min(_[0][E],k[E]),_[1][E]=Math.max(_[1][E],k[E])}m.isOpaque=function(){return!this.hasAlpha},m.isTransparent=function(){return this.hasAlpha},m.drawTransparent=m.draw=function(_){var k=this.gl,E=this.shader.uniforms;this.shader.bind();var x=E.view=_.view||c,A=E.projection=_.projection||c;E.model=_.model||c,E.clipBounds=this.clipBounds,E.opacity=this.opacity;var L=x[12],b=x[13],R=x[14],I=x[15],O=(_._ortho?2:1)*this.pixelRatio*(A[3]*L+A[7]*b+A[11]*R+A[15]*I)/k.drawingBufferHeight;this.vao.bind();for(var z=0;z<3;++z)k.lineWidth(this.lineWidth[z]*this.pixelRatio),E.capSize=this.capSize[z]*O,this.lineCount[z]&&k.drawArrays(k.LINES,this.lineOffset[z],this.lineCount[z]);this.vao.unbind()};var y=function(){for(var _=new Array(3),k=0;k<3;++k){for(var E=[],x=1;x<=2;++x)for(var A=-1;A<=1;A+=2){var L=[0,0,0];L[(x+k)%3]=A,E.push(L)}_[k]=E}return _}();function S(_,k,E,x){for(var A=y[x],L=0;L0&&((F=O.slice())[R]+=B[1][R],A.push(O[0],O[1],O[2],N[0],N[1],N[2],N[3],0,0,0,F[0],F[1],F[2],N[0],N[1],N[2],N[3],0,0,0),w(this.bounds,F),b+=2+S(A,F,N,R)))}this.lineCount[R]=b-this.lineOffset[R]}this.buffer.update(A)}},m.dispose=function(){this.shader.dispose(),this.buffer.dispose(),this.vao.dispose()}},7667:function(f,l,a){var u=a(6832),o=a(5158),s=u([`precision highp float; +}`]);l.meshShader={vertex:o,fragment:s,attributes:[{name:"position",type:"vec4"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"},{name:"vector",type:"vec3"}]},l.pickShader={vertex:h,fragment:c,attributes:[{name:"position",type:"vec4"},{name:"id",type:"vec4"},{name:"vector",type:"vec3"}]}},1950:function(f){f.exports={0:"NONE",1:"ONE",2:"LINE_LOOP",3:"LINE_STRIP",4:"TRIANGLES",5:"TRIANGLE_STRIP",6:"TRIANGLE_FAN",256:"DEPTH_BUFFER_BIT",512:"NEVER",513:"LESS",514:"EQUAL",515:"LEQUAL",516:"GREATER",517:"NOTEQUAL",518:"GEQUAL",519:"ALWAYS",768:"SRC_COLOR",769:"ONE_MINUS_SRC_COLOR",770:"SRC_ALPHA",771:"ONE_MINUS_SRC_ALPHA",772:"DST_ALPHA",773:"ONE_MINUS_DST_ALPHA",774:"DST_COLOR",775:"ONE_MINUS_DST_COLOR",776:"SRC_ALPHA_SATURATE",1024:"STENCIL_BUFFER_BIT",1028:"FRONT",1029:"BACK",1032:"FRONT_AND_BACK",1280:"INVALID_ENUM",1281:"INVALID_VALUE",1282:"INVALID_OPERATION",1285:"OUT_OF_MEMORY",1286:"INVALID_FRAMEBUFFER_OPERATION",2304:"CW",2305:"CCW",2849:"LINE_WIDTH",2884:"CULL_FACE",2885:"CULL_FACE_MODE",2886:"FRONT_FACE",2928:"DEPTH_RANGE",2929:"DEPTH_TEST",2930:"DEPTH_WRITEMASK",2931:"DEPTH_CLEAR_VALUE",2932:"DEPTH_FUNC",2960:"STENCIL_TEST",2961:"STENCIL_CLEAR_VALUE",2962:"STENCIL_FUNC",2963:"STENCIL_VALUE_MASK",2964:"STENCIL_FAIL",2965:"STENCIL_PASS_DEPTH_FAIL",2966:"STENCIL_PASS_DEPTH_PASS",2967:"STENCIL_REF",2968:"STENCIL_WRITEMASK",2978:"VIEWPORT",3024:"DITHER",3042:"BLEND",3088:"SCISSOR_BOX",3089:"SCISSOR_TEST",3106:"COLOR_CLEAR_VALUE",3107:"COLOR_WRITEMASK",3317:"UNPACK_ALIGNMENT",3333:"PACK_ALIGNMENT",3379:"MAX_TEXTURE_SIZE",3386:"MAX_VIEWPORT_DIMS",3408:"SUBPIXEL_BITS",3410:"RED_BITS",3411:"GREEN_BITS",3412:"BLUE_BITS",3413:"ALPHA_BITS",3414:"DEPTH_BITS",3415:"STENCIL_BITS",3553:"TEXTURE_2D",4352:"DONT_CARE",4353:"FASTEST",4354:"NICEST",5120:"BYTE",5121:"UNSIGNED_BYTE",5122:"SHORT",5123:"UNSIGNED_SHORT",5124:"INT",5125:"UNSIGNED_INT",5126:"FLOAT",5386:"INVERT",5890:"TEXTURE",6401:"STENCIL_INDEX",6402:"DEPTH_COMPONENT",6406:"ALPHA",6407:"RGB",6408:"RGBA",6409:"LUMINANCE",6410:"LUMINANCE_ALPHA",7680:"KEEP",7681:"REPLACE",7682:"INCR",7683:"DECR",7936:"VENDOR",7937:"RENDERER",7938:"VERSION",9728:"NEAREST",9729:"LINEAR",9984:"NEAREST_MIPMAP_NEAREST",9985:"LINEAR_MIPMAP_NEAREST",9986:"NEAREST_MIPMAP_LINEAR",9987:"LINEAR_MIPMAP_LINEAR",10240:"TEXTURE_MAG_FILTER",10241:"TEXTURE_MIN_FILTER",10242:"TEXTURE_WRAP_S",10243:"TEXTURE_WRAP_T",10497:"REPEAT",10752:"POLYGON_OFFSET_UNITS",16384:"COLOR_BUFFER_BIT",32769:"CONSTANT_COLOR",32770:"ONE_MINUS_CONSTANT_COLOR",32771:"CONSTANT_ALPHA",32772:"ONE_MINUS_CONSTANT_ALPHA",32773:"BLEND_COLOR",32774:"FUNC_ADD",32777:"BLEND_EQUATION_RGB",32778:"FUNC_SUBTRACT",32779:"FUNC_REVERSE_SUBTRACT",32819:"UNSIGNED_SHORT_4_4_4_4",32820:"UNSIGNED_SHORT_5_5_5_1",32823:"POLYGON_OFFSET_FILL",32824:"POLYGON_OFFSET_FACTOR",32854:"RGBA4",32855:"RGB5_A1",32873:"TEXTURE_BINDING_2D",32926:"SAMPLE_ALPHA_TO_COVERAGE",32928:"SAMPLE_COVERAGE",32936:"SAMPLE_BUFFERS",32937:"SAMPLES",32938:"SAMPLE_COVERAGE_VALUE",32939:"SAMPLE_COVERAGE_INVERT",32968:"BLEND_DST_RGB",32969:"BLEND_SRC_RGB",32970:"BLEND_DST_ALPHA",32971:"BLEND_SRC_ALPHA",33071:"CLAMP_TO_EDGE",33170:"GENERATE_MIPMAP_HINT",33189:"DEPTH_COMPONENT16",33306:"DEPTH_STENCIL_ATTACHMENT",33635:"UNSIGNED_SHORT_5_6_5",33648:"MIRRORED_REPEAT",33901:"ALIASED_POINT_SIZE_RANGE",33902:"ALIASED_LINE_WIDTH_RANGE",33984:"TEXTURE0",33985:"TEXTURE1",33986:"TEXTURE2",33987:"TEXTURE3",33988:"TEXTURE4",33989:"TEXTURE5",33990:"TEXTURE6",33991:"TEXTURE7",33992:"TEXTURE8",33993:"TEXTURE9",33994:"TEXTURE10",33995:"TEXTURE11",33996:"TEXTURE12",33997:"TEXTURE13",33998:"TEXTURE14",33999:"TEXTURE15",34e3:"TEXTURE16",34001:"TEXTURE17",34002:"TEXTURE18",34003:"TEXTURE19",34004:"TEXTURE20",34005:"TEXTURE21",34006:"TEXTURE22",34007:"TEXTURE23",34008:"TEXTURE24",34009:"TEXTURE25",34010:"TEXTURE26",34011:"TEXTURE27",34012:"TEXTURE28",34013:"TEXTURE29",34014:"TEXTURE30",34015:"TEXTURE31",34016:"ACTIVE_TEXTURE",34024:"MAX_RENDERBUFFER_SIZE",34041:"DEPTH_STENCIL",34055:"INCR_WRAP",34056:"DECR_WRAP",34067:"TEXTURE_CUBE_MAP",34068:"TEXTURE_BINDING_CUBE_MAP",34069:"TEXTURE_CUBE_MAP_POSITIVE_X",34070:"TEXTURE_CUBE_MAP_NEGATIVE_X",34071:"TEXTURE_CUBE_MAP_POSITIVE_Y",34072:"TEXTURE_CUBE_MAP_NEGATIVE_Y",34073:"TEXTURE_CUBE_MAP_POSITIVE_Z",34074:"TEXTURE_CUBE_MAP_NEGATIVE_Z",34076:"MAX_CUBE_MAP_TEXTURE_SIZE",34338:"VERTEX_ATTRIB_ARRAY_ENABLED",34339:"VERTEX_ATTRIB_ARRAY_SIZE",34340:"VERTEX_ATTRIB_ARRAY_STRIDE",34341:"VERTEX_ATTRIB_ARRAY_TYPE",34342:"CURRENT_VERTEX_ATTRIB",34373:"VERTEX_ATTRIB_ARRAY_POINTER",34466:"NUM_COMPRESSED_TEXTURE_FORMATS",34467:"COMPRESSED_TEXTURE_FORMATS",34660:"BUFFER_SIZE",34661:"BUFFER_USAGE",34816:"STENCIL_BACK_FUNC",34817:"STENCIL_BACK_FAIL",34818:"STENCIL_BACK_PASS_DEPTH_FAIL",34819:"STENCIL_BACK_PASS_DEPTH_PASS",34877:"BLEND_EQUATION_ALPHA",34921:"MAX_VERTEX_ATTRIBS",34922:"VERTEX_ATTRIB_ARRAY_NORMALIZED",34930:"MAX_TEXTURE_IMAGE_UNITS",34962:"ARRAY_BUFFER",34963:"ELEMENT_ARRAY_BUFFER",34964:"ARRAY_BUFFER_BINDING",34965:"ELEMENT_ARRAY_BUFFER_BINDING",34975:"VERTEX_ATTRIB_ARRAY_BUFFER_BINDING",35040:"STREAM_DRAW",35044:"STATIC_DRAW",35048:"DYNAMIC_DRAW",35632:"FRAGMENT_SHADER",35633:"VERTEX_SHADER",35660:"MAX_VERTEX_TEXTURE_IMAGE_UNITS",35661:"MAX_COMBINED_TEXTURE_IMAGE_UNITS",35663:"SHADER_TYPE",35664:"FLOAT_VEC2",35665:"FLOAT_VEC3",35666:"FLOAT_VEC4",35667:"INT_VEC2",35668:"INT_VEC3",35669:"INT_VEC4",35670:"BOOL",35671:"BOOL_VEC2",35672:"BOOL_VEC3",35673:"BOOL_VEC4",35674:"FLOAT_MAT2",35675:"FLOAT_MAT3",35676:"FLOAT_MAT4",35678:"SAMPLER_2D",35680:"SAMPLER_CUBE",35712:"DELETE_STATUS",35713:"COMPILE_STATUS",35714:"LINK_STATUS",35715:"VALIDATE_STATUS",35716:"INFO_LOG_LENGTH",35717:"ATTACHED_SHADERS",35718:"ACTIVE_UNIFORMS",35719:"ACTIVE_UNIFORM_MAX_LENGTH",35720:"SHADER_SOURCE_LENGTH",35721:"ACTIVE_ATTRIBUTES",35722:"ACTIVE_ATTRIBUTE_MAX_LENGTH",35724:"SHADING_LANGUAGE_VERSION",35725:"CURRENT_PROGRAM",36003:"STENCIL_BACK_REF",36004:"STENCIL_BACK_VALUE_MASK",36005:"STENCIL_BACK_WRITEMASK",36006:"FRAMEBUFFER_BINDING",36007:"RENDERBUFFER_BINDING",36048:"FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE",36049:"FRAMEBUFFER_ATTACHMENT_OBJECT_NAME",36050:"FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL",36051:"FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE",36053:"FRAMEBUFFER_COMPLETE",36054:"FRAMEBUFFER_INCOMPLETE_ATTACHMENT",36055:"FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT",36057:"FRAMEBUFFER_INCOMPLETE_DIMENSIONS",36061:"FRAMEBUFFER_UNSUPPORTED",36064:"COLOR_ATTACHMENT0",36096:"DEPTH_ATTACHMENT",36128:"STENCIL_ATTACHMENT",36160:"FRAMEBUFFER",36161:"RENDERBUFFER",36162:"RENDERBUFFER_WIDTH",36163:"RENDERBUFFER_HEIGHT",36164:"RENDERBUFFER_INTERNAL_FORMAT",36168:"STENCIL_INDEX8",36176:"RENDERBUFFER_RED_SIZE",36177:"RENDERBUFFER_GREEN_SIZE",36178:"RENDERBUFFER_BLUE_SIZE",36179:"RENDERBUFFER_ALPHA_SIZE",36180:"RENDERBUFFER_DEPTH_SIZE",36181:"RENDERBUFFER_STENCIL_SIZE",36194:"RGB565",36336:"LOW_FLOAT",36337:"MEDIUM_FLOAT",36338:"HIGH_FLOAT",36339:"LOW_INT",36340:"MEDIUM_INT",36341:"HIGH_INT",36346:"SHADER_COMPILER",36347:"MAX_VERTEX_UNIFORM_VECTORS",36348:"MAX_VARYING_VECTORS",36349:"MAX_FRAGMENT_UNIFORM_VECTORS",37440:"UNPACK_FLIP_Y_WEBGL",37441:"UNPACK_PREMULTIPLY_ALPHA_WEBGL",37442:"CONTEXT_LOST_WEBGL",37443:"UNPACK_COLORSPACE_CONVERSION_WEBGL",37444:"BROWSER_DEFAULT_WEBGL"}},6603:function(f,l,a){var u=a(1950);f.exports=function(o){return u[o]}},3110:function(f,l,a){f.exports=function(_){var k=_.gl,E=u(k),x=o(k,[{buffer:E,type:k.FLOAT,size:3,offset:0,stride:40},{buffer:E,type:k.FLOAT,size:4,offset:12,stride:40},{buffer:E,type:k.FLOAT,size:3,offset:28,stride:40}]),A=s(k);A.attributes.position.location=0,A.attributes.color.location=1,A.attributes.offset.location=2;var L=new c(k,E,x,A);return L.update(_),L};var u=a(5827),o=a(2944),s=a(7667),h=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function c(_,k,E,x){this.gl=_,this.shader=x,this.buffer=k,this.vao=E,this.pixelRatio=1,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.lineWidth=[1,1,1],this.capSize=[10,10,10],this.lineCount=[0,0,0],this.lineOffset=[0,0,0],this.opacity=1,this.hasAlpha=!1}var m=c.prototype;function w(_,k){for(var E=0;E<3;++E)_[0][E]=Math.min(_[0][E],k[E]),_[1][E]=Math.max(_[1][E],k[E])}m.isOpaque=function(){return!this.hasAlpha},m.isTransparent=function(){return this.hasAlpha},m.drawTransparent=m.draw=function(_){var k=this.gl,E=this.shader.uniforms;this.shader.bind();var x=E.view=_.view||h,A=E.projection=_.projection||h;E.model=_.model||h,E.clipBounds=this.clipBounds,E.opacity=this.opacity;var L=x[12],b=x[13],R=x[14],I=x[15],O=(_._ortho?2:1)*this.pixelRatio*(A[3]*L+A[7]*b+A[11]*R+A[15]*I)/k.drawingBufferHeight;this.vao.bind();for(var z=0;z<3;++z)k.lineWidth(this.lineWidth[z]*this.pixelRatio),E.capSize=this.capSize[z]*O,this.lineCount[z]&&k.drawArrays(k.LINES,this.lineOffset[z],this.lineCount[z]);this.vao.unbind()};var y=function(){for(var _=new Array(3),k=0;k<3;++k){for(var E=[],x=1;x<=2;++x)for(var A=-1;A<=1;A+=2){var L=[0,0,0];L[(x+k)%3]=A,E.push(L)}_[k]=E}return _}();function C(_,k,E,x){for(var A=y[x],L=0;L0&&((F=O.slice())[R]+=B[1][R],A.push(O[0],O[1],O[2],N[0],N[1],N[2],N[3],0,0,0,F[0],F[1],F[2],N[0],N[1],N[2],N[3],0,0,0),w(this.bounds,F),b+=2+C(A,F,N,R)))}this.lineCount[R]=b-this.lineOffset[R]}this.buffer.update(A)}},m.dispose=function(){this.shader.dispose(),this.buffer.dispose(),this.vao.dispose()}},7667:function(f,l,a){var u=a(6832),o=a(5158),s=u([`precision highp float; #define GLSLIFY 1 attribute vec3 position, offset; @@ -749,7 +749,7 @@ void main() { gl_Position = projection * view * worldPosition; fragColor = color; fragPosition = position; -}`]),c=u([`precision highp float; +}`]),h=u([`precision highp float; #define GLSLIFY 1 bool outOfRange(float a, float b, float p) { @@ -784,13 +784,13 @@ void main() { ) discard; gl_FragColor = opacity * fragColor; -}`]);f.exports=function(h){return o(h,s,c,null,[{name:"position",type:"vec3"},{name:"color",type:"vec4"},{name:"offset",type:"vec3"}])}},4234:function(f,l,a){var u=a(8931);f.exports=function(L,b,R,I){o||(o=L.FRAMEBUFFER_UNSUPPORTED,s=L.FRAMEBUFFER_INCOMPLETE_ATTACHMENT,c=L.FRAMEBUFFER_INCOMPLETE_DIMENSIONS,h=L.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT);var O=L.getExtension("WEBGL_draw_buffers");if(!m&&O&&function($,U){var G=$.getParameter(U.MAX_COLOR_ATTACHMENTS_WEBGL);m=new Array(G+1);for(var q=0;q<=G;++q){for(var H=new Array(G),ne=0;nez||R<0||R>z)throw new Error("gl-fbo: Parameters are too large for FBO");var F=1;if("color"in(I=I||{})){if((F=Math.max(0|I.color,0))<0)throw new Error("gl-fbo: Must specify a nonnegative number of colors");if(F>1){if(!O)throw new Error("gl-fbo: Multiple draw buffer extension not supported");if(F>L.getParameter(O.MAX_COLOR_ATTACHMENTS_WEBGL))throw new Error("gl-fbo: Context does not support "+F+" draw buffers")}}var B=L.UNSIGNED_BYTE,N=L.getExtension("OES_texture_float");if(I.float&&F>0){if(!N)throw new Error("gl-fbo: Context does not support floating point textures");B=L.FLOAT}else I.preferFloat&&F>0&&N&&(B=L.FLOAT);var W=!0;"depth"in I&&(W=!!I.depth);var j=!1;return"stencil"in I&&(j=!!I.stencil),new E(L,b,R,B,F,W,j,O)};var o,s,c,h,m=null;function w(L){return[L.getParameter(L.FRAMEBUFFER_BINDING),L.getParameter(L.RENDERBUFFER_BINDING),L.getParameter(L.TEXTURE_BINDING_2D)]}function y(L,b){L.bindFramebuffer(L.FRAMEBUFFER,b[0]),L.bindRenderbuffer(L.RENDERBUFFER,b[1]),L.bindTexture(L.TEXTURE_2D,b[2])}function S(L){switch(L){case o:throw new Error("gl-fbo: Framebuffer unsupported");case s:throw new Error("gl-fbo: Framebuffer incomplete attachment");case c:throw new Error("gl-fbo: Framebuffer incomplete dimensions");case h:throw new Error("gl-fbo: Framebuffer incomplete missing attachment");default:throw new Error("gl-fbo: Framebuffer failed for unspecified reason")}}function _(L,b,R,I,O,z){if(!I)return null;var F=u(L,b,R,O,I);return F.magFilter=L.NEAREST,F.minFilter=L.NEAREST,F.mipSamples=1,F.bind(),L.framebufferTexture2D(L.FRAMEBUFFER,z,L.TEXTURE_2D,F.handle,0),F}function k(L,b,R,I,O){var z=L.createRenderbuffer();return L.bindRenderbuffer(L.RENDERBUFFER,z),L.renderbufferStorage(L.RENDERBUFFER,I,b,R),L.framebufferRenderbuffer(L.FRAMEBUFFER,O,L.RENDERBUFFER,z),z}function E(L,b,R,I,O,z,F,B){this.gl=L,this._shape=[0|b,0|R],this._destroyed=!1,this._ext=B,this.color=new Array(O);for(var N=0;N1&&Z.drawBuffersWEBGL(m[te]);var oe=G.getExtension("WEBGL_depth_texture");oe?X?$.depth=_(G,H,ne,oe.UNSIGNED_INT_24_8_WEBGL,G.DEPTH_STENCIL,G.DEPTH_STENCIL_ATTACHMENT):Q&&($.depth=_(G,H,ne,G.UNSIGNED_SHORT,G.DEPTH_COMPONENT,G.DEPTH_ATTACHMENT)):Q&&X?$._depth_rb=k(G,H,ne,G.DEPTH_STENCIL,G.DEPTH_STENCIL_ATTACHMENT):Q?$._depth_rb=k(G,H,ne,G.DEPTH_COMPONENT16,G.DEPTH_ATTACHMENT):X&&($._depth_rb=k(G,H,ne,G.STENCIL_INDEX,G.STENCIL_ATTACHMENT));var ue=G.checkFramebufferStatus(G.FRAMEBUFFER);if(ue!==G.FRAMEBUFFER_COMPLETE){for($._destroyed=!0,G.bindFramebuffer(G.FRAMEBUFFER,null),G.deleteFramebuffer($.handle),$.handle=null,$.depth&&($.depth.dispose(),$.depth=null),$._depth_rb&&(G.deleteRenderbuffer($._depth_rb),$._depth_rb=null),ie=0;ie<$.color.length;++ie)$.color[ie].dispose(),$.color[ie]=null;$._color_rb&&(G.deleteRenderbuffer($._color_rb),$._color_rb=null),y(G,U),S(ue)}y(G,U)}(this)}var x=E.prototype;function A(L,b,R){if(L._destroyed)throw new Error("gl-fbo: Can't resize destroyed FBO");if(L._shape[0]!==b||L._shape[1]!==R){var I=L.gl,O=I.getParameter(I.MAX_RENDERBUFFER_SIZE);if(b<0||b>O||R<0||R>O)throw new Error("gl-fbo: Can't resize FBO, invalid dimensions");L._shape[0]=b,L._shape[1]=R;for(var z=w(I),F=0;Fz||R<0||R>z)throw new Error("gl-fbo: Parameters are too large for FBO");var F=1;if("color"in(I=I||{})){if((F=Math.max(0|I.color,0))<0)throw new Error("gl-fbo: Must specify a nonnegative number of colors");if(F>1){if(!O)throw new Error("gl-fbo: Multiple draw buffer extension not supported");if(F>L.getParameter(O.MAX_COLOR_ATTACHMENTS_WEBGL))throw new Error("gl-fbo: Context does not support "+F+" draw buffers")}}var B=L.UNSIGNED_BYTE,N=L.getExtension("OES_texture_float");if(I.float&&F>0){if(!N)throw new Error("gl-fbo: Context does not support floating point textures");B=L.FLOAT}else I.preferFloat&&F>0&&N&&(B=L.FLOAT);var W=!0;"depth"in I&&(W=!!I.depth);var j=!1;return"stencil"in I&&(j=!!I.stencil),new E(L,b,R,B,F,W,j,O)};var o,s,h,c,m=null;function w(L){return[L.getParameter(L.FRAMEBUFFER_BINDING),L.getParameter(L.RENDERBUFFER_BINDING),L.getParameter(L.TEXTURE_BINDING_2D)]}function y(L,b){L.bindFramebuffer(L.FRAMEBUFFER,b[0]),L.bindRenderbuffer(L.RENDERBUFFER,b[1]),L.bindTexture(L.TEXTURE_2D,b[2])}function C(L){switch(L){case o:throw new Error("gl-fbo: Framebuffer unsupported");case s:throw new Error("gl-fbo: Framebuffer incomplete attachment");case h:throw new Error("gl-fbo: Framebuffer incomplete dimensions");case c:throw new Error("gl-fbo: Framebuffer incomplete missing attachment");default:throw new Error("gl-fbo: Framebuffer failed for unspecified reason")}}function _(L,b,R,I,O,z){if(!I)return null;var F=u(L,b,R,O,I);return F.magFilter=L.NEAREST,F.minFilter=L.NEAREST,F.mipSamples=1,F.bind(),L.framebufferTexture2D(L.FRAMEBUFFER,z,L.TEXTURE_2D,F.handle,0),F}function k(L,b,R,I,O){var z=L.createRenderbuffer();return L.bindRenderbuffer(L.RENDERBUFFER,z),L.renderbufferStorage(L.RENDERBUFFER,I,b,R),L.framebufferRenderbuffer(L.FRAMEBUFFER,O,L.RENDERBUFFER,z),z}function E(L,b,R,I,O,z,F,B){this.gl=L,this._shape=[0|b,0|R],this._destroyed=!1,this._ext=B,this.color=new Array(O);for(var N=0;N1&&Z.drawBuffersWEBGL(m[te]);var oe=G.getExtension("WEBGL_depth_texture");oe?X?$.depth=_(G,H,ne,oe.UNSIGNED_INT_24_8_WEBGL,G.DEPTH_STENCIL,G.DEPTH_STENCIL_ATTACHMENT):Q&&($.depth=_(G,H,ne,G.UNSIGNED_SHORT,G.DEPTH_COMPONENT,G.DEPTH_ATTACHMENT)):Q&&X?$._depth_rb=k(G,H,ne,G.DEPTH_STENCIL,G.DEPTH_STENCIL_ATTACHMENT):Q?$._depth_rb=k(G,H,ne,G.DEPTH_COMPONENT16,G.DEPTH_ATTACHMENT):X&&($._depth_rb=k(G,H,ne,G.STENCIL_INDEX,G.STENCIL_ATTACHMENT));var ue=G.checkFramebufferStatus(G.FRAMEBUFFER);if(ue!==G.FRAMEBUFFER_COMPLETE){for($._destroyed=!0,G.bindFramebuffer(G.FRAMEBUFFER,null),G.deleteFramebuffer($.handle),$.handle=null,$.depth&&($.depth.dispose(),$.depth=null),$._depth_rb&&(G.deleteRenderbuffer($._depth_rb),$._depth_rb=null),ie=0;ie<$.color.length;++ie)$.color[ie].dispose(),$.color[ie]=null;$._color_rb&&(G.deleteRenderbuffer($._color_rb),$._color_rb=null),y(G,U),C(ue)}y(G,U)}(this)}var x=E.prototype;function A(L,b,R){if(L._destroyed)throw new Error("gl-fbo: Can't resize destroyed FBO");if(L._shape[0]!==b||L._shape[1]!==R){var I=L.gl,O=I.getParameter(I.MAX_RENDERBUFFER_SIZE);if(b<0||b>O||R<0||R>O)throw new Error("gl-fbo: Can't resize FBO, invalid dimensions");L._shape[0]=b,L._shape[1]=R;for(var z=w(I),F=0;F>8*W&255;this.pickOffset=x,L.bind();var j=L.uniforms;j.viewTransform=k,j.pickOffset=E,j.shape=this.shape;var $=L.attributes;return this.positionBuffer.bind(),$.position.pointer(),this.weightBuffer.bind(),$.weight.pointer(I.UNSIGNED_BYTE,!1),this.idBuffer.bind(),$.pickId.pointer(I.UNSIGNED_BYTE,!1),I.drawArrays(I.TRIANGLES,0,R),x+this.shape[0]*this.shape[1]}}}(),S.pick=function(k,E,x){var A=this.pickOffset,L=this.shape[0]*this.shape[1];if(x=A+L)return null;var b=x-A,R=this.xData,I=this.yData;return{object:this,pointId:b,dataCoord:[R[b%this.shape[0]],I[b/this.shape[0]|0]]}},S.update=function(k){var E=(k=k||{}).shape||[0,0],x=k.x||o(E[0]),A=k.y||o(E[1]),L=k.z||new Float32Array(E[0]*E[1]),b=k.zsmooth!==!1;this.xData=x,this.yData=A;var R,I,O,z,F=k.colorLevels||[0],B=k.colorValues||[0,0,0,1],N=F.length,W=this.bounds;b?(R=W[0]=x[0],I=W[1]=A[0],O=W[2]=x[x.length-1],z=W[3]=A[A.length-1]):(R=W[0]=x[0]+(x[1]-x[0])/2,I=W[1]=A[0]+(A[1]-A[0])/2,O=W[2]=x[x.length-1]+(x[x.length-1]-x[x.length-2])/2,z=W[3]=A[A.length-1]+(A[A.length-1]-A[A.length-2])/2);var j=1/(O-R),$=1/(z-I),U=E[0],G=E[1];this.shape=[U,G];var q=(b?(U-1)*(G-1):U*G)*(_.length>>>1);this.numVertices=q;for(var H=s.mallocUint8(4*q),ne=s.mallocFloat32(2*q),te=s.mallocUint8(2*q),Z=s.mallocUint32(q),X=0,Q=b?U-1:U,re=b?G-1:G,ie=0;ie>8*W&255;this.pickOffset=x,L.bind();var j=L.uniforms;j.viewTransform=k,j.pickOffset=E,j.shape=this.shape;var $=L.attributes;return this.positionBuffer.bind(),$.position.pointer(),this.weightBuffer.bind(),$.weight.pointer(I.UNSIGNED_BYTE,!1),this.idBuffer.bind(),$.pickId.pointer(I.UNSIGNED_BYTE,!1),I.drawArrays(I.TRIANGLES,0,R),x+this.shape[0]*this.shape[1]}}}(),C.pick=function(k,E,x){var A=this.pickOffset,L=this.shape[0]*this.shape[1];if(x=A+L)return null;var b=x-A,R=this.xData,I=this.yData;return{object:this,pointId:b,dataCoord:[R[b%this.shape[0]],I[b/this.shape[0]|0]]}},C.update=function(k){var E=(k=k||{}).shape||[0,0],x=k.x||o(E[0]),A=k.y||o(E[1]),L=k.z||new Float32Array(E[0]*E[1]),b=k.zsmooth!==!1;this.xData=x,this.yData=A;var R,I,O,z,F=k.colorLevels||[0],B=k.colorValues||[0,0,0,1],N=F.length,W=this.bounds;b?(R=W[0]=x[0],I=W[1]=A[0],O=W[2]=x[x.length-1],z=W[3]=A[A.length-1]):(R=W[0]=x[0]+(x[1]-x[0])/2,I=W[1]=A[0]+(A[1]-A[0])/2,O=W[2]=x[x.length-1]+(x[x.length-1]-x[x.length-2])/2,z=W[3]=A[A.length-1]+(A[A.length-1]-A[A.length-2])/2);var j=1/(O-R),$=1/(z-I),U=E[0],G=E[1];this.shape=[U,G];var q=(b?(U-1)*(G-1):U*G)*(_.length>>>1);this.numVertices=q;for(var H=s.mallocUint8(4*q),ne=s.mallocFloat32(2*q),te=s.mallocUint8(2*q),Z=s.mallocUint32(q),X=0,Q=b?U-1:U,re=b?G-1:G,ie=0;ie0){for(var re=0;re<24;++re)F.push(F[F.length-12]);j+=2,H=!0}continue e}$[0][O]=Math.min($[0][O],X[O],Q[O]),$[1][O]=Math.max($[1][O],X[O],Q[O])}Array.isArray(G[0])?(ne=G.length>I-1?G[I-1]:G.length>0?G[G.length-1]:[0,0,0,1],te=G.length>I?G[I]:G.length>0?G[G.length-1]:[0,0,0,1]):ne=te=G,ne.length===3&&(ne=[ne[0],ne[1],ne[2],1]),te.length===3&&(te=[te[0],te[1],te[2],1]),!this.hasAlpha&&ne[3]<1&&(this.hasAlpha=!0),Z=Array.isArray(q)?q.length>I-1?q[I-1]:q.length>0?q[q.length-1]:[0,0,0,1]:q;var ie=W;if(W+=E(X,Q),H){for(O=0;O<2;++O)F.push(X[0],X[1],X[2],Q[0],Q[1],Q[2],ie,Z,ne[0],ne[1],ne[2],ne[3]);j+=2,H=!1}F.push(X[0],X[1],X[2],Q[0],Q[1],Q[2],ie,Z,ne[0],ne[1],ne[2],ne[3],X[0],X[1],X[2],Q[0],Q[1],Q[2],ie,-Z,ne[0],ne[1],ne[2],ne[3],Q[0],Q[1],Q[2],X[0],X[1],X[2],W,-Z,te[0],te[1],te[2],te[3],Q[0],Q[1],Q[2],X[0],X[1],X[2],W,Z,te[0],te[1],te[2],te[3]),j+=4}}if(this.buffer.update(F),B.push(W),N.push(U[U.length-1].slice()),this.bounds=$,this.vertexCount=j,this.points=N,this.arcLength=B,"dashes"in R){var oe=R.dashes.slice();for(oe.unshift(0),I=1;I1.0001)return null;O+=I[x]}return Math.abs(O-1)>.001?null:[A,h(m,I),I]}},2056:function(f,l,a){var u=a(6832),o=u([`precision highp float; +}`]),m=[{name:"position",type:"vec3"},{name:"nextPosition",type:"vec3"},{name:"arcLength",type:"float"},{name:"lineWidth",type:"float"},{name:"color",type:"vec4"}];l.createShader=function(w){return o(w,s,h,null,m)},l.createPickShader=function(w){return o(w,s,c,null,m)}},6086:function(f,l,a){f.exports=function(R){var I=R.gl||R.scene&&R.scene.gl,O=C(I);O.attributes.position.location=0,O.attributes.nextPosition.location=1,O.attributes.arcLength.location=2,O.attributes.lineWidth.location=3,O.attributes.color.location=4;var z=_(I);z.attributes.position.location=0,z.attributes.nextPosition.location=1,z.attributes.arcLength.location=2,z.attributes.lineWidth.location=3,z.attributes.color.location=4;for(var F=u(I),B=o(I,[{buffer:F,size:3,offset:0,stride:48},{buffer:F,size:3,offset:12,stride:48},{buffer:F,size:1,offset:24,stride:48},{buffer:F,size:1,offset:28,stride:48},{buffer:F,size:4,offset:32,stride:48}]),N=w(new Array(1024),[256,1,4]),W=0;W<1024;++W)N.data[W]=255;var j=s(I,N);j.wrap=I.REPEAT;var $=new L(I,O,z,F,B,j);return $.update(R),$};var u=a(5827),o=a(2944),s=a(8931),h=new Uint8Array(4),c=new Float32Array(h.buffer),m=a(5070),w=a(5050),y=a(248),C=y.createShader,_=y.createPickShader,k=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function E(R,I){for(var O=0,z=0;z<3;++z){var F=R[z]-I[z];O+=F*F}return Math.sqrt(O)}function x(R){for(var I=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],O=0;O<3;++O)I[0][O]=Math.max(R[0][O],I[0][O]),I[1][O]=Math.min(R[1][O],I[1][O]);return I}function A(R,I,O,z){this.arcLength=R,this.position=I,this.index=O,this.dataCoordinate=z}function L(R,I,O,z,F,B){this.gl=R,this.shader=I,this.pickShader=O,this.buffer=z,this.vao=F,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.points=[],this.arcLength=[],this.vertexCount=0,this.bounds=[[0,0,0],[0,0,0]],this.pickId=0,this.lineWidth=1,this.texture=B,this.dashScale=1,this.opacity=1,this.hasAlpha=!1,this.dirty=!0,this.pixelRatio=1}var b=L.prototype;b.isTransparent=function(){return this.hasAlpha},b.isOpaque=function(){return!this.hasAlpha},b.pickSlots=1,b.setPickBase=function(R){this.pickId=R},b.drawTransparent=b.draw=function(R){if(this.vertexCount){var I=this.gl,O=this.shader,z=this.vao;O.bind(),O.uniforms={model:R.model||k,view:R.view||k,projection:R.projection||k,clipBounds:x(this.clipBounds),dashTexture:this.texture.bind(),dashScale:this.dashScale/this.arcLength[this.arcLength.length-1],opacity:this.opacity,screenShape:[I.drawingBufferWidth,I.drawingBufferHeight],pixelRatio:this.pixelRatio},z.bind(),z.draw(I.TRIANGLE_STRIP,this.vertexCount),z.unbind()}},b.drawPick=function(R){if(this.vertexCount){var I=this.gl,O=this.pickShader,z=this.vao;O.bind(),O.uniforms={model:R.model||k,view:R.view||k,projection:R.projection||k,pickId:this.pickId,clipBounds:x(this.clipBounds),screenShape:[I.drawingBufferWidth,I.drawingBufferHeight],pixelRatio:this.pixelRatio},z.bind(),z.draw(I.TRIANGLE_STRIP,this.vertexCount),z.unbind()}},b.update=function(R){var I,O;this.dirty=!0;var z=!!R.connectGaps;"dashScale"in R&&(this.dashScale=R.dashScale),this.hasAlpha=!1,"opacity"in R&&(this.opacity=+R.opacity,this.opacity<1&&(this.hasAlpha=!0));var F=[],B=[],N=[],W=0,j=0,$=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],U=R.position||R.positions;if(U){var G=R.color||R.colors||[0,0,0,1],q=R.lineWidth||1,H=!1;e:for(I=1;I0){for(var re=0;re<24;++re)F.push(F[F.length-12]);j+=2,H=!0}continue e}$[0][O]=Math.min($[0][O],X[O],Q[O]),$[1][O]=Math.max($[1][O],X[O],Q[O])}Array.isArray(G[0])?(ne=G.length>I-1?G[I-1]:G.length>0?G[G.length-1]:[0,0,0,1],te=G.length>I?G[I]:G.length>0?G[G.length-1]:[0,0,0,1]):ne=te=G,ne.length===3&&(ne=[ne[0],ne[1],ne[2],1]),te.length===3&&(te=[te[0],te[1],te[2],1]),!this.hasAlpha&&ne[3]<1&&(this.hasAlpha=!0),Z=Array.isArray(q)?q.length>I-1?q[I-1]:q.length>0?q[q.length-1]:[0,0,0,1]:q;var ie=W;if(W+=E(X,Q),H){for(O=0;O<2;++O)F.push(X[0],X[1],X[2],Q[0],Q[1],Q[2],ie,Z,ne[0],ne[1],ne[2],ne[3]);j+=2,H=!1}F.push(X[0],X[1],X[2],Q[0],Q[1],Q[2],ie,Z,ne[0],ne[1],ne[2],ne[3],X[0],X[1],X[2],Q[0],Q[1],Q[2],ie,-Z,ne[0],ne[1],ne[2],ne[3],Q[0],Q[1],Q[2],X[0],X[1],X[2],W,-Z,te[0],te[1],te[2],te[3],Q[0],Q[1],Q[2],X[0],X[1],X[2],W,Z,te[0],te[1],te[2],te[3]),j+=4}}if(this.buffer.update(F),B.push(W),N.push(U[U.length-1].slice()),this.bounds=$,this.vertexCount=j,this.points=N,this.arcLength=B,"dashes"in R){var oe=R.dashes.slice();for(oe.unshift(0),I=1;I1.0001)return null;O+=I[x]}return Math.abs(O-1)>.001?null:[A,c(m,I),I]}},2056:function(f,l,a){var u=a(6832),o=u([`precision highp float; #define GLSLIFY 1 attribute vec3 position, normal; @@ -1165,7 +1165,7 @@ void main() { gl_FragColor = litColor * f_color.a; } -`]),c=u([`precision highp float; +`]),h=u([`precision highp float; #define GLSLIFY 1 attribute vec3 position; @@ -1183,7 +1183,7 @@ void main() { f_color = color; f_data = position; f_uv = uv; -}`]),h=u([`precision highp float; +}`]),c=u([`precision highp float; #define GLSLIFY 1 bool outOfRange(float a, float b, float p) { @@ -1292,7 +1292,7 @@ void main() { gl_Position = projection * view * model * vec4(position, 1.0); f_id = id; f_position = position; -}`]),S=u([`precision highp float; +}`]),C=u([`precision highp float; #define GLSLIFY 1 bool outOfRange(float a, float b, float p) { @@ -1385,7 +1385,7 @@ uniform vec3 contourColor; void main() { gl_FragColor = vec4(contourColor, 1.0); } -`]);l.meshShader={vertex:o,fragment:s,attributes:[{name:"position",type:"vec3"},{name:"normal",type:"vec3"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"}]},l.wireShader={vertex:c,fragment:h,attributes:[{name:"position",type:"vec3"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"}]},l.pointShader={vertex:m,fragment:w,attributes:[{name:"position",type:"vec3"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"},{name:"pointSize",type:"float"}]},l.pickShader={vertex:y,fragment:S,attributes:[{name:"position",type:"vec3"},{name:"id",type:"vec4"}]},l.pointPickShader={vertex:_,fragment:S,attributes:[{name:"position",type:"vec3"},{name:"pointSize",type:"float"},{name:"id",type:"vec4"}]},l.contourShader={vertex:k,fragment:E,attributes:[{name:"position",type:"vec3"}]}},8116:function(f,l,a){var u=a(5158),o=a(5827),s=a(2944),c=a(8931),h=a(115),m=a(104),w=a(7437),y=a(5050),S=a(9156),_=a(7212),k=a(5306),E=a(2056),x=a(4340),A=E.meshShader,L=E.wireShader,b=E.pointShader,R=E.pickShader,I=E.pointPickShader,O=E.contourShader,z=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function F(H,ne,te,Z,X,Q,re,ie,oe,ue,ce,ye,de,me,pe,xe,Pe,_e,Me,Se,Ce,ae,fe,be,ke,Le,Be){this.gl=H,this.pixelRatio=1,this.cells=[],this.positions=[],this.intensity=[],this.texture=ne,this.dirty=!0,this.triShader=te,this.lineShader=Z,this.pointShader=X,this.pickShader=Q,this.pointPickShader=re,this.contourShader=ie,this.trianglePositions=oe,this.triangleColors=ce,this.triangleNormals=de,this.triangleUVs=ye,this.triangleIds=ue,this.triangleVAO=me,this.triangleCount=0,this.lineWidth=1,this.edgePositions=pe,this.edgeColors=Pe,this.edgeUVs=_e,this.edgeIds=xe,this.edgeVAO=Me,this.edgeCount=0,this.pointPositions=Se,this.pointColors=ae,this.pointUVs=fe,this.pointSizes=be,this.pointIds=Ce,this.pointVAO=ke,this.pointCount=0,this.contourLineWidth=1,this.contourPositions=Le,this.contourVAO=Be,this.contourCount=0,this.contourColor=[0,0,0],this.contourEnable=!0,this.pickVertex=!0,this.pickId=1,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.lightPosition=[1e5,1e5,0],this.ambientLight=.8,this.diffuseLight=.8,this.specularLight=2,this.roughness=.5,this.fresnel=1.5,this.opacity=1,this.hasAlpha=!1,this.opacityscale=!1,this._model=z,this._view=z,this._projection=z,this._resolution=[1,1]}var B=F.prototype;function N(H,ne){if(!ne||!ne.length)return 1;for(var te=0;teH&&te>0){var Z=(ne[te][0]-H)/(ne[te][0]-ne[te-1][0]);return ne[te][1]*(1-Z)+Z*ne[te-1][1]}}return 1}function W(H){var ne=u(H,A.vertex,A.fragment);return ne.attributes.position.location=0,ne.attributes.color.location=2,ne.attributes.uv.location=3,ne.attributes.normal.location=4,ne}function j(H){var ne=u(H,L.vertex,L.fragment);return ne.attributes.position.location=0,ne.attributes.color.location=2,ne.attributes.uv.location=3,ne}function $(H){var ne=u(H,b.vertex,b.fragment);return ne.attributes.position.location=0,ne.attributes.color.location=2,ne.attributes.uv.location=3,ne.attributes.pointSize.location=4,ne}function U(H){var ne=u(H,R.vertex,R.fragment);return ne.attributes.position.location=0,ne.attributes.id.location=1,ne}function G(H){var ne=u(H,I.vertex,I.fragment);return ne.attributes.position.location=0,ne.attributes.id.location=1,ne.attributes.pointSize.location=4,ne}function q(H){var ne=u(H,O.vertex,O.fragment);return ne.attributes.position.location=0,ne}B.isOpaque=function(){return!this.hasAlpha},B.isTransparent=function(){return this.hasAlpha},B.pickSlots=1,B.setPickBase=function(H){this.pickId=H},B.highlight=function(H){if(H&&this.contourEnable){for(var ne=_(this.cells,this.intensity,H.intensity),te=ne.cells,Z=ne.vertexIds,X=ne.vertexWeights,Q=te.length,re=k.mallocFloat32(6*Q),ie=0,oe=0;oe0&&((ue=this.triShader).bind(),ue.uniforms=ie,this.triangleVAO.bind(),ne.drawArrays(ne.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind()),this.edgeCount>0&&this.lineWidth>0&&((ue=this.lineShader).bind(),ue.uniforms=ie,this.edgeVAO.bind(),ne.lineWidth(this.lineWidth*this.pixelRatio),ne.drawArrays(ne.LINES,0,2*this.edgeCount),this.edgeVAO.unbind()),this.pointCount>0&&((ue=this.pointShader).bind(),ue.uniforms=ie,this.pointVAO.bind(),ne.drawArrays(ne.POINTS,0,this.pointCount),this.pointVAO.unbind()),this.contourEnable&&this.contourCount>0&&this.contourLineWidth>0&&((ue=this.contourShader).bind(),ue.uniforms=ie,this.contourVAO.bind(),ne.drawArrays(ne.LINES,0,this.contourCount),this.contourVAO.unbind())},B.drawPick=function(H){H=H||{};for(var ne=this.gl,te=H.model||z,Z=H.view||z,X=H.projection||z,Q=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],re=0;re<3;++re)Q[0][re]=Math.max(Q[0][re],this.clipBounds[0][re]),Q[1][re]=Math.min(Q[1][re],this.clipBounds[1][re]);this._model=[].slice.call(te),this._view=[].slice.call(Z),this._projection=[].slice.call(X),this._resolution=[ne.drawingBufferWidth,ne.drawingBufferHeight];var ie,oe={model:te,view:Z,projection:X,clipBounds:Q,pickId:this.pickId/255};(ie=this.pickShader).bind(),ie.uniforms=oe,this.triangleCount>0&&(this.triangleVAO.bind(),ne.drawArrays(ne.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind()),this.edgeCount>0&&(this.edgeVAO.bind(),ne.lineWidth(this.lineWidth*this.pixelRatio),ne.drawArrays(ne.LINES,0,2*this.edgeCount),this.edgeVAO.unbind()),this.pointCount>0&&((ie=this.pointPickShader).bind(),ie.uniforms=oe,this.pointVAO.bind(),ne.drawArrays(ne.POINTS,0,this.pointCount),this.pointVAO.unbind())},B.pick=function(H){if(!H||H.id!==this.pickId)return null;for(var ne=H.value[0]+256*H.value[1]+65536*H.value[2],te=this.cells[ne],Z=this.positions,X=new Array(te.length),Q=0;QH&&te>0){var Z=(ne[te][0]-H)/(ne[te][0]-ne[te-1][0]);return ne[te][1]*(1-Z)+Z*ne[te-1][1]}}return 1}function W(H){var ne=u(H,A.vertex,A.fragment);return ne.attributes.position.location=0,ne.attributes.color.location=2,ne.attributes.uv.location=3,ne.attributes.normal.location=4,ne}function j(H){var ne=u(H,L.vertex,L.fragment);return ne.attributes.position.location=0,ne.attributes.color.location=2,ne.attributes.uv.location=3,ne}function $(H){var ne=u(H,b.vertex,b.fragment);return ne.attributes.position.location=0,ne.attributes.color.location=2,ne.attributes.uv.location=3,ne.attributes.pointSize.location=4,ne}function U(H){var ne=u(H,R.vertex,R.fragment);return ne.attributes.position.location=0,ne.attributes.id.location=1,ne}function G(H){var ne=u(H,I.vertex,I.fragment);return ne.attributes.position.location=0,ne.attributes.id.location=1,ne.attributes.pointSize.location=4,ne}function q(H){var ne=u(H,O.vertex,O.fragment);return ne.attributes.position.location=0,ne}B.isOpaque=function(){return!this.hasAlpha},B.isTransparent=function(){return this.hasAlpha},B.pickSlots=1,B.setPickBase=function(H){this.pickId=H},B.highlight=function(H){if(H&&this.contourEnable){for(var ne=_(this.cells,this.intensity,H.intensity),te=ne.cells,Z=ne.vertexIds,X=ne.vertexWeights,Q=te.length,re=k.mallocFloat32(6*Q),ie=0,oe=0;oe0&&((ue=this.triShader).bind(),ue.uniforms=ie,this.triangleVAO.bind(),ne.drawArrays(ne.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind()),this.edgeCount>0&&this.lineWidth>0&&((ue=this.lineShader).bind(),ue.uniforms=ie,this.edgeVAO.bind(),ne.lineWidth(this.lineWidth*this.pixelRatio),ne.drawArrays(ne.LINES,0,2*this.edgeCount),this.edgeVAO.unbind()),this.pointCount>0&&((ue=this.pointShader).bind(),ue.uniforms=ie,this.pointVAO.bind(),ne.drawArrays(ne.POINTS,0,this.pointCount),this.pointVAO.unbind()),this.contourEnable&&this.contourCount>0&&this.contourLineWidth>0&&((ue=this.contourShader).bind(),ue.uniforms=ie,this.contourVAO.bind(),ne.drawArrays(ne.LINES,0,this.contourCount),this.contourVAO.unbind())},B.drawPick=function(H){H=H||{};for(var ne=this.gl,te=H.model||z,Z=H.view||z,X=H.projection||z,Q=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],re=0;re<3;++re)Q[0][re]=Math.max(Q[0][re],this.clipBounds[0][re]),Q[1][re]=Math.min(Q[1][re],this.clipBounds[1][re]);this._model=[].slice.call(te),this._view=[].slice.call(Z),this._projection=[].slice.call(X),this._resolution=[ne.drawingBufferWidth,ne.drawingBufferHeight];var ie,oe={model:te,view:Z,projection:X,clipBounds:Q,pickId:this.pickId/255};(ie=this.pickShader).bind(),ie.uniforms=oe,this.triangleCount>0&&(this.triangleVAO.bind(),ne.drawArrays(ne.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind()),this.edgeCount>0&&(this.edgeVAO.bind(),ne.lineWidth(this.lineWidth*this.pixelRatio),ne.drawArrays(ne.LINES,0,2*this.edgeCount),this.edgeVAO.unbind()),this.pointCount>0&&((ie=this.pointPickShader).bind(),ie.uniforms=oe,this.pointVAO.bind(),ne.drawArrays(ne.POINTS,0,this.pointCount),this.pointVAO.unbind())},B.pick=function(H){if(!H||H.id!==this.pickId)return null;for(var ne=H.value[0]+256*H.value[1]+65536*H.value[2],te=this.cells[ne],Z=this.positions,X=new Array(te.length),Q=0;QI[X]&&(b.uniforms.dataAxis=w,b.uniforms.screenOffset=y,b.uniforms.color=$[A],b.uniforms.angle=U[A],O.drawArrays(O.TRIANGLES,I[X],I[Q]-I[X]))),G[A]&&Z&&(y[1^A]-=re*N*q[A],b.uniforms.dataAxis=S,b.uniforms.screenOffset=y,b.uniforms.color=H[A],b.uniforms.angle=ne[A],O.drawArrays(O.TRIANGLES,te,Z)),y[1^A]=re*z[2+(1^A)]-1,W[A+2]&&(y[1^A]+=re*N*j[A+2],XI[X]&&(b.uniforms.dataAxis=w,b.uniforms.screenOffset=y,b.uniforms.color=$[A+2],b.uniforms.angle=U[A+2],O.drawArrays(O.TRIANGLES,I[X],I[Q]-I[X]))),G[A+2]&&Z&&(y[1^A]+=re*N*q[A+2],b.uniforms.dataAxis=S,b.uniforms.screenOffset=y,b.uniforms.color=H[A+2],b.uniforms.angle=ne[A+2],O.drawArrays(O.TRIANGLES,te,Z))}),x.drawTitle=function(){var A=[0,0],L=[0,0];return function(){var b=this.plot,R=this.shader,I=b.gl,O=b.screenBox,z=b.titleCenter,F=b.titleAngle,B=b.titleColor,N=b.pixelRatio;if(this.titleCount){for(var W=0;W<2;++W)L[W]=2*(z[W]*N-O[W])/(O[2+W]-O[W])-1;R.bind(),R.uniforms.dataAxis=A,R.uniforms.screenOffset=L,R.uniforms.angle=F,R.uniforms.color=B,I.drawArrays(I.TRIANGLES,this.titleOffset,this.titleCount)}}}(),x.bind=(_=[0,0],k=[0,0],E=[0,0],function(){var A=this.plot,L=this.shader,b=A._tickBounds,R=A.dataBox,I=A.screenBox,O=A.viewBox;L.bind();for(var z=0;z<2;++z){var F=b[z],B=b[z+2]-F,N=.5*(R[z+2]+R[z]),W=R[z+2]-R[z],j=O[z],$=O[z+2]-j,U=I[z],G=I[z+2]-U;k[z]=2*B/W*$/G,_[z]=2*(F-N)/W*$/G}E[1]=2*A.pixelRatio/(I[3]-I[1]),E[0]=E[1]*(I[3]-I[1])/(I[2]-I[0]),L.uniforms.dataScale=k,L.uniforms.dataShift=_,L.uniforms.textScale=E,this.vbo.bind(),L.attributes.textCoordinate.pointer()}),x.update=function(A){var L,b,R,I,O,z=[],F=A.ticks,B=A.bounds;for(O=0;O<2;++O){var N=[Math.floor(z.length/3)],W=[-1/0],j=F[O];for(L=0;L=0){var j=k[W]-x[W]*(k[W+2]-k[W])/(x[W+2]-x[W]);W===0?b.drawLine(j,k[1],j,k[3],N[W],B[W]):b.drawLine(k[0],j,k[2],j,N[W],B[W])}}for(W=0;W=0;--_)this.objects[_].dispose();for(this.objects.length=0,_=this.overlays.length-1;_>=0;--_)this.overlays[_].dispose();this.overlays.length=0,this.gl=null},w.addObject=function(_){this.objects.indexOf(_)<0&&(this.objects.push(_),this.setDirty())},w.removeObject=function(_){for(var k=this.objects,E=0;EMath.abs(I))_.rotate(F,0,0,-R*O*Math.PI*L.rotateSpeed/window.innerWidth);else if(!L._ortho){var B=-L.zoomSpeed*z*I/window.innerHeight*(F-_.lastT())/20;_.pan(F,0,0,E*(Math.exp(B)-1))}}},!0)},L.enableMouseListeners(),L};var u=a(8161),o=a(1152),s=a(6145),c=a(6475),h=a(2565),m=a(5233)},8245:function(f,l,a){var u=a(6832),o=a(5158),s=u([`precision mediump float; +`])}},5613:function(f,l,a){f.exports=function(A){var L=A.gl;return new m(A,u(L),o(L,c.textVert,c.textFrag))};var u=a(5827),o=a(5158),s=a(6946),h=a(5070),c=a(2709);function m(A,L,b){this.plot=A,this.vbo=L,this.shader=b,this.tickOffset=[[],[]],this.tickX=[[],[]],this.labelOffset=[0,0],this.labelCount=[0,0]}var w,y,C,_,k,E,x=m.prototype;x.drawTicks=(w=[0,0],y=[0,0],C=[0,0],function(A){var L=this.plot,b=this.shader,R=this.tickX[A],I=this.tickOffset[A],O=L.gl,z=L.viewBox,F=L.dataBox,B=L.screenBox,N=L.pixelRatio,W=L.tickEnable,j=L.tickPad,$=L.tickColor,U=L.tickAngle,G=L.labelEnable,q=L.labelPad,H=L.labelColor,ne=L.labelAngle,te=this.labelOffset[A],Z=this.labelCount[A],X=h.lt(R,F[A]),Q=h.le(R,F[A+2]);w[0]=w[1]=0,w[A]=1,y[A]=(z[2+A]+z[A])/(B[2+A]-B[A])-1;var re=2/B[2+(1^A)]-B[1^A];y[1^A]=re*z[1^A]-1,W[A]&&(y[1^A]-=re*N*j[A],XI[X]&&(b.uniforms.dataAxis=w,b.uniforms.screenOffset=y,b.uniforms.color=$[A],b.uniforms.angle=U[A],O.drawArrays(O.TRIANGLES,I[X],I[Q]-I[X]))),G[A]&&Z&&(y[1^A]-=re*N*q[A],b.uniforms.dataAxis=C,b.uniforms.screenOffset=y,b.uniforms.color=H[A],b.uniforms.angle=ne[A],O.drawArrays(O.TRIANGLES,te,Z)),y[1^A]=re*z[2+(1^A)]-1,W[A+2]&&(y[1^A]+=re*N*j[A+2],XI[X]&&(b.uniforms.dataAxis=w,b.uniforms.screenOffset=y,b.uniforms.color=$[A+2],b.uniforms.angle=U[A+2],O.drawArrays(O.TRIANGLES,I[X],I[Q]-I[X]))),G[A+2]&&Z&&(y[1^A]+=re*N*q[A+2],b.uniforms.dataAxis=C,b.uniforms.screenOffset=y,b.uniforms.color=H[A+2],b.uniforms.angle=ne[A+2],O.drawArrays(O.TRIANGLES,te,Z))}),x.drawTitle=function(){var A=[0,0],L=[0,0];return function(){var b=this.plot,R=this.shader,I=b.gl,O=b.screenBox,z=b.titleCenter,F=b.titleAngle,B=b.titleColor,N=b.pixelRatio;if(this.titleCount){for(var W=0;W<2;++W)L[W]=2*(z[W]*N-O[W])/(O[2+W]-O[W])-1;R.bind(),R.uniforms.dataAxis=A,R.uniforms.screenOffset=L,R.uniforms.angle=F,R.uniforms.color=B,I.drawArrays(I.TRIANGLES,this.titleOffset,this.titleCount)}}}(),x.bind=(_=[0,0],k=[0,0],E=[0,0],function(){var A=this.plot,L=this.shader,b=A._tickBounds,R=A.dataBox,I=A.screenBox,O=A.viewBox;L.bind();for(var z=0;z<2;++z){var F=b[z],B=b[z+2]-F,N=.5*(R[z+2]+R[z]),W=R[z+2]-R[z],j=O[z],$=O[z+2]-j,U=I[z],G=I[z+2]-U;k[z]=2*B/W*$/G,_[z]=2*(F-N)/W*$/G}E[1]=2*A.pixelRatio/(I[3]-I[1]),E[0]=E[1]*(I[3]-I[1])/(I[2]-I[0]),L.uniforms.dataScale=k,L.uniforms.dataShift=_,L.uniforms.textScale=E,this.vbo.bind(),L.attributes.textCoordinate.pointer()}),x.update=function(A){var L,b,R,I,O,z=[],F=A.ticks,B=A.bounds;for(O=0;O<2;++O){var N=[Math.floor(z.length/3)],W=[-1/0],j=F[O];for(L=0;L=0){var j=k[W]-x[W]*(k[W+2]-k[W])/(x[W+2]-x[W]);W===0?b.drawLine(j,k[1],j,k[3],N[W],B[W]):b.drawLine(k[0],j,k[2],j,N[W],B[W])}}for(W=0;W=0;--_)this.objects[_].dispose();for(this.objects.length=0,_=this.overlays.length-1;_>=0;--_)this.overlays[_].dispose();this.overlays.length=0,this.gl=null},w.addObject=function(_){this.objects.indexOf(_)<0&&(this.objects.push(_),this.setDirty())},w.removeObject=function(_){for(var k=this.objects,E=0;EMath.abs(I))_.rotate(F,0,0,-R*O*Math.PI*L.rotateSpeed/window.innerWidth);else if(!L._ortho){var B=-L.zoomSpeed*z*I/window.innerHeight*(F-_.lastT())/20;_.pan(F,0,0,E*(Math.exp(B)-1))}}},!0)},L.enableMouseListeners(),L};var u=a(8161),o=a(1152),s=a(6145),h=a(6475),c=a(2565),m=a(5233)},8245:function(f,l,a){var u=a(6832),o=a(5158),s=u([`precision mediump float; #define GLSLIFY 1 attribute vec2 position; varying vec2 uv; void main() { uv = position; gl_Position = vec4(position, 0, 1); -}`]),c=u([`precision mediump float; +}`]),h=u([`precision mediump float; #define GLSLIFY 1 uniform sampler2D accumBuffer; @@ -1483,7 +1483,7 @@ varying vec2 uv; void main() { vec4 accum = texture2D(accumBuffer, 0.5 * (uv + 1.0)); gl_FragColor = min(vec4(1,1,1,1), accum); -}`]);f.exports=function(h){return o(h,s,c,null,[{name:"position",type:"vec2"}])}},1059:function(f,l,a){var u=a(4296),o=a(7453),s=a(2771),c=a(6496),h=a(2611),m=a(4234),w=a(8126),y=a(6145),S=a(1120),_=a(5268),k=a(8245),E=a(2321)({tablet:!0,featureDetect:!0});function x(){this.mouse=[-1,-1],this.screen=null,this.distance=1/0,this.index=null,this.dataCoordinate=null,this.dataPosition=null,this.object=null,this.data=null}function A(b){var R=Math.round(Math.log(Math.abs(b))/Math.log(10));if(R<0){var I=Math.round(Math.pow(10,-R));return Math.ceil(b*I)/I}return R>0?(I=Math.round(Math.pow(10,R)),Math.ceil(b/I)*I):Math.ceil(b)}function L(b){return typeof b!="boolean"||b}f.exports={createScene:function(b){(b=b||{}).camera=b.camera||{};var R=b.canvas;R||(R=document.createElement("canvas"),b.container?b.container.appendChild(R):document.body.appendChild(R));var I=b.gl;if(I||(b.glOptions&&(E=!!b.glOptions.preserveDrawingBuffer),I=function(Pe,_e){var Me=null;try{(Me=Pe.getContext("webgl",_e))||(Me=Pe.getContext("experimental-webgl",_e))}catch{return null}return Me}(R,b.glOptions||{premultipliedAlpha:!0,antialias:!0,preserveDrawingBuffer:E})),!I)throw new Error("webgl not supported");var O=b.bounds||[[-10,-10,-10],[10,10,10]],z=new x,F=m(I,I.drawingBufferWidth,I.drawingBufferHeight,{preferFloat:!E}),B=k(I),N=b.cameraObject&&b.cameraObject._ortho===!0||b.camera.projection&&b.camera.projection.type==="orthographic"||!1,W={eye:b.camera.eye||[2,0,0],center:b.camera.center||[0,0,0],up:b.camera.up||[0,1,0],zoomMin:b.camera.zoomMax||.1,zoomMax:b.camera.zoomMin||100,mode:b.camera.mode||"turntable",_ortho:N},j=b.axes||{},$=o(I,j);$.enable=!j.disable;var U=b.spikes||{},G=c(I,U),q=[],H=[],ne=[],te=[],Z=!0,X=!0,Q={view:null,projection:new Array(16),model:new Array(16),_ortho:!1},re=(X=!0,[I.drawingBufferWidth,I.drawingBufferHeight]),ie=b.cameraObject||u(R,W),oe={gl:I,contextLost:!1,pixelRatio:b.pixelRatio||1,canvas:R,selection:z,camera:ie,axes:$,axesPixels:null,spikes:G,bounds:O,objects:q,shape:re,aspect:b.aspectRatio||[1,1,1],pickRadius:b.pickRadius||10,zNear:b.zNear||.01,zFar:b.zFar||1e3,fovy:b.fovy||Math.PI/4,clearColor:b.clearColor||[0,0,0,0],autoResize:L(b.autoResize),autoBounds:L(b.autoBounds),autoScale:!!b.autoScale,autoCenter:L(b.autoCenter),clipToBounds:L(b.clipToBounds),snapToData:!!b.snapToData,onselect:b.onselect||null,onrender:b.onrender||null,onclick:b.onclick||null,cameraParams:Q,oncontextloss:null,mouseListener:null,_stopped:!1,getAspectratio:function(){return{x:this.aspect[0],y:this.aspect[1],z:this.aspect[2]}},setAspectratio:function(Pe){this.aspect[0]=Pe.x,this.aspect[1]=Pe.y,this.aspect[2]=Pe.z,X=!0},setBounds:function(Pe,_e){this.bounds[0][Pe]=_e.min,this.bounds[1][Pe]=_e.max},setClearColor:function(Pe){this.clearColor=Pe},clearRGBA:function(){this.gl.clearColor(this.clearColor[0],this.clearColor[1],this.clearColor[2],this.clearColor[3]),this.gl.clear(this.gl.COLOR_BUFFER_BIT|this.gl.DEPTH_BUFFER_BIT)}},ue=[I.drawingBufferWidth/oe.pixelRatio|0,I.drawingBufferHeight/oe.pixelRatio|0];function ce(){if(!oe._stopped&&oe.autoResize){var Pe=R.parentNode,_e=1,Me=1;Pe&&Pe!==document.body?(_e=Pe.clientWidth,Me=Pe.clientHeight):(_e=window.innerWidth,Me=window.innerHeight);var Se=0|Math.ceil(_e*oe.pixelRatio),Ce=0|Math.ceil(Me*oe.pixelRatio);if(Se!==R.width||Ce!==R.height){R.width=Se,R.height=Ce;var ae=R.style;ae.position=ae.position||"absolute",ae.left="0px",ae.top="0px",ae.width=_e+"px",ae.height=Me+"px",Z=!0}}}function ye(){for(var Pe=q.length,_e=te.length,Me=0;Me<_e;++Me)ne[Me]=0;e:for(Me=0;Me0&&ne[_e-1]===0;)ne.pop(),te.pop().dispose()}function de(){if(oe.contextLost)return!0;I.isContextLost()&&(oe.contextLost=!0,oe.mouseListener.enabled=!1,oe.selection.object=null,oe.oncontextloss&&oe.oncontextloss())}oe.autoResize&&ce(),window.addEventListener("resize",ce),oe.update=function(Pe){oe._stopped||(Z=!0,X=!0)},oe.add=function(Pe){oe._stopped||(Pe.axes=$,q.push(Pe),H.push(-1),Z=!0,X=!0,ye())},oe.remove=function(Pe){if(!oe._stopped){var _e=q.indexOf(Pe);_e<0||(q.splice(_e,1),H.pop(),Z=!0,X=!0,ye())}},oe.dispose=function(){if(!oe._stopped&&(oe._stopped=!0,window.removeEventListener("resize",ce),R.removeEventListener("webglcontextlost",de),oe.mouseListener.enabled=!1,!oe.contextLost)){$.dispose(),G.dispose();for(var Pe=0;Pez.distance)continue;for(var Le=0;Le0?(I=Math.round(Math.pow(10,R)),Math.ceil(b/I)*I):Math.ceil(b)}function L(b){return typeof b!="boolean"||b}f.exports={createScene:function(b){(b=b||{}).camera=b.camera||{};var R=b.canvas;R||(R=document.createElement("canvas"),b.container?b.container.appendChild(R):document.body.appendChild(R));var I=b.gl;if(I||(b.glOptions&&(E=!!b.glOptions.preserveDrawingBuffer),I=function(Pe,_e){var Me=null;try{(Me=Pe.getContext("webgl",_e))||(Me=Pe.getContext("experimental-webgl",_e))}catch{return null}return Me}(R,b.glOptions||{premultipliedAlpha:!0,antialias:!0,preserveDrawingBuffer:E})),!I)throw new Error("webgl not supported");var O=b.bounds||[[-10,-10,-10],[10,10,10]],z=new x,F=m(I,I.drawingBufferWidth,I.drawingBufferHeight,{preferFloat:!E}),B=k(I),N=b.cameraObject&&b.cameraObject._ortho===!0||b.camera.projection&&b.camera.projection.type==="orthographic"||!1,W={eye:b.camera.eye||[2,0,0],center:b.camera.center||[0,0,0],up:b.camera.up||[0,1,0],zoomMin:b.camera.zoomMax||.1,zoomMax:b.camera.zoomMin||100,mode:b.camera.mode||"turntable",_ortho:N},j=b.axes||{},$=o(I,j);$.enable=!j.disable;var U=b.spikes||{},G=h(I,U),q=[],H=[],ne=[],te=[],Z=!0,X=!0,Q={view:null,projection:new Array(16),model:new Array(16),_ortho:!1},re=(X=!0,[I.drawingBufferWidth,I.drawingBufferHeight]),ie=b.cameraObject||u(R,W),oe={gl:I,contextLost:!1,pixelRatio:b.pixelRatio||1,canvas:R,selection:z,camera:ie,axes:$,axesPixels:null,spikes:G,bounds:O,objects:q,shape:re,aspect:b.aspectRatio||[1,1,1],pickRadius:b.pickRadius||10,zNear:b.zNear||.01,zFar:b.zFar||1e3,fovy:b.fovy||Math.PI/4,clearColor:b.clearColor||[0,0,0,0],autoResize:L(b.autoResize),autoBounds:L(b.autoBounds),autoScale:!!b.autoScale,autoCenter:L(b.autoCenter),clipToBounds:L(b.clipToBounds),snapToData:!!b.snapToData,onselect:b.onselect||null,onrender:b.onrender||null,onclick:b.onclick||null,cameraParams:Q,oncontextloss:null,mouseListener:null,_stopped:!1,getAspectratio:function(){return{x:this.aspect[0],y:this.aspect[1],z:this.aspect[2]}},setAspectratio:function(Pe){this.aspect[0]=Pe.x,this.aspect[1]=Pe.y,this.aspect[2]=Pe.z,X=!0},setBounds:function(Pe,_e){this.bounds[0][Pe]=_e.min,this.bounds[1][Pe]=_e.max},setClearColor:function(Pe){this.clearColor=Pe},clearRGBA:function(){this.gl.clearColor(this.clearColor[0],this.clearColor[1],this.clearColor[2],this.clearColor[3]),this.gl.clear(this.gl.COLOR_BUFFER_BIT|this.gl.DEPTH_BUFFER_BIT)}},ue=[I.drawingBufferWidth/oe.pixelRatio|0,I.drawingBufferHeight/oe.pixelRatio|0];function ce(){if(!oe._stopped&&oe.autoResize){var Pe=R.parentNode,_e=1,Me=1;Pe&&Pe!==document.body?(_e=Pe.clientWidth,Me=Pe.clientHeight):(_e=window.innerWidth,Me=window.innerHeight);var Se=0|Math.ceil(_e*oe.pixelRatio),Ce=0|Math.ceil(Me*oe.pixelRatio);if(Se!==R.width||Ce!==R.height){R.width=Se,R.height=Ce;var ae=R.style;ae.position=ae.position||"absolute",ae.left="0px",ae.top="0px",ae.width=_e+"px",ae.height=Me+"px",Z=!0}}}function ye(){for(var Pe=q.length,_e=te.length,Me=0;Me<_e;++Me)ne[Me]=0;e:for(Me=0;Me0&&ne[_e-1]===0;)ne.pop(),te.pop().dispose()}function de(){if(oe.contextLost)return!0;I.isContextLost()&&(oe.contextLost=!0,oe.mouseListener.enabled=!1,oe.selection.object=null,oe.oncontextloss&&oe.oncontextloss())}oe.autoResize&&ce(),window.addEventListener("resize",ce),oe.update=function(Pe){oe._stopped||(Z=!0,X=!0)},oe.add=function(Pe){oe._stopped||(Pe.axes=$,q.push(Pe),H.push(-1),Z=!0,X=!0,ye())},oe.remove=function(Pe){if(!oe._stopped){var _e=q.indexOf(Pe);_e<0||(q.splice(_e,1),H.pop(),Z=!0,X=!0,ye())}},oe.dispose=function(){if(!oe._stopped&&(oe._stopped=!0,window.removeEventListener("resize",ce),R.removeEventListener("webglcontextlost",de),oe.mouseListener.enabled=!1,!oe.contextLost)){$.dispose(),G.dispose();for(var Pe=0;Pez.distance)continue;for(var Le=0;Le>>1,x=S.positions instanceof Float32Array,A=S.idToIndex instanceof Int32Array&&S.idToIndex.length>=E,L=S.positions,b=x?L:s.mallocFloat32(L.length),R=A?S.idToIndex:s.mallocInt32(E);if(x||b.set(L),!A)for(b.set(L),_=0;_>>1;for(B=0;B=F[0]&&j<=F[2]&&$>=F[1]&&$<=F[3]&&N++}return N}(this.points,x),R=this.plot.pickPixelRatio*Math.max(Math.min(this.sizeMinCap,this.sizeMin),Math.min(this.sizeMax,this.sizeMax/Math.pow(b,.33333)));m[0]=2/A,m[4]=2/L,m[6]=-2*x[0]/A-1,m[7]=-2*x[1]/L-1,this.offsetBuffer.bind(),k.bind(),k.attributes.position.pointer(),k.uniforms.matrix=m,k.uniforms.color=this.color,k.uniforms.borderColor=this.borderColor,k.uniforms.pointCloud=R<5,k.uniforms.pointSize=R,k.uniforms.centerFraction=Math.min(1,Math.max(0,Math.sqrt(1-this.areaRatio))),_&&(w[0]=255&S,w[1]=S>>8&255,w[2]=S>>16&255,w[3]=S>>24&255,this.pickBuffer.bind(),k.attributes.pickId.pointer(E.UNSIGNED_BYTE),k.uniforms.pickOffset=w,this.pickOffset=S);var I=E.getParameter(E.BLEND),O=E.getParameter(E.DITHER);return I&&!this.blend&&E.disable(E.BLEND),O&&E.disable(E.DITHER),E.drawArrays(E.POINTS,0,this.pointCount),I&&!this.blend&&E.enable(E.BLEND),O&&E.enable(E.DITHER),S+this.pointCount}),y.draw=y.unifiedDraw,y.drawPick=y.unifiedDraw,y.pick=function(S,_,k){var E=this.pickOffset,x=this.pointCount;if(k=E+x)return null;var A=k-E,L=this.points;return{object:this,pointId:A,dataCoord:[L[2*A],L[2*A+1]]}}},6093:function(f){f.exports=function(l,a,u,o){var s,c,h,m,w,y=a[0],S=a[1],_=a[2],k=a[3],E=u[0],x=u[1],A=u[2],L=u[3];return(c=y*E+S*x+_*A+k*L)<0&&(c=-c,E=-E,x=-x,A=-A,L=-L),1-c>1e-6?(s=Math.acos(c),h=Math.sin(s),m=Math.sin((1-o)*s)/h,w=Math.sin(o*s)/h):(m=1-o,w=o),l[0]=m*y+w*E,l[1]=m*S+w*x,l[2]=m*_+w*A,l[3]=m*k+w*L,l}},8240:function(f){f.exports=function(l){return l||l===0?l.toString():""}},4123:function(f,l,a){var u=a(875);f.exports=function(s,c,h){var m=o[c];if(m||(m=o[c]={}),s in m)return m[s];var w={textAlign:"center",textBaseline:"middle",lineHeight:1,font:c,lineSpacing:1.25,styletags:{breaklines:!0,bolds:!0,italics:!0,subscripts:!0,superscripts:!0},triangles:!0},y=u(s,w);w.triangles=!1;var S,_,k=u(s,w);if(h&&h!==1){for(S=0;S>>1,x=C.positions instanceof Float32Array,A=C.idToIndex instanceof Int32Array&&C.idToIndex.length>=E,L=C.positions,b=x?L:s.mallocFloat32(L.length),R=A?C.idToIndex:s.mallocInt32(E);if(x||b.set(L),!A)for(b.set(L),_=0;_>>1;for(B=0;B=F[0]&&j<=F[2]&&$>=F[1]&&$<=F[3]&&N++}return N}(this.points,x),R=this.plot.pickPixelRatio*Math.max(Math.min(this.sizeMinCap,this.sizeMin),Math.min(this.sizeMax,this.sizeMax/Math.pow(b,.33333)));m[0]=2/A,m[4]=2/L,m[6]=-2*x[0]/A-1,m[7]=-2*x[1]/L-1,this.offsetBuffer.bind(),k.bind(),k.attributes.position.pointer(),k.uniforms.matrix=m,k.uniforms.color=this.color,k.uniforms.borderColor=this.borderColor,k.uniforms.pointCloud=R<5,k.uniforms.pointSize=R,k.uniforms.centerFraction=Math.min(1,Math.max(0,Math.sqrt(1-this.areaRatio))),_&&(w[0]=255&C,w[1]=C>>8&255,w[2]=C>>16&255,w[3]=C>>24&255,this.pickBuffer.bind(),k.attributes.pickId.pointer(E.UNSIGNED_BYTE),k.uniforms.pickOffset=w,this.pickOffset=C);var I=E.getParameter(E.BLEND),O=E.getParameter(E.DITHER);return I&&!this.blend&&E.disable(E.BLEND),O&&E.disable(E.DITHER),E.drawArrays(E.POINTS,0,this.pointCount),I&&!this.blend&&E.enable(E.BLEND),O&&E.enable(E.DITHER),C+this.pointCount}),y.draw=y.unifiedDraw,y.drawPick=y.unifiedDraw,y.pick=function(C,_,k){var E=this.pickOffset,x=this.pointCount;if(k=E+x)return null;var A=k-E,L=this.points;return{object:this,pointId:A,dataCoord:[L[2*A],L[2*A+1]]}}},6093:function(f){f.exports=function(l,a,u,o){var s,h,c,m,w,y=a[0],C=a[1],_=a[2],k=a[3],E=u[0],x=u[1],A=u[2],L=u[3];return(h=y*E+C*x+_*A+k*L)<0&&(h=-h,E=-E,x=-x,A=-A,L=-L),1-h>1e-6?(s=Math.acos(h),c=Math.sin(s),m=Math.sin((1-o)*s)/c,w=Math.sin(o*s)/c):(m=1-o,w=o),l[0]=m*y+w*E,l[1]=m*C+w*x,l[2]=m*_+w*A,l[3]=m*k+w*L,l}},8240:function(f){f.exports=function(l){return l||l===0?l.toString():""}},4123:function(f,l,a){var u=a(875);f.exports=function(s,h,c){var m=o[h];if(m||(m=o[h]={}),s in m)return m[s];var w={textAlign:"center",textBaseline:"middle",lineHeight:1,font:h,lineSpacing:1.25,styletags:{breaklines:!0,bolds:!0,italics:!0,subscripts:!0,superscripts:!0},triangles:!0},y=u(s,w);w.triangles=!1;var C,_,k=u(s,w);if(c&&c!==1){for(C=0;C1?1:H}function A(H,ne,te,Z,X,Q,re,ie,oe,ue,ce,ye){this.gl=H,this.pixelRatio=1,this.shader=ne,this.orthoShader=te,this.projectShader=Z,this.pointBuffer=X,this.colorBuffer=Q,this.glyphBuffer=re,this.idBuffer=ie,this.vao=oe,this.vertexCount=0,this.lineVertexCount=0,this.opacity=1,this.hasAlpha=!1,this.lineWidth=0,this.projectScale=[.6666666666666666,.6666666666666666,.6666666666666666],this.projectOpacity=[1,1,1],this.projectHasAlpha=!1,this.pickId=0,this.pickPerspectiveShader=ue,this.pickOrthoShader=ce,this.pickProjectShader=ye,this.points=[],this._selectResult=new E(0,[0,0,0]),this.useOrtho=!0,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.axesProject=[!0,!0,!0],this.axesBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.highlightId=[1,1,1,1],this.highlightScale=2,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.dirty=!0}f.exports=function(H){var ne=H.gl,te=m.createPerspective(ne),Z=m.createOrtho(ne),X=m.createProject(ne),Q=m.createPickPerspective(ne),re=m.createPickOrtho(ne),ie=m.createPickProject(ne),oe=o(ne),ue=o(ne),ce=o(ne),ye=o(ne),de=new A(ne,te,Z,X,oe,ue,ce,ye,s(ne,[{buffer:oe,size:3,type:ne.FLOAT},{buffer:ue,size:4,type:ne.FLOAT},{buffer:ce,size:2,type:ne.FLOAT},{buffer:ye,size:4,type:ne.UNSIGNED_BYTE,normalized:!0}]),Q,re,ie);return de.update(H),de};var L=A.prototype;L.pickSlots=1,L.setPickBase=function(H){this.pickId=H},L.isTransparent=function(){if(this.hasAlpha)return!0;for(var H=0;H<3;++H)if(this.axesProject[H]&&this.projectHasAlpha)return!0;return!1},L.isOpaque=function(){if(!this.hasAlpha)return!0;for(var H=0;H<3;++H)if(this.axesProject[H]&&!this.projectHasAlpha)return!0;return!1};var b=[0,0],R=[0,0,0],I=[0,0,0],O=[0,0,0,1],z=[0,0,0,1],F=S.slice(),B=[0,0,0],N=[[0,0,0],[0,0,0]];function W(H){return H[0]=H[1]=H[2]=0,H}function j(H,ne){return H[0]=ne[0],H[1]=ne[1],H[2]=ne[2],H[3]=1,H}function $(H,ne,te,Z){return H[0]=ne[0],H[1]=ne[1],H[2]=ne[2],H[te]=Z,H}var U=[[-1e8,-1e8,-1e8],[1e8,1e8,1e8]];function G(H,ne,te,Z,X,Q,re){var ie=te.gl;if((Q===te.projectHasAlpha||re)&&function(ue,ce,ye,de){var me,pe=ce.axesProject,xe=ce.gl,Pe=ue.uniforms,_e=ye.model||S,Me=ye.view||S,Se=ye.projection||S,Ce=ce.axesBounds,ae=function(st){for(var ot=N,ht=0;ht<2;++ht)for(var bt=0;bt<3;++bt)ot[ht][bt]=Math.max(Math.min(st[ht][bt],1e8),-1e8);return ot}(ce.clipBounds);me=ce.axes&&ce.axes.lastCubeProps?ce.axes.lastCubeProps.axis:[1,1,1],b[0]=2/xe.drawingBufferWidth,b[1]=2/xe.drawingBufferHeight,ue.bind(),Pe.view=Me,Pe.projection=Se,Pe.screenSize=b,Pe.highlightId=ce.highlightId,Pe.highlightScale=ce.highlightScale,Pe.clipBounds=ae,Pe.pickGroup=ce.pickId/255,Pe.pixelRatio=de;for(var fe=0;fe<3;++fe)if(pe[fe]){Pe.scale=ce.projectScale[fe],Pe.opacity=ce.projectOpacity[fe];for(var be=F,ke=0;ke<16;++ke)be[ke]=0;for(ke=0;ke<4;++ke)be[5*ke]=1;be[5*fe]=0,me[fe]<0?be[12+fe]=Ce[0][fe]:be[12+fe]=Ce[1][fe],h(be,_e,be),Pe.model=be;var Le=(fe+1)%3,Be=(fe+2)%3,ze=W(R),je=W(I);ze[Le]=1,je[Be]=1;var ge=k(0,0,0,j(O,ze)),we=k(0,0,0,j(z,je));if(Math.abs(ge[1])>Math.abs(we[1])){var Ee=ge;ge=we,we=Ee,Ee=ze,ze=je,je=Ee;var Ve=Le;Le=Be,Be=Ve}ge[0]<0&&(ze[Le]=-1),we[1]>0&&(je[Be]=-1);var $e=0,Ye=0;for(ke=0;ke<4;++ke)$e+=Math.pow(_e[4*Le+ke],2),Ye+=Math.pow(_e[4*Be+ke],2);ze[Le]/=Math.sqrt($e),je[Be]/=Math.sqrt(Ye),Pe.axes[0]=ze,Pe.axes[1]=je,Pe.fragClipBounds[0]=$(B,ae[0],fe,-1e8),Pe.fragClipBounds[1]=$(B,ae[1],fe,1e8),ce.vao.bind(),ce.vao.draw(xe.TRIANGLES,ce.vertexCount),ce.lineWidth>0&&(xe.lineWidth(ce.lineWidth*de),ce.vao.draw(xe.LINES,ce.lineVertexCount,ce.vertexCount)),ce.vao.unbind()}}(ne,te,Z,X),Q===te.hasAlpha||re){H.bind();var oe=H.uniforms;oe.model=Z.model||S,oe.view=Z.view||S,oe.projection=Z.projection||S,b[0]=2/ie.drawingBufferWidth,b[1]=2/ie.drawingBufferHeight,oe.screenSize=b,oe.highlightId=te.highlightId,oe.highlightScale=te.highlightScale,oe.fragClipBounds=U,oe.clipBounds=te.axes.bounds,oe.opacity=te.opacity,oe.pickGroup=te.pickId/255,oe.pixelRatio=X,te.vao.bind(),te.vao.draw(ie.TRIANGLES,te.vertexCount),te.lineWidth>0&&(ie.lineWidth(te.lineWidth*X),te.vao.draw(ie.LINES,te.lineVertexCount,te.vertexCount)),te.vao.unbind()}}function q(H,ne,te,Z){var X;X=Array.isArray(H)?ne=this.pointCount||ne<0)return null;var te=this.points[ne],Z=this._selectResult;Z.index=ne;for(var X=0;X<3;++X)Z.position[X]=Z.dataCoordinate[X]=te[X];return Z},L.highlight=function(H){if(H){var ne=H.index,te=255&ne,Z=ne>>8&255,X=ne>>16&255;this.highlightId=[te/255,Z/255,X/255,0]}else this.highlightId=[1,1,1,1]},L.update=function(H){if("perspective"in(H=H||{})&&(this.useOrtho=!H.perspective),"orthographic"in H&&(this.useOrtho=!!H.orthographic),"lineWidth"in H&&(this.lineWidth=H.lineWidth),"project"in H)if(Array.isArray(H.project))this.axesProject=H.project;else{var ne=!!H.project;this.axesProject=[ne,ne,ne]}if("projectScale"in H)if(Array.isArray(H.projectScale))this.projectScale=H.projectScale.slice();else{var te=+H.projectScale;this.projectScale=[te,te,te]}if(this.projectHasAlpha=!1,"projectOpacity"in H){Array.isArray(H.projectOpacity)?this.projectOpacity=H.projectOpacity.slice():(te=+H.projectOpacity,this.projectOpacity=[te,te,te]);for(var Z=0;Z<3;++Z)this.projectOpacity[Z]=x(this.projectOpacity[Z]),this.projectOpacity[Z]<1&&(this.projectHasAlpha=!0)}this.hasAlpha=!1,"opacity"in H&&(this.opacity=x(H.opacity),this.opacity<1&&(this.hasAlpha=!0)),this.dirty=!0;var X,Q,re=H.position,ie=H.font||"normal",oe=H.alignment||[0,0];if(oe.length===2)X=oe[0],Q=oe[1];else for(X=[],Q=[],Z=0;Z0){var we=0,Ee=_e,Ve=[0,0,0,1],$e=[0,0,0,1],Ye=Array.isArray(de)&&Array.isArray(de[0]),st=Array.isArray(xe)&&Array.isArray(xe[0]);e:for(Z=0;Z0?1-ke[0][0]:Ot<0?1+ke[1][0]:1,Bt*=Bt>0?1-ke[0][1]:Bt<0?1+ke[1][1]:1],Vt=fe.cells||[],Ke=fe.positions||[];for(ae=0;ae1?1:H}function A(H,ne,te,Z,X,Q,re,ie,oe,ue,ce,ye){this.gl=H,this.pixelRatio=1,this.shader=ne,this.orthoShader=te,this.projectShader=Z,this.pointBuffer=X,this.colorBuffer=Q,this.glyphBuffer=re,this.idBuffer=ie,this.vao=oe,this.vertexCount=0,this.lineVertexCount=0,this.opacity=1,this.hasAlpha=!1,this.lineWidth=0,this.projectScale=[.6666666666666666,.6666666666666666,.6666666666666666],this.projectOpacity=[1,1,1],this.projectHasAlpha=!1,this.pickId=0,this.pickPerspectiveShader=ue,this.pickOrthoShader=ce,this.pickProjectShader=ye,this.points=[],this._selectResult=new E(0,[0,0,0]),this.useOrtho=!0,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.axesProject=[!0,!0,!0],this.axesBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.highlightId=[1,1,1,1],this.highlightScale=2,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.dirty=!0}f.exports=function(H){var ne=H.gl,te=m.createPerspective(ne),Z=m.createOrtho(ne),X=m.createProject(ne),Q=m.createPickPerspective(ne),re=m.createPickOrtho(ne),ie=m.createPickProject(ne),oe=o(ne),ue=o(ne),ce=o(ne),ye=o(ne),de=new A(ne,te,Z,X,oe,ue,ce,ye,s(ne,[{buffer:oe,size:3,type:ne.FLOAT},{buffer:ue,size:4,type:ne.FLOAT},{buffer:ce,size:2,type:ne.FLOAT},{buffer:ye,size:4,type:ne.UNSIGNED_BYTE,normalized:!0}]),Q,re,ie);return de.update(H),de};var L=A.prototype;L.pickSlots=1,L.setPickBase=function(H){this.pickId=H},L.isTransparent=function(){if(this.hasAlpha)return!0;for(var H=0;H<3;++H)if(this.axesProject[H]&&this.projectHasAlpha)return!0;return!1},L.isOpaque=function(){if(!this.hasAlpha)return!0;for(var H=0;H<3;++H)if(this.axesProject[H]&&!this.projectHasAlpha)return!0;return!1};var b=[0,0],R=[0,0,0],I=[0,0,0],O=[0,0,0,1],z=[0,0,0,1],F=C.slice(),B=[0,0,0],N=[[0,0,0],[0,0,0]];function W(H){return H[0]=H[1]=H[2]=0,H}function j(H,ne){return H[0]=ne[0],H[1]=ne[1],H[2]=ne[2],H[3]=1,H}function $(H,ne,te,Z){return H[0]=ne[0],H[1]=ne[1],H[2]=ne[2],H[te]=Z,H}var U=[[-1e8,-1e8,-1e8],[1e8,1e8,1e8]];function G(H,ne,te,Z,X,Q,re){var ie=te.gl;if((Q===te.projectHasAlpha||re)&&function(ue,ce,ye,de){var me,pe=ce.axesProject,xe=ce.gl,Pe=ue.uniforms,_e=ye.model||C,Me=ye.view||C,Se=ye.projection||C,Ce=ce.axesBounds,ae=function(st){for(var ot=N,ht=0;ht<2;++ht)for(var bt=0;bt<3;++bt)ot[ht][bt]=Math.max(Math.min(st[ht][bt],1e8),-1e8);return ot}(ce.clipBounds);me=ce.axes&&ce.axes.lastCubeProps?ce.axes.lastCubeProps.axis:[1,1,1],b[0]=2/xe.drawingBufferWidth,b[1]=2/xe.drawingBufferHeight,ue.bind(),Pe.view=Me,Pe.projection=Se,Pe.screenSize=b,Pe.highlightId=ce.highlightId,Pe.highlightScale=ce.highlightScale,Pe.clipBounds=ae,Pe.pickGroup=ce.pickId/255,Pe.pixelRatio=de;for(var fe=0;fe<3;++fe)if(pe[fe]){Pe.scale=ce.projectScale[fe],Pe.opacity=ce.projectOpacity[fe];for(var be=F,ke=0;ke<16;++ke)be[ke]=0;for(ke=0;ke<4;++ke)be[5*ke]=1;be[5*fe]=0,me[fe]<0?be[12+fe]=Ce[0][fe]:be[12+fe]=Ce[1][fe],c(be,_e,be),Pe.model=be;var Le=(fe+1)%3,Be=(fe+2)%3,ze=W(R),je=W(I);ze[Le]=1,je[Be]=1;var ge=k(0,0,0,j(O,ze)),we=k(0,0,0,j(z,je));if(Math.abs(ge[1])>Math.abs(we[1])){var Ee=ge;ge=we,we=Ee,Ee=ze,ze=je,je=Ee;var Ve=Le;Le=Be,Be=Ve}ge[0]<0&&(ze[Le]=-1),we[1]>0&&(je[Be]=-1);var $e=0,Ye=0;for(ke=0;ke<4;++ke)$e+=Math.pow(_e[4*Le+ke],2),Ye+=Math.pow(_e[4*Be+ke],2);ze[Le]/=Math.sqrt($e),je[Be]/=Math.sqrt(Ye),Pe.axes[0]=ze,Pe.axes[1]=je,Pe.fragClipBounds[0]=$(B,ae[0],fe,-1e8),Pe.fragClipBounds[1]=$(B,ae[1],fe,1e8),ce.vao.bind(),ce.vao.draw(xe.TRIANGLES,ce.vertexCount),ce.lineWidth>0&&(xe.lineWidth(ce.lineWidth*de),ce.vao.draw(xe.LINES,ce.lineVertexCount,ce.vertexCount)),ce.vao.unbind()}}(ne,te,Z,X),Q===te.hasAlpha||re){H.bind();var oe=H.uniforms;oe.model=Z.model||C,oe.view=Z.view||C,oe.projection=Z.projection||C,b[0]=2/ie.drawingBufferWidth,b[1]=2/ie.drawingBufferHeight,oe.screenSize=b,oe.highlightId=te.highlightId,oe.highlightScale=te.highlightScale,oe.fragClipBounds=U,oe.clipBounds=te.axes.bounds,oe.opacity=te.opacity,oe.pickGroup=te.pickId/255,oe.pixelRatio=X,te.vao.bind(),te.vao.draw(ie.TRIANGLES,te.vertexCount),te.lineWidth>0&&(ie.lineWidth(te.lineWidth*X),te.vao.draw(ie.LINES,te.lineVertexCount,te.vertexCount)),te.vao.unbind()}}function q(H,ne,te,Z){var X;X=Array.isArray(H)?ne=this.pointCount||ne<0)return null;var te=this.points[ne],Z=this._selectResult;Z.index=ne;for(var X=0;X<3;++X)Z.position[X]=Z.dataCoordinate[X]=te[X];return Z},L.highlight=function(H){if(H){var ne=H.index,te=255&ne,Z=ne>>8&255,X=ne>>16&255;this.highlightId=[te/255,Z/255,X/255,0]}else this.highlightId=[1,1,1,1]},L.update=function(H){if("perspective"in(H=H||{})&&(this.useOrtho=!H.perspective),"orthographic"in H&&(this.useOrtho=!!H.orthographic),"lineWidth"in H&&(this.lineWidth=H.lineWidth),"project"in H)if(Array.isArray(H.project))this.axesProject=H.project;else{var ne=!!H.project;this.axesProject=[ne,ne,ne]}if("projectScale"in H)if(Array.isArray(H.projectScale))this.projectScale=H.projectScale.slice();else{var te=+H.projectScale;this.projectScale=[te,te,te]}if(this.projectHasAlpha=!1,"projectOpacity"in H){Array.isArray(H.projectOpacity)?this.projectOpacity=H.projectOpacity.slice():(te=+H.projectOpacity,this.projectOpacity=[te,te,te]);for(var Z=0;Z<3;++Z)this.projectOpacity[Z]=x(this.projectOpacity[Z]),this.projectOpacity[Z]<1&&(this.projectHasAlpha=!0)}this.hasAlpha=!1,"opacity"in H&&(this.opacity=x(H.opacity),this.opacity<1&&(this.hasAlpha=!0)),this.dirty=!0;var X,Q,re=H.position,ie=H.font||"normal",oe=H.alignment||[0,0];if(oe.length===2)X=oe[0],Q=oe[1];else for(X=[],Q=[],Z=0;Z0){var we=0,Ee=_e,Ve=[0,0,0,1],$e=[0,0,0,1],Ye=Array.isArray(de)&&Array.isArray(de[0]),st=Array.isArray(xe)&&Array.isArray(xe[0]);e:for(Z=0;Z0?1-ke[0][0]:Ot<0?1+ke[1][0]:1,Bt*=Bt>0?1-ke[0][1]:Bt<0?1+ke[1][1]:1],Vt=fe.cells||[],Ke=fe.positions||[];for(ae=0;ae0){var N=y*b;E.drawBox(R-N,I-N,O+N,I+N,k),E.drawBox(R-N,z-N,O+N,z+N,k),E.drawBox(R-N,I-N,R+N,z+N,k),E.drawBox(O-N,I-N,O+N,z+N,k)}}}},h.update=function(m){m=m||{},this.innerFill=!!m.innerFill,this.outerFill=!!m.outerFill,this.innerColor=(m.innerColor||[0,0,0,.5]).slice(),this.outerColor=(m.outerColor||[0,0,0,.5]).slice(),this.borderColor=(m.borderColor||[0,0,0,1]).slice(),this.borderWidth=m.borderWidth||0,this.selectBox=(m.selectBox||this.selectBox).slice()},h.dispose=function(){this.boxBuffer.dispose(),this.boxShader.dispose(),this.plot.removeOverlay(this)}},2611:function(f,l,a){f.exports=function(y,S){var _=S[0],k=S[1];return new m(y,u(y,_,k,{}),o.mallocUint8(_*k*4))};var u=a(4234),o=a(5306),s=a(5050),c=a(2288).nextPow2;function h(y,S,_,k,E){this.coord=[y,S],this.id=_,this.value=k,this.distance=E}function m(y,S,_){this.gl=y,this.fbo=S,this.buffer=_,this._readTimeout=null;var k=this;this._readCallback=function(){k.gl&&(S.bind(),y.readPixels(0,0,S.shape[0],S.shape[1],y.RGBA,y.UNSIGNED_BYTE,k.buffer),k._readTimeout=null)}}var w=m.prototype;Object.defineProperty(w,"shape",{get:function(){return this.gl?this.fbo.shape.slice():[0,0]},set:function(y){if(this.gl){this.fbo.shape=y;var S=this.fbo.shape[0],_=this.fbo.shape[1];if(_*S*4>this.buffer.length){o.free(this.buffer);for(var k=this.buffer=o.mallocUint8(c(_*S*4)),E=0;E<_*S*4;++E)k[E]=255}return y}}}),w.begin=function(){var y=this.gl;this.shape,y&&(this.fbo.bind(),y.clearColor(1,1,1,1),y.clear(y.COLOR_BUFFER_BIT|y.DEPTH_BUFFER_BIT))},w.end=function(){var y=this.gl;y&&(y.bindFramebuffer(y.FRAMEBUFFER,null),this._readTimeout||clearTimeout(this._readTimeout),this._readTimeout=setTimeout(this._readCallback,1))},w.query=function(y,S,_){if(!this.gl)return null;var k=this.fbo.shape.slice();y|=0,S|=0,typeof _!="number"&&(_=1);var E=0|Math.min(Math.max(y-_,0),k[0]),x=0|Math.min(Math.max(y+_,0),k[0]),A=0|Math.min(Math.max(S-_,0),k[1]),L=0|Math.min(Math.max(S+_,0),k[1]);if(x<=E||L<=A)return null;var b=[x-E,L-A],R=s(this.buffer,[b[0],b[1],4],[4,4*k[0],1],4*(E+k[0]*A)),I=function(F,B,N){for(var W=1e8,j=-1,$=-1,U=F.shape[0],G=F.shape[1],q=0;qE)for(_=E;_k)for(_=k;_=0){for(var $=0|j.type.charAt(j.type.length-1),U=new Array($),G=0;G<$;++G)U[G]=W.length,N.push(j.name+"["+G+"]"),typeof j.location=="number"?W.push(j.location+G):Array.isArray(j.location)&&j.location.length===$&&typeof j.location[G]=="number"?W.push(0|j.location[G]):W.push(-1);B.push({name:j.name,type:j.type,locations:U})}else B.push({name:j.name,type:j.type,locations:[W.length]}),N.push(j.name),typeof j.location=="number"?W.push(0|j.location):W.push(-1)}var q=0;for(F=0;F=0;)q+=1;W[F]=q}var H=new Array(E.length);function ne(){L.program=c.program(b,L._vref,L._fref,N,W);for(var te=0;te=0){if((I=b.charCodeAt(b.length-1)-48)<2||I>4)throw new u("","Invalid data type for attribute "+L+": "+b);h(w,y,R[0],_,I,k,L)}else{if(!(b.indexOf("mat")>=0))throw new u("","Unknown data type for attribute "+L+": "+b);var I;if((I=b.charCodeAt(b.length-1)-48)<2||I>4)throw new u("","Invalid data type for attribute "+L+": "+b);m(w,y,R,_,I,k,L)}}}return k};var u=a(9068);function o(w,y,S,_,k,E){this._gl=w,this._wrapper=y,this._index=S,this._locations=_,this._dimension=k,this._constFunc=E}var s=o.prototype;s.pointer=function(w,y,S,_){var k=this,E=k._gl,x=k._locations[k._index];E.vertexAttribPointer(x,k._dimension,w||E.FLOAT,!!y,S||0,_||0),E.enableVertexAttribArray(x)},s.set=function(w,y,S,_){return this._constFunc(this._locations[this._index],w,y,S,_)},Object.defineProperty(s,"location",{get:function(){return this._locations[this._index]},set:function(w){return w!==this._locations[this._index]&&(this._locations[this._index]=0|w,this._wrapper.program=null),0|w}});var c=[function(w,y,S){return S.length===void 0?w.vertexAttrib1f(y,S):w.vertexAttrib1fv(y,S)},function(w,y,S,_){return S.length===void 0?w.vertexAttrib2f(y,S,_):w.vertexAttrib2fv(y,S)},function(w,y,S,_,k){return S.length===void 0?w.vertexAttrib3f(y,S,_,k):w.vertexAttrib3fv(y,S)},function(w,y,S,_,k,E){return S.length===void 0?w.vertexAttrib4f(y,S,_,k,E):w.vertexAttrib4fv(y,S)}];function h(w,y,S,_,k,E,x){var A=c[k],L=new o(w,y,S,_,k,A);Object.defineProperty(E,x,{set:function(b){return w.disableVertexAttribArray(_[S]),A(w,_[S],b),b},get:function(){return L},enumerable:!0})}function m(w,y,S,_,k,E,x){for(var A=new Array(k),L=new Array(k),b=0;b4)throw new o("","Invalid uniform dimension type for matrix "+name+": "+U);h["uniformMatrix"+$+"fv"](y[z],!1,F);break}throw new o("","Unknown uniform data type for "+name+": "+U)}if(($=U.charCodeAt(U.length-1)-48)<2||$>4)throw new o("","Invalid data type");switch(U.charAt(0)){case"b":case"i":h["uniform"+$+"iv"](y[z],F);break;case"v":h["uniform"+$+"fv"](y[z],F);break;default:throw new o("","Unrecognized data type for vector "+name+": "+U)}}}}}}function _(A,L){if(typeof L!="object")return[[A,L]];var b=[];for(var R in L){var I=L[R],O=A;parseInt(R)+""===R?O+="["+R+"]":O+="."+R,typeof I=="object"?b.push.apply(b,_(O,I)):b.push([O,I])}return b}function k(A,L,b){if(typeof b=="object"){var R=E(b);Object.defineProperty(A,L,{get:s(R),set:S(b),enumerable:!0,configurable:!1})}else y[b]?Object.defineProperty(A,L,{get:(I=b,function(O,z,F){return O.getUniform(z.program,F[I])}),set:S(b),enumerable:!0,configurable:!1}):A[L]=function(O){switch(O){case"bool":return!1;case"int":case"sampler2D":case"samplerCube":case"float":return 0;default:var z=O.indexOf("vec");if(0<=z&&z<=1&&O.length===4+z){if((F=O.charCodeAt(O.length-1)-48)<2||F>4)throw new o("","Invalid data type");return O.charAt(0)==="b"?c(F,!1):c(F,0)}if(O.indexOf("mat")===0&&O.length===4){var F;if((F=O.charCodeAt(O.length-1)-48)<2||F>4)throw new o("","Invalid uniform dimension type for matrix "+name+": "+O);return c(F*F,0)}throw new o("","Unknown uniform data type for "+name+": "+O)}}(w[b].type);var I}function E(A){var L;if(Array.isArray(A)){L=new Array(A.length);for(var b=0;b1){m[0]in c||(c[m[0]]=[]),c=c[m[0]];for(var w=1;w1)for(var _=0;_"u"?a(4037):WeakMap),c=0;function h(S,_,k,E,x,A,L){this.id=S,this.src=_,this.type=k,this.shader=E,this.count=A,this.programs=[],this.cache=L}function m(S){this.gl=S,this.shaders=[{},{}],this.programs={}}h.prototype.dispose=function(){if(--this.count==0){for(var S=this.cache,_=S.gl,k=this.programs,E=0,x=k.length;E0){var N=y*b;E.drawBox(R-N,I-N,O+N,I+N,k),E.drawBox(R-N,z-N,O+N,z+N,k),E.drawBox(R-N,I-N,R+N,z+N,k),E.drawBox(O-N,I-N,O+N,z+N,k)}}}},c.update=function(m){m=m||{},this.innerFill=!!m.innerFill,this.outerFill=!!m.outerFill,this.innerColor=(m.innerColor||[0,0,0,.5]).slice(),this.outerColor=(m.outerColor||[0,0,0,.5]).slice(),this.borderColor=(m.borderColor||[0,0,0,1]).slice(),this.borderWidth=m.borderWidth||0,this.selectBox=(m.selectBox||this.selectBox).slice()},c.dispose=function(){this.boxBuffer.dispose(),this.boxShader.dispose(),this.plot.removeOverlay(this)}},2611:function(f,l,a){f.exports=function(y,C){var _=C[0],k=C[1];return new m(y,u(y,_,k,{}),o.mallocUint8(_*k*4))};var u=a(4234),o=a(5306),s=a(5050),h=a(2288).nextPow2;function c(y,C,_,k,E){this.coord=[y,C],this.id=_,this.value=k,this.distance=E}function m(y,C,_){this.gl=y,this.fbo=C,this.buffer=_,this._readTimeout=null;var k=this;this._readCallback=function(){k.gl&&(C.bind(),y.readPixels(0,0,C.shape[0],C.shape[1],y.RGBA,y.UNSIGNED_BYTE,k.buffer),k._readTimeout=null)}}var w=m.prototype;Object.defineProperty(w,"shape",{get:function(){return this.gl?this.fbo.shape.slice():[0,0]},set:function(y){if(this.gl){this.fbo.shape=y;var C=this.fbo.shape[0],_=this.fbo.shape[1];if(_*C*4>this.buffer.length){o.free(this.buffer);for(var k=this.buffer=o.mallocUint8(h(_*C*4)),E=0;E<_*C*4;++E)k[E]=255}return y}}}),w.begin=function(){var y=this.gl;this.shape,y&&(this.fbo.bind(),y.clearColor(1,1,1,1),y.clear(y.COLOR_BUFFER_BIT|y.DEPTH_BUFFER_BIT))},w.end=function(){var y=this.gl;y&&(y.bindFramebuffer(y.FRAMEBUFFER,null),this._readTimeout||clearTimeout(this._readTimeout),this._readTimeout=setTimeout(this._readCallback,1))},w.query=function(y,C,_){if(!this.gl)return null;var k=this.fbo.shape.slice();y|=0,C|=0,typeof _!="number"&&(_=1);var E=0|Math.min(Math.max(y-_,0),k[0]),x=0|Math.min(Math.max(y+_,0),k[0]),A=0|Math.min(Math.max(C-_,0),k[1]),L=0|Math.min(Math.max(C+_,0),k[1]);if(x<=E||L<=A)return null;var b=[x-E,L-A],R=s(this.buffer,[b[0],b[1],4],[4,4*k[0],1],4*(E+k[0]*A)),I=function(F,B,N){for(var W=1e8,j=-1,$=-1,U=F.shape[0],G=F.shape[1],q=0;qE)for(_=E;_k)for(_=k;_=0){for(var $=0|j.type.charAt(j.type.length-1),U=new Array($),G=0;G<$;++G)U[G]=W.length,N.push(j.name+"["+G+"]"),typeof j.location=="number"?W.push(j.location+G):Array.isArray(j.location)&&j.location.length===$&&typeof j.location[G]=="number"?W.push(0|j.location[G]):W.push(-1);B.push({name:j.name,type:j.type,locations:U})}else B.push({name:j.name,type:j.type,locations:[W.length]}),N.push(j.name),typeof j.location=="number"?W.push(0|j.location):W.push(-1)}var q=0;for(F=0;F=0;)q+=1;W[F]=q}var H=new Array(E.length);function ne(){L.program=h.program(b,L._vref,L._fref,N,W);for(var te=0;te=0){if((I=b.charCodeAt(b.length-1)-48)<2||I>4)throw new u("","Invalid data type for attribute "+L+": "+b);c(w,y,R[0],_,I,k,L)}else{if(!(b.indexOf("mat")>=0))throw new u("","Unknown data type for attribute "+L+": "+b);var I;if((I=b.charCodeAt(b.length-1)-48)<2||I>4)throw new u("","Invalid data type for attribute "+L+": "+b);m(w,y,R,_,I,k,L)}}}return k};var u=a(9068);function o(w,y,C,_,k,E){this._gl=w,this._wrapper=y,this._index=C,this._locations=_,this._dimension=k,this._constFunc=E}var s=o.prototype;s.pointer=function(w,y,C,_){var k=this,E=k._gl,x=k._locations[k._index];E.vertexAttribPointer(x,k._dimension,w||E.FLOAT,!!y,C||0,_||0),E.enableVertexAttribArray(x)},s.set=function(w,y,C,_){return this._constFunc(this._locations[this._index],w,y,C,_)},Object.defineProperty(s,"location",{get:function(){return this._locations[this._index]},set:function(w){return w!==this._locations[this._index]&&(this._locations[this._index]=0|w,this._wrapper.program=null),0|w}});var h=[function(w,y,C){return C.length===void 0?w.vertexAttrib1f(y,C):w.vertexAttrib1fv(y,C)},function(w,y,C,_){return C.length===void 0?w.vertexAttrib2f(y,C,_):w.vertexAttrib2fv(y,C)},function(w,y,C,_,k){return C.length===void 0?w.vertexAttrib3f(y,C,_,k):w.vertexAttrib3fv(y,C)},function(w,y,C,_,k,E){return C.length===void 0?w.vertexAttrib4f(y,C,_,k,E):w.vertexAttrib4fv(y,C)}];function c(w,y,C,_,k,E,x){var A=h[k],L=new o(w,y,C,_,k,A);Object.defineProperty(E,x,{set:function(b){return w.disableVertexAttribArray(_[C]),A(w,_[C],b),b},get:function(){return L},enumerable:!0})}function m(w,y,C,_,k,E,x){for(var A=new Array(k),L=new Array(k),b=0;b4)throw new o("","Invalid uniform dimension type for matrix "+name+": "+U);c["uniformMatrix"+$+"fv"](y[z],!1,F);break}throw new o("","Unknown uniform data type for "+name+": "+U)}if(($=U.charCodeAt(U.length-1)-48)<2||$>4)throw new o("","Invalid data type");switch(U.charAt(0)){case"b":case"i":c["uniform"+$+"iv"](y[z],F);break;case"v":c["uniform"+$+"fv"](y[z],F);break;default:throw new o("","Unrecognized data type for vector "+name+": "+U)}}}}}}function _(A,L){if(typeof L!="object")return[[A,L]];var b=[];for(var R in L){var I=L[R],O=A;parseInt(R)+""===R?O+="["+R+"]":O+="."+R,typeof I=="object"?b.push.apply(b,_(O,I)):b.push([O,I])}return b}function k(A,L,b){if(typeof b=="object"){var R=E(b);Object.defineProperty(A,L,{get:s(R),set:C(b),enumerable:!0,configurable:!1})}else y[b]?Object.defineProperty(A,L,{get:(I=b,function(O,z,F){return O.getUniform(z.program,F[I])}),set:C(b),enumerable:!0,configurable:!1}):A[L]=function(O){switch(O){case"bool":return!1;case"int":case"sampler2D":case"samplerCube":case"float":return 0;default:var z=O.indexOf("vec");if(0<=z&&z<=1&&O.length===4+z){if((F=O.charCodeAt(O.length-1)-48)<2||F>4)throw new o("","Invalid data type");return O.charAt(0)==="b"?h(F,!1):h(F,0)}if(O.indexOf("mat")===0&&O.length===4){var F;if((F=O.charCodeAt(O.length-1)-48)<2||F>4)throw new o("","Invalid uniform dimension type for matrix "+name+": "+O);return h(F*F,0)}throw new o("","Unknown uniform data type for "+name+": "+O)}}(w[b].type);var I}function E(A){var L;if(Array.isArray(A)){L=new Array(A.length);for(var b=0;b1){m[0]in h||(h[m[0]]=[]),h=h[m[0]];for(var w=1;w1)for(var _=0;_"u"?a(4037):WeakMap),h=0;function c(C,_,k,E,x,A,L){this.id=C,this.src=_,this.type=k,this.shader=E,this.count=A,this.programs=[],this.cache=L}function m(C){this.gl=C,this.shaders=[{},{}],this.programs={}}c.prototype.dispose=function(){if(--this.count==0){for(var C=this.cache,_=C.gl,k=this.programs,E=0,x=k.length;E_)return k-1}return k},h=function(S,_,k){return S<_?_:S>k?k:S},m=function(S){var _=1/0;S.sort(function(A,L){return A-L});for(var k=S.length,E=1;Eke-1||Ee>Le-1||Ve>Be-1)return u.create();var $e,Ye,st,ot,ht,bt,Et=Ce[0][ze],kt=Ce[0][we],xt=Ce[1][je],Ft=Ce[1][Ee],Ot=Ce[2][ge],Bt=(ae-Et)/(kt-Et),qt=(fe-xt)/(Ft-xt),Vt=(be-Ot)/(Ce[2][Ve]-Ot);switch(isFinite(Bt)||(Bt=.5),isFinite(qt)||(qt=.5),isFinite(Vt)||(Vt=.5),Me.reversedX&&(ze=ke-1-ze,we=ke-1-we),Me.reversedY&&(je=Le-1-je,Ee=Le-1-Ee),Me.reversedZ&&(ge=Be-1-ge,Ve=Be-1-Ve),Me.filled){case 5:ht=ge,bt=Ve,st=je*Be,ot=Ee*Be,$e=ze*Be*Le,Ye=we*Be*Le;break;case 4:ht=ge,bt=Ve,$e=ze*Be,Ye=we*Be,st=je*Be*ke,ot=Ee*Be*ke;break;case 3:st=je,ot=Ee,ht=ge*Le,bt=Ve*Le,$e=ze*Le*Be,Ye=we*Le*Be;break;case 2:st=je,ot=Ee,$e=ze*Le,Ye=we*Le,ht=ge*Le*ke,bt=Ve*Le*ke;break;case 1:$e=ze,Ye=we,ht=ge*ke,bt=Ve*ke,st=je*ke*Be,ot=Ee*ke*Be;break;default:$e=ze,Ye=we,st=je*ke,ot=Ee*ke,ht=ge*ke*Le,bt=Ve*ke*Le}var Ke=Se[$e+st+ht],Je=Se[$e+st+bt],qe=Se[$e+ot+ht],nt=Se[$e+ot+bt],ft=Se[Ye+st+ht],Re=Se[Ye+st+bt],Ne=Se[Ye+ot+ht],Qe=Se[Ye+ot+bt],ut=u.create(),dt=u.create(),_t=u.create(),It=u.create();u.lerp(ut,Ke,ft,Bt),u.lerp(dt,Je,Re,Bt),u.lerp(_t,qe,Ne,Bt),u.lerp(It,nt,Qe,Bt);var Lt=u.create(),yt=u.create();u.lerp(Lt,ut,_t,qt),u.lerp(yt,dt,It,qt);var Pt=u.create();return u.lerp(Pt,Lt,yt,Vt),Pt}(xe,S,b)},I=S.getDivergence||function(xe,Pe){var _e=u.create(),Me=1e-4;u.add(_e,xe,[Me,0,0]);var Se=R(_e);u.subtract(Se,Se,Pe),u.scale(Se,Se,1/Me),u.add(_e,xe,[0,Me,0]);var Ce=R(_e);u.subtract(Ce,Ce,Pe),u.scale(Ce,Ce,1/Me),u.add(_e,xe,[0,0,Me]);var ae=R(_e);return u.subtract(ae,ae,Pe),u.scale(ae,ae,1/Me),u.add(_e,Se,Ce),u.add(_e,_e,ae),_e},O=[],z=_[0][0],F=_[0][1],B=_[0][2],N=_[1][0],W=_[1][1],j=_[1][2],$=function(xe){var Pe=xe[0],_e=xe[1],Me=xe[2];return!(PeN||_eW||Mej)},U=10*u.distance(_[0],_[1])/E,G=U*U,q=1,H=0,ne=k.length;ne>1&&(q=function(xe){for(var Pe=[],_e=[],Me=[],Se={},Ce={},ae={},fe=xe.length,be=0;beH&&(H=ce),oe.push(ce),O.push({points:X,velocities:Q,divergences:oe});for(var ye=0;ye<100*E&&X.lengthG&&u.scale(de,de,U/Math.sqrt(me)),u.add(de,de,Z),re=R(de),u.squaredDistance(ie,de)-G>-1e-4*G&&(X.push(de),ie=de,Q.push(re),ue=I(de,re),ce=u.length(ue),isFinite(ce)&&ce>H&&(H=ce),oe.push(ce)),Z=de}}var pe=function(xe,Pe,_e,Me){for(var Se=0,Ce=0;Ce0)for(ut=0;ut<8;ut++){var dt=(ut+1)%8;xt.push(Bt[ut],qt[ut],qt[dt],qt[dt],Bt[dt],Bt[ut]),Ot.push(nt,qe,qe,qe,nt,nt),Vt.push(Ke,Je,Je,Je,Ke,Ke);var _t=xt.length;Ft.push([_t-6,_t-5,_t-4],[_t-3,_t-2,_t-1])}var It=Bt;Bt=qt,qt=It;var Lt=nt;nt=qe,qe=Lt;var yt=Ke;Ke=Je,Je=yt}return{positions:xt,cells:Ft,vectors:Ot,vertexIntensity:Vt}}($e,_e,Me,Se)}),ke=[],Le=[],Be=[],ze=[];for(Ce=0;Ce_)return k-1}return k},c=function(C,_,k){return C<_?_:C>k?k:C},m=function(C){var _=1/0;C.sort(function(A,L){return A-L});for(var k=C.length,E=1;Eke-1||Ee>Le-1||Ve>Be-1)return u.create();var $e,Ye,st,ot,ht,bt,Et=Ce[0][ze],kt=Ce[0][we],xt=Ce[1][je],Ft=Ce[1][Ee],Ot=Ce[2][ge],Bt=(ae-Et)/(kt-Et),qt=(fe-xt)/(Ft-xt),Vt=(be-Ot)/(Ce[2][Ve]-Ot);switch(isFinite(Bt)||(Bt=.5),isFinite(qt)||(qt=.5),isFinite(Vt)||(Vt=.5),Me.reversedX&&(ze=ke-1-ze,we=ke-1-we),Me.reversedY&&(je=Le-1-je,Ee=Le-1-Ee),Me.reversedZ&&(ge=Be-1-ge,Ve=Be-1-Ve),Me.filled){case 5:ht=ge,bt=Ve,st=je*Be,ot=Ee*Be,$e=ze*Be*Le,Ye=we*Be*Le;break;case 4:ht=ge,bt=Ve,$e=ze*Be,Ye=we*Be,st=je*Be*ke,ot=Ee*Be*ke;break;case 3:st=je,ot=Ee,ht=ge*Le,bt=Ve*Le,$e=ze*Le*Be,Ye=we*Le*Be;break;case 2:st=je,ot=Ee,$e=ze*Le,Ye=we*Le,ht=ge*Le*ke,bt=Ve*Le*ke;break;case 1:$e=ze,Ye=we,ht=ge*ke,bt=Ve*ke,st=je*ke*Be,ot=Ee*ke*Be;break;default:$e=ze,Ye=we,st=je*ke,ot=Ee*ke,ht=ge*ke*Le,bt=Ve*ke*Le}var Ke=Se[$e+st+ht],Je=Se[$e+st+bt],qe=Se[$e+ot+ht],nt=Se[$e+ot+bt],ft=Se[Ye+st+ht],Re=Se[Ye+st+bt],Ne=Se[Ye+ot+ht],Qe=Se[Ye+ot+bt],ut=u.create(),dt=u.create(),_t=u.create(),It=u.create();u.lerp(ut,Ke,ft,Bt),u.lerp(dt,Je,Re,Bt),u.lerp(_t,qe,Ne,Bt),u.lerp(It,nt,Qe,Bt);var Lt=u.create(),yt=u.create();u.lerp(Lt,ut,_t,qt),u.lerp(yt,dt,It,qt);var Pt=u.create();return u.lerp(Pt,Lt,yt,Vt),Pt}(xe,C,b)},I=C.getDivergence||function(xe,Pe){var _e=u.create(),Me=1e-4;u.add(_e,xe,[Me,0,0]);var Se=R(_e);u.subtract(Se,Se,Pe),u.scale(Se,Se,1/Me),u.add(_e,xe,[0,Me,0]);var Ce=R(_e);u.subtract(Ce,Ce,Pe),u.scale(Ce,Ce,1/Me),u.add(_e,xe,[0,0,Me]);var ae=R(_e);return u.subtract(ae,ae,Pe),u.scale(ae,ae,1/Me),u.add(_e,Se,Ce),u.add(_e,_e,ae),_e},O=[],z=_[0][0],F=_[0][1],B=_[0][2],N=_[1][0],W=_[1][1],j=_[1][2],$=function(xe){var Pe=xe[0],_e=xe[1],Me=xe[2];return!(PeN||_eW||Mej)},U=10*u.distance(_[0],_[1])/E,G=U*U,q=1,H=0,ne=k.length;ne>1&&(q=function(xe){for(var Pe=[],_e=[],Me=[],Se={},Ce={},ae={},fe=xe.length,be=0;beH&&(H=ce),oe.push(ce),O.push({points:X,velocities:Q,divergences:oe});for(var ye=0;ye<100*E&&X.lengthG&&u.scale(de,de,U/Math.sqrt(me)),u.add(de,de,Z),re=R(de),u.squaredDistance(ie,de)-G>-1e-4*G&&(X.push(de),ie=de,Q.push(re),ue=I(de,re),ce=u.length(ue),isFinite(ce)&&ce>H&&(H=ce),oe.push(ce)),Z=de}}var pe=function(xe,Pe,_e,Me){for(var Se=0,Ce=0;Ce0)for(ut=0;ut<8;ut++){var dt=(ut+1)%8;xt.push(Bt[ut],qt[ut],qt[dt],qt[dt],Bt[dt],Bt[ut]),Ot.push(nt,qe,qe,qe,nt,nt),Vt.push(Ke,Je,Je,Je,Ke,Ke);var _t=xt.length;Ft.push([_t-6,_t-5,_t-4],[_t-3,_t-2,_t-1])}var It=Bt;Bt=qt,qt=It;var Lt=nt;nt=qe,qe=Lt;var yt=Ke;Ke=Je,Je=yt}return{positions:xt,cells:Ft,vectors:Ot,vertexIntensity:Vt}}($e,_e,Me,Se)}),ke=[],Le=[],Be=[],ze=[];for(Ce=0;Cepe&&Pe>0){var _e=(xe[Pe][0]-pe)/(xe[Pe][0]-xe[Pe-1][0]);return xe[Pe][1]*(1-_e)+_e*xe[Pe-1][1]}}return 1}(de/255,oe):ye[3];return me<1&&(ue=!0),[ye[0],ye[1],ye[2],255*me]})]);return w.divseq(ce,255),this.hasAlphaScale=ue,ce},j.isTransparent=function(){return this.opacity<1||this.hasAlphaScale},j.isOpaque=function(){return!this.isTransparent()},j.pickSlots=1,j.setPickBase=function(ie){this.pickId=ie};var $=[0,0,0],U={showSurface:!1,showContour:!1,projections:[z.slice(),z.slice(),z.slice()],clipBounds:[[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]]]};function G(ie,oe){var ue,ce,ye,de=oe.axes&&oe.axes.lastCubeProps.axis||$,me=oe.showSurface,pe=oe.showContour;for(ue=0;ue<3;++ue)for(me=me||oe.surfaceProject[ue],ce=0;ce<3;++ce)pe=pe||oe.contourProject[ue][ce];for(ue=0;ue<3;++ue){var xe=U.projections[ue];for(ce=0;ce<16;++ce)xe[ce]=0;for(ce=0;ce<4;++ce)xe[5*ce]=1;xe[5*ue]=0,xe[12+ue]=oe.axesBounds[+(de[ue]>0)][ue],k(xe,ie.model,xe);var Pe=U.clipBounds[ue];for(ye=0;ye<2;++ye)for(ce=0;ce<3;++ce)Pe[ye][ce]=ie.clipBounds[ye][ce];Pe[0][ue]=-1e8,Pe[1][ue]=1e8}return U.showSurface=me,U.showContour=pe,U}var q={model:z,view:z,projection:z,inverseModel:z.slice(),lowerBound:[0,0,0],upperBound:[0,0,0],colorMap:0,clipBounds:[[0,0,0],[0,0,0]],height:0,contourTint:0,contourColor:[0,0,0,1],permutation:[1,0,0,0,1,0,0,0,1],zOffset:-1e-4,objectOffset:[0,0,0],kambient:1,kdiffuse:1,kspecular:1,lightPosition:[1e3,1e3,1e3],eyePosition:[0,0,0],roughness:1,fresnel:1,opacity:1,vertexColor:0},H=z.slice(),ne=[1,0,0,0,1,0,0,0,1];function te(ie,oe){ie=ie||{};var ue=this.gl;ue.disable(ue.CULL_FACE),this._colorMap.bind(0);var ce=q;ce.model=ie.model||z,ce.view=ie.view||z,ce.projection=ie.projection||z,ce.lowerBound=[this.bounds[0][0],this.bounds[0][1],this.colorBounds[0]||this.bounds[0][2]],ce.upperBound=[this.bounds[1][0],this.bounds[1][1],this.colorBounds[1]||this.bounds[1][2]],ce.objectOffset=this.objectOffset,ce.contourColor=this.contourColor[0],ce.inverseModel=E(ce.inverseModel,ce.model);for(var ye=0;ye<2;++ye)for(var de=ce.clipBounds[ye],me=0;me<3;++me)de[me]=Math.min(Math.max(this.clipBounds[ye][me],-1e8),1e8);ce.kambient=this.ambientLight,ce.kdiffuse=this.diffuseLight,ce.kspecular=this.specularLight,ce.roughness=this.roughness,ce.fresnel=this.fresnel,ce.opacity=this.opacity,ce.height=0,ce.permutation=ne,ce.vertexColor=this.vertexColor;var pe=H;for(k(pe,ce.view,ce.model),k(pe,ce.projection,pe),E(pe,pe),ye=0;ye<3;++ye)ce.eyePosition[ye]=pe[12+ye]/pe[15];var xe=pe[15];for(ye=0;ye<3;++ye)xe+=this.lightPosition[ye]*pe[4*ye+3];for(ye=0;ye<3;++ye){var Pe=pe[12+ye];for(me=0;me<3;++me)Pe+=pe[4*me+ye]*this.lightPosition[me];ce.lightPosition[ye]=Pe/xe}var _e=G(ce,this);if(_e.showSurface){for(this._shader.bind(),this._shader.uniforms=ce,this._vao.bind(),this.showSurface&&this._vertexCount&&this._vao.draw(ue.TRIANGLES,this._vertexCount),ye=0;ye<3;++ye)this.surfaceProject[ye]&&this.vertexCount&&(this._shader.uniforms.model=_e.projections[ye],this._shader.uniforms.clipBounds=_e.clipBounds[ye],this._vao.draw(ue.TRIANGLES,this._vertexCount));this._vao.unbind()}if(_e.showContour){var Me=this._contourShader;ce.kambient=1,ce.kdiffuse=0,ce.kspecular=0,ce.opacity=1,Me.bind(),Me.uniforms=ce;var Se=this._contourVAO;for(Se.bind(),ye=0;ye<3;++ye)for(Me.uniforms.permutation=B[ye],ue.lineWidth(this.contourWidth[ye]*this.pixelRatio),me=0;me>4)/16)/255,ye=Math.floor(ce),de=ce-ye,me=oe[1]*(ie.value[1]+(15&ie.value[2])/16)/255,pe=Math.floor(me),xe=me-pe;ye+=1,pe+=1;var Pe=ue.position;Pe[0]=Pe[1]=Pe[2]=0;for(var _e=0;_e<2;++_e)for(var Me=_e?de:1-de,Se=0;Se<2;++Se)for(var Ce=ye+_e,ae=pe+Se,fe=Me*(Se?xe:1-xe),be=0;be<3;++be)Pe[be]+=this._field[be].get(Ce,ae)*fe;for(var ke=this._pickResult.level,Le=0;Le<3;++Le)if(ke[Le]=x.le(this.contourLevels[Le],Pe[Le]),ke[Le]<0)this.contourLevels[Le].length>0&&(ke[Le]=0);else if(ke[Le]Math.abs(ze-Pe[Le])&&(ke[Le]+=1)}for(ue.index[0]=de<.5?ye:ye+1,ue.index[1]=xe<.5?pe:pe+1,ue.uv[0]=ce/oe[0],ue.uv[1]=me/oe[1],be=0;be<3;++be)ue.dataCoordinate[be]=this._field[be].get(ue.index[0],ue.index[1]);return ue},j.padField=function(ie,oe){var ue=oe.shape.slice(),ce=ie.shape.slice();w.assign(ie.lo(1,1).hi(ue[0],ue[1]),oe),w.assign(ie.lo(1).hi(ue[0],1),oe.hi(ue[0],1)),w.assign(ie.lo(1,ce[1]-1).hi(ue[0],1),oe.lo(0,ue[1]-1).hi(ue[0],1)),w.assign(ie.lo(0,1).hi(1,ue[1]),oe.hi(1)),w.assign(ie.lo(ce[0]-1,1).hi(1,ue[1]),oe.lo(ue[0]-1)),ie.set(0,0,oe.get(0,0)),ie.set(0,ce[1]-1,oe.get(0,ue[1]-1)),ie.set(ce[0]-1,0,oe.get(ue[0]-1,0)),ie.set(ce[0]-1,ce[1]-1,oe.get(ue[0]-1,ue[1]-1))},j.update=function(ie){ie=ie||{},this.objectOffset=ie.objectOffset||this.objectOffset,this.dirty=!0,"contourWidth"in ie&&(this.contourWidth=X(ie.contourWidth,Number)),"showContour"in ie&&(this.showContour=X(ie.showContour,Boolean)),"showSurface"in ie&&(this.showSurface=!!ie.showSurface),"contourTint"in ie&&(this.contourTint=X(ie.contourTint,Boolean)),"contourColor"in ie&&(this.contourColor=re(ie.contourColor)),"contourProject"in ie&&(this.contourProject=X(ie.contourProject,function(kn){return X(kn,Boolean)})),"surfaceProject"in ie&&(this.surfaceProject=ie.surfaceProject),"dynamicColor"in ie&&(this.dynamicColor=re(ie.dynamicColor)),"dynamicTint"in ie&&(this.dynamicTint=X(ie.dynamicTint,Number)),"dynamicWidth"in ie&&(this.dynamicWidth=X(ie.dynamicWidth,Number)),"opacity"in ie&&(this.opacity=ie.opacity),"opacityscale"in ie&&(this.opacityscale=ie.opacityscale),"colorBounds"in ie&&(this.colorBounds=ie.colorBounds),"vertexColor"in ie&&(this.vertexColor=ie.vertexColor?1:0),"colormap"in ie&&this._colorMap.setPixels(this.genColormap(ie.colormap,this.opacityscale));var oe=ie.field||ie.coords&&ie.coords[2]||null,ue=!1;if(oe||(oe=this._field[2].shape[0]||this._field[2].shape[2]?this._field[2].lo(1,1).hi(this._field[2].shape[0]-2,this._field[2].shape[1]-2):this._field[2].hi(0,0)),"field"in ie||"coords"in ie){var ce=(oe.shape[0]+2)*(oe.shape[1]+2);ce>this._field[2].data.length&&(h.freeFloat(this._field[2].data),this._field[2].data=h.mallocFloat(u.nextPow2(ce))),this._field[2]=S(this._field[2].data,[oe.shape[0]+2,oe.shape[1]+2]),this.padField(this._field[2],oe),this.shape=oe.shape.slice();for(var ye=this.shape,de=0;de<2;++de)this._field[2].size>this._field[de].data.length&&(h.freeFloat(this._field[de].data),this._field[de].data=h.mallocFloat(this._field[2].size)),this._field[de]=S(this._field[de].data,[ye[0]+2,ye[1]+2]);if(ie.coords){var me=ie.coords;if(!Array.isArray(me)||me.length!==3)throw new Error("gl-surface: invalid coordinates for x/y");for(de=0;de<2;++de){var pe=me[de];for(Se=0;Se<2;++Se)if(pe.shape[Se]!==ye[Se])throw new Error("gl-surface: coords have incorrect shape");this.padField(this._field[de],pe)}}else if(ie.ticks){var xe=ie.ticks;if(!Array.isArray(xe)||xe.length!==2)throw new Error("gl-surface: invalid ticks");for(de=0;de<2;++de){var Pe=xe[de];if((Array.isArray(Pe)||Pe.length)&&(Pe=S(Pe)),Pe.shape[0]!==ye[de])throw new Error("gl-surface: invalid tick length");var _e=S(Pe.data,ye);_e.stride[de]=Pe.stride[0],_e.stride[1^de]=0,this.padField(this._field[de],_e)}}else{for(de=0;de<2;++de){var Me=[0,0];Me[de]=1,this._field[de]=S(this._field[de].data,[ye[0]+2,ye[1]+2],Me,0)}this._field[0].set(0,0,0);for(var Se=0;Se0){for(var An=0;An<5;++An)ft.pop();kt-=1}continue e}ft.push(dt[0],dt[1],Lt[0],Lt[1],dt[2]),kt+=1}}ut.push(kt)}this._contourOffsets[Re]=Qe,this._contourCounts[Re]=ut}var Yn=h.mallocFloat(ft.length);for(de=0;deB||z<0||z>B)throw new Error("gl-texture2d: Invalid texture size");return I._shape=[O,z],I.bind(),F.texImage2D(F.TEXTURE_2D,0,I.format,O,z,0,I.format,I.type,null),I._mipLevels=[0],I}function k(I,O,z,F,B,N){this.gl=I,this.handle=O,this.format=B,this.type=N,this._shape=[z,F],this._mipLevels=[0],this._magFilter=I.NEAREST,this._minFilter=I.NEAREST,this._wrapS=I.CLAMP_TO_EDGE,this._wrapT=I.CLAMP_TO_EDGE,this._anisoSamples=1;var W=this,j=[this._wrapS,this._wrapT];Object.defineProperties(j,[{get:function(){return W._wrapS},set:function(U){return W.wrapS=U}},{get:function(){return W._wrapT},set:function(U){return W.wrapT=U}}]),this._wrapVector=j;var $=[this._shape[0],this._shape[1]];Object.defineProperties($,[{get:function(){return W._shape[0]},set:function(U){return W.width=U}},{get:function(){return W._shape[1]},set:function(U){return W.height=U}}]),this._shapeVector=$}var E=k.prototype;function x(I,O){return I.length===3?O[2]===1&&O[1]===I[0]*I[2]&&O[0]===I[2]:O[0]===1&&O[1]===I[0]}function A(I){var O=I.createTexture();return I.bindTexture(I.TEXTURE_2D,O),I.texParameteri(I.TEXTURE_2D,I.TEXTURE_MIN_FILTER,I.NEAREST),I.texParameteri(I.TEXTURE_2D,I.TEXTURE_MAG_FILTER,I.NEAREST),I.texParameteri(I.TEXTURE_2D,I.TEXTURE_WRAP_S,I.CLAMP_TO_EDGE),I.texParameteri(I.TEXTURE_2D,I.TEXTURE_WRAP_T,I.CLAMP_TO_EDGE),O}function L(I,O,z,F,B){var N=I.getParameter(I.MAX_TEXTURE_SIZE);if(O<0||O>N||z<0||z>N)throw new Error("gl-texture2d: Invalid texture shape");if(B===I.FLOAT&&!I.getExtension("OES_texture_float"))throw new Error("gl-texture2d: Floating point textures not supported on this platform");var W=A(I);return I.texImage2D(I.TEXTURE_2D,0,F,O,z,0,F,B,null),new k(I,W,O,z,F,B)}function b(I,O,z,F,B,N){var W=A(I);return I.texImage2D(I.TEXTURE_2D,0,B,B,N,O),new k(I,W,z,F,B,N)}function R(I,O){var z=O.dtype,F=O.shape.slice(),B=I.getParameter(I.MAX_TEXTURE_SIZE);if(F[0]<0||F[0]>B||F[1]<0||F[1]>B)throw new Error("gl-texture2d: Invalid texture size");var N=x(F,O.stride.slice()),W=0;z==="float32"?W=I.FLOAT:z==="float64"?(W=I.FLOAT,N=!1,z="float32"):z==="uint8"?W=I.UNSIGNED_BYTE:(W=I.UNSIGNED_BYTE,N=!1,z="uint8");var j,$,U=0;if(F.length===2)U=I.LUMINANCE,F=[F[0],F[1],1],O=u(O.data,F,[O.stride[0],O.stride[1],1],O.offset);else{if(F.length!==3)throw new Error("gl-texture2d: Invalid shape for texture");if(F[2]===1)U=I.ALPHA;else if(F[2]===2)U=I.LUMINANCE_ALPHA;else if(F[2]===3)U=I.RGB;else{if(F[2]!==4)throw new Error("gl-texture2d: Invalid shape for pixel coords");U=I.RGBA}}W!==I.FLOAT||I.getExtension("OES_texture_float")||(W=I.UNSIGNED_BYTE,N=!1);var G=O.size;if(N)j=O.offset===0&&O.data.length===G?O.data:O.data.subarray(O.offset,O.offset+G);else{var q=[F[2],F[2]*F[0],1];$=s.malloc(G,z);var H=u($,F,q,0);z!=="float32"&&z!=="float64"||W!==I.UNSIGNED_BYTE?o.assign(H,O):S(H,O),j=$.subarray(0,G)}var ne=A(I);return I.texImage2D(I.TEXTURE_2D,0,U,F[0],F[1],0,U,W,j),N||s.free($),new k(I,ne,F[0],F[1],U,W)}Object.defineProperties(E,{minFilter:{get:function(){return this._minFilter},set:function(I){this.bind();var O=this.gl;if(this.type===O.FLOAT&&c.indexOf(I)>=0&&(O.getExtension("OES_texture_float_linear")||(I=O.NEAREST)),h.indexOf(I)<0)throw new Error("gl-texture2d: Unknown filter mode "+I);return O.texParameteri(O.TEXTURE_2D,O.TEXTURE_MIN_FILTER,I),this._minFilter=I}},magFilter:{get:function(){return this._magFilter},set:function(I){this.bind();var O=this.gl;if(this.type===O.FLOAT&&c.indexOf(I)>=0&&(O.getExtension("OES_texture_float_linear")||(I=O.NEAREST)),h.indexOf(I)<0)throw new Error("gl-texture2d: Unknown filter mode "+I);return O.texParameteri(O.TEXTURE_2D,O.TEXTURE_MAG_FILTER,I),this._magFilter=I}},mipSamples:{get:function(){return this._anisoSamples},set:function(I){var O=this._anisoSamples;if(this._anisoSamples=0|Math.max(I,1),O!==this._anisoSamples){var z=this.gl.getExtension("EXT_texture_filter_anisotropic");z&&this.gl.texParameterf(this.gl.TEXTURE_2D,z.TEXTURE_MAX_ANISOTROPY_EXT,this._anisoSamples)}return this._anisoSamples}},wrapS:{get:function(){return this._wrapS},set:function(I){if(this.bind(),m.indexOf(I)<0)throw new Error("gl-texture2d: Unknown wrap mode "+I);return this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_S,I),this._wrapS=I}},wrapT:{get:function(){return this._wrapT},set:function(I){if(this.bind(),m.indexOf(I)<0)throw new Error("gl-texture2d: Unknown wrap mode "+I);return this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_T,I),this._wrapT=I}},wrap:{get:function(){return this._wrapVector},set:function(I){if(Array.isArray(I)||(I=[I,I]),I.length!==2)throw new Error("gl-texture2d: Must specify wrap mode for rows and columns");for(var O=0;O<2;++O)if(m.indexOf(I[O])<0)throw new Error("gl-texture2d: Unknown wrap mode "+I);this._wrapS=I[0],this._wrapT=I[1];var z=this.gl;return this.bind(),z.texParameteri(z.TEXTURE_2D,z.TEXTURE_WRAP_S,this._wrapS),z.texParameteri(z.TEXTURE_2D,z.TEXTURE_WRAP_T,this._wrapT),I}},shape:{get:function(){return this._shapeVector},set:function(I){if(Array.isArray(I)){if(I.length!==2)throw new Error("gl-texture2d: Invalid texture shape")}else I=[0|I,0|I];return _(this,0|I[0],0|I[1]),[0|I[0],0|I[1]]}},width:{get:function(){return this._shape[0]},set:function(I){return _(this,I|=0,this._shape[1]),I}},height:{get:function(){return this._shape[1]},set:function(I){return I|=0,_(this,this._shape[0],I),I}}}),E.bind=function(I){var O=this.gl;return I!==void 0&&O.activeTexture(O.TEXTURE0+(0|I)),O.bindTexture(O.TEXTURE_2D,this.handle),I!==void 0?0|I:O.getParameter(O.ACTIVE_TEXTURE)-O.TEXTURE0},E.dispose=function(){this.gl.deleteTexture(this.handle)},E.generateMipmap=function(){this.bind(),this.gl.generateMipmap(this.gl.TEXTURE_2D);for(var I=Math.min(this._shape[0],this._shape[1]),O=0;I>0;++O,I>>>=1)this._mipLevels.indexOf(O)<0&&this._mipLevels.push(O)},E.setPixels=function(I,O,z,F){var B=this.gl;this.bind(),Array.isArray(O)?(F=z,z=0|O[1],O=0|O[0]):(O=O||0,z=z||0),F=F||0;var N=y(I)?I:I.raw;if(N)this._mipLevels.indexOf(F)<0?(B.texImage2D(B.TEXTURE_2D,0,this.format,this.format,this.type,N),this._mipLevels.push(F)):B.texSubImage2D(B.TEXTURE_2D,F,O,z,this.format,this.type,N);else{if(!(I.shape&&I.stride&&I.data))throw new Error("gl-texture2d: Unsupported data type");if(I.shape.length<2||O+I.shape[1]>this._shape[1]>>>F||z+I.shape[0]>this._shape[0]>>>F||O<0||z<0)throw new Error("gl-texture2d: Texture dimensions are out of bounds");(function(W,j,$,U,G,q,H,ne){var te=ne.dtype,Z=ne.shape.slice();if(Z.length<2||Z.length>3)throw new Error("gl-texture2d: Invalid ndarray, must be 2d or 3d");var X=0,Q=0,re=x(Z,ne.stride.slice());if(te==="float32"?X=W.FLOAT:te==="float64"?(X=W.FLOAT,re=!1,te="float32"):te==="uint8"?X=W.UNSIGNED_BYTE:(X=W.UNSIGNED_BYTE,re=!1,te="uint8"),Z.length===2)Q=W.LUMINANCE,Z=[Z[0],Z[1],1],ne=u(ne.data,Z,[ne.stride[0],ne.stride[1],1],ne.offset);else{if(Z.length!==3)throw new Error("gl-texture2d: Invalid shape for texture");if(Z[2]===1)Q=W.ALPHA;else if(Z[2]===2)Q=W.LUMINANCE_ALPHA;else if(Z[2]===3)Q=W.RGB;else{if(Z[2]!==4)throw new Error("gl-texture2d: Invalid shape for pixel coords");Q=W.RGBA}Z[2]}if(Q!==W.LUMINANCE&&Q!==W.ALPHA||G!==W.LUMINANCE&&G!==W.ALPHA||(Q=G),Q!==G)throw new Error("gl-texture2d: Incompatible texture format for setPixels");var ie=ne.size,oe=H.indexOf(U)<0;if(oe&&H.push(U),X===q&&re)ne.offset===0&&ne.data.length===ie?oe?W.texImage2D(W.TEXTURE_2D,U,G,Z[0],Z[1],0,G,q,ne.data):W.texSubImage2D(W.TEXTURE_2D,U,j,$,Z[0],Z[1],G,q,ne.data):oe?W.texImage2D(W.TEXTURE_2D,U,G,Z[0],Z[1],0,G,q,ne.data.subarray(ne.offset,ne.offset+ie)):W.texSubImage2D(W.TEXTURE_2D,U,j,$,Z[0],Z[1],G,q,ne.data.subarray(ne.offset,ne.offset+ie));else{var ue;ue=q===W.FLOAT?s.mallocFloat32(ie):s.mallocUint8(ie);var ce=u(ue,Z,[Z[2],Z[2]*Z[0],1]);X===W.FLOAT&&q===W.UNSIGNED_BYTE?S(ce,ne):o.assign(ce,ne),oe?W.texImage2D(W.TEXTURE_2D,U,G,Z[0],Z[1],0,G,q,ue.subarray(0,ie)):W.texSubImage2D(W.TEXTURE_2D,U,j,$,Z[0],Z[1],G,q,ue.subarray(0,ie)),q===W.FLOAT?s.freeFloat32(ue):s.freeUint8(ue)}})(B,O,z,F,this.format,this.type,this._mipLevels,I)}}},3056:function(f){f.exports=function(l,a,u){a?a.bind():l.bindBuffer(l.ELEMENT_ARRAY_BUFFER,null);var o=0|l.getParameter(l.MAX_VERTEX_ATTRIBS);if(u){if(u.length>o)throw new Error("gl-vao: Too many vertex attributes");for(var s=0;s1?0:Math.acos(y)};var u=a(5415),o=a(899),s=a(9305)},8827:function(f){f.exports=function(l,a){return l[0]=Math.ceil(a[0]),l[1]=Math.ceil(a[1]),l[2]=Math.ceil(a[2]),l}},7622:function(f){f.exports=function(l){var a=new Float32Array(3);return a[0]=l[0],a[1]=l[1],a[2]=l[2],a}},8782:function(f){f.exports=function(l,a){return l[0]=a[0],l[1]=a[1],l[2]=a[2],l}},8501:function(f){f.exports=function(){var l=new Float32Array(3);return l[0]=0,l[1]=0,l[2]=0,l}},903:function(f){f.exports=function(l,a,u){var o=a[0],s=a[1],c=a[2],h=u[0],m=u[1],w=u[2];return l[0]=s*w-c*m,l[1]=c*h-o*w,l[2]=o*m-s*h,l}},5981:function(f,l,a){f.exports=a(8288)},8288:function(f){f.exports=function(l,a){var u=a[0]-l[0],o=a[1]-l[1],s=a[2]-l[2];return Math.sqrt(u*u+o*o+s*s)}},8629:function(f,l,a){f.exports=a(7979)},7979:function(f){f.exports=function(l,a,u){return l[0]=a[0]/u[0],l[1]=a[1]/u[1],l[2]=a[2]/u[2],l}},9305:function(f){f.exports=function(l,a){return l[0]*a[0]+l[1]*a[1]+l[2]*a[2]}},154:function(f){f.exports=1e-6},4932:function(f,l,a){f.exports=function(o,s){var c=o[0],h=o[1],m=o[2],w=s[0],y=s[1],S=s[2];return Math.abs(c-w)<=u*Math.max(1,Math.abs(c),Math.abs(w))&&Math.abs(h-y)<=u*Math.max(1,Math.abs(h),Math.abs(y))&&Math.abs(m-S)<=u*Math.max(1,Math.abs(m),Math.abs(S))};var u=a(154)},5777:function(f){f.exports=function(l,a){return l[0]===a[0]&&l[1]===a[1]&&l[2]===a[2]}},3306:function(f){f.exports=function(l,a){return l[0]=Math.floor(a[0]),l[1]=Math.floor(a[1]),l[2]=Math.floor(a[2]),l}},7447:function(f,l,a){f.exports=function(o,s,c,h,m,w){var y,S;for(s||(s=3),c||(c=0),S=h?Math.min(h*s+c,o.length):o.length,y=c;y0&&(c=1/Math.sqrt(c),l[0]=a[0]*c,l[1]=a[1]*c,l[2]=a[2]*c),l}},6660:function(f){f.exports=function(l,a){a=a||1;var u=2*Math.random()*Math.PI,o=2*Math.random()-1,s=Math.sqrt(1-o*o)*a;return l[0]=Math.cos(u)*s,l[1]=Math.sin(u)*s,l[2]=o*a,l}},392:function(f){f.exports=function(l,a,u,o){var s=u[1],c=u[2],h=a[1]-s,m=a[2]-c,w=Math.sin(o),y=Math.cos(o);return l[0]=a[0],l[1]=s+h*y-m*w,l[2]=c+h*w+m*y,l}},3222:function(f){f.exports=function(l,a,u,o){var s=u[0],c=u[2],h=a[0]-s,m=a[2]-c,w=Math.sin(o),y=Math.cos(o);return l[0]=s+m*w+h*y,l[1]=a[1],l[2]=c+m*y-h*w,l}},3388:function(f){f.exports=function(l,a,u,o){var s=u[0],c=u[1],h=a[0]-s,m=a[1]-c,w=Math.sin(o),y=Math.cos(o);return l[0]=s+h*y-m*w,l[1]=c+h*w+m*y,l[2]=a[2],l}},1624:function(f){f.exports=function(l,a){return l[0]=Math.round(a[0]),l[1]=Math.round(a[1]),l[2]=Math.round(a[2]),l}},5685:function(f){f.exports=function(l,a,u){return l[0]=a[0]*u,l[1]=a[1]*u,l[2]=a[2]*u,l}},6722:function(f){f.exports=function(l,a,u,o){return l[0]=a[0]+u[0]*o,l[1]=a[1]+u[1]*o,l[2]=a[2]+u[2]*o,l}},831:function(f){f.exports=function(l,a,u,o){return l[0]=a,l[1]=u,l[2]=o,l}},5294:function(f,l,a){f.exports=a(6403)},3303:function(f,l,a){f.exports=a(4337)},6403:function(f){f.exports=function(l,a){var u=a[0]-l[0],o=a[1]-l[1],s=a[2]-l[2];return u*u+o*o+s*s}},4337:function(f){f.exports=function(l){var a=l[0],u=l[1],o=l[2];return a*a+u*u+o*o}},8921:function(f,l,a){f.exports=a(911)},911:function(f){f.exports=function(l,a,u){return l[0]=a[0]-u[0],l[1]=a[1]-u[1],l[2]=a[2]-u[2],l}},9908:function(f){f.exports=function(l,a,u){var o=a[0],s=a[1],c=a[2];return l[0]=o*u[0]+s*u[3]+c*u[6],l[1]=o*u[1]+s*u[4]+c*u[7],l[2]=o*u[2]+s*u[5]+c*u[8],l}},3255:function(f){f.exports=function(l,a,u){var o=a[0],s=a[1],c=a[2],h=u[3]*o+u[7]*s+u[11]*c+u[15];return h=h||1,l[0]=(u[0]*o+u[4]*s+u[8]*c+u[12])/h,l[1]=(u[1]*o+u[5]*s+u[9]*c+u[13])/h,l[2]=(u[2]*o+u[6]*s+u[10]*c+u[14])/h,l}},6568:function(f){f.exports=function(l,a,u){var o=a[0],s=a[1],c=a[2],h=u[0],m=u[1],w=u[2],y=u[3],S=y*o+m*c-w*s,_=y*s+w*o-h*c,k=y*c+h*s-m*o,E=-h*o-m*s-w*c;return l[0]=S*y+E*-h+_*-w-k*-m,l[1]=_*y+E*-m+k*-h-S*-w,l[2]=k*y+E*-w+S*-m-_*-h,l}},3433:function(f){f.exports=function(l,a,u){return l[0]=a[0]+u[0],l[1]=a[1]+u[1],l[2]=a[2]+u[2],l[3]=a[3]+u[3],l}},1413:function(f){f.exports=function(l){var a=new Float32Array(4);return a[0]=l[0],a[1]=l[1],a[2]=l[2],a[3]=l[3],a}},3470:function(f){f.exports=function(l,a){return l[0]=a[0],l[1]=a[1],l[2]=a[2],l[3]=a[3],l}},5313:function(f){f.exports=function(){var l=new Float32Array(4);return l[0]=0,l[1]=0,l[2]=0,l[3]=0,l}},5446:function(f){f.exports=function(l,a){var u=a[0]-l[0],o=a[1]-l[1],s=a[2]-l[2],c=a[3]-l[3];return Math.sqrt(u*u+o*o+s*s+c*c)}},205:function(f){f.exports=function(l,a,u){return l[0]=a[0]/u[0],l[1]=a[1]/u[1],l[2]=a[2]/u[2],l[3]=a[3]/u[3],l}},4242:function(f){f.exports=function(l,a){return l[0]*a[0]+l[1]*a[1]+l[2]*a[2]+l[3]*a[3]}},5680:function(f){f.exports=function(l,a,u,o){var s=new Float32Array(4);return s[0]=l,s[1]=a,s[2]=u,s[3]=o,s}},4020:function(f,l,a){f.exports={create:a(5313),clone:a(1413),fromValues:a(5680),copy:a(3470),set:a(6453),add:a(3433),subtract:a(2705),multiply:a(746),divide:a(205),min:a(2170),max:a(3030),scale:a(5510),scaleAndAdd:a(4224),distance:a(5446),squaredDistance:a(1542),length:a(8177),squaredLength:a(9037),negate:a(6459),inverse:a(8057),normalize:a(381),dot:a(4242),lerp:a(8746),random:a(3770),transformMat4:a(6342),transformQuat:a(5022)}},8057:function(f){f.exports=function(l,a){return l[0]=1/a[0],l[1]=1/a[1],l[2]=1/a[2],l[3]=1/a[3],l}},8177:function(f){f.exports=function(l){var a=l[0],u=l[1],o=l[2],s=l[3];return Math.sqrt(a*a+u*u+o*o+s*s)}},8746:function(f){f.exports=function(l,a,u,o){var s=a[0],c=a[1],h=a[2],m=a[3];return l[0]=s+o*(u[0]-s),l[1]=c+o*(u[1]-c),l[2]=h+o*(u[2]-h),l[3]=m+o*(u[3]-m),l}},3030:function(f){f.exports=function(l,a,u){return l[0]=Math.max(a[0],u[0]),l[1]=Math.max(a[1],u[1]),l[2]=Math.max(a[2],u[2]),l[3]=Math.max(a[3],u[3]),l}},2170:function(f){f.exports=function(l,a,u){return l[0]=Math.min(a[0],u[0]),l[1]=Math.min(a[1],u[1]),l[2]=Math.min(a[2],u[2]),l[3]=Math.min(a[3],u[3]),l}},746:function(f){f.exports=function(l,a,u){return l[0]=a[0]*u[0],l[1]=a[1]*u[1],l[2]=a[2]*u[2],l[3]=a[3]*u[3],l}},6459:function(f){f.exports=function(l,a){return l[0]=-a[0],l[1]=-a[1],l[2]=-a[2],l[3]=-a[3],l}},381:function(f){f.exports=function(l,a){var u=a[0],o=a[1],s=a[2],c=a[3],h=u*u+o*o+s*s+c*c;return h>0&&(h=1/Math.sqrt(h),l[0]=u*h,l[1]=o*h,l[2]=s*h,l[3]=c*h),l}},3770:function(f,l,a){var u=a(381),o=a(5510);f.exports=function(s,c){return c=c||1,s[0]=Math.random(),s[1]=Math.random(),s[2]=Math.random(),s[3]=Math.random(),u(s,s),o(s,s,c),s}},5510:function(f){f.exports=function(l,a,u){return l[0]=a[0]*u,l[1]=a[1]*u,l[2]=a[2]*u,l[3]=a[3]*u,l}},4224:function(f){f.exports=function(l,a,u,o){return l[0]=a[0]+u[0]*o,l[1]=a[1]+u[1]*o,l[2]=a[2]+u[2]*o,l[3]=a[3]+u[3]*o,l}},6453:function(f){f.exports=function(l,a,u,o,s){return l[0]=a,l[1]=u,l[2]=o,l[3]=s,l}},1542:function(f){f.exports=function(l,a){var u=a[0]-l[0],o=a[1]-l[1],s=a[2]-l[2],c=a[3]-l[3];return u*u+o*o+s*s+c*c}},9037:function(f){f.exports=function(l){var a=l[0],u=l[1],o=l[2],s=l[3];return a*a+u*u+o*o+s*s}},2705:function(f){f.exports=function(l,a,u){return l[0]=a[0]-u[0],l[1]=a[1]-u[1],l[2]=a[2]-u[2],l[3]=a[3]-u[3],l}},6342:function(f){f.exports=function(l,a,u){var o=a[0],s=a[1],c=a[2],h=a[3];return l[0]=u[0]*o+u[4]*s+u[8]*c+u[12]*h,l[1]=u[1]*o+u[5]*s+u[9]*c+u[13]*h,l[2]=u[2]*o+u[6]*s+u[10]*c+u[14]*h,l[3]=u[3]*o+u[7]*s+u[11]*c+u[15]*h,l}},5022:function(f){f.exports=function(l,a,u){var o=a[0],s=a[1],c=a[2],h=u[0],m=u[1],w=u[2],y=u[3],S=y*o+m*c-w*s,_=y*s+w*o-h*c,k=y*c+h*s-m*o,E=-h*o-m*s-w*c;return l[0]=S*y+E*-h+_*-w-k*-m,l[1]=_*y+E*-m+k*-h-S*-w,l[2]=k*y+E*-w+S*-m-_*-h,l[3]=a[3],l}},9365:function(f,l,a){var u=a(8096),o=a(7896);f.exports=function(s){for(var c=Array.isArray(s)?s:u(s),h=0;hpe&&Pe>0){var _e=(xe[Pe][0]-pe)/(xe[Pe][0]-xe[Pe-1][0]);return xe[Pe][1]*(1-_e)+_e*xe[Pe-1][1]}}return 1}(de/255,oe):ye[3];return me<1&&(ue=!0),[ye[0],ye[1],ye[2],255*me]})]);return w.divseq(ce,255),this.hasAlphaScale=ue,ce},j.isTransparent=function(){return this.opacity<1||this.hasAlphaScale},j.isOpaque=function(){return!this.isTransparent()},j.pickSlots=1,j.setPickBase=function(ie){this.pickId=ie};var $=[0,0,0],U={showSurface:!1,showContour:!1,projections:[z.slice(),z.slice(),z.slice()],clipBounds:[[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]]]};function G(ie,oe){var ue,ce,ye,de=oe.axes&&oe.axes.lastCubeProps.axis||$,me=oe.showSurface,pe=oe.showContour;for(ue=0;ue<3;++ue)for(me=me||oe.surfaceProject[ue],ce=0;ce<3;++ce)pe=pe||oe.contourProject[ue][ce];for(ue=0;ue<3;++ue){var xe=U.projections[ue];for(ce=0;ce<16;++ce)xe[ce]=0;for(ce=0;ce<4;++ce)xe[5*ce]=1;xe[5*ue]=0,xe[12+ue]=oe.axesBounds[+(de[ue]>0)][ue],k(xe,ie.model,xe);var Pe=U.clipBounds[ue];for(ye=0;ye<2;++ye)for(ce=0;ce<3;++ce)Pe[ye][ce]=ie.clipBounds[ye][ce];Pe[0][ue]=-1e8,Pe[1][ue]=1e8}return U.showSurface=me,U.showContour=pe,U}var q={model:z,view:z,projection:z,inverseModel:z.slice(),lowerBound:[0,0,0],upperBound:[0,0,0],colorMap:0,clipBounds:[[0,0,0],[0,0,0]],height:0,contourTint:0,contourColor:[0,0,0,1],permutation:[1,0,0,0,1,0,0,0,1],zOffset:-1e-4,objectOffset:[0,0,0],kambient:1,kdiffuse:1,kspecular:1,lightPosition:[1e3,1e3,1e3],eyePosition:[0,0,0],roughness:1,fresnel:1,opacity:1,vertexColor:0},H=z.slice(),ne=[1,0,0,0,1,0,0,0,1];function te(ie,oe){ie=ie||{};var ue=this.gl;ue.disable(ue.CULL_FACE),this._colorMap.bind(0);var ce=q;ce.model=ie.model||z,ce.view=ie.view||z,ce.projection=ie.projection||z,ce.lowerBound=[this.bounds[0][0],this.bounds[0][1],this.colorBounds[0]||this.bounds[0][2]],ce.upperBound=[this.bounds[1][0],this.bounds[1][1],this.colorBounds[1]||this.bounds[1][2]],ce.objectOffset=this.objectOffset,ce.contourColor=this.contourColor[0],ce.inverseModel=E(ce.inverseModel,ce.model);for(var ye=0;ye<2;++ye)for(var de=ce.clipBounds[ye],me=0;me<3;++me)de[me]=Math.min(Math.max(this.clipBounds[ye][me],-1e8),1e8);ce.kambient=this.ambientLight,ce.kdiffuse=this.diffuseLight,ce.kspecular=this.specularLight,ce.roughness=this.roughness,ce.fresnel=this.fresnel,ce.opacity=this.opacity,ce.height=0,ce.permutation=ne,ce.vertexColor=this.vertexColor;var pe=H;for(k(pe,ce.view,ce.model),k(pe,ce.projection,pe),E(pe,pe),ye=0;ye<3;++ye)ce.eyePosition[ye]=pe[12+ye]/pe[15];var xe=pe[15];for(ye=0;ye<3;++ye)xe+=this.lightPosition[ye]*pe[4*ye+3];for(ye=0;ye<3;++ye){var Pe=pe[12+ye];for(me=0;me<3;++me)Pe+=pe[4*me+ye]*this.lightPosition[me];ce.lightPosition[ye]=Pe/xe}var _e=G(ce,this);if(_e.showSurface){for(this._shader.bind(),this._shader.uniforms=ce,this._vao.bind(),this.showSurface&&this._vertexCount&&this._vao.draw(ue.TRIANGLES,this._vertexCount),ye=0;ye<3;++ye)this.surfaceProject[ye]&&this.vertexCount&&(this._shader.uniforms.model=_e.projections[ye],this._shader.uniforms.clipBounds=_e.clipBounds[ye],this._vao.draw(ue.TRIANGLES,this._vertexCount));this._vao.unbind()}if(_e.showContour){var Me=this._contourShader;ce.kambient=1,ce.kdiffuse=0,ce.kspecular=0,ce.opacity=1,Me.bind(),Me.uniforms=ce;var Se=this._contourVAO;for(Se.bind(),ye=0;ye<3;++ye)for(Me.uniforms.permutation=B[ye],ue.lineWidth(this.contourWidth[ye]*this.pixelRatio),me=0;me>4)/16)/255,ye=Math.floor(ce),de=ce-ye,me=oe[1]*(ie.value[1]+(15&ie.value[2])/16)/255,pe=Math.floor(me),xe=me-pe;ye+=1,pe+=1;var Pe=ue.position;Pe[0]=Pe[1]=Pe[2]=0;for(var _e=0;_e<2;++_e)for(var Me=_e?de:1-de,Se=0;Se<2;++Se)for(var Ce=ye+_e,ae=pe+Se,fe=Me*(Se?xe:1-xe),be=0;be<3;++be)Pe[be]+=this._field[be].get(Ce,ae)*fe;for(var ke=this._pickResult.level,Le=0;Le<3;++Le)if(ke[Le]=x.le(this.contourLevels[Le],Pe[Le]),ke[Le]<0)this.contourLevels[Le].length>0&&(ke[Le]=0);else if(ke[Le]Math.abs(ze-Pe[Le])&&(ke[Le]+=1)}for(ue.index[0]=de<.5?ye:ye+1,ue.index[1]=xe<.5?pe:pe+1,ue.uv[0]=ce/oe[0],ue.uv[1]=me/oe[1],be=0;be<3;++be)ue.dataCoordinate[be]=this._field[be].get(ue.index[0],ue.index[1]);return ue},j.padField=function(ie,oe){var ue=oe.shape.slice(),ce=ie.shape.slice();w.assign(ie.lo(1,1).hi(ue[0],ue[1]),oe),w.assign(ie.lo(1).hi(ue[0],1),oe.hi(ue[0],1)),w.assign(ie.lo(1,ce[1]-1).hi(ue[0],1),oe.lo(0,ue[1]-1).hi(ue[0],1)),w.assign(ie.lo(0,1).hi(1,ue[1]),oe.hi(1)),w.assign(ie.lo(ce[0]-1,1).hi(1,ue[1]),oe.lo(ue[0]-1)),ie.set(0,0,oe.get(0,0)),ie.set(0,ce[1]-1,oe.get(0,ue[1]-1)),ie.set(ce[0]-1,0,oe.get(ue[0]-1,0)),ie.set(ce[0]-1,ce[1]-1,oe.get(ue[0]-1,ue[1]-1))},j.update=function(ie){ie=ie||{},this.objectOffset=ie.objectOffset||this.objectOffset,this.dirty=!0,"contourWidth"in ie&&(this.contourWidth=X(ie.contourWidth,Number)),"showContour"in ie&&(this.showContour=X(ie.showContour,Boolean)),"showSurface"in ie&&(this.showSurface=!!ie.showSurface),"contourTint"in ie&&(this.contourTint=X(ie.contourTint,Boolean)),"contourColor"in ie&&(this.contourColor=re(ie.contourColor)),"contourProject"in ie&&(this.contourProject=X(ie.contourProject,function(kn){return X(kn,Boolean)})),"surfaceProject"in ie&&(this.surfaceProject=ie.surfaceProject),"dynamicColor"in ie&&(this.dynamicColor=re(ie.dynamicColor)),"dynamicTint"in ie&&(this.dynamicTint=X(ie.dynamicTint,Number)),"dynamicWidth"in ie&&(this.dynamicWidth=X(ie.dynamicWidth,Number)),"opacity"in ie&&(this.opacity=ie.opacity),"opacityscale"in ie&&(this.opacityscale=ie.opacityscale),"colorBounds"in ie&&(this.colorBounds=ie.colorBounds),"vertexColor"in ie&&(this.vertexColor=ie.vertexColor?1:0),"colormap"in ie&&this._colorMap.setPixels(this.genColormap(ie.colormap,this.opacityscale));var oe=ie.field||ie.coords&&ie.coords[2]||null,ue=!1;if(oe||(oe=this._field[2].shape[0]||this._field[2].shape[2]?this._field[2].lo(1,1).hi(this._field[2].shape[0]-2,this._field[2].shape[1]-2):this._field[2].hi(0,0)),"field"in ie||"coords"in ie){var ce=(oe.shape[0]+2)*(oe.shape[1]+2);ce>this._field[2].data.length&&(c.freeFloat(this._field[2].data),this._field[2].data=c.mallocFloat(u.nextPow2(ce))),this._field[2]=C(this._field[2].data,[oe.shape[0]+2,oe.shape[1]+2]),this.padField(this._field[2],oe),this.shape=oe.shape.slice();for(var ye=this.shape,de=0;de<2;++de)this._field[2].size>this._field[de].data.length&&(c.freeFloat(this._field[de].data),this._field[de].data=c.mallocFloat(this._field[2].size)),this._field[de]=C(this._field[de].data,[ye[0]+2,ye[1]+2]);if(ie.coords){var me=ie.coords;if(!Array.isArray(me)||me.length!==3)throw new Error("gl-surface: invalid coordinates for x/y");for(de=0;de<2;++de){var pe=me[de];for(Se=0;Se<2;++Se)if(pe.shape[Se]!==ye[Se])throw new Error("gl-surface: coords have incorrect shape");this.padField(this._field[de],pe)}}else if(ie.ticks){var xe=ie.ticks;if(!Array.isArray(xe)||xe.length!==2)throw new Error("gl-surface: invalid ticks");for(de=0;de<2;++de){var Pe=xe[de];if((Array.isArray(Pe)||Pe.length)&&(Pe=C(Pe)),Pe.shape[0]!==ye[de])throw new Error("gl-surface: invalid tick length");var _e=C(Pe.data,ye);_e.stride[de]=Pe.stride[0],_e.stride[1^de]=0,this.padField(this._field[de],_e)}}else{for(de=0;de<2;++de){var Me=[0,0];Me[de]=1,this._field[de]=C(this._field[de].data,[ye[0]+2,ye[1]+2],Me,0)}this._field[0].set(0,0,0);for(var Se=0;Se0){for(var An=0;An<5;++An)ft.pop();kt-=1}continue e}ft.push(dt[0],dt[1],Lt[0],Lt[1],dt[2]),kt+=1}}ut.push(kt)}this._contourOffsets[Re]=Qe,this._contourCounts[Re]=ut}var Yn=c.mallocFloat(ft.length);for(de=0;deB||z<0||z>B)throw new Error("gl-texture2d: Invalid texture size");return I._shape=[O,z],I.bind(),F.texImage2D(F.TEXTURE_2D,0,I.format,O,z,0,I.format,I.type,null),I._mipLevels=[0],I}function k(I,O,z,F,B,N){this.gl=I,this.handle=O,this.format=B,this.type=N,this._shape=[z,F],this._mipLevels=[0],this._magFilter=I.NEAREST,this._minFilter=I.NEAREST,this._wrapS=I.CLAMP_TO_EDGE,this._wrapT=I.CLAMP_TO_EDGE,this._anisoSamples=1;var W=this,j=[this._wrapS,this._wrapT];Object.defineProperties(j,[{get:function(){return W._wrapS},set:function(U){return W.wrapS=U}},{get:function(){return W._wrapT},set:function(U){return W.wrapT=U}}]),this._wrapVector=j;var $=[this._shape[0],this._shape[1]];Object.defineProperties($,[{get:function(){return W._shape[0]},set:function(U){return W.width=U}},{get:function(){return W._shape[1]},set:function(U){return W.height=U}}]),this._shapeVector=$}var E=k.prototype;function x(I,O){return I.length===3?O[2]===1&&O[1]===I[0]*I[2]&&O[0]===I[2]:O[0]===1&&O[1]===I[0]}function A(I){var O=I.createTexture();return I.bindTexture(I.TEXTURE_2D,O),I.texParameteri(I.TEXTURE_2D,I.TEXTURE_MIN_FILTER,I.NEAREST),I.texParameteri(I.TEXTURE_2D,I.TEXTURE_MAG_FILTER,I.NEAREST),I.texParameteri(I.TEXTURE_2D,I.TEXTURE_WRAP_S,I.CLAMP_TO_EDGE),I.texParameteri(I.TEXTURE_2D,I.TEXTURE_WRAP_T,I.CLAMP_TO_EDGE),O}function L(I,O,z,F,B){var N=I.getParameter(I.MAX_TEXTURE_SIZE);if(O<0||O>N||z<0||z>N)throw new Error("gl-texture2d: Invalid texture shape");if(B===I.FLOAT&&!I.getExtension("OES_texture_float"))throw new Error("gl-texture2d: Floating point textures not supported on this platform");var W=A(I);return I.texImage2D(I.TEXTURE_2D,0,F,O,z,0,F,B,null),new k(I,W,O,z,F,B)}function b(I,O,z,F,B,N){var W=A(I);return I.texImage2D(I.TEXTURE_2D,0,B,B,N,O),new k(I,W,z,F,B,N)}function R(I,O){var z=O.dtype,F=O.shape.slice(),B=I.getParameter(I.MAX_TEXTURE_SIZE);if(F[0]<0||F[0]>B||F[1]<0||F[1]>B)throw new Error("gl-texture2d: Invalid texture size");var N=x(F,O.stride.slice()),W=0;z==="float32"?W=I.FLOAT:z==="float64"?(W=I.FLOAT,N=!1,z="float32"):z==="uint8"?W=I.UNSIGNED_BYTE:(W=I.UNSIGNED_BYTE,N=!1,z="uint8");var j,$,U=0;if(F.length===2)U=I.LUMINANCE,F=[F[0],F[1],1],O=u(O.data,F,[O.stride[0],O.stride[1],1],O.offset);else{if(F.length!==3)throw new Error("gl-texture2d: Invalid shape for texture");if(F[2]===1)U=I.ALPHA;else if(F[2]===2)U=I.LUMINANCE_ALPHA;else if(F[2]===3)U=I.RGB;else{if(F[2]!==4)throw new Error("gl-texture2d: Invalid shape for pixel coords");U=I.RGBA}}W!==I.FLOAT||I.getExtension("OES_texture_float")||(W=I.UNSIGNED_BYTE,N=!1);var G=O.size;if(N)j=O.offset===0&&O.data.length===G?O.data:O.data.subarray(O.offset,O.offset+G);else{var q=[F[2],F[2]*F[0],1];$=s.malloc(G,z);var H=u($,F,q,0);z!=="float32"&&z!=="float64"||W!==I.UNSIGNED_BYTE?o.assign(H,O):C(H,O),j=$.subarray(0,G)}var ne=A(I);return I.texImage2D(I.TEXTURE_2D,0,U,F[0],F[1],0,U,W,j),N||s.free($),new k(I,ne,F[0],F[1],U,W)}Object.defineProperties(E,{minFilter:{get:function(){return this._minFilter},set:function(I){this.bind();var O=this.gl;if(this.type===O.FLOAT&&h.indexOf(I)>=0&&(O.getExtension("OES_texture_float_linear")||(I=O.NEAREST)),c.indexOf(I)<0)throw new Error("gl-texture2d: Unknown filter mode "+I);return O.texParameteri(O.TEXTURE_2D,O.TEXTURE_MIN_FILTER,I),this._minFilter=I}},magFilter:{get:function(){return this._magFilter},set:function(I){this.bind();var O=this.gl;if(this.type===O.FLOAT&&h.indexOf(I)>=0&&(O.getExtension("OES_texture_float_linear")||(I=O.NEAREST)),c.indexOf(I)<0)throw new Error("gl-texture2d: Unknown filter mode "+I);return O.texParameteri(O.TEXTURE_2D,O.TEXTURE_MAG_FILTER,I),this._magFilter=I}},mipSamples:{get:function(){return this._anisoSamples},set:function(I){var O=this._anisoSamples;if(this._anisoSamples=0|Math.max(I,1),O!==this._anisoSamples){var z=this.gl.getExtension("EXT_texture_filter_anisotropic");z&&this.gl.texParameterf(this.gl.TEXTURE_2D,z.TEXTURE_MAX_ANISOTROPY_EXT,this._anisoSamples)}return this._anisoSamples}},wrapS:{get:function(){return this._wrapS},set:function(I){if(this.bind(),m.indexOf(I)<0)throw new Error("gl-texture2d: Unknown wrap mode "+I);return this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_S,I),this._wrapS=I}},wrapT:{get:function(){return this._wrapT},set:function(I){if(this.bind(),m.indexOf(I)<0)throw new Error("gl-texture2d: Unknown wrap mode "+I);return this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_T,I),this._wrapT=I}},wrap:{get:function(){return this._wrapVector},set:function(I){if(Array.isArray(I)||(I=[I,I]),I.length!==2)throw new Error("gl-texture2d: Must specify wrap mode for rows and columns");for(var O=0;O<2;++O)if(m.indexOf(I[O])<0)throw new Error("gl-texture2d: Unknown wrap mode "+I);this._wrapS=I[0],this._wrapT=I[1];var z=this.gl;return this.bind(),z.texParameteri(z.TEXTURE_2D,z.TEXTURE_WRAP_S,this._wrapS),z.texParameteri(z.TEXTURE_2D,z.TEXTURE_WRAP_T,this._wrapT),I}},shape:{get:function(){return this._shapeVector},set:function(I){if(Array.isArray(I)){if(I.length!==2)throw new Error("gl-texture2d: Invalid texture shape")}else I=[0|I,0|I];return _(this,0|I[0],0|I[1]),[0|I[0],0|I[1]]}},width:{get:function(){return this._shape[0]},set:function(I){return _(this,I|=0,this._shape[1]),I}},height:{get:function(){return this._shape[1]},set:function(I){return I|=0,_(this,this._shape[0],I),I}}}),E.bind=function(I){var O=this.gl;return I!==void 0&&O.activeTexture(O.TEXTURE0+(0|I)),O.bindTexture(O.TEXTURE_2D,this.handle),I!==void 0?0|I:O.getParameter(O.ACTIVE_TEXTURE)-O.TEXTURE0},E.dispose=function(){this.gl.deleteTexture(this.handle)},E.generateMipmap=function(){this.bind(),this.gl.generateMipmap(this.gl.TEXTURE_2D);for(var I=Math.min(this._shape[0],this._shape[1]),O=0;I>0;++O,I>>>=1)this._mipLevels.indexOf(O)<0&&this._mipLevels.push(O)},E.setPixels=function(I,O,z,F){var B=this.gl;this.bind(),Array.isArray(O)?(F=z,z=0|O[1],O=0|O[0]):(O=O||0,z=z||0),F=F||0;var N=y(I)?I:I.raw;if(N)this._mipLevels.indexOf(F)<0?(B.texImage2D(B.TEXTURE_2D,0,this.format,this.format,this.type,N),this._mipLevels.push(F)):B.texSubImage2D(B.TEXTURE_2D,F,O,z,this.format,this.type,N);else{if(!(I.shape&&I.stride&&I.data))throw new Error("gl-texture2d: Unsupported data type");if(I.shape.length<2||O+I.shape[1]>this._shape[1]>>>F||z+I.shape[0]>this._shape[0]>>>F||O<0||z<0)throw new Error("gl-texture2d: Texture dimensions are out of bounds");(function(W,j,$,U,G,q,H,ne){var te=ne.dtype,Z=ne.shape.slice();if(Z.length<2||Z.length>3)throw new Error("gl-texture2d: Invalid ndarray, must be 2d or 3d");var X=0,Q=0,re=x(Z,ne.stride.slice());if(te==="float32"?X=W.FLOAT:te==="float64"?(X=W.FLOAT,re=!1,te="float32"):te==="uint8"?X=W.UNSIGNED_BYTE:(X=W.UNSIGNED_BYTE,re=!1,te="uint8"),Z.length===2)Q=W.LUMINANCE,Z=[Z[0],Z[1],1],ne=u(ne.data,Z,[ne.stride[0],ne.stride[1],1],ne.offset);else{if(Z.length!==3)throw new Error("gl-texture2d: Invalid shape for texture");if(Z[2]===1)Q=W.ALPHA;else if(Z[2]===2)Q=W.LUMINANCE_ALPHA;else if(Z[2]===3)Q=W.RGB;else{if(Z[2]!==4)throw new Error("gl-texture2d: Invalid shape for pixel coords");Q=W.RGBA}Z[2]}if(Q!==W.LUMINANCE&&Q!==W.ALPHA||G!==W.LUMINANCE&&G!==W.ALPHA||(Q=G),Q!==G)throw new Error("gl-texture2d: Incompatible texture format for setPixels");var ie=ne.size,oe=H.indexOf(U)<0;if(oe&&H.push(U),X===q&&re)ne.offset===0&&ne.data.length===ie?oe?W.texImage2D(W.TEXTURE_2D,U,G,Z[0],Z[1],0,G,q,ne.data):W.texSubImage2D(W.TEXTURE_2D,U,j,$,Z[0],Z[1],G,q,ne.data):oe?W.texImage2D(W.TEXTURE_2D,U,G,Z[0],Z[1],0,G,q,ne.data.subarray(ne.offset,ne.offset+ie)):W.texSubImage2D(W.TEXTURE_2D,U,j,$,Z[0],Z[1],G,q,ne.data.subarray(ne.offset,ne.offset+ie));else{var ue;ue=q===W.FLOAT?s.mallocFloat32(ie):s.mallocUint8(ie);var ce=u(ue,Z,[Z[2],Z[2]*Z[0],1]);X===W.FLOAT&&q===W.UNSIGNED_BYTE?C(ce,ne):o.assign(ce,ne),oe?W.texImage2D(W.TEXTURE_2D,U,G,Z[0],Z[1],0,G,q,ue.subarray(0,ie)):W.texSubImage2D(W.TEXTURE_2D,U,j,$,Z[0],Z[1],G,q,ue.subarray(0,ie)),q===W.FLOAT?s.freeFloat32(ue):s.freeUint8(ue)}})(B,O,z,F,this.format,this.type,this._mipLevels,I)}}},3056:function(f){f.exports=function(l,a,u){a?a.bind():l.bindBuffer(l.ELEMENT_ARRAY_BUFFER,null);var o=0|l.getParameter(l.MAX_VERTEX_ATTRIBS);if(u){if(u.length>o)throw new Error("gl-vao: Too many vertex attributes");for(var s=0;s1?0:Math.acos(y)};var u=a(5415),o=a(899),s=a(9305)},8827:function(f){f.exports=function(l,a){return l[0]=Math.ceil(a[0]),l[1]=Math.ceil(a[1]),l[2]=Math.ceil(a[2]),l}},7622:function(f){f.exports=function(l){var a=new Float32Array(3);return a[0]=l[0],a[1]=l[1],a[2]=l[2],a}},8782:function(f){f.exports=function(l,a){return l[0]=a[0],l[1]=a[1],l[2]=a[2],l}},8501:function(f){f.exports=function(){var l=new Float32Array(3);return l[0]=0,l[1]=0,l[2]=0,l}},903:function(f){f.exports=function(l,a,u){var o=a[0],s=a[1],h=a[2],c=u[0],m=u[1],w=u[2];return l[0]=s*w-h*m,l[1]=h*c-o*w,l[2]=o*m-s*c,l}},5981:function(f,l,a){f.exports=a(8288)},8288:function(f){f.exports=function(l,a){var u=a[0]-l[0],o=a[1]-l[1],s=a[2]-l[2];return Math.sqrt(u*u+o*o+s*s)}},8629:function(f,l,a){f.exports=a(7979)},7979:function(f){f.exports=function(l,a,u){return l[0]=a[0]/u[0],l[1]=a[1]/u[1],l[2]=a[2]/u[2],l}},9305:function(f){f.exports=function(l,a){return l[0]*a[0]+l[1]*a[1]+l[2]*a[2]}},154:function(f){f.exports=1e-6},4932:function(f,l,a){f.exports=function(o,s){var h=o[0],c=o[1],m=o[2],w=s[0],y=s[1],C=s[2];return Math.abs(h-w)<=u*Math.max(1,Math.abs(h),Math.abs(w))&&Math.abs(c-y)<=u*Math.max(1,Math.abs(c),Math.abs(y))&&Math.abs(m-C)<=u*Math.max(1,Math.abs(m),Math.abs(C))};var u=a(154)},5777:function(f){f.exports=function(l,a){return l[0]===a[0]&&l[1]===a[1]&&l[2]===a[2]}},3306:function(f){f.exports=function(l,a){return l[0]=Math.floor(a[0]),l[1]=Math.floor(a[1]),l[2]=Math.floor(a[2]),l}},7447:function(f,l,a){f.exports=function(o,s,h,c,m,w){var y,C;for(s||(s=3),h||(h=0),C=c?Math.min(c*s+h,o.length):o.length,y=h;y0&&(h=1/Math.sqrt(h),l[0]=a[0]*h,l[1]=a[1]*h,l[2]=a[2]*h),l}},6660:function(f){f.exports=function(l,a){a=a||1;var u=2*Math.random()*Math.PI,o=2*Math.random()-1,s=Math.sqrt(1-o*o)*a;return l[0]=Math.cos(u)*s,l[1]=Math.sin(u)*s,l[2]=o*a,l}},392:function(f){f.exports=function(l,a,u,o){var s=u[1],h=u[2],c=a[1]-s,m=a[2]-h,w=Math.sin(o),y=Math.cos(o);return l[0]=a[0],l[1]=s+c*y-m*w,l[2]=h+c*w+m*y,l}},3222:function(f){f.exports=function(l,a,u,o){var s=u[0],h=u[2],c=a[0]-s,m=a[2]-h,w=Math.sin(o),y=Math.cos(o);return l[0]=s+m*w+c*y,l[1]=a[1],l[2]=h+m*y-c*w,l}},3388:function(f){f.exports=function(l,a,u,o){var s=u[0],h=u[1],c=a[0]-s,m=a[1]-h,w=Math.sin(o),y=Math.cos(o);return l[0]=s+c*y-m*w,l[1]=h+c*w+m*y,l[2]=a[2],l}},1624:function(f){f.exports=function(l,a){return l[0]=Math.round(a[0]),l[1]=Math.round(a[1]),l[2]=Math.round(a[2]),l}},5685:function(f){f.exports=function(l,a,u){return l[0]=a[0]*u,l[1]=a[1]*u,l[2]=a[2]*u,l}},6722:function(f){f.exports=function(l,a,u,o){return l[0]=a[0]+u[0]*o,l[1]=a[1]+u[1]*o,l[2]=a[2]+u[2]*o,l}},831:function(f){f.exports=function(l,a,u,o){return l[0]=a,l[1]=u,l[2]=o,l}},5294:function(f,l,a){f.exports=a(6403)},3303:function(f,l,a){f.exports=a(4337)},6403:function(f){f.exports=function(l,a){var u=a[0]-l[0],o=a[1]-l[1],s=a[2]-l[2];return u*u+o*o+s*s}},4337:function(f){f.exports=function(l){var a=l[0],u=l[1],o=l[2];return a*a+u*u+o*o}},8921:function(f,l,a){f.exports=a(911)},911:function(f){f.exports=function(l,a,u){return l[0]=a[0]-u[0],l[1]=a[1]-u[1],l[2]=a[2]-u[2],l}},9908:function(f){f.exports=function(l,a,u){var o=a[0],s=a[1],h=a[2];return l[0]=o*u[0]+s*u[3]+h*u[6],l[1]=o*u[1]+s*u[4]+h*u[7],l[2]=o*u[2]+s*u[5]+h*u[8],l}},3255:function(f){f.exports=function(l,a,u){var o=a[0],s=a[1],h=a[2],c=u[3]*o+u[7]*s+u[11]*h+u[15];return c=c||1,l[0]=(u[0]*o+u[4]*s+u[8]*h+u[12])/c,l[1]=(u[1]*o+u[5]*s+u[9]*h+u[13])/c,l[2]=(u[2]*o+u[6]*s+u[10]*h+u[14])/c,l}},6568:function(f){f.exports=function(l,a,u){var o=a[0],s=a[1],h=a[2],c=u[0],m=u[1],w=u[2],y=u[3],C=y*o+m*h-w*s,_=y*s+w*o-c*h,k=y*h+c*s-m*o,E=-c*o-m*s-w*h;return l[0]=C*y+E*-c+_*-w-k*-m,l[1]=_*y+E*-m+k*-c-C*-w,l[2]=k*y+E*-w+C*-m-_*-c,l}},3433:function(f){f.exports=function(l,a,u){return l[0]=a[0]+u[0],l[1]=a[1]+u[1],l[2]=a[2]+u[2],l[3]=a[3]+u[3],l}},1413:function(f){f.exports=function(l){var a=new Float32Array(4);return a[0]=l[0],a[1]=l[1],a[2]=l[2],a[3]=l[3],a}},3470:function(f){f.exports=function(l,a){return l[0]=a[0],l[1]=a[1],l[2]=a[2],l[3]=a[3],l}},5313:function(f){f.exports=function(){var l=new Float32Array(4);return l[0]=0,l[1]=0,l[2]=0,l[3]=0,l}},5446:function(f){f.exports=function(l,a){var u=a[0]-l[0],o=a[1]-l[1],s=a[2]-l[2],h=a[3]-l[3];return Math.sqrt(u*u+o*o+s*s+h*h)}},205:function(f){f.exports=function(l,a,u){return l[0]=a[0]/u[0],l[1]=a[1]/u[1],l[2]=a[2]/u[2],l[3]=a[3]/u[3],l}},4242:function(f){f.exports=function(l,a){return l[0]*a[0]+l[1]*a[1]+l[2]*a[2]+l[3]*a[3]}},5680:function(f){f.exports=function(l,a,u,o){var s=new Float32Array(4);return s[0]=l,s[1]=a,s[2]=u,s[3]=o,s}},4020:function(f,l,a){f.exports={create:a(5313),clone:a(1413),fromValues:a(5680),copy:a(3470),set:a(6453),add:a(3433),subtract:a(2705),multiply:a(746),divide:a(205),min:a(2170),max:a(3030),scale:a(5510),scaleAndAdd:a(4224),distance:a(5446),squaredDistance:a(1542),length:a(8177),squaredLength:a(9037),negate:a(6459),inverse:a(8057),normalize:a(381),dot:a(4242),lerp:a(8746),random:a(3770),transformMat4:a(6342),transformQuat:a(5022)}},8057:function(f){f.exports=function(l,a){return l[0]=1/a[0],l[1]=1/a[1],l[2]=1/a[2],l[3]=1/a[3],l}},8177:function(f){f.exports=function(l){var a=l[0],u=l[1],o=l[2],s=l[3];return Math.sqrt(a*a+u*u+o*o+s*s)}},8746:function(f){f.exports=function(l,a,u,o){var s=a[0],h=a[1],c=a[2],m=a[3];return l[0]=s+o*(u[0]-s),l[1]=h+o*(u[1]-h),l[2]=c+o*(u[2]-c),l[3]=m+o*(u[3]-m),l}},3030:function(f){f.exports=function(l,a,u){return l[0]=Math.max(a[0],u[0]),l[1]=Math.max(a[1],u[1]),l[2]=Math.max(a[2],u[2]),l[3]=Math.max(a[3],u[3]),l}},2170:function(f){f.exports=function(l,a,u){return l[0]=Math.min(a[0],u[0]),l[1]=Math.min(a[1],u[1]),l[2]=Math.min(a[2],u[2]),l[3]=Math.min(a[3],u[3]),l}},746:function(f){f.exports=function(l,a,u){return l[0]=a[0]*u[0],l[1]=a[1]*u[1],l[2]=a[2]*u[2],l[3]=a[3]*u[3],l}},6459:function(f){f.exports=function(l,a){return l[0]=-a[0],l[1]=-a[1],l[2]=-a[2],l[3]=-a[3],l}},381:function(f){f.exports=function(l,a){var u=a[0],o=a[1],s=a[2],h=a[3],c=u*u+o*o+s*s+h*h;return c>0&&(c=1/Math.sqrt(c),l[0]=u*c,l[1]=o*c,l[2]=s*c,l[3]=h*c),l}},3770:function(f,l,a){var u=a(381),o=a(5510);f.exports=function(s,h){return h=h||1,s[0]=Math.random(),s[1]=Math.random(),s[2]=Math.random(),s[3]=Math.random(),u(s,s),o(s,s,h),s}},5510:function(f){f.exports=function(l,a,u){return l[0]=a[0]*u,l[1]=a[1]*u,l[2]=a[2]*u,l[3]=a[3]*u,l}},4224:function(f){f.exports=function(l,a,u,o){return l[0]=a[0]+u[0]*o,l[1]=a[1]+u[1]*o,l[2]=a[2]+u[2]*o,l[3]=a[3]+u[3]*o,l}},6453:function(f){f.exports=function(l,a,u,o,s){return l[0]=a,l[1]=u,l[2]=o,l[3]=s,l}},1542:function(f){f.exports=function(l,a){var u=a[0]-l[0],o=a[1]-l[1],s=a[2]-l[2],h=a[3]-l[3];return u*u+o*o+s*s+h*h}},9037:function(f){f.exports=function(l){var a=l[0],u=l[1],o=l[2],s=l[3];return a*a+u*u+o*o+s*s}},2705:function(f){f.exports=function(l,a,u){return l[0]=a[0]-u[0],l[1]=a[1]-u[1],l[2]=a[2]-u[2],l[3]=a[3]-u[3],l}},6342:function(f){f.exports=function(l,a,u){var o=a[0],s=a[1],h=a[2],c=a[3];return l[0]=u[0]*o+u[4]*s+u[8]*h+u[12]*c,l[1]=u[1]*o+u[5]*s+u[9]*h+u[13]*c,l[2]=u[2]*o+u[6]*s+u[10]*h+u[14]*c,l[3]=u[3]*o+u[7]*s+u[11]*h+u[15]*c,l}},5022:function(f){f.exports=function(l,a,u){var o=a[0],s=a[1],h=a[2],c=u[0],m=u[1],w=u[2],y=u[3],C=y*o+m*h-w*s,_=y*s+w*o-c*h,k=y*h+c*s-m*o,E=-c*o-m*s-w*h;return l[0]=C*y+E*-c+_*-w-k*-m,l[1]=_*y+E*-m+k*-c-C*-w,l[2]=k*y+E*-w+C*-m-_*-c,l[3]=a[3],l}},9365:function(f,l,a){var u=a(8096),o=a(7896);f.exports=function(s){for(var h=Array.isArray(s)?s:u(s),c=0;c0)continue;ye=ue.slice(0,1).join("")}return G(ye),z+=ye.length,(b=b.slice(ye.length)).length}}function Q(){return/[^a-fA-F0-9]/.test(_)?(G(b.join("")),L=m,x):(b.push(_),k=_,x+1)}function re(){return _==="."||/[eE]/.test(_)?(b.push(_),L=5,k=_,x+1):_==="x"&&b.length===1&&b[0]==="0"?(L=11,b.push(_),k=_,x+1):/[^\d]/.test(_)?(G(b.join("")),L=m,x):(b.push(_),k=_,x+1)}function ie(){return _==="f"&&(b.push(_),k=_,x+=1),/[eE]/.test(_)?(b.push(_),k=_,x+1):(_!=="-"&&_!=="+"||!/[eE]/.test(k))&&/[^\d]/.test(_)?(G(b.join("")),L=m,x):(b.push(_),k=_,x+1)}function oe(){if(/[^\d\w_]/.test(_)){var ue=b.join("");return L=U[ue]?8:$[ue]?7:6,G(b.join("")),L=m,x}return b.push(_),k=_,x+1}};var u=a(399),o=a(9746),s=a(9525),c=a(9458),h=a(3585),m=999,w=9999,y=["block-comment","line-comment","preprocessor","operator","integer","float","ident","builtin","keyword","whitespace","eof","integer"]},3585:function(f,l,a){var u=a(9525);u=u.slice().filter(function(o){return!/^(gl\_|texture)/.test(o)}),f.exports=u.concat(["gl_VertexID","gl_InstanceID","gl_Position","gl_PointSize","gl_FragCoord","gl_FrontFacing","gl_FragDepth","gl_PointCoord","gl_MaxVertexAttribs","gl_MaxVertexUniformVectors","gl_MaxVertexOutputVectors","gl_MaxFragmentInputVectors","gl_MaxVertexTextureImageUnits","gl_MaxCombinedTextureImageUnits","gl_MaxTextureImageUnits","gl_MaxFragmentUniformVectors","gl_MaxDrawBuffers","gl_MinProgramTexelOffset","gl_MaxProgramTexelOffset","gl_DepthRangeParameters","gl_DepthRange","trunc","round","roundEven","isnan","isinf","floatBitsToInt","floatBitsToUint","intBitsToFloat","uintBitsToFloat","packSnorm2x16","unpackSnorm2x16","packUnorm2x16","unpackUnorm2x16","packHalf2x16","unpackHalf2x16","outerProduct","transpose","determinant","inverse","texture","textureSize","textureProj","textureLod","textureOffset","texelFetch","texelFetchOffset","textureProjOffset","textureLodOffset","textureProjLod","textureProjLodOffset","textureGrad","textureGradOffset","textureProjGrad","textureProjGradOffset"])},9525:function(f){f.exports=["abs","acos","all","any","asin","atan","ceil","clamp","cos","cross","dFdx","dFdy","degrees","distance","dot","equal","exp","exp2","faceforward","floor","fract","gl_BackColor","gl_BackLightModelProduct","gl_BackLightProduct","gl_BackMaterial","gl_BackSecondaryColor","gl_ClipPlane","gl_ClipVertex","gl_Color","gl_DepthRange","gl_DepthRangeParameters","gl_EyePlaneQ","gl_EyePlaneR","gl_EyePlaneS","gl_EyePlaneT","gl_Fog","gl_FogCoord","gl_FogFragCoord","gl_FogParameters","gl_FragColor","gl_FragCoord","gl_FragData","gl_FragDepth","gl_FragDepthEXT","gl_FrontColor","gl_FrontFacing","gl_FrontLightModelProduct","gl_FrontLightProduct","gl_FrontMaterial","gl_FrontSecondaryColor","gl_LightModel","gl_LightModelParameters","gl_LightModelProducts","gl_LightProducts","gl_LightSource","gl_LightSourceParameters","gl_MaterialParameters","gl_MaxClipPlanes","gl_MaxCombinedTextureImageUnits","gl_MaxDrawBuffers","gl_MaxFragmentUniformComponents","gl_MaxLights","gl_MaxTextureCoords","gl_MaxTextureImageUnits","gl_MaxTextureUnits","gl_MaxVaryingFloats","gl_MaxVertexAttribs","gl_MaxVertexTextureImageUnits","gl_MaxVertexUniformComponents","gl_ModelViewMatrix","gl_ModelViewMatrixInverse","gl_ModelViewMatrixInverseTranspose","gl_ModelViewMatrixTranspose","gl_ModelViewProjectionMatrix","gl_ModelViewProjectionMatrixInverse","gl_ModelViewProjectionMatrixInverseTranspose","gl_ModelViewProjectionMatrixTranspose","gl_MultiTexCoord0","gl_MultiTexCoord1","gl_MultiTexCoord2","gl_MultiTexCoord3","gl_MultiTexCoord4","gl_MultiTexCoord5","gl_MultiTexCoord6","gl_MultiTexCoord7","gl_Normal","gl_NormalMatrix","gl_NormalScale","gl_ObjectPlaneQ","gl_ObjectPlaneR","gl_ObjectPlaneS","gl_ObjectPlaneT","gl_Point","gl_PointCoord","gl_PointParameters","gl_PointSize","gl_Position","gl_ProjectionMatrix","gl_ProjectionMatrixInverse","gl_ProjectionMatrixInverseTranspose","gl_ProjectionMatrixTranspose","gl_SecondaryColor","gl_TexCoord","gl_TextureEnvColor","gl_TextureMatrix","gl_TextureMatrixInverse","gl_TextureMatrixInverseTranspose","gl_TextureMatrixTranspose","gl_Vertex","greaterThan","greaterThanEqual","inversesqrt","length","lessThan","lessThanEqual","log","log2","matrixCompMult","max","min","mix","mod","normalize","not","notEqual","pow","radians","reflect","refract","sign","sin","smoothstep","sqrt","step","tan","texture2D","texture2DLod","texture2DProj","texture2DProjLod","textureCube","textureCubeLod","texture2DLodEXT","texture2DProjLodEXT","textureCubeLodEXT","texture2DGradEXT","texture2DProjGradEXT","textureCubeGradEXT"]},9458:function(f,l,a){var u=a(399);f.exports=u.slice().concat(["layout","centroid","smooth","case","mat2x2","mat2x3","mat2x4","mat3x2","mat3x3","mat3x4","mat4x2","mat4x3","mat4x4","uvec2","uvec3","uvec4","samplerCubeShadow","sampler2DArray","sampler2DArrayShadow","isampler2D","isampler3D","isamplerCube","isampler2DArray","usampler2D","usampler3D","usamplerCube","usampler2DArray","coherent","restrict","readonly","writeonly","resource","atomic_uint","noperspective","patch","sample","subroutine","common","partition","active","filter","image1D","image2D","image3D","imageCube","iimage1D","iimage2D","iimage3D","iimageCube","uimage1D","uimage2D","uimage3D","uimageCube","image1DArray","image2DArray","iimage1DArray","iimage2DArray","uimage1DArray","uimage2DArray","image1DShadow","image2DShadow","image1DArrayShadow","image2DArrayShadow","imageBuffer","iimageBuffer","uimageBuffer","sampler1DArray","sampler1DArrayShadow","isampler1D","isampler1DArray","usampler1D","usampler1DArray","isampler2DRect","usampler2DRect","samplerBuffer","isamplerBuffer","usamplerBuffer","sampler2DMS","isampler2DMS","usampler2DMS","sampler2DMSArray","isampler2DMSArray","usampler2DMSArray"])},399:function(f){f.exports=["precision","highp","mediump","lowp","attribute","const","uniform","varying","break","continue","do","for","while","if","else","in","out","inout","float","int","uint","void","bool","true","false","discard","return","mat2","mat3","mat4","vec2","vec3","vec4","ivec2","ivec3","ivec4","bvec2","bvec3","bvec4","sampler1D","sampler2D","sampler3D","samplerCube","sampler1DShadow","sampler2DShadow","struct","asm","class","union","enum","typedef","template","this","packed","goto","switch","default","inline","noinline","volatile","public","static","extern","external","interface","long","short","double","half","fixed","unsigned","input","output","hvec2","hvec3","hvec4","dvec2","dvec3","dvec4","fvec2","fvec3","fvec4","sampler2DRect","sampler3DRect","sampler2DRectShadow","sizeof","cast","namespace","using"]},9746:function(f){f.exports=["<<=",">>=","++","--","<<",">>","<=",">=","==","!=","&&","||","+=","-=","*=","/=","%=","&=","^^","^=","|=","(",")","[","]",".","!","~","*","/","%","+","-","<",">","&","^","|","?",":","=",",",";","{","}"]},8096:function(f,l,a){var u=a(3193);f.exports=function(o,s){var c=u(s),h=[];return(h=h.concat(c(o))).concat(c(null))}},6832:function(f){f.exports=function(l){typeof l=="string"&&(l=[l]);for(var a=[].slice.call(arguments,1),u=[],o=0;o0;)for(var b=(S=L.pop()).adjacent,R=0;R<=k;++R){var I=b[R];if(I.boundary&&!(I.lastVisited<=-E)){for(var O=I.vertices,z=0;z<=k;++z){var F=O[z];x[z]=F<0?_:A[F]}var B=this.orient();if(B>0)return I;I.lastVisited=-E,B===0&&L.push(I)}}return null},y.walk=function(S,_){var k=this.vertices.length-1,E=this.dimension,x=this.vertices,A=this.tuple,L=_?this.interior.length*Math.random()|0:this.interior.length-1,b=this.interior[L];e:for(;!b.boundary;){for(var R=b.vertices,I=b.adjacent,O=0;O<=E;++O)A[O]=x[R[O]];for(b.lastVisited=k,O=0;O<=E;++O){var z=I[O];if(!(z.lastVisited>=k)){var F=A[O];A[O]=S;var B=this.orient();if(A[O]=F,B<0){b=z;continue e}z.boundary?z.lastVisited=-k:z.lastVisited=k}}return}return b},y.addPeaks=function(S,_){var k=this.vertices.length-1,E=this.dimension,x=this.vertices,A=this.tuple,L=this.interior,b=this.simplices,R=[_];_.lastVisited=k,_.vertices[_.vertices.indexOf(-1)]=k,_.boundary=!1,L.push(_);for(var I=[];R.length>0;){var O=(_=R.pop()).vertices,z=_.adjacent,F=O.indexOf(k);if(!(F<0)){for(var B=0;B<=E;++B)if(B!==F){var N=z[B];if(N.boundary&&!(N.lastVisited>=k)){var W=N.vertices;if(N.lastVisited!==-k){for(var j=0,$=0;$<=E;++$)W[$]<0?(j=$,A[$]=S):A[$]=x[W[$]];if(this.orient()>0){W[j]=k,N.boundary=!1,L.push(N),R.push(N),N.lastVisited=k;continue}N.lastVisited=-k}var U=N.adjacent,G=O.slice(),q=z.slice(),H=new s(G,q,!0);b.push(H);var ne=U.indexOf(_);if(!(ne<0))for(U[ne]=H,q[F]=N,G[B]=-1,q[B]=_,z[B]=H,H.flip(),$=0;$<=E;++$){var te=G[$];if(!(te<0||te===k)){for(var Z=new Array(E-1),X=0,Q=0;Q<=E;++Q){var re=G[Q];re<0||Q===$||(Z[X++]=re)}I.push(new c(Z,H,$))}}}}}}for(I.sort(h),B=0;B+1=0?L[R++]=b[O]:I=1&O;if(I===(1&S)){var z=L[0];L[0]=L[1],L[1]=z}_.push(L)}}return _}},9014:function(f,l,a){var u=a(5070);function o(R,I,O,z,F){this.mid=R,this.left=I,this.right=O,this.leftPoints=z,this.rightPoints=F,this.count=(I?I.count:0)+(O?O.count:0)+z.length}f.exports=function(R){return R&&R.length!==0?new L(A(R)):new L(null)};var s=o.prototype;function c(R,I){R.mid=I.mid,R.left=I.left,R.right=I.right,R.leftPoints=I.leftPoints,R.rightPoints=I.rightPoints,R.count=I.count}function h(R,I){var O=A(I);R.mid=O.mid,R.left=O.left,R.right=O.right,R.leftPoints=O.leftPoints,R.rightPoints=O.rightPoints,R.count=O.count}function m(R,I){var O=R.intervals([]);O.push(I),h(R,O)}function w(R,I){var O=R.intervals([]),z=O.indexOf(I);return z<0?0:(O.splice(z,1),h(R,O),1)}function y(R,I,O){for(var z=0;z=0&&R[z][1]>=I;--z){var F=O(R[z]);if(F)return F}}function _(R,I){for(var O=0;O>1],F=[],B=[],N=[];for(O=0;O3*(I+1)?m(this,R):this.left.insert(R):this.left=A([R]);else if(R[0]>this.mid)this.right?4*(this.right.count+1)>3*(I+1)?m(this,R):this.right.insert(R):this.right=A([R]);else{var O=u.ge(this.leftPoints,R,E),z=u.ge(this.rightPoints,R,x);this.leftPoints.splice(O,0,R),this.rightPoints.splice(z,0,R)}},s.remove=function(R){var I=this.count-this.leftPoints;if(R[1]3*(I-1)?w(this,R):(B=this.left.remove(R))===2?(this.left=null,this.count-=1,1):(B===1&&(this.count-=1),B):0;if(R[0]>this.mid)return this.right?4*(this.left?this.left.count:0)>3*(I-1)?w(this,R):(B=this.right.remove(R))===2?(this.right=null,this.count-=1,1):(B===1&&(this.count-=1),B):0;if(this.count===1)return this.leftPoints[0]===R?2:0;if(this.leftPoints.length===1&&this.leftPoints[0]===R){if(this.left&&this.right){for(var O=this,z=this.left;z.right;)O=z,z=z.right;if(O===this)z.right=this.right;else{var F=this.left,B=this.right;O.count-=z.count,O.right=z.left,z.left=F,z.right=B}c(this,z),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?c(this,this.left):c(this,this.right);return 1}for(F=u.ge(this.leftPoints,R,E);Fthis.mid?this.right&&(O=this.right.queryPoint(R,I))?O:S(this.rightPoints,R,I):_(this.leftPoints,I);var O},s.queryInterval=function(R,I,O){var z;return Rthis.mid&&this.right&&(z=this.right.queryInterval(R,I,O))?z:Ithis.mid?S(this.rightPoints,R,O):_(this.leftPoints,O)};var b=L.prototype;b.insert=function(R){this.root?this.root.insert(R):this.root=new o(R[0],null,null,[R],[R])},b.remove=function(R){if(this.root){var I=this.root.remove(R);return I===2&&(this.root=null),I!==0}return!1},b.queryPoint=function(R,I){if(this.root)return this.root.queryPoint(R,I)},b.queryInterval=function(R,I,O){if(R<=I&&this.root)return this.root.queryInterval(R,I,O)},Object.defineProperty(b,"count",{get:function(){return this.root?this.root.count:0}}),Object.defineProperty(b,"intervals",{get:function(){return this.root?this.root.intervals([]):[]}})},9560:function(f){f.exports=function(l){for(var a=new Array(l),u=0;u13)&&a!==32&&a!==133&&a!==160&&a!==5760&&a!==6158&&(a<8192||a>8205)&&a!==8232&&a!==8233&&a!==8239&&a!==8287&&a!==8288&&a!==12288&&a!==65279)return!1;return!0}},3578:function(f){f.exports=function(l,a,u){return l*(1-u)+a*u}},7191:function(f,l,a){var u=a(4690),o=a(9823),s=a(7332),c=a(7787),h=a(7437),m=a(2142),w={length:a(4693),normalize:a(899),dot:a(9305),cross:a(903)},y=o(),S=o(),_=[0,0,0,0],k=[[0,0,0],[0,0,0],[0,0,0]],E=[0,0,0];function x(A,L,b,R,I){A[0]=L[0]*R+b[0]*I,A[1]=L[1]*R+b[1]*I,A[2]=L[2]*R+b[2]*I}f.exports=function(A,L,b,R,I,O){if(L||(L=[0,0,0]),b||(b=[0,0,0]),R||(R=[0,0,0]),I||(I=[0,0,0,1]),O||(O=[0,0,0,1]),!u(y,A)||(s(S,y),S[3]=0,S[7]=0,S[11]=0,S[15]=1,Math.abs(c(S)<1e-8)))return!1;var z,F,B,N,W,j,$,U=y[3],G=y[7],q=y[11],H=y[12],ne=y[13],te=y[14],Z=y[15];if(U!==0||G!==0||q!==0){if(_[0]=U,_[1]=G,_[2]=q,_[3]=Z,!h(S,S))return!1;m(S,S),z=I,B=S,N=(F=_)[0],W=F[1],j=F[2],$=F[3],z[0]=B[0]*N+B[4]*W+B[8]*j+B[12]*$,z[1]=B[1]*N+B[5]*W+B[9]*j+B[13]*$,z[2]=B[2]*N+B[6]*W+B[10]*j+B[14]*$,z[3]=B[3]*N+B[7]*W+B[11]*j+B[15]*$}else I[0]=I[1]=I[2]=0,I[3]=1;if(L[0]=H,L[1]=ne,L[2]=te,function(Q,re){Q[0][0]=re[0],Q[0][1]=re[1],Q[0][2]=re[2],Q[1][0]=re[4],Q[1][1]=re[5],Q[1][2]=re[6],Q[2][0]=re[8],Q[2][1]=re[9],Q[2][2]=re[10]}(k,y),b[0]=w.length(k[0]),w.normalize(k[0],k[0]),R[0]=w.dot(k[0],k[1]),x(k[1],k[1],k[0],1,-R[0]),b[1]=w.length(k[1]),w.normalize(k[1],k[1]),R[0]/=b[1],R[1]=w.dot(k[0],k[2]),x(k[2],k[2],k[0],1,-R[1]),R[2]=w.dot(k[1],k[2]),x(k[2],k[2],k[1],1,-R[2]),b[2]=w.length(k[2]),w.normalize(k[2],k[2]),R[1]/=b[2],R[2]/=b[2],w.cross(E,k[1],k[2]),w.dot(k[0],E)<0)for(var X=0;X<3;X++)b[X]*=-1,k[X][0]*=-1,k[X][1]*=-1,k[X][2]*=-1;return O[0]=.5*Math.sqrt(Math.max(1+k[0][0]-k[1][1]-k[2][2],0)),O[1]=.5*Math.sqrt(Math.max(1-k[0][0]+k[1][1]-k[2][2],0)),O[2]=.5*Math.sqrt(Math.max(1-k[0][0]-k[1][1]+k[2][2],0)),O[3]=.5*Math.sqrt(Math.max(1+k[0][0]+k[1][1]+k[2][2],0)),k[2][1]>k[1][2]&&(O[0]=-O[0]),k[0][2]>k[2][0]&&(O[1]=-O[1]),k[1][0]>k[0][1]&&(O[2]=-O[2]),!0}},4690:function(f){f.exports=function(l,a){var u=a[15];if(u===0)return!1;for(var o=1/u,s=0;s<16;s++)l[s]=a[s]*o;return!0}},7649:function(f,l,a){var u=a(1868),o=a(1102),s=a(7191),c=a(7787),h=a(1116),m=S(),w=S(),y=S();function S(){return{translate:_(),scale:_(1),skew:_(),perspective:[0,0,0,1],quaternion:[0,0,0,1]}}function _(k){return[k||0,k||0,k||0]}f.exports=function(k,E,x,A){if(c(E)===0||c(x)===0)return!1;var L=s(E,m.translate,m.scale,m.skew,m.perspective,m.quaternion),b=s(x,w.translate,w.scale,w.skew,w.perspective,w.quaternion);return!(!L||!b||(u(y.translate,m.translate,w.translate,A),u(y.skew,m.skew,w.skew,A),u(y.scale,m.scale,w.scale,A),u(y.perspective,m.perspective,w.perspective,A),h(y.quaternion,m.quaternion,w.quaternion,A),o(k,y.translate,y.scale,y.skew,y.perspective,y.quaternion),0))}},1102:function(f,l,a){var u={identity:a(9947),translate:a(998),multiply:a(104),create:a(9823),scale:a(3668),fromRotationTranslation:a(7280)},o=(u.create(),u.create());f.exports=function(s,c,h,m,w,y){return u.identity(s),u.fromRotationTranslation(s,y,c),s[3]=w[0],s[7]=w[1],s[11]=w[2],s[15]=w[3],u.identity(o),m[2]!==0&&(o[9]=m[2],u.multiply(s,s,o)),m[1]!==0&&(o[9]=0,o[8]=m[1],u.multiply(s,s,o)),m[0]!==0&&(o[8]=0,o[4]=m[0],u.multiply(s,s,o)),u.scale(s,s,h),s}},9298:function(f,l,a){var u=a(5070),o=a(7649),s=a(7437),c=a(6109),h=a(7115),m=a(5240),w=a(3012),y=a(998),S=(a(3668),a(899)),_=[0,0,0];function k(A){this._components=A.slice(),this._time=[0],this.prevMatrix=A.slice(),this.nextMatrix=A.slice(),this.computedMatrix=A.slice(),this.computedInverse=A.slice(),this.computedEye=[0,0,0],this.computedUp=[0,0,0],this.computedCenter=[0,0,0],this.computedRadius=[0],this._limits=[-1/0,1/0]}f.exports=function(A){return new k((A=A||{}).matrix||[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1])};var E=k.prototype;E.recalcMatrix=function(A){var L=this._time,b=u.le(L,A),R=this.computedMatrix;if(!(b<0)){var I=this._components;if(b===L.length-1)for(var O=16*b,z=0;z<16;++z)R[z]=I[O++];else{var F=L[b+1]-L[b],B=(O=16*b,this.prevMatrix),N=!0;for(z=0;z<16;++z)B[z]=I[O++];var W=this.nextMatrix;for(z=0;z<16;++z)W[z]=I[O++],N=N&&B[z]===W[z];if(F<1e-6||N)for(z=0;z<16;++z)R[z]=B[z];else o(R,B,W,(A-L[b])/F)}var j=this.computedUp;j[0]=R[1],j[1]=R[5],j[2]=R[9],S(j,j);var $=this.computedInverse;s($,R);var U=this.computedEye,G=$[15];U[0]=$[12]/G,U[1]=$[13]/G,U[2]=$[14]/G;var q=this.computedCenter,H=Math.exp(this.computedRadius[0]);for(z=0;z<3;++z)q[z]=U[z]-R[2+4*z]*H}},E.idle=function(A){if(!(A1&&u(o[w[k-2]],o[w[k-1]],_)<=0;)k-=1,w.pop();for(w.push(S),k=y.length;k>1&&u(o[y[k-2]],o[y[k-1]],_)>=0;)k-=1,y.pop();y.push(S)}c=new Array(y.length+w.length-2);for(var E=0,x=(h=0,w.length);h0;--A)c[E++]=y[A];return c};var u=a(417)[3]},6145:function(f,l,a){f.exports=function(o,s){s||(s=o,o=window);var c=0,h=0,m=0,w={shift:!1,alt:!1,control:!1,meta:!1},y=!1;function S(O){var z=!1;return"altKey"in O&&(z=z||O.altKey!==w.alt,w.alt=!!O.altKey),"shiftKey"in O&&(z=z||O.shiftKey!==w.shift,w.shift=!!O.shiftKey),"ctrlKey"in O&&(z=z||O.ctrlKey!==w.control,w.control=!!O.ctrlKey),"metaKey"in O&&(z=z||O.metaKey!==w.meta,w.meta=!!O.metaKey),z}function _(O,z){var F=u.x(z),B=u.y(z);"buttons"in z&&(O=0|z.buttons),(O!==c||F!==h||B!==m||S(z))&&(c=0|O,h=F||0,m=B||0,s&&s(c,h,m,w))}function k(O){_(0,O)}function E(){(c||h||m||w.shift||w.alt||w.meta||w.control)&&(h=m=0,c=0,w.shift=w.alt=w.control=w.meta=!1,s&&s(0,0,0,w))}function x(O){S(O)&&s&&s(c,h,m,w)}function A(O){u.buttons(O)===0?_(0,O):_(c,O)}function L(O){_(c|u.buttons(O),O)}function b(O){_(c&~u.buttons(O),O)}function R(){y||(y=!0,o.addEventListener("mousemove",A),o.addEventListener("mousedown",L),o.addEventListener("mouseup",b),o.addEventListener("mouseleave",k),o.addEventListener("mouseenter",k),o.addEventListener("mouseout",k),o.addEventListener("mouseover",k),o.addEventListener("blur",E),o.addEventListener("keyup",x),o.addEventListener("keydown",x),o.addEventListener("keypress",x),o!==window&&(window.addEventListener("blur",E),window.addEventListener("keyup",x),window.addEventListener("keydown",x),window.addEventListener("keypress",x)))}R();var I={element:o};return Object.defineProperties(I,{enabled:{get:function(){return y},set:function(O){O?R():y&&(y=!1,o.removeEventListener("mousemove",A),o.removeEventListener("mousedown",L),o.removeEventListener("mouseup",b),o.removeEventListener("mouseleave",k),o.removeEventListener("mouseenter",k),o.removeEventListener("mouseout",k),o.removeEventListener("mouseover",k),o.removeEventListener("blur",E),o.removeEventListener("keyup",x),o.removeEventListener("keydown",x),o.removeEventListener("keypress",x),o!==window&&(window.removeEventListener("blur",E),window.removeEventListener("keyup",x),window.removeEventListener("keydown",x),window.removeEventListener("keypress",x)))},enumerable:!0},buttons:{get:function(){return c},enumerable:!0},x:{get:function(){return h},enumerable:!0},y:{get:function(){return m},enumerable:!0},mods:{get:function(){return w},enumerable:!0}}),I};var u=a(4110)},2565:function(f){var l={left:0,top:0};f.exports=function(a,u,o){u=u||a.currentTarget||a.srcElement,Array.isArray(o)||(o=[0,0]);var s,c=a.clientX||0,h=a.clientY||0,m=(s=u)===window||s===document||s===document.body?l:s.getBoundingClientRect();return o[0]=c-m.left,o[1]=h-m.top,o}},4110:function(f,l){function a(u){return u.target||u.srcElement||window}l.buttons=function(u){if(typeof u=="object"){if("buttons"in u)return u.buttons;if("which"in u){if((o=u.which)===2)return 4;if(o===3)return 2;if(o>0)return 1<=0)return 1< 0"),typeof s.vertex!="function"&&c("Must specify vertex creation function"),typeof s.cell!="function"&&c("Must specify cell creation function"),typeof s.phase!="function"&&c("Must specify phase function");for(var w=s.getters||[],y=new Array(m),S=0;S=0?y[S]=!0:y[S]=!1;return function(_,k,E,x,A,L){var b=[L,A].join(",");return(0,o[b])(_,k,E,u.mallocUint32,u.freeUint32)}(s.vertex,s.cell,s.phase,0,h,y)};var o={"false,0,1":function(s,c,h,m,w){return function(y,S,_,k){var E,x=0|y.shape[0],A=0|y.shape[1],L=y.data,b=0|y.offset,R=0|y.stride[0],I=0|y.stride[1],O=b,z=0|-R,F=0,B=0|-I,N=0,W=-R-I|0,j=0,$=0|R,U=I-R*x|0,G=0,q=0,H=0,ne=2*x|0,te=m(ne),Z=m(ne),X=0,Q=0,re=-1,ie=-1,oe=0,ue=0|-x,ce=0|x,ye=0,de=-x-1|0,me=x-1|0,pe=0,xe=0,Pe=0;for(G=0;G0){if(q=1,te[X++]=h(L[O],S,_,k),O+=$,x>0)for(G=1,E=L[O],Q=te[X]=h(E,S,_,k),oe=te[X+re],ye=te[X+ue],pe=te[X+de],Q===oe&&Q===ye&&Q===pe||(F=L[O+z],N=L[O+B],j=L[O+W],s(G,q,E,F,N,j,Q,oe,ye,pe,S,_,k),xe=Z[X]=H++),X+=1,O+=$,G=2;G0)for(G=1,E=L[O],Q=te[X]=h(E,S,_,k),oe=te[X+re],ye=te[X+ue],pe=te[X+de],Q===oe&&Q===ye&&Q===pe||(F=L[O+z],N=L[O+B],j=L[O+W],s(G,q,E,F,N,j,Q,oe,ye,pe,S,_,k),xe=Z[X]=H++,pe!==ye&&c(Z[X+ue],xe,N,j,ye,pe,S,_,k)),X+=1,O+=$,G=2;G0){if(G=1,te[X++]=h(L[O],S,_,k),O+=$,A>0)for(q=1,E=L[O],Q=te[X]=h(E,S,_,k),ye=te[X+ue],oe=te[X+re],pe=te[X+de],Q===ye&&Q===oe&&Q===pe||(F=L[O+z],N=L[O+B],j=L[O+W],s(G,q,E,F,N,j,Q,ye,oe,pe,S,_,k),xe=Z[X]=H++),X+=1,O+=$,q=2;q0)for(q=1,E=L[O],Q=te[X]=h(E,S,_,k),ye=te[X+ue],oe=te[X+re],pe=te[X+de],Q===ye&&Q===oe&&Q===pe||(F=L[O+z],N=L[O+B],j=L[O+W],s(G,q,E,F,N,j,Q,ye,oe,pe,S,_,k),xe=Z[X]=H++,pe!==ye&&c(Z[X+ue],xe,j,F,pe,ye,S,_,k)),X+=1,O+=$,q=2;q2&&O[1]>2&&b(I.pick(-1,-1).lo(1,1).hi(O[0]-2,O[1]-2),R.pick(-1,-1,0).lo(1,1).hi(O[0]-2,O[1]-2),R.pick(-1,-1,1).lo(1,1).hi(O[0]-2,O[1]-2)),O[1]>2&&(L(I.pick(0,-1).lo(1).hi(O[1]-2),R.pick(0,-1,1).lo(1).hi(O[1]-2)),A(R.pick(0,-1,0).lo(1).hi(O[1]-2))),O[1]>2&&(L(I.pick(O[0]-1,-1).lo(1).hi(O[1]-2),R.pick(O[0]-1,-1,1).lo(1).hi(O[1]-2)),A(R.pick(O[0]-1,-1,0).lo(1).hi(O[1]-2))),O[0]>2&&(L(I.pick(-1,0).lo(1).hi(O[0]-2),R.pick(-1,0,0).lo(1).hi(O[0]-2)),A(R.pick(-1,0,1).lo(1).hi(O[0]-2))),O[0]>2&&(L(I.pick(-1,O[1]-1).lo(1).hi(O[0]-2),R.pick(-1,O[1]-1,0).lo(1).hi(O[0]-2)),A(R.pick(-1,O[1]-1,1).lo(1).hi(O[0]-2))),R.set(0,0,0,0),R.set(0,0,1,0),R.set(O[0]-1,0,0,0),R.set(O[0]-1,0,1,0),R.set(0,O[1]-1,0,0),R.set(0,O[1]-1,1,0),R.set(O[0]-1,O[1]-1,0,0),R.set(O[0]-1,O[1]-1,1,0),R}}f.exports=function(x,A,L){return Array.isArray(L)||(L=u(A.dimension,typeof L=="string"?L:"clamp")),A.size===0?x:A.dimension===0?(x.set(0),x):function(b){var R=b.join();if(F=y[R])return F;for(var I=b.length,O=[S,_],z=1;z<=I;++z)O.push(k(z));var F=E.apply(void 0,O);return y[R]=F,F}(L)(x,A)}},3581:function(f){function l(s,c){var h=Math.floor(c),m=c-h,w=0<=h&&h0;){W<64?(x=W,W=0):(x=64,W-=64);for(var j=0|h[1];j>0;){j<64?(A=j,j=0):(A=64,j-=64),y=B+W*b+j*R,k=N+W*O+j*z;var $=0,U=0,G=0,q=I,H=b-L*I,ne=R-x*b,te=F,Z=O-L*F,X=z-x*O;for(G=0;G0;){z<64?(x=z,z=0):(x=64,z-=64);for(var F=0|h[0];F>0;){F<64?(E=F,F=0):(E=64,F-=64),y=I+z*L+F*A,k=O+z*R+F*b;var B=0,N=0,W=L,j=A-x*L,$=R,U=b-x*R;for(N=0;N0;){N<64?(A=N,N=0):(A=64,N-=64);for(var W=0|h[0];W>0;){W<64?(E=W,W=0):(E=64,W-=64);for(var j=0|h[1];j>0;){j<64?(x=j,j=0):(x=64,j-=64),y=F+N*R+W*L+j*b,k=B+N*z+W*I+j*O;var $=0,U=0,G=0,q=R,H=L-A*R,ne=b-E*L,te=z,Z=I-A*z,X=O-E*I;for(G=0;Gy;){N=0,W=F-E;t:for(B=0;B$)break t;W+=R,N+=I}for(N=F,W=F-E,B=0;B>1,Ce=Se-Pe,ae=Se+Pe,fe=_e,be=Ce,ke=Se,Le=ae,Be=Me,ze=_+1,je=k-1,ge=!0,we=0,Ee=0,Ve=0,$e=R,Ye=w($e),st=w($e);ne=A*fe,te=A*be,xe=x;e:for(H=0;H0){B=fe,fe=be,be=B;break e}if(Ve<0)break e;xe+=O}ne=A*Le,te=A*Be,xe=x;e:for(H=0;H0){B=Le,Le=Be,Be=B;break e}if(Ve<0)break e;xe+=O}ne=A*fe,te=A*ke,xe=x;e:for(H=0;H0){B=fe,fe=ke,ke=B;break e}if(Ve<0)break e;xe+=O}ne=A*be,te=A*ke,xe=x;e:for(H=0;H0){B=be,be=ke,ke=B;break e}if(Ve<0)break e;xe+=O}ne=A*fe,te=A*Le,xe=x;e:for(H=0;H0){B=fe,fe=Le,Le=B;break e}if(Ve<0)break e;xe+=O}ne=A*ke,te=A*Le,xe=x;e:for(H=0;H0){B=ke,ke=Le,Le=B;break e}if(Ve<0)break e;xe+=O}ne=A*be,te=A*Be,xe=x;e:for(H=0;H0){B=be,be=Be,Be=B;break e}if(Ve<0)break e;xe+=O}ne=A*be,te=A*ke,xe=x;e:for(H=0;H0){B=be,be=ke,ke=B;break e}if(Ve<0)break e;xe+=O}ne=A*Le,te=A*Be,xe=x;e:for(H=0;H0){B=Le,Le=Be,Be=B;break e}if(Ve<0)break e;xe+=O}for(ne=A*fe,te=A*be,Z=A*ke,X=A*Le,Q=A*Be,re=A*_e,ie=A*Se,oe=A*Me,pe=0,xe=x,H=0;H0)){if(Ve<0){for(ne=A*$,te=A*ze,Z=A*je,xe=x,H=0;H0)for(;;){for(U=x+je*A,pe=0,H=0;H0)){for(U=x+je*A,pe=0,H=0;HMe){e:for(;;){for(U=x+ze*A,pe=0,xe=x,H=0;H1&&L?R(A,L[0],L[1]):R(A)}(m,w,_);return S(_,k)}},8729:function(f,l,a){var u=a(8139),o={};f.exports=function(s){var c=s.order,h=s.dtype,m=[c,h].join(":"),w=o[m];return w||(o[m]=w=u(c,h)),w(s),s}},5050:function(f,l,a){var u=a(4780),o=typeof Float64Array<"u";function s(y,S){return y[0]-S[0]}function c(){var y,S=this.stride,_=new Array(S.length);for(y=0;y<_.length;++y)_[y]=[Math.abs(S[y]),y];_.sort(s);var k=new Array(_.length);for(y=0;y=0&&(A+=R*(L=0|x),b-=L),new k(this.data,b,R,A)},E.step=function(x){var A=this.shape[0],L=this.stride[0],b=this.offset,R=0,I=Math.ceil;return typeof x=="number"&&((R=0|x)<0?(b+=L*(A-1),A=I(-A/R)):A=I(A/R),L*=R),new k(this.data,A,L,b)},E.transpose=function(x){x=x===void 0?0:0|x;var A=this.shape,L=this.stride;return new k(this.data,A[x],L[x],this.offset)},E.pick=function(x){var A=[],L=[],b=this.offset;return typeof x=="number"&&x>=0?b=b+this.stride[0]*x|0:(A.push(this.shape[0]),L.push(this.stride[0])),(0,S[A.length+1])(this.data,A,L,b)},function(x,A,L,b){return new k(x,A[0],L[0],b)}},2:function(y,S,_){function k(x,A,L,b,R,I){this.data=x,this.shape=[A,L],this.stride=[b,R],this.offset=0|I}var E=k.prototype;return E.dtype=y,E.dimension=2,Object.defineProperty(E,"size",{get:function(){return this.shape[0]*this.shape[1]}}),Object.defineProperty(E,"order",{get:function(){return Math.abs(this.stride[0])>Math.abs(this.stride[1])?[1,0]:[0,1]}}),E.set=function(x,A,L){return y==="generic"?this.data.set(this.offset+this.stride[0]*x+this.stride[1]*A,L):this.data[this.offset+this.stride[0]*x+this.stride[1]*A]=L},E.get=function(x,A){return y==="generic"?this.data.get(this.offset+this.stride[0]*x+this.stride[1]*A):this.data[this.offset+this.stride[0]*x+this.stride[1]*A]},E.index=function(x,A){return this.offset+this.stride[0]*x+this.stride[1]*A},E.hi=function(x,A){return new k(this.data,typeof x!="number"||x<0?this.shape[0]:0|x,typeof A!="number"||A<0?this.shape[1]:0|A,this.stride[0],this.stride[1],this.offset)},E.lo=function(x,A){var L=this.offset,b=0,R=this.shape[0],I=this.shape[1],O=this.stride[0],z=this.stride[1];return typeof x=="number"&&x>=0&&(L+=O*(b=0|x),R-=b),typeof A=="number"&&A>=0&&(L+=z*(b=0|A),I-=b),new k(this.data,R,I,O,z,L)},E.step=function(x,A){var L=this.shape[0],b=this.shape[1],R=this.stride[0],I=this.stride[1],O=this.offset,z=0,F=Math.ceil;return typeof x=="number"&&((z=0|x)<0?(O+=R*(L-1),L=F(-L/z)):L=F(L/z),R*=z),typeof A=="number"&&((z=0|A)<0?(O+=I*(b-1),b=F(-b/z)):b=F(b/z),I*=z),new k(this.data,L,b,R,I,O)},E.transpose=function(x,A){x=x===void 0?0:0|x,A=A===void 0?1:0|A;var L=this.shape,b=this.stride;return new k(this.data,L[x],L[A],b[x],b[A],this.offset)},E.pick=function(x,A){var L=[],b=[],R=this.offset;return typeof x=="number"&&x>=0?R=R+this.stride[0]*x|0:(L.push(this.shape[0]),b.push(this.stride[0])),typeof A=="number"&&A>=0?R=R+this.stride[1]*A|0:(L.push(this.shape[1]),b.push(this.stride[1])),(0,S[L.length+1])(this.data,L,b,R)},function(x,A,L,b){return new k(x,A[0],A[1],L[0],L[1],b)}},3:function(y,S,_){function k(x,A,L,b,R,I,O,z){this.data=x,this.shape=[A,L,b],this.stride=[R,I,O],this.offset=0|z}var E=k.prototype;return E.dtype=y,E.dimension=3,Object.defineProperty(E,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]}}),Object.defineProperty(E,"order",{get:function(){var x=Math.abs(this.stride[0]),A=Math.abs(this.stride[1]),L=Math.abs(this.stride[2]);return x>A?A>L?[2,1,0]:x>L?[1,2,0]:[1,0,2]:x>L?[2,0,1]:L>A?[0,1,2]:[0,2,1]}}),E.set=function(x,A,L,b){return y==="generic"?this.data.set(this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L,b):this.data[this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L]=b},E.get=function(x,A,L){return y==="generic"?this.data.get(this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L):this.data[this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L]},E.index=function(x,A,L){return this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L},E.hi=function(x,A,L){return new k(this.data,typeof x!="number"||x<0?this.shape[0]:0|x,typeof A!="number"||A<0?this.shape[1]:0|A,typeof L!="number"||L<0?this.shape[2]:0|L,this.stride[0],this.stride[1],this.stride[2],this.offset)},E.lo=function(x,A,L){var b=this.offset,R=0,I=this.shape[0],O=this.shape[1],z=this.shape[2],F=this.stride[0],B=this.stride[1],N=this.stride[2];return typeof x=="number"&&x>=0&&(b+=F*(R=0|x),I-=R),typeof A=="number"&&A>=0&&(b+=B*(R=0|A),O-=R),typeof L=="number"&&L>=0&&(b+=N*(R=0|L),z-=R),new k(this.data,I,O,z,F,B,N,b)},E.step=function(x,A,L){var b=this.shape[0],R=this.shape[1],I=this.shape[2],O=this.stride[0],z=this.stride[1],F=this.stride[2],B=this.offset,N=0,W=Math.ceil;return typeof x=="number"&&((N=0|x)<0?(B+=O*(b-1),b=W(-b/N)):b=W(b/N),O*=N),typeof A=="number"&&((N=0|A)<0?(B+=z*(R-1),R=W(-R/N)):R=W(R/N),z*=N),typeof L=="number"&&((N=0|L)<0?(B+=F*(I-1),I=W(-I/N)):I=W(I/N),F*=N),new k(this.data,b,R,I,O,z,F,B)},E.transpose=function(x,A,L){x=x===void 0?0:0|x,A=A===void 0?1:0|A,L=L===void 0?2:0|L;var b=this.shape,R=this.stride;return new k(this.data,b[x],b[A],b[L],R[x],R[A],R[L],this.offset)},E.pick=function(x,A,L){var b=[],R=[],I=this.offset;return typeof x=="number"&&x>=0?I=I+this.stride[0]*x|0:(b.push(this.shape[0]),R.push(this.stride[0])),typeof A=="number"&&A>=0?I=I+this.stride[1]*A|0:(b.push(this.shape[1]),R.push(this.stride[1])),typeof L=="number"&&L>=0?I=I+this.stride[2]*L|0:(b.push(this.shape[2]),R.push(this.stride[2])),(0,S[b.length+1])(this.data,b,R,I)},function(x,A,L,b){return new k(x,A[0],A[1],A[2],L[0],L[1],L[2],b)}},4:function(y,S,_){function k(x,A,L,b,R,I,O,z,F,B){this.data=x,this.shape=[A,L,b,R],this.stride=[I,O,z,F],this.offset=0|B}var E=k.prototype;return E.dtype=y,E.dimension=4,Object.defineProperty(E,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]*this.shape[3]}}),Object.defineProperty(E,"order",{get:_}),E.set=function(x,A,L,b,R){return y==="generic"?this.data.set(this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b,R):this.data[this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b]=R},E.get=function(x,A,L,b){return y==="generic"?this.data.get(this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b):this.data[this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b]},E.index=function(x,A,L,b){return this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b},E.hi=function(x,A,L,b){return new k(this.data,typeof x!="number"||x<0?this.shape[0]:0|x,typeof A!="number"||A<0?this.shape[1]:0|A,typeof L!="number"||L<0?this.shape[2]:0|L,typeof b!="number"||b<0?this.shape[3]:0|b,this.stride[0],this.stride[1],this.stride[2],this.stride[3],this.offset)},E.lo=function(x,A,L,b){var R=this.offset,I=0,O=this.shape[0],z=this.shape[1],F=this.shape[2],B=this.shape[3],N=this.stride[0],W=this.stride[1],j=this.stride[2],$=this.stride[3];return typeof x=="number"&&x>=0&&(R+=N*(I=0|x),O-=I),typeof A=="number"&&A>=0&&(R+=W*(I=0|A),z-=I),typeof L=="number"&&L>=0&&(R+=j*(I=0|L),F-=I),typeof b=="number"&&b>=0&&(R+=$*(I=0|b),B-=I),new k(this.data,O,z,F,B,N,W,j,$,R)},E.step=function(x,A,L,b){var R=this.shape[0],I=this.shape[1],O=this.shape[2],z=this.shape[3],F=this.stride[0],B=this.stride[1],N=this.stride[2],W=this.stride[3],j=this.offset,$=0,U=Math.ceil;return typeof x=="number"&&(($=0|x)<0?(j+=F*(R-1),R=U(-R/$)):R=U(R/$),F*=$),typeof A=="number"&&(($=0|A)<0?(j+=B*(I-1),I=U(-I/$)):I=U(I/$),B*=$),typeof L=="number"&&(($=0|L)<0?(j+=N*(O-1),O=U(-O/$)):O=U(O/$),N*=$),typeof b=="number"&&(($=0|b)<0?(j+=W*(z-1),z=U(-z/$)):z=U(z/$),W*=$),new k(this.data,R,I,O,z,F,B,N,W,j)},E.transpose=function(x,A,L,b){x=x===void 0?0:0|x,A=A===void 0?1:0|A,L=L===void 0?2:0|L,b=b===void 0?3:0|b;var R=this.shape,I=this.stride;return new k(this.data,R[x],R[A],R[L],R[b],I[x],I[A],I[L],I[b],this.offset)},E.pick=function(x,A,L,b){var R=[],I=[],O=this.offset;return typeof x=="number"&&x>=0?O=O+this.stride[0]*x|0:(R.push(this.shape[0]),I.push(this.stride[0])),typeof A=="number"&&A>=0?O=O+this.stride[1]*A|0:(R.push(this.shape[1]),I.push(this.stride[1])),typeof L=="number"&&L>=0?O=O+this.stride[2]*L|0:(R.push(this.shape[2]),I.push(this.stride[2])),typeof b=="number"&&b>=0?O=O+this.stride[3]*b|0:(R.push(this.shape[3]),I.push(this.stride[3])),(0,S[R.length+1])(this.data,R,I,O)},function(x,A,L,b){return new k(x,A[0],A[1],A[2],A[3],L[0],L[1],L[2],L[3],b)}},5:function(y,S,_){function k(x,A,L,b,R,I,O,z,F,B,N,W){this.data=x,this.shape=[A,L,b,R,I],this.stride=[O,z,F,B,N],this.offset=0|W}var E=k.prototype;return E.dtype=y,E.dimension=5,Object.defineProperty(E,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]*this.shape[3]*this.shape[4]}}),Object.defineProperty(E,"order",{get:_}),E.set=function(x,A,L,b,R,I){return y==="generic"?this.data.set(this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*R,I):this.data[this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*R]=I},E.get=function(x,A,L,b,R){return y==="generic"?this.data.get(this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*R):this.data[this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*R]},E.index=function(x,A,L,b,R){return this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*R},E.hi=function(x,A,L,b,R){return new k(this.data,typeof x!="number"||x<0?this.shape[0]:0|x,typeof A!="number"||A<0?this.shape[1]:0|A,typeof L!="number"||L<0?this.shape[2]:0|L,typeof b!="number"||b<0?this.shape[3]:0|b,typeof R!="number"||R<0?this.shape[4]:0|R,this.stride[0],this.stride[1],this.stride[2],this.stride[3],this.stride[4],this.offset)},E.lo=function(x,A,L,b,R){var I=this.offset,O=0,z=this.shape[0],F=this.shape[1],B=this.shape[2],N=this.shape[3],W=this.shape[4],j=this.stride[0],$=this.stride[1],U=this.stride[2],G=this.stride[3],q=this.stride[4];return typeof x=="number"&&x>=0&&(I+=j*(O=0|x),z-=O),typeof A=="number"&&A>=0&&(I+=$*(O=0|A),F-=O),typeof L=="number"&&L>=0&&(I+=U*(O=0|L),B-=O),typeof b=="number"&&b>=0&&(I+=G*(O=0|b),N-=O),typeof R=="number"&&R>=0&&(I+=q*(O=0|R),W-=O),new k(this.data,z,F,B,N,W,j,$,U,G,q,I)},E.step=function(x,A,L,b,R){var I=this.shape[0],O=this.shape[1],z=this.shape[2],F=this.shape[3],B=this.shape[4],N=this.stride[0],W=this.stride[1],j=this.stride[2],$=this.stride[3],U=this.stride[4],G=this.offset,q=0,H=Math.ceil;return typeof x=="number"&&((q=0|x)<0?(G+=N*(I-1),I=H(-I/q)):I=H(I/q),N*=q),typeof A=="number"&&((q=0|A)<0?(G+=W*(O-1),O=H(-O/q)):O=H(O/q),W*=q),typeof L=="number"&&((q=0|L)<0?(G+=j*(z-1),z=H(-z/q)):z=H(z/q),j*=q),typeof b=="number"&&((q=0|b)<0?(G+=$*(F-1),F=H(-F/q)):F=H(F/q),$*=q),typeof R=="number"&&((q=0|R)<0?(G+=U*(B-1),B=H(-B/q)):B=H(B/q),U*=q),new k(this.data,I,O,z,F,B,N,W,j,$,U,G)},E.transpose=function(x,A,L,b,R){x=x===void 0?0:0|x,A=A===void 0?1:0|A,L=L===void 0?2:0|L,b=b===void 0?3:0|b,R=R===void 0?4:0|R;var I=this.shape,O=this.stride;return new k(this.data,I[x],I[A],I[L],I[b],I[R],O[x],O[A],O[L],O[b],O[R],this.offset)},E.pick=function(x,A,L,b,R){var I=[],O=[],z=this.offset;return typeof x=="number"&&x>=0?z=z+this.stride[0]*x|0:(I.push(this.shape[0]),O.push(this.stride[0])),typeof A=="number"&&A>=0?z=z+this.stride[1]*A|0:(I.push(this.shape[1]),O.push(this.stride[1])),typeof L=="number"&&L>=0?z=z+this.stride[2]*L|0:(I.push(this.shape[2]),O.push(this.stride[2])),typeof b=="number"&&b>=0?z=z+this.stride[3]*b|0:(I.push(this.shape[3]),O.push(this.stride[3])),typeof R=="number"&&R>=0?z=z+this.stride[4]*R|0:(I.push(this.shape[4]),O.push(this.stride[4])),(0,S[I.length+1])(this.data,I,O,z)},function(x,A,L,b){return new k(x,A[0],A[1],A[2],A[3],A[4],L[0],L[1],L[2],L[3],L[4],b)}}};function m(y,S){var _=S===-1?"T":String(S),k=h[_];return S===-1?k(y):S===0?k(y,w[y][0]):k(y,w[y],c)}var w={generic:[],buffer:[],array:[],float32:[],float64:[],int8:[],int16:[],int32:[],uint8_clamped:[],uint8:[],uint16:[],uint32:[],bigint64:[],biguint64:[]};f.exports=function(y,S,_,k){if(y===void 0)return(0,w.array[0])([]);typeof y=="number"&&(y=[y]),S===void 0&&(S=[y.length]);var E=S.length;if(_===void 0){_=new Array(E);for(var x=E-1,A=1;x>=0;--x)_[x]=A,A*=S[x]}if(k===void 0)for(k=0,x=0;x>>0;f.exports=function(c,h){if(isNaN(c)||isNaN(h))return NaN;if(c===h)return c;if(c===0)return h<0?-o:o;var m=u.hi(c),w=u.lo(c);return h>c==c>0?w===s?(m+=1,w=0):w+=1:w===0?(w=s,m-=1):w-=1,u.pack(w,m)}},115:function(f,l){l.vertexNormals=function(a,u,o){for(var s=u.length,c=new Array(s),h=o===void 0?1e-6:o,m=0;mh){var z=c[S],F=1/Math.sqrt(b*I);for(O=0;O<3;++O){var B=(O+1)%3,N=(O+2)%3;z[O]+=F*(R[B]*L[N]-R[N]*L[B])}}}for(m=0;mh)for(F=1/Math.sqrt(W),O=0;O<3;++O)z[O]*=F;else for(O=0;O<3;++O)z[O]=0}return c},l.faceNormals=function(a,u,o){for(var s=a.length,c=new Array(s),h=o===void 0?1e-6:o,m=0;mh?1/Math.sqrt(x):0,S=0;S<3;++S)E[S]*=x;c[m]=E}return c}},567:function(f){f.exports=function(l,a,u,o,s,c,h,m,w,y){var S=a+c+y;if(_>0){var _=Math.sqrt(S+1);l[0]=.5*(h-w)/_,l[1]=.5*(m-o)/_,l[2]=.5*(u-c)/_,l[3]=.5*_}else{var k=Math.max(a,c,y);_=Math.sqrt(2*k-S+1),a>=k?(l[0]=.5*_,l[1]=.5*(s+u)/_,l[2]=.5*(m+o)/_,l[3]=.5*(h-w)/_):c>=k?(l[0]=.5*(u+s)/_,l[1]=.5*_,l[2]=.5*(w+h)/_,l[3]=.5*(m-o)/_):(l[0]=.5*(o+m)/_,l[1]=.5*(h+w)/_,l[2]=.5*_,l[3]=.5*(u-s)/_)}return l}},7774:function(f,l,a){f.exports=function(k){var E=(k=k||{}).center||[0,0,0],x=k.rotation||[0,0,0,1],A=k.radius||1;E=[].slice.call(E,0,3),y(x=[].slice.call(x,0,4),x);var L=new S(x,E,Math.log(A));return L.setDistanceLimits(k.zoomMin,k.zoomMax),("eye"in k||"up"in k)&&L.lookAt(0,k.eye,k.center,k.up),L};var u=a(8444),o=a(3012),s=a(5950),c=a(7437),h=a(567);function m(k,E,x){return Math.sqrt(Math.pow(k,2)+Math.pow(E,2)+Math.pow(x,2))}function w(k,E,x,A){return Math.sqrt(Math.pow(k,2)+Math.pow(E,2)+Math.pow(x,2)+Math.pow(A,2))}function y(k,E){var x=E[0],A=E[1],L=E[2],b=E[3],R=w(x,A,L,b);R>1e-6?(k[0]=x/R,k[1]=A/R,k[2]=L/R,k[3]=b/R):(k[0]=k[1]=k[2]=0,k[3]=1)}function S(k,E,x){this.radius=u([x]),this.center=u(E),this.rotation=u(k),this.computedRadius=this.radius.curve(0),this.computedCenter=this.center.curve(0),this.computedRotation=this.rotation.curve(0),this.computedUp=[.1,0,0],this.computedEye=[.1,0,0],this.computedMatrix=[.1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this.recalcMatrix(0)}var _=S.prototype;_.lastT=function(){return Math.max(this.radius.lastT(),this.center.lastT(),this.rotation.lastT())},_.recalcMatrix=function(k){this.radius.curve(k),this.center.curve(k),this.rotation.curve(k);var E=this.computedRotation;y(E,E);var x=this.computedMatrix;s(x,E);var A=this.computedCenter,L=this.computedEye,b=this.computedUp,R=Math.exp(this.computedRadius[0]);L[0]=A[0]+R*x[2],L[1]=A[1]+R*x[6],L[2]=A[2]+R*x[10],b[0]=x[1],b[1]=x[5],b[2]=x[9];for(var I=0;I<3;++I){for(var O=0,z=0;z<3;++z)O+=x[I+4*z]*L[z];x[12+I]=-O}},_.getMatrix=function(k,E){this.recalcMatrix(k);var x=this.computedMatrix;if(E){for(var A=0;A<16;++A)E[A]=x[A];return E}return x},_.idle=function(k){this.center.idle(k),this.radius.idle(k),this.rotation.idle(k)},_.flush=function(k){this.center.flush(k),this.radius.flush(k),this.rotation.flush(k)},_.pan=function(k,E,x,A){E=E||0,x=x||0,A=A||0,this.recalcMatrix(k);var L=this.computedMatrix,b=L[1],R=L[5],I=L[9],O=m(b,R,I);b/=O,R/=O,I/=O;var z=L[0],F=L[4],B=L[8],N=z*b+F*R+B*I,W=m(z-=b*N,F-=R*N,B-=I*N);z/=W,F/=W,B/=W,L[2],L[6],L[10];var j=z*E+b*x,$=F*E+R*x,U=B*E+I*x;this.center.move(k,j,$,U);var G=Math.exp(this.computedRadius[0]);G=Math.max(1e-4,G+A),this.radius.set(k,Math.log(G))},_.rotate=function(k,E,x,A){this.recalcMatrix(k),E=E||0,x=x||0;var L=this.computedMatrix,b=L[0],R=L[4],I=L[8],O=L[1],z=L[5],F=L[9],B=L[2],N=L[6],W=L[10],j=E*b+x*O,$=E*R+x*z,U=E*I+x*F,G=-(N*U-W*$),q=-(W*j-B*U),H=-(B*$-N*j),ne=Math.sqrt(Math.max(0,1-Math.pow(G,2)-Math.pow(q,2)-Math.pow(H,2))),te=w(G,q,H,ne);te>1e-6?(G/=te,q/=te,H/=te,ne/=te):(G=q=H=0,ne=1);var Z=this.computedRotation,X=Z[0],Q=Z[1],re=Z[2],ie=Z[3],oe=X*ne+ie*G+Q*H-re*q,ue=Q*ne+ie*q+re*G-X*H,ce=re*ne+ie*H+X*q-Q*G,ye=ie*ne-X*G-Q*q-re*H;if(A){G=B,q=N,H=W;var de=Math.sin(A)/m(G,q,H);G*=de,q*=de,H*=de,ye=ye*(ne=Math.cos(E))-(oe=oe*ne+ye*G+ue*H-ce*q)*G-(ue=ue*ne+ye*q+ce*G-oe*H)*q-(ce=ce*ne+ye*H+oe*q-ue*G)*H}var me=w(oe,ue,ce,ye);me>1e-6?(oe/=me,ue/=me,ce/=me,ye/=me):(oe=ue=ce=0,ye=1),this.rotation.set(k,oe,ue,ce,ye)},_.lookAt=function(k,E,x,A){this.recalcMatrix(k),x=x||this.computedCenter,E=E||this.computedEye,A=A||this.computedUp;var L=this.computedMatrix;o(L,E,x,A);var b=this.computedRotation;h(b,L[0],L[1],L[2],L[4],L[5],L[6],L[8],L[9],L[10]),y(b,b),this.rotation.set(k,b[0],b[1],b[2],b[3]);for(var R=0,I=0;I<3;++I)R+=Math.pow(x[I]-E[I],2);this.radius.set(k,.5*Math.log(Math.max(R,1e-6))),this.center.set(k,x[0],x[1],x[2])},_.translate=function(k,E,x,A){this.center.move(k,E||0,x||0,A||0)},_.setMatrix=function(k,E){var x=this.computedRotation;h(x,E[0],E[1],E[2],E[4],E[5],E[6],E[8],E[9],E[10]),y(x,x),this.rotation.set(k,x[0],x[1],x[2],x[3]);var A=this.computedMatrix;c(A,E);var L=A[15];if(Math.abs(L)>1e-6){var b=A[12]/L,R=A[13]/L,I=A[14]/L;this.recalcMatrix(k);var O=Math.exp(this.computedRadius[0]);this.center.set(k,b-A[2]*O,R-A[6]*O,I-A[10]*O),this.radius.idle(k)}else this.center.idle(k),this.radius.idle(k)},_.setDistance=function(k,E){E>0&&this.radius.set(k,Math.log(E))},_.setDistanceLimits=function(k,E){k=k>0?Math.log(k):-1/0,E=E>0?Math.log(E):1/0,E=Math.max(E,k),this.radius.bounds[0][0]=k,this.radius.bounds[1][0]=E},_.getDistanceLimits=function(k){var E=this.radius.bounds;return k?(k[0]=Math.exp(E[0][0]),k[1]=Math.exp(E[1][0]),k):[Math.exp(E[0][0]),Math.exp(E[1][0])]},_.toJSON=function(){return this.recalcMatrix(this.lastT()),{center:this.computedCenter.slice(),rotation:this.computedRotation.slice(),distance:Math.log(this.computedRadius[0]),zoomMin:this.radius.bounds[0][0],zoomMax:this.radius.bounds[1][0]}},_.fromJSON=function(k){var E=this.lastT(),x=k.center;x&&this.center.set(E,x[0],x[1],x[2]);var A=k.rotation;A&&this.rotation.set(E,A[0],A[1],A[2],A[3]);var L=k.distance;L&&L>0&&this.radius.set(E,Math.log(L)),this.setDistanceLimits(k.zoomMin,k.zoomMax)}},4930:function(f,l,a){var u=a(6184);f.exports=function(o,s,c){return u(c=c!==void 0?c+"":" ",s)+o}},4405:function(f){f.exports=function(l,a){a||(a=[0,""]),l=String(l);var u=parseFloat(l,10);return a[0]=u,a[1]=l.match(/[\d.\-\+]*\s*(.*)/)[1]||"",a}},4166:function(f,l,a){f.exports=function(o,s){for(var c=0|s.length,h=o.length,m=[new Array(c),new Array(c)],w=0;w0){z=m[N][I][0],B=N;break}F=z[1^B];for(var W=0;W<2;++W)for(var j=m[W][I],$=0;$0&&(z=U,F=G,B=W)}return O||z&&_(z,B),F}function E(R,I){var O=m[I][R][0],z=[R];_(O,I);for(var F=O[1^I];;){for(;F!==R;)z.push(F),F=k(z[z.length-2],F,!1);if(m[0][R].length+m[1][R].length===0)break;var B=z[z.length-1],N=R,W=z[1],j=k(B,N,!0);if(u(s[B],s[N],s[W],s[j])<0)break;z.push(R),F=k(B,N)}return z}function x(R,I){return I[1]===I[I.length-1]}for(w=0;w0;){m[0][w].length;var b=E(w,A);x(0,b)?L.push.apply(L,b):(L.length>0&&S.push(L),L=b)}L.length>0&&S.push(L)}return S};var u=a(9398)},3959:function(f,l,a){f.exports=function(o,s){for(var c=u(o,s.length),h=new Array(s.length),m=new Array(s.length),w=[],y=0;y0;){var _=w.pop();h[_]=!1;var k=c[_];for(y=0;y0})).length,R=new Array(b),I=new Array(b);for(A=0;A0;){var ue=ie.pop(),ce=q[ue];m(ce,function(Pe,_e){return Pe-_e});var ye,de=ce.length,me=oe[ue];if(me===0){var pe=L[ue];ye=[pe]}for(A=0;A=0||(oe[xe]=1^me,ie.push(xe),me===0&&(re(pe=L[xe])||(pe.reverse(),ye.push(pe))))}me===0&&k.push(ye)}return k};var u=a(8348),o=a(4166),s=a(211),c=a(9660),h=a(9662),m=a(1215),w=a(3959);function y(S,_){for(var k=new Array(S),E=0;E0&&N[j]===W[0]))return 1;$=B[j-1]}for(var U=1;$;){var G=$.key,q=u(W,G[0],G[1]);if(G[0][0]0))return 0;U=-1,$=$.right}else if(q>0)$=$.left;else{if(!(q<0))return 0;U=1,$=$.right}}return U}}(z.slabs,z.coordinates);return k.length===0?F:function(B,N){return function(W){return B(W[0],W[1])?0:N(W)}}(m(k),F)};var u=a(417)[3],o=a(4385),s=a(9014),c=a(5070);function h(){return!0}function m(y){for(var S={},_=0;_=y?(N=1,R=y+2*k+x):R=k*(N=-k/y)+x):(N=0,E>=0?(W=0,R=x):-E>=_?(W=1,R=_+2*E+x):R=E*(W=-E/_)+x);else if(W<0)W=0,k>=0?(N=0,R=x):-k>=y?(N=1,R=y+2*k+x):R=k*(N=-k/y)+x;else{var j=1/B;R=(N*=j)*(y*N+S*(W*=j)+2*k)+W*(S*N+_*W+2*E)+x}else N<0?(O=_+E)>(I=S+k)?(z=O-I)>=(F=y-2*S+_)?(N=1,W=0,R=y+2*k+x):R=(N=z/F)*(y*N+S*(W=1-N)+2*k)+W*(S*N+_*W+2*E)+x:(N=0,O<=0?(W=1,R=_+2*E+x):E>=0?(W=0,R=x):R=E*(W=-E/_)+x):W<0?(O=y+k)>(I=S+E)?(z=O-I)>=(F=y-2*S+_)?(W=1,N=0,R=_+2*E+x):R=(N=1-(W=z/F))*(y*N+S*W+2*k)+W*(S*N+_*W+2*E)+x:(W=0,O<=0?(N=1,R=y+2*k+x):k>=0?(N=0,R=x):R=k*(N=-k/y)+x):(z=_+E-S-k)<=0?(N=0,W=1,R=_+2*E+x):z>=(F=y-2*S+_)?(N=1,W=0,R=y+2*k+x):R=(N=z/F)*(y*N+S*(W=1-N)+2*k)+W*(S*N+_*W+2*E)+x;var $=1-N-W;for(w=0;w0){var _=c[m-1];if(u(y,_)===0&&s(_)!==S){m-=1;continue}}c[m++]=y}}return c.length=m,c}},6184:function(f){var l,a="";f.exports=function(u,o){if(typeof u!="string")throw new TypeError("expected a string");if(o===1)return u;if(o===2)return u+u;var s=u.length*o;if(l!==u||l===void 0)l=u,a="";else if(a.length>=s)return a.substr(0,s);for(;s>a.length&&o>1;)1&o&&(a+=u),o>>=1,u+=u;return a=(a+=u).substr(0,s)}},8161:function(f,l,a){f.exports=a.g.performance&&a.g.performance.now?function(){return performance.now()}:Date.now||function(){return+new Date}},402:function(f){f.exports=function(l){for(var a=l.length,u=l[l.length-1],o=a,s=a-2;s>=0;--s){var c=u,h=l[s];(w=h-((u=c+h)-c))&&(l[--o]=u,u=w)}var m=0;for(s=o;s0){if(O<=0)return z;R=I+O}else{if(!(I<0)||O>=0)return z;R=-(I+O)}var F=33306690738754716e-32*R;return z>=F||z<=-F?z:S(A,L,b)},function(A,L,b,R){var I=A[0]-R[0],O=L[0]-R[0],z=b[0]-R[0],F=A[1]-R[1],B=L[1]-R[1],N=b[1]-R[1],W=A[2]-R[2],j=L[2]-R[2],$=b[2]-R[2],U=O*N,G=z*B,q=z*F,H=I*N,ne=I*B,te=O*F,Z=W*(U-G)+j*(q-H)+$*(ne-te),X=7771561172376103e-31*((Math.abs(U)+Math.abs(G))*Math.abs(W)+(Math.abs(q)+Math.abs(H))*Math.abs(j)+(Math.abs(ne)+Math.abs(te))*Math.abs($));return Z>X||-Z>X?Z:_(A,L,b,R)}];function E(A){var L=k[A.length];return L||(L=k[A.length]=y(A.length)),L.apply(void 0,A)}function x(A,L,b,R,I,O,z){return function(F,B,N,W,j){switch(arguments.length){case 0:case 1:return 0;case 2:return R(F,B);case 3:return I(F,B,N);case 4:return O(F,B,N,W);case 5:return z(F,B,N,W,j)}for(var $=new Array(arguments.length),U=0;U0&&w>0||m<0&&w<0)return!1;var y=u(c,o,s),S=u(h,o,s);return!(y>0&&S>0||y<0&&S<0)&&(m!==0||w!==0||y!==0||S!==0||function(_,k,E,x){for(var A=0;A<2;++A){var L=_[A],b=k[A],R=Math.min(L,b),I=Math.max(L,b),O=E[A],z=x[A],F=Math.min(O,z);if(Math.max(O,z)=o?(s=_,(w+=1)=o?(s=_,(w+=1)>1,_=o[2*S+1];if(_===m)return S;m<_?y=S:w=S+1}return w}return function(u,o,s,c){for(var h=u.length,m=[],w=0;w>1,_=o[2*S+1];if(_===m)return S;m<_?y=S:w=S+1}return w}return function(u,o,s,c){for(var h=u.length,m=[],w=0;w>1,_=o[2*S+1];if(_===m)return S;m<_?y=S:w=S+1}return w}return function(u,o,s,c){for(var h=u.length,m=[],w=0;w0)-(o<0)},l.abs=function(o){var s=o>>31;return(o^s)-s},l.min=function(o,s){return s^(o^s)&-(o65535)<<4,s|=c=((o>>>=s)>255)<<3,s|=c=((o>>>=c)>15)<<2,(s|=c=((o>>>=c)>3)<<1)|(o>>>=c)>>1},l.log10=function(o){return o>=1e9?9:o>=1e8?8:o>=1e7?7:o>=1e6?6:o>=1e5?5:o>=1e4?4:o>=1e3?3:o>=100?2:o>=10?1:0},l.popCount=function(o){return 16843009*((o=(858993459&(o-=o>>>1&1431655765))+(o>>>2&858993459))+(o>>>4)&252645135)>>>24},l.countTrailingZeros=a,l.nextPow2=function(o){return o+=o===0,--o,o|=o>>>1,o|=o>>>2,o|=o>>>4,1+((o|=o>>>8)|o>>>16)},l.prevPow2=function(o){return o|=o>>>1,o|=o>>>2,o|=o>>>4,o|=o>>>8,(o|=o>>>16)-(o>>>1)},l.parity=function(o){return o^=o>>>16,o^=o>>>8,o^=o>>>4,27030>>>(o&=15)&1};var u=new Array(256);(function(o){for(var s=0;s<256;++s){var c=s,h=s,m=7;for(c>>>=1;c;c>>>=1)h<<=1,h|=1&c,--m;o[s]=h<>>8&255]<<16|u[o>>>16&255]<<8|u[o>>>24&255]},l.interleave2=function(o,s){return(o=1431655765&((o=858993459&((o=252645135&((o=16711935&((o&=65535)|o<<8))|o<<4))|o<<2))|o<<1))|(s=1431655765&((s=858993459&((s=252645135&((s=16711935&((s&=65535)|s<<8))|s<<4))|s<<2))|s<<1))<<1},l.deinterleave2=function(o,s){return(o=65535&((o=16711935&((o=252645135&((o=858993459&((o=o>>>s&1431655765)|o>>>1))|o>>>2))|o>>>4))|o>>>16))<<16>>16},l.interleave3=function(o,s,c){return o=1227133513&((o=3272356035&((o=251719695&((o=4278190335&((o&=1023)|o<<16))|o<<8))|o<<4))|o<<2),(o|=(s=1227133513&((s=3272356035&((s=251719695&((s=4278190335&((s&=1023)|s<<16))|s<<8))|s<<4))|s<<2))<<1)|(c=1227133513&((c=3272356035&((c=251719695&((c=4278190335&((c&=1023)|c<<16))|c<<8))|c<<4))|c<<2))<<2},l.deinterleave3=function(o,s){return(o=1023&((o=4278190335&((o=251719695&((o=3272356035&((o=o>>>s&1227133513)|o>>>2))|o>>>4))|o>>>8))|o>>>16))<<22>>22},l.nextCombination=function(o){var s=o|o-1;return s+1|(~s&-~s)-1>>>a(o)+1}},6656:function(f,l,a){var u=a(9392),o=a(9521);function s(_,k){var E=_.length,x=_.length-k.length,A=Math.min;if(x)return x;switch(E){case 0:return 0;case 1:return _[0]-k[0];case 2:return(R=_[0]+_[1]-k[0]-k[1])||A(_[0],_[1])-A(k[0],k[1]);case 3:var L=_[0]+_[1],b=k[0]+k[1];if(R=L+_[2]-(b+k[2]))return R;var R,I=A(_[0],_[1]),O=A(k[0],k[1]);return(R=A(I,_[2])-A(O,k[2]))||A(I+_[2],L)-A(O+k[2],b);default:var z=_.slice(0);z.sort();var F=k.slice(0);F.sort();for(var B=0;B>1,b=s(_[L],k);b<=0?(b===0&&(A=L),E=L+1):b>0&&(x=L-1)}return A}function y(_,k){for(var E=new Array(_.length),x=0,A=E.length;x=_.length||s(_[N],L)!==0););}return E}function S(_,k){if(k<0)return[];for(var E=[],x=(1<>>O&1&&I.push(A[O]);k.push(I)}return h(k)},l.skeleton=S,l.boundary=function(_){for(var k=[],E=0,x=_.length;E>1:(te>>1)-1}function z(te){for(var Z=I(te);;){var X=Z,Q=2*te+1,re=2*(te+1),ie=te;if(Q0;){var X=O(te);if(!(X>=0&&Z0){var te=j[0];return R(0,U-1),U-=1,z(0),te}return-1}function N(te,Z){var X=j[te];return _[X]===Z?te:(_[X]=-1/0,F(te),B(),_[X]=Z,F((U+=1)-1))}function W(te){if(!k[te]){k[te]=!0;var Z=y[te],X=S[te];y[X]>=0&&(y[X]=Z),S[Z]>=0&&(S[Z]=X),$[Z]>=0&&N($[Z],b(Z)),$[X]>=0&&N($[X],b(X))}}var j=[],$=new Array(m);for(E=0;E>1;E>=0;--E)z(E);for(;;){var G=B();if(G<0||_[G]>h)break;W(G)}var q=[];for(E=0;E=0&&X>=0&&Z!==X){var Q=$[Z],re=$[X];Q!==re&&ne.push([Q,re])}}),o.unique(o.normalize(ne)),{positions:q,edges:ne}};var u=a(417),o=a(6656)},6638:function(f,l,a){f.exports=function(s,c){var h,m,w,y;if(c[0][0]c[1][0]))return o(c,s);h=c[1],m=c[0]}if(s[0][0]s[1][0]))return-o(s,c);w=s[1],y=s[0]}var S=u(h,m,y),_=u(h,m,w);if(S<0){if(_<=0)return S}else if(S>0){if(_>=0)return S}else if(_)return _;if(S=u(y,w,m),_=u(y,w,h),S<0){if(_<=0)return S}else if(S>0){if(_>=0)return S}else if(_)return _;return m[0]-y[0]};var u=a(417);function o(s,c){var h,m,w,y;if(c[0][0]c[1][0])){var S=Math.min(s[0][1],s[1][1]),_=Math.max(s[0][1],s[1][1]),k=Math.min(c[0][1],c[1][1]),E=Math.max(c[0][1],c[1][1]);return _E?S-E:_-E}h=c[1],m=c[0]}s[0][1]0)if(k[0]!==L[1][0])E=_,_=_.right;else{if(R=w(_.right,k))return R;_=_.left}else{if(k[0]!==L[1][0])return _;var R;if(R=w(_.right,k))return R;_=_.left}}return E}function y(_,k,E,x){this.y=_,this.index=k,this.start=E,this.closed=x}function S(_,k,E,x){this.x=_,this.segment=k,this.create=E,this.index=x}h.prototype.castUp=function(_){var k=u.le(this.coordinates,_[0]);if(k<0)return-1;this.slabs[k];var E=w(this.slabs[k],_),x=-1;if(E&&(x=E.value),this.coordinates[k]===_[0]){var A=null;if(E&&(A=E.key),k>0){var L=w(this.slabs[k-1],_);L&&(A?c(L.key,A)>0&&(A=L.key,x=L.value):(x=L.value,A=L.key))}var b=this.horizontal[k];if(b.length>0){var R=u.ge(b,_[1],m);if(R=b.length)return x;I=b[R]}}if(I.start)if(A){var O=s(A[0],A[1],[_[0],I.y]);A[0][0]>A[1][0]&&(O=-O),O>0&&(x=I.index)}else x=I.index;else I.y!==_[1]&&(x=I.index)}}}return x}},4670:function(f,l,a){var u=a(9130),o=a(9662);function s(h,m){var w=o(u(h,m),[m[m.length-1]]);return w[w.length-1]}function c(h,m,w,y){var S=-m/(y-m);S<0?S=0:S>1&&(S=1);for(var _=1-S,k=h.length,E=new Array(k),x=0;x0||S>0&&x<0){var A=c(_,x,k,S);w.push(A),y.push(A.slice())}x<0?y.push(k.slice()):x>0?w.push(k.slice()):(w.push(k.slice()),y.push(k.slice())),S=x}return{positive:w,negative:y}},f.exports.positive=function(h,m){for(var w=[],y=s(h[h.length-1],m),S=h[h.length-1],_=h[0],k=0;k0||y>0&&E<0)&&w.push(c(S,E,_,y)),E>=0&&w.push(_.slice()),y=E}return w},f.exports.negative=function(h,m){for(var w=[],y=s(h[h.length-1],m),S=h[h.length-1],_=h[0],k=0;k0||y>0&&E<0)&&w.push(c(S,E,_,y)),E<=0&&w.push(_.slice()),y=E}return w}},8974:function(f,l,a){var u;(function(){var o={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function s(y){return h(w(y),arguments)}function c(y,S){return s.apply(null,[y].concat(S||[]))}function h(y,S){var _,k,E,x,A,L,b,R,I,O=1,z=y.length,F="";for(k=0;k=0),x.type){case"b":_=parseInt(_,10).toString(2);break;case"c":_=String.fromCharCode(parseInt(_,10));break;case"d":case"i":_=parseInt(_,10);break;case"j":_=JSON.stringify(_,null,x.width?parseInt(x.width):0);break;case"e":_=x.precision?parseFloat(_).toExponential(x.precision):parseFloat(_).toExponential();break;case"f":_=x.precision?parseFloat(_).toFixed(x.precision):parseFloat(_);break;case"g":_=x.precision?String(Number(_.toPrecision(x.precision))):parseFloat(_);break;case"o":_=(parseInt(_,10)>>>0).toString(8);break;case"s":_=String(_),_=x.precision?_.substring(0,x.precision):_;break;case"t":_=String(!!_),_=x.precision?_.substring(0,x.precision):_;break;case"T":_=Object.prototype.toString.call(_).slice(8,-1).toLowerCase(),_=x.precision?_.substring(0,x.precision):_;break;case"u":_=parseInt(_,10)>>>0;break;case"v":_=_.valueOf(),_=x.precision?_.substring(0,x.precision):_;break;case"x":_=(parseInt(_,10)>>>0).toString(16);break;case"X":_=(parseInt(_,10)>>>0).toString(16).toUpperCase()}o.json.test(x.type)?F+=_:(!o.number.test(x.type)||R&&!x.sign?I="":(I=R?"+":"-",_=_.toString().replace(o.sign,"")),L=x.pad_char?x.pad_char==="0"?"0":x.pad_char.charAt(1):" ",b=x.width-(I+_).length,A=x.width&&b>0?L.repeat(b):"",F+=x.align?I+_+A:L==="0"?I+A+_:A+I+_)}return F}var m=Object.create(null);function w(y){if(m[y])return m[y];for(var S,_=y,k=[],E=0;_;){if((S=o.text.exec(_))!==null)k.push(S[0]);else if((S=o.modulo.exec(_))!==null)k.push("%");else{if((S=o.placeholder.exec(_))===null)throw new SyntaxError("[sprintf] unexpected placeholder");if(S[2]){E|=1;var x=[],A=S[2],L=[];if((L=o.key.exec(A))===null)throw new SyntaxError("[sprintf] failed to parse named argument key");for(x.push(L[1]);(A=A.substring(L[0].length))!=="";)if((L=o.key_access.exec(A))!==null)x.push(L[1]);else{if((L=o.index_access.exec(A))===null)throw new SyntaxError("[sprintf] failed to parse named argument key");x.push(L[1])}S[2]=x}else E|=2;if(E===3)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");k.push({placeholder:S[0],param_no:S[1],keys:S[2],sign:S[3],pad_char:S[4],align:S[5],width:S[6],precision:S[7],type:S[8]})}_=_.substring(S[0].length)}return m[y]=k}l.sprintf=s,l.vsprintf=c,typeof window<"u"&&(window.sprintf=s,window.vsprintf=c,(u=(function(){return{sprintf:s,vsprintf:c}}).call(l,a,l,f))===void 0||(f.exports=u))})()},4162:function(f,l,a){f.exports=function(h,m){if(h.dimension<=0)return{positions:[],cells:[]};if(h.dimension===1)return function(S,_){for(var k=o(S,_),E=k.length,x=new Array(E),A=new Array(E),L=0;LE|0},vertex:function(S,_,k,E,x,A,L,b,R,I,O,z,F){var B=(L<<0)+(b<<1)+(R<<2)+(I<<3)|0;if(B!==0&&B!==15)switch(B){case 0:case 15:O.push([S-.5,_-.5]);break;case 1:O.push([S-.25-.25*(E+k-2*F)/(k-E),_-.25-.25*(x+k-2*F)/(k-x)]);break;case 2:O.push([S-.75-.25*(-E-k+2*F)/(E-k),_-.25-.25*(A+E-2*F)/(E-A)]);break;case 3:O.push([S-.5,_-.5-.5*(x+k+A+E-4*F)/(k-x+E-A)]);break;case 4:O.push([S-.25-.25*(A+x-2*F)/(x-A),_-.75-.25*(-x-k+2*F)/(x-k)]);break;case 5:O.push([S-.5-.5*(E+k+A+x-4*F)/(k-E+x-A),_-.5]);break;case 6:O.push([S-.5-.25*(-E-k+A+x)/(E-k+x-A),_-.5-.25*(-x-k+A+E)/(x-k+E-A)]);break;case 7:O.push([S-.75-.25*(A+x-2*F)/(x-A),_-.75-.25*(A+E-2*F)/(E-A)]);break;case 8:O.push([S-.75-.25*(-A-x+2*F)/(A-x),_-.75-.25*(-A-E+2*F)/(A-E)]);break;case 9:O.push([S-.5-.25*(E+k+-A-x)/(k-E+A-x),_-.5-.25*(x+k+-A-E)/(k-x+A-E)]);break;case 10:O.push([S-.5-.5*(-E-k-A-x+4*F)/(E-k+A-x),_-.5]);break;case 11:O.push([S-.25-.25*(-A-x+2*F)/(A-x),_-.75-.25*(x+k-2*F)/(k-x)]);break;case 12:O.push([S-.5,_-.5-.5*(-x-k-A-E+4*F)/(x-k+A-E)]);break;case 13:O.push([S-.75-.25*(E+k-2*F)/(k-E),_-.25-.25*(-A-E+2*F)/(A-E)]);break;case 14:O.push([S-.25-.25*(-E-k+2*F)/(E-k),_-.25-.25*(-x-k+2*F)/(x-k)])}},cell:function(S,_,k,E,x,A,L,b,R){x?b.push([S,_]):b.push([_,S])}});return function(S,_){var k=[],E=[];return y(S,k,E,_),{positions:k,cells:E}}}},c={}},6946:function(f,l,a){f.exports=function c(h,m,w){w=w||{};var y=s[h];y||(y=s[h]={" ":{data:new Float32Array(0),shape:.2}});var S=y[m];if(!S)if(m.length<=1||!/\d/.test(m))S=y[m]=function(z){for(var F=z.cells,B=z.positions,N=new Float32Array(6*F.length),W=0,j=0,$=0;$0&&(x+=.02);var L=new Float32Array(E),b=0,R=-.5*x;for(A=0;AMath.max(L,b)?R[2]=1:L>Math.max(A,b)?R[0]=1:R[1]=1;for(var I=0,O=0,z=0;z<3;++z)I+=x[z]*x[z],O+=R[z]*x[z];for(z=0;z<3;++z)R[z]-=O/I*x[z];return h(R,R),R}function _(x,A,L,b,R,I,O,z){this.center=u(L),this.up=u(b),this.right=u(R),this.radius=u([I]),this.angle=u([O,z]),this.angle.bounds=[[-1/0,-Math.PI/2],[1/0,Math.PI/2]],this.setDistanceLimits(x,A),this.computedCenter=this.center.curve(0),this.computedUp=this.up.curve(0),this.computedRight=this.right.curve(0),this.computedRadius=this.radius.curve(0),this.computedAngle=this.angle.curve(0),this.computedToward=[0,0,0],this.computedEye=[0,0,0],this.computedMatrix=new Array(16);for(var F=0;F<16;++F)this.computedMatrix[F]=.5;this.recalcMatrix(0)}var k=_.prototype;k.setDistanceLimits=function(x,A){x=x>0?Math.log(x):-1/0,A=A>0?Math.log(A):1/0,A=Math.max(A,x),this.radius.bounds[0][0]=x,this.radius.bounds[1][0]=A},k.getDistanceLimits=function(x){var A=this.radius.bounds[0];return x?(x[0]=Math.exp(A[0][0]),x[1]=Math.exp(A[1][0]),x):[Math.exp(A[0][0]),Math.exp(A[1][0])]},k.recalcMatrix=function(x){this.center.curve(x),this.up.curve(x),this.right.curve(x),this.radius.curve(x),this.angle.curve(x);for(var A=this.computedUp,L=this.computedRight,b=0,R=0,I=0;I<3;++I)R+=A[I]*L[I],b+=A[I]*A[I];var O=Math.sqrt(b),z=0;for(I=0;I<3;++I)L[I]-=A[I]*R/b,z+=L[I]*L[I],A[I]/=O;var F=Math.sqrt(z);for(I=0;I<3;++I)L[I]/=F;var B=this.computedToward;c(B,A,L),h(B,B);var N=Math.exp(this.computedRadius[0]),W=this.computedAngle[0],j=this.computedAngle[1],$=Math.cos(W),U=Math.sin(W),G=Math.cos(j),q=Math.sin(j),H=this.computedCenter,ne=$*G,te=U*G,Z=q,X=-$*q,Q=-U*q,re=G,ie=this.computedEye,oe=this.computedMatrix;for(I=0;I<3;++I){var ue=ne*L[I]+te*B[I]+Z*A[I];oe[4*I+1]=X*L[I]+Q*B[I]+re*A[I],oe[4*I+2]=ue,oe[4*I+3]=0}var ce=oe[1],ye=oe[5],de=oe[9],me=oe[2],pe=oe[6],xe=oe[10],Pe=ye*xe-de*pe,_e=de*me-ce*xe,Me=ce*pe-ye*me,Se=w(Pe,_e,Me);for(Pe/=Se,_e/=Se,Me/=Se,oe[0]=Pe,oe[4]=_e,oe[8]=Me,I=0;I<3;++I)ie[I]=H[I]+oe[2+4*I]*N;for(I=0;I<3;++I){z=0;for(var Ce=0;Ce<3;++Ce)z+=oe[I+4*Ce]*ie[Ce];oe[12+I]=-z}oe[15]=1},k.getMatrix=function(x,A){this.recalcMatrix(x);var L=this.computedMatrix;if(A){for(var b=0;b<16;++b)A[b]=L[b];return A}return L};var E=[0,0,0];k.rotate=function(x,A,L,b){if(this.angle.move(x,A,L),b){this.recalcMatrix(x);var R=this.computedMatrix;E[0]=R[2],E[1]=R[6],E[2]=R[10];for(var I=this.computedUp,O=this.computedRight,z=this.computedToward,F=0;F<3;++F)R[4*F]=I[F],R[4*F+1]=O[F],R[4*F+2]=z[F];for(s(R,R,b,E),F=0;F<3;++F)I[F]=R[4*F],O[F]=R[4*F+1];this.up.set(x,I[0],I[1],I[2]),this.right.set(x,O[0],O[1],O[2])}},k.pan=function(x,A,L,b){A=A||0,L=L||0,b=b||0,this.recalcMatrix(x);var R=this.computedMatrix,I=(Math.exp(this.computedRadius[0]),R[1]),O=R[5],z=R[9],F=w(I,O,z);I/=F,O/=F,z/=F;var B=R[0],N=R[4],W=R[8],j=B*I+N*O+W*z,$=w(B-=I*j,N-=O*j,W-=z*j),U=(B/=$)*A+I*L,G=(N/=$)*A+O*L,q=(W/=$)*A+z*L;this.center.move(x,U,G,q);var H=Math.exp(this.computedRadius[0]);H=Math.max(1e-4,H+b),this.radius.set(x,Math.log(H))},k.translate=function(x,A,L,b){this.center.move(x,A||0,L||0,b||0)},k.setMatrix=function(x,A,L,b){var R=1;typeof L=="number"&&(R=0|L),(R<0||R>3)&&(R=1);var I=(R+2)%3;A||(this.recalcMatrix(x),A=this.computedMatrix);var O=A[R],z=A[R+4],F=A[R+8];if(b){var B=Math.abs(O),N=Math.abs(z),W=Math.abs(F),j=Math.max(B,N,W);B===j?(O=O<0?-1:1,z=F=0):W===j?(F=F<0?-1:1,O=z=0):(z=z<0?-1:1,O=F=0)}else{var $=w(O,z,F);O/=$,z/=$,F/=$}var U,G,q=A[I],H=A[I+4],ne=A[I+8],te=q*O+H*z+ne*F,Z=w(q-=O*te,H-=z*te,ne-=F*te),X=z*(ne/=Z)-F*(H/=Z),Q=F*(q/=Z)-O*ne,re=O*H-z*q,ie=w(X,Q,re);if(X/=ie,Q/=ie,re/=ie,this.center.jump(x,ke,Le,Be),this.radius.idle(x),this.up.jump(x,O,z,F),this.right.jump(x,q,H,ne),R===2){var oe=A[1],ue=A[5],ce=A[9],ye=oe*q+ue*H+ce*ne,de=oe*X+ue*Q+ce*re;U=Pe<0?-Math.PI/2:Math.PI/2,G=Math.atan2(de,ye)}else{var me=A[2],pe=A[6],xe=A[10],Pe=me*O+pe*z+xe*F,_e=me*q+pe*H+xe*ne,Me=me*X+pe*Q+xe*re;U=Math.asin(y(Pe)),G=Math.atan2(Me,_e)}this.angle.jump(x,G,U),this.recalcMatrix(x);var Se=A[2],Ce=A[6],ae=A[10],fe=this.computedMatrix;o(fe,A);var be=fe[15],ke=fe[12]/be,Le=fe[13]/be,Be=fe[14]/be,ze=Math.exp(this.computedRadius[0]);this.center.jump(x,ke-Se*ze,Le-Ce*ze,Be-ae*ze)},k.lastT=function(){return Math.max(this.center.lastT(),this.up.lastT(),this.right.lastT(),this.radius.lastT(),this.angle.lastT())},k.idle=function(x){this.center.idle(x),this.up.idle(x),this.right.idle(x),this.radius.idle(x),this.angle.idle(x)},k.flush=function(x){this.center.flush(x),this.up.flush(x),this.right.flush(x),this.radius.flush(x),this.angle.flush(x)},k.setDistance=function(x,A){A>0&&this.radius.set(x,Math.log(A))},k.lookAt=function(x,A,L,b){this.recalcMatrix(x),A=A||this.computedEye,L=L||this.computedCenter;var R=(b=b||this.computedUp)[0],I=b[1],O=b[2],z=w(R,I,O);if(!(z<1e-6)){R/=z,I/=z,O/=z;var F=A[0]-L[0],B=A[1]-L[1],N=A[2]-L[2],W=w(F,B,N);if(!(W<1e-6)){F/=W,B/=W,N/=W;var j=this.computedRight,$=j[0],U=j[1],G=j[2],q=R*$+I*U+O*G,H=w($-=q*R,U-=q*I,G-=q*O);if(!(H<.01&&(H=w($=I*N-O*B,U=O*F-R*N,G=R*B-I*F))<1e-6)){$/=H,U/=H,G/=H,this.up.set(x,R,I,O),this.right.set(x,$,U,G),this.center.set(x,L[0],L[1],L[2]),this.radius.set(x,Math.log(W));var ne=I*G-O*U,te=O*$-R*G,Z=R*U-I*$,X=w(ne,te,Z),Q=R*F+I*B+O*N,re=$*F+U*B+G*N,ie=(ne/=X)*F+(te/=X)*B+(Z/=X)*N,oe=Math.asin(y(Q)),ue=Math.atan2(ie,re),ce=this.angle._state,ye=ce[ce.length-1],de=ce[ce.length-2];ye%=2*Math.PI;var me=Math.abs(ye+2*Math.PI-ue),pe=Math.abs(ye-ue),xe=Math.abs(ye-2*Math.PI-ue);me0?U.pop():new ArrayBuffer(j)}function E(j){return new Uint8Array(k(j),0,j)}function x(j){return new Uint16Array(k(2*j),0,j)}function A(j){return new Uint32Array(k(4*j),0,j)}function L(j){return new Int8Array(k(j),0,j)}function b(j){return new Int16Array(k(2*j),0,j)}function R(j){return new Int32Array(k(4*j),0,j)}function I(j){return new Float32Array(k(4*j),0,j)}function O(j){return new Float64Array(k(8*j),0,j)}function z(j){return c?new Uint8ClampedArray(k(j),0,j):E(j)}function F(j){return h?new BigUint64Array(k(8*j),0,j):null}function B(j){return m?new BigInt64Array(k(8*j),0,j):null}function N(j){return new DataView(k(j),0,j)}function W(j){j=u.nextPow2(j);var $=u.log2(j),U=S[$];return U.length>0?U.pop():new s(j)}l.free=function(j){if(s.isBuffer(j))S[u.log2(j.length)].push(j);else{if(Object.prototype.toString.call(j)!=="[object ArrayBuffer]"&&(j=j.buffer),!j)return;var $=j.length||j.byteLength,U=0|u.log2($);y[U].push(j)}},l.freeUint8=l.freeUint16=l.freeUint32=l.freeBigUint64=l.freeInt8=l.freeInt16=l.freeInt32=l.freeBigInt64=l.freeFloat32=l.freeFloat=l.freeFloat64=l.freeDouble=l.freeUint8Clamped=l.freeDataView=function(j){_(j.buffer)},l.freeArrayBuffer=_,l.freeBuffer=function(j){S[u.log2(j.length)].push(j)},l.malloc=function(j,$){if($===void 0||$==="arraybuffer")return k(j);switch($){case"uint8":return E(j);case"uint16":return x(j);case"uint32":return A(j);case"int8":return L(j);case"int16":return b(j);case"int32":return R(j);case"float":case"float32":return I(j);case"double":case"float64":return O(j);case"uint8_clamped":return z(j);case"bigint64":return B(j);case"biguint64":return F(j);case"buffer":return W(j);case"data":case"dataview":return N(j);default:return null}return null},l.mallocArrayBuffer=k,l.mallocUint8=E,l.mallocUint16=x,l.mallocUint32=A,l.mallocInt8=L,l.mallocInt16=b,l.mallocInt32=R,l.mallocFloat32=l.mallocFloat=I,l.mallocFloat64=l.mallocDouble=O,l.mallocUint8Clamped=z,l.mallocBigUint64=F,l.mallocBigInt64=B,l.mallocDataView=N,l.mallocBuffer=W,l.clearCache=function(){for(var j=0;j<32;++j)w.UINT8[j].length=0,w.UINT16[j].length=0,w.UINT32[j].length=0,w.INT8[j].length=0,w.INT16[j].length=0,w.INT32[j].length=0,w.FLOAT[j].length=0,w.DOUBLE[j].length=0,w.BIGUINT64[j].length=0,w.BIGINT64[j].length=0,w.UINT8C[j].length=0,y[j].length=0,S[j].length=0}},1731:function(f){function l(u){this.roots=new Array(u),this.ranks=new Array(u);for(var o=0;o0&&(R=b.size),b.lineSpacing&&b.lineSpacing>0&&(I=b.lineSpacing),b.styletags&&b.styletags.breaklines&&(O.breaklines=!!b.styletags.breaklines),b.styletags&&b.styletags.bolds&&(O.bolds=!!b.styletags.bolds),b.styletags&&b.styletags.italics&&(O.italics=!!b.styletags.italics),b.styletags&&b.styletags.subscripts&&(O.subscripts=!!b.styletags.subscripts),b.styletags&&b.styletags.superscripts&&(O.superscripts=!!b.styletags.superscripts)),L.font=[b.fontStyle,b.fontVariant,b.fontWeight,R+"px",b.font].filter(function(z){return z}).join(" "),L.textAlign="start",L.textBaseline="alphabetic",L.direction="ltr",E(function(z,F,B,N,W,j){B=B.replace(/\n/g,""),B=j.breaklines===!0?B.replace(/\/g,` -`):B.replace(/\/g," ");var $="",U=[];for(ne=0;ne0)continue;ye=ue.slice(0,1).join("")}return G(ye),z+=ye.length,(b=b.slice(ye.length)).length}}function Q(){return/[^a-fA-F0-9]/.test(_)?(G(b.join("")),L=m,x):(b.push(_),k=_,x+1)}function re(){return _==="."||/[eE]/.test(_)?(b.push(_),L=5,k=_,x+1):_==="x"&&b.length===1&&b[0]==="0"?(L=11,b.push(_),k=_,x+1):/[^\d]/.test(_)?(G(b.join("")),L=m,x):(b.push(_),k=_,x+1)}function ie(){return _==="f"&&(b.push(_),k=_,x+=1),/[eE]/.test(_)?(b.push(_),k=_,x+1):(_!=="-"&&_!=="+"||!/[eE]/.test(k))&&/[^\d]/.test(_)?(G(b.join("")),L=m,x):(b.push(_),k=_,x+1)}function oe(){if(/[^\d\w_]/.test(_)){var ue=b.join("");return L=U[ue]?8:$[ue]?7:6,G(b.join("")),L=m,x}return b.push(_),k=_,x+1}};var u=a(399),o=a(9746),s=a(9525),h=a(9458),c=a(3585),m=999,w=9999,y=["block-comment","line-comment","preprocessor","operator","integer","float","ident","builtin","keyword","whitespace","eof","integer"]},3585:function(f,l,a){var u=a(9525);u=u.slice().filter(function(o){return!/^(gl\_|texture)/.test(o)}),f.exports=u.concat(["gl_VertexID","gl_InstanceID","gl_Position","gl_PointSize","gl_FragCoord","gl_FrontFacing","gl_FragDepth","gl_PointCoord","gl_MaxVertexAttribs","gl_MaxVertexUniformVectors","gl_MaxVertexOutputVectors","gl_MaxFragmentInputVectors","gl_MaxVertexTextureImageUnits","gl_MaxCombinedTextureImageUnits","gl_MaxTextureImageUnits","gl_MaxFragmentUniformVectors","gl_MaxDrawBuffers","gl_MinProgramTexelOffset","gl_MaxProgramTexelOffset","gl_DepthRangeParameters","gl_DepthRange","trunc","round","roundEven","isnan","isinf","floatBitsToInt","floatBitsToUint","intBitsToFloat","uintBitsToFloat","packSnorm2x16","unpackSnorm2x16","packUnorm2x16","unpackUnorm2x16","packHalf2x16","unpackHalf2x16","outerProduct","transpose","determinant","inverse","texture","textureSize","textureProj","textureLod","textureOffset","texelFetch","texelFetchOffset","textureProjOffset","textureLodOffset","textureProjLod","textureProjLodOffset","textureGrad","textureGradOffset","textureProjGrad","textureProjGradOffset"])},9525:function(f){f.exports=["abs","acos","all","any","asin","atan","ceil","clamp","cos","cross","dFdx","dFdy","degrees","distance","dot","equal","exp","exp2","faceforward","floor","fract","gl_BackColor","gl_BackLightModelProduct","gl_BackLightProduct","gl_BackMaterial","gl_BackSecondaryColor","gl_ClipPlane","gl_ClipVertex","gl_Color","gl_DepthRange","gl_DepthRangeParameters","gl_EyePlaneQ","gl_EyePlaneR","gl_EyePlaneS","gl_EyePlaneT","gl_Fog","gl_FogCoord","gl_FogFragCoord","gl_FogParameters","gl_FragColor","gl_FragCoord","gl_FragData","gl_FragDepth","gl_FragDepthEXT","gl_FrontColor","gl_FrontFacing","gl_FrontLightModelProduct","gl_FrontLightProduct","gl_FrontMaterial","gl_FrontSecondaryColor","gl_LightModel","gl_LightModelParameters","gl_LightModelProducts","gl_LightProducts","gl_LightSource","gl_LightSourceParameters","gl_MaterialParameters","gl_MaxClipPlanes","gl_MaxCombinedTextureImageUnits","gl_MaxDrawBuffers","gl_MaxFragmentUniformComponents","gl_MaxLights","gl_MaxTextureCoords","gl_MaxTextureImageUnits","gl_MaxTextureUnits","gl_MaxVaryingFloats","gl_MaxVertexAttribs","gl_MaxVertexTextureImageUnits","gl_MaxVertexUniformComponents","gl_ModelViewMatrix","gl_ModelViewMatrixInverse","gl_ModelViewMatrixInverseTranspose","gl_ModelViewMatrixTranspose","gl_ModelViewProjectionMatrix","gl_ModelViewProjectionMatrixInverse","gl_ModelViewProjectionMatrixInverseTranspose","gl_ModelViewProjectionMatrixTranspose","gl_MultiTexCoord0","gl_MultiTexCoord1","gl_MultiTexCoord2","gl_MultiTexCoord3","gl_MultiTexCoord4","gl_MultiTexCoord5","gl_MultiTexCoord6","gl_MultiTexCoord7","gl_Normal","gl_NormalMatrix","gl_NormalScale","gl_ObjectPlaneQ","gl_ObjectPlaneR","gl_ObjectPlaneS","gl_ObjectPlaneT","gl_Point","gl_PointCoord","gl_PointParameters","gl_PointSize","gl_Position","gl_ProjectionMatrix","gl_ProjectionMatrixInverse","gl_ProjectionMatrixInverseTranspose","gl_ProjectionMatrixTranspose","gl_SecondaryColor","gl_TexCoord","gl_TextureEnvColor","gl_TextureMatrix","gl_TextureMatrixInverse","gl_TextureMatrixInverseTranspose","gl_TextureMatrixTranspose","gl_Vertex","greaterThan","greaterThanEqual","inversesqrt","length","lessThan","lessThanEqual","log","log2","matrixCompMult","max","min","mix","mod","normalize","not","notEqual","pow","radians","reflect","refract","sign","sin","smoothstep","sqrt","step","tan","texture2D","texture2DLod","texture2DProj","texture2DProjLod","textureCube","textureCubeLod","texture2DLodEXT","texture2DProjLodEXT","textureCubeLodEXT","texture2DGradEXT","texture2DProjGradEXT","textureCubeGradEXT"]},9458:function(f,l,a){var u=a(399);f.exports=u.slice().concat(["layout","centroid","smooth","case","mat2x2","mat2x3","mat2x4","mat3x2","mat3x3","mat3x4","mat4x2","mat4x3","mat4x4","uvec2","uvec3","uvec4","samplerCubeShadow","sampler2DArray","sampler2DArrayShadow","isampler2D","isampler3D","isamplerCube","isampler2DArray","usampler2D","usampler3D","usamplerCube","usampler2DArray","coherent","restrict","readonly","writeonly","resource","atomic_uint","noperspective","patch","sample","subroutine","common","partition","active","filter","image1D","image2D","image3D","imageCube","iimage1D","iimage2D","iimage3D","iimageCube","uimage1D","uimage2D","uimage3D","uimageCube","image1DArray","image2DArray","iimage1DArray","iimage2DArray","uimage1DArray","uimage2DArray","image1DShadow","image2DShadow","image1DArrayShadow","image2DArrayShadow","imageBuffer","iimageBuffer","uimageBuffer","sampler1DArray","sampler1DArrayShadow","isampler1D","isampler1DArray","usampler1D","usampler1DArray","isampler2DRect","usampler2DRect","samplerBuffer","isamplerBuffer","usamplerBuffer","sampler2DMS","isampler2DMS","usampler2DMS","sampler2DMSArray","isampler2DMSArray","usampler2DMSArray"])},399:function(f){f.exports=["precision","highp","mediump","lowp","attribute","const","uniform","varying","break","continue","do","for","while","if","else","in","out","inout","float","int","uint","void","bool","true","false","discard","return","mat2","mat3","mat4","vec2","vec3","vec4","ivec2","ivec3","ivec4","bvec2","bvec3","bvec4","sampler1D","sampler2D","sampler3D","samplerCube","sampler1DShadow","sampler2DShadow","struct","asm","class","union","enum","typedef","template","this","packed","goto","switch","default","inline","noinline","volatile","public","static","extern","external","interface","long","short","double","half","fixed","unsigned","input","output","hvec2","hvec3","hvec4","dvec2","dvec3","dvec4","fvec2","fvec3","fvec4","sampler2DRect","sampler3DRect","sampler2DRectShadow","sizeof","cast","namespace","using"]},9746:function(f){f.exports=["<<=",">>=","++","--","<<",">>","<=",">=","==","!=","&&","||","+=","-=","*=","/=","%=","&=","^^","^=","|=","(",")","[","]",".","!","~","*","/","%","+","-","<",">","&","^","|","?",":","=",",",";","{","}"]},8096:function(f,l,a){var u=a(3193);f.exports=function(o,s){var h=u(s),c=[];return(c=c.concat(h(o))).concat(h(null))}},6832:function(f){f.exports=function(l){typeof l=="string"&&(l=[l]);for(var a=[].slice.call(arguments,1),u=[],o=0;o0;)for(var b=(C=L.pop()).adjacent,R=0;R<=k;++R){var I=b[R];if(I.boundary&&!(I.lastVisited<=-E)){for(var O=I.vertices,z=0;z<=k;++z){var F=O[z];x[z]=F<0?_:A[F]}var B=this.orient();if(B>0)return I;I.lastVisited=-E,B===0&&L.push(I)}}return null},y.walk=function(C,_){var k=this.vertices.length-1,E=this.dimension,x=this.vertices,A=this.tuple,L=_?this.interior.length*Math.random()|0:this.interior.length-1,b=this.interior[L];e:for(;!b.boundary;){for(var R=b.vertices,I=b.adjacent,O=0;O<=E;++O)A[O]=x[R[O]];for(b.lastVisited=k,O=0;O<=E;++O){var z=I[O];if(!(z.lastVisited>=k)){var F=A[O];A[O]=C;var B=this.orient();if(A[O]=F,B<0){b=z;continue e}z.boundary?z.lastVisited=-k:z.lastVisited=k}}return}return b},y.addPeaks=function(C,_){var k=this.vertices.length-1,E=this.dimension,x=this.vertices,A=this.tuple,L=this.interior,b=this.simplices,R=[_];_.lastVisited=k,_.vertices[_.vertices.indexOf(-1)]=k,_.boundary=!1,L.push(_);for(var I=[];R.length>0;){var O=(_=R.pop()).vertices,z=_.adjacent,F=O.indexOf(k);if(!(F<0)){for(var B=0;B<=E;++B)if(B!==F){var N=z[B];if(N.boundary&&!(N.lastVisited>=k)){var W=N.vertices;if(N.lastVisited!==-k){for(var j=0,$=0;$<=E;++$)W[$]<0?(j=$,A[$]=C):A[$]=x[W[$]];if(this.orient()>0){W[j]=k,N.boundary=!1,L.push(N),R.push(N),N.lastVisited=k;continue}N.lastVisited=-k}var U=N.adjacent,G=O.slice(),q=z.slice(),H=new s(G,q,!0);b.push(H);var ne=U.indexOf(_);if(!(ne<0))for(U[ne]=H,q[F]=N,G[B]=-1,q[B]=_,z[B]=H,H.flip(),$=0;$<=E;++$){var te=G[$];if(!(te<0||te===k)){for(var Z=new Array(E-1),X=0,Q=0;Q<=E;++Q){var re=G[Q];re<0||Q===$||(Z[X++]=re)}I.push(new h(Z,H,$))}}}}}}for(I.sort(c),B=0;B+1=0?L[R++]=b[O]:I=1&O;if(I===(1&C)){var z=L[0];L[0]=L[1],L[1]=z}_.push(L)}}return _}},9014:function(f,l,a){var u=a(5070);function o(R,I,O,z,F){this.mid=R,this.left=I,this.right=O,this.leftPoints=z,this.rightPoints=F,this.count=(I?I.count:0)+(O?O.count:0)+z.length}f.exports=function(R){return R&&R.length!==0?new L(A(R)):new L(null)};var s=o.prototype;function h(R,I){R.mid=I.mid,R.left=I.left,R.right=I.right,R.leftPoints=I.leftPoints,R.rightPoints=I.rightPoints,R.count=I.count}function c(R,I){var O=A(I);R.mid=O.mid,R.left=O.left,R.right=O.right,R.leftPoints=O.leftPoints,R.rightPoints=O.rightPoints,R.count=O.count}function m(R,I){var O=R.intervals([]);O.push(I),c(R,O)}function w(R,I){var O=R.intervals([]),z=O.indexOf(I);return z<0?0:(O.splice(z,1),c(R,O),1)}function y(R,I,O){for(var z=0;z=0&&R[z][1]>=I;--z){var F=O(R[z]);if(F)return F}}function _(R,I){for(var O=0;O>1],F=[],B=[],N=[];for(O=0;O3*(I+1)?m(this,R):this.left.insert(R):this.left=A([R]);else if(R[0]>this.mid)this.right?4*(this.right.count+1)>3*(I+1)?m(this,R):this.right.insert(R):this.right=A([R]);else{var O=u.ge(this.leftPoints,R,E),z=u.ge(this.rightPoints,R,x);this.leftPoints.splice(O,0,R),this.rightPoints.splice(z,0,R)}},s.remove=function(R){var I=this.count-this.leftPoints;if(R[1]3*(I-1)?w(this,R):(B=this.left.remove(R))===2?(this.left=null,this.count-=1,1):(B===1&&(this.count-=1),B):0;if(R[0]>this.mid)return this.right?4*(this.left?this.left.count:0)>3*(I-1)?w(this,R):(B=this.right.remove(R))===2?(this.right=null,this.count-=1,1):(B===1&&(this.count-=1),B):0;if(this.count===1)return this.leftPoints[0]===R?2:0;if(this.leftPoints.length===1&&this.leftPoints[0]===R){if(this.left&&this.right){for(var O=this,z=this.left;z.right;)O=z,z=z.right;if(O===this)z.right=this.right;else{var F=this.left,B=this.right;O.count-=z.count,O.right=z.left,z.left=F,z.right=B}h(this,z),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?h(this,this.left):h(this,this.right);return 1}for(F=u.ge(this.leftPoints,R,E);Fthis.mid?this.right&&(O=this.right.queryPoint(R,I))?O:C(this.rightPoints,R,I):_(this.leftPoints,I);var O},s.queryInterval=function(R,I,O){var z;return Rthis.mid&&this.right&&(z=this.right.queryInterval(R,I,O))?z:Ithis.mid?C(this.rightPoints,R,O):_(this.leftPoints,O)};var b=L.prototype;b.insert=function(R){this.root?this.root.insert(R):this.root=new o(R[0],null,null,[R],[R])},b.remove=function(R){if(this.root){var I=this.root.remove(R);return I===2&&(this.root=null),I!==0}return!1},b.queryPoint=function(R,I){if(this.root)return this.root.queryPoint(R,I)},b.queryInterval=function(R,I,O){if(R<=I&&this.root)return this.root.queryInterval(R,I,O)},Object.defineProperty(b,"count",{get:function(){return this.root?this.root.count:0}}),Object.defineProperty(b,"intervals",{get:function(){return this.root?this.root.intervals([]):[]}})},9560:function(f){f.exports=function(l){for(var a=new Array(l),u=0;u13)&&a!==32&&a!==133&&a!==160&&a!==5760&&a!==6158&&(a<8192||a>8205)&&a!==8232&&a!==8233&&a!==8239&&a!==8287&&a!==8288&&a!==12288&&a!==65279)return!1;return!0}},3578:function(f){f.exports=function(l,a,u){return l*(1-u)+a*u}},7191:function(f,l,a){var u=a(4690),o=a(9823),s=a(7332),h=a(7787),c=a(7437),m=a(2142),w={length:a(4693),normalize:a(899),dot:a(9305),cross:a(903)},y=o(),C=o(),_=[0,0,0,0],k=[[0,0,0],[0,0,0],[0,0,0]],E=[0,0,0];function x(A,L,b,R,I){A[0]=L[0]*R+b[0]*I,A[1]=L[1]*R+b[1]*I,A[2]=L[2]*R+b[2]*I}f.exports=function(A,L,b,R,I,O){if(L||(L=[0,0,0]),b||(b=[0,0,0]),R||(R=[0,0,0]),I||(I=[0,0,0,1]),O||(O=[0,0,0,1]),!u(y,A)||(s(C,y),C[3]=0,C[7]=0,C[11]=0,C[15]=1,Math.abs(h(C)<1e-8)))return!1;var z,F,B,N,W,j,$,U=y[3],G=y[7],q=y[11],H=y[12],ne=y[13],te=y[14],Z=y[15];if(U!==0||G!==0||q!==0){if(_[0]=U,_[1]=G,_[2]=q,_[3]=Z,!c(C,C))return!1;m(C,C),z=I,B=C,N=(F=_)[0],W=F[1],j=F[2],$=F[3],z[0]=B[0]*N+B[4]*W+B[8]*j+B[12]*$,z[1]=B[1]*N+B[5]*W+B[9]*j+B[13]*$,z[2]=B[2]*N+B[6]*W+B[10]*j+B[14]*$,z[3]=B[3]*N+B[7]*W+B[11]*j+B[15]*$}else I[0]=I[1]=I[2]=0,I[3]=1;if(L[0]=H,L[1]=ne,L[2]=te,function(Q,re){Q[0][0]=re[0],Q[0][1]=re[1],Q[0][2]=re[2],Q[1][0]=re[4],Q[1][1]=re[5],Q[1][2]=re[6],Q[2][0]=re[8],Q[2][1]=re[9],Q[2][2]=re[10]}(k,y),b[0]=w.length(k[0]),w.normalize(k[0],k[0]),R[0]=w.dot(k[0],k[1]),x(k[1],k[1],k[0],1,-R[0]),b[1]=w.length(k[1]),w.normalize(k[1],k[1]),R[0]/=b[1],R[1]=w.dot(k[0],k[2]),x(k[2],k[2],k[0],1,-R[1]),R[2]=w.dot(k[1],k[2]),x(k[2],k[2],k[1],1,-R[2]),b[2]=w.length(k[2]),w.normalize(k[2],k[2]),R[1]/=b[2],R[2]/=b[2],w.cross(E,k[1],k[2]),w.dot(k[0],E)<0)for(var X=0;X<3;X++)b[X]*=-1,k[X][0]*=-1,k[X][1]*=-1,k[X][2]*=-1;return O[0]=.5*Math.sqrt(Math.max(1+k[0][0]-k[1][1]-k[2][2],0)),O[1]=.5*Math.sqrt(Math.max(1-k[0][0]+k[1][1]-k[2][2],0)),O[2]=.5*Math.sqrt(Math.max(1-k[0][0]-k[1][1]+k[2][2],0)),O[3]=.5*Math.sqrt(Math.max(1+k[0][0]+k[1][1]+k[2][2],0)),k[2][1]>k[1][2]&&(O[0]=-O[0]),k[0][2]>k[2][0]&&(O[1]=-O[1]),k[1][0]>k[0][1]&&(O[2]=-O[2]),!0}},4690:function(f){f.exports=function(l,a){var u=a[15];if(u===0)return!1;for(var o=1/u,s=0;s<16;s++)l[s]=a[s]*o;return!0}},7649:function(f,l,a){var u=a(1868),o=a(1102),s=a(7191),h=a(7787),c=a(1116),m=C(),w=C(),y=C();function C(){return{translate:_(),scale:_(1),skew:_(),perspective:[0,0,0,1],quaternion:[0,0,0,1]}}function _(k){return[k||0,k||0,k||0]}f.exports=function(k,E,x,A){if(h(E)===0||h(x)===0)return!1;var L=s(E,m.translate,m.scale,m.skew,m.perspective,m.quaternion),b=s(x,w.translate,w.scale,w.skew,w.perspective,w.quaternion);return!(!L||!b||(u(y.translate,m.translate,w.translate,A),u(y.skew,m.skew,w.skew,A),u(y.scale,m.scale,w.scale,A),u(y.perspective,m.perspective,w.perspective,A),c(y.quaternion,m.quaternion,w.quaternion,A),o(k,y.translate,y.scale,y.skew,y.perspective,y.quaternion),0))}},1102:function(f,l,a){var u={identity:a(9947),translate:a(998),multiply:a(104),create:a(9823),scale:a(3668),fromRotationTranslation:a(7280)},o=(u.create(),u.create());f.exports=function(s,h,c,m,w,y){return u.identity(s),u.fromRotationTranslation(s,y,h),s[3]=w[0],s[7]=w[1],s[11]=w[2],s[15]=w[3],u.identity(o),m[2]!==0&&(o[9]=m[2],u.multiply(s,s,o)),m[1]!==0&&(o[9]=0,o[8]=m[1],u.multiply(s,s,o)),m[0]!==0&&(o[8]=0,o[4]=m[0],u.multiply(s,s,o)),u.scale(s,s,c),s}},9298:function(f,l,a){var u=a(5070),o=a(7649),s=a(7437),h=a(6109),c=a(7115),m=a(5240),w=a(3012),y=a(998),C=(a(3668),a(899)),_=[0,0,0];function k(A){this._components=A.slice(),this._time=[0],this.prevMatrix=A.slice(),this.nextMatrix=A.slice(),this.computedMatrix=A.slice(),this.computedInverse=A.slice(),this.computedEye=[0,0,0],this.computedUp=[0,0,0],this.computedCenter=[0,0,0],this.computedRadius=[0],this._limits=[-1/0,1/0]}f.exports=function(A){return new k((A=A||{}).matrix||[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1])};var E=k.prototype;E.recalcMatrix=function(A){var L=this._time,b=u.le(L,A),R=this.computedMatrix;if(!(b<0)){var I=this._components;if(b===L.length-1)for(var O=16*b,z=0;z<16;++z)R[z]=I[O++];else{var F=L[b+1]-L[b],B=(O=16*b,this.prevMatrix),N=!0;for(z=0;z<16;++z)B[z]=I[O++];var W=this.nextMatrix;for(z=0;z<16;++z)W[z]=I[O++],N=N&&B[z]===W[z];if(F<1e-6||N)for(z=0;z<16;++z)R[z]=B[z];else o(R,B,W,(A-L[b])/F)}var j=this.computedUp;j[0]=R[1],j[1]=R[5],j[2]=R[9],C(j,j);var $=this.computedInverse;s($,R);var U=this.computedEye,G=$[15];U[0]=$[12]/G,U[1]=$[13]/G,U[2]=$[14]/G;var q=this.computedCenter,H=Math.exp(this.computedRadius[0]);for(z=0;z<3;++z)q[z]=U[z]-R[2+4*z]*H}},E.idle=function(A){if(!(A1&&u(o[w[k-2]],o[w[k-1]],_)<=0;)k-=1,w.pop();for(w.push(C),k=y.length;k>1&&u(o[y[k-2]],o[y[k-1]],_)>=0;)k-=1,y.pop();y.push(C)}h=new Array(y.length+w.length-2);for(var E=0,x=(c=0,w.length);c0;--A)h[E++]=y[A];return h};var u=a(417)[3]},6145:function(f,l,a){f.exports=function(o,s){s||(s=o,o=window);var h=0,c=0,m=0,w={shift:!1,alt:!1,control:!1,meta:!1},y=!1;function C(O){var z=!1;return"altKey"in O&&(z=z||O.altKey!==w.alt,w.alt=!!O.altKey),"shiftKey"in O&&(z=z||O.shiftKey!==w.shift,w.shift=!!O.shiftKey),"ctrlKey"in O&&(z=z||O.ctrlKey!==w.control,w.control=!!O.ctrlKey),"metaKey"in O&&(z=z||O.metaKey!==w.meta,w.meta=!!O.metaKey),z}function _(O,z){var F=u.x(z),B=u.y(z);"buttons"in z&&(O=0|z.buttons),(O!==h||F!==c||B!==m||C(z))&&(h=0|O,c=F||0,m=B||0,s&&s(h,c,m,w))}function k(O){_(0,O)}function E(){(h||c||m||w.shift||w.alt||w.meta||w.control)&&(c=m=0,h=0,w.shift=w.alt=w.control=w.meta=!1,s&&s(0,0,0,w))}function x(O){C(O)&&s&&s(h,c,m,w)}function A(O){u.buttons(O)===0?_(0,O):_(h,O)}function L(O){_(h|u.buttons(O),O)}function b(O){_(h&~u.buttons(O),O)}function R(){y||(y=!0,o.addEventListener("mousemove",A),o.addEventListener("mousedown",L),o.addEventListener("mouseup",b),o.addEventListener("mouseleave",k),o.addEventListener("mouseenter",k),o.addEventListener("mouseout",k),o.addEventListener("mouseover",k),o.addEventListener("blur",E),o.addEventListener("keyup",x),o.addEventListener("keydown",x),o.addEventListener("keypress",x),o!==window&&(window.addEventListener("blur",E),window.addEventListener("keyup",x),window.addEventListener("keydown",x),window.addEventListener("keypress",x)))}R();var I={element:o};return Object.defineProperties(I,{enabled:{get:function(){return y},set:function(O){O?R():y&&(y=!1,o.removeEventListener("mousemove",A),o.removeEventListener("mousedown",L),o.removeEventListener("mouseup",b),o.removeEventListener("mouseleave",k),o.removeEventListener("mouseenter",k),o.removeEventListener("mouseout",k),o.removeEventListener("mouseover",k),o.removeEventListener("blur",E),o.removeEventListener("keyup",x),o.removeEventListener("keydown",x),o.removeEventListener("keypress",x),o!==window&&(window.removeEventListener("blur",E),window.removeEventListener("keyup",x),window.removeEventListener("keydown",x),window.removeEventListener("keypress",x)))},enumerable:!0},buttons:{get:function(){return h},enumerable:!0},x:{get:function(){return c},enumerable:!0},y:{get:function(){return m},enumerable:!0},mods:{get:function(){return w},enumerable:!0}}),I};var u=a(4110)},2565:function(f){var l={left:0,top:0};f.exports=function(a,u,o){u=u||a.currentTarget||a.srcElement,Array.isArray(o)||(o=[0,0]);var s,h=a.clientX||0,c=a.clientY||0,m=(s=u)===window||s===document||s===document.body?l:s.getBoundingClientRect();return o[0]=h-m.left,o[1]=c-m.top,o}},4110:function(f,l){function a(u){return u.target||u.srcElement||window}l.buttons=function(u){if(typeof u=="object"){if("buttons"in u)return u.buttons;if("which"in u){if((o=u.which)===2)return 4;if(o===3)return 2;if(o>0)return 1<=0)return 1< 0"),typeof s.vertex!="function"&&h("Must specify vertex creation function"),typeof s.cell!="function"&&h("Must specify cell creation function"),typeof s.phase!="function"&&h("Must specify phase function");for(var w=s.getters||[],y=new Array(m),C=0;C=0?y[C]=!0:y[C]=!1;return function(_,k,E,x,A,L){var b=[L,A].join(",");return(0,o[b])(_,k,E,u.mallocUint32,u.freeUint32)}(s.vertex,s.cell,s.phase,0,c,y)};var o={"false,0,1":function(s,h,c,m,w){return function(y,C,_,k){var E,x=0|y.shape[0],A=0|y.shape[1],L=y.data,b=0|y.offset,R=0|y.stride[0],I=0|y.stride[1],O=b,z=0|-R,F=0,B=0|-I,N=0,W=-R-I|0,j=0,$=0|R,U=I-R*x|0,G=0,q=0,H=0,ne=2*x|0,te=m(ne),Z=m(ne),X=0,Q=0,re=-1,ie=-1,oe=0,ue=0|-x,ce=0|x,ye=0,de=-x-1|0,me=x-1|0,pe=0,xe=0,Pe=0;for(G=0;G0){if(q=1,te[X++]=c(L[O],C,_,k),O+=$,x>0)for(G=1,E=L[O],Q=te[X]=c(E,C,_,k),oe=te[X+re],ye=te[X+ue],pe=te[X+de],Q===oe&&Q===ye&&Q===pe||(F=L[O+z],N=L[O+B],j=L[O+W],s(G,q,E,F,N,j,Q,oe,ye,pe,C,_,k),xe=Z[X]=H++),X+=1,O+=$,G=2;G0)for(G=1,E=L[O],Q=te[X]=c(E,C,_,k),oe=te[X+re],ye=te[X+ue],pe=te[X+de],Q===oe&&Q===ye&&Q===pe||(F=L[O+z],N=L[O+B],j=L[O+W],s(G,q,E,F,N,j,Q,oe,ye,pe,C,_,k),xe=Z[X]=H++,pe!==ye&&h(Z[X+ue],xe,N,j,ye,pe,C,_,k)),X+=1,O+=$,G=2;G0){if(G=1,te[X++]=c(L[O],C,_,k),O+=$,A>0)for(q=1,E=L[O],Q=te[X]=c(E,C,_,k),ye=te[X+ue],oe=te[X+re],pe=te[X+de],Q===ye&&Q===oe&&Q===pe||(F=L[O+z],N=L[O+B],j=L[O+W],s(G,q,E,F,N,j,Q,ye,oe,pe,C,_,k),xe=Z[X]=H++),X+=1,O+=$,q=2;q0)for(q=1,E=L[O],Q=te[X]=c(E,C,_,k),ye=te[X+ue],oe=te[X+re],pe=te[X+de],Q===ye&&Q===oe&&Q===pe||(F=L[O+z],N=L[O+B],j=L[O+W],s(G,q,E,F,N,j,Q,ye,oe,pe,C,_,k),xe=Z[X]=H++,pe!==ye&&h(Z[X+ue],xe,j,F,pe,ye,C,_,k)),X+=1,O+=$,q=2;q2&&O[1]>2&&b(I.pick(-1,-1).lo(1,1).hi(O[0]-2,O[1]-2),R.pick(-1,-1,0).lo(1,1).hi(O[0]-2,O[1]-2),R.pick(-1,-1,1).lo(1,1).hi(O[0]-2,O[1]-2)),O[1]>2&&(L(I.pick(0,-1).lo(1).hi(O[1]-2),R.pick(0,-1,1).lo(1).hi(O[1]-2)),A(R.pick(0,-1,0).lo(1).hi(O[1]-2))),O[1]>2&&(L(I.pick(O[0]-1,-1).lo(1).hi(O[1]-2),R.pick(O[0]-1,-1,1).lo(1).hi(O[1]-2)),A(R.pick(O[0]-1,-1,0).lo(1).hi(O[1]-2))),O[0]>2&&(L(I.pick(-1,0).lo(1).hi(O[0]-2),R.pick(-1,0,0).lo(1).hi(O[0]-2)),A(R.pick(-1,0,1).lo(1).hi(O[0]-2))),O[0]>2&&(L(I.pick(-1,O[1]-1).lo(1).hi(O[0]-2),R.pick(-1,O[1]-1,0).lo(1).hi(O[0]-2)),A(R.pick(-1,O[1]-1,1).lo(1).hi(O[0]-2))),R.set(0,0,0,0),R.set(0,0,1,0),R.set(O[0]-1,0,0,0),R.set(O[0]-1,0,1,0),R.set(0,O[1]-1,0,0),R.set(0,O[1]-1,1,0),R.set(O[0]-1,O[1]-1,0,0),R.set(O[0]-1,O[1]-1,1,0),R}}f.exports=function(x,A,L){return Array.isArray(L)||(L=u(A.dimension,typeof L=="string"?L:"clamp")),A.size===0?x:A.dimension===0?(x.set(0),x):function(b){var R=b.join();if(F=y[R])return F;for(var I=b.length,O=[C,_],z=1;z<=I;++z)O.push(k(z));var F=E.apply(void 0,O);return y[R]=F,F}(L)(x,A)}},3581:function(f){function l(s,h){var c=Math.floor(h),m=h-c,w=0<=c&&c0;){W<64?(x=W,W=0):(x=64,W-=64);for(var j=0|c[1];j>0;){j<64?(A=j,j=0):(A=64,j-=64),y=B+W*b+j*R,k=N+W*O+j*z;var $=0,U=0,G=0,q=I,H=b-L*I,ne=R-x*b,te=F,Z=O-L*F,X=z-x*O;for(G=0;G0;){z<64?(x=z,z=0):(x=64,z-=64);for(var F=0|c[0];F>0;){F<64?(E=F,F=0):(E=64,F-=64),y=I+z*L+F*A,k=O+z*R+F*b;var B=0,N=0,W=L,j=A-x*L,$=R,U=b-x*R;for(N=0;N0;){N<64?(A=N,N=0):(A=64,N-=64);for(var W=0|c[0];W>0;){W<64?(E=W,W=0):(E=64,W-=64);for(var j=0|c[1];j>0;){j<64?(x=j,j=0):(x=64,j-=64),y=F+N*R+W*L+j*b,k=B+N*z+W*I+j*O;var $=0,U=0,G=0,q=R,H=L-A*R,ne=b-E*L,te=z,Z=I-A*z,X=O-E*I;for(G=0;Gy;){N=0,W=F-E;t:for(B=0;B$)break t;W+=R,N+=I}for(N=F,W=F-E,B=0;B>1,Ce=Se-Pe,ae=Se+Pe,fe=_e,be=Ce,ke=Se,Le=ae,Be=Me,ze=_+1,je=k-1,ge=!0,we=0,Ee=0,Ve=0,$e=R,Ye=w($e),st=w($e);ne=A*fe,te=A*be,xe=x;e:for(H=0;H0){B=fe,fe=be,be=B;break e}if(Ve<0)break e;xe+=O}ne=A*Le,te=A*Be,xe=x;e:for(H=0;H0){B=Le,Le=Be,Be=B;break e}if(Ve<0)break e;xe+=O}ne=A*fe,te=A*ke,xe=x;e:for(H=0;H0){B=fe,fe=ke,ke=B;break e}if(Ve<0)break e;xe+=O}ne=A*be,te=A*ke,xe=x;e:for(H=0;H0){B=be,be=ke,ke=B;break e}if(Ve<0)break e;xe+=O}ne=A*fe,te=A*Le,xe=x;e:for(H=0;H0){B=fe,fe=Le,Le=B;break e}if(Ve<0)break e;xe+=O}ne=A*ke,te=A*Le,xe=x;e:for(H=0;H0){B=ke,ke=Le,Le=B;break e}if(Ve<0)break e;xe+=O}ne=A*be,te=A*Be,xe=x;e:for(H=0;H0){B=be,be=Be,Be=B;break e}if(Ve<0)break e;xe+=O}ne=A*be,te=A*ke,xe=x;e:for(H=0;H0){B=be,be=ke,ke=B;break e}if(Ve<0)break e;xe+=O}ne=A*Le,te=A*Be,xe=x;e:for(H=0;H0){B=Le,Le=Be,Be=B;break e}if(Ve<0)break e;xe+=O}for(ne=A*fe,te=A*be,Z=A*ke,X=A*Le,Q=A*Be,re=A*_e,ie=A*Se,oe=A*Me,pe=0,xe=x,H=0;H0)){if(Ve<0){for(ne=A*$,te=A*ze,Z=A*je,xe=x,H=0;H0)for(;;){for(U=x+je*A,pe=0,H=0;H0)){for(U=x+je*A,pe=0,H=0;HMe){e:for(;;){for(U=x+ze*A,pe=0,xe=x,H=0;H1&&L?R(A,L[0],L[1]):R(A)}(m,w,_);return C(_,k)}},8729:function(f,l,a){var u=a(8139),o={};f.exports=function(s){var h=s.order,c=s.dtype,m=[h,c].join(":"),w=o[m];return w||(o[m]=w=u(h,c)),w(s),s}},5050:function(f,l,a){var u=a(4780),o=typeof Float64Array<"u";function s(y,C){return y[0]-C[0]}function h(){var y,C=this.stride,_=new Array(C.length);for(y=0;y<_.length;++y)_[y]=[Math.abs(C[y]),y];_.sort(s);var k=new Array(_.length);for(y=0;y=0&&(A+=R*(L=0|x),b-=L),new k(this.data,b,R,A)},E.step=function(x){var A=this.shape[0],L=this.stride[0],b=this.offset,R=0,I=Math.ceil;return typeof x=="number"&&((R=0|x)<0?(b+=L*(A-1),A=I(-A/R)):A=I(A/R),L*=R),new k(this.data,A,L,b)},E.transpose=function(x){x=x===void 0?0:0|x;var A=this.shape,L=this.stride;return new k(this.data,A[x],L[x],this.offset)},E.pick=function(x){var A=[],L=[],b=this.offset;return typeof x=="number"&&x>=0?b=b+this.stride[0]*x|0:(A.push(this.shape[0]),L.push(this.stride[0])),(0,C[A.length+1])(this.data,A,L,b)},function(x,A,L,b){return new k(x,A[0],L[0],b)}},2:function(y,C,_){function k(x,A,L,b,R,I){this.data=x,this.shape=[A,L],this.stride=[b,R],this.offset=0|I}var E=k.prototype;return E.dtype=y,E.dimension=2,Object.defineProperty(E,"size",{get:function(){return this.shape[0]*this.shape[1]}}),Object.defineProperty(E,"order",{get:function(){return Math.abs(this.stride[0])>Math.abs(this.stride[1])?[1,0]:[0,1]}}),E.set=function(x,A,L){return y==="generic"?this.data.set(this.offset+this.stride[0]*x+this.stride[1]*A,L):this.data[this.offset+this.stride[0]*x+this.stride[1]*A]=L},E.get=function(x,A){return y==="generic"?this.data.get(this.offset+this.stride[0]*x+this.stride[1]*A):this.data[this.offset+this.stride[0]*x+this.stride[1]*A]},E.index=function(x,A){return this.offset+this.stride[0]*x+this.stride[1]*A},E.hi=function(x,A){return new k(this.data,typeof x!="number"||x<0?this.shape[0]:0|x,typeof A!="number"||A<0?this.shape[1]:0|A,this.stride[0],this.stride[1],this.offset)},E.lo=function(x,A){var L=this.offset,b=0,R=this.shape[0],I=this.shape[1],O=this.stride[0],z=this.stride[1];return typeof x=="number"&&x>=0&&(L+=O*(b=0|x),R-=b),typeof A=="number"&&A>=0&&(L+=z*(b=0|A),I-=b),new k(this.data,R,I,O,z,L)},E.step=function(x,A){var L=this.shape[0],b=this.shape[1],R=this.stride[0],I=this.stride[1],O=this.offset,z=0,F=Math.ceil;return typeof x=="number"&&((z=0|x)<0?(O+=R*(L-1),L=F(-L/z)):L=F(L/z),R*=z),typeof A=="number"&&((z=0|A)<0?(O+=I*(b-1),b=F(-b/z)):b=F(b/z),I*=z),new k(this.data,L,b,R,I,O)},E.transpose=function(x,A){x=x===void 0?0:0|x,A=A===void 0?1:0|A;var L=this.shape,b=this.stride;return new k(this.data,L[x],L[A],b[x],b[A],this.offset)},E.pick=function(x,A){var L=[],b=[],R=this.offset;return typeof x=="number"&&x>=0?R=R+this.stride[0]*x|0:(L.push(this.shape[0]),b.push(this.stride[0])),typeof A=="number"&&A>=0?R=R+this.stride[1]*A|0:(L.push(this.shape[1]),b.push(this.stride[1])),(0,C[L.length+1])(this.data,L,b,R)},function(x,A,L,b){return new k(x,A[0],A[1],L[0],L[1],b)}},3:function(y,C,_){function k(x,A,L,b,R,I,O,z){this.data=x,this.shape=[A,L,b],this.stride=[R,I,O],this.offset=0|z}var E=k.prototype;return E.dtype=y,E.dimension=3,Object.defineProperty(E,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]}}),Object.defineProperty(E,"order",{get:function(){var x=Math.abs(this.stride[0]),A=Math.abs(this.stride[1]),L=Math.abs(this.stride[2]);return x>A?A>L?[2,1,0]:x>L?[1,2,0]:[1,0,2]:x>L?[2,0,1]:L>A?[0,1,2]:[0,2,1]}}),E.set=function(x,A,L,b){return y==="generic"?this.data.set(this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L,b):this.data[this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L]=b},E.get=function(x,A,L){return y==="generic"?this.data.get(this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L):this.data[this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L]},E.index=function(x,A,L){return this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L},E.hi=function(x,A,L){return new k(this.data,typeof x!="number"||x<0?this.shape[0]:0|x,typeof A!="number"||A<0?this.shape[1]:0|A,typeof L!="number"||L<0?this.shape[2]:0|L,this.stride[0],this.stride[1],this.stride[2],this.offset)},E.lo=function(x,A,L){var b=this.offset,R=0,I=this.shape[0],O=this.shape[1],z=this.shape[2],F=this.stride[0],B=this.stride[1],N=this.stride[2];return typeof x=="number"&&x>=0&&(b+=F*(R=0|x),I-=R),typeof A=="number"&&A>=0&&(b+=B*(R=0|A),O-=R),typeof L=="number"&&L>=0&&(b+=N*(R=0|L),z-=R),new k(this.data,I,O,z,F,B,N,b)},E.step=function(x,A,L){var b=this.shape[0],R=this.shape[1],I=this.shape[2],O=this.stride[0],z=this.stride[1],F=this.stride[2],B=this.offset,N=0,W=Math.ceil;return typeof x=="number"&&((N=0|x)<0?(B+=O*(b-1),b=W(-b/N)):b=W(b/N),O*=N),typeof A=="number"&&((N=0|A)<0?(B+=z*(R-1),R=W(-R/N)):R=W(R/N),z*=N),typeof L=="number"&&((N=0|L)<0?(B+=F*(I-1),I=W(-I/N)):I=W(I/N),F*=N),new k(this.data,b,R,I,O,z,F,B)},E.transpose=function(x,A,L){x=x===void 0?0:0|x,A=A===void 0?1:0|A,L=L===void 0?2:0|L;var b=this.shape,R=this.stride;return new k(this.data,b[x],b[A],b[L],R[x],R[A],R[L],this.offset)},E.pick=function(x,A,L){var b=[],R=[],I=this.offset;return typeof x=="number"&&x>=0?I=I+this.stride[0]*x|0:(b.push(this.shape[0]),R.push(this.stride[0])),typeof A=="number"&&A>=0?I=I+this.stride[1]*A|0:(b.push(this.shape[1]),R.push(this.stride[1])),typeof L=="number"&&L>=0?I=I+this.stride[2]*L|0:(b.push(this.shape[2]),R.push(this.stride[2])),(0,C[b.length+1])(this.data,b,R,I)},function(x,A,L,b){return new k(x,A[0],A[1],A[2],L[0],L[1],L[2],b)}},4:function(y,C,_){function k(x,A,L,b,R,I,O,z,F,B){this.data=x,this.shape=[A,L,b,R],this.stride=[I,O,z,F],this.offset=0|B}var E=k.prototype;return E.dtype=y,E.dimension=4,Object.defineProperty(E,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]*this.shape[3]}}),Object.defineProperty(E,"order",{get:_}),E.set=function(x,A,L,b,R){return y==="generic"?this.data.set(this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b,R):this.data[this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b]=R},E.get=function(x,A,L,b){return y==="generic"?this.data.get(this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b):this.data[this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b]},E.index=function(x,A,L,b){return this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b},E.hi=function(x,A,L,b){return new k(this.data,typeof x!="number"||x<0?this.shape[0]:0|x,typeof A!="number"||A<0?this.shape[1]:0|A,typeof L!="number"||L<0?this.shape[2]:0|L,typeof b!="number"||b<0?this.shape[3]:0|b,this.stride[0],this.stride[1],this.stride[2],this.stride[3],this.offset)},E.lo=function(x,A,L,b){var R=this.offset,I=0,O=this.shape[0],z=this.shape[1],F=this.shape[2],B=this.shape[3],N=this.stride[0],W=this.stride[1],j=this.stride[2],$=this.stride[3];return typeof x=="number"&&x>=0&&(R+=N*(I=0|x),O-=I),typeof A=="number"&&A>=0&&(R+=W*(I=0|A),z-=I),typeof L=="number"&&L>=0&&(R+=j*(I=0|L),F-=I),typeof b=="number"&&b>=0&&(R+=$*(I=0|b),B-=I),new k(this.data,O,z,F,B,N,W,j,$,R)},E.step=function(x,A,L,b){var R=this.shape[0],I=this.shape[1],O=this.shape[2],z=this.shape[3],F=this.stride[0],B=this.stride[1],N=this.stride[2],W=this.stride[3],j=this.offset,$=0,U=Math.ceil;return typeof x=="number"&&(($=0|x)<0?(j+=F*(R-1),R=U(-R/$)):R=U(R/$),F*=$),typeof A=="number"&&(($=0|A)<0?(j+=B*(I-1),I=U(-I/$)):I=U(I/$),B*=$),typeof L=="number"&&(($=0|L)<0?(j+=N*(O-1),O=U(-O/$)):O=U(O/$),N*=$),typeof b=="number"&&(($=0|b)<0?(j+=W*(z-1),z=U(-z/$)):z=U(z/$),W*=$),new k(this.data,R,I,O,z,F,B,N,W,j)},E.transpose=function(x,A,L,b){x=x===void 0?0:0|x,A=A===void 0?1:0|A,L=L===void 0?2:0|L,b=b===void 0?3:0|b;var R=this.shape,I=this.stride;return new k(this.data,R[x],R[A],R[L],R[b],I[x],I[A],I[L],I[b],this.offset)},E.pick=function(x,A,L,b){var R=[],I=[],O=this.offset;return typeof x=="number"&&x>=0?O=O+this.stride[0]*x|0:(R.push(this.shape[0]),I.push(this.stride[0])),typeof A=="number"&&A>=0?O=O+this.stride[1]*A|0:(R.push(this.shape[1]),I.push(this.stride[1])),typeof L=="number"&&L>=0?O=O+this.stride[2]*L|0:(R.push(this.shape[2]),I.push(this.stride[2])),typeof b=="number"&&b>=0?O=O+this.stride[3]*b|0:(R.push(this.shape[3]),I.push(this.stride[3])),(0,C[R.length+1])(this.data,R,I,O)},function(x,A,L,b){return new k(x,A[0],A[1],A[2],A[3],L[0],L[1],L[2],L[3],b)}},5:function(y,C,_){function k(x,A,L,b,R,I,O,z,F,B,N,W){this.data=x,this.shape=[A,L,b,R,I],this.stride=[O,z,F,B,N],this.offset=0|W}var E=k.prototype;return E.dtype=y,E.dimension=5,Object.defineProperty(E,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]*this.shape[3]*this.shape[4]}}),Object.defineProperty(E,"order",{get:_}),E.set=function(x,A,L,b,R,I){return y==="generic"?this.data.set(this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*R,I):this.data[this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*R]=I},E.get=function(x,A,L,b,R){return y==="generic"?this.data.get(this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*R):this.data[this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*R]},E.index=function(x,A,L,b,R){return this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*R},E.hi=function(x,A,L,b,R){return new k(this.data,typeof x!="number"||x<0?this.shape[0]:0|x,typeof A!="number"||A<0?this.shape[1]:0|A,typeof L!="number"||L<0?this.shape[2]:0|L,typeof b!="number"||b<0?this.shape[3]:0|b,typeof R!="number"||R<0?this.shape[4]:0|R,this.stride[0],this.stride[1],this.stride[2],this.stride[3],this.stride[4],this.offset)},E.lo=function(x,A,L,b,R){var I=this.offset,O=0,z=this.shape[0],F=this.shape[1],B=this.shape[2],N=this.shape[3],W=this.shape[4],j=this.stride[0],$=this.stride[1],U=this.stride[2],G=this.stride[3],q=this.stride[4];return typeof x=="number"&&x>=0&&(I+=j*(O=0|x),z-=O),typeof A=="number"&&A>=0&&(I+=$*(O=0|A),F-=O),typeof L=="number"&&L>=0&&(I+=U*(O=0|L),B-=O),typeof b=="number"&&b>=0&&(I+=G*(O=0|b),N-=O),typeof R=="number"&&R>=0&&(I+=q*(O=0|R),W-=O),new k(this.data,z,F,B,N,W,j,$,U,G,q,I)},E.step=function(x,A,L,b,R){var I=this.shape[0],O=this.shape[1],z=this.shape[2],F=this.shape[3],B=this.shape[4],N=this.stride[0],W=this.stride[1],j=this.stride[2],$=this.stride[3],U=this.stride[4],G=this.offset,q=0,H=Math.ceil;return typeof x=="number"&&((q=0|x)<0?(G+=N*(I-1),I=H(-I/q)):I=H(I/q),N*=q),typeof A=="number"&&((q=0|A)<0?(G+=W*(O-1),O=H(-O/q)):O=H(O/q),W*=q),typeof L=="number"&&((q=0|L)<0?(G+=j*(z-1),z=H(-z/q)):z=H(z/q),j*=q),typeof b=="number"&&((q=0|b)<0?(G+=$*(F-1),F=H(-F/q)):F=H(F/q),$*=q),typeof R=="number"&&((q=0|R)<0?(G+=U*(B-1),B=H(-B/q)):B=H(B/q),U*=q),new k(this.data,I,O,z,F,B,N,W,j,$,U,G)},E.transpose=function(x,A,L,b,R){x=x===void 0?0:0|x,A=A===void 0?1:0|A,L=L===void 0?2:0|L,b=b===void 0?3:0|b,R=R===void 0?4:0|R;var I=this.shape,O=this.stride;return new k(this.data,I[x],I[A],I[L],I[b],I[R],O[x],O[A],O[L],O[b],O[R],this.offset)},E.pick=function(x,A,L,b,R){var I=[],O=[],z=this.offset;return typeof x=="number"&&x>=0?z=z+this.stride[0]*x|0:(I.push(this.shape[0]),O.push(this.stride[0])),typeof A=="number"&&A>=0?z=z+this.stride[1]*A|0:(I.push(this.shape[1]),O.push(this.stride[1])),typeof L=="number"&&L>=0?z=z+this.stride[2]*L|0:(I.push(this.shape[2]),O.push(this.stride[2])),typeof b=="number"&&b>=0?z=z+this.stride[3]*b|0:(I.push(this.shape[3]),O.push(this.stride[3])),typeof R=="number"&&R>=0?z=z+this.stride[4]*R|0:(I.push(this.shape[4]),O.push(this.stride[4])),(0,C[I.length+1])(this.data,I,O,z)},function(x,A,L,b){return new k(x,A[0],A[1],A[2],A[3],A[4],L[0],L[1],L[2],L[3],L[4],b)}}};function m(y,C){var _=C===-1?"T":String(C),k=c[_];return C===-1?k(y):C===0?k(y,w[y][0]):k(y,w[y],h)}var w={generic:[],buffer:[],array:[],float32:[],float64:[],int8:[],int16:[],int32:[],uint8_clamped:[],uint8:[],uint16:[],uint32:[],bigint64:[],biguint64:[]};f.exports=function(y,C,_,k){if(y===void 0)return(0,w.array[0])([]);typeof y=="number"&&(y=[y]),C===void 0&&(C=[y.length]);var E=C.length;if(_===void 0){_=new Array(E);for(var x=E-1,A=1;x>=0;--x)_[x]=A,A*=C[x]}if(k===void 0)for(k=0,x=0;x>>0;f.exports=function(h,c){if(isNaN(h)||isNaN(c))return NaN;if(h===c)return h;if(h===0)return c<0?-o:o;var m=u.hi(h),w=u.lo(h);return c>h==h>0?w===s?(m+=1,w=0):w+=1:w===0?(w=s,m-=1):w-=1,u.pack(w,m)}},115:function(f,l){l.vertexNormals=function(a,u,o){for(var s=u.length,h=new Array(s),c=o===void 0?1e-6:o,m=0;mc){var z=h[C],F=1/Math.sqrt(b*I);for(O=0;O<3;++O){var B=(O+1)%3,N=(O+2)%3;z[O]+=F*(R[B]*L[N]-R[N]*L[B])}}}for(m=0;mc)for(F=1/Math.sqrt(W),O=0;O<3;++O)z[O]*=F;else for(O=0;O<3;++O)z[O]=0}return h},l.faceNormals=function(a,u,o){for(var s=a.length,h=new Array(s),c=o===void 0?1e-6:o,m=0;mc?1/Math.sqrt(x):0,C=0;C<3;++C)E[C]*=x;h[m]=E}return h}},567:function(f){f.exports=function(l,a,u,o,s,h,c,m,w,y){var C=a+h+y;if(_>0){var _=Math.sqrt(C+1);l[0]=.5*(c-w)/_,l[1]=.5*(m-o)/_,l[2]=.5*(u-h)/_,l[3]=.5*_}else{var k=Math.max(a,h,y);_=Math.sqrt(2*k-C+1),a>=k?(l[0]=.5*_,l[1]=.5*(s+u)/_,l[2]=.5*(m+o)/_,l[3]=.5*(c-w)/_):h>=k?(l[0]=.5*(u+s)/_,l[1]=.5*_,l[2]=.5*(w+c)/_,l[3]=.5*(m-o)/_):(l[0]=.5*(o+m)/_,l[1]=.5*(c+w)/_,l[2]=.5*_,l[3]=.5*(u-s)/_)}return l}},7774:function(f,l,a){f.exports=function(k){var E=(k=k||{}).center||[0,0,0],x=k.rotation||[0,0,0,1],A=k.radius||1;E=[].slice.call(E,0,3),y(x=[].slice.call(x,0,4),x);var L=new C(x,E,Math.log(A));return L.setDistanceLimits(k.zoomMin,k.zoomMax),("eye"in k||"up"in k)&&L.lookAt(0,k.eye,k.center,k.up),L};var u=a(8444),o=a(3012),s=a(5950),h=a(7437),c=a(567);function m(k,E,x){return Math.sqrt(Math.pow(k,2)+Math.pow(E,2)+Math.pow(x,2))}function w(k,E,x,A){return Math.sqrt(Math.pow(k,2)+Math.pow(E,2)+Math.pow(x,2)+Math.pow(A,2))}function y(k,E){var x=E[0],A=E[1],L=E[2],b=E[3],R=w(x,A,L,b);R>1e-6?(k[0]=x/R,k[1]=A/R,k[2]=L/R,k[3]=b/R):(k[0]=k[1]=k[2]=0,k[3]=1)}function C(k,E,x){this.radius=u([x]),this.center=u(E),this.rotation=u(k),this.computedRadius=this.radius.curve(0),this.computedCenter=this.center.curve(0),this.computedRotation=this.rotation.curve(0),this.computedUp=[.1,0,0],this.computedEye=[.1,0,0],this.computedMatrix=[.1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this.recalcMatrix(0)}var _=C.prototype;_.lastT=function(){return Math.max(this.radius.lastT(),this.center.lastT(),this.rotation.lastT())},_.recalcMatrix=function(k){this.radius.curve(k),this.center.curve(k),this.rotation.curve(k);var E=this.computedRotation;y(E,E);var x=this.computedMatrix;s(x,E);var A=this.computedCenter,L=this.computedEye,b=this.computedUp,R=Math.exp(this.computedRadius[0]);L[0]=A[0]+R*x[2],L[1]=A[1]+R*x[6],L[2]=A[2]+R*x[10],b[0]=x[1],b[1]=x[5],b[2]=x[9];for(var I=0;I<3;++I){for(var O=0,z=0;z<3;++z)O+=x[I+4*z]*L[z];x[12+I]=-O}},_.getMatrix=function(k,E){this.recalcMatrix(k);var x=this.computedMatrix;if(E){for(var A=0;A<16;++A)E[A]=x[A];return E}return x},_.idle=function(k){this.center.idle(k),this.radius.idle(k),this.rotation.idle(k)},_.flush=function(k){this.center.flush(k),this.radius.flush(k),this.rotation.flush(k)},_.pan=function(k,E,x,A){E=E||0,x=x||0,A=A||0,this.recalcMatrix(k);var L=this.computedMatrix,b=L[1],R=L[5],I=L[9],O=m(b,R,I);b/=O,R/=O,I/=O;var z=L[0],F=L[4],B=L[8],N=z*b+F*R+B*I,W=m(z-=b*N,F-=R*N,B-=I*N);z/=W,F/=W,B/=W,L[2],L[6],L[10];var j=z*E+b*x,$=F*E+R*x,U=B*E+I*x;this.center.move(k,j,$,U);var G=Math.exp(this.computedRadius[0]);G=Math.max(1e-4,G+A),this.radius.set(k,Math.log(G))},_.rotate=function(k,E,x,A){this.recalcMatrix(k),E=E||0,x=x||0;var L=this.computedMatrix,b=L[0],R=L[4],I=L[8],O=L[1],z=L[5],F=L[9],B=L[2],N=L[6],W=L[10],j=E*b+x*O,$=E*R+x*z,U=E*I+x*F,G=-(N*U-W*$),q=-(W*j-B*U),H=-(B*$-N*j),ne=Math.sqrt(Math.max(0,1-Math.pow(G,2)-Math.pow(q,2)-Math.pow(H,2))),te=w(G,q,H,ne);te>1e-6?(G/=te,q/=te,H/=te,ne/=te):(G=q=H=0,ne=1);var Z=this.computedRotation,X=Z[0],Q=Z[1],re=Z[2],ie=Z[3],oe=X*ne+ie*G+Q*H-re*q,ue=Q*ne+ie*q+re*G-X*H,ce=re*ne+ie*H+X*q-Q*G,ye=ie*ne-X*G-Q*q-re*H;if(A){G=B,q=N,H=W;var de=Math.sin(A)/m(G,q,H);G*=de,q*=de,H*=de,ye=ye*(ne=Math.cos(E))-(oe=oe*ne+ye*G+ue*H-ce*q)*G-(ue=ue*ne+ye*q+ce*G-oe*H)*q-(ce=ce*ne+ye*H+oe*q-ue*G)*H}var me=w(oe,ue,ce,ye);me>1e-6?(oe/=me,ue/=me,ce/=me,ye/=me):(oe=ue=ce=0,ye=1),this.rotation.set(k,oe,ue,ce,ye)},_.lookAt=function(k,E,x,A){this.recalcMatrix(k),x=x||this.computedCenter,E=E||this.computedEye,A=A||this.computedUp;var L=this.computedMatrix;o(L,E,x,A);var b=this.computedRotation;c(b,L[0],L[1],L[2],L[4],L[5],L[6],L[8],L[9],L[10]),y(b,b),this.rotation.set(k,b[0],b[1],b[2],b[3]);for(var R=0,I=0;I<3;++I)R+=Math.pow(x[I]-E[I],2);this.radius.set(k,.5*Math.log(Math.max(R,1e-6))),this.center.set(k,x[0],x[1],x[2])},_.translate=function(k,E,x,A){this.center.move(k,E||0,x||0,A||0)},_.setMatrix=function(k,E){var x=this.computedRotation;c(x,E[0],E[1],E[2],E[4],E[5],E[6],E[8],E[9],E[10]),y(x,x),this.rotation.set(k,x[0],x[1],x[2],x[3]);var A=this.computedMatrix;h(A,E);var L=A[15];if(Math.abs(L)>1e-6){var b=A[12]/L,R=A[13]/L,I=A[14]/L;this.recalcMatrix(k);var O=Math.exp(this.computedRadius[0]);this.center.set(k,b-A[2]*O,R-A[6]*O,I-A[10]*O),this.radius.idle(k)}else this.center.idle(k),this.radius.idle(k)},_.setDistance=function(k,E){E>0&&this.radius.set(k,Math.log(E))},_.setDistanceLimits=function(k,E){k=k>0?Math.log(k):-1/0,E=E>0?Math.log(E):1/0,E=Math.max(E,k),this.radius.bounds[0][0]=k,this.radius.bounds[1][0]=E},_.getDistanceLimits=function(k){var E=this.radius.bounds;return k?(k[0]=Math.exp(E[0][0]),k[1]=Math.exp(E[1][0]),k):[Math.exp(E[0][0]),Math.exp(E[1][0])]},_.toJSON=function(){return this.recalcMatrix(this.lastT()),{center:this.computedCenter.slice(),rotation:this.computedRotation.slice(),distance:Math.log(this.computedRadius[0]),zoomMin:this.radius.bounds[0][0],zoomMax:this.radius.bounds[1][0]}},_.fromJSON=function(k){var E=this.lastT(),x=k.center;x&&this.center.set(E,x[0],x[1],x[2]);var A=k.rotation;A&&this.rotation.set(E,A[0],A[1],A[2],A[3]);var L=k.distance;L&&L>0&&this.radius.set(E,Math.log(L)),this.setDistanceLimits(k.zoomMin,k.zoomMax)}},4930:function(f,l,a){var u=a(6184);f.exports=function(o,s,h){return u(h=h!==void 0?h+"":" ",s)+o}},4405:function(f){f.exports=function(l,a){a||(a=[0,""]),l=String(l);var u=parseFloat(l,10);return a[0]=u,a[1]=l.match(/[\d.\-\+]*\s*(.*)/)[1]||"",a}},4166:function(f,l,a){f.exports=function(o,s){for(var h=0|s.length,c=o.length,m=[new Array(h),new Array(h)],w=0;w0){z=m[N][I][0],B=N;break}F=z[1^B];for(var W=0;W<2;++W)for(var j=m[W][I],$=0;$0&&(z=U,F=G,B=W)}return O||z&&_(z,B),F}function E(R,I){var O=m[I][R][0],z=[R];_(O,I);for(var F=O[1^I];;){for(;F!==R;)z.push(F),F=k(z[z.length-2],F,!1);if(m[0][R].length+m[1][R].length===0)break;var B=z[z.length-1],N=R,W=z[1],j=k(B,N,!0);if(u(s[B],s[N],s[W],s[j])<0)break;z.push(R),F=k(B,N)}return z}function x(R,I){return I[1]===I[I.length-1]}for(w=0;w0;){m[0][w].length;var b=E(w,A);x(0,b)?L.push.apply(L,b):(L.length>0&&C.push(L),L=b)}L.length>0&&C.push(L)}return C};var u=a(9398)},3959:function(f,l,a){f.exports=function(o,s){for(var h=u(o,s.length),c=new Array(s.length),m=new Array(s.length),w=[],y=0;y0;){var _=w.pop();c[_]=!1;var k=h[_];for(y=0;y0})).length,R=new Array(b),I=new Array(b);for(A=0;A0;){var ue=ie.pop(),ce=q[ue];m(ce,function(Pe,_e){return Pe-_e});var ye,de=ce.length,me=oe[ue];if(me===0){var pe=L[ue];ye=[pe]}for(A=0;A=0||(oe[xe]=1^me,ie.push(xe),me===0&&(re(pe=L[xe])||(pe.reverse(),ye.push(pe))))}me===0&&k.push(ye)}return k};var u=a(8348),o=a(4166),s=a(211),h=a(9660),c=a(9662),m=a(1215),w=a(3959);function y(C,_){for(var k=new Array(C),E=0;E0&&N[j]===W[0]))return 1;$=B[j-1]}for(var U=1;$;){var G=$.key,q=u(W,G[0],G[1]);if(G[0][0]0))return 0;U=-1,$=$.right}else if(q>0)$=$.left;else{if(!(q<0))return 0;U=1,$=$.right}}return U}}(z.slabs,z.coordinates);return k.length===0?F:function(B,N){return function(W){return B(W[0],W[1])?0:N(W)}}(m(k),F)};var u=a(417)[3],o=a(4385),s=a(9014),h=a(5070);function c(){return!0}function m(y){for(var C={},_=0;_=y?(N=1,R=y+2*k+x):R=k*(N=-k/y)+x):(N=0,E>=0?(W=0,R=x):-E>=_?(W=1,R=_+2*E+x):R=E*(W=-E/_)+x);else if(W<0)W=0,k>=0?(N=0,R=x):-k>=y?(N=1,R=y+2*k+x):R=k*(N=-k/y)+x;else{var j=1/B;R=(N*=j)*(y*N+C*(W*=j)+2*k)+W*(C*N+_*W+2*E)+x}else N<0?(O=_+E)>(I=C+k)?(z=O-I)>=(F=y-2*C+_)?(N=1,W=0,R=y+2*k+x):R=(N=z/F)*(y*N+C*(W=1-N)+2*k)+W*(C*N+_*W+2*E)+x:(N=0,O<=0?(W=1,R=_+2*E+x):E>=0?(W=0,R=x):R=E*(W=-E/_)+x):W<0?(O=y+k)>(I=C+E)?(z=O-I)>=(F=y-2*C+_)?(W=1,N=0,R=_+2*E+x):R=(N=1-(W=z/F))*(y*N+C*W+2*k)+W*(C*N+_*W+2*E)+x:(W=0,O<=0?(N=1,R=y+2*k+x):k>=0?(N=0,R=x):R=k*(N=-k/y)+x):(z=_+E-C-k)<=0?(N=0,W=1,R=_+2*E+x):z>=(F=y-2*C+_)?(N=1,W=0,R=y+2*k+x):R=(N=z/F)*(y*N+C*(W=1-N)+2*k)+W*(C*N+_*W+2*E)+x;var $=1-N-W;for(w=0;w0){var _=h[m-1];if(u(y,_)===0&&s(_)!==C){m-=1;continue}}h[m++]=y}}return h.length=m,h}},6184:function(f){var l,a="";f.exports=function(u,o){if(typeof u!="string")throw new TypeError("expected a string");if(o===1)return u;if(o===2)return u+u;var s=u.length*o;if(l!==u||l===void 0)l=u,a="";else if(a.length>=s)return a.substr(0,s);for(;s>a.length&&o>1;)1&o&&(a+=u),o>>=1,u+=u;return a=(a+=u).substr(0,s)}},8161:function(f,l,a){f.exports=a.g.performance&&a.g.performance.now?function(){return performance.now()}:Date.now||function(){return+new Date}},402:function(f){f.exports=function(l){for(var a=l.length,u=l[l.length-1],o=a,s=a-2;s>=0;--s){var h=u,c=l[s];(w=c-((u=h+c)-h))&&(l[--o]=u,u=w)}var m=0;for(s=o;s0){if(O<=0)return z;R=I+O}else{if(!(I<0)||O>=0)return z;R=-(I+O)}var F=33306690738754716e-32*R;return z>=F||z<=-F?z:C(A,L,b)},function(A,L,b,R){var I=A[0]-R[0],O=L[0]-R[0],z=b[0]-R[0],F=A[1]-R[1],B=L[1]-R[1],N=b[1]-R[1],W=A[2]-R[2],j=L[2]-R[2],$=b[2]-R[2],U=O*N,G=z*B,q=z*F,H=I*N,ne=I*B,te=O*F,Z=W*(U-G)+j*(q-H)+$*(ne-te),X=7771561172376103e-31*((Math.abs(U)+Math.abs(G))*Math.abs(W)+(Math.abs(q)+Math.abs(H))*Math.abs(j)+(Math.abs(ne)+Math.abs(te))*Math.abs($));return Z>X||-Z>X?Z:_(A,L,b,R)}];function E(A){var L=k[A.length];return L||(L=k[A.length]=y(A.length)),L.apply(void 0,A)}function x(A,L,b,R,I,O,z){return function(F,B,N,W,j){switch(arguments.length){case 0:case 1:return 0;case 2:return R(F,B);case 3:return I(F,B,N);case 4:return O(F,B,N,W);case 5:return z(F,B,N,W,j)}for(var $=new Array(arguments.length),U=0;U0&&w>0||m<0&&w<0)return!1;var y=u(h,o,s),C=u(c,o,s);return!(y>0&&C>0||y<0&&C<0)&&(m!==0||w!==0||y!==0||C!==0||function(_,k,E,x){for(var A=0;A<2;++A){var L=_[A],b=k[A],R=Math.min(L,b),I=Math.max(L,b),O=E[A],z=x[A],F=Math.min(O,z);if(Math.max(O,z)=o?(s=_,(w+=1)=o?(s=_,(w+=1)>1,_=o[2*C+1];if(_===m)return C;m<_?y=C:w=C+1}return w}return function(u,o,s,h){for(var c=u.length,m=[],w=0;w>1,_=o[2*C+1];if(_===m)return C;m<_?y=C:w=C+1}return w}return function(u,o,s,h){for(var c=u.length,m=[],w=0;w>1,_=o[2*C+1];if(_===m)return C;m<_?y=C:w=C+1}return w}return function(u,o,s,h){for(var c=u.length,m=[],w=0;w0)-(o<0)},l.abs=function(o){var s=o>>31;return(o^s)-s},l.min=function(o,s){return s^(o^s)&-(o65535)<<4,s|=h=((o>>>=s)>255)<<3,s|=h=((o>>>=h)>15)<<2,(s|=h=((o>>>=h)>3)<<1)|(o>>>=h)>>1},l.log10=function(o){return o>=1e9?9:o>=1e8?8:o>=1e7?7:o>=1e6?6:o>=1e5?5:o>=1e4?4:o>=1e3?3:o>=100?2:o>=10?1:0},l.popCount=function(o){return 16843009*((o=(858993459&(o-=o>>>1&1431655765))+(o>>>2&858993459))+(o>>>4)&252645135)>>>24},l.countTrailingZeros=a,l.nextPow2=function(o){return o+=o===0,--o,o|=o>>>1,o|=o>>>2,o|=o>>>4,1+((o|=o>>>8)|o>>>16)},l.prevPow2=function(o){return o|=o>>>1,o|=o>>>2,o|=o>>>4,o|=o>>>8,(o|=o>>>16)-(o>>>1)},l.parity=function(o){return o^=o>>>16,o^=o>>>8,o^=o>>>4,27030>>>(o&=15)&1};var u=new Array(256);(function(o){for(var s=0;s<256;++s){var h=s,c=s,m=7;for(h>>>=1;h;h>>>=1)c<<=1,c|=1&h,--m;o[s]=c<>>8&255]<<16|u[o>>>16&255]<<8|u[o>>>24&255]},l.interleave2=function(o,s){return(o=1431655765&((o=858993459&((o=252645135&((o=16711935&((o&=65535)|o<<8))|o<<4))|o<<2))|o<<1))|(s=1431655765&((s=858993459&((s=252645135&((s=16711935&((s&=65535)|s<<8))|s<<4))|s<<2))|s<<1))<<1},l.deinterleave2=function(o,s){return(o=65535&((o=16711935&((o=252645135&((o=858993459&((o=o>>>s&1431655765)|o>>>1))|o>>>2))|o>>>4))|o>>>16))<<16>>16},l.interleave3=function(o,s,h){return o=1227133513&((o=3272356035&((o=251719695&((o=4278190335&((o&=1023)|o<<16))|o<<8))|o<<4))|o<<2),(o|=(s=1227133513&((s=3272356035&((s=251719695&((s=4278190335&((s&=1023)|s<<16))|s<<8))|s<<4))|s<<2))<<1)|(h=1227133513&((h=3272356035&((h=251719695&((h=4278190335&((h&=1023)|h<<16))|h<<8))|h<<4))|h<<2))<<2},l.deinterleave3=function(o,s){return(o=1023&((o=4278190335&((o=251719695&((o=3272356035&((o=o>>>s&1227133513)|o>>>2))|o>>>4))|o>>>8))|o>>>16))<<22>>22},l.nextCombination=function(o){var s=o|o-1;return s+1|(~s&-~s)-1>>>a(o)+1}},6656:function(f,l,a){var u=a(9392),o=a(9521);function s(_,k){var E=_.length,x=_.length-k.length,A=Math.min;if(x)return x;switch(E){case 0:return 0;case 1:return _[0]-k[0];case 2:return(R=_[0]+_[1]-k[0]-k[1])||A(_[0],_[1])-A(k[0],k[1]);case 3:var L=_[0]+_[1],b=k[0]+k[1];if(R=L+_[2]-(b+k[2]))return R;var R,I=A(_[0],_[1]),O=A(k[0],k[1]);return(R=A(I,_[2])-A(O,k[2]))||A(I+_[2],L)-A(O+k[2],b);default:var z=_.slice(0);z.sort();var F=k.slice(0);F.sort();for(var B=0;B>1,b=s(_[L],k);b<=0?(b===0&&(A=L),E=L+1):b>0&&(x=L-1)}return A}function y(_,k){for(var E=new Array(_.length),x=0,A=E.length;x=_.length||s(_[N],L)!==0););}return E}function C(_,k){if(k<0)return[];for(var E=[],x=(1<>>O&1&&I.push(A[O]);k.push(I)}return c(k)},l.skeleton=C,l.boundary=function(_){for(var k=[],E=0,x=_.length;E>1:(te>>1)-1}function z(te){for(var Z=I(te);;){var X=Z,Q=2*te+1,re=2*(te+1),ie=te;if(Q0;){var X=O(te);if(!(X>=0&&Z0){var te=j[0];return R(0,U-1),U-=1,z(0),te}return-1}function N(te,Z){var X=j[te];return _[X]===Z?te:(_[X]=-1/0,F(te),B(),_[X]=Z,F((U+=1)-1))}function W(te){if(!k[te]){k[te]=!0;var Z=y[te],X=C[te];y[X]>=0&&(y[X]=Z),C[Z]>=0&&(C[Z]=X),$[Z]>=0&&N($[Z],b(Z)),$[X]>=0&&N($[X],b(X))}}var j=[],$=new Array(m);for(E=0;E>1;E>=0;--E)z(E);for(;;){var G=B();if(G<0||_[G]>c)break;W(G)}var q=[];for(E=0;E=0&&X>=0&&Z!==X){var Q=$[Z],re=$[X];Q!==re&&ne.push([Q,re])}}),o.unique(o.normalize(ne)),{positions:q,edges:ne}};var u=a(417),o=a(6656)},6638:function(f,l,a){f.exports=function(s,h){var c,m,w,y;if(h[0][0]h[1][0]))return o(h,s);c=h[1],m=h[0]}if(s[0][0]s[1][0]))return-o(s,h);w=s[1],y=s[0]}var C=u(c,m,y),_=u(c,m,w);if(C<0){if(_<=0)return C}else if(C>0){if(_>=0)return C}else if(_)return _;if(C=u(y,w,m),_=u(y,w,c),C<0){if(_<=0)return C}else if(C>0){if(_>=0)return C}else if(_)return _;return m[0]-y[0]};var u=a(417);function o(s,h){var c,m,w,y;if(h[0][0]h[1][0])){var C=Math.min(s[0][1],s[1][1]),_=Math.max(s[0][1],s[1][1]),k=Math.min(h[0][1],h[1][1]),E=Math.max(h[0][1],h[1][1]);return _E?C-E:_-E}c=h[1],m=h[0]}s[0][1]0)if(k[0]!==L[1][0])E=_,_=_.right;else{if(R=w(_.right,k))return R;_=_.left}else{if(k[0]!==L[1][0])return _;var R;if(R=w(_.right,k))return R;_=_.left}}return E}function y(_,k,E,x){this.y=_,this.index=k,this.start=E,this.closed=x}function C(_,k,E,x){this.x=_,this.segment=k,this.create=E,this.index=x}c.prototype.castUp=function(_){var k=u.le(this.coordinates,_[0]);if(k<0)return-1;this.slabs[k];var E=w(this.slabs[k],_),x=-1;if(E&&(x=E.value),this.coordinates[k]===_[0]){var A=null;if(E&&(A=E.key),k>0){var L=w(this.slabs[k-1],_);L&&(A?h(L.key,A)>0&&(A=L.key,x=L.value):(x=L.value,A=L.key))}var b=this.horizontal[k];if(b.length>0){var R=u.ge(b,_[1],m);if(R=b.length)return x;I=b[R]}}if(I.start)if(A){var O=s(A[0],A[1],[_[0],I.y]);A[0][0]>A[1][0]&&(O=-O),O>0&&(x=I.index)}else x=I.index;else I.y!==_[1]&&(x=I.index)}}}return x}},4670:function(f,l,a){var u=a(9130),o=a(9662);function s(c,m){var w=o(u(c,m),[m[m.length-1]]);return w[w.length-1]}function h(c,m,w,y){var C=-m/(y-m);C<0?C=0:C>1&&(C=1);for(var _=1-C,k=c.length,E=new Array(k),x=0;x0||C>0&&x<0){var A=h(_,x,k,C);w.push(A),y.push(A.slice())}x<0?y.push(k.slice()):x>0?w.push(k.slice()):(w.push(k.slice()),y.push(k.slice())),C=x}return{positive:w,negative:y}},f.exports.positive=function(c,m){for(var w=[],y=s(c[c.length-1],m),C=c[c.length-1],_=c[0],k=0;k0||y>0&&E<0)&&w.push(h(C,E,_,y)),E>=0&&w.push(_.slice()),y=E}return w},f.exports.negative=function(c,m){for(var w=[],y=s(c[c.length-1],m),C=c[c.length-1],_=c[0],k=0;k0||y>0&&E<0)&&w.push(h(C,E,_,y)),E<=0&&w.push(_.slice()),y=E}return w}},8974:function(f,l,a){var u;(function(){var o={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function s(y){return c(w(y),arguments)}function h(y,C){return s.apply(null,[y].concat(C||[]))}function c(y,C){var _,k,E,x,A,L,b,R,I,O=1,z=y.length,F="";for(k=0;k=0),x.type){case"b":_=parseInt(_,10).toString(2);break;case"c":_=String.fromCharCode(parseInt(_,10));break;case"d":case"i":_=parseInt(_,10);break;case"j":_=JSON.stringify(_,null,x.width?parseInt(x.width):0);break;case"e":_=x.precision?parseFloat(_).toExponential(x.precision):parseFloat(_).toExponential();break;case"f":_=x.precision?parseFloat(_).toFixed(x.precision):parseFloat(_);break;case"g":_=x.precision?String(Number(_.toPrecision(x.precision))):parseFloat(_);break;case"o":_=(parseInt(_,10)>>>0).toString(8);break;case"s":_=String(_),_=x.precision?_.substring(0,x.precision):_;break;case"t":_=String(!!_),_=x.precision?_.substring(0,x.precision):_;break;case"T":_=Object.prototype.toString.call(_).slice(8,-1).toLowerCase(),_=x.precision?_.substring(0,x.precision):_;break;case"u":_=parseInt(_,10)>>>0;break;case"v":_=_.valueOf(),_=x.precision?_.substring(0,x.precision):_;break;case"x":_=(parseInt(_,10)>>>0).toString(16);break;case"X":_=(parseInt(_,10)>>>0).toString(16).toUpperCase()}o.json.test(x.type)?F+=_:(!o.number.test(x.type)||R&&!x.sign?I="":(I=R?"+":"-",_=_.toString().replace(o.sign,"")),L=x.pad_char?x.pad_char==="0"?"0":x.pad_char.charAt(1):" ",b=x.width-(I+_).length,A=x.width&&b>0?L.repeat(b):"",F+=x.align?I+_+A:L==="0"?I+A+_:A+I+_)}return F}var m=Object.create(null);function w(y){if(m[y])return m[y];for(var C,_=y,k=[],E=0;_;){if((C=o.text.exec(_))!==null)k.push(C[0]);else if((C=o.modulo.exec(_))!==null)k.push("%");else{if((C=o.placeholder.exec(_))===null)throw new SyntaxError("[sprintf] unexpected placeholder");if(C[2]){E|=1;var x=[],A=C[2],L=[];if((L=o.key.exec(A))===null)throw new SyntaxError("[sprintf] failed to parse named argument key");for(x.push(L[1]);(A=A.substring(L[0].length))!=="";)if((L=o.key_access.exec(A))!==null)x.push(L[1]);else{if((L=o.index_access.exec(A))===null)throw new SyntaxError("[sprintf] failed to parse named argument key");x.push(L[1])}C[2]=x}else E|=2;if(E===3)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");k.push({placeholder:C[0],param_no:C[1],keys:C[2],sign:C[3],pad_char:C[4],align:C[5],width:C[6],precision:C[7],type:C[8]})}_=_.substring(C[0].length)}return m[y]=k}l.sprintf=s,l.vsprintf=h,typeof window<"u"&&(window.sprintf=s,window.vsprintf=h,(u=(function(){return{sprintf:s,vsprintf:h}}).call(l,a,l,f))===void 0||(f.exports=u))})()},4162:function(f,l,a){f.exports=function(c,m){if(c.dimension<=0)return{positions:[],cells:[]};if(c.dimension===1)return function(C,_){for(var k=o(C,_),E=k.length,x=new Array(E),A=new Array(E),L=0;LE|0},vertex:function(C,_,k,E,x,A,L,b,R,I,O,z,F){var B=(L<<0)+(b<<1)+(R<<2)+(I<<3)|0;if(B!==0&&B!==15)switch(B){case 0:case 15:O.push([C-.5,_-.5]);break;case 1:O.push([C-.25-.25*(E+k-2*F)/(k-E),_-.25-.25*(x+k-2*F)/(k-x)]);break;case 2:O.push([C-.75-.25*(-E-k+2*F)/(E-k),_-.25-.25*(A+E-2*F)/(E-A)]);break;case 3:O.push([C-.5,_-.5-.5*(x+k+A+E-4*F)/(k-x+E-A)]);break;case 4:O.push([C-.25-.25*(A+x-2*F)/(x-A),_-.75-.25*(-x-k+2*F)/(x-k)]);break;case 5:O.push([C-.5-.5*(E+k+A+x-4*F)/(k-E+x-A),_-.5]);break;case 6:O.push([C-.5-.25*(-E-k+A+x)/(E-k+x-A),_-.5-.25*(-x-k+A+E)/(x-k+E-A)]);break;case 7:O.push([C-.75-.25*(A+x-2*F)/(x-A),_-.75-.25*(A+E-2*F)/(E-A)]);break;case 8:O.push([C-.75-.25*(-A-x+2*F)/(A-x),_-.75-.25*(-A-E+2*F)/(A-E)]);break;case 9:O.push([C-.5-.25*(E+k+-A-x)/(k-E+A-x),_-.5-.25*(x+k+-A-E)/(k-x+A-E)]);break;case 10:O.push([C-.5-.5*(-E-k-A-x+4*F)/(E-k+A-x),_-.5]);break;case 11:O.push([C-.25-.25*(-A-x+2*F)/(A-x),_-.75-.25*(x+k-2*F)/(k-x)]);break;case 12:O.push([C-.5,_-.5-.5*(-x-k-A-E+4*F)/(x-k+A-E)]);break;case 13:O.push([C-.75-.25*(E+k-2*F)/(k-E),_-.25-.25*(-A-E+2*F)/(A-E)]);break;case 14:O.push([C-.25-.25*(-E-k+2*F)/(E-k),_-.25-.25*(-x-k+2*F)/(x-k)])}},cell:function(C,_,k,E,x,A,L,b,R){x?b.push([C,_]):b.push([_,C])}});return function(C,_){var k=[],E=[];return y(C,k,E,_),{positions:k,cells:E}}}},h={}},6946:function(f,l,a){f.exports=function h(c,m,w){w=w||{};var y=s[c];y||(y=s[c]={" ":{data:new Float32Array(0),shape:.2}});var C=y[m];if(!C)if(m.length<=1||!/\d/.test(m))C=y[m]=function(z){for(var F=z.cells,B=z.positions,N=new Float32Array(6*F.length),W=0,j=0,$=0;$0&&(x+=.02);var L=new Float32Array(E),b=0,R=-.5*x;for(A=0;AMath.max(L,b)?R[2]=1:L>Math.max(A,b)?R[0]=1:R[1]=1;for(var I=0,O=0,z=0;z<3;++z)I+=x[z]*x[z],O+=R[z]*x[z];for(z=0;z<3;++z)R[z]-=O/I*x[z];return c(R,R),R}function _(x,A,L,b,R,I,O,z){this.center=u(L),this.up=u(b),this.right=u(R),this.radius=u([I]),this.angle=u([O,z]),this.angle.bounds=[[-1/0,-Math.PI/2],[1/0,Math.PI/2]],this.setDistanceLimits(x,A),this.computedCenter=this.center.curve(0),this.computedUp=this.up.curve(0),this.computedRight=this.right.curve(0),this.computedRadius=this.radius.curve(0),this.computedAngle=this.angle.curve(0),this.computedToward=[0,0,0],this.computedEye=[0,0,0],this.computedMatrix=new Array(16);for(var F=0;F<16;++F)this.computedMatrix[F]=.5;this.recalcMatrix(0)}var k=_.prototype;k.setDistanceLimits=function(x,A){x=x>0?Math.log(x):-1/0,A=A>0?Math.log(A):1/0,A=Math.max(A,x),this.radius.bounds[0][0]=x,this.radius.bounds[1][0]=A},k.getDistanceLimits=function(x){var A=this.radius.bounds[0];return x?(x[0]=Math.exp(A[0][0]),x[1]=Math.exp(A[1][0]),x):[Math.exp(A[0][0]),Math.exp(A[1][0])]},k.recalcMatrix=function(x){this.center.curve(x),this.up.curve(x),this.right.curve(x),this.radius.curve(x),this.angle.curve(x);for(var A=this.computedUp,L=this.computedRight,b=0,R=0,I=0;I<3;++I)R+=A[I]*L[I],b+=A[I]*A[I];var O=Math.sqrt(b),z=0;for(I=0;I<3;++I)L[I]-=A[I]*R/b,z+=L[I]*L[I],A[I]/=O;var F=Math.sqrt(z);for(I=0;I<3;++I)L[I]/=F;var B=this.computedToward;h(B,A,L),c(B,B);var N=Math.exp(this.computedRadius[0]),W=this.computedAngle[0],j=this.computedAngle[1],$=Math.cos(W),U=Math.sin(W),G=Math.cos(j),q=Math.sin(j),H=this.computedCenter,ne=$*G,te=U*G,Z=q,X=-$*q,Q=-U*q,re=G,ie=this.computedEye,oe=this.computedMatrix;for(I=0;I<3;++I){var ue=ne*L[I]+te*B[I]+Z*A[I];oe[4*I+1]=X*L[I]+Q*B[I]+re*A[I],oe[4*I+2]=ue,oe[4*I+3]=0}var ce=oe[1],ye=oe[5],de=oe[9],me=oe[2],pe=oe[6],xe=oe[10],Pe=ye*xe-de*pe,_e=de*me-ce*xe,Me=ce*pe-ye*me,Se=w(Pe,_e,Me);for(Pe/=Se,_e/=Se,Me/=Se,oe[0]=Pe,oe[4]=_e,oe[8]=Me,I=0;I<3;++I)ie[I]=H[I]+oe[2+4*I]*N;for(I=0;I<3;++I){z=0;for(var Ce=0;Ce<3;++Ce)z+=oe[I+4*Ce]*ie[Ce];oe[12+I]=-z}oe[15]=1},k.getMatrix=function(x,A){this.recalcMatrix(x);var L=this.computedMatrix;if(A){for(var b=0;b<16;++b)A[b]=L[b];return A}return L};var E=[0,0,0];k.rotate=function(x,A,L,b){if(this.angle.move(x,A,L),b){this.recalcMatrix(x);var R=this.computedMatrix;E[0]=R[2],E[1]=R[6],E[2]=R[10];for(var I=this.computedUp,O=this.computedRight,z=this.computedToward,F=0;F<3;++F)R[4*F]=I[F],R[4*F+1]=O[F],R[4*F+2]=z[F];for(s(R,R,b,E),F=0;F<3;++F)I[F]=R[4*F],O[F]=R[4*F+1];this.up.set(x,I[0],I[1],I[2]),this.right.set(x,O[0],O[1],O[2])}},k.pan=function(x,A,L,b){A=A||0,L=L||0,b=b||0,this.recalcMatrix(x);var R=this.computedMatrix,I=(Math.exp(this.computedRadius[0]),R[1]),O=R[5],z=R[9],F=w(I,O,z);I/=F,O/=F,z/=F;var B=R[0],N=R[4],W=R[8],j=B*I+N*O+W*z,$=w(B-=I*j,N-=O*j,W-=z*j),U=(B/=$)*A+I*L,G=(N/=$)*A+O*L,q=(W/=$)*A+z*L;this.center.move(x,U,G,q);var H=Math.exp(this.computedRadius[0]);H=Math.max(1e-4,H+b),this.radius.set(x,Math.log(H))},k.translate=function(x,A,L,b){this.center.move(x,A||0,L||0,b||0)},k.setMatrix=function(x,A,L,b){var R=1;typeof L=="number"&&(R=0|L),(R<0||R>3)&&(R=1);var I=(R+2)%3;A||(this.recalcMatrix(x),A=this.computedMatrix);var O=A[R],z=A[R+4],F=A[R+8];if(b){var B=Math.abs(O),N=Math.abs(z),W=Math.abs(F),j=Math.max(B,N,W);B===j?(O=O<0?-1:1,z=F=0):W===j?(F=F<0?-1:1,O=z=0):(z=z<0?-1:1,O=F=0)}else{var $=w(O,z,F);O/=$,z/=$,F/=$}var U,G,q=A[I],H=A[I+4],ne=A[I+8],te=q*O+H*z+ne*F,Z=w(q-=O*te,H-=z*te,ne-=F*te),X=z*(ne/=Z)-F*(H/=Z),Q=F*(q/=Z)-O*ne,re=O*H-z*q,ie=w(X,Q,re);if(X/=ie,Q/=ie,re/=ie,this.center.jump(x,ke,Le,Be),this.radius.idle(x),this.up.jump(x,O,z,F),this.right.jump(x,q,H,ne),R===2){var oe=A[1],ue=A[5],ce=A[9],ye=oe*q+ue*H+ce*ne,de=oe*X+ue*Q+ce*re;U=Pe<0?-Math.PI/2:Math.PI/2,G=Math.atan2(de,ye)}else{var me=A[2],pe=A[6],xe=A[10],Pe=me*O+pe*z+xe*F,_e=me*q+pe*H+xe*ne,Me=me*X+pe*Q+xe*re;U=Math.asin(y(Pe)),G=Math.atan2(Me,_e)}this.angle.jump(x,G,U),this.recalcMatrix(x);var Se=A[2],Ce=A[6],ae=A[10],fe=this.computedMatrix;o(fe,A);var be=fe[15],ke=fe[12]/be,Le=fe[13]/be,Be=fe[14]/be,ze=Math.exp(this.computedRadius[0]);this.center.jump(x,ke-Se*ze,Le-Ce*ze,Be-ae*ze)},k.lastT=function(){return Math.max(this.center.lastT(),this.up.lastT(),this.right.lastT(),this.radius.lastT(),this.angle.lastT())},k.idle=function(x){this.center.idle(x),this.up.idle(x),this.right.idle(x),this.radius.idle(x),this.angle.idle(x)},k.flush=function(x){this.center.flush(x),this.up.flush(x),this.right.flush(x),this.radius.flush(x),this.angle.flush(x)},k.setDistance=function(x,A){A>0&&this.radius.set(x,Math.log(A))},k.lookAt=function(x,A,L,b){this.recalcMatrix(x),A=A||this.computedEye,L=L||this.computedCenter;var R=(b=b||this.computedUp)[0],I=b[1],O=b[2],z=w(R,I,O);if(!(z<1e-6)){R/=z,I/=z,O/=z;var F=A[0]-L[0],B=A[1]-L[1],N=A[2]-L[2],W=w(F,B,N);if(!(W<1e-6)){F/=W,B/=W,N/=W;var j=this.computedRight,$=j[0],U=j[1],G=j[2],q=R*$+I*U+O*G,H=w($-=q*R,U-=q*I,G-=q*O);if(!(H<.01&&(H=w($=I*N-O*B,U=O*F-R*N,G=R*B-I*F))<1e-6)){$/=H,U/=H,G/=H,this.up.set(x,R,I,O),this.right.set(x,$,U,G),this.center.set(x,L[0],L[1],L[2]),this.radius.set(x,Math.log(W));var ne=I*G-O*U,te=O*$-R*G,Z=R*U-I*$,X=w(ne,te,Z),Q=R*F+I*B+O*N,re=$*F+U*B+G*N,ie=(ne/=X)*F+(te/=X)*B+(Z/=X)*N,oe=Math.asin(y(Q)),ue=Math.atan2(ie,re),ce=this.angle._state,ye=ce[ce.length-1],de=ce[ce.length-2];ye%=2*Math.PI;var me=Math.abs(ye+2*Math.PI-ue),pe=Math.abs(ye-ue),xe=Math.abs(ye-2*Math.PI-ue);me0?U.pop():new ArrayBuffer(j)}function E(j){return new Uint8Array(k(j),0,j)}function x(j){return new Uint16Array(k(2*j),0,j)}function A(j){return new Uint32Array(k(4*j),0,j)}function L(j){return new Int8Array(k(j),0,j)}function b(j){return new Int16Array(k(2*j),0,j)}function R(j){return new Int32Array(k(4*j),0,j)}function I(j){return new Float32Array(k(4*j),0,j)}function O(j){return new Float64Array(k(8*j),0,j)}function z(j){return h?new Uint8ClampedArray(k(j),0,j):E(j)}function F(j){return c?new BigUint64Array(k(8*j),0,j):null}function B(j){return m?new BigInt64Array(k(8*j),0,j):null}function N(j){return new DataView(k(j),0,j)}function W(j){j=u.nextPow2(j);var $=u.log2(j),U=C[$];return U.length>0?U.pop():new s(j)}l.free=function(j){if(s.isBuffer(j))C[u.log2(j.length)].push(j);else{if(Object.prototype.toString.call(j)!=="[object ArrayBuffer]"&&(j=j.buffer),!j)return;var $=j.length||j.byteLength,U=0|u.log2($);y[U].push(j)}},l.freeUint8=l.freeUint16=l.freeUint32=l.freeBigUint64=l.freeInt8=l.freeInt16=l.freeInt32=l.freeBigInt64=l.freeFloat32=l.freeFloat=l.freeFloat64=l.freeDouble=l.freeUint8Clamped=l.freeDataView=function(j){_(j.buffer)},l.freeArrayBuffer=_,l.freeBuffer=function(j){C[u.log2(j.length)].push(j)},l.malloc=function(j,$){if($===void 0||$==="arraybuffer")return k(j);switch($){case"uint8":return E(j);case"uint16":return x(j);case"uint32":return A(j);case"int8":return L(j);case"int16":return b(j);case"int32":return R(j);case"float":case"float32":return I(j);case"double":case"float64":return O(j);case"uint8_clamped":return z(j);case"bigint64":return B(j);case"biguint64":return F(j);case"buffer":return W(j);case"data":case"dataview":return N(j);default:return null}return null},l.mallocArrayBuffer=k,l.mallocUint8=E,l.mallocUint16=x,l.mallocUint32=A,l.mallocInt8=L,l.mallocInt16=b,l.mallocInt32=R,l.mallocFloat32=l.mallocFloat=I,l.mallocFloat64=l.mallocDouble=O,l.mallocUint8Clamped=z,l.mallocBigUint64=F,l.mallocBigInt64=B,l.mallocDataView=N,l.mallocBuffer=W,l.clearCache=function(){for(var j=0;j<32;++j)w.UINT8[j].length=0,w.UINT16[j].length=0,w.UINT32[j].length=0,w.INT8[j].length=0,w.INT16[j].length=0,w.INT32[j].length=0,w.FLOAT[j].length=0,w.DOUBLE[j].length=0,w.BIGUINT64[j].length=0,w.BIGINT64[j].length=0,w.UINT8C[j].length=0,y[j].length=0,C[j].length=0}},1731:function(f){function l(u){this.roots=new Array(u),this.ranks=new Array(u);for(var o=0;o0&&(R=b.size),b.lineSpacing&&b.lineSpacing>0&&(I=b.lineSpacing),b.styletags&&b.styletags.breaklines&&(O.breaklines=!!b.styletags.breaklines),b.styletags&&b.styletags.bolds&&(O.bolds=!!b.styletags.bolds),b.styletags&&b.styletags.italics&&(O.italics=!!b.styletags.italics),b.styletags&&b.styletags.subscripts&&(O.subscripts=!!b.styletags.subscripts),b.styletags&&b.styletags.superscripts&&(O.superscripts=!!b.styletags.superscripts)),L.font=[b.fontStyle,b.fontVariant,b.fontWeight,R+"px",b.font].filter(function(z){return z}).join(" "),L.textAlign="start",L.textBaseline="alphabetic",L.direction="ltr",E(function(z,F,B,N,W,j){B=B.replace(/\n/g,""),B=j.breaklines===!0?B.replace(/\/g,` +`):B.replace(/\/g," ");var $="",U=[];for(ne=0;ne-1?parseInt(fe[1+Le]):0,je=Be>-1?parseInt(be[1+Be]):0;ze!==je&&(ke=ke.replace(xe(),"?px "),X*=Math.pow(.75,je-ze),ke=ke.replace("?px ",xe())),Z+=.25*ie*(je-ze)}if(j.superscripts===!0){var ge=fe.indexOf("+"),we=be.indexOf("+"),Ee=ge>-1?parseInt(fe[1+ge]):0,Ve=we>-1?parseInt(be[1+we]):0;Ee!==Ve&&(ke=ke.replace(xe(),"?px "),X*=Math.pow(.75,Ve-Ee),ke=ke.replace("?px ",xe())),Z-=.25*ie*(Ve-Ee)}if(j.bolds===!0){var $e=fe.indexOf(w)>-1,Ye=be.indexOf(w)>-1;!$e&&Ye&&(ke=st?ke.replace("italic ","italic bold "):"bold "+ke),$e&&!Ye&&(ke=ke.replace("bold ",""))}if(j.italics===!0){var st=fe.indexOf(y)>-1,ot=be.indexOf(y)>-1;!st&&ot&&(ke="italic "+ke),st&&!ot&&(ke=ke.replace("italic ",""))}F.font=ke}for(H=0;H",I="",O=R.length,z=I.length,F=A[0]==="+"||A[0]==="-",B=0,N=-z;B>-1&&(B=L.indexOf(R,B))!==-1&&(N=L.indexOf(I,B+O))!==-1&&!(N<=B);){for(var W=B;W=N)b[W]=null,L=L.substr(0,W)+" "+L.substr(W+1);else if(b[W]!==null){var j=b[W].indexOf(A[0]);j===-1?b[W]+=A:F&&(b[W]=b[W].substr(0,j+1)+(1+parseInt(b[W][j+1]))+b[W].substr(j+2))}var $=B+O,U=L.substr($,N-$).indexOf(R);B=U!==-1?U:N+z}return b}function _(x,A){var L=u(x,128);return A?s(L.cells,L.positions,.25):{edges:L.cells,positions:L.positions}}function k(x,A,L,b){var R=_(x,b),I=function(H,ne,te){for(var Z=ne.textAlign||"start",X=ne.textBaseline||"alphabetic",Q=[1<<30,1<<30],re=[0,0],ie=H.length,oe=0;oe"u"||!ses.ok||ses.ok()){typeof ses<"u"&&(ses.weakMapPermitHostObjects=A);var l=!1;if(typeof WeakMap=="function"){var a=WeakMap;if(!(typeof navigator<"u"&&/Firefox/.test(navigator.userAgent))){var u=new a,o=Object.freeze({});if(u.set(o,1),u.get(o)===1)return void(f.exports=WeakMap);l=!0}}var s=Object.getOwnPropertyNames,c=Object.defineProperty,h=Object.isExtensible,m="weakmap:",w="weakmap:ident:"+Math.random()+"___";if(typeof crypto<"u"&&typeof crypto.getRandomValues=="function"&&typeof ArrayBuffer=="function"&&typeof Uint8Array=="function"){var y=new ArrayBuffer(25),S=new Uint8Array(y);crypto.getRandomValues(S),w="weakmap:rand:"+Array.prototype.map.call(S,function(O){return(O%36).toString(36)}).join("")+"___"}if(c(Object,"getOwnPropertyNames",{value:function(O){return s(O).filter(L)}}),"getPropertyNames"in Object){var _=Object.getPropertyNames;c(Object,"getPropertyNames",{value:function(O){return _(O).filter(L)}})}(function(){var O=Object.freeze;c(Object,"freeze",{value:function(B){return b(B),O(B)}});var z=Object.seal;c(Object,"seal",{value:function(B){return b(B),z(B)}});var F=Object.preventExtensions;c(Object,"preventExtensions",{value:function(B){return b(B),F(B)}})})();var k=!1,E=0,x=function(){this instanceof x||I();var O=[],z=[],F=E++;return Object.create(x.prototype,{get___:{value:R(function(B,N){var W,j=b(B);return j?F in j?j[F]:N:(W=O.indexOf(B))>=0?z[W]:N})},has___:{value:R(function(B){var N=b(B);return N?F in N:O.indexOf(B)>=0})},set___:{value:R(function(B,N){var W,j=b(B);return j?j[F]=N:(W=O.indexOf(B))>=0?z[W]=N:(W=O.length,z[W]=N,O[W]=B),this})},delete___:{value:R(function(B){var N,W,j=b(B);return j?F in j&&delete j[F]:!((N=O.indexOf(B))<0||(W=O.length-1,O[N]=void 0,z[N]=z[W],O[N]=O[W],O.length=W,z.length=W,0))})}})};x.prototype=Object.create(Object.prototype,{get:{value:function(O,z){return this.get___(O,z)},writable:!0,configurable:!0},has:{value:function(O){return this.has___(O)},writable:!0,configurable:!0},set:{value:function(O,z){return this.set___(O,z)},writable:!0,configurable:!0},delete:{value:function(O){return this.delete___(O)},writable:!0,configurable:!0}}),typeof a=="function"?function(){function O(){this instanceof x||I();var z,F=new a,B=void 0,N=!1;return z=l?function(W,j){return F.set(W,j),F.has(W)||(B||(B=new x),B.set(W,j)),this}:function(W,j){if(N)try{F.set(W,j)}catch{B||(B=new x),B.set___(W,j)}else F.set(W,j);return this},Object.create(x.prototype,{get___:{value:R(function(W,j){return B?F.has(W)?F.get(W):B.get___(W,j):F.get(W,j)})},has___:{value:R(function(W){return F.has(W)||!!B&&B.has___(W)})},set___:{value:R(z)},delete___:{value:R(function(W){var j=!!F.delete(W);return B&&B.delete___(W)||j})},permitHostObjects___:{value:R(function(W){if(W!==A)throw new Error("bogus call to permitHostObjects___");N=!0})}})}l&&typeof Proxy<"u"&&(Proxy=void 0),O.prototype=x.prototype,f.exports=O,Object.defineProperty(WeakMap.prototype,"constructor",{value:WeakMap,enumerable:!1,configurable:!0,writable:!0})}():(typeof Proxy<"u"&&(Proxy=void 0),f.exports=x)}function A(O){O.permitHostObjects___&&O.permitHostObjects___(A)}function L(O){return!(O.substr(0,m.length)==m&&O.substr(O.length-3)==="___")}function b(O){if(O!==Object(O))throw new TypeError("Not an object: "+O);var z=O[w];if(z&&z.key===O)return z;if(h(O)){z={key:O};try{return c(O,w,{value:z,writable:!1,enumerable:!1,configurable:!1}),z}catch{return}}}function R(O){return O.prototype=null,Object.freeze(O)}function I(){k||typeof console>"u"||(k=!0,console.warn("WeakMap should be invoked as new WeakMap(), not WeakMap(). This will be an error in the future."))}})()},9222:function(f,l,a){var u=a(7178);f.exports=function(){var o={};return function(s){if((typeof s!="object"||s===null)&&typeof s!="function")throw new Error("Weakmap-shim: Key must be object");var c=s.valueOf(o);return c&&c.identity===o?c:u(s,o)}}},7178:function(f){f.exports=function(l,a){var u={identity:a},o=l.valueOf;return Object.defineProperty(l,"valueOf",{value:function(s){return s!==a?o.apply(this,arguments):u},writable:!0}),u}},4037:function(f,l,a){var u=a(9222);f.exports=function(){var o=u();return{get:function(s,c){var h=o(s);return h.hasOwnProperty("value")?h.value:c},set:function(s,c){return o(s).value=c,this},has:function(s){return"value"in o(s)},delete:function(s){return delete o(s).value}}}},6183:function(f){f.exports=function(l){var a={};return function(u,o,s){var c=u.dtype,h=u.order,m=[c,h.join()].join(),w=a[m];return w||(a[m]=w=l([c,h])),w(u.shape.slice(0),u.data,u.stride,0|u.offset,o,s)}}((function(){return function(l,a,u,o,s,c){var h=l[0],m=u[0],w=[0],y=m;o|=0;var S=0,_=m;for(S=0;S=0!=E>=0&&s.push(w[0]+.5+.5*(k+E)/(k-E)),o+=_,++w[0]}}}).bind(void 0,{funcName:"zeroCrossings"}))},9584:function(f,l,a){f.exports=function(o,s){var c=[];return s=+s||0,u(o.hi(o.shape[0]-1),c,s),c};var u=a(6183)},6601:function(){}},M={};function v(f){var l=M[f];if(l!==void 0)return l.exports;var a=M[f]={id:f,loaded:!1,exports:{}};return i[f].call(a.exports,a,a.exports,v),a.loaded=!0,a.exports}return v.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),v.nmd=function(f){return f.paths=[],f.children||(f.children=[]),f},v(7386)}()},T.exports=d()},12856:function(T,p,t){function d(ae,fe){if(!(ae instanceof fe))throw new TypeError("Cannot call a class as a function")}function g(ae,fe){for(var be=0;bes)throw new RangeError('The value "'+ae+'" is invalid for option "size"');var fe=new Uint8Array(ae);return Object.setPrototypeOf(fe,h.prototype),fe}function h(ae,fe,be){if(typeof ae=="number"){if(typeof fe=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return y(ae)}return m(ae,fe,be)}function m(ae,fe,be){if(typeof ae=="string")return function(Be,ze){if(typeof ze=="string"&&ze!==""||(ze="utf8"),!h.isEncoding(ze))throw new TypeError("Unknown encoding: "+ze);var je=0|E(Be,ze),ge=c(je),we=ge.write(Be,ze);return we!==je&&(ge=ge.slice(0,we)),ge}(ae,fe);if(ArrayBuffer.isView(ae))return function(Be){if(Pe(Be,Uint8Array)){var ze=new Uint8Array(Be);return _(ze.buffer,ze.byteOffset,ze.byteLength)}return S(Be)}(ae);if(ae==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+l(ae));if(Pe(ae,ArrayBuffer)||ae&&Pe(ae.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Pe(ae,SharedArrayBuffer)||ae&&Pe(ae.buffer,SharedArrayBuffer)))return _(ae,fe,be);if(typeof ae=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var ke=ae.valueOf&&ae.valueOf();if(ke!=null&&ke!==ae)return h.from(ke,fe,be);var Le=function(Be){if(h.isBuffer(Be)){var ze=0|k(Be.length),je=c(ze);return je.length===0||Be.copy(je,0,0,ze),je}return Be.length!==void 0?typeof Be.length!="number"||_e(Be.length)?c(0):S(Be):Be.type==="Buffer"&&Array.isArray(Be.data)?S(Be.data):void 0}(ae);if(Le)return Le;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof ae[Symbol.toPrimitive]=="function")return h.from(ae[Symbol.toPrimitive]("string"),fe,be);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+l(ae))}function w(ae){if(typeof ae!="number")throw new TypeError('"size" argument must be of type number');if(ae<0)throw new RangeError('The value "'+ae+'" is invalid for option "size"')}function y(ae){return w(ae),c(ae<0?0:0|k(ae))}function S(ae){for(var fe=ae.length<0?0:0|k(ae.length),be=c(fe),ke=0;ke=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|ae}function E(ae,fe){if(h.isBuffer(ae))return ae.length;if(ArrayBuffer.isView(ae)||Pe(ae,ArrayBuffer))return ae.byteLength;if(typeof ae!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+l(ae));var be=ae.length,ke=arguments.length>2&&arguments[2]===!0;if(!ke&&be===0)return 0;for(var Le=!1;;)switch(fe){case"ascii":case"latin1":case"binary":return be;case"utf8":case"utf-8":return me(ae).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*be;case"hex":return be>>>1;case"base64":return pe(ae).length;default:if(Le)return ke?-1:me(ae).length;fe=(""+fe).toLowerCase(),Le=!0}}function x(ae,fe,be){var ke=!1;if((fe===void 0||fe<0)&&(fe=0),fe>this.length||((be===void 0||be>this.length)&&(be=this.length),be<=0)||(be>>>=0)<=(fe>>>=0))return"";for(ae||(ae="utf8");;)switch(ae){case"hex":return U(this,fe,be);case"utf8":case"utf-8":return N(this,fe,be);case"ascii":return j(this,fe,be);case"latin1":case"binary":return $(this,fe,be);case"base64":return B(this,fe,be);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return G(this,fe,be);default:if(ke)throw new TypeError("Unknown encoding: "+ae);ae=(ae+"").toLowerCase(),ke=!0}}function A(ae,fe,be){var ke=ae[fe];ae[fe]=ae[be],ae[be]=ke}function L(ae,fe,be,ke,Le){if(ae.length===0)return-1;if(typeof be=="string"?(ke=be,be=0):be>2147483647?be=2147483647:be<-2147483648&&(be=-2147483648),_e(be=+be)&&(be=Le?0:ae.length-1),be<0&&(be=ae.length+be),be>=ae.length){if(Le)return-1;be=ae.length-1}else if(be<0){if(!Le)return-1;be=0}if(typeof fe=="string"&&(fe=h.from(fe,ke)),h.isBuffer(fe))return fe.length===0?-1:b(ae,fe,be,ke,Le);if(typeof fe=="number")return fe&=255,typeof Uint8Array.prototype.indexOf=="function"?Le?Uint8Array.prototype.indexOf.call(ae,fe,be):Uint8Array.prototype.lastIndexOf.call(ae,fe,be):b(ae,[fe],be,ke,Le);throw new TypeError("val must be string, number or Buffer")}function b(ae,fe,be,ke,Le){var Be,ze=1,je=ae.length,ge=fe.length;if(ke!==void 0&&((ke=String(ke).toLowerCase())==="ucs2"||ke==="ucs-2"||ke==="utf16le"||ke==="utf-16le")){if(ae.length<2||fe.length<2)return-1;ze=2,je/=2,ge/=2,be/=2}function we(Ye,st){return ze===1?Ye[st]:Ye.readUInt16BE(st*ze)}if(Le){var Ee=-1;for(Be=be;Beje&&(be=je-ge),Be=be;Be>=0;Be--){for(var Ve=!0,$e=0;$eLe&&(ke=Le):ke=Le;var Be,ze=fe.length;for(ke>ze/2&&(ke=ze/2),Be=0;Be>8,ge=ze%256,we.push(ge),we.push(je);return we}(fe,ae.length-be),ae,be,ke)}function B(ae,fe,be){return fe===0&&be===ae.length?a.fromByteArray(ae):a.fromByteArray(ae.slice(fe,be))}function N(ae,fe,be){be=Math.min(ae.length,be);for(var ke=[],Le=fe;Le239?4:Be>223?3:Be>191?2:1;if(Le+je<=be){var ge=void 0,we=void 0,Ee=void 0,Ve=void 0;switch(je){case 1:Be<128&&(ze=Be);break;case 2:(192&(ge=ae[Le+1]))==128&&(Ve=(31&Be)<<6|63&ge)>127&&(ze=Ve);break;case 3:ge=ae[Le+1],we=ae[Le+2],(192&ge)==128&&(192&we)==128&&(Ve=(15&Be)<<12|(63&ge)<<6|63&we)>2047&&(Ve<55296||Ve>57343)&&(ze=Ve);break;case 4:ge=ae[Le+1],we=ae[Le+2],Ee=ae[Le+3],(192&ge)==128&&(192&we)==128&&(192&Ee)==128&&(Ve=(15&Be)<<18|(63&ge)<<12|(63&we)<<6|63&Ee)>65535&&Ve<1114112&&(ze=Ve)}}ze===null?(ze=65533,je=1):ze>65535&&(ze-=65536,ke.push(ze>>>10&1023|55296),ze=56320|1023&ze),ke.push(ze),Le+=je}return function($e){var Ye=$e.length;if(Ye<=W)return String.fromCharCode.apply(String,$e);for(var st="",ot=0;ot"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(h.prototype,"parent",{enumerable:!0,get:function(){if(h.isBuffer(this))return this.buffer}}),Object.defineProperty(h.prototype,"offset",{enumerable:!0,get:function(){if(h.isBuffer(this))return this.byteOffset}}),h.poolSize=8192,h.from=function(ae,fe,be){return m(ae,fe,be)},Object.setPrototypeOf(h.prototype,Uint8Array.prototype),Object.setPrototypeOf(h,Uint8Array),h.alloc=function(ae,fe,be){return function(ke,Le,Be){return w(ke),ke<=0?c(ke):Le!==void 0?typeof Be=="string"?c(ke).fill(Le,Be):c(ke).fill(Le):c(ke)}(ae,fe,be)},h.allocUnsafe=function(ae){return y(ae)},h.allocUnsafeSlow=function(ae){return y(ae)},h.isBuffer=function(ae){return ae!=null&&ae._isBuffer===!0&&ae!==h.prototype},h.compare=function(ae,fe){if(Pe(ae,Uint8Array)&&(ae=h.from(ae,ae.offset,ae.byteLength)),Pe(fe,Uint8Array)&&(fe=h.from(fe,fe.offset,fe.byteLength)),!h.isBuffer(ae)||!h.isBuffer(fe))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ae===fe)return 0;for(var be=ae.length,ke=fe.length,Le=0,Be=Math.min(be,ke);Leke.length?(h.isBuffer(Be)||(Be=h.from(Be)),Be.copy(ke,Le)):Uint8Array.prototype.set.call(ke,Be,Le);else{if(!h.isBuffer(Be))throw new TypeError('"list" argument must be an Array of Buffers');Be.copy(ke,Le)}Le+=Be.length}return ke},h.byteLength=E,h.prototype._isBuffer=!0,h.prototype.swap16=function(){var ae=this.length;if(ae%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var fe=0;fefe&&(ae+=" ... "),""},o&&(h.prototype[o]=h.prototype.inspect),h.prototype.compare=function(ae,fe,be,ke,Le){if(Pe(ae,Uint8Array)&&(ae=h.from(ae,ae.offset,ae.byteLength)),!h.isBuffer(ae))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+l(ae));if(fe===void 0&&(fe=0),be===void 0&&(be=ae?ae.length:0),ke===void 0&&(ke=0),Le===void 0&&(Le=this.length),fe<0||be>ae.length||ke<0||Le>this.length)throw new RangeError("out of range index");if(ke>=Le&&fe>=be)return 0;if(ke>=Le)return-1;if(fe>=be)return 1;if(this===ae)return 0;for(var Be=(Le>>>=0)-(ke>>>=0),ze=(be>>>=0)-(fe>>>=0),je=Math.min(Be,ze),ge=this.slice(ke,Le),we=ae.slice(fe,be),Ee=0;Ee>>=0,isFinite(be)?(be>>>=0,ke===void 0&&(ke="utf8")):(ke=be,be=void 0)}var Le=this.length-fe;if((be===void 0||be>Le)&&(be=Le),ae.length>0&&(be<0||fe<0)||fe>this.length)throw new RangeError("Attempt to write outside buffer bounds");ke||(ke="utf8");for(var Be=!1;;)switch(ke){case"hex":return R(this,ae,fe,be);case"utf8":case"utf-8":return I(this,ae,fe,be);case"ascii":case"latin1":case"binary":return O(this,ae,fe,be);case"base64":return z(this,ae,fe,be);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F(this,ae,fe,be);default:if(Be)throw new TypeError("Unknown encoding: "+ke);ke=(""+ke).toLowerCase(),Be=!0}},h.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var W=4096;function j(ae,fe,be){var ke="";be=Math.min(ae.length,be);for(var Le=fe;Leke)&&(be=ke);for(var Le="",Be=fe;Bebe)throw new RangeError("Trying to access beyond buffer length")}function H(ae,fe,be,ke,Le,Be){if(!h.isBuffer(ae))throw new TypeError('"buffer" argument must be a Buffer instance');if(fe>Le||feae.length)throw new RangeError("Index out of range")}function ne(ae,fe,be,ke,Le){ue(fe,ke,Le,ae,be,7);var Be=Number(fe&BigInt(4294967295));ae[be++]=Be,Be>>=8,ae[be++]=Be,Be>>=8,ae[be++]=Be,Be>>=8,ae[be++]=Be;var ze=Number(fe>>BigInt(32)&BigInt(4294967295));return ae[be++]=ze,ze>>=8,ae[be++]=ze,ze>>=8,ae[be++]=ze,ze>>=8,ae[be++]=ze,be}function te(ae,fe,be,ke,Le){ue(fe,ke,Le,ae,be,7);var Be=Number(fe&BigInt(4294967295));ae[be+7]=Be,Be>>=8,ae[be+6]=Be,Be>>=8,ae[be+5]=Be,Be>>=8,ae[be+4]=Be;var ze=Number(fe>>BigInt(32)&BigInt(4294967295));return ae[be+3]=ze,ze>>=8,ae[be+2]=ze,ze>>=8,ae[be+1]=ze,ze>>=8,ae[be]=ze,be+8}function Z(ae,fe,be,ke,Le,Be){if(be+ke>ae.length)throw new RangeError("Index out of range");if(be<0)throw new RangeError("Index out of range")}function X(ae,fe,be,ke,Le){return fe=+fe,be>>>=0,Le||Z(ae,0,be,4),u.write(ae,fe,be,ke,23,4),be+4}function Q(ae,fe,be,ke,Le){return fe=+fe,be>>>=0,Le||Z(ae,0,be,8),u.write(ae,fe,be,ke,52,8),be+8}h.prototype.slice=function(ae,fe){var be=this.length;(ae=~~ae)<0?(ae+=be)<0&&(ae=0):ae>be&&(ae=be),(fe=fe===void 0?be:~~fe)<0?(fe+=be)<0&&(fe=0):fe>be&&(fe=be),fe>>=0,fe>>>=0,be||q(ae,fe,this.length);for(var ke=this[ae],Le=1,Be=0;++Be>>=0,fe>>>=0,be||q(ae,fe,this.length);for(var ke=this[ae+--fe],Le=1;fe>0&&(Le*=256);)ke+=this[ae+--fe]*Le;return ke},h.prototype.readUint8=h.prototype.readUInt8=function(ae,fe){return ae>>>=0,fe||q(ae,1,this.length),this[ae]},h.prototype.readUint16LE=h.prototype.readUInt16LE=function(ae,fe){return ae>>>=0,fe||q(ae,2,this.length),this[ae]|this[ae+1]<<8},h.prototype.readUint16BE=h.prototype.readUInt16BE=function(ae,fe){return ae>>>=0,fe||q(ae,2,this.length),this[ae]<<8|this[ae+1]},h.prototype.readUint32LE=h.prototype.readUInt32LE=function(ae,fe){return ae>>>=0,fe||q(ae,4,this.length),(this[ae]|this[ae+1]<<8|this[ae+2]<<16)+16777216*this[ae+3]},h.prototype.readUint32BE=h.prototype.readUInt32BE=function(ae,fe){return ae>>>=0,fe||q(ae,4,this.length),16777216*this[ae]+(this[ae+1]<<16|this[ae+2]<<8|this[ae+3])},h.prototype.readBigUInt64LE=Se(function(ae){ce(ae>>>=0,"offset");var fe=this[ae],be=this[ae+7];fe!==void 0&&be!==void 0||ye(ae,this.length-8);var ke=fe+this[++ae]*Math.pow(2,8)+this[++ae]*Math.pow(2,16)+this[++ae]*Math.pow(2,24),Le=this[++ae]+this[++ae]*Math.pow(2,8)+this[++ae]*Math.pow(2,16)+be*Math.pow(2,24);return BigInt(ke)+(BigInt(Le)<>>=0,"offset");var fe=this[ae],be=this[ae+7];fe!==void 0&&be!==void 0||ye(ae,this.length-8);var ke=fe*Math.pow(2,24)+this[++ae]*Math.pow(2,16)+this[++ae]*Math.pow(2,8)+this[++ae],Le=this[++ae]*Math.pow(2,24)+this[++ae]*Math.pow(2,16)+this[++ae]*Math.pow(2,8)+be;return(BigInt(ke)<>>=0,fe>>>=0,be||q(ae,fe,this.length);for(var ke=this[ae],Le=1,Be=0;++Be=(Le*=128)&&(ke-=Math.pow(2,8*fe)),ke},h.prototype.readIntBE=function(ae,fe,be){ae>>>=0,fe>>>=0,be||q(ae,fe,this.length);for(var ke=fe,Le=1,Be=this[ae+--ke];ke>0&&(Le*=256);)Be+=this[ae+--ke]*Le;return Be>=(Le*=128)&&(Be-=Math.pow(2,8*fe)),Be},h.prototype.readInt8=function(ae,fe){return ae>>>=0,fe||q(ae,1,this.length),128&this[ae]?-1*(255-this[ae]+1):this[ae]},h.prototype.readInt16LE=function(ae,fe){ae>>>=0,fe||q(ae,2,this.length);var be=this[ae]|this[ae+1]<<8;return 32768&be?4294901760|be:be},h.prototype.readInt16BE=function(ae,fe){ae>>>=0,fe||q(ae,2,this.length);var be=this[ae+1]|this[ae]<<8;return 32768&be?4294901760|be:be},h.prototype.readInt32LE=function(ae,fe){return ae>>>=0,fe||q(ae,4,this.length),this[ae]|this[ae+1]<<8|this[ae+2]<<16|this[ae+3]<<24},h.prototype.readInt32BE=function(ae,fe){return ae>>>=0,fe||q(ae,4,this.length),this[ae]<<24|this[ae+1]<<16|this[ae+2]<<8|this[ae+3]},h.prototype.readBigInt64LE=Se(function(ae){ce(ae>>>=0,"offset");var fe=this[ae],be=this[ae+7];fe!==void 0&&be!==void 0||ye(ae,this.length-8);var ke=this[ae+4]+this[ae+5]*Math.pow(2,8)+this[ae+6]*Math.pow(2,16)+(be<<24);return(BigInt(ke)<>>=0,"offset");var fe=this[ae],be=this[ae+7];fe!==void 0&&be!==void 0||ye(ae,this.length-8);var ke=(fe<<24)+this[++ae]*Math.pow(2,16)+this[++ae]*Math.pow(2,8)+this[++ae];return(BigInt(ke)<>>=0,fe||q(ae,4,this.length),u.read(this,ae,!0,23,4)},h.prototype.readFloatBE=function(ae,fe){return ae>>>=0,fe||q(ae,4,this.length),u.read(this,ae,!1,23,4)},h.prototype.readDoubleLE=function(ae,fe){return ae>>>=0,fe||q(ae,8,this.length),u.read(this,ae,!0,52,8)},h.prototype.readDoubleBE=function(ae,fe){return ae>>>=0,fe||q(ae,8,this.length),u.read(this,ae,!1,52,8)},h.prototype.writeUintLE=h.prototype.writeUIntLE=function(ae,fe,be,ke){ae=+ae,fe>>>=0,be>>>=0,ke||H(this,ae,fe,be,Math.pow(2,8*be)-1,0);var Le=1,Be=0;for(this[fe]=255&ae;++Be>>=0,be>>>=0,ke||H(this,ae,fe,be,Math.pow(2,8*be)-1,0);var Le=be-1,Be=1;for(this[fe+Le]=255&ae;--Le>=0&&(Be*=256);)this[fe+Le]=ae/Be&255;return fe+be},h.prototype.writeUint8=h.prototype.writeUInt8=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,1,255,0),this[fe]=255&ae,fe+1},h.prototype.writeUint16LE=h.prototype.writeUInt16LE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,2,65535,0),this[fe]=255&ae,this[fe+1]=ae>>>8,fe+2},h.prototype.writeUint16BE=h.prototype.writeUInt16BE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,2,65535,0),this[fe]=ae>>>8,this[fe+1]=255&ae,fe+2},h.prototype.writeUint32LE=h.prototype.writeUInt32LE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,4,4294967295,0),this[fe+3]=ae>>>24,this[fe+2]=ae>>>16,this[fe+1]=ae>>>8,this[fe]=255&ae,fe+4},h.prototype.writeUint32BE=h.prototype.writeUInt32BE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,4,4294967295,0),this[fe]=ae>>>24,this[fe+1]=ae>>>16,this[fe+2]=ae>>>8,this[fe+3]=255&ae,fe+4},h.prototype.writeBigUInt64LE=Se(function(ae){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ne(this,ae,fe,BigInt(0),BigInt("0xffffffffffffffff"))}),h.prototype.writeBigUInt64BE=Se(function(ae){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return te(this,ae,fe,BigInt(0),BigInt("0xffffffffffffffff"))}),h.prototype.writeIntLE=function(ae,fe,be,ke){if(ae=+ae,fe>>>=0,!ke){var Le=Math.pow(2,8*be-1);H(this,ae,fe,be,Le-1,-Le)}var Be=0,ze=1,je=0;for(this[fe]=255&ae;++Be>0)-je&255;return fe+be},h.prototype.writeIntBE=function(ae,fe,be,ke){if(ae=+ae,fe>>>=0,!ke){var Le=Math.pow(2,8*be-1);H(this,ae,fe,be,Le-1,-Le)}var Be=be-1,ze=1,je=0;for(this[fe+Be]=255&ae;--Be>=0&&(ze*=256);)ae<0&&je===0&&this[fe+Be+1]!==0&&(je=1),this[fe+Be]=(ae/ze>>0)-je&255;return fe+be},h.prototype.writeInt8=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,1,127,-128),ae<0&&(ae=255+ae+1),this[fe]=255&ae,fe+1},h.prototype.writeInt16LE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,2,32767,-32768),this[fe]=255&ae,this[fe+1]=ae>>>8,fe+2},h.prototype.writeInt16BE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,2,32767,-32768),this[fe]=ae>>>8,this[fe+1]=255&ae,fe+2},h.prototype.writeInt32LE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,4,2147483647,-2147483648),this[fe]=255&ae,this[fe+1]=ae>>>8,this[fe+2]=ae>>>16,this[fe+3]=ae>>>24,fe+4},h.prototype.writeInt32BE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,4,2147483647,-2147483648),ae<0&&(ae=4294967295+ae+1),this[fe]=ae>>>24,this[fe+1]=ae>>>16,this[fe+2]=ae>>>8,this[fe+3]=255&ae,fe+4},h.prototype.writeBigInt64LE=Se(function(ae){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ne(this,ae,fe,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),h.prototype.writeBigInt64BE=Se(function(ae){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return te(this,ae,fe,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),h.prototype.writeFloatLE=function(ae,fe,be){return X(this,ae,fe,!0,be)},h.prototype.writeFloatBE=function(ae,fe,be){return X(this,ae,fe,!1,be)},h.prototype.writeDoubleLE=function(ae,fe,be){return Q(this,ae,fe,!0,be)},h.prototype.writeDoubleBE=function(ae,fe,be){return Q(this,ae,fe,!1,be)},h.prototype.copy=function(ae,fe,be,ke){if(!h.isBuffer(ae))throw new TypeError("argument should be a Buffer");if(be||(be=0),ke||ke===0||(ke=this.length),fe>=ae.length&&(fe=ae.length),fe||(fe=0),ke>0&&ke=this.length)throw new RangeError("Index out of range");if(ke<0)throw new RangeError("sourceEnd out of bounds");ke>this.length&&(ke=this.length),ae.length-fe>>=0,be=be===void 0?this.length:be>>>0,ae||(ae=0),typeof ae=="number")for(Be=fe;Be"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var Ee,Ve=f(ze);if(je){var $e=f(this).constructor;Ee=Reflect.construct(Ve,arguments,$e)}else Ee=Ve.apply(this,arguments);return M(this,Ee)});function we(){var Ee;return d(this,we),Ee=ge.call(this),Object.defineProperty(v(Ee),"message",{value:fe.apply(v(Ee),arguments),writable:!0,configurable:!0}),Ee.name="".concat(Ee.name," [").concat(ae,"]"),Ee.stack,delete Ee.name,Ee}return Le=we,(Be=[{key:"code",get:function(){return ae},set:function(Ee){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:Ee,writable:!0})}},{key:"toString",value:function(){return"".concat(this.name," [").concat(ae,"]: ").concat(this.message)}}])&&g(Le.prototype,Be),Object.defineProperty(Le,"prototype",{writable:!1}),we}(be)}function oe(ae){for(var fe="",be=ae.length,ke=ae[0]==="-"?1:0;be>=ke+4;be-=3)fe="_".concat(ae.slice(be-3,be)).concat(fe);return"".concat(ae.slice(0,be)).concat(fe)}function ue(ae,fe,be,ke,Le,Be){if(ae>be||ae3?fe===0||fe===BigInt(0)?">= 0".concat(je," and < 2").concat(je," ** ").concat(8*(Be+1)).concat(je):">= -(2".concat(je," ** ").concat(8*(Be+1)-1).concat(je,") and < 2 ** ")+"".concat(8*(Be+1)-1).concat(je):">= ".concat(fe).concat(je," and <= ").concat(be).concat(je),new re.ERR_OUT_OF_RANGE("value",ze,ae)}(function(ge,we,Ee){ce(we,"offset"),ge[we]!==void 0&&ge[we+Ee]!==void 0||ye(we,ge.length-(Ee+1))})(ke,Le,Be)}function ce(ae,fe){if(typeof ae!="number")throw new re.ERR_INVALID_ARG_TYPE(fe,"number",ae)}function ye(ae,fe,be){throw Math.floor(ae)!==ae?(ce(ae,be),new re.ERR_OUT_OF_RANGE(be||"offset","an integer",ae)):fe<0?new re.ERR_BUFFER_OUT_OF_BOUNDS:new re.ERR_OUT_OF_RANGE(be||"offset",">= ".concat(be?1:0," and <= ").concat(fe),ae)}ie("ERR_BUFFER_OUT_OF_BOUNDS",function(ae){return ae?"".concat(ae," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"},RangeError),ie("ERR_INVALID_ARG_TYPE",function(ae,fe){return'The "'.concat(ae,'" argument must be of type number. Received type ').concat(l(fe))},TypeError),ie("ERR_OUT_OF_RANGE",function(ae,fe,be){var ke='The value of "'.concat(ae,'" is out of range.'),Le=be;return Number.isInteger(be)&&Math.abs(be)>Math.pow(2,32)?Le=oe(String(be)):typeof be=="bigint"&&(Le=String(be),(be>Math.pow(BigInt(2),BigInt(32))||be<-Math.pow(BigInt(2),BigInt(32)))&&(Le=oe(Le)),Le+="n"),ke+" It must be ".concat(fe,". Received ").concat(Le)},RangeError);var de=/[^+/0-9A-Za-z-_]/g;function me(ae,fe){var be;fe=fe||1/0;for(var ke=ae.length,Le=null,Be=[],ze=0;ze55295&&be<57344){if(!Le){if(be>56319){(fe-=3)>-1&&Be.push(239,191,189);continue}if(ze+1===ke){(fe-=3)>-1&&Be.push(239,191,189);continue}Le=be;continue}if(be<56320){(fe-=3)>-1&&Be.push(239,191,189),Le=be;continue}be=65536+(Le-55296<<10|be-56320)}else Le&&(fe-=3)>-1&&Be.push(239,191,189);if(Le=null,be<128){if((fe-=1)<0)break;Be.push(be)}else if(be<2048){if((fe-=2)<0)break;Be.push(be>>6|192,63&be|128)}else if(be<65536){if((fe-=3)<0)break;Be.push(be>>12|224,be>>6&63|128,63&be|128)}else{if(!(be<1114112))throw new Error("Invalid code point");if((fe-=4)<0)break;Be.push(be>>18|240,be>>12&63|128,be>>6&63|128,63&be|128)}}return Be}function pe(ae){return a.toByteArray(function(fe){if((fe=(fe=fe.split("=")[0]).trim().replace(de,"")).length<2)return"";for(;fe.length%4!=0;)fe+="=";return fe}(ae))}function xe(ae,fe,be,ke){var Le;for(Le=0;Le=fe.length||Le>=ae.length);++Le)fe[Le+be]=ae[Le];return Le}function Pe(ae,fe){return ae instanceof fe||ae!=null&&ae.constructor!=null&&ae.constructor.name!=null&&ae.constructor.name===fe.name}function _e(ae){return ae!=ae}var Me=function(){for(var ae="0123456789abcdef",fe=new Array(256),be=0;be<16;++be)for(var ke=16*be,Le=0;Le<16;++Le)fe[ke+Le]=ae[be]+ae[Le];return fe}();function Se(ae){return typeof BigInt>"u"?Ce:ae}function Ce(){throw new Error("BigInt not supported")}},35791:function(T){T.exports=g,T.exports.isMobile=g,T.exports.default=g;var p=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,t=/CrOS/,d=/android|ipad|playbook|silk/i;function g(i){i||(i={});var M=i.ua;if(M||typeof navigator>"u"||(M=navigator.userAgent),M&&M.headers&&typeof M.headers["user-agent"]=="string"&&(M=M.headers["user-agent"]),typeof M!="string")return!1;var v=p.test(M)&&!t.test(M)||!!i.tablet&&d.test(M);return!v&&i.tablet&&i.featureDetect&&navigator&&navigator.maxTouchPoints>1&&M.indexOf("Macintosh")!==-1&&M.indexOf("Safari")!==-1&&(v=!0),v}},86781:function(T,p,t){t.r(p),t.d(p,{sankeyCenter:function(){return o},sankeyCircular:function(){return O},sankeyJustify:function(){return u},sankeyLeft:function(){return l},sankeyRight:function(){return a}});var d=t(33064),g=t(15140),i=t(45879),M=t(2502),v=t.n(M);function f(pe){return pe.target.depth}function l(pe){return pe.depth}function a(pe,xe){return xe-1-pe.height}function u(pe,xe){return pe.sourceLinks.length?pe.depth:xe-1}function o(pe){return pe.targetLinks.length?pe.depth:pe.sourceLinks.length?(0,d.VV)(pe.sourceLinks,f)-1:0}function s(pe){return function(){return pe}}var c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(pe){return typeof pe}:function(pe){return pe&&typeof Symbol=="function"&&pe.constructor===Symbol&&pe!==Symbol.prototype?"symbol":typeof pe};function h(pe,xe){return w(pe.source,xe.source)||pe.index-xe.index}function m(pe,xe){return w(pe.target,xe.target)||pe.index-xe.index}function w(pe,xe){return pe.partOfCycle===xe.partOfCycle?pe.y0-xe.y0:pe.circularLinkType==="top"||xe.circularLinkType==="bottom"?-1:1}function y(pe){return pe.value}function S(pe){return(pe.y0+pe.y1)/2}function _(pe){return S(pe.source)}function k(pe){return S(pe.target)}function E(pe){return pe.index}function x(pe){return pe.nodes}function A(pe){return pe.links}function L(pe,xe){var Pe=pe.get(xe);if(!Pe)throw new Error("missing: "+xe);return Pe}function b(pe,xe){return xe(pe)}var R=25,I=10;function O(){var pe,xe,Pe=0,_e=0,Me=1,Se=1,Ce=24,ae=E,fe=u,be=x,ke=A,Le=32,Be=2,ze=null;function je(){var Ye={nodes:be.apply(null,arguments),links:ke.apply(null,arguments)};ge(Ye),z(Ye,0,ze),we(Ye),Ee(Ye),F(Ye,ae),Ve(Ye,Le,ae),$e(Ye);for(var st=4,ot=0;ot0?Je+R+I:Je,bottom:qe=qe>0?qe+R+I:qe,left:ft=ft>0?ft+R+I:ft,right:nt=nt>0?nt+R+I:nt}}(Ye),Vt=function(Ke,Je){var qe=(0,d.Fp)(Ke.nodes,function(Qe){return Qe.column}),nt=Me-Pe,ft=Se-_e,Re=nt/(nt+Je.right+Je.left),Ne=ft/(ft+Je.top+Je.bottom);return Pe=Pe*Re+Je.left,Me=Je.right==0?Me:Me*Re,_e=_e*Ne+Je.top,Se*=Ne,Ke.nodes.forEach(function(Qe){Qe.x0=Pe+Qe.column*((Me-Pe-Ce)/qe),Qe.x1=Qe.x0+Ce}),Ne}(Ye,qt);Bt*=Vt,Ye.links.forEach(function(Ke){Ke.width=Ke.value*Bt}),ht.forEach(function(Ke){var Je=Ke.length;Ke.forEach(function(qe,nt){qe.depth==ht.length-1&&Je==1||qe.depth==0&&Je==1?(qe.y0=Se/2-qe.value*Bt,qe.y1=qe.y0+qe.value*Bt):qe.partOfCycle?N(qe,Ft)==0?(qe.y0=Se/2+nt,qe.y1=qe.y0+qe.value*Bt):qe.circularLinkType=="top"?(qe.y0=_e+nt,qe.y1=qe.y0+qe.value*Bt):(qe.y0=Se-qe.value*Bt-nt,qe.y1=qe.y0+qe.value*Bt):qt.top==0||qt.bottom==0?(qe.y0=(Se-_e)/Je*nt,qe.y1=qe.y0+qe.value*Bt):(qe.y0=(Se-_e)/2-Je/2+nt,qe.y1=qe.y0+qe.value*Bt)})})})(ot),xt();for(var bt=1,Et=st;Et>0;--Et)kt(bt*=.99,ot),xt();function kt(Ft,Ot){var Bt=ht.length;ht.forEach(function(qt){var Vt=qt.length,Ke=qt[0].depth;qt.forEach(function(Je){var qe;if((Je.sourceLinks.length||Je.targetLinks.length)&&!(Je.partOfCycle&&N(Je,Ot)>0))if(Ke==0&&Vt==1)qe=Je.y1-Je.y0,Je.y0=Se/2-qe/2,Je.y1=Se/2+qe/2;else if(Ke==Bt-1&&Vt==1)qe=Je.y1-Je.y0,Je.y0=Se/2-qe/2,Je.y1=Se/2+qe/2;else{var nt=(0,d.J6)(Je.sourceLinks,k),ft=(0,d.J6)(Je.targetLinks,_),Re=((nt&&ft?(nt+ft)/2:nt||ft)-S(Je))*Ft;Je.y0+=Re,Je.y1+=Re}})})}function xt(){ht.forEach(function(Ft){var Ot,Bt,qt,Vt=_e,Ke=Ft.length;for(Ft.sort(w),qt=0;qt0&&(Ot.y0+=Bt,Ot.y1+=Bt),Vt=Ot.y1+pe;if((Bt=Vt-pe-Se)>0)for(Vt=Ot.y0-=Bt,Ot.y1-=Bt,qt=Ke-2;qt>=0;--qt)(Bt=(Ot=Ft[qt]).y1+pe-Vt)>0&&(Ot.y0-=Bt,Ot.y1-=Bt),Vt=Ot.y0})}}function $e(Ye){Ye.nodes.forEach(function(st){st.sourceLinks.sort(m),st.targetLinks.sort(h)}),Ye.nodes.forEach(function(st){var ot=st.y0,ht=ot,bt=st.y1,Et=bt;st.sourceLinks.forEach(function(kt){kt.circular?(kt.y0=bt-kt.width/2,bt-=kt.width):(kt.y0=ot+kt.width/2,ot+=kt.width)}),st.targetLinks.forEach(function(kt){kt.circular?(kt.y1=Et-kt.width/2,Et-=kt.width):(kt.y1=ht+kt.width/2,ht+=kt.width)})})}return je.nodeId=function(Ye){return arguments.length?(ae=typeof Ye=="function"?Ye:s(Ye),je):ae},je.nodeAlign=function(Ye){return arguments.length?(fe=typeof Ye=="function"?Ye:s(Ye),je):fe},je.nodeWidth=function(Ye){return arguments.length?(Ce=+Ye,je):Ce},je.nodePadding=function(Ye){return arguments.length?(pe=+Ye,je):pe},je.nodes=function(Ye){return arguments.length?(be=typeof Ye=="function"?Ye:s(Ye),je):be},je.links=function(Ye){return arguments.length?(ke=typeof Ye=="function"?Ye:s(Ye),je):ke},je.size=function(Ye){return arguments.length?(Pe=_e=0,Me=+Ye[0],Se=+Ye[1],je):[Me-Pe,Se-_e]},je.extent=function(Ye){return arguments.length?(Pe=+Ye[0][0],Me=+Ye[1][0],_e=+Ye[0][1],Se=+Ye[1][1],je):[[Pe,_e],[Me,Se]]},je.iterations=function(Ye){return arguments.length?(Le=+Ye,je):Le},je.circularLinkGap=function(Ye){return arguments.length?(Be=+Ye,je):Be},je.nodePaddingRatio=function(Ye){return arguments.length?(xe=+Ye,je):xe},je.sortNodes=function(Ye){return arguments.length?(ze=Ye,je):ze},je.update=function(Ye){return F(Ye,ae),$e(Ye),Ye.links.forEach(function(st){st.circular&&(st.circularLinkType=st.y0+st.y11||Me>1)}function j(pe,xe,Pe){return pe.sort(U),pe.forEach(function(_e,Me){var Se,Ce,ae=0;if(de(_e,Pe)&&W(_e))_e.circularPathData.verticalBuffer=ae+_e.width/2;else{for(var fe=0;feCe.source.column)){var be=pe[fe].circularPathData.verticalBuffer+pe[fe].width/2+xe;ae=be>ae?be:ae}_e.circularPathData.verticalBuffer=ae+_e.width/2}}),pe}function $(pe,xe,Pe,_e){var Me=(0,d.VV)(pe.links,function(Se){return Se.source.y0});pe.links.forEach(function(Se){Se.circular&&(Se.circularPathData={})}),j(pe.links.filter(function(Se){return Se.circularLinkType=="top"}),xe,_e),j(pe.links.filter(function(Se){return Se.circularLinkType=="bottom"}),xe,_e),pe.links.forEach(function(Se){if(Se.circular){if(Se.circularPathData.arcRadius=Se.width+I,Se.circularPathData.leftNodeBuffer=5,Se.circularPathData.rightNodeBuffer=5,Se.circularPathData.sourceWidth=Se.source.x1-Se.source.x0,Se.circularPathData.sourceX=Se.source.x0+Se.circularPathData.sourceWidth,Se.circularPathData.targetX=Se.target.x0,Se.circularPathData.sourceY=Se.y0,Se.circularPathData.targetY=Se.y1,de(Se,_e)&&W(Se))Se.circularPathData.leftSmallArcRadius=I+Se.width/2,Se.circularPathData.leftLargeArcRadius=I+Se.width/2,Se.circularPathData.rightSmallArcRadius=I+Se.width/2,Se.circularPathData.rightLargeArcRadius=I+Se.width/2,Se.circularLinkType=="bottom"?(Se.circularPathData.verticalFullExtent=Se.source.y1+R+Se.circularPathData.verticalBuffer,Se.circularPathData.verticalLeftInnerExtent=Se.circularPathData.verticalFullExtent-Se.circularPathData.leftLargeArcRadius,Se.circularPathData.verticalRightInnerExtent=Se.circularPathData.verticalFullExtent-Se.circularPathData.rightLargeArcRadius):(Se.circularPathData.verticalFullExtent=Se.source.y0-R-Se.circularPathData.verticalBuffer,Se.circularPathData.verticalLeftInnerExtent=Se.circularPathData.verticalFullExtent+Se.circularPathData.leftLargeArcRadius,Se.circularPathData.verticalRightInnerExtent=Se.circularPathData.verticalFullExtent+Se.circularPathData.rightLargeArcRadius);else{var Ce=Se.source.column,ae=Se.circularLinkType,fe=pe.links.filter(function(Le){return Le.source.column==Ce&&Le.circularLinkType==ae});Se.circularLinkType=="bottom"?fe.sort(q):fe.sort(G);var be=0;fe.forEach(function(Le,Be){Le.circularLinkID==Se.circularLinkID&&(Se.circularPathData.leftSmallArcRadius=I+Se.width/2+be,Se.circularPathData.leftLargeArcRadius=I+Se.width/2+Be*xe+be),be+=Le.width}),Ce=Se.target.column,fe=pe.links.filter(function(Le){return Le.target.column==Ce&&Le.circularLinkType==ae}),Se.circularLinkType=="bottom"?fe.sort(ne):fe.sort(H),be=0,fe.forEach(function(Le,Be){Le.circularLinkID==Se.circularLinkID&&(Se.circularPathData.rightSmallArcRadius=I+Se.width/2+be,Se.circularPathData.rightLargeArcRadius=I+Se.width/2+Be*xe+be),be+=Le.width}),Se.circularLinkType=="bottom"?(Se.circularPathData.verticalFullExtent=Math.max(Pe,Se.source.y1,Se.target.y1)+R+Se.circularPathData.verticalBuffer,Se.circularPathData.verticalLeftInnerExtent=Se.circularPathData.verticalFullExtent-Se.circularPathData.leftLargeArcRadius,Se.circularPathData.verticalRightInnerExtent=Se.circularPathData.verticalFullExtent-Se.circularPathData.rightLargeArcRadius):(Se.circularPathData.verticalFullExtent=Me-R-Se.circularPathData.verticalBuffer,Se.circularPathData.verticalLeftInnerExtent=Se.circularPathData.verticalFullExtent+Se.circularPathData.leftLargeArcRadius,Se.circularPathData.verticalRightInnerExtent=Se.circularPathData.verticalFullExtent+Se.circularPathData.rightLargeArcRadius)}Se.circularPathData.leftInnerExtent=Se.circularPathData.sourceX+Se.circularPathData.leftNodeBuffer,Se.circularPathData.rightInnerExtent=Se.circularPathData.targetX-Se.circularPathData.rightNodeBuffer,Se.circularPathData.leftFullExtent=Se.circularPathData.sourceX+Se.circularPathData.leftLargeArcRadius+Se.circularPathData.leftNodeBuffer,Se.circularPathData.rightFullExtent=Se.circularPathData.targetX-Se.circularPathData.rightLargeArcRadius-Se.circularPathData.rightNodeBuffer}if(Se.circular)Se.path=function(Le){return Le.circularLinkType=="top"?"M"+Le.circularPathData.sourceX+" "+Le.circularPathData.sourceY+" L"+Le.circularPathData.leftInnerExtent+" "+Le.circularPathData.sourceY+" A"+Le.circularPathData.leftLargeArcRadius+" "+Le.circularPathData.leftSmallArcRadius+" 0 0 0 "+Le.circularPathData.leftFullExtent+" "+(Le.circularPathData.sourceY-Le.circularPathData.leftSmallArcRadius)+" L"+Le.circularPathData.leftFullExtent+" "+Le.circularPathData.verticalLeftInnerExtent+" A"+Le.circularPathData.leftLargeArcRadius+" "+Le.circularPathData.leftLargeArcRadius+" 0 0 0 "+Le.circularPathData.leftInnerExtent+" "+Le.circularPathData.verticalFullExtent+" L"+Le.circularPathData.rightInnerExtent+" "+Le.circularPathData.verticalFullExtent+" A"+Le.circularPathData.rightLargeArcRadius+" "+Le.circularPathData.rightLargeArcRadius+" 0 0 0 "+Le.circularPathData.rightFullExtent+" "+Le.circularPathData.verticalRightInnerExtent+" L"+Le.circularPathData.rightFullExtent+" "+(Le.circularPathData.targetY-Le.circularPathData.rightSmallArcRadius)+" A"+Le.circularPathData.rightLargeArcRadius+" "+Le.circularPathData.rightSmallArcRadius+" 0 0 0 "+Le.circularPathData.rightInnerExtent+" "+Le.circularPathData.targetY+" L"+Le.circularPathData.targetX+" "+Le.circularPathData.targetY:"M"+Le.circularPathData.sourceX+" "+Le.circularPathData.sourceY+" L"+Le.circularPathData.leftInnerExtent+" "+Le.circularPathData.sourceY+" A"+Le.circularPathData.leftLargeArcRadius+" "+Le.circularPathData.leftSmallArcRadius+" 0 0 1 "+Le.circularPathData.leftFullExtent+" "+(Le.circularPathData.sourceY+Le.circularPathData.leftSmallArcRadius)+" L"+Le.circularPathData.leftFullExtent+" "+Le.circularPathData.verticalLeftInnerExtent+" A"+Le.circularPathData.leftLargeArcRadius+" "+Le.circularPathData.leftLargeArcRadius+" 0 0 1 "+Le.circularPathData.leftInnerExtent+" "+Le.circularPathData.verticalFullExtent+" L"+Le.circularPathData.rightInnerExtent+" "+Le.circularPathData.verticalFullExtent+" A"+Le.circularPathData.rightLargeArcRadius+" "+Le.circularPathData.rightLargeArcRadius+" 0 0 1 "+Le.circularPathData.rightFullExtent+" "+Le.circularPathData.verticalRightInnerExtent+" L"+Le.circularPathData.rightFullExtent+" "+(Le.circularPathData.targetY+Le.circularPathData.rightSmallArcRadius)+" A"+Le.circularPathData.rightLargeArcRadius+" "+Le.circularPathData.rightSmallArcRadius+" 0 0 1 "+Le.circularPathData.rightInnerExtent+" "+Le.circularPathData.targetY+" L"+Le.circularPathData.targetX+" "+Le.circularPathData.targetY}(Se);else{var ke=(0,i.h5)().source(function(Le){return[Le.source.x0+(Le.source.x1-Le.source.x0),Le.y0]}).target(function(Le){return[Le.target.x0,Le.y1]});Se.path=ke(Se)}})}function U(pe,xe){return te(pe)==te(xe)?pe.circularLinkType=="bottom"?q(pe,xe):G(pe,xe):te(xe)-te(pe)}function G(pe,xe){return pe.y0-xe.y0}function q(pe,xe){return xe.y0-pe.y0}function H(pe,xe){return pe.y1-xe.y1}function ne(pe,xe){return xe.y1-pe.y1}function te(pe){return pe.target.column-pe.source.column}function Z(pe){return pe.target.x0-pe.source.x1}function X(pe,xe){var Pe=B(pe),_e=Z(xe)/Math.tan(Pe);return ye(pe)=="up"?pe.y1+_e:pe.y1-_e}function Q(pe,xe){var Pe=B(pe),_e=Z(xe)/Math.tan(Pe);return ye(pe)=="up"?pe.y1-_e:pe.y1+_e}function re(pe,xe,Pe,_e){pe.links.forEach(function(Me){if(!Me.circular&&Me.target.column-Me.source.column>1){var Se=Me.source.column+1,Ce=Me.target.column-1,ae=1,fe=Ce-Se+1;for(ae=1;Se<=Ce;Se++,ae++)pe.nodes.forEach(function(be){if(be.column==Se){var ke,Le=ae/(fe+1),Be=Math.pow(1-Le,3),ze=3*Le*Math.pow(1-Le,2),je=3*Math.pow(Le,2)*(1-Le),ge=Math.pow(Le,3),we=Be*Me.y0+ze*Me.y0+je*Me.y1+ge*Me.y1,Ee=we-Me.width/2,Ve=we+Me.width/2;Ee>be.y0&&Eest.y0&&Ye.y0st.y0&&Ye.y1st.y1)&&ie($e,ke,xe,Pe)})):(Ve>be.y0&&Vebe.y1)&&(ke=Ve-be.y0+10,be=ie(be,ke,xe,Pe),pe.nodes.forEach(function($e){b($e,_e)!=b(be,_e)&&$e.column==be.column&&$e.y0be.y1&&ie($e,ke,xe,Pe)}))}})}})}function ie(pe,xe,Pe,_e){return pe.y0+xe>=Pe&&pe.y1+xe<=_e&&(pe.y0=pe.y0+xe,pe.y1=pe.y1+xe,pe.targetLinks.forEach(function(Me){Me.y1=Me.y1+xe}),pe.sourceLinks.forEach(function(Me){Me.y0=Me.y0+xe})),pe}function oe(pe,xe,Pe,_e){pe.nodes.forEach(function(Me){_e&&Me.y+(Me.y1-Me.y0)>xe&&(Me.y=Me.y-(Me.y+(Me.y1-Me.y0)-xe));var Se=pe.links.filter(function(fe){return b(fe.source,Pe)==b(Me,Pe)}),Ce=Se.length;Ce>1&&Se.sort(function(fe,be){if(!fe.circular&&!be.circular){if(fe.target.column==be.target.column||!ce(fe,be))return fe.y1-be.y1;if(fe.target.column>be.target.column){var ke=Q(be,fe);return fe.y1-ke}if(be.target.column>fe.target.column)return Q(fe,be)-be.y1}return fe.circular&&!be.circular?fe.circularLinkType=="top"?-1:1:be.circular&&!fe.circular?be.circularLinkType=="top"?1:-1:fe.circular&&be.circular?fe.circularLinkType===be.circularLinkType&&fe.circularLinkType=="top"?fe.target.column===be.target.column?fe.target.y1-be.target.y1:be.target.column-fe.target.column:fe.circularLinkType===be.circularLinkType&&fe.circularLinkType=="bottom"?fe.target.column===be.target.column?be.target.y1-fe.target.y1:fe.target.column-be.target.column:fe.circularLinkType=="top"?-1:1:void 0});var ae=Me.y0;Se.forEach(function(fe){fe.y0=ae+fe.width/2,ae+=fe.width}),Se.forEach(function(fe,be){if(fe.circularLinkType=="bottom"){for(var ke=be+1,Le=0;ke1&&Me.sort(function(ae,fe){if(!ae.circular&&!fe.circular){if(ae.source.column==fe.source.column||!ce(ae,fe))return ae.y0-fe.y0;if(fe.source.column0?"up":"down"}function de(pe,xe){return b(pe.source,xe)==b(pe.target,xe)}function me(pe,xe,Pe){var _e=pe.nodes,Me=pe.links,Se=!1,Ce=!1;if(Me.forEach(function(be){be.circularLinkType=="top"?Se=!0:be.circularLinkType=="bottom"&&(Ce=!0)}),Se==0||Ce==0){var ae=(0,d.VV)(_e,function(be){return be.y0}),fe=(Pe-xe)/((0,d.Fp)(_e,function(be){return be.y1})-ae);_e.forEach(function(be){var ke=(be.y1-be.y0)*fe;be.y0=(be.y0-ae)*fe,be.y1=be.y0+ke}),Me.forEach(function(be){be.y0=(be.y0-ae)*fe,be.y1=(be.y1-ae)*fe,be.width=be.width*fe})}}},30838:function(T,p,t){t.r(p),t.d(p,{sankey:function(){return E},sankeyCenter:function(){return l},sankeyJustify:function(){return f},sankeyLeft:function(){return M},sankeyLinkHorizontal:function(){return b},sankeyRight:function(){return v}});var d=t(33064),g=t(15140);function i(R){return R.target.depth}function M(R){return R.depth}function v(R,I){return I-1-R.height}function f(R,I){return R.sourceLinks.length?R.depth:I-1}function l(R){return R.targetLinks.length?R.depth:R.sourceLinks.length?(0,d.VV)(R.sourceLinks,i)-1:0}function a(R){return function(){return R}}function u(R,I){return s(R.source,I.source)||R.index-I.index}function o(R,I){return s(R.target,I.target)||R.index-I.index}function s(R,I){return R.y0-I.y0}function c(R){return R.value}function h(R){return(R.y0+R.y1)/2}function m(R){return h(R.source)*R.value}function w(R){return h(R.target)*R.value}function y(R){return R.index}function S(R){return R.nodes}function _(R){return R.links}function k(R,I){var O=R.get(I);if(!O)throw new Error("missing: "+I);return O}function E(){var R=0,I=0,O=1,z=1,F=24,B=8,N=y,W=f,j=S,$=_,U=32;function G(){var X={nodes:j.apply(null,arguments),links:$.apply(null,arguments)};return q(X),H(X),ne(X),te(X),Z(X),X}function q(X){X.nodes.forEach(function(re,ie){re.index=ie,re.sourceLinks=[],re.targetLinks=[]});var Q=(0,g.UI)(X.nodes,N);X.links.forEach(function(re,ie){re.index=ie;var oe=re.source,ue=re.target;typeof oe!="object"&&(oe=re.source=k(Q,oe)),typeof ue!="object"&&(ue=re.target=k(Q,ue)),oe.sourceLinks.push(re),ue.targetLinks.push(re)})}function H(X){X.nodes.forEach(function(Q){Q.value=Math.max((0,d.Sm)(Q.sourceLinks,c),(0,d.Sm)(Q.targetLinks,c))})}function ne(X){var Q,re,ie;for(Q=X.nodes,re=[],ie=0;Q.length;++ie,Q=re,re=[])Q.forEach(function(ue){ue.depth=ie,ue.sourceLinks.forEach(function(ce){re.indexOf(ce.target)<0&&re.push(ce.target)})});for(Q=X.nodes,re=[],ie=0;Q.length;++ie,Q=re,re=[])Q.forEach(function(ue){ue.height=ie,ue.targetLinks.forEach(function(ce){re.indexOf(ce.source)<0&&re.push(ce.source)})});var oe=(O-R-F)/(ie-1);X.nodes.forEach(function(ue){ue.x1=(ue.x0=R+Math.max(0,Math.min(ie-1,Math.floor(W.call(null,ue,ie))))*oe)+F})}function te(X){var Q=(0,g.b1)().key(function(ye){return ye.x0}).sortKeys(d.j2).entries(X.nodes).map(function(ye){return ye.values});(function(){var ye=(0,d.Fp)(Q,function(pe){return pe.length}),de=.6666666666666666*(z-I)/(ye-1);B>de&&(B=de);var me=(0,d.VV)(Q,function(pe){return(z-I-(pe.length-1)*B)/(0,d.Sm)(pe,c)});Q.forEach(function(pe){pe.forEach(function(xe,Pe){xe.y1=(xe.y0=Pe)+xe.value*me})}),X.links.forEach(function(pe){pe.width=pe.value*me})})(),ce();for(var re=1,ie=U;ie>0;--ie)ue(re*=.99),ce(),oe(re),ce();function oe(ye){Q.forEach(function(de){de.forEach(function(me){if(me.targetLinks.length){var pe=((0,d.Sm)(me.targetLinks,m)/(0,d.Sm)(me.targetLinks,c)-h(me))*ye;me.y0+=pe,me.y1+=pe}})})}function ue(ye){Q.slice().reverse().forEach(function(de){de.forEach(function(me){if(me.sourceLinks.length){var pe=((0,d.Sm)(me.sourceLinks,w)/(0,d.Sm)(me.sourceLinks,c)-h(me))*ye;me.y0+=pe,me.y1+=pe}})})}function ce(){Q.forEach(function(ye){var de,me,pe,xe=I,Pe=ye.length;for(ye.sort(s),pe=0;pe0&&(de.y0+=me,de.y1+=me),xe=de.y1+B;if((me=xe-B-z)>0)for(xe=de.y0-=me,de.y1-=me,pe=Pe-2;pe>=0;--pe)(me=(de=ye[pe]).y1+B-xe)>0&&(de.y0-=me,de.y1-=me),xe=de.y0})}}function Z(X){X.nodes.forEach(function(Q){Q.sourceLinks.sort(o),Q.targetLinks.sort(u)}),X.nodes.forEach(function(Q){var re=Q.y0,ie=re;Q.sourceLinks.forEach(function(oe){oe.y0=re+oe.width/2,re+=oe.width}),Q.targetLinks.forEach(function(oe){oe.y1=ie+oe.width/2,ie+=oe.width})})}return G.update=function(X){return Z(X),X},G.nodeId=function(X){return arguments.length?(N=typeof X=="function"?X:a(X),G):N},G.nodeAlign=function(X){return arguments.length?(W=typeof X=="function"?X:a(X),G):W},G.nodeWidth=function(X){return arguments.length?(F=+X,G):F},G.nodePadding=function(X){return arguments.length?(B=+X,G):B},G.nodes=function(X){return arguments.length?(j=typeof X=="function"?X:a(X),G):j},G.links=function(X){return arguments.length?($=typeof X=="function"?X:a(X),G):$},G.size=function(X){return arguments.length?(R=I=0,O=+X[0],z=+X[1],G):[O-R,z-I]},G.extent=function(X){return arguments.length?(R=+X[0][0],O=+X[1][0],I=+X[0][1],z=+X[1][1],G):[[R,I],[O,z]]},G.iterations=function(X){return arguments.length?(U=+X,G):U},G}var x=t(45879);function A(R){return[R.source.x1,R.y0]}function L(R){return[R.target.x0,R.y1]}function b(){return(0,x.h5)().source(A).target(L)}},39898:function(T,p,t){var d,g;(function(){var i={version:"3.8.0"},M=[].slice,v=function(se){return M.call(se)},f=self.document;function l(se){return se&&(se.ownerDocument||se.document||se).documentElement}function a(se){return se&&(se.ownerDocument&&se.ownerDocument.defaultView||se.document&&se||se.defaultView)}if(f)try{v(f.documentElement.childNodes)[0].nodeType}catch{v=function(ve){for(var Ie=ve.length,Fe=new Array(Ie);Ie--;)Fe[Ie]=ve[Ie];return Fe}}if(Date.now||(Date.now=function(){return+new Date}),f)try{f.createElement("DIV").style.setProperty("opacity",0,"")}catch{var u=this.Element.prototype,o=u.setAttribute,s=u.setAttributeNS,c=this.CSSStyleDeclaration.prototype,h=c.setProperty;u.setAttribute=function(ve,Ie){o.call(this,ve,Ie+"")},u.setAttributeNS=function(ve,Ie,Fe){s.call(this,ve,Ie,Fe+"")},c.setProperty=function(ve,Ie,Fe){h.call(this,ve,Ie+"",Fe)}}function m(se,ve){return seve?1:se>=ve?0:NaN}function w(se){return se===null?NaN:+se}function y(se){return!isNaN(se)}function S(se){return{left:function(ve,Ie,Fe,Ue){for(arguments.length<3&&(Fe=0),arguments.length<4&&(Ue=ve.length);Fe>>1;se(ve[We],Ie)<0?Fe=We+1:Ue=We}return Fe},right:function(ve,Ie,Fe,Ue){for(arguments.length<3&&(Fe=0),arguments.length<4&&(Ue=ve.length);Fe>>1;se(ve[We],Ie)>0?Ue=We:Fe=We+1}return Fe}}}i.ascending=m,i.descending=function(se,ve){return vese?1:ve>=se?0:NaN},i.min=function(se,ve){var Ie,Fe,Ue=-1,We=se.length;if(arguments.length===1){for(;++Ue=Fe){Ie=Fe;break}for(;++UeFe&&(Ie=Fe)}else{for(;++Ue=Fe){Ie=Fe;break}for(;++UeFe&&(Ie=Fe)}return Ie},i.max=function(se,ve){var Ie,Fe,Ue=-1,We=se.length;if(arguments.length===1){for(;++Ue=Fe){Ie=Fe;break}for(;++UeIe&&(Ie=Fe)}else{for(;++Ue=Fe){Ie=Fe;break}for(;++UeIe&&(Ie=Fe)}return Ie},i.extent=function(se,ve){var Ie,Fe,Ue,We=-1,Xe=se.length;if(arguments.length===1){for(;++We=Fe){Ie=Ue=Fe;break}for(;++WeFe&&(Ie=Fe),Ue=Fe){Ie=Ue=Fe;break}for(;++WeFe&&(Ie=Fe),Ue1)return Xe/(lt-1)},i.deviation=function(){var se=i.variance.apply(this,arguments);return se&&Math.sqrt(se)};var _=S(m);function k(se){return se.length}i.bisectLeft=_.left,i.bisect=i.bisectRight=_.right,i.bisector=function(se){return S(se.length===1?function(ve,Ie){return m(se(ve),Ie)}:se)},i.shuffle=function(se,ve,Ie){(We=arguments.length)<3&&(Ie=se.length,We<2&&(ve=0));for(var Fe,Ue,We=Ie-ve;We;)Ue=Math.random()*We--|0,Fe=se[We+ve],se[We+ve]=se[Ue+ve],se[Ue+ve]=Fe;return se},i.permute=function(se,ve){for(var Ie=ve.length,Fe=new Array(Ie);Ie--;)Fe[Ie]=se[ve[Ie]];return Fe},i.pairs=function(se){for(var ve=0,Ie=se.length-1,Fe=se[0],Ue=new Array(Ie<0?0:Ie);ve=0;)for(ve=(Fe=se[Ue]).length;--ve>=0;)Ie[--Xe]=Fe[ve];return Ie};var E=Math.abs;function x(se){for(var ve=1;se*ve%1;)ve*=10;return ve}function A(se,ve){for(var Ie in ve)Object.defineProperty(se.prototype,Ie,{value:ve[Ie],enumerable:!1})}function L(){this._=Object.create(null)}function b(se){return(se+="")=="__proto__"||se[0]==="\0"?"\0"+se:se}function R(se){return(se+="")[0]==="\0"?se.slice(1):se}function I(se){return b(se)in this._}function O(se){return(se=b(se))in this._&&delete this._[se]}function z(){var se=[];for(var ve in this._)se.push(R(ve));return se}function F(){var se=0;for(var ve in this._)++se;return se}function B(){for(var se in this._)return!1;return!0}function N(){this._=Object.create(null)}function W(se){return se}function j(se,ve,Ie){return function(){var Fe=Ie.apply(ve,arguments);return Fe===ve?se:Fe}}function $(se,ve){if(ve in se)return ve;ve=ve.charAt(0).toUpperCase()+ve.slice(1);for(var Ie=0,Fe=U.length;Ieve;)Ue.push(Fe/We);else for(;(Fe=se+Ie*++Xe)=Fe.length)return ve?ve.call(Ie,lt):se?lt.sort(se):lt;for(var zt,Ut,Ht,en,vn=-1,tn=lt.length,ln=Fe[mt++],an=new L;++vn=Fe.length)return tt;var mt=[],zt=Ue[lt++];return tt.forEach(function(Ut,Ht){mt.push({key:Ut,values:Xe(Ht,lt)})}),zt?mt.sort(function(Ut,Ht){return zt(Ut.key,Ht.key)}):mt}return Ie.map=function(tt,lt){return We(lt,tt,0)},Ie.entries=function(tt){return Xe(We(i.map,tt,0),0)},Ie.key=function(tt){return Fe.push(tt),Ie},Ie.sortKeys=function(tt){return Ue[Fe.length-1]=tt,Ie},Ie.sortValues=function(tt){return se=tt,Ie},Ie.rollup=function(tt){return ve=tt,Ie},Ie},i.set=function(se){var ve=new N;if(se)for(var Ie=0,Fe=se.length;Ie=0&&(Fe=se.slice(Ie+1),se=se.slice(0,Ie)),se)return arguments.length<2?this[se].on(Fe):this[se].on(Fe,ve);if(arguments.length===2){if(ve==null)for(se in this)this.hasOwnProperty(se)&&this[se].on(Fe,null);return this}},i.event=null,i.requote=function(se){return se.replace(X,"\\$&")};var X=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,Q={}.__proto__?function(se,ve){se.__proto__=ve}:function(se,ve){for(var Ie in ve)se[Ie]=ve[Ie]};function re(se){return Q(se,ce),se}var ie=function(se,ve){return ve.querySelector(se)},oe=function(se,ve){return ve.querySelectorAll(se)},ue=function(se,ve){var Ie=se.matches||se[$(se,"matchesSelector")];return ue=function(Fe,Ue){return Ie.call(Fe,Ue)},ue(se,ve)};typeof Sizzle=="function"&&(ie=function(se,ve){return Sizzle(se,ve)[0]||null},oe=Sizzle,ue=Sizzle.matchesSelector),i.selection=function(){return i.select(f.documentElement)};var ce=i.selection.prototype=[];function ye(se){return typeof se=="function"?se:function(){return ie(se,this)}}function de(se){return typeof se=="function"?se:function(){return oe(se,this)}}ce.select=function(se){var ve,Ie,Fe,Ue,We=[];se=ye(se);for(var Xe=-1,tt=this.length;++Xe=0&&(Ie=se.slice(0,ve))!=="xmlns"&&(se=se.slice(ve+1)),pe.hasOwnProperty(Ie)?{space:pe[Ie],local:se}:se}},ce.attr=function(se,ve){if(arguments.length<2){if(typeof se=="string"){var Ie=this.node();return(se=i.ns.qualify(se)).local?Ie.getAttributeNS(se.space,se.local):Ie.getAttribute(se)}for(ve in se)this.each(xe(ve,se[ve]));return this}return this.each(xe(se,ve))},ce.classed=function(se,ve){if(arguments.length<2){if(typeof se=="string"){var Ie=this.node(),Fe=(se=Me(se)).length,Ue=-1;if(ve=Ie.classList){for(;++Ue=0;)(Ie=Fe[Ue])&&(We&&We!==Ie.nextSibling&&We.parentNode.insertBefore(Ie,We),We=Ie);return this},ce.sort=function(se){se=ze.apply(this,arguments);for(var ve=-1,Ie=this.length;++ve=ve&&(ve=Ue+1);!(Xe=tt[ve])&&++ve0&&(se=se.slice(0,Ue));var Xe=$e.get(se);function tt(){var lt=this[Fe];lt&&(this.removeEventListener(se,lt,lt.$),delete this[Fe])}return Xe&&(se=Xe,We=st),Ue?ve?function(){var lt=We(ve,v(arguments));tt.call(this),this.addEventListener(se,this[Fe]=lt,lt.$=Ie),lt._=ve}:tt:ve?G:function(){var lt,mt=new RegExp("^__on([^.]+)"+i.requote(se)+"$");for(var zt in this)if(lt=zt.match(mt)){var Ut=this[zt];this.removeEventListener(lt[1],Ut,Ut.$),delete this[zt]}}}i.selection.enter=ge,i.selection.enter.prototype=we,we.append=ce.append,we.empty=ce.empty,we.node=ce.node,we.call=ce.call,we.size=ce.size,we.select=function(se){for(var ve,Ie,Fe,Ue,We,Xe=[],tt=-1,lt=this.length;++tt1?Vt:se<-1?-Vt:Math.asin(se)}function nt(se){return((se=Math.exp(se))+1/se)/2}var ft=Math.SQRT2;i.interpolateZoom=function(se,ve){var Ie,Fe,Ue=se[0],We=se[1],Xe=se[2],tt=ve[0],lt=ve[1],mt=ve[2],zt=tt-Ue,Ut=lt-We,Ht=zt*zt+Ut*Ut;if(Ht<1e-12)Fe=Math.log(mt/Xe)/ft,Ie=function(Cn){return[Ue+Cn*zt,We+Cn*Ut,Xe*Math.exp(ft*Cn*Fe)]};else{var en=Math.sqrt(Ht),vn=(mt*mt-Xe*Xe+4*Ht)/(2*Xe*2*en),tn=(mt*mt-Xe*Xe-4*Ht)/(2*mt*2*en),ln=Math.log(Math.sqrt(vn*vn+1)-vn),an=Math.log(Math.sqrt(tn*tn+1)-tn);Fe=(an-ln)/ft,Ie=function(Cn){var _n,on=Cn*Fe,Fn=nt(ln),Hn=Xe/(2*en)*(Fn*(_n=ft*on+ln,((_n=Math.exp(2*_n))-1)/(_n+1))-function(ir){return((ir=Math.exp(ir))-1/ir)/2}(ln));return[Ue+Hn*zt,We+Hn*Ut,Xe*Fn/nt(ft*on+ln)]}}return Ie.duration=1e3*Fe,Ie},i.behavior.zoom=function(){var se,ve,Ie,Fe,Ue,We,Xe,tt,lt,mt={x:0,y:0,k:1},zt=[960,500],Ut=Qe,Ht=250,en=0,vn="mousedown.zoom",tn="mousemove.zoom",ln="mouseup.zoom",an="touchstart.zoom",Cn=Z(_n,"zoomstart","zoom","zoomend");function _n(wr){wr.on(vn,kr).on(Ne+".zoom",fi).on("dblclick.zoom",di).on(an,jr)}function on(wr){return[(wr[0]-mt.x)/mt.k,(wr[1]-mt.y)/mt.k]}function Fn(wr){mt.k=Math.max(Ut[0],Math.min(Ut[1],wr))}function Hn(wr,Ur){Ur=function(oi){return[oi[0]*mt.k+mt.x,oi[1]*mt.k+mt.y]}(Ur),mt.x+=wr[0]-Ur[0],mt.y+=wr[1]-Ur[1]}function ir(wr,Ur,oi,ai){wr.__chart__={x:mt.x,y:mt.y,k:mt.k},Fn(Math.pow(2,ai)),Hn(ve=Ur,oi),wr=i.select(wr),Ht>0&&(wr=wr.transition().duration(Ht)),wr.call(_n.event)}function ar(){Xe&&Xe.domain(We.range().map(function(wr){return(wr-mt.x)/mt.k}).map(We.invert)),lt&<.domain(tt.range().map(function(wr){return(wr-mt.y)/mt.k}).map(tt.invert))}function Mr(wr){en++||wr({type:"zoomstart"})}function Er(wr){ar(),wr({type:"zoom",scale:mt.k,translate:[mt.x,mt.y]})}function xr(wr){--en||(wr({type:"zoomend"}),ve=null)}function kr(){var wr=this,Ur=Cn.of(wr,arguments),oi=0,ai=i.select(a(wr)).on(tn,Ni).on(ln,ta),Ii=on(i.mouse(wr)),vi=bt(wr);function Ni(){oi=1,Hn(i.mouse(wr),Ii),Er(Ur)}function ta(){ai.on(tn,null).on(ln,null),vi(oi),xr(Ur)}la.call(wr),Mr(Ur)}function jr(){var wr,Ur=this,oi=Cn.of(Ur,arguments),ai={},Ii=0,vi=".zoom-"+i.event.changedTouches[0].identifier,Ni="touchmove"+vi,ta="touchend"+vi,pa=[],ua=i.select(Ur),Qi=bt(Ur);function na(){var Za=i.touches(Ur);return wr=mt.k,Za.forEach(function(li){li.identifier in ai&&(ai[li.identifier]=on(li))}),Za}function ca(){var Za=i.event.target;i.select(Za).on(Ni,Ia).on(ta,Dl),pa.push(Za);for(var li=i.event.changedTouches,ho=0,_o=li.length;ho<_o;++ho)ai[li[ho].identifier]=null;var Aa=na(),Ps=Date.now();if(Aa.length===1){if(Ps-Ue<500){var Ri=Aa[0];ir(Ur,Ri,ai[Ri.identifier],Math.floor(Math.log(mt.k)/Math.LN2)+1),ne()}Ue=Ps}else if(Aa.length>1){Ri=Aa[0];var Xa=Aa[1],jo=Ri[0]-Xa[0],Kc=Ri[1]-Xa[1];Ii=jo*jo+Kc*Kc}}function Ia(){var Za,li,ho,_o,Aa=i.touches(Ur);la.call(Ur);for(var Ps=0,Ri=Aa.length;Ps360?tt-=360:tt<0&&(tt+=360),tt<60?Fe+(Ue-Fe)*tt/60:tt<180?Ue:tt<240?Fe+(Ue-Fe)*(240-tt)/60:Fe}(Xe))}return se=isNaN(se)?0:(se%=360)<0?se+360:se,ve=isNaN(ve)||ve<0?0:ve>1?1:ve,Fe=2*(Ie=Ie<0?0:Ie>1?1:Ie)-(Ue=Ie<=.5?Ie*(1+ve):Ie+ve-Ie*ve),new An(We(se+120),We(se),We(se-120))}function Lt(se,ve,Ie){return this instanceof Lt?(this.h=+se,this.c=+ve,void(this.l=+Ie)):arguments.length<2?se instanceof Lt?new Lt(se.h,se.c,se.l):Qt(se instanceof wt?se.l:(se=Dn((se=i.rgb(se)).r,se.g,se.b)).l,se.a,se.b):new Lt(se,ve,Ie)}_t.brighter=function(se){return se=Math.pow(.7,arguments.length?se:1),new dt(this.h,this.s,this.l/se)},_t.darker=function(se){return se=Math.pow(.7,arguments.length?se:1),new dt(this.h,this.s,se*this.l)},_t.rgb=function(){return It(this.h,this.s,this.l)},i.hcl=Lt;var yt=Lt.prototype=new ut;function Pt(se,ve,Ie){return isNaN(se)&&(se=0),isNaN(ve)&&(ve=0),new wt(Ie,Math.cos(se*=Ke)*ve,Math.sin(se)*ve)}function wt(se,ve,Ie){return this instanceof wt?(this.l=+se,this.a=+ve,void(this.b=+Ie)):arguments.length<2?se instanceof wt?new wt(se.l,se.a,se.b):se instanceof Lt?Pt(se.h,se.c,se.l):Dn((se=An(se)).r,se.g,se.b):new wt(se,ve,Ie)}yt.brighter=function(se){return new Lt(this.h,this.c,Math.min(100,this.l+Rt*(arguments.length?se:1)))},yt.darker=function(se){return new Lt(this.h,this.c,Math.max(0,this.l-Rt*(arguments.length?se:1)))},yt.rgb=function(){return Pt(this.h,this.c,this.l).rgb()},i.lab=wt;var Rt=18,Nt=.95047,Yt=1.08883,Wt=wt.prototype=new ut;function Xt(se,ve,Ie){var Fe=(se+16)/116,Ue=Fe+ve/500,We=Fe-Ie/200;return new An(un(3.2404542*(Ue=rn(Ue)*Nt)-1.5371385*(Fe=1*rn(Fe))-.4985314*(We=rn(We)*Yt)),un(-.969266*Ue+1.8760108*Fe+.041556*We),un(.0556434*Ue-.2040259*Fe+1.0572252*We))}function Qt(se,ve,Ie){return se>0?new Lt(Math.atan2(Ie,ve)*Je,Math.sqrt(ve*ve+Ie*Ie),se):new Lt(NaN,NaN,se)}function rn(se){return se>.206893034?se*se*se:(se-.13793103448275862)/7.787037}function xn(se){return se>.008856?Math.pow(se,.3333333333333333):7.787037*se+.13793103448275862}function un(se){return Math.round(255*(se<=.00304?12.92*se:1.055*Math.pow(se,.4166666666666667)-.055))}function An(se,ve,Ie){return this instanceof An?(this.r=~~se,this.g=~~ve,void(this.b=~~Ie)):arguments.length<2?se instanceof An?new An(se.r,se.g,se.b):dn(""+se,An,It):new An(se,ve,Ie)}function Yn(se){return new An(se>>16,se>>8&255,255&se)}function kn(se){return Yn(se)+""}Wt.brighter=function(se){return new wt(Math.min(100,this.l+Rt*(arguments.length?se:1)),this.a,this.b)},Wt.darker=function(se){return new wt(Math.max(0,this.l-Rt*(arguments.length?se:1)),this.a,this.b)},Wt.rgb=function(){return Xt(this.l,this.a,this.b)},i.rgb=An;var sn=An.prototype=new ut;function Tn(se){return se<16?"0"+Math.max(0,se).toString(16):Math.min(255,se).toString(16)}function dn(se,ve,Ie){var Fe,Ue,We,Xe=0,tt=0,lt=0;if(Fe=/([a-z]+)\((.*)\)/.exec(se=se.toLowerCase()))switch(Ue=Fe[2].split(","),Fe[1]){case"hsl":return Ie(parseFloat(Ue[0]),parseFloat(Ue[1])/100,parseFloat(Ue[2])/100);case"rgb":return ve(jn(Ue[0]),jn(Ue[1]),jn(Ue[2]))}return(We=Gn.get(se))?ve(We.r,We.g,We.b):(se==null||se.charAt(0)!=="#"||isNaN(We=parseInt(se.slice(1),16))||(se.length===4?(Xe=(3840&We)>>4,Xe|=Xe>>4,tt=240&We,tt|=tt>>4,lt=15&We,lt|=lt<<4):se.length===7&&(Xe=(16711680&We)>>16,tt=(65280&We)>>8,lt=255&We)),ve(Xe,tt,lt))}function pn(se,ve,Ie){var Fe,Ue,We=Math.min(se/=255,ve/=255,Ie/=255),Xe=Math.max(se,ve,Ie),tt=Xe-We,lt=(Xe+We)/2;return tt?(Ue=lt<.5?tt/(Xe+We):tt/(2-Xe-We),Fe=se==Xe?(ve-Ie)/tt+(ve0&<<1?0:Fe),new dt(Fe,Ue,lt)}function Dn(se,ve,Ie){var Fe=xn((.4124564*(se=In(se))+.3575761*(ve=In(ve))+.1804375*(Ie=In(Ie)))/Nt),Ue=xn((.2126729*se+.7151522*ve+.072175*Ie)/1);return wt(116*Ue-16,500*(Fe-Ue),200*(Ue-xn((.0193339*se+.119192*ve+.9503041*Ie)/Yt)))}function In(se){return(se/=255)<=.04045?se/12.92:Math.pow((se+.055)/1.055,2.4)}function jn(se){var ve=parseFloat(se);return se.charAt(se.length-1)==="%"?Math.round(2.55*ve):ve}sn.brighter=function(se){se=Math.pow(.7,arguments.length?se:1);var ve=this.r,Ie=this.g,Fe=this.b,Ue=30;return ve||Ie||Fe?(ve&&ve=200&&Ut<300||Ut===304){try{zt=Ie.call(Ue,tt)}catch(Ht){return void We.error.call(Ue,Ht)}We.load.call(Ue,zt)}else We.error.call(Ue,tt)}return self.XDomainRequest&&!("withCredentials"in tt)&&/^(http(s)?:)?\/\//.test(se)&&(tt=new XDomainRequest),"onload"in tt?tt.onload=tt.onerror=mt:tt.onreadystatechange=function(){tt.readyState>3&&mt()},tt.onprogress=function(zt){var Ut=i.event;i.event=zt;try{We.progress.call(Ue,tt)}finally{i.event=Ut}},Ue.header=function(zt,Ut){return zt=(zt+"").toLowerCase(),arguments.length<2?Xe[zt]:(Ut==null?delete Xe[zt]:Xe[zt]=Ut+"",Ue)},Ue.mimeType=function(zt){return arguments.length?(ve=zt==null?null:zt+"",Ue):ve},Ue.responseType=function(zt){return arguments.length?(lt=zt,Ue):lt},Ue.response=function(zt){return Ie=zt,Ue},["get","post"].forEach(function(zt){Ue[zt]=function(){return Ue.send.apply(Ue,[zt].concat(v(arguments)))}}),Ue.send=function(zt,Ut,Ht){if(arguments.length===2&&typeof Ut=="function"&&(Ht=Ut,Ut=null),tt.open(zt,se,!0),ve==null||"accept"in Xe||(Xe.accept=ve+",*/*"),tt.setRequestHeader)for(var en in Xe)tt.setRequestHeader(en,Xe[en]);return ve!=null&&tt.overrideMimeType&&tt.overrideMimeType(ve),lt!=null&&(tt.responseType=lt),Ht!=null&&Ue.on("error",Ht).on("load",function(vn){Ht(null,vn)}),We.beforesend.call(Ue,tt),tt.send(Ut??null),Ue},Ue.abort=function(){return tt.abort(),Ue},i.rebind(Ue,We,"on"),Fe==null?Ue:Ue.get(function(zt){return zt.length===1?function(Ut,Ht){zt(Ut==null?Ht:null)}:zt}(Fe))}Gn.forEach(function(se,ve){Gn.set(se,Yn(ve))}),i.functor=qn,i.xhr=lr(W),i.dsv=function(se,ve){var Ie=new RegExp('["'+se+` +`;for(te=0,Z=H*ie,X=N,me="",ne=0;ne<_e.length;++ne){var Me=ne+de",I="",O=R.length,z=I.length,F=A[0]==="+"||A[0]==="-",B=0,N=-z;B>-1&&(B=L.indexOf(R,B))!==-1&&(N=L.indexOf(I,B+O))!==-1&&!(N<=B);){for(var W=B;W=N)b[W]=null,L=L.substr(0,W)+" "+L.substr(W+1);else if(b[W]!==null){var j=b[W].indexOf(A[0]);j===-1?b[W]+=A:F&&(b[W]=b[W].substr(0,j+1)+(1+parseInt(b[W][j+1]))+b[W].substr(j+2))}var $=B+O,U=L.substr($,N-$).indexOf(R);B=U!==-1?U:N+z}return b}function _(x,A){var L=u(x,128);return A?s(L.cells,L.positions,.25):{edges:L.cells,positions:L.positions}}function k(x,A,L,b){var R=_(x,b),I=function(H,ne,te){for(var Z=ne.textAlign||"start",X=ne.textBaseline||"alphabetic",Q=[1<<30,1<<30],re=[0,0],ie=H.length,oe=0;oe"u"||!ses.ok||ses.ok()){typeof ses<"u"&&(ses.weakMapPermitHostObjects=A);var l=!1;if(typeof WeakMap=="function"){var a=WeakMap;if(!(typeof navigator<"u"&&/Firefox/.test(navigator.userAgent))){var u=new a,o=Object.freeze({});if(u.set(o,1),u.get(o)===1)return void(f.exports=WeakMap);l=!0}}var s=Object.getOwnPropertyNames,h=Object.defineProperty,c=Object.isExtensible,m="weakmap:",w="weakmap:ident:"+Math.random()+"___";if(typeof crypto<"u"&&typeof crypto.getRandomValues=="function"&&typeof ArrayBuffer=="function"&&typeof Uint8Array=="function"){var y=new ArrayBuffer(25),C=new Uint8Array(y);crypto.getRandomValues(C),w="weakmap:rand:"+Array.prototype.map.call(C,function(O){return(O%36).toString(36)}).join("")+"___"}if(h(Object,"getOwnPropertyNames",{value:function(O){return s(O).filter(L)}}),"getPropertyNames"in Object){var _=Object.getPropertyNames;h(Object,"getPropertyNames",{value:function(O){return _(O).filter(L)}})}(function(){var O=Object.freeze;h(Object,"freeze",{value:function(B){return b(B),O(B)}});var z=Object.seal;h(Object,"seal",{value:function(B){return b(B),z(B)}});var F=Object.preventExtensions;h(Object,"preventExtensions",{value:function(B){return b(B),F(B)}})})();var k=!1,E=0,x=function(){this instanceof x||I();var O=[],z=[],F=E++;return Object.create(x.prototype,{get___:{value:R(function(B,N){var W,j=b(B);return j?F in j?j[F]:N:(W=O.indexOf(B))>=0?z[W]:N})},has___:{value:R(function(B){var N=b(B);return N?F in N:O.indexOf(B)>=0})},set___:{value:R(function(B,N){var W,j=b(B);return j?j[F]=N:(W=O.indexOf(B))>=0?z[W]=N:(W=O.length,z[W]=N,O[W]=B),this})},delete___:{value:R(function(B){var N,W,j=b(B);return j?F in j&&delete j[F]:!((N=O.indexOf(B))<0||(W=O.length-1,O[N]=void 0,z[N]=z[W],O[N]=O[W],O.length=W,z.length=W,0))})}})};x.prototype=Object.create(Object.prototype,{get:{value:function(O,z){return this.get___(O,z)},writable:!0,configurable:!0},has:{value:function(O){return this.has___(O)},writable:!0,configurable:!0},set:{value:function(O,z){return this.set___(O,z)},writable:!0,configurable:!0},delete:{value:function(O){return this.delete___(O)},writable:!0,configurable:!0}}),typeof a=="function"?function(){function O(){this instanceof x||I();var z,F=new a,B=void 0,N=!1;return z=l?function(W,j){return F.set(W,j),F.has(W)||(B||(B=new x),B.set(W,j)),this}:function(W,j){if(N)try{F.set(W,j)}catch{B||(B=new x),B.set___(W,j)}else F.set(W,j);return this},Object.create(x.prototype,{get___:{value:R(function(W,j){return B?F.has(W)?F.get(W):B.get___(W,j):F.get(W,j)})},has___:{value:R(function(W){return F.has(W)||!!B&&B.has___(W)})},set___:{value:R(z)},delete___:{value:R(function(W){var j=!!F.delete(W);return B&&B.delete___(W)||j})},permitHostObjects___:{value:R(function(W){if(W!==A)throw new Error("bogus call to permitHostObjects___");N=!0})}})}l&&typeof Proxy<"u"&&(Proxy=void 0),O.prototype=x.prototype,f.exports=O,Object.defineProperty(WeakMap.prototype,"constructor",{value:WeakMap,enumerable:!1,configurable:!0,writable:!0})}():(typeof Proxy<"u"&&(Proxy=void 0),f.exports=x)}function A(O){O.permitHostObjects___&&O.permitHostObjects___(A)}function L(O){return!(O.substr(0,m.length)==m&&O.substr(O.length-3)==="___")}function b(O){if(O!==Object(O))throw new TypeError("Not an object: "+O);var z=O[w];if(z&&z.key===O)return z;if(c(O)){z={key:O};try{return h(O,w,{value:z,writable:!1,enumerable:!1,configurable:!1}),z}catch{return}}}function R(O){return O.prototype=null,Object.freeze(O)}function I(){k||typeof console>"u"||(k=!0,console.warn("WeakMap should be invoked as new WeakMap(), not WeakMap(). This will be an error in the future."))}})()},9222:function(f,l,a){var u=a(7178);f.exports=function(){var o={};return function(s){if((typeof s!="object"||s===null)&&typeof s!="function")throw new Error("Weakmap-shim: Key must be object");var h=s.valueOf(o);return h&&h.identity===o?h:u(s,o)}}},7178:function(f){f.exports=function(l,a){var u={identity:a},o=l.valueOf;return Object.defineProperty(l,"valueOf",{value:function(s){return s!==a?o.apply(this,arguments):u},writable:!0}),u}},4037:function(f,l,a){var u=a(9222);f.exports=function(){var o=u();return{get:function(s,h){var c=o(s);return c.hasOwnProperty("value")?c.value:h},set:function(s,h){return o(s).value=h,this},has:function(s){return"value"in o(s)},delete:function(s){return delete o(s).value}}}},6183:function(f){f.exports=function(l){var a={};return function(u,o,s){var h=u.dtype,c=u.order,m=[h,c.join()].join(),w=a[m];return w||(a[m]=w=l([h,c])),w(u.shape.slice(0),u.data,u.stride,0|u.offset,o,s)}}((function(){return function(l,a,u,o,s,h){var c=l[0],m=u[0],w=[0],y=m;o|=0;var C=0,_=m;for(C=0;C=0!=E>=0&&s.push(w[0]+.5+.5*(k+E)/(k-E)),o+=_,++w[0]}}}).bind(void 0,{funcName:"zeroCrossings"}))},9584:function(f,l,a){f.exports=function(o,s){var h=[];return s=+s||0,u(o.hi(o.shape[0]-1),h,s),h};var u=a(6183)},6601:function(){}},M={};function v(f){var l=M[f];if(l!==void 0)return l.exports;var a=M[f]={id:f,loaded:!1,exports:{}};return i[f].call(a.exports,a,a.exports,v),a.loaded=!0,a.exports}return v.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),v.nmd=function(f){return f.paths=[],f.children||(f.children=[]),f},v(7386)}()},T.exports=d()},12856:function(T,p,t){function d(ae,fe){if(!(ae instanceof fe))throw new TypeError("Cannot call a class as a function")}function g(ae,fe){for(var be=0;bes)throw new RangeError('The value "'+ae+'" is invalid for option "size"');var fe=new Uint8Array(ae);return Object.setPrototypeOf(fe,c.prototype),fe}function c(ae,fe,be){if(typeof ae=="number"){if(typeof fe=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return y(ae)}return m(ae,fe,be)}function m(ae,fe,be){if(typeof ae=="string")return function(Be,ze){if(typeof ze=="string"&&ze!==""||(ze="utf8"),!c.isEncoding(ze))throw new TypeError("Unknown encoding: "+ze);var je=0|E(Be,ze),ge=h(je),we=ge.write(Be,ze);return we!==je&&(ge=ge.slice(0,we)),ge}(ae,fe);if(ArrayBuffer.isView(ae))return function(Be){if(Pe(Be,Uint8Array)){var ze=new Uint8Array(Be);return _(ze.buffer,ze.byteOffset,ze.byteLength)}return C(Be)}(ae);if(ae==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+l(ae));if(Pe(ae,ArrayBuffer)||ae&&Pe(ae.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Pe(ae,SharedArrayBuffer)||ae&&Pe(ae.buffer,SharedArrayBuffer)))return _(ae,fe,be);if(typeof ae=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var ke=ae.valueOf&&ae.valueOf();if(ke!=null&&ke!==ae)return c.from(ke,fe,be);var Le=function(Be){if(c.isBuffer(Be)){var ze=0|k(Be.length),je=h(ze);return je.length===0||Be.copy(je,0,0,ze),je}return Be.length!==void 0?typeof Be.length!="number"||_e(Be.length)?h(0):C(Be):Be.type==="Buffer"&&Array.isArray(Be.data)?C(Be.data):void 0}(ae);if(Le)return Le;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof ae[Symbol.toPrimitive]=="function")return c.from(ae[Symbol.toPrimitive]("string"),fe,be);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+l(ae))}function w(ae){if(typeof ae!="number")throw new TypeError('"size" argument must be of type number');if(ae<0)throw new RangeError('The value "'+ae+'" is invalid for option "size"')}function y(ae){return w(ae),h(ae<0?0:0|k(ae))}function C(ae){for(var fe=ae.length<0?0:0|k(ae.length),be=h(fe),ke=0;ke=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|ae}function E(ae,fe){if(c.isBuffer(ae))return ae.length;if(ArrayBuffer.isView(ae)||Pe(ae,ArrayBuffer))return ae.byteLength;if(typeof ae!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+l(ae));var be=ae.length,ke=arguments.length>2&&arguments[2]===!0;if(!ke&&be===0)return 0;for(var Le=!1;;)switch(fe){case"ascii":case"latin1":case"binary":return be;case"utf8":case"utf-8":return me(ae).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*be;case"hex":return be>>>1;case"base64":return pe(ae).length;default:if(Le)return ke?-1:me(ae).length;fe=(""+fe).toLowerCase(),Le=!0}}function x(ae,fe,be){var ke=!1;if((fe===void 0||fe<0)&&(fe=0),fe>this.length||((be===void 0||be>this.length)&&(be=this.length),be<=0)||(be>>>=0)<=(fe>>>=0))return"";for(ae||(ae="utf8");;)switch(ae){case"hex":return U(this,fe,be);case"utf8":case"utf-8":return N(this,fe,be);case"ascii":return j(this,fe,be);case"latin1":case"binary":return $(this,fe,be);case"base64":return B(this,fe,be);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return G(this,fe,be);default:if(ke)throw new TypeError("Unknown encoding: "+ae);ae=(ae+"").toLowerCase(),ke=!0}}function A(ae,fe,be){var ke=ae[fe];ae[fe]=ae[be],ae[be]=ke}function L(ae,fe,be,ke,Le){if(ae.length===0)return-1;if(typeof be=="string"?(ke=be,be=0):be>2147483647?be=2147483647:be<-2147483648&&(be=-2147483648),_e(be=+be)&&(be=Le?0:ae.length-1),be<0&&(be=ae.length+be),be>=ae.length){if(Le)return-1;be=ae.length-1}else if(be<0){if(!Le)return-1;be=0}if(typeof fe=="string"&&(fe=c.from(fe,ke)),c.isBuffer(fe))return fe.length===0?-1:b(ae,fe,be,ke,Le);if(typeof fe=="number")return fe&=255,typeof Uint8Array.prototype.indexOf=="function"?Le?Uint8Array.prototype.indexOf.call(ae,fe,be):Uint8Array.prototype.lastIndexOf.call(ae,fe,be):b(ae,[fe],be,ke,Le);throw new TypeError("val must be string, number or Buffer")}function b(ae,fe,be,ke,Le){var Be,ze=1,je=ae.length,ge=fe.length;if(ke!==void 0&&((ke=String(ke).toLowerCase())==="ucs2"||ke==="ucs-2"||ke==="utf16le"||ke==="utf-16le")){if(ae.length<2||fe.length<2)return-1;ze=2,je/=2,ge/=2,be/=2}function we(Ye,st){return ze===1?Ye[st]:Ye.readUInt16BE(st*ze)}if(Le){var Ee=-1;for(Be=be;Beje&&(be=je-ge),Be=be;Be>=0;Be--){for(var Ve=!0,$e=0;$eLe&&(ke=Le):ke=Le;var Be,ze=fe.length;for(ke>ze/2&&(ke=ze/2),Be=0;Be>8,ge=ze%256,we.push(ge),we.push(je);return we}(fe,ae.length-be),ae,be,ke)}function B(ae,fe,be){return fe===0&&be===ae.length?a.fromByteArray(ae):a.fromByteArray(ae.slice(fe,be))}function N(ae,fe,be){be=Math.min(ae.length,be);for(var ke=[],Le=fe;Le239?4:Be>223?3:Be>191?2:1;if(Le+je<=be){var ge=void 0,we=void 0,Ee=void 0,Ve=void 0;switch(je){case 1:Be<128&&(ze=Be);break;case 2:(192&(ge=ae[Le+1]))==128&&(Ve=(31&Be)<<6|63&ge)>127&&(ze=Ve);break;case 3:ge=ae[Le+1],we=ae[Le+2],(192&ge)==128&&(192&we)==128&&(Ve=(15&Be)<<12|(63&ge)<<6|63&we)>2047&&(Ve<55296||Ve>57343)&&(ze=Ve);break;case 4:ge=ae[Le+1],we=ae[Le+2],Ee=ae[Le+3],(192&ge)==128&&(192&we)==128&&(192&Ee)==128&&(Ve=(15&Be)<<18|(63&ge)<<12|(63&we)<<6|63&Ee)>65535&&Ve<1114112&&(ze=Ve)}}ze===null?(ze=65533,je=1):ze>65535&&(ze-=65536,ke.push(ze>>>10&1023|55296),ze=56320|1023&ze),ke.push(ze),Le+=je}return function($e){var Ye=$e.length;if(Ye<=W)return String.fromCharCode.apply(String,$e);for(var st="",ot=0;ot"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.buffer}}),Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.byteOffset}}),c.poolSize=8192,c.from=function(ae,fe,be){return m(ae,fe,be)},Object.setPrototypeOf(c.prototype,Uint8Array.prototype),Object.setPrototypeOf(c,Uint8Array),c.alloc=function(ae,fe,be){return function(ke,Le,Be){return w(ke),ke<=0?h(ke):Le!==void 0?typeof Be=="string"?h(ke).fill(Le,Be):h(ke).fill(Le):h(ke)}(ae,fe,be)},c.allocUnsafe=function(ae){return y(ae)},c.allocUnsafeSlow=function(ae){return y(ae)},c.isBuffer=function(ae){return ae!=null&&ae._isBuffer===!0&&ae!==c.prototype},c.compare=function(ae,fe){if(Pe(ae,Uint8Array)&&(ae=c.from(ae,ae.offset,ae.byteLength)),Pe(fe,Uint8Array)&&(fe=c.from(fe,fe.offset,fe.byteLength)),!c.isBuffer(ae)||!c.isBuffer(fe))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ae===fe)return 0;for(var be=ae.length,ke=fe.length,Le=0,Be=Math.min(be,ke);Leke.length?(c.isBuffer(Be)||(Be=c.from(Be)),Be.copy(ke,Le)):Uint8Array.prototype.set.call(ke,Be,Le);else{if(!c.isBuffer(Be))throw new TypeError('"list" argument must be an Array of Buffers');Be.copy(ke,Le)}Le+=Be.length}return ke},c.byteLength=E,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var ae=this.length;if(ae%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var fe=0;fefe&&(ae+=" ... "),""},o&&(c.prototype[o]=c.prototype.inspect),c.prototype.compare=function(ae,fe,be,ke,Le){if(Pe(ae,Uint8Array)&&(ae=c.from(ae,ae.offset,ae.byteLength)),!c.isBuffer(ae))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+l(ae));if(fe===void 0&&(fe=0),be===void 0&&(be=ae?ae.length:0),ke===void 0&&(ke=0),Le===void 0&&(Le=this.length),fe<0||be>ae.length||ke<0||Le>this.length)throw new RangeError("out of range index");if(ke>=Le&&fe>=be)return 0;if(ke>=Le)return-1;if(fe>=be)return 1;if(this===ae)return 0;for(var Be=(Le>>>=0)-(ke>>>=0),ze=(be>>>=0)-(fe>>>=0),je=Math.min(Be,ze),ge=this.slice(ke,Le),we=ae.slice(fe,be),Ee=0;Ee>>=0,isFinite(be)?(be>>>=0,ke===void 0&&(ke="utf8")):(ke=be,be=void 0)}var Le=this.length-fe;if((be===void 0||be>Le)&&(be=Le),ae.length>0&&(be<0||fe<0)||fe>this.length)throw new RangeError("Attempt to write outside buffer bounds");ke||(ke="utf8");for(var Be=!1;;)switch(ke){case"hex":return R(this,ae,fe,be);case"utf8":case"utf-8":return I(this,ae,fe,be);case"ascii":case"latin1":case"binary":return O(this,ae,fe,be);case"base64":return z(this,ae,fe,be);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F(this,ae,fe,be);default:if(Be)throw new TypeError("Unknown encoding: "+ke);ke=(""+ke).toLowerCase(),Be=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var W=4096;function j(ae,fe,be){var ke="";be=Math.min(ae.length,be);for(var Le=fe;Leke)&&(be=ke);for(var Le="",Be=fe;Bebe)throw new RangeError("Trying to access beyond buffer length")}function H(ae,fe,be,ke,Le,Be){if(!c.isBuffer(ae))throw new TypeError('"buffer" argument must be a Buffer instance');if(fe>Le||feae.length)throw new RangeError("Index out of range")}function ne(ae,fe,be,ke,Le){ue(fe,ke,Le,ae,be,7);var Be=Number(fe&BigInt(4294967295));ae[be++]=Be,Be>>=8,ae[be++]=Be,Be>>=8,ae[be++]=Be,Be>>=8,ae[be++]=Be;var ze=Number(fe>>BigInt(32)&BigInt(4294967295));return ae[be++]=ze,ze>>=8,ae[be++]=ze,ze>>=8,ae[be++]=ze,ze>>=8,ae[be++]=ze,be}function te(ae,fe,be,ke,Le){ue(fe,ke,Le,ae,be,7);var Be=Number(fe&BigInt(4294967295));ae[be+7]=Be,Be>>=8,ae[be+6]=Be,Be>>=8,ae[be+5]=Be,Be>>=8,ae[be+4]=Be;var ze=Number(fe>>BigInt(32)&BigInt(4294967295));return ae[be+3]=ze,ze>>=8,ae[be+2]=ze,ze>>=8,ae[be+1]=ze,ze>>=8,ae[be]=ze,be+8}function Z(ae,fe,be,ke,Le,Be){if(be+ke>ae.length)throw new RangeError("Index out of range");if(be<0)throw new RangeError("Index out of range")}function X(ae,fe,be,ke,Le){return fe=+fe,be>>>=0,Le||Z(ae,0,be,4),u.write(ae,fe,be,ke,23,4),be+4}function Q(ae,fe,be,ke,Le){return fe=+fe,be>>>=0,Le||Z(ae,0,be,8),u.write(ae,fe,be,ke,52,8),be+8}c.prototype.slice=function(ae,fe){var be=this.length;(ae=~~ae)<0?(ae+=be)<0&&(ae=0):ae>be&&(ae=be),(fe=fe===void 0?be:~~fe)<0?(fe+=be)<0&&(fe=0):fe>be&&(fe=be),fe>>=0,fe>>>=0,be||q(ae,fe,this.length);for(var ke=this[ae],Le=1,Be=0;++Be>>=0,fe>>>=0,be||q(ae,fe,this.length);for(var ke=this[ae+--fe],Le=1;fe>0&&(Le*=256);)ke+=this[ae+--fe]*Le;return ke},c.prototype.readUint8=c.prototype.readUInt8=function(ae,fe){return ae>>>=0,fe||q(ae,1,this.length),this[ae]},c.prototype.readUint16LE=c.prototype.readUInt16LE=function(ae,fe){return ae>>>=0,fe||q(ae,2,this.length),this[ae]|this[ae+1]<<8},c.prototype.readUint16BE=c.prototype.readUInt16BE=function(ae,fe){return ae>>>=0,fe||q(ae,2,this.length),this[ae]<<8|this[ae+1]},c.prototype.readUint32LE=c.prototype.readUInt32LE=function(ae,fe){return ae>>>=0,fe||q(ae,4,this.length),(this[ae]|this[ae+1]<<8|this[ae+2]<<16)+16777216*this[ae+3]},c.prototype.readUint32BE=c.prototype.readUInt32BE=function(ae,fe){return ae>>>=0,fe||q(ae,4,this.length),16777216*this[ae]+(this[ae+1]<<16|this[ae+2]<<8|this[ae+3])},c.prototype.readBigUInt64LE=Se(function(ae){ce(ae>>>=0,"offset");var fe=this[ae],be=this[ae+7];fe!==void 0&&be!==void 0||ye(ae,this.length-8);var ke=fe+this[++ae]*Math.pow(2,8)+this[++ae]*Math.pow(2,16)+this[++ae]*Math.pow(2,24),Le=this[++ae]+this[++ae]*Math.pow(2,8)+this[++ae]*Math.pow(2,16)+be*Math.pow(2,24);return BigInt(ke)+(BigInt(Le)<>>=0,"offset");var fe=this[ae],be=this[ae+7];fe!==void 0&&be!==void 0||ye(ae,this.length-8);var ke=fe*Math.pow(2,24)+this[++ae]*Math.pow(2,16)+this[++ae]*Math.pow(2,8)+this[++ae],Le=this[++ae]*Math.pow(2,24)+this[++ae]*Math.pow(2,16)+this[++ae]*Math.pow(2,8)+be;return(BigInt(ke)<>>=0,fe>>>=0,be||q(ae,fe,this.length);for(var ke=this[ae],Le=1,Be=0;++Be=(Le*=128)&&(ke-=Math.pow(2,8*fe)),ke},c.prototype.readIntBE=function(ae,fe,be){ae>>>=0,fe>>>=0,be||q(ae,fe,this.length);for(var ke=fe,Le=1,Be=this[ae+--ke];ke>0&&(Le*=256);)Be+=this[ae+--ke]*Le;return Be>=(Le*=128)&&(Be-=Math.pow(2,8*fe)),Be},c.prototype.readInt8=function(ae,fe){return ae>>>=0,fe||q(ae,1,this.length),128&this[ae]?-1*(255-this[ae]+1):this[ae]},c.prototype.readInt16LE=function(ae,fe){ae>>>=0,fe||q(ae,2,this.length);var be=this[ae]|this[ae+1]<<8;return 32768&be?4294901760|be:be},c.prototype.readInt16BE=function(ae,fe){ae>>>=0,fe||q(ae,2,this.length);var be=this[ae+1]|this[ae]<<8;return 32768&be?4294901760|be:be},c.prototype.readInt32LE=function(ae,fe){return ae>>>=0,fe||q(ae,4,this.length),this[ae]|this[ae+1]<<8|this[ae+2]<<16|this[ae+3]<<24},c.prototype.readInt32BE=function(ae,fe){return ae>>>=0,fe||q(ae,4,this.length),this[ae]<<24|this[ae+1]<<16|this[ae+2]<<8|this[ae+3]},c.prototype.readBigInt64LE=Se(function(ae){ce(ae>>>=0,"offset");var fe=this[ae],be=this[ae+7];fe!==void 0&&be!==void 0||ye(ae,this.length-8);var ke=this[ae+4]+this[ae+5]*Math.pow(2,8)+this[ae+6]*Math.pow(2,16)+(be<<24);return(BigInt(ke)<>>=0,"offset");var fe=this[ae],be=this[ae+7];fe!==void 0&&be!==void 0||ye(ae,this.length-8);var ke=(fe<<24)+this[++ae]*Math.pow(2,16)+this[++ae]*Math.pow(2,8)+this[++ae];return(BigInt(ke)<>>=0,fe||q(ae,4,this.length),u.read(this,ae,!0,23,4)},c.prototype.readFloatBE=function(ae,fe){return ae>>>=0,fe||q(ae,4,this.length),u.read(this,ae,!1,23,4)},c.prototype.readDoubleLE=function(ae,fe){return ae>>>=0,fe||q(ae,8,this.length),u.read(this,ae,!0,52,8)},c.prototype.readDoubleBE=function(ae,fe){return ae>>>=0,fe||q(ae,8,this.length),u.read(this,ae,!1,52,8)},c.prototype.writeUintLE=c.prototype.writeUIntLE=function(ae,fe,be,ke){ae=+ae,fe>>>=0,be>>>=0,ke||H(this,ae,fe,be,Math.pow(2,8*be)-1,0);var Le=1,Be=0;for(this[fe]=255&ae;++Be>>=0,be>>>=0,ke||H(this,ae,fe,be,Math.pow(2,8*be)-1,0);var Le=be-1,Be=1;for(this[fe+Le]=255&ae;--Le>=0&&(Be*=256);)this[fe+Le]=ae/Be&255;return fe+be},c.prototype.writeUint8=c.prototype.writeUInt8=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,1,255,0),this[fe]=255&ae,fe+1},c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,2,65535,0),this[fe]=255&ae,this[fe+1]=ae>>>8,fe+2},c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,2,65535,0),this[fe]=ae>>>8,this[fe+1]=255&ae,fe+2},c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,4,4294967295,0),this[fe+3]=ae>>>24,this[fe+2]=ae>>>16,this[fe+1]=ae>>>8,this[fe]=255&ae,fe+4},c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,4,4294967295,0),this[fe]=ae>>>24,this[fe+1]=ae>>>16,this[fe+2]=ae>>>8,this[fe+3]=255&ae,fe+4},c.prototype.writeBigUInt64LE=Se(function(ae){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ne(this,ae,fe,BigInt(0),BigInt("0xffffffffffffffff"))}),c.prototype.writeBigUInt64BE=Se(function(ae){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return te(this,ae,fe,BigInt(0),BigInt("0xffffffffffffffff"))}),c.prototype.writeIntLE=function(ae,fe,be,ke){if(ae=+ae,fe>>>=0,!ke){var Le=Math.pow(2,8*be-1);H(this,ae,fe,be,Le-1,-Le)}var Be=0,ze=1,je=0;for(this[fe]=255&ae;++Be>0)-je&255;return fe+be},c.prototype.writeIntBE=function(ae,fe,be,ke){if(ae=+ae,fe>>>=0,!ke){var Le=Math.pow(2,8*be-1);H(this,ae,fe,be,Le-1,-Le)}var Be=be-1,ze=1,je=0;for(this[fe+Be]=255&ae;--Be>=0&&(ze*=256);)ae<0&&je===0&&this[fe+Be+1]!==0&&(je=1),this[fe+Be]=(ae/ze>>0)-je&255;return fe+be},c.prototype.writeInt8=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,1,127,-128),ae<0&&(ae=255+ae+1),this[fe]=255&ae,fe+1},c.prototype.writeInt16LE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,2,32767,-32768),this[fe]=255&ae,this[fe+1]=ae>>>8,fe+2},c.prototype.writeInt16BE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,2,32767,-32768),this[fe]=ae>>>8,this[fe+1]=255&ae,fe+2},c.prototype.writeInt32LE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,4,2147483647,-2147483648),this[fe]=255&ae,this[fe+1]=ae>>>8,this[fe+2]=ae>>>16,this[fe+3]=ae>>>24,fe+4},c.prototype.writeInt32BE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,4,2147483647,-2147483648),ae<0&&(ae=4294967295+ae+1),this[fe]=ae>>>24,this[fe+1]=ae>>>16,this[fe+2]=ae>>>8,this[fe+3]=255&ae,fe+4},c.prototype.writeBigInt64LE=Se(function(ae){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ne(this,ae,fe,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),c.prototype.writeBigInt64BE=Se(function(ae){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return te(this,ae,fe,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),c.prototype.writeFloatLE=function(ae,fe,be){return X(this,ae,fe,!0,be)},c.prototype.writeFloatBE=function(ae,fe,be){return X(this,ae,fe,!1,be)},c.prototype.writeDoubleLE=function(ae,fe,be){return Q(this,ae,fe,!0,be)},c.prototype.writeDoubleBE=function(ae,fe,be){return Q(this,ae,fe,!1,be)},c.prototype.copy=function(ae,fe,be,ke){if(!c.isBuffer(ae))throw new TypeError("argument should be a Buffer");if(be||(be=0),ke||ke===0||(ke=this.length),fe>=ae.length&&(fe=ae.length),fe||(fe=0),ke>0&&ke=this.length)throw new RangeError("Index out of range");if(ke<0)throw new RangeError("sourceEnd out of bounds");ke>this.length&&(ke=this.length),ae.length-fe>>=0,be=be===void 0?this.length:be>>>0,ae||(ae=0),typeof ae=="number")for(Be=fe;Be"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var Ee,Ve=f(ze);if(je){var $e=f(this).constructor;Ee=Reflect.construct(Ve,arguments,$e)}else Ee=Ve.apply(this,arguments);return M(this,Ee)});function we(){var Ee;return d(this,we),Ee=ge.call(this),Object.defineProperty(v(Ee),"message",{value:fe.apply(v(Ee),arguments),writable:!0,configurable:!0}),Ee.name="".concat(Ee.name," [").concat(ae,"]"),Ee.stack,delete Ee.name,Ee}return Le=we,(Be=[{key:"code",get:function(){return ae},set:function(Ee){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:Ee,writable:!0})}},{key:"toString",value:function(){return"".concat(this.name," [").concat(ae,"]: ").concat(this.message)}}])&&g(Le.prototype,Be),Object.defineProperty(Le,"prototype",{writable:!1}),we}(be)}function oe(ae){for(var fe="",be=ae.length,ke=ae[0]==="-"?1:0;be>=ke+4;be-=3)fe="_".concat(ae.slice(be-3,be)).concat(fe);return"".concat(ae.slice(0,be)).concat(fe)}function ue(ae,fe,be,ke,Le,Be){if(ae>be||ae3?fe===0||fe===BigInt(0)?">= 0".concat(je," and < 2").concat(je," ** ").concat(8*(Be+1)).concat(je):">= -(2".concat(je," ** ").concat(8*(Be+1)-1).concat(je,") and < 2 ** ")+"".concat(8*(Be+1)-1).concat(je):">= ".concat(fe).concat(je," and <= ").concat(be).concat(je),new re.ERR_OUT_OF_RANGE("value",ze,ae)}(function(ge,we,Ee){ce(we,"offset"),ge[we]!==void 0&&ge[we+Ee]!==void 0||ye(we,ge.length-(Ee+1))})(ke,Le,Be)}function ce(ae,fe){if(typeof ae!="number")throw new re.ERR_INVALID_ARG_TYPE(fe,"number",ae)}function ye(ae,fe,be){throw Math.floor(ae)!==ae?(ce(ae,be),new re.ERR_OUT_OF_RANGE(be||"offset","an integer",ae)):fe<0?new re.ERR_BUFFER_OUT_OF_BOUNDS:new re.ERR_OUT_OF_RANGE(be||"offset",">= ".concat(be?1:0," and <= ").concat(fe),ae)}ie("ERR_BUFFER_OUT_OF_BOUNDS",function(ae){return ae?"".concat(ae," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"},RangeError),ie("ERR_INVALID_ARG_TYPE",function(ae,fe){return'The "'.concat(ae,'" argument must be of type number. Received type ').concat(l(fe))},TypeError),ie("ERR_OUT_OF_RANGE",function(ae,fe,be){var ke='The value of "'.concat(ae,'" is out of range.'),Le=be;return Number.isInteger(be)&&Math.abs(be)>Math.pow(2,32)?Le=oe(String(be)):typeof be=="bigint"&&(Le=String(be),(be>Math.pow(BigInt(2),BigInt(32))||be<-Math.pow(BigInt(2),BigInt(32)))&&(Le=oe(Le)),Le+="n"),ke+" It must be ".concat(fe,". Received ").concat(Le)},RangeError);var de=/[^+/0-9A-Za-z-_]/g;function me(ae,fe){var be;fe=fe||1/0;for(var ke=ae.length,Le=null,Be=[],ze=0;ze55295&&be<57344){if(!Le){if(be>56319){(fe-=3)>-1&&Be.push(239,191,189);continue}if(ze+1===ke){(fe-=3)>-1&&Be.push(239,191,189);continue}Le=be;continue}if(be<56320){(fe-=3)>-1&&Be.push(239,191,189),Le=be;continue}be=65536+(Le-55296<<10|be-56320)}else Le&&(fe-=3)>-1&&Be.push(239,191,189);if(Le=null,be<128){if((fe-=1)<0)break;Be.push(be)}else if(be<2048){if((fe-=2)<0)break;Be.push(be>>6|192,63&be|128)}else if(be<65536){if((fe-=3)<0)break;Be.push(be>>12|224,be>>6&63|128,63&be|128)}else{if(!(be<1114112))throw new Error("Invalid code point");if((fe-=4)<0)break;Be.push(be>>18|240,be>>12&63|128,be>>6&63|128,63&be|128)}}return Be}function pe(ae){return a.toByteArray(function(fe){if((fe=(fe=fe.split("=")[0]).trim().replace(de,"")).length<2)return"";for(;fe.length%4!=0;)fe+="=";return fe}(ae))}function xe(ae,fe,be,ke){var Le;for(Le=0;Le=fe.length||Le>=ae.length);++Le)fe[Le+be]=ae[Le];return Le}function Pe(ae,fe){return ae instanceof fe||ae!=null&&ae.constructor!=null&&ae.constructor.name!=null&&ae.constructor.name===fe.name}function _e(ae){return ae!=ae}var Me=function(){for(var ae="0123456789abcdef",fe=new Array(256),be=0;be<16;++be)for(var ke=16*be,Le=0;Le<16;++Le)fe[ke+Le]=ae[be]+ae[Le];return fe}();function Se(ae){return typeof BigInt>"u"?Ce:ae}function Ce(){throw new Error("BigInt not supported")}},35791:function(T){T.exports=g,T.exports.isMobile=g,T.exports.default=g;var p=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,t=/CrOS/,d=/android|ipad|playbook|silk/i;function g(i){i||(i={});var M=i.ua;if(M||typeof navigator>"u"||(M=navigator.userAgent),M&&M.headers&&typeof M.headers["user-agent"]=="string"&&(M=M.headers["user-agent"]),typeof M!="string")return!1;var v=p.test(M)&&!t.test(M)||!!i.tablet&&d.test(M);return!v&&i.tablet&&i.featureDetect&&navigator&&navigator.maxTouchPoints>1&&M.indexOf("Macintosh")!==-1&&M.indexOf("Safari")!==-1&&(v=!0),v}},86781:function(T,p,t){t.r(p),t.d(p,{sankeyCenter:function(){return o},sankeyCircular:function(){return O},sankeyJustify:function(){return u},sankeyLeft:function(){return l},sankeyRight:function(){return a}});var d=t(33064),g=t(15140),i=t(45879),M=t(2502),v=t.n(M);function f(pe){return pe.target.depth}function l(pe){return pe.depth}function a(pe,xe){return xe-1-pe.height}function u(pe,xe){return pe.sourceLinks.length?pe.depth:xe-1}function o(pe){return pe.targetLinks.length?pe.depth:pe.sourceLinks.length?(0,d.VV)(pe.sourceLinks,f)-1:0}function s(pe){return function(){return pe}}var h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(pe){return typeof pe}:function(pe){return pe&&typeof Symbol=="function"&&pe.constructor===Symbol&&pe!==Symbol.prototype?"symbol":typeof pe};function c(pe,xe){return w(pe.source,xe.source)||pe.index-xe.index}function m(pe,xe){return w(pe.target,xe.target)||pe.index-xe.index}function w(pe,xe){return pe.partOfCycle===xe.partOfCycle?pe.y0-xe.y0:pe.circularLinkType==="top"||xe.circularLinkType==="bottom"?-1:1}function y(pe){return pe.value}function C(pe){return(pe.y0+pe.y1)/2}function _(pe){return C(pe.source)}function k(pe){return C(pe.target)}function E(pe){return pe.index}function x(pe){return pe.nodes}function A(pe){return pe.links}function L(pe,xe){var Pe=pe.get(xe);if(!Pe)throw new Error("missing: "+xe);return Pe}function b(pe,xe){return xe(pe)}var R=25,I=10;function O(){var pe,xe,Pe=0,_e=0,Me=1,Se=1,Ce=24,ae=E,fe=u,be=x,ke=A,Le=32,Be=2,ze=null;function je(){var Ye={nodes:be.apply(null,arguments),links:ke.apply(null,arguments)};ge(Ye),z(Ye,0,ze),we(Ye),Ee(Ye),F(Ye,ae),Ve(Ye,Le,ae),$e(Ye);for(var st=4,ot=0;ot0?Je+R+I:Je,bottom:qe=qe>0?qe+R+I:qe,left:ft=ft>0?ft+R+I:ft,right:nt=nt>0?nt+R+I:nt}}(Ye),Vt=function(Ke,Je){var qe=(0,d.Fp)(Ke.nodes,function(Qe){return Qe.column}),nt=Me-Pe,ft=Se-_e,Re=nt/(nt+Je.right+Je.left),Ne=ft/(ft+Je.top+Je.bottom);return Pe=Pe*Re+Je.left,Me=Je.right==0?Me:Me*Re,_e=_e*Ne+Je.top,Se*=Ne,Ke.nodes.forEach(function(Qe){Qe.x0=Pe+Qe.column*((Me-Pe-Ce)/qe),Qe.x1=Qe.x0+Ce}),Ne}(Ye,qt);Bt*=Vt,Ye.links.forEach(function(Ke){Ke.width=Ke.value*Bt}),ht.forEach(function(Ke){var Je=Ke.length;Ke.forEach(function(qe,nt){qe.depth==ht.length-1&&Je==1||qe.depth==0&&Je==1?(qe.y0=Se/2-qe.value*Bt,qe.y1=qe.y0+qe.value*Bt):qe.partOfCycle?N(qe,Ft)==0?(qe.y0=Se/2+nt,qe.y1=qe.y0+qe.value*Bt):qe.circularLinkType=="top"?(qe.y0=_e+nt,qe.y1=qe.y0+qe.value*Bt):(qe.y0=Se-qe.value*Bt-nt,qe.y1=qe.y0+qe.value*Bt):qt.top==0||qt.bottom==0?(qe.y0=(Se-_e)/Je*nt,qe.y1=qe.y0+qe.value*Bt):(qe.y0=(Se-_e)/2-Je/2+nt,qe.y1=qe.y0+qe.value*Bt)})})})(ot),xt();for(var bt=1,Et=st;Et>0;--Et)kt(bt*=.99,ot),xt();function kt(Ft,Ot){var Bt=ht.length;ht.forEach(function(qt){var Vt=qt.length,Ke=qt[0].depth;qt.forEach(function(Je){var qe;if((Je.sourceLinks.length||Je.targetLinks.length)&&!(Je.partOfCycle&&N(Je,Ot)>0))if(Ke==0&&Vt==1)qe=Je.y1-Je.y0,Je.y0=Se/2-qe/2,Je.y1=Se/2+qe/2;else if(Ke==Bt-1&&Vt==1)qe=Je.y1-Je.y0,Je.y0=Se/2-qe/2,Je.y1=Se/2+qe/2;else{var nt=(0,d.J6)(Je.sourceLinks,k),ft=(0,d.J6)(Je.targetLinks,_),Re=((nt&&ft?(nt+ft)/2:nt||ft)-C(Je))*Ft;Je.y0+=Re,Je.y1+=Re}})})}function xt(){ht.forEach(function(Ft){var Ot,Bt,qt,Vt=_e,Ke=Ft.length;for(Ft.sort(w),qt=0;qt0&&(Ot.y0+=Bt,Ot.y1+=Bt),Vt=Ot.y1+pe;if((Bt=Vt-pe-Se)>0)for(Vt=Ot.y0-=Bt,Ot.y1-=Bt,qt=Ke-2;qt>=0;--qt)(Bt=(Ot=Ft[qt]).y1+pe-Vt)>0&&(Ot.y0-=Bt,Ot.y1-=Bt),Vt=Ot.y0})}}function $e(Ye){Ye.nodes.forEach(function(st){st.sourceLinks.sort(m),st.targetLinks.sort(c)}),Ye.nodes.forEach(function(st){var ot=st.y0,ht=ot,bt=st.y1,Et=bt;st.sourceLinks.forEach(function(kt){kt.circular?(kt.y0=bt-kt.width/2,bt-=kt.width):(kt.y0=ot+kt.width/2,ot+=kt.width)}),st.targetLinks.forEach(function(kt){kt.circular?(kt.y1=Et-kt.width/2,Et-=kt.width):(kt.y1=ht+kt.width/2,ht+=kt.width)})})}return je.nodeId=function(Ye){return arguments.length?(ae=typeof Ye=="function"?Ye:s(Ye),je):ae},je.nodeAlign=function(Ye){return arguments.length?(fe=typeof Ye=="function"?Ye:s(Ye),je):fe},je.nodeWidth=function(Ye){return arguments.length?(Ce=+Ye,je):Ce},je.nodePadding=function(Ye){return arguments.length?(pe=+Ye,je):pe},je.nodes=function(Ye){return arguments.length?(be=typeof Ye=="function"?Ye:s(Ye),je):be},je.links=function(Ye){return arguments.length?(ke=typeof Ye=="function"?Ye:s(Ye),je):ke},je.size=function(Ye){return arguments.length?(Pe=_e=0,Me=+Ye[0],Se=+Ye[1],je):[Me-Pe,Se-_e]},je.extent=function(Ye){return arguments.length?(Pe=+Ye[0][0],Me=+Ye[1][0],_e=+Ye[0][1],Se=+Ye[1][1],je):[[Pe,_e],[Me,Se]]},je.iterations=function(Ye){return arguments.length?(Le=+Ye,je):Le},je.circularLinkGap=function(Ye){return arguments.length?(Be=+Ye,je):Be},je.nodePaddingRatio=function(Ye){return arguments.length?(xe=+Ye,je):xe},je.sortNodes=function(Ye){return arguments.length?(ze=Ye,je):ze},je.update=function(Ye){return F(Ye,ae),$e(Ye),Ye.links.forEach(function(st){st.circular&&(st.circularLinkType=st.y0+st.y11||Me>1)}function j(pe,xe,Pe){return pe.sort(U),pe.forEach(function(_e,Me){var Se,Ce,ae=0;if(de(_e,Pe)&&W(_e))_e.circularPathData.verticalBuffer=ae+_e.width/2;else{for(var fe=0;feCe.source.column)){var be=pe[fe].circularPathData.verticalBuffer+pe[fe].width/2+xe;ae=be>ae?be:ae}_e.circularPathData.verticalBuffer=ae+_e.width/2}}),pe}function $(pe,xe,Pe,_e){var Me=(0,d.VV)(pe.links,function(Se){return Se.source.y0});pe.links.forEach(function(Se){Se.circular&&(Se.circularPathData={})}),j(pe.links.filter(function(Se){return Se.circularLinkType=="top"}),xe,_e),j(pe.links.filter(function(Se){return Se.circularLinkType=="bottom"}),xe,_e),pe.links.forEach(function(Se){if(Se.circular){if(Se.circularPathData.arcRadius=Se.width+I,Se.circularPathData.leftNodeBuffer=5,Se.circularPathData.rightNodeBuffer=5,Se.circularPathData.sourceWidth=Se.source.x1-Se.source.x0,Se.circularPathData.sourceX=Se.source.x0+Se.circularPathData.sourceWidth,Se.circularPathData.targetX=Se.target.x0,Se.circularPathData.sourceY=Se.y0,Se.circularPathData.targetY=Se.y1,de(Se,_e)&&W(Se))Se.circularPathData.leftSmallArcRadius=I+Se.width/2,Se.circularPathData.leftLargeArcRadius=I+Se.width/2,Se.circularPathData.rightSmallArcRadius=I+Se.width/2,Se.circularPathData.rightLargeArcRadius=I+Se.width/2,Se.circularLinkType=="bottom"?(Se.circularPathData.verticalFullExtent=Se.source.y1+R+Se.circularPathData.verticalBuffer,Se.circularPathData.verticalLeftInnerExtent=Se.circularPathData.verticalFullExtent-Se.circularPathData.leftLargeArcRadius,Se.circularPathData.verticalRightInnerExtent=Se.circularPathData.verticalFullExtent-Se.circularPathData.rightLargeArcRadius):(Se.circularPathData.verticalFullExtent=Se.source.y0-R-Se.circularPathData.verticalBuffer,Se.circularPathData.verticalLeftInnerExtent=Se.circularPathData.verticalFullExtent+Se.circularPathData.leftLargeArcRadius,Se.circularPathData.verticalRightInnerExtent=Se.circularPathData.verticalFullExtent+Se.circularPathData.rightLargeArcRadius);else{var Ce=Se.source.column,ae=Se.circularLinkType,fe=pe.links.filter(function(Le){return Le.source.column==Ce&&Le.circularLinkType==ae});Se.circularLinkType=="bottom"?fe.sort(q):fe.sort(G);var be=0;fe.forEach(function(Le,Be){Le.circularLinkID==Se.circularLinkID&&(Se.circularPathData.leftSmallArcRadius=I+Se.width/2+be,Se.circularPathData.leftLargeArcRadius=I+Se.width/2+Be*xe+be),be+=Le.width}),Ce=Se.target.column,fe=pe.links.filter(function(Le){return Le.target.column==Ce&&Le.circularLinkType==ae}),Se.circularLinkType=="bottom"?fe.sort(ne):fe.sort(H),be=0,fe.forEach(function(Le,Be){Le.circularLinkID==Se.circularLinkID&&(Se.circularPathData.rightSmallArcRadius=I+Se.width/2+be,Se.circularPathData.rightLargeArcRadius=I+Se.width/2+Be*xe+be),be+=Le.width}),Se.circularLinkType=="bottom"?(Se.circularPathData.verticalFullExtent=Math.max(Pe,Se.source.y1,Se.target.y1)+R+Se.circularPathData.verticalBuffer,Se.circularPathData.verticalLeftInnerExtent=Se.circularPathData.verticalFullExtent-Se.circularPathData.leftLargeArcRadius,Se.circularPathData.verticalRightInnerExtent=Se.circularPathData.verticalFullExtent-Se.circularPathData.rightLargeArcRadius):(Se.circularPathData.verticalFullExtent=Me-R-Se.circularPathData.verticalBuffer,Se.circularPathData.verticalLeftInnerExtent=Se.circularPathData.verticalFullExtent+Se.circularPathData.leftLargeArcRadius,Se.circularPathData.verticalRightInnerExtent=Se.circularPathData.verticalFullExtent+Se.circularPathData.rightLargeArcRadius)}Se.circularPathData.leftInnerExtent=Se.circularPathData.sourceX+Se.circularPathData.leftNodeBuffer,Se.circularPathData.rightInnerExtent=Se.circularPathData.targetX-Se.circularPathData.rightNodeBuffer,Se.circularPathData.leftFullExtent=Se.circularPathData.sourceX+Se.circularPathData.leftLargeArcRadius+Se.circularPathData.leftNodeBuffer,Se.circularPathData.rightFullExtent=Se.circularPathData.targetX-Se.circularPathData.rightLargeArcRadius-Se.circularPathData.rightNodeBuffer}if(Se.circular)Se.path=function(Le){return Le.circularLinkType=="top"?"M"+Le.circularPathData.sourceX+" "+Le.circularPathData.sourceY+" L"+Le.circularPathData.leftInnerExtent+" "+Le.circularPathData.sourceY+" A"+Le.circularPathData.leftLargeArcRadius+" "+Le.circularPathData.leftSmallArcRadius+" 0 0 0 "+Le.circularPathData.leftFullExtent+" "+(Le.circularPathData.sourceY-Le.circularPathData.leftSmallArcRadius)+" L"+Le.circularPathData.leftFullExtent+" "+Le.circularPathData.verticalLeftInnerExtent+" A"+Le.circularPathData.leftLargeArcRadius+" "+Le.circularPathData.leftLargeArcRadius+" 0 0 0 "+Le.circularPathData.leftInnerExtent+" "+Le.circularPathData.verticalFullExtent+" L"+Le.circularPathData.rightInnerExtent+" "+Le.circularPathData.verticalFullExtent+" A"+Le.circularPathData.rightLargeArcRadius+" "+Le.circularPathData.rightLargeArcRadius+" 0 0 0 "+Le.circularPathData.rightFullExtent+" "+Le.circularPathData.verticalRightInnerExtent+" L"+Le.circularPathData.rightFullExtent+" "+(Le.circularPathData.targetY-Le.circularPathData.rightSmallArcRadius)+" A"+Le.circularPathData.rightLargeArcRadius+" "+Le.circularPathData.rightSmallArcRadius+" 0 0 0 "+Le.circularPathData.rightInnerExtent+" "+Le.circularPathData.targetY+" L"+Le.circularPathData.targetX+" "+Le.circularPathData.targetY:"M"+Le.circularPathData.sourceX+" "+Le.circularPathData.sourceY+" L"+Le.circularPathData.leftInnerExtent+" "+Le.circularPathData.sourceY+" A"+Le.circularPathData.leftLargeArcRadius+" "+Le.circularPathData.leftSmallArcRadius+" 0 0 1 "+Le.circularPathData.leftFullExtent+" "+(Le.circularPathData.sourceY+Le.circularPathData.leftSmallArcRadius)+" L"+Le.circularPathData.leftFullExtent+" "+Le.circularPathData.verticalLeftInnerExtent+" A"+Le.circularPathData.leftLargeArcRadius+" "+Le.circularPathData.leftLargeArcRadius+" 0 0 1 "+Le.circularPathData.leftInnerExtent+" "+Le.circularPathData.verticalFullExtent+" L"+Le.circularPathData.rightInnerExtent+" "+Le.circularPathData.verticalFullExtent+" A"+Le.circularPathData.rightLargeArcRadius+" "+Le.circularPathData.rightLargeArcRadius+" 0 0 1 "+Le.circularPathData.rightFullExtent+" "+Le.circularPathData.verticalRightInnerExtent+" L"+Le.circularPathData.rightFullExtent+" "+(Le.circularPathData.targetY+Le.circularPathData.rightSmallArcRadius)+" A"+Le.circularPathData.rightLargeArcRadius+" "+Le.circularPathData.rightSmallArcRadius+" 0 0 1 "+Le.circularPathData.rightInnerExtent+" "+Le.circularPathData.targetY+" L"+Le.circularPathData.targetX+" "+Le.circularPathData.targetY}(Se);else{var ke=(0,i.h5)().source(function(Le){return[Le.source.x0+(Le.source.x1-Le.source.x0),Le.y0]}).target(function(Le){return[Le.target.x0,Le.y1]});Se.path=ke(Se)}})}function U(pe,xe){return te(pe)==te(xe)?pe.circularLinkType=="bottom"?q(pe,xe):G(pe,xe):te(xe)-te(pe)}function G(pe,xe){return pe.y0-xe.y0}function q(pe,xe){return xe.y0-pe.y0}function H(pe,xe){return pe.y1-xe.y1}function ne(pe,xe){return xe.y1-pe.y1}function te(pe){return pe.target.column-pe.source.column}function Z(pe){return pe.target.x0-pe.source.x1}function X(pe,xe){var Pe=B(pe),_e=Z(xe)/Math.tan(Pe);return ye(pe)=="up"?pe.y1+_e:pe.y1-_e}function Q(pe,xe){var Pe=B(pe),_e=Z(xe)/Math.tan(Pe);return ye(pe)=="up"?pe.y1-_e:pe.y1+_e}function re(pe,xe,Pe,_e){pe.links.forEach(function(Me){if(!Me.circular&&Me.target.column-Me.source.column>1){var Se=Me.source.column+1,Ce=Me.target.column-1,ae=1,fe=Ce-Se+1;for(ae=1;Se<=Ce;Se++,ae++)pe.nodes.forEach(function(be){if(be.column==Se){var ke,Le=ae/(fe+1),Be=Math.pow(1-Le,3),ze=3*Le*Math.pow(1-Le,2),je=3*Math.pow(Le,2)*(1-Le),ge=Math.pow(Le,3),we=Be*Me.y0+ze*Me.y0+je*Me.y1+ge*Me.y1,Ee=we-Me.width/2,Ve=we+Me.width/2;Ee>be.y0&&Eest.y0&&Ye.y0st.y0&&Ye.y1st.y1)&&ie($e,ke,xe,Pe)})):(Ve>be.y0&&Vebe.y1)&&(ke=Ve-be.y0+10,be=ie(be,ke,xe,Pe),pe.nodes.forEach(function($e){b($e,_e)!=b(be,_e)&&$e.column==be.column&&$e.y0be.y1&&ie($e,ke,xe,Pe)}))}})}})}function ie(pe,xe,Pe,_e){return pe.y0+xe>=Pe&&pe.y1+xe<=_e&&(pe.y0=pe.y0+xe,pe.y1=pe.y1+xe,pe.targetLinks.forEach(function(Me){Me.y1=Me.y1+xe}),pe.sourceLinks.forEach(function(Me){Me.y0=Me.y0+xe})),pe}function oe(pe,xe,Pe,_e){pe.nodes.forEach(function(Me){_e&&Me.y+(Me.y1-Me.y0)>xe&&(Me.y=Me.y-(Me.y+(Me.y1-Me.y0)-xe));var Se=pe.links.filter(function(fe){return b(fe.source,Pe)==b(Me,Pe)}),Ce=Se.length;Ce>1&&Se.sort(function(fe,be){if(!fe.circular&&!be.circular){if(fe.target.column==be.target.column||!ce(fe,be))return fe.y1-be.y1;if(fe.target.column>be.target.column){var ke=Q(be,fe);return fe.y1-ke}if(be.target.column>fe.target.column)return Q(fe,be)-be.y1}return fe.circular&&!be.circular?fe.circularLinkType=="top"?-1:1:be.circular&&!fe.circular?be.circularLinkType=="top"?1:-1:fe.circular&&be.circular?fe.circularLinkType===be.circularLinkType&&fe.circularLinkType=="top"?fe.target.column===be.target.column?fe.target.y1-be.target.y1:be.target.column-fe.target.column:fe.circularLinkType===be.circularLinkType&&fe.circularLinkType=="bottom"?fe.target.column===be.target.column?be.target.y1-fe.target.y1:fe.target.column-be.target.column:fe.circularLinkType=="top"?-1:1:void 0});var ae=Me.y0;Se.forEach(function(fe){fe.y0=ae+fe.width/2,ae+=fe.width}),Se.forEach(function(fe,be){if(fe.circularLinkType=="bottom"){for(var ke=be+1,Le=0;ke1&&Me.sort(function(ae,fe){if(!ae.circular&&!fe.circular){if(ae.source.column==fe.source.column||!ce(ae,fe))return ae.y0-fe.y0;if(fe.source.column0?"up":"down"}function de(pe,xe){return b(pe.source,xe)==b(pe.target,xe)}function me(pe,xe,Pe){var _e=pe.nodes,Me=pe.links,Se=!1,Ce=!1;if(Me.forEach(function(be){be.circularLinkType=="top"?Se=!0:be.circularLinkType=="bottom"&&(Ce=!0)}),Se==0||Ce==0){var ae=(0,d.VV)(_e,function(be){return be.y0}),fe=(Pe-xe)/((0,d.Fp)(_e,function(be){return be.y1})-ae);_e.forEach(function(be){var ke=(be.y1-be.y0)*fe;be.y0=(be.y0-ae)*fe,be.y1=be.y0+ke}),Me.forEach(function(be){be.y0=(be.y0-ae)*fe,be.y1=(be.y1-ae)*fe,be.width=be.width*fe})}}},30838:function(T,p,t){t.r(p),t.d(p,{sankey:function(){return E},sankeyCenter:function(){return l},sankeyJustify:function(){return f},sankeyLeft:function(){return M},sankeyLinkHorizontal:function(){return b},sankeyRight:function(){return v}});var d=t(33064),g=t(15140);function i(R){return R.target.depth}function M(R){return R.depth}function v(R,I){return I-1-R.height}function f(R,I){return R.sourceLinks.length?R.depth:I-1}function l(R){return R.targetLinks.length?R.depth:R.sourceLinks.length?(0,d.VV)(R.sourceLinks,i)-1:0}function a(R){return function(){return R}}function u(R,I){return s(R.source,I.source)||R.index-I.index}function o(R,I){return s(R.target,I.target)||R.index-I.index}function s(R,I){return R.y0-I.y0}function h(R){return R.value}function c(R){return(R.y0+R.y1)/2}function m(R){return c(R.source)*R.value}function w(R){return c(R.target)*R.value}function y(R){return R.index}function C(R){return R.nodes}function _(R){return R.links}function k(R,I){var O=R.get(I);if(!O)throw new Error("missing: "+I);return O}function E(){var R=0,I=0,O=1,z=1,F=24,B=8,N=y,W=f,j=C,$=_,U=32;function G(){var X={nodes:j.apply(null,arguments),links:$.apply(null,arguments)};return q(X),H(X),ne(X),te(X),Z(X),X}function q(X){X.nodes.forEach(function(re,ie){re.index=ie,re.sourceLinks=[],re.targetLinks=[]});var Q=(0,g.UI)(X.nodes,N);X.links.forEach(function(re,ie){re.index=ie;var oe=re.source,ue=re.target;typeof oe!="object"&&(oe=re.source=k(Q,oe)),typeof ue!="object"&&(ue=re.target=k(Q,ue)),oe.sourceLinks.push(re),ue.targetLinks.push(re)})}function H(X){X.nodes.forEach(function(Q){Q.value=Math.max((0,d.Sm)(Q.sourceLinks,h),(0,d.Sm)(Q.targetLinks,h))})}function ne(X){var Q,re,ie;for(Q=X.nodes,re=[],ie=0;Q.length;++ie,Q=re,re=[])Q.forEach(function(ue){ue.depth=ie,ue.sourceLinks.forEach(function(ce){re.indexOf(ce.target)<0&&re.push(ce.target)})});for(Q=X.nodes,re=[],ie=0;Q.length;++ie,Q=re,re=[])Q.forEach(function(ue){ue.height=ie,ue.targetLinks.forEach(function(ce){re.indexOf(ce.source)<0&&re.push(ce.source)})});var oe=(O-R-F)/(ie-1);X.nodes.forEach(function(ue){ue.x1=(ue.x0=R+Math.max(0,Math.min(ie-1,Math.floor(W.call(null,ue,ie))))*oe)+F})}function te(X){var Q=(0,g.b1)().key(function(ye){return ye.x0}).sortKeys(d.j2).entries(X.nodes).map(function(ye){return ye.values});(function(){var ye=(0,d.Fp)(Q,function(pe){return pe.length}),de=.6666666666666666*(z-I)/(ye-1);B>de&&(B=de);var me=(0,d.VV)(Q,function(pe){return(z-I-(pe.length-1)*B)/(0,d.Sm)(pe,h)});Q.forEach(function(pe){pe.forEach(function(xe,Pe){xe.y1=(xe.y0=Pe)+xe.value*me})}),X.links.forEach(function(pe){pe.width=pe.value*me})})(),ce();for(var re=1,ie=U;ie>0;--ie)ue(re*=.99),ce(),oe(re),ce();function oe(ye){Q.forEach(function(de){de.forEach(function(me){if(me.targetLinks.length){var pe=((0,d.Sm)(me.targetLinks,m)/(0,d.Sm)(me.targetLinks,h)-c(me))*ye;me.y0+=pe,me.y1+=pe}})})}function ue(ye){Q.slice().reverse().forEach(function(de){de.forEach(function(me){if(me.sourceLinks.length){var pe=((0,d.Sm)(me.sourceLinks,w)/(0,d.Sm)(me.sourceLinks,h)-c(me))*ye;me.y0+=pe,me.y1+=pe}})})}function ce(){Q.forEach(function(ye){var de,me,pe,xe=I,Pe=ye.length;for(ye.sort(s),pe=0;pe0&&(de.y0+=me,de.y1+=me),xe=de.y1+B;if((me=xe-B-z)>0)for(xe=de.y0-=me,de.y1-=me,pe=Pe-2;pe>=0;--pe)(me=(de=ye[pe]).y1+B-xe)>0&&(de.y0-=me,de.y1-=me),xe=de.y0})}}function Z(X){X.nodes.forEach(function(Q){Q.sourceLinks.sort(o),Q.targetLinks.sort(u)}),X.nodes.forEach(function(Q){var re=Q.y0,ie=re;Q.sourceLinks.forEach(function(oe){oe.y0=re+oe.width/2,re+=oe.width}),Q.targetLinks.forEach(function(oe){oe.y1=ie+oe.width/2,ie+=oe.width})})}return G.update=function(X){return Z(X),X},G.nodeId=function(X){return arguments.length?(N=typeof X=="function"?X:a(X),G):N},G.nodeAlign=function(X){return arguments.length?(W=typeof X=="function"?X:a(X),G):W},G.nodeWidth=function(X){return arguments.length?(F=+X,G):F},G.nodePadding=function(X){return arguments.length?(B=+X,G):B},G.nodes=function(X){return arguments.length?(j=typeof X=="function"?X:a(X),G):j},G.links=function(X){return arguments.length?($=typeof X=="function"?X:a(X),G):$},G.size=function(X){return arguments.length?(R=I=0,O=+X[0],z=+X[1],G):[O-R,z-I]},G.extent=function(X){return arguments.length?(R=+X[0][0],O=+X[1][0],I=+X[0][1],z=+X[1][1],G):[[R,I],[O,z]]},G.iterations=function(X){return arguments.length?(U=+X,G):U},G}var x=t(45879);function A(R){return[R.source.x1,R.y0]}function L(R){return[R.target.x0,R.y1]}function b(){return(0,x.h5)().source(A).target(L)}},39898:function(T,p,t){var d,g;(function(){var i={version:"3.8.0"},M=[].slice,v=function(se){return M.call(se)},f=self.document;function l(se){return se&&(se.ownerDocument||se.document||se).documentElement}function a(se){return se&&(se.ownerDocument&&se.ownerDocument.defaultView||se.document&&se||se.defaultView)}if(f)try{v(f.documentElement.childNodes)[0].nodeType}catch{v=function(ve){for(var Ie=ve.length,Fe=new Array(Ie);Ie--;)Fe[Ie]=ve[Ie];return Fe}}if(Date.now||(Date.now=function(){return+new Date}),f)try{f.createElement("DIV").style.setProperty("opacity",0,"")}catch{var u=this.Element.prototype,o=u.setAttribute,s=u.setAttributeNS,h=this.CSSStyleDeclaration.prototype,c=h.setProperty;u.setAttribute=function(ve,Ie){o.call(this,ve,Ie+"")},u.setAttributeNS=function(ve,Ie,Fe){s.call(this,ve,Ie,Fe+"")},h.setProperty=function(ve,Ie,Fe){c.call(this,ve,Ie+"",Fe)}}function m(se,ve){return seve?1:se>=ve?0:NaN}function w(se){return se===null?NaN:+se}function y(se){return!isNaN(se)}function C(se){return{left:function(ve,Ie,Fe,Ue){for(arguments.length<3&&(Fe=0),arguments.length<4&&(Ue=ve.length);Fe>>1;se(ve[We],Ie)<0?Fe=We+1:Ue=We}return Fe},right:function(ve,Ie,Fe,Ue){for(arguments.length<3&&(Fe=0),arguments.length<4&&(Ue=ve.length);Fe>>1;se(ve[We],Ie)>0?Ue=We:Fe=We+1}return Fe}}}i.ascending=m,i.descending=function(se,ve){return vese?1:ve>=se?0:NaN},i.min=function(se,ve){var Ie,Fe,Ue=-1,We=se.length;if(arguments.length===1){for(;++Ue=Fe){Ie=Fe;break}for(;++UeFe&&(Ie=Fe)}else{for(;++Ue=Fe){Ie=Fe;break}for(;++UeFe&&(Ie=Fe)}return Ie},i.max=function(se,ve){var Ie,Fe,Ue=-1,We=se.length;if(arguments.length===1){for(;++Ue=Fe){Ie=Fe;break}for(;++UeIe&&(Ie=Fe)}else{for(;++Ue=Fe){Ie=Fe;break}for(;++UeIe&&(Ie=Fe)}return Ie},i.extent=function(se,ve){var Ie,Fe,Ue,We=-1,Xe=se.length;if(arguments.length===1){for(;++We=Fe){Ie=Ue=Fe;break}for(;++WeFe&&(Ie=Fe),Ue=Fe){Ie=Ue=Fe;break}for(;++WeFe&&(Ie=Fe),Ue1)return Xe/(lt-1)},i.deviation=function(){var se=i.variance.apply(this,arguments);return se&&Math.sqrt(se)};var _=C(m);function k(se){return se.length}i.bisectLeft=_.left,i.bisect=i.bisectRight=_.right,i.bisector=function(se){return C(se.length===1?function(ve,Ie){return m(se(ve),Ie)}:se)},i.shuffle=function(se,ve,Ie){(We=arguments.length)<3&&(Ie=se.length,We<2&&(ve=0));for(var Fe,Ue,We=Ie-ve;We;)Ue=Math.random()*We--|0,Fe=se[We+ve],se[We+ve]=se[Ue+ve],se[Ue+ve]=Fe;return se},i.permute=function(se,ve){for(var Ie=ve.length,Fe=new Array(Ie);Ie--;)Fe[Ie]=se[ve[Ie]];return Fe},i.pairs=function(se){for(var ve=0,Ie=se.length-1,Fe=se[0],Ue=new Array(Ie<0?0:Ie);ve=0;)for(ve=(Fe=se[Ue]).length;--ve>=0;)Ie[--Xe]=Fe[ve];return Ie};var E=Math.abs;function x(se){for(var ve=1;se*ve%1;)ve*=10;return ve}function A(se,ve){for(var Ie in ve)Object.defineProperty(se.prototype,Ie,{value:ve[Ie],enumerable:!1})}function L(){this._=Object.create(null)}function b(se){return(se+="")=="__proto__"||se[0]==="\0"?"\0"+se:se}function R(se){return(se+="")[0]==="\0"?se.slice(1):se}function I(se){return b(se)in this._}function O(se){return(se=b(se))in this._&&delete this._[se]}function z(){var se=[];for(var ve in this._)se.push(R(ve));return se}function F(){var se=0;for(var ve in this._)++se;return se}function B(){for(var se in this._)return!1;return!0}function N(){this._=Object.create(null)}function W(se){return se}function j(se,ve,Ie){return function(){var Fe=Ie.apply(ve,arguments);return Fe===ve?se:Fe}}function $(se,ve){if(ve in se)return ve;ve=ve.charAt(0).toUpperCase()+ve.slice(1);for(var Ie=0,Fe=U.length;Ieve;)Ue.push(Fe/We);else for(;(Fe=se+Ie*++Xe)=Fe.length)return ve?ve.call(Ie,lt):se?lt.sort(se):lt;for(var zt,Ut,Ht,en,vn=-1,tn=lt.length,ln=Fe[mt++],an=new L;++vn=Fe.length)return tt;var mt=[],zt=Ue[lt++];return tt.forEach(function(Ut,Ht){mt.push({key:Ut,values:Xe(Ht,lt)})}),zt?mt.sort(function(Ut,Ht){return zt(Ut.key,Ht.key)}):mt}return Ie.map=function(tt,lt){return We(lt,tt,0)},Ie.entries=function(tt){return Xe(We(i.map,tt,0),0)},Ie.key=function(tt){return Fe.push(tt),Ie},Ie.sortKeys=function(tt){return Ue[Fe.length-1]=tt,Ie},Ie.sortValues=function(tt){return se=tt,Ie},Ie.rollup=function(tt){return ve=tt,Ie},Ie},i.set=function(se){var ve=new N;if(se)for(var Ie=0,Fe=se.length;Ie=0&&(Fe=se.slice(Ie+1),se=se.slice(0,Ie)),se)return arguments.length<2?this[se].on(Fe):this[se].on(Fe,ve);if(arguments.length===2){if(ve==null)for(se in this)this.hasOwnProperty(se)&&this[se].on(Fe,null);return this}},i.event=null,i.requote=function(se){return se.replace(X,"\\$&")};var X=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,Q={}.__proto__?function(se,ve){se.__proto__=ve}:function(se,ve){for(var Ie in ve)se[Ie]=ve[Ie]};function re(se){return Q(se,ce),se}var ie=function(se,ve){return ve.querySelector(se)},oe=function(se,ve){return ve.querySelectorAll(se)},ue=function(se,ve){var Ie=se.matches||se[$(se,"matchesSelector")];return ue=function(Fe,Ue){return Ie.call(Fe,Ue)},ue(se,ve)};typeof Sizzle=="function"&&(ie=function(se,ve){return Sizzle(se,ve)[0]||null},oe=Sizzle,ue=Sizzle.matchesSelector),i.selection=function(){return i.select(f.documentElement)};var ce=i.selection.prototype=[];function ye(se){return typeof se=="function"?se:function(){return ie(se,this)}}function de(se){return typeof se=="function"?se:function(){return oe(se,this)}}ce.select=function(se){var ve,Ie,Fe,Ue,We=[];se=ye(se);for(var Xe=-1,tt=this.length;++Xe=0&&(Ie=se.slice(0,ve))!=="xmlns"&&(se=se.slice(ve+1)),pe.hasOwnProperty(Ie)?{space:pe[Ie],local:se}:se}},ce.attr=function(se,ve){if(arguments.length<2){if(typeof se=="string"){var Ie=this.node();return(se=i.ns.qualify(se)).local?Ie.getAttributeNS(se.space,se.local):Ie.getAttribute(se)}for(ve in se)this.each(xe(ve,se[ve]));return this}return this.each(xe(se,ve))},ce.classed=function(se,ve){if(arguments.length<2){if(typeof se=="string"){var Ie=this.node(),Fe=(se=Me(se)).length,Ue=-1;if(ve=Ie.classList){for(;++Ue=0;)(Ie=Fe[Ue])&&(We&&We!==Ie.nextSibling&&We.parentNode.insertBefore(Ie,We),We=Ie);return this},ce.sort=function(se){se=ze.apply(this,arguments);for(var ve=-1,Ie=this.length;++ve=ve&&(ve=Ue+1);!(Xe=tt[ve])&&++ve0&&(se=se.slice(0,Ue));var Xe=$e.get(se);function tt(){var lt=this[Fe];lt&&(this.removeEventListener(se,lt,lt.$),delete this[Fe])}return Xe&&(se=Xe,We=st),Ue?ve?function(){var lt=We(ve,v(arguments));tt.call(this),this.addEventListener(se,this[Fe]=lt,lt.$=Ie),lt._=ve}:tt:ve?G:function(){var lt,mt=new RegExp("^__on([^.]+)"+i.requote(se)+"$");for(var zt in this)if(lt=zt.match(mt)){var Ut=this[zt];this.removeEventListener(lt[1],Ut,Ut.$),delete this[zt]}}}i.selection.enter=ge,i.selection.enter.prototype=we,we.append=ce.append,we.empty=ce.empty,we.node=ce.node,we.call=ce.call,we.size=ce.size,we.select=function(se){for(var ve,Ie,Fe,Ue,We,Xe=[],tt=-1,lt=this.length;++tt1?Vt:se<-1?-Vt:Math.asin(se)}function nt(se){return((se=Math.exp(se))+1/se)/2}var ft=Math.SQRT2;i.interpolateZoom=function(se,ve){var Ie,Fe,Ue=se[0],We=se[1],Xe=se[2],tt=ve[0],lt=ve[1],mt=ve[2],zt=tt-Ue,Ut=lt-We,Ht=zt*zt+Ut*Ut;if(Ht<1e-12)Fe=Math.log(mt/Xe)/ft,Ie=function(Cn){return[Ue+Cn*zt,We+Cn*Ut,Xe*Math.exp(ft*Cn*Fe)]};else{var en=Math.sqrt(Ht),vn=(mt*mt-Xe*Xe+4*Ht)/(2*Xe*2*en),tn=(mt*mt-Xe*Xe-4*Ht)/(2*mt*2*en),ln=Math.log(Math.sqrt(vn*vn+1)-vn),an=Math.log(Math.sqrt(tn*tn+1)-tn);Fe=(an-ln)/ft,Ie=function(Cn){var _n,on=Cn*Fe,Fn=nt(ln),Hn=Xe/(2*en)*(Fn*(_n=ft*on+ln,((_n=Math.exp(2*_n))-1)/(_n+1))-function(ir){return((ir=Math.exp(ir))-1/ir)/2}(ln));return[Ue+Hn*zt,We+Hn*Ut,Xe*Fn/nt(ft*on+ln)]}}return Ie.duration=1e3*Fe,Ie},i.behavior.zoom=function(){var se,ve,Ie,Fe,Ue,We,Xe,tt,lt,mt={x:0,y:0,k:1},zt=[960,500],Ut=Qe,Ht=250,en=0,vn="mousedown.zoom",tn="mousemove.zoom",ln="mouseup.zoom",an="touchstart.zoom",Cn=Z(_n,"zoomstart","zoom","zoomend");function _n(wr){wr.on(vn,kr).on(Ne+".zoom",fi).on("dblclick.zoom",di).on(an,jr)}function on(wr){return[(wr[0]-mt.x)/mt.k,(wr[1]-mt.y)/mt.k]}function Fn(wr){mt.k=Math.max(Ut[0],Math.min(Ut[1],wr))}function Hn(wr,Ur){Ur=function(oi){return[oi[0]*mt.k+mt.x,oi[1]*mt.k+mt.y]}(Ur),mt.x+=wr[0]-Ur[0],mt.y+=wr[1]-Ur[1]}function ir(wr,Ur,oi,ai){wr.__chart__={x:mt.x,y:mt.y,k:mt.k},Fn(Math.pow(2,ai)),Hn(ve=Ur,oi),wr=i.select(wr),Ht>0&&(wr=wr.transition().duration(Ht)),wr.call(_n.event)}function ar(){Xe&&Xe.domain(We.range().map(function(wr){return(wr-mt.x)/mt.k}).map(We.invert)),lt&<.domain(tt.range().map(function(wr){return(wr-mt.y)/mt.k}).map(tt.invert))}function Mr(wr){en++||wr({type:"zoomstart"})}function Er(wr){ar(),wr({type:"zoom",scale:mt.k,translate:[mt.x,mt.y]})}function xr(wr){--en||(wr({type:"zoomend"}),ve=null)}function kr(){var wr=this,Ur=Cn.of(wr,arguments),oi=0,ai=i.select(a(wr)).on(tn,Ni).on(ln,ta),Ii=on(i.mouse(wr)),vi=bt(wr);function Ni(){oi=1,Hn(i.mouse(wr),Ii),Er(Ur)}function ta(){ai.on(tn,null).on(ln,null),vi(oi),xr(Ur)}la.call(wr),Mr(Ur)}function jr(){var wr,Ur=this,oi=Cn.of(Ur,arguments),ai={},Ii=0,vi=".zoom-"+i.event.changedTouches[0].identifier,Ni="touchmove"+vi,ta="touchend"+vi,pa=[],ua=i.select(Ur),Qi=bt(Ur);function na(){var Za=i.touches(Ur);return wr=mt.k,Za.forEach(function(li){li.identifier in ai&&(ai[li.identifier]=on(li))}),Za}function ca(){var Za=i.event.target;i.select(Za).on(Ni,Ia).on(ta,zl),pa.push(Za);for(var li=i.event.changedTouches,fo=0,_o=li.length;fo<_o;++fo)ai[li[fo].identifier]=null;var Aa=na(),Ps=Date.now();if(Aa.length===1){if(Ps-Ue<500){var Ri=Aa[0];ir(Ur,Ri,ai[Ri.identifier],Math.floor(Math.log(mt.k)/Math.LN2)+1),ne()}Ue=Ps}else if(Aa.length>1){Ri=Aa[0];var Xa=Aa[1],jo=Ri[0]-Xa[0],Kc=Ri[1]-Xa[1];Ii=jo*jo+Kc*Kc}}function Ia(){var Za,li,fo,_o,Aa=i.touches(Ur);la.call(Ur);for(var Ps=0,Ri=Aa.length;Ps360?tt-=360:tt<0&&(tt+=360),tt<60?Fe+(Ue-Fe)*tt/60:tt<180?Ue:tt<240?Fe+(Ue-Fe)*(240-tt)/60:Fe}(Xe))}return se=isNaN(se)?0:(se%=360)<0?se+360:se,ve=isNaN(ve)||ve<0?0:ve>1?1:ve,Fe=2*(Ie=Ie<0?0:Ie>1?1:Ie)-(Ue=Ie<=.5?Ie*(1+ve):Ie+ve-Ie*ve),new An(We(se+120),We(se),We(se-120))}function Lt(se,ve,Ie){return this instanceof Lt?(this.h=+se,this.c=+ve,void(this.l=+Ie)):arguments.length<2?se instanceof Lt?new Lt(se.h,se.c,se.l):Qt(se instanceof wt?se.l:(se=Dn((se=i.rgb(se)).r,se.g,se.b)).l,se.a,se.b):new Lt(se,ve,Ie)}_t.brighter=function(se){return se=Math.pow(.7,arguments.length?se:1),new dt(this.h,this.s,this.l/se)},_t.darker=function(se){return se=Math.pow(.7,arguments.length?se:1),new dt(this.h,this.s,se*this.l)},_t.rgb=function(){return It(this.h,this.s,this.l)},i.hcl=Lt;var yt=Lt.prototype=new ut;function Pt(se,ve,Ie){return isNaN(se)&&(se=0),isNaN(ve)&&(ve=0),new wt(Ie,Math.cos(se*=Ke)*ve,Math.sin(se)*ve)}function wt(se,ve,Ie){return this instanceof wt?(this.l=+se,this.a=+ve,void(this.b=+Ie)):arguments.length<2?se instanceof wt?new wt(se.l,se.a,se.b):se instanceof Lt?Pt(se.h,se.c,se.l):Dn((se=An(se)).r,se.g,se.b):new wt(se,ve,Ie)}yt.brighter=function(se){return new Lt(this.h,this.c,Math.min(100,this.l+Rt*(arguments.length?se:1)))},yt.darker=function(se){return new Lt(this.h,this.c,Math.max(0,this.l-Rt*(arguments.length?se:1)))},yt.rgb=function(){return Pt(this.h,this.c,this.l).rgb()},i.lab=wt;var Rt=18,Nt=.95047,Yt=1.08883,Wt=wt.prototype=new ut;function Xt(se,ve,Ie){var Fe=(se+16)/116,Ue=Fe+ve/500,We=Fe-Ie/200;return new An(un(3.2404542*(Ue=rn(Ue)*Nt)-1.5371385*(Fe=1*rn(Fe))-.4985314*(We=rn(We)*Yt)),un(-.969266*Ue+1.8760108*Fe+.041556*We),un(.0556434*Ue-.2040259*Fe+1.0572252*We))}function Qt(se,ve,Ie){return se>0?new Lt(Math.atan2(Ie,ve)*Je,Math.sqrt(ve*ve+Ie*Ie),se):new Lt(NaN,NaN,se)}function rn(se){return se>.206893034?se*se*se:(se-.13793103448275862)/7.787037}function xn(se){return se>.008856?Math.pow(se,.3333333333333333):7.787037*se+.13793103448275862}function un(se){return Math.round(255*(se<=.00304?12.92*se:1.055*Math.pow(se,.4166666666666667)-.055))}function An(se,ve,Ie){return this instanceof An?(this.r=~~se,this.g=~~ve,void(this.b=~~Ie)):arguments.length<2?se instanceof An?new An(se.r,se.g,se.b):dn(""+se,An,It):new An(se,ve,Ie)}function Yn(se){return new An(se>>16,se>>8&255,255&se)}function kn(se){return Yn(se)+""}Wt.brighter=function(se){return new wt(Math.min(100,this.l+Rt*(arguments.length?se:1)),this.a,this.b)},Wt.darker=function(se){return new wt(Math.max(0,this.l-Rt*(arguments.length?se:1)),this.a,this.b)},Wt.rgb=function(){return Xt(this.l,this.a,this.b)},i.rgb=An;var sn=An.prototype=new ut;function Tn(se){return se<16?"0"+Math.max(0,se).toString(16):Math.min(255,se).toString(16)}function dn(se,ve,Ie){var Fe,Ue,We,Xe=0,tt=0,lt=0;if(Fe=/([a-z]+)\((.*)\)/.exec(se=se.toLowerCase()))switch(Ue=Fe[2].split(","),Fe[1]){case"hsl":return Ie(parseFloat(Ue[0]),parseFloat(Ue[1])/100,parseFloat(Ue[2])/100);case"rgb":return ve(jn(Ue[0]),jn(Ue[1]),jn(Ue[2]))}return(We=Gn.get(se))?ve(We.r,We.g,We.b):(se==null||se.charAt(0)!=="#"||isNaN(We=parseInt(se.slice(1),16))||(se.length===4?(Xe=(3840&We)>>4,Xe|=Xe>>4,tt=240&We,tt|=tt>>4,lt=15&We,lt|=lt<<4):se.length===7&&(Xe=(16711680&We)>>16,tt=(65280&We)>>8,lt=255&We)),ve(Xe,tt,lt))}function pn(se,ve,Ie){var Fe,Ue,We=Math.min(se/=255,ve/=255,Ie/=255),Xe=Math.max(se,ve,Ie),tt=Xe-We,lt=(Xe+We)/2;return tt?(Ue=lt<.5?tt/(Xe+We):tt/(2-Xe-We),Fe=se==Xe?(ve-Ie)/tt+(ve0&<<1?0:Fe),new dt(Fe,Ue,lt)}function Dn(se,ve,Ie){var Fe=xn((.4124564*(se=In(se))+.3575761*(ve=In(ve))+.1804375*(Ie=In(Ie)))/Nt),Ue=xn((.2126729*se+.7151522*ve+.072175*Ie)/1);return wt(116*Ue-16,500*(Fe-Ue),200*(Ue-xn((.0193339*se+.119192*ve+.9503041*Ie)/Yt)))}function In(se){return(se/=255)<=.04045?se/12.92:Math.pow((se+.055)/1.055,2.4)}function jn(se){var ve=parseFloat(se);return se.charAt(se.length-1)==="%"?Math.round(2.55*ve):ve}sn.brighter=function(se){se=Math.pow(.7,arguments.length?se:1);var ve=this.r,Ie=this.g,Fe=this.b,Ue=30;return ve||Ie||Fe?(ve&&ve=200&&Ut<300||Ut===304){try{zt=Ie.call(Ue,tt)}catch(Ht){return void We.error.call(Ue,Ht)}We.load.call(Ue,zt)}else We.error.call(Ue,tt)}return self.XDomainRequest&&!("withCredentials"in tt)&&/^(http(s)?:)?\/\//.test(se)&&(tt=new XDomainRequest),"onload"in tt?tt.onload=tt.onerror=mt:tt.onreadystatechange=function(){tt.readyState>3&&mt()},tt.onprogress=function(zt){var Ut=i.event;i.event=zt;try{We.progress.call(Ue,tt)}finally{i.event=Ut}},Ue.header=function(zt,Ut){return zt=(zt+"").toLowerCase(),arguments.length<2?Xe[zt]:(Ut==null?delete Xe[zt]:Xe[zt]=Ut+"",Ue)},Ue.mimeType=function(zt){return arguments.length?(ve=zt==null?null:zt+"",Ue):ve},Ue.responseType=function(zt){return arguments.length?(lt=zt,Ue):lt},Ue.response=function(zt){return Ie=zt,Ue},["get","post"].forEach(function(zt){Ue[zt]=function(){return Ue.send.apply(Ue,[zt].concat(v(arguments)))}}),Ue.send=function(zt,Ut,Ht){if(arguments.length===2&&typeof Ut=="function"&&(Ht=Ut,Ut=null),tt.open(zt,se,!0),ve==null||"accept"in Xe||(Xe.accept=ve+",*/*"),tt.setRequestHeader)for(var en in Xe)tt.setRequestHeader(en,Xe[en]);return ve!=null&&tt.overrideMimeType&&tt.overrideMimeType(ve),lt!=null&&(tt.responseType=lt),Ht!=null&&Ue.on("error",Ht).on("load",function(vn){Ht(null,vn)}),We.beforesend.call(Ue,tt),tt.send(Ut??null),Ue},Ue.abort=function(){return tt.abort(),Ue},i.rebind(Ue,We,"on"),Fe==null?Ue:Ue.get(function(zt){return zt.length===1?function(Ut,Ht){zt(Ut==null?Ht:null)}:zt}(Fe))}Gn.forEach(function(se,ve){Gn.set(se,Yn(ve))}),i.functor=qn,i.xhr=lr(W),i.dsv=function(se,ve){var Ie=new RegExp('["'+se+` ]`),Fe=se.charCodeAt(0);function Ue(mt,zt,Ut){arguments.length<3&&(Ut=zt,zt=null);var Ht=rr(mt,ve,zt==null?We:Xe(zt),Ut);return Ht.row=function(en){return arguments.length?Ht.response((zt=en)==null?We:Xe(en)):zt},Ht}function We(mt){return Ue.parse(mt.responseText)}function Xe(mt){return function(zt){return Ue.parse(zt.responseText,mt)}}function tt(mt){return mt.map(lt).join(se)}function lt(mt){return Ie.test(mt)?'"'+mt.replace(/\"/g,'""')+'"':mt}return Ue.parse=function(mt,zt){var Ut;return Ue.parseRows(mt,function(Ht,en){if(Ut)return Ut(Ht,en-1);var vn=function(tn){for(var ln={},an=Ht.length,Cn=0;Cn=ln)return vn;if(Ht)return Ht=!1,en;var Fn=an;if(mt.charCodeAt(Fn)===34){for(var Hn=Fn;Hn++24?(isFinite(ve)&&(clearTimeout(vr),vr=setTimeout(bn,ve)),or=0):(or=1,_r(bn))}function Rn(){for(var se=Date.now(),ve=Sr;ve;)se>=ve.t&&ve.c(se-ve.t)&&(ve.c=null),ve=ve.n;return se}function Ln(){for(var se,ve=Sr,Ie=1/0;ve;)ve.c?(ve.t1&&(ve=se[We[Xe-2]],Ie=se[We[Xe-1]],Fe=se[tt],(Ie[0]-ve[0])*(Fe[1]-ve[1])-(Ie[1]-ve[1])*(Fe[0]-ve[0])<=0);)--Xe;We[Xe++]=tt}return We.slice(0,Xe)}function tr(se,ve){return se[0]-ve[0]||se[1]-ve[1]}i.timer=function(){Kt.apply(this,arguments)},i.timer.flush=function(){Rn(),Ln()},i.round=function(se,ve){return ve?Math.round(se*(ve=Math.pow(10,ve)))/ve:Math.round(se)},i.geom={},i.geom.hull=function(se){var ve=Un,Ie=Kn;if(arguments.length)return Fe(se);function Fe(Ue){if(Ue.length<3)return[];var We,Xe=qn(ve),tt=qn(Ie),lt=Ue.length,mt=[],zt=[];for(We=0;We=0;--We)tn.push(Ue[mt[Ut[We]][2]]);for(We=+en;WeFt)tt=tt.L;else{if(!((Ue=We-Qn(tt,Xe))>Ft)){Fe>-Ft?(ve=tt.P,Ie=tt):Ue>-Ft?(ve=tt,Ie=tt.N):ve=Ie=tt;break}if(!tt.R){ve=tt;break}tt=tt.R}var lt=yn(se);if(zn.insert(ve,lt),ve||Ie){if(ve===Ie)return br(ve),Ie=yn(ve.site),zn.insert(lt,Ie),lt.edge=Ie.edge=zr(ve.site,lt.site),dr(ve),void dr(Ie);if(Ie){br(ve),br(Ie);var mt=ve.site,zt=mt.x,Ut=mt.y,Ht=se.x-zt,en=se.y-Ut,vn=Ie.site,tn=vn.x-zt,ln=vn.y-Ut,an=2*(Ht*ln-en*tn),Cn=Ht*Ht+en*en,_n=tn*tn+ln*ln,on={x:(ln*Cn-en*_n)/an+zt,y:(Ht*_n-tn*Cn)/an+Ut};gr(Ie.edge,mt,vn,on),lt.edge=zr(mt,se,null,on),Ie.edge=zr(se,vn,null,on),dr(ve),dr(Ie)}else lt.edge=zr(ve.site,lt.site)}}function nr(se,ve){var Ie=se.site,Fe=Ie.x,Ue=Ie.y,We=Ue-ve;if(!We)return Fe;var Xe=se.P;if(!Xe)return-1/0;var tt=(Ie=Xe.site).x,lt=Ie.y,mt=lt-ve;if(!mt)return tt;var zt=tt-Fe,Ut=1/We-1/mt,Ht=zt/mt;return Ut?(-Ht+Math.sqrt(Ht*Ht-2*Ut*(zt*zt/(-2*mt)-lt+mt/2+Ue-We/2)))/Ut+Fe:(Fe+tt)/2}function Qn(se,ve){var Ie=se.N;if(Ie)return nr(Ie,ve);var Fe=se.site;return Fe.y===ve?Fe.x:1/0}function hr(se){this.site=se,this.edges=[]}function cr(se,ve){return ve.angle-se.angle}function pr(){ji(this),this.x=this.y=this.arc=this.site=this.cy=null}function dr(se){var ve=se.P,Ie=se.N;if(ve&&Ie){var Fe=ve.site,Ue=se.site,We=Ie.site;if(Fe!==We){var Xe=Ue.x,tt=Ue.y,lt=Fe.x-Xe,mt=Fe.y-tt,zt=We.x-Xe,Ut=2*(lt*(ln=We.y-tt)-mt*zt);if(!(Ut>=-1e-12)){var Ht=lt*lt+mt*mt,en=zt*zt+ln*ln,vn=(ln*Ht-mt*en)/Ut,tn=(lt*en-zt*Ht)/Ut,ln=tn+tt,an=wn.pop()||new pr;an.arc=se,an.site=Ue,an.x=vn+Xe,an.y=ln+Math.sqrt(vn*vn+tn*tn),an.cy=ln,se.circle=an;for(var Cn=null,_n=En._;_n;)if(an.y<_n.y||an.y===_n.y&&an.x<=_n.x){if(!_n.L){Cn=_n.P;break}_n=_n.L}else{if(!_n.R){Cn=_n;break}_n=_n.R}En.insert(Cn,an),Cn||(On=an)}}}}function br(se){var ve=se.circle;ve&&(ve.P||(On=ve.N),En.remove(ve),wn.push(ve),ji(ve),se.circle=null)}function Ir(se,ve){var Ie=se.b;if(Ie)return!0;var Fe,Ue,We=se.a,Xe=ve[0][0],tt=ve[1][0],lt=ve[0][1],mt=ve[1][1],zt=se.l,Ut=se.r,Ht=zt.x,en=zt.y,vn=Ut.x,tn=Ut.y,ln=(Ht+vn)/2,an=(en+tn)/2;if(tn===en){if(ln=tt)return;if(Ht>vn){if(We){if(We.y>=mt)return}else We={x:ln,y:lt};Ie={x:ln,y:mt}}else{if(We){if(We.y1)if(Ht>vn){if(We){if(We.y>=mt)return}else We={x:(lt-Ue)/Fe,y:lt};Ie={x:(mt-Ue)/Fe,y:mt}}else{if(We){if(We.y=tt)return}else We={x:Xe,y:Fe*Xe+Ue};Ie={x:tt,y:Fe*tt+Ue}}else{if(We){if(We.x0)){if(an/=ar,ar<0){if(an0){if(an>ir)return;an>Hn&&(Hn=an)}if(an=Ut-on,ar||!(an<0)){if(an/=ar,ar<0){if(an>ir)return;an>Hn&&(Hn=an)}else if(ar>0){if(an0)){if(an/=Mr,Mr<0){if(an0){if(an>ir)return;an>Hn&&(Hn=an)}if(an=Ht-Fn,Mr||!(an<0)){if(an/=Mr,Mr<0){if(an>ir)return;an>Hn&&(Hn=an)}else if(Mr>0){if(an0&&(ln.a={x:on+Hn*ar,y:Fn+Hn*Mr}),ir<1&&(ln.b={x:on+ir*ar,y:Fn+ir*Mr}),ln}}}}}),tn=en.length;tn--;)(!Ir(lt=en[tn],tt)||!vn(lt)||E(lt.a.x-lt.b.x)Ft||E(Ut-mt)>Ft)&&(vn.splice(en,0,new Fr((ar=Ht.site,Mr=an,Er=E(zt-Cn)Ft?{x:Cn,y:E(lt-Cn)Ft?{x:E(mt-Fn)Ft?{x:_n,y:E(lt-_n)Ft?{x:E(mt-on)=zt&&an.x<=Ht&&an.y>=Ut&&an.y<=en?[[zt,en],[Ht,en],[Ht,Ut],[zt,Ut]]:[]).point=lt[tn]}),mt}function tt(lt){return lt.map(function(mt,zt){return{x:Math.round(Fe(mt,zt)/Ft)*Ft,y:Math.round(Ue(mt,zt)/Ft)*Ft,i:zt}})}return Xe.links=function(lt){return La(tt(lt)).edges.filter(function(mt){return mt.l&&mt.r}).map(function(mt){return{source:lt[mt.l.i],target:lt[mt.r.i]}})},Xe.triangles=function(lt){var mt=[];return La(tt(lt)).cells.forEach(function(zt,Ut){for(var Ht,en,vn,tn,ln=zt.site,an=zt.edges.sort(cr),Cn=-1,_n=an.length,on=an[_n-1].edge,Fn=on.l===ln?on.r:on.l;++Cn<_n;)Ht=Fn,Fn=(on=an[Cn].edge).l===ln?on.r:on.l,UtWe||Ht>Xe||en=Hn)<<1|ve>=Fn,ar=ir+4;irWe&&(Ue=ve.slice(We,Ue),tt[Xe]?tt[Xe]+=Ue:tt[++Xe]=Ue),(Ie=Ie[0])===(Fe=Fe[0])?tt[Xe]?tt[Xe]+=Fe:tt[++Xe]=Fe:(tt[++Xe]=null,lt.push({i:Xe,x:is(Ie,Fe)})),We=hc.lastIndex;return Wean&&(an=zt.x),zt.y>Cn&&(Cn=zt.y),Ut.push(zt.x),Ht.push(zt.y);else for(en=0;enan&&(an=Fn),Hn>Cn&&(Cn=Hn),Ut.push(Fn),Ht.push(Hn)}var ir=an-tn,ar=Cn-ln;function Mr(kr,jr,fi,di,wr,Ur,oi,ai){if(!isNaN(fi)&&!isNaN(di))if(kr.leaf){var Ii=kr.x,vi=kr.y;if(Ii!=null)if(E(Ii-fi)+E(vi-di)<.01)Er(kr,jr,fi,di,wr,Ur,oi,ai);else{var Ni=kr.point;kr.x=kr.y=kr.point=null,Er(kr,Ni,Ii,vi,wr,Ur,oi,ai),Er(kr,jr,fi,di,wr,Ur,oi,ai)}else kr.x=fi,kr.y=di,kr.point=jr}else Er(kr,jr,fi,di,wr,Ur,oi,ai)}function Er(kr,jr,fi,di,wr,Ur,oi,ai){var Ii=.5*(wr+oi),vi=.5*(Ur+ai),Ni=fi>=Ii,ta=di>=vi,pa=ta<<1|Ni;kr.leaf=!1,Ni?wr=Ii:oi=Ii,ta?Ur=vi:ai=vi,Mr(kr=kr.nodes[pa]||(kr.nodes[pa]={leaf:!0,nodes:[],point:null,x:null,y:null}),jr,fi,di,wr,Ur,oi,ai)}ir>ar?Cn=ln+ir:an=tn+ar;var xr={leaf:!0,nodes:[],point:null,x:null,y:null,add:function(kr){Mr(xr,kr,+_n(kr,++en),+on(kr,en),tn,ln,an,Cn)},visit:function(kr){Cu(kr,xr,tn,ln,an,Cn)},find:function(kr){return gf(xr,kr[0],kr[1],tn,ln,an,Cn)}};if(en=-1,ve==null){for(;++en=0&&!(Ie=i.interpolators[Fe](se,ve)););return Ie}function as(se,ve){var Ie,Fe=[],Ue=[],We=se.length,Xe=ve.length,tt=Math.min(se.length,ve.length);for(Ie=0;Ie=1?1:se(ve)}}function Es(se){return function(ve){return 1-se(1-ve)}}function js(se){return function(ve){return .5*(ve<.5?se(2*ve):2-se(2-2*ve))}}function fc(se){return se*se}function vf(se){return se*se*se}function tl(se){if(se<=0)return 0;if(se>=1)return 1;var ve=se*se,Ie=ve*se;return 4*(se<.5?Ie:3*(se-ve)+Ie-.75)}function yf(se){return 1-Math.cos(se*Vt)}function bf(se){return Math.pow(2,10*(se-1))}function id(se){return 1-Math.sqrt(1-se*se)}function Sh(se){return se<.36363636363636365?7.5625*se*se:se<.7272727272727273?7.5625*(se-=.5454545454545454)*se+.75:se<.9090909090909091?7.5625*(se-=.8181818181818182)*se+.9375:7.5625*(se-=.9545454545454546)*se+.984375}function xf(se,ve){return ve-=se,function(Ie){return Math.round(se+ve*Ie)}}function Ch(se){var ve,Ie,Fe,Ue=[se.a,se.b],We=[se.c,se.d],Xe=rl(Ue),tt=nl(Ue,We),lt=rl(((ve=We)[0]+=(Fe=-tt)*(Ie=Ue)[0],ve[1]+=Fe*Ie[1],ve))||0;Ue[0]*We[1]=0?se.slice(0,ve):se,Fe=ve>=0?se.slice(ve+1):"in";return Ie=Ui.get(Ie)||Ml,ps((Fe=Al.get(Fe)||W)(Ie.apply(null,M.call(arguments,1))))},i.interpolateHcl=function(se,ve){se=i.hcl(se),ve=i.hcl(ve);var Ie=se.h,Fe=se.c,Ue=se.l,We=ve.h-Ie,Xe=ve.c-Fe,tt=ve.l-Ue;return isNaN(Xe)&&(Xe=0,Fe=isNaN(Fe)?ve.c:Fe),isNaN(We)?(We=0,Ie=isNaN(Ie)?ve.h:Ie):We>180?We-=360:We<-180&&(We+=360),function(lt){return Pt(Ie+We*lt,Fe+Xe*lt,Ue+tt*lt)+""}},i.interpolateHsl=function(se,ve){se=i.hsl(se),ve=i.hsl(ve);var Ie=se.h,Fe=se.s,Ue=se.l,We=ve.h-Ie,Xe=ve.s-Fe,tt=ve.l-Ue;return isNaN(Xe)&&(Xe=0,Fe=isNaN(Fe)?ve.s:Fe),isNaN(We)?(We=0,Ie=isNaN(Ie)?ve.h:Ie):We>180?We-=360:We<-180&&(We+=360),function(lt){return It(Ie+We*lt,Fe+Xe*lt,Ue+tt*lt)+""}},i.interpolateLab=function(se,ve){se=i.lab(se),ve=i.lab(ve);var Ie=se.l,Fe=se.a,Ue=se.b,We=ve.l-Ie,Xe=ve.a-Fe,tt=ve.b-Ue;return function(lt){return Xt(Ie+We*lt,Fe+Xe*lt,Ue+tt*lt)+""}},i.interpolateRound=xf,i.transform=function(se){var ve=f.createElementNS(i.ns.prefix.svg,"g");return(i.transform=function(Ie){if(Ie!=null){ve.setAttribute("transform",Ie);var Fe=ve.transform.baseVal.consolidate()}return new Ch(Fe?Fe.matrix:Lu)})(se)},Ch.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var Lu={a:1,b:0,c:0,d:1,e:0,f:0};function il(se){return se.length?se.pop()+",":""}function Eh(se,ve){var Ie=[],Fe=[];return se=i.transform(se),ve=i.transform(ve),function(Ue,We,Xe,tt){if(Ue[0]!==We[0]||Ue[1]!==We[1]){var lt=Xe.push("translate(",null,",",null,")");tt.push({i:lt-4,x:is(Ue[0],We[0])},{i:lt-2,x:is(Ue[1],We[1])})}else(We[0]||We[1])&&Xe.push("translate("+We+")")}(se.translate,ve.translate,Ie,Fe),function(Ue,We,Xe,tt){Ue!==We?(Ue-We>180?We+=360:We-Ue>180&&(Ue+=360),tt.push({i:Xe.push(il(Xe)+"rotate(",null,")")-2,x:is(Ue,We)})):We&&Xe.push(il(Xe)+"rotate("+We+")")}(se.rotate,ve.rotate,Ie,Fe),function(Ue,We,Xe,tt){Ue!==We?tt.push({i:Xe.push(il(Xe)+"skewX(",null,")")-2,x:is(Ue,We)}):We&&Xe.push(il(Xe)+"skewX("+We+")")}(se.skew,ve.skew,Ie,Fe),function(Ue,We,Xe,tt){if(Ue[0]!==We[0]||Ue[1]!==We[1]){var lt=Xe.push(il(Xe)+"scale(",null,",",null,")");tt.push({i:lt-4,x:is(Ue[0],We[0])},{i:lt-2,x:is(Ue[1],We[1])})}else We[0]===1&&We[1]===1||Xe.push(il(Xe)+"scale("+We+")")}(se.scale,ve.scale,Ie,Fe),se=ve=null,function(Ue){for(var We,Xe=-1,tt=Fe.length;++Xe0?Ie=on:(se.c=null,se.t=NaN,se=null,tt.end({type:"end",alpha:Ie=0})):on>0&&(tt.start({type:"start",alpha:Ie=on}),se=Kt(Xe.tick)),Xe):Ie},Xe.start=function(){var on,Fn,Hn,ir=ln.length,ar=an.length,Mr=lt[0],Er=lt[1];for(on=0;on=0;)Ie.push(Ue[Fe])}function ms(se,ve){for(var Ie=[se],Fe=[];(se=Ie.pop())!=null;)if(Fe.push(se),(We=se.children)&&(Ue=We.length))for(var Ue,We,Xe=-1;++Xe=0;)Xe.push(zt=mt[lt]),zt.parent=We,zt.depth=We.depth+1;Ie&&(We.value=0),We.children=mt}else Ie&&(We.value=+Ie.call(Fe,We,We.depth)||0),delete We.children;return ms(Ue,function(Ut){var Ht,en;se&&(Ht=Ut.children)&&Ht.sort(se),Ie&&(en=Ut.parent)&&(en.value+=Ut.value)}),tt}return Fe.sort=function(Ue){return arguments.length?(se=Ue,Fe):se},Fe.children=function(Ue){return arguments.length?(ve=Ue,Fe):ve},Fe.value=function(Ue){return arguments.length?(Ie=Ue,Fe):Ie},Fe.revalue=function(Ue){return Ie&&(Ru(Ue,function(We){We.children&&(We.value=0)}),ms(Ue,function(We){var Xe;We.children||(We.value=+Ie.call(Fe,We,We.depth)||0),(Xe=We.parent)&&(Xe.value+=We.value)})),Ue},Fe},i.layout.partition=function(){var se=i.layout.hierarchy(),ve=[1,1];function Ie(We,Xe,tt,lt){var mt=We.children;if(We.x=Xe,We.y=We.depth*lt,We.dx=tt,We.dy=lt,mt&&(zt=mt.length)){var zt,Ut,Ht,en=-1;for(tt=We.value?tt/We.value:0;++entt&&(tt=Fe),Xe.push(Fe)}for(Ie=0;IeUe&&(Fe=Ie,Ue=ve);return Fe}function El(se){return se.reduce(Hc,0)}function Hc(se,ve){return se+ve[1]}function xc(se,ve){return Ph(se,Math.ceil(Math.log(ve.length)/Math.LN2+1))}function Ph(se,ve){for(var Ie=-1,Fe=+se[0],Ue=(se[1]-Fe)/ve,We=[];++Ie<=ve;)We[Ie]=Ue*Ie+Fe;return We}function _c(se){return[i.min(se),i.max(se)]}function Du(se,ve){return se.value-ve.value}function ru(se,ve){var Ie=se._pack_next;se._pack_next=ve,ve._pack_prev=se,ve._pack_next=Ie,Ie._pack_prev=ve}function iu(se,ve){se._pack_next=ve,ve._pack_prev=se}function Ki(se,ve){var Ie=ve.x-se.x,Fe=ve.y-se.y,Ue=se.r+ve.r;return .999*Ue*Ue>Ie*Ie+Fe*Fe}function Ll(se){if((ve=se.children)&&(lt=ve.length)){var ve,Ie,Fe,Ue,We,Xe,tt,lt,mt=1/0,zt=-1/0,Ut=1/0,Ht=-1/0;if(ve.forEach(Il),(Ie=ve[0]).x=-Ie.r,Ie.y=0,_n(Ie),lt>1&&((Fe=ve[1]).x=Fe.r,Fe.y=0,_n(Fe),lt>2))for(Bi(Ie,Fe,Ue=ve[2]),_n(Ue),ru(Ie,Ue),Ie._pack_prev=Ue,ru(Ue,Fe),Fe=Ie._pack_next,We=3;We0)for(Xe=-1;++Xe=Ut[0]&<<=Ut[1]&&((tt=mt[i.bisect(Ht,lt,1,vn)-1]).y+=tn,tt.push(We[Xe]));return mt}return Ue.value=function(We){return arguments.length?(ve=We,Ue):ve},Ue.range=function(We){return arguments.length?(Ie=qn(We),Ue):Ie},Ue.bins=function(We){return arguments.length?(Fe=typeof We=="number"?function(Xe){return Ph(Xe,We)}:qn(We),Ue):Fe},Ue.frequency=function(We){return arguments.length?(se=!!We,Ue):se},Ue},i.layout.pack=function(){var se,ve=i.layout.hierarchy().sort(Du),Ie=0,Fe=[1,1];function Ue(We,Xe){var tt=ve.call(this,We,Xe),lt=tt[0],mt=Fe[0],zt=Fe[1],Ut=se==null?Math.sqrt:typeof se=="function"?se:function(){return se};if(lt.x=lt.y=0,ms(lt,function(en){en.r=+Ut(en.value)}),ms(lt,Ll),Ie){var Ht=Ie*(se?1:Math.max(2*lt.r/mt,2*lt.r/zt))/2;ms(lt,function(en){en.r+=Ht}),ms(lt,Ll),ms(lt,function(en){en.r-=Ht})}return Oi(lt,mt/2,zt/2,se?1:1/Math.max(2*lt.r/mt,2*lt.r/zt)),tt}return Ue.size=function(We){return arguments.length?(Fe=We,Ue):Fe},Ue.radius=function(We){return arguments.length?(se=We==null||typeof We=="function"?We:+We,Ue):se},Ue.padding=function(We){return arguments.length?(Ie=+We,Ue):Ie},eu(Ue,ve)},i.layout.tree=function(){var se=i.layout.hierarchy().sort(null).value(null),ve=ol,Ie=[1,1],Fe=null;function Ue(lt,mt){var zt=se.call(this,lt,mt),Ut=zt[0],Ht=function(_n){for(var on,Fn={A:null,children:[_n]},Hn=[Fn];(on=Hn.pop())!=null;)for(var ir,ar=on.children,Mr=0,Er=ar.length;Mrvn.x&&(vn=_n),_n.depth>tn.depth&&(tn=_n)});var ln=ve(en,vn)/2-en.x,an=Ie[0]/(vn.x+ve(vn,en)/2+ln),Cn=Ie[1]/(tn.depth||1);Ru(Ut,function(_n){_n.x=(_n.x+ln)*an,_n.y=_n.depth*Cn})}return zt}function We(lt){var mt=lt.children,zt=lt.parent.children,Ut=lt.i?zt[lt.i-1]:null;if(mt.length){(function(en){for(var vn,tn=0,ln=0,an=en.children,Cn=an.length;--Cn>=0;)(vn=an[Cn]).z+=tn,vn.m+=tn,tn+=vn.s+(ln+=vn.c)})(lt);var Ht=(mt[0].z+mt[mt.length-1].z)/2;Ut?(lt.z=Ut.z+ve(lt._,Ut._),lt.m=lt.z-Ht):lt.z=Ht}else Ut&&(lt.z=Ut.z+ve(lt._,Ut._));lt.parent.A=function(en,vn,tn){if(vn){for(var ln,an=en,Cn=en,_n=vn,on=an.parent.children[0],Fn=an.m,Hn=Cn.m,ir=_n.m,ar=on.m;_n=Gc(_n),an=Us(an),_n&&an;)on=Us(on),(Cn=Gc(Cn)).a=en,(ln=_n.z+ir-an.z-Fn+ve(_n._,an._))>0&&(Oh(au(_n,en,tn),en,ln),Fn+=ln,Hn+=ln),ir+=_n.m,Fn+=an.m,ar+=on.m,Hn+=Cn.m;_n&&!Gc(Cn)&&(Cn.t=_n,Cn.m+=ir-Hn),an&&!Us(on)&&(on.t=an,on.m+=Fn-ar,tn=en)}return tn}(lt,Ut,lt.parent.A||zt[0])}function Xe(lt){lt._.x=lt.z+lt.parent.m,lt.m+=lt.parent.m}function tt(lt){lt.x*=Ie[0],lt.y=lt.depth*Ie[1]}return Ue.separation=function(lt){return arguments.length?(ve=lt,Ue):ve},Ue.size=function(lt){return arguments.length?(Fe=(Ie=lt)==null?tt:null,Ue):Fe?null:Ie},Ue.nodeSize=function(lt){return arguments.length?(Fe=(Ie=lt)==null?null:tt,Ue):Fe?Ie:null},eu(Ue,se)},i.layout.cluster=function(){var se=i.layout.hierarchy().sort(null).value(null),ve=ol,Ie=[1,1],Fe=!1;function Ue(We,Xe){var tt,lt=se.call(this,We,Xe),mt=lt[0],zt=0;ms(mt,function(tn){var ln=tn.children;ln&&ln.length?(tn.x=function(an){return an.reduce(function(Cn,_n){return Cn+_n.x},0)/an.length}(ln),tn.y=function(an){return 1+i.max(an,function(Cn){return Cn.y})}(ln)):(tn.x=tt?zt+=ve(tn,tt):0,tn.y=0,tt=tn)});var Ut=Dh(mt),Ht=ou(mt),en=Ut.x-ve(Ut,Ht)/2,vn=Ht.x+ve(Ht,Ut)/2;return ms(mt,Fe?function(tn){tn.x=(tn.x-mt.x)*Ie[0],tn.y=(mt.y-tn.y)*Ie[1]}:function(tn){tn.x=(tn.x-en)/(vn-en)*Ie[0],tn.y=(1-(mt.y?tn.y/mt.y:1))*Ie[1]}),lt}return Ue.separation=function(We){return arguments.length?(ve=We,Ue):ve},Ue.size=function(We){return arguments.length?(Fe=(Ie=We)==null,Ue):Fe?null:Ie},Ue.nodeSize=function(We){return arguments.length?(Fe=(Ie=We)!=null,Ue):Fe?Ie:null},eu(Ue,se)},i.layout.treemap=function(){var se,ve=i.layout.hierarchy(),Ie=Math.round,Fe=[1,1],Ue=null,We=sl,Xe=!1,tt="squarify",lt=.5*(1+Math.sqrt(5));function mt(tn,ln){for(var an,Cn,_n=-1,on=tn.length;++_n0;)Fn.push(an=Hn[_n-1]),Fn.area+=an.area,tt!=="squarify"||(Cn=Ht(Fn,ar))<=ir?(Hn.pop(),ir=Cn):(Fn.area-=Fn.pop().area,en(Fn,ar,on,!1),ar=Math.min(on.dx,on.dy),Fn.length=Fn.area=0,ir=1/0);Fn.length&&(en(Fn,ar,on,!0),Fn.length=Fn.area=0),ln.forEach(zt)}}function Ut(tn){var ln=tn.children;if(ln&&ln.length){var an,Cn=We(tn),_n=ln.slice(),on=[];for(mt(_n,Cn.dx*Cn.dy/tn.value),on.area=0;an=_n.pop();)on.push(an),on.area+=an.area,an.z!=null&&(en(on,an.z?Cn.dx:Cn.dy,Cn,!_n.length),on.length=on.area=0);ln.forEach(Ut)}}function Ht(tn,ln){for(var an,Cn=tn.area,_n=0,on=1/0,Fn=-1,Hn=tn.length;++Fn_n&&(_n=an));return ln*=ln,(Cn*=Cn)?Math.max(ln*_n*lt/Cn,Cn/(ln*on*lt)):1/0}function en(tn,ln,an,Cn){var _n,on=-1,Fn=tn.length,Hn=an.x,ir=an.y,ar=ln?Ie(tn.area/ln):0;if(ln==an.dx){for((Cn||ar>an.dy)&&(ar=an.dy);++onan.dx)&&(ar=an.dx);++on1);return se+ve*Fe*Math.sqrt(-2*Math.log(We)/We)}},logNormal:function(){var se=i.random.normal.apply(i,arguments);return function(){return Math.exp(se())}},bates:function(se){var ve=i.random.irwinHall(se);return function(){return ve()/se}},irwinHall:function(se){return function(){for(var ve=0,Ie=0;Ie2?co:lu,mt=Fe?Jl:Lh;return Ue=lt(se,ve,mt,Ie),We=lt(ve,se,mt,Yo),tt}function tt(lt){return Ue(lt)}return tt.invert=function(lt){return We(lt)},tt.domain=function(lt){return arguments.length?(se=lt.map(Number),Xe()):se},tt.range=function(lt){return arguments.length?(ve=lt,Xe()):ve},tt.rangeRound=function(lt){return tt.range(lt).interpolate(xf)},tt.clamp=function(lt){return arguments.length?(Fe=lt,Xe()):Fe},tt.interpolate=function(lt){return arguments.length?(Ie=lt,Xe()):Ie},tt.ticks=function(lt){return $o(se,lt)},tt.tickFormat=function(lt,mt){return d3_scale_linearTickFormat(se,lt,mt)},tt.nice=function(lt){return vs(se,lt),Xe()},tt.copy=function(){return zo(se,ve,Ie,Fe)},Xe()}function Rl(se,ve){return i.rebind(se,ve,"range","rangeRound","interpolate","clamp")}function vs(se,ve){return Ha(se,mo($a(se,ve)[2])),Ha(se,mo($a(se,ve)[2])),se}function $a(se,ve){ve==null&&(ve=10);var Ie=da(se),Fe=Ie[1]-Ie[0],Ue=Math.pow(10,Math.floor(Math.log(Fe/ve)/Math.LN10)),We=ve/Fe*Ue;return We<=.15?Ue*=10:We<=.35?Ue*=5:We<=.75&&(Ue*=2),Ie[0]=Math.ceil(Ie[0]/Ue)*Ue,Ie[1]=Math.floor(Ie[1]/Ue)*Ue+.5*Ue,Ie[2]=Ue,Ie}function $o(se,ve){return i.range.apply(i,$a(se,ve))}function qc(se,ve,Ie,Fe){function Ue(tt){return(Ie?Math.log(tt<0?0:tt):-Math.log(tt>0?0:-tt))/Math.log(ve)}function We(tt){return Ie?Math.pow(ve,tt):-Math.pow(ve,-tt)}function Xe(tt){return se(Ue(tt))}return Xe.invert=function(tt){return We(se.invert(tt))},Xe.domain=function(tt){return arguments.length?(Ie=tt[0]>=0,se.domain((Fe=tt.map(Number)).map(Ue)),Xe):Fe},Xe.base=function(tt){return arguments.length?(ve=+tt,se.domain(Fe.map(Ue)),Xe):ve},Xe.nice=function(){var tt=Ha(Fe.map(Ue),Ie?Math:Wc);return se.domain(tt),Fe=tt.map(We),Xe},Xe.ticks=function(){var tt=da(Fe),lt=[],mt=tt[0],zt=tt[1],Ut=Math.floor(Ue(mt)),Ht=Math.ceil(Ue(zt)),en=ve%1?2:ve;if(isFinite(Ht-Ut)){if(Ie){for(;Ut0;vn--)lt.push(We(Ut)*vn);for(Ut=0;lt[Ut]zt;Ht--);lt=lt.slice(Ut,Ht)}return lt},Xe.copy=function(){return qc(se.copy(),ve,Ie,Fe)},Rl(Xe,se)}i.scale.linear=function(){return zo([0,1],[0,1],Yo,!1)},i.scale.log=function(){return qc(i.scale.linear().domain([0,1]),10,!0,[1,10])};var Wc={floor:function(se){return-Math.ceil(-se)},ceil:function(se){return-Math.floor(-se)}};function Lo(se,ve,Ie){var Fe=Dr(ve),Ue=Dr(1/ve);function We(Xe){return se(Fe(Xe))}return We.invert=function(Xe){return Ue(se.invert(Xe))},We.domain=function(Xe){return arguments.length?(se.domain((Ie=Xe.map(Number)).map(Fe)),We):Ie},We.ticks=function(Xe){return $o(Ie,Xe)},We.tickFormat=function(Xe,tt){return d3_scale_linearTickFormat(Ie,Xe,tt)},We.nice=function(Xe){return We.domain(vs(Ie,Xe))},We.exponent=function(Xe){return arguments.length?(Fe=Dr(ve=Xe),Ue=Dr(1/ve),se.domain(Ie.map(Fe)),We):ve},We.copy=function(){return Lo(se.copy(),ve,Ie)},Rl(We,se)}function Dr(se){return function(ve){return ve<0?-Math.pow(-ve,se):Math.pow(ve,se)}}function uu(se,ve){var Ie,Fe,Ue;function We(tt){return Fe[((Ie.get(tt)||(ve.t==="range"?Ie.set(tt,se.push(tt)):NaN))-1)%Fe.length]}function Xe(tt,lt){return i.range(se.length).map(function(mt){return tt+lt*mt})}return We.domain=function(tt){if(!arguments.length)return se;se=[],Ie=new L;for(var lt,mt=-1,zt=tt.length;++mt0?Ie[We-1]:se[0],WeHt?0:1;if(zt=qt)return lt(zt,vn)+(mt?lt(mt,1-vn):"")+"Z";var tn,ln,an,Cn,_n,on,Fn,Hn,ir,ar,Mr,Er,xr=0,kr=0,jr=[];if((Cn=(+Xe.apply(this,arguments)||0)/2)&&(an=Fe===wc?Math.sqrt(mt*mt+zt*zt):+Fe.apply(this,arguments),vn||(kr*=-1),zt&&(kr=qe(an/zt*Math.sin(Cn))),mt&&(xr=qe(an/mt*Math.sin(Cn)))),zt){_n=zt*Math.cos(Ut+kr),on=zt*Math.sin(Ut+kr),Fn=zt*Math.cos(Ht-kr),Hn=zt*Math.sin(Ht-kr);var fi=Math.abs(Ht-Ut-2*kr)<=Ot?0:1;if(kr&&Ls(_n,on,Fn,Hn)===vn^fi){var di=(Ut+Ht)/2;_n=zt*Math.cos(di),on=zt*Math.sin(di),Fn=Hn=null}}else _n=on=0;if(mt){ir=mt*Math.cos(Ht-xr),ar=mt*Math.sin(Ht-xr),Mr=mt*Math.cos(Ut+xr),Er=mt*Math.sin(Ut+xr);var wr=Math.abs(Ut-Ht+2*xr)<=Ot?0:1;if(xr&&Ls(ir,ar,Mr,Er)===1-vn^wr){var Ur=(Ut+Ht)/2;ir=mt*Math.cos(Ur),ar=mt*Math.sin(Ur),Mr=Er=null}}else ir=ar=0;if(en>Ft&&(tn=Math.min(Math.abs(zt-mt)/2,+Ie.apply(this,arguments)))>.001){ln=mt0?0:1}function bs(se,ve,Ie,Fe,Ue){var We=se[0]-ve[0],Xe=se[1]-ve[1],tt=(Ue?Fe:-Fe)/Math.sqrt(We*We+Xe*Xe),lt=tt*Xe,mt=-tt*We,zt=se[0]+lt,Ut=se[1]+mt,Ht=ve[0]+lt,en=ve[1]+mt,vn=(zt+Ht)/2,tn=(Ut+en)/2,ln=Ht-zt,an=en-Ut,Cn=ln*ln+an*an,_n=Ie-Fe,on=zt*en-Ht*Ut,Fn=(an<0?-1:1)*Math.sqrt(Math.max(0,_n*_n*Cn-on*on)),Hn=(on*an-ln*Fn)/Cn,ir=(-on*ln-an*Fn)/Cn,ar=(on*an+ln*Fn)/Cn,Mr=(-on*ln+an*Fn)/Cn,Er=Hn-vn,xr=ir-tn,kr=ar-vn,jr=Mr-tn;return Er*Er+xr*xr>kr*kr+jr*jr&&(Hn=ar,ir=Mr),[[Hn-lt,ir-mt],[Hn*Ie/_n,ir*Ie/_n]]}function hu(){return!0}function yo(se){var ve=Un,Ie=Kn,Fe=hu,Ue=Yi,We=Ue.key,Xe=.7;function tt(lt){var mt,zt=[],Ut=[],Ht=-1,en=lt.length,vn=qn(ve),tn=qn(Ie);function ln(){zt.push("M",Ue(se(Ut),Xe))}for(;++Ht1&&Ue.push("H",Fe[0]),Ue.join("")},"step-before":os,"step-after":_s,basis:Wi,"basis-open":function(se){if(se.length<4)return Yi(se);for(var ve,Ie=[],Fe=-1,Ue=se.length,We=[0],Xe=[0];++Fe<3;)ve=se[Fe],We.push(ve[0]),Xe.push(ve[1]);for(Ie.push(no(qs,We)+","+no(qs,Xe)),--Fe;++Fe9&&(We=3*Ie/Math.sqrt(We),tt[lt]=We*Fe,tt[lt+1]=We*Ue);for(lt=-1;++lt<=mt;)We=(ve[Math.min(mt,lt+1)][0]-ve[Math.max(0,lt-1)][0])/(6*(1+tt[lt]*tt[lt])),Xe.push([We||0,tt[lt]*We||0]);return Xe}(se))}});function Yi(se){return se.length>1?se.join("L"):se+"Z"}function Tc(se){return se.join("L")+"Z"}function os(se){for(var ve=0,Ie=se.length,Fe=se[0],Ue=[Fe[0],",",Fe[1]];++ve1){tt=ve[1],We=se[lt],lt++,Fe+="C"+(Ue[0]+Xe[0])+","+(Ue[1]+Xe[1])+","+(We[0]-tt[0])+","+(We[1]-tt[1])+","+We[0]+","+We[1];for(var mt=2;mtOt)+",1 "+zt}function lt(mt,zt,Ut,Ht){return"Q 0,0 "+Ht}return We.radius=function(mt){return arguments.length?(Ie=qn(mt),We):Ie},We.source=function(mt){return arguments.length?(se=qn(mt),We):se},We.target=function(mt){return arguments.length?(ve=qn(mt),We):ve},We.startAngle=function(mt){return arguments.length?(Fe=qn(mt),We):Fe},We.endAngle=function(mt){return arguments.length?(Ue=qn(mt),We):Ue},We},i.svg.diagonal=function(){var se=Hr,ve=ni,Ie=cl;function Fe(Ue,We){var Xe=se.call(this,Ue,We),tt=ve.call(this,Ue,We),lt=(Xe.y+tt.y)/2,mt=[Xe,{x:Xe.x,y:lt},{x:tt.x,y:lt},tt];return"M"+(mt=mt.map(Ie))[0]+"C"+mt[1]+" "+mt[2]+" "+mt[3]}return Fe.source=function(Ue){return arguments.length?(se=qn(Ue),Fe):se},Fe.target=function(Ue){return arguments.length?(ve=qn(Ue),Fe):ve},Fe.projection=function(Ue){return arguments.length?(Ie=Ue,Fe):Ie},Fe},i.svg.diagonal.radial=function(){var se=i.svg.diagonal(),ve=cl,Ie=se.projection;return se.projection=function(Fe){return arguments.length?Ie(Rs(ve=Fe)):ve},se},i.svg.symbol=function(){var se=Zc,ve=xo;function Ie(Fe,Ue){return(ju.get(se.call(this,Fe,Ue))||Vo)(ve.call(this,Fe,Ue))}return Ie.type=function(Fe){return arguments.length?(se=qn(Fe),Ie):se},Ie.size=function(Fe){return arguments.length?(ve=qn(Fe),Ie):ve},Ie};var ju=i.map({circle:Vo,cross:function(se){var ve=Math.sqrt(se/5)/2;return"M"+-3*ve+","+-ve+"H"+-ve+"V"+-3*ve+"H"+ve+"V"+-ve+"H"+3*ve+"V"+ve+"H"+ve+"V"+3*ve+"H"+-ve+"V"+ve+"H"+-3*ve+"Z"},diamond:function(se){var ve=Math.sqrt(se/(2*Ji)),Ie=ve*Ji;return"M0,"+-ve+"L"+Ie+",0 0,"+ve+" "+-Ie+",0Z"},square:function(se){var ve=Math.sqrt(se)/2;return"M"+-ve+","+-ve+"L"+ve+","+-ve+" "+ve+","+ve+" "+-ve+","+ve+"Z"},"triangle-down":function(se){var ve=Math.sqrt(se/hl),Ie=ve*hl/2;return"M0,"+Ie+"L"+ve+","+-Ie+" "+-ve+","+-Ie+"Z"},"triangle-up":function(se){var ve=Math.sqrt(se/hl),Ie=ve*hl/2;return"M0,"+-Ie+"L"+ve+","+Ie+" "+-ve+","+Ie+"Z"}});i.svg.symbolTypes=ju.keys();var hl=Math.sqrt(3),Ji=Math.tan(30*Ke);ce.transition=function(se){for(var ve,Ie,Fe=rt||++St,Ue=ee(se),We=[],Xe=ct||{time:Date.now(),ease:tl,delay:0,duration:250},tt=-1,lt=this.length;++tt0;)mt[--an].call(se,ln);if(tn>=1)return Ut.event&&Ut.event.end.call(se,se.__data__,ve),--zt.count?delete zt[Fe]:delete se[Ie],1}Ut||(We=Ue.time,Xe=Kt(function(vn){var tn=Ut.delay;if(Xe.t=tn+We,tn<=vn)return Ht(vn-tn);Xe.c=Ht},0,We),Ut=zt[Fe]={tween:new L,time:We,timer:Xe,delay:Ue.delay,duration:Ue.duration,ease:Ue.ease,index:ve},Ue=null,++zt.count)}vt.call=ce.call,vt.empty=ce.empty,vt.node=ce.node,vt.size=ce.size,i.transition=function(se,ve){return se&&se.transition?rt?se.transition(ve):se:i.selection().transition(se)},i.transition.prototype=vt,vt.select=function(se){var ve,Ie,Fe,Ue=this.id,We=this.namespace,Xe=[];se=ye(se);for(var tt=-1,lt=this.length;++ttrect,.s>rect").attr("width",We[1]-We[0])}function en(tn){tn.select(".extent").attr("y",Xe[0]),tn.selectAll(".extent,.e>rect,.w>rect").attr("height",Xe[1]-Xe[0])}function vn(){var tn,ln,an=this,Cn=i.select(i.event.target),_n=Ie.of(an,arguments),on=i.select(an),Fn=Cn.datum(),Hn=!/^(n|s)$/.test(Fn)&&Fe,ir=!/^(e|w)$/.test(Fn)&&Ue,ar=Cn.classed("extent"),Mr=bt(an),Er=i.mouse(an),xr=i.select(a(an)).on("keydown.brush",fi).on("keyup.brush",di);if(i.event.changedTouches?xr.on("touchmove.brush",wr).on("touchend.brush",oi):xr.on("mousemove.brush",wr).on("mouseup.brush",oi),on.interrupt().selectAll("*").interrupt(),ar)Er[0]=We[0]-Er[0],Er[1]=Xe[0]-Er[1];else if(Fn){var kr=+/w$/.test(Fn),jr=+/^n/.test(Fn);ln=[We[1-kr]-Er[0],Xe[1-jr]-Er[1]],Er[0]=We[kr],Er[1]=Xe[jr]}else i.event.altKey&&(tn=Er.slice());function fi(){i.event.keyCode==32&&(ar||(tn=null,Er[0]-=We[1],Er[1]-=Xe[1],ar=2),ne())}function di(){i.event.keyCode==32&&ar==2&&(Er[0]+=We[1],Er[1]+=Xe[1],ar=0,ne())}function wr(){var ai=i.mouse(an),Ii=!1;ln&&(ai[0]+=ln[0],ai[1]+=ln[1]),ar||(i.event.altKey?(tn||(tn=[(We[0]+We[1])/2,(Xe[0]+Xe[1])/2]),Er[0]=We[+(ai[0]>>1;h.dtype||(h.dtype="array"),typeof h.dtype=="string"?y=new(u(h.dtype))(_):h.dtype&&(y=h.dtype,Array.isArray(y)&&(y.length=_));for(var k=0;k<_;++k)y[k]=k;var E=[],x=[],A=[],L=[];(function W(j,$,U,G,q,H){if(!G.length)return null;var ne=E[q]||(E[q]=[]),te=A[q]||(A[q]=[]),Z=x[q]||(x[q]=[]),X=ne.length;if(++q>m||H>1073741824){for(var Q=0;Qpe+Pe||ie>xe+Pe||oe=ce||Me===Se)){var Ce=E[_e];Se===void 0&&(Se=Ce.length);for(var ae=Me;ae=ne&&be<=Z&&ke>=te&&ke<=X&&ye.push(fe)}var Le=x[_e],Be=Le[4*Me+0],ze=Le[4*Me+1],je=Le[4*Me+2],ge=Le[4*Me+3],we=me(Le,Me+1),Ee=.5*Pe,Ve=_e+1;de(pe,xe,Ee,Ve,Be,ze||je||ge||we),de(pe,xe+Ee,Ee,Ve,ze,je||ge||we),de(pe+Ee,xe,Ee,Ve,je,ge||we),de(pe+Ee,xe+Ee,Ee,Ve,ge,we)}}function me(pe,xe){for(var Pe=null,_e=0;Pe===null;)if(Pe=pe[4*xe+_e],++_e>pe.length)return null;return Pe}return de(0,0,1,0,0,1),ye},y;function B(W,j,$,U,G){for(var q=[],H=0;H0){l+=Math.abs(M(f[0]));for(var a=1;a2){for(c=0;c=0))throw new Error("precision must be a positive number");var m=Math.pow(10,h||0);return Math.round(c*m)/m},p.radiansToLength=a,p.lengthToRadians=u,p.lengthToDegrees=function(c,h){return o(u(c,h))},p.bearingToAzimuth=function(c){var h=c%360;return h<0&&(h+=360),h},p.radiansToDegrees=o,p.degreesToRadians=function(c){return c%360*Math.PI/180},p.convertLength=function(c,h,m){if(h===void 0&&(h="kilometers"),m===void 0&&(m="kilometers"),!(c>=0))throw new Error("length must be a positive number");return a(u(c,h),m)},p.convertArea=function(c,h,m){if(h===void 0&&(h="meters"),m===void 0&&(m="kilometers"),!(c>=0))throw new Error("area must be a positive number");var w=p.areaFactors[h];if(!w)throw new Error("invalid original units");var y=p.areaFactors[m];if(!y)throw new Error("invalid final units");return c/w*y},p.isNumber=s,p.isObject=function(c){return!!c&&c.constructor===Object},p.validateBBox=function(c){if(!c)throw new Error("bbox is required");if(!Array.isArray(c))throw new Error("bbox must be an Array");if(c.length!==4&&c.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");c.forEach(function(h){if(!s(h))throw new Error("bbox must only contain numbers")})},p.validateId=function(c){if(!c)throw new Error("id is required");if(["string","number"].indexOf(typeof c)===-1)throw new Error("id must be a number or a string")}},60302:function(T,p,t){Object.defineProperty(p,"__esModule",{value:!0});var d=t(23132);function g(u,o,s){if(u!==null)for(var c,h,m,w,y,S,_,k,E=0,x=0,A=u.type,L=A==="FeatureCollection",b=A==="Feature",R=L?u.features.length:1,I=0;IS||L>_||b>k)return y=E,S=c,_=L,k=b,void(m=0);var R=d.lineString([y,E],s.properties);if(o(R,c,h,b,m)===!1)return!1;m++,y=E})!==!1&&void 0}}})}function a(u,o){if(!u)throw new Error("geojson is required");f(u,function(s,c,h){if(s.geometry!==null){var m=s.geometry.type,w=s.geometry.coordinates;switch(m){case"LineString":if(o(s,c,h,0,0)===!1)return!1;break;case"Polygon":for(var y=0;yv[0]&&(M[0]=v[0]),M[1]>v[1]&&(M[1]=v[1]),M[2]=0))throw new Error("precision must be a positive number");var m=Math.pow(10,h||0);return Math.round(c*m)/m},p.radiansToLength=a,p.lengthToRadians=u,p.lengthToDegrees=function(c,h){return o(u(c,h))},p.bearingToAzimuth=function(c){var h=c%360;return h<0&&(h+=360),h},p.radiansToDegrees=o,p.degreesToRadians=function(c){return c%360*Math.PI/180},p.convertLength=function(c,h,m){if(h===void 0&&(h="kilometers"),m===void 0&&(m="kilometers"),!(c>=0))throw new Error("length must be a positive number");return a(u(c,h),m)},p.convertArea=function(c,h,m){if(h===void 0&&(h="meters"),m===void 0&&(m="kilometers"),!(c>=0))throw new Error("area must be a positive number");var w=p.areaFactors[h];if(!w)throw new Error("invalid original units");var y=p.areaFactors[m];if(!y)throw new Error("invalid final units");return c/w*y},p.isNumber=s,p.isObject=function(c){return!!c&&c.constructor===Object},p.validateBBox=function(c){if(!c)throw new Error("bbox is required");if(!Array.isArray(c))throw new Error("bbox must be an Array");if(c.length!==4&&c.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");c.forEach(function(h){if(!s(h))throw new Error("bbox must only contain numbers")})},p.validateId=function(c){if(!c)throw new Error("id is required");if(["string","number"].indexOf(typeof c)===-1)throw new Error("id must be a number or a string")}},27138:function(T,p,t){Object.defineProperty(p,"__esModule",{value:!0});var d=t(94228);function g(u,o,s){if(u!==null)for(var c,h,m,w,y,S,_,k,E=0,x=0,A=u.type,L=A==="FeatureCollection",b=A==="Feature",R=L?u.features.length:1,I=0;IS||L>_||b>k)return y=E,S=c,_=L,k=b,void(m=0);var R=d.lineString([y,E],s.properties);if(o(R,c,h,b,m)===!1)return!1;m++,y=E})!==!1&&void 0}}})}function a(u,o){if(!u)throw new Error("geojson is required");f(u,function(s,c,h){if(s.geometry!==null){var m=s.geometry.type,w=s.geometry.coordinates;switch(m){case"LineString":if(o(s,c,h,0,0)===!1)return!1;break;case"Polygon":for(var y=0;y=0))throw new Error("precision must be a positive number");var m=Math.pow(10,h||0);return Math.round(c*m)/m},p.radiansToLength=a,p.lengthToRadians=u,p.lengthToDegrees=function(c,h){return o(u(c,h))},p.bearingToAzimuth=function(c){var h=c%360;return h<0&&(h+=360),h},p.radiansToDegrees=o,p.degreesToRadians=function(c){return c%360*Math.PI/180},p.convertLength=function(c,h,m){if(h===void 0&&(h="kilometers"),m===void 0&&(m="kilometers"),!(c>=0))throw new Error("length must be a positive number");return a(u(c,h),m)},p.convertArea=function(c,h,m){if(h===void 0&&(h="meters"),m===void 0&&(m="kilometers"),!(c>=0))throw new Error("area must be a positive number");var w=p.areaFactors[h];if(!w)throw new Error("invalid original units");var y=p.areaFactors[m];if(!y)throw new Error("invalid final units");return c/w*y},p.isNumber=s,p.isObject=function(c){return!!c&&c.constructor===Object},p.validateBBox=function(c){if(!c)throw new Error("bbox is required");if(!Array.isArray(c))throw new Error("bbox must be an Array");if(c.length!==4&&c.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");c.forEach(function(h){if(!s(h))throw new Error("bbox must only contain numbers")})},p.validateId=function(c){if(!c)throw new Error("id is required");if(["string","number"].indexOf(typeof c)===-1)throw new Error("id must be a number or a string")},p.radians2degrees=function(){throw new Error("method has been renamed to `radiansToDegrees`")},p.degrees2radians=function(){throw new Error("method has been renamed to `degreesToRadians`")},p.distanceToDegrees=function(){throw new Error("method has been renamed to `lengthToDegrees`")},p.distanceToRadians=function(){throw new Error("method has been renamed to `lengthToRadians`")},p.radiansToDistance=function(){throw new Error("method has been renamed to `radiansToLength`")},p.bearingToAngle=function(){throw new Error("method has been renamed to `bearingToAzimuth`")},p.convertDistance=function(){throw new Error("method has been renamed to `convertLength`")}},88553:function(T,p,t){Object.defineProperty(p,"__esModule",{value:!0});var d=t(64182);function g(u,o,s){if(u!==null)for(var c,h,m,w,y,S,_,k,E=0,x=0,A=u.type,L=A==="FeatureCollection",b=A==="Feature",R=L?u.features.length:1,I=0;IS||L>_||b>k)return y=E,S=c,_=L,k=b,void(m=0);var R=d.lineString([y,E],s.properties);if(o(R,c,h,b,m)===!1)return!1;m++,y=E})!==!1&&void 0}}})}function a(u,o){if(!u)throw new Error("geojson is required");f(u,function(s,c,h){if(s.geometry!==null){var m=s.geometry.type,w=s.geometry.coordinates;switch(m){case"LineString":if(o(s,c,h,0,0)===!1)return!1;break;case"Polygon":for(var y=0;yi&&(i=p[v]),p[v]1?G-1:0),H=1;H1?G-1:0),H=1;H1?G-1:0),H=1;H1?G-1:0),H=1;H24?(isFinite(ve)&&(clearTimeout(vr),vr=setTimeout(bn,ve)),or=0):(or=1,_r(bn))}function Rn(){for(var se=Date.now(),ve=Sr;ve;)se>=ve.t&&ve.c(se-ve.t)&&(ve.c=null),ve=ve.n;return se}function Ln(){for(var se,ve=Sr,Ie=1/0;ve;)ve.c?(ve.t1&&(ve=se[We[Xe-2]],Ie=se[We[Xe-1]],Fe=se[tt],(Ie[0]-ve[0])*(Fe[1]-ve[1])-(Ie[1]-ve[1])*(Fe[0]-ve[0])<=0);)--Xe;We[Xe++]=tt}return We.slice(0,Xe)}function tr(se,ve){return se[0]-ve[0]||se[1]-ve[1]}i.timer=function(){Kt.apply(this,arguments)},i.timer.flush=function(){Rn(),Ln()},i.round=function(se,ve){return ve?Math.round(se*(ve=Math.pow(10,ve)))/ve:Math.round(se)},i.geom={},i.geom.hull=function(se){var ve=Un,Ie=Kn;if(arguments.length)return Fe(se);function Fe(Ue){if(Ue.length<3)return[];var We,Xe=qn(ve),tt=qn(Ie),lt=Ue.length,mt=[],zt=[];for(We=0;We=0;--We)tn.push(Ue[mt[Ut[We]][2]]);for(We=+en;WeFt)tt=tt.L;else{if(!((Ue=We-Qn(tt,Xe))>Ft)){Fe>-Ft?(ve=tt.P,Ie=tt):Ue>-Ft?(ve=tt,Ie=tt.N):ve=Ie=tt;break}if(!tt.R){ve=tt;break}tt=tt.R}var lt=yn(se);if(zn.insert(ve,lt),ve||Ie){if(ve===Ie)return br(ve),Ie=yn(ve.site),zn.insert(lt,Ie),lt.edge=Ie.edge=zr(ve.site,lt.site),dr(ve),void dr(Ie);if(Ie){br(ve),br(Ie);var mt=ve.site,zt=mt.x,Ut=mt.y,Ht=se.x-zt,en=se.y-Ut,vn=Ie.site,tn=vn.x-zt,ln=vn.y-Ut,an=2*(Ht*ln-en*tn),Cn=Ht*Ht+en*en,_n=tn*tn+ln*ln,on={x:(ln*Cn-en*_n)/an+zt,y:(Ht*_n-tn*Cn)/an+Ut};gr(Ie.edge,mt,vn,on),lt.edge=zr(mt,se,null,on),Ie.edge=zr(se,vn,null,on),dr(ve),dr(Ie)}else lt.edge=zr(ve.site,lt.site)}}function nr(se,ve){var Ie=se.site,Fe=Ie.x,Ue=Ie.y,We=Ue-ve;if(!We)return Fe;var Xe=se.P;if(!Xe)return-1/0;var tt=(Ie=Xe.site).x,lt=Ie.y,mt=lt-ve;if(!mt)return tt;var zt=tt-Fe,Ut=1/We-1/mt,Ht=zt/mt;return Ut?(-Ht+Math.sqrt(Ht*Ht-2*Ut*(zt*zt/(-2*mt)-lt+mt/2+Ue-We/2)))/Ut+Fe:(Fe+tt)/2}function Qn(se,ve){var Ie=se.N;if(Ie)return nr(Ie,ve);var Fe=se.site;return Fe.y===ve?Fe.x:1/0}function hr(se){this.site=se,this.edges=[]}function cr(se,ve){return ve.angle-se.angle}function pr(){ji(this),this.x=this.y=this.arc=this.site=this.cy=null}function dr(se){var ve=se.P,Ie=se.N;if(ve&&Ie){var Fe=ve.site,Ue=se.site,We=Ie.site;if(Fe!==We){var Xe=Ue.x,tt=Ue.y,lt=Fe.x-Xe,mt=Fe.y-tt,zt=We.x-Xe,Ut=2*(lt*(ln=We.y-tt)-mt*zt);if(!(Ut>=-1e-12)){var Ht=lt*lt+mt*mt,en=zt*zt+ln*ln,vn=(ln*Ht-mt*en)/Ut,tn=(lt*en-zt*Ht)/Ut,ln=tn+tt,an=wn.pop()||new pr;an.arc=se,an.site=Ue,an.x=vn+Xe,an.y=ln+Math.sqrt(vn*vn+tn*tn),an.cy=ln,se.circle=an;for(var Cn=null,_n=En._;_n;)if(an.y<_n.y||an.y===_n.y&&an.x<=_n.x){if(!_n.L){Cn=_n.P;break}_n=_n.L}else{if(!_n.R){Cn=_n;break}_n=_n.R}En.insert(Cn,an),Cn||(On=an)}}}}function br(se){var ve=se.circle;ve&&(ve.P||(On=ve.N),En.remove(ve),wn.push(ve),ji(ve),se.circle=null)}function Rr(se,ve){var Ie=se.b;if(Ie)return!0;var Fe,Ue,We=se.a,Xe=ve[0][0],tt=ve[1][0],lt=ve[0][1],mt=ve[1][1],zt=se.l,Ut=se.r,Ht=zt.x,en=zt.y,vn=Ut.x,tn=Ut.y,ln=(Ht+vn)/2,an=(en+tn)/2;if(tn===en){if(ln=tt)return;if(Ht>vn){if(We){if(We.y>=mt)return}else We={x:ln,y:lt};Ie={x:ln,y:mt}}else{if(We){if(We.y1)if(Ht>vn){if(We){if(We.y>=mt)return}else We={x:(lt-Ue)/Fe,y:lt};Ie={x:(mt-Ue)/Fe,y:mt}}else{if(We){if(We.y=tt)return}else We={x:Xe,y:Fe*Xe+Ue};Ie={x:tt,y:Fe*tt+Ue}}else{if(We){if(We.x0)){if(an/=ar,ar<0){if(an0){if(an>ir)return;an>Hn&&(Hn=an)}if(an=Ut-on,ar||!(an<0)){if(an/=ar,ar<0){if(an>ir)return;an>Hn&&(Hn=an)}else if(ar>0){if(an0)){if(an/=Mr,Mr<0){if(an0){if(an>ir)return;an>Hn&&(Hn=an)}if(an=Ht-Fn,Mr||!(an<0)){if(an/=Mr,Mr<0){if(an>ir)return;an>Hn&&(Hn=an)}else if(Mr>0){if(an0&&(ln.a={x:on+Hn*ar,y:Fn+Hn*Mr}),ir<1&&(ln.b={x:on+ir*ar,y:Fn+ir*Mr}),ln}}}}}),tn=en.length;tn--;)(!Rr(lt=en[tn],tt)||!vn(lt)||E(lt.a.x-lt.b.x)Ft||E(Ut-mt)>Ft)&&(vn.splice(en,0,new Fr((ar=Ht.site,Mr=an,Er=E(zt-Cn)Ft?{x:Cn,y:E(lt-Cn)Ft?{x:E(mt-Fn)Ft?{x:_n,y:E(lt-_n)Ft?{x:E(mt-on)=zt&&an.x<=Ht&&an.y>=Ut&&an.y<=en?[[zt,en],[Ht,en],[Ht,Ut],[zt,Ut]]:[]).point=lt[tn]}),mt}function tt(lt){return lt.map(function(mt,zt){return{x:Math.round(Fe(mt,zt)/Ft)*Ft,y:Math.round(Ue(mt,zt)/Ft)*Ft,i:zt}})}return Xe.links=function(lt){return La(tt(lt)).edges.filter(function(mt){return mt.l&&mt.r}).map(function(mt){return{source:lt[mt.l.i],target:lt[mt.r.i]}})},Xe.triangles=function(lt){var mt=[];return La(tt(lt)).cells.forEach(function(zt,Ut){for(var Ht,en,vn,tn,ln=zt.site,an=zt.edges.sort(cr),Cn=-1,_n=an.length,on=an[_n-1].edge,Fn=on.l===ln?on.r:on.l;++Cn<_n;)Ht=Fn,Fn=(on=an[Cn].edge).l===ln?on.r:on.l,UtWe||Ht>Xe||en=Hn)<<1|ve>=Fn,ar=ir+4;irWe&&(Ue=ve.slice(We,Ue),tt[Xe]?tt[Xe]+=Ue:tt[++Xe]=Ue),(Ie=Ie[0])===(Fe=Fe[0])?tt[Xe]?tt[Xe]+=Fe:tt[++Xe]=Fe:(tt[++Xe]=null,lt.push({i:Xe,x:is(Ie,Fe)})),We=hc.lastIndex;return Wean&&(an=zt.x),zt.y>Cn&&(Cn=zt.y),Ut.push(zt.x),Ht.push(zt.y);else for(en=0;enan&&(an=Fn),Hn>Cn&&(Cn=Hn),Ut.push(Fn),Ht.push(Hn)}var ir=an-tn,ar=Cn-ln;function Mr(kr,jr,fi,di,wr,Ur,oi,ai){if(!isNaN(fi)&&!isNaN(di))if(kr.leaf){var Ii=kr.x,vi=kr.y;if(Ii!=null)if(E(Ii-fi)+E(vi-di)<.01)Er(kr,jr,fi,di,wr,Ur,oi,ai);else{var Ni=kr.point;kr.x=kr.y=kr.point=null,Er(kr,Ni,Ii,vi,wr,Ur,oi,ai),Er(kr,jr,fi,di,wr,Ur,oi,ai)}else kr.x=fi,kr.y=di,kr.point=jr}else Er(kr,jr,fi,di,wr,Ur,oi,ai)}function Er(kr,jr,fi,di,wr,Ur,oi,ai){var Ii=.5*(wr+oi),vi=.5*(Ur+ai),Ni=fi>=Ii,ta=di>=vi,pa=ta<<1|Ni;kr.leaf=!1,Ni?wr=Ii:oi=Ii,ta?Ur=vi:ai=vi,Mr(kr=kr.nodes[pa]||(kr.nodes[pa]={leaf:!0,nodes:[],point:null,x:null,y:null}),jr,fi,di,wr,Ur,oi,ai)}ir>ar?Cn=ln+ir:an=tn+ar;var xr={leaf:!0,nodes:[],point:null,x:null,y:null,add:function(kr){Mr(xr,kr,+_n(kr,++en),+on(kr,en),tn,ln,an,Cn)},visit:function(kr){Cu(kr,xr,tn,ln,an,Cn)},find:function(kr){return gf(xr,kr[0],kr[1],tn,ln,an,Cn)}};if(en=-1,ve==null){for(;++en=0&&!(Ie=i.interpolators[Fe](se,ve)););return Ie}function as(se,ve){var Ie,Fe=[],Ue=[],We=se.length,Xe=ve.length,tt=Math.min(se.length,ve.length);for(Ie=0;Ie=1?1:se(ve)}}function Es(se){return function(ve){return 1-se(1-ve)}}function js(se){return function(ve){return .5*(ve<.5?se(2*ve):2-se(2-2*ve))}}function fc(se){return se*se}function vf(se){return se*se*se}function tl(se){if(se<=0)return 0;if(se>=1)return 1;var ve=se*se,Ie=ve*se;return 4*(se<.5?Ie:3*(se-ve)+Ie-.75)}function yf(se){return 1-Math.cos(se*Vt)}function bf(se){return Math.pow(2,10*(se-1))}function id(se){return 1-Math.sqrt(1-se*se)}function Sh(se){return se<.36363636363636365?7.5625*se*se:se<.7272727272727273?7.5625*(se-=.5454545454545454)*se+.75:se<.9090909090909091?7.5625*(se-=.8181818181818182)*se+.9375:7.5625*(se-=.9545454545454546)*se+.984375}function xf(se,ve){return ve-=se,function(Ie){return Math.round(se+ve*Ie)}}function Ch(se){var ve,Ie,Fe,Ue=[se.a,se.b],We=[se.c,se.d],Xe=rl(Ue),tt=nl(Ue,We),lt=rl(((ve=We)[0]+=(Fe=-tt)*(Ie=Ue)[0],ve[1]+=Fe*Ie[1],ve))||0;Ue[0]*We[1]=0?se.slice(0,ve):se,Fe=ve>=0?se.slice(ve+1):"in";return Ie=Ui.get(Ie)||Al,ps((Fe=Sl.get(Fe)||W)(Ie.apply(null,M.call(arguments,1))))},i.interpolateHcl=function(se,ve){se=i.hcl(se),ve=i.hcl(ve);var Ie=se.h,Fe=se.c,Ue=se.l,We=ve.h-Ie,Xe=ve.c-Fe,tt=ve.l-Ue;return isNaN(Xe)&&(Xe=0,Fe=isNaN(Fe)?ve.c:Fe),isNaN(We)?(We=0,Ie=isNaN(Ie)?ve.h:Ie):We>180?We-=360:We<-180&&(We+=360),function(lt){return Pt(Ie+We*lt,Fe+Xe*lt,Ue+tt*lt)+""}},i.interpolateHsl=function(se,ve){se=i.hsl(se),ve=i.hsl(ve);var Ie=se.h,Fe=se.s,Ue=se.l,We=ve.h-Ie,Xe=ve.s-Fe,tt=ve.l-Ue;return isNaN(Xe)&&(Xe=0,Fe=isNaN(Fe)?ve.s:Fe),isNaN(We)?(We=0,Ie=isNaN(Ie)?ve.h:Ie):We>180?We-=360:We<-180&&(We+=360),function(lt){return It(Ie+We*lt,Fe+Xe*lt,Ue+tt*lt)+""}},i.interpolateLab=function(se,ve){se=i.lab(se),ve=i.lab(ve);var Ie=se.l,Fe=se.a,Ue=se.b,We=ve.l-Ie,Xe=ve.a-Fe,tt=ve.b-Ue;return function(lt){return Xt(Ie+We*lt,Fe+Xe*lt,Ue+tt*lt)+""}},i.interpolateRound=xf,i.transform=function(se){var ve=f.createElementNS(i.ns.prefix.svg,"g");return(i.transform=function(Ie){if(Ie!=null){ve.setAttribute("transform",Ie);var Fe=ve.transform.baseVal.consolidate()}return new Ch(Fe?Fe.matrix:Lu)})(se)},Ch.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var Lu={a:1,b:0,c:0,d:1,e:0,f:0};function il(se){return se.length?se.pop()+",":""}function Eh(se,ve){var Ie=[],Fe=[];return se=i.transform(se),ve=i.transform(ve),function(Ue,We,Xe,tt){if(Ue[0]!==We[0]||Ue[1]!==We[1]){var lt=Xe.push("translate(",null,",",null,")");tt.push({i:lt-4,x:is(Ue[0],We[0])},{i:lt-2,x:is(Ue[1],We[1])})}else(We[0]||We[1])&&Xe.push("translate("+We+")")}(se.translate,ve.translate,Ie,Fe),function(Ue,We,Xe,tt){Ue!==We?(Ue-We>180?We+=360:We-Ue>180&&(Ue+=360),tt.push({i:Xe.push(il(Xe)+"rotate(",null,")")-2,x:is(Ue,We)})):We&&Xe.push(il(Xe)+"rotate("+We+")")}(se.rotate,ve.rotate,Ie,Fe),function(Ue,We,Xe,tt){Ue!==We?tt.push({i:Xe.push(il(Xe)+"skewX(",null,")")-2,x:is(Ue,We)}):We&&Xe.push(il(Xe)+"skewX("+We+")")}(se.skew,ve.skew,Ie,Fe),function(Ue,We,Xe,tt){if(Ue[0]!==We[0]||Ue[1]!==We[1]){var lt=Xe.push(il(Xe)+"scale(",null,",",null,")");tt.push({i:lt-4,x:is(Ue[0],We[0])},{i:lt-2,x:is(Ue[1],We[1])})}else We[0]===1&&We[1]===1||Xe.push(il(Xe)+"scale("+We+")")}(se.scale,ve.scale,Ie,Fe),se=ve=null,function(Ue){for(var We,Xe=-1,tt=Fe.length;++Xe0?Ie=on:(se.c=null,se.t=NaN,se=null,tt.end({type:"end",alpha:Ie=0})):on>0&&(tt.start({type:"start",alpha:Ie=on}),se=Kt(Xe.tick)),Xe):Ie},Xe.start=function(){var on,Fn,Hn,ir=ln.length,ar=an.length,Mr=lt[0],Er=lt[1];for(on=0;on=0;)Ie.push(Ue[Fe])}function ms(se,ve){for(var Ie=[se],Fe=[];(se=Ie.pop())!=null;)if(Fe.push(se),(We=se.children)&&(Ue=We.length))for(var Ue,We,Xe=-1;++Xe=0;)Xe.push(zt=mt[lt]),zt.parent=We,zt.depth=We.depth+1;Ie&&(We.value=0),We.children=mt}else Ie&&(We.value=+Ie.call(Fe,We,We.depth)||0),delete We.children;return ms(Ue,function(Ut){var Ht,en;se&&(Ht=Ut.children)&&Ht.sort(se),Ie&&(en=Ut.parent)&&(en.value+=Ut.value)}),tt}return Fe.sort=function(Ue){return arguments.length?(se=Ue,Fe):se},Fe.children=function(Ue){return arguments.length?(ve=Ue,Fe):ve},Fe.value=function(Ue){return arguments.length?(Ie=Ue,Fe):Ie},Fe.revalue=function(Ue){return Ie&&(Ru(Ue,function(We){We.children&&(We.value=0)}),ms(Ue,function(We){var Xe;We.children||(We.value=+Ie.call(Fe,We,We.depth)||0),(Xe=We.parent)&&(Xe.value+=We.value)})),Ue},Fe},i.layout.partition=function(){var se=i.layout.hierarchy(),ve=[1,1];function Ie(We,Xe,tt,lt){var mt=We.children;if(We.x=Xe,We.y=We.depth*lt,We.dx=tt,We.dy=lt,mt&&(zt=mt.length)){var zt,Ut,Ht,en=-1;for(tt=We.value?tt/We.value:0;++entt&&(tt=Fe),Xe.push(Fe)}for(Ie=0;IeUe&&(Fe=Ie,Ue=ve);return Fe}function Ll(se){return se.reduce(Hc,0)}function Hc(se,ve){return se+ve[1]}function xc(se,ve){return Ph(se,Math.ceil(Math.log(ve.length)/Math.LN2+1))}function Ph(se,ve){for(var Ie=-1,Fe=+se[0],Ue=(se[1]-Fe)/ve,We=[];++Ie<=ve;)We[Ie]=Ue*Ie+Fe;return We}function _c(se){return[i.min(se),i.max(se)]}function Du(se,ve){return se.value-ve.value}function ru(se,ve){var Ie=se._pack_next;se._pack_next=ve,ve._pack_prev=se,ve._pack_next=Ie,Ie._pack_prev=ve}function iu(se,ve){se._pack_next=ve,ve._pack_prev=se}function Ki(se,ve){var Ie=ve.x-se.x,Fe=ve.y-se.y,Ue=se.r+ve.r;return .999*Ue*Ue>Ie*Ie+Fe*Fe}function Il(se){if((ve=se.children)&&(lt=ve.length)){var ve,Ie,Fe,Ue,We,Xe,tt,lt,mt=1/0,zt=-1/0,Ut=1/0,Ht=-1/0;if(ve.forEach(Rl),(Ie=ve[0]).x=-Ie.r,Ie.y=0,_n(Ie),lt>1&&((Fe=ve[1]).x=Fe.r,Fe.y=0,_n(Fe),lt>2))for(Bi(Ie,Fe,Ue=ve[2]),_n(Ue),ru(Ie,Ue),Ie._pack_prev=Ue,ru(Ue,Fe),Fe=Ie._pack_next,We=3;We0)for(Xe=-1;++Xe=Ut[0]&<<=Ut[1]&&((tt=mt[i.bisect(Ht,lt,1,vn)-1]).y+=tn,tt.push(We[Xe]));return mt}return Ue.value=function(We){return arguments.length?(ve=We,Ue):ve},Ue.range=function(We){return arguments.length?(Ie=qn(We),Ue):Ie},Ue.bins=function(We){return arguments.length?(Fe=typeof We=="number"?function(Xe){return Ph(Xe,We)}:qn(We),Ue):Fe},Ue.frequency=function(We){return arguments.length?(se=!!We,Ue):se},Ue},i.layout.pack=function(){var se,ve=i.layout.hierarchy().sort(Du),Ie=0,Fe=[1,1];function Ue(We,Xe){var tt=ve.call(this,We,Xe),lt=tt[0],mt=Fe[0],zt=Fe[1],Ut=se==null?Math.sqrt:typeof se=="function"?se:function(){return se};if(lt.x=lt.y=0,ms(lt,function(en){en.r=+Ut(en.value)}),ms(lt,Il),Ie){var Ht=Ie*(se?1:Math.max(2*lt.r/mt,2*lt.r/zt))/2;ms(lt,function(en){en.r+=Ht}),ms(lt,Il),ms(lt,function(en){en.r-=Ht})}return Oi(lt,mt/2,zt/2,se?1:1/Math.max(2*lt.r/mt,2*lt.r/zt)),tt}return Ue.size=function(We){return arguments.length?(Fe=We,Ue):Fe},Ue.radius=function(We){return arguments.length?(se=We==null||typeof We=="function"?We:+We,Ue):se},Ue.padding=function(We){return arguments.length?(Ie=+We,Ue):Ie},eu(Ue,ve)},i.layout.tree=function(){var se=i.layout.hierarchy().sort(null).value(null),ve=ol,Ie=[1,1],Fe=null;function Ue(lt,mt){var zt=se.call(this,lt,mt),Ut=zt[0],Ht=function(_n){for(var on,Fn={A:null,children:[_n]},Hn=[Fn];(on=Hn.pop())!=null;)for(var ir,ar=on.children,Mr=0,Er=ar.length;Mrvn.x&&(vn=_n),_n.depth>tn.depth&&(tn=_n)});var ln=ve(en,vn)/2-en.x,an=Ie[0]/(vn.x+ve(vn,en)/2+ln),Cn=Ie[1]/(tn.depth||1);Ru(Ut,function(_n){_n.x=(_n.x+ln)*an,_n.y=_n.depth*Cn})}return zt}function We(lt){var mt=lt.children,zt=lt.parent.children,Ut=lt.i?zt[lt.i-1]:null;if(mt.length){(function(en){for(var vn,tn=0,ln=0,an=en.children,Cn=an.length;--Cn>=0;)(vn=an[Cn]).z+=tn,vn.m+=tn,tn+=vn.s+(ln+=vn.c)})(lt);var Ht=(mt[0].z+mt[mt.length-1].z)/2;Ut?(lt.z=Ut.z+ve(lt._,Ut._),lt.m=lt.z-Ht):lt.z=Ht}else Ut&&(lt.z=Ut.z+ve(lt._,Ut._));lt.parent.A=function(en,vn,tn){if(vn){for(var ln,an=en,Cn=en,_n=vn,on=an.parent.children[0],Fn=an.m,Hn=Cn.m,ir=_n.m,ar=on.m;_n=Gc(_n),an=Us(an),_n&&an;)on=Us(on),(Cn=Gc(Cn)).a=en,(ln=_n.z+ir-an.z-Fn+ve(_n._,an._))>0&&(Oh(au(_n,en,tn),en,ln),Fn+=ln,Hn+=ln),ir+=_n.m,Fn+=an.m,ar+=on.m,Hn+=Cn.m;_n&&!Gc(Cn)&&(Cn.t=_n,Cn.m+=ir-Hn),an&&!Us(on)&&(on.t=an,on.m+=Fn-ar,tn=en)}return tn}(lt,Ut,lt.parent.A||zt[0])}function Xe(lt){lt._.x=lt.z+lt.parent.m,lt.m+=lt.parent.m}function tt(lt){lt.x*=Ie[0],lt.y=lt.depth*Ie[1]}return Ue.separation=function(lt){return arguments.length?(ve=lt,Ue):ve},Ue.size=function(lt){return arguments.length?(Fe=(Ie=lt)==null?tt:null,Ue):Fe?null:Ie},Ue.nodeSize=function(lt){return arguments.length?(Fe=(Ie=lt)==null?null:tt,Ue):Fe?Ie:null},eu(Ue,se)},i.layout.cluster=function(){var se=i.layout.hierarchy().sort(null).value(null),ve=ol,Ie=[1,1],Fe=!1;function Ue(We,Xe){var tt,lt=se.call(this,We,Xe),mt=lt[0],zt=0;ms(mt,function(tn){var ln=tn.children;ln&&ln.length?(tn.x=function(an){return an.reduce(function(Cn,_n){return Cn+_n.x},0)/an.length}(ln),tn.y=function(an){return 1+i.max(an,function(Cn){return Cn.y})}(ln)):(tn.x=tt?zt+=ve(tn,tt):0,tn.y=0,tt=tn)});var Ut=Dh(mt),Ht=ou(mt),en=Ut.x-ve(Ut,Ht)/2,vn=Ht.x+ve(Ht,Ut)/2;return ms(mt,Fe?function(tn){tn.x=(tn.x-mt.x)*Ie[0],tn.y=(mt.y-tn.y)*Ie[1]}:function(tn){tn.x=(tn.x-en)/(vn-en)*Ie[0],tn.y=(1-(mt.y?tn.y/mt.y:1))*Ie[1]}),lt}return Ue.separation=function(We){return arguments.length?(ve=We,Ue):ve},Ue.size=function(We){return arguments.length?(Fe=(Ie=We)==null,Ue):Fe?null:Ie},Ue.nodeSize=function(We){return arguments.length?(Fe=(Ie=We)!=null,Ue):Fe?Ie:null},eu(Ue,se)},i.layout.treemap=function(){var se,ve=i.layout.hierarchy(),Ie=Math.round,Fe=[1,1],Ue=null,We=sl,Xe=!1,tt="squarify",lt=.5*(1+Math.sqrt(5));function mt(tn,ln){for(var an,Cn,_n=-1,on=tn.length;++_n0;)Fn.push(an=Hn[_n-1]),Fn.area+=an.area,tt!=="squarify"||(Cn=Ht(Fn,ar))<=ir?(Hn.pop(),ir=Cn):(Fn.area-=Fn.pop().area,en(Fn,ar,on,!1),ar=Math.min(on.dx,on.dy),Fn.length=Fn.area=0,ir=1/0);Fn.length&&(en(Fn,ar,on,!0),Fn.length=Fn.area=0),ln.forEach(zt)}}function Ut(tn){var ln=tn.children;if(ln&&ln.length){var an,Cn=We(tn),_n=ln.slice(),on=[];for(mt(_n,Cn.dx*Cn.dy/tn.value),on.area=0;an=_n.pop();)on.push(an),on.area+=an.area,an.z!=null&&(en(on,an.z?Cn.dx:Cn.dy,Cn,!_n.length),on.length=on.area=0);ln.forEach(Ut)}}function Ht(tn,ln){for(var an,Cn=tn.area,_n=0,on=1/0,Fn=-1,Hn=tn.length;++Fn_n&&(_n=an));return ln*=ln,(Cn*=Cn)?Math.max(ln*_n*lt/Cn,Cn/(ln*on*lt)):1/0}function en(tn,ln,an,Cn){var _n,on=-1,Fn=tn.length,Hn=an.x,ir=an.y,ar=ln?Ie(tn.area/ln):0;if(ln==an.dx){for((Cn||ar>an.dy)&&(ar=an.dy);++onan.dx)&&(ar=an.dx);++on1);return se+ve*Fe*Math.sqrt(-2*Math.log(We)/We)}},logNormal:function(){var se=i.random.normal.apply(i,arguments);return function(){return Math.exp(se())}},bates:function(se){var ve=i.random.irwinHall(se);return function(){return ve()/se}},irwinHall:function(se){return function(){for(var ve=0,Ie=0;Ie2?ho:lu,mt=Fe?Jl:Lh;return Ue=lt(se,ve,mt,Ie),We=lt(ve,se,mt,Yo),tt}function tt(lt){return Ue(lt)}return tt.invert=function(lt){return We(lt)},tt.domain=function(lt){return arguments.length?(se=lt.map(Number),Xe()):se},tt.range=function(lt){return arguments.length?(ve=lt,Xe()):ve},tt.rangeRound=function(lt){return tt.range(lt).interpolate(xf)},tt.clamp=function(lt){return arguments.length?(Fe=lt,Xe()):Fe},tt.interpolate=function(lt){return arguments.length?(Ie=lt,Xe()):Ie},tt.ticks=function(lt){return $o(se,lt)},tt.tickFormat=function(lt,mt){return d3_scale_linearTickFormat(se,lt,mt)},tt.nice=function(lt){return vs(se,lt),Xe()},tt.copy=function(){return zo(se,ve,Ie,Fe)},Xe()}function Pl(se,ve){return i.rebind(se,ve,"range","rangeRound","interpolate","clamp")}function vs(se,ve){return Ha(se,mo($a(se,ve)[2])),Ha(se,mo($a(se,ve)[2])),se}function $a(se,ve){ve==null&&(ve=10);var Ie=da(se),Fe=Ie[1]-Ie[0],Ue=Math.pow(10,Math.floor(Math.log(Fe/ve)/Math.LN10)),We=ve/Fe*Ue;return We<=.15?Ue*=10:We<=.35?Ue*=5:We<=.75&&(Ue*=2),Ie[0]=Math.ceil(Ie[0]/Ue)*Ue,Ie[1]=Math.floor(Ie[1]/Ue)*Ue+.5*Ue,Ie[2]=Ue,Ie}function $o(se,ve){return i.range.apply(i,$a(se,ve))}function qc(se,ve,Ie,Fe){function Ue(tt){return(Ie?Math.log(tt<0?0:tt):-Math.log(tt>0?0:-tt))/Math.log(ve)}function We(tt){return Ie?Math.pow(ve,tt):-Math.pow(ve,-tt)}function Xe(tt){return se(Ue(tt))}return Xe.invert=function(tt){return We(se.invert(tt))},Xe.domain=function(tt){return arguments.length?(Ie=tt[0]>=0,se.domain((Fe=tt.map(Number)).map(Ue)),Xe):Fe},Xe.base=function(tt){return arguments.length?(ve=+tt,se.domain(Fe.map(Ue)),Xe):ve},Xe.nice=function(){var tt=Ha(Fe.map(Ue),Ie?Math:Wc);return se.domain(tt),Fe=tt.map(We),Xe},Xe.ticks=function(){var tt=da(Fe),lt=[],mt=tt[0],zt=tt[1],Ut=Math.floor(Ue(mt)),Ht=Math.ceil(Ue(zt)),en=ve%1?2:ve;if(isFinite(Ht-Ut)){if(Ie){for(;Ut0;vn--)lt.push(We(Ut)*vn);for(Ut=0;lt[Ut]zt;Ht--);lt=lt.slice(Ut,Ht)}return lt},Xe.copy=function(){return qc(se.copy(),ve,Ie,Fe)},Pl(Xe,se)}i.scale.linear=function(){return zo([0,1],[0,1],Yo,!1)},i.scale.log=function(){return qc(i.scale.linear().domain([0,1]),10,!0,[1,10])};var Wc={floor:function(se){return-Math.ceil(-se)},ceil:function(se){return-Math.floor(-se)}};function Lo(se,ve,Ie){var Fe=Dr(ve),Ue=Dr(1/ve);function We(Xe){return se(Fe(Xe))}return We.invert=function(Xe){return Ue(se.invert(Xe))},We.domain=function(Xe){return arguments.length?(se.domain((Ie=Xe.map(Number)).map(Fe)),We):Ie},We.ticks=function(Xe){return $o(Ie,Xe)},We.tickFormat=function(Xe,tt){return d3_scale_linearTickFormat(Ie,Xe,tt)},We.nice=function(Xe){return We.domain(vs(Ie,Xe))},We.exponent=function(Xe){return arguments.length?(Fe=Dr(ve=Xe),Ue=Dr(1/ve),se.domain(Ie.map(Fe)),We):ve},We.copy=function(){return Lo(se.copy(),ve,Ie)},Pl(We,se)}function Dr(se){return function(ve){return ve<0?-Math.pow(-ve,se):Math.pow(ve,se)}}function uu(se,ve){var Ie,Fe,Ue;function We(tt){return Fe[((Ie.get(tt)||(ve.t==="range"?Ie.set(tt,se.push(tt)):NaN))-1)%Fe.length]}function Xe(tt,lt){return i.range(se.length).map(function(mt){return tt+lt*mt})}return We.domain=function(tt){if(!arguments.length)return se;se=[],Ie=new L;for(var lt,mt=-1,zt=tt.length;++mt0?Ie[We-1]:se[0],WeHt?0:1;if(zt=qt)return lt(zt,vn)+(mt?lt(mt,1-vn):"")+"Z";var tn,ln,an,Cn,_n,on,Fn,Hn,ir,ar,Mr,Er,xr=0,kr=0,jr=[];if((Cn=(+Xe.apply(this,arguments)||0)/2)&&(an=Fe===wc?Math.sqrt(mt*mt+zt*zt):+Fe.apply(this,arguments),vn||(kr*=-1),zt&&(kr=qe(an/zt*Math.sin(Cn))),mt&&(xr=qe(an/mt*Math.sin(Cn)))),zt){_n=zt*Math.cos(Ut+kr),on=zt*Math.sin(Ut+kr),Fn=zt*Math.cos(Ht-kr),Hn=zt*Math.sin(Ht-kr);var fi=Math.abs(Ht-Ut-2*kr)<=Ot?0:1;if(kr&&Ls(_n,on,Fn,Hn)===vn^fi){var di=(Ut+Ht)/2;_n=zt*Math.cos(di),on=zt*Math.sin(di),Fn=Hn=null}}else _n=on=0;if(mt){ir=mt*Math.cos(Ht-xr),ar=mt*Math.sin(Ht-xr),Mr=mt*Math.cos(Ut+xr),Er=mt*Math.sin(Ut+xr);var wr=Math.abs(Ut-Ht+2*xr)<=Ot?0:1;if(xr&&Ls(ir,ar,Mr,Er)===1-vn^wr){var Ur=(Ut+Ht)/2;ir=mt*Math.cos(Ur),ar=mt*Math.sin(Ur),Mr=Er=null}}else ir=ar=0;if(en>Ft&&(tn=Math.min(Math.abs(zt-mt)/2,+Ie.apply(this,arguments)))>.001){ln=mt0?0:1}function bs(se,ve,Ie,Fe,Ue){var We=se[0]-ve[0],Xe=se[1]-ve[1],tt=(Ue?Fe:-Fe)/Math.sqrt(We*We+Xe*Xe),lt=tt*Xe,mt=-tt*We,zt=se[0]+lt,Ut=se[1]+mt,Ht=ve[0]+lt,en=ve[1]+mt,vn=(zt+Ht)/2,tn=(Ut+en)/2,ln=Ht-zt,an=en-Ut,Cn=ln*ln+an*an,_n=Ie-Fe,on=zt*en-Ht*Ut,Fn=(an<0?-1:1)*Math.sqrt(Math.max(0,_n*_n*Cn-on*on)),Hn=(on*an-ln*Fn)/Cn,ir=(-on*ln-an*Fn)/Cn,ar=(on*an+ln*Fn)/Cn,Mr=(-on*ln+an*Fn)/Cn,Er=Hn-vn,xr=ir-tn,kr=ar-vn,jr=Mr-tn;return Er*Er+xr*xr>kr*kr+jr*jr&&(Hn=ar,ir=Mr),[[Hn-lt,ir-mt],[Hn*Ie/_n,ir*Ie/_n]]}function hu(){return!0}function yo(se){var ve=Un,Ie=Kn,Fe=hu,Ue=$i,We=Ue.key,Xe=.7;function tt(lt){var mt,zt=[],Ut=[],Ht=-1,en=lt.length,vn=qn(ve),tn=qn(Ie);function ln(){zt.push("M",Ue(se(Ut),Xe))}for(;++Ht1&&Ue.push("H",Fe[0]),Ue.join("")},"step-before":os,"step-after":_s,basis:Wi,"basis-open":function(se){if(se.length<4)return $i(se);for(var ve,Ie=[],Fe=-1,Ue=se.length,We=[0],Xe=[0];++Fe<3;)ve=se[Fe],We.push(ve[0]),Xe.push(ve[1]);for(Ie.push(no(qs,We)+","+no(qs,Xe)),--Fe;++Fe9&&(We=3*Ie/Math.sqrt(We),tt[lt]=We*Fe,tt[lt+1]=We*Ue);for(lt=-1;++lt<=mt;)We=(ve[Math.min(mt,lt+1)][0]-ve[Math.max(0,lt-1)][0])/(6*(1+tt[lt]*tt[lt])),Xe.push([We||0,tt[lt]*We||0]);return Xe}(se))}});function $i(se){return se.length>1?se.join("L"):se+"Z"}function Tc(se){return se.join("L")+"Z"}function os(se){for(var ve=0,Ie=se.length,Fe=se[0],Ue=[Fe[0],",",Fe[1]];++ve1){tt=ve[1],We=se[lt],lt++,Fe+="C"+(Ue[0]+Xe[0])+","+(Ue[1]+Xe[1])+","+(We[0]-tt[0])+","+(We[1]-tt[1])+","+We[0]+","+We[1];for(var mt=2;mtOt)+",1 "+zt}function lt(mt,zt,Ut,Ht){return"Q 0,0 "+Ht}return We.radius=function(mt){return arguments.length?(Ie=qn(mt),We):Ie},We.source=function(mt){return arguments.length?(se=qn(mt),We):se},We.target=function(mt){return arguments.length?(ve=qn(mt),We):ve},We.startAngle=function(mt){return arguments.length?(Fe=qn(mt),We):Fe},We.endAngle=function(mt){return arguments.length?(Ue=qn(mt),We):Ue},We},i.svg.diagonal=function(){var se=Hr,ve=ni,Ie=cl;function Fe(Ue,We){var Xe=se.call(this,Ue,We),tt=ve.call(this,Ue,We),lt=(Xe.y+tt.y)/2,mt=[Xe,{x:Xe.x,y:lt},{x:tt.x,y:lt},tt];return"M"+(mt=mt.map(Ie))[0]+"C"+mt[1]+" "+mt[2]+" "+mt[3]}return Fe.source=function(Ue){return arguments.length?(se=qn(Ue),Fe):se},Fe.target=function(Ue){return arguments.length?(ve=qn(Ue),Fe):ve},Fe.projection=function(Ue){return arguments.length?(Ie=Ue,Fe):Ie},Fe},i.svg.diagonal.radial=function(){var se=i.svg.diagonal(),ve=cl,Ie=se.projection;return se.projection=function(Fe){return arguments.length?Ie(Rs(ve=Fe)):ve},se},i.svg.symbol=function(){var se=Zc,ve=xo;function Ie(Fe,Ue){return(ju.get(se.call(this,Fe,Ue))||Vo)(ve.call(this,Fe,Ue))}return Ie.type=function(Fe){return arguments.length?(se=qn(Fe),Ie):se},Ie.size=function(Fe){return arguments.length?(ve=qn(Fe),Ie):ve},Ie};var ju=i.map({circle:Vo,cross:function(se){var ve=Math.sqrt(se/5)/2;return"M"+-3*ve+","+-ve+"H"+-ve+"V"+-3*ve+"H"+ve+"V"+-ve+"H"+3*ve+"V"+ve+"H"+ve+"V"+3*ve+"H"+-ve+"V"+ve+"H"+-3*ve+"Z"},diamond:function(se){var ve=Math.sqrt(se/(2*Ji)),Ie=ve*Ji;return"M0,"+-ve+"L"+Ie+",0 0,"+ve+" "+-Ie+",0Z"},square:function(se){var ve=Math.sqrt(se)/2;return"M"+-ve+","+-ve+"L"+ve+","+-ve+" "+ve+","+ve+" "+-ve+","+ve+"Z"},"triangle-down":function(se){var ve=Math.sqrt(se/hl),Ie=ve*hl/2;return"M0,"+Ie+"L"+ve+","+-Ie+" "+-ve+","+-Ie+"Z"},"triangle-up":function(se){var ve=Math.sqrt(se/hl),Ie=ve*hl/2;return"M0,"+-Ie+"L"+ve+","+Ie+" "+-ve+","+Ie+"Z"}});i.svg.symbolTypes=ju.keys();var hl=Math.sqrt(3),Ji=Math.tan(30*Ke);ce.transition=function(se){for(var ve,Ie,Fe=rt||++St,Ue=ee(se),We=[],Xe=ct||{time:Date.now(),ease:tl,delay:0,duration:250},tt=-1,lt=this.length;++tt0;)mt[--an].call(se,ln);if(tn>=1)return Ut.event&&Ut.event.end.call(se,se.__data__,ve),--zt.count?delete zt[Fe]:delete se[Ie],1}Ut||(We=Ue.time,Xe=Kt(function(vn){var tn=Ut.delay;if(Xe.t=tn+We,tn<=vn)return Ht(vn-tn);Xe.c=Ht},0,We),Ut=zt[Fe]={tween:new L,time:We,timer:Xe,delay:Ue.delay,duration:Ue.duration,ease:Ue.ease,index:ve},Ue=null,++zt.count)}vt.call=ce.call,vt.empty=ce.empty,vt.node=ce.node,vt.size=ce.size,i.transition=function(se,ve){return se&&se.transition?rt?se.transition(ve):se:i.selection().transition(se)},i.transition.prototype=vt,vt.select=function(se){var ve,Ie,Fe,Ue=this.id,We=this.namespace,Xe=[];se=ye(se);for(var tt=-1,lt=this.length;++ttrect,.s>rect").attr("width",We[1]-We[0])}function en(tn){tn.select(".extent").attr("y",Xe[0]),tn.selectAll(".extent,.e>rect,.w>rect").attr("height",Xe[1]-Xe[0])}function vn(){var tn,ln,an=this,Cn=i.select(i.event.target),_n=Ie.of(an,arguments),on=i.select(an),Fn=Cn.datum(),Hn=!/^(n|s)$/.test(Fn)&&Fe,ir=!/^(e|w)$/.test(Fn)&&Ue,ar=Cn.classed("extent"),Mr=bt(an),Er=i.mouse(an),xr=i.select(a(an)).on("keydown.brush",fi).on("keyup.brush",di);if(i.event.changedTouches?xr.on("touchmove.brush",wr).on("touchend.brush",oi):xr.on("mousemove.brush",wr).on("mouseup.brush",oi),on.interrupt().selectAll("*").interrupt(),ar)Er[0]=We[0]-Er[0],Er[1]=Xe[0]-Er[1];else if(Fn){var kr=+/w$/.test(Fn),jr=+/^n/.test(Fn);ln=[We[1-kr]-Er[0],Xe[1-jr]-Er[1]],Er[0]=We[kr],Er[1]=Xe[jr]}else i.event.altKey&&(tn=Er.slice());function fi(){i.event.keyCode==32&&(ar||(tn=null,Er[0]-=We[1],Er[1]-=Xe[1],ar=2),ne())}function di(){i.event.keyCode==32&&ar==2&&(Er[0]+=We[1],Er[1]+=Xe[1],ar=0,ne())}function wr(){var ai=i.mouse(an),Ii=!1;ln&&(ai[0]+=ln[0],ai[1]+=ln[1]),ar||(i.event.altKey?(tn||(tn=[(We[0]+We[1])/2,(Xe[0]+Xe[1])/2]),Er[0]=We[+(ai[0]>>1;c.dtype||(c.dtype="array"),typeof c.dtype=="string"?y=new(u(c.dtype))(_):c.dtype&&(y=c.dtype,Array.isArray(y)&&(y.length=_));for(var k=0;k<_;++k)y[k]=k;var E=[],x=[],A=[],L=[];(function W(j,$,U,G,q,H){if(!G.length)return null;var ne=E[q]||(E[q]=[]),te=A[q]||(A[q]=[]),Z=x[q]||(x[q]=[]),X=ne.length;if(++q>m||H>1073741824){for(var Q=0;Qpe+Pe||ie>xe+Pe||oe=ce||Me===Se)){var Ce=E[_e];Se===void 0&&(Se=Ce.length);for(var ae=Me;ae=ne&&be<=Z&&ke>=te&&ke<=X&&ye.push(fe)}var Le=x[_e],Be=Le[4*Me+0],ze=Le[4*Me+1],je=Le[4*Me+2],ge=Le[4*Me+3],we=me(Le,Me+1),Ee=.5*Pe,Ve=_e+1;de(pe,xe,Ee,Ve,Be,ze||je||ge||we),de(pe,xe+Ee,Ee,Ve,ze,je||ge||we),de(pe+Ee,xe,Ee,Ve,je,ge||we),de(pe+Ee,xe+Ee,Ee,Ve,ge,we)}}function me(pe,xe){for(var Pe=null,_e=0;Pe===null;)if(Pe=pe[4*xe+_e],++_e>pe.length)return null;return Pe}return de(0,0,1,0,0,1),ye},y;function B(W,j,$,U,G){for(var q=[],H=0;H0){l+=Math.abs(M(f[0]));for(var a=1;a2){for(h=0;h=0))throw new Error("precision must be a positive number");var m=Math.pow(10,c||0);return Math.round(h*m)/m},p.radiansToLength=a,p.lengthToRadians=u,p.lengthToDegrees=function(h,c){return o(u(h,c))},p.bearingToAzimuth=function(h){var c=h%360;return c<0&&(c+=360),c},p.radiansToDegrees=o,p.degreesToRadians=function(h){return h%360*Math.PI/180},p.convertLength=function(h,c,m){if(c===void 0&&(c="kilometers"),m===void 0&&(m="kilometers"),!(h>=0))throw new Error("length must be a positive number");return a(u(h,c),m)},p.convertArea=function(h,c,m){if(c===void 0&&(c="meters"),m===void 0&&(m="kilometers"),!(h>=0))throw new Error("area must be a positive number");var w=p.areaFactors[c];if(!w)throw new Error("invalid original units");var y=p.areaFactors[m];if(!y)throw new Error("invalid final units");return h/w*y},p.isNumber=s,p.isObject=function(h){return!!h&&h.constructor===Object},p.validateBBox=function(h){if(!h)throw new Error("bbox is required");if(!Array.isArray(h))throw new Error("bbox must be an Array");if(h.length!==4&&h.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");h.forEach(function(c){if(!s(c))throw new Error("bbox must only contain numbers")})},p.validateId=function(h){if(!h)throw new Error("id is required");if(["string","number"].indexOf(typeof h)===-1)throw new Error("id must be a number or a string")}},60302:function(T,p,t){Object.defineProperty(p,"__esModule",{value:!0});var d=t(23132);function g(u,o,s){if(u!==null)for(var h,c,m,w,y,C,_,k,E=0,x=0,A=u.type,L=A==="FeatureCollection",b=A==="Feature",R=L?u.features.length:1,I=0;IC||L>_||b>k)return y=E,C=h,_=L,k=b,void(m=0);var R=d.lineString([y,E],s.properties);if(o(R,h,c,b,m)===!1)return!1;m++,y=E})!==!1&&void 0}}})}function a(u,o){if(!u)throw new Error("geojson is required");f(u,function(s,h,c){if(s.geometry!==null){var m=s.geometry.type,w=s.geometry.coordinates;switch(m){case"LineString":if(o(s,h,c,0,0)===!1)return!1;break;case"Polygon":for(var y=0;yv[0]&&(M[0]=v[0]),M[1]>v[1]&&(M[1]=v[1]),M[2]=0))throw new Error("precision must be a positive number");var m=Math.pow(10,c||0);return Math.round(h*m)/m},p.radiansToLength=a,p.lengthToRadians=u,p.lengthToDegrees=function(h,c){return o(u(h,c))},p.bearingToAzimuth=function(h){var c=h%360;return c<0&&(c+=360),c},p.radiansToDegrees=o,p.degreesToRadians=function(h){return h%360*Math.PI/180},p.convertLength=function(h,c,m){if(c===void 0&&(c="kilometers"),m===void 0&&(m="kilometers"),!(h>=0))throw new Error("length must be a positive number");return a(u(h,c),m)},p.convertArea=function(h,c,m){if(c===void 0&&(c="meters"),m===void 0&&(m="kilometers"),!(h>=0))throw new Error("area must be a positive number");var w=p.areaFactors[c];if(!w)throw new Error("invalid original units");var y=p.areaFactors[m];if(!y)throw new Error("invalid final units");return h/w*y},p.isNumber=s,p.isObject=function(h){return!!h&&h.constructor===Object},p.validateBBox=function(h){if(!h)throw new Error("bbox is required");if(!Array.isArray(h))throw new Error("bbox must be an Array");if(h.length!==4&&h.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");h.forEach(function(c){if(!s(c))throw new Error("bbox must only contain numbers")})},p.validateId=function(h){if(!h)throw new Error("id is required");if(["string","number"].indexOf(typeof h)===-1)throw new Error("id must be a number or a string")}},27138:function(T,p,t){Object.defineProperty(p,"__esModule",{value:!0});var d=t(94228);function g(u,o,s){if(u!==null)for(var h,c,m,w,y,C,_,k,E=0,x=0,A=u.type,L=A==="FeatureCollection",b=A==="Feature",R=L?u.features.length:1,I=0;IC||L>_||b>k)return y=E,C=h,_=L,k=b,void(m=0);var R=d.lineString([y,E],s.properties);if(o(R,h,c,b,m)===!1)return!1;m++,y=E})!==!1&&void 0}}})}function a(u,o){if(!u)throw new Error("geojson is required");f(u,function(s,h,c){if(s.geometry!==null){var m=s.geometry.type,w=s.geometry.coordinates;switch(m){case"LineString":if(o(s,h,c,0,0)===!1)return!1;break;case"Polygon":for(var y=0;y=0))throw new Error("precision must be a positive number");var m=Math.pow(10,c||0);return Math.round(h*m)/m},p.radiansToLength=a,p.lengthToRadians=u,p.lengthToDegrees=function(h,c){return o(u(h,c))},p.bearingToAzimuth=function(h){var c=h%360;return c<0&&(c+=360),c},p.radiansToDegrees=o,p.degreesToRadians=function(h){return h%360*Math.PI/180},p.convertLength=function(h,c,m){if(c===void 0&&(c="kilometers"),m===void 0&&(m="kilometers"),!(h>=0))throw new Error("length must be a positive number");return a(u(h,c),m)},p.convertArea=function(h,c,m){if(c===void 0&&(c="meters"),m===void 0&&(m="kilometers"),!(h>=0))throw new Error("area must be a positive number");var w=p.areaFactors[c];if(!w)throw new Error("invalid original units");var y=p.areaFactors[m];if(!y)throw new Error("invalid final units");return h/w*y},p.isNumber=s,p.isObject=function(h){return!!h&&h.constructor===Object},p.validateBBox=function(h){if(!h)throw new Error("bbox is required");if(!Array.isArray(h))throw new Error("bbox must be an Array");if(h.length!==4&&h.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");h.forEach(function(c){if(!s(c))throw new Error("bbox must only contain numbers")})},p.validateId=function(h){if(!h)throw new Error("id is required");if(["string","number"].indexOf(typeof h)===-1)throw new Error("id must be a number or a string")},p.radians2degrees=function(){throw new Error("method has been renamed to `radiansToDegrees`")},p.degrees2radians=function(){throw new Error("method has been renamed to `degreesToRadians`")},p.distanceToDegrees=function(){throw new Error("method has been renamed to `lengthToDegrees`")},p.distanceToRadians=function(){throw new Error("method has been renamed to `lengthToRadians`")},p.radiansToDistance=function(){throw new Error("method has been renamed to `radiansToLength`")},p.bearingToAngle=function(){throw new Error("method has been renamed to `bearingToAzimuth`")},p.convertDistance=function(){throw new Error("method has been renamed to `convertLength`")}},88553:function(T,p,t){Object.defineProperty(p,"__esModule",{value:!0});var d=t(64182);function g(u,o,s){if(u!==null)for(var h,c,m,w,y,C,_,k,E=0,x=0,A=u.type,L=A==="FeatureCollection",b=A==="Feature",R=L?u.features.length:1,I=0;IC||L>_||b>k)return y=E,C=h,_=L,k=b,void(m=0);var R=d.lineString([y,E],s.properties);if(o(R,h,c,b,m)===!1)return!1;m++,y=E})!==!1&&void 0}}})}function a(u,o){if(!u)throw new Error("geojson is required");f(u,function(s,h,c){if(s.geometry!==null){var m=s.geometry.type,w=s.geometry.coordinates;switch(m){case"LineString":if(o(s,h,c,0,0)===!1)return!1;break;case"Polygon":for(var y=0;yi&&(i=p[v]),p[v]1?G-1:0),H=1;H1?G-1:0),H=1;H1?G-1:0),H=1;H1?G-1:0),H=1;H"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function a(L,b,R){return a=l()?Reflect.construct:function(I,O,z){var F=[null];F.push.apply(F,O);var B=new(Function.bind.apply(I,F));return z&&u(B,z.prototype),B},a.apply(null,arguments)}function u(L,b){return u=Object.setPrototypeOf||function(R,I){return R.__proto__=I,R},u(L,b)}function o(L){return o=Object.setPrototypeOf?Object.getPrototypeOf:function(b){return b.__proto__||Object.getPrototypeOf(b)},o(L)}function s(L){return s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(b){return typeof b}:function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},s(L)}var c=t(43827).inspect,h=t(79616).codes.ERR_INVALID_ARG_TYPE;function m(L,b,R){return(R===void 0||R>L.length)&&(R=L.length),L.substring(R-b.length,R)===b}var w="",y="",S="",_="",k={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function E(L){var b=Object.keys(L),R=Object.create(Object.getPrototypeOf(L));return b.forEach(function(I){R[I]=L[I]}),Object.defineProperty(R,"message",{value:L.message}),R}function x(L){return c(L,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}var A=function(L){function b(O){var z;if(function(te,Z){if(!(te instanceof Z))throw new TypeError("Cannot call a class as a function")}(this,b),s(O)!=="object"||O===null)throw new h("options","Object",O);var F=O.message,B=O.operator,N=O.stackStartFn,W=O.actual,j=O.expected,$=Error.stackTraceLimit;if(Error.stackTraceLimit=0,F!=null)z=M(this,o(b).call(this,String(F)));else if(d.stderr&&d.stderr.isTTY&&(d.stderr&&d.stderr.getColorDepth&&d.stderr.getColorDepth()!==1?(w="\x1B[34m",y="\x1B[32m",_="\x1B[39m",S="\x1B[31m"):(w="",y="",_="",S="")),s(W)==="object"&&W!==null&&s(j)==="object"&&j!==null&&"stack"in W&&W instanceof Error&&"stack"in j&&j instanceof Error&&(W=E(W),j=E(j)),B==="deepStrictEqual"||B==="strictEqual")z=M(this,o(b).call(this,function(te,Z,X){var Q="",re="",ie=0,oe="",ue=!1,ce=x(te),ye=ce.split(` +`))}throw q}},E.strict=y(j,E,{equal:E.strictEqual,deepEqual:E.deepStrictEqual,notEqual:E.notStrictEqual,notDeepEqual:E.notDeepStrictEqual}),E.strict.strict=E.strict},73894:function(T,p,t){var d=t(90386);function g(L,b,R){return b in L?Object.defineProperty(L,b,{value:R,enumerable:!0,configurable:!0,writable:!0}):L[b]=R,L}function i(L,b){for(var R=0;R"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function a(L,b,R){return a=l()?Reflect.construct:function(I,O,z){var F=[null];F.push.apply(F,O);var B=new(Function.bind.apply(I,F));return z&&u(B,z.prototype),B},a.apply(null,arguments)}function u(L,b){return u=Object.setPrototypeOf||function(R,I){return R.__proto__=I,R},u(L,b)}function o(L){return o=Object.setPrototypeOf?Object.getPrototypeOf:function(b){return b.__proto__||Object.getPrototypeOf(b)},o(L)}function s(L){return s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(b){return typeof b}:function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},s(L)}var h=t(43827).inspect,c=t(79616).codes.ERR_INVALID_ARG_TYPE;function m(L,b,R){return(R===void 0||R>L.length)&&(R=L.length),L.substring(R-b.length,R)===b}var w="",y="",C="",_="",k={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function E(L){var b=Object.keys(L),R=Object.create(Object.getPrototypeOf(L));return b.forEach(function(I){R[I]=L[I]}),Object.defineProperty(R,"message",{value:L.message}),R}function x(L){return h(L,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}var A=function(L){function b(O){var z;if(function(te,Z){if(!(te instanceof Z))throw new TypeError("Cannot call a class as a function")}(this,b),s(O)!=="object"||O===null)throw new c("options","Object",O);var F=O.message,B=O.operator,N=O.stackStartFn,W=O.actual,j=O.expected,$=Error.stackTraceLimit;if(Error.stackTraceLimit=0,F!=null)z=M(this,o(b).call(this,String(F)));else if(d.stderr&&d.stderr.isTTY&&(d.stderr&&d.stderr.getColorDepth&&d.stderr.getColorDepth()!==1?(w="\x1B[34m",y="\x1B[32m",_="\x1B[39m",C="\x1B[31m"):(w="",y="",_="",C="")),s(W)==="object"&&W!==null&&s(j)==="object"&&j!==null&&"stack"in W&&W instanceof Error&&"stack"in j&&j instanceof Error&&(W=E(W),j=E(j)),B==="deepStrictEqual"||B==="strictEqual")z=M(this,o(b).call(this,function(te,Z,X){var Q="",re="",ie=0,oe="",ue=!1,ce=x(te),ye=ce.split(` `),de=x(Z).split(` `),me=0,pe="";if(X==="strictEqual"&&s(te)==="object"&&s(Z)==="object"&&te!==null&&Z!==null&&(X="strictEqualObject"),ye.length===1&&de.length===1&&ye[0]!==de[0]){var xe=ye[0].length+de[0].length;if(xe<=10){if(!(s(te)==="object"&&te!==null||s(Z)==="object"&&Z!==null||te===0&&Z===0))return"".concat(k[X],` @@ -2370,11 +2370,11 @@ void main() { `)}me>3&&(oe=` `.concat(w,"...").concat(_).concat(oe),ue=!0),Q!==""&&(oe=` `.concat(Q).concat(oe),Q="");var Ce=0,ae=k[X]+` -`.concat(y,"+ actual").concat(_," ").concat(S,"- expected").concat(_),fe=" ".concat(w,"...").concat(_," Lines skipped");for(me=0;me1&&me>2&&(be>4?(re+=` +`.concat(y,"+ actual").concat(_," ").concat(C,"- expected").concat(_),fe=" ".concat(w,"...").concat(_," Lines skipped");for(me=0;me1&&me>2&&(be>4?(re+=` `.concat(w,"...").concat(_),ue=!0):be>3&&(re+=` `.concat(de[me-2]),Ce++),re+=` `.concat(de[me-1]),Ce++),ie=me,Q+=` -`.concat(S,"-").concat(_," ").concat(de[me]),Ce++;else if(de.length1&&me>2&&(be>4?(re+=` +`.concat(C,"-").concat(_," ").concat(de[me]),Ce++;else if(de.length1&&me>2&&(be>4?(re+=` `.concat(w,"...").concat(_),ue=!0):be>3&&(re+=` `.concat(ye[me-2]),Ce++),re+=` `.concat(ye[me-1]),Ce++),ie=me,re+=` @@ -2383,7 +2383,7 @@ void main() { `.concat(ye[me-2]),Ce++),re+=` `.concat(ye[me-1]),Ce++),ie=me,re+=` `.concat(y,"+").concat(_," ").concat(Le),Q+=` -`.concat(S,"-").concat(_," ").concat(ke),Ce+=2):(re+=Q,Q="",be!==1&&me!==0||(re+=` +`.concat(C,"-").concat(_," ").concat(ke),Ce+=2):(re+=Q,Q="",be!==1&&me!==0||(re+=` `.concat(Le),Ce++))}if(Ce>20&&me2?"one of ".concat(o," ").concat(u.slice(0,s-1).join(", "),", or ")+u[s-1]:s===2?"one of ".concat(o," ").concat(u[0]," or ").concat(u[1]):"of ".concat(o," ").concat(u[0])}return"of ".concat(o," ").concat(String(u))}l("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),l("ERR_INVALID_ARG_TYPE",function(u,o,s){var c,h,m,w,y;if(M===void 0&&(M=t(32791)),M(typeof u=="string","'name' must be a string"),typeof o=="string"&&(h="not ",o.substr(0,h.length)===h)?(c="must not be",o=o.replace(/^not /,"")):c="must be",function(_,k,E){return(E===void 0||E>_.length)&&(E=_.length),_.substring(E-k.length,E)===k}(u," argument"))m="The ".concat(u," ").concat(c," ").concat(a(o,"type"));else{var S=(typeof y!="number"&&(y=0),y+1>(w=u).length||w.indexOf(".",y)===-1?"argument":"property");m='The "'.concat(u,'" ').concat(S," ").concat(c," ").concat(a(o,"type"))}return m+". Received type ".concat(d(s))},TypeError),l("ERR_INVALID_ARG_VALUE",function(u,o){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";v===void 0&&(v=t(43827));var c=v.inspect(o);return c.length>128&&(c="".concat(c.slice(0,128),"...")),"The argument '".concat(u,"' ").concat(s,". Received ").concat(c)},TypeError),l("ERR_INVALID_RETURN_VALUE",function(u,o,s){var c;return c=s&&s.constructor&&s.constructor.name?"instance of ".concat(s.constructor.name):"type ".concat(d(s)),"Expected ".concat(u,' to be returned from the "').concat(o,'"')+" function but got ".concat(c,".")},TypeError),l("ERR_MISSING_ARGS",function(){for(var u=arguments.length,o=new Array(u),s=0;s0,"At least one arg needs to be specified");var c="The ",h=o.length;switch(o=o.map(function(m){return'"'.concat(m,'"')}),h){case 1:c+="".concat(o[0]," argument");break;case 2:c+="".concat(o[0]," and ").concat(o[1]," arguments");break;default:c+=o.slice(0,h-1).join(", "),c+=", and ".concat(o[h-1]," arguments")}return"".concat(c," must be specified")},TypeError),T.exports.codes=f},74061:function(T,p,t){function d(Z,X){return function(Q){if(Array.isArray(Q))return Q}(Z)||function(Q,re){var ie=[],oe=!0,ue=!1,ce=void 0;try{for(var ye,de=Q[Symbol.iterator]();!(oe=(ye=de.next()).done)&&(ie.push(ye.value),!re||ie.length!==re);oe=!0);}catch(me){ue=!0,ce=me}finally{try{oe||de.return==null||de.return()}finally{if(ue)throw ce}}return ie}(Z,X)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function g(Z){return g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(X){return typeof X}:function(X){return X&&typeof Symbol=="function"&&X.constructor===Symbol&&X!==Symbol.prototype?"symbol":typeof X},g(Z)}var i=/a/g.flags!==void 0,M=function(Z){var X=[];return Z.forEach(function(Q){return X.push(Q)}),X},v=function(Z){var X=[];return Z.forEach(function(Q,re){return X.push([re,Q])}),X},f=Object.is?Object.is:t(64003),l=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},a=Number.isNaN?Number.isNaN:t(15567);function u(Z){return Z.call.bind(Z)}var o=u(Object.prototype.hasOwnProperty),s=u(Object.prototype.propertyIsEnumerable),c=u(Object.prototype.toString),h=t(43827).types,m=h.isAnyArrayBuffer,w=h.isArrayBufferView,y=h.isDate,S=h.isMap,_=h.isRegExp,k=h.isSet,E=h.isNativeError,x=h.isBoxedPrimitive,A=h.isNumberObject,L=h.isStringObject,b=h.isBooleanObject,R=h.isBigIntObject,I=h.isSymbolObject,O=h.isFloat32Array,z=h.isFloat64Array;function F(Z){if(Z.length===0||Z.length>10)return!0;for(var X=0;X57)return!0}return Z.length===10&&Z>=Math.pow(2,32)}function B(Z){return Object.keys(Z).filter(F).concat(l(Z).filter(Object.prototype.propertyIsEnumerable.bind(Z)))}function N(Z,X){if(Z===X)return 0;for(var Q=Z.length,re=X.length,ie=0,oe=Math.min(Q,re);ie0?c-4:c;for(o=0;o>16&255,m[w++]=u>>8&255,m[w++]=255&u;return h===2&&(u=d[a.charCodeAt(o)]<<2|d[a.charCodeAt(o+1)]>>4,m[w++]=255&u),h===1&&(u=d[a.charCodeAt(o)]<<10|d[a.charCodeAt(o+1)]<<4|d[a.charCodeAt(o+2)]>>2,m[w++]=u>>8&255,m[w++]=255&u),m},p.fromByteArray=function(a){for(var u,o=a.length,s=o%3,c=[],h=16383,m=0,w=o-s;mw?w:m+h));return s===1?(u=a[o-1],c.push(t[u>>2]+t[u<<4&63]+"==")):s===2&&(u=(a[o-2]<<8)+a[o-1],c.push(t[u>>10]+t[u>>4&63]+t[u<<2&63]+"=")),c.join("")};for(var t=[],d=[],g=typeof Uint8Array<"u"?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",M=0,v=i.length;M0)throw new Error("Invalid string. Length must be a multiple of 4");var o=a.indexOf("=");return o===-1&&(o=u),[o,o===u?0:4-o%4]}function l(a,u,o){for(var s,c,h=[],m=u;m>18&63]+t[c>>12&63]+t[c>>6&63]+t[63&c]);return h.join("")}d["-".charCodeAt(0)]=62,d["_".charCodeAt(0)]=63},91358:function(T){function p(v,f,l,a,u){for(var o=u+1;a<=u;){var s=a+u>>>1,c=v[s];(l!==void 0?l(c,f):c-f)>=0?(o=s,u=s-1):a=s+1}return o}function t(v,f,l,a,u){for(var o=u+1;a<=u;){var s=a+u>>>1,c=v[s];(l!==void 0?l(c,f):c-f)>0?(o=s,u=s-1):a=s+1}return o}function d(v,f,l,a,u){for(var o=a-1;a<=u;){var s=a+u>>>1,c=v[s];(l!==void 0?l(c,f):c-f)<0?(o=s,a=s+1):u=s-1}return o}function g(v,f,l,a,u){for(var o=a-1;a<=u;){var s=a+u>>>1,c=v[s];(l!==void 0?l(c,f):c-f)<=0?(o=s,a=s+1):u=s-1}return o}function i(v,f,l,a,u){for(;a<=u;){var o=a+u>>>1,s=v[o],c=l!==void 0?l(s,f):s-f;if(c===0)return o;c<=0?a=o+1:u=o-1}return-1}function M(v,f,l,a,u,o){return typeof l=="function"?o(v,f,l,a===void 0?0:0|a,u===void 0?v.length-1:0|u):o(v,f,void 0,l===void 0?0:0|l,a===void 0?v.length-1:0|a)}T.exports={ge:function(v,f,l,a,u){return M(v,f,l,a,u,p)},gt:function(v,f,l,a,u){return M(v,f,l,a,u,t)},lt:function(v,f,l,a,u){return M(v,f,l,a,u,d)},le:function(v,f,l,a,u){return M(v,f,l,a,u,g)},eq:function(v,f,l,a,u){return M(v,f,l,a,u,i)}}},13547:function(T,p){function t(g){var i=32;return(g&=-g)&&i--,65535&g&&(i-=16),16711935&g&&(i-=8),252645135&g&&(i-=4),858993459&g&&(i-=2),1431655765&g&&(i-=1),i}p.INT_BITS=32,p.INT_MAX=2147483647,p.INT_MIN=-2147483648,p.sign=function(g){return(g>0)-(g<0)},p.abs=function(g){var i=g>>31;return(g^i)-i},p.min=function(g,i){return i^(g^i)&-(g65535)<<4,i|=M=((g>>>=i)>255)<<3,i|=M=((g>>>=M)>15)<<2,(i|=M=((g>>>=M)>3)<<1)|(g>>>=M)>>1},p.log10=function(g){return g>=1e9?9:g>=1e8?8:g>=1e7?7:g>=1e6?6:g>=1e5?5:g>=1e4?4:g>=1e3?3:g>=100?2:g>=10?1:0},p.popCount=function(g){return 16843009*((g=(858993459&(g-=g>>>1&1431655765))+(g>>>2&858993459))+(g>>>4)&252645135)>>>24},p.countTrailingZeros=t,p.nextPow2=function(g){return g+=g===0,--g,g|=g>>>1,g|=g>>>2,g|=g>>>4,g|=g>>>8,1+(g|=g>>>16)},p.prevPow2=function(g){return g|=g>>>1,g|=g>>>2,g|=g>>>4,g|=g>>>8,(g|=g>>>16)-(g>>>1)},p.parity=function(g){return g^=g>>>16,g^=g>>>8,g^=g>>>4,27030>>>(g&=15)&1};var d=new Array(256);(function(g){for(var i=0;i<256;++i){var M=i,v=i,f=7;for(M>>>=1;M;M>>>=1)v<<=1,v|=1&M,--f;g[i]=v<>>8&255]<<16|d[g>>>16&255]<<8|d[g>>>24&255]},p.interleave2=function(g,i){return(g=1431655765&((g=858993459&((g=252645135&((g=16711935&((g&=65535)|g<<8))|g<<4))|g<<2))|g<<1))|(i=1431655765&((i=858993459&((i=252645135&((i=16711935&((i&=65535)|i<<8))|i<<4))|i<<2))|i<<1))<<1},p.deinterleave2=function(g,i){return(g=65535&((g=16711935&((g=252645135&((g=858993459&((g=g>>>i&1431655765)|g>>>1))|g>>>2))|g>>>4))|g>>>16))<<16>>16},p.interleave3=function(g,i,M){return g=1227133513&((g=3272356035&((g=251719695&((g=4278190335&((g&=1023)|g<<16))|g<<8))|g<<4))|g<<2),(g|=(i=1227133513&((i=3272356035&((i=251719695&((i=4278190335&((i&=1023)|i<<16))|i<<8))|i<<4))|i<<2))<<1)|(M=1227133513&((M=3272356035&((M=251719695&((M=4278190335&((M&=1023)|M<<16))|M<<8))|M<<4))|M<<2))<<2},p.deinterleave3=function(g,i){return(g=1023&((g=4278190335&((g=251719695&((g=3272356035&((g=g>>>i&1227133513)|g>>>2))|g>>>4))|g>>>8))|g>>>16))<<22>>22},p.nextCombination=function(g){var i=g|g-1;return i+1|(~i&-~i)-1>>>t(g)+1}},44781:function(T,p,t){var d=t(53435);T.exports=function(v,f){f||(f={});var l,a,u,o,s,c,h,m,w,y,S,_=f.cutoff==null?.25:f.cutoff,k=f.radius==null?8:f.radius,E=f.channel||0;if(ArrayBuffer.isView(v)||Array.isArray(v)){if(!f.width||!f.height)throw Error("For raw data width and height should be provided by options");l=f.width,a=f.height,o=v,c=f.stride?f.stride:Math.floor(v.length/l/a)}else window.HTMLCanvasElement&&v instanceof window.HTMLCanvasElement?(h=(m=v).getContext("2d"),l=m.width,a=m.height,o=(w=h.getImageData(0,0,l,a)).data,c=4):window.CanvasRenderingContext2D&&v instanceof window.CanvasRenderingContext2D?(h=v,l=(m=v.canvas).width,a=m.height,o=(w=h.getImageData(0,0,l,a)).data,c=4):window.ImageData&&v instanceof window.ImageData&&(w=v,l=v.width,a=v.height,o=w.data,c=4);if(u=Math.max(l,a),window.Uint8ClampedArray&&o instanceof window.Uint8ClampedArray||window.Uint8Array&&o instanceof window.Uint8Array)for(s=o,o=Array(l*a),y=0,S=s.length;y-1?g(f):f}},68222:function(T,p,t){var d=t(77575),g=t(68318),i=g("%Function.prototype.apply%"),M=g("%Function.prototype.call%"),v=g("%Reflect.apply%",!0)||d.call(M,i),f=g("%Object.getOwnPropertyDescriptor%",!0),l=g("%Object.defineProperty%",!0),a=g("%Math.max%");if(l)try{l({},"a",{value:1})}catch{l=null}T.exports=function(o){var s=v(d,M,arguments);if(f&&l){var c=f(s,"length");c.configurable&&l(s,"length",{value:1+a(0,o.length-(arguments.length-1))})}return s};var u=function(){return v(d,i,arguments)};l?l(T.exports,"apply",{value:u}):T.exports.apply=u},53435:function(T){T.exports=function(p,t,d){return td?d:p:pt?t:p}},6475:function(T,p,t){var d=t(53435);function g(i,M){M==null&&(M=!0);var v=i[0],f=i[1],l=i[2],a=i[3];return a==null&&(a=M?1:255),M&&(v*=255,f*=255,l*=255,a*=255),16777216*(v=255&d(v,0,255))+((f=255&d(f,0,255))<<16)+((l=255&d(l,0,255))<<8)+(255&d(a,0,255))}T.exports=g,T.exports.to=g,T.exports.from=function(i,M){var v=(i=+i)>>>24,f=(16711680&i)>>>16,l=(65280&i)>>>8,a=255&i;return M===!1?[v,f,l,a]:[v/255,f/255,l/255,a/255]}},76857:function(T){T.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},25075:function(T,p,t){var d=t(36652),g=t(53435),i=t(90660);T.exports=function(M,v){v!=="float"&&v||(v="array"),v==="uint"&&(v="uint8"),v==="uint_clamped"&&(v="uint8_clamped");var f=new(i(v))(4),l=v!=="uint8"&&v!=="uint8_clamped";return M.length&&typeof M!="string"||((M=d(M))[0]/=255,M[1]/=255,M[2]/=255),function(a){return a instanceof Uint8Array||a instanceof Uint8ClampedArray||!!(Array.isArray(a)&&(a[0]>1||a[0]===0)&&(a[1]>1||a[1]===0)&&(a[2]>1||a[2]===0)&&(!a[3]||a[3]>1))}(M)?(f[0]=M[0],f[1]=M[1],f[2]=M[2],f[3]=M[3]!=null?M[3]:255,l&&(f[0]/=255,f[1]/=255,f[2]/=255,f[3]/=255),f):(l?(f[0]=M[0],f[1]=M[1],f[2]=M[2],f[3]=M[3]!=null?M[3]:1):(f[0]=g(Math.floor(255*M[0]),0,255),f[1]=g(Math.floor(255*M[1]),0,255),f[2]=g(Math.floor(255*M[2]),0,255),f[3]=M[3]==null?255:g(Math.floor(255*M[3]),0,255)),f)}},90736:function(T,p,t){var d=t(76857),g=t(10973),i=t(46775);T.exports=function(v){var f,l,a=[],u=1;if(typeof v=="string")if(d[v])a=d[v].slice(),l="rgb";else if(v==="transparent")u=0,l="rgb",a=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(v)){var o=(h=v.slice(1)).length;u=1,o<=4?(a=[parseInt(h[0]+h[0],16),parseInt(h[1]+h[1],16),parseInt(h[2]+h[2],16)],o===4&&(u=parseInt(h[3]+h[3],16)/255)):(a=[parseInt(h[0]+h[1],16),parseInt(h[2]+h[3],16),parseInt(h[4]+h[5],16)],o===8&&(u=parseInt(h[6]+h[7],16)/255)),a[0]||(a[0]=0),a[1]||(a[1]=0),a[2]||(a[2]=0),l="rgb"}else if(f=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(v)){var s=f[1],c=s==="rgb",h=s.replace(/a$/,"");l=h,o=h==="cmyk"?4:h==="gray"?1:3,a=f[2].trim().split(/\s*,\s*/).map(function(w,y){if(/%$/.test(w))return y===o?parseFloat(w)/100:h==="rgb"?255*parseFloat(w)/100:parseFloat(w);if(h[y]==="h"){if(/deg$/.test(w))return parseFloat(w);if(M[w]!==void 0)return M[w]}return parseFloat(w)}),s===h&&a.push(1),u=c||a[o]===void 0?1:a[o],a=a.slice(0,o)}else v.length>10&&/[0-9](?:\s|\/)/.test(v)&&(a=v.match(/([0-9]+)/g).map(function(w){return parseFloat(w)}),l=v.match(/([a-z])/gi).join("").toLowerCase());else if(isNaN(v))if(g(v)){var m=i(v.r,v.red,v.R,null);m!==null?(l="rgb",a=[m,i(v.g,v.green,v.G),i(v.b,v.blue,v.B)]):(l="hsl",a=[i(v.h,v.hue,v.H),i(v.s,v.saturation,v.S),i(v.l,v.lightness,v.L,v.b,v.brightness)]),u=i(v.a,v.alpha,v.opacity,1),v.opacity!=null&&(u/=100)}else(Array.isArray(v)||t.g.ArrayBuffer&&ArrayBuffer.isView&&ArrayBuffer.isView(v))&&(a=[v[0],v[1],v[2]],l="rgb",u=v.length===4?v[3]:1);else l="rgb",a=[v>>>16,(65280&v)>>>8,255&v];return{space:l,values:a,alpha:u}};var M={red:0,orange:60,yellow:120,green:180,blue:240,purple:300}},36652:function(T,p,t){var d=t(90736),g=t(80009),i=t(53435);T.exports=function(M){var v,f=d(M);return f.space?((v=Array(3))[0]=i(f.values[0],0,255),v[1]=i(f.values[1],0,255),v[2]=i(f.values[2],0,255),f.space[0]==="h"&&(v=g.rgb(v)),v.push(i(f.alpha,0,1)),v):[]}},80009:function(T,p,t){var d=t(6866);T.exports={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(g){var i,M,v,f,l,a=g[0]/360,u=g[1]/100,o=g[2]/100;if(u===0)return[l=255*o,l,l];i=2*o-(M=o<.5?o*(1+u):o+u-o*u),f=[0,0,0];for(var s=0;s<3;s++)(v=a+.3333333333333333*-(s-1))<0?v++:v>1&&v--,l=6*v<1?i+6*(M-i)*v:2*v<1?M:3*v<2?i+(M-i)*(.6666666666666666-v)*6:i,f[s]=255*l;return f}},d.hsl=function(g){var i,M,v=g[0]/255,f=g[1]/255,l=g[2]/255,a=Math.min(v,f,l),u=Math.max(v,f,l),o=u-a;return u===a?i=0:v===u?i=(f-l)/o:f===u?i=2+(l-v)/o:l===u&&(i=4+(v-f)/o),(i=Math.min(60*i,360))<0&&(i+=360),M=(a+u)/2,[i,100*(u===a?0:M<=.5?o/(u+a):o/(2-u-a)),100*M]}},6866:function(T){T.exports={name:"rgb",min:[0,0,0],max:[255,255,255],channel:["red","green","blue"],alias:["RGB"]}},24138:function(T){T.exports={AFG:"afghan",ALA:"\\b\\wland",ALB:"albania",DZA:"algeria",ASM:"^(?=.*americ).*samoa",AND:"andorra",AGO:"angola",AIA:"anguill?a",ATA:"antarctica",ATG:"antigua",ARG:"argentin",ARM:"armenia",ABW:"^(?!.*bonaire).*\\baruba",AUS:"australia",AUT:"^(?!.*hungary).*austria|\\baustri.*\\bemp",AZE:"azerbaijan",BHS:"bahamas",BHR:"bahrain",BGD:"bangladesh|^(?=.*east).*paki?stan",BRB:"barbados",BLR:"belarus|byelo",BEL:"^(?!.*luxem).*belgium",BLZ:"belize|^(?=.*british).*honduras",BEN:"benin|dahome",BMU:"bermuda",BTN:"bhutan",BOL:"bolivia",BES:"^(?=.*bonaire).*eustatius|^(?=.*carib).*netherlands|\\bbes.?islands",BIH:"herzegovina|bosnia",BWA:"botswana|bechuana",BVT:"bouvet",BRA:"brazil",IOT:"british.?indian.?ocean",BRN:"brunei",BGR:"bulgaria",BFA:"burkina|\\bfaso|upper.?volta",BDI:"burundi",CPV:"verde",KHM:"cambodia|kampuchea|khmer",CMR:"cameroon",CAN:"canada",CYM:"cayman",CAF:"\\bcentral.african.republic",TCD:"\\bchad",CHL:"\\bchile",CHN:"^(?!.*\\bmac)(?!.*\\bhong)(?!.*\\btai)(?!.*\\brep).*china|^(?=.*peo)(?=.*rep).*china",CXR:"christmas",CCK:"\\bcocos|keeling",COL:"colombia",COM:"comoro",COG:"^(?!.*\\bdem)(?!.*\\bd[\\.]?r)(?!.*kinshasa)(?!.*zaire)(?!.*belg)(?!.*l.opoldville)(?!.*free).*\\bcongo",COK:"\\bcook",CRI:"costa.?rica",CIV:"ivoire|ivory",HRV:"croatia",CUB:"\\bcuba",CUW:"^(?!.*bonaire).*\\bcura(c|ç)ao",CYP:"cyprus",CSK:"czechoslovakia",CZE:"^(?=.*rep).*czech|czechia|bohemia",COD:"\\bdem.*congo|congo.*\\bdem|congo.*\\bd[\\.]?r|\\bd[\\.]?r.*congo|belgian.?congo|congo.?free.?state|kinshasa|zaire|l.opoldville|drc|droc|rdc",DNK:"denmark",DJI:"djibouti",DMA:"dominica(?!n)",DOM:"dominican.rep",ECU:"ecuador",EGY:"egypt",SLV:"el.?salvador",GNQ:"guine.*eq|eq.*guine|^(?=.*span).*guinea",ERI:"eritrea",EST:"estonia",ETH:"ethiopia|abyssinia",FLK:"falkland|malvinas",FRO:"faroe|faeroe",FJI:"fiji",FIN:"finland",FRA:"^(?!.*\\bdep)(?!.*martinique).*france|french.?republic|\\bgaul",GUF:"^(?=.*french).*guiana",PYF:"french.?polynesia|tahiti",ATF:"french.?southern",GAB:"gabon",GMB:"gambia",GEO:"^(?!.*south).*georgia",DDR:"german.?democratic.?republic|democratic.?republic.*germany|east.germany",DEU:"^(?!.*east).*germany|^(?=.*\\bfed.*\\brep).*german",GHA:"ghana|gold.?coast",GIB:"gibraltar",GRC:"greece|hellenic|hellas",GRL:"greenland",GRD:"grenada",GLP:"guadeloupe",GUM:"\\bguam",GTM:"guatemala",GGY:"guernsey",GIN:"^(?!.*eq)(?!.*span)(?!.*bissau)(?!.*portu)(?!.*new).*guinea",GNB:"bissau|^(?=.*portu).*guinea",GUY:"guyana|british.?guiana",HTI:"haiti",HMD:"heard.*mcdonald",VAT:"holy.?see|vatican|papal.?st",HND:"^(?!.*brit).*honduras",HKG:"hong.?kong",HUN:"^(?!.*austr).*hungary",ISL:"iceland",IND:"india(?!.*ocea)",IDN:"indonesia",IRN:"\\biran|persia",IRQ:"\\biraq|mesopotamia",IRL:"(^ireland)|(^republic.*ireland)",IMN:"^(?=.*isle).*\\bman",ISR:"israel",ITA:"italy",JAM:"jamaica",JPN:"japan",JEY:"jersey",JOR:"jordan",KAZ:"kazak",KEN:"kenya|british.?east.?africa|east.?africa.?prot",KIR:"kiribati",PRK:"^(?=.*democrat|people|north|d.*p.*.r).*\\bkorea|dprk|korea.*(d.*p.*r)",KWT:"kuwait",KGZ:"kyrgyz|kirghiz",LAO:"\\blaos?\\b",LVA:"latvia",LBN:"lebanon",LSO:"lesotho|basuto",LBR:"liberia",LBY:"libya",LIE:"liechtenstein",LTU:"lithuania",LUX:"^(?!.*belg).*luxem",MAC:"maca(o|u)",MDG:"madagascar|malagasy",MWI:"malawi|nyasa",MYS:"malaysia",MDV:"maldive",MLI:"\\bmali\\b",MLT:"\\bmalta",MHL:"marshall",MTQ:"martinique",MRT:"mauritania",MUS:"mauritius",MYT:"\\bmayotte",MEX:"\\bmexic",FSM:"fed.*micronesia|micronesia.*fed",MCO:"monaco",MNG:"mongolia",MNE:"^(?!.*serbia).*montenegro",MSR:"montserrat",MAR:"morocco|\\bmaroc",MOZ:"mozambique",MMR:"myanmar|burma",NAM:"namibia",NRU:"nauru",NPL:"nepal",NLD:"^(?!.*\\bant)(?!.*\\bcarib).*netherlands",ANT:"^(?=.*\\bant).*(nether|dutch)",NCL:"new.?caledonia",NZL:"new.?zealand",NIC:"nicaragua",NER:"\\bniger(?!ia)",NGA:"nigeria",NIU:"niue",NFK:"norfolk",MNP:"mariana",NOR:"norway",OMN:"\\boman|trucial",PAK:"^(?!.*east).*paki?stan",PLW:"palau",PSE:"palestin|\\bgaza|west.?bank",PAN:"panama",PNG:"papua|new.?guinea",PRY:"paraguay",PER:"peru",PHL:"philippines",PCN:"pitcairn",POL:"poland",PRT:"portugal",PRI:"puerto.?rico",QAT:"qatar",KOR:"^(?!.*d.*p.*r)(?!.*democrat)(?!.*people)(?!.*north).*\\bkorea(?!.*d.*p.*r)",MDA:"moldov|b(a|e)ssarabia",REU:"r(e|é)union",ROU:"r(o|u|ou)mania",RUS:"\\brussia|soviet.?union|u\\.?s\\.?s\\.?r|socialist.?republics",RWA:"rwanda",BLM:"barth(e|é)lemy",SHN:"helena",KNA:"kitts|\\bnevis",LCA:"\\blucia",MAF:"^(?=.*collectivity).*martin|^(?=.*france).*martin(?!ique)|^(?=.*french).*martin(?!ique)",SPM:"miquelon",VCT:"vincent",WSM:"^(?!.*amer).*samoa",SMR:"san.?marino",STP:"\\bs(a|ã)o.?tom(e|é)",SAU:"\\bsa\\w*.?arabia",SEN:"senegal",SRB:"^(?!.*monte).*serbia",SYC:"seychell",SLE:"sierra",SGP:"singapore",SXM:"^(?!.*martin)(?!.*saba).*maarten",SVK:"^(?!.*cze).*slovak",SVN:"slovenia",SLB:"solomon",SOM:"somali",ZAF:"south.africa|s\\\\..?africa",SGS:"south.?georgia|sandwich",SSD:"\\bs\\w*.?sudan",ESP:"spain",LKA:"sri.?lanka|ceylon",SDN:"^(?!.*\\bs(?!u)).*sudan",SUR:"surinam|dutch.?guiana",SJM:"svalbard",SWZ:"swaziland",SWE:"sweden",CHE:"switz|swiss",SYR:"syria",TWN:"taiwan|taipei|formosa|^(?!.*peo)(?=.*rep).*china",TJK:"tajik",THA:"thailand|\\bsiam",MKD:"macedonia|fyrom",TLS:"^(?=.*leste).*timor|^(?=.*east).*timor",TGO:"togo",TKL:"tokelau",TON:"tonga",TTO:"trinidad|tobago",TUN:"tunisia",TUR:"turkey",TKM:"turkmen",TCA:"turks",TUV:"tuvalu",UGA:"uganda",UKR:"ukrain",ARE:"emirates|^u\\.?a\\.?e\\.?$|united.?arab.?em",GBR:"united.?kingdom|britain|^u\\.?k\\.?$",TZA:"tanzania",USA:"united.?states\\b(?!.*islands)|\\bu\\.?s\\.?a\\.?\\b|^\\s*u\\.?s\\.?\\b(?!.*islands)",UMI:"minor.?outlying.?is",URY:"uruguay",UZB:"uzbek",VUT:"vanuatu|new.?hebrides",VEN:"venezuela",VNM:"^(?!.*republic).*viet.?nam|^(?=.*socialist).*viet.?nam",VGB:"^(?=.*\\bu\\.?\\s?k).*virgin|^(?=.*brit).*virgin|^(?=.*kingdom).*virgin",VIR:"^(?=.*\\bu\\.?\\s?s).*virgin|^(?=.*states).*virgin",WLF:"futuna|wallis",ESH:"western.sahara",YEM:"^(?!.*arab)(?!.*north)(?!.*sana)(?!.*peo)(?!.*dem)(?!.*south)(?!.*aden)(?!.*\\bp\\.?d\\.?r).*yemen",YMD:"^(?=.*peo).*yemen|^(?!.*rep)(?=.*dem).*yemen|^(?=.*south).*yemen|^(?=.*aden).*yemen|^(?=.*\\bp\\.?d\\.?r).*yemen",YUG:"yugoslavia",ZMB:"zambia|northern.?rhodesia",EAZ:"zanzibar",ZWE:"zimbabwe|^(?!.*northern).*rhodesia"}},72791:function(T,p,t){T.exports={parse:t(41004),stringify:t(53313)}},63625:function(T,p,t){var d=t(40402);T.exports={isSize:function(g){return/^[\d\.]/.test(g)||g.indexOf("/")!==-1||d.indexOf(g)!==-1}}},41004:function(T,p,t){var d=t(90448),g=t(38732),i=t(41901),M=t(15659),v=t(96209),f=t(83794),l=t(99011),a=t(63625).isSize;T.exports=o;var u=o.cache={};function o(c){if(typeof c!="string")throw new Error("Font argument must be a string.");if(u[c])return u[c];if(c==="")throw new Error("Cannot parse an empty string.");if(i.indexOf(c)!==-1)return u[c]={system:c};for(var h,m={style:"normal",variant:"normal",weight:"normal",stretch:"normal",lineHeight:"normal",size:"1rem",family:["serif"]},w=l(c,/\s+/);h=w.shift();){if(g.indexOf(h)!==-1)return["style","variant","weight","stretch"].forEach(function(S){m[S]=h}),u[c]=m;if(v.indexOf(h)===-1)if(h!=="normal"&&h!=="small-caps")if(f.indexOf(h)===-1){if(M.indexOf(h)===-1){if(a(h)){var y=l(h,"/");if(m.size=y[0],y[1]!=null?m.lineHeight=s(y[1]):w[0]==="/"&&(w.shift(),m.lineHeight=s(w.shift())),!w.length)throw new Error("Missing required font-family.");return m.family=l(w.join(" "),/\s*,\s*/).map(d),u[c]=m}throw new Error("Unknown or unsupported font token: "+h)}m.weight=h}else m.stretch=h;else m.variant=h;else m.style=h}throw new Error("Missing required font-size.")}function s(c){var h=parseFloat(c);return h.toString()===c?h:c}},53313:function(T,p,t){var d=t(71299),g=t(63625).isSize,i=c(t(38732)),M=c(t(41901)),v=c(t(15659)),f=c(t(96209)),l=c(t(83794)),a={normal:1,"small-caps":1},u={serif:1,"sans-serif":1,monospace:1,cursive:1,fantasy:1,"system-ui":1},o="serif";function s(h,m){if(h&&!m[h]&&!i[h])throw Error("Unknown keyword `"+h+"`");return h}function c(h){for(var m={},w=0;wc?1:s>=c?0:NaN}t.d(p,{j2:function(){return d},Fp:function(){return M},J6:function(){return f},TS:function(){return l},VV:function(){return a},w6:function(){return u},Sm:function(){return o}}),(g=d).length===1&&(i=g,g=function(s,c){return d(i(s),c)});var g,i;function M(s,c){var h,m,w=s.length,y=-1;if(c==null){for(;++y=h)for(m=h;++ym&&(m=h)}else for(;++y=h)for(m=h;++ym&&(m=h);return m}function v(s){return s===null?NaN:+s}function f(s,c){var h,m=s.length,w=m,y=-1,S=0;if(c==null)for(;++y=0;)for(c=(m=s[w]).length;--c>=0;)h[--S]=m[c];return h}function a(s,c){var h,m,w=s.length,y=-1;if(c==null){for(;++y=h)for(m=h;++yh&&(m=h)}else for(;++y=h)for(m=h;++yh&&(m=h);return m}function u(s,c,h){s=+s,c=+c,h=(w=arguments.length)<2?(c=s,s=0,1):w<3?1:+h;for(var m=-1,w=0|Math.max(0,Math.ceil((c-s)/h)),y=new Array(w);++m=w.length)return c!=null&&k.sort(c),h!=null?h(k):k;for(var L,b,R,I=-1,O=k.length,z=w[E++],F=M(),B=x();++Iw.length)return k;var x,A=y[E-1];return h!=null&&E>=w.length?x=k.entries():(x=[],k.each(function(L,b){x.push({key:b,values:_(L,E)})})),A!=null?x.sort(function(L,b){return A(L.key,b.key)}):x}return m={object:function(k){return S(k,0,f,l)},map:function(k){return S(k,0,a,u)},entries:function(k){return _(S(k,0,a,u),0)},key:function(k){return w.push(k),m},sortKeys:function(k){return y[w.length-1]=k,m},sortValues:function(k){return c=k,m},rollup:function(k){return h=k,m}}}function f(){return{}}function l(c,h,m){c[h]=m}function a(){return M()}function u(c,h,m){c.set(h,m)}function o(){}var s=M.prototype;o.prototype={constructor:o,has:s.has,add:function(c){return this[d+(c+="")]=c,this},remove:s.remove,clear:s.clear,values:s.keys,size:s.size,empty:s.empty,each:s.each}},49887:function(T,p,t){function d(me,pe){var xe;function Pe(){var _e,Me,Se=xe.length,Ce=0,ae=0;for(_e=0;_e=(Me=(je+we)/2))?je=Me:we=Me,(be=xe>=(Se=(ge+Ee)/2))?ge=Se:Ee=Se,_e=Be,!(Be=Be[ke=be<<1|fe]))return _e[ke]=ze,me;if(Ce=+me._x.call(null,Be.data),ae=+me._y.call(null,Be.data),pe===Ce&&xe===ae)return ze.next=Be,_e?_e[ke]=ze:me._root=ze,me;do _e=_e?_e[ke]=new Array(4):me._root=new Array(4),(fe=pe>=(Me=(je+we)/2))?je=Me:we=Me,(be=xe>=(Se=(ge+Ee)/2))?ge=Se:Ee=Se;while((ke=be<<1|fe)==(Le=(ae>=Se)<<1|Ce>=Me));return _e[Le]=Be,_e[ke]=ze,me}function v(me,pe,xe,Pe,_e){this.node=me,this.x0=pe,this.y0=xe,this.x1=Pe,this.y1=_e}function f(me){return me[0]}function l(me){return me[1]}function a(me,pe,xe){var Pe=new u(pe??f,xe??l,NaN,NaN,NaN,NaN);return me==null?Pe:Pe.addAll(me)}function u(me,pe,xe,Pe,_e,Me){this._x=me,this._y=pe,this._x0=xe,this._y0=Pe,this._x1=_e,this._y1=Me,this._root=void 0}function o(me){for(var pe={data:me.data},xe=pe;me=me.next;)xe=xe.next={data:me.data};return pe}t.r(p),t.d(p,{forceCenter:function(){return d},forceCollide:function(){return m},forceLink:function(){return _},forceManyBody:function(){return ue},forceRadial:function(){return ce},forceSimulation:function(){return oe},forceX:function(){return ye},forceY:function(){return de}});var s=a.prototype=u.prototype;function c(me){return me.x+me.vx}function h(me){return me.y+me.vy}function m(me){var pe,xe,Pe=1,_e=1;function Me(){for(var ae,fe,be,ke,Le,Be,ze,je=pe.length,ge=0;ge<_e;++ge)for(fe=a(pe,c,h).visitAfter(Se),ae=0;aeke+bt||YeLe+bt||stbe.index){var Et=ke-ot.x-ot.vx,kt=Le-ot.y-ot.vy,xt=Et*Et+kt*kt;xtae.r&&(ae.r=ae[fe].r)}function Ce(){if(pe){var ae,fe,be=pe.length;for(xe=new Array(be),ae=0;aebe&&(be=Pe),_eke&&(ke=_e));if(ae>be||fe>ke)return this;for(this.cover(ae,fe).cover(be,ke),xe=0;xeme||me>=_e||Pe>pe||pe>=Me;)switch(Ce=(peLe||(Me=ae.y0)>Be||(Se=ae.x1)=we)<<1|me>=ge)&&(ae=ze[ze.length-1],ze[ze.length-1]=ze[ze.length-1-fe],ze[ze.length-1-fe]=ae)}else{var Ee=me-+this._x.call(null,je.data),Ve=pe-+this._y.call(null,je.data),$e=Ee*Ee+Ve*Ve;if($e=(Ce=(ze+ge)/2))?ze=Ce:ge=Ce,(be=Se>=(ae=(je+we)/2))?je=ae:we=ae,pe=Be,!(Be=Be[ke=be<<1|fe]))return this;if(!Be.length)break;(pe[ke+1&3]||pe[ke+2&3]||pe[ke+3&3])&&(xe=pe,Le=ke)}for(;Be.data!==me;)if(Pe=Be,!(Be=Be.next))return this;return(_e=Be.next)&&delete Be.next,Pe?(_e?Pe.next=_e:delete Pe.next,this):pe?(_e?pe[ke]=_e:delete pe[ke],(Be=pe[0]||pe[1]||pe[2]||pe[3])&&Be===(pe[3]||pe[2]||pe[1]||pe[0])&&!Be.length&&(xe?xe[Le]=Be:this._root=Be),this):(this._root=_e,this)},s.removeAll=function(me){for(var pe=0,xe=me.length;pe=0&&(Pe=xe.slice(_e+1),xe=xe.slice(0,_e)),xe&&!pe.hasOwnProperty(xe))throw new Error("unknown type: "+xe);return{type:xe,name:Pe}})}function L(me,pe){for(var xe,Pe=0,_e=me.length;Pe<_e;++Pe)if((xe=me[Pe]).name===pe)return xe.value}function b(me,pe,xe){for(var Pe=0,_e=me.length;Pe<_e;++Pe)if(me[Pe].name===pe){me[Pe]=k,me=me.slice(0,Pe).concat(me.slice(Pe+1));break}return xe!=null&&me.push({name:pe,value:xe}),me}x.prototype=E.prototype={constructor:x,on:function(me,pe){var xe,Pe=this._,_e=A(me+"",Pe),Me=-1,Se=_e.length;if(!(arguments.length<2)){if(pe!=null&&typeof pe!="function")throw new Error("invalid callback: "+pe);for(;++Me0)for(var xe,Pe,_e=new Array(xe),Me=0;Me=0&&pe._call.call(null,me),pe=pe._next;--z})()}finally{z=0,function(){for(var me,pe,xe=R,Pe=1/0;xe;)xe._call?(Pe>xe._time&&(Pe=xe._time),me=xe,xe=xe._next):(pe=xe._next,xe._next=null,xe=me?me._next=pe:R=pe);I=me,X(Pe)}(),W=0}}function Z(){var me=$.now(),pe=me-N;pe>1e3&&(j-=pe,N=me)}function X(me){z||(F&&(F=clearTimeout(F)),me-W>24?(me<1/0&&(F=setTimeout(te,me-$.now()-j)),B&&(B=clearInterval(B))):(B||(N=$.now(),B=setInterval(Z,1e3)),z=1,U(te)))}function Q(me){return me.x}function re(me){return me.y}H.prototype=ne.prototype={constructor:H,restart:function(me,pe,xe){if(typeof me!="function")throw new TypeError("callback is not a function");xe=(xe==null?G():+xe)+(pe==null?0:+pe),this._next||I===this||(I?I._next=this:R=this,I=this),this._call=me,this._time=xe,X()},stop:function(){this._call&&(this._call=null,this._time=1/0,X())}};var ie=Math.PI*(3-Math.sqrt(5));function oe(me){var pe,xe=1,Pe=.001,_e=1-Math.pow(Pe,1/300),Me=0,Se=.6,Ce=(0,w.UI)(),ae=ne(be),fe=O("tick","end");function be(){ke(),fe.call("tick",pe),xe1?(je==null?Ce.remove(ze):Ce.set(ze,Be(je)),pe):Ce.get(ze)},find:function(ze,je,ge){var we,Ee,Ve,$e,Ye,st=0,ot=me.length;for(ge==null?ge=1/0:ge*=ge,st=0;st1?(fe.on(ze,je),pe):fe.on(ze)}}}function ue(){var me,pe,xe,Pe,_e=g(-30),Me=1,Se=1/0,Ce=.81;function ae(Le){var Be,ze=me.length,je=a(me,Q,re).visitAfter(be);for(xe=Le,Be=0;Be=Se)){(Le.data!==pe||Le.next)&&(ge===0&&(Ve+=(ge=i())*ge),we===0&&(Ve+=(we=i())*we),Ve1?S[0]+S.slice(2):S,+m.slice(y+1)]}t.d(p,{WU:function(){return o},FF:function(){return h}});var g,i=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function M(m){if(!(w=i.exec(m)))throw new Error("invalid format: "+m);var w;return new v({fill:w[1],align:w[2],sign:w[3],symbol:w[4],zero:w[5],width:w[6],comma:w[7],precision:w[8]&&w[8].slice(1),trim:w[9],type:w[10]})}function v(m){this.fill=m.fill===void 0?" ":m.fill+"",this.align=m.align===void 0?">":m.align+"",this.sign=m.sign===void 0?"-":m.sign+"",this.symbol=m.symbol===void 0?"":m.symbol+"",this.zero=!!m.zero,this.width=m.width===void 0?void 0:+m.width,this.comma=!!m.comma,this.precision=m.precision===void 0?void 0:+m.precision,this.trim=!!m.trim,this.type=m.type===void 0?"":m.type+""}function f(m,w){var y=d(m,w);if(!y)return m+"";var S=y[0],_=y[1];return _<0?"0."+new Array(-_).join("0")+S:S.length>_+1?S.slice(0,_+1)+"."+S.slice(_+1):S+new Array(_-S.length+2).join("0")}M.prototype=v.prototype,v.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,0|this.width))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var l={"%":function(m,w){return(100*m).toFixed(w)},b:function(m){return Math.round(m).toString(2)},c:function(m){return m+""},d:function(m){return Math.abs(m=Math.round(m))>=1e21?m.toLocaleString("en").replace(/,/g,""):m.toString(10)},e:function(m,w){return m.toExponential(w)},f:function(m,w){return m.toFixed(w)},g:function(m,w){return m.toPrecision(w)},o:function(m){return Math.round(m).toString(8)},p:function(m,w){return f(100*m,w)},r:f,s:function(m,w){var y=d(m,w);if(!y)return m+"";var S=y[0],_=y[1],k=_-(g=3*Math.max(-8,Math.min(8,Math.floor(_/3))))+1,E=S.length;return k===E?S:k>E?S+new Array(k-E+1).join("0"):k>0?S.slice(0,k)+"."+S.slice(k):"0."+new Array(1-k).join("0")+d(m,Math.max(0,w+k-1))[0]},X:function(m){return Math.round(m).toString(16).toUpperCase()},x:function(m){return Math.round(m).toString(16)}};function a(m){return m}var u,o,s=Array.prototype.map,c=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function h(m){var w,y,S=m.grouping===void 0||m.thousands===void 0?a:(w=s.call(m.grouping,Number),y=m.thousands+"",function(I,O){for(var z=I.length,F=[],B=0,N=w[0],W=0;z>0&&N>0&&(W+N+1>O&&(N=Math.max(1,O-W)),F.push(I.substring(z-=N,z+N)),!((W+=N+1)>O));)N=w[B=(B+1)%w.length];return F.reverse().join(y)}),_=m.currency===void 0?"":m.currency[0]+"",k=m.currency===void 0?"":m.currency[1]+"",E=m.decimal===void 0?".":m.decimal+"",x=m.numerals===void 0?a:function(I){return function(O){return O.replace(/[0-9]/g,function(z){return I[+z]})}}(s.call(m.numerals,String)),A=m.percent===void 0?"%":m.percent+"",L=m.minus===void 0?"-":m.minus+"",b=m.nan===void 0?"NaN":m.nan+"";function R(I){var O=(I=M(I)).fill,z=I.align,F=I.sign,B=I.symbol,N=I.zero,W=I.width,j=I.comma,$=I.precision,U=I.trim,G=I.type;G==="n"?(j=!0,G="g"):l[G]||($===void 0&&($=12),U=!0,G="g"),(N||O==="0"&&z==="=")&&(N=!0,O="0",z="=");var q=B==="$"?_:B==="#"&&/[boxX]/.test(G)?"0"+G.toLowerCase():"",H=B==="$"?k:/[%p]/.test(G)?A:"",ne=l[G],te=/[defgprs%]/.test(G);function Z(X){var Q,re,ie,oe=q,ue=H;if(G==="c")ue=ne(X)+ue,X="";else{var ce=(X=+X)<0||1/X<0;if(X=isNaN(X)?b:ne(Math.abs(X),$),U&&(X=function(me){e:for(var pe,xe=me.length,Pe=1,_e=-1;Pe0&&(_e=0)}return _e>0?me.slice(0,_e)+me.slice(pe+1):me}(X)),ce&&+X==0&&F!=="+"&&(ce=!1),oe=(ce?F==="("?F:L:F==="-"||F==="("?"":F)+oe,ue=(G==="s"?c[8+g/3]:"")+ue+(ce&&F==="("?")":""),te){for(Q=-1,re=X.length;++Q(ie=X.charCodeAt(Q))||ie>57){ue=(ie===46?E+X.slice(Q+1):X.slice(Q))+ue,X=X.slice(0,Q);break}}}j&&!N&&(X=S(X,1/0));var ye=oe.length+X.length+ue.length,de=ye>1)+oe+X+ue+de.slice(ye);break;default:X=de+oe+X+ue}return x(X)}return $=$===void 0?6:/[gprs]/.test(G)?Math.max(1,Math.min(21,$)):Math.max(0,Math.min(20,$)),Z.toString=function(){return I+""},Z}return{format:R,formatPrefix:function(I,O){var z,F=R(((I=M(I)).type="f",I)),B=3*Math.max(-8,Math.min(8,Math.floor((z=O,((z=d(Math.abs(z)))?z[1]:NaN)/3)))),N=Math.pow(10,-B),W=c[8+B/3];return function(j){return F(N*j)+W}}}}u=h({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),o=u.format,u.formatPrefix},65704:function(T,p,t){t.r(p),t.d(p,{geoAiry:function(){return j},geoAiryRaw:function(){return W},geoAitoff:function(){return U},geoAitoffRaw:function(){return $},geoArmadillo:function(){return q},geoArmadilloRaw:function(){return G},geoAugust:function(){return ne},geoAugustRaw:function(){return H},geoBaker:function(){return Q},geoBakerRaw:function(){return X},geoBerghaus:function(){return oe},geoBerghausRaw:function(){return ie},geoBertin1953:function(){return Pe},geoBertin1953Raw:function(){return xe},geoBoggs:function(){return ke},geoBoggsRaw:function(){return be},geoBonne:function(){return ge},geoBonneRaw:function(){return je},geoBottomley:function(){return Ee},geoBottomleyRaw:function(){return we},geoBromley:function(){return $e},geoBromleyRaw:function(){return Ve},geoChamberlin:function(){return Ft},geoChamberlinAfrica:function(){return xt},geoChamberlinRaw:function(){return Et},geoCollignon:function(){return Bt},geoCollignonRaw:function(){return Ot},geoCraig:function(){return Vt},geoCraigRaw:function(){return qt},geoCraster:function(){return qe},geoCrasterRaw:function(){return Je},geoCylindricalEqualArea:function(){return ft},geoCylindricalEqualAreaRaw:function(){return nt},geoCylindricalStereographic:function(){return Ne},geoCylindricalStereographicRaw:function(){return Re},geoEckert1:function(){return ut},geoEckert1Raw:function(){return Qe},geoEckert2:function(){return _t},geoEckert2Raw:function(){return dt},geoEckert3:function(){return Lt},geoEckert3Raw:function(){return It},geoEckert4:function(){return Pt},geoEckert4Raw:function(){return yt},geoEckert5:function(){return Rt},geoEckert5Raw:function(){return wt},geoEckert6:function(){return Yt},geoEckert6Raw:function(){return Nt},geoEisenlohr:function(){return Qt},geoEisenlohrRaw:function(){return Xt},geoFahey:function(){return un},geoFaheyRaw:function(){return xn},geoFoucaut:function(){return Yn},geoFoucautRaw:function(){return An},geoFoucautSinusoidal:function(){return sn},geoFoucautSinusoidalRaw:function(){return kn},geoGilbert:function(){return In},geoGingery:function(){return lr},geoGingeryRaw:function(){return jn},geoGinzburg4:function(){return yr},geoGinzburg4Raw:function(){return Sr},geoGinzburg5:function(){return vr},geoGinzburg5Raw:function(){return or},geoGinzburg6:function(){return Kt},geoGinzburg6Raw:function(){return _r},geoGinzburg8:function(){return Rn},geoGinzburg8Raw:function(){return bn},geoGinzburg9:function(){return Un},geoGinzburg9Raw:function(){return Ln},geoGringorten:function(){return tr},geoGringortenQuincuncial:function(){return qc},geoGringortenRaw:function(){return $n},geoGuyou:function(){return jt},geoGuyouRaw:function(){return Pn},geoHammer:function(){return de},geoHammerRaw:function(){return ce},geoHammerRetroazimuthal:function(){return On},geoHammerRetroazimuthalRaw:function(){return hn},geoHealpix:function(){return nr},geoHealpixRaw:function(){return yn},geoHill:function(){return hr},geoHillRaw:function(){return Qn},geoHomolosine:function(){return Lr},geoHomolosineRaw:function(){return Ir},geoHufnagel:function(){return gr},geoHufnagelRaw:function(){return zr},geoHyperelliptical:function(){return ea},geoHyperellipticalRaw:function(){return ji},geoInterrupt:function(){return Xi},geoInterruptedBoggs:function(){return rs},geoInterruptedHomolosine:function(){return Cu},geoInterruptedMollweide:function(){return Mh},geoInterruptedMollweideHemispheres:function(){return is},geoInterruptedQuarticAuthalic:function(){return nu},geoInterruptedSinuMollweide:function(){return Ya},geoInterruptedSinusoidal:function(){return Yo},geoKavrayskiy7:function(){return Ml},geoKavrayskiy7Raw:function(){return as},geoLagrange:function(){return Al},geoLagrangeRaw:function(){return Ui},geoLarrivee:function(){return js},geoLarriveeRaw:function(){return Es},geoLaskowski:function(){return vf},geoLaskowskiRaw:function(){return fc},geoLittrow:function(){return yf},geoLittrowRaw:function(){return tl},geoLoximuthal:function(){return id},geoLoximuthalRaw:function(){return bf},geoMiller:function(){return xf},geoMillerRaw:function(){return Sh},geoModifiedStereographic:function(){return Ql},geoModifiedStereographicAlaska:function(){return Lh},geoModifiedStereographicGs48:function(){return Jl},geoModifiedStereographicGs50:function(){return jc},geoModifiedStereographicLee:function(){return Iu},geoModifiedStereographicMiller:function(){return Sl},geoModifiedStereographicRaw:function(){return Ch},geoMollweide:function(){return Ce},geoMollweideRaw:function(){return Se},geoMtFlatPolarParabolic:function(){return ad},geoMtFlatPolarParabolicRaw:function(){return Cl},geoMtFlatPolarQuartic:function(){return dc},geoMtFlatPolarQuarticRaw:function(){return Uc},geoMtFlatPolarSinusoidal:function(){return Ru},geoMtFlatPolarSinusoidalRaw:function(){return eu},geoNaturalEarth:function(){return ms.Z},geoNaturalEarth2:function(){return pc},geoNaturalEarth2Raw:function(){return Ih},geoNaturalEarthRaw:function(){return ms.K},geoNellHammer:function(){return mc},geoNellHammerRaw:function(){return Pu},geoNicolosi:function(){return gc},geoNicolosiRaw:function(){return Ou},geoPatterson:function(){return Hc},geoPattersonRaw:function(){return El},geoPeirceQuincuncial:function(){return Wc},geoPierceQuincuncial:function(){return Wc},geoPolyconic:function(){return Ph},geoPolyconicRaw:function(){return xc},geoPolyhedral:function(){return Ll},geoPolyhedralButterfly:function(){return Gc},geoPolyhedralCollignon:function(){return Dh},geoPolyhedralWaterman:function(){return ou},geoProject:function(){return lu},geoQuantize:function(){return Lo},geoQuincuncial:function(){return $o},geoRectangularPolyconic:function(){return uu},geoRectangularPolyconicRaw:function(){return Dr},geoRobinson:function(){return zu},geoRobinsonRaw:function(){return Yc},geoSatellite:function(){return Bu},geoSatelliteRaw:function(){return Fu},geoSinuMollweide:function(){return br},geoSinuMollweideRaw:function(){return dr},geoSinusoidal:function(){return ze},geoSinusoidalRaw:function(){return Be},geoStitch:function(){return hu},geoTimes:function(){return xs},geoTimesRaw:function(){return yo},geoTwoPointAzimuthal:function(){return _s},geoTwoPointAzimuthalRaw:function(){return Tc},geoTwoPointAzimuthalUsa:function(){return os},geoTwoPointEquidistant:function(){return Wi},geoTwoPointEquidistantRaw:function(){return Gs},geoTwoPointEquidistantUsa:function(){return Bo},geoVanDerGrinten:function(){return Is},geoVanDerGrinten2:function(){return qs},geoVanDerGrinten2Raw:function(){return No},geoVanDerGrinten3:function(){return ul},geoVanDerGrinten3Raw:function(){return Ol},geoVanDerGrinten4:function(){return ws},geoVanDerGrinten4Raw:function(){return bo},geoVanDerGrintenRaw:function(){return no},geoWagner:function(){return ni},geoWagner4:function(){return Zc},geoWagner4Raw:function(){return xo},geoWagner6:function(){return ju},geoWagner6Raw:function(){return Vo},geoWagner7:function(){return Vu},geoWagnerRaw:function(){return Hr},geoWiechel:function(){return Ji},geoWiechelRaw:function(){return hl},geoWinkel3:function(){return Xc},geoWinkel3Raw:function(){return la}});var d=t(15002),g=Math.abs,i=Math.atan,M=Math.atan2,v=Math.cos,f=Math.exp,l=Math.floor,a=Math.log,u=Math.max,o=Math.min,s=Math.pow,c=Math.round,h=Math.sign||function(et){return et>0?1:et<0?-1:0},m=Math.sin,w=Math.tan,y=1e-6,S=1e-12,_=Math.PI,k=_/2,E=_/4,x=Math.SQRT1_2,A=F(2),L=F(_),b=2*_,R=180/_,I=_/180;function O(et){return et>1?k:et<-1?-k:Math.asin(et)}function z(et){return et>1?0:et<-1?_:Math.acos(et)}function F(et){return et>0?Math.sqrt(et):0}function B(et){return(f(et)-f(-et))/2}function N(et){return(f(et)+f(-et))/2}function W(et){var rt=w(et/2),ct=2*a(v(et/2))/(rt*rt);function vt(St,Mt){var Y=v(St),ee=v(Mt),K=m(Mt),le=ee*Y,Te=-((1-le?a((1+le)/2)/(1-le):-.5)+ct/(1+le));return[Te*ee*m(St),Te*K]}return vt.invert=function(St,Mt){var Y,ee=F(St*St+Mt*Mt),K=-et/2,le=50;if(!ee)return[0,0];do{var Te=K/2,De=v(Te),He=m(Te),Ze=He/De,at=-a(g(De));K-=Y=(2/Ze*at-ct*Ze-ee)/(-at/(He*He)+1-ct/(2*De*De))*(De<0?.7:1)}while(g(Y)>y&&--le>0);var Tt=m(K);return[M(St*Tt,ee*v(K)),O(Mt*Tt/ee)]},vt}function j(){var et=k,rt=(0,d.r)(W),ct=rt(et);return ct.radius=function(vt){return arguments.length?rt(et=vt*I):et*R},ct.scale(179.976).clipAngle(147)}function $(et,rt){var ct=v(rt),vt=function(St){return St?St/Math.sin(St):1}(z(ct*v(et/=2)));return[2*ct*m(et)*vt,m(rt)*vt]}function U(){return(0,d.Z)($).scale(152.63)}function G(et){var rt=m(et),ct=v(et),vt=et>=0?1:-1,St=w(vt*et),Mt=(1+rt-ct)/2;function Y(ee,K){var le=v(K),Te=v(ee/=2);return[(1+le)*m(ee),(vt*K>-M(Te,St)-.001?0:10*-vt)+Mt+m(K)*ct-(1+le)*rt*Te]}return Y.invert=function(ee,K){var le=0,Te=0,De=50;do{var He=v(le),Ze=m(le),at=v(Te),Tt=m(Te),At=1+at,se=At*Ze-ee,ve=Mt+Tt*ct-At*rt*He-K,Ie=At*He/2,Fe=-Ze*Tt,Ue=rt*At*Ze/2,We=ct*at+rt*He*Tt,Xe=Fe*Ue-We*Ie,tt=(ve*Fe-se*We)/Xe/2,lt=(se*Ue-ve*Ie)/Xe;g(lt)>2&&(lt/=2),le-=tt,Te-=lt}while((g(tt)>y||g(lt)>y)&&--De>0);return vt*Te>-M(v(le),St)-.001?[2*le,Te]:null},Y}function q(){var et=20*I,rt=et>=0?1:-1,ct=w(rt*et),vt=(0,d.r)(G),St=vt(et),Mt=St.stream;return St.parallel=function(Y){return arguments.length?(ct=w((rt=(et=Y*I)>=0?1:-1)*et),vt(et)):et*R},St.stream=function(Y){var ee=St.rotate(),K=Mt(Y),le=(St.rotate([0,0]),Mt(Y)),Te=St.precision();return St.rotate(ee),K.sphere=function(){le.polygonStart(),le.lineStart();for(var De=-180*rt;rt*De<180;De+=90*rt)le.point(De,90*rt);if(et)for(;rt*(De-=3*rt*Te)>=-180;)le.point(De,rt*-M(v(De*I/2),ct)*R);le.lineEnd(),le.polygonEnd()},K},St.scale(218.695).center([0,28.0974])}function H(et,rt){var ct=w(rt/2),vt=F(1-ct*ct),St=1+vt*v(et/=2),Mt=m(et)*vt/St,Y=ct/St,ee=Mt*Mt,K=Y*Y;return[1.3333333333333333*Mt*(3+ee-3*K),1.3333333333333333*Y*(3+3*ee-K)]}function ne(){return(0,d.Z)(H).scale(66.1603)}$.invert=function(et,rt){if(!(et*et+4*rt*rt>_*_+y)){var ct=et,vt=rt,St=25;do{var Mt,Y=m(ct),ee=m(ct/2),K=v(ct/2),le=m(vt),Te=v(vt),De=m(2*vt),He=le*le,Ze=Te*Te,at=ee*ee,Tt=1-Ze*K*K,At=Tt?z(Te*K)*F(Mt=1/Tt):Mt=0,se=2*At*Te*ee-et,ve=At*le-rt,Ie=Mt*(Ze*at+At*Te*K*He),Fe=Mt*(.5*Y*De-2*At*le*ee),Ue=.25*Mt*(De*ee-At*le*Ze*Y),We=Mt*(He*K+At*at*Te),Xe=Fe*Ue-We*Ie;if(!Xe)break;var tt=(ve*Fe-se*We)/Xe,lt=(se*Ue-ve*Ie)/Xe;ct-=tt,vt-=lt}while((g(tt)>y||g(lt)>y)&&--St>0);return[ct,vt]}},H.invert=function(et,rt){if(rt*=.375,!(et*=.375)&&g(rt)>1)return null;var ct=1+et*et+rt*rt,vt=F((ct-F(ct*ct-4*rt*rt))/2),St=O(vt)/3,Mt=vt?function(le){return a(le+F(le*le-1))}(g(rt/vt))/3:function(le){return a(le+F(le*le+1))}(g(et))/3,Y=v(St),ee=N(Mt),K=ee*ee-Y*Y;return[2*h(et)*M(B(Mt)*Y,.25-K),2*h(rt)*M(ee*m(St),.25+K)]};var te=F(8),Z=a(1+A);function X(et,rt){var ct=g(rt);return ctS&&--Mt>0);return[et/(v(St)*(te-1/m(St))),h(rt)*St]};var re=t(17889);function ie(et){var rt=2*_/et;function ct(vt,St){var Mt=(0,re.N)(vt,St);if(g(vt)>k){var Y=M(Mt[1],Mt[0]),ee=F(Mt[0]*Mt[0]+Mt[1]*Mt[1]),K=rt*c((Y-k)/rt)+k,le=M(m(Y-=K),2-v(Y));Y=K+O(_/ee*m(le))-le,Mt[0]=ee*v(Y),Mt[1]=ee*m(Y)}return Mt}return ct.invert=function(vt,St){var Mt=F(vt*vt+St*St);if(Mt>k){var Y=M(St,vt),ee=rt*c((Y-k)/rt)+k,K=Y>ee?-1:1,le=Mt*v(ee-Y),Te=1/w(K*z((le-_)/F(_*(_-2*le)+Mt*Mt)));Y=ee+2*i((Te+K*F(Te*Te-3))/3),vt=Mt*v(Y),St=Mt*m(Y)}return re.N.invert(vt,St)},ct}function oe(){var et=5,rt=(0,d.r)(ie),ct=rt(et),vt=ct.stream,St=.01,Mt=-v(St*I),Y=m(St*I);return ct.lobes=function(ee){return arguments.length?rt(et=+ee):et},ct.stream=function(ee){var K=ct.rotate(),le=vt(ee),Te=(ct.rotate([0,0]),vt(ee));return ct.rotate(K),le.sphere=function(){Te.polygonStart(),Te.lineStart();for(var De=0,He=360/et,Ze=2*_/et,at=90-180/et,Tt=k;De0&&g(vt)>y);return Y<0?NaN:ct}function pe(et,rt,ct){return rt===void 0&&(rt=40),ct===void 0&&(ct=S),function(vt,St,Mt,Y){var ee,K,le;Mt=Mt===void 0?0:+Mt,Y=Y===void 0?0:+Y;for(var Te=0;Teee)Mt-=K/=2,Y-=le/=2;else{ee=at;var Tt=(Mt>0?-1:1)*ct,At=(Y>0?-1:1)*ct,se=et(Mt+Tt,Y),ve=et(Mt,Y+At),Ie=(se[0]-De[0])/Tt,Fe=(se[1]-De[1])/Tt,Ue=(ve[0]-De[0])/At,We=(ve[1]-De[1])/At,Xe=We*Ie-Fe*Ue,tt=(g(Xe)<.5?.5:1)/Xe;if(Mt+=K=(Ze*Ue-He*We)*tt,Y+=le=(He*Fe-Ze*Ie)*tt,g(K)0&&(Mt[1]*=1+Y/1.5*Mt[0]*Mt[0]),Mt}return rt.invert=pe(rt),rt}function Pe(){return(0,d.Z)(xe()).rotate([-16.5,-42]).scale(176.57).center([7.93,.09])}function _e(et,rt){var ct,vt=et*m(rt),St=30;do rt-=ct=(rt+m(rt)-vt)/(1+v(rt));while(g(ct)>y&&--St>0);return rt/2}function Me(et,rt,ct){function vt(St,Mt){return[et*St*v(Mt=_e(ct,Mt)),rt*m(Mt)]}return vt.invert=function(St,Mt){return Mt=O(Mt/rt),[St/(et*v(Mt)),O((2*Mt+m(2*Mt))/ct)]},vt}ye.invert=function(et,rt){var ct=2*O(rt/2);return[et*v(ct/2)/v(ct),ct]};var Se=Me(A/k,A,_);function Ce(){return(0,d.Z)(Se).scale(169.529)}var ae=2.00276,fe=1.11072;function be(et,rt){var ct=_e(_,rt);return[ae*et/(1/v(rt)+fe/v(ct)),(rt+A*m(ct))/ae]}function ke(){return(0,d.Z)(be).scale(160.857)}function Le(et){var rt=0,ct=(0,d.r)(et),vt=ct(rt);return vt.parallel=function(St){return arguments.length?ct(rt=St*I):rt*R},vt}function Be(et,rt){return[et*v(rt),rt]}function ze(){return(0,d.Z)(Be).scale(152.63)}function je(et){if(!et)return Be;var rt=1/w(et);function ct(vt,St){var Mt=rt+et-St,Y=Mt&&vt*v(St)/Mt;return[Mt*m(Y),rt-Mt*v(Y)]}return ct.invert=function(vt,St){var Mt=F(vt*vt+(St=rt-St)*St),Y=rt+et-Mt;return[Mt/v(Y)*M(vt,St),Y]},ct}function ge(){return Le(je).scale(123.082).center([0,26.1441]).parallel(45)}function we(et){function rt(ct,vt){var St=k-vt,Mt=St&&ct*et*m(St)/St;return[St*m(Mt)/et,k-St*v(Mt)]}return rt.invert=function(ct,vt){var St=ct*et,Mt=k-vt,Y=F(St*St+Mt*Mt),ee=M(St,Mt);return[(Y?Y/m(Y):1)*ee/et,k-Y]},rt}function Ee(){var et=.5,rt=(0,d.r)(we),ct=rt(et);return ct.fraction=function(vt){return arguments.length?rt(et=+vt):et},ct.scale(158.837)}be.invert=function(et,rt){var ct,vt,St=ae*rt,Mt=rt<0?-E:E,Y=25;do vt=St-A*m(Mt),Mt-=ct=(m(2*Mt)+2*Mt-_*m(vt))/(2*v(2*Mt)+2+_*v(vt)*A*v(Mt));while(g(ct)>y&&--Y>0);return vt=St-A*m(Mt),[et*(1/v(vt)+fe/v(Mt))/ae,vt]},Be.invert=function(et,rt){return[et/v(rt),rt]};var Ve=Me(1,4/_,_);function $e(){return(0,d.Z)(Ve).scale(152.63)}var Ye=t(66624),st=t(49386);function ot(et,rt,ct,vt,St,Mt){var Y,ee=v(Mt);if(g(et)>1||g(Mt)>1)Y=z(ct*St+rt*vt*ee);else{var K=m(et/2),le=m(Mt/2);Y=2*O(F(K*K+rt*vt*le*le))}return g(Y)>y?[Y,M(vt*m(Mt),rt*St-ct*vt*ee)]:[0,0]}function ht(et,rt,ct){return z((et*et+rt*rt-ct*ct)/(2*et*rt))}function bt(et){return et-2*_*l((et+_)/(2*_))}function Et(et,rt,ct){for(var vt,St=[[et[0],et[1],m(et[1]),v(et[1])],[rt[0],rt[1],m(rt[1]),v(rt[1])],[ct[0],ct[1],m(ct[1]),v(ct[1])]],Mt=St[2],Y=0;Y<3;++Y,Mt=vt)vt=St[Y],Mt.v=ot(vt[1]-Mt[1],Mt[3],Mt[2],vt[3],vt[2],vt[0]-Mt[0]),Mt.point=[0,0];var ee=ht(St[0].v[0],St[2].v[0],St[1].v[0]),K=ht(St[0].v[0],St[1].v[0],St[2].v[0]),le=_-ee;St[2].point[1]=0,St[0].point[0]=-(St[1].point[0]=St[0].v[0]/2);var Te=[St[2].point[0]=St[0].point[0]+St[2].v[0]*v(ee),2*(St[0].point[1]=St[1].point[1]=St[2].v[0]*m(ee))];return function(De,He){var Ze,at=m(He),Tt=v(He),At=new Array(3);for(Ze=0;Ze<3;++Ze){var se=St[Ze];if(At[Ze]=ot(He-se[1],se[3],se[2],Tt,at,De-se[0]),!At[Ze][0])return se.point;At[Ze][1]=bt(At[Ze][1]-se.v[1])}var ve=Te.slice();for(Ze=0;Ze<3;++Ze){var Ie=Ze==2?0:Ze+1,Fe=ht(St[Ze].v[0],At[Ze][0],At[Ie][0]);At[Ze][1]<0&&(Fe=-Fe),Ze?Ze==1?(Fe=K-Fe,ve[0]-=At[Ze][0]*v(Fe),ve[1]-=At[Ze][0]*m(Fe)):(Fe=le-Fe,ve[0]+=At[Ze][0]*v(Fe),ve[1]+=At[Ze][0]*m(Fe)):(ve[0]+=At[Ze][0]*v(Fe),ve[1]-=At[Ze][0]*m(Fe))}return ve[0]/=3,ve[1]/=3,ve}}function kt(et){return et[0]*=I,et[1]*=I,et}function xt(){return Ft([0,22],[45,22],[22.5,-22]).scale(380).center([22.5,2])}function Ft(et,rt,ct){var vt=(0,Ye.Z)({type:"MultiPoint",coordinates:[et,rt,ct]}),St=[-vt[0],-vt[1]],Mt=(0,st.Z)(St),Y=Et(kt(Mt(et)),kt(Mt(rt)),kt(Mt(ct)));Y.invert=pe(Y);var ee=(0,d.Z)(Y).rotate(St),K=ee.center;return delete ee.rotate,ee.center=function(le){return arguments.length?K(Mt(le)):Mt.invert(K())},ee.clipAngle(90)}function Ot(et,rt){var ct=F(1-m(rt));return[2/L*et*ct,L*(1-ct)]}function Bt(){return(0,d.Z)(Ot).scale(95.6464).center([0,30])}function qt(et){var rt=w(et);function ct(vt,St){return[vt,(vt?vt/m(vt):1)*(m(St)*v(vt)-rt*v(St))]}return ct.invert=rt?function(vt,St){vt&&(St*=m(vt)/vt);var Mt=v(vt);return[vt,2*M(F(Mt*Mt+rt*rt-St*St)-Mt,rt-St)]}:function(vt,St){return[vt,O(vt?St*w(vt)/vt:St)]},ct}function Vt(){return Le(qt).scale(249.828).clipAngle(90)}Ot.invert=function(et,rt){var ct=(ct=rt/L-1)*ct;return[ct>0?et*F(_/ct)/2:0,O(1-ct)]};var Ke=F(3);function Je(et,rt){return[Ke*et*(2*v(2*rt/3)-1)/L,Ke*L*m(rt/3)]}function qe(){return(0,d.Z)(Je).scale(156.19)}function nt(et){var rt=v(et);function ct(vt,St){return[vt*rt,m(St)/rt]}return ct.invert=function(vt,St){return[vt/rt,O(St*rt)]},ct}function ft(){return Le(nt).parallel(38.58).scale(195.044)}function Re(et){var rt=v(et);function ct(vt,St){return[vt*rt,(1+rt)*w(St/2)]}return ct.invert=function(vt,St){return[vt/rt,2*i(St/(1+rt))]},ct}function Ne(){return Le(Re).scale(124.75)}function Qe(et,rt){var ct=F(8/(3*_));return[ct*et*(1-g(rt)/_),ct*rt]}function ut(){return(0,d.Z)(Qe).scale(165.664)}function dt(et,rt){var ct=F(4-3*m(g(rt)));return[2/F(6*_)*et*ct,h(rt)*F(2*_/3)*(2-ct)]}function _t(){return(0,d.Z)(dt).scale(165.664)}function It(et,rt){var ct=F(_*(4+_));return[2/ct*et*(1+F(1-4*rt*rt/(_*_))),4/ct*rt]}function Lt(){return(0,d.Z)(It).scale(180.739)}function yt(et,rt){var ct=(2+k)*m(rt);rt/=2;for(var vt=0,St=1/0;vt<10&&g(St)>y;vt++){var Mt=v(rt);rt-=St=(rt+m(rt)*(Mt+2)-ct)/(2*Mt*(1+Mt))}return[2/F(_*(4+_))*et*(1+v(rt)),2*F(_/(4+_))*m(rt)]}function Pt(){return(0,d.Z)(yt).scale(180.739)}function wt(et,rt){return[et*(1+v(rt))/F(2+_),2*rt/F(2+_)]}function Rt(){return(0,d.Z)(wt).scale(173.044)}function Nt(et,rt){for(var ct=(1+k)*m(rt),vt=0,St=1/0;vt<10&&g(St)>y;vt++)rt-=St=(rt+m(rt)-ct)/(1+v(rt));return ct=F(2+_),[et*(1+v(rt))/ct,2*rt/ct]}function Yt(){return(0,d.Z)(Nt).scale(173.044)}Je.invert=function(et,rt){var ct=3*O(rt/(Ke*L));return[L*et/(Ke*(2*v(2*ct/3)-1)),ct]},Qe.invert=function(et,rt){var ct=F(8/(3*_)),vt=rt/ct;return[et/(ct*(1-g(vt)/_)),vt]},dt.invert=function(et,rt){var ct=2-g(rt)/F(2*_/3);return[et*F(6*_)/(2*ct),h(rt)*O((4-ct*ct)/3)]},It.invert=function(et,rt){var ct=F(_*(4+_))/2;return[et*ct/(1+F(1-rt*rt*(4+_)/(4*_))),rt*ct/2]},yt.invert=function(et,rt){var ct=rt*F((4+_)/_)/2,vt=O(ct),St=v(vt);return[et/(2/F(_*(4+_))*(1+St)),O((vt+ct*(St+2))/(2+k))]},wt.invert=function(et,rt){var ct=F(2+_),vt=rt*ct/2;return[ct*et/(1+v(vt)),vt]},Nt.invert=function(et,rt){var ct=1+k,vt=F(ct/2);return[2*et*vt/(1+v(rt*=vt)),O((rt+m(rt))/ct)]};var Wt=3+2*A;function Xt(et,rt){var ct=m(et/=2),vt=v(et),St=F(v(rt)),Mt=v(rt/=2),Y=m(rt)/(Mt+A*vt*St),ee=F(2/(1+Y*Y)),K=F((A*Mt+(vt+ct)*St)/(A*Mt+(vt-ct)*St));return[Wt*(ee*(K-1/K)-2*a(K)),Wt*(ee*Y*(K+1/K)-2*i(Y))]}function Qt(){return(0,d.Z)(Xt).scale(62.5271)}Xt.invert=function(et,rt){if(!(ct=H.invert(et/1.2,1.065*rt)))return null;var ct,vt=ct[0],St=ct[1],Mt=20;et/=Wt,rt/=Wt;do{var Y=vt/2,ee=St/2,K=m(Y),le=v(Y),Te=m(ee),De=v(ee),He=v(St),Ze=F(He),at=Te/(De+A*le*Ze),Tt=at*at,At=F(2/(1+Tt)),se=(A*De+(le+K)*Ze)/(A*De+(le-K)*Ze),ve=F(se),Ie=ve-1/ve,Fe=ve+1/ve,Ue=At*Ie-2*a(ve)-et,We=At*at*Fe-2*i(at)-rt,Xe=Te&&x*Ze*K*Tt/Te,tt=(A*le*De+Ze)/(2*(De+A*le*Ze)*(De+A*le*Ze)*Ze),lt=-.5*at*At*At*At,mt=lt*Xe,zt=lt*tt,Ut=(Ut=2*De+A*Ze*(le-K))*Ut*ve,Ht=(A*le*De*Ze+He)/Ut,en=-A*K*Te/(Ze*Ut),vn=Ie*mt-2*Ht/ve+At*(Ht+Ht/se),tn=Ie*zt-2*en/ve+At*(en+en/se),ln=at*Fe*mt-2*Xe/(1+Tt)+At*Fe*Xe+At*at*(Ht-Ht/se),an=at*Fe*zt-2*tt/(1+Tt)+At*Fe*tt+At*at*(en-en/se),Cn=tn*ln-an*vn;if(!Cn)break;var _n=(We*tn-Ue*an)/Cn,on=(Ue*ln-We*vn)/Cn;vt-=_n,St=u(-k,o(k,St-on))}while((g(_n)>y||g(on)>y)&&--Mt>0);return g(g(St)-k)vt){var De=F(Te),He=M(le,K),Ze=ct*c(He/ct),at=He-Ze,Tt=et*v(at),At=(et*m(at)-at*m(Tt))/(k-Tt),se=Gn(at,At),ve=(_-et)/qn(se,Tt,_);K=De;var Ie,Fe=50;do K-=Ie=(et+qn(se,Tt,K)*ve-De)/(se(K)*ve);while(g(Ie)>y&&--Fe>0);le=at*m(K),Kvt){var K=F(ee),le=M(Y,Mt),Te=ct*c(le/ct),De=le-Te;Mt=K*v(De),Y=K*m(De);for(var He=Mt-k,Ze=m(Mt),at=Y/Ze,Tt=Mty||g(He)>y)&&--Tt>0);return[Ze,at]},K}var Sr=rr(2.8284,-1.6988,.75432,-.18071,1.76003,-.38914,.042555);function yr(){return(0,d.Z)(Sr).scale(149.995)}var or=rr(2.583819,-.835827,.170354,-.038094,1.543313,-.411435,.082742);function vr(){return(0,d.Z)(or).scale(153.93)}var _r=rr(5/6*_,-.62636,-.0344,0,1.3493,-.05524,0,.045);function Kt(){return(0,d.Z)(_r).scale(130.945)}function bn(et,rt){var ct=et*et,vt=rt*rt;return[et*(1-.162388*vt)*(.87-952426e-9*ct*ct),rt*(1+vt/12)]}function Rn(){return(0,d.Z)(bn).scale(131.747)}bn.invert=function(et,rt){var ct,vt=et,St=rt,Mt=50;do{var Y=St*St;St-=ct=(St*(1+Y/12)-rt)/(1+Y/4)}while(g(ct)>y&&--Mt>0);Mt=50,et/=1-.162388*Y;do{var ee=(ee=vt*vt)*ee;vt-=ct=(vt*(.87-952426e-9*ee)-et)/(.87-.00476213*ee)}while(g(ct)>y&&--Mt>0);return[vt,St]};var Ln=rr(2.6516,-.76534,.19123,-.047094,1.36289,-.13965,.031762);function Un(){return(0,d.Z)(Ln).scale(131.087)}function Kn(et){var rt=et(k,0)[0]-et(-k,0)[0];function ct(vt,St){var Mt=vt>0?-.5:.5,Y=et(vt+Mt*_,St);return Y[0]-=Mt*rt,Y}return et.invert&&(ct.invert=function(vt,St){var Mt=vt>0?-.5:.5,Y=et.invert(vt+Mt*rt,St),ee=Y[0]-Mt*_;return ee<-_?ee+=2*_:ee>_&&(ee-=2*_),Y[0]=ee,Y}),ct}function $n(et,rt){var ct=h(et),vt=h(rt),St=v(rt),Mt=v(et)*St,Y=m(et)*St,ee=m(vt*rt);et=g(M(Y,ee)),rt=O(Mt),g(et-k)>y&&(et%=k);var K=function(le,Te){if(Te===k)return[0,0];var De,He,Ze=m(Te),at=Ze*Ze,Tt=at*at,At=1+Tt,se=1+3*Tt,ve=1-Tt,Ie=O(1/F(At)),Fe=ve+at*At*Ie,Ue=(1-Ze)/Fe,We=F(Ue),Xe=Ue*At,tt=F(Xe),lt=We*ve;if(le===0)return[0,-(lt+at*tt)];var mt,zt=v(Te),Ut=1/zt,Ht=2*Ze*zt,en=(-Fe*zt-(-3*at+Ie*se)*Ht*(1-Ze))/(Fe*Fe),vn=-Ut*Ht,tn=-Ut*(at*At*en+Ue*se*Ht),ln=-2*Ut*(ve*(.5*en/We)-2*at*We*Ht),an=4*le/_;if(le>.222*_||Te<_/4&&le>.175*_){if(De=(lt+at*F(Xe*(1+Tt)-lt*lt))/(1+Tt),le>_/4)return[De,De];var Cn=De,_n=.5*De;De=.5*(_n+Cn),He=50;do{var on=De*(ln+vn*F(Xe-De*De))+tn*O(De/tt)-an;if(!on)break;on<0?_n=De:Cn=De,De=.5*(_n+Cn)}while(g(Cn-_n)>y&&--He>0)}else{De=y,He=25;do{var Fn=De*De,Hn=F(Xe-Fn),ir=ln+vn*Hn,ar=De*ir+tn*O(De/tt)-an;De-=mt=Hn?ar/(ir+(tn-vn*Fn)/Hn):0}while(g(mt)>y&&--He>0)}return[De,-lt-at*F(Xe-De*De)]}(et>_/4?k-et:et,rt);return et>_/4&&(ee=K[0],K[0]=-K[1],K[1]=-ee),K[0]*=ct,K[1]*=-vt,K}function tr(){return(0,d.Z)(Kn($n)).scale(239.75)}function mr(et,rt){var ct,vt,St,Mt,Y,ee;if(rt=.999999)return ct=(1-rt)/4,St=1/(vt=N(et)),[(Mt=((ee=f(2*(ee=et)))-1)/(ee+1))+ct*((Y=vt*B(et))-et)/(vt*vt),St-ct*Mt*St*(Y-et),St+ct*Mt*St*(Y+et),2*i(f(et))-k+ct*(Y-et)/vt];var K=[1,0,0,0,0,0,0,0,0],le=[F(rt),0,0,0,0,0,0,0,0],Te=0;for(vt=F(1-rt),Y=1;g(le[Te]/K[Te])>y&&Te<8;)ct=K[Te++],le[Te]=(ct-vt)/2,K[Te]=(ct+vt)/2,vt=F(ct*vt),Y*=2;St=Y*K[Te]*et;do St=(O(Mt=le[Te]*m(vt=St)/K[Te])+St)/2;while(--Te);return[m(St),Mt=v(St),Mt/v(St-vt),St]}function nn(et,rt){if(!rt)return et;if(rt===1)return a(w(et/2+E));for(var ct=1,vt=F(1-rt),St=F(rt),Mt=0;g(St)>y;Mt++){if(et%_){var Y=i(vt*w(et)/ct);Y<0&&(Y+=_),et+=Y+~~(et/_)*_}else et+=et;St=(ct+vt)/2,vt=F(ct*vt),St=((ct=St)-vt)/2}return et/(s(2,Mt)*ct)}function Pn(et,rt){var ct=(A-1)/(A+1),vt=F(1-ct*ct),St=nn(k,vt*vt),Mt=a(w(_/4+g(rt)/2)),Y=f(-1*Mt)/F(ct),ee=function(le,Te){var De=le*le,He=Te+1,Ze=1-De-Te*Te;return[.5*((le>=0?k:-k)-M(Ze,2*le)),-.25*a(Ze*Ze+4*De)+.5*a(He*He+De)]}(Y*v(-1*et),Y*m(-1*et)),K=function(le,Te,De){var He=g(le),Ze=B(g(Te));if(He){var at=1/m(He),Tt=1/(w(He)*w(He)),At=-(Tt+De*(Ze*Ze*at*at)-1+De),se=(-At+F(At*At-(De-1)*Tt*4))/2;return[nn(i(1/F(se)),De)*h(le),nn(i(F((se/Tt-1)/De)),1-De)*h(Te)]}return[0,nn(i(Ze),1-De)*h(Te)]}(ee[0],ee[1],vt*vt);return[-K[1],(rt>=0?1:-1)*(.5*St-K[0])]}function jt(){return(0,d.Z)(Kn(Pn)).scale(151.496)}$n.invert=function(et,rt){g(et)>1&&(et=2*h(et)-et),g(rt)>1&&(rt=2*h(rt)-rt);var ct=h(et),vt=h(rt),St=-ct*et,Mt=-vt*rt,Y=Mt/St<1,ee=function(De,He){for(var Ze=0,at=1,Tt=.5,At=50;;){var se=Tt*Tt,ve=F(Tt),Ie=O(1/F(1+se)),Fe=1-se+Tt*(1+se)*Ie,Ue=(1-ve)/Fe,We=F(Ue),Xe=Ue*(1+se),tt=We*(1-se),lt=F(Xe-De*De),mt=He+tt+Tt*lt;if(g(at-Ze)0?Ze=Tt:at=Tt,Tt=.5*(Ze+at)}if(!At)return null;var zt=O(ve),Ut=v(zt),Ht=1/Ut,en=2*ve*Ut,vn=(-Fe*Ut-(-3*Tt+Ie*(1+3*se))*en*(1-ve))/(Fe*Fe);return[_/4*(De*(-2*Ht*(.5*vn/We*(1-se)-2*Tt*We*en)+-Ht*en*lt)+-Ht*(Tt*(1+se)*vn+Ue*(1+3*se)*en)*O(De/F(Xe))),zt]}(Y?Mt:St,Y?St:Mt),K=ee[0],le=ee[1],Te=v(le);return Y&&(K=-k-K),[ct*(M(m(K)*Te,-m(le))+_),vt*O(v(K)*Te)]},Pn.invert=function(et,rt){var ct,vt,St,Mt,Y,ee,K=(A-1)/(A+1),le=F(1-K*K),Te=(vt=-et,St=le*le,(ct=.5*nn(k,le*le)-rt)?(Mt=mr(ct,St),vt?(ee=(Y=mr(vt,1-St))[1]*Y[1]+St*Mt[0]*Mt[0]*Y[0]*Y[0],[[Mt[0]*Y[2]/ee,Mt[1]*Mt[2]*Y[0]*Y[1]/ee],[Mt[1]*Y[1]/ee,-Mt[0]*Mt[2]*Y[0]*Y[2]/ee],[Mt[2]*Y[1]*Y[2]/ee,-St*Mt[0]*Mt[1]*Y[0]/ee]]):[[Mt[0],0],[Mt[1],0],[Mt[2],0]]):[[0,(Y=mr(vt,1-St))[0]/Y[1]],[1/Y[1],0],[Y[2]/Y[1],0]]),De=function(He,Ze){var at=Ze[0]*Ze[0]+Ze[1]*Ze[1];return[(He[0]*Ze[0]+He[1]*Ze[1])/at,(He[1]*Ze[0]-He[0]*Ze[1])/at]}(Te[0],Te[1]);return[M(De[1],De[0])/-1,2*i(f(-.5*a(K*De[0]*De[0]+K*De[1]*De[1])))-k]};var Jt=t(7613);function hn(et){var rt=m(et),ct=v(et),vt=zn(et);function St(Mt,Y){var ee=vt(Mt,Y);Mt=ee[0],Y=ee[1];var K=m(Y),le=v(Y),Te=v(Mt),De=z(rt*K+ct*le*Te),He=m(De),Ze=g(He)>y?De/He:1;return[Ze*ct*m(Mt),(g(Mt)>k?Ze:-Ze)*(rt*le-ct*K*Te)]}return vt.invert=zn(-et),St.invert=function(Mt,Y){var ee=F(Mt*Mt+Y*Y),K=-m(ee),le=v(ee),Te=ee*le,De=-Y*K,He=ee*rt,Ze=F(Te*Te+De*De-He*He),at=M(Te*He+De*Ze,De*He-Te*Ze),Tt=(ee>k?-1:1)*M(Mt*K,ee*v(at)*le+Y*m(at)*K);return vt.invert(Tt,at)},St}function zn(et){var rt=m(et),ct=v(et);return function(vt,St){var Mt=v(St),Y=v(vt)*Mt,ee=m(vt)*Mt,K=m(St);return[M(ee,Y*ct-K*rt),O(K*ct+Y*rt)]}}function On(){var et=0,rt=(0,d.r)(hn),ct=rt(et),vt=ct.rotate,St=ct.stream,Mt=(0,Jt.Z)();return ct.parallel=function(Y){if(!arguments.length)return et*R;var ee=ct.rotate();return rt(et=Y*I).rotate(ee)},ct.rotate=function(Y){return arguments.length?(vt.call(ct,[Y[0],Y[1]-et*R]),Mt.center([-Y[0],-Y[1]]),ct):((Y=vt.call(ct))[1]+=et*R,Y)},ct.stream=function(Y){return(Y=St(Y)).sphere=function(){Y.polygonStart();var ee,K=Mt.radius(89.99)().coordinates[0],le=K.length-1,Te=-1;for(Y.lineStart();++Te=0;)Y.point((ee=K[Te])[0],ee[1]);Y.lineEnd(),Y.polygonEnd()},Y},ct.scale(79.4187).parallel(45).clipAngle(179.999)}var En=t(33064),mn=t(72736),wn=O(1-1/3)*R,gn=nt(0);function yn(et){var rt=wn*I,ct=Ot(_,rt)[0]-Ot(-_,rt)[0],vt=gn(0,rt)[1],St=Ot(0,rt)[1],Mt=L-St,Y=b/et,ee=4/b,K=vt+Mt*Mt*4/b;function le(Te,De){var He,Ze=g(De);if(Ze>rt){var at=o(et-1,u(0,l((Te+_)/Y)));(He=Ot(Te+=_*(et-1)/et-at*Y,Ze))[0]=He[0]*b/ct-b*(et-1)/(2*et)+at*b/et,He[1]=vt+4*(He[1]-St)*Mt/b,De<0&&(He[1]=-He[1])}else He=gn(Te,De);return He[0]*=ee,He[1]/=K,He}return le.invert=function(Te,De){Te/=ee;var He=g(De*=K);if(He>vt){var Ze=o(et-1,u(0,l((Te+_)/Y)));Te=(Te+_*(et-1)/et-Ze*Y)*ct/b;var at=Ot.invert(Te,.25*(He-vt)*b/Mt+St);return at[0]-=_*(et-1)/et-Ze*Y,De<0&&(at[1]=-at[1]),at}return gn.invert(Te,De)},le}function Sn(et,rt){return[et,1&rt?89.999999:wn]}function Vn(et,rt){return[et,1&rt?-89.999999:-wn]}function Xn(et){return[.999999*et[0],et[1]]}function nr(){var et=4,rt=(0,d.r)(yn),ct=rt(et),vt=ct.stream;return ct.lobes=function(St){return arguments.length?rt(et=+St):et},ct.stream=function(St){var Mt=ct.rotate(),Y=vt(St),ee=(ct.rotate([0,0]),vt(St));return ct.rotate(Mt),Y.sphere=function(){var K,le;(0,mn.Z)((K=180/et,le=[].concat((0,En.w6)(-180,180+K/2,K).map(Sn),(0,En.w6)(180,-180-K/2,-K).map(Vn)),{type:"Polygon",coordinates:[K===180?le.map(Xn):le]}),ee)},Y},ct.scale(239.75)}function Qn(et){var rt,ct=1+et,vt=O(m(1/ct)),St=2*F(_/(rt=_+4*vt*ct)),Mt=.5*St*(ct+F(et*(2+et))),Y=et*et,ee=ct*ct;function K(le,Te){var De,He,Ze=1-m(Te);if(Ze&&Ze<2){var at,Tt=k-Te,At=25;do{var se=m(Tt),ve=v(Tt),Ie=vt+M(se,ct-ve),Fe=1+ee-2*ct*ve;Tt-=at=(Tt-Y*vt-ct*se+Fe*Ie-.5*Ze*rt)/(2*ct*se*Ie)}while(g(at)>S&&--At>0);De=St*F(Fe),He=le*Ie/_}else De=St*(et+Ze),He=le*vt/_;return[De*m(He),Mt-De*v(He)]}return K.invert=function(le,Te){var De=le*le+(Te-=Mt)*Te,He=(1+ee-De/(St*St))/(2*ct),Ze=z(He),at=m(Ze),Tt=vt+M(at,ct-He);return[O(le/F(De))*_/Tt,O(1-2*(Ze-Y*vt-ct*at+(1+ee-2*ct*He)*Tt)/rt)]},K}function hr(){var et=1,rt=(0,d.r)(Qn),ct=rt(et);return ct.ratio=function(vt){return arguments.length?rt(et=+vt):et},ct.scale(167.774).center([0,18.67])}var cr=.7109889596207567,pr=.0528035274542;function dr(et,rt){return rt>-cr?((et=Se(et,rt))[1]+=pr,et):Be(et,rt)}function br(){return(0,d.Z)(dr).rotate([-20,-55]).scale(164.263).center([0,-5.4036])}function Ir(et,rt){return g(rt)>cr?((et=Se(et,rt))[1]-=rt>0?pr:-pr,et):Be(et,rt)}function Lr(){return(0,d.Z)(Ir).scale(152.63)}function zr(et,rt,ct,vt){var St=F(4*_/(2*ct+(1+et-rt/2)*m(2*ct)+(et+rt)/2*m(4*ct)+rt/2*m(6*ct))),Mt=F(vt*m(ct)*F((1+et*v(2*ct)+rt*v(4*ct))/(1+et+rt))),Y=ct*K(1);function ee(De){return F(1+et*v(2*De)+rt*v(4*De))}function K(De){var He=De*ct;return(2*He+(1+et-rt/2)*m(2*He)+(et+rt)/2*m(4*He)+rt/2*m(6*He))/ct}function le(De){return ee(De)*m(De)}var Te=function(De,He){var Ze=ct*me(K,Y*m(He)/ct,He/_);isNaN(Ze)&&(Ze=ct*h(He));var at=St*ee(Ze);return[at*Mt*De/_*v(Ze),at/Mt*m(Ze)]};return Te.invert=function(De,He){var Ze=me(le,He*Mt/St);return[De*_/(v(Ze)*St*Mt*ee(Ze)),O(ct*K(Ze/ct)/Y)]},ct===0&&(St=F(vt/_),(Te=function(De,He){return[De*St,m(He)/St]}).invert=function(De,He){return[De/St,O(He*St)]}),Te}function gr(){var et=1,rt=0,ct=45*I,vt=2,St=(0,d.r)(zr),Mt=St(et,rt,ct,vt);return Mt.a=function(Y){return arguments.length?St(et=+Y,rt,ct,vt):et},Mt.b=function(Y){return arguments.length?St(et,rt=+Y,ct,vt):rt},Mt.psiMax=function(Y){return arguments.length?St(et,rt,ct=+Y*I,vt):ct*R},Mt.ratio=function(Y){return arguments.length?St(et,rt,ct,vt=+Y):vt},Mt.scale(180.739)}function Fr(et,rt,ct,vt,St,Mt,Y,ee,K,le,Te){if(Te.nanEncountered)return NaN;var De,He,Ze,at,Tt,At,se,ve,Ie,Fe;if(He=et(rt+.25*(De=ct-rt)),Ze=et(ct-.25*De),isNaN(He))Te.nanEncountered=!0;else{if(!isNaN(Ze))return Fe=((At=(at=De*(vt+4*He+St)/12)+(Tt=De*(St+4*Ze+Mt)/12))-Y)/15,le>K?(Te.maxDepthCount++,At+Fe):Math.abs(Fe)Ze?Tt=At:at=At,At=at+Tt>>1;while(At>at);var se=K[At+1]-K[At];return se&&(se=(Ze-K[At+1])/se),(At+1+se)/Y}var De=2*Te(1)/_*Mt/ct,He=function(Ze,at){var Tt=Te(g(m(at))),At=vt(Tt)*Ze;return Tt/=De,[At,at>=0?Tt:-Tt]};return He.invert=function(Ze,at){var Tt;return g(at*=De)<1&&(Tt=h(at)*O(St(g(at))*Mt)),[Ze/vt(g(at)),Tt]},He}function ea(){var et=0,rt=2.5,ct=1.183136,vt=(0,d.r)(ji),St=vt(et,rt,ct);return St.alpha=function(Mt){return arguments.length?vt(et=+Mt,rt,ct):et},St.k=function(Mt){return arguments.length?vt(et,rt=+Mt,ct):rt},St.gamma=function(Mt){return arguments.length?vt(et,rt,ct=+Mt):ct},St.scale(152.63)}function sa(et,rt){return g(et[0]-rt[0])=0;--ee)ct=(rt=et[1][ee])[0][0],vt=rt[0][1],St=rt[1][1],Mt=rt[2][0],Y=rt[2][1],K.push(uo([[Mt-y,Y-y],[Mt-y,St+y],[ct+y,St+y],[ct+y,vt-y]],30));return{type:"Polygon",coordinates:[(0,En.TS)(K)]}}function Xi(et,rt,ct){var vt,St;function Mt(K,le){for(var Te=le<0?-1:1,De=rt[+(le<0)],He=0,Ze=De.length-1;HeDe[He][2][0];++He);var at=et(K-De[He][1][0],le);return at[0]+=et(De[He][1][0],Te*le>Te*De[He][0][1]?De[He][0][1]:le)[0],at}ct?Mt.invert=ct(Mt):et.invert&&(Mt.invert=function(K,le){for(var Te=St[+(le<0)],De=rt[+(le<0)],He=0,Ze=Te.length;HeTt&&(De=at,at=Tt,Tt=De),[[He,at],[Ze,Tt]]})}),Y):rt.map(function(le){return le.map(function(Te){return[[Te[0][0]*R,Te[0][1]*R],[Te[1][0]*R,Te[1][1]*R],[Te[2][0]*R,Te[2][1]*R]]})})},rt!=null&&Y.lobes(rt),Y}dr.invert=function(et,rt){return rt>-cr?Se.invert(et,rt-pr):Be.invert(et,rt)},Ir.invert=function(et,rt){return g(rt)>cr?Se.invert(et,rt+(rt>0?pr:-pr)):Be.invert(et,rt)};var Do=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function rs(){return Xi(be,Do).scale(160.857)}var el=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function Cu(){return Xi(Ir,el).scale(152.63)}var gf=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function Mh(){return Xi(Se,gf).scale(169.529)}var Eu=[[[[-180,0],[-90,90],[0,0]],[[0,0],[90,90],[180,0]]],[[[-180,0],[-90,-90],[0,0]],[[0,0],[90,-90],[180,0]]]];function is(){return Xi(Se,Eu).scale(169.529).rotate([20,0])}var Ah=[[[[-180,35],[-30,90],[0,35]],[[0,35],[30,90],[180,35]]],[[[-180,-10],[-102,-90],[-65,-10]],[[-65,-10],[5,-90],[77,-10]],[[77,-10],[103,-90],[180,-10]]]];function Ya(){return Xi(dr,Ah,pe).rotate([-20,-55]).scale(164.263).center([0,-5.4036])}var hc=[[[[-180,0],[-110,90],[-40,0]],[[-40,0],[0,90],[40,0]],[[40,0],[110,90],[180,0]]],[[[-180,0],[-110,-90],[-40,0]],[[-40,0],[0,-90],[40,0]],[[40,0],[110,-90],[180,0]]]];function Yo(){return Xi(Be,hc).scale(152.63).rotate([-20,0])}function as(et,rt){return[3/b*et*F(_*_/3-rt*rt),rt]}function Ml(){return(0,d.Z)(as).scale(158.837)}function Ui(et){function rt(ct,vt){if(g(g(vt)-k)2)return null;var Mt=(ct/=2)*ct,Y=(vt/=2)*vt,ee=2*vt/(1+Mt+Y);return ee=s((1+ee)/(1-ee),1/et),[M(2*ct,1-Mt-Y)/et,O((ee-1)/(ee+1))]},rt}function Al(){var et=.5,rt=(0,d.r)(Ui),ct=rt(et);return ct.spacing=function(vt){return arguments.length?rt(et=+vt):et},ct.scale(124.75)}as.invert=function(et,rt){return[b/3*et/F(_*_/3-rt*rt),rt]};var ps=_/A;function Es(et,rt){return[et*(1+F(v(rt)))/2,rt/(v(rt/2)*v(et/6))]}function js(){return(0,d.Z)(Es).scale(97.2672)}function fc(et,rt){var ct=et*et,vt=rt*rt;return[et*(.975534+vt*(-.0143059*ct-.119161+-.0547009*vt)),rt*(1.00384+ct*(.0802894+-.02855*vt+199025e-9*ct)+vt*(.0998909+-.0491032*vt))]}function vf(){return(0,d.Z)(fc).scale(139.98)}function tl(et,rt){return[m(et)/v(rt),w(rt)*v(et)]}function yf(){return(0,d.Z)(tl).scale(144.049).clipAngle(89.999)}function bf(et){var rt=v(et),ct=w(E+et/2);function vt(St,Mt){var Y=Mt-et,ee=g(Y)=0;)He=(De=et[Te])[0]+K*(Mt=He)-le*Ze,Ze=De[1]+K*Ze+le*Mt;return[He=K*(Mt=He)-le*Ze,Ze=K*Ze+le*Mt]}return ct.invert=function(vt,St){var Mt=20,Y=vt,ee=St;do{for(var K,le=rt,Te=et[le],De=Te[0],He=Te[1],Ze=0,at=0;--le>=0;)Ze=De+Y*(K=Ze)-ee*at,at=He+Y*at+ee*K,De=(Te=et[le])[0]+Y*(K=De)-ee*He,He=Te[1]+Y*He+ee*K;var Tt,At,se=(Ze=De+Y*(K=Ze)-ee*at)*Ze+(at=He+Y*at+ee*K)*at;Y-=Tt=((De=Y*(K=De)-ee*He-vt)*Ze+(He=Y*He+ee*K-St)*at)/se,ee-=At=(He*Ze-De*at)/se}while(g(Tt)+g(At)>1e-12&&--Mt>0);if(Mt){var ve=F(Y*Y+ee*ee),Ie=2*i(.5*ve),Fe=m(Ie);return[M(Y*Fe,ve*v(Ie)),ve?O(ee*Fe/ve):0]}},ct}Es.invert=function(et,rt){var ct=g(et),vt=g(rt),St=y,Mt=k;vty||g(At)>y)&&--St>0);return St&&[ct,vt]},tl.invert=function(et,rt){var ct=et*et,vt=rt*rt+1,St=ct+vt,Mt=et?x*F((St-F(St*St-4*ct))/ct):1/F(vt);return[O(et*Mt),h(rt)*z(Mt)]},Sh.invert=function(et,rt){return[et,2.5*i(f(.8*rt))-.625*_]};var nl=[[.9972523,0],[.0052513,-.0041175],[.0074606,.0048125],[-.0153783,-.1968253],[.0636871,-.1408027],[.3660976,-.2937382]],rl=[[.98879,0],[0,0],[-.050909,0],[0,0],[.075528,0]],Lu=[[.984299,0],[.0211642,.0037608],[-.1036018,-.0575102],[-.0329095,-.0320119],[.0499471,.1223335],[.026046,.0899805],[7388e-7,-.1435792],[.0075848,-.1334108],[-.0216473,.0776645],[-.0225161,.0853673]],il=[[.9245,0],[0,0],[.01943,0]],Eh=[[.721316,0],[0,0],[-.00881625,-.00617325]];function Lh(){return Ql(nl,[152,-64]).scale(1400).center([-160.908,62.4864]).clipAngle(30).angle(7.8)}function Jl(){return Ql(rl,[95,-38]).scale(1e3).clipAngle(55).center([-96.5563,38.8675])}function jc(){return Ql(Lu,[120,-45]).scale(359.513).clipAngle(55).center([-117.474,53.0628])}function Sl(){return Ql(il,[-20,-18]).scale(209.091).center([20,16.7214]).clipAngle(82)}function Iu(){return Ql(Eh,[165,10]).scale(250).clipAngle(130).center([-165,-10])}function Ql(et,rt){var ct=(0,d.Z)(Ch(et)).rotate(rt).clipAngle(90),vt=(0,st.Z)(rt),St=ct.center;return delete ct.rotate,ct.center=function(Mt){return arguments.length?St(vt(Mt)):vt.invert(St())},ct}var al=F(6),Hi=F(7);function Cl(et,rt){var ct=O(7*m(rt)/(3*al));return[al*et*(2*v(2*ct/3)-1)/Hi,9*m(ct/3)/Hi]}function ad(){return(0,d.Z)(Cl).scale(164.859)}function Uc(et,rt){for(var ct,vt=(1+x)*m(rt),St=rt,Mt=0;Mt<25&&(St-=ct=(m(St/2)+m(St)-vt)/(.5*v(St/2)+v(St)),!(g(ct)S&&--ee>0);return[et/(.84719-.13063*(vt=Y*Y)+(Mt=vt*(St=vt*vt))*Mt*(.05494*vt-.04515-.02326*St+.00331*Mt)),Y]},Pu.invert=function(et,rt){for(var ct=rt/2,vt=0,St=1/0;vt<10&&g(St)>y;++vt){var Mt=v(rt/2);rt-=St=(rt-w(rt/2)-ct)/(1-.5/(Mt*Mt))}return[2*et/(1+v(rt)),rt]};var tu=[[[[-180,0],[-90,90],[0,0]],[[0,0],[90,90],[180,0]]],[[[-180,0],[-90,-90],[0,0]],[[0,0],[90,-90],[180,0]]]];function nu(){return Xi(ce(1/0),tu).rotate([20,0]).scale(152.63)}function Ou(et,rt){var ct=m(rt),vt=v(rt),St=h(et);if(et===0||g(rt)===k)return[0,rt];if(rt===0)return[et,0];if(g(et)===k)return[et*vt,k*ct];var Mt=_/(2*et)-2*et/_,Y=2*rt/_,ee=(1-Y*Y)/(ct-Y),K=Mt*Mt,le=ee*ee,Te=1+K/le,De=1+le/K,He=(Mt*ct/ee-Mt/2)/Te,Ze=(le*ct/K+ee/2)/De,at=Ze*Ze-(le*ct*ct/K+ee*ct-1)/De;return[k*(He+F(He*He+vt*vt/Te)*St),k*(Ze+F(at<0?0:at)*h(-rt*Mt)*St)]}function gc(){return(0,d.Z)(Ou).scale(127.267)}Ou.invert=function(et,rt){var ct=(et/=k)*et,vt=ct+(rt/=k)*rt,St=_*_;return[et?(vt-1+F((1-vt)*(1-vt)+4*ct))/(2*et)*k:0,me(function(Mt){return vt*(_*m(Mt)-2*Mt)*_+4*Mt*Mt*(rt-m(Mt))+2*_*Mt-St*rt},0)]};var vc=1.0148,gs=.23185,yc=-.14499,bc=.02406,Rh=1.790857183;function El(et,rt){var ct=rt*rt;return[et,rt*(vc+ct*ct*(gs+ct*(yc+bc*ct)))]}function Hc(){return(0,d.Z)(El).scale(139.319)}function xc(et,rt){if(g(rt)Rh?rt=Rh:rt<-1.790857183&&(rt=-1.790857183);var ct,vt=rt;do{var St=vt*vt;vt-=ct=(vt*(vc+St*St*(gs+St*(yc+bc*St)))-rt)/(1.0148+St*St*(1.1592500000000001+St*(.21654*St-1.01493)))}while(g(ct)>y);return[et,vt]},xc.invert=function(et,rt){if(g(rt)y&&--Mt>0);return Y=w(St),[(g(rt)=0;)if(tt=We[Ut],Xe[0]===tt[0]&&Xe[1]===tt[1]){if(mt)return[mt,Xe];mt=Xe}}}(K.face,le.face),De=(Tt=Te.map(le.project),At=Te.map(K.project),se=iu(Tt[1],Tt[0]),ve=iu(At[1],At[0]),Ie=function(Ue,We){return M(Ue[0]*We[1]-Ue[1]*We[0],Ue[0]*We[0]+Ue[1]*We[1])}(se,ve),Fe=Ki(se)/Ki(ve),ru([1,0,Tt[0][0],0,1,Tt[0][1]],ru([Fe,0,0,0,Fe,0],ru([v(Ie),m(Ie),0,-m(Ie),v(Ie),0],[1,0,-At[0][0],0,1,-At[0][1]]))));K.transform=le.transform?ru(le.transform,De):De;for(var He=le.edges,Ze=0,at=He.length;Ze0?[-vt[0],0]:[180-vt[0],180])};var rt=Us.map(function(ct){return{face:ct,project:et(ct)}});return[-1,0,0,1,0,1,4,5].forEach(function(ct,vt){var St=rt[ct];St&&(St.children||(St.children=[])).push(rt[vt])}),Ll(rt[0],function(ct,vt){return rt[ct<-_/2?vt<0?6:4:ct<0?vt<0?2:0:ct<_/2?vt<0?3:1:vt<0?7:5]}).angle(-30).scale(121.906).center([0,48.5904])}function ou(et){et=et||function(Mt){var Y=Mt.length===6?(0,Ye.Z)({type:"MultiPoint",coordinates:Mt}):Mt[0];return(0,Bi.Z)().scale(1).translate([0,0]).rotate([-Y[0],-Y[1]])};var rt=Us.map(function(Mt){for(var Y,ee=Mt.map(da),K=ee.length,le=ee[K-1],Te=[],De=0;DeK^ve>K&&ee<(se-at)*(K-Tt)/(ve-Tt)+at&&(le=!le)}return le}(St[0],vt))return St.push(ct),!0})||et.push([ct])}),zo=[],et.length?et.length>1?{type:"MultiPolygon",coordinates:et}:{type:"Polygon",coordinates:et[0]}:null}};function $o(et){var rt=et(k,0)[0]-et(-k,0)[0];function ct(vt,St){var Mt=g(vt)0?vt-_:vt+_,St),ee=(Y[0]-Y[1])*x,K=(Y[0]+Y[1])*x;if(Mt)return[ee,K];var le=rt*x,Te=ee>0^K>0?-1:1;return[Te*ee-h(K)*le,Te*K-h(ee)*le]}return et.invert&&(ct.invert=function(vt,St){var Mt=(vt+St)*x,Y=(St-vt)*x,ee=g(Mt)<.5*rt&&g(Y)<.5*rt;if(!ee){var K=rt*x,le=Mt>0^Y>0?-1:1,Te=-le*vt+(Y>0?1:-1)*K,De=-le*St+(Mt>0?1:-1)*K;Mt=(-Te-De)*x,Y=(Te-De)*x}var He=et.invert(Mt,Y);return ee||(He[0]+=Mt>0?_:-_),He}),(0,d.Z)(ct).rotate([-90,-90,45]).clipAngle(179.999)}function qc(){return $o($n).scale(176.423)}function Wc(){return $o(Pn).scale(111.48)}function Lo(et,rt){if(!(0<=(rt=+rt)&&rt<=20))throw new Error("invalid digits");function ct(le){var Te=le.length,De=2,He=new Array(Te);for(He[0]=+le[0].toFixed(rt),He[1]=+le[1].toFixed(rt);De2||Ze[0]!=Te[0]||Ze[1]!=Te[1])&&(De.push(Ze),Te=Ze)}return De.length===1&&le.length>1&&De.push(ct(le[le.length-1])),De}function Mt(le){return le.map(St)}function Y(le){if(le==null)return le;var Te;switch(le.type){case"GeometryCollection":Te={type:"GeometryCollection",geometries:le.geometries.map(Y)};break;case"Point":Te={type:"Point",coordinates:ct(le.coordinates)};break;case"MultiPoint":Te={type:le.type,coordinates:vt(le.coordinates)};break;case"LineString":Te={type:le.type,coordinates:St(le.coordinates)};break;case"MultiLineString":case"Polygon":Te={type:le.type,coordinates:Mt(le.coordinates)};break;case"MultiPolygon":Te={type:"MultiPolygon",coordinates:le.coordinates.map(Mt)};break;default:return le}return le.bbox!=null&&(Te.bbox=le.bbox),Te}function ee(le){var Te={type:"Feature",properties:le.properties,geometry:Y(le.geometry)};return le.id!=null&&(Te.id=le.id),le.bbox!=null&&(Te.bbox=le.bbox),Te}if(et!=null)switch(et.type){case"Feature":return ee(et);case"FeatureCollection":var K={type:"FeatureCollection",features:et.features.map(ee)};return et.bbox!=null&&(K.bbox=et.bbox),K;default:return Y(et)}return et}function Dr(et){var rt=m(et);function ct(vt,St){var Mt=rt?w(vt*rt/2)/rt:vt/2;if(!St)return[2*Mt,-et];var Y=2*i(Mt*m(St)),ee=1/w(St);return[m(Y)*ee,St+(1-v(Y))*ee-et]}return ct.invert=function(vt,St){if(g(St+=et)y&&--K>0);var He=vt*(le=w(ee)),Ze=w(g(St)0?k:-k)*(le+Mt*(De-ee)/2+Mt*Mt*(De-2*le+ee)/2)]}function zu(){return(0,d.Z)(Yc).scale(152.63)}function Fu(et,rt){var ct=function(Y){function ee(K,le){var Te=v(le),De=(Y-1)/(Y-Te*v(K));return[De*Te*m(K),De*m(le)]}return ee.invert=function(K,le){var Te=K*K+le*le,De=F(Te),He=(Y-F(1-Te*(Y+1)/(Y-1)))/((Y-1)/De+De/(Y-1));return[M(K*He,De*F(1-He*He)),De?O(le*He/De):0]},ee}(et);if(!rt)return ct;var vt=v(rt),St=m(rt);function Mt(Y,ee){var K=ct(Y,ee),le=K[1],Te=le*St/(et-1)+vt;return[K[0]*vt/Te,le/Te]}return Mt.invert=function(Y,ee){var K=(et-1)/(et-1-ee*St);return ct.invert(K*Y,K*ee*vt)},Mt}function Bu(){var et=2,rt=0,ct=(0,d.r)(Fu),vt=ct(et,rt);return vt.distance=function(St){return arguments.length?ct(et=+St,rt):et},vt.tilt=function(St){return arguments.length?ct(et,rt=St*I):rt*R},vt.scale(432.147).clipAngle(z(1/et)*R-1e-6)}Fo.forEach(function(et){et[1]*=1.0144}),Yc.invert=function(et,rt){var ct=rt/k,vt=90*ct,St=o(18,g(vt/5)),Mt=u(0,l(St));do{var Y=Fo[Mt][1],ee=Fo[Mt+1][1],K=Fo[o(19,Mt+2)][1],le=K-Y,Te=K-2*ee+Y,De=2*(g(ct)-ee)/le,He=Te/le,Ze=De*(1-He*De*(1-2*He*De));if(Ze>=0||Mt===1){vt=(rt>=0?5:-5)*(Ze+St);var at,Tt=50;do Ze=(St=o(18,g(vt)/5))-(Mt=l(St)),Y=Fo[Mt][1],ee=Fo[Mt+1][1],K=Fo[o(19,Mt+2)][1],vt-=(at=(rt>=0?k:-k)*(ee+Ze*(K-Y)/2+Ze*Ze*(K-2*ee+Y)/2)-rt)*R;while(g(at)>S&&--Tt>0);break}}while(--Mt>=0);var At=Fo[Mt][0],se=Fo[Mt+1][0],ve=Fo[o(19,Mt+2)][0];return[et/(se+Ze*(ve-At)/2+Ze*Ze*(ve-2*se+At)/2),vt*I]};var Br=-179.9999,Nu=179.9999,ys=-89.9999,$c=89.9999;function wc(et){return et.length>0}function vo(et){return et===-90||et===90?[0,et]:[-180,(rt=et,Math.floor(1e4*rt)/1e4)];var rt}function cu(et){var rt=et[0],ct=et[1],vt=!1;return rt<=Br?(rt=-180,vt=!0):rt>=Nu&&(rt=180,vt=!0),ct<=ys?(ct=-90,vt=!0):ct>=$c&&(ct=90,vt=!0),vt?[rt,ct]:et}function ll(et){return et.map(cu)}function Zo(et,rt,ct){for(var vt=0,St=et.length;vt=Nu||Te<=ys||Te>=$c){Mt[Y]=cu(K);for(var De=Y+1;DeBr&&Zeys&&at<$c)break}if(De===Y+1)continue;if(Y){var Tt={index:-1,polygon:rt,ring:Mt.slice(0,Y+1)};Tt.ring[Tt.ring.length-1]=vo(Te),ct[ct.length-1]=Tt}else ct.pop();if(De>=ee)break;ct.push({index:-1,polygon:rt,ring:Mt=Mt.slice(De-1)}),Mt[0]=vo(Mt[0][1]),Y=-1,ee=Mt.length}}}}function Pl(et){var rt,ct,vt,St,Mt,Y,ee=et.length,K={},le={};for(rt=0;rt0?_-ee:ee)*R],le=(0,d.Z)(et(Y)).rotate(K),Te=(0,st.Z)(K),De=le.center;return delete le.rotate,le.center=function(He){return arguments.length?De(Te(He)):Te.invert(De())},le.clipAngle(90)}function Tc(et){var rt=v(et);function ct(vt,St){var Mt=(0,Bi.M)(vt,St);return Mt[0]*=rt,Mt}return ct.invert=function(vt,St){return Bi.M.invert(vt/rt,St)},ct}function os(){return _s([-158,21.5],[-77,39]).clipAngle(60).scale(400)}function _s(et,rt){return Yi(Tc,et,rt)}function Gs(et){if(!(et*=2))return re.N;var rt=-et/2,ct=-rt,vt=et*et,St=w(ct),Mt=.5/m(ct);function Y(ee,K){var le=z(v(K)*v(ee-rt)),Te=z(v(K)*v(ee-ct));return[((le*=le)-(Te*=Te))/(2*et),(K<0?-1:1)*F(4*vt*Te-(vt-le+Te)*(vt-le+Te))/(2*et)]}return Y.invert=function(ee,K){var le,Te,De=K*K,He=v(F(De+(le=ee+rt)*le)),Ze=v(F(De+(le=ee+ct)*le));return[M(Te=He-Ze,le=(He+Ze)*St),(K<0?-1:1)*z(F(le*le+Te*Te)*Mt)]},Y}function Bo(){return Wi([-158,21.5],[-77,39]).clipAngle(130).scale(122.571)}function Wi(et,rt){return Yi(Gs,et,rt)}function no(et,rt){if(g(rt)y&&--ee>0);return[h(et)*(F(St*St+4)+St)*_/4,k*Y]};var cl=4*_+3*F(3),Rs=2*F(2*_*F(3)/cl),xo=Me(Rs*F(3)/_,Rs,cl/6);function Zc(){return(0,d.Z)(xo).scale(176.84)}function Vo(et,rt){return[et*F(1-3*rt*rt/(_*_)),rt]}function ju(){return(0,d.Z)(Vo).scale(152.63)}function hl(et,rt){var ct=v(rt),vt=v(et)*ct,St=1-vt,Mt=v(et=M(m(et)*ct,-m(rt))),Y=m(et);return[Y*(ct=F(1-vt*vt))-Mt*St,-Mt*ct-Y*St]}function Ji(){return(0,d.Z)(hl).rotate([0,-90,45]).scale(124.75).clipAngle(179.999)}function la(et,rt){var ct=$(et,rt);return[(ct[0]+et/k)/2,(ct[1]+rt)/2]}function Xc(){return(0,d.Z)(la).scale(158.837)}Vo.invert=function(et,rt){return[et/F(1-3*rt*rt/(_*_)),rt]},hl.invert=function(et,rt){var ct=(et*et+rt*rt)/-2,vt=F(-ct*(2+ct)),St=rt*ct+et*vt,Mt=et*ct-rt*vt,Y=F(Mt*Mt+St*St);return[M(vt*St,Y*(1+ct)),Y?-O(vt*Mt/Y):0]},la.invert=function(et,rt){var ct=et,vt=rt,St=25;do{var Mt,Y=v(vt),ee=m(vt),K=m(2*vt),le=ee*ee,Te=Y*Y,De=m(ct),He=v(ct/2),Ze=m(ct/2),at=Ze*Ze,Tt=1-Te*He*He,At=Tt?z(Y*He)*F(Mt=1/Tt):Mt=0,se=.5*(2*At*Y*Ze+ct/k)-et,ve=.5*(At*ee+vt)-rt,Ie=.5*Mt*(Te*at+At*Y*He*le)+.5/k,Fe=Mt*(De*K/4-At*ee*Ze),Ue=.125*Mt*(K*Ze-At*ee*Te*De),We=.5*Mt*(le*He+At*at*Y)+.5,Xe=Fe*Ue-We*Ie,tt=(ve*Fe-se*We)/Xe,lt=(se*Ue-ve*Ie)/Xe;ct-=tt,vt-=lt}while((g(tt)>y||g(lt)>y)&&--St>0);return[ct,vt]}},33940:function(T,p,t){function d(){return new g}function g(){this.reset()}t.d(p,{Z:function(){return d}}),g.prototype={constructor:g,reset:function(){this.s=this.t=0},add:function(v){M(i,v,this.t),M(this,i.s,this.s),this.s?this.t+=i.t:this.s=i.t},valueOf:function(){return this.s}};var i=new g;function M(v,f,l){var a=v.s=f+l,u=a-f,o=a-u;v.t=f-o+(l-u)}},97860:function(T,p,t){t.d(p,{L9:function(){return o},ZP:function(){return S},gL:function(){return c}});var d,g,i,M,v,f=t(33940),l=t(39695),a=t(73182),u=t(72736),o=(0,f.Z)(),s=(0,f.Z)(),c={point:a.Z,lineStart:a.Z,lineEnd:a.Z,polygonStart:function(){o.reset(),c.lineStart=h,c.lineEnd=m},polygonEnd:function(){var _=+o;s.add(_<0?l.BZ+_:_),this.lineStart=this.lineEnd=this.point=a.Z},sphere:function(){s.add(l.BZ)}};function h(){c.point=w}function m(){y(d,g)}function w(_,k){c.point=y,d=_,g=k,_*=l.uR,k*=l.uR,i=_,M=(0,l.mC)(k=k/2+l.pu),v=(0,l.O$)(k)}function y(_,k){_*=l.uR,k=(k*=l.uR)/2+l.pu;var E=_-i,x=E>=0?1:-1,A=x*E,L=(0,l.mC)(k),b=(0,l.O$)(k),R=v*b,I=M*L+R*(0,l.mC)(A),O=R*x*(0,l.O$)(A);o.add((0,l.fv)(O,I)),i=_,M=L,v=b}function S(_){return s.reset(),(0,u.Z)(_,c),2*s}},77338:function(T,p,t){t.d(p,{Z:function(){return z}});var d,g,i,M,v,f,l,a,u,o,s=t(33940),c=t(97860),h=t(7620),m=t(39695),w=t(72736),y=(0,s.Z)(),S={point:_,lineStart:E,lineEnd:x,polygonStart:function(){S.point=A,S.lineStart=L,S.lineEnd=b,y.reset(),c.gL.polygonStart()},polygonEnd:function(){c.gL.polygonEnd(),S.point=_,S.lineStart=E,S.lineEnd=x,c.L9<0?(d=-(i=180),g=-(M=90)):y>m.Ho?M=90:y<-m.Ho&&(g=-90),o[0]=d,o[1]=i},sphere:function(){d=-(i=180),g=-(M=90)}};function _(F,B){u.push(o=[d=F,i=F]),BM&&(M=B)}function k(F,B){var N=(0,h.Og)([F*m.uR,B*m.uR]);if(a){var W=(0,h.T5)(a,N),j=[W[1],-W[0],0],$=(0,h.T5)(j,W);(0,h.iJ)($),$=(0,h.Y1)($);var U,G=F-v,q=G>0?1:-1,H=$[0]*m.RW*q,ne=(0,m.Wn)(G)>180;ne^(q*vM&&(M=U):ne^(q*v<(H=(H+360)%360-180)&&HM&&(M=B)),ne?FR(d,i)&&(i=F):R(F,i)>R(d,i)&&(d=F):i>=d?(Fi&&(i=F)):F>v?R(d,F)>R(d,i)&&(i=F):R(F,i)>R(d,i)&&(d=F)}else u.push(o=[d=F,i=F]);BM&&(M=B),a=N,v=F}function E(){S.point=k}function x(){o[0]=d,o[1]=i,S.point=_,a=null}function A(F,B){if(a){var N=F-v;y.add((0,m.Wn)(N)>180?N+(N>0?360:-360):N)}else f=F,l=B;c.gL.point(F,B),k(F,B)}function L(){c.gL.lineStart()}function b(){A(f,l),c.gL.lineEnd(),(0,m.Wn)(y)>m.Ho&&(d=-(i=180)),o[0]=d,o[1]=i,a=null}function R(F,B){return(B-=F)<0?B+360:B}function I(F,B){return F[0]-B[0]}function O(F,B){return F[0]<=F[1]?F[0]<=B&&B<=F[1]:BR(W[0],W[1])&&(W[1]=j[1]),R(j[0],W[1])>R(W[0],W[1])&&(W[0]=j[0])):$.push(W=j);for(U=-1/0,B=0,W=$[N=$.length-1];B<=N;W=j,++B)j=$[B],(G=R(W[1],j[0]))>U&&(U=G,d=j[0],i=W[1])}return u=o=null,d===1/0||g===1/0?[[NaN,NaN],[NaN,NaN]]:[[d,g],[i,M]]}},7620:function(T,p,t){t.d(p,{Og:function(){return i},T:function(){return l},T5:function(){return v},Y1:function(){return g},iJ:function(){return a},j9:function(){return M},s0:function(){return f}});var d=t(39695);function g(u){return[(0,d.fv)(u[1],u[0]),(0,d.ZR)(u[2])]}function i(u){var o=u[0],s=u[1],c=(0,d.mC)(s);return[c*(0,d.mC)(o),c*(0,d.O$)(o),(0,d.O$)(s)]}function M(u,o){return u[0]*o[0]+u[1]*o[1]+u[2]*o[2]}function v(u,o){return[u[1]*o[2]-u[2]*o[1],u[2]*o[0]-u[0]*o[2],u[0]*o[1]-u[1]*o[0]]}function f(u,o){u[0]+=o[0],u[1]+=o[1],u[2]+=o[2]}function l(u,o){return[u[0]*o,u[1]*o,u[2]*o]}function a(u){var o=(0,d._b)(u[0]*u[0]+u[1]*u[1]+u[2]*u[2]);u[0]/=o,u[1]/=o,u[2]/=o}},66624:function(T,p,t){t.d(p,{Z:function(){return N}});var d,g,i,M,v,f,l,a,u,o,s,c,h,m,w,y,S=t(39695),_=t(73182),k=t(72736),E={sphere:_.Z,point:x,lineStart:L,lineEnd:I,polygonStart:function(){E.lineStart=O,E.lineEnd=z},polygonEnd:function(){E.lineStart=L,E.lineEnd=I}};function x(W,j){W*=S.uR,j*=S.uR;var $=(0,S.mC)(j);A($*(0,S.mC)(W),$*(0,S.O$)(W),(0,S.O$)(j))}function A(W,j,$){++d,i+=(W-i)/d,M+=(j-M)/d,v+=($-v)/d}function L(){E.point=b}function b(W,j){W*=S.uR,j*=S.uR;var $=(0,S.mC)(j);m=$*(0,S.mC)(W),w=$*(0,S.O$)(W),y=(0,S.O$)(j),E.point=R,A(m,w,y)}function R(W,j){W*=S.uR,j*=S.uR;var $=(0,S.mC)(j),U=$*(0,S.mC)(W),G=$*(0,S.O$)(W),q=(0,S.O$)(j),H=(0,S.fv)((0,S._b)((H=w*q-y*G)*H+(H=y*U-m*q)*H+(H=m*G-w*U)*H),m*U+w*G+y*q);g+=H,f+=H*(m+(m=U)),l+=H*(w+(w=G)),a+=H*(y+(y=q)),A(m,w,y)}function I(){E.point=x}function O(){E.point=F}function z(){B(c,h),E.point=x}function F(W,j){c=W,h=j,W*=S.uR,j*=S.uR,E.point=B;var $=(0,S.mC)(j);m=$*(0,S.mC)(W),w=$*(0,S.O$)(W),y=(0,S.O$)(j),A(m,w,y)}function B(W,j){W*=S.uR,j*=S.uR;var $=(0,S.mC)(j),U=$*(0,S.mC)(W),G=$*(0,S.O$)(W),q=(0,S.O$)(j),H=w*q-y*G,ne=y*U-m*q,te=m*G-w*U,Z=(0,S._b)(H*H+ne*ne+te*te),X=(0,S.ZR)(Z),Q=Z&&-X/Z;u+=Q*H,o+=Q*ne,s+=Q*te,g+=X,f+=X*(m+(m=U)),l+=X*(w+(w=G)),a+=X*(y+(y=q)),A(m,w,y)}function N(W){d=g=i=M=v=f=l=a=u=o=s=0,(0,k.Z)(W,E);var j=u,$=o,U=s,G=j*j+$*$+U*U;return G0?ch)&&(c+=s*i.BZ));for(var S,_=c;s>0?_>h:_0?g.pi:-g.pi,s=(0,g.Wn)(a-v);(0,g.Wn)(s-g.pi)0?g.ou:-g.ou),i.point(l,f),i.lineEnd(),i.lineStart(),i.point(o,f),i.point(a,f),M=0):l!==o&&s>=g.pi&&((0,g.Wn)(v-l)g.Ho?(0,g.z4)(((0,g.O$)(h)*(S=(0,g.mC)(w))*(0,g.O$)(m)-(0,g.O$)(w)*(y=(0,g.mC)(h))*(0,g.O$)(c))/(y*S*_)):(h+w)/2}(v,f,a,u),i.point(l,f),i.lineEnd(),i.lineStart(),i.point(o,f),M=0),i.point(v=a,f=u),l=o},lineEnd:function(){i.lineEnd(),v=f=NaN},clean:function(){return 2-M}}},function(i,M,v,f){var l;if(i==null)l=v*g.ou,f.point(-g.pi,l),f.point(0,l),f.point(g.pi,l),f.point(g.pi,0),f.point(g.pi,-l),f.point(0,-l),f.point(-g.pi,-l),f.point(-g.pi,0),f.point(-g.pi,l);else if((0,g.Wn)(i[0]-M[0])>g.Ho){var a=i[0]1&&M.push(M.pop().concat(M.shift()))},result:function(){var v=M;return M=[],i=null,v}}}},1457:function(T,p,t){t.d(p,{Z:function(){return f}});var d=t(7620),g=t(7613),i=t(39695),M=t(67108),v=t(97023);function f(l){var a=(0,i.mC)(l),u=6*i.uR,o=a>0,s=(0,i.Wn)(a)>i.Ho;function c(w,y){return(0,i.mC)(w)*(0,i.mC)(y)>a}function h(w,y,S){var _=(0,d.Og)(w),k=(0,d.Og)(y),E=[1,0,0],x=(0,d.T5)(_,k),A=(0,d.j9)(x,x),L=x[0],b=A-L*L;if(!b)return!S&&w;var R=a*A/b,I=-a*L/b,O=(0,d.T5)(E,x),z=(0,d.T)(E,R),F=(0,d.T)(x,I);(0,d.s0)(z,F);var B=O,N=(0,d.j9)(z,B),W=(0,d.j9)(B,B),j=N*N-W*((0,d.j9)(z,z)-1);if(!(j<0)){var $=(0,i._b)(j),U=(0,d.T)(B,(-N-$)/W);if((0,d.s0)(U,z),U=(0,d.Y1)(U),!S)return U;var G,q=w[0],H=y[0],ne=w[1],te=y[1];H0^U[1]<((0,i.Wn)(U[0]-q)i.pi^(q<=U[0]&&U[0]<=H)){var Q=(0,d.T)(B,(-N+$)/W);return(0,d.s0)(Q,z),[U,(0,d.Y1)(Q)]}}}function m(w,y){var S=o?l:i.pi-l,_=0;return w<-S?_|=1:w>S&&(_|=2),y<-S?_|=4:y>S&&(_|=8),_}return(0,v.Z)(c,function(w){var y,S,_,k,E;return{lineStart:function(){k=_=!1,E=1},point:function(x,A){var L,b=[x,A],R=c(x,A),I=o?R?0:m(x,A):R?m(x+(x<0?i.pi:-i.pi),A):0;if(!y&&(k=_=R)&&w.lineStart(),R!==_&&(!(L=h(y,b))||(0,M.Z)(y,L)||(0,M.Z)(b,L))&&(b[2]=1),R!==_)E=0,R?(w.lineStart(),L=h(b,y),w.point(L[0],L[1])):(L=h(y,b),w.point(L[0],L[1],2),w.lineEnd()),y=L;else if(s&&y&&o^R){var O;I&S||!(O=h(b,y,!0))||(E=0,o?(w.lineStart(),w.point(O[0][0],O[0][1]),w.point(O[1][0],O[1][1]),w.lineEnd()):(w.point(O[1][0],O[1][1]),w.lineEnd(),w.lineStart(),w.point(O[0][0],O[0][1],3)))}!R||y&&(0,M.Z)(y,b)||w.point(b[0],b[1]),y=b,_=R,S=I},lineEnd:function(){_&&w.lineEnd(),y=null},clean:function(){return E|(k&&_)<<1}}},function(w,y,S,_){(0,g.m)(_,l,u,S,w,y)},o?[0,-l]:[-i.pi,l-i.pi])}},97023:function(T,p,t){t.d(p,{Z:function(){return f}});var d=t(85272),g=t(46225),i=t(39695),M=t(23071),v=t(33064);function f(u,o,s,c){return function(h){var m,w,y,S=o(h),_=(0,d.Z)(),k=o(_),E=!1,x={point:A,lineStart:b,lineEnd:R,polygonStart:function(){x.point=I,x.lineStart=O,x.lineEnd=z,w=[],m=[]},polygonEnd:function(){x.point=A,x.lineStart=b,x.lineEnd=R,w=(0,v.TS)(w);var F=(0,M.Z)(m,c);w.length?(E||(h.polygonStart(),E=!0),(0,g.Z)(w,a,F,s,h)):F&&(E||(h.polygonStart(),E=!0),h.lineStart(),s(null,null,1,h),h.lineEnd()),E&&(h.polygonEnd(),E=!1),w=m=null},sphere:function(){h.polygonStart(),h.lineStart(),s(null,null,1,h),h.lineEnd(),h.polygonEnd()}};function A(F,B){u(F,B)&&h.point(F,B)}function L(F,B){S.point(F,B)}function b(){x.point=L,S.lineStart()}function R(){x.point=A,S.lineEnd()}function I(F,B){y.push([F,B]),k.point(F,B)}function O(){k.lineStart(),y=[]}function z(){I(y[0][0],y[0][1]),k.lineEnd();var F,B,N,W,j=k.clean(),$=_.result(),U=$.length;if(y.pop(),m.push(y),y=null,U)if(1&j){if((B=(N=$[0]).length-1)>0){for(E||(h.polygonStart(),E=!0),h.lineStart(),F=0;F1&&2&j&&$.push($.pop().concat($.shift())),w.push($.filter(l))}return x}}function l(u){return u.length>1}function a(u,o){return((u=u.x)[0]<0?u[1]-i.ou-i.Ho:i.ou-u[1])-((o=o.x)[0]<0?o[1]-i.ou-i.Ho:i.ou-o[1])}},87605:function(T,p,t){t.d(p,{Z:function(){return l}});var d=t(39695),g=t(85272),i=t(46225),M=t(33064),v=1e9,f=-v;function l(a,u,o,s){function c(S,_){return a<=S&&S<=o&&u<=_&&_<=s}function h(S,_,k,E){var x=0,A=0;if(S==null||(x=m(S,k))!==(A=m(_,k))||y(S,_)<0^k>0)do E.point(x===0||x===3?a:o,x>1?s:u);while((x=(x+k+4)%4)!==A);else E.point(_[0],_[1])}function m(S,_){return(0,d.Wn)(S[0]-a)0?0:3:(0,d.Wn)(S[0]-o)0?2:1:(0,d.Wn)(S[1]-u)0?1:0:_>0?3:2}function w(S,_){return y(S.x,_.x)}function y(S,_){var k=m(S,1),E=m(_,1);return k!==E?k-E:k===0?_[1]-S[1]:k===1?S[0]-_[0]:k===2?S[1]-_[1]:_[0]-S[0]}return function(S){var _,k,E,x,A,L,b,R,I,O,z,F=S,B=(0,g.Z)(),N={point:W,lineStart:function(){N.point=j,k&&k.push(E=[]),O=!0,I=!1,b=R=NaN},lineEnd:function(){_&&(j(x,A),L&&I&&B.rejoin(),_.push(B.result())),N.point=W,I&&F.lineEnd()},polygonStart:function(){F=B,_=[],k=[],z=!0},polygonEnd:function(){var $=function(){for(var q=0,H=0,ne=k.length;Hs&&(oe-te)*(s-Z)>(ue-Z)*(a-te)&&++q:ue<=s&&(oe-te)*(s-Z)<(ue-Z)*(a-te)&&--q;return q}(),U=z&&$,G=(_=(0,M.TS)(_)).length;(U||G)&&(S.polygonStart(),U&&(S.lineStart(),h(null,null,1,S),S.lineEnd()),G&&(0,i.Z)(_,w,$,h,S),S.polygonEnd()),F=S,_=k=E=null}};function W($,U){c($,U)&&F.point($,U)}function j($,U){var G=c($,U);if(k&&E.push([$,U]),O)x=$,A=U,L=G,O=!1,G&&(F.lineStart(),F.point($,U));else if(G&&I)F.point($,U);else{var q=[b=Math.max(f,Math.min(v,b)),R=Math.max(f,Math.min(v,R))],H=[$=Math.max(f,Math.min(v,$)),U=Math.max(f,Math.min(v,U))];(function(ne,te,Z,X,Q,re){var ie,oe=ne[0],ue=ne[1],ce=0,ye=1,de=te[0]-oe,me=te[1]-ue;if(ie=Z-oe,de||!(ie>0)){if(ie/=de,de<0){if(ie0){if(ie>ye)return;ie>ce&&(ce=ie)}if(ie=Q-oe,de||!(ie<0)){if(ie/=de,de<0){if(ie>ye)return;ie>ce&&(ce=ie)}else if(de>0){if(ie0)){if(ie/=me,me<0){if(ie0){if(ie>ye)return;ie>ce&&(ce=ie)}if(ie=re-ue,me||!(ie<0)){if(ie/=me,me<0){if(ie>ye)return;ie>ce&&(ce=ie)}else if(me>0){if(ie0&&(ne[0]=oe+ce*de,ne[1]=ue+ce*me),ye<1&&(te[0]=oe+ye*de,te[1]=ue+ye*me),!0}}}}})(q,H,a,u,o,s)?(I||(F.lineStart(),F.point(q[0],q[1])),F.point(H[0],H[1]),G||F.lineEnd(),z=!1):G&&(F.lineStart(),F.point($,U),z=!1)}b=$,R=U,I=G}return N}}},46225:function(T,p,t){t.d(p,{Z:function(){return M}});var d=t(67108),g=t(39695);function i(f,l,a,u){this.x=f,this.z=l,this.o=a,this.e=u,this.v=!1,this.n=this.p=null}function M(f,l,a,u,o){var s,c,h=[],m=[];if(f.forEach(function(E){if(!((x=E.length-1)<=0)){var x,A,L=E[0],b=E[x];if((0,d.Z)(L,b)){if(!L[2]&&!b[2]){for(o.lineStart(),s=0;s=0;--s)o.point((y=w[s])[0],y[1]);else u(_.x,_.p.x,-1,o);_=_.p}w=(_=_.o).z,k=!k}while(!_.v);o.lineEnd()}}}function v(f){if(l=f.length){for(var l,a,u=0,o=f[0];++u0&&(Un=R(Kt[Kn],Kt[Kn-1]))>0&&Rn<=Un&&Ln<=Un&&(Rn+Ln-Un)*(1-Math.pow((Rn-Ln)/Un,2))m.Ho}).map(mr)).concat((0,U.w6)((0,m.mD)(Kn/hn)*hn,Un,hn).filter(function(gn){return(0,m.Wn)(gn%On)>m.Ho}).map(nn))}return mn.lines=function(){return wn().map(function(gn){return{type:"LineString",coordinates:gn}})},mn.outline=function(){return{type:"Polygon",coordinates:[Pn(Ln).concat(jt($n).slice(1),Pn(Rn).reverse().slice(1),jt(tr).reverse().slice(1))]}},mn.extent=function(gn){return arguments.length?mn.extentMajor(gn).extentMinor(gn):mn.extentMinor()},mn.extentMajor=function(gn){return arguments.length?(Ln=+gn[0][0],Rn=+gn[1][0],tr=+gn[0][1],$n=+gn[1][1],Ln>Rn&&(gn=Ln,Ln=Rn,Rn=gn),tr>$n&&(gn=tr,tr=$n,$n=gn),mn.precision(En)):[[Ln,tr],[Rn,$n]]},mn.extentMinor=function(gn){return arguments.length?(bn=+gn[0][0],Kt=+gn[1][0],Kn=+gn[0][1],Un=+gn[1][1],bn>Kt&&(gn=bn,bn=Kt,Kt=gn),Kn>Un&&(gn=Kn,Kn=Un,Un=gn),mn.precision(En)):[[bn,Kn],[Kt,Un]]},mn.step=function(gn){return arguments.length?mn.stepMajor(gn).stepMinor(gn):mn.stepMinor()},mn.stepMajor=function(gn){return arguments.length?(zn=+gn[0],On=+gn[1],mn):[zn,On]},mn.stepMinor=function(gn){return arguments.length?(Jt=+gn[0],hn=+gn[1],mn):[Jt,hn]},mn.precision=function(gn){return arguments.length?(En=+gn,mr=G(Kn,Un,90),nn=q(bn,Kt,En),Pn=G(tr,$n,90),jt=q(Ln,Rn,En),mn):En},mn.extentMajor([[-180,-90+m.Ho],[180,90-m.Ho]]).extentMinor([[-180,-80-m.Ho],[180,80+m.Ho]])}function ne(){return H()()}var te,Z,X,Q,re=t(83074),ie=t(8593),oe=(0,h.Z)(),ue=(0,h.Z)(),ce={point:w.Z,lineStart:w.Z,lineEnd:w.Z,polygonStart:function(){ce.lineStart=ye,ce.lineEnd=pe},polygonEnd:function(){ce.lineStart=ce.lineEnd=ce.point=w.Z,oe.add((0,m.Wn)(ue)),ue.reset()},result:function(){var Kt=oe/2;return oe.reset(),Kt}};function ye(){ce.point=de}function de(Kt,bn){ce.point=me,te=X=Kt,Z=Q=bn}function me(Kt,bn){ue.add(Q*Kt-X*bn),X=Kt,Q=bn}function pe(){me(te,Z)}var xe,Pe,_e,Me,Se=ce,Ce=t(3559),ae=0,fe=0,be=0,ke=0,Le=0,Be=0,ze=0,je=0,ge=0,we={point:Ee,lineStart:Ve,lineEnd:st,polygonStart:function(){we.lineStart=ot,we.lineEnd=ht},polygonEnd:function(){we.point=Ee,we.lineStart=Ve,we.lineEnd=st},result:function(){var Kt=ge?[ze/ge,je/ge]:Be?[ke/Be,Le/Be]:be?[ae/be,fe/be]:[NaN,NaN];return ae=fe=be=ke=Le=Be=ze=je=ge=0,Kt}};function Ee(Kt,bn){ae+=Kt,fe+=bn,++be}function Ve(){we.point=$e}function $e(Kt,bn){we.point=Ye,Ee(_e=Kt,Me=bn)}function Ye(Kt,bn){var Rn=Kt-_e,Ln=bn-Me,Un=(0,m._b)(Rn*Rn+Ln*Ln);ke+=Un*(_e+Kt)/2,Le+=Un*(Me+bn)/2,Be+=Un,Ee(_e=Kt,Me=bn)}function st(){we.point=Ee}function ot(){we.point=bt}function ht(){Et(xe,Pe)}function bt(Kt,bn){we.point=Et,Ee(xe=_e=Kt,Pe=Me=bn)}function Et(Kt,bn){var Rn=Kt-_e,Ln=bn-Me,Un=(0,m._b)(Rn*Rn+Ln*Ln);ke+=Un*(_e+Kt)/2,Le+=Un*(Me+bn)/2,Be+=Un,ze+=(Un=Me*Kt-_e*bn)*(_e+Kt),je+=Un*(Me+bn),ge+=3*Un,Ee(_e=Kt,Me=bn)}var kt=we;function xt(Kt){this._context=Kt}xt.prototype={_radius:4.5,pointRadius:function(Kt){return this._radius=Kt,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._context.closePath(),this._point=NaN},point:function(Kt,bn){switch(this._point){case 0:this._context.moveTo(Kt,bn),this._point=1;break;case 1:this._context.lineTo(Kt,bn);break;default:this._context.moveTo(Kt+this._radius,bn),this._context.arc(Kt,bn,this._radius,0,m.BZ)}},result:w.Z};var Ft,Ot,Bt,qt,Vt,Ke=(0,h.Z)(),Je={point:w.Z,lineStart:function(){Je.point=qe},lineEnd:function(){Ft&&nt(Ot,Bt),Je.point=w.Z},polygonStart:function(){Ft=!0},polygonEnd:function(){Ft=null},result:function(){var Kt=+Ke;return Ke.reset(),Kt}};function qe(Kt,bn){Je.point=nt,Ot=qt=Kt,Bt=Vt=bn}function nt(Kt,bn){qt-=Kt,Vt-=bn,Ke.add((0,m._b)(qt*qt+Vt*Vt)),qt=Kt,Vt=bn}var ft=Je;function Re(){this._string=[]}function Ne(Kt){return"m0,"+Kt+"a"+Kt+","+Kt+" 0 1,1 0,"+-2*Kt+"a"+Kt+","+Kt+" 0 1,1 0,"+2*Kt+"z"}function Qe(Kt,bn){var Rn,Ln,Un=4.5;function Kn($n){return $n&&(typeof Un=="function"&&Ln.pointRadius(+Un.apply(this,arguments)),(0,y.Z)($n,Rn(Ln))),Ln.result()}return Kn.area=function($n){return(0,y.Z)($n,Rn(Se)),Se.result()},Kn.measure=function($n){return(0,y.Z)($n,Rn(ft)),ft.result()},Kn.bounds=function($n){return(0,y.Z)($n,Rn(Ce.Z)),Ce.Z.result()},Kn.centroid=function($n){return(0,y.Z)($n,Rn(kt)),kt.result()},Kn.projection=function($n){return arguments.length?(Rn=$n==null?(Kt=null,ie.Z):(Kt=$n).stream,Kn):Kt},Kn.context=function($n){return arguments.length?(Ln=$n==null?(bn=null,new Re):new xt(bn=$n),typeof Un!="function"&&Ln.pointRadius(Un),Kn):bn},Kn.pointRadius=function($n){return arguments.length?(Un=typeof $n=="function"?$n:(Ln.pointRadius(+$n),+$n),Kn):Un},Kn.projection(Kt).context(bn)}Re.prototype={_radius:4.5,_circle:Ne(4.5),pointRadius:function(Kt){return(Kt=+Kt)!==this._radius&&(this._radius=Kt,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._string.push("Z"),this._point=NaN},point:function(Kt,bn){switch(this._point){case 0:this._string.push("M",Kt,",",bn),this._point=1;break;case 1:this._string.push("L",Kt,",",bn);break;default:this._circle==null&&(this._circle=Ne(this._radius)),this._string.push("M",Kt,",",bn,this._circle)}},result:function(){if(this._string.length){var Kt=this._string.join("");return this._string=[],Kt}return null}};var ut=t(15002);function dt(Kt){var bn=0,Rn=m.pi/3,Ln=(0,ut.r)(Kt),Un=Ln(bn,Rn);return Un.parallels=function(Kn){return arguments.length?Ln(bn=Kn[0]*m.uR,Rn=Kn[1]*m.uR):[bn*m.RW,Rn*m.RW]},Un}function _t(Kt,bn){var Rn=(0,m.O$)(Kt),Ln=(Rn+(0,m.O$)(bn))/2;if((0,m.Wn)(Ln)=.12&&En<.234&&On>=-.425&&On<-.214?tr:En>=.166&&En<.234&&On>=-.214&&On<-.115?mr:$n).invert(Jt)},Pn.stream=function(Jt){return Kt&&bn===Jt?Kt:(hn=[$n.stream(bn=Jt),tr.stream(Jt),mr.stream(Jt)],zn=hn.length,Kt={point:function(On,En){for(var mn=-1;++mn0?tr<-m.ou+m.Ho&&(tr=-m.ou+m.Ho):tr>m.ou-m.Ho&&(tr=m.ou-m.Ho);var mr=Un/(0,m.sQ)(Qt(tr),Ln);return[mr*(0,m.O$)(Ln*$n),Un-mr*(0,m.mC)(Ln*$n)]}return Kn.invert=function($n,tr){var mr=Un-tr,nn=(0,m.Xx)(Ln)*(0,m._b)($n*$n+mr*mr),Pn=(0,m.fv)($n,(0,m.Wn)(mr))*(0,m.Xx)(mr);return mr*Ln<0&&(Pn-=m.pi*(0,m.Xx)($n)*(0,m.Xx)(mr)),[Pn/Ln,2*(0,m.z4)((0,m.sQ)(Un/nn,1/Ln))-m.ou]},Kn}function xn(){return dt(rn).scale(109.5).parallels([30,30])}Yt.invert=function(Kt,bn){return[Kt,2*(0,m.z4)((0,m.Qq)(bn))-m.ou]};var un=t(97492);function An(Kt,bn){var Rn=(0,m.mC)(Kt),Ln=Kt===bn?(0,m.O$)(Kt):(Rn-(0,m.mC)(bn))/(bn-Kt),Un=Rn/Ln+Kt;if((0,m.Wn)(Ln)2?Ln[2]+90:90]):[(Ln=Rn())[0],Ln[1],Ln[2]-90]},Rn([0,0,90]).scale(159.155)}yr.invert=(0,Sr.O)(function(Kt){return 2*(0,m.z4)(Kt)}),vr.invert=function(Kt,bn){return[-bn,2*(0,m.z4)((0,m.Qq)(Kt))-m.ou]}},83074:function(T,p,t){t.d(p,{Z:function(){return g}});var d=t(39695);function g(i,M){var v=i[0]*d.uR,f=i[1]*d.uR,l=M[0]*d.uR,a=M[1]*d.uR,u=(0,d.mC)(f),o=(0,d.O$)(f),s=(0,d.mC)(a),c=(0,d.O$)(a),h=u*(0,d.mC)(v),m=u*(0,d.O$)(v),w=s*(0,d.mC)(l),y=s*(0,d.O$)(l),S=2*(0,d.ZR)((0,d._b)((0,d.Jy)(a-f)+u*s*(0,d.Jy)(l-v))),_=(0,d.O$)(S),k=S?function(E){var x=(0,d.O$)(E*=S)/_,A=(0,d.O$)(S-E)/_,L=A*h+x*w,b=A*m+x*y,R=A*o+x*c;return[(0,d.fv)(b,L)*d.RW,(0,d.fv)(R,(0,d._b)(L*L+b*b))*d.RW]}:function(){return[v*d.RW,f*d.RW]};return k.distance=S,k}},39695:function(T,p,t){t.d(p,{BZ:function(){return f},Ho:function(){return d},Jy:function(){return L},Kh:function(){return x},O$:function(){return S},OR:function(){return E},Qq:function(){return m},RW:function(){return l},Wn:function(){return u},Xx:function(){return _},ZR:function(){return A},_b:function(){return k},aW:function(){return g},cM:function(){return w},fv:function(){return s},mC:function(){return c},mD:function(){return h},ou:function(){return M},pi:function(){return i},pu:function(){return v},sQ:function(){return y},uR:function(){return a},z4:function(){return o}});var d=1e-6,g=1e-12,i=Math.PI,M=i/2,v=i/4,f=2*i,l=180/i,a=i/180,u=Math.abs,o=Math.atan,s=Math.atan2,c=Math.cos,h=Math.ceil,m=Math.exp,w=Math.log,y=Math.pow,S=Math.sin,_=Math.sign||function(b){return b>0?1:b<0?-1:0},k=Math.sqrt,E=Math.tan;function x(b){return b>1?0:b<-1?i:Math.acos(b)}function A(b){return b>1?M:b<-1?-M:Math.asin(b)}function L(b){return(b=S(b/2))*b}},73182:function(T,p,t){function d(){}t.d(p,{Z:function(){return d}})},3559:function(T,p,t){var d=t(73182),g=1/0,i=g,M=-g,v=M,f={point:function(l,a){lM&&(M=l),av&&(v=a)},lineStart:d.Z,lineEnd:d.Z,polygonStart:d.Z,polygonEnd:d.Z,result:function(){var l=[[g,i],[M,v]];return M=v=-(i=g=1/0),l}};p.Z=f},67108:function(T,p,t){t.d(p,{Z:function(){return g}});var d=t(39695);function g(i,M){return(0,d.Wn)(i[0]-M[0])=0?1:-1,W=N*B,j=W>i.pi,$=A*z;if(M.add((0,i.fv)($*N*(0,i.O$)(W),L*F+$*(0,i.mC)(W))),h+=j?B+N*i.BZ:B,j^E>=u^I>=u){var U=(0,g.T5)((0,g.Og)(k),(0,g.Og)(R));(0,g.iJ)(U);var G=(0,g.T5)(c,U);(0,g.iJ)(G);var q=(j^B>=0?-1:1)*(0,i.ZR)(G[2]);(o>q||o===q&&(U[0]||U[1]))&&(m+=j^B>=0?1:-1)}}return(h<-i.Ho||h4*x&&U--){var te=I+W,Z=O+j,X=z+$,Q=(0,f._b)(te*te+Z*Z+X*X),re=(0,f.ZR)(X/=Q),ie=(0,f.Wn)((0,f.Wn)(X)-1)x||(0,f.Wn)((q*ye+H*de)/ne-.5)>.3||I*W+O*j+z*$2?ye[2]%360*f.uR:0,ue()):[$*f.RW,U*f.RW,G*f.RW]},ie.angle=function(ye){return arguments.length?(q=ye%360*f.uR,ue()):q*f.RW},ie.reflectX=function(ye){return arguments.length?(H=ye?-1:1,ue()):H<0},ie.reflectY=function(ye){return arguments.length?(ne=ye?-1:1,ue()):ne<0},ie.precision=function(ye){return arguments.length?(b=c(R,re=ye*ye),ce()):(0,f._b)(re)},ie.fitExtent=function(ye,de){return(0,u.qg)(ie,ye,de)},ie.fitSize=function(ye,de){return(0,u.mF)(ie,ye,de)},ie.fitWidth=function(ye,de){return(0,u.V6)(ie,ye,de)},ie.fitHeight=function(ye,de){return(0,u.rf)(ie,ye,de)},function(){return k=_.apply(this,arguments),ie.invert=k.invert&&oe,ue()}}},26867:function(T,p,t){t.d(p,{K:function(){return i},Z:function(){return M}});var d=t(15002),g=t(39695);function i(v,f){var l=f*f,a=l*l;return[v*(.8707-.131979*l+a*(a*(.003971*l-.001529*a)-.013791)),f*(1.007226+l*(.015085+a*(.028874*l-.044475-.005916*a)))]}function M(){return(0,d.Z)(i).scale(175.295)}i.invert=function(v,f){var l,a=f,u=25;do{var o=a*a,s=o*o;a-=l=(a*(1.007226+o*(.015085+s*(.028874*o-.044475-.005916*s)))-f)/(1.007226+o*(.045255+s*(.259866*o-.311325-.06507600000000001*s)))}while((0,g.Wn)(l)>g.Ho&&--u>0);return[v/(.8707+(o=a*a)*(o*(o*o*o*(.003971-.001529*o)-.013791)-.131979)),a]}},57962:function(T,p,t){t.d(p,{I:function(){return M},Z:function(){return v}});var d=t(39695),g=t(25382),i=t(15002);function M(f,l){return[(0,d.mC)(l)*(0,d.O$)(f),(0,d.O$)(l)]}function v(){return(0,i.Z)(M).scale(249.5).clipAngle(90+d.Ho)}M.invert=(0,g.O)(d.ZR)},49386:function(T,p,t){t.d(p,{I:function(){return M},Z:function(){return a}});var d=t(96059),g=t(39695);function i(u,o){return[(0,g.Wn)(u)>g.pi?u+Math.round(-u/g.BZ)*g.BZ:u,o]}function M(u,o,s){return(u%=g.BZ)?o||s?(0,d.Z)(f(u),l(o,s)):f(u):o||s?l(o,s):i}function v(u){return function(o,s){return[(o+=u)>g.pi?o-g.BZ:o<-g.pi?o+g.BZ:o,s]}}function f(u){var o=v(u);return o.invert=v(-u),o}function l(u,o){var s=(0,g.mC)(u),c=(0,g.O$)(u),h=(0,g.mC)(o),m=(0,g.O$)(o);function w(y,S){var _=(0,g.mC)(S),k=(0,g.mC)(y)*_,E=(0,g.O$)(y)*_,x=(0,g.O$)(S),A=x*s+k*c;return[(0,g.fv)(E*h-A*m,k*s-x*c),(0,g.ZR)(A*h+E*m)]}return w.invert=function(y,S){var _=(0,g.mC)(S),k=(0,g.mC)(y)*_,E=(0,g.O$)(y)*_,x=(0,g.O$)(S),A=x*h-E*m;return[(0,g.fv)(E*h+x*m,k*s+A*c),(0,g.ZR)(A*s-k*c)]},w}function a(u){function o(s){return(s=u(s[0]*g.uR,s[1]*g.uR))[0]*=g.RW,s[1]*=g.RW,s}return u=M(u[0]*g.uR,u[1]*g.uR,u.length>2?u[2]*g.uR:0),o.invert=function(s){return(s=u.invert(s[0]*g.uR,s[1]*g.uR))[0]*=g.RW,s[1]*=g.RW,s},o}i.invert=i},72736:function(T,p,t){function d(l,a){l&&i.hasOwnProperty(l.type)&&i[l.type](l,a)}t.d(p,{Z:function(){return f}});var g={Feature:function(l,a){d(l.geometry,a)},FeatureCollection:function(l,a){for(var u=l.features,o=-1,s=u.length;++o=0;)ae+=fe[be].value;else ae=1;Ce.value=ae}function f(Ce,ae){var fe,be,ke,Le,Be,ze=new o(Ce),je=+Ce.value&&(ze.value=Ce.value),ge=[ze];for(ae==null&&(ae=l);fe=ge.pop();)if(je&&(fe.value=+fe.data.value),(ke=ae(fe.data))&&(Be=ke.length))for(fe.children=new Array(Be),Le=Be-1;Le>=0;--Le)ge.push(be=fe.children[Le]=new o(ke[Le])),be.parent=fe,be.depth=fe.depth+1;return ze.eachBefore(u)}function l(Ce){return Ce.children}function a(Ce){Ce.data=Ce.data.data}function u(Ce){var ae=0;do Ce.height=ae;while((Ce=Ce.parent)&&Ce.height<++ae)}function o(Ce){this.data=Ce,this.depth=this.height=0,this.parent=null}t.r(p),t.d(p,{cluster:function(){return M},hierarchy:function(){return f},pack:function(){return N},packEnclose:function(){return c},packSiblings:function(){return R},partition:function(){return q},stratify:function(){return X},tree:function(){return ye},treemap:function(){return Pe},treemapBinary:function(){return _e},treemapDice:function(){return G},treemapResquarify:function(){return Se},treemapSlice:function(){return de},treemapSliceDice:function(){return Me},treemapSquarify:function(){return xe}}),o.prototype=f.prototype={constructor:o,count:function(){return this.eachAfter(v)},each:function(Ce){var ae,fe,be,ke,Le=this,Be=[Le];do for(ae=Be.reverse(),Be=[];Le=ae.pop();)if(Ce(Le),fe=Le.children)for(be=0,ke=fe.length;be=0;--fe)ke.push(ae[fe]);return this},sum:function(Ce){return this.eachAfter(function(ae){for(var fe=+Ce(ae.data)||0,be=ae.children,ke=be&&be.length;--ke>=0;)fe+=be[ke].value;ae.value=fe})},sort:function(Ce){return this.eachBefore(function(ae){ae.children&&ae.children.sort(Ce)})},path:function(Ce){for(var ae=this,fe=function(Le,Be){if(Le===Be)return Le;var ze=Le.ancestors(),je=Be.ancestors(),ge=null;for(Le=ze.pop(),Be=je.pop();Le===Be;)ge=Le,Le=ze.pop(),Be=je.pop();return ge}(ae,Ce),be=[ae];ae!==fe;)ae=ae.parent,be.push(ae);for(var ke=be.length;Ce!==fe;)be.splice(ke,0,Ce),Ce=Ce.parent;return be},ancestors:function(){for(var Ce=this,ae=[Ce];Ce=Ce.parent;)ae.push(Ce);return ae},descendants:function(){var Ce=[];return this.each(function(ae){Ce.push(ae)}),Ce},leaves:function(){var Ce=[];return this.eachBefore(function(ae){ae.children||Ce.push(ae)}),Ce},links:function(){var Ce=this,ae=[];return Ce.each(function(fe){fe!==Ce&&ae.push({source:fe.parent,target:fe})}),ae},copy:function(){return f(this).eachBefore(a)}};var s=Array.prototype.slice;function c(Ce){for(var ae,fe,be=0,ke=(Ce=function(Be){for(var ze,je,ge=Be.length;ge;)je=Math.random()*ge--|0,ze=Be[ge],Be[ge]=Be[je],Be[je]=ze;return Be}(s.call(Ce))).length,Le=[];be0&&fe*fe>be*be+ke*ke}function y(Ce,ae){for(var fe=0;fe(Be*=Be)?(be=(ge+Be-ke)/(2*ge),Le=Math.sqrt(Math.max(0,Be/ge-be*be)),fe.x=Ce.x-be*ze-Le*je,fe.y=Ce.y-be*je+Le*ze):(be=(ge+ke-Be)/(2*ge),Le=Math.sqrt(Math.max(0,ke/ge-be*be)),fe.x=ae.x+be*ze-Le*je,fe.y=ae.y+be*je+Le*ze)):(fe.x=ae.x+fe.r,fe.y=ae.y)}function x(Ce,ae){var fe=Ce.r+ae.r-1e-6,be=ae.x-Ce.x,ke=ae.y-Ce.y;return fe>0&&fe*fe>be*be+ke*ke}function A(Ce){var ae=Ce._,fe=Ce.next._,be=ae.r+fe.r,ke=(ae.x*fe.r+fe.x*ae.r)/be,Le=(ae.y*fe.r+fe.y*ae.r)/be;return ke*ke+Le*Le}function L(Ce){this._=Ce,this.next=null,this.previous=null}function b(Ce){if(!(ke=Ce.length))return 0;var ae,fe,be,ke,Le,Be,ze,je,ge,we,Ee;if((ae=Ce[0]).x=0,ae.y=0,!(ke>1))return ae.r;if(fe=Ce[1],ae.x=-fe.r,fe.x=ae.r,fe.y=0,!(ke>2))return ae.r+fe.r;E(fe,ae,be=Ce[2]),ae=new L(ae),fe=new L(fe),be=new L(be),ae.next=be.previous=fe,fe.next=ae.previous=be,be.next=fe.previous=ae;e:for(ze=3;ze0)throw new Error("cycle");return Be}return fe.id=function(be){return arguments.length?(Ce=O(be),fe):Ce},fe.parentId=function(be){return arguments.length?(ae=O(be),fe):ae},fe}function Q(Ce,ae){return Ce.parent===ae.parent?1:2}function re(Ce){var ae=Ce.children;return ae?ae[0]:Ce.t}function ie(Ce){var ae=Ce.children;return ae?ae[ae.length-1]:Ce.t}function oe(Ce,ae,fe){var be=fe/(ae.i-Ce.i);ae.c-=be,ae.s+=fe,Ce.c+=be,ae.z+=fe,ae.m+=fe}function ue(Ce,ae,fe){return Ce.a.parent===ae.parent?Ce.a:fe}function ce(Ce,ae){this._=Ce,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=ae}function ye(){var Ce=Q,ae=1,fe=1,be=null;function ke(je){var ge=function(ht){for(var bt,Et,kt,xt,Ft,Ot=new ce(ht,0),Bt=[Ot];bt=Bt.pop();)if(kt=bt._.children)for(bt.children=new Array(Ft=kt.length),xt=Ft-1;xt>=0;--xt)Bt.push(Et=bt.children[xt]=new ce(kt[xt],xt)),Et.parent=bt;return(Ot.parent=new ce(null,0)).children=[Ot],Ot}(je);if(ge.eachAfter(Le),ge.parent.m=-ge.z,ge.eachBefore(Be),be)je.eachBefore(ze);else{var we=je,Ee=je,Ve=je;je.eachBefore(function(ht){ht.xEe.x&&(Ee=ht),ht.depth>Ve.depth&&(Ve=ht)});var $e=we===Ee?1:Ce(we,Ee)/2,Ye=$e-we.x,st=ae/(Ee.x+$e+Ye),ot=fe/(Ve.depth||1);je.eachBefore(function(ht){ht.x=(ht.x+Ye)*st,ht.y=ht.depth*ot})}return je}function Le(je){var ge=je.children,we=je.parent.children,Ee=je.i?we[je.i-1]:null;if(ge){(function($e){for(var Ye,st=0,ot=0,ht=$e.children,bt=ht.length;--bt>=0;)(Ye=ht[bt]).z+=st,Ye.m+=st,st+=Ye.s+(ot+=Ye.c)})(je);var Ve=(ge[0].z+ge[ge.length-1].z)/2;Ee?(je.z=Ee.z+Ce(je._,Ee._),je.m=je.z-Ve):je.z=Ve}else Ee&&(je.z=Ee.z+Ce(je._,Ee._));je.parent.A=function($e,Ye,st){if(Ye){for(var ot,ht=$e,bt=$e,Et=Ye,kt=ht.parent.children[0],xt=ht.m,Ft=bt.m,Ot=Et.m,Bt=kt.m;Et=ie(Et),ht=re(ht),Et&&ht;)kt=re(kt),(bt=ie(bt)).a=$e,(ot=Et.z+Ot-ht.z-xt+Ce(Et._,ht._))>0&&(oe(ue(Et,$e,st),$e,ot),xt+=ot,Ft+=ot),Ot+=Et.m,xt+=ht.m,Bt+=kt.m,Ft+=bt.m;Et&&!ie(bt)&&(bt.t=Et,bt.m+=Ot-Ft),ht&&!re(kt)&&(kt.t=ht,kt.m+=xt-Bt,st=$e)}return st}(je,Ee,je.parent.A||we[0])}function Be(je){je._.x=je.z+je.parent.m,je.m+=je.parent.m}function ze(je){je.x*=ae,je.y=je.depth*fe}return ke.separation=function(je){return arguments.length?(Ce=je,ke):Ce},ke.size=function(je){return arguments.length?(be=!1,ae=+je[0],fe=+je[1],ke):be?null:[ae,fe]},ke.nodeSize=function(je){return arguments.length?(be=!0,ae=+je[0],fe=+je[1],ke):be?[ae,fe]:null},ke}function de(Ce,ae,fe,be,ke){for(var Le,Be=Ce.children,ze=-1,je=Be.length,ge=Ce.value&&(ke-fe)/Ce.value;++zeVe&&(Ve=ze),ot=we*we*st,($e=Math.max(Ve/ot,ot/Ee))>Ye){we-=ze;break}Ye=$e}ht.push(Be={value:we,dice:je1?be:1)},fe}(me);function Pe(){var Ce=xe,ae=!1,fe=1,be=1,ke=[0],Le=z,Be=z,ze=z,je=z,ge=z;function we(Ve){return Ve.x0=Ve.y0=0,Ve.x1=fe,Ve.y1=be,Ve.eachBefore(Ee),ke=[0],ae&&Ve.eachBefore(U),Ve}function Ee(Ve){var $e=ke[Ve.depth],Ye=Ve.x0+$e,st=Ve.y0+$e,ot=Ve.x1-$e,ht=Ve.y1-$e;ot=Ve-1){var bt=ze[Ee];return bt.x0=Ye,bt.y0=st,bt.x1=ot,void(bt.y1=ht)}for(var Et=ge[Ee],kt=$e/2+Et,xt=Ee+1,Ft=Ve-1;xt>>1;ge[Ot]ht-st){var Vt=(Ye*qt+ot*Bt)/$e;we(Ee,xt,Bt,Ye,st,Vt,ht),we(xt,Ve,qt,Vt,st,ot,ht)}else{var Ke=(st*qt+ht*Bt)/$e;we(Ee,xt,Bt,Ye,st,ot,Ke),we(xt,Ve,qt,Ye,Ke,ot,ht)}})(0,je,Ce.value,ae,fe,be,ke)}function Me(Ce,ae,fe,be,ke){(1&Ce.depth?de:G)(Ce,ae,fe,be,ke)}var Se=function Ce(ae){function fe(be,ke,Le,Be,ze){if((je=be._squarify)&&je.ratio===ae)for(var je,ge,we,Ee,Ve,$e=-1,Ye=je.length,st=be.value;++$e1?be:1)},fe}(me)},45879:function(T,p,t){t.d(p,{h5:function(){return w}});var d=Math.PI,g=2*d,i=1e-6,M=g-i;function v(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function f(){return new v}v.prototype=f.prototype={constructor:v,moveTo:function(y,S){this._+="M"+(this._x0=this._x1=+y)+","+(this._y0=this._y1=+S)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(y,S){this._+="L"+(this._x1=+y)+","+(this._y1=+S)},quadraticCurveTo:function(y,S,_,k){this._+="Q"+ +y+","+ +S+","+(this._x1=+_)+","+(this._y1=+k)},bezierCurveTo:function(y,S,_,k,E,x){this._+="C"+ +y+","+ +S+","+ +_+","+ +k+","+(this._x1=+E)+","+(this._y1=+x)},arcTo:function(y,S,_,k,E){y=+y,S=+S,_=+_,k=+k,E=+E;var x=this._x1,A=this._y1,L=_-y,b=k-S,R=x-y,I=A-S,O=R*R+I*I;if(E<0)throw new Error("negative radius: "+E);if(this._x1===null)this._+="M"+(this._x1=y)+","+(this._y1=S);else if(O>i)if(Math.abs(I*L-b*R)>i&&E){var z=_-x,F=k-A,B=L*L+b*b,N=z*z+F*F,W=Math.sqrt(B),j=Math.sqrt(O),$=E*Math.tan((d-Math.acos((B+O-N)/(2*W*j)))/2),U=$/j,G=$/W;Math.abs(U-1)>i&&(this._+="L"+(y+U*R)+","+(S+U*I)),this._+="A"+E+","+E+",0,0,"+ +(I*z>R*F)+","+(this._x1=y+G*L)+","+(this._y1=S+G*b)}else this._+="L"+(this._x1=y)+","+(this._y1=S)},arc:function(y,S,_,k,E,x){y=+y,S=+S,x=!!x;var A=(_=+_)*Math.cos(k),L=_*Math.sin(k),b=y+A,R=S+L,I=1^x,O=x?k-E:E-k;if(_<0)throw new Error("negative radius: "+_);this._x1===null?this._+="M"+b+","+R:(Math.abs(this._x1-b)>i||Math.abs(this._y1-R)>i)&&(this._+="L"+b+","+R),_&&(O<0&&(O=O%g+g),O>M?this._+="A"+_+","+_+",0,1,"+I+","+(y-A)+","+(S-L)+"A"+_+","+_+",0,1,"+I+","+(this._x1=b)+","+(this._y1=R):O>i&&(this._+="A"+_+","+_+",0,"+ +(O>=d)+","+I+","+(this._x1=y+_*Math.cos(E))+","+(this._y1=S+_*Math.sin(E))))},rect:function(y,S,_,k){this._+="M"+(this._x0=this._x1=+y)+","+(this._y0=this._y1=+S)+"h"+ +_+"v"+ +k+"h"+-_+"Z"},toString:function(){return this._}};var l=f,a=Array.prototype.slice;function u(y){return function(){return y}}function o(y){return y[0]}function s(y){return y[1]}function c(y){return y.source}function h(y){return y.target}function m(y,S,_,k,E){y.moveTo(S,_),y.bezierCurveTo(S=(S+k)/2,_,S,E,k,E)}function w(){return function(y){var S=c,_=h,k=o,E=s,x=null;function A(){var L,b=a.call(arguments),R=S.apply(this,b),I=_.apply(this,b);if(x||(x=L=l()),y(x,+k.apply(this,(b[0]=R,b)),+E.apply(this,b),+k.apply(this,(b[0]=I,b)),+E.apply(this,b)),L)return x=null,L+""||null}return A.source=function(L){return arguments.length?(S=L,A):S},A.target=function(L){return arguments.length?(_=L,A):_},A.x=function(L){return arguments.length?(k=typeof L=="function"?L:u(+L),A):k},A.y=function(L){return arguments.length?(E=typeof L=="function"?L:u(+L),A):E},A.context=function(L){return arguments.length?(x=L??null,A):x},A}(m)}},84096:function(T,p,t){t.d(p,{i$:function(){return c},Dq:function(){return o},g0:function(){return h}});var d=t(58176),g=t(48480),i=t(59879),M=t(82301),v=t(34823),f=t(79791);function l(xt){if(0<=xt.y&&xt.y<100){var Ft=new Date(-1,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L);return Ft.setFullYear(xt.y),Ft}return new Date(xt.y,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L)}function a(xt){if(0<=xt.y&&xt.y<100){var Ft=new Date(Date.UTC(-1,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L));return Ft.setUTCFullYear(xt.y),Ft}return new Date(Date.UTC(xt.y,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L))}function u(xt,Ft,Ot){return{y:xt,m:Ft,d:Ot,H:0,M:0,S:0,L:0}}function o(xt){var Ft=xt.dateTime,Ot=xt.date,Bt=xt.time,qt=xt.periods,Vt=xt.days,Ke=xt.shortDays,Je=xt.months,qe=xt.shortMonths,nt=E(qt),ft=x(qt),Re=E(Vt),Ne=x(Vt),Qe=E(Ke),ut=x(Ke),dt=E(Je),_t=x(Je),It=E(qe),Lt=x(qe),yt={a:function(Wt){return Ke[Wt.getDay()]},A:function(Wt){return Vt[Wt.getDay()]},b:function(Wt){return qe[Wt.getMonth()]},B:function(Wt){return Je[Wt.getMonth()]},c:null,d:X,e:X,f:ue,H:Q,I:re,j:ie,L:oe,m:ce,M:ye,p:function(Wt){return qt[+(Wt.getHours()>=12)]},q:function(Wt){return 1+~~(Wt.getMonth()/3)},Q:Et,s:kt,S:de,u:me,U:pe,V:xe,w:Pe,W:_e,x:null,X:null,y:Me,Y:Se,Z:Ce,"%":bt},Pt={a:function(Wt){return Ke[Wt.getUTCDay()]},A:function(Wt){return Vt[Wt.getUTCDay()]},b:function(Wt){return qe[Wt.getUTCMonth()]},B:function(Wt){return Je[Wt.getUTCMonth()]},c:null,d:ae,e:ae,f:Be,H:fe,I:be,j:ke,L:Le,m:ze,M:je,p:function(Wt){return qt[+(Wt.getUTCHours()>=12)]},q:function(Wt){return 1+~~(Wt.getUTCMonth()/3)},Q:Et,s:kt,S:ge,u:we,U:Ee,V:Ve,w:$e,W:Ye,x:null,X:null,y:st,Y:ot,Z:ht,"%":bt},wt={a:function(Wt,Xt,Qt){var rn=Qe.exec(Xt.slice(Qt));return rn?(Wt.w=ut[rn[0].toLowerCase()],Qt+rn[0].length):-1},A:function(Wt,Xt,Qt){var rn=Re.exec(Xt.slice(Qt));return rn?(Wt.w=Ne[rn[0].toLowerCase()],Qt+rn[0].length):-1},b:function(Wt,Xt,Qt){var rn=It.exec(Xt.slice(Qt));return rn?(Wt.m=Lt[rn[0].toLowerCase()],Qt+rn[0].length):-1},B:function(Wt,Xt,Qt){var rn=dt.exec(Xt.slice(Qt));return rn?(Wt.m=_t[rn[0].toLowerCase()],Qt+rn[0].length):-1},c:function(Wt,Xt,Qt){return Yt(Wt,Ft,Xt,Qt)},d:W,e:W,f:H,H:$,I:$,j,L:q,m:N,M:U,p:function(Wt,Xt,Qt){var rn=nt.exec(Xt.slice(Qt));return rn?(Wt.p=ft[rn[0].toLowerCase()],Qt+rn[0].length):-1},q:B,Q:te,s:Z,S:G,u:L,U:b,V:R,w:A,W:I,x:function(Wt,Xt,Qt){return Yt(Wt,Ot,Xt,Qt)},X:function(Wt,Xt,Qt){return Yt(Wt,Bt,Xt,Qt)},y:z,Y:O,Z:F,"%":ne};function Rt(Wt,Xt){return function(Qt){var rn,xn,un,An=[],Yn=-1,kn=0,sn=Wt.length;for(Qt instanceof Date||(Qt=new Date(+Qt));++Yn53)return null;"w"in un||(un.w=1),"Z"in un?(xn=(rn=a(u(un.y,0,1))).getUTCDay(),rn=xn>4||xn===0?d.l6.ceil(rn):(0,d.l6)(rn),rn=g.Z.offset(rn,7*(un.V-1)),un.y=rn.getUTCFullYear(),un.m=rn.getUTCMonth(),un.d=rn.getUTCDate()+(un.w+6)%7):(xn=(rn=l(u(un.y,0,1))).getDay(),rn=xn>4||xn===0?i.wA.ceil(rn):(0,i.wA)(rn),rn=M.Z.offset(rn,7*(un.V-1)),un.y=rn.getFullYear(),un.m=rn.getMonth(),un.d=rn.getDate()+(un.w+6)%7)}else("W"in un||"U"in un)&&("w"in un||(un.w="u"in un?un.u%7:"W"in un?1:0),xn="Z"in un?a(u(un.y,0,1)).getUTCDay():l(u(un.y,0,1)).getDay(),un.m=0,un.d="W"in un?(un.w+6)%7+7*un.W-(xn+5)%7:un.w+7*un.U-(xn+6)%7);return"Z"in un?(un.H+=un.Z/100|0,un.M+=un.Z%100,a(un)):l(un)}}function Yt(Wt,Xt,Qt,rn){for(var xn,un,An=0,Yn=Xt.length,kn=Qt.length;An=kn)return-1;if((xn=Xt.charCodeAt(An++))===37){if(xn=Xt.charAt(An++),!(un=wt[xn in m?Xt.charAt(An++):xn])||(rn=un(Wt,Qt,rn))<0)return-1}else if(xn!=Qt.charCodeAt(rn++))return-1}return rn}return yt.x=Rt(Ot,yt),yt.X=Rt(Bt,yt),yt.c=Rt(Ft,yt),Pt.x=Rt(Ot,Pt),Pt.X=Rt(Bt,Pt),Pt.c=Rt(Ft,Pt),{format:function(Wt){var Xt=Rt(Wt+="",yt);return Xt.toString=function(){return Wt},Xt},parse:function(Wt){var Xt=Nt(Wt+="",!1);return Xt.toString=function(){return Wt},Xt},utcFormat:function(Wt){var Xt=Rt(Wt+="",Pt);return Xt.toString=function(){return Wt},Xt},utcParse:function(Wt){var Xt=Nt(Wt+="",!0);return Xt.toString=function(){return Wt},Xt}}}var s,c,h,m={"-":"",_:" ",0:"0"},w=/^\s*\d+/,y=/^%/,S=/[\\^$*+?|[\]().{}]/g;function _(xt,Ft,Ot){var Bt=xt<0?"-":"",qt=(Bt?-xt:xt)+"",Vt=qt.length;return Bt+(Vt68?1900:2e3),Ot+Bt[0].length):-1}function F(xt,Ft,Ot){var Bt=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(Ft.slice(Ot,Ot+6));return Bt?(xt.Z=Bt[1]?0:-(Bt[2]+(Bt[3]||"00")),Ot+Bt[0].length):-1}function B(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+1));return Bt?(xt.q=3*Bt[0]-3,Ot+Bt[0].length):-1}function N(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+2));return Bt?(xt.m=Bt[0]-1,Ot+Bt[0].length):-1}function W(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+2));return Bt?(xt.d=+Bt[0],Ot+Bt[0].length):-1}function j(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+3));return Bt?(xt.m=0,xt.d=+Bt[0],Ot+Bt[0].length):-1}function $(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+2));return Bt?(xt.H=+Bt[0],Ot+Bt[0].length):-1}function U(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+2));return Bt?(xt.M=+Bt[0],Ot+Bt[0].length):-1}function G(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+2));return Bt?(xt.S=+Bt[0],Ot+Bt[0].length):-1}function q(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+3));return Bt?(xt.L=+Bt[0],Ot+Bt[0].length):-1}function H(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+6));return Bt?(xt.L=Math.floor(Bt[0]/1e3),Ot+Bt[0].length):-1}function ne(xt,Ft,Ot){var Bt=y.exec(Ft.slice(Ot,Ot+1));return Bt?Ot+Bt[0].length:-1}function te(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot));return Bt?(xt.Q=+Bt[0],Ot+Bt[0].length):-1}function Z(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot));return Bt?(xt.s=+Bt[0],Ot+Bt[0].length):-1}function X(xt,Ft){return _(xt.getDate(),Ft,2)}function Q(xt,Ft){return _(xt.getHours(),Ft,2)}function re(xt,Ft){return _(xt.getHours()%12||12,Ft,2)}function ie(xt,Ft){return _(1+M.Z.count((0,v.Z)(xt),xt),Ft,3)}function oe(xt,Ft){return _(xt.getMilliseconds(),Ft,3)}function ue(xt,Ft){return oe(xt,Ft)+"000"}function ce(xt,Ft){return _(xt.getMonth()+1,Ft,2)}function ye(xt,Ft){return _(xt.getMinutes(),Ft,2)}function de(xt,Ft){return _(xt.getSeconds(),Ft,2)}function me(xt){var Ft=xt.getDay();return Ft===0?7:Ft}function pe(xt,Ft){return _(i.OM.count((0,v.Z)(xt)-1,xt),Ft,2)}function xe(xt,Ft){var Ot=xt.getDay();return xt=Ot>=4||Ot===0?(0,i.bL)(xt):i.bL.ceil(xt),_(i.bL.count((0,v.Z)(xt),xt)+((0,v.Z)(xt).getDay()===4),Ft,2)}function Pe(xt){return xt.getDay()}function _e(xt,Ft){return _(i.wA.count((0,v.Z)(xt)-1,xt),Ft,2)}function Me(xt,Ft){return _(xt.getFullYear()%100,Ft,2)}function Se(xt,Ft){return _(xt.getFullYear()%1e4,Ft,4)}function Ce(xt){var Ft=xt.getTimezoneOffset();return(Ft>0?"-":(Ft*=-1,"+"))+_(Ft/60|0,"0",2)+_(Ft%60,"0",2)}function ae(xt,Ft){return _(xt.getUTCDate(),Ft,2)}function fe(xt,Ft){return _(xt.getUTCHours(),Ft,2)}function be(xt,Ft){return _(xt.getUTCHours()%12||12,Ft,2)}function ke(xt,Ft){return _(1+g.Z.count((0,f.Z)(xt),xt),Ft,3)}function Le(xt,Ft){return _(xt.getUTCMilliseconds(),Ft,3)}function Be(xt,Ft){return Le(xt,Ft)+"000"}function ze(xt,Ft){return _(xt.getUTCMonth()+1,Ft,2)}function je(xt,Ft){return _(xt.getUTCMinutes(),Ft,2)}function ge(xt,Ft){return _(xt.getUTCSeconds(),Ft,2)}function we(xt){var Ft=xt.getUTCDay();return Ft===0?7:Ft}function Ee(xt,Ft){return _(d.Ox.count((0,f.Z)(xt)-1,xt),Ft,2)}function Ve(xt,Ft){var Ot=xt.getUTCDay();return xt=Ot>=4||Ot===0?(0,d.hB)(xt):d.hB.ceil(xt),_(d.hB.count((0,f.Z)(xt),xt)+((0,f.Z)(xt).getUTCDay()===4),Ft,2)}function $e(xt){return xt.getUTCDay()}function Ye(xt,Ft){return _(d.l6.count((0,f.Z)(xt)-1,xt),Ft,2)}function st(xt,Ft){return _(xt.getUTCFullYear()%100,Ft,2)}function ot(xt,Ft){return _(xt.getUTCFullYear()%1e4,Ft,4)}function ht(){return"+0000"}function bt(){return"%"}function Et(xt){return+xt}function kt(xt){return Math.floor(+xt/1e3)}s=o({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),c=s.format,s.parse,h=s.utcFormat,s.utcParse},82301:function(T,p,t){t.d(p,{a:function(){return M}});var d=t(30052),g=t(54263),i=(0,d.Z)(function(v){v.setHours(0,0,0,0)},function(v,f){v.setDate(v.getDate()+f)},function(v,f){return(f-v-(f.getTimezoneOffset()-v.getTimezoneOffset())*g.yB)/g.UD},function(v){return v.getDate()-1});p.Z=i;var M=i.range},54263:function(T,p,t){t.d(p,{UD:function(){return M},Y2:function(){return i},Ym:function(){return d},iM:function(){return v},yB:function(){return g}});var d=1e3,g=6e4,i=36e5,M=864e5,v=6048e5},81041:function(T,p,t){t.r(p),t.d(p,{timeDay:function(){return w.Z},timeDays:function(){return w.a},timeFriday:function(){return y.mC},timeFridays:function(){return y.b$},timeHour:function(){return h},timeHours:function(){return m},timeInterval:function(){return d.Z},timeMillisecond:function(){return i},timeMilliseconds:function(){return M},timeMinute:function(){return o},timeMinutes:function(){return s},timeMonday:function(){return y.wA},timeMondays:function(){return y.bJ},timeMonth:function(){return _},timeMonths:function(){return k},timeSaturday:function(){return y.EY},timeSaturdays:function(){return y.Ff},timeSecond:function(){return l},timeSeconds:function(){return a},timeSunday:function(){return y.OM},timeSundays:function(){return y.vm},timeThursday:function(){return y.bL},timeThursdays:function(){return y.$t},timeTuesday:function(){return y.sy},timeTuesdays:function(){return y.aU},timeWednesday:function(){return y.zg},timeWednesdays:function(){return y.Ld},timeWeek:function(){return y.OM},timeWeeks:function(){return y.vm},timeYear:function(){return E.Z},timeYears:function(){return E.g},utcDay:function(){return O.Z},utcDays:function(){return O.y},utcFriday:function(){return z.QQ},utcFridays:function(){return z.fz},utcHour:function(){return R},utcHours:function(){return I},utcMillisecond:function(){return i},utcMilliseconds:function(){return M},utcMinute:function(){return A},utcMinutes:function(){return L},utcMonday:function(){return z.l6},utcMondays:function(){return z.$3},utcMonth:function(){return B},utcMonths:function(){return N},utcSaturday:function(){return z.g4},utcSaturdays:function(){return z.Q_},utcSecond:function(){return l},utcSeconds:function(){return a},utcSunday:function(){return z.Ox},utcSundays:function(){return z.SU},utcThursday:function(){return z.hB},utcThursdays:function(){return z.xj},utcTuesday:function(){return z.J1},utcTuesdays:function(){return z.DK},utcWednesday:function(){return z.b3},utcWednesdays:function(){return z.uy},utcWeek:function(){return z.Ox},utcWeeks:function(){return z.SU},utcYear:function(){return W.Z},utcYears:function(){return W.D}});var d=t(30052),g=(0,d.Z)(function(){},function(j,$){j.setTime(+j+$)},function(j,$){return $-j});g.every=function(j){return j=Math.floor(j),isFinite(j)&&j>0?j>1?(0,d.Z)(function($){$.setTime(Math.floor($/j)*j)},function($,U){$.setTime(+$+U*j)},function($,U){return(U-$)/j}):g:null};var i=g,M=g.range,v=t(54263),f=(0,d.Z)(function(j){j.setTime(j-j.getMilliseconds())},function(j,$){j.setTime(+j+$*v.Ym)},function(j,$){return($-j)/v.Ym},function(j){return j.getUTCSeconds()}),l=f,a=f.range,u=(0,d.Z)(function(j){j.setTime(j-j.getMilliseconds()-j.getSeconds()*v.Ym)},function(j,$){j.setTime(+j+$*v.yB)},function(j,$){return($-j)/v.yB},function(j){return j.getMinutes()}),o=u,s=u.range,c=(0,d.Z)(function(j){j.setTime(j-j.getMilliseconds()-j.getSeconds()*v.Ym-j.getMinutes()*v.yB)},function(j,$){j.setTime(+j+$*v.Y2)},function(j,$){return($-j)/v.Y2},function(j){return j.getHours()}),h=c,m=c.range,w=t(82301),y=t(59879),S=(0,d.Z)(function(j){j.setDate(1),j.setHours(0,0,0,0)},function(j,$){j.setMonth(j.getMonth()+$)},function(j,$){return $.getMonth()-j.getMonth()+12*($.getFullYear()-j.getFullYear())},function(j){return j.getMonth()}),_=S,k=S.range,E=t(34823),x=(0,d.Z)(function(j){j.setUTCSeconds(0,0)},function(j,$){j.setTime(+j+$*v.yB)},function(j,$){return($-j)/v.yB},function(j){return j.getUTCMinutes()}),A=x,L=x.range,b=(0,d.Z)(function(j){j.setUTCMinutes(0,0,0)},function(j,$){j.setTime(+j+$*v.Y2)},function(j,$){return($-j)/v.Y2},function(j){return j.getUTCHours()}),R=b,I=b.range,O=t(48480),z=t(58176),F=(0,d.Z)(function(j){j.setUTCDate(1),j.setUTCHours(0,0,0,0)},function(j,$){j.setUTCMonth(j.getUTCMonth()+$)},function(j,$){return $.getUTCMonth()-j.getUTCMonth()+12*($.getUTCFullYear()-j.getUTCFullYear())},function(j){return j.getUTCMonth()}),B=F,N=F.range,W=t(79791)},30052:function(T,p,t){t.d(p,{Z:function(){return i}});var d=new Date,g=new Date;function i(M,v,f,l){function a(u){return M(u=arguments.length===0?new Date:new Date(+u)),u}return a.floor=function(u){return M(u=new Date(+u)),u},a.ceil=function(u){return M(u=new Date(u-1)),v(u,1),M(u),u},a.round=function(u){var o=a(u),s=a.ceil(u);return u-o0))return h;do h.push(c=new Date(+u)),v(u,s),M(u);while(c=o)for(;M(o),!u(o);)o.setTime(o-1)},function(o,s){if(o>=o)if(s<0)for(;++s<=0;)for(;v(o,-1),!u(o););else for(;--s>=0;)for(;v(o,1),!u(o););})},f&&(a.count=function(u,o){return d.setTime(+u),g.setTime(+o),M(d),M(g),Math.floor(f(d,g))},a.every=function(u){return u=Math.floor(u),isFinite(u)&&u>0?u>1?a.filter(l?function(o){return l(o)%u==0}:function(o){return a.count(0,o)%u==0}):a:null}),a}},48480:function(T,p,t){t.d(p,{y:function(){return M}});var d=t(30052),g=t(54263),i=(0,d.Z)(function(v){v.setUTCHours(0,0,0,0)},function(v,f){v.setUTCDate(v.getUTCDate()+f)},function(v,f){return(f-v)/g.UD},function(v){return v.getUTCDate()-1});p.Z=i;var M=i.range},58176:function(T,p,t){t.d(p,{$3:function(){return c},DK:function(){return h},J1:function(){return f},Ox:function(){return M},QQ:function(){return u},Q_:function(){return S},SU:function(){return s},b3:function(){return l},fz:function(){return y},g4:function(){return o},hB:function(){return a},l6:function(){return v},uy:function(){return m},xj:function(){return w}});var d=t(30052),g=t(54263);function i(_){return(0,d.Z)(function(k){k.setUTCDate(k.getUTCDate()-(k.getUTCDay()+7-_)%7),k.setUTCHours(0,0,0,0)},function(k,E){k.setUTCDate(k.getUTCDate()+7*E)},function(k,E){return(E-k)/g.iM})}var M=i(0),v=i(1),f=i(2),l=i(3),a=i(4),u=i(5),o=i(6),s=M.range,c=v.range,h=f.range,m=l.range,w=a.range,y=u.range,S=o.range},79791:function(T,p,t){t.d(p,{D:function(){return i}});var d=t(30052),g=(0,d.Z)(function(M){M.setUTCMonth(0,1),M.setUTCHours(0,0,0,0)},function(M,v){M.setUTCFullYear(M.getUTCFullYear()+v)},function(M,v){return v.getUTCFullYear()-M.getUTCFullYear()},function(M){return M.getUTCFullYear()});g.every=function(M){return isFinite(M=Math.floor(M))&&M>0?(0,d.Z)(function(v){v.setUTCFullYear(Math.floor(v.getUTCFullYear()/M)*M),v.setUTCMonth(0,1),v.setUTCHours(0,0,0,0)},function(v,f){v.setUTCFullYear(v.getUTCFullYear()+f*M)}):null},p.Z=g;var i=g.range},59879:function(T,p,t){t.d(p,{$t:function(){return w},EY:function(){return o},Ff:function(){return S},Ld:function(){return m},OM:function(){return M},aU:function(){return h},b$:function(){return y},bJ:function(){return c},bL:function(){return a},mC:function(){return u},sy:function(){return f},vm:function(){return s},wA:function(){return v},zg:function(){return l}});var d=t(30052),g=t(54263);function i(_){return(0,d.Z)(function(k){k.setDate(k.getDate()-(k.getDay()+7-_)%7),k.setHours(0,0,0,0)},function(k,E){k.setDate(k.getDate()+7*E)},function(k,E){return(E-k-(E.getTimezoneOffset()-k.getTimezoneOffset())*g.yB)/g.iM})}var M=i(0),v=i(1),f=i(2),l=i(3),a=i(4),u=i(5),o=i(6),s=M.range,c=v.range,h=f.range,m=l.range,w=a.range,y=u.range,S=o.range},34823:function(T,p,t){t.d(p,{g:function(){return i}});var d=t(30052),g=(0,d.Z)(function(M){M.setMonth(0,1),M.setHours(0,0,0,0)},function(M,v){M.setFullYear(M.getFullYear()+v)},function(M,v){return v.getFullYear()-M.getFullYear()},function(M){return M.getFullYear()});g.every=function(M){return isFinite(M=Math.floor(M))&&M>0?(0,d.Z)(function(v){v.setFullYear(Math.floor(v.getFullYear()/M)*M),v.setMonth(0,1),v.setHours(0,0,0,0)},function(v,f){v.setFullYear(v.getFullYear()+f*M)}):null},p.Z=g;var i=g.range},17045:function(T,p,t){var d=t(8709),g=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",i=Object.prototype.toString,M=Array.prototype.concat,v=Object.defineProperty,f=t(55622)(),l=v&&f,a=function(o,s,c,h){if(s in o){if(h===!0){if(o[s]===c)return}else if(typeof(m=h)!="function"||i.call(m)!=="[object Function]"||!h())return}var m;l?v(o,s,{configurable:!0,enumerable:!1,value:c,writable:!0}):o[s]=c},u=function(o,s){var c=arguments.length>2?arguments[2]:{},h=d(s);g&&(h=M.call(h,Object.getOwnPropertySymbols(s)));for(var m=0;ml*a){var h=(c-s)/l;f[o]=1e3*h}}return f}function g(i){for(var M=[],v=i[0];v<=i[1];v++)for(var f=String.fromCharCode(v),l=i[0];l0)return function(g,i){var M,v;for(M=new Array(g),v=0;v80*O){z=B=R[0],F=N=R[1];for(var ne=O;neB&&(B=W),j>N&&(N=j);$=($=Math.max(B-z,N-F))!==0?1/$:0}return g(q,H,O,z,F,$),H}function t(R,I,O,z,F){var B,N;if(F===b(R,I,O,z)>0)for(B=I;B=I;B-=z)N=x(B,R[B],R[B+1],N);return N&&w(N,N.next)&&(A(N),N=N.next),N}function d(R,I){if(!R)return R;I||(I=R);var O,z=R;do if(O=!1,z.steiner||!w(z,z.next)&&m(z.prev,z,z.next)!==0)z=z.next;else{if(A(z),(z=I=z.prev)===z.next)break;O=!0}while(O||z!==I);return I}function g(R,I,O,z,F,B,N){if(R){!N&&B&&function(U,G,q,H){var ne=U;do ne.z===null&&(ne.z=o(ne.x,ne.y,G,q,H)),ne.prevZ=ne.prev,ne.nextZ=ne.next,ne=ne.next;while(ne!==U);ne.prevZ.nextZ=null,ne.prevZ=null,function(te){var Z,X,Q,re,ie,oe,ue,ce,ye=1;do{for(X=te,te=null,ie=null,oe=0;X;){for(oe++,Q=X,ue=0,Z=0;Z0||ce>0&&Q;)ue!==0&&(ce===0||!Q||X.z<=Q.z)?(re=X,X=X.nextZ,ue--):(re=Q,Q=Q.nextZ,ce--),ie?ie.nextZ=re:te=re,re.prevZ=ie,ie=re;X=Q}ie.nextZ=null,ye*=2}while(oe>1)}(ne)}(R,z,F,B);for(var W,j,$=R;R.prev!==R.next;)if(W=R.prev,j=R.next,B?M(R,z,F,B):i(R))I.push(W.i/O),I.push(R.i/O),I.push(j.i/O),A(R),R=j.next,$=j.next;else if((R=j)===$){N?N===1?g(R=v(d(R),I,O),I,O,z,F,B,2):N===2&&f(R,I,O,z,F,B):g(d(R),I,O,z,F,B,1);break}}}function i(R){var I=R.prev,O=R,z=R.next;if(m(I,O,z)>=0)return!1;for(var F=R.next.next;F!==R.prev;){if(c(I.x,I.y,O.x,O.y,z.x,z.y,F.x,F.y)&&m(F.prev,F,F.next)>=0)return!1;F=F.next}return!0}function M(R,I,O,z){var F=R.prev,B=R,N=R.next;if(m(F,B,N)>=0)return!1;for(var W=F.xB.x?F.x>N.x?F.x:N.x:B.x>N.x?B.x:N.x,U=F.y>B.y?F.y>N.y?F.y:N.y:B.y>N.y?B.y:N.y,G=o(W,j,I,O,z),q=o($,U,I,O,z),H=R.prevZ,ne=R.nextZ;H&&H.z>=G&&ne&&ne.z<=q;){if(H!==R.prev&&H!==R.next&&c(F.x,F.y,B.x,B.y,N.x,N.y,H.x,H.y)&&m(H.prev,H,H.next)>=0||(H=H.prevZ,ne!==R.prev&&ne!==R.next&&c(F.x,F.y,B.x,B.y,N.x,N.y,ne.x,ne.y)&&m(ne.prev,ne,ne.next)>=0))return!1;ne=ne.nextZ}for(;H&&H.z>=G;){if(H!==R.prev&&H!==R.next&&c(F.x,F.y,B.x,B.y,N.x,N.y,H.x,H.y)&&m(H.prev,H,H.next)>=0)return!1;H=H.prevZ}for(;ne&&ne.z<=q;){if(ne!==R.prev&&ne!==R.next&&c(F.x,F.y,B.x,B.y,N.x,N.y,ne.x,ne.y)&&m(ne.prev,ne,ne.next)>=0)return!1;ne=ne.nextZ}return!0}function v(R,I,O){var z=R;do{var F=z.prev,B=z.next.next;!w(F,B)&&y(F,z,z.next,B)&&k(F,B)&&k(B,F)&&(I.push(F.i/O),I.push(z.i/O),I.push(B.i/O),A(z),A(z.next),z=R=B),z=z.next}while(z!==R);return d(z)}function f(R,I,O,z,F,B){var N=R;do{for(var W=N.next.next;W!==N.prev;){if(N.i!==W.i&&h(N,W)){var j=E(N,W);return N=d(N,N.next),j=d(j,j.next),g(N,I,O,z,F,B),void g(j,I,O,z,F,B)}W=W.next}N=N.next}while(N!==R)}function l(R,I){return R.x-I.x}function a(R,I){if(I=function(z,F){var B,N=F,W=z.x,j=z.y,$=-1/0;do{if(j<=N.y&&j>=N.next.y&&N.next.y!==N.y){var U=N.x+(j-N.y)*(N.next.x-N.x)/(N.next.y-N.y);if(U<=W&&U>$){if($=U,U===W){if(j===N.y)return N;if(j===N.next.y)return N.next}B=N.x=N.x&&N.x>=H&&W!==N.x&&c(jB.x||N.x===B.x&&u(B,N)))&&(B=N,te=G)),N=N.next;while(N!==q);return B}(R,I),I){var O=E(I,R);d(I,I.next),d(O,O.next)}}function u(R,I){return m(R.prev,R,I.prev)<0&&m(I.next,R,R.next)<0}function o(R,I,O,z,F){return(R=1431655765&((R=858993459&((R=252645135&((R=16711935&((R=32767*(R-O)*F)|R<<8))|R<<4))|R<<2))|R<<1))|(I=1431655765&((I=858993459&((I=252645135&((I=16711935&((I=32767*(I-z)*F)|I<<8))|I<<4))|I<<2))|I<<1))<<1}function s(R){var I=R,O=R;do(I.x=0&&(R-N)*(z-W)-(O-N)*(I-W)>=0&&(O-N)*(B-W)-(F-N)*(z-W)>=0}function h(R,I){return R.next.i!==I.i&&R.prev.i!==I.i&&!function(O,z){var F=O;do{if(F.i!==O.i&&F.next.i!==O.i&&F.i!==z.i&&F.next.i!==z.i&&y(F,F.next,O,z))return!0;F=F.next}while(F!==O);return!1}(R,I)&&(k(R,I)&&k(I,R)&&function(O,z){var F=O,B=!1,N=(O.x+z.x)/2,W=(O.y+z.y)/2;do F.y>W!=F.next.y>W&&F.next.y!==F.y&&N<(F.next.x-F.x)*(W-F.y)/(F.next.y-F.y)+F.x&&(B=!B),F=F.next;while(F!==O);return B}(R,I)&&(m(R.prev,R,I.prev)||m(R,I.prev,I))||w(R,I)&&m(R.prev,R,R.next)>0&&m(I.prev,I,I.next)>0)}function m(R,I,O){return(I.y-R.y)*(O.x-I.x)-(I.x-R.x)*(O.y-I.y)}function w(R,I){return R.x===I.x&&R.y===I.y}function y(R,I,O,z){var F=_(m(R,I,O)),B=_(m(R,I,z)),N=_(m(O,z,R)),W=_(m(O,z,I));return F!==B&&N!==W||!(F!==0||!S(R,O,I))||!(B!==0||!S(R,z,I))||!(N!==0||!S(O,R,z))||!(W!==0||!S(O,I,z))}function S(R,I,O){return I.x<=Math.max(R.x,O.x)&&I.x>=Math.min(R.x,O.x)&&I.y<=Math.max(R.y,O.y)&&I.y>=Math.min(R.y,O.y)}function _(R){return R>0?1:R<0?-1:0}function k(R,I){return m(R.prev,R,R.next)<0?m(R,I,R.next)>=0&&m(R,R.prev,I)>=0:m(R,I,R.prev)<0||m(R,R.next,I)<0}function E(R,I){var O=new L(R.i,R.x,R.y),z=new L(I.i,I.x,I.y),F=R.next,B=I.prev;return R.next=I,I.prev=R,O.next=F,F.prev=O,z.next=O,O.prev=z,B.next=z,z.prev=B,z}function x(R,I,O,z){var F=new L(R,I,O);return z?(F.next=z.next,F.prev=z,z.next.prev=F,z.next=F):(F.prev=F,F.next=F),F}function A(R){R.next.prev=R.prev,R.prev.next=R.next,R.prevZ&&(R.prevZ.nextZ=R.nextZ),R.nextZ&&(R.nextZ.prevZ=R.prevZ)}function L(R,I,O){this.i=R,this.x=I,this.y=O,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function b(R,I,O,z){for(var F=0,B=I,N=O-z;B0&&(z+=R[F-1].length,O.holes.push(z))}return O}},2502:function(T,p,t){var d=t(68664);T.exports=function(g,i){var M,v=[],f=[],l=[],a={},u=[];function o(k){l[k]=!1,a.hasOwnProperty(k)&&Object.keys(a[k]).forEach(function(E){delete a[k][E],l[E]&&o(E)})}function s(k){var E,x,A=!1;for(f.push(k),l[k]=!0,E=0;E=O})})(k);for(var E,x=d(g).components.filter(function(O){return O.length>1}),A=1/0,L=0;L=55296&&k<=56319&&(L+=h[++w]),L=b?o.call(b,R,L,y):L,m?(s.value=L,c(S,y,s)):S[y]=L,++y;_=y}}if(_===void 0)for(_=M(h.length),m&&(S=new m(_)),w=0;w<_;++w)L=b?o.call(b,R,h[w],w):h[w],m?(s.value=L,c(S,w,s)):S[w]=L;return m&&(s.value=null,S.length=_),S}},73051:function(T){var p=Object.prototype.toString,t=p.call(function(){return arguments}());T.exports=function(d){return p.call(d)===t}},33717:function(T){var p=Object.prototype.toString,t=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);T.exports=function(d){return typeof d=="function"&&t(p.call(d))}},52345:function(T){T.exports=function(){}},9953:function(T,p,t){T.exports=t(90436)()?Math.sign:t(6069)},90436:function(T){T.exports=function(){var p=Math.sign;return typeof p=="function"&&p(10)===1&&p(-20)===-1}},6069:function(T){T.exports=function(p){return p=Number(p),isNaN(p)||p===0?p:p>0?1:-1}},56247:function(T,p,t){var d=t(9953),g=Math.abs,i=Math.floor;T.exports=function(M){return isNaN(M)?0:(M=Number(M))!==0&&isFinite(M)?d(M)*i(g(M)):M}},35976:function(T,p,t){var d=t(56247),g=Math.max;T.exports=function(i){return g(0,d(i))}},67260:function(T,p,t){var d=t(78513),g=t(36672),i=Function.prototype.bind,M=Function.prototype.call,v=Object.keys,f=Object.prototype.propertyIsEnumerable;T.exports=function(l,a){return function(u,o){var s,c=arguments[2],h=arguments[3];return u=Object(g(u)),d(o),s=v(u),h&&s.sort(typeof h=="function"?i.call(h,u):void 0),typeof l!="function"&&(l=s[l]),M.call(l,s,function(m,w){return f.call(u,m)?M.call(o,c,u[m],m,u,w):a})}}},95879:function(T,p,t){T.exports=t(73583)()?Object.assign:t(34205)},73583:function(T){T.exports=function(){var p,t=Object.assign;return typeof t=="function"&&(t(p={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),p.foo+p.bar+p.trzy==="razdwatrzy")}},34205:function(T,p,t){var d=t(68700),g=t(36672),i=Math.max;T.exports=function(M,v){var f,l,a,u=i(arguments.length,2);for(M=Object(g(M)),a=function(o){try{M[o]=v[o]}catch(s){f||(f=s)}},l=1;l-1}},87963:function(T){var p=Object.prototype.toString,t=p.call("");T.exports=function(d){return typeof d=="string"||d&&typeof d=="object"&&(d instanceof String||p.call(d)===t)||!1}},43043:function(T){var p=Object.create(null),t=Math.random;T.exports=function(){var d;do d=t().toString(36).slice(2);while(p[d]);return d}},32411:function(T,p,t){var d,g=t(1496),i=t(66741),M=t(62072),v=t(8260),f=t(95426),l=Object.defineProperty;d=T.exports=function(a,u){if(!(this instanceof d))throw new TypeError("Constructor requires 'new'");f.call(this,a),u=u?i.call(u,"key+value")?"key+value":i.call(u,"key")?"key":"value":"value",l(this,"__kind__",M("",u))},g&&g(d,f),delete d.prototype.constructor,d.prototype=Object.create(f.prototype,{_resolve:M(function(a){return this.__kind__==="value"?this.__list__[a]:this.__kind__==="key+value"?[a,this.__list__[a]]:a})}),l(d.prototype,v.toStringTag,M("c","Array Iterator"))},27515:function(T,p,t){var d=t(73051),g=t(78513),i=t(87963),M=t(66661),v=Array.isArray,f=Function.prototype.call,l=Array.prototype.some;T.exports=function(a,u){var o,s,c,h,m,w,y,S,_=arguments[2];if(v(a)||d(a)?o="array":i(a)?o="string":a=M(a),g(u),c=function(){h=!0},o!=="array")if(o!=="string")for(s=a.next();!s.done;){if(f.call(u,_,s.value,c),h)return;s=a.next()}else for(w=a.length,m=0;m=55296&&S<=56319&&(y+=a[++m]),f.call(u,_,y,c),!h);++m);else l.call(a,function(k){return f.call(u,_,k,c),h})}},66661:function(T,p,t){var d=t(73051),g=t(87963),i=t(32411),M=t(259),v=t(58095),f=t(8260).iterator;T.exports=function(l){return typeof v(l)[f]=="function"?l[f]():d(l)?new i(l):g(l)?new M(l):new i(l)}},95426:function(T,p,t){var d,g=t(16134),i=t(95879),M=t(78513),v=t(36672),f=t(62072),l=t(55174),a=t(8260),u=Object.defineProperty,o=Object.defineProperties;T.exports=d=function(s,c){if(!(this instanceof d))throw new TypeError("Constructor requires 'new'");o(this,{__list__:f("w",v(s)),__context__:f("w",c),__nextIndex__:f("w",0)}),c&&(M(c.on),c.on("_add",this._onAdd),c.on("_delete",this._onDelete),c.on("_clear",this._onClear))},delete d.prototype.constructor,o(d.prototype,i({_next:f(function(){var s;if(this.__list__)return this.__redo__&&(s=this.__redo__.shift())!==void 0?s:this.__nextIndex__=this.__nextIndex__||(++this.__nextIndex__,this.__redo__?(this.__redo__.forEach(function(c,h){c>=s&&(this.__redo__[h]=++c)},this),this.__redo__.push(s)):u(this,"__redo__",f("c",[s])))}),_onDelete:f(function(s){var c;s>=this.__nextIndex__||(--this.__nextIndex__,this.__redo__&&((c=this.__redo__.indexOf(s))!==-1&&this.__redo__.splice(c,1),this.__redo__.forEach(function(h,m){h>s&&(this.__redo__[m]=--h)},this)))}),_onClear:f(function(){this.__redo__&&g.call(this.__redo__),this.__nextIndex__=0})}))),u(d.prototype,a.iterator,f(function(){return this}))},35940:function(T,p,t){var d=t(73051),g=t(95296),i=t(87963),M=t(8260).iterator,v=Array.isArray;T.exports=function(f){return!(!g(f)||!v(f)&&!i(f)&&!d(f)&&typeof f[M]!="function")}},259:function(T,p,t){var d,g=t(1496),i=t(62072),M=t(8260),v=t(95426),f=Object.defineProperty;d=T.exports=function(l){if(!(this instanceof d))throw new TypeError("Constructor requires 'new'");l=String(l),v.call(this,l),f(this,"__length__",i("",l.length))},g&&g(d,v),delete d.prototype.constructor,d.prototype=Object.create(v.prototype,{_next:i(function(){if(this.__list__)return this.__nextIndex__=55296&&a<=56319?u+this.__list__[this.__nextIndex__++]:u})}),f(d.prototype,M.toStringTag,i("c","String Iterator"))},58095:function(T,p,t){var d=t(35940);T.exports=function(g){if(!d(g))throw new TypeError(g+" is not iterable");return g}},73523:function(T){function p(t,d){if(t==null)throw new TypeError("Cannot convert first argument to object");for(var g=Object(t),i=1;i0&&E.length>_&&!E.warned){E.warned=!0;var A=new Error("Possible EventEmitter memory leak detected. "+E.length+" "+String(w)+" listeners added. Use emitter.setMaxListeners() to increase limit");A.name="MaxListenersExceededWarning",A.emitter=m,A.type=w,A.count=E.length,x=A,console&&console.warn&&console.warn(x)}return m}function a(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function u(m,w,y){var S={fired:!1,wrapFn:void 0,target:m,type:w,listener:y},_=a.bind(S);return _.listener=y,S.wrapFn=_,_}function o(m,w,y){var S=m._events;if(S===void 0)return[];var _=S[w];return _===void 0?[]:typeof _=="function"?y?[_.listener||_]:[_]:y?function(k){for(var E=new Array(k.length),x=0;x0&&(k=w[0]),k instanceof Error)throw k;var E=new Error("Unhandled error."+(k?" ("+k.message+")":""));throw E.context=k,E}var x=_[m];if(x===void 0)return!1;if(typeof x=="function")d(x,this,w);else{var A=x.length,L=c(x,A);for(y=0;y=0;k--)if(y[k]===w||y[k].listener===w){E=y[k].listener,_=k;break}if(_<0)return this;_===0?y.shift():function(x,A){for(;A+1=0;S--)this.removeListener(m,w[S]);return this},i.prototype.listeners=function(m){return o(this,m,!0)},i.prototype.rawListeners=function(m){return o(this,m,!1)},i.listenerCount=function(m,w){return typeof m.listenerCount=="function"?m.listenerCount(w):s.call(m,w)},i.prototype.listenerCount=s,i.prototype.eventNames=function(){return this._eventsCount>0?p(this._events):[]}},60774:function(T){var p=function(){if(typeof self=="object"&&self)return self;if(typeof window=="object"&&window)return window;throw new Error("Unable to resolve global `this`")};T.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch{return p()}try{return __global__||p()}finally{delete Object.prototype.__global__}}()},94908:function(T,p,t){T.exports=t(51152)()?globalThis:t(60774)},51152:function(T){T.exports=function(){return typeof globalThis=="object"&&!!globalThis&&globalThis.Array===Array}},92770:function(T,p,t){var d=t(18546);T.exports=function(g){var i=typeof g;if(i==="string"){var M=g;if((g=+g)==0&&d(M))return!1}else if(i!=="number")return!1;return g-g<1}},30120:function(T,p,t){var d=t(90660);T.exports=function(g,i,M){if(!g)throw new TypeError("must specify data as first parameter");if(M=0|+(M||0),Array.isArray(g)&&g[0]&&typeof g[0][0]=="number"){var v,f,l,a,u=g[0].length,o=g.length*u;i&&typeof i!="string"||(i=new(d(i||"float32"))(o+M));var s=i.length-M;if(o!==s)throw new Error("source length "+o+" ("+u+"x"+g.length+") does not match destination length "+s);for(v=0,l=M;vM[0]-l[0]/2&&(h=l[0]/2,m+=l[1]);return v}},32879:function(T){function p(i,M){M||(M={}),(typeof i=="string"||Array.isArray(i))&&(M.family=i);var v=Array.isArray(M.family)?M.family.join(", "):M.family;if(!v)throw Error("`family` must be defined");var f=M.size||M.fontSize||M.em||48,l=M.weight||M.fontWeight||"",a=(i=[M.style||M.fontStyle||"",l,f].join(" ")+"px "+v,M.origin||"top");if(p.cache[v]&&f<=p.cache[v].em)return t(p.cache[v],a);var u=M.canvas||p.canvas,o=u.getContext("2d"),s={upper:M.upper!==void 0?M.upper:"H",lower:M.lower!==void 0?M.lower:"x",descent:M.descent!==void 0?M.descent:"p",ascent:M.ascent!==void 0?M.ascent:"h",tittle:M.tittle!==void 0?M.tittle:"i",overshoot:M.overshoot!==void 0?M.overshoot:"O"},c=Math.ceil(1.5*f);u.height=c,u.width=.5*c,o.font=i;var h="H",m={top:0};o.clearRect(0,0,c,c),o.textBaseline="top",o.fillStyle="black",o.fillText(h,0,0);var w=d(o.getImageData(0,0,c,c));o.clearRect(0,0,c,c),o.textBaseline="bottom",o.fillText(h,0,c);var y=d(o.getImageData(0,0,c,c));m.lineHeight=m.bottom=c-y+w,o.clearRect(0,0,c,c),o.textBaseline="alphabetic",o.fillText(h,0,c);var S=c-d(o.getImageData(0,0,c,c))-1+w;m.baseline=m.alphabetic=S,o.clearRect(0,0,c,c),o.textBaseline="middle",o.fillText(h,0,.5*c);var _=d(o.getImageData(0,0,c,c));m.median=m.middle=c-_-1+w-.5*c,o.clearRect(0,0,c,c),o.textBaseline="hanging",o.fillText(h,0,.5*c);var k=d(o.getImageData(0,0,c,c));m.hanging=c-k-1+w-.5*c,o.clearRect(0,0,c,c),o.textBaseline="ideographic",o.fillText(h,0,c);var E=d(o.getImageData(0,0,c,c));if(m.ideographic=c-E-1+w,s.upper&&(o.clearRect(0,0,c,c),o.textBaseline="top",o.fillText(s.upper,0,0),m.upper=d(o.getImageData(0,0,c,c)),m.capHeight=m.baseline-m.upper),s.lower&&(o.clearRect(0,0,c,c),o.textBaseline="top",o.fillText(s.lower,0,0),m.lower=d(o.getImageData(0,0,c,c)),m.xHeight=m.baseline-m.lower),s.tittle&&(o.clearRect(0,0,c,c),o.textBaseline="top",o.fillText(s.tittle,0,0),m.tittle=d(o.getImageData(0,0,c,c))),s.ascent&&(o.clearRect(0,0,c,c),o.textBaseline="top",o.fillText(s.ascent,0,0),m.ascent=d(o.getImageData(0,0,c,c))),s.descent&&(o.clearRect(0,0,c,c),o.textBaseline="top",o.fillText(s.descent,0,0),m.descent=g(o.getImageData(0,0,c,c))),s.overshoot){o.clearRect(0,0,c,c),o.textBaseline="top",o.fillText(s.overshoot,0,0);var x=g(o.getImageData(0,0,c,c));m.overshoot=x-S}for(var A in m)m[A]/=f;return m.em=f,p.cache[v]=m,t(m,a)}function t(i,M){var v={};for(var f in typeof M=="string"&&(M=i[M]),i)f!=="em"&&(v[f]=i[f]-M);return v}function d(i){for(var M=i.height,v=i.data,f=3;f0;f-=4)if(v[f]!==0)return Math.floor(.25*(f-3)/M)}T.exports=p,p.canvas=document.createElement("canvas"),p.cache={}},31353:function(T,p,t){var d=t(85395),g=Object.prototype.toString,i=Object.prototype.hasOwnProperty,M=function(l,a,u){for(var o=0,s=l.length;o=3&&(o=u),g.call(l)==="[object Array]"?M(l,a,o):typeof l=="string"?v(l,a,o):f(l,a,o)}},73047:function(T){var p="Function.prototype.bind called on incompatible ",t=Array.prototype.slice,d=Object.prototype.toString,g="[object Function]";T.exports=function(i){var M=this;if(typeof M!="function"||d.call(M)!==g)throw new TypeError(p+M);for(var v,f=t.call(arguments,1),l=function(){if(this instanceof v){var c=M.apply(this,f.concat(t.call(arguments)));return Object(c)===c?c:this}return M.apply(i,f.concat(t.call(arguments)))},a=Math.max(0,M.length-f.length),u=[],o=0;o"u"&&!t.canvas)return null;var d=t.canvas||document.createElement("canvas");typeof t.width=="number"&&(d.width=t.width),typeof t.height=="number"&&(d.height=t.height);var g,i=t;try{var M=[p];p.indexOf("webgl")===0&&M.push("experimental-"+p);for(var v=0;v"u"?d:o(Uint8Array),h={"%AggregateError%":typeof AggregateError>"u"?d:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?d:ArrayBuffer,"%ArrayIteratorPrototype%":u?o([][Symbol.iterator]()):d,"%AsyncFromSyncIteratorPrototype%":d,"%AsyncFunction%":s,"%AsyncGenerator%":s,"%AsyncGeneratorFunction%":s,"%AsyncIteratorPrototype%":s,"%Atomics%":typeof Atomics>"u"?d:Atomics,"%BigInt%":typeof BigInt>"u"?d:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?d:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?d:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?d:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?d:Float32Array,"%Float64Array%":typeof Float64Array>"u"?d:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?d:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":s,"%Int8Array%":typeof Int8Array>"u"?d:Int8Array,"%Int16Array%":typeof Int16Array>"u"?d:Int16Array,"%Int32Array%":typeof Int32Array>"u"?d:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":u?o(o([][Symbol.iterator]())):d,"%JSON%":typeof JSON=="object"?JSON:d,"%Map%":typeof Map>"u"?d:Map,"%MapIteratorPrototype%":typeof Map<"u"&&u?o(new Map()[Symbol.iterator]()):d,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?d:Promise,"%Proxy%":typeof Proxy>"u"?d:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?d:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?d:Set,"%SetIteratorPrototype%":typeof Set<"u"&&u?o(new Set()[Symbol.iterator]()):d,"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?d:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":u?o(""[Symbol.iterator]()):d,"%Symbol%":u?Symbol:d,"%SyntaxError%":g,"%ThrowTypeError%":a,"%TypedArray%":c,"%TypeError%":M,"%Uint8Array%":typeof Uint8Array>"u"?d:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?d:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?d:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?d:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?d:WeakMap,"%WeakRef%":typeof WeakRef>"u"?d:WeakRef,"%WeakSet%":typeof WeakSet>"u"?d:WeakSet};try{null.error}catch(z){var m=o(o(z));h["%Error.prototype%"]=m}var w=function z(F){var B;if(F==="%AsyncFunction%")B=v("async function () {}");else if(F==="%GeneratorFunction%")B=v("function* () {}");else if(F==="%AsyncGeneratorFunction%")B=v("async function* () {}");else if(F==="%AsyncGenerator%"){var N=z("%AsyncGeneratorFunction%");N&&(B=N.prototype)}else if(F==="%AsyncIteratorPrototype%"){var W=z("%AsyncGenerator%");W&&(B=o(W.prototype))}return h[F]=B,B},y={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},S=t(77575),_=t(35065),k=S.call(Function.call,Array.prototype.concat),E=S.call(Function.apply,Array.prototype.splice),x=S.call(Function.call,String.prototype.replace),A=S.call(Function.call,String.prototype.slice),L=S.call(Function.call,RegExp.prototype.exec),b=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,R=/\\(\\)?/g,I=function(z){var F=A(z,0,1),B=A(z,-1);if(F==="%"&&B!=="%")throw new g("invalid intrinsic syntax, expected closing `%`");if(B==="%"&&F!=="%")throw new g("invalid intrinsic syntax, expected opening `%`");var N=[];return x(z,b,function(W,j,$,U){N[N.length]=$?x(U,R,"$1"):j||W}),N},O=function(z,F){var B,N=z;if(_(y,N)&&(N="%"+(B=y[N])[0]+"%"),_(h,N)){var W=h[N];if(W===s&&(W=w(N)),W===void 0&&!F)throw new M("intrinsic "+z+" exists, but is not available. Please file an issue!");return{alias:B,name:N,value:W}}throw new g("intrinsic "+z+" does not exist!")};T.exports=function(z,F){if(typeof z!="string"||z.length===0)throw new M("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof F!="boolean")throw new M('"allowMissing" argument must be a boolean');if(L(/^%?[^%]*%?$/,z)===null)throw new g("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var B=I(z),N=B.length>0?B[0]:"",W=O("%"+N+"%",F),j=W.name,$=W.value,U=!1,G=W.alias;G&&(N=G[0],E(B,k([0,1],G)));for(var q=1,H=!0;q=B.length){var X=f($,ne);$=(H=!!X)&&"get"in X&&!("originalValue"in X.get)?X.get:$[ne]}else H=_($,ne),$=$[ne];H&&!U&&(h[j]=$)}}return $}},85400:function(T){T.exports=function(p,t){var d=t[0],g=t[1],i=t[2],M=t[3],v=t[4],f=t[5],l=t[6],a=t[7],u=t[8],o=t[9],s=t[10],c=t[11],h=t[12],m=t[13],w=t[14],y=t[15];return p[0]=f*(s*y-c*w)-o*(l*y-a*w)+m*(l*c-a*s),p[1]=-(g*(s*y-c*w)-o*(i*y-M*w)+m*(i*c-M*s)),p[2]=g*(l*y-a*w)-f*(i*y-M*w)+m*(i*a-M*l),p[3]=-(g*(l*c-a*s)-f*(i*c-M*s)+o*(i*a-M*l)),p[4]=-(v*(s*y-c*w)-u*(l*y-a*w)+h*(l*c-a*s)),p[5]=d*(s*y-c*w)-u*(i*y-M*w)+h*(i*c-M*s),p[6]=-(d*(l*y-a*w)-v*(i*y-M*w)+h*(i*a-M*l)),p[7]=d*(l*c-a*s)-v*(i*c-M*s)+u*(i*a-M*l),p[8]=v*(o*y-c*m)-u*(f*y-a*m)+h*(f*c-a*o),p[9]=-(d*(o*y-c*m)-u*(g*y-M*m)+h*(g*c-M*o)),p[10]=d*(f*y-a*m)-v*(g*y-M*m)+h*(g*a-M*f),p[11]=-(d*(f*c-a*o)-v*(g*c-M*o)+u*(g*a-M*f)),p[12]=-(v*(o*w-s*m)-u*(f*w-l*m)+h*(f*s-l*o)),p[13]=d*(o*w-s*m)-u*(g*w-i*m)+h*(g*s-i*o),p[14]=-(d*(f*w-l*m)-v*(g*w-i*m)+h*(g*l-i*f)),p[15]=d*(f*s-l*o)-v*(g*s-i*o)+u*(g*l-i*f),p}},42331:function(T){T.exports=function(p){var t=new Float32Array(16);return t[0]=p[0],t[1]=p[1],t[2]=p[2],t[3]=p[3],t[4]=p[4],t[5]=p[5],t[6]=p[6],t[7]=p[7],t[8]=p[8],t[9]=p[9],t[10]=p[10],t[11]=p[11],t[12]=p[12],t[13]=p[13],t[14]=p[14],t[15]=p[15],t}},31042:function(T){T.exports=function(p,t){return p[0]=t[0],p[1]=t[1],p[2]=t[2],p[3]=t[3],p[4]=t[4],p[5]=t[5],p[6]=t[6],p[7]=t[7],p[8]=t[8],p[9]=t[9],p[10]=t[10],p[11]=t[11],p[12]=t[12],p[13]=t[13],p[14]=t[14],p[15]=t[15],p}},11902:function(T){T.exports=function(){var p=new Float32Array(16);return p[0]=1,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=1,p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=1,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},89887:function(T){T.exports=function(p){var t=p[0],d=p[1],g=p[2],i=p[3],M=p[4],v=p[5],f=p[6],l=p[7],a=p[8],u=p[9],o=p[10],s=p[11],c=p[12],h=p[13],m=p[14],w=p[15];return(t*v-d*M)*(o*w-s*m)-(t*f-g*M)*(u*w-s*h)+(t*l-i*M)*(u*m-o*h)+(d*f-g*v)*(a*w-s*c)-(d*l-i*v)*(a*m-o*c)+(g*l-i*f)*(a*h-u*c)}},27812:function(T){T.exports=function(p,t){var d=t[0],g=t[1],i=t[2],M=t[3],v=d+d,f=g+g,l=i+i,a=d*v,u=g*v,o=g*f,s=i*v,c=i*f,h=i*l,m=M*v,w=M*f,y=M*l;return p[0]=1-o-h,p[1]=u+y,p[2]=s-w,p[3]=0,p[4]=u-y,p[5]=1-a-h,p[6]=c+m,p[7]=0,p[8]=s+w,p[9]=c-m,p[10]=1-a-o,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},34045:function(T){T.exports=function(p,t,d){var g,i,M,v=d[0],f=d[1],l=d[2],a=Math.sqrt(v*v+f*f+l*l);return Math.abs(a)<1e-6?null:(v*=a=1/a,f*=a,l*=a,g=Math.sin(t),M=1-(i=Math.cos(t)),p[0]=v*v*M+i,p[1]=f*v*M+l*g,p[2]=l*v*M-f*g,p[3]=0,p[4]=v*f*M-l*g,p[5]=f*f*M+i,p[6]=l*f*M+v*g,p[7]=0,p[8]=v*l*M+f*g,p[9]=f*l*M-v*g,p[10]=l*l*M+i,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p)}},45973:function(T){T.exports=function(p,t,d){var g=t[0],i=t[1],M=t[2],v=t[3],f=g+g,l=i+i,a=M+M,u=g*f,o=g*l,s=g*a,c=i*l,h=i*a,m=M*a,w=v*f,y=v*l,S=v*a;return p[0]=1-(c+m),p[1]=o+S,p[2]=s-y,p[3]=0,p[4]=o-S,p[5]=1-(u+m),p[6]=h+w,p[7]=0,p[8]=s+y,p[9]=h-w,p[10]=1-(u+c),p[11]=0,p[12]=d[0],p[13]=d[1],p[14]=d[2],p[15]=1,p}},81472:function(T){T.exports=function(p,t){return p[0]=t[0],p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=t[1],p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=t[2],p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},14669:function(T){T.exports=function(p,t){return p[0]=1,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=1,p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=1,p[11]=0,p[12]=t[0],p[13]=t[1],p[14]=t[2],p[15]=1,p}},75262:function(T){T.exports=function(p,t){var d=Math.sin(t),g=Math.cos(t);return p[0]=1,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=g,p[6]=d,p[7]=0,p[8]=0,p[9]=-d,p[10]=g,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},331:function(T){T.exports=function(p,t){var d=Math.sin(t),g=Math.cos(t);return p[0]=g,p[1]=0,p[2]=-d,p[3]=0,p[4]=0,p[5]=1,p[6]=0,p[7]=0,p[8]=d,p[9]=0,p[10]=g,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},11049:function(T){T.exports=function(p,t){var d=Math.sin(t),g=Math.cos(t);return p[0]=g,p[1]=d,p[2]=0,p[3]=0,p[4]=-d,p[5]=g,p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=1,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},75195:function(T){T.exports=function(p,t,d,g,i,M,v){var f=1/(d-t),l=1/(i-g),a=1/(M-v);return p[0]=2*M*f,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=2*M*l,p[6]=0,p[7]=0,p[8]=(d+t)*f,p[9]=(i+g)*l,p[10]=(v+M)*a,p[11]=-1,p[12]=0,p[13]=0,p[14]=v*M*2*a,p[15]=0,p}},71551:function(T){T.exports=function(p){return p[0]=1,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=1,p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=1,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},79576:function(T,p,t){T.exports={create:t(11902),clone:t(42331),copy:t(31042),identity:t(71551),transpose:t(88654),invert:t(95874),adjoint:t(85400),determinant:t(89887),multiply:t(91362),translate:t(31283),scale:t(10789),rotate:t(65074),rotateX:t(35545),rotateY:t(94918),rotateZ:t(15692),fromRotation:t(34045),fromRotationTranslation:t(45973),fromScaling:t(81472),fromTranslation:t(14669),fromXRotation:t(75262),fromYRotation:t(331),fromZRotation:t(11049),fromQuat:t(27812),frustum:t(75195),perspective:t(7864),perspectiveFromFieldOfView:t(35279),ortho:t(60378),lookAt:t(65551),str:t(6726)}},95874:function(T){T.exports=function(p,t){var d=t[0],g=t[1],i=t[2],M=t[3],v=t[4],f=t[5],l=t[6],a=t[7],u=t[8],o=t[9],s=t[10],c=t[11],h=t[12],m=t[13],w=t[14],y=t[15],S=d*f-g*v,_=d*l-i*v,k=d*a-M*v,E=g*l-i*f,x=g*a-M*f,A=i*a-M*l,L=u*m-o*h,b=u*w-s*h,R=u*y-c*h,I=o*w-s*m,O=o*y-c*m,z=s*y-c*w,F=S*z-_*O+k*I+E*R-x*b+A*L;return F?(F=1/F,p[0]=(f*z-l*O+a*I)*F,p[1]=(i*O-g*z-M*I)*F,p[2]=(m*A-w*x+y*E)*F,p[3]=(s*x-o*A-c*E)*F,p[4]=(l*R-v*z-a*b)*F,p[5]=(d*z-i*R+M*b)*F,p[6]=(w*k-h*A-y*_)*F,p[7]=(u*A-s*k+c*_)*F,p[8]=(v*O-f*R+a*L)*F,p[9]=(g*R-d*O-M*L)*F,p[10]=(h*x-m*k+y*S)*F,p[11]=(o*k-u*x-c*S)*F,p[12]=(f*b-v*I-l*L)*F,p[13]=(d*I-g*b+i*L)*F,p[14]=(m*_-h*E-w*S)*F,p[15]=(u*E-o*_+s*S)*F,p):null}},65551:function(T,p,t){var d=t(71551);T.exports=function(g,i,M,v){var f,l,a,u,o,s,c,h,m,w,y=i[0],S=i[1],_=i[2],k=v[0],E=v[1],x=v[2],A=M[0],L=M[1],b=M[2];return Math.abs(y-A)<1e-6&&Math.abs(S-L)<1e-6&&Math.abs(_-b)<1e-6?d(g):(c=y-A,h=S-L,m=_-b,f=E*(m*=w=1/Math.sqrt(c*c+h*h+m*m))-x*(h*=w),l=x*(c*=w)-k*m,a=k*h-E*c,(w=Math.sqrt(f*f+l*l+a*a))?(f*=w=1/w,l*=w,a*=w):(f=0,l=0,a=0),u=h*a-m*l,o=m*f-c*a,s=c*l-h*f,(w=Math.sqrt(u*u+o*o+s*s))?(u*=w=1/w,o*=w,s*=w):(u=0,o=0,s=0),g[0]=f,g[1]=u,g[2]=c,g[3]=0,g[4]=l,g[5]=o,g[6]=h,g[7]=0,g[8]=a,g[9]=s,g[10]=m,g[11]=0,g[12]=-(f*y+l*S+a*_),g[13]=-(u*y+o*S+s*_),g[14]=-(c*y+h*S+m*_),g[15]=1,g)}},91362:function(T){T.exports=function(p,t,d){var g=t[0],i=t[1],M=t[2],v=t[3],f=t[4],l=t[5],a=t[6],u=t[7],o=t[8],s=t[9],c=t[10],h=t[11],m=t[12],w=t[13],y=t[14],S=t[15],_=d[0],k=d[1],E=d[2],x=d[3];return p[0]=_*g+k*f+E*o+x*m,p[1]=_*i+k*l+E*s+x*w,p[2]=_*M+k*a+E*c+x*y,p[3]=_*v+k*u+E*h+x*S,_=d[4],k=d[5],E=d[6],x=d[7],p[4]=_*g+k*f+E*o+x*m,p[5]=_*i+k*l+E*s+x*w,p[6]=_*M+k*a+E*c+x*y,p[7]=_*v+k*u+E*h+x*S,_=d[8],k=d[9],E=d[10],x=d[11],p[8]=_*g+k*f+E*o+x*m,p[9]=_*i+k*l+E*s+x*w,p[10]=_*M+k*a+E*c+x*y,p[11]=_*v+k*u+E*h+x*S,_=d[12],k=d[13],E=d[14],x=d[15],p[12]=_*g+k*f+E*o+x*m,p[13]=_*i+k*l+E*s+x*w,p[14]=_*M+k*a+E*c+x*y,p[15]=_*v+k*u+E*h+x*S,p}},60378:function(T){T.exports=function(p,t,d,g,i,M,v){var f=1/(t-d),l=1/(g-i),a=1/(M-v);return p[0]=-2*f,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=-2*l,p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=2*a,p[11]=0,p[12]=(t+d)*f,p[13]=(i+g)*l,p[14]=(v+M)*a,p[15]=1,p}},7864:function(T){T.exports=function(p,t,d,g,i){var M=1/Math.tan(t/2),v=1/(g-i);return p[0]=M/d,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=M,p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=(i+g)*v,p[11]=-1,p[12]=0,p[13]=0,p[14]=2*i*g*v,p[15]=0,p}},35279:function(T){T.exports=function(p,t,d,g){var i=Math.tan(t.upDegrees*Math.PI/180),M=Math.tan(t.downDegrees*Math.PI/180),v=Math.tan(t.leftDegrees*Math.PI/180),f=Math.tan(t.rightDegrees*Math.PI/180),l=2/(v+f),a=2/(i+M);return p[0]=l,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=a,p[6]=0,p[7]=0,p[8]=-(v-f)*l*.5,p[9]=(i-M)*a*.5,p[10]=g/(d-g),p[11]=-1,p[12]=0,p[13]=0,p[14]=g*d/(d-g),p[15]=0,p}},65074:function(T){T.exports=function(p,t,d,g){var i,M,v,f,l,a,u,o,s,c,h,m,w,y,S,_,k,E,x,A,L,b,R,I,O=g[0],z=g[1],F=g[2],B=Math.sqrt(O*O+z*z+F*F);return Math.abs(B)<1e-6?null:(O*=B=1/B,z*=B,F*=B,i=Math.sin(d),v=1-(M=Math.cos(d)),f=t[0],l=t[1],a=t[2],u=t[3],o=t[4],s=t[5],c=t[6],h=t[7],m=t[8],w=t[9],y=t[10],S=t[11],_=O*O*v+M,k=z*O*v+F*i,E=F*O*v-z*i,x=O*z*v-F*i,A=z*z*v+M,L=F*z*v+O*i,b=O*F*v+z*i,R=z*F*v-O*i,I=F*F*v+M,p[0]=f*_+o*k+m*E,p[1]=l*_+s*k+w*E,p[2]=a*_+c*k+y*E,p[3]=u*_+h*k+S*E,p[4]=f*x+o*A+m*L,p[5]=l*x+s*A+w*L,p[6]=a*x+c*A+y*L,p[7]=u*x+h*A+S*L,p[8]=f*b+o*R+m*I,p[9]=l*b+s*R+w*I,p[10]=a*b+c*R+y*I,p[11]=u*b+h*R+S*I,t!==p&&(p[12]=t[12],p[13]=t[13],p[14]=t[14],p[15]=t[15]),p)}},35545:function(T){T.exports=function(p,t,d){var g=Math.sin(d),i=Math.cos(d),M=t[4],v=t[5],f=t[6],l=t[7],a=t[8],u=t[9],o=t[10],s=t[11];return t!==p&&(p[0]=t[0],p[1]=t[1],p[2]=t[2],p[3]=t[3],p[12]=t[12],p[13]=t[13],p[14]=t[14],p[15]=t[15]),p[4]=M*i+a*g,p[5]=v*i+u*g,p[6]=f*i+o*g,p[7]=l*i+s*g,p[8]=a*i-M*g,p[9]=u*i-v*g,p[10]=o*i-f*g,p[11]=s*i-l*g,p}},94918:function(T){T.exports=function(p,t,d){var g=Math.sin(d),i=Math.cos(d),M=t[0],v=t[1],f=t[2],l=t[3],a=t[8],u=t[9],o=t[10],s=t[11];return t!==p&&(p[4]=t[4],p[5]=t[5],p[6]=t[6],p[7]=t[7],p[12]=t[12],p[13]=t[13],p[14]=t[14],p[15]=t[15]),p[0]=M*i-a*g,p[1]=v*i-u*g,p[2]=f*i-o*g,p[3]=l*i-s*g,p[8]=M*g+a*i,p[9]=v*g+u*i,p[10]=f*g+o*i,p[11]=l*g+s*i,p}},15692:function(T){T.exports=function(p,t,d){var g=Math.sin(d),i=Math.cos(d),M=t[0],v=t[1],f=t[2],l=t[3],a=t[4],u=t[5],o=t[6],s=t[7];return t!==p&&(p[8]=t[8],p[9]=t[9],p[10]=t[10],p[11]=t[11],p[12]=t[12],p[13]=t[13],p[14]=t[14],p[15]=t[15]),p[0]=M*i+a*g,p[1]=v*i+u*g,p[2]=f*i+o*g,p[3]=l*i+s*g,p[4]=a*i-M*g,p[5]=u*i-v*g,p[6]=o*i-f*g,p[7]=s*i-l*g,p}},10789:function(T){T.exports=function(p,t,d){var g=d[0],i=d[1],M=d[2];return p[0]=t[0]*g,p[1]=t[1]*g,p[2]=t[2]*g,p[3]=t[3]*g,p[4]=t[4]*i,p[5]=t[5]*i,p[6]=t[6]*i,p[7]=t[7]*i,p[8]=t[8]*M,p[9]=t[9]*M,p[10]=t[10]*M,p[11]=t[11]*M,p[12]=t[12],p[13]=t[13],p[14]=t[14],p[15]=t[15],p}},6726:function(T){T.exports=function(p){return"mat4("+p[0]+", "+p[1]+", "+p[2]+", "+p[3]+", "+p[4]+", "+p[5]+", "+p[6]+", "+p[7]+", "+p[8]+", "+p[9]+", "+p[10]+", "+p[11]+", "+p[12]+", "+p[13]+", "+p[14]+", "+p[15]+")"}},31283:function(T){T.exports=function(p,t,d){var g,i,M,v,f,l,a,u,o,s,c,h,m=d[0],w=d[1],y=d[2];return t===p?(p[12]=t[0]*m+t[4]*w+t[8]*y+t[12],p[13]=t[1]*m+t[5]*w+t[9]*y+t[13],p[14]=t[2]*m+t[6]*w+t[10]*y+t[14],p[15]=t[3]*m+t[7]*w+t[11]*y+t[15]):(g=t[0],i=t[1],M=t[2],v=t[3],f=t[4],l=t[5],a=t[6],u=t[7],o=t[8],s=t[9],c=t[10],h=t[11],p[0]=g,p[1]=i,p[2]=M,p[3]=v,p[4]=f,p[5]=l,p[6]=a,p[7]=u,p[8]=o,p[9]=s,p[10]=c,p[11]=h,p[12]=g*m+f*w+o*y+t[12],p[13]=i*m+l*w+s*y+t[13],p[14]=M*m+a*w+c*y+t[14],p[15]=v*m+u*w+h*y+t[15]),p}},88654:function(T){T.exports=function(p,t){if(p===t){var d=t[1],g=t[2],i=t[3],M=t[6],v=t[7],f=t[11];p[1]=t[4],p[2]=t[8],p[3]=t[12],p[4]=d,p[6]=t[9],p[7]=t[13],p[8]=g,p[9]=M,p[11]=t[14],p[12]=i,p[13]=v,p[14]=f}else p[0]=t[0],p[1]=t[4],p[2]=t[8],p[3]=t[12],p[4]=t[1],p[5]=t[5],p[6]=t[9],p[7]=t[13],p[8]=t[2],p[9]=t[6],p[10]=t[10],p[11]=t[14],p[12]=t[3],p[13]=t[7],p[14]=t[11],p[15]=t[15];return p}},42505:function(T,p,t){var d=t(72791),g=t(71299),i=t(98580),M=t(12018),v=t(83522),f=t(25075),l=t(68016),a=t(58404),u=t(18863),o=t(10973),s=t(25677),c=t(75686),h=t(53545),m=t(56131),w=t(32879),y=t(30120),S=t(13547).nextPow2,_=new v,k=!1;if(document.body){var E=document.body.appendChild(document.createElement("div"));E.style.font="italic small-caps bold condensed 16px/2 cursive",getComputedStyle(E).fontStretch&&(k=!0),document.body.removeChild(E)}var x=function(A){(function(L){return typeof L=="function"&&L._gl&&L.prop&&L.texture&&L.buffer})(A)?(A={regl:A},this.gl=A.regl._gl):this.gl=M(A),this.shader=_.get(this.gl),this.shader?this.regl=this.shader.regl:this.regl=A.regl||i({gl:this.gl}),this.charBuffer=this.regl.buffer({type:"uint8",usage:"stream"}),this.sizeBuffer=this.regl.buffer({type:"float",usage:"stream"}),this.shader||(this.shader=this.createShader(),_.set(this.gl,this.shader)),this.batch=[],this.fontSize=[],this.font=[],this.fontAtlas=[],this.draw=this.shader.draw.bind(this),this.render=function(){this.regl._refresh(),this.draw(this.batch)},this.canvas=this.gl.canvas,this.update(o(A)?A:{})};x.prototype.createShader=function(){var A=this.regl,L=A({blend:{enable:!0,color:[0,0,0,1],func:{srcRGB:"src alpha",dstRGB:"one minus src alpha",srcAlpha:"one minus dst alpha",dstAlpha:"one"}},stencil:{enable:!1},depth:{enable:!1},count:A.prop("count"),offset:A.prop("offset"),attributes:{charOffset:{offset:4,stride:8,buffer:A.this("sizeBuffer")},width:{offset:0,stride:8,buffer:A.this("sizeBuffer")},char:A.this("charBuffer"),position:A.this("position")},uniforms:{atlasSize:function(b,R){return[R.atlas.width,R.atlas.height]},atlasDim:function(b,R){return[R.atlas.cols,R.atlas.rows]},atlas:function(b,R){return R.atlas.texture},charStep:function(b,R){return R.atlas.step},em:function(b,R){return R.atlas.em},color:A.prop("color"),opacity:A.prop("opacity"),viewport:A.this("viewportArray"),scale:A.this("scale"),align:A.prop("align"),baseline:A.prop("baseline"),translate:A.this("translate"),positionOffset:A.prop("positionOffset")},primitive:"points",viewport:A.this("viewport"),vert:` +`):H=" ".concat(B," ").concat(H)),z=M(this,o(b).call(this,"".concat(q).concat(H)))}return Error.stackTraceLimit=$,z.generatedMessage=!F,Object.defineProperty(v(z),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),z.code="ERR_ASSERTION",z.actual=W,z.expected=j,z.operator=B,Error.captureStackTrace&&Error.captureStackTrace(v(z),N),z.stack,z.name="AssertionError",M(z)}var R,I;return function(O,z){if(typeof z!="function"&&z!==null)throw new TypeError("Super expression must either be null or a function");O.prototype=Object.create(z&&z.prototype,{constructor:{value:O,writable:!0,configurable:!0}}),z&&u(O,z)}(b,L),R=b,I=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:h.custom,value:function(O,z){return h(this,function(F){for(var B=1;B2?"one of ".concat(o," ").concat(u.slice(0,s-1).join(", "),", or ")+u[s-1]:s===2?"one of ".concat(o," ").concat(u[0]," or ").concat(u[1]):"of ".concat(o," ").concat(u[0])}return"of ".concat(o," ").concat(String(u))}l("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),l("ERR_INVALID_ARG_TYPE",function(u,o,s){var h,c,m,w,y;if(M===void 0&&(M=t(32791)),M(typeof u=="string","'name' must be a string"),typeof o=="string"&&(c="not ",o.substr(0,c.length)===c)?(h="must not be",o=o.replace(/^not /,"")):h="must be",function(_,k,E){return(E===void 0||E>_.length)&&(E=_.length),_.substring(E-k.length,E)===k}(u," argument"))m="The ".concat(u," ").concat(h," ").concat(a(o,"type"));else{var C=(typeof y!="number"&&(y=0),y+1>(w=u).length||w.indexOf(".",y)===-1?"argument":"property");m='The "'.concat(u,'" ').concat(C," ").concat(h," ").concat(a(o,"type"))}return m+". Received type ".concat(d(s))},TypeError),l("ERR_INVALID_ARG_VALUE",function(u,o){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";v===void 0&&(v=t(43827));var h=v.inspect(o);return h.length>128&&(h="".concat(h.slice(0,128),"...")),"The argument '".concat(u,"' ").concat(s,". Received ").concat(h)},TypeError),l("ERR_INVALID_RETURN_VALUE",function(u,o,s){var h;return h=s&&s.constructor&&s.constructor.name?"instance of ".concat(s.constructor.name):"type ".concat(d(s)),"Expected ".concat(u,' to be returned from the "').concat(o,'"')+" function but got ".concat(h,".")},TypeError),l("ERR_MISSING_ARGS",function(){for(var u=arguments.length,o=new Array(u),s=0;s0,"At least one arg needs to be specified");var h="The ",c=o.length;switch(o=o.map(function(m){return'"'.concat(m,'"')}),c){case 1:h+="".concat(o[0]," argument");break;case 2:h+="".concat(o[0]," and ").concat(o[1]," arguments");break;default:h+=o.slice(0,c-1).join(", "),h+=", and ".concat(o[c-1]," arguments")}return"".concat(h," must be specified")},TypeError),T.exports.codes=f},74061:function(T,p,t){function d(Z,X){return function(Q){if(Array.isArray(Q))return Q}(Z)||function(Q,re){var ie=[],oe=!0,ue=!1,ce=void 0;try{for(var ye,de=Q[Symbol.iterator]();!(oe=(ye=de.next()).done)&&(ie.push(ye.value),!re||ie.length!==re);oe=!0);}catch(me){ue=!0,ce=me}finally{try{oe||de.return==null||de.return()}finally{if(ue)throw ce}}return ie}(Z,X)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function g(Z){return g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(X){return typeof X}:function(X){return X&&typeof Symbol=="function"&&X.constructor===Symbol&&X!==Symbol.prototype?"symbol":typeof X},g(Z)}var i=/a/g.flags!==void 0,M=function(Z){var X=[];return Z.forEach(function(Q){return X.push(Q)}),X},v=function(Z){var X=[];return Z.forEach(function(Q,re){return X.push([re,Q])}),X},f=Object.is?Object.is:t(64003),l=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},a=Number.isNaN?Number.isNaN:t(15567);function u(Z){return Z.call.bind(Z)}var o=u(Object.prototype.hasOwnProperty),s=u(Object.prototype.propertyIsEnumerable),h=u(Object.prototype.toString),c=t(43827).types,m=c.isAnyArrayBuffer,w=c.isArrayBufferView,y=c.isDate,C=c.isMap,_=c.isRegExp,k=c.isSet,E=c.isNativeError,x=c.isBoxedPrimitive,A=c.isNumberObject,L=c.isStringObject,b=c.isBooleanObject,R=c.isBigIntObject,I=c.isSymbolObject,O=c.isFloat32Array,z=c.isFloat64Array;function F(Z){if(Z.length===0||Z.length>10)return!0;for(var X=0;X57)return!0}return Z.length===10&&Z>=Math.pow(2,32)}function B(Z){return Object.keys(Z).filter(F).concat(l(Z).filter(Object.prototype.propertyIsEnumerable.bind(Z)))}function N(Z,X){if(Z===X)return 0;for(var Q=Z.length,re=X.length,ie=0,oe=Math.min(Q,re);ie0?h-4:h;for(o=0;o>16&255,m[w++]=u>>8&255,m[w++]=255&u;return c===2&&(u=d[a.charCodeAt(o)]<<2|d[a.charCodeAt(o+1)]>>4,m[w++]=255&u),c===1&&(u=d[a.charCodeAt(o)]<<10|d[a.charCodeAt(o+1)]<<4|d[a.charCodeAt(o+2)]>>2,m[w++]=u>>8&255,m[w++]=255&u),m},p.fromByteArray=function(a){for(var u,o=a.length,s=o%3,h=[],c=16383,m=0,w=o-s;mw?w:m+c));return s===1?(u=a[o-1],h.push(t[u>>2]+t[u<<4&63]+"==")):s===2&&(u=(a[o-2]<<8)+a[o-1],h.push(t[u>>10]+t[u>>4&63]+t[u<<2&63]+"=")),h.join("")};for(var t=[],d=[],g=typeof Uint8Array<"u"?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",M=0,v=i.length;M0)throw new Error("Invalid string. Length must be a multiple of 4");var o=a.indexOf("=");return o===-1&&(o=u),[o,o===u?0:4-o%4]}function l(a,u,o){for(var s,h,c=[],m=u;m>18&63]+t[h>>12&63]+t[h>>6&63]+t[63&h]);return c.join("")}d["-".charCodeAt(0)]=62,d["_".charCodeAt(0)]=63},91358:function(T){function p(v,f,l,a,u){for(var o=u+1;a<=u;){var s=a+u>>>1,h=v[s];(l!==void 0?l(h,f):h-f)>=0?(o=s,u=s-1):a=s+1}return o}function t(v,f,l,a,u){for(var o=u+1;a<=u;){var s=a+u>>>1,h=v[s];(l!==void 0?l(h,f):h-f)>0?(o=s,u=s-1):a=s+1}return o}function d(v,f,l,a,u){for(var o=a-1;a<=u;){var s=a+u>>>1,h=v[s];(l!==void 0?l(h,f):h-f)<0?(o=s,a=s+1):u=s-1}return o}function g(v,f,l,a,u){for(var o=a-1;a<=u;){var s=a+u>>>1,h=v[s];(l!==void 0?l(h,f):h-f)<=0?(o=s,a=s+1):u=s-1}return o}function i(v,f,l,a,u){for(;a<=u;){var o=a+u>>>1,s=v[o],h=l!==void 0?l(s,f):s-f;if(h===0)return o;h<=0?a=o+1:u=o-1}return-1}function M(v,f,l,a,u,o){return typeof l=="function"?o(v,f,l,a===void 0?0:0|a,u===void 0?v.length-1:0|u):o(v,f,void 0,l===void 0?0:0|l,a===void 0?v.length-1:0|a)}T.exports={ge:function(v,f,l,a,u){return M(v,f,l,a,u,p)},gt:function(v,f,l,a,u){return M(v,f,l,a,u,t)},lt:function(v,f,l,a,u){return M(v,f,l,a,u,d)},le:function(v,f,l,a,u){return M(v,f,l,a,u,g)},eq:function(v,f,l,a,u){return M(v,f,l,a,u,i)}}},13547:function(T,p){function t(g){var i=32;return(g&=-g)&&i--,65535&g&&(i-=16),16711935&g&&(i-=8),252645135&g&&(i-=4),858993459&g&&(i-=2),1431655765&g&&(i-=1),i}p.INT_BITS=32,p.INT_MAX=2147483647,p.INT_MIN=-2147483648,p.sign=function(g){return(g>0)-(g<0)},p.abs=function(g){var i=g>>31;return(g^i)-i},p.min=function(g,i){return i^(g^i)&-(g65535)<<4,i|=M=((g>>>=i)>255)<<3,i|=M=((g>>>=M)>15)<<2,(i|=M=((g>>>=M)>3)<<1)|(g>>>=M)>>1},p.log10=function(g){return g>=1e9?9:g>=1e8?8:g>=1e7?7:g>=1e6?6:g>=1e5?5:g>=1e4?4:g>=1e3?3:g>=100?2:g>=10?1:0},p.popCount=function(g){return 16843009*((g=(858993459&(g-=g>>>1&1431655765))+(g>>>2&858993459))+(g>>>4)&252645135)>>>24},p.countTrailingZeros=t,p.nextPow2=function(g){return g+=g===0,--g,g|=g>>>1,g|=g>>>2,g|=g>>>4,g|=g>>>8,1+(g|=g>>>16)},p.prevPow2=function(g){return g|=g>>>1,g|=g>>>2,g|=g>>>4,g|=g>>>8,(g|=g>>>16)-(g>>>1)},p.parity=function(g){return g^=g>>>16,g^=g>>>8,g^=g>>>4,27030>>>(g&=15)&1};var d=new Array(256);(function(g){for(var i=0;i<256;++i){var M=i,v=i,f=7;for(M>>>=1;M;M>>>=1)v<<=1,v|=1&M,--f;g[i]=v<>>8&255]<<16|d[g>>>16&255]<<8|d[g>>>24&255]},p.interleave2=function(g,i){return(g=1431655765&((g=858993459&((g=252645135&((g=16711935&((g&=65535)|g<<8))|g<<4))|g<<2))|g<<1))|(i=1431655765&((i=858993459&((i=252645135&((i=16711935&((i&=65535)|i<<8))|i<<4))|i<<2))|i<<1))<<1},p.deinterleave2=function(g,i){return(g=65535&((g=16711935&((g=252645135&((g=858993459&((g=g>>>i&1431655765)|g>>>1))|g>>>2))|g>>>4))|g>>>16))<<16>>16},p.interleave3=function(g,i,M){return g=1227133513&((g=3272356035&((g=251719695&((g=4278190335&((g&=1023)|g<<16))|g<<8))|g<<4))|g<<2),(g|=(i=1227133513&((i=3272356035&((i=251719695&((i=4278190335&((i&=1023)|i<<16))|i<<8))|i<<4))|i<<2))<<1)|(M=1227133513&((M=3272356035&((M=251719695&((M=4278190335&((M&=1023)|M<<16))|M<<8))|M<<4))|M<<2))<<2},p.deinterleave3=function(g,i){return(g=1023&((g=4278190335&((g=251719695&((g=3272356035&((g=g>>>i&1227133513)|g>>>2))|g>>>4))|g>>>8))|g>>>16))<<22>>22},p.nextCombination=function(g){var i=g|g-1;return i+1|(~i&-~i)-1>>>t(g)+1}},44781:function(T,p,t){var d=t(53435);T.exports=function(v,f){f||(f={});var l,a,u,o,s,h,c,m,w,y,C,_=f.cutoff==null?.25:f.cutoff,k=f.radius==null?8:f.radius,E=f.channel||0;if(ArrayBuffer.isView(v)||Array.isArray(v)){if(!f.width||!f.height)throw Error("For raw data width and height should be provided by options");l=f.width,a=f.height,o=v,h=f.stride?f.stride:Math.floor(v.length/l/a)}else window.HTMLCanvasElement&&v instanceof window.HTMLCanvasElement?(c=(m=v).getContext("2d"),l=m.width,a=m.height,o=(w=c.getImageData(0,0,l,a)).data,h=4):window.CanvasRenderingContext2D&&v instanceof window.CanvasRenderingContext2D?(c=v,l=(m=v.canvas).width,a=m.height,o=(w=c.getImageData(0,0,l,a)).data,h=4):window.ImageData&&v instanceof window.ImageData&&(w=v,l=v.width,a=v.height,o=w.data,h=4);if(u=Math.max(l,a),window.Uint8ClampedArray&&o instanceof window.Uint8ClampedArray||window.Uint8Array&&o instanceof window.Uint8Array)for(s=o,o=Array(l*a),y=0,C=s.length;y-1?g(f):f}},68222:function(T,p,t){var d=t(77575),g=t(68318),i=g("%Function.prototype.apply%"),M=g("%Function.prototype.call%"),v=g("%Reflect.apply%",!0)||d.call(M,i),f=g("%Object.getOwnPropertyDescriptor%",!0),l=g("%Object.defineProperty%",!0),a=g("%Math.max%");if(l)try{l({},"a",{value:1})}catch{l=null}T.exports=function(o){var s=v(d,M,arguments);if(f&&l){var h=f(s,"length");h.configurable&&l(s,"length",{value:1+a(0,o.length-(arguments.length-1))})}return s};var u=function(){return v(d,i,arguments)};l?l(T.exports,"apply",{value:u}):T.exports.apply=u},53435:function(T){T.exports=function(p,t,d){return td?d:p:pt?t:p}},6475:function(T,p,t){var d=t(53435);function g(i,M){M==null&&(M=!0);var v=i[0],f=i[1],l=i[2],a=i[3];return a==null&&(a=M?1:255),M&&(v*=255,f*=255,l*=255,a*=255),16777216*(v=255&d(v,0,255))+((f=255&d(f,0,255))<<16)+((l=255&d(l,0,255))<<8)+(255&d(a,0,255))}T.exports=g,T.exports.to=g,T.exports.from=function(i,M){var v=(i=+i)>>>24,f=(16711680&i)>>>16,l=(65280&i)>>>8,a=255&i;return M===!1?[v,f,l,a]:[v/255,f/255,l/255,a/255]}},76857:function(T){T.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},25075:function(T,p,t){var d=t(36652),g=t(53435),i=t(90660);T.exports=function(M,v){v!=="float"&&v||(v="array"),v==="uint"&&(v="uint8"),v==="uint_clamped"&&(v="uint8_clamped");var f=new(i(v))(4),l=v!=="uint8"&&v!=="uint8_clamped";return M.length&&typeof M!="string"||((M=d(M))[0]/=255,M[1]/=255,M[2]/=255),function(a){return a instanceof Uint8Array||a instanceof Uint8ClampedArray||!!(Array.isArray(a)&&(a[0]>1||a[0]===0)&&(a[1]>1||a[1]===0)&&(a[2]>1||a[2]===0)&&(!a[3]||a[3]>1))}(M)?(f[0]=M[0],f[1]=M[1],f[2]=M[2],f[3]=M[3]!=null?M[3]:255,l&&(f[0]/=255,f[1]/=255,f[2]/=255,f[3]/=255),f):(l?(f[0]=M[0],f[1]=M[1],f[2]=M[2],f[3]=M[3]!=null?M[3]:1):(f[0]=g(Math.floor(255*M[0]),0,255),f[1]=g(Math.floor(255*M[1]),0,255),f[2]=g(Math.floor(255*M[2]),0,255),f[3]=M[3]==null?255:g(Math.floor(255*M[3]),0,255)),f)}},90736:function(T,p,t){var d=t(76857),g=t(10973),i=t(46775);T.exports=function(v){var f,l,a=[],u=1;if(typeof v=="string")if(d[v])a=d[v].slice(),l="rgb";else if(v==="transparent")u=0,l="rgb",a=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(v)){var o=(c=v.slice(1)).length;u=1,o<=4?(a=[parseInt(c[0]+c[0],16),parseInt(c[1]+c[1],16),parseInt(c[2]+c[2],16)],o===4&&(u=parseInt(c[3]+c[3],16)/255)):(a=[parseInt(c[0]+c[1],16),parseInt(c[2]+c[3],16),parseInt(c[4]+c[5],16)],o===8&&(u=parseInt(c[6]+c[7],16)/255)),a[0]||(a[0]=0),a[1]||(a[1]=0),a[2]||(a[2]=0),l="rgb"}else if(f=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(v)){var s=f[1],h=s==="rgb",c=s.replace(/a$/,"");l=c,o=c==="cmyk"?4:c==="gray"?1:3,a=f[2].trim().split(/\s*,\s*/).map(function(w,y){if(/%$/.test(w))return y===o?parseFloat(w)/100:c==="rgb"?255*parseFloat(w)/100:parseFloat(w);if(c[y]==="h"){if(/deg$/.test(w))return parseFloat(w);if(M[w]!==void 0)return M[w]}return parseFloat(w)}),s===c&&a.push(1),u=h||a[o]===void 0?1:a[o],a=a.slice(0,o)}else v.length>10&&/[0-9](?:\s|\/)/.test(v)&&(a=v.match(/([0-9]+)/g).map(function(w){return parseFloat(w)}),l=v.match(/([a-z])/gi).join("").toLowerCase());else if(isNaN(v))if(g(v)){var m=i(v.r,v.red,v.R,null);m!==null?(l="rgb",a=[m,i(v.g,v.green,v.G),i(v.b,v.blue,v.B)]):(l="hsl",a=[i(v.h,v.hue,v.H),i(v.s,v.saturation,v.S),i(v.l,v.lightness,v.L,v.b,v.brightness)]),u=i(v.a,v.alpha,v.opacity,1),v.opacity!=null&&(u/=100)}else(Array.isArray(v)||t.g.ArrayBuffer&&ArrayBuffer.isView&&ArrayBuffer.isView(v))&&(a=[v[0],v[1],v[2]],l="rgb",u=v.length===4?v[3]:1);else l="rgb",a=[v>>>16,(65280&v)>>>8,255&v];return{space:l,values:a,alpha:u}};var M={red:0,orange:60,yellow:120,green:180,blue:240,purple:300}},36652:function(T,p,t){var d=t(90736),g=t(80009),i=t(53435);T.exports=function(M){var v,f=d(M);return f.space?((v=Array(3))[0]=i(f.values[0],0,255),v[1]=i(f.values[1],0,255),v[2]=i(f.values[2],0,255),f.space[0]==="h"&&(v=g.rgb(v)),v.push(i(f.alpha,0,1)),v):[]}},80009:function(T,p,t){var d=t(6866);T.exports={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(g){var i,M,v,f,l,a=g[0]/360,u=g[1]/100,o=g[2]/100;if(u===0)return[l=255*o,l,l];i=2*o-(M=o<.5?o*(1+u):o+u-o*u),f=[0,0,0];for(var s=0;s<3;s++)(v=a+.3333333333333333*-(s-1))<0?v++:v>1&&v--,l=6*v<1?i+6*(M-i)*v:2*v<1?M:3*v<2?i+(M-i)*(.6666666666666666-v)*6:i,f[s]=255*l;return f}},d.hsl=function(g){var i,M,v=g[0]/255,f=g[1]/255,l=g[2]/255,a=Math.min(v,f,l),u=Math.max(v,f,l),o=u-a;return u===a?i=0:v===u?i=(f-l)/o:f===u?i=2+(l-v)/o:l===u&&(i=4+(v-f)/o),(i=Math.min(60*i,360))<0&&(i+=360),M=(a+u)/2,[i,100*(u===a?0:M<=.5?o/(u+a):o/(2-u-a)),100*M]}},6866:function(T){T.exports={name:"rgb",min:[0,0,0],max:[255,255,255],channel:["red","green","blue"],alias:["RGB"]}},24138:function(T){T.exports={AFG:"afghan",ALA:"\\b\\wland",ALB:"albania",DZA:"algeria",ASM:"^(?=.*americ).*samoa",AND:"andorra",AGO:"angola",AIA:"anguill?a",ATA:"antarctica",ATG:"antigua",ARG:"argentin",ARM:"armenia",ABW:"^(?!.*bonaire).*\\baruba",AUS:"australia",AUT:"^(?!.*hungary).*austria|\\baustri.*\\bemp",AZE:"azerbaijan",BHS:"bahamas",BHR:"bahrain",BGD:"bangladesh|^(?=.*east).*paki?stan",BRB:"barbados",BLR:"belarus|byelo",BEL:"^(?!.*luxem).*belgium",BLZ:"belize|^(?=.*british).*honduras",BEN:"benin|dahome",BMU:"bermuda",BTN:"bhutan",BOL:"bolivia",BES:"^(?=.*bonaire).*eustatius|^(?=.*carib).*netherlands|\\bbes.?islands",BIH:"herzegovina|bosnia",BWA:"botswana|bechuana",BVT:"bouvet",BRA:"brazil",IOT:"british.?indian.?ocean",BRN:"brunei",BGR:"bulgaria",BFA:"burkina|\\bfaso|upper.?volta",BDI:"burundi",CPV:"verde",KHM:"cambodia|kampuchea|khmer",CMR:"cameroon",CAN:"canada",CYM:"cayman",CAF:"\\bcentral.african.republic",TCD:"\\bchad",CHL:"\\bchile",CHN:"^(?!.*\\bmac)(?!.*\\bhong)(?!.*\\btai)(?!.*\\brep).*china|^(?=.*peo)(?=.*rep).*china",CXR:"christmas",CCK:"\\bcocos|keeling",COL:"colombia",COM:"comoro",COG:"^(?!.*\\bdem)(?!.*\\bd[\\.]?r)(?!.*kinshasa)(?!.*zaire)(?!.*belg)(?!.*l.opoldville)(?!.*free).*\\bcongo",COK:"\\bcook",CRI:"costa.?rica",CIV:"ivoire|ivory",HRV:"croatia",CUB:"\\bcuba",CUW:"^(?!.*bonaire).*\\bcura(c|ç)ao",CYP:"cyprus",CSK:"czechoslovakia",CZE:"^(?=.*rep).*czech|czechia|bohemia",COD:"\\bdem.*congo|congo.*\\bdem|congo.*\\bd[\\.]?r|\\bd[\\.]?r.*congo|belgian.?congo|congo.?free.?state|kinshasa|zaire|l.opoldville|drc|droc|rdc",DNK:"denmark",DJI:"djibouti",DMA:"dominica(?!n)",DOM:"dominican.rep",ECU:"ecuador",EGY:"egypt",SLV:"el.?salvador",GNQ:"guine.*eq|eq.*guine|^(?=.*span).*guinea",ERI:"eritrea",EST:"estonia",ETH:"ethiopia|abyssinia",FLK:"falkland|malvinas",FRO:"faroe|faeroe",FJI:"fiji",FIN:"finland",FRA:"^(?!.*\\bdep)(?!.*martinique).*france|french.?republic|\\bgaul",GUF:"^(?=.*french).*guiana",PYF:"french.?polynesia|tahiti",ATF:"french.?southern",GAB:"gabon",GMB:"gambia",GEO:"^(?!.*south).*georgia",DDR:"german.?democratic.?republic|democratic.?republic.*germany|east.germany",DEU:"^(?!.*east).*germany|^(?=.*\\bfed.*\\brep).*german",GHA:"ghana|gold.?coast",GIB:"gibraltar",GRC:"greece|hellenic|hellas",GRL:"greenland",GRD:"grenada",GLP:"guadeloupe",GUM:"\\bguam",GTM:"guatemala",GGY:"guernsey",GIN:"^(?!.*eq)(?!.*span)(?!.*bissau)(?!.*portu)(?!.*new).*guinea",GNB:"bissau|^(?=.*portu).*guinea",GUY:"guyana|british.?guiana",HTI:"haiti",HMD:"heard.*mcdonald",VAT:"holy.?see|vatican|papal.?st",HND:"^(?!.*brit).*honduras",HKG:"hong.?kong",HUN:"^(?!.*austr).*hungary",ISL:"iceland",IND:"india(?!.*ocea)",IDN:"indonesia",IRN:"\\biran|persia",IRQ:"\\biraq|mesopotamia",IRL:"(^ireland)|(^republic.*ireland)",IMN:"^(?=.*isle).*\\bman",ISR:"israel",ITA:"italy",JAM:"jamaica",JPN:"japan",JEY:"jersey",JOR:"jordan",KAZ:"kazak",KEN:"kenya|british.?east.?africa|east.?africa.?prot",KIR:"kiribati",PRK:"^(?=.*democrat|people|north|d.*p.*.r).*\\bkorea|dprk|korea.*(d.*p.*r)",KWT:"kuwait",KGZ:"kyrgyz|kirghiz",LAO:"\\blaos?\\b",LVA:"latvia",LBN:"lebanon",LSO:"lesotho|basuto",LBR:"liberia",LBY:"libya",LIE:"liechtenstein",LTU:"lithuania",LUX:"^(?!.*belg).*luxem",MAC:"maca(o|u)",MDG:"madagascar|malagasy",MWI:"malawi|nyasa",MYS:"malaysia",MDV:"maldive",MLI:"\\bmali\\b",MLT:"\\bmalta",MHL:"marshall",MTQ:"martinique",MRT:"mauritania",MUS:"mauritius",MYT:"\\bmayotte",MEX:"\\bmexic",FSM:"fed.*micronesia|micronesia.*fed",MCO:"monaco",MNG:"mongolia",MNE:"^(?!.*serbia).*montenegro",MSR:"montserrat",MAR:"morocco|\\bmaroc",MOZ:"mozambique",MMR:"myanmar|burma",NAM:"namibia",NRU:"nauru",NPL:"nepal",NLD:"^(?!.*\\bant)(?!.*\\bcarib).*netherlands",ANT:"^(?=.*\\bant).*(nether|dutch)",NCL:"new.?caledonia",NZL:"new.?zealand",NIC:"nicaragua",NER:"\\bniger(?!ia)",NGA:"nigeria",NIU:"niue",NFK:"norfolk",MNP:"mariana",NOR:"norway",OMN:"\\boman|trucial",PAK:"^(?!.*east).*paki?stan",PLW:"palau",PSE:"palestin|\\bgaza|west.?bank",PAN:"panama",PNG:"papua|new.?guinea",PRY:"paraguay",PER:"peru",PHL:"philippines",PCN:"pitcairn",POL:"poland",PRT:"portugal",PRI:"puerto.?rico",QAT:"qatar",KOR:"^(?!.*d.*p.*r)(?!.*democrat)(?!.*people)(?!.*north).*\\bkorea(?!.*d.*p.*r)",MDA:"moldov|b(a|e)ssarabia",REU:"r(e|é)union",ROU:"r(o|u|ou)mania",RUS:"\\brussia|soviet.?union|u\\.?s\\.?s\\.?r|socialist.?republics",RWA:"rwanda",BLM:"barth(e|é)lemy",SHN:"helena",KNA:"kitts|\\bnevis",LCA:"\\blucia",MAF:"^(?=.*collectivity).*martin|^(?=.*france).*martin(?!ique)|^(?=.*french).*martin(?!ique)",SPM:"miquelon",VCT:"vincent",WSM:"^(?!.*amer).*samoa",SMR:"san.?marino",STP:"\\bs(a|ã)o.?tom(e|é)",SAU:"\\bsa\\w*.?arabia",SEN:"senegal",SRB:"^(?!.*monte).*serbia",SYC:"seychell",SLE:"sierra",SGP:"singapore",SXM:"^(?!.*martin)(?!.*saba).*maarten",SVK:"^(?!.*cze).*slovak",SVN:"slovenia",SLB:"solomon",SOM:"somali",ZAF:"south.africa|s\\\\..?africa",SGS:"south.?georgia|sandwich",SSD:"\\bs\\w*.?sudan",ESP:"spain",LKA:"sri.?lanka|ceylon",SDN:"^(?!.*\\bs(?!u)).*sudan",SUR:"surinam|dutch.?guiana",SJM:"svalbard",SWZ:"swaziland",SWE:"sweden",CHE:"switz|swiss",SYR:"syria",TWN:"taiwan|taipei|formosa|^(?!.*peo)(?=.*rep).*china",TJK:"tajik",THA:"thailand|\\bsiam",MKD:"macedonia|fyrom",TLS:"^(?=.*leste).*timor|^(?=.*east).*timor",TGO:"togo",TKL:"tokelau",TON:"tonga",TTO:"trinidad|tobago",TUN:"tunisia",TUR:"turkey",TKM:"turkmen",TCA:"turks",TUV:"tuvalu",UGA:"uganda",UKR:"ukrain",ARE:"emirates|^u\\.?a\\.?e\\.?$|united.?arab.?em",GBR:"united.?kingdom|britain|^u\\.?k\\.?$",TZA:"tanzania",USA:"united.?states\\b(?!.*islands)|\\bu\\.?s\\.?a\\.?\\b|^\\s*u\\.?s\\.?\\b(?!.*islands)",UMI:"minor.?outlying.?is",URY:"uruguay",UZB:"uzbek",VUT:"vanuatu|new.?hebrides",VEN:"venezuela",VNM:"^(?!.*republic).*viet.?nam|^(?=.*socialist).*viet.?nam",VGB:"^(?=.*\\bu\\.?\\s?k).*virgin|^(?=.*brit).*virgin|^(?=.*kingdom).*virgin",VIR:"^(?=.*\\bu\\.?\\s?s).*virgin|^(?=.*states).*virgin",WLF:"futuna|wallis",ESH:"western.sahara",YEM:"^(?!.*arab)(?!.*north)(?!.*sana)(?!.*peo)(?!.*dem)(?!.*south)(?!.*aden)(?!.*\\bp\\.?d\\.?r).*yemen",YMD:"^(?=.*peo).*yemen|^(?!.*rep)(?=.*dem).*yemen|^(?=.*south).*yemen|^(?=.*aden).*yemen|^(?=.*\\bp\\.?d\\.?r).*yemen",YUG:"yugoslavia",ZMB:"zambia|northern.?rhodesia",EAZ:"zanzibar",ZWE:"zimbabwe|^(?!.*northern).*rhodesia"}},72791:function(T,p,t){T.exports={parse:t(41004),stringify:t(53313)}},63625:function(T,p,t){var d=t(40402);T.exports={isSize:function(g){return/^[\d\.]/.test(g)||g.indexOf("/")!==-1||d.indexOf(g)!==-1}}},41004:function(T,p,t){var d=t(90448),g=t(38732),i=t(41901),M=t(15659),v=t(96209),f=t(83794),l=t(99011),a=t(63625).isSize;T.exports=o;var u=o.cache={};function o(h){if(typeof h!="string")throw new Error("Font argument must be a string.");if(u[h])return u[h];if(h==="")throw new Error("Cannot parse an empty string.");if(i.indexOf(h)!==-1)return u[h]={system:h};for(var c,m={style:"normal",variant:"normal",weight:"normal",stretch:"normal",lineHeight:"normal",size:"1rem",family:["serif"]},w=l(h,/\s+/);c=w.shift();){if(g.indexOf(c)!==-1)return["style","variant","weight","stretch"].forEach(function(C){m[C]=c}),u[h]=m;if(v.indexOf(c)===-1)if(c!=="normal"&&c!=="small-caps")if(f.indexOf(c)===-1){if(M.indexOf(c)===-1){if(a(c)){var y=l(c,"/");if(m.size=y[0],y[1]!=null?m.lineHeight=s(y[1]):w[0]==="/"&&(w.shift(),m.lineHeight=s(w.shift())),!w.length)throw new Error("Missing required font-family.");return m.family=l(w.join(" "),/\s*,\s*/).map(d),u[h]=m}throw new Error("Unknown or unsupported font token: "+c)}m.weight=c}else m.stretch=c;else m.variant=c;else m.style=c}throw new Error("Missing required font-size.")}function s(h){var c=parseFloat(h);return c.toString()===h?c:h}},53313:function(T,p,t){var d=t(71299),g=t(63625).isSize,i=h(t(38732)),M=h(t(41901)),v=h(t(15659)),f=h(t(96209)),l=h(t(83794)),a={normal:1,"small-caps":1},u={serif:1,"sans-serif":1,monospace:1,cursive:1,fantasy:1,"system-ui":1},o="serif";function s(c,m){if(c&&!m[c]&&!i[c])throw Error("Unknown keyword `"+c+"`");return c}function h(c){for(var m={},w=0;wh?1:s>=h?0:NaN}t.d(p,{j2:function(){return d},Fp:function(){return M},J6:function(){return f},TS:function(){return l},VV:function(){return a},w6:function(){return u},Sm:function(){return o}}),(g=d).length===1&&(i=g,g=function(s,h){return d(i(s),h)});var g,i;function M(s,h){var c,m,w=s.length,y=-1;if(h==null){for(;++y=c)for(m=c;++ym&&(m=c)}else for(;++y=c)for(m=c;++ym&&(m=c);return m}function v(s){return s===null?NaN:+s}function f(s,h){var c,m=s.length,w=m,y=-1,C=0;if(h==null)for(;++y=0;)for(h=(m=s[w]).length;--h>=0;)c[--C]=m[h];return c}function a(s,h){var c,m,w=s.length,y=-1;if(h==null){for(;++y=c)for(m=c;++yc&&(m=c)}else for(;++y=c)for(m=c;++yc&&(m=c);return m}function u(s,h,c){s=+s,h=+h,c=(w=arguments.length)<2?(h=s,s=0,1):w<3?1:+c;for(var m=-1,w=0|Math.max(0,Math.ceil((h-s)/c)),y=new Array(w);++m=w.length)return h!=null&&k.sort(h),c!=null?c(k):k;for(var L,b,R,I=-1,O=k.length,z=w[E++],F=M(),B=x();++Iw.length)return k;var x,A=y[E-1];return c!=null&&E>=w.length?x=k.entries():(x=[],k.each(function(L,b){x.push({key:b,values:_(L,E)})})),A!=null?x.sort(function(L,b){return A(L.key,b.key)}):x}return m={object:function(k){return C(k,0,f,l)},map:function(k){return C(k,0,a,u)},entries:function(k){return _(C(k,0,a,u),0)},key:function(k){return w.push(k),m},sortKeys:function(k){return y[w.length-1]=k,m},sortValues:function(k){return h=k,m},rollup:function(k){return c=k,m}}}function f(){return{}}function l(h,c,m){h[c]=m}function a(){return M()}function u(h,c,m){h.set(c,m)}function o(){}var s=M.prototype;o.prototype={constructor:o,has:s.has,add:function(h){return this[d+(h+="")]=h,this},remove:s.remove,clear:s.clear,values:s.keys,size:s.size,empty:s.empty,each:s.each}},49887:function(T,p,t){function d(me,pe){var xe;function Pe(){var _e,Me,Se=xe.length,Ce=0,ae=0;for(_e=0;_e=(Me=(je+we)/2))?je=Me:we=Me,(be=xe>=(Se=(ge+Ee)/2))?ge=Se:Ee=Se,_e=Be,!(Be=Be[ke=be<<1|fe]))return _e[ke]=ze,me;if(Ce=+me._x.call(null,Be.data),ae=+me._y.call(null,Be.data),pe===Ce&&xe===ae)return ze.next=Be,_e?_e[ke]=ze:me._root=ze,me;do _e=_e?_e[ke]=new Array(4):me._root=new Array(4),(fe=pe>=(Me=(je+we)/2))?je=Me:we=Me,(be=xe>=(Se=(ge+Ee)/2))?ge=Se:Ee=Se;while((ke=be<<1|fe)==(Le=(ae>=Se)<<1|Ce>=Me));return _e[Le]=Be,_e[ke]=ze,me}function v(me,pe,xe,Pe,_e){this.node=me,this.x0=pe,this.y0=xe,this.x1=Pe,this.y1=_e}function f(me){return me[0]}function l(me){return me[1]}function a(me,pe,xe){var Pe=new u(pe??f,xe??l,NaN,NaN,NaN,NaN);return me==null?Pe:Pe.addAll(me)}function u(me,pe,xe,Pe,_e,Me){this._x=me,this._y=pe,this._x0=xe,this._y0=Pe,this._x1=_e,this._y1=Me,this._root=void 0}function o(me){for(var pe={data:me.data},xe=pe;me=me.next;)xe=xe.next={data:me.data};return pe}t.r(p),t.d(p,{forceCenter:function(){return d},forceCollide:function(){return m},forceLink:function(){return _},forceManyBody:function(){return ue},forceRadial:function(){return ce},forceSimulation:function(){return oe},forceX:function(){return ye},forceY:function(){return de}});var s=a.prototype=u.prototype;function h(me){return me.x+me.vx}function c(me){return me.y+me.vy}function m(me){var pe,xe,Pe=1,_e=1;function Me(){for(var ae,fe,be,ke,Le,Be,ze,je=pe.length,ge=0;ge<_e;++ge)for(fe=a(pe,h,c).visitAfter(Se),ae=0;aeke+bt||YeLe+bt||stbe.index){var Et=ke-ot.x-ot.vx,kt=Le-ot.y-ot.vy,xt=Et*Et+kt*kt;xtae.r&&(ae.r=ae[fe].r)}function Ce(){if(pe){var ae,fe,be=pe.length;for(xe=new Array(be),ae=0;aebe&&(be=Pe),_eke&&(ke=_e));if(ae>be||fe>ke)return this;for(this.cover(ae,fe).cover(be,ke),xe=0;xeme||me>=_e||Pe>pe||pe>=Me;)switch(Ce=(peLe||(Me=ae.y0)>Be||(Se=ae.x1)=we)<<1|me>=ge)&&(ae=ze[ze.length-1],ze[ze.length-1]=ze[ze.length-1-fe],ze[ze.length-1-fe]=ae)}else{var Ee=me-+this._x.call(null,je.data),Ve=pe-+this._y.call(null,je.data),$e=Ee*Ee+Ve*Ve;if($e=(Ce=(ze+ge)/2))?ze=Ce:ge=Ce,(be=Se>=(ae=(je+we)/2))?je=ae:we=ae,pe=Be,!(Be=Be[ke=be<<1|fe]))return this;if(!Be.length)break;(pe[ke+1&3]||pe[ke+2&3]||pe[ke+3&3])&&(xe=pe,Le=ke)}for(;Be.data!==me;)if(Pe=Be,!(Be=Be.next))return this;return(_e=Be.next)&&delete Be.next,Pe?(_e?Pe.next=_e:delete Pe.next,this):pe?(_e?pe[ke]=_e:delete pe[ke],(Be=pe[0]||pe[1]||pe[2]||pe[3])&&Be===(pe[3]||pe[2]||pe[1]||pe[0])&&!Be.length&&(xe?xe[Le]=Be:this._root=Be),this):(this._root=_e,this)},s.removeAll=function(me){for(var pe=0,xe=me.length;pe=0&&(Pe=xe.slice(_e+1),xe=xe.slice(0,_e)),xe&&!pe.hasOwnProperty(xe))throw new Error("unknown type: "+xe);return{type:xe,name:Pe}})}function L(me,pe){for(var xe,Pe=0,_e=me.length;Pe<_e;++Pe)if((xe=me[Pe]).name===pe)return xe.value}function b(me,pe,xe){for(var Pe=0,_e=me.length;Pe<_e;++Pe)if(me[Pe].name===pe){me[Pe]=k,me=me.slice(0,Pe).concat(me.slice(Pe+1));break}return xe!=null&&me.push({name:pe,value:xe}),me}x.prototype=E.prototype={constructor:x,on:function(me,pe){var xe,Pe=this._,_e=A(me+"",Pe),Me=-1,Se=_e.length;if(!(arguments.length<2)){if(pe!=null&&typeof pe!="function")throw new Error("invalid callback: "+pe);for(;++Me0)for(var xe,Pe,_e=new Array(xe),Me=0;Me=0&&pe._call.call(null,me),pe=pe._next;--z})()}finally{z=0,function(){for(var me,pe,xe=R,Pe=1/0;xe;)xe._call?(Pe>xe._time&&(Pe=xe._time),me=xe,xe=xe._next):(pe=xe._next,xe._next=null,xe=me?me._next=pe:R=pe);I=me,X(Pe)}(),W=0}}function Z(){var me=$.now(),pe=me-N;pe>1e3&&(j-=pe,N=me)}function X(me){z||(F&&(F=clearTimeout(F)),me-W>24?(me<1/0&&(F=setTimeout(te,me-$.now()-j)),B&&(B=clearInterval(B))):(B||(N=$.now(),B=setInterval(Z,1e3)),z=1,U(te)))}function Q(me){return me.x}function re(me){return me.y}H.prototype=ne.prototype={constructor:H,restart:function(me,pe,xe){if(typeof me!="function")throw new TypeError("callback is not a function");xe=(xe==null?G():+xe)+(pe==null?0:+pe),this._next||I===this||(I?I._next=this:R=this,I=this),this._call=me,this._time=xe,X()},stop:function(){this._call&&(this._call=null,this._time=1/0,X())}};var ie=Math.PI*(3-Math.sqrt(5));function oe(me){var pe,xe=1,Pe=.001,_e=1-Math.pow(Pe,1/300),Me=0,Se=.6,Ce=(0,w.UI)(),ae=ne(be),fe=O("tick","end");function be(){ke(),fe.call("tick",pe),xe1?(je==null?Ce.remove(ze):Ce.set(ze,Be(je)),pe):Ce.get(ze)},find:function(ze,je,ge){var we,Ee,Ve,$e,Ye,st=0,ot=me.length;for(ge==null?ge=1/0:ge*=ge,st=0;st1?(fe.on(ze,je),pe):fe.on(ze)}}}function ue(){var me,pe,xe,Pe,_e=g(-30),Me=1,Se=1/0,Ce=.81;function ae(Le){var Be,ze=me.length,je=a(me,Q,re).visitAfter(be);for(xe=Le,Be=0;Be=Se)){(Le.data!==pe||Le.next)&&(ge===0&&(Ve+=(ge=i())*ge),we===0&&(Ve+=(we=i())*we),Ve1?C[0]+C.slice(2):C,+m.slice(y+1)]}t.d(p,{WU:function(){return o},FF:function(){return c}});var g,i=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function M(m){if(!(w=i.exec(m)))throw new Error("invalid format: "+m);var w;return new v({fill:w[1],align:w[2],sign:w[3],symbol:w[4],zero:w[5],width:w[6],comma:w[7],precision:w[8]&&w[8].slice(1),trim:w[9],type:w[10]})}function v(m){this.fill=m.fill===void 0?" ":m.fill+"",this.align=m.align===void 0?">":m.align+"",this.sign=m.sign===void 0?"-":m.sign+"",this.symbol=m.symbol===void 0?"":m.symbol+"",this.zero=!!m.zero,this.width=m.width===void 0?void 0:+m.width,this.comma=!!m.comma,this.precision=m.precision===void 0?void 0:+m.precision,this.trim=!!m.trim,this.type=m.type===void 0?"":m.type+""}function f(m,w){var y=d(m,w);if(!y)return m+"";var C=y[0],_=y[1];return _<0?"0."+new Array(-_).join("0")+C:C.length>_+1?C.slice(0,_+1)+"."+C.slice(_+1):C+new Array(_-C.length+2).join("0")}M.prototype=v.prototype,v.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,0|this.width))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var l={"%":function(m,w){return(100*m).toFixed(w)},b:function(m){return Math.round(m).toString(2)},c:function(m){return m+""},d:function(m){return Math.abs(m=Math.round(m))>=1e21?m.toLocaleString("en").replace(/,/g,""):m.toString(10)},e:function(m,w){return m.toExponential(w)},f:function(m,w){return m.toFixed(w)},g:function(m,w){return m.toPrecision(w)},o:function(m){return Math.round(m).toString(8)},p:function(m,w){return f(100*m,w)},r:f,s:function(m,w){var y=d(m,w);if(!y)return m+"";var C=y[0],_=y[1],k=_-(g=3*Math.max(-8,Math.min(8,Math.floor(_/3))))+1,E=C.length;return k===E?C:k>E?C+new Array(k-E+1).join("0"):k>0?C.slice(0,k)+"."+C.slice(k):"0."+new Array(1-k).join("0")+d(m,Math.max(0,w+k-1))[0]},X:function(m){return Math.round(m).toString(16).toUpperCase()},x:function(m){return Math.round(m).toString(16)}};function a(m){return m}var u,o,s=Array.prototype.map,h=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function c(m){var w,y,C=m.grouping===void 0||m.thousands===void 0?a:(w=s.call(m.grouping,Number),y=m.thousands+"",function(I,O){for(var z=I.length,F=[],B=0,N=w[0],W=0;z>0&&N>0&&(W+N+1>O&&(N=Math.max(1,O-W)),F.push(I.substring(z-=N,z+N)),!((W+=N+1)>O));)N=w[B=(B+1)%w.length];return F.reverse().join(y)}),_=m.currency===void 0?"":m.currency[0]+"",k=m.currency===void 0?"":m.currency[1]+"",E=m.decimal===void 0?".":m.decimal+"",x=m.numerals===void 0?a:function(I){return function(O){return O.replace(/[0-9]/g,function(z){return I[+z]})}}(s.call(m.numerals,String)),A=m.percent===void 0?"%":m.percent+"",L=m.minus===void 0?"-":m.minus+"",b=m.nan===void 0?"NaN":m.nan+"";function R(I){var O=(I=M(I)).fill,z=I.align,F=I.sign,B=I.symbol,N=I.zero,W=I.width,j=I.comma,$=I.precision,U=I.trim,G=I.type;G==="n"?(j=!0,G="g"):l[G]||($===void 0&&($=12),U=!0,G="g"),(N||O==="0"&&z==="=")&&(N=!0,O="0",z="=");var q=B==="$"?_:B==="#"&&/[boxX]/.test(G)?"0"+G.toLowerCase():"",H=B==="$"?k:/[%p]/.test(G)?A:"",ne=l[G],te=/[defgprs%]/.test(G);function Z(X){var Q,re,ie,oe=q,ue=H;if(G==="c")ue=ne(X)+ue,X="";else{var ce=(X=+X)<0||1/X<0;if(X=isNaN(X)?b:ne(Math.abs(X),$),U&&(X=function(me){e:for(var pe,xe=me.length,Pe=1,_e=-1;Pe0&&(_e=0)}return _e>0?me.slice(0,_e)+me.slice(pe+1):me}(X)),ce&&+X==0&&F!=="+"&&(ce=!1),oe=(ce?F==="("?F:L:F==="-"||F==="("?"":F)+oe,ue=(G==="s"?h[8+g/3]:"")+ue+(ce&&F==="("?")":""),te){for(Q=-1,re=X.length;++Q(ie=X.charCodeAt(Q))||ie>57){ue=(ie===46?E+X.slice(Q+1):X.slice(Q))+ue,X=X.slice(0,Q);break}}}j&&!N&&(X=C(X,1/0));var ye=oe.length+X.length+ue.length,de=ye>1)+oe+X+ue+de.slice(ye);break;default:X=de+oe+X+ue}return x(X)}return $=$===void 0?6:/[gprs]/.test(G)?Math.max(1,Math.min(21,$)):Math.max(0,Math.min(20,$)),Z.toString=function(){return I+""},Z}return{format:R,formatPrefix:function(I,O){var z,F=R(((I=M(I)).type="f",I)),B=3*Math.max(-8,Math.min(8,Math.floor((z=O,((z=d(Math.abs(z)))?z[1]:NaN)/3)))),N=Math.pow(10,-B),W=h[8+B/3];return function(j){return F(N*j)+W}}}}u=c({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),o=u.format,u.formatPrefix},65704:function(T,p,t){t.r(p),t.d(p,{geoAiry:function(){return j},geoAiryRaw:function(){return W},geoAitoff:function(){return U},geoAitoffRaw:function(){return $},geoArmadillo:function(){return q},geoArmadilloRaw:function(){return G},geoAugust:function(){return ne},geoAugustRaw:function(){return H},geoBaker:function(){return Q},geoBakerRaw:function(){return X},geoBerghaus:function(){return oe},geoBerghausRaw:function(){return ie},geoBertin1953:function(){return Pe},geoBertin1953Raw:function(){return xe},geoBoggs:function(){return ke},geoBoggsRaw:function(){return be},geoBonne:function(){return ge},geoBonneRaw:function(){return je},geoBottomley:function(){return Ee},geoBottomleyRaw:function(){return we},geoBromley:function(){return $e},geoBromleyRaw:function(){return Ve},geoChamberlin:function(){return Ft},geoChamberlinAfrica:function(){return xt},geoChamberlinRaw:function(){return Et},geoCollignon:function(){return Bt},geoCollignonRaw:function(){return Ot},geoCraig:function(){return Vt},geoCraigRaw:function(){return qt},geoCraster:function(){return qe},geoCrasterRaw:function(){return Je},geoCylindricalEqualArea:function(){return ft},geoCylindricalEqualAreaRaw:function(){return nt},geoCylindricalStereographic:function(){return Ne},geoCylindricalStereographicRaw:function(){return Re},geoEckert1:function(){return ut},geoEckert1Raw:function(){return Qe},geoEckert2:function(){return _t},geoEckert2Raw:function(){return dt},geoEckert3:function(){return Lt},geoEckert3Raw:function(){return It},geoEckert4:function(){return Pt},geoEckert4Raw:function(){return yt},geoEckert5:function(){return Rt},geoEckert5Raw:function(){return wt},geoEckert6:function(){return Yt},geoEckert6Raw:function(){return Nt},geoEisenlohr:function(){return Qt},geoEisenlohrRaw:function(){return Xt},geoFahey:function(){return un},geoFaheyRaw:function(){return xn},geoFoucaut:function(){return Yn},geoFoucautRaw:function(){return An},geoFoucautSinusoidal:function(){return sn},geoFoucautSinusoidalRaw:function(){return kn},geoGilbert:function(){return In},geoGingery:function(){return lr},geoGingeryRaw:function(){return jn},geoGinzburg4:function(){return yr},geoGinzburg4Raw:function(){return Sr},geoGinzburg5:function(){return vr},geoGinzburg5Raw:function(){return or},geoGinzburg6:function(){return Kt},geoGinzburg6Raw:function(){return _r},geoGinzburg8:function(){return Rn},geoGinzburg8Raw:function(){return bn},geoGinzburg9:function(){return Un},geoGinzburg9Raw:function(){return Ln},geoGringorten:function(){return tr},geoGringortenQuincuncial:function(){return qc},geoGringortenRaw:function(){return $n},geoGuyou:function(){return jt},geoGuyouRaw:function(){return Pn},geoHammer:function(){return de},geoHammerRaw:function(){return ce},geoHammerRetroazimuthal:function(){return On},geoHammerRetroazimuthalRaw:function(){return hn},geoHealpix:function(){return nr},geoHealpixRaw:function(){return yn},geoHill:function(){return hr},geoHillRaw:function(){return Qn},geoHomolosine:function(){return Lr},geoHomolosineRaw:function(){return Rr},geoHufnagel:function(){return gr},geoHufnagelRaw:function(){return zr},geoHyperelliptical:function(){return ea},geoHyperellipticalRaw:function(){return ji},geoInterrupt:function(){return Xi},geoInterruptedBoggs:function(){return rs},geoInterruptedHomolosine:function(){return Cu},geoInterruptedMollweide:function(){return Mh},geoInterruptedMollweideHemispheres:function(){return is},geoInterruptedQuarticAuthalic:function(){return nu},geoInterruptedSinuMollweide:function(){return Ya},geoInterruptedSinusoidal:function(){return Yo},geoKavrayskiy7:function(){return Al},geoKavrayskiy7Raw:function(){return as},geoLagrange:function(){return Sl},geoLagrangeRaw:function(){return Ui},geoLarrivee:function(){return js},geoLarriveeRaw:function(){return Es},geoLaskowski:function(){return vf},geoLaskowskiRaw:function(){return fc},geoLittrow:function(){return yf},geoLittrowRaw:function(){return tl},geoLoximuthal:function(){return id},geoLoximuthalRaw:function(){return bf},geoMiller:function(){return xf},geoMillerRaw:function(){return Sh},geoModifiedStereographic:function(){return Ql},geoModifiedStereographicAlaska:function(){return Lh},geoModifiedStereographicGs48:function(){return Jl},geoModifiedStereographicGs50:function(){return jc},geoModifiedStereographicLee:function(){return Iu},geoModifiedStereographicMiller:function(){return Cl},geoModifiedStereographicRaw:function(){return Ch},geoMollweide:function(){return Ce},geoMollweideRaw:function(){return Se},geoMtFlatPolarParabolic:function(){return ad},geoMtFlatPolarParabolicRaw:function(){return El},geoMtFlatPolarQuartic:function(){return dc},geoMtFlatPolarQuarticRaw:function(){return Uc},geoMtFlatPolarSinusoidal:function(){return Ru},geoMtFlatPolarSinusoidalRaw:function(){return eu},geoNaturalEarth:function(){return ms.Z},geoNaturalEarth2:function(){return pc},geoNaturalEarth2Raw:function(){return Ih},geoNaturalEarthRaw:function(){return ms.K},geoNellHammer:function(){return mc},geoNellHammerRaw:function(){return Pu},geoNicolosi:function(){return gc},geoNicolosiRaw:function(){return Ou},geoPatterson:function(){return Hc},geoPattersonRaw:function(){return Ll},geoPeirceQuincuncial:function(){return Wc},geoPierceQuincuncial:function(){return Wc},geoPolyconic:function(){return Ph},geoPolyconicRaw:function(){return xc},geoPolyhedral:function(){return Il},geoPolyhedralButterfly:function(){return Gc},geoPolyhedralCollignon:function(){return Dh},geoPolyhedralWaterman:function(){return ou},geoProject:function(){return lu},geoQuantize:function(){return Lo},geoQuincuncial:function(){return $o},geoRectangularPolyconic:function(){return uu},geoRectangularPolyconicRaw:function(){return Dr},geoRobinson:function(){return zu},geoRobinsonRaw:function(){return Yc},geoSatellite:function(){return Bu},geoSatelliteRaw:function(){return Fu},geoSinuMollweide:function(){return br},geoSinuMollweideRaw:function(){return dr},geoSinusoidal:function(){return ze},geoSinusoidalRaw:function(){return Be},geoStitch:function(){return hu},geoTimes:function(){return xs},geoTimesRaw:function(){return yo},geoTwoPointAzimuthal:function(){return _s},geoTwoPointAzimuthalRaw:function(){return Tc},geoTwoPointAzimuthalUsa:function(){return os},geoTwoPointEquidistant:function(){return Wi},geoTwoPointEquidistantRaw:function(){return Gs},geoTwoPointEquidistantUsa:function(){return Bo},geoVanDerGrinten:function(){return Is},geoVanDerGrinten2:function(){return qs},geoVanDerGrinten2Raw:function(){return No},geoVanDerGrinten3:function(){return ul},geoVanDerGrinten3Raw:function(){return Dl},geoVanDerGrinten4:function(){return ws},geoVanDerGrinten4Raw:function(){return bo},geoVanDerGrintenRaw:function(){return no},geoWagner:function(){return ni},geoWagner4:function(){return Zc},geoWagner4Raw:function(){return xo},geoWagner6:function(){return ju},geoWagner6Raw:function(){return Vo},geoWagner7:function(){return Vu},geoWagnerRaw:function(){return Hr},geoWiechel:function(){return Ji},geoWiechelRaw:function(){return hl},geoWinkel3:function(){return Xc},geoWinkel3Raw:function(){return la}});var d=t(15002),g=Math.abs,i=Math.atan,M=Math.atan2,v=Math.cos,f=Math.exp,l=Math.floor,a=Math.log,u=Math.max,o=Math.min,s=Math.pow,h=Math.round,c=Math.sign||function(et){return et>0?1:et<0?-1:0},m=Math.sin,w=Math.tan,y=1e-6,C=1e-12,_=Math.PI,k=_/2,E=_/4,x=Math.SQRT1_2,A=F(2),L=F(_),b=2*_,R=180/_,I=_/180;function O(et){return et>1?k:et<-1?-k:Math.asin(et)}function z(et){return et>1?0:et<-1?_:Math.acos(et)}function F(et){return et>0?Math.sqrt(et):0}function B(et){return(f(et)-f(-et))/2}function N(et){return(f(et)+f(-et))/2}function W(et){var rt=w(et/2),ct=2*a(v(et/2))/(rt*rt);function vt(St,Mt){var Y=v(St),ee=v(Mt),K=m(Mt),le=ee*Y,Te=-((1-le?a((1+le)/2)/(1-le):-.5)+ct/(1+le));return[Te*ee*m(St),Te*K]}return vt.invert=function(St,Mt){var Y,ee=F(St*St+Mt*Mt),K=-et/2,le=50;if(!ee)return[0,0];do{var Te=K/2,De=v(Te),He=m(Te),Ze=He/De,at=-a(g(De));K-=Y=(2/Ze*at-ct*Ze-ee)/(-at/(He*He)+1-ct/(2*De*De))*(De<0?.7:1)}while(g(Y)>y&&--le>0);var Tt=m(K);return[M(St*Tt,ee*v(K)),O(Mt*Tt/ee)]},vt}function j(){var et=k,rt=(0,d.r)(W),ct=rt(et);return ct.radius=function(vt){return arguments.length?rt(et=vt*I):et*R},ct.scale(179.976).clipAngle(147)}function $(et,rt){var ct=v(rt),vt=function(St){return St?St/Math.sin(St):1}(z(ct*v(et/=2)));return[2*ct*m(et)*vt,m(rt)*vt]}function U(){return(0,d.Z)($).scale(152.63)}function G(et){var rt=m(et),ct=v(et),vt=et>=0?1:-1,St=w(vt*et),Mt=(1+rt-ct)/2;function Y(ee,K){var le=v(K),Te=v(ee/=2);return[(1+le)*m(ee),(vt*K>-M(Te,St)-.001?0:10*-vt)+Mt+m(K)*ct-(1+le)*rt*Te]}return Y.invert=function(ee,K){var le=0,Te=0,De=50;do{var He=v(le),Ze=m(le),at=v(Te),Tt=m(Te),At=1+at,se=At*Ze-ee,ve=Mt+Tt*ct-At*rt*He-K,Ie=At*He/2,Fe=-Ze*Tt,Ue=rt*At*Ze/2,We=ct*at+rt*He*Tt,Xe=Fe*Ue-We*Ie,tt=(ve*Fe-se*We)/Xe/2,lt=(se*Ue-ve*Ie)/Xe;g(lt)>2&&(lt/=2),le-=tt,Te-=lt}while((g(tt)>y||g(lt)>y)&&--De>0);return vt*Te>-M(v(le),St)-.001?[2*le,Te]:null},Y}function q(){var et=20*I,rt=et>=0?1:-1,ct=w(rt*et),vt=(0,d.r)(G),St=vt(et),Mt=St.stream;return St.parallel=function(Y){return arguments.length?(ct=w((rt=(et=Y*I)>=0?1:-1)*et),vt(et)):et*R},St.stream=function(Y){var ee=St.rotate(),K=Mt(Y),le=(St.rotate([0,0]),Mt(Y)),Te=St.precision();return St.rotate(ee),K.sphere=function(){le.polygonStart(),le.lineStart();for(var De=-180*rt;rt*De<180;De+=90*rt)le.point(De,90*rt);if(et)for(;rt*(De-=3*rt*Te)>=-180;)le.point(De,rt*-M(v(De*I/2),ct)*R);le.lineEnd(),le.polygonEnd()},K},St.scale(218.695).center([0,28.0974])}function H(et,rt){var ct=w(rt/2),vt=F(1-ct*ct),St=1+vt*v(et/=2),Mt=m(et)*vt/St,Y=ct/St,ee=Mt*Mt,K=Y*Y;return[1.3333333333333333*Mt*(3+ee-3*K),1.3333333333333333*Y*(3+3*ee-K)]}function ne(){return(0,d.Z)(H).scale(66.1603)}$.invert=function(et,rt){if(!(et*et+4*rt*rt>_*_+y)){var ct=et,vt=rt,St=25;do{var Mt,Y=m(ct),ee=m(ct/2),K=v(ct/2),le=m(vt),Te=v(vt),De=m(2*vt),He=le*le,Ze=Te*Te,at=ee*ee,Tt=1-Ze*K*K,At=Tt?z(Te*K)*F(Mt=1/Tt):Mt=0,se=2*At*Te*ee-et,ve=At*le-rt,Ie=Mt*(Ze*at+At*Te*K*He),Fe=Mt*(.5*Y*De-2*At*le*ee),Ue=.25*Mt*(De*ee-At*le*Ze*Y),We=Mt*(He*K+At*at*Te),Xe=Fe*Ue-We*Ie;if(!Xe)break;var tt=(ve*Fe-se*We)/Xe,lt=(se*Ue-ve*Ie)/Xe;ct-=tt,vt-=lt}while((g(tt)>y||g(lt)>y)&&--St>0);return[ct,vt]}},H.invert=function(et,rt){if(rt*=.375,!(et*=.375)&&g(rt)>1)return null;var ct=1+et*et+rt*rt,vt=F((ct-F(ct*ct-4*rt*rt))/2),St=O(vt)/3,Mt=vt?function(le){return a(le+F(le*le-1))}(g(rt/vt))/3:function(le){return a(le+F(le*le+1))}(g(et))/3,Y=v(St),ee=N(Mt),K=ee*ee-Y*Y;return[2*c(et)*M(B(Mt)*Y,.25-K),2*c(rt)*M(ee*m(St),.25+K)]};var te=F(8),Z=a(1+A);function X(et,rt){var ct=g(rt);return ctC&&--Mt>0);return[et/(v(St)*(te-1/m(St))),c(rt)*St]};var re=t(17889);function ie(et){var rt=2*_/et;function ct(vt,St){var Mt=(0,re.N)(vt,St);if(g(vt)>k){var Y=M(Mt[1],Mt[0]),ee=F(Mt[0]*Mt[0]+Mt[1]*Mt[1]),K=rt*h((Y-k)/rt)+k,le=M(m(Y-=K),2-v(Y));Y=K+O(_/ee*m(le))-le,Mt[0]=ee*v(Y),Mt[1]=ee*m(Y)}return Mt}return ct.invert=function(vt,St){var Mt=F(vt*vt+St*St);if(Mt>k){var Y=M(St,vt),ee=rt*h((Y-k)/rt)+k,K=Y>ee?-1:1,le=Mt*v(ee-Y),Te=1/w(K*z((le-_)/F(_*(_-2*le)+Mt*Mt)));Y=ee+2*i((Te+K*F(Te*Te-3))/3),vt=Mt*v(Y),St=Mt*m(Y)}return re.N.invert(vt,St)},ct}function oe(){var et=5,rt=(0,d.r)(ie),ct=rt(et),vt=ct.stream,St=.01,Mt=-v(St*I),Y=m(St*I);return ct.lobes=function(ee){return arguments.length?rt(et=+ee):et},ct.stream=function(ee){var K=ct.rotate(),le=vt(ee),Te=(ct.rotate([0,0]),vt(ee));return ct.rotate(K),le.sphere=function(){Te.polygonStart(),Te.lineStart();for(var De=0,He=360/et,Ze=2*_/et,at=90-180/et,Tt=k;De0&&g(vt)>y);return Y<0?NaN:ct}function pe(et,rt,ct){return rt===void 0&&(rt=40),ct===void 0&&(ct=C),function(vt,St,Mt,Y){var ee,K,le;Mt=Mt===void 0?0:+Mt,Y=Y===void 0?0:+Y;for(var Te=0;Teee)Mt-=K/=2,Y-=le/=2;else{ee=at;var Tt=(Mt>0?-1:1)*ct,At=(Y>0?-1:1)*ct,se=et(Mt+Tt,Y),ve=et(Mt,Y+At),Ie=(se[0]-De[0])/Tt,Fe=(se[1]-De[1])/Tt,Ue=(ve[0]-De[0])/At,We=(ve[1]-De[1])/At,Xe=We*Ie-Fe*Ue,tt=(g(Xe)<.5?.5:1)/Xe;if(Mt+=K=(Ze*Ue-He*We)*tt,Y+=le=(He*Fe-Ze*Ie)*tt,g(K)0&&(Mt[1]*=1+Y/1.5*Mt[0]*Mt[0]),Mt}return rt.invert=pe(rt),rt}function Pe(){return(0,d.Z)(xe()).rotate([-16.5,-42]).scale(176.57).center([7.93,.09])}function _e(et,rt){var ct,vt=et*m(rt),St=30;do rt-=ct=(rt+m(rt)-vt)/(1+v(rt));while(g(ct)>y&&--St>0);return rt/2}function Me(et,rt,ct){function vt(St,Mt){return[et*St*v(Mt=_e(ct,Mt)),rt*m(Mt)]}return vt.invert=function(St,Mt){return Mt=O(Mt/rt),[St/(et*v(Mt)),O((2*Mt+m(2*Mt))/ct)]},vt}ye.invert=function(et,rt){var ct=2*O(rt/2);return[et*v(ct/2)/v(ct),ct]};var Se=Me(A/k,A,_);function Ce(){return(0,d.Z)(Se).scale(169.529)}var ae=2.00276,fe=1.11072;function be(et,rt){var ct=_e(_,rt);return[ae*et/(1/v(rt)+fe/v(ct)),(rt+A*m(ct))/ae]}function ke(){return(0,d.Z)(be).scale(160.857)}function Le(et){var rt=0,ct=(0,d.r)(et),vt=ct(rt);return vt.parallel=function(St){return arguments.length?ct(rt=St*I):rt*R},vt}function Be(et,rt){return[et*v(rt),rt]}function ze(){return(0,d.Z)(Be).scale(152.63)}function je(et){if(!et)return Be;var rt=1/w(et);function ct(vt,St){var Mt=rt+et-St,Y=Mt&&vt*v(St)/Mt;return[Mt*m(Y),rt-Mt*v(Y)]}return ct.invert=function(vt,St){var Mt=F(vt*vt+(St=rt-St)*St),Y=rt+et-Mt;return[Mt/v(Y)*M(vt,St),Y]},ct}function ge(){return Le(je).scale(123.082).center([0,26.1441]).parallel(45)}function we(et){function rt(ct,vt){var St=k-vt,Mt=St&&ct*et*m(St)/St;return[St*m(Mt)/et,k-St*v(Mt)]}return rt.invert=function(ct,vt){var St=ct*et,Mt=k-vt,Y=F(St*St+Mt*Mt),ee=M(St,Mt);return[(Y?Y/m(Y):1)*ee/et,k-Y]},rt}function Ee(){var et=.5,rt=(0,d.r)(we),ct=rt(et);return ct.fraction=function(vt){return arguments.length?rt(et=+vt):et},ct.scale(158.837)}be.invert=function(et,rt){var ct,vt,St=ae*rt,Mt=rt<0?-E:E,Y=25;do vt=St-A*m(Mt),Mt-=ct=(m(2*Mt)+2*Mt-_*m(vt))/(2*v(2*Mt)+2+_*v(vt)*A*v(Mt));while(g(ct)>y&&--Y>0);return vt=St-A*m(Mt),[et*(1/v(vt)+fe/v(Mt))/ae,vt]},Be.invert=function(et,rt){return[et/v(rt),rt]};var Ve=Me(1,4/_,_);function $e(){return(0,d.Z)(Ve).scale(152.63)}var Ye=t(66624),st=t(49386);function ot(et,rt,ct,vt,St,Mt){var Y,ee=v(Mt);if(g(et)>1||g(Mt)>1)Y=z(ct*St+rt*vt*ee);else{var K=m(et/2),le=m(Mt/2);Y=2*O(F(K*K+rt*vt*le*le))}return g(Y)>y?[Y,M(vt*m(Mt),rt*St-ct*vt*ee)]:[0,0]}function ht(et,rt,ct){return z((et*et+rt*rt-ct*ct)/(2*et*rt))}function bt(et){return et-2*_*l((et+_)/(2*_))}function Et(et,rt,ct){for(var vt,St=[[et[0],et[1],m(et[1]),v(et[1])],[rt[0],rt[1],m(rt[1]),v(rt[1])],[ct[0],ct[1],m(ct[1]),v(ct[1])]],Mt=St[2],Y=0;Y<3;++Y,Mt=vt)vt=St[Y],Mt.v=ot(vt[1]-Mt[1],Mt[3],Mt[2],vt[3],vt[2],vt[0]-Mt[0]),Mt.point=[0,0];var ee=ht(St[0].v[0],St[2].v[0],St[1].v[0]),K=ht(St[0].v[0],St[1].v[0],St[2].v[0]),le=_-ee;St[2].point[1]=0,St[0].point[0]=-(St[1].point[0]=St[0].v[0]/2);var Te=[St[2].point[0]=St[0].point[0]+St[2].v[0]*v(ee),2*(St[0].point[1]=St[1].point[1]=St[2].v[0]*m(ee))];return function(De,He){var Ze,at=m(He),Tt=v(He),At=new Array(3);for(Ze=0;Ze<3;++Ze){var se=St[Ze];if(At[Ze]=ot(He-se[1],se[3],se[2],Tt,at,De-se[0]),!At[Ze][0])return se.point;At[Ze][1]=bt(At[Ze][1]-se.v[1])}var ve=Te.slice();for(Ze=0;Ze<3;++Ze){var Ie=Ze==2?0:Ze+1,Fe=ht(St[Ze].v[0],At[Ze][0],At[Ie][0]);At[Ze][1]<0&&(Fe=-Fe),Ze?Ze==1?(Fe=K-Fe,ve[0]-=At[Ze][0]*v(Fe),ve[1]-=At[Ze][0]*m(Fe)):(Fe=le-Fe,ve[0]+=At[Ze][0]*v(Fe),ve[1]+=At[Ze][0]*m(Fe)):(ve[0]+=At[Ze][0]*v(Fe),ve[1]-=At[Ze][0]*m(Fe))}return ve[0]/=3,ve[1]/=3,ve}}function kt(et){return et[0]*=I,et[1]*=I,et}function xt(){return Ft([0,22],[45,22],[22.5,-22]).scale(380).center([22.5,2])}function Ft(et,rt,ct){var vt=(0,Ye.Z)({type:"MultiPoint",coordinates:[et,rt,ct]}),St=[-vt[0],-vt[1]],Mt=(0,st.Z)(St),Y=Et(kt(Mt(et)),kt(Mt(rt)),kt(Mt(ct)));Y.invert=pe(Y);var ee=(0,d.Z)(Y).rotate(St),K=ee.center;return delete ee.rotate,ee.center=function(le){return arguments.length?K(Mt(le)):Mt.invert(K())},ee.clipAngle(90)}function Ot(et,rt){var ct=F(1-m(rt));return[2/L*et*ct,L*(1-ct)]}function Bt(){return(0,d.Z)(Ot).scale(95.6464).center([0,30])}function qt(et){var rt=w(et);function ct(vt,St){return[vt,(vt?vt/m(vt):1)*(m(St)*v(vt)-rt*v(St))]}return ct.invert=rt?function(vt,St){vt&&(St*=m(vt)/vt);var Mt=v(vt);return[vt,2*M(F(Mt*Mt+rt*rt-St*St)-Mt,rt-St)]}:function(vt,St){return[vt,O(vt?St*w(vt)/vt:St)]},ct}function Vt(){return Le(qt).scale(249.828).clipAngle(90)}Ot.invert=function(et,rt){var ct=(ct=rt/L-1)*ct;return[ct>0?et*F(_/ct)/2:0,O(1-ct)]};var Ke=F(3);function Je(et,rt){return[Ke*et*(2*v(2*rt/3)-1)/L,Ke*L*m(rt/3)]}function qe(){return(0,d.Z)(Je).scale(156.19)}function nt(et){var rt=v(et);function ct(vt,St){return[vt*rt,m(St)/rt]}return ct.invert=function(vt,St){return[vt/rt,O(St*rt)]},ct}function ft(){return Le(nt).parallel(38.58).scale(195.044)}function Re(et){var rt=v(et);function ct(vt,St){return[vt*rt,(1+rt)*w(St/2)]}return ct.invert=function(vt,St){return[vt/rt,2*i(St/(1+rt))]},ct}function Ne(){return Le(Re).scale(124.75)}function Qe(et,rt){var ct=F(8/(3*_));return[ct*et*(1-g(rt)/_),ct*rt]}function ut(){return(0,d.Z)(Qe).scale(165.664)}function dt(et,rt){var ct=F(4-3*m(g(rt)));return[2/F(6*_)*et*ct,c(rt)*F(2*_/3)*(2-ct)]}function _t(){return(0,d.Z)(dt).scale(165.664)}function It(et,rt){var ct=F(_*(4+_));return[2/ct*et*(1+F(1-4*rt*rt/(_*_))),4/ct*rt]}function Lt(){return(0,d.Z)(It).scale(180.739)}function yt(et,rt){var ct=(2+k)*m(rt);rt/=2;for(var vt=0,St=1/0;vt<10&&g(St)>y;vt++){var Mt=v(rt);rt-=St=(rt+m(rt)*(Mt+2)-ct)/(2*Mt*(1+Mt))}return[2/F(_*(4+_))*et*(1+v(rt)),2*F(_/(4+_))*m(rt)]}function Pt(){return(0,d.Z)(yt).scale(180.739)}function wt(et,rt){return[et*(1+v(rt))/F(2+_),2*rt/F(2+_)]}function Rt(){return(0,d.Z)(wt).scale(173.044)}function Nt(et,rt){for(var ct=(1+k)*m(rt),vt=0,St=1/0;vt<10&&g(St)>y;vt++)rt-=St=(rt+m(rt)-ct)/(1+v(rt));return ct=F(2+_),[et*(1+v(rt))/ct,2*rt/ct]}function Yt(){return(0,d.Z)(Nt).scale(173.044)}Je.invert=function(et,rt){var ct=3*O(rt/(Ke*L));return[L*et/(Ke*(2*v(2*ct/3)-1)),ct]},Qe.invert=function(et,rt){var ct=F(8/(3*_)),vt=rt/ct;return[et/(ct*(1-g(vt)/_)),vt]},dt.invert=function(et,rt){var ct=2-g(rt)/F(2*_/3);return[et*F(6*_)/(2*ct),c(rt)*O((4-ct*ct)/3)]},It.invert=function(et,rt){var ct=F(_*(4+_))/2;return[et*ct/(1+F(1-rt*rt*(4+_)/(4*_))),rt*ct/2]},yt.invert=function(et,rt){var ct=rt*F((4+_)/_)/2,vt=O(ct),St=v(vt);return[et/(2/F(_*(4+_))*(1+St)),O((vt+ct*(St+2))/(2+k))]},wt.invert=function(et,rt){var ct=F(2+_),vt=rt*ct/2;return[ct*et/(1+v(vt)),vt]},Nt.invert=function(et,rt){var ct=1+k,vt=F(ct/2);return[2*et*vt/(1+v(rt*=vt)),O((rt+m(rt))/ct)]};var Wt=3+2*A;function Xt(et,rt){var ct=m(et/=2),vt=v(et),St=F(v(rt)),Mt=v(rt/=2),Y=m(rt)/(Mt+A*vt*St),ee=F(2/(1+Y*Y)),K=F((A*Mt+(vt+ct)*St)/(A*Mt+(vt-ct)*St));return[Wt*(ee*(K-1/K)-2*a(K)),Wt*(ee*Y*(K+1/K)-2*i(Y))]}function Qt(){return(0,d.Z)(Xt).scale(62.5271)}Xt.invert=function(et,rt){if(!(ct=H.invert(et/1.2,1.065*rt)))return null;var ct,vt=ct[0],St=ct[1],Mt=20;et/=Wt,rt/=Wt;do{var Y=vt/2,ee=St/2,K=m(Y),le=v(Y),Te=m(ee),De=v(ee),He=v(St),Ze=F(He),at=Te/(De+A*le*Ze),Tt=at*at,At=F(2/(1+Tt)),se=(A*De+(le+K)*Ze)/(A*De+(le-K)*Ze),ve=F(se),Ie=ve-1/ve,Fe=ve+1/ve,Ue=At*Ie-2*a(ve)-et,We=At*at*Fe-2*i(at)-rt,Xe=Te&&x*Ze*K*Tt/Te,tt=(A*le*De+Ze)/(2*(De+A*le*Ze)*(De+A*le*Ze)*Ze),lt=-.5*at*At*At*At,mt=lt*Xe,zt=lt*tt,Ut=(Ut=2*De+A*Ze*(le-K))*Ut*ve,Ht=(A*le*De*Ze+He)/Ut,en=-A*K*Te/(Ze*Ut),vn=Ie*mt-2*Ht/ve+At*(Ht+Ht/se),tn=Ie*zt-2*en/ve+At*(en+en/se),ln=at*Fe*mt-2*Xe/(1+Tt)+At*Fe*Xe+At*at*(Ht-Ht/se),an=at*Fe*zt-2*tt/(1+Tt)+At*Fe*tt+At*at*(en-en/se),Cn=tn*ln-an*vn;if(!Cn)break;var _n=(We*tn-Ue*an)/Cn,on=(Ue*ln-We*vn)/Cn;vt-=_n,St=u(-k,o(k,St-on))}while((g(_n)>y||g(on)>y)&&--Mt>0);return g(g(St)-k)vt){var De=F(Te),He=M(le,K),Ze=ct*h(He/ct),at=He-Ze,Tt=et*v(at),At=(et*m(at)-at*m(Tt))/(k-Tt),se=Gn(at,At),ve=(_-et)/qn(se,Tt,_);K=De;var Ie,Fe=50;do K-=Ie=(et+qn(se,Tt,K)*ve-De)/(se(K)*ve);while(g(Ie)>y&&--Fe>0);le=at*m(K),Kvt){var K=F(ee),le=M(Y,Mt),Te=ct*h(le/ct),De=le-Te;Mt=K*v(De),Y=K*m(De);for(var He=Mt-k,Ze=m(Mt),at=Y/Ze,Tt=Mty||g(He)>y)&&--Tt>0);return[Ze,at]},K}var Sr=rr(2.8284,-1.6988,.75432,-.18071,1.76003,-.38914,.042555);function yr(){return(0,d.Z)(Sr).scale(149.995)}var or=rr(2.583819,-.835827,.170354,-.038094,1.543313,-.411435,.082742);function vr(){return(0,d.Z)(or).scale(153.93)}var _r=rr(5/6*_,-.62636,-.0344,0,1.3493,-.05524,0,.045);function Kt(){return(0,d.Z)(_r).scale(130.945)}function bn(et,rt){var ct=et*et,vt=rt*rt;return[et*(1-.162388*vt)*(.87-952426e-9*ct*ct),rt*(1+vt/12)]}function Rn(){return(0,d.Z)(bn).scale(131.747)}bn.invert=function(et,rt){var ct,vt=et,St=rt,Mt=50;do{var Y=St*St;St-=ct=(St*(1+Y/12)-rt)/(1+Y/4)}while(g(ct)>y&&--Mt>0);Mt=50,et/=1-.162388*Y;do{var ee=(ee=vt*vt)*ee;vt-=ct=(vt*(.87-952426e-9*ee)-et)/(.87-.00476213*ee)}while(g(ct)>y&&--Mt>0);return[vt,St]};var Ln=rr(2.6516,-.76534,.19123,-.047094,1.36289,-.13965,.031762);function Un(){return(0,d.Z)(Ln).scale(131.087)}function Kn(et){var rt=et(k,0)[0]-et(-k,0)[0];function ct(vt,St){var Mt=vt>0?-.5:.5,Y=et(vt+Mt*_,St);return Y[0]-=Mt*rt,Y}return et.invert&&(ct.invert=function(vt,St){var Mt=vt>0?-.5:.5,Y=et.invert(vt+Mt*rt,St),ee=Y[0]-Mt*_;return ee<-_?ee+=2*_:ee>_&&(ee-=2*_),Y[0]=ee,Y}),ct}function $n(et,rt){var ct=c(et),vt=c(rt),St=v(rt),Mt=v(et)*St,Y=m(et)*St,ee=m(vt*rt);et=g(M(Y,ee)),rt=O(Mt),g(et-k)>y&&(et%=k);var K=function(le,Te){if(Te===k)return[0,0];var De,He,Ze=m(Te),at=Ze*Ze,Tt=at*at,At=1+Tt,se=1+3*Tt,ve=1-Tt,Ie=O(1/F(At)),Fe=ve+at*At*Ie,Ue=(1-Ze)/Fe,We=F(Ue),Xe=Ue*At,tt=F(Xe),lt=We*ve;if(le===0)return[0,-(lt+at*tt)];var mt,zt=v(Te),Ut=1/zt,Ht=2*Ze*zt,en=(-Fe*zt-(-3*at+Ie*se)*Ht*(1-Ze))/(Fe*Fe),vn=-Ut*Ht,tn=-Ut*(at*At*en+Ue*se*Ht),ln=-2*Ut*(ve*(.5*en/We)-2*at*We*Ht),an=4*le/_;if(le>.222*_||Te<_/4&&le>.175*_){if(De=(lt+at*F(Xe*(1+Tt)-lt*lt))/(1+Tt),le>_/4)return[De,De];var Cn=De,_n=.5*De;De=.5*(_n+Cn),He=50;do{var on=De*(ln+vn*F(Xe-De*De))+tn*O(De/tt)-an;if(!on)break;on<0?_n=De:Cn=De,De=.5*(_n+Cn)}while(g(Cn-_n)>y&&--He>0)}else{De=y,He=25;do{var Fn=De*De,Hn=F(Xe-Fn),ir=ln+vn*Hn,ar=De*ir+tn*O(De/tt)-an;De-=mt=Hn?ar/(ir+(tn-vn*Fn)/Hn):0}while(g(mt)>y&&--He>0)}return[De,-lt-at*F(Xe-De*De)]}(et>_/4?k-et:et,rt);return et>_/4&&(ee=K[0],K[0]=-K[1],K[1]=-ee),K[0]*=ct,K[1]*=-vt,K}function tr(){return(0,d.Z)(Kn($n)).scale(239.75)}function mr(et,rt){var ct,vt,St,Mt,Y,ee;if(rt=.999999)return ct=(1-rt)/4,St=1/(vt=N(et)),[(Mt=((ee=f(2*(ee=et)))-1)/(ee+1))+ct*((Y=vt*B(et))-et)/(vt*vt),St-ct*Mt*St*(Y-et),St+ct*Mt*St*(Y+et),2*i(f(et))-k+ct*(Y-et)/vt];var K=[1,0,0,0,0,0,0,0,0],le=[F(rt),0,0,0,0,0,0,0,0],Te=0;for(vt=F(1-rt),Y=1;g(le[Te]/K[Te])>y&&Te<8;)ct=K[Te++],le[Te]=(ct-vt)/2,K[Te]=(ct+vt)/2,vt=F(ct*vt),Y*=2;St=Y*K[Te]*et;do St=(O(Mt=le[Te]*m(vt=St)/K[Te])+St)/2;while(--Te);return[m(St),Mt=v(St),Mt/v(St-vt),St]}function nn(et,rt){if(!rt)return et;if(rt===1)return a(w(et/2+E));for(var ct=1,vt=F(1-rt),St=F(rt),Mt=0;g(St)>y;Mt++){if(et%_){var Y=i(vt*w(et)/ct);Y<0&&(Y+=_),et+=Y+~~(et/_)*_}else et+=et;St=(ct+vt)/2,vt=F(ct*vt),St=((ct=St)-vt)/2}return et/(s(2,Mt)*ct)}function Pn(et,rt){var ct=(A-1)/(A+1),vt=F(1-ct*ct),St=nn(k,vt*vt),Mt=a(w(_/4+g(rt)/2)),Y=f(-1*Mt)/F(ct),ee=function(le,Te){var De=le*le,He=Te+1,Ze=1-De-Te*Te;return[.5*((le>=0?k:-k)-M(Ze,2*le)),-.25*a(Ze*Ze+4*De)+.5*a(He*He+De)]}(Y*v(-1*et),Y*m(-1*et)),K=function(le,Te,De){var He=g(le),Ze=B(g(Te));if(He){var at=1/m(He),Tt=1/(w(He)*w(He)),At=-(Tt+De*(Ze*Ze*at*at)-1+De),se=(-At+F(At*At-(De-1)*Tt*4))/2;return[nn(i(1/F(se)),De)*c(le),nn(i(F((se/Tt-1)/De)),1-De)*c(Te)]}return[0,nn(i(Ze),1-De)*c(Te)]}(ee[0],ee[1],vt*vt);return[-K[1],(rt>=0?1:-1)*(.5*St-K[0])]}function jt(){return(0,d.Z)(Kn(Pn)).scale(151.496)}$n.invert=function(et,rt){g(et)>1&&(et=2*c(et)-et),g(rt)>1&&(rt=2*c(rt)-rt);var ct=c(et),vt=c(rt),St=-ct*et,Mt=-vt*rt,Y=Mt/St<1,ee=function(De,He){for(var Ze=0,at=1,Tt=.5,At=50;;){var se=Tt*Tt,ve=F(Tt),Ie=O(1/F(1+se)),Fe=1-se+Tt*(1+se)*Ie,Ue=(1-ve)/Fe,We=F(Ue),Xe=Ue*(1+se),tt=We*(1-se),lt=F(Xe-De*De),mt=He+tt+Tt*lt;if(g(at-Ze)0?Ze=Tt:at=Tt,Tt=.5*(Ze+at)}if(!At)return null;var zt=O(ve),Ut=v(zt),Ht=1/Ut,en=2*ve*Ut,vn=(-Fe*Ut-(-3*Tt+Ie*(1+3*se))*en*(1-ve))/(Fe*Fe);return[_/4*(De*(-2*Ht*(.5*vn/We*(1-se)-2*Tt*We*en)+-Ht*en*lt)+-Ht*(Tt*(1+se)*vn+Ue*(1+3*se)*en)*O(De/F(Xe))),zt]}(Y?Mt:St,Y?St:Mt),K=ee[0],le=ee[1],Te=v(le);return Y&&(K=-k-K),[ct*(M(m(K)*Te,-m(le))+_),vt*O(v(K)*Te)]},Pn.invert=function(et,rt){var ct,vt,St,Mt,Y,ee,K=(A-1)/(A+1),le=F(1-K*K),Te=(vt=-et,St=le*le,(ct=.5*nn(k,le*le)-rt)?(Mt=mr(ct,St),vt?(ee=(Y=mr(vt,1-St))[1]*Y[1]+St*Mt[0]*Mt[0]*Y[0]*Y[0],[[Mt[0]*Y[2]/ee,Mt[1]*Mt[2]*Y[0]*Y[1]/ee],[Mt[1]*Y[1]/ee,-Mt[0]*Mt[2]*Y[0]*Y[2]/ee],[Mt[2]*Y[1]*Y[2]/ee,-St*Mt[0]*Mt[1]*Y[0]/ee]]):[[Mt[0],0],[Mt[1],0],[Mt[2],0]]):[[0,(Y=mr(vt,1-St))[0]/Y[1]],[1/Y[1],0],[Y[2]/Y[1],0]]),De=function(He,Ze){var at=Ze[0]*Ze[0]+Ze[1]*Ze[1];return[(He[0]*Ze[0]+He[1]*Ze[1])/at,(He[1]*Ze[0]-He[0]*Ze[1])/at]}(Te[0],Te[1]);return[M(De[1],De[0])/-1,2*i(f(-.5*a(K*De[0]*De[0]+K*De[1]*De[1])))-k]};var Jt=t(7613);function hn(et){var rt=m(et),ct=v(et),vt=zn(et);function St(Mt,Y){var ee=vt(Mt,Y);Mt=ee[0],Y=ee[1];var K=m(Y),le=v(Y),Te=v(Mt),De=z(rt*K+ct*le*Te),He=m(De),Ze=g(He)>y?De/He:1;return[Ze*ct*m(Mt),(g(Mt)>k?Ze:-Ze)*(rt*le-ct*K*Te)]}return vt.invert=zn(-et),St.invert=function(Mt,Y){var ee=F(Mt*Mt+Y*Y),K=-m(ee),le=v(ee),Te=ee*le,De=-Y*K,He=ee*rt,Ze=F(Te*Te+De*De-He*He),at=M(Te*He+De*Ze,De*He-Te*Ze),Tt=(ee>k?-1:1)*M(Mt*K,ee*v(at)*le+Y*m(at)*K);return vt.invert(Tt,at)},St}function zn(et){var rt=m(et),ct=v(et);return function(vt,St){var Mt=v(St),Y=v(vt)*Mt,ee=m(vt)*Mt,K=m(St);return[M(ee,Y*ct-K*rt),O(K*ct+Y*rt)]}}function On(){var et=0,rt=(0,d.r)(hn),ct=rt(et),vt=ct.rotate,St=ct.stream,Mt=(0,Jt.Z)();return ct.parallel=function(Y){if(!arguments.length)return et*R;var ee=ct.rotate();return rt(et=Y*I).rotate(ee)},ct.rotate=function(Y){return arguments.length?(vt.call(ct,[Y[0],Y[1]-et*R]),Mt.center([-Y[0],-Y[1]]),ct):((Y=vt.call(ct))[1]+=et*R,Y)},ct.stream=function(Y){return(Y=St(Y)).sphere=function(){Y.polygonStart();var ee,K=Mt.radius(89.99)().coordinates[0],le=K.length-1,Te=-1;for(Y.lineStart();++Te=0;)Y.point((ee=K[Te])[0],ee[1]);Y.lineEnd(),Y.polygonEnd()},Y},ct.scale(79.4187).parallel(45).clipAngle(179.999)}var En=t(33064),mn=t(72736),wn=O(1-1/3)*R,gn=nt(0);function yn(et){var rt=wn*I,ct=Ot(_,rt)[0]-Ot(-_,rt)[0],vt=gn(0,rt)[1],St=Ot(0,rt)[1],Mt=L-St,Y=b/et,ee=4/b,K=vt+Mt*Mt*4/b;function le(Te,De){var He,Ze=g(De);if(Ze>rt){var at=o(et-1,u(0,l((Te+_)/Y)));(He=Ot(Te+=_*(et-1)/et-at*Y,Ze))[0]=He[0]*b/ct-b*(et-1)/(2*et)+at*b/et,He[1]=vt+4*(He[1]-St)*Mt/b,De<0&&(He[1]=-He[1])}else He=gn(Te,De);return He[0]*=ee,He[1]/=K,He}return le.invert=function(Te,De){Te/=ee;var He=g(De*=K);if(He>vt){var Ze=o(et-1,u(0,l((Te+_)/Y)));Te=(Te+_*(et-1)/et-Ze*Y)*ct/b;var at=Ot.invert(Te,.25*(He-vt)*b/Mt+St);return at[0]-=_*(et-1)/et-Ze*Y,De<0&&(at[1]=-at[1]),at}return gn.invert(Te,De)},le}function Sn(et,rt){return[et,1&rt?89.999999:wn]}function Vn(et,rt){return[et,1&rt?-89.999999:-wn]}function Xn(et){return[.999999*et[0],et[1]]}function nr(){var et=4,rt=(0,d.r)(yn),ct=rt(et),vt=ct.stream;return ct.lobes=function(St){return arguments.length?rt(et=+St):et},ct.stream=function(St){var Mt=ct.rotate(),Y=vt(St),ee=(ct.rotate([0,0]),vt(St));return ct.rotate(Mt),Y.sphere=function(){var K,le;(0,mn.Z)((K=180/et,le=[].concat((0,En.w6)(-180,180+K/2,K).map(Sn),(0,En.w6)(180,-180-K/2,-K).map(Vn)),{type:"Polygon",coordinates:[K===180?le.map(Xn):le]}),ee)},Y},ct.scale(239.75)}function Qn(et){var rt,ct=1+et,vt=O(m(1/ct)),St=2*F(_/(rt=_+4*vt*ct)),Mt=.5*St*(ct+F(et*(2+et))),Y=et*et,ee=ct*ct;function K(le,Te){var De,He,Ze=1-m(Te);if(Ze&&Ze<2){var at,Tt=k-Te,At=25;do{var se=m(Tt),ve=v(Tt),Ie=vt+M(se,ct-ve),Fe=1+ee-2*ct*ve;Tt-=at=(Tt-Y*vt-ct*se+Fe*Ie-.5*Ze*rt)/(2*ct*se*Ie)}while(g(at)>C&&--At>0);De=St*F(Fe),He=le*Ie/_}else De=St*(et+Ze),He=le*vt/_;return[De*m(He),Mt-De*v(He)]}return K.invert=function(le,Te){var De=le*le+(Te-=Mt)*Te,He=(1+ee-De/(St*St))/(2*ct),Ze=z(He),at=m(Ze),Tt=vt+M(at,ct-He);return[O(le/F(De))*_/Tt,O(1-2*(Ze-Y*vt-ct*at+(1+ee-2*ct*He)*Tt)/rt)]},K}function hr(){var et=1,rt=(0,d.r)(Qn),ct=rt(et);return ct.ratio=function(vt){return arguments.length?rt(et=+vt):et},ct.scale(167.774).center([0,18.67])}var cr=.7109889596207567,pr=.0528035274542;function dr(et,rt){return rt>-cr?((et=Se(et,rt))[1]+=pr,et):Be(et,rt)}function br(){return(0,d.Z)(dr).rotate([-20,-55]).scale(164.263).center([0,-5.4036])}function Rr(et,rt){return g(rt)>cr?((et=Se(et,rt))[1]-=rt>0?pr:-pr,et):Be(et,rt)}function Lr(){return(0,d.Z)(Rr).scale(152.63)}function zr(et,rt,ct,vt){var St=F(4*_/(2*ct+(1+et-rt/2)*m(2*ct)+(et+rt)/2*m(4*ct)+rt/2*m(6*ct))),Mt=F(vt*m(ct)*F((1+et*v(2*ct)+rt*v(4*ct))/(1+et+rt))),Y=ct*K(1);function ee(De){return F(1+et*v(2*De)+rt*v(4*De))}function K(De){var He=De*ct;return(2*He+(1+et-rt/2)*m(2*He)+(et+rt)/2*m(4*He)+rt/2*m(6*He))/ct}function le(De){return ee(De)*m(De)}var Te=function(De,He){var Ze=ct*me(K,Y*m(He)/ct,He/_);isNaN(Ze)&&(Ze=ct*c(He));var at=St*ee(Ze);return[at*Mt*De/_*v(Ze),at/Mt*m(Ze)]};return Te.invert=function(De,He){var Ze=me(le,He*Mt/St);return[De*_/(v(Ze)*St*Mt*ee(Ze)),O(ct*K(Ze/ct)/Y)]},ct===0&&(St=F(vt/_),(Te=function(De,He){return[De*St,m(He)/St]}).invert=function(De,He){return[De/St,O(He*St)]}),Te}function gr(){var et=1,rt=0,ct=45*I,vt=2,St=(0,d.r)(zr),Mt=St(et,rt,ct,vt);return Mt.a=function(Y){return arguments.length?St(et=+Y,rt,ct,vt):et},Mt.b=function(Y){return arguments.length?St(et,rt=+Y,ct,vt):rt},Mt.psiMax=function(Y){return arguments.length?St(et,rt,ct=+Y*I,vt):ct*R},Mt.ratio=function(Y){return arguments.length?St(et,rt,ct,vt=+Y):vt},Mt.scale(180.739)}function Fr(et,rt,ct,vt,St,Mt,Y,ee,K,le,Te){if(Te.nanEncountered)return NaN;var De,He,Ze,at,Tt,At,se,ve,Ie,Fe;if(He=et(rt+.25*(De=ct-rt)),Ze=et(ct-.25*De),isNaN(He))Te.nanEncountered=!0;else{if(!isNaN(Ze))return Fe=((At=(at=De*(vt+4*He+St)/12)+(Tt=De*(St+4*Ze+Mt)/12))-Y)/15,le>K?(Te.maxDepthCount++,At+Fe):Math.abs(Fe)Ze?Tt=At:at=At,At=at+Tt>>1;while(At>at);var se=K[At+1]-K[At];return se&&(se=(Ze-K[At+1])/se),(At+1+se)/Y}var De=2*Te(1)/_*Mt/ct,He=function(Ze,at){var Tt=Te(g(m(at))),At=vt(Tt)*Ze;return Tt/=De,[At,at>=0?Tt:-Tt]};return He.invert=function(Ze,at){var Tt;return g(at*=De)<1&&(Tt=c(at)*O(St(g(at))*Mt)),[Ze/vt(g(at)),Tt]},He}function ea(){var et=0,rt=2.5,ct=1.183136,vt=(0,d.r)(ji),St=vt(et,rt,ct);return St.alpha=function(Mt){return arguments.length?vt(et=+Mt,rt,ct):et},St.k=function(Mt){return arguments.length?vt(et,rt=+Mt,ct):rt},St.gamma=function(Mt){return arguments.length?vt(et,rt,ct=+Mt):ct},St.scale(152.63)}function sa(et,rt){return g(et[0]-rt[0])=0;--ee)ct=(rt=et[1][ee])[0][0],vt=rt[0][1],St=rt[1][1],Mt=rt[2][0],Y=rt[2][1],K.push(co([[Mt-y,Y-y],[Mt-y,St+y],[ct+y,St+y],[ct+y,vt-y]],30));return{type:"Polygon",coordinates:[(0,En.TS)(K)]}}function Xi(et,rt,ct){var vt,St;function Mt(K,le){for(var Te=le<0?-1:1,De=rt[+(le<0)],He=0,Ze=De.length-1;HeDe[He][2][0];++He);var at=et(K-De[He][1][0],le);return at[0]+=et(De[He][1][0],Te*le>Te*De[He][0][1]?De[He][0][1]:le)[0],at}ct?Mt.invert=ct(Mt):et.invert&&(Mt.invert=function(K,le){for(var Te=St[+(le<0)],De=rt[+(le<0)],He=0,Ze=Te.length;HeTt&&(De=at,at=Tt,Tt=De),[[He,at],[Ze,Tt]]})}),Y):rt.map(function(le){return le.map(function(Te){return[[Te[0][0]*R,Te[0][1]*R],[Te[1][0]*R,Te[1][1]*R],[Te[2][0]*R,Te[2][1]*R]]})})},rt!=null&&Y.lobes(rt),Y}dr.invert=function(et,rt){return rt>-cr?Se.invert(et,rt-pr):Be.invert(et,rt)},Rr.invert=function(et,rt){return g(rt)>cr?Se.invert(et,rt+(rt>0?pr:-pr)):Be.invert(et,rt)};var Do=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function rs(){return Xi(be,Do).scale(160.857)}var el=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function Cu(){return Xi(Rr,el).scale(152.63)}var gf=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function Mh(){return Xi(Se,gf).scale(169.529)}var Eu=[[[[-180,0],[-90,90],[0,0]],[[0,0],[90,90],[180,0]]],[[[-180,0],[-90,-90],[0,0]],[[0,0],[90,-90],[180,0]]]];function is(){return Xi(Se,Eu).scale(169.529).rotate([20,0])}var Ah=[[[[-180,35],[-30,90],[0,35]],[[0,35],[30,90],[180,35]]],[[[-180,-10],[-102,-90],[-65,-10]],[[-65,-10],[5,-90],[77,-10]],[[77,-10],[103,-90],[180,-10]]]];function Ya(){return Xi(dr,Ah,pe).rotate([-20,-55]).scale(164.263).center([0,-5.4036])}var hc=[[[[-180,0],[-110,90],[-40,0]],[[-40,0],[0,90],[40,0]],[[40,0],[110,90],[180,0]]],[[[-180,0],[-110,-90],[-40,0]],[[-40,0],[0,-90],[40,0]],[[40,0],[110,-90],[180,0]]]];function Yo(){return Xi(Be,hc).scale(152.63).rotate([-20,0])}function as(et,rt){return[3/b*et*F(_*_/3-rt*rt),rt]}function Al(){return(0,d.Z)(as).scale(158.837)}function Ui(et){function rt(ct,vt){if(g(g(vt)-k)2)return null;var Mt=(ct/=2)*ct,Y=(vt/=2)*vt,ee=2*vt/(1+Mt+Y);return ee=s((1+ee)/(1-ee),1/et),[M(2*ct,1-Mt-Y)/et,O((ee-1)/(ee+1))]},rt}function Sl(){var et=.5,rt=(0,d.r)(Ui),ct=rt(et);return ct.spacing=function(vt){return arguments.length?rt(et=+vt):et},ct.scale(124.75)}as.invert=function(et,rt){return[b/3*et/F(_*_/3-rt*rt),rt]};var ps=_/A;function Es(et,rt){return[et*(1+F(v(rt)))/2,rt/(v(rt/2)*v(et/6))]}function js(){return(0,d.Z)(Es).scale(97.2672)}function fc(et,rt){var ct=et*et,vt=rt*rt;return[et*(.975534+vt*(-.0143059*ct-.119161+-.0547009*vt)),rt*(1.00384+ct*(.0802894+-.02855*vt+199025e-9*ct)+vt*(.0998909+-.0491032*vt))]}function vf(){return(0,d.Z)(fc).scale(139.98)}function tl(et,rt){return[m(et)/v(rt),w(rt)*v(et)]}function yf(){return(0,d.Z)(tl).scale(144.049).clipAngle(89.999)}function bf(et){var rt=v(et),ct=w(E+et/2);function vt(St,Mt){var Y=Mt-et,ee=g(Y)=0;)He=(De=et[Te])[0]+K*(Mt=He)-le*Ze,Ze=De[1]+K*Ze+le*Mt;return[He=K*(Mt=He)-le*Ze,Ze=K*Ze+le*Mt]}return ct.invert=function(vt,St){var Mt=20,Y=vt,ee=St;do{for(var K,le=rt,Te=et[le],De=Te[0],He=Te[1],Ze=0,at=0;--le>=0;)Ze=De+Y*(K=Ze)-ee*at,at=He+Y*at+ee*K,De=(Te=et[le])[0]+Y*(K=De)-ee*He,He=Te[1]+Y*He+ee*K;var Tt,At,se=(Ze=De+Y*(K=Ze)-ee*at)*Ze+(at=He+Y*at+ee*K)*at;Y-=Tt=((De=Y*(K=De)-ee*He-vt)*Ze+(He=Y*He+ee*K-St)*at)/se,ee-=At=(He*Ze-De*at)/se}while(g(Tt)+g(At)>1e-12&&--Mt>0);if(Mt){var ve=F(Y*Y+ee*ee),Ie=2*i(.5*ve),Fe=m(Ie);return[M(Y*Fe,ve*v(Ie)),ve?O(ee*Fe/ve):0]}},ct}Es.invert=function(et,rt){var ct=g(et),vt=g(rt),St=y,Mt=k;vty||g(At)>y)&&--St>0);return St&&[ct,vt]},tl.invert=function(et,rt){var ct=et*et,vt=rt*rt+1,St=ct+vt,Mt=et?x*F((St-F(St*St-4*ct))/ct):1/F(vt);return[O(et*Mt),c(rt)*z(Mt)]},Sh.invert=function(et,rt){return[et,2.5*i(f(.8*rt))-.625*_]};var nl=[[.9972523,0],[.0052513,-.0041175],[.0074606,.0048125],[-.0153783,-.1968253],[.0636871,-.1408027],[.3660976,-.2937382]],rl=[[.98879,0],[0,0],[-.050909,0],[0,0],[.075528,0]],Lu=[[.984299,0],[.0211642,.0037608],[-.1036018,-.0575102],[-.0329095,-.0320119],[.0499471,.1223335],[.026046,.0899805],[7388e-7,-.1435792],[.0075848,-.1334108],[-.0216473,.0776645],[-.0225161,.0853673]],il=[[.9245,0],[0,0],[.01943,0]],Eh=[[.721316,0],[0,0],[-.00881625,-.00617325]];function Lh(){return Ql(nl,[152,-64]).scale(1400).center([-160.908,62.4864]).clipAngle(30).angle(7.8)}function Jl(){return Ql(rl,[95,-38]).scale(1e3).clipAngle(55).center([-96.5563,38.8675])}function jc(){return Ql(Lu,[120,-45]).scale(359.513).clipAngle(55).center([-117.474,53.0628])}function Cl(){return Ql(il,[-20,-18]).scale(209.091).center([20,16.7214]).clipAngle(82)}function Iu(){return Ql(Eh,[165,10]).scale(250).clipAngle(130).center([-165,-10])}function Ql(et,rt){var ct=(0,d.Z)(Ch(et)).rotate(rt).clipAngle(90),vt=(0,st.Z)(rt),St=ct.center;return delete ct.rotate,ct.center=function(Mt){return arguments.length?St(vt(Mt)):vt.invert(St())},ct}var al=F(6),Hi=F(7);function El(et,rt){var ct=O(7*m(rt)/(3*al));return[al*et*(2*v(2*ct/3)-1)/Hi,9*m(ct/3)/Hi]}function ad(){return(0,d.Z)(El).scale(164.859)}function Uc(et,rt){for(var ct,vt=(1+x)*m(rt),St=rt,Mt=0;Mt<25&&(St-=ct=(m(St/2)+m(St)-vt)/(.5*v(St/2)+v(St)),!(g(ct)C&&--ee>0);return[et/(.84719-.13063*(vt=Y*Y)+(Mt=vt*(St=vt*vt))*Mt*(.05494*vt-.04515-.02326*St+.00331*Mt)),Y]},Pu.invert=function(et,rt){for(var ct=rt/2,vt=0,St=1/0;vt<10&&g(St)>y;++vt){var Mt=v(rt/2);rt-=St=(rt-w(rt/2)-ct)/(1-.5/(Mt*Mt))}return[2*et/(1+v(rt)),rt]};var tu=[[[[-180,0],[-90,90],[0,0]],[[0,0],[90,90],[180,0]]],[[[-180,0],[-90,-90],[0,0]],[[0,0],[90,-90],[180,0]]]];function nu(){return Xi(ce(1/0),tu).rotate([20,0]).scale(152.63)}function Ou(et,rt){var ct=m(rt),vt=v(rt),St=c(et);if(et===0||g(rt)===k)return[0,rt];if(rt===0)return[et,0];if(g(et)===k)return[et*vt,k*ct];var Mt=_/(2*et)-2*et/_,Y=2*rt/_,ee=(1-Y*Y)/(ct-Y),K=Mt*Mt,le=ee*ee,Te=1+K/le,De=1+le/K,He=(Mt*ct/ee-Mt/2)/Te,Ze=(le*ct/K+ee/2)/De,at=Ze*Ze-(le*ct*ct/K+ee*ct-1)/De;return[k*(He+F(He*He+vt*vt/Te)*St),k*(Ze+F(at<0?0:at)*c(-rt*Mt)*St)]}function gc(){return(0,d.Z)(Ou).scale(127.267)}Ou.invert=function(et,rt){var ct=(et/=k)*et,vt=ct+(rt/=k)*rt,St=_*_;return[et?(vt-1+F((1-vt)*(1-vt)+4*ct))/(2*et)*k:0,me(function(Mt){return vt*(_*m(Mt)-2*Mt)*_+4*Mt*Mt*(rt-m(Mt))+2*_*Mt-St*rt},0)]};var vc=1.0148,gs=.23185,yc=-.14499,bc=.02406,Rh=1.790857183;function Ll(et,rt){var ct=rt*rt;return[et,rt*(vc+ct*ct*(gs+ct*(yc+bc*ct)))]}function Hc(){return(0,d.Z)(Ll).scale(139.319)}function xc(et,rt){if(g(rt)Rh?rt=Rh:rt<-1.790857183&&(rt=-1.790857183);var ct,vt=rt;do{var St=vt*vt;vt-=ct=(vt*(vc+St*St*(gs+St*(yc+bc*St)))-rt)/(1.0148+St*St*(1.1592500000000001+St*(.21654*St-1.01493)))}while(g(ct)>y);return[et,vt]},xc.invert=function(et,rt){if(g(rt)y&&--Mt>0);return Y=w(St),[(g(rt)=0;)if(tt=We[Ut],Xe[0]===tt[0]&&Xe[1]===tt[1]){if(mt)return[mt,Xe];mt=Xe}}}(K.face,le.face),De=(Tt=Te.map(le.project),At=Te.map(K.project),se=iu(Tt[1],Tt[0]),ve=iu(At[1],At[0]),Ie=function(Ue,We){return M(Ue[0]*We[1]-Ue[1]*We[0],Ue[0]*We[0]+Ue[1]*We[1])}(se,ve),Fe=Ki(se)/Ki(ve),ru([1,0,Tt[0][0],0,1,Tt[0][1]],ru([Fe,0,0,0,Fe,0],ru([v(Ie),m(Ie),0,-m(Ie),v(Ie),0],[1,0,-At[0][0],0,1,-At[0][1]]))));K.transform=le.transform?ru(le.transform,De):De;for(var He=le.edges,Ze=0,at=He.length;Ze0?[-vt[0],0]:[180-vt[0],180])};var rt=Us.map(function(ct){return{face:ct,project:et(ct)}});return[-1,0,0,1,0,1,4,5].forEach(function(ct,vt){var St=rt[ct];St&&(St.children||(St.children=[])).push(rt[vt])}),Il(rt[0],function(ct,vt){return rt[ct<-_/2?vt<0?6:4:ct<0?vt<0?2:0:ct<_/2?vt<0?3:1:vt<0?7:5]}).angle(-30).scale(121.906).center([0,48.5904])}function ou(et){et=et||function(Mt){var Y=Mt.length===6?(0,Ye.Z)({type:"MultiPoint",coordinates:Mt}):Mt[0];return(0,Bi.Z)().scale(1).translate([0,0]).rotate([-Y[0],-Y[1]])};var rt=Us.map(function(Mt){for(var Y,ee=Mt.map(da),K=ee.length,le=ee[K-1],Te=[],De=0;DeK^ve>K&&ee<(se-at)*(K-Tt)/(ve-Tt)+at&&(le=!le)}return le}(St[0],vt))return St.push(ct),!0})||et.push([ct])}),zo=[],et.length?et.length>1?{type:"MultiPolygon",coordinates:et}:{type:"Polygon",coordinates:et[0]}:null}};function $o(et){var rt=et(k,0)[0]-et(-k,0)[0];function ct(vt,St){var Mt=g(vt)0?vt-_:vt+_,St),ee=(Y[0]-Y[1])*x,K=(Y[0]+Y[1])*x;if(Mt)return[ee,K];var le=rt*x,Te=ee>0^K>0?-1:1;return[Te*ee-c(K)*le,Te*K-c(ee)*le]}return et.invert&&(ct.invert=function(vt,St){var Mt=(vt+St)*x,Y=(St-vt)*x,ee=g(Mt)<.5*rt&&g(Y)<.5*rt;if(!ee){var K=rt*x,le=Mt>0^Y>0?-1:1,Te=-le*vt+(Y>0?1:-1)*K,De=-le*St+(Mt>0?1:-1)*K;Mt=(-Te-De)*x,Y=(Te-De)*x}var He=et.invert(Mt,Y);return ee||(He[0]+=Mt>0?_:-_),He}),(0,d.Z)(ct).rotate([-90,-90,45]).clipAngle(179.999)}function qc(){return $o($n).scale(176.423)}function Wc(){return $o(Pn).scale(111.48)}function Lo(et,rt){if(!(0<=(rt=+rt)&&rt<=20))throw new Error("invalid digits");function ct(le){var Te=le.length,De=2,He=new Array(Te);for(He[0]=+le[0].toFixed(rt),He[1]=+le[1].toFixed(rt);De2||Ze[0]!=Te[0]||Ze[1]!=Te[1])&&(De.push(Ze),Te=Ze)}return De.length===1&&le.length>1&&De.push(ct(le[le.length-1])),De}function Mt(le){return le.map(St)}function Y(le){if(le==null)return le;var Te;switch(le.type){case"GeometryCollection":Te={type:"GeometryCollection",geometries:le.geometries.map(Y)};break;case"Point":Te={type:"Point",coordinates:ct(le.coordinates)};break;case"MultiPoint":Te={type:le.type,coordinates:vt(le.coordinates)};break;case"LineString":Te={type:le.type,coordinates:St(le.coordinates)};break;case"MultiLineString":case"Polygon":Te={type:le.type,coordinates:Mt(le.coordinates)};break;case"MultiPolygon":Te={type:"MultiPolygon",coordinates:le.coordinates.map(Mt)};break;default:return le}return le.bbox!=null&&(Te.bbox=le.bbox),Te}function ee(le){var Te={type:"Feature",properties:le.properties,geometry:Y(le.geometry)};return le.id!=null&&(Te.id=le.id),le.bbox!=null&&(Te.bbox=le.bbox),Te}if(et!=null)switch(et.type){case"Feature":return ee(et);case"FeatureCollection":var K={type:"FeatureCollection",features:et.features.map(ee)};return et.bbox!=null&&(K.bbox=et.bbox),K;default:return Y(et)}return et}function Dr(et){var rt=m(et);function ct(vt,St){var Mt=rt?w(vt*rt/2)/rt:vt/2;if(!St)return[2*Mt,-et];var Y=2*i(Mt*m(St)),ee=1/w(St);return[m(Y)*ee,St+(1-v(Y))*ee-et]}return ct.invert=function(vt,St){if(g(St+=et)y&&--K>0);var He=vt*(le=w(ee)),Ze=w(g(St)0?k:-k)*(le+Mt*(De-ee)/2+Mt*Mt*(De-2*le+ee)/2)]}function zu(){return(0,d.Z)(Yc).scale(152.63)}function Fu(et,rt){var ct=function(Y){function ee(K,le){var Te=v(le),De=(Y-1)/(Y-Te*v(K));return[De*Te*m(K),De*m(le)]}return ee.invert=function(K,le){var Te=K*K+le*le,De=F(Te),He=(Y-F(1-Te*(Y+1)/(Y-1)))/((Y-1)/De+De/(Y-1));return[M(K*He,De*F(1-He*He)),De?O(le*He/De):0]},ee}(et);if(!rt)return ct;var vt=v(rt),St=m(rt);function Mt(Y,ee){var K=ct(Y,ee),le=K[1],Te=le*St/(et-1)+vt;return[K[0]*vt/Te,le/Te]}return Mt.invert=function(Y,ee){var K=(et-1)/(et-1-ee*St);return ct.invert(K*Y,K*ee*vt)},Mt}function Bu(){var et=2,rt=0,ct=(0,d.r)(Fu),vt=ct(et,rt);return vt.distance=function(St){return arguments.length?ct(et=+St,rt):et},vt.tilt=function(St){return arguments.length?ct(et,rt=St*I):rt*R},vt.scale(432.147).clipAngle(z(1/et)*R-1e-6)}Fo.forEach(function(et){et[1]*=1.0144}),Yc.invert=function(et,rt){var ct=rt/k,vt=90*ct,St=o(18,g(vt/5)),Mt=u(0,l(St));do{var Y=Fo[Mt][1],ee=Fo[Mt+1][1],K=Fo[o(19,Mt+2)][1],le=K-Y,Te=K-2*ee+Y,De=2*(g(ct)-ee)/le,He=Te/le,Ze=De*(1-He*De*(1-2*He*De));if(Ze>=0||Mt===1){vt=(rt>=0?5:-5)*(Ze+St);var at,Tt=50;do Ze=(St=o(18,g(vt)/5))-(Mt=l(St)),Y=Fo[Mt][1],ee=Fo[Mt+1][1],K=Fo[o(19,Mt+2)][1],vt-=(at=(rt>=0?k:-k)*(ee+Ze*(K-Y)/2+Ze*Ze*(K-2*ee+Y)/2)-rt)*R;while(g(at)>C&&--Tt>0);break}}while(--Mt>=0);var At=Fo[Mt][0],se=Fo[Mt+1][0],ve=Fo[o(19,Mt+2)][0];return[et/(se+Ze*(ve-At)/2+Ze*Ze*(ve-2*se+At)/2),vt*I]};var Br=-179.9999,Nu=179.9999,ys=-89.9999,$c=89.9999;function wc(et){return et.length>0}function vo(et){return et===-90||et===90?[0,et]:[-180,(rt=et,Math.floor(1e4*rt)/1e4)];var rt}function cu(et){var rt=et[0],ct=et[1],vt=!1;return rt<=Br?(rt=-180,vt=!0):rt>=Nu&&(rt=180,vt=!0),ct<=ys?(ct=-90,vt=!0):ct>=$c&&(ct=90,vt=!0),vt?[rt,ct]:et}function ll(et){return et.map(cu)}function Zo(et,rt,ct){for(var vt=0,St=et.length;vt=Nu||Te<=ys||Te>=$c){Mt[Y]=cu(K);for(var De=Y+1;DeBr&&Zeys&&at<$c)break}if(De===Y+1)continue;if(Y){var Tt={index:-1,polygon:rt,ring:Mt.slice(0,Y+1)};Tt.ring[Tt.ring.length-1]=vo(Te),ct[ct.length-1]=Tt}else ct.pop();if(De>=ee)break;ct.push({index:-1,polygon:rt,ring:Mt=Mt.slice(De-1)}),Mt[0]=vo(Mt[0][1]),Y=-1,ee=Mt.length}}}}function Ol(et){var rt,ct,vt,St,Mt,Y,ee=et.length,K={},le={};for(rt=0;rt0?_-ee:ee)*R],le=(0,d.Z)(et(Y)).rotate(K),Te=(0,st.Z)(K),De=le.center;return delete le.rotate,le.center=function(He){return arguments.length?De(Te(He)):Te.invert(De())},le.clipAngle(90)}function Tc(et){var rt=v(et);function ct(vt,St){var Mt=(0,Bi.M)(vt,St);return Mt[0]*=rt,Mt}return ct.invert=function(vt,St){return Bi.M.invert(vt/rt,St)},ct}function os(){return _s([-158,21.5],[-77,39]).clipAngle(60).scale(400)}function _s(et,rt){return $i(Tc,et,rt)}function Gs(et){if(!(et*=2))return re.N;var rt=-et/2,ct=-rt,vt=et*et,St=w(ct),Mt=.5/m(ct);function Y(ee,K){var le=z(v(K)*v(ee-rt)),Te=z(v(K)*v(ee-ct));return[((le*=le)-(Te*=Te))/(2*et),(K<0?-1:1)*F(4*vt*Te-(vt-le+Te)*(vt-le+Te))/(2*et)]}return Y.invert=function(ee,K){var le,Te,De=K*K,He=v(F(De+(le=ee+rt)*le)),Ze=v(F(De+(le=ee+ct)*le));return[M(Te=He-Ze,le=(He+Ze)*St),(K<0?-1:1)*z(F(le*le+Te*Te)*Mt)]},Y}function Bo(){return Wi([-158,21.5],[-77,39]).clipAngle(130).scale(122.571)}function Wi(et,rt){return $i(Gs,et,rt)}function no(et,rt){if(g(rt)y&&--ee>0);return[c(et)*(F(St*St+4)+St)*_/4,k*Y]};var cl=4*_+3*F(3),Rs=2*F(2*_*F(3)/cl),xo=Me(Rs*F(3)/_,Rs,cl/6);function Zc(){return(0,d.Z)(xo).scale(176.84)}function Vo(et,rt){return[et*F(1-3*rt*rt/(_*_)),rt]}function ju(){return(0,d.Z)(Vo).scale(152.63)}function hl(et,rt){var ct=v(rt),vt=v(et)*ct,St=1-vt,Mt=v(et=M(m(et)*ct,-m(rt))),Y=m(et);return[Y*(ct=F(1-vt*vt))-Mt*St,-Mt*ct-Y*St]}function Ji(){return(0,d.Z)(hl).rotate([0,-90,45]).scale(124.75).clipAngle(179.999)}function la(et,rt){var ct=$(et,rt);return[(ct[0]+et/k)/2,(ct[1]+rt)/2]}function Xc(){return(0,d.Z)(la).scale(158.837)}Vo.invert=function(et,rt){return[et/F(1-3*rt*rt/(_*_)),rt]},hl.invert=function(et,rt){var ct=(et*et+rt*rt)/-2,vt=F(-ct*(2+ct)),St=rt*ct+et*vt,Mt=et*ct-rt*vt,Y=F(Mt*Mt+St*St);return[M(vt*St,Y*(1+ct)),Y?-O(vt*Mt/Y):0]},la.invert=function(et,rt){var ct=et,vt=rt,St=25;do{var Mt,Y=v(vt),ee=m(vt),K=m(2*vt),le=ee*ee,Te=Y*Y,De=m(ct),He=v(ct/2),Ze=m(ct/2),at=Ze*Ze,Tt=1-Te*He*He,At=Tt?z(Y*He)*F(Mt=1/Tt):Mt=0,se=.5*(2*At*Y*Ze+ct/k)-et,ve=.5*(At*ee+vt)-rt,Ie=.5*Mt*(Te*at+At*Y*He*le)+.5/k,Fe=Mt*(De*K/4-At*ee*Ze),Ue=.125*Mt*(K*Ze-At*ee*Te*De),We=.5*Mt*(le*He+At*at*Y)+.5,Xe=Fe*Ue-We*Ie,tt=(ve*Fe-se*We)/Xe,lt=(se*Ue-ve*Ie)/Xe;ct-=tt,vt-=lt}while((g(tt)>y||g(lt)>y)&&--St>0);return[ct,vt]}},33940:function(T,p,t){function d(){return new g}function g(){this.reset()}t.d(p,{Z:function(){return d}}),g.prototype={constructor:g,reset:function(){this.s=this.t=0},add:function(v){M(i,v,this.t),M(this,i.s,this.s),this.s?this.t+=i.t:this.s=i.t},valueOf:function(){return this.s}};var i=new g;function M(v,f,l){var a=v.s=f+l,u=a-f,o=a-u;v.t=f-o+(l-u)}},97860:function(T,p,t){t.d(p,{L9:function(){return o},ZP:function(){return C},gL:function(){return h}});var d,g,i,M,v,f=t(33940),l=t(39695),a=t(73182),u=t(72736),o=(0,f.Z)(),s=(0,f.Z)(),h={point:a.Z,lineStart:a.Z,lineEnd:a.Z,polygonStart:function(){o.reset(),h.lineStart=c,h.lineEnd=m},polygonEnd:function(){var _=+o;s.add(_<0?l.BZ+_:_),this.lineStart=this.lineEnd=this.point=a.Z},sphere:function(){s.add(l.BZ)}};function c(){h.point=w}function m(){y(d,g)}function w(_,k){h.point=y,d=_,g=k,_*=l.uR,k*=l.uR,i=_,M=(0,l.mC)(k=k/2+l.pu),v=(0,l.O$)(k)}function y(_,k){_*=l.uR,k=(k*=l.uR)/2+l.pu;var E=_-i,x=E>=0?1:-1,A=x*E,L=(0,l.mC)(k),b=(0,l.O$)(k),R=v*b,I=M*L+R*(0,l.mC)(A),O=R*x*(0,l.O$)(A);o.add((0,l.fv)(O,I)),i=_,M=L,v=b}function C(_){return s.reset(),(0,u.Z)(_,h),2*s}},77338:function(T,p,t){t.d(p,{Z:function(){return z}});var d,g,i,M,v,f,l,a,u,o,s=t(33940),h=t(97860),c=t(7620),m=t(39695),w=t(72736),y=(0,s.Z)(),C={point:_,lineStart:E,lineEnd:x,polygonStart:function(){C.point=A,C.lineStart=L,C.lineEnd=b,y.reset(),h.gL.polygonStart()},polygonEnd:function(){h.gL.polygonEnd(),C.point=_,C.lineStart=E,C.lineEnd=x,h.L9<0?(d=-(i=180),g=-(M=90)):y>m.Ho?M=90:y<-m.Ho&&(g=-90),o[0]=d,o[1]=i},sphere:function(){d=-(i=180),g=-(M=90)}};function _(F,B){u.push(o=[d=F,i=F]),BM&&(M=B)}function k(F,B){var N=(0,c.Og)([F*m.uR,B*m.uR]);if(a){var W=(0,c.T5)(a,N),j=[W[1],-W[0],0],$=(0,c.T5)(j,W);(0,c.iJ)($),$=(0,c.Y1)($);var U,G=F-v,q=G>0?1:-1,H=$[0]*m.RW*q,ne=(0,m.Wn)(G)>180;ne^(q*vM&&(M=U):ne^(q*v<(H=(H+360)%360-180)&&HM&&(M=B)),ne?FR(d,i)&&(i=F):R(F,i)>R(d,i)&&(d=F):i>=d?(Fi&&(i=F)):F>v?R(d,F)>R(d,i)&&(i=F):R(F,i)>R(d,i)&&(d=F)}else u.push(o=[d=F,i=F]);BM&&(M=B),a=N,v=F}function E(){C.point=k}function x(){o[0]=d,o[1]=i,C.point=_,a=null}function A(F,B){if(a){var N=F-v;y.add((0,m.Wn)(N)>180?N+(N>0?360:-360):N)}else f=F,l=B;h.gL.point(F,B),k(F,B)}function L(){h.gL.lineStart()}function b(){A(f,l),h.gL.lineEnd(),(0,m.Wn)(y)>m.Ho&&(d=-(i=180)),o[0]=d,o[1]=i,a=null}function R(F,B){return(B-=F)<0?B+360:B}function I(F,B){return F[0]-B[0]}function O(F,B){return F[0]<=F[1]?F[0]<=B&&B<=F[1]:BR(W[0],W[1])&&(W[1]=j[1]),R(j[0],W[1])>R(W[0],W[1])&&(W[0]=j[0])):$.push(W=j);for(U=-1/0,B=0,W=$[N=$.length-1];B<=N;W=j,++B)j=$[B],(G=R(W[1],j[0]))>U&&(U=G,d=j[0],i=W[1])}return u=o=null,d===1/0||g===1/0?[[NaN,NaN],[NaN,NaN]]:[[d,g],[i,M]]}},7620:function(T,p,t){t.d(p,{Og:function(){return i},T:function(){return l},T5:function(){return v},Y1:function(){return g},iJ:function(){return a},j9:function(){return M},s0:function(){return f}});var d=t(39695);function g(u){return[(0,d.fv)(u[1],u[0]),(0,d.ZR)(u[2])]}function i(u){var o=u[0],s=u[1],h=(0,d.mC)(s);return[h*(0,d.mC)(o),h*(0,d.O$)(o),(0,d.O$)(s)]}function M(u,o){return u[0]*o[0]+u[1]*o[1]+u[2]*o[2]}function v(u,o){return[u[1]*o[2]-u[2]*o[1],u[2]*o[0]-u[0]*o[2],u[0]*o[1]-u[1]*o[0]]}function f(u,o){u[0]+=o[0],u[1]+=o[1],u[2]+=o[2]}function l(u,o){return[u[0]*o,u[1]*o,u[2]*o]}function a(u){var o=(0,d._b)(u[0]*u[0]+u[1]*u[1]+u[2]*u[2]);u[0]/=o,u[1]/=o,u[2]/=o}},66624:function(T,p,t){t.d(p,{Z:function(){return N}});var d,g,i,M,v,f,l,a,u,o,s,h,c,m,w,y,C=t(39695),_=t(73182),k=t(72736),E={sphere:_.Z,point:x,lineStart:L,lineEnd:I,polygonStart:function(){E.lineStart=O,E.lineEnd=z},polygonEnd:function(){E.lineStart=L,E.lineEnd=I}};function x(W,j){W*=C.uR,j*=C.uR;var $=(0,C.mC)(j);A($*(0,C.mC)(W),$*(0,C.O$)(W),(0,C.O$)(j))}function A(W,j,$){++d,i+=(W-i)/d,M+=(j-M)/d,v+=($-v)/d}function L(){E.point=b}function b(W,j){W*=C.uR,j*=C.uR;var $=(0,C.mC)(j);m=$*(0,C.mC)(W),w=$*(0,C.O$)(W),y=(0,C.O$)(j),E.point=R,A(m,w,y)}function R(W,j){W*=C.uR,j*=C.uR;var $=(0,C.mC)(j),U=$*(0,C.mC)(W),G=$*(0,C.O$)(W),q=(0,C.O$)(j),H=(0,C.fv)((0,C._b)((H=w*q-y*G)*H+(H=y*U-m*q)*H+(H=m*G-w*U)*H),m*U+w*G+y*q);g+=H,f+=H*(m+(m=U)),l+=H*(w+(w=G)),a+=H*(y+(y=q)),A(m,w,y)}function I(){E.point=x}function O(){E.point=F}function z(){B(h,c),E.point=x}function F(W,j){h=W,c=j,W*=C.uR,j*=C.uR,E.point=B;var $=(0,C.mC)(j);m=$*(0,C.mC)(W),w=$*(0,C.O$)(W),y=(0,C.O$)(j),A(m,w,y)}function B(W,j){W*=C.uR,j*=C.uR;var $=(0,C.mC)(j),U=$*(0,C.mC)(W),G=$*(0,C.O$)(W),q=(0,C.O$)(j),H=w*q-y*G,ne=y*U-m*q,te=m*G-w*U,Z=(0,C._b)(H*H+ne*ne+te*te),X=(0,C.ZR)(Z),Q=Z&&-X/Z;u+=Q*H,o+=Q*ne,s+=Q*te,g+=X,f+=X*(m+(m=U)),l+=X*(w+(w=G)),a+=X*(y+(y=q)),A(m,w,y)}function N(W){d=g=i=M=v=f=l=a=u=o=s=0,(0,k.Z)(W,E);var j=u,$=o,U=s,G=j*j+$*$+U*U;return G0?hc)&&(h+=s*i.BZ));for(var C,_=h;s>0?_>c:_0?g.pi:-g.pi,s=(0,g.Wn)(a-v);(0,g.Wn)(s-g.pi)0?g.ou:-g.ou),i.point(l,f),i.lineEnd(),i.lineStart(),i.point(o,f),i.point(a,f),M=0):l!==o&&s>=g.pi&&((0,g.Wn)(v-l)g.Ho?(0,g.z4)(((0,g.O$)(c)*(C=(0,g.mC)(w))*(0,g.O$)(m)-(0,g.O$)(w)*(y=(0,g.mC)(c))*(0,g.O$)(h))/(y*C*_)):(c+w)/2}(v,f,a,u),i.point(l,f),i.lineEnd(),i.lineStart(),i.point(o,f),M=0),i.point(v=a,f=u),l=o},lineEnd:function(){i.lineEnd(),v=f=NaN},clean:function(){return 2-M}}},function(i,M,v,f){var l;if(i==null)l=v*g.ou,f.point(-g.pi,l),f.point(0,l),f.point(g.pi,l),f.point(g.pi,0),f.point(g.pi,-l),f.point(0,-l),f.point(-g.pi,-l),f.point(-g.pi,0),f.point(-g.pi,l);else if((0,g.Wn)(i[0]-M[0])>g.Ho){var a=i[0]1&&M.push(M.pop().concat(M.shift()))},result:function(){var v=M;return M=[],i=null,v}}}},1457:function(T,p,t){t.d(p,{Z:function(){return f}});var d=t(7620),g=t(7613),i=t(39695),M=t(67108),v=t(97023);function f(l){var a=(0,i.mC)(l),u=6*i.uR,o=a>0,s=(0,i.Wn)(a)>i.Ho;function h(w,y){return(0,i.mC)(w)*(0,i.mC)(y)>a}function c(w,y,C){var _=(0,d.Og)(w),k=(0,d.Og)(y),E=[1,0,0],x=(0,d.T5)(_,k),A=(0,d.j9)(x,x),L=x[0],b=A-L*L;if(!b)return!C&&w;var R=a*A/b,I=-a*L/b,O=(0,d.T5)(E,x),z=(0,d.T)(E,R),F=(0,d.T)(x,I);(0,d.s0)(z,F);var B=O,N=(0,d.j9)(z,B),W=(0,d.j9)(B,B),j=N*N-W*((0,d.j9)(z,z)-1);if(!(j<0)){var $=(0,i._b)(j),U=(0,d.T)(B,(-N-$)/W);if((0,d.s0)(U,z),U=(0,d.Y1)(U),!C)return U;var G,q=w[0],H=y[0],ne=w[1],te=y[1];H0^U[1]<((0,i.Wn)(U[0]-q)i.pi^(q<=U[0]&&U[0]<=H)){var Q=(0,d.T)(B,(-N+$)/W);return(0,d.s0)(Q,z),[U,(0,d.Y1)(Q)]}}}function m(w,y){var C=o?l:i.pi-l,_=0;return w<-C?_|=1:w>C&&(_|=2),y<-C?_|=4:y>C&&(_|=8),_}return(0,v.Z)(h,function(w){var y,C,_,k,E;return{lineStart:function(){k=_=!1,E=1},point:function(x,A){var L,b=[x,A],R=h(x,A),I=o?R?0:m(x,A):R?m(x+(x<0?i.pi:-i.pi),A):0;if(!y&&(k=_=R)&&w.lineStart(),R!==_&&(!(L=c(y,b))||(0,M.Z)(y,L)||(0,M.Z)(b,L))&&(b[2]=1),R!==_)E=0,R?(w.lineStart(),L=c(b,y),w.point(L[0],L[1])):(L=c(y,b),w.point(L[0],L[1],2),w.lineEnd()),y=L;else if(s&&y&&o^R){var O;I&C||!(O=c(b,y,!0))||(E=0,o?(w.lineStart(),w.point(O[0][0],O[0][1]),w.point(O[1][0],O[1][1]),w.lineEnd()):(w.point(O[1][0],O[1][1]),w.lineEnd(),w.lineStart(),w.point(O[0][0],O[0][1],3)))}!R||y&&(0,M.Z)(y,b)||w.point(b[0],b[1]),y=b,_=R,C=I},lineEnd:function(){_&&w.lineEnd(),y=null},clean:function(){return E|(k&&_)<<1}}},function(w,y,C,_){(0,g.m)(_,l,u,C,w,y)},o?[0,-l]:[-i.pi,l-i.pi])}},97023:function(T,p,t){t.d(p,{Z:function(){return f}});var d=t(85272),g=t(46225),i=t(39695),M=t(23071),v=t(33064);function f(u,o,s,h){return function(c){var m,w,y,C=o(c),_=(0,d.Z)(),k=o(_),E=!1,x={point:A,lineStart:b,lineEnd:R,polygonStart:function(){x.point=I,x.lineStart=O,x.lineEnd=z,w=[],m=[]},polygonEnd:function(){x.point=A,x.lineStart=b,x.lineEnd=R,w=(0,v.TS)(w);var F=(0,M.Z)(m,h);w.length?(E||(c.polygonStart(),E=!0),(0,g.Z)(w,a,F,s,c)):F&&(E||(c.polygonStart(),E=!0),c.lineStart(),s(null,null,1,c),c.lineEnd()),E&&(c.polygonEnd(),E=!1),w=m=null},sphere:function(){c.polygonStart(),c.lineStart(),s(null,null,1,c),c.lineEnd(),c.polygonEnd()}};function A(F,B){u(F,B)&&c.point(F,B)}function L(F,B){C.point(F,B)}function b(){x.point=L,C.lineStart()}function R(){x.point=A,C.lineEnd()}function I(F,B){y.push([F,B]),k.point(F,B)}function O(){k.lineStart(),y=[]}function z(){I(y[0][0],y[0][1]),k.lineEnd();var F,B,N,W,j=k.clean(),$=_.result(),U=$.length;if(y.pop(),m.push(y),y=null,U)if(1&j){if((B=(N=$[0]).length-1)>0){for(E||(c.polygonStart(),E=!0),c.lineStart(),F=0;F1&&2&j&&$.push($.pop().concat($.shift())),w.push($.filter(l))}return x}}function l(u){return u.length>1}function a(u,o){return((u=u.x)[0]<0?u[1]-i.ou-i.Ho:i.ou-u[1])-((o=o.x)[0]<0?o[1]-i.ou-i.Ho:i.ou-o[1])}},87605:function(T,p,t){t.d(p,{Z:function(){return l}});var d=t(39695),g=t(85272),i=t(46225),M=t(33064),v=1e9,f=-v;function l(a,u,o,s){function h(C,_){return a<=C&&C<=o&&u<=_&&_<=s}function c(C,_,k,E){var x=0,A=0;if(C==null||(x=m(C,k))!==(A=m(_,k))||y(C,_)<0^k>0)do E.point(x===0||x===3?a:o,x>1?s:u);while((x=(x+k+4)%4)!==A);else E.point(_[0],_[1])}function m(C,_){return(0,d.Wn)(C[0]-a)0?0:3:(0,d.Wn)(C[0]-o)0?2:1:(0,d.Wn)(C[1]-u)0?1:0:_>0?3:2}function w(C,_){return y(C.x,_.x)}function y(C,_){var k=m(C,1),E=m(_,1);return k!==E?k-E:k===0?_[1]-C[1]:k===1?C[0]-_[0]:k===2?C[1]-_[1]:_[0]-C[0]}return function(C){var _,k,E,x,A,L,b,R,I,O,z,F=C,B=(0,g.Z)(),N={point:W,lineStart:function(){N.point=j,k&&k.push(E=[]),O=!0,I=!1,b=R=NaN},lineEnd:function(){_&&(j(x,A),L&&I&&B.rejoin(),_.push(B.result())),N.point=W,I&&F.lineEnd()},polygonStart:function(){F=B,_=[],k=[],z=!0},polygonEnd:function(){var $=function(){for(var q=0,H=0,ne=k.length;Hs&&(oe-te)*(s-Z)>(ue-Z)*(a-te)&&++q:ue<=s&&(oe-te)*(s-Z)<(ue-Z)*(a-te)&&--q;return q}(),U=z&&$,G=(_=(0,M.TS)(_)).length;(U||G)&&(C.polygonStart(),U&&(C.lineStart(),c(null,null,1,C),C.lineEnd()),G&&(0,i.Z)(_,w,$,c,C),C.polygonEnd()),F=C,_=k=E=null}};function W($,U){h($,U)&&F.point($,U)}function j($,U){var G=h($,U);if(k&&E.push([$,U]),O)x=$,A=U,L=G,O=!1,G&&(F.lineStart(),F.point($,U));else if(G&&I)F.point($,U);else{var q=[b=Math.max(f,Math.min(v,b)),R=Math.max(f,Math.min(v,R))],H=[$=Math.max(f,Math.min(v,$)),U=Math.max(f,Math.min(v,U))];(function(ne,te,Z,X,Q,re){var ie,oe=ne[0],ue=ne[1],ce=0,ye=1,de=te[0]-oe,me=te[1]-ue;if(ie=Z-oe,de||!(ie>0)){if(ie/=de,de<0){if(ie0){if(ie>ye)return;ie>ce&&(ce=ie)}if(ie=Q-oe,de||!(ie<0)){if(ie/=de,de<0){if(ie>ye)return;ie>ce&&(ce=ie)}else if(de>0){if(ie0)){if(ie/=me,me<0){if(ie0){if(ie>ye)return;ie>ce&&(ce=ie)}if(ie=re-ue,me||!(ie<0)){if(ie/=me,me<0){if(ie>ye)return;ie>ce&&(ce=ie)}else if(me>0){if(ie0&&(ne[0]=oe+ce*de,ne[1]=ue+ce*me),ye<1&&(te[0]=oe+ye*de,te[1]=ue+ye*me),!0}}}}})(q,H,a,u,o,s)?(I||(F.lineStart(),F.point(q[0],q[1])),F.point(H[0],H[1]),G||F.lineEnd(),z=!1):G&&(F.lineStart(),F.point($,U),z=!1)}b=$,R=U,I=G}return N}}},46225:function(T,p,t){t.d(p,{Z:function(){return M}});var d=t(67108),g=t(39695);function i(f,l,a,u){this.x=f,this.z=l,this.o=a,this.e=u,this.v=!1,this.n=this.p=null}function M(f,l,a,u,o){var s,h,c=[],m=[];if(f.forEach(function(E){if(!((x=E.length-1)<=0)){var x,A,L=E[0],b=E[x];if((0,d.Z)(L,b)){if(!L[2]&&!b[2]){for(o.lineStart(),s=0;s=0;--s)o.point((y=w[s])[0],y[1]);else u(_.x,_.p.x,-1,o);_=_.p}w=(_=_.o).z,k=!k}while(!_.v);o.lineEnd()}}}function v(f){if(l=f.length){for(var l,a,u=0,o=f[0];++u0&&(Un=R(Kt[Kn],Kt[Kn-1]))>0&&Rn<=Un&&Ln<=Un&&(Rn+Ln-Un)*(1-Math.pow((Rn-Ln)/Un,2))m.Ho}).map(mr)).concat((0,U.w6)((0,m.mD)(Kn/hn)*hn,Un,hn).filter(function(gn){return(0,m.Wn)(gn%On)>m.Ho}).map(nn))}return mn.lines=function(){return wn().map(function(gn){return{type:"LineString",coordinates:gn}})},mn.outline=function(){return{type:"Polygon",coordinates:[Pn(Ln).concat(jt($n).slice(1),Pn(Rn).reverse().slice(1),jt(tr).reverse().slice(1))]}},mn.extent=function(gn){return arguments.length?mn.extentMajor(gn).extentMinor(gn):mn.extentMinor()},mn.extentMajor=function(gn){return arguments.length?(Ln=+gn[0][0],Rn=+gn[1][0],tr=+gn[0][1],$n=+gn[1][1],Ln>Rn&&(gn=Ln,Ln=Rn,Rn=gn),tr>$n&&(gn=tr,tr=$n,$n=gn),mn.precision(En)):[[Ln,tr],[Rn,$n]]},mn.extentMinor=function(gn){return arguments.length?(bn=+gn[0][0],Kt=+gn[1][0],Kn=+gn[0][1],Un=+gn[1][1],bn>Kt&&(gn=bn,bn=Kt,Kt=gn),Kn>Un&&(gn=Kn,Kn=Un,Un=gn),mn.precision(En)):[[bn,Kn],[Kt,Un]]},mn.step=function(gn){return arguments.length?mn.stepMajor(gn).stepMinor(gn):mn.stepMinor()},mn.stepMajor=function(gn){return arguments.length?(zn=+gn[0],On=+gn[1],mn):[zn,On]},mn.stepMinor=function(gn){return arguments.length?(Jt=+gn[0],hn=+gn[1],mn):[Jt,hn]},mn.precision=function(gn){return arguments.length?(En=+gn,mr=G(Kn,Un,90),nn=q(bn,Kt,En),Pn=G(tr,$n,90),jt=q(Ln,Rn,En),mn):En},mn.extentMajor([[-180,-90+m.Ho],[180,90-m.Ho]]).extentMinor([[-180,-80-m.Ho],[180,80+m.Ho]])}function ne(){return H()()}var te,Z,X,Q,re=t(83074),ie=t(8593),oe=(0,c.Z)(),ue=(0,c.Z)(),ce={point:w.Z,lineStart:w.Z,lineEnd:w.Z,polygonStart:function(){ce.lineStart=ye,ce.lineEnd=pe},polygonEnd:function(){ce.lineStart=ce.lineEnd=ce.point=w.Z,oe.add((0,m.Wn)(ue)),ue.reset()},result:function(){var Kt=oe/2;return oe.reset(),Kt}};function ye(){ce.point=de}function de(Kt,bn){ce.point=me,te=X=Kt,Z=Q=bn}function me(Kt,bn){ue.add(Q*Kt-X*bn),X=Kt,Q=bn}function pe(){me(te,Z)}var xe,Pe,_e,Me,Se=ce,Ce=t(3559),ae=0,fe=0,be=0,ke=0,Le=0,Be=0,ze=0,je=0,ge=0,we={point:Ee,lineStart:Ve,lineEnd:st,polygonStart:function(){we.lineStart=ot,we.lineEnd=ht},polygonEnd:function(){we.point=Ee,we.lineStart=Ve,we.lineEnd=st},result:function(){var Kt=ge?[ze/ge,je/ge]:Be?[ke/Be,Le/Be]:be?[ae/be,fe/be]:[NaN,NaN];return ae=fe=be=ke=Le=Be=ze=je=ge=0,Kt}};function Ee(Kt,bn){ae+=Kt,fe+=bn,++be}function Ve(){we.point=$e}function $e(Kt,bn){we.point=Ye,Ee(_e=Kt,Me=bn)}function Ye(Kt,bn){var Rn=Kt-_e,Ln=bn-Me,Un=(0,m._b)(Rn*Rn+Ln*Ln);ke+=Un*(_e+Kt)/2,Le+=Un*(Me+bn)/2,Be+=Un,Ee(_e=Kt,Me=bn)}function st(){we.point=Ee}function ot(){we.point=bt}function ht(){Et(xe,Pe)}function bt(Kt,bn){we.point=Et,Ee(xe=_e=Kt,Pe=Me=bn)}function Et(Kt,bn){var Rn=Kt-_e,Ln=bn-Me,Un=(0,m._b)(Rn*Rn+Ln*Ln);ke+=Un*(_e+Kt)/2,Le+=Un*(Me+bn)/2,Be+=Un,ze+=(Un=Me*Kt-_e*bn)*(_e+Kt),je+=Un*(Me+bn),ge+=3*Un,Ee(_e=Kt,Me=bn)}var kt=we;function xt(Kt){this._context=Kt}xt.prototype={_radius:4.5,pointRadius:function(Kt){return this._radius=Kt,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._context.closePath(),this._point=NaN},point:function(Kt,bn){switch(this._point){case 0:this._context.moveTo(Kt,bn),this._point=1;break;case 1:this._context.lineTo(Kt,bn);break;default:this._context.moveTo(Kt+this._radius,bn),this._context.arc(Kt,bn,this._radius,0,m.BZ)}},result:w.Z};var Ft,Ot,Bt,qt,Vt,Ke=(0,c.Z)(),Je={point:w.Z,lineStart:function(){Je.point=qe},lineEnd:function(){Ft&&nt(Ot,Bt),Je.point=w.Z},polygonStart:function(){Ft=!0},polygonEnd:function(){Ft=null},result:function(){var Kt=+Ke;return Ke.reset(),Kt}};function qe(Kt,bn){Je.point=nt,Ot=qt=Kt,Bt=Vt=bn}function nt(Kt,bn){qt-=Kt,Vt-=bn,Ke.add((0,m._b)(qt*qt+Vt*Vt)),qt=Kt,Vt=bn}var ft=Je;function Re(){this._string=[]}function Ne(Kt){return"m0,"+Kt+"a"+Kt+","+Kt+" 0 1,1 0,"+-2*Kt+"a"+Kt+","+Kt+" 0 1,1 0,"+2*Kt+"z"}function Qe(Kt,bn){var Rn,Ln,Un=4.5;function Kn($n){return $n&&(typeof Un=="function"&&Ln.pointRadius(+Un.apply(this,arguments)),(0,y.Z)($n,Rn(Ln))),Ln.result()}return Kn.area=function($n){return(0,y.Z)($n,Rn(Se)),Se.result()},Kn.measure=function($n){return(0,y.Z)($n,Rn(ft)),ft.result()},Kn.bounds=function($n){return(0,y.Z)($n,Rn(Ce.Z)),Ce.Z.result()},Kn.centroid=function($n){return(0,y.Z)($n,Rn(kt)),kt.result()},Kn.projection=function($n){return arguments.length?(Rn=$n==null?(Kt=null,ie.Z):(Kt=$n).stream,Kn):Kt},Kn.context=function($n){return arguments.length?(Ln=$n==null?(bn=null,new Re):new xt(bn=$n),typeof Un!="function"&&Ln.pointRadius(Un),Kn):bn},Kn.pointRadius=function($n){return arguments.length?(Un=typeof $n=="function"?$n:(Ln.pointRadius(+$n),+$n),Kn):Un},Kn.projection(Kt).context(bn)}Re.prototype={_radius:4.5,_circle:Ne(4.5),pointRadius:function(Kt){return(Kt=+Kt)!==this._radius&&(this._radius=Kt,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._string.push("Z"),this._point=NaN},point:function(Kt,bn){switch(this._point){case 0:this._string.push("M",Kt,",",bn),this._point=1;break;case 1:this._string.push("L",Kt,",",bn);break;default:this._circle==null&&(this._circle=Ne(this._radius)),this._string.push("M",Kt,",",bn,this._circle)}},result:function(){if(this._string.length){var Kt=this._string.join("");return this._string=[],Kt}return null}};var ut=t(15002);function dt(Kt){var bn=0,Rn=m.pi/3,Ln=(0,ut.r)(Kt),Un=Ln(bn,Rn);return Un.parallels=function(Kn){return arguments.length?Ln(bn=Kn[0]*m.uR,Rn=Kn[1]*m.uR):[bn*m.RW,Rn*m.RW]},Un}function _t(Kt,bn){var Rn=(0,m.O$)(Kt),Ln=(Rn+(0,m.O$)(bn))/2;if((0,m.Wn)(Ln)=.12&&En<.234&&On>=-.425&&On<-.214?tr:En>=.166&&En<.234&&On>=-.214&&On<-.115?mr:$n).invert(Jt)},Pn.stream=function(Jt){return Kt&&bn===Jt?Kt:(hn=[$n.stream(bn=Jt),tr.stream(Jt),mr.stream(Jt)],zn=hn.length,Kt={point:function(On,En){for(var mn=-1;++mn0?tr<-m.ou+m.Ho&&(tr=-m.ou+m.Ho):tr>m.ou-m.Ho&&(tr=m.ou-m.Ho);var mr=Un/(0,m.sQ)(Qt(tr),Ln);return[mr*(0,m.O$)(Ln*$n),Un-mr*(0,m.mC)(Ln*$n)]}return Kn.invert=function($n,tr){var mr=Un-tr,nn=(0,m.Xx)(Ln)*(0,m._b)($n*$n+mr*mr),Pn=(0,m.fv)($n,(0,m.Wn)(mr))*(0,m.Xx)(mr);return mr*Ln<0&&(Pn-=m.pi*(0,m.Xx)($n)*(0,m.Xx)(mr)),[Pn/Ln,2*(0,m.z4)((0,m.sQ)(Un/nn,1/Ln))-m.ou]},Kn}function xn(){return dt(rn).scale(109.5).parallels([30,30])}Yt.invert=function(Kt,bn){return[Kt,2*(0,m.z4)((0,m.Qq)(bn))-m.ou]};var un=t(97492);function An(Kt,bn){var Rn=(0,m.mC)(Kt),Ln=Kt===bn?(0,m.O$)(Kt):(Rn-(0,m.mC)(bn))/(bn-Kt),Un=Rn/Ln+Kt;if((0,m.Wn)(Ln)2?Ln[2]+90:90]):[(Ln=Rn())[0],Ln[1],Ln[2]-90]},Rn([0,0,90]).scale(159.155)}yr.invert=(0,Sr.O)(function(Kt){return 2*(0,m.z4)(Kt)}),vr.invert=function(Kt,bn){return[-bn,2*(0,m.z4)((0,m.Qq)(Kt))-m.ou]}},83074:function(T,p,t){t.d(p,{Z:function(){return g}});var d=t(39695);function g(i,M){var v=i[0]*d.uR,f=i[1]*d.uR,l=M[0]*d.uR,a=M[1]*d.uR,u=(0,d.mC)(f),o=(0,d.O$)(f),s=(0,d.mC)(a),h=(0,d.O$)(a),c=u*(0,d.mC)(v),m=u*(0,d.O$)(v),w=s*(0,d.mC)(l),y=s*(0,d.O$)(l),C=2*(0,d.ZR)((0,d._b)((0,d.Jy)(a-f)+u*s*(0,d.Jy)(l-v))),_=(0,d.O$)(C),k=C?function(E){var x=(0,d.O$)(E*=C)/_,A=(0,d.O$)(C-E)/_,L=A*c+x*w,b=A*m+x*y,R=A*o+x*h;return[(0,d.fv)(b,L)*d.RW,(0,d.fv)(R,(0,d._b)(L*L+b*b))*d.RW]}:function(){return[v*d.RW,f*d.RW]};return k.distance=C,k}},39695:function(T,p,t){t.d(p,{BZ:function(){return f},Ho:function(){return d},Jy:function(){return L},Kh:function(){return x},O$:function(){return C},OR:function(){return E},Qq:function(){return m},RW:function(){return l},Wn:function(){return u},Xx:function(){return _},ZR:function(){return A},_b:function(){return k},aW:function(){return g},cM:function(){return w},fv:function(){return s},mC:function(){return h},mD:function(){return c},ou:function(){return M},pi:function(){return i},pu:function(){return v},sQ:function(){return y},uR:function(){return a},z4:function(){return o}});var d=1e-6,g=1e-12,i=Math.PI,M=i/2,v=i/4,f=2*i,l=180/i,a=i/180,u=Math.abs,o=Math.atan,s=Math.atan2,h=Math.cos,c=Math.ceil,m=Math.exp,w=Math.log,y=Math.pow,C=Math.sin,_=Math.sign||function(b){return b>0?1:b<0?-1:0},k=Math.sqrt,E=Math.tan;function x(b){return b>1?0:b<-1?i:Math.acos(b)}function A(b){return b>1?M:b<-1?-M:Math.asin(b)}function L(b){return(b=C(b/2))*b}},73182:function(T,p,t){function d(){}t.d(p,{Z:function(){return d}})},3559:function(T,p,t){var d=t(73182),g=1/0,i=g,M=-g,v=M,f={point:function(l,a){lM&&(M=l),av&&(v=a)},lineStart:d.Z,lineEnd:d.Z,polygonStart:d.Z,polygonEnd:d.Z,result:function(){var l=[[g,i],[M,v]];return M=v=-(i=g=1/0),l}};p.Z=f},67108:function(T,p,t){t.d(p,{Z:function(){return g}});var d=t(39695);function g(i,M){return(0,d.Wn)(i[0]-M[0])=0?1:-1,W=N*B,j=W>i.pi,$=A*z;if(M.add((0,i.fv)($*N*(0,i.O$)(W),L*F+$*(0,i.mC)(W))),c+=j?B+N*i.BZ:B,j^E>=u^I>=u){var U=(0,g.T5)((0,g.Og)(k),(0,g.Og)(R));(0,g.iJ)(U);var G=(0,g.T5)(h,U);(0,g.iJ)(G);var q=(j^B>=0?-1:1)*(0,i.ZR)(G[2]);(o>q||o===q&&(U[0]||U[1]))&&(m+=j^B>=0?1:-1)}}return(c<-i.Ho||c4*x&&U--){var te=I+W,Z=O+j,X=z+$,Q=(0,f._b)(te*te+Z*Z+X*X),re=(0,f.ZR)(X/=Q),ie=(0,f.Wn)((0,f.Wn)(X)-1)x||(0,f.Wn)((q*ye+H*de)/ne-.5)>.3||I*W+O*j+z*$2?ye[2]%360*f.uR:0,ue()):[$*f.RW,U*f.RW,G*f.RW]},ie.angle=function(ye){return arguments.length?(q=ye%360*f.uR,ue()):q*f.RW},ie.reflectX=function(ye){return arguments.length?(H=ye?-1:1,ue()):H<0},ie.reflectY=function(ye){return arguments.length?(ne=ye?-1:1,ue()):ne<0},ie.precision=function(ye){return arguments.length?(b=h(R,re=ye*ye),ce()):(0,f._b)(re)},ie.fitExtent=function(ye,de){return(0,u.qg)(ie,ye,de)},ie.fitSize=function(ye,de){return(0,u.mF)(ie,ye,de)},ie.fitWidth=function(ye,de){return(0,u.V6)(ie,ye,de)},ie.fitHeight=function(ye,de){return(0,u.rf)(ie,ye,de)},function(){return k=_.apply(this,arguments),ie.invert=k.invert&&oe,ue()}}},26867:function(T,p,t){t.d(p,{K:function(){return i},Z:function(){return M}});var d=t(15002),g=t(39695);function i(v,f){var l=f*f,a=l*l;return[v*(.8707-.131979*l+a*(a*(.003971*l-.001529*a)-.013791)),f*(1.007226+l*(.015085+a*(.028874*l-.044475-.005916*a)))]}function M(){return(0,d.Z)(i).scale(175.295)}i.invert=function(v,f){var l,a=f,u=25;do{var o=a*a,s=o*o;a-=l=(a*(1.007226+o*(.015085+s*(.028874*o-.044475-.005916*s)))-f)/(1.007226+o*(.045255+s*(.259866*o-.311325-.06507600000000001*s)))}while((0,g.Wn)(l)>g.Ho&&--u>0);return[v/(.8707+(o=a*a)*(o*(o*o*o*(.003971-.001529*o)-.013791)-.131979)),a]}},57962:function(T,p,t){t.d(p,{I:function(){return M},Z:function(){return v}});var d=t(39695),g=t(25382),i=t(15002);function M(f,l){return[(0,d.mC)(l)*(0,d.O$)(f),(0,d.O$)(l)]}function v(){return(0,i.Z)(M).scale(249.5).clipAngle(90+d.Ho)}M.invert=(0,g.O)(d.ZR)},49386:function(T,p,t){t.d(p,{I:function(){return M},Z:function(){return a}});var d=t(96059),g=t(39695);function i(u,o){return[(0,g.Wn)(u)>g.pi?u+Math.round(-u/g.BZ)*g.BZ:u,o]}function M(u,o,s){return(u%=g.BZ)?o||s?(0,d.Z)(f(u),l(o,s)):f(u):o||s?l(o,s):i}function v(u){return function(o,s){return[(o+=u)>g.pi?o-g.BZ:o<-g.pi?o+g.BZ:o,s]}}function f(u){var o=v(u);return o.invert=v(-u),o}function l(u,o){var s=(0,g.mC)(u),h=(0,g.O$)(u),c=(0,g.mC)(o),m=(0,g.O$)(o);function w(y,C){var _=(0,g.mC)(C),k=(0,g.mC)(y)*_,E=(0,g.O$)(y)*_,x=(0,g.O$)(C),A=x*s+k*h;return[(0,g.fv)(E*c-A*m,k*s-x*h),(0,g.ZR)(A*c+E*m)]}return w.invert=function(y,C){var _=(0,g.mC)(C),k=(0,g.mC)(y)*_,E=(0,g.O$)(y)*_,x=(0,g.O$)(C),A=x*c-E*m;return[(0,g.fv)(E*c+x*m,k*s+A*h),(0,g.ZR)(A*s-k*h)]},w}function a(u){function o(s){return(s=u(s[0]*g.uR,s[1]*g.uR))[0]*=g.RW,s[1]*=g.RW,s}return u=M(u[0]*g.uR,u[1]*g.uR,u.length>2?u[2]*g.uR:0),o.invert=function(s){return(s=u.invert(s[0]*g.uR,s[1]*g.uR))[0]*=g.RW,s[1]*=g.RW,s},o}i.invert=i},72736:function(T,p,t){function d(l,a){l&&i.hasOwnProperty(l.type)&&i[l.type](l,a)}t.d(p,{Z:function(){return f}});var g={Feature:function(l,a){d(l.geometry,a)},FeatureCollection:function(l,a){for(var u=l.features,o=-1,s=u.length;++o=0;)ae+=fe[be].value;else ae=1;Ce.value=ae}function f(Ce,ae){var fe,be,ke,Le,Be,ze=new o(Ce),je=+Ce.value&&(ze.value=Ce.value),ge=[ze];for(ae==null&&(ae=l);fe=ge.pop();)if(je&&(fe.value=+fe.data.value),(ke=ae(fe.data))&&(Be=ke.length))for(fe.children=new Array(Be),Le=Be-1;Le>=0;--Le)ge.push(be=fe.children[Le]=new o(ke[Le])),be.parent=fe,be.depth=fe.depth+1;return ze.eachBefore(u)}function l(Ce){return Ce.children}function a(Ce){Ce.data=Ce.data.data}function u(Ce){var ae=0;do Ce.height=ae;while((Ce=Ce.parent)&&Ce.height<++ae)}function o(Ce){this.data=Ce,this.depth=this.height=0,this.parent=null}t.r(p),t.d(p,{cluster:function(){return M},hierarchy:function(){return f},pack:function(){return N},packEnclose:function(){return h},packSiblings:function(){return R},partition:function(){return q},stratify:function(){return X},tree:function(){return ye},treemap:function(){return Pe},treemapBinary:function(){return _e},treemapDice:function(){return G},treemapResquarify:function(){return Se},treemapSlice:function(){return de},treemapSliceDice:function(){return Me},treemapSquarify:function(){return xe}}),o.prototype=f.prototype={constructor:o,count:function(){return this.eachAfter(v)},each:function(Ce){var ae,fe,be,ke,Le=this,Be=[Le];do for(ae=Be.reverse(),Be=[];Le=ae.pop();)if(Ce(Le),fe=Le.children)for(be=0,ke=fe.length;be=0;--fe)ke.push(ae[fe]);return this},sum:function(Ce){return this.eachAfter(function(ae){for(var fe=+Ce(ae.data)||0,be=ae.children,ke=be&&be.length;--ke>=0;)fe+=be[ke].value;ae.value=fe})},sort:function(Ce){return this.eachBefore(function(ae){ae.children&&ae.children.sort(Ce)})},path:function(Ce){for(var ae=this,fe=function(Le,Be){if(Le===Be)return Le;var ze=Le.ancestors(),je=Be.ancestors(),ge=null;for(Le=ze.pop(),Be=je.pop();Le===Be;)ge=Le,Le=ze.pop(),Be=je.pop();return ge}(ae,Ce),be=[ae];ae!==fe;)ae=ae.parent,be.push(ae);for(var ke=be.length;Ce!==fe;)be.splice(ke,0,Ce),Ce=Ce.parent;return be},ancestors:function(){for(var Ce=this,ae=[Ce];Ce=Ce.parent;)ae.push(Ce);return ae},descendants:function(){var Ce=[];return this.each(function(ae){Ce.push(ae)}),Ce},leaves:function(){var Ce=[];return this.eachBefore(function(ae){ae.children||Ce.push(ae)}),Ce},links:function(){var Ce=this,ae=[];return Ce.each(function(fe){fe!==Ce&&ae.push({source:fe.parent,target:fe})}),ae},copy:function(){return f(this).eachBefore(a)}};var s=Array.prototype.slice;function h(Ce){for(var ae,fe,be=0,ke=(Ce=function(Be){for(var ze,je,ge=Be.length;ge;)je=Math.random()*ge--|0,ze=Be[ge],Be[ge]=Be[je],Be[je]=ze;return Be}(s.call(Ce))).length,Le=[];be0&&fe*fe>be*be+ke*ke}function y(Ce,ae){for(var fe=0;fe(Be*=Be)?(be=(ge+Be-ke)/(2*ge),Le=Math.sqrt(Math.max(0,Be/ge-be*be)),fe.x=Ce.x-be*ze-Le*je,fe.y=Ce.y-be*je+Le*ze):(be=(ge+ke-Be)/(2*ge),Le=Math.sqrt(Math.max(0,ke/ge-be*be)),fe.x=ae.x+be*ze-Le*je,fe.y=ae.y+be*je+Le*ze)):(fe.x=ae.x+fe.r,fe.y=ae.y)}function x(Ce,ae){var fe=Ce.r+ae.r-1e-6,be=ae.x-Ce.x,ke=ae.y-Ce.y;return fe>0&&fe*fe>be*be+ke*ke}function A(Ce){var ae=Ce._,fe=Ce.next._,be=ae.r+fe.r,ke=(ae.x*fe.r+fe.x*ae.r)/be,Le=(ae.y*fe.r+fe.y*ae.r)/be;return ke*ke+Le*Le}function L(Ce){this._=Ce,this.next=null,this.previous=null}function b(Ce){if(!(ke=Ce.length))return 0;var ae,fe,be,ke,Le,Be,ze,je,ge,we,Ee;if((ae=Ce[0]).x=0,ae.y=0,!(ke>1))return ae.r;if(fe=Ce[1],ae.x=-fe.r,fe.x=ae.r,fe.y=0,!(ke>2))return ae.r+fe.r;E(fe,ae,be=Ce[2]),ae=new L(ae),fe=new L(fe),be=new L(be),ae.next=be.previous=fe,fe.next=ae.previous=be,be.next=fe.previous=ae;e:for(ze=3;ze0)throw new Error("cycle");return Be}return fe.id=function(be){return arguments.length?(Ce=O(be),fe):Ce},fe.parentId=function(be){return arguments.length?(ae=O(be),fe):ae},fe}function Q(Ce,ae){return Ce.parent===ae.parent?1:2}function re(Ce){var ae=Ce.children;return ae?ae[0]:Ce.t}function ie(Ce){var ae=Ce.children;return ae?ae[ae.length-1]:Ce.t}function oe(Ce,ae,fe){var be=fe/(ae.i-Ce.i);ae.c-=be,ae.s+=fe,Ce.c+=be,ae.z+=fe,ae.m+=fe}function ue(Ce,ae,fe){return Ce.a.parent===ae.parent?Ce.a:fe}function ce(Ce,ae){this._=Ce,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=ae}function ye(){var Ce=Q,ae=1,fe=1,be=null;function ke(je){var ge=function(ht){for(var bt,Et,kt,xt,Ft,Ot=new ce(ht,0),Bt=[Ot];bt=Bt.pop();)if(kt=bt._.children)for(bt.children=new Array(Ft=kt.length),xt=Ft-1;xt>=0;--xt)Bt.push(Et=bt.children[xt]=new ce(kt[xt],xt)),Et.parent=bt;return(Ot.parent=new ce(null,0)).children=[Ot],Ot}(je);if(ge.eachAfter(Le),ge.parent.m=-ge.z,ge.eachBefore(Be),be)je.eachBefore(ze);else{var we=je,Ee=je,Ve=je;je.eachBefore(function(ht){ht.xEe.x&&(Ee=ht),ht.depth>Ve.depth&&(Ve=ht)});var $e=we===Ee?1:Ce(we,Ee)/2,Ye=$e-we.x,st=ae/(Ee.x+$e+Ye),ot=fe/(Ve.depth||1);je.eachBefore(function(ht){ht.x=(ht.x+Ye)*st,ht.y=ht.depth*ot})}return je}function Le(je){var ge=je.children,we=je.parent.children,Ee=je.i?we[je.i-1]:null;if(ge){(function($e){for(var Ye,st=0,ot=0,ht=$e.children,bt=ht.length;--bt>=0;)(Ye=ht[bt]).z+=st,Ye.m+=st,st+=Ye.s+(ot+=Ye.c)})(je);var Ve=(ge[0].z+ge[ge.length-1].z)/2;Ee?(je.z=Ee.z+Ce(je._,Ee._),je.m=je.z-Ve):je.z=Ve}else Ee&&(je.z=Ee.z+Ce(je._,Ee._));je.parent.A=function($e,Ye,st){if(Ye){for(var ot,ht=$e,bt=$e,Et=Ye,kt=ht.parent.children[0],xt=ht.m,Ft=bt.m,Ot=Et.m,Bt=kt.m;Et=ie(Et),ht=re(ht),Et&&ht;)kt=re(kt),(bt=ie(bt)).a=$e,(ot=Et.z+Ot-ht.z-xt+Ce(Et._,ht._))>0&&(oe(ue(Et,$e,st),$e,ot),xt+=ot,Ft+=ot),Ot+=Et.m,xt+=ht.m,Bt+=kt.m,Ft+=bt.m;Et&&!ie(bt)&&(bt.t=Et,bt.m+=Ot-Ft),ht&&!re(kt)&&(kt.t=ht,kt.m+=xt-Bt,st=$e)}return st}(je,Ee,je.parent.A||we[0])}function Be(je){je._.x=je.z+je.parent.m,je.m+=je.parent.m}function ze(je){je.x*=ae,je.y=je.depth*fe}return ke.separation=function(je){return arguments.length?(Ce=je,ke):Ce},ke.size=function(je){return arguments.length?(be=!1,ae=+je[0],fe=+je[1],ke):be?null:[ae,fe]},ke.nodeSize=function(je){return arguments.length?(be=!0,ae=+je[0],fe=+je[1],ke):be?[ae,fe]:null},ke}function de(Ce,ae,fe,be,ke){for(var Le,Be=Ce.children,ze=-1,je=Be.length,ge=Ce.value&&(ke-fe)/Ce.value;++zeVe&&(Ve=ze),ot=we*we*st,($e=Math.max(Ve/ot,ot/Ee))>Ye){we-=ze;break}Ye=$e}ht.push(Be={value:we,dice:je1?be:1)},fe}(me);function Pe(){var Ce=xe,ae=!1,fe=1,be=1,ke=[0],Le=z,Be=z,ze=z,je=z,ge=z;function we(Ve){return Ve.x0=Ve.y0=0,Ve.x1=fe,Ve.y1=be,Ve.eachBefore(Ee),ke=[0],ae&&Ve.eachBefore(U),Ve}function Ee(Ve){var $e=ke[Ve.depth],Ye=Ve.x0+$e,st=Ve.y0+$e,ot=Ve.x1-$e,ht=Ve.y1-$e;ot=Ve-1){var bt=ze[Ee];return bt.x0=Ye,bt.y0=st,bt.x1=ot,void(bt.y1=ht)}for(var Et=ge[Ee],kt=$e/2+Et,xt=Ee+1,Ft=Ve-1;xt>>1;ge[Ot]ht-st){var Vt=(Ye*qt+ot*Bt)/$e;we(Ee,xt,Bt,Ye,st,Vt,ht),we(xt,Ve,qt,Vt,st,ot,ht)}else{var Ke=(st*qt+ht*Bt)/$e;we(Ee,xt,Bt,Ye,st,ot,Ke),we(xt,Ve,qt,Ye,Ke,ot,ht)}})(0,je,Ce.value,ae,fe,be,ke)}function Me(Ce,ae,fe,be,ke){(1&Ce.depth?de:G)(Ce,ae,fe,be,ke)}var Se=function Ce(ae){function fe(be,ke,Le,Be,ze){if((je=be._squarify)&&je.ratio===ae)for(var je,ge,we,Ee,Ve,$e=-1,Ye=je.length,st=be.value;++$e1?be:1)},fe}(me)},45879:function(T,p,t){t.d(p,{h5:function(){return w}});var d=Math.PI,g=2*d,i=1e-6,M=g-i;function v(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function f(){return new v}v.prototype=f.prototype={constructor:v,moveTo:function(y,C){this._+="M"+(this._x0=this._x1=+y)+","+(this._y0=this._y1=+C)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(y,C){this._+="L"+(this._x1=+y)+","+(this._y1=+C)},quadraticCurveTo:function(y,C,_,k){this._+="Q"+ +y+","+ +C+","+(this._x1=+_)+","+(this._y1=+k)},bezierCurveTo:function(y,C,_,k,E,x){this._+="C"+ +y+","+ +C+","+ +_+","+ +k+","+(this._x1=+E)+","+(this._y1=+x)},arcTo:function(y,C,_,k,E){y=+y,C=+C,_=+_,k=+k,E=+E;var x=this._x1,A=this._y1,L=_-y,b=k-C,R=x-y,I=A-C,O=R*R+I*I;if(E<0)throw new Error("negative radius: "+E);if(this._x1===null)this._+="M"+(this._x1=y)+","+(this._y1=C);else if(O>i)if(Math.abs(I*L-b*R)>i&&E){var z=_-x,F=k-A,B=L*L+b*b,N=z*z+F*F,W=Math.sqrt(B),j=Math.sqrt(O),$=E*Math.tan((d-Math.acos((B+O-N)/(2*W*j)))/2),U=$/j,G=$/W;Math.abs(U-1)>i&&(this._+="L"+(y+U*R)+","+(C+U*I)),this._+="A"+E+","+E+",0,0,"+ +(I*z>R*F)+","+(this._x1=y+G*L)+","+(this._y1=C+G*b)}else this._+="L"+(this._x1=y)+","+(this._y1=C)},arc:function(y,C,_,k,E,x){y=+y,C=+C,x=!!x;var A=(_=+_)*Math.cos(k),L=_*Math.sin(k),b=y+A,R=C+L,I=1^x,O=x?k-E:E-k;if(_<0)throw new Error("negative radius: "+_);this._x1===null?this._+="M"+b+","+R:(Math.abs(this._x1-b)>i||Math.abs(this._y1-R)>i)&&(this._+="L"+b+","+R),_&&(O<0&&(O=O%g+g),O>M?this._+="A"+_+","+_+",0,1,"+I+","+(y-A)+","+(C-L)+"A"+_+","+_+",0,1,"+I+","+(this._x1=b)+","+(this._y1=R):O>i&&(this._+="A"+_+","+_+",0,"+ +(O>=d)+","+I+","+(this._x1=y+_*Math.cos(E))+","+(this._y1=C+_*Math.sin(E))))},rect:function(y,C,_,k){this._+="M"+(this._x0=this._x1=+y)+","+(this._y0=this._y1=+C)+"h"+ +_+"v"+ +k+"h"+-_+"Z"},toString:function(){return this._}};var l=f,a=Array.prototype.slice;function u(y){return function(){return y}}function o(y){return y[0]}function s(y){return y[1]}function h(y){return y.source}function c(y){return y.target}function m(y,C,_,k,E){y.moveTo(C,_),y.bezierCurveTo(C=(C+k)/2,_,C,E,k,E)}function w(){return function(y){var C=h,_=c,k=o,E=s,x=null;function A(){var L,b=a.call(arguments),R=C.apply(this,b),I=_.apply(this,b);if(x||(x=L=l()),y(x,+k.apply(this,(b[0]=R,b)),+E.apply(this,b),+k.apply(this,(b[0]=I,b)),+E.apply(this,b)),L)return x=null,L+""||null}return A.source=function(L){return arguments.length?(C=L,A):C},A.target=function(L){return arguments.length?(_=L,A):_},A.x=function(L){return arguments.length?(k=typeof L=="function"?L:u(+L),A):k},A.y=function(L){return arguments.length?(E=typeof L=="function"?L:u(+L),A):E},A.context=function(L){return arguments.length?(x=L??null,A):x},A}(m)}},84096:function(T,p,t){t.d(p,{i$:function(){return h},Dq:function(){return o},g0:function(){return c}});var d=t(58176),g=t(48480),i=t(59879),M=t(82301),v=t(34823),f=t(79791);function l(xt){if(0<=xt.y&&xt.y<100){var Ft=new Date(-1,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L);return Ft.setFullYear(xt.y),Ft}return new Date(xt.y,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L)}function a(xt){if(0<=xt.y&&xt.y<100){var Ft=new Date(Date.UTC(-1,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L));return Ft.setUTCFullYear(xt.y),Ft}return new Date(Date.UTC(xt.y,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L))}function u(xt,Ft,Ot){return{y:xt,m:Ft,d:Ot,H:0,M:0,S:0,L:0}}function o(xt){var Ft=xt.dateTime,Ot=xt.date,Bt=xt.time,qt=xt.periods,Vt=xt.days,Ke=xt.shortDays,Je=xt.months,qe=xt.shortMonths,nt=E(qt),ft=x(qt),Re=E(Vt),Ne=x(Vt),Qe=E(Ke),ut=x(Ke),dt=E(Je),_t=x(Je),It=E(qe),Lt=x(qe),yt={a:function(Wt){return Ke[Wt.getDay()]},A:function(Wt){return Vt[Wt.getDay()]},b:function(Wt){return qe[Wt.getMonth()]},B:function(Wt){return Je[Wt.getMonth()]},c:null,d:X,e:X,f:ue,H:Q,I:re,j:ie,L:oe,m:ce,M:ye,p:function(Wt){return qt[+(Wt.getHours()>=12)]},q:function(Wt){return 1+~~(Wt.getMonth()/3)},Q:Et,s:kt,S:de,u:me,U:pe,V:xe,w:Pe,W:_e,x:null,X:null,y:Me,Y:Se,Z:Ce,"%":bt},Pt={a:function(Wt){return Ke[Wt.getUTCDay()]},A:function(Wt){return Vt[Wt.getUTCDay()]},b:function(Wt){return qe[Wt.getUTCMonth()]},B:function(Wt){return Je[Wt.getUTCMonth()]},c:null,d:ae,e:ae,f:Be,H:fe,I:be,j:ke,L:Le,m:ze,M:je,p:function(Wt){return qt[+(Wt.getUTCHours()>=12)]},q:function(Wt){return 1+~~(Wt.getUTCMonth()/3)},Q:Et,s:kt,S:ge,u:we,U:Ee,V:Ve,w:$e,W:Ye,x:null,X:null,y:st,Y:ot,Z:ht,"%":bt},wt={a:function(Wt,Xt,Qt){var rn=Qe.exec(Xt.slice(Qt));return rn?(Wt.w=ut[rn[0].toLowerCase()],Qt+rn[0].length):-1},A:function(Wt,Xt,Qt){var rn=Re.exec(Xt.slice(Qt));return rn?(Wt.w=Ne[rn[0].toLowerCase()],Qt+rn[0].length):-1},b:function(Wt,Xt,Qt){var rn=It.exec(Xt.slice(Qt));return rn?(Wt.m=Lt[rn[0].toLowerCase()],Qt+rn[0].length):-1},B:function(Wt,Xt,Qt){var rn=dt.exec(Xt.slice(Qt));return rn?(Wt.m=_t[rn[0].toLowerCase()],Qt+rn[0].length):-1},c:function(Wt,Xt,Qt){return Yt(Wt,Ft,Xt,Qt)},d:W,e:W,f:H,H:$,I:$,j,L:q,m:N,M:U,p:function(Wt,Xt,Qt){var rn=nt.exec(Xt.slice(Qt));return rn?(Wt.p=ft[rn[0].toLowerCase()],Qt+rn[0].length):-1},q:B,Q:te,s:Z,S:G,u:L,U:b,V:R,w:A,W:I,x:function(Wt,Xt,Qt){return Yt(Wt,Ot,Xt,Qt)},X:function(Wt,Xt,Qt){return Yt(Wt,Bt,Xt,Qt)},y:z,Y:O,Z:F,"%":ne};function Rt(Wt,Xt){return function(Qt){var rn,xn,un,An=[],Yn=-1,kn=0,sn=Wt.length;for(Qt instanceof Date||(Qt=new Date(+Qt));++Yn53)return null;"w"in un||(un.w=1),"Z"in un?(xn=(rn=a(u(un.y,0,1))).getUTCDay(),rn=xn>4||xn===0?d.l6.ceil(rn):(0,d.l6)(rn),rn=g.Z.offset(rn,7*(un.V-1)),un.y=rn.getUTCFullYear(),un.m=rn.getUTCMonth(),un.d=rn.getUTCDate()+(un.w+6)%7):(xn=(rn=l(u(un.y,0,1))).getDay(),rn=xn>4||xn===0?i.wA.ceil(rn):(0,i.wA)(rn),rn=M.Z.offset(rn,7*(un.V-1)),un.y=rn.getFullYear(),un.m=rn.getMonth(),un.d=rn.getDate()+(un.w+6)%7)}else("W"in un||"U"in un)&&("w"in un||(un.w="u"in un?un.u%7:"W"in un?1:0),xn="Z"in un?a(u(un.y,0,1)).getUTCDay():l(u(un.y,0,1)).getDay(),un.m=0,un.d="W"in un?(un.w+6)%7+7*un.W-(xn+5)%7:un.w+7*un.U-(xn+6)%7);return"Z"in un?(un.H+=un.Z/100|0,un.M+=un.Z%100,a(un)):l(un)}}function Yt(Wt,Xt,Qt,rn){for(var xn,un,An=0,Yn=Xt.length,kn=Qt.length;An=kn)return-1;if((xn=Xt.charCodeAt(An++))===37){if(xn=Xt.charAt(An++),!(un=wt[xn in m?Xt.charAt(An++):xn])||(rn=un(Wt,Qt,rn))<0)return-1}else if(xn!=Qt.charCodeAt(rn++))return-1}return rn}return yt.x=Rt(Ot,yt),yt.X=Rt(Bt,yt),yt.c=Rt(Ft,yt),Pt.x=Rt(Ot,Pt),Pt.X=Rt(Bt,Pt),Pt.c=Rt(Ft,Pt),{format:function(Wt){var Xt=Rt(Wt+="",yt);return Xt.toString=function(){return Wt},Xt},parse:function(Wt){var Xt=Nt(Wt+="",!1);return Xt.toString=function(){return Wt},Xt},utcFormat:function(Wt){var Xt=Rt(Wt+="",Pt);return Xt.toString=function(){return Wt},Xt},utcParse:function(Wt){var Xt=Nt(Wt+="",!0);return Xt.toString=function(){return Wt},Xt}}}var s,h,c,m={"-":"",_:" ",0:"0"},w=/^\s*\d+/,y=/^%/,C=/[\\^$*+?|[\]().{}]/g;function _(xt,Ft,Ot){var Bt=xt<0?"-":"",qt=(Bt?-xt:xt)+"",Vt=qt.length;return Bt+(Vt68?1900:2e3),Ot+Bt[0].length):-1}function F(xt,Ft,Ot){var Bt=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(Ft.slice(Ot,Ot+6));return Bt?(xt.Z=Bt[1]?0:-(Bt[2]+(Bt[3]||"00")),Ot+Bt[0].length):-1}function B(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+1));return Bt?(xt.q=3*Bt[0]-3,Ot+Bt[0].length):-1}function N(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+2));return Bt?(xt.m=Bt[0]-1,Ot+Bt[0].length):-1}function W(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+2));return Bt?(xt.d=+Bt[0],Ot+Bt[0].length):-1}function j(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+3));return Bt?(xt.m=0,xt.d=+Bt[0],Ot+Bt[0].length):-1}function $(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+2));return Bt?(xt.H=+Bt[0],Ot+Bt[0].length):-1}function U(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+2));return Bt?(xt.M=+Bt[0],Ot+Bt[0].length):-1}function G(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+2));return Bt?(xt.S=+Bt[0],Ot+Bt[0].length):-1}function q(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+3));return Bt?(xt.L=+Bt[0],Ot+Bt[0].length):-1}function H(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+6));return Bt?(xt.L=Math.floor(Bt[0]/1e3),Ot+Bt[0].length):-1}function ne(xt,Ft,Ot){var Bt=y.exec(Ft.slice(Ot,Ot+1));return Bt?Ot+Bt[0].length:-1}function te(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot));return Bt?(xt.Q=+Bt[0],Ot+Bt[0].length):-1}function Z(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot));return Bt?(xt.s=+Bt[0],Ot+Bt[0].length):-1}function X(xt,Ft){return _(xt.getDate(),Ft,2)}function Q(xt,Ft){return _(xt.getHours(),Ft,2)}function re(xt,Ft){return _(xt.getHours()%12||12,Ft,2)}function ie(xt,Ft){return _(1+M.Z.count((0,v.Z)(xt),xt),Ft,3)}function oe(xt,Ft){return _(xt.getMilliseconds(),Ft,3)}function ue(xt,Ft){return oe(xt,Ft)+"000"}function ce(xt,Ft){return _(xt.getMonth()+1,Ft,2)}function ye(xt,Ft){return _(xt.getMinutes(),Ft,2)}function de(xt,Ft){return _(xt.getSeconds(),Ft,2)}function me(xt){var Ft=xt.getDay();return Ft===0?7:Ft}function pe(xt,Ft){return _(i.OM.count((0,v.Z)(xt)-1,xt),Ft,2)}function xe(xt,Ft){var Ot=xt.getDay();return xt=Ot>=4||Ot===0?(0,i.bL)(xt):i.bL.ceil(xt),_(i.bL.count((0,v.Z)(xt),xt)+((0,v.Z)(xt).getDay()===4),Ft,2)}function Pe(xt){return xt.getDay()}function _e(xt,Ft){return _(i.wA.count((0,v.Z)(xt)-1,xt),Ft,2)}function Me(xt,Ft){return _(xt.getFullYear()%100,Ft,2)}function Se(xt,Ft){return _(xt.getFullYear()%1e4,Ft,4)}function Ce(xt){var Ft=xt.getTimezoneOffset();return(Ft>0?"-":(Ft*=-1,"+"))+_(Ft/60|0,"0",2)+_(Ft%60,"0",2)}function ae(xt,Ft){return _(xt.getUTCDate(),Ft,2)}function fe(xt,Ft){return _(xt.getUTCHours(),Ft,2)}function be(xt,Ft){return _(xt.getUTCHours()%12||12,Ft,2)}function ke(xt,Ft){return _(1+g.Z.count((0,f.Z)(xt),xt),Ft,3)}function Le(xt,Ft){return _(xt.getUTCMilliseconds(),Ft,3)}function Be(xt,Ft){return Le(xt,Ft)+"000"}function ze(xt,Ft){return _(xt.getUTCMonth()+1,Ft,2)}function je(xt,Ft){return _(xt.getUTCMinutes(),Ft,2)}function ge(xt,Ft){return _(xt.getUTCSeconds(),Ft,2)}function we(xt){var Ft=xt.getUTCDay();return Ft===0?7:Ft}function Ee(xt,Ft){return _(d.Ox.count((0,f.Z)(xt)-1,xt),Ft,2)}function Ve(xt,Ft){var Ot=xt.getUTCDay();return xt=Ot>=4||Ot===0?(0,d.hB)(xt):d.hB.ceil(xt),_(d.hB.count((0,f.Z)(xt),xt)+((0,f.Z)(xt).getUTCDay()===4),Ft,2)}function $e(xt){return xt.getUTCDay()}function Ye(xt,Ft){return _(d.l6.count((0,f.Z)(xt)-1,xt),Ft,2)}function st(xt,Ft){return _(xt.getUTCFullYear()%100,Ft,2)}function ot(xt,Ft){return _(xt.getUTCFullYear()%1e4,Ft,4)}function ht(){return"+0000"}function bt(){return"%"}function Et(xt){return+xt}function kt(xt){return Math.floor(+xt/1e3)}s=o({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),h=s.format,s.parse,c=s.utcFormat,s.utcParse},82301:function(T,p,t){t.d(p,{a:function(){return M}});var d=t(30052),g=t(54263),i=(0,d.Z)(function(v){v.setHours(0,0,0,0)},function(v,f){v.setDate(v.getDate()+f)},function(v,f){return(f-v-(f.getTimezoneOffset()-v.getTimezoneOffset())*g.yB)/g.UD},function(v){return v.getDate()-1});p.Z=i;var M=i.range},54263:function(T,p,t){t.d(p,{UD:function(){return M},Y2:function(){return i},Ym:function(){return d},iM:function(){return v},yB:function(){return g}});var d=1e3,g=6e4,i=36e5,M=864e5,v=6048e5},81041:function(T,p,t){t.r(p),t.d(p,{timeDay:function(){return w.Z},timeDays:function(){return w.a},timeFriday:function(){return y.mC},timeFridays:function(){return y.b$},timeHour:function(){return c},timeHours:function(){return m},timeInterval:function(){return d.Z},timeMillisecond:function(){return i},timeMilliseconds:function(){return M},timeMinute:function(){return o},timeMinutes:function(){return s},timeMonday:function(){return y.wA},timeMondays:function(){return y.bJ},timeMonth:function(){return _},timeMonths:function(){return k},timeSaturday:function(){return y.EY},timeSaturdays:function(){return y.Ff},timeSecond:function(){return l},timeSeconds:function(){return a},timeSunday:function(){return y.OM},timeSundays:function(){return y.vm},timeThursday:function(){return y.bL},timeThursdays:function(){return y.$t},timeTuesday:function(){return y.sy},timeTuesdays:function(){return y.aU},timeWednesday:function(){return y.zg},timeWednesdays:function(){return y.Ld},timeWeek:function(){return y.OM},timeWeeks:function(){return y.vm},timeYear:function(){return E.Z},timeYears:function(){return E.g},utcDay:function(){return O.Z},utcDays:function(){return O.y},utcFriday:function(){return z.QQ},utcFridays:function(){return z.fz},utcHour:function(){return R},utcHours:function(){return I},utcMillisecond:function(){return i},utcMilliseconds:function(){return M},utcMinute:function(){return A},utcMinutes:function(){return L},utcMonday:function(){return z.l6},utcMondays:function(){return z.$3},utcMonth:function(){return B},utcMonths:function(){return N},utcSaturday:function(){return z.g4},utcSaturdays:function(){return z.Q_},utcSecond:function(){return l},utcSeconds:function(){return a},utcSunday:function(){return z.Ox},utcSundays:function(){return z.SU},utcThursday:function(){return z.hB},utcThursdays:function(){return z.xj},utcTuesday:function(){return z.J1},utcTuesdays:function(){return z.DK},utcWednesday:function(){return z.b3},utcWednesdays:function(){return z.uy},utcWeek:function(){return z.Ox},utcWeeks:function(){return z.SU},utcYear:function(){return W.Z},utcYears:function(){return W.D}});var d=t(30052),g=(0,d.Z)(function(){},function(j,$){j.setTime(+j+$)},function(j,$){return $-j});g.every=function(j){return j=Math.floor(j),isFinite(j)&&j>0?j>1?(0,d.Z)(function($){$.setTime(Math.floor($/j)*j)},function($,U){$.setTime(+$+U*j)},function($,U){return(U-$)/j}):g:null};var i=g,M=g.range,v=t(54263),f=(0,d.Z)(function(j){j.setTime(j-j.getMilliseconds())},function(j,$){j.setTime(+j+$*v.Ym)},function(j,$){return($-j)/v.Ym},function(j){return j.getUTCSeconds()}),l=f,a=f.range,u=(0,d.Z)(function(j){j.setTime(j-j.getMilliseconds()-j.getSeconds()*v.Ym)},function(j,$){j.setTime(+j+$*v.yB)},function(j,$){return($-j)/v.yB},function(j){return j.getMinutes()}),o=u,s=u.range,h=(0,d.Z)(function(j){j.setTime(j-j.getMilliseconds()-j.getSeconds()*v.Ym-j.getMinutes()*v.yB)},function(j,$){j.setTime(+j+$*v.Y2)},function(j,$){return($-j)/v.Y2},function(j){return j.getHours()}),c=h,m=h.range,w=t(82301),y=t(59879),C=(0,d.Z)(function(j){j.setDate(1),j.setHours(0,0,0,0)},function(j,$){j.setMonth(j.getMonth()+$)},function(j,$){return $.getMonth()-j.getMonth()+12*($.getFullYear()-j.getFullYear())},function(j){return j.getMonth()}),_=C,k=C.range,E=t(34823),x=(0,d.Z)(function(j){j.setUTCSeconds(0,0)},function(j,$){j.setTime(+j+$*v.yB)},function(j,$){return($-j)/v.yB},function(j){return j.getUTCMinutes()}),A=x,L=x.range,b=(0,d.Z)(function(j){j.setUTCMinutes(0,0,0)},function(j,$){j.setTime(+j+$*v.Y2)},function(j,$){return($-j)/v.Y2},function(j){return j.getUTCHours()}),R=b,I=b.range,O=t(48480),z=t(58176),F=(0,d.Z)(function(j){j.setUTCDate(1),j.setUTCHours(0,0,0,0)},function(j,$){j.setUTCMonth(j.getUTCMonth()+$)},function(j,$){return $.getUTCMonth()-j.getUTCMonth()+12*($.getUTCFullYear()-j.getUTCFullYear())},function(j){return j.getUTCMonth()}),B=F,N=F.range,W=t(79791)},30052:function(T,p,t){t.d(p,{Z:function(){return i}});var d=new Date,g=new Date;function i(M,v,f,l){function a(u){return M(u=arguments.length===0?new Date:new Date(+u)),u}return a.floor=function(u){return M(u=new Date(+u)),u},a.ceil=function(u){return M(u=new Date(u-1)),v(u,1),M(u),u},a.round=function(u){var o=a(u),s=a.ceil(u);return u-o0))return c;do c.push(h=new Date(+u)),v(u,s),M(u);while(h=o)for(;M(o),!u(o);)o.setTime(o-1)},function(o,s){if(o>=o)if(s<0)for(;++s<=0;)for(;v(o,-1),!u(o););else for(;--s>=0;)for(;v(o,1),!u(o););})},f&&(a.count=function(u,o){return d.setTime(+u),g.setTime(+o),M(d),M(g),Math.floor(f(d,g))},a.every=function(u){return u=Math.floor(u),isFinite(u)&&u>0?u>1?a.filter(l?function(o){return l(o)%u==0}:function(o){return a.count(0,o)%u==0}):a:null}),a}},48480:function(T,p,t){t.d(p,{y:function(){return M}});var d=t(30052),g=t(54263),i=(0,d.Z)(function(v){v.setUTCHours(0,0,0,0)},function(v,f){v.setUTCDate(v.getUTCDate()+f)},function(v,f){return(f-v)/g.UD},function(v){return v.getUTCDate()-1});p.Z=i;var M=i.range},58176:function(T,p,t){t.d(p,{$3:function(){return h},DK:function(){return c},J1:function(){return f},Ox:function(){return M},QQ:function(){return u},Q_:function(){return C},SU:function(){return s},b3:function(){return l},fz:function(){return y},g4:function(){return o},hB:function(){return a},l6:function(){return v},uy:function(){return m},xj:function(){return w}});var d=t(30052),g=t(54263);function i(_){return(0,d.Z)(function(k){k.setUTCDate(k.getUTCDate()-(k.getUTCDay()+7-_)%7),k.setUTCHours(0,0,0,0)},function(k,E){k.setUTCDate(k.getUTCDate()+7*E)},function(k,E){return(E-k)/g.iM})}var M=i(0),v=i(1),f=i(2),l=i(3),a=i(4),u=i(5),o=i(6),s=M.range,h=v.range,c=f.range,m=l.range,w=a.range,y=u.range,C=o.range},79791:function(T,p,t){t.d(p,{D:function(){return i}});var d=t(30052),g=(0,d.Z)(function(M){M.setUTCMonth(0,1),M.setUTCHours(0,0,0,0)},function(M,v){M.setUTCFullYear(M.getUTCFullYear()+v)},function(M,v){return v.getUTCFullYear()-M.getUTCFullYear()},function(M){return M.getUTCFullYear()});g.every=function(M){return isFinite(M=Math.floor(M))&&M>0?(0,d.Z)(function(v){v.setUTCFullYear(Math.floor(v.getUTCFullYear()/M)*M),v.setUTCMonth(0,1),v.setUTCHours(0,0,0,0)},function(v,f){v.setUTCFullYear(v.getUTCFullYear()+f*M)}):null},p.Z=g;var i=g.range},59879:function(T,p,t){t.d(p,{$t:function(){return w},EY:function(){return o},Ff:function(){return C},Ld:function(){return m},OM:function(){return M},aU:function(){return c},b$:function(){return y},bJ:function(){return h},bL:function(){return a},mC:function(){return u},sy:function(){return f},vm:function(){return s},wA:function(){return v},zg:function(){return l}});var d=t(30052),g=t(54263);function i(_){return(0,d.Z)(function(k){k.setDate(k.getDate()-(k.getDay()+7-_)%7),k.setHours(0,0,0,0)},function(k,E){k.setDate(k.getDate()+7*E)},function(k,E){return(E-k-(E.getTimezoneOffset()-k.getTimezoneOffset())*g.yB)/g.iM})}var M=i(0),v=i(1),f=i(2),l=i(3),a=i(4),u=i(5),o=i(6),s=M.range,h=v.range,c=f.range,m=l.range,w=a.range,y=u.range,C=o.range},34823:function(T,p,t){t.d(p,{g:function(){return i}});var d=t(30052),g=(0,d.Z)(function(M){M.setMonth(0,1),M.setHours(0,0,0,0)},function(M,v){M.setFullYear(M.getFullYear()+v)},function(M,v){return v.getFullYear()-M.getFullYear()},function(M){return M.getFullYear()});g.every=function(M){return isFinite(M=Math.floor(M))&&M>0?(0,d.Z)(function(v){v.setFullYear(Math.floor(v.getFullYear()/M)*M),v.setMonth(0,1),v.setHours(0,0,0,0)},function(v,f){v.setFullYear(v.getFullYear()+f*M)}):null},p.Z=g;var i=g.range},17045:function(T,p,t){var d=t(8709),g=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",i=Object.prototype.toString,M=Array.prototype.concat,v=Object.defineProperty,f=t(55622)(),l=v&&f,a=function(o,s,h,c){if(s in o){if(c===!0){if(o[s]===h)return}else if(typeof(m=c)!="function"||i.call(m)!=="[object Function]"||!c())return}var m;l?v(o,s,{configurable:!0,enumerable:!1,value:h,writable:!0}):o[s]=h},u=function(o,s){var h=arguments.length>2?arguments[2]:{},c=d(s);g&&(c=M.call(c,Object.getOwnPropertySymbols(s)));for(var m=0;ml*a){var c=(h-s)/l;f[o]=1e3*c}}return f}function g(i){for(var M=[],v=i[0];v<=i[1];v++)for(var f=String.fromCharCode(v),l=i[0];l0)return function(g,i){var M,v;for(M=new Array(g),v=0;v80*O){z=B=R[0],F=N=R[1];for(var ne=O;neB&&(B=W),j>N&&(N=j);$=($=Math.max(B-z,N-F))!==0?1/$:0}return g(q,H,O,z,F,$),H}function t(R,I,O,z,F){var B,N;if(F===b(R,I,O,z)>0)for(B=I;B=I;B-=z)N=x(B,R[B],R[B+1],N);return N&&w(N,N.next)&&(A(N),N=N.next),N}function d(R,I){if(!R)return R;I||(I=R);var O,z=R;do if(O=!1,z.steiner||!w(z,z.next)&&m(z.prev,z,z.next)!==0)z=z.next;else{if(A(z),(z=I=z.prev)===z.next)break;O=!0}while(O||z!==I);return I}function g(R,I,O,z,F,B,N){if(R){!N&&B&&function(U,G,q,H){var ne=U;do ne.z===null&&(ne.z=o(ne.x,ne.y,G,q,H)),ne.prevZ=ne.prev,ne.nextZ=ne.next,ne=ne.next;while(ne!==U);ne.prevZ.nextZ=null,ne.prevZ=null,function(te){var Z,X,Q,re,ie,oe,ue,ce,ye=1;do{for(X=te,te=null,ie=null,oe=0;X;){for(oe++,Q=X,ue=0,Z=0;Z0||ce>0&&Q;)ue!==0&&(ce===0||!Q||X.z<=Q.z)?(re=X,X=X.nextZ,ue--):(re=Q,Q=Q.nextZ,ce--),ie?ie.nextZ=re:te=re,re.prevZ=ie,ie=re;X=Q}ie.nextZ=null,ye*=2}while(oe>1)}(ne)}(R,z,F,B);for(var W,j,$=R;R.prev!==R.next;)if(W=R.prev,j=R.next,B?M(R,z,F,B):i(R))I.push(W.i/O),I.push(R.i/O),I.push(j.i/O),A(R),R=j.next,$=j.next;else if((R=j)===$){N?N===1?g(R=v(d(R),I,O),I,O,z,F,B,2):N===2&&f(R,I,O,z,F,B):g(d(R),I,O,z,F,B,1);break}}}function i(R){var I=R.prev,O=R,z=R.next;if(m(I,O,z)>=0)return!1;for(var F=R.next.next;F!==R.prev;){if(h(I.x,I.y,O.x,O.y,z.x,z.y,F.x,F.y)&&m(F.prev,F,F.next)>=0)return!1;F=F.next}return!0}function M(R,I,O,z){var F=R.prev,B=R,N=R.next;if(m(F,B,N)>=0)return!1;for(var W=F.xB.x?F.x>N.x?F.x:N.x:B.x>N.x?B.x:N.x,U=F.y>B.y?F.y>N.y?F.y:N.y:B.y>N.y?B.y:N.y,G=o(W,j,I,O,z),q=o($,U,I,O,z),H=R.prevZ,ne=R.nextZ;H&&H.z>=G&&ne&&ne.z<=q;){if(H!==R.prev&&H!==R.next&&h(F.x,F.y,B.x,B.y,N.x,N.y,H.x,H.y)&&m(H.prev,H,H.next)>=0||(H=H.prevZ,ne!==R.prev&&ne!==R.next&&h(F.x,F.y,B.x,B.y,N.x,N.y,ne.x,ne.y)&&m(ne.prev,ne,ne.next)>=0))return!1;ne=ne.nextZ}for(;H&&H.z>=G;){if(H!==R.prev&&H!==R.next&&h(F.x,F.y,B.x,B.y,N.x,N.y,H.x,H.y)&&m(H.prev,H,H.next)>=0)return!1;H=H.prevZ}for(;ne&&ne.z<=q;){if(ne!==R.prev&&ne!==R.next&&h(F.x,F.y,B.x,B.y,N.x,N.y,ne.x,ne.y)&&m(ne.prev,ne,ne.next)>=0)return!1;ne=ne.nextZ}return!0}function v(R,I,O){var z=R;do{var F=z.prev,B=z.next.next;!w(F,B)&&y(F,z,z.next,B)&&k(F,B)&&k(B,F)&&(I.push(F.i/O),I.push(z.i/O),I.push(B.i/O),A(z),A(z.next),z=R=B),z=z.next}while(z!==R);return d(z)}function f(R,I,O,z,F,B){var N=R;do{for(var W=N.next.next;W!==N.prev;){if(N.i!==W.i&&c(N,W)){var j=E(N,W);return N=d(N,N.next),j=d(j,j.next),g(N,I,O,z,F,B),void g(j,I,O,z,F,B)}W=W.next}N=N.next}while(N!==R)}function l(R,I){return R.x-I.x}function a(R,I){if(I=function(z,F){var B,N=F,W=z.x,j=z.y,$=-1/0;do{if(j<=N.y&&j>=N.next.y&&N.next.y!==N.y){var U=N.x+(j-N.y)*(N.next.x-N.x)/(N.next.y-N.y);if(U<=W&&U>$){if($=U,U===W){if(j===N.y)return N;if(j===N.next.y)return N.next}B=N.x=N.x&&N.x>=H&&W!==N.x&&h(jB.x||N.x===B.x&&u(B,N)))&&(B=N,te=G)),N=N.next;while(N!==q);return B}(R,I),I){var O=E(I,R);d(I,I.next),d(O,O.next)}}function u(R,I){return m(R.prev,R,I.prev)<0&&m(I.next,R,R.next)<0}function o(R,I,O,z,F){return(R=1431655765&((R=858993459&((R=252645135&((R=16711935&((R=32767*(R-O)*F)|R<<8))|R<<4))|R<<2))|R<<1))|(I=1431655765&((I=858993459&((I=252645135&((I=16711935&((I=32767*(I-z)*F)|I<<8))|I<<4))|I<<2))|I<<1))<<1}function s(R){var I=R,O=R;do(I.x=0&&(R-N)*(z-W)-(O-N)*(I-W)>=0&&(O-N)*(B-W)-(F-N)*(z-W)>=0}function c(R,I){return R.next.i!==I.i&&R.prev.i!==I.i&&!function(O,z){var F=O;do{if(F.i!==O.i&&F.next.i!==O.i&&F.i!==z.i&&F.next.i!==z.i&&y(F,F.next,O,z))return!0;F=F.next}while(F!==O);return!1}(R,I)&&(k(R,I)&&k(I,R)&&function(O,z){var F=O,B=!1,N=(O.x+z.x)/2,W=(O.y+z.y)/2;do F.y>W!=F.next.y>W&&F.next.y!==F.y&&N<(F.next.x-F.x)*(W-F.y)/(F.next.y-F.y)+F.x&&(B=!B),F=F.next;while(F!==O);return B}(R,I)&&(m(R.prev,R,I.prev)||m(R,I.prev,I))||w(R,I)&&m(R.prev,R,R.next)>0&&m(I.prev,I,I.next)>0)}function m(R,I,O){return(I.y-R.y)*(O.x-I.x)-(I.x-R.x)*(O.y-I.y)}function w(R,I){return R.x===I.x&&R.y===I.y}function y(R,I,O,z){var F=_(m(R,I,O)),B=_(m(R,I,z)),N=_(m(O,z,R)),W=_(m(O,z,I));return F!==B&&N!==W||!(F!==0||!C(R,O,I))||!(B!==0||!C(R,z,I))||!(N!==0||!C(O,R,z))||!(W!==0||!C(O,I,z))}function C(R,I,O){return I.x<=Math.max(R.x,O.x)&&I.x>=Math.min(R.x,O.x)&&I.y<=Math.max(R.y,O.y)&&I.y>=Math.min(R.y,O.y)}function _(R){return R>0?1:R<0?-1:0}function k(R,I){return m(R.prev,R,R.next)<0?m(R,I,R.next)>=0&&m(R,R.prev,I)>=0:m(R,I,R.prev)<0||m(R,R.next,I)<0}function E(R,I){var O=new L(R.i,R.x,R.y),z=new L(I.i,I.x,I.y),F=R.next,B=I.prev;return R.next=I,I.prev=R,O.next=F,F.prev=O,z.next=O,O.prev=z,B.next=z,z.prev=B,z}function x(R,I,O,z){var F=new L(R,I,O);return z?(F.next=z.next,F.prev=z,z.next.prev=F,z.next=F):(F.prev=F,F.next=F),F}function A(R){R.next.prev=R.prev,R.prev.next=R.next,R.prevZ&&(R.prevZ.nextZ=R.nextZ),R.nextZ&&(R.nextZ.prevZ=R.prevZ)}function L(R,I,O){this.i=R,this.x=I,this.y=O,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function b(R,I,O,z){for(var F=0,B=I,N=O-z;B0&&(z+=R[F-1].length,O.holes.push(z))}return O}},2502:function(T,p,t){var d=t(68664);T.exports=function(g,i){var M,v=[],f=[],l=[],a={},u=[];function o(k){l[k]=!1,a.hasOwnProperty(k)&&Object.keys(a[k]).forEach(function(E){delete a[k][E],l[E]&&o(E)})}function s(k){var E,x,A=!1;for(f.push(k),l[k]=!0,E=0;E=O})})(k);for(var E,x=d(g).components.filter(function(O){return O.length>1}),A=1/0,L=0;L=55296&&k<=56319&&(L+=c[++w]),L=b?o.call(b,R,L,y):L,m?(s.value=L,h(C,y,s)):C[y]=L,++y;_=y}}if(_===void 0)for(_=M(c.length),m&&(C=new m(_)),w=0;w<_;++w)L=b?o.call(b,R,c[w],w):c[w],m?(s.value=L,h(C,w,s)):C[w]=L;return m&&(s.value=null,C.length=_),C}},73051:function(T){var p=Object.prototype.toString,t=p.call(function(){return arguments}());T.exports=function(d){return p.call(d)===t}},33717:function(T){var p=Object.prototype.toString,t=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);T.exports=function(d){return typeof d=="function"&&t(p.call(d))}},52345:function(T){T.exports=function(){}},9953:function(T,p,t){T.exports=t(90436)()?Math.sign:t(6069)},90436:function(T){T.exports=function(){var p=Math.sign;return typeof p=="function"&&p(10)===1&&p(-20)===-1}},6069:function(T){T.exports=function(p){return p=Number(p),isNaN(p)||p===0?p:p>0?1:-1}},56247:function(T,p,t){var d=t(9953),g=Math.abs,i=Math.floor;T.exports=function(M){return isNaN(M)?0:(M=Number(M))!==0&&isFinite(M)?d(M)*i(g(M)):M}},35976:function(T,p,t){var d=t(56247),g=Math.max;T.exports=function(i){return g(0,d(i))}},67260:function(T,p,t){var d=t(78513),g=t(36672),i=Function.prototype.bind,M=Function.prototype.call,v=Object.keys,f=Object.prototype.propertyIsEnumerable;T.exports=function(l,a){return function(u,o){var s,h=arguments[2],c=arguments[3];return u=Object(g(u)),d(o),s=v(u),c&&s.sort(typeof c=="function"?i.call(c,u):void 0),typeof l!="function"&&(l=s[l]),M.call(l,s,function(m,w){return f.call(u,m)?M.call(o,h,u[m],m,u,w):a})}}},95879:function(T,p,t){T.exports=t(73583)()?Object.assign:t(34205)},73583:function(T){T.exports=function(){var p,t=Object.assign;return typeof t=="function"&&(t(p={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),p.foo+p.bar+p.trzy==="razdwatrzy")}},34205:function(T,p,t){var d=t(68700),g=t(36672),i=Math.max;T.exports=function(M,v){var f,l,a,u=i(arguments.length,2);for(M=Object(g(M)),a=function(o){try{M[o]=v[o]}catch(s){f||(f=s)}},l=1;l-1}},87963:function(T){var p=Object.prototype.toString,t=p.call("");T.exports=function(d){return typeof d=="string"||d&&typeof d=="object"&&(d instanceof String||p.call(d)===t)||!1}},43043:function(T){var p=Object.create(null),t=Math.random;T.exports=function(){var d;do d=t().toString(36).slice(2);while(p[d]);return d}},32411:function(T,p,t){var d,g=t(1496),i=t(66741),M=t(62072),v=t(8260),f=t(95426),l=Object.defineProperty;d=T.exports=function(a,u){if(!(this instanceof d))throw new TypeError("Constructor requires 'new'");f.call(this,a),u=u?i.call(u,"key+value")?"key+value":i.call(u,"key")?"key":"value":"value",l(this,"__kind__",M("",u))},g&&g(d,f),delete d.prototype.constructor,d.prototype=Object.create(f.prototype,{_resolve:M(function(a){return this.__kind__==="value"?this.__list__[a]:this.__kind__==="key+value"?[a,this.__list__[a]]:a})}),l(d.prototype,v.toStringTag,M("c","Array Iterator"))},27515:function(T,p,t){var d=t(73051),g=t(78513),i=t(87963),M=t(66661),v=Array.isArray,f=Function.prototype.call,l=Array.prototype.some;T.exports=function(a,u){var o,s,h,c,m,w,y,C,_=arguments[2];if(v(a)||d(a)?o="array":i(a)?o="string":a=M(a),g(u),h=function(){c=!0},o!=="array")if(o!=="string")for(s=a.next();!s.done;){if(f.call(u,_,s.value,h),c)return;s=a.next()}else for(w=a.length,m=0;m=55296&&C<=56319&&(y+=a[++m]),f.call(u,_,y,h),!c);++m);else l.call(a,function(k){return f.call(u,_,k,h),c})}},66661:function(T,p,t){var d=t(73051),g=t(87963),i=t(32411),M=t(259),v=t(58095),f=t(8260).iterator;T.exports=function(l){return typeof v(l)[f]=="function"?l[f]():d(l)?new i(l):g(l)?new M(l):new i(l)}},95426:function(T,p,t){var d,g=t(16134),i=t(95879),M=t(78513),v=t(36672),f=t(62072),l=t(55174),a=t(8260),u=Object.defineProperty,o=Object.defineProperties;T.exports=d=function(s,h){if(!(this instanceof d))throw new TypeError("Constructor requires 'new'");o(this,{__list__:f("w",v(s)),__context__:f("w",h),__nextIndex__:f("w",0)}),h&&(M(h.on),h.on("_add",this._onAdd),h.on("_delete",this._onDelete),h.on("_clear",this._onClear))},delete d.prototype.constructor,o(d.prototype,i({_next:f(function(){var s;if(this.__list__)return this.__redo__&&(s=this.__redo__.shift())!==void 0?s:this.__nextIndex__=this.__nextIndex__||(++this.__nextIndex__,this.__redo__?(this.__redo__.forEach(function(h,c){h>=s&&(this.__redo__[c]=++h)},this),this.__redo__.push(s)):u(this,"__redo__",f("c",[s])))}),_onDelete:f(function(s){var h;s>=this.__nextIndex__||(--this.__nextIndex__,this.__redo__&&((h=this.__redo__.indexOf(s))!==-1&&this.__redo__.splice(h,1),this.__redo__.forEach(function(c,m){c>s&&(this.__redo__[m]=--c)},this)))}),_onClear:f(function(){this.__redo__&&g.call(this.__redo__),this.__nextIndex__=0})}))),u(d.prototype,a.iterator,f(function(){return this}))},35940:function(T,p,t){var d=t(73051),g=t(95296),i=t(87963),M=t(8260).iterator,v=Array.isArray;T.exports=function(f){return!(!g(f)||!v(f)&&!i(f)&&!d(f)&&typeof f[M]!="function")}},259:function(T,p,t){var d,g=t(1496),i=t(62072),M=t(8260),v=t(95426),f=Object.defineProperty;d=T.exports=function(l){if(!(this instanceof d))throw new TypeError("Constructor requires 'new'");l=String(l),v.call(this,l),f(this,"__length__",i("",l.length))},g&&g(d,v),delete d.prototype.constructor,d.prototype=Object.create(v.prototype,{_next:i(function(){if(this.__list__)return this.__nextIndex__=55296&&a<=56319?u+this.__list__[this.__nextIndex__++]:u})}),f(d.prototype,M.toStringTag,i("c","String Iterator"))},58095:function(T,p,t){var d=t(35940);T.exports=function(g){if(!d(g))throw new TypeError(g+" is not iterable");return g}},73523:function(T){function p(t,d){if(t==null)throw new TypeError("Cannot convert first argument to object");for(var g=Object(t),i=1;i0&&E.length>_&&!E.warned){E.warned=!0;var A=new Error("Possible EventEmitter memory leak detected. "+E.length+" "+String(w)+" listeners added. Use emitter.setMaxListeners() to increase limit");A.name="MaxListenersExceededWarning",A.emitter=m,A.type=w,A.count=E.length,x=A,console&&console.warn&&console.warn(x)}return m}function a(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function u(m,w,y){var C={fired:!1,wrapFn:void 0,target:m,type:w,listener:y},_=a.bind(C);return _.listener=y,C.wrapFn=_,_}function o(m,w,y){var C=m._events;if(C===void 0)return[];var _=C[w];return _===void 0?[]:typeof _=="function"?y?[_.listener||_]:[_]:y?function(k){for(var E=new Array(k.length),x=0;x0&&(k=w[0]),k instanceof Error)throw k;var E=new Error("Unhandled error."+(k?" ("+k.message+")":""));throw E.context=k,E}var x=_[m];if(x===void 0)return!1;if(typeof x=="function")d(x,this,w);else{var A=x.length,L=h(x,A);for(y=0;y=0;k--)if(y[k]===w||y[k].listener===w){E=y[k].listener,_=k;break}if(_<0)return this;_===0?y.shift():function(x,A){for(;A+1=0;C--)this.removeListener(m,w[C]);return this},i.prototype.listeners=function(m){return o(this,m,!0)},i.prototype.rawListeners=function(m){return o(this,m,!1)},i.listenerCount=function(m,w){return typeof m.listenerCount=="function"?m.listenerCount(w):s.call(m,w)},i.prototype.listenerCount=s,i.prototype.eventNames=function(){return this._eventsCount>0?p(this._events):[]}},60774:function(T){var p=function(){if(typeof self=="object"&&self)return self;if(typeof window=="object"&&window)return window;throw new Error("Unable to resolve global `this`")};T.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch{return p()}try{return __global__||p()}finally{delete Object.prototype.__global__}}()},94908:function(T,p,t){T.exports=t(51152)()?globalThis:t(60774)},51152:function(T){T.exports=function(){return typeof globalThis=="object"&&!!globalThis&&globalThis.Array===Array}},92770:function(T,p,t){var d=t(18546);T.exports=function(g){var i=typeof g;if(i==="string"){var M=g;if((g=+g)==0&&d(M))return!1}else if(i!=="number")return!1;return g-g<1}},30120:function(T,p,t){var d=t(90660);T.exports=function(g,i,M){if(!g)throw new TypeError("must specify data as first parameter");if(M=0|+(M||0),Array.isArray(g)&&g[0]&&typeof g[0][0]=="number"){var v,f,l,a,u=g[0].length,o=g.length*u;i&&typeof i!="string"||(i=new(d(i||"float32"))(o+M));var s=i.length-M;if(o!==s)throw new Error("source length "+o+" ("+u+"x"+g.length+") does not match destination length "+s);for(v=0,l=M;vM[0]-l[0]/2&&(c=l[0]/2,m+=l[1]);return v}},32879:function(T){function p(i,M){M||(M={}),(typeof i=="string"||Array.isArray(i))&&(M.family=i);var v=Array.isArray(M.family)?M.family.join(", "):M.family;if(!v)throw Error("`family` must be defined");var f=M.size||M.fontSize||M.em||48,l=M.weight||M.fontWeight||"",a=(i=[M.style||M.fontStyle||"",l,f].join(" ")+"px "+v,M.origin||"top");if(p.cache[v]&&f<=p.cache[v].em)return t(p.cache[v],a);var u=M.canvas||p.canvas,o=u.getContext("2d"),s={upper:M.upper!==void 0?M.upper:"H",lower:M.lower!==void 0?M.lower:"x",descent:M.descent!==void 0?M.descent:"p",ascent:M.ascent!==void 0?M.ascent:"h",tittle:M.tittle!==void 0?M.tittle:"i",overshoot:M.overshoot!==void 0?M.overshoot:"O"},h=Math.ceil(1.5*f);u.height=h,u.width=.5*h,o.font=i;var c="H",m={top:0};o.clearRect(0,0,h,h),o.textBaseline="top",o.fillStyle="black",o.fillText(c,0,0);var w=d(o.getImageData(0,0,h,h));o.clearRect(0,0,h,h),o.textBaseline="bottom",o.fillText(c,0,h);var y=d(o.getImageData(0,0,h,h));m.lineHeight=m.bottom=h-y+w,o.clearRect(0,0,h,h),o.textBaseline="alphabetic",o.fillText(c,0,h);var C=h-d(o.getImageData(0,0,h,h))-1+w;m.baseline=m.alphabetic=C,o.clearRect(0,0,h,h),o.textBaseline="middle",o.fillText(c,0,.5*h);var _=d(o.getImageData(0,0,h,h));m.median=m.middle=h-_-1+w-.5*h,o.clearRect(0,0,h,h),o.textBaseline="hanging",o.fillText(c,0,.5*h);var k=d(o.getImageData(0,0,h,h));m.hanging=h-k-1+w-.5*h,o.clearRect(0,0,h,h),o.textBaseline="ideographic",o.fillText(c,0,h);var E=d(o.getImageData(0,0,h,h));if(m.ideographic=h-E-1+w,s.upper&&(o.clearRect(0,0,h,h),o.textBaseline="top",o.fillText(s.upper,0,0),m.upper=d(o.getImageData(0,0,h,h)),m.capHeight=m.baseline-m.upper),s.lower&&(o.clearRect(0,0,h,h),o.textBaseline="top",o.fillText(s.lower,0,0),m.lower=d(o.getImageData(0,0,h,h)),m.xHeight=m.baseline-m.lower),s.tittle&&(o.clearRect(0,0,h,h),o.textBaseline="top",o.fillText(s.tittle,0,0),m.tittle=d(o.getImageData(0,0,h,h))),s.ascent&&(o.clearRect(0,0,h,h),o.textBaseline="top",o.fillText(s.ascent,0,0),m.ascent=d(o.getImageData(0,0,h,h))),s.descent&&(o.clearRect(0,0,h,h),o.textBaseline="top",o.fillText(s.descent,0,0),m.descent=g(o.getImageData(0,0,h,h))),s.overshoot){o.clearRect(0,0,h,h),o.textBaseline="top",o.fillText(s.overshoot,0,0);var x=g(o.getImageData(0,0,h,h));m.overshoot=x-C}for(var A in m)m[A]/=f;return m.em=f,p.cache[v]=m,t(m,a)}function t(i,M){var v={};for(var f in typeof M=="string"&&(M=i[M]),i)f!=="em"&&(v[f]=i[f]-M);return v}function d(i){for(var M=i.height,v=i.data,f=3;f0;f-=4)if(v[f]!==0)return Math.floor(.25*(f-3)/M)}T.exports=p,p.canvas=document.createElement("canvas"),p.cache={}},31353:function(T,p,t){var d=t(85395),g=Object.prototype.toString,i=Object.prototype.hasOwnProperty,M=function(l,a,u){for(var o=0,s=l.length;o=3&&(o=u),g.call(l)==="[object Array]"?M(l,a,o):typeof l=="string"?v(l,a,o):f(l,a,o)}},73047:function(T){var p="Function.prototype.bind called on incompatible ",t=Array.prototype.slice,d=Object.prototype.toString,g="[object Function]";T.exports=function(i){var M=this;if(typeof M!="function"||d.call(M)!==g)throw new TypeError(p+M);for(var v,f=t.call(arguments,1),l=function(){if(this instanceof v){var h=M.apply(this,f.concat(t.call(arguments)));return Object(h)===h?h:this}return M.apply(i,f.concat(t.call(arguments)))},a=Math.max(0,M.length-f.length),u=[],o=0;o"u"&&!t.canvas)return null;var d=t.canvas||document.createElement("canvas");typeof t.width=="number"&&(d.width=t.width),typeof t.height=="number"&&(d.height=t.height);var g,i=t;try{var M=[p];p.indexOf("webgl")===0&&M.push("experimental-"+p);for(var v=0;v"u"?d:o(Uint8Array),c={"%AggregateError%":typeof AggregateError>"u"?d:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?d:ArrayBuffer,"%ArrayIteratorPrototype%":u?o([][Symbol.iterator]()):d,"%AsyncFromSyncIteratorPrototype%":d,"%AsyncFunction%":s,"%AsyncGenerator%":s,"%AsyncGeneratorFunction%":s,"%AsyncIteratorPrototype%":s,"%Atomics%":typeof Atomics>"u"?d:Atomics,"%BigInt%":typeof BigInt>"u"?d:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?d:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?d:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?d:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?d:Float32Array,"%Float64Array%":typeof Float64Array>"u"?d:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?d:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":s,"%Int8Array%":typeof Int8Array>"u"?d:Int8Array,"%Int16Array%":typeof Int16Array>"u"?d:Int16Array,"%Int32Array%":typeof Int32Array>"u"?d:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":u?o(o([][Symbol.iterator]())):d,"%JSON%":typeof JSON=="object"?JSON:d,"%Map%":typeof Map>"u"?d:Map,"%MapIteratorPrototype%":typeof Map<"u"&&u?o(new Map()[Symbol.iterator]()):d,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?d:Promise,"%Proxy%":typeof Proxy>"u"?d:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?d:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?d:Set,"%SetIteratorPrototype%":typeof Set<"u"&&u?o(new Set()[Symbol.iterator]()):d,"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?d:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":u?o(""[Symbol.iterator]()):d,"%Symbol%":u?Symbol:d,"%SyntaxError%":g,"%ThrowTypeError%":a,"%TypedArray%":h,"%TypeError%":M,"%Uint8Array%":typeof Uint8Array>"u"?d:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?d:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?d:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?d:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?d:WeakMap,"%WeakRef%":typeof WeakRef>"u"?d:WeakRef,"%WeakSet%":typeof WeakSet>"u"?d:WeakSet};try{null.error}catch(z){var m=o(o(z));c["%Error.prototype%"]=m}var w=function z(F){var B;if(F==="%AsyncFunction%")B=v("async function () {}");else if(F==="%GeneratorFunction%")B=v("function* () {}");else if(F==="%AsyncGeneratorFunction%")B=v("async function* () {}");else if(F==="%AsyncGenerator%"){var N=z("%AsyncGeneratorFunction%");N&&(B=N.prototype)}else if(F==="%AsyncIteratorPrototype%"){var W=z("%AsyncGenerator%");W&&(B=o(W.prototype))}return c[F]=B,B},y={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},C=t(77575),_=t(35065),k=C.call(Function.call,Array.prototype.concat),E=C.call(Function.apply,Array.prototype.splice),x=C.call(Function.call,String.prototype.replace),A=C.call(Function.call,String.prototype.slice),L=C.call(Function.call,RegExp.prototype.exec),b=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,R=/\\(\\)?/g,I=function(z){var F=A(z,0,1),B=A(z,-1);if(F==="%"&&B!=="%")throw new g("invalid intrinsic syntax, expected closing `%`");if(B==="%"&&F!=="%")throw new g("invalid intrinsic syntax, expected opening `%`");var N=[];return x(z,b,function(W,j,$,U){N[N.length]=$?x(U,R,"$1"):j||W}),N},O=function(z,F){var B,N=z;if(_(y,N)&&(N="%"+(B=y[N])[0]+"%"),_(c,N)){var W=c[N];if(W===s&&(W=w(N)),W===void 0&&!F)throw new M("intrinsic "+z+" exists, but is not available. Please file an issue!");return{alias:B,name:N,value:W}}throw new g("intrinsic "+z+" does not exist!")};T.exports=function(z,F){if(typeof z!="string"||z.length===0)throw new M("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof F!="boolean")throw new M('"allowMissing" argument must be a boolean');if(L(/^%?[^%]*%?$/,z)===null)throw new g("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var B=I(z),N=B.length>0?B[0]:"",W=O("%"+N+"%",F),j=W.name,$=W.value,U=!1,G=W.alias;G&&(N=G[0],E(B,k([0,1],G)));for(var q=1,H=!0;q=B.length){var X=f($,ne);$=(H=!!X)&&"get"in X&&!("originalValue"in X.get)?X.get:$[ne]}else H=_($,ne),$=$[ne];H&&!U&&(c[j]=$)}}return $}},85400:function(T){T.exports=function(p,t){var d=t[0],g=t[1],i=t[2],M=t[3],v=t[4],f=t[5],l=t[6],a=t[7],u=t[8],o=t[9],s=t[10],h=t[11],c=t[12],m=t[13],w=t[14],y=t[15];return p[0]=f*(s*y-h*w)-o*(l*y-a*w)+m*(l*h-a*s),p[1]=-(g*(s*y-h*w)-o*(i*y-M*w)+m*(i*h-M*s)),p[2]=g*(l*y-a*w)-f*(i*y-M*w)+m*(i*a-M*l),p[3]=-(g*(l*h-a*s)-f*(i*h-M*s)+o*(i*a-M*l)),p[4]=-(v*(s*y-h*w)-u*(l*y-a*w)+c*(l*h-a*s)),p[5]=d*(s*y-h*w)-u*(i*y-M*w)+c*(i*h-M*s),p[6]=-(d*(l*y-a*w)-v*(i*y-M*w)+c*(i*a-M*l)),p[7]=d*(l*h-a*s)-v*(i*h-M*s)+u*(i*a-M*l),p[8]=v*(o*y-h*m)-u*(f*y-a*m)+c*(f*h-a*o),p[9]=-(d*(o*y-h*m)-u*(g*y-M*m)+c*(g*h-M*o)),p[10]=d*(f*y-a*m)-v*(g*y-M*m)+c*(g*a-M*f),p[11]=-(d*(f*h-a*o)-v*(g*h-M*o)+u*(g*a-M*f)),p[12]=-(v*(o*w-s*m)-u*(f*w-l*m)+c*(f*s-l*o)),p[13]=d*(o*w-s*m)-u*(g*w-i*m)+c*(g*s-i*o),p[14]=-(d*(f*w-l*m)-v*(g*w-i*m)+c*(g*l-i*f)),p[15]=d*(f*s-l*o)-v*(g*s-i*o)+u*(g*l-i*f),p}},42331:function(T){T.exports=function(p){var t=new Float32Array(16);return t[0]=p[0],t[1]=p[1],t[2]=p[2],t[3]=p[3],t[4]=p[4],t[5]=p[5],t[6]=p[6],t[7]=p[7],t[8]=p[8],t[9]=p[9],t[10]=p[10],t[11]=p[11],t[12]=p[12],t[13]=p[13],t[14]=p[14],t[15]=p[15],t}},31042:function(T){T.exports=function(p,t){return p[0]=t[0],p[1]=t[1],p[2]=t[2],p[3]=t[3],p[4]=t[4],p[5]=t[5],p[6]=t[6],p[7]=t[7],p[8]=t[8],p[9]=t[9],p[10]=t[10],p[11]=t[11],p[12]=t[12],p[13]=t[13],p[14]=t[14],p[15]=t[15],p}},11902:function(T){T.exports=function(){var p=new Float32Array(16);return p[0]=1,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=1,p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=1,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},89887:function(T){T.exports=function(p){var t=p[0],d=p[1],g=p[2],i=p[3],M=p[4],v=p[5],f=p[6],l=p[7],a=p[8],u=p[9],o=p[10],s=p[11],h=p[12],c=p[13],m=p[14],w=p[15];return(t*v-d*M)*(o*w-s*m)-(t*f-g*M)*(u*w-s*c)+(t*l-i*M)*(u*m-o*c)+(d*f-g*v)*(a*w-s*h)-(d*l-i*v)*(a*m-o*h)+(g*l-i*f)*(a*c-u*h)}},27812:function(T){T.exports=function(p,t){var d=t[0],g=t[1],i=t[2],M=t[3],v=d+d,f=g+g,l=i+i,a=d*v,u=g*v,o=g*f,s=i*v,h=i*f,c=i*l,m=M*v,w=M*f,y=M*l;return p[0]=1-o-c,p[1]=u+y,p[2]=s-w,p[3]=0,p[4]=u-y,p[5]=1-a-c,p[6]=h+m,p[7]=0,p[8]=s+w,p[9]=h-m,p[10]=1-a-o,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},34045:function(T){T.exports=function(p,t,d){var g,i,M,v=d[0],f=d[1],l=d[2],a=Math.sqrt(v*v+f*f+l*l);return Math.abs(a)<1e-6?null:(v*=a=1/a,f*=a,l*=a,g=Math.sin(t),M=1-(i=Math.cos(t)),p[0]=v*v*M+i,p[1]=f*v*M+l*g,p[2]=l*v*M-f*g,p[3]=0,p[4]=v*f*M-l*g,p[5]=f*f*M+i,p[6]=l*f*M+v*g,p[7]=0,p[8]=v*l*M+f*g,p[9]=f*l*M-v*g,p[10]=l*l*M+i,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p)}},45973:function(T){T.exports=function(p,t,d){var g=t[0],i=t[1],M=t[2],v=t[3],f=g+g,l=i+i,a=M+M,u=g*f,o=g*l,s=g*a,h=i*l,c=i*a,m=M*a,w=v*f,y=v*l,C=v*a;return p[0]=1-(h+m),p[1]=o+C,p[2]=s-y,p[3]=0,p[4]=o-C,p[5]=1-(u+m),p[6]=c+w,p[7]=0,p[8]=s+y,p[9]=c-w,p[10]=1-(u+h),p[11]=0,p[12]=d[0],p[13]=d[1],p[14]=d[2],p[15]=1,p}},81472:function(T){T.exports=function(p,t){return p[0]=t[0],p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=t[1],p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=t[2],p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},14669:function(T){T.exports=function(p,t){return p[0]=1,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=1,p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=1,p[11]=0,p[12]=t[0],p[13]=t[1],p[14]=t[2],p[15]=1,p}},75262:function(T){T.exports=function(p,t){var d=Math.sin(t),g=Math.cos(t);return p[0]=1,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=g,p[6]=d,p[7]=0,p[8]=0,p[9]=-d,p[10]=g,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},331:function(T){T.exports=function(p,t){var d=Math.sin(t),g=Math.cos(t);return p[0]=g,p[1]=0,p[2]=-d,p[3]=0,p[4]=0,p[5]=1,p[6]=0,p[7]=0,p[8]=d,p[9]=0,p[10]=g,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},11049:function(T){T.exports=function(p,t){var d=Math.sin(t),g=Math.cos(t);return p[0]=g,p[1]=d,p[2]=0,p[3]=0,p[4]=-d,p[5]=g,p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=1,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},75195:function(T){T.exports=function(p,t,d,g,i,M,v){var f=1/(d-t),l=1/(i-g),a=1/(M-v);return p[0]=2*M*f,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=2*M*l,p[6]=0,p[7]=0,p[8]=(d+t)*f,p[9]=(i+g)*l,p[10]=(v+M)*a,p[11]=-1,p[12]=0,p[13]=0,p[14]=v*M*2*a,p[15]=0,p}},71551:function(T){T.exports=function(p){return p[0]=1,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=1,p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=1,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},79576:function(T,p,t){T.exports={create:t(11902),clone:t(42331),copy:t(31042),identity:t(71551),transpose:t(88654),invert:t(95874),adjoint:t(85400),determinant:t(89887),multiply:t(91362),translate:t(31283),scale:t(10789),rotate:t(65074),rotateX:t(35545),rotateY:t(94918),rotateZ:t(15692),fromRotation:t(34045),fromRotationTranslation:t(45973),fromScaling:t(81472),fromTranslation:t(14669),fromXRotation:t(75262),fromYRotation:t(331),fromZRotation:t(11049),fromQuat:t(27812),frustum:t(75195),perspective:t(7864),perspectiveFromFieldOfView:t(35279),ortho:t(60378),lookAt:t(65551),str:t(6726)}},95874:function(T){T.exports=function(p,t){var d=t[0],g=t[1],i=t[2],M=t[3],v=t[4],f=t[5],l=t[6],a=t[7],u=t[8],o=t[9],s=t[10],h=t[11],c=t[12],m=t[13],w=t[14],y=t[15],C=d*f-g*v,_=d*l-i*v,k=d*a-M*v,E=g*l-i*f,x=g*a-M*f,A=i*a-M*l,L=u*m-o*c,b=u*w-s*c,R=u*y-h*c,I=o*w-s*m,O=o*y-h*m,z=s*y-h*w,F=C*z-_*O+k*I+E*R-x*b+A*L;return F?(F=1/F,p[0]=(f*z-l*O+a*I)*F,p[1]=(i*O-g*z-M*I)*F,p[2]=(m*A-w*x+y*E)*F,p[3]=(s*x-o*A-h*E)*F,p[4]=(l*R-v*z-a*b)*F,p[5]=(d*z-i*R+M*b)*F,p[6]=(w*k-c*A-y*_)*F,p[7]=(u*A-s*k+h*_)*F,p[8]=(v*O-f*R+a*L)*F,p[9]=(g*R-d*O-M*L)*F,p[10]=(c*x-m*k+y*C)*F,p[11]=(o*k-u*x-h*C)*F,p[12]=(f*b-v*I-l*L)*F,p[13]=(d*I-g*b+i*L)*F,p[14]=(m*_-c*E-w*C)*F,p[15]=(u*E-o*_+s*C)*F,p):null}},65551:function(T,p,t){var d=t(71551);T.exports=function(g,i,M,v){var f,l,a,u,o,s,h,c,m,w,y=i[0],C=i[1],_=i[2],k=v[0],E=v[1],x=v[2],A=M[0],L=M[1],b=M[2];return Math.abs(y-A)<1e-6&&Math.abs(C-L)<1e-6&&Math.abs(_-b)<1e-6?d(g):(h=y-A,c=C-L,m=_-b,f=E*(m*=w=1/Math.sqrt(h*h+c*c+m*m))-x*(c*=w),l=x*(h*=w)-k*m,a=k*c-E*h,(w=Math.sqrt(f*f+l*l+a*a))?(f*=w=1/w,l*=w,a*=w):(f=0,l=0,a=0),u=c*a-m*l,o=m*f-h*a,s=h*l-c*f,(w=Math.sqrt(u*u+o*o+s*s))?(u*=w=1/w,o*=w,s*=w):(u=0,o=0,s=0),g[0]=f,g[1]=u,g[2]=h,g[3]=0,g[4]=l,g[5]=o,g[6]=c,g[7]=0,g[8]=a,g[9]=s,g[10]=m,g[11]=0,g[12]=-(f*y+l*C+a*_),g[13]=-(u*y+o*C+s*_),g[14]=-(h*y+c*C+m*_),g[15]=1,g)}},91362:function(T){T.exports=function(p,t,d){var g=t[0],i=t[1],M=t[2],v=t[3],f=t[4],l=t[5],a=t[6],u=t[7],o=t[8],s=t[9],h=t[10],c=t[11],m=t[12],w=t[13],y=t[14],C=t[15],_=d[0],k=d[1],E=d[2],x=d[3];return p[0]=_*g+k*f+E*o+x*m,p[1]=_*i+k*l+E*s+x*w,p[2]=_*M+k*a+E*h+x*y,p[3]=_*v+k*u+E*c+x*C,_=d[4],k=d[5],E=d[6],x=d[7],p[4]=_*g+k*f+E*o+x*m,p[5]=_*i+k*l+E*s+x*w,p[6]=_*M+k*a+E*h+x*y,p[7]=_*v+k*u+E*c+x*C,_=d[8],k=d[9],E=d[10],x=d[11],p[8]=_*g+k*f+E*o+x*m,p[9]=_*i+k*l+E*s+x*w,p[10]=_*M+k*a+E*h+x*y,p[11]=_*v+k*u+E*c+x*C,_=d[12],k=d[13],E=d[14],x=d[15],p[12]=_*g+k*f+E*o+x*m,p[13]=_*i+k*l+E*s+x*w,p[14]=_*M+k*a+E*h+x*y,p[15]=_*v+k*u+E*c+x*C,p}},60378:function(T){T.exports=function(p,t,d,g,i,M,v){var f=1/(t-d),l=1/(g-i),a=1/(M-v);return p[0]=-2*f,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=-2*l,p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=2*a,p[11]=0,p[12]=(t+d)*f,p[13]=(i+g)*l,p[14]=(v+M)*a,p[15]=1,p}},7864:function(T){T.exports=function(p,t,d,g,i){var M=1/Math.tan(t/2),v=1/(g-i);return p[0]=M/d,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=M,p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=(i+g)*v,p[11]=-1,p[12]=0,p[13]=0,p[14]=2*i*g*v,p[15]=0,p}},35279:function(T){T.exports=function(p,t,d,g){var i=Math.tan(t.upDegrees*Math.PI/180),M=Math.tan(t.downDegrees*Math.PI/180),v=Math.tan(t.leftDegrees*Math.PI/180),f=Math.tan(t.rightDegrees*Math.PI/180),l=2/(v+f),a=2/(i+M);return p[0]=l,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=a,p[6]=0,p[7]=0,p[8]=-(v-f)*l*.5,p[9]=(i-M)*a*.5,p[10]=g/(d-g),p[11]=-1,p[12]=0,p[13]=0,p[14]=g*d/(d-g),p[15]=0,p}},65074:function(T){T.exports=function(p,t,d,g){var i,M,v,f,l,a,u,o,s,h,c,m,w,y,C,_,k,E,x,A,L,b,R,I,O=g[0],z=g[1],F=g[2],B=Math.sqrt(O*O+z*z+F*F);return Math.abs(B)<1e-6?null:(O*=B=1/B,z*=B,F*=B,i=Math.sin(d),v=1-(M=Math.cos(d)),f=t[0],l=t[1],a=t[2],u=t[3],o=t[4],s=t[5],h=t[6],c=t[7],m=t[8],w=t[9],y=t[10],C=t[11],_=O*O*v+M,k=z*O*v+F*i,E=F*O*v-z*i,x=O*z*v-F*i,A=z*z*v+M,L=F*z*v+O*i,b=O*F*v+z*i,R=z*F*v-O*i,I=F*F*v+M,p[0]=f*_+o*k+m*E,p[1]=l*_+s*k+w*E,p[2]=a*_+h*k+y*E,p[3]=u*_+c*k+C*E,p[4]=f*x+o*A+m*L,p[5]=l*x+s*A+w*L,p[6]=a*x+h*A+y*L,p[7]=u*x+c*A+C*L,p[8]=f*b+o*R+m*I,p[9]=l*b+s*R+w*I,p[10]=a*b+h*R+y*I,p[11]=u*b+c*R+C*I,t!==p&&(p[12]=t[12],p[13]=t[13],p[14]=t[14],p[15]=t[15]),p)}},35545:function(T){T.exports=function(p,t,d){var g=Math.sin(d),i=Math.cos(d),M=t[4],v=t[5],f=t[6],l=t[7],a=t[8],u=t[9],o=t[10],s=t[11];return t!==p&&(p[0]=t[0],p[1]=t[1],p[2]=t[2],p[3]=t[3],p[12]=t[12],p[13]=t[13],p[14]=t[14],p[15]=t[15]),p[4]=M*i+a*g,p[5]=v*i+u*g,p[6]=f*i+o*g,p[7]=l*i+s*g,p[8]=a*i-M*g,p[9]=u*i-v*g,p[10]=o*i-f*g,p[11]=s*i-l*g,p}},94918:function(T){T.exports=function(p,t,d){var g=Math.sin(d),i=Math.cos(d),M=t[0],v=t[1],f=t[2],l=t[3],a=t[8],u=t[9],o=t[10],s=t[11];return t!==p&&(p[4]=t[4],p[5]=t[5],p[6]=t[6],p[7]=t[7],p[12]=t[12],p[13]=t[13],p[14]=t[14],p[15]=t[15]),p[0]=M*i-a*g,p[1]=v*i-u*g,p[2]=f*i-o*g,p[3]=l*i-s*g,p[8]=M*g+a*i,p[9]=v*g+u*i,p[10]=f*g+o*i,p[11]=l*g+s*i,p}},15692:function(T){T.exports=function(p,t,d){var g=Math.sin(d),i=Math.cos(d),M=t[0],v=t[1],f=t[2],l=t[3],a=t[4],u=t[5],o=t[6],s=t[7];return t!==p&&(p[8]=t[8],p[9]=t[9],p[10]=t[10],p[11]=t[11],p[12]=t[12],p[13]=t[13],p[14]=t[14],p[15]=t[15]),p[0]=M*i+a*g,p[1]=v*i+u*g,p[2]=f*i+o*g,p[3]=l*i+s*g,p[4]=a*i-M*g,p[5]=u*i-v*g,p[6]=o*i-f*g,p[7]=s*i-l*g,p}},10789:function(T){T.exports=function(p,t,d){var g=d[0],i=d[1],M=d[2];return p[0]=t[0]*g,p[1]=t[1]*g,p[2]=t[2]*g,p[3]=t[3]*g,p[4]=t[4]*i,p[5]=t[5]*i,p[6]=t[6]*i,p[7]=t[7]*i,p[8]=t[8]*M,p[9]=t[9]*M,p[10]=t[10]*M,p[11]=t[11]*M,p[12]=t[12],p[13]=t[13],p[14]=t[14],p[15]=t[15],p}},6726:function(T){T.exports=function(p){return"mat4("+p[0]+", "+p[1]+", "+p[2]+", "+p[3]+", "+p[4]+", "+p[5]+", "+p[6]+", "+p[7]+", "+p[8]+", "+p[9]+", "+p[10]+", "+p[11]+", "+p[12]+", "+p[13]+", "+p[14]+", "+p[15]+")"}},31283:function(T){T.exports=function(p,t,d){var g,i,M,v,f,l,a,u,o,s,h,c,m=d[0],w=d[1],y=d[2];return t===p?(p[12]=t[0]*m+t[4]*w+t[8]*y+t[12],p[13]=t[1]*m+t[5]*w+t[9]*y+t[13],p[14]=t[2]*m+t[6]*w+t[10]*y+t[14],p[15]=t[3]*m+t[7]*w+t[11]*y+t[15]):(g=t[0],i=t[1],M=t[2],v=t[3],f=t[4],l=t[5],a=t[6],u=t[7],o=t[8],s=t[9],h=t[10],c=t[11],p[0]=g,p[1]=i,p[2]=M,p[3]=v,p[4]=f,p[5]=l,p[6]=a,p[7]=u,p[8]=o,p[9]=s,p[10]=h,p[11]=c,p[12]=g*m+f*w+o*y+t[12],p[13]=i*m+l*w+s*y+t[13],p[14]=M*m+a*w+h*y+t[14],p[15]=v*m+u*w+c*y+t[15]),p}},88654:function(T){T.exports=function(p,t){if(p===t){var d=t[1],g=t[2],i=t[3],M=t[6],v=t[7],f=t[11];p[1]=t[4],p[2]=t[8],p[3]=t[12],p[4]=d,p[6]=t[9],p[7]=t[13],p[8]=g,p[9]=M,p[11]=t[14],p[12]=i,p[13]=v,p[14]=f}else p[0]=t[0],p[1]=t[4],p[2]=t[8],p[3]=t[12],p[4]=t[1],p[5]=t[5],p[6]=t[9],p[7]=t[13],p[8]=t[2],p[9]=t[6],p[10]=t[10],p[11]=t[14],p[12]=t[3],p[13]=t[7],p[14]=t[11],p[15]=t[15];return p}},42505:function(T,p,t){var d=t(72791),g=t(71299),i=t(98580),M=t(12018),v=t(83522),f=t(25075),l=t(68016),a=t(58404),u=t(18863),o=t(10973),s=t(25677),h=t(75686),c=t(53545),m=t(56131),w=t(32879),y=t(30120),C=t(13547).nextPow2,_=new v,k=!1;if(document.body){var E=document.body.appendChild(document.createElement("div"));E.style.font="italic small-caps bold condensed 16px/2 cursive",getComputedStyle(E).fontStretch&&(k=!0),document.body.removeChild(E)}var x=function(A){(function(L){return typeof L=="function"&&L._gl&&L.prop&&L.texture&&L.buffer})(A)?(A={regl:A},this.gl=A.regl._gl):this.gl=M(A),this.shader=_.get(this.gl),this.shader?this.regl=this.shader.regl:this.regl=A.regl||i({gl:this.gl}),this.charBuffer=this.regl.buffer({type:"uint8",usage:"stream"}),this.sizeBuffer=this.regl.buffer({type:"float",usage:"stream"}),this.shader||(this.shader=this.createShader(),_.set(this.gl,this.shader)),this.batch=[],this.fontSize=[],this.font=[],this.fontAtlas=[],this.draw=this.shader.draw.bind(this),this.render=function(){this.regl._refresh(),this.draw(this.batch)},this.canvas=this.gl.canvas,this.update(o(A)?A:{})};x.prototype.createShader=function(){var A=this.regl,L=A({blend:{enable:!0,color:[0,0,0,1],func:{srcRGB:"src alpha",dstRGB:"one minus src alpha",srcAlpha:"one minus dst alpha",dstAlpha:"one"}},stencil:{enable:!1},depth:{enable:!1},count:A.prop("count"),offset:A.prop("offset"),attributes:{charOffset:{offset:4,stride:8,buffer:A.this("sizeBuffer")},width:{offset:0,stride:8,buffer:A.this("sizeBuffer")},char:A.this("charBuffer"),position:A.this("position")},uniforms:{atlasSize:function(b,R){return[R.atlas.width,R.atlas.height]},atlasDim:function(b,R){return[R.atlas.cols,R.atlas.rows]},atlas:function(b,R){return R.atlas.texture},charStep:function(b,R){return R.atlas.step},em:function(b,R){return R.atlas.em},color:A.prop("color"),opacity:A.prop("opacity"),viewport:A.this("viewportArray"),scale:A.this("scale"),align:A.prop("align"),baseline:A.prop("baseline"),translate:A.this("translate"),positionOffset:A.prop("positionOffset")},primitive:"points",viewport:A.this("viewport"),vert:` precision highp float; attribute float width, charOffset, char; attribute vec2 position; @@ -2475,7 +2475,7 @@ should equal // color.rgb += (1. - color.rgb) * (1. - mask.rgb); gl_FragColor = color; - }`});return{regl:A,draw:L,atlas:{}}},x.prototype.update=function(A){var L=this;if(typeof A=="string")A={text:A};else if(!A)return;(A=g(A,{position:"position positions coord coords coordinates",font:"font fontFace fontface typeface cssFont css-font family fontFamily",fontSize:"fontSize fontsize size font-size",text:"text texts chars characters value values symbols",align:"align alignment textAlign textbaseline",baseline:"baseline textBaseline textbaseline",direction:"dir direction textDirection",color:"color colour fill fill-color fillColor textColor textcolor",kerning:"kerning kern",range:"range dataBox",viewport:"vp viewport viewBox viewbox viewPort",opacity:"opacity alpha transparency visible visibility opaque",offset:"offset positionOffset padding shift indent indentation"},!0)).opacity!=null&&(Array.isArray(A.opacity)?this.opacity=A.opacity.map(function(ae){return parseFloat(ae)}):this.opacity=parseFloat(A.opacity)),A.viewport!=null&&(this.viewport=u(A.viewport),this.viewportArray=[this.viewport.x,this.viewport.y,this.viewport.width,this.viewport.height]),this.viewport==null&&(this.viewport={x:0,y:0,width:this.gl.drawingBufferWidth,height:this.gl.drawingBufferHeight},this.viewportArray=[this.viewport.x,this.viewport.y,this.viewport.width,this.viewport.height]),A.kerning!=null&&(this.kerning=A.kerning),A.offset!=null&&(typeof A.offset=="number"&&(A.offset=[A.offset,0]),this.positionOffset=y(A.offset)),A.direction&&(this.direction=A.direction),A.range&&(this.range=A.range,this.scale=[1/(A.range[2]-A.range[0]),1/(A.range[3]-A.range[1])],this.translate=[-A.range[0],-A.range[1]]),A.scale&&(this.scale=A.scale),A.translate&&(this.translate=A.translate),this.scale||(this.scale=[1/this.viewport.width,1/this.viewport.height]),this.translate||(this.translate=[0,0]),this.font.length||A.font||(A.font=x.baseFontSize+"px sans-serif");var b,R=!1,I=!1;if(A.font&&(Array.isArray(A.font)?A.font:[A.font]).forEach(function(ae,fe){if(typeof ae=="string")try{ae=d.parse(ae)}catch{ae=d.parse(x.baseFontSize+"px "+ae)}else ae=d.parse(d.stringify(ae));var be=d.stringify({size:x.baseFontSize,family:ae.family,stretch:k?ae.stretch:void 0,variant:ae.variant,weight:ae.weight,style:ae.style}),ke=s(ae.size),Le=Math.round(ke[0]*c(ke[1]));if(Le!==L.fontSize[fe]&&(I=!0,L.fontSize[fe]=Le),!(L.font[fe]&&be==L.font[fe].baseString||(R=!0,L.font[fe]=x.fonts[be],L.font[fe]))){var Be=ae.family.join(", "),ze=[ae.style];ae.style!=ae.variant&&ze.push(ae.variant),ae.variant!=ae.weight&&ze.push(ae.weight),k&&ae.weight!=ae.stretch&&ze.push(ae.stretch),L.font[fe]={baseString:be,family:Be,weight:ae.weight,stretch:ae.stretch,style:ae.style,variant:ae.variant,width:{},kerning:{},metrics:w(Be,{origin:"top",fontSize:x.baseFontSize,fontStyle:ze.join(" ")})},x.fonts[be]=L.font[fe]}}),(R||I)&&this.font.forEach(function(ae,fe){var be=d.stringify({size:L.fontSize[fe],family:ae.family,stretch:k?ae.stretch:void 0,variant:ae.variant,weight:ae.weight,style:ae.style});if(L.fontAtlas[fe]=L.shader.atlas[be],!L.fontAtlas[fe]){var ke=ae.metrics;L.shader.atlas[be]=L.fontAtlas[fe]={fontString:be,step:2*Math.ceil(L.fontSize[fe]*ke.bottom*.5),em:L.fontSize[fe],cols:0,rows:0,height:0,width:0,chars:[],ids:{},texture:L.regl.texture()}}A.text==null&&(A.text=L.text)}),typeof A.text=="string"&&A.position&&A.position.length>2){for(var O=Array(.5*A.position.length),z=0;z2){for(var B=!A.position[0].length,N=a.mallocFloat(2*this.count),W=0,j=0;W1?L.align[fe]:L.align[0]:L.align;if(typeof be=="number")return be;switch(be){case"right":case"end":return-ae;case"center":case"centre":case"middle":return .5*-ae}return 0})),this.baseline==null&&A.baseline==null&&(A.baseline=0),A.baseline!=null&&(this.baseline=A.baseline,Array.isArray(this.baseline)||(this.baseline=[this.baseline]),this.baselineOffset=this.baseline.map(function(ae,fe){var be=(L.font[fe]||L.font[0]).metrics,ke=0;return ke+=.5*be.bottom,-1*(ke+=typeof ae=="number"?ae-be.baseline:-be[ae])})),A.color!=null)if(A.color||(A.color="transparent"),typeof A.color!="string"&&isNaN(A.color)){var me;if(typeof A.color[0]=="number"&&A.color.length>this.counts.length){var pe=A.color.length;me=a.mallocUint8(pe);for(var xe=(A.color.subarray||A.color.slice).bind(A.color),Pe=0;Pe4||this.baselineOffset.length>1||this.align&&this.align.length>1||this.fontAtlas.length>1||this.positionOffset.length>2){var Se=Math.max(.5*this.position.length||0,.25*this.color.length||0,this.baselineOffset.length||0,this.alignOffset.length||0,this.font.length||0,this.opacity.length||0,.5*this.positionOffset.length||0);this.batch=Array(Se);for(var Ce=0;Ce1?this.counts[Ce]:this.counts[0],offset:this.textOffsets.length>1?this.textOffsets[Ce]:this.textOffsets[0],color:this.color?this.color.length<=4?this.color:this.color.subarray(4*Ce,4*Ce+4):[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[Ce]:this.opacity,baseline:this.baselineOffset[Ce]!=null?this.baselineOffset[Ce]:this.baselineOffset[0],align:this.align?this.alignOffset[Ce]!=null?this.alignOffset[Ce]:this.alignOffset[0]:0,atlas:this.fontAtlas[Ce]||this.fontAtlas[0],positionOffset:this.positionOffset.length>2?this.positionOffset.subarray(2*Ce,2*Ce+2):this.positionOffset}}else this.count?this.batch=[{count:this.count,offset:0,color:this.color||[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[0]:this.opacity,baseline:this.baselineOffset[0],align:this.alignOffset?this.alignOffset[0]:0,atlas:this.fontAtlas[0],positionOffset:this.positionOffset}]:this.batch=[]},x.prototype.destroy=function(){},x.prototype.kerning=!0,x.prototype.position={constant:new Float32Array(2)},x.prototype.translate=null,x.prototype.scale=null,x.prototype.font=null,x.prototype.text="",x.prototype.positionOffset=[0,0],x.prototype.opacity=1,x.prototype.color=new Uint8Array([0,0,0,255]),x.prototype.alignOffset=[0,0],x.maxAtlasSize=1024,x.atlasCanvas=document.createElement("canvas"),x.atlasContext=x.atlasCanvas.getContext("2d",{alpha:!1}),x.baseFontSize=64,x.fonts={},T.exports=x},12018:function(T,p,t){var d=t(71299);function g(v){if(v.container)if(v.container==document.body)document.body.style.width||(v.canvas.width=v.width||v.pixelRatio*t.g.innerWidth),document.body.style.height||(v.canvas.height=v.height||v.pixelRatio*t.g.innerHeight);else{var f=v.container.getBoundingClientRect();v.canvas.width=v.width||f.right-f.left,v.canvas.height=v.height||f.bottom-f.top}}function i(v){return typeof v.getContext=="function"&&"width"in v&&"height"in v}function M(){var v=document.createElement("canvas");return v.style.position="absolute",v.style.top=0,v.style.left=0,v}T.exports=function(v){var f;if(v?typeof v=="string"&&(v={container:v}):v={},(v=i(v)||typeof(f=v).nodeName=="string"&&typeof f.appendChild=="function"&&typeof f.getBoundingClientRect=="function"?{container:v}:function(a){return typeof a.drawArrays=="function"||typeof a.drawElements=="function"}(v)?{gl:v}:d(v,{container:"container target element el canvas holder parent parentNode wrapper use ref root node",gl:"gl context webgl glContext",attrs:"attributes attrs contextAttributes",pixelRatio:"pixelRatio pxRatio px ratio pxratio pixelratio",width:"w width",height:"h height"},!0)).pixelRatio||(v.pixelRatio=t.g.pixelRatio||1),v.gl)return v.gl;if(v.canvas&&(v.container=v.canvas.parentNode),v.container){if(typeof v.container=="string"){var l=document.querySelector(v.container);if(!l)throw Error("Element "+v.container+" is not found");v.container=l}i(v.container)?(v.canvas=v.container,v.container=v.canvas.parentNode):v.canvas||(v.canvas=M(),v.container.appendChild(v.canvas),g(v))}else if(!v.canvas){if(typeof document>"u")throw Error("Not DOM environment. Use headless-gl.");v.container=document.body||document.documentElement,v.canvas=M(),v.container.appendChild(v.canvas),g(v)}return v.gl||["webgl","experimental-webgl","webgl-experimental"].some(function(a){try{v.gl=v.canvas.getContext(a,v.attrs)}catch{}return v.gl}),v.gl}},56068:function(T){T.exports=function(p){typeof p=="string"&&(p=[p]);for(var t=[].slice.call(arguments,1),d=[],g=0;g>1,o=-7,s=g?M-1:0,c=g?-1:1,h=t[d+s];for(s+=c,v=h&(1<<-o)-1,h>>=-o,o+=l;o>0;v=256*v+t[d+s],s+=c,o-=8);for(f=v&(1<<-o)-1,v>>=-o,o+=i;o>0;f=256*f+t[d+s],s+=c,o-=8);if(v===0)v=1-u;else{if(v===a)return f?NaN:1/0*(h?-1:1);f+=Math.pow(2,i),v-=u}return(h?-1:1)*f*Math.pow(2,v-i)},p.write=function(t,d,g,i,M,v){var f,l,a,u=8*v-M-1,o=(1<>1,c=M===23?Math.pow(2,-24)-Math.pow(2,-77):0,h=i?0:v-1,m=i?1:-1,w=d<0||d===0&&1/d<0?1:0;for(d=Math.abs(d),isNaN(d)||d===1/0?(l=isNaN(d)?1:0,f=o):(f=Math.floor(Math.log(d)/Math.LN2),d*(a=Math.pow(2,-f))<1&&(f--,a*=2),(d+=f+s>=1?c/a:c*Math.pow(2,1-s))*a>=2&&(f++,a/=2),f+s>=o?(l=0,f=o):f+s>=1?(l=(d*a-1)*Math.pow(2,M),f+=s):(l=d*Math.pow(2,s-1)*Math.pow(2,M),f=0));M>=8;t[g+h]=255&l,h+=m,l/=256,M-=8);for(f=f<0;t[g+h]=255&f,h+=m,f/=256,u-=8);t[g+h-m]|=128*w}},42018:function(T){typeof Object.create=="function"?T.exports=function(p,t){t&&(p.super_=t,p.prototype=Object.create(t.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}))}:T.exports=function(p,t){if(t){p.super_=t;var d=function(){};d.prototype=t.prototype,p.prototype=new d,p.prototype.constructor=p}}},47216:function(T,p,t){var d=t(84543)(),g=t(6614)("Object.prototype.toString"),i=function(f){return!(d&&f&&typeof f=="object"&&Symbol.toStringTag in f)&&g(f)==="[object Arguments]"},M=function(f){return!!i(f)||f!==null&&typeof f=="object"&&typeof f.length=="number"&&f.length>=0&&g(f)!=="[object Array]"&&g(f.callee)==="[object Function]"},v=function(){return i(arguments)}();i.isLegacyArguments=M,T.exports=v?i:M},54404:function(T){T.exports=!0},85395:function(T){var p,t,d=Function.prototype.toString,g=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply;if(typeof g=="function"&&typeof Object.defineProperty=="function")try{p=Object.defineProperty({},"length",{get:function(){throw t}}),t={},g(function(){throw 42},null,p)}catch(s){s!==t&&(g=null)}else g=null;var i=/^\s*class\b/,M=function(s){try{var c=d.call(s);return i.test(c)}catch{return!1}},v=function(s){try{return!M(s)&&(d.call(s),!0)}catch{return!1}},f=Object.prototype.toString,l=typeof Symbol=="function"&&!!Symbol.toStringTag,a=!(0 in[,]),u=function(){return!1};if(typeof document=="object"){var o=document.all;f.call(o)===f.call(document.all)&&(u=function(s){if((a||!s)&&(s===void 0||typeof s=="object"))try{var c=f.call(s);return(c==="[object HTMLAllCollection]"||c==="[object HTML document.all class]"||c==="[object HTMLCollection]"||c==="[object Object]")&&s("")==null}catch{}return!1})}T.exports=g?function(s){if(u(s))return!0;if(!s||typeof s!="function"&&typeof s!="object")return!1;try{g(s,null,p)}catch(c){if(c!==t)return!1}return!M(s)&&v(s)}:function(s){if(u(s))return!0;if(!s||typeof s!="function"&&typeof s!="object")return!1;if(l)return v(s);if(M(s))return!1;var c=f.call(s);return!(c!=="[object Function]"&&c!=="[object GeneratorFunction]"&&!/^\[object HTML/.test(c))&&v(s)}},65481:function(T,p,t){var d,g=Object.prototype.toString,i=Function.prototype.toString,M=/^\s*(?:function)?\*/,v=t(84543)(),f=Object.getPrototypeOf;T.exports=function(l){if(typeof l!="function")return!1;if(M.test(i.call(l)))return!0;if(!v)return g.call(l)==="[object GeneratorFunction]";if(!f)return!1;if(d===void 0){var a=function(){if(!v)return!1;try{return Function("return function*() {}")()}catch{}}();d=!!a&&f(a)}return f(l)===d}},62683:function(T){T.exports=typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||/Trident\//.test(navigator.appVersion))},64274:function(T){T.exports=function(p){return p!=p}},15567:function(T,p,t){var d=t(68222),g=t(17045),i=t(64274),M=t(14922),v=t(22442),f=d(M(),Number);g(f,{getPolyfill:M,implementation:i,shim:v}),T.exports=f},14922:function(T,p,t){var d=t(64274);T.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:d}},22442:function(T,p,t){var d=t(17045),g=t(14922);T.exports=function(){var i=g();return d(Number,{isNaN:i},{isNaN:function(){return Number.isNaN!==i}}),i}},64941:function(T){T.exports=function(p){var t=typeof p;return p!==null&&(t==="object"||t==="function")}},10973:function(T){var p=Object.prototype.toString;T.exports=function(t){var d;return p.call(t)==="[object Object]"&&((d=Object.getPrototypeOf(t))===null||d===Object.getPrototypeOf({}))}},18546:function(T){T.exports=function(p){for(var t,d=p.length,g=0;g13)&&t!==32&&t!==133&&t!==160&&t!==5760&&t!==6158&&(t<8192||t>8205)&&t!==8232&&t!==8233&&t!==8239&&t!==8287&&t!==8288&&t!==12288&&t!==65279)return!1;return!0}},89546:function(T){T.exports=function(p){return typeof p=="string"&&(p=p.trim(),!!(/^[mzlhvcsqta]\s*[-+.0-9][^mlhvzcsqta]+/i.test(p)&&/[\dz]$/i.test(p)&&p.length>4))}},9187:function(T,p,t){var d=t(31353),g=t(72077),i=t(6614),M=i("Object.prototype.toString"),v=t(84543)(),f=t(40383),l=typeof globalThis>"u"?t.g:globalThis,a=g(),u=i("Array.prototype.indexOf",!0)||function(h,m){for(var w=0;w-1}return!!f&&function(w){var y=!1;return d(s,function(S,_){if(!y)try{y=S.call(w)===_}catch{}}),y}(h)}},44517:function(T){T.exports=function(){var p,t,d;function g(i,M){if(p)if(t){var v="var sharedChunk = {}; ("+p+")(sharedChunk); ("+t+")(sharedChunk);",f={};p(f),(d=M(f)).workerUrl=window.URL.createObjectURL(new Blob([v],{type:"text/javascript"}))}else t=M;else p=M}return g(0,function(i){function M(P,V){return P(V={exports:{}},V.exports),V.exports}var v="1.10.1",f=l;function l(P,V,J,he){this.cx=3*P,this.bx=3*(J-P)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*V,this.by=3*(he-V)-this.cy,this.ay=1-this.cy-this.by,this.p1x=P,this.p1y=he,this.p2x=J,this.p2y=he}l.prototype.sampleCurveX=function(P){return((this.ax*P+this.bx)*P+this.cx)*P},l.prototype.sampleCurveY=function(P){return((this.ay*P+this.by)*P+this.cy)*P},l.prototype.sampleCurveDerivativeX=function(P){return(3*this.ax*P+2*this.bx)*P+this.cx},l.prototype.solveCurveX=function(P,V){var J,he,Ae,Oe,Ge;for(V===void 0&&(V=1e-6),Ae=P,Ge=0;Ge<8;Ge++){if(Oe=this.sampleCurveX(Ae)-P,Math.abs(Oe)(he=1))return he;for(;JOe?J=Ae:he=Ae,Ae=.5*(he-J)+J}return Ae},l.prototype.solve=function(P,V){return this.sampleCurveY(this.solveCurveX(P,V))};var a=u;function u(P,V){this.x=P,this.y=V}function o(P,V,J,he){var Ae=new f(P,V,J,he);return function(Oe){return Ae.solve(Oe)}}u.prototype={clone:function(){return new u(this.x,this.y)},add:function(P){return this.clone()._add(P)},sub:function(P){return this.clone()._sub(P)},multByPoint:function(P){return this.clone()._multByPoint(P)},divByPoint:function(P){return this.clone()._divByPoint(P)},mult:function(P){return this.clone()._mult(P)},div:function(P){return this.clone()._div(P)},rotate:function(P){return this.clone()._rotate(P)},rotateAround:function(P,V){return this.clone()._rotateAround(P,V)},matMult:function(P){return this.clone()._matMult(P)},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(P){return this.x===P.x&&this.y===P.y},dist:function(P){return Math.sqrt(this.distSqr(P))},distSqr:function(P){var V=P.x-this.x,J=P.y-this.y;return V*V+J*J},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(P){return Math.atan2(this.y-P.y,this.x-P.x)},angleWith:function(P){return this.angleWithSep(P.x,P.y)},angleWithSep:function(P,V){return Math.atan2(this.x*V-this.y*P,this.x*P+this.y*V)},_matMult:function(P){var V=P[0]*this.x+P[1]*this.y,J=P[2]*this.x+P[3]*this.y;return this.x=V,this.y=J,this},_add:function(P){return this.x+=P.x,this.y+=P.y,this},_sub:function(P){return this.x-=P.x,this.y-=P.y,this},_mult:function(P){return this.x*=P,this.y*=P,this},_div:function(P){return this.x/=P,this.y/=P,this},_multByPoint:function(P){return this.x*=P.x,this.y*=P.y,this},_divByPoint:function(P){return this.x/=P.x,this.y/=P.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var P=this.y;return this.y=this.x,this.x=-P,this},_rotate:function(P){var V=Math.cos(P),J=Math.sin(P),he=V*this.x-J*this.y,Ae=J*this.x+V*this.y;return this.x=he,this.y=Ae,this},_rotateAround:function(P,V){var J=Math.cos(P),he=Math.sin(P),Ae=V.x+J*(this.x-V.x)-he*(this.y-V.y),Oe=V.y+he*(this.x-V.x)+J*(this.y-V.y);return this.x=Ae,this.y=Oe,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},u.convert=function(P){return P instanceof u?P:Array.isArray(P)?new u(P[0],P[1]):P};var s=o(.25,.1,.25,1);function c(P,V,J){return Math.min(J,Math.max(V,P))}function h(P,V,J){var he=J-V,Ae=((P-V)%he+he)%he+V;return Ae===V?J:Ae}function m(P){for(var V=[],J=arguments.length-1;J-- >0;)V[J]=arguments[J+1];for(var he=0,Ae=V;he>V/4).toString(16):([1e7]+-[1e3]+-4e3+-8e3+-1e11).replace(/[018]/g,P)}()}function _(P){return!!P&&/^[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(P)}function k(P,V){P.forEach(function(J){V[J]&&(V[J]=V[J].bind(V))})}function E(P,V){return P.indexOf(V,P.length-V.length)!==-1}function x(P,V,J){var he={};for(var Ae in P)he[Ae]=V.call(J||this,P[Ae],Ae,P);return he}function A(P,V,J){var he={};for(var Ae in P)V.call(J||this,P[Ae],Ae,P)&&(he[Ae]=P[Ae]);return he}function L(P){return Array.isArray(P)?P.map(L):typeof P=="object"&&P?x(P,L):P}var b={};function R(P){b[P]||(typeof console<"u"&&console.warn(P),b[P]=!0)}function I(P,V,J){return(J.y-P.y)*(V.x-P.x)>(V.y-P.y)*(J.x-P.x)}function O(P){for(var V=0,J=0,he=P.length,Ae=he-1,Oe=void 0,Ge=void 0;J@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g,function(he,Ae,Oe,Ge){var it=Oe||Ge;return V[Ae]=!it||it.toLowerCase(),""}),V["max-age"]){var J=parseInt(V["max-age"],10);isNaN(J)?delete V["max-age"]:V["max-age"]=J}return V}var B=null;function N(P){if(B==null){var V=P.navigator?P.navigator.userAgent:null;B=!!P.safari||!(!V||!(/\b(iPad|iPhone|iPod)\b/.test(V)||V.match("Safari")&&!V.match("Chrome")))}return B}function W(P){try{var V=self[P];return V.setItem("_mapbox_test_",1),V.removeItem("_mapbox_test_"),!0}catch{return!1}}var j,$,U,G,q=self.performance&&self.performance.now?self.performance.now.bind(self.performance):Date.now.bind(Date),H=self.requestAnimationFrame||self.mozRequestAnimationFrame||self.webkitRequestAnimationFrame||self.msRequestAnimationFrame,ne=self.cancelAnimationFrame||self.mozCancelAnimationFrame||self.webkitCancelAnimationFrame||self.msCancelAnimationFrame,te={now:q,frame:function(P){var V=H(P);return{cancel:function(){return ne(V)}}},getImageData:function(P,V){V===void 0&&(V=0);var J=self.document.createElement("canvas"),he=J.getContext("2d");if(!he)throw new Error("failed to create canvas 2d context");return J.width=P.width,J.height=P.height,he.drawImage(P,0,0,P.width,P.height),he.getImageData(-V,-V,P.width+2*V,P.height+2*V)},resolveURL:function(P){return j||(j=self.document.createElement("a")),j.href=P,j.href},hardwareConcurrency:self.navigator.hardwareConcurrency||4,get devicePixelRatio(){return self.devicePixelRatio},get prefersReducedMotion(){return!!self.matchMedia&&($==null&&($=self.matchMedia("(prefers-reduced-motion: reduce)")),$.matches)}},Z={API_URL:"https://api.mapbox.com",get EVENTS_URL(){return this.API_URL?this.API_URL.indexOf("https://api.mapbox.cn")===0?"https://events.mapbox.cn/events/v2":this.API_URL.indexOf("https://api.mapbox.com")===0?"https://events.mapbox.com/events/v2":null:null},FEEDBACK_URL:"https://apps.mapbox.com/feedback",REQUIRE_ACCESS_TOKEN:!0,ACCESS_TOKEN:null,MAX_PARALLEL_IMAGE_REQUESTS:16},X={supported:!1,testSupport:function(P){!Q&&G&&(re?ie(P):U=P)}},Q=!1,re=!1;function ie(P){var V=P.createTexture();P.bindTexture(P.TEXTURE_2D,V);try{if(P.texImage2D(P.TEXTURE_2D,0,P.RGBA,P.RGBA,P.UNSIGNED_BYTE,G),P.isContextLost())return;X.supported=!0}catch{}P.deleteTexture(V),Q=!0}self.document&&((G=self.document.createElement("img")).onload=function(){U&&ie(U),U=null,re=!0},G.onerror=function(){Q=!0,U=null},G.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA=");var oe="01",ue=function(P,V){this._transformRequestFn=P,this._customAccessToken=V,this._createSkuToken()};function ce(P){return P.indexOf("mapbox:")===0}ue.prototype._createSkuToken=function(){var P=function(){for(var V="",J=0;J<10;J++)V+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[Math.floor(62*Math.random())];return{token:["1",oe,V].join(""),tokenExpiresAt:Date.now()+432e5}}();this._skuToken=P.token,this._skuTokenExpiresAt=P.tokenExpiresAt},ue.prototype._isSkuTokenExpired=function(){return Date.now()>this._skuTokenExpiresAt},ue.prototype.transformRequest=function(P,V){return this._transformRequestFn&&this._transformRequestFn(P,V)||{url:P}},ue.prototype.normalizeStyleURL=function(P,V){if(!ce(P))return P;var J=pe(P);return J.path="/styles/v1"+J.path,this._makeAPIURL(J,this._customAccessToken||V)},ue.prototype.normalizeGlyphsURL=function(P,V){if(!ce(P))return P;var J=pe(P);return J.path="/fonts/v1"+J.path,this._makeAPIURL(J,this._customAccessToken||V)},ue.prototype.normalizeSourceURL=function(P,V){if(!ce(P))return P;var J=pe(P);return J.path="/v4/"+J.authority+".json",J.params.push("secure"),this._makeAPIURL(J,this._customAccessToken||V)},ue.prototype.normalizeSpriteURL=function(P,V,J,he){var Ae=pe(P);return ce(P)?(Ae.path="/styles/v1"+Ae.path+"/sprite"+V+J,this._makeAPIURL(Ae,this._customAccessToken||he)):(Ae.path+=""+V+J,xe(Ae))},ue.prototype.normalizeTileURL=function(P,V){if(this._isSkuTokenExpired()&&this._createSkuToken(),P&&!ce(P))return P;var J=pe(P),he=te.devicePixelRatio>=2||V===512?"@2x":"",Ae=X.supported?".webp":"$1";J.path=J.path.replace(/(\.(png|jpg)\d*)(?=$)/,""+he+Ae),J.path=J.path.replace(/^.+\/v4\//,"/"),J.path="/v4"+J.path;var Oe=this._customAccessToken||function(Ge){for(var it=0,pt=Ge;it=1&&self.localStorage.setItem(V,JSON.stringify(this.eventData))}catch{R("Unable to write to LocalStorage")}},Me.prototype.processRequests=function(P){},Me.prototype.postEvent=function(P,V,J,he){var Ae=this;if(Z.EVENTS_URL){var Oe=pe(Z.EVENTS_URL);Oe.params.push("access_token="+(he||Z.ACCESS_TOKEN||""));var Ge={event:this.type,created:new Date(P).toISOString(),sdkIdentifier:"mapbox-gl-js",sdkVersion:v,skuId:oe,userId:this.anonId},it=V?m(Ge,V):Ge,pt={url:xe(Oe),headers:{"Content-Type":"text/plain"},body:JSON.stringify([it])};this.pendingRequest=Ot(pt,function(Ct){Ae.pendingRequest=null,J(Ct),Ae.saveEventData(),Ae.processRequests(he)})}},Me.prototype.queueRequest=function(P,V){this.queue.push(P),this.processRequests(V)};var Se,Ce,ae=function(P){function V(){P.call(this,"map.load"),this.success={},this.skuToken=""}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.postMapLoadEvent=function(J,he,Ae,Oe){this.skuToken=Ae,(Z.EVENTS_URL&&Oe||Z.ACCESS_TOKEN&&Array.isArray(J)&&J.some(function(Ge){return ce(Ge)||de(Ge)}))&&this.queueRequest({id:he,timestamp:Date.now()},Oe)},V.prototype.processRequests=function(J){var he=this;if(!this.pendingRequest&&this.queue.length!==0){var Ae=this.queue.shift(),Oe=Ae.id,Ge=Ae.timestamp;Oe&&this.success[Oe]||(this.anonId||this.fetchEventData(),_(this.anonId)||(this.anonId=S()),this.postEvent(Ge,{skuToken:this.skuToken},function(it){it||Oe&&(he.success[Oe]=!0)},J))}},V}(Me),fe=function(P){function V(J){P.call(this,"appUserTurnstile"),this._customAccessToken=J}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.postTurnstileEvent=function(J,he){Z.EVENTS_URL&&Z.ACCESS_TOKEN&&Array.isArray(J)&&J.some(function(Ae){return ce(Ae)||de(Ae)})&&this.queueRequest(Date.now(),he)},V.prototype.processRequests=function(J){var he=this;if(!this.pendingRequest&&this.queue.length!==0){this.anonId&&this.eventData.lastSuccess&&this.eventData.tokenU||this.fetchEventData();var Ae=_e(Z.ACCESS_TOKEN),Oe=Ae?Ae.u:Z.ACCESS_TOKEN,Ge=Oe!==this.eventData.tokenU;_(this.anonId)||(this.anonId=S(),Ge=!0);var it=this.queue.shift();if(this.eventData.lastSuccess){var pt=new Date(this.eventData.lastSuccess),Ct=new Date(it),Dt=(it-this.eventData.lastSuccess)/864e5;Ge=Ge||Dt>=1||Dt<-1||pt.getDate()!==Ct.getDate()}else Ge=!0;if(!Ge)return this.processRequests();this.postEvent(it,{"enabled.telemetry":!1},function(Gt){Gt||(he.eventData.lastSuccess=it,he.eventData.tokenU=Oe)},J)}},V}(Me),be=new fe,ke=be.postTurnstileEvent.bind(be),Le=new ae,Be=Le.postMapLoadEvent.bind(Le),ze="mapbox-tiles",je=500,ge=50;function we(){self.caches&&!Se&&(Se=self.caches.open(ze))}function Ee(P,V,J){if(we(),Se){var he={status:V.status,statusText:V.statusText,headers:new self.Headers};V.headers.forEach(function(Oe,Ge){return he.headers.set(Ge,Oe)});var Ae=F(V.headers.get("Cache-Control")||"");Ae["no-store"]||(Ae["max-age"]&&he.headers.set("Expires",new Date(J+1e3*Ae["max-age"]).toUTCString()),new Date(he.headers.get("Expires")).getTime()-J<42e4||function(Oe,Ge){if(Ce===void 0)try{new Response(new ReadableStream),Ce=!0}catch{Ce=!1}Ce?Ge(Oe.body):Oe.blob().then(Ge)}(V,function(Oe){var Ge=new self.Response(Oe,he);we(),Se&&Se.then(function(it){return it.put(Ve(P.url),Ge)}).catch(function(it){return R(it.message)})}))}}function Ve(P){var V=P.indexOf("?");return V<0?P:P.slice(0,V)}function $e(P,V){if(we(),!Se)return V(null);var J=Ve(P.url);Se.then(function(he){he.match(J).then(function(Ae){var Oe=function(Ge){if(!Ge)return!1;var it=new Date(Ge.headers.get("Expires")||0),pt=F(Ge.headers.get("Cache-Control")||"");return it>Date.now()&&!pt["no-cache"]}(Ae);he.delete(J),Oe&&he.put(J,Ae.clone()),V(null,Ae,Oe)}).catch(V)}).catch(V)}var Ye,st=1/0;function ot(){return Ye==null&&(Ye=self.OffscreenCanvas&&new self.OffscreenCanvas(1,1).getContext("2d")&&typeof self.createImageBitmap=="function"),Ye}var ht={Unknown:"Unknown",Style:"Style",Source:"Source",Tile:"Tile",Glyphs:"Glyphs",SpriteImage:"SpriteImage",SpriteJSON:"SpriteJSON",Image:"Image"};typeof Object.freeze=="function"&&Object.freeze(ht);var bt=function(P){function V(J,he,Ae){he===401&&de(Ae)&&(J+=": you may have provided an invalid Mapbox access token. See https://www.mapbox.com/api-documentation/#access-tokens-and-token-scopes"),P.call(this,J),this.status=he,this.url=Ae,this.name=this.constructor.name,this.message=J}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.toString=function(){return this.name+": "+this.message+" ("+this.status+"): "+this.url},V}(Error),Et=z()?function(){return self.worker&&self.worker.referrer}:function(){return(self.location.protocol==="blob:"?self.parent:self).location.href};function kt(P,V){var J,he=new self.AbortController,Ae=new self.Request(P.url,{method:P.method||"GET",body:P.body,credentials:P.credentials,headers:P.headers,referrer:Et(),signal:he.signal}),Oe=!1,Ge=!1,it=(J=Ae.url).indexOf("sku=")>0&&de(J);P.type==="json"&&Ae.headers.set("Accept","application/json");var pt=function(Dt,Gt,Zt){if(!Ge){if(Dt&&Dt.message!=="SecurityError"&&R(Dt),Gt&&Zt)return Ct(Gt);var $t=Date.now();self.fetch(Ae).then(function(fn){if(fn.ok){var Mn=it?fn.clone():null;return Ct(fn,Mn,$t)}return V(new bt(fn.statusText,fn.status,P.url))}).catch(function(fn){fn.code!==20&&V(new Error(fn.message))})}},Ct=function(Dt,Gt,Zt){(P.type==="arrayBuffer"?Dt.arrayBuffer():P.type==="json"?Dt.json():Dt.text()).then(function($t){Ge||(Gt&&Zt&&Ee(Ae,Gt,Zt),Oe=!0,V(null,$t,Dt.headers.get("Cache-Control"),Dt.headers.get("Expires")))}).catch(function($t){Ge||V(new Error($t.message))})};return it?$e(Ae,pt):pt(null,null),{cancel:function(){Ge=!0,Oe||he.abort()}}}var xt=function(P,V){if(J=P.url,!(/^file:/.test(J)||/^file:/.test(Et())&&!/^\w+:/.test(J))){if(self.fetch&&self.Request&&self.AbortController&&self.Request.prototype.hasOwnProperty("signal"))return kt(P,V);if(z()&&self.worker&&self.worker.actor)return self.worker.actor.send("getResource",P,V,void 0,!0)}var J;return function(he,Ae){var Oe=new self.XMLHttpRequest;for(var Ge in Oe.open(he.method||"GET",he.url,!0),he.type==="arrayBuffer"&&(Oe.responseType="arraybuffer"),he.headers)Oe.setRequestHeader(Ge,he.headers[Ge]);return he.type==="json"&&(Oe.responseType="text",Oe.setRequestHeader("Accept","application/json")),Oe.withCredentials=he.credentials==="include",Oe.onerror=function(){Ae(new Error(Oe.statusText))},Oe.onload=function(){if((Oe.status>=200&&Oe.status<300||Oe.status===0)&&Oe.response!==null){var it=Oe.response;if(he.type==="json")try{it=JSON.parse(Oe.response)}catch(pt){return Ae(pt)}Ae(null,it,Oe.getResponseHeader("Cache-Control"),Oe.getResponseHeader("Expires"))}else Ae(new bt(Oe.statusText,Oe.status,he.url))},Oe.send(he.body),{cancel:function(){return Oe.abort()}}}(P,V)},Ft=function(P,V){return xt(m(P,{type:"arrayBuffer"}),V)},Ot=function(P,V){return xt(m(P,{method:"POST"}),V)},Bt,qt;Bt=[],qt=0;var Vt=function(P,V){if(X.supported&&(P.headers||(P.headers={}),P.headers.accept="image/webp,*/*"),qt>=Z.MAX_PARALLEL_IMAGE_REQUESTS){var J={requestParameters:P,callback:V,cancelled:!1,cancel:function(){this.cancelled=!0}};return Bt.push(J),J}qt++;var he=!1,Ae=function(){if(!he)for(he=!0,qt--;Bt.length&&qt0||this._oneTimeListeners&&this._oneTimeListeners[P]&&this._oneTimeListeners[P].length>0||this._eventedParent&&this._eventedParent.listens(P)},ft.prototype.setEventedParent=function(P,V){return this._eventedParent=P,this._eventedParentData=V,this};var Re={$version:8,$root:{version:{required:!0,type:"enum",values:[8]},name:{type:"string"},metadata:{type:"*"},center:{type:"array",value:"number"},zoom:{type:"number"},bearing:{type:"number",default:0,period:360,units:"degrees"},pitch:{type:"number",default:0,units:"degrees"},light:{type:"light"},sources:{required:!0,type:"sources"},sprite:{type:"string"},glyphs:{type:"string"},transition:{type:"transition"},layers:{required:!0,type:"array",value:"layer"}},sources:{"*":{type:"source"}},source:["source_vector","source_raster","source_raster_dem","source_geojson","source_video","source_image"],source_vector:{type:{required:!0,type:"enum",values:{vector:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},attribution:{type:"string"},promoteId:{type:"promoteId"},"*":{type:"*"}},source_raster:{type:{required:!0,type:"enum",values:{raster:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},attribution:{type:"string"},"*":{type:"*"}},source_raster_dem:{type:{required:!0,type:"enum",values:{"raster-dem":{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},attribution:{type:"string"},encoding:{type:"enum",values:{terrarium:{},mapbox:{}},default:"mapbox"},"*":{type:"*"}},source_geojson:{type:{required:!0,type:"enum",values:{geojson:{}}},data:{type:"*"},maxzoom:{type:"number",default:18},attribution:{type:"string"},buffer:{type:"number",default:128,maximum:512,minimum:0},tolerance:{type:"number",default:.375},cluster:{type:"boolean",default:!1},clusterRadius:{type:"number",default:50,minimum:0},clusterMaxZoom:{type:"number"},clusterProperties:{type:"*"},lineMetrics:{type:"boolean",default:!1},generateId:{type:"boolean",default:!1},promoteId:{type:"promoteId"}},source_video:{type:{required:!0,type:"enum",values:{video:{}}},urls:{required:!0,type:"array",value:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},source_image:{type:{required:!0,type:"enum",values:{image:{}}},url:{required:!0,type:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},layer:{id:{type:"string",required:!0},type:{type:"enum",values:{fill:{},line:{},symbol:{},circle:{},heatmap:{},"fill-extrusion":{},raster:{},hillshade:{},background:{}},required:!0},metadata:{type:"*"},source:{type:"string"},"source-layer":{type:"string"},minzoom:{type:"number",minimum:0,maximum:24},maxzoom:{type:"number",minimum:0,maximum:24},filter:{type:"filter"},layout:{type:"layout"},paint:{type:"paint"}},layout:["layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_hillshade","layout_background"],layout_background:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_fill:{"fill-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_circle:{"circle-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_heatmap:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},"layout_fill-extrusion":{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_line:{"line-cap":{type:"enum",values:{butt:{},round:{},square:{}},default:"butt",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-join":{type:"enum",values:{bevel:{},round:{},miter:{}},default:"miter",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{type:"number",default:2,requires:[{"line-join":"miter"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-round-limit":{type:"number",default:1.05,requires:[{"line-join":"round"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_symbol:{"symbol-placement":{type:"enum",values:{point:{},line:{},"line-center":{}},default:"point",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-spacing":{type:"number",default:250,minimum:1,units:"pixels",requires:[{"symbol-placement":"line"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{type:"boolean",default:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"symbol-z-order":{type:"enum",values:{auto:{},"viewport-y":{},source:{}},default:"auto",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-optional":{type:"boolean",default:!1,requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-size":{type:"number",default:1,minimum:0,units:"factor of the original icon size",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit":{type:"enum",values:{none:{},width:{},height:{},both:{}},default:"none",requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-text-fit-padding":{type:"array",value:"number",length:4,default:[0,0,0,0],units:"pixels",requires:["icon-image","text-field",{"icon-text-fit":["both","width","height"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-image":{type:"resolvedImage",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-keep-upright":{type:"boolean",default:!1,requires:["icon-image",{"icon-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-offset":{type:"array",value:"number",length:2,default:[0,0],requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-field":{type:"formatted",default:"",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-font":{type:"array",value:"string",default:["Open Sans Regular","Arial Unicode MS Regular"],requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-size":{type:"number",default:16,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-width":{type:"number",default:10,minimum:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{type:"number",default:1.2,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-letter-spacing":{type:"number",default:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-justify":{type:"enum",values:{auto:{},left:{},center:{},right:{}},default:"center",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-radial-offset":{type:"number",units:"ems",default:0,requires:["text-field"],"property-type":"data-driven",expression:{interpolated:!0,parameters:["zoom","feature"]}},"text-variable-anchor":{type:"array",value:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["text-field",{"!":"text-variable-anchor"}],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{type:"number",default:45,units:"degrees",requires:["text-field",{"symbol-placement":["line","line-center"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-writing-mode":{type:"array",value:"enum",values:{horizontal:{},vertical:{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-keep-upright":{type:"boolean",default:!0,requires:["text-field",{"text-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-transform":{type:"enum",values:{none:{},uppercase:{},lowercase:{}},default:"none",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-offset":{type:"array",value:"number",units:"ems",length:2,default:[0,0],requires:["text-field",{"!":"text-radial-offset"}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-optional":{type:"boolean",default:!1,requires:["text-field","icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_raster:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_hillshade:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},filter:{type:"array",value:"*"},filter_operator:{type:"enum",values:{"==":{},"!=":{},">":{},">=":{},"<":{},"<=":{},in:{},"!in":{},all:{},any:{},none:{},has:{},"!has":{},within:{}}},geometry_type:{type:"enum",values:{Point:{},LineString:{},Polygon:{}}},function:{expression:{type:"expression"},stops:{type:"array",value:"function_stop"},base:{type:"number",default:1,minimum:0},property:{type:"string",default:"$zoom"},type:{type:"enum",values:{identity:{},exponential:{},interval:{},categorical:{}},default:"exponential"},colorSpace:{type:"enum",values:{rgb:{},lab:{},hcl:{}},default:"rgb"},default:{type:"*",required:!1}},function_stop:{type:"array",minimum:0,maximum:24,value:["number","color"],length:2},expression:{type:"array",value:"*",minimum:1},expression_name:{type:"enum",values:{let:{group:"Variable binding"},var:{group:"Variable binding"},literal:{group:"Types"},array:{group:"Types"},at:{group:"Lookup"},in:{group:"Lookup"},"index-of":{group:"Lookup"},slice:{group:"Lookup"},case:{group:"Decision"},match:{group:"Decision"},coalesce:{group:"Decision"},step:{group:"Ramps, scales, curves"},interpolate:{group:"Ramps, scales, curves"},"interpolate-hcl":{group:"Ramps, scales, curves"},"interpolate-lab":{group:"Ramps, scales, curves"},ln2:{group:"Math"},pi:{group:"Math"},e:{group:"Math"},typeof:{group:"Types"},string:{group:"Types"},number:{group:"Types"},boolean:{group:"Types"},object:{group:"Types"},collator:{group:"Types"},format:{group:"Types"},image:{group:"Types"},"number-format":{group:"Types"},"to-string":{group:"Types"},"to-number":{group:"Types"},"to-boolean":{group:"Types"},"to-rgba":{group:"Color"},"to-color":{group:"Types"},rgb:{group:"Color"},rgba:{group:"Color"},get:{group:"Lookup"},has:{group:"Lookup"},length:{group:"Lookup"},properties:{group:"Feature data"},"feature-state":{group:"Feature data"},"geometry-type":{group:"Feature data"},id:{group:"Feature data"},zoom:{group:"Zoom"},"heatmap-density":{group:"Heatmap"},"line-progress":{group:"Feature data"},accumulated:{group:"Feature data"},"+":{group:"Math"},"*":{group:"Math"},"-":{group:"Math"},"/":{group:"Math"},"%":{group:"Math"},"^":{group:"Math"},sqrt:{group:"Math"},log10:{group:"Math"},ln:{group:"Math"},log2:{group:"Math"},sin:{group:"Math"},cos:{group:"Math"},tan:{group:"Math"},asin:{group:"Math"},acos:{group:"Math"},atan:{group:"Math"},min:{group:"Math"},max:{group:"Math"},round:{group:"Math"},abs:{group:"Math"},ceil:{group:"Math"},floor:{group:"Math"},distance:{group:"Math"},"==":{group:"Decision"},"!=":{group:"Decision"},">":{group:"Decision"},"<":{group:"Decision"},">=":{group:"Decision"},"<=":{group:"Decision"},all:{group:"Decision"},any:{group:"Decision"},"!":{group:"Decision"},within:{group:"Decision"},"is-supported-script":{group:"String"},upcase:{group:"String"},downcase:{group:"String"},concat:{group:"String"},"resolved-locale":{group:"String"}}},light:{anchor:{type:"enum",default:"viewport",values:{map:{},viewport:{}},"property-type":"data-constant",transition:!1,expression:{interpolated:!1,parameters:["zoom"]}},position:{type:"array",default:[1.15,210,30],length:3,value:"number","property-type":"data-constant",transition:!0,expression:{interpolated:!0,parameters:["zoom"]}},color:{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},intensity:{type:"number","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0}},paint:["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_background"],paint_fill:{"fill-antialias":{type:"boolean",default:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-outline-color":{type:"color",transition:!0,requires:[{"!":"fill-pattern"},{"fill-antialias":!0}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"}},"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-extrusion-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",transition:!0,requires:["fill-extrusion-height"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,transition:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_line:{"line-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"line-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["line-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-width":{type:"number",default:1,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-gap-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-offset":{type:"number",default:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-dasharray":{type:"array",value:"number",minimum:0,transition:!0,units:"line widths",requires:[{"!":"line-pattern"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"line-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"line-gradient":{type:"color",transition:!1,requires:[{"!":"line-dasharray"},{"!":"line-pattern"},{source:"geojson",has:{lineMetrics:!0}}],expression:{interpolated:!0,parameters:["line-progress"]},"property-type":"color-ramp"}},paint_circle:{"circle-radius":{type:"number",default:5,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-blur":{type:"number",default:0,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["circle-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{type:"enum",values:{map:{},viewport:{}},default:"map",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"}},paint_heatmap:{"heatmap-radius":{type:"number",default:30,minimum:1,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-weight":{type:"number",default:1,minimum:0,transition:!1,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-intensity":{type:"number",default:1,minimum:0,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"heatmap-color":{type:"color",default:["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",.1,"royalblue",.3,"cyan",.5,"lime",.7,"yellow",1,"red"],transition:!1,expression:{interpolated:!0,parameters:["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_symbol:{"icon-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-color":{type:"color",default:"#000000",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["icon-image","icon-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-color":{type:"color",default:"#000000",transition:!0,overridable:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["text-field","text-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_raster:{"raster-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-hue-rotate":{type:"number",default:0,period:360,transition:!0,units:"degrees",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{type:"number",default:0,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-saturation":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-contrast":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-resampling":{type:"enum",values:{linear:{},nearest:{}},default:"linear",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"raster-fade-duration":{type:"number",default:300,minimum:0,transition:!1,units:"milliseconds",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_hillshade:{"hillshade-illumination-direction":{type:"number",default:335,minimum:0,maximum:359,transition:!1,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-illumination-anchor":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-exaggeration":{type:"number",default:.5,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-highlight-color":{type:"color",default:"#FFFFFF",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-accent-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_background:{"background-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"background-pattern"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"background-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"background-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},transition:{duration:{type:"number",default:300,minimum:0,units:"milliseconds"},delay:{type:"number",default:0,minimum:0,units:"milliseconds"}},"property-type":{"data-driven":{type:"property-type"},"cross-faded":{type:"property-type"},"cross-faded-data-driven":{type:"property-type"},"color-ramp":{type:"property-type"},"data-constant":{type:"property-type"},constant:{type:"property-type"}},promoteId:{"*":{type:"string"}}},Ne=function(P,V,J,he){this.message=(P?P+": ":"")+J,he&&(this.identifier=he),V!=null&&V.__line__&&(this.line=V.__line__)};function Qe(P){var V=P.key,J=P.value;return J?[new Ne(V,J,"constants have been deprecated as of v8")]:[]}function ut(P){for(var V=[],J=arguments.length-1;J-- >0;)V[J]=arguments[J+1];for(var he=0,Ae=V;he":P.itemType.kind==="value"?"array":"array<"+V+">"}return P.kind}var An=[yt,Pt,wt,Rt,Nt,Qt,Yt,xn(Wt),rn];function Yn(P,V){if(V.kind==="error")return null;if(P.kind==="array"){if(V.kind==="array"&&(V.N===0&&V.itemType.kind==="value"||!Yn(P.itemType,V.itemType))&&(typeof P.N!="number"||P.N===V.N))return null}else{if(P.kind===V.kind)return null;if(P.kind==="value"){for(var J=0,he=An;J255?255:pt}function Ae(pt){return pt<0?0:pt>1?1:pt}function Oe(pt){return pt[pt.length-1]==="%"?he(parseFloat(pt)/100*255):he(parseInt(pt))}function Ge(pt){return pt[pt.length-1]==="%"?Ae(parseFloat(pt)/100):Ae(parseFloat(pt))}function it(pt,Ct,Dt){return Dt<0?Dt+=1:Dt>1&&(Dt-=1),6*Dt<1?pt+(Ct-pt)*Dt*6:2*Dt<1?Ct:3*Dt<2?pt+(Ct-pt)*(2/3-Dt)*6:pt}try{V.parseCSSColor=function(pt){var Ct,Dt=pt.replace(/ /g,"").toLowerCase();if(Dt in J)return J[Dt].slice();if(Dt[0]==="#")return Dt.length===4?(Ct=parseInt(Dt.substr(1),16))>=0&&Ct<=4095?[(3840&Ct)>>4|(3840&Ct)>>8,240&Ct|(240&Ct)>>4,15&Ct|(15&Ct)<<4,1]:null:Dt.length===7&&(Ct=parseInt(Dt.substr(1),16))>=0&&Ct<=16777215?[(16711680&Ct)>>16,(65280&Ct)>>8,255&Ct,1]:null;var Gt=Dt.indexOf("("),Zt=Dt.indexOf(")");if(Gt!==-1&&Zt+1===Dt.length){var $t=Dt.substr(0,Gt),fn=Dt.substr(Gt+1,Zt-(Gt+1)).split(","),Mn=1;switch($t){case"rgba":if(fn.length!==4)return null;Mn=Ge(fn.pop());case"rgb":return fn.length!==3?null:[Oe(fn[0]),Oe(fn[1]),Oe(fn[2]),Mn];case"hsla":if(fn.length!==4)return null;Mn=Ge(fn.pop());case"hsl":if(fn.length!==3)return null;var Nn=(parseFloat(fn[0])%360+360)%360/360,Bn=Ge(fn[1]),Wn=Ge(fn[2]),Zn=Wn<=.5?Wn*(Bn+1):Wn+Bn-Wn*Bn,er=2*Wn-Zn;return[he(255*it(er,Zn,Nn+1/3)),he(255*it(er,Zn,Nn)),he(255*it(er,Zn,Nn-1/3)),Mn];default:return null}}return null}}catch{}}),dn=Tn.parseCSSColor,pn=function(P,V,J,he){he===void 0&&(he=1),this.r=P,this.g=V,this.b=J,this.a=he};pn.parse=function(P){if(P){if(P instanceof pn)return P;if(typeof P=="string"){var V=dn(P);if(V)return new pn(V[0]/255*V[3],V[1]/255*V[3],V[2]/255*V[3],V[3])}}},pn.prototype.toString=function(){var P=this.toArray(),V=P[0],J=P[1],he=P[2],Ae=P[3];return"rgba("+Math.round(V)+","+Math.round(J)+","+Math.round(he)+","+Ae+")"},pn.prototype.toArray=function(){var P=this,V=P.r,J=P.g,he=P.b,Ae=P.a;return Ae===0?[0,0,0,0]:[255*V/Ae,255*J/Ae,255*he/Ae,Ae]},pn.black=new pn(0,0,0,1),pn.white=new pn(1,1,1,1),pn.transparent=new pn(0,0,0,0),pn.red=new pn(1,0,0,1);var Dn=function(P,V,J){this.sensitivity=P?V?"variant":"case":V?"accent":"base",this.locale=J,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"})};Dn.prototype.compare=function(P,V){return this.collator.compare(P,V)},Dn.prototype.resolvedLocale=function(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale};var In=function(P,V,J,he,Ae){this.text=P,this.image=V,this.scale=J,this.fontStack=he,this.textColor=Ae},jn=function(P){this.sections=P};jn.fromString=function(P){return new jn([new In(P,null,null,null,null)])},jn.prototype.isEmpty=function(){return this.sections.length===0||!this.sections.some(function(P){return P.text.length!==0||P.image&&P.image.name.length!==0})},jn.factory=function(P){return P instanceof jn?P:jn.fromString(P)},jn.prototype.toString=function(){return this.sections.length===0?"":this.sections.map(function(P){return P.text}).join("")},jn.prototype.serialize=function(){for(var P=["format"],V=0,J=this.sections;V=0&&P<=255&&typeof V=="number"&&V>=0&&V<=255&&typeof J=="number"&&J>=0&&J<=255?he===void 0||typeof he=="number"&&he>=0&&he<=1?null:"Invalid rgba value ["+[P,V,J,he].join(", ")+"]: 'a' must be between 0 and 1.":"Invalid rgba value ["+(typeof he=="number"?[P,V,J,he]:[P,V,J]).join(", ")+"]: 'r', 'g', and 'b' must be between 0 and 255."}function lr(P){if(P===null||typeof P=="string"||typeof P=="boolean"||typeof P=="number"||P instanceof pn||P instanceof Dn||P instanceof jn||P instanceof Gn)return!0;if(Array.isArray(P)){for(var V=0,J=P;V2){var it=P[1];if(typeof it!="string"||!(it in vr)||it==="object")return V.error('The item type argument of "array" must be one of string, number, boolean',1);Oe=vr[it],he++}else Oe=Wt;if(P.length>3){if(P[2]!==null&&(typeof P[2]!="number"||P[2]<0||P[2]!==Math.floor(P[2])))return V.error('The length argument to "array" must be a positive integer literal',2);Ge=P[2],he++}J=xn(Oe,Ge)}else J=vr[Ae];for(var pt=[];he1)&&V.push(he)}}return V.concat(this.args.map(function(Ae){return Ae.serialize()}))};var Kt=function(P){this.type=Qt,this.sections=P};Kt.parse=function(P,V){if(P.length<2)return V.error("Expected at least one argument.");var J=P[1];if(!Array.isArray(J)&&typeof J=="object")return V.error("First argument must be an image or text section.");for(var he=[],Ae=!1,Oe=1;Oe<=P.length-1;++Oe){var Ge=P[Oe];if(Ae&&typeof Ge=="object"&&!Array.isArray(Ge)){Ae=!1;var it=null;if(Ge["font-scale"]&&!(it=V.parse(Ge["font-scale"],1,Pt)))return null;var pt=null;if(Ge["text-font"]&&!(pt=V.parse(Ge["text-font"],1,xn(wt))))return null;var Ct=null;if(Ge["text-color"]&&!(Ct=V.parse(Ge["text-color"],1,Nt)))return null;var Dt=he[he.length-1];Dt.scale=it,Dt.font=pt,Dt.textColor=Ct}else{var Gt=V.parse(P[Oe],1,Wt);if(!Gt)return null;var Zt=Gt.type.kind;if(Zt!=="string"&&Zt!=="value"&&Zt!=="null"&&Zt!=="resolvedImage")return V.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");Ae=!0,he.push({content:Gt,scale:null,font:null,textColor:null})}}return new Kt(he)},Kt.prototype.evaluate=function(P){return new jn(this.sections.map(function(V){var J=V.content.evaluate(P);return rr(J)===rn?new In("",J,null,null,null):new In(Sr(J),null,V.scale?V.scale.evaluate(P):null,V.font?V.font.evaluate(P).join(","):null,V.textColor?V.textColor.evaluate(P):null)}))},Kt.prototype.eachChild=function(P){for(var V=0,J=this.sections;V-1),J},bn.prototype.eachChild=function(P){P(this.input)},bn.prototype.outputDefined=function(){return!1},bn.prototype.serialize=function(){return["image",this.input.serialize()]};var Rn={"to-boolean":Rt,"to-color":Nt,"to-number":Pt,"to-string":wt},Ln=function(P,V){this.type=P,this.args=V};Ln.parse=function(P,V){if(P.length<2)return V.error("Expected at least one argument.");var J=P[0];if((J==="to-boolean"||J==="to-string")&&P.length!==2)return V.error("Expected one argument.");for(var he=Rn[J],Ae=[],Oe=1;Oe4?"Invalid rbga value "+JSON.stringify(V)+": expected an array containing either three or four numeric values.":qn(V[0],V[1],V[2],V[3])))return new pn(V[0]/255,V[1]/255,V[2]/255,V[3])}throw new or(J||"Could not parse color from value '"+(typeof V=="string"?V:String(JSON.stringify(V)))+"'")}if(this.type.kind==="number"){for(var Ge=null,it=0,pt=this.args;it=V[2]||P[1]<=V[1]||P[3]>=V[3])}function jt(P,V){var J,he=(180+P[0])/360,Ae=(J=P[1],(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+J*Math.PI/360)))/360),Oe=Math.pow(2,V.z);return[Math.round(he*Oe*mr),Math.round(Ae*Oe*mr)]}function Jt(P,V,J){return V[1]>P[1]!=J[1]>P[1]&&P[0]<(J[0]-V[0])*(P[1]-V[1])/(J[1]-V[1])+V[0]}function hn(P,V){for(var J=!1,he=0,Ae=V.length;he0&&Gt<0||Dt<0&&Gt>0}function En(P,V,J){for(var he=0,Ae=J;heJ[2]){var Ae=.5*he,Oe=P[0]-J[0]>Ae?-he:J[0]-P[0]>Ae?he:0;Oe===0&&(Oe=P[0]-J[2]>Ae?-he:J[2]-P[0]>Ae?he:0),P[0]+=Oe}nn(V,P)}function Vn(P,V,J,he){for(var Ae=Math.pow(2,he.z)*mr,Oe=[he.x*mr,he.y*mr],Ge=[],it=0,pt=P;it=0)return!1;var J=!0;return P.eachChild(function(he){J&&!cr(he,V)&&(J=!1)}),J}nr.parse=function(P,V){if(P.length!==2)return V.error("'within' expression requires exactly one argument, but found "+(P.length-1)+" instead.");if(lr(P[1])){var J=P[1];if(J.type==="FeatureCollection")for(var he=0;heV))throw new or("Input is not a number.");Ge=it-1}return 0}dr.prototype.parse=function(P,V,J,he,Ae){return Ae===void 0&&(Ae={}),V?this.concat(V,J,he)._parse(P,Ae):this._parse(P,Ae)},dr.prototype._parse=function(P,V){function J(Ct,Dt,Gt){return Gt==="assert"?new _r(Dt,[Ct]):Gt==="coerce"?new Ln(Dt,[Ct]):Ct}if(P!==null&&typeof P!="string"&&typeof P!="boolean"&&typeof P!="number"||(P=["literal",P]),Array.isArray(P)){if(P.length===0)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');var he=P[0];if(typeof he!="string")return this.error("Expression name must be a string, but found "+typeof he+' instead. If you wanted a literal array, use ["literal", [...]].',0),null;var Ae=this.registry[he];if(Ae){var Oe=Ae.parse(P,this);if(!Oe)return null;if(this.expectedType){var Ge=this.expectedType,it=Oe.type;if(Ge.kind!=="string"&&Ge.kind!=="number"&&Ge.kind!=="boolean"&&Ge.kind!=="object"&&Ge.kind!=="array"||it.kind!=="value")if(Ge.kind!=="color"&&Ge.kind!=="formatted"&&Ge.kind!=="resolvedImage"||it.kind!=="value"&&it.kind!=="string"){if(this.checkSubtype(Ge,it))return null}else Oe=J(Oe,Ge,V.typeAnnotation||"coerce");else Oe=J(Oe,Ge,V.typeAnnotation||"assert")}if(!(Oe instanceof yr)&&Oe.type.kind!=="resolvedImage"&&br(Oe)){var pt=new Kn;try{Oe=new yr(Oe.type,Oe.evaluate(pt))}catch(Ct){return this.error(Ct.message),null}}return Oe}return this.error('Unknown expression "'+he+'". If you wanted a literal array, use ["literal", [...]].',0)}return P===void 0?this.error("'undefined' value invalid. Use null instead."):typeof P=="object"?this.error('Bare objects invalid. Use ["literal", {...}] instead.'):this.error("Expected an array, but found "+typeof P+" instead.")},dr.prototype.concat=function(P,V,J){var he=typeof P=="number"?this.path.concat(P):this.path,Ae=J?this.scope.concat(J):this.scope;return new dr(this.registry,he,V||null,Ae,this.errors)},dr.prototype.error=function(P){for(var V=[],J=arguments.length-1;J-- >0;)V[J]=arguments[J+1];var he=""+this.key+V.map(function(Ae){return"["+Ae+"]"}).join("");this.errors.push(new It(he,P))},dr.prototype.checkSubtype=function(P,V){var J=Yn(P,V);return J&&this.error(J),J};var Lr=function(P,V,J){this.type=P,this.input=V,this.labels=[],this.outputs=[];for(var he=0,Ae=J;he=Ge)return V.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',pt);var Dt=V.parse(it,Ct,Ae);if(!Dt)return null;Ae=Ae||Dt.type,he.push([Ge,Dt])}return new Lr(Ae,J,he)},Lr.prototype.evaluate=function(P){var V=this.labels,J=this.outputs;if(V.length===1)return J[0].evaluate(P);var he=this.input.evaluate(P);if(he<=V[0])return J[0].evaluate(P);var Ae=V.length;return he>=V[Ae-1]?J[Ae-1].evaluate(P):J[Ir(V,he)].evaluate(P)},Lr.prototype.eachChild=function(P){P(this.input);for(var V=0,J=this.outputs;V0&&P.push(this.labels[V]),P.push(this.outputs[V].serialize());return P};var gr=Object.freeze({__proto__:null,number:zr,color:function(P,V,J){return new pn(zr(P.r,V.r,J),zr(P.g,V.g,J),zr(P.b,V.b,J),zr(P.a,V.a,J))},array:function(P,V,J){return P.map(function(he,Ae){return zr(he,V[Ae],J)})}}),Fr=.95047,ii=1.08883,ji=4/29,ea=6/29,sa=3*ea*ea,uo=Math.PI/180,La=180/Math.PI;function Xi(P){return P>.008856451679035631?Math.pow(P,.3333333333333333):P/sa+ji}function Do(P){return P>ea?P*P*P:sa*(P-ji)}function rs(P){return 255*(P<=.0031308?12.92*P:1.055*Math.pow(P,.4166666666666667)-.055)}function el(P){return(P/=255)<=.04045?P/12.92:Math.pow((P+.055)/1.055,2.4)}function Cu(P){var V=el(P.r),J=el(P.g),he=el(P.b),Ae=Xi((.4124564*V+.3575761*J+.1804375*he)/Fr),Oe=Xi((.2126729*V+.7151522*J+.072175*he)/1);return{l:116*Oe-16,a:500*(Ae-Oe),b:200*(Oe-Xi((.0193339*V+.119192*J+.9503041*he)/ii)),alpha:P.a}}function gf(P){var V=(P.l+16)/116,J=isNaN(P.a)?V:V+P.a/500,he=isNaN(P.b)?V:V-P.b/200;return V=1*Do(V),J=Fr*Do(J),he=ii*Do(he),new pn(rs(3.2404542*J-1.5371385*V-.4985314*he),rs(-.969266*J+1.8760108*V+.041556*he),rs(.0556434*J-.2040259*V+1.0572252*he),P.alpha)}function Mh(P,V,J){var he=V-P;return P+J*(he>180||he<-180?he-360*Math.round(he/360):he)}var Eu={forward:Cu,reverse:gf,interpolate:function(P,V,J){return{l:zr(P.l,V.l,J),a:zr(P.a,V.a,J),b:zr(P.b,V.b,J),alpha:zr(P.alpha,V.alpha,J)}}},is={forward:function(P){var V=Cu(P),J=V.l,he=V.a,Ae=V.b,Oe=Math.atan2(Ae,he)*La;return{h:Oe<0?Oe+360:Oe,c:Math.sqrt(he*he+Ae*Ae),l:J,alpha:P.a}},reverse:function(P){var V=P.h*uo,J=P.c;return gf({l:P.l,a:Math.cos(V)*J,b:Math.sin(V)*J,alpha:P.alpha})},interpolate:function(P,V,J){return{h:Mh(P.h,V.h,J),c:zr(P.c,V.c,J),l:zr(P.l,V.l,J),alpha:zr(P.alpha,V.alpha,J)}}},Ah=Object.freeze({__proto__:null,lab:Eu,hcl:is}),Ya=function(P,V,J,he,Ae){this.type=P,this.operator=V,this.interpolation=J,this.input=he,this.labels=[],this.outputs=[];for(var Oe=0,Ge=Ae;Oe1}))return V.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);he={name:"cubic-bezier",controlPoints:it}}if(P.length-1<4)return V.error("Expected at least 4 arguments, but found only "+(P.length-1)+".");if((P.length-1)%2!=0)return V.error("Expected an even number of arguments.");if(!(Ae=V.parse(Ae,2,Pt)))return null;var pt=[],Ct=null;J==="interpolate-hcl"||J==="interpolate-lab"?Ct=Nt:V.expectedType&&V.expectedType.kind!=="value"&&(Ct=V.expectedType);for(var Dt=0;Dt=Gt)return V.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',$t);var Mn=V.parse(Zt,fn,Ct);if(!Mn)return null;Ct=Ct||Mn.type,pt.push([Gt,Mn])}return Ct.kind==="number"||Ct.kind==="color"||Ct.kind==="array"&&Ct.itemType.kind==="number"&&typeof Ct.N=="number"?new Ya(Ct,J,he,Ae,pt):V.error("Type "+un(Ct)+" is not interpolatable.")},Ya.prototype.evaluate=function(P){var V=this.labels,J=this.outputs;if(V.length===1)return J[0].evaluate(P);var he=this.input.evaluate(P);if(he<=V[0])return J[0].evaluate(P);var Ae=V.length;if(he>=V[Ae-1])return J[Ae-1].evaluate(P);var Oe=Ir(V,he),Ge=V[Oe],it=V[Oe+1],pt=Ya.interpolationFactor(this.interpolation,he,Ge,it),Ct=J[Oe].evaluate(P),Dt=J[Oe+1].evaluate(P);return this.operator==="interpolate"?gr[this.type.kind.toLowerCase()](Ct,Dt,pt):this.operator==="interpolate-hcl"?is.reverse(is.interpolate(is.forward(Ct),is.forward(Dt),pt)):Eu.reverse(Eu.interpolate(Eu.forward(Ct),Eu.forward(Dt),pt))},Ya.prototype.eachChild=function(P){P(this.input);for(var V=0,J=this.outputs;V=J.length)throw new or("Array index out of bounds: "+V+" > "+(J.length-1)+".");if(V!==Math.floor(V))throw new or("Array index must be an integer, but found "+V+" instead.");return J[V]},Ml.prototype.eachChild=function(P){P(this.index),P(this.input)},Ml.prototype.outputDefined=function(){return!1},Ml.prototype.serialize=function(){return["at",this.index.serialize(),this.input.serialize()]};var Ui=function(P,V){this.type=Rt,this.needle=P,this.haystack=V};Ui.parse=function(P,V){if(P.length!==3)return V.error("Expected 2 arguments, but found "+(P.length-1)+" instead.");var J=V.parse(P[1],1,Wt),he=V.parse(P[2],2,Wt);return J&&he?kn(J.type,[Rt,wt,Pt,yt,Wt])?new Ui(J,he):V.error("Expected first argument to be of type boolean, string, number or null, but found "+un(J.type)+" instead"):null},Ui.prototype.evaluate=function(P){var V=this.needle.evaluate(P),J=this.haystack.evaluate(P);if(!J)return!1;if(!sn(V,["boolean","string","number","null"]))throw new or("Expected first argument to be of type boolean, string, number or null, but found "+un(rr(V))+" instead.");if(!sn(J,["string","array"]))throw new or("Expected second argument to be of type array or string, but found "+un(rr(J))+" instead.");return J.indexOf(V)>=0},Ui.prototype.eachChild=function(P){P(this.needle),P(this.haystack)},Ui.prototype.outputDefined=function(){return!0},Ui.prototype.serialize=function(){return["in",this.needle.serialize(),this.haystack.serialize()]};var Al=function(P,V,J){this.type=Pt,this.needle=P,this.haystack=V,this.fromIndex=J};Al.parse=function(P,V){if(P.length<=2||P.length>=5)return V.error("Expected 3 or 4 arguments, but found "+(P.length-1)+" instead.");var J=V.parse(P[1],1,Wt),he=V.parse(P[2],2,Wt);if(!J||!he)return null;if(!kn(J.type,[Rt,wt,Pt,yt,Wt]))return V.error("Expected first argument to be of type boolean, string, number or null, but found "+un(J.type)+" instead");if(P.length===4){var Ae=V.parse(P[3],3,Pt);return Ae?new Al(J,he,Ae):null}return new Al(J,he)},Al.prototype.evaluate=function(P){var V=this.needle.evaluate(P),J=this.haystack.evaluate(P);if(!sn(V,["boolean","string","number","null"]))throw new or("Expected first argument to be of type boolean, string, number or null, but found "+un(rr(V))+" instead.");if(!sn(J,["string","array"]))throw new or("Expected second argument to be of type array or string, but found "+un(rr(J))+" instead.");if(this.fromIndex){var he=this.fromIndex.evaluate(P);return J.indexOf(V,he)}return J.indexOf(V)},Al.prototype.eachChild=function(P){P(this.needle),P(this.haystack),this.fromIndex&&P(this.fromIndex)},Al.prototype.outputDefined=function(){return!1},Al.prototype.serialize=function(){if(this.fromIndex!=null&&this.fromIndex!==void 0){var P=this.fromIndex.serialize();return["index-of",this.needle.serialize(),this.haystack.serialize(),P]}return["index-of",this.needle.serialize(),this.haystack.serialize()]};var ps=function(P,V,J,he,Ae,Oe){this.inputType=P,this.type=V,this.input=J,this.cases=he,this.outputs=Ae,this.otherwise=Oe};ps.parse=function(P,V){if(P.length<5)return V.error("Expected at least 4 arguments, but found only "+(P.length-1)+".");if(P.length%2!=1)return V.error("Expected an even number of arguments.");var J,he;V.expectedType&&V.expectedType.kind!=="value"&&(he=V.expectedType);for(var Ae={},Oe=[],Ge=2;GeNumber.MAX_SAFE_INTEGER)return Ct.error("Branch labels must be integers no larger than "+Number.MAX_SAFE_INTEGER+".");if(typeof Zt=="number"&&Math.floor(Zt)!==Zt)return Ct.error("Numeric branch labels must be integer values.");if(J){if(Ct.checkSubtype(J,rr(Zt)))return null}else J=rr(Zt);if(Ae[String(Zt)]!==void 0)return Ct.error("Branch labels must be unique.");Ae[String(Zt)]=Oe.length}var $t=V.parse(pt,Ge,he);if(!$t)return null;he=he||$t.type,Oe.push($t)}var fn=V.parse(P[1],1,Wt);if(!fn)return null;var Mn=V.parse(P[P.length-1],P.length-1,he);return Mn?fn.type.kind!=="value"&&V.concat(1).checkSubtype(J,fn.type)?null:new ps(J,he,fn,Ae,Oe,Mn):null},ps.prototype.evaluate=function(P){var V=this.input.evaluate(P);return(rr(V)===this.inputType&&this.outputs[this.cases[V]]||this.otherwise).evaluate(P)},ps.prototype.eachChild=function(P){P(this.input),this.outputs.forEach(P),P(this.otherwise)},ps.prototype.outputDefined=function(){return this.outputs.every(function(P){return P.outputDefined()})&&this.otherwise.outputDefined()},ps.prototype.serialize=function(){for(var P=this,V=["match",this.input.serialize()],J=[],he={},Ae=0,Oe=Object.keys(this.cases).sort();Ae=5)return V.error("Expected 3 or 4 arguments, but found "+(P.length-1)+" instead.");var J=V.parse(P[1],1,Wt),he=V.parse(P[2],2,Pt);if(!J||!he)return null;if(!kn(J.type,[xn(Wt),wt,Wt]))return V.error("Expected first argument to be of type array or string, but found "+un(J.type)+" instead");if(P.length===4){var Ae=V.parse(P[3],3,Pt);return Ae?new js(J.type,J,he,Ae):null}return new js(J.type,J,he)},js.prototype.evaluate=function(P){var V=this.input.evaluate(P),J=this.beginIndex.evaluate(P);if(!sn(V,["string","array"]))throw new or("Expected first argument to be of type array or string, but found "+un(rr(V))+" instead.");if(this.endIndex){var he=this.endIndex.evaluate(P);return V.slice(J,he)}return V.slice(J)},js.prototype.eachChild=function(P){P(this.input),P(this.beginIndex),this.endIndex&&P(this.endIndex)},js.prototype.outputDefined=function(){return!1},js.prototype.serialize=function(){if(this.endIndex!=null&&this.endIndex!==void 0){var P=this.endIndex.serialize();return["slice",this.input.serialize(),this.beginIndex.serialize(),P]}return["slice",this.input.serialize(),this.beginIndex.serialize()]};var yf=tl("==",function(P,V,J){return V===J},vf),bf=tl("!=",function(P,V,J){return V!==J},function(P,V,J,he){return!vf(0,V,J,he)}),id=tl("<",function(P,V,J){return V",function(P,V,J){return V>J},function(P,V,J,he){return he.compare(V,J)>0}),xf=tl("<=",function(P,V,J){return V<=J},function(P,V,J,he){return he.compare(V,J)<=0}),Ch=tl(">=",function(P,V,J){return V>=J},function(P,V,J,he){return he.compare(V,J)>=0}),nl=function(P,V,J,he,Ae){this.type=wt,this.number=P,this.locale=V,this.currency=J,this.minFractionDigits=he,this.maxFractionDigits=Ae};nl.parse=function(P,V){if(P.length!==3)return V.error("Expected two arguments.");var J=V.parse(P[1],1,Pt);if(!J)return null;var he=P[2];if(typeof he!="object"||Array.isArray(he))return V.error("NumberFormat options argument must be an object.");var Ae=null;if(he.locale&&!(Ae=V.parse(he.locale,1,wt)))return null;var Oe=null;if(he.currency&&!(Oe=V.parse(he.currency,1,wt)))return null;var Ge=null;if(he["min-fraction-digits"]&&!(Ge=V.parse(he["min-fraction-digits"],1,Pt)))return null;var it=null;return he["max-fraction-digits"]&&!(it=V.parse(he["max-fraction-digits"],1,Pt))?null:new nl(J,Ae,Oe,Ge,it)},nl.prototype.evaluate=function(P){return new Intl.NumberFormat(this.locale?this.locale.evaluate(P):[],{style:this.currency?"currency":"decimal",currency:this.currency?this.currency.evaluate(P):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(P):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(P):void 0}).format(this.number.evaluate(P))},nl.prototype.eachChild=function(P){P(this.number),this.locale&&P(this.locale),this.currency&&P(this.currency),this.minFractionDigits&&P(this.minFractionDigits),this.maxFractionDigits&&P(this.maxFractionDigits)},nl.prototype.outputDefined=function(){return!1},nl.prototype.serialize=function(){var P={};return this.locale&&(P.locale=this.locale.serialize()),this.currency&&(P.currency=this.currency.serialize()),this.minFractionDigits&&(P["min-fraction-digits"]=this.minFractionDigits.serialize()),this.maxFractionDigits&&(P["max-fraction-digits"]=this.maxFractionDigits.serialize()),["number-format",this.number.serialize(),P]};var rl=function(P){this.type=Pt,this.input=P};rl.parse=function(P,V){if(P.length!==2)return V.error("Expected 1 argument, but found "+(P.length-1)+" instead.");var J=V.parse(P[1],1);return J?J.type.kind!=="array"&&J.type.kind!=="string"&&J.type.kind!=="value"?V.error("Expected argument of type string or array, but found "+un(J.type)+" instead."):new rl(J):null},rl.prototype.evaluate=function(P){var V=this.input.evaluate(P);if(typeof V=="string"||Array.isArray(V))return V.length;throw new or("Expected value to be of type string or array, but found "+un(rr(V))+" instead.")},rl.prototype.eachChild=function(P){P(this.input)},rl.prototype.outputDefined=function(){return!1},rl.prototype.serialize=function(){var P=["length"];return this.eachChild(function(V){P.push(V.serialize())}),P};var Lu={"==":yf,"!=":bf,">":Sh,"<":id,">=":Ch,"<=":xf,array:_r,at:Ml,boolean:_r,case:Es,coalesce:Yo,collator:tr,format:Kt,image:bn,in:Ui,"index-of":Al,interpolate:Ya,"interpolate-hcl":Ya,"interpolate-lab":Ya,length:rl,let:as,literal:yr,match:ps,number:_r,"number-format":nl,object:_r,slice:js,step:Lr,string:_r,"to-boolean":Ln,"to-color":Ln,"to-number":Ln,"to-string":Ln,var:pr,within:nr};function il(P,V){var J=V[0],he=V[1],Ae=V[2],Oe=V[3];J=J.evaluate(P),he=he.evaluate(P),Ae=Ae.evaluate(P);var Ge=Oe?Oe.evaluate(P):1,it=qn(J,he,Ae,Ge);if(it)throw new or(it);return new pn(J/255*Ge,he/255*Ge,Ae/255*Ge,Ge)}function Eh(P,V){return P in V}function Lh(P,V){var J=V[P];return J===void 0?null:J}function Jl(P){return{type:P}}function jc(P){return{result:"success",value:P}}function Sl(P){return{result:"error",value:P}}function Iu(P){return P["property-type"]==="data-driven"||P["property-type"]==="cross-faded-data-driven"}function Ql(P){return!!P.expression&&P.expression.parameters.indexOf("zoom")>-1}function al(P){return!!P.expression&&P.expression.interpolated}function Hi(P){return P instanceof Number?"number":P instanceof String?"string":P instanceof Boolean?"boolean":Array.isArray(P)?"array":P===null?"null":typeof P}function Cl(P){return typeof P=="object"&&P!==null&&!Array.isArray(P)}function ad(P){return P}function Uc(P,V){var J,he,Ae,Oe=V.type==="color",Ge=P.stops&&typeof P.stops[0][0]=="object",it=Ge||P.property!==void 0,pt=Ge||!it,Ct=P.type||(al(V)?"exponential":"interval");if(Oe&&((P=ut({},P)).stops&&(P.stops=P.stops.map(function(Tr){return[Tr[0],pn.parse(Tr[1])]})),P.default?P.default=pn.parse(P.default):P.default=pn.parse(V.default)),P.colorSpace&&P.colorSpace!=="rgb"&&!Ah[P.colorSpace])throw new Error("Unknown color space: "+P.colorSpace);if(Ct==="exponential")J=ms;else if(Ct==="interval")J=Ru;else if(Ct==="categorical"){J=eu,he=Object.create(null);for(var Dt=0,Gt=P.stops;Dt=P.stops[he-1][0])return P.stops[he-1][1];var Ae=Ir(P.stops.map(function(Oe){return Oe[0]}),J);return P.stops[Ae][1]}function ms(P,V,J){var he=P.base!==void 0?P.base:1;if(Hi(J)!=="number")return dc(P.default,V.default);var Ae=P.stops.length;if(Ae===1||J<=P.stops[0][0])return P.stops[0][1];if(J>=P.stops[Ae-1][0])return P.stops[Ae-1][1];var Oe=Ir(P.stops.map(function(Gt){return Gt[0]}),J),Ge=function(Gt,Zt,$t,fn){var Mn=fn-$t,Nn=Gt-$t;return Mn===0?0:Zt===1?Nn/Mn:(Math.pow(Zt,Nn)-1)/(Math.pow(Zt,Mn)-1)}(J,he,P.stops[Oe][0],P.stops[Oe+1][0]),it=P.stops[Oe][1],pt=P.stops[Oe+1][1],Ct=gr[V.type]||ad;if(P.colorSpace&&P.colorSpace!=="rgb"){var Dt=Ah[P.colorSpace];Ct=function(Gt,Zt){return Dt.reverse(Dt.interpolate(Dt.forward(Gt),Dt.forward(Zt),Ge))}}return typeof it.evaluate=="function"?{evaluate:function(){for(var Gt=[],Zt=arguments.length;Zt--;)Gt[Zt]=arguments[Zt];var $t=it.evaluate.apply(void 0,Gt),fn=pt.evaluate.apply(void 0,Gt);if($t!==void 0&&fn!==void 0)return Ct($t,fn,Ge)}}:Ct(it,pt,Ge)}function Ih(P,V,J){return V.type==="color"?J=pn.parse(J):V.type==="formatted"?J=jn.fromString(J.toString()):V.type==="resolvedImage"?J=Gn.fromString(J.toString()):Hi(J)===V.type||V.type==="enum"&&V.values[J]||(J=void 0),dc(J,P.default,V.default)}$n.register(Lu,{error:[{kind:"error"},[wt],function(P,V){var J=V[0];throw new or(J.evaluate(P))}],typeof:[wt,[Wt],function(P,V){return un(rr(V[0].evaluate(P)))}],"to-rgba":[xn(Pt,4),[Nt],function(P,V){return V[0].evaluate(P).toArray()}],rgb:[Nt,[Pt,Pt,Pt],il],rgba:[Nt,[Pt,Pt,Pt,Pt],il],has:{type:Rt,overloads:[[[wt],function(P,V){return Eh(V[0].evaluate(P),P.properties())}],[[wt,Yt],function(P,V){var J=V[0],he=V[1];return Eh(J.evaluate(P),he.evaluate(P))}]]},get:{type:Wt,overloads:[[[wt],function(P,V){return Lh(V[0].evaluate(P),P.properties())}],[[wt,Yt],function(P,V){var J=V[0],he=V[1];return Lh(J.evaluate(P),he.evaluate(P))}]]},"feature-state":[Wt,[wt],function(P,V){return Lh(V[0].evaluate(P),P.featureState||{})}],properties:[Yt,[],function(P){return P.properties()}],"geometry-type":[wt,[],function(P){return P.geometryType()}],id:[Wt,[],function(P){return P.id()}],zoom:[Pt,[],function(P){return P.globals.zoom}],"heatmap-density":[Pt,[],function(P){return P.globals.heatmapDensity||0}],"line-progress":[Pt,[],function(P){return P.globals.lineProgress||0}],accumulated:[Wt,[],function(P){return P.globals.accumulated===void 0?null:P.globals.accumulated}],"+":[Pt,Jl(Pt),function(P,V){for(var J=0,he=0,Ae=V;he":[Rt,[wt,Wt],function(P,V){var J=V[0],he=V[1],Ae=P.properties()[J.value],Oe=he.value;return typeof Ae==typeof Oe&&Ae>Oe}],"filter-id->":[Rt,[Wt],function(P,V){var J=V[0],he=P.id(),Ae=J.value;return typeof he==typeof Ae&&he>Ae}],"filter-<=":[Rt,[wt,Wt],function(P,V){var J=V[0],he=V[1],Ae=P.properties()[J.value],Oe=he.value;return typeof Ae==typeof Oe&&Ae<=Oe}],"filter-id-<=":[Rt,[Wt],function(P,V){var J=V[0],he=P.id(),Ae=J.value;return typeof he==typeof Ae&&he<=Ae}],"filter->=":[Rt,[wt,Wt],function(P,V){var J=V[0],he=V[1],Ae=P.properties()[J.value],Oe=he.value;return typeof Ae==typeof Oe&&Ae>=Oe}],"filter-id->=":[Rt,[Wt],function(P,V){var J=V[0],he=P.id(),Ae=J.value;return typeof he==typeof Ae&&he>=Ae}],"filter-has":[Rt,[Wt],function(P,V){return V[0].value in P.properties()}],"filter-has-id":[Rt,[],function(P){return P.id()!==null&&P.id()!==void 0}],"filter-type-in":[Rt,[xn(wt)],function(P,V){return V[0].value.indexOf(P.geometryType())>=0}],"filter-id-in":[Rt,[xn(Wt)],function(P,V){return V[0].value.indexOf(P.id())>=0}],"filter-in-small":[Rt,[wt,xn(Wt)],function(P,V){var J=V[0];return V[1].value.indexOf(P.properties()[J.value])>=0}],"filter-in-large":[Rt,[wt,xn(Wt)],function(P,V){var J=V[0],he=V[1];return function(Ae,Oe,Ge,it){for(;Ge<=it;){var pt=Ge+it>>1;if(Oe[pt]===Ae)return!0;Oe[pt]>Ae?it=pt-1:Ge=pt+1}return!1}(P.properties()[J.value],he.value,0,he.value.length-1)}],all:{type:Rt,overloads:[[[Rt,Rt],function(P,V){var J=V[0],he=V[1];return J.evaluate(P)&&he.evaluate(P)}],[Jl(Rt),function(P,V){for(var J=0,he=V;J0&&typeof P[0]=="string"&&P[0]in Lu}function mc(P,V){var J=new dr(Lu,[],V?function(Ae){var Oe={color:Nt,string:wt,number:Pt,enum:wt,boolean:Rt,formatted:Qt,resolvedImage:rn};return Ae.type==="array"?xn(Oe[Ae.value]||Wt,Ae.length):Oe[Ae.type]}(V):void 0),he=J.parse(P,void 0,void 0,void 0,V&&V.type==="string"?{typeAnnotation:"coerce"}:void 0);return he?jc(new pc(he,V)):Sl(J.errors)}pc.prototype.evaluateWithoutErrorHandling=function(P,V,J,he,Ae,Oe){return this._evaluator.globals=P,this._evaluator.feature=V,this._evaluator.featureState=J,this._evaluator.canonical=he,this._evaluator.availableImages=Ae||null,this._evaluator.formattedSection=Oe,this.expression.evaluate(this._evaluator)},pc.prototype.evaluate=function(P,V,J,he,Ae,Oe){this._evaluator.globals=P,this._evaluator.feature=V||null,this._evaluator.featureState=J||null,this._evaluator.canonical=he,this._evaluator.availableImages=Ae||null,this._evaluator.formattedSection=Oe||null;try{var Ge=this.expression.evaluate(this._evaluator);if(Ge==null||typeof Ge=="number"&&Ge!=Ge)return this._defaultValue;if(this._enumValues&&!(Ge in this._enumValues))throw new or("Expected value to be one of "+Object.keys(this._enumValues).map(function(it){return JSON.stringify(it)}).join(", ")+", but found "+JSON.stringify(Ge)+" instead.");return Ge}catch(it){return this._warningHistory[it.message]||(this._warningHistory[it.message]=!0,typeof console<"u"&&console.warn(it.message)),this._defaultValue}};var tu=function(P,V){this.kind=P,this._styleExpression=V,this.isStateDependent=P!=="constant"&&!hr(V.expression)};tu.prototype.evaluateWithoutErrorHandling=function(P,V,J,he,Ae,Oe){return this._styleExpression.evaluateWithoutErrorHandling(P,V,J,he,Ae,Oe)},tu.prototype.evaluate=function(P,V,J,he,Ae,Oe){return this._styleExpression.evaluate(P,V,J,he,Ae,Oe)};var nu=function(P,V,J,he){this.kind=P,this.zoomStops=J,this._styleExpression=V,this.isStateDependent=P!=="camera"&&!hr(V.expression),this.interpolationType=he};function Ou(P,V){if((P=mc(P,V)).result==="error")return P;var J=P.value.expression,he=Qn(J);if(!he&&!Iu(V))return Sl([new It("","data expressions not supported")]);var Ae=cr(J,["zoom"]);if(!Ae&&!Ql(V))return Sl([new It("","zoom expressions not supported")]);var Oe=vc(J);if(!Oe&&!Ae)return Sl([new It("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')]);if(Oe instanceof It)return Sl([Oe]);if(Oe instanceof Ya&&!al(V))return Sl([new It("",'"interpolate" expressions cannot be used with this property')]);if(!Oe)return jc(new tu(he?"constant":"source",P.value));var Ge=Oe instanceof Ya?Oe.interpolation:void 0;return jc(new nu(he?"camera":"composite",P.value,Oe.labels,Ge))}nu.prototype.evaluateWithoutErrorHandling=function(P,V,J,he,Ae,Oe){return this._styleExpression.evaluateWithoutErrorHandling(P,V,J,he,Ae,Oe)},nu.prototype.evaluate=function(P,V,J,he,Ae,Oe){return this._styleExpression.evaluate(P,V,J,he,Ae,Oe)},nu.prototype.interpolationFactor=function(P,V,J){return this.interpolationType?Ya.interpolationFactor(this.interpolationType,P,V,J):0};var gc=function(P,V){this._parameters=P,this._specification=V,ut(this,Uc(this._parameters,this._specification))};function vc(P){var V=null;if(P instanceof as)V=vc(P.result);else if(P instanceof Yo)for(var J=0,he=P.args;Jhe.maximum?[new Ne(V,J,J+" is greater than the maximum value "+he.maximum)]:[]}function Rh(P){var V,J,he,Ae=P.valueSpec,Oe=dt(P.value.type),Ge={},it=Oe!=="categorical"&&P.value.property===void 0,pt=!it,Ct=Hi(P.value.stops)==="array"&&Hi(P.value.stops[0])==="array"&&Hi(P.value.stops[0][0])==="object",Dt=gs({key:P.key,value:P.value,valueSpec:P.styleSpec.function,style:P.style,styleSpec:P.styleSpec,objectElementValidators:{stops:function($t){if(Oe==="identity")return[new Ne($t.key,$t.value,'identity function may not have a "stops" property')];var fn=[],Mn=$t.value;return fn=fn.concat(yc({key:$t.key,value:Mn,valueSpec:$t.valueSpec,style:$t.style,styleSpec:$t.styleSpec,arrayElementValidator:Gt})),Hi(Mn)==="array"&&Mn.length===0&&fn.push(new Ne($t.key,Mn,"array must have at least one stop")),fn},default:function($t){return da({key:$t.key,value:$t.value,valueSpec:Ae,style:$t.style,styleSpec:$t.styleSpec})}}});return Oe==="identity"&&it&&Dt.push(new Ne(P.key,P.value,'missing required property "property"')),Oe==="identity"||P.value.stops||Dt.push(new Ne(P.key,P.value,'missing required property "stops"')),Oe==="exponential"&&P.valueSpec.expression&&!al(P.valueSpec)&&Dt.push(new Ne(P.key,P.value,"exponential functions not supported")),P.styleSpec.$version>=8&&(pt&&!Iu(P.valueSpec)?Dt.push(new Ne(P.key,P.value,"property functions not supported")):it&&!Ql(P.valueSpec)&&Dt.push(new Ne(P.key,P.value,"zoom functions not supported"))),Oe!=="categorical"&&!Ct||P.value.property!==void 0||Dt.push(new Ne(P.key,P.value,'"property" property is required')),Dt;function Gt($t){var fn=[],Mn=$t.value,Nn=$t.key;if(Hi(Mn)!=="array")return[new Ne(Nn,Mn,"array expected, "+Hi(Mn)+" found")];if(Mn.length!==2)return[new Ne(Nn,Mn,"array length 2 expected, length "+Mn.length+" found")];if(Ct){if(Hi(Mn[0])!=="object")return[new Ne(Nn,Mn,"object expected, "+Hi(Mn[0])+" found")];if(Mn[0].zoom===void 0)return[new Ne(Nn,Mn,"object stop key must have zoom")];if(Mn[0].value===void 0)return[new Ne(Nn,Mn,"object stop key must have value")];if(he&&he>dt(Mn[0].zoom))return[new Ne(Nn,Mn[0].zoom,"stop zoom values must appear in ascending order")];dt(Mn[0].zoom)!==he&&(he=dt(Mn[0].zoom),J=void 0,Ge={}),fn=fn.concat(gs({key:Nn+"[0]",value:Mn[0],valueSpec:{zoom:{}},style:$t.style,styleSpec:$t.styleSpec,objectElementValidators:{zoom:bc,value:Zt}}))}else fn=fn.concat(Zt({key:Nn+"[0]",value:Mn[0],valueSpec:{},style:$t.style,styleSpec:$t.styleSpec},Mn));return Pu(_t(Mn[1]))?fn.concat([new Ne(Nn+"[1]",Mn[1],"expressions are not allowed in function stops.")]):fn.concat(da({key:Nn+"[1]",value:Mn[1],valueSpec:Ae,style:$t.style,styleSpec:$t.styleSpec}))}function Zt($t,fn){var Mn=Hi($t.value),Nn=dt($t.value),Bn=$t.value!==null?$t.value:fn;if(V){if(Mn!==V)return[new Ne($t.key,Bn,Mn+" stop domain type must match previous stop domain type "+V)]}else V=Mn;if(Mn!=="number"&&Mn!=="string"&&Mn!=="boolean")return[new Ne($t.key,Bn,"stop domain value must be a number, string, or boolean")];if(Mn!=="number"&&Oe!=="categorical"){var Wn="number expected, "+Mn+" found";return Iu(Ae)&&Oe===void 0&&(Wn+='\nIf you intended to use a categorical function, specify `"type": "categorical"`.'),[new Ne($t.key,Bn,Wn)]}return Oe!=="categorical"||Mn!=="number"||isFinite(Nn)&&Math.floor(Nn)===Nn?Oe!=="categorical"&&Mn==="number"&&J!==void 0&&Nn=2&&P[1]!=="$id"&&P[1]!=="$type";case"in":return P.length>=3&&(typeof P[1]!="string"||Array.isArray(P[2]));case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return P.length!==3||Array.isArray(P[1])||Array.isArray(P[2]);case"any":case"all":for(var V=0,J=P.slice(1);VV?1:0}function ru(P){if(!Array.isArray(P))return!1;if(P[0]==="within")return!0;for(var V=1;V"||J==="<="||J===">="?Ki(P[1],P[2],J):J==="any"?(V=P.slice(1),["any"].concat(V.map(iu))):J==="all"?["all"].concat(P.slice(1).map(iu)):J==="none"?["all"].concat(P.slice(1).map(iu).map(po)):J==="in"?Ll(P[1],P.slice(2)):J==="!in"?po(Ll(P[1],P.slice(2))):J==="has"?Il(P[1]):J==="!has"?po(Il(P[1])):J!=="within"||P}function Ki(P,V,J){switch(P){case"$type":return["filter-type-"+J,V];case"$id":return["filter-id-"+J,V];default:return["filter-"+J,P,V]}}function Ll(P,V){if(V.length===0)return!1;switch(P){case"$type":return["filter-type-in",["literal",V]];case"$id":return["filter-id-in",["literal",V]];default:return V.length>200&&!V.some(function(J){return typeof J!=typeof V[0]})?["filter-in-large",P,["literal",V.sort(Du)]]:["filter-in-small",P,["literal",V]]}}function Il(P){switch(P){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",P]}}function po(P){return["!",P]}function Oi(P){return xc(_t(P.value))?El(ut({},P,{expressionContext:"filter",valueSpec:{value:"boolean"}})):Bi(P)}function Bi(P){var V=P.value,J=P.key;if(Hi(V)!=="array")return[new Ne(J,V,"array expected, "+Hi(V)+" found")];var he,Ae=P.styleSpec,Oe=[];if(V.length<1)return[new Ne(J,V,"filter array must have at least 1 element")];switch(Oe=Oe.concat(Hc({key:J+"[0]",value:V[0],valueSpec:Ae.filter_operator,style:P.style,styleSpec:P.styleSpec})),dt(V[0])){case"<":case"<=":case">":case">=":V.length>=2&&dt(V[1])==="$type"&&Oe.push(new Ne(J,V,'"$type" cannot be use with operator "'+V[0]+'"'));case"==":case"!=":V.length!==3&&Oe.push(new Ne(J,V,'filter array for operator "'+V[0]+'" must have 3 elements'));case"in":case"!in":V.length>=2&&(he=Hi(V[1]))!=="string"&&Oe.push(new Ne(J+"[1]",V[1],"string expected, "+he+" found"));for(var Ge=2;Ge=Dt[$t+0]&&he>=Dt[$t+1])?(Ge[Zt]=!0,Oe.push(Ct[Zt])):Ge[Zt]=!1}}},$o.prototype._forEachCell=function(P,V,J,he,Ae,Oe,Ge,it){for(var pt=this._convertToCellCoord(P),Ct=this._convertToCellCoord(V),Dt=this._convertToCellCoord(J),Gt=this._convertToCellCoord(he),Zt=pt;Zt<=Dt;Zt++)for(var $t=Ct;$t<=Gt;$t++){var fn=this.d*$t+Zt;if((!it||it(this._convertFromCellCoord(Zt),this._convertFromCellCoord($t),this._convertFromCellCoord(Zt+1),this._convertFromCellCoord($t+1)))&&Ae.call(this,P,V,J,he,fn,Oe,Ge,it))return}},$o.prototype._convertFromCellCoord=function(P){return(P-this.padding)/this.scale},$o.prototype._convertToCellCoord=function(P){return Math.max(0,Math.min(this.d-1,Math.floor(P*this.scale)+this.padding))},$o.prototype.toArrayBuffer=function(){if(this.arrayBuffer)return this.arrayBuffer;for(var P=this.cells,V=3+this.cells.length+1+1,J=0,he=0;he=0)){var Gt=P[Dt];Ct[Dt]=Lo[pt].shallow.indexOf(Dt)>=0?Gt:zu(Gt,V)}P instanceof Error&&(Ct.message=P.message)}if(Ct.$name)throw new Error("$name property is reserved for worker serialization logic.");return pt!=="Object"&&(Ct.$name=pt),Ct}throw new Error("can't serialize object of type "+typeof P)}function Fu(P){if(P==null||typeof P=="boolean"||typeof P=="number"||typeof P=="string"||P instanceof Boolean||P instanceof Number||P instanceof String||P instanceof Date||P instanceof RegExp||Fo(P)||Yc(P)||ArrayBuffer.isView(P)||P instanceof qc)return P;if(Array.isArray(P))return P.map(Fu);if(typeof P=="object"){var V=P.$name||"Object",J=Lo[V].klass;if(!J)throw new Error("can't deserialize unregistered class "+V);if(J.deserialize)return J.deserialize(P);for(var he=Object.create(J.prototype),Ae=0,Oe=Object.keys(P);Ae=0?it:Fu(it)}}return he}throw new Error("can't deserialize object of type "+typeof P)}var Bu=function(){this.first=!0};Bu.prototype.update=function(P,V){var J=Math.floor(P);return this.first?(this.first=!1,this.lastIntegerZoom=J,this.lastIntegerZoomTime=0,this.lastZoom=P,this.lastFloorZoom=J,!0):(this.lastFloorZoom>J?(this.lastIntegerZoom=J+1,this.lastIntegerZoomTime=V):this.lastFloorZoom=128&&P<=255},Arabic:function(P){return P>=1536&&P<=1791},"Arabic Supplement":function(P){return P>=1872&&P<=1919},"Arabic Extended-A":function(P){return P>=2208&&P<=2303},"Hangul Jamo":function(P){return P>=4352&&P<=4607},"Unified Canadian Aboriginal Syllabics":function(P){return P>=5120&&P<=5759},Khmer:function(P){return P>=6016&&P<=6143},"Unified Canadian Aboriginal Syllabics Extended":function(P){return P>=6320&&P<=6399},"General Punctuation":function(P){return P>=8192&&P<=8303},"Letterlike Symbols":function(P){return P>=8448&&P<=8527},"Number Forms":function(P){return P>=8528&&P<=8591},"Miscellaneous Technical":function(P){return P>=8960&&P<=9215},"Control Pictures":function(P){return P>=9216&&P<=9279},"Optical Character Recognition":function(P){return P>=9280&&P<=9311},"Enclosed Alphanumerics":function(P){return P>=9312&&P<=9471},"Geometric Shapes":function(P){return P>=9632&&P<=9727},"Miscellaneous Symbols":function(P){return P>=9728&&P<=9983},"Miscellaneous Symbols and Arrows":function(P){return P>=11008&&P<=11263},"CJK Radicals Supplement":function(P){return P>=11904&&P<=12031},"Kangxi Radicals":function(P){return P>=12032&&P<=12255},"Ideographic Description Characters":function(P){return P>=12272&&P<=12287},"CJK Symbols and Punctuation":function(P){return P>=12288&&P<=12351},Hiragana:function(P){return P>=12352&&P<=12447},Katakana:function(P){return P>=12448&&P<=12543},Bopomofo:function(P){return P>=12544&&P<=12591},"Hangul Compatibility Jamo":function(P){return P>=12592&&P<=12687},Kanbun:function(P){return P>=12688&&P<=12703},"Bopomofo Extended":function(P){return P>=12704&&P<=12735},"CJK Strokes":function(P){return P>=12736&&P<=12783},"Katakana Phonetic Extensions":function(P){return P>=12784&&P<=12799},"Enclosed CJK Letters and Months":function(P){return P>=12800&&P<=13055},"CJK Compatibility":function(P){return P>=13056&&P<=13311},"CJK Unified Ideographs Extension A":function(P){return P>=13312&&P<=19903},"Yijing Hexagram Symbols":function(P){return P>=19904&&P<=19967},"CJK Unified Ideographs":function(P){return P>=19968&&P<=40959},"Yi Syllables":function(P){return P>=40960&&P<=42127},"Yi Radicals":function(P){return P>=42128&&P<=42191},"Hangul Jamo Extended-A":function(P){return P>=43360&&P<=43391},"Hangul Syllables":function(P){return P>=44032&&P<=55215},"Hangul Jamo Extended-B":function(P){return P>=55216&&P<=55295},"Private Use Area":function(P){return P>=57344&&P<=63743},"CJK Compatibility Ideographs":function(P){return P>=63744&&P<=64255},"Arabic Presentation Forms-A":function(P){return P>=64336&&P<=65023},"Vertical Forms":function(P){return P>=65040&&P<=65055},"CJK Compatibility Forms":function(P){return P>=65072&&P<=65103},"Small Form Variants":function(P){return P>=65104&&P<=65135},"Arabic Presentation Forms-B":function(P){return P>=65136&&P<=65279},"Halfwidth and Fullwidth Forms":function(P){return P>=65280&&P<=65519}};function Nu(P){for(var V=0,J=P;V=65097&&P<=65103)||Br["CJK Compatibility Ideographs"](P)||Br["CJK Compatibility"](P)||Br["CJK Radicals Supplement"](P)||Br["CJK Strokes"](P)||!(!Br["CJK Symbols and Punctuation"](P)||P>=12296&&P<=12305||P>=12308&&P<=12319||P===12336)||Br["CJK Unified Ideographs Extension A"](P)||Br["CJK Unified Ideographs"](P)||Br["Enclosed CJK Letters and Months"](P)||Br["Hangul Compatibility Jamo"](P)||Br["Hangul Jamo Extended-A"](P)||Br["Hangul Jamo Extended-B"](P)||Br["Hangul Jamo"](P)||Br["Hangul Syllables"](P)||Br.Hiragana(P)||Br["Ideographic Description Characters"](P)||Br.Kanbun(P)||Br["Kangxi Radicals"](P)||Br["Katakana Phonetic Extensions"](P)||Br.Katakana(P)&&P!==12540||!(!Br["Halfwidth and Fullwidth Forms"](P)||P===65288||P===65289||P===65293||P>=65306&&P<=65310||P===65339||P===65341||P===65343||P>=65371&&P<=65503||P===65507||P>=65512&&P<=65519)||!(!Br["Small Form Variants"](P)||P>=65112&&P<=65118||P>=65123&&P<=65126)||Br["Unified Canadian Aboriginal Syllabics"](P)||Br["Unified Canadian Aboriginal Syllabics Extended"](P)||Br["Vertical Forms"](P)||Br["Yijing Hexagram Symbols"](P)||Br["Yi Syllables"](P)||Br["Yi Radicals"](P))))}function $c(P){return!(ys(P)||function(V){return!!(Br["Latin-1 Supplement"](V)&&(V===167||V===169||V===174||V===177||V===188||V===189||V===190||V===215||V===247)||Br["General Punctuation"](V)&&(V===8214||V===8224||V===8225||V===8240||V===8241||V===8251||V===8252||V===8258||V===8263||V===8264||V===8265||V===8273)||Br["Letterlike Symbols"](V)||Br["Number Forms"](V)||Br["Miscellaneous Technical"](V)&&(V>=8960&&V<=8967||V>=8972&&V<=8991||V>=8996&&V<=9e3||V===9003||V>=9085&&V<=9114||V>=9150&&V<=9165||V===9167||V>=9169&&V<=9179||V>=9186&&V<=9215)||Br["Control Pictures"](V)&&V!==9251||Br["Optical Character Recognition"](V)||Br["Enclosed Alphanumerics"](V)||Br["Geometric Shapes"](V)||Br["Miscellaneous Symbols"](V)&&!(V>=9754&&V<=9759)||Br["Miscellaneous Symbols and Arrows"](V)&&(V>=11026&&V<=11055||V>=11088&&V<=11097||V>=11192&&V<=11243)||Br["CJK Symbols and Punctuation"](V)||Br.Katakana(V)||Br["Private Use Area"](V)||Br["CJK Compatibility Forms"](V)||Br["Small Form Variants"](V)||Br["Halfwidth and Fullwidth Forms"](V)||V===8734||V===8756||V===8757||V>=9984&&V<=10087||V>=10102&&V<=10131||V===65532||V===65533)}(P))}function wc(P){return Br.Arabic(P)||Br["Arabic Supplement"](P)||Br["Arabic Extended-A"](P)||Br["Arabic Presentation Forms-A"](P)||Br["Arabic Presentation Forms-B"](P)}function vo(P){return P>=1424&&P<=2303||Br["Arabic Presentation Forms-A"](P)||Br["Arabic Presentation Forms-B"](P)}function cu(P,V){return!(!V&&vo(P)||P>=2304&&P<=3583||P>=3840&&P<=4255||Br.Khmer(P))}function ll(P){for(var V=0,J=P;V-1&&(yo=bs),hu&&hu(P)};function Tc(){os.fire(new qe("pluginStateChange",{pluginStatus:yo,pluginURL:xs}))}var os=new ft,_s=function(){return yo},Gs=function(){if(yo!==Zo||!xs)throw new Error("rtl-text-plugin cannot be downloaded unless a pluginURL is specified");yo=Pl,Tc(),xs&&Ft({url:xs},function(P){P?Yi(P):(yo=Ls,Tc())})},Bo={applyArabicShaping:null,processBidirectionalText:null,processStyledBidirectionalText:null,isLoaded:function(){return yo===Ls||Bo.applyArabicShaping!=null},isLoading:function(){return yo===Pl},setState:function(P){yo=P.pluginStatus,xs=P.pluginURL},isParsed:function(){return Bo.applyArabicShaping!=null&&Bo.processBidirectionalText!=null&&Bo.processStyledBidirectionalText!=null},getPluginURL:function(){return xs}},Wi=function(P,V){this.zoom=P,V?(this.now=V.now,this.fadeDuration=V.fadeDuration,this.zoomHistory=V.zoomHistory,this.transition=V.transition):(this.now=0,this.fadeDuration=0,this.zoomHistory=new Bu,this.transition={})};Wi.prototype.isSupportedScript=function(P){return function(V,J){for(var he=0,Ae=V;hethis.zoomHistory.lastIntegerZoom?{fromScale:2,toScale:1,t:V+(1-V)*J}:{fromScale:.5,toScale:1,t:1-(1-J)*V}};var no=function(P,V){this.property=P,this.value=V,this.expression=function(J,he){if(Cl(J))return new gc(J,he);if(Pu(J)){var Ae=Ou(J,he);if(Ae.result==="error")throw new Error(Ae.value.map(function(Ge){return Ge.key+": "+Ge.message}).join(", "));return Ae.value}var Oe=J;return typeof J=="string"&&he.type==="color"&&(Oe=pn.parse(J)),{kind:"constant",evaluate:function(){return Oe}}}(V===void 0?P.specification.default:V,P.specification)};no.prototype.isDataDriven=function(){return this.expression.kind==="source"||this.expression.kind==="composite"},no.prototype.possiblyEvaluate=function(P,V,J){return this.property.possiblyEvaluate(this,P,V,J)};var Is=function(P){this.property=P,this.value=new no(P,void 0)};Is.prototype.transitioned=function(P,V){return new qs(this.property,this.value,V,m({},P.transition,this.transition),P.now)},Is.prototype.untransitioned=function(){return new qs(this.property,this.value,null,{},0)};var No=function(P){this._properties=P,this._values=Object.create(P.defaultTransitionablePropertyValues)};No.prototype.getValue=function(P){return L(this._values[P].value.value)},No.prototype.setValue=function(P,V){this._values.hasOwnProperty(P)||(this._values[P]=new Is(this._values[P].property)),this._values[P].value=new no(this._values[P].property,V===null?void 0:L(V))},No.prototype.getTransition=function(P){return L(this._values[P].transition)},No.prototype.setTransition=function(P,V){this._values.hasOwnProperty(P)||(this._values[P]=new Is(this._values[P].property)),this._values[P].transition=L(V)||void 0},No.prototype.serialize=function(){for(var P={},V=0,J=Object.keys(this._values);Vthis.end)return this.prior=null,Ae;if(this.value.isDataDriven())return this.prior=null,Ae;if(he=1)return 1;var pt=it*it,Ct=pt*it;return 4*(it<.5?Ct:3*(it-pt)+Ct-.75)}(Ge))}return Ae};var Ol=function(P){this._properties=P,this._values=Object.create(P.defaultTransitioningPropertyValues)};Ol.prototype.possiblyEvaluate=function(P,V,J){for(var he=new ws(this._properties),Ae=0,Oe=Object.keys(this._values);AeOe.zoomHistory.lastIntegerZoom?{from:J,to:he}:{from:Ae,to:he}},V.prototype.interpolate=function(J){return J},V}(ni),cl=function(P){this.specification=P};cl.prototype.possiblyEvaluate=function(P,V,J,he){if(P.value!==void 0){if(P.expression.kind==="constant"){var Ae=P.expression.evaluate(V,null,{},J,he);return this._calculate(Ae,Ae,Ae,V)}return this._calculate(P.expression.evaluate(new Wi(Math.floor(V.zoom-1),V)),P.expression.evaluate(new Wi(Math.floor(V.zoom),V)),P.expression.evaluate(new Wi(Math.floor(V.zoom+1),V)),V)}},cl.prototype._calculate=function(P,V,J,he){return he.zoom>he.zoomHistory.lastIntegerZoom?{from:P,to:V}:{from:J,to:V}},cl.prototype.interpolate=function(P){return P};var Rs=function(P){this.specification=P};Rs.prototype.possiblyEvaluate=function(P,V,J,he){return!!P.expression.evaluate(V,null,{},J,he)},Rs.prototype.interpolate=function(){return!1};var xo=function(P){for(var V in this.properties=P,this.defaultPropertyValues={},this.defaultTransitionablePropertyValues={},this.defaultTransitioningPropertyValues={},this.defaultPossiblyEvaluatedValues={},this.overridableProperties=[],P){var J=P[V];J.specification.overridable&&this.overridableProperties.push(V);var he=this.defaultPropertyValues[V]=new no(J,void 0),Ae=this.defaultTransitionablePropertyValues[V]=new Is(J);this.defaultTransitioningPropertyValues[V]=Ae.untransitioned(),this.defaultPossiblyEvaluatedValues[V]=he.possiblyEvaluate({})}};Dr("DataDrivenProperty",ni),Dr("DataConstantProperty",Hr),Dr("CrossFadedDataDrivenProperty",Vu),Dr("CrossFadedProperty",cl),Dr("ColorRampProperty",Rs);var Zc="-transition",Vo=function(P){function V(J,he){if(P.call(this),this.id=J.id,this.type=J.type,this._featureFilter={filter:function(){return!0},needGeometry:!1},J.type!=="custom"&&(this.metadata=J.metadata,this.minzoom=J.minzoom,this.maxzoom=J.maxzoom,J.type!=="background"&&(this.source=J.source,this.sourceLayer=J["source-layer"],this.filter=J.filter),he.layout&&(this._unevaluatedLayout=new ul(he.layout)),he.paint)){for(var Ae in this._transitionablePaint=new No(he.paint),J.paint)this.setPaintProperty(Ae,J.paint[Ae],{validate:!1});for(var Oe in J.layout)this.setLayoutProperty(Oe,J.layout[Oe],{validate:!1});this._transitioningPaint=this._transitionablePaint.untransitioned(),this.paint=new ws(he.paint)}}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.getCrossfadeParameters=function(){return this._crossfadeParameters},V.prototype.getLayoutProperty=function(J){return J==="visibility"?this.visibility:this._unevaluatedLayout.getValue(J)},V.prototype.setLayoutProperty=function(J,he,Ae){if(Ae===void 0&&(Ae={}),he!=null){var Oe="layers."+this.id+".layout."+J;if(this._validate(Rl,Oe,J,he,Ae))return}J!=="visibility"?this._unevaluatedLayout.setValue(J,he):this.visibility=he},V.prototype.getPaintProperty=function(J){return E(J,Zc)?this._transitionablePaint.getTransition(J.slice(0,-Zc.length)):this._transitionablePaint.getValue(J)},V.prototype.setPaintProperty=function(J,he,Ae){if(Ae===void 0&&(Ae={}),he!=null){var Oe="layers."+this.id+".paint."+J;if(this._validate(zo,Oe,J,he,Ae))return!1}if(E(J,Zc))return this._transitionablePaint.setTransition(J.slice(0,-Zc.length),he||void 0),!1;var Ge=this._transitionablePaint._values[J],it=Ge.property.specification["property-type"]==="cross-faded-data-driven",pt=Ge.value.isDataDriven(),Ct=Ge.value;this._transitionablePaint.setValue(J,he),this._handleSpecialPaintPropertyUpdate(J);var Dt=this._transitionablePaint._values[J].value;return Dt.isDataDriven()||pt||it||this._handleOverridablePaintPropertyUpdate(J,Ct,Dt)},V.prototype._handleSpecialPaintPropertyUpdate=function(J){},V.prototype._handleOverridablePaintPropertyUpdate=function(J,he,Ae){return!1},V.prototype.isHidden=function(J){return!!(this.minzoom&&J=this.maxzoom)||this.visibility==="none"},V.prototype.updateTransitions=function(J){this._transitioningPaint=this._transitionablePaint.transitioned(J,this._transitioningPaint)},V.prototype.hasTransition=function(){return this._transitioningPaint.hasTransition()},V.prototype.recalculate=function(J,he){J.getCrossfadeParameters&&(this._crossfadeParameters=J.getCrossfadeParameters()),this._unevaluatedLayout&&(this.layout=this._unevaluatedLayout.possiblyEvaluate(J,void 0,he)),this.paint=this._transitioningPaint.possiblyEvaluate(J,void 0,he)},V.prototype.serialize=function(){var J={id:this.id,type:this.type,source:this.source,"source-layer":this.sourceLayer,metadata:this.metadata,minzoom:this.minzoom,maxzoom:this.maxzoom,filter:this.filter,layout:this._unevaluatedLayout&&this._unevaluatedLayout.serialize(),paint:this._transitionablePaint&&this._transitionablePaint.serialize()};return this.visibility&&(J.layout=J.layout||{},J.layout.visibility=this.visibility),A(J,function(he,Ae){return!(he===void 0||Ae==="layout"&&!Object.keys(he).length||Ae==="paint"&&!Object.keys(he).length)})},V.prototype._validate=function(J,he,Ae,Oe,Ge){return Ge===void 0&&(Ge={}),(!Ge||Ge.validate!==!1)&&vs(this,J.call(go,{key:he,layerType:this.type,objectKey:Ae,value:Oe,styleSpec:Re,style:{glyphs:!0,sprite:!0}}))},V.prototype.is3D=function(){return!1},V.prototype.isTileClipped=function(){return!1},V.prototype.hasOffscreenPass=function(){return!1},V.prototype.resize=function(){},V.prototype.isStateDependent=function(){for(var J in this.paint._values){var he=this.paint.get(J);if(he instanceof bo&&Iu(he.property.specification)&&(he.value.kind==="source"||he.value.kind==="composite")&&he.value.isStateDependent)return!0}return!1},V}(ft),ju={Int8:Int8Array,Uint8:Uint8Array,Int16:Int16Array,Uint16:Uint16Array,Int32:Int32Array,Uint32:Uint32Array,Float32:Float32Array},hl=function(P,V){this._structArray=P,this._pos1=V*this.size,this._pos2=this._pos1/2,this._pos4=this._pos1/4,this._pos8=this._pos1/8},Ji=function(){this.isTransferred=!1,this.capacity=-1,this.resize(0)};function la(P,V){V===void 0&&(V=1);var J=0,he=0;return{members:P.map(function(Ae){var Oe,Ge=(Oe=Ae.type,ju[Oe].BYTES_PER_ELEMENT),it=J=Xc(J,Math.max(V,Ge)),pt=Ae.components||1;return he=Math.max(he,Ge),J+=Ge*pt,{name:Ae.name,type:Ae.type,components:pt,offset:it}}),size:Xc(J,Math.max(he,V)),alignment:V}}function Xc(P,V){return Math.ceil(P/V)*V}Ji.serialize=function(P,V){return P._trim(),V&&(P.isTransferred=!0,V.push(P.arrayBuffer)),{length:P.length,arrayBuffer:P.arrayBuffer}},Ji.deserialize=function(P){var V=Object.create(this.prototype);return V.arrayBuffer=P.arrayBuffer,V.length=P.length,V.capacity=P.arrayBuffer.byteLength/V.bytesPerElement,V._refreshViews(),V},Ji.prototype._trim=function(){this.length!==this.capacity&&(this.capacity=this.length,this.arrayBuffer=this.arrayBuffer.slice(0,this.length*this.bytesPerElement),this._refreshViews())},Ji.prototype.clear=function(){this.length=0},Ji.prototype.resize=function(P){this.reserve(P),this.length=P},Ji.prototype.reserve=function(P){if(P>this.capacity){this.capacity=Math.max(P,Math.floor(5*this.capacity),128),this.arrayBuffer=new ArrayBuffer(this.capacity*this.bytesPerElement);var V=this.uint8;this._refreshViews(),V&&this.uint8.set(V)}},Ji.prototype._refreshViews=function(){throw new Error("_refreshViews() must be implemented by each concrete StructArray layout")};var et=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he){var Ae=this.length;return this.resize(Ae+1),this.emplace(Ae,J,he)},V.prototype.emplace=function(J,he,Ae){var Oe=2*J;return this.int16[Oe+0]=he,this.int16[Oe+1]=Ae,J},V}(Ji);et.prototype.bytesPerElement=4,Dr("StructArrayLayout2i4",et);var rt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe){var Ge=this.length;return this.resize(Ge+1),this.emplace(Ge,J,he,Ae,Oe)},V.prototype.emplace=function(J,he,Ae,Oe,Ge){var it=4*J;return this.int16[it+0]=he,this.int16[it+1]=Ae,this.int16[it+2]=Oe,this.int16[it+3]=Ge,J},V}(Ji);rt.prototype.bytesPerElement=8,Dr("StructArrayLayout4i8",rt);var ct=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it){var pt=this.length;return this.resize(pt+1),this.emplace(pt,J,he,Ae,Oe,Ge,it)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt){var Ct=6*J;return this.int16[Ct+0]=he,this.int16[Ct+1]=Ae,this.int16[Ct+2]=Oe,this.int16[Ct+3]=Ge,this.int16[Ct+4]=it,this.int16[Ct+5]=pt,J},V}(Ji);ct.prototype.bytesPerElement=12,Dr("StructArrayLayout2i4i12",ct);var vt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it){var pt=this.length;return this.resize(pt+1),this.emplace(pt,J,he,Ae,Oe,Ge,it)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt){var Ct=4*J,Dt=8*J;return this.int16[Ct+0]=he,this.int16[Ct+1]=Ae,this.uint8[Dt+4]=Oe,this.uint8[Dt+5]=Ge,this.uint8[Dt+6]=it,this.uint8[Dt+7]=pt,J},V}(Ji);vt.prototype.bytesPerElement=8,Dr("StructArrayLayout2i4ub8",vt);var St=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt){var Zt=this.length;return this.resize(Zt+1),this.emplace(Zt,J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt){var $t=9*J,fn=18*J;return this.uint16[$t+0]=he,this.uint16[$t+1]=Ae,this.uint16[$t+2]=Oe,this.uint16[$t+3]=Ge,this.uint16[$t+4]=it,this.uint16[$t+5]=pt,this.uint16[$t+6]=Ct,this.uint16[$t+7]=Dt,this.uint8[fn+16]=Gt,this.uint8[fn+17]=Zt,J},V}(Ji);St.prototype.bytesPerElement=18,Dr("StructArrayLayout8ui2ub18",St);var Mt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t){var fn=this.length;return this.resize(fn+1),this.emplace(fn,J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn){var Mn=12*J;return this.int16[Mn+0]=he,this.int16[Mn+1]=Ae,this.int16[Mn+2]=Oe,this.int16[Mn+3]=Ge,this.uint16[Mn+4]=it,this.uint16[Mn+5]=pt,this.uint16[Mn+6]=Ct,this.uint16[Mn+7]=Dt,this.int16[Mn+8]=Gt,this.int16[Mn+9]=Zt,this.int16[Mn+10]=$t,this.int16[Mn+11]=fn,J},V}(Ji);Mt.prototype.bytesPerElement=24,Dr("StructArrayLayout4i4ui4i24",Mt);var Y=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae){var Oe=this.length;return this.resize(Oe+1),this.emplace(Oe,J,he,Ae)},V.prototype.emplace=function(J,he,Ae,Oe){var Ge=3*J;return this.float32[Ge+0]=he,this.float32[Ge+1]=Ae,this.float32[Ge+2]=Oe,J},V}(Ji);Y.prototype.bytesPerElement=12,Dr("StructArrayLayout3f12",Y);var ee=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J){var he=this.length;return this.resize(he+1),this.emplace(he,J)},V.prototype.emplace=function(J,he){var Ae=1*J;return this.uint32[Ae+0]=he,J},V}(Ji);ee.prototype.bytesPerElement=4,Dr("StructArrayLayout1ul4",ee);var K=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt){var Gt=this.length;return this.resize(Gt+1),this.emplace(Gt,J,he,Ae,Oe,Ge,it,pt,Ct,Dt)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt){var Zt=10*J,$t=5*J;return this.int16[Zt+0]=he,this.int16[Zt+1]=Ae,this.int16[Zt+2]=Oe,this.int16[Zt+3]=Ge,this.int16[Zt+4]=it,this.int16[Zt+5]=pt,this.uint32[$t+3]=Ct,this.uint16[Zt+8]=Dt,this.uint16[Zt+9]=Gt,J},V}(Ji);K.prototype.bytesPerElement=20,Dr("StructArrayLayout6i1ul2ui20",K);var le=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it){var pt=this.length;return this.resize(pt+1),this.emplace(pt,J,he,Ae,Oe,Ge,it)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt){var Ct=6*J;return this.int16[Ct+0]=he,this.int16[Ct+1]=Ae,this.int16[Ct+2]=Oe,this.int16[Ct+3]=Ge,this.int16[Ct+4]=it,this.int16[Ct+5]=pt,J},V}(Ji);le.prototype.bytesPerElement=12,Dr("StructArrayLayout2i2i2i12",le);var Te=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge){var it=this.length;return this.resize(it+1),this.emplace(it,J,he,Ae,Oe,Ge)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it){var pt=4*J,Ct=8*J;return this.float32[pt+0]=he,this.float32[pt+1]=Ae,this.float32[pt+2]=Oe,this.int16[Ct+6]=Ge,this.int16[Ct+7]=it,J},V}(Ji);Te.prototype.bytesPerElement=16,Dr("StructArrayLayout2f1f2i16",Te);var De=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe){var Ge=this.length;return this.resize(Ge+1),this.emplace(Ge,J,he,Ae,Oe)},V.prototype.emplace=function(J,he,Ae,Oe,Ge){var it=12*J,pt=3*J;return this.uint8[it+0]=he,this.uint8[it+1]=Ae,this.float32[pt+1]=Oe,this.float32[pt+2]=Ge,J},V}(Ji);De.prototype.bytesPerElement=12,Dr("StructArrayLayout2ub2f12",De);var He=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae){var Oe=this.length;return this.resize(Oe+1),this.emplace(Oe,J,he,Ae)},V.prototype.emplace=function(J,he,Ae,Oe){var Ge=3*J;return this.uint16[Ge+0]=he,this.uint16[Ge+1]=Ae,this.uint16[Ge+2]=Oe,J},V}(Ji);He.prototype.bytesPerElement=6,Dr("StructArrayLayout3ui6",He);var Ze=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn,Mn,Nn,Bn,Wn){var Zn=this.length;return this.resize(Zn+1),this.emplace(Zn,J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn,Mn,Nn,Bn,Wn)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn,Mn,Nn,Bn,Wn,Zn){var er=24*J,sr=12*J,fr=48*J;return this.int16[er+0]=he,this.int16[er+1]=Ae,this.uint16[er+2]=Oe,this.uint16[er+3]=Ge,this.uint32[sr+2]=it,this.uint32[sr+3]=pt,this.uint32[sr+4]=Ct,this.uint16[er+10]=Dt,this.uint16[er+11]=Gt,this.uint16[er+12]=Zt,this.float32[sr+7]=$t,this.float32[sr+8]=fn,this.uint8[fr+36]=Mn,this.uint8[fr+37]=Nn,this.uint8[fr+38]=Bn,this.uint32[sr+10]=Wn,this.int16[er+22]=Zn,J},V}(Ji);Ze.prototype.bytesPerElement=48,Dr("StructArrayLayout2i2ui3ul3ui2f3ub1ul1i48",Ze);var at=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn,Mn,Nn,Bn,Wn,Zn,er,sr,fr,Pr,Tr,Nr,Xr,hi,Jr,ui){var ri=this.length;return this.resize(ri+1),this.emplace(ri,J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn,Mn,Nn,Bn,Wn,Zn,er,sr,fr,Pr,Tr,Nr,Xr,hi,Jr,ui)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn,Mn,Nn,Bn,Wn,Zn,er,sr,fr,Pr,Tr,Nr,Xr,hi,Jr,ui,ri){var Kr=34*J,Di=17*J;return this.int16[Kr+0]=he,this.int16[Kr+1]=Ae,this.int16[Kr+2]=Oe,this.int16[Kr+3]=Ge,this.int16[Kr+4]=it,this.int16[Kr+5]=pt,this.int16[Kr+6]=Ct,this.int16[Kr+7]=Dt,this.uint16[Kr+8]=Gt,this.uint16[Kr+9]=Zt,this.uint16[Kr+10]=$t,this.uint16[Kr+11]=fn,this.uint16[Kr+12]=Mn,this.uint16[Kr+13]=Nn,this.uint16[Kr+14]=Bn,this.uint16[Kr+15]=Wn,this.uint16[Kr+16]=Zn,this.uint16[Kr+17]=er,this.uint16[Kr+18]=sr,this.uint16[Kr+19]=fr,this.uint16[Kr+20]=Pr,this.uint16[Kr+21]=Tr,this.uint16[Kr+22]=Nr,this.uint32[Di+12]=Xr,this.float32[Di+13]=hi,this.float32[Di+14]=Jr,this.float32[Di+15]=ui,this.float32[Di+16]=ri,J},V}(Ji);at.prototype.bytesPerElement=68,Dr("StructArrayLayout8i15ui1ul4f68",at);var Tt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J){var he=this.length;return this.resize(he+1),this.emplace(he,J)},V.prototype.emplace=function(J,he){var Ae=1*J;return this.float32[Ae+0]=he,J},V}(Ji);Tt.prototype.bytesPerElement=4,Dr("StructArrayLayout1f4",Tt);var At=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae){var Oe=this.length;return this.resize(Oe+1),this.emplace(Oe,J,he,Ae)},V.prototype.emplace=function(J,he,Ae,Oe){var Ge=3*J;return this.int16[Ge+0]=he,this.int16[Ge+1]=Ae,this.int16[Ge+2]=Oe,J},V}(Ji);At.prototype.bytesPerElement=6,Dr("StructArrayLayout3i6",At);var se=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae){var Oe=this.length;return this.resize(Oe+1),this.emplace(Oe,J,he,Ae)},V.prototype.emplace=function(J,he,Ae,Oe){var Ge=2*J,it=4*J;return this.uint32[Ge+0]=he,this.uint16[it+2]=Ae,this.uint16[it+3]=Oe,J},V}(Ji);se.prototype.bytesPerElement=8,Dr("StructArrayLayout1ul2ui8",se);var ve=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he){var Ae=this.length;return this.resize(Ae+1),this.emplace(Ae,J,he)},V.prototype.emplace=function(J,he,Ae){var Oe=2*J;return this.uint16[Oe+0]=he,this.uint16[Oe+1]=Ae,J},V}(Ji);ve.prototype.bytesPerElement=4,Dr("StructArrayLayout2ui4",ve);var Ie=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J){var he=this.length;return this.resize(he+1),this.emplace(he,J)},V.prototype.emplace=function(J,he){var Ae=1*J;return this.uint16[Ae+0]=he,J},V}(Ji);Ie.prototype.bytesPerElement=2,Dr("StructArrayLayout1ui2",Ie);var Fe=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he){var Ae=this.length;return this.resize(Ae+1),this.emplace(Ae,J,he)},V.prototype.emplace=function(J,he,Ae){var Oe=2*J;return this.float32[Oe+0]=he,this.float32[Oe+1]=Ae,J},V}(Ji);Fe.prototype.bytesPerElement=8,Dr("StructArrayLayout2f8",Fe);var Ue=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe){var Ge=this.length;return this.resize(Ge+1),this.emplace(Ge,J,he,Ae,Oe)},V.prototype.emplace=function(J,he,Ae,Oe,Ge){var it=4*J;return this.float32[it+0]=he,this.float32[it+1]=Ae,this.float32[it+2]=Oe,this.float32[it+3]=Ge,J},V}(Ji);Ue.prototype.bytesPerElement=16,Dr("StructArrayLayout4f16",Ue);var We=function(P){function V(){P.apply(this,arguments)}P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V;var J={anchorPointX:{configurable:!0},anchorPointY:{configurable:!0},x1:{configurable:!0},y1:{configurable:!0},x2:{configurable:!0},y2:{configurable:!0},featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0},anchorPoint:{configurable:!0}};return J.anchorPointX.get=function(){return this._structArray.int16[this._pos2+0]},J.anchorPointY.get=function(){return this._structArray.int16[this._pos2+1]},J.x1.get=function(){return this._structArray.int16[this._pos2+2]},J.y1.get=function(){return this._structArray.int16[this._pos2+3]},J.x2.get=function(){return this._structArray.int16[this._pos2+4]},J.y2.get=function(){return this._structArray.int16[this._pos2+5]},J.featureIndex.get=function(){return this._structArray.uint32[this._pos4+3]},J.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+8]},J.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+9]},J.anchorPoint.get=function(){return new a(this.anchorPointX,this.anchorPointY)},Object.defineProperties(V.prototype,J),V}(hl);We.prototype.size=20;var Xe=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new We(this,J)},V}(K);Dr("CollisionBoxArray",Xe);var tt=function(P){function V(){P.apply(this,arguments)}P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V;var J={anchorX:{configurable:!0},anchorY:{configurable:!0},glyphStartIndex:{configurable:!0},numGlyphs:{configurable:!0},vertexStartIndex:{configurable:!0},lineStartIndex:{configurable:!0},lineLength:{configurable:!0},segment:{configurable:!0},lowerSize:{configurable:!0},upperSize:{configurable:!0},lineOffsetX:{configurable:!0},lineOffsetY:{configurable:!0},writingMode:{configurable:!0},placedOrientation:{configurable:!0},hidden:{configurable:!0},crossTileID:{configurable:!0},associatedIconIndex:{configurable:!0}};return J.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},J.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},J.glyphStartIndex.get=function(){return this._structArray.uint16[this._pos2+2]},J.numGlyphs.get=function(){return this._structArray.uint16[this._pos2+3]},J.vertexStartIndex.get=function(){return this._structArray.uint32[this._pos4+2]},J.lineStartIndex.get=function(){return this._structArray.uint32[this._pos4+3]},J.lineLength.get=function(){return this._structArray.uint32[this._pos4+4]},J.segment.get=function(){return this._structArray.uint16[this._pos2+10]},J.lowerSize.get=function(){return this._structArray.uint16[this._pos2+11]},J.upperSize.get=function(){return this._structArray.uint16[this._pos2+12]},J.lineOffsetX.get=function(){return this._structArray.float32[this._pos4+7]},J.lineOffsetY.get=function(){return this._structArray.float32[this._pos4+8]},J.writingMode.get=function(){return this._structArray.uint8[this._pos1+36]},J.placedOrientation.get=function(){return this._structArray.uint8[this._pos1+37]},J.placedOrientation.set=function(he){this._structArray.uint8[this._pos1+37]=he},J.hidden.get=function(){return this._structArray.uint8[this._pos1+38]},J.hidden.set=function(he){this._structArray.uint8[this._pos1+38]=he},J.crossTileID.get=function(){return this._structArray.uint32[this._pos4+10]},J.crossTileID.set=function(he){this._structArray.uint32[this._pos4+10]=he},J.associatedIconIndex.get=function(){return this._structArray.int16[this._pos2+22]},Object.defineProperties(V.prototype,J),V}(hl);tt.prototype.size=48;var lt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new tt(this,J)},V}(Ze);Dr("PlacedSymbolArray",lt);var mt=function(P){function V(){P.apply(this,arguments)}P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V;var J={anchorX:{configurable:!0},anchorY:{configurable:!0},rightJustifiedTextSymbolIndex:{configurable:!0},centerJustifiedTextSymbolIndex:{configurable:!0},leftJustifiedTextSymbolIndex:{configurable:!0},verticalPlacedTextSymbolIndex:{configurable:!0},placedIconSymbolIndex:{configurable:!0},verticalPlacedIconSymbolIndex:{configurable:!0},key:{configurable:!0},textBoxStartIndex:{configurable:!0},textBoxEndIndex:{configurable:!0},verticalTextBoxStartIndex:{configurable:!0},verticalTextBoxEndIndex:{configurable:!0},iconBoxStartIndex:{configurable:!0},iconBoxEndIndex:{configurable:!0},verticalIconBoxStartIndex:{configurable:!0},verticalIconBoxEndIndex:{configurable:!0},featureIndex:{configurable:!0},numHorizontalGlyphVertices:{configurable:!0},numVerticalGlyphVertices:{configurable:!0},numIconVertices:{configurable:!0},numVerticalIconVertices:{configurable:!0},useRuntimeCollisionCircles:{configurable:!0},crossTileID:{configurable:!0},textBoxScale:{configurable:!0},textOffset0:{configurable:!0},textOffset1:{configurable:!0},collisionCircleDiameter:{configurable:!0}};return J.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},J.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},J.rightJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+2]},J.centerJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+3]},J.leftJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+4]},J.verticalPlacedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+5]},J.placedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+6]},J.verticalPlacedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+7]},J.key.get=function(){return this._structArray.uint16[this._pos2+8]},J.textBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+9]},J.textBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+10]},J.verticalTextBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+11]},J.verticalTextBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+12]},J.iconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+13]},J.iconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+14]},J.verticalIconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+15]},J.verticalIconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+16]},J.featureIndex.get=function(){return this._structArray.uint16[this._pos2+17]},J.numHorizontalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+18]},J.numVerticalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+19]},J.numIconVertices.get=function(){return this._structArray.uint16[this._pos2+20]},J.numVerticalIconVertices.get=function(){return this._structArray.uint16[this._pos2+21]},J.useRuntimeCollisionCircles.get=function(){return this._structArray.uint16[this._pos2+22]},J.crossTileID.get=function(){return this._structArray.uint32[this._pos4+12]},J.crossTileID.set=function(he){this._structArray.uint32[this._pos4+12]=he},J.textBoxScale.get=function(){return this._structArray.float32[this._pos4+13]},J.textOffset0.get=function(){return this._structArray.float32[this._pos4+14]},J.textOffset1.get=function(){return this._structArray.float32[this._pos4+15]},J.collisionCircleDiameter.get=function(){return this._structArray.float32[this._pos4+16]},Object.defineProperties(V.prototype,J),V}(hl);mt.prototype.size=68;var zt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new mt(this,J)},V}(at);Dr("SymbolInstanceArray",zt);var Ut=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.getoffsetX=function(J){return this.float32[1*J+0]},V}(Tt);Dr("GlyphOffsetArray",Ut);var Ht=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.getx=function(J){return this.int16[3*J+0]},V.prototype.gety=function(J){return this.int16[3*J+1]},V.prototype.gettileUnitDistanceFromAnchor=function(J){return this.int16[3*J+2]},V}(At);Dr("SymbolLineVertexArray",Ht);var en=function(P){function V(){P.apply(this,arguments)}P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V;var J={featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0}};return J.featureIndex.get=function(){return this._structArray.uint32[this._pos4+0]},J.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+2]},J.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+3]},Object.defineProperties(V.prototype,J),V}(hl);en.prototype.size=8;var vn=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new en(this,J)},V}(se);Dr("FeatureIndexArray",vn);var tn=la([{name:"a_pos",components:2,type:"Int16"}],4).members,ln=function(P){P===void 0&&(P=[]),this.segments=P};function an(P,V){return 256*(P=c(Math.floor(P),0,255))+c(Math.floor(V),0,255)}ln.prototype.prepareSegment=function(P,V,J,he){var Ae=this.segments[this.segments.length-1];return P>ln.MAX_VERTEX_ARRAY_LENGTH&&R("Max vertices per segment is "+ln.MAX_VERTEX_ARRAY_LENGTH+": bucket requested "+P),(!Ae||Ae.vertexLength+P>ln.MAX_VERTEX_ARRAY_LENGTH||Ae.sortKey!==he)&&(Ae={vertexOffset:V.length,primitiveOffset:J.length,vertexLength:0,primitiveLength:0},he!==void 0&&(Ae.sortKey=he),this.segments.push(Ae)),Ae},ln.prototype.get=function(){return this.segments},ln.prototype.destroy=function(){for(var P=0,V=this.segments;P>>16)*it&65535)<<16)&4294967295)<<15|Ct>>>17))*pt+(((Ct>>>16)*pt&65535)<<16)&4294967295)<<13|Oe>>>19))+((5*(Oe>>>16)&65535)<<16)&4294967295))+((58964+(Ge>>>16)&65535)<<16);switch(Ct=0,he){case 3:Ct^=(255&V.charCodeAt(Dt+2))<<16;case 2:Ct^=(255&V.charCodeAt(Dt+1))<<8;case 1:Oe^=Ct=(65535&(Ct=(Ct=(65535&(Ct^=255&V.charCodeAt(Dt)))*it+(((Ct>>>16)*it&65535)<<16)&4294967295)<<15|Ct>>>17))*pt+(((Ct>>>16)*pt&65535)<<16)&4294967295}return Oe^=V.length,Oe=2246822507*(65535&(Oe^=Oe>>>16))+((2246822507*(Oe>>>16)&65535)<<16)&4294967295,Oe=3266489909*(65535&(Oe^=Oe>>>13))+((3266489909*(Oe>>>16)&65535)<<16)&4294967295,(Oe^=Oe>>>16)>>>0}}),on=M(function(P){P.exports=function(V,J){for(var he,Ae=V.length,Oe=J^Ae,Ge=0;Ae>=4;)he=1540483477*(65535&(he=255&V.charCodeAt(Ge)|(255&V.charCodeAt(++Ge))<<8|(255&V.charCodeAt(++Ge))<<16|(255&V.charCodeAt(++Ge))<<24))+((1540483477*(he>>>16)&65535)<<16),Oe=1540483477*(65535&Oe)+((1540483477*(Oe>>>16)&65535)<<16)^(he=1540483477*(65535&(he^=he>>>24))+((1540483477*(he>>>16)&65535)<<16)),Ae-=4,++Ge;switch(Ae){case 3:Oe^=(255&V.charCodeAt(Ge+2))<<16;case 2:Oe^=(255&V.charCodeAt(Ge+1))<<8;case 1:Oe=1540483477*(65535&(Oe^=255&V.charCodeAt(Ge)))+((1540483477*(Oe>>>16)&65535)<<16)}return Oe=1540483477*(65535&(Oe^=Oe>>>13))+((1540483477*(Oe>>>16)&65535)<<16),(Oe^=Oe>>>15)>>>0}}),Fn=_n,Hn=_n,ir=on;Fn.murmur3=Hn,Fn.murmur2=ir;var ar=function(){this.ids=[],this.positions=[],this.indexed=!1};ar.prototype.add=function(P,V,J,he){this.ids.push(Er(P)),this.positions.push(V,J,he)},ar.prototype.getPositions=function(P){for(var V=Er(P),J=0,he=this.ids.length-1;J>1;this.ids[Ae]>=V?he=Ae:J=Ae+1}for(var Oe=[];this.ids[J]===V;){var Ge=this.positions[3*J],it=this.positions[3*J+1],pt=this.positions[3*J+2];Oe.push({index:Ge,start:it,end:pt}),J++}return Oe},ar.serialize=function(P,V){var J=new Float64Array(P.ids),he=new Uint32Array(P.positions);return xr(J,he,0,J.length-1),V&&V.push(J.buffer,he.buffer),{ids:J,positions:he}},ar.deserialize=function(P){var V=new ar;return V.ids=P.ids,V.positions=P.positions,V.indexed=!0,V};var Mr=Math.pow(2,53)-1;function Er(P){var V=+P;return!isNaN(V)&&V<=Mr?V:Fn(String(P))}function xr(P,V,J,he){for(;J>1],Oe=J-1,Ge=he+1;;){do Oe++;while(P[Oe]Ae);if(Oe>=Ge)break;kr(P,Oe,Ge),kr(V,3*Oe,3*Ge),kr(V,3*Oe+1,3*Ge+1),kr(V,3*Oe+2,3*Ge+2)}Ge-J_o.max||Ge.y<_o.min||Ge.y>_o.max)&&(R("Geometry exceeds allowed extent, reduce your vector tile buffer size"),Ge.x=c(Ge.x,_o.min,_o.max),Ge.y=c(Ge.y,_o.min,_o.max))}return J}function Ps(P,V,J,he,Ae){P.emplaceBack(2*V+(he+1)/2,2*J+(Ae+1)/2)}var Ri=function(P){this.zoom=P.zoom,this.overscaling=P.overscaling,this.layers=P.layers,this.layerIds=this.layers.map(function(V){return V.id}),this.index=P.index,this.hasPattern=!1,this.layoutVertexArray=new et,this.indexArray=new He,this.segments=new ln,this.programConfigurations=new Ia(tn,P.layers,P.zoom),this.stateDependentLayerIds=this.layers.filter(function(V){return V.isStateDependent()}).map(function(V){return V.id})};function Xa(P,V){for(var J=0;J1){if(L0(P,V))return!0;for(var he=0;he1?P.distSqr(J):P.distSqr(J.sub(V)._mult(Ae)._add(V))}function od(P,V){for(var J,he,Ae,Oe=!1,Ge=0;GeV.y!=Ae.y>V.y&&V.x<(Ae.x-he.x)*(V.y-he.y)/(Ae.y-he.y)+he.x&&(Oe=!Oe);return Oe}function wf(P,V){for(var J=!1,he=0,Ae=P.length-1;heV.y!=Ge.y>V.y&&V.x<(Ge.x-Oe.x)*(V.y-Oe.y)/(Ge.y-Oe.y)+Oe.x&&(J=!J)}return J}function p1(P,V,J){var he=J[0],Ae=J[2];if(P.xAe.x&&V.x>Ae.x||P.yAe.y&&V.y>Ae.y)return!1;var Oe=I(P,V,J[0]);return Oe!==I(P,V,J[1])||Oe!==I(P,V,J[2])||Oe!==I(P,V,J[3])}function zh(P,V,J){var he=V.paint.get(P).value;return he.kind==="constant"?he.value:J.programConfigurations.get(V.id).getMaxValue(P)}function dg(P){return Math.sqrt(P[0]*P[0]+P[1]*P[1])}function pg(P,V,J,he,Ae){if(!V[0]&&!V[1])return P;var Oe=a.convert(V)._mult(Ae);J==="viewport"&&Oe._rotate(-he);for(var Ge=[],it=0;it=li||Dt<0||Dt>=li)){var Gt=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray,P.sortKey),Zt=Gt.vertexLength;Ps(this.layoutVertexArray,Ct,Dt,-1,-1),Ps(this.layoutVertexArray,Ct,Dt,1,-1),Ps(this.layoutVertexArray,Ct,Dt,1,1),Ps(this.layoutVertexArray,Ct,Dt,-1,1),this.indexArray.emplaceBack(Zt,Zt+1,Zt+2),this.indexArray.emplaceBack(Zt,Zt+3,Zt+2),Gt.vertexLength+=4,Gt.primitiveLength+=2}}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,P,J,{},he)},Dr("CircleBucket",Ri,{omit:["layers"]});var TS=new xo({"circle-sort-key":new ni(Re.layout_circle["circle-sort-key"])}),kS={paint:new xo({"circle-radius":new ni(Re.paint_circle["circle-radius"]),"circle-color":new ni(Re.paint_circle["circle-color"]),"circle-blur":new ni(Re.paint_circle["circle-blur"]),"circle-opacity":new ni(Re.paint_circle["circle-opacity"]),"circle-translate":new Hr(Re.paint_circle["circle-translate"]),"circle-translate-anchor":new Hr(Re.paint_circle["circle-translate-anchor"]),"circle-pitch-scale":new Hr(Re.paint_circle["circle-pitch-scale"]),"circle-pitch-alignment":new Hr(Re.paint_circle["circle-pitch-alignment"]),"circle-stroke-width":new ni(Re.paint_circle["circle-stroke-width"]),"circle-stroke-color":new ni(Re.paint_circle["circle-stroke-color"]),"circle-stroke-opacity":new ni(Re.paint_circle["circle-stroke-opacity"])}),layout:TS},zl=typeof Float32Array<"u"?Float32Array:Array;function m1(P){return P[0]=1,P[1]=0,P[2]=0,P[3]=0,P[4]=0,P[5]=1,P[6]=0,P[7]=0,P[8]=0,P[9]=0,P[10]=1,P[11]=0,P[12]=0,P[13]=0,P[14]=0,P[15]=1,P}function L_(P,V,J){var he=V[0],Ae=V[1],Oe=V[2],Ge=V[3],it=V[4],pt=V[5],Ct=V[6],Dt=V[7],Gt=V[8],Zt=V[9],$t=V[10],fn=V[11],Mn=V[12],Nn=V[13],Bn=V[14],Wn=V[15],Zn=J[0],er=J[1],sr=J[2],fr=J[3];return P[0]=Zn*he+er*it+sr*Gt+fr*Mn,P[1]=Zn*Ae+er*pt+sr*Zt+fr*Nn,P[2]=Zn*Oe+er*Ct+sr*$t+fr*Bn,P[3]=Zn*Ge+er*Dt+sr*fn+fr*Wn,Zn=J[4],er=J[5],sr=J[6],fr=J[7],P[4]=Zn*he+er*it+sr*Gt+fr*Mn,P[5]=Zn*Ae+er*pt+sr*Zt+fr*Nn,P[6]=Zn*Oe+er*Ct+sr*$t+fr*Bn,P[7]=Zn*Ge+er*Dt+sr*fn+fr*Wn,Zn=J[8],er=J[9],sr=J[10],fr=J[11],P[8]=Zn*he+er*it+sr*Gt+fr*Mn,P[9]=Zn*Ae+er*pt+sr*Zt+fr*Nn,P[10]=Zn*Oe+er*Ct+sr*$t+fr*Bn,P[11]=Zn*Ge+er*Dt+sr*fn+fr*Wn,Zn=J[12],er=J[13],sr=J[14],fr=J[15],P[12]=Zn*he+er*it+sr*Gt+fr*Mn,P[13]=Zn*Ae+er*pt+sr*Zt+fr*Nn,P[14]=Zn*Oe+er*Ct+sr*$t+fr*Bn,P[15]=Zn*Ge+er*Dt+sr*fn+fr*Wn,P}Math.hypot||(Math.hypot=function(){for(var P=arguments,V=0,J=arguments.length;J--;)V+=P[J]*P[J];return Math.sqrt(V)});var MS=L_,mg,AS=function(P,V,J){return P[0]=V[0]-J[0],P[1]=V[1]-J[1],P[2]=V[2]-J[2],P};function gg(P,V,J){var he=V[0],Ae=V[1],Oe=V[2],Ge=V[3];return P[0]=J[0]*he+J[4]*Ae+J[8]*Oe+J[12]*Ge,P[1]=J[1]*he+J[5]*Ae+J[9]*Oe+J[13]*Ge,P[2]=J[2]*he+J[6]*Ae+J[10]*Oe+J[14]*Ge,P[3]=J[3]*he+J[7]*Ae+J[11]*Oe+J[15]*Ge,P}mg=new zl(3),zl!=Float32Array&&(mg[0]=0,mg[1]=0,mg[2]=0),function(){var P=new zl(4);zl!=Float32Array&&(P[0]=0,P[1]=0,P[2]=0,P[3]=0)}();var SS=function(P){var V=P[0],J=P[1];return V*V+J*J},CS=(function(){var P=new zl(2);zl!=Float32Array&&(P[0]=0,P[1]=0)}(),function(P){function V(J){P.call(this,J,kS)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.createBucket=function(J){return new Ri(J)},V.prototype.queryRadius=function(J){var he=J;return zh("circle-radius",this,he)+zh("circle-stroke-width",this,he)+dg(this.paint.get("circle-translate"))},V.prototype.queryIntersectsFeature=function(J,he,Ae,Oe,Ge,it,pt,Ct){for(var Dt=pg(J,this.paint.get("circle-translate"),this.paint.get("circle-translate-anchor"),it.angle,pt),Gt=this.paint.get("circle-radius").evaluate(he,Ae)+this.paint.get("circle-stroke-width").evaluate(he,Ae),Zt=this.paint.get("circle-pitch-alignment")==="map",$t=Zt?Dt:function(Pr,Tr){return Pr.map(function(Nr){return I_(Nr,Tr)})}(Dt,Ct),fn=Zt?Gt*pt:Gt,Mn=0,Nn=Oe;MnP.width||Ae.height>P.height||J.x>P.width-Ae.width||J.y>P.height-Ae.height)throw new RangeError("out of range source coordinates for image copy");if(Ae.width>V.width||Ae.height>V.height||he.x>V.width-Ae.width||he.y>V.height-Ae.height)throw new RangeError("out of range destination coordinates for image copy");for(var Ge=P.data,it=V.data,pt=0;pt80*J){he=Oe=P[0],Ae=Ge=P[1];for(var fn=J;fnOe&&(Oe=it),pt>Ge&&(Ge=pt);Ct=(Ct=Math.max(Oe-he,Ge-Ae))!==0?1/Ct:0}return I0(Zt,$t,J,he,Ae,Ct),$t}function z_(P,V,J,he,Ae){var Oe,Ge;if(Ae===_1(P,V,J,he)>0)for(Oe=V;Oe=V;Oe-=he)Ge=N_(Oe,P[Oe],P[Oe+1],Ge);return Ge&&yg(Ge,Ge.next)&&(P0(Ge),Ge=Ge.next),Ge}function Tf(P,V){if(!P)return P;V||(V=P);var J,he=P;do if(J=!1,he.steiner||!yg(he,he.next)&&wo(he.prev,he,he.next)!==0)he=he.next;else{if(P0(he),(he=V=he.prev)===he.next)break;J=!0}while(J||he!==V);return V}function I0(P,V,J,he,Ae,Oe,Ge){if(P){!Ge&&Oe&&function(Dt,Gt,Zt,$t){var fn=Dt;do fn.z===null&&(fn.z=b1(fn.x,fn.y,Gt,Zt,$t)),fn.prevZ=fn.prev,fn.nextZ=fn.next,fn=fn.next;while(fn!==Dt);fn.prevZ.nextZ=null,fn.prevZ=null,function(Mn){var Nn,Bn,Wn,Zn,er,sr,fr,Pr,Tr=1;do{for(Bn=Mn,Mn=null,er=null,sr=0;Bn;){for(sr++,Wn=Bn,fr=0,Nn=0;Nn0||Pr>0&&Wn;)fr!==0&&(Pr===0||!Wn||Bn.z<=Wn.z)?(Zn=Bn,Bn=Bn.nextZ,fr--):(Zn=Wn,Wn=Wn.nextZ,Pr--),er?er.nextZ=Zn:Mn=Zn,Zn.prevZ=er,er=Zn;Bn=Wn}er.nextZ=null,Tr*=2}while(sr>1)}(fn)}(P,he,Ae,Oe);for(var it,pt,Ct=P;P.prev!==P.next;)if(it=P.prev,pt=P.next,Oe?DS(P,he,Ae,Oe):OS(P))V.push(it.i/J),V.push(P.i/J),V.push(pt.i/J),P0(P),P=pt.next,Ct=pt.next;else if((P=pt)===Ct){Ge?Ge===1?I0(P=zS(Tf(P),V,J),V,J,he,Ae,Oe,2):Ge===2&&FS(P,V,J,he,Ae,Oe):I0(Tf(P),V,J,he,Ae,Oe,1);break}}}function OS(P){var V=P.prev,J=P,he=P.next;if(wo(V,J,he)>=0)return!1;for(var Ae=P.next.next;Ae!==P.prev;){if(ap(V.x,V.y,J.x,J.y,he.x,he.y,Ae.x,Ae.y)&&wo(Ae.prev,Ae,Ae.next)>=0)return!1;Ae=Ae.next}return!0}function DS(P,V,J,he){var Ae=P.prev,Oe=P,Ge=P.next;if(wo(Ae,Oe,Ge)>=0)return!1;for(var it=Ae.xOe.x?Ae.x>Ge.x?Ae.x:Ge.x:Oe.x>Ge.x?Oe.x:Ge.x,Dt=Ae.y>Oe.y?Ae.y>Ge.y?Ae.y:Ge.y:Oe.y>Ge.y?Oe.y:Ge.y,Gt=b1(it,pt,V,J,he),Zt=b1(Ct,Dt,V,J,he),$t=P.prevZ,fn=P.nextZ;$t&&$t.z>=Gt&&fn&&fn.z<=Zt;){if($t!==P.prev&&$t!==P.next&&ap(Ae.x,Ae.y,Oe.x,Oe.y,Ge.x,Ge.y,$t.x,$t.y)&&wo($t.prev,$t,$t.next)>=0||($t=$t.prevZ,fn!==P.prev&&fn!==P.next&&ap(Ae.x,Ae.y,Oe.x,Oe.y,Ge.x,Ge.y,fn.x,fn.y)&&wo(fn.prev,fn,fn.next)>=0))return!1;fn=fn.nextZ}for(;$t&&$t.z>=Gt;){if($t!==P.prev&&$t!==P.next&&ap(Ae.x,Ae.y,Oe.x,Oe.y,Ge.x,Ge.y,$t.x,$t.y)&&wo($t.prev,$t,$t.next)>=0)return!1;$t=$t.prevZ}for(;fn&&fn.z<=Zt;){if(fn!==P.prev&&fn!==P.next&&ap(Ae.x,Ae.y,Oe.x,Oe.y,Ge.x,Ge.y,fn.x,fn.y)&&wo(fn.prev,fn,fn.next)>=0)return!1;fn=fn.nextZ}return!0}function zS(P,V,J){var he=P;do{var Ae=he.prev,Oe=he.next.next;!yg(Ae,Oe)&&F_(Ae,he,he.next,Oe)&&R0(Ae,Oe)&&R0(Oe,Ae)&&(V.push(Ae.i/J),V.push(he.i/J),V.push(Oe.i/J),P0(he),P0(he.next),he=P=Oe),he=he.next}while(he!==P);return Tf(he)}function FS(P,V,J,he,Ae,Oe){var Ge=P;do{for(var it=Ge.next.next;it!==Ge.prev;){if(Ge.i!==it.i&&US(Ge,it)){var pt=B_(Ge,it);return Ge=Tf(Ge,Ge.next),pt=Tf(pt,pt.next),I0(Ge,V,J,he,Ae,Oe),void I0(pt,V,J,he,Ae,Oe)}it=it.next}Ge=Ge.next}while(Ge!==P)}function BS(P,V){return P.x-V.x}function NS(P,V){if(V=function(he,Ae){var Oe,Ge=Ae,it=he.x,pt=he.y,Ct=-1/0;do{if(pt<=Ge.y&&pt>=Ge.next.y&&Ge.next.y!==Ge.y){var Dt=Ge.x+(pt-Ge.y)*(Ge.next.x-Ge.x)/(Ge.next.y-Ge.y);if(Dt<=it&&Dt>Ct){if(Ct=Dt,Dt===it){if(pt===Ge.y)return Ge;if(pt===Ge.next.y)return Ge.next}Oe=Ge.x=Ge.x&&Ge.x>=$t&&it!==Ge.x&&ap(ptOe.x||Ge.x===Oe.x&&VS(Oe,Ge)))&&(Oe=Ge,Mn=Gt)),Ge=Ge.next;while(Ge!==Zt);return Oe}(P,V)){var J=B_(V,P);Tf(V,V.next),Tf(J,J.next)}}function VS(P,V){return wo(P.prev,P,V.prev)<0&&wo(V.next,P,P.next)<0}function b1(P,V,J,he,Ae){return(P=1431655765&((P=858993459&((P=252645135&((P=16711935&((P=32767*(P-J)*Ae)|P<<8))|P<<4))|P<<2))|P<<1))|(V=1431655765&((V=858993459&((V=252645135&((V=16711935&((V=32767*(V-he)*Ae)|V<<8))|V<<4))|V<<2))|V<<1))<<1}function jS(P){var V=P,J=P;do(V.x=0&&(P-Ge)*(he-it)-(J-Ge)*(V-it)>=0&&(J-Ge)*(Oe-it)-(Ae-Ge)*(he-it)>=0}function US(P,V){return P.next.i!==V.i&&P.prev.i!==V.i&&!function(J,he){var Ae=J;do{if(Ae.i!==J.i&&Ae.next.i!==J.i&&Ae.i!==he.i&&Ae.next.i!==he.i&&F_(Ae,Ae.next,J,he))return!0;Ae=Ae.next}while(Ae!==J);return!1}(P,V)&&(R0(P,V)&&R0(V,P)&&function(J,he){var Ae=J,Oe=!1,Ge=(J.x+he.x)/2,it=(J.y+he.y)/2;do Ae.y>it!=Ae.next.y>it&&Ae.next.y!==Ae.y&&Ge<(Ae.next.x-Ae.x)*(it-Ae.y)/(Ae.next.y-Ae.y)+Ae.x&&(Oe=!Oe),Ae=Ae.next;while(Ae!==J);return Oe}(P,V)&&(wo(P.prev,P,V.prev)||wo(P,V.prev,V))||yg(P,V)&&wo(P.prev,P,P.next)>0&&wo(V.prev,V,V.next)>0)}function wo(P,V,J){return(V.y-P.y)*(J.x-V.x)-(V.x-P.x)*(J.y-V.y)}function yg(P,V){return P.x===V.x&&P.y===V.y}function F_(P,V,J,he){var Ae=xg(wo(P,V,J)),Oe=xg(wo(P,V,he)),Ge=xg(wo(J,he,P)),it=xg(wo(J,he,V));return Ae!==Oe&&Ge!==it||!(Ae!==0||!bg(P,J,V))||!(Oe!==0||!bg(P,he,V))||!(Ge!==0||!bg(J,P,he))||!(it!==0||!bg(J,V,he))}function bg(P,V,J){return V.x<=Math.max(P.x,J.x)&&V.x>=Math.min(P.x,J.x)&&V.y<=Math.max(P.y,J.y)&&V.y>=Math.min(P.y,J.y)}function xg(P){return P>0?1:P<0?-1:0}function R0(P,V){return wo(P.prev,P,P.next)<0?wo(P,V,P.next)>=0&&wo(P,P.prev,V)>=0:wo(P,V,P.prev)<0||wo(P,P.next,V)<0}function B_(P,V){var J=new x1(P.i,P.x,P.y),he=new x1(V.i,V.x,V.y),Ae=P.next,Oe=V.prev;return P.next=V,V.prev=P,J.next=Ae,Ae.prev=J,he.next=J,J.prev=he,Oe.next=he,he.prev=Oe,he}function N_(P,V,J,he){var Ae=new x1(P,V,J);return he?(Ae.next=he.next,Ae.prev=he,he.next.prev=Ae,he.next=Ae):(Ae.prev=Ae,Ae.next=Ae),Ae}function P0(P){P.next.prev=P.prev,P.prev.next=P.next,P.prevZ&&(P.prevZ.nextZ=P.nextZ),P.nextZ&&(P.nextZ.prevZ=P.prevZ)}function x1(P,V,J){this.i=P,this.x=V,this.y=J,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function _1(P,V,J,he){for(var Ae=0,Oe=V,Ge=J-he;OeJ;){if(he-J>600){var Oe=he-J+1,Ge=V-J+1,it=Math.log(Oe),pt=.5*Math.exp(2*it/3),Ct=.5*Math.sqrt(it*pt*(Oe-pt)/Oe)*(Ge-Oe/2<0?-1:1);V_(P,V,Math.max(J,Math.floor(V-Ge*pt/Oe+Ct)),Math.min(he,Math.floor(V+(Oe-Ge)*pt/Oe+Ct)),Ae)}var Dt=P[V],Gt=J,Zt=he;for(O0(P,J,V),Ae(P[he],Dt)>0&&O0(P,J,he);Gt0;)Zt--}Ae(P[J],Dt)===0?O0(P,J,Zt):O0(P,++Zt,he),Zt<=V&&(J=Zt+1),V<=Zt&&(he=Zt-1)}}function O0(P,V,J){var he=P[V];P[V]=P[J],P[J]=he}function GS(P,V){return PV?1:0}function w1(P,V){var J=P.length;if(J<=1)return[P];for(var he,Ae,Oe=[],Ge=0;Ge1)for(var pt=0;pt0&&(he+=P[Ae-1].length,J.holes.push(he))}return J},y1.default=PS;var kc=function(P){this.zoom=P.zoom,this.overscaling=P.overscaling,this.layers=P.layers,this.layerIds=this.layers.map(function(V){return V.id}),this.index=P.index,this.hasPattern=!1,this.patternFeatures=[],this.layoutVertexArray=new et,this.indexArray=new He,this.indexArray2=new ve,this.programConfigurations=new Ia(D_,P.layers,P.zoom),this.segments=new ln,this.segments2=new ln,this.stateDependentLayerIds=this.layers.filter(function(V){return V.isStateDependent()}).map(function(V){return V.id})};kc.prototype.populate=function(P,V,J){this.hasPattern=T1("fill",this.layers,V);for(var he=this.layers[0].layout.get("fill-sort-key"),Ae=[],Oe=0,Ge=P;Oe>3}if(Ae--,he===1||he===2)Oe+=P.readSVarint(),Ge+=P.readSVarint(),he===1&&(V&&it.push(V),V=[]),V.push(new a(Oe,Ge));else{if(he!==7)throw new Error("unknown command "+he);V&&V.push(V[0].clone())}}return V&&it.push(V),it},op.prototype.bbox=function(){var P=this._pbf;P.pos=this._geometry;for(var V=P.readVarint()+P.pos,J=1,he=0,Ae=0,Oe=0,Ge=1/0,it=-1/0,pt=1/0,Ct=-1/0;P.pos>3}if(he--,J===1||J===2)(Ae+=P.readSVarint())it&&(it=Ae),(Oe+=P.readSVarint())Ct&&(Ct=Oe);else if(J!==7)throw new Error("unknown command "+J)}return[Ge,pt,it,Ct]},op.prototype.toGeoJSON=function(P,V,J){var he,Ae,Oe=this.extent*Math.pow(2,J),Ge=this.extent*P,it=this.extent*V,pt=this.loadGeometry(),Ct=op.types[this.type];function Dt($t){for(var fn=0;fn<$t.length;fn++){var Mn=$t[fn],Nn=180-360*(Mn.y+it)/Oe;$t[fn]=[360*(Mn.x+Ge)/Oe-180,360/Math.PI*Math.atan(Math.exp(Nn*Math.PI/180))-90]}}switch(this.type){case 1:var Gt=[];for(he=0;he>3;Ae=Ge===1?he.readString():Ge===2?he.readFloat():Ge===3?he.readDouble():Ge===4?he.readVarint64():Ge===5?he.readVarint():Ge===6?he.readSVarint():Ge===7?he.readBoolean():null}return Ae}(J))}function JS(P,V,J){if(P===3){var he=new H_(J,J.readVarint()+J.pos);he.length&&(V[he.name]=he)}}G_.prototype.feature=function(P){if(P<0||P>=this._features.length)throw new Error("feature index out of bounds");this._pbf.pos=this._features[P];var V=this._pbf.readVarint()+this._pbf.pos;return new U_(this._pbf,V,this.extent,this._keys,this._values)};var sp={VectorTile:function(P,V){this.layers=P.readFields(JS,{},V)},VectorTileFeature:U_,VectorTileLayer:H_},QS=sp.VectorTileFeature.types,M1=Math.pow(2,13);function D0(P,V,J,he,Ae,Oe,Ge,it){P.emplaceBack(V,J,2*Math.floor(he*M1)+Ge,Ae*M1*2,Oe*M1*2,Math.round(it))}var Mc=function(P){this.zoom=P.zoom,this.overscaling=P.overscaling,this.layers=P.layers,this.layerIds=this.layers.map(function(V){return V.id}),this.index=P.index,this.hasPattern=!1,this.layoutVertexArray=new ct,this.indexArray=new He,this.programConfigurations=new Ia(j_,P.layers,P.zoom),this.segments=new ln,this.stateDependentLayerIds=this.layers.filter(function(V){return V.isStateDependent()}).map(function(V){return V.id})};function eC(P,V){return P.x===V.x&&(P.x<0||P.x>li)||P.y===V.y&&(P.y<0||P.y>li)}Mc.prototype.populate=function(P,V,J){this.features=[],this.hasPattern=T1("fill-extrusion",this.layers,V);for(var he=0,Ae=P;heli})||Di.every(function(pi){return pi.y<0})||Di.every(function(pi){return pi.y>li})))for(var Mn=0,Nn=0;Nn=1){var Wn=fn[Nn-1];if(!eC(Bn,Wn)){Gt.vertexLength+4>ln.MAX_VERTEX_ARRAY_LENGTH&&(Gt=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray));var Zn=Bn.sub(Wn)._perp()._unit(),er=Wn.dist(Bn);Mn+er>32768&&(Mn=0),D0(this.layoutVertexArray,Bn.x,Bn.y,Zn.x,Zn.y,0,0,Mn),D0(this.layoutVertexArray,Bn.x,Bn.y,Zn.x,Zn.y,0,1,Mn),Mn+=er,D0(this.layoutVertexArray,Wn.x,Wn.y,Zn.x,Zn.y,0,0,Mn),D0(this.layoutVertexArray,Wn.x,Wn.y,Zn.x,Zn.y,0,1,Mn);var sr=Gt.vertexLength;this.indexArray.emplaceBack(sr,sr+2,sr+1),this.indexArray.emplaceBack(sr+1,sr+2,sr+3),Gt.vertexLength+=4,Gt.primitiveLength+=2}}}}if(Gt.vertexLength+pt>ln.MAX_VERTEX_ARRAY_LENGTH&&(Gt=this.segments.prepareSegment(pt,this.layoutVertexArray,this.indexArray)),QS[P.type]==="Polygon"){for(var fr=[],Pr=[],Tr=Gt.vertexLength,Nr=0,Xr=it;Nr=2&&P[pt-1].equals(P[pt-2]);)pt--;for(var Ct=0;Ct0;if(Pr&&Bn>Ct){var Nr=Dt.dist($t);if(Nr>2*Gt){var Xr=Dt.sub(Dt.sub($t)._mult(Gt/Nr)._round());this.updateDistance($t,Xr),this.addCurrentVertex(Xr,Mn,0,0,Zt),$t=Xr}}var hi=$t&&fn,Jr=hi?J:it?"butt":he;if(hi&&Jr==="round"&&(srAe&&(Jr="bevel"),Jr==="bevel"&&(sr>2&&(Jr="flipbevel"),sr100)Wn=Nn.mult(-1);else{var ui=sr*Mn.add(Nn).mag()/Mn.sub(Nn).mag();Wn._perp()._mult(ui*(Tr?-1:1))}this.addCurrentVertex(Dt,Wn,0,0,Zt),this.addCurrentVertex(Dt,Wn.mult(-1),0,0,Zt)}else if(Jr==="bevel"||Jr==="fakeround"){var ri=-Math.sqrt(sr*sr-1),Kr=Tr?ri:0,Di=Tr?0:ri;if($t&&this.addCurrentVertex(Dt,Mn,Kr,Di,Zt),Jr==="fakeround")for(var pi=Math.round(180*fr/Math.PI/20),va=1;va2*Gt){var ya=Dt.add(fn.sub(Dt)._mult(Gt/Pa)._round());this.updateDistance(Dt,ya),this.addCurrentVertex(ya,Nn,0,0,Zt),Dt=ya}}}}},Ys.prototype.addCurrentVertex=function(P,V,J,he,Ae,Oe){Oe===void 0&&(Oe=!1);var Ge=V.x+V.y*J,it=V.y-V.x*J,pt=-V.x+V.y*he,Ct=-V.y-V.x*he;this.addHalfVertex(P,Ge,it,Oe,!1,J,Ae),this.addHalfVertex(P,pt,Ct,Oe,!0,-he,Ae),this.distance>Y_/2&&this.totalDistance===0&&(this.distance=0,this.addCurrentVertex(P,V,J,he,Ae,Oe))},Ys.prototype.addHalfVertex=function(P,V,J,he,Ae,Oe,Ge){var it=P.x,pt=P.y,Ct=.5*this.scaledDistance;this.layoutVertexArray.emplaceBack((it<<1)+(he?1:0),(pt<<1)+(Ae?1:0),Math.round(63*V)+128,Math.round(63*J)+128,1+(Oe===0?0:Oe<0?-1:1)|(63&Ct)<<2,Ct>>6);var Dt=Ge.vertexLength++;this.e1>=0&&this.e2>=0&&(this.indexArray.emplaceBack(this.e1,this.e2,Dt),Ge.primitiveLength++),Ae?this.e2=Dt:this.e1=Dt},Ys.prototype.updateScaledDistance=function(){this.scaledDistance=this.totalDistance>0?(this.clipStart+(this.clipEnd-this.clipStart)*this.distance/this.totalDistance)*(Y_-1):this.distance},Ys.prototype.updateDistance=function(P,V){this.distance+=P.dist(V),this.updateScaledDistance()},Dr("LineBucket",Ys,{omit:["layers","patternFeatures"]});var aC=new xo({"line-cap":new Hr(Re.layout_line["line-cap"]),"line-join":new ni(Re.layout_line["line-join"]),"line-miter-limit":new Hr(Re.layout_line["line-miter-limit"]),"line-round-limit":new Hr(Re.layout_line["line-round-limit"]),"line-sort-key":new ni(Re.layout_line["line-sort-key"])}),$_={paint:new xo({"line-opacity":new ni(Re.paint_line["line-opacity"]),"line-color":new ni(Re.paint_line["line-color"]),"line-translate":new Hr(Re.paint_line["line-translate"]),"line-translate-anchor":new Hr(Re.paint_line["line-translate-anchor"]),"line-width":new ni(Re.paint_line["line-width"]),"line-gap-width":new ni(Re.paint_line["line-gap-width"]),"line-offset":new ni(Re.paint_line["line-offset"]),"line-blur":new ni(Re.paint_line["line-blur"]),"line-dasharray":new cl(Re.paint_line["line-dasharray"]),"line-pattern":new Vu(Re.paint_line["line-pattern"]),"line-gradient":new Rs(Re.paint_line["line-gradient"])}),layout:aC},oC=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.possiblyEvaluate=function(J,he){return he=new Wi(Math.floor(he.zoom),{now:he.now,fadeDuration:he.fadeDuration,zoomHistory:he.zoomHistory,transition:he.transition}),P.prototype.possiblyEvaluate.call(this,J,he)},V.prototype.evaluate=function(J,he,Ae,Oe){return he=m({},he,{zoom:Math.floor(he.zoom)}),P.prototype.evaluate.call(this,J,he,Ae,Oe)},V}(ni),Z_=new oC($_.paint.properties["line-width"].specification);Z_.useIntegerZoom=!0;var sC=function(P){function V(J){P.call(this,J,$_)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._handleSpecialPaintPropertyUpdate=function(J){J==="line-gradient"&&this._updateGradient()},V.prototype._updateGradient=function(){var J=this._transitionablePaint._values["line-gradient"].value.expression;this.gradient=O_(J,"lineProgress"),this.gradientTexture=null},V.prototype.recalculate=function(J,he){P.prototype.recalculate.call(this,J,he),this.paint._values["line-floorwidth"]=Z_.possiblyEvaluate(this._transitioningPaint._values["line-width"].value,J)},V.prototype.createBucket=function(J){return new Ys(J)},V.prototype.queryRadius=function(J){var he=J,Ae=X_(zh("line-width",this,he),zh("line-gap-width",this,he)),Oe=zh("line-offset",this,he);return Ae/2+Math.abs(Oe)+dg(this.paint.get("line-translate"))},V.prototype.queryIntersectsFeature=function(J,he,Ae,Oe,Ge,it,pt){var Ct=pg(J,this.paint.get("line-translate"),this.paint.get("line-translate-anchor"),it.angle,pt),Dt=pt/2*X_(this.paint.get("line-width").evaluate(he,Ae),this.paint.get("line-gap-width").evaluate(he,Ae)),Gt=this.paint.get("line-offset").evaluate(he,Ae);return Gt&&(Oe=function(Zt,$t){for(var fn=[],Mn=new a(0,0),Nn=0;Nn=3){for(var Bn=0;Bn0?V+2*P:P}var A1=la([{name:"a_pos_offset",components:4,type:"Int16"},{name:"a_data",components:4,type:"Uint16"},{name:"a_pixeloffset",components:4,type:"Int16"}],4),lC=la([{name:"a_projected_pos",components:3,type:"Float32"}],4),uC=(la([{name:"a_fade_opacity",components:1,type:"Uint32"}],4),la([{name:"a_placed",components:2,type:"Uint8"},{name:"a_shift",components:2,type:"Float32"}])),K_=(la([{type:"Int16",name:"anchorPointX"},{type:"Int16",name:"anchorPointY"},{type:"Int16",name:"x1"},{type:"Int16",name:"y1"},{type:"Int16",name:"x2"},{type:"Int16",name:"y2"},{type:"Uint32",name:"featureIndex"},{type:"Uint16",name:"sourceLayerIndex"},{type:"Uint16",name:"bucketIndex"}]),la([{name:"a_pos",components:2,type:"Int16"},{name:"a_anchor_pos",components:2,type:"Int16"},{name:"a_extrude",components:2,type:"Int16"}],4)),cC=la([{name:"a_pos",components:2,type:"Float32"},{name:"a_radius",components:1,type:"Float32"},{name:"a_flags",components:2,type:"Int16"}],4);function hC(P,V,J){return P.sections.forEach(function(he){he.text=function(Ae,Oe,Ge){var it=Oe.layout.get("text-transform").evaluate(Ge,{});return it==="uppercase"?Ae=Ae.toLocaleUpperCase():it==="lowercase"&&(Ae=Ae.toLocaleLowerCase()),Bo.applyArabicShaping&&(Ae=Bo.applyArabicShaping(Ae)),Ae}(he.text,V,J)}),P}la([{name:"triangle",components:3,type:"Uint16"}]),la([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Uint16",name:"glyphStartIndex"},{type:"Uint16",name:"numGlyphs"},{type:"Uint32",name:"vertexStartIndex"},{type:"Uint32",name:"lineStartIndex"},{type:"Uint32",name:"lineLength"},{type:"Uint16",name:"segment"},{type:"Uint16",name:"lowerSize"},{type:"Uint16",name:"upperSize"},{type:"Float32",name:"lineOffsetX"},{type:"Float32",name:"lineOffsetY"},{type:"Uint8",name:"writingMode"},{type:"Uint8",name:"placedOrientation"},{type:"Uint8",name:"hidden"},{type:"Uint32",name:"crossTileID"},{type:"Int16",name:"associatedIconIndex"}]),la([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Int16",name:"rightJustifiedTextSymbolIndex"},{type:"Int16",name:"centerJustifiedTextSymbolIndex"},{type:"Int16",name:"leftJustifiedTextSymbolIndex"},{type:"Int16",name:"verticalPlacedTextSymbolIndex"},{type:"Int16",name:"placedIconSymbolIndex"},{type:"Int16",name:"verticalPlacedIconSymbolIndex"},{type:"Uint16",name:"key"},{type:"Uint16",name:"textBoxStartIndex"},{type:"Uint16",name:"textBoxEndIndex"},{type:"Uint16",name:"verticalTextBoxStartIndex"},{type:"Uint16",name:"verticalTextBoxEndIndex"},{type:"Uint16",name:"iconBoxStartIndex"},{type:"Uint16",name:"iconBoxEndIndex"},{type:"Uint16",name:"verticalIconBoxStartIndex"},{type:"Uint16",name:"verticalIconBoxEndIndex"},{type:"Uint16",name:"featureIndex"},{type:"Uint16",name:"numHorizontalGlyphVertices"},{type:"Uint16",name:"numVerticalGlyphVertices"},{type:"Uint16",name:"numIconVertices"},{type:"Uint16",name:"numVerticalIconVertices"},{type:"Uint16",name:"useRuntimeCollisionCircles"},{type:"Uint32",name:"crossTileID"},{type:"Float32",name:"textBoxScale"},{type:"Float32",components:2,name:"textOffset"},{type:"Float32",name:"collisionCircleDiameter"}]),la([{type:"Float32",name:"offsetX"}]),la([{type:"Int16",name:"x"},{type:"Int16",name:"y"},{type:"Int16",name:"tileUnitDistanceFromAnchor"}]);var F0={"!":"︕","#":"#",$:"$","%":"%","&":"&","(":"︵",")":"︶","*":"*","+":"+",",":"︐","-":"︲",".":"・","/":"/",":":"︓",";":"︔","<":"︿","=":"=",">":"﹀","?":"︖","@":"@","[":"﹇","\\":"\","]":"﹈","^":"^",_:"︳","`":"`","{":"︷","|":"―","}":"︸","~":"~","¢":"¢","£":"£","¥":"¥","¦":"¦","¬":"¬","¯":" ̄","–":"︲","—":"︱","‘":"﹃","’":"﹄","“":"﹁","”":"﹂","…":"︙","‧":"・","₩":"₩","、":"︑","。":"︒","〈":"︿","〉":"﹀","《":"︽","》":"︾","「":"﹁","」":"﹂","『":"﹃","』":"﹄","【":"︻","】":"︼","〔":"︹","〕":"︺","〖":"︗","〗":"︘","!":"︕","(":"︵",")":"︶",",":"︐","-":"︲",".":"・",":":"︓",";":"︔","<":"︿",">":"﹀","?":"︖","[":"﹇","]":"﹈","_":"︳","{":"︷","|":"―","}":"︸","⦅":"︵","⦆":"︶","。":"︒","「":"﹁","」":"﹂"},ss=24,J_=function(P,V,J,he,Ae){var Oe,Ge,it=8*Ae-he-1,pt=(1<>1,Dt=-7,Gt=J?Ae-1:0,Zt=J?-1:1,$t=P[V+Gt];for(Gt+=Zt,Oe=$t&(1<<-Dt)-1,$t>>=-Dt,Dt+=it;Dt>0;Oe=256*Oe+P[V+Gt],Gt+=Zt,Dt-=8);for(Ge=Oe&(1<<-Dt)-1,Oe>>=-Dt,Dt+=he;Dt>0;Ge=256*Ge+P[V+Gt],Gt+=Zt,Dt-=8);if(Oe===0)Oe=1-Ct;else{if(Oe===pt)return Ge?NaN:1/0*($t?-1:1);Ge+=Math.pow(2,he),Oe-=Ct}return($t?-1:1)*Ge*Math.pow(2,Oe-he)},Q_=function(P,V,J,he,Ae,Oe){var Ge,it,pt,Ct=8*Oe-Ae-1,Dt=(1<>1,Zt=Ae===23?Math.pow(2,-24)-Math.pow(2,-77):0,$t=he?0:Oe-1,fn=he?1:-1,Mn=V<0||V===0&&1/V<0?1:0;for(V=Math.abs(V),isNaN(V)||V===1/0?(it=isNaN(V)?1:0,Ge=Dt):(Ge=Math.floor(Math.log(V)/Math.LN2),V*(pt=Math.pow(2,-Ge))<1&&(Ge--,pt*=2),(V+=Ge+Gt>=1?Zt/pt:Zt*Math.pow(2,1-Gt))*pt>=2&&(Ge++,pt/=2),Ge+Gt>=Dt?(it=0,Ge=Dt):Ge+Gt>=1?(it=(V*pt-1)*Math.pow(2,Ae),Ge+=Gt):(it=V*Math.pow(2,Gt-1)*Math.pow(2,Ae),Ge=0));Ae>=8;P[J+$t]=255&it,$t+=fn,it/=256,Ae-=8);for(Ge=Ge<0;P[J+$t]=255&Ge,$t+=fn,Ge/=256,Ct-=8);P[J+$t-fn]|=128*Mn},_g=ba;function ba(P){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(P)?P:new Uint8Array(P||0),this.pos=0,this.type=0,this.length=this.buf.length}ba.Varint=0,ba.Fixed64=1,ba.Bytes=2,ba.Fixed32=5;var S1=4294967296,ew=1/S1,tw=typeof TextDecoder>"u"?null:new TextDecoder("utf8");function Fh(P){return P.type===ba.Bytes?P.readVarint()+P.pos:P.pos+1}function lp(P,V,J){return J?4294967296*V+(P>>>0):4294967296*(V>>>0)+(P>>>0)}function nw(P,V,J){var he=V<=16383?1:V<=2097151?2:V<=268435455?3:Math.floor(Math.log(V)/(7*Math.LN2));J.realloc(he);for(var Ae=J.pos-1;Ae>=P;Ae--)J.buf[Ae+he]=J.buf[Ae]}function fC(P,V){for(var J=0;J>>8,P[J+2]=V>>>16,P[J+3]=V>>>24}function rw(P,V){return(P[V]|P[V+1]<<8|P[V+2]<<16)+(P[V+3]<<24)}ba.prototype={destroy:function(){this.buf=null},readFields:function(P,V,J){for(J=J||this.length;this.pos>3,Oe=this.pos;this.type=7&he,P(Ae,V,this),this.pos===Oe&&this.skip(he)}return V},readMessage:function(P,V){return this.readFields(P,V,this.readVarint()+this.pos)},readFixed32:function(){var P=wg(this.buf,this.pos);return this.pos+=4,P},readSFixed32:function(){var P=rw(this.buf,this.pos);return this.pos+=4,P},readFixed64:function(){var P=wg(this.buf,this.pos)+wg(this.buf,this.pos+4)*S1;return this.pos+=8,P},readSFixed64:function(){var P=wg(this.buf,this.pos)+rw(this.buf,this.pos+4)*S1;return this.pos+=8,P},readFloat:function(){var P=J_(this.buf,this.pos,!0,23,4);return this.pos+=4,P},readDouble:function(){var P=J_(this.buf,this.pos,!0,52,8);return this.pos+=8,P},readVarint:function(P){var V,J,he=this.buf;return V=127&(J=he[this.pos++]),J<128?V:(V|=(127&(J=he[this.pos++]))<<7,J<128?V:(V|=(127&(J=he[this.pos++]))<<14,J<128?V:(V|=(127&(J=he[this.pos++]))<<21,J<128?V:function(Ae,Oe,Ge){var it,pt,Ct=Ge.buf;if(it=(112&(pt=Ct[Ge.pos++]))>>4,pt<128||(it|=(127&(pt=Ct[Ge.pos++]))<<3,pt<128)||(it|=(127&(pt=Ct[Ge.pos++]))<<10,pt<128)||(it|=(127&(pt=Ct[Ge.pos++]))<<17,pt<128)||(it|=(127&(pt=Ct[Ge.pos++]))<<24,pt<128)||(it|=(1&(pt=Ct[Ge.pos++]))<<31,pt<128))return lp(Ae,it,Oe);throw new Error("Expected varint not more than 10 bytes")}(V|=(15&(J=he[this.pos]))<<28,P,this))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var P=this.readVarint();return P%2==1?(P+1)/-2:P/2},readBoolean:function(){return!!this.readVarint()},readString:function(){var P=this.readVarint()+this.pos,V=this.pos;return this.pos=P,P-V>=12&&tw?function(J,he,Ae){return tw.decode(J.subarray(he,Ae))}(this.buf,V,P):function(J,he,Ae){for(var Oe="",Ge=he;Ge239?4:Dt>223?3:Dt>191?2:1;if(Ge+Zt>Ae)break;Zt===1?Dt<128&&(Gt=Dt):Zt===2?(192&(it=J[Ge+1]))==128&&(Gt=(31&Dt)<<6|63&it)<=127&&(Gt=null):Zt===3?(it=J[Ge+1],pt=J[Ge+2],(192&it)==128&&(192&pt)==128&&((Gt=(15&Dt)<<12|(63&it)<<6|63&pt)<=2047||Gt>=55296&&Gt<=57343)&&(Gt=null)):Zt===4&&(it=J[Ge+1],pt=J[Ge+2],Ct=J[Ge+3],(192&it)==128&&(192&pt)==128&&(192&Ct)==128&&((Gt=(15&Dt)<<18|(63&it)<<12|(63&pt)<<6|63&Ct)<=65535||Gt>=1114112)&&(Gt=null)),Gt===null?(Gt=65533,Zt=1):Gt>65535&&(Gt-=65536,Oe+=String.fromCharCode(Gt>>>10&1023|55296),Gt=56320|1023&Gt),Oe+=String.fromCharCode(Gt),Ge+=Zt}return Oe}(this.buf,V,P)},readBytes:function(){var P=this.readVarint()+this.pos,V=this.buf.subarray(this.pos,P);return this.pos=P,V},readPackedVarint:function(P,V){if(this.type!==ba.Bytes)return P.push(this.readVarint(V));var J=Fh(this);for(P=P||[];this.pos127;);else if(V===ba.Bytes)this.pos=this.readVarint()+this.pos;else if(V===ba.Fixed32)this.pos+=4;else{if(V!==ba.Fixed64)throw new Error("Unimplemented type: "+V);this.pos+=8}},writeTag:function(P,V){this.writeVarint(P<<3|V)},realloc:function(P){for(var V=this.length||16;V268435455||P<0?function(V,J){var he,Ae;if(V>=0?(he=V%4294967296|0,Ae=V/4294967296|0):(Ae=~(-V/4294967296),4294967295^(he=~(-V%4294967296))?he=he+1|0:(he=0,Ae=Ae+1|0)),V>=18446744073709552e3||V<-18446744073709552e3)throw new Error("Given varint doesn't fit into 10 bytes");J.realloc(10),function(Oe,Ge,it){it.buf[it.pos++]=127&Oe|128,Oe>>>=7,it.buf[it.pos++]=127&Oe|128,Oe>>>=7,it.buf[it.pos++]=127&Oe|128,Oe>>>=7,it.buf[it.pos++]=127&Oe|128,Oe>>>=7,it.buf[it.pos]=127&Oe}(he,0,J),function(Oe,Ge){var it=(7&Oe)<<4;Ge.buf[Ge.pos++]|=it|((Oe>>>=3)?128:0),Oe&&(Ge.buf[Ge.pos++]=127&Oe|((Oe>>>=7)?128:0),Oe&&(Ge.buf[Ge.pos++]=127&Oe|((Oe>>>=7)?128:0),Oe&&(Ge.buf[Ge.pos++]=127&Oe|((Oe>>>=7)?128:0),Oe&&(Ge.buf[Ge.pos++]=127&Oe|((Oe>>>=7)?128:0),Oe&&(Ge.buf[Ge.pos++]=127&Oe)))))}(Ae,J)}(P,this):(this.realloc(4),this.buf[this.pos++]=127&P|(P>127?128:0),P<=127||(this.buf[this.pos++]=127&(P>>>=7)|(P>127?128:0),P<=127||(this.buf[this.pos++]=127&(P>>>=7)|(P>127?128:0),P<=127||(this.buf[this.pos++]=P>>>7&127))))},writeSVarint:function(P){this.writeVarint(P<0?2*-P-1:2*P)},writeBoolean:function(P){this.writeVarint(!!P)},writeString:function(P){P=String(P),this.realloc(4*P.length),this.pos++;var V=this.pos;this.pos=function(he,Ae,Oe){for(var Ge,it,pt=0;pt55295&&Ge<57344){if(!it){Ge>56319||pt+1===Ae.length?(he[Oe++]=239,he[Oe++]=191,he[Oe++]=189):it=Ge;continue}if(Ge<56320){he[Oe++]=239,he[Oe++]=191,he[Oe++]=189,it=Ge;continue}Ge=it-55296<<10|Ge-56320|65536,it=null}else it&&(he[Oe++]=239,he[Oe++]=191,he[Oe++]=189,it=null);Ge<128?he[Oe++]=Ge:(Ge<2048?he[Oe++]=Ge>>6|192:(Ge<65536?he[Oe++]=Ge>>12|224:(he[Oe++]=Ge>>18|240,he[Oe++]=Ge>>12&63|128),he[Oe++]=Ge>>6&63|128),he[Oe++]=63&Ge|128)}return Oe}(this.buf,P,this.pos);var J=this.pos-V;J>=128&&nw(V,J,this),this.pos=V-1,this.writeVarint(J),this.pos+=J},writeFloat:function(P){this.realloc(4),Q_(this.buf,P,this.pos,!0,23,4),this.pos+=4},writeDouble:function(P){this.realloc(8),Q_(this.buf,P,this.pos,!0,52,8),this.pos+=8},writeBytes:function(P){var V=P.length;this.writeVarint(V),this.realloc(V);for(var J=0;J=128&&nw(J,he,this),this.pos=J-1,this.writeVarint(he),this.pos+=he},writeMessage:function(P,V,J){this.writeTag(P,ba.Bytes),this.writeRawMessage(V,J)},writePackedVarint:function(P,V){V.length&&this.writeMessage(P,fC,V)},writePackedSVarint:function(P,V){V.length&&this.writeMessage(P,dC,V)},writePackedBoolean:function(P,V){V.length&&this.writeMessage(P,gC,V)},writePackedFloat:function(P,V){V.length&&this.writeMessage(P,pC,V)},writePackedDouble:function(P,V){V.length&&this.writeMessage(P,mC,V)},writePackedFixed32:function(P,V){V.length&&this.writeMessage(P,vC,V)},writePackedSFixed32:function(P,V){V.length&&this.writeMessage(P,yC,V)},writePackedFixed64:function(P,V){V.length&&this.writeMessage(P,bC,V)},writePackedSFixed64:function(P,V){V.length&&this.writeMessage(P,xC,V)},writeBytesField:function(P,V){this.writeTag(P,ba.Bytes),this.writeBytes(V)},writeFixed32Field:function(P,V){this.writeTag(P,ba.Fixed32),this.writeFixed32(V)},writeSFixed32Field:function(P,V){this.writeTag(P,ba.Fixed32),this.writeSFixed32(V)},writeFixed64Field:function(P,V){this.writeTag(P,ba.Fixed64),this.writeFixed64(V)},writeSFixed64Field:function(P,V){this.writeTag(P,ba.Fixed64),this.writeSFixed64(V)},writeVarintField:function(P,V){this.writeTag(P,ba.Varint),this.writeVarint(V)},writeSVarintField:function(P,V){this.writeTag(P,ba.Varint),this.writeSVarint(V)},writeStringField:function(P,V){this.writeTag(P,ba.Bytes),this.writeString(V)},writeFloatField:function(P,V){this.writeTag(P,ba.Fixed32),this.writeFloat(V)},writeDoubleField:function(P,V){this.writeTag(P,ba.Fixed64),this.writeDouble(V)},writeBooleanField:function(P,V){this.writeVarintField(P,!!V)}};function _C(P,V,J){P===1&&J.readMessage(wC,V)}function wC(P,V,J){if(P===3){var he=J.readMessage(TC,{}),Ae=he.id,Oe=he.bitmap,Ge=he.width,it=he.height,pt=he.left,Ct=he.top,Dt=he.advance;V.push({id:Ae,bitmap:new sd({width:Ge+6,height:it+6},Oe),metrics:{width:Ge,height:it,left:pt,top:Ct,advance:Dt}})}}function TC(P,V,J){P===1?V.id=J.readVarint():P===2?V.bitmap=J.readBytes():P===3?V.width=J.readVarint():P===4?V.height=J.readVarint():P===5?V.left=J.readSVarint():P===6?V.top=J.readSVarint():P===7&&(V.advance=J.readVarint())}function iw(P){for(var V=0,J=0,he=0,Ae=P;he=0;Zt--){var $t=Ge[Zt];if(!(Gt.w>$t.w||Gt.h>$t.h)){if(Gt.x=$t.x,Gt.y=$t.y,pt=Math.max(pt,Gt.y+Gt.h),it=Math.max(it,Gt.x+Gt.w),Gt.w===$t.w&&Gt.h===$t.h){var fn=Ge.pop();Zt0&&hd>Ga&&(Ga=hd)}else{var Dg=pi[$i.fontStack],fd=Dg&&Dg[Ds];if(fd&&fd.rect)Ac=fd.rect,ks=fd.metrics;else{var zg=Di[$i.fontStack],U0=zg&&zg[Ds];if(!U0)continue;ks=U0.metrics}dl=(mi-$i.scale)*ss}Sc?(Kr.verticalizable=!0,ma.push({glyph:Ds,imageName:Vh,x:Ho,y:ls+dl,vertical:Sc,scale:$i.scale,fontStack:$i.fontStack,sectionIndex:Ja,metrics:ks,rect:Ac}),Ho+=qo*$i.scale+ya):(ma.push({glyph:Ds,imageName:Vh,x:Ho,y:ls+dl,vertical:Sc,scale:$i.scale,fontStack:$i.fontStack,sectionIndex:Ja,metrics:ks,rect:Ac}),Ho+=ks.advance*$i.scale+ya)}if(ma.length!==0){var B1=Ho-ya;Xo=Math.max(B1,Xo),MC(ma,0,ma.length-1,Ko,Ga)}Ho=0;var Fg=fa*mi+Ga;Ka.lineOffset=Math.max(Ga,Gi),ls+=Fg,Os=Math.max(Fg,Os),++Io}else ls+=fa,++Io}var yp=ls-kg,Bg=E1(xa),Ng=Bg.horizontalAlign,H0=Bg.verticalAlign;(function(N1,G0,dd,bp,Vg,jg,xp,Ug,Hg){var q0=(G0-dd)*Vg,W0=0;W0=jg!==xp?-Ug*bp-kg:(-bp*Hg+.5)*xp;for(var pd=0,Y0=N1;pd=0&&he>=P&&Ag[this.text.charCodeAt(he)];he--)J--;this.text=this.text.substring(P,J),this.sectionIndex=this.sectionIndex.slice(P,J)},Ts.prototype.substring=function(P,V){var J=new Ts;return J.text=this.text.substring(P,V),J.sectionIndex=this.sectionIndex.slice(P,V),J.sections=this.sections,J},Ts.prototype.toString=function(){return this.text},Ts.prototype.getMaxScale=function(){var P=this;return this.sectionIndex.reduce(function(V,J){return Math.max(V,P.sections[J].scale)},0)},Ts.prototype.addTextSection=function(P,V){this.text+=P.text,this.sections.push(cp.forText(P.scale,P.fontStack||V));for(var J=this.sections.length-1,he=0;he=63743?null:++this.imageSectionID:(this.imageSectionID=57344,this.imageSectionID)};var Ag={9:!0,10:!0,11:!0,12:!0,13:!0,32:!0},fl={};function aw(P,V,J,he,Ae,Oe){if(V.imageName){var Ge=he[V.imageName];return Ge?Ge.displaySize[0]*V.scale*ss/Oe+Ae:0}var it=J[V.fontStack],pt=it&&it[P];return pt?pt.metrics.advance*V.scale+Ae:0}function ow(P,V,J,he){var Ae=Math.pow(P-V,2);return he?P=0,Dt=0,Gt=0;Gt-J/2;){if(--Ge<0)return!1;it-=P[Ge].dist(Oe),Oe=P[Ge]}it+=P[Ge].dist(P[Ge+1]),Ge++;for(var pt=[],Ct=0;ithe;)Ct-=pt.shift().angleDelta;if(Ct>Ae)return!1;Ge++,it+=Gt.dist(Zt)}return!0}function dw(P){for(var V=0,J=0;JCt){var fn=(Ct-pt)/$t,Mn=zr(Gt.x,Zt.x,fn),Nn=zr(Gt.y,Zt.y,fn),Bn=new hp(Mn,Nn,Zt.angleTo(Gt),Dt);return Bn._round(),!Ge||fw(P,Bn,it,Ge,V)?Bn:void 0}pt+=$t}}function CC(P,V,J,he,Ae,Oe,Ge,it,pt){var Ct=pw(he,Oe,Ge),Dt=mw(he,Ae),Gt=Dt*Ge,Zt=P[0].x===0||P[0].x===pt||P[0].y===0||P[0].y===pt;return V-Gt=0&&er=0&&sr=0&&Zt+Ct<=Dt){var fr=new hp(er,sr,Wn,fn);fr._round(),he&&!fw(P,fr,Oe,he,Ae)||$t.push(fr)}}Gt+=Bn}return it||$t.length||Ge||($t=gw(P,Gt/2,J,he,Ae,Oe,Ge,!0,pt)),$t}function vw(P,V,J,he,Ae){for(var Oe=[],Ge=0;Ge=he&&Gt.x>=he||(Dt.x>=he?Dt=new a(he,Dt.y+(Gt.y-Dt.y)*((he-Dt.x)/(Gt.x-Dt.x)))._round():Gt.x>=he&&(Gt=new a(he,Dt.y+(Gt.y-Dt.y)*((he-Dt.x)/(Gt.x-Dt.x)))._round()),Dt.y>=Ae&&Gt.y>=Ae||(Dt.y>=Ae?Dt=new a(Dt.x+(Gt.x-Dt.x)*((Ae-Dt.y)/(Gt.y-Dt.y)),Ae)._round():Gt.y>=Ae&&(Gt=new a(Dt.x+(Gt.x-Dt.x)*((Ae-Dt.y)/(Gt.y-Dt.y)),Ae)._round()),pt&&Dt.equals(pt[pt.length-1])||(pt=[Dt],Oe.push(pt)),pt.push(Gt)))))}return Oe}function yw(P,V,J,he){var Ae=[],Oe=P.image,Ge=Oe.pixelRatio,it=Oe.paddedRect.w-2,pt=Oe.paddedRect.h-2,Ct=P.right-P.left,Dt=P.bottom-P.top,Gt=Oe.stretchX||[[0,it]],Zt=Oe.stretchY||[[0,pt]],$t=function(fa,xa){return fa+xa[1]-xa[0]},fn=Gt.reduce($t,0),Mn=Zt.reduce($t,0),Nn=it-fn,Bn=pt-Mn,Wn=0,Zn=fn,er=0,sr=Mn,fr=0,Pr=Nn,Tr=0,Nr=Bn;if(Oe.content&&he){var Xr=Oe.content;Wn=Sg(Gt,0,Xr[0]),er=Sg(Zt,0,Xr[1]),Zn=Sg(Gt,Xr[0],Xr[2]),sr=Sg(Zt,Xr[1],Xr[3]),fr=Xr[0]-Wn,Tr=Xr[1]-er,Pr=Xr[2]-Xr[0]-Zn,Nr=Xr[3]-Xr[1]-sr}var hi=function(fa,xa,Sa,Pa){var ya=Cg(fa.stretch-Wn,Zn,Ct,P.left),Mo=Eg(fa.fixed-fr,Pr,fa.stretch,fn),Va=Cg(xa.stretch-er,sr,Dt,P.top),Ho=Eg(xa.fixed-Tr,Nr,xa.stretch,Mn),ls=Cg(Sa.stretch-Wn,Zn,Ct,P.left),Xo=Eg(Sa.fixed-fr,Pr,Sa.stretch,fn),Os=Cg(Pa.stretch-er,sr,Dt,P.top),Ko=Eg(Pa.fixed-Tr,Nr,Pa.stretch,Mn),Io=new a(ya,Va),Jo=new a(ls,Va),Go=new a(ls,Os),Ro=new a(ya,Os),mi=new a(Mo/Ge,Ho/Ge),Gi=new a(Xo/Ge,Ko/Ge),Ka=V*Math.PI/180;if(Ka){var ma=Math.sin(Ka),Ga=Math.cos(Ka),Oa=[Ga,-ma,ma,Ga];Io._matMult(Oa),Jo._matMult(Oa),Ro._matMult(Oa),Go._matMult(Oa)}var $i=fa.stretch+fa.fixed,Ja=Sa.stretch+Sa.fixed,Ds=xa.stretch+xa.fixed,dl=Pa.stretch+Pa.fixed;return{tl:Io,tr:Jo,bl:Ro,br:Go,tex:{x:Oe.paddedRect.x+1+$i,y:Oe.paddedRect.y+1+Ds,w:Ja-$i,h:dl-Ds},writingMode:void 0,glyphOffset:[0,0],sectionIndex:0,pixelOffsetTL:mi,pixelOffsetBR:Gi,minFontScaleX:Pr/Ge/Ct,minFontScaleY:Nr/Ge/Dt,isSDF:J}};if(he&&(Oe.stretchX||Oe.stretchY))for(var Jr=bw(Gt,Nn,fn),ui=bw(Zt,Bn,Mn),ri=0;ri0&&($t=Math.max(10,$t),this.circleDiameter=$t)}else{var fn=Oe.top*Ge-it,Mn=Oe.bottom*Ge+it,Nn=Oe.left*Ge-it,Bn=Oe.right*Ge+it,Wn=Oe.collisionPadding;if(Wn&&(Nn-=Wn[0]*Ge,fn-=Wn[1]*Ge,Bn+=Wn[2]*Ge,Mn+=Wn[3]*Ge),Ct){var Zn=new a(Nn,fn),er=new a(Bn,fn),sr=new a(Nn,Mn),fr=new a(Bn,Mn),Pr=Ct*Math.PI/180;Zn._rotate(Pr),er._rotate(Pr),sr._rotate(Pr),fr._rotate(Pr),Nn=Math.min(Zn.x,er.x,sr.x,fr.x),Bn=Math.max(Zn.x,er.x,sr.x,fr.x),fn=Math.min(Zn.y,er.y,sr.y,fr.y),Mn=Math.max(Zn.y,er.y,sr.y,fr.y)}P.emplaceBack(V.x,V.y,Nn,fn,Bn,Mn,J,he,Ae)}this.boxEndIndex=P.length},fp=function(P,V){if(P===void 0&&(P=[]),V===void 0&&(V=EC),this.data=P,this.length=this.data.length,this.compare=V,this.length>0)for(var J=(this.length>>1)-1;J>=0;J--)this._down(J)};function EC(P,V){return PV?1:0}function LC(P,V,J){V===void 0&&(V=1),J===void 0&&(J=!1);for(var he=1/0,Ae=1/0,Oe=-1/0,Ge=-1/0,it=P[0],pt=0;ptOe)&&(Oe=Ct.x),(!pt||Ct.y>Ge)&&(Ge=Ct.y)}var Dt=Oe-he,Gt=Ge-Ae,Zt=Math.min(Dt,Gt),$t=Zt/2,fn=new fp([],IC);if(Zt===0)return new a(he,Ae);for(var Mn=he;MnBn.d||!Bn.d)&&(Bn=Zn,J&&console.log("found best %d after %d probes",Math.round(1e4*Zn.d)/1e4,Wn)),Zn.max-Bn.d<=V||($t=Zn.h/2,fn.push(new dp(Zn.p.x-$t,Zn.p.y-$t,$t,P)),fn.push(new dp(Zn.p.x+$t,Zn.p.y-$t,$t,P)),fn.push(new dp(Zn.p.x-$t,Zn.p.y+$t,$t,P)),fn.push(new dp(Zn.p.x+$t,Zn.p.y+$t,$t,P)),Wn+=4)}return J&&(console.log("num probes: "+Wn),console.log("best distance: "+Bn.d)),Bn.p}function IC(P,V){return V.max-P.max}function dp(P,V,J,he){this.p=new a(P,V),this.h=J,this.d=function(Ae,Oe){for(var Ge=!1,it=1/0,pt=0;ptAe.y!=fn.y>Ae.y&&Ae.x<(fn.x-$t.x)*(Ae.y-$t.y)/(fn.y-$t.y)+$t.x&&(Ge=!Ge),it=Math.min(it,fg(Ae,$t,fn))}return(Ge?1:-1)*Math.sqrt(it)}(this.p,he),this.max=this.d+this.h*Math.SQRT2}fp.prototype.push=function(P){this.data.push(P),this.length++,this._up(this.length-1)},fp.prototype.pop=function(){if(this.length!==0){var P=this.data[0],V=this.data.pop();return this.length--,this.length>0&&(this.data[0]=V,this._down(0)),P}},fp.prototype.peek=function(){return this.data[0]},fp.prototype._up=function(P){for(var V=this.data,J=this.compare,he=V[P];P>0;){var Ae=P-1>>1,Oe=V[Ae];if(J(he,Oe)>=0)break;V[P]=Oe,P=Ae}V[P]=he},fp.prototype._down=function(P){for(var V=this.data,J=this.compare,he=this.length>>1,Ae=V[P];P=0)break;V[P]=Ge,P=Oe}V[P]=Ae};var I1=Number.POSITIVE_INFINITY;function xw(P,V){return V[1]!==I1?function(J,he,Ae){var Oe=0,Ge=0;switch(he=Math.abs(he),Ae=Math.abs(Ae),J){case"top-right":case"top-left":case"top":Ge=Ae-7;break;case"bottom-right":case"bottom-left":case"bottom":Ge=7-Ae}switch(J){case"top-right":case"bottom-right":case"right":Oe=-he;break;case"top-left":case"bottom-left":case"left":Oe=he}return[Oe,Ge]}(P,V[0],V[1]):function(J,he){var Ae=0,Oe=0;he<0&&(he=0);var Ge=he/Math.sqrt(2);switch(J){case"top-right":case"top-left":Oe=Ge-7;break;case"bottom-right":case"bottom-left":Oe=7-Ge;break;case"bottom":Oe=7-he;break;case"top":Oe=he-7}switch(J){case"top-right":case"bottom-right":Ae=-Ge;break;case"top-left":case"bottom-left":Ae=Ge;break;case"left":Ae=he;break;case"right":Ae=-he}return[Ae,Oe]}(P,V[0])}function R1(P){switch(P){case"right":case"top-right":case"bottom-right":return"right";case"left":case"top-left":case"bottom-left":return"left"}return"center"}var kf=32640;function _w(P,V,J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn){var Mn=function(er,sr,fr,Pr,Tr,Nr,Xr,hi){for(var Jr=Pr.layout.get("text-rotate").evaluate(Nr,{})*Math.PI/180,ui=[],ri=0,Kr=sr.positionedLines;rikf&&R(P.layerIds[0]+': Value for "text-size" is >= 255. Reduce your "text-size".'):Nn.kind==="composite"&&((Bn=[Jc*$t.compositeTextSizes[0].evaluate(Ge,{},fn),Jc*$t.compositeTextSizes[1].evaluate(Ge,{},fn)])[0]>kf||Bn[1]>kf)&&R(P.layerIds[0]+': Value for "text-size" is >= 255. Reduce your "text-size".'),P.addSymbols(P.text,Mn,Bn,it,Oe,Ge,Ct,V,pt.lineStartIndex,pt.lineLength,Zt,fn);for(var Wn=0,Zn=Dt;Wn=0;Ge--)if(he.dist(Oe[Ge])0)&&(Oe.value.kind!=="constant"||Oe.value.value.length>0),Ct=it.value.kind!=="constant"||!!it.value.value||Object.keys(it.parameters).length>0,Dt=Ae.get("symbol-sort-key");if(this.features=[],pt||Ct){for(var Gt=V.iconDependencies,Zt=V.glyphDependencies,$t=V.availableImages,fn=new Wi(this.zoom),Mn=0,Nn=P;Mn=0;for(var pi=0,va=Tr.sections;pi=0;it--)Oe[it]={x:V[it].x,y:V[it].y,tileUnitDistanceFromAnchor:Ae},it>0&&(Ae+=V[it-1].dist(V[it]));for(var pt=0;pt0},ha.prototype.hasIconData=function(){return this.icon.segments.get().length>0},ha.prototype.hasDebugData=function(){return this.textCollisionBox&&this.iconCollisionBox},ha.prototype.hasTextCollisionBoxData=function(){return this.hasDebugData()&&this.textCollisionBox.segments.get().length>0},ha.prototype.hasIconCollisionBoxData=function(){return this.hasDebugData()&&this.iconCollisionBox.segments.get().length>0},ha.prototype.addIndicesForPlacedSymbol=function(P,V){for(var J=P.placedSymbolArray.get(V),he=J.vertexStartIndex+4*J.numGlyphs,Ae=J.vertexStartIndex;Ae1||this.icon.segments.get().length>1)){this.symbolInstanceIndexes=this.getSortedSymbolIndexes(P),this.sortedAngle=P,this.text.indexArray.clear(),this.icon.indexArray.clear(),this.featureSortOrder=[];for(var J=0,he=this.symbolInstanceIndexes;J=0&&pt.indexOf(Ge)===it&&V.addIndicesForPlacedSymbol(V.text,Ge)}),Oe.verticalPlacedTextSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.text,Oe.verticalPlacedTextSymbolIndex),Oe.placedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,Oe.placedIconSymbolIndex),Oe.verticalPlacedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,Oe.verticalPlacedIconSymbolIndex)}this.text.indexBuffer&&this.text.indexBuffer.updateData(this.text.indexArray),this.icon.indexBuffer&&this.icon.indexBuffer.updateData(this.icon.indexArray)}},Dr("SymbolBucket",ha,{omit:["layers","collisionBoxArray","features","compareText"]}),ha.MAX_GLYPHS=65535,ha.addDynamicAttributes=P1;var zC=new xo({"symbol-placement":new Hr(Re.layout_symbol["symbol-placement"]),"symbol-spacing":new Hr(Re.layout_symbol["symbol-spacing"]),"symbol-avoid-edges":new Hr(Re.layout_symbol["symbol-avoid-edges"]),"symbol-sort-key":new ni(Re.layout_symbol["symbol-sort-key"]),"symbol-z-order":new Hr(Re.layout_symbol["symbol-z-order"]),"icon-allow-overlap":new Hr(Re.layout_symbol["icon-allow-overlap"]),"icon-ignore-placement":new Hr(Re.layout_symbol["icon-ignore-placement"]),"icon-optional":new Hr(Re.layout_symbol["icon-optional"]),"icon-rotation-alignment":new Hr(Re.layout_symbol["icon-rotation-alignment"]),"icon-size":new ni(Re.layout_symbol["icon-size"]),"icon-text-fit":new Hr(Re.layout_symbol["icon-text-fit"]),"icon-text-fit-padding":new Hr(Re.layout_symbol["icon-text-fit-padding"]),"icon-image":new ni(Re.layout_symbol["icon-image"]),"icon-rotate":new ni(Re.layout_symbol["icon-rotate"]),"icon-padding":new Hr(Re.layout_symbol["icon-padding"]),"icon-keep-upright":new Hr(Re.layout_symbol["icon-keep-upright"]),"icon-offset":new ni(Re.layout_symbol["icon-offset"]),"icon-anchor":new ni(Re.layout_symbol["icon-anchor"]),"icon-pitch-alignment":new Hr(Re.layout_symbol["icon-pitch-alignment"]),"text-pitch-alignment":new Hr(Re.layout_symbol["text-pitch-alignment"]),"text-rotation-alignment":new Hr(Re.layout_symbol["text-rotation-alignment"]),"text-field":new ni(Re.layout_symbol["text-field"]),"text-font":new ni(Re.layout_symbol["text-font"]),"text-size":new ni(Re.layout_symbol["text-size"]),"text-max-width":new ni(Re.layout_symbol["text-max-width"]),"text-line-height":new Hr(Re.layout_symbol["text-line-height"]),"text-letter-spacing":new ni(Re.layout_symbol["text-letter-spacing"]),"text-justify":new ni(Re.layout_symbol["text-justify"]),"text-radial-offset":new ni(Re.layout_symbol["text-radial-offset"]),"text-variable-anchor":new Hr(Re.layout_symbol["text-variable-anchor"]),"text-anchor":new ni(Re.layout_symbol["text-anchor"]),"text-max-angle":new Hr(Re.layout_symbol["text-max-angle"]),"text-writing-mode":new Hr(Re.layout_symbol["text-writing-mode"]),"text-rotate":new ni(Re.layout_symbol["text-rotate"]),"text-padding":new Hr(Re.layout_symbol["text-padding"]),"text-keep-upright":new Hr(Re.layout_symbol["text-keep-upright"]),"text-transform":new ni(Re.layout_symbol["text-transform"]),"text-offset":new ni(Re.layout_symbol["text-offset"]),"text-allow-overlap":new Hr(Re.layout_symbol["text-allow-overlap"]),"text-ignore-placement":new Hr(Re.layout_symbol["text-ignore-placement"]),"text-optional":new Hr(Re.layout_symbol["text-optional"])}),O1={paint:new xo({"icon-opacity":new ni(Re.paint_symbol["icon-opacity"]),"icon-color":new ni(Re.paint_symbol["icon-color"]),"icon-halo-color":new ni(Re.paint_symbol["icon-halo-color"]),"icon-halo-width":new ni(Re.paint_symbol["icon-halo-width"]),"icon-halo-blur":new ni(Re.paint_symbol["icon-halo-blur"]),"icon-translate":new Hr(Re.paint_symbol["icon-translate"]),"icon-translate-anchor":new Hr(Re.paint_symbol["icon-translate-anchor"]),"text-opacity":new ni(Re.paint_symbol["text-opacity"]),"text-color":new ni(Re.paint_symbol["text-color"],{runtimeType:Nt,getOverride:function(P){return P.textColor},hasOverride:function(P){return!!P.textColor}}),"text-halo-color":new ni(Re.paint_symbol["text-halo-color"]),"text-halo-width":new ni(Re.paint_symbol["text-halo-width"]),"text-halo-blur":new ni(Re.paint_symbol["text-halo-blur"]),"text-translate":new Hr(Re.paint_symbol["text-translate"]),"text-translate-anchor":new Hr(Re.paint_symbol["text-translate-anchor"])}),layout:zC},mp=function(P){this.type=P.property.overrides?P.property.overrides.runtimeType:yt,this.defaultValue=P};mp.prototype.evaluate=function(P){if(P.formattedSection){var V=this.defaultValue.property.overrides;if(V&&V.hasOverride(P.formattedSection))return V.getOverride(P.formattedSection)}return P.feature&&P.featureState?this.defaultValue.evaluate(P.feature,P.featureState):this.defaultValue.property.specification.default},mp.prototype.eachChild=function(P){this.defaultValue.isConstant()||P(this.defaultValue.value._styleExpression.expression)},mp.prototype.outputDefined=function(){return!1},mp.prototype.serialize=function(){return null},Dr("FormatSectionOverride",mp,{omit:["defaultValue"]});var FC=function(P){function V(J){P.call(this,J,O1)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.recalculate=function(J,he){if(P.prototype.recalculate.call(this,J,he),this.layout.get("icon-rotation-alignment")==="auto"&&(this.layout.get("symbol-placement")!=="point"?this.layout._values["icon-rotation-alignment"]="map":this.layout._values["icon-rotation-alignment"]="viewport"),this.layout.get("text-rotation-alignment")==="auto"&&(this.layout.get("symbol-placement")!=="point"?this.layout._values["text-rotation-alignment"]="map":this.layout._values["text-rotation-alignment"]="viewport"),this.layout.get("text-pitch-alignment")==="auto"&&(this.layout._values["text-pitch-alignment"]=this.layout.get("text-rotation-alignment")),this.layout.get("icon-pitch-alignment")==="auto"&&(this.layout._values["icon-pitch-alignment"]=this.layout.get("icon-rotation-alignment")),this.layout.get("symbol-placement")==="point"){var Ae=this.layout.get("text-writing-mode");if(Ae){for(var Oe=[],Ge=0,it=Ae;Ge",targetMapId:he,sourceMapId:Oe.mapId})}}},gp.prototype.receive=function(P){var V=P.data,J=V.id;if(J&&(!V.targetMapId||this.mapId===V.targetMapId))if(V.type===""){delete this.tasks[J];var he=this.cancelCallbacks[J];delete this.cancelCallbacks[J],he&&he()}else z()||V.mustQueue?(this.tasks[J]=V,this.taskQueue.push(J),this.invoker.trigger()):this.processTask(J,V)},gp.prototype.process=function(){if(this.taskQueue.length){var P=this.taskQueue.shift(),V=this.tasks[P];delete this.tasks[P],this.taskQueue.length&&this.invoker.trigger(),V&&this.processTask(P,V)}},gp.prototype.processTask=function(P,V){var J=this;if(V.type===""){var he=this.callbacks[P];delete this.callbacks[P],he&&(V.error?he(Fu(V.error)):he(null,Fu(V.data)))}else{var Ae=!1,Oe=N(this.globalScope)?void 0:[],Ge=V.hasCallback?function(Dt,Gt){Ae=!0,delete J.cancelCallbacks[P],J.target.postMessage({id:P,type:"",sourceMapId:J.mapId,error:Dt?zu(Dt):null,data:zu(Gt,Oe)},Oe)}:function(Dt){Ae=!0},it=null,pt=Fu(V.data);if(this.parent[V.type])it=this.parent[V.type](V.sourceMapId,pt,Ge);else if(this.parent.getWorkerSource){var Ct=V.type.split(".");it=this.parent.getWorkerSource(V.sourceMapId,Ct[0],pt.source)[Ct[1]](pt,Ge)}else Ge(new Error("Could not find function "+V.type));!Ae&&it&&it.cancel&&(this.cancelCallbacks[P]=it.cancel)}},gp.prototype.remove=function(){this.invoker.remove(),this.target.removeEventListener("message",this.receive,!1)};var To=function(P,V){P&&(V?this.setSouthWest(P).setNorthEast(V):P.length===4?this.setSouthWest([P[0],P[1]]).setNorthEast([P[2],P[3]]):this.setSouthWest(P[0]).setNorthEast(P[1]))};To.prototype.setNorthEast=function(P){return this._ne=P instanceof Ra?new Ra(P.lng,P.lat):Ra.convert(P),this},To.prototype.setSouthWest=function(P){return this._sw=P instanceof Ra?new Ra(P.lng,P.lat):Ra.convert(P),this},To.prototype.extend=function(P){var V,J,he=this._sw,Ae=this._ne;if(P instanceof Ra)V=P,J=P;else{if(!(P instanceof To)){if(Array.isArray(P)){if(P.length===4||P.every(Array.isArray)){var Oe=P;return this.extend(To.convert(Oe))}var Ge=P;return this.extend(Ra.convert(Ge))}return this}if(V=P._sw,J=P._ne,!V||!J)return this}return he||Ae?(he.lng=Math.min(V.lng,he.lng),he.lat=Math.min(V.lat,he.lat),Ae.lng=Math.max(J.lng,Ae.lng),Ae.lat=Math.max(J.lat,Ae.lat)):(this._sw=new Ra(V.lng,V.lat),this._ne=new Ra(J.lng,J.lat)),this},To.prototype.getCenter=function(){return new Ra((this._sw.lng+this._ne.lng)/2,(this._sw.lat+this._ne.lat)/2)},To.prototype.getSouthWest=function(){return this._sw},To.prototype.getNorthEast=function(){return this._ne},To.prototype.getNorthWest=function(){return new Ra(this.getWest(),this.getNorth())},To.prototype.getSouthEast=function(){return new Ra(this.getEast(),this.getSouth())},To.prototype.getWest=function(){return this._sw.lng},To.prototype.getSouth=function(){return this._sw.lat},To.prototype.getEast=function(){return this._ne.lng},To.prototype.getNorth=function(){return this._ne.lat},To.prototype.toArray=function(){return[this._sw.toArray(),this._ne.toArray()]},To.prototype.toString=function(){return"LngLatBounds("+this._sw.toString()+", "+this._ne.toString()+")"},To.prototype.isEmpty=function(){return!(this._sw&&this._ne)},To.prototype.contains=function(P){var V=Ra.convert(P),J=V.lng,he=V.lat,Ae=this._sw.lat<=he&&he<=this._ne.lat,Oe=this._sw.lng<=J&&J<=this._ne.lng;return this._sw.lng>this._ne.lng&&(Oe=this._sw.lng>=J&&J>=this._ne.lng),Ae&&Oe},To.convert=function(P){return!P||P instanceof To?P:new To(P)};var Cw=63710088e-1,Ra=function(P,V){if(isNaN(P)||isNaN(V))throw new Error("Invalid LngLat object: ("+P+", "+V+")");if(this.lng=+P,this.lat=+V,this.lat>90||this.lat<-90)throw new Error("Invalid LngLat latitude value: must be between -90 and 90")};Ra.prototype.wrap=function(){return new Ra(h(this.lng,-180,180),this.lat)},Ra.prototype.toArray=function(){return[this.lng,this.lat]},Ra.prototype.toString=function(){return"LngLat("+this.lng+", "+this.lat+")"},Ra.prototype.distanceTo=function(P){var V=Math.PI/180,J=this.lat*V,he=P.lat*V,Ae=Math.sin(J)*Math.sin(he)+Math.cos(J)*Math.cos(he)*Math.cos((P.lng-this.lng)*V);return Cw*Math.acos(Math.min(Ae,1))},Ra.prototype.toBounds=function(P){P===void 0&&(P=0);var V=360*P/40075017,J=V/Math.cos(Math.PI/180*this.lat);return new To(new Ra(this.lng-J,this.lat-V),new Ra(this.lng+J,this.lat+V))},Ra.convert=function(P){if(P instanceof Ra)return P;if(Array.isArray(P)&&(P.length===2||P.length===3))return new Ra(Number(P[0]),Number(P[1]));if(!Array.isArray(P)&&typeof P=="object"&&P!==null)return new Ra(Number("lng"in P?P.lng:P.lon),Number(P.lat));throw new Error("`LngLatLike` argument must be specified as a LngLat instance, an object {lng: , lat: }, an object {lon: , lat: }, or an array of [, ]")};var Ew=2*Math.PI*Cw;function Lw(P){return Ew*Math.cos(P*Math.PI/180)}function Iw(P){return(180+P)/360}function Rw(P){return(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+P*Math.PI/360)))/360}function Pw(P,V){return P/Lw(V)}function z1(P){var V=180-360*P;return 360/Math.PI*Math.atan(Math.exp(V*Math.PI/180))-90}var ud=function(P,V,J){J===void 0&&(J=0),this.x=+P,this.y=+V,this.z=+J};ud.fromLngLat=function(P,V){V===void 0&&(V=0);var J=Ra.convert(P);return new ud(Iw(J.lng),Rw(J.lat),Pw(V,J.lat))},ud.prototype.toLngLat=function(){return new Ra(360*this.x-180,z1(this.y))},ud.prototype.toAltitude=function(){return P=this.z,V=this.y,P*Lw(z1(V));var P,V},ud.prototype.meterInMercatorCoordinateUnits=function(){return 1/Ew*(P=z1(this.y),1/Math.cos(P*Math.PI/180));var P};var cd=function(P,V,J){this.z=P,this.x=V,this.y=J,this.key=j0(0,P,P,V,J)};cd.prototype.equals=function(P){return this.z===P.z&&this.x===P.x&&this.y===P.y},cd.prototype.url=function(P,V){var J,he,Ae,Oe,Ge,it=(J=this.x,he=this.y,Ae=this.z,Oe=Sw(256*J,256*(he=Math.pow(2,Ae)-he-1),Ae),Ge=Sw(256*(J+1),256*(he+1),Ae),Oe[0]+","+Oe[1]+","+Ge[0]+","+Ge[1]),pt=function(Ct,Dt,Gt){for(var Zt,$t="",fn=Ct;fn>0;fn--)$t+=(Dt&(Zt=1<this.canonical.z?new ko(P,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y):new ko(P,this.wrap,P,this.canonical.x>>V,this.canonical.y>>V)},ko.prototype.calculateScaledKey=function(P,V){var J=this.canonical.z-P;return P>this.canonical.z?j0(this.wrap*+V,P,this.canonical.z,this.canonical.x,this.canonical.y):j0(this.wrap*+V,P,P,this.canonical.x>>J,this.canonical.y>>J)},ko.prototype.isChildOf=function(P){if(P.wrap!==this.wrap)return!1;var V=this.canonical.z-P.canonical.z;return P.overscaledZ===0||P.overscaledZ>V&&P.canonical.y===this.canonical.y>>V},ko.prototype.children=function(P){if(this.overscaledZ>=P)return[new ko(this.overscaledZ+1,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)];var V=this.canonical.z+1,J=2*this.canonical.x,he=2*this.canonical.y;return[new ko(V,this.wrap,V,J,he),new ko(V,this.wrap,V,J+1,he),new ko(V,this.wrap,V,J,he+1),new ko(V,this.wrap,V,J+1,he+1)]},ko.prototype.isLessThan=function(P){return this.wrapP.wrap)&&(this.overscaledZP.overscaledZ)&&(this.canonical.xP.canonical.x)&&this.canonical.y=this.dim+1||V<-1||V>=this.dim+1)throw new RangeError("out of range source coordinates for DEM data");return(V+1)*this.stride+(P+1)},Bh.prototype._unpackMapbox=function(P,V,J){return(256*P*256+256*V+J)/10-1e4},Bh.prototype._unpackTerrarium=function(P,V,J){return 256*P+V+J/256-32768},Bh.prototype.getPixels=function(){return new Ws({width:this.stride,height:this.stride},new Uint8Array(this.data.buffer))},Bh.prototype.backfillBorder=function(P,V,J){if(this.dim!==P.dim)throw new Error("dem dimension mismatch");var he=V*this.dim,Ae=V*this.dim+this.dim,Oe=J*this.dim,Ge=J*this.dim+this.dim;switch(V){case-1:he=Ae-1;break;case 1:Ae=he+1}switch(J){case-1:Oe=Ge-1;break;case 1:Ge=Oe+1}for(var it=-V*this.dim,pt=-J*this.dim,Ct=Oe;Ct=0&&Dt[3]>=0&&it.insert(Ge,Dt[0],Dt[1],Dt[2],Dt[3])}},Nh.prototype.loadVTLayers=function(){return this.vtLayers||(this.vtLayers=new sp.VectorTile(new _g(this.rawTileData)).layers,this.sourceLayerCoder=new Pg(this.vtLayers?Object.keys(this.vtLayers).sort():["_geojsonTileLayer"])),this.vtLayers},Nh.prototype.query=function(P,V,J,he){var Ae=this;this.loadVTLayers();for(var Oe=P.params||{},Ge=li/P.tileSize/P.scale,it=_c(Oe.filter),pt=P.queryGeometry,Ct=P.queryPadding*Ge,Dt=zw(pt),Gt=this.grid.query(Dt.minX-Ct,Dt.minY-Ct,Dt.maxX+Ct,Dt.maxY+Ct),Zt=zw(P.cameraQueryGeometry),$t=0,fn=this.grid3D.query(Zt.minX-Ct,Zt.minY-Ct,Zt.maxX+Ct,Zt.maxY+Ct,function(er,sr,fr,Pr){return function(Tr,Nr,Xr,hi,Jr){for(var ui=0,ri=Tr;ui=Kr.x&&Jr>=Kr.y)return!0}var Di=[new a(Nr,Xr),new a(Nr,Jr),new a(hi,Jr),new a(hi,Xr)];if(Tr.length>2){for(var pi=0,va=Di;pi=0)return!0;return!1}(Oe,Gt)){var Zt=this.sourceLayerCoder.decode(J),$t=this.vtLayers[Zt].feature(he);if(Ae.filter(new Wi(this.tileID.overscaledZ),$t))for(var fn=this.getId($t,Zt),Mn=0;Mnhe)Ae=!1;else if(V)if(this.expirationTimege&&(P.getActor().send("enforceCacheSizeLimit",je),st=0)},i.clamp=c,i.clearTileCache=function(P){var V=self.caches.delete(ze);P&&V.catch(P).then(function(){return P()})},i.clipLine=vw,i.clone=function(P){var V=new zl(16);return V[0]=P[0],V[1]=P[1],V[2]=P[2],V[3]=P[3],V[4]=P[4],V[5]=P[5],V[6]=P[6],V[7]=P[7],V[8]=P[8],V[9]=P[9],V[10]=P[10],V[11]=P[11],V[12]=P[12],V[13]=P[13],V[14]=P[14],V[15]=P[15],V},i.clone$1=L,i.clone$2=function(P){var V=new zl(3);return V[0]=P[0],V[1]=P[1],V[2]=P[2],V},i.collisionCircleLayout=cC,i.config=Z,i.create=function(){var P=new zl(16);return zl!=Float32Array&&(P[1]=0,P[2]=0,P[3]=0,P[4]=0,P[6]=0,P[7]=0,P[8]=0,P[9]=0,P[11]=0,P[12]=0,P[13]=0,P[14]=0),P[0]=1,P[5]=1,P[10]=1,P[15]=1,P},i.create$1=function(){var P=new zl(9);return zl!=Float32Array&&(P[1]=0,P[2]=0,P[3]=0,P[5]=0,P[6]=0,P[7]=0),P[0]=1,P[4]=1,P[8]=1,P},i.create$2=function(){var P=new zl(4);return zl!=Float32Array&&(P[1]=0,P[2]=0),P[0]=1,P[3]=1,P},i.createCommonjsModule=M,i.createExpression=mc,i.createLayout=la,i.createStyleLayer=function(P){return P.type==="custom"?new UC(P):new HC[P.type](P)},i.cross=function(P,V,J){var he=V[0],Ae=V[1],Oe=V[2],Ge=J[0],it=J[1],pt=J[2];return P[0]=Ae*pt-Oe*it,P[1]=Oe*Ge-he*pt,P[2]=he*it-Ae*Ge,P},i.deepEqual=function P(V,J){if(Array.isArray(V)){if(!Array.isArray(J)||V.length!==J.length)return!1;for(var he=0;he0&&(Oe=1/Math.sqrt(Oe)),P[0]=V[0]*Oe,P[1]=V[1]*Oe,P[2]=V[2]*Oe,P},i.number=zr,i.offscreenCanvasSupported=ot,i.ortho=function(P,V,J,he,Ae,Oe,Ge){var it=1/(V-J),pt=1/(he-Ae),Ct=1/(Oe-Ge);return P[0]=-2*it,P[1]=0,P[2]=0,P[3]=0,P[4]=0,P[5]=-2*pt,P[6]=0,P[7]=0,P[8]=0,P[9]=0,P[10]=2*Ct,P[11]=0,P[12]=(V+J)*it,P[13]=(Ae+he)*pt,P[14]=(Ge+Oe)*Ct,P[15]=1,P},i.parseGlyphPBF=function(P){return new _g(P).readFields(_C,[])},i.pbf=_g,i.performSymbolLayout=function(P,V,J,he,Ae,Oe,Ge){P.createArrays();var it=512*P.overscaling;P.tilePixelRatio=li/it,P.compareText={},P.iconsNeedLinear=!1;var pt=P.layers[0].layout,Ct=P.layers[0]._unevaluatedLayout._values,Dt={};if(P.textSizeData.kind==="composite"){var Gt=P.textSizeData,Zt=Gt.minZoom,$t=Gt.maxZoom;Dt.compositeTextSizes=[Ct["text-size"].possiblyEvaluate(new Wi(Zt),Ge),Ct["text-size"].possiblyEvaluate(new Wi($t),Ge)]}if(P.iconSizeData.kind==="composite"){var fn=P.iconSizeData,Mn=fn.minZoom,Nn=fn.maxZoom;Dt.compositeIconSizes=[Ct["icon-size"].possiblyEvaluate(new Wi(Mn),Ge),Ct["icon-size"].possiblyEvaluate(new Wi(Nn),Ge)]}Dt.layoutTextSize=Ct["text-size"].possiblyEvaluate(new Wi(P.zoom+1),Ge),Dt.layoutIconSize=Ct["icon-size"].possiblyEvaluate(new Wi(P.zoom+1),Ge),Dt.textMaxSize=Ct["text-size"].possiblyEvaluate(new Wi(18));for(var Bn=pt.get("text-line-height")*ss,Wn=pt.get("text-rotation-alignment")==="map"&&pt.get("symbol-placement")!=="point",Zn=pt.get("text-keep-upright"),er=pt.get("text-size"),sr=function(){var Tr=Pr[fr],Nr=pt.get("text-font").evaluate(Tr,{},Ge).join(","),Xr=er.evaluate(Tr,{},Ge),hi=Dt.layoutTextSize.evaluate(Tr,{},Ge),Jr=Dt.layoutIconSize.evaluate(Tr,{},Ge),ui={horizontal:{},vertical:void 0},ri=Tr.text,Kr=[0,0];if(ri){var Di=ri.toString(),pi=pt.get("text-letter-spacing").evaluate(Tr,{},Ge)*ss,va=function(mi){for(var Gi=0,Ka=mi;Gi=li||X0.y<0||X0.y>=li||function(ro,Cc,WC,Af,q1,Uw,Gg,Qc,qg,K0,Wg,Yg,W1,Hw,J0,Gw,qw,Ww,Yw,$w,Bl,$g,Zw,eh,YC){var Xw,gd,_p,wp,Tp,kp=ro.addToLineVertexArray(Cc,WC),Kw=0,Jw=0,Qw=0,e3=0,Y1=-1,$1=-1,jh={},t3=Fn(""),Z1=0,X1=0;if(Qc._unevaluatedLayout.getValue("text-radial-offset")===void 0?(Z1=(Xw=Qc.layout.get("text-offset").evaluate(Bl,{},eh).map(function(em){return em*ss}))[0],X1=Xw[1]):(Z1=Qc.layout.get("text-radial-offset").evaluate(Bl,{},eh)*ss,X1=I1),ro.allowVerticalPlacement&&Af.vertical){var n3=Qc.layout.get("text-rotate").evaluate(Bl,{},eh)+90,$C=Af.vertical;wp=new Lg(qg,Cc,K0,Wg,Yg,$C,W1,Hw,J0,n3),Gg&&(Tp=new Lg(qg,Cc,K0,Wg,Yg,Gg,qw,Ww,J0,n3))}if(q1){var K1=Qc.layout.get("icon-rotate").evaluate(Bl,{}),r3=Qc.layout.get("icon-text-fit")!=="none",i3=yw(q1,K1,Zw,r3),J1=Gg?yw(Gg,K1,Zw,r3):void 0;_p=new Lg(qg,Cc,K0,Wg,Yg,q1,qw,Ww,!1,K1),Kw=4*i3.length;var a3=ro.iconSizeData,Q0=null;a3.kind==="source"?(Q0=[Jc*Qc.layout.get("icon-size").evaluate(Bl,{})])[0]>kf&&R(ro.layerIds[0]+': Value for "icon-size" is >= 255. Reduce your "icon-size".'):a3.kind==="composite"&&((Q0=[Jc*$g.compositeIconSizes[0].evaluate(Bl,{},eh),Jc*$g.compositeIconSizes[1].evaluate(Bl,{},eh)])[0]>kf||Q0[1]>kf)&&R(ro.layerIds[0]+': Value for "icon-size" is >= 255. Reduce your "icon-size".'),ro.addSymbols(ro.icon,i3,Q0,$w,Yw,Bl,!1,Cc,kp.lineStartIndex,kp.lineLength,-1,eh),Y1=ro.icon.placedSymbolArray.length-1,J1&&(Jw=4*J1.length,ro.addSymbols(ro.icon,J1,Q0,$w,Yw,Bl,Fl.vertical,Cc,kp.lineStartIndex,kp.lineLength,-1,eh),$1=ro.icon.placedSymbolArray.length-1)}for(var o3 in Af.horizontal){var Zg=Af.horizontal[o3];if(!gd){t3=Fn(Zg.text);var ZC=Qc.layout.get("text-rotate").evaluate(Bl,{},eh);gd=new Lg(qg,Cc,K0,Wg,Yg,Zg,W1,Hw,J0,ZC)}var s3=Zg.positionedLines.length===1;if(Qw+=_w(ro,Cc,Zg,Uw,Qc,J0,Bl,Gw,kp,Af.vertical?Fl.horizontal:Fl.horizontalOnly,s3?Object.keys(Af.horizontal):[o3],jh,Y1,$g,eh),s3)break}Af.vertical&&(e3+=_w(ro,Cc,Af.vertical,Uw,Qc,J0,Bl,Gw,kp,Fl.vertical,["vertical"],jh,$1,$g,eh));var XC=gd?gd.boxStartIndex:ro.collisionBoxArray.length,KC=gd?gd.boxEndIndex:ro.collisionBoxArray.length,JC=wp?wp.boxStartIndex:ro.collisionBoxArray.length,QC=wp?wp.boxEndIndex:ro.collisionBoxArray.length,e8=_p?_p.boxStartIndex:ro.collisionBoxArray.length,t8=_p?_p.boxEndIndex:ro.collisionBoxArray.length,n8=Tp?Tp.boxStartIndex:ro.collisionBoxArray.length,r8=Tp?Tp.boxEndIndex:ro.collisionBoxArray.length,th=-1,Xg=function(em,u3){return em&&em.circleDiameter?Math.max(em.circleDiameter,u3):u3};th=Xg(gd,th),th=Xg(wp,th),th=Xg(_p,th);var l3=(th=Xg(Tp,th))>-1?1:0;l3&&(th*=YC/ss),ro.glyphOffsetArray.length>=ha.MAX_GLYPHS&&R("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"),Bl.sortKey!==void 0&&ro.addToSortKeyRanges(ro.symbolInstances.length,Bl.sortKey),ro.symbolInstances.emplaceBack(Cc.x,Cc.y,jh.right>=0?jh.right:-1,jh.center>=0?jh.center:-1,jh.left>=0?jh.left:-1,jh.vertical||-1,Y1,$1,t3,XC,KC,JC,QC,e8,t8,n8,r8,K0,Qw,e3,Kw,Jw,l3,0,W1,Z1,X1,th)}(mi,X0,qC,Ka,ma,Ga,Vh,mi.layers[0],mi.collisionBoxArray,Gi.index,Gi.sourceLayerIndex,mi.index,Dg,B1,Bg,Ds,zg,Fg,Ng,Sc,Gi,Oa,dl,ks,$i)};if(H0==="line")for(var bp=0,Vg=vw(Gi.geometry,0,0,li,li);bp1){var Y0=SC(pd,yp,Ka.vertical||Uu,ma,Hu,fd);Y0&&dd(pd,Y0)}}else if(Gi.type==="Polygon")for(var md=0,$0=w1(Gi.geometry,0);md<$0.length;md+=1){var Z0=$0[md],Bw=LC(Z0,16);dd(Z0[0],new hp(Bw.x,Bw.y,0))}else if(Gi.type==="LineString")for(var V1=0,Nw=Gi.geometry;V1=An.maxzoom||An.visibility!=="none"&&(u(un,this.zoom,qe),(Lt[An.id]=An.createBucket({index:Qe.bucketLayerIDs.length,layers:un,zoom:this.zoom,pixelRatio:this.pixelRatio,overscaling:this.overscaling,collisionBoxArray:this.collisionBoxArray,sourceLayerIndex:Nt,sourceID:this.source})).populate(Yt,yt,this.tileID.canonical),Qe.bucketLayerIDs.push(un.map(function(dn){return dn.id})))}}}var Yn=i.mapObject(yt.glyphDependencies,function(dn){return Object.keys(dn).map(Number)});Object.keys(Yn).length?nt.send("getGlyphs",{uid:this.uid,stacks:Yn},function(dn,pn){ut||(ut=dn,dt=pn,Tn.call(Re))}):dt={};var kn=Object.keys(yt.iconDependencies);kn.length?nt.send("getImages",{icons:kn,source:this.source,tileID:this.tileID,type:"icons"},function(dn,pn){ut||(ut=dn,_t=pn,Tn.call(Re))}):_t={};var sn=Object.keys(yt.patternDependencies);function Tn(){if(ut)return ft(ut);if(dt&&_t&&It){var dn=new l(dt),pn=new i.ImageAtlas(_t,It);for(var Dn in Lt){var In=Lt[Dn];In instanceof i.SymbolBucket?(u(In.layers,this.zoom,qe),i.performSymbolLayout(In,dt,dn.positions,_t,pn.iconPositions,this.showCollisionBoxes,this.tileID.canonical)):In.hasPattern&&(In instanceof i.LineBucket||In instanceof i.FillBucket||In instanceof i.FillExtrusionBucket)&&(u(In.layers,this.zoom,qe),In.addFeatures(yt,this.tileID.canonical,pn.patternPositions))}this.status="done",ft(null,{buckets:i.values(Lt).filter(function(jn){return!jn.isEmpty()}),featureIndex:Qe,collisionBoxArray:this.collisionBoxArray,glyphAtlasImage:dn.image,imageAtlas:pn,glyphMap:this.returnDependencies?dt:null,iconMap:this.returnDependencies?_t:null,glyphPositions:this.returnDependencies?dn.positions:null})}}sn.length?nt.send("getImages",{icons:sn,source:this.source,tileID:this.tileID,type:"patterns"},function(dn,pn){ut||(ut=dn,It=pn,Tn.call(Re))}):It={},Tn.call(this)};var s=function(Ke,Je,qe,nt){this.actor=Ke,this.layerIndex=Je,this.availableImages=qe,this.loadVectorData=nt||o,this.loading={},this.loaded={}};s.prototype.loadTile=function(Ke,Je){var qe=this,nt=Ke.uid;this.loading||(this.loading={});var ft=!!(Ke&&Ke.request&&Ke.request.collectResourceTiming)&&new i.RequestPerformance(Ke.request),Re=this.loading[nt]=new a(Ke);Re.abort=this.loadVectorData(Ke,function(Ne,Qe){if(delete qe.loading[nt],Ne||!Qe)return Re.status="done",qe.loaded[nt]=Re,Je(Ne);var ut=Qe.rawData,dt={};Qe.expires&&(dt.expires=Qe.expires),Qe.cacheControl&&(dt.cacheControl=Qe.cacheControl);var _t={};if(ft){var It=ft.finish();It&&(_t.resourceTiming=JSON.parse(JSON.stringify(It)))}Re.vectorTile=Qe.vectorTile,Re.parse(Qe.vectorTile,qe.layerIndex,qe.availableImages,qe.actor,function(Lt,yt){if(Lt||!yt)return Je(Lt);Je(null,i.extend({rawTileData:ut.slice(0)},yt,dt,_t))}),qe.loaded=qe.loaded||{},qe.loaded[nt]=Re})},s.prototype.reloadTile=function(Ke,Je){var qe=this,nt=this.loaded,ft=Ke.uid,Re=this;if(nt&&nt[ft]){var Ne=nt[ft];Ne.showCollisionBoxes=Ke.showCollisionBoxes;var Qe=function(ut,dt){var _t=Ne.reloadCallback;_t&&(delete Ne.reloadCallback,Ne.parse(Ne.vectorTile,Re.layerIndex,qe.availableImages,Re.actor,_t)),Je(ut,dt)};Ne.status==="parsing"?Ne.reloadCallback=Qe:Ne.status==="done"&&(Ne.vectorTile?Ne.parse(Ne.vectorTile,this.layerIndex,this.availableImages,this.actor,Qe):Qe())}},s.prototype.abortTile=function(Ke,Je){var qe=this.loading,nt=Ke.uid;qe&&qe[nt]&&qe[nt].abort&&(qe[nt].abort(),delete qe[nt]),Je()},s.prototype.removeTile=function(Ke,Je){var qe=this.loaded,nt=Ke.uid;qe&&qe[nt]&&delete qe[nt],Je()};var c=i.window.ImageBitmap,h=function(){this.loaded={}};h.prototype.loadTile=function(Ke,Je){var qe=Ke.uid,nt=Ke.encoding,ft=Ke.rawImageData,Re=c&&ft instanceof c?this.getImageData(ft):ft,Ne=new i.DEMData(qe,Re,nt);this.loaded=this.loaded||{},this.loaded[qe]=Ne,Je(null,Ne)},h.prototype.getImageData=function(Ke){this.offscreenCanvas&&this.offscreenCanvasContext||(this.offscreenCanvas=new OffscreenCanvas(Ke.width,Ke.height),this.offscreenCanvasContext=this.offscreenCanvas.getContext("2d")),this.offscreenCanvas.width=Ke.width,this.offscreenCanvas.height=Ke.height,this.offscreenCanvasContext.drawImage(Ke,0,0,Ke.width,Ke.height);var Je=this.offscreenCanvasContext.getImageData(-1,-1,Ke.width+2,Ke.height+2);return this.offscreenCanvasContext.clearRect(0,0,this.offscreenCanvas.width,this.offscreenCanvas.height),new i.RGBAImage({width:Je.width,height:Je.height},Je.data)},h.prototype.removeTile=function(Ke){var Je=this.loaded,qe=Ke.uid;Je&&Je[qe]&&delete Je[qe]};var m=function Ke(Je,qe){var nt,ft=Je&&Je.type;if(ft==="FeatureCollection")for(nt=0;nt=0!=!!Je&&Ke.reverse()}var S=i.vectorTile.VectorTileFeature.prototype.toGeoJSON,_=function(Ke){this._feature=Ke,this.extent=i.EXTENT,this.type=Ke.type,this.properties=Ke.tags,"id"in Ke&&!isNaN(Ke.id)&&(this.id=parseInt(Ke.id,10))};_.prototype.loadGeometry=function(){if(this._feature.type===1){for(var Ke=[],Je=0,qe=this._feature.geometry;Je>31}function $(Ke,Je){for(var qe=Ke.loadGeometry(),nt=Ke.type,ft=0,Re=0,Ne=qe.length,Qe=0;Qe>1;q(Ke,Je,Ne,nt,ft,Re%2),G(Ke,Je,qe,nt,Ne-1,Re+1),G(Ke,Je,qe,Ne+1,ft,Re+1)}}function q(Ke,Je,qe,nt,ft,Re){for(;ft>nt;){if(ft-nt>600){var Ne=ft-nt+1,Qe=qe-nt+1,ut=Math.log(Ne),dt=.5*Math.exp(2*ut/3),_t=.5*Math.sqrt(ut*dt*(Ne-dt)/Ne)*(Qe-Ne/2<0?-1:1);q(Ke,Je,qe,Math.max(nt,Math.floor(qe-Qe*dt/Ne+_t)),Math.min(ft,Math.floor(qe+(Ne-Qe)*dt/Ne+_t)),Re)}var It=Je[2*qe+Re],Lt=nt,yt=ft;for(H(Ke,Je,nt,qe),Je[2*ft+Re]>It&&H(Ke,Je,nt,ft);LtIt;)yt--}Je[2*nt+Re]===It?H(Ke,Je,nt,yt):H(Ke,Je,++yt,ft),yt<=qe&&(nt=yt+1),qe<=yt&&(ft=yt-1)}}function H(Ke,Je,qe,nt){ne(Ke,qe,nt),ne(Je,2*qe,2*nt),ne(Je,2*qe+1,2*nt+1)}function ne(Ke,Je,qe){var nt=Ke[Je];Ke[Je]=Ke[qe],Ke[qe]=nt}function te(Ke,Je,qe,nt){var ft=Ke-qe,Re=Je-nt;return ft*ft+Re*Re}b.fromVectorTileJs=R,b.fromGeojsonVt=I,b.GeoJSONWrapper=O;var Z=function(Ke){return Ke[0]},X=function(Ke){return Ke[1]},Q=function(Ke,Je,qe,nt,ft){Je===void 0&&(Je=Z),qe===void 0&&(qe=X),nt===void 0&&(nt=64),ft===void 0&&(ft=Float64Array),this.nodeSize=nt,this.points=Ke;for(var Re=Ke.length<65536?Uint16Array:Uint32Array,Ne=this.ids=new Re(Ke.length),Qe=this.coords=new ft(2*Ke.length),ut=0;ut=Ne&&It<=ut&&Lt>=Qe&&Lt<=dt&&Pt.push(ft[Yt]);else{var Wt=Math.floor((Nt+Rt)/2);It=Re[2*Wt],Lt=Re[2*Wt+1],It>=Ne&&It<=ut&&Lt>=Qe&&Lt<=dt&&Pt.push(ft[Wt]);var Xt=(wt+1)%2;(wt===0?Ne<=It:Qe<=Lt)&&(yt.push(Nt),yt.push(Wt-1),yt.push(Xt)),(wt===0?ut>=It:dt>=Lt)&&(yt.push(Wt+1),yt.push(Rt),yt.push(Xt))}}return Pt}(this.ids,this.coords,Ke,Je,qe,nt,this.nodeSize)},Q.prototype.within=function(Ke,Je,qe){return function(nt,ft,Re,Ne,Qe,ut){for(var dt=[0,nt.length-1,0],_t=[],It=Qe*Qe;dt.length;){var Lt=dt.pop(),yt=dt.pop(),Pt=dt.pop();if(yt-Pt<=ut)for(var wt=Pt;wt<=yt;wt++)te(ft[2*wt],ft[2*wt+1],Re,Ne)<=It&&_t.push(nt[wt]);else{var Rt=Math.floor((Pt+yt)/2),Nt=ft[2*Rt],Yt=ft[2*Rt+1];te(Nt,Yt,Re,Ne)<=It&&_t.push(nt[Rt]);var Wt=(Lt+1)%2;(Lt===0?Re-Qe<=Nt:Ne-Qe<=Yt)&&(dt.push(Pt),dt.push(Rt-1),dt.push(Wt)),(Lt===0?Re+Qe>=Nt:Ne+Qe>=Yt)&&(dt.push(Rt+1),dt.push(yt),dt.push(Wt))}}return _t}(this.ids,this.coords,Ke,Je,qe,this.nodeSize)};var re={minZoom:0,maxZoom:16,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:function(Ke){return Ke}},ie=function(Ke){this.options=pe(Object.create(re),Ke),this.trees=new Array(this.options.maxZoom+1)};function oe(Ke,Je,qe,nt,ft){return{x:Ke,y:Je,zoom:1/0,id:qe,parentId:-1,numPoints:nt,properties:ft}}function ue(Ke,Je){var qe=Ke.geometry.coordinates,nt=qe[0],ft=qe[1];return{x:de(nt),y:me(ft),zoom:1/0,index:Je,parentId:-1}}function ce(Ke){return{type:"Feature",id:Ke.id,properties:ye(Ke),geometry:{type:"Point",coordinates:[(nt=Ke.x,360*(nt-.5)),(Je=Ke.y,qe=(180-360*Je)*Math.PI/180,360*Math.atan(Math.exp(qe))/Math.PI-90)]}};var Je,qe,nt}function ye(Ke){var Je=Ke.numPoints,qe=Je>=1e4?Math.round(Je/1e3)+"k":Je>=1e3?Math.round(Je/100)/10+"k":Je;return pe(pe({},Ke.properties),{cluster:!0,cluster_id:Ke.id,point_count:Je,point_count_abbreviated:qe})}function de(Ke){return Ke/360+.5}function me(Ke){var Je=Math.sin(Ke*Math.PI/180),qe=.5-.25*Math.log((1+Je)/(1-Je))/Math.PI;return qe<0?0:qe>1?1:qe}function pe(Ke,Je){for(var qe in Je)Ke[qe]=Je[qe];return Ke}function xe(Ke){return Ke.x}function Pe(Ke){return Ke.y}function _e(Ke,Je,qe,nt){for(var ft,Re=nt,Ne=qe-Je>>1,Qe=qe-Je,ut=Ke[Je],dt=Ke[Je+1],_t=Ke[qe],It=Ke[qe+1],Lt=Je+3;LtRe)ft=Lt,Re=yt;else if(yt===Re){var Pt=Math.abs(Lt-Ne);Ptnt&&(ft-Je>3&&_e(Ke,Je,ft,nt),Ke[ft+2]=Re,qe-ft>3&&_e(Ke,ft,qe,nt))}function Me(Ke,Je,qe,nt,ft,Re){var Ne=ft-qe,Qe=Re-nt;if(Ne!==0||Qe!==0){var ut=((Ke-qe)*Ne+(Je-nt)*Qe)/(Ne*Ne+Qe*Qe);ut>1?(qe=ft,nt=Re):ut>0&&(qe+=Ne*ut,nt+=Qe*ut)}return(Ne=Ke-qe)*Ne+(Qe=Je-nt)*Qe}function Se(Ke,Je,qe,nt){var ft={id:Ke===void 0?null:Ke,type:Je,geometry:qe,tags:nt,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};return function(Re){var Ne=Re.geometry,Qe=Re.type;if(Qe==="Point"||Qe==="MultiPoint"||Qe==="LineString")Ce(Re,Ne);else if(Qe==="Polygon"||Qe==="MultiLineString")for(var ut=0;ut0&&(Ne+=nt?(ft*dt-ut*Re)/2:Math.sqrt(Math.pow(ut-ft,2)+Math.pow(dt-Re,2))),ft=ut,Re=dt}var _t=Je.length-3;Je[2]=1,_e(Je,0,_t,qe),Je[_t+2]=1,Je.size=Math.abs(Ne),Je.start=0,Je.end=Je.size}function ke(Ke,Je,qe,nt){for(var ft=0;ft1?1:qe}function ze(Ke,Je,qe,nt,ft,Re,Ne,Qe){if(nt/=Je,Re>=(qe/=Je)&&Ne=nt)return null;for(var ut=[],dt=0;dt=qe&&Pt=nt)){var wt=[];if(Lt==="Point"||Lt==="MultiPoint")je(It,wt,qe,nt,ft);else if(Lt==="LineString")ge(It,wt,qe,nt,ft,!1,Qe.lineMetrics);else if(Lt==="MultiLineString")Ee(It,wt,qe,nt,ft,!1);else if(Lt==="Polygon")Ee(It,wt,qe,nt,ft,!0);else if(Lt==="MultiPolygon")for(var Rt=0;Rt=qe&&Ne<=nt&&(Je.push(Ke[Re]),Je.push(Ke[Re+1]),Je.push(Ke[Re+2]))}}function ge(Ke,Je,qe,nt,ft,Re,Ne){for(var Qe,ut,dt=we(Ke),_t=ft===0?$e:Ye,It=Ke.start,Lt=0;Ltqe&&(ut=_t(dt,yt,Pt,Rt,Nt,qe),Ne&&(dt.start=It+Qe*ut)):Yt>nt?Wt=qe&&(ut=_t(dt,yt,Pt,Rt,Nt,qe),Xt=!0),Wt>nt&&Yt<=nt&&(ut=_t(dt,yt,Pt,Rt,Nt,nt),Xt=!0),!Re&&Xt&&(Ne&&(dt.end=It+Qe*ut),Je.push(dt),dt=we(Ke)),Ne&&(It+=Qe)}var Qt=Ke.length-3;yt=Ke[Qt],Pt=Ke[Qt+1],wt=Ke[Qt+2],(Yt=ft===0?yt:Pt)>=qe&&Yt<=nt&&Ve(dt,yt,Pt,wt),Qt=dt.length-3,Re&&Qt>=3&&(dt[Qt]!==dt[0]||dt[Qt+1]!==dt[1])&&Ve(dt,dt[0],dt[1],dt[2]),dt.length&&Je.push(dt)}function we(Ke){var Je=[];return Je.size=Ke.size,Je.start=Ke.start,Je.end=Ke.end,Je}function Ee(Ke,Je,qe,nt,ft,Re){for(var Ne=0;NeNe.maxX&&(Ne.maxX=_t),It>Ne.maxY&&(Ne.maxY=It)}return Ne}function kt(Ke,Je,qe,nt){var ft=Je.geometry,Re=Je.type,Ne=[];if(Re==="Point"||Re==="MultiPoint")for(var Qe=0;Qe0&&Je.size<(ft?Ne:nt))qe.numPoints+=Je.length/3;else{for(var Qe=[],ut=0;utNe)&&(qe.numSimplified++,Qe.push(Je[ut]),Qe.push(Je[ut+1])),qe.numPoints++;ft&&function(dt,_t){for(var It=0,Lt=0,yt=dt.length,Pt=yt-2;Lt0===_t)for(Lt=0,yt=dt.length;Lt24)throw new Error("maxZoom should be in the 0-24 range");if(Je.promoteId&&Je.generateId)throw new Error("promoteId and generateId cannot be used together.");var nt=function(ft,Re){var Ne=[];if(ft.type==="FeatureCollection")for(var Qe=0;Qe=nt;dt--){var _t=+Date.now();Qe=this._cluster(Qe,dt),this.trees[dt]=new Q(Qe,xe,Pe,Re,Float32Array),qe&&console.log("z%d: %d clusters in %dms",dt,Qe.length,+Date.now()-_t)}return qe&&console.timeEnd("total time"),this},ie.prototype.getClusters=function(Ke,Je){var qe=((Ke[0]+180)%360+360)%360-180,nt=Math.max(-90,Math.min(90,Ke[1])),ft=Ke[2]===180?180:((Ke[2]+180)%360+360)%360-180,Re=Math.max(-90,Math.min(90,Ke[3]));if(Ke[2]-Ke[0]>=360)qe=-180,ft=180;else if(qe>ft){var Ne=this.getClusters([qe,nt,180,Re],Je),Qe=this.getClusters([-180,nt,ft,Re],Je);return Ne.concat(Qe)}for(var ut=this.trees[this._limitZoom(Je)],dt=[],_t=0,It=ut.range(de(qe),me(Re),de(ft),me(nt));_t1?this._map(dt,!0):null,Rt=(ut<<5)+(Je+1)+this.points.length,Nt=0,Yt=It;Nt>5},ie.prototype._getOriginZoom=function(Ke){return(Ke-this.points.length)%32},ie.prototype._map=function(Ke,Je){if(Ke.numPoints)return Je?pe({},Ke.properties):Ke.properties;var qe=this.points[Ke.index].properties,nt=this.options.map(qe);return Je&&nt===qe?pe({},nt):nt},Ft.prototype.options={maxZoom:14,indexMaxZoom:5,indexMaxPoints:1e5,tolerance:3,extent:4096,buffer:64,lineMetrics:!1,promoteId:null,generateId:!1,debug:0},Ft.prototype.splitTile=function(Ke,Je,qe,nt,ft,Re,Ne){for(var Qe=[Ke,Je,qe,nt],ut=this.options,dt=ut.debug;Qe.length;){nt=Qe.pop(),qe=Qe.pop(),Je=Qe.pop(),Ke=Qe.pop();var _t=1<1&&console.time("creation"),Lt=this.tiles[It]=Et(Ke,Je,qe,nt,ut),this.tileCoords.push({z:Je,x:qe,y:nt}),dt)){dt>1&&(console.log("tile z%d-%d-%d (features: %d, points: %d, simplified: %d)",Je,qe,nt,Lt.numFeatures,Lt.numPoints,Lt.numSimplified),console.timeEnd("creation"));var yt="z"+Je;this.stats[yt]=(this.stats[yt]||0)+1,this.total++}if(Lt.source=Ke,ft){if(Je===ut.maxZoom||Je===ft)continue;var Pt=1<1&&console.time("clipping");var wt,Rt,Nt,Yt,Wt,Xt,Qt=.5*ut.buffer/ut.extent,rn=.5-Qt,xn=.5+Qt,un=1+Qt;wt=Rt=Nt=Yt=null,Wt=ze(Ke,_t,qe-Qt,qe+xn,0,Lt.minX,Lt.maxX,ut),Xt=ze(Ke,_t,qe+rn,qe+un,0,Lt.minX,Lt.maxX,ut),Ke=null,Wt&&(wt=ze(Wt,_t,nt-Qt,nt+xn,1,Lt.minY,Lt.maxY,ut),Rt=ze(Wt,_t,nt+rn,nt+un,1,Lt.minY,Lt.maxY,ut),Wt=null),Xt&&(Nt=ze(Xt,_t,nt-Qt,nt+xn,1,Lt.minY,Lt.maxY,ut),Yt=ze(Xt,_t,nt+rn,nt+un,1,Lt.minY,Lt.maxY,ut),Xt=null),dt>1&&console.timeEnd("clipping"),Qe.push(wt||[],Je+1,2*qe,2*nt),Qe.push(Rt||[],Je+1,2*qe,2*nt+1),Qe.push(Nt||[],Je+1,2*qe+1,2*nt),Qe.push(Yt||[],Je+1,2*qe+1,2*nt+1)}}},Ft.prototype.getTile=function(Ke,Je,qe){var nt=this.options,ft=nt.extent,Re=nt.debug;if(Ke<0||Ke>24)return null;var Ne=1<1&&console.log("drilling down to z%d-%d-%d",Ke,Je,qe);for(var ut,dt=Ke,_t=Je,It=qe;!ut&&dt>0;)dt--,_t=Math.floor(_t/2),It=Math.floor(It/2),ut=this.tiles[Ot(dt,_t,It)];return ut&&ut.source?(Re>1&&console.log("found parent tile z%d-%d-%d",dt,_t,It),Re>1&&console.time("drilling down"),this.splitTile(ut.source,dt,_t,It,Ke,Je,qe),Re>1&&console.timeEnd("drilling down"),this.tiles[Qe]?ht(this.tiles[Qe],ft):null):null};var qt=function(Ke){function Je(qe,nt,ft,Re){Ke.call(this,qe,nt,ft,Bt),Re&&(this.loadGeoJSON=Re)}return Ke&&(Je.__proto__=Ke),Je.prototype=Object.create(Ke&&Ke.prototype),Je.prototype.constructor=Je,Je.prototype.loadData=function(qe,nt){this._pendingCallback&&this._pendingCallback(null,{abandoned:!0}),this._pendingCallback=nt,this._pendingLoadDataParams=qe,this._state&&this._state!=="Idle"?this._state="NeedsLoadData":(this._state="Coalescing",this._loadData())},Je.prototype._loadData=function(){var qe=this;if(this._pendingCallback&&this._pendingLoadDataParams){var nt=this._pendingCallback,ft=this._pendingLoadDataParams;delete this._pendingCallback,delete this._pendingLoadDataParams;var Re=!!(ft&&ft.request&&ft.request.collectResourceTiming)&&new i.RequestPerformance(ft.request);this.loadGeoJSON(ft,function(Ne,Qe){if(Ne||!Qe)return nt(Ne);if(typeof Qe!="object")return nt(new Error("Input data given to '"+ft.source+"' is not a valid GeoJSON object."));m(Qe,!0);try{qe._geoJSONIndex=ft.cluster?new ie(function(_t){var It=_t.superclusterOptions,Lt=_t.clusterProperties;if(!Lt||!It)return It;for(var yt={},Pt={},wt={accumulated:null,zoom:0},Rt={properties:null},Nt=Object.keys(Lt),Yt=0,Wt=Nt;Yt=0?0:Y.button},v.remove=function(Y){Y.parentNode&&Y.parentNode.removeChild(Y)};var w=function(Y){function ee(){Y.call(this),this.images={},this.updatedImages={},this.callbackDispatchedThisFrame={},this.loaded=!1,this.requestors=[],this.patterns={},this.atlasImage=new i.RGBAImage({width:1,height:1}),this.dirty=!0}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee.prototype.isLoaded=function(){return this.loaded},ee.prototype.setLoaded=function(K){if(this.loaded!==K&&(this.loaded=K,K)){for(var le=0,Te=this.requestors;le=0?1.2:1))}function E(Y,ee,K,le,Te,De,He){for(var Ze=0;Ze65535)Tt(new Error("glyphs > 65535 not supported"));else if(ve.ranges[Fe])Tt(null,{stack:At,id:se,glyph:Ie});else{var Ue=ve.requests[Fe];Ue||(Ue=ve.requests[Fe]=[],A.loadGlyphRange(At,Fe,K.url,K.requestManager,function(We,Xe){if(Xe){for(var tt in Xe)K._doesCharSupportLocalGlyph(+tt)||(ve.glyphs[+tt]=Xe[+tt]);ve.ranges[Fe]=!0}for(var lt=0,mt=Ue;lt1&&(at=Y[++Ze]);var At=Math.abs(Tt-at.left),se=Math.abs(Tt-at.right),ve=Math.min(At,se),Ie=void 0,Fe=Te/K*(le+1);if(at.isDash){var Ue=le-Math.abs(Fe);Ie=Math.sqrt(ve*ve+Ue*Ue)}else Ie=le-Math.sqrt(ve*ve+Fe*Fe);this.data[He+Tt]=Math.max(0,Math.min(255,Ie+128))}},O.prototype.addRegularDash=function(Y){for(var ee=Y.length-1;ee>=0;--ee){var K=Y[ee],le=Y[ee+1];K.zeroLength?Y.splice(ee,1):le&&le.isDash===K.isDash&&(le.left=K.left,Y.splice(ee,1))}var Te=Y[0],De=Y[Y.length-1];Te.isDash===De.isDash&&(Te.left=De.left-this.width,De.right=Te.right+this.width);for(var He=this.width*this.nextRow,Ze=0,at=Y[Ze],Tt=0;Tt1&&(at=Y[++Ze]);var At=Math.abs(Tt-at.left),se=Math.abs(Tt-at.right),ve=Math.min(At,se),Ie=at.isDash?ve:-ve;this.data[He+Tt]=Math.max(0,Math.min(255,Ie+128))}},O.prototype.addDash=function(Y,ee){var K=ee?7:0,le=2*K+1;if(this.nextRow+le>this.height)return i.warnOnce("LineAtlas out of space"),null;for(var Te=0,De=0;De=K&&Y.x=le&&Y.y0&&(Tt[new i.OverscaledTileID(K.overscaledZ,He,le.z,De,le.y-1).key]={backfilled:!1},Tt[new i.OverscaledTileID(K.overscaledZ,K.wrap,le.z,le.x,le.y-1).key]={backfilled:!1},Tt[new i.OverscaledTileID(K.overscaledZ,at,le.z,Ze,le.y-1).key]={backfilled:!1}),le.y+10&&(Te.resourceTiming=K._resourceTiming,K._resourceTiming=[]),K.fire(new i.Event("data",Te))}})},ee.prototype.onAdd=function(K){this.map=K,this.load()},ee.prototype.setData=function(K){var le=this;return this._data=K,this.fire(new i.Event("dataloading",{dataType:"source"})),this._updateWorkerData(function(Te){if(Te)le.fire(new i.ErrorEvent(Te));else{var De={dataType:"source",sourceDataType:"content"};le._collectResourceTiming&&le._resourceTiming&&le._resourceTiming.length>0&&(De.resourceTiming=le._resourceTiming,le._resourceTiming=[]),le.fire(new i.Event("data",De))}}),this},ee.prototype.getClusterExpansionZoom=function(K,le){return this.actor.send("geojson.getClusterExpansionZoom",{clusterId:K,source:this.id},le),this},ee.prototype.getClusterChildren=function(K,le){return this.actor.send("geojson.getClusterChildren",{clusterId:K,source:this.id},le),this},ee.prototype.getClusterLeaves=function(K,le,Te,De){return this.actor.send("geojson.getClusterLeaves",{source:this.id,clusterId:K,limit:le,offset:Te},De),this},ee.prototype._updateWorkerData=function(K){var le=this;this._loaded=!1;var Te=i.extend({},this.workerOptions),De=this._data;typeof De=="string"?(Te.request=this.map._requestManager.transformRequest(i.browser.resolveURL(De),i.ResourceType.Source),Te.request.collectResourceTiming=this._collectResourceTiming):Te.data=JSON.stringify(De),this.actor.send(this.type+".loadData",Te,function(He,Ze){le._removed||Ze&&Ze.abandoned||(le._loaded=!0,Ze&&Ze.resourceTiming&&Ze.resourceTiming[le.id]&&(le._resourceTiming=Ze.resourceTiming[le.id].slice(0)),le.actor.send(le.type+".coalesce",{source:Te.source},null),K(He))})},ee.prototype.loaded=function(){return this._loaded},ee.prototype.loadTile=function(K,le){var Te=this,De=K.actor?"reloadTile":"loadTile";K.actor=this.actor;var He={type:this.type,uid:K.uid,tileID:K.tileID,zoom:K.tileID.overscaledZ,maxZoom:this.maxzoom,tileSize:this.tileSize,source:this.id,pixelRatio:i.browser.devicePixelRatio,showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId};K.request=this.actor.send(De,He,function(Ze,at){return delete K.request,K.unloadVectorData(),K.aborted?le(null):Ze?le(Ze):(K.loadVectorData(at,Te.map.painter,De==="reloadTile"),le(null))})},ee.prototype.abortTile=function(K){K.request&&(K.request.cancel(),delete K.request),K.aborted=!0},ee.prototype.unloadTile=function(K){K.unloadVectorData(),this.actor.send("removeTile",{uid:K.uid,type:this.type,source:this.id})},ee.prototype.onRemove=function(){this._removed=!0,this.actor.send("removeSource",{type:this.type,source:this.id})},ee.prototype.serialize=function(){return i.extend({},this._options,{type:this.type,data:this._data})},ee.prototype.hasTransition=function(){return!1},ee}(i.Evented),U=i.createLayout([{name:"a_pos",type:"Int16",components:2},{name:"a_texture_pos",type:"Int16",components:2}]),G=function(Y){function ee(K,le,Te,De){Y.call(this),this.id=K,this.dispatcher=Te,this.coordinates=le.coordinates,this.type="image",this.minzoom=0,this.maxzoom=22,this.tileSize=512,this.tiles={},this._loaded=!1,this.setEventedParent(De),this.options=le}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee.prototype.load=function(K,le){var Te=this;this._loaded=!1,this.fire(new i.Event("dataloading",{dataType:"source"})),this.url=this.options.url,i.getImage(this.map._requestManager.transformRequest(this.url,i.ResourceType.Image),function(De,He){Te._loaded=!0,De?Te.fire(new i.ErrorEvent(De)):He&&(Te.image=He,K&&(Te.coordinates=K),le&&le(),Te._finishLoading())})},ee.prototype.loaded=function(){return this._loaded},ee.prototype.updateImage=function(K){var le=this;return this.image&&K.url?(this.options.url=K.url,this.load(K.coordinates,function(){le.texture=null}),this):this},ee.prototype._finishLoading=function(){this.map&&(this.setCoordinates(this.coordinates),this.fire(new i.Event("data",{dataType:"source",sourceDataType:"metadata"})))},ee.prototype.onAdd=function(K){this.map=K,this.load()},ee.prototype.setCoordinates=function(K){var le=this;this.coordinates=K;var Te=K.map(i.MercatorCoordinate.fromLngLat);this.tileID=function(He){for(var Ze=1/0,at=1/0,Tt=-1/0,At=-1/0,se=0,ve=He;sele.end(0)?this.fire(new i.ErrorEvent(new i.ValidationError("sources."+this.id,null,"Playback for this video can be set only between the "+le.start(0)+" and "+le.end(0)+"-second mark."))):this.video.currentTime=K}},ee.prototype.getVideo=function(){return this.video},ee.prototype.onAdd=function(K){this.map||(this.map=K,this.load(),this.video&&(this.video.play(),this.setCoordinates(this.coordinates)))},ee.prototype.prepare=function(){if(!(Object.keys(this.tiles).length===0||this.video.readyState<2)){var K=this.map.painter.context,le=K.gl;for(var Te in this.boundsBuffer||(this.boundsBuffer=K.createVertexBuffer(this._boundsArray,U.members)),this.boundsSegments||(this.boundsSegments=i.SegmentVector.simpleSegment(0,0,4,2)),this.texture?this.video.paused||(this.texture.bind(le.LINEAR,le.CLAMP_TO_EDGE),le.texSubImage2D(le.TEXTURE_2D,0,0,0,le.RGBA,le.UNSIGNED_BYTE,this.video)):(this.texture=new i.Texture(K,this.video,le.RGBA),this.texture.bind(le.LINEAR,le.CLAMP_TO_EDGE)),this.tiles){var De=this.tiles[Te];De.state!=="loaded"&&(De.state="loaded",De.texture=this.texture)}}},ee.prototype.serialize=function(){return{type:"video",urls:this.urls,coordinates:this.coordinates}},ee.prototype.hasTransition=function(){return this.video&&!this.video.paused},ee}(G),H=function(Y){function ee(K,le,Te,De){Y.call(this,K,le,Te,De),le.coordinates?Array.isArray(le.coordinates)&&le.coordinates.length===4&&!le.coordinates.some(function(He){return!Array.isArray(He)||He.length!==2||He.some(function(Ze){return typeof Ze!="number"})})||this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'"coordinates" property must be an array of 4 longitude/latitude array pairs'))):this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'missing required property "coordinates"'))),le.animate&&typeof le.animate!="boolean"&&this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'optional "animate" property must be a boolean value'))),le.canvas?typeof le.canvas=="string"||le.canvas instanceof i.window.HTMLCanvasElement||this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'"canvas" must be either a string representing the ID of the canvas element from which to read, or an HTMLCanvasElement instance'))):this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'missing required property "canvas"'))),this.options=le,this.animate=le.animate===void 0||le.animate}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee.prototype.load=function(){this._loaded=!0,this.canvas||(this.canvas=this.options.canvas instanceof i.window.HTMLCanvasElement?this.options.canvas:i.window.document.getElementById(this.options.canvas)),this.width=this.canvas.width,this.height=this.canvas.height,this._hasInvalidDimensions()?this.fire(new i.ErrorEvent(new Error("Canvas dimensions cannot be less than or equal to zero."))):(this.play=function(){this._playing=!0,this.map.triggerRepaint()},this.pause=function(){this._playing&&(this.prepare(),this._playing=!1)},this._finishLoading())},ee.prototype.getCanvas=function(){return this.canvas},ee.prototype.onAdd=function(K){this.map=K,this.load(),this.canvas&&this.animate&&this.play()},ee.prototype.onRemove=function(){this.pause()},ee.prototype.prepare=function(){var K=!1;if(this.canvas.width!==this.width&&(this.width=this.canvas.width,K=!0),this.canvas.height!==this.height&&(this.height=this.canvas.height,K=!0),!this._hasInvalidDimensions()&&Object.keys(this.tiles).length!==0){var le=this.map.painter.context,Te=le.gl;for(var De in this.boundsBuffer||(this.boundsBuffer=le.createVertexBuffer(this._boundsArray,U.members)),this.boundsSegments||(this.boundsSegments=i.SegmentVector.simpleSegment(0,0,4,2)),this.texture?(K||this._playing)&&this.texture.update(this.canvas,{premultiply:!0}):this.texture=new i.Texture(le,this.canvas,Te.RGBA,{premultiply:!0}),this.tiles){var He=this.tiles[De];He.state!=="loaded"&&(He.state="loaded",He.texture=this.texture)}}},ee.prototype.serialize=function(){return{type:"canvas",coordinates:this.coordinates}},ee.prototype.hasTransition=function(){return this._playing},ee.prototype._hasInvalidDimensions=function(){for(var K=0,le=[this.canvas.width,this.canvas.height];Kthis.max){var He=this._getAndRemoveByKey(this.order[0]);He&&this.onRemove(He)}return this},Q.prototype.has=function(Y){return Y.wrapped().key in this.data},Q.prototype.getAndRemove=function(Y){return this.has(Y)?this._getAndRemoveByKey(Y.wrapped().key):null},Q.prototype._getAndRemoveByKey=function(Y){var ee=this.data[Y].shift();return ee.timeout&&clearTimeout(ee.timeout),this.data[Y].length===0&&delete this.data[Y],this.order.splice(this.order.indexOf(Y),1),ee.value},Q.prototype.getByKey=function(Y){var ee=this.data[Y];return ee?ee[0].value:null},Q.prototype.get=function(Y){return this.has(Y)?this.data[Y.wrapped().key][0].value:null},Q.prototype.remove=function(Y,ee){if(!this.has(Y))return this;var K=Y.wrapped().key,le=ee===void 0?0:this.data[K].indexOf(ee),Te=this.data[K][le];return this.data[K].splice(le,1),Te.timeout&&clearTimeout(Te.timeout),this.data[K].length===0&&delete this.data[K],this.onRemove(Te.value),this.order.splice(this.order.indexOf(K),1),this},Q.prototype.setMaxSize=function(Y){for(this.max=Y;this.order.length>this.max;){var ee=this._getAndRemoveByKey(this.order[0]);ee&&this.onRemove(ee)}return this},Q.prototype.filter=function(Y){var ee=[];for(var K in this.data)for(var le=0,Te=this.data[K];le1||(Math.abs(At)>1&&(Math.abs(At+ve)===1?At+=ve:Math.abs(At-ve)===1&&(At-=ve)),Tt.dem&&at.dem&&(at.dem.backfillBorder(Tt.dem,At,se),at.neighboringTiles&&at.neighboringTiles[Ie]&&(at.neighboringTiles[Ie].backfilled=!0)))}},ee.prototype.getTile=function(K){return this.getTileByID(K.key)},ee.prototype.getTileByID=function(K){return this._tiles[K]},ee.prototype._retainLoadedChildren=function(K,le,Te,De){for(var He in this._tiles){var Ze=this._tiles[He];if(!(De[He]||!Ze.hasData()||Ze.tileID.overscaledZ<=le||Ze.tileID.overscaledZ>Te)){for(var at=Ze.tileID;Ze&&Ze.tileID.overscaledZ>le+1;){var Tt=Ze.tileID.scaledTo(Ze.tileID.overscaledZ-1);(Ze=this._tiles[Tt.key])&&Ze.hasData()&&(at=Tt)}for(var At=at;At.overscaledZ>le;)if(K[(At=At.scaledTo(At.overscaledZ-1)).key]){De[at.key]=at;break}}}},ee.prototype.findLoadedParent=function(K,le){if(K.key in this._loadedParentTiles){var Te=this._loadedParentTiles[K.key];return Te&&Te.tileID.overscaledZ>=le?Te:null}for(var De=K.overscaledZ-1;De>=le;De--){var He=K.scaledTo(De),Ze=this._getLoadedTile(He);if(Ze)return Ze}},ee.prototype._getLoadedTile=function(K){var le=this._tiles[K.key];return le&&le.hasData()?le:this._cache.getByKey(K.wrapped().key)},ee.prototype.updateCacheSize=function(K){var le=(Math.ceil(K.width/this._source.tileSize)+1)*(Math.ceil(K.height/this._source.tileSize)+1),Te=Math.floor(5*le),De=typeof this._maxTileCacheSize=="number"?Math.min(this._maxTileCacheSize,Te):Te;this._cache.setMaxSize(De)},ee.prototype.handleWrapJump=function(K){var le=(K-(this._prevLng===void 0?K:this._prevLng))/360,Te=Math.round(le);if(this._prevLng=K,Te){var De={};for(var He in this._tiles){var Ze=this._tiles[He];Ze.tileID=Ze.tileID.unwrapTo(Ze.tileID.wrap+Te),De[Ze.tileID.key]=Ze}for(var at in this._tiles=De,this._timers)clearTimeout(this._timers[at]),delete this._timers[at];for(var Tt in this._tiles){var At=this._tiles[Tt];this._setTileReloadTimer(Tt,At)}}},ee.prototype.update=function(K){var le=this;if(this.transform=K,this._sourceLoaded&&!this._paused){var Te;this.updateCacheSize(K),this.handleWrapJump(this.transform.center.lng),this._coveredTiles={},this.used?this._source.tileID?Te=K.getVisibleUnwrappedCoordinates(this._source.tileID).map(function(Ht){return new i.OverscaledTileID(Ht.canonical.z,Ht.wrap,Ht.canonical.z,Ht.canonical.x,Ht.canonical.y)}):(Te=K.coveringTiles({tileSize:this._source.tileSize,minzoom:this._source.minzoom,maxzoom:this._source.maxzoom,roundZoom:this._source.roundZoom,reparseOverscaled:this._source.reparseOverscaled}),this._source.hasTile&&(Te=Te.filter(function(Ht){return le._source.hasTile(Ht)}))):Te=[];var De=K.coveringZoomLevel(this._source),He=Math.max(De-ee.maxOverzooming,this._source.minzoom),Ze=Math.max(De+ee.maxUnderzooming,this._source.minzoom),at=this._updateRetainedTiles(Te,De);if(Ne(this._source.type)){for(var Tt={},At={},se=0,ve=Object.keys(at);sethis._source.maxzoom){var Xe=Ue.children(this._source.maxzoom)[0],tt=this.getTile(Xe);if(tt&&tt.hasData()){Te[Xe.key]=Xe;continue}}else{var lt=Ue.children(this._source.maxzoom);if(Te[lt[0].key]&&Te[lt[1].key]&&Te[lt[2].key]&&Te[lt[3].key])continue}for(var mt=We.wasRequested(),zt=Ue.overscaledZ-1;zt>=He;--zt){var Ut=Ue.scaledTo(zt);if(De[Ut.key]||(De[Ut.key]=!0,!(We=this.getTile(Ut))&&mt&&(We=this._addTile(Ut)),We&&(Te[Ut.key]=Ut,mt=We.wasRequested(),We.hasData())))break}}}return Te},ee.prototype._updateLoadedParentTileCache=function(){for(var K in this._loadedParentTiles={},this._tiles){for(var le=[],Te=void 0,De=this._tiles[K].tileID;De.overscaledZ>0;){if(De.key in this._loadedParentTiles){Te=this._loadedParentTiles[De.key];break}le.push(De.key);var He=De.scaledTo(De.overscaledZ-1);if(Te=this._getLoadedTile(He))break;De=He}for(var Ze=0,at=le;Ze0||(le.hasData()&&le.state!=="reloading"?this._cache.add(le.tileID,le,le.getExpiryTimeout()):(le.aborted=!0,this._abortTile(le),this._unloadTile(le))))},ee.prototype.clearTiles=function(){for(var K in this._shouldReloadOnResume=!1,this._paused=!1,this._tiles)this._removeTile(K);this._cache.reset()},ee.prototype.tilesIn=function(K,le,Te){var De=this,He=[],Ze=this.transform;if(!Ze)return He;for(var at=Te?Ze.getCameraQueryGeometry(K):K,Tt=K.map(function(zt){return Ze.pointCoordinate(zt)}),At=at.map(function(zt){return Ze.pointCoordinate(zt)}),se=this.getIds(),ve=1/0,Ie=1/0,Fe=-1/0,Ue=-1/0,We=0,Xe=At;We=0&&tn[1].y+vn>=0){var ln=Tt.map(function(Cn){return Ht.getTilePoint(Cn)}),an=At.map(function(Cn){return Ht.getTilePoint(Cn)});He.push({tile:Ut,tileID:Ht,queryGeometry:ln,cameraQueryGeometry:an,scale:en})}}},mt=0;mt=i.browser.now())return!0}return!1},ee.prototype.setFeatureState=function(K,le,Te){K=K||"_geojsonTileLayer",this._state.updateState(K,le,Te)},ee.prototype.removeFeatureState=function(K,le,Te){K=K||"_geojsonTileLayer",this._state.removeFeatureState(K,le,Te)},ee.prototype.getFeatureState=function(K,le){return K=K||"_geojsonTileLayer",this._state.getState(K,le)},ee.prototype.setDependencies=function(K,le,Te){var De=this._tiles[K];De&&De.setDependencies(le,Te)},ee.prototype.reloadTilesForDependencies=function(K,le){for(var Te in this._tiles)this._tiles[Te].hasDependency(K,le)&&this._reloadTile(Te,"reloading");this._cache.filter(function(De){return!De.hasDependency(K,le)})},ee}(i.Evented);function Re(Y,ee){var K=Math.abs(2*Y.wrap)-+(Y.wrap<0),le=Math.abs(2*ee.wrap)-+(ee.wrap<0);return Y.overscaledZ-ee.overscaledZ||le-K||ee.canonical.y-Y.canonical.y||ee.canonical.x-Y.canonical.x}function Ne(Y){return Y==="raster"||Y==="image"||Y==="video"}function Qe(){return new i.window.Worker(Mt.workerUrl)}ft.maxOverzooming=10,ft.maxUnderzooming=3;var ut="mapboxgl_preloaded_worker_pool",dt=function(){this.active={}};dt.prototype.acquire=function(Y){if(!this.workers)for(this.workers=[];this.workers.length0?(le-De)/He:0;return this.points[Te].mult(1-Ze).add(this.points[ee].mult(Ze))};var An=function(Y,ee,K){var le=this.boxCells=[],Te=this.circleCells=[];this.xCellCount=Math.ceil(Y/K),this.yCellCount=Math.ceil(ee/K);for(var De=0;De=-ee[0]&&K<=ee[0]&&le>=-ee[1]&&le<=ee[1]}function pn(Y,ee,K,le,Te,De,He,Ze){var at=le?Y.textSizeData:Y.iconSizeData,Tt=i.evaluateSizeForZoom(at,K.transform.zoom),At=[256/K.width*2+1,256/K.height*2+1],se=le?Y.text.dynamicLayoutVertexArray:Y.icon.dynamicLayoutVertexArray;se.clear();for(var ve=Y.lineVertexArray,Ie=le?Y.text.placedSymbolArray:Y.icon.placedSymbolArray,Fe=K.transform.width/K.transform.height,Ue=!1,We=0;WeMath.abs(K.x-ee.x)*le?{useVertical:!0}:(Y===i.WritingMode.vertical?ee.yK.x)?{needsFlipping:!0}:null}function jn(Y,ee,K,le,Te,De,He,Ze,at,Tt,At,se,ve,Ie){var Fe,Ue=ee/24,We=Y.lineOffsetX*Ue,Xe=Y.lineOffsetY*Ue;if(Y.numGlyphs>1){var tt=Y.glyphStartIndex+Y.numGlyphs,lt=Y.lineStartIndex,mt=Y.lineStartIndex+Y.lineLength,zt=Dn(Ue,Ze,We,Xe,K,At,se,Y,at,De,ve);if(!zt)return{notEnoughRoom:!0};var Ut=sn(zt.first.point,He).point,Ht=sn(zt.last.point,He).point;if(le&&!K){var en=In(Y.writingMode,Ut,Ht,Ie);if(en)return en}Fe=[zt.first];for(var vn=Y.glyphStartIndex+1;vn0?Cn.point:Gn(se,an,tn,1,Te),on=In(Y.writingMode,tn,_n,Ie);if(on)return on}var Fn=qn(Ue*Ze.getoffsetX(Y.glyphStartIndex),We,Xe,K,At,se,Y.segment,Y.lineStartIndex,Y.lineStartIndex+Y.lineLength,at,De,ve);if(!Fn)return{notEnoughRoom:!0};Fe=[Fn]}for(var Hn=0,ir=Fe;Hn0?1:-1,Fe=0;le&&(Ie*=-1,Fe=Math.PI),Ie<0&&(Fe+=Math.PI);for(var Ue=Ie>0?Ze+He:Ze+He+1,We=Te,Xe=Te,tt=0,lt=0,mt=Math.abs(ve),zt=[];tt+lt<=mt;){if((Ue+=Ie)=at)return null;if(Xe=We,zt.push(We),(We=se[Ue])===void 0){var Ut=new i.Point(Tt.getx(Ue),Tt.gety(Ue)),Ht=sn(Ut,At);if(Ht.signedDistanceFromCamera>0)We=se[Ue]=Ht.point;else{var en=Ue-Ie;We=Gn(tt===0?De:new i.Point(Tt.getx(en),Tt.gety(en)),Ut,Xe,mt-tt+1,At)}}tt+=lt,lt=Xe.dist(We)}var vn=(mt-tt)/lt,tn=We.sub(Xe),ln=tn.mult(vn)._add(Xe);ln._add(tn._unit()._perp()._mult(K*Ie));var an=Fe+Math.atan2(We.y-Xe.y,We.x-Xe.x);return zt.push(ln),{point:ln,angle:an,path:zt}}An.prototype.keysLength=function(){return this.boxKeys.length+this.circleKeys.length},An.prototype.insert=function(Y,ee,K,le,Te){this._forEachCell(ee,K,le,Te,this._insertBoxCell,this.boxUid++),this.boxKeys.push(Y),this.bboxes.push(ee),this.bboxes.push(K),this.bboxes.push(le),this.bboxes.push(Te)},An.prototype.insertCircle=function(Y,ee,K,le){this._forEachCell(ee-le,K-le,ee+le,K+le,this._insertCircleCell,this.circleUid++),this.circleKeys.push(Y),this.circles.push(ee),this.circles.push(K),this.circles.push(le)},An.prototype._insertBoxCell=function(Y,ee,K,le,Te,De){this.boxCells[Te].push(De)},An.prototype._insertCircleCell=function(Y,ee,K,le,Te,De){this.circleCells[Te].push(De)},An.prototype._query=function(Y,ee,K,le,Te,De){if(K<0||Y>this.width||le<0||ee>this.height)return!Te&&[];var He=[];if(Y<=0&&ee<=0&&this.width<=K&&this.height<=le){if(Te)return!0;for(var Ze=0;Ze0:He},An.prototype._queryCircle=function(Y,ee,K,le,Te){var De=Y-K,He=Y+K,Ze=ee-K,at=ee+K;if(He<0||De>this.width||at<0||Ze>this.height)return!le&&[];var Tt=[],At={hitTest:le,circle:{x:Y,y:ee,radius:K},seenUids:{box:{},circle:{}}};return this._forEachCell(De,Ze,He,at,this._queryCellCircle,Tt,At,Te),le?Tt.length>0:Tt},An.prototype.query=function(Y,ee,K,le,Te){return this._query(Y,ee,K,le,!1,Te)},An.prototype.hitTest=function(Y,ee,K,le,Te){return this._query(Y,ee,K,le,!0,Te)},An.prototype.hitTestCircle=function(Y,ee,K,le){return this._queryCircle(Y,ee,K,!0,le)},An.prototype._queryCell=function(Y,ee,K,le,Te,De,He,Ze){var at=He.seenUids,Tt=this.boxCells[Te];if(Tt!==null)for(var At=this.bboxes,se=0,ve=Tt;se=At[Fe+0]&&le>=At[Fe+1]&&(!Ze||Ze(this.boxKeys[Ie]))){if(He.hitTest)return De.push(!0),!0;De.push({key:this.boxKeys[Ie],x1:At[Fe],y1:At[Fe+1],x2:At[Fe+2],y2:At[Fe+3]})}}}var Ue=this.circleCells[Te];if(Ue!==null)for(var We=this.circles,Xe=0,tt=Ue;XeHe*He+Ze*Ze},An.prototype._circleAndRectCollide=function(Y,ee,K,le,Te,De,He){var Ze=(De-le)/2,at=Math.abs(Y-(le+Ze));if(at>Ze+K)return!1;var Tt=(He-Te)/2,At=Math.abs(ee-(Te+Tt));if(At>Tt+K)return!1;if(at<=Ze||At<=Tt)return!0;var se=at-Ze,ve=At-Tt;return se*se+ve*ve<=K*K};var lr=new Float32Array([-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0]);function rr(Y,ee){for(var K=0;K=1;_n--)Cn.push(ln.path[_n]);for(var on=1;on0){for(var ar=Cn[0].clone(),Mr=Cn[0].clone(),Er=1;Er=en.x&&Mr.x<=vn.x&&ar.y>=en.y&&Mr.y<=vn.y?[Cn]:Mr.xvn.x||Mr.yvn.y?[]:i.clipLine([Cn],en.x,en.y,vn.x,vn.y)}for(var xr=0,kr=ir;xr=this.screenRightBoundary||lethis.screenBottomBoundary},or.prototype.isInsideGrid=function(Y,ee,K,le){return K>=0&&Y=0&&ee0?(this.prevPlacement&&this.prevPlacement.variableOffsets[se.crossTileID]&&this.prevPlacement.placements[se.crossTileID]&&this.prevPlacement.placements[se.crossTileID].text&&(Ue=this.prevPlacement.variableOffsets[se.crossTileID].anchor),this.variableOffsets[se.crossTileID]={textOffset:We,width:K,height:le,anchor:Y,textBoxScale:Te,prevAnchor:Ue},this.markUsedJustification(ve,Y,se,Ie),ve.allowVerticalPlacement&&(this.markUsedOrientation(ve,Ie,se),this.placedOrientations[se.crossTileID]=Ie),{shift:Xe,placedGlyphBoxes:tt}):void 0},tr.prototype.placeLayerBucketPart=function(Y,ee,K){var le=this,Te=Y.parameters,De=Te.bucket,He=Te.layout,Ze=Te.posMatrix,at=Te.textLabelPlaneMatrix,Tt=Te.labelToScreenMatrix,At=Te.textPixelRatio,se=Te.holdingForFade,ve=Te.collisionBoxArray,Ie=Te.partiallyEvaluatedTextSize,Fe=Te.collisionGroup,Ue=He.get("text-optional"),We=He.get("icon-optional"),Xe=He.get("text-allow-overlap"),tt=He.get("icon-allow-overlap"),lt=He.get("text-rotation-alignment")==="map",mt=He.get("text-pitch-alignment")==="map",zt=He.get("icon-text-fit")!=="none",Ut=He.get("symbol-z-order")==="viewport-y",Ht=Xe&&(tt||!De.hasIconData()||We),en=tt&&(Xe||!De.hasTextData()||Ue);!De.collisionArrays&&ve&&De.deserializeCollisionBoxes(ve);var vn=function(on,Fn){if(!ee[on.crossTileID])if(se)le.placements[on.crossTileID]=new bn(!1,!1,!1);else{var Hn,ir=!1,ar=!1,Mr=!0,Er=null,xr={box:null,offscreen:null},kr={box:null,offscreen:null},jr=null,fi=null,di=0,wr=0,Ur=0;Fn.textFeatureIndex?di=Fn.textFeatureIndex:on.useRuntimeCollisionCircles&&(di=on.featureIndex),Fn.verticalTextFeatureIndex&&(wr=Fn.verticalTextFeatureIndex);var oi=Fn.textBox;if(oi){var ai=function(Ri){var Xa=i.WritingMode.horizontal;if(De.allowVerticalPlacement&&!Ri&&le.prevPlacement){var jo=le.prevPlacement.placedOrientations[on.crossTileID];jo&&(le.placedOrientations[on.crossTileID]=jo,Xa=jo,le.markUsedOrientation(De,Xa,on))}return Xa},Ii=function(Ri,Xa){if(De.allowVerticalPlacement&&on.numVerticalGlyphVertices>0&&Fn.verticalTextBox)for(var jo=0,Kc=De.writingModes;jo0&&(vi=vi.filter(function(Ri){return Ri!==Ni.anchor})).unshift(Ni.anchor)}var ta=function(Ri,Xa,jo){for(var Kc=Ri.x2-Ri.x1,f1=Ri.y2-Ri.y1,L0=on.textBoxScale,d1=zt&&!tt?Xa:null,_f={box:[],offscreen:!1},fg=Xe?2*vi.length:vi.length,od=0;od=vi.length,zh=le.attemptAnchorPlacement(wf,Ri,Kc,f1,L0,lt,mt,At,Ze,Fe,p1,on,De,jo,d1);if(zh&&(_f=zh.placedGlyphBoxes)&&_f.box&&_f.box.length){ir=!0,Er=zh.shift;break}}return _f};Ii(function(){return ta(oi,Fn.iconBox,i.WritingMode.horizontal)},function(){var Ri=Fn.verticalTextBox,Xa=xr&&xr.box&&xr.box.length;return De.allowVerticalPlacement&&!Xa&&on.numVerticalGlyphVertices>0&&Ri?ta(Ri,Fn.verticalIconBox,i.WritingMode.vertical):{box:null,offscreen:null}}),xr&&(ir=xr.box,Mr=xr.offscreen);var pa=ai(xr&&xr.box);if(!ir&&le.prevPlacement){var ua=le.prevPlacement.variableOffsets[on.crossTileID];ua&&(le.variableOffsets[on.crossTileID]=ua,le.markUsedJustification(De,ua.anchor,on,pa))}}else{var Qi=function(Ri,Xa){var jo=le.collisionIndex.placeCollisionBox(Ri,Xe,At,Ze,Fe.predicate);return jo&&jo.box&&jo.box.length&&(le.markUsedOrientation(De,Xa,on),le.placedOrientations[on.crossTileID]=Xa),jo};Ii(function(){return Qi(oi,i.WritingMode.horizontal)},function(){var Ri=Fn.verticalTextBox;return De.allowVerticalPlacement&&on.numVerticalGlyphVertices>0&&Ri?Qi(Ri,i.WritingMode.vertical):{box:null,offscreen:null}}),ai(xr&&xr.box&&xr.box.length)}}if(ir=(Hn=xr)&&Hn.box&&Hn.box.length>0,Mr=Hn&&Hn.offscreen,on.useRuntimeCollisionCircles){var na=De.text.placedSymbolArray.get(on.centerJustifiedTextSymbolIndex),ca=i.evaluateSizeForFeature(De.textSizeData,Ie,na),Ia=He.get("text-padding"),Dl=on.collisionCircleDiameter;jr=le.collisionIndex.placeCollisionCircles(Xe,na,De.lineVertexArray,De.glyphOffsetArray,ca,Ze,at,Tt,K,mt,Fe.predicate,Dl,Ia),ir=Xe||jr.circles.length>0&&!jr.collisionDetected,Mr=Mr&&jr.offscreen}if(Fn.iconFeatureIndex&&(Ur=Fn.iconFeatureIndex),Fn.iconBox){var Za=function(Ri){var Xa=zt&&Er?$n(Ri,Er.x,Er.y,lt,mt,le.transform.angle):Ri;return le.collisionIndex.placeCollisionBox(Xa,tt,At,Ze,Fe.predicate)};ar=kr&&kr.box&&kr.box.length&&Fn.verticalIconBox?(fi=Za(Fn.verticalIconBox)).box.length>0:(fi=Za(Fn.iconBox)).box.length>0,Mr=Mr&&fi.offscreen}var li=Ue||on.numHorizontalGlyphVertices===0&&on.numVerticalGlyphVertices===0,ho=We||on.numIconVertices===0;if(li||ho?ho?li||(ar=ar&&ir):ir=ar&&ir:ar=ir=ar&&ir,ir&&Hn&&Hn.box&&(kr&&kr.box&&wr?le.collisionIndex.insertCollisionBox(Hn.box,He.get("text-ignore-placement"),De.bucketInstanceId,wr,Fe.ID):le.collisionIndex.insertCollisionBox(Hn.box,He.get("text-ignore-placement"),De.bucketInstanceId,di,Fe.ID)),ar&&fi&&le.collisionIndex.insertCollisionBox(fi.box,He.get("icon-ignore-placement"),De.bucketInstanceId,Ur,Fe.ID),jr&&(ir&&le.collisionIndex.insertCollisionCircles(jr.circles,He.get("text-ignore-placement"),De.bucketInstanceId,di,Fe.ID),K)){var _o=De.bucketInstanceId,Aa=le.collisionCircleArrays[_o];Aa===void 0&&(Aa=le.collisionCircleArrays[_o]=new Rn);for(var Ps=0;Ps=0;--ln){var an=tn[ln];vn(De.symbolInstances.get(an),De.collisionArrays[an])}else for(var Cn=Y.symbolInstanceStart;Cn=0&&(Y.text.placedSymbolArray.get(at).crossTileID=Te>=0&&at!==Te?0:K.crossTileID)}},tr.prototype.markUsedOrientation=function(Y,ee,K){for(var le=ee===i.WritingMode.horizontal||ee===i.WritingMode.horizontalOnly?ee:0,Te=ee===i.WritingMode.vertical?ee:0,De=0,He=[K.leftJustifiedTextSymbolIndex,K.centerJustifiedTextSymbolIndex,K.rightJustifiedTextSymbolIndex];De0||mt>0,vn=tt.numIconVertices>0,tn=le.placedOrientations[tt.crossTileID],ln=tn===i.WritingMode.vertical,an=tn===i.WritingMode.horizontal||tn===i.WritingMode.horizontalOnly;if(en){var Cn=En(Ht.text),_n=ln?mn:Cn;Ie(Y.text,lt,_n);var on=an?mn:Cn;Ie(Y.text,mt,on);var Fn=Ht.text.isHidden();[tt.rightJustifiedTextSymbolIndex,tt.centerJustifiedTextSymbolIndex,tt.leftJustifiedTextSymbolIndex].forEach(function(Ur){Ur>=0&&(Y.text.placedSymbolArray.get(Ur).hidden=Fn||ln?1:0)}),tt.verticalPlacedTextSymbolIndex>=0&&(Y.text.placedSymbolArray.get(tt.verticalPlacedTextSymbolIndex).hidden=Fn||an?1:0);var Hn=le.variableOffsets[tt.crossTileID];Hn&&le.markUsedJustification(Y,Hn.anchor,tt,tn);var ir=le.placedOrientations[tt.crossTileID];ir&&(le.markUsedJustification(Y,"left",tt,ir),le.markUsedOrientation(Y,ir,tt))}if(vn){var ar=En(Ht.icon),Mr=!(se&&tt.verticalPlacedIconSymbolIndex&&ln);if(tt.placedIconSymbolIndex>=0){var Er=Mr?ar:mn;Ie(Y.icon,tt.numIconVertices,Er),Y.icon.placedSymbolArray.get(tt.placedIconSymbolIndex).hidden=Ht.icon.isHidden()}if(tt.verticalPlacedIconSymbolIndex>=0){var xr=Mr?mn:ar;Ie(Y.icon,tt.numVerticalIconVertices,xr),Y.icon.placedSymbolArray.get(tt.verticalPlacedIconSymbolIndex).hidden=Ht.icon.isHidden()}}if(Y.hasIconCollisionBoxData()||Y.hasTextCollisionBoxData()){var kr=Y.collisionArrays[Xe];if(kr){var jr=new i.Point(0,0);if(kr.textBox||kr.verticalTextBox){var fi=!0;if(at){var di=le.variableOffsets[zt];di?(jr=Kn(di.anchor,di.width,di.height,di.textOffset,di.textBoxScale),Tt&&jr._rotate(At?le.transform.angle:-le.transform.angle)):fi=!1}kr.textBox&&mr(Y.textCollisionBox.collisionVertexArray,Ht.text.placed,!fi||ln,jr.x,jr.y),kr.verticalTextBox&&mr(Y.textCollisionBox.collisionVertexArray,Ht.text.placed,!fi||an,jr.x,jr.y)}var wr=!!(!an&&kr.verticalIconBox);kr.iconBox&&mr(Y.iconCollisionBox.collisionVertexArray,Ht.icon.placed,wr,se?jr.x:0,se?jr.y:0),kr.verticalIconBox&&mr(Y.iconCollisionBox.collisionVertexArray,Ht.icon.placed,!wr,se?jr.x:0,se?jr.y:0)}}},Ue=0;UeY},tr.prototype.setStale=function(){this.stale=!0};var nn=Math.pow(2,25),Pn=Math.pow(2,24),jt=Math.pow(2,17),Jt=Math.pow(2,16),hn=Math.pow(2,9),zn=Math.pow(2,8),On=Math.pow(2,1);function En(Y){if(Y.opacity===0&&!Y.placed)return 0;if(Y.opacity===1&&Y.placed)return 4294967295;var ee=Y.placed?1:0,K=Math.floor(127*Y.opacity);return K*nn+ee*Pn+K*jt+ee*Jt+K*hn+ee*zn+K*On+ee}var mn=0,wn=function(Y){this._sortAcrossTiles=Y.layout.get("symbol-z-order")!=="viewport-y"&&Y.layout.get("symbol-sort-key").constantOr(1)!==void 0,this._currentTileIndex=0,this._currentPartIndex=0,this._seenCrossTileIDs={},this._bucketParts=[]};wn.prototype.continuePlacement=function(Y,ee,K,le,Te){for(var De=this._bucketParts;this._currentTileIndex2};this._currentPlacementIndex>=0;){var He=ee[Y[this._currentPlacementIndex]],Ze=this.placement.collisionIndex.transform.zoom;if(He.type==="symbol"&&(!He.minzoom||He.minzoom<=Ze)&&(!He.maxzoom||He.maxzoom>Ze)){if(this._inProgressLayer||(this._inProgressLayer=new wn(He)),this._inProgressLayer.continuePlacement(K[He.source],this.placement,this._showCollisionBoxes,He,De))return;delete this._inProgressLayer}this._currentPlacementIndex--}this._done=!0},gn.prototype.commit=function(Y){return this.placement.commit(Y),this.placement};var yn=512/i.EXTENT/2,Sn=function(Y,ee,K){this.tileID=Y,this.indexedSymbolInstances={},this.bucketInstanceId=K;for(var le=0;leY.overscaledZ)for(var Ze in He){var at=He[Ze];at.tileID.isChildOf(Y)&&at.findMatches(ee.symbolInstances,Y,Te)}else{var Tt=He[Y.scaledTo(Number(De)).key];Tt&&Tt.findMatches(ee.symbolInstances,Y,Te)}}for(var At=0;At1?"@2x":"",se=i.getJSON(De.transformRequest(De.normalizeSpriteURL(Te,At,".json"),i.ResourceType.SpriteJSON),function(Fe,Ue){se=null,Tt||(Tt=Fe,Ze=Ue,Ie())}),ve=i.getImage(De.transformRequest(De.normalizeSpriteURL(Te,At,".png"),i.ResourceType.SpriteImage),function(Fe,Ue){ve=null,Tt||(Tt=Fe,at=Ue,Ie())});function Ie(){if(Tt)He(Tt);else if(Ze&&at){var Fe=i.browser.getImageData(at),Ue={};for(var We in Ze){var Xe=Ze[We],tt=Xe.width,lt=Xe.height,mt=Xe.x,zt=Xe.y,Ut=Xe.sdf,Ht=Xe.pixelRatio,en=Xe.stretchX,vn=Xe.stretchY,tn=Xe.content,ln=new i.RGBAImage({width:tt,height:lt});i.RGBAImage.copy(Fe,ln,{x:mt,y:zt},{x:0,y:0},{width:tt,height:lt}),Ue[We]={data:ln,pixelRatio:Ht,sdf:Ut,stretchX:en,stretchY:vn,content:tn}}He(null,Ue)}}return{cancel:function(){se&&(se.cancel(),se=null),ve&&(ve.cancel(),ve=null)}}}(K,this.map._requestManager,function(Te,De){if(le._spriteRequest=null,Te)le.fire(new i.ErrorEvent(Te));else if(De)for(var He in De)le.imageManager.addImage(He,De[He]);le.imageManager.setLoaded(!0),le._availableImages=le.imageManager.listImages(),le.dispatcher.broadcast("setImages",le._availableImages),le.fire(new i.Event("data",{dataType:"style"}))})},ee.prototype._validateLayer=function(K){var le=this.sourceCaches[K.source];if(le){var Te=K.sourceLayer;if(Te){var De=le.getSource();(De.type==="geojson"||De.vectorLayerIds&&De.vectorLayerIds.indexOf(Te)===-1)&&this.fire(new i.ErrorEvent(new Error('Source layer "'+Te+'" does not exist on source "'+De.id+'" as specified by style layer "'+K.id+'"')))}}},ee.prototype.loaded=function(){if(!this._loaded||Object.keys(this._updatedSources).length)return!1;for(var K in this.sourceCaches)if(!this.sourceCaches[K].loaded())return!1;return!!this.imageManager.isLoaded()},ee.prototype._serializeLayers=function(K){for(var le=[],Te=0,De=K;Te0)throw new Error("Unimplemented: "+De.map(function(He){return He.command}).join(", ")+".");return Te.forEach(function(He){He.command!=="setTransition"&&le[He.command].apply(le,He.args)}),this.stylesheet=K,!0},ee.prototype.addImage=function(K,le){if(this.getImage(K))return this.fire(new i.ErrorEvent(new Error("An image with this name already exists.")));this.imageManager.addImage(K,le),this._availableImages=this.imageManager.listImages(),this._changedImages[K]=!0,this._changed=!0,this.fire(new i.Event("data",{dataType:"style"}))},ee.prototype.updateImage=function(K,le){this.imageManager.updateImage(K,le)},ee.prototype.getImage=function(K){return this.imageManager.getImage(K)},ee.prototype.removeImage=function(K){if(!this.getImage(K))return this.fire(new i.ErrorEvent(new Error("No image with this name exists.")));this.imageManager.removeImage(K),this._availableImages=this.imageManager.listImages(),this._changedImages[K]=!0,this._changed=!0,this.fire(new i.Event("data",{dataType:"style"}))},ee.prototype.listImages=function(){return this._checkLoaded(),this.imageManager.listImages()},ee.prototype.addSource=function(K,le,Te){var De=this;if(Te===void 0&&(Te={}),this._checkLoaded(),this.sourceCaches[K]!==void 0)throw new Error("There is already a source with this ID");if(!le.type)throw new Error("The type property must be defined, but the only the following properties were given: "+Object.keys(le).join(", ")+".");if(!(["vector","raster","geojson","video","image"].indexOf(le.type)>=0&&this._validate(i.validateStyle.source,"sources."+K,le,null,Te))){this.map&&this.map._collectResourceTiming&&(le.collectResourceTiming=!0);var He=this.sourceCaches[K]=new ft(K,le,this.dispatcher);He.style=this,He.setEventedParent(this,function(){return{isSourceLoaded:De.loaded(),source:He.serialize(),sourceId:K}}),He.onAdd(this.map),this._changed=!0}},ee.prototype.removeSource=function(K){if(this._checkLoaded(),this.sourceCaches[K]===void 0)throw new Error("There is no source with this ID");for(var le in this._layers)if(this._layers[le].source===K)return this.fire(new i.ErrorEvent(new Error('Source "'+K+'" cannot be removed while layer "'+le+'" is using it.')));var Te=this.sourceCaches[K];delete this.sourceCaches[K],delete this._updatedSources[K],Te.fire(new i.Event("data",{sourceDataType:"metadata",dataType:"source",sourceId:K})),Te.setEventedParent(null),Te.clearTiles(),Te.onRemove&&Te.onRemove(this.map),this._changed=!0},ee.prototype.setGeoJSONSourceData=function(K,le){this._checkLoaded(),this.sourceCaches[K].getSource().setData(le),this._changed=!0},ee.prototype.getSource=function(K){return this.sourceCaches[K]&&this.sourceCaches[K].getSource()},ee.prototype.addLayer=function(K,le,Te){Te===void 0&&(Te={}),this._checkLoaded();var De=K.id;if(this.getLayer(De))this.fire(new i.ErrorEvent(new Error('Layer with id "'+De+'" already exists on this map')));else{var He;if(K.type==="custom"){if(Qn(this,i.validateCustomStyleLayer(K)))return;He=i.createStyleLayer(K)}else{if(typeof K.source=="object"&&(this.addSource(De,K.source),K=i.clone$1(K),K=i.extend(K,{source:De})),this._validate(i.validateStyle.layer,"layers."+De,K,{arrayIndex:-1},Te))return;He=i.createStyleLayer(K),this._validateLayer(He),He.setEventedParent(this,{layer:{id:De}}),this._serializedLayers[He.id]=He.serialize()}var Ze=le?this._order.indexOf(le):this._order.length;if(le&&Ze===-1)this.fire(new i.ErrorEvent(new Error('Layer with id "'+le+'" does not exist on this map.')));else{if(this._order.splice(Ze,0,De),this._layerOrderChanged=!0,this._layers[De]=He,this._removedLayers[De]&&He.source&&He.type!=="custom"){var at=this._removedLayers[De];delete this._removedLayers[De],at.type!==He.type?this._updatedSources[He.source]="clear":(this._updatedSources[He.source]="reload",this.sourceCaches[He.source].pause())}this._updateLayer(He),He.onAdd&&He.onAdd(this.map)}}},ee.prototype.moveLayer=function(K,le){if(this._checkLoaded(),this._changed=!0,this._layers[K]){if(K!==le){var Te=this._order.indexOf(K);this._order.splice(Te,1);var De=le?this._order.indexOf(le):this._order.length;le&&De===-1?this.fire(new i.ErrorEvent(new Error('Layer with id "'+le+'" does not exist on this map.'))):(this._order.splice(De,0,K),this._layerOrderChanged=!0)}}else this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be moved.")))},ee.prototype.removeLayer=function(K){this._checkLoaded();var le=this._layers[K];if(le){le.setEventedParent(null);var Te=this._order.indexOf(K);this._order.splice(Te,1),this._layerOrderChanged=!0,this._changed=!0,this._removedLayers[K]=le,delete this._layers[K],delete this._serializedLayers[K],delete this._updatedLayers[K],delete this._updatedPaintProps[K],le.onRemove&&le.onRemove(this.map)}else this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be removed.")))},ee.prototype.getLayer=function(K){return this._layers[K]},ee.prototype.hasLayer=function(K){return K in this._layers},ee.prototype.setLayerZoomRange=function(K,le,Te){this._checkLoaded();var De=this.getLayer(K);De?De.minzoom===le&&De.maxzoom===Te||(le!=null&&(De.minzoom=le),Te!=null&&(De.maxzoom=Te),this._updateLayer(De)):this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot have zoom extent.")))},ee.prototype.setFilter=function(K,le,Te){Te===void 0&&(Te={}),this._checkLoaded();var De=this.getLayer(K);if(De){if(!i.deepEqual(De.filter,le))return le==null?(De.filter=void 0,void this._updateLayer(De)):void(this._validate(i.validateStyle.filter,"layers."+De.id+".filter",le,null,Te)||(De.filter=i.clone$1(le),this._updateLayer(De)))}else this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be filtered.")))},ee.prototype.getFilter=function(K){return i.clone$1(this.getLayer(K).filter)},ee.prototype.setLayoutProperty=function(K,le,Te,De){De===void 0&&(De={}),this._checkLoaded();var He=this.getLayer(K);He?i.deepEqual(He.getLayoutProperty(le),Te)||(He.setLayoutProperty(le,Te,De),this._updateLayer(He)):this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be styled.")))},ee.prototype.getLayoutProperty=function(K,le){var Te=this.getLayer(K);if(Te)return Te.getLayoutProperty(le);this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style.")))},ee.prototype.setPaintProperty=function(K,le,Te,De){De===void 0&&(De={}),this._checkLoaded();var He=this.getLayer(K);He?i.deepEqual(He.getPaintProperty(le),Te)||(He.setPaintProperty(le,Te,De)&&this._updateLayer(He),this._changed=!0,this._updatedPaintProps[K]=!0):this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be styled.")))},ee.prototype.getPaintProperty=function(K,le){return this.getLayer(K).getPaintProperty(le)},ee.prototype.setFeatureState=function(K,le){this._checkLoaded();var Te=K.source,De=K.sourceLayer,He=this.sourceCaches[Te];if(He!==void 0){var Ze=He.getSource().type;Ze==="geojson"&&De?this.fire(new i.ErrorEvent(new Error("GeoJSON sources cannot have a sourceLayer parameter."))):Ze!=="vector"||De?(K.id===void 0&&this.fire(new i.ErrorEvent(new Error("The feature id parameter must be provided."))),He.setFeatureState(De,K.id,le)):this.fire(new i.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new i.ErrorEvent(new Error("The source '"+Te+"' does not exist in the map's style.")))},ee.prototype.removeFeatureState=function(K,le){this._checkLoaded();var Te=K.source,De=this.sourceCaches[Te];if(De!==void 0){var He=De.getSource().type,Ze=He==="vector"?K.sourceLayer:void 0;He!=="vector"||Ze?le&&typeof K.id!="string"&&typeof K.id!="number"?this.fire(new i.ErrorEvent(new Error("A feature id is requred to remove its specific state property."))):De.removeFeatureState(Ze,K.id,le):this.fire(new i.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new i.ErrorEvent(new Error("The source '"+Te+"' does not exist in the map's style.")))},ee.prototype.getFeatureState=function(K){this._checkLoaded();var le=K.source,Te=K.sourceLayer,De=this.sourceCaches[le];if(De!==void 0){if(De.getSource().type!=="vector"||Te)return K.id===void 0&&this.fire(new i.ErrorEvent(new Error("The feature id parameter must be provided."))),De.getFeatureState(Te,K.id);this.fire(new i.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new i.ErrorEvent(new Error("The source '"+le+"' does not exist in the map's style.")))},ee.prototype.getTransition=function(){return i.extend({duration:300,delay:0},this.stylesheet&&this.stylesheet.transition)},ee.prototype.serialize=function(){return i.filterObject({version:this.stylesheet.version,name:this.stylesheet.name,metadata:this.stylesheet.metadata,light:this.stylesheet.light,center:this.stylesheet.center,zoom:this.stylesheet.zoom,bearing:this.stylesheet.bearing,pitch:this.stylesheet.pitch,sprite:this.stylesheet.sprite,glyphs:this.stylesheet.glyphs,transition:this.stylesheet.transition,sources:i.mapObject(this.sourceCaches,function(K){return K.serialize()}),layers:this._serializeLayers(this._order)},function(K){return K!==void 0})},ee.prototype._updateLayer=function(K){this._updatedLayers[K.id]=!0,K.source&&!this._updatedSources[K.source]&&this.sourceCaches[K.source].getSource().type!=="raster"&&(this._updatedSources[K.source]="reload",this.sourceCaches[K.source].pause()),this._changed=!0},ee.prototype._flattenAndSortRenderedFeatures=function(K){for(var le=this,Te=function(tn){return le._layers[tn].type==="fill-extrusion"},De={},He=[],Ze=this._order.length-1;Ze>=0;Ze--){var at=this._order[Ze];if(Te(at)){De[at]=Ze;for(var Tt=0,At=K;Tt=0;We--){var Xe=this._order[We];if(Te(Xe))for(var tt=He.length-1;tt>=0;tt--){var lt=He[tt].feature;if(De[lt.layer.id]2){for(var O=Array(.5*A.position.length),z=0;z2){for(var B=!A.position[0].length,N=a.mallocFloat(2*this.count),W=0,j=0;W1?L.align[fe]:L.align[0]:L.align;if(typeof be=="number")return be;switch(be){case"right":case"end":return-ae;case"center":case"centre":case"middle":return .5*-ae}return 0})),this.baseline==null&&A.baseline==null&&(A.baseline=0),A.baseline!=null&&(this.baseline=A.baseline,Array.isArray(this.baseline)||(this.baseline=[this.baseline]),this.baselineOffset=this.baseline.map(function(ae,fe){var be=(L.font[fe]||L.font[0]).metrics,ke=0;return ke+=.5*be.bottom,-1*(ke+=typeof ae=="number"?ae-be.baseline:-be[ae])})),A.color!=null)if(A.color||(A.color="transparent"),typeof A.color!="string"&&isNaN(A.color)){var me;if(typeof A.color[0]=="number"&&A.color.length>this.counts.length){var pe=A.color.length;me=a.mallocUint8(pe);for(var xe=(A.color.subarray||A.color.slice).bind(A.color),Pe=0;Pe4||this.baselineOffset.length>1||this.align&&this.align.length>1||this.fontAtlas.length>1||this.positionOffset.length>2){var Se=Math.max(.5*this.position.length||0,.25*this.color.length||0,this.baselineOffset.length||0,this.alignOffset.length||0,this.font.length||0,this.opacity.length||0,.5*this.positionOffset.length||0);this.batch=Array(Se);for(var Ce=0;Ce1?this.counts[Ce]:this.counts[0],offset:this.textOffsets.length>1?this.textOffsets[Ce]:this.textOffsets[0],color:this.color?this.color.length<=4?this.color:this.color.subarray(4*Ce,4*Ce+4):[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[Ce]:this.opacity,baseline:this.baselineOffset[Ce]!=null?this.baselineOffset[Ce]:this.baselineOffset[0],align:this.align?this.alignOffset[Ce]!=null?this.alignOffset[Ce]:this.alignOffset[0]:0,atlas:this.fontAtlas[Ce]||this.fontAtlas[0],positionOffset:this.positionOffset.length>2?this.positionOffset.subarray(2*Ce,2*Ce+2):this.positionOffset}}else this.count?this.batch=[{count:this.count,offset:0,color:this.color||[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[0]:this.opacity,baseline:this.baselineOffset[0],align:this.alignOffset?this.alignOffset[0]:0,atlas:this.fontAtlas[0],positionOffset:this.positionOffset}]:this.batch=[]},x.prototype.destroy=function(){},x.prototype.kerning=!0,x.prototype.position={constant:new Float32Array(2)},x.prototype.translate=null,x.prototype.scale=null,x.prototype.font=null,x.prototype.text="",x.prototype.positionOffset=[0,0],x.prototype.opacity=1,x.prototype.color=new Uint8Array([0,0,0,255]),x.prototype.alignOffset=[0,0],x.maxAtlasSize=1024,x.atlasCanvas=document.createElement("canvas"),x.atlasContext=x.atlasCanvas.getContext("2d",{alpha:!1}),x.baseFontSize=64,x.fonts={},T.exports=x},12018:function(T,p,t){var d=t(71299);function g(v){if(v.container)if(v.container==document.body)document.body.style.width||(v.canvas.width=v.width||v.pixelRatio*t.g.innerWidth),document.body.style.height||(v.canvas.height=v.height||v.pixelRatio*t.g.innerHeight);else{var f=v.container.getBoundingClientRect();v.canvas.width=v.width||f.right-f.left,v.canvas.height=v.height||f.bottom-f.top}}function i(v){return typeof v.getContext=="function"&&"width"in v&&"height"in v}function M(){var v=document.createElement("canvas");return v.style.position="absolute",v.style.top=0,v.style.left=0,v}T.exports=function(v){var f;if(v?typeof v=="string"&&(v={container:v}):v={},(v=i(v)||typeof(f=v).nodeName=="string"&&typeof f.appendChild=="function"&&typeof f.getBoundingClientRect=="function"?{container:v}:function(a){return typeof a.drawArrays=="function"||typeof a.drawElements=="function"}(v)?{gl:v}:d(v,{container:"container target element el canvas holder parent parentNode wrapper use ref root node",gl:"gl context webgl glContext",attrs:"attributes attrs contextAttributes",pixelRatio:"pixelRatio pxRatio px ratio pxratio pixelratio",width:"w width",height:"h height"},!0)).pixelRatio||(v.pixelRatio=t.g.pixelRatio||1),v.gl)return v.gl;if(v.canvas&&(v.container=v.canvas.parentNode),v.container){if(typeof v.container=="string"){var l=document.querySelector(v.container);if(!l)throw Error("Element "+v.container+" is not found");v.container=l}i(v.container)?(v.canvas=v.container,v.container=v.canvas.parentNode):v.canvas||(v.canvas=M(),v.container.appendChild(v.canvas),g(v))}else if(!v.canvas){if(typeof document>"u")throw Error("Not DOM environment. Use headless-gl.");v.container=document.body||document.documentElement,v.canvas=M(),v.container.appendChild(v.canvas),g(v)}return v.gl||["webgl","experimental-webgl","webgl-experimental"].some(function(a){try{v.gl=v.canvas.getContext(a,v.attrs)}catch{}return v.gl}),v.gl}},56068:function(T){T.exports=function(p){typeof p=="string"&&(p=[p]);for(var t=[].slice.call(arguments,1),d=[],g=0;g>1,o=-7,s=g?M-1:0,h=g?-1:1,c=t[d+s];for(s+=h,v=c&(1<<-o)-1,c>>=-o,o+=l;o>0;v=256*v+t[d+s],s+=h,o-=8);for(f=v&(1<<-o)-1,v>>=-o,o+=i;o>0;f=256*f+t[d+s],s+=h,o-=8);if(v===0)v=1-u;else{if(v===a)return f?NaN:1/0*(c?-1:1);f+=Math.pow(2,i),v-=u}return(c?-1:1)*f*Math.pow(2,v-i)},p.write=function(t,d,g,i,M,v){var f,l,a,u=8*v-M-1,o=(1<>1,h=M===23?Math.pow(2,-24)-Math.pow(2,-77):0,c=i?0:v-1,m=i?1:-1,w=d<0||d===0&&1/d<0?1:0;for(d=Math.abs(d),isNaN(d)||d===1/0?(l=isNaN(d)?1:0,f=o):(f=Math.floor(Math.log(d)/Math.LN2),d*(a=Math.pow(2,-f))<1&&(f--,a*=2),(d+=f+s>=1?h/a:h*Math.pow(2,1-s))*a>=2&&(f++,a/=2),f+s>=o?(l=0,f=o):f+s>=1?(l=(d*a-1)*Math.pow(2,M),f+=s):(l=d*Math.pow(2,s-1)*Math.pow(2,M),f=0));M>=8;t[g+c]=255&l,c+=m,l/=256,M-=8);for(f=f<0;t[g+c]=255&f,c+=m,f/=256,u-=8);t[g+c-m]|=128*w}},42018:function(T){typeof Object.create=="function"?T.exports=function(p,t){t&&(p.super_=t,p.prototype=Object.create(t.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}))}:T.exports=function(p,t){if(t){p.super_=t;var d=function(){};d.prototype=t.prototype,p.prototype=new d,p.prototype.constructor=p}}},47216:function(T,p,t){var d=t(84543)(),g=t(6614)("Object.prototype.toString"),i=function(f){return!(d&&f&&typeof f=="object"&&Symbol.toStringTag in f)&&g(f)==="[object Arguments]"},M=function(f){return!!i(f)||f!==null&&typeof f=="object"&&typeof f.length=="number"&&f.length>=0&&g(f)!=="[object Array]"&&g(f.callee)==="[object Function]"},v=function(){return i(arguments)}();i.isLegacyArguments=M,T.exports=v?i:M},54404:function(T){T.exports=!0},85395:function(T){var p,t,d=Function.prototype.toString,g=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply;if(typeof g=="function"&&typeof Object.defineProperty=="function")try{p=Object.defineProperty({},"length",{get:function(){throw t}}),t={},g(function(){throw 42},null,p)}catch(s){s!==t&&(g=null)}else g=null;var i=/^\s*class\b/,M=function(s){try{var h=d.call(s);return i.test(h)}catch{return!1}},v=function(s){try{return!M(s)&&(d.call(s),!0)}catch{return!1}},f=Object.prototype.toString,l=typeof Symbol=="function"&&!!Symbol.toStringTag,a=!(0 in[,]),u=function(){return!1};if(typeof document=="object"){var o=document.all;f.call(o)===f.call(document.all)&&(u=function(s){if((a||!s)&&(s===void 0||typeof s=="object"))try{var h=f.call(s);return(h==="[object HTMLAllCollection]"||h==="[object HTML document.all class]"||h==="[object HTMLCollection]"||h==="[object Object]")&&s("")==null}catch{}return!1})}T.exports=g?function(s){if(u(s))return!0;if(!s||typeof s!="function"&&typeof s!="object")return!1;try{g(s,null,p)}catch(h){if(h!==t)return!1}return!M(s)&&v(s)}:function(s){if(u(s))return!0;if(!s||typeof s!="function"&&typeof s!="object")return!1;if(l)return v(s);if(M(s))return!1;var h=f.call(s);return!(h!=="[object Function]"&&h!=="[object GeneratorFunction]"&&!/^\[object HTML/.test(h))&&v(s)}},65481:function(T,p,t){var d,g=Object.prototype.toString,i=Function.prototype.toString,M=/^\s*(?:function)?\*/,v=t(84543)(),f=Object.getPrototypeOf;T.exports=function(l){if(typeof l!="function")return!1;if(M.test(i.call(l)))return!0;if(!v)return g.call(l)==="[object GeneratorFunction]";if(!f)return!1;if(d===void 0){var a=function(){if(!v)return!1;try{return Function("return function*() {}")()}catch{}}();d=!!a&&f(a)}return f(l)===d}},62683:function(T){T.exports=typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||/Trident\//.test(navigator.appVersion))},64274:function(T){T.exports=function(p){return p!=p}},15567:function(T,p,t){var d=t(68222),g=t(17045),i=t(64274),M=t(14922),v=t(22442),f=d(M(),Number);g(f,{getPolyfill:M,implementation:i,shim:v}),T.exports=f},14922:function(T,p,t){var d=t(64274);T.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:d}},22442:function(T,p,t){var d=t(17045),g=t(14922);T.exports=function(){var i=g();return d(Number,{isNaN:i},{isNaN:function(){return Number.isNaN!==i}}),i}},64941:function(T){T.exports=function(p){var t=typeof p;return p!==null&&(t==="object"||t==="function")}},10973:function(T){var p=Object.prototype.toString;T.exports=function(t){var d;return p.call(t)==="[object Object]"&&((d=Object.getPrototypeOf(t))===null||d===Object.getPrototypeOf({}))}},18546:function(T){T.exports=function(p){for(var t,d=p.length,g=0;g13)&&t!==32&&t!==133&&t!==160&&t!==5760&&t!==6158&&(t<8192||t>8205)&&t!==8232&&t!==8233&&t!==8239&&t!==8287&&t!==8288&&t!==12288&&t!==65279)return!1;return!0}},89546:function(T){T.exports=function(p){return typeof p=="string"&&(p=p.trim(),!!(/^[mzlhvcsqta]\s*[-+.0-9][^mlhvzcsqta]+/i.test(p)&&/[\dz]$/i.test(p)&&p.length>4))}},9187:function(T,p,t){var d=t(31353),g=t(72077),i=t(6614),M=i("Object.prototype.toString"),v=t(84543)(),f=t(40383),l=typeof globalThis>"u"?t.g:globalThis,a=g(),u=i("Array.prototype.indexOf",!0)||function(c,m){for(var w=0;w-1}return!!f&&function(w){var y=!1;return d(s,function(C,_){if(!y)try{y=C.call(w)===_}catch{}}),y}(c)}},44517:function(T){T.exports=function(){var p,t,d;function g(i,M){if(p)if(t){var v="var sharedChunk = {}; ("+p+")(sharedChunk); ("+t+")(sharedChunk);",f={};p(f),(d=M(f)).workerUrl=window.URL.createObjectURL(new Blob([v],{type:"text/javascript"}))}else t=M;else p=M}return g(0,function(i){function M(P,V){return P(V={exports:{}},V.exports),V.exports}var v="1.10.1",f=l;function l(P,V,J,he){this.cx=3*P,this.bx=3*(J-P)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*V,this.by=3*(he-V)-this.cy,this.ay=1-this.cy-this.by,this.p1x=P,this.p1y=he,this.p2x=J,this.p2y=he}l.prototype.sampleCurveX=function(P){return((this.ax*P+this.bx)*P+this.cx)*P},l.prototype.sampleCurveY=function(P){return((this.ay*P+this.by)*P+this.cy)*P},l.prototype.sampleCurveDerivativeX=function(P){return(3*this.ax*P+2*this.bx)*P+this.cx},l.prototype.solveCurveX=function(P,V){var J,he,Ae,Oe,Ge;for(V===void 0&&(V=1e-6),Ae=P,Ge=0;Ge<8;Ge++){if(Oe=this.sampleCurveX(Ae)-P,Math.abs(Oe)(he=1))return he;for(;JOe?J=Ae:he=Ae,Ae=.5*(he-J)+J}return Ae},l.prototype.solve=function(P,V){return this.sampleCurveY(this.solveCurveX(P,V))};var a=u;function u(P,V){this.x=P,this.y=V}function o(P,V,J,he){var Ae=new f(P,V,J,he);return function(Oe){return Ae.solve(Oe)}}u.prototype={clone:function(){return new u(this.x,this.y)},add:function(P){return this.clone()._add(P)},sub:function(P){return this.clone()._sub(P)},multByPoint:function(P){return this.clone()._multByPoint(P)},divByPoint:function(P){return this.clone()._divByPoint(P)},mult:function(P){return this.clone()._mult(P)},div:function(P){return this.clone()._div(P)},rotate:function(P){return this.clone()._rotate(P)},rotateAround:function(P,V){return this.clone()._rotateAround(P,V)},matMult:function(P){return this.clone()._matMult(P)},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(P){return this.x===P.x&&this.y===P.y},dist:function(P){return Math.sqrt(this.distSqr(P))},distSqr:function(P){var V=P.x-this.x,J=P.y-this.y;return V*V+J*J},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(P){return Math.atan2(this.y-P.y,this.x-P.x)},angleWith:function(P){return this.angleWithSep(P.x,P.y)},angleWithSep:function(P,V){return Math.atan2(this.x*V-this.y*P,this.x*P+this.y*V)},_matMult:function(P){var V=P[0]*this.x+P[1]*this.y,J=P[2]*this.x+P[3]*this.y;return this.x=V,this.y=J,this},_add:function(P){return this.x+=P.x,this.y+=P.y,this},_sub:function(P){return this.x-=P.x,this.y-=P.y,this},_mult:function(P){return this.x*=P,this.y*=P,this},_div:function(P){return this.x/=P,this.y/=P,this},_multByPoint:function(P){return this.x*=P.x,this.y*=P.y,this},_divByPoint:function(P){return this.x/=P.x,this.y/=P.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var P=this.y;return this.y=this.x,this.x=-P,this},_rotate:function(P){var V=Math.cos(P),J=Math.sin(P),he=V*this.x-J*this.y,Ae=J*this.x+V*this.y;return this.x=he,this.y=Ae,this},_rotateAround:function(P,V){var J=Math.cos(P),he=Math.sin(P),Ae=V.x+J*(this.x-V.x)-he*(this.y-V.y),Oe=V.y+he*(this.x-V.x)+J*(this.y-V.y);return this.x=Ae,this.y=Oe,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},u.convert=function(P){return P instanceof u?P:Array.isArray(P)?new u(P[0],P[1]):P};var s=o(.25,.1,.25,1);function h(P,V,J){return Math.min(J,Math.max(V,P))}function c(P,V,J){var he=J-V,Ae=((P-V)%he+he)%he+V;return Ae===V?J:Ae}function m(P){for(var V=[],J=arguments.length-1;J-- >0;)V[J]=arguments[J+1];for(var he=0,Ae=V;he>V/4).toString(16):([1e7]+-[1e3]+-4e3+-8e3+-1e11).replace(/[018]/g,P)}()}function _(P){return!!P&&/^[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(P)}function k(P,V){P.forEach(function(J){V[J]&&(V[J]=V[J].bind(V))})}function E(P,V){return P.indexOf(V,P.length-V.length)!==-1}function x(P,V,J){var he={};for(var Ae in P)he[Ae]=V.call(J||this,P[Ae],Ae,P);return he}function A(P,V,J){var he={};for(var Ae in P)V.call(J||this,P[Ae],Ae,P)&&(he[Ae]=P[Ae]);return he}function L(P){return Array.isArray(P)?P.map(L):typeof P=="object"&&P?x(P,L):P}var b={};function R(P){b[P]||(typeof console<"u"&&console.warn(P),b[P]=!0)}function I(P,V,J){return(J.y-P.y)*(V.x-P.x)>(V.y-P.y)*(J.x-P.x)}function O(P){for(var V=0,J=0,he=P.length,Ae=he-1,Oe=void 0,Ge=void 0;J@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g,function(he,Ae,Oe,Ge){var it=Oe||Ge;return V[Ae]=!it||it.toLowerCase(),""}),V["max-age"]){var J=parseInt(V["max-age"],10);isNaN(J)?delete V["max-age"]:V["max-age"]=J}return V}var B=null;function N(P){if(B==null){var V=P.navigator?P.navigator.userAgent:null;B=!!P.safari||!(!V||!(/\b(iPad|iPhone|iPod)\b/.test(V)||V.match("Safari")&&!V.match("Chrome")))}return B}function W(P){try{var V=self[P];return V.setItem("_mapbox_test_",1),V.removeItem("_mapbox_test_"),!0}catch{return!1}}var j,$,U,G,q=self.performance&&self.performance.now?self.performance.now.bind(self.performance):Date.now.bind(Date),H=self.requestAnimationFrame||self.mozRequestAnimationFrame||self.webkitRequestAnimationFrame||self.msRequestAnimationFrame,ne=self.cancelAnimationFrame||self.mozCancelAnimationFrame||self.webkitCancelAnimationFrame||self.msCancelAnimationFrame,te={now:q,frame:function(P){var V=H(P);return{cancel:function(){return ne(V)}}},getImageData:function(P,V){V===void 0&&(V=0);var J=self.document.createElement("canvas"),he=J.getContext("2d");if(!he)throw new Error("failed to create canvas 2d context");return J.width=P.width,J.height=P.height,he.drawImage(P,0,0,P.width,P.height),he.getImageData(-V,-V,P.width+2*V,P.height+2*V)},resolveURL:function(P){return j||(j=self.document.createElement("a")),j.href=P,j.href},hardwareConcurrency:self.navigator.hardwareConcurrency||4,get devicePixelRatio(){return self.devicePixelRatio},get prefersReducedMotion(){return!!self.matchMedia&&($==null&&($=self.matchMedia("(prefers-reduced-motion: reduce)")),$.matches)}},Z={API_URL:"https://api.mapbox.com",get EVENTS_URL(){return this.API_URL?this.API_URL.indexOf("https://api.mapbox.cn")===0?"https://events.mapbox.cn/events/v2":this.API_URL.indexOf("https://api.mapbox.com")===0?"https://events.mapbox.com/events/v2":null:null},FEEDBACK_URL:"https://apps.mapbox.com/feedback",REQUIRE_ACCESS_TOKEN:!0,ACCESS_TOKEN:null,MAX_PARALLEL_IMAGE_REQUESTS:16},X={supported:!1,testSupport:function(P){!Q&&G&&(re?ie(P):U=P)}},Q=!1,re=!1;function ie(P){var V=P.createTexture();P.bindTexture(P.TEXTURE_2D,V);try{if(P.texImage2D(P.TEXTURE_2D,0,P.RGBA,P.RGBA,P.UNSIGNED_BYTE,G),P.isContextLost())return;X.supported=!0}catch{}P.deleteTexture(V),Q=!0}self.document&&((G=self.document.createElement("img")).onload=function(){U&&ie(U),U=null,re=!0},G.onerror=function(){Q=!0,U=null},G.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA=");var oe="01",ue=function(P,V){this._transformRequestFn=P,this._customAccessToken=V,this._createSkuToken()};function ce(P){return P.indexOf("mapbox:")===0}ue.prototype._createSkuToken=function(){var P=function(){for(var V="",J=0;J<10;J++)V+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[Math.floor(62*Math.random())];return{token:["1",oe,V].join(""),tokenExpiresAt:Date.now()+432e5}}();this._skuToken=P.token,this._skuTokenExpiresAt=P.tokenExpiresAt},ue.prototype._isSkuTokenExpired=function(){return Date.now()>this._skuTokenExpiresAt},ue.prototype.transformRequest=function(P,V){return this._transformRequestFn&&this._transformRequestFn(P,V)||{url:P}},ue.prototype.normalizeStyleURL=function(P,V){if(!ce(P))return P;var J=pe(P);return J.path="/styles/v1"+J.path,this._makeAPIURL(J,this._customAccessToken||V)},ue.prototype.normalizeGlyphsURL=function(P,V){if(!ce(P))return P;var J=pe(P);return J.path="/fonts/v1"+J.path,this._makeAPIURL(J,this._customAccessToken||V)},ue.prototype.normalizeSourceURL=function(P,V){if(!ce(P))return P;var J=pe(P);return J.path="/v4/"+J.authority+".json",J.params.push("secure"),this._makeAPIURL(J,this._customAccessToken||V)},ue.prototype.normalizeSpriteURL=function(P,V,J,he){var Ae=pe(P);return ce(P)?(Ae.path="/styles/v1"+Ae.path+"/sprite"+V+J,this._makeAPIURL(Ae,this._customAccessToken||he)):(Ae.path+=""+V+J,xe(Ae))},ue.prototype.normalizeTileURL=function(P,V){if(this._isSkuTokenExpired()&&this._createSkuToken(),P&&!ce(P))return P;var J=pe(P),he=te.devicePixelRatio>=2||V===512?"@2x":"",Ae=X.supported?".webp":"$1";J.path=J.path.replace(/(\.(png|jpg)\d*)(?=$)/,""+he+Ae),J.path=J.path.replace(/^.+\/v4\//,"/"),J.path="/v4"+J.path;var Oe=this._customAccessToken||function(Ge){for(var it=0,pt=Ge;it=1&&self.localStorage.setItem(V,JSON.stringify(this.eventData))}catch{R("Unable to write to LocalStorage")}},Me.prototype.processRequests=function(P){},Me.prototype.postEvent=function(P,V,J,he){var Ae=this;if(Z.EVENTS_URL){var Oe=pe(Z.EVENTS_URL);Oe.params.push("access_token="+(he||Z.ACCESS_TOKEN||""));var Ge={event:this.type,created:new Date(P).toISOString(),sdkIdentifier:"mapbox-gl-js",sdkVersion:v,skuId:oe,userId:this.anonId},it=V?m(Ge,V):Ge,pt={url:xe(Oe),headers:{"Content-Type":"text/plain"},body:JSON.stringify([it])};this.pendingRequest=Ot(pt,function(Ct){Ae.pendingRequest=null,J(Ct),Ae.saveEventData(),Ae.processRequests(he)})}},Me.prototype.queueRequest=function(P,V){this.queue.push(P),this.processRequests(V)};var Se,Ce,ae=function(P){function V(){P.call(this,"map.load"),this.success={},this.skuToken=""}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.postMapLoadEvent=function(J,he,Ae,Oe){this.skuToken=Ae,(Z.EVENTS_URL&&Oe||Z.ACCESS_TOKEN&&Array.isArray(J)&&J.some(function(Ge){return ce(Ge)||de(Ge)}))&&this.queueRequest({id:he,timestamp:Date.now()},Oe)},V.prototype.processRequests=function(J){var he=this;if(!this.pendingRequest&&this.queue.length!==0){var Ae=this.queue.shift(),Oe=Ae.id,Ge=Ae.timestamp;Oe&&this.success[Oe]||(this.anonId||this.fetchEventData(),_(this.anonId)||(this.anonId=C()),this.postEvent(Ge,{skuToken:this.skuToken},function(it){it||Oe&&(he.success[Oe]=!0)},J))}},V}(Me),fe=function(P){function V(J){P.call(this,"appUserTurnstile"),this._customAccessToken=J}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.postTurnstileEvent=function(J,he){Z.EVENTS_URL&&Z.ACCESS_TOKEN&&Array.isArray(J)&&J.some(function(Ae){return ce(Ae)||de(Ae)})&&this.queueRequest(Date.now(),he)},V.prototype.processRequests=function(J){var he=this;if(!this.pendingRequest&&this.queue.length!==0){this.anonId&&this.eventData.lastSuccess&&this.eventData.tokenU||this.fetchEventData();var Ae=_e(Z.ACCESS_TOKEN),Oe=Ae?Ae.u:Z.ACCESS_TOKEN,Ge=Oe!==this.eventData.tokenU;_(this.anonId)||(this.anonId=C(),Ge=!0);var it=this.queue.shift();if(this.eventData.lastSuccess){var pt=new Date(this.eventData.lastSuccess),Ct=new Date(it),Dt=(it-this.eventData.lastSuccess)/864e5;Ge=Ge||Dt>=1||Dt<-1||pt.getDate()!==Ct.getDate()}else Ge=!0;if(!Ge)return this.processRequests();this.postEvent(it,{"enabled.telemetry":!1},function(Gt){Gt||(he.eventData.lastSuccess=it,he.eventData.tokenU=Oe)},J)}},V}(Me),be=new fe,ke=be.postTurnstileEvent.bind(be),Le=new ae,Be=Le.postMapLoadEvent.bind(Le),ze="mapbox-tiles",je=500,ge=50;function we(){self.caches&&!Se&&(Se=self.caches.open(ze))}function Ee(P,V,J){if(we(),Se){var he={status:V.status,statusText:V.statusText,headers:new self.Headers};V.headers.forEach(function(Oe,Ge){return he.headers.set(Ge,Oe)});var Ae=F(V.headers.get("Cache-Control")||"");Ae["no-store"]||(Ae["max-age"]&&he.headers.set("Expires",new Date(J+1e3*Ae["max-age"]).toUTCString()),new Date(he.headers.get("Expires")).getTime()-J<42e4||function(Oe,Ge){if(Ce===void 0)try{new Response(new ReadableStream),Ce=!0}catch{Ce=!1}Ce?Ge(Oe.body):Oe.blob().then(Ge)}(V,function(Oe){var Ge=new self.Response(Oe,he);we(),Se&&Se.then(function(it){return it.put(Ve(P.url),Ge)}).catch(function(it){return R(it.message)})}))}}function Ve(P){var V=P.indexOf("?");return V<0?P:P.slice(0,V)}function $e(P,V){if(we(),!Se)return V(null);var J=Ve(P.url);Se.then(function(he){he.match(J).then(function(Ae){var Oe=function(Ge){if(!Ge)return!1;var it=new Date(Ge.headers.get("Expires")||0),pt=F(Ge.headers.get("Cache-Control")||"");return it>Date.now()&&!pt["no-cache"]}(Ae);he.delete(J),Oe&&he.put(J,Ae.clone()),V(null,Ae,Oe)}).catch(V)}).catch(V)}var Ye,st=1/0;function ot(){return Ye==null&&(Ye=self.OffscreenCanvas&&new self.OffscreenCanvas(1,1).getContext("2d")&&typeof self.createImageBitmap=="function"),Ye}var ht={Unknown:"Unknown",Style:"Style",Source:"Source",Tile:"Tile",Glyphs:"Glyphs",SpriteImage:"SpriteImage",SpriteJSON:"SpriteJSON",Image:"Image"};typeof Object.freeze=="function"&&Object.freeze(ht);var bt=function(P){function V(J,he,Ae){he===401&&de(Ae)&&(J+=": you may have provided an invalid Mapbox access token. See https://www.mapbox.com/api-documentation/#access-tokens-and-token-scopes"),P.call(this,J),this.status=he,this.url=Ae,this.name=this.constructor.name,this.message=J}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.toString=function(){return this.name+": "+this.message+" ("+this.status+"): "+this.url},V}(Error),Et=z()?function(){return self.worker&&self.worker.referrer}:function(){return(self.location.protocol==="blob:"?self.parent:self).location.href};function kt(P,V){var J,he=new self.AbortController,Ae=new self.Request(P.url,{method:P.method||"GET",body:P.body,credentials:P.credentials,headers:P.headers,referrer:Et(),signal:he.signal}),Oe=!1,Ge=!1,it=(J=Ae.url).indexOf("sku=")>0&&de(J);P.type==="json"&&Ae.headers.set("Accept","application/json");var pt=function(Dt,Gt,Zt){if(!Ge){if(Dt&&Dt.message!=="SecurityError"&&R(Dt),Gt&&Zt)return Ct(Gt);var $t=Date.now();self.fetch(Ae).then(function(fn){if(fn.ok){var Mn=it?fn.clone():null;return Ct(fn,Mn,$t)}return V(new bt(fn.statusText,fn.status,P.url))}).catch(function(fn){fn.code!==20&&V(new Error(fn.message))})}},Ct=function(Dt,Gt,Zt){(P.type==="arrayBuffer"?Dt.arrayBuffer():P.type==="json"?Dt.json():Dt.text()).then(function($t){Ge||(Gt&&Zt&&Ee(Ae,Gt,Zt),Oe=!0,V(null,$t,Dt.headers.get("Cache-Control"),Dt.headers.get("Expires")))}).catch(function($t){Ge||V(new Error($t.message))})};return it?$e(Ae,pt):pt(null,null),{cancel:function(){Ge=!0,Oe||he.abort()}}}var xt=function(P,V){if(J=P.url,!(/^file:/.test(J)||/^file:/.test(Et())&&!/^\w+:/.test(J))){if(self.fetch&&self.Request&&self.AbortController&&self.Request.prototype.hasOwnProperty("signal"))return kt(P,V);if(z()&&self.worker&&self.worker.actor)return self.worker.actor.send("getResource",P,V,void 0,!0)}var J;return function(he,Ae){var Oe=new self.XMLHttpRequest;for(var Ge in Oe.open(he.method||"GET",he.url,!0),he.type==="arrayBuffer"&&(Oe.responseType="arraybuffer"),he.headers)Oe.setRequestHeader(Ge,he.headers[Ge]);return he.type==="json"&&(Oe.responseType="text",Oe.setRequestHeader("Accept","application/json")),Oe.withCredentials=he.credentials==="include",Oe.onerror=function(){Ae(new Error(Oe.statusText))},Oe.onload=function(){if((Oe.status>=200&&Oe.status<300||Oe.status===0)&&Oe.response!==null){var it=Oe.response;if(he.type==="json")try{it=JSON.parse(Oe.response)}catch(pt){return Ae(pt)}Ae(null,it,Oe.getResponseHeader("Cache-Control"),Oe.getResponseHeader("Expires"))}else Ae(new bt(Oe.statusText,Oe.status,he.url))},Oe.send(he.body),{cancel:function(){return Oe.abort()}}}(P,V)},Ft=function(P,V){return xt(m(P,{type:"arrayBuffer"}),V)},Ot=function(P,V){return xt(m(P,{method:"POST"}),V)},Bt,qt;Bt=[],qt=0;var Vt=function(P,V){if(X.supported&&(P.headers||(P.headers={}),P.headers.accept="image/webp,*/*"),qt>=Z.MAX_PARALLEL_IMAGE_REQUESTS){var J={requestParameters:P,callback:V,cancelled:!1,cancel:function(){this.cancelled=!0}};return Bt.push(J),J}qt++;var he=!1,Ae=function(){if(!he)for(he=!0,qt--;Bt.length&&qt0||this._oneTimeListeners&&this._oneTimeListeners[P]&&this._oneTimeListeners[P].length>0||this._eventedParent&&this._eventedParent.listens(P)},ft.prototype.setEventedParent=function(P,V){return this._eventedParent=P,this._eventedParentData=V,this};var Re={$version:8,$root:{version:{required:!0,type:"enum",values:[8]},name:{type:"string"},metadata:{type:"*"},center:{type:"array",value:"number"},zoom:{type:"number"},bearing:{type:"number",default:0,period:360,units:"degrees"},pitch:{type:"number",default:0,units:"degrees"},light:{type:"light"},sources:{required:!0,type:"sources"},sprite:{type:"string"},glyphs:{type:"string"},transition:{type:"transition"},layers:{required:!0,type:"array",value:"layer"}},sources:{"*":{type:"source"}},source:["source_vector","source_raster","source_raster_dem","source_geojson","source_video","source_image"],source_vector:{type:{required:!0,type:"enum",values:{vector:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},attribution:{type:"string"},promoteId:{type:"promoteId"},"*":{type:"*"}},source_raster:{type:{required:!0,type:"enum",values:{raster:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},attribution:{type:"string"},"*":{type:"*"}},source_raster_dem:{type:{required:!0,type:"enum",values:{"raster-dem":{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},attribution:{type:"string"},encoding:{type:"enum",values:{terrarium:{},mapbox:{}},default:"mapbox"},"*":{type:"*"}},source_geojson:{type:{required:!0,type:"enum",values:{geojson:{}}},data:{type:"*"},maxzoom:{type:"number",default:18},attribution:{type:"string"},buffer:{type:"number",default:128,maximum:512,minimum:0},tolerance:{type:"number",default:.375},cluster:{type:"boolean",default:!1},clusterRadius:{type:"number",default:50,minimum:0},clusterMaxZoom:{type:"number"},clusterProperties:{type:"*"},lineMetrics:{type:"boolean",default:!1},generateId:{type:"boolean",default:!1},promoteId:{type:"promoteId"}},source_video:{type:{required:!0,type:"enum",values:{video:{}}},urls:{required:!0,type:"array",value:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},source_image:{type:{required:!0,type:"enum",values:{image:{}}},url:{required:!0,type:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},layer:{id:{type:"string",required:!0},type:{type:"enum",values:{fill:{},line:{},symbol:{},circle:{},heatmap:{},"fill-extrusion":{},raster:{},hillshade:{},background:{}},required:!0},metadata:{type:"*"},source:{type:"string"},"source-layer":{type:"string"},minzoom:{type:"number",minimum:0,maximum:24},maxzoom:{type:"number",minimum:0,maximum:24},filter:{type:"filter"},layout:{type:"layout"},paint:{type:"paint"}},layout:["layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_hillshade","layout_background"],layout_background:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_fill:{"fill-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_circle:{"circle-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_heatmap:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},"layout_fill-extrusion":{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_line:{"line-cap":{type:"enum",values:{butt:{},round:{},square:{}},default:"butt",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-join":{type:"enum",values:{bevel:{},round:{},miter:{}},default:"miter",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{type:"number",default:2,requires:[{"line-join":"miter"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-round-limit":{type:"number",default:1.05,requires:[{"line-join":"round"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_symbol:{"symbol-placement":{type:"enum",values:{point:{},line:{},"line-center":{}},default:"point",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-spacing":{type:"number",default:250,minimum:1,units:"pixels",requires:[{"symbol-placement":"line"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{type:"boolean",default:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"symbol-z-order":{type:"enum",values:{auto:{},"viewport-y":{},source:{}},default:"auto",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-optional":{type:"boolean",default:!1,requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-size":{type:"number",default:1,minimum:0,units:"factor of the original icon size",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit":{type:"enum",values:{none:{},width:{},height:{},both:{}},default:"none",requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-text-fit-padding":{type:"array",value:"number",length:4,default:[0,0,0,0],units:"pixels",requires:["icon-image","text-field",{"icon-text-fit":["both","width","height"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-image":{type:"resolvedImage",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-keep-upright":{type:"boolean",default:!1,requires:["icon-image",{"icon-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-offset":{type:"array",value:"number",length:2,default:[0,0],requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-field":{type:"formatted",default:"",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-font":{type:"array",value:"string",default:["Open Sans Regular","Arial Unicode MS Regular"],requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-size":{type:"number",default:16,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-width":{type:"number",default:10,minimum:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{type:"number",default:1.2,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-letter-spacing":{type:"number",default:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-justify":{type:"enum",values:{auto:{},left:{},center:{},right:{}},default:"center",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-radial-offset":{type:"number",units:"ems",default:0,requires:["text-field"],"property-type":"data-driven",expression:{interpolated:!0,parameters:["zoom","feature"]}},"text-variable-anchor":{type:"array",value:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["text-field",{"!":"text-variable-anchor"}],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{type:"number",default:45,units:"degrees",requires:["text-field",{"symbol-placement":["line","line-center"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-writing-mode":{type:"array",value:"enum",values:{horizontal:{},vertical:{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-keep-upright":{type:"boolean",default:!0,requires:["text-field",{"text-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-transform":{type:"enum",values:{none:{},uppercase:{},lowercase:{}},default:"none",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-offset":{type:"array",value:"number",units:"ems",length:2,default:[0,0],requires:["text-field",{"!":"text-radial-offset"}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-optional":{type:"boolean",default:!1,requires:["text-field","icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_raster:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_hillshade:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},filter:{type:"array",value:"*"},filter_operator:{type:"enum",values:{"==":{},"!=":{},">":{},">=":{},"<":{},"<=":{},in:{},"!in":{},all:{},any:{},none:{},has:{},"!has":{},within:{}}},geometry_type:{type:"enum",values:{Point:{},LineString:{},Polygon:{}}},function:{expression:{type:"expression"},stops:{type:"array",value:"function_stop"},base:{type:"number",default:1,minimum:0},property:{type:"string",default:"$zoom"},type:{type:"enum",values:{identity:{},exponential:{},interval:{},categorical:{}},default:"exponential"},colorSpace:{type:"enum",values:{rgb:{},lab:{},hcl:{}},default:"rgb"},default:{type:"*",required:!1}},function_stop:{type:"array",minimum:0,maximum:24,value:["number","color"],length:2},expression:{type:"array",value:"*",minimum:1},expression_name:{type:"enum",values:{let:{group:"Variable binding"},var:{group:"Variable binding"},literal:{group:"Types"},array:{group:"Types"},at:{group:"Lookup"},in:{group:"Lookup"},"index-of":{group:"Lookup"},slice:{group:"Lookup"},case:{group:"Decision"},match:{group:"Decision"},coalesce:{group:"Decision"},step:{group:"Ramps, scales, curves"},interpolate:{group:"Ramps, scales, curves"},"interpolate-hcl":{group:"Ramps, scales, curves"},"interpolate-lab":{group:"Ramps, scales, curves"},ln2:{group:"Math"},pi:{group:"Math"},e:{group:"Math"},typeof:{group:"Types"},string:{group:"Types"},number:{group:"Types"},boolean:{group:"Types"},object:{group:"Types"},collator:{group:"Types"},format:{group:"Types"},image:{group:"Types"},"number-format":{group:"Types"},"to-string":{group:"Types"},"to-number":{group:"Types"},"to-boolean":{group:"Types"},"to-rgba":{group:"Color"},"to-color":{group:"Types"},rgb:{group:"Color"},rgba:{group:"Color"},get:{group:"Lookup"},has:{group:"Lookup"},length:{group:"Lookup"},properties:{group:"Feature data"},"feature-state":{group:"Feature data"},"geometry-type":{group:"Feature data"},id:{group:"Feature data"},zoom:{group:"Zoom"},"heatmap-density":{group:"Heatmap"},"line-progress":{group:"Feature data"},accumulated:{group:"Feature data"},"+":{group:"Math"},"*":{group:"Math"},"-":{group:"Math"},"/":{group:"Math"},"%":{group:"Math"},"^":{group:"Math"},sqrt:{group:"Math"},log10:{group:"Math"},ln:{group:"Math"},log2:{group:"Math"},sin:{group:"Math"},cos:{group:"Math"},tan:{group:"Math"},asin:{group:"Math"},acos:{group:"Math"},atan:{group:"Math"},min:{group:"Math"},max:{group:"Math"},round:{group:"Math"},abs:{group:"Math"},ceil:{group:"Math"},floor:{group:"Math"},distance:{group:"Math"},"==":{group:"Decision"},"!=":{group:"Decision"},">":{group:"Decision"},"<":{group:"Decision"},">=":{group:"Decision"},"<=":{group:"Decision"},all:{group:"Decision"},any:{group:"Decision"},"!":{group:"Decision"},within:{group:"Decision"},"is-supported-script":{group:"String"},upcase:{group:"String"},downcase:{group:"String"},concat:{group:"String"},"resolved-locale":{group:"String"}}},light:{anchor:{type:"enum",default:"viewport",values:{map:{},viewport:{}},"property-type":"data-constant",transition:!1,expression:{interpolated:!1,parameters:["zoom"]}},position:{type:"array",default:[1.15,210,30],length:3,value:"number","property-type":"data-constant",transition:!0,expression:{interpolated:!0,parameters:["zoom"]}},color:{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},intensity:{type:"number","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0}},paint:["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_background"],paint_fill:{"fill-antialias":{type:"boolean",default:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-outline-color":{type:"color",transition:!0,requires:[{"!":"fill-pattern"},{"fill-antialias":!0}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"}},"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-extrusion-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",transition:!0,requires:["fill-extrusion-height"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,transition:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_line:{"line-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"line-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["line-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-width":{type:"number",default:1,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-gap-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-offset":{type:"number",default:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-dasharray":{type:"array",value:"number",minimum:0,transition:!0,units:"line widths",requires:[{"!":"line-pattern"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"line-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"line-gradient":{type:"color",transition:!1,requires:[{"!":"line-dasharray"},{"!":"line-pattern"},{source:"geojson",has:{lineMetrics:!0}}],expression:{interpolated:!0,parameters:["line-progress"]},"property-type":"color-ramp"}},paint_circle:{"circle-radius":{type:"number",default:5,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-blur":{type:"number",default:0,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["circle-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{type:"enum",values:{map:{},viewport:{}},default:"map",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"}},paint_heatmap:{"heatmap-radius":{type:"number",default:30,minimum:1,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-weight":{type:"number",default:1,minimum:0,transition:!1,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-intensity":{type:"number",default:1,minimum:0,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"heatmap-color":{type:"color",default:["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",.1,"royalblue",.3,"cyan",.5,"lime",.7,"yellow",1,"red"],transition:!1,expression:{interpolated:!0,parameters:["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_symbol:{"icon-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-color":{type:"color",default:"#000000",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["icon-image","icon-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-color":{type:"color",default:"#000000",transition:!0,overridable:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["text-field","text-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_raster:{"raster-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-hue-rotate":{type:"number",default:0,period:360,transition:!0,units:"degrees",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{type:"number",default:0,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-saturation":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-contrast":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-resampling":{type:"enum",values:{linear:{},nearest:{}},default:"linear",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"raster-fade-duration":{type:"number",default:300,minimum:0,transition:!1,units:"milliseconds",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_hillshade:{"hillshade-illumination-direction":{type:"number",default:335,minimum:0,maximum:359,transition:!1,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-illumination-anchor":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-exaggeration":{type:"number",default:.5,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-highlight-color":{type:"color",default:"#FFFFFF",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-accent-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_background:{"background-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"background-pattern"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"background-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"background-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},transition:{duration:{type:"number",default:300,minimum:0,units:"milliseconds"},delay:{type:"number",default:0,minimum:0,units:"milliseconds"}},"property-type":{"data-driven":{type:"property-type"},"cross-faded":{type:"property-type"},"cross-faded-data-driven":{type:"property-type"},"color-ramp":{type:"property-type"},"data-constant":{type:"property-type"},constant:{type:"property-type"}},promoteId:{"*":{type:"string"}}},Ne=function(P,V,J,he){this.message=(P?P+": ":"")+J,he&&(this.identifier=he),V!=null&&V.__line__&&(this.line=V.__line__)};function Qe(P){var V=P.key,J=P.value;return J?[new Ne(V,J,"constants have been deprecated as of v8")]:[]}function ut(P){for(var V=[],J=arguments.length-1;J-- >0;)V[J]=arguments[J+1];for(var he=0,Ae=V;he":P.itemType.kind==="value"?"array":"array<"+V+">"}return P.kind}var An=[yt,Pt,wt,Rt,Nt,Qt,Yt,xn(Wt),rn];function Yn(P,V){if(V.kind==="error")return null;if(P.kind==="array"){if(V.kind==="array"&&(V.N===0&&V.itemType.kind==="value"||!Yn(P.itemType,V.itemType))&&(typeof P.N!="number"||P.N===V.N))return null}else{if(P.kind===V.kind)return null;if(P.kind==="value"){for(var J=0,he=An;J255?255:pt}function Ae(pt){return pt<0?0:pt>1?1:pt}function Oe(pt){return pt[pt.length-1]==="%"?he(parseFloat(pt)/100*255):he(parseInt(pt))}function Ge(pt){return pt[pt.length-1]==="%"?Ae(parseFloat(pt)/100):Ae(parseFloat(pt))}function it(pt,Ct,Dt){return Dt<0?Dt+=1:Dt>1&&(Dt-=1),6*Dt<1?pt+(Ct-pt)*Dt*6:2*Dt<1?Ct:3*Dt<2?pt+(Ct-pt)*(2/3-Dt)*6:pt}try{V.parseCSSColor=function(pt){var Ct,Dt=pt.replace(/ /g,"").toLowerCase();if(Dt in J)return J[Dt].slice();if(Dt[0]==="#")return Dt.length===4?(Ct=parseInt(Dt.substr(1),16))>=0&&Ct<=4095?[(3840&Ct)>>4|(3840&Ct)>>8,240&Ct|(240&Ct)>>4,15&Ct|(15&Ct)<<4,1]:null:Dt.length===7&&(Ct=parseInt(Dt.substr(1),16))>=0&&Ct<=16777215?[(16711680&Ct)>>16,(65280&Ct)>>8,255&Ct,1]:null;var Gt=Dt.indexOf("("),Zt=Dt.indexOf(")");if(Gt!==-1&&Zt+1===Dt.length){var $t=Dt.substr(0,Gt),fn=Dt.substr(Gt+1,Zt-(Gt+1)).split(","),Mn=1;switch($t){case"rgba":if(fn.length!==4)return null;Mn=Ge(fn.pop());case"rgb":return fn.length!==3?null:[Oe(fn[0]),Oe(fn[1]),Oe(fn[2]),Mn];case"hsla":if(fn.length!==4)return null;Mn=Ge(fn.pop());case"hsl":if(fn.length!==3)return null;var Nn=(parseFloat(fn[0])%360+360)%360/360,Bn=Ge(fn[1]),Wn=Ge(fn[2]),Zn=Wn<=.5?Wn*(Bn+1):Wn+Bn-Wn*Bn,er=2*Wn-Zn;return[he(255*it(er,Zn,Nn+1/3)),he(255*it(er,Zn,Nn)),he(255*it(er,Zn,Nn-1/3)),Mn];default:return null}}return null}}catch{}}),dn=Tn.parseCSSColor,pn=function(P,V,J,he){he===void 0&&(he=1),this.r=P,this.g=V,this.b=J,this.a=he};pn.parse=function(P){if(P){if(P instanceof pn)return P;if(typeof P=="string"){var V=dn(P);if(V)return new pn(V[0]/255*V[3],V[1]/255*V[3],V[2]/255*V[3],V[3])}}},pn.prototype.toString=function(){var P=this.toArray(),V=P[0],J=P[1],he=P[2],Ae=P[3];return"rgba("+Math.round(V)+","+Math.round(J)+","+Math.round(he)+","+Ae+")"},pn.prototype.toArray=function(){var P=this,V=P.r,J=P.g,he=P.b,Ae=P.a;return Ae===0?[0,0,0,0]:[255*V/Ae,255*J/Ae,255*he/Ae,Ae]},pn.black=new pn(0,0,0,1),pn.white=new pn(1,1,1,1),pn.transparent=new pn(0,0,0,0),pn.red=new pn(1,0,0,1);var Dn=function(P,V,J){this.sensitivity=P?V?"variant":"case":V?"accent":"base",this.locale=J,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"})};Dn.prototype.compare=function(P,V){return this.collator.compare(P,V)},Dn.prototype.resolvedLocale=function(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale};var In=function(P,V,J,he,Ae){this.text=P,this.image=V,this.scale=J,this.fontStack=he,this.textColor=Ae},jn=function(P){this.sections=P};jn.fromString=function(P){return new jn([new In(P,null,null,null,null)])},jn.prototype.isEmpty=function(){return this.sections.length===0||!this.sections.some(function(P){return P.text.length!==0||P.image&&P.image.name.length!==0})},jn.factory=function(P){return P instanceof jn?P:jn.fromString(P)},jn.prototype.toString=function(){return this.sections.length===0?"":this.sections.map(function(P){return P.text}).join("")},jn.prototype.serialize=function(){for(var P=["format"],V=0,J=this.sections;V=0&&P<=255&&typeof V=="number"&&V>=0&&V<=255&&typeof J=="number"&&J>=0&&J<=255?he===void 0||typeof he=="number"&&he>=0&&he<=1?null:"Invalid rgba value ["+[P,V,J,he].join(", ")+"]: 'a' must be between 0 and 1.":"Invalid rgba value ["+(typeof he=="number"?[P,V,J,he]:[P,V,J]).join(", ")+"]: 'r', 'g', and 'b' must be between 0 and 255."}function lr(P){if(P===null||typeof P=="string"||typeof P=="boolean"||typeof P=="number"||P instanceof pn||P instanceof Dn||P instanceof jn||P instanceof Gn)return!0;if(Array.isArray(P)){for(var V=0,J=P;V2){var it=P[1];if(typeof it!="string"||!(it in vr)||it==="object")return V.error('The item type argument of "array" must be one of string, number, boolean',1);Oe=vr[it],he++}else Oe=Wt;if(P.length>3){if(P[2]!==null&&(typeof P[2]!="number"||P[2]<0||P[2]!==Math.floor(P[2])))return V.error('The length argument to "array" must be a positive integer literal',2);Ge=P[2],he++}J=xn(Oe,Ge)}else J=vr[Ae];for(var pt=[];he1)&&V.push(he)}}return V.concat(this.args.map(function(Ae){return Ae.serialize()}))};var Kt=function(P){this.type=Qt,this.sections=P};Kt.parse=function(P,V){if(P.length<2)return V.error("Expected at least one argument.");var J=P[1];if(!Array.isArray(J)&&typeof J=="object")return V.error("First argument must be an image or text section.");for(var he=[],Ae=!1,Oe=1;Oe<=P.length-1;++Oe){var Ge=P[Oe];if(Ae&&typeof Ge=="object"&&!Array.isArray(Ge)){Ae=!1;var it=null;if(Ge["font-scale"]&&!(it=V.parse(Ge["font-scale"],1,Pt)))return null;var pt=null;if(Ge["text-font"]&&!(pt=V.parse(Ge["text-font"],1,xn(wt))))return null;var Ct=null;if(Ge["text-color"]&&!(Ct=V.parse(Ge["text-color"],1,Nt)))return null;var Dt=he[he.length-1];Dt.scale=it,Dt.font=pt,Dt.textColor=Ct}else{var Gt=V.parse(P[Oe],1,Wt);if(!Gt)return null;var Zt=Gt.type.kind;if(Zt!=="string"&&Zt!=="value"&&Zt!=="null"&&Zt!=="resolvedImage")return V.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");Ae=!0,he.push({content:Gt,scale:null,font:null,textColor:null})}}return new Kt(he)},Kt.prototype.evaluate=function(P){return new jn(this.sections.map(function(V){var J=V.content.evaluate(P);return rr(J)===rn?new In("",J,null,null,null):new In(Sr(J),null,V.scale?V.scale.evaluate(P):null,V.font?V.font.evaluate(P).join(","):null,V.textColor?V.textColor.evaluate(P):null)}))},Kt.prototype.eachChild=function(P){for(var V=0,J=this.sections;V-1),J},bn.prototype.eachChild=function(P){P(this.input)},bn.prototype.outputDefined=function(){return!1},bn.prototype.serialize=function(){return["image",this.input.serialize()]};var Rn={"to-boolean":Rt,"to-color":Nt,"to-number":Pt,"to-string":wt},Ln=function(P,V){this.type=P,this.args=V};Ln.parse=function(P,V){if(P.length<2)return V.error("Expected at least one argument.");var J=P[0];if((J==="to-boolean"||J==="to-string")&&P.length!==2)return V.error("Expected one argument.");for(var he=Rn[J],Ae=[],Oe=1;Oe4?"Invalid rbga value "+JSON.stringify(V)+": expected an array containing either three or four numeric values.":qn(V[0],V[1],V[2],V[3])))return new pn(V[0]/255,V[1]/255,V[2]/255,V[3])}throw new or(J||"Could not parse color from value '"+(typeof V=="string"?V:String(JSON.stringify(V)))+"'")}if(this.type.kind==="number"){for(var Ge=null,it=0,pt=this.args;it=V[2]||P[1]<=V[1]||P[3]>=V[3])}function jt(P,V){var J,he=(180+P[0])/360,Ae=(J=P[1],(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+J*Math.PI/360)))/360),Oe=Math.pow(2,V.z);return[Math.round(he*Oe*mr),Math.round(Ae*Oe*mr)]}function Jt(P,V,J){return V[1]>P[1]!=J[1]>P[1]&&P[0]<(J[0]-V[0])*(P[1]-V[1])/(J[1]-V[1])+V[0]}function hn(P,V){for(var J=!1,he=0,Ae=V.length;he0&&Gt<0||Dt<0&&Gt>0}function En(P,V,J){for(var he=0,Ae=J;heJ[2]){var Ae=.5*he,Oe=P[0]-J[0]>Ae?-he:J[0]-P[0]>Ae?he:0;Oe===0&&(Oe=P[0]-J[2]>Ae?-he:J[2]-P[0]>Ae?he:0),P[0]+=Oe}nn(V,P)}function Vn(P,V,J,he){for(var Ae=Math.pow(2,he.z)*mr,Oe=[he.x*mr,he.y*mr],Ge=[],it=0,pt=P;it=0)return!1;var J=!0;return P.eachChild(function(he){J&&!cr(he,V)&&(J=!1)}),J}nr.parse=function(P,V){if(P.length!==2)return V.error("'within' expression requires exactly one argument, but found "+(P.length-1)+" instead.");if(lr(P[1])){var J=P[1];if(J.type==="FeatureCollection")for(var he=0;heV))throw new or("Input is not a number.");Ge=it-1}return 0}dr.prototype.parse=function(P,V,J,he,Ae){return Ae===void 0&&(Ae={}),V?this.concat(V,J,he)._parse(P,Ae):this._parse(P,Ae)},dr.prototype._parse=function(P,V){function J(Ct,Dt,Gt){return Gt==="assert"?new _r(Dt,[Ct]):Gt==="coerce"?new Ln(Dt,[Ct]):Ct}if(P!==null&&typeof P!="string"&&typeof P!="boolean"&&typeof P!="number"||(P=["literal",P]),Array.isArray(P)){if(P.length===0)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');var he=P[0];if(typeof he!="string")return this.error("Expression name must be a string, but found "+typeof he+' instead. If you wanted a literal array, use ["literal", [...]].',0),null;var Ae=this.registry[he];if(Ae){var Oe=Ae.parse(P,this);if(!Oe)return null;if(this.expectedType){var Ge=this.expectedType,it=Oe.type;if(Ge.kind!=="string"&&Ge.kind!=="number"&&Ge.kind!=="boolean"&&Ge.kind!=="object"&&Ge.kind!=="array"||it.kind!=="value")if(Ge.kind!=="color"&&Ge.kind!=="formatted"&&Ge.kind!=="resolvedImage"||it.kind!=="value"&&it.kind!=="string"){if(this.checkSubtype(Ge,it))return null}else Oe=J(Oe,Ge,V.typeAnnotation||"coerce");else Oe=J(Oe,Ge,V.typeAnnotation||"assert")}if(!(Oe instanceof yr)&&Oe.type.kind!=="resolvedImage"&&br(Oe)){var pt=new Kn;try{Oe=new yr(Oe.type,Oe.evaluate(pt))}catch(Ct){return this.error(Ct.message),null}}return Oe}return this.error('Unknown expression "'+he+'". If you wanted a literal array, use ["literal", [...]].',0)}return P===void 0?this.error("'undefined' value invalid. Use null instead."):typeof P=="object"?this.error('Bare objects invalid. Use ["literal", {...}] instead.'):this.error("Expected an array, but found "+typeof P+" instead.")},dr.prototype.concat=function(P,V,J){var he=typeof P=="number"?this.path.concat(P):this.path,Ae=J?this.scope.concat(J):this.scope;return new dr(this.registry,he,V||null,Ae,this.errors)},dr.prototype.error=function(P){for(var V=[],J=arguments.length-1;J-- >0;)V[J]=arguments[J+1];var he=""+this.key+V.map(function(Ae){return"["+Ae+"]"}).join("");this.errors.push(new It(he,P))},dr.prototype.checkSubtype=function(P,V){var J=Yn(P,V);return J&&this.error(J),J};var Lr=function(P,V,J){this.type=P,this.input=V,this.labels=[],this.outputs=[];for(var he=0,Ae=J;he=Ge)return V.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',pt);var Dt=V.parse(it,Ct,Ae);if(!Dt)return null;Ae=Ae||Dt.type,he.push([Ge,Dt])}return new Lr(Ae,J,he)},Lr.prototype.evaluate=function(P){var V=this.labels,J=this.outputs;if(V.length===1)return J[0].evaluate(P);var he=this.input.evaluate(P);if(he<=V[0])return J[0].evaluate(P);var Ae=V.length;return he>=V[Ae-1]?J[Ae-1].evaluate(P):J[Rr(V,he)].evaluate(P)},Lr.prototype.eachChild=function(P){P(this.input);for(var V=0,J=this.outputs;V0&&P.push(this.labels[V]),P.push(this.outputs[V].serialize());return P};var gr=Object.freeze({__proto__:null,number:zr,color:function(P,V,J){return new pn(zr(P.r,V.r,J),zr(P.g,V.g,J),zr(P.b,V.b,J),zr(P.a,V.a,J))},array:function(P,V,J){return P.map(function(he,Ae){return zr(he,V[Ae],J)})}}),Fr=.95047,ii=1.08883,ji=4/29,ea=6/29,sa=3*ea*ea,co=Math.PI/180,La=180/Math.PI;function Xi(P){return P>.008856451679035631?Math.pow(P,.3333333333333333):P/sa+ji}function Do(P){return P>ea?P*P*P:sa*(P-ji)}function rs(P){return 255*(P<=.0031308?12.92*P:1.055*Math.pow(P,.4166666666666667)-.055)}function el(P){return(P/=255)<=.04045?P/12.92:Math.pow((P+.055)/1.055,2.4)}function Cu(P){var V=el(P.r),J=el(P.g),he=el(P.b),Ae=Xi((.4124564*V+.3575761*J+.1804375*he)/Fr),Oe=Xi((.2126729*V+.7151522*J+.072175*he)/1);return{l:116*Oe-16,a:500*(Ae-Oe),b:200*(Oe-Xi((.0193339*V+.119192*J+.9503041*he)/ii)),alpha:P.a}}function gf(P){var V=(P.l+16)/116,J=isNaN(P.a)?V:V+P.a/500,he=isNaN(P.b)?V:V-P.b/200;return V=1*Do(V),J=Fr*Do(J),he=ii*Do(he),new pn(rs(3.2404542*J-1.5371385*V-.4985314*he),rs(-.969266*J+1.8760108*V+.041556*he),rs(.0556434*J-.2040259*V+1.0572252*he),P.alpha)}function Mh(P,V,J){var he=V-P;return P+J*(he>180||he<-180?he-360*Math.round(he/360):he)}var Eu={forward:Cu,reverse:gf,interpolate:function(P,V,J){return{l:zr(P.l,V.l,J),a:zr(P.a,V.a,J),b:zr(P.b,V.b,J),alpha:zr(P.alpha,V.alpha,J)}}},is={forward:function(P){var V=Cu(P),J=V.l,he=V.a,Ae=V.b,Oe=Math.atan2(Ae,he)*La;return{h:Oe<0?Oe+360:Oe,c:Math.sqrt(he*he+Ae*Ae),l:J,alpha:P.a}},reverse:function(P){var V=P.h*co,J=P.c;return gf({l:P.l,a:Math.cos(V)*J,b:Math.sin(V)*J,alpha:P.alpha})},interpolate:function(P,V,J){return{h:Mh(P.h,V.h,J),c:zr(P.c,V.c,J),l:zr(P.l,V.l,J),alpha:zr(P.alpha,V.alpha,J)}}},Ah=Object.freeze({__proto__:null,lab:Eu,hcl:is}),Ya=function(P,V,J,he,Ae){this.type=P,this.operator=V,this.interpolation=J,this.input=he,this.labels=[],this.outputs=[];for(var Oe=0,Ge=Ae;Oe1}))return V.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);he={name:"cubic-bezier",controlPoints:it}}if(P.length-1<4)return V.error("Expected at least 4 arguments, but found only "+(P.length-1)+".");if((P.length-1)%2!=0)return V.error("Expected an even number of arguments.");if(!(Ae=V.parse(Ae,2,Pt)))return null;var pt=[],Ct=null;J==="interpolate-hcl"||J==="interpolate-lab"?Ct=Nt:V.expectedType&&V.expectedType.kind!=="value"&&(Ct=V.expectedType);for(var Dt=0;Dt=Gt)return V.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',$t);var Mn=V.parse(Zt,fn,Ct);if(!Mn)return null;Ct=Ct||Mn.type,pt.push([Gt,Mn])}return Ct.kind==="number"||Ct.kind==="color"||Ct.kind==="array"&&Ct.itemType.kind==="number"&&typeof Ct.N=="number"?new Ya(Ct,J,he,Ae,pt):V.error("Type "+un(Ct)+" is not interpolatable.")},Ya.prototype.evaluate=function(P){var V=this.labels,J=this.outputs;if(V.length===1)return J[0].evaluate(P);var he=this.input.evaluate(P);if(he<=V[0])return J[0].evaluate(P);var Ae=V.length;if(he>=V[Ae-1])return J[Ae-1].evaluate(P);var Oe=Rr(V,he),Ge=V[Oe],it=V[Oe+1],pt=Ya.interpolationFactor(this.interpolation,he,Ge,it),Ct=J[Oe].evaluate(P),Dt=J[Oe+1].evaluate(P);return this.operator==="interpolate"?gr[this.type.kind.toLowerCase()](Ct,Dt,pt):this.operator==="interpolate-hcl"?is.reverse(is.interpolate(is.forward(Ct),is.forward(Dt),pt)):Eu.reverse(Eu.interpolate(Eu.forward(Ct),Eu.forward(Dt),pt))},Ya.prototype.eachChild=function(P){P(this.input);for(var V=0,J=this.outputs;V=J.length)throw new or("Array index out of bounds: "+V+" > "+(J.length-1)+".");if(V!==Math.floor(V))throw new or("Array index must be an integer, but found "+V+" instead.");return J[V]},Al.prototype.eachChild=function(P){P(this.index),P(this.input)},Al.prototype.outputDefined=function(){return!1},Al.prototype.serialize=function(){return["at",this.index.serialize(),this.input.serialize()]};var Ui=function(P,V){this.type=Rt,this.needle=P,this.haystack=V};Ui.parse=function(P,V){if(P.length!==3)return V.error("Expected 2 arguments, but found "+(P.length-1)+" instead.");var J=V.parse(P[1],1,Wt),he=V.parse(P[2],2,Wt);return J&&he?kn(J.type,[Rt,wt,Pt,yt,Wt])?new Ui(J,he):V.error("Expected first argument to be of type boolean, string, number or null, but found "+un(J.type)+" instead"):null},Ui.prototype.evaluate=function(P){var V=this.needle.evaluate(P),J=this.haystack.evaluate(P);if(!J)return!1;if(!sn(V,["boolean","string","number","null"]))throw new or("Expected first argument to be of type boolean, string, number or null, but found "+un(rr(V))+" instead.");if(!sn(J,["string","array"]))throw new or("Expected second argument to be of type array or string, but found "+un(rr(J))+" instead.");return J.indexOf(V)>=0},Ui.prototype.eachChild=function(P){P(this.needle),P(this.haystack)},Ui.prototype.outputDefined=function(){return!0},Ui.prototype.serialize=function(){return["in",this.needle.serialize(),this.haystack.serialize()]};var Sl=function(P,V,J){this.type=Pt,this.needle=P,this.haystack=V,this.fromIndex=J};Sl.parse=function(P,V){if(P.length<=2||P.length>=5)return V.error("Expected 3 or 4 arguments, but found "+(P.length-1)+" instead.");var J=V.parse(P[1],1,Wt),he=V.parse(P[2],2,Wt);if(!J||!he)return null;if(!kn(J.type,[Rt,wt,Pt,yt,Wt]))return V.error("Expected first argument to be of type boolean, string, number or null, but found "+un(J.type)+" instead");if(P.length===4){var Ae=V.parse(P[3],3,Pt);return Ae?new Sl(J,he,Ae):null}return new Sl(J,he)},Sl.prototype.evaluate=function(P){var V=this.needle.evaluate(P),J=this.haystack.evaluate(P);if(!sn(V,["boolean","string","number","null"]))throw new or("Expected first argument to be of type boolean, string, number or null, but found "+un(rr(V))+" instead.");if(!sn(J,["string","array"]))throw new or("Expected second argument to be of type array or string, but found "+un(rr(J))+" instead.");if(this.fromIndex){var he=this.fromIndex.evaluate(P);return J.indexOf(V,he)}return J.indexOf(V)},Sl.prototype.eachChild=function(P){P(this.needle),P(this.haystack),this.fromIndex&&P(this.fromIndex)},Sl.prototype.outputDefined=function(){return!1},Sl.prototype.serialize=function(){if(this.fromIndex!=null&&this.fromIndex!==void 0){var P=this.fromIndex.serialize();return["index-of",this.needle.serialize(),this.haystack.serialize(),P]}return["index-of",this.needle.serialize(),this.haystack.serialize()]};var ps=function(P,V,J,he,Ae,Oe){this.inputType=P,this.type=V,this.input=J,this.cases=he,this.outputs=Ae,this.otherwise=Oe};ps.parse=function(P,V){if(P.length<5)return V.error("Expected at least 4 arguments, but found only "+(P.length-1)+".");if(P.length%2!=1)return V.error("Expected an even number of arguments.");var J,he;V.expectedType&&V.expectedType.kind!=="value"&&(he=V.expectedType);for(var Ae={},Oe=[],Ge=2;GeNumber.MAX_SAFE_INTEGER)return Ct.error("Branch labels must be integers no larger than "+Number.MAX_SAFE_INTEGER+".");if(typeof Zt=="number"&&Math.floor(Zt)!==Zt)return Ct.error("Numeric branch labels must be integer values.");if(J){if(Ct.checkSubtype(J,rr(Zt)))return null}else J=rr(Zt);if(Ae[String(Zt)]!==void 0)return Ct.error("Branch labels must be unique.");Ae[String(Zt)]=Oe.length}var $t=V.parse(pt,Ge,he);if(!$t)return null;he=he||$t.type,Oe.push($t)}var fn=V.parse(P[1],1,Wt);if(!fn)return null;var Mn=V.parse(P[P.length-1],P.length-1,he);return Mn?fn.type.kind!=="value"&&V.concat(1).checkSubtype(J,fn.type)?null:new ps(J,he,fn,Ae,Oe,Mn):null},ps.prototype.evaluate=function(P){var V=this.input.evaluate(P);return(rr(V)===this.inputType&&this.outputs[this.cases[V]]||this.otherwise).evaluate(P)},ps.prototype.eachChild=function(P){P(this.input),this.outputs.forEach(P),P(this.otherwise)},ps.prototype.outputDefined=function(){return this.outputs.every(function(P){return P.outputDefined()})&&this.otherwise.outputDefined()},ps.prototype.serialize=function(){for(var P=this,V=["match",this.input.serialize()],J=[],he={},Ae=0,Oe=Object.keys(this.cases).sort();Ae=5)return V.error("Expected 3 or 4 arguments, but found "+(P.length-1)+" instead.");var J=V.parse(P[1],1,Wt),he=V.parse(P[2],2,Pt);if(!J||!he)return null;if(!kn(J.type,[xn(Wt),wt,Wt]))return V.error("Expected first argument to be of type array or string, but found "+un(J.type)+" instead");if(P.length===4){var Ae=V.parse(P[3],3,Pt);return Ae?new js(J.type,J,he,Ae):null}return new js(J.type,J,he)},js.prototype.evaluate=function(P){var V=this.input.evaluate(P),J=this.beginIndex.evaluate(P);if(!sn(V,["string","array"]))throw new or("Expected first argument to be of type array or string, but found "+un(rr(V))+" instead.");if(this.endIndex){var he=this.endIndex.evaluate(P);return V.slice(J,he)}return V.slice(J)},js.prototype.eachChild=function(P){P(this.input),P(this.beginIndex),this.endIndex&&P(this.endIndex)},js.prototype.outputDefined=function(){return!1},js.prototype.serialize=function(){if(this.endIndex!=null&&this.endIndex!==void 0){var P=this.endIndex.serialize();return["slice",this.input.serialize(),this.beginIndex.serialize(),P]}return["slice",this.input.serialize(),this.beginIndex.serialize()]};var yf=tl("==",function(P,V,J){return V===J},vf),bf=tl("!=",function(P,V,J){return V!==J},function(P,V,J,he){return!vf(0,V,J,he)}),id=tl("<",function(P,V,J){return V",function(P,V,J){return V>J},function(P,V,J,he){return he.compare(V,J)>0}),xf=tl("<=",function(P,V,J){return V<=J},function(P,V,J,he){return he.compare(V,J)<=0}),Ch=tl(">=",function(P,V,J){return V>=J},function(P,V,J,he){return he.compare(V,J)>=0}),nl=function(P,V,J,he,Ae){this.type=wt,this.number=P,this.locale=V,this.currency=J,this.minFractionDigits=he,this.maxFractionDigits=Ae};nl.parse=function(P,V){if(P.length!==3)return V.error("Expected two arguments.");var J=V.parse(P[1],1,Pt);if(!J)return null;var he=P[2];if(typeof he!="object"||Array.isArray(he))return V.error("NumberFormat options argument must be an object.");var Ae=null;if(he.locale&&!(Ae=V.parse(he.locale,1,wt)))return null;var Oe=null;if(he.currency&&!(Oe=V.parse(he.currency,1,wt)))return null;var Ge=null;if(he["min-fraction-digits"]&&!(Ge=V.parse(he["min-fraction-digits"],1,Pt)))return null;var it=null;return he["max-fraction-digits"]&&!(it=V.parse(he["max-fraction-digits"],1,Pt))?null:new nl(J,Ae,Oe,Ge,it)},nl.prototype.evaluate=function(P){return new Intl.NumberFormat(this.locale?this.locale.evaluate(P):[],{style:this.currency?"currency":"decimal",currency:this.currency?this.currency.evaluate(P):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(P):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(P):void 0}).format(this.number.evaluate(P))},nl.prototype.eachChild=function(P){P(this.number),this.locale&&P(this.locale),this.currency&&P(this.currency),this.minFractionDigits&&P(this.minFractionDigits),this.maxFractionDigits&&P(this.maxFractionDigits)},nl.prototype.outputDefined=function(){return!1},nl.prototype.serialize=function(){var P={};return this.locale&&(P.locale=this.locale.serialize()),this.currency&&(P.currency=this.currency.serialize()),this.minFractionDigits&&(P["min-fraction-digits"]=this.minFractionDigits.serialize()),this.maxFractionDigits&&(P["max-fraction-digits"]=this.maxFractionDigits.serialize()),["number-format",this.number.serialize(),P]};var rl=function(P){this.type=Pt,this.input=P};rl.parse=function(P,V){if(P.length!==2)return V.error("Expected 1 argument, but found "+(P.length-1)+" instead.");var J=V.parse(P[1],1);return J?J.type.kind!=="array"&&J.type.kind!=="string"&&J.type.kind!=="value"?V.error("Expected argument of type string or array, but found "+un(J.type)+" instead."):new rl(J):null},rl.prototype.evaluate=function(P){var V=this.input.evaluate(P);if(typeof V=="string"||Array.isArray(V))return V.length;throw new or("Expected value to be of type string or array, but found "+un(rr(V))+" instead.")},rl.prototype.eachChild=function(P){P(this.input)},rl.prototype.outputDefined=function(){return!1},rl.prototype.serialize=function(){var P=["length"];return this.eachChild(function(V){P.push(V.serialize())}),P};var Lu={"==":yf,"!=":bf,">":Sh,"<":id,">=":Ch,"<=":xf,array:_r,at:Al,boolean:_r,case:Es,coalesce:Yo,collator:tr,format:Kt,image:bn,in:Ui,"index-of":Sl,interpolate:Ya,"interpolate-hcl":Ya,"interpolate-lab":Ya,length:rl,let:as,literal:yr,match:ps,number:_r,"number-format":nl,object:_r,slice:js,step:Lr,string:_r,"to-boolean":Ln,"to-color":Ln,"to-number":Ln,"to-string":Ln,var:pr,within:nr};function il(P,V){var J=V[0],he=V[1],Ae=V[2],Oe=V[3];J=J.evaluate(P),he=he.evaluate(P),Ae=Ae.evaluate(P);var Ge=Oe?Oe.evaluate(P):1,it=qn(J,he,Ae,Ge);if(it)throw new or(it);return new pn(J/255*Ge,he/255*Ge,Ae/255*Ge,Ge)}function Eh(P,V){return P in V}function Lh(P,V){var J=V[P];return J===void 0?null:J}function Jl(P){return{type:P}}function jc(P){return{result:"success",value:P}}function Cl(P){return{result:"error",value:P}}function Iu(P){return P["property-type"]==="data-driven"||P["property-type"]==="cross-faded-data-driven"}function Ql(P){return!!P.expression&&P.expression.parameters.indexOf("zoom")>-1}function al(P){return!!P.expression&&P.expression.interpolated}function Hi(P){return P instanceof Number?"number":P instanceof String?"string":P instanceof Boolean?"boolean":Array.isArray(P)?"array":P===null?"null":typeof P}function El(P){return typeof P=="object"&&P!==null&&!Array.isArray(P)}function ad(P){return P}function Uc(P,V){var J,he,Ae,Oe=V.type==="color",Ge=P.stops&&typeof P.stops[0][0]=="object",it=Ge||P.property!==void 0,pt=Ge||!it,Ct=P.type||(al(V)?"exponential":"interval");if(Oe&&((P=ut({},P)).stops&&(P.stops=P.stops.map(function(Tr){return[Tr[0],pn.parse(Tr[1])]})),P.default?P.default=pn.parse(P.default):P.default=pn.parse(V.default)),P.colorSpace&&P.colorSpace!=="rgb"&&!Ah[P.colorSpace])throw new Error("Unknown color space: "+P.colorSpace);if(Ct==="exponential")J=ms;else if(Ct==="interval")J=Ru;else if(Ct==="categorical"){J=eu,he=Object.create(null);for(var Dt=0,Gt=P.stops;Dt=P.stops[he-1][0])return P.stops[he-1][1];var Ae=Rr(P.stops.map(function(Oe){return Oe[0]}),J);return P.stops[Ae][1]}function ms(P,V,J){var he=P.base!==void 0?P.base:1;if(Hi(J)!=="number")return dc(P.default,V.default);var Ae=P.stops.length;if(Ae===1||J<=P.stops[0][0])return P.stops[0][1];if(J>=P.stops[Ae-1][0])return P.stops[Ae-1][1];var Oe=Rr(P.stops.map(function(Gt){return Gt[0]}),J),Ge=function(Gt,Zt,$t,fn){var Mn=fn-$t,Nn=Gt-$t;return Mn===0?0:Zt===1?Nn/Mn:(Math.pow(Zt,Nn)-1)/(Math.pow(Zt,Mn)-1)}(J,he,P.stops[Oe][0],P.stops[Oe+1][0]),it=P.stops[Oe][1],pt=P.stops[Oe+1][1],Ct=gr[V.type]||ad;if(P.colorSpace&&P.colorSpace!=="rgb"){var Dt=Ah[P.colorSpace];Ct=function(Gt,Zt){return Dt.reverse(Dt.interpolate(Dt.forward(Gt),Dt.forward(Zt),Ge))}}return typeof it.evaluate=="function"?{evaluate:function(){for(var Gt=[],Zt=arguments.length;Zt--;)Gt[Zt]=arguments[Zt];var $t=it.evaluate.apply(void 0,Gt),fn=pt.evaluate.apply(void 0,Gt);if($t!==void 0&&fn!==void 0)return Ct($t,fn,Ge)}}:Ct(it,pt,Ge)}function Ih(P,V,J){return V.type==="color"?J=pn.parse(J):V.type==="formatted"?J=jn.fromString(J.toString()):V.type==="resolvedImage"?J=Gn.fromString(J.toString()):Hi(J)===V.type||V.type==="enum"&&V.values[J]||(J=void 0),dc(J,P.default,V.default)}$n.register(Lu,{error:[{kind:"error"},[wt],function(P,V){var J=V[0];throw new or(J.evaluate(P))}],typeof:[wt,[Wt],function(P,V){return un(rr(V[0].evaluate(P)))}],"to-rgba":[xn(Pt,4),[Nt],function(P,V){return V[0].evaluate(P).toArray()}],rgb:[Nt,[Pt,Pt,Pt],il],rgba:[Nt,[Pt,Pt,Pt,Pt],il],has:{type:Rt,overloads:[[[wt],function(P,V){return Eh(V[0].evaluate(P),P.properties())}],[[wt,Yt],function(P,V){var J=V[0],he=V[1];return Eh(J.evaluate(P),he.evaluate(P))}]]},get:{type:Wt,overloads:[[[wt],function(P,V){return Lh(V[0].evaluate(P),P.properties())}],[[wt,Yt],function(P,V){var J=V[0],he=V[1];return Lh(J.evaluate(P),he.evaluate(P))}]]},"feature-state":[Wt,[wt],function(P,V){return Lh(V[0].evaluate(P),P.featureState||{})}],properties:[Yt,[],function(P){return P.properties()}],"geometry-type":[wt,[],function(P){return P.geometryType()}],id:[Wt,[],function(P){return P.id()}],zoom:[Pt,[],function(P){return P.globals.zoom}],"heatmap-density":[Pt,[],function(P){return P.globals.heatmapDensity||0}],"line-progress":[Pt,[],function(P){return P.globals.lineProgress||0}],accumulated:[Wt,[],function(P){return P.globals.accumulated===void 0?null:P.globals.accumulated}],"+":[Pt,Jl(Pt),function(P,V){for(var J=0,he=0,Ae=V;he":[Rt,[wt,Wt],function(P,V){var J=V[0],he=V[1],Ae=P.properties()[J.value],Oe=he.value;return typeof Ae==typeof Oe&&Ae>Oe}],"filter-id->":[Rt,[Wt],function(P,V){var J=V[0],he=P.id(),Ae=J.value;return typeof he==typeof Ae&&he>Ae}],"filter-<=":[Rt,[wt,Wt],function(P,V){var J=V[0],he=V[1],Ae=P.properties()[J.value],Oe=he.value;return typeof Ae==typeof Oe&&Ae<=Oe}],"filter-id-<=":[Rt,[Wt],function(P,V){var J=V[0],he=P.id(),Ae=J.value;return typeof he==typeof Ae&&he<=Ae}],"filter->=":[Rt,[wt,Wt],function(P,V){var J=V[0],he=V[1],Ae=P.properties()[J.value],Oe=he.value;return typeof Ae==typeof Oe&&Ae>=Oe}],"filter-id->=":[Rt,[Wt],function(P,V){var J=V[0],he=P.id(),Ae=J.value;return typeof he==typeof Ae&&he>=Ae}],"filter-has":[Rt,[Wt],function(P,V){return V[0].value in P.properties()}],"filter-has-id":[Rt,[],function(P){return P.id()!==null&&P.id()!==void 0}],"filter-type-in":[Rt,[xn(wt)],function(P,V){return V[0].value.indexOf(P.geometryType())>=0}],"filter-id-in":[Rt,[xn(Wt)],function(P,V){return V[0].value.indexOf(P.id())>=0}],"filter-in-small":[Rt,[wt,xn(Wt)],function(P,V){var J=V[0];return V[1].value.indexOf(P.properties()[J.value])>=0}],"filter-in-large":[Rt,[wt,xn(Wt)],function(P,V){var J=V[0],he=V[1];return function(Ae,Oe,Ge,it){for(;Ge<=it;){var pt=Ge+it>>1;if(Oe[pt]===Ae)return!0;Oe[pt]>Ae?it=pt-1:Ge=pt+1}return!1}(P.properties()[J.value],he.value,0,he.value.length-1)}],all:{type:Rt,overloads:[[[Rt,Rt],function(P,V){var J=V[0],he=V[1];return J.evaluate(P)&&he.evaluate(P)}],[Jl(Rt),function(P,V){for(var J=0,he=V;J0&&typeof P[0]=="string"&&P[0]in Lu}function mc(P,V){var J=new dr(Lu,[],V?function(Ae){var Oe={color:Nt,string:wt,number:Pt,enum:wt,boolean:Rt,formatted:Qt,resolvedImage:rn};return Ae.type==="array"?xn(Oe[Ae.value]||Wt,Ae.length):Oe[Ae.type]}(V):void 0),he=J.parse(P,void 0,void 0,void 0,V&&V.type==="string"?{typeAnnotation:"coerce"}:void 0);return he?jc(new pc(he,V)):Cl(J.errors)}pc.prototype.evaluateWithoutErrorHandling=function(P,V,J,he,Ae,Oe){return this._evaluator.globals=P,this._evaluator.feature=V,this._evaluator.featureState=J,this._evaluator.canonical=he,this._evaluator.availableImages=Ae||null,this._evaluator.formattedSection=Oe,this.expression.evaluate(this._evaluator)},pc.prototype.evaluate=function(P,V,J,he,Ae,Oe){this._evaluator.globals=P,this._evaluator.feature=V||null,this._evaluator.featureState=J||null,this._evaluator.canonical=he,this._evaluator.availableImages=Ae||null,this._evaluator.formattedSection=Oe||null;try{var Ge=this.expression.evaluate(this._evaluator);if(Ge==null||typeof Ge=="number"&&Ge!=Ge)return this._defaultValue;if(this._enumValues&&!(Ge in this._enumValues))throw new or("Expected value to be one of "+Object.keys(this._enumValues).map(function(it){return JSON.stringify(it)}).join(", ")+", but found "+JSON.stringify(Ge)+" instead.");return Ge}catch(it){return this._warningHistory[it.message]||(this._warningHistory[it.message]=!0,typeof console<"u"&&console.warn(it.message)),this._defaultValue}};var tu=function(P,V){this.kind=P,this._styleExpression=V,this.isStateDependent=P!=="constant"&&!hr(V.expression)};tu.prototype.evaluateWithoutErrorHandling=function(P,V,J,he,Ae,Oe){return this._styleExpression.evaluateWithoutErrorHandling(P,V,J,he,Ae,Oe)},tu.prototype.evaluate=function(P,V,J,he,Ae,Oe){return this._styleExpression.evaluate(P,V,J,he,Ae,Oe)};var nu=function(P,V,J,he){this.kind=P,this.zoomStops=J,this._styleExpression=V,this.isStateDependent=P!=="camera"&&!hr(V.expression),this.interpolationType=he};function Ou(P,V){if((P=mc(P,V)).result==="error")return P;var J=P.value.expression,he=Qn(J);if(!he&&!Iu(V))return Cl([new It("","data expressions not supported")]);var Ae=cr(J,["zoom"]);if(!Ae&&!Ql(V))return Cl([new It("","zoom expressions not supported")]);var Oe=vc(J);if(!Oe&&!Ae)return Cl([new It("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')]);if(Oe instanceof It)return Cl([Oe]);if(Oe instanceof Ya&&!al(V))return Cl([new It("",'"interpolate" expressions cannot be used with this property')]);if(!Oe)return jc(new tu(he?"constant":"source",P.value));var Ge=Oe instanceof Ya?Oe.interpolation:void 0;return jc(new nu(he?"camera":"composite",P.value,Oe.labels,Ge))}nu.prototype.evaluateWithoutErrorHandling=function(P,V,J,he,Ae,Oe){return this._styleExpression.evaluateWithoutErrorHandling(P,V,J,he,Ae,Oe)},nu.prototype.evaluate=function(P,V,J,he,Ae,Oe){return this._styleExpression.evaluate(P,V,J,he,Ae,Oe)},nu.prototype.interpolationFactor=function(P,V,J){return this.interpolationType?Ya.interpolationFactor(this.interpolationType,P,V,J):0};var gc=function(P,V){this._parameters=P,this._specification=V,ut(this,Uc(this._parameters,this._specification))};function vc(P){var V=null;if(P instanceof as)V=vc(P.result);else if(P instanceof Yo)for(var J=0,he=P.args;Jhe.maximum?[new Ne(V,J,J+" is greater than the maximum value "+he.maximum)]:[]}function Rh(P){var V,J,he,Ae=P.valueSpec,Oe=dt(P.value.type),Ge={},it=Oe!=="categorical"&&P.value.property===void 0,pt=!it,Ct=Hi(P.value.stops)==="array"&&Hi(P.value.stops[0])==="array"&&Hi(P.value.stops[0][0])==="object",Dt=gs({key:P.key,value:P.value,valueSpec:P.styleSpec.function,style:P.style,styleSpec:P.styleSpec,objectElementValidators:{stops:function($t){if(Oe==="identity")return[new Ne($t.key,$t.value,'identity function may not have a "stops" property')];var fn=[],Mn=$t.value;return fn=fn.concat(yc({key:$t.key,value:Mn,valueSpec:$t.valueSpec,style:$t.style,styleSpec:$t.styleSpec,arrayElementValidator:Gt})),Hi(Mn)==="array"&&Mn.length===0&&fn.push(new Ne($t.key,Mn,"array must have at least one stop")),fn},default:function($t){return da({key:$t.key,value:$t.value,valueSpec:Ae,style:$t.style,styleSpec:$t.styleSpec})}}});return Oe==="identity"&&it&&Dt.push(new Ne(P.key,P.value,'missing required property "property"')),Oe==="identity"||P.value.stops||Dt.push(new Ne(P.key,P.value,'missing required property "stops"')),Oe==="exponential"&&P.valueSpec.expression&&!al(P.valueSpec)&&Dt.push(new Ne(P.key,P.value,"exponential functions not supported")),P.styleSpec.$version>=8&&(pt&&!Iu(P.valueSpec)?Dt.push(new Ne(P.key,P.value,"property functions not supported")):it&&!Ql(P.valueSpec)&&Dt.push(new Ne(P.key,P.value,"zoom functions not supported"))),Oe!=="categorical"&&!Ct||P.value.property!==void 0||Dt.push(new Ne(P.key,P.value,'"property" property is required')),Dt;function Gt($t){var fn=[],Mn=$t.value,Nn=$t.key;if(Hi(Mn)!=="array")return[new Ne(Nn,Mn,"array expected, "+Hi(Mn)+" found")];if(Mn.length!==2)return[new Ne(Nn,Mn,"array length 2 expected, length "+Mn.length+" found")];if(Ct){if(Hi(Mn[0])!=="object")return[new Ne(Nn,Mn,"object expected, "+Hi(Mn[0])+" found")];if(Mn[0].zoom===void 0)return[new Ne(Nn,Mn,"object stop key must have zoom")];if(Mn[0].value===void 0)return[new Ne(Nn,Mn,"object stop key must have value")];if(he&&he>dt(Mn[0].zoom))return[new Ne(Nn,Mn[0].zoom,"stop zoom values must appear in ascending order")];dt(Mn[0].zoom)!==he&&(he=dt(Mn[0].zoom),J=void 0,Ge={}),fn=fn.concat(gs({key:Nn+"[0]",value:Mn[0],valueSpec:{zoom:{}},style:$t.style,styleSpec:$t.styleSpec,objectElementValidators:{zoom:bc,value:Zt}}))}else fn=fn.concat(Zt({key:Nn+"[0]",value:Mn[0],valueSpec:{},style:$t.style,styleSpec:$t.styleSpec},Mn));return Pu(_t(Mn[1]))?fn.concat([new Ne(Nn+"[1]",Mn[1],"expressions are not allowed in function stops.")]):fn.concat(da({key:Nn+"[1]",value:Mn[1],valueSpec:Ae,style:$t.style,styleSpec:$t.styleSpec}))}function Zt($t,fn){var Mn=Hi($t.value),Nn=dt($t.value),Bn=$t.value!==null?$t.value:fn;if(V){if(Mn!==V)return[new Ne($t.key,Bn,Mn+" stop domain type must match previous stop domain type "+V)]}else V=Mn;if(Mn!=="number"&&Mn!=="string"&&Mn!=="boolean")return[new Ne($t.key,Bn,"stop domain value must be a number, string, or boolean")];if(Mn!=="number"&&Oe!=="categorical"){var Wn="number expected, "+Mn+" found";return Iu(Ae)&&Oe===void 0&&(Wn+='\nIf you intended to use a categorical function, specify `"type": "categorical"`.'),[new Ne($t.key,Bn,Wn)]}return Oe!=="categorical"||Mn!=="number"||isFinite(Nn)&&Math.floor(Nn)===Nn?Oe!=="categorical"&&Mn==="number"&&J!==void 0&&Nn=2&&P[1]!=="$id"&&P[1]!=="$type";case"in":return P.length>=3&&(typeof P[1]!="string"||Array.isArray(P[2]));case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return P.length!==3||Array.isArray(P[1])||Array.isArray(P[2]);case"any":case"all":for(var V=0,J=P.slice(1);VV?1:0}function ru(P){if(!Array.isArray(P))return!1;if(P[0]==="within")return!0;for(var V=1;V"||J==="<="||J===">="?Ki(P[1],P[2],J):J==="any"?(V=P.slice(1),["any"].concat(V.map(iu))):J==="all"?["all"].concat(P.slice(1).map(iu)):J==="none"?["all"].concat(P.slice(1).map(iu).map(po)):J==="in"?Il(P[1],P.slice(2)):J==="!in"?po(Il(P[1],P.slice(2))):J==="has"?Rl(P[1]):J==="!has"?po(Rl(P[1])):J!=="within"||P}function Ki(P,V,J){switch(P){case"$type":return["filter-type-"+J,V];case"$id":return["filter-id-"+J,V];default:return["filter-"+J,P,V]}}function Il(P,V){if(V.length===0)return!1;switch(P){case"$type":return["filter-type-in",["literal",V]];case"$id":return["filter-id-in",["literal",V]];default:return V.length>200&&!V.some(function(J){return typeof J!=typeof V[0]})?["filter-in-large",P,["literal",V.sort(Du)]]:["filter-in-small",P,["literal",V]]}}function Rl(P){switch(P){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",P]}}function po(P){return["!",P]}function Oi(P){return xc(_t(P.value))?Ll(ut({},P,{expressionContext:"filter",valueSpec:{value:"boolean"}})):Bi(P)}function Bi(P){var V=P.value,J=P.key;if(Hi(V)!=="array")return[new Ne(J,V,"array expected, "+Hi(V)+" found")];var he,Ae=P.styleSpec,Oe=[];if(V.length<1)return[new Ne(J,V,"filter array must have at least 1 element")];switch(Oe=Oe.concat(Hc({key:J+"[0]",value:V[0],valueSpec:Ae.filter_operator,style:P.style,styleSpec:P.styleSpec})),dt(V[0])){case"<":case"<=":case">":case">=":V.length>=2&&dt(V[1])==="$type"&&Oe.push(new Ne(J,V,'"$type" cannot be use with operator "'+V[0]+'"'));case"==":case"!=":V.length!==3&&Oe.push(new Ne(J,V,'filter array for operator "'+V[0]+'" must have 3 elements'));case"in":case"!in":V.length>=2&&(he=Hi(V[1]))!=="string"&&Oe.push(new Ne(J+"[1]",V[1],"string expected, "+he+" found"));for(var Ge=2;Ge=Dt[$t+0]&&he>=Dt[$t+1])?(Ge[Zt]=!0,Oe.push(Ct[Zt])):Ge[Zt]=!1}}},$o.prototype._forEachCell=function(P,V,J,he,Ae,Oe,Ge,it){for(var pt=this._convertToCellCoord(P),Ct=this._convertToCellCoord(V),Dt=this._convertToCellCoord(J),Gt=this._convertToCellCoord(he),Zt=pt;Zt<=Dt;Zt++)for(var $t=Ct;$t<=Gt;$t++){var fn=this.d*$t+Zt;if((!it||it(this._convertFromCellCoord(Zt),this._convertFromCellCoord($t),this._convertFromCellCoord(Zt+1),this._convertFromCellCoord($t+1)))&&Ae.call(this,P,V,J,he,fn,Oe,Ge,it))return}},$o.prototype._convertFromCellCoord=function(P){return(P-this.padding)/this.scale},$o.prototype._convertToCellCoord=function(P){return Math.max(0,Math.min(this.d-1,Math.floor(P*this.scale)+this.padding))},$o.prototype.toArrayBuffer=function(){if(this.arrayBuffer)return this.arrayBuffer;for(var P=this.cells,V=3+this.cells.length+1+1,J=0,he=0;he=0)){var Gt=P[Dt];Ct[Dt]=Lo[pt].shallow.indexOf(Dt)>=0?Gt:zu(Gt,V)}P instanceof Error&&(Ct.message=P.message)}if(Ct.$name)throw new Error("$name property is reserved for worker serialization logic.");return pt!=="Object"&&(Ct.$name=pt),Ct}throw new Error("can't serialize object of type "+typeof P)}function Fu(P){if(P==null||typeof P=="boolean"||typeof P=="number"||typeof P=="string"||P instanceof Boolean||P instanceof Number||P instanceof String||P instanceof Date||P instanceof RegExp||Fo(P)||Yc(P)||ArrayBuffer.isView(P)||P instanceof qc)return P;if(Array.isArray(P))return P.map(Fu);if(typeof P=="object"){var V=P.$name||"Object",J=Lo[V].klass;if(!J)throw new Error("can't deserialize unregistered class "+V);if(J.deserialize)return J.deserialize(P);for(var he=Object.create(J.prototype),Ae=0,Oe=Object.keys(P);Ae=0?it:Fu(it)}}return he}throw new Error("can't deserialize object of type "+typeof P)}var Bu=function(){this.first=!0};Bu.prototype.update=function(P,V){var J=Math.floor(P);return this.first?(this.first=!1,this.lastIntegerZoom=J,this.lastIntegerZoomTime=0,this.lastZoom=P,this.lastFloorZoom=J,!0):(this.lastFloorZoom>J?(this.lastIntegerZoom=J+1,this.lastIntegerZoomTime=V):this.lastFloorZoom=128&&P<=255},Arabic:function(P){return P>=1536&&P<=1791},"Arabic Supplement":function(P){return P>=1872&&P<=1919},"Arabic Extended-A":function(P){return P>=2208&&P<=2303},"Hangul Jamo":function(P){return P>=4352&&P<=4607},"Unified Canadian Aboriginal Syllabics":function(P){return P>=5120&&P<=5759},Khmer:function(P){return P>=6016&&P<=6143},"Unified Canadian Aboriginal Syllabics Extended":function(P){return P>=6320&&P<=6399},"General Punctuation":function(P){return P>=8192&&P<=8303},"Letterlike Symbols":function(P){return P>=8448&&P<=8527},"Number Forms":function(P){return P>=8528&&P<=8591},"Miscellaneous Technical":function(P){return P>=8960&&P<=9215},"Control Pictures":function(P){return P>=9216&&P<=9279},"Optical Character Recognition":function(P){return P>=9280&&P<=9311},"Enclosed Alphanumerics":function(P){return P>=9312&&P<=9471},"Geometric Shapes":function(P){return P>=9632&&P<=9727},"Miscellaneous Symbols":function(P){return P>=9728&&P<=9983},"Miscellaneous Symbols and Arrows":function(P){return P>=11008&&P<=11263},"CJK Radicals Supplement":function(P){return P>=11904&&P<=12031},"Kangxi Radicals":function(P){return P>=12032&&P<=12255},"Ideographic Description Characters":function(P){return P>=12272&&P<=12287},"CJK Symbols and Punctuation":function(P){return P>=12288&&P<=12351},Hiragana:function(P){return P>=12352&&P<=12447},Katakana:function(P){return P>=12448&&P<=12543},Bopomofo:function(P){return P>=12544&&P<=12591},"Hangul Compatibility Jamo":function(P){return P>=12592&&P<=12687},Kanbun:function(P){return P>=12688&&P<=12703},"Bopomofo Extended":function(P){return P>=12704&&P<=12735},"CJK Strokes":function(P){return P>=12736&&P<=12783},"Katakana Phonetic Extensions":function(P){return P>=12784&&P<=12799},"Enclosed CJK Letters and Months":function(P){return P>=12800&&P<=13055},"CJK Compatibility":function(P){return P>=13056&&P<=13311},"CJK Unified Ideographs Extension A":function(P){return P>=13312&&P<=19903},"Yijing Hexagram Symbols":function(P){return P>=19904&&P<=19967},"CJK Unified Ideographs":function(P){return P>=19968&&P<=40959},"Yi Syllables":function(P){return P>=40960&&P<=42127},"Yi Radicals":function(P){return P>=42128&&P<=42191},"Hangul Jamo Extended-A":function(P){return P>=43360&&P<=43391},"Hangul Syllables":function(P){return P>=44032&&P<=55215},"Hangul Jamo Extended-B":function(P){return P>=55216&&P<=55295},"Private Use Area":function(P){return P>=57344&&P<=63743},"CJK Compatibility Ideographs":function(P){return P>=63744&&P<=64255},"Arabic Presentation Forms-A":function(P){return P>=64336&&P<=65023},"Vertical Forms":function(P){return P>=65040&&P<=65055},"CJK Compatibility Forms":function(P){return P>=65072&&P<=65103},"Small Form Variants":function(P){return P>=65104&&P<=65135},"Arabic Presentation Forms-B":function(P){return P>=65136&&P<=65279},"Halfwidth and Fullwidth Forms":function(P){return P>=65280&&P<=65519}};function Nu(P){for(var V=0,J=P;V=65097&&P<=65103)||Br["CJK Compatibility Ideographs"](P)||Br["CJK Compatibility"](P)||Br["CJK Radicals Supplement"](P)||Br["CJK Strokes"](P)||!(!Br["CJK Symbols and Punctuation"](P)||P>=12296&&P<=12305||P>=12308&&P<=12319||P===12336)||Br["CJK Unified Ideographs Extension A"](P)||Br["CJK Unified Ideographs"](P)||Br["Enclosed CJK Letters and Months"](P)||Br["Hangul Compatibility Jamo"](P)||Br["Hangul Jamo Extended-A"](P)||Br["Hangul Jamo Extended-B"](P)||Br["Hangul Jamo"](P)||Br["Hangul Syllables"](P)||Br.Hiragana(P)||Br["Ideographic Description Characters"](P)||Br.Kanbun(P)||Br["Kangxi Radicals"](P)||Br["Katakana Phonetic Extensions"](P)||Br.Katakana(P)&&P!==12540||!(!Br["Halfwidth and Fullwidth Forms"](P)||P===65288||P===65289||P===65293||P>=65306&&P<=65310||P===65339||P===65341||P===65343||P>=65371&&P<=65503||P===65507||P>=65512&&P<=65519)||!(!Br["Small Form Variants"](P)||P>=65112&&P<=65118||P>=65123&&P<=65126)||Br["Unified Canadian Aboriginal Syllabics"](P)||Br["Unified Canadian Aboriginal Syllabics Extended"](P)||Br["Vertical Forms"](P)||Br["Yijing Hexagram Symbols"](P)||Br["Yi Syllables"](P)||Br["Yi Radicals"](P))))}function $c(P){return!(ys(P)||function(V){return!!(Br["Latin-1 Supplement"](V)&&(V===167||V===169||V===174||V===177||V===188||V===189||V===190||V===215||V===247)||Br["General Punctuation"](V)&&(V===8214||V===8224||V===8225||V===8240||V===8241||V===8251||V===8252||V===8258||V===8263||V===8264||V===8265||V===8273)||Br["Letterlike Symbols"](V)||Br["Number Forms"](V)||Br["Miscellaneous Technical"](V)&&(V>=8960&&V<=8967||V>=8972&&V<=8991||V>=8996&&V<=9e3||V===9003||V>=9085&&V<=9114||V>=9150&&V<=9165||V===9167||V>=9169&&V<=9179||V>=9186&&V<=9215)||Br["Control Pictures"](V)&&V!==9251||Br["Optical Character Recognition"](V)||Br["Enclosed Alphanumerics"](V)||Br["Geometric Shapes"](V)||Br["Miscellaneous Symbols"](V)&&!(V>=9754&&V<=9759)||Br["Miscellaneous Symbols and Arrows"](V)&&(V>=11026&&V<=11055||V>=11088&&V<=11097||V>=11192&&V<=11243)||Br["CJK Symbols and Punctuation"](V)||Br.Katakana(V)||Br["Private Use Area"](V)||Br["CJK Compatibility Forms"](V)||Br["Small Form Variants"](V)||Br["Halfwidth and Fullwidth Forms"](V)||V===8734||V===8756||V===8757||V>=9984&&V<=10087||V>=10102&&V<=10131||V===65532||V===65533)}(P))}function wc(P){return Br.Arabic(P)||Br["Arabic Supplement"](P)||Br["Arabic Extended-A"](P)||Br["Arabic Presentation Forms-A"](P)||Br["Arabic Presentation Forms-B"](P)}function vo(P){return P>=1424&&P<=2303||Br["Arabic Presentation Forms-A"](P)||Br["Arabic Presentation Forms-B"](P)}function cu(P,V){return!(!V&&vo(P)||P>=2304&&P<=3583||P>=3840&&P<=4255||Br.Khmer(P))}function ll(P){for(var V=0,J=P;V-1&&(yo=bs),hu&&hu(P)};function Tc(){os.fire(new qe("pluginStateChange",{pluginStatus:yo,pluginURL:xs}))}var os=new ft,_s=function(){return yo},Gs=function(){if(yo!==Zo||!xs)throw new Error("rtl-text-plugin cannot be downloaded unless a pluginURL is specified");yo=Ol,Tc(),xs&&Ft({url:xs},function(P){P?$i(P):(yo=Ls,Tc())})},Bo={applyArabicShaping:null,processBidirectionalText:null,processStyledBidirectionalText:null,isLoaded:function(){return yo===Ls||Bo.applyArabicShaping!=null},isLoading:function(){return yo===Ol},setState:function(P){yo=P.pluginStatus,xs=P.pluginURL},isParsed:function(){return Bo.applyArabicShaping!=null&&Bo.processBidirectionalText!=null&&Bo.processStyledBidirectionalText!=null},getPluginURL:function(){return xs}},Wi=function(P,V){this.zoom=P,V?(this.now=V.now,this.fadeDuration=V.fadeDuration,this.zoomHistory=V.zoomHistory,this.transition=V.transition):(this.now=0,this.fadeDuration=0,this.zoomHistory=new Bu,this.transition={})};Wi.prototype.isSupportedScript=function(P){return function(V,J){for(var he=0,Ae=V;hethis.zoomHistory.lastIntegerZoom?{fromScale:2,toScale:1,t:V+(1-V)*J}:{fromScale:.5,toScale:1,t:1-(1-J)*V}};var no=function(P,V){this.property=P,this.value=V,this.expression=function(J,he){if(El(J))return new gc(J,he);if(Pu(J)){var Ae=Ou(J,he);if(Ae.result==="error")throw new Error(Ae.value.map(function(Ge){return Ge.key+": "+Ge.message}).join(", "));return Ae.value}var Oe=J;return typeof J=="string"&&he.type==="color"&&(Oe=pn.parse(J)),{kind:"constant",evaluate:function(){return Oe}}}(V===void 0?P.specification.default:V,P.specification)};no.prototype.isDataDriven=function(){return this.expression.kind==="source"||this.expression.kind==="composite"},no.prototype.possiblyEvaluate=function(P,V,J){return this.property.possiblyEvaluate(this,P,V,J)};var Is=function(P){this.property=P,this.value=new no(P,void 0)};Is.prototype.transitioned=function(P,V){return new qs(this.property,this.value,V,m({},P.transition,this.transition),P.now)},Is.prototype.untransitioned=function(){return new qs(this.property,this.value,null,{},0)};var No=function(P){this._properties=P,this._values=Object.create(P.defaultTransitionablePropertyValues)};No.prototype.getValue=function(P){return L(this._values[P].value.value)},No.prototype.setValue=function(P,V){this._values.hasOwnProperty(P)||(this._values[P]=new Is(this._values[P].property)),this._values[P].value=new no(this._values[P].property,V===null?void 0:L(V))},No.prototype.getTransition=function(P){return L(this._values[P].transition)},No.prototype.setTransition=function(P,V){this._values.hasOwnProperty(P)||(this._values[P]=new Is(this._values[P].property)),this._values[P].transition=L(V)||void 0},No.prototype.serialize=function(){for(var P={},V=0,J=Object.keys(this._values);Vthis.end)return this.prior=null,Ae;if(this.value.isDataDriven())return this.prior=null,Ae;if(he=1)return 1;var pt=it*it,Ct=pt*it;return 4*(it<.5?Ct:3*(it-pt)+Ct-.75)}(Ge))}return Ae};var Dl=function(P){this._properties=P,this._values=Object.create(P.defaultTransitioningPropertyValues)};Dl.prototype.possiblyEvaluate=function(P,V,J){for(var he=new ws(this._properties),Ae=0,Oe=Object.keys(this._values);AeOe.zoomHistory.lastIntegerZoom?{from:J,to:he}:{from:Ae,to:he}},V.prototype.interpolate=function(J){return J},V}(ni),cl=function(P){this.specification=P};cl.prototype.possiblyEvaluate=function(P,V,J,he){if(P.value!==void 0){if(P.expression.kind==="constant"){var Ae=P.expression.evaluate(V,null,{},J,he);return this._calculate(Ae,Ae,Ae,V)}return this._calculate(P.expression.evaluate(new Wi(Math.floor(V.zoom-1),V)),P.expression.evaluate(new Wi(Math.floor(V.zoom),V)),P.expression.evaluate(new Wi(Math.floor(V.zoom+1),V)),V)}},cl.prototype._calculate=function(P,V,J,he){return he.zoom>he.zoomHistory.lastIntegerZoom?{from:P,to:V}:{from:J,to:V}},cl.prototype.interpolate=function(P){return P};var Rs=function(P){this.specification=P};Rs.prototype.possiblyEvaluate=function(P,V,J,he){return!!P.expression.evaluate(V,null,{},J,he)},Rs.prototype.interpolate=function(){return!1};var xo=function(P){for(var V in this.properties=P,this.defaultPropertyValues={},this.defaultTransitionablePropertyValues={},this.defaultTransitioningPropertyValues={},this.defaultPossiblyEvaluatedValues={},this.overridableProperties=[],P){var J=P[V];J.specification.overridable&&this.overridableProperties.push(V);var he=this.defaultPropertyValues[V]=new no(J,void 0),Ae=this.defaultTransitionablePropertyValues[V]=new Is(J);this.defaultTransitioningPropertyValues[V]=Ae.untransitioned(),this.defaultPossiblyEvaluatedValues[V]=he.possiblyEvaluate({})}};Dr("DataDrivenProperty",ni),Dr("DataConstantProperty",Hr),Dr("CrossFadedDataDrivenProperty",Vu),Dr("CrossFadedProperty",cl),Dr("ColorRampProperty",Rs);var Zc="-transition",Vo=function(P){function V(J,he){if(P.call(this),this.id=J.id,this.type=J.type,this._featureFilter={filter:function(){return!0},needGeometry:!1},J.type!=="custom"&&(this.metadata=J.metadata,this.minzoom=J.minzoom,this.maxzoom=J.maxzoom,J.type!=="background"&&(this.source=J.source,this.sourceLayer=J["source-layer"],this.filter=J.filter),he.layout&&(this._unevaluatedLayout=new ul(he.layout)),he.paint)){for(var Ae in this._transitionablePaint=new No(he.paint),J.paint)this.setPaintProperty(Ae,J.paint[Ae],{validate:!1});for(var Oe in J.layout)this.setLayoutProperty(Oe,J.layout[Oe],{validate:!1});this._transitioningPaint=this._transitionablePaint.untransitioned(),this.paint=new ws(he.paint)}}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.getCrossfadeParameters=function(){return this._crossfadeParameters},V.prototype.getLayoutProperty=function(J){return J==="visibility"?this.visibility:this._unevaluatedLayout.getValue(J)},V.prototype.setLayoutProperty=function(J,he,Ae){if(Ae===void 0&&(Ae={}),he!=null){var Oe="layers."+this.id+".layout."+J;if(this._validate(Pl,Oe,J,he,Ae))return}J!=="visibility"?this._unevaluatedLayout.setValue(J,he):this.visibility=he},V.prototype.getPaintProperty=function(J){return E(J,Zc)?this._transitionablePaint.getTransition(J.slice(0,-Zc.length)):this._transitionablePaint.getValue(J)},V.prototype.setPaintProperty=function(J,he,Ae){if(Ae===void 0&&(Ae={}),he!=null){var Oe="layers."+this.id+".paint."+J;if(this._validate(zo,Oe,J,he,Ae))return!1}if(E(J,Zc))return this._transitionablePaint.setTransition(J.slice(0,-Zc.length),he||void 0),!1;var Ge=this._transitionablePaint._values[J],it=Ge.property.specification["property-type"]==="cross-faded-data-driven",pt=Ge.value.isDataDriven(),Ct=Ge.value;this._transitionablePaint.setValue(J,he),this._handleSpecialPaintPropertyUpdate(J);var Dt=this._transitionablePaint._values[J].value;return Dt.isDataDriven()||pt||it||this._handleOverridablePaintPropertyUpdate(J,Ct,Dt)},V.prototype._handleSpecialPaintPropertyUpdate=function(J){},V.prototype._handleOverridablePaintPropertyUpdate=function(J,he,Ae){return!1},V.prototype.isHidden=function(J){return!!(this.minzoom&&J=this.maxzoom)||this.visibility==="none"},V.prototype.updateTransitions=function(J){this._transitioningPaint=this._transitionablePaint.transitioned(J,this._transitioningPaint)},V.prototype.hasTransition=function(){return this._transitioningPaint.hasTransition()},V.prototype.recalculate=function(J,he){J.getCrossfadeParameters&&(this._crossfadeParameters=J.getCrossfadeParameters()),this._unevaluatedLayout&&(this.layout=this._unevaluatedLayout.possiblyEvaluate(J,void 0,he)),this.paint=this._transitioningPaint.possiblyEvaluate(J,void 0,he)},V.prototype.serialize=function(){var J={id:this.id,type:this.type,source:this.source,"source-layer":this.sourceLayer,metadata:this.metadata,minzoom:this.minzoom,maxzoom:this.maxzoom,filter:this.filter,layout:this._unevaluatedLayout&&this._unevaluatedLayout.serialize(),paint:this._transitionablePaint&&this._transitionablePaint.serialize()};return this.visibility&&(J.layout=J.layout||{},J.layout.visibility=this.visibility),A(J,function(he,Ae){return!(he===void 0||Ae==="layout"&&!Object.keys(he).length||Ae==="paint"&&!Object.keys(he).length)})},V.prototype._validate=function(J,he,Ae,Oe,Ge){return Ge===void 0&&(Ge={}),(!Ge||Ge.validate!==!1)&&vs(this,J.call(go,{key:he,layerType:this.type,objectKey:Ae,value:Oe,styleSpec:Re,style:{glyphs:!0,sprite:!0}}))},V.prototype.is3D=function(){return!1},V.prototype.isTileClipped=function(){return!1},V.prototype.hasOffscreenPass=function(){return!1},V.prototype.resize=function(){},V.prototype.isStateDependent=function(){for(var J in this.paint._values){var he=this.paint.get(J);if(he instanceof bo&&Iu(he.property.specification)&&(he.value.kind==="source"||he.value.kind==="composite")&&he.value.isStateDependent)return!0}return!1},V}(ft),ju={Int8:Int8Array,Uint8:Uint8Array,Int16:Int16Array,Uint16:Uint16Array,Int32:Int32Array,Uint32:Uint32Array,Float32:Float32Array},hl=function(P,V){this._structArray=P,this._pos1=V*this.size,this._pos2=this._pos1/2,this._pos4=this._pos1/4,this._pos8=this._pos1/8},Ji=function(){this.isTransferred=!1,this.capacity=-1,this.resize(0)};function la(P,V){V===void 0&&(V=1);var J=0,he=0;return{members:P.map(function(Ae){var Oe,Ge=(Oe=Ae.type,ju[Oe].BYTES_PER_ELEMENT),it=J=Xc(J,Math.max(V,Ge)),pt=Ae.components||1;return he=Math.max(he,Ge),J+=Ge*pt,{name:Ae.name,type:Ae.type,components:pt,offset:it}}),size:Xc(J,Math.max(he,V)),alignment:V}}function Xc(P,V){return Math.ceil(P/V)*V}Ji.serialize=function(P,V){return P._trim(),V&&(P.isTransferred=!0,V.push(P.arrayBuffer)),{length:P.length,arrayBuffer:P.arrayBuffer}},Ji.deserialize=function(P){var V=Object.create(this.prototype);return V.arrayBuffer=P.arrayBuffer,V.length=P.length,V.capacity=P.arrayBuffer.byteLength/V.bytesPerElement,V._refreshViews(),V},Ji.prototype._trim=function(){this.length!==this.capacity&&(this.capacity=this.length,this.arrayBuffer=this.arrayBuffer.slice(0,this.length*this.bytesPerElement),this._refreshViews())},Ji.prototype.clear=function(){this.length=0},Ji.prototype.resize=function(P){this.reserve(P),this.length=P},Ji.prototype.reserve=function(P){if(P>this.capacity){this.capacity=Math.max(P,Math.floor(5*this.capacity),128),this.arrayBuffer=new ArrayBuffer(this.capacity*this.bytesPerElement);var V=this.uint8;this._refreshViews(),V&&this.uint8.set(V)}},Ji.prototype._refreshViews=function(){throw new Error("_refreshViews() must be implemented by each concrete StructArray layout")};var et=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he){var Ae=this.length;return this.resize(Ae+1),this.emplace(Ae,J,he)},V.prototype.emplace=function(J,he,Ae){var Oe=2*J;return this.int16[Oe+0]=he,this.int16[Oe+1]=Ae,J},V}(Ji);et.prototype.bytesPerElement=4,Dr("StructArrayLayout2i4",et);var rt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe){var Ge=this.length;return this.resize(Ge+1),this.emplace(Ge,J,he,Ae,Oe)},V.prototype.emplace=function(J,he,Ae,Oe,Ge){var it=4*J;return this.int16[it+0]=he,this.int16[it+1]=Ae,this.int16[it+2]=Oe,this.int16[it+3]=Ge,J},V}(Ji);rt.prototype.bytesPerElement=8,Dr("StructArrayLayout4i8",rt);var ct=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it){var pt=this.length;return this.resize(pt+1),this.emplace(pt,J,he,Ae,Oe,Ge,it)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt){var Ct=6*J;return this.int16[Ct+0]=he,this.int16[Ct+1]=Ae,this.int16[Ct+2]=Oe,this.int16[Ct+3]=Ge,this.int16[Ct+4]=it,this.int16[Ct+5]=pt,J},V}(Ji);ct.prototype.bytesPerElement=12,Dr("StructArrayLayout2i4i12",ct);var vt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it){var pt=this.length;return this.resize(pt+1),this.emplace(pt,J,he,Ae,Oe,Ge,it)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt){var Ct=4*J,Dt=8*J;return this.int16[Ct+0]=he,this.int16[Ct+1]=Ae,this.uint8[Dt+4]=Oe,this.uint8[Dt+5]=Ge,this.uint8[Dt+6]=it,this.uint8[Dt+7]=pt,J},V}(Ji);vt.prototype.bytesPerElement=8,Dr("StructArrayLayout2i4ub8",vt);var St=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt){var Zt=this.length;return this.resize(Zt+1),this.emplace(Zt,J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt){var $t=9*J,fn=18*J;return this.uint16[$t+0]=he,this.uint16[$t+1]=Ae,this.uint16[$t+2]=Oe,this.uint16[$t+3]=Ge,this.uint16[$t+4]=it,this.uint16[$t+5]=pt,this.uint16[$t+6]=Ct,this.uint16[$t+7]=Dt,this.uint8[fn+16]=Gt,this.uint8[fn+17]=Zt,J},V}(Ji);St.prototype.bytesPerElement=18,Dr("StructArrayLayout8ui2ub18",St);var Mt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t){var fn=this.length;return this.resize(fn+1),this.emplace(fn,J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn){var Mn=12*J;return this.int16[Mn+0]=he,this.int16[Mn+1]=Ae,this.int16[Mn+2]=Oe,this.int16[Mn+3]=Ge,this.uint16[Mn+4]=it,this.uint16[Mn+5]=pt,this.uint16[Mn+6]=Ct,this.uint16[Mn+7]=Dt,this.int16[Mn+8]=Gt,this.int16[Mn+9]=Zt,this.int16[Mn+10]=$t,this.int16[Mn+11]=fn,J},V}(Ji);Mt.prototype.bytesPerElement=24,Dr("StructArrayLayout4i4ui4i24",Mt);var Y=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae){var Oe=this.length;return this.resize(Oe+1),this.emplace(Oe,J,he,Ae)},V.prototype.emplace=function(J,he,Ae,Oe){var Ge=3*J;return this.float32[Ge+0]=he,this.float32[Ge+1]=Ae,this.float32[Ge+2]=Oe,J},V}(Ji);Y.prototype.bytesPerElement=12,Dr("StructArrayLayout3f12",Y);var ee=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J){var he=this.length;return this.resize(he+1),this.emplace(he,J)},V.prototype.emplace=function(J,he){var Ae=1*J;return this.uint32[Ae+0]=he,J},V}(Ji);ee.prototype.bytesPerElement=4,Dr("StructArrayLayout1ul4",ee);var K=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt){var Gt=this.length;return this.resize(Gt+1),this.emplace(Gt,J,he,Ae,Oe,Ge,it,pt,Ct,Dt)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt){var Zt=10*J,$t=5*J;return this.int16[Zt+0]=he,this.int16[Zt+1]=Ae,this.int16[Zt+2]=Oe,this.int16[Zt+3]=Ge,this.int16[Zt+4]=it,this.int16[Zt+5]=pt,this.uint32[$t+3]=Ct,this.uint16[Zt+8]=Dt,this.uint16[Zt+9]=Gt,J},V}(Ji);K.prototype.bytesPerElement=20,Dr("StructArrayLayout6i1ul2ui20",K);var le=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it){var pt=this.length;return this.resize(pt+1),this.emplace(pt,J,he,Ae,Oe,Ge,it)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt){var Ct=6*J;return this.int16[Ct+0]=he,this.int16[Ct+1]=Ae,this.int16[Ct+2]=Oe,this.int16[Ct+3]=Ge,this.int16[Ct+4]=it,this.int16[Ct+5]=pt,J},V}(Ji);le.prototype.bytesPerElement=12,Dr("StructArrayLayout2i2i2i12",le);var Te=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge){var it=this.length;return this.resize(it+1),this.emplace(it,J,he,Ae,Oe,Ge)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it){var pt=4*J,Ct=8*J;return this.float32[pt+0]=he,this.float32[pt+1]=Ae,this.float32[pt+2]=Oe,this.int16[Ct+6]=Ge,this.int16[Ct+7]=it,J},V}(Ji);Te.prototype.bytesPerElement=16,Dr("StructArrayLayout2f1f2i16",Te);var De=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe){var Ge=this.length;return this.resize(Ge+1),this.emplace(Ge,J,he,Ae,Oe)},V.prototype.emplace=function(J,he,Ae,Oe,Ge){var it=12*J,pt=3*J;return this.uint8[it+0]=he,this.uint8[it+1]=Ae,this.float32[pt+1]=Oe,this.float32[pt+2]=Ge,J},V}(Ji);De.prototype.bytesPerElement=12,Dr("StructArrayLayout2ub2f12",De);var He=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae){var Oe=this.length;return this.resize(Oe+1),this.emplace(Oe,J,he,Ae)},V.prototype.emplace=function(J,he,Ae,Oe){var Ge=3*J;return this.uint16[Ge+0]=he,this.uint16[Ge+1]=Ae,this.uint16[Ge+2]=Oe,J},V}(Ji);He.prototype.bytesPerElement=6,Dr("StructArrayLayout3ui6",He);var Ze=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn,Mn,Nn,Bn,Wn){var Zn=this.length;return this.resize(Zn+1),this.emplace(Zn,J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn,Mn,Nn,Bn,Wn)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn,Mn,Nn,Bn,Wn,Zn){var er=24*J,sr=12*J,fr=48*J;return this.int16[er+0]=he,this.int16[er+1]=Ae,this.uint16[er+2]=Oe,this.uint16[er+3]=Ge,this.uint32[sr+2]=it,this.uint32[sr+3]=pt,this.uint32[sr+4]=Ct,this.uint16[er+10]=Dt,this.uint16[er+11]=Gt,this.uint16[er+12]=Zt,this.float32[sr+7]=$t,this.float32[sr+8]=fn,this.uint8[fr+36]=Mn,this.uint8[fr+37]=Nn,this.uint8[fr+38]=Bn,this.uint32[sr+10]=Wn,this.int16[er+22]=Zn,J},V}(Ji);Ze.prototype.bytesPerElement=48,Dr("StructArrayLayout2i2ui3ul3ui2f3ub1ul1i48",Ze);var at=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn,Mn,Nn,Bn,Wn,Zn,er,sr,fr,Pr,Tr,Nr,Xr,hi,Jr,ui){var ri=this.length;return this.resize(ri+1),this.emplace(ri,J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn,Mn,Nn,Bn,Wn,Zn,er,sr,fr,Pr,Tr,Nr,Xr,hi,Jr,ui)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn,Mn,Nn,Bn,Wn,Zn,er,sr,fr,Pr,Tr,Nr,Xr,hi,Jr,ui,ri){var Kr=34*J,Di=17*J;return this.int16[Kr+0]=he,this.int16[Kr+1]=Ae,this.int16[Kr+2]=Oe,this.int16[Kr+3]=Ge,this.int16[Kr+4]=it,this.int16[Kr+5]=pt,this.int16[Kr+6]=Ct,this.int16[Kr+7]=Dt,this.uint16[Kr+8]=Gt,this.uint16[Kr+9]=Zt,this.uint16[Kr+10]=$t,this.uint16[Kr+11]=fn,this.uint16[Kr+12]=Mn,this.uint16[Kr+13]=Nn,this.uint16[Kr+14]=Bn,this.uint16[Kr+15]=Wn,this.uint16[Kr+16]=Zn,this.uint16[Kr+17]=er,this.uint16[Kr+18]=sr,this.uint16[Kr+19]=fr,this.uint16[Kr+20]=Pr,this.uint16[Kr+21]=Tr,this.uint16[Kr+22]=Nr,this.uint32[Di+12]=Xr,this.float32[Di+13]=hi,this.float32[Di+14]=Jr,this.float32[Di+15]=ui,this.float32[Di+16]=ri,J},V}(Ji);at.prototype.bytesPerElement=68,Dr("StructArrayLayout8i15ui1ul4f68",at);var Tt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J){var he=this.length;return this.resize(he+1),this.emplace(he,J)},V.prototype.emplace=function(J,he){var Ae=1*J;return this.float32[Ae+0]=he,J},V}(Ji);Tt.prototype.bytesPerElement=4,Dr("StructArrayLayout1f4",Tt);var At=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae){var Oe=this.length;return this.resize(Oe+1),this.emplace(Oe,J,he,Ae)},V.prototype.emplace=function(J,he,Ae,Oe){var Ge=3*J;return this.int16[Ge+0]=he,this.int16[Ge+1]=Ae,this.int16[Ge+2]=Oe,J},V}(Ji);At.prototype.bytesPerElement=6,Dr("StructArrayLayout3i6",At);var se=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae){var Oe=this.length;return this.resize(Oe+1),this.emplace(Oe,J,he,Ae)},V.prototype.emplace=function(J,he,Ae,Oe){var Ge=2*J,it=4*J;return this.uint32[Ge+0]=he,this.uint16[it+2]=Ae,this.uint16[it+3]=Oe,J},V}(Ji);se.prototype.bytesPerElement=8,Dr("StructArrayLayout1ul2ui8",se);var ve=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he){var Ae=this.length;return this.resize(Ae+1),this.emplace(Ae,J,he)},V.prototype.emplace=function(J,he,Ae){var Oe=2*J;return this.uint16[Oe+0]=he,this.uint16[Oe+1]=Ae,J},V}(Ji);ve.prototype.bytesPerElement=4,Dr("StructArrayLayout2ui4",ve);var Ie=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J){var he=this.length;return this.resize(he+1),this.emplace(he,J)},V.prototype.emplace=function(J,he){var Ae=1*J;return this.uint16[Ae+0]=he,J},V}(Ji);Ie.prototype.bytesPerElement=2,Dr("StructArrayLayout1ui2",Ie);var Fe=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he){var Ae=this.length;return this.resize(Ae+1),this.emplace(Ae,J,he)},V.prototype.emplace=function(J,he,Ae){var Oe=2*J;return this.float32[Oe+0]=he,this.float32[Oe+1]=Ae,J},V}(Ji);Fe.prototype.bytesPerElement=8,Dr("StructArrayLayout2f8",Fe);var Ue=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe){var Ge=this.length;return this.resize(Ge+1),this.emplace(Ge,J,he,Ae,Oe)},V.prototype.emplace=function(J,he,Ae,Oe,Ge){var it=4*J;return this.float32[it+0]=he,this.float32[it+1]=Ae,this.float32[it+2]=Oe,this.float32[it+3]=Ge,J},V}(Ji);Ue.prototype.bytesPerElement=16,Dr("StructArrayLayout4f16",Ue);var We=function(P){function V(){P.apply(this,arguments)}P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V;var J={anchorPointX:{configurable:!0},anchorPointY:{configurable:!0},x1:{configurable:!0},y1:{configurable:!0},x2:{configurable:!0},y2:{configurable:!0},featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0},anchorPoint:{configurable:!0}};return J.anchorPointX.get=function(){return this._structArray.int16[this._pos2+0]},J.anchorPointY.get=function(){return this._structArray.int16[this._pos2+1]},J.x1.get=function(){return this._structArray.int16[this._pos2+2]},J.y1.get=function(){return this._structArray.int16[this._pos2+3]},J.x2.get=function(){return this._structArray.int16[this._pos2+4]},J.y2.get=function(){return this._structArray.int16[this._pos2+5]},J.featureIndex.get=function(){return this._structArray.uint32[this._pos4+3]},J.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+8]},J.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+9]},J.anchorPoint.get=function(){return new a(this.anchorPointX,this.anchorPointY)},Object.defineProperties(V.prototype,J),V}(hl);We.prototype.size=20;var Xe=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new We(this,J)},V}(K);Dr("CollisionBoxArray",Xe);var tt=function(P){function V(){P.apply(this,arguments)}P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V;var J={anchorX:{configurable:!0},anchorY:{configurable:!0},glyphStartIndex:{configurable:!0},numGlyphs:{configurable:!0},vertexStartIndex:{configurable:!0},lineStartIndex:{configurable:!0},lineLength:{configurable:!0},segment:{configurable:!0},lowerSize:{configurable:!0},upperSize:{configurable:!0},lineOffsetX:{configurable:!0},lineOffsetY:{configurable:!0},writingMode:{configurable:!0},placedOrientation:{configurable:!0},hidden:{configurable:!0},crossTileID:{configurable:!0},associatedIconIndex:{configurable:!0}};return J.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},J.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},J.glyphStartIndex.get=function(){return this._structArray.uint16[this._pos2+2]},J.numGlyphs.get=function(){return this._structArray.uint16[this._pos2+3]},J.vertexStartIndex.get=function(){return this._structArray.uint32[this._pos4+2]},J.lineStartIndex.get=function(){return this._structArray.uint32[this._pos4+3]},J.lineLength.get=function(){return this._structArray.uint32[this._pos4+4]},J.segment.get=function(){return this._structArray.uint16[this._pos2+10]},J.lowerSize.get=function(){return this._structArray.uint16[this._pos2+11]},J.upperSize.get=function(){return this._structArray.uint16[this._pos2+12]},J.lineOffsetX.get=function(){return this._structArray.float32[this._pos4+7]},J.lineOffsetY.get=function(){return this._structArray.float32[this._pos4+8]},J.writingMode.get=function(){return this._structArray.uint8[this._pos1+36]},J.placedOrientation.get=function(){return this._structArray.uint8[this._pos1+37]},J.placedOrientation.set=function(he){this._structArray.uint8[this._pos1+37]=he},J.hidden.get=function(){return this._structArray.uint8[this._pos1+38]},J.hidden.set=function(he){this._structArray.uint8[this._pos1+38]=he},J.crossTileID.get=function(){return this._structArray.uint32[this._pos4+10]},J.crossTileID.set=function(he){this._structArray.uint32[this._pos4+10]=he},J.associatedIconIndex.get=function(){return this._structArray.int16[this._pos2+22]},Object.defineProperties(V.prototype,J),V}(hl);tt.prototype.size=48;var lt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new tt(this,J)},V}(Ze);Dr("PlacedSymbolArray",lt);var mt=function(P){function V(){P.apply(this,arguments)}P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V;var J={anchorX:{configurable:!0},anchorY:{configurable:!0},rightJustifiedTextSymbolIndex:{configurable:!0},centerJustifiedTextSymbolIndex:{configurable:!0},leftJustifiedTextSymbolIndex:{configurable:!0},verticalPlacedTextSymbolIndex:{configurable:!0},placedIconSymbolIndex:{configurable:!0},verticalPlacedIconSymbolIndex:{configurable:!0},key:{configurable:!0},textBoxStartIndex:{configurable:!0},textBoxEndIndex:{configurable:!0},verticalTextBoxStartIndex:{configurable:!0},verticalTextBoxEndIndex:{configurable:!0},iconBoxStartIndex:{configurable:!0},iconBoxEndIndex:{configurable:!0},verticalIconBoxStartIndex:{configurable:!0},verticalIconBoxEndIndex:{configurable:!0},featureIndex:{configurable:!0},numHorizontalGlyphVertices:{configurable:!0},numVerticalGlyphVertices:{configurable:!0},numIconVertices:{configurable:!0},numVerticalIconVertices:{configurable:!0},useRuntimeCollisionCircles:{configurable:!0},crossTileID:{configurable:!0},textBoxScale:{configurable:!0},textOffset0:{configurable:!0},textOffset1:{configurable:!0},collisionCircleDiameter:{configurable:!0}};return J.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},J.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},J.rightJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+2]},J.centerJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+3]},J.leftJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+4]},J.verticalPlacedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+5]},J.placedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+6]},J.verticalPlacedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+7]},J.key.get=function(){return this._structArray.uint16[this._pos2+8]},J.textBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+9]},J.textBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+10]},J.verticalTextBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+11]},J.verticalTextBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+12]},J.iconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+13]},J.iconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+14]},J.verticalIconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+15]},J.verticalIconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+16]},J.featureIndex.get=function(){return this._structArray.uint16[this._pos2+17]},J.numHorizontalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+18]},J.numVerticalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+19]},J.numIconVertices.get=function(){return this._structArray.uint16[this._pos2+20]},J.numVerticalIconVertices.get=function(){return this._structArray.uint16[this._pos2+21]},J.useRuntimeCollisionCircles.get=function(){return this._structArray.uint16[this._pos2+22]},J.crossTileID.get=function(){return this._structArray.uint32[this._pos4+12]},J.crossTileID.set=function(he){this._structArray.uint32[this._pos4+12]=he},J.textBoxScale.get=function(){return this._structArray.float32[this._pos4+13]},J.textOffset0.get=function(){return this._structArray.float32[this._pos4+14]},J.textOffset1.get=function(){return this._structArray.float32[this._pos4+15]},J.collisionCircleDiameter.get=function(){return this._structArray.float32[this._pos4+16]},Object.defineProperties(V.prototype,J),V}(hl);mt.prototype.size=68;var zt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new mt(this,J)},V}(at);Dr("SymbolInstanceArray",zt);var Ut=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.getoffsetX=function(J){return this.float32[1*J+0]},V}(Tt);Dr("GlyphOffsetArray",Ut);var Ht=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.getx=function(J){return this.int16[3*J+0]},V.prototype.gety=function(J){return this.int16[3*J+1]},V.prototype.gettileUnitDistanceFromAnchor=function(J){return this.int16[3*J+2]},V}(At);Dr("SymbolLineVertexArray",Ht);var en=function(P){function V(){P.apply(this,arguments)}P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V;var J={featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0}};return J.featureIndex.get=function(){return this._structArray.uint32[this._pos4+0]},J.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+2]},J.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+3]},Object.defineProperties(V.prototype,J),V}(hl);en.prototype.size=8;var vn=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new en(this,J)},V}(se);Dr("FeatureIndexArray",vn);var tn=la([{name:"a_pos",components:2,type:"Int16"}],4).members,ln=function(P){P===void 0&&(P=[]),this.segments=P};function an(P,V){return 256*(P=h(Math.floor(P),0,255))+h(Math.floor(V),0,255)}ln.prototype.prepareSegment=function(P,V,J,he){var Ae=this.segments[this.segments.length-1];return P>ln.MAX_VERTEX_ARRAY_LENGTH&&R("Max vertices per segment is "+ln.MAX_VERTEX_ARRAY_LENGTH+": bucket requested "+P),(!Ae||Ae.vertexLength+P>ln.MAX_VERTEX_ARRAY_LENGTH||Ae.sortKey!==he)&&(Ae={vertexOffset:V.length,primitiveOffset:J.length,vertexLength:0,primitiveLength:0},he!==void 0&&(Ae.sortKey=he),this.segments.push(Ae)),Ae},ln.prototype.get=function(){return this.segments},ln.prototype.destroy=function(){for(var P=0,V=this.segments;P>>16)*it&65535)<<16)&4294967295)<<15|Ct>>>17))*pt+(((Ct>>>16)*pt&65535)<<16)&4294967295)<<13|Oe>>>19))+((5*(Oe>>>16)&65535)<<16)&4294967295))+((58964+(Ge>>>16)&65535)<<16);switch(Ct=0,he){case 3:Ct^=(255&V.charCodeAt(Dt+2))<<16;case 2:Ct^=(255&V.charCodeAt(Dt+1))<<8;case 1:Oe^=Ct=(65535&(Ct=(Ct=(65535&(Ct^=255&V.charCodeAt(Dt)))*it+(((Ct>>>16)*it&65535)<<16)&4294967295)<<15|Ct>>>17))*pt+(((Ct>>>16)*pt&65535)<<16)&4294967295}return Oe^=V.length,Oe=2246822507*(65535&(Oe^=Oe>>>16))+((2246822507*(Oe>>>16)&65535)<<16)&4294967295,Oe=3266489909*(65535&(Oe^=Oe>>>13))+((3266489909*(Oe>>>16)&65535)<<16)&4294967295,(Oe^=Oe>>>16)>>>0}}),on=M(function(P){P.exports=function(V,J){for(var he,Ae=V.length,Oe=J^Ae,Ge=0;Ae>=4;)he=1540483477*(65535&(he=255&V.charCodeAt(Ge)|(255&V.charCodeAt(++Ge))<<8|(255&V.charCodeAt(++Ge))<<16|(255&V.charCodeAt(++Ge))<<24))+((1540483477*(he>>>16)&65535)<<16),Oe=1540483477*(65535&Oe)+((1540483477*(Oe>>>16)&65535)<<16)^(he=1540483477*(65535&(he^=he>>>24))+((1540483477*(he>>>16)&65535)<<16)),Ae-=4,++Ge;switch(Ae){case 3:Oe^=(255&V.charCodeAt(Ge+2))<<16;case 2:Oe^=(255&V.charCodeAt(Ge+1))<<8;case 1:Oe=1540483477*(65535&(Oe^=255&V.charCodeAt(Ge)))+((1540483477*(Oe>>>16)&65535)<<16)}return Oe=1540483477*(65535&(Oe^=Oe>>>13))+((1540483477*(Oe>>>16)&65535)<<16),(Oe^=Oe>>>15)>>>0}}),Fn=_n,Hn=_n,ir=on;Fn.murmur3=Hn,Fn.murmur2=ir;var ar=function(){this.ids=[],this.positions=[],this.indexed=!1};ar.prototype.add=function(P,V,J,he){this.ids.push(Er(P)),this.positions.push(V,J,he)},ar.prototype.getPositions=function(P){for(var V=Er(P),J=0,he=this.ids.length-1;J>1;this.ids[Ae]>=V?he=Ae:J=Ae+1}for(var Oe=[];this.ids[J]===V;){var Ge=this.positions[3*J],it=this.positions[3*J+1],pt=this.positions[3*J+2];Oe.push({index:Ge,start:it,end:pt}),J++}return Oe},ar.serialize=function(P,V){var J=new Float64Array(P.ids),he=new Uint32Array(P.positions);return xr(J,he,0,J.length-1),V&&V.push(J.buffer,he.buffer),{ids:J,positions:he}},ar.deserialize=function(P){var V=new ar;return V.ids=P.ids,V.positions=P.positions,V.indexed=!0,V};var Mr=Math.pow(2,53)-1;function Er(P){var V=+P;return!isNaN(V)&&V<=Mr?V:Fn(String(P))}function xr(P,V,J,he){for(;J>1],Oe=J-1,Ge=he+1;;){do Oe++;while(P[Oe]Ae);if(Oe>=Ge)break;kr(P,Oe,Ge),kr(V,3*Oe,3*Ge),kr(V,3*Oe+1,3*Ge+1),kr(V,3*Oe+2,3*Ge+2)}Ge-J_o.max||Ge.y<_o.min||Ge.y>_o.max)&&(R("Geometry exceeds allowed extent, reduce your vector tile buffer size"),Ge.x=h(Ge.x,_o.min,_o.max),Ge.y=h(Ge.y,_o.min,_o.max))}return J}function Ps(P,V,J,he,Ae){P.emplaceBack(2*V+(he+1)/2,2*J+(Ae+1)/2)}var Ri=function(P){this.zoom=P.zoom,this.overscaling=P.overscaling,this.layers=P.layers,this.layerIds=this.layers.map(function(V){return V.id}),this.index=P.index,this.hasPattern=!1,this.layoutVertexArray=new et,this.indexArray=new He,this.segments=new ln,this.programConfigurations=new Ia(tn,P.layers,P.zoom),this.stateDependentLayerIds=this.layers.filter(function(V){return V.isStateDependent()}).map(function(V){return V.id})};function Xa(P,V){for(var J=0;J1){if(L0(P,V))return!0;for(var he=0;he1?P.distSqr(J):P.distSqr(J.sub(V)._mult(Ae)._add(V))}function od(P,V){for(var J,he,Ae,Oe=!1,Ge=0;GeV.y!=Ae.y>V.y&&V.x<(Ae.x-he.x)*(V.y-he.y)/(Ae.y-he.y)+he.x&&(Oe=!Oe);return Oe}function wf(P,V){for(var J=!1,he=0,Ae=P.length-1;heV.y!=Ge.y>V.y&&V.x<(Ge.x-Oe.x)*(V.y-Oe.y)/(Ge.y-Oe.y)+Oe.x&&(J=!J)}return J}function p1(P,V,J){var he=J[0],Ae=J[2];if(P.xAe.x&&V.x>Ae.x||P.yAe.y&&V.y>Ae.y)return!1;var Oe=I(P,V,J[0]);return Oe!==I(P,V,J[1])||Oe!==I(P,V,J[2])||Oe!==I(P,V,J[3])}function zh(P,V,J){var he=V.paint.get(P).value;return he.kind==="constant"?he.value:J.programConfigurations.get(V.id).getMaxValue(P)}function dg(P){return Math.sqrt(P[0]*P[0]+P[1]*P[1])}function pg(P,V,J,he,Ae){if(!V[0]&&!V[1])return P;var Oe=a.convert(V)._mult(Ae);J==="viewport"&&Oe._rotate(-he);for(var Ge=[],it=0;it=li||Dt<0||Dt>=li)){var Gt=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray,P.sortKey),Zt=Gt.vertexLength;Ps(this.layoutVertexArray,Ct,Dt,-1,-1),Ps(this.layoutVertexArray,Ct,Dt,1,-1),Ps(this.layoutVertexArray,Ct,Dt,1,1),Ps(this.layoutVertexArray,Ct,Dt,-1,1),this.indexArray.emplaceBack(Zt,Zt+1,Zt+2),this.indexArray.emplaceBack(Zt,Zt+3,Zt+2),Gt.vertexLength+=4,Gt.primitiveLength+=2}}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,P,J,{},he)},Dr("CircleBucket",Ri,{omit:["layers"]});var TS=new xo({"circle-sort-key":new ni(Re.layout_circle["circle-sort-key"])}),kS={paint:new xo({"circle-radius":new ni(Re.paint_circle["circle-radius"]),"circle-color":new ni(Re.paint_circle["circle-color"]),"circle-blur":new ni(Re.paint_circle["circle-blur"]),"circle-opacity":new ni(Re.paint_circle["circle-opacity"]),"circle-translate":new Hr(Re.paint_circle["circle-translate"]),"circle-translate-anchor":new Hr(Re.paint_circle["circle-translate-anchor"]),"circle-pitch-scale":new Hr(Re.paint_circle["circle-pitch-scale"]),"circle-pitch-alignment":new Hr(Re.paint_circle["circle-pitch-alignment"]),"circle-stroke-width":new ni(Re.paint_circle["circle-stroke-width"]),"circle-stroke-color":new ni(Re.paint_circle["circle-stroke-color"]),"circle-stroke-opacity":new ni(Re.paint_circle["circle-stroke-opacity"])}),layout:TS},Fl=typeof Float32Array<"u"?Float32Array:Array;function m1(P){return P[0]=1,P[1]=0,P[2]=0,P[3]=0,P[4]=0,P[5]=1,P[6]=0,P[7]=0,P[8]=0,P[9]=0,P[10]=1,P[11]=0,P[12]=0,P[13]=0,P[14]=0,P[15]=1,P}function L_(P,V,J){var he=V[0],Ae=V[1],Oe=V[2],Ge=V[3],it=V[4],pt=V[5],Ct=V[6],Dt=V[7],Gt=V[8],Zt=V[9],$t=V[10],fn=V[11],Mn=V[12],Nn=V[13],Bn=V[14],Wn=V[15],Zn=J[0],er=J[1],sr=J[2],fr=J[3];return P[0]=Zn*he+er*it+sr*Gt+fr*Mn,P[1]=Zn*Ae+er*pt+sr*Zt+fr*Nn,P[2]=Zn*Oe+er*Ct+sr*$t+fr*Bn,P[3]=Zn*Ge+er*Dt+sr*fn+fr*Wn,Zn=J[4],er=J[5],sr=J[6],fr=J[7],P[4]=Zn*he+er*it+sr*Gt+fr*Mn,P[5]=Zn*Ae+er*pt+sr*Zt+fr*Nn,P[6]=Zn*Oe+er*Ct+sr*$t+fr*Bn,P[7]=Zn*Ge+er*Dt+sr*fn+fr*Wn,Zn=J[8],er=J[9],sr=J[10],fr=J[11],P[8]=Zn*he+er*it+sr*Gt+fr*Mn,P[9]=Zn*Ae+er*pt+sr*Zt+fr*Nn,P[10]=Zn*Oe+er*Ct+sr*$t+fr*Bn,P[11]=Zn*Ge+er*Dt+sr*fn+fr*Wn,Zn=J[12],er=J[13],sr=J[14],fr=J[15],P[12]=Zn*he+er*it+sr*Gt+fr*Mn,P[13]=Zn*Ae+er*pt+sr*Zt+fr*Nn,P[14]=Zn*Oe+er*Ct+sr*$t+fr*Bn,P[15]=Zn*Ge+er*Dt+sr*fn+fr*Wn,P}Math.hypot||(Math.hypot=function(){for(var P=arguments,V=0,J=arguments.length;J--;)V+=P[J]*P[J];return Math.sqrt(V)});var MS=L_,mg,AS=function(P,V,J){return P[0]=V[0]-J[0],P[1]=V[1]-J[1],P[2]=V[2]-J[2],P};function gg(P,V,J){var he=V[0],Ae=V[1],Oe=V[2],Ge=V[3];return P[0]=J[0]*he+J[4]*Ae+J[8]*Oe+J[12]*Ge,P[1]=J[1]*he+J[5]*Ae+J[9]*Oe+J[13]*Ge,P[2]=J[2]*he+J[6]*Ae+J[10]*Oe+J[14]*Ge,P[3]=J[3]*he+J[7]*Ae+J[11]*Oe+J[15]*Ge,P}mg=new Fl(3),Fl!=Float32Array&&(mg[0]=0,mg[1]=0,mg[2]=0),function(){var P=new Fl(4);Fl!=Float32Array&&(P[0]=0,P[1]=0,P[2]=0,P[3]=0)}();var SS=function(P){var V=P[0],J=P[1];return V*V+J*J},CS=(function(){var P=new Fl(2);Fl!=Float32Array&&(P[0]=0,P[1]=0)}(),function(P){function V(J){P.call(this,J,kS)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.createBucket=function(J){return new Ri(J)},V.prototype.queryRadius=function(J){var he=J;return zh("circle-radius",this,he)+zh("circle-stroke-width",this,he)+dg(this.paint.get("circle-translate"))},V.prototype.queryIntersectsFeature=function(J,he,Ae,Oe,Ge,it,pt,Ct){for(var Dt=pg(J,this.paint.get("circle-translate"),this.paint.get("circle-translate-anchor"),it.angle,pt),Gt=this.paint.get("circle-radius").evaluate(he,Ae)+this.paint.get("circle-stroke-width").evaluate(he,Ae),Zt=this.paint.get("circle-pitch-alignment")==="map",$t=Zt?Dt:function(Pr,Tr){return Pr.map(function(Nr){return I_(Nr,Tr)})}(Dt,Ct),fn=Zt?Gt*pt:Gt,Mn=0,Nn=Oe;MnP.width||Ae.height>P.height||J.x>P.width-Ae.width||J.y>P.height-Ae.height)throw new RangeError("out of range source coordinates for image copy");if(Ae.width>V.width||Ae.height>V.height||he.x>V.width-Ae.width||he.y>V.height-Ae.height)throw new RangeError("out of range destination coordinates for image copy");for(var Ge=P.data,it=V.data,pt=0;pt80*J){he=Oe=P[0],Ae=Ge=P[1];for(var fn=J;fnOe&&(Oe=it),pt>Ge&&(Ge=pt);Ct=(Ct=Math.max(Oe-he,Ge-Ae))!==0?1/Ct:0}return I0(Zt,$t,J,he,Ae,Ct),$t}function z_(P,V,J,he,Ae){var Oe,Ge;if(Ae===_1(P,V,J,he)>0)for(Oe=V;Oe=V;Oe-=he)Ge=N_(Oe,P[Oe],P[Oe+1],Ge);return Ge&&yg(Ge,Ge.next)&&(P0(Ge),Ge=Ge.next),Ge}function Tf(P,V){if(!P)return P;V||(V=P);var J,he=P;do if(J=!1,he.steiner||!yg(he,he.next)&&wo(he.prev,he,he.next)!==0)he=he.next;else{if(P0(he),(he=V=he.prev)===he.next)break;J=!0}while(J||he!==V);return V}function I0(P,V,J,he,Ae,Oe,Ge){if(P){!Ge&&Oe&&function(Dt,Gt,Zt,$t){var fn=Dt;do fn.z===null&&(fn.z=b1(fn.x,fn.y,Gt,Zt,$t)),fn.prevZ=fn.prev,fn.nextZ=fn.next,fn=fn.next;while(fn!==Dt);fn.prevZ.nextZ=null,fn.prevZ=null,function(Mn){var Nn,Bn,Wn,Zn,er,sr,fr,Pr,Tr=1;do{for(Bn=Mn,Mn=null,er=null,sr=0;Bn;){for(sr++,Wn=Bn,fr=0,Nn=0;Nn0||Pr>0&&Wn;)fr!==0&&(Pr===0||!Wn||Bn.z<=Wn.z)?(Zn=Bn,Bn=Bn.nextZ,fr--):(Zn=Wn,Wn=Wn.nextZ,Pr--),er?er.nextZ=Zn:Mn=Zn,Zn.prevZ=er,er=Zn;Bn=Wn}er.nextZ=null,Tr*=2}while(sr>1)}(fn)}(P,he,Ae,Oe);for(var it,pt,Ct=P;P.prev!==P.next;)if(it=P.prev,pt=P.next,Oe?DS(P,he,Ae,Oe):OS(P))V.push(it.i/J),V.push(P.i/J),V.push(pt.i/J),P0(P),P=pt.next,Ct=pt.next;else if((P=pt)===Ct){Ge?Ge===1?I0(P=zS(Tf(P),V,J),V,J,he,Ae,Oe,2):Ge===2&&FS(P,V,J,he,Ae,Oe):I0(Tf(P),V,J,he,Ae,Oe,1);break}}}function OS(P){var V=P.prev,J=P,he=P.next;if(wo(V,J,he)>=0)return!1;for(var Ae=P.next.next;Ae!==P.prev;){if(ap(V.x,V.y,J.x,J.y,he.x,he.y,Ae.x,Ae.y)&&wo(Ae.prev,Ae,Ae.next)>=0)return!1;Ae=Ae.next}return!0}function DS(P,V,J,he){var Ae=P.prev,Oe=P,Ge=P.next;if(wo(Ae,Oe,Ge)>=0)return!1;for(var it=Ae.xOe.x?Ae.x>Ge.x?Ae.x:Ge.x:Oe.x>Ge.x?Oe.x:Ge.x,Dt=Ae.y>Oe.y?Ae.y>Ge.y?Ae.y:Ge.y:Oe.y>Ge.y?Oe.y:Ge.y,Gt=b1(it,pt,V,J,he),Zt=b1(Ct,Dt,V,J,he),$t=P.prevZ,fn=P.nextZ;$t&&$t.z>=Gt&&fn&&fn.z<=Zt;){if($t!==P.prev&&$t!==P.next&&ap(Ae.x,Ae.y,Oe.x,Oe.y,Ge.x,Ge.y,$t.x,$t.y)&&wo($t.prev,$t,$t.next)>=0||($t=$t.prevZ,fn!==P.prev&&fn!==P.next&&ap(Ae.x,Ae.y,Oe.x,Oe.y,Ge.x,Ge.y,fn.x,fn.y)&&wo(fn.prev,fn,fn.next)>=0))return!1;fn=fn.nextZ}for(;$t&&$t.z>=Gt;){if($t!==P.prev&&$t!==P.next&&ap(Ae.x,Ae.y,Oe.x,Oe.y,Ge.x,Ge.y,$t.x,$t.y)&&wo($t.prev,$t,$t.next)>=0)return!1;$t=$t.prevZ}for(;fn&&fn.z<=Zt;){if(fn!==P.prev&&fn!==P.next&&ap(Ae.x,Ae.y,Oe.x,Oe.y,Ge.x,Ge.y,fn.x,fn.y)&&wo(fn.prev,fn,fn.next)>=0)return!1;fn=fn.nextZ}return!0}function zS(P,V,J){var he=P;do{var Ae=he.prev,Oe=he.next.next;!yg(Ae,Oe)&&F_(Ae,he,he.next,Oe)&&R0(Ae,Oe)&&R0(Oe,Ae)&&(V.push(Ae.i/J),V.push(he.i/J),V.push(Oe.i/J),P0(he),P0(he.next),he=P=Oe),he=he.next}while(he!==P);return Tf(he)}function FS(P,V,J,he,Ae,Oe){var Ge=P;do{for(var it=Ge.next.next;it!==Ge.prev;){if(Ge.i!==it.i&&US(Ge,it)){var pt=B_(Ge,it);return Ge=Tf(Ge,Ge.next),pt=Tf(pt,pt.next),I0(Ge,V,J,he,Ae,Oe),void I0(pt,V,J,he,Ae,Oe)}it=it.next}Ge=Ge.next}while(Ge!==P)}function BS(P,V){return P.x-V.x}function NS(P,V){if(V=function(he,Ae){var Oe,Ge=Ae,it=he.x,pt=he.y,Ct=-1/0;do{if(pt<=Ge.y&&pt>=Ge.next.y&&Ge.next.y!==Ge.y){var Dt=Ge.x+(pt-Ge.y)*(Ge.next.x-Ge.x)/(Ge.next.y-Ge.y);if(Dt<=it&&Dt>Ct){if(Ct=Dt,Dt===it){if(pt===Ge.y)return Ge;if(pt===Ge.next.y)return Ge.next}Oe=Ge.x=Ge.x&&Ge.x>=$t&&it!==Ge.x&&ap(ptOe.x||Ge.x===Oe.x&&VS(Oe,Ge)))&&(Oe=Ge,Mn=Gt)),Ge=Ge.next;while(Ge!==Zt);return Oe}(P,V)){var J=B_(V,P);Tf(V,V.next),Tf(J,J.next)}}function VS(P,V){return wo(P.prev,P,V.prev)<0&&wo(V.next,P,P.next)<0}function b1(P,V,J,he,Ae){return(P=1431655765&((P=858993459&((P=252645135&((P=16711935&((P=32767*(P-J)*Ae)|P<<8))|P<<4))|P<<2))|P<<1))|(V=1431655765&((V=858993459&((V=252645135&((V=16711935&((V=32767*(V-he)*Ae)|V<<8))|V<<4))|V<<2))|V<<1))<<1}function jS(P){var V=P,J=P;do(V.x=0&&(P-Ge)*(he-it)-(J-Ge)*(V-it)>=0&&(J-Ge)*(Oe-it)-(Ae-Ge)*(he-it)>=0}function US(P,V){return P.next.i!==V.i&&P.prev.i!==V.i&&!function(J,he){var Ae=J;do{if(Ae.i!==J.i&&Ae.next.i!==J.i&&Ae.i!==he.i&&Ae.next.i!==he.i&&F_(Ae,Ae.next,J,he))return!0;Ae=Ae.next}while(Ae!==J);return!1}(P,V)&&(R0(P,V)&&R0(V,P)&&function(J,he){var Ae=J,Oe=!1,Ge=(J.x+he.x)/2,it=(J.y+he.y)/2;do Ae.y>it!=Ae.next.y>it&&Ae.next.y!==Ae.y&&Ge<(Ae.next.x-Ae.x)*(it-Ae.y)/(Ae.next.y-Ae.y)+Ae.x&&(Oe=!Oe),Ae=Ae.next;while(Ae!==J);return Oe}(P,V)&&(wo(P.prev,P,V.prev)||wo(P,V.prev,V))||yg(P,V)&&wo(P.prev,P,P.next)>0&&wo(V.prev,V,V.next)>0)}function wo(P,V,J){return(V.y-P.y)*(J.x-V.x)-(V.x-P.x)*(J.y-V.y)}function yg(P,V){return P.x===V.x&&P.y===V.y}function F_(P,V,J,he){var Ae=xg(wo(P,V,J)),Oe=xg(wo(P,V,he)),Ge=xg(wo(J,he,P)),it=xg(wo(J,he,V));return Ae!==Oe&&Ge!==it||!(Ae!==0||!bg(P,J,V))||!(Oe!==0||!bg(P,he,V))||!(Ge!==0||!bg(J,P,he))||!(it!==0||!bg(J,V,he))}function bg(P,V,J){return V.x<=Math.max(P.x,J.x)&&V.x>=Math.min(P.x,J.x)&&V.y<=Math.max(P.y,J.y)&&V.y>=Math.min(P.y,J.y)}function xg(P){return P>0?1:P<0?-1:0}function R0(P,V){return wo(P.prev,P,P.next)<0?wo(P,V,P.next)>=0&&wo(P,P.prev,V)>=0:wo(P,V,P.prev)<0||wo(P,P.next,V)<0}function B_(P,V){var J=new x1(P.i,P.x,P.y),he=new x1(V.i,V.x,V.y),Ae=P.next,Oe=V.prev;return P.next=V,V.prev=P,J.next=Ae,Ae.prev=J,he.next=J,J.prev=he,Oe.next=he,he.prev=Oe,he}function N_(P,V,J,he){var Ae=new x1(P,V,J);return he?(Ae.next=he.next,Ae.prev=he,he.next.prev=Ae,he.next=Ae):(Ae.prev=Ae,Ae.next=Ae),Ae}function P0(P){P.next.prev=P.prev,P.prev.next=P.next,P.prevZ&&(P.prevZ.nextZ=P.nextZ),P.nextZ&&(P.nextZ.prevZ=P.prevZ)}function x1(P,V,J){this.i=P,this.x=V,this.y=J,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function _1(P,V,J,he){for(var Ae=0,Oe=V,Ge=J-he;OeJ;){if(he-J>600){var Oe=he-J+1,Ge=V-J+1,it=Math.log(Oe),pt=.5*Math.exp(2*it/3),Ct=.5*Math.sqrt(it*pt*(Oe-pt)/Oe)*(Ge-Oe/2<0?-1:1);V_(P,V,Math.max(J,Math.floor(V-Ge*pt/Oe+Ct)),Math.min(he,Math.floor(V+(Oe-Ge)*pt/Oe+Ct)),Ae)}var Dt=P[V],Gt=J,Zt=he;for(O0(P,J,V),Ae(P[he],Dt)>0&&O0(P,J,he);Gt0;)Zt--}Ae(P[J],Dt)===0?O0(P,J,Zt):O0(P,++Zt,he),Zt<=V&&(J=Zt+1),V<=Zt&&(he=Zt-1)}}function O0(P,V,J){var he=P[V];P[V]=P[J],P[J]=he}function GS(P,V){return PV?1:0}function w1(P,V){var J=P.length;if(J<=1)return[P];for(var he,Ae,Oe=[],Ge=0;Ge1)for(var pt=0;pt0&&(he+=P[Ae-1].length,J.holes.push(he))}return J},y1.default=PS;var kc=function(P){this.zoom=P.zoom,this.overscaling=P.overscaling,this.layers=P.layers,this.layerIds=this.layers.map(function(V){return V.id}),this.index=P.index,this.hasPattern=!1,this.patternFeatures=[],this.layoutVertexArray=new et,this.indexArray=new He,this.indexArray2=new ve,this.programConfigurations=new Ia(D_,P.layers,P.zoom),this.segments=new ln,this.segments2=new ln,this.stateDependentLayerIds=this.layers.filter(function(V){return V.isStateDependent()}).map(function(V){return V.id})};kc.prototype.populate=function(P,V,J){this.hasPattern=T1("fill",this.layers,V);for(var he=this.layers[0].layout.get("fill-sort-key"),Ae=[],Oe=0,Ge=P;Oe>3}if(Ae--,he===1||he===2)Oe+=P.readSVarint(),Ge+=P.readSVarint(),he===1&&(V&&it.push(V),V=[]),V.push(new a(Oe,Ge));else{if(he!==7)throw new Error("unknown command "+he);V&&V.push(V[0].clone())}}return V&&it.push(V),it},op.prototype.bbox=function(){var P=this._pbf;P.pos=this._geometry;for(var V=P.readVarint()+P.pos,J=1,he=0,Ae=0,Oe=0,Ge=1/0,it=-1/0,pt=1/0,Ct=-1/0;P.pos>3}if(he--,J===1||J===2)(Ae+=P.readSVarint())it&&(it=Ae),(Oe+=P.readSVarint())Ct&&(Ct=Oe);else if(J!==7)throw new Error("unknown command "+J)}return[Ge,pt,it,Ct]},op.prototype.toGeoJSON=function(P,V,J){var he,Ae,Oe=this.extent*Math.pow(2,J),Ge=this.extent*P,it=this.extent*V,pt=this.loadGeometry(),Ct=op.types[this.type];function Dt($t){for(var fn=0;fn<$t.length;fn++){var Mn=$t[fn],Nn=180-360*(Mn.y+it)/Oe;$t[fn]=[360*(Mn.x+Ge)/Oe-180,360/Math.PI*Math.atan(Math.exp(Nn*Math.PI/180))-90]}}switch(this.type){case 1:var Gt=[];for(he=0;he>3;Ae=Ge===1?he.readString():Ge===2?he.readFloat():Ge===3?he.readDouble():Ge===4?he.readVarint64():Ge===5?he.readVarint():Ge===6?he.readSVarint():Ge===7?he.readBoolean():null}return Ae}(J))}function JS(P,V,J){if(P===3){var he=new H_(J,J.readVarint()+J.pos);he.length&&(V[he.name]=he)}}G_.prototype.feature=function(P){if(P<0||P>=this._features.length)throw new Error("feature index out of bounds");this._pbf.pos=this._features[P];var V=this._pbf.readVarint()+this._pbf.pos;return new U_(this._pbf,V,this.extent,this._keys,this._values)};var sp={VectorTile:function(P,V){this.layers=P.readFields(JS,{},V)},VectorTileFeature:U_,VectorTileLayer:H_},QS=sp.VectorTileFeature.types,M1=Math.pow(2,13);function D0(P,V,J,he,Ae,Oe,Ge,it){P.emplaceBack(V,J,2*Math.floor(he*M1)+Ge,Ae*M1*2,Oe*M1*2,Math.round(it))}var Mc=function(P){this.zoom=P.zoom,this.overscaling=P.overscaling,this.layers=P.layers,this.layerIds=this.layers.map(function(V){return V.id}),this.index=P.index,this.hasPattern=!1,this.layoutVertexArray=new ct,this.indexArray=new He,this.programConfigurations=new Ia(j_,P.layers,P.zoom),this.segments=new ln,this.stateDependentLayerIds=this.layers.filter(function(V){return V.isStateDependent()}).map(function(V){return V.id})};function eC(P,V){return P.x===V.x&&(P.x<0||P.x>li)||P.y===V.y&&(P.y<0||P.y>li)}Mc.prototype.populate=function(P,V,J){this.features=[],this.hasPattern=T1("fill-extrusion",this.layers,V);for(var he=0,Ae=P;heli})||Di.every(function(pi){return pi.y<0})||Di.every(function(pi){return pi.y>li})))for(var Mn=0,Nn=0;Nn=1){var Wn=fn[Nn-1];if(!eC(Bn,Wn)){Gt.vertexLength+4>ln.MAX_VERTEX_ARRAY_LENGTH&&(Gt=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray));var Zn=Bn.sub(Wn)._perp()._unit(),er=Wn.dist(Bn);Mn+er>32768&&(Mn=0),D0(this.layoutVertexArray,Bn.x,Bn.y,Zn.x,Zn.y,0,0,Mn),D0(this.layoutVertexArray,Bn.x,Bn.y,Zn.x,Zn.y,0,1,Mn),Mn+=er,D0(this.layoutVertexArray,Wn.x,Wn.y,Zn.x,Zn.y,0,0,Mn),D0(this.layoutVertexArray,Wn.x,Wn.y,Zn.x,Zn.y,0,1,Mn);var sr=Gt.vertexLength;this.indexArray.emplaceBack(sr,sr+2,sr+1),this.indexArray.emplaceBack(sr+1,sr+2,sr+3),Gt.vertexLength+=4,Gt.primitiveLength+=2}}}}if(Gt.vertexLength+pt>ln.MAX_VERTEX_ARRAY_LENGTH&&(Gt=this.segments.prepareSegment(pt,this.layoutVertexArray,this.indexArray)),QS[P.type]==="Polygon"){for(var fr=[],Pr=[],Tr=Gt.vertexLength,Nr=0,Xr=it;Nr=2&&P[pt-1].equals(P[pt-2]);)pt--;for(var Ct=0;Ct0;if(Pr&&Bn>Ct){var Nr=Dt.dist($t);if(Nr>2*Gt){var Xr=Dt.sub(Dt.sub($t)._mult(Gt/Nr)._round());this.updateDistance($t,Xr),this.addCurrentVertex(Xr,Mn,0,0,Zt),$t=Xr}}var hi=$t&&fn,Jr=hi?J:it?"butt":he;if(hi&&Jr==="round"&&(srAe&&(Jr="bevel"),Jr==="bevel"&&(sr>2&&(Jr="flipbevel"),sr100)Wn=Nn.mult(-1);else{var ui=sr*Mn.add(Nn).mag()/Mn.sub(Nn).mag();Wn._perp()._mult(ui*(Tr?-1:1))}this.addCurrentVertex(Dt,Wn,0,0,Zt),this.addCurrentVertex(Dt,Wn.mult(-1),0,0,Zt)}else if(Jr==="bevel"||Jr==="fakeround"){var ri=-Math.sqrt(sr*sr-1),Kr=Tr?ri:0,Di=Tr?0:ri;if($t&&this.addCurrentVertex(Dt,Mn,Kr,Di,Zt),Jr==="fakeround")for(var pi=Math.round(180*fr/Math.PI/20),va=1;va2*Gt){var ya=Dt.add(fn.sub(Dt)._mult(Gt/Pa)._round());this.updateDistance(Dt,ya),this.addCurrentVertex(ya,Nn,0,0,Zt),Dt=ya}}}}},Ys.prototype.addCurrentVertex=function(P,V,J,he,Ae,Oe){Oe===void 0&&(Oe=!1);var Ge=V.x+V.y*J,it=V.y-V.x*J,pt=-V.x+V.y*he,Ct=-V.y-V.x*he;this.addHalfVertex(P,Ge,it,Oe,!1,J,Ae),this.addHalfVertex(P,pt,Ct,Oe,!0,-he,Ae),this.distance>Y_/2&&this.totalDistance===0&&(this.distance=0,this.addCurrentVertex(P,V,J,he,Ae,Oe))},Ys.prototype.addHalfVertex=function(P,V,J,he,Ae,Oe,Ge){var it=P.x,pt=P.y,Ct=.5*this.scaledDistance;this.layoutVertexArray.emplaceBack((it<<1)+(he?1:0),(pt<<1)+(Ae?1:0),Math.round(63*V)+128,Math.round(63*J)+128,1+(Oe===0?0:Oe<0?-1:1)|(63&Ct)<<2,Ct>>6);var Dt=Ge.vertexLength++;this.e1>=0&&this.e2>=0&&(this.indexArray.emplaceBack(this.e1,this.e2,Dt),Ge.primitiveLength++),Ae?this.e2=Dt:this.e1=Dt},Ys.prototype.updateScaledDistance=function(){this.scaledDistance=this.totalDistance>0?(this.clipStart+(this.clipEnd-this.clipStart)*this.distance/this.totalDistance)*(Y_-1):this.distance},Ys.prototype.updateDistance=function(P,V){this.distance+=P.dist(V),this.updateScaledDistance()},Dr("LineBucket",Ys,{omit:["layers","patternFeatures"]});var aC=new xo({"line-cap":new Hr(Re.layout_line["line-cap"]),"line-join":new ni(Re.layout_line["line-join"]),"line-miter-limit":new Hr(Re.layout_line["line-miter-limit"]),"line-round-limit":new Hr(Re.layout_line["line-round-limit"]),"line-sort-key":new ni(Re.layout_line["line-sort-key"])}),$_={paint:new xo({"line-opacity":new ni(Re.paint_line["line-opacity"]),"line-color":new ni(Re.paint_line["line-color"]),"line-translate":new Hr(Re.paint_line["line-translate"]),"line-translate-anchor":new Hr(Re.paint_line["line-translate-anchor"]),"line-width":new ni(Re.paint_line["line-width"]),"line-gap-width":new ni(Re.paint_line["line-gap-width"]),"line-offset":new ni(Re.paint_line["line-offset"]),"line-blur":new ni(Re.paint_line["line-blur"]),"line-dasharray":new cl(Re.paint_line["line-dasharray"]),"line-pattern":new Vu(Re.paint_line["line-pattern"]),"line-gradient":new Rs(Re.paint_line["line-gradient"])}),layout:aC},oC=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.possiblyEvaluate=function(J,he){return he=new Wi(Math.floor(he.zoom),{now:he.now,fadeDuration:he.fadeDuration,zoomHistory:he.zoomHistory,transition:he.transition}),P.prototype.possiblyEvaluate.call(this,J,he)},V.prototype.evaluate=function(J,he,Ae,Oe){return he=m({},he,{zoom:Math.floor(he.zoom)}),P.prototype.evaluate.call(this,J,he,Ae,Oe)},V}(ni),Z_=new oC($_.paint.properties["line-width"].specification);Z_.useIntegerZoom=!0;var sC=function(P){function V(J){P.call(this,J,$_)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._handleSpecialPaintPropertyUpdate=function(J){J==="line-gradient"&&this._updateGradient()},V.prototype._updateGradient=function(){var J=this._transitionablePaint._values["line-gradient"].value.expression;this.gradient=O_(J,"lineProgress"),this.gradientTexture=null},V.prototype.recalculate=function(J,he){P.prototype.recalculate.call(this,J,he),this.paint._values["line-floorwidth"]=Z_.possiblyEvaluate(this._transitioningPaint._values["line-width"].value,J)},V.prototype.createBucket=function(J){return new Ys(J)},V.prototype.queryRadius=function(J){var he=J,Ae=X_(zh("line-width",this,he),zh("line-gap-width",this,he)),Oe=zh("line-offset",this,he);return Ae/2+Math.abs(Oe)+dg(this.paint.get("line-translate"))},V.prototype.queryIntersectsFeature=function(J,he,Ae,Oe,Ge,it,pt){var Ct=pg(J,this.paint.get("line-translate"),this.paint.get("line-translate-anchor"),it.angle,pt),Dt=pt/2*X_(this.paint.get("line-width").evaluate(he,Ae),this.paint.get("line-gap-width").evaluate(he,Ae)),Gt=this.paint.get("line-offset").evaluate(he,Ae);return Gt&&(Oe=function(Zt,$t){for(var fn=[],Mn=new a(0,0),Nn=0;Nn=3){for(var Bn=0;Bn0?V+2*P:P}var A1=la([{name:"a_pos_offset",components:4,type:"Int16"},{name:"a_data",components:4,type:"Uint16"},{name:"a_pixeloffset",components:4,type:"Int16"}],4),lC=la([{name:"a_projected_pos",components:3,type:"Float32"}],4),uC=(la([{name:"a_fade_opacity",components:1,type:"Uint32"}],4),la([{name:"a_placed",components:2,type:"Uint8"},{name:"a_shift",components:2,type:"Float32"}])),K_=(la([{type:"Int16",name:"anchorPointX"},{type:"Int16",name:"anchorPointY"},{type:"Int16",name:"x1"},{type:"Int16",name:"y1"},{type:"Int16",name:"x2"},{type:"Int16",name:"y2"},{type:"Uint32",name:"featureIndex"},{type:"Uint16",name:"sourceLayerIndex"},{type:"Uint16",name:"bucketIndex"}]),la([{name:"a_pos",components:2,type:"Int16"},{name:"a_anchor_pos",components:2,type:"Int16"},{name:"a_extrude",components:2,type:"Int16"}],4)),cC=la([{name:"a_pos",components:2,type:"Float32"},{name:"a_radius",components:1,type:"Float32"},{name:"a_flags",components:2,type:"Int16"}],4);function hC(P,V,J){return P.sections.forEach(function(he){he.text=function(Ae,Oe,Ge){var it=Oe.layout.get("text-transform").evaluate(Ge,{});return it==="uppercase"?Ae=Ae.toLocaleUpperCase():it==="lowercase"&&(Ae=Ae.toLocaleLowerCase()),Bo.applyArabicShaping&&(Ae=Bo.applyArabicShaping(Ae)),Ae}(he.text,V,J)}),P}la([{name:"triangle",components:3,type:"Uint16"}]),la([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Uint16",name:"glyphStartIndex"},{type:"Uint16",name:"numGlyphs"},{type:"Uint32",name:"vertexStartIndex"},{type:"Uint32",name:"lineStartIndex"},{type:"Uint32",name:"lineLength"},{type:"Uint16",name:"segment"},{type:"Uint16",name:"lowerSize"},{type:"Uint16",name:"upperSize"},{type:"Float32",name:"lineOffsetX"},{type:"Float32",name:"lineOffsetY"},{type:"Uint8",name:"writingMode"},{type:"Uint8",name:"placedOrientation"},{type:"Uint8",name:"hidden"},{type:"Uint32",name:"crossTileID"},{type:"Int16",name:"associatedIconIndex"}]),la([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Int16",name:"rightJustifiedTextSymbolIndex"},{type:"Int16",name:"centerJustifiedTextSymbolIndex"},{type:"Int16",name:"leftJustifiedTextSymbolIndex"},{type:"Int16",name:"verticalPlacedTextSymbolIndex"},{type:"Int16",name:"placedIconSymbolIndex"},{type:"Int16",name:"verticalPlacedIconSymbolIndex"},{type:"Uint16",name:"key"},{type:"Uint16",name:"textBoxStartIndex"},{type:"Uint16",name:"textBoxEndIndex"},{type:"Uint16",name:"verticalTextBoxStartIndex"},{type:"Uint16",name:"verticalTextBoxEndIndex"},{type:"Uint16",name:"iconBoxStartIndex"},{type:"Uint16",name:"iconBoxEndIndex"},{type:"Uint16",name:"verticalIconBoxStartIndex"},{type:"Uint16",name:"verticalIconBoxEndIndex"},{type:"Uint16",name:"featureIndex"},{type:"Uint16",name:"numHorizontalGlyphVertices"},{type:"Uint16",name:"numVerticalGlyphVertices"},{type:"Uint16",name:"numIconVertices"},{type:"Uint16",name:"numVerticalIconVertices"},{type:"Uint16",name:"useRuntimeCollisionCircles"},{type:"Uint32",name:"crossTileID"},{type:"Float32",name:"textBoxScale"},{type:"Float32",components:2,name:"textOffset"},{type:"Float32",name:"collisionCircleDiameter"}]),la([{type:"Float32",name:"offsetX"}]),la([{type:"Int16",name:"x"},{type:"Int16",name:"y"},{type:"Int16",name:"tileUnitDistanceFromAnchor"}]);var F0={"!":"︕","#":"#",$:"$","%":"%","&":"&","(":"︵",")":"︶","*":"*","+":"+",",":"︐","-":"︲",".":"・","/":"/",":":"︓",";":"︔","<":"︿","=":"=",">":"﹀","?":"︖","@":"@","[":"﹇","\\":"\","]":"﹈","^":"^",_:"︳","`":"`","{":"︷","|":"―","}":"︸","~":"~","¢":"¢","£":"£","¥":"¥","¦":"¦","¬":"¬","¯":" ̄","–":"︲","—":"︱","‘":"﹃","’":"﹄","“":"﹁","”":"﹂","…":"︙","‧":"・","₩":"₩","、":"︑","。":"︒","〈":"︿","〉":"﹀","《":"︽","》":"︾","「":"﹁","」":"﹂","『":"﹃","』":"﹄","【":"︻","】":"︼","〔":"︹","〕":"︺","〖":"︗","〗":"︘","!":"︕","(":"︵",")":"︶",",":"︐","-":"︲",".":"・",":":"︓",";":"︔","<":"︿",">":"﹀","?":"︖","[":"﹇","]":"﹈","_":"︳","{":"︷","|":"―","}":"︸","⦅":"︵","⦆":"︶","。":"︒","「":"﹁","」":"﹂"},ss=24,J_=function(P,V,J,he,Ae){var Oe,Ge,it=8*Ae-he-1,pt=(1<>1,Dt=-7,Gt=J?Ae-1:0,Zt=J?-1:1,$t=P[V+Gt];for(Gt+=Zt,Oe=$t&(1<<-Dt)-1,$t>>=-Dt,Dt+=it;Dt>0;Oe=256*Oe+P[V+Gt],Gt+=Zt,Dt-=8);for(Ge=Oe&(1<<-Dt)-1,Oe>>=-Dt,Dt+=he;Dt>0;Ge=256*Ge+P[V+Gt],Gt+=Zt,Dt-=8);if(Oe===0)Oe=1-Ct;else{if(Oe===pt)return Ge?NaN:1/0*($t?-1:1);Ge+=Math.pow(2,he),Oe-=Ct}return($t?-1:1)*Ge*Math.pow(2,Oe-he)},Q_=function(P,V,J,he,Ae,Oe){var Ge,it,pt,Ct=8*Oe-Ae-1,Dt=(1<>1,Zt=Ae===23?Math.pow(2,-24)-Math.pow(2,-77):0,$t=he?0:Oe-1,fn=he?1:-1,Mn=V<0||V===0&&1/V<0?1:0;for(V=Math.abs(V),isNaN(V)||V===1/0?(it=isNaN(V)?1:0,Ge=Dt):(Ge=Math.floor(Math.log(V)/Math.LN2),V*(pt=Math.pow(2,-Ge))<1&&(Ge--,pt*=2),(V+=Ge+Gt>=1?Zt/pt:Zt*Math.pow(2,1-Gt))*pt>=2&&(Ge++,pt/=2),Ge+Gt>=Dt?(it=0,Ge=Dt):Ge+Gt>=1?(it=(V*pt-1)*Math.pow(2,Ae),Ge+=Gt):(it=V*Math.pow(2,Gt-1)*Math.pow(2,Ae),Ge=0));Ae>=8;P[J+$t]=255&it,$t+=fn,it/=256,Ae-=8);for(Ge=Ge<0;P[J+$t]=255&Ge,$t+=fn,Ge/=256,Ct-=8);P[J+$t-fn]|=128*Mn},_g=ba;function ba(P){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(P)?P:new Uint8Array(P||0),this.pos=0,this.type=0,this.length=this.buf.length}ba.Varint=0,ba.Fixed64=1,ba.Bytes=2,ba.Fixed32=5;var S1=4294967296,ew=1/S1,tw=typeof TextDecoder>"u"?null:new TextDecoder("utf8");function Fh(P){return P.type===ba.Bytes?P.readVarint()+P.pos:P.pos+1}function lp(P,V,J){return J?4294967296*V+(P>>>0):4294967296*(V>>>0)+(P>>>0)}function nw(P,V,J){var he=V<=16383?1:V<=2097151?2:V<=268435455?3:Math.floor(Math.log(V)/(7*Math.LN2));J.realloc(he);for(var Ae=J.pos-1;Ae>=P;Ae--)J.buf[Ae+he]=J.buf[Ae]}function fC(P,V){for(var J=0;J>>8,P[J+2]=V>>>16,P[J+3]=V>>>24}function rw(P,V){return(P[V]|P[V+1]<<8|P[V+2]<<16)+(P[V+3]<<24)}ba.prototype={destroy:function(){this.buf=null},readFields:function(P,V,J){for(J=J||this.length;this.pos>3,Oe=this.pos;this.type=7&he,P(Ae,V,this),this.pos===Oe&&this.skip(he)}return V},readMessage:function(P,V){return this.readFields(P,V,this.readVarint()+this.pos)},readFixed32:function(){var P=wg(this.buf,this.pos);return this.pos+=4,P},readSFixed32:function(){var P=rw(this.buf,this.pos);return this.pos+=4,P},readFixed64:function(){var P=wg(this.buf,this.pos)+wg(this.buf,this.pos+4)*S1;return this.pos+=8,P},readSFixed64:function(){var P=wg(this.buf,this.pos)+rw(this.buf,this.pos+4)*S1;return this.pos+=8,P},readFloat:function(){var P=J_(this.buf,this.pos,!0,23,4);return this.pos+=4,P},readDouble:function(){var P=J_(this.buf,this.pos,!0,52,8);return this.pos+=8,P},readVarint:function(P){var V,J,he=this.buf;return V=127&(J=he[this.pos++]),J<128?V:(V|=(127&(J=he[this.pos++]))<<7,J<128?V:(V|=(127&(J=he[this.pos++]))<<14,J<128?V:(V|=(127&(J=he[this.pos++]))<<21,J<128?V:function(Ae,Oe,Ge){var it,pt,Ct=Ge.buf;if(it=(112&(pt=Ct[Ge.pos++]))>>4,pt<128||(it|=(127&(pt=Ct[Ge.pos++]))<<3,pt<128)||(it|=(127&(pt=Ct[Ge.pos++]))<<10,pt<128)||(it|=(127&(pt=Ct[Ge.pos++]))<<17,pt<128)||(it|=(127&(pt=Ct[Ge.pos++]))<<24,pt<128)||(it|=(1&(pt=Ct[Ge.pos++]))<<31,pt<128))return lp(Ae,it,Oe);throw new Error("Expected varint not more than 10 bytes")}(V|=(15&(J=he[this.pos]))<<28,P,this))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var P=this.readVarint();return P%2==1?(P+1)/-2:P/2},readBoolean:function(){return!!this.readVarint()},readString:function(){var P=this.readVarint()+this.pos,V=this.pos;return this.pos=P,P-V>=12&&tw?function(J,he,Ae){return tw.decode(J.subarray(he,Ae))}(this.buf,V,P):function(J,he,Ae){for(var Oe="",Ge=he;Ge239?4:Dt>223?3:Dt>191?2:1;if(Ge+Zt>Ae)break;Zt===1?Dt<128&&(Gt=Dt):Zt===2?(192&(it=J[Ge+1]))==128&&(Gt=(31&Dt)<<6|63&it)<=127&&(Gt=null):Zt===3?(it=J[Ge+1],pt=J[Ge+2],(192&it)==128&&(192&pt)==128&&((Gt=(15&Dt)<<12|(63&it)<<6|63&pt)<=2047||Gt>=55296&&Gt<=57343)&&(Gt=null)):Zt===4&&(it=J[Ge+1],pt=J[Ge+2],Ct=J[Ge+3],(192&it)==128&&(192&pt)==128&&(192&Ct)==128&&((Gt=(15&Dt)<<18|(63&it)<<12|(63&pt)<<6|63&Ct)<=65535||Gt>=1114112)&&(Gt=null)),Gt===null?(Gt=65533,Zt=1):Gt>65535&&(Gt-=65536,Oe+=String.fromCharCode(Gt>>>10&1023|55296),Gt=56320|1023&Gt),Oe+=String.fromCharCode(Gt),Ge+=Zt}return Oe}(this.buf,V,P)},readBytes:function(){var P=this.readVarint()+this.pos,V=this.buf.subarray(this.pos,P);return this.pos=P,V},readPackedVarint:function(P,V){if(this.type!==ba.Bytes)return P.push(this.readVarint(V));var J=Fh(this);for(P=P||[];this.pos127;);else if(V===ba.Bytes)this.pos=this.readVarint()+this.pos;else if(V===ba.Fixed32)this.pos+=4;else{if(V!==ba.Fixed64)throw new Error("Unimplemented type: "+V);this.pos+=8}},writeTag:function(P,V){this.writeVarint(P<<3|V)},realloc:function(P){for(var V=this.length||16;V268435455||P<0?function(V,J){var he,Ae;if(V>=0?(he=V%4294967296|0,Ae=V/4294967296|0):(Ae=~(-V/4294967296),4294967295^(he=~(-V%4294967296))?he=he+1|0:(he=0,Ae=Ae+1|0)),V>=18446744073709552e3||V<-18446744073709552e3)throw new Error("Given varint doesn't fit into 10 bytes");J.realloc(10),function(Oe,Ge,it){it.buf[it.pos++]=127&Oe|128,Oe>>>=7,it.buf[it.pos++]=127&Oe|128,Oe>>>=7,it.buf[it.pos++]=127&Oe|128,Oe>>>=7,it.buf[it.pos++]=127&Oe|128,Oe>>>=7,it.buf[it.pos]=127&Oe}(he,0,J),function(Oe,Ge){var it=(7&Oe)<<4;Ge.buf[Ge.pos++]|=it|((Oe>>>=3)?128:0),Oe&&(Ge.buf[Ge.pos++]=127&Oe|((Oe>>>=7)?128:0),Oe&&(Ge.buf[Ge.pos++]=127&Oe|((Oe>>>=7)?128:0),Oe&&(Ge.buf[Ge.pos++]=127&Oe|((Oe>>>=7)?128:0),Oe&&(Ge.buf[Ge.pos++]=127&Oe|((Oe>>>=7)?128:0),Oe&&(Ge.buf[Ge.pos++]=127&Oe)))))}(Ae,J)}(P,this):(this.realloc(4),this.buf[this.pos++]=127&P|(P>127?128:0),P<=127||(this.buf[this.pos++]=127&(P>>>=7)|(P>127?128:0),P<=127||(this.buf[this.pos++]=127&(P>>>=7)|(P>127?128:0),P<=127||(this.buf[this.pos++]=P>>>7&127))))},writeSVarint:function(P){this.writeVarint(P<0?2*-P-1:2*P)},writeBoolean:function(P){this.writeVarint(!!P)},writeString:function(P){P=String(P),this.realloc(4*P.length),this.pos++;var V=this.pos;this.pos=function(he,Ae,Oe){for(var Ge,it,pt=0;pt55295&&Ge<57344){if(!it){Ge>56319||pt+1===Ae.length?(he[Oe++]=239,he[Oe++]=191,he[Oe++]=189):it=Ge;continue}if(Ge<56320){he[Oe++]=239,he[Oe++]=191,he[Oe++]=189,it=Ge;continue}Ge=it-55296<<10|Ge-56320|65536,it=null}else it&&(he[Oe++]=239,he[Oe++]=191,he[Oe++]=189,it=null);Ge<128?he[Oe++]=Ge:(Ge<2048?he[Oe++]=Ge>>6|192:(Ge<65536?he[Oe++]=Ge>>12|224:(he[Oe++]=Ge>>18|240,he[Oe++]=Ge>>12&63|128),he[Oe++]=Ge>>6&63|128),he[Oe++]=63&Ge|128)}return Oe}(this.buf,P,this.pos);var J=this.pos-V;J>=128&&nw(V,J,this),this.pos=V-1,this.writeVarint(J),this.pos+=J},writeFloat:function(P){this.realloc(4),Q_(this.buf,P,this.pos,!0,23,4),this.pos+=4},writeDouble:function(P){this.realloc(8),Q_(this.buf,P,this.pos,!0,52,8),this.pos+=8},writeBytes:function(P){var V=P.length;this.writeVarint(V),this.realloc(V);for(var J=0;J=128&&nw(J,he,this),this.pos=J-1,this.writeVarint(he),this.pos+=he},writeMessage:function(P,V,J){this.writeTag(P,ba.Bytes),this.writeRawMessage(V,J)},writePackedVarint:function(P,V){V.length&&this.writeMessage(P,fC,V)},writePackedSVarint:function(P,V){V.length&&this.writeMessage(P,dC,V)},writePackedBoolean:function(P,V){V.length&&this.writeMessage(P,gC,V)},writePackedFloat:function(P,V){V.length&&this.writeMessage(P,pC,V)},writePackedDouble:function(P,V){V.length&&this.writeMessage(P,mC,V)},writePackedFixed32:function(P,V){V.length&&this.writeMessage(P,vC,V)},writePackedSFixed32:function(P,V){V.length&&this.writeMessage(P,yC,V)},writePackedFixed64:function(P,V){V.length&&this.writeMessage(P,bC,V)},writePackedSFixed64:function(P,V){V.length&&this.writeMessage(P,xC,V)},writeBytesField:function(P,V){this.writeTag(P,ba.Bytes),this.writeBytes(V)},writeFixed32Field:function(P,V){this.writeTag(P,ba.Fixed32),this.writeFixed32(V)},writeSFixed32Field:function(P,V){this.writeTag(P,ba.Fixed32),this.writeSFixed32(V)},writeFixed64Field:function(P,V){this.writeTag(P,ba.Fixed64),this.writeFixed64(V)},writeSFixed64Field:function(P,V){this.writeTag(P,ba.Fixed64),this.writeSFixed64(V)},writeVarintField:function(P,V){this.writeTag(P,ba.Varint),this.writeVarint(V)},writeSVarintField:function(P,V){this.writeTag(P,ba.Varint),this.writeSVarint(V)},writeStringField:function(P,V){this.writeTag(P,ba.Bytes),this.writeString(V)},writeFloatField:function(P,V){this.writeTag(P,ba.Fixed32),this.writeFloat(V)},writeDoubleField:function(P,V){this.writeTag(P,ba.Fixed64),this.writeDouble(V)},writeBooleanField:function(P,V){this.writeVarintField(P,!!V)}};function _C(P,V,J){P===1&&J.readMessage(wC,V)}function wC(P,V,J){if(P===3){var he=J.readMessage(TC,{}),Ae=he.id,Oe=he.bitmap,Ge=he.width,it=he.height,pt=he.left,Ct=he.top,Dt=he.advance;V.push({id:Ae,bitmap:new sd({width:Ge+6,height:it+6},Oe),metrics:{width:Ge,height:it,left:pt,top:Ct,advance:Dt}})}}function TC(P,V,J){P===1?V.id=J.readVarint():P===2?V.bitmap=J.readBytes():P===3?V.width=J.readVarint():P===4?V.height=J.readVarint():P===5?V.left=J.readSVarint():P===6?V.top=J.readSVarint():P===7&&(V.advance=J.readVarint())}function iw(P){for(var V=0,J=0,he=0,Ae=P;he=0;Zt--){var $t=Ge[Zt];if(!(Gt.w>$t.w||Gt.h>$t.h)){if(Gt.x=$t.x,Gt.y=$t.y,pt=Math.max(pt,Gt.y+Gt.h),it=Math.max(it,Gt.x+Gt.w),Gt.w===$t.w&&Gt.h===$t.h){var fn=Ge.pop();Zt0&&hd>Ga&&(Ga=hd)}else{var Dg=pi[Zi.fontStack],fd=Dg&&Dg[Ds];if(fd&&fd.rect)Ac=fd.rect,ks=fd.metrics;else{var zg=Di[Zi.fontStack],U0=zg&&zg[Ds];if(!U0)continue;ks=U0.metrics}dl=(mi-Zi.scale)*ss}Sc?(Kr.verticalizable=!0,ma.push({glyph:Ds,imageName:Vh,x:Ho,y:ls+dl,vertical:Sc,scale:Zi.scale,fontStack:Zi.fontStack,sectionIndex:Ja,metrics:ks,rect:Ac}),Ho+=qo*Zi.scale+ya):(ma.push({glyph:Ds,imageName:Vh,x:Ho,y:ls+dl,vertical:Sc,scale:Zi.scale,fontStack:Zi.fontStack,sectionIndex:Ja,metrics:ks,rect:Ac}),Ho+=ks.advance*Zi.scale+ya)}if(ma.length!==0){var B1=Ho-ya;Xo=Math.max(B1,Xo),MC(ma,0,ma.length-1,Ko,Ga)}Ho=0;var Fg=fa*mi+Ga;Ka.lineOffset=Math.max(Ga,Gi),ls+=Fg,Os=Math.max(Fg,Os),++Io}else ls+=fa,++Io}var yp=ls-kg,Bg=E1(xa),Ng=Bg.horizontalAlign,H0=Bg.verticalAlign;(function(N1,G0,dd,bp,Vg,jg,xp,Ug,Hg){var q0=(G0-dd)*Vg,W0=0;W0=jg!==xp?-Ug*bp-kg:(-bp*Hg+.5)*xp;for(var pd=0,Y0=N1;pd=0&&he>=P&&Ag[this.text.charCodeAt(he)];he--)J--;this.text=this.text.substring(P,J),this.sectionIndex=this.sectionIndex.slice(P,J)},Ts.prototype.substring=function(P,V){var J=new Ts;return J.text=this.text.substring(P,V),J.sectionIndex=this.sectionIndex.slice(P,V),J.sections=this.sections,J},Ts.prototype.toString=function(){return this.text},Ts.prototype.getMaxScale=function(){var P=this;return this.sectionIndex.reduce(function(V,J){return Math.max(V,P.sections[J].scale)},0)},Ts.prototype.addTextSection=function(P,V){this.text+=P.text,this.sections.push(cp.forText(P.scale,P.fontStack||V));for(var J=this.sections.length-1,he=0;he=63743?null:++this.imageSectionID:(this.imageSectionID=57344,this.imageSectionID)};var Ag={9:!0,10:!0,11:!0,12:!0,13:!0,32:!0},fl={};function aw(P,V,J,he,Ae,Oe){if(V.imageName){var Ge=he[V.imageName];return Ge?Ge.displaySize[0]*V.scale*ss/Oe+Ae:0}var it=J[V.fontStack],pt=it&&it[P];return pt?pt.metrics.advance*V.scale+Ae:0}function ow(P,V,J,he){var Ae=Math.pow(P-V,2);return he?P=0,Dt=0,Gt=0;Gt-J/2;){if(--Ge<0)return!1;it-=P[Ge].dist(Oe),Oe=P[Ge]}it+=P[Ge].dist(P[Ge+1]),Ge++;for(var pt=[],Ct=0;ithe;)Ct-=pt.shift().angleDelta;if(Ct>Ae)return!1;Ge++,it+=Gt.dist(Zt)}return!0}function dw(P){for(var V=0,J=0;JCt){var fn=(Ct-pt)/$t,Mn=zr(Gt.x,Zt.x,fn),Nn=zr(Gt.y,Zt.y,fn),Bn=new hp(Mn,Nn,Zt.angleTo(Gt),Dt);return Bn._round(),!Ge||fw(P,Bn,it,Ge,V)?Bn:void 0}pt+=$t}}function CC(P,V,J,he,Ae,Oe,Ge,it,pt){var Ct=pw(he,Oe,Ge),Dt=mw(he,Ae),Gt=Dt*Ge,Zt=P[0].x===0||P[0].x===pt||P[0].y===0||P[0].y===pt;return V-Gt=0&&er=0&&sr=0&&Zt+Ct<=Dt){var fr=new hp(er,sr,Wn,fn);fr._round(),he&&!fw(P,fr,Oe,he,Ae)||$t.push(fr)}}Gt+=Bn}return it||$t.length||Ge||($t=gw(P,Gt/2,J,he,Ae,Oe,Ge,!0,pt)),$t}function vw(P,V,J,he,Ae){for(var Oe=[],Ge=0;Ge=he&&Gt.x>=he||(Dt.x>=he?Dt=new a(he,Dt.y+(Gt.y-Dt.y)*((he-Dt.x)/(Gt.x-Dt.x)))._round():Gt.x>=he&&(Gt=new a(he,Dt.y+(Gt.y-Dt.y)*((he-Dt.x)/(Gt.x-Dt.x)))._round()),Dt.y>=Ae&&Gt.y>=Ae||(Dt.y>=Ae?Dt=new a(Dt.x+(Gt.x-Dt.x)*((Ae-Dt.y)/(Gt.y-Dt.y)),Ae)._round():Gt.y>=Ae&&(Gt=new a(Dt.x+(Gt.x-Dt.x)*((Ae-Dt.y)/(Gt.y-Dt.y)),Ae)._round()),pt&&Dt.equals(pt[pt.length-1])||(pt=[Dt],Oe.push(pt)),pt.push(Gt)))))}return Oe}function yw(P,V,J,he){var Ae=[],Oe=P.image,Ge=Oe.pixelRatio,it=Oe.paddedRect.w-2,pt=Oe.paddedRect.h-2,Ct=P.right-P.left,Dt=P.bottom-P.top,Gt=Oe.stretchX||[[0,it]],Zt=Oe.stretchY||[[0,pt]],$t=function(fa,xa){return fa+xa[1]-xa[0]},fn=Gt.reduce($t,0),Mn=Zt.reduce($t,0),Nn=it-fn,Bn=pt-Mn,Wn=0,Zn=fn,er=0,sr=Mn,fr=0,Pr=Nn,Tr=0,Nr=Bn;if(Oe.content&&he){var Xr=Oe.content;Wn=Sg(Gt,0,Xr[0]),er=Sg(Zt,0,Xr[1]),Zn=Sg(Gt,Xr[0],Xr[2]),sr=Sg(Zt,Xr[1],Xr[3]),fr=Xr[0]-Wn,Tr=Xr[1]-er,Pr=Xr[2]-Xr[0]-Zn,Nr=Xr[3]-Xr[1]-sr}var hi=function(fa,xa,Sa,Pa){var ya=Cg(fa.stretch-Wn,Zn,Ct,P.left),Mo=Eg(fa.fixed-fr,Pr,fa.stretch,fn),Va=Cg(xa.stretch-er,sr,Dt,P.top),Ho=Eg(xa.fixed-Tr,Nr,xa.stretch,Mn),ls=Cg(Sa.stretch-Wn,Zn,Ct,P.left),Xo=Eg(Sa.fixed-fr,Pr,Sa.stretch,fn),Os=Cg(Pa.stretch-er,sr,Dt,P.top),Ko=Eg(Pa.fixed-Tr,Nr,Pa.stretch,Mn),Io=new a(ya,Va),Jo=new a(ls,Va),Go=new a(ls,Os),Ro=new a(ya,Os),mi=new a(Mo/Ge,Ho/Ge),Gi=new a(Xo/Ge,Ko/Ge),Ka=V*Math.PI/180;if(Ka){var ma=Math.sin(Ka),Ga=Math.cos(Ka),Oa=[Ga,-ma,ma,Ga];Io._matMult(Oa),Jo._matMult(Oa),Ro._matMult(Oa),Go._matMult(Oa)}var Zi=fa.stretch+fa.fixed,Ja=Sa.stretch+Sa.fixed,Ds=xa.stretch+xa.fixed,dl=Pa.stretch+Pa.fixed;return{tl:Io,tr:Jo,bl:Ro,br:Go,tex:{x:Oe.paddedRect.x+1+Zi,y:Oe.paddedRect.y+1+Ds,w:Ja-Zi,h:dl-Ds},writingMode:void 0,glyphOffset:[0,0],sectionIndex:0,pixelOffsetTL:mi,pixelOffsetBR:Gi,minFontScaleX:Pr/Ge/Ct,minFontScaleY:Nr/Ge/Dt,isSDF:J}};if(he&&(Oe.stretchX||Oe.stretchY))for(var Jr=bw(Gt,Nn,fn),ui=bw(Zt,Bn,Mn),ri=0;ri0&&($t=Math.max(10,$t),this.circleDiameter=$t)}else{var fn=Oe.top*Ge-it,Mn=Oe.bottom*Ge+it,Nn=Oe.left*Ge-it,Bn=Oe.right*Ge+it,Wn=Oe.collisionPadding;if(Wn&&(Nn-=Wn[0]*Ge,fn-=Wn[1]*Ge,Bn+=Wn[2]*Ge,Mn+=Wn[3]*Ge),Ct){var Zn=new a(Nn,fn),er=new a(Bn,fn),sr=new a(Nn,Mn),fr=new a(Bn,Mn),Pr=Ct*Math.PI/180;Zn._rotate(Pr),er._rotate(Pr),sr._rotate(Pr),fr._rotate(Pr),Nn=Math.min(Zn.x,er.x,sr.x,fr.x),Bn=Math.max(Zn.x,er.x,sr.x,fr.x),fn=Math.min(Zn.y,er.y,sr.y,fr.y),Mn=Math.max(Zn.y,er.y,sr.y,fr.y)}P.emplaceBack(V.x,V.y,Nn,fn,Bn,Mn,J,he,Ae)}this.boxEndIndex=P.length},fp=function(P,V){if(P===void 0&&(P=[]),V===void 0&&(V=EC),this.data=P,this.length=this.data.length,this.compare=V,this.length>0)for(var J=(this.length>>1)-1;J>=0;J--)this._down(J)};function EC(P,V){return PV?1:0}function LC(P,V,J){V===void 0&&(V=1),J===void 0&&(J=!1);for(var he=1/0,Ae=1/0,Oe=-1/0,Ge=-1/0,it=P[0],pt=0;ptOe)&&(Oe=Ct.x),(!pt||Ct.y>Ge)&&(Ge=Ct.y)}var Dt=Oe-he,Gt=Ge-Ae,Zt=Math.min(Dt,Gt),$t=Zt/2,fn=new fp([],IC);if(Zt===0)return new a(he,Ae);for(var Mn=he;MnBn.d||!Bn.d)&&(Bn=Zn,J&&console.log("found best %d after %d probes",Math.round(1e4*Zn.d)/1e4,Wn)),Zn.max-Bn.d<=V||($t=Zn.h/2,fn.push(new dp(Zn.p.x-$t,Zn.p.y-$t,$t,P)),fn.push(new dp(Zn.p.x+$t,Zn.p.y-$t,$t,P)),fn.push(new dp(Zn.p.x-$t,Zn.p.y+$t,$t,P)),fn.push(new dp(Zn.p.x+$t,Zn.p.y+$t,$t,P)),Wn+=4)}return J&&(console.log("num probes: "+Wn),console.log("best distance: "+Bn.d)),Bn.p}function IC(P,V){return V.max-P.max}function dp(P,V,J,he){this.p=new a(P,V),this.h=J,this.d=function(Ae,Oe){for(var Ge=!1,it=1/0,pt=0;ptAe.y!=fn.y>Ae.y&&Ae.x<(fn.x-$t.x)*(Ae.y-$t.y)/(fn.y-$t.y)+$t.x&&(Ge=!Ge),it=Math.min(it,fg(Ae,$t,fn))}return(Ge?1:-1)*Math.sqrt(it)}(this.p,he),this.max=this.d+this.h*Math.SQRT2}fp.prototype.push=function(P){this.data.push(P),this.length++,this._up(this.length-1)},fp.prototype.pop=function(){if(this.length!==0){var P=this.data[0],V=this.data.pop();return this.length--,this.length>0&&(this.data[0]=V,this._down(0)),P}},fp.prototype.peek=function(){return this.data[0]},fp.prototype._up=function(P){for(var V=this.data,J=this.compare,he=V[P];P>0;){var Ae=P-1>>1,Oe=V[Ae];if(J(he,Oe)>=0)break;V[P]=Oe,P=Ae}V[P]=he},fp.prototype._down=function(P){for(var V=this.data,J=this.compare,he=this.length>>1,Ae=V[P];P=0)break;V[P]=Ge,P=Oe}V[P]=Ae};var I1=Number.POSITIVE_INFINITY;function xw(P,V){return V[1]!==I1?function(J,he,Ae){var Oe=0,Ge=0;switch(he=Math.abs(he),Ae=Math.abs(Ae),J){case"top-right":case"top-left":case"top":Ge=Ae-7;break;case"bottom-right":case"bottom-left":case"bottom":Ge=7-Ae}switch(J){case"top-right":case"bottom-right":case"right":Oe=-he;break;case"top-left":case"bottom-left":case"left":Oe=he}return[Oe,Ge]}(P,V[0],V[1]):function(J,he){var Ae=0,Oe=0;he<0&&(he=0);var Ge=he/Math.sqrt(2);switch(J){case"top-right":case"top-left":Oe=Ge-7;break;case"bottom-right":case"bottom-left":Oe=7-Ge;break;case"bottom":Oe=7-he;break;case"top":Oe=he-7}switch(J){case"top-right":case"bottom-right":Ae=-Ge;break;case"top-left":case"bottom-left":Ae=Ge;break;case"left":Ae=he;break;case"right":Ae=-he}return[Ae,Oe]}(P,V[0])}function R1(P){switch(P){case"right":case"top-right":case"bottom-right":return"right";case"left":case"top-left":case"bottom-left":return"left"}return"center"}var kf=32640;function _w(P,V,J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn){var Mn=function(er,sr,fr,Pr,Tr,Nr,Xr,hi){for(var Jr=Pr.layout.get("text-rotate").evaluate(Nr,{})*Math.PI/180,ui=[],ri=0,Kr=sr.positionedLines;rikf&&R(P.layerIds[0]+': Value for "text-size" is >= 255. Reduce your "text-size".'):Nn.kind==="composite"&&((Bn=[Jc*$t.compositeTextSizes[0].evaluate(Ge,{},fn),Jc*$t.compositeTextSizes[1].evaluate(Ge,{},fn)])[0]>kf||Bn[1]>kf)&&R(P.layerIds[0]+': Value for "text-size" is >= 255. Reduce your "text-size".'),P.addSymbols(P.text,Mn,Bn,it,Oe,Ge,Ct,V,pt.lineStartIndex,pt.lineLength,Zt,fn);for(var Wn=0,Zn=Dt;Wn=0;Ge--)if(he.dist(Oe[Ge])0)&&(Oe.value.kind!=="constant"||Oe.value.value.length>0),Ct=it.value.kind!=="constant"||!!it.value.value||Object.keys(it.parameters).length>0,Dt=Ae.get("symbol-sort-key");if(this.features=[],pt||Ct){for(var Gt=V.iconDependencies,Zt=V.glyphDependencies,$t=V.availableImages,fn=new Wi(this.zoom),Mn=0,Nn=P;Mn=0;for(var pi=0,va=Tr.sections;pi=0;it--)Oe[it]={x:V[it].x,y:V[it].y,tileUnitDistanceFromAnchor:Ae},it>0&&(Ae+=V[it-1].dist(V[it]));for(var pt=0;pt0},ha.prototype.hasIconData=function(){return this.icon.segments.get().length>0},ha.prototype.hasDebugData=function(){return this.textCollisionBox&&this.iconCollisionBox},ha.prototype.hasTextCollisionBoxData=function(){return this.hasDebugData()&&this.textCollisionBox.segments.get().length>0},ha.prototype.hasIconCollisionBoxData=function(){return this.hasDebugData()&&this.iconCollisionBox.segments.get().length>0},ha.prototype.addIndicesForPlacedSymbol=function(P,V){for(var J=P.placedSymbolArray.get(V),he=J.vertexStartIndex+4*J.numGlyphs,Ae=J.vertexStartIndex;Ae1||this.icon.segments.get().length>1)){this.symbolInstanceIndexes=this.getSortedSymbolIndexes(P),this.sortedAngle=P,this.text.indexArray.clear(),this.icon.indexArray.clear(),this.featureSortOrder=[];for(var J=0,he=this.symbolInstanceIndexes;J=0&&pt.indexOf(Ge)===it&&V.addIndicesForPlacedSymbol(V.text,Ge)}),Oe.verticalPlacedTextSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.text,Oe.verticalPlacedTextSymbolIndex),Oe.placedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,Oe.placedIconSymbolIndex),Oe.verticalPlacedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,Oe.verticalPlacedIconSymbolIndex)}this.text.indexBuffer&&this.text.indexBuffer.updateData(this.text.indexArray),this.icon.indexBuffer&&this.icon.indexBuffer.updateData(this.icon.indexArray)}},Dr("SymbolBucket",ha,{omit:["layers","collisionBoxArray","features","compareText"]}),ha.MAX_GLYPHS=65535,ha.addDynamicAttributes=P1;var zC=new xo({"symbol-placement":new Hr(Re.layout_symbol["symbol-placement"]),"symbol-spacing":new Hr(Re.layout_symbol["symbol-spacing"]),"symbol-avoid-edges":new Hr(Re.layout_symbol["symbol-avoid-edges"]),"symbol-sort-key":new ni(Re.layout_symbol["symbol-sort-key"]),"symbol-z-order":new Hr(Re.layout_symbol["symbol-z-order"]),"icon-allow-overlap":new Hr(Re.layout_symbol["icon-allow-overlap"]),"icon-ignore-placement":new Hr(Re.layout_symbol["icon-ignore-placement"]),"icon-optional":new Hr(Re.layout_symbol["icon-optional"]),"icon-rotation-alignment":new Hr(Re.layout_symbol["icon-rotation-alignment"]),"icon-size":new ni(Re.layout_symbol["icon-size"]),"icon-text-fit":new Hr(Re.layout_symbol["icon-text-fit"]),"icon-text-fit-padding":new Hr(Re.layout_symbol["icon-text-fit-padding"]),"icon-image":new ni(Re.layout_symbol["icon-image"]),"icon-rotate":new ni(Re.layout_symbol["icon-rotate"]),"icon-padding":new Hr(Re.layout_symbol["icon-padding"]),"icon-keep-upright":new Hr(Re.layout_symbol["icon-keep-upright"]),"icon-offset":new ni(Re.layout_symbol["icon-offset"]),"icon-anchor":new ni(Re.layout_symbol["icon-anchor"]),"icon-pitch-alignment":new Hr(Re.layout_symbol["icon-pitch-alignment"]),"text-pitch-alignment":new Hr(Re.layout_symbol["text-pitch-alignment"]),"text-rotation-alignment":new Hr(Re.layout_symbol["text-rotation-alignment"]),"text-field":new ni(Re.layout_symbol["text-field"]),"text-font":new ni(Re.layout_symbol["text-font"]),"text-size":new ni(Re.layout_symbol["text-size"]),"text-max-width":new ni(Re.layout_symbol["text-max-width"]),"text-line-height":new Hr(Re.layout_symbol["text-line-height"]),"text-letter-spacing":new ni(Re.layout_symbol["text-letter-spacing"]),"text-justify":new ni(Re.layout_symbol["text-justify"]),"text-radial-offset":new ni(Re.layout_symbol["text-radial-offset"]),"text-variable-anchor":new Hr(Re.layout_symbol["text-variable-anchor"]),"text-anchor":new ni(Re.layout_symbol["text-anchor"]),"text-max-angle":new Hr(Re.layout_symbol["text-max-angle"]),"text-writing-mode":new Hr(Re.layout_symbol["text-writing-mode"]),"text-rotate":new ni(Re.layout_symbol["text-rotate"]),"text-padding":new Hr(Re.layout_symbol["text-padding"]),"text-keep-upright":new Hr(Re.layout_symbol["text-keep-upright"]),"text-transform":new ni(Re.layout_symbol["text-transform"]),"text-offset":new ni(Re.layout_symbol["text-offset"]),"text-allow-overlap":new Hr(Re.layout_symbol["text-allow-overlap"]),"text-ignore-placement":new Hr(Re.layout_symbol["text-ignore-placement"]),"text-optional":new Hr(Re.layout_symbol["text-optional"])}),O1={paint:new xo({"icon-opacity":new ni(Re.paint_symbol["icon-opacity"]),"icon-color":new ni(Re.paint_symbol["icon-color"]),"icon-halo-color":new ni(Re.paint_symbol["icon-halo-color"]),"icon-halo-width":new ni(Re.paint_symbol["icon-halo-width"]),"icon-halo-blur":new ni(Re.paint_symbol["icon-halo-blur"]),"icon-translate":new Hr(Re.paint_symbol["icon-translate"]),"icon-translate-anchor":new Hr(Re.paint_symbol["icon-translate-anchor"]),"text-opacity":new ni(Re.paint_symbol["text-opacity"]),"text-color":new ni(Re.paint_symbol["text-color"],{runtimeType:Nt,getOverride:function(P){return P.textColor},hasOverride:function(P){return!!P.textColor}}),"text-halo-color":new ni(Re.paint_symbol["text-halo-color"]),"text-halo-width":new ni(Re.paint_symbol["text-halo-width"]),"text-halo-blur":new ni(Re.paint_symbol["text-halo-blur"]),"text-translate":new Hr(Re.paint_symbol["text-translate"]),"text-translate-anchor":new Hr(Re.paint_symbol["text-translate-anchor"])}),layout:zC},mp=function(P){this.type=P.property.overrides?P.property.overrides.runtimeType:yt,this.defaultValue=P};mp.prototype.evaluate=function(P){if(P.formattedSection){var V=this.defaultValue.property.overrides;if(V&&V.hasOverride(P.formattedSection))return V.getOverride(P.formattedSection)}return P.feature&&P.featureState?this.defaultValue.evaluate(P.feature,P.featureState):this.defaultValue.property.specification.default},mp.prototype.eachChild=function(P){this.defaultValue.isConstant()||P(this.defaultValue.value._styleExpression.expression)},mp.prototype.outputDefined=function(){return!1},mp.prototype.serialize=function(){return null},Dr("FormatSectionOverride",mp,{omit:["defaultValue"]});var FC=function(P){function V(J){P.call(this,J,O1)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.recalculate=function(J,he){if(P.prototype.recalculate.call(this,J,he),this.layout.get("icon-rotation-alignment")==="auto"&&(this.layout.get("symbol-placement")!=="point"?this.layout._values["icon-rotation-alignment"]="map":this.layout._values["icon-rotation-alignment"]="viewport"),this.layout.get("text-rotation-alignment")==="auto"&&(this.layout.get("symbol-placement")!=="point"?this.layout._values["text-rotation-alignment"]="map":this.layout._values["text-rotation-alignment"]="viewport"),this.layout.get("text-pitch-alignment")==="auto"&&(this.layout._values["text-pitch-alignment"]=this.layout.get("text-rotation-alignment")),this.layout.get("icon-pitch-alignment")==="auto"&&(this.layout._values["icon-pitch-alignment"]=this.layout.get("icon-rotation-alignment")),this.layout.get("symbol-placement")==="point"){var Ae=this.layout.get("text-writing-mode");if(Ae){for(var Oe=[],Ge=0,it=Ae;Ge",targetMapId:he,sourceMapId:Oe.mapId})}}},gp.prototype.receive=function(P){var V=P.data,J=V.id;if(J&&(!V.targetMapId||this.mapId===V.targetMapId))if(V.type===""){delete this.tasks[J];var he=this.cancelCallbacks[J];delete this.cancelCallbacks[J],he&&he()}else z()||V.mustQueue?(this.tasks[J]=V,this.taskQueue.push(J),this.invoker.trigger()):this.processTask(J,V)},gp.prototype.process=function(){if(this.taskQueue.length){var P=this.taskQueue.shift(),V=this.tasks[P];delete this.tasks[P],this.taskQueue.length&&this.invoker.trigger(),V&&this.processTask(P,V)}},gp.prototype.processTask=function(P,V){var J=this;if(V.type===""){var he=this.callbacks[P];delete this.callbacks[P],he&&(V.error?he(Fu(V.error)):he(null,Fu(V.data)))}else{var Ae=!1,Oe=N(this.globalScope)?void 0:[],Ge=V.hasCallback?function(Dt,Gt){Ae=!0,delete J.cancelCallbacks[P],J.target.postMessage({id:P,type:"",sourceMapId:J.mapId,error:Dt?zu(Dt):null,data:zu(Gt,Oe)},Oe)}:function(Dt){Ae=!0},it=null,pt=Fu(V.data);if(this.parent[V.type])it=this.parent[V.type](V.sourceMapId,pt,Ge);else if(this.parent.getWorkerSource){var Ct=V.type.split(".");it=this.parent.getWorkerSource(V.sourceMapId,Ct[0],pt.source)[Ct[1]](pt,Ge)}else Ge(new Error("Could not find function "+V.type));!Ae&&it&&it.cancel&&(this.cancelCallbacks[P]=it.cancel)}},gp.prototype.remove=function(){this.invoker.remove(),this.target.removeEventListener("message",this.receive,!1)};var To=function(P,V){P&&(V?this.setSouthWest(P).setNorthEast(V):P.length===4?this.setSouthWest([P[0],P[1]]).setNorthEast([P[2],P[3]]):this.setSouthWest(P[0]).setNorthEast(P[1]))};To.prototype.setNorthEast=function(P){return this._ne=P instanceof Ra?new Ra(P.lng,P.lat):Ra.convert(P),this},To.prototype.setSouthWest=function(P){return this._sw=P instanceof Ra?new Ra(P.lng,P.lat):Ra.convert(P),this},To.prototype.extend=function(P){var V,J,he=this._sw,Ae=this._ne;if(P instanceof Ra)V=P,J=P;else{if(!(P instanceof To)){if(Array.isArray(P)){if(P.length===4||P.every(Array.isArray)){var Oe=P;return this.extend(To.convert(Oe))}var Ge=P;return this.extend(Ra.convert(Ge))}return this}if(V=P._sw,J=P._ne,!V||!J)return this}return he||Ae?(he.lng=Math.min(V.lng,he.lng),he.lat=Math.min(V.lat,he.lat),Ae.lng=Math.max(J.lng,Ae.lng),Ae.lat=Math.max(J.lat,Ae.lat)):(this._sw=new Ra(V.lng,V.lat),this._ne=new Ra(J.lng,J.lat)),this},To.prototype.getCenter=function(){return new Ra((this._sw.lng+this._ne.lng)/2,(this._sw.lat+this._ne.lat)/2)},To.prototype.getSouthWest=function(){return this._sw},To.prototype.getNorthEast=function(){return this._ne},To.prototype.getNorthWest=function(){return new Ra(this.getWest(),this.getNorth())},To.prototype.getSouthEast=function(){return new Ra(this.getEast(),this.getSouth())},To.prototype.getWest=function(){return this._sw.lng},To.prototype.getSouth=function(){return this._sw.lat},To.prototype.getEast=function(){return this._ne.lng},To.prototype.getNorth=function(){return this._ne.lat},To.prototype.toArray=function(){return[this._sw.toArray(),this._ne.toArray()]},To.prototype.toString=function(){return"LngLatBounds("+this._sw.toString()+", "+this._ne.toString()+")"},To.prototype.isEmpty=function(){return!(this._sw&&this._ne)},To.prototype.contains=function(P){var V=Ra.convert(P),J=V.lng,he=V.lat,Ae=this._sw.lat<=he&&he<=this._ne.lat,Oe=this._sw.lng<=J&&J<=this._ne.lng;return this._sw.lng>this._ne.lng&&(Oe=this._sw.lng>=J&&J>=this._ne.lng),Ae&&Oe},To.convert=function(P){return!P||P instanceof To?P:new To(P)};var Cw=63710088e-1,Ra=function(P,V){if(isNaN(P)||isNaN(V))throw new Error("Invalid LngLat object: ("+P+", "+V+")");if(this.lng=+P,this.lat=+V,this.lat>90||this.lat<-90)throw new Error("Invalid LngLat latitude value: must be between -90 and 90")};Ra.prototype.wrap=function(){return new Ra(c(this.lng,-180,180),this.lat)},Ra.prototype.toArray=function(){return[this.lng,this.lat]},Ra.prototype.toString=function(){return"LngLat("+this.lng+", "+this.lat+")"},Ra.prototype.distanceTo=function(P){var V=Math.PI/180,J=this.lat*V,he=P.lat*V,Ae=Math.sin(J)*Math.sin(he)+Math.cos(J)*Math.cos(he)*Math.cos((P.lng-this.lng)*V);return Cw*Math.acos(Math.min(Ae,1))},Ra.prototype.toBounds=function(P){P===void 0&&(P=0);var V=360*P/40075017,J=V/Math.cos(Math.PI/180*this.lat);return new To(new Ra(this.lng-J,this.lat-V),new Ra(this.lng+J,this.lat+V))},Ra.convert=function(P){if(P instanceof Ra)return P;if(Array.isArray(P)&&(P.length===2||P.length===3))return new Ra(Number(P[0]),Number(P[1]));if(!Array.isArray(P)&&typeof P=="object"&&P!==null)return new Ra(Number("lng"in P?P.lng:P.lon),Number(P.lat));throw new Error("`LngLatLike` argument must be specified as a LngLat instance, an object {lng: , lat: }, an object {lon: , lat: }, or an array of [, ]")};var Ew=2*Math.PI*Cw;function Lw(P){return Ew*Math.cos(P*Math.PI/180)}function Iw(P){return(180+P)/360}function Rw(P){return(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+P*Math.PI/360)))/360}function Pw(P,V){return P/Lw(V)}function z1(P){var V=180-360*P;return 360/Math.PI*Math.atan(Math.exp(V*Math.PI/180))-90}var ud=function(P,V,J){J===void 0&&(J=0),this.x=+P,this.y=+V,this.z=+J};ud.fromLngLat=function(P,V){V===void 0&&(V=0);var J=Ra.convert(P);return new ud(Iw(J.lng),Rw(J.lat),Pw(V,J.lat))},ud.prototype.toLngLat=function(){return new Ra(360*this.x-180,z1(this.y))},ud.prototype.toAltitude=function(){return P=this.z,V=this.y,P*Lw(z1(V));var P,V},ud.prototype.meterInMercatorCoordinateUnits=function(){return 1/Ew*(P=z1(this.y),1/Math.cos(P*Math.PI/180));var P};var cd=function(P,V,J){this.z=P,this.x=V,this.y=J,this.key=j0(0,P,P,V,J)};cd.prototype.equals=function(P){return this.z===P.z&&this.x===P.x&&this.y===P.y},cd.prototype.url=function(P,V){var J,he,Ae,Oe,Ge,it=(J=this.x,he=this.y,Ae=this.z,Oe=Sw(256*J,256*(he=Math.pow(2,Ae)-he-1),Ae),Ge=Sw(256*(J+1),256*(he+1),Ae),Oe[0]+","+Oe[1]+","+Ge[0]+","+Ge[1]),pt=function(Ct,Dt,Gt){for(var Zt,$t="",fn=Ct;fn>0;fn--)$t+=(Dt&(Zt=1<this.canonical.z?new ko(P,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y):new ko(P,this.wrap,P,this.canonical.x>>V,this.canonical.y>>V)},ko.prototype.calculateScaledKey=function(P,V){var J=this.canonical.z-P;return P>this.canonical.z?j0(this.wrap*+V,P,this.canonical.z,this.canonical.x,this.canonical.y):j0(this.wrap*+V,P,P,this.canonical.x>>J,this.canonical.y>>J)},ko.prototype.isChildOf=function(P){if(P.wrap!==this.wrap)return!1;var V=this.canonical.z-P.canonical.z;return P.overscaledZ===0||P.overscaledZ>V&&P.canonical.y===this.canonical.y>>V},ko.prototype.children=function(P){if(this.overscaledZ>=P)return[new ko(this.overscaledZ+1,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)];var V=this.canonical.z+1,J=2*this.canonical.x,he=2*this.canonical.y;return[new ko(V,this.wrap,V,J,he),new ko(V,this.wrap,V,J+1,he),new ko(V,this.wrap,V,J,he+1),new ko(V,this.wrap,V,J+1,he+1)]},ko.prototype.isLessThan=function(P){return this.wrapP.wrap)&&(this.overscaledZP.overscaledZ)&&(this.canonical.xP.canonical.x)&&this.canonical.y=this.dim+1||V<-1||V>=this.dim+1)throw new RangeError("out of range source coordinates for DEM data");return(V+1)*this.stride+(P+1)},Bh.prototype._unpackMapbox=function(P,V,J){return(256*P*256+256*V+J)/10-1e4},Bh.prototype._unpackTerrarium=function(P,V,J){return 256*P+V+J/256-32768},Bh.prototype.getPixels=function(){return new Ws({width:this.stride,height:this.stride},new Uint8Array(this.data.buffer))},Bh.prototype.backfillBorder=function(P,V,J){if(this.dim!==P.dim)throw new Error("dem dimension mismatch");var he=V*this.dim,Ae=V*this.dim+this.dim,Oe=J*this.dim,Ge=J*this.dim+this.dim;switch(V){case-1:he=Ae-1;break;case 1:Ae=he+1}switch(J){case-1:Oe=Ge-1;break;case 1:Ge=Oe+1}for(var it=-V*this.dim,pt=-J*this.dim,Ct=Oe;Ct=0&&Dt[3]>=0&&it.insert(Ge,Dt[0],Dt[1],Dt[2],Dt[3])}},Nh.prototype.loadVTLayers=function(){return this.vtLayers||(this.vtLayers=new sp.VectorTile(new _g(this.rawTileData)).layers,this.sourceLayerCoder=new Pg(this.vtLayers?Object.keys(this.vtLayers).sort():["_geojsonTileLayer"])),this.vtLayers},Nh.prototype.query=function(P,V,J,he){var Ae=this;this.loadVTLayers();for(var Oe=P.params||{},Ge=li/P.tileSize/P.scale,it=_c(Oe.filter),pt=P.queryGeometry,Ct=P.queryPadding*Ge,Dt=zw(pt),Gt=this.grid.query(Dt.minX-Ct,Dt.minY-Ct,Dt.maxX+Ct,Dt.maxY+Ct),Zt=zw(P.cameraQueryGeometry),$t=0,fn=this.grid3D.query(Zt.minX-Ct,Zt.minY-Ct,Zt.maxX+Ct,Zt.maxY+Ct,function(er,sr,fr,Pr){return function(Tr,Nr,Xr,hi,Jr){for(var ui=0,ri=Tr;ui=Kr.x&&Jr>=Kr.y)return!0}var Di=[new a(Nr,Xr),new a(Nr,Jr),new a(hi,Jr),new a(hi,Xr)];if(Tr.length>2){for(var pi=0,va=Di;pi=0)return!0;return!1}(Oe,Gt)){var Zt=this.sourceLayerCoder.decode(J),$t=this.vtLayers[Zt].feature(he);if(Ae.filter(new Wi(this.tileID.overscaledZ),$t))for(var fn=this.getId($t,Zt),Mn=0;Mnhe)Ae=!1;else if(V)if(this.expirationTimege&&(P.getActor().send("enforceCacheSizeLimit",je),st=0)},i.clamp=h,i.clearTileCache=function(P){var V=self.caches.delete(ze);P&&V.catch(P).then(function(){return P()})},i.clipLine=vw,i.clone=function(P){var V=new Fl(16);return V[0]=P[0],V[1]=P[1],V[2]=P[2],V[3]=P[3],V[4]=P[4],V[5]=P[5],V[6]=P[6],V[7]=P[7],V[8]=P[8],V[9]=P[9],V[10]=P[10],V[11]=P[11],V[12]=P[12],V[13]=P[13],V[14]=P[14],V[15]=P[15],V},i.clone$1=L,i.clone$2=function(P){var V=new Fl(3);return V[0]=P[0],V[1]=P[1],V[2]=P[2],V},i.collisionCircleLayout=cC,i.config=Z,i.create=function(){var P=new Fl(16);return Fl!=Float32Array&&(P[1]=0,P[2]=0,P[3]=0,P[4]=0,P[6]=0,P[7]=0,P[8]=0,P[9]=0,P[11]=0,P[12]=0,P[13]=0,P[14]=0),P[0]=1,P[5]=1,P[10]=1,P[15]=1,P},i.create$1=function(){var P=new Fl(9);return Fl!=Float32Array&&(P[1]=0,P[2]=0,P[3]=0,P[5]=0,P[6]=0,P[7]=0),P[0]=1,P[4]=1,P[8]=1,P},i.create$2=function(){var P=new Fl(4);return Fl!=Float32Array&&(P[1]=0,P[2]=0),P[0]=1,P[3]=1,P},i.createCommonjsModule=M,i.createExpression=mc,i.createLayout=la,i.createStyleLayer=function(P){return P.type==="custom"?new UC(P):new HC[P.type](P)},i.cross=function(P,V,J){var he=V[0],Ae=V[1],Oe=V[2],Ge=J[0],it=J[1],pt=J[2];return P[0]=Ae*pt-Oe*it,P[1]=Oe*Ge-he*pt,P[2]=he*it-Ae*Ge,P},i.deepEqual=function P(V,J){if(Array.isArray(V)){if(!Array.isArray(J)||V.length!==J.length)return!1;for(var he=0;he0&&(Oe=1/Math.sqrt(Oe)),P[0]=V[0]*Oe,P[1]=V[1]*Oe,P[2]=V[2]*Oe,P},i.number=zr,i.offscreenCanvasSupported=ot,i.ortho=function(P,V,J,he,Ae,Oe,Ge){var it=1/(V-J),pt=1/(he-Ae),Ct=1/(Oe-Ge);return P[0]=-2*it,P[1]=0,P[2]=0,P[3]=0,P[4]=0,P[5]=-2*pt,P[6]=0,P[7]=0,P[8]=0,P[9]=0,P[10]=2*Ct,P[11]=0,P[12]=(V+J)*it,P[13]=(Ae+he)*pt,P[14]=(Ge+Oe)*Ct,P[15]=1,P},i.parseGlyphPBF=function(P){return new _g(P).readFields(_C,[])},i.pbf=_g,i.performSymbolLayout=function(P,V,J,he,Ae,Oe,Ge){P.createArrays();var it=512*P.overscaling;P.tilePixelRatio=li/it,P.compareText={},P.iconsNeedLinear=!1;var pt=P.layers[0].layout,Ct=P.layers[0]._unevaluatedLayout._values,Dt={};if(P.textSizeData.kind==="composite"){var Gt=P.textSizeData,Zt=Gt.minZoom,$t=Gt.maxZoom;Dt.compositeTextSizes=[Ct["text-size"].possiblyEvaluate(new Wi(Zt),Ge),Ct["text-size"].possiblyEvaluate(new Wi($t),Ge)]}if(P.iconSizeData.kind==="composite"){var fn=P.iconSizeData,Mn=fn.minZoom,Nn=fn.maxZoom;Dt.compositeIconSizes=[Ct["icon-size"].possiblyEvaluate(new Wi(Mn),Ge),Ct["icon-size"].possiblyEvaluate(new Wi(Nn),Ge)]}Dt.layoutTextSize=Ct["text-size"].possiblyEvaluate(new Wi(P.zoom+1),Ge),Dt.layoutIconSize=Ct["icon-size"].possiblyEvaluate(new Wi(P.zoom+1),Ge),Dt.textMaxSize=Ct["text-size"].possiblyEvaluate(new Wi(18));for(var Bn=pt.get("text-line-height")*ss,Wn=pt.get("text-rotation-alignment")==="map"&&pt.get("symbol-placement")!=="point",Zn=pt.get("text-keep-upright"),er=pt.get("text-size"),sr=function(){var Tr=Pr[fr],Nr=pt.get("text-font").evaluate(Tr,{},Ge).join(","),Xr=er.evaluate(Tr,{},Ge),hi=Dt.layoutTextSize.evaluate(Tr,{},Ge),Jr=Dt.layoutIconSize.evaluate(Tr,{},Ge),ui={horizontal:{},vertical:void 0},ri=Tr.text,Kr=[0,0];if(ri){var Di=ri.toString(),pi=pt.get("text-letter-spacing").evaluate(Tr,{},Ge)*ss,va=function(mi){for(var Gi=0,Ka=mi;Gi=li||X0.y<0||X0.y>=li||function(ro,Cc,WC,Af,q1,Uw,Gg,Qc,qg,K0,Wg,Yg,W1,Hw,J0,Gw,qw,Ww,Yw,$w,Nl,$g,Zw,eh,YC){var Xw,gd,_p,wp,Tp,kp=ro.addToLineVertexArray(Cc,WC),Kw=0,Jw=0,Qw=0,e3=0,Y1=-1,$1=-1,jh={},t3=Fn(""),Z1=0,X1=0;if(Qc._unevaluatedLayout.getValue("text-radial-offset")===void 0?(Z1=(Xw=Qc.layout.get("text-offset").evaluate(Nl,{},eh).map(function(em){return em*ss}))[0],X1=Xw[1]):(Z1=Qc.layout.get("text-radial-offset").evaluate(Nl,{},eh)*ss,X1=I1),ro.allowVerticalPlacement&&Af.vertical){var n3=Qc.layout.get("text-rotate").evaluate(Nl,{},eh)+90,$C=Af.vertical;wp=new Lg(qg,Cc,K0,Wg,Yg,$C,W1,Hw,J0,n3),Gg&&(Tp=new Lg(qg,Cc,K0,Wg,Yg,Gg,qw,Ww,J0,n3))}if(q1){var K1=Qc.layout.get("icon-rotate").evaluate(Nl,{}),r3=Qc.layout.get("icon-text-fit")!=="none",i3=yw(q1,K1,Zw,r3),J1=Gg?yw(Gg,K1,Zw,r3):void 0;_p=new Lg(qg,Cc,K0,Wg,Yg,q1,qw,Ww,!1,K1),Kw=4*i3.length;var a3=ro.iconSizeData,Q0=null;a3.kind==="source"?(Q0=[Jc*Qc.layout.get("icon-size").evaluate(Nl,{})])[0]>kf&&R(ro.layerIds[0]+': Value for "icon-size" is >= 255. Reduce your "icon-size".'):a3.kind==="composite"&&((Q0=[Jc*$g.compositeIconSizes[0].evaluate(Nl,{},eh),Jc*$g.compositeIconSizes[1].evaluate(Nl,{},eh)])[0]>kf||Q0[1]>kf)&&R(ro.layerIds[0]+': Value for "icon-size" is >= 255. Reduce your "icon-size".'),ro.addSymbols(ro.icon,i3,Q0,$w,Yw,Nl,!1,Cc,kp.lineStartIndex,kp.lineLength,-1,eh),Y1=ro.icon.placedSymbolArray.length-1,J1&&(Jw=4*J1.length,ro.addSymbols(ro.icon,J1,Q0,$w,Yw,Nl,Bl.vertical,Cc,kp.lineStartIndex,kp.lineLength,-1,eh),$1=ro.icon.placedSymbolArray.length-1)}for(var o3 in Af.horizontal){var Zg=Af.horizontal[o3];if(!gd){t3=Fn(Zg.text);var ZC=Qc.layout.get("text-rotate").evaluate(Nl,{},eh);gd=new Lg(qg,Cc,K0,Wg,Yg,Zg,W1,Hw,J0,ZC)}var s3=Zg.positionedLines.length===1;if(Qw+=_w(ro,Cc,Zg,Uw,Qc,J0,Nl,Gw,kp,Af.vertical?Bl.horizontal:Bl.horizontalOnly,s3?Object.keys(Af.horizontal):[o3],jh,Y1,$g,eh),s3)break}Af.vertical&&(e3+=_w(ro,Cc,Af.vertical,Uw,Qc,J0,Nl,Gw,kp,Bl.vertical,["vertical"],jh,$1,$g,eh));var XC=gd?gd.boxStartIndex:ro.collisionBoxArray.length,KC=gd?gd.boxEndIndex:ro.collisionBoxArray.length,JC=wp?wp.boxStartIndex:ro.collisionBoxArray.length,QC=wp?wp.boxEndIndex:ro.collisionBoxArray.length,e8=_p?_p.boxStartIndex:ro.collisionBoxArray.length,t8=_p?_p.boxEndIndex:ro.collisionBoxArray.length,n8=Tp?Tp.boxStartIndex:ro.collisionBoxArray.length,r8=Tp?Tp.boxEndIndex:ro.collisionBoxArray.length,th=-1,Xg=function(em,u3){return em&&em.circleDiameter?Math.max(em.circleDiameter,u3):u3};th=Xg(gd,th),th=Xg(wp,th),th=Xg(_p,th);var l3=(th=Xg(Tp,th))>-1?1:0;l3&&(th*=YC/ss),ro.glyphOffsetArray.length>=ha.MAX_GLYPHS&&R("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"),Nl.sortKey!==void 0&&ro.addToSortKeyRanges(ro.symbolInstances.length,Nl.sortKey),ro.symbolInstances.emplaceBack(Cc.x,Cc.y,jh.right>=0?jh.right:-1,jh.center>=0?jh.center:-1,jh.left>=0?jh.left:-1,jh.vertical||-1,Y1,$1,t3,XC,KC,JC,QC,e8,t8,n8,r8,K0,Qw,e3,Kw,Jw,l3,0,W1,Z1,X1,th)}(mi,X0,qC,Ka,ma,Ga,Vh,mi.layers[0],mi.collisionBoxArray,Gi.index,Gi.sourceLayerIndex,mi.index,Dg,B1,Bg,Ds,zg,Fg,Ng,Sc,Gi,Oa,dl,ks,Zi)};if(H0==="line")for(var bp=0,Vg=vw(Gi.geometry,0,0,li,li);bp1){var Y0=SC(pd,yp,Ka.vertical||Uu,ma,Hu,fd);Y0&&dd(pd,Y0)}}else if(Gi.type==="Polygon")for(var md=0,$0=w1(Gi.geometry,0);md<$0.length;md+=1){var Z0=$0[md],Bw=LC(Z0,16);dd(Z0[0],new hp(Bw.x,Bw.y,0))}else if(Gi.type==="LineString")for(var V1=0,Nw=Gi.geometry;V1=An.maxzoom||An.visibility!=="none"&&(u(un,this.zoom,qe),(Lt[An.id]=An.createBucket({index:Qe.bucketLayerIDs.length,layers:un,zoom:this.zoom,pixelRatio:this.pixelRatio,overscaling:this.overscaling,collisionBoxArray:this.collisionBoxArray,sourceLayerIndex:Nt,sourceID:this.source})).populate(Yt,yt,this.tileID.canonical),Qe.bucketLayerIDs.push(un.map(function(dn){return dn.id})))}}}var Yn=i.mapObject(yt.glyphDependencies,function(dn){return Object.keys(dn).map(Number)});Object.keys(Yn).length?nt.send("getGlyphs",{uid:this.uid,stacks:Yn},function(dn,pn){ut||(ut=dn,dt=pn,Tn.call(Re))}):dt={};var kn=Object.keys(yt.iconDependencies);kn.length?nt.send("getImages",{icons:kn,source:this.source,tileID:this.tileID,type:"icons"},function(dn,pn){ut||(ut=dn,_t=pn,Tn.call(Re))}):_t={};var sn=Object.keys(yt.patternDependencies);function Tn(){if(ut)return ft(ut);if(dt&&_t&&It){var dn=new l(dt),pn=new i.ImageAtlas(_t,It);for(var Dn in Lt){var In=Lt[Dn];In instanceof i.SymbolBucket?(u(In.layers,this.zoom,qe),i.performSymbolLayout(In,dt,dn.positions,_t,pn.iconPositions,this.showCollisionBoxes,this.tileID.canonical)):In.hasPattern&&(In instanceof i.LineBucket||In instanceof i.FillBucket||In instanceof i.FillExtrusionBucket)&&(u(In.layers,this.zoom,qe),In.addFeatures(yt,this.tileID.canonical,pn.patternPositions))}this.status="done",ft(null,{buckets:i.values(Lt).filter(function(jn){return!jn.isEmpty()}),featureIndex:Qe,collisionBoxArray:this.collisionBoxArray,glyphAtlasImage:dn.image,imageAtlas:pn,glyphMap:this.returnDependencies?dt:null,iconMap:this.returnDependencies?_t:null,glyphPositions:this.returnDependencies?dn.positions:null})}}sn.length?nt.send("getImages",{icons:sn,source:this.source,tileID:this.tileID,type:"patterns"},function(dn,pn){ut||(ut=dn,It=pn,Tn.call(Re))}):It={},Tn.call(this)};var s=function(Ke,Je,qe,nt){this.actor=Ke,this.layerIndex=Je,this.availableImages=qe,this.loadVectorData=nt||o,this.loading={},this.loaded={}};s.prototype.loadTile=function(Ke,Je){var qe=this,nt=Ke.uid;this.loading||(this.loading={});var ft=!!(Ke&&Ke.request&&Ke.request.collectResourceTiming)&&new i.RequestPerformance(Ke.request),Re=this.loading[nt]=new a(Ke);Re.abort=this.loadVectorData(Ke,function(Ne,Qe){if(delete qe.loading[nt],Ne||!Qe)return Re.status="done",qe.loaded[nt]=Re,Je(Ne);var ut=Qe.rawData,dt={};Qe.expires&&(dt.expires=Qe.expires),Qe.cacheControl&&(dt.cacheControl=Qe.cacheControl);var _t={};if(ft){var It=ft.finish();It&&(_t.resourceTiming=JSON.parse(JSON.stringify(It)))}Re.vectorTile=Qe.vectorTile,Re.parse(Qe.vectorTile,qe.layerIndex,qe.availableImages,qe.actor,function(Lt,yt){if(Lt||!yt)return Je(Lt);Je(null,i.extend({rawTileData:ut.slice(0)},yt,dt,_t))}),qe.loaded=qe.loaded||{},qe.loaded[nt]=Re})},s.prototype.reloadTile=function(Ke,Je){var qe=this,nt=this.loaded,ft=Ke.uid,Re=this;if(nt&&nt[ft]){var Ne=nt[ft];Ne.showCollisionBoxes=Ke.showCollisionBoxes;var Qe=function(ut,dt){var _t=Ne.reloadCallback;_t&&(delete Ne.reloadCallback,Ne.parse(Ne.vectorTile,Re.layerIndex,qe.availableImages,Re.actor,_t)),Je(ut,dt)};Ne.status==="parsing"?Ne.reloadCallback=Qe:Ne.status==="done"&&(Ne.vectorTile?Ne.parse(Ne.vectorTile,this.layerIndex,this.availableImages,this.actor,Qe):Qe())}},s.prototype.abortTile=function(Ke,Je){var qe=this.loading,nt=Ke.uid;qe&&qe[nt]&&qe[nt].abort&&(qe[nt].abort(),delete qe[nt]),Je()},s.prototype.removeTile=function(Ke,Je){var qe=this.loaded,nt=Ke.uid;qe&&qe[nt]&&delete qe[nt],Je()};var h=i.window.ImageBitmap,c=function(){this.loaded={}};c.prototype.loadTile=function(Ke,Je){var qe=Ke.uid,nt=Ke.encoding,ft=Ke.rawImageData,Re=h&&ft instanceof h?this.getImageData(ft):ft,Ne=new i.DEMData(qe,Re,nt);this.loaded=this.loaded||{},this.loaded[qe]=Ne,Je(null,Ne)},c.prototype.getImageData=function(Ke){this.offscreenCanvas&&this.offscreenCanvasContext||(this.offscreenCanvas=new OffscreenCanvas(Ke.width,Ke.height),this.offscreenCanvasContext=this.offscreenCanvas.getContext("2d")),this.offscreenCanvas.width=Ke.width,this.offscreenCanvas.height=Ke.height,this.offscreenCanvasContext.drawImage(Ke,0,0,Ke.width,Ke.height);var Je=this.offscreenCanvasContext.getImageData(-1,-1,Ke.width+2,Ke.height+2);return this.offscreenCanvasContext.clearRect(0,0,this.offscreenCanvas.width,this.offscreenCanvas.height),new i.RGBAImage({width:Je.width,height:Je.height},Je.data)},c.prototype.removeTile=function(Ke){var Je=this.loaded,qe=Ke.uid;Je&&Je[qe]&&delete Je[qe]};var m=function Ke(Je,qe){var nt,ft=Je&&Je.type;if(ft==="FeatureCollection")for(nt=0;nt=0!=!!Je&&Ke.reverse()}var C=i.vectorTile.VectorTileFeature.prototype.toGeoJSON,_=function(Ke){this._feature=Ke,this.extent=i.EXTENT,this.type=Ke.type,this.properties=Ke.tags,"id"in Ke&&!isNaN(Ke.id)&&(this.id=parseInt(Ke.id,10))};_.prototype.loadGeometry=function(){if(this._feature.type===1){for(var Ke=[],Je=0,qe=this._feature.geometry;Je>31}function $(Ke,Je){for(var qe=Ke.loadGeometry(),nt=Ke.type,ft=0,Re=0,Ne=qe.length,Qe=0;Qe>1;q(Ke,Je,Ne,nt,ft,Re%2),G(Ke,Je,qe,nt,Ne-1,Re+1),G(Ke,Je,qe,Ne+1,ft,Re+1)}}function q(Ke,Je,qe,nt,ft,Re){for(;ft>nt;){if(ft-nt>600){var Ne=ft-nt+1,Qe=qe-nt+1,ut=Math.log(Ne),dt=.5*Math.exp(2*ut/3),_t=.5*Math.sqrt(ut*dt*(Ne-dt)/Ne)*(Qe-Ne/2<0?-1:1);q(Ke,Je,qe,Math.max(nt,Math.floor(qe-Qe*dt/Ne+_t)),Math.min(ft,Math.floor(qe+(Ne-Qe)*dt/Ne+_t)),Re)}var It=Je[2*qe+Re],Lt=nt,yt=ft;for(H(Ke,Je,nt,qe),Je[2*ft+Re]>It&&H(Ke,Je,nt,ft);LtIt;)yt--}Je[2*nt+Re]===It?H(Ke,Je,nt,yt):H(Ke,Je,++yt,ft),yt<=qe&&(nt=yt+1),qe<=yt&&(ft=yt-1)}}function H(Ke,Je,qe,nt){ne(Ke,qe,nt),ne(Je,2*qe,2*nt),ne(Je,2*qe+1,2*nt+1)}function ne(Ke,Je,qe){var nt=Ke[Je];Ke[Je]=Ke[qe],Ke[qe]=nt}function te(Ke,Je,qe,nt){var ft=Ke-qe,Re=Je-nt;return ft*ft+Re*Re}b.fromVectorTileJs=R,b.fromGeojsonVt=I,b.GeoJSONWrapper=O;var Z=function(Ke){return Ke[0]},X=function(Ke){return Ke[1]},Q=function(Ke,Je,qe,nt,ft){Je===void 0&&(Je=Z),qe===void 0&&(qe=X),nt===void 0&&(nt=64),ft===void 0&&(ft=Float64Array),this.nodeSize=nt,this.points=Ke;for(var Re=Ke.length<65536?Uint16Array:Uint32Array,Ne=this.ids=new Re(Ke.length),Qe=this.coords=new ft(2*Ke.length),ut=0;ut=Ne&&It<=ut&&Lt>=Qe&&Lt<=dt&&Pt.push(ft[Yt]);else{var Wt=Math.floor((Nt+Rt)/2);It=Re[2*Wt],Lt=Re[2*Wt+1],It>=Ne&&It<=ut&&Lt>=Qe&&Lt<=dt&&Pt.push(ft[Wt]);var Xt=(wt+1)%2;(wt===0?Ne<=It:Qe<=Lt)&&(yt.push(Nt),yt.push(Wt-1),yt.push(Xt)),(wt===0?ut>=It:dt>=Lt)&&(yt.push(Wt+1),yt.push(Rt),yt.push(Xt))}}return Pt}(this.ids,this.coords,Ke,Je,qe,nt,this.nodeSize)},Q.prototype.within=function(Ke,Je,qe){return function(nt,ft,Re,Ne,Qe,ut){for(var dt=[0,nt.length-1,0],_t=[],It=Qe*Qe;dt.length;){var Lt=dt.pop(),yt=dt.pop(),Pt=dt.pop();if(yt-Pt<=ut)for(var wt=Pt;wt<=yt;wt++)te(ft[2*wt],ft[2*wt+1],Re,Ne)<=It&&_t.push(nt[wt]);else{var Rt=Math.floor((Pt+yt)/2),Nt=ft[2*Rt],Yt=ft[2*Rt+1];te(Nt,Yt,Re,Ne)<=It&&_t.push(nt[Rt]);var Wt=(Lt+1)%2;(Lt===0?Re-Qe<=Nt:Ne-Qe<=Yt)&&(dt.push(Pt),dt.push(Rt-1),dt.push(Wt)),(Lt===0?Re+Qe>=Nt:Ne+Qe>=Yt)&&(dt.push(Rt+1),dt.push(yt),dt.push(Wt))}}return _t}(this.ids,this.coords,Ke,Je,qe,this.nodeSize)};var re={minZoom:0,maxZoom:16,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:function(Ke){return Ke}},ie=function(Ke){this.options=pe(Object.create(re),Ke),this.trees=new Array(this.options.maxZoom+1)};function oe(Ke,Je,qe,nt,ft){return{x:Ke,y:Je,zoom:1/0,id:qe,parentId:-1,numPoints:nt,properties:ft}}function ue(Ke,Je){var qe=Ke.geometry.coordinates,nt=qe[0],ft=qe[1];return{x:de(nt),y:me(ft),zoom:1/0,index:Je,parentId:-1}}function ce(Ke){return{type:"Feature",id:Ke.id,properties:ye(Ke),geometry:{type:"Point",coordinates:[(nt=Ke.x,360*(nt-.5)),(Je=Ke.y,qe=(180-360*Je)*Math.PI/180,360*Math.atan(Math.exp(qe))/Math.PI-90)]}};var Je,qe,nt}function ye(Ke){var Je=Ke.numPoints,qe=Je>=1e4?Math.round(Je/1e3)+"k":Je>=1e3?Math.round(Je/100)/10+"k":Je;return pe(pe({},Ke.properties),{cluster:!0,cluster_id:Ke.id,point_count:Je,point_count_abbreviated:qe})}function de(Ke){return Ke/360+.5}function me(Ke){var Je=Math.sin(Ke*Math.PI/180),qe=.5-.25*Math.log((1+Je)/(1-Je))/Math.PI;return qe<0?0:qe>1?1:qe}function pe(Ke,Je){for(var qe in Je)Ke[qe]=Je[qe];return Ke}function xe(Ke){return Ke.x}function Pe(Ke){return Ke.y}function _e(Ke,Je,qe,nt){for(var ft,Re=nt,Ne=qe-Je>>1,Qe=qe-Je,ut=Ke[Je],dt=Ke[Je+1],_t=Ke[qe],It=Ke[qe+1],Lt=Je+3;LtRe)ft=Lt,Re=yt;else if(yt===Re){var Pt=Math.abs(Lt-Ne);Ptnt&&(ft-Je>3&&_e(Ke,Je,ft,nt),Ke[ft+2]=Re,qe-ft>3&&_e(Ke,ft,qe,nt))}function Me(Ke,Je,qe,nt,ft,Re){var Ne=ft-qe,Qe=Re-nt;if(Ne!==0||Qe!==0){var ut=((Ke-qe)*Ne+(Je-nt)*Qe)/(Ne*Ne+Qe*Qe);ut>1?(qe=ft,nt=Re):ut>0&&(qe+=Ne*ut,nt+=Qe*ut)}return(Ne=Ke-qe)*Ne+(Qe=Je-nt)*Qe}function Se(Ke,Je,qe,nt){var ft={id:Ke===void 0?null:Ke,type:Je,geometry:qe,tags:nt,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};return function(Re){var Ne=Re.geometry,Qe=Re.type;if(Qe==="Point"||Qe==="MultiPoint"||Qe==="LineString")Ce(Re,Ne);else if(Qe==="Polygon"||Qe==="MultiLineString")for(var ut=0;ut0&&(Ne+=nt?(ft*dt-ut*Re)/2:Math.sqrt(Math.pow(ut-ft,2)+Math.pow(dt-Re,2))),ft=ut,Re=dt}var _t=Je.length-3;Je[2]=1,_e(Je,0,_t,qe),Je[_t+2]=1,Je.size=Math.abs(Ne),Je.start=0,Je.end=Je.size}function ke(Ke,Je,qe,nt){for(var ft=0;ft1?1:qe}function ze(Ke,Je,qe,nt,ft,Re,Ne,Qe){if(nt/=Je,Re>=(qe/=Je)&&Ne=nt)return null;for(var ut=[],dt=0;dt=qe&&Pt=nt)){var wt=[];if(Lt==="Point"||Lt==="MultiPoint")je(It,wt,qe,nt,ft);else if(Lt==="LineString")ge(It,wt,qe,nt,ft,!1,Qe.lineMetrics);else if(Lt==="MultiLineString")Ee(It,wt,qe,nt,ft,!1);else if(Lt==="Polygon")Ee(It,wt,qe,nt,ft,!0);else if(Lt==="MultiPolygon")for(var Rt=0;Rt=qe&&Ne<=nt&&(Je.push(Ke[Re]),Je.push(Ke[Re+1]),Je.push(Ke[Re+2]))}}function ge(Ke,Je,qe,nt,ft,Re,Ne){for(var Qe,ut,dt=we(Ke),_t=ft===0?$e:Ye,It=Ke.start,Lt=0;Ltqe&&(ut=_t(dt,yt,Pt,Rt,Nt,qe),Ne&&(dt.start=It+Qe*ut)):Yt>nt?Wt=qe&&(ut=_t(dt,yt,Pt,Rt,Nt,qe),Xt=!0),Wt>nt&&Yt<=nt&&(ut=_t(dt,yt,Pt,Rt,Nt,nt),Xt=!0),!Re&&Xt&&(Ne&&(dt.end=It+Qe*ut),Je.push(dt),dt=we(Ke)),Ne&&(It+=Qe)}var Qt=Ke.length-3;yt=Ke[Qt],Pt=Ke[Qt+1],wt=Ke[Qt+2],(Yt=ft===0?yt:Pt)>=qe&&Yt<=nt&&Ve(dt,yt,Pt,wt),Qt=dt.length-3,Re&&Qt>=3&&(dt[Qt]!==dt[0]||dt[Qt+1]!==dt[1])&&Ve(dt,dt[0],dt[1],dt[2]),dt.length&&Je.push(dt)}function we(Ke){var Je=[];return Je.size=Ke.size,Je.start=Ke.start,Je.end=Ke.end,Je}function Ee(Ke,Je,qe,nt,ft,Re){for(var Ne=0;NeNe.maxX&&(Ne.maxX=_t),It>Ne.maxY&&(Ne.maxY=It)}return Ne}function kt(Ke,Je,qe,nt){var ft=Je.geometry,Re=Je.type,Ne=[];if(Re==="Point"||Re==="MultiPoint")for(var Qe=0;Qe0&&Je.size<(ft?Ne:nt))qe.numPoints+=Je.length/3;else{for(var Qe=[],ut=0;utNe)&&(qe.numSimplified++,Qe.push(Je[ut]),Qe.push(Je[ut+1])),qe.numPoints++;ft&&function(dt,_t){for(var It=0,Lt=0,yt=dt.length,Pt=yt-2;Lt0===_t)for(Lt=0,yt=dt.length;Lt24)throw new Error("maxZoom should be in the 0-24 range");if(Je.promoteId&&Je.generateId)throw new Error("promoteId and generateId cannot be used together.");var nt=function(ft,Re){var Ne=[];if(ft.type==="FeatureCollection")for(var Qe=0;Qe=nt;dt--){var _t=+Date.now();Qe=this._cluster(Qe,dt),this.trees[dt]=new Q(Qe,xe,Pe,Re,Float32Array),qe&&console.log("z%d: %d clusters in %dms",dt,Qe.length,+Date.now()-_t)}return qe&&console.timeEnd("total time"),this},ie.prototype.getClusters=function(Ke,Je){var qe=((Ke[0]+180)%360+360)%360-180,nt=Math.max(-90,Math.min(90,Ke[1])),ft=Ke[2]===180?180:((Ke[2]+180)%360+360)%360-180,Re=Math.max(-90,Math.min(90,Ke[3]));if(Ke[2]-Ke[0]>=360)qe=-180,ft=180;else if(qe>ft){var Ne=this.getClusters([qe,nt,180,Re],Je),Qe=this.getClusters([-180,nt,ft,Re],Je);return Ne.concat(Qe)}for(var ut=this.trees[this._limitZoom(Je)],dt=[],_t=0,It=ut.range(de(qe),me(Re),de(ft),me(nt));_t1?this._map(dt,!0):null,Rt=(ut<<5)+(Je+1)+this.points.length,Nt=0,Yt=It;Nt>5},ie.prototype._getOriginZoom=function(Ke){return(Ke-this.points.length)%32},ie.prototype._map=function(Ke,Je){if(Ke.numPoints)return Je?pe({},Ke.properties):Ke.properties;var qe=this.points[Ke.index].properties,nt=this.options.map(qe);return Je&&nt===qe?pe({},nt):nt},Ft.prototype.options={maxZoom:14,indexMaxZoom:5,indexMaxPoints:1e5,tolerance:3,extent:4096,buffer:64,lineMetrics:!1,promoteId:null,generateId:!1,debug:0},Ft.prototype.splitTile=function(Ke,Je,qe,nt,ft,Re,Ne){for(var Qe=[Ke,Je,qe,nt],ut=this.options,dt=ut.debug;Qe.length;){nt=Qe.pop(),qe=Qe.pop(),Je=Qe.pop(),Ke=Qe.pop();var _t=1<1&&console.time("creation"),Lt=this.tiles[It]=Et(Ke,Je,qe,nt,ut),this.tileCoords.push({z:Je,x:qe,y:nt}),dt)){dt>1&&(console.log("tile z%d-%d-%d (features: %d, points: %d, simplified: %d)",Je,qe,nt,Lt.numFeatures,Lt.numPoints,Lt.numSimplified),console.timeEnd("creation"));var yt="z"+Je;this.stats[yt]=(this.stats[yt]||0)+1,this.total++}if(Lt.source=Ke,ft){if(Je===ut.maxZoom||Je===ft)continue;var Pt=1<1&&console.time("clipping");var wt,Rt,Nt,Yt,Wt,Xt,Qt=.5*ut.buffer/ut.extent,rn=.5-Qt,xn=.5+Qt,un=1+Qt;wt=Rt=Nt=Yt=null,Wt=ze(Ke,_t,qe-Qt,qe+xn,0,Lt.minX,Lt.maxX,ut),Xt=ze(Ke,_t,qe+rn,qe+un,0,Lt.minX,Lt.maxX,ut),Ke=null,Wt&&(wt=ze(Wt,_t,nt-Qt,nt+xn,1,Lt.minY,Lt.maxY,ut),Rt=ze(Wt,_t,nt+rn,nt+un,1,Lt.minY,Lt.maxY,ut),Wt=null),Xt&&(Nt=ze(Xt,_t,nt-Qt,nt+xn,1,Lt.minY,Lt.maxY,ut),Yt=ze(Xt,_t,nt+rn,nt+un,1,Lt.minY,Lt.maxY,ut),Xt=null),dt>1&&console.timeEnd("clipping"),Qe.push(wt||[],Je+1,2*qe,2*nt),Qe.push(Rt||[],Je+1,2*qe,2*nt+1),Qe.push(Nt||[],Je+1,2*qe+1,2*nt),Qe.push(Yt||[],Je+1,2*qe+1,2*nt+1)}}},Ft.prototype.getTile=function(Ke,Je,qe){var nt=this.options,ft=nt.extent,Re=nt.debug;if(Ke<0||Ke>24)return null;var Ne=1<1&&console.log("drilling down to z%d-%d-%d",Ke,Je,qe);for(var ut,dt=Ke,_t=Je,It=qe;!ut&&dt>0;)dt--,_t=Math.floor(_t/2),It=Math.floor(It/2),ut=this.tiles[Ot(dt,_t,It)];return ut&&ut.source?(Re>1&&console.log("found parent tile z%d-%d-%d",dt,_t,It),Re>1&&console.time("drilling down"),this.splitTile(ut.source,dt,_t,It,Ke,Je,qe),Re>1&&console.timeEnd("drilling down"),this.tiles[Qe]?ht(this.tiles[Qe],ft):null):null};var qt=function(Ke){function Je(qe,nt,ft,Re){Ke.call(this,qe,nt,ft,Bt),Re&&(this.loadGeoJSON=Re)}return Ke&&(Je.__proto__=Ke),Je.prototype=Object.create(Ke&&Ke.prototype),Je.prototype.constructor=Je,Je.prototype.loadData=function(qe,nt){this._pendingCallback&&this._pendingCallback(null,{abandoned:!0}),this._pendingCallback=nt,this._pendingLoadDataParams=qe,this._state&&this._state!=="Idle"?this._state="NeedsLoadData":(this._state="Coalescing",this._loadData())},Je.prototype._loadData=function(){var qe=this;if(this._pendingCallback&&this._pendingLoadDataParams){var nt=this._pendingCallback,ft=this._pendingLoadDataParams;delete this._pendingCallback,delete this._pendingLoadDataParams;var Re=!!(ft&&ft.request&&ft.request.collectResourceTiming)&&new i.RequestPerformance(ft.request);this.loadGeoJSON(ft,function(Ne,Qe){if(Ne||!Qe)return nt(Ne);if(typeof Qe!="object")return nt(new Error("Input data given to '"+ft.source+"' is not a valid GeoJSON object."));m(Qe,!0);try{qe._geoJSONIndex=ft.cluster?new ie(function(_t){var It=_t.superclusterOptions,Lt=_t.clusterProperties;if(!Lt||!It)return It;for(var yt={},Pt={},wt={accumulated:null,zoom:0},Rt={properties:null},Nt=Object.keys(Lt),Yt=0,Wt=Nt;Yt=0?0:Y.button},v.remove=function(Y){Y.parentNode&&Y.parentNode.removeChild(Y)};var w=function(Y){function ee(){Y.call(this),this.images={},this.updatedImages={},this.callbackDispatchedThisFrame={},this.loaded=!1,this.requestors=[],this.patterns={},this.atlasImage=new i.RGBAImage({width:1,height:1}),this.dirty=!0}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee.prototype.isLoaded=function(){return this.loaded},ee.prototype.setLoaded=function(K){if(this.loaded!==K&&(this.loaded=K,K)){for(var le=0,Te=this.requestors;le=0?1.2:1))}function E(Y,ee,K,le,Te,De,He){for(var Ze=0;Ze65535)Tt(new Error("glyphs > 65535 not supported"));else if(ve.ranges[Fe])Tt(null,{stack:At,id:se,glyph:Ie});else{var Ue=ve.requests[Fe];Ue||(Ue=ve.requests[Fe]=[],A.loadGlyphRange(At,Fe,K.url,K.requestManager,function(We,Xe){if(Xe){for(var tt in Xe)K._doesCharSupportLocalGlyph(+tt)||(ve.glyphs[+tt]=Xe[+tt]);ve.ranges[Fe]=!0}for(var lt=0,mt=Ue;lt1&&(at=Y[++Ze]);var At=Math.abs(Tt-at.left),se=Math.abs(Tt-at.right),ve=Math.min(At,se),Ie=void 0,Fe=Te/K*(le+1);if(at.isDash){var Ue=le-Math.abs(Fe);Ie=Math.sqrt(ve*ve+Ue*Ue)}else Ie=le-Math.sqrt(ve*ve+Fe*Fe);this.data[He+Tt]=Math.max(0,Math.min(255,Ie+128))}},O.prototype.addRegularDash=function(Y){for(var ee=Y.length-1;ee>=0;--ee){var K=Y[ee],le=Y[ee+1];K.zeroLength?Y.splice(ee,1):le&&le.isDash===K.isDash&&(le.left=K.left,Y.splice(ee,1))}var Te=Y[0],De=Y[Y.length-1];Te.isDash===De.isDash&&(Te.left=De.left-this.width,De.right=Te.right+this.width);for(var He=this.width*this.nextRow,Ze=0,at=Y[Ze],Tt=0;Tt1&&(at=Y[++Ze]);var At=Math.abs(Tt-at.left),se=Math.abs(Tt-at.right),ve=Math.min(At,se),Ie=at.isDash?ve:-ve;this.data[He+Tt]=Math.max(0,Math.min(255,Ie+128))}},O.prototype.addDash=function(Y,ee){var K=ee?7:0,le=2*K+1;if(this.nextRow+le>this.height)return i.warnOnce("LineAtlas out of space"),null;for(var Te=0,De=0;De=K&&Y.x=le&&Y.y0&&(Tt[new i.OverscaledTileID(K.overscaledZ,He,le.z,De,le.y-1).key]={backfilled:!1},Tt[new i.OverscaledTileID(K.overscaledZ,K.wrap,le.z,le.x,le.y-1).key]={backfilled:!1},Tt[new i.OverscaledTileID(K.overscaledZ,at,le.z,Ze,le.y-1).key]={backfilled:!1}),le.y+10&&(Te.resourceTiming=K._resourceTiming,K._resourceTiming=[]),K.fire(new i.Event("data",Te))}})},ee.prototype.onAdd=function(K){this.map=K,this.load()},ee.prototype.setData=function(K){var le=this;return this._data=K,this.fire(new i.Event("dataloading",{dataType:"source"})),this._updateWorkerData(function(Te){if(Te)le.fire(new i.ErrorEvent(Te));else{var De={dataType:"source",sourceDataType:"content"};le._collectResourceTiming&&le._resourceTiming&&le._resourceTiming.length>0&&(De.resourceTiming=le._resourceTiming,le._resourceTiming=[]),le.fire(new i.Event("data",De))}}),this},ee.prototype.getClusterExpansionZoom=function(K,le){return this.actor.send("geojson.getClusterExpansionZoom",{clusterId:K,source:this.id},le),this},ee.prototype.getClusterChildren=function(K,le){return this.actor.send("geojson.getClusterChildren",{clusterId:K,source:this.id},le),this},ee.prototype.getClusterLeaves=function(K,le,Te,De){return this.actor.send("geojson.getClusterLeaves",{source:this.id,clusterId:K,limit:le,offset:Te},De),this},ee.prototype._updateWorkerData=function(K){var le=this;this._loaded=!1;var Te=i.extend({},this.workerOptions),De=this._data;typeof De=="string"?(Te.request=this.map._requestManager.transformRequest(i.browser.resolveURL(De),i.ResourceType.Source),Te.request.collectResourceTiming=this._collectResourceTiming):Te.data=JSON.stringify(De),this.actor.send(this.type+".loadData",Te,function(He,Ze){le._removed||Ze&&Ze.abandoned||(le._loaded=!0,Ze&&Ze.resourceTiming&&Ze.resourceTiming[le.id]&&(le._resourceTiming=Ze.resourceTiming[le.id].slice(0)),le.actor.send(le.type+".coalesce",{source:Te.source},null),K(He))})},ee.prototype.loaded=function(){return this._loaded},ee.prototype.loadTile=function(K,le){var Te=this,De=K.actor?"reloadTile":"loadTile";K.actor=this.actor;var He={type:this.type,uid:K.uid,tileID:K.tileID,zoom:K.tileID.overscaledZ,maxZoom:this.maxzoom,tileSize:this.tileSize,source:this.id,pixelRatio:i.browser.devicePixelRatio,showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId};K.request=this.actor.send(De,He,function(Ze,at){return delete K.request,K.unloadVectorData(),K.aborted?le(null):Ze?le(Ze):(K.loadVectorData(at,Te.map.painter,De==="reloadTile"),le(null))})},ee.prototype.abortTile=function(K){K.request&&(K.request.cancel(),delete K.request),K.aborted=!0},ee.prototype.unloadTile=function(K){K.unloadVectorData(),this.actor.send("removeTile",{uid:K.uid,type:this.type,source:this.id})},ee.prototype.onRemove=function(){this._removed=!0,this.actor.send("removeSource",{type:this.type,source:this.id})},ee.prototype.serialize=function(){return i.extend({},this._options,{type:this.type,data:this._data})},ee.prototype.hasTransition=function(){return!1},ee}(i.Evented),U=i.createLayout([{name:"a_pos",type:"Int16",components:2},{name:"a_texture_pos",type:"Int16",components:2}]),G=function(Y){function ee(K,le,Te,De){Y.call(this),this.id=K,this.dispatcher=Te,this.coordinates=le.coordinates,this.type="image",this.minzoom=0,this.maxzoom=22,this.tileSize=512,this.tiles={},this._loaded=!1,this.setEventedParent(De),this.options=le}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee.prototype.load=function(K,le){var Te=this;this._loaded=!1,this.fire(new i.Event("dataloading",{dataType:"source"})),this.url=this.options.url,i.getImage(this.map._requestManager.transformRequest(this.url,i.ResourceType.Image),function(De,He){Te._loaded=!0,De?Te.fire(new i.ErrorEvent(De)):He&&(Te.image=He,K&&(Te.coordinates=K),le&&le(),Te._finishLoading())})},ee.prototype.loaded=function(){return this._loaded},ee.prototype.updateImage=function(K){var le=this;return this.image&&K.url?(this.options.url=K.url,this.load(K.coordinates,function(){le.texture=null}),this):this},ee.prototype._finishLoading=function(){this.map&&(this.setCoordinates(this.coordinates),this.fire(new i.Event("data",{dataType:"source",sourceDataType:"metadata"})))},ee.prototype.onAdd=function(K){this.map=K,this.load()},ee.prototype.setCoordinates=function(K){var le=this;this.coordinates=K;var Te=K.map(i.MercatorCoordinate.fromLngLat);this.tileID=function(He){for(var Ze=1/0,at=1/0,Tt=-1/0,At=-1/0,se=0,ve=He;sele.end(0)?this.fire(new i.ErrorEvent(new i.ValidationError("sources."+this.id,null,"Playback for this video can be set only between the "+le.start(0)+" and "+le.end(0)+"-second mark."))):this.video.currentTime=K}},ee.prototype.getVideo=function(){return this.video},ee.prototype.onAdd=function(K){this.map||(this.map=K,this.load(),this.video&&(this.video.play(),this.setCoordinates(this.coordinates)))},ee.prototype.prepare=function(){if(!(Object.keys(this.tiles).length===0||this.video.readyState<2)){var K=this.map.painter.context,le=K.gl;for(var Te in this.boundsBuffer||(this.boundsBuffer=K.createVertexBuffer(this._boundsArray,U.members)),this.boundsSegments||(this.boundsSegments=i.SegmentVector.simpleSegment(0,0,4,2)),this.texture?this.video.paused||(this.texture.bind(le.LINEAR,le.CLAMP_TO_EDGE),le.texSubImage2D(le.TEXTURE_2D,0,0,0,le.RGBA,le.UNSIGNED_BYTE,this.video)):(this.texture=new i.Texture(K,this.video,le.RGBA),this.texture.bind(le.LINEAR,le.CLAMP_TO_EDGE)),this.tiles){var De=this.tiles[Te];De.state!=="loaded"&&(De.state="loaded",De.texture=this.texture)}}},ee.prototype.serialize=function(){return{type:"video",urls:this.urls,coordinates:this.coordinates}},ee.prototype.hasTransition=function(){return this.video&&!this.video.paused},ee}(G),H=function(Y){function ee(K,le,Te,De){Y.call(this,K,le,Te,De),le.coordinates?Array.isArray(le.coordinates)&&le.coordinates.length===4&&!le.coordinates.some(function(He){return!Array.isArray(He)||He.length!==2||He.some(function(Ze){return typeof Ze!="number"})})||this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'"coordinates" property must be an array of 4 longitude/latitude array pairs'))):this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'missing required property "coordinates"'))),le.animate&&typeof le.animate!="boolean"&&this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'optional "animate" property must be a boolean value'))),le.canvas?typeof le.canvas=="string"||le.canvas instanceof i.window.HTMLCanvasElement||this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'"canvas" must be either a string representing the ID of the canvas element from which to read, or an HTMLCanvasElement instance'))):this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'missing required property "canvas"'))),this.options=le,this.animate=le.animate===void 0||le.animate}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee.prototype.load=function(){this._loaded=!0,this.canvas||(this.canvas=this.options.canvas instanceof i.window.HTMLCanvasElement?this.options.canvas:i.window.document.getElementById(this.options.canvas)),this.width=this.canvas.width,this.height=this.canvas.height,this._hasInvalidDimensions()?this.fire(new i.ErrorEvent(new Error("Canvas dimensions cannot be less than or equal to zero."))):(this.play=function(){this._playing=!0,this.map.triggerRepaint()},this.pause=function(){this._playing&&(this.prepare(),this._playing=!1)},this._finishLoading())},ee.prototype.getCanvas=function(){return this.canvas},ee.prototype.onAdd=function(K){this.map=K,this.load(),this.canvas&&this.animate&&this.play()},ee.prototype.onRemove=function(){this.pause()},ee.prototype.prepare=function(){var K=!1;if(this.canvas.width!==this.width&&(this.width=this.canvas.width,K=!0),this.canvas.height!==this.height&&(this.height=this.canvas.height,K=!0),!this._hasInvalidDimensions()&&Object.keys(this.tiles).length!==0){var le=this.map.painter.context,Te=le.gl;for(var De in this.boundsBuffer||(this.boundsBuffer=le.createVertexBuffer(this._boundsArray,U.members)),this.boundsSegments||(this.boundsSegments=i.SegmentVector.simpleSegment(0,0,4,2)),this.texture?(K||this._playing)&&this.texture.update(this.canvas,{premultiply:!0}):this.texture=new i.Texture(le,this.canvas,Te.RGBA,{premultiply:!0}),this.tiles){var He=this.tiles[De];He.state!=="loaded"&&(He.state="loaded",He.texture=this.texture)}}},ee.prototype.serialize=function(){return{type:"canvas",coordinates:this.coordinates}},ee.prototype.hasTransition=function(){return this._playing},ee.prototype._hasInvalidDimensions=function(){for(var K=0,le=[this.canvas.width,this.canvas.height];Kthis.max){var He=this._getAndRemoveByKey(this.order[0]);He&&this.onRemove(He)}return this},Q.prototype.has=function(Y){return Y.wrapped().key in this.data},Q.prototype.getAndRemove=function(Y){return this.has(Y)?this._getAndRemoveByKey(Y.wrapped().key):null},Q.prototype._getAndRemoveByKey=function(Y){var ee=this.data[Y].shift();return ee.timeout&&clearTimeout(ee.timeout),this.data[Y].length===0&&delete this.data[Y],this.order.splice(this.order.indexOf(Y),1),ee.value},Q.prototype.getByKey=function(Y){var ee=this.data[Y];return ee?ee[0].value:null},Q.prototype.get=function(Y){return this.has(Y)?this.data[Y.wrapped().key][0].value:null},Q.prototype.remove=function(Y,ee){if(!this.has(Y))return this;var K=Y.wrapped().key,le=ee===void 0?0:this.data[K].indexOf(ee),Te=this.data[K][le];return this.data[K].splice(le,1),Te.timeout&&clearTimeout(Te.timeout),this.data[K].length===0&&delete this.data[K],this.onRemove(Te.value),this.order.splice(this.order.indexOf(K),1),this},Q.prototype.setMaxSize=function(Y){for(this.max=Y;this.order.length>this.max;){var ee=this._getAndRemoveByKey(this.order[0]);ee&&this.onRemove(ee)}return this},Q.prototype.filter=function(Y){var ee=[];for(var K in this.data)for(var le=0,Te=this.data[K];le1||(Math.abs(At)>1&&(Math.abs(At+ve)===1?At+=ve:Math.abs(At-ve)===1&&(At-=ve)),Tt.dem&&at.dem&&(at.dem.backfillBorder(Tt.dem,At,se),at.neighboringTiles&&at.neighboringTiles[Ie]&&(at.neighboringTiles[Ie].backfilled=!0)))}},ee.prototype.getTile=function(K){return this.getTileByID(K.key)},ee.prototype.getTileByID=function(K){return this._tiles[K]},ee.prototype._retainLoadedChildren=function(K,le,Te,De){for(var He in this._tiles){var Ze=this._tiles[He];if(!(De[He]||!Ze.hasData()||Ze.tileID.overscaledZ<=le||Ze.tileID.overscaledZ>Te)){for(var at=Ze.tileID;Ze&&Ze.tileID.overscaledZ>le+1;){var Tt=Ze.tileID.scaledTo(Ze.tileID.overscaledZ-1);(Ze=this._tiles[Tt.key])&&Ze.hasData()&&(at=Tt)}for(var At=at;At.overscaledZ>le;)if(K[(At=At.scaledTo(At.overscaledZ-1)).key]){De[at.key]=at;break}}}},ee.prototype.findLoadedParent=function(K,le){if(K.key in this._loadedParentTiles){var Te=this._loadedParentTiles[K.key];return Te&&Te.tileID.overscaledZ>=le?Te:null}for(var De=K.overscaledZ-1;De>=le;De--){var He=K.scaledTo(De),Ze=this._getLoadedTile(He);if(Ze)return Ze}},ee.prototype._getLoadedTile=function(K){var le=this._tiles[K.key];return le&&le.hasData()?le:this._cache.getByKey(K.wrapped().key)},ee.prototype.updateCacheSize=function(K){var le=(Math.ceil(K.width/this._source.tileSize)+1)*(Math.ceil(K.height/this._source.tileSize)+1),Te=Math.floor(5*le),De=typeof this._maxTileCacheSize=="number"?Math.min(this._maxTileCacheSize,Te):Te;this._cache.setMaxSize(De)},ee.prototype.handleWrapJump=function(K){var le=(K-(this._prevLng===void 0?K:this._prevLng))/360,Te=Math.round(le);if(this._prevLng=K,Te){var De={};for(var He in this._tiles){var Ze=this._tiles[He];Ze.tileID=Ze.tileID.unwrapTo(Ze.tileID.wrap+Te),De[Ze.tileID.key]=Ze}for(var at in this._tiles=De,this._timers)clearTimeout(this._timers[at]),delete this._timers[at];for(var Tt in this._tiles){var At=this._tiles[Tt];this._setTileReloadTimer(Tt,At)}}},ee.prototype.update=function(K){var le=this;if(this.transform=K,this._sourceLoaded&&!this._paused){var Te;this.updateCacheSize(K),this.handleWrapJump(this.transform.center.lng),this._coveredTiles={},this.used?this._source.tileID?Te=K.getVisibleUnwrappedCoordinates(this._source.tileID).map(function(Ht){return new i.OverscaledTileID(Ht.canonical.z,Ht.wrap,Ht.canonical.z,Ht.canonical.x,Ht.canonical.y)}):(Te=K.coveringTiles({tileSize:this._source.tileSize,minzoom:this._source.minzoom,maxzoom:this._source.maxzoom,roundZoom:this._source.roundZoom,reparseOverscaled:this._source.reparseOverscaled}),this._source.hasTile&&(Te=Te.filter(function(Ht){return le._source.hasTile(Ht)}))):Te=[];var De=K.coveringZoomLevel(this._source),He=Math.max(De-ee.maxOverzooming,this._source.minzoom),Ze=Math.max(De+ee.maxUnderzooming,this._source.minzoom),at=this._updateRetainedTiles(Te,De);if(Ne(this._source.type)){for(var Tt={},At={},se=0,ve=Object.keys(at);sethis._source.maxzoom){var Xe=Ue.children(this._source.maxzoom)[0],tt=this.getTile(Xe);if(tt&&tt.hasData()){Te[Xe.key]=Xe;continue}}else{var lt=Ue.children(this._source.maxzoom);if(Te[lt[0].key]&&Te[lt[1].key]&&Te[lt[2].key]&&Te[lt[3].key])continue}for(var mt=We.wasRequested(),zt=Ue.overscaledZ-1;zt>=He;--zt){var Ut=Ue.scaledTo(zt);if(De[Ut.key]||(De[Ut.key]=!0,!(We=this.getTile(Ut))&&mt&&(We=this._addTile(Ut)),We&&(Te[Ut.key]=Ut,mt=We.wasRequested(),We.hasData())))break}}}return Te},ee.prototype._updateLoadedParentTileCache=function(){for(var K in this._loadedParentTiles={},this._tiles){for(var le=[],Te=void 0,De=this._tiles[K].tileID;De.overscaledZ>0;){if(De.key in this._loadedParentTiles){Te=this._loadedParentTiles[De.key];break}le.push(De.key);var He=De.scaledTo(De.overscaledZ-1);if(Te=this._getLoadedTile(He))break;De=He}for(var Ze=0,at=le;Ze0||(le.hasData()&&le.state!=="reloading"?this._cache.add(le.tileID,le,le.getExpiryTimeout()):(le.aborted=!0,this._abortTile(le),this._unloadTile(le))))},ee.prototype.clearTiles=function(){for(var K in this._shouldReloadOnResume=!1,this._paused=!1,this._tiles)this._removeTile(K);this._cache.reset()},ee.prototype.tilesIn=function(K,le,Te){var De=this,He=[],Ze=this.transform;if(!Ze)return He;for(var at=Te?Ze.getCameraQueryGeometry(K):K,Tt=K.map(function(zt){return Ze.pointCoordinate(zt)}),At=at.map(function(zt){return Ze.pointCoordinate(zt)}),se=this.getIds(),ve=1/0,Ie=1/0,Fe=-1/0,Ue=-1/0,We=0,Xe=At;We=0&&tn[1].y+vn>=0){var ln=Tt.map(function(Cn){return Ht.getTilePoint(Cn)}),an=At.map(function(Cn){return Ht.getTilePoint(Cn)});He.push({tile:Ut,tileID:Ht,queryGeometry:ln,cameraQueryGeometry:an,scale:en})}}},mt=0;mt=i.browser.now())return!0}return!1},ee.prototype.setFeatureState=function(K,le,Te){K=K||"_geojsonTileLayer",this._state.updateState(K,le,Te)},ee.prototype.removeFeatureState=function(K,le,Te){K=K||"_geojsonTileLayer",this._state.removeFeatureState(K,le,Te)},ee.prototype.getFeatureState=function(K,le){return K=K||"_geojsonTileLayer",this._state.getState(K,le)},ee.prototype.setDependencies=function(K,le,Te){var De=this._tiles[K];De&&De.setDependencies(le,Te)},ee.prototype.reloadTilesForDependencies=function(K,le){for(var Te in this._tiles)this._tiles[Te].hasDependency(K,le)&&this._reloadTile(Te,"reloading");this._cache.filter(function(De){return!De.hasDependency(K,le)})},ee}(i.Evented);function Re(Y,ee){var K=Math.abs(2*Y.wrap)-+(Y.wrap<0),le=Math.abs(2*ee.wrap)-+(ee.wrap<0);return Y.overscaledZ-ee.overscaledZ||le-K||ee.canonical.y-Y.canonical.y||ee.canonical.x-Y.canonical.x}function Ne(Y){return Y==="raster"||Y==="image"||Y==="video"}function Qe(){return new i.window.Worker(Mt.workerUrl)}ft.maxOverzooming=10,ft.maxUnderzooming=3;var ut="mapboxgl_preloaded_worker_pool",dt=function(){this.active={}};dt.prototype.acquire=function(Y){if(!this.workers)for(this.workers=[];this.workers.length0?(le-De)/He:0;return this.points[Te].mult(1-Ze).add(this.points[ee].mult(Ze))};var An=function(Y,ee,K){var le=this.boxCells=[],Te=this.circleCells=[];this.xCellCount=Math.ceil(Y/K),this.yCellCount=Math.ceil(ee/K);for(var De=0;De=-ee[0]&&K<=ee[0]&&le>=-ee[1]&&le<=ee[1]}function pn(Y,ee,K,le,Te,De,He,Ze){var at=le?Y.textSizeData:Y.iconSizeData,Tt=i.evaluateSizeForZoom(at,K.transform.zoom),At=[256/K.width*2+1,256/K.height*2+1],se=le?Y.text.dynamicLayoutVertexArray:Y.icon.dynamicLayoutVertexArray;se.clear();for(var ve=Y.lineVertexArray,Ie=le?Y.text.placedSymbolArray:Y.icon.placedSymbolArray,Fe=K.transform.width/K.transform.height,Ue=!1,We=0;WeMath.abs(K.x-ee.x)*le?{useVertical:!0}:(Y===i.WritingMode.vertical?ee.yK.x)?{needsFlipping:!0}:null}function jn(Y,ee,K,le,Te,De,He,Ze,at,Tt,At,se,ve,Ie){var Fe,Ue=ee/24,We=Y.lineOffsetX*Ue,Xe=Y.lineOffsetY*Ue;if(Y.numGlyphs>1){var tt=Y.glyphStartIndex+Y.numGlyphs,lt=Y.lineStartIndex,mt=Y.lineStartIndex+Y.lineLength,zt=Dn(Ue,Ze,We,Xe,K,At,se,Y,at,De,ve);if(!zt)return{notEnoughRoom:!0};var Ut=sn(zt.first.point,He).point,Ht=sn(zt.last.point,He).point;if(le&&!K){var en=In(Y.writingMode,Ut,Ht,Ie);if(en)return en}Fe=[zt.first];for(var vn=Y.glyphStartIndex+1;vn0?Cn.point:Gn(se,an,tn,1,Te),on=In(Y.writingMode,tn,_n,Ie);if(on)return on}var Fn=qn(Ue*Ze.getoffsetX(Y.glyphStartIndex),We,Xe,K,At,se,Y.segment,Y.lineStartIndex,Y.lineStartIndex+Y.lineLength,at,De,ve);if(!Fn)return{notEnoughRoom:!0};Fe=[Fn]}for(var Hn=0,ir=Fe;Hn0?1:-1,Fe=0;le&&(Ie*=-1,Fe=Math.PI),Ie<0&&(Fe+=Math.PI);for(var Ue=Ie>0?Ze+He:Ze+He+1,We=Te,Xe=Te,tt=0,lt=0,mt=Math.abs(ve),zt=[];tt+lt<=mt;){if((Ue+=Ie)=at)return null;if(Xe=We,zt.push(We),(We=se[Ue])===void 0){var Ut=new i.Point(Tt.getx(Ue),Tt.gety(Ue)),Ht=sn(Ut,At);if(Ht.signedDistanceFromCamera>0)We=se[Ue]=Ht.point;else{var en=Ue-Ie;We=Gn(tt===0?De:new i.Point(Tt.getx(en),Tt.gety(en)),Ut,Xe,mt-tt+1,At)}}tt+=lt,lt=Xe.dist(We)}var vn=(mt-tt)/lt,tn=We.sub(Xe),ln=tn.mult(vn)._add(Xe);ln._add(tn._unit()._perp()._mult(K*Ie));var an=Fe+Math.atan2(We.y-Xe.y,We.x-Xe.x);return zt.push(ln),{point:ln,angle:an,path:zt}}An.prototype.keysLength=function(){return this.boxKeys.length+this.circleKeys.length},An.prototype.insert=function(Y,ee,K,le,Te){this._forEachCell(ee,K,le,Te,this._insertBoxCell,this.boxUid++),this.boxKeys.push(Y),this.bboxes.push(ee),this.bboxes.push(K),this.bboxes.push(le),this.bboxes.push(Te)},An.prototype.insertCircle=function(Y,ee,K,le){this._forEachCell(ee-le,K-le,ee+le,K+le,this._insertCircleCell,this.circleUid++),this.circleKeys.push(Y),this.circles.push(ee),this.circles.push(K),this.circles.push(le)},An.prototype._insertBoxCell=function(Y,ee,K,le,Te,De){this.boxCells[Te].push(De)},An.prototype._insertCircleCell=function(Y,ee,K,le,Te,De){this.circleCells[Te].push(De)},An.prototype._query=function(Y,ee,K,le,Te,De){if(K<0||Y>this.width||le<0||ee>this.height)return!Te&&[];var He=[];if(Y<=0&&ee<=0&&this.width<=K&&this.height<=le){if(Te)return!0;for(var Ze=0;Ze0:He},An.prototype._queryCircle=function(Y,ee,K,le,Te){var De=Y-K,He=Y+K,Ze=ee-K,at=ee+K;if(He<0||De>this.width||at<0||Ze>this.height)return!le&&[];var Tt=[],At={hitTest:le,circle:{x:Y,y:ee,radius:K},seenUids:{box:{},circle:{}}};return this._forEachCell(De,Ze,He,at,this._queryCellCircle,Tt,At,Te),le?Tt.length>0:Tt},An.prototype.query=function(Y,ee,K,le,Te){return this._query(Y,ee,K,le,!1,Te)},An.prototype.hitTest=function(Y,ee,K,le,Te){return this._query(Y,ee,K,le,!0,Te)},An.prototype.hitTestCircle=function(Y,ee,K,le){return this._queryCircle(Y,ee,K,!0,le)},An.prototype._queryCell=function(Y,ee,K,le,Te,De,He,Ze){var at=He.seenUids,Tt=this.boxCells[Te];if(Tt!==null)for(var At=this.bboxes,se=0,ve=Tt;se=At[Fe+0]&&le>=At[Fe+1]&&(!Ze||Ze(this.boxKeys[Ie]))){if(He.hitTest)return De.push(!0),!0;De.push({key:this.boxKeys[Ie],x1:At[Fe],y1:At[Fe+1],x2:At[Fe+2],y2:At[Fe+3]})}}}var Ue=this.circleCells[Te];if(Ue!==null)for(var We=this.circles,Xe=0,tt=Ue;XeHe*He+Ze*Ze},An.prototype._circleAndRectCollide=function(Y,ee,K,le,Te,De,He){var Ze=(De-le)/2,at=Math.abs(Y-(le+Ze));if(at>Ze+K)return!1;var Tt=(He-Te)/2,At=Math.abs(ee-(Te+Tt));if(At>Tt+K)return!1;if(at<=Ze||At<=Tt)return!0;var se=at-Ze,ve=At-Tt;return se*se+ve*ve<=K*K};var lr=new Float32Array([-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0]);function rr(Y,ee){for(var K=0;K=1;_n--)Cn.push(ln.path[_n]);for(var on=1;on0){for(var ar=Cn[0].clone(),Mr=Cn[0].clone(),Er=1;Er=en.x&&Mr.x<=vn.x&&ar.y>=en.y&&Mr.y<=vn.y?[Cn]:Mr.xvn.x||Mr.yvn.y?[]:i.clipLine([Cn],en.x,en.y,vn.x,vn.y)}for(var xr=0,kr=ir;xr=this.screenRightBoundary||lethis.screenBottomBoundary},or.prototype.isInsideGrid=function(Y,ee,K,le){return K>=0&&Y=0&&ee0?(this.prevPlacement&&this.prevPlacement.variableOffsets[se.crossTileID]&&this.prevPlacement.placements[se.crossTileID]&&this.prevPlacement.placements[se.crossTileID].text&&(Ue=this.prevPlacement.variableOffsets[se.crossTileID].anchor),this.variableOffsets[se.crossTileID]={textOffset:We,width:K,height:le,anchor:Y,textBoxScale:Te,prevAnchor:Ue},this.markUsedJustification(ve,Y,se,Ie),ve.allowVerticalPlacement&&(this.markUsedOrientation(ve,Ie,se),this.placedOrientations[se.crossTileID]=Ie),{shift:Xe,placedGlyphBoxes:tt}):void 0},tr.prototype.placeLayerBucketPart=function(Y,ee,K){var le=this,Te=Y.parameters,De=Te.bucket,He=Te.layout,Ze=Te.posMatrix,at=Te.textLabelPlaneMatrix,Tt=Te.labelToScreenMatrix,At=Te.textPixelRatio,se=Te.holdingForFade,ve=Te.collisionBoxArray,Ie=Te.partiallyEvaluatedTextSize,Fe=Te.collisionGroup,Ue=He.get("text-optional"),We=He.get("icon-optional"),Xe=He.get("text-allow-overlap"),tt=He.get("icon-allow-overlap"),lt=He.get("text-rotation-alignment")==="map",mt=He.get("text-pitch-alignment")==="map",zt=He.get("icon-text-fit")!=="none",Ut=He.get("symbol-z-order")==="viewport-y",Ht=Xe&&(tt||!De.hasIconData()||We),en=tt&&(Xe||!De.hasTextData()||Ue);!De.collisionArrays&&ve&&De.deserializeCollisionBoxes(ve);var vn=function(on,Fn){if(!ee[on.crossTileID])if(se)le.placements[on.crossTileID]=new bn(!1,!1,!1);else{var Hn,ir=!1,ar=!1,Mr=!0,Er=null,xr={box:null,offscreen:null},kr={box:null,offscreen:null},jr=null,fi=null,di=0,wr=0,Ur=0;Fn.textFeatureIndex?di=Fn.textFeatureIndex:on.useRuntimeCollisionCircles&&(di=on.featureIndex),Fn.verticalTextFeatureIndex&&(wr=Fn.verticalTextFeatureIndex);var oi=Fn.textBox;if(oi){var ai=function(Ri){var Xa=i.WritingMode.horizontal;if(De.allowVerticalPlacement&&!Ri&&le.prevPlacement){var jo=le.prevPlacement.placedOrientations[on.crossTileID];jo&&(le.placedOrientations[on.crossTileID]=jo,Xa=jo,le.markUsedOrientation(De,Xa,on))}return Xa},Ii=function(Ri,Xa){if(De.allowVerticalPlacement&&on.numVerticalGlyphVertices>0&&Fn.verticalTextBox)for(var jo=0,Kc=De.writingModes;jo0&&(vi=vi.filter(function(Ri){return Ri!==Ni.anchor})).unshift(Ni.anchor)}var ta=function(Ri,Xa,jo){for(var Kc=Ri.x2-Ri.x1,f1=Ri.y2-Ri.y1,L0=on.textBoxScale,d1=zt&&!tt?Xa:null,_f={box:[],offscreen:!1},fg=Xe?2*vi.length:vi.length,od=0;od=vi.length,zh=le.attemptAnchorPlacement(wf,Ri,Kc,f1,L0,lt,mt,At,Ze,Fe,p1,on,De,jo,d1);if(zh&&(_f=zh.placedGlyphBoxes)&&_f.box&&_f.box.length){ir=!0,Er=zh.shift;break}}return _f};Ii(function(){return ta(oi,Fn.iconBox,i.WritingMode.horizontal)},function(){var Ri=Fn.verticalTextBox,Xa=xr&&xr.box&&xr.box.length;return De.allowVerticalPlacement&&!Xa&&on.numVerticalGlyphVertices>0&&Ri?ta(Ri,Fn.verticalIconBox,i.WritingMode.vertical):{box:null,offscreen:null}}),xr&&(ir=xr.box,Mr=xr.offscreen);var pa=ai(xr&&xr.box);if(!ir&&le.prevPlacement){var ua=le.prevPlacement.variableOffsets[on.crossTileID];ua&&(le.variableOffsets[on.crossTileID]=ua,le.markUsedJustification(De,ua.anchor,on,pa))}}else{var Qi=function(Ri,Xa){var jo=le.collisionIndex.placeCollisionBox(Ri,Xe,At,Ze,Fe.predicate);return jo&&jo.box&&jo.box.length&&(le.markUsedOrientation(De,Xa,on),le.placedOrientations[on.crossTileID]=Xa),jo};Ii(function(){return Qi(oi,i.WritingMode.horizontal)},function(){var Ri=Fn.verticalTextBox;return De.allowVerticalPlacement&&on.numVerticalGlyphVertices>0&&Ri?Qi(Ri,i.WritingMode.vertical):{box:null,offscreen:null}}),ai(xr&&xr.box&&xr.box.length)}}if(ir=(Hn=xr)&&Hn.box&&Hn.box.length>0,Mr=Hn&&Hn.offscreen,on.useRuntimeCollisionCircles){var na=De.text.placedSymbolArray.get(on.centerJustifiedTextSymbolIndex),ca=i.evaluateSizeForFeature(De.textSizeData,Ie,na),Ia=He.get("text-padding"),zl=on.collisionCircleDiameter;jr=le.collisionIndex.placeCollisionCircles(Xe,na,De.lineVertexArray,De.glyphOffsetArray,ca,Ze,at,Tt,K,mt,Fe.predicate,zl,Ia),ir=Xe||jr.circles.length>0&&!jr.collisionDetected,Mr=Mr&&jr.offscreen}if(Fn.iconFeatureIndex&&(Ur=Fn.iconFeatureIndex),Fn.iconBox){var Za=function(Ri){var Xa=zt&&Er?$n(Ri,Er.x,Er.y,lt,mt,le.transform.angle):Ri;return le.collisionIndex.placeCollisionBox(Xa,tt,At,Ze,Fe.predicate)};ar=kr&&kr.box&&kr.box.length&&Fn.verticalIconBox?(fi=Za(Fn.verticalIconBox)).box.length>0:(fi=Za(Fn.iconBox)).box.length>0,Mr=Mr&&fi.offscreen}var li=Ue||on.numHorizontalGlyphVertices===0&&on.numVerticalGlyphVertices===0,fo=We||on.numIconVertices===0;if(li||fo?fo?li||(ar=ar&&ir):ir=ar&&ir:ar=ir=ar&&ir,ir&&Hn&&Hn.box&&(kr&&kr.box&&wr?le.collisionIndex.insertCollisionBox(Hn.box,He.get("text-ignore-placement"),De.bucketInstanceId,wr,Fe.ID):le.collisionIndex.insertCollisionBox(Hn.box,He.get("text-ignore-placement"),De.bucketInstanceId,di,Fe.ID)),ar&&fi&&le.collisionIndex.insertCollisionBox(fi.box,He.get("icon-ignore-placement"),De.bucketInstanceId,Ur,Fe.ID),jr&&(ir&&le.collisionIndex.insertCollisionCircles(jr.circles,He.get("text-ignore-placement"),De.bucketInstanceId,di,Fe.ID),K)){var _o=De.bucketInstanceId,Aa=le.collisionCircleArrays[_o];Aa===void 0&&(Aa=le.collisionCircleArrays[_o]=new Rn);for(var Ps=0;Ps=0;--ln){var an=tn[ln];vn(De.symbolInstances.get(an),De.collisionArrays[an])}else for(var Cn=Y.symbolInstanceStart;Cn=0&&(Y.text.placedSymbolArray.get(at).crossTileID=Te>=0&&at!==Te?0:K.crossTileID)}},tr.prototype.markUsedOrientation=function(Y,ee,K){for(var le=ee===i.WritingMode.horizontal||ee===i.WritingMode.horizontalOnly?ee:0,Te=ee===i.WritingMode.vertical?ee:0,De=0,He=[K.leftJustifiedTextSymbolIndex,K.centerJustifiedTextSymbolIndex,K.rightJustifiedTextSymbolIndex];De0||mt>0,vn=tt.numIconVertices>0,tn=le.placedOrientations[tt.crossTileID],ln=tn===i.WritingMode.vertical,an=tn===i.WritingMode.horizontal||tn===i.WritingMode.horizontalOnly;if(en){var Cn=En(Ht.text),_n=ln?mn:Cn;Ie(Y.text,lt,_n);var on=an?mn:Cn;Ie(Y.text,mt,on);var Fn=Ht.text.isHidden();[tt.rightJustifiedTextSymbolIndex,tt.centerJustifiedTextSymbolIndex,tt.leftJustifiedTextSymbolIndex].forEach(function(Ur){Ur>=0&&(Y.text.placedSymbolArray.get(Ur).hidden=Fn||ln?1:0)}),tt.verticalPlacedTextSymbolIndex>=0&&(Y.text.placedSymbolArray.get(tt.verticalPlacedTextSymbolIndex).hidden=Fn||an?1:0);var Hn=le.variableOffsets[tt.crossTileID];Hn&&le.markUsedJustification(Y,Hn.anchor,tt,tn);var ir=le.placedOrientations[tt.crossTileID];ir&&(le.markUsedJustification(Y,"left",tt,ir),le.markUsedOrientation(Y,ir,tt))}if(vn){var ar=En(Ht.icon),Mr=!(se&&tt.verticalPlacedIconSymbolIndex&&ln);if(tt.placedIconSymbolIndex>=0){var Er=Mr?ar:mn;Ie(Y.icon,tt.numIconVertices,Er),Y.icon.placedSymbolArray.get(tt.placedIconSymbolIndex).hidden=Ht.icon.isHidden()}if(tt.verticalPlacedIconSymbolIndex>=0){var xr=Mr?mn:ar;Ie(Y.icon,tt.numVerticalIconVertices,xr),Y.icon.placedSymbolArray.get(tt.verticalPlacedIconSymbolIndex).hidden=Ht.icon.isHidden()}}if(Y.hasIconCollisionBoxData()||Y.hasTextCollisionBoxData()){var kr=Y.collisionArrays[Xe];if(kr){var jr=new i.Point(0,0);if(kr.textBox||kr.verticalTextBox){var fi=!0;if(at){var di=le.variableOffsets[zt];di?(jr=Kn(di.anchor,di.width,di.height,di.textOffset,di.textBoxScale),Tt&&jr._rotate(At?le.transform.angle:-le.transform.angle)):fi=!1}kr.textBox&&mr(Y.textCollisionBox.collisionVertexArray,Ht.text.placed,!fi||ln,jr.x,jr.y),kr.verticalTextBox&&mr(Y.textCollisionBox.collisionVertexArray,Ht.text.placed,!fi||an,jr.x,jr.y)}var wr=!!(!an&&kr.verticalIconBox);kr.iconBox&&mr(Y.iconCollisionBox.collisionVertexArray,Ht.icon.placed,wr,se?jr.x:0,se?jr.y:0),kr.verticalIconBox&&mr(Y.iconCollisionBox.collisionVertexArray,Ht.icon.placed,!wr,se?jr.x:0,se?jr.y:0)}}},Ue=0;UeY},tr.prototype.setStale=function(){this.stale=!0};var nn=Math.pow(2,25),Pn=Math.pow(2,24),jt=Math.pow(2,17),Jt=Math.pow(2,16),hn=Math.pow(2,9),zn=Math.pow(2,8),On=Math.pow(2,1);function En(Y){if(Y.opacity===0&&!Y.placed)return 0;if(Y.opacity===1&&Y.placed)return 4294967295;var ee=Y.placed?1:0,K=Math.floor(127*Y.opacity);return K*nn+ee*Pn+K*jt+ee*Jt+K*hn+ee*zn+K*On+ee}var mn=0,wn=function(Y){this._sortAcrossTiles=Y.layout.get("symbol-z-order")!=="viewport-y"&&Y.layout.get("symbol-sort-key").constantOr(1)!==void 0,this._currentTileIndex=0,this._currentPartIndex=0,this._seenCrossTileIDs={},this._bucketParts=[]};wn.prototype.continuePlacement=function(Y,ee,K,le,Te){for(var De=this._bucketParts;this._currentTileIndex2};this._currentPlacementIndex>=0;){var He=ee[Y[this._currentPlacementIndex]],Ze=this.placement.collisionIndex.transform.zoom;if(He.type==="symbol"&&(!He.minzoom||He.minzoom<=Ze)&&(!He.maxzoom||He.maxzoom>Ze)){if(this._inProgressLayer||(this._inProgressLayer=new wn(He)),this._inProgressLayer.continuePlacement(K[He.source],this.placement,this._showCollisionBoxes,He,De))return;delete this._inProgressLayer}this._currentPlacementIndex--}this._done=!0},gn.prototype.commit=function(Y){return this.placement.commit(Y),this.placement};var yn=512/i.EXTENT/2,Sn=function(Y,ee,K){this.tileID=Y,this.indexedSymbolInstances={},this.bucketInstanceId=K;for(var le=0;leY.overscaledZ)for(var Ze in He){var at=He[Ze];at.tileID.isChildOf(Y)&&at.findMatches(ee.symbolInstances,Y,Te)}else{var Tt=He[Y.scaledTo(Number(De)).key];Tt&&Tt.findMatches(ee.symbolInstances,Y,Te)}}for(var At=0;At1?"@2x":"",se=i.getJSON(De.transformRequest(De.normalizeSpriteURL(Te,At,".json"),i.ResourceType.SpriteJSON),function(Fe,Ue){se=null,Tt||(Tt=Fe,Ze=Ue,Ie())}),ve=i.getImage(De.transformRequest(De.normalizeSpriteURL(Te,At,".png"),i.ResourceType.SpriteImage),function(Fe,Ue){ve=null,Tt||(Tt=Fe,at=Ue,Ie())});function Ie(){if(Tt)He(Tt);else if(Ze&&at){var Fe=i.browser.getImageData(at),Ue={};for(var We in Ze){var Xe=Ze[We],tt=Xe.width,lt=Xe.height,mt=Xe.x,zt=Xe.y,Ut=Xe.sdf,Ht=Xe.pixelRatio,en=Xe.stretchX,vn=Xe.stretchY,tn=Xe.content,ln=new i.RGBAImage({width:tt,height:lt});i.RGBAImage.copy(Fe,ln,{x:mt,y:zt},{x:0,y:0},{width:tt,height:lt}),Ue[We]={data:ln,pixelRatio:Ht,sdf:Ut,stretchX:en,stretchY:vn,content:tn}}He(null,Ue)}}return{cancel:function(){se&&(se.cancel(),se=null),ve&&(ve.cancel(),ve=null)}}}(K,this.map._requestManager,function(Te,De){if(le._spriteRequest=null,Te)le.fire(new i.ErrorEvent(Te));else if(De)for(var He in De)le.imageManager.addImage(He,De[He]);le.imageManager.setLoaded(!0),le._availableImages=le.imageManager.listImages(),le.dispatcher.broadcast("setImages",le._availableImages),le.fire(new i.Event("data",{dataType:"style"}))})},ee.prototype._validateLayer=function(K){var le=this.sourceCaches[K.source];if(le){var Te=K.sourceLayer;if(Te){var De=le.getSource();(De.type==="geojson"||De.vectorLayerIds&&De.vectorLayerIds.indexOf(Te)===-1)&&this.fire(new i.ErrorEvent(new Error('Source layer "'+Te+'" does not exist on source "'+De.id+'" as specified by style layer "'+K.id+'"')))}}},ee.prototype.loaded=function(){if(!this._loaded||Object.keys(this._updatedSources).length)return!1;for(var K in this.sourceCaches)if(!this.sourceCaches[K].loaded())return!1;return!!this.imageManager.isLoaded()},ee.prototype._serializeLayers=function(K){for(var le=[],Te=0,De=K;Te0)throw new Error("Unimplemented: "+De.map(function(He){return He.command}).join(", ")+".");return Te.forEach(function(He){He.command!=="setTransition"&&le[He.command].apply(le,He.args)}),this.stylesheet=K,!0},ee.prototype.addImage=function(K,le){if(this.getImage(K))return this.fire(new i.ErrorEvent(new Error("An image with this name already exists.")));this.imageManager.addImage(K,le),this._availableImages=this.imageManager.listImages(),this._changedImages[K]=!0,this._changed=!0,this.fire(new i.Event("data",{dataType:"style"}))},ee.prototype.updateImage=function(K,le){this.imageManager.updateImage(K,le)},ee.prototype.getImage=function(K){return this.imageManager.getImage(K)},ee.prototype.removeImage=function(K){if(!this.getImage(K))return this.fire(new i.ErrorEvent(new Error("No image with this name exists.")));this.imageManager.removeImage(K),this._availableImages=this.imageManager.listImages(),this._changedImages[K]=!0,this._changed=!0,this.fire(new i.Event("data",{dataType:"style"}))},ee.prototype.listImages=function(){return this._checkLoaded(),this.imageManager.listImages()},ee.prototype.addSource=function(K,le,Te){var De=this;if(Te===void 0&&(Te={}),this._checkLoaded(),this.sourceCaches[K]!==void 0)throw new Error("There is already a source with this ID");if(!le.type)throw new Error("The type property must be defined, but the only the following properties were given: "+Object.keys(le).join(", ")+".");if(!(["vector","raster","geojson","video","image"].indexOf(le.type)>=0&&this._validate(i.validateStyle.source,"sources."+K,le,null,Te))){this.map&&this.map._collectResourceTiming&&(le.collectResourceTiming=!0);var He=this.sourceCaches[K]=new ft(K,le,this.dispatcher);He.style=this,He.setEventedParent(this,function(){return{isSourceLoaded:De.loaded(),source:He.serialize(),sourceId:K}}),He.onAdd(this.map),this._changed=!0}},ee.prototype.removeSource=function(K){if(this._checkLoaded(),this.sourceCaches[K]===void 0)throw new Error("There is no source with this ID");for(var le in this._layers)if(this._layers[le].source===K)return this.fire(new i.ErrorEvent(new Error('Source "'+K+'" cannot be removed while layer "'+le+'" is using it.')));var Te=this.sourceCaches[K];delete this.sourceCaches[K],delete this._updatedSources[K],Te.fire(new i.Event("data",{sourceDataType:"metadata",dataType:"source",sourceId:K})),Te.setEventedParent(null),Te.clearTiles(),Te.onRemove&&Te.onRemove(this.map),this._changed=!0},ee.prototype.setGeoJSONSourceData=function(K,le){this._checkLoaded(),this.sourceCaches[K].getSource().setData(le),this._changed=!0},ee.prototype.getSource=function(K){return this.sourceCaches[K]&&this.sourceCaches[K].getSource()},ee.prototype.addLayer=function(K,le,Te){Te===void 0&&(Te={}),this._checkLoaded();var De=K.id;if(this.getLayer(De))this.fire(new i.ErrorEvent(new Error('Layer with id "'+De+'" already exists on this map')));else{var He;if(K.type==="custom"){if(Qn(this,i.validateCustomStyleLayer(K)))return;He=i.createStyleLayer(K)}else{if(typeof K.source=="object"&&(this.addSource(De,K.source),K=i.clone$1(K),K=i.extend(K,{source:De})),this._validate(i.validateStyle.layer,"layers."+De,K,{arrayIndex:-1},Te))return;He=i.createStyleLayer(K),this._validateLayer(He),He.setEventedParent(this,{layer:{id:De}}),this._serializedLayers[He.id]=He.serialize()}var Ze=le?this._order.indexOf(le):this._order.length;if(le&&Ze===-1)this.fire(new i.ErrorEvent(new Error('Layer with id "'+le+'" does not exist on this map.')));else{if(this._order.splice(Ze,0,De),this._layerOrderChanged=!0,this._layers[De]=He,this._removedLayers[De]&&He.source&&He.type!=="custom"){var at=this._removedLayers[De];delete this._removedLayers[De],at.type!==He.type?this._updatedSources[He.source]="clear":(this._updatedSources[He.source]="reload",this.sourceCaches[He.source].pause())}this._updateLayer(He),He.onAdd&&He.onAdd(this.map)}}},ee.prototype.moveLayer=function(K,le){if(this._checkLoaded(),this._changed=!0,this._layers[K]){if(K!==le){var Te=this._order.indexOf(K);this._order.splice(Te,1);var De=le?this._order.indexOf(le):this._order.length;le&&De===-1?this.fire(new i.ErrorEvent(new Error('Layer with id "'+le+'" does not exist on this map.'))):(this._order.splice(De,0,K),this._layerOrderChanged=!0)}}else this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be moved.")))},ee.prototype.removeLayer=function(K){this._checkLoaded();var le=this._layers[K];if(le){le.setEventedParent(null);var Te=this._order.indexOf(K);this._order.splice(Te,1),this._layerOrderChanged=!0,this._changed=!0,this._removedLayers[K]=le,delete this._layers[K],delete this._serializedLayers[K],delete this._updatedLayers[K],delete this._updatedPaintProps[K],le.onRemove&&le.onRemove(this.map)}else this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be removed.")))},ee.prototype.getLayer=function(K){return this._layers[K]},ee.prototype.hasLayer=function(K){return K in this._layers},ee.prototype.setLayerZoomRange=function(K,le,Te){this._checkLoaded();var De=this.getLayer(K);De?De.minzoom===le&&De.maxzoom===Te||(le!=null&&(De.minzoom=le),Te!=null&&(De.maxzoom=Te),this._updateLayer(De)):this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot have zoom extent.")))},ee.prototype.setFilter=function(K,le,Te){Te===void 0&&(Te={}),this._checkLoaded();var De=this.getLayer(K);if(De){if(!i.deepEqual(De.filter,le))return le==null?(De.filter=void 0,void this._updateLayer(De)):void(this._validate(i.validateStyle.filter,"layers."+De.id+".filter",le,null,Te)||(De.filter=i.clone$1(le),this._updateLayer(De)))}else this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be filtered.")))},ee.prototype.getFilter=function(K){return i.clone$1(this.getLayer(K).filter)},ee.prototype.setLayoutProperty=function(K,le,Te,De){De===void 0&&(De={}),this._checkLoaded();var He=this.getLayer(K);He?i.deepEqual(He.getLayoutProperty(le),Te)||(He.setLayoutProperty(le,Te,De),this._updateLayer(He)):this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be styled.")))},ee.prototype.getLayoutProperty=function(K,le){var Te=this.getLayer(K);if(Te)return Te.getLayoutProperty(le);this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style.")))},ee.prototype.setPaintProperty=function(K,le,Te,De){De===void 0&&(De={}),this._checkLoaded();var He=this.getLayer(K);He?i.deepEqual(He.getPaintProperty(le),Te)||(He.setPaintProperty(le,Te,De)&&this._updateLayer(He),this._changed=!0,this._updatedPaintProps[K]=!0):this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be styled.")))},ee.prototype.getPaintProperty=function(K,le){return this.getLayer(K).getPaintProperty(le)},ee.prototype.setFeatureState=function(K,le){this._checkLoaded();var Te=K.source,De=K.sourceLayer,He=this.sourceCaches[Te];if(He!==void 0){var Ze=He.getSource().type;Ze==="geojson"&&De?this.fire(new i.ErrorEvent(new Error("GeoJSON sources cannot have a sourceLayer parameter."))):Ze!=="vector"||De?(K.id===void 0&&this.fire(new i.ErrorEvent(new Error("The feature id parameter must be provided."))),He.setFeatureState(De,K.id,le)):this.fire(new i.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new i.ErrorEvent(new Error("The source '"+Te+"' does not exist in the map's style.")))},ee.prototype.removeFeatureState=function(K,le){this._checkLoaded();var Te=K.source,De=this.sourceCaches[Te];if(De!==void 0){var He=De.getSource().type,Ze=He==="vector"?K.sourceLayer:void 0;He!=="vector"||Ze?le&&typeof K.id!="string"&&typeof K.id!="number"?this.fire(new i.ErrorEvent(new Error("A feature id is requred to remove its specific state property."))):De.removeFeatureState(Ze,K.id,le):this.fire(new i.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new i.ErrorEvent(new Error("The source '"+Te+"' does not exist in the map's style.")))},ee.prototype.getFeatureState=function(K){this._checkLoaded();var le=K.source,Te=K.sourceLayer,De=this.sourceCaches[le];if(De!==void 0){if(De.getSource().type!=="vector"||Te)return K.id===void 0&&this.fire(new i.ErrorEvent(new Error("The feature id parameter must be provided."))),De.getFeatureState(Te,K.id);this.fire(new i.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new i.ErrorEvent(new Error("The source '"+le+"' does not exist in the map's style.")))},ee.prototype.getTransition=function(){return i.extend({duration:300,delay:0},this.stylesheet&&this.stylesheet.transition)},ee.prototype.serialize=function(){return i.filterObject({version:this.stylesheet.version,name:this.stylesheet.name,metadata:this.stylesheet.metadata,light:this.stylesheet.light,center:this.stylesheet.center,zoom:this.stylesheet.zoom,bearing:this.stylesheet.bearing,pitch:this.stylesheet.pitch,sprite:this.stylesheet.sprite,glyphs:this.stylesheet.glyphs,transition:this.stylesheet.transition,sources:i.mapObject(this.sourceCaches,function(K){return K.serialize()}),layers:this._serializeLayers(this._order)},function(K){return K!==void 0})},ee.prototype._updateLayer=function(K){this._updatedLayers[K.id]=!0,K.source&&!this._updatedSources[K.source]&&this.sourceCaches[K.source].getSource().type!=="raster"&&(this._updatedSources[K.source]="reload",this.sourceCaches[K.source].pause()),this._changed=!0},ee.prototype._flattenAndSortRenderedFeatures=function(K){for(var le=this,Te=function(tn){return le._layers[tn].type==="fill-extrusion"},De={},He=[],Ze=this._order.length-1;Ze>=0;Ze--){var at=this._order[Ze];if(Te(at)){De[at]=Ze;for(var Tt=0,At=K;Tt=0;We--){var Xe=this._order[We];if(Te(Xe))for(var tt=He.length-1;tt>=0;tt--){var lt=He[tt].feature;if(De[lt.layer.id] 0.5) {gl_FragColor=vec4(0.0,0.0,1.0,0.5)*alpha;}if (v_notUsed > 0.5) {gl_FragColor*=.1;}}","attribute vec2 a_pos;attribute vec2 a_anchor_pos;attribute vec2 a_extrude;attribute vec2 a_placed;attribute vec2 a_shift;uniform mat4 u_matrix;uniform vec2 u_extrude_scale;uniform float u_camera_to_center_distance;varying float v_placed;varying float v_notUsed;void main() {vec4 projectedPoint=u_matrix*vec4(a_anchor_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);gl_Position=u_matrix*vec4(a_pos,0.0,1.0);gl_Position.xy+=(a_extrude+a_shift)*u_extrude_scale*gl_Position.w*collision_perspective_ratio;v_placed=a_placed.x;v_notUsed=a_placed.y;}"),sa=Ui("varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;void main() {float alpha=0.5*min(v_perspective_ratio,1.0);float stroke_radius=0.9*max(v_perspective_ratio,1.0);float distance_to_center=length(v_extrude);float distance_to_edge=abs(distance_to_center-v_radius);float opacity_t=smoothstep(-stroke_radius,0.0,-distance_to_edge);vec4 color=mix(vec4(0.0,0.0,1.0,0.5),vec4(1.0,0.0,0.0,1.0),v_collision);gl_FragColor=color*alpha*opacity_t;}","attribute vec2 a_pos;attribute float a_radius;attribute vec2 a_flags;uniform mat4 u_matrix;uniform mat4 u_inv_matrix;uniform vec2 u_viewport_size;uniform float u_camera_to_center_distance;varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;vec3 toTilePosition(vec2 screenPos) {vec4 rayStart=u_inv_matrix*vec4(screenPos,-1.0,1.0);vec4 rayEnd =u_inv_matrix*vec4(screenPos, 1.0,1.0);rayStart.xyz/=rayStart.w;rayEnd.xyz /=rayEnd.w;highp float t=(0.0-rayStart.z)/(rayEnd.z-rayStart.z);return mix(rayStart.xyz,rayEnd.xyz,t);}void main() {vec2 quadCenterPos=a_pos;float radius=a_radius;float collision=a_flags.x;float vertexIdx=a_flags.y;vec2 quadVertexOffset=vec2(mix(-1.0,1.0,float(vertexIdx >=2.0)),mix(-1.0,1.0,float(vertexIdx >=1.0 && vertexIdx <=2.0)));vec2 quadVertexExtent=quadVertexOffset*radius;vec3 tilePos=toTilePosition(quadCenterPos);vec4 clipPos=u_matrix*vec4(tilePos,1.0);highp float camera_to_anchor_distance=clipPos.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);float padding_factor=1.2;v_radius=radius;v_extrude=quadVertexExtent*padding_factor;v_perspective_ratio=collision_perspective_ratio;v_collision=collision;gl_Position=vec4(clipPos.xyz/clipPos.w,1.0)+vec4(quadVertexExtent*padding_factor/u_viewport_size*2.0,0.0,0.0);}"),uo=Ui("uniform highp vec4 u_color;uniform sampler2D u_overlay;varying vec2 v_uv;void main() {vec4 overlay_color=texture2D(u_overlay,v_uv);gl_FragColor=mix(u_color,overlay_color,overlay_color.a);}","attribute vec2 a_pos;varying vec2 v_uv;uniform mat4 u_matrix;uniform float u_overlay_scale;void main() {v_uv=a_pos/8192.0;gl_Position=u_matrix*vec4(a_pos*u_overlay_scale,0,1);}"),La=Ui(`#pragma mapbox: define highp vec4 color +}`,"uniform mat4 u_matrix;uniform vec2 u_world;attribute vec2 a_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos*u_world,0,1);v_pos.x=a_pos.x;v_pos.y=1.0-a_pos.y;}"),ea=Ui("varying float v_placed;varying float v_notUsed;void main() {float alpha=0.5;gl_FragColor=vec4(1.0,0.0,0.0,1.0)*alpha;if (v_placed > 0.5) {gl_FragColor=vec4(0.0,0.0,1.0,0.5)*alpha;}if (v_notUsed > 0.5) {gl_FragColor*=.1;}}","attribute vec2 a_pos;attribute vec2 a_anchor_pos;attribute vec2 a_extrude;attribute vec2 a_placed;attribute vec2 a_shift;uniform mat4 u_matrix;uniform vec2 u_extrude_scale;uniform float u_camera_to_center_distance;varying float v_placed;varying float v_notUsed;void main() {vec4 projectedPoint=u_matrix*vec4(a_anchor_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);gl_Position=u_matrix*vec4(a_pos,0.0,1.0);gl_Position.xy+=(a_extrude+a_shift)*u_extrude_scale*gl_Position.w*collision_perspective_ratio;v_placed=a_placed.x;v_notUsed=a_placed.y;}"),sa=Ui("varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;void main() {float alpha=0.5*min(v_perspective_ratio,1.0);float stroke_radius=0.9*max(v_perspective_ratio,1.0);float distance_to_center=length(v_extrude);float distance_to_edge=abs(distance_to_center-v_radius);float opacity_t=smoothstep(-stroke_radius,0.0,-distance_to_edge);vec4 color=mix(vec4(0.0,0.0,1.0,0.5),vec4(1.0,0.0,0.0,1.0),v_collision);gl_FragColor=color*alpha*opacity_t;}","attribute vec2 a_pos;attribute float a_radius;attribute vec2 a_flags;uniform mat4 u_matrix;uniform mat4 u_inv_matrix;uniform vec2 u_viewport_size;uniform float u_camera_to_center_distance;varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;vec3 toTilePosition(vec2 screenPos) {vec4 rayStart=u_inv_matrix*vec4(screenPos,-1.0,1.0);vec4 rayEnd =u_inv_matrix*vec4(screenPos, 1.0,1.0);rayStart.xyz/=rayStart.w;rayEnd.xyz /=rayEnd.w;highp float t=(0.0-rayStart.z)/(rayEnd.z-rayStart.z);return mix(rayStart.xyz,rayEnd.xyz,t);}void main() {vec2 quadCenterPos=a_pos;float radius=a_radius;float collision=a_flags.x;float vertexIdx=a_flags.y;vec2 quadVertexOffset=vec2(mix(-1.0,1.0,float(vertexIdx >=2.0)),mix(-1.0,1.0,float(vertexIdx >=1.0 && vertexIdx <=2.0)));vec2 quadVertexExtent=quadVertexOffset*radius;vec3 tilePos=toTilePosition(quadCenterPos);vec4 clipPos=u_matrix*vec4(tilePos,1.0);highp float camera_to_anchor_distance=clipPos.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);float padding_factor=1.2;v_radius=radius;v_extrude=quadVertexExtent*padding_factor;v_perspective_ratio=collision_perspective_ratio;v_collision=collision;gl_Position=vec4(clipPos.xyz/clipPos.w,1.0)+vec4(quadVertexExtent*padding_factor/u_viewport_size*2.0,0.0,0.0);}"),co=Ui("uniform highp vec4 u_color;uniform sampler2D u_overlay;varying vec2 v_uv;void main() {vec4 overlay_color=texture2D(u_overlay,v_uv);gl_FragColor=mix(u_color,overlay_color,overlay_color.a);}","attribute vec2 a_pos;varying vec2 v_uv;uniform mat4 u_matrix;uniform float u_overlay_scale;void main() {v_uv=a_pos/8192.0;gl_Position=u_matrix*vec4(a_pos*u_overlay_scale,0,1);}"),La=Ui(`#pragma mapbox: define highp vec4 color #pragma mapbox: define lowp float opacity void main() { #pragma mapbox: initialize highp vec4 color @@ -2884,7 +2884,7 @@ void main() { #pragma mapbox: initialize lowp float halo_blur vec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ? camera_to_anchor_distance/u_camera_to_center_distance : -u_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale+a_pxoffset),0.0,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));v_data0=a_tex/u_texsize;v_data1=vec3(gamma_scale,size,interpolated_fade_opacity);}`),Ml=Ui(`#define SDF_PX 8.0 +u_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale+a_pxoffset),0.0,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));v_data0=a_tex/u_texsize;v_data1=vec3(gamma_scale,size,interpolated_fade_opacity);}`),Al=Ui(`#define SDF_PX 8.0 #define SDF 1.0 #define ICON 0.0 uniform bool u_is_halo;uniform sampler2D u_texture;uniform sampler2D u_texture_icon;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;varying vec4 v_data0;varying vec4 v_data1; @@ -2970,11 +2970,11 @@ uniform `+He+" "+Ze+" u_"+at+`; #else `+He+" "+Ze+" "+at+" = u_"+at+`; #endif -`})}}var Al=Object.freeze({__proto__:null,prelude:Ir,background:Lr,backgroundPattern:zr,circle:gr,clippingMask:Fr,heatmap:ii,heatmapTexture:ji,collisionBox:ea,collisionCircle:sa,debug:uo,fill:La,fillOutline:Xi,fillOutlinePattern:Do,fillPattern:rs,fillExtrusion:el,fillExtrusionPattern:Cu,hillshadePrepare:gf,hillshade:Mh,line:Eu,lineGradient:is,linePattern:Ah,lineSDF:Ya,raster:hc,symbolIcon:Yo,symbolSDF:as,symbolTextAndIcon:Ml}),ps=function(){this.boundProgram=null,this.boundLayoutVertexBuffer=null,this.boundPaintVertexBuffers=[],this.boundIndexBuffer=null,this.boundVertexOffset=null,this.boundDynamicVertexBuffer=null,this.vao=null};ps.prototype.bind=function(Y,ee,K,le,Te,De,He,Ze){this.context=Y;for(var at=this.boundPaintVertexBuffers.length!==le.length,Tt=0;!at&&Tt>16,Ze>>16],u_pixel_coord_lower:[65535&He,65535&Ze]}}Es.prototype.draw=function(Y,ee,K,le,Te,De,He,Ze,at,Tt,At,se,ve,Ie,Fe,Ue){var We,Xe=Y.gl;if(!this.failedToCreate){for(var tt in Y.program.set(this.program),Y.setDepthMode(K),Y.setStencilMode(le),Y.setColorMode(Te),Y.setCullFace(De),this.fixedUniforms)this.fixedUniforms[tt].set(He[tt]);Ie&&Ie.setUniforms(Y,this.binderUniforms,se,{zoom:ve});for(var lt=(We={},We[Xe.LINES]=2,We[Xe.TRIANGLES]=3,We[Xe.LINE_STRIP]=1,We)[ee],mt=0,zt=At.get();mt0?1-1/(1.001-He):-He),u_contrast_factor:(De=Te.paint.get("raster-contrast"),De>0?1/(1-De):1+De),u_spin_weights:Ql(Te.paint.get("raster-hue-rotate"))};var De,He};function Ql(Y){Y*=Math.PI/180;var ee=Math.sin(Y),K=Math.cos(Y);return[(2*K+1)/3,(-Math.sqrt(3)*ee-K+1)/3,(Math.sqrt(3)*ee-K+1)/3]}var al,Hi=function(Y,ee,K,le,Te,De,He,Ze,at,Tt){var At=Te.transform;return{u_is_size_zoom_constant:+(Y==="constant"||Y==="source"),u_is_size_feature_constant:+(Y==="constant"||Y==="camera"),u_size_t:ee?ee.uSizeT:0,u_size:ee?ee.uSize:0,u_camera_to_center_distance:At.cameraToCenterDistance,u_pitch:At.pitch/360*2*Math.PI,u_rotate_symbol:+K,u_aspect_ratio:At.width/At.height,u_fade_change:Te.options.fadeDuration?Te.symbolFadeChange:1,u_matrix:De,u_label_plane_matrix:He,u_coord_matrix:Ze,u_is_text:+at,u_pitch_with_map:+le,u_texsize:Tt,u_texture:0}},Cl=function(Y,ee,K,le,Te,De,He,Ze,at,Tt,At){var se=Te.transform;return i.extend(Hi(Y,ee,K,le,Te,De,He,Ze,at,Tt),{u_gamma_scale:le?Math.cos(se._pitch)*se.cameraToCenterDistance:1,u_device_pixel_ratio:i.browser.devicePixelRatio,u_is_halo:+At})},ad=function(Y,ee,K,le,Te,De,He,Ze,at,Tt){return i.extend(Cl(Y,ee,K,le,Te,De,He,Ze,!0,at,!0),{u_texsize_icon:Tt,u_texture_icon:1})},Uc=function(Y,ee,K){return{u_matrix:Y,u_opacity:ee,u_color:K}},dc=function(Y,ee,K,le,Te,De){return i.extend(function(He,Ze,at,Tt){var At=at.imageManager.getPattern(He.from.toString()),se=at.imageManager.getPattern(He.to.toString()),ve=at.imageManager.getPixelSize(),Ie=ve.width,Fe=ve.height,Ue=Math.pow(2,Tt.tileID.overscaledZ),We=Tt.tileSize*Math.pow(2,at.transform.tileZoom)/Ue,Xe=We*(Tt.tileID.canonical.x+Tt.tileID.wrap*Ue),tt=We*Tt.tileID.canonical.y;return{u_image:0,u_pattern_tl_a:At.tl,u_pattern_br_a:At.br,u_pattern_tl_b:se.tl,u_pattern_br_b:se.br,u_texsize:[Ie,Fe],u_mix:Ze.t,u_pattern_size_a:At.displaySize,u_pattern_size_b:se.displaySize,u_scale_a:Ze.fromScale,u_scale_b:Ze.toScale,u_tile_units_to_pixels:1/vr(Tt,1,at.transform.tileZoom),u_pixel_coord_upper:[Xe>>16,tt>>16],u_pixel_coord_lower:[65535&Xe,65535&tt]}}(le,De,K,Te),{u_matrix:Y,u_opacity:ee})},eu={fillExtrusion:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_lightpos:new i.Uniform3f(Y,ee.u_lightpos),u_lightintensity:new i.Uniform1f(Y,ee.u_lightintensity),u_lightcolor:new i.Uniform3f(Y,ee.u_lightcolor),u_vertical_gradient:new i.Uniform1f(Y,ee.u_vertical_gradient),u_opacity:new i.Uniform1f(Y,ee.u_opacity)}},fillExtrusionPattern:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_lightpos:new i.Uniform3f(Y,ee.u_lightpos),u_lightintensity:new i.Uniform1f(Y,ee.u_lightintensity),u_lightcolor:new i.Uniform3f(Y,ee.u_lightcolor),u_vertical_gradient:new i.Uniform1f(Y,ee.u_vertical_gradient),u_height_factor:new i.Uniform1f(Y,ee.u_height_factor),u_image:new i.Uniform1i(Y,ee.u_image),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_pixel_coord_upper:new i.Uniform2f(Y,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f(Y,ee.u_pixel_coord_lower),u_scale:new i.Uniform3f(Y,ee.u_scale),u_fade:new i.Uniform1f(Y,ee.u_fade),u_opacity:new i.Uniform1f(Y,ee.u_opacity)}},fill:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix)}},fillPattern:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_image:new i.Uniform1i(Y,ee.u_image),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_pixel_coord_upper:new i.Uniform2f(Y,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f(Y,ee.u_pixel_coord_lower),u_scale:new i.Uniform3f(Y,ee.u_scale),u_fade:new i.Uniform1f(Y,ee.u_fade)}},fillOutline:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_world:new i.Uniform2f(Y,ee.u_world)}},fillOutlinePattern:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_world:new i.Uniform2f(Y,ee.u_world),u_image:new i.Uniform1i(Y,ee.u_image),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_pixel_coord_upper:new i.Uniform2f(Y,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f(Y,ee.u_pixel_coord_lower),u_scale:new i.Uniform3f(Y,ee.u_scale),u_fade:new i.Uniform1f(Y,ee.u_fade)}},circle:function(Y,ee){return{u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_scale_with_map:new i.Uniform1i(Y,ee.u_scale_with_map),u_pitch_with_map:new i.Uniform1i(Y,ee.u_pitch_with_map),u_extrude_scale:new i.Uniform2f(Y,ee.u_extrude_scale),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix)}},collisionBox:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_pixels_to_tile_units:new i.Uniform1f(Y,ee.u_pixels_to_tile_units),u_extrude_scale:new i.Uniform2f(Y,ee.u_extrude_scale),u_overscale_factor:new i.Uniform1f(Y,ee.u_overscale_factor)}},collisionCircle:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_inv_matrix:new i.UniformMatrix4f(Y,ee.u_inv_matrix),u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_viewport_size:new i.Uniform2f(Y,ee.u_viewport_size)}},debug:function(Y,ee){return{u_color:new i.UniformColor(Y,ee.u_color),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_overlay:new i.Uniform1i(Y,ee.u_overlay),u_overlay_scale:new i.Uniform1f(Y,ee.u_overlay_scale)}},clippingMask:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix)}},heatmap:function(Y,ee){return{u_extrude_scale:new i.Uniform1f(Y,ee.u_extrude_scale),u_intensity:new i.Uniform1f(Y,ee.u_intensity),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix)}},heatmapTexture:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_world:new i.Uniform2f(Y,ee.u_world),u_image:new i.Uniform1i(Y,ee.u_image),u_color_ramp:new i.Uniform1i(Y,ee.u_color_ramp),u_opacity:new i.Uniform1f(Y,ee.u_opacity)}},hillshade:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_image:new i.Uniform1i(Y,ee.u_image),u_latrange:new i.Uniform2f(Y,ee.u_latrange),u_light:new i.Uniform2f(Y,ee.u_light),u_shadow:new i.UniformColor(Y,ee.u_shadow),u_highlight:new i.UniformColor(Y,ee.u_highlight),u_accent:new i.UniformColor(Y,ee.u_accent)}},hillshadePrepare:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_image:new i.Uniform1i(Y,ee.u_image),u_dimension:new i.Uniform2f(Y,ee.u_dimension),u_zoom:new i.Uniform1f(Y,ee.u_zoom),u_maxzoom:new i.Uniform1f(Y,ee.u_maxzoom),u_unpack:new i.Uniform4f(Y,ee.u_unpack)}},line:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_ratio:new i.Uniform1f(Y,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_units_to_pixels:new i.Uniform2f(Y,ee.u_units_to_pixels)}},lineGradient:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_ratio:new i.Uniform1f(Y,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_units_to_pixels:new i.Uniform2f(Y,ee.u_units_to_pixels),u_image:new i.Uniform1i(Y,ee.u_image)}},linePattern:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_ratio:new i.Uniform1f(Y,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_image:new i.Uniform1i(Y,ee.u_image),u_units_to_pixels:new i.Uniform2f(Y,ee.u_units_to_pixels),u_scale:new i.Uniform3f(Y,ee.u_scale),u_fade:new i.Uniform1f(Y,ee.u_fade)}},lineSDF:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_ratio:new i.Uniform1f(Y,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_units_to_pixels:new i.Uniform2f(Y,ee.u_units_to_pixels),u_patternscale_a:new i.Uniform2f(Y,ee.u_patternscale_a),u_patternscale_b:new i.Uniform2f(Y,ee.u_patternscale_b),u_sdfgamma:new i.Uniform1f(Y,ee.u_sdfgamma),u_image:new i.Uniform1i(Y,ee.u_image),u_tex_y_a:new i.Uniform1f(Y,ee.u_tex_y_a),u_tex_y_b:new i.Uniform1f(Y,ee.u_tex_y_b),u_mix:new i.Uniform1f(Y,ee.u_mix)}},raster:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_tl_parent:new i.Uniform2f(Y,ee.u_tl_parent),u_scale_parent:new i.Uniform1f(Y,ee.u_scale_parent),u_buffer_scale:new i.Uniform1f(Y,ee.u_buffer_scale),u_fade_t:new i.Uniform1f(Y,ee.u_fade_t),u_opacity:new i.Uniform1f(Y,ee.u_opacity),u_image0:new i.Uniform1i(Y,ee.u_image0),u_image1:new i.Uniform1i(Y,ee.u_image1),u_brightness_low:new i.Uniform1f(Y,ee.u_brightness_low),u_brightness_high:new i.Uniform1f(Y,ee.u_brightness_high),u_saturation_factor:new i.Uniform1f(Y,ee.u_saturation_factor),u_contrast_factor:new i.Uniform1f(Y,ee.u_contrast_factor),u_spin_weights:new i.Uniform3f(Y,ee.u_spin_weights)}},symbolIcon:function(Y,ee){return{u_is_size_zoom_constant:new i.Uniform1i(Y,ee.u_is_size_zoom_constant),u_is_size_feature_constant:new i.Uniform1i(Y,ee.u_is_size_feature_constant),u_size_t:new i.Uniform1f(Y,ee.u_size_t),u_size:new i.Uniform1f(Y,ee.u_size),u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_pitch:new i.Uniform1f(Y,ee.u_pitch),u_rotate_symbol:new i.Uniform1i(Y,ee.u_rotate_symbol),u_aspect_ratio:new i.Uniform1f(Y,ee.u_aspect_ratio),u_fade_change:new i.Uniform1f(Y,ee.u_fade_change),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_label_plane_matrix:new i.UniformMatrix4f(Y,ee.u_label_plane_matrix),u_coord_matrix:new i.UniformMatrix4f(Y,ee.u_coord_matrix),u_is_text:new i.Uniform1i(Y,ee.u_is_text),u_pitch_with_map:new i.Uniform1i(Y,ee.u_pitch_with_map),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_texture:new i.Uniform1i(Y,ee.u_texture)}},symbolSDF:function(Y,ee){return{u_is_size_zoom_constant:new i.Uniform1i(Y,ee.u_is_size_zoom_constant),u_is_size_feature_constant:new i.Uniform1i(Y,ee.u_is_size_feature_constant),u_size_t:new i.Uniform1f(Y,ee.u_size_t),u_size:new i.Uniform1f(Y,ee.u_size),u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_pitch:new i.Uniform1f(Y,ee.u_pitch),u_rotate_symbol:new i.Uniform1i(Y,ee.u_rotate_symbol),u_aspect_ratio:new i.Uniform1f(Y,ee.u_aspect_ratio),u_fade_change:new i.Uniform1f(Y,ee.u_fade_change),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_label_plane_matrix:new i.UniformMatrix4f(Y,ee.u_label_plane_matrix),u_coord_matrix:new i.UniformMatrix4f(Y,ee.u_coord_matrix),u_is_text:new i.Uniform1i(Y,ee.u_is_text),u_pitch_with_map:new i.Uniform1i(Y,ee.u_pitch_with_map),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_texture:new i.Uniform1i(Y,ee.u_texture),u_gamma_scale:new i.Uniform1f(Y,ee.u_gamma_scale),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_is_halo:new i.Uniform1i(Y,ee.u_is_halo)}},symbolTextAndIcon:function(Y,ee){return{u_is_size_zoom_constant:new i.Uniform1i(Y,ee.u_is_size_zoom_constant),u_is_size_feature_constant:new i.Uniform1i(Y,ee.u_is_size_feature_constant),u_size_t:new i.Uniform1f(Y,ee.u_size_t),u_size:new i.Uniform1f(Y,ee.u_size),u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_pitch:new i.Uniform1f(Y,ee.u_pitch),u_rotate_symbol:new i.Uniform1i(Y,ee.u_rotate_symbol),u_aspect_ratio:new i.Uniform1f(Y,ee.u_aspect_ratio),u_fade_change:new i.Uniform1f(Y,ee.u_fade_change),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_label_plane_matrix:new i.UniformMatrix4f(Y,ee.u_label_plane_matrix),u_coord_matrix:new i.UniformMatrix4f(Y,ee.u_coord_matrix),u_is_text:new i.Uniform1i(Y,ee.u_is_text),u_pitch_with_map:new i.Uniform1i(Y,ee.u_pitch_with_map),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_texsize_icon:new i.Uniform2f(Y,ee.u_texsize_icon),u_texture:new i.Uniform1i(Y,ee.u_texture),u_texture_icon:new i.Uniform1i(Y,ee.u_texture_icon),u_gamma_scale:new i.Uniform1f(Y,ee.u_gamma_scale),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_is_halo:new i.Uniform1i(Y,ee.u_is_halo)}},background:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_opacity:new i.Uniform1f(Y,ee.u_opacity),u_color:new i.UniformColor(Y,ee.u_color)}},backgroundPattern:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_opacity:new i.Uniform1f(Y,ee.u_opacity),u_image:new i.Uniform1i(Y,ee.u_image),u_pattern_tl_a:new i.Uniform2f(Y,ee.u_pattern_tl_a),u_pattern_br_a:new i.Uniform2f(Y,ee.u_pattern_br_a),u_pattern_tl_b:new i.Uniform2f(Y,ee.u_pattern_tl_b),u_pattern_br_b:new i.Uniform2f(Y,ee.u_pattern_br_b),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_mix:new i.Uniform1f(Y,ee.u_mix),u_pattern_size_a:new i.Uniform2f(Y,ee.u_pattern_size_a),u_pattern_size_b:new i.Uniform2f(Y,ee.u_pattern_size_b),u_scale_a:new i.Uniform1f(Y,ee.u_scale_a),u_scale_b:new i.Uniform1f(Y,ee.u_scale_b),u_pixel_coord_upper:new i.Uniform2f(Y,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f(Y,ee.u_pixel_coord_lower),u_tile_units_to_pixels:new i.Uniform1f(Y,ee.u_tile_units_to_pixels)}}};function Ru(Y,ee,K,le,Te,De,He){for(var Ze=Y.context,at=Ze.gl,Tt=Y.useProgram("collisionBox"),At=[],se=0,ve=0,Ie=0;Ie0){var mt=i.create(),zt=Xe;i.mul(mt,We.placementInvProjMatrix,Y.transform.glCoordMatrix),i.mul(mt,mt,We.placementViewportMatrix),At.push({circleArray:lt,circleOffset:ve,transform:zt,invTransform:mt}),ve=se+=lt.length/4}tt&&Tt.draw(Ze,at.LINES,qt.disabled,Ke.disabled,Y.colorModeForRenderPass(),qe.disabled,xf(Xe,Y.transform,Ue),K.id,tt.layoutVertexBuffer,tt.indexBuffer,tt.segments,null,Y.transform.zoom,null,null,tt.collisionVertexBuffer)}}if(He&&At.length){var Ut=Y.useProgram("collisionCircle"),Ht=new i.StructArrayLayout2f1f2i16;Ht.resize(4*se),Ht._trim();for(var en=0,vn=0,tn=At;vn=0&&(Fe[We.associatedIconIndex]={shiftedAnchor:tn,angle:ln})}else rr(We.numGlyphs,ve)}if(At){Ie.clear();for(var Cn=Y.icon.placedSymbolArray,_n=0;_n0){var He=i.browser.now(),Ze=(He-Y.timeAdded)/De,at=ee?(He-ee.timeAdded)/De:-1,Tt=K.getSource(),At=Te.coveringZoomLevel({tileSize:Tt.tileSize,roundZoom:Tt.roundZoom}),se=!ee||Math.abs(ee.tileID.overscaledZ-At)>Math.abs(Y.tileID.overscaledZ-At),ve=se&&Y.refreshedUponExpiration?1:i.clamp(se?Ze:1-at,0,1);return Y.refreshedUponExpiration&&Ze>=1&&(Y.refreshedUponExpiration=!1),ee?{opacity:1,mix:1-ve}:{opacity:ve,mix:0}}return{opacity:1,mix:0}}var yc=new i.Color(1,0,0,1),bc=new i.Color(0,1,0,1),Rh=new i.Color(0,0,1,1),El=new i.Color(1,0,1,1),Hc=new i.Color(0,1,1,1);function xc(Y){var ee=Y.transform.padding;Ph(Y,Y.transform.height-(ee.top||0),3,yc),Ph(Y,ee.bottom||0,3,bc),_c(Y,ee.left||0,3,Rh),_c(Y,Y.transform.width-(ee.right||0),3,El);var K=Y.transform.centerPoint;(function(le,Te,De,He){var Ze=20,at=2;Du(le,Te-at/2,De-Ze/2,at,Ze,He),Du(le,Te-Ze/2,De-at/2,Ze,at,He)})(Y,K.x,Y.transform.height-K.y,Hc)}function Ph(Y,ee,K,le){Du(Y,0,ee+K/2,Y.transform.width,K,le)}function _c(Y,ee,K,le){Du(Y,ee-K/2,0,K,Y.transform.height,le)}function Du(Y,ee,K,le,Te,De){var He=Y.context,Ze=He.gl;Ze.enable(Ze.SCISSOR_TEST),Ze.scissor(ee*i.browser.devicePixelRatio,K*i.browser.devicePixelRatio,le*i.browser.devicePixelRatio,Te*i.browser.devicePixelRatio),He.clear({color:De}),Ze.disable(Ze.SCISSOR_TEST)}function ru(Y,ee,K){var le=Y.context,Te=le.gl,De=K.posMatrix,He=Y.useProgram("debug"),Ze=qt.disabled,at=Ke.disabled,Tt=Y.colorModeForRenderPass(),At="$debug";le.activeTexture.set(Te.TEXTURE0),Y.emptyTexture.bind(Te.LINEAR,Te.CLAMP_TO_EDGE),He.draw(le,Te.LINE_STRIP,Ze,at,Tt,qe.disabled,nl(De,i.Color.red),At,Y.debugBuffer,Y.tileBorderIndexBuffer,Y.debugSegments);var se=ee.getTileByID(K.key).latestRawTileData,ve=se&&se.byteLength||0,Ie=Math.floor(ve/1024),Fe=ee.getTile(K).tileSize,Ue=512/Math.min(Fe,512)*(K.overscaledZ/Y.transform.zoom)*.5,We=K.canonical.toString();K.overscaledZ!==K.canonical.z&&(We+=" => "+K.overscaledZ),function(Xe,tt){Xe.initDebugOverlayCanvas();var lt=Xe.debugOverlayCanvas,mt=Xe.context.gl,zt=Xe.debugOverlayCanvas.getContext("2d");zt.clearRect(0,0,lt.width,lt.height),zt.shadowColor="white",zt.shadowBlur=2,zt.lineWidth=1.5,zt.strokeStyle="white",zt.textBaseline="top",zt.font="bold 36px Open Sans, sans-serif",zt.fillText(tt,5,5),zt.strokeText(tt,5,5),Xe.debugOverlayTexture.update(lt),Xe.debugOverlayTexture.bind(mt.LINEAR,mt.CLAMP_TO_EDGE)}(Y,We+" "+Ie+"kb"),He.draw(le,Te.TRIANGLES,Ze,at,Je.alphaBlended,qe.disabled,nl(De,i.Color.transparent,Ue),At,Y.debugBuffer,Y.quadTriangleIndexBuffer,Y.debugSegments)}var iu={symbol:function(Y,ee,K,le,Te){if(Y.renderPass==="translucent"){var De=Ke.disabled,He=Y.colorModeForRenderPass();K.layout.get("text-variable-anchor")&&function(Ze,at,Tt,At,se,ve,Ie){for(var Fe=at.transform,Ue=se==="map",We=ve==="map",Xe=0,tt=Ze;Xe256&&this.clearStencil(),K.setColorMode(Je.disabled),K.setDepthMode(qt.disabled);var Te=this.useProgram("clippingMask");this._tileClippingMaskIDs={};for(var De=0,He=ee;De256&&this.clearStencil();var Y=this.nextStencilID++,ee=this.context.gl;return new Ke({func:ee.NOTEQUAL,mask:255},Y,255,ee.KEEP,ee.KEEP,ee.REPLACE)},Ki.prototype.stencilModeForClipping=function(Y){var ee=this.context.gl;return new Ke({func:ee.EQUAL,mask:255},this._tileClippingMaskIDs[Y.key],0,ee.KEEP,ee.KEEP,ee.REPLACE)},Ki.prototype.stencilConfigForOverlap=function(Y){var ee,K=this.context.gl,le=Y.sort(function(at,Tt){return Tt.overscaledZ-at.overscaledZ}),Te=le[le.length-1].overscaledZ,De=le[0].overscaledZ-Te+1;if(De>1){this.currentStencilSource=void 0,this.nextStencilID+De>256&&this.clearStencil();for(var He={},Ze=0;Ze=0;this.currentLayer--){var zt=this.style._layers[le[this.currentLayer]],Ut=Te[zt.source],Ht=Tt[zt.source];this._renderTileClippingMasks(zt,Ht),this.renderLayer(this,Ut,zt,Ht)}for(this.renderPass="translucent",this.currentLayer=0;this.currentLayer0?ee.pop():null},Ki.prototype.isPatternMissing=function(Y){if(!Y)return!1;if(!Y.from||!Y.to)return!0;var ee=this.imageManager.getPattern(Y.from.toString()),K=this.imageManager.getPattern(Y.to.toString());return!ee||!K},Ki.prototype.useProgram=function(Y,ee){this.cache=this.cache||{};var K=""+Y+(ee?ee.cacheKey:"")+(this._showOverdrawInspector?"/overdraw":"");return this.cache[K]||(this.cache[K]=new Es(this.context,Al[Y],ee,eu[Y],this._showOverdrawInspector)),this.cache[K]},Ki.prototype.setCustomLayerDefaults=function(){this.context.unbindVAO(),this.context.cullFace.setDefault(),this.context.activeTexture.setDefault(),this.context.pixelStoreUnpack.setDefault(),this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.context.pixelStoreUnpackFlipY.setDefault()},Ki.prototype.setBaseState=function(){var Y=this.context.gl;this.context.cullFace.set(!1),this.context.viewport.set([0,0,this.width,this.height]),this.context.blendEquation.set(Y.FUNC_ADD)},Ki.prototype.initDebugOverlayCanvas=function(){if(this.debugOverlayCanvas==null){this.debugOverlayCanvas=i.window.document.createElement("canvas"),this.debugOverlayCanvas.width=512,this.debugOverlayCanvas.height=512;var Y=this.context.gl;this.debugOverlayTexture=new i.Texture(this.context,this.debugOverlayCanvas,Y.RGBA)}},Ki.prototype.destroy=function(){this.emptyTexture.destroy(),this.debugOverlayTexture&&this.debugOverlayTexture.destroy()};var Ll=function(Y,ee){this.points=Y,this.planes=ee};Ll.fromInvProjectionMatrix=function(Y,ee,K){var le=Math.pow(2,K),Te=[[-1,1,-1,1],[1,1,-1,1],[1,-1,-1,1],[-1,-1,-1,1],[-1,1,1,1],[1,1,1,1],[1,-1,1,1],[-1,-1,1,1]].map(function(He){return i.transformMat4([],He,Y)}).map(function(He){return i.scale$1([],He,1/He[3]/ee*le)}),De=[[0,1,2],[6,5,4],[0,3,7],[2,1,5],[3,2,6],[0,4,5]].map(function(He){var Ze=i.sub([],Te[He[0]],Te[He[1]]),at=i.sub([],Te[He[2]],Te[He[1]]),Tt=i.normalize([],i.cross([],Ze,at)),At=-i.dot(Tt,Te[He[1]]);return Tt.concat(At)});return new Ll(Te,De)};var Il=function(Y,ee){this.min=Y,this.max=ee,this.center=i.scale$2([],i.add([],this.min,this.max),.5)};Il.prototype.quadrant=function(Y){for(var ee=[Y%2==0,Y<2],K=i.clone$2(this.min),le=i.clone$2(this.max),Te=0;Te=0;if(De===0)return 0;De!==ee.length&&(K=!1)}if(K)return 2;for(var Ze=0;Ze<3;Ze++){for(var at=Number.MAX_VALUE,Tt=-Number.MAX_VALUE,At=0;Atthis.max[Ze]-this.min[Ze])return 0}return 1};var po=function(Y,ee,K,le){if(Y===void 0&&(Y=0),ee===void 0&&(ee=0),K===void 0&&(K=0),le===void 0&&(le=0),isNaN(Y)||Y<0||isNaN(ee)||ee<0||isNaN(K)||K<0||isNaN(le)||le<0)throw new Error("Invalid value for edge-insets, top, bottom, left and right must all be numbers");this.top=Y,this.bottom=ee,this.left=K,this.right=le};po.prototype.interpolate=function(Y,ee,K){return ee.top!=null&&Y.top!=null&&(this.top=i.number(Y.top,ee.top,K)),ee.bottom!=null&&Y.bottom!=null&&(this.bottom=i.number(Y.bottom,ee.bottom,K)),ee.left!=null&&Y.left!=null&&(this.left=i.number(Y.left,ee.left,K)),ee.right!=null&&Y.right!=null&&(this.right=i.number(Y.right,ee.right,K)),this},po.prototype.getCenter=function(Y,ee){var K=i.clamp((this.left+Y-this.right)/2,0,Y),le=i.clamp((this.top+ee-this.bottom)/2,0,ee);return new i.Point(K,le)},po.prototype.equals=function(Y){return this.top===Y.top&&this.bottom===Y.bottom&&this.left===Y.left&&this.right===Y.right},po.prototype.clone=function(){return new po(this.top,this.bottom,this.left,this.right)},po.prototype.toJSON=function(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}};var Oi=function(Y,ee,K,le,Te){this.tileSize=512,this.maxValidLatitude=85.051129,this._renderWorldCopies=Te===void 0||Te,this._minZoom=Y||0,this._maxZoom=ee||22,this._minPitch=K??0,this._maxPitch=le??60,this.setMaxBounds(),this.width=0,this.height=0,this._center=new i.LngLat(0,0),this.zoom=0,this.angle=0,this._fov=.6435011087932844,this._pitch=0,this._unmodified=!0,this._edgeInsets=new po,this._posMatrixCache={},this._alignedPosMatrixCache={}},Bi={minZoom:{configurable:!0},maxZoom:{configurable:!0},minPitch:{configurable:!0},maxPitch:{configurable:!0},renderWorldCopies:{configurable:!0},worldSize:{configurable:!0},centerOffset:{configurable:!0},size:{configurable:!0},bearing:{configurable:!0},pitch:{configurable:!0},fov:{configurable:!0},zoom:{configurable:!0},center:{configurable:!0},padding:{configurable:!0},centerPoint:{configurable:!0},unmodified:{configurable:!0},point:{configurable:!0}};Oi.prototype.clone=function(){var Y=new Oi(this._minZoom,this._maxZoom,this._minPitch,this.maxPitch,this._renderWorldCopies);return Y.tileSize=this.tileSize,Y.latRange=this.latRange,Y.width=this.width,Y.height=this.height,Y._center=this._center,Y.zoom=this.zoom,Y.angle=this.angle,Y._fov=this._fov,Y._pitch=this._pitch,Y._unmodified=this._unmodified,Y._edgeInsets=this._edgeInsets.clone(),Y._calcMatrices(),Y},Bi.minZoom.get=function(){return this._minZoom},Bi.minZoom.set=function(Y){this._minZoom!==Y&&(this._minZoom=Y,this.zoom=Math.max(this.zoom,Y))},Bi.maxZoom.get=function(){return this._maxZoom},Bi.maxZoom.set=function(Y){this._maxZoom!==Y&&(this._maxZoom=Y,this.zoom=Math.min(this.zoom,Y))},Bi.minPitch.get=function(){return this._minPitch},Bi.minPitch.set=function(Y){this._minPitch!==Y&&(this._minPitch=Y,this.pitch=Math.max(this.pitch,Y))},Bi.maxPitch.get=function(){return this._maxPitch},Bi.maxPitch.set=function(Y){this._maxPitch!==Y&&(this._maxPitch=Y,this.pitch=Math.min(this.pitch,Y))},Bi.renderWorldCopies.get=function(){return this._renderWorldCopies},Bi.renderWorldCopies.set=function(Y){Y===void 0?Y=!0:Y===null&&(Y=!1),this._renderWorldCopies=Y},Bi.worldSize.get=function(){return this.tileSize*this.scale},Bi.centerOffset.get=function(){return this.centerPoint._sub(this.size._div(2))},Bi.size.get=function(){return new i.Point(this.width,this.height)},Bi.bearing.get=function(){return-this.angle/Math.PI*180},Bi.bearing.set=function(Y){var ee=-i.wrap(Y,-180,180)*Math.PI/180;this.angle!==ee&&(this._unmodified=!1,this.angle=ee,this._calcMatrices(),this.rotationMatrix=i.create$2(),i.rotate(this.rotationMatrix,this.rotationMatrix,this.angle))},Bi.pitch.get=function(){return this._pitch/Math.PI*180},Bi.pitch.set=function(Y){var ee=i.clamp(Y,this.minPitch,this.maxPitch)/180*Math.PI;this._pitch!==ee&&(this._unmodified=!1,this._pitch=ee,this._calcMatrices())},Bi.fov.get=function(){return this._fov/Math.PI*180},Bi.fov.set=function(Y){Y=Math.max(.01,Math.min(60,Y)),this._fov!==Y&&(this._unmodified=!1,this._fov=Y/180*Math.PI,this._calcMatrices())},Bi.zoom.get=function(){return this._zoom},Bi.zoom.set=function(Y){var ee=Math.min(Math.max(Y,this.minZoom),this.maxZoom);this._zoom!==ee&&(this._unmodified=!1,this._zoom=ee,this.scale=this.zoomScale(ee),this.tileZoom=Math.floor(ee),this.zoomFraction=ee-this.tileZoom,this._constrain(),this._calcMatrices())},Bi.center.get=function(){return this._center},Bi.center.set=function(Y){Y.lat===this._center.lat&&Y.lng===this._center.lng||(this._unmodified=!1,this._center=Y,this._constrain(),this._calcMatrices())},Bi.padding.get=function(){return this._edgeInsets.toJSON()},Bi.padding.set=function(Y){this._edgeInsets.equals(Y)||(this._unmodified=!1,this._edgeInsets.interpolate(this._edgeInsets,Y,1),this._calcMatrices())},Bi.centerPoint.get=function(){return this._edgeInsets.getCenter(this.width,this.height)},Oi.prototype.isPaddingEqual=function(Y){return this._edgeInsets.equals(Y)},Oi.prototype.interpolatePadding=function(Y,ee,K){this._unmodified=!1,this._edgeInsets.interpolate(Y,ee,K),this._constrain(),this._calcMatrices()},Oi.prototype.coveringZoomLevel=function(Y){var ee=(Y.roundZoom?Math.round:Math.floor)(this.zoom+this.scaleZoom(this.tileSize/Y.tileSize));return Math.max(0,ee)},Oi.prototype.getVisibleUnwrappedCoordinates=function(Y){var ee=[new i.UnwrappedTileID(0,Y)];if(this._renderWorldCopies)for(var K=this.pointCoordinate(new i.Point(0,0)),le=this.pointCoordinate(new i.Point(this.width,0)),Te=this.pointCoordinate(new i.Point(this.width,this.height)),De=this.pointCoordinate(new i.Point(0,this.height)),He=Math.floor(Math.min(K.x,le.x,Te.x,De.x)),Ze=Math.floor(Math.max(K.x,le.x,Te.x,De.x)),at=He-1;at<=Ze+1;at++)at!==0&&ee.push(new i.UnwrappedTileID(at,Y));return ee},Oi.prototype.coveringTiles=function(Y){var ee=this.coveringZoomLevel(Y),K=ee;if(Y.minzoom!==void 0&&eeY.maxzoom&&(ee=Y.maxzoom);var le=i.MercatorCoordinate.fromLngLat(this.center),Te=Math.pow(2,ee),De=[Te*le.x,Te*le.y,0],He=Ll.fromInvProjectionMatrix(this.invProjMatrix,this.worldSize,ee),Ze=Y.minzoom||0;this.pitch<=60&&this._edgeInsets.top<.1&&(Ze=ee);var at=function(tn){return{aabb:new Il([tn*Te,0,0],[(tn+1)*Te,Te,0]),zoom:0,x:0,y:0,wrap:tn,fullyVisible:!1}},Tt=[],At=[],se=ee,ve=Y.reparseOverscaled?K:ee;if(this._renderWorldCopies)for(var Ie=1;Ie<=3;Ie++)Tt.push(at(-Ie)),Tt.push(at(Ie));for(Tt.push(at(0));Tt.length>0;){var Fe=Tt.pop(),Ue=Fe.x,We=Fe.y,Xe=Fe.fullyVisible;if(!Xe){var tt=Fe.aabb.intersects(He);if(tt===0)continue;Xe=tt===2}var lt=Fe.aabb.distanceX(De),mt=Fe.aabb.distanceY(De),zt=Math.max(Math.abs(lt),Math.abs(mt)),Ut=3+(1<Ut&&Fe.zoom>=Ze)At.push({tileID:new i.OverscaledTileID(Fe.zoom===se?ve:Fe.zoom,Fe.wrap,Fe.zoom,Ue,We),distanceSq:i.sqrLen([De[0]-.5-Ue,De[1]-.5-We])});else for(var Ht=0;Ht<4;Ht++){var en=(Ue<<1)+Ht%2,vn=(We<<1)+(Ht>>1);Tt.push({aabb:Fe.aabb.quadrant(Ht),zoom:Fe.zoom+1,x:en,y:vn,wrap:Fe.wrap,fullyVisible:Xe})}}return At.sort(function(tn,ln){return tn.distanceSq-ln.distanceSq}).map(function(tn){return tn.tileID})},Oi.prototype.resize=function(Y,ee){this.width=Y,this.height=ee,this.pixelsToGLUnits=[2/Y,-2/ee],this._constrain(),this._calcMatrices()},Bi.unmodified.get=function(){return this._unmodified},Oi.prototype.zoomScale=function(Y){return Math.pow(2,Y)},Oi.prototype.scaleZoom=function(Y){return Math.log(Y)/Math.LN2},Oi.prototype.project=function(Y){var ee=i.clamp(Y.lat,-this.maxValidLatitude,this.maxValidLatitude);return new i.Point(i.mercatorXfromLng(Y.lng)*this.worldSize,i.mercatorYfromLat(ee)*this.worldSize)},Oi.prototype.unproject=function(Y){return new i.MercatorCoordinate(Y.x/this.worldSize,Y.y/this.worldSize).toLngLat()},Bi.point.get=function(){return this.project(this.center)},Oi.prototype.setLocationAtPoint=function(Y,ee){var K=this.pointCoordinate(ee),le=this.pointCoordinate(this.centerPoint),Te=this.locationCoordinate(Y),De=new i.MercatorCoordinate(Te.x-(K.x-le.x),Te.y-(K.y-le.y));this.center=this.coordinateLocation(De),this._renderWorldCopies&&(this.center=this.center.wrap())},Oi.prototype.locationPoint=function(Y){return this.coordinatePoint(this.locationCoordinate(Y))},Oi.prototype.pointLocation=function(Y){return this.coordinateLocation(this.pointCoordinate(Y))},Oi.prototype.locationCoordinate=function(Y){return i.MercatorCoordinate.fromLngLat(Y)},Oi.prototype.coordinateLocation=function(Y){return Y.toLngLat()},Oi.prototype.pointCoordinate=function(Y){var ee=[Y.x,Y.y,0,1],K=[Y.x,Y.y,1,1];i.transformMat4(ee,ee,this.pixelMatrixInverse),i.transformMat4(K,K,this.pixelMatrixInverse);var le=ee[3],Te=K[3],De=ee[0]/le,He=K[0]/Te,Ze=ee[1]/le,at=K[1]/Te,Tt=ee[2]/le,At=K[2]/Te,se=Tt===At?0:(0-Tt)/(At-Tt);return new i.MercatorCoordinate(i.number(De,He,se)/this.worldSize,i.number(Ze,at,se)/this.worldSize)},Oi.prototype.coordinatePoint=function(Y){var ee=[Y.x*this.worldSize,Y.y*this.worldSize,0,1];return i.transformMat4(ee,ee,this.pixelMatrix),new i.Point(ee[0]/ee[3],ee[1]/ee[3])},Oi.prototype.getBounds=function(){return new i.LngLatBounds().extend(this.pointLocation(new i.Point(0,0))).extend(this.pointLocation(new i.Point(this.width,0))).extend(this.pointLocation(new i.Point(this.width,this.height))).extend(this.pointLocation(new i.Point(0,this.height)))},Oi.prototype.getMaxBounds=function(){return this.latRange&&this.latRange.length===2&&this.lngRange&&this.lngRange.length===2?new i.LngLatBounds([this.lngRange[0],this.latRange[0]],[this.lngRange[1],this.latRange[1]]):null},Oi.prototype.setMaxBounds=function(Y){Y?(this.lngRange=[Y.getWest(),Y.getEast()],this.latRange=[Y.getSouth(),Y.getNorth()],this._constrain()):(this.lngRange=null,this.latRange=[-this.maxValidLatitude,this.maxValidLatitude])},Oi.prototype.calculatePosMatrix=function(Y,ee){ee===void 0&&(ee=!1);var K=Y.key,le=ee?this._alignedPosMatrixCache:this._posMatrixCache;if(le[K])return le[K];var Te=Y.canonical,De=this.worldSize/this.zoomScale(Te.z),He=Te.x+Math.pow(2,Te.z)*Y.wrap,Ze=i.identity(new Float64Array(16));return i.translate(Ze,Ze,[He*De,Te.y*De,0]),i.scale(Ze,Ze,[De/i.EXTENT,De/i.EXTENT,1]),i.multiply(Ze,ee?this.alignedProjMatrix:this.projMatrix,Ze),le[K]=new Float32Array(Ze),le[K]},Oi.prototype.customLayerMatrix=function(){return this.mercatorMatrix.slice()},Oi.prototype._constrain=function(){if(this.center&&this.width&&this.height&&!this._constraining){this._constraining=!0;var Y,ee,K,le,Te=-90,De=90,He=-180,Ze=180,at=this.size,Tt=this._unmodified;if(this.latRange){var At=this.latRange;Te=i.mercatorYfromLat(At[1])*this.worldSize,Y=(De=i.mercatorYfromLat(At[0])*this.worldSize)-TeDe&&(le=De-Ue)}if(this.lngRange){var We=ve.x,Xe=at.x/2;We-XeZe&&(K=Ze-Xe)}K===void 0&&le===void 0||(this.center=this.unproject(new i.Point(K!==void 0?K:ve.x,le!==void 0?le:ve.y))),this._unmodified=Tt,this._constraining=!1}},Oi.prototype._calcMatrices=function(){if(this.height){var Y=this._fov/2,ee=this.centerOffset;this.cameraToCenterDistance=.5/Math.tan(Y)*this.height;var K=Math.PI/2+this._pitch,le=this._fov*(.5+ee.y/this.height),Te=Math.sin(le)*this.cameraToCenterDistance/Math.sin(i.clamp(Math.PI-K-le,.01,Math.PI-.01)),De=this.point,He=De.x,Ze=De.y,at=1.01*(Math.cos(Math.PI/2-this._pitch)*Te+this.cameraToCenterDistance),Tt=this.height/50,At=new Float64Array(16);i.perspective(At,this._fov,this.width/this.height,Tt,at),At[8]=2*-ee.x/this.width,At[9]=2*ee.y/this.height,i.scale(At,At,[1,-1,1]),i.translate(At,At,[0,0,-this.cameraToCenterDistance]),i.rotateX(At,At,this._pitch),i.rotateZ(At,At,this.angle),i.translate(At,At,[-He,-Ze,0]),this.mercatorMatrix=i.scale([],At,[this.worldSize,this.worldSize,this.worldSize]),i.scale(At,At,[1,1,i.mercatorZfromAltitude(1,this.center.lat)*this.worldSize,1]),this.projMatrix=At,this.invProjMatrix=i.invert([],this.projMatrix);var se=this.width%2/2,ve=this.height%2/2,Ie=Math.cos(this.angle),Fe=Math.sin(this.angle),Ue=He-Math.round(He)+Ie*se+Fe*ve,We=Ze-Math.round(Ze)+Ie*ve+Fe*se,Xe=new Float64Array(At);if(i.translate(Xe,Xe,[Ue>.5?Ue-1:Ue,We>.5?We-1:We,0]),this.alignedProjMatrix=Xe,At=i.create(),i.scale(At,At,[this.width/2,-this.height/2,1]),i.translate(At,At,[1,-1,0]),this.labelPlaneMatrix=At,At=i.create(),i.scale(At,At,[1,-1,1]),i.translate(At,At,[-1,-1,0]),i.scale(At,At,[2/this.width,2/this.height,1]),this.glCoordMatrix=At,this.pixelMatrix=i.multiply(new Float64Array(16),this.labelPlaneMatrix,this.projMatrix),!(At=i.invert(new Float64Array(16),this.pixelMatrix)))throw new Error("failed to invert matrix");this.pixelMatrixInverse=At,this._posMatrixCache={},this._alignedPosMatrixCache={}}},Oi.prototype.maxPitchScaleFactor=function(){if(!this.pixelMatrixInverse)return 1;var Y=this.pointCoordinate(new i.Point(0,0)),ee=[Y.x*this.worldSize,Y.y*this.worldSize,0,1];return i.transformMat4(ee,ee,this.pixelMatrix)[3]/this.cameraToCenterDistance},Oi.prototype.getCameraPoint=function(){var Y=this._pitch,ee=Math.tan(Y)*(this.cameraToCenterDistance||1);return this.centerPoint.add(new i.Point(0,ee))},Oi.prototype.getCameraQueryGeometry=function(Y){var ee=this.getCameraPoint();if(Y.length===1)return[Y[0],ee];for(var K=ee.x,le=ee.y,Te=ee.x,De=ee.y,He=0,Ze=Y;He=3&&!Y.some(function(K){return isNaN(K)})){var ee=this._map.dragRotate.isEnabled()&&this._map.touchZoomRotate.isEnabled()?+(Y[3]||0):this._map.getBearing();return this._map.jumpTo({center:[+Y[2],+Y[1]],zoom:+Y[0],bearing:ee,pitch:+(Y[4]||0)}),!0}return!1},ol.prototype._updateHashUnthrottled=function(){var Y=this.getHashString();try{i.window.history.replaceState(i.window.history.state,"",Y)}catch{}};var Us={linearity:.3,easing:i.bezier(0,0,.3,1)},Gc=i.extend({deceleration:2500,maxSpeed:1400},Us),Oh=i.extend({deceleration:20,maxSpeed:1400},Us),au=i.extend({deceleration:1e3,maxSpeed:360},Us),Dh=i.extend({deceleration:1e3,maxSpeed:90},Us),ou=function(Y){this._map=Y,this.clear()};function sl(Y,ee){(!Y.duration||Y.duration0&&ee-Y[0].time>160;)Y.shift()},ou.prototype._onMoveEnd=function(Y){if(this._drainInertiaBuffer(),!(this._inertiaBuffer.length<2)){for(var ee={zoom:0,bearing:0,pitch:0,pan:new i.Point(0,0),pinchAround:void 0,around:void 0},K=0,le=this._inertiaBuffer;K=this._clickTolerance||this._map.fire(new da(Y.type,this._map,Y))},Ha.prototype.dblclick=function(Y){return this._firePreventable(new da(Y.type,this._map,Y))},Ha.prototype.mouseover=function(Y){this._map.fire(new da(Y.type,this._map,Y))},Ha.prototype.mouseout=function(Y){this._map.fire(new da(Y.type,this._map,Y))},Ha.prototype.touchstart=function(Y){return this._firePreventable(new Hs(Y.type,this._map,Y))},Ha.prototype.touchmove=function(Y){this._map.fire(new Hs(Y.type,this._map,Y))},Ha.prototype.touchend=function(Y){this._map.fire(new Hs(Y.type,this._map,Y))},Ha.prototype.touchcancel=function(Y){this._map.fire(new Hs(Y.type,this._map,Y))},Ha.prototype._firePreventable=function(Y){if(this._map.fire(Y),Y.defaultPrevented)return{}},Ha.prototype.isEnabled=function(){return!0},Ha.prototype.isActive=function(){return!1},Ha.prototype.enable=function(){},Ha.prototype.disable=function(){};var mo=function(Y){this._map=Y};mo.prototype.reset=function(){this._delayContextMenu=!1,delete this._contextMenuEvent},mo.prototype.mousemove=function(Y){this._map.fire(new da(Y.type,this._map,Y))},mo.prototype.mousedown=function(){this._delayContextMenu=!0},mo.prototype.mouseup=function(){this._delayContextMenu=!1,this._contextMenuEvent&&(this._map.fire(new da("contextmenu",this._map,this._contextMenuEvent)),delete this._contextMenuEvent)},mo.prototype.contextmenu=function(Y){this._delayContextMenu?this._contextMenuEvent=Y:this._map.fire(new da(Y.type,this._map,Y)),this._map.listens("contextmenu")&&Y.preventDefault()},mo.prototype.isEnabled=function(){return!0},mo.prototype.isActive=function(){return!1},mo.prototype.enable=function(){},mo.prototype.disable=function(){};var go=function(Y,ee){this._map=Y,this._el=Y.getCanvasContainer(),this._container=Y.getContainer(),this._clickTolerance=ee.clickTolerance||1};function co(Y,ee){for(var K={},le=0;lethis.numTouches)&&(this.aborted=!0),this.aborted||(this.startTime===void 0&&(this.startTime=Y.timeStamp),K.length===this.numTouches&&(this.centroid=function(le){for(var Te=new i.Point(0,0),De=0,He=le;De30)&&(this.aborted=!0)}}},zo.prototype.touchend=function(Y,ee,K){if((!this.centroid||Y.timeStamp-this.startTime>500)&&(this.aborted=!0),K.length===0){var le=!this.aborted&&this.centroid;if(this.reset(),le)return le}};var Rl=function(Y){this.singleTap=new zo(Y),this.numTaps=Y.numTaps,this.reset()};Rl.prototype.reset=function(){this.lastTime=1/0,delete this.lastTap,this.count=0,this.singleTap.reset()},Rl.prototype.touchstart=function(Y,ee,K){this.singleTap.touchstart(Y,ee,K)},Rl.prototype.touchmove=function(Y,ee,K){this.singleTap.touchmove(Y,ee,K)},Rl.prototype.touchend=function(Y,ee,K){var le=this.singleTap.touchend(Y,ee,K);if(le){var Te=Y.timeStamp-this.lastTime<500,De=!this.lastTap||this.lastTap.dist(le)<30;if(Te&&De||this.reset(),this.count++,this.lastTime=Y.timeStamp,this.lastTap=le,this.count===this.numTaps)return this.reset(),le}};var vs=function(){this._zoomIn=new Rl({numTouches:1,numTaps:2}),this._zoomOut=new Rl({numTouches:2,numTaps:1}),this.reset()};vs.prototype.reset=function(){this._active=!1,this._zoomIn.reset(),this._zoomOut.reset()},vs.prototype.touchstart=function(Y,ee,K){this._zoomIn.touchstart(Y,ee,K),this._zoomOut.touchstart(Y,ee,K)},vs.prototype.touchmove=function(Y,ee,K){this._zoomIn.touchmove(Y,ee,K),this._zoomOut.touchmove(Y,ee,K)},vs.prototype.touchend=function(Y,ee,K){var le=this,Te=this._zoomIn.touchend(Y,ee,K),De=this._zoomOut.touchend(Y,ee,K);return Te?(this._active=!0,Y.preventDefault(),setTimeout(function(){return le.reset()},0),{cameraAnimation:function(He){return He.easeTo({duration:300,zoom:He.getZoom()+1,around:He.unproject(Te)},{originalEvent:Y})}}):De?(this._active=!0,Y.preventDefault(),setTimeout(function(){return le.reset()},0),{cameraAnimation:function(He){return He.easeTo({duration:300,zoom:He.getZoom()-1,around:He.unproject(De)},{originalEvent:Y})}}):void 0},vs.prototype.touchcancel=function(){this.reset()},vs.prototype.enable=function(){this._enabled=!0},vs.prototype.disable=function(){this._enabled=!1,this.reset()},vs.prototype.isEnabled=function(){return this._enabled},vs.prototype.isActive=function(){return this._active};var $a=function(Y){this.reset(),this._clickTolerance=Y.clickTolerance||1};$a.prototype.reset=function(){this._active=!1,this._moved=!1,delete this._lastPoint,delete this._eventButton},$a.prototype._correctButton=function(Y,ee){return!1},$a.prototype._move=function(Y,ee){return{}},$a.prototype.mousedown=function(Y,ee){if(!this._lastPoint){var K=v.mouseButton(Y);this._correctButton(Y,K)&&(this._lastPoint=ee,this._eventButton=K)}},$a.prototype.mousemoveWindow=function(Y,ee){var K=this._lastPoint;if(K&&(Y.preventDefault(),this._moved||!(ee.dist(K)0&&(this._active=!0);var le=co(K,ee),Te=new i.Point(0,0),De=new i.Point(0,0),He=0;for(var Ze in le){var at=le[Ze],Tt=this._touches[Ze];Tt&&(Te._add(at),De._add(at.sub(Tt)),He++,le[Ze]=at)}if(this._touches=le,!(HeMath.abs(Y.x)}var Br=function(Y){function ee(){Y.apply(this,arguments)}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee.prototype.reset=function(){Y.prototype.reset.call(this),this._valid=void 0,delete this._firstMove,delete this._lastPoints},ee.prototype._start=function(K){this._lastPoints=K,Bu(K[0].sub(K[1]))&&(this._valid=!1)},ee.prototype._move=function(K,le,Te){var De=K[0].sub(this._lastPoints[0]),He=K[1].sub(this._lastPoints[1]);if(this._valid=this.gestureBeginsVertically(De,He,Te.timeStamp),this._valid)return this._lastPoints=K,this._active=!0,{pitchDelta:(De.y+He.y)/2*-.5}},ee.prototype.gestureBeginsVertically=function(K,le,Te){if(this._valid!==void 0)return this._valid;var De=K.mag()>=2,He=le.mag()>=2;if(De||He){if(!De||!He)return this._firstMove===void 0&&(this._firstMove=Te),Te-this._firstMove<100&&void 0;var Ze=K.y>0==le.y>0;return Bu(K)&&Bu(le)&&Ze}},ee}(Dr),Nu={panStep:100,bearingStep:15,pitchStep:10},ys=function(){var Y=Nu;this._panStep=Y.panStep,this._bearingStep=Y.bearingStep,this._pitchStep=Y.pitchStep};function $c(Y){return Y*(2-Y)}ys.prototype.reset=function(){this._active=!1},ys.prototype.keydown=function(Y){var ee=this;if(!(Y.altKey||Y.ctrlKey||Y.metaKey)){var K=0,le=0,Te=0,De=0,He=0;switch(Y.keyCode){case 61:case 107:case 171:case 187:K=1;break;case 189:case 109:case 173:K=-1;break;case 37:Y.shiftKey?le=-1:(Y.preventDefault(),De=-1);break;case 39:Y.shiftKey?le=1:(Y.preventDefault(),De=1);break;case 38:Y.shiftKey?Te=1:(Y.preventDefault(),He=-1);break;case 40:Y.shiftKey?Te=-1:(Y.preventDefault(),He=1);break;default:return}return{cameraAnimation:function(Ze){var at=Ze.getZoom();Ze.easeTo({duration:300,easeId:"keyboardHandler",easing:$c,zoom:K?Math.round(at)+K*(Y.shiftKey?2:1):at,bearing:Ze.getBearing()+le*ee._bearingStep,pitch:Ze.getPitch()+Te*ee._pitchStep,offset:[-De*ee._panStep,-He*ee._panStep],center:Ze.getCenter()},{originalEvent:Y})}}}},ys.prototype.enable=function(){this._enabled=!0},ys.prototype.disable=function(){this._enabled=!1,this.reset()},ys.prototype.isEnabled=function(){return this._enabled},ys.prototype.isActive=function(){return this._active};var wc=4.000244140625,vo=function(Y,ee){this._map=Y,this._el=Y.getCanvasContainer(),this._handler=ee,this._delta=0,this._defaultZoomRate=.01,this._wheelZoomRate=.0022222222222222222,i.bindAll(["_onWheel","_onTimeout","_onScrollFrame","_onScrollFinished"],this)};vo.prototype.setZoomRate=function(Y){this._defaultZoomRate=Y},vo.prototype.setWheelZoomRate=function(Y){this._wheelZoomRate=Y},vo.prototype.isEnabled=function(){return!!this._enabled},vo.prototype.isActive=function(){return!!this._active||this._finishTimeout!==void 0},vo.prototype.isZooming=function(){return!!this._zooming},vo.prototype.enable=function(Y){this.isEnabled()||(this._enabled=!0,this._aroundCenter=Y&&Y.around==="center")},vo.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},vo.prototype.wheel=function(Y){if(this.isEnabled()){var ee=Y.deltaMode===i.window.WheelEvent.DOM_DELTA_LINE?40*Y.deltaY:Y.deltaY,K=i.browser.now(),le=K-(this._lastWheelEventTime||0);this._lastWheelEventTime=K,ee!==0&&ee%wc==0?this._type="wheel":ee!==0&&Math.abs(ee)<4?this._type="trackpad":le>400?(this._type=null,this._lastValue=ee,this._timeout=setTimeout(this._onTimeout,40,Y)):this._type||(this._type=Math.abs(le*ee)<200?"trackpad":"wheel",this._timeout&&(clearTimeout(this._timeout),this._timeout=null,ee+=this._lastValue)),Y.shiftKey&&ee&&(ee/=4),this._type&&(this._lastWheelEvent=Y,this._delta-=ee,this._active||this._start(Y)),Y.preventDefault()}},vo.prototype._onTimeout=function(Y){this._type="wheel",this._delta-=this._lastValue,this._active||this._start(Y)},vo.prototype._start=function(Y){if(this._delta){this._frameId&&(this._frameId=null),this._active=!0,this.isZooming()||(this._zooming=!0),this._finishTimeout&&(clearTimeout(this._finishTimeout),delete this._finishTimeout);var ee=v.mousePos(this._el,Y);this._around=i.LngLat.convert(this._aroundCenter?this._map.getCenter():this._map.unproject(ee)),this._aroundPoint=this._map.transform.locationPoint(this._around),this._frameId||(this._frameId=!0,this._handler._triggerRenderFrame())}},vo.prototype.renderFrame=function(){return this._onScrollFrame()},vo.prototype._onScrollFrame=function(){var Y=this;if(this._frameId&&(this._frameId=null,this.isActive())){var ee=this._map.transform;if(this._delta!==0){var K=this._type==="wheel"&&Math.abs(this._delta)>wc?this._wheelZoomRate:this._defaultZoomRate,le=2/(1+Math.exp(-Math.abs(this._delta*K)));this._delta<0&&le!==0&&(le=1/le);var Te=typeof this._targetZoom=="number"?ee.zoomScale(this._targetZoom):ee.scale;this._targetZoom=Math.min(ee.maxZoom,Math.max(ee.minZoom,ee.scaleZoom(Te*le))),this._type==="wheel"&&(this._startZoom=ee.zoom,this._easing=this._smoothOutEasing(200)),this._delta=0}var De,He=typeof this._targetZoom=="number"?this._targetZoom:ee.zoom,Ze=this._startZoom,at=this._easing,Tt=!1;if(this._type==="wheel"&&Ze&&at){var At=Math.min((i.browser.now()-this._lastWheelEventTime)/200,1),se=at(At);De=i.number(Ze,He,se),At<1?this._frameId||(this._frameId=!0):Tt=!0}else De=He,Tt=!0;return this._active=!0,Tt&&(this._active=!1,this._finishTimeout=setTimeout(function(){Y._zooming=!1,Y._handler._triggerRenderFrame(),delete Y._targetZoom,delete Y._finishTimeout},200)),{noInertia:!0,needsRenderFrame:!Tt,zoomDelta:De-ee.zoom,around:this._aroundPoint,originalEvent:this._lastWheelEvent}}},vo.prototype._smoothOutEasing=function(Y){var ee=i.ease;if(this._prevEase){var K=this._prevEase,le=(i.browser.now()-K.start)/K.duration,Te=K.easing(le+.01)-K.easing(le),De=.27/Math.sqrt(Te*Te+1e-4)*.01,He=Math.sqrt(.0729-De*De);ee=i.bezier(De,He,.25,1)}return this._prevEase={start:i.browser.now(),duration:Y,easing:ee},ee},vo.prototype.reset=function(){this._active=!1};var cu=function(Y,ee){this._clickZoom=Y,this._tapZoom=ee};cu.prototype.enable=function(){this._clickZoom.enable(),this._tapZoom.enable()},cu.prototype.disable=function(){this._clickZoom.disable(),this._tapZoom.disable()},cu.prototype.isEnabled=function(){return this._clickZoom.isEnabled()&&this._tapZoom.isEnabled()},cu.prototype.isActive=function(){return this._clickZoom.isActive()||this._tapZoom.isActive()};var ll=function(){this.reset()};ll.prototype.reset=function(){this._active=!1},ll.prototype.dblclick=function(Y,ee){return Y.preventDefault(),{cameraAnimation:function(K){K.easeTo({duration:300,zoom:K.getZoom()+(Y.shiftKey?-1:1),around:K.unproject(ee)},{originalEvent:Y})}}},ll.prototype.enable=function(){this._enabled=!0},ll.prototype.disable=function(){this._enabled=!1,this.reset()},ll.prototype.isEnabled=function(){return this._enabled},ll.prototype.isActive=function(){return this._active};var Zo=function(){this._tap=new Rl({numTouches:1,numTaps:1}),this.reset()};Zo.prototype.reset=function(){this._active=!1,delete this._swipePoint,delete this._swipeTouch,delete this._tapTime,this._tap.reset()},Zo.prototype.touchstart=function(Y,ee,K){this._swipePoint||(this._tapTime&&Y.timeStamp-this._tapTime>500&&this.reset(),this._tapTime?K.length>0&&(this._swipePoint=ee[0],this._swipeTouch=K[0].identifier):this._tap.touchstart(Y,ee,K))},Zo.prototype.touchmove=function(Y,ee,K){if(this._tapTime){if(this._swipePoint){if(K[0].identifier!==this._swipeTouch)return;var le=ee[0],Te=le.y-this._swipePoint.y;return this._swipePoint=le,Y.preventDefault(),this._active=!0,{zoomDelta:Te/128}}}else this._tap.touchmove(Y,ee,K)},Zo.prototype.touchend=function(Y,ee,K){this._tapTime?this._swipePoint&&K.length===0&&this.reset():this._tap.touchend(Y,ee,K)&&(this._tapTime=Y.timeStamp)},Zo.prototype.touchcancel=function(){this.reset()},Zo.prototype.enable=function(){this._enabled=!0},Zo.prototype.disable=function(){this._enabled=!1,this.reset()},Zo.prototype.isEnabled=function(){return this._enabled},Zo.prototype.isActive=function(){return this._active};var Pl=function(Y,ee,K){this._el=Y,this._mousePan=ee,this._touchPan=K};Pl.prototype.enable=function(Y){this._inertiaOptions=Y||{},this._mousePan.enable(),this._touchPan.enable(),this._el.classList.add("mapboxgl-touch-drag-pan")},Pl.prototype.disable=function(){this._mousePan.disable(),this._touchPan.disable(),this._el.classList.remove("mapboxgl-touch-drag-pan")},Pl.prototype.isEnabled=function(){return this._mousePan.isEnabled()&&this._touchPan.isEnabled()},Pl.prototype.isActive=function(){return this._mousePan.isActive()||this._touchPan.isActive()};var Ls=function(Y,ee,K){this._pitchWithRotate=Y.pitchWithRotate,this._mouseRotate=ee,this._mousePitch=K};Ls.prototype.enable=function(){this._mouseRotate.enable(),this._pitchWithRotate&&this._mousePitch.enable()},Ls.prototype.disable=function(){this._mouseRotate.disable(),this._mousePitch.disable()},Ls.prototype.isEnabled=function(){return this._mouseRotate.isEnabled()&&(!this._pitchWithRotate||this._mousePitch.isEnabled())},Ls.prototype.isActive=function(){return this._mouseRotate.isActive()||this._mousePitch.isActive()};var bs=function(Y,ee,K,le){this._el=Y,this._touchZoom=ee,this._touchRotate=K,this._tapDragZoom=le,this._rotationDisabled=!1,this._enabled=!0};bs.prototype.enable=function(Y){this._touchZoom.enable(Y),this._rotationDisabled||this._touchRotate.enable(Y),this._tapDragZoom.enable(),this._el.classList.add("mapboxgl-touch-zoom-rotate")},bs.prototype.disable=function(){this._touchZoom.disable(),this._touchRotate.disable(),this._tapDragZoom.disable(),this._el.classList.remove("mapboxgl-touch-zoom-rotate")},bs.prototype.isEnabled=function(){return this._touchZoom.isEnabled()&&(this._rotationDisabled||this._touchRotate.isEnabled())&&this._tapDragZoom.isEnabled()},bs.prototype.isActive=function(){return this._touchZoom.isActive()||this._touchRotate.isActive()||this._tapDragZoom.isActive()},bs.prototype.disableRotation=function(){this._rotationDisabled=!0,this._touchRotate.disable()},bs.prototype.enableRotation=function(){this._rotationDisabled=!1,this._touchZoom.isEnabled()&&this._touchRotate.enable()};var hu=function(Y){return Y.zoom||Y.drag||Y.pitch||Y.rotate},yo=function(Y){function ee(){Y.apply(this,arguments)}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee}(i.Event);function xs(Y){return Y.panDelta&&Y.panDelta.mag()||Y.zoomDelta||Y.bearingDelta||Y.pitchDelta}var Yi=function(Y,ee){this._map=Y,this._el=this._map.getCanvasContainer(),this._handlers=[],this._handlersById={},this._changes=[],this._inertia=new ou(Y),this._bearingSnap=ee.bearingSnap,this._previousActiveHandlers={},this._eventsInProgress={},this._addDefaultHandlers(ee),i.bindAll(["handleEvent","handleWindowEvent"],this);var K=this._el;this._listeners=[[K,"touchstart",{passive:!1}],[K,"touchmove",{passive:!1}],[K,"touchend",void 0],[K,"touchcancel",void 0],[K,"mousedown",void 0],[K,"mousemove",void 0],[K,"mouseup",void 0],[i.window.document,"mousemove",{capture:!0}],[i.window.document,"mouseup",void 0],[K,"mouseover",void 0],[K,"mouseout",void 0],[K,"dblclick",void 0],[K,"click",void 0],[K,"keydown",{capture:!1}],[K,"keyup",void 0],[K,"wheel",{passive:!1}],[K,"contextmenu",void 0],[i.window,"blur",void 0]];for(var le=0,Te=this._listeners;leHe?Math.min(2,Ut):Math.max(.5,Ut),ln=Math.pow(tn,1-en),an=De.unproject(mt.add(zt.mult(en*ln)).mult(vn));De.setLocationAtPoint(De.renderWorldCopies?an.wrap():an,Ue)}Te._fireMoveEvents(le)},function(en){Te._afterEase(le,en)},K),this},ee.prototype._prepareEase=function(K,le,Te){Te===void 0&&(Te={}),this._moving=!0,le||Te.moving||this.fire(new i.Event("movestart",K)),this._zooming&&!Te.zooming&&this.fire(new i.Event("zoomstart",K)),this._rotating&&!Te.rotating&&this.fire(new i.Event("rotatestart",K)),this._pitching&&!Te.pitching&&this.fire(new i.Event("pitchstart",K))},ee.prototype._fireMoveEvents=function(K){this.fire(new i.Event("move",K)),this._zooming&&this.fire(new i.Event("zoom",K)),this._rotating&&this.fire(new i.Event("rotate",K)),this._pitching&&this.fire(new i.Event("pitch",K))},ee.prototype._afterEase=function(K,le){if(!this._easeId||!le||this._easeId!==le){delete this._easeId;var Te=this._zooming,De=this._rotating,He=this._pitching;this._moving=!1,this._zooming=!1,this._rotating=!1,this._pitching=!1,this._padding=!1,Te&&this.fire(new i.Event("zoomend",K)),De&&this.fire(new i.Event("rotateend",K)),He&&this.fire(new i.Event("pitchend",K)),this.fire(new i.Event("moveend",K))}},ee.prototype.flyTo=function(K,le){var Te=this;if(!K.essential&&i.browser.prefersReducedMotion){var De=i.pick(K,["center","zoom","bearing","pitch","around"]);return this.jumpTo(De,le)}this.stop(),K=i.extend({offset:[0,0],speed:1.2,curve:1.42,easing:i.ease},K);var He=this.transform,Ze=this.getZoom(),at=this.getBearing(),Tt=this.getPitch(),At=this.getPadding(),se="zoom"in K?i.clamp(+K.zoom,He.minZoom,He.maxZoom):Ze,ve="bearing"in K?this._normalizeBearing(K.bearing,at):at,Ie="pitch"in K?+K.pitch:Tt,Fe="padding"in K?K.padding:He.padding,Ue=He.zoomScale(se-Ze),We=i.Point.convert(K.offset),Xe=He.centerPoint.add(We),tt=He.pointLocation(Xe),lt=i.LngLat.convert(K.center||tt);this._normalizeCenter(lt);var mt=He.project(tt),zt=He.project(lt).sub(mt),Ut=K.curve,Ht=Math.max(He.width,He.height),en=Ht/Ue,vn=zt.mag();if("minZoom"in K){var tn=i.clamp(Math.min(K.minZoom,Ze,se),He.minZoom,He.maxZoom),ln=Ht/He.zoomScale(tn-Ze);Ut=Math.sqrt(ln/vn*2)}var an=Ut*Ut;function Cn(xr){var kr=(en*en-Ht*Ht+(xr?-1:1)*an*an*vn*vn)/(2*(xr?en:Ht)*an*vn);return Math.log(Math.sqrt(kr*kr+1)-kr)}function _n(xr){return(Math.exp(xr)-Math.exp(-xr))/2}function on(xr){return(Math.exp(xr)+Math.exp(-xr))/2}var Fn=Cn(0),Hn=function(xr){return on(Fn)/on(Fn+Ut*xr)},ir=function(xr){return Ht*((on(Fn)*(_n(kr=Fn+Ut*xr)/on(kr))-_n(Fn))/an)/vn;var kr},ar=(Cn(1)-Fn)/Ut;if(Math.abs(vn)<1e-6||!isFinite(ar)){if(Math.abs(Ht-en)<1e-6)return this.easeTo(K,le);var Mr=enK.maxDuration&&(K.duration=0),this._zooming=!0,this._rotating=at!==ve,this._pitching=Ie!==Tt,this._padding=!He.isPaddingEqual(Fe),this._prepareEase(le,!1),this._ease(function(xr){var kr=xr*ar,jr=1/Hn(kr);He.zoom=xr===1?se:Ze+He.scaleZoom(jr),Te._rotating&&(He.bearing=i.number(at,ve,xr)),Te._pitching&&(He.pitch=i.number(Tt,Ie,xr)),Te._padding&&(He.interpolatePadding(At,Fe,xr),Xe=He.centerPoint.add(We));var fi=xr===1?lt:He.unproject(mt.add(zt.mult(ir(kr))).mult(jr));He.setLocationAtPoint(He.renderWorldCopies?fi.wrap():fi,Xe),Te._fireMoveEvents(le)},function(){return Te._afterEase(le)},K),this},ee.prototype.isEasing=function(){return!!this._easeFrameId},ee.prototype.stop=function(){return this._stop()},ee.prototype._stop=function(K,le){if(this._easeFrameId&&(this._cancelRenderFrame(this._easeFrameId),delete this._easeFrameId,delete this._onEaseFrame),this._onEaseEnd){var Te=this._onEaseEnd;delete this._onEaseEnd,Te.call(this,le)}if(!K){var De=this.handlers;De&&De.stop()}return this},ee.prototype._ease=function(K,le,Te){Te.animate===!1||Te.duration===0?(K(1),le()):(this._easeStart=i.browser.now(),this._easeOptions=Te,this._onEaseFrame=K,this._onEaseEnd=le,this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback))},ee.prototype._renderFrameCallback=function(){var K=Math.min((i.browser.now()-this._easeStart)/this._easeOptions.duration,1);this._onEaseFrame(this._easeOptions.easing(K)),K<1?this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback):this.stop()},ee.prototype._normalizeBearing=function(K,le){K=i.wrap(K,-180,180);var Te=Math.abs(K-le);return Math.abs(K-360-le)180?-360:Te<-180?360:0}},ee}(i.Evented),os=function(Y){Y===void 0&&(Y={}),this.options=Y,i.bindAll(["_updateEditLink","_updateData","_updateCompact"],this)};os.prototype.getDefaultPosition=function(){return"bottom-right"},os.prototype.onAdd=function(Y){var ee=this.options&&this.options.compact;return this._map=Y,this._container=v.create("div","mapboxgl-ctrl mapboxgl-ctrl-attrib"),this._innerContainer=v.create("div","mapboxgl-ctrl-attrib-inner",this._container),ee&&this._container.classList.add("mapboxgl-compact"),this._updateAttributions(),this._updateEditLink(),this._map.on("styledata",this._updateData),this._map.on("sourcedata",this._updateData),this._map.on("moveend",this._updateEditLink),ee===void 0&&(this._map.on("resize",this._updateCompact),this._updateCompact()),this._container},os.prototype.onRemove=function(){v.remove(this._container),this._map.off("styledata",this._updateData),this._map.off("sourcedata",this._updateData),this._map.off("moveend",this._updateEditLink),this._map.off("resize",this._updateCompact),this._map=void 0,this._attribHTML=void 0},os.prototype._updateEditLink=function(){var Y=this._editLink;Y||(Y=this._editLink=this._container.querySelector(".mapbox-improve-map"));var ee=[{key:"owner",value:this.styleOwner},{key:"id",value:this.styleId},{key:"access_token",value:this._map._requestManager._customAccessToken||i.config.ACCESS_TOKEN}];if(Y){var K=ee.reduce(function(le,Te,De){return Te.value&&(le+=Te.key+"="+Te.value+(De=0)return!1;return!0})).join(" | ");He!==this._attribHTML&&(this._attribHTML=He,Y.length?(this._innerContainer.innerHTML=He,this._container.classList.remove("mapboxgl-attrib-empty")):this._container.classList.add("mapboxgl-attrib-empty"),this._editLink=null)}},os.prototype._updateCompact=function(){this._map.getCanvasContainer().offsetWidth<=640?this._container.classList.add("mapboxgl-compact"):this._container.classList.remove("mapboxgl-compact")};var _s=function(){i.bindAll(["_updateLogo"],this),i.bindAll(["_updateCompact"],this)};_s.prototype.onAdd=function(Y){this._map=Y,this._container=v.create("div","mapboxgl-ctrl");var ee=v.create("a","mapboxgl-ctrl-logo");return ee.target="_blank",ee.rel="noopener nofollow",ee.href="https://www.mapbox.com/",ee.setAttribute("aria-label",this._map._getUIString("LogoControl.Title")),ee.setAttribute("rel","noopener nofollow"),this._container.appendChild(ee),this._container.style.display="none",this._map.on("sourcedata",this._updateLogo),this._updateLogo(),this._map.on("resize",this._updateCompact),this._updateCompact(),this._container},_s.prototype.onRemove=function(){v.remove(this._container),this._map.off("sourcedata",this._updateLogo),this._map.off("resize",this._updateCompact)},_s.prototype.getDefaultPosition=function(){return"bottom-left"},_s.prototype._updateLogo=function(Y){Y&&Y.sourceDataType!=="metadata"||(this._container.style.display=this._logoRequired()?"block":"none")},_s.prototype._logoRequired=function(){if(this._map.style){var Y=this._map.style.sourceCaches;for(var ee in Y)if(Y[ee].getSource().mapbox_logo)return!0;return!1}},_s.prototype._updateCompact=function(){var Y=this._container.children;if(Y.length){var ee=Y[0];this._map.getCanvasContainer().offsetWidth<250?ee.classList.add("mapboxgl-compact"):ee.classList.remove("mapboxgl-compact")}};var Gs=function(){this._queue=[],this._id=0,this._cleared=!1,this._currentlyRunning=!1};Gs.prototype.add=function(Y){var ee=++this._id;return this._queue.push({callback:Y,id:ee,cancelled:!1}),ee},Gs.prototype.remove=function(Y){for(var ee=this._currentlyRunning,K=0,le=ee?this._queue.concat(ee):this._queue;Kle.maxZoom)throw new Error("maxZoom must be greater than or equal to minZoom");if(le.minPitch!=null&&le.maxPitch!=null&&le.minPitch>le.maxPitch)throw new Error("maxPitch must be greater than or equal to minPitch");if(le.minPitch!=null&&le.minPitch<0)throw new Error("minPitch must be greater than or equal to 0");if(le.maxPitch!=null&&le.maxPitch>No)throw new Error("maxPitch must be less than or equal to 60");var De=new Oi(le.minZoom,le.maxZoom,le.minPitch,le.maxPitch,le.renderWorldCopies);if(Y.call(this,De,le),this._interactive=le.interactive,this._maxTileCacheSize=le.maxTileCacheSize,this._failIfMajorPerformanceCaveat=le.failIfMajorPerformanceCaveat,this._preserveDrawingBuffer=le.preserveDrawingBuffer,this._antialias=le.antialias,this._trackResize=le.trackResize,this._bearingSnap=le.bearingSnap,this._refreshExpiredTiles=le.refreshExpiredTiles,this._fadeDuration=le.fadeDuration,this._crossSourceCollisions=le.crossSourceCollisions,this._crossFadingFactor=1,this._collectResourceTiming=le.collectResourceTiming,this._renderTaskQueue=new Gs,this._controls=[],this._mapId=i.uniqueId(),this._locale=i.extend({},Bo,le.locale),this._requestManager=new i.RequestManager(le.transformRequest,le.accessToken),typeof le.container=="string"){if(this._container=i.window.document.getElementById(le.container),!this._container)throw new Error("Container '"+le.container+"' not found.")}else{if(!(le.container instanceof no))throw new Error("Invalid type: 'container' must be a String or HTMLElement.");this._container=le.container}if(le.maxBounds&&this.setMaxBounds(le.maxBounds),i.bindAll(["_onWindowOnline","_onWindowResize","_contextLost","_contextRestored"],this),this._setupContainer(),this._setupPainter(),this.painter===void 0)throw new Error("Failed to initialize WebGL.");this.on("move",function(){return Te._update(!1)}),this.on("moveend",function(){return Te._update(!1)}),this.on("zoom",function(){return Te._update(!0)}),i.window!==void 0&&(i.window.addEventListener("online",this._onWindowOnline,!1),i.window.addEventListener("resize",this._onWindowResize,!1)),this.handlers=new Yi(this,le);var He=typeof le.hash=="string"&&le.hash||void 0;this._hash=le.hash&&new ol(He).addTo(this),this._hash&&this._hash._onHashChange()||(this.jumpTo({center:le.center,zoom:le.zoom,bearing:le.bearing,pitch:le.pitch}),le.bounds&&(this.resize(),this.fitBounds(le.bounds,i.extend({},le.fitBoundsOptions,{duration:0})))),this.resize(),this._localIdeographFontFamily=le.localIdeographFontFamily,le.style&&this.setStyle(le.style,{localIdeographFontFamily:le.localIdeographFontFamily}),le.attributionControl&&this.addControl(new os({customAttribution:le.customAttribution})),this.addControl(new _s,le.logoPosition),this.on("style.load",function(){Te.transform.unmodified&&Te.jumpTo(Te.style.stylesheet)}),this.on("data",function(Ze){Te._update(Ze.dataType==="style"),Te.fire(new i.Event(Ze.dataType+"data",Ze))}),this.on("dataloading",function(Ze){Te.fire(new i.Event(Ze.dataType+"dataloading",Ze))})}Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee;var K={showTileBoundaries:{configurable:!0},showPadding:{configurable:!0},showCollisionBoxes:{configurable:!0},showOverdrawInspector:{configurable:!0},repaint:{configurable:!0},vertices:{configurable:!0},version:{configurable:!0}};return ee.prototype._getMapId=function(){return this._mapId},ee.prototype.addControl=function(le,Te){if(Te===void 0&&le.getDefaultPosition&&(Te=le.getDefaultPosition()),Te===void 0&&(Te="top-right"),!le||!le.onAdd)return this.fire(new i.ErrorEvent(new Error("Invalid argument to map.addControl(). Argument must be a control with onAdd and onRemove methods.")));var De=le.onAdd(this);this._controls.push(le);var He=this._controlPositions[Te];return Te.indexOf("bottom")!==-1?He.insertBefore(De,He.firstChild):He.appendChild(De),this},ee.prototype.removeControl=function(le){if(!le||!le.onRemove)return this.fire(new i.ErrorEvent(new Error("Invalid argument to map.removeControl(). Argument must be a control with onAdd and onRemove methods.")));var Te=this._controls.indexOf(le);return Te>-1&&this._controls.splice(Te,1),le.onRemove(this),this},ee.prototype.resize=function(le){var Te=this._containerDimensions(),De=Te[0],He=Te[1];this._resizeCanvas(De,He),this.transform.resize(De,He),this.painter.resize(De,He);var Ze=!this._moving;return Ze&&(this.stop(),this.fire(new i.Event("movestart",le)).fire(new i.Event("move",le))),this.fire(new i.Event("resize",le)),Ze&&this.fire(new i.Event("moveend",le)),this},ee.prototype.getBounds=function(){return this.transform.getBounds()},ee.prototype.getMaxBounds=function(){return this.transform.getMaxBounds()},ee.prototype.setMaxBounds=function(le){return this.transform.setMaxBounds(i.LngLatBounds.convert(le)),this._update()},ee.prototype.setMinZoom=function(le){if((le=le??-2)>=-2&&le<=this.transform.maxZoom)return this.transform.minZoom=le,this._update(),this.getZoom()=this.transform.minZoom)return this.transform.maxZoom=le,this._update(),this.getZoom()>le&&this.setZoom(le),this;throw new Error("maxZoom must be greater than the current minZoom")},ee.prototype.getMaxZoom=function(){return this.transform.maxZoom},ee.prototype.setMinPitch=function(le){if((le=le??0)<0)throw new Error("minPitch must be greater than or equal to 0");if(le>=0&&le<=this.transform.maxPitch)return this.transform.minPitch=le,this._update(),this.getPitch()No)throw new Error("maxPitch must be less than or equal to 60");if(le>=this.transform.minPitch)return this.transform.maxPitch=le,this._update(),this.getPitch()>le&&this.setPitch(le),this;throw new Error("maxPitch must be greater than the current minPitch")},ee.prototype.getMaxPitch=function(){return this.transform.maxPitch},ee.prototype.getRenderWorldCopies=function(){return this.transform.renderWorldCopies},ee.prototype.setRenderWorldCopies=function(le){return this.transform.renderWorldCopies=le,this._update()},ee.prototype.project=function(le){return this.transform.locationPoint(i.LngLat.convert(le))},ee.prototype.unproject=function(le){return this.transform.pointLocation(i.Point.convert(le))},ee.prototype.isMoving=function(){return this._moving||this.handlers.isMoving()},ee.prototype.isZooming=function(){return this._zooming||this.handlers.isZooming()},ee.prototype.isRotating=function(){return this._rotating||this.handlers.isRotating()},ee.prototype._createDelegatedListener=function(le,Te,De){var He,Ze=this;if(le==="mouseenter"||le==="mouseover"){var at=!1;return{layer:Te,listener:De,delegates:{mousemove:function(At){var se=Ze.getLayer(Te)?Ze.queryRenderedFeatures(At.point,{layers:[Te]}):[];se.length?at||(at=!0,De.call(Ze,new da(le,Ze,At.originalEvent,{features:se}))):at=!1},mouseout:function(){at=!1}}}}if(le==="mouseleave"||le==="mouseout"){var Tt=!1;return{layer:Te,listener:De,delegates:{mousemove:function(At){(Ze.getLayer(Te)?Ze.queryRenderedFeatures(At.point,{layers:[Te]}):[]).length?Tt=!0:Tt&&(Tt=!1,De.call(Ze,new da(le,Ze,At.originalEvent)))},mouseout:function(At){Tt&&(Tt=!1,De.call(Ze,new da(le,Ze,At.originalEvent)))}}}}return{layer:Te,listener:De,delegates:(He={},He[le]=function(At){var se=Ze.getLayer(Te)?Ze.queryRenderedFeatures(At.point,{layers:[Te]}):[];se.length&&(At.features=se,De.call(Ze,At),delete At.features)},He)}},ee.prototype.on=function(le,Te,De){if(De===void 0)return Y.prototype.on.call(this,le,Te);var He=this._createDelegatedListener(le,Te,De);for(var Ze in this._delegatedListeners=this._delegatedListeners||{},this._delegatedListeners[le]=this._delegatedListeners[le]||[],this._delegatedListeners[le].push(He),He.delegates)this.on(Ze,He.delegates[Ze]);return this},ee.prototype.once=function(le,Te,De){if(De===void 0)return Y.prototype.once.call(this,le,Te);var He=this._createDelegatedListener(le,Te,De);for(var Ze in He.delegates)this.once(Ze,He.delegates[Ze]);return this},ee.prototype.off=function(le,Te,De){var He=this;return De===void 0?Y.prototype.off.call(this,le,Te):(this._delegatedListeners&&this._delegatedListeners[le]&&function(Ze){for(var at=Ze[le],Tt=0;Tt180;){var He=K.locationPoint(Y);if(He.x>=0&&He.y>=0&&He.x<=K.width&&He.y<=K.height)break;Y.lng>K.center.lng?Y.lng-=360:Y.lng+=360}return Y}Hr.prototype.down=function(Y,ee){this.mouseRotate.mousedown(Y,ee),this.mousePitch&&this.mousePitch.mousedown(Y,ee),v.disableDrag()},Hr.prototype.move=function(Y,ee){var K=this.map,le=this.mouseRotate.mousemoveWindow(Y,ee);if(le&&le.bearingDelta&&K.setBearing(K.getBearing()+le.bearingDelta),this.mousePitch){var Te=this.mousePitch.mousemoveWindow(Y,ee);Te&&Te.pitchDelta&&K.setPitch(K.getPitch()+Te.pitchDelta)}},Hr.prototype.off=function(){var Y=this.element;v.removeEventListener(Y,"mousedown",this.mousedown),v.removeEventListener(Y,"touchstart",this.touchstart,{passive:!1}),v.removeEventListener(Y,"touchmove",this.touchmove),v.removeEventListener(Y,"touchend",this.touchend),v.removeEventListener(Y,"touchcancel",this.reset),this.offTemp()},Hr.prototype.offTemp=function(){v.enableDrag(),v.removeEventListener(i.window,"mousemove",this.mousemove),v.removeEventListener(i.window,"mouseup",this.mouseup)},Hr.prototype.mousedown=function(Y){this.down(i.extend({},Y,{ctrlKey:!0,preventDefault:function(){return Y.preventDefault()}}),v.mousePos(this.element,Y)),v.addEventListener(i.window,"mousemove",this.mousemove),v.addEventListener(i.window,"mouseup",this.mouseup)},Hr.prototype.mousemove=function(Y){this.move(Y,v.mousePos(this.element,Y))},Hr.prototype.mouseup=function(Y){this.mouseRotate.mouseupWindow(Y),this.mousePitch&&this.mousePitch.mouseupWindow(Y),this.offTemp()},Hr.prototype.touchstart=function(Y){Y.targetTouches.length!==1?this.reset():(this._startPos=this._lastPos=v.touchPos(this.element,Y.targetTouches)[0],this.down({type:"mousedown",button:0,ctrlKey:!0,preventDefault:function(){return Y.preventDefault()}},this._startPos))},Hr.prototype.touchmove=function(Y){Y.targetTouches.length!==1?this.reset():(this._lastPos=v.touchPos(this.element,Y.targetTouches)[0],this.move({preventDefault:function(){return Y.preventDefault()}},this._lastPos))},Hr.prototype.touchend=function(Y){Y.targetTouches.length===0&&this._startPos&&this._lastPos&&this._startPos.dist(this._lastPos)le.getEast()||Te.latitudele.getNorth())},ee.prototype._setErrorState=function(){switch(this._watchState){case"WAITING_ACTIVE":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"ACTIVE_LOCK":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting");break;case"BACKGROUND":this._watchState="BACKGROUND_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting")}},ee.prototype._onSuccess=function(K){if(this._map){if(this._isOutOfMapMaxBounds(K))return this._setErrorState(),this.fire(new i.Event("outofmaxbounds",K)),this._updateMarker(),void this._finish();if(this.options.trackUserLocation)switch(this._lastKnownPosition=K,this._watchState){case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"BACKGROUND":case"BACKGROUND_ERROR":this._watchState="BACKGROUND",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background")}this.options.showUserLocation&&this._watchState!=="OFF"&&this._updateMarker(K),this.options.trackUserLocation&&this._watchState!=="ACTIVE_LOCK"||this._updateCamera(K),this.options.showUserLocation&&this._dotElement.classList.remove("mapboxgl-user-location-dot-stale"),this.fire(new i.Event("geolocate",K)),this._finish()}},ee.prototype._updateCamera=function(K){var le=new i.LngLat(K.coords.longitude,K.coords.latitude),Te=K.coords.accuracy,De=this._map.getBearing(),He=i.extend({bearing:De},this.options.fitBoundsOptions);this._map.fitBounds(le.toBounds(Te),He,{geolocateSource:!0})},ee.prototype._updateMarker=function(K){if(K){var le=new i.LngLat(K.coords.longitude,K.coords.latitude);this._accuracyCircleMarker.setLngLat(le).addTo(this._map),this._userLocationDotMarker.setLngLat(le).addTo(this._map),this._accuracy=K.coords.accuracy,this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()}else this._userLocationDotMarker.remove(),this._accuracyCircleMarker.remove()},ee.prototype._updateCircleRadius=function(){var K=this._map._container.clientHeight/2,le=this._map.unproject([0,K]),Te=this._map.unproject([1,K]),De=le.distanceTo(Te),He=Math.ceil(2*this._accuracy/De);this._circleElement.style.width=He+"px",this._circleElement.style.height=He+"px"},ee.prototype._onZoom=function(){this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()},ee.prototype._onError=function(K){if(this._map){if(this.options.trackUserLocation)if(K.code===1){this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.disabled=!0;var le=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.title=le,this._geolocateButton.setAttribute("aria-label",le),this._geolocationWatchID!==void 0&&this._clearWatch()}else{if(K.code===3&&ju)return;this._setErrorState()}this._watchState!=="OFF"&&this.options.showUserLocation&&this._dotElement.classList.add("mapboxgl-user-location-dot-stale"),this.fire(new i.Event("error",K)),this._finish()}},ee.prototype._finish=function(){this._timeoutId&&clearTimeout(this._timeoutId),this._timeoutId=void 0},ee.prototype._setupUI=function(K){var le=this;if(this._container.addEventListener("contextmenu",function(He){return He.preventDefault()}),this._geolocateButton=v.create("button","mapboxgl-ctrl-geolocate",this._container),v.create("span","mapboxgl-ctrl-icon",this._geolocateButton).setAttribute("aria-hidden",!0),this._geolocateButton.type="button",K===!1){i.warnOnce("Geolocation support is not available so the GeolocateControl will be disabled.");var Te=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.disabled=!0,this._geolocateButton.title=Te,this._geolocateButton.setAttribute("aria-label",Te)}else{var De=this._map._getUIString("GeolocateControl.FindMyLocation");this._geolocateButton.title=De,this._geolocateButton.setAttribute("aria-label",De)}this.options.trackUserLocation&&(this._geolocateButton.setAttribute("aria-pressed","false"),this._watchState="OFF"),this.options.showUserLocation&&(this._dotElement=v.create("div","mapboxgl-user-location-dot"),this._userLocationDotMarker=new xo(this._dotElement),this._circleElement=v.create("div","mapboxgl-user-location-accuracy-circle"),this._accuracyCircleMarker=new xo({element:this._circleElement,pitchAlignment:"map"}),this.options.trackUserLocation&&(this._watchState="OFF"),this._map.on("zoom",this._onZoom)),this._geolocateButton.addEventListener("click",this.trigger.bind(this)),this._setup=!0,this.options.trackUserLocation&&this._map.on("movestart",function(He){var Ze=He.originalEvent&&He.originalEvent.type==="resize";He.geolocateSource||le._watchState!=="ACTIVE_LOCK"||Ze||(le._watchState="BACKGROUND",le._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background"),le._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),le.fire(new i.Event("trackuserlocationend")))})},ee.prototype.trigger=function(){if(!this._setup)return i.warnOnce("Geolocate control triggered before added to a map"),!1;if(this.options.trackUserLocation){switch(this._watchState){case"OFF":this._watchState="WAITING_ACTIVE",this.fire(new i.Event("trackuserlocationstart"));break;case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":case"BACKGROUND_ERROR":Vo--,ju=!1,this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this.fire(new i.Event("trackuserlocationend"));break;case"BACKGROUND":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._lastKnownPosition&&this._updateCamera(this._lastKnownPosition),this.fire(new i.Event("trackuserlocationstart"))}switch(this._watchState){case"WAITING_ACTIVE":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_LOCK":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"BACKGROUND":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background");break;case"BACKGROUND_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error")}if(this._watchState==="OFF"&&this._geolocationWatchID!==void 0)this._clearWatch();else if(this._geolocationWatchID===void 0){var K;this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","true"),++Vo>1?(K={maximumAge:6e5,timeout:0},ju=!0):(K=this.options.positionOptions,ju=!1),this._geolocationWatchID=i.window.navigator.geolocation.watchPosition(this._onSuccess,this._onError,K)}}else i.window.navigator.geolocation.getCurrentPosition(this._onSuccess,this._onError,this.options.positionOptions),this._timeoutId=setTimeout(this._finish,1e4);return!0},ee.prototype._clearWatch=function(){i.window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0,this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","false"),this.options.showUserLocation&&this._updateMarker(null)},ee}(i.Evented),Ji={maxWidth:100,unit:"metric"},la=function(Y){this.options=i.extend({},Ji,Y),i.bindAll(["_onMove","setUnit"],this)};function Xc(Y,ee,K){var le=K&&K.maxWidth||100,Te=Y._container.clientHeight/2,De=Y.unproject([0,Te]),He=Y.unproject([le,Te]),Ze=De.distanceTo(He);if(K&&K.unit==="imperial"){var at=3.2808*Ze;at>5280?et(ee,le,at/5280,Y._getUIString("ScaleControl.Miles")):et(ee,le,at,Y._getUIString("ScaleControl.Feet"))}else K&&K.unit==="nautical"?et(ee,le,Ze/1852,Y._getUIString("ScaleControl.NauticalMiles")):Ze>=1e3?et(ee,le,Ze/1e3,Y._getUIString("ScaleControl.Kilometers")):et(ee,le,Ze,Y._getUIString("ScaleControl.Meters"))}function et(Y,ee,K,le){var Te,De,He,Ze=(Te=K,(De=Math.pow(10,(""+Math.floor(Te)).length-1))*((He=Te/De)>=10?10:He>=5?5:He>=3?3:He>=2?2:He>=1?1:function(Tt){var At=Math.pow(10,Math.ceil(-Math.log(Tt)/Math.LN10));return Math.round(Tt*At)/At}(He))),at=Ze/K;Y.style.width=ee*at+"px",Y.innerHTML=Ze+" "+le}la.prototype.getDefaultPosition=function(){return"bottom-left"},la.prototype._onMove=function(){Xc(this._map,this._container,this.options)},la.prototype.onAdd=function(Y){return this._map=Y,this._container=v.create("div","mapboxgl-ctrl mapboxgl-ctrl-scale",Y.getContainer()),this._map.on("move",this._onMove),this._onMove(),this._container},la.prototype.onRemove=function(){v.remove(this._container),this._map.off("move",this._onMove),this._map=void 0},la.prototype.setUnit=function(Y){this.options.unit=Y,Xc(this._map,this._container,this.options)};var rt=function(Y){this._fullscreen=!1,Y&&Y.container&&(Y.container instanceof i.window.HTMLElement?this._container=Y.container:i.warnOnce("Full screen control 'container' must be a DOM element.")),i.bindAll(["_onClickFullscreen","_changeIcon"],this),"onfullscreenchange"in i.window.document?this._fullscreenchange="fullscreenchange":"onmozfullscreenchange"in i.window.document?this._fullscreenchange="mozfullscreenchange":"onwebkitfullscreenchange"in i.window.document?this._fullscreenchange="webkitfullscreenchange":"onmsfullscreenchange"in i.window.document&&(this._fullscreenchange="MSFullscreenChange")};rt.prototype.onAdd=function(Y){return this._map=Y,this._container||(this._container=this._map.getContainer()),this._controlContainer=v.create("div","mapboxgl-ctrl mapboxgl-ctrl-group"),this._checkFullscreenSupport()?this._setupUI():(this._controlContainer.style.display="none",i.warnOnce("This device does not support fullscreen mode.")),this._controlContainer},rt.prototype.onRemove=function(){v.remove(this._controlContainer),this._map=null,i.window.document.removeEventListener(this._fullscreenchange,this._changeIcon)},rt.prototype._checkFullscreenSupport=function(){return!!(i.window.document.fullscreenEnabled||i.window.document.mozFullScreenEnabled||i.window.document.msFullscreenEnabled||i.window.document.webkitFullscreenEnabled)},rt.prototype._setupUI=function(){var Y=this._fullscreenButton=v.create("button","mapboxgl-ctrl-fullscreen",this._controlContainer);v.create("span","mapboxgl-ctrl-icon",Y).setAttribute("aria-hidden",!0),Y.type="button",this._updateTitle(),this._fullscreenButton.addEventListener("click",this._onClickFullscreen),i.window.document.addEventListener(this._fullscreenchange,this._changeIcon)},rt.prototype._updateTitle=function(){var Y=this._getTitle();this._fullscreenButton.setAttribute("aria-label",Y),this._fullscreenButton.title=Y},rt.prototype._getTitle=function(){return this._map._getUIString(this._isFullscreen()?"FullscreenControl.Exit":"FullscreenControl.Enter")},rt.prototype._isFullscreen=function(){return this._fullscreen},rt.prototype._changeIcon=function(){(i.window.document.fullscreenElement||i.window.document.mozFullScreenElement||i.window.document.webkitFullscreenElement||i.window.document.msFullscreenElement)===this._container!==this._fullscreen&&(this._fullscreen=!this._fullscreen,this._fullscreenButton.classList.toggle("mapboxgl-ctrl-shrink"),this._fullscreenButton.classList.toggle("mapboxgl-ctrl-fullscreen"),this._updateTitle())},rt.prototype._onClickFullscreen=function(){this._isFullscreen()?i.window.document.exitFullscreen?i.window.document.exitFullscreen():i.window.document.mozCancelFullScreen?i.window.document.mozCancelFullScreen():i.window.document.msExitFullscreen?i.window.document.msExitFullscreen():i.window.document.webkitCancelFullScreen&&i.window.document.webkitCancelFullScreen():this._container.requestFullscreen?this._container.requestFullscreen():this._container.mozRequestFullScreen?this._container.mozRequestFullScreen():this._container.msRequestFullscreen?this._container.msRequestFullscreen():this._container.webkitRequestFullscreen&&this._container.webkitRequestFullscreen()};var ct={closeButton:!0,closeOnClick:!0,className:"",maxWidth:"240px"},vt=function(Y){function ee(K){Y.call(this),this.options=i.extend(Object.create(ct),K),i.bindAll(["_update","_onClose","remove","_onMouseMove","_onMouseUp","_onDrag"],this)}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee.prototype.addTo=function(K){return this._map&&this.remove(),this._map=K,this.options.closeOnClick&&this._map.on("click",this._onClose),this.options.closeOnMove&&this._map.on("move",this._onClose),this._map.on("remove",this.remove),this._update(),this._trackPointer?(this._map.on("mousemove",this._onMouseMove),this._map.on("mouseup",this._onMouseUp),this._container&&this._container.classList.add("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("mapboxgl-track-pointer")):this._map.on("move",this._update),this.fire(new i.Event("open")),this},ee.prototype.isOpen=function(){return!!this._map},ee.prototype.remove=function(){return this._content&&v.remove(this._content),this._container&&(v.remove(this._container),delete this._container),this._map&&(this._map.off("move",this._update),this._map.off("move",this._onClose),this._map.off("click",this._onClose),this._map.off("remove",this.remove),this._map.off("mousemove",this._onMouseMove),this._map.off("mouseup",this._onMouseUp),this._map.off("drag",this._onDrag),delete this._map),this.fire(new i.Event("close")),this},ee.prototype.getLngLat=function(){return this._lngLat},ee.prototype.setLngLat=function(K){return this._lngLat=i.LngLat.convert(K),this._pos=null,this._trackPointer=!1,this._update(),this._map&&(this._map.on("move",this._update),this._map.off("mousemove",this._onMouseMove),this._container&&this._container.classList.remove("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.remove("mapboxgl-track-pointer")),this},ee.prototype.trackPointer=function(){return this._trackPointer=!0,this._pos=null,this._update(),this._map&&(this._map.off("move",this._update),this._map.on("mousemove",this._onMouseMove),this._map.on("drag",this._onDrag),this._container&&this._container.classList.add("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("mapboxgl-track-pointer")),this},ee.prototype.getElement=function(){return this._container},ee.prototype.setText=function(K){return this.setDOMContent(i.window.document.createTextNode(K))},ee.prototype.setHTML=function(K){var le,Te=i.window.document.createDocumentFragment(),De=i.window.document.createElement("body");for(De.innerHTML=K;le=De.firstChild;)Te.appendChild(le);return this.setDOMContent(Te)},ee.prototype.getMaxWidth=function(){return this._container&&this._container.style.maxWidth},ee.prototype.setMaxWidth=function(K){return this.options.maxWidth=K,this._update(),this},ee.prototype.setDOMContent=function(K){return this._createContent(),this._content.appendChild(K),this._update(),this},ee.prototype.addClassName=function(K){this._container&&this._container.classList.add(K)},ee.prototype.removeClassName=function(K){this._container&&this._container.classList.remove(K)},ee.prototype.toggleClassName=function(K){if(this._container)return this._container.classList.toggle(K)},ee.prototype._createContent=function(){this._content&&v.remove(this._content),this._content=v.create("div","mapboxgl-popup-content",this._container),this.options.closeButton&&(this._closeButton=v.create("button","mapboxgl-popup-close-button",this._content),this._closeButton.type="button",this._closeButton.setAttribute("aria-label","Close popup"),this._closeButton.innerHTML="×",this._closeButton.addEventListener("click",this._onClose))},ee.prototype._onMouseUp=function(K){this._update(K.point)},ee.prototype._onMouseMove=function(K){this._update(K.point)},ee.prototype._onDrag=function(K){this._update(K.point)},ee.prototype._update=function(K){var le=this,Te=this._lngLat||this._trackPointer;if(this._map&&Te&&this._content&&(this._container||(this._container=v.create("div","mapboxgl-popup",this._map.getContainer()),this._tip=v.create("div","mapboxgl-popup-tip",this._container),this._container.appendChild(this._content),this.options.className&&this.options.className.split(" ").forEach(function(ve){return le._container.classList.add(ve)}),this._trackPointer&&this._container.classList.add("mapboxgl-popup-track-pointer")),this.options.maxWidth&&this._container.style.maxWidth!==this.options.maxWidth&&(this._container.style.maxWidth=this.options.maxWidth),this._map.transform.renderWorldCopies&&!this._trackPointer&&(this._lngLat=ni(this._lngLat,this._pos,this._map.transform)),!this._trackPointer||K)){var De=this._pos=this._trackPointer&&K?K:this._map.project(this._lngLat),He=this.options.anchor,Ze=St(this.options.offset);if(!He){var at,Tt=this._container.offsetWidth,At=this._container.offsetHeight;at=De.y+Ze.bottom.ythis._map.transform.height-At?["bottom"]:[],De.xthis._map.transform.width-Tt/2&&at.push("right"),He=at.length===0?"bottom":at.join("-")}var se=De.add(Ze[He]).round();v.setTransform(this._container,Vu[He]+" translate("+se.x+"px,"+se.y+"px)"),cl(this._container,He,"popup")}},ee.prototype._onClose=function(){this.remove()},ee}(i.Evented);function St(Y){if(Y){if(typeof Y=="number"){var ee=Math.round(Math.sqrt(.5*Math.pow(Y,2)));return{center:new i.Point(0,0),top:new i.Point(0,Y),"top-left":new i.Point(ee,ee),"top-right":new i.Point(-ee,ee),bottom:new i.Point(0,-Y),"bottom-left":new i.Point(ee,-ee),"bottom-right":new i.Point(-ee,-ee),left:new i.Point(Y,0),right:new i.Point(-Y,0)}}if(Y instanceof i.Point||Array.isArray(Y)){var K=i.Point.convert(Y);return{center:K,top:K,"top-left":K,"top-right":K,bottom:K,"bottom-left":K,"bottom-right":K,left:K,right:K}}return{center:i.Point.convert(Y.center||[0,0]),top:i.Point.convert(Y.top||[0,0]),"top-left":i.Point.convert(Y["top-left"]||[0,0]),"top-right":i.Point.convert(Y["top-right"]||[0,0]),bottom:i.Point.convert(Y.bottom||[0,0]),"bottom-left":i.Point.convert(Y["bottom-left"]||[0,0]),"bottom-right":i.Point.convert(Y["bottom-right"]||[0,0]),left:i.Point.convert(Y.left||[0,0]),right:i.Point.convert(Y.right||[0,0])}}return St(new i.Point(0,0))}var Mt={version:i.version,supported:M,setRTLTextPlugin:i.setRTLTextPlugin,getRTLTextPluginStatus:i.getRTLTextPluginStatus,Map:Ol,NavigationControl:ws,GeolocateControl:hl,AttributionControl:os,ScaleControl:la,FullscreenControl:rt,Popup:vt,Marker:xo,Style:dr,LngLat:i.LngLat,LngLatBounds:i.LngLatBounds,Point:i.Point,MercatorCoordinate:i.MercatorCoordinate,Evented:i.Evented,config:i.config,prewarm:function(){Lt().acquire(ut)},clearPrewarmedResources:function(){var Y=_t;Y&&(Y.isPreloaded()&&Y.numActive()===1?(Y.release(ut),_t=null):console.warn("Could not clear WebWorkers since there are active Map instances that still reference it. The pre-warmed WebWorker pool can only be cleared when all map instances have been removed with map.remove()"))},get accessToken(){return i.config.ACCESS_TOKEN},set accessToken(Y){i.config.ACCESS_TOKEN=Y},get baseApiUrl(){return i.config.API_URL},set baseApiUrl(Y){i.config.API_URL=Y},get workerCount(){return dt.workerCount},set workerCount(Y){dt.workerCount=Y},get maxParallelImageRequests(){return i.config.MAX_PARALLEL_IMAGE_REQUESTS},set maxParallelImageRequests(Y){i.config.MAX_PARALLEL_IMAGE_REQUESTS=Y},clearStorage:function(Y){i.clearTileCache(Y)},workerUrl:""};return Mt}),d}()},27084:function(T){T.exports=Math.log2||function(p){return Math.log(p)*Math.LOG2E}},16825:function(T,p,t){T.exports=function(g,i){i||(i=g,g=window);var M=0,v=0,f=0,l={shift:!1,alt:!1,control:!1,meta:!1},a=!1;function u(k){var E=!1;return"altKey"in k&&(E=E||k.altKey!==l.alt,l.alt=!!k.altKey),"shiftKey"in k&&(E=E||k.shiftKey!==l.shift,l.shift=!!k.shiftKey),"ctrlKey"in k&&(E=E||k.ctrlKey!==l.control,l.control=!!k.ctrlKey),"metaKey"in k&&(E=E||k.metaKey!==l.meta,l.meta=!!k.metaKey),E}function o(k,E){var x=d.x(E),A=d.y(E);"buttons"in E&&(k=0|E.buttons),(k!==M||x!==v||A!==f||u(E))&&(M=0|k,v=x||0,f=A||0,i&&i(M,v,f,l))}function s(k){o(0,k)}function c(){(M||v||f||l.shift||l.alt||l.meta||l.control)&&(v=f=0,M=0,l.shift=l.alt=l.control=l.meta=!1,i&&i(0,0,0,l))}function h(k){u(k)&&i&&i(M,v,f,l)}function m(k){d.buttons(k)===0?o(0,k):o(M,k)}function w(k){o(M|d.buttons(k),k)}function y(k){o(M&~d.buttons(k),k)}function S(){a||(a=!0,g.addEventListener("mousemove",m),g.addEventListener("mousedown",w),g.addEventListener("mouseup",y),g.addEventListener("mouseleave",s),g.addEventListener("mouseenter",s),g.addEventListener("mouseout",s),g.addEventListener("mouseover",s),g.addEventListener("blur",c),g.addEventListener("keyup",h),g.addEventListener("keydown",h),g.addEventListener("keypress",h),g!==window&&(window.addEventListener("blur",c),window.addEventListener("keyup",h),window.addEventListener("keydown",h),window.addEventListener("keypress",h)))}S();var _={element:g};return Object.defineProperties(_,{enabled:{get:function(){return a},set:function(k){k?S():a&&(a=!1,g.removeEventListener("mousemove",m),g.removeEventListener("mousedown",w),g.removeEventListener("mouseup",y),g.removeEventListener("mouseleave",s),g.removeEventListener("mouseenter",s),g.removeEventListener("mouseout",s),g.removeEventListener("mouseover",s),g.removeEventListener("blur",c),g.removeEventListener("keyup",h),g.removeEventListener("keydown",h),g.removeEventListener("keypress",h),g!==window&&(window.removeEventListener("blur",c),window.removeEventListener("keyup",h),window.removeEventListener("keydown",h),window.removeEventListener("keypress",h)))},enumerable:!0},buttons:{get:function(){return M},enumerable:!0},x:{get:function(){return v},enumerable:!0},y:{get:function(){return f},enumerable:!0},mods:{get:function(){return l},enumerable:!0}}),_};var d=t(74311)},48956:function(T){var p={left:0,top:0};T.exports=function(t,d,g){d=d||t.currentTarget||t.srcElement,Array.isArray(g)||(g=[0,0]);var i,M=t.clientX||0,v=t.clientY||0,f=(i=d)===window||i===document||i===document.body?p:i.getBoundingClientRect();return g[0]=M-f.left,g[1]=v-f.top,g}},74311:function(T,p){function t(d){return d.target||d.srcElement||window}p.buttons=function(d){if(typeof d=="object"){if("buttons"in d)return d.buttons;if("which"in d){if((g=d.which)===2)return 4;if(g===3)return 2;if(g>0)return 1<=0)return 1<0&&o(c,L))}catch(b){w.call(new S(L),b)}}}function w(x){var A=this;A.triggered||(A.triggered=!0,A.def&&(A=A.def),A.msg=x,A.state=2,A.chain.length>0&&o(c,A))}function y(x,A,L,b){for(var R=0;R1&&(a*=k=Math.sqrt(k),u*=k);var E=a*a,x=u*u,A=(s==c?-1:1)*Math.sqrt(Math.abs((E*x-E*_*_-x*S*S)/(E*_*_+x*S*S)));A==1/0&&(A=1);var L=A*a*_/u+(f+h)/2,b=A*-u*S/a+(l+m)/2,R=Math.asin(((l-b)/u).toFixed(9)),I=Math.asin(((m-b)/u).toFixed(9));(R=fI&&(R-=2*p),!c&&I>R&&(I-=2*p)}if(Math.abs(I-R)>t){var O=I,z=h,F=m;I=R+t*(c&&I>R?1:-1);var B=i(h=L+a*Math.cos(I),m=b+u*Math.sin(I),a,u,o,0,c,z,F,[I,O,L,b])}var N=Math.tan((I-R)/4),W=4/3*a*N,j=4/3*u*N,$=[2*f-(f+W*Math.sin(R)),2*l-(l-j*Math.cos(R)),h+W*Math.sin(I),m-j*Math.cos(I),h,m];if(w)return $;B&&($=$.concat(B));for(var U=0;U<$.length;){var G=M($[U],$[U+1],o);$[U++]=G.x,$[U++]=G.y}return $}function M(f,l,a){return{x:f*Math.cos(a)-l*Math.sin(a),y:f*Math.sin(a)+l*Math.cos(a)}}function v(f){return f*(p/180)}T.exports=function(f){for(var l,a=[],u=0,o=0,s=0,c=0,h=null,m=null,w=0,y=0,S=0,_=f.length;S<_;S++){var k=f[S],E=k[0];switch(E){case"M":s=k[1],c=k[2];break;case"A":(k=i(w,y,k[1],k[2],v(k[3]),k[4],k[5],k[6],k[7])).unshift("C"),k.length>7&&(a.push(k.splice(0,7)),k.unshift("C"));break;case"S":var x=w,A=y;l!="C"&&l!="S"||(x+=x-u,A+=A-o),k=["C",x,A,k[1],k[2],k[3],k[4]];break;case"T":l=="Q"||l=="T"?(h=2*w-h,m=2*y-m):(h=w,m=y),k=g(w,y,h,m,k[1],k[2]);break;case"Q":h=k[1],m=k[2],k=g(w,y,k[1],k[2],k[3],k[4]);break;case"L":k=d(w,y,k[1],k[2]);break;case"H":k=d(w,y,k[1],y);break;case"V":k=d(w,y,w,k[1]);break;case"Z":k=d(w,y,s,c)}l=E,w=k[k.length-2],y=k[k.length-1],k.length>4?(u=k[k.length-4],o=k[k.length-3]):(u=w,o=y),a.push(k)}return a}},56131:function(T){var p=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;function g(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}T.exports=function(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var M={},v=0;v<10;v++)M["_"+String.fromCharCode(v)]=v;if(Object.getOwnPropertyNames(M).map(function(l){return M[l]}).join("")!=="0123456789")return!1;var f={};return"abcdefghijklmnopqrst".split("").forEach(function(l){f[l]=l}),Object.keys(Object.assign({},f)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}()?Object.assign:function(i,M){for(var v,f,l=g(i),a=1;a"u")return!1;for(var c in window)try{if(!o["$"+c]&&g.call(window,c)&&window[c]!==null&&typeof window[c]=="object")try{u(window[c])}catch{return!0}}catch{return!0}return!1}();d=function(c){var h=c!==null&&typeof c=="object",m=i.call(c)==="[object Function]",w=M(c),y=h&&i.call(c)==="[object String]",S=[];if(!h&&!m&&!w)throw new TypeError("Object.keys called on a non-object");var _=l&&m;if(y&&c.length>0&&!g.call(c,0))for(var k=0;k0)for(var E=0;E"u"||!s)return u(b);try{return u(b)}catch{return!1}}(c),L=0;L=0&&p.call(t.callee)==="[object Function]"),g}},88641:function(T){function p(g,i){if(typeof g!="string")return[g];var M=[g];typeof i=="string"||Array.isArray(i)?i={brackets:i}:i||(i={});var v=i.brackets?Array.isArray(i.brackets)?i.brackets:[i.brackets]:["{}","[]","()"],f=i.escape||"___",l=!!i.flat;v.forEach(function(u){var o=new RegExp(["\\",u[0],"[^\\",u[0],"\\",u[1],"]*\\",u[1]].join("")),s=[];function c(h,m,w){var y=M.push(h.slice(u[0].length,-u[1].length))-1;return s.push(y),f+y+f}M.forEach(function(h,m){for(var w,y=0;h!=w;)if(w=h,h=h.replace(o,c),y++>1e4)throw Error("References have circular dependency. Please, check them.");M[m]=h}),s=s.reverse(),M=M.map(function(h){return s.forEach(function(m){h=h.replace(new RegExp("(\\"+f+m+"\\"+f+")","g"),u[0]+"$1"+u[1])}),h})});var a=new RegExp("\\"+f+"([0-9]+)\\"+f);return l?M:function u(o,s,c){for(var h,m=[],w=0;h=a.exec(o);){if(w++>1e4)throw Error("Circular references in parenthesis");m.push(o.slice(0,h.index)),m.push(u(s[h[1]],s)),o=o.slice(h.index+h[0].length)}return m.push(o),m}(M[0],M)}function t(g,i){if(i&&i.flat){var M,v=i&&i.escape||"___",f=g[0];if(!f)return"";for(var l=new RegExp("\\"+v+"([0-9]+)\\"+v),a=0;f!=M;){if(a++>1e4)throw Error("Circular references in "+g);M=f,f=f.replace(l,u)}return f}return g.reduce(function o(s,c){return Array.isArray(c)&&(c=c.reduce(o,"")),s+c},"");function u(o,s){if(g[s]==null)throw Error("Reference "+s+"is undefined");return g[s]}}function d(g,i){return Array.isArray(g)?t(g,i):p(g,i)}d.parse=p,d.stringify=t,T.exports=d},18863:function(T,p,t){var d=t(71299);T.exports=function(g){var i;return arguments.length>1&&(g=arguments),typeof g=="string"?g=g.split(/\s/).map(parseFloat):typeof g=="number"&&(g=[g]),g.length&&typeof g[0]=="number"?i=g.length===1?{width:g[0],height:g[0],x:0,y:0}:g.length===2?{width:g[0],height:g[1],x:0,y:0}:{x:g[0],y:g[1],width:g[2]-g[0]||0,height:g[3]-g[1]||0}:g&&(i={x:(g=d(g,{left:"x l left Left",top:"y t top Top",width:"w width W Width",height:"h height W Width",bottom:"b bottom Bottom",right:"r right Right"})).left||0,y:g.top||0},g.width==null?g.right?i.width=g.right-i.x:i.width=0:i.width=g.width,g.height==null?g.bottom?i.height=g.bottom-i.y:i.height=0:i.height=g.height),i}},95616:function(T){T.exports=function(g){var i=[];return g.replace(t,function(M,v,f){var l=v.toLowerCase();for(f=function(a){var u=a.match(d);return u?u.map(Number):[]}(f),l=="m"&&f.length>2&&(i.push([v].concat(f.splice(0,2))),l="l",v=v=="m"?"l":"L");;){if(f.length==p[l])return f.unshift(v),i.push(f);if(f.lengthM!=c>M&&i<(s-u)*(M-o)/(c-o)+u&&(v=!v)}return v}},52142:function(T,p,t){var d,g=t(69444),i=t(29023),M=t(87263),v=t(11328),f=t(55968),l=t(10670),a=!1,u=i();function o(s,c,h){var m=d.segments(s),w=d.segments(c),y=h(d.combine(m,w));return d.polygon(y)}d={buildLog:function(s){return s===!0?a=g():s===!1&&(a=!1),a!==!1&&a.list},epsilon:function(s){return u.epsilon(s)},segments:function(s){var c=M(!0,u,a);return s.regions.forEach(c.addRegion),{segments:c.calculate(s.inverted),inverted:s.inverted}},combine:function(s,c){return{combined:M(!1,u,a).calculate(s.segments,s.inverted,c.segments,c.inverted),inverted1:s.inverted,inverted2:c.inverted}},selectUnion:function(s){return{segments:f.union(s.combined,a),inverted:s.inverted1||s.inverted2}},selectIntersect:function(s){return{segments:f.intersect(s.combined,a),inverted:s.inverted1&&s.inverted2}},selectDifference:function(s){return{segments:f.difference(s.combined,a),inverted:s.inverted1&&!s.inverted2}},selectDifferenceRev:function(s){return{segments:f.differenceRev(s.combined,a),inverted:!s.inverted1&&s.inverted2}},selectXor:function(s){return{segments:f.xor(s.combined,a),inverted:s.inverted1!==s.inverted2}},polygon:function(s){return{regions:v(s.segments,u,a),inverted:s.inverted}},polygonFromGeoJSON:function(s){return l.toPolygon(d,s)},polygonToGeoJSON:function(s){return l.fromPolygon(d,u,s)},union:function(s,c){return o(s,c,d.selectUnion)},intersect:function(s,c){return o(s,c,d.selectIntersect)},difference:function(s,c){return o(s,c,d.selectDifference)},differenceRev:function(s,c){return o(s,c,d.selectDifferenceRev)},xor:function(s,c){return o(s,c,d.selectXor)}},typeof window=="object"&&(window.PolyBool=d),T.exports=d},69444:function(T){T.exports=function(){var p,t=0,d=!1;function g(i,M){return p.list.push({type:i,data:M?JSON.parse(JSON.stringify(M)):void 0}),p}return p={list:[],segmentId:function(){return t++},checkIntersection:function(i,M){return g("check",{seg1:i,seg2:M})},segmentChop:function(i,M){return g("div_seg",{seg:i,pt:M}),g("chop",{seg:i,pt:M})},statusRemove:function(i){return g("pop_seg",{seg:i})},segmentUpdate:function(i){return g("seg_update",{seg:i})},segmentNew:function(i,M){return g("new_seg",{seg:i,primary:M})},segmentRemove:function(i){return g("rem_seg",{seg:i})},tempStatus:function(i,M,v){return g("temp_status",{seg:i,above:M,below:v})},rewind:function(i){return g("rewind",{seg:i})},status:function(i,M,v){return g("status",{seg:i,above:M,below:v})},vert:function(i){return i===d?p:(d=i,g("vert",{x:i}))},log:function(i){return typeof i!="string"&&(i=JSON.stringify(i,!1," ")),g("log",{txt:i})},reset:function(){return g("reset")},selected:function(i){return g("selected",{segs:i})},chainStart:function(i){return g("chain_start",{seg:i})},chainRemoveHead:function(i,M){return g("chain_rem_head",{index:i,pt:M})},chainRemoveTail:function(i,M){return g("chain_rem_tail",{index:i,pt:M})},chainNew:function(i,M){return g("chain_new",{pt1:i,pt2:M})},chainMatch:function(i){return g("chain_match",{index:i})},chainClose:function(i){return g("chain_close",{index:i})},chainAddHead:function(i,M){return g("chain_add_head",{index:i,pt:M})},chainAddTail:function(i,M){return g("chain_add_tail",{index:i,pt:M})},chainConnect:function(i,M){return g("chain_con",{index1:i,index2:M})},chainReverse:function(i){return g("chain_rev",{index:i})},chainJoin:function(i,M){return g("chain_join",{index1:i,index2:M})},done:function(){return g("done")}}}},29023:function(T){T.exports=function(p){typeof p!="number"&&(p=1e-10);var t={epsilon:function(d){return typeof d=="number"&&(p=d),p},pointAboveOrOnLine:function(d,g,i){var M=g[0],v=g[1],f=i[0],l=i[1],a=d[0];return(f-M)*(d[1]-v)-(l-v)*(a-M)>=-p},pointBetween:function(d,g,i){var M=d[1]-g[1],v=i[0]-g[0],f=d[0]-g[0],l=i[1]-g[1],a=f*v+M*l;return!(a-p)},pointsSameX:function(d,g){return Math.abs(d[0]-g[0])p!=f-M>p&&(v-u)*(M-o)/(f-o)+u-i>p&&(l=!l),v=u,f=o}return l}};return t}},10670:function(T){var p={toPolygon:function(t,d){function g(v){if(v.length<=0)return t.segments({inverted:!1,regions:[]});function f(u){var o=u.slice(0,u.length-1);return t.segments({inverted:!1,regions:[o]})}for(var l=f(v[0]),a=1;a0})}function w(O,z){var F=O.seg,B=z.seg,N=F.start,W=F.end,j=B.start,$=B.end;M&&M.checkIntersection(F,B);var U=i.linesIntersect(N,W,j,$);if(U===!1){if(!i.pointsCollinear(N,W,j)||i.pointsSame(N,$)||i.pointsSame(W,j))return!1;var G=i.pointsSame(N,j),q=i.pointsSame(W,$);if(G&&q)return z;var H=!G&&i.pointBetween(N,j,$),ne=!q&&i.pointBetween(W,j,$);if(G)return ne?u(z,W):u(O,$),z;H&&(q||(ne?u(z,W):u(O,$)),u(z,N))}else U.alongA===0&&(U.alongB===-1?u(O,j):U.alongB===0?u(O,U.pt):U.alongB===1&&u(O,$)),U.alongB===0&&(U.alongA===-1?u(z,N):U.alongA===0?u(z,U.pt):U.alongA===1&&u(z,W));return!1}for(var y=[];!f.isEmpty();){var S=f.getHead();if(M&&M.vert(S.pt[0]),S.isStart){let O=function(){if(k){var z=w(S,k);if(z)return z}return!!E&&w(S,E)};var I=O;M&&M.segmentNew(S.seg,S.primary);var _=m(S),k=_.before?_.before.ev:null,E=_.after?_.after.ev:null;M&&M.tempStatus(S.seg,!!k&&k.seg,!!E&&E.seg);var x,A,L=O();if(L&&(g?(A=S.seg.myFill.below===null||S.seg.myFill.above!==S.seg.myFill.below)&&(L.seg.myFill.above=!L.seg.myFill.above):L.seg.otherFill=S.seg.myFill,M&&M.segmentUpdate(L.seg),S.other.remove(),S.remove()),f.getHead()!==S){M&&M.rewind(S.seg);continue}g?(A=S.seg.myFill.below===null||S.seg.myFill.above!==S.seg.myFill.below,S.seg.myFill.below=E?E.seg.myFill.above:s,S.seg.myFill.above=A?!S.seg.myFill.below:S.seg.myFill.below):S.seg.otherFill===null&&(x=E?S.primary===E.primary?E.seg.otherFill.above:E.seg.myFill.above:S.primary?c:s,S.seg.otherFill={above:x,below:x}),M&&M.status(S.seg,!!k&&k.seg,!!E&&E.seg),S.other.status=_.insert(d.node({ev:S}))}else{var b=S.status;if(b===null)throw new Error("PolyBool: Zero-length segment detected; your epsilon is probably too small or too large");if(h.exists(b.prev)&&h.exists(b.next)&&w(b.prev.ev,b.next.ev),M&&M.statusRemove(b.ev.seg),b.remove(),!S.primary){var R=S.seg.myFill;S.seg.myFill=S.seg.otherFill,S.seg.otherFill=R}y.push(S.seg)}f.getHead().remove()}return M&&M.done(),y}return g?{addRegion:function(s){for(var c,h,m,w=s[s.length-1],y=0;y0&&!this.aborted;){var M=this.ifds_to_read.shift();M.offset&&this.scan_ifd(M.id,M.offset,g)}},d.prototype.read_uint16=function(g){var i=this.input;if(g+2>i.length)throw p("unexpected EOF","EBADDATA");return this.big_endian?256*i[g]+i[g+1]:i[g]+256*i[g+1]},d.prototype.read_uint32=function(g){var i=this.input;if(g+4>i.length)throw p("unexpected EOF","EBADDATA");return this.big_endian?16777216*i[g]+65536*i[g+1]+256*i[g+2]+i[g+3]:i[g]+256*i[g+1]+65536*i[g+2]+16777216*i[g+3]},d.prototype.is_subifd_link=function(g,i){return g===0&&i===34665||g===0&&i===34853||g===34665&&i===40965},d.prototype.exif_format_length=function(g){switch(g){case 1:case 2:case 6:case 7:return 1;case 3:case 8:return 2;case 4:case 9:case 11:return 4;case 5:case 10:case 12:return 8;default:return 0}},d.prototype.exif_format_read=function(g,i){var M;switch(g){case 1:case 2:return this.input[i];case 6:return(M=this.input[i])|33554430*(128&M);case 3:return this.read_uint16(i);case 8:return(M=this.read_uint16(i))|131070*(32768&M);case 4:return this.read_uint32(i);case 9:return 0|this.read_uint32(i);default:return null}},d.prototype.scan_ifd=function(g,i,M){var v=this.read_uint16(i);i+=2;for(var f=0;fthis.input.length)throw p("unexpected EOF","EBADDATA");for(var m=[],w=c,y=0;y0&&(this.ifds_to_read.push({id:l,offset:m[0]}),h=!0),M({is_big_endian:this.big_endian,ifd:g,tag:l,format:a,count:u,entry_offset:i+this.start,data_length:s,data_offset:c+this.start,value:m,is_subifd_link:h})===!1)return void(this.aborted=!0);i+=12}g===0&&this.ifds_to_read.push({id:1,offset:this.read_uint32(i)})},T.exports.ExifParser=d,T.exports.get_orientation=function(g){var i=0;try{return new d(g,0,g.length).each(function(M){if(M.ifd===0&&M.tag===274&&Array.isArray(M.value))return i=M.value[0],!1}),i}catch{return-1}}},76767:function(T,p,t){var d=t(14847).n8,g=t(14847).Ag;function i(u,o){if(u.length<4+o)return null;var s=g(u,o);return u.length>4&15,c=15&u[4],h=u[5]>>4&15,m=d(u,6),w=8,y=0;y_.width||S.width===_.width&&S.height>_.height?S:_}),h=s.reduce(function(S,_){return S.height>_.height||S.height===_.height&&S.width>_.width?S:_}),c.width>h.height||c.width===h.height&&c.height>h.width?c:h),w=1;o.transforms.forEach(function(S){var _={1:6,2:5,3:8,4:7,5:4,6:3,7:2,8:1},k={1:4,2:3,3:2,4:1,5:6,6:5,7:8,8:7};if(S.type==="imir"&&(w=S.value===0?k[w]:_[w=_[w=k[w]]]),S.type==="irot")for(var E=0;E1&&(m.variants=h.variants),h.orientation&&(m.orientation=h.orientation),h.exif_location&&h.exif_location.offset+h.exif_location.length<=l.length){var w=i(l,h.exif_location.offset),y=l.slice(h.exif_location.offset+w+4,h.exif_location.offset+h.exif_location.length),S=v.get_orientation(y);S>0&&(m.orientation=S)}return m}}}}}}},2504:function(T,p,t){var d=t(14847).eG,g=t(14847).OF,i=t(14847).mP,M=d("BM");T.exports=function(v){if(!(v.length<26)&&g(v,0,M))return{width:i(v,18),height:i(v,22),type:"bmp",mime:"image/bmp",wUnits:"px",hUnits:"px"}}},47342:function(T,p,t){var d=t(14847).eG,g=t(14847).OF,i=t(14847).mP,M=d("GIF87a"),v=d("GIF89a");T.exports=function(f){if(!(f.length<10)&&(g(f,0,M)||g(f,0,v)))return{width:i(f,6),height:i(f,8),type:"gif",mime:"image/gif",wUnits:"px",hUnits:"px"}}},31355:function(T,p,t){var d=t(14847).mP;T.exports=function(g){var i=d(g,0),M=d(g,2),v=d(g,4);if(i===0&&M===1&&v){for(var f=[],l={width:0,height:0},a=0;al.width||o>l.height)&&(l=s)}return{width:l.width,height:l.height,variants:f,type:"ico",mime:"image/x-icon",wUnits:"px",hUnits:"px"}}}},54261:function(T,p,t){var d=t(14847).n8,g=t(14847).eG,i=t(14847).OF,M=t(71371),v=g("Exif\0\0");T.exports=function(f){if(!(f.length<2)&&f[0]===255&&f[1]===216&&f[2]===255)for(var l=2;;){for(;;){if(f.length-l<2)return;if(f[l++]===255)break}for(var a,u,o=f[l++];o===255;)o=f[l++];if(208<=o&&o<=217||o===1)a=0;else{if(!(192<=o&&o<=254)||f.length-l<2)return;a=d(f,l)-2,l+=2}if(o===217||o===218)return;if(o===225&&a>=10&&i(f,l,v)&&(u=M.get_orientation(f.slice(l+6,l+a))),a>=5&&192<=o&&o<=207&&o!==196&&o!==200&&o!==204){if(f.length-l0&&(s.orientation=u),s}l+=a}}},6303:function(T,p,t){var d=t(14847).eG,g=t(14847).OF,i=t(14847).Ag,M=d(`‰PNG\r +`})}}var Sl=Object.freeze({__proto__:null,prelude:Rr,background:Lr,backgroundPattern:zr,circle:gr,clippingMask:Fr,heatmap:ii,heatmapTexture:ji,collisionBox:ea,collisionCircle:sa,debug:co,fill:La,fillOutline:Xi,fillOutlinePattern:Do,fillPattern:rs,fillExtrusion:el,fillExtrusionPattern:Cu,hillshadePrepare:gf,hillshade:Mh,line:Eu,lineGradient:is,linePattern:Ah,lineSDF:Ya,raster:hc,symbolIcon:Yo,symbolSDF:as,symbolTextAndIcon:Al}),ps=function(){this.boundProgram=null,this.boundLayoutVertexBuffer=null,this.boundPaintVertexBuffers=[],this.boundIndexBuffer=null,this.boundVertexOffset=null,this.boundDynamicVertexBuffer=null,this.vao=null};ps.prototype.bind=function(Y,ee,K,le,Te,De,He,Ze){this.context=Y;for(var at=this.boundPaintVertexBuffers.length!==le.length,Tt=0;!at&&Tt>16,Ze>>16],u_pixel_coord_lower:[65535&He,65535&Ze]}}Es.prototype.draw=function(Y,ee,K,le,Te,De,He,Ze,at,Tt,At,se,ve,Ie,Fe,Ue){var We,Xe=Y.gl;if(!this.failedToCreate){for(var tt in Y.program.set(this.program),Y.setDepthMode(K),Y.setStencilMode(le),Y.setColorMode(Te),Y.setCullFace(De),this.fixedUniforms)this.fixedUniforms[tt].set(He[tt]);Ie&&Ie.setUniforms(Y,this.binderUniforms,se,{zoom:ve});for(var lt=(We={},We[Xe.LINES]=2,We[Xe.TRIANGLES]=3,We[Xe.LINE_STRIP]=1,We)[ee],mt=0,zt=At.get();mt0?1-1/(1.001-He):-He),u_contrast_factor:(De=Te.paint.get("raster-contrast"),De>0?1/(1-De):1+De),u_spin_weights:Ql(Te.paint.get("raster-hue-rotate"))};var De,He};function Ql(Y){Y*=Math.PI/180;var ee=Math.sin(Y),K=Math.cos(Y);return[(2*K+1)/3,(-Math.sqrt(3)*ee-K+1)/3,(Math.sqrt(3)*ee-K+1)/3]}var al,Hi=function(Y,ee,K,le,Te,De,He,Ze,at,Tt){var At=Te.transform;return{u_is_size_zoom_constant:+(Y==="constant"||Y==="source"),u_is_size_feature_constant:+(Y==="constant"||Y==="camera"),u_size_t:ee?ee.uSizeT:0,u_size:ee?ee.uSize:0,u_camera_to_center_distance:At.cameraToCenterDistance,u_pitch:At.pitch/360*2*Math.PI,u_rotate_symbol:+K,u_aspect_ratio:At.width/At.height,u_fade_change:Te.options.fadeDuration?Te.symbolFadeChange:1,u_matrix:De,u_label_plane_matrix:He,u_coord_matrix:Ze,u_is_text:+at,u_pitch_with_map:+le,u_texsize:Tt,u_texture:0}},El=function(Y,ee,K,le,Te,De,He,Ze,at,Tt,At){var se=Te.transform;return i.extend(Hi(Y,ee,K,le,Te,De,He,Ze,at,Tt),{u_gamma_scale:le?Math.cos(se._pitch)*se.cameraToCenterDistance:1,u_device_pixel_ratio:i.browser.devicePixelRatio,u_is_halo:+At})},ad=function(Y,ee,K,le,Te,De,He,Ze,at,Tt){return i.extend(El(Y,ee,K,le,Te,De,He,Ze,!0,at,!0),{u_texsize_icon:Tt,u_texture_icon:1})},Uc=function(Y,ee,K){return{u_matrix:Y,u_opacity:ee,u_color:K}},dc=function(Y,ee,K,le,Te,De){return i.extend(function(He,Ze,at,Tt){var At=at.imageManager.getPattern(He.from.toString()),se=at.imageManager.getPattern(He.to.toString()),ve=at.imageManager.getPixelSize(),Ie=ve.width,Fe=ve.height,Ue=Math.pow(2,Tt.tileID.overscaledZ),We=Tt.tileSize*Math.pow(2,at.transform.tileZoom)/Ue,Xe=We*(Tt.tileID.canonical.x+Tt.tileID.wrap*Ue),tt=We*Tt.tileID.canonical.y;return{u_image:0,u_pattern_tl_a:At.tl,u_pattern_br_a:At.br,u_pattern_tl_b:se.tl,u_pattern_br_b:se.br,u_texsize:[Ie,Fe],u_mix:Ze.t,u_pattern_size_a:At.displaySize,u_pattern_size_b:se.displaySize,u_scale_a:Ze.fromScale,u_scale_b:Ze.toScale,u_tile_units_to_pixels:1/vr(Tt,1,at.transform.tileZoom),u_pixel_coord_upper:[Xe>>16,tt>>16],u_pixel_coord_lower:[65535&Xe,65535&tt]}}(le,De,K,Te),{u_matrix:Y,u_opacity:ee})},eu={fillExtrusion:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_lightpos:new i.Uniform3f(Y,ee.u_lightpos),u_lightintensity:new i.Uniform1f(Y,ee.u_lightintensity),u_lightcolor:new i.Uniform3f(Y,ee.u_lightcolor),u_vertical_gradient:new i.Uniform1f(Y,ee.u_vertical_gradient),u_opacity:new i.Uniform1f(Y,ee.u_opacity)}},fillExtrusionPattern:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_lightpos:new i.Uniform3f(Y,ee.u_lightpos),u_lightintensity:new i.Uniform1f(Y,ee.u_lightintensity),u_lightcolor:new i.Uniform3f(Y,ee.u_lightcolor),u_vertical_gradient:new i.Uniform1f(Y,ee.u_vertical_gradient),u_height_factor:new i.Uniform1f(Y,ee.u_height_factor),u_image:new i.Uniform1i(Y,ee.u_image),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_pixel_coord_upper:new i.Uniform2f(Y,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f(Y,ee.u_pixel_coord_lower),u_scale:new i.Uniform3f(Y,ee.u_scale),u_fade:new i.Uniform1f(Y,ee.u_fade),u_opacity:new i.Uniform1f(Y,ee.u_opacity)}},fill:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix)}},fillPattern:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_image:new i.Uniform1i(Y,ee.u_image),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_pixel_coord_upper:new i.Uniform2f(Y,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f(Y,ee.u_pixel_coord_lower),u_scale:new i.Uniform3f(Y,ee.u_scale),u_fade:new i.Uniform1f(Y,ee.u_fade)}},fillOutline:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_world:new i.Uniform2f(Y,ee.u_world)}},fillOutlinePattern:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_world:new i.Uniform2f(Y,ee.u_world),u_image:new i.Uniform1i(Y,ee.u_image),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_pixel_coord_upper:new i.Uniform2f(Y,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f(Y,ee.u_pixel_coord_lower),u_scale:new i.Uniform3f(Y,ee.u_scale),u_fade:new i.Uniform1f(Y,ee.u_fade)}},circle:function(Y,ee){return{u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_scale_with_map:new i.Uniform1i(Y,ee.u_scale_with_map),u_pitch_with_map:new i.Uniform1i(Y,ee.u_pitch_with_map),u_extrude_scale:new i.Uniform2f(Y,ee.u_extrude_scale),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix)}},collisionBox:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_pixels_to_tile_units:new i.Uniform1f(Y,ee.u_pixels_to_tile_units),u_extrude_scale:new i.Uniform2f(Y,ee.u_extrude_scale),u_overscale_factor:new i.Uniform1f(Y,ee.u_overscale_factor)}},collisionCircle:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_inv_matrix:new i.UniformMatrix4f(Y,ee.u_inv_matrix),u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_viewport_size:new i.Uniform2f(Y,ee.u_viewport_size)}},debug:function(Y,ee){return{u_color:new i.UniformColor(Y,ee.u_color),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_overlay:new i.Uniform1i(Y,ee.u_overlay),u_overlay_scale:new i.Uniform1f(Y,ee.u_overlay_scale)}},clippingMask:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix)}},heatmap:function(Y,ee){return{u_extrude_scale:new i.Uniform1f(Y,ee.u_extrude_scale),u_intensity:new i.Uniform1f(Y,ee.u_intensity),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix)}},heatmapTexture:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_world:new i.Uniform2f(Y,ee.u_world),u_image:new i.Uniform1i(Y,ee.u_image),u_color_ramp:new i.Uniform1i(Y,ee.u_color_ramp),u_opacity:new i.Uniform1f(Y,ee.u_opacity)}},hillshade:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_image:new i.Uniform1i(Y,ee.u_image),u_latrange:new i.Uniform2f(Y,ee.u_latrange),u_light:new i.Uniform2f(Y,ee.u_light),u_shadow:new i.UniformColor(Y,ee.u_shadow),u_highlight:new i.UniformColor(Y,ee.u_highlight),u_accent:new i.UniformColor(Y,ee.u_accent)}},hillshadePrepare:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_image:new i.Uniform1i(Y,ee.u_image),u_dimension:new i.Uniform2f(Y,ee.u_dimension),u_zoom:new i.Uniform1f(Y,ee.u_zoom),u_maxzoom:new i.Uniform1f(Y,ee.u_maxzoom),u_unpack:new i.Uniform4f(Y,ee.u_unpack)}},line:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_ratio:new i.Uniform1f(Y,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_units_to_pixels:new i.Uniform2f(Y,ee.u_units_to_pixels)}},lineGradient:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_ratio:new i.Uniform1f(Y,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_units_to_pixels:new i.Uniform2f(Y,ee.u_units_to_pixels),u_image:new i.Uniform1i(Y,ee.u_image)}},linePattern:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_ratio:new i.Uniform1f(Y,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_image:new i.Uniform1i(Y,ee.u_image),u_units_to_pixels:new i.Uniform2f(Y,ee.u_units_to_pixels),u_scale:new i.Uniform3f(Y,ee.u_scale),u_fade:new i.Uniform1f(Y,ee.u_fade)}},lineSDF:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_ratio:new i.Uniform1f(Y,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_units_to_pixels:new i.Uniform2f(Y,ee.u_units_to_pixels),u_patternscale_a:new i.Uniform2f(Y,ee.u_patternscale_a),u_patternscale_b:new i.Uniform2f(Y,ee.u_patternscale_b),u_sdfgamma:new i.Uniform1f(Y,ee.u_sdfgamma),u_image:new i.Uniform1i(Y,ee.u_image),u_tex_y_a:new i.Uniform1f(Y,ee.u_tex_y_a),u_tex_y_b:new i.Uniform1f(Y,ee.u_tex_y_b),u_mix:new i.Uniform1f(Y,ee.u_mix)}},raster:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_tl_parent:new i.Uniform2f(Y,ee.u_tl_parent),u_scale_parent:new i.Uniform1f(Y,ee.u_scale_parent),u_buffer_scale:new i.Uniform1f(Y,ee.u_buffer_scale),u_fade_t:new i.Uniform1f(Y,ee.u_fade_t),u_opacity:new i.Uniform1f(Y,ee.u_opacity),u_image0:new i.Uniform1i(Y,ee.u_image0),u_image1:new i.Uniform1i(Y,ee.u_image1),u_brightness_low:new i.Uniform1f(Y,ee.u_brightness_low),u_brightness_high:new i.Uniform1f(Y,ee.u_brightness_high),u_saturation_factor:new i.Uniform1f(Y,ee.u_saturation_factor),u_contrast_factor:new i.Uniform1f(Y,ee.u_contrast_factor),u_spin_weights:new i.Uniform3f(Y,ee.u_spin_weights)}},symbolIcon:function(Y,ee){return{u_is_size_zoom_constant:new i.Uniform1i(Y,ee.u_is_size_zoom_constant),u_is_size_feature_constant:new i.Uniform1i(Y,ee.u_is_size_feature_constant),u_size_t:new i.Uniform1f(Y,ee.u_size_t),u_size:new i.Uniform1f(Y,ee.u_size),u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_pitch:new i.Uniform1f(Y,ee.u_pitch),u_rotate_symbol:new i.Uniform1i(Y,ee.u_rotate_symbol),u_aspect_ratio:new i.Uniform1f(Y,ee.u_aspect_ratio),u_fade_change:new i.Uniform1f(Y,ee.u_fade_change),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_label_plane_matrix:new i.UniformMatrix4f(Y,ee.u_label_plane_matrix),u_coord_matrix:new i.UniformMatrix4f(Y,ee.u_coord_matrix),u_is_text:new i.Uniform1i(Y,ee.u_is_text),u_pitch_with_map:new i.Uniform1i(Y,ee.u_pitch_with_map),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_texture:new i.Uniform1i(Y,ee.u_texture)}},symbolSDF:function(Y,ee){return{u_is_size_zoom_constant:new i.Uniform1i(Y,ee.u_is_size_zoom_constant),u_is_size_feature_constant:new i.Uniform1i(Y,ee.u_is_size_feature_constant),u_size_t:new i.Uniform1f(Y,ee.u_size_t),u_size:new i.Uniform1f(Y,ee.u_size),u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_pitch:new i.Uniform1f(Y,ee.u_pitch),u_rotate_symbol:new i.Uniform1i(Y,ee.u_rotate_symbol),u_aspect_ratio:new i.Uniform1f(Y,ee.u_aspect_ratio),u_fade_change:new i.Uniform1f(Y,ee.u_fade_change),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_label_plane_matrix:new i.UniformMatrix4f(Y,ee.u_label_plane_matrix),u_coord_matrix:new i.UniformMatrix4f(Y,ee.u_coord_matrix),u_is_text:new i.Uniform1i(Y,ee.u_is_text),u_pitch_with_map:new i.Uniform1i(Y,ee.u_pitch_with_map),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_texture:new i.Uniform1i(Y,ee.u_texture),u_gamma_scale:new i.Uniform1f(Y,ee.u_gamma_scale),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_is_halo:new i.Uniform1i(Y,ee.u_is_halo)}},symbolTextAndIcon:function(Y,ee){return{u_is_size_zoom_constant:new i.Uniform1i(Y,ee.u_is_size_zoom_constant),u_is_size_feature_constant:new i.Uniform1i(Y,ee.u_is_size_feature_constant),u_size_t:new i.Uniform1f(Y,ee.u_size_t),u_size:new i.Uniform1f(Y,ee.u_size),u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_pitch:new i.Uniform1f(Y,ee.u_pitch),u_rotate_symbol:new i.Uniform1i(Y,ee.u_rotate_symbol),u_aspect_ratio:new i.Uniform1f(Y,ee.u_aspect_ratio),u_fade_change:new i.Uniform1f(Y,ee.u_fade_change),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_label_plane_matrix:new i.UniformMatrix4f(Y,ee.u_label_plane_matrix),u_coord_matrix:new i.UniformMatrix4f(Y,ee.u_coord_matrix),u_is_text:new i.Uniform1i(Y,ee.u_is_text),u_pitch_with_map:new i.Uniform1i(Y,ee.u_pitch_with_map),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_texsize_icon:new i.Uniform2f(Y,ee.u_texsize_icon),u_texture:new i.Uniform1i(Y,ee.u_texture),u_texture_icon:new i.Uniform1i(Y,ee.u_texture_icon),u_gamma_scale:new i.Uniform1f(Y,ee.u_gamma_scale),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_is_halo:new i.Uniform1i(Y,ee.u_is_halo)}},background:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_opacity:new i.Uniform1f(Y,ee.u_opacity),u_color:new i.UniformColor(Y,ee.u_color)}},backgroundPattern:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_opacity:new i.Uniform1f(Y,ee.u_opacity),u_image:new i.Uniform1i(Y,ee.u_image),u_pattern_tl_a:new i.Uniform2f(Y,ee.u_pattern_tl_a),u_pattern_br_a:new i.Uniform2f(Y,ee.u_pattern_br_a),u_pattern_tl_b:new i.Uniform2f(Y,ee.u_pattern_tl_b),u_pattern_br_b:new i.Uniform2f(Y,ee.u_pattern_br_b),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_mix:new i.Uniform1f(Y,ee.u_mix),u_pattern_size_a:new i.Uniform2f(Y,ee.u_pattern_size_a),u_pattern_size_b:new i.Uniform2f(Y,ee.u_pattern_size_b),u_scale_a:new i.Uniform1f(Y,ee.u_scale_a),u_scale_b:new i.Uniform1f(Y,ee.u_scale_b),u_pixel_coord_upper:new i.Uniform2f(Y,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f(Y,ee.u_pixel_coord_lower),u_tile_units_to_pixels:new i.Uniform1f(Y,ee.u_tile_units_to_pixels)}}};function Ru(Y,ee,K,le,Te,De,He){for(var Ze=Y.context,at=Ze.gl,Tt=Y.useProgram("collisionBox"),At=[],se=0,ve=0,Ie=0;Ie0){var mt=i.create(),zt=Xe;i.mul(mt,We.placementInvProjMatrix,Y.transform.glCoordMatrix),i.mul(mt,mt,We.placementViewportMatrix),At.push({circleArray:lt,circleOffset:ve,transform:zt,invTransform:mt}),ve=se+=lt.length/4}tt&&Tt.draw(Ze,at.LINES,qt.disabled,Ke.disabled,Y.colorModeForRenderPass(),qe.disabled,xf(Xe,Y.transform,Ue),K.id,tt.layoutVertexBuffer,tt.indexBuffer,tt.segments,null,Y.transform.zoom,null,null,tt.collisionVertexBuffer)}}if(He&&At.length){var Ut=Y.useProgram("collisionCircle"),Ht=new i.StructArrayLayout2f1f2i16;Ht.resize(4*se),Ht._trim();for(var en=0,vn=0,tn=At;vn=0&&(Fe[We.associatedIconIndex]={shiftedAnchor:tn,angle:ln})}else rr(We.numGlyphs,ve)}if(At){Ie.clear();for(var Cn=Y.icon.placedSymbolArray,_n=0;_n0){var He=i.browser.now(),Ze=(He-Y.timeAdded)/De,at=ee?(He-ee.timeAdded)/De:-1,Tt=K.getSource(),At=Te.coveringZoomLevel({tileSize:Tt.tileSize,roundZoom:Tt.roundZoom}),se=!ee||Math.abs(ee.tileID.overscaledZ-At)>Math.abs(Y.tileID.overscaledZ-At),ve=se&&Y.refreshedUponExpiration?1:i.clamp(se?Ze:1-at,0,1);return Y.refreshedUponExpiration&&Ze>=1&&(Y.refreshedUponExpiration=!1),ee?{opacity:1,mix:1-ve}:{opacity:ve,mix:0}}return{opacity:1,mix:0}}var yc=new i.Color(1,0,0,1),bc=new i.Color(0,1,0,1),Rh=new i.Color(0,0,1,1),Ll=new i.Color(1,0,1,1),Hc=new i.Color(0,1,1,1);function xc(Y){var ee=Y.transform.padding;Ph(Y,Y.transform.height-(ee.top||0),3,yc),Ph(Y,ee.bottom||0,3,bc),_c(Y,ee.left||0,3,Rh),_c(Y,Y.transform.width-(ee.right||0),3,Ll);var K=Y.transform.centerPoint;(function(le,Te,De,He){var Ze=20,at=2;Du(le,Te-at/2,De-Ze/2,at,Ze,He),Du(le,Te-Ze/2,De-at/2,Ze,at,He)})(Y,K.x,Y.transform.height-K.y,Hc)}function Ph(Y,ee,K,le){Du(Y,0,ee+K/2,Y.transform.width,K,le)}function _c(Y,ee,K,le){Du(Y,ee-K/2,0,K,Y.transform.height,le)}function Du(Y,ee,K,le,Te,De){var He=Y.context,Ze=He.gl;Ze.enable(Ze.SCISSOR_TEST),Ze.scissor(ee*i.browser.devicePixelRatio,K*i.browser.devicePixelRatio,le*i.browser.devicePixelRatio,Te*i.browser.devicePixelRatio),He.clear({color:De}),Ze.disable(Ze.SCISSOR_TEST)}function ru(Y,ee,K){var le=Y.context,Te=le.gl,De=K.posMatrix,He=Y.useProgram("debug"),Ze=qt.disabled,at=Ke.disabled,Tt=Y.colorModeForRenderPass(),At="$debug";le.activeTexture.set(Te.TEXTURE0),Y.emptyTexture.bind(Te.LINEAR,Te.CLAMP_TO_EDGE),He.draw(le,Te.LINE_STRIP,Ze,at,Tt,qe.disabled,nl(De,i.Color.red),At,Y.debugBuffer,Y.tileBorderIndexBuffer,Y.debugSegments);var se=ee.getTileByID(K.key).latestRawTileData,ve=se&&se.byteLength||0,Ie=Math.floor(ve/1024),Fe=ee.getTile(K).tileSize,Ue=512/Math.min(Fe,512)*(K.overscaledZ/Y.transform.zoom)*.5,We=K.canonical.toString();K.overscaledZ!==K.canonical.z&&(We+=" => "+K.overscaledZ),function(Xe,tt){Xe.initDebugOverlayCanvas();var lt=Xe.debugOverlayCanvas,mt=Xe.context.gl,zt=Xe.debugOverlayCanvas.getContext("2d");zt.clearRect(0,0,lt.width,lt.height),zt.shadowColor="white",zt.shadowBlur=2,zt.lineWidth=1.5,zt.strokeStyle="white",zt.textBaseline="top",zt.font="bold 36px Open Sans, sans-serif",zt.fillText(tt,5,5),zt.strokeText(tt,5,5),Xe.debugOverlayTexture.update(lt),Xe.debugOverlayTexture.bind(mt.LINEAR,mt.CLAMP_TO_EDGE)}(Y,We+" "+Ie+"kb"),He.draw(le,Te.TRIANGLES,Ze,at,Je.alphaBlended,qe.disabled,nl(De,i.Color.transparent,Ue),At,Y.debugBuffer,Y.quadTriangleIndexBuffer,Y.debugSegments)}var iu={symbol:function(Y,ee,K,le,Te){if(Y.renderPass==="translucent"){var De=Ke.disabled,He=Y.colorModeForRenderPass();K.layout.get("text-variable-anchor")&&function(Ze,at,Tt,At,se,ve,Ie){for(var Fe=at.transform,Ue=se==="map",We=ve==="map",Xe=0,tt=Ze;Xe256&&this.clearStencil(),K.setColorMode(Je.disabled),K.setDepthMode(qt.disabled);var Te=this.useProgram("clippingMask");this._tileClippingMaskIDs={};for(var De=0,He=ee;De256&&this.clearStencil();var Y=this.nextStencilID++,ee=this.context.gl;return new Ke({func:ee.NOTEQUAL,mask:255},Y,255,ee.KEEP,ee.KEEP,ee.REPLACE)},Ki.prototype.stencilModeForClipping=function(Y){var ee=this.context.gl;return new Ke({func:ee.EQUAL,mask:255},this._tileClippingMaskIDs[Y.key],0,ee.KEEP,ee.KEEP,ee.REPLACE)},Ki.prototype.stencilConfigForOverlap=function(Y){var ee,K=this.context.gl,le=Y.sort(function(at,Tt){return Tt.overscaledZ-at.overscaledZ}),Te=le[le.length-1].overscaledZ,De=le[0].overscaledZ-Te+1;if(De>1){this.currentStencilSource=void 0,this.nextStencilID+De>256&&this.clearStencil();for(var He={},Ze=0;Ze=0;this.currentLayer--){var zt=this.style._layers[le[this.currentLayer]],Ut=Te[zt.source],Ht=Tt[zt.source];this._renderTileClippingMasks(zt,Ht),this.renderLayer(this,Ut,zt,Ht)}for(this.renderPass="translucent",this.currentLayer=0;this.currentLayer0?ee.pop():null},Ki.prototype.isPatternMissing=function(Y){if(!Y)return!1;if(!Y.from||!Y.to)return!0;var ee=this.imageManager.getPattern(Y.from.toString()),K=this.imageManager.getPattern(Y.to.toString());return!ee||!K},Ki.prototype.useProgram=function(Y,ee){this.cache=this.cache||{};var K=""+Y+(ee?ee.cacheKey:"")+(this._showOverdrawInspector?"/overdraw":"");return this.cache[K]||(this.cache[K]=new Es(this.context,Sl[Y],ee,eu[Y],this._showOverdrawInspector)),this.cache[K]},Ki.prototype.setCustomLayerDefaults=function(){this.context.unbindVAO(),this.context.cullFace.setDefault(),this.context.activeTexture.setDefault(),this.context.pixelStoreUnpack.setDefault(),this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.context.pixelStoreUnpackFlipY.setDefault()},Ki.prototype.setBaseState=function(){var Y=this.context.gl;this.context.cullFace.set(!1),this.context.viewport.set([0,0,this.width,this.height]),this.context.blendEquation.set(Y.FUNC_ADD)},Ki.prototype.initDebugOverlayCanvas=function(){if(this.debugOverlayCanvas==null){this.debugOverlayCanvas=i.window.document.createElement("canvas"),this.debugOverlayCanvas.width=512,this.debugOverlayCanvas.height=512;var Y=this.context.gl;this.debugOverlayTexture=new i.Texture(this.context,this.debugOverlayCanvas,Y.RGBA)}},Ki.prototype.destroy=function(){this.emptyTexture.destroy(),this.debugOverlayTexture&&this.debugOverlayTexture.destroy()};var Il=function(Y,ee){this.points=Y,this.planes=ee};Il.fromInvProjectionMatrix=function(Y,ee,K){var le=Math.pow(2,K),Te=[[-1,1,-1,1],[1,1,-1,1],[1,-1,-1,1],[-1,-1,-1,1],[-1,1,1,1],[1,1,1,1],[1,-1,1,1],[-1,-1,1,1]].map(function(He){return i.transformMat4([],He,Y)}).map(function(He){return i.scale$1([],He,1/He[3]/ee*le)}),De=[[0,1,2],[6,5,4],[0,3,7],[2,1,5],[3,2,6],[0,4,5]].map(function(He){var Ze=i.sub([],Te[He[0]],Te[He[1]]),at=i.sub([],Te[He[2]],Te[He[1]]),Tt=i.normalize([],i.cross([],Ze,at)),At=-i.dot(Tt,Te[He[1]]);return Tt.concat(At)});return new Il(Te,De)};var Rl=function(Y,ee){this.min=Y,this.max=ee,this.center=i.scale$2([],i.add([],this.min,this.max),.5)};Rl.prototype.quadrant=function(Y){for(var ee=[Y%2==0,Y<2],K=i.clone$2(this.min),le=i.clone$2(this.max),Te=0;Te=0;if(De===0)return 0;De!==ee.length&&(K=!1)}if(K)return 2;for(var Ze=0;Ze<3;Ze++){for(var at=Number.MAX_VALUE,Tt=-Number.MAX_VALUE,At=0;Atthis.max[Ze]-this.min[Ze])return 0}return 1};var po=function(Y,ee,K,le){if(Y===void 0&&(Y=0),ee===void 0&&(ee=0),K===void 0&&(K=0),le===void 0&&(le=0),isNaN(Y)||Y<0||isNaN(ee)||ee<0||isNaN(K)||K<0||isNaN(le)||le<0)throw new Error("Invalid value for edge-insets, top, bottom, left and right must all be numbers");this.top=Y,this.bottom=ee,this.left=K,this.right=le};po.prototype.interpolate=function(Y,ee,K){return ee.top!=null&&Y.top!=null&&(this.top=i.number(Y.top,ee.top,K)),ee.bottom!=null&&Y.bottom!=null&&(this.bottom=i.number(Y.bottom,ee.bottom,K)),ee.left!=null&&Y.left!=null&&(this.left=i.number(Y.left,ee.left,K)),ee.right!=null&&Y.right!=null&&(this.right=i.number(Y.right,ee.right,K)),this},po.prototype.getCenter=function(Y,ee){var K=i.clamp((this.left+Y-this.right)/2,0,Y),le=i.clamp((this.top+ee-this.bottom)/2,0,ee);return new i.Point(K,le)},po.prototype.equals=function(Y){return this.top===Y.top&&this.bottom===Y.bottom&&this.left===Y.left&&this.right===Y.right},po.prototype.clone=function(){return new po(this.top,this.bottom,this.left,this.right)},po.prototype.toJSON=function(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}};var Oi=function(Y,ee,K,le,Te){this.tileSize=512,this.maxValidLatitude=85.051129,this._renderWorldCopies=Te===void 0||Te,this._minZoom=Y||0,this._maxZoom=ee||22,this._minPitch=K??0,this._maxPitch=le??60,this.setMaxBounds(),this.width=0,this.height=0,this._center=new i.LngLat(0,0),this.zoom=0,this.angle=0,this._fov=.6435011087932844,this._pitch=0,this._unmodified=!0,this._edgeInsets=new po,this._posMatrixCache={},this._alignedPosMatrixCache={}},Bi={minZoom:{configurable:!0},maxZoom:{configurable:!0},minPitch:{configurable:!0},maxPitch:{configurable:!0},renderWorldCopies:{configurable:!0},worldSize:{configurable:!0},centerOffset:{configurable:!0},size:{configurable:!0},bearing:{configurable:!0},pitch:{configurable:!0},fov:{configurable:!0},zoom:{configurable:!0},center:{configurable:!0},padding:{configurable:!0},centerPoint:{configurable:!0},unmodified:{configurable:!0},point:{configurable:!0}};Oi.prototype.clone=function(){var Y=new Oi(this._minZoom,this._maxZoom,this._minPitch,this.maxPitch,this._renderWorldCopies);return Y.tileSize=this.tileSize,Y.latRange=this.latRange,Y.width=this.width,Y.height=this.height,Y._center=this._center,Y.zoom=this.zoom,Y.angle=this.angle,Y._fov=this._fov,Y._pitch=this._pitch,Y._unmodified=this._unmodified,Y._edgeInsets=this._edgeInsets.clone(),Y._calcMatrices(),Y},Bi.minZoom.get=function(){return this._minZoom},Bi.minZoom.set=function(Y){this._minZoom!==Y&&(this._minZoom=Y,this.zoom=Math.max(this.zoom,Y))},Bi.maxZoom.get=function(){return this._maxZoom},Bi.maxZoom.set=function(Y){this._maxZoom!==Y&&(this._maxZoom=Y,this.zoom=Math.min(this.zoom,Y))},Bi.minPitch.get=function(){return this._minPitch},Bi.minPitch.set=function(Y){this._minPitch!==Y&&(this._minPitch=Y,this.pitch=Math.max(this.pitch,Y))},Bi.maxPitch.get=function(){return this._maxPitch},Bi.maxPitch.set=function(Y){this._maxPitch!==Y&&(this._maxPitch=Y,this.pitch=Math.min(this.pitch,Y))},Bi.renderWorldCopies.get=function(){return this._renderWorldCopies},Bi.renderWorldCopies.set=function(Y){Y===void 0?Y=!0:Y===null&&(Y=!1),this._renderWorldCopies=Y},Bi.worldSize.get=function(){return this.tileSize*this.scale},Bi.centerOffset.get=function(){return this.centerPoint._sub(this.size._div(2))},Bi.size.get=function(){return new i.Point(this.width,this.height)},Bi.bearing.get=function(){return-this.angle/Math.PI*180},Bi.bearing.set=function(Y){var ee=-i.wrap(Y,-180,180)*Math.PI/180;this.angle!==ee&&(this._unmodified=!1,this.angle=ee,this._calcMatrices(),this.rotationMatrix=i.create$2(),i.rotate(this.rotationMatrix,this.rotationMatrix,this.angle))},Bi.pitch.get=function(){return this._pitch/Math.PI*180},Bi.pitch.set=function(Y){var ee=i.clamp(Y,this.minPitch,this.maxPitch)/180*Math.PI;this._pitch!==ee&&(this._unmodified=!1,this._pitch=ee,this._calcMatrices())},Bi.fov.get=function(){return this._fov/Math.PI*180},Bi.fov.set=function(Y){Y=Math.max(.01,Math.min(60,Y)),this._fov!==Y&&(this._unmodified=!1,this._fov=Y/180*Math.PI,this._calcMatrices())},Bi.zoom.get=function(){return this._zoom},Bi.zoom.set=function(Y){var ee=Math.min(Math.max(Y,this.minZoom),this.maxZoom);this._zoom!==ee&&(this._unmodified=!1,this._zoom=ee,this.scale=this.zoomScale(ee),this.tileZoom=Math.floor(ee),this.zoomFraction=ee-this.tileZoom,this._constrain(),this._calcMatrices())},Bi.center.get=function(){return this._center},Bi.center.set=function(Y){Y.lat===this._center.lat&&Y.lng===this._center.lng||(this._unmodified=!1,this._center=Y,this._constrain(),this._calcMatrices())},Bi.padding.get=function(){return this._edgeInsets.toJSON()},Bi.padding.set=function(Y){this._edgeInsets.equals(Y)||(this._unmodified=!1,this._edgeInsets.interpolate(this._edgeInsets,Y,1),this._calcMatrices())},Bi.centerPoint.get=function(){return this._edgeInsets.getCenter(this.width,this.height)},Oi.prototype.isPaddingEqual=function(Y){return this._edgeInsets.equals(Y)},Oi.prototype.interpolatePadding=function(Y,ee,K){this._unmodified=!1,this._edgeInsets.interpolate(Y,ee,K),this._constrain(),this._calcMatrices()},Oi.prototype.coveringZoomLevel=function(Y){var ee=(Y.roundZoom?Math.round:Math.floor)(this.zoom+this.scaleZoom(this.tileSize/Y.tileSize));return Math.max(0,ee)},Oi.prototype.getVisibleUnwrappedCoordinates=function(Y){var ee=[new i.UnwrappedTileID(0,Y)];if(this._renderWorldCopies)for(var K=this.pointCoordinate(new i.Point(0,0)),le=this.pointCoordinate(new i.Point(this.width,0)),Te=this.pointCoordinate(new i.Point(this.width,this.height)),De=this.pointCoordinate(new i.Point(0,this.height)),He=Math.floor(Math.min(K.x,le.x,Te.x,De.x)),Ze=Math.floor(Math.max(K.x,le.x,Te.x,De.x)),at=He-1;at<=Ze+1;at++)at!==0&&ee.push(new i.UnwrappedTileID(at,Y));return ee},Oi.prototype.coveringTiles=function(Y){var ee=this.coveringZoomLevel(Y),K=ee;if(Y.minzoom!==void 0&&eeY.maxzoom&&(ee=Y.maxzoom);var le=i.MercatorCoordinate.fromLngLat(this.center),Te=Math.pow(2,ee),De=[Te*le.x,Te*le.y,0],He=Il.fromInvProjectionMatrix(this.invProjMatrix,this.worldSize,ee),Ze=Y.minzoom||0;this.pitch<=60&&this._edgeInsets.top<.1&&(Ze=ee);var at=function(tn){return{aabb:new Rl([tn*Te,0,0],[(tn+1)*Te,Te,0]),zoom:0,x:0,y:0,wrap:tn,fullyVisible:!1}},Tt=[],At=[],se=ee,ve=Y.reparseOverscaled?K:ee;if(this._renderWorldCopies)for(var Ie=1;Ie<=3;Ie++)Tt.push(at(-Ie)),Tt.push(at(Ie));for(Tt.push(at(0));Tt.length>0;){var Fe=Tt.pop(),Ue=Fe.x,We=Fe.y,Xe=Fe.fullyVisible;if(!Xe){var tt=Fe.aabb.intersects(He);if(tt===0)continue;Xe=tt===2}var lt=Fe.aabb.distanceX(De),mt=Fe.aabb.distanceY(De),zt=Math.max(Math.abs(lt),Math.abs(mt)),Ut=3+(1<Ut&&Fe.zoom>=Ze)At.push({tileID:new i.OverscaledTileID(Fe.zoom===se?ve:Fe.zoom,Fe.wrap,Fe.zoom,Ue,We),distanceSq:i.sqrLen([De[0]-.5-Ue,De[1]-.5-We])});else for(var Ht=0;Ht<4;Ht++){var en=(Ue<<1)+Ht%2,vn=(We<<1)+(Ht>>1);Tt.push({aabb:Fe.aabb.quadrant(Ht),zoom:Fe.zoom+1,x:en,y:vn,wrap:Fe.wrap,fullyVisible:Xe})}}return At.sort(function(tn,ln){return tn.distanceSq-ln.distanceSq}).map(function(tn){return tn.tileID})},Oi.prototype.resize=function(Y,ee){this.width=Y,this.height=ee,this.pixelsToGLUnits=[2/Y,-2/ee],this._constrain(),this._calcMatrices()},Bi.unmodified.get=function(){return this._unmodified},Oi.prototype.zoomScale=function(Y){return Math.pow(2,Y)},Oi.prototype.scaleZoom=function(Y){return Math.log(Y)/Math.LN2},Oi.prototype.project=function(Y){var ee=i.clamp(Y.lat,-this.maxValidLatitude,this.maxValidLatitude);return new i.Point(i.mercatorXfromLng(Y.lng)*this.worldSize,i.mercatorYfromLat(ee)*this.worldSize)},Oi.prototype.unproject=function(Y){return new i.MercatorCoordinate(Y.x/this.worldSize,Y.y/this.worldSize).toLngLat()},Bi.point.get=function(){return this.project(this.center)},Oi.prototype.setLocationAtPoint=function(Y,ee){var K=this.pointCoordinate(ee),le=this.pointCoordinate(this.centerPoint),Te=this.locationCoordinate(Y),De=new i.MercatorCoordinate(Te.x-(K.x-le.x),Te.y-(K.y-le.y));this.center=this.coordinateLocation(De),this._renderWorldCopies&&(this.center=this.center.wrap())},Oi.prototype.locationPoint=function(Y){return this.coordinatePoint(this.locationCoordinate(Y))},Oi.prototype.pointLocation=function(Y){return this.coordinateLocation(this.pointCoordinate(Y))},Oi.prototype.locationCoordinate=function(Y){return i.MercatorCoordinate.fromLngLat(Y)},Oi.prototype.coordinateLocation=function(Y){return Y.toLngLat()},Oi.prototype.pointCoordinate=function(Y){var ee=[Y.x,Y.y,0,1],K=[Y.x,Y.y,1,1];i.transformMat4(ee,ee,this.pixelMatrixInverse),i.transformMat4(K,K,this.pixelMatrixInverse);var le=ee[3],Te=K[3],De=ee[0]/le,He=K[0]/Te,Ze=ee[1]/le,at=K[1]/Te,Tt=ee[2]/le,At=K[2]/Te,se=Tt===At?0:(0-Tt)/(At-Tt);return new i.MercatorCoordinate(i.number(De,He,se)/this.worldSize,i.number(Ze,at,se)/this.worldSize)},Oi.prototype.coordinatePoint=function(Y){var ee=[Y.x*this.worldSize,Y.y*this.worldSize,0,1];return i.transformMat4(ee,ee,this.pixelMatrix),new i.Point(ee[0]/ee[3],ee[1]/ee[3])},Oi.prototype.getBounds=function(){return new i.LngLatBounds().extend(this.pointLocation(new i.Point(0,0))).extend(this.pointLocation(new i.Point(this.width,0))).extend(this.pointLocation(new i.Point(this.width,this.height))).extend(this.pointLocation(new i.Point(0,this.height)))},Oi.prototype.getMaxBounds=function(){return this.latRange&&this.latRange.length===2&&this.lngRange&&this.lngRange.length===2?new i.LngLatBounds([this.lngRange[0],this.latRange[0]],[this.lngRange[1],this.latRange[1]]):null},Oi.prototype.setMaxBounds=function(Y){Y?(this.lngRange=[Y.getWest(),Y.getEast()],this.latRange=[Y.getSouth(),Y.getNorth()],this._constrain()):(this.lngRange=null,this.latRange=[-this.maxValidLatitude,this.maxValidLatitude])},Oi.prototype.calculatePosMatrix=function(Y,ee){ee===void 0&&(ee=!1);var K=Y.key,le=ee?this._alignedPosMatrixCache:this._posMatrixCache;if(le[K])return le[K];var Te=Y.canonical,De=this.worldSize/this.zoomScale(Te.z),He=Te.x+Math.pow(2,Te.z)*Y.wrap,Ze=i.identity(new Float64Array(16));return i.translate(Ze,Ze,[He*De,Te.y*De,0]),i.scale(Ze,Ze,[De/i.EXTENT,De/i.EXTENT,1]),i.multiply(Ze,ee?this.alignedProjMatrix:this.projMatrix,Ze),le[K]=new Float32Array(Ze),le[K]},Oi.prototype.customLayerMatrix=function(){return this.mercatorMatrix.slice()},Oi.prototype._constrain=function(){if(this.center&&this.width&&this.height&&!this._constraining){this._constraining=!0;var Y,ee,K,le,Te=-90,De=90,He=-180,Ze=180,at=this.size,Tt=this._unmodified;if(this.latRange){var At=this.latRange;Te=i.mercatorYfromLat(At[1])*this.worldSize,Y=(De=i.mercatorYfromLat(At[0])*this.worldSize)-TeDe&&(le=De-Ue)}if(this.lngRange){var We=ve.x,Xe=at.x/2;We-XeZe&&(K=Ze-Xe)}K===void 0&&le===void 0||(this.center=this.unproject(new i.Point(K!==void 0?K:ve.x,le!==void 0?le:ve.y))),this._unmodified=Tt,this._constraining=!1}},Oi.prototype._calcMatrices=function(){if(this.height){var Y=this._fov/2,ee=this.centerOffset;this.cameraToCenterDistance=.5/Math.tan(Y)*this.height;var K=Math.PI/2+this._pitch,le=this._fov*(.5+ee.y/this.height),Te=Math.sin(le)*this.cameraToCenterDistance/Math.sin(i.clamp(Math.PI-K-le,.01,Math.PI-.01)),De=this.point,He=De.x,Ze=De.y,at=1.01*(Math.cos(Math.PI/2-this._pitch)*Te+this.cameraToCenterDistance),Tt=this.height/50,At=new Float64Array(16);i.perspective(At,this._fov,this.width/this.height,Tt,at),At[8]=2*-ee.x/this.width,At[9]=2*ee.y/this.height,i.scale(At,At,[1,-1,1]),i.translate(At,At,[0,0,-this.cameraToCenterDistance]),i.rotateX(At,At,this._pitch),i.rotateZ(At,At,this.angle),i.translate(At,At,[-He,-Ze,0]),this.mercatorMatrix=i.scale([],At,[this.worldSize,this.worldSize,this.worldSize]),i.scale(At,At,[1,1,i.mercatorZfromAltitude(1,this.center.lat)*this.worldSize,1]),this.projMatrix=At,this.invProjMatrix=i.invert([],this.projMatrix);var se=this.width%2/2,ve=this.height%2/2,Ie=Math.cos(this.angle),Fe=Math.sin(this.angle),Ue=He-Math.round(He)+Ie*se+Fe*ve,We=Ze-Math.round(Ze)+Ie*ve+Fe*se,Xe=new Float64Array(At);if(i.translate(Xe,Xe,[Ue>.5?Ue-1:Ue,We>.5?We-1:We,0]),this.alignedProjMatrix=Xe,At=i.create(),i.scale(At,At,[this.width/2,-this.height/2,1]),i.translate(At,At,[1,-1,0]),this.labelPlaneMatrix=At,At=i.create(),i.scale(At,At,[1,-1,1]),i.translate(At,At,[-1,-1,0]),i.scale(At,At,[2/this.width,2/this.height,1]),this.glCoordMatrix=At,this.pixelMatrix=i.multiply(new Float64Array(16),this.labelPlaneMatrix,this.projMatrix),!(At=i.invert(new Float64Array(16),this.pixelMatrix)))throw new Error("failed to invert matrix");this.pixelMatrixInverse=At,this._posMatrixCache={},this._alignedPosMatrixCache={}}},Oi.prototype.maxPitchScaleFactor=function(){if(!this.pixelMatrixInverse)return 1;var Y=this.pointCoordinate(new i.Point(0,0)),ee=[Y.x*this.worldSize,Y.y*this.worldSize,0,1];return i.transformMat4(ee,ee,this.pixelMatrix)[3]/this.cameraToCenterDistance},Oi.prototype.getCameraPoint=function(){var Y=this._pitch,ee=Math.tan(Y)*(this.cameraToCenterDistance||1);return this.centerPoint.add(new i.Point(0,ee))},Oi.prototype.getCameraQueryGeometry=function(Y){var ee=this.getCameraPoint();if(Y.length===1)return[Y[0],ee];for(var K=ee.x,le=ee.y,Te=ee.x,De=ee.y,He=0,Ze=Y;He=3&&!Y.some(function(K){return isNaN(K)})){var ee=this._map.dragRotate.isEnabled()&&this._map.touchZoomRotate.isEnabled()?+(Y[3]||0):this._map.getBearing();return this._map.jumpTo({center:[+Y[2],+Y[1]],zoom:+Y[0],bearing:ee,pitch:+(Y[4]||0)}),!0}return!1},ol.prototype._updateHashUnthrottled=function(){var Y=this.getHashString();try{i.window.history.replaceState(i.window.history.state,"",Y)}catch{}};var Us={linearity:.3,easing:i.bezier(0,0,.3,1)},Gc=i.extend({deceleration:2500,maxSpeed:1400},Us),Oh=i.extend({deceleration:20,maxSpeed:1400},Us),au=i.extend({deceleration:1e3,maxSpeed:360},Us),Dh=i.extend({deceleration:1e3,maxSpeed:90},Us),ou=function(Y){this._map=Y,this.clear()};function sl(Y,ee){(!Y.duration||Y.duration0&&ee-Y[0].time>160;)Y.shift()},ou.prototype._onMoveEnd=function(Y){if(this._drainInertiaBuffer(),!(this._inertiaBuffer.length<2)){for(var ee={zoom:0,bearing:0,pitch:0,pan:new i.Point(0,0),pinchAround:void 0,around:void 0},K=0,le=this._inertiaBuffer;K=this._clickTolerance||this._map.fire(new da(Y.type,this._map,Y))},Ha.prototype.dblclick=function(Y){return this._firePreventable(new da(Y.type,this._map,Y))},Ha.prototype.mouseover=function(Y){this._map.fire(new da(Y.type,this._map,Y))},Ha.prototype.mouseout=function(Y){this._map.fire(new da(Y.type,this._map,Y))},Ha.prototype.touchstart=function(Y){return this._firePreventable(new Hs(Y.type,this._map,Y))},Ha.prototype.touchmove=function(Y){this._map.fire(new Hs(Y.type,this._map,Y))},Ha.prototype.touchend=function(Y){this._map.fire(new Hs(Y.type,this._map,Y))},Ha.prototype.touchcancel=function(Y){this._map.fire(new Hs(Y.type,this._map,Y))},Ha.prototype._firePreventable=function(Y){if(this._map.fire(Y),Y.defaultPrevented)return{}},Ha.prototype.isEnabled=function(){return!0},Ha.prototype.isActive=function(){return!1},Ha.prototype.enable=function(){},Ha.prototype.disable=function(){};var mo=function(Y){this._map=Y};mo.prototype.reset=function(){this._delayContextMenu=!1,delete this._contextMenuEvent},mo.prototype.mousemove=function(Y){this._map.fire(new da(Y.type,this._map,Y))},mo.prototype.mousedown=function(){this._delayContextMenu=!0},mo.prototype.mouseup=function(){this._delayContextMenu=!1,this._contextMenuEvent&&(this._map.fire(new da("contextmenu",this._map,this._contextMenuEvent)),delete this._contextMenuEvent)},mo.prototype.contextmenu=function(Y){this._delayContextMenu?this._contextMenuEvent=Y:this._map.fire(new da(Y.type,this._map,Y)),this._map.listens("contextmenu")&&Y.preventDefault()},mo.prototype.isEnabled=function(){return!0},mo.prototype.isActive=function(){return!1},mo.prototype.enable=function(){},mo.prototype.disable=function(){};var go=function(Y,ee){this._map=Y,this._el=Y.getCanvasContainer(),this._container=Y.getContainer(),this._clickTolerance=ee.clickTolerance||1};function ho(Y,ee){for(var K={},le=0;lethis.numTouches)&&(this.aborted=!0),this.aborted||(this.startTime===void 0&&(this.startTime=Y.timeStamp),K.length===this.numTouches&&(this.centroid=function(le){for(var Te=new i.Point(0,0),De=0,He=le;De30)&&(this.aborted=!0)}}},zo.prototype.touchend=function(Y,ee,K){if((!this.centroid||Y.timeStamp-this.startTime>500)&&(this.aborted=!0),K.length===0){var le=!this.aborted&&this.centroid;if(this.reset(),le)return le}};var Pl=function(Y){this.singleTap=new zo(Y),this.numTaps=Y.numTaps,this.reset()};Pl.prototype.reset=function(){this.lastTime=1/0,delete this.lastTap,this.count=0,this.singleTap.reset()},Pl.prototype.touchstart=function(Y,ee,K){this.singleTap.touchstart(Y,ee,K)},Pl.prototype.touchmove=function(Y,ee,K){this.singleTap.touchmove(Y,ee,K)},Pl.prototype.touchend=function(Y,ee,K){var le=this.singleTap.touchend(Y,ee,K);if(le){var Te=Y.timeStamp-this.lastTime<500,De=!this.lastTap||this.lastTap.dist(le)<30;if(Te&&De||this.reset(),this.count++,this.lastTime=Y.timeStamp,this.lastTap=le,this.count===this.numTaps)return this.reset(),le}};var vs=function(){this._zoomIn=new Pl({numTouches:1,numTaps:2}),this._zoomOut=new Pl({numTouches:2,numTaps:1}),this.reset()};vs.prototype.reset=function(){this._active=!1,this._zoomIn.reset(),this._zoomOut.reset()},vs.prototype.touchstart=function(Y,ee,K){this._zoomIn.touchstart(Y,ee,K),this._zoomOut.touchstart(Y,ee,K)},vs.prototype.touchmove=function(Y,ee,K){this._zoomIn.touchmove(Y,ee,K),this._zoomOut.touchmove(Y,ee,K)},vs.prototype.touchend=function(Y,ee,K){var le=this,Te=this._zoomIn.touchend(Y,ee,K),De=this._zoomOut.touchend(Y,ee,K);return Te?(this._active=!0,Y.preventDefault(),setTimeout(function(){return le.reset()},0),{cameraAnimation:function(He){return He.easeTo({duration:300,zoom:He.getZoom()+1,around:He.unproject(Te)},{originalEvent:Y})}}):De?(this._active=!0,Y.preventDefault(),setTimeout(function(){return le.reset()},0),{cameraAnimation:function(He){return He.easeTo({duration:300,zoom:He.getZoom()-1,around:He.unproject(De)},{originalEvent:Y})}}):void 0},vs.prototype.touchcancel=function(){this.reset()},vs.prototype.enable=function(){this._enabled=!0},vs.prototype.disable=function(){this._enabled=!1,this.reset()},vs.prototype.isEnabled=function(){return this._enabled},vs.prototype.isActive=function(){return this._active};var $a=function(Y){this.reset(),this._clickTolerance=Y.clickTolerance||1};$a.prototype.reset=function(){this._active=!1,this._moved=!1,delete this._lastPoint,delete this._eventButton},$a.prototype._correctButton=function(Y,ee){return!1},$a.prototype._move=function(Y,ee){return{}},$a.prototype.mousedown=function(Y,ee){if(!this._lastPoint){var K=v.mouseButton(Y);this._correctButton(Y,K)&&(this._lastPoint=ee,this._eventButton=K)}},$a.prototype.mousemoveWindow=function(Y,ee){var K=this._lastPoint;if(K&&(Y.preventDefault(),this._moved||!(ee.dist(K)0&&(this._active=!0);var le=ho(K,ee),Te=new i.Point(0,0),De=new i.Point(0,0),He=0;for(var Ze in le){var at=le[Ze],Tt=this._touches[Ze];Tt&&(Te._add(at),De._add(at.sub(Tt)),He++,le[Ze]=at)}if(this._touches=le,!(HeMath.abs(Y.x)}var Br=function(Y){function ee(){Y.apply(this,arguments)}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee.prototype.reset=function(){Y.prototype.reset.call(this),this._valid=void 0,delete this._firstMove,delete this._lastPoints},ee.prototype._start=function(K){this._lastPoints=K,Bu(K[0].sub(K[1]))&&(this._valid=!1)},ee.prototype._move=function(K,le,Te){var De=K[0].sub(this._lastPoints[0]),He=K[1].sub(this._lastPoints[1]);if(this._valid=this.gestureBeginsVertically(De,He,Te.timeStamp),this._valid)return this._lastPoints=K,this._active=!0,{pitchDelta:(De.y+He.y)/2*-.5}},ee.prototype.gestureBeginsVertically=function(K,le,Te){if(this._valid!==void 0)return this._valid;var De=K.mag()>=2,He=le.mag()>=2;if(De||He){if(!De||!He)return this._firstMove===void 0&&(this._firstMove=Te),Te-this._firstMove<100&&void 0;var Ze=K.y>0==le.y>0;return Bu(K)&&Bu(le)&&Ze}},ee}(Dr),Nu={panStep:100,bearingStep:15,pitchStep:10},ys=function(){var Y=Nu;this._panStep=Y.panStep,this._bearingStep=Y.bearingStep,this._pitchStep=Y.pitchStep};function $c(Y){return Y*(2-Y)}ys.prototype.reset=function(){this._active=!1},ys.prototype.keydown=function(Y){var ee=this;if(!(Y.altKey||Y.ctrlKey||Y.metaKey)){var K=0,le=0,Te=0,De=0,He=0;switch(Y.keyCode){case 61:case 107:case 171:case 187:K=1;break;case 189:case 109:case 173:K=-1;break;case 37:Y.shiftKey?le=-1:(Y.preventDefault(),De=-1);break;case 39:Y.shiftKey?le=1:(Y.preventDefault(),De=1);break;case 38:Y.shiftKey?Te=1:(Y.preventDefault(),He=-1);break;case 40:Y.shiftKey?Te=-1:(Y.preventDefault(),He=1);break;default:return}return{cameraAnimation:function(Ze){var at=Ze.getZoom();Ze.easeTo({duration:300,easeId:"keyboardHandler",easing:$c,zoom:K?Math.round(at)+K*(Y.shiftKey?2:1):at,bearing:Ze.getBearing()+le*ee._bearingStep,pitch:Ze.getPitch()+Te*ee._pitchStep,offset:[-De*ee._panStep,-He*ee._panStep],center:Ze.getCenter()},{originalEvent:Y})}}}},ys.prototype.enable=function(){this._enabled=!0},ys.prototype.disable=function(){this._enabled=!1,this.reset()},ys.prototype.isEnabled=function(){return this._enabled},ys.prototype.isActive=function(){return this._active};var wc=4.000244140625,vo=function(Y,ee){this._map=Y,this._el=Y.getCanvasContainer(),this._handler=ee,this._delta=0,this._defaultZoomRate=.01,this._wheelZoomRate=.0022222222222222222,i.bindAll(["_onWheel","_onTimeout","_onScrollFrame","_onScrollFinished"],this)};vo.prototype.setZoomRate=function(Y){this._defaultZoomRate=Y},vo.prototype.setWheelZoomRate=function(Y){this._wheelZoomRate=Y},vo.prototype.isEnabled=function(){return!!this._enabled},vo.prototype.isActive=function(){return!!this._active||this._finishTimeout!==void 0},vo.prototype.isZooming=function(){return!!this._zooming},vo.prototype.enable=function(Y){this.isEnabled()||(this._enabled=!0,this._aroundCenter=Y&&Y.around==="center")},vo.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},vo.prototype.wheel=function(Y){if(this.isEnabled()){var ee=Y.deltaMode===i.window.WheelEvent.DOM_DELTA_LINE?40*Y.deltaY:Y.deltaY,K=i.browser.now(),le=K-(this._lastWheelEventTime||0);this._lastWheelEventTime=K,ee!==0&&ee%wc==0?this._type="wheel":ee!==0&&Math.abs(ee)<4?this._type="trackpad":le>400?(this._type=null,this._lastValue=ee,this._timeout=setTimeout(this._onTimeout,40,Y)):this._type||(this._type=Math.abs(le*ee)<200?"trackpad":"wheel",this._timeout&&(clearTimeout(this._timeout),this._timeout=null,ee+=this._lastValue)),Y.shiftKey&&ee&&(ee/=4),this._type&&(this._lastWheelEvent=Y,this._delta-=ee,this._active||this._start(Y)),Y.preventDefault()}},vo.prototype._onTimeout=function(Y){this._type="wheel",this._delta-=this._lastValue,this._active||this._start(Y)},vo.prototype._start=function(Y){if(this._delta){this._frameId&&(this._frameId=null),this._active=!0,this.isZooming()||(this._zooming=!0),this._finishTimeout&&(clearTimeout(this._finishTimeout),delete this._finishTimeout);var ee=v.mousePos(this._el,Y);this._around=i.LngLat.convert(this._aroundCenter?this._map.getCenter():this._map.unproject(ee)),this._aroundPoint=this._map.transform.locationPoint(this._around),this._frameId||(this._frameId=!0,this._handler._triggerRenderFrame())}},vo.prototype.renderFrame=function(){return this._onScrollFrame()},vo.prototype._onScrollFrame=function(){var Y=this;if(this._frameId&&(this._frameId=null,this.isActive())){var ee=this._map.transform;if(this._delta!==0){var K=this._type==="wheel"&&Math.abs(this._delta)>wc?this._wheelZoomRate:this._defaultZoomRate,le=2/(1+Math.exp(-Math.abs(this._delta*K)));this._delta<0&&le!==0&&(le=1/le);var Te=typeof this._targetZoom=="number"?ee.zoomScale(this._targetZoom):ee.scale;this._targetZoom=Math.min(ee.maxZoom,Math.max(ee.minZoom,ee.scaleZoom(Te*le))),this._type==="wheel"&&(this._startZoom=ee.zoom,this._easing=this._smoothOutEasing(200)),this._delta=0}var De,He=typeof this._targetZoom=="number"?this._targetZoom:ee.zoom,Ze=this._startZoom,at=this._easing,Tt=!1;if(this._type==="wheel"&&Ze&&at){var At=Math.min((i.browser.now()-this._lastWheelEventTime)/200,1),se=at(At);De=i.number(Ze,He,se),At<1?this._frameId||(this._frameId=!0):Tt=!0}else De=He,Tt=!0;return this._active=!0,Tt&&(this._active=!1,this._finishTimeout=setTimeout(function(){Y._zooming=!1,Y._handler._triggerRenderFrame(),delete Y._targetZoom,delete Y._finishTimeout},200)),{noInertia:!0,needsRenderFrame:!Tt,zoomDelta:De-ee.zoom,around:this._aroundPoint,originalEvent:this._lastWheelEvent}}},vo.prototype._smoothOutEasing=function(Y){var ee=i.ease;if(this._prevEase){var K=this._prevEase,le=(i.browser.now()-K.start)/K.duration,Te=K.easing(le+.01)-K.easing(le),De=.27/Math.sqrt(Te*Te+1e-4)*.01,He=Math.sqrt(.0729-De*De);ee=i.bezier(De,He,.25,1)}return this._prevEase={start:i.browser.now(),duration:Y,easing:ee},ee},vo.prototype.reset=function(){this._active=!1};var cu=function(Y,ee){this._clickZoom=Y,this._tapZoom=ee};cu.prototype.enable=function(){this._clickZoom.enable(),this._tapZoom.enable()},cu.prototype.disable=function(){this._clickZoom.disable(),this._tapZoom.disable()},cu.prototype.isEnabled=function(){return this._clickZoom.isEnabled()&&this._tapZoom.isEnabled()},cu.prototype.isActive=function(){return this._clickZoom.isActive()||this._tapZoom.isActive()};var ll=function(){this.reset()};ll.prototype.reset=function(){this._active=!1},ll.prototype.dblclick=function(Y,ee){return Y.preventDefault(),{cameraAnimation:function(K){K.easeTo({duration:300,zoom:K.getZoom()+(Y.shiftKey?-1:1),around:K.unproject(ee)},{originalEvent:Y})}}},ll.prototype.enable=function(){this._enabled=!0},ll.prototype.disable=function(){this._enabled=!1,this.reset()},ll.prototype.isEnabled=function(){return this._enabled},ll.prototype.isActive=function(){return this._active};var Zo=function(){this._tap=new Pl({numTouches:1,numTaps:1}),this.reset()};Zo.prototype.reset=function(){this._active=!1,delete this._swipePoint,delete this._swipeTouch,delete this._tapTime,this._tap.reset()},Zo.prototype.touchstart=function(Y,ee,K){this._swipePoint||(this._tapTime&&Y.timeStamp-this._tapTime>500&&this.reset(),this._tapTime?K.length>0&&(this._swipePoint=ee[0],this._swipeTouch=K[0].identifier):this._tap.touchstart(Y,ee,K))},Zo.prototype.touchmove=function(Y,ee,K){if(this._tapTime){if(this._swipePoint){if(K[0].identifier!==this._swipeTouch)return;var le=ee[0],Te=le.y-this._swipePoint.y;return this._swipePoint=le,Y.preventDefault(),this._active=!0,{zoomDelta:Te/128}}}else this._tap.touchmove(Y,ee,K)},Zo.prototype.touchend=function(Y,ee,K){this._tapTime?this._swipePoint&&K.length===0&&this.reset():this._tap.touchend(Y,ee,K)&&(this._tapTime=Y.timeStamp)},Zo.prototype.touchcancel=function(){this.reset()},Zo.prototype.enable=function(){this._enabled=!0},Zo.prototype.disable=function(){this._enabled=!1,this.reset()},Zo.prototype.isEnabled=function(){return this._enabled},Zo.prototype.isActive=function(){return this._active};var Ol=function(Y,ee,K){this._el=Y,this._mousePan=ee,this._touchPan=K};Ol.prototype.enable=function(Y){this._inertiaOptions=Y||{},this._mousePan.enable(),this._touchPan.enable(),this._el.classList.add("mapboxgl-touch-drag-pan")},Ol.prototype.disable=function(){this._mousePan.disable(),this._touchPan.disable(),this._el.classList.remove("mapboxgl-touch-drag-pan")},Ol.prototype.isEnabled=function(){return this._mousePan.isEnabled()&&this._touchPan.isEnabled()},Ol.prototype.isActive=function(){return this._mousePan.isActive()||this._touchPan.isActive()};var Ls=function(Y,ee,K){this._pitchWithRotate=Y.pitchWithRotate,this._mouseRotate=ee,this._mousePitch=K};Ls.prototype.enable=function(){this._mouseRotate.enable(),this._pitchWithRotate&&this._mousePitch.enable()},Ls.prototype.disable=function(){this._mouseRotate.disable(),this._mousePitch.disable()},Ls.prototype.isEnabled=function(){return this._mouseRotate.isEnabled()&&(!this._pitchWithRotate||this._mousePitch.isEnabled())},Ls.prototype.isActive=function(){return this._mouseRotate.isActive()||this._mousePitch.isActive()};var bs=function(Y,ee,K,le){this._el=Y,this._touchZoom=ee,this._touchRotate=K,this._tapDragZoom=le,this._rotationDisabled=!1,this._enabled=!0};bs.prototype.enable=function(Y){this._touchZoom.enable(Y),this._rotationDisabled||this._touchRotate.enable(Y),this._tapDragZoom.enable(),this._el.classList.add("mapboxgl-touch-zoom-rotate")},bs.prototype.disable=function(){this._touchZoom.disable(),this._touchRotate.disable(),this._tapDragZoom.disable(),this._el.classList.remove("mapboxgl-touch-zoom-rotate")},bs.prototype.isEnabled=function(){return this._touchZoom.isEnabled()&&(this._rotationDisabled||this._touchRotate.isEnabled())&&this._tapDragZoom.isEnabled()},bs.prototype.isActive=function(){return this._touchZoom.isActive()||this._touchRotate.isActive()||this._tapDragZoom.isActive()},bs.prototype.disableRotation=function(){this._rotationDisabled=!0,this._touchRotate.disable()},bs.prototype.enableRotation=function(){this._rotationDisabled=!1,this._touchZoom.isEnabled()&&this._touchRotate.enable()};var hu=function(Y){return Y.zoom||Y.drag||Y.pitch||Y.rotate},yo=function(Y){function ee(){Y.apply(this,arguments)}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee}(i.Event);function xs(Y){return Y.panDelta&&Y.panDelta.mag()||Y.zoomDelta||Y.bearingDelta||Y.pitchDelta}var $i=function(Y,ee){this._map=Y,this._el=this._map.getCanvasContainer(),this._handlers=[],this._handlersById={},this._changes=[],this._inertia=new ou(Y),this._bearingSnap=ee.bearingSnap,this._previousActiveHandlers={},this._eventsInProgress={},this._addDefaultHandlers(ee),i.bindAll(["handleEvent","handleWindowEvent"],this);var K=this._el;this._listeners=[[K,"touchstart",{passive:!1}],[K,"touchmove",{passive:!1}],[K,"touchend",void 0],[K,"touchcancel",void 0],[K,"mousedown",void 0],[K,"mousemove",void 0],[K,"mouseup",void 0],[i.window.document,"mousemove",{capture:!0}],[i.window.document,"mouseup",void 0],[K,"mouseover",void 0],[K,"mouseout",void 0],[K,"dblclick",void 0],[K,"click",void 0],[K,"keydown",{capture:!1}],[K,"keyup",void 0],[K,"wheel",{passive:!1}],[K,"contextmenu",void 0],[i.window,"blur",void 0]];for(var le=0,Te=this._listeners;leHe?Math.min(2,Ut):Math.max(.5,Ut),ln=Math.pow(tn,1-en),an=De.unproject(mt.add(zt.mult(en*ln)).mult(vn));De.setLocationAtPoint(De.renderWorldCopies?an.wrap():an,Ue)}Te._fireMoveEvents(le)},function(en){Te._afterEase(le,en)},K),this},ee.prototype._prepareEase=function(K,le,Te){Te===void 0&&(Te={}),this._moving=!0,le||Te.moving||this.fire(new i.Event("movestart",K)),this._zooming&&!Te.zooming&&this.fire(new i.Event("zoomstart",K)),this._rotating&&!Te.rotating&&this.fire(new i.Event("rotatestart",K)),this._pitching&&!Te.pitching&&this.fire(new i.Event("pitchstart",K))},ee.prototype._fireMoveEvents=function(K){this.fire(new i.Event("move",K)),this._zooming&&this.fire(new i.Event("zoom",K)),this._rotating&&this.fire(new i.Event("rotate",K)),this._pitching&&this.fire(new i.Event("pitch",K))},ee.prototype._afterEase=function(K,le){if(!this._easeId||!le||this._easeId!==le){delete this._easeId;var Te=this._zooming,De=this._rotating,He=this._pitching;this._moving=!1,this._zooming=!1,this._rotating=!1,this._pitching=!1,this._padding=!1,Te&&this.fire(new i.Event("zoomend",K)),De&&this.fire(new i.Event("rotateend",K)),He&&this.fire(new i.Event("pitchend",K)),this.fire(new i.Event("moveend",K))}},ee.prototype.flyTo=function(K,le){var Te=this;if(!K.essential&&i.browser.prefersReducedMotion){var De=i.pick(K,["center","zoom","bearing","pitch","around"]);return this.jumpTo(De,le)}this.stop(),K=i.extend({offset:[0,0],speed:1.2,curve:1.42,easing:i.ease},K);var He=this.transform,Ze=this.getZoom(),at=this.getBearing(),Tt=this.getPitch(),At=this.getPadding(),se="zoom"in K?i.clamp(+K.zoom,He.minZoom,He.maxZoom):Ze,ve="bearing"in K?this._normalizeBearing(K.bearing,at):at,Ie="pitch"in K?+K.pitch:Tt,Fe="padding"in K?K.padding:He.padding,Ue=He.zoomScale(se-Ze),We=i.Point.convert(K.offset),Xe=He.centerPoint.add(We),tt=He.pointLocation(Xe),lt=i.LngLat.convert(K.center||tt);this._normalizeCenter(lt);var mt=He.project(tt),zt=He.project(lt).sub(mt),Ut=K.curve,Ht=Math.max(He.width,He.height),en=Ht/Ue,vn=zt.mag();if("minZoom"in K){var tn=i.clamp(Math.min(K.minZoom,Ze,se),He.minZoom,He.maxZoom),ln=Ht/He.zoomScale(tn-Ze);Ut=Math.sqrt(ln/vn*2)}var an=Ut*Ut;function Cn(xr){var kr=(en*en-Ht*Ht+(xr?-1:1)*an*an*vn*vn)/(2*(xr?en:Ht)*an*vn);return Math.log(Math.sqrt(kr*kr+1)-kr)}function _n(xr){return(Math.exp(xr)-Math.exp(-xr))/2}function on(xr){return(Math.exp(xr)+Math.exp(-xr))/2}var Fn=Cn(0),Hn=function(xr){return on(Fn)/on(Fn+Ut*xr)},ir=function(xr){return Ht*((on(Fn)*(_n(kr=Fn+Ut*xr)/on(kr))-_n(Fn))/an)/vn;var kr},ar=(Cn(1)-Fn)/Ut;if(Math.abs(vn)<1e-6||!isFinite(ar)){if(Math.abs(Ht-en)<1e-6)return this.easeTo(K,le);var Mr=enK.maxDuration&&(K.duration=0),this._zooming=!0,this._rotating=at!==ve,this._pitching=Ie!==Tt,this._padding=!He.isPaddingEqual(Fe),this._prepareEase(le,!1),this._ease(function(xr){var kr=xr*ar,jr=1/Hn(kr);He.zoom=xr===1?se:Ze+He.scaleZoom(jr),Te._rotating&&(He.bearing=i.number(at,ve,xr)),Te._pitching&&(He.pitch=i.number(Tt,Ie,xr)),Te._padding&&(He.interpolatePadding(At,Fe,xr),Xe=He.centerPoint.add(We));var fi=xr===1?lt:He.unproject(mt.add(zt.mult(ir(kr))).mult(jr));He.setLocationAtPoint(He.renderWorldCopies?fi.wrap():fi,Xe),Te._fireMoveEvents(le)},function(){return Te._afterEase(le)},K),this},ee.prototype.isEasing=function(){return!!this._easeFrameId},ee.prototype.stop=function(){return this._stop()},ee.prototype._stop=function(K,le){if(this._easeFrameId&&(this._cancelRenderFrame(this._easeFrameId),delete this._easeFrameId,delete this._onEaseFrame),this._onEaseEnd){var Te=this._onEaseEnd;delete this._onEaseEnd,Te.call(this,le)}if(!K){var De=this.handlers;De&&De.stop()}return this},ee.prototype._ease=function(K,le,Te){Te.animate===!1||Te.duration===0?(K(1),le()):(this._easeStart=i.browser.now(),this._easeOptions=Te,this._onEaseFrame=K,this._onEaseEnd=le,this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback))},ee.prototype._renderFrameCallback=function(){var K=Math.min((i.browser.now()-this._easeStart)/this._easeOptions.duration,1);this._onEaseFrame(this._easeOptions.easing(K)),K<1?this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback):this.stop()},ee.prototype._normalizeBearing=function(K,le){K=i.wrap(K,-180,180);var Te=Math.abs(K-le);return Math.abs(K-360-le)180?-360:Te<-180?360:0}},ee}(i.Evented),os=function(Y){Y===void 0&&(Y={}),this.options=Y,i.bindAll(["_updateEditLink","_updateData","_updateCompact"],this)};os.prototype.getDefaultPosition=function(){return"bottom-right"},os.prototype.onAdd=function(Y){var ee=this.options&&this.options.compact;return this._map=Y,this._container=v.create("div","mapboxgl-ctrl mapboxgl-ctrl-attrib"),this._innerContainer=v.create("div","mapboxgl-ctrl-attrib-inner",this._container),ee&&this._container.classList.add("mapboxgl-compact"),this._updateAttributions(),this._updateEditLink(),this._map.on("styledata",this._updateData),this._map.on("sourcedata",this._updateData),this._map.on("moveend",this._updateEditLink),ee===void 0&&(this._map.on("resize",this._updateCompact),this._updateCompact()),this._container},os.prototype.onRemove=function(){v.remove(this._container),this._map.off("styledata",this._updateData),this._map.off("sourcedata",this._updateData),this._map.off("moveend",this._updateEditLink),this._map.off("resize",this._updateCompact),this._map=void 0,this._attribHTML=void 0},os.prototype._updateEditLink=function(){var Y=this._editLink;Y||(Y=this._editLink=this._container.querySelector(".mapbox-improve-map"));var ee=[{key:"owner",value:this.styleOwner},{key:"id",value:this.styleId},{key:"access_token",value:this._map._requestManager._customAccessToken||i.config.ACCESS_TOKEN}];if(Y){var K=ee.reduce(function(le,Te,De){return Te.value&&(le+=Te.key+"="+Te.value+(De=0)return!1;return!0})).join(" | ");He!==this._attribHTML&&(this._attribHTML=He,Y.length?(this._innerContainer.innerHTML=He,this._container.classList.remove("mapboxgl-attrib-empty")):this._container.classList.add("mapboxgl-attrib-empty"),this._editLink=null)}},os.prototype._updateCompact=function(){this._map.getCanvasContainer().offsetWidth<=640?this._container.classList.add("mapboxgl-compact"):this._container.classList.remove("mapboxgl-compact")};var _s=function(){i.bindAll(["_updateLogo"],this),i.bindAll(["_updateCompact"],this)};_s.prototype.onAdd=function(Y){this._map=Y,this._container=v.create("div","mapboxgl-ctrl");var ee=v.create("a","mapboxgl-ctrl-logo");return ee.target="_blank",ee.rel="noopener nofollow",ee.href="https://www.mapbox.com/",ee.setAttribute("aria-label",this._map._getUIString("LogoControl.Title")),ee.setAttribute("rel","noopener nofollow"),this._container.appendChild(ee),this._container.style.display="none",this._map.on("sourcedata",this._updateLogo),this._updateLogo(),this._map.on("resize",this._updateCompact),this._updateCompact(),this._container},_s.prototype.onRemove=function(){v.remove(this._container),this._map.off("sourcedata",this._updateLogo),this._map.off("resize",this._updateCompact)},_s.prototype.getDefaultPosition=function(){return"bottom-left"},_s.prototype._updateLogo=function(Y){Y&&Y.sourceDataType!=="metadata"||(this._container.style.display=this._logoRequired()?"block":"none")},_s.prototype._logoRequired=function(){if(this._map.style){var Y=this._map.style.sourceCaches;for(var ee in Y)if(Y[ee].getSource().mapbox_logo)return!0;return!1}},_s.prototype._updateCompact=function(){var Y=this._container.children;if(Y.length){var ee=Y[0];this._map.getCanvasContainer().offsetWidth<250?ee.classList.add("mapboxgl-compact"):ee.classList.remove("mapboxgl-compact")}};var Gs=function(){this._queue=[],this._id=0,this._cleared=!1,this._currentlyRunning=!1};Gs.prototype.add=function(Y){var ee=++this._id;return this._queue.push({callback:Y,id:ee,cancelled:!1}),ee},Gs.prototype.remove=function(Y){for(var ee=this._currentlyRunning,K=0,le=ee?this._queue.concat(ee):this._queue;Kle.maxZoom)throw new Error("maxZoom must be greater than or equal to minZoom");if(le.minPitch!=null&&le.maxPitch!=null&&le.minPitch>le.maxPitch)throw new Error("maxPitch must be greater than or equal to minPitch");if(le.minPitch!=null&&le.minPitch<0)throw new Error("minPitch must be greater than or equal to 0");if(le.maxPitch!=null&&le.maxPitch>No)throw new Error("maxPitch must be less than or equal to 60");var De=new Oi(le.minZoom,le.maxZoom,le.minPitch,le.maxPitch,le.renderWorldCopies);if(Y.call(this,De,le),this._interactive=le.interactive,this._maxTileCacheSize=le.maxTileCacheSize,this._failIfMajorPerformanceCaveat=le.failIfMajorPerformanceCaveat,this._preserveDrawingBuffer=le.preserveDrawingBuffer,this._antialias=le.antialias,this._trackResize=le.trackResize,this._bearingSnap=le.bearingSnap,this._refreshExpiredTiles=le.refreshExpiredTiles,this._fadeDuration=le.fadeDuration,this._crossSourceCollisions=le.crossSourceCollisions,this._crossFadingFactor=1,this._collectResourceTiming=le.collectResourceTiming,this._renderTaskQueue=new Gs,this._controls=[],this._mapId=i.uniqueId(),this._locale=i.extend({},Bo,le.locale),this._requestManager=new i.RequestManager(le.transformRequest,le.accessToken),typeof le.container=="string"){if(this._container=i.window.document.getElementById(le.container),!this._container)throw new Error("Container '"+le.container+"' not found.")}else{if(!(le.container instanceof no))throw new Error("Invalid type: 'container' must be a String or HTMLElement.");this._container=le.container}if(le.maxBounds&&this.setMaxBounds(le.maxBounds),i.bindAll(["_onWindowOnline","_onWindowResize","_contextLost","_contextRestored"],this),this._setupContainer(),this._setupPainter(),this.painter===void 0)throw new Error("Failed to initialize WebGL.");this.on("move",function(){return Te._update(!1)}),this.on("moveend",function(){return Te._update(!1)}),this.on("zoom",function(){return Te._update(!0)}),i.window!==void 0&&(i.window.addEventListener("online",this._onWindowOnline,!1),i.window.addEventListener("resize",this._onWindowResize,!1)),this.handlers=new $i(this,le);var He=typeof le.hash=="string"&&le.hash||void 0;this._hash=le.hash&&new ol(He).addTo(this),this._hash&&this._hash._onHashChange()||(this.jumpTo({center:le.center,zoom:le.zoom,bearing:le.bearing,pitch:le.pitch}),le.bounds&&(this.resize(),this.fitBounds(le.bounds,i.extend({},le.fitBoundsOptions,{duration:0})))),this.resize(),this._localIdeographFontFamily=le.localIdeographFontFamily,le.style&&this.setStyle(le.style,{localIdeographFontFamily:le.localIdeographFontFamily}),le.attributionControl&&this.addControl(new os({customAttribution:le.customAttribution})),this.addControl(new _s,le.logoPosition),this.on("style.load",function(){Te.transform.unmodified&&Te.jumpTo(Te.style.stylesheet)}),this.on("data",function(Ze){Te._update(Ze.dataType==="style"),Te.fire(new i.Event(Ze.dataType+"data",Ze))}),this.on("dataloading",function(Ze){Te.fire(new i.Event(Ze.dataType+"dataloading",Ze))})}Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee;var K={showTileBoundaries:{configurable:!0},showPadding:{configurable:!0},showCollisionBoxes:{configurable:!0},showOverdrawInspector:{configurable:!0},repaint:{configurable:!0},vertices:{configurable:!0},version:{configurable:!0}};return ee.prototype._getMapId=function(){return this._mapId},ee.prototype.addControl=function(le,Te){if(Te===void 0&&le.getDefaultPosition&&(Te=le.getDefaultPosition()),Te===void 0&&(Te="top-right"),!le||!le.onAdd)return this.fire(new i.ErrorEvent(new Error("Invalid argument to map.addControl(). Argument must be a control with onAdd and onRemove methods.")));var De=le.onAdd(this);this._controls.push(le);var He=this._controlPositions[Te];return Te.indexOf("bottom")!==-1?He.insertBefore(De,He.firstChild):He.appendChild(De),this},ee.prototype.removeControl=function(le){if(!le||!le.onRemove)return this.fire(new i.ErrorEvent(new Error("Invalid argument to map.removeControl(). Argument must be a control with onAdd and onRemove methods.")));var Te=this._controls.indexOf(le);return Te>-1&&this._controls.splice(Te,1),le.onRemove(this),this},ee.prototype.resize=function(le){var Te=this._containerDimensions(),De=Te[0],He=Te[1];this._resizeCanvas(De,He),this.transform.resize(De,He),this.painter.resize(De,He);var Ze=!this._moving;return Ze&&(this.stop(),this.fire(new i.Event("movestart",le)).fire(new i.Event("move",le))),this.fire(new i.Event("resize",le)),Ze&&this.fire(new i.Event("moveend",le)),this},ee.prototype.getBounds=function(){return this.transform.getBounds()},ee.prototype.getMaxBounds=function(){return this.transform.getMaxBounds()},ee.prototype.setMaxBounds=function(le){return this.transform.setMaxBounds(i.LngLatBounds.convert(le)),this._update()},ee.prototype.setMinZoom=function(le){if((le=le??-2)>=-2&&le<=this.transform.maxZoom)return this.transform.minZoom=le,this._update(),this.getZoom()=this.transform.minZoom)return this.transform.maxZoom=le,this._update(),this.getZoom()>le&&this.setZoom(le),this;throw new Error("maxZoom must be greater than the current minZoom")},ee.prototype.getMaxZoom=function(){return this.transform.maxZoom},ee.prototype.setMinPitch=function(le){if((le=le??0)<0)throw new Error("minPitch must be greater than or equal to 0");if(le>=0&&le<=this.transform.maxPitch)return this.transform.minPitch=le,this._update(),this.getPitch()No)throw new Error("maxPitch must be less than or equal to 60");if(le>=this.transform.minPitch)return this.transform.maxPitch=le,this._update(),this.getPitch()>le&&this.setPitch(le),this;throw new Error("maxPitch must be greater than the current minPitch")},ee.prototype.getMaxPitch=function(){return this.transform.maxPitch},ee.prototype.getRenderWorldCopies=function(){return this.transform.renderWorldCopies},ee.prototype.setRenderWorldCopies=function(le){return this.transform.renderWorldCopies=le,this._update()},ee.prototype.project=function(le){return this.transform.locationPoint(i.LngLat.convert(le))},ee.prototype.unproject=function(le){return this.transform.pointLocation(i.Point.convert(le))},ee.prototype.isMoving=function(){return this._moving||this.handlers.isMoving()},ee.prototype.isZooming=function(){return this._zooming||this.handlers.isZooming()},ee.prototype.isRotating=function(){return this._rotating||this.handlers.isRotating()},ee.prototype._createDelegatedListener=function(le,Te,De){var He,Ze=this;if(le==="mouseenter"||le==="mouseover"){var at=!1;return{layer:Te,listener:De,delegates:{mousemove:function(At){var se=Ze.getLayer(Te)?Ze.queryRenderedFeatures(At.point,{layers:[Te]}):[];se.length?at||(at=!0,De.call(Ze,new da(le,Ze,At.originalEvent,{features:se}))):at=!1},mouseout:function(){at=!1}}}}if(le==="mouseleave"||le==="mouseout"){var Tt=!1;return{layer:Te,listener:De,delegates:{mousemove:function(At){(Ze.getLayer(Te)?Ze.queryRenderedFeatures(At.point,{layers:[Te]}):[]).length?Tt=!0:Tt&&(Tt=!1,De.call(Ze,new da(le,Ze,At.originalEvent)))},mouseout:function(At){Tt&&(Tt=!1,De.call(Ze,new da(le,Ze,At.originalEvent)))}}}}return{layer:Te,listener:De,delegates:(He={},He[le]=function(At){var se=Ze.getLayer(Te)?Ze.queryRenderedFeatures(At.point,{layers:[Te]}):[];se.length&&(At.features=se,De.call(Ze,At),delete At.features)},He)}},ee.prototype.on=function(le,Te,De){if(De===void 0)return Y.prototype.on.call(this,le,Te);var He=this._createDelegatedListener(le,Te,De);for(var Ze in this._delegatedListeners=this._delegatedListeners||{},this._delegatedListeners[le]=this._delegatedListeners[le]||[],this._delegatedListeners[le].push(He),He.delegates)this.on(Ze,He.delegates[Ze]);return this},ee.prototype.once=function(le,Te,De){if(De===void 0)return Y.prototype.once.call(this,le,Te);var He=this._createDelegatedListener(le,Te,De);for(var Ze in He.delegates)this.once(Ze,He.delegates[Ze]);return this},ee.prototype.off=function(le,Te,De){var He=this;return De===void 0?Y.prototype.off.call(this,le,Te):(this._delegatedListeners&&this._delegatedListeners[le]&&function(Ze){for(var at=Ze[le],Tt=0;Tt180;){var He=K.locationPoint(Y);if(He.x>=0&&He.y>=0&&He.x<=K.width&&He.y<=K.height)break;Y.lng>K.center.lng?Y.lng-=360:Y.lng+=360}return Y}Hr.prototype.down=function(Y,ee){this.mouseRotate.mousedown(Y,ee),this.mousePitch&&this.mousePitch.mousedown(Y,ee),v.disableDrag()},Hr.prototype.move=function(Y,ee){var K=this.map,le=this.mouseRotate.mousemoveWindow(Y,ee);if(le&&le.bearingDelta&&K.setBearing(K.getBearing()+le.bearingDelta),this.mousePitch){var Te=this.mousePitch.mousemoveWindow(Y,ee);Te&&Te.pitchDelta&&K.setPitch(K.getPitch()+Te.pitchDelta)}},Hr.prototype.off=function(){var Y=this.element;v.removeEventListener(Y,"mousedown",this.mousedown),v.removeEventListener(Y,"touchstart",this.touchstart,{passive:!1}),v.removeEventListener(Y,"touchmove",this.touchmove),v.removeEventListener(Y,"touchend",this.touchend),v.removeEventListener(Y,"touchcancel",this.reset),this.offTemp()},Hr.prototype.offTemp=function(){v.enableDrag(),v.removeEventListener(i.window,"mousemove",this.mousemove),v.removeEventListener(i.window,"mouseup",this.mouseup)},Hr.prototype.mousedown=function(Y){this.down(i.extend({},Y,{ctrlKey:!0,preventDefault:function(){return Y.preventDefault()}}),v.mousePos(this.element,Y)),v.addEventListener(i.window,"mousemove",this.mousemove),v.addEventListener(i.window,"mouseup",this.mouseup)},Hr.prototype.mousemove=function(Y){this.move(Y,v.mousePos(this.element,Y))},Hr.prototype.mouseup=function(Y){this.mouseRotate.mouseupWindow(Y),this.mousePitch&&this.mousePitch.mouseupWindow(Y),this.offTemp()},Hr.prototype.touchstart=function(Y){Y.targetTouches.length!==1?this.reset():(this._startPos=this._lastPos=v.touchPos(this.element,Y.targetTouches)[0],this.down({type:"mousedown",button:0,ctrlKey:!0,preventDefault:function(){return Y.preventDefault()}},this._startPos))},Hr.prototype.touchmove=function(Y){Y.targetTouches.length!==1?this.reset():(this._lastPos=v.touchPos(this.element,Y.targetTouches)[0],this.move({preventDefault:function(){return Y.preventDefault()}},this._lastPos))},Hr.prototype.touchend=function(Y){Y.targetTouches.length===0&&this._startPos&&this._lastPos&&this._startPos.dist(this._lastPos)le.getEast()||Te.latitudele.getNorth())},ee.prototype._setErrorState=function(){switch(this._watchState){case"WAITING_ACTIVE":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"ACTIVE_LOCK":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting");break;case"BACKGROUND":this._watchState="BACKGROUND_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting")}},ee.prototype._onSuccess=function(K){if(this._map){if(this._isOutOfMapMaxBounds(K))return this._setErrorState(),this.fire(new i.Event("outofmaxbounds",K)),this._updateMarker(),void this._finish();if(this.options.trackUserLocation)switch(this._lastKnownPosition=K,this._watchState){case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"BACKGROUND":case"BACKGROUND_ERROR":this._watchState="BACKGROUND",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background")}this.options.showUserLocation&&this._watchState!=="OFF"&&this._updateMarker(K),this.options.trackUserLocation&&this._watchState!=="ACTIVE_LOCK"||this._updateCamera(K),this.options.showUserLocation&&this._dotElement.classList.remove("mapboxgl-user-location-dot-stale"),this.fire(new i.Event("geolocate",K)),this._finish()}},ee.prototype._updateCamera=function(K){var le=new i.LngLat(K.coords.longitude,K.coords.latitude),Te=K.coords.accuracy,De=this._map.getBearing(),He=i.extend({bearing:De},this.options.fitBoundsOptions);this._map.fitBounds(le.toBounds(Te),He,{geolocateSource:!0})},ee.prototype._updateMarker=function(K){if(K){var le=new i.LngLat(K.coords.longitude,K.coords.latitude);this._accuracyCircleMarker.setLngLat(le).addTo(this._map),this._userLocationDotMarker.setLngLat(le).addTo(this._map),this._accuracy=K.coords.accuracy,this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()}else this._userLocationDotMarker.remove(),this._accuracyCircleMarker.remove()},ee.prototype._updateCircleRadius=function(){var K=this._map._container.clientHeight/2,le=this._map.unproject([0,K]),Te=this._map.unproject([1,K]),De=le.distanceTo(Te),He=Math.ceil(2*this._accuracy/De);this._circleElement.style.width=He+"px",this._circleElement.style.height=He+"px"},ee.prototype._onZoom=function(){this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()},ee.prototype._onError=function(K){if(this._map){if(this.options.trackUserLocation)if(K.code===1){this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.disabled=!0;var le=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.title=le,this._geolocateButton.setAttribute("aria-label",le),this._geolocationWatchID!==void 0&&this._clearWatch()}else{if(K.code===3&&ju)return;this._setErrorState()}this._watchState!=="OFF"&&this.options.showUserLocation&&this._dotElement.classList.add("mapboxgl-user-location-dot-stale"),this.fire(new i.Event("error",K)),this._finish()}},ee.prototype._finish=function(){this._timeoutId&&clearTimeout(this._timeoutId),this._timeoutId=void 0},ee.prototype._setupUI=function(K){var le=this;if(this._container.addEventListener("contextmenu",function(He){return He.preventDefault()}),this._geolocateButton=v.create("button","mapboxgl-ctrl-geolocate",this._container),v.create("span","mapboxgl-ctrl-icon",this._geolocateButton).setAttribute("aria-hidden",!0),this._geolocateButton.type="button",K===!1){i.warnOnce("Geolocation support is not available so the GeolocateControl will be disabled.");var Te=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.disabled=!0,this._geolocateButton.title=Te,this._geolocateButton.setAttribute("aria-label",Te)}else{var De=this._map._getUIString("GeolocateControl.FindMyLocation");this._geolocateButton.title=De,this._geolocateButton.setAttribute("aria-label",De)}this.options.trackUserLocation&&(this._geolocateButton.setAttribute("aria-pressed","false"),this._watchState="OFF"),this.options.showUserLocation&&(this._dotElement=v.create("div","mapboxgl-user-location-dot"),this._userLocationDotMarker=new xo(this._dotElement),this._circleElement=v.create("div","mapboxgl-user-location-accuracy-circle"),this._accuracyCircleMarker=new xo({element:this._circleElement,pitchAlignment:"map"}),this.options.trackUserLocation&&(this._watchState="OFF"),this._map.on("zoom",this._onZoom)),this._geolocateButton.addEventListener("click",this.trigger.bind(this)),this._setup=!0,this.options.trackUserLocation&&this._map.on("movestart",function(He){var Ze=He.originalEvent&&He.originalEvent.type==="resize";He.geolocateSource||le._watchState!=="ACTIVE_LOCK"||Ze||(le._watchState="BACKGROUND",le._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background"),le._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),le.fire(new i.Event("trackuserlocationend")))})},ee.prototype.trigger=function(){if(!this._setup)return i.warnOnce("Geolocate control triggered before added to a map"),!1;if(this.options.trackUserLocation){switch(this._watchState){case"OFF":this._watchState="WAITING_ACTIVE",this.fire(new i.Event("trackuserlocationstart"));break;case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":case"BACKGROUND_ERROR":Vo--,ju=!1,this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this.fire(new i.Event("trackuserlocationend"));break;case"BACKGROUND":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._lastKnownPosition&&this._updateCamera(this._lastKnownPosition),this.fire(new i.Event("trackuserlocationstart"))}switch(this._watchState){case"WAITING_ACTIVE":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_LOCK":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"BACKGROUND":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background");break;case"BACKGROUND_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error")}if(this._watchState==="OFF"&&this._geolocationWatchID!==void 0)this._clearWatch();else if(this._geolocationWatchID===void 0){var K;this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","true"),++Vo>1?(K={maximumAge:6e5,timeout:0},ju=!0):(K=this.options.positionOptions,ju=!1),this._geolocationWatchID=i.window.navigator.geolocation.watchPosition(this._onSuccess,this._onError,K)}}else i.window.navigator.geolocation.getCurrentPosition(this._onSuccess,this._onError,this.options.positionOptions),this._timeoutId=setTimeout(this._finish,1e4);return!0},ee.prototype._clearWatch=function(){i.window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0,this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","false"),this.options.showUserLocation&&this._updateMarker(null)},ee}(i.Evented),Ji={maxWidth:100,unit:"metric"},la=function(Y){this.options=i.extend({},Ji,Y),i.bindAll(["_onMove","setUnit"],this)};function Xc(Y,ee,K){var le=K&&K.maxWidth||100,Te=Y._container.clientHeight/2,De=Y.unproject([0,Te]),He=Y.unproject([le,Te]),Ze=De.distanceTo(He);if(K&&K.unit==="imperial"){var at=3.2808*Ze;at>5280?et(ee,le,at/5280,Y._getUIString("ScaleControl.Miles")):et(ee,le,at,Y._getUIString("ScaleControl.Feet"))}else K&&K.unit==="nautical"?et(ee,le,Ze/1852,Y._getUIString("ScaleControl.NauticalMiles")):Ze>=1e3?et(ee,le,Ze/1e3,Y._getUIString("ScaleControl.Kilometers")):et(ee,le,Ze,Y._getUIString("ScaleControl.Meters"))}function et(Y,ee,K,le){var Te,De,He,Ze=(Te=K,(De=Math.pow(10,(""+Math.floor(Te)).length-1))*((He=Te/De)>=10?10:He>=5?5:He>=3?3:He>=2?2:He>=1?1:function(Tt){var At=Math.pow(10,Math.ceil(-Math.log(Tt)/Math.LN10));return Math.round(Tt*At)/At}(He))),at=Ze/K;Y.style.width=ee*at+"px",Y.innerHTML=Ze+" "+le}la.prototype.getDefaultPosition=function(){return"bottom-left"},la.prototype._onMove=function(){Xc(this._map,this._container,this.options)},la.prototype.onAdd=function(Y){return this._map=Y,this._container=v.create("div","mapboxgl-ctrl mapboxgl-ctrl-scale",Y.getContainer()),this._map.on("move",this._onMove),this._onMove(),this._container},la.prototype.onRemove=function(){v.remove(this._container),this._map.off("move",this._onMove),this._map=void 0},la.prototype.setUnit=function(Y){this.options.unit=Y,Xc(this._map,this._container,this.options)};var rt=function(Y){this._fullscreen=!1,Y&&Y.container&&(Y.container instanceof i.window.HTMLElement?this._container=Y.container:i.warnOnce("Full screen control 'container' must be a DOM element.")),i.bindAll(["_onClickFullscreen","_changeIcon"],this),"onfullscreenchange"in i.window.document?this._fullscreenchange="fullscreenchange":"onmozfullscreenchange"in i.window.document?this._fullscreenchange="mozfullscreenchange":"onwebkitfullscreenchange"in i.window.document?this._fullscreenchange="webkitfullscreenchange":"onmsfullscreenchange"in i.window.document&&(this._fullscreenchange="MSFullscreenChange")};rt.prototype.onAdd=function(Y){return this._map=Y,this._container||(this._container=this._map.getContainer()),this._controlContainer=v.create("div","mapboxgl-ctrl mapboxgl-ctrl-group"),this._checkFullscreenSupport()?this._setupUI():(this._controlContainer.style.display="none",i.warnOnce("This device does not support fullscreen mode.")),this._controlContainer},rt.prototype.onRemove=function(){v.remove(this._controlContainer),this._map=null,i.window.document.removeEventListener(this._fullscreenchange,this._changeIcon)},rt.prototype._checkFullscreenSupport=function(){return!!(i.window.document.fullscreenEnabled||i.window.document.mozFullScreenEnabled||i.window.document.msFullscreenEnabled||i.window.document.webkitFullscreenEnabled)},rt.prototype._setupUI=function(){var Y=this._fullscreenButton=v.create("button","mapboxgl-ctrl-fullscreen",this._controlContainer);v.create("span","mapboxgl-ctrl-icon",Y).setAttribute("aria-hidden",!0),Y.type="button",this._updateTitle(),this._fullscreenButton.addEventListener("click",this._onClickFullscreen),i.window.document.addEventListener(this._fullscreenchange,this._changeIcon)},rt.prototype._updateTitle=function(){var Y=this._getTitle();this._fullscreenButton.setAttribute("aria-label",Y),this._fullscreenButton.title=Y},rt.prototype._getTitle=function(){return this._map._getUIString(this._isFullscreen()?"FullscreenControl.Exit":"FullscreenControl.Enter")},rt.prototype._isFullscreen=function(){return this._fullscreen},rt.prototype._changeIcon=function(){(i.window.document.fullscreenElement||i.window.document.mozFullScreenElement||i.window.document.webkitFullscreenElement||i.window.document.msFullscreenElement)===this._container!==this._fullscreen&&(this._fullscreen=!this._fullscreen,this._fullscreenButton.classList.toggle("mapboxgl-ctrl-shrink"),this._fullscreenButton.classList.toggle("mapboxgl-ctrl-fullscreen"),this._updateTitle())},rt.prototype._onClickFullscreen=function(){this._isFullscreen()?i.window.document.exitFullscreen?i.window.document.exitFullscreen():i.window.document.mozCancelFullScreen?i.window.document.mozCancelFullScreen():i.window.document.msExitFullscreen?i.window.document.msExitFullscreen():i.window.document.webkitCancelFullScreen&&i.window.document.webkitCancelFullScreen():this._container.requestFullscreen?this._container.requestFullscreen():this._container.mozRequestFullScreen?this._container.mozRequestFullScreen():this._container.msRequestFullscreen?this._container.msRequestFullscreen():this._container.webkitRequestFullscreen&&this._container.webkitRequestFullscreen()};var ct={closeButton:!0,closeOnClick:!0,className:"",maxWidth:"240px"},vt=function(Y){function ee(K){Y.call(this),this.options=i.extend(Object.create(ct),K),i.bindAll(["_update","_onClose","remove","_onMouseMove","_onMouseUp","_onDrag"],this)}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee.prototype.addTo=function(K){return this._map&&this.remove(),this._map=K,this.options.closeOnClick&&this._map.on("click",this._onClose),this.options.closeOnMove&&this._map.on("move",this._onClose),this._map.on("remove",this.remove),this._update(),this._trackPointer?(this._map.on("mousemove",this._onMouseMove),this._map.on("mouseup",this._onMouseUp),this._container&&this._container.classList.add("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("mapboxgl-track-pointer")):this._map.on("move",this._update),this.fire(new i.Event("open")),this},ee.prototype.isOpen=function(){return!!this._map},ee.prototype.remove=function(){return this._content&&v.remove(this._content),this._container&&(v.remove(this._container),delete this._container),this._map&&(this._map.off("move",this._update),this._map.off("move",this._onClose),this._map.off("click",this._onClose),this._map.off("remove",this.remove),this._map.off("mousemove",this._onMouseMove),this._map.off("mouseup",this._onMouseUp),this._map.off("drag",this._onDrag),delete this._map),this.fire(new i.Event("close")),this},ee.prototype.getLngLat=function(){return this._lngLat},ee.prototype.setLngLat=function(K){return this._lngLat=i.LngLat.convert(K),this._pos=null,this._trackPointer=!1,this._update(),this._map&&(this._map.on("move",this._update),this._map.off("mousemove",this._onMouseMove),this._container&&this._container.classList.remove("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.remove("mapboxgl-track-pointer")),this},ee.prototype.trackPointer=function(){return this._trackPointer=!0,this._pos=null,this._update(),this._map&&(this._map.off("move",this._update),this._map.on("mousemove",this._onMouseMove),this._map.on("drag",this._onDrag),this._container&&this._container.classList.add("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("mapboxgl-track-pointer")),this},ee.prototype.getElement=function(){return this._container},ee.prototype.setText=function(K){return this.setDOMContent(i.window.document.createTextNode(K))},ee.prototype.setHTML=function(K){var le,Te=i.window.document.createDocumentFragment(),De=i.window.document.createElement("body");for(De.innerHTML=K;le=De.firstChild;)Te.appendChild(le);return this.setDOMContent(Te)},ee.prototype.getMaxWidth=function(){return this._container&&this._container.style.maxWidth},ee.prototype.setMaxWidth=function(K){return this.options.maxWidth=K,this._update(),this},ee.prototype.setDOMContent=function(K){return this._createContent(),this._content.appendChild(K),this._update(),this},ee.prototype.addClassName=function(K){this._container&&this._container.classList.add(K)},ee.prototype.removeClassName=function(K){this._container&&this._container.classList.remove(K)},ee.prototype.toggleClassName=function(K){if(this._container)return this._container.classList.toggle(K)},ee.prototype._createContent=function(){this._content&&v.remove(this._content),this._content=v.create("div","mapboxgl-popup-content",this._container),this.options.closeButton&&(this._closeButton=v.create("button","mapboxgl-popup-close-button",this._content),this._closeButton.type="button",this._closeButton.setAttribute("aria-label","Close popup"),this._closeButton.innerHTML="×",this._closeButton.addEventListener("click",this._onClose))},ee.prototype._onMouseUp=function(K){this._update(K.point)},ee.prototype._onMouseMove=function(K){this._update(K.point)},ee.prototype._onDrag=function(K){this._update(K.point)},ee.prototype._update=function(K){var le=this,Te=this._lngLat||this._trackPointer;if(this._map&&Te&&this._content&&(this._container||(this._container=v.create("div","mapboxgl-popup",this._map.getContainer()),this._tip=v.create("div","mapboxgl-popup-tip",this._container),this._container.appendChild(this._content),this.options.className&&this.options.className.split(" ").forEach(function(ve){return le._container.classList.add(ve)}),this._trackPointer&&this._container.classList.add("mapboxgl-popup-track-pointer")),this.options.maxWidth&&this._container.style.maxWidth!==this.options.maxWidth&&(this._container.style.maxWidth=this.options.maxWidth),this._map.transform.renderWorldCopies&&!this._trackPointer&&(this._lngLat=ni(this._lngLat,this._pos,this._map.transform)),!this._trackPointer||K)){var De=this._pos=this._trackPointer&&K?K:this._map.project(this._lngLat),He=this.options.anchor,Ze=St(this.options.offset);if(!He){var at,Tt=this._container.offsetWidth,At=this._container.offsetHeight;at=De.y+Ze.bottom.ythis._map.transform.height-At?["bottom"]:[],De.xthis._map.transform.width-Tt/2&&at.push("right"),He=at.length===0?"bottom":at.join("-")}var se=De.add(Ze[He]).round();v.setTransform(this._container,Vu[He]+" translate("+se.x+"px,"+se.y+"px)"),cl(this._container,He,"popup")}},ee.prototype._onClose=function(){this.remove()},ee}(i.Evented);function St(Y){if(Y){if(typeof Y=="number"){var ee=Math.round(Math.sqrt(.5*Math.pow(Y,2)));return{center:new i.Point(0,0),top:new i.Point(0,Y),"top-left":new i.Point(ee,ee),"top-right":new i.Point(-ee,ee),bottom:new i.Point(0,-Y),"bottom-left":new i.Point(ee,-ee),"bottom-right":new i.Point(-ee,-ee),left:new i.Point(Y,0),right:new i.Point(-Y,0)}}if(Y instanceof i.Point||Array.isArray(Y)){var K=i.Point.convert(Y);return{center:K,top:K,"top-left":K,"top-right":K,bottom:K,"bottom-left":K,"bottom-right":K,left:K,right:K}}return{center:i.Point.convert(Y.center||[0,0]),top:i.Point.convert(Y.top||[0,0]),"top-left":i.Point.convert(Y["top-left"]||[0,0]),"top-right":i.Point.convert(Y["top-right"]||[0,0]),bottom:i.Point.convert(Y.bottom||[0,0]),"bottom-left":i.Point.convert(Y["bottom-left"]||[0,0]),"bottom-right":i.Point.convert(Y["bottom-right"]||[0,0]),left:i.Point.convert(Y.left||[0,0]),right:i.Point.convert(Y.right||[0,0])}}return St(new i.Point(0,0))}var Mt={version:i.version,supported:M,setRTLTextPlugin:i.setRTLTextPlugin,getRTLTextPluginStatus:i.getRTLTextPluginStatus,Map:Dl,NavigationControl:ws,GeolocateControl:hl,AttributionControl:os,ScaleControl:la,FullscreenControl:rt,Popup:vt,Marker:xo,Style:dr,LngLat:i.LngLat,LngLatBounds:i.LngLatBounds,Point:i.Point,MercatorCoordinate:i.MercatorCoordinate,Evented:i.Evented,config:i.config,prewarm:function(){Lt().acquire(ut)},clearPrewarmedResources:function(){var Y=_t;Y&&(Y.isPreloaded()&&Y.numActive()===1?(Y.release(ut),_t=null):console.warn("Could not clear WebWorkers since there are active Map instances that still reference it. The pre-warmed WebWorker pool can only be cleared when all map instances have been removed with map.remove()"))},get accessToken(){return i.config.ACCESS_TOKEN},set accessToken(Y){i.config.ACCESS_TOKEN=Y},get baseApiUrl(){return i.config.API_URL},set baseApiUrl(Y){i.config.API_URL=Y},get workerCount(){return dt.workerCount},set workerCount(Y){dt.workerCount=Y},get maxParallelImageRequests(){return i.config.MAX_PARALLEL_IMAGE_REQUESTS},set maxParallelImageRequests(Y){i.config.MAX_PARALLEL_IMAGE_REQUESTS=Y},clearStorage:function(Y){i.clearTileCache(Y)},workerUrl:""};return Mt}),d}()},27084:function(T){T.exports=Math.log2||function(p){return Math.log(p)*Math.LOG2E}},16825:function(T,p,t){T.exports=function(g,i){i||(i=g,g=window);var M=0,v=0,f=0,l={shift:!1,alt:!1,control:!1,meta:!1},a=!1;function u(k){var E=!1;return"altKey"in k&&(E=E||k.altKey!==l.alt,l.alt=!!k.altKey),"shiftKey"in k&&(E=E||k.shiftKey!==l.shift,l.shift=!!k.shiftKey),"ctrlKey"in k&&(E=E||k.ctrlKey!==l.control,l.control=!!k.ctrlKey),"metaKey"in k&&(E=E||k.metaKey!==l.meta,l.meta=!!k.metaKey),E}function o(k,E){var x=d.x(E),A=d.y(E);"buttons"in E&&(k=0|E.buttons),(k!==M||x!==v||A!==f||u(E))&&(M=0|k,v=x||0,f=A||0,i&&i(M,v,f,l))}function s(k){o(0,k)}function h(){(M||v||f||l.shift||l.alt||l.meta||l.control)&&(v=f=0,M=0,l.shift=l.alt=l.control=l.meta=!1,i&&i(0,0,0,l))}function c(k){u(k)&&i&&i(M,v,f,l)}function m(k){d.buttons(k)===0?o(0,k):o(M,k)}function w(k){o(M|d.buttons(k),k)}function y(k){o(M&~d.buttons(k),k)}function C(){a||(a=!0,g.addEventListener("mousemove",m),g.addEventListener("mousedown",w),g.addEventListener("mouseup",y),g.addEventListener("mouseleave",s),g.addEventListener("mouseenter",s),g.addEventListener("mouseout",s),g.addEventListener("mouseover",s),g.addEventListener("blur",h),g.addEventListener("keyup",c),g.addEventListener("keydown",c),g.addEventListener("keypress",c),g!==window&&(window.addEventListener("blur",h),window.addEventListener("keyup",c),window.addEventListener("keydown",c),window.addEventListener("keypress",c)))}C();var _={element:g};return Object.defineProperties(_,{enabled:{get:function(){return a},set:function(k){k?C():a&&(a=!1,g.removeEventListener("mousemove",m),g.removeEventListener("mousedown",w),g.removeEventListener("mouseup",y),g.removeEventListener("mouseleave",s),g.removeEventListener("mouseenter",s),g.removeEventListener("mouseout",s),g.removeEventListener("mouseover",s),g.removeEventListener("blur",h),g.removeEventListener("keyup",c),g.removeEventListener("keydown",c),g.removeEventListener("keypress",c),g!==window&&(window.removeEventListener("blur",h),window.removeEventListener("keyup",c),window.removeEventListener("keydown",c),window.removeEventListener("keypress",c)))},enumerable:!0},buttons:{get:function(){return M},enumerable:!0},x:{get:function(){return v},enumerable:!0},y:{get:function(){return f},enumerable:!0},mods:{get:function(){return l},enumerable:!0}}),_};var d=t(74311)},48956:function(T){var p={left:0,top:0};T.exports=function(t,d,g){d=d||t.currentTarget||t.srcElement,Array.isArray(g)||(g=[0,0]);var i,M=t.clientX||0,v=t.clientY||0,f=(i=d)===window||i===document||i===document.body?p:i.getBoundingClientRect();return g[0]=M-f.left,g[1]=v-f.top,g}},74311:function(T,p){function t(d){return d.target||d.srcElement||window}p.buttons=function(d){if(typeof d=="object"){if("buttons"in d)return d.buttons;if("which"in d){if((g=d.which)===2)return 4;if(g===3)return 2;if(g>0)return 1<=0)return 1<0&&o(h,L))}catch(b){w.call(new C(L),b)}}}function w(x){var A=this;A.triggered||(A.triggered=!0,A.def&&(A=A.def),A.msg=x,A.state=2,A.chain.length>0&&o(h,A))}function y(x,A,L,b){for(var R=0;R1&&(a*=k=Math.sqrt(k),u*=k);var E=a*a,x=u*u,A=(s==h?-1:1)*Math.sqrt(Math.abs((E*x-E*_*_-x*C*C)/(E*_*_+x*C*C)));A==1/0&&(A=1);var L=A*a*_/u+(f+c)/2,b=A*-u*C/a+(l+m)/2,R=Math.asin(((l-b)/u).toFixed(9)),I=Math.asin(((m-b)/u).toFixed(9));(R=fI&&(R-=2*p),!h&&I>R&&(I-=2*p)}if(Math.abs(I-R)>t){var O=I,z=c,F=m;I=R+t*(h&&I>R?1:-1);var B=i(c=L+a*Math.cos(I),m=b+u*Math.sin(I),a,u,o,0,h,z,F,[I,O,L,b])}var N=Math.tan((I-R)/4),W=4/3*a*N,j=4/3*u*N,$=[2*f-(f+W*Math.sin(R)),2*l-(l-j*Math.cos(R)),c+W*Math.sin(I),m-j*Math.cos(I),c,m];if(w)return $;B&&($=$.concat(B));for(var U=0;U<$.length;){var G=M($[U],$[U+1],o);$[U++]=G.x,$[U++]=G.y}return $}function M(f,l,a){return{x:f*Math.cos(a)-l*Math.sin(a),y:f*Math.sin(a)+l*Math.cos(a)}}function v(f){return f*(p/180)}T.exports=function(f){for(var l,a=[],u=0,o=0,s=0,h=0,c=null,m=null,w=0,y=0,C=0,_=f.length;C<_;C++){var k=f[C],E=k[0];switch(E){case"M":s=k[1],h=k[2];break;case"A":(k=i(w,y,k[1],k[2],v(k[3]),k[4],k[5],k[6],k[7])).unshift("C"),k.length>7&&(a.push(k.splice(0,7)),k.unshift("C"));break;case"S":var x=w,A=y;l!="C"&&l!="S"||(x+=x-u,A+=A-o),k=["C",x,A,k[1],k[2],k[3],k[4]];break;case"T":l=="Q"||l=="T"?(c=2*w-c,m=2*y-m):(c=w,m=y),k=g(w,y,c,m,k[1],k[2]);break;case"Q":c=k[1],m=k[2],k=g(w,y,k[1],k[2],k[3],k[4]);break;case"L":k=d(w,y,k[1],k[2]);break;case"H":k=d(w,y,k[1],y);break;case"V":k=d(w,y,w,k[1]);break;case"Z":k=d(w,y,s,h)}l=E,w=k[k.length-2],y=k[k.length-1],k.length>4?(u=k[k.length-4],o=k[k.length-3]):(u=w,o=y),a.push(k)}return a}},56131:function(T){var p=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;function g(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}T.exports=function(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var M={},v=0;v<10;v++)M["_"+String.fromCharCode(v)]=v;if(Object.getOwnPropertyNames(M).map(function(l){return M[l]}).join("")!=="0123456789")return!1;var f={};return"abcdefghijklmnopqrst".split("").forEach(function(l){f[l]=l}),Object.keys(Object.assign({},f)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}()?Object.assign:function(i,M){for(var v,f,l=g(i),a=1;a"u")return!1;for(var h in window)try{if(!o["$"+h]&&g.call(window,h)&&window[h]!==null&&typeof window[h]=="object")try{u(window[h])}catch{return!0}}catch{return!0}return!1}();d=function(h){var c=h!==null&&typeof h=="object",m=i.call(h)==="[object Function]",w=M(h),y=c&&i.call(h)==="[object String]",C=[];if(!c&&!m&&!w)throw new TypeError("Object.keys called on a non-object");var _=l&&m;if(y&&h.length>0&&!g.call(h,0))for(var k=0;k0)for(var E=0;E"u"||!s)return u(b);try{return u(b)}catch{return!1}}(h),L=0;L=0&&p.call(t.callee)==="[object Function]"),g}},88641:function(T){function p(g,i){if(typeof g!="string")return[g];var M=[g];typeof i=="string"||Array.isArray(i)?i={brackets:i}:i||(i={});var v=i.brackets?Array.isArray(i.brackets)?i.brackets:[i.brackets]:["{}","[]","()"],f=i.escape||"___",l=!!i.flat;v.forEach(function(u){var o=new RegExp(["\\",u[0],"[^\\",u[0],"\\",u[1],"]*\\",u[1]].join("")),s=[];function h(c,m,w){var y=M.push(c.slice(u[0].length,-u[1].length))-1;return s.push(y),f+y+f}M.forEach(function(c,m){for(var w,y=0;c!=w;)if(w=c,c=c.replace(o,h),y++>1e4)throw Error("References have circular dependency. Please, check them.");M[m]=c}),s=s.reverse(),M=M.map(function(c){return s.forEach(function(m){c=c.replace(new RegExp("(\\"+f+m+"\\"+f+")","g"),u[0]+"$1"+u[1])}),c})});var a=new RegExp("\\"+f+"([0-9]+)\\"+f);return l?M:function u(o,s,h){for(var c,m=[],w=0;c=a.exec(o);){if(w++>1e4)throw Error("Circular references in parenthesis");m.push(o.slice(0,c.index)),m.push(u(s[c[1]],s)),o=o.slice(c.index+c[0].length)}return m.push(o),m}(M[0],M)}function t(g,i){if(i&&i.flat){var M,v=i&&i.escape||"___",f=g[0];if(!f)return"";for(var l=new RegExp("\\"+v+"([0-9]+)\\"+v),a=0;f!=M;){if(a++>1e4)throw Error("Circular references in "+g);M=f,f=f.replace(l,u)}return f}return g.reduce(function o(s,h){return Array.isArray(h)&&(h=h.reduce(o,"")),s+h},"");function u(o,s){if(g[s]==null)throw Error("Reference "+s+"is undefined");return g[s]}}function d(g,i){return Array.isArray(g)?t(g,i):p(g,i)}d.parse=p,d.stringify=t,T.exports=d},18863:function(T,p,t){var d=t(71299);T.exports=function(g){var i;return arguments.length>1&&(g=arguments),typeof g=="string"?g=g.split(/\s/).map(parseFloat):typeof g=="number"&&(g=[g]),g.length&&typeof g[0]=="number"?i=g.length===1?{width:g[0],height:g[0],x:0,y:0}:g.length===2?{width:g[0],height:g[1],x:0,y:0}:{x:g[0],y:g[1],width:g[2]-g[0]||0,height:g[3]-g[1]||0}:g&&(i={x:(g=d(g,{left:"x l left Left",top:"y t top Top",width:"w width W Width",height:"h height W Width",bottom:"b bottom Bottom",right:"r right Right"})).left||0,y:g.top||0},g.width==null?g.right?i.width=g.right-i.x:i.width=0:i.width=g.width,g.height==null?g.bottom?i.height=g.bottom-i.y:i.height=0:i.height=g.height),i}},95616:function(T){T.exports=function(g){var i=[];return g.replace(t,function(M,v,f){var l=v.toLowerCase();for(f=function(a){var u=a.match(d);return u?u.map(Number):[]}(f),l=="m"&&f.length>2&&(i.push([v].concat(f.splice(0,2))),l="l",v=v=="m"?"l":"L");;){if(f.length==p[l])return f.unshift(v),i.push(f);if(f.lengthM!=h>M&&i<(s-u)*(M-o)/(h-o)+u&&(v=!v)}return v}},52142:function(T,p,t){var d,g=t(69444),i=t(29023),M=t(87263),v=t(11328),f=t(55968),l=t(10670),a=!1,u=i();function o(s,h,c){var m=d.segments(s),w=d.segments(h),y=c(d.combine(m,w));return d.polygon(y)}d={buildLog:function(s){return s===!0?a=g():s===!1&&(a=!1),a!==!1&&a.list},epsilon:function(s){return u.epsilon(s)},segments:function(s){var h=M(!0,u,a);return s.regions.forEach(h.addRegion),{segments:h.calculate(s.inverted),inverted:s.inverted}},combine:function(s,h){return{combined:M(!1,u,a).calculate(s.segments,s.inverted,h.segments,h.inverted),inverted1:s.inverted,inverted2:h.inverted}},selectUnion:function(s){return{segments:f.union(s.combined,a),inverted:s.inverted1||s.inverted2}},selectIntersect:function(s){return{segments:f.intersect(s.combined,a),inverted:s.inverted1&&s.inverted2}},selectDifference:function(s){return{segments:f.difference(s.combined,a),inverted:s.inverted1&&!s.inverted2}},selectDifferenceRev:function(s){return{segments:f.differenceRev(s.combined,a),inverted:!s.inverted1&&s.inverted2}},selectXor:function(s){return{segments:f.xor(s.combined,a),inverted:s.inverted1!==s.inverted2}},polygon:function(s){return{regions:v(s.segments,u,a),inverted:s.inverted}},polygonFromGeoJSON:function(s){return l.toPolygon(d,s)},polygonToGeoJSON:function(s){return l.fromPolygon(d,u,s)},union:function(s,h){return o(s,h,d.selectUnion)},intersect:function(s,h){return o(s,h,d.selectIntersect)},difference:function(s,h){return o(s,h,d.selectDifference)},differenceRev:function(s,h){return o(s,h,d.selectDifferenceRev)},xor:function(s,h){return o(s,h,d.selectXor)}},typeof window=="object"&&(window.PolyBool=d),T.exports=d},69444:function(T){T.exports=function(){var p,t=0,d=!1;function g(i,M){return p.list.push({type:i,data:M?JSON.parse(JSON.stringify(M)):void 0}),p}return p={list:[],segmentId:function(){return t++},checkIntersection:function(i,M){return g("check",{seg1:i,seg2:M})},segmentChop:function(i,M){return g("div_seg",{seg:i,pt:M}),g("chop",{seg:i,pt:M})},statusRemove:function(i){return g("pop_seg",{seg:i})},segmentUpdate:function(i){return g("seg_update",{seg:i})},segmentNew:function(i,M){return g("new_seg",{seg:i,primary:M})},segmentRemove:function(i){return g("rem_seg",{seg:i})},tempStatus:function(i,M,v){return g("temp_status",{seg:i,above:M,below:v})},rewind:function(i){return g("rewind",{seg:i})},status:function(i,M,v){return g("status",{seg:i,above:M,below:v})},vert:function(i){return i===d?p:(d=i,g("vert",{x:i}))},log:function(i){return typeof i!="string"&&(i=JSON.stringify(i,!1," ")),g("log",{txt:i})},reset:function(){return g("reset")},selected:function(i){return g("selected",{segs:i})},chainStart:function(i){return g("chain_start",{seg:i})},chainRemoveHead:function(i,M){return g("chain_rem_head",{index:i,pt:M})},chainRemoveTail:function(i,M){return g("chain_rem_tail",{index:i,pt:M})},chainNew:function(i,M){return g("chain_new",{pt1:i,pt2:M})},chainMatch:function(i){return g("chain_match",{index:i})},chainClose:function(i){return g("chain_close",{index:i})},chainAddHead:function(i,M){return g("chain_add_head",{index:i,pt:M})},chainAddTail:function(i,M){return g("chain_add_tail",{index:i,pt:M})},chainConnect:function(i,M){return g("chain_con",{index1:i,index2:M})},chainReverse:function(i){return g("chain_rev",{index:i})},chainJoin:function(i,M){return g("chain_join",{index1:i,index2:M})},done:function(){return g("done")}}}},29023:function(T){T.exports=function(p){typeof p!="number"&&(p=1e-10);var t={epsilon:function(d){return typeof d=="number"&&(p=d),p},pointAboveOrOnLine:function(d,g,i){var M=g[0],v=g[1],f=i[0],l=i[1],a=d[0];return(f-M)*(d[1]-v)-(l-v)*(a-M)>=-p},pointBetween:function(d,g,i){var M=d[1]-g[1],v=i[0]-g[0],f=d[0]-g[0],l=i[1]-g[1],a=f*v+M*l;return!(a-p)},pointsSameX:function(d,g){return Math.abs(d[0]-g[0])p!=f-M>p&&(v-u)*(M-o)/(f-o)+u-i>p&&(l=!l),v=u,f=o}return l}};return t}},10670:function(T){var p={toPolygon:function(t,d){function g(v){if(v.length<=0)return t.segments({inverted:!1,regions:[]});function f(u){var o=u.slice(0,u.length-1);return t.segments({inverted:!1,regions:[o]})}for(var l=f(v[0]),a=1;a0})}function w(O,z){var F=O.seg,B=z.seg,N=F.start,W=F.end,j=B.start,$=B.end;M&&M.checkIntersection(F,B);var U=i.linesIntersect(N,W,j,$);if(U===!1){if(!i.pointsCollinear(N,W,j)||i.pointsSame(N,$)||i.pointsSame(W,j))return!1;var G=i.pointsSame(N,j),q=i.pointsSame(W,$);if(G&&q)return z;var H=!G&&i.pointBetween(N,j,$),ne=!q&&i.pointBetween(W,j,$);if(G)return ne?u(z,W):u(O,$),z;H&&(q||(ne?u(z,W):u(O,$)),u(z,N))}else U.alongA===0&&(U.alongB===-1?u(O,j):U.alongB===0?u(O,U.pt):U.alongB===1&&u(O,$)),U.alongB===0&&(U.alongA===-1?u(z,N):U.alongA===0?u(z,U.pt):U.alongA===1&&u(z,W));return!1}for(var y=[];!f.isEmpty();){var C=f.getHead();if(M&&M.vert(C.pt[0]),C.isStart){let O=function(){if(k){var z=w(C,k);if(z)return z}return!!E&&w(C,E)};var I=O;M&&M.segmentNew(C.seg,C.primary);var _=m(C),k=_.before?_.before.ev:null,E=_.after?_.after.ev:null;M&&M.tempStatus(C.seg,!!k&&k.seg,!!E&&E.seg);var x,A,L=O();if(L&&(g?(A=C.seg.myFill.below===null||C.seg.myFill.above!==C.seg.myFill.below)&&(L.seg.myFill.above=!L.seg.myFill.above):L.seg.otherFill=C.seg.myFill,M&&M.segmentUpdate(L.seg),C.other.remove(),C.remove()),f.getHead()!==C){M&&M.rewind(C.seg);continue}g?(A=C.seg.myFill.below===null||C.seg.myFill.above!==C.seg.myFill.below,C.seg.myFill.below=E?E.seg.myFill.above:s,C.seg.myFill.above=A?!C.seg.myFill.below:C.seg.myFill.below):C.seg.otherFill===null&&(x=E?C.primary===E.primary?E.seg.otherFill.above:E.seg.myFill.above:C.primary?h:s,C.seg.otherFill={above:x,below:x}),M&&M.status(C.seg,!!k&&k.seg,!!E&&E.seg),C.other.status=_.insert(d.node({ev:C}))}else{var b=C.status;if(b===null)throw new Error("PolyBool: Zero-length segment detected; your epsilon is probably too small or too large");if(c.exists(b.prev)&&c.exists(b.next)&&w(b.prev.ev,b.next.ev),M&&M.statusRemove(b.ev.seg),b.remove(),!C.primary){var R=C.seg.myFill;C.seg.myFill=C.seg.otherFill,C.seg.otherFill=R}y.push(C.seg)}f.getHead().remove()}return M&&M.done(),y}return g?{addRegion:function(s){for(var h,c,m,w=s[s.length-1],y=0;y0&&!this.aborted;){var M=this.ifds_to_read.shift();M.offset&&this.scan_ifd(M.id,M.offset,g)}},d.prototype.read_uint16=function(g){var i=this.input;if(g+2>i.length)throw p("unexpected EOF","EBADDATA");return this.big_endian?256*i[g]+i[g+1]:i[g]+256*i[g+1]},d.prototype.read_uint32=function(g){var i=this.input;if(g+4>i.length)throw p("unexpected EOF","EBADDATA");return this.big_endian?16777216*i[g]+65536*i[g+1]+256*i[g+2]+i[g+3]:i[g]+256*i[g+1]+65536*i[g+2]+16777216*i[g+3]},d.prototype.is_subifd_link=function(g,i){return g===0&&i===34665||g===0&&i===34853||g===34665&&i===40965},d.prototype.exif_format_length=function(g){switch(g){case 1:case 2:case 6:case 7:return 1;case 3:case 8:return 2;case 4:case 9:case 11:return 4;case 5:case 10:case 12:return 8;default:return 0}},d.prototype.exif_format_read=function(g,i){var M;switch(g){case 1:case 2:return this.input[i];case 6:return(M=this.input[i])|33554430*(128&M);case 3:return this.read_uint16(i);case 8:return(M=this.read_uint16(i))|131070*(32768&M);case 4:return this.read_uint32(i);case 9:return 0|this.read_uint32(i);default:return null}},d.prototype.scan_ifd=function(g,i,M){var v=this.read_uint16(i);i+=2;for(var f=0;fthis.input.length)throw p("unexpected EOF","EBADDATA");for(var m=[],w=h,y=0;y0&&(this.ifds_to_read.push({id:l,offset:m[0]}),c=!0),M({is_big_endian:this.big_endian,ifd:g,tag:l,format:a,count:u,entry_offset:i+this.start,data_length:s,data_offset:h+this.start,value:m,is_subifd_link:c})===!1)return void(this.aborted=!0);i+=12}g===0&&this.ifds_to_read.push({id:1,offset:this.read_uint32(i)})},T.exports.ExifParser=d,T.exports.get_orientation=function(g){var i=0;try{return new d(g,0,g.length).each(function(M){if(M.ifd===0&&M.tag===274&&Array.isArray(M.value))return i=M.value[0],!1}),i}catch{return-1}}},76767:function(T,p,t){var d=t(14847).n8,g=t(14847).Ag;function i(u,o){if(u.length<4+o)return null;var s=g(u,o);return u.length>4&15,h=15&u[4],c=u[5]>>4&15,m=d(u,6),w=8,y=0;y_.width||C.width===_.width&&C.height>_.height?C:_}),c=s.reduce(function(C,_){return C.height>_.height||C.height===_.height&&C.width>_.width?C:_}),h.width>c.height||h.width===c.height&&h.height>c.width?h:c),w=1;o.transforms.forEach(function(C){var _={1:6,2:5,3:8,4:7,5:4,6:3,7:2,8:1},k={1:4,2:3,3:2,4:1,5:6,6:5,7:8,8:7};if(C.type==="imir"&&(w=C.value===0?k[w]:_[w=_[w=k[w]]]),C.type==="irot")for(var E=0;E1&&(m.variants=c.variants),c.orientation&&(m.orientation=c.orientation),c.exif_location&&c.exif_location.offset+c.exif_location.length<=l.length){var w=i(l,c.exif_location.offset),y=l.slice(c.exif_location.offset+w+4,c.exif_location.offset+c.exif_location.length),C=v.get_orientation(y);C>0&&(m.orientation=C)}return m}}}}}}},2504:function(T,p,t){var d=t(14847).eG,g=t(14847).OF,i=t(14847).mP,M=d("BM");T.exports=function(v){if(!(v.length<26)&&g(v,0,M))return{width:i(v,18),height:i(v,22),type:"bmp",mime:"image/bmp",wUnits:"px",hUnits:"px"}}},47342:function(T,p,t){var d=t(14847).eG,g=t(14847).OF,i=t(14847).mP,M=d("GIF87a"),v=d("GIF89a");T.exports=function(f){if(!(f.length<10)&&(g(f,0,M)||g(f,0,v)))return{width:i(f,6),height:i(f,8),type:"gif",mime:"image/gif",wUnits:"px",hUnits:"px"}}},31355:function(T,p,t){var d=t(14847).mP;T.exports=function(g){var i=d(g,0),M=d(g,2),v=d(g,4);if(i===0&&M===1&&v){for(var f=[],l={width:0,height:0},a=0;al.width||o>l.height)&&(l=s)}return{width:l.width,height:l.height,variants:f,type:"ico",mime:"image/x-icon",wUnits:"px",hUnits:"px"}}}},54261:function(T,p,t){var d=t(14847).n8,g=t(14847).eG,i=t(14847).OF,M=t(71371),v=g("Exif\0\0");T.exports=function(f){if(!(f.length<2)&&f[0]===255&&f[1]===216&&f[2]===255)for(var l=2;;){for(;;){if(f.length-l<2)return;if(f[l++]===255)break}for(var a,u,o=f[l++];o===255;)o=f[l++];if(208<=o&&o<=217||o===1)a=0;else{if(!(192<=o&&o<=254)||f.length-l<2)return;a=d(f,l)-2,l+=2}if(o===217||o===218)return;if(o===225&&a>=10&&i(f,l,v)&&(u=M.get_orientation(f.slice(l+6,l+a))),a>=5&&192<=o&&o<=207&&o!==196&&o!==200&&o!==204){if(f.length-l0&&(s.orientation=u),s}l+=a}}},6303:function(T,p,t){var d=t(14847).eG,g=t(14847).OF,i=t(14847).Ag,M=d(`‰PNG\r  -`),v=d("IHDR");T.exports=function(f){if(!(f.length<24)&&g(f,0,M)&&g(f,12,v))return{width:i(f,16),height:i(f,20),type:"png",mime:"image/png",wUnits:"px",hUnits:"px"}}},38689:function(T,p,t){var d=t(14847).eG,g=t(14847).OF,i=t(14847).Ag,M=d("8BPS\0");T.exports=function(v){if(!(v.length<22)&&g(v,0,M))return{width:i(v,18),height:i(v,14),type:"psd",mime:"image/vnd.adobe.photoshop",wUnits:"px",hUnits:"px"}}},6881:function(T){function p(l){return typeof l=="number"&&isFinite(l)&&l>0}var t=/<[-_.:a-zA-Z0-9][^>]*>/,d=/^<([-_.:a-zA-Z0-9]+:)?svg\s/,g=/[^-]\bwidth="([^%]+?)"|[^-]\bwidth='([^%]+?)'/,i=/\bheight="([^%]+?)"|\bheight='([^%]+?)'/,M=/\bview[bB]ox="(.+?)"|\bview[bB]ox='(.+?)'/,v=/in$|mm$|cm$|pt$|pc$|px$|em$|ex$/;function f(l){return v.test(l)?l.match(v)[0]:"px"}T.exports=function(l){if(function(k){var E,x=0,A=k.length;for(k[0]===239&&k[1]===187&&k[2]===191&&(x=3);x>14&16383),type:"webp",mime:"image/webp",wUnits:"px",hUnits:"px"}}}function o(s,c){return{width:1+(s[c+6]<<16|s[c+5]<<8|s[c+4]),height:1+(s[c+9]<s.length)){for(;c+8=10?h=h||a(s,c+8):y==="VP8L"&&S>=9?h=h||u(s,c+8):y==="VP8X"&&S>=10?h=h||o(s,c+8):y==="EXIF"&&(m=v.get_orientation(s.slice(c+8,c+8+S)),c=1/0),c+=8+S}else c++;if(h)return m>0&&(h.orientation=m),h}}}},91497:function(T,p,t){T.exports={avif:t(24461),bmp:t(2504),gif:t(47342),ico:t(31355),jpeg:t(54261),png:t(6303),psd:t(38689),svg:t(6881),tiff:t(66278),webp:t(90784)}},33575:function(T,p,t){var d=t(91497);T.exports=function(g){return function(i){for(var M=Object.keys(d),v=0;v1)for(var w=1;w"u"?t.g:window,i=["moz","webkit"],M="AnimationFrame",v=g["request"+M],f=g["cancel"+M]||g["cancelRequest"+M],l=0;!v&&l0}var t=/<[-_.:a-zA-Z0-9][^>]*>/,d=/^<([-_.:a-zA-Z0-9]+:)?svg\s/,g=/[^-]\bwidth="([^%]+?)"|[^-]\bwidth='([^%]+?)'/,i=/\bheight="([^%]+?)"|\bheight='([^%]+?)'/,M=/\bview[bB]ox="(.+?)"|\bview[bB]ox='(.+?)'/,v=/in$|mm$|cm$|pt$|pc$|px$|em$|ex$/;function f(l){return v.test(l)?l.match(v)[0]:"px"}T.exports=function(l){if(function(k){var E,x=0,A=k.length;for(k[0]===239&&k[1]===187&&k[2]===191&&(x=3);x>14&16383),type:"webp",mime:"image/webp",wUnits:"px",hUnits:"px"}}}function o(s,h){return{width:1+(s[h+6]<<16|s[h+5]<<8|s[h+4]),height:1+(s[h+9]<s.length)){for(;h+8=10?c=c||a(s,h+8):y==="VP8L"&&C>=9?c=c||u(s,h+8):y==="VP8X"&&C>=10?c=c||o(s,h+8):y==="EXIF"&&(m=v.get_orientation(s.slice(h+8,h+8+C)),h=1/0),h+=8+C}else h++;if(c)return m>0&&(c.orientation=m),c}}}},91497:function(T,p,t){T.exports={avif:t(24461),bmp:t(2504),gif:t(47342),ico:t(31355),jpeg:t(54261),png:t(6303),psd:t(38689),svg:t(6881),tiff:t(66278),webp:t(90784)}},33575:function(T,p,t){var d=t(91497);T.exports=function(g){return function(i){for(var M=Object.keys(d),v=0;v1)for(var w=1;w"u"?t.g:window,i=["moz","webkit"],M="AnimationFrame",v=g["request"+M],f=g["cancel"+M]||g["cancelRequest"+M],l=0;!v&&l1&&(O.scaleRatio=[O.scale[0]*O.viewport.width,O.scale[1]*O.viewport.height],h(O),O.after&&O.after(O))}function R(O){if(O){O.length!=null?typeof O[0]=="number"&&(O=[{positions:O}]):Array.isArray(O)||(O=[O]);var z=0,F=0;if(A.groups=x=O.map(function(G,q){var H=x[q];return G&&(typeof G=="function"?G={after:G}:typeof G[0]=="number"&&(G={positions:G}),G=M(G,{color:"color colors fill",capSize:"capSize cap capsize cap-size",lineWidth:"lineWidth line-width width line thickness",opacity:"opacity alpha",range:"range dataBox",viewport:"viewport viewBox",errors:"errors error",positions:"positions position data points"}),H||(x[q]=H={id:q,scale:null,translate:null,scaleFract:null,translateFract:null,draw:!0},G=v({},E,G)),i(H,G,[{lineWidth:function(ne){return .5*+ne},capSize:function(ne){return .5*+ne},opacity:parseFloat,errors:function(ne){return ne=f(ne),F+=ne.length,ne},positions:function(ne,te){return ne=f(ne,"float64"),te.count=Math.floor(ne.length/2),te.bounds=d(ne,2),te.offset=z,z+=te.count,ne}},{color:function(ne,te){var Z=te.count;if(ne||(ne="transparent"),!Array.isArray(ne)||typeof ne[0]=="number"){var X=ne;ne=Array(Z);for(var Q=0;Q1&&(O.scaleRatio=[O.scale[0]*O.viewport.width,O.scale[1]*O.viewport.height],c(O),O.after&&O.after(O))}function R(O){if(O){O.length!=null?typeof O[0]=="number"&&(O=[{positions:O}]):Array.isArray(O)||(O=[O]);var z=0,F=0;if(A.groups=x=O.map(function(G,q){var H=x[q];return G&&(typeof G=="function"?G={after:G}:typeof G[0]=="number"&&(G={positions:G}),G=M(G,{color:"color colors fill",capSize:"capSize cap capsize cap-size",lineWidth:"lineWidth line-width width line thickness",opacity:"opacity alpha",range:"range dataBox",viewport:"viewport viewBox",errors:"errors error",positions:"positions position data points"}),H||(x[q]=H={id:q,scale:null,translate:null,scaleFract:null,translateFract:null,draw:!0},G=v({},E,G)),i(H,G,[{lineWidth:function(ne){return .5*+ne},capSize:function(ne){return .5*+ne},opacity:parseFloat,errors:function(ne){return ne=f(ne),F+=ne.length,ne},positions:function(ne,te){return ne=f(ne,"float64"),te.count=Math.floor(ne.length/2),te.bounds=d(ne,2),te.offset=z,z+=te.count,ne}},{color:function(ne,te){var Z=te.count;if(ne||(ne="transparent"),!Array.isArray(ne)||typeof ne[0]=="number"){var X=ne;ne=Array(Z);for(var Q=0;Q1&&k.opacity&&(y.regl._refresh(),k.fill&&k.triangles&&k.triangles.length>2&&y.shaders.fill(k),k.thickness&&(k.scale[0]*k.viewport.width>w.precisionThreshold||k.scale[1]*k.viewport.height>w.precisionThreshold||k.join==="rect"||!k.join&&(k.thickness<=2||k.count>=w.maxPoints)?y.shaders.rect(k):y.shaders.miter(k)))}),this},w.prototype.update=function(y){var S=this;if(y){y.length!=null?typeof y[0]=="number"&&(y=[{positions:y}]):Array.isArray(y)||(y=[y]);var _=this.regl,k=this.gl;if(y.forEach(function(b,R){var I=S.passes[R];if(b!==void 0)if(b!==null){if(typeof b[0]=="number"&&(b={positions:b}),b=v(b,{positions:"positions points data coords",thickness:"thickness lineWidth lineWidths line-width linewidth width stroke-width strokewidth strokeWidth",join:"lineJoin linejoin join type mode",miterLimit:"miterlimit miterLimit",dashes:"dash dashes dasharray dash-array dashArray",color:"color colour stroke colors colours stroke-color strokeColor",fill:"fill fill-color fillColor",opacity:"alpha opacity",overlay:"overlay crease overlap intersect",close:"closed close closed-path closePath",range:"range dataBox",viewport:"viewport viewBox",hole:"holes hole hollow",splitNull:"splitNull"}),I||(S.passes[R]=I={id:R,scale:null,scaleFract:null,translate:null,translateFract:null,count:0,hole:[],depth:0,dashLength:1,dashTexture:_.texture({channels:1,data:new Uint8Array([255]),width:1,height:1,mag:"linear",min:"linear"}),colorBuffer:_.buffer({usage:"dynamic",type:"uint8",data:new Uint8Array}),positionBuffer:_.buffer({usage:"dynamic",type:"float",data:new Uint8Array}),positionFractBuffer:_.buffer({usage:"dynamic",type:"float",data:new Uint8Array})},b=i({},w.defaults,b)),b.thickness!=null&&(I.thickness=parseFloat(b.thickness)),b.opacity!=null&&(I.opacity=parseFloat(b.opacity)),b.miterLimit!=null&&(I.miterLimit=parseFloat(b.miterLimit)),b.overlay!=null&&(I.overlay=!!b.overlay,R=re});(Z=Z.slice(0,ie)).push(re)}for(var oe=function(kt){var xt=j.slice(2*Q,2*Z[kt]).concat(re?j.slice(2*re):[]),Ft=(I.hole||[]).map(function(Bt){return Bt-re+(Z[kt]-Q)}),Ot=l(xt,Ft);Ot=Ot.map(function(Bt){return Bt+Q+(Bt+Qk.length)&&(E=k.length);for(var x=0,A=new Array(E);x1&&k.opacity&&(y.regl._refresh(),k.fill&&k.triangles&&k.triangles.length>2&&y.shaders.fill(k),k.thickness&&(k.scale[0]*k.viewport.width>w.precisionThreshold||k.scale[1]*k.viewport.height>w.precisionThreshold||k.join==="rect"||!k.join&&(k.thickness<=2||k.count>=w.maxPoints)?y.shaders.rect(k):y.shaders.miter(k)))}),this},w.prototype.update=function(y){var C=this;if(y){y.length!=null?typeof y[0]=="number"&&(y=[{positions:y}]):Array.isArray(y)||(y=[y]);var _=this.regl,k=this.gl;if(y.forEach(function(b,R){var I=C.passes[R];if(b!==void 0)if(b!==null){if(typeof b[0]=="number"&&(b={positions:b}),b=v(b,{positions:"positions points data coords",thickness:"thickness lineWidth lineWidths line-width linewidth width stroke-width strokewidth strokeWidth",join:"lineJoin linejoin join type mode",miterLimit:"miterlimit miterLimit",dashes:"dash dashes dasharray dash-array dashArray",color:"color colour stroke colors colours stroke-color strokeColor",fill:"fill fill-color fillColor",opacity:"alpha opacity",overlay:"overlay crease overlap intersect",close:"closed close closed-path closePath",range:"range dataBox",viewport:"viewport viewBox",hole:"holes hole hollow",splitNull:"splitNull"}),I||(C.passes[R]=I={id:R,scale:null,scaleFract:null,translate:null,translateFract:null,count:0,hole:[],depth:0,dashLength:1,dashTexture:_.texture({channels:1,data:new Uint8Array([255]),width:1,height:1,mag:"linear",min:"linear"}),colorBuffer:_.buffer({usage:"dynamic",type:"uint8",data:new Uint8Array}),positionBuffer:_.buffer({usage:"dynamic",type:"float",data:new Uint8Array}),positionFractBuffer:_.buffer({usage:"dynamic",type:"float",data:new Uint8Array})},b=i({},w.defaults,b)),b.thickness!=null&&(I.thickness=parseFloat(b.thickness)),b.opacity!=null&&(I.opacity=parseFloat(b.opacity)),b.miterLimit!=null&&(I.miterLimit=parseFloat(b.miterLimit)),b.overlay!=null&&(I.overlay=!!b.overlay,R=re});(Z=Z.slice(0,ie)).push(re)}for(var oe=function(kt){var xt=j.slice(2*Q,2*Z[kt]).concat(re?j.slice(2*re):[]),Ft=(I.hole||[]).map(function(Bt){return Bt-re+(Z[kt]-Q)}),Ot=l(xt,Ft);Ot=Ot.map(function(Bt){return Bt+Q+(Bt+Qk.length)&&(E=k.length);for(var x=0,A=new Array(E);xPe)?pe.tree=l(me,{bounds:ae}):Pe&&Pe.length&&(pe.tree=Pe),pe.tree){var fe={primitive:"points",usage:"static",data:pe.tree,type:"uint32"};pe.elements?pe.elements(fe):pe.elements=R.elements(fe)}var be=m.float32(me);return _e({data:be,usage:"dynamic"}),Me({data:m.fract32(me,be),usage:"dynamic"}),Se({data:new Uint8Array(Ce),type:"uint8",usage:"stream"}),me}},{marker:function(me,pe,xe){var Pe=pe.activation;if(Pe.forEach(function(be){return be&&be.destroy&&be.destroy()}),Pe.length=0,me&&typeof me[0]!="number"){for(var _e=[],Me=0,Se=Math.min(me.length,pe.count);Me=0)return b;if(k instanceof Uint8Array||k instanceof Uint8ClampedArray)E=k;else{E=new Uint8Array(k.length);for(var R=0,I=k.length;R4*A&&(this.tooManyColors=!0),this.updatePalette(x),L.length===1?L[0]:L},S.prototype.updatePalette=function(k){if(!this.tooManyColors){var E=this.maxColors,x=this.paletteTexture,A=Math.ceil(.25*k.length/E);if(A>1)for(var L=.25*(k=k.slice()).length%E;L2?(k[0],k[2],w=k[1],y=k[3]):k.length?(w=k[0],y=k[1]):(k.x,w=k.y,k.x,k.width,y=k.y+k.height),E.length>2?(S=E[0],_=E[2],E[1],E[3]):E.length?(S=E[0],_=E[1]):(S=E.x,E.y,_=E.x+E.width,E.y,E.height),[S,w,_,y]}function s(c){if(typeof c=="number")return[c,c,c,c];if(c.length===2)return[c[0],c[1],c[0],c[1]];var h=f(c);return[h.x,h.y,h.x+h.width,h.y+h.height]}T.exports=a,a.prototype.render=function(){for(var c,h=this,m=[],w=arguments.length;w--;)m[w]=arguments[w];return m.length&&(c=this).update.apply(c,m),this.regl.attributes.preserveDrawingBuffer?this.draw():(this.dirty?this.planned==null&&(this.planned=M(function(){h.draw(),h.dirty=!0,h.planned=null})):(this.draw(),this.dirty=!0,M(function(){h.dirty=!1})),this)},a.prototype.update=function(){for(var c,h=[],m=arguments.length;m--;)h[m]=arguments[m];if(h.length){for(var w=0;wF))&&(S.lower||!(z"u"?1:window.devicePixelRatio,It=!1,Lt={},yt=function(wt){},Pt=function(){};if(typeof Qe=="string"?nt=document.querySelector(Qe):typeof Qe=="object"&&(typeof Qe.nodeName=="string"&&typeof Qe.appendChild=="function"&&typeof Qe.getBoundingClientRect=="function"?nt=Qe:typeof Qe.drawArrays=="function"||typeof Qe.drawElements=="function"?Re=(Ne=Qe).canvas:("gl"in Qe?Ne=Qe.gl:"canvas"in Qe?Re=i(Qe.canvas):"container"in Qe&&(ft=i(Qe.container)),"attributes"in Qe&&(qe=Qe.attributes),"extensions"in Qe&&(ut=g(Qe.extensions)),"optionalExtensions"in Qe&&(dt=g(Qe.optionalExtensions)),"onDone"in Qe&&(yt=Qe.onDone),"profile"in Qe&&(It=!!Qe.profile),"pixelRatio"in Qe&&(_t=+Qe.pixelRatio),"cachedCode"in Qe&&(Lt=Qe.cachedCode))),nt&&(nt.nodeName.toLowerCase()==="canvas"?Re=nt:ft=nt),!Ne){if(!Re){if(!(nt=function(wt,Rt,Nt){function Yt(){var Qt=window.innerWidth,rn=window.innerHeight;wt!==document.body&&(Qt=(rn=Xt.getBoundingClientRect()).right-rn.left,rn=rn.bottom-rn.top),Xt.width=Nt*Qt,Xt.height=Nt*rn}var Wt,Xt=document.createElement("canvas");return re(Xt.style,{border:0,margin:0,padding:0,top:0,left:0,width:"100%",height:"100%"}),wt.appendChild(Xt),wt===document.body&&(Xt.style.position="absolute",re(wt.style,{margin:0,padding:0})),wt!==document.body&&typeof ResizeObserver=="function"?(Wt=new ResizeObserver(function(){setTimeout(Yt)})).observe(wt):window.addEventListener("resize",Yt,!1),Yt(),{canvas:Xt,onDestroy:function(){Wt?Wt.disconnect():window.removeEventListener("resize",Yt),wt.removeChild(Xt)}}}(ft||document.body,0,_t)))return null;Re=nt.canvas,Pt=nt.onDestroy}qe.premultipliedAlpha===void 0&&(qe.premultipliedAlpha=!0),Ne=function(wt,Rt){function Nt(Yt){try{return wt.getContext(Yt,Rt)}catch{return null}}return Nt("webgl")||Nt("experimental-webgl")||Nt("webgl-experimental")}(Re,qe)}return Ne?{gl:Ne,canvas:Re,container:ft,extensions:ut,optionalExtensions:dt,pixelRatio:_t,profile:It,cachedCode:Lt,onDone:yt,onDestroy:Pt}:(Pt(),yt("webgl not supported, try upgrading your browser or graphics drivers http://get.webgl.org"),null)}function v(qe,nt){for(var ft=Array(qe),Re=0;Re>>=nt))<<3,(nt|=ft=(15<(qe>>>=ft))<<2)|(ft=(3<(qe>>>=ft))<<1)|qe>>>ft>>1}function l(){function qe(Re){e:{for(var Ne=16;268435456>=Ne;Ne*=16)if(Re<=Ne){Re=Ne;break e}Re=0}return 0<(Ne=ft[f(Re)>>2]).length?Ne.pop():new ArrayBuffer(Re)}function nt(Re){ft[f(Re.byteLength)>>2].push(Re)}var ft=v(8,function(){return[]});return{alloc:qe,free:nt,allocType:function(Re,Ne){var Qe=null;switch(Re){case 5120:Qe=new Int8Array(qe(Ne),0,Ne);break;case 5121:Qe=new Uint8Array(qe(Ne),0,Ne);break;case 5122:Qe=new Int16Array(qe(2*Ne),0,Ne);break;case 5123:Qe=new Uint16Array(qe(2*Ne),0,Ne);break;case 5124:Qe=new Int32Array(qe(4*Ne),0,Ne);break;case 5125:Qe=new Uint32Array(qe(4*Ne),0,Ne);break;case 5126:Qe=new Float32Array(qe(4*Ne),0,Ne);break;default:return null}return Qe.length!==Ne?Qe.subarray(0,Ne):Qe},freeType:function(Re){nt(Re.buffer)}}}function a(qe){return!!qe&&typeof qe=="object"&&Array.isArray(qe.shape)&&Array.isArray(qe.stride)&&typeof qe.offset=="number"&&qe.shape.length===qe.stride.length&&(Array.isArray(qe.data)||me(qe.data))}function u(qe,nt,ft,Re,Ne,Qe){for(var ut=0;ut(Pt=Nt)&&(Pt=yt.buffer.byteLength,Xt===5123?Pt>>=1:Xt===5125&&(Pt>>=2)),yt.vertCount=Pt,Pt=Rt,0>Rt&&(Pt=4,(Rt=yt.buffer.dimension)===1&&(Pt=0),Rt===2&&(Pt=1),Rt===3&&(Pt=4)),yt.primType=Pt}function ut(yt){Re.elementsCount--,delete dt[yt.id],yt.buffer.destroy(),yt.buffer=null}var dt={},_t=0,It={uint8:5121,uint16:5123};nt.oes_element_index_uint&&(It.uint32=5125),Ne.prototype.bind=function(){this.buffer.bind()};var Lt=[];return{create:function(yt,Pt){function wt(Yt){if(Yt)if(typeof Yt=="number")Rt(Yt),Nt.primType=4,Nt.vertCount=0|Yt,Nt.type=5121;else{var Wt=null,Xt=35044,Qt=-1,rn=-1,xn=0,un=0;Array.isArray(Yt)||me(Yt)||a(Yt)?Wt=Yt:("data"in Yt&&(Wt=Yt.data),"usage"in Yt&&(Xt=Me[Yt.usage]),"primitive"in Yt&&(Qt=fe[Yt.primitive]),"count"in Yt&&(rn=0|Yt.count),"type"in Yt&&(un=It[Yt.type]),"length"in Yt?xn=0|Yt.length:(xn=rn,un===5123||un===5122?xn*=2:un!==5125&&un!==5124||(xn*=4))),Qe(Nt,Wt,Xt,Qt,rn,xn,un)}else Rt(),Nt.primType=4,Nt.vertCount=0,Nt.type=5121;return wt}var Rt=ft.create(null,34963,!0),Nt=new Ne(Rt._buffer);return Re.elementsCount++,wt(yt),wt._reglType="elements",wt._elements=Nt,wt.subdata=function(Yt,Wt){return Rt.subdata(Yt,Wt),wt},wt.destroy=function(){ut(Nt)},wt},createStream:function(yt){var Pt=Lt.pop();return Pt||(Pt=new Ne(ft.create(null,34963,!0,!1)._buffer)),Qe(Pt,yt,35040,-1,-1,0,0),Pt},destroyStream:function(yt){Lt.push(yt)},getElements:function(yt){return typeof yt=="function"&&yt._elements instanceof Ne?yt._elements:null},clear:function(){pe(dt).forEach(ut)}}}function y(qe){for(var nt=ye.allocType(5123,qe.length),ft=0;ft>>31<<15,Ne=(Qe<<1>>>24)-127,Qe=Qe>>13&1023;nt[ft]=-24>Ne?Re:-14>Ne?Re+(Qe+1024>>-14-Ne):15>=hn,jt.height>>=hn,Pt(jt,Jt[hn]),nn.mipmask|=1<Pn;++Pn)nn.images[Pn]=null;return nn}function xn(nn){for(var Pn=nn.images,jt=0;jtnn){for(var Pn=0;Pn=--this.refCount&&dn(this)}}),ut.profile&&(Qe.getTotalTextureSize=function(){var nn=0;return Object.keys($n).forEach(function(Pn){nn+=$n[Pn].stats.size}),nn}),{create2D:function(nn,Pn){function jt(hn,zn){var On=Jt.texInfo;un.call(On);var En=rn();return typeof hn=="number"?Wt(En,0|hn,typeof zn=="number"?0|zn:0|hn):hn?(An(On,hn),Xt(En,hn)):Wt(En,1,1),On.genMipmaps&&(En.mipmask=(En.width<<1)-1),Jt.mipmask=En.mipmask,_t(Jt,En),Jt.internalformat=En.internalformat,jt.width=En.width,jt.height=En.height,sn(Jt),Qt(En,3553),Yn(On,3553),Tn(),xn(En),ut.profile&&(Jt.stats.size=b(Jt.internalformat,Jt.type,En.width,En.height,On.genMipmaps,!1)),jt.format=or[Jt.internalformat],jt.type=vr[Jt.type],jt.mag=_r[On.magFilter],jt.min=Kt[On.minFilter],jt.wrapS=bn[On.wrapS],jt.wrapT=bn[On.wrapT],jt}var Jt=new kn(3553);return $n[Jt.id]=Jt,Qe.textureCount++,jt(nn,Pn),jt.subimage=function(hn,zn,On,En){zn|=0,On|=0,En|=0;var mn=Rt();return _t(mn,Jt),mn.width=0,mn.height=0,Pt(mn,hn),mn.width=mn.width||(Jt.width>>En)-zn,mn.height=mn.height||(Jt.height>>En)-On,sn(Jt),wt(mn,3553,zn,On,En),Tn(),Nt(mn),jt},jt.resize=function(hn,zn){var On=0|hn,En=0|zn||On;if(On===Jt.width&&En===Jt.height)return jt;jt.width=Jt.width=On,jt.height=Jt.height=En,sn(Jt);for(var mn=0;Jt.mipmask>>mn;++mn){var wn=On>>mn,gn=En>>mn;if(!wn||!gn)break;qe.texImage2D(3553,mn,Jt.format,wn,gn,0,Jt.format,Jt.type,null)}return Tn(),ut.profile&&(Jt.stats.size=b(Jt.internalformat,Jt.type,On,En,!1,!1)),jt},jt._reglType="texture2d",jt._texture=Jt,ut.profile&&(jt.stats=Jt.stats),jt.destroy=function(){Jt.decRef()},jt},createCube:function(nn,Pn,jt,Jt,hn,zn){function On(wn,gn,yn,Sn,Vn,Xn){var nr,Qn=En.texInfo;for(un.call(Qn),nr=0;6>nr;++nr)mn[nr]=rn();if(typeof wn!="number"&&wn){if(typeof wn=="object")if(gn)Xt(mn[0],wn),Xt(mn[1],gn),Xt(mn[2],yn),Xt(mn[3],Sn),Xt(mn[4],Vn),Xt(mn[5],Xn);else if(An(Qn,wn),It(En,wn),"faces"in wn)for(wn=wn.faces,nr=0;6>nr;++nr)_t(mn[nr],En),Xt(mn[nr],wn[nr]);else for(nr=0;6>nr;++nr)Xt(mn[nr],wn)}else for(wn=0|wn||1,nr=0;6>nr;++nr)Wt(mn[nr],wn,wn);for(_t(En,mn[0]),En.mipmask=Qn.genMipmaps?(mn[0].width<<1)-1:mn[0].mipmask,En.internalformat=mn[0].internalformat,On.width=mn[0].width,On.height=mn[0].height,sn(En),nr=0;6>nr;++nr)Qt(mn[nr],34069+nr);for(Yn(Qn,34067),Tn(),ut.profile&&(En.stats.size=b(En.internalformat,En.type,On.width,On.height,Qn.genMipmaps,!0)),On.format=or[En.internalformat],On.type=vr[En.type],On.mag=_r[Qn.magFilter],On.min=Kt[Qn.minFilter],On.wrapS=bn[Qn.wrapS],On.wrapT=bn[Qn.wrapT],nr=0;6>nr;++nr)xn(mn[nr]);return On}var En=new kn(34067);$n[En.id]=En,Qe.cubeCount++;var mn=Array(6);return On(nn,Pn,jt,Jt,hn,zn),On.subimage=function(wn,gn,yn,Sn,Vn){yn|=0,Sn|=0,Vn|=0;var Xn=Rt();return _t(Xn,En),Xn.width=0,Xn.height=0,Pt(Xn,gn),Xn.width=Xn.width||(En.width>>Vn)-yn,Xn.height=Xn.height||(En.height>>Vn)-Sn,sn(En),wt(Xn,34069+wn,yn,Sn,Vn),Tn(),Nt(Xn),On},On.resize=function(wn){if((wn|=0)!==En.width){On.width=En.width=wn,On.height=En.height=wn,sn(En);for(var gn=0;6>gn;++gn)for(var yn=0;En.mipmask>>yn;++yn)qe.texImage2D(34069+gn,yn,En.format,wn>>yn,wn>>yn,0,En.format,En.type,null);return Tn(),ut.profile&&(En.stats.size=b(En.internalformat,En.type,On.width,On.height,!1,!0)),On}},On._reglType="textureCube",On._texture=En,ut.profile&&(On.stats=En.stats),On.destroy=function(){En.decRef()},On},clear:function(){for(var nn=0;nnJt;++Jt)if(jt.mipmask&1<>Jt,jt.height>>Jt,0,jt.internalformat,jt.type,null);else for(var hn=0;6>hn;++hn)qe.texImage2D(34069+hn,Jt,jt.internalformat,jt.width>>Jt,jt.height>>Jt,0,jt.internalformat,jt.type,null);Yn(jt.texInfo,jt.target)})},refresh:function(){for(var nn=0;nnpn;++pn){for(qn=0;qndn;++dn)Tn[dn].resize(pn);return sn.width=sn.height=pn,sn},_reglType:"framebufferCube",destroy:function(){Tn.forEach(function(dn){dn.destroy()})}})},clear:function(){pe(Yn).forEach(Yt)},restore:function(){Qt.cur=null,Qt.next=null,Qt.dirty=!0,pe(Yn).forEach(function(kn){kn.framebuffer=qe.createFramebuffer(),Wt(kn)})}})}function O(){this.w=this.z=this.y=this.x=this.state=0,this.buffer=null,this.size=0,this.normalized=!1,this.type=5126,this.divisor=this.stride=this.offset=0}function z(qe,nt,ft,Re,Ne,Qe,ut){function dt(){this.id=++Lt,this.attributes=[],this.elements=null,this.ownsElements=!1,this.offset=this.count=0,this.instances=-1,this.primitive=4;var wt=nt.oes_vertex_array_object;this.vao=wt?wt.createVertexArrayOES():null,yt[this.id]=this,this.buffers=[]}var _t=ft.maxAttributes,It=Array(_t);for(ft=0;ft<_t;++ft)It[ft]=new O;var Lt=0,yt={},Pt={Record:O,scope:{},state:It,currentVAO:null,targetVAO:null,restore:nt.oes_vertex_array_object?function(){nt.oes_vertex_array_object&&pe(yt).forEach(function(wt){wt.refresh()})}:function(){},createVAO:function(wt){function Rt(Yt){var Wt;Array.isArray(Yt)?(Wt=Yt,Nt.elements&&Nt.ownsElements&&Nt.elements.destroy(),Nt.elements=null,Nt.ownsElements=!1,Nt.offset=0,Nt.count=0,Nt.instances=-1,Nt.primitive=4):(Yt.elements?(Wt=Yt.elements,Nt.ownsElements?(typeof Wt=="function"&&Wt._reglType==="elements"?Nt.elements.destroy():Nt.elements(Wt),Nt.ownsElements=!1):Qe.getElements(Yt.elements)?(Nt.elements=Yt.elements,Nt.ownsElements=!1):(Nt.elements=Qe.create(Yt.elements),Nt.ownsElements=!0)):(Nt.elements=null,Nt.ownsElements=!1),Wt=Yt.attributes,Nt.offset=0,Nt.count=-1,Nt.instances=-1,Nt.primitive=4,Nt.elements&&(Nt.count=Nt.elements._elements.vertCount,Nt.primitive=Nt.elements._elements.primType),"offset"in Yt&&(Nt.offset=0|Yt.offset),"count"in Yt&&(Nt.count=0|Yt.count),"instances"in Yt&&(Nt.instances=0|Yt.instances),"primitive"in Yt&&(Nt.primitive=fe[Yt.primitive])),Yt={};var Xt=Nt.attributes;Xt.length=Wt.length;for(var Qt=0;Qt=An.byteLength?rn.subdata(An):(rn.destroy(),Nt.buffers[Qt]=null)),Nt.buffers[Qt]||(rn=Nt.buffers[Qt]=Ne.create(xn,34962,!1,!0)),un.buffer=Ne.getBuffer(rn),un.size=0|un.buffer.dimension,un.normalized=!1,un.type=un.buffer.dtype,un.offset=0,un.stride=0,un.divisor=0,un.state=1,Yt[Qt]=1):Ne.getBuffer(xn)?(un.buffer=Ne.getBuffer(xn),un.size=0|un.buffer.dimension,un.normalized=!1,un.type=un.buffer.dtype,un.offset=0,un.stride=0,un.divisor=0,un.state=1):Ne.getBuffer(xn.buffer)?(un.buffer=Ne.getBuffer(xn.buffer),un.size=0|(+xn.size||un.buffer.dimension),un.normalized=!!xn.normalized||!1,un.type="type"in xn?_e[xn.type]:un.buffer.dtype,un.offset=0|(xn.offset||0),un.stride=0|(xn.stride||0),un.divisor=0|(xn.divisor||0),un.state=1):"x"in xn&&(un.x=+xn.x||0,un.y=+xn.y||0,un.z=+xn.z||0,un.w=+xn.w||0,un.state=2)}for(rn=0;rnRt&&(Rt=Nt.stats.uniformsCount)}),Rt},ft.getMaxAttributesCount=function(){var Rt=0;return Pt.forEach(function(Nt){Nt.stats.attributesCount>Rt&&(Rt=Nt.stats.attributesCount)}),Rt}),{clear:function(){var Rt=qe.deleteShader.bind(qe);pe(It).forEach(Rt),It={},pe(Lt).forEach(Rt),Lt={},Pt.forEach(function(Nt){qe.deleteProgram(Nt.program)}),Pt.length=0,yt={},ft.shaderCount=0},program:function(Rt,Nt,Yt,Wt){var Xt=yt[Nt];Xt||(Xt=yt[Nt]={});var Qt=Xt[Rt];if(Qt&&(Qt.refCount++,!Wt))return Qt;var rn=new dt(Nt,Rt);return ft.shaderCount++,_t(rn,Yt,Wt),Qt||(Xt[Rt]=rn),Pt.push(rn),re(rn,{destroy:function(){if(rn.refCount--,0>=rn.refCount){qe.deleteProgram(rn.program);var xn=Pt.indexOf(rn);Pt.splice(xn,1),ft.shaderCount--}0>=Xt[rn.vertId].refCount&&(qe.deleteShader(Lt[rn.vertId]),delete Lt[rn.vertId],delete yt[rn.fragId][rn.vertId]),Object.keys(yt[rn.fragId]).length||(qe.deleteShader(It[rn.fragId]),delete It[rn.fragId],delete yt[rn.fragId])}})},restore:function(){It={},Lt={};for(var Rt=0;Rt>>nt|qe<<32-nt}function W(qe,nt){var ft=(65535&qe)+(65535&nt);return(qe>>16)+(nt>>16)+(ft>>16)<<16|65535&ft}function j(qe){return Array.prototype.slice.call(qe)}function $(qe){return j(qe).join("")}function U(qe){function nt(){var Lt=[],yt=[];return re(function(){Lt.push.apply(Lt,j(arguments))},{def:function(){var Pt="v"+Ne++;return yt.push(Pt),0Pe)?pe.tree=l(me,{bounds:ae}):Pe&&Pe.length&&(pe.tree=Pe),pe.tree){var fe={primitive:"points",usage:"static",data:pe.tree,type:"uint32"};pe.elements?pe.elements(fe):pe.elements=R.elements(fe)}var be=m.float32(me);return _e({data:be,usage:"dynamic"}),Me({data:m.fract32(me,be),usage:"dynamic"}),Se({data:new Uint8Array(Ce),type:"uint8",usage:"stream"}),me}},{marker:function(me,pe,xe){var Pe=pe.activation;if(Pe.forEach(function(be){return be&&be.destroy&&be.destroy()}),Pe.length=0,me&&typeof me[0]!="number"){for(var _e=[],Me=0,Se=Math.min(me.length,pe.count);Me=0)return b;if(k instanceof Uint8Array||k instanceof Uint8ClampedArray)E=k;else{E=new Uint8Array(k.length);for(var R=0,I=k.length;R4*A&&(this.tooManyColors=!0),this.updatePalette(x),L.length===1?L[0]:L},C.prototype.updatePalette=function(k){if(!this.tooManyColors){var E=this.maxColors,x=this.paletteTexture,A=Math.ceil(.25*k.length/E);if(A>1)for(var L=.25*(k=k.slice()).length%E;L2?(k[0],k[2],w=k[1],y=k[3]):k.length?(w=k[0],y=k[1]):(k.x,w=k.y,k.x,k.width,y=k.y+k.height),E.length>2?(C=E[0],_=E[2],E[1],E[3]):E.length?(C=E[0],_=E[1]):(C=E.x,E.y,_=E.x+E.width,E.y,E.height),[C,w,_,y]}function s(h){if(typeof h=="number")return[h,h,h,h];if(h.length===2)return[h[0],h[1],h[0],h[1]];var c=f(h);return[c.x,c.y,c.x+c.width,c.y+c.height]}T.exports=a,a.prototype.render=function(){for(var h,c=this,m=[],w=arguments.length;w--;)m[w]=arguments[w];return m.length&&(h=this).update.apply(h,m),this.regl.attributes.preserveDrawingBuffer?this.draw():(this.dirty?this.planned==null&&(this.planned=M(function(){c.draw(),c.dirty=!0,c.planned=null})):(this.draw(),this.dirty=!0,M(function(){c.dirty=!1})),this)},a.prototype.update=function(){for(var h,c=[],m=arguments.length;m--;)c[m]=arguments[m];if(c.length){for(var w=0;wF))&&(C.lower||!(z"u"?1:window.devicePixelRatio,It=!1,Lt={},yt=function(wt){},Pt=function(){};if(typeof Qe=="string"?nt=document.querySelector(Qe):typeof Qe=="object"&&(typeof Qe.nodeName=="string"&&typeof Qe.appendChild=="function"&&typeof Qe.getBoundingClientRect=="function"?nt=Qe:typeof Qe.drawArrays=="function"||typeof Qe.drawElements=="function"?Re=(Ne=Qe).canvas:("gl"in Qe?Ne=Qe.gl:"canvas"in Qe?Re=i(Qe.canvas):"container"in Qe&&(ft=i(Qe.container)),"attributes"in Qe&&(qe=Qe.attributes),"extensions"in Qe&&(ut=g(Qe.extensions)),"optionalExtensions"in Qe&&(dt=g(Qe.optionalExtensions)),"onDone"in Qe&&(yt=Qe.onDone),"profile"in Qe&&(It=!!Qe.profile),"pixelRatio"in Qe&&(_t=+Qe.pixelRatio),"cachedCode"in Qe&&(Lt=Qe.cachedCode))),nt&&(nt.nodeName.toLowerCase()==="canvas"?Re=nt:ft=nt),!Ne){if(!Re){if(!(nt=function(wt,Rt,Nt){function Yt(){var Qt=window.innerWidth,rn=window.innerHeight;wt!==document.body&&(Qt=(rn=Xt.getBoundingClientRect()).right-rn.left,rn=rn.bottom-rn.top),Xt.width=Nt*Qt,Xt.height=Nt*rn}var Wt,Xt=document.createElement("canvas");return re(Xt.style,{border:0,margin:0,padding:0,top:0,left:0,width:"100%",height:"100%"}),wt.appendChild(Xt),wt===document.body&&(Xt.style.position="absolute",re(wt.style,{margin:0,padding:0})),wt!==document.body&&typeof ResizeObserver=="function"?(Wt=new ResizeObserver(function(){setTimeout(Yt)})).observe(wt):window.addEventListener("resize",Yt,!1),Yt(),{canvas:Xt,onDestroy:function(){Wt?Wt.disconnect():window.removeEventListener("resize",Yt),wt.removeChild(Xt)}}}(ft||document.body,0,_t)))return null;Re=nt.canvas,Pt=nt.onDestroy}qe.premultipliedAlpha===void 0&&(qe.premultipliedAlpha=!0),Ne=function(wt,Rt){function Nt(Yt){try{return wt.getContext(Yt,Rt)}catch{return null}}return Nt("webgl")||Nt("experimental-webgl")||Nt("webgl-experimental")}(Re,qe)}return Ne?{gl:Ne,canvas:Re,container:ft,extensions:ut,optionalExtensions:dt,pixelRatio:_t,profile:It,cachedCode:Lt,onDone:yt,onDestroy:Pt}:(Pt(),yt("webgl not supported, try upgrading your browser or graphics drivers http://get.webgl.org"),null)}function v(qe,nt){for(var ft=Array(qe),Re=0;Re>>=nt))<<3,(nt|=ft=(15<(qe>>>=ft))<<2)|(ft=(3<(qe>>>=ft))<<1)|qe>>>ft>>1}function l(){function qe(Re){e:{for(var Ne=16;268435456>=Ne;Ne*=16)if(Re<=Ne){Re=Ne;break e}Re=0}return 0<(Ne=ft[f(Re)>>2]).length?Ne.pop():new ArrayBuffer(Re)}function nt(Re){ft[f(Re.byteLength)>>2].push(Re)}var ft=v(8,function(){return[]});return{alloc:qe,free:nt,allocType:function(Re,Ne){var Qe=null;switch(Re){case 5120:Qe=new Int8Array(qe(Ne),0,Ne);break;case 5121:Qe=new Uint8Array(qe(Ne),0,Ne);break;case 5122:Qe=new Int16Array(qe(2*Ne),0,Ne);break;case 5123:Qe=new Uint16Array(qe(2*Ne),0,Ne);break;case 5124:Qe=new Int32Array(qe(4*Ne),0,Ne);break;case 5125:Qe=new Uint32Array(qe(4*Ne),0,Ne);break;case 5126:Qe=new Float32Array(qe(4*Ne),0,Ne);break;default:return null}return Qe.length!==Ne?Qe.subarray(0,Ne):Qe},freeType:function(Re){nt(Re.buffer)}}}function a(qe){return!!qe&&typeof qe=="object"&&Array.isArray(qe.shape)&&Array.isArray(qe.stride)&&typeof qe.offset=="number"&&qe.shape.length===qe.stride.length&&(Array.isArray(qe.data)||me(qe.data))}function u(qe,nt,ft,Re,Ne,Qe){for(var ut=0;ut(Pt=Nt)&&(Pt=yt.buffer.byteLength,Xt===5123?Pt>>=1:Xt===5125&&(Pt>>=2)),yt.vertCount=Pt,Pt=Rt,0>Rt&&(Pt=4,(Rt=yt.buffer.dimension)===1&&(Pt=0),Rt===2&&(Pt=1),Rt===3&&(Pt=4)),yt.primType=Pt}function ut(yt){Re.elementsCount--,delete dt[yt.id],yt.buffer.destroy(),yt.buffer=null}var dt={},_t=0,It={uint8:5121,uint16:5123};nt.oes_element_index_uint&&(It.uint32=5125),Ne.prototype.bind=function(){this.buffer.bind()};var Lt=[];return{create:function(yt,Pt){function wt(Yt){if(Yt)if(typeof Yt=="number")Rt(Yt),Nt.primType=4,Nt.vertCount=0|Yt,Nt.type=5121;else{var Wt=null,Xt=35044,Qt=-1,rn=-1,xn=0,un=0;Array.isArray(Yt)||me(Yt)||a(Yt)?Wt=Yt:("data"in Yt&&(Wt=Yt.data),"usage"in Yt&&(Xt=Me[Yt.usage]),"primitive"in Yt&&(Qt=fe[Yt.primitive]),"count"in Yt&&(rn=0|Yt.count),"type"in Yt&&(un=It[Yt.type]),"length"in Yt?xn=0|Yt.length:(xn=rn,un===5123||un===5122?xn*=2:un!==5125&&un!==5124||(xn*=4))),Qe(Nt,Wt,Xt,Qt,rn,xn,un)}else Rt(),Nt.primType=4,Nt.vertCount=0,Nt.type=5121;return wt}var Rt=ft.create(null,34963,!0),Nt=new Ne(Rt._buffer);return Re.elementsCount++,wt(yt),wt._reglType="elements",wt._elements=Nt,wt.subdata=function(Yt,Wt){return Rt.subdata(Yt,Wt),wt},wt.destroy=function(){ut(Nt)},wt},createStream:function(yt){var Pt=Lt.pop();return Pt||(Pt=new Ne(ft.create(null,34963,!0,!1)._buffer)),Qe(Pt,yt,35040,-1,-1,0,0),Pt},destroyStream:function(yt){Lt.push(yt)},getElements:function(yt){return typeof yt=="function"&&yt._elements instanceof Ne?yt._elements:null},clear:function(){pe(dt).forEach(ut)}}}function y(qe){for(var nt=ye.allocType(5123,qe.length),ft=0;ft>>31<<15,Ne=(Qe<<1>>>24)-127,Qe=Qe>>13&1023;nt[ft]=-24>Ne?Re:-14>Ne?Re+(Qe+1024>>-14-Ne):15>=hn,jt.height>>=hn,Pt(jt,Jt[hn]),nn.mipmask|=1<Pn;++Pn)nn.images[Pn]=null;return nn}function xn(nn){for(var Pn=nn.images,jt=0;jtnn){for(var Pn=0;Pn=--this.refCount&&dn(this)}}),ut.profile&&(Qe.getTotalTextureSize=function(){var nn=0;return Object.keys($n).forEach(function(Pn){nn+=$n[Pn].stats.size}),nn}),{create2D:function(nn,Pn){function jt(hn,zn){var On=Jt.texInfo;un.call(On);var En=rn();return typeof hn=="number"?Wt(En,0|hn,typeof zn=="number"?0|zn:0|hn):hn?(An(On,hn),Xt(En,hn)):Wt(En,1,1),On.genMipmaps&&(En.mipmask=(En.width<<1)-1),Jt.mipmask=En.mipmask,_t(Jt,En),Jt.internalformat=En.internalformat,jt.width=En.width,jt.height=En.height,sn(Jt),Qt(En,3553),Yn(On,3553),Tn(),xn(En),ut.profile&&(Jt.stats.size=b(Jt.internalformat,Jt.type,En.width,En.height,On.genMipmaps,!1)),jt.format=or[Jt.internalformat],jt.type=vr[Jt.type],jt.mag=_r[On.magFilter],jt.min=Kt[On.minFilter],jt.wrapS=bn[On.wrapS],jt.wrapT=bn[On.wrapT],jt}var Jt=new kn(3553);return $n[Jt.id]=Jt,Qe.textureCount++,jt(nn,Pn),jt.subimage=function(hn,zn,On,En){zn|=0,On|=0,En|=0;var mn=Rt();return _t(mn,Jt),mn.width=0,mn.height=0,Pt(mn,hn),mn.width=mn.width||(Jt.width>>En)-zn,mn.height=mn.height||(Jt.height>>En)-On,sn(Jt),wt(mn,3553,zn,On,En),Tn(),Nt(mn),jt},jt.resize=function(hn,zn){var On=0|hn,En=0|zn||On;if(On===Jt.width&&En===Jt.height)return jt;jt.width=Jt.width=On,jt.height=Jt.height=En,sn(Jt);for(var mn=0;Jt.mipmask>>mn;++mn){var wn=On>>mn,gn=En>>mn;if(!wn||!gn)break;qe.texImage2D(3553,mn,Jt.format,wn,gn,0,Jt.format,Jt.type,null)}return Tn(),ut.profile&&(Jt.stats.size=b(Jt.internalformat,Jt.type,On,En,!1,!1)),jt},jt._reglType="texture2d",jt._texture=Jt,ut.profile&&(jt.stats=Jt.stats),jt.destroy=function(){Jt.decRef()},jt},createCube:function(nn,Pn,jt,Jt,hn,zn){function On(wn,gn,yn,Sn,Vn,Xn){var nr,Qn=En.texInfo;for(un.call(Qn),nr=0;6>nr;++nr)mn[nr]=rn();if(typeof wn!="number"&&wn){if(typeof wn=="object")if(gn)Xt(mn[0],wn),Xt(mn[1],gn),Xt(mn[2],yn),Xt(mn[3],Sn),Xt(mn[4],Vn),Xt(mn[5],Xn);else if(An(Qn,wn),It(En,wn),"faces"in wn)for(wn=wn.faces,nr=0;6>nr;++nr)_t(mn[nr],En),Xt(mn[nr],wn[nr]);else for(nr=0;6>nr;++nr)Xt(mn[nr],wn)}else for(wn=0|wn||1,nr=0;6>nr;++nr)Wt(mn[nr],wn,wn);for(_t(En,mn[0]),En.mipmask=Qn.genMipmaps?(mn[0].width<<1)-1:mn[0].mipmask,En.internalformat=mn[0].internalformat,On.width=mn[0].width,On.height=mn[0].height,sn(En),nr=0;6>nr;++nr)Qt(mn[nr],34069+nr);for(Yn(Qn,34067),Tn(),ut.profile&&(En.stats.size=b(En.internalformat,En.type,On.width,On.height,Qn.genMipmaps,!0)),On.format=or[En.internalformat],On.type=vr[En.type],On.mag=_r[Qn.magFilter],On.min=Kt[Qn.minFilter],On.wrapS=bn[Qn.wrapS],On.wrapT=bn[Qn.wrapT],nr=0;6>nr;++nr)xn(mn[nr]);return On}var En=new kn(34067);$n[En.id]=En,Qe.cubeCount++;var mn=Array(6);return On(nn,Pn,jt,Jt,hn,zn),On.subimage=function(wn,gn,yn,Sn,Vn){yn|=0,Sn|=0,Vn|=0;var Xn=Rt();return _t(Xn,En),Xn.width=0,Xn.height=0,Pt(Xn,gn),Xn.width=Xn.width||(En.width>>Vn)-yn,Xn.height=Xn.height||(En.height>>Vn)-Sn,sn(En),wt(Xn,34069+wn,yn,Sn,Vn),Tn(),Nt(Xn),On},On.resize=function(wn){if((wn|=0)!==En.width){On.width=En.width=wn,On.height=En.height=wn,sn(En);for(var gn=0;6>gn;++gn)for(var yn=0;En.mipmask>>yn;++yn)qe.texImage2D(34069+gn,yn,En.format,wn>>yn,wn>>yn,0,En.format,En.type,null);return Tn(),ut.profile&&(En.stats.size=b(En.internalformat,En.type,On.width,On.height,!1,!0)),On}},On._reglType="textureCube",On._texture=En,ut.profile&&(On.stats=En.stats),On.destroy=function(){En.decRef()},On},clear:function(){for(var nn=0;nnJt;++Jt)if(jt.mipmask&1<>Jt,jt.height>>Jt,0,jt.internalformat,jt.type,null);else for(var hn=0;6>hn;++hn)qe.texImage2D(34069+hn,Jt,jt.internalformat,jt.width>>Jt,jt.height>>Jt,0,jt.internalformat,jt.type,null);Yn(jt.texInfo,jt.target)})},refresh:function(){for(var nn=0;nnpn;++pn){for(qn=0;qndn;++dn)Tn[dn].resize(pn);return sn.width=sn.height=pn,sn},_reglType:"framebufferCube",destroy:function(){Tn.forEach(function(dn){dn.destroy()})}})},clear:function(){pe(Yn).forEach(Yt)},restore:function(){Qt.cur=null,Qt.next=null,Qt.dirty=!0,pe(Yn).forEach(function(kn){kn.framebuffer=qe.createFramebuffer(),Wt(kn)})}})}function O(){this.w=this.z=this.y=this.x=this.state=0,this.buffer=null,this.size=0,this.normalized=!1,this.type=5126,this.divisor=this.stride=this.offset=0}function z(qe,nt,ft,Re,Ne,Qe,ut){function dt(){this.id=++Lt,this.attributes=[],this.elements=null,this.ownsElements=!1,this.offset=this.count=0,this.instances=-1,this.primitive=4;var wt=nt.oes_vertex_array_object;this.vao=wt?wt.createVertexArrayOES():null,yt[this.id]=this,this.buffers=[]}var _t=ft.maxAttributes,It=Array(_t);for(ft=0;ft<_t;++ft)It[ft]=new O;var Lt=0,yt={},Pt={Record:O,scope:{},state:It,currentVAO:null,targetVAO:null,restore:nt.oes_vertex_array_object?function(){nt.oes_vertex_array_object&&pe(yt).forEach(function(wt){wt.refresh()})}:function(){},createVAO:function(wt){function Rt(Yt){var Wt;Array.isArray(Yt)?(Wt=Yt,Nt.elements&&Nt.ownsElements&&Nt.elements.destroy(),Nt.elements=null,Nt.ownsElements=!1,Nt.offset=0,Nt.count=0,Nt.instances=-1,Nt.primitive=4):(Yt.elements?(Wt=Yt.elements,Nt.ownsElements?(typeof Wt=="function"&&Wt._reglType==="elements"?Nt.elements.destroy():Nt.elements(Wt),Nt.ownsElements=!1):Qe.getElements(Yt.elements)?(Nt.elements=Yt.elements,Nt.ownsElements=!1):(Nt.elements=Qe.create(Yt.elements),Nt.ownsElements=!0)):(Nt.elements=null,Nt.ownsElements=!1),Wt=Yt.attributes,Nt.offset=0,Nt.count=-1,Nt.instances=-1,Nt.primitive=4,Nt.elements&&(Nt.count=Nt.elements._elements.vertCount,Nt.primitive=Nt.elements._elements.primType),"offset"in Yt&&(Nt.offset=0|Yt.offset),"count"in Yt&&(Nt.count=0|Yt.count),"instances"in Yt&&(Nt.instances=0|Yt.instances),"primitive"in Yt&&(Nt.primitive=fe[Yt.primitive])),Yt={};var Xt=Nt.attributes;Xt.length=Wt.length;for(var Qt=0;Qt=An.byteLength?rn.subdata(An):(rn.destroy(),Nt.buffers[Qt]=null)),Nt.buffers[Qt]||(rn=Nt.buffers[Qt]=Ne.create(xn,34962,!1,!0)),un.buffer=Ne.getBuffer(rn),un.size=0|un.buffer.dimension,un.normalized=!1,un.type=un.buffer.dtype,un.offset=0,un.stride=0,un.divisor=0,un.state=1,Yt[Qt]=1):Ne.getBuffer(xn)?(un.buffer=Ne.getBuffer(xn),un.size=0|un.buffer.dimension,un.normalized=!1,un.type=un.buffer.dtype,un.offset=0,un.stride=0,un.divisor=0,un.state=1):Ne.getBuffer(xn.buffer)?(un.buffer=Ne.getBuffer(xn.buffer),un.size=0|(+xn.size||un.buffer.dimension),un.normalized=!!xn.normalized||!1,un.type="type"in xn?_e[xn.type]:un.buffer.dtype,un.offset=0|(xn.offset||0),un.stride=0|(xn.stride||0),un.divisor=0|(xn.divisor||0),un.state=1):"x"in xn&&(un.x=+xn.x||0,un.y=+xn.y||0,un.z=+xn.z||0,un.w=+xn.w||0,un.state=2)}for(rn=0;rnRt&&(Rt=Nt.stats.uniformsCount)}),Rt},ft.getMaxAttributesCount=function(){var Rt=0;return Pt.forEach(function(Nt){Nt.stats.attributesCount>Rt&&(Rt=Nt.stats.attributesCount)}),Rt}),{clear:function(){var Rt=qe.deleteShader.bind(qe);pe(It).forEach(Rt),It={},pe(Lt).forEach(Rt),Lt={},Pt.forEach(function(Nt){qe.deleteProgram(Nt.program)}),Pt.length=0,yt={},ft.shaderCount=0},program:function(Rt,Nt,Yt,Wt){var Xt=yt[Nt];Xt||(Xt=yt[Nt]={});var Qt=Xt[Rt];if(Qt&&(Qt.refCount++,!Wt))return Qt;var rn=new dt(Nt,Rt);return ft.shaderCount++,_t(rn,Yt,Wt),Qt||(Xt[Rt]=rn),Pt.push(rn),re(rn,{destroy:function(){if(rn.refCount--,0>=rn.refCount){qe.deleteProgram(rn.program);var xn=Pt.indexOf(rn);Pt.splice(xn,1),ft.shaderCount--}0>=Xt[rn.vertId].refCount&&(qe.deleteShader(Lt[rn.vertId]),delete Lt[rn.vertId],delete yt[rn.fragId][rn.vertId]),Object.keys(yt[rn.fragId]).length||(qe.deleteShader(It[rn.fragId]),delete It[rn.fragId],delete yt[rn.fragId])}})},restore:function(){It={},Lt={};for(var Rt=0;Rt>>nt|qe<<32-nt}function W(qe,nt){var ft=(65535&qe)+(65535&nt);return(qe>>16)+(nt>>16)+(ft>>16)<<16|65535&ft}function j(qe){return Array.prototype.slice.call(qe)}function $(qe){return j(qe).join("")}function U(qe){function nt(){var Lt=[],yt=[];return re(function(){Lt.push.apply(Lt,j(arguments))},{def:function(){var Pt="v"+Ne++;return yt.push(Pt),0>>4&15)+"0123456789abcdef".charAt(15&Rt);return Nt}(function(wt){for(var Rt=Array(wt.length>>2),Nt=0;Nt>5]|=(255&wt.charCodeAt(Nt/8))<<24-Nt%32;var Yt,Wt,Xt,Qt,rn,xn,un,An,Yn,kn,sn,Tn=8*wt.length;for(wt=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],Nt=Array(64),Rt[Tn>>5]|=128<<24-Tn%32,Rt[15+(Tn+64>>9<<4)]=Tn,An=0;AnYn;Yn++){var dn;16>Yn?Nt[Yn]=Rt[Yn+An]:(kn=Yn,sn=W(sn=N(sn=Nt[Yn-2],17)^N(sn,19)^sn>>>10,Nt[Yn-7]),dn=N(dn=Nt[Yn-15],7)^N(dn,18)^dn>>>3,Nt[kn]=W(W(sn,dn),Nt[Yn-16])),kn=W(W(W(W(un,kn=N(kn=Qt,6)^N(kn,11)^N(kn,25)),Qt&rn^~Qt&xn),xt[Yn]),Nt[Yn]),sn=W(un=N(un=Tn,2)^N(un,13)^N(un,22),Tn&Yt^Tn&Wt^Yt&Wt),un=xn,xn=rn,rn=Qt,Qt=W(Xt,kn),Xt=Wt,Wt=Yt,Yt=Tn,Tn=W(kn,sn)}wt[0]=W(Tn,wt[0]),wt[1]=W(Yt,wt[1]),wt[2]=W(Wt,wt[2]),wt[3]=W(Xt,wt[3]),wt[4]=W(Qt,wt[4]),wt[5]=W(rn,wt[5]),wt[6]=W(xn,wt[6]),wt[7]=W(un,wt[7])}for(Rt="",Nt=0;Nt<32*wt.length;Nt+=8)Rt+=String.fromCharCode(wt[Nt>>5]>>>24-Nt%32&255);return Rt}(function(wt){for(var Rt,Nt,Yt="",Wt=-1;++Wt=Rt&&56320<=Nt&&57343>=Nt&&(Rt=65536+((1023&Rt)<<10)+(1023&Nt),Wt++),127>=Rt?Yt+=String.fromCharCode(Rt):2047>=Rt?Yt+=String.fromCharCode(192|Rt>>>6&31,128|63&Rt):65535>=Rt?Yt+=String.fromCharCode(224|Rt>>>12&15,128|Rt>>>6&63,128|63&Rt):2097151>=Rt&&(Yt+=String.fromCharCode(240|Rt>>>18&7,128|Rt>>>12&63,128|Rt>>>6&63,128|63&Rt));return Yt}(Pt))),Re[yt])?Re[yt].apply(null,ut):(Pt=Function.apply(null,Qe.concat(Pt)),Re&&(Re[yt]=Pt),Pt.apply(null,ut))}}}function G(qe){return Array.isArray(qe)||me(qe)||a(qe)}function q(qe){return qe.sort(function(nt,ft){return nt==="viewport"?-1:ft==="viewport"?1:nt"+br+"?"+Sn+".constant["+br+"]:0;"}).join(""),"}}else{","if(",nr,"(",Sn,".buffer)){",cr,"=",Vn,".createStream(",34962,",",Sn,".buffer);","}else{",cr,"=",Vn,".getBuffer(",Sn,".buffer);","}",pr,'="type" in ',Sn,"?",Xn.glTypes,"[",Sn,".type]:",cr,".dtype;",Qn.normalized,"=!!",Sn,".normalized;"),yn("size"),yn("offset"),yn("stride"),yn("divisor"),gn("}}"),gn.exit("if(",Qn.isStream,"){",Vn,".destroyStream(",cr,");","}"),Qn})}),On}function Yn(jt,Jt,hn,zn,On){function En(hr){var cr=wn[hr];cr&&(yn[hr]=cr)}var mn=function(hr,cr){if(typeof(pr=hr.static).frag=="string"&&typeof pr.vert=="string"){if(0"u"?"Date.now()":"performance.now()"}function mn(hr){hr(yn=Jt.def(),"=",En(),";"),typeof On=="string"?hr(Xn,".count+=",On,";"):hr(Xn,".count++;"),wt&&(zn?hr(Sn=Jt.def(),"=",Qn,".getNumPendingQueries();"):hr(Qn,".beginQuery(",Xn,");"))}function wn(hr){hr(Xn,".cpuTime+=",En(),"-",yn,";"),wt&&(zn?hr(Qn,".pushScopeStats(",Sn,",",Qn,".getNumPendingQueries(),",Xn,");"):hr(Qn,".endQuery();"))}function gn(hr){var cr=Jt.def(nr,".profile");Jt(nr,".profile=",hr,";"),Jt.exit(nr,".profile=",cr,";")}var yn,Sn,Vn=jt.shared,Xn=jt.stats,nr=Vn.current,Qn=Vn.timer;if(hn=hn.profile){if(ne(hn))return void(hn.enable?(mn(Jt),wn(Jt.exit),gn("true")):gn("false"));gn(hn=hn.append(jt,Jt))}else hn=Jt.def(nr,".profile");mn(Vn=jt.block()),Jt("if(",hn,"){",Vn,"}"),wn(jt=jt.block()),Jt.exit("if(",hn,"){",jt,"}")}function In(jt,Jt,hn,zn,On){function En(wn,gn,yn){function Sn(){Jt("if(!",Qn,".buffer){",Xn,".enableVertexAttribArray(",nr,");}");var dr,br=yn.type;dr=yn.size?Jt.def(yn.size,"||",gn):gn,Jt("if(",Qn,".type!==",br,"||",Qn,".size!==",dr,"||",pr.map(function(Ir){return Qn+"."+Ir+"!=="+yn[Ir]}).join("||"),"){",Xn,".bindBuffer(",34962,",",hr,".buffer);",Xn,".vertexAttribPointer(",[nr,dr,br,yn.normalized,yn.stride,yn.offset],");",Qn,".type=",br,";",Qn,".size=",dr,";",pr.map(function(Ir){return Qn+"."+Ir+"="+yn[Ir]+";"}).join(""),"}"),Kt&&(br=yn.divisor,Jt("if(",Qn,".divisor!==",br,"){",jt.instancing,".vertexAttribDivisorANGLE(",[nr,br],");",Qn,".divisor=",br,";}"))}function Vn(){Jt("if(",Qn,".buffer){",Xn,".disableVertexAttribArray(",nr,");",Qn,".buffer=null;","}if(",Ft.map(function(dr,br){return Qn+"."+dr+"!=="+cr[br]}).join("||"),"){",Xn,".vertexAttrib4f(",nr,",",cr,");",Ft.map(function(dr,br){return Qn+"."+dr+"="+cr[br]+";"}).join(""),"}")}var Xn=mn.gl,nr=Jt.def(wn,".location"),Qn=Jt.def(mn.attributes,"[",nr,"]");wn=yn.state;var hr=yn.buffer,cr=[yn.x,yn.y,yn.z,yn.w],pr=["buffer","normalized","offset","stride"];wn===1?Sn():wn===2?Vn():(Jt("if(",wn,"===",1,"){"),Sn(),Jt("}else{"),Vn(),Jt("}"))}var mn=jt.shared;zn.forEach(function(wn){var gn,yn=wn.name,Sn=hn.attributes[yn];if(Sn){if(!On(Sn))return;gn=Sn.append(jt,Jt)}else{if(!On(Je))return;var Vn=jt.scopeAttrib(yn);gn={},Object.keys(new vr).forEach(function(Xn){gn[Xn]=Jt.def(Vn,".",Xn)})}En(jt.link(wn),function(Xn){switch(Xn){case 35664:case 35667:case 35671:return 2;case 35665:case 35668:case 35672:return 3;case 35666:case 35669:case 35673:return 4;default:return 1}}(wn.info.type),gn)})}function jn(jt,Jt,hn,zn,On,En){for(var mn,wn=jt.shared,gn=wn.gl,yn=0;yn>1)",wn],");")}function Ir(){hn(gn,".drawArraysInstancedANGLE(",[Qn,hr,cr,wn],");")}nr&&nr!=="null"?dr?br():(hn("if(",nr,"){"),br(),hn("}else{"),Ir(),hn("}")):Ir()}function mn(){function br(){hn(Sn+".drawElements("+[Qn,cr,pr,hr+"<<(("+pr+"-5121)>>1)"]+");")}function Ir(){hn(Sn+".drawArrays("+[Qn,hr,cr]+");")}nr&&nr!=="null"?dr?br():(hn("if(",nr,"){"),br(),hn("}else{"),Ir(),hn("}")):Ir()}var wn,gn,yn=jt.shared,Sn=yn.gl,Vn=yn.draw,Xn=zn.draw,nr=function(){var br=Xn.elements,Ir=Jt;return br?((br.contextDep&&zn.contextDynamic||br.propDep)&&(Ir=hn),br=br.append(jt,Ir),Xn.elementsActive&&Ir("if("+br+")"+Sn+".bindBuffer(34963,"+br+".buffer.buffer);")):(br=Ir.def(),Ir(br,"=",Vn,".","elements",";","if(",br,"){",Sn,".bindBuffer(",34963,",",br,".buffer.buffer);}","else if(",yn.vao,".currentVAO){",br,"=",jt.shared.elements+".getElements("+yn.vao,".currentVAO.elements);",Rn?"":"if("+br+")"+Sn+".bindBuffer(34963,"+br+".buffer.buffer);","}")),br}(),Qn=On("primitive"),hr=On("offset"),cr=function(){var br=Xn.count,Ir=Jt;return br?((br.contextDep&&zn.contextDynamic||br.propDep)&&(Ir=hn),br=br.append(jt,Ir)):br=Ir.def(Vn,".","count"),br}();if(typeof cr=="number"){if(cr===0)return}else hn("if(",cr,"){"),hn.exit("}");Kt&&(wn=On("instances"),gn=jt.instancing);var pr=nr+".type",dr=Xn.elements&&ne(Xn.elements)&&!Xn.vaoActive;Kt&&(typeof wn!="number"||0<=wn)?typeof wn=="string"?(hn("if(",wn,">0){"),En(),hn("}else if(",wn,"<0){"),mn(),hn("}")):En():mn()}function qn(jt,Jt,hn,zn,On){return On=(Jt=Qt()).proc("body",On),Kt&&(Jt.instancing=On.def(Jt.shared.extensions,".angle_instanced_arrays")),jt(Jt,On,hn,zn),Jt.compile().body}function lr(jt,Jt,hn,zn){pn(jt,Jt),hn.useVAO?hn.drawVAO?Jt(jt.shared.vao,".setVAO(",hn.drawVAO.append(jt,Jt),");"):Jt(jt.shared.vao,".setVAO(",jt.shared.vao,".targetVAO);"):(Jt(jt.shared.vao,".setVAO(null);"),In(jt,Jt,hn,zn.attributes,function(){return!0})),jn(jt,Jt,hn,zn.uniforms,function(){return!0},!1),Gn(jt,Jt,Jt,hn)}function rr(jt,Jt,hn,zn){function On(){return!0}jt.batchId="a1",pn(jt,Jt),In(jt,Jt,hn,zn.attributes,On),jn(jt,Jt,hn,zn.uniforms,On,!1),Gn(jt,Jt,Jt,hn)}function Sr(jt,Jt,hn,zn){function On(Vn){return Vn.contextDep&&mn||Vn.propDep}function En(Vn){return!On(Vn)}pn(jt,Jt);var mn=hn.contextDep,wn=Jt.def(),gn=Jt.def();jt.shared.props=gn,jt.batchId=wn;var yn=jt.scope(),Sn=jt.scope();Jt(yn.entry,"for(",wn,"=0;",wn,"<","a1",";++",wn,"){",gn,"=","a0","[",wn,"];",Sn,"}",yn.exit),hn.needsContext&&kn(jt,Sn,hn.context),hn.needsFramebuffer&&sn(jt,Sn,hn.framebuffer),dn(jt,Sn,hn.state,On),hn.profile&&On(hn.profile)&&Dn(jt,Sn,hn,!1,!0),zn?(hn.useVAO?hn.drawVAO?On(hn.drawVAO)?Sn(jt.shared.vao,".setVAO(",hn.drawVAO.append(jt,Sn),");"):yn(jt.shared.vao,".setVAO(",hn.drawVAO.append(jt,yn),");"):yn(jt.shared.vao,".setVAO(",jt.shared.vao,".targetVAO);"):(yn(jt.shared.vao,".setVAO(null);"),In(jt,yn,hn,zn.attributes,En),In(jt,Sn,hn,zn.attributes,On)),jn(jt,yn,hn,zn.uniforms,En,!1),jn(jt,Sn,hn,zn.uniforms,On,!0),Gn(jt,yn,Sn,hn)):(Jt=jt.global.def("{}"),zn=hn.shader.progVar.append(jt,Sn),gn=Sn.def(zn,".id"),yn=Sn.def(Jt,"[",gn,"]"),Sn(jt.shared.gl,".useProgram(",zn,".program);","if(!",yn,"){",yn,"=",Jt,"[",gn,"]=",jt.link(function(Vn){return qn(rr,jt,hn,Vn,2)}),"(",zn,");}",yn,".call(this,a0[",wn,"],",wn,");"))}function yr(jt,Jt){function hn(wn){var gn=Jt.shader[wn];gn&&(gn=gn.append(jt,zn),isNaN(gn)?zn.set(On.shader,"."+wn,gn):zn.set(On.shader,"."+wn,jt.link(gn,{stable:!0})))}var zn=jt.proc("scope",3);jt.batchId="a2";var On=jt.shared,En=On.current;if(kn(jt,zn,Jt.context),Jt.framebuffer&&Jt.framebuffer.append(jt,zn),q(Object.keys(Jt.state)).forEach(function(wn){var gn=Jt.state[wn],yn=gn.append(jt,zn);S(yn)?yn.forEach(function(Sn,Vn){isNaN(Sn)?zn.set(jt.next[wn],"["+Vn+"]",Sn):zn.set(jt.next[wn],"["+Vn+"]",jt.link(Sn,{stable:!0}))}):ne(gn)?zn.set(On.next,"."+wn,jt.link(yn,{stable:!0})):zn.set(On.next,"."+wn,yn)}),Dn(jt,zn,Jt,!0,!0),["elements","offset","count","instances","primitive"].forEach(function(wn){var gn=Jt.draw[wn];gn&&(gn=gn.append(jt,zn),isNaN(gn)?zn.set(On.draw,"."+wn,gn):zn.set(On.draw,"."+wn,jt.link(gn),{stable:!0}))}),Object.keys(Jt.uniforms).forEach(function(wn){var gn=Jt.uniforms[wn].append(jt,zn);Array.isArray(gn)&&(gn="["+gn.map(function(yn){return isNaN(yn)?yn:jt.link(yn,{stable:!0})})+"]"),zn.set(On.uniforms,"["+jt.link(nt.id(wn),{stable:!0})+"]",gn)}),Object.keys(Jt.attributes).forEach(function(wn){var gn=Jt.attributes[wn].append(jt,zn),yn=jt.scopeAttrib(wn);Object.keys(new vr).forEach(function(Sn){zn.set(yn,"."+Sn,gn[Sn])})}),Jt.scopeVAO){var mn=Jt.scopeVAO.append(jt,zn);isNaN(mn)?zn.set(On.vao,".targetVAO",mn):zn.set(On.vao,".targetVAO",jt.link(mn,{stable:!0}))}hn("vert"),hn("frag"),0=--this.refCount&&ut(this)},Ne.profile&&(Re.getTotalRenderbufferSize=function(){var yt=0;return Object.keys(Lt).forEach(function(Pt){yt+=Lt[Pt].stats.size}),yt}),{create:function(yt,Pt){function wt(Nt,Yt){var Wt=0,Xt=0,Qt=32854;if(typeof Nt=="object"&&Nt?("shape"in Nt?(Wt=0|(Xt=Nt.shape)[0],Xt=0|Xt[1]):("radius"in Nt&&(Wt=Xt=0|Nt.radius),"width"in Nt&&(Wt=0|Nt.width),"height"in Nt&&(Xt=0|Nt.height)),"format"in Nt&&(Qt=dt[Nt.format])):typeof Nt=="number"?(Wt=0|Nt,Xt=typeof Yt=="number"?0|Yt:Wt):Nt||(Wt=Xt=1),Wt!==Rt.width||Xt!==Rt.height||Qt!==Rt.format)return wt.width=Rt.width=Wt,wt.height=Rt.height=Xt,Rt.format=Qt,qe.bindRenderbuffer(36161,Rt.renderbuffer),qe.renderbufferStorage(36161,Qt,Wt,Xt),Ne.profile&&(Rt.stats.size=ht[Rt.format]*Rt.width*Rt.height),wt.format=_t[Rt.format],wt}var Rt=new Qe(qe.createRenderbuffer());return Lt[Rt.id]=Rt,Re.renderbufferCount++,wt(yt,Pt),wt.resize=function(Nt,Yt){var Wt=0|Nt,Xt=0|Yt||Wt;return Wt===Rt.width&&Xt===Rt.height||(wt.width=Rt.width=Wt,wt.height=Rt.height=Xt,qe.bindRenderbuffer(36161,Rt.renderbuffer),qe.renderbufferStorage(36161,Rt.format,Wt,Xt),Ne.profile&&(Rt.stats.size=ht[Rt.format]*Rt.width*Rt.height)),wt},wt._reglType="renderbuffer",wt._renderbuffer=Rt,Ne.profile&&(wt.stats=Rt.stats),wt.destroy=function(){Rt.decRef()},wt},clear:function(){pe(Lt).forEach(ut)},restore:function(){pe(Lt).forEach(function(yt){yt.renderbuffer=qe.createRenderbuffer(),qe.bindRenderbuffer(36161,yt.renderbuffer),qe.renderbufferStorage(36161,yt.format,yt.width,yt.height)}),qe.bindRenderbuffer(36161,null)}}},Et=[];Et[6408]=4,Et[6407]=3;var kt=[];kt[5121]=1,kt[5126]=4,kt[36193]=2;var xt=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],Ft=["x","y","z","w"],Ot="blend.func blend.equation stencil.func stencil.opFront stencil.opBack sample.coverage viewport scissor.box polygonOffset.offset".split(" "),Bt={0:0,1:1,zero:0,one:1,"src color":768,"one minus src color":769,"src alpha":770,"one minus src alpha":771,"dst color":774,"one minus dst color":775,"dst alpha":772,"one minus dst alpha":773,"constant color":32769,"one minus constant color":32770,"constant alpha":32771,"one minus constant alpha":32772,"src alpha saturate":776},qt={never:512,less:513,"<":513,equal:514,"=":514,"==":514,"===":514,lequal:515,"<=":515,greater:516,">":516,notequal:517,"!=":517,"!==":517,gequal:518,">=":518,always:519},Vt={0:0,zero:0,keep:7680,replace:7681,increment:7682,decrement:7683,"increment wrap":34055,"decrement wrap":34056,invert:5386},Ke={cw:2304,ccw:2305},Je=new H(!1,!1,!1,function(){});return function(qe){function nt(){if(rr.length===0)rn&&rn.update(),vr=null;else{vr=ue.next(nt),Lt();for(var Kt=rr.length-1;0<=Kt;--Kt){var bn=rr[Kt];bn&&bn(Yn,null,0)}wt.flush(),rn&&rn.update()}}function ft(){!vr&&0=rr.length&&Re()}}}}function It(){var Kt=qn.viewport,bn=qn.scissor_box;Kt[0]=Kt[1]=bn[0]=bn[1]=0,Yn.viewportWidth=Yn.framebufferWidth=Yn.drawingBufferWidth=Kt[2]=bn[2]=wt.drawingBufferWidth,Yn.viewportHeight=Yn.framebufferHeight=Yn.drawingBufferHeight=Kt[3]=bn[3]=wt.drawingBufferHeight}function Lt(){Yn.tick+=1,Yn.time=Pt(),It(),Gn.procs.poll()}function yt(){Dn.refresh(),It(),Gn.procs.refresh(),rn&&rn.update()}function Pt(){return(ce()-xn)/1e3}if(!(qe=M(qe)))return null;var wt=qe.gl,Rt=wt.getContextAttributes();wt.isContextLost();var Nt=function(Kt,bn){function Rn($n){var tr;$n=$n.toLowerCase();try{tr=Ln[$n]=Kt.getExtension($n)}catch{}return!!tr}for(var Ln={},Un=0;Unbn;++bn)_r(re({framebuffer:Kt.framebuffer.faces[bn]},Kt),dt);else _r(Kt,dt);else dt(0,Kt)},prop:oe.define.bind(null,1),context:oe.define.bind(null,2),this:oe.define.bind(null,3),draw:ut({}),buffer:function(Kt){return sn.create(Kt,34962,!1,!1)},elements:function(Kt){return Tn.create(Kt,!1)},texture:Dn.create2D,cube:Dn.createCube,renderbuffer:In.create,framebuffer:jn.create,framebufferCube:jn.createCube,vao:dn.createVAO,attributes:Rt,frame:_t,on:function(Kt,bn){var Rn;switch(Kt){case"frame":return _t(bn);case"lost":Rn=Sr;break;case"restore":Rn=yr;break;case"destroy":Rn=or}return Rn.push(bn),{cancel:function(){for(var Ln=0;Ln2?"one of ".concat(i," ").concat(g.slice(0,M-1).join(", "),", or ")+g[M-1]:M===2?"one of ".concat(i," ").concat(g[0]," or ").concat(g[1]):"of ".concat(i," ").concat(g[0])}return"of ".concat(i," ").concat(String(g))}t("ERR_INVALID_OPT_VALUE",function(g,i){return'The value "'+i+'" is invalid for option "'+g+'"'},TypeError),t("ERR_INVALID_ARG_TYPE",function(g,i,M){var v,f,l,a,u;if(typeof i=="string"&&(f="not ",i.substr(0,f.length)===f)?(v="must not be",i=i.replace(/^not /,"")):v="must be",function(s,c,h){return(h===void 0||h>s.length)&&(h=s.length),s.substring(h-c.length,h)===c}(g," argument"))l="The ".concat(g," ").concat(v," ").concat(d(i,"type"));else{var o=(typeof u!="number"&&(u=0),u+1>(a=g).length||a.indexOf(".",u)===-1?"argument":"property");l='The "'.concat(g,'" ').concat(o," ").concat(v," ").concat(d(i,"type"))}return l+". Received type ".concat(typeof M)},TypeError),t("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),t("ERR_METHOD_NOT_IMPLEMENTED",function(g){return"The "+g+" method is not implemented"}),t("ERR_STREAM_PREMATURE_CLOSE","Premature close"),t("ERR_STREAM_DESTROYED",function(g){return"Cannot call "+g+" after a stream was destroyed"}),t("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),t("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),t("ERR_STREAM_WRITE_AFTER_END","write after end"),t("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),t("ERR_UNKNOWN_ENCODING",function(g){return"Unknown encoding: "+g},TypeError),t("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),T.exports.q=p},37865:function(T,p,t){var d=t(90386),g=Object.keys||function(s){var c=[];for(var h in s)c.push(h);return c};T.exports=a;var i=t(40410),M=t(37493);t(42018)(a,i);for(var v=g(M.prototype),f=0;f0)if(typeof Z=="string"||oe.objectMode||Object.getPrototypeOf(Z)===f.prototype||(Z=function(ue){return f.from(ue)}(Z)),Q)oe.endEmitted?E(te,new k):R(te,oe,Z,!0);else if(oe.ended)E(te,new S);else{if(oe.destroyed)return!1;oe.reading=!1,oe.decoder&&!X?(Z=oe.decoder.write(Z),oe.objectMode||Z.length!==0?R(te,oe,Z,!1):B(te,oe)):R(te,oe,Z,!1)}else Q||(oe.reading=!1,B(te,oe));return!oe.ended&&(oe.lengthZ.highWaterMark&&(Z.highWaterMark=function(X){return X>=I?X=I:(X--,X|=X>>>1,X|=X>>>2,X|=X>>>4,X|=X>>>8,X|=X>>>16,X++),X}(te)),te<=Z.length?te:Z.ended?Z.length:(Z.needReadable=!0,0))}function z(te){var Z=te._readableState;i("emitReadable",Z.needReadable,Z.emittedReadable),Z.needReadable=!1,Z.emittedReadable||(i("emitReadable",Z.flowing),Z.emittedReadable=!0,g.nextTick(F,te))}function F(te){var Z=te._readableState;i("emitReadable_",Z.destroyed,Z.length,Z.ended),Z.destroyed||!Z.length&&!Z.ended||(te.emit("readable"),Z.emittedReadable=!1),Z.needReadable=!Z.flowing&&!Z.ended&&Z.length<=Z.highWaterMark,U(te)}function B(te,Z){Z.readingMore||(Z.readingMore=!0,g.nextTick(N,te,Z))}function N(te,Z){for(;!Z.reading&&!Z.ended&&(Z.length0,Z.resumeScheduled&&!Z.paused?Z.flowing=!0:te.listenerCount("data")>0&&te.resume()}function j(te){i("readable nexttick read 0"),te.read(0)}function $(te,Z){i("resume",Z.reading),Z.reading||te.read(0),Z.resumeScheduled=!1,te.emit("resume"),U(te),Z.flowing&&!Z.reading&&te.read(0)}function U(te){var Z=te._readableState;for(i("flow",Z.flowing);Z.flowing&&te.read()!==null;);}function G(te,Z){return Z.length===0?null:(Z.objectMode?X=Z.buffer.shift():!te||te>=Z.length?(X=Z.decoder?Z.buffer.join(""):Z.buffer.length===1?Z.buffer.first():Z.buffer.concat(Z.length),Z.buffer.clear()):X=Z.buffer.consume(te,Z.decoder),X);var X}function q(te){var Z=te._readableState;i("endReadable",Z.endEmitted),Z.endEmitted||(Z.ended=!0,g.nextTick(H,Z,te))}function H(te,Z){if(i("endReadableNT",te.endEmitted,te.length),!te.endEmitted&&te.length===0&&(te.endEmitted=!0,Z.readable=!1,Z.emit("end"),te.autoDestroy)){var X=Z._writableState;(!X||X.autoDestroy&&X.finished)&&Z.destroy()}}function ne(te,Z){for(var X=0,Q=te.length;X=Z.highWaterMark:Z.length>0)||Z.ended))return i("read: emitReadable",Z.length,Z.ended),Z.length===0&&Z.ended?q(this):z(this),null;if((te=O(te,Z))===0&&Z.ended)return Z.length===0&&q(this),null;var Q,re=Z.needReadable;return i("need readable",re),(Z.length===0||Z.length-te0?G(te,Z):null)===null?(Z.needReadable=Z.length<=Z.highWaterMark,te=0):(Z.length-=te,Z.awaitDrain=0),Z.length===0&&(Z.ended||(Z.needReadable=!0),X!==te&&Z.ended&&q(this)),Q!==null&&this.emit("data",Q),Q},L.prototype._read=function(te){E(this,new _("_read()"))},L.prototype.pipe=function(te,Z){var X=this,Q=this._readableState;switch(Q.pipesCount){case 0:Q.pipes=te;break;case 1:Q.pipes=[Q.pipes,te];break;default:Q.pipes.push(te)}Q.pipesCount+=1,i("pipe count=%d opts=%j",Q.pipesCount,Z);var re=Z&&Z.end===!1||te===g.stdout||te===g.stderr?pe:ie;function ie(){i("onend"),te.end()}Q.endEmitted?g.nextTick(re):X.once("end",re),te.on("unpipe",function xe(Pe,_e){i("onunpipe"),Pe===X&&_e&&_e.hasUnpiped===!1&&(_e.hasUnpiped=!0,i("cleanup"),te.removeListener("close",de),te.removeListener("finish",me),te.removeListener("drain",oe),te.removeListener("error",ye),te.removeListener("unpipe",xe),X.removeListener("end",ie),X.removeListener("end",pe),X.removeListener("data",ce),ue=!0,!Q.awaitDrain||te._writableState&&!te._writableState.needDrain||oe())});var oe=function(xe){return function(){var Pe=xe._readableState;i("pipeOnDrain",Pe.awaitDrain),Pe.awaitDrain&&Pe.awaitDrain--,Pe.awaitDrain===0&&M(xe,"data")&&(Pe.flowing=!0,U(xe))}}(X);te.on("drain",oe);var ue=!1;function ce(xe){i("ondata");var Pe=te.write(xe);i("dest.write",Pe),Pe===!1&&((Q.pipesCount===1&&Q.pipes===te||Q.pipesCount>1&&ne(Q.pipes,te)!==-1)&&!ue&&(i("false write response, pause",Q.awaitDrain),Q.awaitDrain++),X.pause())}function ye(xe){i("onerror",xe),pe(),te.removeListener("error",ye),M(te,"error")===0&&E(te,xe)}function de(){te.removeListener("finish",me),pe()}function me(){i("onfinish"),te.removeListener("close",de),pe()}function pe(){i("unpipe"),X.unpipe(te)}return X.on("data",ce),function(xe,Pe,_e){if(typeof xe.prependListener=="function")return xe.prependListener(Pe,_e);xe._events&&xe._events.error?Array.isArray(xe._events.error)?xe._events.error.unshift(_e):xe._events.error=[_e,xe._events.error]:xe.on(Pe,_e)}(te,"error",ye),te.once("close",de),te.once("finish",me),te.emit("pipe",X),Q.flowing||(i("pipe resume"),X.resume()),te},L.prototype.unpipe=function(te){var Z=this._readableState,X={hasUnpiped:!1};if(Z.pipesCount===0)return this;if(Z.pipesCount===1)return te&&te!==Z.pipes||(te||(te=Z.pipes),Z.pipes=null,Z.pipesCount=0,Z.flowing=!1,te&&te.emit("unpipe",this,X)),this;if(!te){var Q=Z.pipes,re=Z.pipesCount;Z.pipes=null,Z.pipesCount=0,Z.flowing=!1;for(var ie=0;ie0,Q.flowing!==!1&&this.resume()):te==="readable"&&(Q.endEmitted||Q.readableListening||(Q.readableListening=Q.needReadable=!0,Q.flowing=!1,Q.emittedReadable=!1,i("on readable",Q.length,Q.reading),Q.length?z(this):Q.reading||g.nextTick(j,this))),X},L.prototype.addListener=L.prototype.on,L.prototype.removeListener=function(te,Z){var X=v.prototype.removeListener.call(this,te,Z);return te==="readable"&&g.nextTick(W,this),X},L.prototype.removeAllListeners=function(te){var Z=v.prototype.removeAllListeners.apply(this,arguments);return te!=="readable"&&te!==void 0||g.nextTick(W,this),Z},L.prototype.resume=function(){var te=this._readableState;return te.flowing||(i("resume"),te.flowing=!te.readableListening,function(Z,X){X.resumeScheduled||(X.resumeScheduled=!0,g.nextTick($,Z,X))}(this,te)),te.paused=!1,this},L.prototype.pause=function(){return i("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(i("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},L.prototype.wrap=function(te){var Z=this,X=this._readableState,Q=!1;for(var re in te.on("end",function(){if(i("wrapped end"),X.decoder&&!X.ended){var oe=X.decoder.end();oe&&oe.length&&Z.push(oe)}Z.push(null)}),te.on("data",function(oe){i("wrapped data"),X.decoder&&(oe=X.decoder.write(oe)),X.objectMode&&oe==null||(X.objectMode||oe&&oe.length)&&(Z.push(oe)||(Q=!0,te.pause()))}),te)this[re]===void 0&&typeof te[re]=="function"&&(this[re]=function(oe){return function(){return te[oe].apply(te,arguments)}}(re));for(var ie=0;ie-1))throw new k(B);return this._writableState.defaultEncoding=B,this},Object.defineProperty(L.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(L.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),L.prototype._write=function(B,N,W){W(new h("_write()"))},L.prototype._writev=null,L.prototype.end=function(B,N,W){var j=this._writableState;return typeof B=="function"?(W=B,B=null,N=null):typeof N=="function"&&(W=N,N=null),B!=null&&this.write(B,N),j.corked&&(j.corked=1,this.uncork()),j.ending||function($,U,G){U.ending=!0,F($,U),G&&(U.finished?g.nextTick(G):$.once("finish",G)),U.ended=!0,$.writable=!1}(this,j,W),this},Object.defineProperty(L.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(L.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function(B){this._writableState&&(this._writableState.destroyed=B)}}),L.prototype.destroy=u.destroy,L.prototype._undestroy=u.undestroy,L.prototype._destroy=function(B,N){N(B)}},68221:function(T,p,t){var d,g=t(90386);function i(S,_,k){return _ in S?Object.defineProperty(S,_,{value:k,enumerable:!0,configurable:!0,writable:!0}):S[_]=k,S}var M=t(12726),v=Symbol("lastResolve"),f=Symbol("lastReject"),l=Symbol("error"),a=Symbol("ended"),u=Symbol("lastPromise"),o=Symbol("handlePromise"),s=Symbol("stream");function c(S,_){return{value:S,done:_}}function h(S){var _=S[v];if(_!==null){var k=S[s].read();k!==null&&(S[u]=null,S[v]=null,S[f]=null,_(c(k,!1)))}}function m(S){g.nextTick(h,S)}var w=Object.getPrototypeOf(function(){}),y=Object.setPrototypeOf((i(d={get stream(){return this[s]},next:function(){var S=this,_=this[l];if(_!==null)return Promise.reject(_);if(this[a])return Promise.resolve(c(void 0,!0));if(this[s].destroyed)return new Promise(function(A,L){g.nextTick(function(){S[l]?L(S[l]):A(c(void 0,!0))})});var k,E=this[u];if(E)k=new Promise(function(A,L){return function(b,R){A.then(function(){L[a]?b(c(void 0,!0)):L[o](b,R)},R)}}(E,this));else{var x=this[s].read();if(x!==null)return Promise.resolve(c(x,!1));k=new Promise(this[o])}return this[u]=k,k}},Symbol.asyncIterator,function(){return this}),i(d,"return",function(){var S=this;return new Promise(function(_,k){S[s].destroy(null,function(E){E?k(E):_(c(void 0,!0))})})}),d),w);T.exports=function(S){var _,k=Object.create(y,(i(_={},s,{value:S,writable:!0}),i(_,v,{value:null,writable:!0}),i(_,f,{value:null,writable:!0}),i(_,l,{value:null,writable:!0}),i(_,a,{value:S._readableState.endEmitted,writable:!0}),i(_,o,{value:function(E,x){var A=k[s].read();A?(k[u]=null,k[v]=null,k[f]=null,E(c(A,!1))):(k[v]=E,k[f]=x)},writable:!0}),_));return k[u]=null,M(S,function(E){if(E&&E.code!=="ERR_STREAM_PREMATURE_CLOSE"){var x=k[f];return x!==null&&(k[u]=null,k[v]=null,k[f]=null,x(E)),void(k[l]=E)}var A=k[v];A!==null&&(k[u]=null,k[v]=null,k[f]=null,A(c(void 0,!0))),k[a]=!0}),S.on("readable",m.bind(null,k)),k}},31125:function(T,p,t){function d(l,a){var u=Object.keys(l);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(l);a&&(o=o.filter(function(s){return Object.getOwnPropertyDescriptor(l,s).enumerable})),u.push.apply(u,o)}return u}function g(l,a,u){return a in l?Object.defineProperty(l,a,{value:u,enumerable:!0,configurable:!0,writable:!0}):l[a]=u,l}function i(l,a){for(var u=0;u0?this.tail.next=s:this.head=s,this.tail=s,++this.length}},{key:"unshift",value:function(o){var s={data:o,next:this.head};this.length===0&&(this.tail=s),this.head=s,++this.length}},{key:"shift",value:function(){if(this.length!==0){var o=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,o}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(o){if(this.length===0)return"";for(var s=this.head,c=""+s.data;s=s.next;)c+=o+s.data;return c}},{key:"concat",value:function(o){if(this.length===0)return M.alloc(0);for(var s,c,h,m=M.allocUnsafe(o>>>0),w=this.head,y=0;w;)s=w.data,c=m,h=y,M.prototype.copy.call(s,c,h),y+=w.data.length,w=w.next;return m}},{key:"consume",value:function(o,s){var c;return om.length?m.length:o;if(w===m.length?h+=m:h+=m.slice(0,o),(o-=w)==0){w===m.length?(++c,s.next?this.head=s.next:this.head=this.tail=null):(this.head=s,s.data=m.slice(w));break}++c}return this.length-=c,h}},{key:"_getBuffer",value:function(o){var s=M.allocUnsafe(o),c=this.head,h=1;for(c.data.copy(s),o-=c.data.length;c=c.next;){var m=c.data,w=o>m.length?m.length:o;if(m.copy(s,s.length-o,0,w),(o-=w)==0){w===m.length?(++h,c.next?this.head=c.next:this.head=this.tail=null):(this.head=c,c.data=m.slice(w));break}++h}return this.length-=h,s}},{key:f,value:function(o,s){return v(this,function(c){for(var h=1;h0,function(k){h||(h=k),k&&w.forEach(l),_||(w.forEach(l),m(h))})});return s.reduce(a)}},56306:function(T,p,t){var d=t(74322).q.ERR_INVALID_OPT_VALUE;T.exports={getHighWaterMark:function(g,i,M,v){var f=function(l,a,u){return l.highWaterMark!=null?l.highWaterMark:a?l[u]:null}(i,v,M);if(f!=null){if(!isFinite(f)||Math.floor(f)!==f||f<0)throw new d(v?M:"highWaterMark",f);return Math.floor(f)}return g.objectMode?16:16384}}},71405:function(T,p,t){T.exports=t(15398).EventEmitter},68019:function(T,p,t){var d=t(71665).Buffer,g=d.isEncoding||function(c){switch((c=""+c)&&c.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i(c){var h;switch(this.encoding=function(m){var w=function(y){if(!y)return"utf8";for(var S;;)switch(y){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return y;default:if(S)return;y=(""+y).toLowerCase(),S=!0}}(m);if(typeof w!="string"&&(d.isEncoding===g||!g(m)))throw new Error("Unknown encoding: "+m);return w||m}(c),this.encoding){case"utf16le":this.text=f,this.end=l,h=4;break;case"utf8":this.fillLast=v,h=4;break;case"base64":this.text=a,this.end=u,h=3;break;default:return this.write=o,void(this.end=s)}this.lastNeed=0,this.lastTotal=0,this.lastChar=d.allocUnsafe(h)}function M(c){return c<=127?0:c>>5==6?2:c>>4==14?3:c>>3==30?4:c>>6==2?-1:-2}function v(c){var h=this.lastTotal-this.lastNeed,m=function(w,y,S){if((192&y[0])!=128)return w.lastNeed=0,"�";if(w.lastNeed>1&&y.length>1){if((192&y[1])!=128)return w.lastNeed=1,"�";if(w.lastNeed>2&&y.length>2&&(192&y[2])!=128)return w.lastNeed=2,"�"}}(this,c);return m!==void 0?m:this.lastNeed<=c.length?(c.copy(this.lastChar,h,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(c.copy(this.lastChar,h,0,c.length),void(this.lastNeed-=c.length))}function f(c,h){if((c.length-h)%2==0){var m=c.toString("utf16le",h);if(m){var w=m.charCodeAt(m.length-1);if(w>=55296&&w<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=c[c.length-2],this.lastChar[1]=c[c.length-1],m.slice(0,-1)}return m}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=c[c.length-1],c.toString("utf16le",h,c.length-1)}function l(c){var h=c&&c.length?this.write(c):"";if(this.lastNeed){var m=this.lastTotal-this.lastNeed;return h+this.lastChar.toString("utf16le",0,m)}return h}function a(c,h){var m=(c.length-h)%3;return m===0?c.toString("base64",h):(this.lastNeed=3-m,this.lastTotal=3,m===1?this.lastChar[0]=c[c.length-1]:(this.lastChar[0]=c[c.length-2],this.lastChar[1]=c[c.length-1]),c.toString("base64",h,c.length-m))}function u(c){var h=c&&c.length?this.write(c):"";return this.lastNeed?h+this.lastChar.toString("base64",0,3-this.lastNeed):h}function o(c){return c.toString(this.encoding)}function s(c){return c&&c.length?this.write(c):""}p.s=i,i.prototype.write=function(c){if(c.length===0)return"";var h,m;if(this.lastNeed){if((h=this.fillLast(c))===void 0)return"";m=this.lastNeed,this.lastNeed=0}else m=0;return m=0?(E>0&&(y.lastNeed=E-1),E):--k<_||E===-2?0:(E=M(S[k]))>=0?(E>0&&(y.lastNeed=E-2),E):--k<_||E===-2?0:(E=M(S[k]))>=0?(E>0&&(E===2?E=0:y.lastNeed=E-3),E):0}(this,c,h);if(!this.lastNeed)return c.toString("utf8",h);this.lastTotal=m;var w=c.length-(m-this.lastNeed);return c.copy(this.lastChar,0,w),c.toString("utf8",h,w)},i.prototype.fillLast=function(c){if(this.lastNeed<=c.length)return c.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);c.copy(this.lastChar,this.lastTotal-this.lastNeed,0,c.length),this.lastNeed-=c.length}},90715:function(T,p,t){var d=t(32791),g=t(41633)("stream-parser");function i(c){g("initializing parser stream"),c._parserBytesLeft=0,c._parserBuffers=[],c._parserBuffered=0,c._parserState=-1,c._parserCallback=null,typeof c.push=="function"&&(c._parserOutput=c.push.bind(c)),c._parserInit=!0}function M(c,h){d(!this._parserCallback,'there is already a "callback" set!'),d(isFinite(c)&&c>0,'can only buffer a finite number of bytes > 0, got "'+c+'"'),this._parserInit||i(this),g("buffering %o bytes",c),this._parserBytesLeft=c,this._parserCallback=h,this._parserState=0}function v(c,h){d(!this._parserCallback,'there is already a "callback" set!'),d(c>0,'can only skip > 0 bytes, got "'+c+'"'),this._parserInit||i(this),g("skipping %o bytes",c),this._parserBytesLeft=c,this._parserCallback=h,this._parserState=1}function f(c,h){d(!this._parserCallback,'There is already a "callback" set!'),d(c>0,'can only pass through > 0 bytes, got "'+c+'"'),this._parserInit||i(this),g("passing through %o bytes",c),this._parserBytesLeft=c,this._parserCallback=h,this._parserState=2}function l(c,h,m){this._parserInit||i(this),g("write(%o bytes)",c.length),typeof h=="function"&&(m=h),o(this,c,null,m)}function a(c,h,m){this._parserInit||i(this),g("transform(%o bytes)",c.length),typeof h!="function"&&(h=this._parserOutput),o(this,c,h,m)}function u(c,h,m,w){if(c._parserBytesLeft-=h.length,g("%o bytes left for stream piece",c._parserBytesLeft),c._parserState===0?(c._parserBuffers.push(h),c._parserBuffered+=h.length):c._parserState===2&&m(h),c._parserBytesLeft!==0)return w;var y=c._parserCallback;if(y&&c._parserState===0&&c._parserBuffers.length>1&&(h=Buffer.concat(c._parserBuffers,c._parserBuffered)),c._parserState!==0&&(h=null),c._parserCallback=null,c._parserBuffered=0,c._parserState=-1,c._parserBuffers.splice(0),y){var S=[];h&&S.push(h),m&&S.push(m);var _=y.length>S.length;_&&S.push(s(w));var k=y.apply(c,S);if(!_||w===k)return w}}T.exports=function(c){var h=c&&typeof c._transform=="function",m=c&&typeof c._write=="function";if(!h&&!m)throw new Error("must pass a Writable or Transform stream in");g("extending Parser into stream"),c._bytes=M,c._skipBytes=v,h&&(c._passthrough=f),h?c._transform=a:c._write=l};var o=s(function c(h,m,w,y){return h._parserBytesLeft<=0?y(new Error("got data but not currently parsing anything")):m.length<=h._parserBytesLeft?function(){return u(h,m,w,y)}:function(){var S=m.slice(0,h._parserBytesLeft);return u(h,S,w,function(_){return _?y(_):m.length>S.length?function(){return c(h,m.slice(S.length),w,y)}:void 0})}});function s(c){return function(){for(var h=c.apply(this,arguments);typeof h=="function";)h=h();return h}}},41633:function(T,p,t){var d=t(90386);function g(){var i;try{i=p.storage.debug}catch{}return!i&&d!==void 0&&"env"in d&&(i=d.env.DEBUG),i}(p=T.exports=t(74469)).log=function(){return typeof console=="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},p.formatArgs=function(i){var M=this.useColors;if(i[0]=(M?"%c":"")+this.namespace+(M?" %c":" ")+i[0]+(M?"%c ":" ")+"+"+p.humanize(this.diff),M){var v="color: "+this.color;i.splice(1,0,v,"color: inherit");var f=0,l=0;i[0].replace(/%[a-zA-Z%]/g,function(a){a!=="%%"&&(f++,a==="%c"&&(l=f))}),i.splice(l,0,v)}},p.save=function(i){try{i==null?p.storage.removeItem("debug"):p.storage.debug=i}catch{}},p.load=g,p.useColors=function(){return!(typeof window>"u"||!window.process||window.process.type!=="renderer")||typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},p.storage=typeof chrome<"u"&&chrome.storage!==void 0?chrome.storage.local:function(){try{return window.localStorage}catch{}}(),p.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],p.formatters.j=function(i){try{return JSON.stringify(i)}catch(M){return"[UnexpectedJSONParseError]: "+M.message}},p.enable(g())},74469:function(T,p,t){var d;function g(i){function M(){if(M.enabled){var v=M,f=+new Date,l=f-(d||f);v.diff=l,v.prev=d,v.curr=f,d=f;for(var a=new Array(arguments.length),u=0;u0)return function(a){if(!((a=String(a)).length>100)){var u=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(a);if(u){var o=parseFloat(u[1]);switch((u[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*o;case"days":case"day":case"d":return o*g;case"hours":case"hour":case"hrs":case"hr":case"h":return o*d;case"minutes":case"minute":case"mins":case"min":case"m":return o*t;case"seconds":case"second":case"secs":case"sec":case"s":return o*p;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return o;default:return}}}}(M);if(l==="number"&&isNaN(M)===!1)return v.long?i(f=M,g,"day")||i(f,d,"hour")||i(f,t,"minute")||i(f,p,"second")||f+" ms":function(a){return a>=g?Math.round(a/g)+"d":a>=d?Math.round(a/d)+"h":a>=t?Math.round(a/t)+"m":a>=p?Math.round(a/p)+"s":a+"ms"}(M);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(M))}},99011:function(T,p,t){var d=t(88641);T.exports=function(g,i,M){if(g==null)throw Error("First argument should be a string");if(i==null)throw Error("Separator should be a string or a RegExp");M?(typeof M=="string"||Array.isArray(M))&&(M={ignore:M}):M={},M.escape==null&&(M.escape=!0),M.ignore==null?M.ignore=["[]","()","{}","<>",'""',"''","``","“”","«»"]:(typeof M.ignore=="string"&&(M.ignore=[M.ignore]),M.ignore=M.ignore.map(function(s){return s.length===1&&(s+=s),s}));var v=d.parse(g,{flat:!0,brackets:M.ignore}),f=v[0].split(i);if(M.escape){for(var l=[],a=0;a0;){w=S[S.length-1];var _=p[w];if(M[w]<_.length){for(var k=M[w];k<_.length;++k){var E=_[k];if(d[E]<0){d[E]=g[E]=u,i[E]=!0,u+=1,y.push(E),S.push(E);break}i[E]&&(g[w]=0|Math.min(g[w],g[E])),v[E]>=0&&f[w].push(v[E])}M[w]=k}else{if(g[w]===d[w]){var x=[],A=[],L=0;for(k=y.length-1;k>=0;--k){var b=y[k];if(i[b]=!1,x.push(b),A.push(f[b]),L+=f[b].length,v[b]=o.length,b===w){y.length=k;break}}o.push(x);var R=new Array(L);for(k=0;k1&&(u=1),u<-1&&(u=-1),(v*a-f*l<0?-1:1)*Math.acos(u)};p.default=function(v){var f=v.px,l=v.py,a=v.cx,u=v.cy,o=v.rx,s=v.ry,c=v.xAxisRotation,h=c===void 0?0:c,m=v.largeArcFlag,w=m===void 0?0:m,y=v.sweepFlag,S=y===void 0?0:y,_=[];if(o===0||s===0)return[];var k=Math.sin(h*d/360),E=Math.cos(h*d/360),x=E*(f-a)/2+k*(l-u)/2,A=-k*(f-a)/2+E*(l-u)/2;if(x===0&&A===0)return[];o=Math.abs(o),s=Math.abs(s);var L=Math.pow(x,2)/Math.pow(o,2)+Math.pow(A,2)/Math.pow(s,2);L>1&&(o*=Math.sqrt(L),s*=Math.sqrt(L));var b=function(j,$,U,G,q,H,ne,te,Z,X,Q,re){var ie=Math.pow(q,2),oe=Math.pow(H,2),ue=Math.pow(Q,2),ce=Math.pow(re,2),ye=ie*oe-ie*ce-oe*ue;ye<0&&(ye=0),ye/=ie*ce+oe*ue;var de=(ye=Math.sqrt(ye)*(ne===te?-1:1))*q/H*re,me=ye*-H/q*Q,pe=X*de-Z*me+(j+U)/2,xe=Z*de+X*me+($+G)/2,Pe=(Q-de)/q,_e=(re-me)/H,Me=(-Q-de)/q,Se=(-re-me)/H,Ce=M(1,0,Pe,_e),ae=M(Pe,_e,Me,Se);return te===0&&ae>0&&(ae-=d),te===1&&ae<0&&(ae+=d),[pe,xe,Ce,ae]}(f,l,a,u,o,s,w,S,k,E,x,A),R=function(j,$){if(Array.isArray(j))return j;if(Symbol.iterator in Object(j))return function(U,G){var q=[],H=!0,ne=!1,te=void 0;try{for(var Z,X=U[Symbol.iterator]();!(H=(Z=X.next()).done)&&(q.push(Z.value),!G||q.length!==G);H=!0);}catch(Q){ne=!0,te=Q}finally{try{!H&&X.return&&X.return()}finally{if(ne)throw te}}return q}(j,$);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(b,4),I=R[0],O=R[1],z=R[2],F=R[3],B=Math.abs(F)/(d/4);Math.abs(1-B)<1e-7&&(B=1);var N=Math.max(Math.ceil(B),1);F/=N;for(var W=0;Wl[2]&&(l[2]=o[s+0]),o[s+1]>l[3]&&(l[3]=o[s+1]);return l}},29988:function(T,p,t){T.exports=function(M){for(var v,f=[],l=0,a=0,u=0,o=0,s=null,c=null,h=0,m=0,w=0,y=M.length;w4?(l=S[S.length-4],a=S[S.length-3]):(l=h,a=m),f.push(S)}return f};var d=t(7095);function g(M,v,f,l){return["C",M,v,f,l,f,l]}function i(M,v,f,l,a,u){return["C",M/3+.6666666666666666*f,v/3+.6666666666666666*l,a/3+.6666666666666666*f,u/3+.6666666666666666*l,a,u]}},82019:function(T,p,t){var d,g=t(1750),i=t(95616),M=t(31457),v=t(89546),f=t(44781),l=document.createElement("canvas"),a=l.getContext("2d");T.exports=function(u,o){if(!v(u))throw Error("Argument should be valid svg path string");var s,c;o||(o={}),o.shape?(s=o.shape[0],c=o.shape[1]):(s=l.width=o.w||o.width||200,c=l.height=o.h||o.height||200);var h=Math.min(s,c),m=o.stroke||0,w=o.viewbox||o.viewBox||g(u),y=[s/(w[2]-w[0]),c/(w[3]-w[1])],S=Math.min(y[0]||0,y[1]||0)/2;if(a.fillStyle="black",a.fillRect(0,0,s,c),a.fillStyle="white",m&&(typeof m!="number"&&(m=1),a.strokeStyle=m>0?"white":"black",a.lineWidth=Math.abs(m)),a.translate(.5*s,.5*c),a.scale(S,S),function(){if(d!=null)return d;var E=document.createElement("canvas").getContext("2d");if(E.canvas.width=E.canvas.height=1,!window.Path2D)return d=!1;var x=new Path2D("M0,0h1v1h-1v-1Z");E.fillStyle="black",E.fill(x);var A=E.getImageData(0,0,1,1);return d=A&&A.data&&A.data[3]===255}()){var _=new Path2D(u);a.fill(_),m&&a.stroke(_)}else{var k=i(u);M(a,k),a.fill(),m&&a.stroke()}return a.setTransform(1,0,0,1,0,0),f(a,{cutoff:o.cutoff!=null?o.cutoff:.5,radius:o.radius!=null?o.radius:.5*h})}},84267:function(T,p,t){var d;(function(g){var i=/^\s+/,M=/\s+$/,v=0,f=g.round,l=g.min,a=g.max,u=g.random;function o(Q,re){if(re=re||{},(Q=Q||"")instanceof o)return Q;if(!(this instanceof o))return new o(Q,re);var ie=function(oe){var ue,ce,ye,de={r:0,g:0,b:0},me=1,pe=null,xe=null,Pe=null,_e=!1,Me=!1;return typeof oe=="string"&&(oe=function(Se){Se=Se.replace(i,"").replace(M,"").toLowerCase();var Ce,ae=!1;if(z[Se])Se=z[Se],ae=!0;else if(Se=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};return(Ce=Z.rgb.exec(Se))?{r:Ce[1],g:Ce[2],b:Ce[3]}:(Ce=Z.rgba.exec(Se))?{r:Ce[1],g:Ce[2],b:Ce[3],a:Ce[4]}:(Ce=Z.hsl.exec(Se))?{h:Ce[1],s:Ce[2],l:Ce[3]}:(Ce=Z.hsla.exec(Se))?{h:Ce[1],s:Ce[2],l:Ce[3],a:Ce[4]}:(Ce=Z.hsv.exec(Se))?{h:Ce[1],s:Ce[2],v:Ce[3]}:(Ce=Z.hsva.exec(Se))?{h:Ce[1],s:Ce[2],v:Ce[3],a:Ce[4]}:(Ce=Z.hex8.exec(Se))?{r:j(Ce[1]),g:j(Ce[2]),b:j(Ce[3]),a:q(Ce[4]),format:ae?"name":"hex8"}:(Ce=Z.hex6.exec(Se))?{r:j(Ce[1]),g:j(Ce[2]),b:j(Ce[3]),format:ae?"name":"hex"}:(Ce=Z.hex4.exec(Se))?{r:j(Ce[1]+""+Ce[1]),g:j(Ce[2]+""+Ce[2]),b:j(Ce[3]+""+Ce[3]),a:q(Ce[4]+""+Ce[4]),format:ae?"name":"hex8"}:!!(Ce=Z.hex3.exec(Se))&&{r:j(Ce[1]+""+Ce[1]),g:j(Ce[2]+""+Ce[2]),b:j(Ce[3]+""+Ce[3]),format:ae?"name":"hex"}}(oe)),typeof oe=="object"&&(X(oe.r)&&X(oe.g)&&X(oe.b)?(ue=oe.r,ce=oe.g,ye=oe.b,de={r:255*N(ue,255),g:255*N(ce,255),b:255*N(ye,255)},_e=!0,Me=String(oe.r).substr(-1)==="%"?"prgb":"rgb"):X(oe.h)&&X(oe.s)&&X(oe.v)?(pe=U(oe.s),xe=U(oe.v),de=function(Se,Ce,ae){Se=6*N(Se,360),Ce=N(Ce,100),ae=N(ae,100);var fe=g.floor(Se),be=Se-fe,ke=ae*(1-Ce),Le=ae*(1-be*Ce),Be=ae*(1-(1-be)*Ce),ze=fe%6;return{r:255*[ae,Le,ke,ke,Be,ae][ze],g:255*[Be,ae,ae,Le,ke,ke][ze],b:255*[ke,ke,Be,ae,ae,Le][ze]}}(oe.h,pe,xe),_e=!0,Me="hsv"):X(oe.h)&&X(oe.s)&&X(oe.l)&&(pe=U(oe.s),Pe=U(oe.l),de=function(Se,Ce,ae){var fe,be,ke;function Le(je,ge,we){return we<0&&(we+=1),we>1&&(we-=1),we<1/6?je+6*(ge-je)*we:we<.5?ge:we<2/3?je+(ge-je)*(2/3-we)*6:je}if(Se=N(Se,360),Ce=N(Ce,100),ae=N(ae,100),Ce===0)fe=be=ke=ae;else{var Be=ae<.5?ae*(1+Ce):ae+Ce-ae*Ce,ze=2*ae-Be;fe=Le(ze,Be,Se+1/3),be=Le(ze,Be,Se),ke=Le(ze,Be,Se-1/3)}return{r:255*fe,g:255*be,b:255*ke}}(oe.h,pe,Pe),_e=!0,Me="hsl"),oe.hasOwnProperty("a")&&(me=oe.a)),me=B(me),{ok:_e,format:oe.format||Me,r:l(255,a(de.r,0)),g:l(255,a(de.g,0)),b:l(255,a(de.b,0)),a:me}}(Q);this._originalInput=Q,this._r=ie.r,this._g=ie.g,this._b=ie.b,this._a=ie.a,this._roundA=f(100*this._a)/100,this._format=re.format||ie.format,this._gradientType=re.gradientType,this._r<1&&(this._r=f(this._r)),this._g<1&&(this._g=f(this._g)),this._b<1&&(this._b=f(this._b)),this._ok=ie.ok,this._tc_id=v++}function s(Q,re,ie){Q=N(Q,255),re=N(re,255),ie=N(ie,255);var oe,ue,ce=a(Q,re,ie),ye=l(Q,re,ie),de=(ce+ye)/2;if(ce==ye)oe=ue=0;else{var me=ce-ye;switch(ue=de>.5?me/(2-ce-ye):me/(ce+ye),ce){case Q:oe=(re-ie)/me+(re>1)+720)%360;--re;)oe.h=(oe.h+ue)%360,ce.push(o(oe));return ce}function O(Q,re){re=re||6;for(var ie=o(Q).toHsv(),oe=ie.h,ue=ie.s,ce=ie.v,ye=[],de=1/re;re--;)ye.push(o({h:oe,s:ue,v:ce})),ce=(ce+de)%1;return ye}o.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var Q=this.toRgb();return(299*Q.r+587*Q.g+114*Q.b)/1e3},getLuminance:function(){var Q,re,ie,oe=this.toRgb();return Q=oe.r/255,re=oe.g/255,ie=oe.b/255,.2126*(Q<=.03928?Q/12.92:g.pow((Q+.055)/1.055,2.4))+.7152*(re<=.03928?re/12.92:g.pow((re+.055)/1.055,2.4))+.0722*(ie<=.03928?ie/12.92:g.pow((ie+.055)/1.055,2.4))},setAlpha:function(Q){return this._a=B(Q),this._roundA=f(100*this._a)/100,this},toHsv:function(){var Q=c(this._r,this._g,this._b);return{h:360*Q.h,s:Q.s,v:Q.v,a:this._a}},toHsvString:function(){var Q=c(this._r,this._g,this._b),re=f(360*Q.h),ie=f(100*Q.s),oe=f(100*Q.v);return this._a==1?"hsv("+re+", "+ie+"%, "+oe+"%)":"hsva("+re+", "+ie+"%, "+oe+"%, "+this._roundA+")"},toHsl:function(){var Q=s(this._r,this._g,this._b);return{h:360*Q.h,s:Q.s,l:Q.l,a:this._a}},toHslString:function(){var Q=s(this._r,this._g,this._b),re=f(360*Q.h),ie=f(100*Q.s),oe=f(100*Q.l);return this._a==1?"hsl("+re+", "+ie+"%, "+oe+"%)":"hsla("+re+", "+ie+"%, "+oe+"%, "+this._roundA+")"},toHex:function(Q){return h(this._r,this._g,this._b,Q)},toHexString:function(Q){return"#"+this.toHex(Q)},toHex8:function(Q){return function(re,ie,oe,ue,ce){var ye=[$(f(re).toString(16)),$(f(ie).toString(16)),$(f(oe).toString(16)),$(G(ue))];return ce&&ye[0].charAt(0)==ye[0].charAt(1)&&ye[1].charAt(0)==ye[1].charAt(1)&&ye[2].charAt(0)==ye[2].charAt(1)&&ye[3].charAt(0)==ye[3].charAt(1)?ye[0].charAt(0)+ye[1].charAt(0)+ye[2].charAt(0)+ye[3].charAt(0):ye.join("")}(this._r,this._g,this._b,this._a,Q)},toHex8String:function(Q){return"#"+this.toHex8(Q)},toRgb:function(){return{r:f(this._r),g:f(this._g),b:f(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+f(this._r)+", "+f(this._g)+", "+f(this._b)+")":"rgba("+f(this._r)+", "+f(this._g)+", "+f(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:f(100*N(this._r,255))+"%",g:f(100*N(this._g,255))+"%",b:f(100*N(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+f(100*N(this._r,255))+"%, "+f(100*N(this._g,255))+"%, "+f(100*N(this._b,255))+"%)":"rgba("+f(100*N(this._r,255))+"%, "+f(100*N(this._g,255))+"%, "+f(100*N(this._b,255))+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":!(this._a<1)&&(F[h(this._r,this._g,this._b,!0)]||!1)},toFilter:function(Q){var re="#"+m(this._r,this._g,this._b,this._a),ie=re,oe=this._gradientType?"GradientType = 1, ":"";if(Q){var ue=o(Q);ie="#"+m(ue._r,ue._g,ue._b,ue._a)}return"progid:DXImageTransform.Microsoft.gradient("+oe+"startColorstr="+re+",endColorstr="+ie+")"},toString:function(Q){var re=!!Q;Q=Q||this._format;var ie=!1,oe=this._a<1&&this._a>=0;return re||!oe||Q!=="hex"&&Q!=="hex6"&&Q!=="hex3"&&Q!=="hex4"&&Q!=="hex8"&&Q!=="name"?(Q==="rgb"&&(ie=this.toRgbString()),Q==="prgb"&&(ie=this.toPercentageRgbString()),Q!=="hex"&&Q!=="hex6"||(ie=this.toHexString()),Q==="hex3"&&(ie=this.toHexString(!0)),Q==="hex4"&&(ie=this.toHex8String(!0)),Q==="hex8"&&(ie=this.toHex8String()),Q==="name"&&(ie=this.toName()),Q==="hsl"&&(ie=this.toHslString()),Q==="hsv"&&(ie=this.toHsvString()),ie||this.toHexString()):Q==="name"&&this._a===0?this.toName():this.toRgbString()},clone:function(){return o(this.toString())},_applyModification:function(Q,re){var ie=Q.apply(null,[this].concat([].slice.call(re)));return this._r=ie._r,this._g=ie._g,this._b=ie._b,this.setAlpha(ie._a),this},lighten:function(){return this._applyModification(_,arguments)},brighten:function(){return this._applyModification(k,arguments)},darken:function(){return this._applyModification(E,arguments)},desaturate:function(){return this._applyModification(w,arguments)},saturate:function(){return this._applyModification(y,arguments)},greyscale:function(){return this._applyModification(S,arguments)},spin:function(){return this._applyModification(x,arguments)},_applyCombination:function(Q,re){return Q.apply(null,[this].concat([].slice.call(re)))},analogous:function(){return this._applyCombination(I,arguments)},complement:function(){return this._applyCombination(A,arguments)},monochromatic:function(){return this._applyCombination(O,arguments)},splitcomplement:function(){return this._applyCombination(R,arguments)},triad:function(){return this._applyCombination(L,arguments)},tetrad:function(){return this._applyCombination(b,arguments)}},o.fromRatio=function(Q,re){if(typeof Q=="object"){var ie={};for(var oe in Q)Q.hasOwnProperty(oe)&&(ie[oe]=oe==="a"?Q[oe]:U(Q[oe]));Q=ie}return o(Q,re)},o.equals=function(Q,re){return!(!Q||!re)&&o(Q).toRgbString()==o(re).toRgbString()},o.random=function(){return o.fromRatio({r:u(),g:u(),b:u()})},o.mix=function(Q,re,ie){ie=ie===0?0:ie||50;var oe=o(Q).toRgb(),ue=o(re).toRgb(),ce=ie/100;return o({r:(ue.r-oe.r)*ce+oe.r,g:(ue.g-oe.g)*ce+oe.g,b:(ue.b-oe.b)*ce+oe.b,a:(ue.a-oe.a)*ce+oe.a})},o.readability=function(Q,re){var ie=o(Q),oe=o(re);return(g.max(ie.getLuminance(),oe.getLuminance())+.05)/(g.min(ie.getLuminance(),oe.getLuminance())+.05)},o.isReadable=function(Q,re,ie){var oe,ue,ce,ye,de,me=o.readability(Q,re);switch(ue=!1,(ce=ie,(ye=((ce=ce||{level:"AA",size:"small"}).level||"AA").toUpperCase())!=="AA"&&ye!=="AAA"&&(ye="AA"),(de=(ce.size||"small").toLowerCase())!=="small"&&de!=="large"&&(de="small"),oe={level:ye,size:de}).level+oe.size){case"AAsmall":case"AAAlarge":ue=me>=4.5;break;case"AAlarge":ue=me>=3;break;case"AAAsmall":ue=me>=7}return ue},o.mostReadable=function(Q,re,ie){var oe,ue,ce,ye,de=null,me=0;ue=(ie=ie||{}).includeFallbackColors,ce=ie.level,ye=ie.size;for(var pe=0;peme&&(me=oe,de=o(re[pe]));return o.isReadable(Q,de,{level:ce,size:ye})||!ue?de:(ie.includeFallbackColors=!1,o.mostReadable(Q,["#fff","#000"],ie))};var z=o.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},F=o.hexNames=function(Q){var re={};for(var ie in Q)Q.hasOwnProperty(ie)&&(re[Q[ie]]=ie);return re}(z);function B(Q){return Q=parseFloat(Q),(isNaN(Q)||Q<0||Q>1)&&(Q=1),Q}function N(Q,re){(function(oe){return typeof oe=="string"&&oe.indexOf(".")!=-1&&parseFloat(oe)===1})(Q)&&(Q="100%");var ie=function(oe){return typeof oe=="string"&&oe.indexOf("%")!=-1}(Q);return Q=l(re,a(0,parseFloat(Q))),ie&&(Q=parseInt(Q*re,10)/100),g.abs(Q-re)<1e-6?1:Q%re/parseFloat(re)}function W(Q){return l(1,a(0,Q))}function j(Q){return parseInt(Q,16)}function $(Q){return Q.length==1?"0"+Q:""+Q}function U(Q){return Q<=1&&(Q=100*Q+"%"),Q}function G(Q){return g.round(255*parseFloat(Q)).toString(16)}function q(Q){return j(Q)/255}var H,ne,te,Z=(ne="[\\s|\\(]+("+(H="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",te="[\\s|\\(]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",{CSS_UNIT:new RegExp(H),rgb:new RegExp("rgb"+ne),rgba:new RegExp("rgba"+te),hsl:new RegExp("hsl"+ne),hsla:new RegExp("hsla"+te),hsv:new RegExp("hsv"+ne),hsva:new RegExp("hsva"+te),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function X(Q){return!!Z.CSS_UNIT.exec(Q)}T.exports?T.exports=o:(d=(function(){return o}).call(p,t,p,T))===void 0||(T.exports=d)})(Math)},57060:function(T){T.exports=t,T.exports.float32=T.exports.float=t,T.exports.fract32=T.exports.fract=function(d,g){if(d.length){if(d instanceof Float32Array)return new Float32Array(d.length);g instanceof Float32Array||(g=t(d));for(var i=0,M=g.length;i":(M.length>100&&(M=M.slice(0,99)+"…"),M=M.replace(g,function(v){switch(v){case` -`:return"\\n";case"\r":return"\\r";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("Unexpected character")}}))}},47403:function(T,p,t){var d=t(24582),g={object:!0,function:!0,undefined:!0};T.exports=function(i){return!!d(i)&&hasOwnProperty.call(g,typeof i)}},82527:function(T,p,t){var d=t(69190),g=t(84985);T.exports=function(i){return g(i)?i:d(i,"%v is not a plain function",arguments[1])}},84985:function(T,p,t){var d=t(73116),g=/^\s*class[\s{/}]/,i=Function.prototype.toString;T.exports=function(M){return!!d(M)&&!g.test(i.call(M))}},24511:function(T,p,t){var d=t(47403);T.exports=function(g){if(!d(g))return!1;try{return!!g.constructor&&g.constructor.prototype===g}catch{return!1}}},9234:function(T,p,t){var d=t(24582),g=t(47403),i=Object.prototype.toString;T.exports=function(M){if(!d(M))return null;if(g(M)){var v=M.toString;if(typeof v!="function"||v===i)return null}try{return""+M}catch{return null}}},10424:function(T,p,t){var d=t(69190),g=t(24582);T.exports=function(i){return g(i)?i:d(i,"Cannot use %v",arguments[1])}},24582:function(T){T.exports=function(p){return p!=null}},58404:function(T,p,t){var d=t(13547),g=t(12129),i=t(12856).Buffer;t.g.__TYPEDARRAY_POOL||(t.g.__TYPEDARRAY_POOL={UINT8:g([32,0]),UINT16:g([32,0]),UINT32:g([32,0]),BIGUINT64:g([32,0]),INT8:g([32,0]),INT16:g([32,0]),INT32:g([32,0]),BIGINT64:g([32,0]),FLOAT:g([32,0]),DOUBLE:g([32,0]),DATA:g([32,0]),UINT8C:g([32,0]),BUFFER:g([32,0])});var M=typeof Uint8ClampedArray<"u",v=typeof BigUint64Array<"u",f=typeof BigInt64Array<"u",l=t.g.__TYPEDARRAY_POOL;l.UINT8C||(l.UINT8C=g([32,0])),l.BIGUINT64||(l.BIGUINT64=g([32,0])),l.BIGINT64||(l.BIGINT64=g([32,0])),l.BUFFER||(l.BUFFER=g([32,0]));var a=l.DATA,u=l.BUFFER;function o(R){if(R){var I=R.length||R.byteLength,O=d.log2(I);a[O].push(R)}}function s(R){R=d.nextPow2(R);var I=d.log2(R),O=a[I];return O.length>0?O.pop():new ArrayBuffer(R)}function c(R){return new Uint8Array(s(R),0,R)}function h(R){return new Uint16Array(s(2*R),0,R)}function m(R){return new Uint32Array(s(4*R),0,R)}function w(R){return new Int8Array(s(R),0,R)}function y(R){return new Int16Array(s(2*R),0,R)}function S(R){return new Int32Array(s(4*R),0,R)}function _(R){return new Float32Array(s(4*R),0,R)}function k(R){return new Float64Array(s(8*R),0,R)}function E(R){return M?new Uint8ClampedArray(s(R),0,R):c(R)}function x(R){return v?new BigUint64Array(s(8*R),0,R):null}function A(R){return f?new BigInt64Array(s(8*R),0,R):null}function L(R){return new DataView(s(R),0,R)}function b(R){R=d.nextPow2(R);var I=d.log2(R),O=u[I];return O.length>0?O.pop():new i(R)}p.free=function(R){if(i.isBuffer(R))u[d.log2(R.length)].push(R);else{if(Object.prototype.toString.call(R)!=="[object ArrayBuffer]"&&(R=R.buffer),!R)return;var I=R.length||R.byteLength,O=0|d.log2(I);a[O].push(R)}},p.freeUint8=p.freeUint16=p.freeUint32=p.freeBigUint64=p.freeInt8=p.freeInt16=p.freeInt32=p.freeBigInt64=p.freeFloat32=p.freeFloat=p.freeFloat64=p.freeDouble=p.freeUint8Clamped=p.freeDataView=function(R){o(R.buffer)},p.freeArrayBuffer=o,p.freeBuffer=function(R){u[d.log2(R.length)].push(R)},p.malloc=function(R,I){if(I===void 0||I==="arraybuffer")return s(R);switch(I){case"uint8":return c(R);case"uint16":return h(R);case"uint32":return m(R);case"int8":return w(R);case"int16":return y(R);case"int32":return S(R);case"float":case"float32":return _(R);case"double":case"float64":return k(R);case"uint8_clamped":return E(R);case"bigint64":return A(R);case"biguint64":return x(R);case"buffer":return b(R);case"data":case"dataview":return L(R);default:return null}return null},p.mallocArrayBuffer=s,p.mallocUint8=c,p.mallocUint16=h,p.mallocUint32=m,p.mallocInt8=w,p.mallocInt16=y,p.mallocInt32=S,p.mallocFloat32=p.mallocFloat=_,p.mallocFloat64=p.mallocDouble=k,p.mallocUint8Clamped=E,p.mallocBigUint64=x,p.mallocBigInt64=A,p.mallocDataView=L,p.mallocBuffer=b,p.clearCache=function(){for(var R=0;R<32;++R)l.UINT8[R].length=0,l.UINT16[R].length=0,l.UINT32[R].length=0,l.INT8[R].length=0,l.INT16[R].length=0,l.INT32[R].length=0,l.FLOAT[R].length=0,l.DOUBLE[R].length=0,l.BIGUINT64[R].length=0,l.BIGINT64[R].length=0,l.UINT8C[R].length=0,a[R].length=0,u[R].length=0}},90448:function(T){var p=/[\'\"]/;T.exports=function(t){return t?(p.test(t.charAt(0))&&(t=t.substr(1)),p.test(t.charAt(t.length-1))&&(t=t.substr(0,t.length-1)),t):""}},93447:function(T){T.exports=function(p,t,d){Array.isArray(d)||(d=[].slice.call(arguments,2));for(var g=0,i=d.length;g=U)return H;switch(H){case"%s":return String($[j++]);case"%d":return Number($[j++]);case"%j":try{return JSON.stringify($[j++])}catch{return"[Circular]"}default:return H}}),q=$[j];j=3&&(j.depth=arguments[2]),arguments.length>=4&&(j.colors=arguments[3]),m(W)?j.showHidden=W:W&&p._extend(j,W),_(j.showHidden)&&(j.showHidden=!1),_(j.depth)&&(j.depth=2),_(j.colors)&&(j.colors=!1),_(j.customInspect)&&(j.customInspect=!0),j.colors&&(j.stylize=a),o(j,N,j.depth)}function a(N,W){var j=l.styles[W];return j?"\x1B["+l.colors[j][0]+"m"+N+"\x1B["+l.colors[j][1]+"m":N}function u(N,W){return N}function o(N,W,j){if(N.customInspect&&W&&L(W.inspect)&&W.inspect!==p.inspect&&(!W.constructor||W.constructor.prototype!==W)){var $=W.inspect(j,N);return S($)||($=o(N,$,j)),$}var U=function(Q,re){if(_(re))return Q.stylize("undefined","undefined");if(S(re)){var ie="'"+JSON.stringify(re).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Q.stylize(ie,"string")}return y(re)?Q.stylize(""+re,"number"):m(re)?Q.stylize(""+re,"boolean"):w(re)?Q.stylize("null","null"):void 0}(N,W);if(U)return U;var G=Object.keys(W),q=function(Q){var re={};return Q.forEach(function(ie,oe){re[ie]=!0}),re}(G);if(N.showHidden&&(G=Object.getOwnPropertyNames(W)),A(W)&&(G.indexOf("message")>=0||G.indexOf("description")>=0))return s(W);if(G.length===0){if(L(W)){var H=W.name?": "+W.name:"";return N.stylize("[Function"+H+"]","special")}if(k(W))return N.stylize(RegExp.prototype.toString.call(W),"regexp");if(x(W))return N.stylize(Date.prototype.toString.call(W),"date");if(A(W))return s(W)}var ne,te="",Z=!1,X=["{","}"];return h(W)&&(Z=!0,X=["[","]"]),L(W)&&(te=" [Function"+(W.name?": "+W.name:"")+"]"),k(W)&&(te=" "+RegExp.prototype.toString.call(W)),x(W)&&(te=" "+Date.prototype.toUTCString.call(W)),A(W)&&(te=" "+s(W)),G.length!==0||Z&&W.length!=0?j<0?k(W)?N.stylize(RegExp.prototype.toString.call(W),"regexp"):N.stylize("[Object]","special"):(N.seen.push(W),ne=Z?function(Q,re,ie,oe,ue){for(var ce=[],ye=0,de=re.length;ye>>4&15)+"0123456789abcdef".charAt(15&Rt);return Nt}(function(wt){for(var Rt=Array(wt.length>>2),Nt=0;Nt>5]|=(255&wt.charCodeAt(Nt/8))<<24-Nt%32;var Yt,Wt,Xt,Qt,rn,xn,un,An,Yn,kn,sn,Tn=8*wt.length;for(wt=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],Nt=Array(64),Rt[Tn>>5]|=128<<24-Tn%32,Rt[15+(Tn+64>>9<<4)]=Tn,An=0;AnYn;Yn++){var dn;16>Yn?Nt[Yn]=Rt[Yn+An]:(kn=Yn,sn=W(sn=N(sn=Nt[Yn-2],17)^N(sn,19)^sn>>>10,Nt[Yn-7]),dn=N(dn=Nt[Yn-15],7)^N(dn,18)^dn>>>3,Nt[kn]=W(W(sn,dn),Nt[Yn-16])),kn=W(W(W(W(un,kn=N(kn=Qt,6)^N(kn,11)^N(kn,25)),Qt&rn^~Qt&xn),xt[Yn]),Nt[Yn]),sn=W(un=N(un=Tn,2)^N(un,13)^N(un,22),Tn&Yt^Tn&Wt^Yt&Wt),un=xn,xn=rn,rn=Qt,Qt=W(Xt,kn),Xt=Wt,Wt=Yt,Yt=Tn,Tn=W(kn,sn)}wt[0]=W(Tn,wt[0]),wt[1]=W(Yt,wt[1]),wt[2]=W(Wt,wt[2]),wt[3]=W(Xt,wt[3]),wt[4]=W(Qt,wt[4]),wt[5]=W(rn,wt[5]),wt[6]=W(xn,wt[6]),wt[7]=W(un,wt[7])}for(Rt="",Nt=0;Nt<32*wt.length;Nt+=8)Rt+=String.fromCharCode(wt[Nt>>5]>>>24-Nt%32&255);return Rt}(function(wt){for(var Rt,Nt,Yt="",Wt=-1;++Wt=Rt&&56320<=Nt&&57343>=Nt&&(Rt=65536+((1023&Rt)<<10)+(1023&Nt),Wt++),127>=Rt?Yt+=String.fromCharCode(Rt):2047>=Rt?Yt+=String.fromCharCode(192|Rt>>>6&31,128|63&Rt):65535>=Rt?Yt+=String.fromCharCode(224|Rt>>>12&15,128|Rt>>>6&63,128|63&Rt):2097151>=Rt&&(Yt+=String.fromCharCode(240|Rt>>>18&7,128|Rt>>>12&63,128|Rt>>>6&63,128|63&Rt));return Yt}(Pt))),Re[yt])?Re[yt].apply(null,ut):(Pt=Function.apply(null,Qe.concat(Pt)),Re&&(Re[yt]=Pt),Pt.apply(null,ut))}}}function G(qe){return Array.isArray(qe)||me(qe)||a(qe)}function q(qe){return qe.sort(function(nt,ft){return nt==="viewport"?-1:ft==="viewport"?1:nt"+br+"?"+Sn+".constant["+br+"]:0;"}).join(""),"}}else{","if(",nr,"(",Sn,".buffer)){",cr,"=",Vn,".createStream(",34962,",",Sn,".buffer);","}else{",cr,"=",Vn,".getBuffer(",Sn,".buffer);","}",pr,'="type" in ',Sn,"?",Xn.glTypes,"[",Sn,".type]:",cr,".dtype;",Qn.normalized,"=!!",Sn,".normalized;"),yn("size"),yn("offset"),yn("stride"),yn("divisor"),gn("}}"),gn.exit("if(",Qn.isStream,"){",Vn,".destroyStream(",cr,");","}"),Qn})}),On}function Yn(jt,Jt,hn,zn,On){function En(hr){var cr=wn[hr];cr&&(yn[hr]=cr)}var mn=function(hr,cr){if(typeof(pr=hr.static).frag=="string"&&typeof pr.vert=="string"){if(0"u"?"Date.now()":"performance.now()"}function mn(hr){hr(yn=Jt.def(),"=",En(),";"),typeof On=="string"?hr(Xn,".count+=",On,";"):hr(Xn,".count++;"),wt&&(zn?hr(Sn=Jt.def(),"=",Qn,".getNumPendingQueries();"):hr(Qn,".beginQuery(",Xn,");"))}function wn(hr){hr(Xn,".cpuTime+=",En(),"-",yn,";"),wt&&(zn?hr(Qn,".pushScopeStats(",Sn,",",Qn,".getNumPendingQueries(),",Xn,");"):hr(Qn,".endQuery();"))}function gn(hr){var cr=Jt.def(nr,".profile");Jt(nr,".profile=",hr,";"),Jt.exit(nr,".profile=",cr,";")}var yn,Sn,Vn=jt.shared,Xn=jt.stats,nr=Vn.current,Qn=Vn.timer;if(hn=hn.profile){if(ne(hn))return void(hn.enable?(mn(Jt),wn(Jt.exit),gn("true")):gn("false"));gn(hn=hn.append(jt,Jt))}else hn=Jt.def(nr,".profile");mn(Vn=jt.block()),Jt("if(",hn,"){",Vn,"}"),wn(jt=jt.block()),Jt.exit("if(",hn,"){",jt,"}")}function In(jt,Jt,hn,zn,On){function En(wn,gn,yn){function Sn(){Jt("if(!",Qn,".buffer){",Xn,".enableVertexAttribArray(",nr,");}");var dr,br=yn.type;dr=yn.size?Jt.def(yn.size,"||",gn):gn,Jt("if(",Qn,".type!==",br,"||",Qn,".size!==",dr,"||",pr.map(function(Rr){return Qn+"."+Rr+"!=="+yn[Rr]}).join("||"),"){",Xn,".bindBuffer(",34962,",",hr,".buffer);",Xn,".vertexAttribPointer(",[nr,dr,br,yn.normalized,yn.stride,yn.offset],");",Qn,".type=",br,";",Qn,".size=",dr,";",pr.map(function(Rr){return Qn+"."+Rr+"="+yn[Rr]+";"}).join(""),"}"),Kt&&(br=yn.divisor,Jt("if(",Qn,".divisor!==",br,"){",jt.instancing,".vertexAttribDivisorANGLE(",[nr,br],");",Qn,".divisor=",br,";}"))}function Vn(){Jt("if(",Qn,".buffer){",Xn,".disableVertexAttribArray(",nr,");",Qn,".buffer=null;","}if(",Ft.map(function(dr,br){return Qn+"."+dr+"!=="+cr[br]}).join("||"),"){",Xn,".vertexAttrib4f(",nr,",",cr,");",Ft.map(function(dr,br){return Qn+"."+dr+"="+cr[br]+";"}).join(""),"}")}var Xn=mn.gl,nr=Jt.def(wn,".location"),Qn=Jt.def(mn.attributes,"[",nr,"]");wn=yn.state;var hr=yn.buffer,cr=[yn.x,yn.y,yn.z,yn.w],pr=["buffer","normalized","offset","stride"];wn===1?Sn():wn===2?Vn():(Jt("if(",wn,"===",1,"){"),Sn(),Jt("}else{"),Vn(),Jt("}"))}var mn=jt.shared;zn.forEach(function(wn){var gn,yn=wn.name,Sn=hn.attributes[yn];if(Sn){if(!On(Sn))return;gn=Sn.append(jt,Jt)}else{if(!On(Je))return;var Vn=jt.scopeAttrib(yn);gn={},Object.keys(new vr).forEach(function(Xn){gn[Xn]=Jt.def(Vn,".",Xn)})}En(jt.link(wn),function(Xn){switch(Xn){case 35664:case 35667:case 35671:return 2;case 35665:case 35668:case 35672:return 3;case 35666:case 35669:case 35673:return 4;default:return 1}}(wn.info.type),gn)})}function jn(jt,Jt,hn,zn,On,En){for(var mn,wn=jt.shared,gn=wn.gl,yn=0;yn>1)",wn],");")}function Rr(){hn(gn,".drawArraysInstancedANGLE(",[Qn,hr,cr,wn],");")}nr&&nr!=="null"?dr?br():(hn("if(",nr,"){"),br(),hn("}else{"),Rr(),hn("}")):Rr()}function mn(){function br(){hn(Sn+".drawElements("+[Qn,cr,pr,hr+"<<(("+pr+"-5121)>>1)"]+");")}function Rr(){hn(Sn+".drawArrays("+[Qn,hr,cr]+");")}nr&&nr!=="null"?dr?br():(hn("if(",nr,"){"),br(),hn("}else{"),Rr(),hn("}")):Rr()}var wn,gn,yn=jt.shared,Sn=yn.gl,Vn=yn.draw,Xn=zn.draw,nr=function(){var br=Xn.elements,Rr=Jt;return br?((br.contextDep&&zn.contextDynamic||br.propDep)&&(Rr=hn),br=br.append(jt,Rr),Xn.elementsActive&&Rr("if("+br+")"+Sn+".bindBuffer(34963,"+br+".buffer.buffer);")):(br=Rr.def(),Rr(br,"=",Vn,".","elements",";","if(",br,"){",Sn,".bindBuffer(",34963,",",br,".buffer.buffer);}","else if(",yn.vao,".currentVAO){",br,"=",jt.shared.elements+".getElements("+yn.vao,".currentVAO.elements);",Rn?"":"if("+br+")"+Sn+".bindBuffer(34963,"+br+".buffer.buffer);","}")),br}(),Qn=On("primitive"),hr=On("offset"),cr=function(){var br=Xn.count,Rr=Jt;return br?((br.contextDep&&zn.contextDynamic||br.propDep)&&(Rr=hn),br=br.append(jt,Rr)):br=Rr.def(Vn,".","count"),br}();if(typeof cr=="number"){if(cr===0)return}else hn("if(",cr,"){"),hn.exit("}");Kt&&(wn=On("instances"),gn=jt.instancing);var pr=nr+".type",dr=Xn.elements&&ne(Xn.elements)&&!Xn.vaoActive;Kt&&(typeof wn!="number"||0<=wn)?typeof wn=="string"?(hn("if(",wn,">0){"),En(),hn("}else if(",wn,"<0){"),mn(),hn("}")):En():mn()}function qn(jt,Jt,hn,zn,On){return On=(Jt=Qt()).proc("body",On),Kt&&(Jt.instancing=On.def(Jt.shared.extensions,".angle_instanced_arrays")),jt(Jt,On,hn,zn),Jt.compile().body}function lr(jt,Jt,hn,zn){pn(jt,Jt),hn.useVAO?hn.drawVAO?Jt(jt.shared.vao,".setVAO(",hn.drawVAO.append(jt,Jt),");"):Jt(jt.shared.vao,".setVAO(",jt.shared.vao,".targetVAO);"):(Jt(jt.shared.vao,".setVAO(null);"),In(jt,Jt,hn,zn.attributes,function(){return!0})),jn(jt,Jt,hn,zn.uniforms,function(){return!0},!1),Gn(jt,Jt,Jt,hn)}function rr(jt,Jt,hn,zn){function On(){return!0}jt.batchId="a1",pn(jt,Jt),In(jt,Jt,hn,zn.attributes,On),jn(jt,Jt,hn,zn.uniforms,On,!1),Gn(jt,Jt,Jt,hn)}function Sr(jt,Jt,hn,zn){function On(Vn){return Vn.contextDep&&mn||Vn.propDep}function En(Vn){return!On(Vn)}pn(jt,Jt);var mn=hn.contextDep,wn=Jt.def(),gn=Jt.def();jt.shared.props=gn,jt.batchId=wn;var yn=jt.scope(),Sn=jt.scope();Jt(yn.entry,"for(",wn,"=0;",wn,"<","a1",";++",wn,"){",gn,"=","a0","[",wn,"];",Sn,"}",yn.exit),hn.needsContext&&kn(jt,Sn,hn.context),hn.needsFramebuffer&&sn(jt,Sn,hn.framebuffer),dn(jt,Sn,hn.state,On),hn.profile&&On(hn.profile)&&Dn(jt,Sn,hn,!1,!0),zn?(hn.useVAO?hn.drawVAO?On(hn.drawVAO)?Sn(jt.shared.vao,".setVAO(",hn.drawVAO.append(jt,Sn),");"):yn(jt.shared.vao,".setVAO(",hn.drawVAO.append(jt,yn),");"):yn(jt.shared.vao,".setVAO(",jt.shared.vao,".targetVAO);"):(yn(jt.shared.vao,".setVAO(null);"),In(jt,yn,hn,zn.attributes,En),In(jt,Sn,hn,zn.attributes,On)),jn(jt,yn,hn,zn.uniforms,En,!1),jn(jt,Sn,hn,zn.uniforms,On,!0),Gn(jt,yn,Sn,hn)):(Jt=jt.global.def("{}"),zn=hn.shader.progVar.append(jt,Sn),gn=Sn.def(zn,".id"),yn=Sn.def(Jt,"[",gn,"]"),Sn(jt.shared.gl,".useProgram(",zn,".program);","if(!",yn,"){",yn,"=",Jt,"[",gn,"]=",jt.link(function(Vn){return qn(rr,jt,hn,Vn,2)}),"(",zn,");}",yn,".call(this,a0[",wn,"],",wn,");"))}function yr(jt,Jt){function hn(wn){var gn=Jt.shader[wn];gn&&(gn=gn.append(jt,zn),isNaN(gn)?zn.set(On.shader,"."+wn,gn):zn.set(On.shader,"."+wn,jt.link(gn,{stable:!0})))}var zn=jt.proc("scope",3);jt.batchId="a2";var On=jt.shared,En=On.current;if(kn(jt,zn,Jt.context),Jt.framebuffer&&Jt.framebuffer.append(jt,zn),q(Object.keys(Jt.state)).forEach(function(wn){var gn=Jt.state[wn],yn=gn.append(jt,zn);C(yn)?yn.forEach(function(Sn,Vn){isNaN(Sn)?zn.set(jt.next[wn],"["+Vn+"]",Sn):zn.set(jt.next[wn],"["+Vn+"]",jt.link(Sn,{stable:!0}))}):ne(gn)?zn.set(On.next,"."+wn,jt.link(yn,{stable:!0})):zn.set(On.next,"."+wn,yn)}),Dn(jt,zn,Jt,!0,!0),["elements","offset","count","instances","primitive"].forEach(function(wn){var gn=Jt.draw[wn];gn&&(gn=gn.append(jt,zn),isNaN(gn)?zn.set(On.draw,"."+wn,gn):zn.set(On.draw,"."+wn,jt.link(gn),{stable:!0}))}),Object.keys(Jt.uniforms).forEach(function(wn){var gn=Jt.uniforms[wn].append(jt,zn);Array.isArray(gn)&&(gn="["+gn.map(function(yn){return isNaN(yn)?yn:jt.link(yn,{stable:!0})})+"]"),zn.set(On.uniforms,"["+jt.link(nt.id(wn),{stable:!0})+"]",gn)}),Object.keys(Jt.attributes).forEach(function(wn){var gn=Jt.attributes[wn].append(jt,zn),yn=jt.scopeAttrib(wn);Object.keys(new vr).forEach(function(Sn){zn.set(yn,"."+Sn,gn[Sn])})}),Jt.scopeVAO){var mn=Jt.scopeVAO.append(jt,zn);isNaN(mn)?zn.set(On.vao,".targetVAO",mn):zn.set(On.vao,".targetVAO",jt.link(mn,{stable:!0}))}hn("vert"),hn("frag"),0=--this.refCount&&ut(this)},Ne.profile&&(Re.getTotalRenderbufferSize=function(){var yt=0;return Object.keys(Lt).forEach(function(Pt){yt+=Lt[Pt].stats.size}),yt}),{create:function(yt,Pt){function wt(Nt,Yt){var Wt=0,Xt=0,Qt=32854;if(typeof Nt=="object"&&Nt?("shape"in Nt?(Wt=0|(Xt=Nt.shape)[0],Xt=0|Xt[1]):("radius"in Nt&&(Wt=Xt=0|Nt.radius),"width"in Nt&&(Wt=0|Nt.width),"height"in Nt&&(Xt=0|Nt.height)),"format"in Nt&&(Qt=dt[Nt.format])):typeof Nt=="number"?(Wt=0|Nt,Xt=typeof Yt=="number"?0|Yt:Wt):Nt||(Wt=Xt=1),Wt!==Rt.width||Xt!==Rt.height||Qt!==Rt.format)return wt.width=Rt.width=Wt,wt.height=Rt.height=Xt,Rt.format=Qt,qe.bindRenderbuffer(36161,Rt.renderbuffer),qe.renderbufferStorage(36161,Qt,Wt,Xt),Ne.profile&&(Rt.stats.size=ht[Rt.format]*Rt.width*Rt.height),wt.format=_t[Rt.format],wt}var Rt=new Qe(qe.createRenderbuffer());return Lt[Rt.id]=Rt,Re.renderbufferCount++,wt(yt,Pt),wt.resize=function(Nt,Yt){var Wt=0|Nt,Xt=0|Yt||Wt;return Wt===Rt.width&&Xt===Rt.height||(wt.width=Rt.width=Wt,wt.height=Rt.height=Xt,qe.bindRenderbuffer(36161,Rt.renderbuffer),qe.renderbufferStorage(36161,Rt.format,Wt,Xt),Ne.profile&&(Rt.stats.size=ht[Rt.format]*Rt.width*Rt.height)),wt},wt._reglType="renderbuffer",wt._renderbuffer=Rt,Ne.profile&&(wt.stats=Rt.stats),wt.destroy=function(){Rt.decRef()},wt},clear:function(){pe(Lt).forEach(ut)},restore:function(){pe(Lt).forEach(function(yt){yt.renderbuffer=qe.createRenderbuffer(),qe.bindRenderbuffer(36161,yt.renderbuffer),qe.renderbufferStorage(36161,yt.format,yt.width,yt.height)}),qe.bindRenderbuffer(36161,null)}}},Et=[];Et[6408]=4,Et[6407]=3;var kt=[];kt[5121]=1,kt[5126]=4,kt[36193]=2;var xt=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],Ft=["x","y","z","w"],Ot="blend.func blend.equation stencil.func stencil.opFront stencil.opBack sample.coverage viewport scissor.box polygonOffset.offset".split(" "),Bt={0:0,1:1,zero:0,one:1,"src color":768,"one minus src color":769,"src alpha":770,"one minus src alpha":771,"dst color":774,"one minus dst color":775,"dst alpha":772,"one minus dst alpha":773,"constant color":32769,"one minus constant color":32770,"constant alpha":32771,"one minus constant alpha":32772,"src alpha saturate":776},qt={never:512,less:513,"<":513,equal:514,"=":514,"==":514,"===":514,lequal:515,"<=":515,greater:516,">":516,notequal:517,"!=":517,"!==":517,gequal:518,">=":518,always:519},Vt={0:0,zero:0,keep:7680,replace:7681,increment:7682,decrement:7683,"increment wrap":34055,"decrement wrap":34056,invert:5386},Ke={cw:2304,ccw:2305},Je=new H(!1,!1,!1,function(){});return function(qe){function nt(){if(rr.length===0)rn&&rn.update(),vr=null;else{vr=ue.next(nt),Lt();for(var Kt=rr.length-1;0<=Kt;--Kt){var bn=rr[Kt];bn&&bn(Yn,null,0)}wt.flush(),rn&&rn.update()}}function ft(){!vr&&0=rr.length&&Re()}}}}function It(){var Kt=qn.viewport,bn=qn.scissor_box;Kt[0]=Kt[1]=bn[0]=bn[1]=0,Yn.viewportWidth=Yn.framebufferWidth=Yn.drawingBufferWidth=Kt[2]=bn[2]=wt.drawingBufferWidth,Yn.viewportHeight=Yn.framebufferHeight=Yn.drawingBufferHeight=Kt[3]=bn[3]=wt.drawingBufferHeight}function Lt(){Yn.tick+=1,Yn.time=Pt(),It(),Gn.procs.poll()}function yt(){Dn.refresh(),It(),Gn.procs.refresh(),rn&&rn.update()}function Pt(){return(ce()-xn)/1e3}if(!(qe=M(qe)))return null;var wt=qe.gl,Rt=wt.getContextAttributes();wt.isContextLost();var Nt=function(Kt,bn){function Rn($n){var tr;$n=$n.toLowerCase();try{tr=Ln[$n]=Kt.getExtension($n)}catch{}return!!tr}for(var Ln={},Un=0;Unbn;++bn)_r(re({framebuffer:Kt.framebuffer.faces[bn]},Kt),dt);else _r(Kt,dt);else dt(0,Kt)},prop:oe.define.bind(null,1),context:oe.define.bind(null,2),this:oe.define.bind(null,3),draw:ut({}),buffer:function(Kt){return sn.create(Kt,34962,!1,!1)},elements:function(Kt){return Tn.create(Kt,!1)},texture:Dn.create2D,cube:Dn.createCube,renderbuffer:In.create,framebuffer:jn.create,framebufferCube:jn.createCube,vao:dn.createVAO,attributes:Rt,frame:_t,on:function(Kt,bn){var Rn;switch(Kt){case"frame":return _t(bn);case"lost":Rn=Sr;break;case"restore":Rn=yr;break;case"destroy":Rn=or}return Rn.push(bn),{cancel:function(){for(var Ln=0;Ln2?"one of ".concat(i," ").concat(g.slice(0,M-1).join(", "),", or ")+g[M-1]:M===2?"one of ".concat(i," ").concat(g[0]," or ").concat(g[1]):"of ".concat(i," ").concat(g[0])}return"of ".concat(i," ").concat(String(g))}t("ERR_INVALID_OPT_VALUE",function(g,i){return'The value "'+i+'" is invalid for option "'+g+'"'},TypeError),t("ERR_INVALID_ARG_TYPE",function(g,i,M){var v,f,l,a,u;if(typeof i=="string"&&(f="not ",i.substr(0,f.length)===f)?(v="must not be",i=i.replace(/^not /,"")):v="must be",function(s,h,c){return(c===void 0||c>s.length)&&(c=s.length),s.substring(c-h.length,c)===h}(g," argument"))l="The ".concat(g," ").concat(v," ").concat(d(i,"type"));else{var o=(typeof u!="number"&&(u=0),u+1>(a=g).length||a.indexOf(".",u)===-1?"argument":"property");l='The "'.concat(g,'" ').concat(o," ").concat(v," ").concat(d(i,"type"))}return l+". Received type ".concat(typeof M)},TypeError),t("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),t("ERR_METHOD_NOT_IMPLEMENTED",function(g){return"The "+g+" method is not implemented"}),t("ERR_STREAM_PREMATURE_CLOSE","Premature close"),t("ERR_STREAM_DESTROYED",function(g){return"Cannot call "+g+" after a stream was destroyed"}),t("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),t("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),t("ERR_STREAM_WRITE_AFTER_END","write after end"),t("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),t("ERR_UNKNOWN_ENCODING",function(g){return"Unknown encoding: "+g},TypeError),t("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),T.exports.q=p},37865:function(T,p,t){var d=t(90386),g=Object.keys||function(s){var h=[];for(var c in s)h.push(c);return h};T.exports=a;var i=t(40410),M=t(37493);t(42018)(a,i);for(var v=g(M.prototype),f=0;f0)if(typeof Z=="string"||oe.objectMode||Object.getPrototypeOf(Z)===f.prototype||(Z=function(ue){return f.from(ue)}(Z)),Q)oe.endEmitted?E(te,new k):R(te,oe,Z,!0);else if(oe.ended)E(te,new C);else{if(oe.destroyed)return!1;oe.reading=!1,oe.decoder&&!X?(Z=oe.decoder.write(Z),oe.objectMode||Z.length!==0?R(te,oe,Z,!1):B(te,oe)):R(te,oe,Z,!1)}else Q||(oe.reading=!1,B(te,oe));return!oe.ended&&(oe.lengthZ.highWaterMark&&(Z.highWaterMark=function(X){return X>=I?X=I:(X--,X|=X>>>1,X|=X>>>2,X|=X>>>4,X|=X>>>8,X|=X>>>16,X++),X}(te)),te<=Z.length?te:Z.ended?Z.length:(Z.needReadable=!0,0))}function z(te){var Z=te._readableState;i("emitReadable",Z.needReadable,Z.emittedReadable),Z.needReadable=!1,Z.emittedReadable||(i("emitReadable",Z.flowing),Z.emittedReadable=!0,g.nextTick(F,te))}function F(te){var Z=te._readableState;i("emitReadable_",Z.destroyed,Z.length,Z.ended),Z.destroyed||!Z.length&&!Z.ended||(te.emit("readable"),Z.emittedReadable=!1),Z.needReadable=!Z.flowing&&!Z.ended&&Z.length<=Z.highWaterMark,U(te)}function B(te,Z){Z.readingMore||(Z.readingMore=!0,g.nextTick(N,te,Z))}function N(te,Z){for(;!Z.reading&&!Z.ended&&(Z.length0,Z.resumeScheduled&&!Z.paused?Z.flowing=!0:te.listenerCount("data")>0&&te.resume()}function j(te){i("readable nexttick read 0"),te.read(0)}function $(te,Z){i("resume",Z.reading),Z.reading||te.read(0),Z.resumeScheduled=!1,te.emit("resume"),U(te),Z.flowing&&!Z.reading&&te.read(0)}function U(te){var Z=te._readableState;for(i("flow",Z.flowing);Z.flowing&&te.read()!==null;);}function G(te,Z){return Z.length===0?null:(Z.objectMode?X=Z.buffer.shift():!te||te>=Z.length?(X=Z.decoder?Z.buffer.join(""):Z.buffer.length===1?Z.buffer.first():Z.buffer.concat(Z.length),Z.buffer.clear()):X=Z.buffer.consume(te,Z.decoder),X);var X}function q(te){var Z=te._readableState;i("endReadable",Z.endEmitted),Z.endEmitted||(Z.ended=!0,g.nextTick(H,Z,te))}function H(te,Z){if(i("endReadableNT",te.endEmitted,te.length),!te.endEmitted&&te.length===0&&(te.endEmitted=!0,Z.readable=!1,Z.emit("end"),te.autoDestroy)){var X=Z._writableState;(!X||X.autoDestroy&&X.finished)&&Z.destroy()}}function ne(te,Z){for(var X=0,Q=te.length;X=Z.highWaterMark:Z.length>0)||Z.ended))return i("read: emitReadable",Z.length,Z.ended),Z.length===0&&Z.ended?q(this):z(this),null;if((te=O(te,Z))===0&&Z.ended)return Z.length===0&&q(this),null;var Q,re=Z.needReadable;return i("need readable",re),(Z.length===0||Z.length-te0?G(te,Z):null)===null?(Z.needReadable=Z.length<=Z.highWaterMark,te=0):(Z.length-=te,Z.awaitDrain=0),Z.length===0&&(Z.ended||(Z.needReadable=!0),X!==te&&Z.ended&&q(this)),Q!==null&&this.emit("data",Q),Q},L.prototype._read=function(te){E(this,new _("_read()"))},L.prototype.pipe=function(te,Z){var X=this,Q=this._readableState;switch(Q.pipesCount){case 0:Q.pipes=te;break;case 1:Q.pipes=[Q.pipes,te];break;default:Q.pipes.push(te)}Q.pipesCount+=1,i("pipe count=%d opts=%j",Q.pipesCount,Z);var re=Z&&Z.end===!1||te===g.stdout||te===g.stderr?pe:ie;function ie(){i("onend"),te.end()}Q.endEmitted?g.nextTick(re):X.once("end",re),te.on("unpipe",function xe(Pe,_e){i("onunpipe"),Pe===X&&_e&&_e.hasUnpiped===!1&&(_e.hasUnpiped=!0,i("cleanup"),te.removeListener("close",de),te.removeListener("finish",me),te.removeListener("drain",oe),te.removeListener("error",ye),te.removeListener("unpipe",xe),X.removeListener("end",ie),X.removeListener("end",pe),X.removeListener("data",ce),ue=!0,!Q.awaitDrain||te._writableState&&!te._writableState.needDrain||oe())});var oe=function(xe){return function(){var Pe=xe._readableState;i("pipeOnDrain",Pe.awaitDrain),Pe.awaitDrain&&Pe.awaitDrain--,Pe.awaitDrain===0&&M(xe,"data")&&(Pe.flowing=!0,U(xe))}}(X);te.on("drain",oe);var ue=!1;function ce(xe){i("ondata");var Pe=te.write(xe);i("dest.write",Pe),Pe===!1&&((Q.pipesCount===1&&Q.pipes===te||Q.pipesCount>1&&ne(Q.pipes,te)!==-1)&&!ue&&(i("false write response, pause",Q.awaitDrain),Q.awaitDrain++),X.pause())}function ye(xe){i("onerror",xe),pe(),te.removeListener("error",ye),M(te,"error")===0&&E(te,xe)}function de(){te.removeListener("finish",me),pe()}function me(){i("onfinish"),te.removeListener("close",de),pe()}function pe(){i("unpipe"),X.unpipe(te)}return X.on("data",ce),function(xe,Pe,_e){if(typeof xe.prependListener=="function")return xe.prependListener(Pe,_e);xe._events&&xe._events.error?Array.isArray(xe._events.error)?xe._events.error.unshift(_e):xe._events.error=[_e,xe._events.error]:xe.on(Pe,_e)}(te,"error",ye),te.once("close",de),te.once("finish",me),te.emit("pipe",X),Q.flowing||(i("pipe resume"),X.resume()),te},L.prototype.unpipe=function(te){var Z=this._readableState,X={hasUnpiped:!1};if(Z.pipesCount===0)return this;if(Z.pipesCount===1)return te&&te!==Z.pipes||(te||(te=Z.pipes),Z.pipes=null,Z.pipesCount=0,Z.flowing=!1,te&&te.emit("unpipe",this,X)),this;if(!te){var Q=Z.pipes,re=Z.pipesCount;Z.pipes=null,Z.pipesCount=0,Z.flowing=!1;for(var ie=0;ie0,Q.flowing!==!1&&this.resume()):te==="readable"&&(Q.endEmitted||Q.readableListening||(Q.readableListening=Q.needReadable=!0,Q.flowing=!1,Q.emittedReadable=!1,i("on readable",Q.length,Q.reading),Q.length?z(this):Q.reading||g.nextTick(j,this))),X},L.prototype.addListener=L.prototype.on,L.prototype.removeListener=function(te,Z){var X=v.prototype.removeListener.call(this,te,Z);return te==="readable"&&g.nextTick(W,this),X},L.prototype.removeAllListeners=function(te){var Z=v.prototype.removeAllListeners.apply(this,arguments);return te!=="readable"&&te!==void 0||g.nextTick(W,this),Z},L.prototype.resume=function(){var te=this._readableState;return te.flowing||(i("resume"),te.flowing=!te.readableListening,function(Z,X){X.resumeScheduled||(X.resumeScheduled=!0,g.nextTick($,Z,X))}(this,te)),te.paused=!1,this},L.prototype.pause=function(){return i("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(i("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},L.prototype.wrap=function(te){var Z=this,X=this._readableState,Q=!1;for(var re in te.on("end",function(){if(i("wrapped end"),X.decoder&&!X.ended){var oe=X.decoder.end();oe&&oe.length&&Z.push(oe)}Z.push(null)}),te.on("data",function(oe){i("wrapped data"),X.decoder&&(oe=X.decoder.write(oe)),X.objectMode&&oe==null||(X.objectMode||oe&&oe.length)&&(Z.push(oe)||(Q=!0,te.pause()))}),te)this[re]===void 0&&typeof te[re]=="function"&&(this[re]=function(oe){return function(){return te[oe].apply(te,arguments)}}(re));for(var ie=0;ie-1))throw new k(B);return this._writableState.defaultEncoding=B,this},Object.defineProperty(L.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(L.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),L.prototype._write=function(B,N,W){W(new c("_write()"))},L.prototype._writev=null,L.prototype.end=function(B,N,W){var j=this._writableState;return typeof B=="function"?(W=B,B=null,N=null):typeof N=="function"&&(W=N,N=null),B!=null&&this.write(B,N),j.corked&&(j.corked=1,this.uncork()),j.ending||function($,U,G){U.ending=!0,F($,U),G&&(U.finished?g.nextTick(G):$.once("finish",G)),U.ended=!0,$.writable=!1}(this,j,W),this},Object.defineProperty(L.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(L.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function(B){this._writableState&&(this._writableState.destroyed=B)}}),L.prototype.destroy=u.destroy,L.prototype._undestroy=u.undestroy,L.prototype._destroy=function(B,N){N(B)}},68221:function(T,p,t){var d,g=t(90386);function i(C,_,k){return _ in C?Object.defineProperty(C,_,{value:k,enumerable:!0,configurable:!0,writable:!0}):C[_]=k,C}var M=t(12726),v=Symbol("lastResolve"),f=Symbol("lastReject"),l=Symbol("error"),a=Symbol("ended"),u=Symbol("lastPromise"),o=Symbol("handlePromise"),s=Symbol("stream");function h(C,_){return{value:C,done:_}}function c(C){var _=C[v];if(_!==null){var k=C[s].read();k!==null&&(C[u]=null,C[v]=null,C[f]=null,_(h(k,!1)))}}function m(C){g.nextTick(c,C)}var w=Object.getPrototypeOf(function(){}),y=Object.setPrototypeOf((i(d={get stream(){return this[s]},next:function(){var C=this,_=this[l];if(_!==null)return Promise.reject(_);if(this[a])return Promise.resolve(h(void 0,!0));if(this[s].destroyed)return new Promise(function(A,L){g.nextTick(function(){C[l]?L(C[l]):A(h(void 0,!0))})});var k,E=this[u];if(E)k=new Promise(function(A,L){return function(b,R){A.then(function(){L[a]?b(h(void 0,!0)):L[o](b,R)},R)}}(E,this));else{var x=this[s].read();if(x!==null)return Promise.resolve(h(x,!1));k=new Promise(this[o])}return this[u]=k,k}},Symbol.asyncIterator,function(){return this}),i(d,"return",function(){var C=this;return new Promise(function(_,k){C[s].destroy(null,function(E){E?k(E):_(h(void 0,!0))})})}),d),w);T.exports=function(C){var _,k=Object.create(y,(i(_={},s,{value:C,writable:!0}),i(_,v,{value:null,writable:!0}),i(_,f,{value:null,writable:!0}),i(_,l,{value:null,writable:!0}),i(_,a,{value:C._readableState.endEmitted,writable:!0}),i(_,o,{value:function(E,x){var A=k[s].read();A?(k[u]=null,k[v]=null,k[f]=null,E(h(A,!1))):(k[v]=E,k[f]=x)},writable:!0}),_));return k[u]=null,M(C,function(E){if(E&&E.code!=="ERR_STREAM_PREMATURE_CLOSE"){var x=k[f];return x!==null&&(k[u]=null,k[v]=null,k[f]=null,x(E)),void(k[l]=E)}var A=k[v];A!==null&&(k[u]=null,k[v]=null,k[f]=null,A(h(void 0,!0))),k[a]=!0}),C.on("readable",m.bind(null,k)),k}},31125:function(T,p,t){function d(l,a){var u=Object.keys(l);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(l);a&&(o=o.filter(function(s){return Object.getOwnPropertyDescriptor(l,s).enumerable})),u.push.apply(u,o)}return u}function g(l,a,u){return a in l?Object.defineProperty(l,a,{value:u,enumerable:!0,configurable:!0,writable:!0}):l[a]=u,l}function i(l,a){for(var u=0;u0?this.tail.next=s:this.head=s,this.tail=s,++this.length}},{key:"unshift",value:function(o){var s={data:o,next:this.head};this.length===0&&(this.tail=s),this.head=s,++this.length}},{key:"shift",value:function(){if(this.length!==0){var o=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,o}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(o){if(this.length===0)return"";for(var s=this.head,h=""+s.data;s=s.next;)h+=o+s.data;return h}},{key:"concat",value:function(o){if(this.length===0)return M.alloc(0);for(var s,h,c,m=M.allocUnsafe(o>>>0),w=this.head,y=0;w;)s=w.data,h=m,c=y,M.prototype.copy.call(s,h,c),y+=w.data.length,w=w.next;return m}},{key:"consume",value:function(o,s){var h;return om.length?m.length:o;if(w===m.length?c+=m:c+=m.slice(0,o),(o-=w)==0){w===m.length?(++h,s.next?this.head=s.next:this.head=this.tail=null):(this.head=s,s.data=m.slice(w));break}++h}return this.length-=h,c}},{key:"_getBuffer",value:function(o){var s=M.allocUnsafe(o),h=this.head,c=1;for(h.data.copy(s),o-=h.data.length;h=h.next;){var m=h.data,w=o>m.length?m.length:o;if(m.copy(s,s.length-o,0,w),(o-=w)==0){w===m.length?(++c,h.next?this.head=h.next:this.head=this.tail=null):(this.head=h,h.data=m.slice(w));break}++c}return this.length-=c,s}},{key:f,value:function(o,s){return v(this,function(h){for(var c=1;c0,function(k){c||(c=k),k&&w.forEach(l),_||(w.forEach(l),m(c))})});return s.reduce(a)}},56306:function(T,p,t){var d=t(74322).q.ERR_INVALID_OPT_VALUE;T.exports={getHighWaterMark:function(g,i,M,v){var f=function(l,a,u){return l.highWaterMark!=null?l.highWaterMark:a?l[u]:null}(i,v,M);if(f!=null){if(!isFinite(f)||Math.floor(f)!==f||f<0)throw new d(v?M:"highWaterMark",f);return Math.floor(f)}return g.objectMode?16:16384}}},71405:function(T,p,t){T.exports=t(15398).EventEmitter},68019:function(T,p,t){var d=t(71665).Buffer,g=d.isEncoding||function(h){switch((h=""+h)&&h.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i(h){var c;switch(this.encoding=function(m){var w=function(y){if(!y)return"utf8";for(var C;;)switch(y){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return y;default:if(C)return;y=(""+y).toLowerCase(),C=!0}}(m);if(typeof w!="string"&&(d.isEncoding===g||!g(m)))throw new Error("Unknown encoding: "+m);return w||m}(h),this.encoding){case"utf16le":this.text=f,this.end=l,c=4;break;case"utf8":this.fillLast=v,c=4;break;case"base64":this.text=a,this.end=u,c=3;break;default:return this.write=o,void(this.end=s)}this.lastNeed=0,this.lastTotal=0,this.lastChar=d.allocUnsafe(c)}function M(h){return h<=127?0:h>>5==6?2:h>>4==14?3:h>>3==30?4:h>>6==2?-1:-2}function v(h){var c=this.lastTotal-this.lastNeed,m=function(w,y,C){if((192&y[0])!=128)return w.lastNeed=0,"�";if(w.lastNeed>1&&y.length>1){if((192&y[1])!=128)return w.lastNeed=1,"�";if(w.lastNeed>2&&y.length>2&&(192&y[2])!=128)return w.lastNeed=2,"�"}}(this,h);return m!==void 0?m:this.lastNeed<=h.length?(h.copy(this.lastChar,c,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(h.copy(this.lastChar,c,0,h.length),void(this.lastNeed-=h.length))}function f(h,c){if((h.length-c)%2==0){var m=h.toString("utf16le",c);if(m){var w=m.charCodeAt(m.length-1);if(w>=55296&&w<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=h[h.length-2],this.lastChar[1]=h[h.length-1],m.slice(0,-1)}return m}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=h[h.length-1],h.toString("utf16le",c,h.length-1)}function l(h){var c=h&&h.length?this.write(h):"";if(this.lastNeed){var m=this.lastTotal-this.lastNeed;return c+this.lastChar.toString("utf16le",0,m)}return c}function a(h,c){var m=(h.length-c)%3;return m===0?h.toString("base64",c):(this.lastNeed=3-m,this.lastTotal=3,m===1?this.lastChar[0]=h[h.length-1]:(this.lastChar[0]=h[h.length-2],this.lastChar[1]=h[h.length-1]),h.toString("base64",c,h.length-m))}function u(h){var c=h&&h.length?this.write(h):"";return this.lastNeed?c+this.lastChar.toString("base64",0,3-this.lastNeed):c}function o(h){return h.toString(this.encoding)}function s(h){return h&&h.length?this.write(h):""}p.s=i,i.prototype.write=function(h){if(h.length===0)return"";var c,m;if(this.lastNeed){if((c=this.fillLast(h))===void 0)return"";m=this.lastNeed,this.lastNeed=0}else m=0;return m=0?(E>0&&(y.lastNeed=E-1),E):--k<_||E===-2?0:(E=M(C[k]))>=0?(E>0&&(y.lastNeed=E-2),E):--k<_||E===-2?0:(E=M(C[k]))>=0?(E>0&&(E===2?E=0:y.lastNeed=E-3),E):0}(this,h,c);if(!this.lastNeed)return h.toString("utf8",c);this.lastTotal=m;var w=h.length-(m-this.lastNeed);return h.copy(this.lastChar,0,w),h.toString("utf8",c,w)},i.prototype.fillLast=function(h){if(this.lastNeed<=h.length)return h.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);h.copy(this.lastChar,this.lastTotal-this.lastNeed,0,h.length),this.lastNeed-=h.length}},90715:function(T,p,t){var d=t(32791),g=t(41633)("stream-parser");function i(h){g("initializing parser stream"),h._parserBytesLeft=0,h._parserBuffers=[],h._parserBuffered=0,h._parserState=-1,h._parserCallback=null,typeof h.push=="function"&&(h._parserOutput=h.push.bind(h)),h._parserInit=!0}function M(h,c){d(!this._parserCallback,'there is already a "callback" set!'),d(isFinite(h)&&h>0,'can only buffer a finite number of bytes > 0, got "'+h+'"'),this._parserInit||i(this),g("buffering %o bytes",h),this._parserBytesLeft=h,this._parserCallback=c,this._parserState=0}function v(h,c){d(!this._parserCallback,'there is already a "callback" set!'),d(h>0,'can only skip > 0 bytes, got "'+h+'"'),this._parserInit||i(this),g("skipping %o bytes",h),this._parserBytesLeft=h,this._parserCallback=c,this._parserState=1}function f(h,c){d(!this._parserCallback,'There is already a "callback" set!'),d(h>0,'can only pass through > 0 bytes, got "'+h+'"'),this._parserInit||i(this),g("passing through %o bytes",h),this._parserBytesLeft=h,this._parserCallback=c,this._parserState=2}function l(h,c,m){this._parserInit||i(this),g("write(%o bytes)",h.length),typeof c=="function"&&(m=c),o(this,h,null,m)}function a(h,c,m){this._parserInit||i(this),g("transform(%o bytes)",h.length),typeof c!="function"&&(c=this._parserOutput),o(this,h,c,m)}function u(h,c,m,w){if(h._parserBytesLeft-=c.length,g("%o bytes left for stream piece",h._parserBytesLeft),h._parserState===0?(h._parserBuffers.push(c),h._parserBuffered+=c.length):h._parserState===2&&m(c),h._parserBytesLeft!==0)return w;var y=h._parserCallback;if(y&&h._parserState===0&&h._parserBuffers.length>1&&(c=Buffer.concat(h._parserBuffers,h._parserBuffered)),h._parserState!==0&&(c=null),h._parserCallback=null,h._parserBuffered=0,h._parserState=-1,h._parserBuffers.splice(0),y){var C=[];c&&C.push(c),m&&C.push(m);var _=y.length>C.length;_&&C.push(s(w));var k=y.apply(h,C);if(!_||w===k)return w}}T.exports=function(h){var c=h&&typeof h._transform=="function",m=h&&typeof h._write=="function";if(!c&&!m)throw new Error("must pass a Writable or Transform stream in");g("extending Parser into stream"),h._bytes=M,h._skipBytes=v,c&&(h._passthrough=f),c?h._transform=a:h._write=l};var o=s(function h(c,m,w,y){return c._parserBytesLeft<=0?y(new Error("got data but not currently parsing anything")):m.length<=c._parserBytesLeft?function(){return u(c,m,w,y)}:function(){var C=m.slice(0,c._parserBytesLeft);return u(c,C,w,function(_){return _?y(_):m.length>C.length?function(){return h(c,m.slice(C.length),w,y)}:void 0})}});function s(h){return function(){for(var c=h.apply(this,arguments);typeof c=="function";)c=c();return c}}},41633:function(T,p,t){var d=t(90386);function g(){var i;try{i=p.storage.debug}catch{}return!i&&d!==void 0&&"env"in d&&(i=d.env.DEBUG),i}(p=T.exports=t(74469)).log=function(){return typeof console=="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},p.formatArgs=function(i){var M=this.useColors;if(i[0]=(M?"%c":"")+this.namespace+(M?" %c":" ")+i[0]+(M?"%c ":" ")+"+"+p.humanize(this.diff),M){var v="color: "+this.color;i.splice(1,0,v,"color: inherit");var f=0,l=0;i[0].replace(/%[a-zA-Z%]/g,function(a){a!=="%%"&&(f++,a==="%c"&&(l=f))}),i.splice(l,0,v)}},p.save=function(i){try{i==null?p.storage.removeItem("debug"):p.storage.debug=i}catch{}},p.load=g,p.useColors=function(){return!(typeof window>"u"||!window.process||window.process.type!=="renderer")||typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},p.storage=typeof chrome<"u"&&chrome.storage!==void 0?chrome.storage.local:function(){try{return window.localStorage}catch{}}(),p.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],p.formatters.j=function(i){try{return JSON.stringify(i)}catch(M){return"[UnexpectedJSONParseError]: "+M.message}},p.enable(g())},74469:function(T,p,t){var d;function g(i){function M(){if(M.enabled){var v=M,f=+new Date,l=f-(d||f);v.diff=l,v.prev=d,v.curr=f,d=f;for(var a=new Array(arguments.length),u=0;u0)return function(a){if(!((a=String(a)).length>100)){var u=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(a);if(u){var o=parseFloat(u[1]);switch((u[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*o;case"days":case"day":case"d":return o*g;case"hours":case"hour":case"hrs":case"hr":case"h":return o*d;case"minutes":case"minute":case"mins":case"min":case"m":return o*t;case"seconds":case"second":case"secs":case"sec":case"s":return o*p;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return o;default:return}}}}(M);if(l==="number"&&isNaN(M)===!1)return v.long?i(f=M,g,"day")||i(f,d,"hour")||i(f,t,"minute")||i(f,p,"second")||f+" ms":function(a){return a>=g?Math.round(a/g)+"d":a>=d?Math.round(a/d)+"h":a>=t?Math.round(a/t)+"m":a>=p?Math.round(a/p)+"s":a+"ms"}(M);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(M))}},99011:function(T,p,t){var d=t(88641);T.exports=function(g,i,M){if(g==null)throw Error("First argument should be a string");if(i==null)throw Error("Separator should be a string or a RegExp");M?(typeof M=="string"||Array.isArray(M))&&(M={ignore:M}):M={},M.escape==null&&(M.escape=!0),M.ignore==null?M.ignore=["[]","()","{}","<>",'""',"''","``","“”","«»"]:(typeof M.ignore=="string"&&(M.ignore=[M.ignore]),M.ignore=M.ignore.map(function(s){return s.length===1&&(s+=s),s}));var v=d.parse(g,{flat:!0,brackets:M.ignore}),f=v[0].split(i);if(M.escape){for(var l=[],a=0;a0;){w=C[C.length-1];var _=p[w];if(M[w]<_.length){for(var k=M[w];k<_.length;++k){var E=_[k];if(d[E]<0){d[E]=g[E]=u,i[E]=!0,u+=1,y.push(E),C.push(E);break}i[E]&&(g[w]=0|Math.min(g[w],g[E])),v[E]>=0&&f[w].push(v[E])}M[w]=k}else{if(g[w]===d[w]){var x=[],A=[],L=0;for(k=y.length-1;k>=0;--k){var b=y[k];if(i[b]=!1,x.push(b),A.push(f[b]),L+=f[b].length,v[b]=o.length,b===w){y.length=k;break}}o.push(x);var R=new Array(L);for(k=0;k1&&(u=1),u<-1&&(u=-1),(v*a-f*l<0?-1:1)*Math.acos(u)};p.default=function(v){var f=v.px,l=v.py,a=v.cx,u=v.cy,o=v.rx,s=v.ry,h=v.xAxisRotation,c=h===void 0?0:h,m=v.largeArcFlag,w=m===void 0?0:m,y=v.sweepFlag,C=y===void 0?0:y,_=[];if(o===0||s===0)return[];var k=Math.sin(c*d/360),E=Math.cos(c*d/360),x=E*(f-a)/2+k*(l-u)/2,A=-k*(f-a)/2+E*(l-u)/2;if(x===0&&A===0)return[];o=Math.abs(o),s=Math.abs(s);var L=Math.pow(x,2)/Math.pow(o,2)+Math.pow(A,2)/Math.pow(s,2);L>1&&(o*=Math.sqrt(L),s*=Math.sqrt(L));var b=function(j,$,U,G,q,H,ne,te,Z,X,Q,re){var ie=Math.pow(q,2),oe=Math.pow(H,2),ue=Math.pow(Q,2),ce=Math.pow(re,2),ye=ie*oe-ie*ce-oe*ue;ye<0&&(ye=0),ye/=ie*ce+oe*ue;var de=(ye=Math.sqrt(ye)*(ne===te?-1:1))*q/H*re,me=ye*-H/q*Q,pe=X*de-Z*me+(j+U)/2,xe=Z*de+X*me+($+G)/2,Pe=(Q-de)/q,_e=(re-me)/H,Me=(-Q-de)/q,Se=(-re-me)/H,Ce=M(1,0,Pe,_e),ae=M(Pe,_e,Me,Se);return te===0&&ae>0&&(ae-=d),te===1&&ae<0&&(ae+=d),[pe,xe,Ce,ae]}(f,l,a,u,o,s,w,C,k,E,x,A),R=function(j,$){if(Array.isArray(j))return j;if(Symbol.iterator in Object(j))return function(U,G){var q=[],H=!0,ne=!1,te=void 0;try{for(var Z,X=U[Symbol.iterator]();!(H=(Z=X.next()).done)&&(q.push(Z.value),!G||q.length!==G);H=!0);}catch(Q){ne=!0,te=Q}finally{try{!H&&X.return&&X.return()}finally{if(ne)throw te}}return q}(j,$);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(b,4),I=R[0],O=R[1],z=R[2],F=R[3],B=Math.abs(F)/(d/4);Math.abs(1-B)<1e-7&&(B=1);var N=Math.max(Math.ceil(B),1);F/=N;for(var W=0;Wl[2]&&(l[2]=o[s+0]),o[s+1]>l[3]&&(l[3]=o[s+1]);return l}},29988:function(T,p,t){T.exports=function(M){for(var v,f=[],l=0,a=0,u=0,o=0,s=null,h=null,c=0,m=0,w=0,y=M.length;w4?(l=C[C.length-4],a=C[C.length-3]):(l=c,a=m),f.push(C)}return f};var d=t(7095);function g(M,v,f,l){return["C",M,v,f,l,f,l]}function i(M,v,f,l,a,u){return["C",M/3+.6666666666666666*f,v/3+.6666666666666666*l,a/3+.6666666666666666*f,u/3+.6666666666666666*l,a,u]}},82019:function(T,p,t){var d,g=t(1750),i=t(95616),M=t(31457),v=t(89546),f=t(44781),l=document.createElement("canvas"),a=l.getContext("2d");T.exports=function(u,o){if(!v(u))throw Error("Argument should be valid svg path string");var s,h;o||(o={}),o.shape?(s=o.shape[0],h=o.shape[1]):(s=l.width=o.w||o.width||200,h=l.height=o.h||o.height||200);var c=Math.min(s,h),m=o.stroke||0,w=o.viewbox||o.viewBox||g(u),y=[s/(w[2]-w[0]),h/(w[3]-w[1])],C=Math.min(y[0]||0,y[1]||0)/2;if(a.fillStyle="black",a.fillRect(0,0,s,h),a.fillStyle="white",m&&(typeof m!="number"&&(m=1),a.strokeStyle=m>0?"white":"black",a.lineWidth=Math.abs(m)),a.translate(.5*s,.5*h),a.scale(C,C),function(){if(d!=null)return d;var E=document.createElement("canvas").getContext("2d");if(E.canvas.width=E.canvas.height=1,!window.Path2D)return d=!1;var x=new Path2D("M0,0h1v1h-1v-1Z");E.fillStyle="black",E.fill(x);var A=E.getImageData(0,0,1,1);return d=A&&A.data&&A.data[3]===255}()){var _=new Path2D(u);a.fill(_),m&&a.stroke(_)}else{var k=i(u);M(a,k),a.fill(),m&&a.stroke()}return a.setTransform(1,0,0,1,0,0),f(a,{cutoff:o.cutoff!=null?o.cutoff:.5,radius:o.radius!=null?o.radius:.5*c})}},84267:function(T,p,t){var d;(function(g){var i=/^\s+/,M=/\s+$/,v=0,f=g.round,l=g.min,a=g.max,u=g.random;function o(Q,re){if(re=re||{},(Q=Q||"")instanceof o)return Q;if(!(this instanceof o))return new o(Q,re);var ie=function(oe){var ue,ce,ye,de={r:0,g:0,b:0},me=1,pe=null,xe=null,Pe=null,_e=!1,Me=!1;return typeof oe=="string"&&(oe=function(Se){Se=Se.replace(i,"").replace(M,"").toLowerCase();var Ce,ae=!1;if(z[Se])Se=z[Se],ae=!0;else if(Se=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};return(Ce=Z.rgb.exec(Se))?{r:Ce[1],g:Ce[2],b:Ce[3]}:(Ce=Z.rgba.exec(Se))?{r:Ce[1],g:Ce[2],b:Ce[3],a:Ce[4]}:(Ce=Z.hsl.exec(Se))?{h:Ce[1],s:Ce[2],l:Ce[3]}:(Ce=Z.hsla.exec(Se))?{h:Ce[1],s:Ce[2],l:Ce[3],a:Ce[4]}:(Ce=Z.hsv.exec(Se))?{h:Ce[1],s:Ce[2],v:Ce[3]}:(Ce=Z.hsva.exec(Se))?{h:Ce[1],s:Ce[2],v:Ce[3],a:Ce[4]}:(Ce=Z.hex8.exec(Se))?{r:j(Ce[1]),g:j(Ce[2]),b:j(Ce[3]),a:q(Ce[4]),format:ae?"name":"hex8"}:(Ce=Z.hex6.exec(Se))?{r:j(Ce[1]),g:j(Ce[2]),b:j(Ce[3]),format:ae?"name":"hex"}:(Ce=Z.hex4.exec(Se))?{r:j(Ce[1]+""+Ce[1]),g:j(Ce[2]+""+Ce[2]),b:j(Ce[3]+""+Ce[3]),a:q(Ce[4]+""+Ce[4]),format:ae?"name":"hex8"}:!!(Ce=Z.hex3.exec(Se))&&{r:j(Ce[1]+""+Ce[1]),g:j(Ce[2]+""+Ce[2]),b:j(Ce[3]+""+Ce[3]),format:ae?"name":"hex"}}(oe)),typeof oe=="object"&&(X(oe.r)&&X(oe.g)&&X(oe.b)?(ue=oe.r,ce=oe.g,ye=oe.b,de={r:255*N(ue,255),g:255*N(ce,255),b:255*N(ye,255)},_e=!0,Me=String(oe.r).substr(-1)==="%"?"prgb":"rgb"):X(oe.h)&&X(oe.s)&&X(oe.v)?(pe=U(oe.s),xe=U(oe.v),de=function(Se,Ce,ae){Se=6*N(Se,360),Ce=N(Ce,100),ae=N(ae,100);var fe=g.floor(Se),be=Se-fe,ke=ae*(1-Ce),Le=ae*(1-be*Ce),Be=ae*(1-(1-be)*Ce),ze=fe%6;return{r:255*[ae,Le,ke,ke,Be,ae][ze],g:255*[Be,ae,ae,Le,ke,ke][ze],b:255*[ke,ke,Be,ae,ae,Le][ze]}}(oe.h,pe,xe),_e=!0,Me="hsv"):X(oe.h)&&X(oe.s)&&X(oe.l)&&(pe=U(oe.s),Pe=U(oe.l),de=function(Se,Ce,ae){var fe,be,ke;function Le(je,ge,we){return we<0&&(we+=1),we>1&&(we-=1),we<1/6?je+6*(ge-je)*we:we<.5?ge:we<2/3?je+(ge-je)*(2/3-we)*6:je}if(Se=N(Se,360),Ce=N(Ce,100),ae=N(ae,100),Ce===0)fe=be=ke=ae;else{var Be=ae<.5?ae*(1+Ce):ae+Ce-ae*Ce,ze=2*ae-Be;fe=Le(ze,Be,Se+1/3),be=Le(ze,Be,Se),ke=Le(ze,Be,Se-1/3)}return{r:255*fe,g:255*be,b:255*ke}}(oe.h,pe,Pe),_e=!0,Me="hsl"),oe.hasOwnProperty("a")&&(me=oe.a)),me=B(me),{ok:_e,format:oe.format||Me,r:l(255,a(de.r,0)),g:l(255,a(de.g,0)),b:l(255,a(de.b,0)),a:me}}(Q);this._originalInput=Q,this._r=ie.r,this._g=ie.g,this._b=ie.b,this._a=ie.a,this._roundA=f(100*this._a)/100,this._format=re.format||ie.format,this._gradientType=re.gradientType,this._r<1&&(this._r=f(this._r)),this._g<1&&(this._g=f(this._g)),this._b<1&&(this._b=f(this._b)),this._ok=ie.ok,this._tc_id=v++}function s(Q,re,ie){Q=N(Q,255),re=N(re,255),ie=N(ie,255);var oe,ue,ce=a(Q,re,ie),ye=l(Q,re,ie),de=(ce+ye)/2;if(ce==ye)oe=ue=0;else{var me=ce-ye;switch(ue=de>.5?me/(2-ce-ye):me/(ce+ye),ce){case Q:oe=(re-ie)/me+(re>1)+720)%360;--re;)oe.h=(oe.h+ue)%360,ce.push(o(oe));return ce}function O(Q,re){re=re||6;for(var ie=o(Q).toHsv(),oe=ie.h,ue=ie.s,ce=ie.v,ye=[],de=1/re;re--;)ye.push(o({h:oe,s:ue,v:ce})),ce=(ce+de)%1;return ye}o.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var Q=this.toRgb();return(299*Q.r+587*Q.g+114*Q.b)/1e3},getLuminance:function(){var Q,re,ie,oe=this.toRgb();return Q=oe.r/255,re=oe.g/255,ie=oe.b/255,.2126*(Q<=.03928?Q/12.92:g.pow((Q+.055)/1.055,2.4))+.7152*(re<=.03928?re/12.92:g.pow((re+.055)/1.055,2.4))+.0722*(ie<=.03928?ie/12.92:g.pow((ie+.055)/1.055,2.4))},setAlpha:function(Q){return this._a=B(Q),this._roundA=f(100*this._a)/100,this},toHsv:function(){var Q=h(this._r,this._g,this._b);return{h:360*Q.h,s:Q.s,v:Q.v,a:this._a}},toHsvString:function(){var Q=h(this._r,this._g,this._b),re=f(360*Q.h),ie=f(100*Q.s),oe=f(100*Q.v);return this._a==1?"hsv("+re+", "+ie+"%, "+oe+"%)":"hsva("+re+", "+ie+"%, "+oe+"%, "+this._roundA+")"},toHsl:function(){var Q=s(this._r,this._g,this._b);return{h:360*Q.h,s:Q.s,l:Q.l,a:this._a}},toHslString:function(){var Q=s(this._r,this._g,this._b),re=f(360*Q.h),ie=f(100*Q.s),oe=f(100*Q.l);return this._a==1?"hsl("+re+", "+ie+"%, "+oe+"%)":"hsla("+re+", "+ie+"%, "+oe+"%, "+this._roundA+")"},toHex:function(Q){return c(this._r,this._g,this._b,Q)},toHexString:function(Q){return"#"+this.toHex(Q)},toHex8:function(Q){return function(re,ie,oe,ue,ce){var ye=[$(f(re).toString(16)),$(f(ie).toString(16)),$(f(oe).toString(16)),$(G(ue))];return ce&&ye[0].charAt(0)==ye[0].charAt(1)&&ye[1].charAt(0)==ye[1].charAt(1)&&ye[2].charAt(0)==ye[2].charAt(1)&&ye[3].charAt(0)==ye[3].charAt(1)?ye[0].charAt(0)+ye[1].charAt(0)+ye[2].charAt(0)+ye[3].charAt(0):ye.join("")}(this._r,this._g,this._b,this._a,Q)},toHex8String:function(Q){return"#"+this.toHex8(Q)},toRgb:function(){return{r:f(this._r),g:f(this._g),b:f(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+f(this._r)+", "+f(this._g)+", "+f(this._b)+")":"rgba("+f(this._r)+", "+f(this._g)+", "+f(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:f(100*N(this._r,255))+"%",g:f(100*N(this._g,255))+"%",b:f(100*N(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+f(100*N(this._r,255))+"%, "+f(100*N(this._g,255))+"%, "+f(100*N(this._b,255))+"%)":"rgba("+f(100*N(this._r,255))+"%, "+f(100*N(this._g,255))+"%, "+f(100*N(this._b,255))+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":!(this._a<1)&&(F[c(this._r,this._g,this._b,!0)]||!1)},toFilter:function(Q){var re="#"+m(this._r,this._g,this._b,this._a),ie=re,oe=this._gradientType?"GradientType = 1, ":"";if(Q){var ue=o(Q);ie="#"+m(ue._r,ue._g,ue._b,ue._a)}return"progid:DXImageTransform.Microsoft.gradient("+oe+"startColorstr="+re+",endColorstr="+ie+")"},toString:function(Q){var re=!!Q;Q=Q||this._format;var ie=!1,oe=this._a<1&&this._a>=0;return re||!oe||Q!=="hex"&&Q!=="hex6"&&Q!=="hex3"&&Q!=="hex4"&&Q!=="hex8"&&Q!=="name"?(Q==="rgb"&&(ie=this.toRgbString()),Q==="prgb"&&(ie=this.toPercentageRgbString()),Q!=="hex"&&Q!=="hex6"||(ie=this.toHexString()),Q==="hex3"&&(ie=this.toHexString(!0)),Q==="hex4"&&(ie=this.toHex8String(!0)),Q==="hex8"&&(ie=this.toHex8String()),Q==="name"&&(ie=this.toName()),Q==="hsl"&&(ie=this.toHslString()),Q==="hsv"&&(ie=this.toHsvString()),ie||this.toHexString()):Q==="name"&&this._a===0?this.toName():this.toRgbString()},clone:function(){return o(this.toString())},_applyModification:function(Q,re){var ie=Q.apply(null,[this].concat([].slice.call(re)));return this._r=ie._r,this._g=ie._g,this._b=ie._b,this.setAlpha(ie._a),this},lighten:function(){return this._applyModification(_,arguments)},brighten:function(){return this._applyModification(k,arguments)},darken:function(){return this._applyModification(E,arguments)},desaturate:function(){return this._applyModification(w,arguments)},saturate:function(){return this._applyModification(y,arguments)},greyscale:function(){return this._applyModification(C,arguments)},spin:function(){return this._applyModification(x,arguments)},_applyCombination:function(Q,re){return Q.apply(null,[this].concat([].slice.call(re)))},analogous:function(){return this._applyCombination(I,arguments)},complement:function(){return this._applyCombination(A,arguments)},monochromatic:function(){return this._applyCombination(O,arguments)},splitcomplement:function(){return this._applyCombination(R,arguments)},triad:function(){return this._applyCombination(L,arguments)},tetrad:function(){return this._applyCombination(b,arguments)}},o.fromRatio=function(Q,re){if(typeof Q=="object"){var ie={};for(var oe in Q)Q.hasOwnProperty(oe)&&(ie[oe]=oe==="a"?Q[oe]:U(Q[oe]));Q=ie}return o(Q,re)},o.equals=function(Q,re){return!(!Q||!re)&&o(Q).toRgbString()==o(re).toRgbString()},o.random=function(){return o.fromRatio({r:u(),g:u(),b:u()})},o.mix=function(Q,re,ie){ie=ie===0?0:ie||50;var oe=o(Q).toRgb(),ue=o(re).toRgb(),ce=ie/100;return o({r:(ue.r-oe.r)*ce+oe.r,g:(ue.g-oe.g)*ce+oe.g,b:(ue.b-oe.b)*ce+oe.b,a:(ue.a-oe.a)*ce+oe.a})},o.readability=function(Q,re){var ie=o(Q),oe=o(re);return(g.max(ie.getLuminance(),oe.getLuminance())+.05)/(g.min(ie.getLuminance(),oe.getLuminance())+.05)},o.isReadable=function(Q,re,ie){var oe,ue,ce,ye,de,me=o.readability(Q,re);switch(ue=!1,(ce=ie,(ye=((ce=ce||{level:"AA",size:"small"}).level||"AA").toUpperCase())!=="AA"&&ye!=="AAA"&&(ye="AA"),(de=(ce.size||"small").toLowerCase())!=="small"&&de!=="large"&&(de="small"),oe={level:ye,size:de}).level+oe.size){case"AAsmall":case"AAAlarge":ue=me>=4.5;break;case"AAlarge":ue=me>=3;break;case"AAAsmall":ue=me>=7}return ue},o.mostReadable=function(Q,re,ie){var oe,ue,ce,ye,de=null,me=0;ue=(ie=ie||{}).includeFallbackColors,ce=ie.level,ye=ie.size;for(var pe=0;peme&&(me=oe,de=o(re[pe]));return o.isReadable(Q,de,{level:ce,size:ye})||!ue?de:(ie.includeFallbackColors=!1,o.mostReadable(Q,["#fff","#000"],ie))};var z=o.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},F=o.hexNames=function(Q){var re={};for(var ie in Q)Q.hasOwnProperty(ie)&&(re[Q[ie]]=ie);return re}(z);function B(Q){return Q=parseFloat(Q),(isNaN(Q)||Q<0||Q>1)&&(Q=1),Q}function N(Q,re){(function(oe){return typeof oe=="string"&&oe.indexOf(".")!=-1&&parseFloat(oe)===1})(Q)&&(Q="100%");var ie=function(oe){return typeof oe=="string"&&oe.indexOf("%")!=-1}(Q);return Q=l(re,a(0,parseFloat(Q))),ie&&(Q=parseInt(Q*re,10)/100),g.abs(Q-re)<1e-6?1:Q%re/parseFloat(re)}function W(Q){return l(1,a(0,Q))}function j(Q){return parseInt(Q,16)}function $(Q){return Q.length==1?"0"+Q:""+Q}function U(Q){return Q<=1&&(Q=100*Q+"%"),Q}function G(Q){return g.round(255*parseFloat(Q)).toString(16)}function q(Q){return j(Q)/255}var H,ne,te,Z=(ne="[\\s|\\(]+("+(H="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",te="[\\s|\\(]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",{CSS_UNIT:new RegExp(H),rgb:new RegExp("rgb"+ne),rgba:new RegExp("rgba"+te),hsl:new RegExp("hsl"+ne),hsla:new RegExp("hsla"+te),hsv:new RegExp("hsv"+ne),hsva:new RegExp("hsva"+te),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function X(Q){return!!Z.CSS_UNIT.exec(Q)}T.exports?T.exports=o:(d=(function(){return o}).call(p,t,p,T))===void 0||(T.exports=d)})(Math)},57060:function(T){T.exports=t,T.exports.float32=T.exports.float=t,T.exports.fract32=T.exports.fract=function(d,g){if(d.length){if(d instanceof Float32Array)return new Float32Array(d.length);g instanceof Float32Array||(g=t(d));for(var i=0,M=g.length;i":(M.length>100&&(M=M.slice(0,99)+"…"),M=M.replace(g,function(v){switch(v){case` +`:return"\\n";case"\r":return"\\r";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("Unexpected character")}}))}},47403:function(T,p,t){var d=t(24582),g={object:!0,function:!0,undefined:!0};T.exports=function(i){return!!d(i)&&hasOwnProperty.call(g,typeof i)}},82527:function(T,p,t){var d=t(69190),g=t(84985);T.exports=function(i){return g(i)?i:d(i,"%v is not a plain function",arguments[1])}},84985:function(T,p,t){var d=t(73116),g=/^\s*class[\s{/}]/,i=Function.prototype.toString;T.exports=function(M){return!!d(M)&&!g.test(i.call(M))}},24511:function(T,p,t){var d=t(47403);T.exports=function(g){if(!d(g))return!1;try{return!!g.constructor&&g.constructor.prototype===g}catch{return!1}}},9234:function(T,p,t){var d=t(24582),g=t(47403),i=Object.prototype.toString;T.exports=function(M){if(!d(M))return null;if(g(M)){var v=M.toString;if(typeof v!="function"||v===i)return null}try{return""+M}catch{return null}}},10424:function(T,p,t){var d=t(69190),g=t(24582);T.exports=function(i){return g(i)?i:d(i,"Cannot use %v",arguments[1])}},24582:function(T){T.exports=function(p){return p!=null}},58404:function(T,p,t){var d=t(13547),g=t(12129),i=t(12856).Buffer;t.g.__TYPEDARRAY_POOL||(t.g.__TYPEDARRAY_POOL={UINT8:g([32,0]),UINT16:g([32,0]),UINT32:g([32,0]),BIGUINT64:g([32,0]),INT8:g([32,0]),INT16:g([32,0]),INT32:g([32,0]),BIGINT64:g([32,0]),FLOAT:g([32,0]),DOUBLE:g([32,0]),DATA:g([32,0]),UINT8C:g([32,0]),BUFFER:g([32,0])});var M=typeof Uint8ClampedArray<"u",v=typeof BigUint64Array<"u",f=typeof BigInt64Array<"u",l=t.g.__TYPEDARRAY_POOL;l.UINT8C||(l.UINT8C=g([32,0])),l.BIGUINT64||(l.BIGUINT64=g([32,0])),l.BIGINT64||(l.BIGINT64=g([32,0])),l.BUFFER||(l.BUFFER=g([32,0]));var a=l.DATA,u=l.BUFFER;function o(R){if(R){var I=R.length||R.byteLength,O=d.log2(I);a[O].push(R)}}function s(R){R=d.nextPow2(R);var I=d.log2(R),O=a[I];return O.length>0?O.pop():new ArrayBuffer(R)}function h(R){return new Uint8Array(s(R),0,R)}function c(R){return new Uint16Array(s(2*R),0,R)}function m(R){return new Uint32Array(s(4*R),0,R)}function w(R){return new Int8Array(s(R),0,R)}function y(R){return new Int16Array(s(2*R),0,R)}function C(R){return new Int32Array(s(4*R),0,R)}function _(R){return new Float32Array(s(4*R),0,R)}function k(R){return new Float64Array(s(8*R),0,R)}function E(R){return M?new Uint8ClampedArray(s(R),0,R):h(R)}function x(R){return v?new BigUint64Array(s(8*R),0,R):null}function A(R){return f?new BigInt64Array(s(8*R),0,R):null}function L(R){return new DataView(s(R),0,R)}function b(R){R=d.nextPow2(R);var I=d.log2(R),O=u[I];return O.length>0?O.pop():new i(R)}p.free=function(R){if(i.isBuffer(R))u[d.log2(R.length)].push(R);else{if(Object.prototype.toString.call(R)!=="[object ArrayBuffer]"&&(R=R.buffer),!R)return;var I=R.length||R.byteLength,O=0|d.log2(I);a[O].push(R)}},p.freeUint8=p.freeUint16=p.freeUint32=p.freeBigUint64=p.freeInt8=p.freeInt16=p.freeInt32=p.freeBigInt64=p.freeFloat32=p.freeFloat=p.freeFloat64=p.freeDouble=p.freeUint8Clamped=p.freeDataView=function(R){o(R.buffer)},p.freeArrayBuffer=o,p.freeBuffer=function(R){u[d.log2(R.length)].push(R)},p.malloc=function(R,I){if(I===void 0||I==="arraybuffer")return s(R);switch(I){case"uint8":return h(R);case"uint16":return c(R);case"uint32":return m(R);case"int8":return w(R);case"int16":return y(R);case"int32":return C(R);case"float":case"float32":return _(R);case"double":case"float64":return k(R);case"uint8_clamped":return E(R);case"bigint64":return A(R);case"biguint64":return x(R);case"buffer":return b(R);case"data":case"dataview":return L(R);default:return null}return null},p.mallocArrayBuffer=s,p.mallocUint8=h,p.mallocUint16=c,p.mallocUint32=m,p.mallocInt8=w,p.mallocInt16=y,p.mallocInt32=C,p.mallocFloat32=p.mallocFloat=_,p.mallocFloat64=p.mallocDouble=k,p.mallocUint8Clamped=E,p.mallocBigUint64=x,p.mallocBigInt64=A,p.mallocDataView=L,p.mallocBuffer=b,p.clearCache=function(){for(var R=0;R<32;++R)l.UINT8[R].length=0,l.UINT16[R].length=0,l.UINT32[R].length=0,l.INT8[R].length=0,l.INT16[R].length=0,l.INT32[R].length=0,l.FLOAT[R].length=0,l.DOUBLE[R].length=0,l.BIGUINT64[R].length=0,l.BIGINT64[R].length=0,l.UINT8C[R].length=0,a[R].length=0,u[R].length=0}},90448:function(T){var p=/[\'\"]/;T.exports=function(t){return t?(p.test(t.charAt(0))&&(t=t.substr(1)),p.test(t.charAt(t.length-1))&&(t=t.substr(0,t.length-1)),t):""}},93447:function(T){T.exports=function(p,t,d){Array.isArray(d)||(d=[].slice.call(arguments,2));for(var g=0,i=d.length;g=U)return H;switch(H){case"%s":return String($[j++]);case"%d":return Number($[j++]);case"%j":try{return JSON.stringify($[j++])}catch{return"[Circular]"}default:return H}}),q=$[j];j=3&&(j.depth=arguments[2]),arguments.length>=4&&(j.colors=arguments[3]),m(W)?j.showHidden=W:W&&p._extend(j,W),_(j.showHidden)&&(j.showHidden=!1),_(j.depth)&&(j.depth=2),_(j.colors)&&(j.colors=!1),_(j.customInspect)&&(j.customInspect=!0),j.colors&&(j.stylize=a),o(j,N,j.depth)}function a(N,W){var j=l.styles[W];return j?"\x1B["+l.colors[j][0]+"m"+N+"\x1B["+l.colors[j][1]+"m":N}function u(N,W){return N}function o(N,W,j){if(N.customInspect&&W&&L(W.inspect)&&W.inspect!==p.inspect&&(!W.constructor||W.constructor.prototype!==W)){var $=W.inspect(j,N);return C($)||($=o(N,$,j)),$}var U=function(Q,re){if(_(re))return Q.stylize("undefined","undefined");if(C(re)){var ie="'"+JSON.stringify(re).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Q.stylize(ie,"string")}return y(re)?Q.stylize(""+re,"number"):m(re)?Q.stylize(""+re,"boolean"):w(re)?Q.stylize("null","null"):void 0}(N,W);if(U)return U;var G=Object.keys(W),q=function(Q){var re={};return Q.forEach(function(ie,oe){re[ie]=!0}),re}(G);if(N.showHidden&&(G=Object.getOwnPropertyNames(W)),A(W)&&(G.indexOf("message")>=0||G.indexOf("description")>=0))return s(W);if(G.length===0){if(L(W)){var H=W.name?": "+W.name:"";return N.stylize("[Function"+H+"]","special")}if(k(W))return N.stylize(RegExp.prototype.toString.call(W),"regexp");if(x(W))return N.stylize(Date.prototype.toString.call(W),"date");if(A(W))return s(W)}var ne,te="",Z=!1,X=["{","}"];return c(W)&&(Z=!0,X=["[","]"]),L(W)&&(te=" [Function"+(W.name?": "+W.name:"")+"]"),k(W)&&(te=" "+RegExp.prototype.toString.call(W)),x(W)&&(te=" "+Date.prototype.toUTCString.call(W)),A(W)&&(te=" "+s(W)),G.length!==0||Z&&W.length!=0?j<0?k(W)?N.stylize(RegExp.prototype.toString.call(W),"regexp"):N.stylize("[Object]","special"):(N.seen.push(W),ne=Z?function(Q,re,ie,oe,ue){for(var ce=[],ye=0,de=re.length;ye60?ie[0]+(re===""?"":re+` `)+" "+Q.join(`, - `)+" "+ie[1]:ie[0]+re+" "+Q.join(", ")+" "+ie[1]}(ne,te,X)):X[0]+te+X[1]}function s(N){return"["+Error.prototype.toString.call(N)+"]"}function c(N,W,j,$,U,G){var q,H,ne;if((ne=Object.getOwnPropertyDescriptor(W,U)||{value:W[U]}).get?H=ne.set?N.stylize("[Getter/Setter]","special"):N.stylize("[Getter]","special"):ne.set&&(H=N.stylize("[Setter]","special")),z($,U)||(q="["+U+"]"),H||(N.seen.indexOf(ne.value)<0?(H=w(j)?o(N,ne.value,null):o(N,ne.value,j-1)).indexOf(` + `)+" "+ie[1]:ie[0]+re+" "+Q.join(", ")+" "+ie[1]}(ne,te,X)):X[0]+te+X[1]}function s(N){return"["+Error.prototype.toString.call(N)+"]"}function h(N,W,j,$,U,G){var q,H,ne;if((ne=Object.getOwnPropertyDescriptor(W,U)||{value:W[U]}).get?H=ne.set?N.stylize("[Getter/Setter]","special"):N.stylize("[Getter]","special"):ne.set&&(H=N.stylize("[Setter]","special")),z($,U)||(q="["+U+"]"),H||(N.seen.indexOf(ne.value)<0?(H=w(j)?o(N,ne.value,null):o(N,ne.value,j-1)).indexOf(` `)>-1&&(H=G?H.split(` `).map(function(te){return" "+te}).join(` `).slice(2):` `+H.split(` `).map(function(te){return" "+te}).join(` -`)):H=N.stylize("[Circular]","special")),_(q)){if(G&&U.match(/^\d+$/))return H;(q=JSON.stringify(""+U)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(q=q.slice(1,-1),q=N.stylize(q,"name")):(q=q.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),q=N.stylize(q,"string"))}return q+": "+H}function h(N){return Array.isArray(N)}function m(N){return typeof N=="boolean"}function w(N){return N===null}function y(N){return typeof N=="number"}function S(N){return typeof N=="string"}function _(N){return N===void 0}function k(N){return E(N)&&b(N)==="[object RegExp]"}function E(N){return typeof N=="object"&&N!==null}function x(N){return E(N)&&b(N)==="[object Date]"}function A(N){return E(N)&&(b(N)==="[object Error]"||N instanceof Error)}function L(N){return typeof N=="function"}function b(N){return Object.prototype.toString.call(N)}function R(N){return N<10?"0"+N.toString(10):N.toString(10)}p.debuglog=function(N){if(N=N.toUpperCase(),!M[N])if(v.test(N)){var W=d.pid;M[N]=function(){var j=p.format.apply(p,arguments);console.error("%s %d: %s",N,W,j)}}else M[N]=function(){};return M[N]},p.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},p.types=t(4936),p.isArray=h,p.isBoolean=m,p.isNull=w,p.isNullOrUndefined=function(N){return N==null},p.isNumber=y,p.isString=S,p.isSymbol=function(N){return typeof N=="symbol"},p.isUndefined=_,p.isRegExp=k,p.types.isRegExp=k,p.isObject=E,p.isDate=x,p.types.isDate=x,p.isError=A,p.types.isNativeError=A,p.isFunction=L,p.isPrimitive=function(N){return N===null||typeof N=="boolean"||typeof N=="number"||typeof N=="string"||typeof N=="symbol"||N===void 0},p.isBuffer=t(45920);var I=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function O(){var N=new Date,W=[R(N.getHours()),R(N.getMinutes()),R(N.getSeconds())].join(":");return[N.getDate(),I[N.getMonth()],W].join(" ")}function z(N,W){return Object.prototype.hasOwnProperty.call(N,W)}p.log=function(){console.log("%s - %s",O(),p.format.apply(p,arguments))},p.inherits=t(42018),p._extend=function(N,W){if(!W||!E(W))return N;for(var j=Object.keys(W),$=j.length;$--;)N[j[$]]=W[j[$]];return N};var F=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;function B(N,W){if(!N){var j=new Error("Promise was rejected with a falsy value");j.reason=N,N=j}return W(N)}p.promisify=function(N){if(typeof N!="function")throw new TypeError('The "original" argument must be of type Function');if(F&&N[F]){var W;if(typeof(W=N[F])!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(W,F,{value:W,enumerable:!1,writable:!1,configurable:!0}),W}function W(){for(var j,$,U=new Promise(function(H,ne){j=H,$=ne}),G=[],q=0;q"u"?t.g:globalThis,a=g(),u=i("String.prototype.slice"),o={},s=Object.getPrototypeOf;f&&M&&s&&d(a,function(h){if(typeof l[h]=="function"){var m=new l[h];if(Symbol.toStringTag in m){var w=s(m),y=M(w,Symbol.toStringTag);if(!y){var S=s(w);y=M(S,Symbol.toStringTag)}o[h]=y.get}}});var c=t(9187);T.exports=function(h){return!!c(h)&&(f&&Symbol.toStringTag in h?function(m){var w=!1;return d(o,function(y,S){if(!w)try{var _=y.call(m);_===S&&(w=_)}catch{}}),w}(h):u(v(h),8,-1))}},3961:function(T,p,t){var d=t(63489),g=t(56131),i=d.instance();function M(s){this.local=this.regionalOptions[s||""]||this.regionalOptions[""]}M.prototype=new d.baseCalendar,g(M.prototype,{name:"Chinese",jdEpoch:17214255e-1,hasYearZero:!1,minMonth:0,firstMonth:0,minDay:1,regionalOptions:{"":{name:"Chinese",epochs:["BEC","EC"],monthNumbers:function(s,c){if(typeof s=="string"){var h=s.match(f);return h?h[0]:""}var m=this._validateYear(s),w=s.month(),y=""+this.toChineseMonth(m,w);return c&&y.length<2&&(y="0"+y),this.isIntercalaryMonth(m,w)&&(y+="i"),y},monthNames:function(s){if(typeof s=="string"){var c=s.match(l);return c?c[0]:""}var h=this._validateYear(s),m=s.month(),w=["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"][this.toChineseMonth(h,m)-1];return this.isIntercalaryMonth(h,m)&&(w="闰"+w),w},monthNamesShort:function(s){if(typeof s=="string"){var c=s.match(a);return c?c[0]:""}var h=this._validateYear(s),m=s.month(),w=["一","二","三","四","五","六","七","八","九","十","十一","十二"][this.toChineseMonth(h,m)-1];return this.isIntercalaryMonth(h,m)&&(w="闰"+w),w},parseMonth:function(s,c){s=this._validateYear(s);var h,m=parseInt(c);if(isNaN(m))c[0]==="闰"&&(h=!0,c=c.substring(1)),c[c.length-1]==="月"&&(c=c.substring(0,c.length-1)),m=1+["一","二","三","四","五","六","七","八","九","十","十一","十二"].indexOf(c);else{var w=c[c.length-1];h=w==="i"||w==="I"}return this.toMonthIndex(s,m,h)},dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:1,isRTL:!1}},_validateYear:function(s,c){if(s.year&&(s=s.year()),typeof s!="number"||s<1888||s>2111)throw c.replace(/\{0\}/,this.local.name);return s},toMonthIndex:function(s,c,h){var m=this.intercalaryMonth(s);if(h&&c!==m||c<1||c>12)throw d.local.invalidMonth.replace(/\{0\}/,this.local.name);return m?!h&&c<=m?c-1:c:c-1},toChineseMonth:function(s,c){s.year&&(c=(s=s.year()).month());var h=this.intercalaryMonth(s);if(c<0||c>(h?12:11))throw d.local.invalidMonth.replace(/\{0\}/,this.local.name);return h?c>13},isIntercalaryMonth:function(s,c){s.year&&(c=(s=s.year()).month());var h=this.intercalaryMonth(s);return!!h&&h===c},leapYear:function(s){return this.intercalaryMonth(s)!==0},weekOfYear:function(s,c,h){var m,w=this._validateYear(s,d.local.invalidyear),y=o[w-o[0]],S=y>>9&4095,_=y>>5&15,k=31&y;(m=i.newDate(S,_,k)).add(4-(m.dayOfWeek()||7),"d");var E=this.toJD(s,c,h)-m.toJD();return 1+Math.floor(E/7)},monthsInYear:function(s){return this.leapYear(s)?13:12},daysInMonth:function(s,c){s.year&&(c=s.month(),s=s.year()),s=this._validateYear(s);var h=u[s-u[0]];if(c>(h>>13?12:11))throw d.local.invalidMonth.replace(/\{0\}/,this.local.name);return h&1<<12-c?30:29},weekDay:function(s,c,h){return(this.dayOfWeek(s,c,h)||7)<6},toJD:function(s,c,h){var m=this._validate(s,y,h,d.local.invalidDate);s=this._validateYear(m.year()),c=m.month(),h=m.day();var w=this.isIntercalaryMonth(s,c),y=this.toChineseMonth(s,c),S=function(_,k,E,x,A){var L,b,R;if(typeof _=="object")b=_,L=k||{};else{var I;if(!(typeof _=="number"&&_>=1888&&_<=2111))throw new Error("Lunar year outside range 1888-2111");if(!(typeof k=="number"&&k>=1&&k<=12))throw new Error("Lunar month outside range 1 - 12");if(!(typeof E=="number"&&E>=1&&E<=30))throw new Error("Lunar day outside range 1 - 30");typeof x=="object"?(I=!1,L=x):(I=!!x,L={}),b={year:_,month:k,day:E,isIntercalary:I}}R=b.day-1;var O,z=u[b.year-u[0]],F=z>>13;O=F&&(b.month>F||b.isIntercalary)?b.month:b.month-1;for(var B=0;B>9&4095,(N>>5&15)-1,(31&N)+R);return L.year=W.getFullYear(),L.month=1+W.getMonth(),L.day=W.getDate(),L}(s,y,h,w);return i.toJD(S.year,S.month,S.day)},fromJD:function(s){var c=i.fromJD(s),h=function(w,y,S,_){var k,E;if(typeof w=="object")k=w,E=y||{};else{if(!(typeof w=="number"&&w>=1888&&w<=2111))throw new Error("Solar year outside range 1888-2111");if(!(typeof y=="number"&&y>=1&&y<=12))throw new Error("Solar month outside range 1 - 12");if(!(typeof S=="number"&&S>=1&&S<=31))throw new Error("Solar day outside range 1 - 31");k={year:w,month:y,day:S},E={}}var x=o[k.year-o[0]],A=k.year<<9|k.month<<5|k.day;E.year=A>=x?k.year:k.year-1,x=o[E.year-o[0]];var L,b=new Date(x>>9&4095,(x>>5&15)-1,31&x),R=new Date(k.year,k.month-1,k.day);L=Math.round((R-b)/864e5);var I,O=u[E.year-u[0]];for(I=0;I<13;I++){var z=O&1<<12-I?30:29;if(L>13;return!F||I=2&&a<=6},extraInfo:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);return{century:M[Math.floor((a.year()-1)/100)+1]||""}},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);return v=a.year()+(a.year()<0?1:0),f=a.month(),(l=a.day())+(f>1?16:0)+(f>2?32*(f-2):0)+400*(v-1)+this.jdEpoch-1},fromJD:function(v){v=Math.floor(v+.5)-Math.floor(this.jdEpoch)-1;var f=Math.floor(v/400)+1;v-=400*(f-1),v+=v>15?16:0;var l=Math.floor(v/32)+1,a=v-32*(l-1)+1;return this.newDate(f<=0?f-1:f,l,a)}});var M={20:"Fruitbat",21:"Anchovy"};d.calendars.discworld=i},37715:function(T,p,t){var d=t(63489),g=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,g(i.prototype,{name:"Ethiopian",jdEpoch:17242205e-1,daysPerMonth:[30,30,30,30,30,30,30,30,30,30,30,30,5],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Ethiopian",epochs:["BEE","EE"],monthNames:["Meskerem","Tikemet","Hidar","Tahesas","Tir","Yekatit","Megabit","Miazia","Genbot","Sene","Hamle","Nehase","Pagume"],monthNamesShort:["Mes","Tik","Hid","Tah","Tir","Yek","Meg","Mia","Gen","Sen","Ham","Neh","Pag"],dayNames:["Ehud","Segno","Maksegno","Irob","Hamus","Arb","Kidame"],dayNamesShort:["Ehu","Seg","Mak","Iro","Ham","Arb","Kid"],dayNamesMin:["Eh","Se","Ma","Ir","Ha","Ar","Ki"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(M){var v=this._validate(M,this.minMonth,this.minDay,d.local.invalidYear);return(M=v.year()+(v.year()<0?1:0))%4==3||M%4==-1},monthsInYear:function(M){return this._validate(M,this.minMonth,this.minDay,d.local.invalidYear||d.regionalOptions[""].invalidYear),13},weekOfYear:function(M,v,f){var l=this.newDate(M,v,f);return l.add(-l.dayOfWeek(),"d"),Math.floor((l.dayOfYear()-1)/7)+1},daysInMonth:function(M,v){var f=this._validate(M,v,this.minDay,d.local.invalidMonth);return this.daysPerMonth[f.month()-1]+(f.month()===13&&this.leapYear(f.year())?1:0)},weekDay:function(M,v,f){return(this.dayOfWeek(M,v,f)||7)<6},toJD:function(M,v,f){var l=this._validate(M,v,f,d.local.invalidDate);return(M=l.year())<0&&M++,l.day()+30*(l.month()-1)+365*(M-1)+Math.floor(M/4)+this.jdEpoch-1},fromJD:function(M){var v=Math.floor(M)+.5-this.jdEpoch,f=Math.floor((v-Math.floor((v+366)/1461))/365)+1;f<=0&&f--,v=Math.floor(M)+.5-this.newDate(f,1,1).toJD();var l=Math.floor(v/30)+1,a=v-30*(l-1)+1;return this.newDate(f,l,a)}}),d.calendars.ethiopian=i},99384:function(T,p,t){var d=t(63489),g=t(56131);function i(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}function M(v,f){return v-f*Math.floor(v/f)}i.prototype=new d.baseCalendar,g(i.prototype,{name:"Hebrew",jdEpoch:347995.5,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29,29],hasYearZero:!1,minMonth:1,firstMonth:7,minDay:1,regionalOptions:{"":{name:"Hebrew",epochs:["BAM","AM"],monthNames:["Nisan","Iyar","Sivan","Tammuz","Av","Elul","Tishrei","Cheshvan","Kislev","Tevet","Shevat","Adar","Adar II"],monthNamesShort:["Nis","Iya","Siv","Tam","Av","Elu","Tis","Che","Kis","Tev","She","Ada","Ad2"],dayNames:["Yom Rishon","Yom Sheni","Yom Shlishi","Yom Revi'i","Yom Chamishi","Yom Shishi","Yom Shabbat"],dayNamesShort:["Ris","She","Shl","Rev","Cha","Shi","Sha"],dayNamesMin:["Ri","She","Shl","Re","Ch","Shi","Sha"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(v){var f=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return this._leapYear(f.year())},_leapYear:function(v){return M(7*(v=v<0?v+1:v)+1,19)<7},monthsInYear:function(v){return this._validate(v,this.minMonth,this.minDay,d.local.invalidYear),this._leapYear(v.year?v.year():v)?13:12},weekOfYear:function(v,f,l){var a=this.newDate(v,f,l);return a.add(-a.dayOfWeek(),"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInYear:function(v){return v=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear).year(),this.toJD(v===-1?1:v+1,7,1)-this.toJD(v,7,1)},daysInMonth:function(v,f){return v.year&&(f=v.month(),v=v.year()),this._validate(v,f,this.minDay,d.local.invalidMonth),f===12&&this.leapYear(v)||f===8&&M(this.daysInYear(v),10)===5?30:f===9&&M(this.daysInYear(v),10)===3?29:this.daysPerMonth[f-1]},weekDay:function(v,f,l){return this.dayOfWeek(v,f,l)!==6},extraInfo:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);return{yearType:(this.leapYear(a)?"embolismic":"common")+" "+["deficient","regular","complete"][this.daysInYear(a)%10-3]}},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);v=a.year(),f=a.month(),l=a.day();var u=v<=0?v+1:v,o=this.jdEpoch+this._delay1(u)+this._delay2(u)+l+1;if(f<7){for(var s=7;s<=this.monthsInYear(v);s++)o+=this.daysInMonth(v,s);for(s=1;s=this.toJD(f===-1?1:f+1,7,1);)f++;for(var l=vthis.toJD(f,l,this.daysInMonth(f,l));)l++;var a=v-this.toJD(f,l,1)+1;return this.newDate(f,l,a)}}),d.calendars.hebrew=i},43805:function(T,p,t){var d=t(63489),g=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,g(i.prototype,{name:"Islamic",jdEpoch:19484395e-1,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Islamic",epochs:["BH","AH"],monthNames:["Muharram","Safar","Rabi' al-awwal","Rabi' al-thani","Jumada al-awwal","Jumada al-thani","Rajab","Sha'aban","Ramadan","Shawwal","Dhu al-Qi'dah","Dhu al-Hijjah"],monthNamesShort:["Muh","Saf","Rab1","Rab2","Jum1","Jum2","Raj","Sha'","Ram","Shaw","DhuQ","DhuH"],dayNames:["Yawm al-ahad","Yawm al-ithnayn","Yawm ath-thulaathaa'","Yawm al-arbi'aa'","Yawm al-khamīs","Yawm al-jum'a","Yawm as-sabt"],dayNamesShort:["Aha","Ith","Thu","Arb","Kha","Jum","Sab"],dayNamesMin:["Ah","It","Th","Ar","Kh","Ju","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!1}},leapYear:function(M){return(11*this._validate(M,this.minMonth,this.minDay,d.local.invalidYear).year()+14)%30<11},weekOfYear:function(M,v,f){var l=this.newDate(M,v,f);return l.add(-l.dayOfWeek(),"d"),Math.floor((l.dayOfYear()-1)/7)+1},daysInYear:function(M){return this.leapYear(M)?355:354},daysInMonth:function(M,v){var f=this._validate(M,v,this.minDay,d.local.invalidMonth);return this.daysPerMonth[f.month()-1]+(f.month()===12&&this.leapYear(f.year())?1:0)},weekDay:function(M,v,f){return this.dayOfWeek(M,v,f)!==5},toJD:function(M,v,f){var l=this._validate(M,v,f,d.local.invalidDate);return M=l.year(),v=l.month(),M=M<=0?M+1:M,(f=l.day())+Math.ceil(29.5*(v-1))+354*(M-1)+Math.floor((3+11*M)/30)+this.jdEpoch-1},fromJD:function(M){M=Math.floor(M)+.5;var v=Math.floor((30*(M-this.jdEpoch)+10646)/10631);v=v<=0?v-1:v;var f=Math.min(12,Math.ceil((M-29-this.toJD(v,1,1))/29.5)+1),l=M-this.toJD(v,f,1)+1;return this.newDate(v,f,l)}}),d.calendars.islamic=i},88874:function(T,p,t){var d=t(63489),g=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,g(i.prototype,{name:"Julian",jdEpoch:17214235e-1,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Julian",epochs:["BC","AD"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"mm/dd/yyyy",firstDay:0,isRTL:!1}},leapYear:function(M){var v=this._validate(M,this.minMonth,this.minDay,d.local.invalidYear);return(M=v.year()<0?v.year()+1:v.year())%4==0},weekOfYear:function(M,v,f){var l=this.newDate(M,v,f);return l.add(4-(l.dayOfWeek()||7),"d"),Math.floor((l.dayOfYear()-1)/7)+1},daysInMonth:function(M,v){var f=this._validate(M,v,this.minDay,d.local.invalidMonth);return this.daysPerMonth[f.month()-1]+(f.month()===2&&this.leapYear(f.year())?1:0)},weekDay:function(M,v,f){return(this.dayOfWeek(M,v,f)||7)<6},toJD:function(M,v,f){var l=this._validate(M,v,f,d.local.invalidDate);return M=l.year(),v=l.month(),f=l.day(),M<0&&M++,v<=2&&(M--,v+=12),Math.floor(365.25*(M+4716))+Math.floor(30.6001*(v+1))+f-1524.5},fromJD:function(M){var v=Math.floor(M+.5)+1524,f=Math.floor((v-122.1)/365.25),l=Math.floor(365.25*f),a=Math.floor((v-l)/30.6001),u=a-Math.floor(a<14?1:13),o=f-Math.floor(u>2?4716:4715),s=v-l-Math.floor(30.6001*a);return o<=0&&o--,this.newDate(o,u,s)}}),d.calendars.julian=i},83290:function(T,p,t){var d=t(63489),g=t(56131);function i(f){this.local=this.regionalOptions[f||""]||this.regionalOptions[""]}function M(f,l){return f-l*Math.floor(f/l)}function v(f,l){return M(f-1,l)+1}i.prototype=new d.baseCalendar,g(i.prototype,{name:"Mayan",jdEpoch:584282.5,hasYearZero:!0,minMonth:0,firstMonth:0,minDay:0,regionalOptions:{"":{name:"Mayan",epochs:["",""],monthNames:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"],monthNamesShort:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"],dayNames:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],dayNamesShort:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],dayNamesMin:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],digits:null,dateFormat:"YYYY.m.d",firstDay:0,isRTL:!1,haabMonths:["Pop","Uo","Zip","Zotz","Tzec","Xul","Yaxkin","Mol","Chen","Yax","Zac","Ceh","Mac","Kankin","Muan","Pax","Kayab","Cumku","Uayeb"],tzolkinMonths:["Imix","Ik","Akbal","Kan","Chicchan","Cimi","Manik","Lamat","Muluc","Oc","Chuen","Eb","Ben","Ix","Men","Cib","Caban","Etznab","Cauac","Ahau"]}},leapYear:function(f){return this._validate(f,this.minMonth,this.minDay,d.local.invalidYear),!1},formatYear:function(f){f=this._validate(f,this.minMonth,this.minDay,d.local.invalidYear).year();var l=Math.floor(f/400);return f%=400,f+=f<0?400:0,l+"."+Math.floor(f/20)+"."+f%20},forYear:function(f){if((f=f.split(".")).length<3)throw"Invalid Mayan year";for(var l=0,a=0;a19||a>0&&u<0)throw"Invalid Mayan year";l=20*l+u}return l},monthsInYear:function(f){return this._validate(f,this.minMonth,this.minDay,d.local.invalidYear),18},weekOfYear:function(f,l,a){return this._validate(f,l,a,d.local.invalidDate),0},daysInYear:function(f){return this._validate(f,this.minMonth,this.minDay,d.local.invalidYear),360},daysInMonth:function(f,l){return this._validate(f,l,this.minDay,d.local.invalidMonth),20},daysInWeek:function(){return 5},dayOfWeek:function(f,l,a){return this._validate(f,l,a,d.local.invalidDate).day()},weekDay:function(f,l,a){return this._validate(f,l,a,d.local.invalidDate),!0},extraInfo:function(f,l,a){var u=this._validate(f,l,a,d.local.invalidDate).toJD(),o=this._toHaab(u),s=this._toTzolkin(u);return{haabMonthName:this.local.haabMonths[o[0]-1],haabMonth:o[0],haabDay:o[1],tzolkinDayName:this.local.tzolkinMonths[s[0]-1],tzolkinDay:s[0],tzolkinTrecena:s[1]}},_toHaab:function(f){var l=M(8+(f-=this.jdEpoch)+340,365);return[Math.floor(l/20)+1,M(l,20)]},_toTzolkin:function(f){return[v(20+(f-=this.jdEpoch),20),v(f+4,13)]},toJD:function(f,l,a){var u=this._validate(f,l,a,d.local.invalidDate);return u.day()+20*u.month()+360*u.year()+this.jdEpoch},fromJD:function(f){f=Math.floor(f)+.5-this.jdEpoch;var l=Math.floor(f/360);f%=360,f+=f<0?360:0;var a=Math.floor(f/20),u=f%20;return this.newDate(l,a,u)}}),d.calendars.mayan=i},29108:function(T,p,t){var d=t(63489),g=t(56131);function i(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar;var M=d.instance("gregorian");g(i.prototype,{name:"Nanakshahi",jdEpoch:22576735e-1,daysPerMonth:[31,31,31,31,31,30,30,30,30,30,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Nanakshahi",epochs:["BN","AN"],monthNames:["Chet","Vaisakh","Jeth","Harh","Sawan","Bhadon","Assu","Katak","Maghar","Poh","Magh","Phagun"],monthNamesShort:["Che","Vai","Jet","Har","Saw","Bha","Ass","Kat","Mgr","Poh","Mgh","Pha"],dayNames:["Somvaar","Mangalvar","Budhvaar","Veervaar","Shukarvaar","Sanicharvaar","Etvaar"],dayNamesShort:["Som","Mangal","Budh","Veer","Shukar","Sanichar","Et"],dayNamesMin:["So","Ma","Bu","Ve","Sh","Sa","Et"],digits:null,dateFormat:"dd-mm-yyyy",firstDay:0,isRTL:!1}},leapYear:function(v){var f=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear||d.regionalOptions[""].invalidYear);return M.leapYear(f.year()+(f.year()<1?1:0)+1469)},weekOfYear:function(v,f,l){var a=this.newDate(v,f,l);return a.add(1-(a.dayOfWeek()||7),"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInMonth:function(v,f){var l=this._validate(v,f,this.minDay,d.local.invalidMonth);return this.daysPerMonth[l.month()-1]+(l.month()===12&&this.leapYear(l.year())?1:0)},weekDay:function(v,f,l){return(this.dayOfWeek(v,f,l)||7)<6},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidMonth);(v=a.year())<0&&v++;for(var u=a.day(),o=1;o=this.toJD(f+1,1,1);)f++;for(var l=v-Math.floor(this.toJD(f,1,1)+.5)+1,a=1;l>this.daysInMonth(f,a);)l-=this.daysInMonth(f,a),a++;return this.newDate(f,a,l)}}),d.calendars.nanakshahi=i},55422:function(T,p,t){var d=t(63489),g=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,g(i.prototype,{name:"Nepali",jdEpoch:17007095e-1,daysPerMonth:[31,31,32,32,31,30,30,29,30,29,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,daysPerYear:365,regionalOptions:{"":{name:"Nepali",epochs:["BBS","ABS"],monthNames:["Baisakh","Jestha","Ashadh","Shrawan","Bhadra","Ashwin","Kartik","Mangsir","Paush","Mangh","Falgun","Chaitra"],monthNamesShort:["Bai","Je","As","Shra","Bha","Ash","Kar","Mang","Pau","Ma","Fal","Chai"],dayNames:["Aaitabaar","Sombaar","Manglbaar","Budhabaar","Bihibaar","Shukrabaar","Shanibaar"],dayNamesShort:["Aaita","Som","Mangl","Budha","Bihi","Shukra","Shani"],dayNamesMin:["Aai","So","Man","Bu","Bi","Shu","Sha"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:1,isRTL:!1}},leapYear:function(M){return this.daysInYear(M)!==this.daysPerYear},weekOfYear:function(M,v,f){var l=this.newDate(M,v,f);return l.add(-l.dayOfWeek(),"d"),Math.floor((l.dayOfYear()-1)/7)+1},daysInYear:function(M){if(M=this._validate(M,this.minMonth,this.minDay,d.local.invalidYear).year(),this.NEPALI_CALENDAR_DATA[M]===void 0)return this.daysPerYear;for(var v=0,f=this.minMonth;f<=12;f++)v+=this.NEPALI_CALENDAR_DATA[M][f];return v},daysInMonth:function(M,v){return M.year&&(v=M.month(),M=M.year()),this._validate(M,v,this.minDay,d.local.invalidMonth),this.NEPALI_CALENDAR_DATA[M]===void 0?this.daysPerMonth[v-1]:this.NEPALI_CALENDAR_DATA[M][v]},weekDay:function(M,v,f){return this.dayOfWeek(M,v,f)!==6},toJD:function(M,v,f){var l=this._validate(M,v,f,d.local.invalidDate);M=l.year(),v=l.month(),f=l.day();var a=d.instance(),u=0,o=v,s=M;this._createMissingCalendarData(M);var c=M-(o>9||o===9&&f>=this.NEPALI_CALENDAR_DATA[s][0]?56:57);for(v!==9&&(u=f,o--);o!==9;)o<=0&&(o=12,s--),u+=this.NEPALI_CALENDAR_DATA[s][o],o--;return v===9?(u+=f-this.NEPALI_CALENDAR_DATA[s][0])<0&&(u+=a.daysInYear(c)):u+=this.NEPALI_CALENDAR_DATA[s][9]-this.NEPALI_CALENDAR_DATA[s][0],a.newDate(c,1,1).add(u,"d").toJD()},fromJD:function(M){var v=d.instance().fromJD(M),f=v.year(),l=v.dayOfYear(),a=f+56;this._createMissingCalendarData(a);for(var u=9,o=this.NEPALI_CALENDAR_DATA[a][0],s=this.NEPALI_CALENDAR_DATA[a][u]-o+1;l>s;)++u>12&&(u=1,a++),s+=this.NEPALI_CALENDAR_DATA[a][u];var c=this.NEPALI_CALENDAR_DATA[a][u]-(s-l);return this.newDate(a,u,c)},_createMissingCalendarData:function(M){var v=this.daysPerMonth.slice(0);v.unshift(17);for(var f=M-1;f0?474:473))%2820+474+38)%2816<682},weekOfYear:function(v,f,l){var a=this.newDate(v,f,l);return a.add(-(a.dayOfWeek()+1)%7,"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInMonth:function(v,f){var l=this._validate(v,f,this.minDay,d.local.invalidMonth);return this.daysPerMonth[l.month()-1]+(l.month()===12&&this.leapYear(l.year())?1:0)},weekDay:function(v,f,l){return this.dayOfWeek(v,f,l)!==5},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);v=a.year(),f=a.month(),l=a.day();var u=v-(v>=0?474:473),o=474+M(u,2820);return l+(f<=7?31*(f-1):30*(f-1)+6)+Math.floor((682*o-110)/2816)+365*(o-1)+1029983*Math.floor(u/2820)+this.jdEpoch-1},fromJD:function(v){var f=(v=Math.floor(v)+.5)-this.toJD(475,1,1),l=Math.floor(f/1029983),a=M(f,1029983),u=2820;if(a!==1029982){var o=Math.floor(a/366),s=M(a,366);u=Math.floor((2134*o+2816*s+2815)/1028522)+o+1}var c=u+2820*l+474;c=c<=0?c-1:c;var h=v-this.toJD(c,1,1)+1,m=h<=186?Math.ceil(h/31):Math.ceil((h-6)/30),w=v-this.toJD(c,m,1)+1;return this.newDate(c,m,w)}}),d.calendars.persian=i,d.calendars.jalali=i},31320:function(T,p,t){var d=t(63489),g=t(56131),i=d.instance();function M(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}M.prototype=new d.baseCalendar,g(M.prototype,{name:"Taiwan",jdEpoch:24194025e-1,yearsOffset:1911,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Taiwan",epochs:["BROC","ROC"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:1,isRTL:!1}},leapYear:function(v){var f=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return v=this._t2gYear(f.year()),i.leapYear(v)},weekOfYear:function(v,f,l){var a=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return v=this._t2gYear(a.year()),i.weekOfYear(v,a.month(),a.day())},daysInMonth:function(v,f){var l=this._validate(v,f,this.minDay,d.local.invalidMonth);return this.daysPerMonth[l.month()-1]+(l.month()===2&&this.leapYear(l.year())?1:0)},weekDay:function(v,f,l){return(this.dayOfWeek(v,f,l)||7)<6},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);return v=this._t2gYear(a.year()),i.toJD(v,a.month(),a.day())},fromJD:function(v){var f=i.fromJD(v),l=this._g2tYear(f.year());return this.newDate(l,f.month(),f.day())},_t2gYear:function(v){return v+this.yearsOffset+(v>=-this.yearsOffset&&v<=-1?1:0)},_g2tYear:function(v){return v-this.yearsOffset-(v>=1&&v<=this.yearsOffset?1:0)}}),d.calendars.taiwan=M},51367:function(T,p,t){var d=t(63489),g=t(56131),i=d.instance();function M(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}M.prototype=new d.baseCalendar,g(M.prototype,{name:"Thai",jdEpoch:15230985e-1,yearsOffset:543,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Thai",epochs:["BBE","BE"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(v){var f=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return v=this._t2gYear(f.year()),i.leapYear(v)},weekOfYear:function(v,f,l){var a=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return v=this._t2gYear(a.year()),i.weekOfYear(v,a.month(),a.day())},daysInMonth:function(v,f){var l=this._validate(v,f,this.minDay,d.local.invalidMonth);return this.daysPerMonth[l.month()-1]+(l.month()===2&&this.leapYear(l.year())?1:0)},weekDay:function(v,f,l){return(this.dayOfWeek(v,f,l)||7)<6},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);return v=this._t2gYear(a.year()),i.toJD(v,a.month(),a.day())},fromJD:function(v){var f=i.fromJD(v),l=this._g2tYear(f.year());return this.newDate(l,f.month(),f.day())},_t2gYear:function(v){return v-this.yearsOffset-(v>=1&&v<=this.yearsOffset?1:0)},_g2tYear:function(v){return v+this.yearsOffset+(v>=-this.yearsOffset&&v<=-1?1:0)}}),d.calendars.thai=M},21457:function(T,p,t){var d=t(63489),g=t(56131);function i(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,g(i.prototype,{name:"UmmAlQura",hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Umm al-Qura",epochs:["BH","AH"],monthNames:["Al-Muharram","Safar","Rabi' al-awwal","Rabi' Al-Thani","Jumada Al-Awwal","Jumada Al-Thani","Rajab","Sha'aban","Ramadan","Shawwal","Dhu al-Qi'dah","Dhu al-Hijjah"],monthNamesShort:["Muh","Saf","Rab1","Rab2","Jum1","Jum2","Raj","Sha'","Ram","Shaw","DhuQ","DhuH"],dayNames:["Yawm al-Ahad","Yawm al-Ithnain","Yawm al-Thalāthā’","Yawm al-Arba‘ā’","Yawm al-Khamīs","Yawm al-Jum‘a","Yawm al-Sabt"],dayNamesMin:["Ah","Ith","Th","Ar","Kh","Ju","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!0}},leapYear:function(v){var f=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return this.daysInYear(f.year())===355},weekOfYear:function(v,f,l){var a=this.newDate(v,f,l);return a.add(-a.dayOfWeek(),"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInYear:function(v){for(var f=0,l=1;l<=12;l++)f+=this.daysInMonth(v,l);return f},daysInMonth:function(v,f){for(var l=this._validate(v,f,this.minDay,d.local.invalidMonth).toJD()-24e5+.5,a=0,u=0;ul)return M[a]-M[a-1];a++}return 30},weekDay:function(v,f,l){return this.dayOfWeek(v,f,l)!==5},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate),u=12*(a.year()-1)+a.month()-15292;return a.day()+M[u-1]-1+24e5-.5},fromJD:function(v){for(var f=v-24e5+.5,l=0,a=0;af);a++)l++;var u=l+15292,o=Math.floor((u-1)/12),s=o+1,c=u-12*o,h=f-M[l-1]+1;return this.newDate(s,c,h)},isValid:function(v,f,l){var a=d.baseCalendar.prototype.isValid.apply(this,arguments);return a&&(a=(v=v.year!=null?v.year:v)>=1276&&v<=1500),a},_validate:function(v,f,l,a){var u=d.baseCalendar.prototype._validate.apply(this,arguments);if(u.year<1276||u.year>1500)throw a.replace(/\{0\}/,this.local.name);return u}}),d.calendars.ummalqura=i;var M=[20,50,79,109,138,168,197,227,256,286,315,345,374,404,433,463,492,522,551,581,611,641,670,700,729,759,788,818,847,877,906,936,965,995,1024,1054,1083,1113,1142,1172,1201,1231,1260,1290,1320,1350,1379,1409,1438,1468,1497,1527,1556,1586,1615,1645,1674,1704,1733,1763,1792,1822,1851,1881,1910,1940,1969,1999,2028,2058,2087,2117,2146,2176,2205,2235,2264,2294,2323,2353,2383,2413,2442,2472,2501,2531,2560,2590,2619,2649,2678,2708,2737,2767,2796,2826,2855,2885,2914,2944,2973,3003,3032,3062,3091,3121,3150,3180,3209,3239,3268,3298,3327,3357,3386,3416,3446,3476,3505,3535,3564,3594,3623,3653,3682,3712,3741,3771,3800,3830,3859,3889,3918,3948,3977,4007,4036,4066,4095,4125,4155,4185,4214,4244,4273,4303,4332,4362,4391,4421,4450,4480,4509,4539,4568,4598,4627,4657,4686,4716,4745,4775,4804,4834,4863,4893,4922,4952,4981,5011,5040,5070,5099,5129,5158,5188,5218,5248,5277,5307,5336,5366,5395,5425,5454,5484,5513,5543,5572,5602,5631,5661,5690,5720,5749,5779,5808,5838,5867,5897,5926,5956,5985,6015,6044,6074,6103,6133,6162,6192,6221,6251,6281,6311,6340,6370,6399,6429,6458,6488,6517,6547,6576,6606,6635,6665,6694,6724,6753,6783,6812,6842,6871,6901,6930,6960,6989,7019,7048,7078,7107,7137,7166,7196,7225,7255,7284,7314,7344,7374,7403,7433,7462,7492,7521,7551,7580,7610,7639,7669,7698,7728,7757,7787,7816,7846,7875,7905,7934,7964,7993,8023,8053,8083,8112,8142,8171,8201,8230,8260,8289,8319,8348,8378,8407,8437,8466,8496,8525,8555,8584,8614,8643,8673,8702,8732,8761,8791,8821,8850,8880,8909,8938,8968,8997,9027,9056,9086,9115,9145,9175,9205,9234,9264,9293,9322,9352,9381,9410,9440,9470,9499,9529,9559,9589,9618,9648,9677,9706,9736,9765,9794,9824,9853,9883,9913,9943,9972,10002,10032,10061,10090,10120,10149,10178,10208,10237,10267,10297,10326,10356,10386,10415,10445,10474,10504,10533,10562,10592,10621,10651,10680,10710,10740,10770,10799,10829,10858,10888,10917,10947,10976,11005,11035,11064,11094,11124,11153,11183,11213,11242,11272,11301,11331,11360,11389,11419,11448,11478,11507,11537,11567,11596,11626,11655,11685,11715,11744,11774,11803,11832,11862,11891,11921,11950,11980,12010,12039,12069,12099,12128,12158,12187,12216,12246,12275,12304,12334,12364,12393,12423,12453,12483,12512,12542,12571,12600,12630,12659,12688,12718,12747,12777,12807,12837,12866,12896,12926,12955,12984,13014,13043,13072,13102,13131,13161,13191,13220,13250,13280,13310,13339,13368,13398,13427,13456,13486,13515,13545,13574,13604,13634,13664,13693,13723,13752,13782,13811,13840,13870,13899,13929,13958,13988,14018,14047,14077,14107,14136,14166,14195,14224,14254,14283,14313,14342,14372,14401,14431,14461,14490,14520,14550,14579,14609,14638,14667,14697,14726,14756,14785,14815,14844,14874,14904,14933,14963,14993,15021,15051,15081,15110,15140,15169,15199,15228,15258,15287,15317,15347,15377,15406,15436,15465,15494,15524,15553,15582,15612,15641,15671,15701,15731,15760,15790,15820,15849,15878,15908,15937,15966,15996,16025,16055,16085,16114,16144,16174,16204,16233,16262,16292,16321,16350,16380,16409,16439,16468,16498,16528,16558,16587,16617,16646,16676,16705,16734,16764,16793,16823,16852,16882,16912,16941,16971,17001,17030,17060,17089,17118,17148,17177,17207,17236,17266,17295,17325,17355,17384,17414,17444,17473,17502,17532,17561,17591,17620,17650,17679,17709,17738,17768,17798,17827,17857,17886,17916,17945,17975,18004,18034,18063,18093,18122,18152,18181,18211,18241,18270,18300,18330,18359,18388,18418,18447,18476,18506,18535,18565,18595,18625,18654,18684,18714,18743,18772,18802,18831,18860,18890,18919,18949,18979,19008,19038,19068,19098,19127,19156,19186,19215,19244,19274,19303,19333,19362,19392,19422,19452,19481,19511,19540,19570,19599,19628,19658,19687,19717,19746,19776,19806,19836,19865,19895,19924,19954,19983,20012,20042,20071,20101,20130,20160,20190,20219,20249,20279,20308,20338,20367,20396,20426,20455,20485,20514,20544,20573,20603,20633,20662,20692,20721,20751,20780,20810,20839,20869,20898,20928,20957,20987,21016,21046,21076,21105,21135,21164,21194,21223,21253,21282,21312,21341,21371,21400,21430,21459,21489,21519,21548,21578,21607,21637,21666,21696,21725,21754,21784,21813,21843,21873,21902,21932,21962,21991,22021,22050,22080,22109,22138,22168,22197,22227,22256,22286,22316,22346,22375,22405,22434,22464,22493,22522,22552,22581,22611,22640,22670,22700,22730,22759,22789,22818,22848,22877,22906,22936,22965,22994,23024,23054,23083,23113,23143,23173,23202,23232,23261,23290,23320,23349,23379,23408,23438,23467,23497,23527,23556,23586,23616,23645,23674,23704,23733,23763,23792,23822,23851,23881,23910,23940,23970,23999,24029,24058,24088,24117,24147,24176,24206,24235,24265,24294,24324,24353,24383,24413,24442,24472,24501,24531,24560,24590,24619,24648,24678,24707,24737,24767,24796,24826,24856,24885,24915,24944,24974,25003,25032,25062,25091,25121,25150,25180,25210,25240,25269,25299,25328,25358,25387,25416,25446,25475,25505,25534,25564,25594,25624,25653,25683,25712,25742,25771,25800,25830,25859,25888,25918,25948,25977,26007,26037,26067,26096,26126,26155,26184,26214,26243,26272,26302,26332,26361,26391,26421,26451,26480,26510,26539,26568,26598,26627,26656,26686,26715,26745,26775,26805,26834,26864,26893,26923,26952,26982,27011,27041,27070,27099,27129,27159,27188,27218,27248,27277,27307,27336,27366,27395,27425,27454,27484,27513,27542,27572,27602,27631,27661,27691,27720,27750,27779,27809,27838,27868,27897,27926,27956,27985,28015,28045,28074,28104,28134,28163,28193,28222,28252,28281,28310,28340,28369,28399,28428,28458,28488,28517,28547,28577,28607,28636,28665,28695,28724,28754,28783,28813,28843,28872,28901,28931,28960,28990,29019,29049,29078,29108,29137,29167,29196,29226,29255,29285,29315,29345,29375,29404,29434,29463,29492,29522,29551,29580,29610,29640,29669,29699,29729,29759,29788,29818,29847,29876,29906,29935,29964,29994,30023,30053,30082,30112,30141,30171,30200,30230,30259,30289,30318,30348,30378,30408,30437,30467,30496,30526,30555,30585,30614,30644,30673,30703,30732,30762,30791,30821,30850,30880,30909,30939,30968,30998,31027,31057,31086,31116,31145,31175,31204,31234,31263,31293,31322,31352,31381,31411,31441,31471,31500,31530,31559,31589,31618,31648,31676,31706,31736,31766,31795,31825,31854,31884,31913,31943,31972,32002,32031,32061,32090,32120,32150,32180,32209,32239,32268,32298,32327,32357,32386,32416,32445,32475,32504,32534,32563,32593,32622,32652,32681,32711,32740,32770,32799,32829,32858,32888,32917,32947,32976,33006,33035,33065,33094,33124,33153,33183,33213,33243,33272,33302,33331,33361,33390,33420,33450,33479,33509,33539,33568,33598,33627,33657,33686,33716,33745,33775,33804,33834,33863,33893,33922,33952,33981,34011,34040,34069,34099,34128,34158,34187,34217,34247,34277,34306,34336,34365,34395,34424,34454,34483,34512,34542,34571,34601,34631,34660,34690,34719,34749,34778,34808,34837,34867,34896,34926,34955,34985,35015,35044,35074,35103,35133,35162,35192,35222,35251,35280,35310,35340,35370,35399,35429,35458,35488,35517,35547,35576,35605,35635,35665,35694,35723,35753,35782,35811,35841,35871,35901,35930,35960,35989,36019,36048,36078,36107,36136,36166,36195,36225,36254,36284,36314,36343,36373,36403,36433,36462,36492,36521,36551,36580,36610,36639,36669,36698,36728,36757,36786,36816,36845,36875,36904,36934,36963,36993,37022,37052,37081,37111,37141,37170,37200,37229,37259,37288,37318,37347,37377,37406,37436,37465,37495,37524,37554,37584,37613,37643,37672,37701,37731,37760,37790,37819,37849,37878,37908,37938,37967,37997,38027,38056,38085,38115,38144,38174,38203,38233,38262,38292,38322,38351,38381,38410,38440,38469,38499,38528,38558,38587,38617,38646,38676,38705,38735,38764,38794,38823,38853,38882,38912,38941,38971,39001,39030,39059,39089,39118,39148,39178,39208,39237,39267,39297,39326,39355,39385,39414,39444,39473,39503,39532,39562,39592,39621,39650,39680,39709,39739,39768,39798,39827,39857,39886,39916,39946,39975,40005,40035,40064,40094,40123,40153,40182,40212,40241,40271,40300,40330,40359,40389,40418,40448,40477,40507,40536,40566,40595,40625,40655,40685,40714,40744,40773,40803,40832,40862,40892,40921,40951,40980,41009,41039,41068,41098,41127,41157,41186,41216,41245,41275,41304,41334,41364,41393,41422,41452,41481,41511,41540,41570,41599,41629,41658,41688,41718,41748,41777,41807,41836,41865,41894,41924,41953,41983,42012,42042,42072,42102,42131,42161,42190,42220,42249,42279,42308,42337,42367,42397,42426,42456,42485,42515,42545,42574,42604,42633,42662,42692,42721,42751,42780,42810,42839,42869,42899,42929,42958,42988,43017,43046,43076,43105,43135,43164,43194,43223,43253,43283,43312,43342,43371,43401,43430,43460,43489,43519,43548,43578,43607,43637,43666,43696,43726,43755,43785,43814,43844,43873,43903,43932,43962,43991,44021,44050,44080,44109,44139,44169,44198,44228,44258,44287,44317,44346,44375,44405,44434,44464,44493,44523,44553,44582,44612,44641,44671,44700,44730,44759,44788,44818,44847,44877,44906,44936,44966,44996,45025,45055,45084,45114,45143,45172,45202,45231,45261,45290,45320,45350,45380,45409,45439,45468,45498,45527,45556,45586,45615,45644,45674,45704,45733,45763,45793,45823,45852,45882,45911,45940,45970,45999,46028,46058,46088,46117,46147,46177,46206,46236,46265,46295,46324,46354,46383,46413,46442,46472,46501,46531,46560,46590,46620,46649,46679,46708,46738,46767,46797,46826,46856,46885,46915,46944,46974,47003,47033,47063,47092,47122,47151,47181,47210,47240,47269,47298,47328,47357,47387,47417,47446,47476,47506,47535,47565,47594,47624,47653,47682,47712,47741,47771,47800,47830,47860,47890,47919,47949,47978,48008,48037,48066,48096,48125,48155,48184,48214,48244,48273,48303,48333,48362,48392,48421,48450,48480,48509,48538,48568,48598,48627,48657,48687,48717,48746,48776,48805,48834,48864,48893,48922,48952,48982,49011,49041,49071,49100,49130,49160,49189,49218,49248,49277,49306,49336,49365,49395,49425,49455,49484,49514,49543,49573,49602,49632,49661,49690,49720,49749,49779,49809,49838,49868,49898,49927,49957,49986,50016,50045,50075,50104,50133,50163,50192,50222,50252,50281,50311,50340,50370,50400,50429,50459,50488,50518,50547,50576,50606,50635,50665,50694,50724,50754,50784,50813,50843,50872,50902,50931,50960,50990,51019,51049,51078,51108,51138,51167,51197,51227,51256,51286,51315,51345,51374,51403,51433,51462,51492,51522,51552,51582,51611,51641,51670,51699,51729,51758,51787,51816,51846,51876,51906,51936,51965,51995,52025,52054,52083,52113,52142,52171,52200,52230,52260,52290,52319,52349,52379,52408,52438,52467,52497,52526,52555,52585,52614,52644,52673,52703,52733,52762,52792,52822,52851,52881,52910,52939,52969,52998,53028,53057,53087,53116,53146,53176,53205,53235,53264,53294,53324,53353,53383,53412,53441,53471,53500,53530,53559,53589,53619,53648,53678,53708,53737,53767,53796,53825,53855,53884,53913,53943,53973,54003,54032,54062,54092,54121,54151,54180,54209,54239,54268,54297,54327,54357,54387,54416,54446,54476,54505,54535,54564,54593,54623,54652,54681,54711,54741,54770,54800,54830,54859,54889,54919,54948,54977,55007,55036,55066,55095,55125,55154,55184,55213,55243,55273,55302,55332,55361,55391,55420,55450,55479,55508,55538,55567,55597,55627,55657,55686,55716,55745,55775,55804,55834,55863,55892,55922,55951,55981,56011,56040,56070,56100,56129,56159,56188,56218,56247,56276,56306,56335,56365,56394,56424,56454,56483,56513,56543,56572,56601,56631,56660,56690,56719,56749,56778,56808,56837,56867,56897,56926,56956,56985,57015,57044,57074,57103,57133,57162,57192,57221,57251,57280,57310,57340,57369,57399,57429,57458,57487,57517,57546,57576,57605,57634,57664,57694,57723,57753,57783,57813,57842,57871,57901,57930,57959,57989,58018,58048,58077,58107,58137,58167,58196,58226,58255,58285,58314,58343,58373,58402,58432,58461,58491,58521,58551,58580,58610,58639,58669,58698,58727,58757,58786,58816,58845,58875,58905,58934,58964,58994,59023,59053,59082,59111,59141,59170,59200,59229,59259,59288,59318,59348,59377,59407,59436,59466,59495,59525,59554,59584,59613,59643,59672,59702,59731,59761,59791,59820,59850,59879,59909,59939,59968,59997,60027,60056,60086,60115,60145,60174,60204,60234,60264,60293,60323,60352,60381,60411,60440,60469,60499,60528,60558,60588,60618,60648,60677,60707,60736,60765,60795,60824,60853,60883,60912,60942,60972,61002,61031,61061,61090,61120,61149,61179,61208,61237,61267,61296,61326,61356,61385,61415,61445,61474,61504,61533,61563,61592,61621,61651,61680,61710,61739,61769,61799,61828,61858,61888,61917,61947,61976,62006,62035,62064,62094,62123,62153,62182,62212,62242,62271,62301,62331,62360,62390,62419,62448,62478,62507,62537,62566,62596,62625,62655,62685,62715,62744,62774,62803,62832,62862,62891,62921,62950,62980,63009,63039,63069,63099,63128,63157,63187,63216,63246,63275,63305,63334,63363,63393,63423,63453,63482,63512,63541,63571,63600,63630,63659,63689,63718,63747,63777,63807,63836,63866,63895,63925,63955,63984,64014,64043,64073,64102,64131,64161,64190,64220,64249,64279,64309,64339,64368,64398,64427,64457,64486,64515,64545,64574,64603,64633,64663,64692,64722,64752,64782,64811,64841,64870,64899,64929,64958,64987,65017,65047,65076,65106,65136,65166,65195,65225,65254,65283,65313,65342,65371,65401,65431,65460,65490,65520,65549,65579,65608,65638,65667,65697,65726,65755,65785,65815,65844,65874,65903,65933,65963,65992,66022,66051,66081,66110,66140,66169,66199,66228,66258,66287,66317,66346,66376,66405,66435,66465,66494,66524,66553,66583,66612,66641,66671,66700,66730,66760,66789,66819,66849,66878,66908,66937,66967,66996,67025,67055,67084,67114,67143,67173,67203,67233,67262,67292,67321,67351,67380,67409,67439,67468,67497,67527,67557,67587,67617,67646,67676,67705,67735,67764,67793,67823,67852,67882,67911,67941,67971,68e3,68030,68060,68089,68119,68148,68177,68207,68236,68266,68295,68325,68354,68384,68414,68443,68473,68502,68532,68561,68591,68620,68650,68679,68708,68738,68768,68797,68827,68857,68886,68916,68946,68975,69004,69034,69063,69092,69122,69152,69181,69211,69240,69270,69300,69330,69359,69388,69418,69447,69476,69506,69535,69565,69595,69624,69654,69684,69713,69743,69772,69802,69831,69861,69890,69919,69949,69978,70008,70038,70067,70097,70126,70156,70186,70215,70245,70274,70303,70333,70362,70392,70421,70451,70481,70510,70540,70570,70599,70629,70658,70687,70717,70746,70776,70805,70835,70864,70894,70924,70954,70983,71013,71042,71071,71101,71130,71159,71189,71218,71248,71278,71308,71337,71367,71397,71426,71455,71485,71514,71543,71573,71602,71632,71662,71691,71721,71751,71781,71810,71839,71869,71898,71927,71957,71986,72016,72046,72075,72105,72135,72164,72194,72223,72253,72282,72311,72341,72370,72400,72429,72459,72489,72518,72548,72577,72607,72637,72666,72695,72725,72754,72784,72813,72843,72872,72902,72931,72961,72991,73020,73050,73080,73109,73139,73168,73197,73227,73256,73286,73315,73345,73375,73404,73434,73464,73493,73523,73552,73581,73611,73640,73669,73699,73729,73758,73788,73818,73848,73877,73907,73936,73965,73995,74024,74053,74083,74113,74142,74172,74202,74231,74261,74291,74320,74349,74379,74408,74437,74467,74497,74526,74556,74586,74615,74645,74675,74704,74733,74763,74792,74822,74851,74881,74910,74940,74969,74999,75029,75058,75088,75117,75147,75176,75206,75235,75264,75294,75323,75353,75383,75412,75442,75472,75501,75531,75560,75590,75619,75648,75678,75707,75737,75766,75796,75826,75856,75885,75915,75944,75974,76003,76032,76062,76091,76121,76150,76180,76210,76239,76269,76299,76328,76358,76387,76416,76446,76475,76505,76534,76564,76593,76623,76653,76682,76712,76741,76771,76801,76830,76859,76889,76918,76948,76977,77007,77036,77066,77096,77125,77155,77185,77214,77243,77273,77302,77332,77361,77390,77420,77450,77479,77509,77539,77569,77598,77627,77657,77686,77715,77745,77774,77804,77833,77863,77893,77923,77952,77982,78011,78041,78070,78099,78129,78158,78188,78217,78247,78277,78307,78336,78366,78395,78425,78454,78483,78513,78542,78572,78601,78631,78661,78690,78720,78750,78779,78808,78838,78867,78897,78926,78956,78985,79015,79044,79074,79104,79133,79163,79192,79222,79251,79281,79310,79340,79369,79399,79428,79458,79487,79517,79546,79576,79606,79635,79665,79695,79724,79753,79783,79812,79841,79871,79900,79930,79960,79990]},63489:function(T,p,t){var d=t(56131);function g(){this.regionalOptions=[],this.regionalOptions[""]={invalidCalendar:"Calendar {0} not found",invalidDate:"Invalid {0} date",invalidMonth:"Invalid {0} month",invalidYear:"Invalid {0} year",differentCalendars:"Cannot mix {0} and {1} dates"},this.local=this.regionalOptions[""],this.calendars={},this._localCals={}}function i(a,u,o,s){if(this._calendar=a,this._year=u,this._month=o,this._day=s,this._calendar._validateLevel===0&&!this._calendar.isValid(this._year,this._month,this._day))throw(l.local.invalidDate||l.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name)}function M(a,u){return"000000".substring(0,u-(a=""+a).length)+a}function v(){this.shortYearCutoff="+10"}function f(a){this.local=this.regionalOptions[a]||this.regionalOptions[""]}d(g.prototype,{instance:function(a,u){a=(a||"gregorian").toLowerCase(),u=u||"";var o=this._localCals[a+"-"+u];if(!o&&this.calendars[a]&&(o=new this.calendars[a](u),this._localCals[a+"-"+u]=o),!o)throw(this.local.invalidCalendar||this.regionalOptions[""].invalidCalendar).replace(/\{0\}/,a);return o},newDate:function(a,u,o,s,c){return(s=(a!=null&&a.year?a.calendar():typeof s=="string"?this.instance(s,c):s)||this.instance()).newDate(a,u,o)},substituteDigits:function(a){return function(u){return(u+"").replace(/[0-9]/g,function(o){return a[o]})}},substituteChineseDigits:function(a,u){return function(o){for(var s="",c=0;o>0;){var h=o%10;s=(h===0?"":a[h]+u[c])+s,c++,o=Math.floor(o/10)}return s.indexOf(a[1]+u[1])===0&&(s=s.substr(1)),s||a[0]}}}),d(i.prototype,{newDate:function(a,u,o){return this._calendar.newDate(a??this,u,o)},year:function(a){return arguments.length===0?this._year:this.set(a,"y")},month:function(a){return arguments.length===0?this._month:this.set(a,"m")},day:function(a){return arguments.length===0?this._day:this.set(a,"d")},date:function(a,u,o){if(!this._calendar.isValid(a,u,o))throw(l.local.invalidDate||l.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name);return this._year=a,this._month=u,this._day=o,this},leapYear:function(){return this._calendar.leapYear(this)},epoch:function(){return this._calendar.epoch(this)},formatYear:function(){return this._calendar.formatYear(this)},monthOfYear:function(){return this._calendar.monthOfYear(this)},weekOfYear:function(){return this._calendar.weekOfYear(this)},daysInYear:function(){return this._calendar.daysInYear(this)},dayOfYear:function(){return this._calendar.dayOfYear(this)},daysInMonth:function(){return this._calendar.daysInMonth(this)},dayOfWeek:function(){return this._calendar.dayOfWeek(this)},weekDay:function(){return this._calendar.weekDay(this)},extraInfo:function(){return this._calendar.extraInfo(this)},add:function(a,u){return this._calendar.add(this,a,u)},set:function(a,u){return this._calendar.set(this,a,u)},compareTo:function(a){if(this._calendar.name!==a._calendar.name)throw(l.local.differentCalendars||l.regionalOptions[""].differentCalendars).replace(/\{0\}/,this._calendar.local.name).replace(/\{1\}/,a._calendar.local.name);var u=this._year!==a._year?this._year-a._year:this._month!==a._month?this.monthOfYear()-a.monthOfYear():this._day-a._day;return u===0?0:u<0?-1:1},calendar:function(){return this._calendar},toJD:function(){return this._calendar.toJD(this)},fromJD:function(a){return this._calendar.fromJD(a)},toJSDate:function(){return this._calendar.toJSDate(this)},fromJSDate:function(a){return this._calendar.fromJSDate(a)},toString:function(){return(this.year()<0?"-":"")+M(Math.abs(this.year()),4)+"-"+M(this.month(),2)+"-"+M(this.day(),2)}}),d(v.prototype,{_validateLevel:0,newDate:function(a,u,o){return a==null?this.today():(a.year&&(this._validate(a,u,o,l.local.invalidDate||l.regionalOptions[""].invalidDate),o=a.day(),u=a.month(),a=a.year()),new i(this,a,u,o))},today:function(){return this.fromJSDate(new Date)},epoch:function(a){return this._validate(a,this.minMonth,this.minDay,l.local.invalidYear||l.regionalOptions[""].invalidYear).year()<0?this.local.epochs[0]:this.local.epochs[1]},formatYear:function(a){var u=this._validate(a,this.minMonth,this.minDay,l.local.invalidYear||l.regionalOptions[""].invalidYear);return(u.year()<0?"-":"")+M(Math.abs(u.year()),4)},monthsInYear:function(a){return this._validate(a,this.minMonth,this.minDay,l.local.invalidYear||l.regionalOptions[""].invalidYear),12},monthOfYear:function(a,u){var o=this._validate(a,u,this.minDay,l.local.invalidMonth||l.regionalOptions[""].invalidMonth);return(o.month()+this.monthsInYear(o)-this.firstMonth)%this.monthsInYear(o)+this.minMonth},fromMonthOfYear:function(a,u){var o=(u+this.firstMonth-2*this.minMonth)%this.monthsInYear(a)+this.minMonth;return this._validate(a,o,this.minDay,l.local.invalidMonth||l.regionalOptions[""].invalidMonth),o},daysInYear:function(a){var u=this._validate(a,this.minMonth,this.minDay,l.local.invalidYear||l.regionalOptions[""].invalidYear);return this.leapYear(u)?366:365},dayOfYear:function(a,u,o){var s=this._validate(a,u,o,l.local.invalidDate||l.regionalOptions[""].invalidDate);return s.toJD()-this.newDate(s.year(),this.fromMonthOfYear(s.year(),this.minMonth),this.minDay).toJD()+1},daysInWeek:function(){return 7},dayOfWeek:function(a,u,o){var s=this._validate(a,u,o,l.local.invalidDate||l.regionalOptions[""].invalidDate);return(Math.floor(this.toJD(s))+2)%this.daysInWeek()},extraInfo:function(a,u,o){return this._validate(a,u,o,l.local.invalidDate||l.regionalOptions[""].invalidDate),{}},add:function(a,u,o){return this._validate(a,this.minMonth,this.minDay,l.local.invalidDate||l.regionalOptions[""].invalidDate),this._correctAdd(a,this._add(a,u,o),u,o)},_add:function(a,u,o){if(this._validateLevel++,o==="d"||o==="w"){var s=a.toJD()+u*(o==="w"?this.daysInWeek():1),c=a.calendar().fromJD(s);return this._validateLevel--,[c.year(),c.month(),c.day()]}try{var h=a.year()+(o==="y"?u:0),m=a.monthOfYear()+(o==="m"?u:0);c=a.day(),o==="y"?(a.month()!==this.fromMonthOfYear(h,m)&&(m=this.newDate(h,a.month(),this.minDay).monthOfYear()),m=Math.min(m,this.monthsInYear(h)),c=Math.min(c,this.daysInMonth(h,this.fromMonthOfYear(h,m)))):o==="m"&&(function(y){for(;mS-1+y.minMonth;)h++,m-=S,S=y.monthsInYear(h)}(this),c=Math.min(c,this.daysInMonth(h,this.fromMonthOfYear(h,m))));var w=[h,this.fromMonthOfYear(h,m),c];return this._validateLevel--,w}catch(y){throw this._validateLevel--,y}},_correctAdd:function(a,u,o,s){if(!(this.hasYearZero||s!=="y"&&s!=="m"||u[0]!==0&&a.year()>0==u[0]>0)){var c={y:[1,1,"y"],m:[1,this.monthsInYear(-1),"m"],w:[this.daysInWeek(),this.daysInYear(-1),"d"],d:[1,this.daysInYear(-1),"d"]}[s],h=o<0?-1:1;u=this._add(a,o*c[0]+h*c[1],c[2])}return a.date(u[0],u[1],u[2])},set:function(a,u,o){this._validate(a,this.minMonth,this.minDay,l.local.invalidDate||l.regionalOptions[""].invalidDate);var s=o==="y"?u:a.year(),c=o==="m"?u:a.month(),h=o==="d"?u:a.day();return o!=="y"&&o!=="m"||(h=Math.min(h,this.daysInMonth(s,c))),a.date(s,c,h)},isValid:function(a,u,o){this._validateLevel++;var s=this.hasYearZero||a!==0;if(s){var c=this.newDate(a,u,this.minDay);s=u>=this.minMonth&&u-this.minMonth=this.minDay&&o-this.minDay13.5?13:1),S=c-(y>2.5?4716:4715);return S<=0&&S--,this.newDate(S,y,w)},toJSDate:function(a,u,o){var s=this._validate(a,u,o,l.local.invalidDate||l.regionalOptions[""].invalidDate),c=new Date(s.year(),s.month()-1,s.day());return c.setHours(0),c.setMinutes(0),c.setSeconds(0),c.setMilliseconds(0),c.setHours(c.getHours()>12?c.getHours()+2:0),c},fromJSDate:function(a){return this.newDate(a.getFullYear(),a.getMonth()+1,a.getDate())}});var l=T.exports=new g;l.cdate=i,l.baseCalendar=v,l.calendars.gregorian=f},94338:function(T,p,t){var d=t(56131),g=t(63489);d(g.regionalOptions[""],{invalidArguments:"Invalid arguments",invalidFormat:"Cannot format a date from another calendar",missingNumberAt:"Missing number at position {0}",unknownNameAt:"Unknown name at position {0}",unexpectedLiteralAt:"Unexpected literal at position {0}",unexpectedText:"Additional text found at end"}),g.local=g.regionalOptions[""],d(g.cdate.prototype,{formatDate:function(i,M){return typeof i!="string"&&(M=i,i=""),this._calendar.formatDate(i||"",this,M)}}),d(g.baseCalendar.prototype,{UNIX_EPOCH:g.instance().newDate(1970,1,1).toJD(),SECS_PER_DAY:86400,TICKS_EPOCH:g.instance().jdEpoch,TICKS_PER_DAY:864e9,ATOM:"yyyy-mm-dd",COOKIE:"D, dd M yyyy",FULL:"DD, MM d, yyyy",ISO_8601:"yyyy-mm-dd",JULIAN:"J",RFC_822:"D, d M yy",RFC_850:"DD, dd-M-yy",RFC_1036:"D, d M yy",RFC_1123:"D, d M yyyy",RFC_2822:"D, d M yyyy",RSS:"D, d M yy",TICKS:"!",TIMESTAMP:"@",W3C:"yyyy-mm-dd",formatDate:function(i,M,v){if(typeof i!="string"&&(v=M,M=i,i=""),!M)return"";if(M.calendar()!==this)throw g.local.invalidFormat||g.regionalOptions[""].invalidFormat;i=i||this.local.dateFormat;for(var f,l,a,u=(v=v||{}).dayNamesShort||this.local.dayNamesShort,o=v.dayNames||this.local.dayNames,s=v.monthNumbers||this.local.monthNumbers,c=v.monthNamesShort||this.local.monthNamesShort,h=v.monthNames||this.local.monthNames,m=(v.calculateWeek||this.local.calculateWeek,function(b,R){for(var I=1;L+I1}),w=function(b,R,I,O){var z=""+R;if(m(b,O))for(;z.length1},x=function(N,W){var j=E(N,W),$=[2,3,j?4:2,j?4:2,10,11,20]["oyYJ@!".indexOf(N)+1],U=new RegExp("^-?\\d{1,"+$+"}"),G=M.substring(O).match(U);if(!G)throw(g.local.missingNumberAt||g.regionalOptions[""].missingNumberAt).replace(/\{0\}/,O);return O+=G[0].length,parseInt(G[0],10)},A=this,L=function(){if(typeof o=="function"){E("m");var N=o.call(A,M.substring(O));return O+=N.length,N}return x("m")},b=function(N,W,j,$){for(var U=E(N,$)?j:W,G=0;G-1){w=1,y=S;for(var B=this.daysInMonth(m,w);y>B;B=this.daysInMonth(m,w))w++,y-=B}return h>-1?this.fromJD(h):this.newDate(m,w,y)},determineDate:function(i,M,v,f,l){v&&typeof v!="object"&&(l=f,f=v,v=null),typeof f!="string"&&(l=f,f="");var a=this;return M=M?M.newDate():null,i==null?M:typeof i=="string"?function(u){try{return a.parseDate(f,u,l)}catch{}for(var o=((u=u.toLowerCase()).match(/^c/)&&v?v.newDate():null)||a.today(),s=/([+-]?[0-9]+)\s*(d|w|m|y)?/g,c=s.exec(u);c;)o.add(parseInt(c[1],10),c[2]||"d"),c=s.exec(u);return o}(i):typeof i=="number"?isNaN(i)||i===1/0||i===-1/0?M:a.today().add(i,"d"):a.newDate(i)}})},69862:function(){},40964:function(){},72077:function(T,p,t){var d=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],g=typeof globalThis>"u"?t.g:globalThis;T.exports=function(){for(var i=[],M=0;M>8&15|me>>4&240,me>>4&15|240&me,(15&me)<<4|15&me,1):pe===8?x(me>>24&255,me>>16&255,me>>8&255,(255&me)/255):pe===4?x(me>>12&15|me>>8&240,me>>8&15|me>>4&240,me>>4&15|240&me,((15&me)<<4|15&me)/255):null):(me=o.exec(de))?new b(me[1],me[2],me[3],1):(me=s.exec(de))?new b(255*me[1]/100,255*me[2]/100,255*me[3]/100,1):(me=c.exec(de))?x(me[1],me[2],me[3],me[4]):(me=h.exec(de))?x(255*me[1]/100,255*me[2]/100,255*me[3]/100,me[4]):(me=m.exec(de))?B(me[1],me[2]/100,me[3]/100,1):(me=w.exec(de))?B(me[1],me[2]/100,me[3]/100,me[4]):y.hasOwnProperty(de)?E(y[de]):de==="transparent"?new b(NaN,NaN,NaN,0):null}function E(de){return new b(de>>16&255,de>>8&255,255&de,1)}function x(de,me,pe,xe){return xe<=0&&(de=me=pe=NaN),new b(de,me,pe,xe)}function A(de){return de instanceof i||(de=k(de)),de?new b((de=de.rgb()).r,de.g,de.b,de.opacity):new b}function L(de,me,pe,xe){return arguments.length===1?A(de):new b(de,me,pe,xe??1)}function b(de,me,pe,xe){this.r=+de,this.g=+me,this.b=+pe,this.opacity=+xe}function R(){return"#".concat(F(this.r)).concat(F(this.g)).concat(F(this.b))}function I(){var de=O(this.opacity);return"".concat(de===1?"rgb(":"rgba(").concat(z(this.r),", ").concat(z(this.g),", ").concat(z(this.b)).concat(de===1?")":", ".concat(de,")"))}function O(de){return isNaN(de)?1:Math.max(0,Math.min(1,de))}function z(de){return Math.max(0,Math.min(255,Math.round(de)||0))}function F(de){return((de=z(de))<16?"0":"")+de.toString(16)}function B(de,me,pe,xe){return xe<=0?de=me=pe=NaN:pe<=0||pe>=1?de=me=NaN:me<=0&&(de=NaN),new W(de,me,pe,xe)}function N(de){if(de instanceof W)return new W(de.h,de.s,de.l,de.opacity);if(de instanceof i||(de=k(de)),!de)return new W;if(de instanceof W)return de;var me=(de=de.rgb()).r/255,pe=de.g/255,xe=de.b/255,Pe=Math.min(me,pe,xe),_e=Math.max(me,pe,xe),Me=NaN,Se=_e-Pe,Ce=(_e+Pe)/2;return Se?(Me=me===_e?(pe-xe)/Se+6*(pe0&&Ce<1?0:Me,new W(Me,Se,Ce,de.opacity)}function W(de,me,pe,xe){this.h=+de,this.s=+me,this.l=+pe,this.opacity=+xe}function j(de){return(de=(de||0)%360)<0?de+360:de}function $(de){return Math.max(0,Math.min(1,de||0))}function U(de,me,pe){return 255*(de<60?me+(pe-me)*de/60:de<180?pe:de<240?me+(pe-me)*(240-de)/60:me)}d(i,k,{copy:function(de){return Object.assign(new this.constructor,this,de)},displayable:function(){return this.rgb().displayable()},hex:S,formatHex:S,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return N(this).formatHsl()},formatRgb:_,toString:_}),d(b,L,g(i,{brighter:function(de){return de=de==null?v:Math.pow(v,de),new b(this.r*de,this.g*de,this.b*de,this.opacity)},darker:function(de){return de=de==null?M:Math.pow(M,de),new b(this.r*de,this.g*de,this.b*de,this.opacity)},rgb:function(){return this},clamp:function(){return new b(z(this.r),z(this.g),z(this.b),O(this.opacity))},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:R,formatHex:R,formatHex8:function(){return"#".concat(F(this.r)).concat(F(this.g)).concat(F(this.b)).concat(F(255*(isNaN(this.opacity)?1:this.opacity)))},formatRgb:I,toString:I})),d(W,function(de,me,pe,xe){return arguments.length===1?N(de):new W(de,me,pe,xe??1)},g(i,{brighter:function(de){return de=de==null?v:Math.pow(v,de),new W(this.h,this.s,this.l*de,this.opacity)},darker:function(de){return de=de==null?M:Math.pow(M,de),new W(this.h,this.s,this.l*de,this.opacity)},rgb:function(){var de=this.h%360+360*(this.h<0),me=isNaN(de)||isNaN(this.s)?0:this.s,pe=this.l,xe=pe+(pe<.5?pe:1-pe)*me,Pe=2*pe-xe;return new b(U(de>=240?de-240:de+120,Pe,xe),U(de,Pe,xe),U(de<120?de+240:de-120,Pe,xe),this.opacity)},clamp:function(){return new W(j(this.h),$(this.s),$(this.l),O(this.opacity))},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var de=O(this.opacity);return"".concat(de===1?"hsl(":"hsla(").concat(j(this.h),", ").concat(100*$(this.s),"%, ").concat(100*$(this.l),"%").concat(de===1?")":", ".concat(de,")"))}}));var G=function(de){return function(){return de}};function q(de,me){var pe=me-de;return pe?function(xe,Pe){return function(_e){return xe+_e*Pe}}(de,pe):G(isNaN(de)?me:de)}var H=function de(me){var pe=function(Pe){return(Pe=+Pe)==1?q:function(_e,Me){return Me-_e?function(Se,Ce,ae){return Se=Math.pow(Se,ae),Ce=Math.pow(Ce,ae)-Se,ae=1/ae,function(fe){return Math.pow(Se+fe*Ce,ae)}}(_e,Me,Pe):G(isNaN(_e)?Me:_e)}}(me);function xe(Pe,_e){var Me=pe((Pe=L(Pe)).r,(_e=L(_e)).r),Se=pe(Pe.g,_e.g),Ce=pe(Pe.b,_e.b),ae=q(Pe.opacity,_e.opacity);return function(fe){return Pe.r=Me(fe),Pe.g=Se(fe),Pe.b=Ce(fe),Pe.opacity=ae(fe),Pe+""}}return xe.gamma=de,xe}(1);function ne(de,me){var pe,xe=me?me.length:0,Pe=de?Math.min(xe,de.length):0,_e=new Array(Pe),Me=new Array(xe);for(pe=0;pe_e&&(Pe=me.slice(_e,Pe),Se[Me]?Se[Me]+=Pe:Se[++Me]=Pe),(pe=pe[0])===(xe=xe[0])?Se[Me]?Se[Me]+=xe:Se[++Me]=xe:(Se[++Me]=null,Ce.push({i:Me,x:Z(pe,xe)})),_e=ie.lastIndex;return _en.rt)},yValues(){return this.dataForHeatmapDrawing.map(n=>n.mass)},selectedRange(){switch(this.args.title){case"Raw MS1 Heatmap":return this.selectionStore.selectedRawHeatmap;case"Raw MS2 Heatmap":return this.selectionStore.selectedRawMS2Heatmap;case"Deconvolved MS1 Heatmap":return this.selectionStore.selectedDeconvHeatmap;case"Deconvolved MS2 Heatmap":return this.selectionStore.selectedDeconvMS2Heatmap;default:return}},xRange(){if(this.selectedRange!==void 0)return this.selectedRange.xRange[0]<0&&this.selectedRange.xRange[1]<0?void 0:this.selectedRange.xRange},yRange(){if(this.selectedRange!==void 0)return this.selectedRange.yRange[0]<0&&this.selectedRange.yRange[1]<0?void 0:this.selectedRange.yRange},markerColorValues(){return this.dataForHeatmapDrawing.map(n=>n.intensity)},data(){const n=this.dataForHeatmapDrawing.map(p=>p.intensity),e=Math.min(...n.filter(p=>p>0)),r=Math.max(...n),C=Math.floor(Math.log10(e)),D=Math.ceil(Math.log10(r)),T=Array.from({length:D-C+1},(p,t)=>Math.pow(10,C+t));return[{type:"scattergl",name:"raw peaks",x:this.xValues,y:this.yValues,mode:"markers",marker:{color:this.markerColorValues.map(p=>p>0?Math.log10(p):0),colorscale:"Portland",showscale:!0,colorbar:{title:"Intensity",tickvals:T.map(p=>Math.log10(p)),ticktext:T.map(p=>p.toExponential(0)),tickmode:"array"}},hovertext:this.dataForHeatmapDrawing.map(p=>p.intensity.toExponential(2))}]},layout(){var n,e,r,C;return{title:`${this.args.title}`,showlegend:this.args.showLegend,xaxis:{title:"Retention Time",range:this.xRange},yaxis:{title:this.yAxisLabel,range:this.yRange},paper_bgcolor:(n=this.theme)==null?void 0:n.backgroundColor,plot_bgcolor:(e=this.theme)==null?void 0:e.secondaryBackgroundColor,font:{color:(r=this.theme)==null?void 0:r.textColor,family:(C=this.theme)==null?void 0:C.font}}}},watch:{renderData(){this.graph()},zoomRange(){if(this.zoomRange!==void 0)switch(this.args.title){case"Raw MS1 Heatmap":this.selectionStore.updateRawHeatmapSelection(this.zoomRange);break;case"Raw MS2 Heatmap":this.selectionStore.updateRawMS2HeatmapSelection(this.zoomRange);break;case"Deconvolved MS1 Heatmap":this.selectionStore.updateDeconvHeatmapSelection(this.zoomRange);break;case"Deconvolved MS2 Heatmap":this.selectionStore.updateDeconvMS2HeatmapSelection(this.zoomRange);break}}},mounted(){this.graph()},methods:{async graph(){await Wl.newPlot(this.id,this.data,this.layout,{modeBarButtonsToRemove:["toImage","sendDataToCloud"],modeBarButtonsToAdd:[{title:"Download as SVG",name:"toImageSvg",icon:Wl.Icons.camera,click:e=>{Wl.downloadImage(e,{filename:"FLASHViewer-heatmap",height:400,width:1200,format:"svg"})}}]});const n=document.getElementById(this.id);n&&(n.on("plotly_relayout",e=>{e["xaxis.autorange"]?this.zoomRange={xRange:[-1,-1],yRange:[-1,-1]}:e["xaxis.range[0]"]!==void 0&&e["xaxis.range[1]"]!==void 0&&e["yaxis.range[0]"]!==void 0&&e["yaxis.range[1]"]!==void 0&&(this.zoomRange={xRange:[e["xaxis.range[0]"],e["xaxis.range[1]"]],yRange:[e["yaxis.range[0]"],e["yaxis.range[1]"]]})}),n.on("plotly_click",e=>{const r=this.dataForHeatmapDrawing[e.points[0].pointIndex],C=r==null?void 0:r.scan_idx,D=r==null?void 0:r.mass_idx;C!==void 0&&this.selectionStore.updateSelectedScan(C),this.args.title==="Deconvolved MS1 Heatmap"&&D!==void 0?this.selectionStore.updateSelectedMass(D):this.args.title==="Deconvolved MS2 Heatmap"&&D!==void 0&&this.selectionStore.updateSelectedMass(D)}))}}}),hs=(n,e)=>{const r=n.__vccOpts||n;for(const[C,D]of e)r[C]=D;return r},oR=["id"];function sR(n,e,r,C,D,T){return Rr(),ei("div",{id:n.id,style:{width:"100%"}},null,8,oR)}const lR=hs(aR,[["render",sR]]);class kl{constructor(e){this.table=e}reloadData(e,r,C){return this.table.dataLoader.load(e,void 0,void 0,void 0,r,C)}langText(){return this.table.modules.localize.getText(...arguments)}langBind(){return this.table.modules.localize.bind(...arguments)}langLocale(){return this.table.modules.localize.getLocale(...arguments)}commsConnections(){return this.table.modules.comms.getConnections(...arguments)}commsSend(){return this.table.modules.comms.send(...arguments)}layoutMode(){return this.table.modules.layout.getMode()}layoutRefresh(e){return this.table.modules.layout.layout(e)}subscribe(){return this.table.eventBus.subscribe(...arguments)}unsubscribe(){return this.table.eventBus.unsubscribe(...arguments)}subscribed(e){return this.table.eventBus.subscribed(e)}subscriptionChange(){return this.table.eventBus.subscriptionChange(...arguments)}dispatch(){return this.table.eventBus.dispatch(...arguments)}chain(){return this.table.eventBus.chain(...arguments)}confirm(){return this.table.eventBus.confirm(...arguments)}dispatchExternal(){return this.table.externalEvents.dispatch(...arguments)}subscribedExternal(e){return this.table.externalEvents.subscribed(e)}subscriptionChangeExternal(){return this.table.externalEvents.subscriptionChange(...arguments)}options(e){return this.table.options[e]}setOption(e,r){return typeof r<"u"&&(this.table.options[e]=r),this.table.options[e]}deprecationCheck(e,r,C){return this.table.deprecationAdvisor.check(e,r,C)}deprecationCheckMsg(e,r){return this.table.deprecationAdvisor.checkMsg(e,r)}deprecationMsg(e){return this.table.deprecationAdvisor.msg(e)}module(e){return this.table.module(e)}}class oo{static elVisible(e){return!(e.offsetWidth<=0&&e.offsetHeight<=0)}static elOffset(e){var r=e.getBoundingClientRect();return{top:r.top+window.pageYOffset-document.documentElement.clientTop,left:r.left+window.pageXOffset-document.documentElement.clientLeft}}static retrieveNestedData(e,r,C){var D=e?r.split(e):[r],T=D.length,p;for(let t=0;ti.subject===t),d>-1?r[p]=C[d].copy:(g=Object.assign(Array.isArray(t)?[]:{},t),C.unshift({subject:t,copy:g}),r[p]=this.deepClone(t,g,C)))}return r}}class H2 extends kl{constructor(e,r,C){super(e),this.element=r,this.container=this._lookupContainer(),this.parent=C,this.reversedX=!1,this.childPopup=null,this.blurable=!1,this.blurCallback=null,this.blurEventsBound=!1,this.renderedCallback=null,this.visible=!1,this.hideable=!0,this.element.classList.add("tabulator-popup-container"),this.blurEvent=this.hide.bind(this,!1),this.escEvent=this._escapeCheck.bind(this),this.destroyBinding=this.tableDestroyed.bind(this),this.destroyed=!1}tableDestroyed(){this.destroyed=!0,this.hide(!0)}_lookupContainer(){var e=this.table.options.popupContainer;return typeof e=="string"?(e=document.querySelector(e),e||console.warn("Menu Error - no container element found matching selector:",this.table.options.popupContainer,"(defaulting to document body)")):e===!0&&(e=this.table.element),e&&!this._checkContainerIsParent(e)&&(e=!1,console.warn("Menu Error - container element does not contain this table:",this.table.options.popupContainer,"(defaulting to document body)")),e||(e=document.body),e}_checkContainerIsParent(e,r=this.table.element){return e===r?!0:r.parentNode?this._checkContainerIsParent(e,r.parentNode):!1}renderCallback(e){this.renderedCallback=e}containerEventCoords(e){var r=!(e instanceof MouseEvent),C=r?e.touches[0].pageX:e.pageX,D=r?e.touches[0].pageY:e.pageY;if(this.container!==document.body){let T=oo.elOffset(this.container);C-=T.left,D-=T.top}return{x:C,y:D}}elementPositionCoords(e,r="right"){var C=oo.elOffset(e),D,T,p;switch(this.container!==document.body&&(D=oo.elOffset(this.container),C.left-=D.left,C.top-=D.top),r){case"right":T=C.left+e.offsetWidth,p=C.top-1;break;case"bottom":T=C.left,p=C.top+e.offsetHeight;break;case"left":T=C.left,p=C.top-1;break;case"top":T=C.left,p=C.top;break;case"center":T=C.left+e.offsetWidth/2,p=C.top+e.offsetHeight/2;break}return{x:T,y:p,offset:C}}show(e,r){var C,D,T,p,t;return this.destroyed||this.table.destroyed?this:(e instanceof HTMLElement?(T=e,t=this.elementPositionCoords(e,r),p=t.offset,C=t.x,D=t.y):typeof e=="number"?(p={top:0,left:0},C=e,D=r):(t=this.containerEventCoords(e),C=t.x,D=t.y,this.reversedX=!1),this.element.style.top=D+"px",this.element.style.left=C+"px",this.container.appendChild(this.element),typeof this.renderedCallback=="function"&&this.renderedCallback(),this._fitToScreen(C,D,T,p,r),this.visible=!0,this.subscribe("table-destroy",this.destroyBinding),this.element.addEventListener("mousedown",d=>{d.stopPropagation()}),this)}_fitToScreen(e,r,C,D,T){var p=this.container===document.body?document.documentElement.scrollTop:this.container.scrollTop;if((e+this.element.offsetWidth>=this.container.offsetWidth||this.reversedX)&&(this.element.style.left="",C?this.element.style.right=this.container.offsetWidth-D.left+"px":this.element.style.right=this.container.offsetWidth-e+"px",this.reversedX=!0),r+this.element.offsetHeight>Math.max(this.container.offsetHeight,p?this.container.scrollHeight:0))if(C)switch(T){case"bottom":this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight-C.offsetHeight-1+"px";break;default:this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight+C.offsetHeight+1+"px"}else this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight+"px"}isVisible(){return this.visible}hideOnBlur(e){return this.blurable=!0,this.visible&&(setTimeout(()=>{this.visible&&(this.table.rowManager.element.addEventListener("scroll",this.blurEvent),this.subscribe("cell-editing",this.blurEvent),document.body.addEventListener("click",this.blurEvent),document.body.addEventListener("contextmenu",this.blurEvent),document.body.addEventListener("mousedown",this.blurEvent),window.addEventListener("resize",this.blurEvent),document.body.addEventListener("keydown",this.escEvent),this.blurEventsBound=!0)},100),this.blurCallback=e),this}_escapeCheck(e){e.keyCode==27&&this.hide()}blockHide(){this.hideable=!1}restoreHide(){this.hideable=!0}hide(e=!1){return this.visible&&this.hideable&&(this.blurable&&this.blurEventsBound&&(document.body.removeEventListener("keydown",this.escEvent),document.body.removeEventListener("click",this.blurEvent),document.body.removeEventListener("contextmenu",this.blurEvent),document.body.removeEventListener("mousedown",this.blurEvent),window.removeEventListener("resize",this.blurEvent),this.table.rowManager.element.removeEventListener("scroll",this.blurEvent),this.unsubscribe("cell-editing",this.blurEvent),this.blurEventsBound=!1),this.childPopup&&this.childPopup.hide(),this.parent&&(this.parent.childPopup=null),this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.visible=!1,this.blurCallback&&!e&&this.blurCallback(),this.unsubscribe("table-destroy",this.destroyBinding)),this}child(e){return this.childPopup&&this.childPopup.hide(),this.childPopup=new H2(this.table,e,this),this.childPopup}}class qi extends kl{constructor(e,r){super(e),this._handler=null}initialize(){}registerTableOption(e,r){this.table.optionsList.register(e,r)}registerColumnOption(e,r){this.table.columnManager.optionsList.register(e,r)}registerTableFunction(e,r){typeof this.table[e]>"u"?this.table[e]=(...C)=>(this.table.initGuard(e),r(...C)):console.warn("Unable to bind table function, name already in use",e)}registerComponentFunction(e,r,C){return this.table.componentFunctionBinder.bind(e,r,C)}registerDataHandler(e,r){this.table.rowManager.registerDataPipelineHandler(e,r),this._handler=e}registerDisplayHandler(e,r){this.table.rowManager.registerDisplayPipelineHandler(e,r),this._handler=e}displayRows(e){var r=this.table.rowManager.displayRows.length-1,C;if(this._handler&&(C=this.table.rowManager.displayPipeline.findIndex(D=>D.handler===this._handler),C>-1&&(r=C)),e&&(r=r+e),this._handler)return r>-1?this.table.rowManager.getDisplayRows(r):this.activeRows()}activeRows(){return this.table.rowManager.activeRows}refreshData(e,r){r||(r=this._handler),r&&this.table.rowManager.refreshActiveData(r,!1,e)}footerAppend(e){return this.table.footerManager.append(e)}footerPrepend(e){return this.table.footerManager.prepend(e)}footerRemove(e){return this.table.footerManager.remove(e)}popup(e,r){return new H2(this.table,e,r)}alert(e,r){return this.table.alertManager.alert(e,r)}clearAlert(){return this.table.alertManager.clear()}}var uR={};class i0 extends qi{constructor(e){super(e),this.allowedTypes=["","data","download","clipboard","print","htmlOutput"],this.registerColumnOption("accessor"),this.registerColumnOption("accessorParams"),this.registerColumnOption("accessorData"),this.registerColumnOption("accessorDataParams"),this.registerColumnOption("accessorDownload"),this.registerColumnOption("accessorDownloadParams"),this.registerColumnOption("accessorClipboard"),this.registerColumnOption("accessorClipboardParams"),this.registerColumnOption("accessorPrint"),this.registerColumnOption("accessorPrintParams"),this.registerColumnOption("accessorHtmlOutput"),this.registerColumnOption("accessorHtmlOutputParams")}initialize(){this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("row-data-retrieve",this.transformRow.bind(this))}initializeColumn(e){var r=!1,C={};this.allowedTypes.forEach(D=>{var T="accessor"+(D.charAt(0).toUpperCase()+D.slice(1)),p;e.definition[T]&&(p=this.lookupAccessor(e.definition[T]),p&&(r=!0,C[T]={accessor:p,params:e.definition[T+"Params"]||{}}))}),r&&(e.modules.accessor=C)}lookupAccessor(e){var r=!1;switch(typeof e){case"string":i0.accessors[e]?r=i0.accessors[e]:console.warn("Accessor Error - No such accessor found, ignoring: ",e);break;case"function":r=e;break}return r}transformRow(e,r){var C="accessor"+(r.charAt(0).toUpperCase()+r.slice(1)),D=e.getComponent(),T=oo.deepClone(e.data||{});return this.table.columnManager.traverse(function(p){var t,d,g,i;p.modules.accessor&&(d=p.modules.accessor[C]||p.modules.accessor.accessor||!1,d&&(t=p.getFieldValue(T),t!="undefined"&&(i=p.getComponent(),g=typeof d.params=="function"?d.params(t,T,r,i,D):d.params,p.setFieldValue(T,d.accessor(t,T,r,g,i,D)))))}),T}}i0.moduleName="accessor";i0.accessors=uR;var cR={method:"GET"};function nx(n,e){var r=[];if(e=e||"",Array.isArray(n))n.forEach((D,T)=>{r=r.concat(nx(D,e?e+"["+T+"]":T))});else if(typeof n=="object")for(var C in n)r=r.concat(nx(n[C],e?e+"["+C+"]":C));else r.push({key:e,value:n});return r}function hR(n){var e=nx(n),r=[];return e.forEach(function(C){r.push(encodeURIComponent(C.key)+"="+encodeURIComponent(C.value))}),r.join("&")}function LM(n,e,r){return n&&r&&Object.keys(r).length&&(!e.method||e.method.toLowerCase()=="get")&&(e.method="get",n+=(n.includes("?")?"&":"?")+hR(r)),n}function fR(n,e,r){var C;return new Promise((D,T)=>{if(n=this.urlGenerator.call(this.table,n,e,r),e.method.toUpperCase()!="GET")if(C=typeof this.table.options.ajaxContentType=="object"?this.table.options.ajaxContentType:this.contentTypeFormatters[this.table.options.ajaxContentType],C){for(var p in C.headers)e.headers||(e.headers={}),typeof e.headers[p]>"u"&&(e.headers[p]=C.headers[p]);e.body=C.body.call(this,n,e,r)}else console.warn("Ajax Error - Invalid ajaxContentType value:",this.table.options.ajaxContentType);n?(typeof e.headers>"u"&&(e.headers={}),typeof e.headers.Accept>"u"&&(e.headers.Accept="application/json"),typeof e.headers["X-Requested-With"]>"u"&&(e.headers["X-Requested-With"]="XMLHttpRequest"),typeof e.mode>"u"&&(e.mode="cors"),e.mode=="cors"?(typeof e.headers.Origin>"u"&&(e.headers.Origin=window.location.origin),typeof e.credentials>"u"&&(e.credentials="same-origin")):typeof e.credentials>"u"&&(e.credentials="include"),fetch(n,e).then(t=>{t.ok?t.json().then(d=>{D(d)}).catch(d=>{T(d),console.warn("Ajax Load Error - Invalid JSON returned",d)}):(console.error("Ajax Load Error - Connection Error: "+t.status,t.statusText),T(t))}).catch(t=>{console.error("Ajax Load Error - Connection Error: ",t),T(t)})):(console.warn("Ajax Load Error - No URL Set"),D([]))})}function rx(n,e){var r=[];if(e=e||"",Array.isArray(n))n.forEach((D,T)=>{r=r.concat(rx(D,e?e+"["+T+"]":T))});else if(typeof n=="object")for(var C in n)r=r.concat(rx(n[C],e?e+"["+C+"]":C));else r.push({key:e,value:n});return r}var dR={json:{headers:{"Content-Type":"application/json"},body:function(n,e,r){return JSON.stringify(r)}},form:{headers:{},body:function(n,e,r){var C=rx(r),D=new FormData;return C.forEach(function(T){D.append(T.key,T.value)}),D}}};class Rc extends qi{constructor(e){super(e),this.config={},this.url="",this.urlGenerator=!1,this.params=!1,this.loaderPromise=!1,this.registerTableOption("ajaxURL",!1),this.registerTableOption("ajaxURLGenerator",!1),this.registerTableOption("ajaxParams",{}),this.registerTableOption("ajaxConfig","get"),this.registerTableOption("ajaxContentType","form"),this.registerTableOption("ajaxRequestFunc",!1),this.registerTableOption("ajaxRequesting",function(){}),this.registerTableOption("ajaxResponse",!1),this.contentTypeFormatters=Rc.contentTypeFormatters}initialize(){this.loaderPromise=this.table.options.ajaxRequestFunc||Rc.defaultLoaderPromise,this.urlGenerator=this.table.options.ajaxURLGenerator||Rc.defaultURLGenerator,this.table.options.ajaxURL&&this.setUrl(this.table.options.ajaxURL),this.setDefaultConfig(this.table.options.ajaxConfig),this.registerTableFunction("getAjaxUrl",this.getUrl.bind(this)),this.subscribe("data-loading",this.requestDataCheck.bind(this)),this.subscribe("data-params",this.requestParams.bind(this)),this.subscribe("data-load",this.requestData.bind(this))}requestParams(e,r,C,D){var T=this.table.options.ajaxParams;return T&&(typeof T=="function"&&(T=T.call(this.table)),D=Object.assign(Object.assign({},T),D)),D}requestDataCheck(e,r,C,D){return!!(!e&&this.url||typeof e=="string")}requestData(e,r,C,D,T){var p;return!T&&this.requestDataCheck(e)?(e&&this.setUrl(e),p=this.generateConfig(C),this.sendRequest(this.url,r,p)):T}setDefaultConfig(e={}){this.config=Object.assign({},Rc.defaultConfig),typeof e=="string"?this.config.method=e:Object.assign(this.config,e)}generateConfig(e={}){var r=Object.assign({},this.config);return typeof e=="string"?r.method=e:Object.assign(r,e),r}setUrl(e){this.url=e}getUrl(){return this.url}sendRequest(e,r,C){return this.table.options.ajaxRequesting.call(this.table,e,r)!==!1?this.loaderPromise(e,C,r).then(D=>(this.table.options.ajaxResponse&&(D=this.table.options.ajaxResponse.call(this.table,e,r,D)),D)):Promise.reject()}}Rc.moduleName="ajax";Rc.defaultConfig=cR;Rc.defaultURLGenerator=LM;Rc.defaultLoaderPromise=fR;Rc.contentTypeFormatters=dR;var pR={replace:function(n){return this.table.setData(n)},update:function(n){return this.table.updateOrAddData(n)},insert:function(n){return this.table.addData(n)},range:function(n){var e=[],r=this.table.modules.selectRange.activeRange,C=!1,D,T,p,t,d;return d=n.length,r&&(D=r.getBounds(),T=D.start,D.start===D.end&&(C=!0),T&&(e=this.table.rowManager.activeRows.slice(),p=e.indexOf(T.row),C?t=n.length:t=e.indexOf(D.end.row)-p+1,p>-1&&(this.table.blockRedraw(),e=e.slice(p,p+t),e.forEach((g,i)=>{g.updateData(n[i%d])}),this.table.restoreRedraw()))),e}},mR={table:function(n){var e=[],r=!0,C=this.table.columnManager.columns,D=[],T=[];return n=n.split(` -`),n.forEach(function(p){e.push(p.split(" "))}),e.length&&!(e.length===1&&e[0].length<2)?(e[0].forEach(function(p){var t=C.find(function(d){return p&&d.definition.title&&p.trim()&&d.definition.title.trim()===p.trim()});t?D.push(t):r=!1}),r||(r=!0,D=[],e[0].forEach(function(p){var t=C.find(function(d){return p&&d.field&&p.trim()&&d.field.trim()===p.trim()});t?D.push(t):r=!1}),r||(D=this.table.columnManager.columnsByIndex)),r&&e.shift(),e.forEach(function(p){var t={};p.forEach(function(d,g){D[g]&&(t[D[g].field]=d)}),T.push(t)}),T):!1},range:function(n){var e=[],r=[],C=this.table.modules.selectRange.activeRange,D=!1,T,p,t,d,g;return C&&(T=C.getBounds(),p=T.start,T.start===T.end&&(D=!0),p&&(n=n.split(` -`),n.forEach(function(i){e.push(i.split(" "))}),e.length&&(d=this.table.columnManager.getVisibleColumnsByIndex(),g=d.indexOf(p.column),g>-1)))?(D?t=e[0].length:t=d.indexOf(T.end.column)-g+1,d=d.slice(g,g+t),e.forEach(i=>{var M={},v=i.length;d.forEach(function(f,l){M[f.field]=i[l%v]}),r.push(M)}),r):!1}};class qd extends qi{constructor(e){super(e),this.mode=!0,this.pasteParser=function(){},this.pasteAction=function(){},this.customSelection=!1,this.rowRange=!1,this.blocked=!0,this.registerTableOption("clipboard",!1),this.registerTableOption("clipboardCopyStyled",!0),this.registerTableOption("clipboardCopyConfig",!1),this.registerTableOption("clipboardCopyFormatter",!1),this.registerTableOption("clipboardCopyRowRange","active"),this.registerTableOption("clipboardPasteParser","table"),this.registerTableOption("clipboardPasteAction","insert"),this.registerColumnOption("clipboard"),this.registerColumnOption("titleClipboard")}initialize(){this.mode=this.table.options.clipboard,this.rowRange=this.table.options.clipboardCopyRowRange,(this.mode===!0||this.mode==="copy")&&this.table.element.addEventListener("copy",e=>{var r,C,D;this.blocked||(e.preventDefault(),this.customSelection?(r=this.customSelection,this.table.options.clipboardCopyFormatter&&(r=this.table.options.clipboardCopyFormatter("plain",r))):(D=this.table.modules.export.generateExportList(this.table.options.clipboardCopyConfig,this.table.options.clipboardCopyStyled,this.rowRange,"clipboard"),C=this.table.modules.export.generateHTMLTable(D),r=C?this.generatePlainContent(D):"",this.table.options.clipboardCopyFormatter&&(r=this.table.options.clipboardCopyFormatter("plain",r),C=this.table.options.clipboardCopyFormatter("html",C))),window.clipboardData&&window.clipboardData.setData?window.clipboardData.setData("Text",r):e.clipboardData&&e.clipboardData.setData?(e.clipboardData.setData("text/plain",r),C&&e.clipboardData.setData("text/html",C)):e.originalEvent&&e.originalEvent.clipboardData.setData&&(e.originalEvent.clipboardData.setData("text/plain",r),C&&e.originalEvent.clipboardData.setData("text/html",C)),this.dispatchExternal("clipboardCopied",r,C),this.reset())}),(this.mode===!0||this.mode==="paste")&&this.table.element.addEventListener("paste",e=>{this.paste(e)}),this.setPasteParser(this.table.options.clipboardPasteParser),this.setPasteAction(this.table.options.clipboardPasteAction),this.registerTableFunction("copyToClipboard",this.copy.bind(this))}reset(){this.blocked=!0,this.customSelection=!1}generatePlainContent(e){var r=[];return e.forEach(C=>{var D=[];C.columns.forEach(T=>{var p="";if(T)if(C.type==="group"&&(T.value=T.component.getKey()),T.value===null)p="";else switch(typeof T.value){case"object":p=JSON.stringify(T.value);break;case"undefined":p="";break;default:p=T.value}D.push(p)}),r.push(D.join(" "))}),r.join(` -`)}copy(e,r){var C,D;this.blocked=!1,this.customSelection=!1,(this.mode===!0||this.mode==="copy")&&(this.rowRange=e||this.table.options.clipboardCopyRowRange,typeof window.getSelection<"u"&&typeof document.createRange<"u"?(e=document.createRange(),e.selectNodeContents(this.table.element),C=window.getSelection(),C.toString()&&r&&(this.customSelection=C.toString()),C.removeAllRanges(),C.addRange(e)):typeof document.selection<"u"&&typeof document.body.createTextRange<"u"&&(D=document.body.createTextRange(),D.moveToElementText(this.table.element),D.select()),document.execCommand("copy"),C&&C.removeAllRanges())}setPasteAction(e){switch(typeof e){case"string":this.pasteAction=qd.pasteActions[e],this.pasteAction||console.warn("Clipboard Error - No such paste action found:",e);break;case"function":this.pasteAction=e;break}}setPasteParser(e){switch(typeof e){case"string":this.pasteParser=qd.pasteParsers[e],this.pasteParser||console.warn("Clipboard Error - No such paste parser found:",e);break;case"function":this.pasteParser=e;break}}paste(e){var r,C,D;this.checkPasteOrigin(e)&&(r=this.getPasteData(e),C=this.pasteParser.call(this,r),C?(e.preventDefault(),this.table.modExists("mutator")&&(C=this.mutateData(C)),D=this.pasteAction.call(this,C),this.dispatchExternal("clipboardPasted",r,C,D)):this.dispatchExternal("clipboardPasteError",r))}mutateData(e){var r=[];return Array.isArray(e)?e.forEach(C=>{r.push(this.table.modules.mutator.transformRow(C,"clipboard"))}):r=e,r}checkPasteOrigin(e){var r=!0,C=this.confirm("clipboard-paste",[e]);return(C||!["DIV","SPAN"].includes(e.target.tagName))&&(r=!1),r}getPasteData(e){var r;return window.clipboardData&&window.clipboardData.getData?r=window.clipboardData.getData("Text"):e.clipboardData&&e.clipboardData.getData?r=e.clipboardData.getData("text/plain"):e.originalEvent&&e.originalEvent.clipboardData.getData&&(r=e.originalEvent.clipboardData.getData("text/plain")),r}}qd.moduleName="clipboard";qd.pasteActions=pR;qd.pasteParsers=mR;class gR{constructor(e){return this._row=e,new Proxy(this,{get:function(r,C,D){return typeof r[C]<"u"?r[C]:r._row.table.componentFunctionBinder.handle("row",r._row,C)}})}getData(e){return this._row.getData(e)}getElement(){return this._row.getElement()}getTable(){return this._row.table}getCells(){var e=[];return this._row.getCells().forEach(function(r){e.push(r.getComponent())}),e}getCell(e){var r=this._row.getCell(e);return r?r.getComponent():!1}_getSelf(){return this._row}}class IM{constructor(e){return this._cell=e,new Proxy(this,{get:function(r,C,D){return typeof r[C]<"u"?r[C]:r._cell.table.componentFunctionBinder.handle("cell",r._cell,C)}})}getValue(){return this._cell.getValue()}getOldValue(){return this._cell.getOldValue()}getInitialValue(){return this._cell.initialValue}getElement(){return this._cell.getElement()}getRow(){return this._cell.row.getComponent()}getData(e){return this._cell.row.getData(e)}getType(){return"cell"}getField(){return this._cell.column.getField()}getColumn(){return this._cell.column.getComponent()}setValue(e,r){typeof r>"u"&&(r=!0),this._cell.setValue(e,r)}restoreOldValue(){this._cell.setValueActual(this._cell.getOldValue())}restoreInitialValue(){this._cell.setValueActual(this._cell.initialValue)}checkHeight(){this._cell.checkHeight()}getTable(){return this._cell.table}_getSelf(){return this._cell}}class eg extends kl{constructor(e,r){super(e.table),this.table=e.table,this.column=e,this.row=r,this.element=null,this.value=null,this.initialValue,this.oldValue=null,this.modules={},this.height=null,this.width=null,this.minWidth=null,this.component=null,this.loaded=!1,this.build()}build(){this.generateElement(),this.setWidth(),this._configureCell(),this.setValueActual(this.column.getFieldValue(this.row.data)),this.initialValue=this.value}generateElement(){this.element=document.createElement("div"),this.element.className="tabulator-cell",this.element.setAttribute("role","gridcell")}_configureCell(){var e=this.element,r=this.column.getField(),C={top:"flex-start",bottom:"flex-end",middle:"center"},D={left:"flex-start",right:"flex-end",center:"center"};if(e.style.textAlign=this.column.hozAlign,this.column.vertAlign&&(e.style.display="inline-flex",e.style.alignItems=C[this.column.vertAlign]||"",this.column.hozAlign&&(e.style.justifyContent=D[this.column.hozAlign]||"")),r&&e.setAttribute("tabulator-field",r),this.column.definition.cssClass){var T=this.column.definition.cssClass.split(" ");T.forEach(p=>{e.classList.add(p)})}this.dispatch("cell-init",this),this.column.visible||this.hide()}_generateContents(){var e;switch(e=this.chain("cell-format",this,null,()=>this.element.innerHTML=this.value),typeof e){case"object":if(e instanceof Node){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.element.appendChild(e)}else this.element.innerHTML="",e!=null&&console.warn("Format Error - Formatter has returned a type of object, the only valid formatter object return is an instance of Node, the formatter returned:",e);break;case"undefined":this.element.innerHTML="";break;default:this.element.innerHTML=e}}cellRendered(){this.dispatch("cell-rendered",this)}getElement(e){return this.loaded||(this.loaded=!0,e||this.layoutElement()),this.element}getValue(){return this.value}getOldValue(){return this.oldValue}setValue(e,r,C){var D=this.setValueProcessData(e,r,C);D&&(this.dispatch("cell-value-updated",this),this.cellRendered(),this.column.definition.cellEdited&&this.column.definition.cellEdited.call(this.table,this.getComponent()),this.dispatchExternal("cellEdited",this.getComponent()),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.table.rowManager.getData()))}setValueProcessData(e,r,C){var D=!1;return(this.value!==e||C)&&(D=!0,r&&(e=this.chain("cell-value-changing",[this,e],null,e))),this.setValueActual(e),D&&this.dispatch("cell-value-changed",this),D}setValueActual(e){this.oldValue=this.value,this.value=e,this.dispatch("cell-value-save-before",this),this.column.setFieldValue(this.row.data,e),this.dispatch("cell-value-save-after",this),this.loaded&&this.layoutElement()}layoutElement(){this._generateContents(),this.dispatch("cell-layout",this)}setWidth(){this.width=this.column.width,this.element.style.width=this.column.widthStyled}clearWidth(){this.width="",this.element.style.width=""}getWidth(){return this.width||this.element.offsetWidth}setMinWidth(){this.minWidth=this.column.minWidth,this.element.style.minWidth=this.column.minWidthStyled}setMaxWidth(){this.maxWidth=this.column.maxWidth,this.element.style.maxWidth=this.column.maxWidthStyled}checkHeight(){this.row.reinitializeHeight()}clearHeight(){this.element.style.height="",this.height=null,this.dispatch("cell-height",this,"")}setHeight(){this.height=this.row.height,this.element.style.height=this.row.heightStyled,this.dispatch("cell-height",this,this.row.heightStyled)}getHeight(){return this.height||this.element.offsetHeight}show(){this.element.style.display=this.column.vertAlign?"inline-flex":""}hide(){this.element.style.display="none"}delete(){this.dispatch("cell-delete",this),!this.table.rowManager.redrawBlock&&this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.element=!1,this.column.deleteCell(this),this.row.deleteCell(this),this.calcs={}}getIndex(){return this.row.getCellIndex(this)}getComponent(){return this.component||(this.component=new IM(this)),this.component}}class RM{constructor(e){return this._column=e,this.type="ColumnComponent",new Proxy(this,{get:function(r,C,D){return typeof r[C]<"u"?r[C]:r._column.table.componentFunctionBinder.handle("column",r._column,C)}})}getElement(){return this._column.getElement()}getDefinition(){return this._column.getDefinition()}getField(){return this._column.getField()}getTitleDownload(){return this._column.getTitleDownload()}getCells(){var e=[];return this._column.cells.forEach(function(r){e.push(r.getComponent())}),e}isVisible(){return this._column.visible}show(){this._column.isGroup?this._column.columns.forEach(function(e){e.show()}):this._column.show()}hide(){this._column.isGroup?this._column.columns.forEach(function(e){e.hide()}):this._column.hide()}toggle(){this._column.visible?this.hide():this.show()}delete(){return this._column.delete()}getSubColumns(){var e=[];return this._column.columns.length&&this._column.columns.forEach(function(r){e.push(r.getComponent())}),e}getParentColumn(){return this._column.parent instanceof vh?this._column.parent.getComponent():!1}_getSelf(){return this._column}scrollTo(e,r){return this._column.table.columnManager.scrollToColumn(this._column,e,r)}getTable(){return this._column.table}move(e,r){var C=this._column.table.columnManager.findColumn(e);C?this._column.table.columnManager.moveColumn(this._column,C,r):console.warn("Move Error - No matching column found:",C)}getNextColumn(){var e=this._column.nextColumn();return e?e.getComponent():!1}getPrevColumn(){var e=this._column.prevColumn();return e?e.getComponent():!1}updateDefinition(e){return this._column.updateDefinition(e)}getWidth(){return this._column.getWidth()}setWidth(e){var r;return e===!0?r=this._column.reinitializeWidth(!0):r=this._column.setWidth(e),this._column.table.columnManager.rerenderColumns(!0),r}}var PM={title:void 0,field:void 0,columns:void 0,visible:void 0,hozAlign:void 0,vertAlign:void 0,width:void 0,minWidth:40,maxWidth:void 0,maxInitialWidth:void 0,cssClass:void 0,variableHeight:void 0,headerVertical:void 0,headerHozAlign:void 0,headerWordWrap:!1,editableTitle:void 0};class vh extends kl{constructor(e,r){super(r.table),this.definition=e,this.parent=r,this.type="column",this.columns=[],this.cells=[],this.element=this.createElement(),this.contentElement=!1,this.titleHolderElement=!1,this.titleElement=!1,this.groupElement=this.createGroupElement(),this.isGroup=!1,this.hozAlign="",this.vertAlign="",this.field="",this.fieldStructure="",this.getFieldValue="",this.setFieldValue="",this.titleDownload=null,this.titleFormatterRendered=!1,this.mapDefinitions(),this.setField(this.definition.field),this.modules={},this.width=null,this.widthStyled="",this.maxWidth=null,this.maxWidthStyled="",this.maxInitialWidth=null,this.minWidth=null,this.minWidthStyled="",this.widthFixed=!1,this.visible=!0,this.component=null,this.definition.columns?(this.isGroup=!0,this.definition.columns.forEach((C,D)=>{var T=new vh(C,this);this.attachColumn(T)}),this.checkColumnVisibility()):r.registerColumnField(this),this._initialize()}createElement(){var e=document.createElement("div");switch(e.classList.add("tabulator-col"),e.setAttribute("role","columnheader"),e.setAttribute("aria-sort","none"),this.table.options.columnHeaderVertAlign){case"middle":e.style.justifyContent="center";break;case"bottom":e.style.justifyContent="flex-end";break}return e}createGroupElement(){var e=document.createElement("div");return e.classList.add("tabulator-col-group-cols"),e}mapDefinitions(){var e=this.table.options.columnDefaults;if(e)for(let r in e)typeof this.definition[r]>"u"&&(this.definition[r]=e[r]);this.definition=this.table.columnManager.optionsList.generate(vh.defaultOptionList,this.definition)}checkDefinition(){Object.keys(this.definition).forEach(e=>{vh.defaultOptionList.indexOf(e)===-1&&console.warn("Invalid column definition option in '"+(this.field||this.definition.title)+"' column:",e)})}setField(e){this.field=e,this.fieldStructure=e?this.table.options.nestedFieldSeparator?e.split(this.table.options.nestedFieldSeparator):[e]:[],this.getFieldValue=this.fieldStructure.length>1?this._getNestedData:this._getFlatData,this.setFieldValue=this.fieldStructure.length>1?this._setNestedData:this._setFlatData}registerColumnPosition(e){this.parent.registerColumnPosition(e)}registerColumnField(e){this.parent.registerColumnField(e)}reRegisterPosition(){this.isGroup?this.columns.forEach(function(e){e.reRegisterPosition()}):this.registerColumnPosition(this)}_initialize(){for(var e=this.definition;this.element.firstChild;)this.element.removeChild(this.element.firstChild);e.headerVertical&&(this.element.classList.add("tabulator-col-vertical"),e.headerVertical==="flip"&&this.element.classList.add("tabulator-col-vertical-flip")),this.contentElement=this._buildColumnHeaderContent(),this.element.appendChild(this.contentElement),this.isGroup?this._buildGroupHeader():this._buildColumnHeader(),this.dispatch("column-init",this)}_buildColumnHeader(){var e=this.definition;if(this.dispatch("column-layout",this),typeof e.visible<"u"&&(e.visible?this.show(!0):this.hide(!0)),e.cssClass){var r=e.cssClass.split(" ");r.forEach(C=>{this.element.classList.add(C)})}e.field&&this.element.setAttribute("tabulator-field",e.field),this.setMinWidth(parseInt(e.minWidth)),e.maxInitialWidth&&(this.maxInitialWidth=parseInt(e.maxInitialWidth)),e.maxWidth&&this.setMaxWidth(parseInt(e.maxWidth)),this.reinitializeWidth(),this.hozAlign=this.definition.hozAlign,this.vertAlign=this.definition.vertAlign,this.titleElement.style.textAlign=this.definition.headerHozAlign}_buildColumnHeaderContent(){var e=document.createElement("div");return e.classList.add("tabulator-col-content"),this.titleHolderElement=document.createElement("div"),this.titleHolderElement.classList.add("tabulator-col-title-holder"),e.appendChild(this.titleHolderElement),this.titleElement=this._buildColumnHeaderTitle(),this.titleHolderElement.appendChild(this.titleElement),e}_buildColumnHeaderTitle(){var e=this.definition,r=document.createElement("div");if(r.classList.add("tabulator-col-title"),e.headerWordWrap&&r.classList.add("tabulator-col-title-wrap"),e.editableTitle){var C=document.createElement("input");C.classList.add("tabulator-title-editor"),C.addEventListener("click",D=>{D.stopPropagation(),C.focus()}),C.addEventListener("mousedown",D=>{D.stopPropagation()}),C.addEventListener("change",()=>{e.title=C.value,this.dispatchExternal("columnTitleChanged",this.getComponent())}),r.appendChild(C),e.field?this.langBind("columns|"+e.field,D=>{C.value=D||e.title||" "}):C.value=e.title||" "}else e.field?this.langBind("columns|"+e.field,D=>{this._formatColumnHeaderTitle(r,D||e.title||" ")}):this._formatColumnHeaderTitle(r,e.title||" ");return r}_formatColumnHeaderTitle(e,r){var C=this.chain("column-format",[this,r,e],null,()=>r);switch(typeof C){case"object":C instanceof Node?e.appendChild(C):(e.innerHTML="",console.warn("Format Error - Title formatter has returned a type of object, the only valid formatter object return is an instance of Node, the formatter returned:",C));break;case"undefined":e.innerHTML="";break;default:e.innerHTML=C}}_buildGroupHeader(){if(this.element.classList.add("tabulator-col-group"),this.element.setAttribute("role","columngroup"),this.element.setAttribute("aria-title",this.definition.title),this.definition.cssClass){var e=this.definition.cssClass.split(" ");e.forEach(r=>{this.element.classList.add(r)})}this.titleElement.style.textAlign=this.definition.headerHozAlign,this.element.appendChild(this.groupElement)}_getFlatData(e){return e[this.field]}_getNestedData(e){var r=e,C=this.fieldStructure,D=C.length,T;for(let p=0;p{r.push(C),r=r.concat(C.getColumns(!0))}):r=this.columns,r}getCells(){return this.cells}getTopColumn(){return this.parent.isGroup?this.parent.getTopColumn():this}getDefinition(e){var r=[];return this.isGroup&&e&&(this.columns.forEach(function(C){r.push(C.getDefinition(!0))}),this.definition.columns=r),this.definition}checkColumnVisibility(){var e=!1;this.columns.forEach(function(r){r.visible&&(e=!0)}),e?(this.show(),this.dispatchExternal("columnVisibilityChanged",this.getComponent(),!1)):this.hide()}show(e,r){this.visible||(this.visible=!0,this.element.style.display="",this.parent.isGroup&&this.parent.checkColumnVisibility(),this.cells.forEach(function(C){C.show()}),!this.isGroup&&this.width===null&&this.reinitializeWidth(),this.table.columnManager.verticalAlignHeaders(),this.dispatch("column-show",this,r),e||this.dispatchExternal("columnVisibilityChanged",this.getComponent(),!0),this.parent.isGroup&&this.parent.matchChildWidths(),this.silent||this.table.columnManager.rerenderColumns())}hide(e,r){this.visible&&(this.visible=!1,this.element.style.display="none",this.table.columnManager.verticalAlignHeaders(),this.parent.isGroup&&this.parent.checkColumnVisibility(),this.cells.forEach(function(C){C.hide()}),this.dispatch("column-hide",this,r),e||this.dispatchExternal("columnVisibilityChanged",this.getComponent(),!1),this.parent.isGroup&&this.parent.matchChildWidths(),this.silent||this.table.columnManager.rerenderColumns())}matchChildWidths(){var e=0;this.contentElement&&this.columns.length&&(this.columns.forEach(function(r){r.visible&&(e+=r.getWidth())}),this.contentElement.style.maxWidth=e-1+"px",this.parent.isGroup&&this.parent.matchChildWidths())}removeChild(e){var r=this.columns.indexOf(e);r>-1&&this.columns.splice(r,1),this.columns.length||this.delete()}setWidth(e){this.widthFixed=!0,this.setWidthActual(e)}setWidthActual(e){isNaN(e)&&(e=Math.floor(this.table.element.clientWidth/100*parseInt(e))),e=Math.max(this.minWidth,e),this.maxWidth&&(e=Math.min(this.maxWidth,e)),this.width=e,this.widthStyled=e?e+"px":"",this.element.style.width=this.widthStyled,this.isGroup||this.cells.forEach(function(r){r.setWidth()}),this.parent.isGroup&&this.parent.matchChildWidths(),this.dispatch("column-width",this)}checkCellHeights(){var e=[];this.cells.forEach(function(r){r.row.heightInitialized&&(r.row.getElement().offsetParent!==null?(e.push(r.row),r.row.clearCellHeight()):r.row.heightInitialized=!1)}),e.forEach(function(r){r.calcHeight()}),e.forEach(function(r){r.setCellHeight()})}getWidth(){var e=0;return this.isGroup?this.columns.forEach(function(r){r.visible&&(e+=r.getWidth())}):e=this.width,e}getLeftOffset(){var e=this.element.offsetLeft;return this.parent.isGroup&&(e+=this.parent.getLeftOffset()),e}getHeight(){return Math.ceil(this.element.getBoundingClientRect().height)}setMinWidth(e){this.maxWidth&&e>this.maxWidth&&(e=this.maxWidth,console.warn("the minWidth ("+e+"px) for column '"+this.field+"' cannot be bigger that its maxWidth ("+this.maxWidthStyled+")")),this.minWidth=e,this.minWidthStyled=e?e+"px":"",this.element.style.minWidth=this.minWidthStyled,this.cells.forEach(function(r){r.setMinWidth()})}setMaxWidth(e){this.minWidth&&e{this.isGroup&&this.columns.forEach(function(D){D.delete()}),this.dispatch("column-delete",this);var C=this.cells.length;for(let D=0;D-1?this._nextVisibleColumn(e+1):!1}_nextVisibleColumn(e){var r=this.table.columnManager.getColumnByIndex(e);return!r||r.visible?r:this._nextVisibleColumn(e+1)}prevColumn(){var e=this.table.columnManager.findColumnIndex(this);return e>-1?this._prevVisibleColumn(e-1):!1}_prevVisibleColumn(e){var r=this.table.columnManager.getColumnByIndex(e);return!r||r.visible?r:this._prevVisibleColumn(e-1)}reinitializeWidth(e){this.widthFixed=!1,typeof this.definition.width<"u"&&!e&&this.setWidth(this.definition.width),this.dispatch("column-width-fit-before",this),this.fitToData(e),this.dispatch("column-width-fit-after",this)}fitToData(e){if(!this.isGroup){this.widthFixed||(this.element.style.width="",this.cells.forEach(D=>{D.clearWidth()}));var r=this.element.offsetWidth;if((!this.width||!this.widthFixed)&&(this.cells.forEach(D=>{var T=D.getWidth();T>r&&(r=T)}),r)){var C=r+1;this.maxInitialWidth&&!e&&(C=Math.min(C,this.maxInitialWidth)),this.setWidthActual(C)}}}updateDefinition(e){var r;return this.isGroup||this.parent.isGroup?(console.error("Column Update Error - The updateDefinition function is only available on ungrouped columns"),Promise.reject("Column Update Error - The updateDefinition function is only available on columns, not column groups")):(r=Object.assign({},this.getDefinition()),r=Object.assign(r,e),this.table.columnManager.addColumn(r,!1,this).then(C=>(r.field==this.field&&(this.field=!1),this.delete().then(()=>C.getComponent()))))}deleteCell(e){var r=this.cells.indexOf(e);r>-1&&this.cells.splice(r,1)}getComponent(){return this.component||(this.component=new RM(this)),this.component}getPosition(){return this.table.columnManager.getVisibleColumnsByIndex().indexOf(this)+1}}vh.defaultOptionList=PM;class Wy{constructor(e){return this._row=e,new Proxy(this,{get:function(r,C,D){return typeof r[C]<"u"?r[C]:r._row.table.componentFunctionBinder.handle("row",r._row,C)}})}getData(e){return this._row.getData(e)}getElement(){return this._row.getElement()}getCells(){var e=[];return this._row.getCells().forEach(function(r){e.push(r.getComponent())}),e}getCell(e){var r=this._row.getCell(e);return r?r.getComponent():!1}getIndex(){return this._row.getData("data")[this._row.table.options.index]}getPosition(){return this._row.getPosition()}watchPosition(e){return this._row.watchPosition(e)}delete(){return this._row.delete()}scrollTo(e,r){return this._row.table.rowManager.scrollToRow(this._row,e,r)}move(e,r){this._row.moveToRow(e,r)}update(e){return this._row.updateData(e)}normalizeHeight(){this._row.normalizeHeight(!0)}_getSelf(){return this._row}reformat(){return this._row.reinitialize()}getTable(){return this._row.table}getNextRow(){var e=this._row.nextRow();return e&&e.getComponent()}getPrevRow(){var e=this._row.prevRow();return e&&e.getComponent()}}class vl extends kl{constructor(e,r,C="row"){super(r.table),this.parent=r,this.data={},this.type=C,this.element=!1,this.modules={},this.cells=[],this.height=0,this.heightStyled="",this.manualHeight=!1,this.outerHeight=0,this.initialized=!1,this.heightInitialized=!1,this.position=0,this.positionWatchers=[],this.component=null,this.created=!1,this.setData(e)}create(){this.created||(this.created=!0,this.generateElement())}createElement(){var e=document.createElement("div");e.classList.add("tabulator-row"),e.setAttribute("role","row"),this.element=e}getElement(){return this.create(),this.element}detachElement(){this.element&&this.element.parentNode&&this.element.parentNode.removeChild(this.element)}generateElement(){this.createElement(),this.dispatch("row-init",this)}generateCells(){this.cells=this.table.columnManager.generateCells(this)}initialize(e,r){if(this.create(),!this.initialized||e){for(this.deleteCells();this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.dispatch("row-layout-before",this),this.generateCells(),this.initialized=!0,this.table.columnManager.renderer.renderRowCells(this,r),e&&this.normalizeHeight(),this.dispatch("row-layout",this),this.table.options.rowFormatter&&this.table.options.rowFormatter(this.getComponent()),this.dispatch("row-layout-after",this)}else this.table.columnManager.renderer.rerenderRowCells(this,r)}rendered(){this.cells.forEach(e=>{e.cellRendered()})}reinitializeHeight(){this.heightInitialized=!1,this.element&&this.element.offsetParent!==null&&this.normalizeHeight(!0)}deinitialize(){this.initialized=!1}deinitializeHeight(){this.heightInitialized=!1}reinitialize(e){this.initialized=!1,this.heightInitialized=!1,this.manualHeight||(this.height=0,this.heightStyled=""),this.element&&this.element.offsetParent!==null&&this.initialize(!0),this.dispatch("row-relayout",this)}calcHeight(e){var r=0,C;this.table.options.rowHeight?this.height=this.table.options.rowHeight:(C=this.table.options.resizableRows?this.element.clientHeight:0,this.cells.forEach(function(D){var T=D.getHeight();T>r&&(r=T)}),e?this.height=Math.max(r,C):this.height=this.manualHeight?this.height:Math.max(r,C)),this.heightStyled=this.height?this.height+"px":"",this.outerHeight=this.element.offsetHeight}setCellHeight(){this.cells.forEach(function(e){e.setHeight()}),this.heightInitialized=!0}clearCellHeight(){this.cells.forEach(function(e){e.clearHeight()})}normalizeHeight(e){e&&!this.table.options.rowHeight&&this.clearCellHeight(),this.calcHeight(e),this.setCellHeight()}setHeight(e,r){(this.height!=e||r)&&(this.manualHeight=!0,this.height=e,this.heightStyled=e?e+"px":"",this.setCellHeight(),this.outerHeight=this.element.offsetHeight)}getHeight(){return this.outerHeight}getWidth(){return this.element.offsetWidth}deleteCell(e){var r=this.cells.indexOf(e);r>-1&&this.cells.splice(r,1)}setData(e){this.data=this.chain("row-data-init-before",[this,e],void 0,e),this.dispatch("row-data-init-after",this)}updateData(e){var r=this.element&&oo.elVisible(this.element),C={},D;return new Promise((T,p)=>{typeof e=="string"&&(e=JSON.parse(e)),this.dispatch("row-data-save-before",this),this.subscribed("row-data-changing")&&(C=Object.assign(C,this.data),C=Object.assign(C,e)),D=this.chain("row-data-changing",[this,C,e],null,e);for(let t in D)this.data[t]=D[t];this.dispatch("row-data-save-after",this);for(let t in e)this.table.columnManager.getColumnsByFieldRoot(t).forEach(g=>{let i=this.getCell(g.getField());if(i){let M=g.getFieldValue(D);i.getValue()!==M&&(i.setValueProcessData(M),r&&i.cellRendered())}});r?(this.normalizeHeight(!0),this.table.options.rowFormatter&&this.table.options.rowFormatter(this.getComponent())):(this.initialized=!1,this.height=0,this.heightStyled=""),this.dispatch("row-data-changed",this,r,e),this.dispatchExternal("rowUpdated",this.getComponent()),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.table.rowManager.getData()),T()})}getData(e){return e?this.chain("row-data-retrieve",[this,e],null,this.data):this.data}getCell(e){var r=!1;return e=this.table.columnManager.findColumn(e),!this.initialized&&this.cells.length===0&&this.generateCells(),r=this.cells.find(function(C){return C.column===e}),r}getCellIndex(e){return this.cells.findIndex(function(r){return r===e})}findCell(e){return this.cells.find(r=>r.element===e)}getCells(){return!this.initialized&&this.cells.length===0&&this.generateCells(),this.cells}nextRow(){var e=this.table.rowManager.nextDisplayRow(this,!0);return e||!1}prevRow(){var e=this.table.rowManager.prevDisplayRow(this,!0);return e||!1}moveToRow(e,r){var C=this.table.rowManager.findRow(e);C?(this.table.rowManager.moveRowActual(this,C,!r),this.table.rowManager.refreshActiveData("display",!1,!0)):console.warn("Move Error - No matching row found:",e)}delete(){return this.dispatch("row-delete",this),this.deleteActual(),Promise.resolve()}deleteActual(e){this.detachModules(),this.table.rowManager.deleteRow(this,e),this.deleteCells(),this.initialized=!1,this.heightInitialized=!1,this.element=!1,this.dispatch("row-deleted",this)}detachModules(){this.dispatch("row-deleting",this)}deleteCells(){var e=this.cells.length;for(let r=0;r{r(this.position)}))}watchPosition(e){this.positionWatchers.push(e),e(this.position)}getGroup(){return this.modules.group||!1}getComponent(){return this.component||(this.component=new Wy(this)),this.component}}var vR={avg:function(n,e,r){var C=0,D=typeof r.precision<"u"?r.precision:2;return n.length&&(C=n.reduce(function(T,p){return Number(T)+Number(p)}),C=C/n.length,C=D!==!1?C.toFixed(D):C),parseFloat(C).toString()},max:function(n,e,r){var C=null,D=typeof r.precision<"u"?r.precision:!1;return n.forEach(function(T){T=Number(T),(T>C||C===null)&&(C=T)}),C!==null?D!==!1?C.toFixed(D):C:""},min:function(n,e,r){var C=null,D=typeof r.precision<"u"?r.precision:!1;return n.forEach(function(T){T=Number(T),(T(n||D===0)&&n.indexOf(D)===T);return C.length}};class zf extends qi{constructor(e){super(e),this.topCalcs=[],this.botCalcs=[],this.genColumn=!1,this.topElement=this.createElement(),this.botElement=this.createElement(),this.topRow=!1,this.botRow=!1,this.topInitialized=!1,this.botInitialized=!1,this.blocked=!1,this.recalcAfterBlock=!1,this.registerTableOption("columnCalcs",!0),this.registerColumnOption("topCalc"),this.registerColumnOption("topCalcParams"),this.registerColumnOption("topCalcFormatter"),this.registerColumnOption("topCalcFormatterParams"),this.registerColumnOption("bottomCalc"),this.registerColumnOption("bottomCalcParams"),this.registerColumnOption("bottomCalcFormatter"),this.registerColumnOption("bottomCalcFormatterParams")}createElement(){var e=document.createElement("div");return e.classList.add("tabulator-calcs-holder"),e}initialize(){this.genColumn=new vh({field:"value"},this),this.subscribe("cell-value-changed",this.cellValueChanged.bind(this)),this.subscribe("column-init",this.initializeColumnCheck.bind(this)),this.subscribe("row-deleted",this.rowsUpdated.bind(this)),this.subscribe("scroll-horizontal",this.scrollHorizontal.bind(this)),this.subscribe("row-added",this.rowsUpdated.bind(this)),this.subscribe("column-moved",this.recalcActiveRows.bind(this)),this.subscribe("column-add",this.recalcActiveRows.bind(this)),this.subscribe("data-refreshed",this.recalcActiveRowsRefresh.bind(this)),this.subscribe("table-redraw",this.tableRedraw.bind(this)),this.subscribe("rows-visible",this.visibleRows.bind(this)),this.subscribe("scrollbar-vertical",this.adjustForScrollbar.bind(this)),this.subscribe("redraw-blocked",this.blockRedraw.bind(this)),this.subscribe("redraw-restored",this.restoreRedraw.bind(this)),this.subscribe("table-redrawing",this.resizeHolderWidth.bind(this)),this.subscribe("column-resized",this.resizeHolderWidth.bind(this)),this.subscribe("column-show",this.resizeHolderWidth.bind(this)),this.subscribe("column-hide",this.resizeHolderWidth.bind(this)),this.registerTableFunction("getCalcResults",this.getResults.bind(this)),this.registerTableFunction("recalc",this.userRecalc.bind(this)),this.resizeHolderWidth()}resizeHolderWidth(){this.topElement.style.minWidth=this.table.columnManager.headersElement.offsetWidth+"px"}tableRedraw(e){this.recalc(this.table.rowManager.activeRows),e&&this.redraw()}blockRedraw(){this.blocked=!0,this.recalcAfterBlock=!1}restoreRedraw(){this.blocked=!1,this.recalcAfterBlock&&(this.recalcAfterBlock=!1,this.recalcActiveRowsRefresh())}userRecalc(){this.recalc(this.table.rowManager.activeRows)}blockCheck(){return this.blocked&&(this.recalcAfterBlock=!0),this.blocked}visibleRows(e,r){return this.topRow&&r.unshift(this.topRow),this.botRow&&r.push(this.botRow),r}rowsUpdated(e){this.table.options.groupBy?this.recalcRowGroup(e):this.recalcActiveRows()}recalcActiveRowsRefresh(){this.table.options.groupBy&&this.table.options.dataTreeStartExpanded&&this.table.options.dataTree?this.recalcAll():this.recalcActiveRows()}recalcActiveRows(){this.recalc(this.table.rowManager.activeRows)}cellValueChanged(e){(e.column.definition.topCalc||e.column.definition.bottomCalc)&&(this.table.options.groupBy?((this.table.options.columnCalcs=="table"||this.table.options.columnCalcs=="both")&&this.recalcActiveRows(),this.table.options.columnCalcs!="table"&&this.recalcRowGroup(e.row)):this.recalcActiveRows())}initializeColumnCheck(e){(e.definition.topCalc||e.definition.bottomCalc)&&this.initializeColumn(e)}initializeColumn(e){var r=e.definition,C={topCalcParams:r.topCalcParams||{},botCalcParams:r.bottomCalcParams||{}};if(r.topCalc){switch(typeof r.topCalc){case"string":zf.calculations[r.topCalc]?C.topCalc=zf.calculations[r.topCalc]:console.warn("Column Calc Error - No such calculation found, ignoring: ",r.topCalc);break;case"function":C.topCalc=r.topCalc;break}C.topCalc&&(e.modules.columnCalcs=C,this.topCalcs.push(e),this.table.options.columnCalcs!="group"&&this.initializeTopRow())}if(r.bottomCalc){switch(typeof r.bottomCalc){case"string":zf.calculations[r.bottomCalc]?C.botCalc=zf.calculations[r.bottomCalc]:console.warn("Column Calc Error - No such calculation found, ignoring: ",r.bottomCalc);break;case"function":C.botCalc=r.bottomCalc;break}C.botCalc&&(e.modules.columnCalcs=C,this.botCalcs.push(e),this.table.options.columnCalcs!="group"&&this.initializeBottomRow())}}registerColumnField(){}removeCalcs(){var e=!1;this.topInitialized&&(this.topInitialized=!1,this.topElement.parentNode.removeChild(this.topElement),e=!0),this.botInitialized&&(this.botInitialized=!1,this.footerRemove(this.botElement),e=!0),e&&this.table.rowManager.adjustTableSize()}reinitializeCalcs(){this.topCalcs.length&&this.initializeTopRow(),this.botCalcs.length&&this.initializeBottomRow()}initializeTopRow(){var e=document.createDocumentFragment();this.topInitialized||(e.appendChild(document.createElement("br")),e.appendChild(this.topElement),this.table.columnManager.getContentsElement().insertBefore(e,this.table.columnManager.headersElement.nextSibling),this.topInitialized=!0)}initializeBottomRow(){this.botInitialized||(this.footerPrepend(this.botElement),this.botInitialized=!0)}scrollHorizontal(e){this.botInitialized&&this.botRow&&(this.botElement.scrollLeft=e)}recalc(e){var r,C;if(!this.blockCheck()&&(this.topInitialized||this.botInitialized)){if(r=this.rowsToData(e),this.topInitialized){for(this.topRow&&this.topRow.deleteCells(),C=this.generateRow("top",r),this.topRow=C;this.topElement.firstChild;)this.topElement.removeChild(this.topElement.firstChild);this.topElement.appendChild(C.getElement()),C.initialize(!0)}if(this.botInitialized){for(this.botRow&&this.botRow.deleteCells(),C=this.generateRow("bottom",r),this.botRow=C;this.botElement.firstChild;)this.botElement.removeChild(this.botElement.firstChild);this.botElement.appendChild(C.getElement()),C.initialize(!0)}this.table.rowManager.adjustTableSize(),this.table.modExists("frozenColumns")&&this.table.modules.frozenColumns.layout()}}recalcRowGroup(e){this.recalcGroup(this.table.modules.groupRows.getRowGroup(e))}recalcAll(){if((this.topCalcs.length||this.botCalcs.length)&&(this.table.options.columnCalcs!=="group"&&this.recalcActiveRows(),this.table.options.groupBy&&this.table.options.columnCalcs!=="table")){var e=this.table.modules.groupRows.getChildGroups();e.forEach(r=>{this.recalcGroup(r)})}}recalcGroup(e){var r,C;this.blockCheck()||e&&e.calcs&&(e.calcs.bottom&&(r=this.rowsToData(e.rows),C=this.generateRowData("bottom",r),e.calcs.bottom.updateData(C),e.calcs.bottom.reinitialize()),e.calcs.top&&(r=this.rowsToData(e.rows),C=this.generateRowData("top",r),e.calcs.top.updateData(C),e.calcs.top.reinitialize()))}generateTopRow(e){return this.generateRow("top",this.rowsToData(e))}generateBottomRow(e){return this.generateRow("bottom",this.rowsToData(e))}rowsToData(e){var r=[];return e.forEach(C=>{if(r.push(C.getData()),this.table.options.dataTree&&this.table.options.dataTreeChildColumnCalcs&&C.modules.dataTree&&C.modules.dataTree.open){var D=this.rowsToData(this.table.modules.dataTree.getFilteredTreeChildren(C));r=r.concat(D)}}),r}generateRow(e,r){var C=this.generateRowData(e,r),D;return this.table.modExists("mutator")&&this.table.modules.mutator.disable(),D=new vl(C,this,"calc"),this.table.modExists("mutator")&&this.table.modules.mutator.enable(),D.getElement().classList.add("tabulator-calcs","tabulator-calcs-"+e),D.component=!1,D.getComponent=()=>(D.component||(D.component=new gR(D)),D.component),D.generateCells=()=>{var T=[];this.table.columnManager.columnsByIndex.forEach(p=>{this.genColumn.setField(p.getField()),this.genColumn.hozAlign=p.hozAlign,p.definition[e+"CalcFormatter"]&&this.table.modExists("format")?this.genColumn.modules.format={formatter:this.table.modules.format.getFormatter(p.definition[e+"CalcFormatter"]),params:p.definition[e+"CalcFormatterParams"]||{}}:this.genColumn.modules.format={formatter:this.table.modules.format.getFormatter("plaintext"),params:{}},this.genColumn.definition.cssClass=p.definition.cssClass;var t=new eg(this.genColumn,D);t.getElement(),t.column=p,t.setWidth(),p.cells.push(t),T.push(t),p.visible||t.hide()}),D.cells=T},D}generateRowData(e,r){var C={},D=e=="top"?this.topCalcs:this.botCalcs,T=e=="top"?"topCalc":"botCalc",p,t;return D.forEach(function(d){var g=[];d.modules.columnCalcs&&d.modules.columnCalcs[T]&&(r.forEach(function(i){g.push(d.getFieldValue(i))}),t=T+"Params",p=typeof d.modules.columnCalcs[t]=="function"?d.modules.columnCalcs[t](g,r):d.modules.columnCalcs[t],d.setFieldValue(C,d.modules.columnCalcs[T](g,r,p)))}),C}hasTopCalcs(){return!!this.topCalcs.length}hasBottomCalcs(){return!!this.botCalcs.length}redraw(){this.topRow&&this.topRow.normalizeHeight(!0),this.botRow&&this.botRow.normalizeHeight(!0)}getResults(){var e={},r;return this.table.options.groupBy&&this.table.modExists("groupRows")?(r=this.table.modules.groupRows.getGroups(!0),r.forEach(C=>{e[C.getKey()]=this.getGroupResults(C)})):e={top:this.topRow?this.topRow.getData():{},bottom:this.botRow?this.botRow.getData():{}},e}getGroupResults(e){var r=e._getSelf(),C=e.getSubGroups(),D={},T={};return C.forEach(p=>{D[p.getKey()]=this.getGroupResults(p)}),T={top:r.calcs.top?r.calcs.top.getData():{},bottom:r.calcs.bottom?r.calcs.bottom.getData():{},groups:D},T}adjustForScrollbar(e){this.botRow&&(this.table.rtl?this.botElement.style.paddingLeft=e+"px":this.botElement.style.paddingRight=e+"px")}}zf.moduleName="columnCalcs";zf.calculations=vR;class OM extends qi{constructor(e){super(e),this.indent=10,this.field="",this.collapseEl=null,this.expandEl=null,this.branchEl=null,this.elementField=!1,this.startOpen=function(){},this.registerTableOption("dataTree",!1),this.registerTableOption("dataTreeFilter",!0),this.registerTableOption("dataTreeSort",!0),this.registerTableOption("dataTreeElementColumn",!1),this.registerTableOption("dataTreeBranchElement",!0),this.registerTableOption("dataTreeChildIndent",9),this.registerTableOption("dataTreeChildField","_children"),this.registerTableOption("dataTreeCollapseElement",!1),this.registerTableOption("dataTreeExpandElement",!1),this.registerTableOption("dataTreeStartExpanded",!1),this.registerTableOption("dataTreeChildColumnCalcs",!1),this.registerTableOption("dataTreeSelectPropagate",!1),this.registerComponentFunction("row","treeCollapse",this.collapseRow.bind(this)),this.registerComponentFunction("row","treeExpand",this.expandRow.bind(this)),this.registerComponentFunction("row","treeToggle",this.toggleRow.bind(this)),this.registerComponentFunction("row","getTreeParent",this.getTreeParent.bind(this)),this.registerComponentFunction("row","getTreeChildren",this.getRowChildren.bind(this)),this.registerComponentFunction("row","addTreeChild",this.addTreeChildRow.bind(this)),this.registerComponentFunction("row","isTreeExpanded",this.isRowExpanded.bind(this))}initialize(){if(this.table.options.dataTree){var e=null,r=this.table.options;switch(this.field=r.dataTreeChildField,this.indent=r.dataTreeChildIndent,this.options("movableRows")&&console.warn("The movableRows option is not available with dataTree enabled, moving of child rows could result in unpredictable behavior"),r.dataTreeBranchElement?r.dataTreeBranchElement===!0?(this.branchEl=document.createElement("div"),this.branchEl.classList.add("tabulator-data-tree-branch")):typeof r.dataTreeBranchElement=="string"?(e=document.createElement("div"),e.innerHTML=r.dataTreeBranchElement,this.branchEl=e.firstChild):this.branchEl=r.dataTreeBranchElement:(this.branchEl=document.createElement("div"),this.branchEl.classList.add("tabulator-data-tree-branch-empty")),r.dataTreeCollapseElement?typeof r.dataTreeCollapseElement=="string"?(e=document.createElement("div"),e.innerHTML=r.dataTreeCollapseElement,this.collapseEl=e.firstChild):this.collapseEl=r.dataTreeCollapseElement:(this.collapseEl=document.createElement("div"),this.collapseEl.classList.add("tabulator-data-tree-control"),this.collapseEl.tabIndex=0,this.collapseEl.innerHTML="
"),r.dataTreeExpandElement?typeof r.dataTreeExpandElement=="string"?(e=document.createElement("div"),e.innerHTML=r.dataTreeExpandElement,this.expandEl=e.firstChild):this.expandEl=r.dataTreeExpandElement:(this.expandEl=document.createElement("div"),this.expandEl.classList.add("tabulator-data-tree-control"),this.expandEl.tabIndex=0,this.expandEl.innerHTML="
"),typeof r.dataTreeStartExpanded){case"boolean":this.startOpen=function(C,D){return r.dataTreeStartExpanded};break;case"function":this.startOpen=r.dataTreeStartExpanded;break;default:this.startOpen=function(C,D){return r.dataTreeStartExpanded[D]};break}this.subscribe("row-init",this.initializeRow.bind(this)),this.subscribe("row-layout-after",this.layoutRow.bind(this)),this.subscribe("row-deleted",this.rowDelete.bind(this),0),this.subscribe("row-data-changed",this.rowDataChanged.bind(this),10),this.subscribe("cell-value-updated",this.cellValueChanged.bind(this)),this.subscribe("edit-cancelled",this.cellValueChanged.bind(this)),this.subscribe("column-moving-rows",this.columnMoving.bind(this)),this.subscribe("table-built",this.initializeElementField.bind(this)),this.subscribe("table-redrawing",this.tableRedrawing.bind(this)),this.registerDisplayHandler(this.getRows.bind(this),30)}}tableRedrawing(e){var r;e&&(r=this.table.rowManager.getRows(),r.forEach(C=>{this.reinitializeRowChildren(C)}))}initializeElementField(){var e=this.table.columnManager.getFirstVisibleColumn();this.elementField=this.table.options.dataTreeElementColumn||(e?e.field:!1)}getRowChildren(e){return this.getTreeChildren(e,!0)}columnMoving(){var e=[];return this.table.rowManager.rows.forEach(r=>{e=e.concat(this.getTreeChildren(r,!1,!0))}),e}rowDataChanged(e,r,C){this.redrawNeeded(C)&&(this.initializeRow(e),r&&(this.layoutRow(e),this.refreshData(!0)))}cellValueChanged(e){var r=e.column.getField();r===this.elementField&&this.layoutRow(e.row)}initializeRow(e){var r=e.getData()[this.field],C=Array.isArray(r),D=C||!C&&typeof r=="object"&&r!==null;!D&&e.modules.dataTree&&e.modules.dataTree.branchEl&&e.modules.dataTree.branchEl.parentNode.removeChild(e.modules.dataTree.branchEl),!D&&e.modules.dataTree&&e.modules.dataTree.controlEl&&e.modules.dataTree.controlEl.parentNode.removeChild(e.modules.dataTree.controlEl),e.modules.dataTree={index:e.modules.dataTree?e.modules.dataTree.index:0,open:D?e.modules.dataTree?e.modules.dataTree.open:this.startOpen(e.getComponent(),0):!1,controlEl:e.modules.dataTree&&D?e.modules.dataTree.controlEl:!1,branchEl:e.modules.dataTree&&D?e.modules.dataTree.branchEl:!1,parent:e.modules.dataTree?e.modules.dataTree.parent:!1,children:D}}reinitializeRowChildren(e){var r=this.getTreeChildren(e,!1,!0);r.forEach(function(C){C.reinitialize(!0)})}layoutRow(e){var r=this.elementField?e.getCell(this.elementField):e.getCells()[0],C=r.getElement(),D=e.modules.dataTree;D.branchEl&&(D.branchEl.parentNode&&D.branchEl.parentNode.removeChild(D.branchEl),D.branchEl=!1),D.controlEl&&(D.controlEl.parentNode&&D.controlEl.parentNode.removeChild(D.controlEl),D.controlEl=!1),this.generateControlElement(e,C),e.getElement().classList.add("tabulator-tree-level-"+D.index),D.index&&(this.branchEl?(D.branchEl=this.branchEl.cloneNode(!0),C.insertBefore(D.branchEl,C.firstChild),this.table.rtl?D.branchEl.style.marginRight=(D.branchEl.offsetWidth+D.branchEl.style.marginLeft)*(D.index-1)+D.index*this.indent+"px":D.branchEl.style.marginLeft=(D.branchEl.offsetWidth+D.branchEl.style.marginRight)*(D.index-1)+D.index*this.indent+"px"):this.table.rtl?C.style.paddingRight=parseInt(window.getComputedStyle(C,null).getPropertyValue("padding-right"))+D.index*this.indent+"px":C.style.paddingLeft=parseInt(window.getComputedStyle(C,null).getPropertyValue("padding-left"))+D.index*this.indent+"px")}generateControlElement(e,r){var C=e.modules.dataTree,D=C.controlEl;r=r||e.getCells()[0].getElement(),C.children!==!1&&(C.open?(C.controlEl=this.collapseEl.cloneNode(!0),C.controlEl.addEventListener("click",T=>{T.stopPropagation(),this.collapseRow(e)})):(C.controlEl=this.expandEl.cloneNode(!0),C.controlEl.addEventListener("click",T=>{T.stopPropagation(),this.expandRow(e)})),C.controlEl.addEventListener("mousedown",T=>{T.stopPropagation()}),D&&D.parentNode===r?D.parentNode.replaceChild(C.controlEl,D):r.insertBefore(C.controlEl,r.firstChild))}getRows(e){var r=[];return e.forEach((C,D)=>{var T,p;r.push(C),C instanceof vl&&(C.create(),T=C.modules.dataTree,!T.index&&T.children!==!1&&(p=this.getChildren(C),p.forEach(t=>{t.create(),r.push(t)})))}),r}getChildren(e,r){var C=e.modules.dataTree,D=[],T=[];return C.children!==!1&&(C.open||r)&&(Array.isArray(C.children)||(C.children=this.generateChildren(e)),this.table.modExists("filter")&&this.table.options.dataTreeFilter?D=this.table.modules.filter.filter(C.children):D=C.children,this.table.modExists("sort")&&this.table.options.dataTreeSort&&this.table.modules.sort.sort(D),D.forEach(p=>{T.push(p);var t=this.getChildren(p);t.forEach(d=>{T.push(d)})})),T}generateChildren(e){var r=[],C=e.getData()[this.field];return Array.isArray(C)||(C=[C]),C.forEach(D=>{var T=new vl(D||{},this.table.rowManager);T.create(),T.modules.dataTree.index=e.modules.dataTree.index+1,T.modules.dataTree.parent=e,T.modules.dataTree.children&&(T.modules.dataTree.open=this.startOpen(T.getComponent(),T.modules.dataTree.index)),r.push(T)}),r}expandRow(e,r){var C=e.modules.dataTree;C.children!==!1&&(C.open=!0,e.reinitialize(),this.refreshData(!0),this.dispatchExternal("dataTreeRowExpanded",e.getComponent(),e.modules.dataTree.index))}collapseRow(e){var r=e.modules.dataTree;r.children!==!1&&(r.open=!1,e.reinitialize(),this.refreshData(!0),this.dispatchExternal("dataTreeRowCollapsed",e.getComponent(),e.modules.dataTree.index))}toggleRow(e){var r=e.modules.dataTree;r.children!==!1&&(r.open?this.collapseRow(e):this.expandRow(e))}isRowExpanded(e){return e.modules.dataTree.open}getTreeParent(e){return e.modules.dataTree.parent?e.modules.dataTree.parent.getComponent():!1}getTreeParentRoot(e){return e.modules.dataTree&&e.modules.dataTree.parent?this.getTreeParentRoot(e.modules.dataTree.parent):e}getFilteredTreeChildren(e){var r=e.modules.dataTree,C=[],D;return r.children&&(Array.isArray(r.children)||(r.children=this.generateChildren(e)),this.table.modExists("filter")&&this.table.options.dataTreeFilter?D=this.table.modules.filter.filter(r.children):D=r.children,D.forEach(T=>{T instanceof vl&&C.push(T)})),C}rowDelete(e){var r=e.modules.dataTree.parent,C;r&&(C=this.findChildIndex(e,r),C!==!1&&r.data[this.field].splice(C,1),r.data[this.field].length||delete r.data[this.field],this.initializeRow(r),this.layoutRow(r)),this.refreshData(!0)}addTreeChildRow(e,r,C,D){var T=!1;typeof r=="string"&&(r=JSON.parse(r)),Array.isArray(e.data[this.field])||(e.data[this.field]=[],e.modules.dataTree.open=this.startOpen(e.getComponent(),e.modules.dataTree.index)),typeof D<"u"&&(T=this.findChildIndex(D,e),T!==!1&&e.data[this.field].splice(C?T:T+1,0,r)),T===!1&&(C?e.data[this.field].unshift(r):e.data[this.field].push(r)),this.initializeRow(e),this.layoutRow(e),this.refreshData(!0)}findChildIndex(e,r){var C=!1;return typeof e=="object"?e instanceof vl?C=e.data:e instanceof Wy?C=e._getSelf().data:typeof HTMLElement<"u"&&e instanceof HTMLElement?r.modules.dataTree&&(C=r.modules.dataTree.children.find(D=>D instanceof vl?D.element===e:!1),C&&(C=C.data)):e===null&&(C=!1):typeof e>"u"?C=!1:C=r.data[this.field].find(D=>D.data[this.table.options.index]==e),C&&(Array.isArray(r.data[this.field])&&(C=r.data[this.field].indexOf(C)),C==-1&&(C=!1)),C}getTreeChildren(e,r,C){var D=e.modules.dataTree,T=[];return D&&D.children&&(Array.isArray(D.children)||(D.children=this.generateChildren(e)),D.children.forEach(p=>{p instanceof vl&&(T.push(r?p.getComponent():p),C&&(T=T.concat(this.getTreeChildren(p,r,C))))})),T}getChildField(){return this.field}redrawNeeded(e){return(this.field?typeof e[this.field]<"u":!1)||(this.elementField?typeof e[this.elementField]<"u":!1)}}OM.moduleName="dataTree";function yR(n,e={},r){var C=e.delimiter?e.delimiter:",",D=[],T=[];n.forEach(p=>{var t=[];switch(p.type){case"group":console.warn("Download Warning - CSV downloader cannot process row groups");break;case"calc":console.warn("Download Warning - CSV downloader cannot process column calculations");break;case"header":p.columns.forEach((d,g)=>{d&&d.depth===1&&(T[g]=typeof d.value>"u"||d.value===null?"":'"'+String(d.value).split('"').join('""')+'"')});break;case"row":p.columns.forEach(d=>{if(d){switch(typeof d.value){case"object":d.value=d.value!==null?JSON.stringify(d.value):"";break;case"undefined":d.value="";break}t.push('"'+String(d.value).split('"').join('""')+'"')}}),D.push(t.join(C));break}}),T.length&&D.unshift(T.join(C)),D=D.join(` -`),e.bom&&(D="\uFEFF"+D),r(D,"text/csv")}function bR(n,e,r){var C=[];n.forEach(D=>{var T={};switch(D.type){case"header":break;case"group":console.warn("Download Warning - JSON downloader cannot process row groups");break;case"calc":console.warn("Download Warning - JSON downloader cannot process column calculations");break;case"row":D.columns.forEach(p=>{p&&(T[p.component.getTitleDownload()||p.component.getField()]=p.value)}),C.push(T);break}}),C=JSON.stringify(C,null," "),r(C,"application/json")}function xR(n,e={},r){var C=[],D=[],T={},p=e.rowGroupStyles||{fontStyle:"bold",fontSize:12,cellPadding:6,fillColor:220},t=e.rowCalcStyles||{fontStyle:"bold",fontSize:10,cellPadding:4,fillColor:232},d=e.jsPDF||{},g=e.title?e.title:"";d.orientation||(d.orientation=e.orientation||"landscape"),d.unit||(d.unit="pt"),n.forEach(v=>{switch(v.type){case"header":C.push(i(v));break;case"group":D.push(i(v,p));break;case"calc":D.push(i(v,t));break;case"row":D.push(i(v));break}});function i(v,f){var l=[];return v.columns.forEach(a=>{var u;if(a){switch(typeof a.value){case"object":a.value=a.value!==null?JSON.stringify(a.value):"";break;case"undefined":a.value="";break}u={content:a.value,colSpan:a.width,rowSpan:a.height},f&&(u.styles=f),l.push(u)}}),l}var M=new jspdf.jsPDF(d);e.autoTable&&(typeof e.autoTable=="function"?T=e.autoTable(M)||{}:T=e.autoTable),g&&(T.didDrawPage=function(v){M.text(g,40,30)}),T.head=C,T.body=D,M.autoTable(T),e.documentProcessing&&e.documentProcessing(M),r(M.output("arraybuffer"),"application/pdf")}function _R(n,e,r){var C=this,D=e.sheetName||"Sheet1",T=XLSX.utils.book_new(),p=new kl(this),t="compress"in e?e.compress:!0,d=e.writeOptions||{bookType:"xlsx",bookSST:!0,compression:t},g;d.type="binary",T.SheetNames=[],T.Sheets={};function i(){var f=[],l=[],a={},u={s:{c:0,r:0},e:{c:n[0]?n[0].columns.reduce((o,s)=>o+(s&&s.width?s.width:1),0):0,r:n.length}};return n.forEach((o,s)=>{var c=[];o.columns.forEach(function(h,m){h?(c.push(!(h.value instanceof Date)&&typeof h.value=="object"?JSON.stringify(h.value):h.value),(h.width>1||h.height>-1)&&(h.height>1||h.width>1)&&l.push({s:{r:s,c:m},e:{r:s+h.height-1,c:m+h.width-1}})):c.push("")}),f.push(c)}),XLSX.utils.sheet_add_aoa(a,f),a["!ref"]=XLSX.utils.encode_range(u),l.length&&(a["!merges"]=l),a}if(e.sheetOnly){r(i());return}if(e.sheets)for(var M in e.sheets)e.sheets[M]===!0?(T.SheetNames.push(M),T.Sheets[M]=i()):(T.SheetNames.push(M),p.commsSend(e.sheets[M],"download","intercept",{type:"xlsx",options:{sheetOnly:!0},active:C.active,intercept:function(f){T.Sheets[M]=f}}));else T.SheetNames.push(D),T.Sheets[D]=i();e.documentProcessing&&(T=e.documentProcessing(T));function v(f){for(var l=new ArrayBuffer(f.length),a=new Uint8Array(l),u=0;u!=f.length;++u)a[u]=f.charCodeAt(u)&255;return l}g=XLSX.write(T,d),r(v(g),"application/octet-stream")}function wR(n,e,r){this.modExists("export",!0)&&r(this.modules.export.generateHTMLTable(n),"text/html")}function TR(n,e,r){const C=[];n.forEach(D=>{const T={};switch(D.type){case"header":break;case"group":console.warn("Download Warning - JSON downloader cannot process row groups");break;case"calc":console.warn("Download Warning - JSON downloader cannot process column calculations");break;case"row":D.columns.forEach(p=>{p&&(T[p.component.getTitleDownload()||p.component.getField()]=p.value)}),C.push(JSON.stringify(T));break}}),r(C.join(` -`),"application/x-ndjson")}var kR={csv:yR,json:bR,jsonLines:TR,pdf:xR,xlsx:_R,html:wR};class a0 extends qi{constructor(e){super(e),this.registerTableOption("downloadEncoder",function(r,C){return new Blob([r],{type:C})}),this.registerTableOption("downloadReady",void 0),this.registerTableOption("downloadConfig",{}),this.registerTableOption("downloadRowRange","active"),this.registerColumnOption("download"),this.registerColumnOption("titleDownload")}initialize(){this.deprecatedOptionsCheck(),this.registerTableFunction("download",this.download.bind(this)),this.registerTableFunction("downloadToTab",this.downloadToTab.bind(this))}deprecatedOptionsCheck(){this.deprecationCheck("downloadReady","downloadEncoder")}downloadToTab(e,r,C,D){this.download(e,r,C,D,!0)}download(e,r,C,D,T){var p=!1;function t(g,i){T?T===!0?this.triggerDownload(g,i,e,r,!0):T(g):this.triggerDownload(g,i,e,r)}if(typeof e=="function"?p=e:a0.downloaders[e]?p=a0.downloaders[e]:console.warn("Download Error - No such download type found: ",e),p){var d=this.generateExportList(D);p.call(this.table,d,C||{},t.bind(this))}}generateExportList(e){var r=this.table.modules.export.generateExportList(this.table.options.downloadConfig,!1,e||this.table.options.downloadRowRange,"download"),C=this.table.options.groupHeaderDownload;return C&&!Array.isArray(C)&&(C=[C]),r.forEach(D=>{var T;D.type==="group"&&(T=D.columns[0],C&&C[D.indent]&&(T.value=C[D.indent](T.value,D.component._group.getRowCount(),D.component._group.getData(),D.component)))}),r}triggerDownload(e,r,C,D,T){var p=document.createElement("a"),t=this.table.options.downloadEncoder(e,r);t&&(T?window.open(window.URL.createObjectURL(t)):(D=D||"Tabulator."+(typeof C=="function"?"txt":C),navigator.msSaveOrOpenBlob?navigator.msSaveOrOpenBlob(t,D):(p.setAttribute("href",window.URL.createObjectURL(t)),p.setAttribute("download",D),p.style.display="none",document.body.appendChild(p),p.click(),document.body.removeChild(p))),this.dispatchExternal("downloadComplete"))}commsReceived(e,r,C){switch(r){case"intercept":this.download(C.type,"",C.options,C.active,C.intercept);break}}}a0.moduleName="download";a0.downloaders=kR;function Yy(n,e){var r=e.mask,C=typeof e.maskLetterChar<"u"?e.maskLetterChar:"A",D=typeof e.maskNumberChar<"u"?e.maskNumberChar:"9",T=typeof e.maskWildcardChar<"u"?e.maskWildcardChar:"*";function p(t){var d=r[t];typeof d<"u"&&d!==T&&d!==C&&d!==D&&(n.value=n.value+""+d,p(t+1))}n.addEventListener("keydown",t=>{var d=n.value.length,g=t.key;if(t.keyCode>46&&!t.ctrlKey&&!t.metaKey){if(d>=r.length)return t.preventDefault(),t.stopPropagation(),!1;switch(r[d]){case C:if(g.toUpperCase()==g.toLowerCase())return t.preventDefault(),t.stopPropagation(),!1;break;case D:if(isNaN(g))return t.preventDefault(),t.stopPropagation(),!1;break;case T:break;default:if(g!==r[d])return t.preventDefault(),t.stopPropagation(),!1}}}),n.addEventListener("keyup",t=>{t.keyCode>46&&e.maskAutoFill&&p(n.value.length)}),n.placeholder||(n.placeholder=r),e.maskAutoFill&&p(n.value.length)}function MR(n,e,r,C,D){var T=n.getValue(),p=document.createElement("input");if(p.setAttribute("type",D.search?"search":"text"),p.style.padding="4px",p.style.width="100%",p.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let d in D.elementAttributes)d.charAt(0)=="+"?(d=d.slice(1),p.setAttribute(d,p.getAttribute(d)+D.elementAttributes["+"+d])):p.setAttribute(d,D.elementAttributes[d]);p.value=typeof T<"u"?T:"",e(function(){n.getType()==="cell"&&(p.focus({preventScroll:!0}),p.style.height="100%",D.selectContents&&p.select())});function t(d){(T===null||typeof T>"u")&&p.value!==""||p.value!==T?r(p.value)&&(T=p.value):C()}return p.addEventListener("change",t),p.addEventListener("blur",t),p.addEventListener("keydown",function(d){switch(d.keyCode){case 13:t();break;case 27:C();break;case 35:case 36:d.stopPropagation();break}}),D.mask&&Yy(p,D),p}function AR(n,e,r,C,D){var T=n.getValue(),p=D.verticalNavigation||"hybrid",t=String(T!==null&&typeof T<"u"?T:""),d=document.createElement("textarea"),g=0;if(d.style.display="block",d.style.padding="2px",d.style.height="100%",d.style.width="100%",d.style.boxSizing="border-box",d.style.whiteSpace="pre-wrap",d.style.resize="none",D.elementAttributes&&typeof D.elementAttributes=="object")for(let M in D.elementAttributes)M.charAt(0)=="+"?(M=M.slice(1),d.setAttribute(M,d.getAttribute(M)+D.elementAttributes["+"+M])):d.setAttribute(M,D.elementAttributes[M]);d.value=t,e(function(){n.getType()==="cell"&&(d.focus({preventScroll:!0}),d.style.height="100%",d.scrollHeight,d.style.height=d.scrollHeight+"px",n.getRow().normalizeHeight(),D.selectContents&&d.select())});function i(M){(T===null||typeof T>"u")&&d.value!==""||d.value!==T?(r(d.value)&&(T=d.value),setTimeout(function(){n.getRow().normalizeHeight()},300)):C()}return d.addEventListener("change",i),d.addEventListener("blur",i),d.addEventListener("keyup",function(){d.style.height="";var M=d.scrollHeight;d.style.height=M+"px",M!=g&&(g=M,n.getRow().normalizeHeight())}),d.addEventListener("keydown",function(M){switch(M.keyCode){case 13:M.shiftKey&&D.shiftEnterSubmit&&i();break;case 27:C();break;case 38:(p=="editor"||p=="hybrid"&&d.selectionStart)&&(M.stopImmediatePropagation(),M.stopPropagation());break;case 40:(p=="editor"||p=="hybrid"&&d.selectionStart!==d.value.length)&&(M.stopImmediatePropagation(),M.stopPropagation());break;case 35:case 36:M.stopPropagation();break}}),D.mask&&Yy(d,D),d}function SR(n,e,r,C,D){var T=n.getValue(),p=D.verticalNavigation||"editor",t=document.createElement("input");if(t.setAttribute("type","number"),typeof D.max<"u"&&t.setAttribute("max",D.max),typeof D.min<"u"&&t.setAttribute("min",D.min),typeof D.step<"u"&&t.setAttribute("step",D.step),t.style.padding="4px",t.style.width="100%",t.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let i in D.elementAttributes)i.charAt(0)=="+"?(i=i.slice(1),t.setAttribute(i,t.getAttribute(i)+D.elementAttributes["+"+i])):t.setAttribute(i,D.elementAttributes[i]);t.value=T;var d=function(i){g()};e(function(){n.getType()==="cell"&&(t.removeEventListener("blur",d),t.focus({preventScroll:!0}),t.style.height="100%",t.addEventListener("blur",d),D.selectContents&&t.select())});function g(){var i=t.value;!isNaN(i)&&i!==""&&(i=Number(i)),i!==T?r(i)&&(T=i):C()}return t.addEventListener("keydown",function(i){switch(i.keyCode){case 13:g();break;case 27:C();break;case 38:case 40:p=="editor"&&(i.stopImmediatePropagation(),i.stopPropagation());break;case 35:case 36:i.stopPropagation();break}}),D.mask&&Yy(t,D),t}function CR(n,e,r,C,D){var T=n.getValue(),p=document.createElement("input");if(p.setAttribute("type","range"),typeof D.max<"u"&&p.setAttribute("max",D.max),typeof D.min<"u"&&p.setAttribute("min",D.min),typeof D.step<"u"&&p.setAttribute("step",D.step),p.style.padding="4px",p.style.width="100%",p.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let d in D.elementAttributes)d.charAt(0)=="+"?(d=d.slice(1),p.setAttribute(d,p.getAttribute(d)+D.elementAttributes["+"+d])):p.setAttribute(d,D.elementAttributes[d]);p.value=T,e(function(){n.getType()==="cell"&&(p.focus({preventScroll:!0}),p.style.height="100%")});function t(){var d=p.value;!isNaN(d)&&d!==""&&(d=Number(d)),d!=T?r(d)&&(T=d):C()}return p.addEventListener("blur",function(d){t()}),p.addEventListener("keydown",function(d){switch(d.keyCode){case 13:t();break;case 27:C();break}}),p}function ER(n,e,r,C,D){var T=D.format,p=D.verticalNavigation||"editor",t=T?window.DateTime||luxon.DateTime:null,d=n.getValue(),g=document.createElement("input");function i(v){var f;return t.isDateTime(v)?f=v:T==="iso"?f=t.fromISO(String(v)):f=t.fromFormat(String(v),T),f.toFormat("yyyy-MM-dd")}if(g.type="date",g.style.padding="4px",g.style.width="100%",g.style.boxSizing="border-box",D.max&&g.setAttribute("max",T?i(D.max):D.max),D.min&&g.setAttribute("min",T?i(D.min):D.min),D.elementAttributes&&typeof D.elementAttributes=="object")for(let v in D.elementAttributes)v.charAt(0)=="+"?(v=v.slice(1),g.setAttribute(v,g.getAttribute(v)+D.elementAttributes["+"+v])):g.setAttribute(v,D.elementAttributes[v]);d=typeof d<"u"?d:"",T&&(t?d=i(d):console.error("Editor Error - 'date' editor 'format' param is dependant on luxon.js")),g.value=d,e(function(){n.getType()==="cell"&&(g.focus({preventScroll:!0}),g.style.height="100%",D.selectContents&&g.select())});function M(){var v=g.value,f;if((d===null||typeof d>"u")&&v!==""||v!==d){if(v&&T)switch(f=t.fromFormat(String(v),"yyyy-MM-dd"),T){case!0:v=f;break;case"iso":v=f.toISO();break;default:v=f.toFormat(T)}r(v)&&(d=g.value)}else C()}return g.addEventListener("blur",function(v){(v.relatedTarget||v.rangeParent||v.explicitOriginalTarget!==g)&&M()}),g.addEventListener("keydown",function(v){switch(v.keyCode){case 13:M();break;case 27:C();break;case 35:case 36:v.stopPropagation();break;case 38:case 40:p=="editor"&&(v.stopImmediatePropagation(),v.stopPropagation());break}}),g}function LR(n,e,r,C,D){var T=D.format,p=D.verticalNavigation||"editor",t=T?window.DateTime||luxon.DateTime:null,d,g=n.getValue(),i=document.createElement("input");if(i.type="time",i.style.padding="4px",i.style.width="100%",i.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let v in D.elementAttributes)v.charAt(0)=="+"?(v=v.slice(1),i.setAttribute(v,i.getAttribute(v)+D.elementAttributes["+"+v])):i.setAttribute(v,D.elementAttributes[v]);g=typeof g<"u"?g:"",T&&(t?(t.isDateTime(g)?d=g:T==="iso"?d=t.fromISO(String(g)):d=t.fromFormat(String(g),T),g=d.toFormat("HH:mm")):console.error("Editor Error - 'date' editor 'format' param is dependant on luxon.js")),console.log("val",g),i.value=g,e(function(){n.getType()=="cell"&&(i.focus({preventScroll:!0}),i.style.height="100%",D.selectContents&&i.select())});function M(){var v=i.value,f;if((g===null||typeof g>"u")&&v!==""||v!==g){if(v&&T)switch(f=t.fromFormat(String(v),"hh:mm"),T){case!0:v=f;break;case"iso":v=f.toISO();break;default:v=f.toFormat(T)}r(v)&&(g=i.value)}else C()}return i.addEventListener("blur",function(v){(v.relatedTarget||v.rangeParent||v.explicitOriginalTarget!==i)&&M()}),i.addEventListener("keydown",function(v){switch(v.keyCode){case 13:M();break;case 27:C();break;case 35:case 36:v.stopPropagation();break;case 38:case 40:p=="editor"&&(v.stopImmediatePropagation(),v.stopPropagation());break}}),i}function IR(n,e,r,C,D){var T=D.format,p=D.verticalNavigation||"editor",t=T?window.DateTime||luxon.DateTime:null,d,g=n.getValue(),i=document.createElement("input");if(i.type="datetime-local",i.style.padding="4px",i.style.width="100%",i.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let v in D.elementAttributes)v.charAt(0)=="+"?(v=v.slice(1),i.setAttribute(v,i.getAttribute(v)+D.elementAttributes["+"+v])):i.setAttribute(v,D.elementAttributes[v]);g=typeof g<"u"?g:"",T&&(t?(t.isDateTime(g)?d=g:T==="iso"?d=t.fromISO(String(g)):d=t.fromFormat(String(g),T),g=d.toFormat("yyyy-MM-dd")+"T"+d.toFormat("HH:mm")):console.error("Editor Error - 'date' editor 'format' param is dependant on luxon.js")),i.value=g,e(function(){n.getType()==="cell"&&(i.focus({preventScroll:!0}),i.style.height="100%",D.selectContents&&i.select())});function M(){var v=i.value,f;if((g===null||typeof g>"u")&&v!==""||v!==g){if(v&&T)switch(f=t.fromISO(String(v)),T){case!0:v=f;break;case"iso":v=f.toISO();break;default:v=f.toFormat(T)}r(v)&&(g=i.value)}else C()}return i.addEventListener("blur",function(v){(v.relatedTarget||v.rangeParent||v.explicitOriginalTarget!==i)&&M()}),i.addEventListener("keydown",function(v){switch(v.keyCode){case 13:M();break;case 27:C();break;case 35:case 36:v.stopPropagation();break;case 38:case 40:p=="editor"&&(v.stopImmediatePropagation(),v.stopPropagation());break}}),i}class G2{constructor(e,r,C,D,T,p){this.edit=e,this.table=e.table,this.cell=r,this.params=this._initializeParams(p),this.data=[],this.displayItems=[],this.currentItems=[],this.focusedItem=null,this.input=this._createInputElement(),this.listEl=this._createListElement(),this.initialValues=null,this.isFilter=r.getType()==="header",this.filterTimeout=null,this.filtered=!1,this.typing=!1,this.values=[],this.popup=null,this.listIteration=0,this.lastAction="",this.filterTerm="",this.blurable=!0,this.actions={success:D,cancel:T},this._deprecatedOptionsCheck(),this._initializeValue(),C(this._onRendered.bind(this))}_deprecatedOptionsCheck(){this.params.listItemFormatter&&this.cell.getTable().deprecationAdvisor.msg("The listItemFormatter editor param has been deprecated, please see the latest editor documentation for updated options"),this.params.sortValuesList&&this.cell.getTable().deprecationAdvisor.msg("The sortValuesList editor param has been deprecated, please see the latest editor documentation for updated options"),this.params.searchFunc&&this.cell.getTable().deprecationAdvisor.msg("The searchFunc editor param has been deprecated, please see the latest editor documentation for updated options"),this.params.searchingPlaceholder&&this.cell.getTable().deprecationAdvisor.msg("The searchingPlaceholder editor param has been deprecated, please see the latest editor documentation for updated options")}_initializeValue(){var e=this.cell.getValue();typeof e>"u"&&typeof this.params.defaultValue<"u"&&(e=this.params.defaultValue),this.initialValues=this.params.multiselect?e:[e],this.isFilter&&(this.input.value=this.initialValues?this.initialValues.join(","):"",this.headerFilterInitialListGen())}_onRendered(){var e=this.cell.getElement();function r(C){C.stopPropagation()}this.isFilter||(this.input.style.height="100%",this.input.focus({preventScroll:!0})),e.addEventListener("click",r),setTimeout(()=>{e.removeEventListener("click",r)},1e3),this.input.addEventListener("mousedown",this._preventPopupBlur.bind(this))}_createListElement(){var e=document.createElement("div");return e.classList.add("tabulator-edit-list"),e.addEventListener("mousedown",this._preventBlur.bind(this)),e.addEventListener("keydown",this._inputKeyDown.bind(this)),e}_setListWidth(){var e=this.isFilter?this.input:this.cell.getElement();this.listEl.style.minWidth=e.offsetWidth+"px",this.params.maxWidth&&(this.params.maxWidth===!0?this.listEl.style.maxWidth=e.offsetWidth+"px":typeof this.params.maxWidth=="number"?this.listEl.style.maxWidth=this.params.maxWidth+"px":this.listEl.style.maxWidth=this.params.maxWidth)}_createInputElement(){var e=this.params.elementAttributes,r=document.createElement("input");if(r.setAttribute("type",this.params.clearable?"search":"text"),r.style.padding="4px",r.style.width="100%",r.style.boxSizing="border-box",this.params.autocomplete||(r.style.cursor="default",r.style.caretColor="transparent"),e&&typeof e=="object")for(let C in e)C.charAt(0)=="+"?(C=C.slice(1),r.setAttribute(C,r.getAttribute(C)+e["+"+C])):r.setAttribute(C,e[C]);return this.params.mask&&Yy(r,this.params),this._bindInputEvents(r),r}_initializeParams(e){var r=["values","valuesURL","valuesLookup"],C;return e=Object.assign({},e),e.verticalNavigation=e.verticalNavigation||"editor",e.placeholderLoading=typeof e.placeholderLoading>"u"?"Searching ...":e.placeholderLoading,e.placeholderEmpty=typeof e.placeholderEmpty>"u"?"No Results Found":e.placeholderEmpty,e.filterDelay=typeof e.filterDelay>"u"?300:e.filterDelay,e.emptyValue=Object.keys(e).includes("emptyValue")?e.emptyValue:"",C=Object.keys(e).filter(D=>r.includes(D)).length,C?C>1&&console.warn("list editor config error - only one of the values, valuesURL, or valuesLookup options can be set on the same editor"):console.warn("list editor config error - either the values, valuesURL, or valuesLookup option must be set"),e.autocomplete?e.multiselect&&(e.multiselect=!1,console.warn("list editor config error - multiselect option is not available when autocomplete is enabled")):(e.freetext&&(e.freetext=!1,console.warn("list editor config error - freetext option is only available when autocomplete is enabled")),e.filterFunc&&(e.filterFunc=!1,console.warn("list editor config error - filterFunc option is only available when autocomplete is enabled")),e.filterRemote&&(e.filterRemote=!1,console.warn("list editor config error - filterRemote option is only available when autocomplete is enabled")),e.mask&&(e.mask=!1,console.warn("list editor config error - mask option is only available when autocomplete is enabled")),e.allowEmpty&&(e.allowEmpty=!1,console.warn("list editor config error - allowEmpty option is only available when autocomplete is enabled")),e.listOnEmpty&&(e.listOnEmpty=!1,console.warn("list editor config error - listOnEmpty option is only available when autocomplete is enabled"))),e.filterRemote&&!(typeof e.valuesLookup=="function"||e.valuesURL)&&(e.filterRemote=!1,console.warn("list editor config error - filterRemote option should only be used when values list is populated from a remote source")),e}_bindInputEvents(e){e.addEventListener("focus",this._inputFocus.bind(this)),e.addEventListener("click",this._inputClick.bind(this)),e.addEventListener("blur",this._inputBlur.bind(this)),e.addEventListener("keydown",this._inputKeyDown.bind(this)),e.addEventListener("search",this._inputSearch.bind(this)),this.params.autocomplete&&e.addEventListener("keyup",this._inputKeyUp.bind(this))}_inputFocus(e){this.rebuildOptionsList()}_filter(){this.params.filterRemote?(clearTimeout(this.filterTimeout),this.filterTimeout=setTimeout(()=>{this.rebuildOptionsList()},this.params.filterDelay)):this._filterList()}_inputClick(e){e.stopPropagation()}_inputBlur(e){this.blurable&&(this.popup?this.popup.hide():this._resolveValue(!0))}_inputSearch(){this._clearChoices()}_inputKeyDown(e){switch(e.keyCode){case 38:this._keyUp(e);break;case 40:this._keyDown(e);break;case 37:case 39:this._keySide(e);break;case 13:this._keyEnter();break;case 27:this._keyEsc();break;case 36:case 35:this._keyHomeEnd(e);break;case 9:this._keyTab(e);break;default:this._keySelectLetter(e)}}_inputKeyUp(e){switch(e.keyCode){case 38:case 37:case 39:case 40:case 13:case 27:break;default:this._keyAutoCompLetter(e)}}_preventPopupBlur(){this.popup&&this.popup.blockHide(),setTimeout(()=>{this.popup&&this.popup.restoreHide()},10)}_preventBlur(){this.blurable=!1,setTimeout(()=>{this.blurable=!0},10)}_keyTab(e){this.params.autocomplete&&this.lastAction==="typing"?this._resolveValue(!0):this.focusedItem&&this._chooseItem(this.focusedItem,!0)}_keyUp(e){var r=this.displayItems.indexOf(this.focusedItem);(this.params.verticalNavigation=="editor"||this.params.verticalNavigation=="hybrid"&&r)&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault(),r>0&&this._focusItem(this.displayItems[r-1]))}_keyDown(e){var r=this.displayItems.indexOf(this.focusedItem);(this.params.verticalNavigation=="editor"||this.params.verticalNavigation=="hybrid"&&r=38&&e.keyCode<=90&&this._scrollToValue(e.keyCode))}_keyAutoCompLetter(e){this._filter(),this.lastAction="typing",this.typing=!0}_scrollToValue(e){clearTimeout(this.filterTimeout);var r=String.fromCharCode(e).toLowerCase();this.filterTerm+=r.toLowerCase();var C=this.displayItems.find(D=>typeof D.label<"u"&&D.label.toLowerCase().startsWith(this.filterTerm));C&&this._focusItem(C),this.filterTimeout=setTimeout(()=>{this.filterTerm=""},800)}_focusItem(e){this.lastAction="focus",this.focusedItem&&this.focusedItem.element&&this.focusedItem.element.classList.remove("focused"),this.focusedItem=e,e&&e.element&&(e.element.classList.add("focused"),e.element.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"}))}headerFilterInitialListGen(){this._generateOptions(!0)}rebuildOptionsList(){this._generateOptions().then(this._sortOptions.bind(this)).then(this._buildList.bind(this)).then(this._showList.bind(this)).catch(e=>{Number.isInteger(e)||console.error("List generation error",e)})}_filterList(){this._buildList(this._filterOptions()),this._showList()}_generateOptions(e){var r=[],C=++this.listIteration;return this.filtered=!1,this.params.values?r=this.params.values:this.params.valuesURL?r=this._ajaxRequest(this.params.valuesURL,this.input.value):typeof this.params.valuesLookup=="function"?r=this.params.valuesLookup(this.cell,this.input.value):this.params.valuesLookup&&(r=this._uniqueColumnValues(this.params.valuesLookupField)),r instanceof Promise?(e||this._addPlaceholder(this.params.placeholderLoading),r.then().then(D=>this.listIteration===C?this._parseList(D):Promise.reject(C))):Promise.resolve(this._parseList(r))}_addPlaceholder(e){var r=document.createElement("div");typeof e=="function"&&(e=e(this.cell.getComponent(),this.listEl)),e&&(this._clearList(),e instanceof HTMLElement?r=e:(r.classList.add("tabulator-edit-list-placeholder"),r.innerHTML=e),this.listEl.appendChild(r),this._showList())}_ajaxRequest(e,r){var C=this.params.filterRemote?{term:r}:{};return e=LM(e,{},C),fetch(e).then(D=>D.ok?D.json().catch(T=>(console.warn("List Ajax Load Error - Invalid JSON returned",T),Promise.reject(T))):(console.error("List Ajax Load Error - Connection Error: "+D.status,D.statusText),Promise.reject(D))).catch(D=>(console.error("List Ajax Load Error - Connection Error: ",D),Promise.reject(D)))}_uniqueColumnValues(e){var r={},C=this.table.getData(this.params.valuesLookup),D;return e?D=this.table.columnManager.getColumnByField(e):D=this.cell.getColumn()._getSelf(),D?C.forEach(T=>{var p=D.getFieldValue(T);p!==null&&typeof p<"u"&&p!==""&&(r[p]=!0)}):(console.warn("unable to find matching column to create select lookup list:",e),r=[]),Object.keys(r)}_parseList(e){var r=[];return Array.isArray(e)||(e=Object.entries(e).map(([C,D])=>({label:D,value:C}))),e.forEach(C=>{typeof C!="object"&&(C={label:C,value:C}),this._parseListItem(C,r,0)}),!this.currentItems.length&&this.params.freetext&&(this.input.value=this.initialValues,this.typing=!0,this.lastAction="typing"),this.data=r,r}_parseListItem(e,r,C){var D={};e.options?D=this._parseListGroup(e,C+1):(D={label:e.label,value:e.value,itemParams:e.itemParams,elementAttributes:e.elementAttributes,element:!1,selected:!1,visible:!0,level:C,original:e},this.initialValues&&this.initialValues.indexOf(e.value)>-1&&this._chooseItem(D,!0)),r.push(D)}_parseListGroup(e,r){var C={label:e.label,group:!0,itemParams:e.itemParams,elementAttributes:e.elementAttributes,element:!1,visible:!0,level:r,options:[],original:e};return e.options.forEach(D=>{this._parseListItem(D,C.options,r)}),C}_sortOptions(e){var r;return this.params.sort&&(r=typeof this.params.sort=="function"?this.params.sort:this._defaultSortFunction.bind(this),this._sortGroup(r,e)),e}_sortGroup(e,r){r.sort((C,D)=>e(C.label,D.label,C.value,D.value,C.original,D.original)),r.forEach(C=>{C.group&&this._sortGroup(e,C.options)})}_defaultSortFunction(e,r){var C,D,T,p,t=0,d,g=/(\d+)|(\D+)/g,i=/\d/,M=0;if(this.params.sort==="desc"&&([e,r]=[r,e]),!e&&e!==0)M=!r&&r!==0?0:-1;else if(!r&&r!==0)M=1;else{if(isFinite(e)&&isFinite(r))return e-r;if(C=String(e).toLowerCase(),D=String(r).toLowerCase(),C===D)return 0;if(!(i.test(C)&&i.test(D)))return C>D?1:-1;for(C=C.match(g),D=D.match(g),d=C.length>D.length?D.length:C.length;tp?1:-1;return C.length>D.length}return M}_filterOptions(){var e=this.params.filterFunc||this._defaultFilterFunc,r=this.input.value;return r?(this.filtered=!0,this.data.forEach(C=>{this._filterItem(e,r,C)})):this.filtered=!1,this.data}_filterItem(e,r,C){var D=!1;return C.group?(C.options.forEach(T=>{this._filterItem(e,r,T)&&(D=!0)}),C.visible=D):C.visible=e(r,C.label,C.value,C.original),C.visible}_defaultFilterFunc(e,r,C,D){return e=String(e).toLowerCase(),r!==null&&typeof r<"u"&&(String(r).toLowerCase().indexOf(e)>-1||String(C).toLowerCase().indexOf(e)>-1)}_clearList(){for(;this.listEl.firstChild;)this.listEl.removeChild(this.listEl.firstChild);this.displayItems=[]}_buildList(e){this._clearList(),e.forEach(r=>{this._buildItem(r)}),this.displayItems.length||this._addPlaceholder(this.params.placeholderEmpty)}_buildItem(e){var r=e.element,C;if(!this.filtered||e.visible){if(!r){if(r=document.createElement("div"),r.tabIndex=0,C=this.params.itemFormatter?this.params.itemFormatter(e.label,e.value,e.original,r):e.label,C instanceof HTMLElement?r.appendChild(C):r.innerHTML=C,e.group?r.classList.add("tabulator-edit-list-group"):r.classList.add("tabulator-edit-list-item"),r.classList.add("tabulator-edit-list-group-level-"+e.level),e.elementAttributes&&typeof e.elementAttributes=="object")for(let D in e.elementAttributes)D.charAt(0)=="+"?(D=D.slice(1),r.setAttribute(D,this.input.getAttribute(D)+e.elementAttributes["+"+D])):r.setAttribute(D,e.elementAttributes[D]);e.group?r.addEventListener("click",this._groupClick.bind(this,e)):r.addEventListener("click",this._itemClick.bind(this,e)),r.addEventListener("mousedown",this._preventBlur.bind(this)),e.element=r}this._styleItem(e),this.listEl.appendChild(r),e.group?e.options.forEach(D=>{this._buildItem(D)}):this.displayItems.push(e)}}_showList(){var e=this.popup&&this.popup.isVisible();if(this.input.parentNode){if(this.params.autocomplete&&this.input.value===""&&!this.params.listOnEmpty){this.popup&&this.popup.hide(!0);return}this._setListWidth(),this.popup||(this.popup=this.edit.popup(this.listEl)),this.popup.show(this.cell.getElement(),"bottom"),e||setTimeout(()=>{this.popup.hideOnBlur(this._resolveValue.bind(this,!0))},10)}}_styleItem(e){e&&e.element&&(e.selected?e.element.classList.add("active"):e.element.classList.remove("active"))}_itemClick(e,r){r.stopPropagation(),this._chooseItem(e)}_groupClick(e,r){r.stopPropagation()}_cancel(){this.popup.hide(!0),this.actions.cancel()}_clearChoices(){this.typing=!0,this.currentItems.forEach(e=>{e.selected=!1,this._styleItem(e)}),this.currentItems=[],this.focusedItem=null}_chooseItem(e,r){var C;this.typing=!1,this.params.multiselect?(C=this.currentItems.indexOf(e),C>-1?(this.currentItems.splice(C,1),e.selected=!1):(this.currentItems.push(e),e.selected=!0),this.input.value=this.currentItems.map(D=>D.label).join(","),this._styleItem(e)):(this.currentItems=[e],e.selected=!0,this.input.value=e.label,this._styleItem(e),r||this._resolveValue()),this._focusItem(e)}_resolveValue(e){var r,C;if(this.popup&&this.popup.hide(!0),this.params.multiselect)r=this.currentItems.map(D=>D.value);else if(e&&this.params.autocomplete&&this.typing)if(this.params.freetext||this.params.allowEmpty&&this.input.value==="")r=this.input.value;else{this.actions.cancel();return}else this.currentItems[0]?r=this.currentItems[0].value:(C=Array.isArray(this.initialValues)?this.initialValues[0]:this.initialValues,C===null||typeof C>"u"||C===""?r=C:r=this.params.emptyValue);r===""&&(r=this.params.emptyValue),this.actions.success(r),this.isFilter&&(this.initialValues=r&&!Array.isArray(r)?[r]:r,this.currentItems=[])}}function RR(n,e,r,C,D){this.deprecationMsg("The select editor has been deprecated, please use the new list editor");var T=new G2(this,n,e,r,C,D);return T.input}function PR(n,e,r,C,D){var T=new G2(this,n,e,r,C,D);return T.input}function OR(n,e,r,C,D){this.deprecationMsg("The autocomplete editor has been deprecated, please use the new list editor with the 'autocomplete' editorParam"),D.autocomplete=!0;var T=new G2(this,n,e,r,C,D);return T.input}function DR(n,e,r,C,D){var T=this,p=n.getElement(),t=n.getValue(),d=p.getElementsByTagName("svg").length||5,g=p.getElementsByTagName("svg")[0]?p.getElementsByTagName("svg")[0].getAttribute("width"):14,i=[],M=document.createElement("div"),v=document.createElementNS("http://www.w3.org/2000/svg","svg");function f(o){i.forEach(function(s,c){c'):(T.table.browser=="ie"?s.setAttribute("class","tabulator-star-inactive"):s.classList.replace("tabulator-star-active","tabulator-star-inactive"),s.innerHTML='')})}function l(o){var s=document.createElement("span"),c=v.cloneNode(!0);i.push(c),s.addEventListener("mouseenter",function(h){h.stopPropagation(),h.stopImmediatePropagation(),f(o)}),s.addEventListener("mousemove",function(h){h.stopPropagation(),h.stopImmediatePropagation()}),s.addEventListener("click",function(h){h.stopPropagation(),h.stopImmediatePropagation(),r(o),p.blur()}),s.appendChild(c),M.appendChild(s)}function a(o){t=o,f(o)}if(p.style.whiteSpace="nowrap",p.style.overflow="hidden",p.style.textOverflow="ellipsis",M.style.verticalAlign="middle",M.style.display="inline-block",M.style.padding="4px",v.setAttribute("width",g),v.setAttribute("height",g),v.setAttribute("viewBox","0 0 512 512"),v.setAttribute("xml:space","preserve"),v.style.padding="0 1px",D.elementAttributes&&typeof D.elementAttributes=="object")for(let o in D.elementAttributes)o.charAt(0)=="+"?(o=o.slice(1),M.setAttribute(o,M.getAttribute(o)+D.elementAttributes["+"+o])):M.setAttribute(o,D.elementAttributes[o]);for(var u=1;u<=d;u++)l(u);return t=Math.min(parseInt(t),d),f(t),M.addEventListener("mousemove",function(o){f(0)}),M.addEventListener("click",function(o){r(0)}),p.addEventListener("blur",function(o){C()}),p.addEventListener("keydown",function(o){switch(o.keyCode){case 39:a(t+1);break;case 37:a(t-1);break;case 13:r(t);break;case 27:C();break}}),M}function zR(n,e,r,C,D){var T=n.getElement(),p=typeof D.max>"u"?T.getElementsByTagName("div")[0]&&T.getElementsByTagName("div")[0].getAttribute("max")||100:D.max,t=typeof D.min>"u"?T.getElementsByTagName("div")[0]&&T.getElementsByTagName("div")[0].getAttribute("min")||0:D.min,d=(p-t)/100,g=n.getValue()||0,i=document.createElement("div"),M=document.createElement("div"),v,f;function l(){var a=window.getComputedStyle(T,null),u=d*Math.round(M.offsetWidth/((T.clientWidth-parseInt(a.getPropertyValue("padding-left"))-parseInt(a.getPropertyValue("padding-right")))/100))+t;r(u),T.setAttribute("aria-valuenow",u),T.setAttribute("aria-label",g)}if(i.style.position="absolute",i.style.right="0",i.style.top="0",i.style.bottom="0",i.style.width="5px",i.classList.add("tabulator-progress-handle"),M.style.display="inline-block",M.style.position="relative",M.style.height="100%",M.style.backgroundColor="#488CE9",M.style.maxWidth="100%",M.style.minWidth="0%",D.elementAttributes&&typeof D.elementAttributes=="object")for(let a in D.elementAttributes)a.charAt(0)=="+"?(a=a.slice(1),M.setAttribute(a,M.getAttribute(a)+D.elementAttributes["+"+a])):M.setAttribute(a,D.elementAttributes[a]);return T.style.padding="4px 4px",g=Math.min(parseFloat(g),p),g=Math.max(parseFloat(g),t),g=Math.round((g-t)/d),M.style.width=g+"%",T.setAttribute("aria-valuemin",t),T.setAttribute("aria-valuemax",p),M.appendChild(i),i.addEventListener("mousedown",function(a){v=a.screenX,f=M.offsetWidth}),i.addEventListener("mouseover",function(){i.style.cursor="ew-resize"}),T.addEventListener("mousemove",function(a){v&&(M.style.width=f+a.screenX-v+"px")}),T.addEventListener("mouseup",function(a){v&&(a.stopPropagation(),a.stopImmediatePropagation(),v=!1,f=!1,l())}),T.addEventListener("keydown",function(a){switch(a.keyCode){case 39:a.preventDefault(),M.style.width=M.clientWidth+T.clientWidth/100+"px";break;case 37:a.preventDefault(),M.style.width=M.clientWidth-T.clientWidth/100+"px";break;case 9:case 13:l();break;case 27:C();break}}),T.addEventListener("blur",function(){C()}),M}function FR(n,e,r,C,D){var T=n.getValue(),p=document.createElement("input"),t=D.tristate,d=typeof D.indeterminateValue>"u"?null:D.indeterminateValue,g=!1,i=Object.keys(D).includes("trueValue"),M=Object.keys(D).includes("falseValue");if(p.setAttribute("type","checkbox"),p.style.marginTop="5px",p.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let f in D.elementAttributes)f.charAt(0)=="+"?(f=f.slice(1),p.setAttribute(f,p.getAttribute(f)+D.elementAttributes["+"+f])):p.setAttribute(f,D.elementAttributes[f]);p.value=T,t&&(typeof T>"u"||T===d||T==="")&&(g=!0,p.indeterminate=!0),this.table.browser!="firefox"&&this.table.browser!="safari"&&e(function(){n.getType()==="cell"&&p.focus({preventScroll:!0})}),p.checked=i?T===D.trueValue:T===!0||T==="true"||T==="True"||T===1;function v(f){var l=p.checked;return i&&l?l=D.trueValue:M&&!l&&(l=D.falseValue),t?f?g?d:l:p.checked&&!g?(p.checked=!1,p.indeterminate=!0,g=!0,d):(g=!1,l):l}return p.addEventListener("change",function(f){r(v())}),p.addEventListener("blur",function(f){r(v(!0))}),p.addEventListener("keydown",function(f){f.keyCode==13&&r(v()),f.keyCode==27&&C()}),p}var BR={input:MR,textarea:AR,number:SR,range:CR,date:ER,time:LR,datetime:IR,select:RR,list:PR,autocomplete:OR,star:DR,progress:zR,tickCross:FR};class tg extends qi{constructor(e){super(e),this.currentCell=!1,this.mouseClick=!1,this.recursionBlock=!1,this.invalidEdit=!1,this.editedCells=[],this.editors=tg.editors,this.registerColumnOption("editable"),this.registerColumnOption("editor"),this.registerColumnOption("editorParams"),this.registerColumnOption("cellEditing"),this.registerColumnOption("cellEdited"),this.registerColumnOption("cellEditCancelled"),this.registerTableOption("editTriggerEvent","focus"),this.registerTableFunction("getEditedCells",this.getEditedCells.bind(this)),this.registerTableFunction("clearCellEdited",this.clearCellEdited.bind(this)),this.registerTableFunction("navigatePrev",this.navigatePrev.bind(this)),this.registerTableFunction("navigateNext",this.navigateNext.bind(this)),this.registerTableFunction("navigateLeft",this.navigateLeft.bind(this)),this.registerTableFunction("navigateRight",this.navigateRight.bind(this)),this.registerTableFunction("navigateUp",this.navigateUp.bind(this)),this.registerTableFunction("navigateDown",this.navigateDown.bind(this)),this.registerComponentFunction("cell","isEdited",this.cellIsEdited.bind(this)),this.registerComponentFunction("cell","clearEdited",this.clearEdited.bind(this)),this.registerComponentFunction("cell","edit",this.editCell.bind(this)),this.registerComponentFunction("cell","cancelEdit",this.cellCancelEdit.bind(this)),this.registerComponentFunction("cell","navigatePrev",this.navigatePrev.bind(this)),this.registerComponentFunction("cell","navigateNext",this.navigateNext.bind(this)),this.registerComponentFunction("cell","navigateLeft",this.navigateLeft.bind(this)),this.registerComponentFunction("cell","navigateRight",this.navigateRight.bind(this)),this.registerComponentFunction("cell","navigateUp",this.navigateUp.bind(this)),this.registerComponentFunction("cell","navigateDown",this.navigateDown.bind(this))}initialize(){this.subscribe("cell-init",this.bindEditor.bind(this)),this.subscribe("cell-delete",this.clearEdited.bind(this)),this.subscribe("cell-value-changed",this.updateCellClass.bind(this)),this.subscribe("column-layout",this.initializeColumnCheck.bind(this)),this.subscribe("column-delete",this.columnDeleteCheck.bind(this)),this.subscribe("row-deleting",this.rowDeleteCheck.bind(this)),this.subscribe("row-layout",this.rowEditableCheck.bind(this)),this.subscribe("data-refreshing",this.cancelEdit.bind(this)),this.subscribe("clipboard-paste",this.pasteBlocker.bind(this)),this.subscribe("keybinding-nav-prev",this.navigatePrev.bind(this,void 0)),this.subscribe("keybinding-nav-next",this.keybindingNavigateNext.bind(this)),this.subscribe("keybinding-nav-up",this.navigateUp.bind(this,void 0)),this.subscribe("keybinding-nav-down",this.navigateDown.bind(this,void 0))}pasteBlocker(e){if(this.currentCell)return!0}keybindingNavigateNext(e){var r=this.currentCell,C=this.options("tabEndNewRow");r&&(this.navigateNext(r,e)||C&&(r.getElement().firstChild.blur(),this.invalidEdit||(C===!0?C=this.table.addRow({}):typeof C=="function"?C=this.table.addRow(C(r.row.getComponent())):C=this.table.addRow(Object.assign({},C)),C.then(()=>{setTimeout(()=>{r.getComponent().navigateNext()})}))))}cellIsEdited(e){return!!e.modules.edit&&e.modules.edit.edited}cellCancelEdit(e){e===this.currentCell?this.table.modules.edit.cancelEdit():console.warn("Cancel Editor Error - This cell is not currently being edited ")}updateCellClass(e){this.allowEdit(e)?e.getElement().classList.add("tabulator-editable"):e.getElement().classList.remove("tabulator-editable")}clearCellEdited(e){e||(e=this.table.modules.edit.getEditedCells()),Array.isArray(e)||(e=[e]),e.forEach(r=>{this.table.modules.edit.clearEdited(r._getSelf())})}navigatePrev(e=this.currentCell,r){var C,D;if(e){if(r&&r.preventDefault(),C=this.navigateLeft(),C)return!0;if(D=this.table.rowManager.prevDisplayRow(e.row,!0),D&&(C=this.findPrevEditableCell(D,D.cells.length),C))return C.getComponent().edit(),!0}return!1}navigateNext(e=this.currentCell,r){var C,D;if(e){if(r&&r.preventDefault(),C=this.navigateRight(),C)return!0;if(D=this.table.rowManager.nextDisplayRow(e.row,!0),D&&(C=this.findNextEditableCell(D,-1),C))return C.getComponent().edit(),!0}return!1}navigateLeft(e=this.currentCell,r){var C,D;return e&&(r&&r.preventDefault(),C=e.getIndex(),D=this.findPrevEditableCell(e.row,C),D)?(D.getComponent().edit(),!0):!1}navigateRight(e=this.currentCell,r){var C,D;return e&&(r&&r.preventDefault(),C=e.getIndex(),D=this.findNextEditableCell(e.row,C),D)?(D.getComponent().edit(),!0):!1}navigateUp(e=this.currentCell,r){var C,D;return e&&(r&&r.preventDefault(),C=e.getIndex(),D=this.table.rowManager.prevDisplayRow(e.row,!0),D)?(D.cells[C].getComponent().edit(),!0):!1}navigateDown(e=this.currentCell,r){var C,D;return e&&(r&&r.preventDefault(),C=e.getIndex(),D=this.table.rowManager.nextDisplayRow(e.row,!0),D)?(D.cells[C].getComponent().edit(),!0):!1}findNextEditableCell(e,r){var C=!1;if(r0)for(var D=r-1;D>=0;D--){let T=e.cells[D];if(T.column.modules.edit&&oo.elVisible(T.getElement())&&this.allowEdit(T)){C=T;break}}return C}initializeColumnCheck(e){typeof e.definition.editor<"u"&&this.initializeColumn(e)}columnDeleteCheck(e){this.currentCell&&this.currentCell.column===e&&this.cancelEdit()}rowDeleteCheck(e){this.currentCell&&this.currentCell.row===e&&this.cancelEdit()}rowEditableCheck(e){e.getCells().forEach(r=>{r.column.modules.edit&&typeof r.column.modules.edit.check=="function"&&this.updateCellClass(r)})}initializeColumn(e){var r={editor:!1,blocked:!1,check:e.definition.editable,params:e.definition.editorParams||{}};switch(typeof e.definition.editor){case"string":this.editors[e.definition.editor]?r.editor=this.editors[e.definition.editor]:console.warn("Editor Error - No such editor found: ",e.definition.editor);break;case"function":r.editor=e.definition.editor;break;case"boolean":e.definition.editor===!0&&(typeof e.definition.formatter!="function"?this.editors[e.definition.formatter]?r.editor=this.editors[e.definition.formatter]:r.editor=this.editors.input:console.warn("Editor Error - Cannot auto lookup editor for a custom formatter: ",e.definition.formatter));break}r.editor&&(e.modules.edit=r)}getCurrentCell(){return this.currentCell?this.currentCell.getComponent():!1}clearEditor(e){var r=this.currentCell,C;if(this.invalidEdit=!1,r){for(this.currentCell=!1,C=r.getElement(),this.dispatch("edit-editor-clear",r,e),C.classList.remove("tabulator-editing");C.firstChild;)C.removeChild(C.firstChild);r.row.getElement().classList.remove("tabulator-editing"),r.table.element.classList.remove("tabulator-editing")}}cancelEdit(){if(this.currentCell){var e=this.currentCell,r=this.currentCell.getComponent();this.clearEditor(!0),e.setValueActual(e.getValue()),e.cellRendered(),(e.column.definition.editor=="textarea"||e.column.definition.variableHeight)&&e.row.normalizeHeight(!0),e.column.definition.cellEditCancelled&&e.column.definition.cellEditCancelled.call(this.table,r),this.dispatch("edit-cancelled",e),this.dispatchExternal("cellEditCancelled",r)}}bindEditor(e){if(e.column.modules.edit){var r=this,C=e.getElement(!0);this.updateCellClass(e),C.setAttribute("tabindex",0),C.addEventListener("mousedown",function(D){D.button===2?D.preventDefault():r.mouseClick=!0}),this.options("editTriggerEvent")==="dblclick"&&C.addEventListener("dblclick",function(D){C.classList.contains("tabulator-editing")||(C.focus({preventScroll:!0}),r.edit(e,D,!1))}),(this.options("editTriggerEvent")==="focus"||this.options("editTriggerEvent")==="click")&&C.addEventListener("click",function(D){C.classList.contains("tabulator-editing")||(C.focus({preventScroll:!0}),r.edit(e,D,!1))}),this.options("editTriggerEvent")==="focus"&&C.addEventListener("focus",function(D){r.recursionBlock||r.edit(e,D,!1)})}}focusCellNoEvent(e,r){this.recursionBlock=!0,r&&this.table.browser==="ie"||e.getElement().focus({preventScroll:!0}),this.recursionBlock=!1}editCell(e,r){this.focusCellNoEvent(e),this.edit(e,!1,r)}focusScrollAdjust(e){if(this.table.rowManager.getRenderMode()=="virtual"){var r=this.table.rowManager.element.scrollTop,C=this.table.rowManager.element.clientHeight+this.table.rowManager.element.scrollTop,D=e.row.getElement();D.offsetTopC&&(this.table.rowManager.element.scrollTop+=D.offsetTop+D.offsetHeight-C);var T=this.table.rowManager.element.scrollLeft,p=this.table.rowManager.element.clientWidth+this.table.rowManager.element.scrollLeft,t=e.getElement();this.table.modExists("frozenColumns")&&(T+=parseInt(this.table.modules.frozenColumns.leftMargin||0),p-=parseInt(this.table.modules.frozenColumns.rightMargin||0)),this.table.options.renderHorizontal==="virtual"&&(T-=parseInt(this.table.columnManager.renderer.vDomPadLeft),p-=parseInt(this.table.columnManager.renderer.vDomPadLeft)),t.offsetLeftp&&(this.table.rowManager.element.scrollLeft+=t.offsetLeft+t.offsetWidth-p)}}allowEdit(e){var r=!!e.column.modules.edit;if(e.column.modules.edit)switch(typeof e.column.modules.edit.check){case"function":e.row.initialized&&(r=e.column.modules.edit.check(e.getComponent()));break;case"string":r=!!e.row.data[e.column.modules.edit.check];break;case"boolean":r=e.column.modules.edit.check;break}return r}edit(e,r,C){var D=this,T=!0,p=function(){},t=e.getElement(),d=!1,g,i,M;if(this.currentCell){!this.invalidEdit&&this.currentCell!==e&&this.cancelEdit();return}function v(o){if(D.currentCell===e&&!d){var s=D.chain("edit-success",[e,o],!0,!0);return s===!0||D.table.options.validationMode==="highlight"?(d=!0,D.clearEditor(),e.modules.edit||(e.modules.edit={}),e.modules.edit.edited=!0,D.editedCells.indexOf(e)==-1&&D.editedCells.push(e),e.setValue(o,!0),s===!0):(d=!0,D.invalidEdit=!0,D.focusCellNoEvent(e,!0),p(),setTimeout(()=>{d=!1},10),!1)}}function f(){D.currentCell===e&&!d&&D.cancelEdit()}function l(o){p=o}if(e.column.modules.edit.blocked)return this.mouseClick=!1,this.blur(t),!1;if(r&&r.stopPropagation(),T=this.allowEdit(e),T||C){if(D.cancelEdit(),D.currentCell=e,this.focusScrollAdjust(e),i=e.getComponent(),this.mouseClick&&(this.mouseClick=!1,e.column.definition.cellClick&&e.column.definition.cellClick.call(this.table,r,i)),e.column.definition.cellEditing&&e.column.definition.cellEditing.call(this.table,i),this.dispatch("cell-editing",e),this.dispatchExternal("cellEditing",i),M=typeof e.column.modules.edit.params=="function"?e.column.modules.edit.params(i):e.column.modules.edit.params,g=e.column.modules.edit.editor.call(D,i,l,v,f,M),this.currentCell&&g!==!1)if(g instanceof Node){for(t.classList.add("tabulator-editing"),e.row.getElement().classList.add("tabulator-editing"),e.table.element.classList.add("tabulator-editing");t.firstChild;)t.removeChild(t.firstChild);t.appendChild(g),p();for(var a=t.children,u=0;u{e.push(r.getComponent())}),e}clearEdited(e){var r;e.modules.edit&&e.modules.edit.edited&&(e.modules.edit.edited=!1,this.dispatch("edit-edited-clear",e)),r=this.editedCells.indexOf(e),r>-1&&this.editedCells.splice(r,1)}}tg.moduleName="edit";tg.editors=BR;class g5{constructor(e,r,C,D){this.type=e,this.columns=r,this.component=C||!1,this.indent=D||0}}class mb{constructor(e,r,C,D,T){this.value=e,this.component=r||!1,this.width=C,this.height=D,this.depth=T}}class DM extends qi{constructor(e){super(e),this.config={},this.cloneTableStyle=!0,this.colVisProp="",this.registerTableOption("htmlOutputConfig",!1),this.registerColumnOption("htmlOutput"),this.registerColumnOption("titleHtmlOutput")}initialize(){this.registerTableFunction("getHtml",this.getHtml.bind(this))}generateExportList(e,r,C,D){this.cloneTableStyle=r,this.config=e||{},this.colVisProp=D;var T,p;if(C==="range"){var t=this.table.modules.selectRange.selectedColumns();T=this.config.columnHeaders!==!1?this.headersToExportRows(this.generateColumnGroupHeaders(t)):[],p=this.bodyToExportRows(this.rowLookup(C),this.table.modules.selectRange.selectedColumns(!0))}else T=this.config.columnHeaders!==!1?this.headersToExportRows(this.generateColumnGroupHeaders()):[],p=this.bodyToExportRows(this.rowLookup(C));return T.concat(p)}generateTable(e,r,C,D){var T=this.generateExportList(e,r,C,D);return this.generateTableElement(T)}rowLookup(e){var r=[];if(typeof e=="function")e.call(this.table).forEach(C=>{C=this.table.rowManager.findRow(C),C&&r.push(C)});else switch(e){case!0:case"visible":r=this.table.rowManager.getVisibleRows(!1,!0);break;case"all":r=this.table.rowManager.rows;break;case"selected":r=this.table.modules.selectRow.selectedRows;break;case"range":r=this.table.modules.selectRange.selectedRows();break;case"active":default:this.table.options.pagination?r=this.table.rowManager.getDisplayRows(this.table.rowManager.displayRows.length-2):r=this.table.rowManager.getDisplayRows()}return Object.assign([],r)}generateColumnGroupHeaders(e){var r=[];return e||(e=this.config.columnGroups!==!1?this.table.columnManager.columns:this.table.columnManager.columnsByIndex),e.forEach(C=>{var D=this.processColumnGroup(C);D&&r.push(D)}),r}processColumnGroup(e){var r=e.columns,C=0,D=e.definition["title"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))]||e.definition.title,T={title:D,column:e,depth:1};if(r.length){if(T.subGroups=[],T.width=0,r.forEach(p=>{var t=this.processColumnGroup(p);t&&(T.width+=t.width,T.subGroups.push(t),t.depth>C&&(C=t.depth))}),T.depth+=C,!T.width)return!1}else if(this.columnVisCheck(e))T.width=1;else return!1;return T}columnVisCheck(e){var r=e.definition[this.colVisProp];return typeof r=="function"&&(r=r.call(this.table,e.getComponent())),r!==!1&&(e.visible||!e.visible&&r)}headersToExportRows(e){var r=[],C=0,D=[];function T(p,t){var d=C-t;if(typeof r[t]>"u"&&(r[t]=[]),p.height=p.subGroups?1:d-p.depth+1,r[t].push(p),p.height>1)for(let g=1;g"u"&&(r[t+g]=[]),r[t+g].push(!1);if(p.width>1)for(let g=1;gC&&(C=p.depth)}),e.forEach(function(p){T(p,0)}),r.forEach(p=>{var t=[];p.forEach(d=>{if(d){let g=typeof d.title>"u"?"":d.title;t.push(new mb(g,d.column.getComponent(),d.width,d.height,d.depth))}else t.push(null)}),D.push(new g5("header",t))}),D}bodyToExportRows(e,r=[]){var C=[];return r.length===0&&this.table.columnManager.columnsByIndex.forEach(D=>{this.columnVisCheck(D)&&r.push(D.getComponent())}),this.config.columnCalcs!==!1&&this.table.modExists("columnCalcs")&&(this.table.modules.columnCalcs.topInitialized&&e.unshift(this.table.modules.columnCalcs.topRow),this.table.modules.columnCalcs.botInitialized&&e.push(this.table.modules.columnCalcs.botRow)),e=e.filter(D=>{switch(D.type){case"group":return this.config.rowGroups!==!1;case"calc":return this.config.columnCalcs!==!1;case"row":return!(this.table.options.dataTree&&this.config.dataTree===!1&&D.modules.dataTree.parent)}return!0}),e.forEach((D,T)=>{var p=D.getData(this.colVisProp),t=[],d=0;switch(D.type){case"group":d=D.level,t.push(new mb(D.key,D.getComponent(),r.length,1));break;case"calc":case"row":r.forEach(g=>{t.push(new mb(g._column.getFieldValue(p),g,1,1))}),this.table.options.dataTree&&this.config.dataTree!==!1&&(d=D.modules.dataTree.index);break}C.push(new g5(D.type,t,D.getComponent(),d))}),C}generateTableElement(e){var r=document.createElement("table"),C=document.createElement("thead"),D=document.createElement("tbody"),T=this.lookupTableStyles(),p=this.table.options["rowFormatter"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))],t={};return t.rowFormatter=p!==null?p:this.table.options.rowFormatter,this.table.options.dataTree&&this.config.dataTree!==!1&&this.table.modExists("columnCalcs")&&(t.treeElementField=this.table.modules.dataTree.elementField),t.groupHeader=this.table.options["groupHeader"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))],t.groupHeader&&!Array.isArray(t.groupHeader)&&(t.groupHeader=[t.groupHeader]),r.classList.add("tabulator-print-table"),this.mapElementStyles(this.table.columnManager.getHeadersElement(),C,["border-top","border-left","border-right","border-bottom","background-color","color","font-weight","font-family","font-size"]),e.length>1e3&&console.warn("It may take a long time to render an HTML table with more than 1000 rows"),e.forEach((d,g)=>{let i;switch(d.type){case"header":C.appendChild(this.generateHeaderElement(d,t,T));break;case"group":D.appendChild(this.generateGroupElement(d,t,T));break;case"calc":D.appendChild(this.generateCalcElement(d,t,T));break;case"row":i=this.generateRowElement(d,t,T),this.mapElementStyles(g%2&&T.evenRow?T.evenRow:T.oddRow,i,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),D.appendChild(i);break}}),C.innerHTML&&r.appendChild(C),r.appendChild(D),this.mapElementStyles(this.table.element,r,["border-top","border-left","border-right","border-bottom"]),r}lookupTableStyles(){var e={};return this.cloneTableStyle&&window.getComputedStyle&&(e.oddRow=this.table.element.querySelector(".tabulator-row-odd:not(.tabulator-group):not(.tabulator-calcs)"),e.evenRow=this.table.element.querySelector(".tabulator-row-even:not(.tabulator-group):not(.tabulator-calcs)"),e.calcRow=this.table.element.querySelector(".tabulator-row.tabulator-calcs"),e.firstRow=this.table.element.querySelector(".tabulator-row:not(.tabulator-group):not(.tabulator-calcs)"),e.firstGroup=this.table.element.getElementsByClassName("tabulator-group")[0],e.firstRow&&(e.styleCells=e.firstRow.getElementsByClassName("tabulator-cell"),e.firstCell=e.styleCells[0],e.lastCell=e.styleCells[e.styleCells.length-1])),e}generateHeaderElement(e,r,C){var D=document.createElement("tr");return e.columns.forEach(T=>{if(T){var p=document.createElement("th"),t=T.component._column.definition.cssClass?T.component._column.definition.cssClass.split(" "):[];p.colSpan=T.width,p.rowSpan=T.height,p.innerHTML=T.value,this.cloneTableStyle&&(p.style.boxSizing="border-box"),t.forEach(function(d){p.classList.add(d)}),this.mapElementStyles(T.component.getElement(),p,["text-align","border-top","border-left","border-right","border-bottom","background-color","color","font-weight","font-family","font-size"]),this.mapElementStyles(T.component._column.contentElement,p,["padding-top","padding-left","padding-right","padding-bottom"]),T.component._column.visible?this.mapElementStyles(T.component.getElement(),p,["width"]):T.component._column.definition.width&&(p.style.width=T.component._column.definition.width+"px"),T.component._column.parent&&this.mapElementStyles(T.component._column.parent.groupElement,p,["border-top"]),D.appendChild(p)}}),D}generateGroupElement(e,r,C){var D=document.createElement("tr"),T=document.createElement("td"),p=e.columns[0];return D.classList.add("tabulator-print-table-row"),r.groupHeader&&r.groupHeader[e.indent]?p.value=r.groupHeader[e.indent](p.value,e.component._group.getRowCount(),e.component._group.getData(),e.component):r.groupHeader!==!1&&(p.value=e.component._group.generator(p.value,e.component._group.getRowCount(),e.component._group.getData(),e.component)),T.colSpan=p.width,T.innerHTML=p.value,D.classList.add("tabulator-print-table-group"),D.classList.add("tabulator-group-level-"+e.indent),p.component.isVisible()&&D.classList.add("tabulator-group-visible"),this.mapElementStyles(C.firstGroup,D,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),this.mapElementStyles(C.firstGroup,T,["padding-top","padding-left","padding-right","padding-bottom"]),D.appendChild(T),D}generateCalcElement(e,r,C){var D=this.generateRowElement(e,r,C);return D.classList.add("tabulator-print-table-calcs"),this.mapElementStyles(C.calcRow,D,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),D}generateRowElement(e,r,C){var D=document.createElement("tr");if(D.classList.add("tabulator-print-table-row"),e.columns.forEach((T,p)=>{if(T){var t=document.createElement("td"),d=T.component._column,g=this.table,i=g.columnManager.findColumnIndex(d),M=T.value,v,f={modules:{},getValue:function(){return M},getField:function(){return d.definition.field},getElement:function(){return t},getType:function(){return"cell"},getColumn:function(){return d.getComponent()},getData:function(){return e.component.getData()},getRow:function(){return e.component},getTable:function(){return g},getComponent:function(){return f},column:d},l=d.definition.cssClass?d.definition.cssClass.split(" "):[];if(l.forEach(function(a){t.classList.add(a)}),this.table.modExists("format")&&this.config.formatCells!==!1)M=this.table.modules.format.formatExportValue(f,this.colVisProp);else switch(typeof M){case"object":M=M!==null?JSON.stringify(M):"";break;case"undefined":M="";break}M instanceof Node?t.appendChild(M):t.innerHTML=M,v=C.styleCells&&C.styleCells[i]?C.styleCells[i]:C.firstCell,v&&(this.mapElementStyles(v,t,["padding-top","padding-left","padding-right","padding-bottom","border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","text-align"]),d.definition.align&&(t.style.textAlign=d.definition.align)),this.table.options.dataTree&&this.config.dataTree!==!1&&(r.treeElementField&&r.treeElementField==d.field||!r.treeElementField&&p==0)&&(e.component._row.modules.dataTree.controlEl&&t.insertBefore(e.component._row.modules.dataTree.controlEl.cloneNode(!0),t.firstChild),e.component._row.modules.dataTree.branchEl&&t.insertBefore(e.component._row.modules.dataTree.branchEl.cloneNode(!0),t.firstChild)),D.appendChild(t),f.modules.format&&f.modules.format.renderedCallback&&f.modules.format.renderedCallback()}}),r.rowFormatter&&e.type==="row"&&this.config.formatCells!==!1){let T=Object.assign(e.component);T.getElement=function(){return D},r.rowFormatter(e.component)}return D}generateHTMLTable(e){var r=document.createElement("div");return r.appendChild(this.generateTableElement(e)),r.innerHTML}getHtml(e,r,C,D){var T=this.generateExportList(C||this.table.options.htmlOutputConfig,r,e,D||"htmlOutput");return this.generateHTMLTable(T)}mapElementStyles(e,r,C){if(this.cloneTableStyle&&e&&r){var D={"background-color":"backgroundColor",color:"fontColor",width:"width","font-weight":"fontWeight","font-family":"fontFamily","font-size":"fontSize","text-align":"textAlign","border-top":"borderTop","border-left":"borderLeft","border-right":"borderRight","border-bottom":"borderBottom","padding-top":"paddingTop","padding-left":"paddingLeft","padding-right":"paddingRight","padding-bottom":"paddingBottom"};if(window.getComputedStyle){var T=window.getComputedStyle(e);C.forEach(function(p){r.style[D[p]]||(r.style[D[p]]=T.getPropertyValue(p))})}}}}DM.moduleName="export";var NR={"=":function(n,e,r,C){return e==n},"<":function(n,e,r,C){return e":function(n,e,r,C){return e>n},">=":function(n,e,r,C){return e>=n},"!=":function(n,e,r,C){return e!=n},regex:function(n,e,r,C){return typeof n=="string"&&(n=new RegExp(n)),n.test(e)},like:function(n,e,r,C){return n===null||typeof n>"u"?e===n:typeof e<"u"&&e!==null?String(e).toLowerCase().indexOf(n.toLowerCase())>-1:!1},keywords:function(n,e,r,C){var D=n.toLowerCase().split(typeof C.separator>"u"?" ":C.separator),T=String(e===null||typeof e>"u"?"":e).toLowerCase(),p=[];return D.forEach(t=>{T.includes(t)&&p.push(!0)}),C.matchAll?p.length===D.length:!!p.length},starts:function(n,e,r,C){return n===null||typeof n>"u"?e===n:typeof e<"u"&&e!==null?String(e).toLowerCase().startsWith(n.toLowerCase()):!1},ends:function(n,e,r,C){return n===null||typeof n>"u"?e===n:typeof e<"u"&&e!==null?String(e).toLowerCase().endsWith(n.toLowerCase()):!1},in:function(n,e,r,C){return Array.isArray(n)?n.length?n.indexOf(e)>-1:!0:(console.warn("Filter Error - filter value is not an array:",n),!1)}};class Xh extends qi{constructor(e){super(e),this.filterList=[],this.headerFilters={},this.headerFilterColumns=[],this.prevHeaderFilterChangeCheck="",this.prevHeaderFilterChangeCheck="{}",this.changed=!1,this.tableInitialized=!1,this.registerTableOption("filterMode","local"),this.registerTableOption("initialFilter",!1),this.registerTableOption("initialHeaderFilter",!1),this.registerTableOption("headerFilterLiveFilterDelay",300),this.registerTableOption("placeholderHeaderFilter",!1),this.registerColumnOption("headerFilter"),this.registerColumnOption("headerFilterPlaceholder"),this.registerColumnOption("headerFilterParams"),this.registerColumnOption("headerFilterEmptyCheck"),this.registerColumnOption("headerFilterFunc"),this.registerColumnOption("headerFilterFuncParams"),this.registerColumnOption("headerFilterLiveFilter"),this.registerTableFunction("searchRows",this.searchRows.bind(this)),this.registerTableFunction("searchData",this.searchData.bind(this)),this.registerTableFunction("setFilter",this.userSetFilter.bind(this)),this.registerTableFunction("refreshFilter",this.userRefreshFilter.bind(this)),this.registerTableFunction("addFilter",this.userAddFilter.bind(this)),this.registerTableFunction("getFilters",this.getFilters.bind(this)),this.registerTableFunction("setHeaderFilterFocus",this.userSetHeaderFilterFocus.bind(this)),this.registerTableFunction("getHeaderFilterValue",this.userGetHeaderFilterValue.bind(this)),this.registerTableFunction("setHeaderFilterValue",this.userSetHeaderFilterValue.bind(this)),this.registerTableFunction("getHeaderFilters",this.getHeaderFilters.bind(this)),this.registerTableFunction("removeFilter",this.userRemoveFilter.bind(this)),this.registerTableFunction("clearFilter",this.userClearFilter.bind(this)),this.registerTableFunction("clearHeaderFilter",this.userClearHeaderFilter.bind(this)),this.registerComponentFunction("column","headerFilterFocus",this.setHeaderFilterFocus.bind(this)),this.registerComponentFunction("column","reloadHeaderFilter",this.reloadHeaderFilter.bind(this)),this.registerComponentFunction("column","getHeaderFilterValue",this.getHeaderFilterValue.bind(this)),this.registerComponentFunction("column","setHeaderFilterValue",this.setHeaderFilterValue.bind(this))}initialize(){this.subscribe("column-init",this.initializeColumnHeaderFilter.bind(this)),this.subscribe("column-width-fit-before",this.hideHeaderFilterElements.bind(this)),this.subscribe("column-width-fit-after",this.showHeaderFilterElements.bind(this)),this.subscribe("table-built",this.tableBuilt.bind(this)),this.subscribe("placeholder",this.generatePlaceholder.bind(this)),this.table.options.filterMode==="remote"&&this.subscribe("data-params",this.remoteFilterParams.bind(this)),this.registerDataHandler(this.filter.bind(this),10)}tableBuilt(){this.table.options.initialFilter&&this.setFilter(this.table.options.initialFilter),this.table.options.initialHeaderFilter&&this.table.options.initialHeaderFilter.forEach(e=>{var r=this.table.columnManager.findColumn(e.field);if(r)this.setHeaderFilterValue(r,e.value);else return console.warn("Column Filter Error - No matching column found:",e.field),!1}),this.tableInitialized=!0}remoteFilterParams(e,r,C,D){return D.filter=this.getFilters(!0,!0),D}generatePlaceholder(e){if(this.table.options.placeholderHeaderFilter&&Object.keys(this.headerFilters).length)return this.table.options.placeholderHeaderFilter}userSetFilter(e,r,C,D){this.setFilter(e,r,C,D),this.refreshFilter()}userRefreshFilter(){this.refreshFilter()}userAddFilter(e,r,C,D){this.addFilter(e,r,C,D),this.refreshFilter()}userSetHeaderFilterFocus(e){var r=this.table.columnManager.findColumn(e);if(r)this.setHeaderFilterFocus(r);else return console.warn("Column Filter Focus Error - No matching column found:",e),!1}userGetHeaderFilterValue(e){var r=this.table.columnManager.findColumn(e);if(r)return this.getHeaderFilterValue(r);console.warn("Column Filter Error - No matching column found:",e)}userSetHeaderFilterValue(e,r){var C=this.table.columnManager.findColumn(e);if(C)this.setHeaderFilterValue(C,r);else return console.warn("Column Filter Error - No matching column found:",e),!1}userRemoveFilter(e,r,C){this.removeFilter(e,r,C),this.refreshFilter()}userClearFilter(e){this.clearFilter(e),this.refreshFilter()}userClearHeaderFilter(){this.clearHeaderFilter(),this.refreshFilter()}searchRows(e,r,C){return this.search("rows",e,r,C)}searchData(e,r,C){return this.search("data",e,r,C)}initializeColumnHeaderFilter(e){var r=e.definition;r.headerFilter&&this.initializeColumn(e)}initializeColumn(e,r){var C=this,D=e.getField();function T(p){var t=e.modules.filter.tagType=="input"&&e.modules.filter.attrType=="text"||e.modules.filter.tagType=="textarea"?"partial":"match",d="",g="",i;if(typeof e.modules.filter.prevSuccess>"u"||e.modules.filter.prevSuccess!==p){if(e.modules.filter.prevSuccess=p,e.modules.filter.emptyFunc(p))delete C.headerFilters[D];else{switch(e.modules.filter.value=p,typeof e.definition.headerFilterFunc){case"string":Xh.filters[e.definition.headerFilterFunc]?(d=e.definition.headerFilterFunc,i=function(M){var v=e.definition.headerFilterFuncParams||{},f=e.getFieldValue(M);return v=typeof v=="function"?v(p,f,M):v,Xh.filters[e.definition.headerFilterFunc](p,f,M,v)}):console.warn("Header Filter Error - Matching filter function not found: ",e.definition.headerFilterFunc);break;case"function":i=function(M){var v=e.definition.headerFilterFuncParams||{},f=e.getFieldValue(M);return v=typeof v=="function"?v(p,f,M):v,e.definition.headerFilterFunc(p,f,M,v)},d=i;break}if(!i)switch(t){case"partial":i=function(M){var v=e.getFieldValue(M);return typeof v<"u"&&v!==null?String(v).toLowerCase().indexOf(String(p).toLowerCase())>-1:!1},d="like";break;default:i=function(M){return e.getFieldValue(M)==p},d="="}C.headerFilters[D]={value:p,func:i,type:d}}e.modules.filter.value=p,g=JSON.stringify(C.headerFilters),C.prevHeaderFilterChangeCheck!==g&&(C.prevHeaderFilterChangeCheck=g,C.trackChanges(),C.refreshFilter())}return!0}e.modules.filter={success:T,attrType:!1,tagType:!1,emptyFunc:!1},this.generateHeaderFilterElement(e)}generateHeaderFilterElement(e,r,C){var D=this,T=e.modules.filter.success,p=e.getField(),t,d,g,i,M,v,f,l;e.modules.filter.value=r;function a(){}function u(o){l=o}if(e.modules.filter.headerElement&&e.modules.filter.headerElement.parentNode&&e.contentElement.removeChild(e.modules.filter.headerElement.parentNode),p){switch(e.modules.filter.emptyFunc=e.definition.headerFilterEmptyCheck||function(o){return!o&&o!==0},t=document.createElement("div"),t.classList.add("tabulator-header-filter"),typeof e.definition.headerFilter){case"string":D.table.modules.edit.editors[e.definition.headerFilter]?(d=D.table.modules.edit.editors[e.definition.headerFilter],(e.definition.headerFilter==="tick"||e.definition.headerFilter==="tickCross")&&!e.definition.headerFilterEmptyCheck&&(e.modules.filter.emptyFunc=function(o){return o!==!0&&o!==!1})):console.warn("Filter Error - Cannot build header filter, No such editor found: ",e.definition.editor);break;case"function":d=e.definition.headerFilter;break;case"boolean":e.modules.edit&&e.modules.edit.editor?d=e.modules.edit.editor:e.definition.formatter&&D.table.modules.edit.editors[e.definition.formatter]?(d=D.table.modules.edit.editors[e.definition.formatter],(e.definition.formatter==="tick"||e.definition.formatter==="tickCross")&&!e.definition.headerFilterEmptyCheck&&(e.modules.filter.emptyFunc=function(o){return o!==!0&&o!==!1})):d=D.table.modules.edit.editors.input;break}if(d){if(i={getValue:function(){return typeof r<"u"?r:""},getField:function(){return e.definition.field},getElement:function(){return t},getColumn:function(){return e.getComponent()},getTable:()=>this.table,getType:()=>"header",getRow:function(){return{normalizeHeight:function(){}}}},f=e.definition.headerFilterParams||{},f=typeof f=="function"?f.call(D.table,i):f,g=d.call(this.table.modules.edit,i,u,T,a,f),!g){console.warn("Filter Error - Cannot add filter to "+p+" column, editor returned a value of false");return}if(!(g instanceof Node)){console.warn("Filter Error - Cannot add filter to "+p+" column, editor should return an instance of Node, the editor returned:",g);return}D.langBind("headerFilters|columns|"+e.definition.field,function(o){g.setAttribute("placeholder",typeof o<"u"&&o?o:e.definition.headerFilterPlaceholder||D.langText("headerFilters|default"))}),g.addEventListener("click",function(o){o.stopPropagation(),g.focus()}),g.addEventListener("focus",o=>{var s=this.table.columnManager.contentsElement.scrollLeft,c=this.table.rowManager.element.scrollLeft;s!==c&&(this.table.rowManager.scrollHorizontal(s),this.table.columnManager.scrollHorizontal(s))}),M=!1,v=function(o){M&&clearTimeout(M),M=setTimeout(function(){T(g.value)},D.table.options.headerFilterLiveFilterDelay)},e.modules.filter.headerElement=g,e.modules.filter.attrType=g.hasAttribute("type")?g.getAttribute("type").toLowerCase():"",e.modules.filter.tagType=g.tagName.toLowerCase(),e.definition.headerFilterLiveFilter!==!1&&(e.definition.headerFilter==="autocomplete"||e.definition.headerFilter==="tickCross"||(e.definition.editor==="autocomplete"||e.definition.editor==="tickCross")&&e.definition.headerFilter===!0||(g.addEventListener("keyup",v),g.addEventListener("search",v),e.modules.filter.attrType=="number"&&g.addEventListener("change",function(o){T(g.value)}),e.modules.filter.attrType=="text"&&this.table.browser!=="ie"&&g.setAttribute("type","search")),(e.modules.filter.tagType=="input"||e.modules.filter.tagType=="select"||e.modules.filter.tagType=="textarea")&&g.addEventListener("mousedown",function(o){o.stopPropagation()})),t.appendChild(g),e.contentElement.appendChild(t),C||D.headerFilterColumns.push(e),l&&l()}}else console.warn("Filter Error - Cannot add header filter, column has no field set:",e.definition.title)}hideHeaderFilterElements(){this.headerFilterColumns.forEach(function(e){e.modules.filter&&e.modules.filter.headerElement&&(e.modules.filter.headerElement.style.display="none")})}showHeaderFilterElements(){this.headerFilterColumns.forEach(function(e){e.modules.filter&&e.modules.filter.headerElement&&(e.modules.filter.headerElement.style.display="")})}setHeaderFilterFocus(e){e.modules.filter&&e.modules.filter.headerElement?e.modules.filter.headerElement.focus():console.warn("Column Filter Focus Error - No header filter set on column:",e.getField())}getHeaderFilterValue(e){if(e.modules.filter&&e.modules.filter.headerElement)return e.modules.filter.value;console.warn("Column Filter Error - No header filter set on column:",e.getField())}setHeaderFilterValue(e,r){e&&(e.modules.filter&&e.modules.filter.headerElement?(this.generateHeaderFilterElement(e,r,!0),e.modules.filter.success(r)):console.warn("Column Filter Error - No header filter set on column:",e.getField()))}reloadHeaderFilter(e){e&&(e.modules.filter&&e.modules.filter.headerElement?this.generateHeaderFilterElement(e,e.modules.filter.value,!0):console.warn("Column Filter Error - No header filter set on column:",e.getField()))}refreshFilter(){this.tableInitialized&&(this.table.options.filterMode==="remote"?this.reloadData(null,!1,!1):this.refreshData(!0))}trackChanges(){this.changed=!0,this.dispatch("filter-changed")}hasChanged(){var e=this.changed;return this.changed=!1,e}setFilter(e,r,C,D){this.filterList=[],Array.isArray(e)||(e=[{field:e,type:r,value:C,params:D}]),this.addFilter(e)}addFilter(e,r,C,D){var T=!1;Array.isArray(e)||(e=[{field:e,type:r,value:C,params:D}]),e.forEach(p=>{p=this.findFilter(p),p&&(this.filterList.push(p),T=!0)}),T&&this.trackChanges()}findFilter(e){var r;if(Array.isArray(e))return this.findSubFilters(e);var C=!1;return typeof e.field=="function"?C=function(D){return e.field(D,e.type||{})}:Xh.filters[e.type]?(r=this.table.columnManager.getColumnByField(e.field),r?C=function(D){return Xh.filters[e.type](e.value,r.getFieldValue(D),D,e.params||{})}:C=function(D){return Xh.filters[e.type](e.value,D[e.field],D,e.params||{})}):console.warn("Filter Error - No such filter type found, ignoring: ",e.type),e.func=C,e.func?e:!1}findSubFilters(e){var r=[];return e.forEach(C=>{C=this.findFilter(C),C&&r.push(C)}),r.length?r:!1}getFilters(e,r){var C=[];return e&&(C=this.getHeaderFilters()),r&&C.forEach(function(D){typeof D.type=="function"&&(D.type="function")}),C=C.concat(this.filtersToArray(this.filterList,r)),C}filtersToArray(e,r){var C=[];return e.forEach(D=>{var T;Array.isArray(D)?C.push(this.filtersToArray(D,r)):(T={field:D.field,type:D.type,value:D.value},r&&typeof T.type=="function"&&(T.type="function"),C.push(T))}),C}getHeaderFilters(){var e=[];for(var r in this.headerFilters)e.push({field:r,type:this.headerFilters[r].type,value:this.headerFilters[r].value});return e}removeFilter(e,r,C){Array.isArray(e)||(e=[{field:e,type:r,value:C}]),e.forEach(D=>{var T=-1;typeof D.field=="object"?T=this.filterList.findIndex(p=>D===p):T=this.filterList.findIndex(p=>D.field===p.field&&D.type===p.type&&D.value===p.value),T>-1?this.filterList.splice(T,1):console.warn("Filter Error - No matching filter type found, ignoring: ",D.type)}),this.trackChanges()}clearFilter(e){this.filterList=[],e&&this.clearHeaderFilter(),this.trackChanges()}clearHeaderFilter(){this.headerFilters={},this.prevHeaderFilterChangeCheck="{}",this.headerFilterColumns.forEach(e=>{typeof e.modules.filter.value<"u"&&delete e.modules.filter.value,e.modules.filter.prevSuccess=void 0,this.reloadHeaderFilter(e)}),this.trackChanges()}search(e,r,C,D){var T=[],p=[];return Array.isArray(r)||(r=[{field:r,type:C,value:D}]),r.forEach(t=>{t=this.findFilter(t),t&&p.push(t)}),this.table.rowManager.rows.forEach(t=>{var d=!0;p.forEach(g=>{this.filterRecurse(g,t.getData())||(d=!1)}),d&&T.push(e==="data"?t.getData("data"):t.getComponent())}),T}filter(e,r){var C=[],D=[];return this.subscribedExternal("dataFiltering")&&this.dispatchExternal("dataFiltering",this.getFilters(!0)),this.table.options.filterMode!=="remote"&&(this.filterList.length||Object.keys(this.headerFilters).length)?e.forEach(T=>{this.filterRow(T)&&C.push(T)}):C=e.slice(0),this.subscribedExternal("dataFiltered")&&(C.forEach(T=>{D.push(T.getComponent())}),this.dispatchExternal("dataFiltered",this.getFilters(!0),D)),C}filterRow(e,r){var C=!0,D=e.getData();this.filterList.forEach(p=>{this.filterRecurse(p,D)||(C=!1)});for(var T in this.headerFilters)this.headerFilters[T].func(D)||(C=!1);return C}filterRecurse(e,r){var C=!1;return Array.isArray(e)?e.forEach(D=>{this.filterRecurse(D,r)&&(C=!0)}):C=e.func(r),C}}Xh.moduleName="filter";Xh.filters=NR;function VR(n,e,r){return this.emptyToSpace(this.sanitizeHTML(n.getValue()))}function jR(n,e,r){return n.getValue()}function UR(n,e,r){return n.getElement().style.whiteSpace="pre-wrap",this.emptyToSpace(this.sanitizeHTML(n.getValue()))}function HR(n,e,r){var C=parseFloat(n.getValue()),D="",T,p,t,d,g,i=e.decimal||".",M=e.thousand||",",v=e.negativeSign||"-",f=e.symbol||"",l=!!e.symbolAfter,a=typeof e.precision<"u"?e.precision:2;if(isNaN(C))return this.emptyToSpace(this.sanitizeHTML(n.getValue()));if(C<0&&(C=Math.abs(C),D=v),T=a!==!1?C.toFixed(a):C,T=String(T).split("."),p=T[0],t=T.length>1?i+T[1]:"",e.thousand!==!1)for(d=/(\d+)(\d{3})/;d.test(p);)p=p.replace(d,"$1"+M+"$2");return g=p+t,D===!0?(g="("+g+")",l?g+f:f+g):l?D+g+f:D+f+g}function GR(n,e,r){var C=n.getValue(),D=e.urlPrefix||"",T=e.download,p=C,t=document.createElement("a"),d;function g(i,M){var v=i.shift(),f=M[v];return i.length&&typeof f=="object"?g(i,f):f}if(e.labelField&&(d=n.getData(),p=g(e.labelField.split(this.table.options.nestedFieldSeparator),d)),e.label)switch(typeof e.label){case"string":p=e.label;break;case"function":p=e.label(n);break}if(p){if(e.urlField&&(d=n.getData(),C=oo.retrieveNestedData(this.table.options.nestedFieldSeparator,e.urlField,d)),e.url)switch(typeof e.url){case"string":C=e.url;break;case"function":C=e.url(n);break}return t.setAttribute("href",D+C),e.target&&t.setAttribute("target",e.target),e.download&&(typeof T=="function"?T=T(n):T=T===!0?"":T,t.setAttribute("download",T)),t.innerHTML=this.emptyToSpace(this.sanitizeHTML(p)),t}else return" "}function qR(n,e,r){var C=document.createElement("img"),D=n.getValue();switch(e.urlPrefix&&(D=e.urlPrefix+n.getValue()),e.urlSuffix&&(D=D+e.urlSuffix),C.setAttribute("src",D),typeof e.height){case"number":C.style.height=e.height+"px";break;case"string":C.style.height=e.height;break}switch(typeof e.width){case"number":C.style.width=e.width+"px";break;case"string":C.style.width=e.width;break}return C.addEventListener("load",function(){n.getRow().normalizeHeight()}),C}function WR(n,e,r){var C=n.getValue(),D=n.getElement(),T=e.allowEmpty,p=e.allowTruthy,t=Object.keys(e).includes("trueValue"),d=typeof e.tickElement<"u"?e.tickElement:'',g=typeof e.crossElement<"u"?e.crossElement:'';return t&&C===e.trueValue||!t&&(p&&C||C===!0||C==="true"||C==="True"||C===1||C==="1")?(D.setAttribute("aria-checked",!0),d||""):T&&(C==="null"||C===""||C===null||typeof C>"u")?(D.setAttribute("aria-checked","mixed"),""):(D.setAttribute("aria-checked",!1),g||"")}function YR(n,e,r){var C=window.DateTime||luxon.DateTime,D=e.inputFormat||"yyyy-MM-dd HH:mm:ss",T=e.outputFormat||"dd/MM/yyyy HH:mm:ss",p=typeof e.invalidPlaceholder<"u"?e.invalidPlaceholder:"",t=n.getValue();if(typeof C<"u"){var d;return C.isDateTime(t)?d=t:D==="iso"?d=C.fromISO(String(t)):d=C.fromFormat(String(t),D),d.isValid?(e.timezone&&(d=d.setZone(e.timezone)),d.toFormat(T)):p===!0||!t?t:typeof p=="function"?p(t):p}else console.error("Format Error - 'datetime' formatter is dependant on luxon.js")}function $R(n,e,r){var C=window.DateTime||luxon.DateTime,D=e.inputFormat||"yyyy-MM-dd HH:mm:ss",T=typeof e.invalidPlaceholder<"u"?e.invalidPlaceholder:"",p=typeof e.suffix<"u"?e.suffix:!1,t=typeof e.unit<"u"?e.unit:"days",d=typeof e.humanize<"u"?e.humanize:!1,g=typeof e.date<"u"?e.date:C.now(),i=n.getValue();if(typeof C<"u"){var M;return C.isDateTime(i)?M=i:D==="iso"?M=C.fromISO(String(i)):M=C.fromFormat(String(i),D),M.isValid?d?M.diff(g,t).toHuman()+(p?" "+p:""):parseInt(M.diff(g,t)[t])+(p?" "+p:""):T===!0?i:typeof T=="function"?T(i):T}else console.error("Format Error - 'datetimediff' formatter is dependant on luxon.js")}function ZR(n,e,r){var C=n.getValue();return typeof e[C]>"u"?(console.warn("Missing display value for "+C),C):e[C]}function XR(n,e,r){var C=n.getValue(),D=n.getElement(),T=e&&e.stars?e.stars:5,p=document.createElement("span"),t=document.createElementNS("http://www.w3.org/2000/svg","svg"),d='',g='';p.style.verticalAlign="middle",t.setAttribute("width","14"),t.setAttribute("height","14"),t.setAttribute("viewBox","0 0 512 512"),t.setAttribute("xml:space","preserve"),t.style.padding="0 1px",C=C&&!isNaN(C)?parseInt(C):0,C=Math.max(0,Math.min(C,T));for(var i=1;i<=T;i++){var M=t.cloneNode(!0);M.innerHTML=i<=C?d:g,p.appendChild(M)}return D.style.whiteSpace="nowrap",D.style.overflow="hidden",D.style.textOverflow="ellipsis",D.setAttribute("aria-label",C),p}function KR(n,e,r){var C=this.sanitizeHTML(n.getValue())||0,D=document.createElement("span"),T=e&&e.max?e.max:100,p=e&&e.min?e.min:0,t=e&&typeof e.color<"u"?e.color:["red","orange","green"],d="#666666",g,i;if(!(isNaN(C)||typeof n.getValue()>"u")){switch(D.classList.add("tabulator-traffic-light"),i=parseFloat(C)<=T?parseFloat(C):T,i=parseFloat(i)>=p?parseFloat(i):p,g=(T-p)/100,i=Math.round((i-p)/g),typeof t){case"string":d=t;break;case"function":d=t(C);break;case"object":if(Array.isArray(t)){var M=100/t.length,v=Math.floor(i/M);v=Math.min(v,t.length-1),v=Math.max(v,0),d=t[v];break}}return D.style.backgroundColor=d,D}}function JR(n,e={},r){var C=this.sanitizeHTML(n.getValue())||0,D=n.getElement(),T=e.max?e.max:100,p=e.min?e.min:0,t=e.legendAlign?e.legendAlign:"center",d,g,i,M,v;switch(g=parseFloat(C)<=T?parseFloat(C):T,g=parseFloat(g)>=p?parseFloat(g):p,d=(T-p)/100,g=Math.round((g-p)/d),typeof e.color){case"string":i=e.color;break;case"function":i=e.color(C);break;case"object":if(Array.isArray(e.color)){let u=100/e.color.length,o=Math.floor(g/u);o=Math.min(o,e.color.length-1),o=Math.max(o,0),i=e.color[o];break}default:i="#2DC214"}switch(typeof e.legend){case"string":M=e.legend;break;case"function":M=e.legend(C);break;case"boolean":M=C;break;default:M=!1}switch(typeof e.legendColor){case"string":v=e.legendColor;break;case"function":v=e.legendColor(C);break;case"object":if(Array.isArray(e.legendColor)){let u=100/e.legendColor.length,o=Math.floor(g/u);o=Math.min(o,e.legendColor.length-1),o=Math.max(o,0),v=e.legendColor[o]}break;default:v="#000"}D.style.minWidth="30px",D.style.position="relative",D.setAttribute("aria-label",g);var f=document.createElement("div");f.style.display="inline-block",f.style.width=g+"%",f.style.backgroundColor=i,f.style.height="100%",f.setAttribute("data-max",T),f.setAttribute("data-min",p);var l=document.createElement("div");if(l.style.position="relative",l.style.width="100%",l.style.height="100%",M){var a=document.createElement("div");a.style.position="absolute",a.style.top=0,a.style.left=0,a.style.textAlign=t,a.style.width="100%",a.style.color=v,a.innerHTML=M}return r(function(){if(!(n instanceof IM)){var u=document.createElement("div");u.style.position="absolute",u.style.top="4px",u.style.bottom="4px",u.style.left="4px",u.style.right="4px",D.appendChild(u),D=u}D.appendChild(l),l.appendChild(f),M&&l.appendChild(a)}),""}function QR(n,e,r){return n.getElement().style.backgroundColor=this.sanitizeHTML(n.getValue()),""}function eP(n,e,r){return''}function tP(n,e,r){return''}function nP(n,e,r){var C=document.createElement("span"),D=n.getRow(),T=n.getTable();return D.watchPosition(p=>{e.relativeToPage&&(p+=T.modules.page.getPageSize()*(T.modules.page.getPage()-1)),C.innerText=p}),C}function rP(n,e,r){return n.getElement().classList.add("tabulator-row-handle"),"
"}function iP(n,e,r){var C=document.createElement("div"),D=n.getRow()._row.modules.responsiveLayout;C.classList.add("tabulator-responsive-collapse-toggle"),C.innerHTML=` +`)):H=N.stylize("[Circular]","special")),_(q)){if(G&&U.match(/^\d+$/))return H;(q=JSON.stringify(""+U)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(q=q.slice(1,-1),q=N.stylize(q,"name")):(q=q.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),q=N.stylize(q,"string"))}return q+": "+H}function c(N){return Array.isArray(N)}function m(N){return typeof N=="boolean"}function w(N){return N===null}function y(N){return typeof N=="number"}function C(N){return typeof N=="string"}function _(N){return N===void 0}function k(N){return E(N)&&b(N)==="[object RegExp]"}function E(N){return typeof N=="object"&&N!==null}function x(N){return E(N)&&b(N)==="[object Date]"}function A(N){return E(N)&&(b(N)==="[object Error]"||N instanceof Error)}function L(N){return typeof N=="function"}function b(N){return Object.prototype.toString.call(N)}function R(N){return N<10?"0"+N.toString(10):N.toString(10)}p.debuglog=function(N){if(N=N.toUpperCase(),!M[N])if(v.test(N)){var W=d.pid;M[N]=function(){var j=p.format.apply(p,arguments);console.error("%s %d: %s",N,W,j)}}else M[N]=function(){};return M[N]},p.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},p.types=t(4936),p.isArray=c,p.isBoolean=m,p.isNull=w,p.isNullOrUndefined=function(N){return N==null},p.isNumber=y,p.isString=C,p.isSymbol=function(N){return typeof N=="symbol"},p.isUndefined=_,p.isRegExp=k,p.types.isRegExp=k,p.isObject=E,p.isDate=x,p.types.isDate=x,p.isError=A,p.types.isNativeError=A,p.isFunction=L,p.isPrimitive=function(N){return N===null||typeof N=="boolean"||typeof N=="number"||typeof N=="string"||typeof N=="symbol"||N===void 0},p.isBuffer=t(45920);var I=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function O(){var N=new Date,W=[R(N.getHours()),R(N.getMinutes()),R(N.getSeconds())].join(":");return[N.getDate(),I[N.getMonth()],W].join(" ")}function z(N,W){return Object.prototype.hasOwnProperty.call(N,W)}p.log=function(){console.log("%s - %s",O(),p.format.apply(p,arguments))},p.inherits=t(42018),p._extend=function(N,W){if(!W||!E(W))return N;for(var j=Object.keys(W),$=j.length;$--;)N[j[$]]=W[j[$]];return N};var F=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;function B(N,W){if(!N){var j=new Error("Promise was rejected with a falsy value");j.reason=N,N=j}return W(N)}p.promisify=function(N){if(typeof N!="function")throw new TypeError('The "original" argument must be of type Function');if(F&&N[F]){var W;if(typeof(W=N[F])!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(W,F,{value:W,enumerable:!1,writable:!1,configurable:!0}),W}function W(){for(var j,$,U=new Promise(function(H,ne){j=H,$=ne}),G=[],q=0;q"u"?t.g:globalThis,a=g(),u=i("String.prototype.slice"),o={},s=Object.getPrototypeOf;f&&M&&s&&d(a,function(c){if(typeof l[c]=="function"){var m=new l[c];if(Symbol.toStringTag in m){var w=s(m),y=M(w,Symbol.toStringTag);if(!y){var C=s(w);y=M(C,Symbol.toStringTag)}o[c]=y.get}}});var h=t(9187);T.exports=function(c){return!!h(c)&&(f&&Symbol.toStringTag in c?function(m){var w=!1;return d(o,function(y,C){if(!w)try{var _=y.call(m);_===C&&(w=_)}catch{}}),w}(c):u(v(c),8,-1))}},3961:function(T,p,t){var d=t(63489),g=t(56131),i=d.instance();function M(s){this.local=this.regionalOptions[s||""]||this.regionalOptions[""]}M.prototype=new d.baseCalendar,g(M.prototype,{name:"Chinese",jdEpoch:17214255e-1,hasYearZero:!1,minMonth:0,firstMonth:0,minDay:1,regionalOptions:{"":{name:"Chinese",epochs:["BEC","EC"],monthNumbers:function(s,h){if(typeof s=="string"){var c=s.match(f);return c?c[0]:""}var m=this._validateYear(s),w=s.month(),y=""+this.toChineseMonth(m,w);return h&&y.length<2&&(y="0"+y),this.isIntercalaryMonth(m,w)&&(y+="i"),y},monthNames:function(s){if(typeof s=="string"){var h=s.match(l);return h?h[0]:""}var c=this._validateYear(s),m=s.month(),w=["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"][this.toChineseMonth(c,m)-1];return this.isIntercalaryMonth(c,m)&&(w="闰"+w),w},monthNamesShort:function(s){if(typeof s=="string"){var h=s.match(a);return h?h[0]:""}var c=this._validateYear(s),m=s.month(),w=["一","二","三","四","五","六","七","八","九","十","十一","十二"][this.toChineseMonth(c,m)-1];return this.isIntercalaryMonth(c,m)&&(w="闰"+w),w},parseMonth:function(s,h){s=this._validateYear(s);var c,m=parseInt(h);if(isNaN(m))h[0]==="闰"&&(c=!0,h=h.substring(1)),h[h.length-1]==="月"&&(h=h.substring(0,h.length-1)),m=1+["一","二","三","四","五","六","七","八","九","十","十一","十二"].indexOf(h);else{var w=h[h.length-1];c=w==="i"||w==="I"}return this.toMonthIndex(s,m,c)},dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:1,isRTL:!1}},_validateYear:function(s,h){if(s.year&&(s=s.year()),typeof s!="number"||s<1888||s>2111)throw h.replace(/\{0\}/,this.local.name);return s},toMonthIndex:function(s,h,c){var m=this.intercalaryMonth(s);if(c&&h!==m||h<1||h>12)throw d.local.invalidMonth.replace(/\{0\}/,this.local.name);return m?!c&&h<=m?h-1:h:h-1},toChineseMonth:function(s,h){s.year&&(h=(s=s.year()).month());var c=this.intercalaryMonth(s);if(h<0||h>(c?12:11))throw d.local.invalidMonth.replace(/\{0\}/,this.local.name);return c?h>13},isIntercalaryMonth:function(s,h){s.year&&(h=(s=s.year()).month());var c=this.intercalaryMonth(s);return!!c&&c===h},leapYear:function(s){return this.intercalaryMonth(s)!==0},weekOfYear:function(s,h,c){var m,w=this._validateYear(s,d.local.invalidyear),y=o[w-o[0]],C=y>>9&4095,_=y>>5&15,k=31&y;(m=i.newDate(C,_,k)).add(4-(m.dayOfWeek()||7),"d");var E=this.toJD(s,h,c)-m.toJD();return 1+Math.floor(E/7)},monthsInYear:function(s){return this.leapYear(s)?13:12},daysInMonth:function(s,h){s.year&&(h=s.month(),s=s.year()),s=this._validateYear(s);var c=u[s-u[0]];if(h>(c>>13?12:11))throw d.local.invalidMonth.replace(/\{0\}/,this.local.name);return c&1<<12-h?30:29},weekDay:function(s,h,c){return(this.dayOfWeek(s,h,c)||7)<6},toJD:function(s,h,c){var m=this._validate(s,y,c,d.local.invalidDate);s=this._validateYear(m.year()),h=m.month(),c=m.day();var w=this.isIntercalaryMonth(s,h),y=this.toChineseMonth(s,h),C=function(_,k,E,x,A){var L,b,R;if(typeof _=="object")b=_,L=k||{};else{var I;if(!(typeof _=="number"&&_>=1888&&_<=2111))throw new Error("Lunar year outside range 1888-2111");if(!(typeof k=="number"&&k>=1&&k<=12))throw new Error("Lunar month outside range 1 - 12");if(!(typeof E=="number"&&E>=1&&E<=30))throw new Error("Lunar day outside range 1 - 30");typeof x=="object"?(I=!1,L=x):(I=!!x,L={}),b={year:_,month:k,day:E,isIntercalary:I}}R=b.day-1;var O,z=u[b.year-u[0]],F=z>>13;O=F&&(b.month>F||b.isIntercalary)?b.month:b.month-1;for(var B=0;B>9&4095,(N>>5&15)-1,(31&N)+R);return L.year=W.getFullYear(),L.month=1+W.getMonth(),L.day=W.getDate(),L}(s,y,c,w);return i.toJD(C.year,C.month,C.day)},fromJD:function(s){var h=i.fromJD(s),c=function(w,y,C,_){var k,E;if(typeof w=="object")k=w,E=y||{};else{if(!(typeof w=="number"&&w>=1888&&w<=2111))throw new Error("Solar year outside range 1888-2111");if(!(typeof y=="number"&&y>=1&&y<=12))throw new Error("Solar month outside range 1 - 12");if(!(typeof C=="number"&&C>=1&&C<=31))throw new Error("Solar day outside range 1 - 31");k={year:w,month:y,day:C},E={}}var x=o[k.year-o[0]],A=k.year<<9|k.month<<5|k.day;E.year=A>=x?k.year:k.year-1,x=o[E.year-o[0]];var L,b=new Date(x>>9&4095,(x>>5&15)-1,31&x),R=new Date(k.year,k.month-1,k.day);L=Math.round((R-b)/864e5);var I,O=u[E.year-u[0]];for(I=0;I<13;I++){var z=O&1<<12-I?30:29;if(L>13;return!F||I=2&&a<=6},extraInfo:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);return{century:M[Math.floor((a.year()-1)/100)+1]||""}},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);return v=a.year()+(a.year()<0?1:0),f=a.month(),(l=a.day())+(f>1?16:0)+(f>2?32*(f-2):0)+400*(v-1)+this.jdEpoch-1},fromJD:function(v){v=Math.floor(v+.5)-Math.floor(this.jdEpoch)-1;var f=Math.floor(v/400)+1;v-=400*(f-1),v+=v>15?16:0;var l=Math.floor(v/32)+1,a=v-32*(l-1)+1;return this.newDate(f<=0?f-1:f,l,a)}});var M={20:"Fruitbat",21:"Anchovy"};d.calendars.discworld=i},37715:function(T,p,t){var d=t(63489),g=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,g(i.prototype,{name:"Ethiopian",jdEpoch:17242205e-1,daysPerMonth:[30,30,30,30,30,30,30,30,30,30,30,30,5],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Ethiopian",epochs:["BEE","EE"],monthNames:["Meskerem","Tikemet","Hidar","Tahesas","Tir","Yekatit","Megabit","Miazia","Genbot","Sene","Hamle","Nehase","Pagume"],monthNamesShort:["Mes","Tik","Hid","Tah","Tir","Yek","Meg","Mia","Gen","Sen","Ham","Neh","Pag"],dayNames:["Ehud","Segno","Maksegno","Irob","Hamus","Arb","Kidame"],dayNamesShort:["Ehu","Seg","Mak","Iro","Ham","Arb","Kid"],dayNamesMin:["Eh","Se","Ma","Ir","Ha","Ar","Ki"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(M){var v=this._validate(M,this.minMonth,this.minDay,d.local.invalidYear);return(M=v.year()+(v.year()<0?1:0))%4==3||M%4==-1},monthsInYear:function(M){return this._validate(M,this.minMonth,this.minDay,d.local.invalidYear||d.regionalOptions[""].invalidYear),13},weekOfYear:function(M,v,f){var l=this.newDate(M,v,f);return l.add(-l.dayOfWeek(),"d"),Math.floor((l.dayOfYear()-1)/7)+1},daysInMonth:function(M,v){var f=this._validate(M,v,this.minDay,d.local.invalidMonth);return this.daysPerMonth[f.month()-1]+(f.month()===13&&this.leapYear(f.year())?1:0)},weekDay:function(M,v,f){return(this.dayOfWeek(M,v,f)||7)<6},toJD:function(M,v,f){var l=this._validate(M,v,f,d.local.invalidDate);return(M=l.year())<0&&M++,l.day()+30*(l.month()-1)+365*(M-1)+Math.floor(M/4)+this.jdEpoch-1},fromJD:function(M){var v=Math.floor(M)+.5-this.jdEpoch,f=Math.floor((v-Math.floor((v+366)/1461))/365)+1;f<=0&&f--,v=Math.floor(M)+.5-this.newDate(f,1,1).toJD();var l=Math.floor(v/30)+1,a=v-30*(l-1)+1;return this.newDate(f,l,a)}}),d.calendars.ethiopian=i},99384:function(T,p,t){var d=t(63489),g=t(56131);function i(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}function M(v,f){return v-f*Math.floor(v/f)}i.prototype=new d.baseCalendar,g(i.prototype,{name:"Hebrew",jdEpoch:347995.5,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29,29],hasYearZero:!1,minMonth:1,firstMonth:7,minDay:1,regionalOptions:{"":{name:"Hebrew",epochs:["BAM","AM"],monthNames:["Nisan","Iyar","Sivan","Tammuz","Av","Elul","Tishrei","Cheshvan","Kislev","Tevet","Shevat","Adar","Adar II"],monthNamesShort:["Nis","Iya","Siv","Tam","Av","Elu","Tis","Che","Kis","Tev","She","Ada","Ad2"],dayNames:["Yom Rishon","Yom Sheni","Yom Shlishi","Yom Revi'i","Yom Chamishi","Yom Shishi","Yom Shabbat"],dayNamesShort:["Ris","She","Shl","Rev","Cha","Shi","Sha"],dayNamesMin:["Ri","She","Shl","Re","Ch","Shi","Sha"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(v){var f=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return this._leapYear(f.year())},_leapYear:function(v){return M(7*(v=v<0?v+1:v)+1,19)<7},monthsInYear:function(v){return this._validate(v,this.minMonth,this.minDay,d.local.invalidYear),this._leapYear(v.year?v.year():v)?13:12},weekOfYear:function(v,f,l){var a=this.newDate(v,f,l);return a.add(-a.dayOfWeek(),"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInYear:function(v){return v=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear).year(),this.toJD(v===-1?1:v+1,7,1)-this.toJD(v,7,1)},daysInMonth:function(v,f){return v.year&&(f=v.month(),v=v.year()),this._validate(v,f,this.minDay,d.local.invalidMonth),f===12&&this.leapYear(v)||f===8&&M(this.daysInYear(v),10)===5?30:f===9&&M(this.daysInYear(v),10)===3?29:this.daysPerMonth[f-1]},weekDay:function(v,f,l){return this.dayOfWeek(v,f,l)!==6},extraInfo:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);return{yearType:(this.leapYear(a)?"embolismic":"common")+" "+["deficient","regular","complete"][this.daysInYear(a)%10-3]}},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);v=a.year(),f=a.month(),l=a.day();var u=v<=0?v+1:v,o=this.jdEpoch+this._delay1(u)+this._delay2(u)+l+1;if(f<7){for(var s=7;s<=this.monthsInYear(v);s++)o+=this.daysInMonth(v,s);for(s=1;s=this.toJD(f===-1?1:f+1,7,1);)f++;for(var l=vthis.toJD(f,l,this.daysInMonth(f,l));)l++;var a=v-this.toJD(f,l,1)+1;return this.newDate(f,l,a)}}),d.calendars.hebrew=i},43805:function(T,p,t){var d=t(63489),g=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,g(i.prototype,{name:"Islamic",jdEpoch:19484395e-1,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Islamic",epochs:["BH","AH"],monthNames:["Muharram","Safar","Rabi' al-awwal","Rabi' al-thani","Jumada al-awwal","Jumada al-thani","Rajab","Sha'aban","Ramadan","Shawwal","Dhu al-Qi'dah","Dhu al-Hijjah"],monthNamesShort:["Muh","Saf","Rab1","Rab2","Jum1","Jum2","Raj","Sha'","Ram","Shaw","DhuQ","DhuH"],dayNames:["Yawm al-ahad","Yawm al-ithnayn","Yawm ath-thulaathaa'","Yawm al-arbi'aa'","Yawm al-khamīs","Yawm al-jum'a","Yawm as-sabt"],dayNamesShort:["Aha","Ith","Thu","Arb","Kha","Jum","Sab"],dayNamesMin:["Ah","It","Th","Ar","Kh","Ju","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!1}},leapYear:function(M){return(11*this._validate(M,this.minMonth,this.minDay,d.local.invalidYear).year()+14)%30<11},weekOfYear:function(M,v,f){var l=this.newDate(M,v,f);return l.add(-l.dayOfWeek(),"d"),Math.floor((l.dayOfYear()-1)/7)+1},daysInYear:function(M){return this.leapYear(M)?355:354},daysInMonth:function(M,v){var f=this._validate(M,v,this.minDay,d.local.invalidMonth);return this.daysPerMonth[f.month()-1]+(f.month()===12&&this.leapYear(f.year())?1:0)},weekDay:function(M,v,f){return this.dayOfWeek(M,v,f)!==5},toJD:function(M,v,f){var l=this._validate(M,v,f,d.local.invalidDate);return M=l.year(),v=l.month(),M=M<=0?M+1:M,(f=l.day())+Math.ceil(29.5*(v-1))+354*(M-1)+Math.floor((3+11*M)/30)+this.jdEpoch-1},fromJD:function(M){M=Math.floor(M)+.5;var v=Math.floor((30*(M-this.jdEpoch)+10646)/10631);v=v<=0?v-1:v;var f=Math.min(12,Math.ceil((M-29-this.toJD(v,1,1))/29.5)+1),l=M-this.toJD(v,f,1)+1;return this.newDate(v,f,l)}}),d.calendars.islamic=i},88874:function(T,p,t){var d=t(63489),g=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,g(i.prototype,{name:"Julian",jdEpoch:17214235e-1,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Julian",epochs:["BC","AD"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"mm/dd/yyyy",firstDay:0,isRTL:!1}},leapYear:function(M){var v=this._validate(M,this.minMonth,this.minDay,d.local.invalidYear);return(M=v.year()<0?v.year()+1:v.year())%4==0},weekOfYear:function(M,v,f){var l=this.newDate(M,v,f);return l.add(4-(l.dayOfWeek()||7),"d"),Math.floor((l.dayOfYear()-1)/7)+1},daysInMonth:function(M,v){var f=this._validate(M,v,this.minDay,d.local.invalidMonth);return this.daysPerMonth[f.month()-1]+(f.month()===2&&this.leapYear(f.year())?1:0)},weekDay:function(M,v,f){return(this.dayOfWeek(M,v,f)||7)<6},toJD:function(M,v,f){var l=this._validate(M,v,f,d.local.invalidDate);return M=l.year(),v=l.month(),f=l.day(),M<0&&M++,v<=2&&(M--,v+=12),Math.floor(365.25*(M+4716))+Math.floor(30.6001*(v+1))+f-1524.5},fromJD:function(M){var v=Math.floor(M+.5)+1524,f=Math.floor((v-122.1)/365.25),l=Math.floor(365.25*f),a=Math.floor((v-l)/30.6001),u=a-Math.floor(a<14?1:13),o=f-Math.floor(u>2?4716:4715),s=v-l-Math.floor(30.6001*a);return o<=0&&o--,this.newDate(o,u,s)}}),d.calendars.julian=i},83290:function(T,p,t){var d=t(63489),g=t(56131);function i(f){this.local=this.regionalOptions[f||""]||this.regionalOptions[""]}function M(f,l){return f-l*Math.floor(f/l)}function v(f,l){return M(f-1,l)+1}i.prototype=new d.baseCalendar,g(i.prototype,{name:"Mayan",jdEpoch:584282.5,hasYearZero:!0,minMonth:0,firstMonth:0,minDay:0,regionalOptions:{"":{name:"Mayan",epochs:["",""],monthNames:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"],monthNamesShort:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"],dayNames:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],dayNamesShort:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],dayNamesMin:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],digits:null,dateFormat:"YYYY.m.d",firstDay:0,isRTL:!1,haabMonths:["Pop","Uo","Zip","Zotz","Tzec","Xul","Yaxkin","Mol","Chen","Yax","Zac","Ceh","Mac","Kankin","Muan","Pax","Kayab","Cumku","Uayeb"],tzolkinMonths:["Imix","Ik","Akbal","Kan","Chicchan","Cimi","Manik","Lamat","Muluc","Oc","Chuen","Eb","Ben","Ix","Men","Cib","Caban","Etznab","Cauac","Ahau"]}},leapYear:function(f){return this._validate(f,this.minMonth,this.minDay,d.local.invalidYear),!1},formatYear:function(f){f=this._validate(f,this.minMonth,this.minDay,d.local.invalidYear).year();var l=Math.floor(f/400);return f%=400,f+=f<0?400:0,l+"."+Math.floor(f/20)+"."+f%20},forYear:function(f){if((f=f.split(".")).length<3)throw"Invalid Mayan year";for(var l=0,a=0;a19||a>0&&u<0)throw"Invalid Mayan year";l=20*l+u}return l},monthsInYear:function(f){return this._validate(f,this.minMonth,this.minDay,d.local.invalidYear),18},weekOfYear:function(f,l,a){return this._validate(f,l,a,d.local.invalidDate),0},daysInYear:function(f){return this._validate(f,this.minMonth,this.minDay,d.local.invalidYear),360},daysInMonth:function(f,l){return this._validate(f,l,this.minDay,d.local.invalidMonth),20},daysInWeek:function(){return 5},dayOfWeek:function(f,l,a){return this._validate(f,l,a,d.local.invalidDate).day()},weekDay:function(f,l,a){return this._validate(f,l,a,d.local.invalidDate),!0},extraInfo:function(f,l,a){var u=this._validate(f,l,a,d.local.invalidDate).toJD(),o=this._toHaab(u),s=this._toTzolkin(u);return{haabMonthName:this.local.haabMonths[o[0]-1],haabMonth:o[0],haabDay:o[1],tzolkinDayName:this.local.tzolkinMonths[s[0]-1],tzolkinDay:s[0],tzolkinTrecena:s[1]}},_toHaab:function(f){var l=M(8+(f-=this.jdEpoch)+340,365);return[Math.floor(l/20)+1,M(l,20)]},_toTzolkin:function(f){return[v(20+(f-=this.jdEpoch),20),v(f+4,13)]},toJD:function(f,l,a){var u=this._validate(f,l,a,d.local.invalidDate);return u.day()+20*u.month()+360*u.year()+this.jdEpoch},fromJD:function(f){f=Math.floor(f)+.5-this.jdEpoch;var l=Math.floor(f/360);f%=360,f+=f<0?360:0;var a=Math.floor(f/20),u=f%20;return this.newDate(l,a,u)}}),d.calendars.mayan=i},29108:function(T,p,t){var d=t(63489),g=t(56131);function i(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar;var M=d.instance("gregorian");g(i.prototype,{name:"Nanakshahi",jdEpoch:22576735e-1,daysPerMonth:[31,31,31,31,31,30,30,30,30,30,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Nanakshahi",epochs:["BN","AN"],monthNames:["Chet","Vaisakh","Jeth","Harh","Sawan","Bhadon","Assu","Katak","Maghar","Poh","Magh","Phagun"],monthNamesShort:["Che","Vai","Jet","Har","Saw","Bha","Ass","Kat","Mgr","Poh","Mgh","Pha"],dayNames:["Somvaar","Mangalvar","Budhvaar","Veervaar","Shukarvaar","Sanicharvaar","Etvaar"],dayNamesShort:["Som","Mangal","Budh","Veer","Shukar","Sanichar","Et"],dayNamesMin:["So","Ma","Bu","Ve","Sh","Sa","Et"],digits:null,dateFormat:"dd-mm-yyyy",firstDay:0,isRTL:!1}},leapYear:function(v){var f=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear||d.regionalOptions[""].invalidYear);return M.leapYear(f.year()+(f.year()<1?1:0)+1469)},weekOfYear:function(v,f,l){var a=this.newDate(v,f,l);return a.add(1-(a.dayOfWeek()||7),"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInMonth:function(v,f){var l=this._validate(v,f,this.minDay,d.local.invalidMonth);return this.daysPerMonth[l.month()-1]+(l.month()===12&&this.leapYear(l.year())?1:0)},weekDay:function(v,f,l){return(this.dayOfWeek(v,f,l)||7)<6},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidMonth);(v=a.year())<0&&v++;for(var u=a.day(),o=1;o=this.toJD(f+1,1,1);)f++;for(var l=v-Math.floor(this.toJD(f,1,1)+.5)+1,a=1;l>this.daysInMonth(f,a);)l-=this.daysInMonth(f,a),a++;return this.newDate(f,a,l)}}),d.calendars.nanakshahi=i},55422:function(T,p,t){var d=t(63489),g=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,g(i.prototype,{name:"Nepali",jdEpoch:17007095e-1,daysPerMonth:[31,31,32,32,31,30,30,29,30,29,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,daysPerYear:365,regionalOptions:{"":{name:"Nepali",epochs:["BBS","ABS"],monthNames:["Baisakh","Jestha","Ashadh","Shrawan","Bhadra","Ashwin","Kartik","Mangsir","Paush","Mangh","Falgun","Chaitra"],monthNamesShort:["Bai","Je","As","Shra","Bha","Ash","Kar","Mang","Pau","Ma","Fal","Chai"],dayNames:["Aaitabaar","Sombaar","Manglbaar","Budhabaar","Bihibaar","Shukrabaar","Shanibaar"],dayNamesShort:["Aaita","Som","Mangl","Budha","Bihi","Shukra","Shani"],dayNamesMin:["Aai","So","Man","Bu","Bi","Shu","Sha"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:1,isRTL:!1}},leapYear:function(M){return this.daysInYear(M)!==this.daysPerYear},weekOfYear:function(M,v,f){var l=this.newDate(M,v,f);return l.add(-l.dayOfWeek(),"d"),Math.floor((l.dayOfYear()-1)/7)+1},daysInYear:function(M){if(M=this._validate(M,this.minMonth,this.minDay,d.local.invalidYear).year(),this.NEPALI_CALENDAR_DATA[M]===void 0)return this.daysPerYear;for(var v=0,f=this.minMonth;f<=12;f++)v+=this.NEPALI_CALENDAR_DATA[M][f];return v},daysInMonth:function(M,v){return M.year&&(v=M.month(),M=M.year()),this._validate(M,v,this.minDay,d.local.invalidMonth),this.NEPALI_CALENDAR_DATA[M]===void 0?this.daysPerMonth[v-1]:this.NEPALI_CALENDAR_DATA[M][v]},weekDay:function(M,v,f){return this.dayOfWeek(M,v,f)!==6},toJD:function(M,v,f){var l=this._validate(M,v,f,d.local.invalidDate);M=l.year(),v=l.month(),f=l.day();var a=d.instance(),u=0,o=v,s=M;this._createMissingCalendarData(M);var h=M-(o>9||o===9&&f>=this.NEPALI_CALENDAR_DATA[s][0]?56:57);for(v!==9&&(u=f,o--);o!==9;)o<=0&&(o=12,s--),u+=this.NEPALI_CALENDAR_DATA[s][o],o--;return v===9?(u+=f-this.NEPALI_CALENDAR_DATA[s][0])<0&&(u+=a.daysInYear(h)):u+=this.NEPALI_CALENDAR_DATA[s][9]-this.NEPALI_CALENDAR_DATA[s][0],a.newDate(h,1,1).add(u,"d").toJD()},fromJD:function(M){var v=d.instance().fromJD(M),f=v.year(),l=v.dayOfYear(),a=f+56;this._createMissingCalendarData(a);for(var u=9,o=this.NEPALI_CALENDAR_DATA[a][0],s=this.NEPALI_CALENDAR_DATA[a][u]-o+1;l>s;)++u>12&&(u=1,a++),s+=this.NEPALI_CALENDAR_DATA[a][u];var h=this.NEPALI_CALENDAR_DATA[a][u]-(s-l);return this.newDate(a,u,h)},_createMissingCalendarData:function(M){var v=this.daysPerMonth.slice(0);v.unshift(17);for(var f=M-1;f0?474:473))%2820+474+38)%2816<682},weekOfYear:function(v,f,l){var a=this.newDate(v,f,l);return a.add(-(a.dayOfWeek()+1)%7,"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInMonth:function(v,f){var l=this._validate(v,f,this.minDay,d.local.invalidMonth);return this.daysPerMonth[l.month()-1]+(l.month()===12&&this.leapYear(l.year())?1:0)},weekDay:function(v,f,l){return this.dayOfWeek(v,f,l)!==5},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);v=a.year(),f=a.month(),l=a.day();var u=v-(v>=0?474:473),o=474+M(u,2820);return l+(f<=7?31*(f-1):30*(f-1)+6)+Math.floor((682*o-110)/2816)+365*(o-1)+1029983*Math.floor(u/2820)+this.jdEpoch-1},fromJD:function(v){var f=(v=Math.floor(v)+.5)-this.toJD(475,1,1),l=Math.floor(f/1029983),a=M(f,1029983),u=2820;if(a!==1029982){var o=Math.floor(a/366),s=M(a,366);u=Math.floor((2134*o+2816*s+2815)/1028522)+o+1}var h=u+2820*l+474;h=h<=0?h-1:h;var c=v-this.toJD(h,1,1)+1,m=c<=186?Math.ceil(c/31):Math.ceil((c-6)/30),w=v-this.toJD(h,m,1)+1;return this.newDate(h,m,w)}}),d.calendars.persian=i,d.calendars.jalali=i},31320:function(T,p,t){var d=t(63489),g=t(56131),i=d.instance();function M(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}M.prototype=new d.baseCalendar,g(M.prototype,{name:"Taiwan",jdEpoch:24194025e-1,yearsOffset:1911,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Taiwan",epochs:["BROC","ROC"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:1,isRTL:!1}},leapYear:function(v){var f=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return v=this._t2gYear(f.year()),i.leapYear(v)},weekOfYear:function(v,f,l){var a=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return v=this._t2gYear(a.year()),i.weekOfYear(v,a.month(),a.day())},daysInMonth:function(v,f){var l=this._validate(v,f,this.minDay,d.local.invalidMonth);return this.daysPerMonth[l.month()-1]+(l.month()===2&&this.leapYear(l.year())?1:0)},weekDay:function(v,f,l){return(this.dayOfWeek(v,f,l)||7)<6},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);return v=this._t2gYear(a.year()),i.toJD(v,a.month(),a.day())},fromJD:function(v){var f=i.fromJD(v),l=this._g2tYear(f.year());return this.newDate(l,f.month(),f.day())},_t2gYear:function(v){return v+this.yearsOffset+(v>=-this.yearsOffset&&v<=-1?1:0)},_g2tYear:function(v){return v-this.yearsOffset-(v>=1&&v<=this.yearsOffset?1:0)}}),d.calendars.taiwan=M},51367:function(T,p,t){var d=t(63489),g=t(56131),i=d.instance();function M(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}M.prototype=new d.baseCalendar,g(M.prototype,{name:"Thai",jdEpoch:15230985e-1,yearsOffset:543,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Thai",epochs:["BBE","BE"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(v){var f=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return v=this._t2gYear(f.year()),i.leapYear(v)},weekOfYear:function(v,f,l){var a=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return v=this._t2gYear(a.year()),i.weekOfYear(v,a.month(),a.day())},daysInMonth:function(v,f){var l=this._validate(v,f,this.minDay,d.local.invalidMonth);return this.daysPerMonth[l.month()-1]+(l.month()===2&&this.leapYear(l.year())?1:0)},weekDay:function(v,f,l){return(this.dayOfWeek(v,f,l)||7)<6},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);return v=this._t2gYear(a.year()),i.toJD(v,a.month(),a.day())},fromJD:function(v){var f=i.fromJD(v),l=this._g2tYear(f.year());return this.newDate(l,f.month(),f.day())},_t2gYear:function(v){return v-this.yearsOffset-(v>=1&&v<=this.yearsOffset?1:0)},_g2tYear:function(v){return v+this.yearsOffset+(v>=-this.yearsOffset&&v<=-1?1:0)}}),d.calendars.thai=M},21457:function(T,p,t){var d=t(63489),g=t(56131);function i(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,g(i.prototype,{name:"UmmAlQura",hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Umm al-Qura",epochs:["BH","AH"],monthNames:["Al-Muharram","Safar","Rabi' al-awwal","Rabi' Al-Thani","Jumada Al-Awwal","Jumada Al-Thani","Rajab","Sha'aban","Ramadan","Shawwal","Dhu al-Qi'dah","Dhu al-Hijjah"],monthNamesShort:["Muh","Saf","Rab1","Rab2","Jum1","Jum2","Raj","Sha'","Ram","Shaw","DhuQ","DhuH"],dayNames:["Yawm al-Ahad","Yawm al-Ithnain","Yawm al-Thalāthā’","Yawm al-Arba‘ā’","Yawm al-Khamīs","Yawm al-Jum‘a","Yawm al-Sabt"],dayNamesMin:["Ah","Ith","Th","Ar","Kh","Ju","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!0}},leapYear:function(v){var f=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return this.daysInYear(f.year())===355},weekOfYear:function(v,f,l){var a=this.newDate(v,f,l);return a.add(-a.dayOfWeek(),"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInYear:function(v){for(var f=0,l=1;l<=12;l++)f+=this.daysInMonth(v,l);return f},daysInMonth:function(v,f){for(var l=this._validate(v,f,this.minDay,d.local.invalidMonth).toJD()-24e5+.5,a=0,u=0;ul)return M[a]-M[a-1];a++}return 30},weekDay:function(v,f,l){return this.dayOfWeek(v,f,l)!==5},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate),u=12*(a.year()-1)+a.month()-15292;return a.day()+M[u-1]-1+24e5-.5},fromJD:function(v){for(var f=v-24e5+.5,l=0,a=0;af);a++)l++;var u=l+15292,o=Math.floor((u-1)/12),s=o+1,h=u-12*o,c=f-M[l-1]+1;return this.newDate(s,h,c)},isValid:function(v,f,l){var a=d.baseCalendar.prototype.isValid.apply(this,arguments);return a&&(a=(v=v.year!=null?v.year:v)>=1276&&v<=1500),a},_validate:function(v,f,l,a){var u=d.baseCalendar.prototype._validate.apply(this,arguments);if(u.year<1276||u.year>1500)throw a.replace(/\{0\}/,this.local.name);return u}}),d.calendars.ummalqura=i;var M=[20,50,79,109,138,168,197,227,256,286,315,345,374,404,433,463,492,522,551,581,611,641,670,700,729,759,788,818,847,877,906,936,965,995,1024,1054,1083,1113,1142,1172,1201,1231,1260,1290,1320,1350,1379,1409,1438,1468,1497,1527,1556,1586,1615,1645,1674,1704,1733,1763,1792,1822,1851,1881,1910,1940,1969,1999,2028,2058,2087,2117,2146,2176,2205,2235,2264,2294,2323,2353,2383,2413,2442,2472,2501,2531,2560,2590,2619,2649,2678,2708,2737,2767,2796,2826,2855,2885,2914,2944,2973,3003,3032,3062,3091,3121,3150,3180,3209,3239,3268,3298,3327,3357,3386,3416,3446,3476,3505,3535,3564,3594,3623,3653,3682,3712,3741,3771,3800,3830,3859,3889,3918,3948,3977,4007,4036,4066,4095,4125,4155,4185,4214,4244,4273,4303,4332,4362,4391,4421,4450,4480,4509,4539,4568,4598,4627,4657,4686,4716,4745,4775,4804,4834,4863,4893,4922,4952,4981,5011,5040,5070,5099,5129,5158,5188,5218,5248,5277,5307,5336,5366,5395,5425,5454,5484,5513,5543,5572,5602,5631,5661,5690,5720,5749,5779,5808,5838,5867,5897,5926,5956,5985,6015,6044,6074,6103,6133,6162,6192,6221,6251,6281,6311,6340,6370,6399,6429,6458,6488,6517,6547,6576,6606,6635,6665,6694,6724,6753,6783,6812,6842,6871,6901,6930,6960,6989,7019,7048,7078,7107,7137,7166,7196,7225,7255,7284,7314,7344,7374,7403,7433,7462,7492,7521,7551,7580,7610,7639,7669,7698,7728,7757,7787,7816,7846,7875,7905,7934,7964,7993,8023,8053,8083,8112,8142,8171,8201,8230,8260,8289,8319,8348,8378,8407,8437,8466,8496,8525,8555,8584,8614,8643,8673,8702,8732,8761,8791,8821,8850,8880,8909,8938,8968,8997,9027,9056,9086,9115,9145,9175,9205,9234,9264,9293,9322,9352,9381,9410,9440,9470,9499,9529,9559,9589,9618,9648,9677,9706,9736,9765,9794,9824,9853,9883,9913,9943,9972,10002,10032,10061,10090,10120,10149,10178,10208,10237,10267,10297,10326,10356,10386,10415,10445,10474,10504,10533,10562,10592,10621,10651,10680,10710,10740,10770,10799,10829,10858,10888,10917,10947,10976,11005,11035,11064,11094,11124,11153,11183,11213,11242,11272,11301,11331,11360,11389,11419,11448,11478,11507,11537,11567,11596,11626,11655,11685,11715,11744,11774,11803,11832,11862,11891,11921,11950,11980,12010,12039,12069,12099,12128,12158,12187,12216,12246,12275,12304,12334,12364,12393,12423,12453,12483,12512,12542,12571,12600,12630,12659,12688,12718,12747,12777,12807,12837,12866,12896,12926,12955,12984,13014,13043,13072,13102,13131,13161,13191,13220,13250,13280,13310,13339,13368,13398,13427,13456,13486,13515,13545,13574,13604,13634,13664,13693,13723,13752,13782,13811,13840,13870,13899,13929,13958,13988,14018,14047,14077,14107,14136,14166,14195,14224,14254,14283,14313,14342,14372,14401,14431,14461,14490,14520,14550,14579,14609,14638,14667,14697,14726,14756,14785,14815,14844,14874,14904,14933,14963,14993,15021,15051,15081,15110,15140,15169,15199,15228,15258,15287,15317,15347,15377,15406,15436,15465,15494,15524,15553,15582,15612,15641,15671,15701,15731,15760,15790,15820,15849,15878,15908,15937,15966,15996,16025,16055,16085,16114,16144,16174,16204,16233,16262,16292,16321,16350,16380,16409,16439,16468,16498,16528,16558,16587,16617,16646,16676,16705,16734,16764,16793,16823,16852,16882,16912,16941,16971,17001,17030,17060,17089,17118,17148,17177,17207,17236,17266,17295,17325,17355,17384,17414,17444,17473,17502,17532,17561,17591,17620,17650,17679,17709,17738,17768,17798,17827,17857,17886,17916,17945,17975,18004,18034,18063,18093,18122,18152,18181,18211,18241,18270,18300,18330,18359,18388,18418,18447,18476,18506,18535,18565,18595,18625,18654,18684,18714,18743,18772,18802,18831,18860,18890,18919,18949,18979,19008,19038,19068,19098,19127,19156,19186,19215,19244,19274,19303,19333,19362,19392,19422,19452,19481,19511,19540,19570,19599,19628,19658,19687,19717,19746,19776,19806,19836,19865,19895,19924,19954,19983,20012,20042,20071,20101,20130,20160,20190,20219,20249,20279,20308,20338,20367,20396,20426,20455,20485,20514,20544,20573,20603,20633,20662,20692,20721,20751,20780,20810,20839,20869,20898,20928,20957,20987,21016,21046,21076,21105,21135,21164,21194,21223,21253,21282,21312,21341,21371,21400,21430,21459,21489,21519,21548,21578,21607,21637,21666,21696,21725,21754,21784,21813,21843,21873,21902,21932,21962,21991,22021,22050,22080,22109,22138,22168,22197,22227,22256,22286,22316,22346,22375,22405,22434,22464,22493,22522,22552,22581,22611,22640,22670,22700,22730,22759,22789,22818,22848,22877,22906,22936,22965,22994,23024,23054,23083,23113,23143,23173,23202,23232,23261,23290,23320,23349,23379,23408,23438,23467,23497,23527,23556,23586,23616,23645,23674,23704,23733,23763,23792,23822,23851,23881,23910,23940,23970,23999,24029,24058,24088,24117,24147,24176,24206,24235,24265,24294,24324,24353,24383,24413,24442,24472,24501,24531,24560,24590,24619,24648,24678,24707,24737,24767,24796,24826,24856,24885,24915,24944,24974,25003,25032,25062,25091,25121,25150,25180,25210,25240,25269,25299,25328,25358,25387,25416,25446,25475,25505,25534,25564,25594,25624,25653,25683,25712,25742,25771,25800,25830,25859,25888,25918,25948,25977,26007,26037,26067,26096,26126,26155,26184,26214,26243,26272,26302,26332,26361,26391,26421,26451,26480,26510,26539,26568,26598,26627,26656,26686,26715,26745,26775,26805,26834,26864,26893,26923,26952,26982,27011,27041,27070,27099,27129,27159,27188,27218,27248,27277,27307,27336,27366,27395,27425,27454,27484,27513,27542,27572,27602,27631,27661,27691,27720,27750,27779,27809,27838,27868,27897,27926,27956,27985,28015,28045,28074,28104,28134,28163,28193,28222,28252,28281,28310,28340,28369,28399,28428,28458,28488,28517,28547,28577,28607,28636,28665,28695,28724,28754,28783,28813,28843,28872,28901,28931,28960,28990,29019,29049,29078,29108,29137,29167,29196,29226,29255,29285,29315,29345,29375,29404,29434,29463,29492,29522,29551,29580,29610,29640,29669,29699,29729,29759,29788,29818,29847,29876,29906,29935,29964,29994,30023,30053,30082,30112,30141,30171,30200,30230,30259,30289,30318,30348,30378,30408,30437,30467,30496,30526,30555,30585,30614,30644,30673,30703,30732,30762,30791,30821,30850,30880,30909,30939,30968,30998,31027,31057,31086,31116,31145,31175,31204,31234,31263,31293,31322,31352,31381,31411,31441,31471,31500,31530,31559,31589,31618,31648,31676,31706,31736,31766,31795,31825,31854,31884,31913,31943,31972,32002,32031,32061,32090,32120,32150,32180,32209,32239,32268,32298,32327,32357,32386,32416,32445,32475,32504,32534,32563,32593,32622,32652,32681,32711,32740,32770,32799,32829,32858,32888,32917,32947,32976,33006,33035,33065,33094,33124,33153,33183,33213,33243,33272,33302,33331,33361,33390,33420,33450,33479,33509,33539,33568,33598,33627,33657,33686,33716,33745,33775,33804,33834,33863,33893,33922,33952,33981,34011,34040,34069,34099,34128,34158,34187,34217,34247,34277,34306,34336,34365,34395,34424,34454,34483,34512,34542,34571,34601,34631,34660,34690,34719,34749,34778,34808,34837,34867,34896,34926,34955,34985,35015,35044,35074,35103,35133,35162,35192,35222,35251,35280,35310,35340,35370,35399,35429,35458,35488,35517,35547,35576,35605,35635,35665,35694,35723,35753,35782,35811,35841,35871,35901,35930,35960,35989,36019,36048,36078,36107,36136,36166,36195,36225,36254,36284,36314,36343,36373,36403,36433,36462,36492,36521,36551,36580,36610,36639,36669,36698,36728,36757,36786,36816,36845,36875,36904,36934,36963,36993,37022,37052,37081,37111,37141,37170,37200,37229,37259,37288,37318,37347,37377,37406,37436,37465,37495,37524,37554,37584,37613,37643,37672,37701,37731,37760,37790,37819,37849,37878,37908,37938,37967,37997,38027,38056,38085,38115,38144,38174,38203,38233,38262,38292,38322,38351,38381,38410,38440,38469,38499,38528,38558,38587,38617,38646,38676,38705,38735,38764,38794,38823,38853,38882,38912,38941,38971,39001,39030,39059,39089,39118,39148,39178,39208,39237,39267,39297,39326,39355,39385,39414,39444,39473,39503,39532,39562,39592,39621,39650,39680,39709,39739,39768,39798,39827,39857,39886,39916,39946,39975,40005,40035,40064,40094,40123,40153,40182,40212,40241,40271,40300,40330,40359,40389,40418,40448,40477,40507,40536,40566,40595,40625,40655,40685,40714,40744,40773,40803,40832,40862,40892,40921,40951,40980,41009,41039,41068,41098,41127,41157,41186,41216,41245,41275,41304,41334,41364,41393,41422,41452,41481,41511,41540,41570,41599,41629,41658,41688,41718,41748,41777,41807,41836,41865,41894,41924,41953,41983,42012,42042,42072,42102,42131,42161,42190,42220,42249,42279,42308,42337,42367,42397,42426,42456,42485,42515,42545,42574,42604,42633,42662,42692,42721,42751,42780,42810,42839,42869,42899,42929,42958,42988,43017,43046,43076,43105,43135,43164,43194,43223,43253,43283,43312,43342,43371,43401,43430,43460,43489,43519,43548,43578,43607,43637,43666,43696,43726,43755,43785,43814,43844,43873,43903,43932,43962,43991,44021,44050,44080,44109,44139,44169,44198,44228,44258,44287,44317,44346,44375,44405,44434,44464,44493,44523,44553,44582,44612,44641,44671,44700,44730,44759,44788,44818,44847,44877,44906,44936,44966,44996,45025,45055,45084,45114,45143,45172,45202,45231,45261,45290,45320,45350,45380,45409,45439,45468,45498,45527,45556,45586,45615,45644,45674,45704,45733,45763,45793,45823,45852,45882,45911,45940,45970,45999,46028,46058,46088,46117,46147,46177,46206,46236,46265,46295,46324,46354,46383,46413,46442,46472,46501,46531,46560,46590,46620,46649,46679,46708,46738,46767,46797,46826,46856,46885,46915,46944,46974,47003,47033,47063,47092,47122,47151,47181,47210,47240,47269,47298,47328,47357,47387,47417,47446,47476,47506,47535,47565,47594,47624,47653,47682,47712,47741,47771,47800,47830,47860,47890,47919,47949,47978,48008,48037,48066,48096,48125,48155,48184,48214,48244,48273,48303,48333,48362,48392,48421,48450,48480,48509,48538,48568,48598,48627,48657,48687,48717,48746,48776,48805,48834,48864,48893,48922,48952,48982,49011,49041,49071,49100,49130,49160,49189,49218,49248,49277,49306,49336,49365,49395,49425,49455,49484,49514,49543,49573,49602,49632,49661,49690,49720,49749,49779,49809,49838,49868,49898,49927,49957,49986,50016,50045,50075,50104,50133,50163,50192,50222,50252,50281,50311,50340,50370,50400,50429,50459,50488,50518,50547,50576,50606,50635,50665,50694,50724,50754,50784,50813,50843,50872,50902,50931,50960,50990,51019,51049,51078,51108,51138,51167,51197,51227,51256,51286,51315,51345,51374,51403,51433,51462,51492,51522,51552,51582,51611,51641,51670,51699,51729,51758,51787,51816,51846,51876,51906,51936,51965,51995,52025,52054,52083,52113,52142,52171,52200,52230,52260,52290,52319,52349,52379,52408,52438,52467,52497,52526,52555,52585,52614,52644,52673,52703,52733,52762,52792,52822,52851,52881,52910,52939,52969,52998,53028,53057,53087,53116,53146,53176,53205,53235,53264,53294,53324,53353,53383,53412,53441,53471,53500,53530,53559,53589,53619,53648,53678,53708,53737,53767,53796,53825,53855,53884,53913,53943,53973,54003,54032,54062,54092,54121,54151,54180,54209,54239,54268,54297,54327,54357,54387,54416,54446,54476,54505,54535,54564,54593,54623,54652,54681,54711,54741,54770,54800,54830,54859,54889,54919,54948,54977,55007,55036,55066,55095,55125,55154,55184,55213,55243,55273,55302,55332,55361,55391,55420,55450,55479,55508,55538,55567,55597,55627,55657,55686,55716,55745,55775,55804,55834,55863,55892,55922,55951,55981,56011,56040,56070,56100,56129,56159,56188,56218,56247,56276,56306,56335,56365,56394,56424,56454,56483,56513,56543,56572,56601,56631,56660,56690,56719,56749,56778,56808,56837,56867,56897,56926,56956,56985,57015,57044,57074,57103,57133,57162,57192,57221,57251,57280,57310,57340,57369,57399,57429,57458,57487,57517,57546,57576,57605,57634,57664,57694,57723,57753,57783,57813,57842,57871,57901,57930,57959,57989,58018,58048,58077,58107,58137,58167,58196,58226,58255,58285,58314,58343,58373,58402,58432,58461,58491,58521,58551,58580,58610,58639,58669,58698,58727,58757,58786,58816,58845,58875,58905,58934,58964,58994,59023,59053,59082,59111,59141,59170,59200,59229,59259,59288,59318,59348,59377,59407,59436,59466,59495,59525,59554,59584,59613,59643,59672,59702,59731,59761,59791,59820,59850,59879,59909,59939,59968,59997,60027,60056,60086,60115,60145,60174,60204,60234,60264,60293,60323,60352,60381,60411,60440,60469,60499,60528,60558,60588,60618,60648,60677,60707,60736,60765,60795,60824,60853,60883,60912,60942,60972,61002,61031,61061,61090,61120,61149,61179,61208,61237,61267,61296,61326,61356,61385,61415,61445,61474,61504,61533,61563,61592,61621,61651,61680,61710,61739,61769,61799,61828,61858,61888,61917,61947,61976,62006,62035,62064,62094,62123,62153,62182,62212,62242,62271,62301,62331,62360,62390,62419,62448,62478,62507,62537,62566,62596,62625,62655,62685,62715,62744,62774,62803,62832,62862,62891,62921,62950,62980,63009,63039,63069,63099,63128,63157,63187,63216,63246,63275,63305,63334,63363,63393,63423,63453,63482,63512,63541,63571,63600,63630,63659,63689,63718,63747,63777,63807,63836,63866,63895,63925,63955,63984,64014,64043,64073,64102,64131,64161,64190,64220,64249,64279,64309,64339,64368,64398,64427,64457,64486,64515,64545,64574,64603,64633,64663,64692,64722,64752,64782,64811,64841,64870,64899,64929,64958,64987,65017,65047,65076,65106,65136,65166,65195,65225,65254,65283,65313,65342,65371,65401,65431,65460,65490,65520,65549,65579,65608,65638,65667,65697,65726,65755,65785,65815,65844,65874,65903,65933,65963,65992,66022,66051,66081,66110,66140,66169,66199,66228,66258,66287,66317,66346,66376,66405,66435,66465,66494,66524,66553,66583,66612,66641,66671,66700,66730,66760,66789,66819,66849,66878,66908,66937,66967,66996,67025,67055,67084,67114,67143,67173,67203,67233,67262,67292,67321,67351,67380,67409,67439,67468,67497,67527,67557,67587,67617,67646,67676,67705,67735,67764,67793,67823,67852,67882,67911,67941,67971,68e3,68030,68060,68089,68119,68148,68177,68207,68236,68266,68295,68325,68354,68384,68414,68443,68473,68502,68532,68561,68591,68620,68650,68679,68708,68738,68768,68797,68827,68857,68886,68916,68946,68975,69004,69034,69063,69092,69122,69152,69181,69211,69240,69270,69300,69330,69359,69388,69418,69447,69476,69506,69535,69565,69595,69624,69654,69684,69713,69743,69772,69802,69831,69861,69890,69919,69949,69978,70008,70038,70067,70097,70126,70156,70186,70215,70245,70274,70303,70333,70362,70392,70421,70451,70481,70510,70540,70570,70599,70629,70658,70687,70717,70746,70776,70805,70835,70864,70894,70924,70954,70983,71013,71042,71071,71101,71130,71159,71189,71218,71248,71278,71308,71337,71367,71397,71426,71455,71485,71514,71543,71573,71602,71632,71662,71691,71721,71751,71781,71810,71839,71869,71898,71927,71957,71986,72016,72046,72075,72105,72135,72164,72194,72223,72253,72282,72311,72341,72370,72400,72429,72459,72489,72518,72548,72577,72607,72637,72666,72695,72725,72754,72784,72813,72843,72872,72902,72931,72961,72991,73020,73050,73080,73109,73139,73168,73197,73227,73256,73286,73315,73345,73375,73404,73434,73464,73493,73523,73552,73581,73611,73640,73669,73699,73729,73758,73788,73818,73848,73877,73907,73936,73965,73995,74024,74053,74083,74113,74142,74172,74202,74231,74261,74291,74320,74349,74379,74408,74437,74467,74497,74526,74556,74586,74615,74645,74675,74704,74733,74763,74792,74822,74851,74881,74910,74940,74969,74999,75029,75058,75088,75117,75147,75176,75206,75235,75264,75294,75323,75353,75383,75412,75442,75472,75501,75531,75560,75590,75619,75648,75678,75707,75737,75766,75796,75826,75856,75885,75915,75944,75974,76003,76032,76062,76091,76121,76150,76180,76210,76239,76269,76299,76328,76358,76387,76416,76446,76475,76505,76534,76564,76593,76623,76653,76682,76712,76741,76771,76801,76830,76859,76889,76918,76948,76977,77007,77036,77066,77096,77125,77155,77185,77214,77243,77273,77302,77332,77361,77390,77420,77450,77479,77509,77539,77569,77598,77627,77657,77686,77715,77745,77774,77804,77833,77863,77893,77923,77952,77982,78011,78041,78070,78099,78129,78158,78188,78217,78247,78277,78307,78336,78366,78395,78425,78454,78483,78513,78542,78572,78601,78631,78661,78690,78720,78750,78779,78808,78838,78867,78897,78926,78956,78985,79015,79044,79074,79104,79133,79163,79192,79222,79251,79281,79310,79340,79369,79399,79428,79458,79487,79517,79546,79576,79606,79635,79665,79695,79724,79753,79783,79812,79841,79871,79900,79930,79960,79990]},63489:function(T,p,t){var d=t(56131);function g(){this.regionalOptions=[],this.regionalOptions[""]={invalidCalendar:"Calendar {0} not found",invalidDate:"Invalid {0} date",invalidMonth:"Invalid {0} month",invalidYear:"Invalid {0} year",differentCalendars:"Cannot mix {0} and {1} dates"},this.local=this.regionalOptions[""],this.calendars={},this._localCals={}}function i(a,u,o,s){if(this._calendar=a,this._year=u,this._month=o,this._day=s,this._calendar._validateLevel===0&&!this._calendar.isValid(this._year,this._month,this._day))throw(l.local.invalidDate||l.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name)}function M(a,u){return"000000".substring(0,u-(a=""+a).length)+a}function v(){this.shortYearCutoff="+10"}function f(a){this.local=this.regionalOptions[a]||this.regionalOptions[""]}d(g.prototype,{instance:function(a,u){a=(a||"gregorian").toLowerCase(),u=u||"";var o=this._localCals[a+"-"+u];if(!o&&this.calendars[a]&&(o=new this.calendars[a](u),this._localCals[a+"-"+u]=o),!o)throw(this.local.invalidCalendar||this.regionalOptions[""].invalidCalendar).replace(/\{0\}/,a);return o},newDate:function(a,u,o,s,h){return(s=(a!=null&&a.year?a.calendar():typeof s=="string"?this.instance(s,h):s)||this.instance()).newDate(a,u,o)},substituteDigits:function(a){return function(u){return(u+"").replace(/[0-9]/g,function(o){return a[o]})}},substituteChineseDigits:function(a,u){return function(o){for(var s="",h=0;o>0;){var c=o%10;s=(c===0?"":a[c]+u[h])+s,h++,o=Math.floor(o/10)}return s.indexOf(a[1]+u[1])===0&&(s=s.substr(1)),s||a[0]}}}),d(i.prototype,{newDate:function(a,u,o){return this._calendar.newDate(a??this,u,o)},year:function(a){return arguments.length===0?this._year:this.set(a,"y")},month:function(a){return arguments.length===0?this._month:this.set(a,"m")},day:function(a){return arguments.length===0?this._day:this.set(a,"d")},date:function(a,u,o){if(!this._calendar.isValid(a,u,o))throw(l.local.invalidDate||l.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name);return this._year=a,this._month=u,this._day=o,this},leapYear:function(){return this._calendar.leapYear(this)},epoch:function(){return this._calendar.epoch(this)},formatYear:function(){return this._calendar.formatYear(this)},monthOfYear:function(){return this._calendar.monthOfYear(this)},weekOfYear:function(){return this._calendar.weekOfYear(this)},daysInYear:function(){return this._calendar.daysInYear(this)},dayOfYear:function(){return this._calendar.dayOfYear(this)},daysInMonth:function(){return this._calendar.daysInMonth(this)},dayOfWeek:function(){return this._calendar.dayOfWeek(this)},weekDay:function(){return this._calendar.weekDay(this)},extraInfo:function(){return this._calendar.extraInfo(this)},add:function(a,u){return this._calendar.add(this,a,u)},set:function(a,u){return this._calendar.set(this,a,u)},compareTo:function(a){if(this._calendar.name!==a._calendar.name)throw(l.local.differentCalendars||l.regionalOptions[""].differentCalendars).replace(/\{0\}/,this._calendar.local.name).replace(/\{1\}/,a._calendar.local.name);var u=this._year!==a._year?this._year-a._year:this._month!==a._month?this.monthOfYear()-a.monthOfYear():this._day-a._day;return u===0?0:u<0?-1:1},calendar:function(){return this._calendar},toJD:function(){return this._calendar.toJD(this)},fromJD:function(a){return this._calendar.fromJD(a)},toJSDate:function(){return this._calendar.toJSDate(this)},fromJSDate:function(a){return this._calendar.fromJSDate(a)},toString:function(){return(this.year()<0?"-":"")+M(Math.abs(this.year()),4)+"-"+M(this.month(),2)+"-"+M(this.day(),2)}}),d(v.prototype,{_validateLevel:0,newDate:function(a,u,o){return a==null?this.today():(a.year&&(this._validate(a,u,o,l.local.invalidDate||l.regionalOptions[""].invalidDate),o=a.day(),u=a.month(),a=a.year()),new i(this,a,u,o))},today:function(){return this.fromJSDate(new Date)},epoch:function(a){return this._validate(a,this.minMonth,this.minDay,l.local.invalidYear||l.regionalOptions[""].invalidYear).year()<0?this.local.epochs[0]:this.local.epochs[1]},formatYear:function(a){var u=this._validate(a,this.minMonth,this.minDay,l.local.invalidYear||l.regionalOptions[""].invalidYear);return(u.year()<0?"-":"")+M(Math.abs(u.year()),4)},monthsInYear:function(a){return this._validate(a,this.minMonth,this.minDay,l.local.invalidYear||l.regionalOptions[""].invalidYear),12},monthOfYear:function(a,u){var o=this._validate(a,u,this.minDay,l.local.invalidMonth||l.regionalOptions[""].invalidMonth);return(o.month()+this.monthsInYear(o)-this.firstMonth)%this.monthsInYear(o)+this.minMonth},fromMonthOfYear:function(a,u){var o=(u+this.firstMonth-2*this.minMonth)%this.monthsInYear(a)+this.minMonth;return this._validate(a,o,this.minDay,l.local.invalidMonth||l.regionalOptions[""].invalidMonth),o},daysInYear:function(a){var u=this._validate(a,this.minMonth,this.minDay,l.local.invalidYear||l.regionalOptions[""].invalidYear);return this.leapYear(u)?366:365},dayOfYear:function(a,u,o){var s=this._validate(a,u,o,l.local.invalidDate||l.regionalOptions[""].invalidDate);return s.toJD()-this.newDate(s.year(),this.fromMonthOfYear(s.year(),this.minMonth),this.minDay).toJD()+1},daysInWeek:function(){return 7},dayOfWeek:function(a,u,o){var s=this._validate(a,u,o,l.local.invalidDate||l.regionalOptions[""].invalidDate);return(Math.floor(this.toJD(s))+2)%this.daysInWeek()},extraInfo:function(a,u,o){return this._validate(a,u,o,l.local.invalidDate||l.regionalOptions[""].invalidDate),{}},add:function(a,u,o){return this._validate(a,this.minMonth,this.minDay,l.local.invalidDate||l.regionalOptions[""].invalidDate),this._correctAdd(a,this._add(a,u,o),u,o)},_add:function(a,u,o){if(this._validateLevel++,o==="d"||o==="w"){var s=a.toJD()+u*(o==="w"?this.daysInWeek():1),h=a.calendar().fromJD(s);return this._validateLevel--,[h.year(),h.month(),h.day()]}try{var c=a.year()+(o==="y"?u:0),m=a.monthOfYear()+(o==="m"?u:0);h=a.day(),o==="y"?(a.month()!==this.fromMonthOfYear(c,m)&&(m=this.newDate(c,a.month(),this.minDay).monthOfYear()),m=Math.min(m,this.monthsInYear(c)),h=Math.min(h,this.daysInMonth(c,this.fromMonthOfYear(c,m)))):o==="m"&&(function(y){for(;mC-1+y.minMonth;)c++,m-=C,C=y.monthsInYear(c)}(this),h=Math.min(h,this.daysInMonth(c,this.fromMonthOfYear(c,m))));var w=[c,this.fromMonthOfYear(c,m),h];return this._validateLevel--,w}catch(y){throw this._validateLevel--,y}},_correctAdd:function(a,u,o,s){if(!(this.hasYearZero||s!=="y"&&s!=="m"||u[0]!==0&&a.year()>0==u[0]>0)){var h={y:[1,1,"y"],m:[1,this.monthsInYear(-1),"m"],w:[this.daysInWeek(),this.daysInYear(-1),"d"],d:[1,this.daysInYear(-1),"d"]}[s],c=o<0?-1:1;u=this._add(a,o*h[0]+c*h[1],h[2])}return a.date(u[0],u[1],u[2])},set:function(a,u,o){this._validate(a,this.minMonth,this.minDay,l.local.invalidDate||l.regionalOptions[""].invalidDate);var s=o==="y"?u:a.year(),h=o==="m"?u:a.month(),c=o==="d"?u:a.day();return o!=="y"&&o!=="m"||(c=Math.min(c,this.daysInMonth(s,h))),a.date(s,h,c)},isValid:function(a,u,o){this._validateLevel++;var s=this.hasYearZero||a!==0;if(s){var h=this.newDate(a,u,this.minDay);s=u>=this.minMonth&&u-this.minMonth=this.minDay&&o-this.minDay13.5?13:1),C=h-(y>2.5?4716:4715);return C<=0&&C--,this.newDate(C,y,w)},toJSDate:function(a,u,o){var s=this._validate(a,u,o,l.local.invalidDate||l.regionalOptions[""].invalidDate),h=new Date(s.year(),s.month()-1,s.day());return h.setHours(0),h.setMinutes(0),h.setSeconds(0),h.setMilliseconds(0),h.setHours(h.getHours()>12?h.getHours()+2:0),h},fromJSDate:function(a){return this.newDate(a.getFullYear(),a.getMonth()+1,a.getDate())}});var l=T.exports=new g;l.cdate=i,l.baseCalendar=v,l.calendars.gregorian=f},94338:function(T,p,t){var d=t(56131),g=t(63489);d(g.regionalOptions[""],{invalidArguments:"Invalid arguments",invalidFormat:"Cannot format a date from another calendar",missingNumberAt:"Missing number at position {0}",unknownNameAt:"Unknown name at position {0}",unexpectedLiteralAt:"Unexpected literal at position {0}",unexpectedText:"Additional text found at end"}),g.local=g.regionalOptions[""],d(g.cdate.prototype,{formatDate:function(i,M){return typeof i!="string"&&(M=i,i=""),this._calendar.formatDate(i||"",this,M)}}),d(g.baseCalendar.prototype,{UNIX_EPOCH:g.instance().newDate(1970,1,1).toJD(),SECS_PER_DAY:86400,TICKS_EPOCH:g.instance().jdEpoch,TICKS_PER_DAY:864e9,ATOM:"yyyy-mm-dd",COOKIE:"D, dd M yyyy",FULL:"DD, MM d, yyyy",ISO_8601:"yyyy-mm-dd",JULIAN:"J",RFC_822:"D, d M yy",RFC_850:"DD, dd-M-yy",RFC_1036:"D, d M yy",RFC_1123:"D, d M yyyy",RFC_2822:"D, d M yyyy",RSS:"D, d M yy",TICKS:"!",TIMESTAMP:"@",W3C:"yyyy-mm-dd",formatDate:function(i,M,v){if(typeof i!="string"&&(v=M,M=i,i=""),!M)return"";if(M.calendar()!==this)throw g.local.invalidFormat||g.regionalOptions[""].invalidFormat;i=i||this.local.dateFormat;for(var f,l,a,u=(v=v||{}).dayNamesShort||this.local.dayNamesShort,o=v.dayNames||this.local.dayNames,s=v.monthNumbers||this.local.monthNumbers,h=v.monthNamesShort||this.local.monthNamesShort,c=v.monthNames||this.local.monthNames,m=(v.calculateWeek||this.local.calculateWeek,function(b,R){for(var I=1;L+I1}),w=function(b,R,I,O){var z=""+R;if(m(b,O))for(;z.length1},x=function(N,W){var j=E(N,W),$=[2,3,j?4:2,j?4:2,10,11,20]["oyYJ@!".indexOf(N)+1],U=new RegExp("^-?\\d{1,"+$+"}"),G=M.substring(O).match(U);if(!G)throw(g.local.missingNumberAt||g.regionalOptions[""].missingNumberAt).replace(/\{0\}/,O);return O+=G[0].length,parseInt(G[0],10)},A=this,L=function(){if(typeof o=="function"){E("m");var N=o.call(A,M.substring(O));return O+=N.length,N}return x("m")},b=function(N,W,j,$){for(var U=E(N,$)?j:W,G=0;G-1){w=1,y=C;for(var B=this.daysInMonth(m,w);y>B;B=this.daysInMonth(m,w))w++,y-=B}return c>-1?this.fromJD(c):this.newDate(m,w,y)},determineDate:function(i,M,v,f,l){v&&typeof v!="object"&&(l=f,f=v,v=null),typeof f!="string"&&(l=f,f="");var a=this;return M=M?M.newDate():null,i==null?M:typeof i=="string"?function(u){try{return a.parseDate(f,u,l)}catch{}for(var o=((u=u.toLowerCase()).match(/^c/)&&v?v.newDate():null)||a.today(),s=/([+-]?[0-9]+)\s*(d|w|m|y)?/g,h=s.exec(u);h;)o.add(parseInt(h[1],10),h[2]||"d"),h=s.exec(u);return o}(i):typeof i=="number"?isNaN(i)||i===1/0||i===-1/0?M:a.today().add(i,"d"):a.newDate(i)}})},69862:function(){},40964:function(){},72077:function(T,p,t){var d=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],g=typeof globalThis>"u"?t.g:globalThis;T.exports=function(){for(var i=[],M=0;M>8&15|me>>4&240,me>>4&15|240&me,(15&me)<<4|15&me,1):pe===8?x(me>>24&255,me>>16&255,me>>8&255,(255&me)/255):pe===4?x(me>>12&15|me>>8&240,me>>8&15|me>>4&240,me>>4&15|240&me,((15&me)<<4|15&me)/255):null):(me=o.exec(de))?new b(me[1],me[2],me[3],1):(me=s.exec(de))?new b(255*me[1]/100,255*me[2]/100,255*me[3]/100,1):(me=h.exec(de))?x(me[1],me[2],me[3],me[4]):(me=c.exec(de))?x(255*me[1]/100,255*me[2]/100,255*me[3]/100,me[4]):(me=m.exec(de))?B(me[1],me[2]/100,me[3]/100,1):(me=w.exec(de))?B(me[1],me[2]/100,me[3]/100,me[4]):y.hasOwnProperty(de)?E(y[de]):de==="transparent"?new b(NaN,NaN,NaN,0):null}function E(de){return new b(de>>16&255,de>>8&255,255&de,1)}function x(de,me,pe,xe){return xe<=0&&(de=me=pe=NaN),new b(de,me,pe,xe)}function A(de){return de instanceof i||(de=k(de)),de?new b((de=de.rgb()).r,de.g,de.b,de.opacity):new b}function L(de,me,pe,xe){return arguments.length===1?A(de):new b(de,me,pe,xe??1)}function b(de,me,pe,xe){this.r=+de,this.g=+me,this.b=+pe,this.opacity=+xe}function R(){return"#".concat(F(this.r)).concat(F(this.g)).concat(F(this.b))}function I(){var de=O(this.opacity);return"".concat(de===1?"rgb(":"rgba(").concat(z(this.r),", ").concat(z(this.g),", ").concat(z(this.b)).concat(de===1?")":", ".concat(de,")"))}function O(de){return isNaN(de)?1:Math.max(0,Math.min(1,de))}function z(de){return Math.max(0,Math.min(255,Math.round(de)||0))}function F(de){return((de=z(de))<16?"0":"")+de.toString(16)}function B(de,me,pe,xe){return xe<=0?de=me=pe=NaN:pe<=0||pe>=1?de=me=NaN:me<=0&&(de=NaN),new W(de,me,pe,xe)}function N(de){if(de instanceof W)return new W(de.h,de.s,de.l,de.opacity);if(de instanceof i||(de=k(de)),!de)return new W;if(de instanceof W)return de;var me=(de=de.rgb()).r/255,pe=de.g/255,xe=de.b/255,Pe=Math.min(me,pe,xe),_e=Math.max(me,pe,xe),Me=NaN,Se=_e-Pe,Ce=(_e+Pe)/2;return Se?(Me=me===_e?(pe-xe)/Se+6*(pe0&&Ce<1?0:Me,new W(Me,Se,Ce,de.opacity)}function W(de,me,pe,xe){this.h=+de,this.s=+me,this.l=+pe,this.opacity=+xe}function j(de){return(de=(de||0)%360)<0?de+360:de}function $(de){return Math.max(0,Math.min(1,de||0))}function U(de,me,pe){return 255*(de<60?me+(pe-me)*de/60:de<180?pe:de<240?me+(pe-me)*(240-de)/60:me)}d(i,k,{copy:function(de){return Object.assign(new this.constructor,this,de)},displayable:function(){return this.rgb().displayable()},hex:C,formatHex:C,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return N(this).formatHsl()},formatRgb:_,toString:_}),d(b,L,g(i,{brighter:function(de){return de=de==null?v:Math.pow(v,de),new b(this.r*de,this.g*de,this.b*de,this.opacity)},darker:function(de){return de=de==null?M:Math.pow(M,de),new b(this.r*de,this.g*de,this.b*de,this.opacity)},rgb:function(){return this},clamp:function(){return new b(z(this.r),z(this.g),z(this.b),O(this.opacity))},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:R,formatHex:R,formatHex8:function(){return"#".concat(F(this.r)).concat(F(this.g)).concat(F(this.b)).concat(F(255*(isNaN(this.opacity)?1:this.opacity)))},formatRgb:I,toString:I})),d(W,function(de,me,pe,xe){return arguments.length===1?N(de):new W(de,me,pe,xe??1)},g(i,{brighter:function(de){return de=de==null?v:Math.pow(v,de),new W(this.h,this.s,this.l*de,this.opacity)},darker:function(de){return de=de==null?M:Math.pow(M,de),new W(this.h,this.s,this.l*de,this.opacity)},rgb:function(){var de=this.h%360+360*(this.h<0),me=isNaN(de)||isNaN(this.s)?0:this.s,pe=this.l,xe=pe+(pe<.5?pe:1-pe)*me,Pe=2*pe-xe;return new b(U(de>=240?de-240:de+120,Pe,xe),U(de,Pe,xe),U(de<120?de+240:de-120,Pe,xe),this.opacity)},clamp:function(){return new W(j(this.h),$(this.s),$(this.l),O(this.opacity))},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var de=O(this.opacity);return"".concat(de===1?"hsl(":"hsla(").concat(j(this.h),", ").concat(100*$(this.s),"%, ").concat(100*$(this.l),"%").concat(de===1?")":", ".concat(de,")"))}}));var G=function(de){return function(){return de}};function q(de,me){var pe=me-de;return pe?function(xe,Pe){return function(_e){return xe+_e*Pe}}(de,pe):G(isNaN(de)?me:de)}var H=function de(me){var pe=function(Pe){return(Pe=+Pe)==1?q:function(_e,Me){return Me-_e?function(Se,Ce,ae){return Se=Math.pow(Se,ae),Ce=Math.pow(Ce,ae)-Se,ae=1/ae,function(fe){return Math.pow(Se+fe*Ce,ae)}}(_e,Me,Pe):G(isNaN(_e)?Me:_e)}}(me);function xe(Pe,_e){var Me=pe((Pe=L(Pe)).r,(_e=L(_e)).r),Se=pe(Pe.g,_e.g),Ce=pe(Pe.b,_e.b),ae=q(Pe.opacity,_e.opacity);return function(fe){return Pe.r=Me(fe),Pe.g=Se(fe),Pe.b=Ce(fe),Pe.opacity=ae(fe),Pe+""}}return xe.gamma=de,xe}(1);function ne(de,me){var pe,xe=me?me.length:0,Pe=de?Math.min(xe,de.length):0,_e=new Array(Pe),Me=new Array(xe);for(pe=0;pe_e&&(Pe=me.slice(_e,Pe),Se[Me]?Se[Me]+=Pe:Se[++Me]=Pe),(pe=pe[0])===(xe=xe[0])?Se[Me]?Se[Me]+=xe:Se[++Me]=xe:(Se[++Me]=null,Ce.push({i:Me,x:Z(pe,xe)})),_e=ie.lastIndex;return _en.rt)},yValues(){return this.dataForHeatmapDrawing.map(n=>n.mass)},selectedRange(){switch(this.args.title){case"Raw MS1 Heatmap":return this.selectionStore.selectedRawHeatmap;case"Raw MS2 Heatmap":return this.selectionStore.selectedRawMS2Heatmap;case"Deconvolved MS1 Heatmap":return this.selectionStore.selectedDeconvHeatmap;case"Deconvolved MS2 Heatmap":return this.selectionStore.selectedDeconvMS2Heatmap;default:return}},xRange(){if(this.selectedRange!==void 0)return this.selectedRange.xRange[0]<0&&this.selectedRange.xRange[1]<0?void 0:this.selectedRange.xRange},yRange(){if(this.selectedRange!==void 0)return this.selectedRange.yRange[0]<0&&this.selectedRange.yRange[1]<0?void 0:this.selectedRange.yRange},markerColorValues(){return this.dataForHeatmapDrawing.map(n=>n.intensity)},data(){const n=this.dataForHeatmapDrawing.map(p=>p.intensity),e=Math.min(...n.filter(p=>p>0)),r=Math.max(...n),S=Math.floor(Math.log10(e)),D=Math.ceil(Math.log10(r)),T=Array.from({length:D-S+1},(p,t)=>Math.pow(10,S+t));return[{type:"scattergl",name:"raw peaks",x:this.xValues,y:this.yValues,mode:"markers",marker:{color:this.markerColorValues.map(p=>p>0?Math.log10(p):0),colorscale:"Portland",showscale:this.effectiveColorbarVisible,colorbar:{title:"Intensity",tickvals:T.map(p=>Math.log10(p)),ticktext:T.map(p=>p.toExponential(0)),tickmode:"array"}},hovertext:this.dataForHeatmapDrawing.map(p=>p.intensity.toExponential(2))}]},layout(){var n,e,r,S;return{title:`${this.args.title}`,showlegend:this.args.showLegend,xaxis:{title:"Retention Time",range:this.xRange},yaxis:{title:this.yAxisLabel,range:this.yRange},paper_bgcolor:(n=this.theme)==null?void 0:n.backgroundColor,plot_bgcolor:(e=this.theme)==null?void 0:e.secondaryBackgroundColor,font:{color:(r=this.theme)==null?void 0:r.textColor,family:(S=this.theme)==null?void 0:S.font},margin:{l:60,r:this.effectiveColorbarVisible?120:20,t:60,b:60}}}},watch:{renderData(){this.graph()},zoomRange(){if(this.zoomRange!==void 0)switch(this.args.title){case"Raw MS1 Heatmap":this.selectionStore.updateRawHeatmapSelection(this.zoomRange);break;case"Raw MS2 Heatmap":this.selectionStore.updateRawMS2HeatmapSelection(this.zoomRange);break;case"Deconvolved MS1 Heatmap":this.selectionStore.updateDeconvHeatmapSelection(this.zoomRange);break;case"Deconvolved MS2 Heatmap":this.selectionStore.updateDeconvMS2HeatmapSelection(this.zoomRange);break}}},mounted(){this.graph(),this.setupResizeObserver()},beforeUnmount(){this.cleanupResizeObserver()},methods:{async toggleColorbar(){this.colorbarVisible=!this.colorbarVisible,this.userOverrideColorbar=!0,await this.updatePlot()},async updatePlot(){const n=document.getElementById(this.id);if(n)try{await _l.restyle(n,{"marker.showscale":this.effectiveColorbarVisible},[0]),await _l.relayout(n,{margin:{r:this.effectiveColorbarVisible?120:20}})}catch{}},setupResizeObserver(){const n=document.getElementById(this.id);n&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver(e=>{for(const r of e){const S=r.contentRect.width;if(Math.abs(S-this.plotWidth)>10){const D=this.isNarrowPlot;this.plotWidth=S;const T=this.isNarrowPlot;D!==T&&(this.userOverrideColorbar||(T?this.colorbarVisible=!1:this.colorbarVisible=!0),this.updatePlot())}}}),this.resizeObserver.observe(n))},cleanupResizeObserver(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)},async graph(){await _l.newPlot(this.id,this.data,this.layout,this.getPlotConfig()),this.setupPlotEventHandlers()},getPlotConfig(){return{modeBarButtonsToRemove:["toImage","sendDataToCloud"],modeBarButtonsToAdd:[{title:"Download as SVG",name:"toImageSvg",icon:_l.Icons.camera,click:n=>{_l.downloadImage(n,{filename:"FLASHViewer-heatmap",height:400,width:1200,format:"svg"})}},{title:"Toggle Colorbar",name:"toggleColorbar",icon:{width:1792,height:1792,path:"M1408 768v192q0 40-28 68t-68 28H480q-40 0-68-28t-28-68V768q0-40 28-68t68-28h832q40 0 68 28t28 68zm0-384v192q0 40-28 68t-68 28H480q-40 0-68-28t-28-68V384q0-40 28-68t68-28h832q40 0 68 28t28 68zm0-384v192q0 40-28 68t-68 28H480q-40 0-68-28t-28-68V0q0-40 28-68t68-28h832q40 0 68 28t28 68z",transform:"matrix(1 0 0 -1 0 1792)"},click:()=>{this.toggleColorbar()}}]}},setupPlotEventHandlers(){const n=document.getElementById(this.id);n&&(n.on("plotly_relayout",e=>{e["xaxis.autorange"]?this.zoomRange={xRange:[-1,-1],yRange:[-1,-1]}:e["xaxis.range[0]"]!==void 0&&e["xaxis.range[1]"]!==void 0&&e["yaxis.range[0]"]!==void 0&&e["yaxis.range[1]"]!==void 0&&(this.zoomRange={xRange:[e["xaxis.range[0]"],e["xaxis.range[1]"]],yRange:[e["yaxis.range[0]"],e["yaxis.range[1]"]]})}),n.on("plotly_click",e=>{const r=this.dataForHeatmapDrawing[e.points[0].pointIndex],S=r==null?void 0:r.scan_idx,D=r==null?void 0:r.mass_idx;S!==void 0&&this.selectionStore.updateSelectedScan(S),this.args.title==="Deconvolved MS1 Heatmap"&&D!==void 0?this.selectionStore.updateSelectedMass(D):this.args.title==="Deconvolved MS2 Heatmap"&&D!==void 0&&this.selectionStore.updateSelectedMass(D)}))}}}),hs=(n,e)=>{const r=n.__vccOpts||n;for(const[S,D]of e)r[S]=D;return r},oR=["id"];function sR(n,e,r,S,D,T){return Ir(),ei("div",{id:n.id,style:{width:"100%"}},null,8,oR)}const lR=hs(aR,[["render",sR]]);class Ml{constructor(e){this.table=e}reloadData(e,r,S){return this.table.dataLoader.load(e,void 0,void 0,void 0,r,S)}langText(){return this.table.modules.localize.getText(...arguments)}langBind(){return this.table.modules.localize.bind(...arguments)}langLocale(){return this.table.modules.localize.getLocale(...arguments)}commsConnections(){return this.table.modules.comms.getConnections(...arguments)}commsSend(){return this.table.modules.comms.send(...arguments)}layoutMode(){return this.table.modules.layout.getMode()}layoutRefresh(e){return this.table.modules.layout.layout(e)}subscribe(){return this.table.eventBus.subscribe(...arguments)}unsubscribe(){return this.table.eventBus.unsubscribe(...arguments)}subscribed(e){return this.table.eventBus.subscribed(e)}subscriptionChange(){return this.table.eventBus.subscriptionChange(...arguments)}dispatch(){return this.table.eventBus.dispatch(...arguments)}chain(){return this.table.eventBus.chain(...arguments)}confirm(){return this.table.eventBus.confirm(...arguments)}dispatchExternal(){return this.table.externalEvents.dispatch(...arguments)}subscribedExternal(e){return this.table.externalEvents.subscribed(e)}subscriptionChangeExternal(){return this.table.externalEvents.subscriptionChange(...arguments)}options(e){return this.table.options[e]}setOption(e,r){return typeof r<"u"&&(this.table.options[e]=r),this.table.options[e]}deprecationCheck(e,r,S){return this.table.deprecationAdvisor.check(e,r,S)}deprecationCheckMsg(e,r){return this.table.deprecationAdvisor.checkMsg(e,r)}deprecationMsg(e){return this.table.deprecationAdvisor.msg(e)}module(e){return this.table.module(e)}}class so{static elVisible(e){return!(e.offsetWidth<=0&&e.offsetHeight<=0)}static elOffset(e){var r=e.getBoundingClientRect();return{top:r.top+window.pageYOffset-document.documentElement.clientTop,left:r.left+window.pageXOffset-document.documentElement.clientLeft}}static retrieveNestedData(e,r,S){var D=e?r.split(e):[r],T=D.length,p;for(let t=0;ti.subject===t),d>-1?r[p]=S[d].copy:(g=Object.assign(Array.isArray(t)?[]:{},t),S.unshift({subject:t,copy:g}),r[p]=this.deepClone(t,g,S)))}return r}}class H2 extends Ml{constructor(e,r,S){super(e),this.element=r,this.container=this._lookupContainer(),this.parent=S,this.reversedX=!1,this.childPopup=null,this.blurable=!1,this.blurCallback=null,this.blurEventsBound=!1,this.renderedCallback=null,this.visible=!1,this.hideable=!0,this.element.classList.add("tabulator-popup-container"),this.blurEvent=this.hide.bind(this,!1),this.escEvent=this._escapeCheck.bind(this),this.destroyBinding=this.tableDestroyed.bind(this),this.destroyed=!1}tableDestroyed(){this.destroyed=!0,this.hide(!0)}_lookupContainer(){var e=this.table.options.popupContainer;return typeof e=="string"?(e=document.querySelector(e),e||console.warn("Menu Error - no container element found matching selector:",this.table.options.popupContainer,"(defaulting to document body)")):e===!0&&(e=this.table.element),e&&!this._checkContainerIsParent(e)&&(e=!1,console.warn("Menu Error - container element does not contain this table:",this.table.options.popupContainer,"(defaulting to document body)")),e||(e=document.body),e}_checkContainerIsParent(e,r=this.table.element){return e===r?!0:r.parentNode?this._checkContainerIsParent(e,r.parentNode):!1}renderCallback(e){this.renderedCallback=e}containerEventCoords(e){var r=!(e instanceof MouseEvent),S=r?e.touches[0].pageX:e.pageX,D=r?e.touches[0].pageY:e.pageY;if(this.container!==document.body){let T=so.elOffset(this.container);S-=T.left,D-=T.top}return{x:S,y:D}}elementPositionCoords(e,r="right"){var S=so.elOffset(e),D,T,p;switch(this.container!==document.body&&(D=so.elOffset(this.container),S.left-=D.left,S.top-=D.top),r){case"right":T=S.left+e.offsetWidth,p=S.top-1;break;case"bottom":T=S.left,p=S.top+e.offsetHeight;break;case"left":T=S.left,p=S.top-1;break;case"top":T=S.left,p=S.top;break;case"center":T=S.left+e.offsetWidth/2,p=S.top+e.offsetHeight/2;break}return{x:T,y:p,offset:S}}show(e,r){var S,D,T,p,t;return this.destroyed||this.table.destroyed?this:(e instanceof HTMLElement?(T=e,t=this.elementPositionCoords(e,r),p=t.offset,S=t.x,D=t.y):typeof e=="number"?(p={top:0,left:0},S=e,D=r):(t=this.containerEventCoords(e),S=t.x,D=t.y,this.reversedX=!1),this.element.style.top=D+"px",this.element.style.left=S+"px",this.container.appendChild(this.element),typeof this.renderedCallback=="function"&&this.renderedCallback(),this._fitToScreen(S,D,T,p,r),this.visible=!0,this.subscribe("table-destroy",this.destroyBinding),this.element.addEventListener("mousedown",d=>{d.stopPropagation()}),this)}_fitToScreen(e,r,S,D,T){var p=this.container===document.body?document.documentElement.scrollTop:this.container.scrollTop;if((e+this.element.offsetWidth>=this.container.offsetWidth||this.reversedX)&&(this.element.style.left="",S?this.element.style.right=this.container.offsetWidth-D.left+"px":this.element.style.right=this.container.offsetWidth-e+"px",this.reversedX=!0),r+this.element.offsetHeight>Math.max(this.container.offsetHeight,p?this.container.scrollHeight:0))if(S)switch(T){case"bottom":this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight-S.offsetHeight-1+"px";break;default:this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight+S.offsetHeight+1+"px"}else this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight+"px"}isVisible(){return this.visible}hideOnBlur(e){return this.blurable=!0,this.visible&&(setTimeout(()=>{this.visible&&(this.table.rowManager.element.addEventListener("scroll",this.blurEvent),this.subscribe("cell-editing",this.blurEvent),document.body.addEventListener("click",this.blurEvent),document.body.addEventListener("contextmenu",this.blurEvent),document.body.addEventListener("mousedown",this.blurEvent),window.addEventListener("resize",this.blurEvent),document.body.addEventListener("keydown",this.escEvent),this.blurEventsBound=!0)},100),this.blurCallback=e),this}_escapeCheck(e){e.keyCode==27&&this.hide()}blockHide(){this.hideable=!1}restoreHide(){this.hideable=!0}hide(e=!1){return this.visible&&this.hideable&&(this.blurable&&this.blurEventsBound&&(document.body.removeEventListener("keydown",this.escEvent),document.body.removeEventListener("click",this.blurEvent),document.body.removeEventListener("contextmenu",this.blurEvent),document.body.removeEventListener("mousedown",this.blurEvent),window.removeEventListener("resize",this.blurEvent),this.table.rowManager.element.removeEventListener("scroll",this.blurEvent),this.unsubscribe("cell-editing",this.blurEvent),this.blurEventsBound=!1),this.childPopup&&this.childPopup.hide(),this.parent&&(this.parent.childPopup=null),this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.visible=!1,this.blurCallback&&!e&&this.blurCallback(),this.unsubscribe("table-destroy",this.destroyBinding)),this}child(e){return this.childPopup&&this.childPopup.hide(),this.childPopup=new H2(this.table,e,this),this.childPopup}}class qi extends Ml{constructor(e,r){super(e),this._handler=null}initialize(){}registerTableOption(e,r){this.table.optionsList.register(e,r)}registerColumnOption(e,r){this.table.columnManager.optionsList.register(e,r)}registerTableFunction(e,r){typeof this.table[e]>"u"?this.table[e]=(...S)=>(this.table.initGuard(e),r(...S)):console.warn("Unable to bind table function, name already in use",e)}registerComponentFunction(e,r,S){return this.table.componentFunctionBinder.bind(e,r,S)}registerDataHandler(e,r){this.table.rowManager.registerDataPipelineHandler(e,r),this._handler=e}registerDisplayHandler(e,r){this.table.rowManager.registerDisplayPipelineHandler(e,r),this._handler=e}displayRows(e){var r=this.table.rowManager.displayRows.length-1,S;if(this._handler&&(S=this.table.rowManager.displayPipeline.findIndex(D=>D.handler===this._handler),S>-1&&(r=S)),e&&(r=r+e),this._handler)return r>-1?this.table.rowManager.getDisplayRows(r):this.activeRows()}activeRows(){return this.table.rowManager.activeRows}refreshData(e,r){r||(r=this._handler),r&&this.table.rowManager.refreshActiveData(r,!1,e)}footerAppend(e){return this.table.footerManager.append(e)}footerPrepend(e){return this.table.footerManager.prepend(e)}footerRemove(e){return this.table.footerManager.remove(e)}popup(e,r){return new H2(this.table,e,r)}alert(e,r){return this.table.alertManager.alert(e,r)}clearAlert(){return this.table.alertManager.clear()}}var uR={};class i0 extends qi{constructor(e){super(e),this.allowedTypes=["","data","download","clipboard","print","htmlOutput"],this.registerColumnOption("accessor"),this.registerColumnOption("accessorParams"),this.registerColumnOption("accessorData"),this.registerColumnOption("accessorDataParams"),this.registerColumnOption("accessorDownload"),this.registerColumnOption("accessorDownloadParams"),this.registerColumnOption("accessorClipboard"),this.registerColumnOption("accessorClipboardParams"),this.registerColumnOption("accessorPrint"),this.registerColumnOption("accessorPrintParams"),this.registerColumnOption("accessorHtmlOutput"),this.registerColumnOption("accessorHtmlOutputParams")}initialize(){this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("row-data-retrieve",this.transformRow.bind(this))}initializeColumn(e){var r=!1,S={};this.allowedTypes.forEach(D=>{var T="accessor"+(D.charAt(0).toUpperCase()+D.slice(1)),p;e.definition[T]&&(p=this.lookupAccessor(e.definition[T]),p&&(r=!0,S[T]={accessor:p,params:e.definition[T+"Params"]||{}}))}),r&&(e.modules.accessor=S)}lookupAccessor(e){var r=!1;switch(typeof e){case"string":i0.accessors[e]?r=i0.accessors[e]:console.warn("Accessor Error - No such accessor found, ignoring: ",e);break;case"function":r=e;break}return r}transformRow(e,r){var S="accessor"+(r.charAt(0).toUpperCase()+r.slice(1)),D=e.getComponent(),T=so.deepClone(e.data||{});return this.table.columnManager.traverse(function(p){var t,d,g,i;p.modules.accessor&&(d=p.modules.accessor[S]||p.modules.accessor.accessor||!1,d&&(t=p.getFieldValue(T),t!="undefined"&&(i=p.getComponent(),g=typeof d.params=="function"?d.params(t,T,r,i,D):d.params,p.setFieldValue(T,d.accessor(t,T,r,g,i,D)))))}),T}}i0.moduleName="accessor";i0.accessors=uR;var cR={method:"GET"};function nx(n,e){var r=[];if(e=e||"",Array.isArray(n))n.forEach((D,T)=>{r=r.concat(nx(D,e?e+"["+T+"]":T))});else if(typeof n=="object")for(var S in n)r=r.concat(nx(n[S],e?e+"["+S+"]":S));else r.push({key:e,value:n});return r}function hR(n){var e=nx(n),r=[];return e.forEach(function(S){r.push(encodeURIComponent(S.key)+"="+encodeURIComponent(S.value))}),r.join("&")}function LM(n,e,r){return n&&r&&Object.keys(r).length&&(!e.method||e.method.toLowerCase()=="get")&&(e.method="get",n+=(n.includes("?")?"&":"?")+hR(r)),n}function fR(n,e,r){var S;return new Promise((D,T)=>{if(n=this.urlGenerator.call(this.table,n,e,r),e.method.toUpperCase()!="GET")if(S=typeof this.table.options.ajaxContentType=="object"?this.table.options.ajaxContentType:this.contentTypeFormatters[this.table.options.ajaxContentType],S){for(var p in S.headers)e.headers||(e.headers={}),typeof e.headers[p]>"u"&&(e.headers[p]=S.headers[p]);e.body=S.body.call(this,n,e,r)}else console.warn("Ajax Error - Invalid ajaxContentType value:",this.table.options.ajaxContentType);n?(typeof e.headers>"u"&&(e.headers={}),typeof e.headers.Accept>"u"&&(e.headers.Accept="application/json"),typeof e.headers["X-Requested-With"]>"u"&&(e.headers["X-Requested-With"]="XMLHttpRequest"),typeof e.mode>"u"&&(e.mode="cors"),e.mode=="cors"?(typeof e.headers.Origin>"u"&&(e.headers.Origin=window.location.origin),typeof e.credentials>"u"&&(e.credentials="same-origin")):typeof e.credentials>"u"&&(e.credentials="include"),fetch(n,e).then(t=>{t.ok?t.json().then(d=>{D(d)}).catch(d=>{T(d),console.warn("Ajax Load Error - Invalid JSON returned",d)}):(console.error("Ajax Load Error - Connection Error: "+t.status,t.statusText),T(t))}).catch(t=>{console.error("Ajax Load Error - Connection Error: ",t),T(t)})):(console.warn("Ajax Load Error - No URL Set"),D([]))})}function rx(n,e){var r=[];if(e=e||"",Array.isArray(n))n.forEach((D,T)=>{r=r.concat(rx(D,e?e+"["+T+"]":T))});else if(typeof n=="object")for(var S in n)r=r.concat(rx(n[S],e?e+"["+S+"]":S));else r.push({key:e,value:n});return r}var dR={json:{headers:{"Content-Type":"application/json"},body:function(n,e,r){return JSON.stringify(r)}},form:{headers:{},body:function(n,e,r){var S=rx(r),D=new FormData;return S.forEach(function(T){D.append(T.key,T.value)}),D}}};class Rc extends qi{constructor(e){super(e),this.config={},this.url="",this.urlGenerator=!1,this.params=!1,this.loaderPromise=!1,this.registerTableOption("ajaxURL",!1),this.registerTableOption("ajaxURLGenerator",!1),this.registerTableOption("ajaxParams",{}),this.registerTableOption("ajaxConfig","get"),this.registerTableOption("ajaxContentType","form"),this.registerTableOption("ajaxRequestFunc",!1),this.registerTableOption("ajaxRequesting",function(){}),this.registerTableOption("ajaxResponse",!1),this.contentTypeFormatters=Rc.contentTypeFormatters}initialize(){this.loaderPromise=this.table.options.ajaxRequestFunc||Rc.defaultLoaderPromise,this.urlGenerator=this.table.options.ajaxURLGenerator||Rc.defaultURLGenerator,this.table.options.ajaxURL&&this.setUrl(this.table.options.ajaxURL),this.setDefaultConfig(this.table.options.ajaxConfig),this.registerTableFunction("getAjaxUrl",this.getUrl.bind(this)),this.subscribe("data-loading",this.requestDataCheck.bind(this)),this.subscribe("data-params",this.requestParams.bind(this)),this.subscribe("data-load",this.requestData.bind(this))}requestParams(e,r,S,D){var T=this.table.options.ajaxParams;return T&&(typeof T=="function"&&(T=T.call(this.table)),D=Object.assign(Object.assign({},T),D)),D}requestDataCheck(e,r,S,D){return!!(!e&&this.url||typeof e=="string")}requestData(e,r,S,D,T){var p;return!T&&this.requestDataCheck(e)?(e&&this.setUrl(e),p=this.generateConfig(S),this.sendRequest(this.url,r,p)):T}setDefaultConfig(e={}){this.config=Object.assign({},Rc.defaultConfig),typeof e=="string"?this.config.method=e:Object.assign(this.config,e)}generateConfig(e={}){var r=Object.assign({},this.config);return typeof e=="string"?r.method=e:Object.assign(r,e),r}setUrl(e){this.url=e}getUrl(){return this.url}sendRequest(e,r,S){return this.table.options.ajaxRequesting.call(this.table,e,r)!==!1?this.loaderPromise(e,S,r).then(D=>(this.table.options.ajaxResponse&&(D=this.table.options.ajaxResponse.call(this.table,e,r,D)),D)):Promise.reject()}}Rc.moduleName="ajax";Rc.defaultConfig=cR;Rc.defaultURLGenerator=LM;Rc.defaultLoaderPromise=fR;Rc.contentTypeFormatters=dR;var pR={replace:function(n){return this.table.setData(n)},update:function(n){return this.table.updateOrAddData(n)},insert:function(n){return this.table.addData(n)},range:function(n){var e=[],r=this.table.modules.selectRange.activeRange,S=!1,D,T,p,t,d;return d=n.length,r&&(D=r.getBounds(),T=D.start,D.start===D.end&&(S=!0),T&&(e=this.table.rowManager.activeRows.slice(),p=e.indexOf(T.row),S?t=n.length:t=e.indexOf(D.end.row)-p+1,p>-1&&(this.table.blockRedraw(),e=e.slice(p,p+t),e.forEach((g,i)=>{g.updateData(n[i%d])}),this.table.restoreRedraw()))),e}},mR={table:function(n){var e=[],r=!0,S=this.table.columnManager.columns,D=[],T=[];return n=n.split(` +`),n.forEach(function(p){e.push(p.split(" "))}),e.length&&!(e.length===1&&e[0].length<2)?(e[0].forEach(function(p){var t=S.find(function(d){return p&&d.definition.title&&p.trim()&&d.definition.title.trim()===p.trim()});t?D.push(t):r=!1}),r||(r=!0,D=[],e[0].forEach(function(p){var t=S.find(function(d){return p&&d.field&&p.trim()&&d.field.trim()===p.trim()});t?D.push(t):r=!1}),r||(D=this.table.columnManager.columnsByIndex)),r&&e.shift(),e.forEach(function(p){var t={};p.forEach(function(d,g){D[g]&&(t[D[g].field]=d)}),T.push(t)}),T):!1},range:function(n){var e=[],r=[],S=this.table.modules.selectRange.activeRange,D=!1,T,p,t,d,g;return S&&(T=S.getBounds(),p=T.start,T.start===T.end&&(D=!0),p&&(n=n.split(` +`),n.forEach(function(i){e.push(i.split(" "))}),e.length&&(d=this.table.columnManager.getVisibleColumnsByIndex(),g=d.indexOf(p.column),g>-1)))?(D?t=e[0].length:t=d.indexOf(T.end.column)-g+1,d=d.slice(g,g+t),e.forEach(i=>{var M={},v=i.length;d.forEach(function(f,l){M[f.field]=i[l%v]}),r.push(M)}),r):!1}};class qd extends qi{constructor(e){super(e),this.mode=!0,this.pasteParser=function(){},this.pasteAction=function(){},this.customSelection=!1,this.rowRange=!1,this.blocked=!0,this.registerTableOption("clipboard",!1),this.registerTableOption("clipboardCopyStyled",!0),this.registerTableOption("clipboardCopyConfig",!1),this.registerTableOption("clipboardCopyFormatter",!1),this.registerTableOption("clipboardCopyRowRange","active"),this.registerTableOption("clipboardPasteParser","table"),this.registerTableOption("clipboardPasteAction","insert"),this.registerColumnOption("clipboard"),this.registerColumnOption("titleClipboard")}initialize(){this.mode=this.table.options.clipboard,this.rowRange=this.table.options.clipboardCopyRowRange,(this.mode===!0||this.mode==="copy")&&this.table.element.addEventListener("copy",e=>{var r,S,D;this.blocked||(e.preventDefault(),this.customSelection?(r=this.customSelection,this.table.options.clipboardCopyFormatter&&(r=this.table.options.clipboardCopyFormatter("plain",r))):(D=this.table.modules.export.generateExportList(this.table.options.clipboardCopyConfig,this.table.options.clipboardCopyStyled,this.rowRange,"clipboard"),S=this.table.modules.export.generateHTMLTable(D),r=S?this.generatePlainContent(D):"",this.table.options.clipboardCopyFormatter&&(r=this.table.options.clipboardCopyFormatter("plain",r),S=this.table.options.clipboardCopyFormatter("html",S))),window.clipboardData&&window.clipboardData.setData?window.clipboardData.setData("Text",r):e.clipboardData&&e.clipboardData.setData?(e.clipboardData.setData("text/plain",r),S&&e.clipboardData.setData("text/html",S)):e.originalEvent&&e.originalEvent.clipboardData.setData&&(e.originalEvent.clipboardData.setData("text/plain",r),S&&e.originalEvent.clipboardData.setData("text/html",S)),this.dispatchExternal("clipboardCopied",r,S),this.reset())}),(this.mode===!0||this.mode==="paste")&&this.table.element.addEventListener("paste",e=>{this.paste(e)}),this.setPasteParser(this.table.options.clipboardPasteParser),this.setPasteAction(this.table.options.clipboardPasteAction),this.registerTableFunction("copyToClipboard",this.copy.bind(this))}reset(){this.blocked=!0,this.customSelection=!1}generatePlainContent(e){var r=[];return e.forEach(S=>{var D=[];S.columns.forEach(T=>{var p="";if(T)if(S.type==="group"&&(T.value=T.component.getKey()),T.value===null)p="";else switch(typeof T.value){case"object":p=JSON.stringify(T.value);break;case"undefined":p="";break;default:p=T.value}D.push(p)}),r.push(D.join(" "))}),r.join(` +`)}copy(e,r){var S,D;this.blocked=!1,this.customSelection=!1,(this.mode===!0||this.mode==="copy")&&(this.rowRange=e||this.table.options.clipboardCopyRowRange,typeof window.getSelection<"u"&&typeof document.createRange<"u"?(e=document.createRange(),e.selectNodeContents(this.table.element),S=window.getSelection(),S.toString()&&r&&(this.customSelection=S.toString()),S.removeAllRanges(),S.addRange(e)):typeof document.selection<"u"&&typeof document.body.createTextRange<"u"&&(D=document.body.createTextRange(),D.moveToElementText(this.table.element),D.select()),document.execCommand("copy"),S&&S.removeAllRanges())}setPasteAction(e){switch(typeof e){case"string":this.pasteAction=qd.pasteActions[e],this.pasteAction||console.warn("Clipboard Error - No such paste action found:",e);break;case"function":this.pasteAction=e;break}}setPasteParser(e){switch(typeof e){case"string":this.pasteParser=qd.pasteParsers[e],this.pasteParser||console.warn("Clipboard Error - No such paste parser found:",e);break;case"function":this.pasteParser=e;break}}paste(e){var r,S,D;this.checkPasteOrigin(e)&&(r=this.getPasteData(e),S=this.pasteParser.call(this,r),S?(e.preventDefault(),this.table.modExists("mutator")&&(S=this.mutateData(S)),D=this.pasteAction.call(this,S),this.dispatchExternal("clipboardPasted",r,S,D)):this.dispatchExternal("clipboardPasteError",r))}mutateData(e){var r=[];return Array.isArray(e)?e.forEach(S=>{r.push(this.table.modules.mutator.transformRow(S,"clipboard"))}):r=e,r}checkPasteOrigin(e){var r=!0,S=this.confirm("clipboard-paste",[e]);return(S||!["DIV","SPAN"].includes(e.target.tagName))&&(r=!1),r}getPasteData(e){var r;return window.clipboardData&&window.clipboardData.getData?r=window.clipboardData.getData("Text"):e.clipboardData&&e.clipboardData.getData?r=e.clipboardData.getData("text/plain"):e.originalEvent&&e.originalEvent.clipboardData.getData&&(r=e.originalEvent.clipboardData.getData("text/plain")),r}}qd.moduleName="clipboard";qd.pasteActions=pR;qd.pasteParsers=mR;class gR{constructor(e){return this._row=e,new Proxy(this,{get:function(r,S,D){return typeof r[S]<"u"?r[S]:r._row.table.componentFunctionBinder.handle("row",r._row,S)}})}getData(e){return this._row.getData(e)}getElement(){return this._row.getElement()}getTable(){return this._row.table}getCells(){var e=[];return this._row.getCells().forEach(function(r){e.push(r.getComponent())}),e}getCell(e){var r=this._row.getCell(e);return r?r.getComponent():!1}_getSelf(){return this._row}}class IM{constructor(e){return this._cell=e,new Proxy(this,{get:function(r,S,D){return typeof r[S]<"u"?r[S]:r._cell.table.componentFunctionBinder.handle("cell",r._cell,S)}})}getValue(){return this._cell.getValue()}getOldValue(){return this._cell.getOldValue()}getInitialValue(){return this._cell.initialValue}getElement(){return this._cell.getElement()}getRow(){return this._cell.row.getComponent()}getData(e){return this._cell.row.getData(e)}getType(){return"cell"}getField(){return this._cell.column.getField()}getColumn(){return this._cell.column.getComponent()}setValue(e,r){typeof r>"u"&&(r=!0),this._cell.setValue(e,r)}restoreOldValue(){this._cell.setValueActual(this._cell.getOldValue())}restoreInitialValue(){this._cell.setValueActual(this._cell.initialValue)}checkHeight(){this._cell.checkHeight()}getTable(){return this._cell.table}_getSelf(){return this._cell}}class eg extends Ml{constructor(e,r){super(e.table),this.table=e.table,this.column=e,this.row=r,this.element=null,this.value=null,this.initialValue,this.oldValue=null,this.modules={},this.height=null,this.width=null,this.minWidth=null,this.component=null,this.loaded=!1,this.build()}build(){this.generateElement(),this.setWidth(),this._configureCell(),this.setValueActual(this.column.getFieldValue(this.row.data)),this.initialValue=this.value}generateElement(){this.element=document.createElement("div"),this.element.className="tabulator-cell",this.element.setAttribute("role","gridcell")}_configureCell(){var e=this.element,r=this.column.getField(),S={top:"flex-start",bottom:"flex-end",middle:"center"},D={left:"flex-start",right:"flex-end",center:"center"};if(e.style.textAlign=this.column.hozAlign,this.column.vertAlign&&(e.style.display="inline-flex",e.style.alignItems=S[this.column.vertAlign]||"",this.column.hozAlign&&(e.style.justifyContent=D[this.column.hozAlign]||"")),r&&e.setAttribute("tabulator-field",r),this.column.definition.cssClass){var T=this.column.definition.cssClass.split(" ");T.forEach(p=>{e.classList.add(p)})}this.dispatch("cell-init",this),this.column.visible||this.hide()}_generateContents(){var e;switch(e=this.chain("cell-format",this,null,()=>this.element.innerHTML=this.value),typeof e){case"object":if(e instanceof Node){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.element.appendChild(e)}else this.element.innerHTML="",e!=null&&console.warn("Format Error - Formatter has returned a type of object, the only valid formatter object return is an instance of Node, the formatter returned:",e);break;case"undefined":this.element.innerHTML="";break;default:this.element.innerHTML=e}}cellRendered(){this.dispatch("cell-rendered",this)}getElement(e){return this.loaded||(this.loaded=!0,e||this.layoutElement()),this.element}getValue(){return this.value}getOldValue(){return this.oldValue}setValue(e,r,S){var D=this.setValueProcessData(e,r,S);D&&(this.dispatch("cell-value-updated",this),this.cellRendered(),this.column.definition.cellEdited&&this.column.definition.cellEdited.call(this.table,this.getComponent()),this.dispatchExternal("cellEdited",this.getComponent()),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.table.rowManager.getData()))}setValueProcessData(e,r,S){var D=!1;return(this.value!==e||S)&&(D=!0,r&&(e=this.chain("cell-value-changing",[this,e],null,e))),this.setValueActual(e),D&&this.dispatch("cell-value-changed",this),D}setValueActual(e){this.oldValue=this.value,this.value=e,this.dispatch("cell-value-save-before",this),this.column.setFieldValue(this.row.data,e),this.dispatch("cell-value-save-after",this),this.loaded&&this.layoutElement()}layoutElement(){this._generateContents(),this.dispatch("cell-layout",this)}setWidth(){this.width=this.column.width,this.element.style.width=this.column.widthStyled}clearWidth(){this.width="",this.element.style.width=""}getWidth(){return this.width||this.element.offsetWidth}setMinWidth(){this.minWidth=this.column.minWidth,this.element.style.minWidth=this.column.minWidthStyled}setMaxWidth(){this.maxWidth=this.column.maxWidth,this.element.style.maxWidth=this.column.maxWidthStyled}checkHeight(){this.row.reinitializeHeight()}clearHeight(){this.element.style.height="",this.height=null,this.dispatch("cell-height",this,"")}setHeight(){this.height=this.row.height,this.element.style.height=this.row.heightStyled,this.dispatch("cell-height",this,this.row.heightStyled)}getHeight(){return this.height||this.element.offsetHeight}show(){this.element.style.display=this.column.vertAlign?"inline-flex":""}hide(){this.element.style.display="none"}delete(){this.dispatch("cell-delete",this),!this.table.rowManager.redrawBlock&&this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.element=!1,this.column.deleteCell(this),this.row.deleteCell(this),this.calcs={}}getIndex(){return this.row.getCellIndex(this)}getComponent(){return this.component||(this.component=new IM(this)),this.component}}class RM{constructor(e){return this._column=e,this.type="ColumnComponent",new Proxy(this,{get:function(r,S,D){return typeof r[S]<"u"?r[S]:r._column.table.componentFunctionBinder.handle("column",r._column,S)}})}getElement(){return this._column.getElement()}getDefinition(){return this._column.getDefinition()}getField(){return this._column.getField()}getTitleDownload(){return this._column.getTitleDownload()}getCells(){var e=[];return this._column.cells.forEach(function(r){e.push(r.getComponent())}),e}isVisible(){return this._column.visible}show(){this._column.isGroup?this._column.columns.forEach(function(e){e.show()}):this._column.show()}hide(){this._column.isGroup?this._column.columns.forEach(function(e){e.hide()}):this._column.hide()}toggle(){this._column.visible?this.hide():this.show()}delete(){return this._column.delete()}getSubColumns(){var e=[];return this._column.columns.length&&this._column.columns.forEach(function(r){e.push(r.getComponent())}),e}getParentColumn(){return this._column.parent instanceof vh?this._column.parent.getComponent():!1}_getSelf(){return this._column}scrollTo(e,r){return this._column.table.columnManager.scrollToColumn(this._column,e,r)}getTable(){return this._column.table}move(e,r){var S=this._column.table.columnManager.findColumn(e);S?this._column.table.columnManager.moveColumn(this._column,S,r):console.warn("Move Error - No matching column found:",S)}getNextColumn(){var e=this._column.nextColumn();return e?e.getComponent():!1}getPrevColumn(){var e=this._column.prevColumn();return e?e.getComponent():!1}updateDefinition(e){return this._column.updateDefinition(e)}getWidth(){return this._column.getWidth()}setWidth(e){var r;return e===!0?r=this._column.reinitializeWidth(!0):r=this._column.setWidth(e),this._column.table.columnManager.rerenderColumns(!0),r}}var PM={title:void 0,field:void 0,columns:void 0,visible:void 0,hozAlign:void 0,vertAlign:void 0,width:void 0,minWidth:40,maxWidth:void 0,maxInitialWidth:void 0,cssClass:void 0,variableHeight:void 0,headerVertical:void 0,headerHozAlign:void 0,headerWordWrap:!1,editableTitle:void 0};class vh extends Ml{constructor(e,r){super(r.table),this.definition=e,this.parent=r,this.type="column",this.columns=[],this.cells=[],this.element=this.createElement(),this.contentElement=!1,this.titleHolderElement=!1,this.titleElement=!1,this.groupElement=this.createGroupElement(),this.isGroup=!1,this.hozAlign="",this.vertAlign="",this.field="",this.fieldStructure="",this.getFieldValue="",this.setFieldValue="",this.titleDownload=null,this.titleFormatterRendered=!1,this.mapDefinitions(),this.setField(this.definition.field),this.modules={},this.width=null,this.widthStyled="",this.maxWidth=null,this.maxWidthStyled="",this.maxInitialWidth=null,this.minWidth=null,this.minWidthStyled="",this.widthFixed=!1,this.visible=!0,this.component=null,this.definition.columns?(this.isGroup=!0,this.definition.columns.forEach((S,D)=>{var T=new vh(S,this);this.attachColumn(T)}),this.checkColumnVisibility()):r.registerColumnField(this),this._initialize()}createElement(){var e=document.createElement("div");switch(e.classList.add("tabulator-col"),e.setAttribute("role","columnheader"),e.setAttribute("aria-sort","none"),this.table.options.columnHeaderVertAlign){case"middle":e.style.justifyContent="center";break;case"bottom":e.style.justifyContent="flex-end";break}return e}createGroupElement(){var e=document.createElement("div");return e.classList.add("tabulator-col-group-cols"),e}mapDefinitions(){var e=this.table.options.columnDefaults;if(e)for(let r in e)typeof this.definition[r]>"u"&&(this.definition[r]=e[r]);this.definition=this.table.columnManager.optionsList.generate(vh.defaultOptionList,this.definition)}checkDefinition(){Object.keys(this.definition).forEach(e=>{vh.defaultOptionList.indexOf(e)===-1&&console.warn("Invalid column definition option in '"+(this.field||this.definition.title)+"' column:",e)})}setField(e){this.field=e,this.fieldStructure=e?this.table.options.nestedFieldSeparator?e.split(this.table.options.nestedFieldSeparator):[e]:[],this.getFieldValue=this.fieldStructure.length>1?this._getNestedData:this._getFlatData,this.setFieldValue=this.fieldStructure.length>1?this._setNestedData:this._setFlatData}registerColumnPosition(e){this.parent.registerColumnPosition(e)}registerColumnField(e){this.parent.registerColumnField(e)}reRegisterPosition(){this.isGroup?this.columns.forEach(function(e){e.reRegisterPosition()}):this.registerColumnPosition(this)}_initialize(){for(var e=this.definition;this.element.firstChild;)this.element.removeChild(this.element.firstChild);e.headerVertical&&(this.element.classList.add("tabulator-col-vertical"),e.headerVertical==="flip"&&this.element.classList.add("tabulator-col-vertical-flip")),this.contentElement=this._buildColumnHeaderContent(),this.element.appendChild(this.contentElement),this.isGroup?this._buildGroupHeader():this._buildColumnHeader(),this.dispatch("column-init",this)}_buildColumnHeader(){var e=this.definition;if(this.dispatch("column-layout",this),typeof e.visible<"u"&&(e.visible?this.show(!0):this.hide(!0)),e.cssClass){var r=e.cssClass.split(" ");r.forEach(S=>{this.element.classList.add(S)})}e.field&&this.element.setAttribute("tabulator-field",e.field),this.setMinWidth(parseInt(e.minWidth)),e.maxInitialWidth&&(this.maxInitialWidth=parseInt(e.maxInitialWidth)),e.maxWidth&&this.setMaxWidth(parseInt(e.maxWidth)),this.reinitializeWidth(),this.hozAlign=this.definition.hozAlign,this.vertAlign=this.definition.vertAlign,this.titleElement.style.textAlign=this.definition.headerHozAlign}_buildColumnHeaderContent(){var e=document.createElement("div");return e.classList.add("tabulator-col-content"),this.titleHolderElement=document.createElement("div"),this.titleHolderElement.classList.add("tabulator-col-title-holder"),e.appendChild(this.titleHolderElement),this.titleElement=this._buildColumnHeaderTitle(),this.titleHolderElement.appendChild(this.titleElement),e}_buildColumnHeaderTitle(){var e=this.definition,r=document.createElement("div");if(r.classList.add("tabulator-col-title"),e.headerWordWrap&&r.classList.add("tabulator-col-title-wrap"),e.editableTitle){var S=document.createElement("input");S.classList.add("tabulator-title-editor"),S.addEventListener("click",D=>{D.stopPropagation(),S.focus()}),S.addEventListener("mousedown",D=>{D.stopPropagation()}),S.addEventListener("change",()=>{e.title=S.value,this.dispatchExternal("columnTitleChanged",this.getComponent())}),r.appendChild(S),e.field?this.langBind("columns|"+e.field,D=>{S.value=D||e.title||" "}):S.value=e.title||" "}else e.field?this.langBind("columns|"+e.field,D=>{this._formatColumnHeaderTitle(r,D||e.title||" ")}):this._formatColumnHeaderTitle(r,e.title||" ");return r}_formatColumnHeaderTitle(e,r){var S=this.chain("column-format",[this,r,e],null,()=>r);switch(typeof S){case"object":S instanceof Node?e.appendChild(S):(e.innerHTML="",console.warn("Format Error - Title formatter has returned a type of object, the only valid formatter object return is an instance of Node, the formatter returned:",S));break;case"undefined":e.innerHTML="";break;default:e.innerHTML=S}}_buildGroupHeader(){if(this.element.classList.add("tabulator-col-group"),this.element.setAttribute("role","columngroup"),this.element.setAttribute("aria-title",this.definition.title),this.definition.cssClass){var e=this.definition.cssClass.split(" ");e.forEach(r=>{this.element.classList.add(r)})}this.titleElement.style.textAlign=this.definition.headerHozAlign,this.element.appendChild(this.groupElement)}_getFlatData(e){return e[this.field]}_getNestedData(e){var r=e,S=this.fieldStructure,D=S.length,T;for(let p=0;p{r.push(S),r=r.concat(S.getColumns(!0))}):r=this.columns,r}getCells(){return this.cells}getTopColumn(){return this.parent.isGroup?this.parent.getTopColumn():this}getDefinition(e){var r=[];return this.isGroup&&e&&(this.columns.forEach(function(S){r.push(S.getDefinition(!0))}),this.definition.columns=r),this.definition}checkColumnVisibility(){var e=!1;this.columns.forEach(function(r){r.visible&&(e=!0)}),e?(this.show(),this.dispatchExternal("columnVisibilityChanged",this.getComponent(),!1)):this.hide()}show(e,r){this.visible||(this.visible=!0,this.element.style.display="",this.parent.isGroup&&this.parent.checkColumnVisibility(),this.cells.forEach(function(S){S.show()}),!this.isGroup&&this.width===null&&this.reinitializeWidth(),this.table.columnManager.verticalAlignHeaders(),this.dispatch("column-show",this,r),e||this.dispatchExternal("columnVisibilityChanged",this.getComponent(),!0),this.parent.isGroup&&this.parent.matchChildWidths(),this.silent||this.table.columnManager.rerenderColumns())}hide(e,r){this.visible&&(this.visible=!1,this.element.style.display="none",this.table.columnManager.verticalAlignHeaders(),this.parent.isGroup&&this.parent.checkColumnVisibility(),this.cells.forEach(function(S){S.hide()}),this.dispatch("column-hide",this,r),e||this.dispatchExternal("columnVisibilityChanged",this.getComponent(),!1),this.parent.isGroup&&this.parent.matchChildWidths(),this.silent||this.table.columnManager.rerenderColumns())}matchChildWidths(){var e=0;this.contentElement&&this.columns.length&&(this.columns.forEach(function(r){r.visible&&(e+=r.getWidth())}),this.contentElement.style.maxWidth=e-1+"px",this.parent.isGroup&&this.parent.matchChildWidths())}removeChild(e){var r=this.columns.indexOf(e);r>-1&&this.columns.splice(r,1),this.columns.length||this.delete()}setWidth(e){this.widthFixed=!0,this.setWidthActual(e)}setWidthActual(e){isNaN(e)&&(e=Math.floor(this.table.element.clientWidth/100*parseInt(e))),e=Math.max(this.minWidth,e),this.maxWidth&&(e=Math.min(this.maxWidth,e)),this.width=e,this.widthStyled=e?e+"px":"",this.element.style.width=this.widthStyled,this.isGroup||this.cells.forEach(function(r){r.setWidth()}),this.parent.isGroup&&this.parent.matchChildWidths(),this.dispatch("column-width",this)}checkCellHeights(){var e=[];this.cells.forEach(function(r){r.row.heightInitialized&&(r.row.getElement().offsetParent!==null?(e.push(r.row),r.row.clearCellHeight()):r.row.heightInitialized=!1)}),e.forEach(function(r){r.calcHeight()}),e.forEach(function(r){r.setCellHeight()})}getWidth(){var e=0;return this.isGroup?this.columns.forEach(function(r){r.visible&&(e+=r.getWidth())}):e=this.width,e}getLeftOffset(){var e=this.element.offsetLeft;return this.parent.isGroup&&(e+=this.parent.getLeftOffset()),e}getHeight(){return Math.ceil(this.element.getBoundingClientRect().height)}setMinWidth(e){this.maxWidth&&e>this.maxWidth&&(e=this.maxWidth,console.warn("the minWidth ("+e+"px) for column '"+this.field+"' cannot be bigger that its maxWidth ("+this.maxWidthStyled+")")),this.minWidth=e,this.minWidthStyled=e?e+"px":"",this.element.style.minWidth=this.minWidthStyled,this.cells.forEach(function(r){r.setMinWidth()})}setMaxWidth(e){this.minWidth&&e{this.isGroup&&this.columns.forEach(function(D){D.delete()}),this.dispatch("column-delete",this);var S=this.cells.length;for(let D=0;D-1?this._nextVisibleColumn(e+1):!1}_nextVisibleColumn(e){var r=this.table.columnManager.getColumnByIndex(e);return!r||r.visible?r:this._nextVisibleColumn(e+1)}prevColumn(){var e=this.table.columnManager.findColumnIndex(this);return e>-1?this._prevVisibleColumn(e-1):!1}_prevVisibleColumn(e){var r=this.table.columnManager.getColumnByIndex(e);return!r||r.visible?r:this._prevVisibleColumn(e-1)}reinitializeWidth(e){this.widthFixed=!1,typeof this.definition.width<"u"&&!e&&this.setWidth(this.definition.width),this.dispatch("column-width-fit-before",this),this.fitToData(e),this.dispatch("column-width-fit-after",this)}fitToData(e){if(!this.isGroup){this.widthFixed||(this.element.style.width="",this.cells.forEach(D=>{D.clearWidth()}));var r=this.element.offsetWidth;if((!this.width||!this.widthFixed)&&(this.cells.forEach(D=>{var T=D.getWidth();T>r&&(r=T)}),r)){var S=r+1;this.maxInitialWidth&&!e&&(S=Math.min(S,this.maxInitialWidth)),this.setWidthActual(S)}}}updateDefinition(e){var r;return this.isGroup||this.parent.isGroup?(console.error("Column Update Error - The updateDefinition function is only available on ungrouped columns"),Promise.reject("Column Update Error - The updateDefinition function is only available on columns, not column groups")):(r=Object.assign({},this.getDefinition()),r=Object.assign(r,e),this.table.columnManager.addColumn(r,!1,this).then(S=>(r.field==this.field&&(this.field=!1),this.delete().then(()=>S.getComponent()))))}deleteCell(e){var r=this.cells.indexOf(e);r>-1&&this.cells.splice(r,1)}getComponent(){return this.component||(this.component=new RM(this)),this.component}getPosition(){return this.table.columnManager.getVisibleColumnsByIndex().indexOf(this)+1}}vh.defaultOptionList=PM;class Wy{constructor(e){return this._row=e,new Proxy(this,{get:function(r,S,D){return typeof r[S]<"u"?r[S]:r._row.table.componentFunctionBinder.handle("row",r._row,S)}})}getData(e){return this._row.getData(e)}getElement(){return this._row.getElement()}getCells(){var e=[];return this._row.getCells().forEach(function(r){e.push(r.getComponent())}),e}getCell(e){var r=this._row.getCell(e);return r?r.getComponent():!1}getIndex(){return this._row.getData("data")[this._row.table.options.index]}getPosition(){return this._row.getPosition()}watchPosition(e){return this._row.watchPosition(e)}delete(){return this._row.delete()}scrollTo(e,r){return this._row.table.rowManager.scrollToRow(this._row,e,r)}move(e,r){this._row.moveToRow(e,r)}update(e){return this._row.updateData(e)}normalizeHeight(){this._row.normalizeHeight(!0)}_getSelf(){return this._row}reformat(){return this._row.reinitialize()}getTable(){return this._row.table}getNextRow(){var e=this._row.nextRow();return e&&e.getComponent()}getPrevRow(){var e=this._row.prevRow();return e&&e.getComponent()}}class vl extends Ml{constructor(e,r,S="row"){super(r.table),this.parent=r,this.data={},this.type=S,this.element=!1,this.modules={},this.cells=[],this.height=0,this.heightStyled="",this.manualHeight=!1,this.outerHeight=0,this.initialized=!1,this.heightInitialized=!1,this.position=0,this.positionWatchers=[],this.component=null,this.created=!1,this.setData(e)}create(){this.created||(this.created=!0,this.generateElement())}createElement(){var e=document.createElement("div");e.classList.add("tabulator-row"),e.setAttribute("role","row"),this.element=e}getElement(){return this.create(),this.element}detachElement(){this.element&&this.element.parentNode&&this.element.parentNode.removeChild(this.element)}generateElement(){this.createElement(),this.dispatch("row-init",this)}generateCells(){this.cells=this.table.columnManager.generateCells(this)}initialize(e,r){if(this.create(),!this.initialized||e){for(this.deleteCells();this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.dispatch("row-layout-before",this),this.generateCells(),this.initialized=!0,this.table.columnManager.renderer.renderRowCells(this,r),e&&this.normalizeHeight(),this.dispatch("row-layout",this),this.table.options.rowFormatter&&this.table.options.rowFormatter(this.getComponent()),this.dispatch("row-layout-after",this)}else this.table.columnManager.renderer.rerenderRowCells(this,r)}rendered(){this.cells.forEach(e=>{e.cellRendered()})}reinitializeHeight(){this.heightInitialized=!1,this.element&&this.element.offsetParent!==null&&this.normalizeHeight(!0)}deinitialize(){this.initialized=!1}deinitializeHeight(){this.heightInitialized=!1}reinitialize(e){this.initialized=!1,this.heightInitialized=!1,this.manualHeight||(this.height=0,this.heightStyled=""),this.element&&this.element.offsetParent!==null&&this.initialize(!0),this.dispatch("row-relayout",this)}calcHeight(e){var r=0,S;this.table.options.rowHeight?this.height=this.table.options.rowHeight:(S=this.table.options.resizableRows?this.element.clientHeight:0,this.cells.forEach(function(D){var T=D.getHeight();T>r&&(r=T)}),e?this.height=Math.max(r,S):this.height=this.manualHeight?this.height:Math.max(r,S)),this.heightStyled=this.height?this.height+"px":"",this.outerHeight=this.element.offsetHeight}setCellHeight(){this.cells.forEach(function(e){e.setHeight()}),this.heightInitialized=!0}clearCellHeight(){this.cells.forEach(function(e){e.clearHeight()})}normalizeHeight(e){e&&!this.table.options.rowHeight&&this.clearCellHeight(),this.calcHeight(e),this.setCellHeight()}setHeight(e,r){(this.height!=e||r)&&(this.manualHeight=!0,this.height=e,this.heightStyled=e?e+"px":"",this.setCellHeight(),this.outerHeight=this.element.offsetHeight)}getHeight(){return this.outerHeight}getWidth(){return this.element.offsetWidth}deleteCell(e){var r=this.cells.indexOf(e);r>-1&&this.cells.splice(r,1)}setData(e){this.data=this.chain("row-data-init-before",[this,e],void 0,e),this.dispatch("row-data-init-after",this)}updateData(e){var r=this.element&&so.elVisible(this.element),S={},D;return new Promise((T,p)=>{typeof e=="string"&&(e=JSON.parse(e)),this.dispatch("row-data-save-before",this),this.subscribed("row-data-changing")&&(S=Object.assign(S,this.data),S=Object.assign(S,e)),D=this.chain("row-data-changing",[this,S,e],null,e);for(let t in D)this.data[t]=D[t];this.dispatch("row-data-save-after",this);for(let t in e)this.table.columnManager.getColumnsByFieldRoot(t).forEach(g=>{let i=this.getCell(g.getField());if(i){let M=g.getFieldValue(D);i.getValue()!==M&&(i.setValueProcessData(M),r&&i.cellRendered())}});r?(this.normalizeHeight(!0),this.table.options.rowFormatter&&this.table.options.rowFormatter(this.getComponent())):(this.initialized=!1,this.height=0,this.heightStyled=""),this.dispatch("row-data-changed",this,r,e),this.dispatchExternal("rowUpdated",this.getComponent()),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.table.rowManager.getData()),T()})}getData(e){return e?this.chain("row-data-retrieve",[this,e],null,this.data):this.data}getCell(e){var r=!1;return e=this.table.columnManager.findColumn(e),!this.initialized&&this.cells.length===0&&this.generateCells(),r=this.cells.find(function(S){return S.column===e}),r}getCellIndex(e){return this.cells.findIndex(function(r){return r===e})}findCell(e){return this.cells.find(r=>r.element===e)}getCells(){return!this.initialized&&this.cells.length===0&&this.generateCells(),this.cells}nextRow(){var e=this.table.rowManager.nextDisplayRow(this,!0);return e||!1}prevRow(){var e=this.table.rowManager.prevDisplayRow(this,!0);return e||!1}moveToRow(e,r){var S=this.table.rowManager.findRow(e);S?(this.table.rowManager.moveRowActual(this,S,!r),this.table.rowManager.refreshActiveData("display",!1,!0)):console.warn("Move Error - No matching row found:",e)}delete(){return this.dispatch("row-delete",this),this.deleteActual(),Promise.resolve()}deleteActual(e){this.detachModules(),this.table.rowManager.deleteRow(this,e),this.deleteCells(),this.initialized=!1,this.heightInitialized=!1,this.element=!1,this.dispatch("row-deleted",this)}detachModules(){this.dispatch("row-deleting",this)}deleteCells(){var e=this.cells.length;for(let r=0;r{r(this.position)}))}watchPosition(e){this.positionWatchers.push(e),e(this.position)}getGroup(){return this.modules.group||!1}getComponent(){return this.component||(this.component=new Wy(this)),this.component}}var vR={avg:function(n,e,r){var S=0,D=typeof r.precision<"u"?r.precision:2;return n.length&&(S=n.reduce(function(T,p){return Number(T)+Number(p)}),S=S/n.length,S=D!==!1?S.toFixed(D):S),parseFloat(S).toString()},max:function(n,e,r){var S=null,D=typeof r.precision<"u"?r.precision:!1;return n.forEach(function(T){T=Number(T),(T>S||S===null)&&(S=T)}),S!==null?D!==!1?S.toFixed(D):S:""},min:function(n,e,r){var S=null,D=typeof r.precision<"u"?r.precision:!1;return n.forEach(function(T){T=Number(T),(T(n||D===0)&&n.indexOf(D)===T);return S.length}};class zf extends qi{constructor(e){super(e),this.topCalcs=[],this.botCalcs=[],this.genColumn=!1,this.topElement=this.createElement(),this.botElement=this.createElement(),this.topRow=!1,this.botRow=!1,this.topInitialized=!1,this.botInitialized=!1,this.blocked=!1,this.recalcAfterBlock=!1,this.registerTableOption("columnCalcs",!0),this.registerColumnOption("topCalc"),this.registerColumnOption("topCalcParams"),this.registerColumnOption("topCalcFormatter"),this.registerColumnOption("topCalcFormatterParams"),this.registerColumnOption("bottomCalc"),this.registerColumnOption("bottomCalcParams"),this.registerColumnOption("bottomCalcFormatter"),this.registerColumnOption("bottomCalcFormatterParams")}createElement(){var e=document.createElement("div");return e.classList.add("tabulator-calcs-holder"),e}initialize(){this.genColumn=new vh({field:"value"},this),this.subscribe("cell-value-changed",this.cellValueChanged.bind(this)),this.subscribe("column-init",this.initializeColumnCheck.bind(this)),this.subscribe("row-deleted",this.rowsUpdated.bind(this)),this.subscribe("scroll-horizontal",this.scrollHorizontal.bind(this)),this.subscribe("row-added",this.rowsUpdated.bind(this)),this.subscribe("column-moved",this.recalcActiveRows.bind(this)),this.subscribe("column-add",this.recalcActiveRows.bind(this)),this.subscribe("data-refreshed",this.recalcActiveRowsRefresh.bind(this)),this.subscribe("table-redraw",this.tableRedraw.bind(this)),this.subscribe("rows-visible",this.visibleRows.bind(this)),this.subscribe("scrollbar-vertical",this.adjustForScrollbar.bind(this)),this.subscribe("redraw-blocked",this.blockRedraw.bind(this)),this.subscribe("redraw-restored",this.restoreRedraw.bind(this)),this.subscribe("table-redrawing",this.resizeHolderWidth.bind(this)),this.subscribe("column-resized",this.resizeHolderWidth.bind(this)),this.subscribe("column-show",this.resizeHolderWidth.bind(this)),this.subscribe("column-hide",this.resizeHolderWidth.bind(this)),this.registerTableFunction("getCalcResults",this.getResults.bind(this)),this.registerTableFunction("recalc",this.userRecalc.bind(this)),this.resizeHolderWidth()}resizeHolderWidth(){this.topElement.style.minWidth=this.table.columnManager.headersElement.offsetWidth+"px"}tableRedraw(e){this.recalc(this.table.rowManager.activeRows),e&&this.redraw()}blockRedraw(){this.blocked=!0,this.recalcAfterBlock=!1}restoreRedraw(){this.blocked=!1,this.recalcAfterBlock&&(this.recalcAfterBlock=!1,this.recalcActiveRowsRefresh())}userRecalc(){this.recalc(this.table.rowManager.activeRows)}blockCheck(){return this.blocked&&(this.recalcAfterBlock=!0),this.blocked}visibleRows(e,r){return this.topRow&&r.unshift(this.topRow),this.botRow&&r.push(this.botRow),r}rowsUpdated(e){this.table.options.groupBy?this.recalcRowGroup(e):this.recalcActiveRows()}recalcActiveRowsRefresh(){this.table.options.groupBy&&this.table.options.dataTreeStartExpanded&&this.table.options.dataTree?this.recalcAll():this.recalcActiveRows()}recalcActiveRows(){this.recalc(this.table.rowManager.activeRows)}cellValueChanged(e){(e.column.definition.topCalc||e.column.definition.bottomCalc)&&(this.table.options.groupBy?((this.table.options.columnCalcs=="table"||this.table.options.columnCalcs=="both")&&this.recalcActiveRows(),this.table.options.columnCalcs!="table"&&this.recalcRowGroup(e.row)):this.recalcActiveRows())}initializeColumnCheck(e){(e.definition.topCalc||e.definition.bottomCalc)&&this.initializeColumn(e)}initializeColumn(e){var r=e.definition,S={topCalcParams:r.topCalcParams||{},botCalcParams:r.bottomCalcParams||{}};if(r.topCalc){switch(typeof r.topCalc){case"string":zf.calculations[r.topCalc]?S.topCalc=zf.calculations[r.topCalc]:console.warn("Column Calc Error - No such calculation found, ignoring: ",r.topCalc);break;case"function":S.topCalc=r.topCalc;break}S.topCalc&&(e.modules.columnCalcs=S,this.topCalcs.push(e),this.table.options.columnCalcs!="group"&&this.initializeTopRow())}if(r.bottomCalc){switch(typeof r.bottomCalc){case"string":zf.calculations[r.bottomCalc]?S.botCalc=zf.calculations[r.bottomCalc]:console.warn("Column Calc Error - No such calculation found, ignoring: ",r.bottomCalc);break;case"function":S.botCalc=r.bottomCalc;break}S.botCalc&&(e.modules.columnCalcs=S,this.botCalcs.push(e),this.table.options.columnCalcs!="group"&&this.initializeBottomRow())}}registerColumnField(){}removeCalcs(){var e=!1;this.topInitialized&&(this.topInitialized=!1,this.topElement.parentNode.removeChild(this.topElement),e=!0),this.botInitialized&&(this.botInitialized=!1,this.footerRemove(this.botElement),e=!0),e&&this.table.rowManager.adjustTableSize()}reinitializeCalcs(){this.topCalcs.length&&this.initializeTopRow(),this.botCalcs.length&&this.initializeBottomRow()}initializeTopRow(){var e=document.createDocumentFragment();this.topInitialized||(e.appendChild(document.createElement("br")),e.appendChild(this.topElement),this.table.columnManager.getContentsElement().insertBefore(e,this.table.columnManager.headersElement.nextSibling),this.topInitialized=!0)}initializeBottomRow(){this.botInitialized||(this.footerPrepend(this.botElement),this.botInitialized=!0)}scrollHorizontal(e){this.botInitialized&&this.botRow&&(this.botElement.scrollLeft=e)}recalc(e){var r,S;if(!this.blockCheck()&&(this.topInitialized||this.botInitialized)){if(r=this.rowsToData(e),this.topInitialized){for(this.topRow&&this.topRow.deleteCells(),S=this.generateRow("top",r),this.topRow=S;this.topElement.firstChild;)this.topElement.removeChild(this.topElement.firstChild);this.topElement.appendChild(S.getElement()),S.initialize(!0)}if(this.botInitialized){for(this.botRow&&this.botRow.deleteCells(),S=this.generateRow("bottom",r),this.botRow=S;this.botElement.firstChild;)this.botElement.removeChild(this.botElement.firstChild);this.botElement.appendChild(S.getElement()),S.initialize(!0)}this.table.rowManager.adjustTableSize(),this.table.modExists("frozenColumns")&&this.table.modules.frozenColumns.layout()}}recalcRowGroup(e){this.recalcGroup(this.table.modules.groupRows.getRowGroup(e))}recalcAll(){if((this.topCalcs.length||this.botCalcs.length)&&(this.table.options.columnCalcs!=="group"&&this.recalcActiveRows(),this.table.options.groupBy&&this.table.options.columnCalcs!=="table")){var e=this.table.modules.groupRows.getChildGroups();e.forEach(r=>{this.recalcGroup(r)})}}recalcGroup(e){var r,S;this.blockCheck()||e&&e.calcs&&(e.calcs.bottom&&(r=this.rowsToData(e.rows),S=this.generateRowData("bottom",r),e.calcs.bottom.updateData(S),e.calcs.bottom.reinitialize()),e.calcs.top&&(r=this.rowsToData(e.rows),S=this.generateRowData("top",r),e.calcs.top.updateData(S),e.calcs.top.reinitialize()))}generateTopRow(e){return this.generateRow("top",this.rowsToData(e))}generateBottomRow(e){return this.generateRow("bottom",this.rowsToData(e))}rowsToData(e){var r=[];return e.forEach(S=>{if(r.push(S.getData()),this.table.options.dataTree&&this.table.options.dataTreeChildColumnCalcs&&S.modules.dataTree&&S.modules.dataTree.open){var D=this.rowsToData(this.table.modules.dataTree.getFilteredTreeChildren(S));r=r.concat(D)}}),r}generateRow(e,r){var S=this.generateRowData(e,r),D;return this.table.modExists("mutator")&&this.table.modules.mutator.disable(),D=new vl(S,this,"calc"),this.table.modExists("mutator")&&this.table.modules.mutator.enable(),D.getElement().classList.add("tabulator-calcs","tabulator-calcs-"+e),D.component=!1,D.getComponent=()=>(D.component||(D.component=new gR(D)),D.component),D.generateCells=()=>{var T=[];this.table.columnManager.columnsByIndex.forEach(p=>{this.genColumn.setField(p.getField()),this.genColumn.hozAlign=p.hozAlign,p.definition[e+"CalcFormatter"]&&this.table.modExists("format")?this.genColumn.modules.format={formatter:this.table.modules.format.getFormatter(p.definition[e+"CalcFormatter"]),params:p.definition[e+"CalcFormatterParams"]||{}}:this.genColumn.modules.format={formatter:this.table.modules.format.getFormatter("plaintext"),params:{}},this.genColumn.definition.cssClass=p.definition.cssClass;var t=new eg(this.genColumn,D);t.getElement(),t.column=p,t.setWidth(),p.cells.push(t),T.push(t),p.visible||t.hide()}),D.cells=T},D}generateRowData(e,r){var S={},D=e=="top"?this.topCalcs:this.botCalcs,T=e=="top"?"topCalc":"botCalc",p,t;return D.forEach(function(d){var g=[];d.modules.columnCalcs&&d.modules.columnCalcs[T]&&(r.forEach(function(i){g.push(d.getFieldValue(i))}),t=T+"Params",p=typeof d.modules.columnCalcs[t]=="function"?d.modules.columnCalcs[t](g,r):d.modules.columnCalcs[t],d.setFieldValue(S,d.modules.columnCalcs[T](g,r,p)))}),S}hasTopCalcs(){return!!this.topCalcs.length}hasBottomCalcs(){return!!this.botCalcs.length}redraw(){this.topRow&&this.topRow.normalizeHeight(!0),this.botRow&&this.botRow.normalizeHeight(!0)}getResults(){var e={},r;return this.table.options.groupBy&&this.table.modExists("groupRows")?(r=this.table.modules.groupRows.getGroups(!0),r.forEach(S=>{e[S.getKey()]=this.getGroupResults(S)})):e={top:this.topRow?this.topRow.getData():{},bottom:this.botRow?this.botRow.getData():{}},e}getGroupResults(e){var r=e._getSelf(),S=e.getSubGroups(),D={},T={};return S.forEach(p=>{D[p.getKey()]=this.getGroupResults(p)}),T={top:r.calcs.top?r.calcs.top.getData():{},bottom:r.calcs.bottom?r.calcs.bottom.getData():{},groups:D},T}adjustForScrollbar(e){this.botRow&&(this.table.rtl?this.botElement.style.paddingLeft=e+"px":this.botElement.style.paddingRight=e+"px")}}zf.moduleName="columnCalcs";zf.calculations=vR;class OM extends qi{constructor(e){super(e),this.indent=10,this.field="",this.collapseEl=null,this.expandEl=null,this.branchEl=null,this.elementField=!1,this.startOpen=function(){},this.registerTableOption("dataTree",!1),this.registerTableOption("dataTreeFilter",!0),this.registerTableOption("dataTreeSort",!0),this.registerTableOption("dataTreeElementColumn",!1),this.registerTableOption("dataTreeBranchElement",!0),this.registerTableOption("dataTreeChildIndent",9),this.registerTableOption("dataTreeChildField","_children"),this.registerTableOption("dataTreeCollapseElement",!1),this.registerTableOption("dataTreeExpandElement",!1),this.registerTableOption("dataTreeStartExpanded",!1),this.registerTableOption("dataTreeChildColumnCalcs",!1),this.registerTableOption("dataTreeSelectPropagate",!1),this.registerComponentFunction("row","treeCollapse",this.collapseRow.bind(this)),this.registerComponentFunction("row","treeExpand",this.expandRow.bind(this)),this.registerComponentFunction("row","treeToggle",this.toggleRow.bind(this)),this.registerComponentFunction("row","getTreeParent",this.getTreeParent.bind(this)),this.registerComponentFunction("row","getTreeChildren",this.getRowChildren.bind(this)),this.registerComponentFunction("row","addTreeChild",this.addTreeChildRow.bind(this)),this.registerComponentFunction("row","isTreeExpanded",this.isRowExpanded.bind(this))}initialize(){if(this.table.options.dataTree){var e=null,r=this.table.options;switch(this.field=r.dataTreeChildField,this.indent=r.dataTreeChildIndent,this.options("movableRows")&&console.warn("The movableRows option is not available with dataTree enabled, moving of child rows could result in unpredictable behavior"),r.dataTreeBranchElement?r.dataTreeBranchElement===!0?(this.branchEl=document.createElement("div"),this.branchEl.classList.add("tabulator-data-tree-branch")):typeof r.dataTreeBranchElement=="string"?(e=document.createElement("div"),e.innerHTML=r.dataTreeBranchElement,this.branchEl=e.firstChild):this.branchEl=r.dataTreeBranchElement:(this.branchEl=document.createElement("div"),this.branchEl.classList.add("tabulator-data-tree-branch-empty")),r.dataTreeCollapseElement?typeof r.dataTreeCollapseElement=="string"?(e=document.createElement("div"),e.innerHTML=r.dataTreeCollapseElement,this.collapseEl=e.firstChild):this.collapseEl=r.dataTreeCollapseElement:(this.collapseEl=document.createElement("div"),this.collapseEl.classList.add("tabulator-data-tree-control"),this.collapseEl.tabIndex=0,this.collapseEl.innerHTML="
"),r.dataTreeExpandElement?typeof r.dataTreeExpandElement=="string"?(e=document.createElement("div"),e.innerHTML=r.dataTreeExpandElement,this.expandEl=e.firstChild):this.expandEl=r.dataTreeExpandElement:(this.expandEl=document.createElement("div"),this.expandEl.classList.add("tabulator-data-tree-control"),this.expandEl.tabIndex=0,this.expandEl.innerHTML="
"),typeof r.dataTreeStartExpanded){case"boolean":this.startOpen=function(S,D){return r.dataTreeStartExpanded};break;case"function":this.startOpen=r.dataTreeStartExpanded;break;default:this.startOpen=function(S,D){return r.dataTreeStartExpanded[D]};break}this.subscribe("row-init",this.initializeRow.bind(this)),this.subscribe("row-layout-after",this.layoutRow.bind(this)),this.subscribe("row-deleted",this.rowDelete.bind(this),0),this.subscribe("row-data-changed",this.rowDataChanged.bind(this),10),this.subscribe("cell-value-updated",this.cellValueChanged.bind(this)),this.subscribe("edit-cancelled",this.cellValueChanged.bind(this)),this.subscribe("column-moving-rows",this.columnMoving.bind(this)),this.subscribe("table-built",this.initializeElementField.bind(this)),this.subscribe("table-redrawing",this.tableRedrawing.bind(this)),this.registerDisplayHandler(this.getRows.bind(this),30)}}tableRedrawing(e){var r;e&&(r=this.table.rowManager.getRows(),r.forEach(S=>{this.reinitializeRowChildren(S)}))}initializeElementField(){var e=this.table.columnManager.getFirstVisibleColumn();this.elementField=this.table.options.dataTreeElementColumn||(e?e.field:!1)}getRowChildren(e){return this.getTreeChildren(e,!0)}columnMoving(){var e=[];return this.table.rowManager.rows.forEach(r=>{e=e.concat(this.getTreeChildren(r,!1,!0))}),e}rowDataChanged(e,r,S){this.redrawNeeded(S)&&(this.initializeRow(e),r&&(this.layoutRow(e),this.refreshData(!0)))}cellValueChanged(e){var r=e.column.getField();r===this.elementField&&this.layoutRow(e.row)}initializeRow(e){var r=e.getData()[this.field],S=Array.isArray(r),D=S||!S&&typeof r=="object"&&r!==null;!D&&e.modules.dataTree&&e.modules.dataTree.branchEl&&e.modules.dataTree.branchEl.parentNode.removeChild(e.modules.dataTree.branchEl),!D&&e.modules.dataTree&&e.modules.dataTree.controlEl&&e.modules.dataTree.controlEl.parentNode.removeChild(e.modules.dataTree.controlEl),e.modules.dataTree={index:e.modules.dataTree?e.modules.dataTree.index:0,open:D?e.modules.dataTree?e.modules.dataTree.open:this.startOpen(e.getComponent(),0):!1,controlEl:e.modules.dataTree&&D?e.modules.dataTree.controlEl:!1,branchEl:e.modules.dataTree&&D?e.modules.dataTree.branchEl:!1,parent:e.modules.dataTree?e.modules.dataTree.parent:!1,children:D}}reinitializeRowChildren(e){var r=this.getTreeChildren(e,!1,!0);r.forEach(function(S){S.reinitialize(!0)})}layoutRow(e){var r=this.elementField?e.getCell(this.elementField):e.getCells()[0],S=r.getElement(),D=e.modules.dataTree;D.branchEl&&(D.branchEl.parentNode&&D.branchEl.parentNode.removeChild(D.branchEl),D.branchEl=!1),D.controlEl&&(D.controlEl.parentNode&&D.controlEl.parentNode.removeChild(D.controlEl),D.controlEl=!1),this.generateControlElement(e,S),e.getElement().classList.add("tabulator-tree-level-"+D.index),D.index&&(this.branchEl?(D.branchEl=this.branchEl.cloneNode(!0),S.insertBefore(D.branchEl,S.firstChild),this.table.rtl?D.branchEl.style.marginRight=(D.branchEl.offsetWidth+D.branchEl.style.marginLeft)*(D.index-1)+D.index*this.indent+"px":D.branchEl.style.marginLeft=(D.branchEl.offsetWidth+D.branchEl.style.marginRight)*(D.index-1)+D.index*this.indent+"px"):this.table.rtl?S.style.paddingRight=parseInt(window.getComputedStyle(S,null).getPropertyValue("padding-right"))+D.index*this.indent+"px":S.style.paddingLeft=parseInt(window.getComputedStyle(S,null).getPropertyValue("padding-left"))+D.index*this.indent+"px")}generateControlElement(e,r){var S=e.modules.dataTree,D=S.controlEl;r=r||e.getCells()[0].getElement(),S.children!==!1&&(S.open?(S.controlEl=this.collapseEl.cloneNode(!0),S.controlEl.addEventListener("click",T=>{T.stopPropagation(),this.collapseRow(e)})):(S.controlEl=this.expandEl.cloneNode(!0),S.controlEl.addEventListener("click",T=>{T.stopPropagation(),this.expandRow(e)})),S.controlEl.addEventListener("mousedown",T=>{T.stopPropagation()}),D&&D.parentNode===r?D.parentNode.replaceChild(S.controlEl,D):r.insertBefore(S.controlEl,r.firstChild))}getRows(e){var r=[];return e.forEach((S,D)=>{var T,p;r.push(S),S instanceof vl&&(S.create(),T=S.modules.dataTree,!T.index&&T.children!==!1&&(p=this.getChildren(S),p.forEach(t=>{t.create(),r.push(t)})))}),r}getChildren(e,r){var S=e.modules.dataTree,D=[],T=[];return S.children!==!1&&(S.open||r)&&(Array.isArray(S.children)||(S.children=this.generateChildren(e)),this.table.modExists("filter")&&this.table.options.dataTreeFilter?D=this.table.modules.filter.filter(S.children):D=S.children,this.table.modExists("sort")&&this.table.options.dataTreeSort&&this.table.modules.sort.sort(D),D.forEach(p=>{T.push(p);var t=this.getChildren(p);t.forEach(d=>{T.push(d)})})),T}generateChildren(e){var r=[],S=e.getData()[this.field];return Array.isArray(S)||(S=[S]),S.forEach(D=>{var T=new vl(D||{},this.table.rowManager);T.create(),T.modules.dataTree.index=e.modules.dataTree.index+1,T.modules.dataTree.parent=e,T.modules.dataTree.children&&(T.modules.dataTree.open=this.startOpen(T.getComponent(),T.modules.dataTree.index)),r.push(T)}),r}expandRow(e,r){var S=e.modules.dataTree;S.children!==!1&&(S.open=!0,e.reinitialize(),this.refreshData(!0),this.dispatchExternal("dataTreeRowExpanded",e.getComponent(),e.modules.dataTree.index))}collapseRow(e){var r=e.modules.dataTree;r.children!==!1&&(r.open=!1,e.reinitialize(),this.refreshData(!0),this.dispatchExternal("dataTreeRowCollapsed",e.getComponent(),e.modules.dataTree.index))}toggleRow(e){var r=e.modules.dataTree;r.children!==!1&&(r.open?this.collapseRow(e):this.expandRow(e))}isRowExpanded(e){return e.modules.dataTree.open}getTreeParent(e){return e.modules.dataTree.parent?e.modules.dataTree.parent.getComponent():!1}getTreeParentRoot(e){return e.modules.dataTree&&e.modules.dataTree.parent?this.getTreeParentRoot(e.modules.dataTree.parent):e}getFilteredTreeChildren(e){var r=e.modules.dataTree,S=[],D;return r.children&&(Array.isArray(r.children)||(r.children=this.generateChildren(e)),this.table.modExists("filter")&&this.table.options.dataTreeFilter?D=this.table.modules.filter.filter(r.children):D=r.children,D.forEach(T=>{T instanceof vl&&S.push(T)})),S}rowDelete(e){var r=e.modules.dataTree.parent,S;r&&(S=this.findChildIndex(e,r),S!==!1&&r.data[this.field].splice(S,1),r.data[this.field].length||delete r.data[this.field],this.initializeRow(r),this.layoutRow(r)),this.refreshData(!0)}addTreeChildRow(e,r,S,D){var T=!1;typeof r=="string"&&(r=JSON.parse(r)),Array.isArray(e.data[this.field])||(e.data[this.field]=[],e.modules.dataTree.open=this.startOpen(e.getComponent(),e.modules.dataTree.index)),typeof D<"u"&&(T=this.findChildIndex(D,e),T!==!1&&e.data[this.field].splice(S?T:T+1,0,r)),T===!1&&(S?e.data[this.field].unshift(r):e.data[this.field].push(r)),this.initializeRow(e),this.layoutRow(e),this.refreshData(!0)}findChildIndex(e,r){var S=!1;return typeof e=="object"?e instanceof vl?S=e.data:e instanceof Wy?S=e._getSelf().data:typeof HTMLElement<"u"&&e instanceof HTMLElement?r.modules.dataTree&&(S=r.modules.dataTree.children.find(D=>D instanceof vl?D.element===e:!1),S&&(S=S.data)):e===null&&(S=!1):typeof e>"u"?S=!1:S=r.data[this.field].find(D=>D.data[this.table.options.index]==e),S&&(Array.isArray(r.data[this.field])&&(S=r.data[this.field].indexOf(S)),S==-1&&(S=!1)),S}getTreeChildren(e,r,S){var D=e.modules.dataTree,T=[];return D&&D.children&&(Array.isArray(D.children)||(D.children=this.generateChildren(e)),D.children.forEach(p=>{p instanceof vl&&(T.push(r?p.getComponent():p),S&&(T=T.concat(this.getTreeChildren(p,r,S))))})),T}getChildField(){return this.field}redrawNeeded(e){return(this.field?typeof e[this.field]<"u":!1)||(this.elementField?typeof e[this.elementField]<"u":!1)}}OM.moduleName="dataTree";function yR(n,e={},r){var S=e.delimiter?e.delimiter:",",D=[],T=[];n.forEach(p=>{var t=[];switch(p.type){case"group":console.warn("Download Warning - CSV downloader cannot process row groups");break;case"calc":console.warn("Download Warning - CSV downloader cannot process column calculations");break;case"header":p.columns.forEach((d,g)=>{d&&d.depth===1&&(T[g]=typeof d.value>"u"||d.value===null?"":'"'+String(d.value).split('"').join('""')+'"')});break;case"row":p.columns.forEach(d=>{if(d){switch(typeof d.value){case"object":d.value=d.value!==null?JSON.stringify(d.value):"";break;case"undefined":d.value="";break}t.push('"'+String(d.value).split('"').join('""')+'"')}}),D.push(t.join(S));break}}),T.length&&D.unshift(T.join(S)),D=D.join(` +`),e.bom&&(D="\uFEFF"+D),r(D,"text/csv")}function bR(n,e,r){var S=[];n.forEach(D=>{var T={};switch(D.type){case"header":break;case"group":console.warn("Download Warning - JSON downloader cannot process row groups");break;case"calc":console.warn("Download Warning - JSON downloader cannot process column calculations");break;case"row":D.columns.forEach(p=>{p&&(T[p.component.getTitleDownload()||p.component.getField()]=p.value)}),S.push(T);break}}),S=JSON.stringify(S,null," "),r(S,"application/json")}function xR(n,e={},r){var S=[],D=[],T={},p=e.rowGroupStyles||{fontStyle:"bold",fontSize:12,cellPadding:6,fillColor:220},t=e.rowCalcStyles||{fontStyle:"bold",fontSize:10,cellPadding:4,fillColor:232},d=e.jsPDF||{},g=e.title?e.title:"";d.orientation||(d.orientation=e.orientation||"landscape"),d.unit||(d.unit="pt"),n.forEach(v=>{switch(v.type){case"header":S.push(i(v));break;case"group":D.push(i(v,p));break;case"calc":D.push(i(v,t));break;case"row":D.push(i(v));break}});function i(v,f){var l=[];return v.columns.forEach(a=>{var u;if(a){switch(typeof a.value){case"object":a.value=a.value!==null?JSON.stringify(a.value):"";break;case"undefined":a.value="";break}u={content:a.value,colSpan:a.width,rowSpan:a.height},f&&(u.styles=f),l.push(u)}}),l}var M=new jspdf.jsPDF(d);e.autoTable&&(typeof e.autoTable=="function"?T=e.autoTable(M)||{}:T=e.autoTable),g&&(T.didDrawPage=function(v){M.text(g,40,30)}),T.head=S,T.body=D,M.autoTable(T),e.documentProcessing&&e.documentProcessing(M),r(M.output("arraybuffer"),"application/pdf")}function _R(n,e,r){var S=this,D=e.sheetName||"Sheet1",T=XLSX.utils.book_new(),p=new Ml(this),t="compress"in e?e.compress:!0,d=e.writeOptions||{bookType:"xlsx",bookSST:!0,compression:t},g;d.type="binary",T.SheetNames=[],T.Sheets={};function i(){var f=[],l=[],a={},u={s:{c:0,r:0},e:{c:n[0]?n[0].columns.reduce((o,s)=>o+(s&&s.width?s.width:1),0):0,r:n.length}};return n.forEach((o,s)=>{var h=[];o.columns.forEach(function(c,m){c?(h.push(!(c.value instanceof Date)&&typeof c.value=="object"?JSON.stringify(c.value):c.value),(c.width>1||c.height>-1)&&(c.height>1||c.width>1)&&l.push({s:{r:s,c:m},e:{r:s+c.height-1,c:m+c.width-1}})):h.push("")}),f.push(h)}),XLSX.utils.sheet_add_aoa(a,f),a["!ref"]=XLSX.utils.encode_range(u),l.length&&(a["!merges"]=l),a}if(e.sheetOnly){r(i());return}if(e.sheets)for(var M in e.sheets)e.sheets[M]===!0?(T.SheetNames.push(M),T.Sheets[M]=i()):(T.SheetNames.push(M),p.commsSend(e.sheets[M],"download","intercept",{type:"xlsx",options:{sheetOnly:!0},active:S.active,intercept:function(f){T.Sheets[M]=f}}));else T.SheetNames.push(D),T.Sheets[D]=i();e.documentProcessing&&(T=e.documentProcessing(T));function v(f){for(var l=new ArrayBuffer(f.length),a=new Uint8Array(l),u=0;u!=f.length;++u)a[u]=f.charCodeAt(u)&255;return l}g=XLSX.write(T,d),r(v(g),"application/octet-stream")}function wR(n,e,r){this.modExists("export",!0)&&r(this.modules.export.generateHTMLTable(n),"text/html")}function TR(n,e,r){const S=[];n.forEach(D=>{const T={};switch(D.type){case"header":break;case"group":console.warn("Download Warning - JSON downloader cannot process row groups");break;case"calc":console.warn("Download Warning - JSON downloader cannot process column calculations");break;case"row":D.columns.forEach(p=>{p&&(T[p.component.getTitleDownload()||p.component.getField()]=p.value)}),S.push(JSON.stringify(T));break}}),r(S.join(` +`),"application/x-ndjson")}var kR={csv:yR,json:bR,jsonLines:TR,pdf:xR,xlsx:_R,html:wR};class a0 extends qi{constructor(e){super(e),this.registerTableOption("downloadEncoder",function(r,S){return new Blob([r],{type:S})}),this.registerTableOption("downloadReady",void 0),this.registerTableOption("downloadConfig",{}),this.registerTableOption("downloadRowRange","active"),this.registerColumnOption("download"),this.registerColumnOption("titleDownload")}initialize(){this.deprecatedOptionsCheck(),this.registerTableFunction("download",this.download.bind(this)),this.registerTableFunction("downloadToTab",this.downloadToTab.bind(this))}deprecatedOptionsCheck(){this.deprecationCheck("downloadReady","downloadEncoder")}downloadToTab(e,r,S,D){this.download(e,r,S,D,!0)}download(e,r,S,D,T){var p=!1;function t(g,i){T?T===!0?this.triggerDownload(g,i,e,r,!0):T(g):this.triggerDownload(g,i,e,r)}if(typeof e=="function"?p=e:a0.downloaders[e]?p=a0.downloaders[e]:console.warn("Download Error - No such download type found: ",e),p){var d=this.generateExportList(D);p.call(this.table,d,S||{},t.bind(this))}}generateExportList(e){var r=this.table.modules.export.generateExportList(this.table.options.downloadConfig,!1,e||this.table.options.downloadRowRange,"download"),S=this.table.options.groupHeaderDownload;return S&&!Array.isArray(S)&&(S=[S]),r.forEach(D=>{var T;D.type==="group"&&(T=D.columns[0],S&&S[D.indent]&&(T.value=S[D.indent](T.value,D.component._group.getRowCount(),D.component._group.getData(),D.component)))}),r}triggerDownload(e,r,S,D,T){var p=document.createElement("a"),t=this.table.options.downloadEncoder(e,r);t&&(T?window.open(window.URL.createObjectURL(t)):(D=D||"Tabulator."+(typeof S=="function"?"txt":S),navigator.msSaveOrOpenBlob?navigator.msSaveOrOpenBlob(t,D):(p.setAttribute("href",window.URL.createObjectURL(t)),p.setAttribute("download",D),p.style.display="none",document.body.appendChild(p),p.click(),document.body.removeChild(p))),this.dispatchExternal("downloadComplete"))}commsReceived(e,r,S){switch(r){case"intercept":this.download(S.type,"",S.options,S.active,S.intercept);break}}}a0.moduleName="download";a0.downloaders=kR;function Yy(n,e){var r=e.mask,S=typeof e.maskLetterChar<"u"?e.maskLetterChar:"A",D=typeof e.maskNumberChar<"u"?e.maskNumberChar:"9",T=typeof e.maskWildcardChar<"u"?e.maskWildcardChar:"*";function p(t){var d=r[t];typeof d<"u"&&d!==T&&d!==S&&d!==D&&(n.value=n.value+""+d,p(t+1))}n.addEventListener("keydown",t=>{var d=n.value.length,g=t.key;if(t.keyCode>46&&!t.ctrlKey&&!t.metaKey){if(d>=r.length)return t.preventDefault(),t.stopPropagation(),!1;switch(r[d]){case S:if(g.toUpperCase()==g.toLowerCase())return t.preventDefault(),t.stopPropagation(),!1;break;case D:if(isNaN(g))return t.preventDefault(),t.stopPropagation(),!1;break;case T:break;default:if(g!==r[d])return t.preventDefault(),t.stopPropagation(),!1}}}),n.addEventListener("keyup",t=>{t.keyCode>46&&e.maskAutoFill&&p(n.value.length)}),n.placeholder||(n.placeholder=r),e.maskAutoFill&&p(n.value.length)}function MR(n,e,r,S,D){var T=n.getValue(),p=document.createElement("input");if(p.setAttribute("type",D.search?"search":"text"),p.style.padding="4px",p.style.width="100%",p.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let d in D.elementAttributes)d.charAt(0)=="+"?(d=d.slice(1),p.setAttribute(d,p.getAttribute(d)+D.elementAttributes["+"+d])):p.setAttribute(d,D.elementAttributes[d]);p.value=typeof T<"u"?T:"",e(function(){n.getType()==="cell"&&(p.focus({preventScroll:!0}),p.style.height="100%",D.selectContents&&p.select())});function t(d){(T===null||typeof T>"u")&&p.value!==""||p.value!==T?r(p.value)&&(T=p.value):S()}return p.addEventListener("change",t),p.addEventListener("blur",t),p.addEventListener("keydown",function(d){switch(d.keyCode){case 13:t();break;case 27:S();break;case 35:case 36:d.stopPropagation();break}}),D.mask&&Yy(p,D),p}function AR(n,e,r,S,D){var T=n.getValue(),p=D.verticalNavigation||"hybrid",t=String(T!==null&&typeof T<"u"?T:""),d=document.createElement("textarea"),g=0;if(d.style.display="block",d.style.padding="2px",d.style.height="100%",d.style.width="100%",d.style.boxSizing="border-box",d.style.whiteSpace="pre-wrap",d.style.resize="none",D.elementAttributes&&typeof D.elementAttributes=="object")for(let M in D.elementAttributes)M.charAt(0)=="+"?(M=M.slice(1),d.setAttribute(M,d.getAttribute(M)+D.elementAttributes["+"+M])):d.setAttribute(M,D.elementAttributes[M]);d.value=t,e(function(){n.getType()==="cell"&&(d.focus({preventScroll:!0}),d.style.height="100%",d.scrollHeight,d.style.height=d.scrollHeight+"px",n.getRow().normalizeHeight(),D.selectContents&&d.select())});function i(M){(T===null||typeof T>"u")&&d.value!==""||d.value!==T?(r(d.value)&&(T=d.value),setTimeout(function(){n.getRow().normalizeHeight()},300)):S()}return d.addEventListener("change",i),d.addEventListener("blur",i),d.addEventListener("keyup",function(){d.style.height="";var M=d.scrollHeight;d.style.height=M+"px",M!=g&&(g=M,n.getRow().normalizeHeight())}),d.addEventListener("keydown",function(M){switch(M.keyCode){case 13:M.shiftKey&&D.shiftEnterSubmit&&i();break;case 27:S();break;case 38:(p=="editor"||p=="hybrid"&&d.selectionStart)&&(M.stopImmediatePropagation(),M.stopPropagation());break;case 40:(p=="editor"||p=="hybrid"&&d.selectionStart!==d.value.length)&&(M.stopImmediatePropagation(),M.stopPropagation());break;case 35:case 36:M.stopPropagation();break}}),D.mask&&Yy(d,D),d}function SR(n,e,r,S,D){var T=n.getValue(),p=D.verticalNavigation||"editor",t=document.createElement("input");if(t.setAttribute("type","number"),typeof D.max<"u"&&t.setAttribute("max",D.max),typeof D.min<"u"&&t.setAttribute("min",D.min),typeof D.step<"u"&&t.setAttribute("step",D.step),t.style.padding="4px",t.style.width="100%",t.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let i in D.elementAttributes)i.charAt(0)=="+"?(i=i.slice(1),t.setAttribute(i,t.getAttribute(i)+D.elementAttributes["+"+i])):t.setAttribute(i,D.elementAttributes[i]);t.value=T;var d=function(i){g()};e(function(){n.getType()==="cell"&&(t.removeEventListener("blur",d),t.focus({preventScroll:!0}),t.style.height="100%",t.addEventListener("blur",d),D.selectContents&&t.select())});function g(){var i=t.value;!isNaN(i)&&i!==""&&(i=Number(i)),i!==T?r(i)&&(T=i):S()}return t.addEventListener("keydown",function(i){switch(i.keyCode){case 13:g();break;case 27:S();break;case 38:case 40:p=="editor"&&(i.stopImmediatePropagation(),i.stopPropagation());break;case 35:case 36:i.stopPropagation();break}}),D.mask&&Yy(t,D),t}function CR(n,e,r,S,D){var T=n.getValue(),p=document.createElement("input");if(p.setAttribute("type","range"),typeof D.max<"u"&&p.setAttribute("max",D.max),typeof D.min<"u"&&p.setAttribute("min",D.min),typeof D.step<"u"&&p.setAttribute("step",D.step),p.style.padding="4px",p.style.width="100%",p.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let d in D.elementAttributes)d.charAt(0)=="+"?(d=d.slice(1),p.setAttribute(d,p.getAttribute(d)+D.elementAttributes["+"+d])):p.setAttribute(d,D.elementAttributes[d]);p.value=T,e(function(){n.getType()==="cell"&&(p.focus({preventScroll:!0}),p.style.height="100%")});function t(){var d=p.value;!isNaN(d)&&d!==""&&(d=Number(d)),d!=T?r(d)&&(T=d):S()}return p.addEventListener("blur",function(d){t()}),p.addEventListener("keydown",function(d){switch(d.keyCode){case 13:t();break;case 27:S();break}}),p}function ER(n,e,r,S,D){var T=D.format,p=D.verticalNavigation||"editor",t=T?window.DateTime||luxon.DateTime:null,d=n.getValue(),g=document.createElement("input");function i(v){var f;return t.isDateTime(v)?f=v:T==="iso"?f=t.fromISO(String(v)):f=t.fromFormat(String(v),T),f.toFormat("yyyy-MM-dd")}if(g.type="date",g.style.padding="4px",g.style.width="100%",g.style.boxSizing="border-box",D.max&&g.setAttribute("max",T?i(D.max):D.max),D.min&&g.setAttribute("min",T?i(D.min):D.min),D.elementAttributes&&typeof D.elementAttributes=="object")for(let v in D.elementAttributes)v.charAt(0)=="+"?(v=v.slice(1),g.setAttribute(v,g.getAttribute(v)+D.elementAttributes["+"+v])):g.setAttribute(v,D.elementAttributes[v]);d=typeof d<"u"?d:"",T&&(t?d=i(d):console.error("Editor Error - 'date' editor 'format' param is dependant on luxon.js")),g.value=d,e(function(){n.getType()==="cell"&&(g.focus({preventScroll:!0}),g.style.height="100%",D.selectContents&&g.select())});function M(){var v=g.value,f;if((d===null||typeof d>"u")&&v!==""||v!==d){if(v&&T)switch(f=t.fromFormat(String(v),"yyyy-MM-dd"),T){case!0:v=f;break;case"iso":v=f.toISO();break;default:v=f.toFormat(T)}r(v)&&(d=g.value)}else S()}return g.addEventListener("blur",function(v){(v.relatedTarget||v.rangeParent||v.explicitOriginalTarget!==g)&&M()}),g.addEventListener("keydown",function(v){switch(v.keyCode){case 13:M();break;case 27:S();break;case 35:case 36:v.stopPropagation();break;case 38:case 40:p=="editor"&&(v.stopImmediatePropagation(),v.stopPropagation());break}}),g}function LR(n,e,r,S,D){var T=D.format,p=D.verticalNavigation||"editor",t=T?window.DateTime||luxon.DateTime:null,d,g=n.getValue(),i=document.createElement("input");if(i.type="time",i.style.padding="4px",i.style.width="100%",i.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let v in D.elementAttributes)v.charAt(0)=="+"?(v=v.slice(1),i.setAttribute(v,i.getAttribute(v)+D.elementAttributes["+"+v])):i.setAttribute(v,D.elementAttributes[v]);g=typeof g<"u"?g:"",T&&(t?(t.isDateTime(g)?d=g:T==="iso"?d=t.fromISO(String(g)):d=t.fromFormat(String(g),T),g=d.toFormat("HH:mm")):console.error("Editor Error - 'date' editor 'format' param is dependant on luxon.js")),console.log("val",g),i.value=g,e(function(){n.getType()=="cell"&&(i.focus({preventScroll:!0}),i.style.height="100%",D.selectContents&&i.select())});function M(){var v=i.value,f;if((g===null||typeof g>"u")&&v!==""||v!==g){if(v&&T)switch(f=t.fromFormat(String(v),"hh:mm"),T){case!0:v=f;break;case"iso":v=f.toISO();break;default:v=f.toFormat(T)}r(v)&&(g=i.value)}else S()}return i.addEventListener("blur",function(v){(v.relatedTarget||v.rangeParent||v.explicitOriginalTarget!==i)&&M()}),i.addEventListener("keydown",function(v){switch(v.keyCode){case 13:M();break;case 27:S();break;case 35:case 36:v.stopPropagation();break;case 38:case 40:p=="editor"&&(v.stopImmediatePropagation(),v.stopPropagation());break}}),i}function IR(n,e,r,S,D){var T=D.format,p=D.verticalNavigation||"editor",t=T?window.DateTime||luxon.DateTime:null,d,g=n.getValue(),i=document.createElement("input");if(i.type="datetime-local",i.style.padding="4px",i.style.width="100%",i.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let v in D.elementAttributes)v.charAt(0)=="+"?(v=v.slice(1),i.setAttribute(v,i.getAttribute(v)+D.elementAttributes["+"+v])):i.setAttribute(v,D.elementAttributes[v]);g=typeof g<"u"?g:"",T&&(t?(t.isDateTime(g)?d=g:T==="iso"?d=t.fromISO(String(g)):d=t.fromFormat(String(g),T),g=d.toFormat("yyyy-MM-dd")+"T"+d.toFormat("HH:mm")):console.error("Editor Error - 'date' editor 'format' param is dependant on luxon.js")),i.value=g,e(function(){n.getType()==="cell"&&(i.focus({preventScroll:!0}),i.style.height="100%",D.selectContents&&i.select())});function M(){var v=i.value,f;if((g===null||typeof g>"u")&&v!==""||v!==g){if(v&&T)switch(f=t.fromISO(String(v)),T){case!0:v=f;break;case"iso":v=f.toISO();break;default:v=f.toFormat(T)}r(v)&&(g=i.value)}else S()}return i.addEventListener("blur",function(v){(v.relatedTarget||v.rangeParent||v.explicitOriginalTarget!==i)&&M()}),i.addEventListener("keydown",function(v){switch(v.keyCode){case 13:M();break;case 27:S();break;case 35:case 36:v.stopPropagation();break;case 38:case 40:p=="editor"&&(v.stopImmediatePropagation(),v.stopPropagation());break}}),i}class G2{constructor(e,r,S,D,T,p){this.edit=e,this.table=e.table,this.cell=r,this.params=this._initializeParams(p),this.data=[],this.displayItems=[],this.currentItems=[],this.focusedItem=null,this.input=this._createInputElement(),this.listEl=this._createListElement(),this.initialValues=null,this.isFilter=r.getType()==="header",this.filterTimeout=null,this.filtered=!1,this.typing=!1,this.values=[],this.popup=null,this.listIteration=0,this.lastAction="",this.filterTerm="",this.blurable=!0,this.actions={success:D,cancel:T},this._deprecatedOptionsCheck(),this._initializeValue(),S(this._onRendered.bind(this))}_deprecatedOptionsCheck(){this.params.listItemFormatter&&this.cell.getTable().deprecationAdvisor.msg("The listItemFormatter editor param has been deprecated, please see the latest editor documentation for updated options"),this.params.sortValuesList&&this.cell.getTable().deprecationAdvisor.msg("The sortValuesList editor param has been deprecated, please see the latest editor documentation for updated options"),this.params.searchFunc&&this.cell.getTable().deprecationAdvisor.msg("The searchFunc editor param has been deprecated, please see the latest editor documentation for updated options"),this.params.searchingPlaceholder&&this.cell.getTable().deprecationAdvisor.msg("The searchingPlaceholder editor param has been deprecated, please see the latest editor documentation for updated options")}_initializeValue(){var e=this.cell.getValue();typeof e>"u"&&typeof this.params.defaultValue<"u"&&(e=this.params.defaultValue),this.initialValues=this.params.multiselect?e:[e],this.isFilter&&(this.input.value=this.initialValues?this.initialValues.join(","):"",this.headerFilterInitialListGen())}_onRendered(){var e=this.cell.getElement();function r(S){S.stopPropagation()}this.isFilter||(this.input.style.height="100%",this.input.focus({preventScroll:!0})),e.addEventListener("click",r),setTimeout(()=>{e.removeEventListener("click",r)},1e3),this.input.addEventListener("mousedown",this._preventPopupBlur.bind(this))}_createListElement(){var e=document.createElement("div");return e.classList.add("tabulator-edit-list"),e.addEventListener("mousedown",this._preventBlur.bind(this)),e.addEventListener("keydown",this._inputKeyDown.bind(this)),e}_setListWidth(){var e=this.isFilter?this.input:this.cell.getElement();this.listEl.style.minWidth=e.offsetWidth+"px",this.params.maxWidth&&(this.params.maxWidth===!0?this.listEl.style.maxWidth=e.offsetWidth+"px":typeof this.params.maxWidth=="number"?this.listEl.style.maxWidth=this.params.maxWidth+"px":this.listEl.style.maxWidth=this.params.maxWidth)}_createInputElement(){var e=this.params.elementAttributes,r=document.createElement("input");if(r.setAttribute("type",this.params.clearable?"search":"text"),r.style.padding="4px",r.style.width="100%",r.style.boxSizing="border-box",this.params.autocomplete||(r.style.cursor="default",r.style.caretColor="transparent"),e&&typeof e=="object")for(let S in e)S.charAt(0)=="+"?(S=S.slice(1),r.setAttribute(S,r.getAttribute(S)+e["+"+S])):r.setAttribute(S,e[S]);return this.params.mask&&Yy(r,this.params),this._bindInputEvents(r),r}_initializeParams(e){var r=["values","valuesURL","valuesLookup"],S;return e=Object.assign({},e),e.verticalNavigation=e.verticalNavigation||"editor",e.placeholderLoading=typeof e.placeholderLoading>"u"?"Searching ...":e.placeholderLoading,e.placeholderEmpty=typeof e.placeholderEmpty>"u"?"No Results Found":e.placeholderEmpty,e.filterDelay=typeof e.filterDelay>"u"?300:e.filterDelay,e.emptyValue=Object.keys(e).includes("emptyValue")?e.emptyValue:"",S=Object.keys(e).filter(D=>r.includes(D)).length,S?S>1&&console.warn("list editor config error - only one of the values, valuesURL, or valuesLookup options can be set on the same editor"):console.warn("list editor config error - either the values, valuesURL, or valuesLookup option must be set"),e.autocomplete?e.multiselect&&(e.multiselect=!1,console.warn("list editor config error - multiselect option is not available when autocomplete is enabled")):(e.freetext&&(e.freetext=!1,console.warn("list editor config error - freetext option is only available when autocomplete is enabled")),e.filterFunc&&(e.filterFunc=!1,console.warn("list editor config error - filterFunc option is only available when autocomplete is enabled")),e.filterRemote&&(e.filterRemote=!1,console.warn("list editor config error - filterRemote option is only available when autocomplete is enabled")),e.mask&&(e.mask=!1,console.warn("list editor config error - mask option is only available when autocomplete is enabled")),e.allowEmpty&&(e.allowEmpty=!1,console.warn("list editor config error - allowEmpty option is only available when autocomplete is enabled")),e.listOnEmpty&&(e.listOnEmpty=!1,console.warn("list editor config error - listOnEmpty option is only available when autocomplete is enabled"))),e.filterRemote&&!(typeof e.valuesLookup=="function"||e.valuesURL)&&(e.filterRemote=!1,console.warn("list editor config error - filterRemote option should only be used when values list is populated from a remote source")),e}_bindInputEvents(e){e.addEventListener("focus",this._inputFocus.bind(this)),e.addEventListener("click",this._inputClick.bind(this)),e.addEventListener("blur",this._inputBlur.bind(this)),e.addEventListener("keydown",this._inputKeyDown.bind(this)),e.addEventListener("search",this._inputSearch.bind(this)),this.params.autocomplete&&e.addEventListener("keyup",this._inputKeyUp.bind(this))}_inputFocus(e){this.rebuildOptionsList()}_filter(){this.params.filterRemote?(clearTimeout(this.filterTimeout),this.filterTimeout=setTimeout(()=>{this.rebuildOptionsList()},this.params.filterDelay)):this._filterList()}_inputClick(e){e.stopPropagation()}_inputBlur(e){this.blurable&&(this.popup?this.popup.hide():this._resolveValue(!0))}_inputSearch(){this._clearChoices()}_inputKeyDown(e){switch(e.keyCode){case 38:this._keyUp(e);break;case 40:this._keyDown(e);break;case 37:case 39:this._keySide(e);break;case 13:this._keyEnter();break;case 27:this._keyEsc();break;case 36:case 35:this._keyHomeEnd(e);break;case 9:this._keyTab(e);break;default:this._keySelectLetter(e)}}_inputKeyUp(e){switch(e.keyCode){case 38:case 37:case 39:case 40:case 13:case 27:break;default:this._keyAutoCompLetter(e)}}_preventPopupBlur(){this.popup&&this.popup.blockHide(),setTimeout(()=>{this.popup&&this.popup.restoreHide()},10)}_preventBlur(){this.blurable=!1,setTimeout(()=>{this.blurable=!0},10)}_keyTab(e){this.params.autocomplete&&this.lastAction==="typing"?this._resolveValue(!0):this.focusedItem&&this._chooseItem(this.focusedItem,!0)}_keyUp(e){var r=this.displayItems.indexOf(this.focusedItem);(this.params.verticalNavigation=="editor"||this.params.verticalNavigation=="hybrid"&&r)&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault(),r>0&&this._focusItem(this.displayItems[r-1]))}_keyDown(e){var r=this.displayItems.indexOf(this.focusedItem);(this.params.verticalNavigation=="editor"||this.params.verticalNavigation=="hybrid"&&r=38&&e.keyCode<=90&&this._scrollToValue(e.keyCode))}_keyAutoCompLetter(e){this._filter(),this.lastAction="typing",this.typing=!0}_scrollToValue(e){clearTimeout(this.filterTimeout);var r=String.fromCharCode(e).toLowerCase();this.filterTerm+=r.toLowerCase();var S=this.displayItems.find(D=>typeof D.label<"u"&&D.label.toLowerCase().startsWith(this.filterTerm));S&&this._focusItem(S),this.filterTimeout=setTimeout(()=>{this.filterTerm=""},800)}_focusItem(e){this.lastAction="focus",this.focusedItem&&this.focusedItem.element&&this.focusedItem.element.classList.remove("focused"),this.focusedItem=e,e&&e.element&&(e.element.classList.add("focused"),e.element.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"}))}headerFilterInitialListGen(){this._generateOptions(!0)}rebuildOptionsList(){this._generateOptions().then(this._sortOptions.bind(this)).then(this._buildList.bind(this)).then(this._showList.bind(this)).catch(e=>{Number.isInteger(e)||console.error("List generation error",e)})}_filterList(){this._buildList(this._filterOptions()),this._showList()}_generateOptions(e){var r=[],S=++this.listIteration;return this.filtered=!1,this.params.values?r=this.params.values:this.params.valuesURL?r=this._ajaxRequest(this.params.valuesURL,this.input.value):typeof this.params.valuesLookup=="function"?r=this.params.valuesLookup(this.cell,this.input.value):this.params.valuesLookup&&(r=this._uniqueColumnValues(this.params.valuesLookupField)),r instanceof Promise?(e||this._addPlaceholder(this.params.placeholderLoading),r.then().then(D=>this.listIteration===S?this._parseList(D):Promise.reject(S))):Promise.resolve(this._parseList(r))}_addPlaceholder(e){var r=document.createElement("div");typeof e=="function"&&(e=e(this.cell.getComponent(),this.listEl)),e&&(this._clearList(),e instanceof HTMLElement?r=e:(r.classList.add("tabulator-edit-list-placeholder"),r.innerHTML=e),this.listEl.appendChild(r),this._showList())}_ajaxRequest(e,r){var S=this.params.filterRemote?{term:r}:{};return e=LM(e,{},S),fetch(e).then(D=>D.ok?D.json().catch(T=>(console.warn("List Ajax Load Error - Invalid JSON returned",T),Promise.reject(T))):(console.error("List Ajax Load Error - Connection Error: "+D.status,D.statusText),Promise.reject(D))).catch(D=>(console.error("List Ajax Load Error - Connection Error: ",D),Promise.reject(D)))}_uniqueColumnValues(e){var r={},S=this.table.getData(this.params.valuesLookup),D;return e?D=this.table.columnManager.getColumnByField(e):D=this.cell.getColumn()._getSelf(),D?S.forEach(T=>{var p=D.getFieldValue(T);p!==null&&typeof p<"u"&&p!==""&&(r[p]=!0)}):(console.warn("unable to find matching column to create select lookup list:",e),r=[]),Object.keys(r)}_parseList(e){var r=[];return Array.isArray(e)||(e=Object.entries(e).map(([S,D])=>({label:D,value:S}))),e.forEach(S=>{typeof S!="object"&&(S={label:S,value:S}),this._parseListItem(S,r,0)}),!this.currentItems.length&&this.params.freetext&&(this.input.value=this.initialValues,this.typing=!0,this.lastAction="typing"),this.data=r,r}_parseListItem(e,r,S){var D={};e.options?D=this._parseListGroup(e,S+1):(D={label:e.label,value:e.value,itemParams:e.itemParams,elementAttributes:e.elementAttributes,element:!1,selected:!1,visible:!0,level:S,original:e},this.initialValues&&this.initialValues.indexOf(e.value)>-1&&this._chooseItem(D,!0)),r.push(D)}_parseListGroup(e,r){var S={label:e.label,group:!0,itemParams:e.itemParams,elementAttributes:e.elementAttributes,element:!1,visible:!0,level:r,options:[],original:e};return e.options.forEach(D=>{this._parseListItem(D,S.options,r)}),S}_sortOptions(e){var r;return this.params.sort&&(r=typeof this.params.sort=="function"?this.params.sort:this._defaultSortFunction.bind(this),this._sortGroup(r,e)),e}_sortGroup(e,r){r.sort((S,D)=>e(S.label,D.label,S.value,D.value,S.original,D.original)),r.forEach(S=>{S.group&&this._sortGroup(e,S.options)})}_defaultSortFunction(e,r){var S,D,T,p,t=0,d,g=/(\d+)|(\D+)/g,i=/\d/,M=0;if(this.params.sort==="desc"&&([e,r]=[r,e]),!e&&e!==0)M=!r&&r!==0?0:-1;else if(!r&&r!==0)M=1;else{if(isFinite(e)&&isFinite(r))return e-r;if(S=String(e).toLowerCase(),D=String(r).toLowerCase(),S===D)return 0;if(!(i.test(S)&&i.test(D)))return S>D?1:-1;for(S=S.match(g),D=D.match(g),d=S.length>D.length?D.length:S.length;tp?1:-1;return S.length>D.length}return M}_filterOptions(){var e=this.params.filterFunc||this._defaultFilterFunc,r=this.input.value;return r?(this.filtered=!0,this.data.forEach(S=>{this._filterItem(e,r,S)})):this.filtered=!1,this.data}_filterItem(e,r,S){var D=!1;return S.group?(S.options.forEach(T=>{this._filterItem(e,r,T)&&(D=!0)}),S.visible=D):S.visible=e(r,S.label,S.value,S.original),S.visible}_defaultFilterFunc(e,r,S,D){return e=String(e).toLowerCase(),r!==null&&typeof r<"u"&&(String(r).toLowerCase().indexOf(e)>-1||String(S).toLowerCase().indexOf(e)>-1)}_clearList(){for(;this.listEl.firstChild;)this.listEl.removeChild(this.listEl.firstChild);this.displayItems=[]}_buildList(e){this._clearList(),e.forEach(r=>{this._buildItem(r)}),this.displayItems.length||this._addPlaceholder(this.params.placeholderEmpty)}_buildItem(e){var r=e.element,S;if(!this.filtered||e.visible){if(!r){if(r=document.createElement("div"),r.tabIndex=0,S=this.params.itemFormatter?this.params.itemFormatter(e.label,e.value,e.original,r):e.label,S instanceof HTMLElement?r.appendChild(S):r.innerHTML=S,e.group?r.classList.add("tabulator-edit-list-group"):r.classList.add("tabulator-edit-list-item"),r.classList.add("tabulator-edit-list-group-level-"+e.level),e.elementAttributes&&typeof e.elementAttributes=="object")for(let D in e.elementAttributes)D.charAt(0)=="+"?(D=D.slice(1),r.setAttribute(D,this.input.getAttribute(D)+e.elementAttributes["+"+D])):r.setAttribute(D,e.elementAttributes[D]);e.group?r.addEventListener("click",this._groupClick.bind(this,e)):r.addEventListener("click",this._itemClick.bind(this,e)),r.addEventListener("mousedown",this._preventBlur.bind(this)),e.element=r}this._styleItem(e),this.listEl.appendChild(r),e.group?e.options.forEach(D=>{this._buildItem(D)}):this.displayItems.push(e)}}_showList(){var e=this.popup&&this.popup.isVisible();if(this.input.parentNode){if(this.params.autocomplete&&this.input.value===""&&!this.params.listOnEmpty){this.popup&&this.popup.hide(!0);return}this._setListWidth(),this.popup||(this.popup=this.edit.popup(this.listEl)),this.popup.show(this.cell.getElement(),"bottom"),e||setTimeout(()=>{this.popup.hideOnBlur(this._resolveValue.bind(this,!0))},10)}}_styleItem(e){e&&e.element&&(e.selected?e.element.classList.add("active"):e.element.classList.remove("active"))}_itemClick(e,r){r.stopPropagation(),this._chooseItem(e)}_groupClick(e,r){r.stopPropagation()}_cancel(){this.popup.hide(!0),this.actions.cancel()}_clearChoices(){this.typing=!0,this.currentItems.forEach(e=>{e.selected=!1,this._styleItem(e)}),this.currentItems=[],this.focusedItem=null}_chooseItem(e,r){var S;this.typing=!1,this.params.multiselect?(S=this.currentItems.indexOf(e),S>-1?(this.currentItems.splice(S,1),e.selected=!1):(this.currentItems.push(e),e.selected=!0),this.input.value=this.currentItems.map(D=>D.label).join(","),this._styleItem(e)):(this.currentItems=[e],e.selected=!0,this.input.value=e.label,this._styleItem(e),r||this._resolveValue()),this._focusItem(e)}_resolveValue(e){var r,S;if(this.popup&&this.popup.hide(!0),this.params.multiselect)r=this.currentItems.map(D=>D.value);else if(e&&this.params.autocomplete&&this.typing)if(this.params.freetext||this.params.allowEmpty&&this.input.value==="")r=this.input.value;else{this.actions.cancel();return}else this.currentItems[0]?r=this.currentItems[0].value:(S=Array.isArray(this.initialValues)?this.initialValues[0]:this.initialValues,S===null||typeof S>"u"||S===""?r=S:r=this.params.emptyValue);r===""&&(r=this.params.emptyValue),this.actions.success(r),this.isFilter&&(this.initialValues=r&&!Array.isArray(r)?[r]:r,this.currentItems=[])}}function RR(n,e,r,S,D){this.deprecationMsg("The select editor has been deprecated, please use the new list editor");var T=new G2(this,n,e,r,S,D);return T.input}function PR(n,e,r,S,D){var T=new G2(this,n,e,r,S,D);return T.input}function OR(n,e,r,S,D){this.deprecationMsg("The autocomplete editor has been deprecated, please use the new list editor with the 'autocomplete' editorParam"),D.autocomplete=!0;var T=new G2(this,n,e,r,S,D);return T.input}function DR(n,e,r,S,D){var T=this,p=n.getElement(),t=n.getValue(),d=p.getElementsByTagName("svg").length||5,g=p.getElementsByTagName("svg")[0]?p.getElementsByTagName("svg")[0].getAttribute("width"):14,i=[],M=document.createElement("div"),v=document.createElementNS("http://www.w3.org/2000/svg","svg");function f(o){i.forEach(function(s,h){h'):(T.table.browser=="ie"?s.setAttribute("class","tabulator-star-inactive"):s.classList.replace("tabulator-star-active","tabulator-star-inactive"),s.innerHTML='')})}function l(o){var s=document.createElement("span"),h=v.cloneNode(!0);i.push(h),s.addEventListener("mouseenter",function(c){c.stopPropagation(),c.stopImmediatePropagation(),f(o)}),s.addEventListener("mousemove",function(c){c.stopPropagation(),c.stopImmediatePropagation()}),s.addEventListener("click",function(c){c.stopPropagation(),c.stopImmediatePropagation(),r(o),p.blur()}),s.appendChild(h),M.appendChild(s)}function a(o){t=o,f(o)}if(p.style.whiteSpace="nowrap",p.style.overflow="hidden",p.style.textOverflow="ellipsis",M.style.verticalAlign="middle",M.style.display="inline-block",M.style.padding="4px",v.setAttribute("width",g),v.setAttribute("height",g),v.setAttribute("viewBox","0 0 512 512"),v.setAttribute("xml:space","preserve"),v.style.padding="0 1px",D.elementAttributes&&typeof D.elementAttributes=="object")for(let o in D.elementAttributes)o.charAt(0)=="+"?(o=o.slice(1),M.setAttribute(o,M.getAttribute(o)+D.elementAttributes["+"+o])):M.setAttribute(o,D.elementAttributes[o]);for(var u=1;u<=d;u++)l(u);return t=Math.min(parseInt(t),d),f(t),M.addEventListener("mousemove",function(o){f(0)}),M.addEventListener("click",function(o){r(0)}),p.addEventListener("blur",function(o){S()}),p.addEventListener("keydown",function(o){switch(o.keyCode){case 39:a(t+1);break;case 37:a(t-1);break;case 13:r(t);break;case 27:S();break}}),M}function zR(n,e,r,S,D){var T=n.getElement(),p=typeof D.max>"u"?T.getElementsByTagName("div")[0]&&T.getElementsByTagName("div")[0].getAttribute("max")||100:D.max,t=typeof D.min>"u"?T.getElementsByTagName("div")[0]&&T.getElementsByTagName("div")[0].getAttribute("min")||0:D.min,d=(p-t)/100,g=n.getValue()||0,i=document.createElement("div"),M=document.createElement("div"),v,f;function l(){var a=window.getComputedStyle(T,null),u=d*Math.round(M.offsetWidth/((T.clientWidth-parseInt(a.getPropertyValue("padding-left"))-parseInt(a.getPropertyValue("padding-right")))/100))+t;r(u),T.setAttribute("aria-valuenow",u),T.setAttribute("aria-label",g)}if(i.style.position="absolute",i.style.right="0",i.style.top="0",i.style.bottom="0",i.style.width="5px",i.classList.add("tabulator-progress-handle"),M.style.display="inline-block",M.style.position="relative",M.style.height="100%",M.style.backgroundColor="#488CE9",M.style.maxWidth="100%",M.style.minWidth="0%",D.elementAttributes&&typeof D.elementAttributes=="object")for(let a in D.elementAttributes)a.charAt(0)=="+"?(a=a.slice(1),M.setAttribute(a,M.getAttribute(a)+D.elementAttributes["+"+a])):M.setAttribute(a,D.elementAttributes[a]);return T.style.padding="4px 4px",g=Math.min(parseFloat(g),p),g=Math.max(parseFloat(g),t),g=Math.round((g-t)/d),M.style.width=g+"%",T.setAttribute("aria-valuemin",t),T.setAttribute("aria-valuemax",p),M.appendChild(i),i.addEventListener("mousedown",function(a){v=a.screenX,f=M.offsetWidth}),i.addEventListener("mouseover",function(){i.style.cursor="ew-resize"}),T.addEventListener("mousemove",function(a){v&&(M.style.width=f+a.screenX-v+"px")}),T.addEventListener("mouseup",function(a){v&&(a.stopPropagation(),a.stopImmediatePropagation(),v=!1,f=!1,l())}),T.addEventListener("keydown",function(a){switch(a.keyCode){case 39:a.preventDefault(),M.style.width=M.clientWidth+T.clientWidth/100+"px";break;case 37:a.preventDefault(),M.style.width=M.clientWidth-T.clientWidth/100+"px";break;case 9:case 13:l();break;case 27:S();break}}),T.addEventListener("blur",function(){S()}),M}function FR(n,e,r,S,D){var T=n.getValue(),p=document.createElement("input"),t=D.tristate,d=typeof D.indeterminateValue>"u"?null:D.indeterminateValue,g=!1,i=Object.keys(D).includes("trueValue"),M=Object.keys(D).includes("falseValue");if(p.setAttribute("type","checkbox"),p.style.marginTop="5px",p.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let f in D.elementAttributes)f.charAt(0)=="+"?(f=f.slice(1),p.setAttribute(f,p.getAttribute(f)+D.elementAttributes["+"+f])):p.setAttribute(f,D.elementAttributes[f]);p.value=T,t&&(typeof T>"u"||T===d||T==="")&&(g=!0,p.indeterminate=!0),this.table.browser!="firefox"&&this.table.browser!="safari"&&e(function(){n.getType()==="cell"&&p.focus({preventScroll:!0})}),p.checked=i?T===D.trueValue:T===!0||T==="true"||T==="True"||T===1;function v(f){var l=p.checked;return i&&l?l=D.trueValue:M&&!l&&(l=D.falseValue),t?f?g?d:l:p.checked&&!g?(p.checked=!1,p.indeterminate=!0,g=!0,d):(g=!1,l):l}return p.addEventListener("change",function(f){r(v())}),p.addEventListener("blur",function(f){r(v(!0))}),p.addEventListener("keydown",function(f){f.keyCode==13&&r(v()),f.keyCode==27&&S()}),p}var BR={input:MR,textarea:AR,number:SR,range:CR,date:ER,time:LR,datetime:IR,select:RR,list:PR,autocomplete:OR,star:DR,progress:zR,tickCross:FR};class tg extends qi{constructor(e){super(e),this.currentCell=!1,this.mouseClick=!1,this.recursionBlock=!1,this.invalidEdit=!1,this.editedCells=[],this.editors=tg.editors,this.registerColumnOption("editable"),this.registerColumnOption("editor"),this.registerColumnOption("editorParams"),this.registerColumnOption("cellEditing"),this.registerColumnOption("cellEdited"),this.registerColumnOption("cellEditCancelled"),this.registerTableOption("editTriggerEvent","focus"),this.registerTableFunction("getEditedCells",this.getEditedCells.bind(this)),this.registerTableFunction("clearCellEdited",this.clearCellEdited.bind(this)),this.registerTableFunction("navigatePrev",this.navigatePrev.bind(this)),this.registerTableFunction("navigateNext",this.navigateNext.bind(this)),this.registerTableFunction("navigateLeft",this.navigateLeft.bind(this)),this.registerTableFunction("navigateRight",this.navigateRight.bind(this)),this.registerTableFunction("navigateUp",this.navigateUp.bind(this)),this.registerTableFunction("navigateDown",this.navigateDown.bind(this)),this.registerComponentFunction("cell","isEdited",this.cellIsEdited.bind(this)),this.registerComponentFunction("cell","clearEdited",this.clearEdited.bind(this)),this.registerComponentFunction("cell","edit",this.editCell.bind(this)),this.registerComponentFunction("cell","cancelEdit",this.cellCancelEdit.bind(this)),this.registerComponentFunction("cell","navigatePrev",this.navigatePrev.bind(this)),this.registerComponentFunction("cell","navigateNext",this.navigateNext.bind(this)),this.registerComponentFunction("cell","navigateLeft",this.navigateLeft.bind(this)),this.registerComponentFunction("cell","navigateRight",this.navigateRight.bind(this)),this.registerComponentFunction("cell","navigateUp",this.navigateUp.bind(this)),this.registerComponentFunction("cell","navigateDown",this.navigateDown.bind(this))}initialize(){this.subscribe("cell-init",this.bindEditor.bind(this)),this.subscribe("cell-delete",this.clearEdited.bind(this)),this.subscribe("cell-value-changed",this.updateCellClass.bind(this)),this.subscribe("column-layout",this.initializeColumnCheck.bind(this)),this.subscribe("column-delete",this.columnDeleteCheck.bind(this)),this.subscribe("row-deleting",this.rowDeleteCheck.bind(this)),this.subscribe("row-layout",this.rowEditableCheck.bind(this)),this.subscribe("data-refreshing",this.cancelEdit.bind(this)),this.subscribe("clipboard-paste",this.pasteBlocker.bind(this)),this.subscribe("keybinding-nav-prev",this.navigatePrev.bind(this,void 0)),this.subscribe("keybinding-nav-next",this.keybindingNavigateNext.bind(this)),this.subscribe("keybinding-nav-up",this.navigateUp.bind(this,void 0)),this.subscribe("keybinding-nav-down",this.navigateDown.bind(this,void 0))}pasteBlocker(e){if(this.currentCell)return!0}keybindingNavigateNext(e){var r=this.currentCell,S=this.options("tabEndNewRow");r&&(this.navigateNext(r,e)||S&&(r.getElement().firstChild.blur(),this.invalidEdit||(S===!0?S=this.table.addRow({}):typeof S=="function"?S=this.table.addRow(S(r.row.getComponent())):S=this.table.addRow(Object.assign({},S)),S.then(()=>{setTimeout(()=>{r.getComponent().navigateNext()})}))))}cellIsEdited(e){return!!e.modules.edit&&e.modules.edit.edited}cellCancelEdit(e){e===this.currentCell?this.table.modules.edit.cancelEdit():console.warn("Cancel Editor Error - This cell is not currently being edited ")}updateCellClass(e){this.allowEdit(e)?e.getElement().classList.add("tabulator-editable"):e.getElement().classList.remove("tabulator-editable")}clearCellEdited(e){e||(e=this.table.modules.edit.getEditedCells()),Array.isArray(e)||(e=[e]),e.forEach(r=>{this.table.modules.edit.clearEdited(r._getSelf())})}navigatePrev(e=this.currentCell,r){var S,D;if(e){if(r&&r.preventDefault(),S=this.navigateLeft(),S)return!0;if(D=this.table.rowManager.prevDisplayRow(e.row,!0),D&&(S=this.findPrevEditableCell(D,D.cells.length),S))return S.getComponent().edit(),!0}return!1}navigateNext(e=this.currentCell,r){var S,D;if(e){if(r&&r.preventDefault(),S=this.navigateRight(),S)return!0;if(D=this.table.rowManager.nextDisplayRow(e.row,!0),D&&(S=this.findNextEditableCell(D,-1),S))return S.getComponent().edit(),!0}return!1}navigateLeft(e=this.currentCell,r){var S,D;return e&&(r&&r.preventDefault(),S=e.getIndex(),D=this.findPrevEditableCell(e.row,S),D)?(D.getComponent().edit(),!0):!1}navigateRight(e=this.currentCell,r){var S,D;return e&&(r&&r.preventDefault(),S=e.getIndex(),D=this.findNextEditableCell(e.row,S),D)?(D.getComponent().edit(),!0):!1}navigateUp(e=this.currentCell,r){var S,D;return e&&(r&&r.preventDefault(),S=e.getIndex(),D=this.table.rowManager.prevDisplayRow(e.row,!0),D)?(D.cells[S].getComponent().edit(),!0):!1}navigateDown(e=this.currentCell,r){var S,D;return e&&(r&&r.preventDefault(),S=e.getIndex(),D=this.table.rowManager.nextDisplayRow(e.row,!0),D)?(D.cells[S].getComponent().edit(),!0):!1}findNextEditableCell(e,r){var S=!1;if(r0)for(var D=r-1;D>=0;D--){let T=e.cells[D];if(T.column.modules.edit&&so.elVisible(T.getElement())&&this.allowEdit(T)){S=T;break}}return S}initializeColumnCheck(e){typeof e.definition.editor<"u"&&this.initializeColumn(e)}columnDeleteCheck(e){this.currentCell&&this.currentCell.column===e&&this.cancelEdit()}rowDeleteCheck(e){this.currentCell&&this.currentCell.row===e&&this.cancelEdit()}rowEditableCheck(e){e.getCells().forEach(r=>{r.column.modules.edit&&typeof r.column.modules.edit.check=="function"&&this.updateCellClass(r)})}initializeColumn(e){var r={editor:!1,blocked:!1,check:e.definition.editable,params:e.definition.editorParams||{}};switch(typeof e.definition.editor){case"string":this.editors[e.definition.editor]?r.editor=this.editors[e.definition.editor]:console.warn("Editor Error - No such editor found: ",e.definition.editor);break;case"function":r.editor=e.definition.editor;break;case"boolean":e.definition.editor===!0&&(typeof e.definition.formatter!="function"?this.editors[e.definition.formatter]?r.editor=this.editors[e.definition.formatter]:r.editor=this.editors.input:console.warn("Editor Error - Cannot auto lookup editor for a custom formatter: ",e.definition.formatter));break}r.editor&&(e.modules.edit=r)}getCurrentCell(){return this.currentCell?this.currentCell.getComponent():!1}clearEditor(e){var r=this.currentCell,S;if(this.invalidEdit=!1,r){for(this.currentCell=!1,S=r.getElement(),this.dispatch("edit-editor-clear",r,e),S.classList.remove("tabulator-editing");S.firstChild;)S.removeChild(S.firstChild);r.row.getElement().classList.remove("tabulator-editing"),r.table.element.classList.remove("tabulator-editing")}}cancelEdit(){if(this.currentCell){var e=this.currentCell,r=this.currentCell.getComponent();this.clearEditor(!0),e.setValueActual(e.getValue()),e.cellRendered(),(e.column.definition.editor=="textarea"||e.column.definition.variableHeight)&&e.row.normalizeHeight(!0),e.column.definition.cellEditCancelled&&e.column.definition.cellEditCancelled.call(this.table,r),this.dispatch("edit-cancelled",e),this.dispatchExternal("cellEditCancelled",r)}}bindEditor(e){if(e.column.modules.edit){var r=this,S=e.getElement(!0);this.updateCellClass(e),S.setAttribute("tabindex",0),S.addEventListener("mousedown",function(D){D.button===2?D.preventDefault():r.mouseClick=!0}),this.options("editTriggerEvent")==="dblclick"&&S.addEventListener("dblclick",function(D){S.classList.contains("tabulator-editing")||(S.focus({preventScroll:!0}),r.edit(e,D,!1))}),(this.options("editTriggerEvent")==="focus"||this.options("editTriggerEvent")==="click")&&S.addEventListener("click",function(D){S.classList.contains("tabulator-editing")||(S.focus({preventScroll:!0}),r.edit(e,D,!1))}),this.options("editTriggerEvent")==="focus"&&S.addEventListener("focus",function(D){r.recursionBlock||r.edit(e,D,!1)})}}focusCellNoEvent(e,r){this.recursionBlock=!0,r&&this.table.browser==="ie"||e.getElement().focus({preventScroll:!0}),this.recursionBlock=!1}editCell(e,r){this.focusCellNoEvent(e),this.edit(e,!1,r)}focusScrollAdjust(e){if(this.table.rowManager.getRenderMode()=="virtual"){var r=this.table.rowManager.element.scrollTop,S=this.table.rowManager.element.clientHeight+this.table.rowManager.element.scrollTop,D=e.row.getElement();D.offsetTopS&&(this.table.rowManager.element.scrollTop+=D.offsetTop+D.offsetHeight-S);var T=this.table.rowManager.element.scrollLeft,p=this.table.rowManager.element.clientWidth+this.table.rowManager.element.scrollLeft,t=e.getElement();this.table.modExists("frozenColumns")&&(T+=parseInt(this.table.modules.frozenColumns.leftMargin||0),p-=parseInt(this.table.modules.frozenColumns.rightMargin||0)),this.table.options.renderHorizontal==="virtual"&&(T-=parseInt(this.table.columnManager.renderer.vDomPadLeft),p-=parseInt(this.table.columnManager.renderer.vDomPadLeft)),t.offsetLeftp&&(this.table.rowManager.element.scrollLeft+=t.offsetLeft+t.offsetWidth-p)}}allowEdit(e){var r=!!e.column.modules.edit;if(e.column.modules.edit)switch(typeof e.column.modules.edit.check){case"function":e.row.initialized&&(r=e.column.modules.edit.check(e.getComponent()));break;case"string":r=!!e.row.data[e.column.modules.edit.check];break;case"boolean":r=e.column.modules.edit.check;break}return r}edit(e,r,S){var D=this,T=!0,p=function(){},t=e.getElement(),d=!1,g,i,M;if(this.currentCell){!this.invalidEdit&&this.currentCell!==e&&this.cancelEdit();return}function v(o){if(D.currentCell===e&&!d){var s=D.chain("edit-success",[e,o],!0,!0);return s===!0||D.table.options.validationMode==="highlight"?(d=!0,D.clearEditor(),e.modules.edit||(e.modules.edit={}),e.modules.edit.edited=!0,D.editedCells.indexOf(e)==-1&&D.editedCells.push(e),e.setValue(o,!0),s===!0):(d=!0,D.invalidEdit=!0,D.focusCellNoEvent(e,!0),p(),setTimeout(()=>{d=!1},10),!1)}}function f(){D.currentCell===e&&!d&&D.cancelEdit()}function l(o){p=o}if(e.column.modules.edit.blocked)return this.mouseClick=!1,this.blur(t),!1;if(r&&r.stopPropagation(),T=this.allowEdit(e),T||S){if(D.cancelEdit(),D.currentCell=e,this.focusScrollAdjust(e),i=e.getComponent(),this.mouseClick&&(this.mouseClick=!1,e.column.definition.cellClick&&e.column.definition.cellClick.call(this.table,r,i)),e.column.definition.cellEditing&&e.column.definition.cellEditing.call(this.table,i),this.dispatch("cell-editing",e),this.dispatchExternal("cellEditing",i),M=typeof e.column.modules.edit.params=="function"?e.column.modules.edit.params(i):e.column.modules.edit.params,g=e.column.modules.edit.editor.call(D,i,l,v,f,M),this.currentCell&&g!==!1)if(g instanceof Node){for(t.classList.add("tabulator-editing"),e.row.getElement().classList.add("tabulator-editing"),e.table.element.classList.add("tabulator-editing");t.firstChild;)t.removeChild(t.firstChild);t.appendChild(g),p();for(var a=t.children,u=0;u{e.push(r.getComponent())}),e}clearEdited(e){var r;e.modules.edit&&e.modules.edit.edited&&(e.modules.edit.edited=!1,this.dispatch("edit-edited-clear",e)),r=this.editedCells.indexOf(e),r>-1&&this.editedCells.splice(r,1)}}tg.moduleName="edit";tg.editors=BR;class g5{constructor(e,r,S,D){this.type=e,this.columns=r,this.component=S||!1,this.indent=D||0}}class mb{constructor(e,r,S,D,T){this.value=e,this.component=r||!1,this.width=S,this.height=D,this.depth=T}}class DM extends qi{constructor(e){super(e),this.config={},this.cloneTableStyle=!0,this.colVisProp="",this.registerTableOption("htmlOutputConfig",!1),this.registerColumnOption("htmlOutput"),this.registerColumnOption("titleHtmlOutput")}initialize(){this.registerTableFunction("getHtml",this.getHtml.bind(this))}generateExportList(e,r,S,D){this.cloneTableStyle=r,this.config=e||{},this.colVisProp=D;var T,p;if(S==="range"){var t=this.table.modules.selectRange.selectedColumns();T=this.config.columnHeaders!==!1?this.headersToExportRows(this.generateColumnGroupHeaders(t)):[],p=this.bodyToExportRows(this.rowLookup(S),this.table.modules.selectRange.selectedColumns(!0))}else T=this.config.columnHeaders!==!1?this.headersToExportRows(this.generateColumnGroupHeaders()):[],p=this.bodyToExportRows(this.rowLookup(S));return T.concat(p)}generateTable(e,r,S,D){var T=this.generateExportList(e,r,S,D);return this.generateTableElement(T)}rowLookup(e){var r=[];if(typeof e=="function")e.call(this.table).forEach(S=>{S=this.table.rowManager.findRow(S),S&&r.push(S)});else switch(e){case!0:case"visible":r=this.table.rowManager.getVisibleRows(!1,!0);break;case"all":r=this.table.rowManager.rows;break;case"selected":r=this.table.modules.selectRow.selectedRows;break;case"range":r=this.table.modules.selectRange.selectedRows();break;case"active":default:this.table.options.pagination?r=this.table.rowManager.getDisplayRows(this.table.rowManager.displayRows.length-2):r=this.table.rowManager.getDisplayRows()}return Object.assign([],r)}generateColumnGroupHeaders(e){var r=[];return e||(e=this.config.columnGroups!==!1?this.table.columnManager.columns:this.table.columnManager.columnsByIndex),e.forEach(S=>{var D=this.processColumnGroup(S);D&&r.push(D)}),r}processColumnGroup(e){var r=e.columns,S=0,D=e.definition["title"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))]||e.definition.title,T={title:D,column:e,depth:1};if(r.length){if(T.subGroups=[],T.width=0,r.forEach(p=>{var t=this.processColumnGroup(p);t&&(T.width+=t.width,T.subGroups.push(t),t.depth>S&&(S=t.depth))}),T.depth+=S,!T.width)return!1}else if(this.columnVisCheck(e))T.width=1;else return!1;return T}columnVisCheck(e){var r=e.definition[this.colVisProp];return typeof r=="function"&&(r=r.call(this.table,e.getComponent())),r!==!1&&(e.visible||!e.visible&&r)}headersToExportRows(e){var r=[],S=0,D=[];function T(p,t){var d=S-t;if(typeof r[t]>"u"&&(r[t]=[]),p.height=p.subGroups?1:d-p.depth+1,r[t].push(p),p.height>1)for(let g=1;g"u"&&(r[t+g]=[]),r[t+g].push(!1);if(p.width>1)for(let g=1;gS&&(S=p.depth)}),e.forEach(function(p){T(p,0)}),r.forEach(p=>{var t=[];p.forEach(d=>{if(d){let g=typeof d.title>"u"?"":d.title;t.push(new mb(g,d.column.getComponent(),d.width,d.height,d.depth))}else t.push(null)}),D.push(new g5("header",t))}),D}bodyToExportRows(e,r=[]){var S=[];return r.length===0&&this.table.columnManager.columnsByIndex.forEach(D=>{this.columnVisCheck(D)&&r.push(D.getComponent())}),this.config.columnCalcs!==!1&&this.table.modExists("columnCalcs")&&(this.table.modules.columnCalcs.topInitialized&&e.unshift(this.table.modules.columnCalcs.topRow),this.table.modules.columnCalcs.botInitialized&&e.push(this.table.modules.columnCalcs.botRow)),e=e.filter(D=>{switch(D.type){case"group":return this.config.rowGroups!==!1;case"calc":return this.config.columnCalcs!==!1;case"row":return!(this.table.options.dataTree&&this.config.dataTree===!1&&D.modules.dataTree.parent)}return!0}),e.forEach((D,T)=>{var p=D.getData(this.colVisProp),t=[],d=0;switch(D.type){case"group":d=D.level,t.push(new mb(D.key,D.getComponent(),r.length,1));break;case"calc":case"row":r.forEach(g=>{t.push(new mb(g._column.getFieldValue(p),g,1,1))}),this.table.options.dataTree&&this.config.dataTree!==!1&&(d=D.modules.dataTree.index);break}S.push(new g5(D.type,t,D.getComponent(),d))}),S}generateTableElement(e){var r=document.createElement("table"),S=document.createElement("thead"),D=document.createElement("tbody"),T=this.lookupTableStyles(),p=this.table.options["rowFormatter"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))],t={};return t.rowFormatter=p!==null?p:this.table.options.rowFormatter,this.table.options.dataTree&&this.config.dataTree!==!1&&this.table.modExists("columnCalcs")&&(t.treeElementField=this.table.modules.dataTree.elementField),t.groupHeader=this.table.options["groupHeader"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))],t.groupHeader&&!Array.isArray(t.groupHeader)&&(t.groupHeader=[t.groupHeader]),r.classList.add("tabulator-print-table"),this.mapElementStyles(this.table.columnManager.getHeadersElement(),S,["border-top","border-left","border-right","border-bottom","background-color","color","font-weight","font-family","font-size"]),e.length>1e3&&console.warn("It may take a long time to render an HTML table with more than 1000 rows"),e.forEach((d,g)=>{let i;switch(d.type){case"header":S.appendChild(this.generateHeaderElement(d,t,T));break;case"group":D.appendChild(this.generateGroupElement(d,t,T));break;case"calc":D.appendChild(this.generateCalcElement(d,t,T));break;case"row":i=this.generateRowElement(d,t,T),this.mapElementStyles(g%2&&T.evenRow?T.evenRow:T.oddRow,i,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),D.appendChild(i);break}}),S.innerHTML&&r.appendChild(S),r.appendChild(D),this.mapElementStyles(this.table.element,r,["border-top","border-left","border-right","border-bottom"]),r}lookupTableStyles(){var e={};return this.cloneTableStyle&&window.getComputedStyle&&(e.oddRow=this.table.element.querySelector(".tabulator-row-odd:not(.tabulator-group):not(.tabulator-calcs)"),e.evenRow=this.table.element.querySelector(".tabulator-row-even:not(.tabulator-group):not(.tabulator-calcs)"),e.calcRow=this.table.element.querySelector(".tabulator-row.tabulator-calcs"),e.firstRow=this.table.element.querySelector(".tabulator-row:not(.tabulator-group):not(.tabulator-calcs)"),e.firstGroup=this.table.element.getElementsByClassName("tabulator-group")[0],e.firstRow&&(e.styleCells=e.firstRow.getElementsByClassName("tabulator-cell"),e.firstCell=e.styleCells[0],e.lastCell=e.styleCells[e.styleCells.length-1])),e}generateHeaderElement(e,r,S){var D=document.createElement("tr");return e.columns.forEach(T=>{if(T){var p=document.createElement("th"),t=T.component._column.definition.cssClass?T.component._column.definition.cssClass.split(" "):[];p.colSpan=T.width,p.rowSpan=T.height,p.innerHTML=T.value,this.cloneTableStyle&&(p.style.boxSizing="border-box"),t.forEach(function(d){p.classList.add(d)}),this.mapElementStyles(T.component.getElement(),p,["text-align","border-top","border-left","border-right","border-bottom","background-color","color","font-weight","font-family","font-size"]),this.mapElementStyles(T.component._column.contentElement,p,["padding-top","padding-left","padding-right","padding-bottom"]),T.component._column.visible?this.mapElementStyles(T.component.getElement(),p,["width"]):T.component._column.definition.width&&(p.style.width=T.component._column.definition.width+"px"),T.component._column.parent&&this.mapElementStyles(T.component._column.parent.groupElement,p,["border-top"]),D.appendChild(p)}}),D}generateGroupElement(e,r,S){var D=document.createElement("tr"),T=document.createElement("td"),p=e.columns[0];return D.classList.add("tabulator-print-table-row"),r.groupHeader&&r.groupHeader[e.indent]?p.value=r.groupHeader[e.indent](p.value,e.component._group.getRowCount(),e.component._group.getData(),e.component):r.groupHeader!==!1&&(p.value=e.component._group.generator(p.value,e.component._group.getRowCount(),e.component._group.getData(),e.component)),T.colSpan=p.width,T.innerHTML=p.value,D.classList.add("tabulator-print-table-group"),D.classList.add("tabulator-group-level-"+e.indent),p.component.isVisible()&&D.classList.add("tabulator-group-visible"),this.mapElementStyles(S.firstGroup,D,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),this.mapElementStyles(S.firstGroup,T,["padding-top","padding-left","padding-right","padding-bottom"]),D.appendChild(T),D}generateCalcElement(e,r,S){var D=this.generateRowElement(e,r,S);return D.classList.add("tabulator-print-table-calcs"),this.mapElementStyles(S.calcRow,D,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),D}generateRowElement(e,r,S){var D=document.createElement("tr");if(D.classList.add("tabulator-print-table-row"),e.columns.forEach((T,p)=>{if(T){var t=document.createElement("td"),d=T.component._column,g=this.table,i=g.columnManager.findColumnIndex(d),M=T.value,v,f={modules:{},getValue:function(){return M},getField:function(){return d.definition.field},getElement:function(){return t},getType:function(){return"cell"},getColumn:function(){return d.getComponent()},getData:function(){return e.component.getData()},getRow:function(){return e.component},getTable:function(){return g},getComponent:function(){return f},column:d},l=d.definition.cssClass?d.definition.cssClass.split(" "):[];if(l.forEach(function(a){t.classList.add(a)}),this.table.modExists("format")&&this.config.formatCells!==!1)M=this.table.modules.format.formatExportValue(f,this.colVisProp);else switch(typeof M){case"object":M=M!==null?JSON.stringify(M):"";break;case"undefined":M="";break}M instanceof Node?t.appendChild(M):t.innerHTML=M,v=S.styleCells&&S.styleCells[i]?S.styleCells[i]:S.firstCell,v&&(this.mapElementStyles(v,t,["padding-top","padding-left","padding-right","padding-bottom","border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","text-align"]),d.definition.align&&(t.style.textAlign=d.definition.align)),this.table.options.dataTree&&this.config.dataTree!==!1&&(r.treeElementField&&r.treeElementField==d.field||!r.treeElementField&&p==0)&&(e.component._row.modules.dataTree.controlEl&&t.insertBefore(e.component._row.modules.dataTree.controlEl.cloneNode(!0),t.firstChild),e.component._row.modules.dataTree.branchEl&&t.insertBefore(e.component._row.modules.dataTree.branchEl.cloneNode(!0),t.firstChild)),D.appendChild(t),f.modules.format&&f.modules.format.renderedCallback&&f.modules.format.renderedCallback()}}),r.rowFormatter&&e.type==="row"&&this.config.formatCells!==!1){let T=Object.assign(e.component);T.getElement=function(){return D},r.rowFormatter(e.component)}return D}generateHTMLTable(e){var r=document.createElement("div");return r.appendChild(this.generateTableElement(e)),r.innerHTML}getHtml(e,r,S,D){var T=this.generateExportList(S||this.table.options.htmlOutputConfig,r,e,D||"htmlOutput");return this.generateHTMLTable(T)}mapElementStyles(e,r,S){if(this.cloneTableStyle&&e&&r){var D={"background-color":"backgroundColor",color:"fontColor",width:"width","font-weight":"fontWeight","font-family":"fontFamily","font-size":"fontSize","text-align":"textAlign","border-top":"borderTop","border-left":"borderLeft","border-right":"borderRight","border-bottom":"borderBottom","padding-top":"paddingTop","padding-left":"paddingLeft","padding-right":"paddingRight","padding-bottom":"paddingBottom"};if(window.getComputedStyle){var T=window.getComputedStyle(e);S.forEach(function(p){r.style[D[p]]||(r.style[D[p]]=T.getPropertyValue(p))})}}}}DM.moduleName="export";var NR={"=":function(n,e,r,S){return e==n},"<":function(n,e,r,S){return e":function(n,e,r,S){return e>n},">=":function(n,e,r,S){return e>=n},"!=":function(n,e,r,S){return e!=n},regex:function(n,e,r,S){return typeof n=="string"&&(n=new RegExp(n)),n.test(e)},like:function(n,e,r,S){return n===null||typeof n>"u"?e===n:typeof e<"u"&&e!==null?String(e).toLowerCase().indexOf(n.toLowerCase())>-1:!1},keywords:function(n,e,r,S){var D=n.toLowerCase().split(typeof S.separator>"u"?" ":S.separator),T=String(e===null||typeof e>"u"?"":e).toLowerCase(),p=[];return D.forEach(t=>{T.includes(t)&&p.push(!0)}),S.matchAll?p.length===D.length:!!p.length},starts:function(n,e,r,S){return n===null||typeof n>"u"?e===n:typeof e<"u"&&e!==null?String(e).toLowerCase().startsWith(n.toLowerCase()):!1},ends:function(n,e,r,S){return n===null||typeof n>"u"?e===n:typeof e<"u"&&e!==null?String(e).toLowerCase().endsWith(n.toLowerCase()):!1},in:function(n,e,r,S){return Array.isArray(n)?n.length?n.indexOf(e)>-1:!0:(console.warn("Filter Error - filter value is not an array:",n),!1)}};class Xh extends qi{constructor(e){super(e),this.filterList=[],this.headerFilters={},this.headerFilterColumns=[],this.prevHeaderFilterChangeCheck="",this.prevHeaderFilterChangeCheck="{}",this.changed=!1,this.tableInitialized=!1,this.registerTableOption("filterMode","local"),this.registerTableOption("initialFilter",!1),this.registerTableOption("initialHeaderFilter",!1),this.registerTableOption("headerFilterLiveFilterDelay",300),this.registerTableOption("placeholderHeaderFilter",!1),this.registerColumnOption("headerFilter"),this.registerColumnOption("headerFilterPlaceholder"),this.registerColumnOption("headerFilterParams"),this.registerColumnOption("headerFilterEmptyCheck"),this.registerColumnOption("headerFilterFunc"),this.registerColumnOption("headerFilterFuncParams"),this.registerColumnOption("headerFilterLiveFilter"),this.registerTableFunction("searchRows",this.searchRows.bind(this)),this.registerTableFunction("searchData",this.searchData.bind(this)),this.registerTableFunction("setFilter",this.userSetFilter.bind(this)),this.registerTableFunction("refreshFilter",this.userRefreshFilter.bind(this)),this.registerTableFunction("addFilter",this.userAddFilter.bind(this)),this.registerTableFunction("getFilters",this.getFilters.bind(this)),this.registerTableFunction("setHeaderFilterFocus",this.userSetHeaderFilterFocus.bind(this)),this.registerTableFunction("getHeaderFilterValue",this.userGetHeaderFilterValue.bind(this)),this.registerTableFunction("setHeaderFilterValue",this.userSetHeaderFilterValue.bind(this)),this.registerTableFunction("getHeaderFilters",this.getHeaderFilters.bind(this)),this.registerTableFunction("removeFilter",this.userRemoveFilter.bind(this)),this.registerTableFunction("clearFilter",this.userClearFilter.bind(this)),this.registerTableFunction("clearHeaderFilter",this.userClearHeaderFilter.bind(this)),this.registerComponentFunction("column","headerFilterFocus",this.setHeaderFilterFocus.bind(this)),this.registerComponentFunction("column","reloadHeaderFilter",this.reloadHeaderFilter.bind(this)),this.registerComponentFunction("column","getHeaderFilterValue",this.getHeaderFilterValue.bind(this)),this.registerComponentFunction("column","setHeaderFilterValue",this.setHeaderFilterValue.bind(this))}initialize(){this.subscribe("column-init",this.initializeColumnHeaderFilter.bind(this)),this.subscribe("column-width-fit-before",this.hideHeaderFilterElements.bind(this)),this.subscribe("column-width-fit-after",this.showHeaderFilterElements.bind(this)),this.subscribe("table-built",this.tableBuilt.bind(this)),this.subscribe("placeholder",this.generatePlaceholder.bind(this)),this.table.options.filterMode==="remote"&&this.subscribe("data-params",this.remoteFilterParams.bind(this)),this.registerDataHandler(this.filter.bind(this),10)}tableBuilt(){this.table.options.initialFilter&&this.setFilter(this.table.options.initialFilter),this.table.options.initialHeaderFilter&&this.table.options.initialHeaderFilter.forEach(e=>{var r=this.table.columnManager.findColumn(e.field);if(r)this.setHeaderFilterValue(r,e.value);else return console.warn("Column Filter Error - No matching column found:",e.field),!1}),this.tableInitialized=!0}remoteFilterParams(e,r,S,D){return D.filter=this.getFilters(!0,!0),D}generatePlaceholder(e){if(this.table.options.placeholderHeaderFilter&&Object.keys(this.headerFilters).length)return this.table.options.placeholderHeaderFilter}userSetFilter(e,r,S,D){this.setFilter(e,r,S,D),this.refreshFilter()}userRefreshFilter(){this.refreshFilter()}userAddFilter(e,r,S,D){this.addFilter(e,r,S,D),this.refreshFilter()}userSetHeaderFilterFocus(e){var r=this.table.columnManager.findColumn(e);if(r)this.setHeaderFilterFocus(r);else return console.warn("Column Filter Focus Error - No matching column found:",e),!1}userGetHeaderFilterValue(e){var r=this.table.columnManager.findColumn(e);if(r)return this.getHeaderFilterValue(r);console.warn("Column Filter Error - No matching column found:",e)}userSetHeaderFilterValue(e,r){var S=this.table.columnManager.findColumn(e);if(S)this.setHeaderFilterValue(S,r);else return console.warn("Column Filter Error - No matching column found:",e),!1}userRemoveFilter(e,r,S){this.removeFilter(e,r,S),this.refreshFilter()}userClearFilter(e){this.clearFilter(e),this.refreshFilter()}userClearHeaderFilter(){this.clearHeaderFilter(),this.refreshFilter()}searchRows(e,r,S){return this.search("rows",e,r,S)}searchData(e,r,S){return this.search("data",e,r,S)}initializeColumnHeaderFilter(e){var r=e.definition;r.headerFilter&&this.initializeColumn(e)}initializeColumn(e,r){var S=this,D=e.getField();function T(p){var t=e.modules.filter.tagType=="input"&&e.modules.filter.attrType=="text"||e.modules.filter.tagType=="textarea"?"partial":"match",d="",g="",i;if(typeof e.modules.filter.prevSuccess>"u"||e.modules.filter.prevSuccess!==p){if(e.modules.filter.prevSuccess=p,e.modules.filter.emptyFunc(p))delete S.headerFilters[D];else{switch(e.modules.filter.value=p,typeof e.definition.headerFilterFunc){case"string":Xh.filters[e.definition.headerFilterFunc]?(d=e.definition.headerFilterFunc,i=function(M){var v=e.definition.headerFilterFuncParams||{},f=e.getFieldValue(M);return v=typeof v=="function"?v(p,f,M):v,Xh.filters[e.definition.headerFilterFunc](p,f,M,v)}):console.warn("Header Filter Error - Matching filter function not found: ",e.definition.headerFilterFunc);break;case"function":i=function(M){var v=e.definition.headerFilterFuncParams||{},f=e.getFieldValue(M);return v=typeof v=="function"?v(p,f,M):v,e.definition.headerFilterFunc(p,f,M,v)},d=i;break}if(!i)switch(t){case"partial":i=function(M){var v=e.getFieldValue(M);return typeof v<"u"&&v!==null?String(v).toLowerCase().indexOf(String(p).toLowerCase())>-1:!1},d="like";break;default:i=function(M){return e.getFieldValue(M)==p},d="="}S.headerFilters[D]={value:p,func:i,type:d}}e.modules.filter.value=p,g=JSON.stringify(S.headerFilters),S.prevHeaderFilterChangeCheck!==g&&(S.prevHeaderFilterChangeCheck=g,S.trackChanges(),S.refreshFilter())}return!0}e.modules.filter={success:T,attrType:!1,tagType:!1,emptyFunc:!1},this.generateHeaderFilterElement(e)}generateHeaderFilterElement(e,r,S){var D=this,T=e.modules.filter.success,p=e.getField(),t,d,g,i,M,v,f,l;e.modules.filter.value=r;function a(){}function u(o){l=o}if(e.modules.filter.headerElement&&e.modules.filter.headerElement.parentNode&&e.contentElement.removeChild(e.modules.filter.headerElement.parentNode),p){switch(e.modules.filter.emptyFunc=e.definition.headerFilterEmptyCheck||function(o){return!o&&o!==0},t=document.createElement("div"),t.classList.add("tabulator-header-filter"),typeof e.definition.headerFilter){case"string":D.table.modules.edit.editors[e.definition.headerFilter]?(d=D.table.modules.edit.editors[e.definition.headerFilter],(e.definition.headerFilter==="tick"||e.definition.headerFilter==="tickCross")&&!e.definition.headerFilterEmptyCheck&&(e.modules.filter.emptyFunc=function(o){return o!==!0&&o!==!1})):console.warn("Filter Error - Cannot build header filter, No such editor found: ",e.definition.editor);break;case"function":d=e.definition.headerFilter;break;case"boolean":e.modules.edit&&e.modules.edit.editor?d=e.modules.edit.editor:e.definition.formatter&&D.table.modules.edit.editors[e.definition.formatter]?(d=D.table.modules.edit.editors[e.definition.formatter],(e.definition.formatter==="tick"||e.definition.formatter==="tickCross")&&!e.definition.headerFilterEmptyCheck&&(e.modules.filter.emptyFunc=function(o){return o!==!0&&o!==!1})):d=D.table.modules.edit.editors.input;break}if(d){if(i={getValue:function(){return typeof r<"u"?r:""},getField:function(){return e.definition.field},getElement:function(){return t},getColumn:function(){return e.getComponent()},getTable:()=>this.table,getType:()=>"header",getRow:function(){return{normalizeHeight:function(){}}}},f=e.definition.headerFilterParams||{},f=typeof f=="function"?f.call(D.table,i):f,g=d.call(this.table.modules.edit,i,u,T,a,f),!g){console.warn("Filter Error - Cannot add filter to "+p+" column, editor returned a value of false");return}if(!(g instanceof Node)){console.warn("Filter Error - Cannot add filter to "+p+" column, editor should return an instance of Node, the editor returned:",g);return}D.langBind("headerFilters|columns|"+e.definition.field,function(o){g.setAttribute("placeholder",typeof o<"u"&&o?o:e.definition.headerFilterPlaceholder||D.langText("headerFilters|default"))}),g.addEventListener("click",function(o){o.stopPropagation(),g.focus()}),g.addEventListener("focus",o=>{var s=this.table.columnManager.contentsElement.scrollLeft,h=this.table.rowManager.element.scrollLeft;s!==h&&(this.table.rowManager.scrollHorizontal(s),this.table.columnManager.scrollHorizontal(s))}),M=!1,v=function(o){M&&clearTimeout(M),M=setTimeout(function(){T(g.value)},D.table.options.headerFilterLiveFilterDelay)},e.modules.filter.headerElement=g,e.modules.filter.attrType=g.hasAttribute("type")?g.getAttribute("type").toLowerCase():"",e.modules.filter.tagType=g.tagName.toLowerCase(),e.definition.headerFilterLiveFilter!==!1&&(e.definition.headerFilter==="autocomplete"||e.definition.headerFilter==="tickCross"||(e.definition.editor==="autocomplete"||e.definition.editor==="tickCross")&&e.definition.headerFilter===!0||(g.addEventListener("keyup",v),g.addEventListener("search",v),e.modules.filter.attrType=="number"&&g.addEventListener("change",function(o){T(g.value)}),e.modules.filter.attrType=="text"&&this.table.browser!=="ie"&&g.setAttribute("type","search")),(e.modules.filter.tagType=="input"||e.modules.filter.tagType=="select"||e.modules.filter.tagType=="textarea")&&g.addEventListener("mousedown",function(o){o.stopPropagation()})),t.appendChild(g),e.contentElement.appendChild(t),S||D.headerFilterColumns.push(e),l&&l()}}else console.warn("Filter Error - Cannot add header filter, column has no field set:",e.definition.title)}hideHeaderFilterElements(){this.headerFilterColumns.forEach(function(e){e.modules.filter&&e.modules.filter.headerElement&&(e.modules.filter.headerElement.style.display="none")})}showHeaderFilterElements(){this.headerFilterColumns.forEach(function(e){e.modules.filter&&e.modules.filter.headerElement&&(e.modules.filter.headerElement.style.display="")})}setHeaderFilterFocus(e){e.modules.filter&&e.modules.filter.headerElement?e.modules.filter.headerElement.focus():console.warn("Column Filter Focus Error - No header filter set on column:",e.getField())}getHeaderFilterValue(e){if(e.modules.filter&&e.modules.filter.headerElement)return e.modules.filter.value;console.warn("Column Filter Error - No header filter set on column:",e.getField())}setHeaderFilterValue(e,r){e&&(e.modules.filter&&e.modules.filter.headerElement?(this.generateHeaderFilterElement(e,r,!0),e.modules.filter.success(r)):console.warn("Column Filter Error - No header filter set on column:",e.getField()))}reloadHeaderFilter(e){e&&(e.modules.filter&&e.modules.filter.headerElement?this.generateHeaderFilterElement(e,e.modules.filter.value,!0):console.warn("Column Filter Error - No header filter set on column:",e.getField()))}refreshFilter(){this.tableInitialized&&(this.table.options.filterMode==="remote"?this.reloadData(null,!1,!1):this.refreshData(!0))}trackChanges(){this.changed=!0,this.dispatch("filter-changed")}hasChanged(){var e=this.changed;return this.changed=!1,e}setFilter(e,r,S,D){this.filterList=[],Array.isArray(e)||(e=[{field:e,type:r,value:S,params:D}]),this.addFilter(e)}addFilter(e,r,S,D){var T=!1;Array.isArray(e)||(e=[{field:e,type:r,value:S,params:D}]),e.forEach(p=>{p=this.findFilter(p),p&&(this.filterList.push(p),T=!0)}),T&&this.trackChanges()}findFilter(e){var r;if(Array.isArray(e))return this.findSubFilters(e);var S=!1;return typeof e.field=="function"?S=function(D){return e.field(D,e.type||{})}:Xh.filters[e.type]?(r=this.table.columnManager.getColumnByField(e.field),r?S=function(D){return Xh.filters[e.type](e.value,r.getFieldValue(D),D,e.params||{})}:S=function(D){return Xh.filters[e.type](e.value,D[e.field],D,e.params||{})}):console.warn("Filter Error - No such filter type found, ignoring: ",e.type),e.func=S,e.func?e:!1}findSubFilters(e){var r=[];return e.forEach(S=>{S=this.findFilter(S),S&&r.push(S)}),r.length?r:!1}getFilters(e,r){var S=[];return e&&(S=this.getHeaderFilters()),r&&S.forEach(function(D){typeof D.type=="function"&&(D.type="function")}),S=S.concat(this.filtersToArray(this.filterList,r)),S}filtersToArray(e,r){var S=[];return e.forEach(D=>{var T;Array.isArray(D)?S.push(this.filtersToArray(D,r)):(T={field:D.field,type:D.type,value:D.value},r&&typeof T.type=="function"&&(T.type="function"),S.push(T))}),S}getHeaderFilters(){var e=[];for(var r in this.headerFilters)e.push({field:r,type:this.headerFilters[r].type,value:this.headerFilters[r].value});return e}removeFilter(e,r,S){Array.isArray(e)||(e=[{field:e,type:r,value:S}]),e.forEach(D=>{var T=-1;typeof D.field=="object"?T=this.filterList.findIndex(p=>D===p):T=this.filterList.findIndex(p=>D.field===p.field&&D.type===p.type&&D.value===p.value),T>-1?this.filterList.splice(T,1):console.warn("Filter Error - No matching filter type found, ignoring: ",D.type)}),this.trackChanges()}clearFilter(e){this.filterList=[],e&&this.clearHeaderFilter(),this.trackChanges()}clearHeaderFilter(){this.headerFilters={},this.prevHeaderFilterChangeCheck="{}",this.headerFilterColumns.forEach(e=>{typeof e.modules.filter.value<"u"&&delete e.modules.filter.value,e.modules.filter.prevSuccess=void 0,this.reloadHeaderFilter(e)}),this.trackChanges()}search(e,r,S,D){var T=[],p=[];return Array.isArray(r)||(r=[{field:r,type:S,value:D}]),r.forEach(t=>{t=this.findFilter(t),t&&p.push(t)}),this.table.rowManager.rows.forEach(t=>{var d=!0;p.forEach(g=>{this.filterRecurse(g,t.getData())||(d=!1)}),d&&T.push(e==="data"?t.getData("data"):t.getComponent())}),T}filter(e,r){var S=[],D=[];return this.subscribedExternal("dataFiltering")&&this.dispatchExternal("dataFiltering",this.getFilters(!0)),this.table.options.filterMode!=="remote"&&(this.filterList.length||Object.keys(this.headerFilters).length)?e.forEach(T=>{this.filterRow(T)&&S.push(T)}):S=e.slice(0),this.subscribedExternal("dataFiltered")&&(S.forEach(T=>{D.push(T.getComponent())}),this.dispatchExternal("dataFiltered",this.getFilters(!0),D)),S}filterRow(e,r){var S=!0,D=e.getData();this.filterList.forEach(p=>{this.filterRecurse(p,D)||(S=!1)});for(var T in this.headerFilters)this.headerFilters[T].func(D)||(S=!1);return S}filterRecurse(e,r){var S=!1;return Array.isArray(e)?e.forEach(D=>{this.filterRecurse(D,r)&&(S=!0)}):S=e.func(r),S}}Xh.moduleName="filter";Xh.filters=NR;function VR(n,e,r){return this.emptyToSpace(this.sanitizeHTML(n.getValue()))}function jR(n,e,r){return n.getValue()}function UR(n,e,r){return n.getElement().style.whiteSpace="pre-wrap",this.emptyToSpace(this.sanitizeHTML(n.getValue()))}function HR(n,e,r){var S=parseFloat(n.getValue()),D="",T,p,t,d,g,i=e.decimal||".",M=e.thousand||",",v=e.negativeSign||"-",f=e.symbol||"",l=!!e.symbolAfter,a=typeof e.precision<"u"?e.precision:2;if(isNaN(S))return this.emptyToSpace(this.sanitizeHTML(n.getValue()));if(S<0&&(S=Math.abs(S),D=v),T=a!==!1?S.toFixed(a):S,T=String(T).split("."),p=T[0],t=T.length>1?i+T[1]:"",e.thousand!==!1)for(d=/(\d+)(\d{3})/;d.test(p);)p=p.replace(d,"$1"+M+"$2");return g=p+t,D===!0?(g="("+g+")",l?g+f:f+g):l?D+g+f:D+f+g}function GR(n,e,r){var S=n.getValue(),D=e.urlPrefix||"",T=e.download,p=S,t=document.createElement("a"),d;function g(i,M){var v=i.shift(),f=M[v];return i.length&&typeof f=="object"?g(i,f):f}if(e.labelField&&(d=n.getData(),p=g(e.labelField.split(this.table.options.nestedFieldSeparator),d)),e.label)switch(typeof e.label){case"string":p=e.label;break;case"function":p=e.label(n);break}if(p){if(e.urlField&&(d=n.getData(),S=so.retrieveNestedData(this.table.options.nestedFieldSeparator,e.urlField,d)),e.url)switch(typeof e.url){case"string":S=e.url;break;case"function":S=e.url(n);break}return t.setAttribute("href",D+S),e.target&&t.setAttribute("target",e.target),e.download&&(typeof T=="function"?T=T(n):T=T===!0?"":T,t.setAttribute("download",T)),t.innerHTML=this.emptyToSpace(this.sanitizeHTML(p)),t}else return" "}function qR(n,e,r){var S=document.createElement("img"),D=n.getValue();switch(e.urlPrefix&&(D=e.urlPrefix+n.getValue()),e.urlSuffix&&(D=D+e.urlSuffix),S.setAttribute("src",D),typeof e.height){case"number":S.style.height=e.height+"px";break;case"string":S.style.height=e.height;break}switch(typeof e.width){case"number":S.style.width=e.width+"px";break;case"string":S.style.width=e.width;break}return S.addEventListener("load",function(){n.getRow().normalizeHeight()}),S}function WR(n,e,r){var S=n.getValue(),D=n.getElement(),T=e.allowEmpty,p=e.allowTruthy,t=Object.keys(e).includes("trueValue"),d=typeof e.tickElement<"u"?e.tickElement:'',g=typeof e.crossElement<"u"?e.crossElement:'';return t&&S===e.trueValue||!t&&(p&&S||S===!0||S==="true"||S==="True"||S===1||S==="1")?(D.setAttribute("aria-checked",!0),d||""):T&&(S==="null"||S===""||S===null||typeof S>"u")?(D.setAttribute("aria-checked","mixed"),""):(D.setAttribute("aria-checked",!1),g||"")}function YR(n,e,r){var S=window.DateTime||luxon.DateTime,D=e.inputFormat||"yyyy-MM-dd HH:mm:ss",T=e.outputFormat||"dd/MM/yyyy HH:mm:ss",p=typeof e.invalidPlaceholder<"u"?e.invalidPlaceholder:"",t=n.getValue();if(typeof S<"u"){var d;return S.isDateTime(t)?d=t:D==="iso"?d=S.fromISO(String(t)):d=S.fromFormat(String(t),D),d.isValid?(e.timezone&&(d=d.setZone(e.timezone)),d.toFormat(T)):p===!0||!t?t:typeof p=="function"?p(t):p}else console.error("Format Error - 'datetime' formatter is dependant on luxon.js")}function $R(n,e,r){var S=window.DateTime||luxon.DateTime,D=e.inputFormat||"yyyy-MM-dd HH:mm:ss",T=typeof e.invalidPlaceholder<"u"?e.invalidPlaceholder:"",p=typeof e.suffix<"u"?e.suffix:!1,t=typeof e.unit<"u"?e.unit:"days",d=typeof e.humanize<"u"?e.humanize:!1,g=typeof e.date<"u"?e.date:S.now(),i=n.getValue();if(typeof S<"u"){var M;return S.isDateTime(i)?M=i:D==="iso"?M=S.fromISO(String(i)):M=S.fromFormat(String(i),D),M.isValid?d?M.diff(g,t).toHuman()+(p?" "+p:""):parseInt(M.diff(g,t)[t])+(p?" "+p:""):T===!0?i:typeof T=="function"?T(i):T}else console.error("Format Error - 'datetimediff' formatter is dependant on luxon.js")}function ZR(n,e,r){var S=n.getValue();return typeof e[S]>"u"?(console.warn("Missing display value for "+S),S):e[S]}function XR(n,e,r){var S=n.getValue(),D=n.getElement(),T=e&&e.stars?e.stars:5,p=document.createElement("span"),t=document.createElementNS("http://www.w3.org/2000/svg","svg"),d='',g='';p.style.verticalAlign="middle",t.setAttribute("width","14"),t.setAttribute("height","14"),t.setAttribute("viewBox","0 0 512 512"),t.setAttribute("xml:space","preserve"),t.style.padding="0 1px",S=S&&!isNaN(S)?parseInt(S):0,S=Math.max(0,Math.min(S,T));for(var i=1;i<=T;i++){var M=t.cloneNode(!0);M.innerHTML=i<=S?d:g,p.appendChild(M)}return D.style.whiteSpace="nowrap",D.style.overflow="hidden",D.style.textOverflow="ellipsis",D.setAttribute("aria-label",S),p}function KR(n,e,r){var S=this.sanitizeHTML(n.getValue())||0,D=document.createElement("span"),T=e&&e.max?e.max:100,p=e&&e.min?e.min:0,t=e&&typeof e.color<"u"?e.color:["red","orange","green"],d="#666666",g,i;if(!(isNaN(S)||typeof n.getValue()>"u")){switch(D.classList.add("tabulator-traffic-light"),i=parseFloat(S)<=T?parseFloat(S):T,i=parseFloat(i)>=p?parseFloat(i):p,g=(T-p)/100,i=Math.round((i-p)/g),typeof t){case"string":d=t;break;case"function":d=t(S);break;case"object":if(Array.isArray(t)){var M=100/t.length,v=Math.floor(i/M);v=Math.min(v,t.length-1),v=Math.max(v,0),d=t[v];break}}return D.style.backgroundColor=d,D}}function JR(n,e={},r){var S=this.sanitizeHTML(n.getValue())||0,D=n.getElement(),T=e.max?e.max:100,p=e.min?e.min:0,t=e.legendAlign?e.legendAlign:"center",d,g,i,M,v;switch(g=parseFloat(S)<=T?parseFloat(S):T,g=parseFloat(g)>=p?parseFloat(g):p,d=(T-p)/100,g=Math.round((g-p)/d),typeof e.color){case"string":i=e.color;break;case"function":i=e.color(S);break;case"object":if(Array.isArray(e.color)){let u=100/e.color.length,o=Math.floor(g/u);o=Math.min(o,e.color.length-1),o=Math.max(o,0),i=e.color[o];break}default:i="#2DC214"}switch(typeof e.legend){case"string":M=e.legend;break;case"function":M=e.legend(S);break;case"boolean":M=S;break;default:M=!1}switch(typeof e.legendColor){case"string":v=e.legendColor;break;case"function":v=e.legendColor(S);break;case"object":if(Array.isArray(e.legendColor)){let u=100/e.legendColor.length,o=Math.floor(g/u);o=Math.min(o,e.legendColor.length-1),o=Math.max(o,0),v=e.legendColor[o]}break;default:v="#000"}D.style.minWidth="30px",D.style.position="relative",D.setAttribute("aria-label",g);var f=document.createElement("div");f.style.display="inline-block",f.style.width=g+"%",f.style.backgroundColor=i,f.style.height="100%",f.setAttribute("data-max",T),f.setAttribute("data-min",p);var l=document.createElement("div");if(l.style.position="relative",l.style.width="100%",l.style.height="100%",M){var a=document.createElement("div");a.style.position="absolute",a.style.top=0,a.style.left=0,a.style.textAlign=t,a.style.width="100%",a.style.color=v,a.innerHTML=M}return r(function(){if(!(n instanceof IM)){var u=document.createElement("div");u.style.position="absolute",u.style.top="4px",u.style.bottom="4px",u.style.left="4px",u.style.right="4px",D.appendChild(u),D=u}D.appendChild(l),l.appendChild(f),M&&l.appendChild(a)}),""}function QR(n,e,r){return n.getElement().style.backgroundColor=this.sanitizeHTML(n.getValue()),""}function eP(n,e,r){return''}function tP(n,e,r){return''}function nP(n,e,r){var S=document.createElement("span"),D=n.getRow(),T=n.getTable();return D.watchPosition(p=>{e.relativeToPage&&(p+=T.modules.page.getPageSize()*(T.modules.page.getPage()-1)),S.innerText=p}),S}function rP(n,e,r){return n.getElement().classList.add("tabulator-row-handle"),"
"}function iP(n,e,r){var S=document.createElement("div"),D=n.getRow()._row.modules.responsiveLayout;S.classList.add("tabulator-responsive-collapse-toggle"),S.innerHTML=` -`,n.getElement().classList.add("tabulator-row-handle");function T(p){var t=D.element;D.open=p,t&&(D.open?(C.classList.add("open"),t.style.display=""):(C.classList.remove("open"),t.style.display="none"))}return C.addEventListener("click",function(p){p.stopImmediatePropagation(),T(!D.open),n.getTable().rowManager.adjustTableSize()}),T(D.open),C}function aP(n,e,r){var C=document.createElement("input"),D=!1;if(C.type="checkbox",C.setAttribute("aria-label","Select Row"),this.table.modExists("selectRow",!0))if(C.addEventListener("click",p=>{p.stopPropagation()}),typeof n.getRow=="function"){var T=n.getRow();T instanceof Wy?(C.addEventListener("change",p=>{this.table.options.selectableRowsRangeMode==="click"&&D?D=!1:T.toggleSelect()}),this.table.options.selectableRowsRangeMode==="click"&&C.addEventListener("click",p=>{D=!0,this.table.modules.selectRow.handleComplexRowClick(T._row,p)}),C.checked=T.isSelected&&T.isSelected(),this.table.modules.selectRow.registerRowSelectCheckbox(T,C)):C=""}else C.addEventListener("change",p=>{this.table.modules.selectRow.selectedRows.length?this.table.deselectRow():this.table.selectRow(e.rowRange)}),this.table.modules.selectRow.registerHeaderSelectCheckbox(C);return C}var oP={plaintext:VR,html:jR,textarea:UR,money:HR,link:GR,image:qR,tickCross:WR,datetime:YR,datetimediff:$R,lookup:ZR,star:XR,traffic:KR,progress:JR,color:QR,buttonTick:eP,buttonCross:tP,rownum:nP,handle:rP,responsiveCollapse:iP,rowSelection:aP};class Yu extends qi{constructor(e){super(e),this.registerColumnOption("formatter"),this.registerColumnOption("formatterParams"),this.registerColumnOption("formatterPrint"),this.registerColumnOption("formatterPrintParams"),this.registerColumnOption("formatterClipboard"),this.registerColumnOption("formatterClipboardParams"),this.registerColumnOption("formatterHtmlOutput"),this.registerColumnOption("formatterHtmlOutputParams"),this.registerColumnOption("titleFormatter"),this.registerColumnOption("titleFormatterParams")}initialize(){this.subscribe("cell-format",this.formatValue.bind(this)),this.subscribe("cell-rendered",this.cellRendered.bind(this)),this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("column-format",this.formatHeader.bind(this))}initializeColumn(e){e.modules.format=this.lookupFormatter(e,""),typeof e.definition.formatterPrint<"u"&&(e.modules.format.print=this.lookupFormatter(e,"Print")),typeof e.definition.formatterClipboard<"u"&&(e.modules.format.clipboard=this.lookupFormatter(e,"Clipboard")),typeof e.definition.formatterHtmlOutput<"u"&&(e.modules.format.htmlOutput=this.lookupFormatter(e,"HtmlOutput"))}lookupFormatter(e,r){var C={params:e.definition["formatter"+r+"Params"]||{}},D=e.definition["formatter"+r];switch(typeof D){case"string":Yu.formatters[D]?C.formatter=Yu.formatters[D]:(console.warn("Formatter Error - No such formatter found: ",D),C.formatter=Yu.formatters.plaintext);break;case"function":C.formatter=D;break;default:C.formatter=Yu.formatters.plaintext;break}return C}cellRendered(e){e.modules.format&&e.modules.format.renderedCallback&&!e.modules.format.rendered&&(e.modules.format.renderedCallback(),e.modules.format.rendered=!0)}formatHeader(e,r,C){var D,T,p,t;return e.definition.titleFormatter?(D=this.getFormatter(e.definition.titleFormatter),p=d=>{e.titleFormatterRendered=d},t={getValue:function(){return r},getElement:function(){return C},getType:function(){return"header"},getColumn:function(){return e.getComponent()},getTable:()=>this.table},T=e.definition.titleFormatterParams||{},T=typeof T=="function"?T():T,D.call(this,t,T,p)):r}formatValue(e){var r=e.getComponent(),C=typeof e.column.modules.format.params=="function"?e.column.modules.format.params(r):e.column.modules.format.params;function D(T){e.modules.format||(e.modules.format={}),e.modules.format.renderedCallback=T,e.modules.format.rendered=!1}return e.column.modules.format.formatter.call(this,r,C,D)}formatExportValue(e,r){var C=e.column.modules.format[r],D;if(C){let p=function(t){e.modules.format||(e.modules.format={}),e.modules.format.renderedCallback=t,e.modules.format.rendered=!1};var T=p;return D=typeof C.params=="function"?C.params(e.getComponent()):C.params,C.formatter.call(this,e.getComponent(),D,p)}else return this.formatValue(e)}sanitizeHTML(e){if(e){var r={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};return String(e).replace(/[&<>"'`=/]/g,function(C){return r[C]})}else return e}emptyToSpace(e){return e===null||typeof e>"u"||e===""?" ":e}getFormatter(e){switch(typeof e){case"string":Yu.formatters[e]?e=Yu.formatters[e]:(console.warn("Formatter Error - No such formatter found: ",e),e=Yu.formatters.plaintext);break;case"function":break;default:e=Yu.formatters.plaintext;break}return e}}Yu.moduleName="format";Yu.formatters=oP;class zM extends qi{constructor(e){super(e),this.leftColumns=[],this.rightColumns=[],this.initializationMode="left",this.active=!1,this.blocked=!0,this.registerColumnOption("frozen")}reset(){this.initializationMode="left",this.leftColumns=[],this.rightColumns=[],this.active=!1}initialize(){this.subscribe("cell-layout",this.layoutCell.bind(this)),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("column-width",this.layout.bind(this)),this.subscribe("row-layout-after",this.layoutRow.bind(this)),this.subscribe("table-layout",this.layout.bind(this)),this.subscribe("columns-loading",this.reset.bind(this)),this.subscribe("column-add",this.reinitializeColumns.bind(this)),this.subscribe("column-deleted",this.reinitializeColumns.bind(this)),this.subscribe("column-hide",this.reinitializeColumns.bind(this)),this.subscribe("column-show",this.reinitializeColumns.bind(this)),this.subscribe("columns-loaded",this.reinitializeColumns.bind(this)),this.subscribe("table-redraw",this.layout.bind(this)),this.subscribe("layout-refreshing",this.blockLayout.bind(this)),this.subscribe("layout-refreshed",this.unblockLayout.bind(this)),this.subscribe("scrollbar-vertical",this.adjustForScrollbar.bind(this))}blockLayout(){this.blocked=!0}unblockLayout(){this.blocked=!1}layoutCell(e){this.layoutElement(e.element,e.column)}reinitializeColumns(){this.reset(),this.table.columnManager.columnsByIndex.forEach(e=>{this.initializeColumn(e)}),this.layout()}initializeColumn(e){var r={margin:0,edge:!1};e.isGroup||(this.frozenCheck(e)?(r.position=this.initializationMode,this.initializationMode=="left"?this.leftColumns.push(e):this.rightColumns.unshift(e),this.active=!0,e.modules.frozen=r):this.initializationMode="right")}frozenCheck(e){return e.parent.isGroup&&e.definition.frozen&&console.warn("Frozen Column Error - Parent column group must be frozen, not individual columns or sub column groups"),e.parent.isGroup?this.frozenCheck(e.parent):e.definition.frozen}layoutCalcRows(){this.table.modExists("columnCalcs")&&(this.table.modules.columnCalcs.topInitialized&&this.table.modules.columnCalcs.topRow&&this.layoutRow(this.table.modules.columnCalcs.topRow),this.table.modules.columnCalcs.botInitialized&&this.table.modules.columnCalcs.botRow&&this.layoutRow(this.table.modules.columnCalcs.botRow),this.table.modExists("groupRows")&&this.layoutGroupCalcs(this.table.modules.groupRows.getGroups()))}layoutGroupCalcs(e){e.forEach(r=>{r.calcs.top&&this.layoutRow(r.calcs.top),r.calcs.bottom&&this.layoutRow(r.calcs.bottom),r.groupList&&r.groupList.length&&this.layoutGroupCalcs(r.groupList)})}layoutColumnPosition(e){var r=[],C=0,D=0;this.leftColumns.forEach((T,p)=>{if(T.modules.frozen.marginValue=C,T.modules.frozen.margin=T.modules.frozen.marginValue+"px",T.visible&&(C+=T.getWidth()),p==this.leftColumns.length-1?T.modules.frozen.edge=!0:T.modules.frozen.edge=!1,T.parent.isGroup){var t=this.getColGroupParentElement(T);r.includes(t)||(this.layoutElement(t,T),r.push(t)),t.classList.toggle("tabulator-frozen-left",T.modules.frozen.edge&&T.modules.frozen.position==="left"),t.classList.toggle("tabulator-frozen-right",T.modules.frozen.edge&&T.modules.frozen.position==="right")}else this.layoutElement(T.getElement(),T);e&&T.cells.forEach(d=>{this.layoutElement(d.getElement(!0),T)})}),this.rightColumns.forEach((T,p)=>{T.modules.frozen.marginValue=D,T.modules.frozen.margin=T.modules.frozen.marginValue+"px",T.visible&&(D+=T.getWidth()),p==this.rightColumns.length-1?T.modules.frozen.edge=!0:T.modules.frozen.edge=!1,T.parent.isGroup?this.layoutElement(this.getColGroupParentElement(T),T):this.layoutElement(T.getElement(),T),e&&T.cells.forEach(t=>{this.layoutElement(t.getElement(!0),T)})})}getColGroupParentElement(e){return e.parent.isGroup?this.getColGroupParentElement(e.parent):e.getElement()}layout(){this.active&&!this.blocked&&(this.layoutColumnPosition(),this.reinitializeRows(),this.layoutCalcRows())}reinitializeRows(){var e=this.table.rowManager.getVisibleRows(!0),r=this.table.rowManager.getRows().filter(C=>!e.includes(C));r.forEach(C=>{C.deinitialize()}),e.forEach(C=>{C.type==="row"&&this.layoutRow(C)})}layoutRow(e){this.table.options.layout==="fitDataFill"&&this.rightColumns.length&&(this.table.rowManager.getTableElement().style.minWidth="calc(100% - "+this.rightMargin+")"),this.leftColumns.forEach(r=>{var C=e.getCell(r);C&&this.layoutElement(C.getElement(!0),r)}),this.rightColumns.forEach(r=>{var C=e.getCell(r);C&&this.layoutElement(C.getElement(!0),r)})}layoutElement(e,r){var C;r.modules.frozen&&e&&(e.style.position="sticky",this.table.rtl?C=r.modules.frozen.position==="left"?"right":"left":C=r.modules.frozen.position,e.style[C]=r.modules.frozen.margin,e.classList.add("tabulator-frozen"),e.classList.toggle("tabulator-frozen-left",r.modules.frozen.edge&&r.modules.frozen.position==="left"),e.classList.toggle("tabulator-frozen-right",r.modules.frozen.edge&&r.modules.frozen.position==="right"))}adjustForScrollbar(e){this.rightColumns.length&&(this.table.columnManager.getContentsElement().style.width="calc(100% - "+e+"px)")}_calcSpace(e,r){var C=0;for(let D=0;D{this.initializeRow(e)})}initializeRow(e){var r=this.table.options.frozenRows,C=typeof r;C==="number"?e.getPosition()&&e.getPosition()+this.rows.length<=r&&this.freezeRow(e):C==="function"?r.call(this.table,e.getComponent())&&this.freezeRow(e):Array.isArray(r)&&r.includes(e.data[this.options("frozenRowsField")])&&this.freezeRow(e)}isRowFrozen(e){var r=this.rows.indexOf(e);return r>-1}isFrozen(){return!!this.rows.length}visibleRows(e,r){return this.rows.forEach(C=>{r.push(C)}),r}getRows(e){var r=e.slice(0);return this.rows.forEach(function(C){var D=r.indexOf(C);D>-1&&r.splice(D,1)}),r}freezeRow(e){e.modules.frozen?console.warn("Freeze Error - Row is already frozen"):(e.modules.frozen=!0,this.topElement.appendChild(e.getElement()),e.initialize(),e.normalizeHeight(),this.rows.push(e),this.refreshData(!1,"display"),this.table.rowManager.adjustTableSize(),this.styleRows())}unfreezeRow(e){e.modules.frozen?(e.modules.frozen=!1,this.detachRow(e),this.table.rowManager.adjustTableSize(),this.refreshData(!1,"display"),this.rows.length&&this.styleRows()):console.warn("Freeze Error - Row is already unfrozen")}detachRow(e){var r=this.rows.indexOf(e);if(r>-1){var C=e.getElement();C.parentNode&&C.parentNode.removeChild(C),this.rows.splice(r,1)}}styleRows(e){this.rows.forEach((r,C)=>{this.table.rowManager.styleRow(r,C)})}}FM.moduleName="frozenRows";class sP{constructor(e){return this._group=e,this.type="GroupComponent",new Proxy(this,{get:function(r,C,D){return typeof r[C]<"u"?r[C]:r._group.groupManager.table.componentFunctionBinder.handle("group",r._group,C)}})}getKey(){return this._group.key}getField(){return this._group.field}getElement(){return this._group.element}getRows(){return this._group.getRows(!0)}getSubGroups(){return this._group.getSubGroups(!0)}getParentGroup(){return this._group.parent?this._group.parent.getComponent():!1}isVisible(){return this._group.visible}show(){this._group.show()}hide(){this._group.hide()}toggle(){this._group.toggleVisibility()}scrollTo(e,r){return this._group.groupManager.table.rowManager.scrollToRow(this._group,e,r)}_getSelf(){return this._group}getTable(){return this._group.groupManager.table}}class Fp{constructor(e,r,C,D,T,p,t){this.groupManager=e,this.parent=r,this.key=D,this.level=C,this.field=T,this.hasSubGroups=C{r.modules&&delete r.modules.group})),this.element=!1,this.arrowElement=!1,this.elementContents=!1}createElements(){var e=document.createElement("div");e.classList.add("tabulator-arrow"),this.element=document.createElement("div"),this.element.classList.add("tabulator-row"),this.element.classList.add("tabulator-group"),this.element.classList.add("tabulator-group-level-"+this.level),this.element.setAttribute("role","rowgroup"),this.arrowElement=document.createElement("div"),this.arrowElement.classList.add("tabulator-group-toggle"),this.arrowElement.appendChild(e),this.groupManager.table.options.movableRows!==!1&&this.groupManager.table.modExists("moveRow")&&this.groupManager.table.modules.moveRow.initializeGroupHeader(this)}createValueGroups(){var e=this.level+1;this.groupManager.allowedValues&&this.groupManager.allowedValues[e]&&this.groupManager.allowedValues[e].forEach(r=>{this._createGroup(r,e)})}addBindings(){var e;this.groupManager.table.options.groupToggleElement&&(e=this.groupManager.table.options.groupToggleElement=="arrow"?this.arrowElement:this.element,e.addEventListener("click",r=>{this.groupManager.table.options.groupToggleElement==="arrow"&&(r.stopPropagation(),r.stopImmediatePropagation()),setTimeout(()=>{this.toggleVisibility()})}))}_createGroup(e,r){var C=r+"_"+e,D=new Fp(this.groupManager,this,r,e,this.groupManager.groupIDLookups[r].field,this.groupManager.headerGenerator[r]||this.groupManager.headerGenerator[0],this.old?this.old.groups[C]:!1);this.groups[C]=D,this.groupList.push(D)}_addRowToGroup(e){var r=this.level+1;if(this.hasSubGroups){var C=this.groupManager.groupIDLookups[r].func(e.getData()),D=r+"_"+C;this.groupManager.allowedValues&&this.groupManager.allowedValues[r]?this.groups[D]&&this.groups[D].addRow(e):(this.groups[D]||this._createGroup(C,r),this.groups[D].addRow(e))}}_addRow(e){this.rows.push(e),e.modules.group=this}insertRow(e,r,C){var D=this.conformRowData({});e.updateData(D);var T=this.rows.indexOf(r);T>-1?C?this.rows.splice(T+1,0,e):this.rows.splice(T,0,e):C?this.rows.push(e):this.rows.unshift(e),e.modules.group=this,this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modules.columnCalcs.recalcGroup(this),this.groupManager.updateGroupRows(!0)}scrollHeader(e){this.arrowElement&&(this.arrowElement.style.marginLeft=e,this.groupList.forEach(function(r){r.scrollHeader(e)}))}getRowIndex(e){}conformRowData(e){return this.field?e[this.field]=this.key:console.warn("Data Conforming Error - Cannot conform row data to match new group as groupBy is a function"),this.parent&&(e=this.parent.conformRowData(e)),e}removeRow(e){var r=this.rows.indexOf(e),C=e.getElement();r>-1&&this.rows.splice(r,1),!this.groupManager.table.options.groupValues&&!this.rows.length?(this.parent?this.parent.removeGroup(this):this.groupManager.removeGroup(this),this.groupManager.updateGroupRows(!0)):(C.parentNode&&C.parentNode.removeChild(C),this.groupManager.blockRedraw||(this.generateGroupHeaderContents(),this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modules.columnCalcs.recalcGroup(this)))}removeGroup(e){var r=e.level+"_"+e.key,C;this.groups[r]&&(delete this.groups[r],C=this.groupList.indexOf(e),C>-1&&this.groupList.splice(C,1),this.groupList.length||(this.parent?this.parent.removeGroup(this):this.groupManager.removeGroup(this)))}getHeadersAndRows(){var e=[];return e.push(this),this._visSet(),this.calcs.top&&(this.calcs.top.detachElement(),this.calcs.top.deleteCells()),this.calcs.bottom&&(this.calcs.bottom.detachElement(),this.calcs.bottom.deleteCells()),this.visible?this.groupList.length?this.groupList.forEach(function(r){e=e.concat(r.getHeadersAndRows())}):(this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.modules.columnCalcs.hasTopCalcs()&&(this.calcs.top=this.groupManager.table.modules.columnCalcs.generateTopRow(this.rows),e.push(this.calcs.top)),e=e.concat(this.rows),this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.modules.columnCalcs.hasBottomCalcs()&&(this.calcs.bottom=this.groupManager.table.modules.columnCalcs.generateBottomRow(this.rows),e.push(this.calcs.bottom))):!this.groupList.length&&this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modExists("columnCalcs")&&(this.groupManager.table.modules.columnCalcs.hasTopCalcs()&&this.groupManager.table.options.groupClosedShowCalcs&&(this.calcs.top=this.groupManager.table.modules.columnCalcs.generateTopRow(this.rows),e.push(this.calcs.top)),this.groupManager.table.modules.columnCalcs.hasBottomCalcs()&&this.groupManager.table.options.groupClosedShowCalcs&&(this.calcs.bottom=this.groupManager.table.modules.columnCalcs.generateBottomRow(this.rows),e.push(this.calcs.bottom))),e}getData(e,r){var C=[];return this._visSet(),(!e||e&&this.visible)&&this.rows.forEach(D=>{C.push(D.getData(r||"data"))}),C}getRowCount(){var e=0;return this.groupList.length?this.groupList.forEach(r=>{e+=r.getRowCount()}):e=this.rows.length,e}toggleVisibility(){this.visible?this.hide():this.show()}hide(){this.visible=!1,this.groupManager.table.rowManager.getRenderMode()=="basic"&&!this.groupManager.table.options.pagination?(this.element.classList.remove("tabulator-group-visible"),this.groupList.length?this.groupList.forEach(e=>{var r=e.getHeadersAndRows();r.forEach(C=>{C.detachElement()})}):this.rows.forEach(e=>{var r=e.getElement();r.parentNode.removeChild(r)}),this.groupManager.updateGroupRows(!0)):this.groupManager.updateGroupRows(!0),this.groupManager.table.externalEvents.dispatch("groupVisibilityChanged",this.getComponent(),!1)}show(){if(this.visible=!0,this.groupManager.table.rowManager.getRenderMode()=="basic"&&!this.groupManager.table.options.pagination){this.element.classList.add("tabulator-group-visible");var e=this.generateElement();this.groupList.length?this.groupList.forEach(r=>{var C=r.getHeadersAndRows();C.forEach(D=>{var T=D.getElement();e.parentNode.insertBefore(T,e.nextSibling),D.initialize(),e=T})}):this.rows.forEach(r=>{var C=r.getElement();e.parentNode.insertBefore(C,e.nextSibling),r.initialize(),e=C}),this.groupManager.updateGroupRows(!0)}else this.groupManager.updateGroupRows(!0);this.groupManager.table.externalEvents.dispatch("groupVisibilityChanged",this.getComponent(),!0)}_visSet(){var e=[];typeof this.visible=="function"&&(this.rows.forEach(function(r){e.push(r.getData())}),this.visible=this.visible(this.key,this.getRowCount(),e,this.getComponent()))}getRowGroup(e){var r=!1;return this.groupList.length?this.groupList.forEach(function(C){var D=C.getRowGroup(e);D&&(r=D)}):this.rows.find(function(C){return C===e})&&(r=this),r}getSubGroups(e){var r=[];return this.groupList.forEach(function(C){r.push(e?C.getComponent():C)}),r}getRows(e,r){var C=[];return r&&this.groupList.length?this.groupList.forEach(D=>{C=C.concat(D.getRows(e,r))}):this.rows.forEach(function(D){C.push(e?D.getComponent():D)}),C}generateGroupHeaderContents(){var e=[],r=this.getRows(!1,!0);for(r.forEach(function(C){e.push(C.getData())}),this.elementContents=this.generator(this.key,this.getRowCount(),e,this.getComponent());this.element.firstChild;)this.element.removeChild(this.element.firstChild);typeof this.elementContents=="string"?this.element.innerHTML=this.elementContents:this.element.appendChild(this.elementContents),this.element.insertBefore(this.arrowElement,this.element.firstChild)}getPath(e=[]){return e.unshift(this.key),this.parent&&this.parent.getPath(e),e}getElement(){return this.elementContents?this.element:this.generateElement()}generateElement(){this.addBindings=!1,this._visSet(),this.visible?this.element.classList.add("tabulator-group-visible"):this.element.classList.remove("tabulator-group-visible");for(var e=0;eC.length&&console.warn("Error creating group headers, groupHeader array is shorter than groupBy array"),this.headerGenerator=[function(){return""}],this.startOpen=[function(){return!1}],this.langBind("groups|item",(T,p)=>{this.headerGenerator[0]=(t,d,g)=>(typeof t>"u"?"":t)+"("+d+" "+(d===1?T:p.groups.items)+")"}),this.groupIDLookups=[],e)this.table.modExists("columnCalcs")&&this.table.options.columnCalcs!="table"&&this.table.options.columnCalcs!="both"&&this.table.modules.columnCalcs.removeCalcs();else if(this.table.modExists("columnCalcs")&&this.table.options.columnCalcs!="group"){var D=this.table.columnManager.getRealColumns();D.forEach(T=>{T.definition.topCalc&&this.table.modules.columnCalcs.initializeTopRow(),T.definition.bottomCalc&&this.table.modules.columnCalcs.initializeBottomRow()})}Array.isArray(e)||(e=[e]),e.forEach((T,p)=>{var t,d;typeof T=="function"?t=T:(d=this.table.columnManager.getColumnByField(T),d?t=function(g){return d.getFieldValue(g)}:t=function(g){return g[T]}),this.groupIDLookups.push({field:typeof T=="function"?!1:T,func:t,values:this.allowedValues?this.allowedValues[p]:!1})}),r&&(Array.isArray(r)||(r=[r]),r.forEach(T=>{}),this.startOpen=r),C&&(this.headerGenerator=Array.isArray(C)?C:[C])}else this.groupList=[],this.groups={}}rowSample(e,r){if(this.table.options.groupBy){var C=this.getGroups(!1)[0];r.push(C.getRows(!1)[0])}return r}virtualRenderFill(){var e=this.table.rowManager.tableElement,r=this.table.rowManager.getVisibleRows();if(this.table.options.groupBy)r=r.filter(C=>C.type!=="group"),e.style.minWidth=r.length?"":this.table.columnManager.getWidth()+"px";else return r}rowAddingIndex(e,r,C){if(this.table.options.groupBy){this.assignRowToGroup(e);var D=e.modules.group.rows;return D.length>1&&(!r||r&&D.indexOf(r)==-1?C?D[0]!==e&&(r=D[0],this.table.rowManager.moveRowInArray(e.modules.group.rows,e,r,!C)):D[D.length-1]!==e&&(r=D[D.length-1],this.table.rowManager.moveRowInArray(e.modules.group.rows,e,r,!C)):this.table.rowManager.moveRowInArray(e.modules.group.rows,e,r,!C)),r}}trackChanges(){this.dispatch("group-changed")}setGroupBy(e){this.table.options.groupBy=e,this.initialized||this.initialize(),this.configureGroupSetup(),!e&&this.table.modExists("columnCalcs")&&this.table.options.columnCalcs===!0&&this.table.modules.columnCalcs.reinitializeCalcs(),this.refreshData(),this.trackChanges()}setGroupValues(e){this.table.options.groupValues=e,this.configureGroupSetup(),this.refreshData(),this.trackChanges()}setGroupStartOpen(e){this.table.options.groupStartOpen=e,this.configureGroupSetup(),this.table.options.groupBy?(this.refreshData(),this.trackChanges()):console.warn("Grouping Update - cant refresh view, no groups have been set")}setGroupHeader(e){this.table.options.groupHeader=e,this.configureGroupSetup(),this.table.options.groupBy?(this.refreshData(),this.trackChanges()):console.warn("Grouping Update - cant refresh view, no groups have been set")}userGetGroups(e){return this.getGroups(!0)}userGetGroupedData(){return this.table.options.groupBy?this.getGroupedData():this.getData()}rowGetGroup(e){return e.modules.group?e.modules.group.getComponent():!1}rowMoving(e,r,C){if(this.table.options.groupBy){!C&&r instanceof Fp&&(r=this.table.rowManager.prevDisplayRow(e)||r);var D=r instanceof Fp?r:r.modules.group,T=e instanceof Fp?e:e.modules.group;D===T?this.table.rowManager.moveRowInArray(D.rows,e,r,C):(T&&T.removeRow(e),D.insertRow(e,r,C))}}rowDeleting(e){this.table.options.groupBy&&e.modules.group&&e.modules.group.removeRow(e)}rowsUpdated(e){this.table.options.groupBy&&this.updateGroupRows(!0)}cellUpdated(e){this.table.options.groupBy&&this.reassignRowToGroup(e.row)}getRows(e){return this.table.options.groupBy&&this.groupIDLookups.length?(this.dispatchExternal("dataGrouping"),this.generateGroups(e),this.subscribedExternal("dataGrouped")&&this.dispatchExternal("dataGrouped",this.getGroups(!0)),this.updateGroupRows()):e.slice(0)}getGroups(e){var r=[];return this.groupList.forEach(function(C){r.push(e?C.getComponent():C)}),r}getChildGroups(e){var r=[];return e||(e=this),e.groupList.forEach(C=>{C.groupList.length?r=r.concat(this.getChildGroups(C)):r.push(C)}),r}wipe(){this.table.options.groupBy&&(this.groupList.forEach(function(e){e.wipe()}),this.groupList=[],this.groups={})}pullGroupListData(e){var r=[];return e.forEach(C=>{var D={};D.level=0,D.rowCount=0,D.headerContent="";var T=[];C.hasSubGroups?(T=this.pullGroupListData(C.groupList),D.level=C.level,D.rowCount=T.length-C.groupList.length,D.headerContent=C.generator(C.key,D.rowCount,C.rows,C),r.push(D),r=r.concat(T)):(D.level=C.level,D.headerContent=C.generator(C.key,C.rows.length,C.rows,C),D.rowCount=C.getRows().length,r.push(D),C.getRows().forEach(p=>{r.push(p.getData("data"))}))}),r}getGroupedData(){return this.pullGroupListData(this.groupList)}getRowGroup(e){var r=!1;return this.options("dataTree")&&(e=this.table.modules.dataTree.getTreeParentRoot(e)),this.groupList.forEach(C=>{var D=C.getRowGroup(e);D&&(r=D)}),r}countGroups(){return this.groupList.length}generateGroups(e){var r=this.groups;this.groups={},this.groupList=[],this.allowedValues&&this.allowedValues[0]?(this.allowedValues[0].forEach(C=>{this.createGroup(C,0,r)}),e.forEach(C=>{this.assignRowToExistingGroup(C,r)})):e.forEach(C=>{this.assignRowToGroup(C,r)}),Object.values(r).forEach(C=>{C.wipe(!0)})}createGroup(e,r,C){var D=r+"_"+e,T;C=C||[],T=new Fp(this,!1,r,e,this.groupIDLookups[0].field,this.headerGenerator[0],C[D]),this.groups[D]=T,this.groupList.push(T)}assignRowToExistingGroup(e,r){var C=this.groupIDLookups[0].func(e.getData()),D="0_"+C;this.groups[D]&&this.groups[D].addRow(e)}assignRowToGroup(e,r){var C=this.groupIDLookups[0].func(e.getData()),D=!this.groups["0_"+C];return D&&this.createGroup(C,0,r),this.groups["0_"+C].addRow(e),!D}reassignRowToGroup(e){if(e.type==="row"){var r=e.modules.group,C=r.getPath(),D=this.getExpectedPath(e),T;T=C.length==D.length&&C.every((p,t)=>p===D[t]),T||(r.removeRow(e),this.assignRowToGroup(e,this.groups),this.refreshData(!0))}}getExpectedPath(e){var r=[],C=e.getData();return this.groupIDLookups.forEach(D=>{r.push(D.func(C))}),r}updateGroupRows(e){var r=[];return this.blockRedraw||(this.groupList.forEach(C=>{r=r.concat(C.getHeadersAndRows())}),e&&this.refreshData(!0)),r}scrollHeaders(e){this.table.options.groupBy&&(this.table.options.renderHorizontal==="virtual"&&(e-=this.table.columnManager.renderer.vDomPadLeft),e=e+"px",this.groupList.forEach(r=>{r.scrollHeader(e)}))}removeGroup(e){var r=e.level+"_"+e.key,C;this.groups[r]&&(delete this.groups[r],C=this.groupList.indexOf(e),C>-1&&this.groupList.splice(C,1))}checkBasicModeGroupHeaderWidth(){var e=this.table.rowManager.tableElement,r=!0;this.table.rowManager.getDisplayRows().forEach((C,D)=>{this.table.rowManager.styleRow(C,D),e.appendChild(C.getElement()),C.initialize(!0),C.type!=="group"&&(r=!1)}),r?e.style.minWidth=this.table.columnManager.getWidth()+"px":e.style.minWidth=""}}BM.moduleName="groupRows";var lP={cellEdit:function(n){n.component.setValueProcessData(n.data.oldValue),n.component.cellRendered()},rowAdd:function(n){n.component.deleteActual(),this.table.rowManager.checkPlaceholder()},rowDelete:function(n){var e=this.table.rowManager.addRowActual(n.data.data,n.data.pos,n.data.index);this.table.options.groupBy&&this.table.modExists("groupRows")&&this.table.modules.groupRows.updateGroupRows(!0),this._rebindRow(n.component,e),this.table.rowManager.checkPlaceholder()},rowMove:function(n){var e=n.data.posFrom-n.data.posTo>0;this.table.rowManager.moveRowActual(n.component,this.table.rowManager.getRowFromPosition(n.data.posFrom),e),this.table.rowManager.regenerateRowPositions(),this.table.rowManager.reRenderInPosition()}},uP={cellEdit:function(n){n.component.setValueProcessData(n.data.newValue),n.component.cellRendered()},rowAdd:function(n){var e=this.table.rowManager.addRowActual(n.data.data,n.data.pos,n.data.index);this.table.options.groupBy&&this.table.modExists("groupRows")&&this.table.modules.groupRows.updateGroupRows(!0),this._rebindRow(n.component,e),this.table.rowManager.checkPlaceholder()},rowDelete:function(n){n.component.deleteActual(),this.table.rowManager.checkPlaceholder()},rowMove:function(n){this.table.rowManager.moveRowActual(n.component,this.table.rowManager.getRowFromPosition(n.data.posTo),n.data.after),this.table.rowManager.regenerateRowPositions(),this.table.rowManager.reRenderInPosition()}};class Wd extends qi{constructor(e){super(e),this.history=[],this.index=-1,this.registerTableOption("history",!1)}initialize(){this.table.options.history&&(this.subscribe("cell-value-updated",this.cellUpdated.bind(this)),this.subscribe("cell-delete",this.clearComponentHistory.bind(this)),this.subscribe("row-delete",this.rowDeleted.bind(this)),this.subscribe("rows-wipe",this.clear.bind(this)),this.subscribe("row-added",this.rowAdded.bind(this)),this.subscribe("row-move",this.rowMoved.bind(this))),this.registerTableFunction("undo",this.undo.bind(this)),this.registerTableFunction("redo",this.redo.bind(this)),this.registerTableFunction("getHistoryUndoSize",this.getHistoryUndoSize.bind(this)),this.registerTableFunction("getHistoryRedoSize",this.getHistoryRedoSize.bind(this)),this.registerTableFunction("clearHistory",this.clear.bind(this))}rowMoved(e,r,C){this.action("rowMove",e,{posFrom:e.getPosition(),posTo:r.getPosition(),to:r,after:C})}rowAdded(e,r,C,D){this.action("rowAdd",e,{data:r,pos:C,index:D})}rowDeleted(e){var r,C;this.table.options.groupBy?(C=e.getComponent().getGroup()._getSelf().rows,r=C.indexOf(e),r&&(r=C[r-1])):(r=e.table.rowManager.getRowIndex(e),r&&(r=e.table.rowManager.rows[r-1])),this.action("rowDelete",e,{data:e.getData(),pos:!r,index:r})}cellUpdated(e){this.action("cellEdit",e,{oldValue:e.oldValue,newValue:e.value})}clear(){this.history=[],this.index=-1}action(e,r,C){this.history=this.history.slice(0,this.index+1),this.history.push({type:e,component:r,data:C}),this.index++}getHistoryUndoSize(){return this.index+1}getHistoryRedoSize(){return this.history.length-(this.index+1)}clearComponentHistory(e){var r=this.history.findIndex(function(C){return C.component===e});r>-1&&(this.history.splice(r,1),r<=this.index&&this.index--,this.clearComponentHistory(e))}undo(){if(this.index>-1){let e=this.history[this.index];return Wd.undoers[e.type].call(this,e),this.index--,this.dispatchExternal("historyUndo",e.type,e.component.getComponent(),e.data),!0}else return console.warn(this.options("history")?"History Undo Error - No more history to undo":"History module not enabled"),!1}redo(){if(this.history.length-1>this.index){this.index++;let e=this.history[this.index];return Wd.redoers[e.type].call(this,e),this.dispatchExternal("historyRedo",e.type,e.component.getComponent(),e.data),!0}else return console.warn(this.options("history")?"History Redo Error - No more history to redo":"History module not enabled"),!1}_rebindRow(e,r){this.history.forEach(function(C){if(C.component instanceof vl)C.component===e&&(C.component=r);else if(C.component instanceof eg&&C.component.row===e){var D=C.component.column.getField();D&&(C.component=r.getCell(D))}})}}Wd.moduleName="history";Wd.undoers=lP;Wd.redoers=uP;class NM extends qi{constructor(e){super(e),this.fieldIndex=[],this.hasIndex=!1}initialize(){this.tableElementCheck()}tableElementCheck(){this.table.originalElement&&this.table.originalElement.tagName==="TABLE"&&(this.table.originalElement.childNodes.length?this.parseTable():console.warn("Unable to parse data from empty table tag, Tabulator should be initialized on a div tag unless importing data from a table element."))}parseTable(){var e=this.table.originalElement,r=this.table.options,C=e.getElementsByTagName("th"),D=e.getElementsByTagName("tbody")[0],T=[];this.hasIndex=!1,this.dispatchExternal("htmlImporting"),D=D?D.getElementsByTagName("tr"):[],this._extractOptions(e,r),C.length?this._extractHeaders(C,D):this._generateBlankHeaders(C,D);for(var p=0;p{p[i.toLowerCase()]=i});for(var t in D){var d=D[t],g;d&&typeof d=="object"&&d.name&&d.name.indexOf("tabulator-")===0&&(g=d.name.replace("tabulator-",""),typeof p[g]<"u"&&(r[p[g]]=this._attribValue(d.value)))}}_attribValue(e){return e==="true"?!0:e==="false"?!1:e}_findCol(e){var r=this.table.options.columns.find(C=>C.title===e);return r||!1}_extractHeaders(e,r){for(var C=0;C(console.error("Import Error:",p||"Unable to import data"),Promise.reject(p)))}lookupImporter(e){var r;return e||(e=this.table.options.importFormat),typeof e=="string"?r=ng.importers[e]:r=e,r||console.error("Import Error - Importer not found:",e),r}importFromFile(e,r){var C=this.lookupImporter(e);if(C)return this.pickFile(r).then(this.importData.bind(this,C)).then(this.structureData.bind(this)).then(this.setData.bind(this)).catch(D=>(console.error("Import Error:",D||"Unable to import file"),Promise.reject(D)))}pickFile(e){return new Promise((r,C)=>{var D=document.createElement("input");D.type="file",D.accept=e,D.addEventListener("change",T=>{var p=D.files[0],t=new FileReader;switch(this.table.options.importReader){case"buffer":t.readAsArrayBuffer(p);break;case"binary":t.readAsBinaryString(p);break;case"url":t.readAsDataURL(p);break;case"text":default:t.readAsText(p)}t.onload=d=>{r(t.result)},t.onerror=d=>{console.warn("File Load Error - Unable to read file"),C()}}),D.click()})}importData(e,r){var C=e.call(this.table,r);return C instanceof Promise?C:C?Promise.resolve(C):Promise.reject()}structureData(e){var r=[];return Array.isArray(e)&&e.length&&Array.isArray(e[0])?(this.table.options.autoColumns?r=this.structureArrayToObject(e):r=this.structureArrayToColumns(e),r):e}structureArrayToObject(e){var r=e.shift(),C=e.map(D=>{var T={};return r.forEach((p,t)=>{T[p]=D[t]}),T});return C}structureArrayToColumns(e){var r=[],C=this.table.getColumns();return C[0]&&e[0][0]&&C[0].getDefinition().title===e[0][0]&&e.shift(),e.forEach(D=>{var T={};D.forEach((p,t)=>{var d=C[t];d&&(T[d.getField()]=p)}),r.push(T)}),r}setData(e){return this.table.setData(e)}}ng.moduleName="import";ng.importers=dP;class VM extends qi{constructor(e){super(e),this.eventMap={rowClick:"row-click",rowDblClick:"row-dblclick",rowContext:"row-contextmenu",rowMouseEnter:"row-mouseenter",rowMouseLeave:"row-mouseleave",rowMouseOver:"row-mouseover",rowMouseOut:"row-mouseout",rowMouseMove:"row-mousemove",rowMouseDown:"row-mousedown",rowMouseUp:"row-mouseup",rowTap:"row",rowDblTap:"row",rowTapHold:"row",cellClick:"cell-click",cellDblClick:"cell-dblclick",cellContext:"cell-contextmenu",cellMouseEnter:"cell-mouseenter",cellMouseLeave:"cell-mouseleave",cellMouseOver:"cell-mouseover",cellMouseOut:"cell-mouseout",cellMouseMove:"cell-mousemove",cellMouseDown:"cell-mousedown",cellMouseUp:"cell-mouseup",cellTap:"cell",cellDblTap:"cell",cellTapHold:"cell",headerClick:"column-click",headerDblClick:"column-dblclick",headerContext:"column-contextmenu",headerMouseEnter:"column-mouseenter",headerMouseLeave:"column-mouseleave",headerMouseOver:"column-mouseover",headerMouseOut:"column-mouseout",headerMouseMove:"column-mousemove",headerMouseDown:"column-mousedown",headerMouseUp:"column-mouseup",headerTap:"column",headerDblTap:"column",headerTapHold:"column",groupClick:"group-click",groupDblClick:"group-dblclick",groupContext:"group-contextmenu",groupMouseEnter:"group-mouseenter",groupMouseLeave:"group-mouseleave",groupMouseOver:"group-mouseover",groupMouseOut:"group-mouseout",groupMouseMove:"group-mousemove",groupMouseDown:"group-mousedown",groupMouseUp:"group-mouseup",groupTap:"group",groupDblTap:"group",groupTapHold:"group"},this.subscribers={},this.touchSubscribers={},this.columnSubscribers={},this.touchWatchers={row:{tap:null,tapDbl:null,tapHold:null},cell:{tap:null,tapDbl:null,tapHold:null},column:{tap:null,tapDbl:null,tapHold:null},group:{tap:null,tapDbl:null,tapHold:null}},this.registerColumnOption("headerClick"),this.registerColumnOption("headerDblClick"),this.registerColumnOption("headerContext"),this.registerColumnOption("headerMouseEnter"),this.registerColumnOption("headerMouseLeave"),this.registerColumnOption("headerMouseOver"),this.registerColumnOption("headerMouseOut"),this.registerColumnOption("headerMouseMove"),this.registerColumnOption("headerMouseDown"),this.registerColumnOption("headerMouseUp"),this.registerColumnOption("headerTap"),this.registerColumnOption("headerDblTap"),this.registerColumnOption("headerTapHold"),this.registerColumnOption("cellClick"),this.registerColumnOption("cellDblClick"),this.registerColumnOption("cellContext"),this.registerColumnOption("cellMouseEnter"),this.registerColumnOption("cellMouseLeave"),this.registerColumnOption("cellMouseOver"),this.registerColumnOption("cellMouseOut"),this.registerColumnOption("cellMouseMove"),this.registerColumnOption("cellMouseDown"),this.registerColumnOption("cellMouseUp"),this.registerColumnOption("cellTap"),this.registerColumnOption("cellDblTap"),this.registerColumnOption("cellTapHold")}initialize(){this.initializeExternalEvents(),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("cell-dblclick",this.cellContentsSelectionFixer.bind(this)),this.subscribe("scroll-horizontal",this.clearTouchWatchers.bind(this)),this.subscribe("scroll-vertical",this.clearTouchWatchers.bind(this))}clearTouchWatchers(){var e=Object.values(this.touchWatchers);e.forEach(r=>{for(let C in r)r[C]=null})}cellContentsSelectionFixer(e,r){var C;if(!(this.table.modExists("edit")&&this.table.modules.edit.currentCell===r)){e.preventDefault();try{document.selection?(C=document.body.createTextRange(),C.moveToElementText(r.getElement()),C.select()):window.getSelection&&(C=document.createRange(),C.selectNode(r.getElement()),window.getSelection().removeAllRanges(),window.getSelection().addRange(C))}catch{}}}initializeExternalEvents(){for(let e in this.eventMap)this.subscriptionChangeExternal(e,this.subscriptionChanged.bind(this,e))}subscriptionChanged(e,r){r?this.subscribers[e]||(this.eventMap[e].includes("-")?(this.subscribers[e]=this.handle.bind(this,e),this.subscribe(this.eventMap[e],this.subscribers[e])):this.subscribeTouchEvents(e)):this.eventMap[e].includes("-")?this.subscribers[e]&&!this.columnSubscribers[e]&&!this.subscribedExternal(e)&&(this.unsubscribe(this.eventMap[e],this.subscribers[e]),delete this.subscribers[e]):this.unsubscribeTouchEvents(e)}subscribeTouchEvents(e){var r=this.eventMap[e];this.touchSubscribers[r+"-touchstart"]||(this.touchSubscribers[r+"-touchstart"]=this.handleTouch.bind(this,r,"start"),this.touchSubscribers[r+"-touchend"]=this.handleTouch.bind(this,r,"end"),this.subscribe(r+"-touchstart",this.touchSubscribers[r+"-touchstart"]),this.subscribe(r+"-touchend",this.touchSubscribers[r+"-touchend"])),this.subscribers[e]=!0}unsubscribeTouchEvents(e){var r=!0,C=this.eventMap[e];if(this.subscribers[e]&&!this.subscribedExternal(e)){delete this.subscribers[e];for(let D in this.eventMap)this.eventMap[D]===C&&this.subscribers[D]&&(r=!1);r&&(this.unsubscribe(C+"-touchstart",this.touchSubscribers[C+"-touchstart"]),this.unsubscribe(C+"-touchend",this.touchSubscribers[C+"-touchend"]),delete this.touchSubscribers[C+"-touchstart"],delete this.touchSubscribers[C+"-touchend"])}}initializeColumn(e){var r=e.definition;for(let C in this.eventMap)r[C]&&(this.subscriptionChanged(C,!0),this.columnSubscribers[C]||(this.columnSubscribers[C]=[]),this.columnSubscribers[C].push(e))}handle(e,r,C){this.dispatchEvent(e,r,C)}handleTouch(e,r,C,D){var T=this.touchWatchers[e];switch(e==="column"&&(e="header"),r){case"start":T.tap=!0,clearTimeout(T.tapHold),T.tapHold=setTimeout(()=>{clearTimeout(T.tapHold),T.tapHold=null,T.tap=null,clearTimeout(T.tapDbl),T.tapDbl=null,this.dispatchEvent(e+"TapHold",C,D)},1e3);break;case"end":T.tap&&(T.tap=null,this.dispatchEvent(e+"Tap",C,D)),T.tapDbl?(clearTimeout(T.tapDbl),T.tapDbl=null,this.dispatchEvent(e+"DblTap",C,D)):T.tapDbl=setTimeout(()=>{clearTimeout(T.tapDbl),T.tapDbl=null},300),clearTimeout(T.tapHold),T.tapHold=null;break}}dispatchEvent(e,r,C){var D=C.getComponent(),T;this.columnSubscribers[e]&&(C instanceof eg?T=C.column.definition[e]:C instanceof vh&&(T=C.definition[e]),T&&T(r,D)),this.dispatchExternal(e,r,D)}}VM.moduleName="interaction";var pP={navPrev:"shift + 9",navNext:9,navUp:38,navDown:40,navLeft:37,navRight:39,scrollPageUp:33,scrollPageDown:34,scrollToStart:36,scrollToEnd:35,undo:["ctrl + 90","meta + 90"],redo:["ctrl + 89","meta + 89"],copyToClipboard:["ctrl + 67","meta + 67"],rangeJumpUp:["ctrl + 38","meta + 38"],rangeJumpDown:["ctrl + 40","meta + 40"],rangeJumpLeft:["ctrl + 37","meta + 37"],rangeJumpRight:["ctrl + 39","meta + 39"],rangeExpandUp:"shift + 38",rangeExpandDown:"shift + 40",rangeExpandLeft:"shift + 37",rangeExpandRight:"shift + 39",rangeExpandJumpUp:["ctrl + shift + 38","meta + shift + 38"],rangeExpandJumpDown:["ctrl + shift + 40","meta + shift + 40"],rangeExpandJumpLeft:["ctrl + shift + 37","meta + shift + 37"],rangeExpandJumpRight:["ctrl + shift + 39","meta + shift + 39"]},mP={keyBlock:function(n){n.stopPropagation(),n.preventDefault()},scrollPageUp:function(n){var e=this.table.rowManager,r=e.scrollTop-e.element.clientHeight;n.preventDefault(),e.displayRowsCount&&(r>=0?e.element.scrollTop=r:e.scrollToRow(e.getDisplayRows()[0])),this.table.element.focus()},scrollPageDown:function(n){var e=this.table.rowManager,r=e.scrollTop+e.element.clientHeight,C=e.element.scrollHeight;n.preventDefault(),e.displayRowsCount&&(r<=C?e.element.scrollTop=r:e.scrollToRow(e.getDisplayRows()[e.displayRowsCount-1])),this.table.element.focus()},scrollToStart:function(n){var e=this.table.rowManager;n.preventDefault(),e.displayRowsCount&&e.scrollToRow(e.getDisplayRows()[0]),this.table.element.focus()},scrollToEnd:function(n){var e=this.table.rowManager;n.preventDefault(),e.displayRowsCount&&e.scrollToRow(e.getDisplayRows()[e.displayRowsCount-1]),this.table.element.focus()},navPrev:function(n){this.dispatch("keybinding-nav-prev",n)},navNext:function(n){this.dispatch("keybinding-nav-next",n)},navLeft:function(n){this.dispatch("keybinding-nav-left",n)},navRight:function(n){this.dispatch("keybinding-nav-right",n)},navUp:function(n){this.dispatch("keybinding-nav-up",n)},navDown:function(n){this.dispatch("keybinding-nav-down",n)},rangeJumpLeft:function(n){this.dispatch("keybinding-nav-range",n,"left",!0,!1)},rangeJumpRight:function(n){this.dispatch("keybinding-nav-range",n,"right",!0,!1)},rangeJumpUp:function(n){this.dispatch("keybinding-nav-range",n,"up",!0,!1)},rangeJumpDown:function(n){this.dispatch("keybinding-nav-range",n,"down",!0,!1)},rangeExpandLeft:function(n){this.dispatch("keybinding-nav-range",n,"left",!1,!0)},rangeExpandRight:function(n){this.dispatch("keybinding-nav-range",n,"right",!1,!0)},rangeExpandUp:function(n){this.dispatch("keybinding-nav-range",n,"up",!1,!0)},rangeExpandDown:function(n){this.dispatch("keybinding-nav-range",n,"down",!1,!0)},rangeExpandJumpLeft:function(n){this.dispatch("keybinding-nav-range",n,"left",!0,!0)},rangeExpandJumpRight:function(n){this.dispatch("keybinding-nav-range",n,"right",!0,!0)},rangeExpandJumpUp:function(n){this.dispatch("keybinding-nav-range",n,"up",!0,!0)},rangeExpandJumpDown:function(n){this.dispatch("keybinding-nav-range",n,"down",!0,!0)},undo:function(n){var e=!1;this.table.options.history&&this.table.modExists("history")&&this.table.modExists("edit")&&(e=this.table.modules.edit.currentCell,e||(n.preventDefault(),this.table.modules.history.undo()))},redo:function(n){var e=!1;this.table.options.history&&this.table.modExists("history")&&this.table.modExists("edit")&&(e=this.table.modules.edit.currentCell,e||(n.preventDefault(),this.table.modules.history.redo()))},copyToClipboard:function(n){this.table.modules.edit.currentCell||this.table.modExists("clipboard",!0)&&this.table.modules.clipboard.copy(!1,!0)}};class Vf extends qi{constructor(e){super(e),this.watchKeys=null,this.pressedKeys=null,this.keyupBinding=!1,this.keydownBinding=!1,this.registerTableOption("keybindings",{}),this.registerTableOption("tabEndNewRow",!1)}initialize(){var e=this.table.options.keybindings,r={};this.watchKeys={},this.pressedKeys=[],e!==!1&&(Object.assign(r,Vf.bindings),Object.assign(r,e),this.mapBindings(r),this.bindEvents()),this.subscribe("table-destroy",this.clearBindings.bind(this))}mapBindings(e){for(let r in e)Vf.actions[r]?e[r]&&(typeof e[r]!="object"&&(e[r]=[e[r]]),e[r].forEach(C=>{var D=Array.isArray(C)?C:[C];D.forEach(T=>{this.mapBinding(r,T)})})):console.warn("Key Binding Error - no such action:",r)}mapBinding(e,r){var C={action:Vf.actions[e],keys:[],ctrl:!1,shift:!1,meta:!1},D=r.toString().toLowerCase().split(" ").join("").split("+");D.forEach(T=>{switch(T){case"ctrl":C.ctrl=!0;break;case"shift":C.shift=!0;break;case"meta":C.meta=!0;break;default:T=isNaN(T)?T.toUpperCase().charCodeAt(0):parseInt(T),C.keys.push(T),this.watchKeys[T]||(this.watchKeys[T]=[]),this.watchKeys[T].push(C)}})}bindEvents(){var e=this;this.keyupBinding=function(r){var C=r.keyCode,D=e.watchKeys[C];D&&(e.pressedKeys.push(C),D.forEach(function(T){e.checkBinding(r,T)}))},this.keydownBinding=function(r){var C=r.keyCode,D=e.watchKeys[C];if(D){var T=e.pressedKeys.indexOf(C);T>-1&&e.pressedKeys.splice(T,1)}},this.table.element.addEventListener("keydown",this.keyupBinding),this.table.element.addEventListener("keyup",this.keydownBinding)}clearBindings(){this.keyupBinding&&this.table.element.removeEventListener("keydown",this.keyupBinding),this.keydownBinding&&this.table.element.removeEventListener("keyup",this.keydownBinding)}checkBinding(e,r){var C=!0;return e.ctrlKey==r.ctrl&&e.shiftKey==r.shift&&e.metaKey==r.meta?(r.keys.forEach(D=>{var T=this.pressedKeys.indexOf(D);T==-1&&(C=!1)}),C&&r.action.call(this,e),!0):!1}}Vf.moduleName="keybindings";Vf.bindings=pP;Vf.actions=mP;class jM extends qi{constructor(e){super(e),this.menuContainer=null,this.nestedMenuBlock=!1,this.currentComponent=null,this.rootPopup=null,this.columnSubscribers={},this.registerTableOption("menuContainer",void 0),this.registerTableOption("rowContextMenu",!1),this.registerTableOption("rowClickMenu",!1),this.registerTableOption("rowDblClickMenu",!1),this.registerTableOption("groupContextMenu",!1),this.registerTableOption("groupClickMenu",!1),this.registerTableOption("groupDblClickMenu",!1),this.registerColumnOption("headerContextMenu"),this.registerColumnOption("headerClickMenu"),this.registerColumnOption("headerDblClickMenu"),this.registerColumnOption("headerMenu"),this.registerColumnOption("headerMenuIcon"),this.registerColumnOption("contextMenu"),this.registerColumnOption("clickMenu"),this.registerColumnOption("dblClickMenu")}initialize(){this.deprecatedOptionsCheck(),this.initializeRowWatchers(),this.initializeGroupWatchers(),this.subscribe("column-init",this.initializeColumn.bind(this))}deprecatedOptionsCheck(){this.deprecationCheck("menuContainer","popupContainer")||(this.table.options.popupContainer=this.table.options.menuContainer)}initializeRowWatchers(){this.table.options.rowContextMenu&&(this.subscribe("row-contextmenu",this.loadMenuEvent.bind(this,this.table.options.rowContextMenu)),this.table.on("rowTapHold",this.loadMenuEvent.bind(this,this.table.options.rowContextMenu))),this.table.options.rowClickMenu&&this.subscribe("row-click",this.loadMenuEvent.bind(this,this.table.options.rowClickMenu)),this.table.options.rowDblClickMenu&&this.subscribe("row-dblclick",this.loadMenuEvent.bind(this,this.table.options.rowDblClickMenu))}initializeGroupWatchers(){this.table.options.groupContextMenu&&(this.subscribe("group-contextmenu",this.loadMenuEvent.bind(this,this.table.options.groupContextMenu)),this.table.on("groupTapHold",this.loadMenuEvent.bind(this,this.table.options.groupContextMenu))),this.table.options.groupClickMenu&&this.subscribe("group-click",this.loadMenuEvent.bind(this,this.table.options.groupClickMenu)),this.table.options.groupDblClickMenu&&this.subscribe("group-dblclick",this.loadMenuEvent.bind(this,this.table.options.groupDblClickMenu))}initializeColumn(e){var r=e.definition;r.headerContextMenu&&!this.columnSubscribers.headerContextMenu&&(this.columnSubscribers.headerContextMenu=this.loadMenuTableColumnEvent.bind(this,"headerContextMenu"),this.subscribe("column-contextmenu",this.columnSubscribers.headerContextMenu),this.table.on("headerTapHold",this.loadMenuTableColumnEvent.bind(this,"headerContextMenu"))),r.headerClickMenu&&!this.columnSubscribers.headerClickMenu&&(this.columnSubscribers.headerClickMenu=this.loadMenuTableColumnEvent.bind(this,"headerClickMenu"),this.subscribe("column-click",this.columnSubscribers.headerClickMenu)),r.headerDblClickMenu&&!this.columnSubscribers.headerDblClickMenu&&(this.columnSubscribers.headerDblClickMenu=this.loadMenuTableColumnEvent.bind(this,"headerDblClickMenu"),this.subscribe("column-dblclick",this.columnSubscribers.headerDblClickMenu)),r.headerMenu&&this.initializeColumnHeaderMenu(e),r.contextMenu&&!this.columnSubscribers.contextMenu&&(this.columnSubscribers.contextMenu=this.loadMenuTableCellEvent.bind(this,"contextMenu"),this.subscribe("cell-contextmenu",this.columnSubscribers.contextMenu),this.table.on("cellTapHold",this.loadMenuTableCellEvent.bind(this,"contextMenu"))),r.clickMenu&&!this.columnSubscribers.clickMenu&&(this.columnSubscribers.clickMenu=this.loadMenuTableCellEvent.bind(this,"clickMenu"),this.subscribe("cell-click",this.columnSubscribers.clickMenu)),r.dblClickMenu&&!this.columnSubscribers.dblClickMenu&&(this.columnSubscribers.dblClickMenu=this.loadMenuTableCellEvent.bind(this,"dblClickMenu"),this.subscribe("cell-dblclick",this.columnSubscribers.dblClickMenu))}initializeColumnHeaderMenu(e){var r=e.definition.headerMenuIcon,C;C=document.createElement("span"),C.classList.add("tabulator-header-popup-button"),r?(typeof r=="function"&&(r=r(e.getComponent())),r instanceof HTMLElement?C.appendChild(r):C.innerHTML=r):C.innerHTML="⋮",C.addEventListener("click",D=>{D.stopPropagation(),D.preventDefault(),this.loadMenuEvent(e.definition.headerMenu,D,e)}),e.titleElement.insertBefore(C,e.titleElement.firstChild)}loadMenuTableCellEvent(e,r,C){C._cell&&(C=C._cell),C.column.definition[e]&&this.loadMenuEvent(C.column.definition[e],r,C)}loadMenuTableColumnEvent(e,r,C){C._column&&(C=C._column),C.definition[e]&&this.loadMenuEvent(C.definition[e],r,C)}loadMenuEvent(e,r,C){C._group?C=C._group:C._row&&(C=C._row),e=typeof e=="function"?e.call(this.table,r,C.getComponent()):e,this.loadMenu(r,C,e)}loadMenu(e,r,C,D,T){var p=!(e instanceof MouseEvent),t=document.createElement("div"),d;if(t.classList.add("tabulator-menu"),p||e.preventDefault(),!(!C||!C.length)){if(D)d=T.child(t);else{if(this.nestedMenuBlock){if(this.rootPopup)return}else this.nestedMenuBlock=setTimeout(()=>{this.nestedMenuBlock=!1},100);this.rootPopup&&this.rootPopup.hide(),this.rootPopup=d=this.popup(t)}C.forEach(g=>{var i=document.createElement("div"),M=g.label,v=g.disabled;g.separator?i.classList.add("tabulator-menu-separator"):(i.classList.add("tabulator-menu-item"),typeof M=="function"&&(M=M.call(this.table,r.getComponent())),M instanceof Node?i.appendChild(M):i.innerHTML=M,typeof v=="function"&&(v=v.call(this.table,r.getComponent())),v?(i.classList.add("tabulator-menu-item-disabled"),i.addEventListener("click",f=>{f.stopPropagation()})):g.menu&&g.menu.length?i.addEventListener("click",f=>{f.stopPropagation(),this.loadMenu(f,r,g.menu,i,d)}):g.action&&i.addEventListener("click",f=>{g.action(f,r.getComponent())}),g.menu&&g.menu.length&&i.classList.add("tabulator-menu-item-submenu")),t.appendChild(i)}),t.addEventListener("click",g=>{this.rootPopup&&this.rootPopup.hide()}),d.show(D||e),d===this.rootPopup&&(this.rootPopup.hideOnBlur(()=>{this.rootPopup=null,this.currentComponent&&(this.dispatch("menu-closed",C,d),this.dispatchExternal("menuClosed",this.currentComponent.getComponent()),this.currentComponent=null)}),this.currentComponent=r,this.dispatch("menu-opened",C,d),this.dispatchExternal("menuOpened",r.getComponent()))}}}jM.moduleName="menu";class UM extends qi{constructor(e){super(e),this.placeholderElement=this.createPlaceholderElement(),this.hoverElement=!1,this.checkTimeout=!1,this.checkPeriod=250,this.moving=!1,this.toCol=!1,this.toColAfter=!1,this.startX=0,this.autoScrollMargin=40,this.autoScrollStep=5,this.autoScrollTimeout=!1,this.touchMove=!1,this.moveHover=this.moveHover.bind(this),this.endMove=this.endMove.bind(this),this.registerTableOption("movableColumns",!1)}createPlaceholderElement(){var e=document.createElement("div");return e.classList.add("tabulator-col"),e.classList.add("tabulator-col-placeholder"),e}initialize(){this.table.options.movableColumns&&(this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("alert-show",this.abortMove.bind(this)))}abortMove(){clearTimeout(this.checkTimeout)}initializeColumn(e){var r=this,C={},D;!e.modules.frozen&&!e.isGroup&&(D=e.getElement(),C.mousemove=(function(T){e.parent===r.moving.parent&&((r.touchMove?T.touches[0].pageX:T.pageX)-oo.elOffset(D).left+r.table.columnManager.contentsElement.scrollLeft>e.getWidth()/2?(r.toCol!==e||!r.toColAfter)&&(D.parentNode.insertBefore(r.placeholderElement,D.nextSibling),r.moveColumn(e,!0)):(r.toCol!==e||r.toColAfter)&&(D.parentNode.insertBefore(r.placeholderElement,D),r.moveColumn(e,!1)))}).bind(r),D.addEventListener("mousedown",function(T){r.touchMove=!1,T.which===1&&(r.checkTimeout=setTimeout(function(){r.startMove(T,e)},r.checkPeriod))}),D.addEventListener("mouseup",function(T){T.which===1&&r.checkTimeout&&clearTimeout(r.checkTimeout)}),r.bindTouchEvents(e)),e.modules.moveColumn=C}bindTouchEvents(e){var r=e.getElement(),C=!1,D,T,p,t,d,g;r.addEventListener("touchstart",i=>{this.checkTimeout=setTimeout(()=>{this.touchMove=!0,D=e.nextColumn(),p=D?D.getWidth()/2:0,T=e.prevColumn(),t=T?T.getWidth()/2:0,d=0,g=0,C=!1,this.startMove(i,e)},this.checkPeriod)},{passive:!0}),r.addEventListener("touchmove",i=>{var M,v;this.moving&&(this.moveHover(i),C||(C=i.touches[0].pageX),M=i.touches[0].pageX-C,M>0?D&&M-d>p&&(v=D,v!==e&&(C=i.touches[0].pageX,v.getElement().parentNode.insertBefore(this.placeholderElement,v.getElement().nextSibling),this.moveColumn(v,!0))):T&&-M-g>t&&(v=T,v!==e&&(C=i.touches[0].pageX,v.getElement().parentNode.insertBefore(this.placeholderElement,v.getElement()),this.moveColumn(v,!1))),v&&(D=v.nextColumn(),d=p,p=D?D.getWidth()/2:0,T=v.prevColumn(),g=t,t=T?T.getWidth()/2:0))},{passive:!0}),r.addEventListener("touchend",i=>{this.checkTimeout&&clearTimeout(this.checkTimeout),this.moving&&this.endMove(i)})}startMove(e,r){var C=r.getElement(),D=this.table.columnManager.getContentsElement(),T=this.table.columnManager.getHeadersElement();this.moving=r,this.startX=(this.touchMove?e.touches[0].pageX:e.pageX)-oo.elOffset(C).left,this.table.element.classList.add("tabulator-block-select"),this.placeholderElement.style.width=r.getWidth()+"px",this.placeholderElement.style.height=r.getHeight()+"px",C.parentNode.insertBefore(this.placeholderElement,C),C.parentNode.removeChild(C),this.hoverElement=C.cloneNode(!0),this.hoverElement.classList.add("tabulator-moving"),D.appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.bottom=D.clientHeight-T.offsetHeight+"px",this.touchMove||(this._bindMouseMove(),document.body.addEventListener("mousemove",this.moveHover),document.body.addEventListener("mouseup",this.endMove)),this.moveHover(e)}_bindMouseMove(){this.table.columnManager.columnsByIndex.forEach(function(e){e.modules.moveColumn.mousemove&&e.getElement().addEventListener("mousemove",e.modules.moveColumn.mousemove)})}_unbindMouseMove(){this.table.columnManager.columnsByIndex.forEach(function(e){e.modules.moveColumn.mousemove&&e.getElement().removeEventListener("mousemove",e.modules.moveColumn.mousemove)})}moveColumn(e,r){var C=this.moving.getCells();this.toCol=e,this.toColAfter=r,r?e.getCells().forEach(function(D,T){var p=D.getElement(!0);p.parentNode&&C[T]&&p.parentNode.insertBefore(C[T].getElement(),p.nextSibling)}):e.getCells().forEach(function(D,T){var p=D.getElement(!0);p.parentNode&&C[T]&&p.parentNode.insertBefore(C[T].getElement(),p)})}endMove(e){(e.which===1||this.touchMove)&&(this._unbindMouseMove(),this.placeholderElement.parentNode.insertBefore(this.moving.getElement(),this.placeholderElement.nextSibling),this.placeholderElement.parentNode.removeChild(this.placeholderElement),this.hoverElement.parentNode.removeChild(this.hoverElement),this.table.element.classList.remove("tabulator-block-select"),this.toCol&&this.table.columnManager.moveColumnActual(this.moving,this.toCol,this.toColAfter),this.moving=!1,this.toCol=!1,this.toColAfter=!1,this.touchMove||(document.body.removeEventListener("mousemove",this.moveHover),document.body.removeEventListener("mouseup",this.endMove)))}moveHover(e){var r=this.table.columnManager.getContentsElement(),C=r.scrollLeft,D=(this.touchMove?e.touches[0].pageX:e.pageX)-oo.elOffset(r).left+C,T;this.hoverElement.style.left=D-this.startX+"px",D-C{T=Math.max(0,C-5),this.table.rowManager.getElement().scrollLeft=T,this.autoScrollTimeout=!1},1))),C+r.clientWidth-D{T=Math.min(r.clientWidth,C+5),this.table.rowManager.getElement().scrollLeft=T,this.autoScrollTimeout=!1},1)))}}UM.moduleName="moveColumn";class $y extends qi{constructor(e){super(e),this.placeholderElement=this.createPlaceholderElement(),this.hoverElement=!1,this.checkTimeout=!1,this.checkPeriod=150,this.moving=!1,this.toRow=!1,this.toRowAfter=!1,this.hasHandle=!1,this.startY=0,this.startX=0,this.moveHover=this.moveHover.bind(this),this.endMove=this.endMove.bind(this),this.tableRowDropEvent=!1,this.touchMove=!1,this.connection=!1,this.connectionSelectorsTables=!1,this.connectionSelectorsElements=!1,this.connectionElements=[],this.connections=[],this.connectedTable=!1,this.connectedRow=!1,this.registerTableOption("movableRows",!1),this.registerTableOption("movableRowsConnectedTables",!1),this.registerTableOption("movableRowsConnectedElements",!1),this.registerTableOption("movableRowsSender",!1),this.registerTableOption("movableRowsReceiver","insert"),this.registerColumnOption("rowHandle")}createPlaceholderElement(){var e=document.createElement("div");return e.classList.add("tabulator-row"),e.classList.add("tabulator-row-placeholder"),e}initialize(){this.table.options.movableRows&&(this.connectionSelectorsTables=this.table.options.movableRowsConnectedTables,this.connectionSelectorsElements=this.table.options.movableRowsConnectedElements,this.connection=this.connectionSelectorsTables||this.connectionSelectorsElements,this.subscribe("cell-init",this.initializeCell.bind(this)),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("row-init",this.initializeRow.bind(this)))}initializeGroupHeader(e){var r=this,C={};C.mouseup=(function(D){r.tableRowDrop(D,e)}).bind(r),C.mousemove=(function(D){var T;D.pageY-oo.elOffset(e.element).top+r.table.rowManager.element.scrollTop>e.getHeight()/2?(r.toRow!==e||!r.toRowAfter)&&(T=e.getElement(),T.parentNode.insertBefore(r.placeholderElement,T.nextSibling),r.moveRow(e,!0)):(r.toRow!==e||r.toRowAfter)&&(T=e.getElement(),T.previousSibling&&(T.parentNode.insertBefore(r.placeholderElement,T),r.moveRow(e,!1)))}).bind(r),e.modules.moveRow=C}initializeRow(e){var r=this,C={},D;C.mouseup=(function(T){r.tableRowDrop(T,e)}).bind(r),C.mousemove=(function(T){var p=e.getElement();T.pageY-oo.elOffset(p).top+r.table.rowManager.element.scrollTop>e.getHeight()/2?(r.toRow!==e||!r.toRowAfter)&&(p.parentNode.insertBefore(r.placeholderElement,p.nextSibling),r.moveRow(e,!0)):(r.toRow!==e||r.toRowAfter)&&(p.parentNode.insertBefore(r.placeholderElement,p),r.moveRow(e,!1))}).bind(r),this.hasHandle||(D=e.getElement(),D.addEventListener("mousedown",function(T){T.which===1&&(r.checkTimeout=setTimeout(function(){r.startMove(T,e)},r.checkPeriod))}),D.addEventListener("mouseup",function(T){T.which===1&&r.checkTimeout&&clearTimeout(r.checkTimeout)}),this.bindTouchEvents(e,e.getElement())),e.modules.moveRow=C}initializeColumn(e){e.definition.rowHandle&&this.table.options.movableRows!==!1&&(this.hasHandle=!0)}initializeCell(e){if(e.column.definition.rowHandle&&this.table.options.movableRows!==!1){var r=this,C=e.getElement(!0);C.addEventListener("mousedown",function(D){D.which===1&&(r.checkTimeout=setTimeout(function(){r.startMove(D,e.row)},r.checkPeriod))}),C.addEventListener("mouseup",function(D){D.which===1&&r.checkTimeout&&clearTimeout(r.checkTimeout)}),this.bindTouchEvents(e.row,C)}}bindTouchEvents(e,r){var C=!1,D,T,p,t,d,g;r.addEventListener("touchstart",i=>{this.checkTimeout=setTimeout(()=>{this.touchMove=!0,D=e.nextRow(),p=D?D.getHeight()/2:0,T=e.prevRow(),t=T?T.getHeight()/2:0,d=0,g=0,C=!1,this.startMove(i,e)},this.checkPeriod)},{passive:!0}),this.moving,this.toRow,this.toRowAfter,r.addEventListener("touchmove",i=>{var M,v;this.moving&&(i.preventDefault(),this.moveHover(i),C||(C=i.touches[0].pageY),M=i.touches[0].pageY-C,M>0?D&&M-d>p&&(v=D,v!==e&&(C=i.touches[0].pageY,v.getElement().parentNode.insertBefore(this.placeholderElement,v.getElement().nextSibling),this.moveRow(v,!0))):T&&-M-g>t&&(v=T,v!==e&&(C=i.touches[0].pageY,v.getElement().parentNode.insertBefore(this.placeholderElement,v.getElement()),this.moveRow(v,!1))),v&&(D=v.nextRow(),d=p,p=D?D.getHeight()/2:0,T=v.prevRow(),g=t,t=T?T.getHeight()/2:0))}),r.addEventListener("touchend",i=>{this.checkTimeout&&clearTimeout(this.checkTimeout),this.moving&&(this.endMove(i),this.touchMove=!1)})}_bindMouseMove(){this.table.rowManager.getDisplayRows().forEach(e=>{(e.type==="row"||e.type==="group")&&e.modules.moveRow&&e.modules.moveRow.mousemove&&e.getElement().addEventListener("mousemove",e.modules.moveRow.mousemove)})}_unbindMouseMove(){this.table.rowManager.getDisplayRows().forEach(e=>{(e.type==="row"||e.type==="group")&&e.modules.moveRow&&e.modules.moveRow.mousemove&&e.getElement().removeEventListener("mousemove",e.modules.moveRow.mousemove)})}startMove(e,r){var C=r.getElement();this.setStartPosition(e,r),this.moving=r,this.table.element.classList.add("tabulator-block-select"),this.placeholderElement.style.width=r.getWidth()+"px",this.placeholderElement.style.height=r.getHeight()+"px",this.connection?(this.table.element.classList.add("tabulator-movingrow-sending"),this.connectToTables(r)):(C.parentNode.insertBefore(this.placeholderElement,C),C.parentNode.removeChild(C)),this.hoverElement=C.cloneNode(!0),this.hoverElement.classList.add("tabulator-moving"),this.connection?(document.body.appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.top="0",this.hoverElement.style.width=this.table.element.clientWidth+"px",this.hoverElement.style.whiteSpace="nowrap",this.hoverElement.style.overflow="hidden",this.hoverElement.style.pointerEvents="none"):(this.table.rowManager.getTableElement().appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.top="0",this._bindMouseMove()),document.body.addEventListener("mousemove",this.moveHover),document.body.addEventListener("mouseup",this.endMove),this.dispatchExternal("rowMoving",r.getComponent()),this.moveHover(e)}setStartPosition(e,r){var C=this.touchMove?e.touches[0].pageX:e.pageX,D=this.touchMove?e.touches[0].pageY:e.pageY,T,p;T=r.getElement(),this.connection?(p=T.getBoundingClientRect(),this.startX=p.left-C+window.pageXOffset,this.startY=p.top-D+window.pageYOffset):this.startY=D-T.getBoundingClientRect().top}endMove(e){(!e||e.which===1||this.touchMove)&&(this._unbindMouseMove(),this.connection||(this.placeholderElement.parentNode.insertBefore(this.moving.getElement(),this.placeholderElement.nextSibling),this.placeholderElement.parentNode.removeChild(this.placeholderElement)),this.hoverElement.parentNode.removeChild(this.hoverElement),this.table.element.classList.remove("tabulator-block-select"),this.toRow?this.table.rowManager.moveRow(this.moving,this.toRow,this.toRowAfter):this.dispatchExternal("rowMoveCancelled",this.moving.getComponent()),this.moving=!1,this.toRow=!1,this.toRowAfter=!1,document.body.removeEventListener("mousemove",this.moveHover),document.body.removeEventListener("mouseup",this.endMove),this.connection&&(this.table.element.classList.remove("tabulator-movingrow-sending"),this.disconnectFromTables()))}moveRow(e,r){this.toRow=e,this.toRowAfter=r}moveHover(e){this.connection?this.moveHoverConnections.call(this,e):this.moveHoverTable.call(this,e)}moveHoverTable(e){var r=this.table.rowManager.getElement(),C=r.scrollTop,D=(this.touchMove?e.touches[0].pageY:e.pageY)-r.getBoundingClientRect().top+C;this.hoverElement.style.top=Math.min(D-this.startY,this.table.rowManager.element.scrollHeight-this.hoverElement.offsetHeight)+"px"}moveHoverConnections(e){this.hoverElement.style.left=this.startX+(this.touchMove?e.touches[0].pageX:e.pageX)+"px",this.hoverElement.style.top=this.startY+(this.touchMove?e.touches[0].pageY:e.pageY)+"px"}elementRowDrop(e,r,C){this.dispatchExternal("movableRowsElementDrop",e,r,C?C.getComponent():!1)}connectToTables(e){var r;this.connectionSelectorsTables&&(r=this.commsConnections(this.connectionSelectorsTables),this.dispatchExternal("movableRowsSendingStart",r),this.commsSend(this.connectionSelectorsTables,"moveRow","connect",{row:e})),this.connectionSelectorsElements&&(this.connectionElements=[],Array.isArray(this.connectionSelectorsElements)||(this.connectionSelectorsElements=[this.connectionSelectorsElements]),this.connectionSelectorsElements.forEach(C=>{typeof C=="string"?this.connectionElements=this.connectionElements.concat(Array.prototype.slice.call(document.querySelectorAll(C))):this.connectionElements.push(C)}),this.connectionElements.forEach(C=>{var D=T=>{this.elementRowDrop(T,C,this.moving)};C.addEventListener("mouseup",D),C.tabulatorElementDropEvent=D,C.classList.add("tabulator-movingrow-receiving")}))}disconnectFromTables(){var e;this.connectionSelectorsTables&&(e=this.commsConnections(this.connectionSelectorsTables),this.dispatchExternal("movableRowsSendingStop",e),this.commsSend(this.connectionSelectorsTables,"moveRow","disconnect")),this.connectionElements.forEach(r=>{r.classList.remove("tabulator-movingrow-receiving"),r.removeEventListener("mouseup",r.tabulatorElementDropEvent),delete r.tabulatorElementDropEvent})}connect(e,r){return this.connectedTable?(console.warn("Move Row Error - Table cannot accept connection, already connected to table:",this.connectedTable),!1):(this.connectedTable=e,this.connectedRow=r,this.table.element.classList.add("tabulator-movingrow-receiving"),this.table.rowManager.getDisplayRows().forEach(C=>{C.type==="row"&&C.modules.moveRow&&C.modules.moveRow.mouseup&&C.getElement().addEventListener("mouseup",C.modules.moveRow.mouseup)}),this.tableRowDropEvent=this.tableRowDrop.bind(this),this.table.element.addEventListener("mouseup",this.tableRowDropEvent),this.dispatchExternal("movableRowsReceivingStart",r,e),!0)}disconnect(e){e===this.connectedTable?(this.connectedTable=!1,this.connectedRow=!1,this.table.element.classList.remove("tabulator-movingrow-receiving"),this.table.rowManager.getDisplayRows().forEach(r=>{r.type==="row"&&r.modules.moveRow&&r.modules.moveRow.mouseup&&r.getElement().removeEventListener("mouseup",r.modules.moveRow.mouseup)}),this.table.element.removeEventListener("mouseup",this.tableRowDropEvent),this.dispatchExternal("movableRowsReceivingStop",e)):console.warn("Move Row Error - trying to disconnect from non connected table")}dropComplete(e,r,C){var D=!1;if(C){switch(typeof this.table.options.movableRowsSender){case"string":D=this.senders[this.table.options.movableRowsSender];break;case"function":D=this.table.options.movableRowsSender;break}D?D.call(this,this.moving?this.moving.getComponent():void 0,r?r.getComponent():void 0,e):this.table.options.movableRowsSender&&console.warn("Mover Row Error - no matching sender found:",this.table.options.movableRowsSender),this.dispatchExternal("movableRowsSent",this.moving.getComponent(),r?r.getComponent():void 0,e)}else this.dispatchExternal("movableRowsSentFailed",this.moving.getComponent(),r?r.getComponent():void 0,e);this.endMove()}tableRowDrop(e,r){var C=!1,D=!1;switch(e.stopImmediatePropagation(),typeof this.table.options.movableRowsReceiver){case"string":C=this.receivers[this.table.options.movableRowsReceiver];break;case"function":C=this.table.options.movableRowsReceiver;break}C?D=C.call(this,this.connectedRow.getComponent(),r?r.getComponent():void 0,this.connectedTable):console.warn("Mover Row Error - no matching receiver found:",this.table.options.movableRowsReceiver),D?this.dispatchExternal("movableRowsReceived",this.connectedRow.getComponent(),r?r.getComponent():void 0,this.connectedTable):this.dispatchExternal("movableRowsReceivedFailed",this.connectedRow.getComponent(),r?r.getComponent():void 0,this.connectedTable),this.commsSend(this.connectedTable,"moveRow","dropcomplete",{row:r,success:D})}commsReceived(e,r,C){switch(r){case"connect":return this.connect(e,C.row);case"disconnect":return this.disconnect(e);case"dropcomplete":return this.dropComplete(e,C.row,C.success)}}}$y.prototype.receivers={insert:function(n,e,r){return this.table.addRow(n.getData(),void 0,e),!0},add:function(n,e,r){return this.table.addRow(n.getData()),!0},update:function(n,e,r){return e?(e.update(n.getData()),!0):!1},replace:function(n,e,r){return e?(this.table.addRow(n.getData(),void 0,e),e.delete(),!0):!1}};$y.prototype.senders={delete:function(n,e,r){n.delete()}};$y.moduleName="moveRow";var gP={};class o0 extends qi{constructor(e){super(e),this.allowedTypes=["","data","edit","clipboard"],this.enabled=!0,this.registerColumnOption("mutator"),this.registerColumnOption("mutatorParams"),this.registerColumnOption("mutatorData"),this.registerColumnOption("mutatorDataParams"),this.registerColumnOption("mutatorEdit"),this.registerColumnOption("mutatorEditParams"),this.registerColumnOption("mutatorClipboard"),this.registerColumnOption("mutatorClipboardParams"),this.registerColumnOption("mutateLink")}initialize(){this.subscribe("cell-value-changing",this.transformCell.bind(this)),this.subscribe("cell-value-changed",this.mutateLink.bind(this)),this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("row-data-init-before",this.rowDataChanged.bind(this)),this.subscribe("row-data-changing",this.rowDataChanged.bind(this))}rowDataChanged(e,r,C){return this.transformRow(r,"data",C)}initializeColumn(e){var r=!1,C={};this.allowedTypes.forEach(D=>{var T="mutator"+(D.charAt(0).toUpperCase()+D.slice(1)),p;e.definition[T]&&(p=this.lookupMutator(e.definition[T]),p&&(r=!0,C[T]={mutator:p,params:e.definition[T+"Params"]||{}}))}),r&&(e.modules.mutate=C)}lookupMutator(e){var r=!1;switch(typeof e){case"string":o0.mutators[e]?r=o0.mutators[e]:console.warn("Mutator Error - No such mutator found, ignoring: ",e);break;case"function":r=e;break}return r}transformRow(e,r,C){var D="mutator"+(r.charAt(0).toUpperCase()+r.slice(1)),T;return this.enabled&&this.table.columnManager.traverse(p=>{var t,d,g;p.modules.mutate&&(t=p.modules.mutate[D]||p.modules.mutate.mutator||!1,t&&(T=p.getFieldValue(typeof C<"u"?C:e),(r=="data"&&!C||typeof T<"u")&&(g=p.getComponent(),d=typeof t.params=="function"?t.params(T,e,r,g):t.params,p.setFieldValue(e,t.mutator(T,e,r,d,g)))))}),e}transformCell(e,r){if(e.column.modules.mutate){var C=e.column.modules.mutate.mutatorEdit||e.column.modules.mutate.mutator||!1,D={};if(C)return D=Object.assign(D,e.row.getData()),e.column.setFieldValue(D,r),C.mutator(r,D,"edit",C.params,e.getComponent())}return r}mutateLink(e){var r=e.column.definition.mutateLink;r&&(Array.isArray(r)||(r=[r]),r.forEach(C=>{var D=e.row.getCell(C);D&&D.setValue(D.getValue(),!0,!0)}))}enable(){this.enabled=!0}disable(){this.enabled=!1}}o0.moduleName="mutator";o0.mutators=gP;function vP(n,e,r,C,D){var T=document.createElement("span"),p=document.createElement("span"),t=document.createElement("span"),d=document.createElement("span"),g=document.createElement("span"),i=document.createElement("span");return this.table.modules.localize.langBind("pagination|counter|showing",M=>{p.innerHTML=M}),this.table.modules.localize.langBind("pagination|counter|of",M=>{d.innerHTML=M}),this.table.modules.localize.langBind("pagination|counter|rows",M=>{i.innerHTML=M}),C?(t.innerHTML=" "+e+"-"+Math.min(e+n-1,C)+" ",g.innerHTML=" "+C+" ",T.appendChild(p),T.appendChild(t),T.appendChild(d),T.appendChild(g),T.appendChild(i)):(t.innerHTML=" 0 ",T.appendChild(p),T.appendChild(t),T.appendChild(i)),T}function yP(n,e,r,C,D){var T=document.createElement("span"),p=document.createElement("span"),t=document.createElement("span"),d=document.createElement("span"),g=document.createElement("span"),i=document.createElement("span");return this.table.modules.localize.langBind("pagination|counter|showing",M=>{p.innerHTML=M}),t.innerHTML=" "+r+" ",this.table.modules.localize.langBind("pagination|counter|of",M=>{d.innerHTML=M}),g.innerHTML=" "+D+" ",this.table.modules.localize.langBind("pagination|counter|pages",M=>{i.innerHTML=M}),T.appendChild(p),T.appendChild(t),T.appendChild(d),T.appendChild(g),T.appendChild(i),T}var bP={rows:vP,pages:yP};class rg extends qi{constructor(e){super(e),this.mode="local",this.progressiveLoad=!1,this.element=null,this.pageCounterElement=null,this.pageCounter=null,this.size=0,this.page=1,this.count=5,this.max=1,this.remoteRowCountEstimate=null,this.initialLoad=!0,this.dataChanging=!1,this.pageSizes=[],this.registerTableOption("pagination",!1),this.registerTableOption("paginationMode","local"),this.registerTableOption("paginationSize",!1),this.registerTableOption("paginationInitialPage",1),this.registerTableOption("paginationCounter",!1),this.registerTableOption("paginationCounterElement",!1),this.registerTableOption("paginationButtonCount",5),this.registerTableOption("paginationSizeSelector",!1),this.registerTableOption("paginationElement",!1),this.registerTableOption("paginationAddRow","page"),this.registerTableOption("progressiveLoad",!1),this.registerTableOption("progressiveLoadDelay",0),this.registerTableOption("progressiveLoadScrollMargin",0),this.registerTableFunction("setMaxPage",this.setMaxPage.bind(this)),this.registerTableFunction("setPage",this.setPage.bind(this)),this.registerTableFunction("setPageToRow",this.userSetPageToRow.bind(this)),this.registerTableFunction("setPageSize",this.userSetPageSize.bind(this)),this.registerTableFunction("getPageSize",this.getPageSize.bind(this)),this.registerTableFunction("previousPage",this.previousPage.bind(this)),this.registerTableFunction("nextPage",this.nextPage.bind(this)),this.registerTableFunction("getPage",this.getPage.bind(this)),this.registerTableFunction("getPageMax",this.getPageMax.bind(this)),this.registerComponentFunction("row","pageTo",this.setPageToRow.bind(this))}initialize(){this.table.options.pagination?(this.subscribe("row-deleted",this.rowsUpdated.bind(this)),this.subscribe("row-added",this.rowsUpdated.bind(this)),this.subscribe("data-processed",this.initialLoadComplete.bind(this)),this.subscribe("table-built",this.calculatePageSizes.bind(this)),this.subscribe("footer-redraw",this.footerRedraw.bind(this)),this.table.options.paginationAddRow=="page"&&this.subscribe("row-adding-position",this.rowAddingPosition.bind(this)),this.table.options.paginationMode==="remote"&&(this.subscribe("data-params",this.remotePageParams.bind(this)),this.subscribe("data-loaded",this._parseRemoteData.bind(this))),this.table.options.progressiveLoad&&console.error("Progressive Load Error - Pagination and progressive load cannot be used at the same time"),this.registerDisplayHandler(this.restOnRenderBefore.bind(this),40),this.registerDisplayHandler(this.getRows.bind(this),50),this.createElements(),this.initializePageCounter(),this.initializePaginator()):this.table.options.progressiveLoad&&(this.subscribe("data-params",this.remotePageParams.bind(this)),this.subscribe("data-loaded",this._parseRemoteData.bind(this)),this.subscribe("table-built",this.calculatePageSizes.bind(this)),this.subscribe("data-processed",this.initialLoadComplete.bind(this)),this.initializeProgressive(this.table.options.progressiveLoad),this.table.options.progressiveLoad==="scroll"&&this.subscribe("scroll-vertical",this.scrollVertical.bind(this)))}rowAddingPosition(e,r){var C=this.table.rowManager,D=C.getDisplayRows(),T;return r?D.length?T=D[0]:C.activeRows.length&&(T=C.activeRows[C.activeRows.length-1],r=!1):D.length&&(T=D[D.length-1],r=!(D.length{}))}restOnRenderBefore(e,r){return r||this.mode==="local"&&this.reset(),e}rowsUpdated(){this.refreshData(!0,"all")}createElements(){var e;this.element=document.createElement("span"),this.element.classList.add("tabulator-paginator"),this.pagesElement=document.createElement("span"),this.pagesElement.classList.add("tabulator-pages"),e=document.createElement("button"),e.classList.add("tabulator-page"),e.setAttribute("type","button"),e.setAttribute("role","button"),e.setAttribute("aria-label",""),e.setAttribute("title",""),this.firstBut=e.cloneNode(!0),this.firstBut.setAttribute("data-page","first"),this.prevBut=e.cloneNode(!0),this.prevBut.setAttribute("data-page","prev"),this.nextBut=e.cloneNode(!0),this.nextBut.setAttribute("data-page","next"),this.lastBut=e.cloneNode(!0),this.lastBut.setAttribute("data-page","last"),this.table.options.paginationSizeSelector&&(this.pageSizeSelect=document.createElement("select"),this.pageSizeSelect.classList.add("tabulator-page-size"))}generatePageSizeSelectList(){var e=[];if(this.pageSizeSelect){if(Array.isArray(this.table.options.paginationSizeSelector))e=this.table.options.paginationSizeSelector,this.pageSizes=e,this.pageSizes.indexOf(this.size)==-1&&e.unshift(this.size);else if(this.pageSizes.indexOf(this.size)==-1){e=[];for(let r=1;r<5;r++)e.push(this.size*r);this.pageSizes=e}else e=this.pageSizes;for(;this.pageSizeSelect.firstChild;)this.pageSizeSelect.removeChild(this.pageSizeSelect.firstChild);e.forEach(r=>{var C=document.createElement("option");C.value=r,r===!0?this.langBind("pagination|all",function(D){C.innerHTML=D}):C.innerHTML=r,this.pageSizeSelect.appendChild(C)}),this.pageSizeSelect.value=this.size}}initializePageCounter(){var e=this.table.options.paginationCounter,r=null;e&&(typeof e=="function"?r=e:r=rg.pageCounters[e],r?(this.pageCounter=r,this.pageCounterElement=document.createElement("span"),this.pageCounterElement.classList.add("tabulator-page-counter")):console.warn("Pagination Error - No such page counter found: ",e))}initializePaginator(e){var r,C;e||(this.langBind("pagination|first",D=>{this.firstBut.innerHTML=D}),this.langBind("pagination|first_title",D=>{this.firstBut.setAttribute("aria-label",D),this.firstBut.setAttribute("title",D)}),this.langBind("pagination|prev",D=>{this.prevBut.innerHTML=D}),this.langBind("pagination|prev_title",D=>{this.prevBut.setAttribute("aria-label",D),this.prevBut.setAttribute("title",D)}),this.langBind("pagination|next",D=>{this.nextBut.innerHTML=D}),this.langBind("pagination|next_title",D=>{this.nextBut.setAttribute("aria-label",D),this.nextBut.setAttribute("title",D)}),this.langBind("pagination|last",D=>{this.lastBut.innerHTML=D}),this.langBind("pagination|last_title",D=>{this.lastBut.setAttribute("aria-label",D),this.lastBut.setAttribute("title",D)}),this.firstBut.addEventListener("click",()=>{this.setPage(1)}),this.prevBut.addEventListener("click",()=>{this.previousPage()}),this.nextBut.addEventListener("click",()=>{this.nextPage()}),this.lastBut.addEventListener("click",()=>{this.setPage(this.max)}),this.table.options.paginationElement&&(this.element=this.table.options.paginationElement),this.pageSizeSelect&&(r=document.createElement("label"),this.langBind("pagination|page_size",D=>{this.pageSizeSelect.setAttribute("aria-label",D),this.pageSizeSelect.setAttribute("title",D),r.innerHTML=D}),this.element.appendChild(r),this.element.appendChild(this.pageSizeSelect),this.pageSizeSelect.addEventListener("change",D=>{this.setPageSize(this.pageSizeSelect.value=="true"?!0:this.pageSizeSelect.value),this.setPage(1)})),this.element.appendChild(this.firstBut),this.element.appendChild(this.prevBut),this.element.appendChild(this.pagesElement),this.element.appendChild(this.nextBut),this.element.appendChild(this.lastBut),this.table.options.paginationElement||(this.table.options.paginationCounter&&(this.table.options.paginationCounterElement?this.table.options.paginationCounterElement instanceof HTMLElement?this.table.options.paginationCounterElement.appendChild(this.pageCounterElement):typeof this.table.options.paginationCounterElement=="string"&&(C=document.querySelector(this.table.options.paginationCounterElement),C?C.appendChild(this.pageCounterElement):console.warn("Pagination Error - Unable to find element matching paginationCounterElement selector:",this.table.options.paginationCounterElement)):this.footerAppend(this.pageCounterElement)),this.footerAppend(this.element)),this.page=this.table.options.paginationInitialPage,this.count=this.table.options.paginationButtonCount),this.mode=this.table.options.paginationMode}initializeProgressive(e){this.initializePaginator(!0),this.mode="progressive_"+e,this.progressiveLoad=!0}trackChanges(){this.dispatch("page-changed")}setMaxRows(e){e?this.max=this.size===!0?1:Math.ceil(e/this.size):this.max=1,this.page>this.max&&(this.page=this.max)}reset(e){this.initialLoad||(this.mode=="local"||e)&&(this.page=1,this.trackChanges())}setMaxPage(e){e=parseInt(e),this.max=e||1,this.page>this.max&&(this.page=this.max,this.trigger())}setPage(e){switch(e){case"first":return this.setPage(1);case"prev":return this.previousPage();case"next":return this.nextPage();case"last":return this.setPage(this.max)}return e=parseInt(e),e>0&&e<=this.max||this.mode!=="local"?(this.page=e,this.trackChanges(),this.trigger()):(console.warn("Pagination Error - Requested page is out of range of 1 - "+this.max+":",e),Promise.reject())}setPageToRow(e){var r=this.displayRows(-1),C=r.indexOf(e);if(C>-1){var D=this.size===!0?1:Math.ceil((C+1)/this.size);return this.setPage(D)}else return console.warn("Pagination Error - Requested row is not visible"),Promise.reject()}setPageSize(e){e!==!0&&(e=parseInt(e)),e>0&&(this.size=e,this.dispatchExternal("pageSizeChanged",e)),this.pageSizeSelect&&this.generatePageSizeSelectList(),this.trackChanges()}_setPageCounter(e,r,C){var D;if(this.pageCounter)switch(this.mode==="remote"&&(r=this.size,C=(this.page-1)*this.size+1,e=this.remoteRowCountEstimate),D=this.pageCounter.call(this,r,C,this.page,e,this.max),typeof D){case"object":if(D instanceof Node){for(;this.pageCounterElement.firstChild;)this.pageCounterElement.removeChild(this.pageCounterElement.firstChild);this.pageCounterElement.appendChild(D)}else this.pageCounterElement.innerHTML="",D!=null&&console.warn("Page Counter Error - Page Counter has returned a type of object, the only valid page counter object return is an instance of Node, the page counter returned:",D);break;case"undefined":this.pageCounterElement.innerHTML="";break;default:this.pageCounterElement.innerHTML=D}}_setPageButtons(){let e=Math.floor((this.count-1)/2),r=Math.ceil((this.count-1)/2),C=this.max-this.page+e+10&&T<=this.max&&this.pagesElement.appendChild(this._generatePageButton(T));this.footerRedraw()}_generatePageButton(e){var r=document.createElement("button");return r.classList.add("tabulator-page"),e==this.page&&r.classList.add("active"),r.setAttribute("type","button"),r.setAttribute("role","button"),this.langBind("pagination|page_title",C=>{r.setAttribute("aria-label",C+" "+e),r.setAttribute("title",C+" "+e)}),r.setAttribute("data-page",e),r.textContent=e,r.addEventListener("click",C=>{this.setPage(e)}),r}previousPage(){return this.page>1?(this.page--,this.trackChanges(),this.trigger()):(console.warn("Pagination Error - Previous page would be less than page 1:",0),Promise.reject())}nextPage(){return this.paged.type==="row");if(this.mode=="local"){C=[],this.setMaxRows(e.length),this.size===!0?(D=0,T=e.length):(D=this.size*(this.page-1),T=D+parseInt(this.size)),this._setPageButtons();for(let d=D;d{this.dataChanging=!1});case"progressive_load":case"progressive_scroll":return this.reloadData(null,!0);default:return console.warn("Pagination Error - no such pagination mode:",this.mode),Promise.reject()}}_parseRemoteData(e){var r;if(typeof e.last_page>"u"&&console.warn("Remote Pagination Error - Server response missing '"+(this.options("dataReceiveParams").last_page||"last_page")+"' property"),e.data)if(this.max=parseInt(e.last_page)||1,this.remoteRowCountEstimate=typeof e.last_row<"u"?e.last_row:e.last_page*this.size-(this.page==e.last_page?this.size-e.data.length:0),this.progressiveLoad){switch(this.mode){case"progressive_load":this.page==1?this.table.rowManager.setData(e.data,!1,this.page==1):this.table.rowManager.addRows(e.data),this.page{this.nextPage()},this.table.options.progressiveLoadDelay);break;case"progressive_scroll":e=this.page===1?e.data:this.table.rowManager.getData().concat(e.data),this.table.rowManager.setData(e,this.page!==1,this.page==1),r=this.table.options.progressiveLoadScrollMargin||this.table.rowManager.element.clientHeight*2,this.table.rowManager.element.scrollHeight<=this.table.rowManager.element.clientHeight+r&&this.page{this.nextPage()});break}return!1}else this.dispatchExternal("pageLoaded",this.getPage());else console.warn("Remote Pagination Error - Server response missing '"+(this.options("dataReceiveParams").data||"data")+"' property");return e.data}footerRedraw(){var e=this.table.footerManager.containerElement;Math.ceil(e.clientWidth)-e.scrollWidth<0?this.pagesElement.style.display="none":(this.pagesElement.style.display="",Math.ceil(e.clientWidth)-e.scrollWidth<0&&(this.pagesElement.style.display="none"))}}rg.moduleName="page";rg.pageCounters=bP;var xP={local:function(n,e){var r=localStorage.getItem(n+"-"+e);return r?JSON.parse(r):!1},cookie:function(n,e){var r=document.cookie,C=n+"-"+e,D=r.indexOf(C+"="),T,p;return D>-1&&(r=r.slice(D),T=r.indexOf(";"),T>-1&&(r=r.slice(0,T)),p=r.replace(C+"=","")),p?JSON.parse(p):!1}},_P={local:function(n,e,r){localStorage.setItem(n+"-"+e,JSON.stringify(r))},cookie:function(n,e,r){var C=new Date;C.setDate(C.getDate()+1e4),document.cookie=n+"-"+e+"="+JSON.stringify(r)+"; expires="+C.toUTCString()}};class jl extends qi{constructor(e){super(e),this.mode="",this.id="",this.defWatcherBlock=!1,this.config={},this.readFunc=!1,this.writeFunc=!1,this.registerTableOption("persistence",!1),this.registerTableOption("persistenceID",""),this.registerTableOption("persistenceMode",!0),this.registerTableOption("persistenceReaderFunc",!1),this.registerTableOption("persistenceWriterFunc",!1)}localStorageTest(){var e="_tabulator_test";try{return window.localStorage.setItem(e,e),window.localStorage.removeItem(e),!0}catch{return!1}}initialize(){if(this.table.options.persistence){var e=this.table.options.persistenceMode,r=this.table.options.persistenceID,C;this.mode=e!==!0?e:this.localStorageTest()?"local":"cookie",this.table.options.persistenceReaderFunc?typeof this.table.options.persistenceReaderFunc=="function"?this.readFunc=this.table.options.persistenceReaderFunc:jl.readers[this.table.options.persistenceReaderFunc]?this.readFunc=jl.readers[this.table.options.persistenceReaderFunc]:console.warn("Persistence Read Error - invalid reader set",this.table.options.persistenceReaderFunc):jl.readers[this.mode]?this.readFunc=jl.readers[this.mode]:console.warn("Persistence Read Error - invalid reader set",this.mode),this.table.options.persistenceWriterFunc?typeof this.table.options.persistenceWriterFunc=="function"?this.writeFunc=this.table.options.persistenceWriterFunc:jl.writers[this.table.options.persistenceWriterFunc]?this.writeFunc=jl.writers[this.table.options.persistenceWriterFunc]:console.warn("Persistence Write Error - invalid reader set",this.table.options.persistenceWriterFunc):jl.writers[this.mode]?this.writeFunc=jl.writers[this.mode]:console.warn("Persistence Write Error - invalid writer set",this.mode),this.id="tabulator-"+(r||this.table.element.getAttribute("id")||""),this.config={sort:this.table.options.persistence===!0||this.table.options.persistence.sort,filter:this.table.options.persistence===!0||this.table.options.persistence.filter,headerFilter:this.table.options.persistence===!0||this.table.options.persistence.headerFilter,group:this.table.options.persistence===!0||this.table.options.persistence.group,page:this.table.options.persistence===!0||this.table.options.persistence.page,columns:this.table.options.persistence===!0?["title","width","visible"]:this.table.options.persistence.columns},this.config.page&&(C=this.retrieveData("page"),C&&(typeof C.paginationSize<"u"&&(this.config.page===!0||this.config.page.size)&&(this.table.options.paginationSize=C.paginationSize),typeof C.paginationInitialPage<"u"&&(this.config.page===!0||this.config.page.page)&&(this.table.options.paginationInitialPage=C.paginationInitialPage))),this.config.group&&(C=this.retrieveData("group"),C&&(typeof C.groupBy<"u"&&(this.config.group===!0||this.config.group.groupBy)&&(this.table.options.groupBy=C.groupBy),typeof C.groupStartOpen<"u"&&(this.config.group===!0||this.config.group.groupStartOpen)&&(this.table.options.groupStartOpen=C.groupStartOpen),typeof C.groupHeader<"u"&&(this.config.group===!0||this.config.group.groupHeader)&&(this.table.options.groupHeader=C.groupHeader))),this.config.columns&&(this.table.options.columns=this.load("columns",this.table.options.columns),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("column-show",this.save.bind(this,"columns")),this.subscribe("column-hide",this.save.bind(this,"columns")),this.subscribe("column-moved",this.save.bind(this,"columns"))),this.subscribe("table-built",this.tableBuilt.bind(this),0),this.subscribe("table-redraw",this.tableRedraw.bind(this)),this.subscribe("filter-changed",this.eventSave.bind(this,"filter")),this.subscribe("filter-changed",this.eventSave.bind(this,"headerFilter")),this.subscribe("sort-changed",this.eventSave.bind(this,"sort")),this.subscribe("group-changed",this.eventSave.bind(this,"group")),this.subscribe("page-changed",this.eventSave.bind(this,"page")),this.subscribe("column-resized",this.eventSave.bind(this,"columns")),this.subscribe("column-width",this.eventSave.bind(this,"columns")),this.subscribe("layout-refreshed",this.eventSave.bind(this,"columns"))}this.registerTableFunction("getColumnLayout",this.getColumnLayout.bind(this)),this.registerTableFunction("setColumnLayout",this.setColumnLayout.bind(this))}eventSave(e){this.config[e]&&this.save(e)}tableBuilt(){var e,r,C;this.config.sort&&(e=this.load("sort"),e&&(this.table.options.initialSort=e)),this.config.filter&&(r=this.load("filter"),r&&(this.table.options.initialFilter=r)),this.config.headerFilter&&(C=this.load("headerFilter"),C&&(this.table.options.initialHeaderFilter=C))}tableRedraw(e){e&&this.config.columns&&this.save("columns")}getColumnLayout(){return this.parseColumns(this.table.columnManager.getColumns())}setColumnLayout(e){return this.table.columnManager.setColumns(this.mergeDefinition(this.table.options.columns,e,!0)),!0}initializeColumn(e){var r,C;this.config.columns&&(this.defWatcherBlock=!0,r=e.getDefinition(),C=this.config.columns===!0?Object.keys(r):this.config.columns,C.forEach(D=>{var T=Object.getOwnPropertyDescriptor(r,D),p=r[D];T&&Object.defineProperty(r,D,{set:t=>{p=t,this.defWatcherBlock||this.save("columns"),T.set&&T.set(t)},get:()=>(T.get&&T.get(),p)})}),this.defWatcherBlock=!1)}load(e,r){var C=this.retrieveData(e);return r&&(C=C?this.mergeDefinition(r,C):r),C}retrieveData(e){return this.readFunc?this.readFunc(this.id,e):!1}mergeDefinition(e,r,C){var D=[];return r=r||[],r.forEach((T,p)=>{var t=this._findColumn(e,T),d;t&&(C?d=Object.keys(T):this.config.columns===!0||this.config.columns==null?(d=Object.keys(t),d.push("width")):d=this.config.columns,d.forEach(g=>{g!=="columns"&&typeof T[g]<"u"&&(t[g]=T[g])}),t.columns&&(t.columns=this.mergeDefinition(t.columns,T.columns)),D.push(t))}),e.forEach((T,p)=>{var t=this._findColumn(r,T);t||(D.length>p?D.splice(p,0,T):D.push(T))}),D}_findColumn(e,r){var C=r.columns?"group":r.field?"field":"object";return e.find(function(D){switch(C){case"group":return D.title===r.title&&D.columns.length===r.columns.length;case"field":return D.field===r.field;case"object":return D===r}})}save(e){var r={};switch(e){case"columns":r=this.parseColumns(this.table.columnManager.getColumns());break;case"filter":r=this.table.modules.filter.getFilters();break;case"headerFilter":r=this.table.modules.filter.getHeaderFilters();break;case"sort":r=this.validateSorters(this.table.modules.sort.getSort());break;case"group":r=this.getGroupConfig();break;case"page":r=this.getPageConfig();break}this.writeFunc&&this.writeFunc(this.id,e,r)}validateSorters(e){return e.forEach(function(r){r.column=r.field,delete r.field}),e}getGroupConfig(){var e={};return this.config.group&&((this.config.group===!0||this.config.group.groupBy)&&(e.groupBy=this.table.options.groupBy),(this.config.group===!0||this.config.group.groupStartOpen)&&(e.groupStartOpen=this.table.options.groupStartOpen),(this.config.group===!0||this.config.group.groupHeader)&&(e.groupHeader=this.table.options.groupHeader)),e}getPageConfig(){var e={};return this.config.page&&((this.config.page===!0||this.config.page.size)&&(e.paginationSize=this.table.modules.page.getPageSize()),(this.config.page===!0||this.config.page.page)&&(e.paginationInitialPage=this.table.modules.page.getPage())),e}parseColumns(e){var r=[],C=["headerContextMenu","headerMenu","contextMenu","clickMenu"];return e.forEach(D=>{var T={},p=D.getDefinition(),t;D.isGroup?(T.title=p.title,T.columns=this.parseColumns(D.getColumns())):(T.field=D.getField(),this.config.columns===!0||this.config.columns==null?(t=Object.keys(p),t.push("width"),t.push("visible")):t=this.config.columns,t.forEach(d=>{switch(d){case"width":T.width=D.getWidth();break;case"visible":T.visible=D.visible;break;default:typeof p[d]!="function"&&C.indexOf(d)===-1&&(T[d]=p[d])}})),r.push(T)}),r}}jl.moduleName="persistence";jl.moduleInitOrder=-10;jl.readers=xP;jl.writers=_P;class HM extends qi{constructor(e){super(e),this.columnSubscribers={},this.registerTableOption("rowContextPopup",!1),this.registerTableOption("rowClickPopup",!1),this.registerTableOption("rowDblClickPopup",!1),this.registerTableOption("groupContextPopup",!1),this.registerTableOption("groupClickPopup",!1),this.registerTableOption("groupDblClickPopup",!1),this.registerColumnOption("headerContextPopup"),this.registerColumnOption("headerClickPopup"),this.registerColumnOption("headerDblClickPopup"),this.registerColumnOption("headerPopup"),this.registerColumnOption("headerPopupIcon"),this.registerColumnOption("contextPopup"),this.registerColumnOption("clickPopup"),this.registerColumnOption("dblClickPopup"),this.registerComponentFunction("cell","popup",this._componentPopupCall.bind(this)),this.registerComponentFunction("column","popup",this._componentPopupCall.bind(this)),this.registerComponentFunction("row","popup",this._componentPopupCall.bind(this)),this.registerComponentFunction("group","popup",this._componentPopupCall.bind(this))}initialize(){this.initializeRowWatchers(),this.initializeGroupWatchers(),this.subscribe("column-init",this.initializeColumn.bind(this))}_componentPopupCall(e,r,C){this.loadPopupEvent(r,null,e,C)}initializeRowWatchers(){this.table.options.rowContextPopup&&(this.subscribe("row-contextmenu",this.loadPopupEvent.bind(this,this.table.options.rowContextPopup)),this.table.on("rowTapHold",this.loadPopupEvent.bind(this,this.table.options.rowContextPopup))),this.table.options.rowClickPopup&&this.subscribe("row-click",this.loadPopupEvent.bind(this,this.table.options.rowClickPopup)),this.table.options.rowDblClickPopup&&this.subscribe("row-dblclick",this.loadPopupEvent.bind(this,this.table.options.rowDblClickPopup))}initializeGroupWatchers(){this.table.options.groupContextPopup&&(this.subscribe("group-contextmenu",this.loadPopupEvent.bind(this,this.table.options.groupContextPopup)),this.table.on("groupTapHold",this.loadPopupEvent.bind(this,this.table.options.groupContextPopup))),this.table.options.groupClickPopup&&this.subscribe("group-click",this.loadPopupEvent.bind(this,this.table.options.groupClickPopup)),this.table.options.groupDblClickPopup&&this.subscribe("group-dblclick",this.loadPopupEvent.bind(this,this.table.options.groupDblClickPopup))}initializeColumn(e){var r=e.definition;r.headerContextPopup&&!this.columnSubscribers.headerContextPopup&&(this.columnSubscribers.headerContextPopup=this.loadPopupTableColumnEvent.bind(this,"headerContextPopup"),this.subscribe("column-contextmenu",this.columnSubscribers.headerContextPopup),this.table.on("headerTapHold",this.loadPopupTableColumnEvent.bind(this,"headerContextPopup"))),r.headerClickPopup&&!this.columnSubscribers.headerClickPopup&&(this.columnSubscribers.headerClickPopup=this.loadPopupTableColumnEvent.bind(this,"headerClickPopup"),this.subscribe("column-click",this.columnSubscribers.headerClickPopup)),r.headerDblClickPopup&&!this.columnSubscribers.headerDblClickPopup&&(this.columnSubscribers.headerDblClickPopup=this.loadPopupTableColumnEvent.bind(this,"headerDblClickPopup"),this.subscribe("column-dblclick",this.columnSubscribers.headerDblClickPopup)),r.headerPopup&&this.initializeColumnHeaderPopup(e),r.contextPopup&&!this.columnSubscribers.contextPopup&&(this.columnSubscribers.contextPopup=this.loadPopupTableCellEvent.bind(this,"contextPopup"),this.subscribe("cell-contextmenu",this.columnSubscribers.contextPopup),this.table.on("cellTapHold",this.loadPopupTableCellEvent.bind(this,"contextPopup"))),r.clickPopup&&!this.columnSubscribers.clickPopup&&(this.columnSubscribers.clickPopup=this.loadPopupTableCellEvent.bind(this,"clickPopup"),this.subscribe("cell-click",this.columnSubscribers.clickPopup)),r.dblClickPopup&&!this.columnSubscribers.dblClickPopup&&(this.columnSubscribers.dblClickPopup=this.loadPopupTableCellEvent.bind(this,"dblClickPopup"),this.subscribe("cell-click",this.columnSubscribers.dblClickPopup))}initializeColumnHeaderPopup(e){var r=e.definition.headerPopupIcon,C;C=document.createElement("span"),C.classList.add("tabulator-header-popup-button"),r?(typeof r=="function"&&(r=r(e.getComponent())),r instanceof HTMLElement?C.appendChild(r):C.innerHTML=r):C.innerHTML="⋮",C.addEventListener("click",D=>{D.stopPropagation(),D.preventDefault(),this.loadPopupEvent(e.definition.headerPopup,D,e)}),e.titleElement.insertBefore(C,e.titleElement.firstChild)}loadPopupTableCellEvent(e,r,C){C._cell&&(C=C._cell),C.column.definition[e]&&this.loadPopupEvent(C.column.definition[e],r,C)}loadPopupTableColumnEvent(e,r,C){C._column&&(C=C._column),C.definition[e]&&this.loadPopupEvent(C.definition[e],r,C)}loadPopupEvent(e,r,C,D){var T;function p(t){T=t}C._group?C=C._group:C._row&&(C=C._row),e=typeof e=="function"?e.call(this.table,r,C.getComponent(),p):e,this.loadPopup(r,C,e,T,D)}loadPopup(e,r,C,D,T){var p=!(e instanceof MouseEvent),t,d;C instanceof HTMLElement?t=C:(t=document.createElement("div"),t.innerHTML=C),t.classList.add("tabulator-popup"),t.addEventListener("click",g=>{g.stopPropagation()}),p||e.preventDefault(),d=this.popup(t),typeof D=="function"&&d.renderCallback(D),e?d.show(e):d.show(r.getElement(),T||"center"),d.hideOnBlur(()=>{this.dispatchExternal("popupClosed",r.getComponent())}),this.dispatchExternal("popupOpened",r.getComponent())}}HM.moduleName="popup";class GM extends qi{constructor(e){super(e),this.element=!1,this.manualBlock=!1,this.beforeprintEventHandler=null,this.afterprintEventHandler=null,this.registerTableOption("printAsHtml",!1),this.registerTableOption("printFormatter",!1),this.registerTableOption("printHeader",!1),this.registerTableOption("printFooter",!1),this.registerTableOption("printStyled",!0),this.registerTableOption("printRowRange","visible"),this.registerTableOption("printConfig",{}),this.registerColumnOption("print"),this.registerColumnOption("titlePrint")}initialize(){this.table.options.printAsHtml&&(this.beforeprintEventHandler=this.replaceTable.bind(this),this.afterprintEventHandler=this.cleanup.bind(this),window.addEventListener("beforeprint",this.beforeprintEventHandler),window.addEventListener("afterprint",this.afterprintEventHandler),this.subscribe("table-destroy",this.destroy.bind(this))),this.registerTableFunction("print",this.printFullscreen.bind(this))}destroy(){this.table.options.printAsHtml&&(window.removeEventListener("beforeprint",this.beforeprintEventHandler),window.removeEventListener("afterprint",this.afterprintEventHandler))}replaceTable(){this.manualBlock||(this.element=document.createElement("div"),this.element.classList.add("tabulator-print-table"),this.element.appendChild(this.table.modules.export.generateTable(this.table.options.printConfig,this.table.options.printStyled,this.table.options.printRowRange,"print")),this.table.element.style.display="none",this.table.element.parentNode.insertBefore(this.element,this.table.element))}cleanup(){document.body.classList.remove("tabulator-print-fullscreen-hide"),this.element&&this.element.parentNode&&(this.element.parentNode.removeChild(this.element),this.table.element.style.display="")}printFullscreen(e,r,C){var D=window.scrollX,T=window.scrollY,p=document.createElement("div"),t=document.createElement("div"),d=this.table.modules.export.generateTable(typeof C<"u"?C:this.table.options.printConfig,typeof r<"u"?r:this.table.options.printStyled,e||this.table.options.printRowRange,"print"),g,i;this.manualBlock=!0,this.element=document.createElement("div"),this.element.classList.add("tabulator-print-fullscreen"),this.table.options.printHeader&&(p.classList.add("tabulator-print-header"),g=typeof this.table.options.printHeader=="function"?this.table.options.printHeader.call(this.table):this.table.options.printHeader,typeof g=="string"?p.innerHTML=g:p.appendChild(g),this.element.appendChild(p)),this.element.appendChild(d),this.table.options.printFooter&&(t.classList.add("tabulator-print-footer"),i=typeof this.table.options.printFooter=="function"?this.table.options.printFooter.call(this.table):this.table.options.printFooter,typeof i=="string"?t.innerHTML=i:t.appendChild(i),this.element.appendChild(t)),document.body.classList.add("tabulator-print-fullscreen-hide"),document.body.appendChild(this.element),this.table.options.printFormatter&&this.table.options.printFormatter(this.element,d),window.print(),this.cleanup(),window.scrollTo(D,T),this.manualBlock=!1}}GM.moduleName="print";class qM extends qi{constructor(e){super(e),this.data=!1,this.blocked=!1,this.origFuncs={},this.currentVersion=0,this.registerTableOption("reactiveData",!1)}initialize(){this.table.options.reactiveData&&(this.subscribe("cell-value-save-before",this.block.bind(this,"cellsave")),this.subscribe("cell-value-save-after",this.unblock.bind(this,"cellsave")),this.subscribe("row-data-save-before",this.block.bind(this,"rowsave")),this.subscribe("row-data-save-after",this.unblock.bind(this,"rowsave")),this.subscribe("row-data-init-after",this.watchRow.bind(this)),this.subscribe("data-processing",this.watchData.bind(this)),this.subscribe("table-destroy",this.unwatchData.bind(this)))}watchData(e){var r=this,C;this.currentVersion++,C=this.currentVersion,this.unwatchData(),this.data=e,this.origFuncs.push=e.push,Object.defineProperty(this.data,"push",{enumerable:!1,configurable:!0,value:function(){var D=Array.from(arguments),T;return!r.blocked&&C===r.currentVersion&&(r.block("data-push"),D.forEach(p=>{r.table.rowManager.addRowActual(p,!1)}),T=r.origFuncs.push.apply(e,arguments),r.unblock("data-push")),T}}),this.origFuncs.unshift=e.unshift,Object.defineProperty(this.data,"unshift",{enumerable:!1,configurable:!0,value:function(){var D=Array.from(arguments),T;return!r.blocked&&C===r.currentVersion&&(r.block("data-unshift"),D.forEach(p=>{r.table.rowManager.addRowActual(p,!0)}),T=r.origFuncs.unshift.apply(e,arguments),r.unblock("data-unshift")),T}}),this.origFuncs.shift=e.shift,Object.defineProperty(this.data,"shift",{enumerable:!1,configurable:!0,value:function(){var D,T;return!r.blocked&&C===r.currentVersion&&(r.block("data-shift"),r.data.length&&(D=r.table.rowManager.getRowFromDataObject(r.data[0]),D&&D.deleteActual()),T=r.origFuncs.shift.call(e),r.unblock("data-shift")),T}}),this.origFuncs.pop=e.pop,Object.defineProperty(this.data,"pop",{enumerable:!1,configurable:!0,value:function(){var D,T;return!r.blocked&&C===r.currentVersion&&(r.block("data-pop"),r.data.length&&(D=r.table.rowManager.getRowFromDataObject(r.data[r.data.length-1]),D&&D.deleteActual()),T=r.origFuncs.pop.call(e),r.unblock("data-pop")),T}}),this.origFuncs.splice=e.splice,Object.defineProperty(this.data,"splice",{enumerable:!1,configurable:!0,value:function(){var D=Array.from(arguments),T=D[0]<0?e.length+D[0]:D[0],p=D[1],t=D[2]?D.slice(2):!1,d,g;if(!r.blocked&&C===r.currentVersion){if(r.block("data-splice"),t&&(d=e[T]?r.table.rowManager.getRowFromDataObject(e[T]):!1,d?t.forEach(M=>{r.table.rowManager.addRowActual(M,!0,d,!0)}):(t=t.slice().reverse(),t.forEach(M=>{r.table.rowManager.addRowActual(M,!0,!1,!0)}))),p!==0){var i=e.slice(T,typeof D[1]>"u"?D[1]:T+p);i.forEach((M,v)=>{var f=r.table.rowManager.getRowFromDataObject(M);f&&f.deleteActual(v!==i.length-1)})}(t||p!==0)&&r.table.rowManager.reRenderInPosition(),g=r.origFuncs.splice.apply(e,arguments),r.unblock("data-splice")}return g}})}unwatchData(){if(this.data!==!1)for(var e in this.origFuncs)Object.defineProperty(this.data,e,{enumerable:!0,configurable:!0,writable:!0,value:this.origFuncs.key})}watchRow(e){var r=e.getData();for(var C in r)this.watchKey(e,r,C);this.table.options.dataTree&&this.watchTreeChildren(e)}watchTreeChildren(e){var r=this,C=e.getData()[this.table.options.dataTreeChildField],D={};C&&(D.push=C.push,Object.defineProperty(C,"push",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-push");var T=D.push.apply(C,arguments);this.rebuildTree(e),r.unblock("tree-push")}return T}}),D.unshift=C.unshift,Object.defineProperty(C,"unshift",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-unshift");var T=D.unshift.apply(C,arguments);this.rebuildTree(e),r.unblock("tree-unshift")}return T}}),D.shift=C.shift,Object.defineProperty(C,"shift",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-shift");var T=D.shift.call(C);this.rebuildTree(e),r.unblock("tree-shift")}return T}}),D.pop=C.pop,Object.defineProperty(C,"pop",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-pop");var T=D.pop.call(C);this.rebuildTree(e),r.unblock("tree-pop")}return T}}),D.splice=C.splice,Object.defineProperty(C,"splice",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-splice");var T=D.splice.apply(C,arguments);this.rebuildTree(e),r.unblock("tree-splice")}return T}}))}rebuildTree(e){this.table.modules.dataTree.initializeRow(e),this.table.modules.dataTree.layoutRow(e),this.table.rowManager.refreshActiveData("tree",!1,!0)}watchKey(e,r,C){var D=this,T=Object.getOwnPropertyDescriptor(r,C),p=r[C],t=this.currentVersion;Object.defineProperty(r,C,{set:d=>{if(p=d,!D.blocked&&t===D.currentVersion){D.block("key");var g={};g[C]=d,e.updateData(g),D.unblock("key")}T.set&&T.set(d)},get:()=>(T.get&&T.get(),p)})}unwatchRow(e){var r=e.getData();for(var C in r)Object.defineProperty(r,C,{value:r[C]})}block(e){this.blocked||(this.blocked=e)}unblock(e){this.blocked===e&&(this.blocked=!1)}}qM.moduleName="reactiveData";class WM extends qi{constructor(e){super(e),this.startColumn=!1,this.startX=!1,this.startWidth=!1,this.latestX=!1,this.handle=null,this.initialNextColumn=null,this.nextColumn=null,this.initialized=!1,this.registerColumnOption("resizable",!0),this.registerTableOption("resizableColumnFit",!1)}initialize(){this.subscribe("column-rendered",this.layoutColumnHeader.bind(this))}initializeEventWatchers(){this.initialized||(this.subscribe("cell-rendered",this.layoutCellHandles.bind(this)),this.subscribe("cell-delete",this.deInitializeComponent.bind(this)),this.subscribe("cell-height",this.resizeHandle.bind(this)),this.subscribe("column-moved",this.columnLayoutUpdated.bind(this)),this.subscribe("column-hide",this.deInitializeColumn.bind(this)),this.subscribe("column-show",this.columnLayoutUpdated.bind(this)),this.subscribe("column-width",this.columnWidthUpdated.bind(this)),this.subscribe("column-delete",this.deInitializeComponent.bind(this)),this.subscribe("column-height",this.resizeHandle.bind(this)),this.initialized=!0)}layoutCellHandles(e){e.row.type==="row"&&(this.deInitializeComponent(e),this.initializeColumn("cell",e,e.column,e.element))}layoutColumnHeader(e){e.definition.resizable&&(this.initializeEventWatchers(),this.deInitializeComponent(e),this.initializeColumn("header",e,e,e.element))}columnLayoutUpdated(e){var r=e.prevColumn();this.reinitializeColumn(e),r&&this.reinitializeColumn(r)}columnWidthUpdated(e){e.modules.frozen&&(this.table.modules.frozenColumns.leftColumns.includes(e)?this.table.modules.frozenColumns.leftColumns.forEach(r=>{this.reinitializeColumn(r)}):this.table.modules.frozenColumns.rightColumns.includes(e)&&this.table.modules.frozenColumns.rightColumns.forEach(r=>{this.reinitializeColumn(r)}))}frozenColumnOffset(e){var r=!1;return e.modules.frozen&&(r=e.modules.frozen.marginValue,e.modules.frozen.position==="left"?r+=e.getWidth()-3:r&&(r-=3)),r!==!1?r+"px":!1}reinitializeColumn(e){var r=this.frozenColumnOffset(e);e.cells.forEach(C=>{C.modules.resize&&C.modules.resize.handleEl&&(r&&(C.modules.resize.handleEl.style[e.modules.frozen.position]=r,C.modules.resize.handleEl.style["z-index"]=11),C.element.after(C.modules.resize.handleEl))}),e.modules.resize&&e.modules.resize.handleEl&&(r&&(e.modules.resize.handleEl.style[e.modules.frozen.position]=r),e.element.after(e.modules.resize.handleEl))}initializeColumn(e,r,C,D){var T=this,p=!1,t=C.definition.resizable,d={},g=C.getLastColumn();if(e==="header"&&(p=C.definition.formatter=="textarea"||C.definition.variableHeight,d={variableHeight:p}),(t===!0||t==e)&&this._checkResizability(g)){var i=document.createElement("span");i.className="tabulator-col-resize-handle",i.addEventListener("click",function(v){v.stopPropagation()});var M=function(v){T.startColumn=C,T.initialNextColumn=T.nextColumn=g.nextColumn(),T._mouseDown(v,g,i)};i.addEventListener("mousedown",M),i.addEventListener("touchstart",M,{passive:!0}),i.addEventListener("dblclick",v=>{var f=g.getWidth();v.stopPropagation(),g.reinitializeWidth(!0),f!==g.getWidth()&&(T.dispatch("column-resized",g),T.table.externalEvents.dispatch("columnResized",g.getComponent()))}),C.modules.frozen&&(i.style.position="sticky",i.style[C.modules.frozen.position]=this.frozenColumnOffset(C)),d.handleEl=i,D.parentNode&&C.visible&&D.after(i)}r.modules.resize=d}deInitializeColumn(e){this.deInitializeComponent(e),e.cells.forEach(r=>{this.deInitializeComponent(r)})}deInitializeComponent(e){var r;e.modules.resize&&(r=e.modules.resize.handleEl,r&&r.parentElement&&r.parentElement.removeChild(r))}resizeHandle(e,r){e.modules.resize&&e.modules.resize.handleEl&&(e.modules.resize.handleEl.style.height=r)}_checkResizability(e){return e.definition.resizable}_mouseDown(e,r,C){var D=this;D.table.element.classList.add("tabulator-block-select");function T(t){var d=typeof t.screenX>"u"?t.touches[0].screenX:t.screenX,g=d-D.startX,i=d-D.latestX,M,v;if(D.latestX=d,D.table.rtl&&(g=-g,i=-i),M=r.width==r.minWidth||r.width==r.maxWidth,r.setWidth(D.startWidth+g),v=r.width==r.minWidth||r.width==r.maxWidth,i<0&&(D.nextColumn=D.initialNextColumn),D.table.options.resizableColumnFit&&D.nextColumn&&!(M&&v)){let f=D.nextColumn.getWidth();i>0&&f<=D.nextColumn.minWidth&&(D.nextColumn=D.nextColumn.nextColumn()),D.nextColumn&&D.nextColumn.setWidth(D.nextColumn.getWidth()-i)}D.table.columnManager.rerenderColumns(!0),!D.table.browserSlow&&r.modules.resize&&r.modules.resize.variableHeight&&r.checkCellHeights()}function p(t){D.startColumn.modules.edit&&(D.startColumn.modules.edit.blocked=!1),D.table.browserSlow&&r.modules.resize&&r.modules.resize.variableHeight&&r.checkCellHeights(),document.body.removeEventListener("mouseup",p),document.body.removeEventListener("mousemove",T),C.removeEventListener("touchmove",T),C.removeEventListener("touchend",p),D.table.element.classList.remove("tabulator-block-select"),D.startWidth!==r.getWidth()&&(D.table.columnManager.verticalAlignHeaders(),D.dispatch("column-resized",r),D.table.externalEvents.dispatch("columnResized",r.getComponent()))}e.stopPropagation(),D.startColumn.modules.edit&&(D.startColumn.modules.edit.blocked=!0),D.startX=typeof e.screenX>"u"?e.touches[0].screenX:e.screenX,D.latestX=D.startX,D.startWidth=r.getWidth(),document.body.addEventListener("mousemove",T),document.body.addEventListener("mouseup",p),C.addEventListener("touchmove",T,{passive:!0}),C.addEventListener("touchend",p)}}WM.moduleName="resizeColumns";class YM extends qi{constructor(e){super(e),this.startColumn=!1,this.startY=!1,this.startHeight=!1,this.handle=null,this.prevHandle=null,this.registerTableOption("resizableRows",!1)}initialize(){this.table.options.resizableRows&&this.subscribe("row-layout-after",this.initializeRow.bind(this))}initializeRow(e){var r=this,C=e.getElement(),D=document.createElement("div");D.className="tabulator-row-resize-handle";var T=document.createElement("div");T.className="tabulator-row-resize-handle prev",D.addEventListener("click",function(d){d.stopPropagation()});var p=function(d){r.startRow=e,r._mouseDown(d,e,D)};D.addEventListener("mousedown",p),D.addEventListener("touchstart",p,{passive:!0}),T.addEventListener("click",function(d){d.stopPropagation()});var t=function(d){var g=r.table.rowManager.prevDisplayRow(e);g&&(r.startRow=g,r._mouseDown(d,g,T))};T.addEventListener("mousedown",t),T.addEventListener("touchstart",t,{passive:!0}),C.appendChild(D),C.appendChild(T)}_mouseDown(e,r,C){var D=this;D.table.element.classList.add("tabulator-block-select");function T(t){r.setHeight(D.startHeight+((typeof t.screenY>"u"?t.touches[0].screenY:t.screenY)-D.startY))}function p(t){document.body.removeEventListener("mouseup",T),document.body.removeEventListener("mousemove",T),C.removeEventListener("touchmove",T),C.removeEventListener("touchend",p),D.table.element.classList.remove("tabulator-block-select"),D.dispatchExternal("rowResized",r.getComponent())}e.stopPropagation(),D.startY=typeof e.screenY>"u"?e.touches[0].screenY:e.screenY,D.startHeight=r.getHeight(),document.body.addEventListener("mousemove",T),document.body.addEventListener("mouseup",p),C.addEventListener("touchmove",T,{passive:!0}),C.addEventListener("touchend",p)}}YM.moduleName="resizeRows";class $M extends qi{constructor(e){super(e),this.binding=!1,this.visibilityObserver=!1,this.resizeObserver=!1,this.containerObserver=!1,this.tableHeight=0,this.tableWidth=0,this.containerHeight=0,this.containerWidth=0,this.autoResize=!1,this.visible=!1,this.initialized=!1,this.initialRedraw=!1,this.registerTableOption("autoResize",!0)}initialize(){if(this.table.options.autoResize){var e=this.table,r;this.tableHeight=e.element.clientHeight,this.tableWidth=e.element.clientWidth,e.element.parentNode&&(this.containerHeight=e.element.parentNode.clientHeight,this.containerWidth=e.element.parentNode.clientWidth),typeof IntersectionObserver<"u"&&typeof ResizeObserver<"u"&&e.rowManager.getRenderMode()==="virtual"?(this.initializeVisibilityObserver(),this.autoResize=!0,this.resizeObserver=new ResizeObserver(C=>{if(!e.browserMobile||e.browserMobile&&(!e.modules.edit||e.modules.edit&&!e.modules.edit.currentCell)){var D=Math.floor(C[0].contentRect.height),T=Math.floor(C[0].contentRect.width);(this.tableHeight!=D||this.tableWidth!=T)&&(this.tableHeight=D,this.tableWidth=T,e.element.parentNode&&(this.containerHeight=e.element.parentNode.clientHeight,this.containerWidth=e.element.parentNode.clientWidth),this.redrawTable())}}),this.resizeObserver.observe(e.element),r=window.getComputedStyle(e.element),this.table.element.parentNode&&!this.table.rowManager.fixedHeight&&(r.getPropertyValue("max-height")||r.getPropertyValue("min-height"))&&(this.containerObserver=new ResizeObserver(C=>{if(!e.browserMobile||e.browserMobile&&(!e.modules.edit||e.modules.edit&&!e.modules.edit.currentCell)){var D=Math.floor(C[0].contentRect.height),T=Math.floor(C[0].contentRect.width);(this.containerHeight!=D||this.containerWidth!=T)&&(this.containerHeight=D,this.containerWidth=T,this.tableHeight=e.element.clientHeight,this.tableWidth=e.element.clientWidth),this.redrawTable()}}),this.containerObserver.observe(this.table.element.parentNode)),this.subscribe("table-resize",this.tableResized.bind(this))):(this.binding=function(){(!e.browserMobile||e.browserMobile&&(!e.modules.edit||e.modules.edit&&!e.modules.edit.currentCell))&&(e.columnManager.rerenderColumns(!0),e.redraw())},window.addEventListener("resize",this.binding)),this.subscribe("table-destroy",this.clearBindings.bind(this))}}initializeVisibilityObserver(){this.visibilityObserver=new IntersectionObserver(e=>{this.visible=e[0].isIntersecting,this.initialized?this.visible&&(this.redrawTable(this.initialRedraw),this.initialRedraw=!1):(this.initialized=!0,this.initialRedraw=!this.visible)}),this.visibilityObserver.observe(this.table.element)}redrawTable(e){this.initialized&&this.visible&&(this.table.columnManager.rerenderColumns(!0),this.table.redraw(e))}tableResized(){this.table.rowManager.redraw()}clearBindings(){this.binding&&window.removeEventListener("resize",this.binding),this.resizeObserver&&this.resizeObserver.unobserve(this.table.element),this.visibilityObserver&&this.visibilityObserver.unobserve(this.table.element),this.containerObserver&&this.containerObserver.unobserve(this.table.element.parentNode)}}$M.moduleName="resizeTable";class ZM extends qi{constructor(e){super(e),this.columns=[],this.hiddenColumns=[],this.mode="",this.index=0,this.collapseFormatter=[],this.collapseStartOpen=!0,this.collapseHandleColumn=!1,this.registerTableOption("responsiveLayout",!1),this.registerTableOption("responsiveLayoutCollapseStartOpen",!0),this.registerTableOption("responsiveLayoutCollapseUseFormatters",!0),this.registerTableOption("responsiveLayoutCollapseFormatter",!1),this.registerColumnOption("responsive")}initialize(){this.table.options.responsiveLayout&&(this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("column-show",this.updateColumnVisibility.bind(this)),this.subscribe("column-hide",this.updateColumnVisibility.bind(this)),this.subscribe("columns-loaded",this.initializeResponsivity.bind(this)),this.subscribe("column-moved",this.initializeResponsivity.bind(this)),this.subscribe("column-add",this.initializeResponsivity.bind(this)),this.subscribe("column-delete",this.initializeResponsivity.bind(this)),this.subscribe("table-redrawing",this.tableRedraw.bind(this)),this.table.options.responsiveLayout==="collapse"&&(this.subscribe("row-data-changed",this.generateCollapsedRowContent.bind(this)),this.subscribe("row-init",this.initializeRow.bind(this)),this.subscribe("row-layout",this.layoutRow.bind(this))))}tableRedraw(e){["fitColumns","fitDataStretch"].indexOf(this.layoutMode())===-1&&(e||this.update())}initializeResponsivity(){var e=[];this.mode=this.table.options.responsiveLayout,this.collapseFormatter=this.table.options.responsiveLayoutCollapseFormatter||this.formatCollapsedData,this.collapseStartOpen=this.table.options.responsiveLayoutCollapseStartOpen,this.hiddenColumns=[],this.table.columnManager.columnsByIndex.forEach((r,C)=>{r.modules.responsive&&r.modules.responsive.order&&r.modules.responsive.visible&&(r.modules.responsive.index=C,e.push(r),!r.visible&&this.mode==="collapse"&&this.hiddenColumns.push(r))}),e=e.reverse(),e=e.sort((r,C)=>{var D=C.modules.responsive.order-r.modules.responsive.order;return D||C.modules.responsive.index-r.modules.responsive.index}),this.columns=e,this.mode==="collapse"&&this.generateCollapsedContent();for(let r of this.table.columnManager.columnsByIndex)if(r.definition.formatter=="responsiveCollapse"){this.collapseHandleColumn=r;break}this.collapseHandleColumn&&(this.hiddenColumns.length?this.collapseHandleColumn.show():this.collapseHandleColumn.hide())}initializeColumn(e){var r=e.getDefinition();e.modules.responsive={order:typeof r.responsive>"u"?1:r.responsive,visible:r.visible!==!1}}initializeRow(e){var r;e.type!=="calc"&&(r=document.createElement("div"),r.classList.add("tabulator-responsive-collapse"),e.modules.responsiveLayout={element:r,open:this.collapseStartOpen},this.collapseStartOpen||(r.style.display="none"))}layoutRow(e){var r=e.getElement();e.modules.responsiveLayout&&(r.appendChild(e.modules.responsiveLayout.element),this.generateCollapsedRowContent(e))}updateColumnVisibility(e,r){!r&&e.modules.responsive&&(e.modules.responsive.visible=e.visible,this.initializeResponsivity())}hideColumn(e){var r=this.hiddenColumns.length;e.hide(!1,!0),this.mode==="collapse"&&(this.hiddenColumns.unshift(e),this.generateCollapsedContent(),this.collapseHandleColumn&&!r&&this.collapseHandleColumn.show())}showColumn(e){var r;e.show(!1,!0),e.setWidth(e.getWidth()),this.mode==="collapse"&&(r=this.hiddenColumns.indexOf(e),r>-1&&this.hiddenColumns.splice(r,1),this.generateCollapsedContent(),this.collapseHandleColumn&&!this.hiddenColumns.length&&this.collapseHandleColumn.hide())}update(){for(var e=!0;e;){let r=this.table.modules.layout.getMode()=="fitColumns"?this.table.columnManager.getFlexBaseWidth():this.table.columnManager.getWidth(),C=(this.table.options.headerVisible?this.table.columnManager.element.clientWidth:this.table.element.clientWidth)-r;if(C<0){let D=this.columns[this.index];D?(this.hideColumn(D),this.index++):e=!1}else{let D=this.columns[this.index-1];D&&C>0&&C>=D.getWidth()?(this.showColumn(D),this.index--):e=!1}this.table.rowManager.activeRowsCount||this.table.rowManager.renderEmptyScroll()}}generateCollapsedContent(){var e=this.table.rowManager.getDisplayRows();e.forEach(r=>{this.generateCollapsedRowContent(r)})}generateCollapsedRowContent(e){var r,C;if(e.modules.responsiveLayout){for(r=e.modules.responsiveLayout.element;r.firstChild;)r.removeChild(r.firstChild);C=this.collapseFormatter(this.generateCollapsedRowData(e)),C&&r.appendChild(C)}}generateCollapsedRowData(e){var r=e.getData(),C=[],D;return this.hiddenColumns.forEach(T=>{var p=T.getFieldValue(r);if(T.definition.title&&T.field)if(T.modules.format&&this.table.options.responsiveLayoutCollapseUseFormatters){let d=function(g){g()};var t=d;D={value:!1,data:{},getValue:function(){return p},getData:function(){return r},getType:function(){return"cell"},getElement:function(){return document.createElement("div")},getRow:function(){return e.getComponent()},getColumn:function(){return T.getComponent()},getTable:()=>this.table},C.push({field:T.field,title:T.definition.title,value:T.modules.format.formatter.call(this.table.modules.format,D,T.modules.format.params,d)})}else C.push({field:T.field,title:T.definition.title,value:p})}),C}formatCollapsedData(e){var r=document.createElement("table");return e.forEach(function(C){var D=document.createElement("tr"),T=document.createElement("td"),p=document.createElement("td"),t,d=document.createElement("strong");T.appendChild(d),this.langBind("columns|"+C.field,function(g){d.innerHTML=g||C.title}),C.value instanceof Node?(t=document.createElement("div"),t.appendChild(C.value),p.appendChild(t)):p.innerHTML=C.value,D.appendChild(T),D.appendChild(p),r.appendChild(D)},this),Object.keys(e).length?r:""}}ZM.moduleName="responsiveLayout";class XM extends qi{constructor(e){super(e),this.selecting=!1,this.lastClickedRow=!1,this.selectPrev=[],this.selectedRows=[],this.headerCheckboxElement=null,this.registerTableOption("selectableRows","highlight"),this.registerTableOption("selectableRowsRangeMode","drag"),this.registerTableOption("selectableRowsRollingSelection",!0),this.registerTableOption("selectableRowsPersistence",!0),this.registerTableOption("selectableRowsCheck",function(r,C){return!0}),this.registerTableFunction("selectRow",this.selectRows.bind(this)),this.registerTableFunction("deselectRow",this.deselectRows.bind(this)),this.registerTableFunction("toggleSelectRow",this.toggleRow.bind(this)),this.registerTableFunction("getSelectedRows",this.getSelectedRows.bind(this)),this.registerTableFunction("getSelectedData",this.getSelectedData.bind(this)),this.registerComponentFunction("row","select",this.selectRows.bind(this)),this.registerComponentFunction("row","deselect",this.deselectRows.bind(this)),this.registerComponentFunction("row","toggleSelect",this.toggleRow.bind(this)),this.registerComponentFunction("row","isSelected",this.isRowSelected.bind(this))}initialize(){this.deprecatedOptionsCheck(),this.table.options.selectableRows==="highlight"&&this.table.options.selectableRange&&(this.table.options.selectableRows=!1),this.table.options.selectableRows!==!1&&(this.subscribe("row-init",this.initializeRow.bind(this)),this.subscribe("row-deleting",this.rowDeleted.bind(this)),this.subscribe("rows-wipe",this.clearSelectionData.bind(this)),this.subscribe("rows-retrieve",this.rowRetrieve.bind(this)),this.table.options.selectableRows&&!this.table.options.selectableRowsPersistence&&this.subscribe("data-refreshing",this.deselectRows.bind(this)))}deprecatedOptionsCheck(){this.deprecationCheck("selectable","selectableRows",!0),this.deprecationCheck("selectableRollingSelection","selectableRowsRollingSelection",!0),this.deprecationCheck("selectableRangeMode","selectableRowsRangeMode",!0),this.deprecationCheck("selectablePersistence","selectableRowsPersistence",!0),this.deprecationCheck("selectableCheck","selectableRowsCheck",!0)}rowRetrieve(e,r){return e==="selected"?this.selectedRows:r}rowDeleted(e){this._deselectRow(e,!0)}clearSelectionData(e){var r=this.selectedRows.length;this.selecting=!1,this.lastClickedRow=!1,this.selectPrev=[],this.selectedRows=[],r&&e!==!0&&this._rowSelectionChanged()}initializeRow(e){var r=this,C=r.checkRowSelectability(e),D=e.getElement(),T=function(){setTimeout(function(){r.selecting=!1},50),document.body.removeEventListener("mouseup",T)};e.modules.select={selected:!1},D.classList.toggle("tabulator-selectable",C),D.classList.toggle("tabulator-unselectable",!C),r.checkRowSelectability(e)&&r.table.options.selectableRows&&r.table.options.selectableRows!="highlight"&&(r.table.options.selectableRowsRangeMode==="click"?D.addEventListener("click",this.handleComplexRowClick.bind(this,e)):(D.addEventListener("click",function(p){(!r.table.modExists("edit")||!r.table.modules.edit.getCurrentCell())&&r.table._clearSelection(),r.selecting||r.toggleRow(e)}),D.addEventListener("mousedown",function(p){if(p.shiftKey)return r.table._clearSelection(),r.selecting=!0,r.selectPrev=[],document.body.addEventListener("mouseup",T),document.body.addEventListener("keyup",T),r.toggleRow(e),!1}),D.addEventListener("mouseenter",function(p){r.selecting&&(r.table._clearSelection(),r.toggleRow(e),r.selectPrev[1]==e&&r.toggleRow(r.selectPrev[0]))}),D.addEventListener("mouseout",function(p){r.selecting&&(r.table._clearSelection(),r.selectPrev.unshift(e))})))}handleComplexRowClick(e,r){if(r.shiftKey){this.table._clearSelection(),this.lastClickedRow=this.lastClickedRow||e;var C=this.table.rowManager.getDisplayRowIndex(this.lastClickedRow),D=this.table.rowManager.getDisplayRowIndex(e),T=C<=D?C:D,p=C>=D?C:D,t=this.table.rowManager.getDisplayRows().slice(0),d=t.splice(T,p-T+1);r.ctrlKey||r.metaKey?(d.forEach(g=>{g!==this.lastClickedRow&&(this.table.options.selectableRows!==!0&&!this.isRowSelected(e)?this.selectedRows.lengththis.table.options.selectableRows&&(d=d.slice(0,this.table.options.selectableRows)),this.selectRows(d)),this.table._clearSelection()}else r.ctrlKey||r.metaKey?(this.toggleRow(e),this.lastClickedRow=e):(this.deselectRows(void 0,!0),this.selectRows(e),this.lastClickedRow=e)}checkRowSelectability(e){return e&&e.type==="row"?this.table.options.selectableRowsCheck.call(this.table,e.getComponent()):!1}toggleRow(e){this.checkRowSelectability(e)&&(e.modules.select&&e.modules.select.selected?this._deselectRow(e):this._selectRow(e))}selectRows(e){var r=[],C,D;switch(typeof e){case"undefined":C=this.table.rowManager.rows;break;case"number":C=this.table.rowManager.findRow(e);break;case"string":C=this.table.rowManager.findRow(e),C||(C=this.table.rowManager.getRows(e));break;default:C=e;break}Array.isArray(C)?C.length&&(C.forEach(T=>{D=this._selectRow(T,!0,!0),D&&r.push(D)}),this._rowSelectionChanged(!1,r)):C&&this._selectRow(C,!1,!0)}_selectRow(e,r,C){if(!isNaN(this.table.options.selectableRows)&&this.table.options.selectableRows!==!0&&!C&&this.selectedRows.length>=this.table.options.selectableRows)if(this.table.options.selectableRowsRollingSelection)this._deselectRow(this.selectedRows[0]);else return!1;var D=this.table.rowManager.findRow(e);if(D){if(this.selectedRows.indexOf(D)==-1)return D.getElement().classList.add("tabulator-selected"),D.modules.select||(D.modules.select={}),D.modules.select.selected=!0,D.modules.select.checkboxEl&&(D.modules.select.checkboxEl.checked=!0),this.selectedRows.push(D),this.table.options.dataTreeSelectPropagate&&this.childRowSelection(D,!0),this.dispatchExternal("rowSelected",D.getComponent()),this._rowSelectionChanged(r,D),D}else r||console.warn("Selection Error - No such row found, ignoring selection:"+e)}isRowSelected(e){return this.selectedRows.indexOf(e)!==-1}deselectRows(e,r){var C=[],D,T;switch(typeof e){case"undefined":D=Object.assign([],this.selectedRows);break;case"number":D=this.table.rowManager.findRow(e);break;case"string":D=this.table.rowManager.findRow(e),D||(D=this.table.rowManager.getRows(e));break;default:D=e;break}Array.isArray(D)?D.length&&(D.forEach(p=>{T=this._deselectRow(p,!0,!0),T&&C.push(T)}),this._rowSelectionChanged(r,[],C)):D&&this._deselectRow(D,r,!0)}_deselectRow(e,r){var C=this,D=C.table.rowManager.findRow(e),T,p;if(D){if(T=C.selectedRows.findIndex(function(t){return t==D}),T>-1)return p=D.getElement(),p&&p.classList.remove("tabulator-selected"),D.modules.select||(D.modules.select={}),D.modules.select.selected=!1,D.modules.select.checkboxEl&&(D.modules.select.checkboxEl.checked=!1),C.selectedRows.splice(T,1),this.table.options.dataTreeSelectPropagate&&this.childRowSelection(D,!1),this.dispatchExternal("rowDeselected",D.getComponent()),C._rowSelectionChanged(r,void 0,D),D}else r||console.warn("Deselection Error - No such row found, ignoring selection:"+e)}getSelectedData(){var e=[];return this.selectedRows.forEach(function(r){e.push(r.getData())}),e}getSelectedRows(){var e=[];return this.selectedRows.forEach(function(r){e.push(r.getComponent())}),e}_rowSelectionChanged(e,r=[],C=[]){this.headerCheckboxElement&&(this.selectedRows.length===0?(this.headerCheckboxElement.checked=!1,this.headerCheckboxElement.indeterminate=!1):this.table.rowManager.rows.length===this.selectedRows.length?(this.headerCheckboxElement.checked=!0,this.headerCheckboxElement.indeterminate=!1):(this.headerCheckboxElement.indeterminate=!0,this.headerCheckboxElement.checked=!1)),e||(Array.isArray(r)||(r=[r]),r=r.map(D=>D.getComponent()),Array.isArray(C)||(C=[C]),C=C.map(D=>D.getComponent()),this.dispatchExternal("rowSelectionChanged",this.getSelectedData(),this.getSelectedRows(),r,C))}registerRowSelectCheckbox(e,r){e._row.modules.select||(e._row.modules.select={}),e._row.modules.select.checkboxEl=r}registerHeaderSelectCheckbox(e){this.headerCheckboxElement=e}childRowSelection(e,r){var C=this.table.modules.dataTree.getChildren(e,!0);if(r)for(let D of C)this._selectRow(D,!0);else for(let D of C)this._deselectRow(D,!0)}}XM.moduleName="selectRow";function wP(n,e,r,C,D,T,p){var t=p.alignEmptyValues,d=p.decimalSeparator,g=p.thousandSeparator,i=0;if(n=String(n),e=String(e),g&&(n=n.split(g).join(""),e=e.split(g).join("")),d&&(n=n.split(d).join("."),e=e.split(d).join(".")),n=parseFloat(n),e=parseFloat(e),isNaN(n))i=isNaN(e)?0:-1;else if(isNaN(e))i=1;else return n-e;return(t==="top"&&T==="desc"||t==="bottom"&&T==="asc")&&(i*=-1),i}function TP(n,e,r,C,D,T,p){var t=p.alignEmptyValues,d=0,g;if(!n)d=e?-1:0;else if(!e)d=1;else{switch(typeof p.locale){case"boolean":p.locale&&(g=this.langLocale());break;case"string":g=p.locale;break}return String(n).toLowerCase().localeCompare(String(e).toLowerCase(),g)}return(t==="top"&&T==="desc"||t==="bottom"&&T==="asc")&&(d*=-1),d}function q2(n,e,r,C,D,T,p){var t=window.DateTime||luxon.DateTime,d=p.format||"dd/MM/yyyy HH:mm:ss",g=p.alignEmptyValues,i=0;if(typeof t<"u"){if(t.isDateTime(n)||(d==="iso"?n=t.fromISO(String(n)):n=t.fromFormat(String(n),d)),t.isDateTime(e)||(d==="iso"?e=t.fromISO(String(e)):e=t.fromFormat(String(e),d)),!n.isValid)i=e.isValid?-1:0;else if(!e.isValid)i=1;else return n-e;return(g==="top"&&T==="desc"||g==="bottom"&&T==="asc")&&(i*=-1),i}else console.error("Sort Error - 'datetime' sorter is dependant on luxon.js")}function kP(n,e,r,C,D,T,p){return p.format||(p.format="dd/MM/yyyy"),q2.call(this,n,e,r,C,D,T,p)}function MP(n,e,r,C,D,T,p){return p.format||(p.format="HH:mm"),q2.call(this,n,e,r,C,D,T,p)}function AP(n,e,r,C,D,T,p){var t=n===!0||n==="true"||n==="True"||n===1?1:0,d=e===!0||e==="true"||e==="True"||e===1?1:0;return t-d}function SP(n,e,r,C,D,T,p){var t=p.type||"length",d=p.alignEmptyValues,g=0;function i(M){var v;switch(t){case"length":v=M.length;break;case"sum":v=M.reduce(function(f,l){return f+l});break;case"max":v=Math.max.apply(null,M);break;case"min":v=Math.min.apply(null,M);break;case"avg":v=M.reduce(function(f,l){return f+l})/M.length;break}return v}if(!Array.isArray(n))g=Array.isArray(e)?-1:0;else if(!Array.isArray(e))g=1;else return i(e)-i(n);return(d==="top"&&T==="desc"||d==="bottom"&&T==="asc")&&(g*=-1),g}function CP(n,e,r,C,D,T,p){var t=typeof n>"u"?0:1,d=typeof e>"u"?0:1;return t-d}function EP(n,e,r,C,D,T,p){var t,d,g,i,M=0,v,f=/(\d+)|(\D+)/g,l=/\d/,a=p.alignEmptyValues,u=0;if(!n&&n!==0)u=!e&&e!==0?0:-1;else if(!e&&e!==0)u=1;else{if(isFinite(n)&&isFinite(e))return n-e;if(t=String(n).toLowerCase(),d=String(e).toLowerCase(),t===d)return 0;if(!(l.test(t)&&l.test(d)))return t>d?1:-1;for(t=t.match(f),d=d.match(f),v=t.length>d.length?d.length:t.length;Mi?1:-1;return t.length>d.length}return(a==="top"&&T==="desc"||a==="bottom"&&T==="asc")&&(u*=-1),u}var LP={number:wP,string:TP,date:kP,time:MP,datetime:q2,boolean:AP,array:SP,exists:CP,alphanum:EP};class jd extends qi{constructor(e){super(e),this.sortList=[],this.changed=!1,this.registerTableOption("sortMode","local"),this.registerTableOption("initialSort",!1),this.registerTableOption("columnHeaderSortMulti",!0),this.registerTableOption("sortOrderReverse",!1),this.registerTableOption("headerSortElement","
"),this.registerTableOption("headerSortClickElement","header"),this.registerColumnOption("sorter"),this.registerColumnOption("sorterParams"),this.registerColumnOption("headerSort",!0),this.registerColumnOption("headerSortStartingDir"),this.registerColumnOption("headerSortTristate")}initialize(){this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("table-built",this.tableBuilt.bind(this)),this.registerDataHandler(this.sort.bind(this),20),this.registerTableFunction("setSort",this.userSetSort.bind(this)),this.registerTableFunction("getSorters",this.getSort.bind(this)),this.registerTableFunction("clearSort",this.clearSort.bind(this)),this.table.options.sortMode==="remote"&&this.subscribe("data-params",this.remoteSortParams.bind(this))}tableBuilt(){this.table.options.initialSort&&this.setSort(this.table.options.initialSort)}remoteSortParams(e,r,C,D){var T=this.getSort();return T.forEach(p=>{delete p.column}),D.sort=T,D}userSetSort(e,r){this.setSort(e,r),this.refreshSort()}clearSort(){this.clear(),this.refreshSort()}initializeColumn(e){var r=!1,C,D;switch(typeof e.definition.sorter){case"string":jd.sorters[e.definition.sorter]?r=jd.sorters[e.definition.sorter]:console.warn("Sort Error - No such sorter found: ",e.definition.sorter);break;case"function":r=e.definition.sorter;break}if(e.modules.sort={sorter:r,dir:"none",params:e.definition.sorterParams||{},startingDir:e.definition.headerSortStartingDir||"asc",tristate:e.definition.headerSortTristate},e.definition.headerSort!==!1){switch(C=e.getElement(),C.classList.add("tabulator-sortable"),D=document.createElement("div"),D.classList.add("tabulator-col-sorter"),this.table.options.headerSortClickElement){case"icon":D.classList.add("tabulator-col-sorter-element");break;case"header":C.classList.add("tabulator-col-sorter-element");break;default:C.classList.add("tabulator-col-sorter-element");break}switch(this.table.options.headerSortElement){case"function":break;case"object":D.appendChild(this.table.options.headerSortElement);break;default:D.innerHTML=this.table.options.headerSortElement}e.titleHolderElement.appendChild(D),e.modules.sort.element=D,this.setColumnHeaderSortIcon(e,"none"),this.table.options.headerSortClickElement==="icon"&&D.addEventListener("mousedown",T=>{T.stopPropagation()}),(this.table.options.headerSortClickElement==="icon"?D:C).addEventListener("click",T=>{var p="",t=[],d=!1;if(e.modules.sort){if(e.modules.sort.tristate)e.modules.sort.dir=="none"?p=e.modules.sort.startingDir:e.modules.sort.dir==e.modules.sort.startingDir?p=e.modules.sort.dir=="asc"?"desc":"asc":p="none";else switch(e.modules.sort.dir){case"asc":p="desc";break;case"desc":p="asc";break;default:p=e.modules.sort.startingDir}this.table.options.columnHeaderSortMulti&&(T.shiftKey||T.ctrlKey)?(t=this.getSort(),d=t.findIndex(g=>g.field===e.getField()),d>-1?(t[d].dir=p,d=t.splice(d,1)[0],p!="none"&&t.push(d)):p!="none"&&t.push({column:e,dir:p}),this.setSort(t)):p=="none"?this.clear():this.setSort(e,p),this.refreshSort()}})}}refreshSort(){this.table.options.sortMode==="remote"?this.reloadData(null,!1,!1):this.refreshData(!0)}hasChanged(){var e=this.changed;return this.changed=!1,e}getSort(){var e=this,r=[];return e.sortList.forEach(function(C){C.column&&r.push({column:C.column.getComponent(),field:C.column.getField(),dir:C.dir})}),r}setSort(e,r){var C=this,D=[];Array.isArray(e)||(e=[{column:e,dir:r}]),e.forEach(function(T){var p;p=C.table.columnManager.findColumn(T.column),p?(T.column=p,D.push(T),C.changed=!0):console.warn("Sort Warning - Sort field does not exist and is being ignored: ",T.column)}),C.sortList=D,this.dispatch("sort-changed")}clear(){this.setSort([])}findSorter(e){var r=this.table.rowManager.activeRows[0],C="string",D,T;if(r&&(r=r.getData(),D=e.getField(),D))switch(T=e.getFieldValue(r),typeof T){case"undefined":C="string";break;case"boolean":C="boolean";break;default:!isNaN(T)&&T!==""?C="number":T.match(/((^[0-9]+[a-z]+)|(^[a-z]+[0-9]+))+$/i)&&(C="alphanum");break}return jd.sorters[C]}sort(e){var r=this,C=this.table.options.sortOrderReverse?r.sortList.slice().reverse():r.sortList,D=[],T=[];return this.subscribedExternal("dataSorting")&&this.dispatchExternal("dataSorting",r.getSort()),r.clearColumnHeaders(),this.table.options.sortMode!=="remote"?(C.forEach(function(p,t){var d;p.column&&(d=p.column.modules.sort,d&&(d.sorter||(d.sorter=r.findSorter(p.column)),p.params=typeof d.params=="function"?d.params(p.column.getComponent(),p.dir):d.params,D.push(p)),r.setColumnHeader(p.column,p.dir))}),D.length&&r._sortItems(e,D)):C.forEach(function(p,t){r.setColumnHeader(p.column,p.dir)}),this.subscribedExternal("dataSorted")&&(e.forEach(p=>{T.push(p.getComponent())}),this.dispatchExternal("dataSorted",r.getSort(),T)),e}clearColumnHeaders(){this.table.columnManager.getRealColumns().forEach(e=>{e.modules.sort&&(e.modules.sort.dir="none",e.getElement().setAttribute("aria-sort","none"),this.setColumnHeaderSortIcon(e,"none"))})}setColumnHeader(e,r){e.modules.sort.dir=r,e.getElement().setAttribute("aria-sort",r==="asc"?"ascending":"descending"),this.setColumnHeaderSortIcon(e,r)}setColumnHeaderSortIcon(e,r){var C=e.modules.sort.element,D;if(e.definition.headerSort&&typeof this.table.options.headerSortElement=="function"){for(;C.firstChild;)C.removeChild(C.firstChild);D=this.table.options.headerSortElement.call(this.table,e.getComponent(),r),typeof D=="object"?C.appendChild(D):C.innerHTML=D}}_sortItems(e,r){var C=r.length-1;e.sort((D,T)=>{for(var p,t=C;t>=0;t--){let d=r[t];if(p=this._sortRow(D,T,d.column,d.dir,d.params),p!==0)break}return p})}_sortRow(e,r,C,D,T){var p,t,d=D=="asc"?e:r,g=D=="asc"?r:e;return e=C.getFieldValue(d.getData()),r=C.getFieldValue(g.getData()),e=typeof e<"u"?e:"",r=typeof r<"u"?r:"",p=d.getComponent(),t=g.getComponent(),C.modules.sort.sorter.call(this,e,r,p,t,C.getComponent(),D,T)}}jd.moduleName="sort";jd.sorters=LP;class IP{constructor(e){return this._range=e,new Proxy(this,{get:function(r,C,D){return typeof r[C]<"u"?r[C]:r._range.table.componentFunctionBinder.handle("range",r._range,C)}})}getElement(){return this._range.element}getData(){return this._range.getData()}getCells(){return this._range.getCells(!0)}getStructuredCells(){return this._range.getStructuredCells()}getRows(){return this._range.getRows().map(e=>e.getComponent())}getColumns(){return this._range.getColumns().map(e=>e.getComponent())}getBounds(){return this._range.getBounds()}getTopEdge(){return this._range.top}getBottomEdge(){return this._range.bottom}getLeftEdge(){return this._range.left}getRightEdge(){return this._range.right}setBounds(e,r){this._range.destroyedGuard("setBounds")&&this._range.setBounds(e&&e._cell,r&&r._cell)}setStartBound(e){this._range.destroyedGuard("setStartBound")&&(this._range.setEndBound(e&&e._cell),this._range.rangeManager.layoutElement())}setEndBound(e){this._range.destroyedGuard("setEndBound")&&(this._range.setEndBound(e&&e._cell),this._range.rangeManager.layoutElement())}clearValues(){this._range.destroyedGuard("clearValues")&&this._range.clearValues()}remove(){this._range.destroyedGuard("remove")&&this._range.destroy(!0)}}class RP extends kl{constructor(e,r,C,D){super(e),this.rangeManager=r,this.element=null,this.initialized=!1,this.initializing={start:!1,end:!1},this.destroyed=!1,this.top=0,this.bottom=0,this.left=0,this.right=0,this.table=e,this.start={row:0,col:0},this.end={row:0,col:0},this.rangeManager.rowHeader&&(this.left=1,this.right=1,this.start.col=1,this.end.col=1),this.initElement(),setTimeout(()=>{this.initBounds(C,D)})}initElement(){this.element=document.createElement("div"),this.element.classList.add("tabulator-range")}initBounds(e,r){this._updateMinMax(),e&&this.setBounds(e,r||e)}setStart(e,r){(this.start.row!==e||this.start.col!==r)&&(this.start.row=e,this.start.col=r,this.initializing.start=!0,this._updateMinMax())}setEnd(e,r){(this.end.row!==e||this.end.col!==r)&&(this.end.row=e,this.end.col=r,this.initializing.end=!0,this._updateMinMax())}setBounds(e,r,C){e&&this.setStartBound(e),this.setEndBound(r||e),this.rangeManager.layoutElement(C)}setStartBound(e){var r,C;e.type==="column"?this.rangeManager.columnSelection&&this.setStart(0,e.getPosition()-1):(r=e.row.position-1,C=e.column.getPosition()-1,e.column===this.rangeManager.rowHeader?this.setStart(r,1):this.setStart(r,C))}setEndBound(e){var r=this._getTableRows().length,C,D,T;e.type==="column"?this.rangeManager.columnSelection&&(this.rangeManager.selecting==="column"?this.setEnd(r-1,e.getPosition()-1):this.rangeManager.selecting==="cell"&&this.setEnd(0,e.getPosition()-1)):(C=e.row.position-1,D=e.column.getPosition()-1,T=e.column===this.rangeManager.rowHeader,this.rangeManager.selecting==="row"?this.setEnd(C,this._getTableColumns().length-1):this.rangeManager.selecting!=="row"&&T?this.setEnd(C,0):this.rangeManager.selecting==="column"?this.setEnd(r-1,D):this.setEnd(C,D))}_updateMinMax(){this.top=Math.min(this.start.row,this.end.row),this.bottom=Math.max(this.start.row,this.end.row),this.left=Math.min(this.start.col,this.end.col),this.right=Math.max(this.start.col,this.end.col),this.initialized?this.dispatchExternal("rangeChanged",this.getComponent()):this.initializing.start&&this.initializing.end&&(this.initialized=!0,this.dispatchExternal("rangeAdded",this.getComponent()))}_getTableColumns(){return this.table.columnManager.getVisibleColumnsByIndex()}_getTableRows(){return this.table.rowManager.getDisplayRows()}layout(){var e=this.table.rowManager.renderer.vDomTop,r=this.table.rowManager.renderer.vDomBottom,C=this.table.columnManager.renderer.leftCol,D=this.table.columnManager.renderer.rightCol,T,p,t,d,g,i;e==null&&(e=0),r==null&&(r=1/0),C==null&&(C=0),D==null&&(D=1/0),this.overlaps(C,e,D,r)&&(T=Math.max(this.top,e),p=Math.min(this.bottom,r),t=Math.max(this.left,C),d=Math.min(this.right,D),g=this.rangeManager.getCell(T,t),i=this.rangeManager.getCell(p,d),this.element.classList.add("tabulator-range-active"),this.element.style.left=g.row.getElement().offsetLeft+g.getElement().offsetLeft+"px",this.element.style.top=g.row.getElement().offsetTop+"px",this.element.style.width=i.getElement().offsetLeft+i.getElement().offsetWidth-g.getElement().offsetLeft+"px",this.element.style.height=i.row.getElement().offsetTop+i.row.getElement().offsetHeight-g.row.getElement().offsetTop+"px")}atTopLeft(e){return e.row.position-1===this.top&&e.column.getPosition()-1===this.left}atBottomRight(e){return e.row.position-1===this.bottom&&e.column.getPosition()-1===this.right}occupies(e){return this.occupiesRow(e.row)&&this.occupiesColumn(e.column)}occupiesRow(e){return this.top<=e.position-1&&e.position-1<=this.bottom}occupiesColumn(e){return this.left<=e.getPosition()-1&&e.getPosition()-1<=this.right}overlaps(e,r,C,D){return!(this.left>C||e>this.right||this.top>D||r>this.bottom)}getData(){var e=[],r=this.getRows(),C=this.getColumns();return r.forEach(D=>{var T=D.getData(),p={};C.forEach(t=>{p[t.field]=T[t.field]}),e.push(p)}),e}getCells(e,r){var C=[],D=this.getRows(),T=this.getColumns();return e?C=D.map(p=>{var t=[];return p.getCells().forEach(d=>{T.includes(d.column)&&t.push(r?d.getComponent():d)}),t}):D.forEach(p=>{p.getCells().forEach(t=>{T.includes(t.column)&&C.push(r?t.getComponent():t)})}),C}getStructuredCells(){return this.getCells(!0,!0)}getRows(){return this._getTableRows().slice(this.top,this.bottom+1)}getColumns(){return this._getTableColumns().slice(this.left,this.right+1)}clearValues(){var e=this.getCells(),r=this.table.options.selectableRangeClearCellsValue;this.table.blockRedraw(),e.forEach(C=>{C.setValue(r)}),this.table.restoreRedraw()}getBounds(e){var r=this.getCells(!1,e),C={start:null,end:null};return r.length?(C.start=r[0],C.end=r[r.length-1]):console.warn("No bounds defined on range"),C}getComponent(){return this.component||(this.component=new IP(this)),this.component}destroy(e){this.destroyed=!0,this.element.remove(),e&&this.rangeManager.rangeRemoved(this),this.initialized&&this.dispatchExternal("rangeRemoved",this.getComponent())}destroyedGuard(e){return this.destroyed&&console.warn("You cannot call the "+e+" function on a destroyed range"),!this.destroyed}}class KM extends qi{constructor(e){super(e),this.selecting="cell",this.mousedown=!1,this.ranges=[],this.overlay=null,this.rowHeader=null,this.layoutChangeTimeout=null,this.columnSelection=!1,this.rowSelection=!1,this.maxRanges=0,this.activeRange=!1,this.blockKeydown=!1,this.keyDownEvent=this._handleKeyDown.bind(this),this.mouseUpEvent=this._handleMouseUp.bind(this),this.registerTableOption("selectableRange",!1),this.registerTableOption("selectableRangeColumns",!1),this.registerTableOption("selectableRangeRows",!1),this.registerTableOption("selectableRangeClearCells",!1),this.registerTableOption("selectableRangeClearCellsValue",void 0),this.registerTableFunction("getRangesData",this.getRangesData.bind(this)),this.registerTableFunction("getRanges",this.getRanges.bind(this)),this.registerTableFunction("addRange",this.addRangeFromComponent.bind(this)),this.registerComponentFunction("cell","getRanges",this.cellGetRanges.bind(this)),this.registerComponentFunction("row","getRanges",this.rowGetRanges.bind(this)),this.registerComponentFunction("column","getRanges",this.colGetRanges.bind(this))}initialize(){this.options("selectableRange")&&(this.options("selectableRows")?console.warn("SelectRange functionality cannot be used in conjunction with row selection"):(this.maxRanges=this.options("selectableRange"),this.initializeTable(),this.initializeWatchers()))}initializeTable(){this.overlay=document.createElement("div"),this.overlay.classList.add("tabulator-range-overlay"),this.rangeContainer=document.createElement("div"),this.rangeContainer.classList.add("tabulator-range-container"),this.activeRangeCellElement=document.createElement("div"),this.activeRangeCellElement.classList.add("tabulator-range-cell-active"),this.overlay.appendChild(this.rangeContainer),this.overlay.appendChild(this.activeRangeCellElement),this.table.rowManager.element.addEventListener("keydown",this.keyDownEvent),this.resetRanges(),this.table.rowManager.element.appendChild(this.overlay),this.table.columnManager.element.setAttribute("tabindex",0),this.table.element.classList.add("tabulator-ranges")}initializeWatchers(){this.columnSelection=this.options("selectableRangeColumns"),this.rowSelection=this.options("selectableRangeRows"),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("column-mousedown",this.handleColumnMouseDown.bind(this)),this.subscribe("column-mousemove",this.handleColumnMouseMove.bind(this)),this.subscribe("column-resized",this.handleColumnResized.bind(this)),this.subscribe("column-width",this.layoutChange.bind(this)),this.subscribe("column-height",this.layoutChange.bind(this)),this.subscribe("column-resized",this.layoutChange.bind(this)),this.subscribe("columns-loaded",this.updateHeaderColumn.bind(this)),this.subscribe("cell-height",this.layoutChange.bind(this)),this.subscribe("cell-rendered",this.renderCell.bind(this)),this.subscribe("cell-mousedown",this.handleCellMouseDown.bind(this)),this.subscribe("cell-mousemove",this.handleCellMouseMove.bind(this)),this.subscribe("cell-click",this.handleCellClick.bind(this)),this.subscribe("cell-editing",this.handleEditingCell.bind(this)),this.subscribe("page-changed",this.redraw.bind(this)),this.subscribe("scroll-vertical",this.layoutChange.bind(this)),this.subscribe("scroll-horizontal",this.layoutChange.bind(this)),this.subscribe("data-destroy",this.tableDestroyed.bind(this)),this.subscribe("data-processed",this.resetRanges.bind(this)),this.subscribe("table-layout",this.layoutElement.bind(this)),this.subscribe("table-redraw",this.redraw.bind(this)),this.subscribe("table-destroy",this.tableDestroyed.bind(this)),this.subscribe("edit-editor-clear",this.finishEditingCell.bind(this)),this.subscribe("edit-blur",this.restoreFocus.bind(this)),this.subscribe("keybinding-nav-prev",this.keyNavigate.bind(this,"left")),this.subscribe("keybinding-nav-next",this.keyNavigate.bind(this,"right")),this.subscribe("keybinding-nav-left",this.keyNavigate.bind(this,"left")),this.subscribe("keybinding-nav-right",this.keyNavigate.bind(this,"right")),this.subscribe("keybinding-nav-up",this.keyNavigate.bind(this,"up")),this.subscribe("keybinding-nav-down",this.keyNavigate.bind(this,"down")),this.subscribe("keybinding-nav-range",this.keyNavigateRange.bind(this))}initializeColumn(e){this.columnSelection&&e.definition.headerSort&&this.options("headerSortClickElement")!=="icon"&&console.warn("Using column headerSort with selectableRangeColumns option may result in unpredictable behavior. Consider using headerSortClickElement: 'icon'."),e.modules.edit}updateHeaderColumn(){this.rowSelection&&(this.rowHeader=this.table.columnManager.getVisibleColumnsByIndex()[0],this.rowHeader&&(this.rowHeader.definition.cssClass=this.rowHeader.definition.cssClass+" tabulator-range-row-header",this.rowHeader.definition.headerSort&&console.warn("Using column headerSort with selectableRangeRows option may result in unpredictable behavior"),this.rowHeader.definition.editor&&console.warn("Using column editor with selectableRangeRows option may result in unpredictable behavior")))}getRanges(){return this.ranges.map(e=>e.getComponent())}getRangesData(){return this.ranges.map(e=>e.getData())}addRangeFromComponent(e,r){return e=e?e._cell:null,r=r?r._cell:null,this.addRange(e,r)}cellGetRanges(e){var r=[];return e.column===this.rowHeader?r=this.ranges.filter(C=>C.occupiesRow(e.row)):r=this.ranges.filter(C=>C.occupies(e)),r.map(C=>C.getComponent())}rowGetRanges(e){var r=this.ranges.filter(C=>C.occupiesRow(e));return r.map(C=>C.getComponent())}colGetRanges(e){var r=this.ranges.filter(C=>C.occupiesColumn(e));return r.map(C=>C.getComponent())}_handleMouseUp(e){this.mousedown=!1,document.removeEventListener("mouseup",this.mouseUpEvent)}_handleKeyDown(e){if(!this.blockKeydown&&(!this.table.modules.edit||this.table.modules.edit&&!this.table.modules.edit.currentCell)){if(e.key==="Enter"){if(this.table.modules.edit&&this.table.modules.edit.currentCell)return;this.table.modules.edit.editCell(this.getActiveCell()),e.preventDefault()}(e.key==="Backspace"||e.key==="Delete")&&this.options("selectableRangeClearCells")&&this.activeRange&&this.activeRange.clearValues()}}initializeFocus(e){var r;try{document.selection?(r=document.body.createTextRange(),r.moveToElementText(e.getElement()),r.select()):window.getSelection&&(r=document.createRange(),r.selectNode(e.getElement()),window.getSelection().removeAllRanges(),window.getSelection().addRange(r))}catch{}}restoreFocus(e){return this.table.rowManager.element.focus(),!0}handleColumnResized(e){var r;this.selecting!=="column"&&this.selecting!=="all"||(r=this.ranges.some(C=>C.occupiesColumn(e)),r&&this.ranges.forEach(C=>{var D=C.getColumns(!0);D.forEach(T=>{T!==e&&T.setWidth(e.width)})}))}handleColumnMouseDown(e,r){e.button===2&&(this.selecting==="column"||this.selecting==="all")&&this.activeRange.occupiesColumn(r)||(this.mousedown=!0,document.addEventListener("mouseup",this.mouseUpEvent),this.newSelection(e,r))}handleColumnMouseMove(e,r){r===this.rowHeader||!this.mousedown||this.selecting==="all"||this.activeRange.setBounds(!1,r,!0)}renderCell(e){var r=e.getElement(),C=this.ranges.findIndex(D=>D.occupies(e));r.classList.toggle("tabulator-range-selected",C!==-1),r.classList.toggle("tabulator-range-only-cell-selected",this.ranges.length===1&&this.ranges[0].atTopLeft(e)&&this.ranges[0].atBottomRight(e)),r.dataset.range=C}handleCellMouseDown(e,r){e.button===2&&(this.activeRange.occupies(r)||(this.selecting==="row"||this.selecting==="all")&&this.activeRange.occupiesRow(r.row))||(this.mousedown=!0,document.addEventListener("mouseup",this.mouseUpEvent),this.newSelection(e,r))}handleCellMouseMove(e,r){!this.mousedown||this.selecting==="all"||this.activeRange.setBounds(!1,r,!0)}handleCellClick(e,r){this.initializeFocus(r)}handleEditingCell(e){this.activeRange&&this.activeRange.setBounds(e)}finishEditingCell(){this.blockKeydown=!0,this.table.rowManager.element.focus(),setTimeout(()=>{this.blockKeydown=!1},10)}keyNavigate(e,r){this.navigate(!1,!1,e)&&r.preventDefault()}keyNavigateRange(e,r,C,D){this.navigate(C,D,r)&&e.preventDefault()}navigate(e,r,C){var D=!1,T,p,t,d,g,i;if(this.table.modules.edit&&this.table.modules.edit.currentCell)return!1;if(this.ranges.length>1&&(this.ranges=this.ranges.filter(M=>M===this.activeRange?(M.setEnd(M.start.row,M.start.col),!0):(M.destroy(),!1))),T=this.activeRange,p=r?T.end:T.start,t=p.row,d=p.col,e)switch(C){case"left":d=this.findJumpCellLeft(T.start.row,p.col);break;case"right":d=this.findJumpCellRight(T.start.row,p.col);break;case"up":t=this.findJumpCellUp(p.row,T.start.col);break;case"down":t=this.findJumpCellDown(p.row,T.start.col);break}else{if(r&&(this.selecting==="row"&&(C==="left"||C==="right")||this.selecting==="column"&&(C==="up"||C==="down")))return;switch(C){case"left":d=Math.max(d-1,0);break;case"right":d=Math.min(d+1,this.getTableColumns().length-1);break;case"up":t=Math.max(t-1,0);break;case"down":t=Math.min(t+1,this.getTableRows().length-1);break}}if(D=d!==p.col||t!==p.row,r||T.setStart(t,d),T.setEnd(t,d),r||(this.selecting="cell"),D)return g=this.getRowByRangePos(T.end.row),i=this.getColumnByRangePos(T.end.col),(C==="left"||C==="right")&&i.getElement().parentNode===null?i.getComponent().scrollTo(void 0,!1):(C==="up"||C==="down")&&g.getElement().parentNode===null?g.getComponent().scrollTo(void 0,!1):this.autoScroll(T,g.getElement(),i.getElement()),this.layoutElement(),!0}rangeRemoved(e){this.ranges=this.ranges.filter(r=>r!==e),this.activeRange===e&&(this.ranges.length?this.activeRange=this.ranges[this.ranges.length-1]:this.addRange()),this.layoutElement()}findJumpCell(e,r,C,D){var T;r&&(e=e.reverse());for(let p of e){let t=p.getValue();if(C){if(T=p,t)break}else if(D){if(T=p,t)break}else if(t)T=p;else break}return T}findJumpCellLeft(e,r){var C=this.getRowByRangePos(e),D=C.cells.filter(i=>i.column.visible),T=!D[r].getValue(),p=D[r]?!D[r].getValue():!1,t=r,d=this.rowHeader?D.slice(1,r):D.slice(0,r),g=this.findJumpCell(d,!0,T,p);return g&&(t=g.column.getPosition()-1),t}findJumpCellRight(e,r){var C=this.getRowByRangePos(e),D=C.cells.filter(g=>g.column.visible),T=!D[r].getValue(),p=D[r+1]?!D[r+1].getValue():!1,t=r,d=this.findJumpCell(D.slice(r+1,D.length),!1,T,p);return d&&(t=d.column.getPosition()-1),t}findJumpCellUp(e,r){var C=this.getColumnByRangePos(r),D=C.cells.filter(g=>this.table.rowManager.activeRows.includes(g.row)),T=!D[e].getValue(),p=D[e-1]?!D[e-1].getValue():!1,t=e,d=this.findJumpCell(D.slice(0,t),!0,T,p);return d&&(t=d.row.position-1),t}findJumpCellDown(e,r){var C=this.getColumnByRangePos(r),D=C.cells.filter(g=>this.table.rowManager.activeRows.includes(g.row)),T=!D[e].getValue(),p=D[e+1]?!D[e+1].getValue():!1,t=e,d=this.findJumpCell(D.slice(t+1,D.length),!1,T,p);return d&&(t=d.row.position-1),t}newSelection(e,r){var C;if(r.type==="column"){if(!this.columnSelection)return;if(r===this.rowHeader){C=this.resetRanges(),this.selecting="all";var D,T=this.getCell(-1,-1);this.rowHeader?D=this.getCell(0,1):D=this.getCell(0,0),C.setBounds(D,T);return}else this.selecting="column"}else r.column===this.rowHeader?this.selecting="row":this.selecting="cell";e.shiftKey?this.activeRange.setBounds(!1,r):e.ctrlKey?this.addRange().setBounds(r):this.resetRanges().setBounds(r)}autoScroll(e,r,C){var D=this.table.rowManager.element,T,p,t,d,g;typeof r>"u"&&(r=this.getRowByRangePos(e.end.row).getElement()),typeof C>"u"&&(C=this.getColumnByRangePos(e.end.col).getElement()),this.rowHeader&&(T=this.rowHeader.getElement()),p={left:C.offsetLeft,right:C.offsetLeft+C.offsetWidth,top:r.offsetTop,bottom:r.offsetTop+r.offsetHeight},t={left:D.scrollLeft,right:Math.ceil(D.scrollLeft+D.clientWidth),top:D.scrollTop,bottom:D.scrollTop+D.offsetHeight-this.table.rowManager.scrollbarWidth},T&&(t.left+=T.offsetWidth),d=t.leftt.right&&(D.scrollLeft=p.right-D.clientWidth)),g||(p.topt.bottom&&(D.scrollTop=p.bottom-D.clientHeight))}layoutChange(){this.overlay.style.visibility="hidden",clearTimeout(this.layoutChangeTimeout),this.layoutChangeTimeout=setTimeout(this.layoutRanges.bind(this),200)}redraw(e){e&&(this.selecting="cell",this.resetRanges(),this.layoutElement())}layoutElement(e){var r;e?r=this.table.rowManager.getVisibleRows(!0):r=this.table.rowManager.getRows(),r.forEach(C=>{C.type==="row"&&(this.layoutRow(C),C.cells.forEach(D=>this.renderCell(D)))}),this.getTableColumns().forEach(C=>{this.layoutColumn(C)}),this.layoutRanges()}layoutRow(e){var r=e.getElement(),C=!1,D=this.ranges.some(T=>T.occupiesRow(e));this.selecting==="row"?C=D:this.selecting==="all"&&(C=!0),r.classList.toggle("tabulator-range-selected",C),r.classList.toggle("tabulator-range-highlight",D)}layoutColumn(e){var r=e.getElement(),C=!1,D=this.ranges.some(T=>T.occupiesColumn(e));this.selecting==="column"?C=D:this.selecting==="all"&&(C=!0),r.classList.toggle("tabulator-range-selected",C),r.classList.toggle("tabulator-range-highlight",D)}layoutRanges(){var e;this.table.initialized&&(e=this.getActiveCell(),e&&(this.activeRangeCellElement.style.left=e.row.getElement().offsetLeft+e.getElement().offsetLeft+"px",this.activeRangeCellElement.style.top=e.row.getElement().offsetTop+"px",this.activeRangeCellElement.style.width=e.getElement().offsetLeft+e.getElement().offsetWidth-e.getElement().offsetLeft+"px",this.activeRangeCellElement.style.height=e.row.getElement().offsetTop+e.row.getElement().offsetHeight-e.row.getElement().offsetTop+"px",this.ranges.forEach(r=>r.layout()),this.overlay.style.visibility="visible"))}getCell(e,r){var C;return r<0&&(r=this.getTableColumns().length+r,r<0)?null:(e<0&&(e=this.getTableRows().length+e),C=this.table.rowManager.getRowFromPosition(e+1),C?C.getCells(!1,!0).filter(D=>D.column.visible)[r]:null)}getActiveCell(){return this.getCell(this.activeRange.start.row,this.activeRange.start.col)}getRowByRangePos(e){return this.getTableRows()[e]}getColumnByRangePos(e){return this.getTableColumns()[e]}getTableRows(){return this.table.rowManager.getDisplayRows()}getTableColumns(){return this.table.columnManager.getVisibleColumnsByIndex()}addRange(e,r){var C;return this.maxRanges!==!0&&this.ranges.length>=this.maxRanges&&this.ranges.shift().destroy(),C=new RP(this.table,this,e,r),this.activeRange=C,this.ranges.push(C),this.rangeContainer.appendChild(C.element),C}resetRanges(){var e,r;return this.ranges.forEach(C=>C.destroy()),this.ranges=[],e=this.addRange(),this.table.rowManager.activeRows.length&&(r=this.table.rowManager.activeRows[0].cells[this.rowHeader?1:0],r&&(e.setBounds(r),this.initializeFocus(r))),e}tableDestroyed(){document.removeEventListener("mouseup",this.mouseUpEvent),this.table.rowManager.element.removeEventListener("keydown",this.keyDownEvent)}selectedRows(e){return e?this.activeRange.getRows().map(r=>r.getComponent()):this.activeRange.getRows()}selectedColumns(e){return e?this.activeRange.getColumns().map(r=>r.getComponent()):this.activeRange.getColumns()}}KM.moduleName="selectRange";class JM extends qi{constructor(e){super(e),this.tooltipSubscriber=null,this.headerSubscriber=null,this.timeout=null,this.popupInstance=null,this.registerTableOption("tooltipGenerationMode",void 0),this.registerTableOption("tooltipDelay",300),this.registerColumnOption("tooltip"),this.registerColumnOption("headerTooltip")}initialize(){this.deprecatedOptionsCheck(),this.subscribe("column-init",this.initializeColumn.bind(this))}deprecatedOptionsCheck(){this.deprecationCheckMsg("tooltipGenerationMode","This option is no longer needed as tooltips are always generated on hover now")}initializeColumn(e){e.definition.headerTooltip&&!this.headerSubscriber&&(this.headerSubscriber=!0,this.subscribe("column-mousemove",this.mousemoveCheck.bind(this,"headerTooltip")),this.subscribe("column-mouseout",this.mouseoutCheck.bind(this,"headerTooltip"))),e.definition.tooltip&&!this.tooltipSubscriber&&(this.tooltipSubscriber=!0,this.subscribe("cell-mousemove",this.mousemoveCheck.bind(this,"tooltip")),this.subscribe("cell-mouseout",this.mouseoutCheck.bind(this,"tooltip")))}mousemoveCheck(e,r,C){var D=e==="tooltip"?C.column.definition.tooltip:C.definition.headerTooltip;D&&(this.clearPopup(),this.timeout=setTimeout(this.loadTooltip.bind(this,r,C,D),this.table.options.tooltipDelay))}mouseoutCheck(e,r,C){this.popupInstance||this.clearPopup()}clearPopup(e,r,C){clearTimeout(this.timeout),this.timeout=null,this.popupInstance&&this.popupInstance.hide()}loadTooltip(e,r,C){var D,T,p;function t(d){T=d}typeof C=="function"&&(C=C(e,r.getComponent(),t)),C instanceof HTMLElement?D=C:(D=document.createElement("div"),C===!0&&(r instanceof eg?C=r.value:r.definition.field?this.langBind("columns|"+r.definition.field,d=>{D.innerHTML=C=d||r.definition.title}):C=r.definition.title),D.innerHTML=C),(C||C===0||C===!1)&&(D.classList.add("tabulator-tooltip"),D.addEventListener("mousemove",d=>d.preventDefault()),this.popupInstance=this.popup(D),typeof T=="function"&&this.popupInstance.renderCallback(T),p=this.popupInstance.containerEventCoords(e),this.popupInstance.show(p.x+15,p.y+15).hideOnBlur(()=>{this.dispatchExternal("TooltipClosed",r.getComponent()),this.popupInstance=null}),this.dispatchExternal("TooltipOpened",r.getComponent()))}}JM.moduleName="tooltip";var PP={integer:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:(e=Number(e),!isNaN(e)&&isFinite(e)&&Math.floor(e)===e)},float:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:(e=Number(e),!isNaN(e)&&isFinite(e)&&e%1!==0)},numeric:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:!isNaN(e)},string:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:isNaN(e)},alphanumeric:function(n,e,r){if(e===""||e===null||typeof e>"u")return!0;var C=new RegExp(/^[a-z0-9]+$/i);return C.test(e)},max:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:parseFloat(e)<=r},min:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:parseFloat(e)>=r},starts:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).toLowerCase().startsWith(String(r).toLowerCase())},ends:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).toLowerCase().endsWith(String(r).toLowerCase())},minLength:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).length>=r},maxLength:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).length<=r},in:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:(typeof r=="string"&&(r=r.split("|")),r.indexOf(e)>-1)},regex:function(n,e,r){if(e===""||e===null||typeof e>"u")return!0;var C=new RegExp(r);return C.test(e)},unique:function(n,e,r){if(e===""||e===null||typeof e>"u")return!0;var C=!0,D=n.getData(),T=n.getColumn()._getSelf();return this.table.rowManager.rows.forEach(function(p){var t=p.getData();t!==D&&e==T.getFieldValue(t)&&(C=!1)}),C},required:function(n,e,r){return e!==""&&e!==null&&typeof e<"u"}};class ig extends qi{constructor(e){super(e),this.invalidCells=[],this.registerTableOption("validationMode","blocking"),this.registerColumnOption("validator"),this.registerTableFunction("getInvalidCells",this.getInvalidCells.bind(this)),this.registerTableFunction("clearCellValidation",this.userClearCellValidation.bind(this)),this.registerTableFunction("validate",this.userValidate.bind(this)),this.registerComponentFunction("cell","isValid",this.cellIsValid.bind(this)),this.registerComponentFunction("cell","clearValidation",this.clearValidation.bind(this)),this.registerComponentFunction("cell","validate",this.cellValidate.bind(this)),this.registerComponentFunction("column","validate",this.columnValidate.bind(this)),this.registerComponentFunction("row","validate",this.rowValidate.bind(this))}initialize(){this.subscribe("cell-delete",this.clearValidation.bind(this)),this.subscribe("column-layout",this.initializeColumnCheck.bind(this)),this.subscribe("edit-success",this.editValidate.bind(this)),this.subscribe("edit-editor-clear",this.editorClear.bind(this)),this.subscribe("edit-edited-clear",this.editedClear.bind(this))}editValidate(e,r,C){var D=this.table.options.validationMode!=="manual"?this.validate(e.column.modules.validate,e,r):!0;return D!==!0&&setTimeout(()=>{e.getElement().classList.add("tabulator-validation-fail"),this.dispatchExternal("validationFailed",e.getComponent(),r,D)}),D}editorClear(e,r){r&&e.column.modules.validate&&this.cellValidate(e),e.getElement().classList.remove("tabulator-validation-fail")}editedClear(e){e.modules.validate&&(e.modules.validate.invalid=!1)}cellIsValid(e){return e.modules.validate&&e.modules.validate.invalid||!0}cellValidate(e){return this.validate(e.column.modules.validate,e,e.getValue())}columnValidate(e){var r=[];return e.cells.forEach(C=>{this.cellValidate(C)!==!0&&r.push(C.getComponent())}),r.length?r:!0}rowValidate(e){var r=[];return e.cells.forEach(C=>{this.cellValidate(C)!==!0&&r.push(C.getComponent())}),r.length?r:!0}userClearCellValidation(e){e||(e=this.getInvalidCells()),Array.isArray(e)||(e=[e]),e.forEach(r=>{this.clearValidation(r._getSelf())})}userValidate(e){var r=[];return this.table.rowManager.rows.forEach(C=>{C=C.getComponent();var D=C.validate();D!==!0&&(r=r.concat(D))}),r.length?r:!0}initializeColumnCheck(e){typeof e.definition.validator<"u"&&this.initializeColumn(e)}initializeColumn(e){var r=this,C=[],D;e.definition.validator&&(Array.isArray(e.definition.validator)?e.definition.validator.forEach(T=>{D=r._extractValidator(T),D&&C.push(D)}):(D=this._extractValidator(e.definition.validator),D&&C.push(D)),e.modules.validate=C.length?C:!1)}_extractValidator(e){var r,C,D;switch(typeof e){case"string":return D=e.indexOf(":"),D>-1?(r=e.substring(0,D),C=e.substring(D+1)):r=e,this._buildValidator(r,C);case"function":return this._buildValidator(e);case"object":return this._buildValidator(e.type,e.parameters)}}_buildValidator(e,r){var C=typeof e=="function"?e:ig.validators[e];return C?{type:typeof e=="function"?"function":e,func:C,params:r}:(console.warn("Validator Setup Error - No matching validator found:",e),!1)}validate(e,r,C){var D=this,T=[],p=this.invalidCells.indexOf(r);return e&&e.forEach(t=>{t.func.call(D,r.getComponent(),C,t.params)||T.push({type:t.type,parameters:t.params})}),r.modules.validate||(r.modules.validate={}),T.length?(r.modules.validate.invalid=T,this.table.options.validationMode!=="manual"&&r.getElement().classList.add("tabulator-validation-fail"),p==-1&&this.invalidCells.push(r)):(r.modules.validate.invalid=!1,r.getElement().classList.remove("tabulator-validation-fail"),p>-1&&this.invalidCells.splice(p,1)),T.length?T:!0}getInvalidCells(){var e=[];return this.invalidCells.forEach(r=>{e.push(r.getComponent())}),e}clearValidation(e){var r;e.modules.validate&&e.modules.validate.invalid&&(e.getElement().classList.remove("tabulator-validation-fail"),e.modules.validate.invalid=!1,r=this.invalidCells.indexOf(e),r>-1&&this.invalidCells.splice(r,1))}}ig.moduleName="validate";ig.validators=PP;var OP=Object.freeze({__proto__:null,AccessorModule:i0,AjaxModule:Rc,ClipboardModule:qd,ColumnCalcsModule:zf,DataTreeModule:OM,DownloadModule:a0,EditModule:tg,ExportModule:DM,FilterModule:Xh,FormatModule:Yu,FrozenColumnsModule:zM,FrozenRowsModule:FM,GroupRowsModule:BM,HistoryModule:Wd,HtmlTableImportModule:NM,ImportModule:ng,InteractionModule:VM,KeybindingsModule:Vf,MenuModule:jM,MoveColumnsModule:UM,MoveRowsModule:$y,MutatorModule:o0,PageModule:rg,PersistenceModule:jl,PopupModule:HM,PrintModule:GM,ReactiveDataModule:qM,ResizeColumnsModule:WM,ResizeRowsModule:YM,ResizeTableModule:$M,ResponsiveLayoutModule:ZM,SelectRowModule:XM,SortModule:jd,SelectRangeModule:KM,TooltipModule:JM,ValidateModule:ig}),DP={debugEventsExternal:!1,debugEventsInternal:!1,debugInvalidOptions:!0,debugInvalidComponentFuncs:!0,debugInitialization:!0,debugDeprecation:!0,height:!1,minHeight:!1,maxHeight:!1,columnHeaderVertAlign:"top",popupContainer:!1,columns:[],columnDefaults:{},data:!1,autoColumns:!1,autoColumnsDefinitions:!1,nestedFieldSeparator:".",footerElement:!1,index:"id",textDirection:"auto",addRowPos:"bottom",headerVisible:!0,renderVertical:"virtual",renderHorizontal:"basic",renderVerticalBuffer:0,scrollToRowPosition:"top",scrollToRowIfVisible:!0,scrollToColumnPosition:"left",scrollToColumnIfVisible:!0,rowFormatter:!1,rowFormatterPrint:null,rowFormatterClipboard:null,rowFormatterHtmlOutput:null,rowHeight:null,placeholder:!1,dataLoader:!0,dataLoaderLoading:!1,dataLoaderError:!1,dataLoaderErrorTimeout:3e3,dataSendParams:{},dataReceiveParams:{}};class QM{constructor(e,r,C={}){this.table=e,this.msgType=r,this.registeredDefaults=Object.assign({},C)}register(e,r){this.registeredDefaults[e]=r}generate(e,r={}){var C=Object.assign({},this.registeredDefaults),D=this.table.options.debugInvalidOptions||r.debugInvalidOptions===!0;Object.assign(C,e);for(let T in r)C.hasOwnProperty(T)||(D&&console.warn("Invalid "+this.msgType+" option:",T),C[T]=r.key);for(let T in C)T in r?C[T]=r[T]:Array.isArray(C[T])?C[T]=Object.assign([],C[T]):typeof C[T]=="object"&&C[T]!==null?C[T]=Object.assign({},C[T]):typeof C[T]>"u"&&delete C[T];return C}}class Zy extends kl{constructor(e){super(e),this.elementVertical=e.rowManager.element,this.elementHorizontal=e.columnManager.element,this.tableElement=e.rowManager.tableElement,this.verticalFillMode="fit"}initialize(){}clearRows(){}clearColumns(){}reinitializeColumnWidths(e){}renderRows(){}renderColumns(){}rerenderRows(e){e&&e()}rerenderColumns(e,r){}renderRowCells(e){}rerenderRowCells(e,r){}scrollColumns(e,r){}scrollRows(e,r){}resize(){}scrollToRow(e){}scrollToRowNearestTop(e){}visibleRows(e){return[]}rows(){return this.table.rowManager.getDisplayRows()}styleRow(e,r){var C=e.getElement();r%2?(C.classList.add("tabulator-row-even"),C.classList.remove("tabulator-row-odd")):(C.classList.add("tabulator-row-odd"),C.classList.remove("tabulator-row-even"))}clear(){this.clearRows(),this.clearColumns()}render(){this.renderRows(),this.renderColumns()}rerender(e){this.rerenderRows(),this.rerenderColumns()}scrollToRowPosition(e,r,C){var D=this.rows().indexOf(e),T=e.getElement(),p=0;return new Promise((t,d)=>{if(D>-1){if(typeof C>"u"&&(C=this.table.options.scrollToRowIfVisible),!C&&oo.elVisible(T)&&(p=oo.elOffset(T).top-oo.elOffset(this.elementVertical).top,p>0&&p"u"&&(r=this.table.options.scrollToRowPosition),r==="nearest"&&(r=this.scrollToRowNearestTop(e)?"top":"bottom"),this.scrollToRow(e),r){case"middle":case"center":this.elementVertical.scrollHeight-this.elementVertical.scrollTop==this.elementVertical.clientHeight?this.elementVertical.scrollTop=this.elementVertical.scrollTop+(T.offsetTop-this.elementVertical.scrollTop)-(this.elementVertical.scrollHeight-T.offsetTop)/2:this.elementVertical.scrollTop=this.elementVertical.scrollTop-this.elementVertical.clientHeight/2;break;case"bottom":this.elementVertical.scrollHeight-this.elementVertical.scrollTop==this.elementVertical.clientHeight?this.elementVertical.scrollTop=this.elementVertical.scrollTop-(this.elementVertical.scrollHeight-T.offsetTop)+T.offsetHeight:this.elementVertical.scrollTop=this.elementVertical.scrollTop-this.elementVertical.clientHeight+T.offsetHeight;break;case"top":this.elementVertical.scrollTop=T.offsetTop;break}t()}else console.warn("Scroll Error - Row not visible"),d("Scroll Error - Row not visible")})}}class zP extends Zy{constructor(e){super(e)}renderRowCells(e,r){const C=document.createDocumentFragment();e.cells.forEach(D=>{C.appendChild(D.getElement())}),e.element.appendChild(C),r||e.cells.forEach(D=>{D.cellRendered()})}reinitializeColumnWidths(e){e.forEach(function(r){r.reinitializeWidth()})}}class FP extends Zy{constructor(e){super(e),this.leftCol=0,this.rightCol=0,this.scrollLeft=0,this.vDomScrollPosLeft=0,this.vDomScrollPosRight=0,this.vDomPadLeft=0,this.vDomPadRight=0,this.fitDataColAvg=0,this.windowBuffer=200,this.visibleRows=null,this.initialized=!1,this.isFitData=!1,this.columns=[]}initialize(){this.compatibilityCheck(),this.layoutCheck(),this.vertScrollListen()}compatibilityCheck(){this.options("layout")=="fitDataTable"&&console.warn("Horizontal Virtual DOM is not compatible with fitDataTable layout mode"),this.options("responsiveLayout")&&console.warn("Horizontal Virtual DOM is not compatible with responsive columns"),this.options("rtl")&&console.warn("Horizontal Virtual DOM is not currently compatible with RTL text direction")}layoutCheck(){this.isFitData=this.options("layout").startsWith("fitData")}vertScrollListen(){this.subscribe("scroll-vertical",this.clearVisRowCache.bind(this)),this.subscribe("data-refreshed",this.clearVisRowCache.bind(this))}clearVisRowCache(){this.visibleRows=null}renderColumns(e,r){this.dataChange()}scrollColumns(e,r){this.scrollLeft!=e&&(this.scrollLeft=e,this.scroll(e-(this.vDomScrollPosLeft+this.windowBuffer)))}calcWindowBuffer(){var e=this.elementVertical.clientWidth;this.table.columnManager.columnsByIndex.forEach(r=>{if(r.visible){var C=r.getWidth();C>e&&(e=C)}}),this.windowBuffer=e*2}rerenderColumns(e,r){var C={cols:this.columns,leftCol:this.leftCol,rightCol:this.rightCol},D=0;e&&!this.initialized||(this.clear(),this.calcWindowBuffer(),this.scrollLeft=this.elementVertical.scrollLeft,this.vDomScrollPosLeft=this.scrollLeft-this.windowBuffer,this.vDomScrollPosRight=this.scrollLeft+this.elementVertical.clientWidth+this.windowBuffer,this.table.columnManager.columnsByIndex.forEach(T=>{var p={},t;T.visible&&(T.modules.frozen||(t=T.getWidth(),p.leftPos=D,p.rightPos=D+t,p.width=t,this.isFitData&&(p.fitDataCheck=T.modules.vdomHoz?T.modules.vdomHoz.fitDataCheck:!0),D+t>this.vDomScrollPosLeft&&D{r.appendChild(C.getElement())}),e.element.appendChild(r),e.cells.forEach(C=>{C.cellRendered()})}}rerenderRowCells(e,r){this.reinitializeRow(e,r)}reinitializeColumnWidths(e){for(let r=this.leftCol;r<=this.rightCol;r++)this.columns[r].reinitializeWidth()}deinitialize(){this.initialized=!1}clear(){this.columns=[],this.leftCol=-1,this.rightCol=0,this.vDomScrollPosLeft=0,this.vDomScrollPosRight=0,this.vDomPadLeft=0,this.vDomPadRight=0}dataChange(){var e=!1,r,C;if(this.isFitData){if(this.table.columnManager.columnsByIndex.forEach(D=>{!D.definition.width&&D.visible&&(e=!0)}),e&&this.table.rowManager.getDisplayRows().length&&(this.vDomScrollPosRight=this.scrollLeft+this.elementVertical.clientWidth+this.windowBuffer,r=this.chain("rows-sample",[1],[],()=>this.table.rowManager.getDisplayRows())[0],r)){C=r.getElement(),r.generateCells(),this.tableElement.appendChild(C);for(let D=0;D{C!==this.columns[D]&&(r=!1)}),!r)}reinitializeRows(){var e=this.getVisibleRows(),r=this.table.rowManager.getRows().filter(C=>!e.includes(C));e.forEach(C=>{this.reinitializeRow(C,!0)}),r.forEach(C=>{C.deinitialize()})}getVisibleRows(){return this.visibleRows||(this.visibleRows=this.table.rowManager.getVisibleRows()),this.visibleRows}scroll(e){this.vDomScrollPosLeft+=e,this.vDomScrollPosRight+=e,Math.abs(e)>this.windowBuffer/2?this.rerenderColumns():e>0?(this.addColRight(),this.removeColLeft()):(this.addColLeft(),this.removeColRight())}colPositionAdjust(e,r,C){for(let D=e;D{if(D.type!=="group"){var T=D.getCell(C);D.getElement().insertBefore(T.getElement(),D.getCell(this.columns[this.rightCol]).getElement().nextSibling),T.cellRendered()}}),this.fitDataColActualWidthCheck(C),this.rightCol++,this.getVisibleRows().forEach(D=>{D.type!=="group"&&(D.modules.vdomHoz.rightCol=this.rightCol)}),this.rightCol>=this.columns.length-1?this.vDomPadRight=0:this.vDomPadRight-=C.getWidth()):r=!1}e&&(this.tableElement.style.paddingRight=this.vDomPadRight+"px")}addColLeft(){for(var e=!1,r=!0;r;){let C=this.columns[this.leftCol-1];if(C)if(C.modules.vdomHoz.rightPos>=this.vDomScrollPosLeft){e=!0,this.getVisibleRows().forEach(T=>{if(T.type!=="group"){var p=T.getCell(C);T.getElement().insertBefore(p.getElement(),T.getCell(this.columns[this.leftCol]).getElement()),p.cellRendered()}}),this.leftCol--,this.getVisibleRows().forEach(T=>{T.type!=="group"&&(T.modules.vdomHoz.leftCol=this.leftCol)}),this.leftCol<=0?this.vDomPadLeft=0:this.vDomPadLeft-=C.getWidth();let D=this.fitDataColActualWidthCheck(C);D&&(this.scrollLeft=this.elementVertical.scrollLeft=this.elementVertical.scrollLeft+D,this.vDomPadRight-=D)}else r=!1;else r=!1}e&&(this.tableElement.style.paddingLeft=this.vDomPadLeft+"px")}removeColRight(){for(var e=!1,r=!0;r;){let C=this.columns[this.rightCol];C&&C.modules.vdomHoz.leftPos>this.vDomScrollPosRight?(e=!0,this.getVisibleRows().forEach(D=>{if(D.type!=="group"){var T=D.getCell(C);try{D.getElement().removeChild(T.getElement())}catch(p){console.warn("Could not removeColRight",p.message)}}}),this.vDomPadRight+=C.getWidth(),this.rightCol--,this.getVisibleRows().forEach(D=>{D.type!=="group"&&(D.modules.vdomHoz.rightCol=this.rightCol)})):r=!1}e&&(this.tableElement.style.paddingRight=this.vDomPadRight+"px")}removeColLeft(){for(var e=!1,r=!0;r;){let C=this.columns[this.leftCol];C&&C.modules.vdomHoz.rightPos{if(D.type!=="group"){var T=D.getCell(C);try{D.getElement().removeChild(T.getElement())}catch(p){console.warn("Could not removeColLeft",p.message)}}}),this.vDomPadLeft+=C.getWidth(),this.leftCol++,this.getVisibleRows().forEach(D=>{D.type!=="group"&&(D.modules.vdomHoz.leftCol=this.leftCol)})):r=!1}e&&(this.tableElement.style.paddingLeft=this.vDomPadLeft+"px")}fitDataColActualWidthCheck(e){var r,C;return e.modules.vdomHoz.fitDataCheck&&(e.reinitializeWidth(),r=e.getWidth(),C=r-e.modules.vdomHoz.width,C&&(e.modules.vdomHoz.rightPos+=C,e.modules.vdomHoz.width=r,this.colPositionAdjust(this.columns.indexOf(e)+1,this.columns.length,C)),e.modules.vdomHoz.fitDataCheck=!1),C}initializeRow(e){if(e.type!=="group"){e.modules.vdomHoz={leftCol:this.leftCol,rightCol:this.rightCol},this.table.modules.frozenColumns&&this.table.modules.frozenColumns.leftColumns.forEach(r=>{this.appendCell(e,r)});for(let r=this.leftCol;r<=this.rightCol;r++)this.appendCell(e,this.columns[r]);this.table.modules.frozenColumns&&this.table.modules.frozenColumns.rightColumns.forEach(r=>{this.appendCell(e,r)})}}appendCell(e,r){if(r&&r.visible){let C=e.getCell(r);e.getElement().appendChild(C.getElement()),C.cellRendered()}}reinitializeRow(e,r){if(e.type!=="group"&&(r||!e.modules.vdomHoz||e.modules.vdomHoz.leftCol!==this.leftCol||e.modules.vdomHoz.rightCol!==this.rightCol)){for(var C=e.getElement();C.firstChild;)C.removeChild(C.firstChild);this.initializeRow(e)}}}class BP extends kl{constructor(e){super(e),this.blockHozScrollEvent=!1,this.headersElement=null,this.contentsElement=null,this.element=null,this.columns=[],this.columnsByIndex=[],this.columnsByField={},this.scrollLeft=0,this.optionsList=new QM(this.table,"column definition",PM),this.redrawBlock=!1,this.redrawBlockUpdate=null,this.renderer=null}initialize(){this.initializeRenderer(),this.headersElement=this.createHeadersElement(),this.contentsElement=this.createHeaderContentsElement(),this.element=this.createHeaderElement(),this.contentsElement.insertBefore(this.headersElement,this.contentsElement.firstChild),this.element.insertBefore(this.contentsElement,this.element.firstChild),this.initializeScrollWheelWatcher(),this.subscribe("scroll-horizontal",this.scrollHorizontal.bind(this)),this.subscribe("scrollbar-vertical",this.padVerticalScrollbar.bind(this))}padVerticalScrollbar(e){this.table.rtl?this.headersElement.style.marginLeft=e+"px":this.headersElement.style.marginRight=e+"px"}initializeRenderer(){var e,r={virtual:FP,basic:zP};typeof this.table.options.renderHorizontal=="string"?e=r[this.table.options.renderHorizontal]:e=this.table.options.renderHorizontal,e?(this.renderer=new e(this.table,this.element,this.tableElement),this.renderer.initialize()):console.error("Unable to find matching renderer:",this.table.options.renderHorizontal)}createHeadersElement(){var e=document.createElement("div");return e.classList.add("tabulator-headers"),e.setAttribute("role","row"),e}createHeaderContentsElement(){var e=document.createElement("div");return e.classList.add("tabulator-header-contents"),e.setAttribute("role","rowgroup"),e}createHeaderElement(){var e=document.createElement("div");return e.classList.add("tabulator-header"),e.setAttribute("role","rowgroup"),this.table.options.headerVisible||e.classList.add("tabulator-header-hidden"),e}getElement(){return this.element}getContentsElement(){return this.contentsElement}getHeadersElement(){return this.headersElement}scrollHorizontal(e){this.contentsElement.scrollLeft=e,this.scrollLeft=e,this.renderer.scrollColumns(e)}initializeScrollWheelWatcher(){this.contentsElement.addEventListener("wheel",e=>{var r;e.deltaX&&(r=this.contentsElement.scrollLeft+e.deltaX,this.table.rowManager.scrollHorizontal(r),this.table.columnManager.scrollHorizontal(r))})}generateColumnsFromRowData(e){var r=[],C=this.table.options.autoColumnsDefinitions,D,T;if(e&&e.length){D=e[0];for(var p in D){let t={field:p,title:p},d=D[p];switch(typeof d){case"undefined":T="string";break;case"boolean":T="boolean";break;case"object":Array.isArray(d)?T="array":T="string";break;default:!isNaN(d)&&d!==""?T="number":d.match(/((^[0-9]+[a-z]+)|(^[a-z]+[0-9]+))+$/i)?T="alphanum":T="string";break}t.sorter=T,r.push(t)}if(C)switch(typeof C){case"function":this.table.options.columns=C.call(this.table,r);break;case"object":Array.isArray(C)?r.forEach(t=>{var d=C.find(g=>g.field===t.field);d&&Object.assign(t,d)}):r.forEach(t=>{C[t.field]&&Object.assign(t,C[t.field])}),this.table.options.columns=r;break}else this.table.options.columns=r;this.setColumns(this.table.options.columns)}}setColumns(e,r){for(;this.headersElement.firstChild;)this.headersElement.removeChild(this.headersElement.firstChild);this.columns=[],this.columnsByIndex=[],this.columnsByField={},this.dispatch("columns-loading"),e.forEach((C,D)=>{this._addColumn(C)}),this._reIndexColumns(),this.dispatch("columns-loaded"),this.rerenderColumns(!1,!0),this.redraw(!0)}_addColumn(e,r,C){var D=new vh(e,this),T=D.getElement(),p=C&&this.findColumnIndex(C);if(C&&p>-1){var t=C.getTopColumn(),d=this.columns.indexOf(t),g=t.getElement();r?(this.columns.splice(d,0,D),g.parentNode.insertBefore(T,g)):(this.columns.splice(d+1,0,D),g.parentNode.insertBefore(T,g.nextSibling))}else r?(this.columns.unshift(D),this.headersElement.insertBefore(D.getElement(),this.headersElement.firstChild)):(this.columns.push(D),this.headersElement.appendChild(D.getElement()));return D.columnRendered(),D}registerColumnField(e){e.definition.field&&(this.columnsByField[e.definition.field]=e)}registerColumnPosition(e){this.columnsByIndex.push(e)}_reIndexColumns(){this.columnsByIndex=[],this.columns.forEach(function(e){e.reRegisterPosition()})}verticalAlignHeaders(){var e=0;this.redrawBlock||(this.headersElement.style.height="",this.columns.forEach(r=>{r.clearVerticalAlign()}),this.columns.forEach(r=>{var C=r.getHeight();C>e&&(e=C)}),this.headersElement.style.height=e+"px",this.columns.forEach(r=>{r.verticalAlign(this.table.options.columnHeaderVertAlign,e)}),this.table.rowManager.adjustTableSize())}findColumn(e){var r;if(typeof e=="object"){if(e instanceof vh)return e;if(e instanceof RM)return e._getSelf()||!1;if(typeof HTMLElement<"u"&&e instanceof HTMLElement)return r=[],this.columns.forEach(D=>{r.push(D),r=r.concat(D.getColumns(!0))}),r.find(D=>D.element===e)||!1}else return this.columnsByField[e]||!1;return!1}getColumnByField(e){return this.columnsByField[e]}getColumnsByFieldRoot(e){var r=[];return Object.keys(this.columnsByField).forEach(C=>{var D=this.table.options.nestedFieldSeparator?C.split(this.table.options.nestedFieldSeparator)[0]:C;D===e&&r.push(this.columnsByField[C])}),r}getColumnByIndex(e){return this.columnsByIndex[e]}getFirstVisibleColumn(){var e=this.columnsByIndex.findIndex(r=>r.visible);return e>-1?this.columnsByIndex[e]:!1}getVisibleColumnsByIndex(){return this.columnsByIndex.filter(e=>e.visible)}getColumns(){return this.columns}findColumnIndex(e){return this.columnsByIndex.findIndex(r=>e===r)}getRealColumns(){return this.columnsByIndex}traverse(e){this.columnsByIndex.forEach((r,C)=>{e(r,C)})}getDefinitions(e){var r=[];return this.columnsByIndex.forEach(C=>{(!e||e&&C.visible)&&r.push(C.getDefinition())}),r}getDefinitionTree(){var e=[];return this.columns.forEach(r=>{e.push(r.getDefinition(!0))}),e}getComponents(e){var r=[],C=e?this.columns:this.columnsByIndex;return C.forEach(D=>{r.push(D.getComponent())}),r}getWidth(){var e=0;return this.columnsByIndex.forEach(r=>{r.visible&&(e+=r.getWidth())}),e}moveColumn(e,r,C){r.element.parentNode.insertBefore(e.element,r.element),C&&r.element.parentNode.insertBefore(r.element,e.element),this.moveColumnActual(e,r,C),this.verticalAlignHeaders(),this.table.rowManager.reinitialize()}moveColumnActual(e,r,C){e.parent.isGroup?this._moveColumnInArray(e.parent.columns,e,r,C):this._moveColumnInArray(this.columns,e,r,C),this._moveColumnInArray(this.columnsByIndex,e,r,C,!0),this.rerenderColumns(!0),this.dispatch("column-moved",e,r,C),this.subscribedExternal("columnMoved")&&this.dispatchExternal("columnMoved",e.getComponent(),this.table.columnManager.getComponents())}_moveColumnInArray(e,r,C,D,T){var p=e.indexOf(r),t,d=[];p>-1&&(e.splice(p,1),t=e.indexOf(C),t>-1?D&&(t=t+1):t=p,e.splice(t,0,r),T&&(d=this.chain("column-moving-rows",[r,C,D],null,[])||[],d=d.concat(this.table.rowManager.rows),d.forEach(function(g){if(g.cells.length){var i=g.cells.splice(p,1)[0];g.cells.splice(t,0,i)}})))}scrollToColumn(e,r,C){var D=0,T=e.getLeftOffset(),p=0,t=e.getElement();return new Promise((d,g)=>{if(typeof r>"u"&&(r=this.table.options.scrollToColumnPosition),typeof C>"u"&&(C=this.table.options.scrollToColumnIfVisible),e.visible){switch(r){case"middle":case"center":p=-this.element.clientWidth/2;break;case"right":p=t.clientWidth-this.headersElement.clientWidth;break}if(!C&&T>0&&T+t.offsetWidth{r.push(C.generateCell(e))}),r}getFlexBaseWidth(){var e=this.table.element.clientWidth,r=0;return this.table.rowManager.element.scrollHeight>this.table.rowManager.element.clientHeight&&(e-=this.table.rowManager.element.offsetWidth-this.table.rowManager.element.clientWidth),this.columnsByIndex.forEach(function(C){var D,T,p;C.visible&&(D=C.definition.width||0,T=parseInt(C.minWidth),typeof D=="string"?D.indexOf("%")>-1?p=e/100*parseInt(D):p=parseInt(D):p=D,r+=p>T?p:T)}),r}addColumn(e,r,C){return new Promise((D,T)=>{var p=this._addColumn(e,r,C);this._reIndexColumns(),this.dispatch("column-add",e,r,C),this.layoutMode()!="fitColumns"&&p.reinitializeWidth(),this.redraw(!0),this.table.rowManager.reinitialize(),this.rerenderColumns(),D(p)})}deregisterColumn(e){var r=e.getField(),C;r&&delete this.columnsByField[r],C=this.columnsByIndex.indexOf(e),C>-1&&this.columnsByIndex.splice(C,1),C=this.columns.indexOf(e),C>-1&&this.columns.splice(C,1),this.verticalAlignHeaders(),this.redraw()}rerenderColumns(e,r){this.redrawBlock?(e===!1||e===!0&&this.redrawBlockUpdate===null)&&(this.redrawBlockUpdate=e):this.renderer.rerenderColumns(e,r)}blockRedraw(){this.redrawBlock=!0,this.redrawBlockUpdate=null}restoreRedraw(){this.redrawBlock=!1,this.verticalAlignHeaders(),this.renderer.rerenderColumns(this.redrawBlockUpdate)}redraw(e){oo.elVisible(this.element)&&this.verticalAlignHeaders(),e&&(this.table.rowManager.resetScroll(),this.table.rowManager.reinitialize()),this.confirm("table-redrawing",e)||this.layoutRefresh(e),this.dispatch("table-redraw",e),this.table.footerManager.redraw()}}class NP extends Zy{constructor(e){super(e),this.verticalFillMode="fill",this.scrollTop=0,this.scrollLeft=0,this.scrollTop=0,this.scrollLeft=0}clearRows(){for(var e=this.tableElement;e.firstChild;)e.removeChild(e.firstChild);e.scrollTop=0,e.scrollLeft=0,e.style.minWidth="",e.style.minHeight="",e.style.display="",e.style.visibility=""}renderRows(){var e=this.tableElement,r=!0,C=document.createDocumentFragment(),D=this.rows();D.forEach((T,p)=>{this.styleRow(T,p),T.initialize(!1,!0),T.type!=="group"&&(r=!1),C.appendChild(T.getElement())}),e.appendChild(C),D.forEach(T=>{T.rendered(),T.heightInitialized||T.calcHeight(!0)}),D.forEach(T=>{T.heightInitialized||T.setCellHeight()}),r?e.style.minWidth=this.table.columnManager.getWidth()+"px":e.style.minWidth=""}rerenderRows(e){this.clearRows(),e&&e(),this.renderRows(),this.rows().length||this.table.rowManager.tableEmpty()}scrollToRowNearestTop(e){var r=oo.elOffset(e.getElement()).top;return!(Math.abs(this.elementVertical.scrollTop-r)>Math.abs(this.elementVertical.scrollTop+this.elementVertical.clientHeight-r))}scrollToRow(e){var r=e.getElement();this.elementVertical.scrollTop=oo.elOffset(r).top-oo.elOffset(this.elementVertical).top+this.elementVertical.scrollTop}visibleRows(e){return this.rows()}}class VP extends Zy{constructor(e){super(e),this.verticalFillMode="fill",this.scrollTop=0,this.scrollLeft=0,this.vDomRowHeight=20,this.vDomTop=0,this.vDomBottom=0,this.vDomScrollPosTop=0,this.vDomScrollPosBottom=0,this.vDomTopPad=0,this.vDomBottomPad=0,this.vDomMaxRenderChain=90,this.vDomWindowBuffer=0,this.vDomWindowMinTotalRows=20,this.vDomWindowMinMarginRows=5,this.vDomTopNewRows=[],this.vDomBottomNewRows=[]}clearRows(){for(var e=this.tableElement;e.firstChild;)e.removeChild(e.firstChild);e.style.paddingTop="",e.style.paddingBottom="",e.style.minHeight="",e.style.display="",e.style.visibility="",this.elementVertical.scrollTop=0,this.elementVertical.scrollLeft=0,this.scrollTop=0,this.scrollLeft=0,this.vDomTop=0,this.vDomBottom=0,this.vDomTopPad=0,this.vDomBottomPad=0,this.vDomScrollPosTop=0,this.vDomScrollPosBottom=0}renderRows(){this._virtualRenderFill()}rerenderRows(e){for(var r=this.elementVertical.scrollTop,C=!1,D=!1,T=this.table.rowManager.scrollLeft,p=this.rows(),t=this.vDomTop;t<=this.vDomBottom;t++)if(p[t]){var d=r-p[t].getElement().offsetTop;if(D===!1||Math.abs(d){g.deinitializeHeight()}),e&&e(),this.rows().length?this._virtualRenderFill(C===!1?this.rows.length-1:C,!0,D||0):(this.clear(),this.table.rowManager.tableEmpty()),this.scrollColumns(T)}scrollColumns(e){this.table.rowManager.scrollHorizontal(e)}scrollRows(e,r){var C=e-this.vDomScrollPosTop,D=e-this.vDomScrollPosBottom,T=this.vDomWindowBuffer*2,p=this.rows();if(this.scrollTop=e,-C>T||D>T){var t=this.table.rowManager.scrollLeft;this._virtualRenderFill(Math.floor(this.elementVertical.scrollTop/this.elementVertical.scrollHeight*p.length)),this.scrollColumns(t)}else r?(C<0&&this._addTopRow(p,-C),D<0&&(this.vDomScrollHeight-this.scrollTop>this.vDomWindowBuffer?this._removeBottomRow(p,-D):this.vDomScrollPosBottom=this.scrollTop)):(D>=0&&this._addBottomRow(p,D),C>=0&&(this.scrollTop>this.vDomWindowBuffer?this._removeTopRow(p,C):this.vDomScrollPosTop=this.scrollTop))}resize(){this.vDomWindowBuffer=this.table.options.renderVerticalBuffer||this.elementVertical.clientHeight}scrollToRowNearestTop(e){var r=this.rows().indexOf(e);return!(Math.abs(this.vDomTop-r)>Math.abs(this.vDomBottom-r))}scrollToRow(e){var r=this.rows().indexOf(e);r>-1&&this._virtualRenderFill(r,!0)}visibleRows(e){var r=this.elementVertical.scrollTop,C=this.elementVertical.clientHeight+r,D=!1,T=0,p=0,t=this.rows();if(e)T=this.vDomTop,p=this.vDomBottom;else for(var d=this.vDomTop;d<=this.vDomBottom;d++)if(t[d])if(D)if(C-t[d].getElement().offsetTop>=0)p=d;else break;else if(r-t[d].getElement().offsetTop>=0)T=d;else if(D=!0,C-t[d].getElement().offsetTop>=0)p=d;else break;return t.slice(T,p+1)}_virtualRenderFill(e,r,C){var D=this.tableElement,T=this.elementVertical,p=0,t=0,d=0,g=0,i=0,M=0,v=this.rows(),f=v.length,l=0,a,u,o=[],s=0,c=0,h=this.table.rowManager.fixedHeight,m=this.elementVertical.clientHeight,w=this.table.options.rowHeight,y=!0;if(e=e||0,C=C||0,!e)this.clear();else{for(;D.firstChild;)D.removeChild(D.firstChild);g=(f-e+1)*this.vDomRowHeight,g{S.rendered(),S.heightInitialized||S.calcHeight(!0)}),o.forEach(S=>{S.heightInitialized||S.setCellHeight()}),o.forEach(S=>{d=S.getHeight(),sthis.vDomWindowBuffer&&(this.vDomWindowBuffer=d*2),s++}),y=this.table.rowManager.adjustTableSize(),m=this.elementVertical.clientHeight,y&&(h||this.table.options.maxHeight)&&(w=t/s,c=Math.max(this.vDomWindowMinTotalRows,Math.ceil(m/w+this.vDomWindowBuffer/w)))}e?(this.vDomTopPad=r?this.vDomRowHeight*this.vDomTop+C:this.scrollTop-i,this.vDomBottomPad=this.vDomBottom==f-1?0:Math.max(this.vDomScrollHeight-this.vDomTopPad-t-i,0)):(this.vDomTopPad=0,this.vDomRowHeight=Math.floor((t+i)/s),this.vDomBottomPad=this.vDomRowHeight*(f-this.vDomBottom-1),this.vDomScrollHeight=i+t+this.vDomBottomPad-m),D.style.paddingTop=this.vDomTopPad+"px",D.style.paddingBottom=this.vDomBottomPad+"px",r&&(this.scrollTop=this.vDomTopPad+i+C-(this.elementVertical.scrollWidth>this.elementVertical.clientWidth?this.elementVertical.offsetHeight-m:0)),this.scrollTop=Math.min(this.scrollTop,this.elementVertical.scrollHeight-m),this.elementVertical.scrollWidth>this.elementVertical.clientWidth&&r&&(this.scrollTop+=this.elementVertical.offsetHeight-m),this.vDomScrollPosTop=this.scrollTop,this.vDomScrollPosBottom=this.scrollTop,T.scrollTop=this.scrollTop,this.dispatch("render-virtual-fill")}}_addTopRow(e,r){for(var C=this.tableElement,D=[],T=0,p=this.vDomTop-1,t=0,d=!0;d;)if(this.vDomTop){let g=e[p],i,M;g&&t=i?(this.styleRow(g,p),C.insertBefore(g.getElement(),C.firstChild),(!g.initialized||!g.heightInitialized)&&D.push(g),g.initialize(),M||(i=g.getElement().offsetHeight,i>this.vDomWindowBuffer&&(this.vDomWindowBuffer=i*2)),r-=i,T+=i,this.vDomTop--,p--,t++):d=!1):d=!1}else d=!1;for(let g of D)g.clearCellHeight();this._quickNormalizeRowHeight(D),T&&(this.vDomTopPad-=T,this.vDomTopPad<0&&(this.vDomTopPad=p*this.vDomRowHeight),p<1&&(this.vDomTopPad=0),C.style.paddingTop=this.vDomTopPad+"px",this.vDomScrollPosTop-=T)}_removeTopRow(e,r){for(var C=[],D=0,T=0,p=!0;p;){let t=e[this.vDomTop],d;t&&T=d?(this.vDomTop++,r-=d,D+=d,C.push(t),T++):p=!1):p=!1}for(let t of C){let d=t.getElement();d.parentNode&&d.parentNode.removeChild(d)}D&&(this.vDomTopPad+=D,this.tableElement.style.paddingTop=this.vDomTopPad+"px",this.vDomScrollPosTop+=this.vDomTop?D:D+this.vDomWindowBuffer)}_addBottomRow(e,r){for(var C=this.tableElement,D=[],T=0,p=this.vDomBottom+1,t=0,d=!0;d;){let g=e[p],i,M;g&&t=i?(this.styleRow(g,p),C.appendChild(g.getElement()),(!g.initialized||!g.heightInitialized)&&D.push(g),g.initialize(),M||(i=g.getElement().offsetHeight,i>this.vDomWindowBuffer&&(this.vDomWindowBuffer=i*2)),r-=i,T+=i,this.vDomBottom++,p++,t++):d=!1):d=!1}for(let g of D)g.clearCellHeight();this._quickNormalizeRowHeight(D),T&&(this.vDomBottomPad-=T,(this.vDomBottomPad<0||p==e.length-1)&&(this.vDomBottomPad=0),C.style.paddingBottom=this.vDomBottomPad+"px",this.vDomScrollPosBottom+=T)}_removeBottomRow(e,r){for(var C=[],D=0,T=0,p=!0;p;){let t=e[this.vDomBottom],d;t&&T=d?(this.vDomBottom--,r-=d,D+=d,C.push(t),T++):p=!1):p=!1}for(let t of C){let d=t.getElement();d.parentNode&&d.parentNode.removeChild(d)}D&&(this.vDomBottomPad+=D,this.vDomBottomPad<0&&(this.vDomBottomPad=0),this.tableElement.style.paddingBottom=this.vDomBottomPad+"px",this.vDomScrollPosBottom-=D)}_quickNormalizeRowHeight(e){for(let r of e)r.calcHeight();for(let r of e)r.setCellHeight()}}class jP extends kl{constructor(e){super(e),this.element=this.createHolderElement(),this.tableElement=this.createTableElement(),this.heightFixer=this.createTableElement(),this.placeholder=null,this.placeholderContents=null,this.firstRender=!1,this.renderMode="virtual",this.fixedHeight=!1,this.rows=[],this.activeRowsPipeline=[],this.activeRows=[],this.activeRowsCount=0,this.displayRows=[],this.displayRowsCount=0,this.scrollTop=0,this.scrollLeft=0,this.redrawBlock=!1,this.redrawBlockRestoreConfig=!1,this.redrawBlockRenderInPosition=!1,this.dataPipeline=[],this.displayPipeline=[],this.scrollbarWidth=0,this.renderer=null}createHolderElement(){var e=document.createElement("div");return e.classList.add("tabulator-tableholder"),e.setAttribute("tabindex",0),e}createTableElement(){var e=document.createElement("div");return e.classList.add("tabulator-table"),e.setAttribute("role","rowgroup"),e}initializePlaceholder(){var e=this.table.options.placeholder;if(typeof e=="function"&&(e=e.call(this.table)),e=this.chain("placeholder",[e],e,e)||e,e){let r=document.createElement("div");if(r.classList.add("tabulator-placeholder"),typeof e=="string"){let C=document.createElement("div");C.classList.add("tabulator-placeholder-contents"),C.innerHTML=e,r.appendChild(C),this.placeholderContents=C}else typeof HTMLElement<"u"&&e instanceof HTMLElement?(r.appendChild(e),this.placeholderContents=e):(console.warn("Invalid placeholder provided, must be string or HTML Element",e),this.el=null);this.placeholder=r}}getElement(){return this.element}getTableElement(){return this.tableElement}initialize(){this.initializePlaceholder(),this.initializeRenderer(),this.element.appendChild(this.tableElement),this.firstRender=!0,this.element.addEventListener("scroll",()=>{var e=this.element.scrollLeft,r=this.scrollLeft>e,C=this.element.scrollTop,D=this.scrollTop>C;this.scrollLeft!=e&&(this.scrollLeft=e,this.dispatch("scroll-horizontal",e,r),this.dispatchExternal("scrollHorizontal",e,r),this._positionPlaceholder()),this.scrollTop!=C&&(this.scrollTop=C,this.renderer.scrollRows(C,D),this.dispatch("scroll-vertical",C,D),this.dispatchExternal("scrollVertical",C,D))})}findRow(e){if(typeof e=="object"){if(e instanceof vl)return e;if(e instanceof Wy)return e._getSelf()||!1;if(typeof HTMLElement<"u"&&e instanceof HTMLElement)return this.rows.find(C=>C.getElement()===e)||!1;if(e===null)return!1}else return typeof e>"u"?!1:this.rows.find(C=>C.data[this.table.options.index]==e)||!1;return!1}getRowFromDataObject(e){var r=this.rows.find(C=>C.data===e);return r||!1}getRowFromPosition(e){return this.getDisplayRows().find(r=>r.getPosition()===e&&r.isDisplayed())}scrollToRow(e,r,C){return this.renderer.scrollToRowPosition(e,r,C)}setData(e,r,C){return new Promise((D,T)=>{r&&this.getDisplayRows().length?this.table.options.pagination?this._setDataActual(e,!0):this.reRenderInPosition(()=>{this._setDataActual(e)}):(this.table.options.autoColumns&&C&&this.table.initialized&&this.table.columnManager.generateColumnsFromRowData(e),this.resetScroll(),this._setDataActual(e)),D()})}_setDataActual(e,r){this.dispatchExternal("dataProcessing",e),this._wipeElements(),Array.isArray(e)?(this.dispatch("data-processing",e),e.forEach((C,D)=>{if(C&&typeof C=="object"){var T=new vl(C,this);this.rows.push(T)}else console.warn("Data Loading Warning - Invalid row data detected and ignored, expecting object but received:",C)}),this.refreshActiveData(!1,!1,r),this.dispatch("data-processed",e),this.dispatchExternal("dataProcessed",e)):console.error(`Data Loading Error - Unable to process data due to invalid data type +`,n.getElement().classList.add("tabulator-row-handle");function T(p){var t=D.element;D.open=p,t&&(D.open?(S.classList.add("open"),t.style.display=""):(S.classList.remove("open"),t.style.display="none"))}return S.addEventListener("click",function(p){p.stopImmediatePropagation(),T(!D.open),n.getTable().rowManager.adjustTableSize()}),T(D.open),S}function aP(n,e,r){var S=document.createElement("input"),D=!1;if(S.type="checkbox",S.setAttribute("aria-label","Select Row"),this.table.modExists("selectRow",!0))if(S.addEventListener("click",p=>{p.stopPropagation()}),typeof n.getRow=="function"){var T=n.getRow();T instanceof Wy?(S.addEventListener("change",p=>{this.table.options.selectableRowsRangeMode==="click"&&D?D=!1:T.toggleSelect()}),this.table.options.selectableRowsRangeMode==="click"&&S.addEventListener("click",p=>{D=!0,this.table.modules.selectRow.handleComplexRowClick(T._row,p)}),S.checked=T.isSelected&&T.isSelected(),this.table.modules.selectRow.registerRowSelectCheckbox(T,S)):S=""}else S.addEventListener("change",p=>{this.table.modules.selectRow.selectedRows.length?this.table.deselectRow():this.table.selectRow(e.rowRange)}),this.table.modules.selectRow.registerHeaderSelectCheckbox(S);return S}var oP={plaintext:VR,html:jR,textarea:UR,money:HR,link:GR,image:qR,tickCross:WR,datetime:YR,datetimediff:$R,lookup:ZR,star:XR,traffic:KR,progress:JR,color:QR,buttonTick:eP,buttonCross:tP,rownum:nP,handle:rP,responsiveCollapse:iP,rowSelection:aP};class Yu extends qi{constructor(e){super(e),this.registerColumnOption("formatter"),this.registerColumnOption("formatterParams"),this.registerColumnOption("formatterPrint"),this.registerColumnOption("formatterPrintParams"),this.registerColumnOption("formatterClipboard"),this.registerColumnOption("formatterClipboardParams"),this.registerColumnOption("formatterHtmlOutput"),this.registerColumnOption("formatterHtmlOutputParams"),this.registerColumnOption("titleFormatter"),this.registerColumnOption("titleFormatterParams")}initialize(){this.subscribe("cell-format",this.formatValue.bind(this)),this.subscribe("cell-rendered",this.cellRendered.bind(this)),this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("column-format",this.formatHeader.bind(this))}initializeColumn(e){e.modules.format=this.lookupFormatter(e,""),typeof e.definition.formatterPrint<"u"&&(e.modules.format.print=this.lookupFormatter(e,"Print")),typeof e.definition.formatterClipboard<"u"&&(e.modules.format.clipboard=this.lookupFormatter(e,"Clipboard")),typeof e.definition.formatterHtmlOutput<"u"&&(e.modules.format.htmlOutput=this.lookupFormatter(e,"HtmlOutput"))}lookupFormatter(e,r){var S={params:e.definition["formatter"+r+"Params"]||{}},D=e.definition["formatter"+r];switch(typeof D){case"string":Yu.formatters[D]?S.formatter=Yu.formatters[D]:(console.warn("Formatter Error - No such formatter found: ",D),S.formatter=Yu.formatters.plaintext);break;case"function":S.formatter=D;break;default:S.formatter=Yu.formatters.plaintext;break}return S}cellRendered(e){e.modules.format&&e.modules.format.renderedCallback&&!e.modules.format.rendered&&(e.modules.format.renderedCallback(),e.modules.format.rendered=!0)}formatHeader(e,r,S){var D,T,p,t;return e.definition.titleFormatter?(D=this.getFormatter(e.definition.titleFormatter),p=d=>{e.titleFormatterRendered=d},t={getValue:function(){return r},getElement:function(){return S},getType:function(){return"header"},getColumn:function(){return e.getComponent()},getTable:()=>this.table},T=e.definition.titleFormatterParams||{},T=typeof T=="function"?T():T,D.call(this,t,T,p)):r}formatValue(e){var r=e.getComponent(),S=typeof e.column.modules.format.params=="function"?e.column.modules.format.params(r):e.column.modules.format.params;function D(T){e.modules.format||(e.modules.format={}),e.modules.format.renderedCallback=T,e.modules.format.rendered=!1}return e.column.modules.format.formatter.call(this,r,S,D)}formatExportValue(e,r){var S=e.column.modules.format[r],D;if(S){let p=function(t){e.modules.format||(e.modules.format={}),e.modules.format.renderedCallback=t,e.modules.format.rendered=!1};var T=p;return D=typeof S.params=="function"?S.params(e.getComponent()):S.params,S.formatter.call(this,e.getComponent(),D,p)}else return this.formatValue(e)}sanitizeHTML(e){if(e){var r={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};return String(e).replace(/[&<>"'`=/]/g,function(S){return r[S]})}else return e}emptyToSpace(e){return e===null||typeof e>"u"||e===""?" ":e}getFormatter(e){switch(typeof e){case"string":Yu.formatters[e]?e=Yu.formatters[e]:(console.warn("Formatter Error - No such formatter found: ",e),e=Yu.formatters.plaintext);break;case"function":break;default:e=Yu.formatters.plaintext;break}return e}}Yu.moduleName="format";Yu.formatters=oP;class zM extends qi{constructor(e){super(e),this.leftColumns=[],this.rightColumns=[],this.initializationMode="left",this.active=!1,this.blocked=!0,this.registerColumnOption("frozen")}reset(){this.initializationMode="left",this.leftColumns=[],this.rightColumns=[],this.active=!1}initialize(){this.subscribe("cell-layout",this.layoutCell.bind(this)),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("column-width",this.layout.bind(this)),this.subscribe("row-layout-after",this.layoutRow.bind(this)),this.subscribe("table-layout",this.layout.bind(this)),this.subscribe("columns-loading",this.reset.bind(this)),this.subscribe("column-add",this.reinitializeColumns.bind(this)),this.subscribe("column-deleted",this.reinitializeColumns.bind(this)),this.subscribe("column-hide",this.reinitializeColumns.bind(this)),this.subscribe("column-show",this.reinitializeColumns.bind(this)),this.subscribe("columns-loaded",this.reinitializeColumns.bind(this)),this.subscribe("table-redraw",this.layout.bind(this)),this.subscribe("layout-refreshing",this.blockLayout.bind(this)),this.subscribe("layout-refreshed",this.unblockLayout.bind(this)),this.subscribe("scrollbar-vertical",this.adjustForScrollbar.bind(this))}blockLayout(){this.blocked=!0}unblockLayout(){this.blocked=!1}layoutCell(e){this.layoutElement(e.element,e.column)}reinitializeColumns(){this.reset(),this.table.columnManager.columnsByIndex.forEach(e=>{this.initializeColumn(e)}),this.layout()}initializeColumn(e){var r={margin:0,edge:!1};e.isGroup||(this.frozenCheck(e)?(r.position=this.initializationMode,this.initializationMode=="left"?this.leftColumns.push(e):this.rightColumns.unshift(e),this.active=!0,e.modules.frozen=r):this.initializationMode="right")}frozenCheck(e){return e.parent.isGroup&&e.definition.frozen&&console.warn("Frozen Column Error - Parent column group must be frozen, not individual columns or sub column groups"),e.parent.isGroup?this.frozenCheck(e.parent):e.definition.frozen}layoutCalcRows(){this.table.modExists("columnCalcs")&&(this.table.modules.columnCalcs.topInitialized&&this.table.modules.columnCalcs.topRow&&this.layoutRow(this.table.modules.columnCalcs.topRow),this.table.modules.columnCalcs.botInitialized&&this.table.modules.columnCalcs.botRow&&this.layoutRow(this.table.modules.columnCalcs.botRow),this.table.modExists("groupRows")&&this.layoutGroupCalcs(this.table.modules.groupRows.getGroups()))}layoutGroupCalcs(e){e.forEach(r=>{r.calcs.top&&this.layoutRow(r.calcs.top),r.calcs.bottom&&this.layoutRow(r.calcs.bottom),r.groupList&&r.groupList.length&&this.layoutGroupCalcs(r.groupList)})}layoutColumnPosition(e){var r=[],S=0,D=0;this.leftColumns.forEach((T,p)=>{if(T.modules.frozen.marginValue=S,T.modules.frozen.margin=T.modules.frozen.marginValue+"px",T.visible&&(S+=T.getWidth()),p==this.leftColumns.length-1?T.modules.frozen.edge=!0:T.modules.frozen.edge=!1,T.parent.isGroup){var t=this.getColGroupParentElement(T);r.includes(t)||(this.layoutElement(t,T),r.push(t)),t.classList.toggle("tabulator-frozen-left",T.modules.frozen.edge&&T.modules.frozen.position==="left"),t.classList.toggle("tabulator-frozen-right",T.modules.frozen.edge&&T.modules.frozen.position==="right")}else this.layoutElement(T.getElement(),T);e&&T.cells.forEach(d=>{this.layoutElement(d.getElement(!0),T)})}),this.rightColumns.forEach((T,p)=>{T.modules.frozen.marginValue=D,T.modules.frozen.margin=T.modules.frozen.marginValue+"px",T.visible&&(D+=T.getWidth()),p==this.rightColumns.length-1?T.modules.frozen.edge=!0:T.modules.frozen.edge=!1,T.parent.isGroup?this.layoutElement(this.getColGroupParentElement(T),T):this.layoutElement(T.getElement(),T),e&&T.cells.forEach(t=>{this.layoutElement(t.getElement(!0),T)})})}getColGroupParentElement(e){return e.parent.isGroup?this.getColGroupParentElement(e.parent):e.getElement()}layout(){this.active&&!this.blocked&&(this.layoutColumnPosition(),this.reinitializeRows(),this.layoutCalcRows())}reinitializeRows(){var e=this.table.rowManager.getVisibleRows(!0),r=this.table.rowManager.getRows().filter(S=>!e.includes(S));r.forEach(S=>{S.deinitialize()}),e.forEach(S=>{S.type==="row"&&this.layoutRow(S)})}layoutRow(e){this.table.options.layout==="fitDataFill"&&this.rightColumns.length&&(this.table.rowManager.getTableElement().style.minWidth="calc(100% - "+this.rightMargin+")"),this.leftColumns.forEach(r=>{var S=e.getCell(r);S&&this.layoutElement(S.getElement(!0),r)}),this.rightColumns.forEach(r=>{var S=e.getCell(r);S&&this.layoutElement(S.getElement(!0),r)})}layoutElement(e,r){var S;r.modules.frozen&&e&&(e.style.position="sticky",this.table.rtl?S=r.modules.frozen.position==="left"?"right":"left":S=r.modules.frozen.position,e.style[S]=r.modules.frozen.margin,e.classList.add("tabulator-frozen"),e.classList.toggle("tabulator-frozen-left",r.modules.frozen.edge&&r.modules.frozen.position==="left"),e.classList.toggle("tabulator-frozen-right",r.modules.frozen.edge&&r.modules.frozen.position==="right"))}adjustForScrollbar(e){this.rightColumns.length&&(this.table.columnManager.getContentsElement().style.width="calc(100% - "+e+"px)")}_calcSpace(e,r){var S=0;for(let D=0;D{this.initializeRow(e)})}initializeRow(e){var r=this.table.options.frozenRows,S=typeof r;S==="number"?e.getPosition()&&e.getPosition()+this.rows.length<=r&&this.freezeRow(e):S==="function"?r.call(this.table,e.getComponent())&&this.freezeRow(e):Array.isArray(r)&&r.includes(e.data[this.options("frozenRowsField")])&&this.freezeRow(e)}isRowFrozen(e){var r=this.rows.indexOf(e);return r>-1}isFrozen(){return!!this.rows.length}visibleRows(e,r){return this.rows.forEach(S=>{r.push(S)}),r}getRows(e){var r=e.slice(0);return this.rows.forEach(function(S){var D=r.indexOf(S);D>-1&&r.splice(D,1)}),r}freezeRow(e){e.modules.frozen?console.warn("Freeze Error - Row is already frozen"):(e.modules.frozen=!0,this.topElement.appendChild(e.getElement()),e.initialize(),e.normalizeHeight(),this.rows.push(e),this.refreshData(!1,"display"),this.table.rowManager.adjustTableSize(),this.styleRows())}unfreezeRow(e){e.modules.frozen?(e.modules.frozen=!1,this.detachRow(e),this.table.rowManager.adjustTableSize(),this.refreshData(!1,"display"),this.rows.length&&this.styleRows()):console.warn("Freeze Error - Row is already unfrozen")}detachRow(e){var r=this.rows.indexOf(e);if(r>-1){var S=e.getElement();S.parentNode&&S.parentNode.removeChild(S),this.rows.splice(r,1)}}styleRows(e){this.rows.forEach((r,S)=>{this.table.rowManager.styleRow(r,S)})}}FM.moduleName="frozenRows";class sP{constructor(e){return this._group=e,this.type="GroupComponent",new Proxy(this,{get:function(r,S,D){return typeof r[S]<"u"?r[S]:r._group.groupManager.table.componentFunctionBinder.handle("group",r._group,S)}})}getKey(){return this._group.key}getField(){return this._group.field}getElement(){return this._group.element}getRows(){return this._group.getRows(!0)}getSubGroups(){return this._group.getSubGroups(!0)}getParentGroup(){return this._group.parent?this._group.parent.getComponent():!1}isVisible(){return this._group.visible}show(){this._group.show()}hide(){this._group.hide()}toggle(){this._group.toggleVisibility()}scrollTo(e,r){return this._group.groupManager.table.rowManager.scrollToRow(this._group,e,r)}_getSelf(){return this._group}getTable(){return this._group.groupManager.table}}class Fp{constructor(e,r,S,D,T,p,t){this.groupManager=e,this.parent=r,this.key=D,this.level=S,this.field=T,this.hasSubGroups=S{r.modules&&delete r.modules.group})),this.element=!1,this.arrowElement=!1,this.elementContents=!1}createElements(){var e=document.createElement("div");e.classList.add("tabulator-arrow"),this.element=document.createElement("div"),this.element.classList.add("tabulator-row"),this.element.classList.add("tabulator-group"),this.element.classList.add("tabulator-group-level-"+this.level),this.element.setAttribute("role","rowgroup"),this.arrowElement=document.createElement("div"),this.arrowElement.classList.add("tabulator-group-toggle"),this.arrowElement.appendChild(e),this.groupManager.table.options.movableRows!==!1&&this.groupManager.table.modExists("moveRow")&&this.groupManager.table.modules.moveRow.initializeGroupHeader(this)}createValueGroups(){var e=this.level+1;this.groupManager.allowedValues&&this.groupManager.allowedValues[e]&&this.groupManager.allowedValues[e].forEach(r=>{this._createGroup(r,e)})}addBindings(){var e;this.groupManager.table.options.groupToggleElement&&(e=this.groupManager.table.options.groupToggleElement=="arrow"?this.arrowElement:this.element,e.addEventListener("click",r=>{this.groupManager.table.options.groupToggleElement==="arrow"&&(r.stopPropagation(),r.stopImmediatePropagation()),setTimeout(()=>{this.toggleVisibility()})}))}_createGroup(e,r){var S=r+"_"+e,D=new Fp(this.groupManager,this,r,e,this.groupManager.groupIDLookups[r].field,this.groupManager.headerGenerator[r]||this.groupManager.headerGenerator[0],this.old?this.old.groups[S]:!1);this.groups[S]=D,this.groupList.push(D)}_addRowToGroup(e){var r=this.level+1;if(this.hasSubGroups){var S=this.groupManager.groupIDLookups[r].func(e.getData()),D=r+"_"+S;this.groupManager.allowedValues&&this.groupManager.allowedValues[r]?this.groups[D]&&this.groups[D].addRow(e):(this.groups[D]||this._createGroup(S,r),this.groups[D].addRow(e))}}_addRow(e){this.rows.push(e),e.modules.group=this}insertRow(e,r,S){var D=this.conformRowData({});e.updateData(D);var T=this.rows.indexOf(r);T>-1?S?this.rows.splice(T+1,0,e):this.rows.splice(T,0,e):S?this.rows.push(e):this.rows.unshift(e),e.modules.group=this,this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modules.columnCalcs.recalcGroup(this),this.groupManager.updateGroupRows(!0)}scrollHeader(e){this.arrowElement&&(this.arrowElement.style.marginLeft=e,this.groupList.forEach(function(r){r.scrollHeader(e)}))}getRowIndex(e){}conformRowData(e){return this.field?e[this.field]=this.key:console.warn("Data Conforming Error - Cannot conform row data to match new group as groupBy is a function"),this.parent&&(e=this.parent.conformRowData(e)),e}removeRow(e){var r=this.rows.indexOf(e),S=e.getElement();r>-1&&this.rows.splice(r,1),!this.groupManager.table.options.groupValues&&!this.rows.length?(this.parent?this.parent.removeGroup(this):this.groupManager.removeGroup(this),this.groupManager.updateGroupRows(!0)):(S.parentNode&&S.parentNode.removeChild(S),this.groupManager.blockRedraw||(this.generateGroupHeaderContents(),this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modules.columnCalcs.recalcGroup(this)))}removeGroup(e){var r=e.level+"_"+e.key,S;this.groups[r]&&(delete this.groups[r],S=this.groupList.indexOf(e),S>-1&&this.groupList.splice(S,1),this.groupList.length||(this.parent?this.parent.removeGroup(this):this.groupManager.removeGroup(this)))}getHeadersAndRows(){var e=[];return e.push(this),this._visSet(),this.calcs.top&&(this.calcs.top.detachElement(),this.calcs.top.deleteCells()),this.calcs.bottom&&(this.calcs.bottom.detachElement(),this.calcs.bottom.deleteCells()),this.visible?this.groupList.length?this.groupList.forEach(function(r){e=e.concat(r.getHeadersAndRows())}):(this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.modules.columnCalcs.hasTopCalcs()&&(this.calcs.top=this.groupManager.table.modules.columnCalcs.generateTopRow(this.rows),e.push(this.calcs.top)),e=e.concat(this.rows),this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.modules.columnCalcs.hasBottomCalcs()&&(this.calcs.bottom=this.groupManager.table.modules.columnCalcs.generateBottomRow(this.rows),e.push(this.calcs.bottom))):!this.groupList.length&&this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modExists("columnCalcs")&&(this.groupManager.table.modules.columnCalcs.hasTopCalcs()&&this.groupManager.table.options.groupClosedShowCalcs&&(this.calcs.top=this.groupManager.table.modules.columnCalcs.generateTopRow(this.rows),e.push(this.calcs.top)),this.groupManager.table.modules.columnCalcs.hasBottomCalcs()&&this.groupManager.table.options.groupClosedShowCalcs&&(this.calcs.bottom=this.groupManager.table.modules.columnCalcs.generateBottomRow(this.rows),e.push(this.calcs.bottom))),e}getData(e,r){var S=[];return this._visSet(),(!e||e&&this.visible)&&this.rows.forEach(D=>{S.push(D.getData(r||"data"))}),S}getRowCount(){var e=0;return this.groupList.length?this.groupList.forEach(r=>{e+=r.getRowCount()}):e=this.rows.length,e}toggleVisibility(){this.visible?this.hide():this.show()}hide(){this.visible=!1,this.groupManager.table.rowManager.getRenderMode()=="basic"&&!this.groupManager.table.options.pagination?(this.element.classList.remove("tabulator-group-visible"),this.groupList.length?this.groupList.forEach(e=>{var r=e.getHeadersAndRows();r.forEach(S=>{S.detachElement()})}):this.rows.forEach(e=>{var r=e.getElement();r.parentNode.removeChild(r)}),this.groupManager.updateGroupRows(!0)):this.groupManager.updateGroupRows(!0),this.groupManager.table.externalEvents.dispatch("groupVisibilityChanged",this.getComponent(),!1)}show(){if(this.visible=!0,this.groupManager.table.rowManager.getRenderMode()=="basic"&&!this.groupManager.table.options.pagination){this.element.classList.add("tabulator-group-visible");var e=this.generateElement();this.groupList.length?this.groupList.forEach(r=>{var S=r.getHeadersAndRows();S.forEach(D=>{var T=D.getElement();e.parentNode.insertBefore(T,e.nextSibling),D.initialize(),e=T})}):this.rows.forEach(r=>{var S=r.getElement();e.parentNode.insertBefore(S,e.nextSibling),r.initialize(),e=S}),this.groupManager.updateGroupRows(!0)}else this.groupManager.updateGroupRows(!0);this.groupManager.table.externalEvents.dispatch("groupVisibilityChanged",this.getComponent(),!0)}_visSet(){var e=[];typeof this.visible=="function"&&(this.rows.forEach(function(r){e.push(r.getData())}),this.visible=this.visible(this.key,this.getRowCount(),e,this.getComponent()))}getRowGroup(e){var r=!1;return this.groupList.length?this.groupList.forEach(function(S){var D=S.getRowGroup(e);D&&(r=D)}):this.rows.find(function(S){return S===e})&&(r=this),r}getSubGroups(e){var r=[];return this.groupList.forEach(function(S){r.push(e?S.getComponent():S)}),r}getRows(e,r){var S=[];return r&&this.groupList.length?this.groupList.forEach(D=>{S=S.concat(D.getRows(e,r))}):this.rows.forEach(function(D){S.push(e?D.getComponent():D)}),S}generateGroupHeaderContents(){var e=[],r=this.getRows(!1,!0);for(r.forEach(function(S){e.push(S.getData())}),this.elementContents=this.generator(this.key,this.getRowCount(),e,this.getComponent());this.element.firstChild;)this.element.removeChild(this.element.firstChild);typeof this.elementContents=="string"?this.element.innerHTML=this.elementContents:this.element.appendChild(this.elementContents),this.element.insertBefore(this.arrowElement,this.element.firstChild)}getPath(e=[]){return e.unshift(this.key),this.parent&&this.parent.getPath(e),e}getElement(){return this.elementContents?this.element:this.generateElement()}generateElement(){this.addBindings=!1,this._visSet(),this.visible?this.element.classList.add("tabulator-group-visible"):this.element.classList.remove("tabulator-group-visible");for(var e=0;eS.length&&console.warn("Error creating group headers, groupHeader array is shorter than groupBy array"),this.headerGenerator=[function(){return""}],this.startOpen=[function(){return!1}],this.langBind("groups|item",(T,p)=>{this.headerGenerator[0]=(t,d,g)=>(typeof t>"u"?"":t)+"("+d+" "+(d===1?T:p.groups.items)+")"}),this.groupIDLookups=[],e)this.table.modExists("columnCalcs")&&this.table.options.columnCalcs!="table"&&this.table.options.columnCalcs!="both"&&this.table.modules.columnCalcs.removeCalcs();else if(this.table.modExists("columnCalcs")&&this.table.options.columnCalcs!="group"){var D=this.table.columnManager.getRealColumns();D.forEach(T=>{T.definition.topCalc&&this.table.modules.columnCalcs.initializeTopRow(),T.definition.bottomCalc&&this.table.modules.columnCalcs.initializeBottomRow()})}Array.isArray(e)||(e=[e]),e.forEach((T,p)=>{var t,d;typeof T=="function"?t=T:(d=this.table.columnManager.getColumnByField(T),d?t=function(g){return d.getFieldValue(g)}:t=function(g){return g[T]}),this.groupIDLookups.push({field:typeof T=="function"?!1:T,func:t,values:this.allowedValues?this.allowedValues[p]:!1})}),r&&(Array.isArray(r)||(r=[r]),r.forEach(T=>{}),this.startOpen=r),S&&(this.headerGenerator=Array.isArray(S)?S:[S])}else this.groupList=[],this.groups={}}rowSample(e,r){if(this.table.options.groupBy){var S=this.getGroups(!1)[0];r.push(S.getRows(!1)[0])}return r}virtualRenderFill(){var e=this.table.rowManager.tableElement,r=this.table.rowManager.getVisibleRows();if(this.table.options.groupBy)r=r.filter(S=>S.type!=="group"),e.style.minWidth=r.length?"":this.table.columnManager.getWidth()+"px";else return r}rowAddingIndex(e,r,S){if(this.table.options.groupBy){this.assignRowToGroup(e);var D=e.modules.group.rows;return D.length>1&&(!r||r&&D.indexOf(r)==-1?S?D[0]!==e&&(r=D[0],this.table.rowManager.moveRowInArray(e.modules.group.rows,e,r,!S)):D[D.length-1]!==e&&(r=D[D.length-1],this.table.rowManager.moveRowInArray(e.modules.group.rows,e,r,!S)):this.table.rowManager.moveRowInArray(e.modules.group.rows,e,r,!S)),r}}trackChanges(){this.dispatch("group-changed")}setGroupBy(e){this.table.options.groupBy=e,this.initialized||this.initialize(),this.configureGroupSetup(),!e&&this.table.modExists("columnCalcs")&&this.table.options.columnCalcs===!0&&this.table.modules.columnCalcs.reinitializeCalcs(),this.refreshData(),this.trackChanges()}setGroupValues(e){this.table.options.groupValues=e,this.configureGroupSetup(),this.refreshData(),this.trackChanges()}setGroupStartOpen(e){this.table.options.groupStartOpen=e,this.configureGroupSetup(),this.table.options.groupBy?(this.refreshData(),this.trackChanges()):console.warn("Grouping Update - cant refresh view, no groups have been set")}setGroupHeader(e){this.table.options.groupHeader=e,this.configureGroupSetup(),this.table.options.groupBy?(this.refreshData(),this.trackChanges()):console.warn("Grouping Update - cant refresh view, no groups have been set")}userGetGroups(e){return this.getGroups(!0)}userGetGroupedData(){return this.table.options.groupBy?this.getGroupedData():this.getData()}rowGetGroup(e){return e.modules.group?e.modules.group.getComponent():!1}rowMoving(e,r,S){if(this.table.options.groupBy){!S&&r instanceof Fp&&(r=this.table.rowManager.prevDisplayRow(e)||r);var D=r instanceof Fp?r:r.modules.group,T=e instanceof Fp?e:e.modules.group;D===T?this.table.rowManager.moveRowInArray(D.rows,e,r,S):(T&&T.removeRow(e),D.insertRow(e,r,S))}}rowDeleting(e){this.table.options.groupBy&&e.modules.group&&e.modules.group.removeRow(e)}rowsUpdated(e){this.table.options.groupBy&&this.updateGroupRows(!0)}cellUpdated(e){this.table.options.groupBy&&this.reassignRowToGroup(e.row)}getRows(e){return this.table.options.groupBy&&this.groupIDLookups.length?(this.dispatchExternal("dataGrouping"),this.generateGroups(e),this.subscribedExternal("dataGrouped")&&this.dispatchExternal("dataGrouped",this.getGroups(!0)),this.updateGroupRows()):e.slice(0)}getGroups(e){var r=[];return this.groupList.forEach(function(S){r.push(e?S.getComponent():S)}),r}getChildGroups(e){var r=[];return e||(e=this),e.groupList.forEach(S=>{S.groupList.length?r=r.concat(this.getChildGroups(S)):r.push(S)}),r}wipe(){this.table.options.groupBy&&(this.groupList.forEach(function(e){e.wipe()}),this.groupList=[],this.groups={})}pullGroupListData(e){var r=[];return e.forEach(S=>{var D={};D.level=0,D.rowCount=0,D.headerContent="";var T=[];S.hasSubGroups?(T=this.pullGroupListData(S.groupList),D.level=S.level,D.rowCount=T.length-S.groupList.length,D.headerContent=S.generator(S.key,D.rowCount,S.rows,S),r.push(D),r=r.concat(T)):(D.level=S.level,D.headerContent=S.generator(S.key,S.rows.length,S.rows,S),D.rowCount=S.getRows().length,r.push(D),S.getRows().forEach(p=>{r.push(p.getData("data"))}))}),r}getGroupedData(){return this.pullGroupListData(this.groupList)}getRowGroup(e){var r=!1;return this.options("dataTree")&&(e=this.table.modules.dataTree.getTreeParentRoot(e)),this.groupList.forEach(S=>{var D=S.getRowGroup(e);D&&(r=D)}),r}countGroups(){return this.groupList.length}generateGroups(e){var r=this.groups;this.groups={},this.groupList=[],this.allowedValues&&this.allowedValues[0]?(this.allowedValues[0].forEach(S=>{this.createGroup(S,0,r)}),e.forEach(S=>{this.assignRowToExistingGroup(S,r)})):e.forEach(S=>{this.assignRowToGroup(S,r)}),Object.values(r).forEach(S=>{S.wipe(!0)})}createGroup(e,r,S){var D=r+"_"+e,T;S=S||[],T=new Fp(this,!1,r,e,this.groupIDLookups[0].field,this.headerGenerator[0],S[D]),this.groups[D]=T,this.groupList.push(T)}assignRowToExistingGroup(e,r){var S=this.groupIDLookups[0].func(e.getData()),D="0_"+S;this.groups[D]&&this.groups[D].addRow(e)}assignRowToGroup(e,r){var S=this.groupIDLookups[0].func(e.getData()),D=!this.groups["0_"+S];return D&&this.createGroup(S,0,r),this.groups["0_"+S].addRow(e),!D}reassignRowToGroup(e){if(e.type==="row"){var r=e.modules.group,S=r.getPath(),D=this.getExpectedPath(e),T;T=S.length==D.length&&S.every((p,t)=>p===D[t]),T||(r.removeRow(e),this.assignRowToGroup(e,this.groups),this.refreshData(!0))}}getExpectedPath(e){var r=[],S=e.getData();return this.groupIDLookups.forEach(D=>{r.push(D.func(S))}),r}updateGroupRows(e){var r=[];return this.blockRedraw||(this.groupList.forEach(S=>{r=r.concat(S.getHeadersAndRows())}),e&&this.refreshData(!0)),r}scrollHeaders(e){this.table.options.groupBy&&(this.table.options.renderHorizontal==="virtual"&&(e-=this.table.columnManager.renderer.vDomPadLeft),e=e+"px",this.groupList.forEach(r=>{r.scrollHeader(e)}))}removeGroup(e){var r=e.level+"_"+e.key,S;this.groups[r]&&(delete this.groups[r],S=this.groupList.indexOf(e),S>-1&&this.groupList.splice(S,1))}checkBasicModeGroupHeaderWidth(){var e=this.table.rowManager.tableElement,r=!0;this.table.rowManager.getDisplayRows().forEach((S,D)=>{this.table.rowManager.styleRow(S,D),e.appendChild(S.getElement()),S.initialize(!0),S.type!=="group"&&(r=!1)}),r?e.style.minWidth=this.table.columnManager.getWidth()+"px":e.style.minWidth=""}}BM.moduleName="groupRows";var lP={cellEdit:function(n){n.component.setValueProcessData(n.data.oldValue),n.component.cellRendered()},rowAdd:function(n){n.component.deleteActual(),this.table.rowManager.checkPlaceholder()},rowDelete:function(n){var e=this.table.rowManager.addRowActual(n.data.data,n.data.pos,n.data.index);this.table.options.groupBy&&this.table.modExists("groupRows")&&this.table.modules.groupRows.updateGroupRows(!0),this._rebindRow(n.component,e),this.table.rowManager.checkPlaceholder()},rowMove:function(n){var e=n.data.posFrom-n.data.posTo>0;this.table.rowManager.moveRowActual(n.component,this.table.rowManager.getRowFromPosition(n.data.posFrom),e),this.table.rowManager.regenerateRowPositions(),this.table.rowManager.reRenderInPosition()}},uP={cellEdit:function(n){n.component.setValueProcessData(n.data.newValue),n.component.cellRendered()},rowAdd:function(n){var e=this.table.rowManager.addRowActual(n.data.data,n.data.pos,n.data.index);this.table.options.groupBy&&this.table.modExists("groupRows")&&this.table.modules.groupRows.updateGroupRows(!0),this._rebindRow(n.component,e),this.table.rowManager.checkPlaceholder()},rowDelete:function(n){n.component.deleteActual(),this.table.rowManager.checkPlaceholder()},rowMove:function(n){this.table.rowManager.moveRowActual(n.component,this.table.rowManager.getRowFromPosition(n.data.posTo),n.data.after),this.table.rowManager.regenerateRowPositions(),this.table.rowManager.reRenderInPosition()}};class Wd extends qi{constructor(e){super(e),this.history=[],this.index=-1,this.registerTableOption("history",!1)}initialize(){this.table.options.history&&(this.subscribe("cell-value-updated",this.cellUpdated.bind(this)),this.subscribe("cell-delete",this.clearComponentHistory.bind(this)),this.subscribe("row-delete",this.rowDeleted.bind(this)),this.subscribe("rows-wipe",this.clear.bind(this)),this.subscribe("row-added",this.rowAdded.bind(this)),this.subscribe("row-move",this.rowMoved.bind(this))),this.registerTableFunction("undo",this.undo.bind(this)),this.registerTableFunction("redo",this.redo.bind(this)),this.registerTableFunction("getHistoryUndoSize",this.getHistoryUndoSize.bind(this)),this.registerTableFunction("getHistoryRedoSize",this.getHistoryRedoSize.bind(this)),this.registerTableFunction("clearHistory",this.clear.bind(this))}rowMoved(e,r,S){this.action("rowMove",e,{posFrom:e.getPosition(),posTo:r.getPosition(),to:r,after:S})}rowAdded(e,r,S,D){this.action("rowAdd",e,{data:r,pos:S,index:D})}rowDeleted(e){var r,S;this.table.options.groupBy?(S=e.getComponent().getGroup()._getSelf().rows,r=S.indexOf(e),r&&(r=S[r-1])):(r=e.table.rowManager.getRowIndex(e),r&&(r=e.table.rowManager.rows[r-1])),this.action("rowDelete",e,{data:e.getData(),pos:!r,index:r})}cellUpdated(e){this.action("cellEdit",e,{oldValue:e.oldValue,newValue:e.value})}clear(){this.history=[],this.index=-1}action(e,r,S){this.history=this.history.slice(0,this.index+1),this.history.push({type:e,component:r,data:S}),this.index++}getHistoryUndoSize(){return this.index+1}getHistoryRedoSize(){return this.history.length-(this.index+1)}clearComponentHistory(e){var r=this.history.findIndex(function(S){return S.component===e});r>-1&&(this.history.splice(r,1),r<=this.index&&this.index--,this.clearComponentHistory(e))}undo(){if(this.index>-1){let e=this.history[this.index];return Wd.undoers[e.type].call(this,e),this.index--,this.dispatchExternal("historyUndo",e.type,e.component.getComponent(),e.data),!0}else return console.warn(this.options("history")?"History Undo Error - No more history to undo":"History module not enabled"),!1}redo(){if(this.history.length-1>this.index){this.index++;let e=this.history[this.index];return Wd.redoers[e.type].call(this,e),this.dispatchExternal("historyRedo",e.type,e.component.getComponent(),e.data),!0}else return console.warn(this.options("history")?"History Redo Error - No more history to redo":"History module not enabled"),!1}_rebindRow(e,r){this.history.forEach(function(S){if(S.component instanceof vl)S.component===e&&(S.component=r);else if(S.component instanceof eg&&S.component.row===e){var D=S.component.column.getField();D&&(S.component=r.getCell(D))}})}}Wd.moduleName="history";Wd.undoers=lP;Wd.redoers=uP;class NM extends qi{constructor(e){super(e),this.fieldIndex=[],this.hasIndex=!1}initialize(){this.tableElementCheck()}tableElementCheck(){this.table.originalElement&&this.table.originalElement.tagName==="TABLE"&&(this.table.originalElement.childNodes.length?this.parseTable():console.warn("Unable to parse data from empty table tag, Tabulator should be initialized on a div tag unless importing data from a table element."))}parseTable(){var e=this.table.originalElement,r=this.table.options,S=e.getElementsByTagName("th"),D=e.getElementsByTagName("tbody")[0],T=[];this.hasIndex=!1,this.dispatchExternal("htmlImporting"),D=D?D.getElementsByTagName("tr"):[],this._extractOptions(e,r),S.length?this._extractHeaders(S,D):this._generateBlankHeaders(S,D);for(var p=0;p{p[i.toLowerCase()]=i});for(var t in D){var d=D[t],g;d&&typeof d=="object"&&d.name&&d.name.indexOf("tabulator-")===0&&(g=d.name.replace("tabulator-",""),typeof p[g]<"u"&&(r[p[g]]=this._attribValue(d.value)))}}_attribValue(e){return e==="true"?!0:e==="false"?!1:e}_findCol(e){var r=this.table.options.columns.find(S=>S.title===e);return r||!1}_extractHeaders(e,r){for(var S=0;S(console.error("Import Error:",p||"Unable to import data"),Promise.reject(p)))}lookupImporter(e){var r;return e||(e=this.table.options.importFormat),typeof e=="string"?r=ng.importers[e]:r=e,r||console.error("Import Error - Importer not found:",e),r}importFromFile(e,r){var S=this.lookupImporter(e);if(S)return this.pickFile(r).then(this.importData.bind(this,S)).then(this.structureData.bind(this)).then(this.setData.bind(this)).catch(D=>(console.error("Import Error:",D||"Unable to import file"),Promise.reject(D)))}pickFile(e){return new Promise((r,S)=>{var D=document.createElement("input");D.type="file",D.accept=e,D.addEventListener("change",T=>{var p=D.files[0],t=new FileReader;switch(this.table.options.importReader){case"buffer":t.readAsArrayBuffer(p);break;case"binary":t.readAsBinaryString(p);break;case"url":t.readAsDataURL(p);break;case"text":default:t.readAsText(p)}t.onload=d=>{r(t.result)},t.onerror=d=>{console.warn("File Load Error - Unable to read file"),S()}}),D.click()})}importData(e,r){var S=e.call(this.table,r);return S instanceof Promise?S:S?Promise.resolve(S):Promise.reject()}structureData(e){var r=[];return Array.isArray(e)&&e.length&&Array.isArray(e[0])?(this.table.options.autoColumns?r=this.structureArrayToObject(e):r=this.structureArrayToColumns(e),r):e}structureArrayToObject(e){var r=e.shift(),S=e.map(D=>{var T={};return r.forEach((p,t)=>{T[p]=D[t]}),T});return S}structureArrayToColumns(e){var r=[],S=this.table.getColumns();return S[0]&&e[0][0]&&S[0].getDefinition().title===e[0][0]&&e.shift(),e.forEach(D=>{var T={};D.forEach((p,t)=>{var d=S[t];d&&(T[d.getField()]=p)}),r.push(T)}),r}setData(e){return this.table.setData(e)}}ng.moduleName="import";ng.importers=dP;class VM extends qi{constructor(e){super(e),this.eventMap={rowClick:"row-click",rowDblClick:"row-dblclick",rowContext:"row-contextmenu",rowMouseEnter:"row-mouseenter",rowMouseLeave:"row-mouseleave",rowMouseOver:"row-mouseover",rowMouseOut:"row-mouseout",rowMouseMove:"row-mousemove",rowMouseDown:"row-mousedown",rowMouseUp:"row-mouseup",rowTap:"row",rowDblTap:"row",rowTapHold:"row",cellClick:"cell-click",cellDblClick:"cell-dblclick",cellContext:"cell-contextmenu",cellMouseEnter:"cell-mouseenter",cellMouseLeave:"cell-mouseleave",cellMouseOver:"cell-mouseover",cellMouseOut:"cell-mouseout",cellMouseMove:"cell-mousemove",cellMouseDown:"cell-mousedown",cellMouseUp:"cell-mouseup",cellTap:"cell",cellDblTap:"cell",cellTapHold:"cell",headerClick:"column-click",headerDblClick:"column-dblclick",headerContext:"column-contextmenu",headerMouseEnter:"column-mouseenter",headerMouseLeave:"column-mouseleave",headerMouseOver:"column-mouseover",headerMouseOut:"column-mouseout",headerMouseMove:"column-mousemove",headerMouseDown:"column-mousedown",headerMouseUp:"column-mouseup",headerTap:"column",headerDblTap:"column",headerTapHold:"column",groupClick:"group-click",groupDblClick:"group-dblclick",groupContext:"group-contextmenu",groupMouseEnter:"group-mouseenter",groupMouseLeave:"group-mouseleave",groupMouseOver:"group-mouseover",groupMouseOut:"group-mouseout",groupMouseMove:"group-mousemove",groupMouseDown:"group-mousedown",groupMouseUp:"group-mouseup",groupTap:"group",groupDblTap:"group",groupTapHold:"group"},this.subscribers={},this.touchSubscribers={},this.columnSubscribers={},this.touchWatchers={row:{tap:null,tapDbl:null,tapHold:null},cell:{tap:null,tapDbl:null,tapHold:null},column:{tap:null,tapDbl:null,tapHold:null},group:{tap:null,tapDbl:null,tapHold:null}},this.registerColumnOption("headerClick"),this.registerColumnOption("headerDblClick"),this.registerColumnOption("headerContext"),this.registerColumnOption("headerMouseEnter"),this.registerColumnOption("headerMouseLeave"),this.registerColumnOption("headerMouseOver"),this.registerColumnOption("headerMouseOut"),this.registerColumnOption("headerMouseMove"),this.registerColumnOption("headerMouseDown"),this.registerColumnOption("headerMouseUp"),this.registerColumnOption("headerTap"),this.registerColumnOption("headerDblTap"),this.registerColumnOption("headerTapHold"),this.registerColumnOption("cellClick"),this.registerColumnOption("cellDblClick"),this.registerColumnOption("cellContext"),this.registerColumnOption("cellMouseEnter"),this.registerColumnOption("cellMouseLeave"),this.registerColumnOption("cellMouseOver"),this.registerColumnOption("cellMouseOut"),this.registerColumnOption("cellMouseMove"),this.registerColumnOption("cellMouseDown"),this.registerColumnOption("cellMouseUp"),this.registerColumnOption("cellTap"),this.registerColumnOption("cellDblTap"),this.registerColumnOption("cellTapHold")}initialize(){this.initializeExternalEvents(),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("cell-dblclick",this.cellContentsSelectionFixer.bind(this)),this.subscribe("scroll-horizontal",this.clearTouchWatchers.bind(this)),this.subscribe("scroll-vertical",this.clearTouchWatchers.bind(this))}clearTouchWatchers(){var e=Object.values(this.touchWatchers);e.forEach(r=>{for(let S in r)r[S]=null})}cellContentsSelectionFixer(e,r){var S;if(!(this.table.modExists("edit")&&this.table.modules.edit.currentCell===r)){e.preventDefault();try{document.selection?(S=document.body.createTextRange(),S.moveToElementText(r.getElement()),S.select()):window.getSelection&&(S=document.createRange(),S.selectNode(r.getElement()),window.getSelection().removeAllRanges(),window.getSelection().addRange(S))}catch{}}}initializeExternalEvents(){for(let e in this.eventMap)this.subscriptionChangeExternal(e,this.subscriptionChanged.bind(this,e))}subscriptionChanged(e,r){r?this.subscribers[e]||(this.eventMap[e].includes("-")?(this.subscribers[e]=this.handle.bind(this,e),this.subscribe(this.eventMap[e],this.subscribers[e])):this.subscribeTouchEvents(e)):this.eventMap[e].includes("-")?this.subscribers[e]&&!this.columnSubscribers[e]&&!this.subscribedExternal(e)&&(this.unsubscribe(this.eventMap[e],this.subscribers[e]),delete this.subscribers[e]):this.unsubscribeTouchEvents(e)}subscribeTouchEvents(e){var r=this.eventMap[e];this.touchSubscribers[r+"-touchstart"]||(this.touchSubscribers[r+"-touchstart"]=this.handleTouch.bind(this,r,"start"),this.touchSubscribers[r+"-touchend"]=this.handleTouch.bind(this,r,"end"),this.subscribe(r+"-touchstart",this.touchSubscribers[r+"-touchstart"]),this.subscribe(r+"-touchend",this.touchSubscribers[r+"-touchend"])),this.subscribers[e]=!0}unsubscribeTouchEvents(e){var r=!0,S=this.eventMap[e];if(this.subscribers[e]&&!this.subscribedExternal(e)){delete this.subscribers[e];for(let D in this.eventMap)this.eventMap[D]===S&&this.subscribers[D]&&(r=!1);r&&(this.unsubscribe(S+"-touchstart",this.touchSubscribers[S+"-touchstart"]),this.unsubscribe(S+"-touchend",this.touchSubscribers[S+"-touchend"]),delete this.touchSubscribers[S+"-touchstart"],delete this.touchSubscribers[S+"-touchend"])}}initializeColumn(e){var r=e.definition;for(let S in this.eventMap)r[S]&&(this.subscriptionChanged(S,!0),this.columnSubscribers[S]||(this.columnSubscribers[S]=[]),this.columnSubscribers[S].push(e))}handle(e,r,S){this.dispatchEvent(e,r,S)}handleTouch(e,r,S,D){var T=this.touchWatchers[e];switch(e==="column"&&(e="header"),r){case"start":T.tap=!0,clearTimeout(T.tapHold),T.tapHold=setTimeout(()=>{clearTimeout(T.tapHold),T.tapHold=null,T.tap=null,clearTimeout(T.tapDbl),T.tapDbl=null,this.dispatchEvent(e+"TapHold",S,D)},1e3);break;case"end":T.tap&&(T.tap=null,this.dispatchEvent(e+"Tap",S,D)),T.tapDbl?(clearTimeout(T.tapDbl),T.tapDbl=null,this.dispatchEvent(e+"DblTap",S,D)):T.tapDbl=setTimeout(()=>{clearTimeout(T.tapDbl),T.tapDbl=null},300),clearTimeout(T.tapHold),T.tapHold=null;break}}dispatchEvent(e,r,S){var D=S.getComponent(),T;this.columnSubscribers[e]&&(S instanceof eg?T=S.column.definition[e]:S instanceof vh&&(T=S.definition[e]),T&&T(r,D)),this.dispatchExternal(e,r,D)}}VM.moduleName="interaction";var pP={navPrev:"shift + 9",navNext:9,navUp:38,navDown:40,navLeft:37,navRight:39,scrollPageUp:33,scrollPageDown:34,scrollToStart:36,scrollToEnd:35,undo:["ctrl + 90","meta + 90"],redo:["ctrl + 89","meta + 89"],copyToClipboard:["ctrl + 67","meta + 67"],rangeJumpUp:["ctrl + 38","meta + 38"],rangeJumpDown:["ctrl + 40","meta + 40"],rangeJumpLeft:["ctrl + 37","meta + 37"],rangeJumpRight:["ctrl + 39","meta + 39"],rangeExpandUp:"shift + 38",rangeExpandDown:"shift + 40",rangeExpandLeft:"shift + 37",rangeExpandRight:"shift + 39",rangeExpandJumpUp:["ctrl + shift + 38","meta + shift + 38"],rangeExpandJumpDown:["ctrl + shift + 40","meta + shift + 40"],rangeExpandJumpLeft:["ctrl + shift + 37","meta + shift + 37"],rangeExpandJumpRight:["ctrl + shift + 39","meta + shift + 39"]},mP={keyBlock:function(n){n.stopPropagation(),n.preventDefault()},scrollPageUp:function(n){var e=this.table.rowManager,r=e.scrollTop-e.element.clientHeight;n.preventDefault(),e.displayRowsCount&&(r>=0?e.element.scrollTop=r:e.scrollToRow(e.getDisplayRows()[0])),this.table.element.focus()},scrollPageDown:function(n){var e=this.table.rowManager,r=e.scrollTop+e.element.clientHeight,S=e.element.scrollHeight;n.preventDefault(),e.displayRowsCount&&(r<=S?e.element.scrollTop=r:e.scrollToRow(e.getDisplayRows()[e.displayRowsCount-1])),this.table.element.focus()},scrollToStart:function(n){var e=this.table.rowManager;n.preventDefault(),e.displayRowsCount&&e.scrollToRow(e.getDisplayRows()[0]),this.table.element.focus()},scrollToEnd:function(n){var e=this.table.rowManager;n.preventDefault(),e.displayRowsCount&&e.scrollToRow(e.getDisplayRows()[e.displayRowsCount-1]),this.table.element.focus()},navPrev:function(n){this.dispatch("keybinding-nav-prev",n)},navNext:function(n){this.dispatch("keybinding-nav-next",n)},navLeft:function(n){this.dispatch("keybinding-nav-left",n)},navRight:function(n){this.dispatch("keybinding-nav-right",n)},navUp:function(n){this.dispatch("keybinding-nav-up",n)},navDown:function(n){this.dispatch("keybinding-nav-down",n)},rangeJumpLeft:function(n){this.dispatch("keybinding-nav-range",n,"left",!0,!1)},rangeJumpRight:function(n){this.dispatch("keybinding-nav-range",n,"right",!0,!1)},rangeJumpUp:function(n){this.dispatch("keybinding-nav-range",n,"up",!0,!1)},rangeJumpDown:function(n){this.dispatch("keybinding-nav-range",n,"down",!0,!1)},rangeExpandLeft:function(n){this.dispatch("keybinding-nav-range",n,"left",!1,!0)},rangeExpandRight:function(n){this.dispatch("keybinding-nav-range",n,"right",!1,!0)},rangeExpandUp:function(n){this.dispatch("keybinding-nav-range",n,"up",!1,!0)},rangeExpandDown:function(n){this.dispatch("keybinding-nav-range",n,"down",!1,!0)},rangeExpandJumpLeft:function(n){this.dispatch("keybinding-nav-range",n,"left",!0,!0)},rangeExpandJumpRight:function(n){this.dispatch("keybinding-nav-range",n,"right",!0,!0)},rangeExpandJumpUp:function(n){this.dispatch("keybinding-nav-range",n,"up",!0,!0)},rangeExpandJumpDown:function(n){this.dispatch("keybinding-nav-range",n,"down",!0,!0)},undo:function(n){var e=!1;this.table.options.history&&this.table.modExists("history")&&this.table.modExists("edit")&&(e=this.table.modules.edit.currentCell,e||(n.preventDefault(),this.table.modules.history.undo()))},redo:function(n){var e=!1;this.table.options.history&&this.table.modExists("history")&&this.table.modExists("edit")&&(e=this.table.modules.edit.currentCell,e||(n.preventDefault(),this.table.modules.history.redo()))},copyToClipboard:function(n){this.table.modules.edit.currentCell||this.table.modExists("clipboard",!0)&&this.table.modules.clipboard.copy(!1,!0)}};class Vf extends qi{constructor(e){super(e),this.watchKeys=null,this.pressedKeys=null,this.keyupBinding=!1,this.keydownBinding=!1,this.registerTableOption("keybindings",{}),this.registerTableOption("tabEndNewRow",!1)}initialize(){var e=this.table.options.keybindings,r={};this.watchKeys={},this.pressedKeys=[],e!==!1&&(Object.assign(r,Vf.bindings),Object.assign(r,e),this.mapBindings(r),this.bindEvents()),this.subscribe("table-destroy",this.clearBindings.bind(this))}mapBindings(e){for(let r in e)Vf.actions[r]?e[r]&&(typeof e[r]!="object"&&(e[r]=[e[r]]),e[r].forEach(S=>{var D=Array.isArray(S)?S:[S];D.forEach(T=>{this.mapBinding(r,T)})})):console.warn("Key Binding Error - no such action:",r)}mapBinding(e,r){var S={action:Vf.actions[e],keys:[],ctrl:!1,shift:!1,meta:!1},D=r.toString().toLowerCase().split(" ").join("").split("+");D.forEach(T=>{switch(T){case"ctrl":S.ctrl=!0;break;case"shift":S.shift=!0;break;case"meta":S.meta=!0;break;default:T=isNaN(T)?T.toUpperCase().charCodeAt(0):parseInt(T),S.keys.push(T),this.watchKeys[T]||(this.watchKeys[T]=[]),this.watchKeys[T].push(S)}})}bindEvents(){var e=this;this.keyupBinding=function(r){var S=r.keyCode,D=e.watchKeys[S];D&&(e.pressedKeys.push(S),D.forEach(function(T){e.checkBinding(r,T)}))},this.keydownBinding=function(r){var S=r.keyCode,D=e.watchKeys[S];if(D){var T=e.pressedKeys.indexOf(S);T>-1&&e.pressedKeys.splice(T,1)}},this.table.element.addEventListener("keydown",this.keyupBinding),this.table.element.addEventListener("keyup",this.keydownBinding)}clearBindings(){this.keyupBinding&&this.table.element.removeEventListener("keydown",this.keyupBinding),this.keydownBinding&&this.table.element.removeEventListener("keyup",this.keydownBinding)}checkBinding(e,r){var S=!0;return e.ctrlKey==r.ctrl&&e.shiftKey==r.shift&&e.metaKey==r.meta?(r.keys.forEach(D=>{var T=this.pressedKeys.indexOf(D);T==-1&&(S=!1)}),S&&r.action.call(this,e),!0):!1}}Vf.moduleName="keybindings";Vf.bindings=pP;Vf.actions=mP;class jM extends qi{constructor(e){super(e),this.menuContainer=null,this.nestedMenuBlock=!1,this.currentComponent=null,this.rootPopup=null,this.columnSubscribers={},this.registerTableOption("menuContainer",void 0),this.registerTableOption("rowContextMenu",!1),this.registerTableOption("rowClickMenu",!1),this.registerTableOption("rowDblClickMenu",!1),this.registerTableOption("groupContextMenu",!1),this.registerTableOption("groupClickMenu",!1),this.registerTableOption("groupDblClickMenu",!1),this.registerColumnOption("headerContextMenu"),this.registerColumnOption("headerClickMenu"),this.registerColumnOption("headerDblClickMenu"),this.registerColumnOption("headerMenu"),this.registerColumnOption("headerMenuIcon"),this.registerColumnOption("contextMenu"),this.registerColumnOption("clickMenu"),this.registerColumnOption("dblClickMenu")}initialize(){this.deprecatedOptionsCheck(),this.initializeRowWatchers(),this.initializeGroupWatchers(),this.subscribe("column-init",this.initializeColumn.bind(this))}deprecatedOptionsCheck(){this.deprecationCheck("menuContainer","popupContainer")||(this.table.options.popupContainer=this.table.options.menuContainer)}initializeRowWatchers(){this.table.options.rowContextMenu&&(this.subscribe("row-contextmenu",this.loadMenuEvent.bind(this,this.table.options.rowContextMenu)),this.table.on("rowTapHold",this.loadMenuEvent.bind(this,this.table.options.rowContextMenu))),this.table.options.rowClickMenu&&this.subscribe("row-click",this.loadMenuEvent.bind(this,this.table.options.rowClickMenu)),this.table.options.rowDblClickMenu&&this.subscribe("row-dblclick",this.loadMenuEvent.bind(this,this.table.options.rowDblClickMenu))}initializeGroupWatchers(){this.table.options.groupContextMenu&&(this.subscribe("group-contextmenu",this.loadMenuEvent.bind(this,this.table.options.groupContextMenu)),this.table.on("groupTapHold",this.loadMenuEvent.bind(this,this.table.options.groupContextMenu))),this.table.options.groupClickMenu&&this.subscribe("group-click",this.loadMenuEvent.bind(this,this.table.options.groupClickMenu)),this.table.options.groupDblClickMenu&&this.subscribe("group-dblclick",this.loadMenuEvent.bind(this,this.table.options.groupDblClickMenu))}initializeColumn(e){var r=e.definition;r.headerContextMenu&&!this.columnSubscribers.headerContextMenu&&(this.columnSubscribers.headerContextMenu=this.loadMenuTableColumnEvent.bind(this,"headerContextMenu"),this.subscribe("column-contextmenu",this.columnSubscribers.headerContextMenu),this.table.on("headerTapHold",this.loadMenuTableColumnEvent.bind(this,"headerContextMenu"))),r.headerClickMenu&&!this.columnSubscribers.headerClickMenu&&(this.columnSubscribers.headerClickMenu=this.loadMenuTableColumnEvent.bind(this,"headerClickMenu"),this.subscribe("column-click",this.columnSubscribers.headerClickMenu)),r.headerDblClickMenu&&!this.columnSubscribers.headerDblClickMenu&&(this.columnSubscribers.headerDblClickMenu=this.loadMenuTableColumnEvent.bind(this,"headerDblClickMenu"),this.subscribe("column-dblclick",this.columnSubscribers.headerDblClickMenu)),r.headerMenu&&this.initializeColumnHeaderMenu(e),r.contextMenu&&!this.columnSubscribers.contextMenu&&(this.columnSubscribers.contextMenu=this.loadMenuTableCellEvent.bind(this,"contextMenu"),this.subscribe("cell-contextmenu",this.columnSubscribers.contextMenu),this.table.on("cellTapHold",this.loadMenuTableCellEvent.bind(this,"contextMenu"))),r.clickMenu&&!this.columnSubscribers.clickMenu&&(this.columnSubscribers.clickMenu=this.loadMenuTableCellEvent.bind(this,"clickMenu"),this.subscribe("cell-click",this.columnSubscribers.clickMenu)),r.dblClickMenu&&!this.columnSubscribers.dblClickMenu&&(this.columnSubscribers.dblClickMenu=this.loadMenuTableCellEvent.bind(this,"dblClickMenu"),this.subscribe("cell-dblclick",this.columnSubscribers.dblClickMenu))}initializeColumnHeaderMenu(e){var r=e.definition.headerMenuIcon,S;S=document.createElement("span"),S.classList.add("tabulator-header-popup-button"),r?(typeof r=="function"&&(r=r(e.getComponent())),r instanceof HTMLElement?S.appendChild(r):S.innerHTML=r):S.innerHTML="⋮",S.addEventListener("click",D=>{D.stopPropagation(),D.preventDefault(),this.loadMenuEvent(e.definition.headerMenu,D,e)}),e.titleElement.insertBefore(S,e.titleElement.firstChild)}loadMenuTableCellEvent(e,r,S){S._cell&&(S=S._cell),S.column.definition[e]&&this.loadMenuEvent(S.column.definition[e],r,S)}loadMenuTableColumnEvent(e,r,S){S._column&&(S=S._column),S.definition[e]&&this.loadMenuEvent(S.definition[e],r,S)}loadMenuEvent(e,r,S){S._group?S=S._group:S._row&&(S=S._row),e=typeof e=="function"?e.call(this.table,r,S.getComponent()):e,this.loadMenu(r,S,e)}loadMenu(e,r,S,D,T){var p=!(e instanceof MouseEvent),t=document.createElement("div"),d;if(t.classList.add("tabulator-menu"),p||e.preventDefault(),!(!S||!S.length)){if(D)d=T.child(t);else{if(this.nestedMenuBlock){if(this.rootPopup)return}else this.nestedMenuBlock=setTimeout(()=>{this.nestedMenuBlock=!1},100);this.rootPopup&&this.rootPopup.hide(),this.rootPopup=d=this.popup(t)}S.forEach(g=>{var i=document.createElement("div"),M=g.label,v=g.disabled;g.separator?i.classList.add("tabulator-menu-separator"):(i.classList.add("tabulator-menu-item"),typeof M=="function"&&(M=M.call(this.table,r.getComponent())),M instanceof Node?i.appendChild(M):i.innerHTML=M,typeof v=="function"&&(v=v.call(this.table,r.getComponent())),v?(i.classList.add("tabulator-menu-item-disabled"),i.addEventListener("click",f=>{f.stopPropagation()})):g.menu&&g.menu.length?i.addEventListener("click",f=>{f.stopPropagation(),this.loadMenu(f,r,g.menu,i,d)}):g.action&&i.addEventListener("click",f=>{g.action(f,r.getComponent())}),g.menu&&g.menu.length&&i.classList.add("tabulator-menu-item-submenu")),t.appendChild(i)}),t.addEventListener("click",g=>{this.rootPopup&&this.rootPopup.hide()}),d.show(D||e),d===this.rootPopup&&(this.rootPopup.hideOnBlur(()=>{this.rootPopup=null,this.currentComponent&&(this.dispatch("menu-closed",S,d),this.dispatchExternal("menuClosed",this.currentComponent.getComponent()),this.currentComponent=null)}),this.currentComponent=r,this.dispatch("menu-opened",S,d),this.dispatchExternal("menuOpened",r.getComponent()))}}}jM.moduleName="menu";class UM extends qi{constructor(e){super(e),this.placeholderElement=this.createPlaceholderElement(),this.hoverElement=!1,this.checkTimeout=!1,this.checkPeriod=250,this.moving=!1,this.toCol=!1,this.toColAfter=!1,this.startX=0,this.autoScrollMargin=40,this.autoScrollStep=5,this.autoScrollTimeout=!1,this.touchMove=!1,this.moveHover=this.moveHover.bind(this),this.endMove=this.endMove.bind(this),this.registerTableOption("movableColumns",!1)}createPlaceholderElement(){var e=document.createElement("div");return e.classList.add("tabulator-col"),e.classList.add("tabulator-col-placeholder"),e}initialize(){this.table.options.movableColumns&&(this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("alert-show",this.abortMove.bind(this)))}abortMove(){clearTimeout(this.checkTimeout)}initializeColumn(e){var r=this,S={},D;!e.modules.frozen&&!e.isGroup&&(D=e.getElement(),S.mousemove=(function(T){e.parent===r.moving.parent&&((r.touchMove?T.touches[0].pageX:T.pageX)-so.elOffset(D).left+r.table.columnManager.contentsElement.scrollLeft>e.getWidth()/2?(r.toCol!==e||!r.toColAfter)&&(D.parentNode.insertBefore(r.placeholderElement,D.nextSibling),r.moveColumn(e,!0)):(r.toCol!==e||r.toColAfter)&&(D.parentNode.insertBefore(r.placeholderElement,D),r.moveColumn(e,!1)))}).bind(r),D.addEventListener("mousedown",function(T){r.touchMove=!1,T.which===1&&(r.checkTimeout=setTimeout(function(){r.startMove(T,e)},r.checkPeriod))}),D.addEventListener("mouseup",function(T){T.which===1&&r.checkTimeout&&clearTimeout(r.checkTimeout)}),r.bindTouchEvents(e)),e.modules.moveColumn=S}bindTouchEvents(e){var r=e.getElement(),S=!1,D,T,p,t,d,g;r.addEventListener("touchstart",i=>{this.checkTimeout=setTimeout(()=>{this.touchMove=!0,D=e.nextColumn(),p=D?D.getWidth()/2:0,T=e.prevColumn(),t=T?T.getWidth()/2:0,d=0,g=0,S=!1,this.startMove(i,e)},this.checkPeriod)},{passive:!0}),r.addEventListener("touchmove",i=>{var M,v;this.moving&&(this.moveHover(i),S||(S=i.touches[0].pageX),M=i.touches[0].pageX-S,M>0?D&&M-d>p&&(v=D,v!==e&&(S=i.touches[0].pageX,v.getElement().parentNode.insertBefore(this.placeholderElement,v.getElement().nextSibling),this.moveColumn(v,!0))):T&&-M-g>t&&(v=T,v!==e&&(S=i.touches[0].pageX,v.getElement().parentNode.insertBefore(this.placeholderElement,v.getElement()),this.moveColumn(v,!1))),v&&(D=v.nextColumn(),d=p,p=D?D.getWidth()/2:0,T=v.prevColumn(),g=t,t=T?T.getWidth()/2:0))},{passive:!0}),r.addEventListener("touchend",i=>{this.checkTimeout&&clearTimeout(this.checkTimeout),this.moving&&this.endMove(i)})}startMove(e,r){var S=r.getElement(),D=this.table.columnManager.getContentsElement(),T=this.table.columnManager.getHeadersElement();this.moving=r,this.startX=(this.touchMove?e.touches[0].pageX:e.pageX)-so.elOffset(S).left,this.table.element.classList.add("tabulator-block-select"),this.placeholderElement.style.width=r.getWidth()+"px",this.placeholderElement.style.height=r.getHeight()+"px",S.parentNode.insertBefore(this.placeholderElement,S),S.parentNode.removeChild(S),this.hoverElement=S.cloneNode(!0),this.hoverElement.classList.add("tabulator-moving"),D.appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.bottom=D.clientHeight-T.offsetHeight+"px",this.touchMove||(this._bindMouseMove(),document.body.addEventListener("mousemove",this.moveHover),document.body.addEventListener("mouseup",this.endMove)),this.moveHover(e)}_bindMouseMove(){this.table.columnManager.columnsByIndex.forEach(function(e){e.modules.moveColumn.mousemove&&e.getElement().addEventListener("mousemove",e.modules.moveColumn.mousemove)})}_unbindMouseMove(){this.table.columnManager.columnsByIndex.forEach(function(e){e.modules.moveColumn.mousemove&&e.getElement().removeEventListener("mousemove",e.modules.moveColumn.mousemove)})}moveColumn(e,r){var S=this.moving.getCells();this.toCol=e,this.toColAfter=r,r?e.getCells().forEach(function(D,T){var p=D.getElement(!0);p.parentNode&&S[T]&&p.parentNode.insertBefore(S[T].getElement(),p.nextSibling)}):e.getCells().forEach(function(D,T){var p=D.getElement(!0);p.parentNode&&S[T]&&p.parentNode.insertBefore(S[T].getElement(),p)})}endMove(e){(e.which===1||this.touchMove)&&(this._unbindMouseMove(),this.placeholderElement.parentNode.insertBefore(this.moving.getElement(),this.placeholderElement.nextSibling),this.placeholderElement.parentNode.removeChild(this.placeholderElement),this.hoverElement.parentNode.removeChild(this.hoverElement),this.table.element.classList.remove("tabulator-block-select"),this.toCol&&this.table.columnManager.moveColumnActual(this.moving,this.toCol,this.toColAfter),this.moving=!1,this.toCol=!1,this.toColAfter=!1,this.touchMove||(document.body.removeEventListener("mousemove",this.moveHover),document.body.removeEventListener("mouseup",this.endMove)))}moveHover(e){var r=this.table.columnManager.getContentsElement(),S=r.scrollLeft,D=(this.touchMove?e.touches[0].pageX:e.pageX)-so.elOffset(r).left+S,T;this.hoverElement.style.left=D-this.startX+"px",D-S{T=Math.max(0,S-5),this.table.rowManager.getElement().scrollLeft=T,this.autoScrollTimeout=!1},1))),S+r.clientWidth-D{T=Math.min(r.clientWidth,S+5),this.table.rowManager.getElement().scrollLeft=T,this.autoScrollTimeout=!1},1)))}}UM.moduleName="moveColumn";class $y extends qi{constructor(e){super(e),this.placeholderElement=this.createPlaceholderElement(),this.hoverElement=!1,this.checkTimeout=!1,this.checkPeriod=150,this.moving=!1,this.toRow=!1,this.toRowAfter=!1,this.hasHandle=!1,this.startY=0,this.startX=0,this.moveHover=this.moveHover.bind(this),this.endMove=this.endMove.bind(this),this.tableRowDropEvent=!1,this.touchMove=!1,this.connection=!1,this.connectionSelectorsTables=!1,this.connectionSelectorsElements=!1,this.connectionElements=[],this.connections=[],this.connectedTable=!1,this.connectedRow=!1,this.registerTableOption("movableRows",!1),this.registerTableOption("movableRowsConnectedTables",!1),this.registerTableOption("movableRowsConnectedElements",!1),this.registerTableOption("movableRowsSender",!1),this.registerTableOption("movableRowsReceiver","insert"),this.registerColumnOption("rowHandle")}createPlaceholderElement(){var e=document.createElement("div");return e.classList.add("tabulator-row"),e.classList.add("tabulator-row-placeholder"),e}initialize(){this.table.options.movableRows&&(this.connectionSelectorsTables=this.table.options.movableRowsConnectedTables,this.connectionSelectorsElements=this.table.options.movableRowsConnectedElements,this.connection=this.connectionSelectorsTables||this.connectionSelectorsElements,this.subscribe("cell-init",this.initializeCell.bind(this)),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("row-init",this.initializeRow.bind(this)))}initializeGroupHeader(e){var r=this,S={};S.mouseup=(function(D){r.tableRowDrop(D,e)}).bind(r),S.mousemove=(function(D){var T;D.pageY-so.elOffset(e.element).top+r.table.rowManager.element.scrollTop>e.getHeight()/2?(r.toRow!==e||!r.toRowAfter)&&(T=e.getElement(),T.parentNode.insertBefore(r.placeholderElement,T.nextSibling),r.moveRow(e,!0)):(r.toRow!==e||r.toRowAfter)&&(T=e.getElement(),T.previousSibling&&(T.parentNode.insertBefore(r.placeholderElement,T),r.moveRow(e,!1)))}).bind(r),e.modules.moveRow=S}initializeRow(e){var r=this,S={},D;S.mouseup=(function(T){r.tableRowDrop(T,e)}).bind(r),S.mousemove=(function(T){var p=e.getElement();T.pageY-so.elOffset(p).top+r.table.rowManager.element.scrollTop>e.getHeight()/2?(r.toRow!==e||!r.toRowAfter)&&(p.parentNode.insertBefore(r.placeholderElement,p.nextSibling),r.moveRow(e,!0)):(r.toRow!==e||r.toRowAfter)&&(p.parentNode.insertBefore(r.placeholderElement,p),r.moveRow(e,!1))}).bind(r),this.hasHandle||(D=e.getElement(),D.addEventListener("mousedown",function(T){T.which===1&&(r.checkTimeout=setTimeout(function(){r.startMove(T,e)},r.checkPeriod))}),D.addEventListener("mouseup",function(T){T.which===1&&r.checkTimeout&&clearTimeout(r.checkTimeout)}),this.bindTouchEvents(e,e.getElement())),e.modules.moveRow=S}initializeColumn(e){e.definition.rowHandle&&this.table.options.movableRows!==!1&&(this.hasHandle=!0)}initializeCell(e){if(e.column.definition.rowHandle&&this.table.options.movableRows!==!1){var r=this,S=e.getElement(!0);S.addEventListener("mousedown",function(D){D.which===1&&(r.checkTimeout=setTimeout(function(){r.startMove(D,e.row)},r.checkPeriod))}),S.addEventListener("mouseup",function(D){D.which===1&&r.checkTimeout&&clearTimeout(r.checkTimeout)}),this.bindTouchEvents(e.row,S)}}bindTouchEvents(e,r){var S=!1,D,T,p,t,d,g;r.addEventListener("touchstart",i=>{this.checkTimeout=setTimeout(()=>{this.touchMove=!0,D=e.nextRow(),p=D?D.getHeight()/2:0,T=e.prevRow(),t=T?T.getHeight()/2:0,d=0,g=0,S=!1,this.startMove(i,e)},this.checkPeriod)},{passive:!0}),this.moving,this.toRow,this.toRowAfter,r.addEventListener("touchmove",i=>{var M,v;this.moving&&(i.preventDefault(),this.moveHover(i),S||(S=i.touches[0].pageY),M=i.touches[0].pageY-S,M>0?D&&M-d>p&&(v=D,v!==e&&(S=i.touches[0].pageY,v.getElement().parentNode.insertBefore(this.placeholderElement,v.getElement().nextSibling),this.moveRow(v,!0))):T&&-M-g>t&&(v=T,v!==e&&(S=i.touches[0].pageY,v.getElement().parentNode.insertBefore(this.placeholderElement,v.getElement()),this.moveRow(v,!1))),v&&(D=v.nextRow(),d=p,p=D?D.getHeight()/2:0,T=v.prevRow(),g=t,t=T?T.getHeight()/2:0))}),r.addEventListener("touchend",i=>{this.checkTimeout&&clearTimeout(this.checkTimeout),this.moving&&(this.endMove(i),this.touchMove=!1)})}_bindMouseMove(){this.table.rowManager.getDisplayRows().forEach(e=>{(e.type==="row"||e.type==="group")&&e.modules.moveRow&&e.modules.moveRow.mousemove&&e.getElement().addEventListener("mousemove",e.modules.moveRow.mousemove)})}_unbindMouseMove(){this.table.rowManager.getDisplayRows().forEach(e=>{(e.type==="row"||e.type==="group")&&e.modules.moveRow&&e.modules.moveRow.mousemove&&e.getElement().removeEventListener("mousemove",e.modules.moveRow.mousemove)})}startMove(e,r){var S=r.getElement();this.setStartPosition(e,r),this.moving=r,this.table.element.classList.add("tabulator-block-select"),this.placeholderElement.style.width=r.getWidth()+"px",this.placeholderElement.style.height=r.getHeight()+"px",this.connection?(this.table.element.classList.add("tabulator-movingrow-sending"),this.connectToTables(r)):(S.parentNode.insertBefore(this.placeholderElement,S),S.parentNode.removeChild(S)),this.hoverElement=S.cloneNode(!0),this.hoverElement.classList.add("tabulator-moving"),this.connection?(document.body.appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.top="0",this.hoverElement.style.width=this.table.element.clientWidth+"px",this.hoverElement.style.whiteSpace="nowrap",this.hoverElement.style.overflow="hidden",this.hoverElement.style.pointerEvents="none"):(this.table.rowManager.getTableElement().appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.top="0",this._bindMouseMove()),document.body.addEventListener("mousemove",this.moveHover),document.body.addEventListener("mouseup",this.endMove),this.dispatchExternal("rowMoving",r.getComponent()),this.moveHover(e)}setStartPosition(e,r){var S=this.touchMove?e.touches[0].pageX:e.pageX,D=this.touchMove?e.touches[0].pageY:e.pageY,T,p;T=r.getElement(),this.connection?(p=T.getBoundingClientRect(),this.startX=p.left-S+window.pageXOffset,this.startY=p.top-D+window.pageYOffset):this.startY=D-T.getBoundingClientRect().top}endMove(e){(!e||e.which===1||this.touchMove)&&(this._unbindMouseMove(),this.connection||(this.placeholderElement.parentNode.insertBefore(this.moving.getElement(),this.placeholderElement.nextSibling),this.placeholderElement.parentNode.removeChild(this.placeholderElement)),this.hoverElement.parentNode.removeChild(this.hoverElement),this.table.element.classList.remove("tabulator-block-select"),this.toRow?this.table.rowManager.moveRow(this.moving,this.toRow,this.toRowAfter):this.dispatchExternal("rowMoveCancelled",this.moving.getComponent()),this.moving=!1,this.toRow=!1,this.toRowAfter=!1,document.body.removeEventListener("mousemove",this.moveHover),document.body.removeEventListener("mouseup",this.endMove),this.connection&&(this.table.element.classList.remove("tabulator-movingrow-sending"),this.disconnectFromTables()))}moveRow(e,r){this.toRow=e,this.toRowAfter=r}moveHover(e){this.connection?this.moveHoverConnections.call(this,e):this.moveHoverTable.call(this,e)}moveHoverTable(e){var r=this.table.rowManager.getElement(),S=r.scrollTop,D=(this.touchMove?e.touches[0].pageY:e.pageY)-r.getBoundingClientRect().top+S;this.hoverElement.style.top=Math.min(D-this.startY,this.table.rowManager.element.scrollHeight-this.hoverElement.offsetHeight)+"px"}moveHoverConnections(e){this.hoverElement.style.left=this.startX+(this.touchMove?e.touches[0].pageX:e.pageX)+"px",this.hoverElement.style.top=this.startY+(this.touchMove?e.touches[0].pageY:e.pageY)+"px"}elementRowDrop(e,r,S){this.dispatchExternal("movableRowsElementDrop",e,r,S?S.getComponent():!1)}connectToTables(e){var r;this.connectionSelectorsTables&&(r=this.commsConnections(this.connectionSelectorsTables),this.dispatchExternal("movableRowsSendingStart",r),this.commsSend(this.connectionSelectorsTables,"moveRow","connect",{row:e})),this.connectionSelectorsElements&&(this.connectionElements=[],Array.isArray(this.connectionSelectorsElements)||(this.connectionSelectorsElements=[this.connectionSelectorsElements]),this.connectionSelectorsElements.forEach(S=>{typeof S=="string"?this.connectionElements=this.connectionElements.concat(Array.prototype.slice.call(document.querySelectorAll(S))):this.connectionElements.push(S)}),this.connectionElements.forEach(S=>{var D=T=>{this.elementRowDrop(T,S,this.moving)};S.addEventListener("mouseup",D),S.tabulatorElementDropEvent=D,S.classList.add("tabulator-movingrow-receiving")}))}disconnectFromTables(){var e;this.connectionSelectorsTables&&(e=this.commsConnections(this.connectionSelectorsTables),this.dispatchExternal("movableRowsSendingStop",e),this.commsSend(this.connectionSelectorsTables,"moveRow","disconnect")),this.connectionElements.forEach(r=>{r.classList.remove("tabulator-movingrow-receiving"),r.removeEventListener("mouseup",r.tabulatorElementDropEvent),delete r.tabulatorElementDropEvent})}connect(e,r){return this.connectedTable?(console.warn("Move Row Error - Table cannot accept connection, already connected to table:",this.connectedTable),!1):(this.connectedTable=e,this.connectedRow=r,this.table.element.classList.add("tabulator-movingrow-receiving"),this.table.rowManager.getDisplayRows().forEach(S=>{S.type==="row"&&S.modules.moveRow&&S.modules.moveRow.mouseup&&S.getElement().addEventListener("mouseup",S.modules.moveRow.mouseup)}),this.tableRowDropEvent=this.tableRowDrop.bind(this),this.table.element.addEventListener("mouseup",this.tableRowDropEvent),this.dispatchExternal("movableRowsReceivingStart",r,e),!0)}disconnect(e){e===this.connectedTable?(this.connectedTable=!1,this.connectedRow=!1,this.table.element.classList.remove("tabulator-movingrow-receiving"),this.table.rowManager.getDisplayRows().forEach(r=>{r.type==="row"&&r.modules.moveRow&&r.modules.moveRow.mouseup&&r.getElement().removeEventListener("mouseup",r.modules.moveRow.mouseup)}),this.table.element.removeEventListener("mouseup",this.tableRowDropEvent),this.dispatchExternal("movableRowsReceivingStop",e)):console.warn("Move Row Error - trying to disconnect from non connected table")}dropComplete(e,r,S){var D=!1;if(S){switch(typeof this.table.options.movableRowsSender){case"string":D=this.senders[this.table.options.movableRowsSender];break;case"function":D=this.table.options.movableRowsSender;break}D?D.call(this,this.moving?this.moving.getComponent():void 0,r?r.getComponent():void 0,e):this.table.options.movableRowsSender&&console.warn("Mover Row Error - no matching sender found:",this.table.options.movableRowsSender),this.dispatchExternal("movableRowsSent",this.moving.getComponent(),r?r.getComponent():void 0,e)}else this.dispatchExternal("movableRowsSentFailed",this.moving.getComponent(),r?r.getComponent():void 0,e);this.endMove()}tableRowDrop(e,r){var S=!1,D=!1;switch(e.stopImmediatePropagation(),typeof this.table.options.movableRowsReceiver){case"string":S=this.receivers[this.table.options.movableRowsReceiver];break;case"function":S=this.table.options.movableRowsReceiver;break}S?D=S.call(this,this.connectedRow.getComponent(),r?r.getComponent():void 0,this.connectedTable):console.warn("Mover Row Error - no matching receiver found:",this.table.options.movableRowsReceiver),D?this.dispatchExternal("movableRowsReceived",this.connectedRow.getComponent(),r?r.getComponent():void 0,this.connectedTable):this.dispatchExternal("movableRowsReceivedFailed",this.connectedRow.getComponent(),r?r.getComponent():void 0,this.connectedTable),this.commsSend(this.connectedTable,"moveRow","dropcomplete",{row:r,success:D})}commsReceived(e,r,S){switch(r){case"connect":return this.connect(e,S.row);case"disconnect":return this.disconnect(e);case"dropcomplete":return this.dropComplete(e,S.row,S.success)}}}$y.prototype.receivers={insert:function(n,e,r){return this.table.addRow(n.getData(),void 0,e),!0},add:function(n,e,r){return this.table.addRow(n.getData()),!0},update:function(n,e,r){return e?(e.update(n.getData()),!0):!1},replace:function(n,e,r){return e?(this.table.addRow(n.getData(),void 0,e),e.delete(),!0):!1}};$y.prototype.senders={delete:function(n,e,r){n.delete()}};$y.moduleName="moveRow";var gP={};class o0 extends qi{constructor(e){super(e),this.allowedTypes=["","data","edit","clipboard"],this.enabled=!0,this.registerColumnOption("mutator"),this.registerColumnOption("mutatorParams"),this.registerColumnOption("mutatorData"),this.registerColumnOption("mutatorDataParams"),this.registerColumnOption("mutatorEdit"),this.registerColumnOption("mutatorEditParams"),this.registerColumnOption("mutatorClipboard"),this.registerColumnOption("mutatorClipboardParams"),this.registerColumnOption("mutateLink")}initialize(){this.subscribe("cell-value-changing",this.transformCell.bind(this)),this.subscribe("cell-value-changed",this.mutateLink.bind(this)),this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("row-data-init-before",this.rowDataChanged.bind(this)),this.subscribe("row-data-changing",this.rowDataChanged.bind(this))}rowDataChanged(e,r,S){return this.transformRow(r,"data",S)}initializeColumn(e){var r=!1,S={};this.allowedTypes.forEach(D=>{var T="mutator"+(D.charAt(0).toUpperCase()+D.slice(1)),p;e.definition[T]&&(p=this.lookupMutator(e.definition[T]),p&&(r=!0,S[T]={mutator:p,params:e.definition[T+"Params"]||{}}))}),r&&(e.modules.mutate=S)}lookupMutator(e){var r=!1;switch(typeof e){case"string":o0.mutators[e]?r=o0.mutators[e]:console.warn("Mutator Error - No such mutator found, ignoring: ",e);break;case"function":r=e;break}return r}transformRow(e,r,S){var D="mutator"+(r.charAt(0).toUpperCase()+r.slice(1)),T;return this.enabled&&this.table.columnManager.traverse(p=>{var t,d,g;p.modules.mutate&&(t=p.modules.mutate[D]||p.modules.mutate.mutator||!1,t&&(T=p.getFieldValue(typeof S<"u"?S:e),(r=="data"&&!S||typeof T<"u")&&(g=p.getComponent(),d=typeof t.params=="function"?t.params(T,e,r,g):t.params,p.setFieldValue(e,t.mutator(T,e,r,d,g)))))}),e}transformCell(e,r){if(e.column.modules.mutate){var S=e.column.modules.mutate.mutatorEdit||e.column.modules.mutate.mutator||!1,D={};if(S)return D=Object.assign(D,e.row.getData()),e.column.setFieldValue(D,r),S.mutator(r,D,"edit",S.params,e.getComponent())}return r}mutateLink(e){var r=e.column.definition.mutateLink;r&&(Array.isArray(r)||(r=[r]),r.forEach(S=>{var D=e.row.getCell(S);D&&D.setValue(D.getValue(),!0,!0)}))}enable(){this.enabled=!0}disable(){this.enabled=!1}}o0.moduleName="mutator";o0.mutators=gP;function vP(n,e,r,S,D){var T=document.createElement("span"),p=document.createElement("span"),t=document.createElement("span"),d=document.createElement("span"),g=document.createElement("span"),i=document.createElement("span");return this.table.modules.localize.langBind("pagination|counter|showing",M=>{p.innerHTML=M}),this.table.modules.localize.langBind("pagination|counter|of",M=>{d.innerHTML=M}),this.table.modules.localize.langBind("pagination|counter|rows",M=>{i.innerHTML=M}),S?(t.innerHTML=" "+e+"-"+Math.min(e+n-1,S)+" ",g.innerHTML=" "+S+" ",T.appendChild(p),T.appendChild(t),T.appendChild(d),T.appendChild(g),T.appendChild(i)):(t.innerHTML=" 0 ",T.appendChild(p),T.appendChild(t),T.appendChild(i)),T}function yP(n,e,r,S,D){var T=document.createElement("span"),p=document.createElement("span"),t=document.createElement("span"),d=document.createElement("span"),g=document.createElement("span"),i=document.createElement("span");return this.table.modules.localize.langBind("pagination|counter|showing",M=>{p.innerHTML=M}),t.innerHTML=" "+r+" ",this.table.modules.localize.langBind("pagination|counter|of",M=>{d.innerHTML=M}),g.innerHTML=" "+D+" ",this.table.modules.localize.langBind("pagination|counter|pages",M=>{i.innerHTML=M}),T.appendChild(p),T.appendChild(t),T.appendChild(d),T.appendChild(g),T.appendChild(i),T}var bP={rows:vP,pages:yP};class rg extends qi{constructor(e){super(e),this.mode="local",this.progressiveLoad=!1,this.element=null,this.pageCounterElement=null,this.pageCounter=null,this.size=0,this.page=1,this.count=5,this.max=1,this.remoteRowCountEstimate=null,this.initialLoad=!0,this.dataChanging=!1,this.pageSizes=[],this.registerTableOption("pagination",!1),this.registerTableOption("paginationMode","local"),this.registerTableOption("paginationSize",!1),this.registerTableOption("paginationInitialPage",1),this.registerTableOption("paginationCounter",!1),this.registerTableOption("paginationCounterElement",!1),this.registerTableOption("paginationButtonCount",5),this.registerTableOption("paginationSizeSelector",!1),this.registerTableOption("paginationElement",!1),this.registerTableOption("paginationAddRow","page"),this.registerTableOption("progressiveLoad",!1),this.registerTableOption("progressiveLoadDelay",0),this.registerTableOption("progressiveLoadScrollMargin",0),this.registerTableFunction("setMaxPage",this.setMaxPage.bind(this)),this.registerTableFunction("setPage",this.setPage.bind(this)),this.registerTableFunction("setPageToRow",this.userSetPageToRow.bind(this)),this.registerTableFunction("setPageSize",this.userSetPageSize.bind(this)),this.registerTableFunction("getPageSize",this.getPageSize.bind(this)),this.registerTableFunction("previousPage",this.previousPage.bind(this)),this.registerTableFunction("nextPage",this.nextPage.bind(this)),this.registerTableFunction("getPage",this.getPage.bind(this)),this.registerTableFunction("getPageMax",this.getPageMax.bind(this)),this.registerComponentFunction("row","pageTo",this.setPageToRow.bind(this))}initialize(){this.table.options.pagination?(this.subscribe("row-deleted",this.rowsUpdated.bind(this)),this.subscribe("row-added",this.rowsUpdated.bind(this)),this.subscribe("data-processed",this.initialLoadComplete.bind(this)),this.subscribe("table-built",this.calculatePageSizes.bind(this)),this.subscribe("footer-redraw",this.footerRedraw.bind(this)),this.table.options.paginationAddRow=="page"&&this.subscribe("row-adding-position",this.rowAddingPosition.bind(this)),this.table.options.paginationMode==="remote"&&(this.subscribe("data-params",this.remotePageParams.bind(this)),this.subscribe("data-loaded",this._parseRemoteData.bind(this))),this.table.options.progressiveLoad&&console.error("Progressive Load Error - Pagination and progressive load cannot be used at the same time"),this.registerDisplayHandler(this.restOnRenderBefore.bind(this),40),this.registerDisplayHandler(this.getRows.bind(this),50),this.createElements(),this.initializePageCounter(),this.initializePaginator()):this.table.options.progressiveLoad&&(this.subscribe("data-params",this.remotePageParams.bind(this)),this.subscribe("data-loaded",this._parseRemoteData.bind(this)),this.subscribe("table-built",this.calculatePageSizes.bind(this)),this.subscribe("data-processed",this.initialLoadComplete.bind(this)),this.initializeProgressive(this.table.options.progressiveLoad),this.table.options.progressiveLoad==="scroll"&&this.subscribe("scroll-vertical",this.scrollVertical.bind(this)))}rowAddingPosition(e,r){var S=this.table.rowManager,D=S.getDisplayRows(),T;return r?D.length?T=D[0]:S.activeRows.length&&(T=S.activeRows[S.activeRows.length-1],r=!1):D.length&&(T=D[D.length-1],r=!(D.length{}))}restOnRenderBefore(e,r){return r||this.mode==="local"&&this.reset(),e}rowsUpdated(){this.refreshData(!0,"all")}createElements(){var e;this.element=document.createElement("span"),this.element.classList.add("tabulator-paginator"),this.pagesElement=document.createElement("span"),this.pagesElement.classList.add("tabulator-pages"),e=document.createElement("button"),e.classList.add("tabulator-page"),e.setAttribute("type","button"),e.setAttribute("role","button"),e.setAttribute("aria-label",""),e.setAttribute("title",""),this.firstBut=e.cloneNode(!0),this.firstBut.setAttribute("data-page","first"),this.prevBut=e.cloneNode(!0),this.prevBut.setAttribute("data-page","prev"),this.nextBut=e.cloneNode(!0),this.nextBut.setAttribute("data-page","next"),this.lastBut=e.cloneNode(!0),this.lastBut.setAttribute("data-page","last"),this.table.options.paginationSizeSelector&&(this.pageSizeSelect=document.createElement("select"),this.pageSizeSelect.classList.add("tabulator-page-size"))}generatePageSizeSelectList(){var e=[];if(this.pageSizeSelect){if(Array.isArray(this.table.options.paginationSizeSelector))e=this.table.options.paginationSizeSelector,this.pageSizes=e,this.pageSizes.indexOf(this.size)==-1&&e.unshift(this.size);else if(this.pageSizes.indexOf(this.size)==-1){e=[];for(let r=1;r<5;r++)e.push(this.size*r);this.pageSizes=e}else e=this.pageSizes;for(;this.pageSizeSelect.firstChild;)this.pageSizeSelect.removeChild(this.pageSizeSelect.firstChild);e.forEach(r=>{var S=document.createElement("option");S.value=r,r===!0?this.langBind("pagination|all",function(D){S.innerHTML=D}):S.innerHTML=r,this.pageSizeSelect.appendChild(S)}),this.pageSizeSelect.value=this.size}}initializePageCounter(){var e=this.table.options.paginationCounter,r=null;e&&(typeof e=="function"?r=e:r=rg.pageCounters[e],r?(this.pageCounter=r,this.pageCounterElement=document.createElement("span"),this.pageCounterElement.classList.add("tabulator-page-counter")):console.warn("Pagination Error - No such page counter found: ",e))}initializePaginator(e){var r,S;e||(this.langBind("pagination|first",D=>{this.firstBut.innerHTML=D}),this.langBind("pagination|first_title",D=>{this.firstBut.setAttribute("aria-label",D),this.firstBut.setAttribute("title",D)}),this.langBind("pagination|prev",D=>{this.prevBut.innerHTML=D}),this.langBind("pagination|prev_title",D=>{this.prevBut.setAttribute("aria-label",D),this.prevBut.setAttribute("title",D)}),this.langBind("pagination|next",D=>{this.nextBut.innerHTML=D}),this.langBind("pagination|next_title",D=>{this.nextBut.setAttribute("aria-label",D),this.nextBut.setAttribute("title",D)}),this.langBind("pagination|last",D=>{this.lastBut.innerHTML=D}),this.langBind("pagination|last_title",D=>{this.lastBut.setAttribute("aria-label",D),this.lastBut.setAttribute("title",D)}),this.firstBut.addEventListener("click",()=>{this.setPage(1)}),this.prevBut.addEventListener("click",()=>{this.previousPage()}),this.nextBut.addEventListener("click",()=>{this.nextPage()}),this.lastBut.addEventListener("click",()=>{this.setPage(this.max)}),this.table.options.paginationElement&&(this.element=this.table.options.paginationElement),this.pageSizeSelect&&(r=document.createElement("label"),this.langBind("pagination|page_size",D=>{this.pageSizeSelect.setAttribute("aria-label",D),this.pageSizeSelect.setAttribute("title",D),r.innerHTML=D}),this.element.appendChild(r),this.element.appendChild(this.pageSizeSelect),this.pageSizeSelect.addEventListener("change",D=>{this.setPageSize(this.pageSizeSelect.value=="true"?!0:this.pageSizeSelect.value),this.setPage(1)})),this.element.appendChild(this.firstBut),this.element.appendChild(this.prevBut),this.element.appendChild(this.pagesElement),this.element.appendChild(this.nextBut),this.element.appendChild(this.lastBut),this.table.options.paginationElement||(this.table.options.paginationCounter&&(this.table.options.paginationCounterElement?this.table.options.paginationCounterElement instanceof HTMLElement?this.table.options.paginationCounterElement.appendChild(this.pageCounterElement):typeof this.table.options.paginationCounterElement=="string"&&(S=document.querySelector(this.table.options.paginationCounterElement),S?S.appendChild(this.pageCounterElement):console.warn("Pagination Error - Unable to find element matching paginationCounterElement selector:",this.table.options.paginationCounterElement)):this.footerAppend(this.pageCounterElement)),this.footerAppend(this.element)),this.page=this.table.options.paginationInitialPage,this.count=this.table.options.paginationButtonCount),this.mode=this.table.options.paginationMode}initializeProgressive(e){this.initializePaginator(!0),this.mode="progressive_"+e,this.progressiveLoad=!0}trackChanges(){this.dispatch("page-changed")}setMaxRows(e){e?this.max=this.size===!0?1:Math.ceil(e/this.size):this.max=1,this.page>this.max&&(this.page=this.max)}reset(e){this.initialLoad||(this.mode=="local"||e)&&(this.page=1,this.trackChanges())}setMaxPage(e){e=parseInt(e),this.max=e||1,this.page>this.max&&(this.page=this.max,this.trigger())}setPage(e){switch(e){case"first":return this.setPage(1);case"prev":return this.previousPage();case"next":return this.nextPage();case"last":return this.setPage(this.max)}return e=parseInt(e),e>0&&e<=this.max||this.mode!=="local"?(this.page=e,this.trackChanges(),this.trigger()):(console.warn("Pagination Error - Requested page is out of range of 1 - "+this.max+":",e),Promise.reject())}setPageToRow(e){var r=this.displayRows(-1),S=r.indexOf(e);if(S>-1){var D=this.size===!0?1:Math.ceil((S+1)/this.size);return this.setPage(D)}else return console.warn("Pagination Error - Requested row is not visible"),Promise.reject()}setPageSize(e){e!==!0&&(e=parseInt(e)),e>0&&(this.size=e,this.dispatchExternal("pageSizeChanged",e)),this.pageSizeSelect&&this.generatePageSizeSelectList(),this.trackChanges()}_setPageCounter(e,r,S){var D;if(this.pageCounter)switch(this.mode==="remote"&&(r=this.size,S=(this.page-1)*this.size+1,e=this.remoteRowCountEstimate),D=this.pageCounter.call(this,r,S,this.page,e,this.max),typeof D){case"object":if(D instanceof Node){for(;this.pageCounterElement.firstChild;)this.pageCounterElement.removeChild(this.pageCounterElement.firstChild);this.pageCounterElement.appendChild(D)}else this.pageCounterElement.innerHTML="",D!=null&&console.warn("Page Counter Error - Page Counter has returned a type of object, the only valid page counter object return is an instance of Node, the page counter returned:",D);break;case"undefined":this.pageCounterElement.innerHTML="";break;default:this.pageCounterElement.innerHTML=D}}_setPageButtons(){let e=Math.floor((this.count-1)/2),r=Math.ceil((this.count-1)/2),S=this.max-this.page+e+10&&T<=this.max&&this.pagesElement.appendChild(this._generatePageButton(T));this.footerRedraw()}_generatePageButton(e){var r=document.createElement("button");return r.classList.add("tabulator-page"),e==this.page&&r.classList.add("active"),r.setAttribute("type","button"),r.setAttribute("role","button"),this.langBind("pagination|page_title",S=>{r.setAttribute("aria-label",S+" "+e),r.setAttribute("title",S+" "+e)}),r.setAttribute("data-page",e),r.textContent=e,r.addEventListener("click",S=>{this.setPage(e)}),r}previousPage(){return this.page>1?(this.page--,this.trackChanges(),this.trigger()):(console.warn("Pagination Error - Previous page would be less than page 1:",0),Promise.reject())}nextPage(){return this.paged.type==="row");if(this.mode=="local"){S=[],this.setMaxRows(e.length),this.size===!0?(D=0,T=e.length):(D=this.size*(this.page-1),T=D+parseInt(this.size)),this._setPageButtons();for(let d=D;d{this.dataChanging=!1});case"progressive_load":case"progressive_scroll":return this.reloadData(null,!0);default:return console.warn("Pagination Error - no such pagination mode:",this.mode),Promise.reject()}}_parseRemoteData(e){var r;if(typeof e.last_page>"u"&&console.warn("Remote Pagination Error - Server response missing '"+(this.options("dataReceiveParams").last_page||"last_page")+"' property"),e.data)if(this.max=parseInt(e.last_page)||1,this.remoteRowCountEstimate=typeof e.last_row<"u"?e.last_row:e.last_page*this.size-(this.page==e.last_page?this.size-e.data.length:0),this.progressiveLoad){switch(this.mode){case"progressive_load":this.page==1?this.table.rowManager.setData(e.data,!1,this.page==1):this.table.rowManager.addRows(e.data),this.page{this.nextPage()},this.table.options.progressiveLoadDelay);break;case"progressive_scroll":e=this.page===1?e.data:this.table.rowManager.getData().concat(e.data),this.table.rowManager.setData(e,this.page!==1,this.page==1),r=this.table.options.progressiveLoadScrollMargin||this.table.rowManager.element.clientHeight*2,this.table.rowManager.element.scrollHeight<=this.table.rowManager.element.clientHeight+r&&this.page{this.nextPage()});break}return!1}else this.dispatchExternal("pageLoaded",this.getPage());else console.warn("Remote Pagination Error - Server response missing '"+(this.options("dataReceiveParams").data||"data")+"' property");return e.data}footerRedraw(){var e=this.table.footerManager.containerElement;Math.ceil(e.clientWidth)-e.scrollWidth<0?this.pagesElement.style.display="none":(this.pagesElement.style.display="",Math.ceil(e.clientWidth)-e.scrollWidth<0&&(this.pagesElement.style.display="none"))}}rg.moduleName="page";rg.pageCounters=bP;var xP={local:function(n,e){var r=localStorage.getItem(n+"-"+e);return r?JSON.parse(r):!1},cookie:function(n,e){var r=document.cookie,S=n+"-"+e,D=r.indexOf(S+"="),T,p;return D>-1&&(r=r.slice(D),T=r.indexOf(";"),T>-1&&(r=r.slice(0,T)),p=r.replace(S+"=","")),p?JSON.parse(p):!1}},_P={local:function(n,e,r){localStorage.setItem(n+"-"+e,JSON.stringify(r))},cookie:function(n,e,r){var S=new Date;S.setDate(S.getDate()+1e4),document.cookie=n+"-"+e+"="+JSON.stringify(r)+"; expires="+S.toUTCString()}};class Ul extends qi{constructor(e){super(e),this.mode="",this.id="",this.defWatcherBlock=!1,this.config={},this.readFunc=!1,this.writeFunc=!1,this.registerTableOption("persistence",!1),this.registerTableOption("persistenceID",""),this.registerTableOption("persistenceMode",!0),this.registerTableOption("persistenceReaderFunc",!1),this.registerTableOption("persistenceWriterFunc",!1)}localStorageTest(){var e="_tabulator_test";try{return window.localStorage.setItem(e,e),window.localStorage.removeItem(e),!0}catch{return!1}}initialize(){if(this.table.options.persistence){var e=this.table.options.persistenceMode,r=this.table.options.persistenceID,S;this.mode=e!==!0?e:this.localStorageTest()?"local":"cookie",this.table.options.persistenceReaderFunc?typeof this.table.options.persistenceReaderFunc=="function"?this.readFunc=this.table.options.persistenceReaderFunc:Ul.readers[this.table.options.persistenceReaderFunc]?this.readFunc=Ul.readers[this.table.options.persistenceReaderFunc]:console.warn("Persistence Read Error - invalid reader set",this.table.options.persistenceReaderFunc):Ul.readers[this.mode]?this.readFunc=Ul.readers[this.mode]:console.warn("Persistence Read Error - invalid reader set",this.mode),this.table.options.persistenceWriterFunc?typeof this.table.options.persistenceWriterFunc=="function"?this.writeFunc=this.table.options.persistenceWriterFunc:Ul.writers[this.table.options.persistenceWriterFunc]?this.writeFunc=Ul.writers[this.table.options.persistenceWriterFunc]:console.warn("Persistence Write Error - invalid reader set",this.table.options.persistenceWriterFunc):Ul.writers[this.mode]?this.writeFunc=Ul.writers[this.mode]:console.warn("Persistence Write Error - invalid writer set",this.mode),this.id="tabulator-"+(r||this.table.element.getAttribute("id")||""),this.config={sort:this.table.options.persistence===!0||this.table.options.persistence.sort,filter:this.table.options.persistence===!0||this.table.options.persistence.filter,headerFilter:this.table.options.persistence===!0||this.table.options.persistence.headerFilter,group:this.table.options.persistence===!0||this.table.options.persistence.group,page:this.table.options.persistence===!0||this.table.options.persistence.page,columns:this.table.options.persistence===!0?["title","width","visible"]:this.table.options.persistence.columns},this.config.page&&(S=this.retrieveData("page"),S&&(typeof S.paginationSize<"u"&&(this.config.page===!0||this.config.page.size)&&(this.table.options.paginationSize=S.paginationSize),typeof S.paginationInitialPage<"u"&&(this.config.page===!0||this.config.page.page)&&(this.table.options.paginationInitialPage=S.paginationInitialPage))),this.config.group&&(S=this.retrieveData("group"),S&&(typeof S.groupBy<"u"&&(this.config.group===!0||this.config.group.groupBy)&&(this.table.options.groupBy=S.groupBy),typeof S.groupStartOpen<"u"&&(this.config.group===!0||this.config.group.groupStartOpen)&&(this.table.options.groupStartOpen=S.groupStartOpen),typeof S.groupHeader<"u"&&(this.config.group===!0||this.config.group.groupHeader)&&(this.table.options.groupHeader=S.groupHeader))),this.config.columns&&(this.table.options.columns=this.load("columns",this.table.options.columns),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("column-show",this.save.bind(this,"columns")),this.subscribe("column-hide",this.save.bind(this,"columns")),this.subscribe("column-moved",this.save.bind(this,"columns"))),this.subscribe("table-built",this.tableBuilt.bind(this),0),this.subscribe("table-redraw",this.tableRedraw.bind(this)),this.subscribe("filter-changed",this.eventSave.bind(this,"filter")),this.subscribe("filter-changed",this.eventSave.bind(this,"headerFilter")),this.subscribe("sort-changed",this.eventSave.bind(this,"sort")),this.subscribe("group-changed",this.eventSave.bind(this,"group")),this.subscribe("page-changed",this.eventSave.bind(this,"page")),this.subscribe("column-resized",this.eventSave.bind(this,"columns")),this.subscribe("column-width",this.eventSave.bind(this,"columns")),this.subscribe("layout-refreshed",this.eventSave.bind(this,"columns"))}this.registerTableFunction("getColumnLayout",this.getColumnLayout.bind(this)),this.registerTableFunction("setColumnLayout",this.setColumnLayout.bind(this))}eventSave(e){this.config[e]&&this.save(e)}tableBuilt(){var e,r,S;this.config.sort&&(e=this.load("sort"),e&&(this.table.options.initialSort=e)),this.config.filter&&(r=this.load("filter"),r&&(this.table.options.initialFilter=r)),this.config.headerFilter&&(S=this.load("headerFilter"),S&&(this.table.options.initialHeaderFilter=S))}tableRedraw(e){e&&this.config.columns&&this.save("columns")}getColumnLayout(){return this.parseColumns(this.table.columnManager.getColumns())}setColumnLayout(e){return this.table.columnManager.setColumns(this.mergeDefinition(this.table.options.columns,e,!0)),!0}initializeColumn(e){var r,S;this.config.columns&&(this.defWatcherBlock=!0,r=e.getDefinition(),S=this.config.columns===!0?Object.keys(r):this.config.columns,S.forEach(D=>{var T=Object.getOwnPropertyDescriptor(r,D),p=r[D];T&&Object.defineProperty(r,D,{set:t=>{p=t,this.defWatcherBlock||this.save("columns"),T.set&&T.set(t)},get:()=>(T.get&&T.get(),p)})}),this.defWatcherBlock=!1)}load(e,r){var S=this.retrieveData(e);return r&&(S=S?this.mergeDefinition(r,S):r),S}retrieveData(e){return this.readFunc?this.readFunc(this.id,e):!1}mergeDefinition(e,r,S){var D=[];return r=r||[],r.forEach((T,p)=>{var t=this._findColumn(e,T),d;t&&(S?d=Object.keys(T):this.config.columns===!0||this.config.columns==null?(d=Object.keys(t),d.push("width")):d=this.config.columns,d.forEach(g=>{g!=="columns"&&typeof T[g]<"u"&&(t[g]=T[g])}),t.columns&&(t.columns=this.mergeDefinition(t.columns,T.columns)),D.push(t))}),e.forEach((T,p)=>{var t=this._findColumn(r,T);t||(D.length>p?D.splice(p,0,T):D.push(T))}),D}_findColumn(e,r){var S=r.columns?"group":r.field?"field":"object";return e.find(function(D){switch(S){case"group":return D.title===r.title&&D.columns.length===r.columns.length;case"field":return D.field===r.field;case"object":return D===r}})}save(e){var r={};switch(e){case"columns":r=this.parseColumns(this.table.columnManager.getColumns());break;case"filter":r=this.table.modules.filter.getFilters();break;case"headerFilter":r=this.table.modules.filter.getHeaderFilters();break;case"sort":r=this.validateSorters(this.table.modules.sort.getSort());break;case"group":r=this.getGroupConfig();break;case"page":r=this.getPageConfig();break}this.writeFunc&&this.writeFunc(this.id,e,r)}validateSorters(e){return e.forEach(function(r){r.column=r.field,delete r.field}),e}getGroupConfig(){var e={};return this.config.group&&((this.config.group===!0||this.config.group.groupBy)&&(e.groupBy=this.table.options.groupBy),(this.config.group===!0||this.config.group.groupStartOpen)&&(e.groupStartOpen=this.table.options.groupStartOpen),(this.config.group===!0||this.config.group.groupHeader)&&(e.groupHeader=this.table.options.groupHeader)),e}getPageConfig(){var e={};return this.config.page&&((this.config.page===!0||this.config.page.size)&&(e.paginationSize=this.table.modules.page.getPageSize()),(this.config.page===!0||this.config.page.page)&&(e.paginationInitialPage=this.table.modules.page.getPage())),e}parseColumns(e){var r=[],S=["headerContextMenu","headerMenu","contextMenu","clickMenu"];return e.forEach(D=>{var T={},p=D.getDefinition(),t;D.isGroup?(T.title=p.title,T.columns=this.parseColumns(D.getColumns())):(T.field=D.getField(),this.config.columns===!0||this.config.columns==null?(t=Object.keys(p),t.push("width"),t.push("visible")):t=this.config.columns,t.forEach(d=>{switch(d){case"width":T.width=D.getWidth();break;case"visible":T.visible=D.visible;break;default:typeof p[d]!="function"&&S.indexOf(d)===-1&&(T[d]=p[d])}})),r.push(T)}),r}}Ul.moduleName="persistence";Ul.moduleInitOrder=-10;Ul.readers=xP;Ul.writers=_P;class HM extends qi{constructor(e){super(e),this.columnSubscribers={},this.registerTableOption("rowContextPopup",!1),this.registerTableOption("rowClickPopup",!1),this.registerTableOption("rowDblClickPopup",!1),this.registerTableOption("groupContextPopup",!1),this.registerTableOption("groupClickPopup",!1),this.registerTableOption("groupDblClickPopup",!1),this.registerColumnOption("headerContextPopup"),this.registerColumnOption("headerClickPopup"),this.registerColumnOption("headerDblClickPopup"),this.registerColumnOption("headerPopup"),this.registerColumnOption("headerPopupIcon"),this.registerColumnOption("contextPopup"),this.registerColumnOption("clickPopup"),this.registerColumnOption("dblClickPopup"),this.registerComponentFunction("cell","popup",this._componentPopupCall.bind(this)),this.registerComponentFunction("column","popup",this._componentPopupCall.bind(this)),this.registerComponentFunction("row","popup",this._componentPopupCall.bind(this)),this.registerComponentFunction("group","popup",this._componentPopupCall.bind(this))}initialize(){this.initializeRowWatchers(),this.initializeGroupWatchers(),this.subscribe("column-init",this.initializeColumn.bind(this))}_componentPopupCall(e,r,S){this.loadPopupEvent(r,null,e,S)}initializeRowWatchers(){this.table.options.rowContextPopup&&(this.subscribe("row-contextmenu",this.loadPopupEvent.bind(this,this.table.options.rowContextPopup)),this.table.on("rowTapHold",this.loadPopupEvent.bind(this,this.table.options.rowContextPopup))),this.table.options.rowClickPopup&&this.subscribe("row-click",this.loadPopupEvent.bind(this,this.table.options.rowClickPopup)),this.table.options.rowDblClickPopup&&this.subscribe("row-dblclick",this.loadPopupEvent.bind(this,this.table.options.rowDblClickPopup))}initializeGroupWatchers(){this.table.options.groupContextPopup&&(this.subscribe("group-contextmenu",this.loadPopupEvent.bind(this,this.table.options.groupContextPopup)),this.table.on("groupTapHold",this.loadPopupEvent.bind(this,this.table.options.groupContextPopup))),this.table.options.groupClickPopup&&this.subscribe("group-click",this.loadPopupEvent.bind(this,this.table.options.groupClickPopup)),this.table.options.groupDblClickPopup&&this.subscribe("group-dblclick",this.loadPopupEvent.bind(this,this.table.options.groupDblClickPopup))}initializeColumn(e){var r=e.definition;r.headerContextPopup&&!this.columnSubscribers.headerContextPopup&&(this.columnSubscribers.headerContextPopup=this.loadPopupTableColumnEvent.bind(this,"headerContextPopup"),this.subscribe("column-contextmenu",this.columnSubscribers.headerContextPopup),this.table.on("headerTapHold",this.loadPopupTableColumnEvent.bind(this,"headerContextPopup"))),r.headerClickPopup&&!this.columnSubscribers.headerClickPopup&&(this.columnSubscribers.headerClickPopup=this.loadPopupTableColumnEvent.bind(this,"headerClickPopup"),this.subscribe("column-click",this.columnSubscribers.headerClickPopup)),r.headerDblClickPopup&&!this.columnSubscribers.headerDblClickPopup&&(this.columnSubscribers.headerDblClickPopup=this.loadPopupTableColumnEvent.bind(this,"headerDblClickPopup"),this.subscribe("column-dblclick",this.columnSubscribers.headerDblClickPopup)),r.headerPopup&&this.initializeColumnHeaderPopup(e),r.contextPopup&&!this.columnSubscribers.contextPopup&&(this.columnSubscribers.contextPopup=this.loadPopupTableCellEvent.bind(this,"contextPopup"),this.subscribe("cell-contextmenu",this.columnSubscribers.contextPopup),this.table.on("cellTapHold",this.loadPopupTableCellEvent.bind(this,"contextPopup"))),r.clickPopup&&!this.columnSubscribers.clickPopup&&(this.columnSubscribers.clickPopup=this.loadPopupTableCellEvent.bind(this,"clickPopup"),this.subscribe("cell-click",this.columnSubscribers.clickPopup)),r.dblClickPopup&&!this.columnSubscribers.dblClickPopup&&(this.columnSubscribers.dblClickPopup=this.loadPopupTableCellEvent.bind(this,"dblClickPopup"),this.subscribe("cell-click",this.columnSubscribers.dblClickPopup))}initializeColumnHeaderPopup(e){var r=e.definition.headerPopupIcon,S;S=document.createElement("span"),S.classList.add("tabulator-header-popup-button"),r?(typeof r=="function"&&(r=r(e.getComponent())),r instanceof HTMLElement?S.appendChild(r):S.innerHTML=r):S.innerHTML="⋮",S.addEventListener("click",D=>{D.stopPropagation(),D.preventDefault(),this.loadPopupEvent(e.definition.headerPopup,D,e)}),e.titleElement.insertBefore(S,e.titleElement.firstChild)}loadPopupTableCellEvent(e,r,S){S._cell&&(S=S._cell),S.column.definition[e]&&this.loadPopupEvent(S.column.definition[e],r,S)}loadPopupTableColumnEvent(e,r,S){S._column&&(S=S._column),S.definition[e]&&this.loadPopupEvent(S.definition[e],r,S)}loadPopupEvent(e,r,S,D){var T;function p(t){T=t}S._group?S=S._group:S._row&&(S=S._row),e=typeof e=="function"?e.call(this.table,r,S.getComponent(),p):e,this.loadPopup(r,S,e,T,D)}loadPopup(e,r,S,D,T){var p=!(e instanceof MouseEvent),t,d;S instanceof HTMLElement?t=S:(t=document.createElement("div"),t.innerHTML=S),t.classList.add("tabulator-popup"),t.addEventListener("click",g=>{g.stopPropagation()}),p||e.preventDefault(),d=this.popup(t),typeof D=="function"&&d.renderCallback(D),e?d.show(e):d.show(r.getElement(),T||"center"),d.hideOnBlur(()=>{this.dispatchExternal("popupClosed",r.getComponent())}),this.dispatchExternal("popupOpened",r.getComponent())}}HM.moduleName="popup";class GM extends qi{constructor(e){super(e),this.element=!1,this.manualBlock=!1,this.beforeprintEventHandler=null,this.afterprintEventHandler=null,this.registerTableOption("printAsHtml",!1),this.registerTableOption("printFormatter",!1),this.registerTableOption("printHeader",!1),this.registerTableOption("printFooter",!1),this.registerTableOption("printStyled",!0),this.registerTableOption("printRowRange","visible"),this.registerTableOption("printConfig",{}),this.registerColumnOption("print"),this.registerColumnOption("titlePrint")}initialize(){this.table.options.printAsHtml&&(this.beforeprintEventHandler=this.replaceTable.bind(this),this.afterprintEventHandler=this.cleanup.bind(this),window.addEventListener("beforeprint",this.beforeprintEventHandler),window.addEventListener("afterprint",this.afterprintEventHandler),this.subscribe("table-destroy",this.destroy.bind(this))),this.registerTableFunction("print",this.printFullscreen.bind(this))}destroy(){this.table.options.printAsHtml&&(window.removeEventListener("beforeprint",this.beforeprintEventHandler),window.removeEventListener("afterprint",this.afterprintEventHandler))}replaceTable(){this.manualBlock||(this.element=document.createElement("div"),this.element.classList.add("tabulator-print-table"),this.element.appendChild(this.table.modules.export.generateTable(this.table.options.printConfig,this.table.options.printStyled,this.table.options.printRowRange,"print")),this.table.element.style.display="none",this.table.element.parentNode.insertBefore(this.element,this.table.element))}cleanup(){document.body.classList.remove("tabulator-print-fullscreen-hide"),this.element&&this.element.parentNode&&(this.element.parentNode.removeChild(this.element),this.table.element.style.display="")}printFullscreen(e,r,S){var D=window.scrollX,T=window.scrollY,p=document.createElement("div"),t=document.createElement("div"),d=this.table.modules.export.generateTable(typeof S<"u"?S:this.table.options.printConfig,typeof r<"u"?r:this.table.options.printStyled,e||this.table.options.printRowRange,"print"),g,i;this.manualBlock=!0,this.element=document.createElement("div"),this.element.classList.add("tabulator-print-fullscreen"),this.table.options.printHeader&&(p.classList.add("tabulator-print-header"),g=typeof this.table.options.printHeader=="function"?this.table.options.printHeader.call(this.table):this.table.options.printHeader,typeof g=="string"?p.innerHTML=g:p.appendChild(g),this.element.appendChild(p)),this.element.appendChild(d),this.table.options.printFooter&&(t.classList.add("tabulator-print-footer"),i=typeof this.table.options.printFooter=="function"?this.table.options.printFooter.call(this.table):this.table.options.printFooter,typeof i=="string"?t.innerHTML=i:t.appendChild(i),this.element.appendChild(t)),document.body.classList.add("tabulator-print-fullscreen-hide"),document.body.appendChild(this.element),this.table.options.printFormatter&&this.table.options.printFormatter(this.element,d),window.print(),this.cleanup(),window.scrollTo(D,T),this.manualBlock=!1}}GM.moduleName="print";class qM extends qi{constructor(e){super(e),this.data=!1,this.blocked=!1,this.origFuncs={},this.currentVersion=0,this.registerTableOption("reactiveData",!1)}initialize(){this.table.options.reactiveData&&(this.subscribe("cell-value-save-before",this.block.bind(this,"cellsave")),this.subscribe("cell-value-save-after",this.unblock.bind(this,"cellsave")),this.subscribe("row-data-save-before",this.block.bind(this,"rowsave")),this.subscribe("row-data-save-after",this.unblock.bind(this,"rowsave")),this.subscribe("row-data-init-after",this.watchRow.bind(this)),this.subscribe("data-processing",this.watchData.bind(this)),this.subscribe("table-destroy",this.unwatchData.bind(this)))}watchData(e){var r=this,S;this.currentVersion++,S=this.currentVersion,this.unwatchData(),this.data=e,this.origFuncs.push=e.push,Object.defineProperty(this.data,"push",{enumerable:!1,configurable:!0,value:function(){var D=Array.from(arguments),T;return!r.blocked&&S===r.currentVersion&&(r.block("data-push"),D.forEach(p=>{r.table.rowManager.addRowActual(p,!1)}),T=r.origFuncs.push.apply(e,arguments),r.unblock("data-push")),T}}),this.origFuncs.unshift=e.unshift,Object.defineProperty(this.data,"unshift",{enumerable:!1,configurable:!0,value:function(){var D=Array.from(arguments),T;return!r.blocked&&S===r.currentVersion&&(r.block("data-unshift"),D.forEach(p=>{r.table.rowManager.addRowActual(p,!0)}),T=r.origFuncs.unshift.apply(e,arguments),r.unblock("data-unshift")),T}}),this.origFuncs.shift=e.shift,Object.defineProperty(this.data,"shift",{enumerable:!1,configurable:!0,value:function(){var D,T;return!r.blocked&&S===r.currentVersion&&(r.block("data-shift"),r.data.length&&(D=r.table.rowManager.getRowFromDataObject(r.data[0]),D&&D.deleteActual()),T=r.origFuncs.shift.call(e),r.unblock("data-shift")),T}}),this.origFuncs.pop=e.pop,Object.defineProperty(this.data,"pop",{enumerable:!1,configurable:!0,value:function(){var D,T;return!r.blocked&&S===r.currentVersion&&(r.block("data-pop"),r.data.length&&(D=r.table.rowManager.getRowFromDataObject(r.data[r.data.length-1]),D&&D.deleteActual()),T=r.origFuncs.pop.call(e),r.unblock("data-pop")),T}}),this.origFuncs.splice=e.splice,Object.defineProperty(this.data,"splice",{enumerable:!1,configurable:!0,value:function(){var D=Array.from(arguments),T=D[0]<0?e.length+D[0]:D[0],p=D[1],t=D[2]?D.slice(2):!1,d,g;if(!r.blocked&&S===r.currentVersion){if(r.block("data-splice"),t&&(d=e[T]?r.table.rowManager.getRowFromDataObject(e[T]):!1,d?t.forEach(M=>{r.table.rowManager.addRowActual(M,!0,d,!0)}):(t=t.slice().reverse(),t.forEach(M=>{r.table.rowManager.addRowActual(M,!0,!1,!0)}))),p!==0){var i=e.slice(T,typeof D[1]>"u"?D[1]:T+p);i.forEach((M,v)=>{var f=r.table.rowManager.getRowFromDataObject(M);f&&f.deleteActual(v!==i.length-1)})}(t||p!==0)&&r.table.rowManager.reRenderInPosition(),g=r.origFuncs.splice.apply(e,arguments),r.unblock("data-splice")}return g}})}unwatchData(){if(this.data!==!1)for(var e in this.origFuncs)Object.defineProperty(this.data,e,{enumerable:!0,configurable:!0,writable:!0,value:this.origFuncs.key})}watchRow(e){var r=e.getData();for(var S in r)this.watchKey(e,r,S);this.table.options.dataTree&&this.watchTreeChildren(e)}watchTreeChildren(e){var r=this,S=e.getData()[this.table.options.dataTreeChildField],D={};S&&(D.push=S.push,Object.defineProperty(S,"push",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-push");var T=D.push.apply(S,arguments);this.rebuildTree(e),r.unblock("tree-push")}return T}}),D.unshift=S.unshift,Object.defineProperty(S,"unshift",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-unshift");var T=D.unshift.apply(S,arguments);this.rebuildTree(e),r.unblock("tree-unshift")}return T}}),D.shift=S.shift,Object.defineProperty(S,"shift",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-shift");var T=D.shift.call(S);this.rebuildTree(e),r.unblock("tree-shift")}return T}}),D.pop=S.pop,Object.defineProperty(S,"pop",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-pop");var T=D.pop.call(S);this.rebuildTree(e),r.unblock("tree-pop")}return T}}),D.splice=S.splice,Object.defineProperty(S,"splice",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-splice");var T=D.splice.apply(S,arguments);this.rebuildTree(e),r.unblock("tree-splice")}return T}}))}rebuildTree(e){this.table.modules.dataTree.initializeRow(e),this.table.modules.dataTree.layoutRow(e),this.table.rowManager.refreshActiveData("tree",!1,!0)}watchKey(e,r,S){var D=this,T=Object.getOwnPropertyDescriptor(r,S),p=r[S],t=this.currentVersion;Object.defineProperty(r,S,{set:d=>{if(p=d,!D.blocked&&t===D.currentVersion){D.block("key");var g={};g[S]=d,e.updateData(g),D.unblock("key")}T.set&&T.set(d)},get:()=>(T.get&&T.get(),p)})}unwatchRow(e){var r=e.getData();for(var S in r)Object.defineProperty(r,S,{value:r[S]})}block(e){this.blocked||(this.blocked=e)}unblock(e){this.blocked===e&&(this.blocked=!1)}}qM.moduleName="reactiveData";class WM extends qi{constructor(e){super(e),this.startColumn=!1,this.startX=!1,this.startWidth=!1,this.latestX=!1,this.handle=null,this.initialNextColumn=null,this.nextColumn=null,this.initialized=!1,this.registerColumnOption("resizable",!0),this.registerTableOption("resizableColumnFit",!1)}initialize(){this.subscribe("column-rendered",this.layoutColumnHeader.bind(this))}initializeEventWatchers(){this.initialized||(this.subscribe("cell-rendered",this.layoutCellHandles.bind(this)),this.subscribe("cell-delete",this.deInitializeComponent.bind(this)),this.subscribe("cell-height",this.resizeHandle.bind(this)),this.subscribe("column-moved",this.columnLayoutUpdated.bind(this)),this.subscribe("column-hide",this.deInitializeColumn.bind(this)),this.subscribe("column-show",this.columnLayoutUpdated.bind(this)),this.subscribe("column-width",this.columnWidthUpdated.bind(this)),this.subscribe("column-delete",this.deInitializeComponent.bind(this)),this.subscribe("column-height",this.resizeHandle.bind(this)),this.initialized=!0)}layoutCellHandles(e){e.row.type==="row"&&(this.deInitializeComponent(e),this.initializeColumn("cell",e,e.column,e.element))}layoutColumnHeader(e){e.definition.resizable&&(this.initializeEventWatchers(),this.deInitializeComponent(e),this.initializeColumn("header",e,e,e.element))}columnLayoutUpdated(e){var r=e.prevColumn();this.reinitializeColumn(e),r&&this.reinitializeColumn(r)}columnWidthUpdated(e){e.modules.frozen&&(this.table.modules.frozenColumns.leftColumns.includes(e)?this.table.modules.frozenColumns.leftColumns.forEach(r=>{this.reinitializeColumn(r)}):this.table.modules.frozenColumns.rightColumns.includes(e)&&this.table.modules.frozenColumns.rightColumns.forEach(r=>{this.reinitializeColumn(r)}))}frozenColumnOffset(e){var r=!1;return e.modules.frozen&&(r=e.modules.frozen.marginValue,e.modules.frozen.position==="left"?r+=e.getWidth()-3:r&&(r-=3)),r!==!1?r+"px":!1}reinitializeColumn(e){var r=this.frozenColumnOffset(e);e.cells.forEach(S=>{S.modules.resize&&S.modules.resize.handleEl&&(r&&(S.modules.resize.handleEl.style[e.modules.frozen.position]=r,S.modules.resize.handleEl.style["z-index"]=11),S.element.after(S.modules.resize.handleEl))}),e.modules.resize&&e.modules.resize.handleEl&&(r&&(e.modules.resize.handleEl.style[e.modules.frozen.position]=r),e.element.after(e.modules.resize.handleEl))}initializeColumn(e,r,S,D){var T=this,p=!1,t=S.definition.resizable,d={},g=S.getLastColumn();if(e==="header"&&(p=S.definition.formatter=="textarea"||S.definition.variableHeight,d={variableHeight:p}),(t===!0||t==e)&&this._checkResizability(g)){var i=document.createElement("span");i.className="tabulator-col-resize-handle",i.addEventListener("click",function(v){v.stopPropagation()});var M=function(v){T.startColumn=S,T.initialNextColumn=T.nextColumn=g.nextColumn(),T._mouseDown(v,g,i)};i.addEventListener("mousedown",M),i.addEventListener("touchstart",M,{passive:!0}),i.addEventListener("dblclick",v=>{var f=g.getWidth();v.stopPropagation(),g.reinitializeWidth(!0),f!==g.getWidth()&&(T.dispatch("column-resized",g),T.table.externalEvents.dispatch("columnResized",g.getComponent()))}),S.modules.frozen&&(i.style.position="sticky",i.style[S.modules.frozen.position]=this.frozenColumnOffset(S)),d.handleEl=i,D.parentNode&&S.visible&&D.after(i)}r.modules.resize=d}deInitializeColumn(e){this.deInitializeComponent(e),e.cells.forEach(r=>{this.deInitializeComponent(r)})}deInitializeComponent(e){var r;e.modules.resize&&(r=e.modules.resize.handleEl,r&&r.parentElement&&r.parentElement.removeChild(r))}resizeHandle(e,r){e.modules.resize&&e.modules.resize.handleEl&&(e.modules.resize.handleEl.style.height=r)}_checkResizability(e){return e.definition.resizable}_mouseDown(e,r,S){var D=this;D.table.element.classList.add("tabulator-block-select");function T(t){var d=typeof t.screenX>"u"?t.touches[0].screenX:t.screenX,g=d-D.startX,i=d-D.latestX,M,v;if(D.latestX=d,D.table.rtl&&(g=-g,i=-i),M=r.width==r.minWidth||r.width==r.maxWidth,r.setWidth(D.startWidth+g),v=r.width==r.minWidth||r.width==r.maxWidth,i<0&&(D.nextColumn=D.initialNextColumn),D.table.options.resizableColumnFit&&D.nextColumn&&!(M&&v)){let f=D.nextColumn.getWidth();i>0&&f<=D.nextColumn.minWidth&&(D.nextColumn=D.nextColumn.nextColumn()),D.nextColumn&&D.nextColumn.setWidth(D.nextColumn.getWidth()-i)}D.table.columnManager.rerenderColumns(!0),!D.table.browserSlow&&r.modules.resize&&r.modules.resize.variableHeight&&r.checkCellHeights()}function p(t){D.startColumn.modules.edit&&(D.startColumn.modules.edit.blocked=!1),D.table.browserSlow&&r.modules.resize&&r.modules.resize.variableHeight&&r.checkCellHeights(),document.body.removeEventListener("mouseup",p),document.body.removeEventListener("mousemove",T),S.removeEventListener("touchmove",T),S.removeEventListener("touchend",p),D.table.element.classList.remove("tabulator-block-select"),D.startWidth!==r.getWidth()&&(D.table.columnManager.verticalAlignHeaders(),D.dispatch("column-resized",r),D.table.externalEvents.dispatch("columnResized",r.getComponent()))}e.stopPropagation(),D.startColumn.modules.edit&&(D.startColumn.modules.edit.blocked=!0),D.startX=typeof e.screenX>"u"?e.touches[0].screenX:e.screenX,D.latestX=D.startX,D.startWidth=r.getWidth(),document.body.addEventListener("mousemove",T),document.body.addEventListener("mouseup",p),S.addEventListener("touchmove",T,{passive:!0}),S.addEventListener("touchend",p)}}WM.moduleName="resizeColumns";class YM extends qi{constructor(e){super(e),this.startColumn=!1,this.startY=!1,this.startHeight=!1,this.handle=null,this.prevHandle=null,this.registerTableOption("resizableRows",!1)}initialize(){this.table.options.resizableRows&&this.subscribe("row-layout-after",this.initializeRow.bind(this))}initializeRow(e){var r=this,S=e.getElement(),D=document.createElement("div");D.className="tabulator-row-resize-handle";var T=document.createElement("div");T.className="tabulator-row-resize-handle prev",D.addEventListener("click",function(d){d.stopPropagation()});var p=function(d){r.startRow=e,r._mouseDown(d,e,D)};D.addEventListener("mousedown",p),D.addEventListener("touchstart",p,{passive:!0}),T.addEventListener("click",function(d){d.stopPropagation()});var t=function(d){var g=r.table.rowManager.prevDisplayRow(e);g&&(r.startRow=g,r._mouseDown(d,g,T))};T.addEventListener("mousedown",t),T.addEventListener("touchstart",t,{passive:!0}),S.appendChild(D),S.appendChild(T)}_mouseDown(e,r,S){var D=this;D.table.element.classList.add("tabulator-block-select");function T(t){r.setHeight(D.startHeight+((typeof t.screenY>"u"?t.touches[0].screenY:t.screenY)-D.startY))}function p(t){document.body.removeEventListener("mouseup",T),document.body.removeEventListener("mousemove",T),S.removeEventListener("touchmove",T),S.removeEventListener("touchend",p),D.table.element.classList.remove("tabulator-block-select"),D.dispatchExternal("rowResized",r.getComponent())}e.stopPropagation(),D.startY=typeof e.screenY>"u"?e.touches[0].screenY:e.screenY,D.startHeight=r.getHeight(),document.body.addEventListener("mousemove",T),document.body.addEventListener("mouseup",p),S.addEventListener("touchmove",T,{passive:!0}),S.addEventListener("touchend",p)}}YM.moduleName="resizeRows";class $M extends qi{constructor(e){super(e),this.binding=!1,this.visibilityObserver=!1,this.resizeObserver=!1,this.containerObserver=!1,this.tableHeight=0,this.tableWidth=0,this.containerHeight=0,this.containerWidth=0,this.autoResize=!1,this.visible=!1,this.initialized=!1,this.initialRedraw=!1,this.registerTableOption("autoResize",!0)}initialize(){if(this.table.options.autoResize){var e=this.table,r;this.tableHeight=e.element.clientHeight,this.tableWidth=e.element.clientWidth,e.element.parentNode&&(this.containerHeight=e.element.parentNode.clientHeight,this.containerWidth=e.element.parentNode.clientWidth),typeof IntersectionObserver<"u"&&typeof ResizeObserver<"u"&&e.rowManager.getRenderMode()==="virtual"?(this.initializeVisibilityObserver(),this.autoResize=!0,this.resizeObserver=new ResizeObserver(S=>{if(!e.browserMobile||e.browserMobile&&(!e.modules.edit||e.modules.edit&&!e.modules.edit.currentCell)){var D=Math.floor(S[0].contentRect.height),T=Math.floor(S[0].contentRect.width);(this.tableHeight!=D||this.tableWidth!=T)&&(this.tableHeight=D,this.tableWidth=T,e.element.parentNode&&(this.containerHeight=e.element.parentNode.clientHeight,this.containerWidth=e.element.parentNode.clientWidth),this.redrawTable())}}),this.resizeObserver.observe(e.element),r=window.getComputedStyle(e.element),this.table.element.parentNode&&!this.table.rowManager.fixedHeight&&(r.getPropertyValue("max-height")||r.getPropertyValue("min-height"))&&(this.containerObserver=new ResizeObserver(S=>{if(!e.browserMobile||e.browserMobile&&(!e.modules.edit||e.modules.edit&&!e.modules.edit.currentCell)){var D=Math.floor(S[0].contentRect.height),T=Math.floor(S[0].contentRect.width);(this.containerHeight!=D||this.containerWidth!=T)&&(this.containerHeight=D,this.containerWidth=T,this.tableHeight=e.element.clientHeight,this.tableWidth=e.element.clientWidth),this.redrawTable()}}),this.containerObserver.observe(this.table.element.parentNode)),this.subscribe("table-resize",this.tableResized.bind(this))):(this.binding=function(){(!e.browserMobile||e.browserMobile&&(!e.modules.edit||e.modules.edit&&!e.modules.edit.currentCell))&&(e.columnManager.rerenderColumns(!0),e.redraw())},window.addEventListener("resize",this.binding)),this.subscribe("table-destroy",this.clearBindings.bind(this))}}initializeVisibilityObserver(){this.visibilityObserver=new IntersectionObserver(e=>{this.visible=e[0].isIntersecting,this.initialized?this.visible&&(this.redrawTable(this.initialRedraw),this.initialRedraw=!1):(this.initialized=!0,this.initialRedraw=!this.visible)}),this.visibilityObserver.observe(this.table.element)}redrawTable(e){this.initialized&&this.visible&&(this.table.columnManager.rerenderColumns(!0),this.table.redraw(e))}tableResized(){this.table.rowManager.redraw()}clearBindings(){this.binding&&window.removeEventListener("resize",this.binding),this.resizeObserver&&this.resizeObserver.unobserve(this.table.element),this.visibilityObserver&&this.visibilityObserver.unobserve(this.table.element),this.containerObserver&&this.containerObserver.unobserve(this.table.element.parentNode)}}$M.moduleName="resizeTable";class ZM extends qi{constructor(e){super(e),this.columns=[],this.hiddenColumns=[],this.mode="",this.index=0,this.collapseFormatter=[],this.collapseStartOpen=!0,this.collapseHandleColumn=!1,this.registerTableOption("responsiveLayout",!1),this.registerTableOption("responsiveLayoutCollapseStartOpen",!0),this.registerTableOption("responsiveLayoutCollapseUseFormatters",!0),this.registerTableOption("responsiveLayoutCollapseFormatter",!1),this.registerColumnOption("responsive")}initialize(){this.table.options.responsiveLayout&&(this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("column-show",this.updateColumnVisibility.bind(this)),this.subscribe("column-hide",this.updateColumnVisibility.bind(this)),this.subscribe("columns-loaded",this.initializeResponsivity.bind(this)),this.subscribe("column-moved",this.initializeResponsivity.bind(this)),this.subscribe("column-add",this.initializeResponsivity.bind(this)),this.subscribe("column-delete",this.initializeResponsivity.bind(this)),this.subscribe("table-redrawing",this.tableRedraw.bind(this)),this.table.options.responsiveLayout==="collapse"&&(this.subscribe("row-data-changed",this.generateCollapsedRowContent.bind(this)),this.subscribe("row-init",this.initializeRow.bind(this)),this.subscribe("row-layout",this.layoutRow.bind(this))))}tableRedraw(e){["fitColumns","fitDataStretch"].indexOf(this.layoutMode())===-1&&(e||this.update())}initializeResponsivity(){var e=[];this.mode=this.table.options.responsiveLayout,this.collapseFormatter=this.table.options.responsiveLayoutCollapseFormatter||this.formatCollapsedData,this.collapseStartOpen=this.table.options.responsiveLayoutCollapseStartOpen,this.hiddenColumns=[],this.table.columnManager.columnsByIndex.forEach((r,S)=>{r.modules.responsive&&r.modules.responsive.order&&r.modules.responsive.visible&&(r.modules.responsive.index=S,e.push(r),!r.visible&&this.mode==="collapse"&&this.hiddenColumns.push(r))}),e=e.reverse(),e=e.sort((r,S)=>{var D=S.modules.responsive.order-r.modules.responsive.order;return D||S.modules.responsive.index-r.modules.responsive.index}),this.columns=e,this.mode==="collapse"&&this.generateCollapsedContent();for(let r of this.table.columnManager.columnsByIndex)if(r.definition.formatter=="responsiveCollapse"){this.collapseHandleColumn=r;break}this.collapseHandleColumn&&(this.hiddenColumns.length?this.collapseHandleColumn.show():this.collapseHandleColumn.hide())}initializeColumn(e){var r=e.getDefinition();e.modules.responsive={order:typeof r.responsive>"u"?1:r.responsive,visible:r.visible!==!1}}initializeRow(e){var r;e.type!=="calc"&&(r=document.createElement("div"),r.classList.add("tabulator-responsive-collapse"),e.modules.responsiveLayout={element:r,open:this.collapseStartOpen},this.collapseStartOpen||(r.style.display="none"))}layoutRow(e){var r=e.getElement();e.modules.responsiveLayout&&(r.appendChild(e.modules.responsiveLayout.element),this.generateCollapsedRowContent(e))}updateColumnVisibility(e,r){!r&&e.modules.responsive&&(e.modules.responsive.visible=e.visible,this.initializeResponsivity())}hideColumn(e){var r=this.hiddenColumns.length;e.hide(!1,!0),this.mode==="collapse"&&(this.hiddenColumns.unshift(e),this.generateCollapsedContent(),this.collapseHandleColumn&&!r&&this.collapseHandleColumn.show())}showColumn(e){var r;e.show(!1,!0),e.setWidth(e.getWidth()),this.mode==="collapse"&&(r=this.hiddenColumns.indexOf(e),r>-1&&this.hiddenColumns.splice(r,1),this.generateCollapsedContent(),this.collapseHandleColumn&&!this.hiddenColumns.length&&this.collapseHandleColumn.hide())}update(){for(var e=!0;e;){let r=this.table.modules.layout.getMode()=="fitColumns"?this.table.columnManager.getFlexBaseWidth():this.table.columnManager.getWidth(),S=(this.table.options.headerVisible?this.table.columnManager.element.clientWidth:this.table.element.clientWidth)-r;if(S<0){let D=this.columns[this.index];D?(this.hideColumn(D),this.index++):e=!1}else{let D=this.columns[this.index-1];D&&S>0&&S>=D.getWidth()?(this.showColumn(D),this.index--):e=!1}this.table.rowManager.activeRowsCount||this.table.rowManager.renderEmptyScroll()}}generateCollapsedContent(){var e=this.table.rowManager.getDisplayRows();e.forEach(r=>{this.generateCollapsedRowContent(r)})}generateCollapsedRowContent(e){var r,S;if(e.modules.responsiveLayout){for(r=e.modules.responsiveLayout.element;r.firstChild;)r.removeChild(r.firstChild);S=this.collapseFormatter(this.generateCollapsedRowData(e)),S&&r.appendChild(S)}}generateCollapsedRowData(e){var r=e.getData(),S=[],D;return this.hiddenColumns.forEach(T=>{var p=T.getFieldValue(r);if(T.definition.title&&T.field)if(T.modules.format&&this.table.options.responsiveLayoutCollapseUseFormatters){let d=function(g){g()};var t=d;D={value:!1,data:{},getValue:function(){return p},getData:function(){return r},getType:function(){return"cell"},getElement:function(){return document.createElement("div")},getRow:function(){return e.getComponent()},getColumn:function(){return T.getComponent()},getTable:()=>this.table},S.push({field:T.field,title:T.definition.title,value:T.modules.format.formatter.call(this.table.modules.format,D,T.modules.format.params,d)})}else S.push({field:T.field,title:T.definition.title,value:p})}),S}formatCollapsedData(e){var r=document.createElement("table");return e.forEach(function(S){var D=document.createElement("tr"),T=document.createElement("td"),p=document.createElement("td"),t,d=document.createElement("strong");T.appendChild(d),this.langBind("columns|"+S.field,function(g){d.innerHTML=g||S.title}),S.value instanceof Node?(t=document.createElement("div"),t.appendChild(S.value),p.appendChild(t)):p.innerHTML=S.value,D.appendChild(T),D.appendChild(p),r.appendChild(D)},this),Object.keys(e).length?r:""}}ZM.moduleName="responsiveLayout";class XM extends qi{constructor(e){super(e),this.selecting=!1,this.lastClickedRow=!1,this.selectPrev=[],this.selectedRows=[],this.headerCheckboxElement=null,this.registerTableOption("selectableRows","highlight"),this.registerTableOption("selectableRowsRangeMode","drag"),this.registerTableOption("selectableRowsRollingSelection",!0),this.registerTableOption("selectableRowsPersistence",!0),this.registerTableOption("selectableRowsCheck",function(r,S){return!0}),this.registerTableFunction("selectRow",this.selectRows.bind(this)),this.registerTableFunction("deselectRow",this.deselectRows.bind(this)),this.registerTableFunction("toggleSelectRow",this.toggleRow.bind(this)),this.registerTableFunction("getSelectedRows",this.getSelectedRows.bind(this)),this.registerTableFunction("getSelectedData",this.getSelectedData.bind(this)),this.registerComponentFunction("row","select",this.selectRows.bind(this)),this.registerComponentFunction("row","deselect",this.deselectRows.bind(this)),this.registerComponentFunction("row","toggleSelect",this.toggleRow.bind(this)),this.registerComponentFunction("row","isSelected",this.isRowSelected.bind(this))}initialize(){this.deprecatedOptionsCheck(),this.table.options.selectableRows==="highlight"&&this.table.options.selectableRange&&(this.table.options.selectableRows=!1),this.table.options.selectableRows!==!1&&(this.subscribe("row-init",this.initializeRow.bind(this)),this.subscribe("row-deleting",this.rowDeleted.bind(this)),this.subscribe("rows-wipe",this.clearSelectionData.bind(this)),this.subscribe("rows-retrieve",this.rowRetrieve.bind(this)),this.table.options.selectableRows&&!this.table.options.selectableRowsPersistence&&this.subscribe("data-refreshing",this.deselectRows.bind(this)))}deprecatedOptionsCheck(){this.deprecationCheck("selectable","selectableRows",!0),this.deprecationCheck("selectableRollingSelection","selectableRowsRollingSelection",!0),this.deprecationCheck("selectableRangeMode","selectableRowsRangeMode",!0),this.deprecationCheck("selectablePersistence","selectableRowsPersistence",!0),this.deprecationCheck("selectableCheck","selectableRowsCheck",!0)}rowRetrieve(e,r){return e==="selected"?this.selectedRows:r}rowDeleted(e){this._deselectRow(e,!0)}clearSelectionData(e){var r=this.selectedRows.length;this.selecting=!1,this.lastClickedRow=!1,this.selectPrev=[],this.selectedRows=[],r&&e!==!0&&this._rowSelectionChanged()}initializeRow(e){var r=this,S=r.checkRowSelectability(e),D=e.getElement(),T=function(){setTimeout(function(){r.selecting=!1},50),document.body.removeEventListener("mouseup",T)};e.modules.select={selected:!1},D.classList.toggle("tabulator-selectable",S),D.classList.toggle("tabulator-unselectable",!S),r.checkRowSelectability(e)&&r.table.options.selectableRows&&r.table.options.selectableRows!="highlight"&&(r.table.options.selectableRowsRangeMode==="click"?D.addEventListener("click",this.handleComplexRowClick.bind(this,e)):(D.addEventListener("click",function(p){(!r.table.modExists("edit")||!r.table.modules.edit.getCurrentCell())&&r.table._clearSelection(),r.selecting||r.toggleRow(e)}),D.addEventListener("mousedown",function(p){if(p.shiftKey)return r.table._clearSelection(),r.selecting=!0,r.selectPrev=[],document.body.addEventListener("mouseup",T),document.body.addEventListener("keyup",T),r.toggleRow(e),!1}),D.addEventListener("mouseenter",function(p){r.selecting&&(r.table._clearSelection(),r.toggleRow(e),r.selectPrev[1]==e&&r.toggleRow(r.selectPrev[0]))}),D.addEventListener("mouseout",function(p){r.selecting&&(r.table._clearSelection(),r.selectPrev.unshift(e))})))}handleComplexRowClick(e,r){if(r.shiftKey){this.table._clearSelection(),this.lastClickedRow=this.lastClickedRow||e;var S=this.table.rowManager.getDisplayRowIndex(this.lastClickedRow),D=this.table.rowManager.getDisplayRowIndex(e),T=S<=D?S:D,p=S>=D?S:D,t=this.table.rowManager.getDisplayRows().slice(0),d=t.splice(T,p-T+1);r.ctrlKey||r.metaKey?(d.forEach(g=>{g!==this.lastClickedRow&&(this.table.options.selectableRows!==!0&&!this.isRowSelected(e)?this.selectedRows.lengththis.table.options.selectableRows&&(d=d.slice(0,this.table.options.selectableRows)),this.selectRows(d)),this.table._clearSelection()}else r.ctrlKey||r.metaKey?(this.toggleRow(e),this.lastClickedRow=e):(this.deselectRows(void 0,!0),this.selectRows(e),this.lastClickedRow=e)}checkRowSelectability(e){return e&&e.type==="row"?this.table.options.selectableRowsCheck.call(this.table,e.getComponent()):!1}toggleRow(e){this.checkRowSelectability(e)&&(e.modules.select&&e.modules.select.selected?this._deselectRow(e):this._selectRow(e))}selectRows(e){var r=[],S,D;switch(typeof e){case"undefined":S=this.table.rowManager.rows;break;case"number":S=this.table.rowManager.findRow(e);break;case"string":S=this.table.rowManager.findRow(e),S||(S=this.table.rowManager.getRows(e));break;default:S=e;break}Array.isArray(S)?S.length&&(S.forEach(T=>{D=this._selectRow(T,!0,!0),D&&r.push(D)}),this._rowSelectionChanged(!1,r)):S&&this._selectRow(S,!1,!0)}_selectRow(e,r,S){if(!isNaN(this.table.options.selectableRows)&&this.table.options.selectableRows!==!0&&!S&&this.selectedRows.length>=this.table.options.selectableRows)if(this.table.options.selectableRowsRollingSelection)this._deselectRow(this.selectedRows[0]);else return!1;var D=this.table.rowManager.findRow(e);if(D){if(this.selectedRows.indexOf(D)==-1)return D.getElement().classList.add("tabulator-selected"),D.modules.select||(D.modules.select={}),D.modules.select.selected=!0,D.modules.select.checkboxEl&&(D.modules.select.checkboxEl.checked=!0),this.selectedRows.push(D),this.table.options.dataTreeSelectPropagate&&this.childRowSelection(D,!0),this.dispatchExternal("rowSelected",D.getComponent()),this._rowSelectionChanged(r,D),D}else r||console.warn("Selection Error - No such row found, ignoring selection:"+e)}isRowSelected(e){return this.selectedRows.indexOf(e)!==-1}deselectRows(e,r){var S=[],D,T;switch(typeof e){case"undefined":D=Object.assign([],this.selectedRows);break;case"number":D=this.table.rowManager.findRow(e);break;case"string":D=this.table.rowManager.findRow(e),D||(D=this.table.rowManager.getRows(e));break;default:D=e;break}Array.isArray(D)?D.length&&(D.forEach(p=>{T=this._deselectRow(p,!0,!0),T&&S.push(T)}),this._rowSelectionChanged(r,[],S)):D&&this._deselectRow(D,r,!0)}_deselectRow(e,r){var S=this,D=S.table.rowManager.findRow(e),T,p;if(D){if(T=S.selectedRows.findIndex(function(t){return t==D}),T>-1)return p=D.getElement(),p&&p.classList.remove("tabulator-selected"),D.modules.select||(D.modules.select={}),D.modules.select.selected=!1,D.modules.select.checkboxEl&&(D.modules.select.checkboxEl.checked=!1),S.selectedRows.splice(T,1),this.table.options.dataTreeSelectPropagate&&this.childRowSelection(D,!1),this.dispatchExternal("rowDeselected",D.getComponent()),S._rowSelectionChanged(r,void 0,D),D}else r||console.warn("Deselection Error - No such row found, ignoring selection:"+e)}getSelectedData(){var e=[];return this.selectedRows.forEach(function(r){e.push(r.getData())}),e}getSelectedRows(){var e=[];return this.selectedRows.forEach(function(r){e.push(r.getComponent())}),e}_rowSelectionChanged(e,r=[],S=[]){this.headerCheckboxElement&&(this.selectedRows.length===0?(this.headerCheckboxElement.checked=!1,this.headerCheckboxElement.indeterminate=!1):this.table.rowManager.rows.length===this.selectedRows.length?(this.headerCheckboxElement.checked=!0,this.headerCheckboxElement.indeterminate=!1):(this.headerCheckboxElement.indeterminate=!0,this.headerCheckboxElement.checked=!1)),e||(Array.isArray(r)||(r=[r]),r=r.map(D=>D.getComponent()),Array.isArray(S)||(S=[S]),S=S.map(D=>D.getComponent()),this.dispatchExternal("rowSelectionChanged",this.getSelectedData(),this.getSelectedRows(),r,S))}registerRowSelectCheckbox(e,r){e._row.modules.select||(e._row.modules.select={}),e._row.modules.select.checkboxEl=r}registerHeaderSelectCheckbox(e){this.headerCheckboxElement=e}childRowSelection(e,r){var S=this.table.modules.dataTree.getChildren(e,!0);if(r)for(let D of S)this._selectRow(D,!0);else for(let D of S)this._deselectRow(D,!0)}}XM.moduleName="selectRow";function wP(n,e,r,S,D,T,p){var t=p.alignEmptyValues,d=p.decimalSeparator,g=p.thousandSeparator,i=0;if(n=String(n),e=String(e),g&&(n=n.split(g).join(""),e=e.split(g).join("")),d&&(n=n.split(d).join("."),e=e.split(d).join(".")),n=parseFloat(n),e=parseFloat(e),isNaN(n))i=isNaN(e)?0:-1;else if(isNaN(e))i=1;else return n-e;return(t==="top"&&T==="desc"||t==="bottom"&&T==="asc")&&(i*=-1),i}function TP(n,e,r,S,D,T,p){var t=p.alignEmptyValues,d=0,g;if(!n)d=e?-1:0;else if(!e)d=1;else{switch(typeof p.locale){case"boolean":p.locale&&(g=this.langLocale());break;case"string":g=p.locale;break}return String(n).toLowerCase().localeCompare(String(e).toLowerCase(),g)}return(t==="top"&&T==="desc"||t==="bottom"&&T==="asc")&&(d*=-1),d}function q2(n,e,r,S,D,T,p){var t=window.DateTime||luxon.DateTime,d=p.format||"dd/MM/yyyy HH:mm:ss",g=p.alignEmptyValues,i=0;if(typeof t<"u"){if(t.isDateTime(n)||(d==="iso"?n=t.fromISO(String(n)):n=t.fromFormat(String(n),d)),t.isDateTime(e)||(d==="iso"?e=t.fromISO(String(e)):e=t.fromFormat(String(e),d)),!n.isValid)i=e.isValid?-1:0;else if(!e.isValid)i=1;else return n-e;return(g==="top"&&T==="desc"||g==="bottom"&&T==="asc")&&(i*=-1),i}else console.error("Sort Error - 'datetime' sorter is dependant on luxon.js")}function kP(n,e,r,S,D,T,p){return p.format||(p.format="dd/MM/yyyy"),q2.call(this,n,e,r,S,D,T,p)}function MP(n,e,r,S,D,T,p){return p.format||(p.format="HH:mm"),q2.call(this,n,e,r,S,D,T,p)}function AP(n,e,r,S,D,T,p){var t=n===!0||n==="true"||n==="True"||n===1?1:0,d=e===!0||e==="true"||e==="True"||e===1?1:0;return t-d}function SP(n,e,r,S,D,T,p){var t=p.type||"length",d=p.alignEmptyValues,g=0;function i(M){var v;switch(t){case"length":v=M.length;break;case"sum":v=M.reduce(function(f,l){return f+l});break;case"max":v=Math.max.apply(null,M);break;case"min":v=Math.min.apply(null,M);break;case"avg":v=M.reduce(function(f,l){return f+l})/M.length;break}return v}if(!Array.isArray(n))g=Array.isArray(e)?-1:0;else if(!Array.isArray(e))g=1;else return i(e)-i(n);return(d==="top"&&T==="desc"||d==="bottom"&&T==="asc")&&(g*=-1),g}function CP(n,e,r,S,D,T,p){var t=typeof n>"u"?0:1,d=typeof e>"u"?0:1;return t-d}function EP(n,e,r,S,D,T,p){var t,d,g,i,M=0,v,f=/(\d+)|(\D+)/g,l=/\d/,a=p.alignEmptyValues,u=0;if(!n&&n!==0)u=!e&&e!==0?0:-1;else if(!e&&e!==0)u=1;else{if(isFinite(n)&&isFinite(e))return n-e;if(t=String(n).toLowerCase(),d=String(e).toLowerCase(),t===d)return 0;if(!(l.test(t)&&l.test(d)))return t>d?1:-1;for(t=t.match(f),d=d.match(f),v=t.length>d.length?d.length:t.length;Mi?1:-1;return t.length>d.length}return(a==="top"&&T==="desc"||a==="bottom"&&T==="asc")&&(u*=-1),u}var LP={number:wP,string:TP,date:kP,time:MP,datetime:q2,boolean:AP,array:SP,exists:CP,alphanum:EP};class jd extends qi{constructor(e){super(e),this.sortList=[],this.changed=!1,this.registerTableOption("sortMode","local"),this.registerTableOption("initialSort",!1),this.registerTableOption("columnHeaderSortMulti",!0),this.registerTableOption("sortOrderReverse",!1),this.registerTableOption("headerSortElement","
"),this.registerTableOption("headerSortClickElement","header"),this.registerColumnOption("sorter"),this.registerColumnOption("sorterParams"),this.registerColumnOption("headerSort",!0),this.registerColumnOption("headerSortStartingDir"),this.registerColumnOption("headerSortTristate")}initialize(){this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("table-built",this.tableBuilt.bind(this)),this.registerDataHandler(this.sort.bind(this),20),this.registerTableFunction("setSort",this.userSetSort.bind(this)),this.registerTableFunction("getSorters",this.getSort.bind(this)),this.registerTableFunction("clearSort",this.clearSort.bind(this)),this.table.options.sortMode==="remote"&&this.subscribe("data-params",this.remoteSortParams.bind(this))}tableBuilt(){this.table.options.initialSort&&this.setSort(this.table.options.initialSort)}remoteSortParams(e,r,S,D){var T=this.getSort();return T.forEach(p=>{delete p.column}),D.sort=T,D}userSetSort(e,r){this.setSort(e,r),this.refreshSort()}clearSort(){this.clear(),this.refreshSort()}initializeColumn(e){var r=!1,S,D;switch(typeof e.definition.sorter){case"string":jd.sorters[e.definition.sorter]?r=jd.sorters[e.definition.sorter]:console.warn("Sort Error - No such sorter found: ",e.definition.sorter);break;case"function":r=e.definition.sorter;break}if(e.modules.sort={sorter:r,dir:"none",params:e.definition.sorterParams||{},startingDir:e.definition.headerSortStartingDir||"asc",tristate:e.definition.headerSortTristate},e.definition.headerSort!==!1){switch(S=e.getElement(),S.classList.add("tabulator-sortable"),D=document.createElement("div"),D.classList.add("tabulator-col-sorter"),this.table.options.headerSortClickElement){case"icon":D.classList.add("tabulator-col-sorter-element");break;case"header":S.classList.add("tabulator-col-sorter-element");break;default:S.classList.add("tabulator-col-sorter-element");break}switch(this.table.options.headerSortElement){case"function":break;case"object":D.appendChild(this.table.options.headerSortElement);break;default:D.innerHTML=this.table.options.headerSortElement}e.titleHolderElement.appendChild(D),e.modules.sort.element=D,this.setColumnHeaderSortIcon(e,"none"),this.table.options.headerSortClickElement==="icon"&&D.addEventListener("mousedown",T=>{T.stopPropagation()}),(this.table.options.headerSortClickElement==="icon"?D:S).addEventListener("click",T=>{var p="",t=[],d=!1;if(e.modules.sort){if(e.modules.sort.tristate)e.modules.sort.dir=="none"?p=e.modules.sort.startingDir:e.modules.sort.dir==e.modules.sort.startingDir?p=e.modules.sort.dir=="asc"?"desc":"asc":p="none";else switch(e.modules.sort.dir){case"asc":p="desc";break;case"desc":p="asc";break;default:p=e.modules.sort.startingDir}this.table.options.columnHeaderSortMulti&&(T.shiftKey||T.ctrlKey)?(t=this.getSort(),d=t.findIndex(g=>g.field===e.getField()),d>-1?(t[d].dir=p,d=t.splice(d,1)[0],p!="none"&&t.push(d)):p!="none"&&t.push({column:e,dir:p}),this.setSort(t)):p=="none"?this.clear():this.setSort(e,p),this.refreshSort()}})}}refreshSort(){this.table.options.sortMode==="remote"?this.reloadData(null,!1,!1):this.refreshData(!0)}hasChanged(){var e=this.changed;return this.changed=!1,e}getSort(){var e=this,r=[];return e.sortList.forEach(function(S){S.column&&r.push({column:S.column.getComponent(),field:S.column.getField(),dir:S.dir})}),r}setSort(e,r){var S=this,D=[];Array.isArray(e)||(e=[{column:e,dir:r}]),e.forEach(function(T){var p;p=S.table.columnManager.findColumn(T.column),p?(T.column=p,D.push(T),S.changed=!0):console.warn("Sort Warning - Sort field does not exist and is being ignored: ",T.column)}),S.sortList=D,this.dispatch("sort-changed")}clear(){this.setSort([])}findSorter(e){var r=this.table.rowManager.activeRows[0],S="string",D,T;if(r&&(r=r.getData(),D=e.getField(),D))switch(T=e.getFieldValue(r),typeof T){case"undefined":S="string";break;case"boolean":S="boolean";break;default:!isNaN(T)&&T!==""?S="number":T.match(/((^[0-9]+[a-z]+)|(^[a-z]+[0-9]+))+$/i)&&(S="alphanum");break}return jd.sorters[S]}sort(e){var r=this,S=this.table.options.sortOrderReverse?r.sortList.slice().reverse():r.sortList,D=[],T=[];return this.subscribedExternal("dataSorting")&&this.dispatchExternal("dataSorting",r.getSort()),r.clearColumnHeaders(),this.table.options.sortMode!=="remote"?(S.forEach(function(p,t){var d;p.column&&(d=p.column.modules.sort,d&&(d.sorter||(d.sorter=r.findSorter(p.column)),p.params=typeof d.params=="function"?d.params(p.column.getComponent(),p.dir):d.params,D.push(p)),r.setColumnHeader(p.column,p.dir))}),D.length&&r._sortItems(e,D)):S.forEach(function(p,t){r.setColumnHeader(p.column,p.dir)}),this.subscribedExternal("dataSorted")&&(e.forEach(p=>{T.push(p.getComponent())}),this.dispatchExternal("dataSorted",r.getSort(),T)),e}clearColumnHeaders(){this.table.columnManager.getRealColumns().forEach(e=>{e.modules.sort&&(e.modules.sort.dir="none",e.getElement().setAttribute("aria-sort","none"),this.setColumnHeaderSortIcon(e,"none"))})}setColumnHeader(e,r){e.modules.sort.dir=r,e.getElement().setAttribute("aria-sort",r==="asc"?"ascending":"descending"),this.setColumnHeaderSortIcon(e,r)}setColumnHeaderSortIcon(e,r){var S=e.modules.sort.element,D;if(e.definition.headerSort&&typeof this.table.options.headerSortElement=="function"){for(;S.firstChild;)S.removeChild(S.firstChild);D=this.table.options.headerSortElement.call(this.table,e.getComponent(),r),typeof D=="object"?S.appendChild(D):S.innerHTML=D}}_sortItems(e,r){var S=r.length-1;e.sort((D,T)=>{for(var p,t=S;t>=0;t--){let d=r[t];if(p=this._sortRow(D,T,d.column,d.dir,d.params),p!==0)break}return p})}_sortRow(e,r,S,D,T){var p,t,d=D=="asc"?e:r,g=D=="asc"?r:e;return e=S.getFieldValue(d.getData()),r=S.getFieldValue(g.getData()),e=typeof e<"u"?e:"",r=typeof r<"u"?r:"",p=d.getComponent(),t=g.getComponent(),S.modules.sort.sorter.call(this,e,r,p,t,S.getComponent(),D,T)}}jd.moduleName="sort";jd.sorters=LP;class IP{constructor(e){return this._range=e,new Proxy(this,{get:function(r,S,D){return typeof r[S]<"u"?r[S]:r._range.table.componentFunctionBinder.handle("range",r._range,S)}})}getElement(){return this._range.element}getData(){return this._range.getData()}getCells(){return this._range.getCells(!0)}getStructuredCells(){return this._range.getStructuredCells()}getRows(){return this._range.getRows().map(e=>e.getComponent())}getColumns(){return this._range.getColumns().map(e=>e.getComponent())}getBounds(){return this._range.getBounds()}getTopEdge(){return this._range.top}getBottomEdge(){return this._range.bottom}getLeftEdge(){return this._range.left}getRightEdge(){return this._range.right}setBounds(e,r){this._range.destroyedGuard("setBounds")&&this._range.setBounds(e&&e._cell,r&&r._cell)}setStartBound(e){this._range.destroyedGuard("setStartBound")&&(this._range.setEndBound(e&&e._cell),this._range.rangeManager.layoutElement())}setEndBound(e){this._range.destroyedGuard("setEndBound")&&(this._range.setEndBound(e&&e._cell),this._range.rangeManager.layoutElement())}clearValues(){this._range.destroyedGuard("clearValues")&&this._range.clearValues()}remove(){this._range.destroyedGuard("remove")&&this._range.destroy(!0)}}class RP extends Ml{constructor(e,r,S,D){super(e),this.rangeManager=r,this.element=null,this.initialized=!1,this.initializing={start:!1,end:!1},this.destroyed=!1,this.top=0,this.bottom=0,this.left=0,this.right=0,this.table=e,this.start={row:0,col:0},this.end={row:0,col:0},this.rangeManager.rowHeader&&(this.left=1,this.right=1,this.start.col=1,this.end.col=1),this.initElement(),setTimeout(()=>{this.initBounds(S,D)})}initElement(){this.element=document.createElement("div"),this.element.classList.add("tabulator-range")}initBounds(e,r){this._updateMinMax(),e&&this.setBounds(e,r||e)}setStart(e,r){(this.start.row!==e||this.start.col!==r)&&(this.start.row=e,this.start.col=r,this.initializing.start=!0,this._updateMinMax())}setEnd(e,r){(this.end.row!==e||this.end.col!==r)&&(this.end.row=e,this.end.col=r,this.initializing.end=!0,this._updateMinMax())}setBounds(e,r,S){e&&this.setStartBound(e),this.setEndBound(r||e),this.rangeManager.layoutElement(S)}setStartBound(e){var r,S;e.type==="column"?this.rangeManager.columnSelection&&this.setStart(0,e.getPosition()-1):(r=e.row.position-1,S=e.column.getPosition()-1,e.column===this.rangeManager.rowHeader?this.setStart(r,1):this.setStart(r,S))}setEndBound(e){var r=this._getTableRows().length,S,D,T;e.type==="column"?this.rangeManager.columnSelection&&(this.rangeManager.selecting==="column"?this.setEnd(r-1,e.getPosition()-1):this.rangeManager.selecting==="cell"&&this.setEnd(0,e.getPosition()-1)):(S=e.row.position-1,D=e.column.getPosition()-1,T=e.column===this.rangeManager.rowHeader,this.rangeManager.selecting==="row"?this.setEnd(S,this._getTableColumns().length-1):this.rangeManager.selecting!=="row"&&T?this.setEnd(S,0):this.rangeManager.selecting==="column"?this.setEnd(r-1,D):this.setEnd(S,D))}_updateMinMax(){this.top=Math.min(this.start.row,this.end.row),this.bottom=Math.max(this.start.row,this.end.row),this.left=Math.min(this.start.col,this.end.col),this.right=Math.max(this.start.col,this.end.col),this.initialized?this.dispatchExternal("rangeChanged",this.getComponent()):this.initializing.start&&this.initializing.end&&(this.initialized=!0,this.dispatchExternal("rangeAdded",this.getComponent()))}_getTableColumns(){return this.table.columnManager.getVisibleColumnsByIndex()}_getTableRows(){return this.table.rowManager.getDisplayRows()}layout(){var e=this.table.rowManager.renderer.vDomTop,r=this.table.rowManager.renderer.vDomBottom,S=this.table.columnManager.renderer.leftCol,D=this.table.columnManager.renderer.rightCol,T,p,t,d,g,i;e==null&&(e=0),r==null&&(r=1/0),S==null&&(S=0),D==null&&(D=1/0),this.overlaps(S,e,D,r)&&(T=Math.max(this.top,e),p=Math.min(this.bottom,r),t=Math.max(this.left,S),d=Math.min(this.right,D),g=this.rangeManager.getCell(T,t),i=this.rangeManager.getCell(p,d),this.element.classList.add("tabulator-range-active"),this.element.style.left=g.row.getElement().offsetLeft+g.getElement().offsetLeft+"px",this.element.style.top=g.row.getElement().offsetTop+"px",this.element.style.width=i.getElement().offsetLeft+i.getElement().offsetWidth-g.getElement().offsetLeft+"px",this.element.style.height=i.row.getElement().offsetTop+i.row.getElement().offsetHeight-g.row.getElement().offsetTop+"px")}atTopLeft(e){return e.row.position-1===this.top&&e.column.getPosition()-1===this.left}atBottomRight(e){return e.row.position-1===this.bottom&&e.column.getPosition()-1===this.right}occupies(e){return this.occupiesRow(e.row)&&this.occupiesColumn(e.column)}occupiesRow(e){return this.top<=e.position-1&&e.position-1<=this.bottom}occupiesColumn(e){return this.left<=e.getPosition()-1&&e.getPosition()-1<=this.right}overlaps(e,r,S,D){return!(this.left>S||e>this.right||this.top>D||r>this.bottom)}getData(){var e=[],r=this.getRows(),S=this.getColumns();return r.forEach(D=>{var T=D.getData(),p={};S.forEach(t=>{p[t.field]=T[t.field]}),e.push(p)}),e}getCells(e,r){var S=[],D=this.getRows(),T=this.getColumns();return e?S=D.map(p=>{var t=[];return p.getCells().forEach(d=>{T.includes(d.column)&&t.push(r?d.getComponent():d)}),t}):D.forEach(p=>{p.getCells().forEach(t=>{T.includes(t.column)&&S.push(r?t.getComponent():t)})}),S}getStructuredCells(){return this.getCells(!0,!0)}getRows(){return this._getTableRows().slice(this.top,this.bottom+1)}getColumns(){return this._getTableColumns().slice(this.left,this.right+1)}clearValues(){var e=this.getCells(),r=this.table.options.selectableRangeClearCellsValue;this.table.blockRedraw(),e.forEach(S=>{S.setValue(r)}),this.table.restoreRedraw()}getBounds(e){var r=this.getCells(!1,e),S={start:null,end:null};return r.length?(S.start=r[0],S.end=r[r.length-1]):console.warn("No bounds defined on range"),S}getComponent(){return this.component||(this.component=new IP(this)),this.component}destroy(e){this.destroyed=!0,this.element.remove(),e&&this.rangeManager.rangeRemoved(this),this.initialized&&this.dispatchExternal("rangeRemoved",this.getComponent())}destroyedGuard(e){return this.destroyed&&console.warn("You cannot call the "+e+" function on a destroyed range"),!this.destroyed}}class KM extends qi{constructor(e){super(e),this.selecting="cell",this.mousedown=!1,this.ranges=[],this.overlay=null,this.rowHeader=null,this.layoutChangeTimeout=null,this.columnSelection=!1,this.rowSelection=!1,this.maxRanges=0,this.activeRange=!1,this.blockKeydown=!1,this.keyDownEvent=this._handleKeyDown.bind(this),this.mouseUpEvent=this._handleMouseUp.bind(this),this.registerTableOption("selectableRange",!1),this.registerTableOption("selectableRangeColumns",!1),this.registerTableOption("selectableRangeRows",!1),this.registerTableOption("selectableRangeClearCells",!1),this.registerTableOption("selectableRangeClearCellsValue",void 0),this.registerTableFunction("getRangesData",this.getRangesData.bind(this)),this.registerTableFunction("getRanges",this.getRanges.bind(this)),this.registerTableFunction("addRange",this.addRangeFromComponent.bind(this)),this.registerComponentFunction("cell","getRanges",this.cellGetRanges.bind(this)),this.registerComponentFunction("row","getRanges",this.rowGetRanges.bind(this)),this.registerComponentFunction("column","getRanges",this.colGetRanges.bind(this))}initialize(){this.options("selectableRange")&&(this.options("selectableRows")?console.warn("SelectRange functionality cannot be used in conjunction with row selection"):(this.maxRanges=this.options("selectableRange"),this.initializeTable(),this.initializeWatchers()))}initializeTable(){this.overlay=document.createElement("div"),this.overlay.classList.add("tabulator-range-overlay"),this.rangeContainer=document.createElement("div"),this.rangeContainer.classList.add("tabulator-range-container"),this.activeRangeCellElement=document.createElement("div"),this.activeRangeCellElement.classList.add("tabulator-range-cell-active"),this.overlay.appendChild(this.rangeContainer),this.overlay.appendChild(this.activeRangeCellElement),this.table.rowManager.element.addEventListener("keydown",this.keyDownEvent),this.resetRanges(),this.table.rowManager.element.appendChild(this.overlay),this.table.columnManager.element.setAttribute("tabindex",0),this.table.element.classList.add("tabulator-ranges")}initializeWatchers(){this.columnSelection=this.options("selectableRangeColumns"),this.rowSelection=this.options("selectableRangeRows"),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("column-mousedown",this.handleColumnMouseDown.bind(this)),this.subscribe("column-mousemove",this.handleColumnMouseMove.bind(this)),this.subscribe("column-resized",this.handleColumnResized.bind(this)),this.subscribe("column-width",this.layoutChange.bind(this)),this.subscribe("column-height",this.layoutChange.bind(this)),this.subscribe("column-resized",this.layoutChange.bind(this)),this.subscribe("columns-loaded",this.updateHeaderColumn.bind(this)),this.subscribe("cell-height",this.layoutChange.bind(this)),this.subscribe("cell-rendered",this.renderCell.bind(this)),this.subscribe("cell-mousedown",this.handleCellMouseDown.bind(this)),this.subscribe("cell-mousemove",this.handleCellMouseMove.bind(this)),this.subscribe("cell-click",this.handleCellClick.bind(this)),this.subscribe("cell-editing",this.handleEditingCell.bind(this)),this.subscribe("page-changed",this.redraw.bind(this)),this.subscribe("scroll-vertical",this.layoutChange.bind(this)),this.subscribe("scroll-horizontal",this.layoutChange.bind(this)),this.subscribe("data-destroy",this.tableDestroyed.bind(this)),this.subscribe("data-processed",this.resetRanges.bind(this)),this.subscribe("table-layout",this.layoutElement.bind(this)),this.subscribe("table-redraw",this.redraw.bind(this)),this.subscribe("table-destroy",this.tableDestroyed.bind(this)),this.subscribe("edit-editor-clear",this.finishEditingCell.bind(this)),this.subscribe("edit-blur",this.restoreFocus.bind(this)),this.subscribe("keybinding-nav-prev",this.keyNavigate.bind(this,"left")),this.subscribe("keybinding-nav-next",this.keyNavigate.bind(this,"right")),this.subscribe("keybinding-nav-left",this.keyNavigate.bind(this,"left")),this.subscribe("keybinding-nav-right",this.keyNavigate.bind(this,"right")),this.subscribe("keybinding-nav-up",this.keyNavigate.bind(this,"up")),this.subscribe("keybinding-nav-down",this.keyNavigate.bind(this,"down")),this.subscribe("keybinding-nav-range",this.keyNavigateRange.bind(this))}initializeColumn(e){this.columnSelection&&e.definition.headerSort&&this.options("headerSortClickElement")!=="icon"&&console.warn("Using column headerSort with selectableRangeColumns option may result in unpredictable behavior. Consider using headerSortClickElement: 'icon'."),e.modules.edit}updateHeaderColumn(){this.rowSelection&&(this.rowHeader=this.table.columnManager.getVisibleColumnsByIndex()[0],this.rowHeader&&(this.rowHeader.definition.cssClass=this.rowHeader.definition.cssClass+" tabulator-range-row-header",this.rowHeader.definition.headerSort&&console.warn("Using column headerSort with selectableRangeRows option may result in unpredictable behavior"),this.rowHeader.definition.editor&&console.warn("Using column editor with selectableRangeRows option may result in unpredictable behavior")))}getRanges(){return this.ranges.map(e=>e.getComponent())}getRangesData(){return this.ranges.map(e=>e.getData())}addRangeFromComponent(e,r){return e=e?e._cell:null,r=r?r._cell:null,this.addRange(e,r)}cellGetRanges(e){var r=[];return e.column===this.rowHeader?r=this.ranges.filter(S=>S.occupiesRow(e.row)):r=this.ranges.filter(S=>S.occupies(e)),r.map(S=>S.getComponent())}rowGetRanges(e){var r=this.ranges.filter(S=>S.occupiesRow(e));return r.map(S=>S.getComponent())}colGetRanges(e){var r=this.ranges.filter(S=>S.occupiesColumn(e));return r.map(S=>S.getComponent())}_handleMouseUp(e){this.mousedown=!1,document.removeEventListener("mouseup",this.mouseUpEvent)}_handleKeyDown(e){if(!this.blockKeydown&&(!this.table.modules.edit||this.table.modules.edit&&!this.table.modules.edit.currentCell)){if(e.key==="Enter"){if(this.table.modules.edit&&this.table.modules.edit.currentCell)return;this.table.modules.edit.editCell(this.getActiveCell()),e.preventDefault()}(e.key==="Backspace"||e.key==="Delete")&&this.options("selectableRangeClearCells")&&this.activeRange&&this.activeRange.clearValues()}}initializeFocus(e){var r;try{document.selection?(r=document.body.createTextRange(),r.moveToElementText(e.getElement()),r.select()):window.getSelection&&(r=document.createRange(),r.selectNode(e.getElement()),window.getSelection().removeAllRanges(),window.getSelection().addRange(r))}catch{}}restoreFocus(e){return this.table.rowManager.element.focus(),!0}handleColumnResized(e){var r;this.selecting!=="column"&&this.selecting!=="all"||(r=this.ranges.some(S=>S.occupiesColumn(e)),r&&this.ranges.forEach(S=>{var D=S.getColumns(!0);D.forEach(T=>{T!==e&&T.setWidth(e.width)})}))}handleColumnMouseDown(e,r){e.button===2&&(this.selecting==="column"||this.selecting==="all")&&this.activeRange.occupiesColumn(r)||(this.mousedown=!0,document.addEventListener("mouseup",this.mouseUpEvent),this.newSelection(e,r))}handleColumnMouseMove(e,r){r===this.rowHeader||!this.mousedown||this.selecting==="all"||this.activeRange.setBounds(!1,r,!0)}renderCell(e){var r=e.getElement(),S=this.ranges.findIndex(D=>D.occupies(e));r.classList.toggle("tabulator-range-selected",S!==-1),r.classList.toggle("tabulator-range-only-cell-selected",this.ranges.length===1&&this.ranges[0].atTopLeft(e)&&this.ranges[0].atBottomRight(e)),r.dataset.range=S}handleCellMouseDown(e,r){e.button===2&&(this.activeRange.occupies(r)||(this.selecting==="row"||this.selecting==="all")&&this.activeRange.occupiesRow(r.row))||(this.mousedown=!0,document.addEventListener("mouseup",this.mouseUpEvent),this.newSelection(e,r))}handleCellMouseMove(e,r){!this.mousedown||this.selecting==="all"||this.activeRange.setBounds(!1,r,!0)}handleCellClick(e,r){this.initializeFocus(r)}handleEditingCell(e){this.activeRange&&this.activeRange.setBounds(e)}finishEditingCell(){this.blockKeydown=!0,this.table.rowManager.element.focus(),setTimeout(()=>{this.blockKeydown=!1},10)}keyNavigate(e,r){this.navigate(!1,!1,e)&&r.preventDefault()}keyNavigateRange(e,r,S,D){this.navigate(S,D,r)&&e.preventDefault()}navigate(e,r,S){var D=!1,T,p,t,d,g,i;if(this.table.modules.edit&&this.table.modules.edit.currentCell)return!1;if(this.ranges.length>1&&(this.ranges=this.ranges.filter(M=>M===this.activeRange?(M.setEnd(M.start.row,M.start.col),!0):(M.destroy(),!1))),T=this.activeRange,p=r?T.end:T.start,t=p.row,d=p.col,e)switch(S){case"left":d=this.findJumpCellLeft(T.start.row,p.col);break;case"right":d=this.findJumpCellRight(T.start.row,p.col);break;case"up":t=this.findJumpCellUp(p.row,T.start.col);break;case"down":t=this.findJumpCellDown(p.row,T.start.col);break}else{if(r&&(this.selecting==="row"&&(S==="left"||S==="right")||this.selecting==="column"&&(S==="up"||S==="down")))return;switch(S){case"left":d=Math.max(d-1,0);break;case"right":d=Math.min(d+1,this.getTableColumns().length-1);break;case"up":t=Math.max(t-1,0);break;case"down":t=Math.min(t+1,this.getTableRows().length-1);break}}if(D=d!==p.col||t!==p.row,r||T.setStart(t,d),T.setEnd(t,d),r||(this.selecting="cell"),D)return g=this.getRowByRangePos(T.end.row),i=this.getColumnByRangePos(T.end.col),(S==="left"||S==="right")&&i.getElement().parentNode===null?i.getComponent().scrollTo(void 0,!1):(S==="up"||S==="down")&&g.getElement().parentNode===null?g.getComponent().scrollTo(void 0,!1):this.autoScroll(T,g.getElement(),i.getElement()),this.layoutElement(),!0}rangeRemoved(e){this.ranges=this.ranges.filter(r=>r!==e),this.activeRange===e&&(this.ranges.length?this.activeRange=this.ranges[this.ranges.length-1]:this.addRange()),this.layoutElement()}findJumpCell(e,r,S,D){var T;r&&(e=e.reverse());for(let p of e){let t=p.getValue();if(S){if(T=p,t)break}else if(D){if(T=p,t)break}else if(t)T=p;else break}return T}findJumpCellLeft(e,r){var S=this.getRowByRangePos(e),D=S.cells.filter(i=>i.column.visible),T=!D[r].getValue(),p=D[r]?!D[r].getValue():!1,t=r,d=this.rowHeader?D.slice(1,r):D.slice(0,r),g=this.findJumpCell(d,!0,T,p);return g&&(t=g.column.getPosition()-1),t}findJumpCellRight(e,r){var S=this.getRowByRangePos(e),D=S.cells.filter(g=>g.column.visible),T=!D[r].getValue(),p=D[r+1]?!D[r+1].getValue():!1,t=r,d=this.findJumpCell(D.slice(r+1,D.length),!1,T,p);return d&&(t=d.column.getPosition()-1),t}findJumpCellUp(e,r){var S=this.getColumnByRangePos(r),D=S.cells.filter(g=>this.table.rowManager.activeRows.includes(g.row)),T=!D[e].getValue(),p=D[e-1]?!D[e-1].getValue():!1,t=e,d=this.findJumpCell(D.slice(0,t),!0,T,p);return d&&(t=d.row.position-1),t}findJumpCellDown(e,r){var S=this.getColumnByRangePos(r),D=S.cells.filter(g=>this.table.rowManager.activeRows.includes(g.row)),T=!D[e].getValue(),p=D[e+1]?!D[e+1].getValue():!1,t=e,d=this.findJumpCell(D.slice(t+1,D.length),!1,T,p);return d&&(t=d.row.position-1),t}newSelection(e,r){var S;if(r.type==="column"){if(!this.columnSelection)return;if(r===this.rowHeader){S=this.resetRanges(),this.selecting="all";var D,T=this.getCell(-1,-1);this.rowHeader?D=this.getCell(0,1):D=this.getCell(0,0),S.setBounds(D,T);return}else this.selecting="column"}else r.column===this.rowHeader?this.selecting="row":this.selecting="cell";e.shiftKey?this.activeRange.setBounds(!1,r):e.ctrlKey?this.addRange().setBounds(r):this.resetRanges().setBounds(r)}autoScroll(e,r,S){var D=this.table.rowManager.element,T,p,t,d,g;typeof r>"u"&&(r=this.getRowByRangePos(e.end.row).getElement()),typeof S>"u"&&(S=this.getColumnByRangePos(e.end.col).getElement()),this.rowHeader&&(T=this.rowHeader.getElement()),p={left:S.offsetLeft,right:S.offsetLeft+S.offsetWidth,top:r.offsetTop,bottom:r.offsetTop+r.offsetHeight},t={left:D.scrollLeft,right:Math.ceil(D.scrollLeft+D.clientWidth),top:D.scrollTop,bottom:D.scrollTop+D.offsetHeight-this.table.rowManager.scrollbarWidth},T&&(t.left+=T.offsetWidth),d=t.leftt.right&&(D.scrollLeft=p.right-D.clientWidth)),g||(p.topt.bottom&&(D.scrollTop=p.bottom-D.clientHeight))}layoutChange(){this.overlay.style.visibility="hidden",clearTimeout(this.layoutChangeTimeout),this.layoutChangeTimeout=setTimeout(this.layoutRanges.bind(this),200)}redraw(e){e&&(this.selecting="cell",this.resetRanges(),this.layoutElement())}layoutElement(e){var r;e?r=this.table.rowManager.getVisibleRows(!0):r=this.table.rowManager.getRows(),r.forEach(S=>{S.type==="row"&&(this.layoutRow(S),S.cells.forEach(D=>this.renderCell(D)))}),this.getTableColumns().forEach(S=>{this.layoutColumn(S)}),this.layoutRanges()}layoutRow(e){var r=e.getElement(),S=!1,D=this.ranges.some(T=>T.occupiesRow(e));this.selecting==="row"?S=D:this.selecting==="all"&&(S=!0),r.classList.toggle("tabulator-range-selected",S),r.classList.toggle("tabulator-range-highlight",D)}layoutColumn(e){var r=e.getElement(),S=!1,D=this.ranges.some(T=>T.occupiesColumn(e));this.selecting==="column"?S=D:this.selecting==="all"&&(S=!0),r.classList.toggle("tabulator-range-selected",S),r.classList.toggle("tabulator-range-highlight",D)}layoutRanges(){var e;this.table.initialized&&(e=this.getActiveCell(),e&&(this.activeRangeCellElement.style.left=e.row.getElement().offsetLeft+e.getElement().offsetLeft+"px",this.activeRangeCellElement.style.top=e.row.getElement().offsetTop+"px",this.activeRangeCellElement.style.width=e.getElement().offsetLeft+e.getElement().offsetWidth-e.getElement().offsetLeft+"px",this.activeRangeCellElement.style.height=e.row.getElement().offsetTop+e.row.getElement().offsetHeight-e.row.getElement().offsetTop+"px",this.ranges.forEach(r=>r.layout()),this.overlay.style.visibility="visible"))}getCell(e,r){var S;return r<0&&(r=this.getTableColumns().length+r,r<0)?null:(e<0&&(e=this.getTableRows().length+e),S=this.table.rowManager.getRowFromPosition(e+1),S?S.getCells(!1,!0).filter(D=>D.column.visible)[r]:null)}getActiveCell(){return this.getCell(this.activeRange.start.row,this.activeRange.start.col)}getRowByRangePos(e){return this.getTableRows()[e]}getColumnByRangePos(e){return this.getTableColumns()[e]}getTableRows(){return this.table.rowManager.getDisplayRows()}getTableColumns(){return this.table.columnManager.getVisibleColumnsByIndex()}addRange(e,r){var S;return this.maxRanges!==!0&&this.ranges.length>=this.maxRanges&&this.ranges.shift().destroy(),S=new RP(this.table,this,e,r),this.activeRange=S,this.ranges.push(S),this.rangeContainer.appendChild(S.element),S}resetRanges(){var e,r;return this.ranges.forEach(S=>S.destroy()),this.ranges=[],e=this.addRange(),this.table.rowManager.activeRows.length&&(r=this.table.rowManager.activeRows[0].cells[this.rowHeader?1:0],r&&(e.setBounds(r),this.initializeFocus(r))),e}tableDestroyed(){document.removeEventListener("mouseup",this.mouseUpEvent),this.table.rowManager.element.removeEventListener("keydown",this.keyDownEvent)}selectedRows(e){return e?this.activeRange.getRows().map(r=>r.getComponent()):this.activeRange.getRows()}selectedColumns(e){return e?this.activeRange.getColumns().map(r=>r.getComponent()):this.activeRange.getColumns()}}KM.moduleName="selectRange";class JM extends qi{constructor(e){super(e),this.tooltipSubscriber=null,this.headerSubscriber=null,this.timeout=null,this.popupInstance=null,this.registerTableOption("tooltipGenerationMode",void 0),this.registerTableOption("tooltipDelay",300),this.registerColumnOption("tooltip"),this.registerColumnOption("headerTooltip")}initialize(){this.deprecatedOptionsCheck(),this.subscribe("column-init",this.initializeColumn.bind(this))}deprecatedOptionsCheck(){this.deprecationCheckMsg("tooltipGenerationMode","This option is no longer needed as tooltips are always generated on hover now")}initializeColumn(e){e.definition.headerTooltip&&!this.headerSubscriber&&(this.headerSubscriber=!0,this.subscribe("column-mousemove",this.mousemoveCheck.bind(this,"headerTooltip")),this.subscribe("column-mouseout",this.mouseoutCheck.bind(this,"headerTooltip"))),e.definition.tooltip&&!this.tooltipSubscriber&&(this.tooltipSubscriber=!0,this.subscribe("cell-mousemove",this.mousemoveCheck.bind(this,"tooltip")),this.subscribe("cell-mouseout",this.mouseoutCheck.bind(this,"tooltip")))}mousemoveCheck(e,r,S){var D=e==="tooltip"?S.column.definition.tooltip:S.definition.headerTooltip;D&&(this.clearPopup(),this.timeout=setTimeout(this.loadTooltip.bind(this,r,S,D),this.table.options.tooltipDelay))}mouseoutCheck(e,r,S){this.popupInstance||this.clearPopup()}clearPopup(e,r,S){clearTimeout(this.timeout),this.timeout=null,this.popupInstance&&this.popupInstance.hide()}loadTooltip(e,r,S){var D,T,p;function t(d){T=d}typeof S=="function"&&(S=S(e,r.getComponent(),t)),S instanceof HTMLElement?D=S:(D=document.createElement("div"),S===!0&&(r instanceof eg?S=r.value:r.definition.field?this.langBind("columns|"+r.definition.field,d=>{D.innerHTML=S=d||r.definition.title}):S=r.definition.title),D.innerHTML=S),(S||S===0||S===!1)&&(D.classList.add("tabulator-tooltip"),D.addEventListener("mousemove",d=>d.preventDefault()),this.popupInstance=this.popup(D),typeof T=="function"&&this.popupInstance.renderCallback(T),p=this.popupInstance.containerEventCoords(e),this.popupInstance.show(p.x+15,p.y+15).hideOnBlur(()=>{this.dispatchExternal("TooltipClosed",r.getComponent()),this.popupInstance=null}),this.dispatchExternal("TooltipOpened",r.getComponent()))}}JM.moduleName="tooltip";var PP={integer:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:(e=Number(e),!isNaN(e)&&isFinite(e)&&Math.floor(e)===e)},float:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:(e=Number(e),!isNaN(e)&&isFinite(e)&&e%1!==0)},numeric:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:!isNaN(e)},string:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:isNaN(e)},alphanumeric:function(n,e,r){if(e===""||e===null||typeof e>"u")return!0;var S=new RegExp(/^[a-z0-9]+$/i);return S.test(e)},max:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:parseFloat(e)<=r},min:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:parseFloat(e)>=r},starts:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).toLowerCase().startsWith(String(r).toLowerCase())},ends:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).toLowerCase().endsWith(String(r).toLowerCase())},minLength:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).length>=r},maxLength:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).length<=r},in:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:(typeof r=="string"&&(r=r.split("|")),r.indexOf(e)>-1)},regex:function(n,e,r){if(e===""||e===null||typeof e>"u")return!0;var S=new RegExp(r);return S.test(e)},unique:function(n,e,r){if(e===""||e===null||typeof e>"u")return!0;var S=!0,D=n.getData(),T=n.getColumn()._getSelf();return this.table.rowManager.rows.forEach(function(p){var t=p.getData();t!==D&&e==T.getFieldValue(t)&&(S=!1)}),S},required:function(n,e,r){return e!==""&&e!==null&&typeof e<"u"}};class ig extends qi{constructor(e){super(e),this.invalidCells=[],this.registerTableOption("validationMode","blocking"),this.registerColumnOption("validator"),this.registerTableFunction("getInvalidCells",this.getInvalidCells.bind(this)),this.registerTableFunction("clearCellValidation",this.userClearCellValidation.bind(this)),this.registerTableFunction("validate",this.userValidate.bind(this)),this.registerComponentFunction("cell","isValid",this.cellIsValid.bind(this)),this.registerComponentFunction("cell","clearValidation",this.clearValidation.bind(this)),this.registerComponentFunction("cell","validate",this.cellValidate.bind(this)),this.registerComponentFunction("column","validate",this.columnValidate.bind(this)),this.registerComponentFunction("row","validate",this.rowValidate.bind(this))}initialize(){this.subscribe("cell-delete",this.clearValidation.bind(this)),this.subscribe("column-layout",this.initializeColumnCheck.bind(this)),this.subscribe("edit-success",this.editValidate.bind(this)),this.subscribe("edit-editor-clear",this.editorClear.bind(this)),this.subscribe("edit-edited-clear",this.editedClear.bind(this))}editValidate(e,r,S){var D=this.table.options.validationMode!=="manual"?this.validate(e.column.modules.validate,e,r):!0;return D!==!0&&setTimeout(()=>{e.getElement().classList.add("tabulator-validation-fail"),this.dispatchExternal("validationFailed",e.getComponent(),r,D)}),D}editorClear(e,r){r&&e.column.modules.validate&&this.cellValidate(e),e.getElement().classList.remove("tabulator-validation-fail")}editedClear(e){e.modules.validate&&(e.modules.validate.invalid=!1)}cellIsValid(e){return e.modules.validate&&e.modules.validate.invalid||!0}cellValidate(e){return this.validate(e.column.modules.validate,e,e.getValue())}columnValidate(e){var r=[];return e.cells.forEach(S=>{this.cellValidate(S)!==!0&&r.push(S.getComponent())}),r.length?r:!0}rowValidate(e){var r=[];return e.cells.forEach(S=>{this.cellValidate(S)!==!0&&r.push(S.getComponent())}),r.length?r:!0}userClearCellValidation(e){e||(e=this.getInvalidCells()),Array.isArray(e)||(e=[e]),e.forEach(r=>{this.clearValidation(r._getSelf())})}userValidate(e){var r=[];return this.table.rowManager.rows.forEach(S=>{S=S.getComponent();var D=S.validate();D!==!0&&(r=r.concat(D))}),r.length?r:!0}initializeColumnCheck(e){typeof e.definition.validator<"u"&&this.initializeColumn(e)}initializeColumn(e){var r=this,S=[],D;e.definition.validator&&(Array.isArray(e.definition.validator)?e.definition.validator.forEach(T=>{D=r._extractValidator(T),D&&S.push(D)}):(D=this._extractValidator(e.definition.validator),D&&S.push(D)),e.modules.validate=S.length?S:!1)}_extractValidator(e){var r,S,D;switch(typeof e){case"string":return D=e.indexOf(":"),D>-1?(r=e.substring(0,D),S=e.substring(D+1)):r=e,this._buildValidator(r,S);case"function":return this._buildValidator(e);case"object":return this._buildValidator(e.type,e.parameters)}}_buildValidator(e,r){var S=typeof e=="function"?e:ig.validators[e];return S?{type:typeof e=="function"?"function":e,func:S,params:r}:(console.warn("Validator Setup Error - No matching validator found:",e),!1)}validate(e,r,S){var D=this,T=[],p=this.invalidCells.indexOf(r);return e&&e.forEach(t=>{t.func.call(D,r.getComponent(),S,t.params)||T.push({type:t.type,parameters:t.params})}),r.modules.validate||(r.modules.validate={}),T.length?(r.modules.validate.invalid=T,this.table.options.validationMode!=="manual"&&r.getElement().classList.add("tabulator-validation-fail"),p==-1&&this.invalidCells.push(r)):(r.modules.validate.invalid=!1,r.getElement().classList.remove("tabulator-validation-fail"),p>-1&&this.invalidCells.splice(p,1)),T.length?T:!0}getInvalidCells(){var e=[];return this.invalidCells.forEach(r=>{e.push(r.getComponent())}),e}clearValidation(e){var r;e.modules.validate&&e.modules.validate.invalid&&(e.getElement().classList.remove("tabulator-validation-fail"),e.modules.validate.invalid=!1,r=this.invalidCells.indexOf(e),r>-1&&this.invalidCells.splice(r,1))}}ig.moduleName="validate";ig.validators=PP;var OP=Object.freeze({__proto__:null,AccessorModule:i0,AjaxModule:Rc,ClipboardModule:qd,ColumnCalcsModule:zf,DataTreeModule:OM,DownloadModule:a0,EditModule:tg,ExportModule:DM,FilterModule:Xh,FormatModule:Yu,FrozenColumnsModule:zM,FrozenRowsModule:FM,GroupRowsModule:BM,HistoryModule:Wd,HtmlTableImportModule:NM,ImportModule:ng,InteractionModule:VM,KeybindingsModule:Vf,MenuModule:jM,MoveColumnsModule:UM,MoveRowsModule:$y,MutatorModule:o0,PageModule:rg,PersistenceModule:Ul,PopupModule:HM,PrintModule:GM,ReactiveDataModule:qM,ResizeColumnsModule:WM,ResizeRowsModule:YM,ResizeTableModule:$M,ResponsiveLayoutModule:ZM,SelectRowModule:XM,SortModule:jd,SelectRangeModule:KM,TooltipModule:JM,ValidateModule:ig}),DP={debugEventsExternal:!1,debugEventsInternal:!1,debugInvalidOptions:!0,debugInvalidComponentFuncs:!0,debugInitialization:!0,debugDeprecation:!0,height:!1,minHeight:!1,maxHeight:!1,columnHeaderVertAlign:"top",popupContainer:!1,columns:[],columnDefaults:{},data:!1,autoColumns:!1,autoColumnsDefinitions:!1,nestedFieldSeparator:".",footerElement:!1,index:"id",textDirection:"auto",addRowPos:"bottom",headerVisible:!0,renderVertical:"virtual",renderHorizontal:"basic",renderVerticalBuffer:0,scrollToRowPosition:"top",scrollToRowIfVisible:!0,scrollToColumnPosition:"left",scrollToColumnIfVisible:!0,rowFormatter:!1,rowFormatterPrint:null,rowFormatterClipboard:null,rowFormatterHtmlOutput:null,rowHeight:null,placeholder:!1,dataLoader:!0,dataLoaderLoading:!1,dataLoaderError:!1,dataLoaderErrorTimeout:3e3,dataSendParams:{},dataReceiveParams:{}};class QM{constructor(e,r,S={}){this.table=e,this.msgType=r,this.registeredDefaults=Object.assign({},S)}register(e,r){this.registeredDefaults[e]=r}generate(e,r={}){var S=Object.assign({},this.registeredDefaults),D=this.table.options.debugInvalidOptions||r.debugInvalidOptions===!0;Object.assign(S,e);for(let T in r)S.hasOwnProperty(T)||(D&&console.warn("Invalid "+this.msgType+" option:",T),S[T]=r.key);for(let T in S)T in r?S[T]=r[T]:Array.isArray(S[T])?S[T]=Object.assign([],S[T]):typeof S[T]=="object"&&S[T]!==null?S[T]=Object.assign({},S[T]):typeof S[T]>"u"&&delete S[T];return S}}class Zy extends Ml{constructor(e){super(e),this.elementVertical=e.rowManager.element,this.elementHorizontal=e.columnManager.element,this.tableElement=e.rowManager.tableElement,this.verticalFillMode="fit"}initialize(){}clearRows(){}clearColumns(){}reinitializeColumnWidths(e){}renderRows(){}renderColumns(){}rerenderRows(e){e&&e()}rerenderColumns(e,r){}renderRowCells(e){}rerenderRowCells(e,r){}scrollColumns(e,r){}scrollRows(e,r){}resize(){}scrollToRow(e){}scrollToRowNearestTop(e){}visibleRows(e){return[]}rows(){return this.table.rowManager.getDisplayRows()}styleRow(e,r){var S=e.getElement();r%2?(S.classList.add("tabulator-row-even"),S.classList.remove("tabulator-row-odd")):(S.classList.add("tabulator-row-odd"),S.classList.remove("tabulator-row-even"))}clear(){this.clearRows(),this.clearColumns()}render(){this.renderRows(),this.renderColumns()}rerender(e){this.rerenderRows(),this.rerenderColumns()}scrollToRowPosition(e,r,S){var D=this.rows().indexOf(e),T=e.getElement(),p=0;return new Promise((t,d)=>{if(D>-1){if(typeof S>"u"&&(S=this.table.options.scrollToRowIfVisible),!S&&so.elVisible(T)&&(p=so.elOffset(T).top-so.elOffset(this.elementVertical).top,p>0&&p"u"&&(r=this.table.options.scrollToRowPosition),r==="nearest"&&(r=this.scrollToRowNearestTop(e)?"top":"bottom"),this.scrollToRow(e),r){case"middle":case"center":this.elementVertical.scrollHeight-this.elementVertical.scrollTop==this.elementVertical.clientHeight?this.elementVertical.scrollTop=this.elementVertical.scrollTop+(T.offsetTop-this.elementVertical.scrollTop)-(this.elementVertical.scrollHeight-T.offsetTop)/2:this.elementVertical.scrollTop=this.elementVertical.scrollTop-this.elementVertical.clientHeight/2;break;case"bottom":this.elementVertical.scrollHeight-this.elementVertical.scrollTop==this.elementVertical.clientHeight?this.elementVertical.scrollTop=this.elementVertical.scrollTop-(this.elementVertical.scrollHeight-T.offsetTop)+T.offsetHeight:this.elementVertical.scrollTop=this.elementVertical.scrollTop-this.elementVertical.clientHeight+T.offsetHeight;break;case"top":this.elementVertical.scrollTop=T.offsetTop;break}t()}else console.warn("Scroll Error - Row not visible"),d("Scroll Error - Row not visible")})}}class zP extends Zy{constructor(e){super(e)}renderRowCells(e,r){const S=document.createDocumentFragment();e.cells.forEach(D=>{S.appendChild(D.getElement())}),e.element.appendChild(S),r||e.cells.forEach(D=>{D.cellRendered()})}reinitializeColumnWidths(e){e.forEach(function(r){r.reinitializeWidth()})}}class FP extends Zy{constructor(e){super(e),this.leftCol=0,this.rightCol=0,this.scrollLeft=0,this.vDomScrollPosLeft=0,this.vDomScrollPosRight=0,this.vDomPadLeft=0,this.vDomPadRight=0,this.fitDataColAvg=0,this.windowBuffer=200,this.visibleRows=null,this.initialized=!1,this.isFitData=!1,this.columns=[]}initialize(){this.compatibilityCheck(),this.layoutCheck(),this.vertScrollListen()}compatibilityCheck(){this.options("layout")=="fitDataTable"&&console.warn("Horizontal Virtual DOM is not compatible with fitDataTable layout mode"),this.options("responsiveLayout")&&console.warn("Horizontal Virtual DOM is not compatible with responsive columns"),this.options("rtl")&&console.warn("Horizontal Virtual DOM is not currently compatible with RTL text direction")}layoutCheck(){this.isFitData=this.options("layout").startsWith("fitData")}vertScrollListen(){this.subscribe("scroll-vertical",this.clearVisRowCache.bind(this)),this.subscribe("data-refreshed",this.clearVisRowCache.bind(this))}clearVisRowCache(){this.visibleRows=null}renderColumns(e,r){this.dataChange()}scrollColumns(e,r){this.scrollLeft!=e&&(this.scrollLeft=e,this.scroll(e-(this.vDomScrollPosLeft+this.windowBuffer)))}calcWindowBuffer(){var e=this.elementVertical.clientWidth;this.table.columnManager.columnsByIndex.forEach(r=>{if(r.visible){var S=r.getWidth();S>e&&(e=S)}}),this.windowBuffer=e*2}rerenderColumns(e,r){var S={cols:this.columns,leftCol:this.leftCol,rightCol:this.rightCol},D=0;e&&!this.initialized||(this.clear(),this.calcWindowBuffer(),this.scrollLeft=this.elementVertical.scrollLeft,this.vDomScrollPosLeft=this.scrollLeft-this.windowBuffer,this.vDomScrollPosRight=this.scrollLeft+this.elementVertical.clientWidth+this.windowBuffer,this.table.columnManager.columnsByIndex.forEach(T=>{var p={},t;T.visible&&(T.modules.frozen||(t=T.getWidth(),p.leftPos=D,p.rightPos=D+t,p.width=t,this.isFitData&&(p.fitDataCheck=T.modules.vdomHoz?T.modules.vdomHoz.fitDataCheck:!0),D+t>this.vDomScrollPosLeft&&D{r.appendChild(S.getElement())}),e.element.appendChild(r),e.cells.forEach(S=>{S.cellRendered()})}}rerenderRowCells(e,r){this.reinitializeRow(e,r)}reinitializeColumnWidths(e){for(let r=this.leftCol;r<=this.rightCol;r++)this.columns[r].reinitializeWidth()}deinitialize(){this.initialized=!1}clear(){this.columns=[],this.leftCol=-1,this.rightCol=0,this.vDomScrollPosLeft=0,this.vDomScrollPosRight=0,this.vDomPadLeft=0,this.vDomPadRight=0}dataChange(){var e=!1,r,S;if(this.isFitData){if(this.table.columnManager.columnsByIndex.forEach(D=>{!D.definition.width&&D.visible&&(e=!0)}),e&&this.table.rowManager.getDisplayRows().length&&(this.vDomScrollPosRight=this.scrollLeft+this.elementVertical.clientWidth+this.windowBuffer,r=this.chain("rows-sample",[1],[],()=>this.table.rowManager.getDisplayRows())[0],r)){S=r.getElement(),r.generateCells(),this.tableElement.appendChild(S);for(let D=0;D{S!==this.columns[D]&&(r=!1)}),!r)}reinitializeRows(){var e=this.getVisibleRows(),r=this.table.rowManager.getRows().filter(S=>!e.includes(S));e.forEach(S=>{this.reinitializeRow(S,!0)}),r.forEach(S=>{S.deinitialize()})}getVisibleRows(){return this.visibleRows||(this.visibleRows=this.table.rowManager.getVisibleRows()),this.visibleRows}scroll(e){this.vDomScrollPosLeft+=e,this.vDomScrollPosRight+=e,Math.abs(e)>this.windowBuffer/2?this.rerenderColumns():e>0?(this.addColRight(),this.removeColLeft()):(this.addColLeft(),this.removeColRight())}colPositionAdjust(e,r,S){for(let D=e;D{if(D.type!=="group"){var T=D.getCell(S);D.getElement().insertBefore(T.getElement(),D.getCell(this.columns[this.rightCol]).getElement().nextSibling),T.cellRendered()}}),this.fitDataColActualWidthCheck(S),this.rightCol++,this.getVisibleRows().forEach(D=>{D.type!=="group"&&(D.modules.vdomHoz.rightCol=this.rightCol)}),this.rightCol>=this.columns.length-1?this.vDomPadRight=0:this.vDomPadRight-=S.getWidth()):r=!1}e&&(this.tableElement.style.paddingRight=this.vDomPadRight+"px")}addColLeft(){for(var e=!1,r=!0;r;){let S=this.columns[this.leftCol-1];if(S)if(S.modules.vdomHoz.rightPos>=this.vDomScrollPosLeft){e=!0,this.getVisibleRows().forEach(T=>{if(T.type!=="group"){var p=T.getCell(S);T.getElement().insertBefore(p.getElement(),T.getCell(this.columns[this.leftCol]).getElement()),p.cellRendered()}}),this.leftCol--,this.getVisibleRows().forEach(T=>{T.type!=="group"&&(T.modules.vdomHoz.leftCol=this.leftCol)}),this.leftCol<=0?this.vDomPadLeft=0:this.vDomPadLeft-=S.getWidth();let D=this.fitDataColActualWidthCheck(S);D&&(this.scrollLeft=this.elementVertical.scrollLeft=this.elementVertical.scrollLeft+D,this.vDomPadRight-=D)}else r=!1;else r=!1}e&&(this.tableElement.style.paddingLeft=this.vDomPadLeft+"px")}removeColRight(){for(var e=!1,r=!0;r;){let S=this.columns[this.rightCol];S&&S.modules.vdomHoz.leftPos>this.vDomScrollPosRight?(e=!0,this.getVisibleRows().forEach(D=>{if(D.type!=="group"){var T=D.getCell(S);try{D.getElement().removeChild(T.getElement())}catch(p){console.warn("Could not removeColRight",p.message)}}}),this.vDomPadRight+=S.getWidth(),this.rightCol--,this.getVisibleRows().forEach(D=>{D.type!=="group"&&(D.modules.vdomHoz.rightCol=this.rightCol)})):r=!1}e&&(this.tableElement.style.paddingRight=this.vDomPadRight+"px")}removeColLeft(){for(var e=!1,r=!0;r;){let S=this.columns[this.leftCol];S&&S.modules.vdomHoz.rightPos{if(D.type!=="group"){var T=D.getCell(S);try{D.getElement().removeChild(T.getElement())}catch(p){console.warn("Could not removeColLeft",p.message)}}}),this.vDomPadLeft+=S.getWidth(),this.leftCol++,this.getVisibleRows().forEach(D=>{D.type!=="group"&&(D.modules.vdomHoz.leftCol=this.leftCol)})):r=!1}e&&(this.tableElement.style.paddingLeft=this.vDomPadLeft+"px")}fitDataColActualWidthCheck(e){var r,S;return e.modules.vdomHoz.fitDataCheck&&(e.reinitializeWidth(),r=e.getWidth(),S=r-e.modules.vdomHoz.width,S&&(e.modules.vdomHoz.rightPos+=S,e.modules.vdomHoz.width=r,this.colPositionAdjust(this.columns.indexOf(e)+1,this.columns.length,S)),e.modules.vdomHoz.fitDataCheck=!1),S}initializeRow(e){if(e.type!=="group"){e.modules.vdomHoz={leftCol:this.leftCol,rightCol:this.rightCol},this.table.modules.frozenColumns&&this.table.modules.frozenColumns.leftColumns.forEach(r=>{this.appendCell(e,r)});for(let r=this.leftCol;r<=this.rightCol;r++)this.appendCell(e,this.columns[r]);this.table.modules.frozenColumns&&this.table.modules.frozenColumns.rightColumns.forEach(r=>{this.appendCell(e,r)})}}appendCell(e,r){if(r&&r.visible){let S=e.getCell(r);e.getElement().appendChild(S.getElement()),S.cellRendered()}}reinitializeRow(e,r){if(e.type!=="group"&&(r||!e.modules.vdomHoz||e.modules.vdomHoz.leftCol!==this.leftCol||e.modules.vdomHoz.rightCol!==this.rightCol)){for(var S=e.getElement();S.firstChild;)S.removeChild(S.firstChild);this.initializeRow(e)}}}class BP extends Ml{constructor(e){super(e),this.blockHozScrollEvent=!1,this.headersElement=null,this.contentsElement=null,this.element=null,this.columns=[],this.columnsByIndex=[],this.columnsByField={},this.scrollLeft=0,this.optionsList=new QM(this.table,"column definition",PM),this.redrawBlock=!1,this.redrawBlockUpdate=null,this.renderer=null}initialize(){this.initializeRenderer(),this.headersElement=this.createHeadersElement(),this.contentsElement=this.createHeaderContentsElement(),this.element=this.createHeaderElement(),this.contentsElement.insertBefore(this.headersElement,this.contentsElement.firstChild),this.element.insertBefore(this.contentsElement,this.element.firstChild),this.initializeScrollWheelWatcher(),this.subscribe("scroll-horizontal",this.scrollHorizontal.bind(this)),this.subscribe("scrollbar-vertical",this.padVerticalScrollbar.bind(this))}padVerticalScrollbar(e){this.table.rtl?this.headersElement.style.marginLeft=e+"px":this.headersElement.style.marginRight=e+"px"}initializeRenderer(){var e,r={virtual:FP,basic:zP};typeof this.table.options.renderHorizontal=="string"?e=r[this.table.options.renderHorizontal]:e=this.table.options.renderHorizontal,e?(this.renderer=new e(this.table,this.element,this.tableElement),this.renderer.initialize()):console.error("Unable to find matching renderer:",this.table.options.renderHorizontal)}createHeadersElement(){var e=document.createElement("div");return e.classList.add("tabulator-headers"),e.setAttribute("role","row"),e}createHeaderContentsElement(){var e=document.createElement("div");return e.classList.add("tabulator-header-contents"),e.setAttribute("role","rowgroup"),e}createHeaderElement(){var e=document.createElement("div");return e.classList.add("tabulator-header"),e.setAttribute("role","rowgroup"),this.table.options.headerVisible||e.classList.add("tabulator-header-hidden"),e}getElement(){return this.element}getContentsElement(){return this.contentsElement}getHeadersElement(){return this.headersElement}scrollHorizontal(e){this.contentsElement.scrollLeft=e,this.scrollLeft=e,this.renderer.scrollColumns(e)}initializeScrollWheelWatcher(){this.contentsElement.addEventListener("wheel",e=>{var r;e.deltaX&&(r=this.contentsElement.scrollLeft+e.deltaX,this.table.rowManager.scrollHorizontal(r),this.table.columnManager.scrollHorizontal(r))})}generateColumnsFromRowData(e){var r=[],S=this.table.options.autoColumnsDefinitions,D,T;if(e&&e.length){D=e[0];for(var p in D){let t={field:p,title:p},d=D[p];switch(typeof d){case"undefined":T="string";break;case"boolean":T="boolean";break;case"object":Array.isArray(d)?T="array":T="string";break;default:!isNaN(d)&&d!==""?T="number":d.match(/((^[0-9]+[a-z]+)|(^[a-z]+[0-9]+))+$/i)?T="alphanum":T="string";break}t.sorter=T,r.push(t)}if(S)switch(typeof S){case"function":this.table.options.columns=S.call(this.table,r);break;case"object":Array.isArray(S)?r.forEach(t=>{var d=S.find(g=>g.field===t.field);d&&Object.assign(t,d)}):r.forEach(t=>{S[t.field]&&Object.assign(t,S[t.field])}),this.table.options.columns=r;break}else this.table.options.columns=r;this.setColumns(this.table.options.columns)}}setColumns(e,r){for(;this.headersElement.firstChild;)this.headersElement.removeChild(this.headersElement.firstChild);this.columns=[],this.columnsByIndex=[],this.columnsByField={},this.dispatch("columns-loading"),e.forEach((S,D)=>{this._addColumn(S)}),this._reIndexColumns(),this.dispatch("columns-loaded"),this.rerenderColumns(!1,!0),this.redraw(!0)}_addColumn(e,r,S){var D=new vh(e,this),T=D.getElement(),p=S&&this.findColumnIndex(S);if(S&&p>-1){var t=S.getTopColumn(),d=this.columns.indexOf(t),g=t.getElement();r?(this.columns.splice(d,0,D),g.parentNode.insertBefore(T,g)):(this.columns.splice(d+1,0,D),g.parentNode.insertBefore(T,g.nextSibling))}else r?(this.columns.unshift(D),this.headersElement.insertBefore(D.getElement(),this.headersElement.firstChild)):(this.columns.push(D),this.headersElement.appendChild(D.getElement()));return D.columnRendered(),D}registerColumnField(e){e.definition.field&&(this.columnsByField[e.definition.field]=e)}registerColumnPosition(e){this.columnsByIndex.push(e)}_reIndexColumns(){this.columnsByIndex=[],this.columns.forEach(function(e){e.reRegisterPosition()})}verticalAlignHeaders(){var e=0;this.redrawBlock||(this.headersElement.style.height="",this.columns.forEach(r=>{r.clearVerticalAlign()}),this.columns.forEach(r=>{var S=r.getHeight();S>e&&(e=S)}),this.headersElement.style.height=e+"px",this.columns.forEach(r=>{r.verticalAlign(this.table.options.columnHeaderVertAlign,e)}),this.table.rowManager.adjustTableSize())}findColumn(e){var r;if(typeof e=="object"){if(e instanceof vh)return e;if(e instanceof RM)return e._getSelf()||!1;if(typeof HTMLElement<"u"&&e instanceof HTMLElement)return r=[],this.columns.forEach(D=>{r.push(D),r=r.concat(D.getColumns(!0))}),r.find(D=>D.element===e)||!1}else return this.columnsByField[e]||!1;return!1}getColumnByField(e){return this.columnsByField[e]}getColumnsByFieldRoot(e){var r=[];return Object.keys(this.columnsByField).forEach(S=>{var D=this.table.options.nestedFieldSeparator?S.split(this.table.options.nestedFieldSeparator)[0]:S;D===e&&r.push(this.columnsByField[S])}),r}getColumnByIndex(e){return this.columnsByIndex[e]}getFirstVisibleColumn(){var e=this.columnsByIndex.findIndex(r=>r.visible);return e>-1?this.columnsByIndex[e]:!1}getVisibleColumnsByIndex(){return this.columnsByIndex.filter(e=>e.visible)}getColumns(){return this.columns}findColumnIndex(e){return this.columnsByIndex.findIndex(r=>e===r)}getRealColumns(){return this.columnsByIndex}traverse(e){this.columnsByIndex.forEach((r,S)=>{e(r,S)})}getDefinitions(e){var r=[];return this.columnsByIndex.forEach(S=>{(!e||e&&S.visible)&&r.push(S.getDefinition())}),r}getDefinitionTree(){var e=[];return this.columns.forEach(r=>{e.push(r.getDefinition(!0))}),e}getComponents(e){var r=[],S=e?this.columns:this.columnsByIndex;return S.forEach(D=>{r.push(D.getComponent())}),r}getWidth(){var e=0;return this.columnsByIndex.forEach(r=>{r.visible&&(e+=r.getWidth())}),e}moveColumn(e,r,S){r.element.parentNode.insertBefore(e.element,r.element),S&&r.element.parentNode.insertBefore(r.element,e.element),this.moveColumnActual(e,r,S),this.verticalAlignHeaders(),this.table.rowManager.reinitialize()}moveColumnActual(e,r,S){e.parent.isGroup?this._moveColumnInArray(e.parent.columns,e,r,S):this._moveColumnInArray(this.columns,e,r,S),this._moveColumnInArray(this.columnsByIndex,e,r,S,!0),this.rerenderColumns(!0),this.dispatch("column-moved",e,r,S),this.subscribedExternal("columnMoved")&&this.dispatchExternal("columnMoved",e.getComponent(),this.table.columnManager.getComponents())}_moveColumnInArray(e,r,S,D,T){var p=e.indexOf(r),t,d=[];p>-1&&(e.splice(p,1),t=e.indexOf(S),t>-1?D&&(t=t+1):t=p,e.splice(t,0,r),T&&(d=this.chain("column-moving-rows",[r,S,D],null,[])||[],d=d.concat(this.table.rowManager.rows),d.forEach(function(g){if(g.cells.length){var i=g.cells.splice(p,1)[0];g.cells.splice(t,0,i)}})))}scrollToColumn(e,r,S){var D=0,T=e.getLeftOffset(),p=0,t=e.getElement();return new Promise((d,g)=>{if(typeof r>"u"&&(r=this.table.options.scrollToColumnPosition),typeof S>"u"&&(S=this.table.options.scrollToColumnIfVisible),e.visible){switch(r){case"middle":case"center":p=-this.element.clientWidth/2;break;case"right":p=t.clientWidth-this.headersElement.clientWidth;break}if(!S&&T>0&&T+t.offsetWidth{r.push(S.generateCell(e))}),r}getFlexBaseWidth(){var e=this.table.element.clientWidth,r=0;return this.table.rowManager.element.scrollHeight>this.table.rowManager.element.clientHeight&&(e-=this.table.rowManager.element.offsetWidth-this.table.rowManager.element.clientWidth),this.columnsByIndex.forEach(function(S){var D,T,p;S.visible&&(D=S.definition.width||0,T=parseInt(S.minWidth),typeof D=="string"?D.indexOf("%")>-1?p=e/100*parseInt(D):p=parseInt(D):p=D,r+=p>T?p:T)}),r}addColumn(e,r,S){return new Promise((D,T)=>{var p=this._addColumn(e,r,S);this._reIndexColumns(),this.dispatch("column-add",e,r,S),this.layoutMode()!="fitColumns"&&p.reinitializeWidth(),this.redraw(!0),this.table.rowManager.reinitialize(),this.rerenderColumns(),D(p)})}deregisterColumn(e){var r=e.getField(),S;r&&delete this.columnsByField[r],S=this.columnsByIndex.indexOf(e),S>-1&&this.columnsByIndex.splice(S,1),S=this.columns.indexOf(e),S>-1&&this.columns.splice(S,1),this.verticalAlignHeaders(),this.redraw()}rerenderColumns(e,r){this.redrawBlock?(e===!1||e===!0&&this.redrawBlockUpdate===null)&&(this.redrawBlockUpdate=e):this.renderer.rerenderColumns(e,r)}blockRedraw(){this.redrawBlock=!0,this.redrawBlockUpdate=null}restoreRedraw(){this.redrawBlock=!1,this.verticalAlignHeaders(),this.renderer.rerenderColumns(this.redrawBlockUpdate)}redraw(e){so.elVisible(this.element)&&this.verticalAlignHeaders(),e&&(this.table.rowManager.resetScroll(),this.table.rowManager.reinitialize()),this.confirm("table-redrawing",e)||this.layoutRefresh(e),this.dispatch("table-redraw",e),this.table.footerManager.redraw()}}class NP extends Zy{constructor(e){super(e),this.verticalFillMode="fill",this.scrollTop=0,this.scrollLeft=0,this.scrollTop=0,this.scrollLeft=0}clearRows(){for(var e=this.tableElement;e.firstChild;)e.removeChild(e.firstChild);e.scrollTop=0,e.scrollLeft=0,e.style.minWidth="",e.style.minHeight="",e.style.display="",e.style.visibility=""}renderRows(){var e=this.tableElement,r=!0,S=document.createDocumentFragment(),D=this.rows();D.forEach((T,p)=>{this.styleRow(T,p),T.initialize(!1,!0),T.type!=="group"&&(r=!1),S.appendChild(T.getElement())}),e.appendChild(S),D.forEach(T=>{T.rendered(),T.heightInitialized||T.calcHeight(!0)}),D.forEach(T=>{T.heightInitialized||T.setCellHeight()}),r?e.style.minWidth=this.table.columnManager.getWidth()+"px":e.style.minWidth=""}rerenderRows(e){this.clearRows(),e&&e(),this.renderRows(),this.rows().length||this.table.rowManager.tableEmpty()}scrollToRowNearestTop(e){var r=so.elOffset(e.getElement()).top;return!(Math.abs(this.elementVertical.scrollTop-r)>Math.abs(this.elementVertical.scrollTop+this.elementVertical.clientHeight-r))}scrollToRow(e){var r=e.getElement();this.elementVertical.scrollTop=so.elOffset(r).top-so.elOffset(this.elementVertical).top+this.elementVertical.scrollTop}visibleRows(e){return this.rows()}}class VP extends Zy{constructor(e){super(e),this.verticalFillMode="fill",this.scrollTop=0,this.scrollLeft=0,this.vDomRowHeight=20,this.vDomTop=0,this.vDomBottom=0,this.vDomScrollPosTop=0,this.vDomScrollPosBottom=0,this.vDomTopPad=0,this.vDomBottomPad=0,this.vDomMaxRenderChain=90,this.vDomWindowBuffer=0,this.vDomWindowMinTotalRows=20,this.vDomWindowMinMarginRows=5,this.vDomTopNewRows=[],this.vDomBottomNewRows=[]}clearRows(){for(var e=this.tableElement;e.firstChild;)e.removeChild(e.firstChild);e.style.paddingTop="",e.style.paddingBottom="",e.style.minHeight="",e.style.display="",e.style.visibility="",this.elementVertical.scrollTop=0,this.elementVertical.scrollLeft=0,this.scrollTop=0,this.scrollLeft=0,this.vDomTop=0,this.vDomBottom=0,this.vDomTopPad=0,this.vDomBottomPad=0,this.vDomScrollPosTop=0,this.vDomScrollPosBottom=0}renderRows(){this._virtualRenderFill()}rerenderRows(e){for(var r=this.elementVertical.scrollTop,S=!1,D=!1,T=this.table.rowManager.scrollLeft,p=this.rows(),t=this.vDomTop;t<=this.vDomBottom;t++)if(p[t]){var d=r-p[t].getElement().offsetTop;if(D===!1||Math.abs(d){g.deinitializeHeight()}),e&&e(),this.rows().length?this._virtualRenderFill(S===!1?this.rows.length-1:S,!0,D||0):(this.clear(),this.table.rowManager.tableEmpty()),this.scrollColumns(T)}scrollColumns(e){this.table.rowManager.scrollHorizontal(e)}scrollRows(e,r){var S=e-this.vDomScrollPosTop,D=e-this.vDomScrollPosBottom,T=this.vDomWindowBuffer*2,p=this.rows();if(this.scrollTop=e,-S>T||D>T){var t=this.table.rowManager.scrollLeft;this._virtualRenderFill(Math.floor(this.elementVertical.scrollTop/this.elementVertical.scrollHeight*p.length)),this.scrollColumns(t)}else r?(S<0&&this._addTopRow(p,-S),D<0&&(this.vDomScrollHeight-this.scrollTop>this.vDomWindowBuffer?this._removeBottomRow(p,-D):this.vDomScrollPosBottom=this.scrollTop)):(D>=0&&this._addBottomRow(p,D),S>=0&&(this.scrollTop>this.vDomWindowBuffer?this._removeTopRow(p,S):this.vDomScrollPosTop=this.scrollTop))}resize(){this.vDomWindowBuffer=this.table.options.renderVerticalBuffer||this.elementVertical.clientHeight}scrollToRowNearestTop(e){var r=this.rows().indexOf(e);return!(Math.abs(this.vDomTop-r)>Math.abs(this.vDomBottom-r))}scrollToRow(e){var r=this.rows().indexOf(e);r>-1&&this._virtualRenderFill(r,!0)}visibleRows(e){var r=this.elementVertical.scrollTop,S=this.elementVertical.clientHeight+r,D=!1,T=0,p=0,t=this.rows();if(e)T=this.vDomTop,p=this.vDomBottom;else for(var d=this.vDomTop;d<=this.vDomBottom;d++)if(t[d])if(D)if(S-t[d].getElement().offsetTop>=0)p=d;else break;else if(r-t[d].getElement().offsetTop>=0)T=d;else if(D=!0,S-t[d].getElement().offsetTop>=0)p=d;else break;return t.slice(T,p+1)}_virtualRenderFill(e,r,S){var D=this.tableElement,T=this.elementVertical,p=0,t=0,d=0,g=0,i=0,M=0,v=this.rows(),f=v.length,l=0,a,u,o=[],s=0,h=0,c=this.table.rowManager.fixedHeight,m=this.elementVertical.clientHeight,w=this.table.options.rowHeight,y=!0;if(e=e||0,S=S||0,!e)this.clear();else{for(;D.firstChild;)D.removeChild(D.firstChild);g=(f-e+1)*this.vDomRowHeight,g{C.rendered(),C.heightInitialized||C.calcHeight(!0)}),o.forEach(C=>{C.heightInitialized||C.setCellHeight()}),o.forEach(C=>{d=C.getHeight(),sthis.vDomWindowBuffer&&(this.vDomWindowBuffer=d*2),s++}),y=this.table.rowManager.adjustTableSize(),m=this.elementVertical.clientHeight,y&&(c||this.table.options.maxHeight)&&(w=t/s,h=Math.max(this.vDomWindowMinTotalRows,Math.ceil(m/w+this.vDomWindowBuffer/w)))}e?(this.vDomTopPad=r?this.vDomRowHeight*this.vDomTop+S:this.scrollTop-i,this.vDomBottomPad=this.vDomBottom==f-1?0:Math.max(this.vDomScrollHeight-this.vDomTopPad-t-i,0)):(this.vDomTopPad=0,this.vDomRowHeight=Math.floor((t+i)/s),this.vDomBottomPad=this.vDomRowHeight*(f-this.vDomBottom-1),this.vDomScrollHeight=i+t+this.vDomBottomPad-m),D.style.paddingTop=this.vDomTopPad+"px",D.style.paddingBottom=this.vDomBottomPad+"px",r&&(this.scrollTop=this.vDomTopPad+i+S-(this.elementVertical.scrollWidth>this.elementVertical.clientWidth?this.elementVertical.offsetHeight-m:0)),this.scrollTop=Math.min(this.scrollTop,this.elementVertical.scrollHeight-m),this.elementVertical.scrollWidth>this.elementVertical.clientWidth&&r&&(this.scrollTop+=this.elementVertical.offsetHeight-m),this.vDomScrollPosTop=this.scrollTop,this.vDomScrollPosBottom=this.scrollTop,T.scrollTop=this.scrollTop,this.dispatch("render-virtual-fill")}}_addTopRow(e,r){for(var S=this.tableElement,D=[],T=0,p=this.vDomTop-1,t=0,d=!0;d;)if(this.vDomTop){let g=e[p],i,M;g&&t=i?(this.styleRow(g,p),S.insertBefore(g.getElement(),S.firstChild),(!g.initialized||!g.heightInitialized)&&D.push(g),g.initialize(),M||(i=g.getElement().offsetHeight,i>this.vDomWindowBuffer&&(this.vDomWindowBuffer=i*2)),r-=i,T+=i,this.vDomTop--,p--,t++):d=!1):d=!1}else d=!1;for(let g of D)g.clearCellHeight();this._quickNormalizeRowHeight(D),T&&(this.vDomTopPad-=T,this.vDomTopPad<0&&(this.vDomTopPad=p*this.vDomRowHeight),p<1&&(this.vDomTopPad=0),S.style.paddingTop=this.vDomTopPad+"px",this.vDomScrollPosTop-=T)}_removeTopRow(e,r){for(var S=[],D=0,T=0,p=!0;p;){let t=e[this.vDomTop],d;t&&T=d?(this.vDomTop++,r-=d,D+=d,S.push(t),T++):p=!1):p=!1}for(let t of S){let d=t.getElement();d.parentNode&&d.parentNode.removeChild(d)}D&&(this.vDomTopPad+=D,this.tableElement.style.paddingTop=this.vDomTopPad+"px",this.vDomScrollPosTop+=this.vDomTop?D:D+this.vDomWindowBuffer)}_addBottomRow(e,r){for(var S=this.tableElement,D=[],T=0,p=this.vDomBottom+1,t=0,d=!0;d;){let g=e[p],i,M;g&&t=i?(this.styleRow(g,p),S.appendChild(g.getElement()),(!g.initialized||!g.heightInitialized)&&D.push(g),g.initialize(),M||(i=g.getElement().offsetHeight,i>this.vDomWindowBuffer&&(this.vDomWindowBuffer=i*2)),r-=i,T+=i,this.vDomBottom++,p++,t++):d=!1):d=!1}for(let g of D)g.clearCellHeight();this._quickNormalizeRowHeight(D),T&&(this.vDomBottomPad-=T,(this.vDomBottomPad<0||p==e.length-1)&&(this.vDomBottomPad=0),S.style.paddingBottom=this.vDomBottomPad+"px",this.vDomScrollPosBottom+=T)}_removeBottomRow(e,r){for(var S=[],D=0,T=0,p=!0;p;){let t=e[this.vDomBottom],d;t&&T=d?(this.vDomBottom--,r-=d,D+=d,S.push(t),T++):p=!1):p=!1}for(let t of S){let d=t.getElement();d.parentNode&&d.parentNode.removeChild(d)}D&&(this.vDomBottomPad+=D,this.vDomBottomPad<0&&(this.vDomBottomPad=0),this.tableElement.style.paddingBottom=this.vDomBottomPad+"px",this.vDomScrollPosBottom-=D)}_quickNormalizeRowHeight(e){for(let r of e)r.calcHeight();for(let r of e)r.setCellHeight()}}class jP extends Ml{constructor(e){super(e),this.element=this.createHolderElement(),this.tableElement=this.createTableElement(),this.heightFixer=this.createTableElement(),this.placeholder=null,this.placeholderContents=null,this.firstRender=!1,this.renderMode="virtual",this.fixedHeight=!1,this.rows=[],this.activeRowsPipeline=[],this.activeRows=[],this.activeRowsCount=0,this.displayRows=[],this.displayRowsCount=0,this.scrollTop=0,this.scrollLeft=0,this.redrawBlock=!1,this.redrawBlockRestoreConfig=!1,this.redrawBlockRenderInPosition=!1,this.dataPipeline=[],this.displayPipeline=[],this.scrollbarWidth=0,this.renderer=null}createHolderElement(){var e=document.createElement("div");return e.classList.add("tabulator-tableholder"),e.setAttribute("tabindex",0),e}createTableElement(){var e=document.createElement("div");return e.classList.add("tabulator-table"),e.setAttribute("role","rowgroup"),e}initializePlaceholder(){var e=this.table.options.placeholder;if(typeof e=="function"&&(e=e.call(this.table)),e=this.chain("placeholder",[e],e,e)||e,e){let r=document.createElement("div");if(r.classList.add("tabulator-placeholder"),typeof e=="string"){let S=document.createElement("div");S.classList.add("tabulator-placeholder-contents"),S.innerHTML=e,r.appendChild(S),this.placeholderContents=S}else typeof HTMLElement<"u"&&e instanceof HTMLElement?(r.appendChild(e),this.placeholderContents=e):(console.warn("Invalid placeholder provided, must be string or HTML Element",e),this.el=null);this.placeholder=r}}getElement(){return this.element}getTableElement(){return this.tableElement}initialize(){this.initializePlaceholder(),this.initializeRenderer(),this.element.appendChild(this.tableElement),this.firstRender=!0,this.element.addEventListener("scroll",()=>{var e=this.element.scrollLeft,r=this.scrollLeft>e,S=this.element.scrollTop,D=this.scrollTop>S;this.scrollLeft!=e&&(this.scrollLeft=e,this.dispatch("scroll-horizontal",e,r),this.dispatchExternal("scrollHorizontal",e,r),this._positionPlaceholder()),this.scrollTop!=S&&(this.scrollTop=S,this.renderer.scrollRows(S,D),this.dispatch("scroll-vertical",S,D),this.dispatchExternal("scrollVertical",S,D))})}findRow(e){if(typeof e=="object"){if(e instanceof vl)return e;if(e instanceof Wy)return e._getSelf()||!1;if(typeof HTMLElement<"u"&&e instanceof HTMLElement)return this.rows.find(S=>S.getElement()===e)||!1;if(e===null)return!1}else return typeof e>"u"?!1:this.rows.find(S=>S.data[this.table.options.index]==e)||!1;return!1}getRowFromDataObject(e){var r=this.rows.find(S=>S.data===e);return r||!1}getRowFromPosition(e){return this.getDisplayRows().find(r=>r.getPosition()===e&&r.isDisplayed())}scrollToRow(e,r,S){return this.renderer.scrollToRowPosition(e,r,S)}setData(e,r,S){return new Promise((D,T)=>{r&&this.getDisplayRows().length?this.table.options.pagination?this._setDataActual(e,!0):this.reRenderInPosition(()=>{this._setDataActual(e)}):(this.table.options.autoColumns&&S&&this.table.initialized&&this.table.columnManager.generateColumnsFromRowData(e),this.resetScroll(),this._setDataActual(e)),D()})}_setDataActual(e,r){this.dispatchExternal("dataProcessing",e),this._wipeElements(),Array.isArray(e)?(this.dispatch("data-processing",e),e.forEach((S,D)=>{if(S&&typeof S=="object"){var T=new vl(S,this);this.rows.push(T)}else console.warn("Data Loading Warning - Invalid row data detected and ignored, expecting object but received:",S)}),this.refreshActiveData(!1,!1,r),this.dispatch("data-processed",e),this.dispatchExternal("dataProcessed",e)):console.error(`Data Loading Error - Unable to process data due to invalid data type Expecting: array Received: `,typeof e,` -Data: `,e)}_wipeElements(){this.dispatch("rows-wipe"),this.destroy(),this.adjustTableSize(),this.dispatch("rows-wiped")}destroy(){this.rows.forEach(e=>{e.wipe()}),this.rows=[],this.activeRows=[],this.activeRowsPipeline=[],this.activeRowsCount=0,this.displayRows=[],this.displayRowsCount=0}deleteRow(e,r){var C=this.rows.indexOf(e),D=this.activeRows.indexOf(e);D>-1&&this.activeRows.splice(D,1),C>-1&&this.rows.splice(C,1),this.setActiveRows(this.activeRows),this.displayRowIterator(T=>{var p=T.indexOf(e);p>-1&&T.splice(p,1)}),r||this.reRenderInPosition(),this.regenerateRowPositions(),this.dispatchExternal("rowDeleted",e.getComponent()),this.displayRowsCount||this.tableEmpty(),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.getData())}addRow(e,r,C,D){var T=this.addRowActual(e,r,C,D);return T}addRows(e,r,C,D){var T=[];return new Promise((p,t)=>{r=this.findAddRowPos(r),Array.isArray(e)||(e=[e]),(typeof C>"u"&&r||typeof C<"u"&&!r)&&e.reverse(),e.forEach((d,g)=>{var i=this.addRow(d,r,C,!0);T.push(i),this.dispatch("row-added",i,d,r,C)}),this.refreshActiveData(D?"displayPipeline":!1,!1,!0),this.regenerateRowPositions(),this.displayRowsCount&&this._clearPlaceholder(),p(T)})}findAddRowPos(e){return typeof e>"u"&&(e=this.table.options.addRowPos),e==="pos"&&(e=!0),e==="bottom"&&(e=!1),e}addRowActual(e,r,C,D){var T=e instanceof vl?e:new vl(e||{},this),p=this.findAddRowPos(r),t=-1,d,g;return C||(g=this.chain("row-adding-position",[T,p],null,{index:C,top:p}),C=g.index,p=g.top),typeof C<"u"&&(C=this.findRow(C)),C=this.chain("row-adding-index",[T,C,p],null,C),C&&(t=this.rows.indexOf(C)),C&&t>-1?(d=this.activeRows.indexOf(C),this.displayRowIterator(function(i){var M=i.indexOf(C);M>-1&&i.splice(p?M:M+1,0,T)}),d>-1&&this.activeRows.splice(p?d:d+1,0,T),this.rows.splice(p?t:t+1,0,T)):p?(this.displayRowIterator(function(i){i.unshift(T)}),this.activeRows.unshift(T),this.rows.unshift(T)):(this.displayRowIterator(function(i){i.push(T)}),this.activeRows.push(T),this.rows.push(T)),this.setActiveRows(this.activeRows),this.dispatchExternal("rowAdded",T.getComponent()),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.table.rowManager.getData()),D||this.reRenderInPosition(),T}moveRow(e,r,C){this.dispatch("row-move",e,r,C),this.moveRowActual(e,r,C),this.regenerateRowPositions(),this.dispatch("row-moved",e,r,C),this.dispatchExternal("rowMoved",e.getComponent())}moveRowActual(e,r,C){this.moveRowInArray(this.rows,e,r,C),this.moveRowInArray(this.activeRows,e,r,C),this.displayRowIterator(D=>{this.moveRowInArray(D,e,r,C)}),this.dispatch("row-moving",e,r,C)}moveRowInArray(e,r,C,D){var T,p,t,d;if(r!==C&&(T=e.indexOf(r),T>-1&&(e.splice(T,1),p=e.indexOf(C),p>-1?D?e.splice(p+1,0,r):e.splice(p,0,r):e.splice(T,0,r)),e===this.getDisplayRows())){t=TT?p:T+1;for(let g=t;g<=d;g++)e[g]&&this.styleRow(e[g],g)}}clearData(){this.setData([])}getRowIndex(e){return this.findRowIndex(e,this.rows)}getDisplayRowIndex(e){var r=this.getDisplayRows().indexOf(e);return r>-1?r:!1}nextDisplayRow(e,r){var C=this.getDisplayRowIndex(e),D=!1;return C!==!1&&C-1)?C:!1}getData(e,r){var C=[],D=this.getRows(e);return D.forEach(function(T){T.type=="row"&&C.push(T.getData(r||"data"))}),C}getComponents(e){var r=[],C=this.getRows(e);return C.forEach(function(D){r.push(D.getComponent())}),r}getDataCount(e){var r=this.getRows(e);return r.length}scrollHorizontal(e){this.scrollLeft=e,this.element.scrollLeft=e,this.dispatch("scroll-horizontal",e)}registerDataPipelineHandler(e,r){typeof r<"u"?(this.dataPipeline.push({handler:e,priority:r}),this.dataPipeline.sort((C,D)=>C.priority-D.priority)):console.error("Data pipeline handlers must have a priority in order to be registered")}registerDisplayPipelineHandler(e,r){typeof r<"u"?(this.displayPipeline.push({handler:e,priority:r}),this.displayPipeline.sort((C,D)=>C.priority-D.priority)):console.error("Display pipeline handlers must have a priority in order to be registered")}refreshActiveData(e,r,C){var D=this.table,T="",p=0,t=["all","dataPipeline","display","displayPipeline","end"];if(!this.table.destroyed){if(typeof e=="function")if(p=this.dataPipeline.findIndex(d=>d.handler===e),p>-1)T="dataPipeline",r&&(p==this.dataPipeline.length-1?T="display":p++);else if(p=this.displayPipeline.findIndex(d=>d.handler===e),p>-1)T="displayPipeline",r&&(p==this.displayPipeline.length-1?T="end":p++);else{console.error("Unable to refresh data, invalid handler provided",e);return}else T=e||"all",p=0;if(this.redrawBlock){(!this.redrawBlockRestoreConfig||this.redrawBlockRestoreConfig&&(this.redrawBlockRestoreConfig.stage===T&&p{C.type==="row"&&(C.setPosition(r),r++)})}setActiveRows(e){this.activeRows=this.activeRows=Object.assign([],e),this.activeRowsCount=this.activeRows.length}resetDisplayRows(){this.displayRows=[],this.displayRows.push(this.activeRows.slice(0)),this.displayRowsCount=this.displayRows[0].length}setDisplayRows(e,r){this.displayRows[r]=e,r==this.displayRows.length-1&&(this.displayRowsCount=this.displayRows[this.displayRows.length-1].length)}getDisplayRows(e){return typeof e>"u"?this.displayRows.length?this.displayRows[this.displayRows.length-1]:[]:this.displayRows[e]||[]}getVisibleRows(e,r){var C=Object.assign([],this.renderer.visibleRows(!r));return e&&(C=this.chain("rows-visible",[r],C,C)),C}displayRowIterator(e){this.activeRowsPipeline.forEach(e),this.displayRows.forEach(e),this.displayRowsCount=this.displayRows[this.displayRows.length-1].length}getRows(e){var r=[];switch(e){case"active":r=this.activeRows;break;case"display":r=this.table.rowManager.getDisplayRows();break;case"visible":r=this.getVisibleRows(!1,!0);break;default:r=this.chain("rows-retrieve",e,null,this.rows)||this.rows}return r}reRenderInPosition(e){this.redrawBlock?e?e():this.redrawBlockRenderInPosition=!0:(this.dispatchExternal("renderStarted"),this.renderer.rerenderRows(e),this.fixedHeight||this.adjustTableSize(),this.scrollBarCheck(),this.dispatchExternal("renderComplete"))}scrollBarCheck(){var e=0;this.element.scrollHeight>this.element.clientHeight&&(e=this.element.offsetWidth-this.element.clientWidth),e!==this.scrollbarWidth&&(this.scrollbarWidth=e,this.dispatch("scrollbar-vertical",e))}initializeRenderer(){var e,r={virtual:VP,basic:NP};typeof this.table.options.renderVertical=="string"?e=r[this.table.options.renderVertical]:e=this.table.options.renderVertical,e?(this.renderMode=this.table.options.renderVertical,this.renderer=new e(this.table,this.element,this.tableElement),this.renderer.initialize(),(this.table.element.clientHeight||this.table.options.height)&&!(this.table.options.minHeight&&this.table.options.maxHeight)?this.fixedHeight=!0:this.fixedHeight=!1):console.error("Unable to find matching renderer:",this.table.options.renderVertical)}getRenderMode(){return this.renderMode}renderTable(){this.dispatchExternal("renderStarted"),this.element.scrollTop=0,this._clearTable(),this.displayRowsCount?(this.renderer.renderRows(),this.firstRender&&(this.firstRender=!1,this.fixedHeight||this.adjustTableSize(),this.layoutRefresh(!0))):this.renderEmptyScroll(),this.fixedHeight||this.adjustTableSize(),this.dispatch("table-layout"),this.displayRowsCount||this._showPlaceholder(),this.scrollBarCheck(),this.dispatchExternal("renderComplete")}renderEmptyScroll(){this.placeholder?this.tableElement.style.display="none":this.tableElement.style.minWidth=this.table.columnManager.getWidth()+"px"}_clearTable(){this._clearPlaceholder(),this.scrollTop=0,this.scrollLeft=0,this.renderer.clearRows()}tableEmpty(){this.renderEmptyScroll(),this._showPlaceholder()}checkPlaceholder(){this.displayRowsCount?this._clearPlaceholder():this.tableEmpty()}_showPlaceholder(){this.placeholder&&(this.placeholder&&this.placeholder.parentNode&&this.placeholder.parentNode.removeChild(this.placeholder),this.initializePlaceholder(),this.placeholder.setAttribute("tabulator-render-mode",this.renderMode),this.getElement().appendChild(this.placeholder),this._positionPlaceholder(),this.adjustTableSize())}_clearPlaceholder(){this.placeholder&&this.placeholder.parentNode&&this.placeholder.parentNode.removeChild(this.placeholder),this.tableElement.style.minWidth="",this.tableElement.style.display=""}_positionPlaceholder(){this.placeholder&&this.placeholder.parentNode&&(this.placeholder.style.width=this.table.columnManager.getWidth()+"px",this.placeholderContents.style.width=this.table.rowManager.element.clientWidth+"px",this.placeholderContents.style.marginLeft=this.scrollLeft+"px")}styleRow(e,r){var C=e.getElement();r%2?(C.classList.add("tabulator-row-even"),C.classList.remove("tabulator-row-odd")):(C.classList.add("tabulator-row-odd"),C.classList.remove("tabulator-row-even"))}normalizeHeight(){this.activeRows.forEach(function(e){e.normalizeHeight()})}adjustTableSize(){let e=this.element.clientHeight,r,C=!1;if(this.renderer.verticalFillMode==="fill"){let D=Math.floor(this.table.columnManager.getElement().getBoundingClientRect().height+(this.table.footerManager&&this.table.footerManager.active&&!this.table.footerManager.external?this.table.footerManager.getElement().getBoundingClientRect().height:0));if(this.fixedHeight){r=isNaN(this.table.options.minHeight)?this.table.options.minHeight:this.table.options.minHeight+"px";const T="calc(100% - "+D+"px)";this.element.style.minHeight=r||"calc(100% - "+D+"px)",this.element.style.height=T,this.element.style.maxHeight=T}else this.element.style.height="",this.element.style.height=this.table.element.clientHeight-D+"px",this.element.scrollTop=this.scrollTop;this.renderer.resize(),!this.fixedHeight&&e!=this.element.clientHeight&&(C=!0,this.subscribed("table-resize")?this.dispatch("table-resize"):this.redraw()),this.scrollBarCheck()}return this._positionPlaceholder(),C}reinitialize(){this.rows.forEach(function(e){e.reinitialize(!0)})}blockRedraw(){this.redrawBlock=!0,this.redrawBlockRestoreConfig=!1}restoreRedraw(){this.redrawBlock=!1,this.redrawBlockRestoreConfig?(this.refreshActiveData(this.redrawBlockRestoreConfig.handler,this.redrawBlockRestoreConfig.skipStage,this.redrawBlockRestoreConfig.renderInPosition),this.redrawBlockRestoreConfig=!1):this.redrawBlockRenderInPosition&&this.reRenderInPosition(),this.redrawBlockRenderInPosition=!1}redraw(e){this.adjustTableSize(),this.table.tableWidth=this.table.element.clientWidth,e?this.renderTable():(this.reRenderInPosition(),this.scrollHorizontal(this.scrollLeft))}resetScroll(){if(this.element.scrollLeft=0,this.element.scrollTop=0,this.table.browser==="ie"){var e=document.createEvent("Event");e.initEvent("scroll",!1,!0),this.element.dispatchEvent(e)}else this.element.dispatchEvent(new Event("scroll"))}}class UP extends kl{constructor(e){super(e),this.active=!1,this.element=this.createElement(),this.containerElement=this.createContainerElement(),this.external=!1}initialize(){this.initializeElement()}createElement(){var e=document.createElement("div");return e.classList.add("tabulator-footer"),e}createContainerElement(){var e=document.createElement("div");return e.classList.add("tabulator-footer-contents"),this.element.appendChild(e),e}initializeElement(){if(this.table.options.footerElement)switch(typeof this.table.options.footerElement){case"string":this.table.options.footerElement[0]==="<"?this.containerElement.innerHTML=this.table.options.footerElement:(this.external=!0,this.containerElement=document.querySelector(this.table.options.footerElement));break;default:this.element=this.table.options.footerElement;break}}getElement(){return this.element}append(e){this.activate(),this.containerElement.appendChild(e),this.table.rowManager.adjustTableSize()}prepend(e){this.activate(),this.element.insertBefore(e,this.element.firstChild),this.table.rowManager.adjustTableSize()}remove(e){e.parentNode.removeChild(e),this.deactivate()}deactivate(e){(!this.element.firstChild||e)&&(this.external||this.element.parentNode.removeChild(this.element),this.active=!1)}activate(){this.active||(this.active=!0,this.external||(this.table.element.appendChild(this.getElement()),this.table.element.style.display=""))}redraw(){this.dispatch("footer-redraw")}}class HP extends kl{constructor(e){super(e),this.el=null,this.abortClasses=["tabulator-headers","tabulator-table"],this.previousTargets={},this.listeners=["click","dblclick","contextmenu","mouseenter","mouseleave","mouseover","mouseout","mousemove","mouseup","mousedown","touchstart","touchend"],this.componentMap={"tabulator-cell":"cell","tabulator-row":"row","tabulator-group":"group","tabulator-col":"column"},this.pseudoTrackers={row:{subscriber:null,target:null},cell:{subscriber:null,target:null},group:{subscriber:null,target:null},column:{subscriber:null,target:null}},this.pseudoTracking=!1}initialize(){this.el=this.table.element,this.buildListenerMap(),this.bindSubscriptionWatchers()}buildListenerMap(){var e={};this.listeners.forEach(r=>{e[r]={handler:null,components:[]}}),this.listeners=e}bindPseudoEvents(){Object.keys(this.pseudoTrackers).forEach(e=>{this.pseudoTrackers[e].subscriber=this.pseudoMouseEnter.bind(this,e),this.subscribe(e+"-mouseover",this.pseudoTrackers[e].subscriber)}),this.pseudoTracking=!0}pseudoMouseEnter(e,r,C){this.pseudoTrackers[e].target!==C&&(this.pseudoTrackers[e].target&&this.dispatch(e+"-mouseleave",r,this.pseudoTrackers[e].target),this.pseudoMouseLeave(e,r),this.pseudoTrackers[e].target=C,this.dispatch(e+"-mouseenter",r,C))}pseudoMouseLeave(e,r){var C=Object.keys(this.pseudoTrackers),D={row:["cell"],cell:["row"]};C=C.filter(T=>{var p=D[e];return T!==e&&(!p||p&&!p.includes(T))}),C.forEach(T=>{var p=this.pseudoTrackers[T].target;this.pseudoTrackers[T].target&&(this.dispatch(T+"-mouseleave",r,p),this.pseudoTrackers[T].target=null)})}bindSubscriptionWatchers(){var e=Object.keys(this.listeners),r=Object.values(this.componentMap);for(let C of r)for(let D of e){let T=C+"-"+D;this.subscriptionChange(T,this.subscriptionChanged.bind(this,C,D))}this.subscribe("table-destroy",this.clearWatchers.bind(this))}subscriptionChanged(e,r,C){var D=this.listeners[r].components,T=D.indexOf(e),p=!1;C?T===-1&&(D.push(e),p=!0):this.subscribed(e+"-"+r)||T>-1&&(D.splice(T,1),p=!0),(r==="mouseenter"||r==="mouseleave")&&!this.pseudoTracking&&this.bindPseudoEvents(),p&&this.updateEventListeners()}updateEventListeners(){for(let e in this.listeners){let r=this.listeners[e];r.components.length?r.handler||(r.handler=this.track.bind(this,e),this.el.addEventListener(e,r.handler)):r.handler&&(this.el.removeEventListener(e,r.handler),r.handler=null)}}track(e,r){var C=r.composedPath&&r.composedPath()||r.path,D=this.findTargets(C);D=this.bindComponents(e,D),this.triggerEvents(e,r,D),this.pseudoTracking&&(e=="mouseover"||e=="mouseleave")&&!Object.keys(D).length&&this.pseudoMouseLeave("none",r)}findTargets(e){var r={};let C=Object.keys(this.componentMap);for(let D of e){let T=D.classList?[...D.classList]:[];if(T.filter(d=>this.abortClasses.includes(d)).length)break;let t=T.filter(d=>C.includes(d));for(let d of t)r[this.componentMap[d]]||(r[this.componentMap[d]]=D)}return r.group&&r.group===r.row&&delete r.row,r}bindComponents(e,r){var C=Object.keys(r).reverse(),D=this.listeners[e],T={},p={};for(let t of C){let d,g=r[t],i=this.previousTargets[t];if(i&&i.target===g)d=i.component;else switch(t){case"row":case"group":(D.components.includes("row")||D.components.includes("cell")||D.components.includes("group"))&&(d=this.table.rowManager.getVisibleRows(!0).find(v=>v.getElement()===g),r.row&&r.row.parentNode&&r.row.parentNode.closest(".tabulator-row")&&(r[t]=!1));break;case"column":D.components.includes("column")&&(d=this.table.columnManager.findColumn(g));break;case"cell":D.components.includes("cell")&&(T.row instanceof vl?d=T.row.findCell(g):r.row&&console.warn("Event Target Lookup Error - The row this cell is attached to cannot be found, has the table been reinitialized without being destroyed first?"));break}d&&(T[t]=d,p[t]={target:g,component:d})}return this.previousTargets=p,T}triggerEvents(e,r,C){var D=this.listeners[e];for(let T in C)C[T]&&D.components.includes(T)&&this.dispatch(T+"-"+e,r,C[T])}clearWatchers(){for(let e in this.listeners){let r=this.listeners[e];r.handler&&(this.el.removeEventListener(e,r.handler),r.handler=null)}}}class GP{constructor(e){this.table=e,this.bindings={}}bind(e,r,C){this.bindings[e]||(this.bindings[e]={}),this.bindings[e][r]?console.warn("Unable to bind component handler, a matching function name is already bound",e,r,C):this.bindings[e][r]=C}handle(e,r,C){if(this.bindings[e]&&this.bindings[e][C]&&typeof this.bindings[e][C].bind=="function")return this.bindings[e][C].bind(null,r);C!=="then"&&typeof C=="string"&&!C.startsWith("_")&&this.table.options.debugInvalidComponentFuncs&&console.error("The "+e+" component does not have a "+C+" function, have you checked that you have the correct Tabulator module installed?")}}class qP extends kl{constructor(e){super(e),this.requestOrder=0,this.loading=!1}initialize(){}load(e,r,C,D,T,p){var t=++this.requestOrder;if(this.table.destroyed)return Promise.resolve();if(this.dispatchExternal("dataLoading",e),e&&(e.indexOf("{")==0||e.indexOf("[")==0)&&(e=JSON.parse(e)),this.confirm("data-loading",[e,r,C,T])){this.loading=!0,T||this.alertLoader(),r=this.chain("data-params",[e,C,T],r||{},r||{}),r=this.mapParams(r,this.table.options.dataSendParams);var d=this.chain("data-load",[e,r,C,T],!1,Promise.resolve([]));return d.then(g=>{if(this.table.destroyed)console.warn("Data Load Response Blocked - Table has been destroyed");else{!Array.isArray(g)&&typeof g=="object"&&(g=this.mapParams(g,this.objectInvert(this.table.options.dataReceiveParams)));var i=this.chain("data-loaded",g,null,g);t==this.requestOrder?(this.clearAlert(),i!==!1&&(this.dispatchExternal("dataLoaded",i),this.table.rowManager.setData(i,D,typeof p>"u"?!D:p))):console.warn("Data Load Response Blocked - An active data load request was blocked by an attempt to change table data while the request was being made")}}).catch(g=>{console.error("Data Load Error: ",g),this.dispatchExternal("dataLoadError",g),T||this.alertError(),setTimeout(()=>{this.clearAlert()},this.table.options.dataLoaderErrorTimeout)}).finally(()=>{this.loading=!1})}else return this.dispatchExternal("dataLoaded",e),e||(e=[]),this.table.rowManager.setData(e,D,typeof p>"u"?!D:p),Promise.resolve()}mapParams(e,r){var C={};for(let D in e)C[r.hasOwnProperty(D)?r[D]:D]=e[D];return C}objectInvert(e){var r={};for(let C in e)r[e[C]]=C;return r}blockActiveLoad(){this.requestOrder++}alertLoader(){var e=typeof this.table.options.dataLoader=="function"?this.table.options.dataLoader():this.table.options.dataLoader;e&&this.table.alertManager.alert(this.table.options.dataLoaderLoading||this.langText("data|loading"))}alertError(){this.table.alertManager.alert(this.table.options.dataLoaderError||this.langText("data|error"),"error")}clearAlert(){this.table.alertManager.clear()}}class WP{constructor(e,r,C){this.table=e,this.events={},this.optionsList=r||{},this.subscriptionNotifiers={},this.dispatch=C?this._debugDispatch.bind(this):this._dispatch.bind(this),this.debug=C}subscriptionChange(e,r){this.subscriptionNotifiers[e]||(this.subscriptionNotifiers[e]=[]),this.subscriptionNotifiers[e].push(r),this.subscribed(e)&&this._notifySubscriptionChange(e,!0)}subscribe(e,r){this.events[e]||(this.events[e]=[]),this.events[e].push(r),this._notifySubscriptionChange(e,!0)}unsubscribe(e,r){var C;if(this.events[e])if(r)if(C=this.events[e].findIndex(D=>D===r),C>-1)this.events[e].splice(C,1);else{console.warn("Cannot remove event, no matching event found:",e,r);return}else delete this.events[e];else{console.warn("Cannot remove event, no events set on:",e);return}this._notifySubscriptionChange(e,!1)}subscribed(e){return this.events[e]&&this.events[e].length}_notifySubscriptionChange(e,r){var C=this.subscriptionNotifiers[e];C&&C.forEach(D=>{D(r)})}_dispatch(){var e=Array.from(arguments),r=e.shift(),C;return this.events[r]&&this.events[r].forEach((D,T)=>{let p=D.apply(this.table,e);T||(C=p)}),C}_debugDispatch(){var e=Array.from(arguments),r=e[0];return e[0]="ExternalEvent:"+e[0],(this.debug===!0||this.debug.includes(r))&&console.log(...e),this._dispatch(...arguments)}}class YP{constructor(e){this.events={},this.subscriptionNotifiers={},this.dispatch=e?this._debugDispatch.bind(this):this._dispatch.bind(this),this.chain=e?this._debugChain.bind(this):this._chain.bind(this),this.confirm=e?this._debugConfirm.bind(this):this._confirm.bind(this),this.debug=e}subscriptionChange(e,r){this.subscriptionNotifiers[e]||(this.subscriptionNotifiers[e]=[]),this.subscriptionNotifiers[e].push(r),this.subscribed(e)&&this._notifySubscriptionChange(e,!0)}subscribe(e,r,C=1e4){this.events[e]||(this.events[e]=[]),this.events[e].push({callback:r,priority:C}),this.events[e].sort((D,T)=>D.priority-T.priority),this._notifySubscriptionChange(e,!0)}unsubscribe(e,r){var C;if(this.events[e]){if(r)if(C=this.events[e].findIndex(D=>D.callback===r),C>-1)this.events[e].splice(C,1);else{console.warn("Cannot remove event, no matching event found:",e,r);return}}else{console.warn("Cannot remove event, no events set on:",e);return}this._notifySubscriptionChange(e,!1)}subscribed(e){return this.events[e]&&this.events[e].length}_chain(e,r,C,D){var T=C;return Array.isArray(r)||(r=[r]),this.subscribed(e)?(this.events[e].forEach((p,t)=>{T=p.callback.apply(this,r.concat([T]))}),T):typeof D=="function"?D():D}_confirm(e,r){var C=!1;return Array.isArray(r)||(r=[r]),this.subscribed(e)&&this.events[e].forEach((D,T)=>{D.callback.apply(this,r)&&(C=!0)}),C}_notifySubscriptionChange(e,r){var C=this.subscriptionNotifiers[e];C&&C.forEach(D=>{D(r)})}_dispatch(){var e=Array.from(arguments),r=e.shift();this.events[r]&&this.events[r].forEach(C=>{C.callback.apply(this,e)})}_debugDispatch(){var e=Array.from(arguments),r=e[0];return e[0]="InternalEvent:"+r,(this.debug===!0||this.debug.includes(r))&&console.log(...e),this._dispatch(...arguments)}_debugChain(){var e=Array.from(arguments),r=e[0];return e[0]="InternalEvent:"+r,(this.debug===!0||this.debug.includes(r))&&console.log(...e),this._chain(...arguments)}_debugConfirm(){var e=Array.from(arguments),r=e[0];return e[0]="InternalEvent:"+r,(this.debug===!0||this.debug.includes(r))&&console.log(...e),this._confirm(...arguments)}}class $P extends kl{constructor(e){super(e)}_warnUser(){this.options("debugDeprecation")&&console.warn(...arguments)}check(e,r,C){var D="";return typeof this.options(e)<"u"?(D="Deprecated Setup Option - Use of the %c"+e+"%c option is now deprecated",r?(D=D+", Please use the %c"+r+"%c option instead",this._warnUser(D,"font-weight: bold;","font-weight: normal;","font-weight: bold;","font-weight: normal;"),C&&(this.table.options[r]=this.table.options[e])):this._warnUser(D,"font-weight: bold;","font-weight: normal;"),!1):!0}checkMsg(e,r){return typeof this.options(e)<"u"?(this._warnUser("%cDeprecated Setup Option - Use of the %c"+e+" %c option is now deprecated, "+r,"font-weight: normal;","font-weight: bold;","font-weight: normal;"),!1):!0}msg(e){this._warnUser(e)}}class pu{static register(e){pu.tables.push(e)}static deregister(e){var r=pu.tables.indexOf(e);r>-1&&pu.tables.splice(r,1)}static lookupTable(e,r){var C=[],D,T;if(typeof e=="string"){if(D=document.querySelectorAll(e),D.length)for(var p=0;p{p.widthFixed||p.reinitializeWidth(),(this.table.options.responsiveLayout?p.modules.responsive.visible:p.visible)&&(T=p),p.visible&&(r+=p.getWidth())}),T?(D=C-r+T.getWidth(),this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&(T.setWidth(0),this.table.modules.responsiveLayout.update()),D>0?T.setWidth(D):T.reinitializeWidth()):this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&this.table.modules.responsiveLayout.update()}function KP(n,e){var r=this.table.rowManager.element.getBoundingClientRect().width,C=0,D=0,T=0,p=0,t=[],d=[],g=0,i=0,M=0;function v(l){var a;return typeof l=="string"?l.indexOf("%")>-1?a=r/100*parseInt(l):a=parseInt(l):a=l,a}function f(l,a,u,o){var s=[],c=0,h=0,m=0,w=T,y=0,S=0,_=[];function k(x){return u*(x.column.definition.widthGrow||1)}function E(x){return v(x.width)-u*(x.column.definition.widthShrink||0)}return l.forEach(function(x,A){var L=o?E(x):k(x);x.column.minWidth>=L?s.push(x):x.column.maxWidth&&x.column.maxWidththis.table.rowManager.element.clientHeight&&(r-=this.table.rowManager.element.offsetWidth-this.table.rowManager.element.clientWidth),n.forEach(function(l){var a,u,o;l.visible&&(a=l.definition.width,u=parseInt(l.minWidth),a?(o=v(a),C+=o>u?o:u,l.definition.widthShrink&&(d.push({column:l,width:o>u?o:u}),g+=l.definition.widthShrink)):(t.push({column:l,width:0}),T+=l.definition.widthGrow||1))}),D=r-C,p=Math.floor(D/T),M=f(t,D,p,!1),t.length&&M>0&&(t[t.length-1].width+=M),t.forEach(function(l){D-=l.width}),i=Math.abs(M)+D,i>0&&g&&(M=f(d,i,Math.floor(i/g),!0)),M&&d.length&&(d[d.length-1].width-=M),t.forEach(function(l){l.column.setWidth(l.width)}),d.forEach(function(l){l.column.setWidth(l.width)})}var JP={fitData:ZP,fitDataFill:v5,fitDataTable:v5,fitDataStretch:XP,fitColumns:KP};class s0 extends qi{constructor(e){super(e,"layout"),this.mode=null,this.registerTableOption("layout","fitData"),this.registerTableOption("layoutColumnsOnNewData",!1),this.registerColumnOption("widthGrow"),this.registerColumnOption("widthShrink")}initialize(){var e=this.table.options.layout;s0.modes[e]?this.mode=e:(console.warn("Layout Error - invalid mode set, defaulting to 'fitData' : "+e),this.mode="fitData"),this.table.element.setAttribute("tabulator-layout",this.mode),this.subscribe("column-init",this.initializeColumn.bind(this))}initializeColumn(e){e.definition.widthGrow&&(e.definition.widthGrow=Number(e.definition.widthGrow)),e.definition.widthShrink&&(e.definition.widthShrink=Number(e.definition.widthShrink))}getMode(){return this.mode}layout(e){this.dispatch("layout-refreshing"),s0.modes[this.mode].call(this,this.table.columnManager.columnsByIndex,e),this.dispatch("layout-refreshed")}}s0.moduleName="layout";s0.modes=JP;var QP={default:{groups:{item:"item",items:"items"},columns:{},data:{loading:"Loading",error:"Error"},pagination:{page_size:"Page Size",page_title:"Show Page",first:"First",first_title:"First Page",last:"Last",last_title:"Last Page",prev:"Prev",prev_title:"Prev Page",next:"Next",next_title:"Next Page",all:"All",counter:{showing:"Showing",of:"of",rows:"rows",pages:"pages"}},headerFilters:{default:"filter column...",columns:{}}}};class ag extends qi{constructor(e){super(e),this.locale="default",this.lang=!1,this.bindings={},this.langList={},this.registerTableOption("locale",!1),this.registerTableOption("langs",{})}initialize(){this.langList=oo.deepClone(ag.langs),this.table.options.columnDefaults.headerFilterPlaceholder!==!1&&this.setHeaderFilterPlaceholder(this.table.options.columnDefaults.headerFilterPlaceholder);for(let e in this.table.options.langs)this.installLang(e,this.table.options.langs[e]);this.setLocale(this.table.options.locale),this.registerTableFunction("setLocale",this.setLocale.bind(this)),this.registerTableFunction("getLocale",this.getLocale.bind(this)),this.registerTableFunction("getLang",this.getLang.bind(this))}setHeaderFilterPlaceholder(e){this.langList.default.headerFilters.default=e}installLang(e,r){this.langList[e]?this._setLangProp(this.langList[e],r):this.langList[e]=r}_setLangProp(e,r){for(let C in r)e[C]&&typeof e[C]=="object"?this._setLangProp(e[C],r[C]):e[C]=r[C]}setLocale(e){e=e||"default";function r(C,D){for(var T in C)typeof C[T]=="object"?(D[T]||(D[T]={}),r(C[T],D[T])):D[T]=C[T]}if(e===!0&&navigator.language&&(e=navigator.language.toLowerCase()),e&&!this.langList[e]){let C=e.split("-")[0];this.langList[C]?(console.warn("Localization Error - Exact matching locale not found, using closest match: ",e,C),e=C):(console.warn("Localization Error - Matching locale not found, using default: ",e),e="default")}this.locale=e,this.lang=oo.deepClone(this.langList.default||{}),e!="default"&&r(this.langList[e],this.lang),this.dispatchExternal("localized",this.locale,this.lang),this._executeBindings()}getLocale(e){return this.locale}getLang(e){return e?this.langList[e]:this.lang}getText(e,r){var C=r?e+"|"+r:e,D=C.split("|"),T=this._getLangElement(D,this.locale);return T||""}_getLangElement(e,r){var C=this.lang;return e.forEach(function(D){var T;C&&(T=C[D],typeof T<"u"?C=T:C=!1)}),C}bind(e,r){this.bindings[e]||(this.bindings[e]=[]),this.bindings[e].push(r),r(this.getText(e),this.lang)}_executeBindings(){for(let e in this.bindings)this.bindings[e].forEach(r=>{r(this.getText(e),this.lang)})}}ag.moduleName="localize";ag.langs=QP;class e6 extends qi{constructor(e){super(e)}initialize(){this.registerTableFunction("tableComms",this.receive.bind(this))}getConnections(e){var r=[],C;return C=pu.lookupTable(e),C.forEach(D=>{this.table!==D&&r.push(D)}),r}send(e,r,C,D){var T=this.getConnections(e);T.forEach(p=>{p.tableComms(this.table.element,r,C,D)}),!T.length&&e&&console.warn("Table Connection Error - No tables matching selector found",e)}receive(e,r,C,D){if(this.table.modExists(r))return this.table.modules[r].commsReceived(e,C,D);console.warn("Inter-table Comms Error - no such module:",r)}}e6.moduleName="comms";var eO=Object.freeze({__proto__:null,LayoutModule:s0,LocalizeModule:ag,CommsModule:e6});class t6{constructor(e,r){this.bindStaticFunctionality(e),this.bindModules(e,eO,!0),r&&this.bindModules(e,r)}bindStaticFunctionality(e){e.moduleBindings={},e.extendModule=function(r,C,D){if(e.moduleBindings[r]){var T=e.moduleBindings[r][C];if(T)if(typeof D=="object")for(let p in D)T[p]=D[p];else console.warn("Module Error - Invalid value type, it must be an object");else console.warn("Module Error - property does not exist:",C)}else console.warn("Module Error - module does not exist:",r)},e.registerModule=function(r){Array.isArray(r)||(r=[r]),r.forEach(C=>{e.registerModuleBinding(C)})},e.registerModuleBinding=function(r){e.moduleBindings[r.moduleName]=r},e.findTable=function(r){var C=pu.lookupTable(r,!0);return Array.isArray(C)&&!C.length?!1:C},e.prototype.bindModules=function(){var r=[],C=[],D=[];this.modules={};for(var T in e.moduleBindings){let p=e.moduleBindings[T],t=new p(this);this.modules[T]=t,p.prototype.moduleCore?this.modulesCore.push(t):p.moduleInitOrder?p.moduleInitOrder<0?r.push(t):C.push(t):D.push(t)}r.sort((p,t)=>p.moduleInitOrder>t.moduleInitOrder?1:-1),C.sort((p,t)=>p.moduleInitOrder>t.moduleInitOrder?1:-1),this.modulesRegular=r.concat(D.concat(C))}}bindModules(e,r,C){var D=Object.values(r);C&&D.forEach(T=>{T.prototype.moduleCore=!0}),e.registerModule(D)}}class tO extends kl{constructor(e){super(e),this.element=this._createAlertElement(),this.msgElement=this._createMsgElement(),this.type=null,this.element.appendChild(this.msgElement)}_createAlertElement(){var e=document.createElement("div");return e.classList.add("tabulator-alert"),e}_createMsgElement(){var e=document.createElement("div");return e.classList.add("tabulator-alert-msg"),e.setAttribute("role","alert"),e}_typeClass(){return"tabulator-alert-state-"+this.type}alert(e,r="msg"){if(e){for(this.clear(),this.dispatch("alert-show",r),this.type=r;this.msgElement.firstChild;)this.msgElement.removeChild(this.msgElement.firstChild);this.msgElement.classList.add(this._typeClass()),typeof e=="function"&&(e=e()),e instanceof HTMLElement?this.msgElement.appendChild(e):this.msgElement.innerHTML=e,this.table.element.appendChild(this.element)}}clear(){this.dispatch("alert-hide",this.type),this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.msgElement.classList.remove(this._typeClass())}}class Yd{constructor(e,r){this.options={},this.columnManager=null,this.rowManager=null,this.footerManager=null,this.alertManager=null,this.vdomHoz=null,this.externalEvents=null,this.eventBus=null,this.interactionMonitor=!1,this.browser="",this.browserSlow=!1,this.browserMobile=!1,this.rtl=!1,this.originalElement=null,this.componentFunctionBinder=new GP(this),this.dataLoader=!1,this.modules={},this.modulesCore=[],this.modulesRegular=[],this.deprecationAdvisor=new $P(this),this.optionsList=new QM(this,"table constructor"),this.initialized=!1,this.destroyed=!1,this.initializeElement(e)&&(this.initializeCoreSystems(r),setTimeout(()=>{this._create()})),pu.register(this)}initializeElement(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement?(this.element=e,!0):typeof e=="string"?(this.element=document.querySelector(e),this.element?!0:(console.error("Tabulator Creation Error - no element found matching selector: ",e),!1)):(console.error("Tabulator Creation Error - Invalid element provided:",e),!1)}initializeCoreSystems(e){this.columnManager=new BP(this),this.rowManager=new jP(this),this.footerManager=new UP(this),this.dataLoader=new qP(this),this.alertManager=new tO(this),this.bindModules(),this.options=this.optionsList.generate(Yd.defaultOptions,e),this._clearObjectPointers(),this._mapDeprecatedFunctionality(),this.externalEvents=new WP(this,this.options,this.options.debugEventsExternal),this.eventBus=new YP(this.options.debugEventsInternal),this.interactionMonitor=new HP(this),this.dataLoader.initialize(),this.footerManager.initialize()}_mapDeprecatedFunctionality(){}_clearSelection(){this.element.classList.add("tabulator-block-select"),window.getSelection?window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().removeAllRanges():document.selection&&document.selection.empty(),this.element.classList.remove("tabulator-block-select")}_create(){this.externalEvents.dispatch("tableBuilding"),this.eventBus.dispatch("table-building"),this._rtlCheck(),this._buildElement(),this._initializeTable(),this._loadInitialData(),this.initialized=!0,this.externalEvents.dispatch("tableBuilt")}_rtlCheck(){var e=window.getComputedStyle(this.element);switch(this.options.textDirection){case"auto":if(e.direction!=="rtl")break;case"rtl":this.element.classList.add("tabulator-rtl"),this.rtl=!0;break;case"ltr":this.element.classList.add("tabulator-ltr");default:this.rtl=!1}}_clearObjectPointers(){this.options.columns=this.options.columns.slice(0),Array.isArray(this.options.data)&&!this.options.reactiveData&&(this.options.data=this.options.data.slice(0))}_buildElement(){var e=this.element,r=this.options,C;if(e.tagName==="TABLE"){this.originalElement=this.element,C=document.createElement("div");var D=e.attributes;for(var T in D)typeof D[T]=="object"&&C.setAttribute(D[T].name,D[T].value);e.parentNode.replaceChild(C,e),this.element=e=C}for(e.classList.add("tabulator"),e.setAttribute("role","grid");e.firstChild;)e.removeChild(e.firstChild);r.height&&(r.height=isNaN(r.height)?r.height:r.height+"px",e.style.height=r.height),r.minHeight!==!1&&(r.minHeight=isNaN(r.minHeight)?r.minHeight:r.minHeight+"px",e.style.minHeight=r.minHeight),r.maxHeight!==!1&&(r.maxHeight=isNaN(r.maxHeight)?r.maxHeight:r.maxHeight+"px",e.style.maxHeight=r.maxHeight)}_initializeTable(){var e=this.element,r=this.options;this.interactionMonitor.initialize(),this.columnManager.initialize(),this.rowManager.initialize(),this._detectBrowser(),this.modulesCore.forEach(C=>{C.initialize()}),e.appendChild(this.columnManager.getElement()),e.appendChild(this.rowManager.getElement()),r.footerElement&&this.footerManager.activate(),r.autoColumns&&r.data&&this.columnManager.generateColumnsFromRowData(this.options.data),this.modulesRegular.forEach(C=>{C.initialize()}),this.columnManager.setColumns(r.columns),this.eventBus.dispatch("table-built")}_loadInitialData(){this.dataLoader.load(this.options.data),this.columnManager.verticalAlignHeaders()}destroy(){var e=this.element;for(this.destroyed=!0,pu.deregister(this),this.eventBus.dispatch("table-destroy"),this.rowManager.destroy();e.firstChild;)e.removeChild(e.firstChild);e.classList.remove("tabulator"),this.externalEvents.dispatch("tableDestroyed")}_detectBrowser(){var e=navigator.userAgent||navigator.vendor||window.opera;e.indexOf("Trident")>-1?(this.browser="ie",this.browserSlow=!0):e.indexOf("Edge")>-1?(this.browser="edge",this.browserSlow=!0):e.indexOf("Firefox")>-1?(this.browser="firefox",this.browserSlow=!1):e.indexOf("Mac OS")>-1?(this.browser="safari",this.browserSlow=!1):(this.browser="other",this.browserSlow=!1),this.browserMobile=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e.slice(0,4))}initGuard(e,r){var C,D;return this.options.debugInitialization&&!this.initialized&&(e||(C=new Error().stack.split(` -`),D=C[0]=="Error"?C[2]:C[1],D[0]==" "?e=D.trim().split(" ")[1].split(".")[1]:e=D.trim().split("@")[0]),console.warn("Table Not Initialized - Calling the "+e+" function before the table is initialized may result in inconsistent behavior, Please wait for the `tableBuilt` event before calling this function."+(r?" "+r:""))),this.initialized}blockRedraw(){this.initGuard(),this.eventBus.dispatch("redraw-blocking"),this.rowManager.blockRedraw(),this.columnManager.blockRedraw(),this.eventBus.dispatch("redraw-blocked")}restoreRedraw(){this.initGuard(),this.eventBus.dispatch("redraw-restoring"),this.rowManager.restoreRedraw(),this.columnManager.restoreRedraw(),this.eventBus.dispatch("redraw-restored")}setData(e,r,C){return this.initGuard(!1,"To set initial data please use the 'data' property in the table constructor."),this.dataLoader.load(e,r,C,!1)}clearData(){this.initGuard(),this.dataLoader.blockActiveLoad(),this.rowManager.clearData()}getData(e){return this.rowManager.getData(e)}getDataCount(e){return this.rowManager.getDataCount(e)}replaceData(e,r,C){return this.initGuard(),this.dataLoader.load(e,r,C,!0,!0)}updateData(e){var r=0;return this.initGuard(),new Promise((C,D)=>{this.dataLoader.blockActiveLoad(),typeof e=="string"&&(e=JSON.parse(e)),e&&e.length>0?e.forEach(T=>{var p=this.rowManager.findRow(T[this.options.index]);p?(r++,p.updateData(T).then(()=>{r--,r||C()}).catch(t=>{D("Update Error - Unable to update row",T,t)})):D("Update Error - Unable to find row",T)}):(console.warn("Update Error - No data provided"),D("Update Error - No data provided"))})}addData(e,r,C){return this.initGuard(),new Promise((D,T)=>{this.dataLoader.blockActiveLoad(),typeof e=="string"&&(e=JSON.parse(e)),e?this.rowManager.addRows(e,r,C).then(p=>{var t=[];p.forEach(function(d){t.push(d.getComponent())}),D(t)}):(console.warn("Update Error - No data provided"),T("Update Error - No data provided"))})}updateOrAddData(e){var r=[],C=0;return this.initGuard(),new Promise((D,T)=>{this.dataLoader.blockActiveLoad(),typeof e=="string"&&(e=JSON.parse(e)),e&&e.length>0?e.forEach(p=>{var t=this.rowManager.findRow(p[this.options.index]);C++,t?t.updateData(p).then(()=>{C--,r.push(t.getComponent()),C||D(r)}):this.rowManager.addRows(p).then(d=>{C--,r.push(d[0].getComponent()),C||D(r)})}):(console.warn("Update Error - No data provided"),T("Update Error - No data provided"))})}getRow(e){var r=this.rowManager.findRow(e);return r?r.getComponent():(console.warn("Find Error - No matching row found:",e),!1)}getRowFromPosition(e){var r=this.rowManager.getRowFromPosition(e);return r?r.getComponent():(console.warn("Find Error - No matching row found:",e),!1)}deleteRow(e){var r=[];this.initGuard(),Array.isArray(e)||(e=[e]);for(let C of e){let D=this.rowManager.findRow(C,!0);if(D)r.push(D);else return console.error("Delete Error - No matching row found:",C),Promise.reject("Delete Error - No matching row found")}return r.sort((C,D)=>this.rowManager.rows.indexOf(C)>this.rowManager.rows.indexOf(D)?1:-1),r.forEach(C=>{C.delete()}),this.rowManager.reRenderInPosition(),Promise.resolve()}addRow(e,r,C){return this.initGuard(),typeof e=="string"&&(e=JSON.parse(e)),this.rowManager.addRows(e,r,C,!0).then(D=>D[0].getComponent())}updateOrAddRow(e,r){var C=this.rowManager.findRow(e);return this.initGuard(),typeof r=="string"&&(r=JSON.parse(r)),C?C.updateData(r).then(()=>C.getComponent()):this.rowManager.addRows(r).then(D=>D[0].getComponent())}updateRow(e,r){var C=this.rowManager.findRow(e);return this.initGuard(),typeof r=="string"&&(r=JSON.parse(r)),C?C.updateData(r).then(()=>Promise.resolve(C.getComponent())):(console.warn("Update Error - No matching row found:",e),Promise.reject("Update Error - No matching row found"))}scrollToRow(e,r,C){var D=this.rowManager.findRow(e);return D?this.rowManager.scrollToRow(D,r,C):(console.warn("Scroll Error - No matching row found:",e),Promise.reject("Scroll Error - No matching row found"))}moveRow(e,r,C){var D=this.rowManager.findRow(e);this.initGuard(),D?D.moveToRow(r,C):console.warn("Move Error - No matching row found:",e)}getRows(e){return this.rowManager.getComponents(e)}getRowPosition(e){var r=this.rowManager.findRow(e);return r?r.getPosition():(console.warn("Position Error - No matching row found:",e),!1)}setColumns(e){this.initGuard(!1,"To set initial columns please use the 'columns' property in the table constructor"),this.columnManager.setColumns(e)}getColumns(e){return this.columnManager.getComponents(e)}getColumn(e){var r=this.columnManager.findColumn(e);return r?r.getComponent():(console.warn("Find Error - No matching column found:",e),!1)}getColumnDefinitions(){return this.columnManager.getDefinitionTree()}showColumn(e){var r=this.columnManager.findColumn(e);if(this.initGuard(),r)r.show();else return console.warn("Column Show Error - No matching column found:",e),!1}hideColumn(e){var r=this.columnManager.findColumn(e);if(this.initGuard(),r)r.hide();else return console.warn("Column Hide Error - No matching column found:",e),!1}toggleColumn(e){var r=this.columnManager.findColumn(e);if(this.initGuard(),r)r.visible?r.hide():r.show();else return console.warn("Column Visibility Toggle Error - No matching column found:",e),!1}addColumn(e,r,C){var D=this.columnManager.findColumn(C);return this.initGuard(),this.columnManager.addColumn(e,r,D).then(T=>T.getComponent())}deleteColumn(e){var r=this.columnManager.findColumn(e);return this.initGuard(),r?r.delete():(console.warn("Column Delete Error - No matching column found:",e),Promise.reject())}updateColumnDefinition(e,r){var C=this.columnManager.findColumn(e);return this.initGuard(),C?C.updateDefinition(r):(console.warn("Column Update Error - No matching column found:",e),Promise.reject())}moveColumn(e,r,C){var D=this.columnManager.findColumn(e),T=this.columnManager.findColumn(r);this.initGuard(),D?T?this.columnManager.moveColumn(D,T,C):console.warn("Move Error - No matching column found:",T):console.warn("Move Error - No matching column found:",e)}scrollToColumn(e,r,C){return new Promise((D,T)=>{var p=this.columnManager.findColumn(e);return p?this.columnManager.scrollToColumn(p,r,C):(console.warn("Scroll Error - No matching column found:",e),Promise.reject("Scroll Error - No matching column found"))})}redraw(e){this.initGuard(),this.columnManager.redraw(e),this.rowManager.redraw(e)}setHeight(e){this.options.height=isNaN(e)?e:e+"px",this.element.style.height=this.options.height,this.rowManager.initializeRenderer(),this.rowManager.redraw(!0)}on(e,r){this.externalEvents.subscribe(e,r)}off(e,r){this.externalEvents.unsubscribe(e,r)}dispatchEvent(){var e=Array.from(arguments);e.shift(),this.externalEvents.dispatch(...arguments)}alert(e,r){this.initGuard(),this.alertManager.alert(e,r)}clearAlert(){this.initGuard(),this.alertManager.clear()}modExists(e,r){return this.modules[e]?!0:(r&&console.error("Tabulator Module Not Installed: "+e),!1)}module(e){var r=this.modules[e];return r||console.error("Tabulator module not installed: "+e),r}}Yd.defaultOptions=DP;new t6(Yd);class n6 extends Yd{}new t6(n6,OP);const nO=ns({name:"TabulatorTable",props:{tableIndexField:{type:String,required:!1,default:()=>"id"},tableData:{type:Object,required:!0},columnDefinitions:{type:Object,required:!0},title:{type:String,required:!1},index:{type:Number,required:!0},selectedRowIndexFromListening:{type:Number,required:!1,default:()=>{}},tableLayoutParam:{type:String,required:!1,default:()=>"fitDataFill"},defaultRow:{type:Number,required:!1,default:()=>-1},initialSort:{type:Array,required:!1,default:()=>{}}},emits:["rowSelected"],setup(){return{streamlitDataStore:Ns()}},data(){return{tabulator:void 0,initialized:0}},computed:{id(){return`table-${this.index}`},containerStyles(){return{display:"flex","flex-direction":"column","align-items":"center"}},tableClasses(){var n,e;return{"table-dark":((n=this.streamlitDataStore.theme)==null?void 0:n.base)==="dark","table-light":((e=this.streamlitDataStore.theme)==null?void 0:e.base)==="light","table-striped":!1,"table-bordered":!0,"table-sm":!0}},preparedTableData(){const n=[...this.columnDefinitions.map(e=>e.field),"id"];if(this.tableData!==void 0&&this.tableData.length>0){const e=[];return this.tableData.forEach((r,C)=>{const D={};n.forEach(T=>{T!==void 0&&(D[T]=r[T])}),this.tableData[0][this.tableIndexField]===void 0?e.push({...D,[this.tableIndexField]:C}):e.push({...D})}),e}return this.tableData}},watch:{tableData(){this.drawTable()},selectedRowIndexFromListening(n){n!==void 0&&this.onSelectedRowListener(n)}},mounted(){this.drawTable()},methods:{drawTable(){this.tabulator=new n6(`#${this.id}`,{index:this.tableIndexField,data:this.preparedTableData,minHeight:50,maxHeight:this.title?320:310,responsiveLayout:"collapse",layout:this.tableLayoutParam,selectable:1,columnDefaults:{title:"",hozAlign:"right"},columns:this.columnDefinitions.map(n=>(n.headerTooltip===void 0&&(n.headerTooltip=!0),n)),initialSort:this.initialSort}),this.tabulator.on("tableBuilt",()=>{this.selectedRowIndexFromListening!==void 0?this.onSelectedRowListener(this.selectedRowIndexFromListening):this.selectDefaultRow()})},selectDefaultRow(){var n;if(this.defaultRow>=0){const e=(n=this.tabulator)==null?void 0:n.getRows("active");e&&e.length>0&&this.defaultRow>=0&&this.defaultRow[ia(fo(n.title??""),1)])])]),ti("div",lO,[nb(n.$slots,"end-title-row")])])]),ti("div",{id:n.id,class:Ju(n.tableClasses),onClick:e[0]||(e[0]=(...t)=>n.onTableClick&&n.onTableClick(...t))},null,10,uO)])}const y0=hs(nO,[["render",cO]]),Df=n=>e=>e.getValue().toString().length>4?e.getValue().toFixed(n??4):e.getValue(),hO=ns({name:"TabulatorScanTable",components:{TabulatorTable:y0},props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Ns(),e=rc();return{streamlitDataStore:n,selectionStore:e}},data(){return{columnDefinitions:[{title:"Index",field:"id",sorter:"number",headerTooltip:"The sequential index of the spectrum in the dataset."},{title:"Scan Number",field:"Scan",sorter:"number",headerTooltip:"The identifier of the mass spectrometry scan."},{title:"MS Level",field:"MSLevel",sorter:"number",headerTooltip:"The level of mass spectrometry analysis (e.g., MS1 or MS2)."},{title:"Retention time",field:"RT",formatter:Df(),sorter:"number",headerTooltip:"The time at which the spectrum was detected during the chromatographic separation in seconds."},{title:"Precursor Mass",field:"PrecursorMass",formatter:Df(),sorter:"number",headerTooltip:"The mass of the precursor ion selected for fragmentation in Daltons."},{title:"#Masses",field:"#Masses",sorter:"number",headerTooltip:"The number of detected masses in the spectrum."}]}},computed:{tableData(){const n=this.streamlitDataStore.allDataForDrawing.per_scan_data;return n.forEach(e=>e.id=e.index),n},selectedRow(){return this.selectionStore.selectedScanIndex}},methods:{updateSelectedScan(n){n!==void 0&&(n!==this.selectionStore.selectedScanIndex&&this.selectionStore.updateSelectedMass(0),this.selectionStore.updateSelectedScan(n))}}});function fO(n,e,r,C,D,T){const p=Gr("TabulatorTable");return Rr(),za(p,{"table-data":n.tableData,"column-definitions":n.columnDefinitions,title:"Scan Table",index:n.index,"table-layout-param":"fitColumns",onRowSelected:n.updateSelectedScan,"selected-row-index-from-listening":n.selectedRow,"default-row":0},null,8,["table-data","column-definitions","index","onRowSelected","selected-row-index-from-listening"])}const dO=hs(hO,[["render",fO]]),pO={xPosScalingFactor:27.5,xPosScalingThreshold:30,enableManualZoom:!0,showChargeLabels:!0},y5={highlightColor:"#E4572E",selectedColor:"#F3A712",unhighlightedColor:"lightblue",highlightHiddenColor:"1f77b4",annotationColors:{massButton:"#E4572E",selectedMassButton:"#F3A712",sequenceArrow:"#E4572E",selectedSequenceArrow:"#F3A712",background:"#f0f0f0",buttonHover:"#e0e0e0"}},mO=ns({name:"PlotlyLineplotUnified",props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Ns(),e=rc();return{streamlitDataStore:n,selectionStore:e}},data(){return{manual:!1,manual_xRange:void 0,isInitialized:!1,annotationsVisible:!0,localTitle:""}},computed:{id(){return`graph-${this.index}`},isDataReady(){var n;try{const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!e||!Array.isArray(e)||e.length===0)return!1;const r=this.selectedScan;if(r===void 0||r>=e.length)return!1;const C=e[r];if(!C||typeof C!="object")return!1;const D=this.xColumn,T=this.yColumn;if(!D||!T)return!1;const p=C[D],t=C[T];return!(!Array.isArray(p)||!Array.isArray(t)||p.length===0||t.length===0)}catch(e){return this.handleError(e,"isDataReady-computation"),!1}},theme(){return this.streamlitDataStore.theme},isTnTMode(){return this.selectionStore.selectedTag!==void 0},config(){return{...pO,...this.args.config}},styling(){var n;return{...y5,...this.args.styling,annotationColors:{...y5.annotationColors,...(n=this.args.styling)==null?void 0:n.annotationColors}}},selectedScan(){var n;try{const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;return!e||e.length===0?void 0:0}catch(e){this.handleError(e,"selectedScan-computation");return}},selectedTag(){return this.isTnTMode?this.selectionStore.selectedTagIndex:void 0},selectedAA(){var n;return this.isTnTMode?(n=this.selectionStore.selectedTag)==null?void 0:n.selectedAA:void 0},currentTitle(){return this.localTitle||this.args.title},xAxisLabel(){switch(this.currentTitle){case"Annotated Spectrum":case"Augmented Annotated Spectrum":return"m/z";case"Deconvolved Spectrum":case"Augmented Deconvolved Spectrum":return"Monoisotopic Mass";default:return""}},yAxisLabel(){return"Intensity"},xColumn(){switch(this.currentTitle){case"Annotated Spectrum":case"Augmented Annotated Spectrum":return"MonoMass_Anno";case"Deconvolved Spectrum":case"Augmented Deconvolved Spectrum":return"MonoMass";default:return""}},yColumn(){switch(this.currentTitle){case"Annotated Spectrum":case"Augmented Annotated Spectrum":return"SumIntensity_Anno";case"Deconvolved Spectrum":case"Augmented Deconvolved Spectrum":return"SumIntensity";default:return""}},xValues(){var n;try{const e=[],r=this.selectedScan;if(r===void 0)return e;const C=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!C||r>=C.length)return e;const D=C[r];if(!D)return e;const T=D[this.xColumn];return!T||!Array.isArray(T)||T.forEach(p=>{typeof p=="number"&&!isNaN(p)&&e.push(p,p,p)}),e}catch(e){return this.handleError(e,"xValues-computation"),[]}},yValues(){var n;try{const e=[],r=this.selectedScan;if(r===void 0)return e;const C=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!C||r>=C.length)return e;const D=C[r];if(!D)return e;const T=D[this.yColumn];return!T||!Array.isArray(T)||T.forEach(p=>{typeof p=="number"&&!isNaN(p)&&e.push(-1e7,p,-1e7)}),e}catch(e){return this.handleError(e,"yValues-computation"),[]}},MassValues(){var n;try{if(this.selectedScan===void 0)return[];const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!e||this.selectedScan>=e.length)return[];const r=e[this.selectedScan],C=r==null?void 0:r.MonoMass;return Array.isArray(C)?C:[]}catch(e){return this.handleError(e,"xMassValues-computation"),[]}},MZValues(){var n;try{if(this.selectedScan===void 0)return[];const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!e||this.selectedScan>=e.length)return[];const r=e[this.selectedScan],C=r==null?void 0:r.MonoMass_Anno;return Array.isArray(C)?C:[]}catch(e){return this.handleError(e,"xMassValues-computation"),[]}},mzSignals(){var n;try{if(this.selectedScan===void 0)return[];const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!e||this.selectedScan>=e.length)return[];const r=e[this.selectedScan],C=r==null?void 0:r.SignalPeaks;return Array.isArray(C)?C:[]}catch(e){return this.handleError(e,"mzSignals-computation"),[]}},minCharge(){var n;try{if(this.selectedScan===void 0)return-10;const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!e||this.selectedScan>=e.length)return-10;const r=e[this.selectedScan],C=r==null?void 0:r.MinCharges;return!Array.isArray(C)||C.length===0?-10:Math.min(...C)}catch(e){return this.handleError(e,"minCharge-computation"),-10}},maxCharge(){var n;try{if(this.selectedScan===void 0)return-10;const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!e||this.selectedScan>=e.length)return-10;const r=e[this.selectedScan],C=r==null?void 0:r.MinCharges;return!Array.isArray(C)||C.length===0?-10:Math.max(...C)}catch(e){return this.handleError(e,"maxCharge-computation"),-10}},showBackButton(){return this.isTnTMode&&this.currentTitle==="Augmented Annotated Spectrum"},shouldHighlightMassIndex(){return this.currentTitle==="Deconvolved Spectrum"&&this.selectionStore.selectedMassIndex!==void 0},highlightedValues(){var n,e;try{let r=[];((n=this.selectionStore.selectedTag)==null?void 0:n.masses)!==void 0&&(r=(e=this.selectionStore.selectedTag)==null?void 0:e.masses);let C=[];r.forEach((t,d)=>{for(let g=0;g=0&&this.selectionStore.selectedMassIndex=D.length)continue;if(T.length===0){p.push({mass:this.MassValues[d],mzs:[],charges:[],intensity:[]});continue}const g=D[d];let i=[],M=[],v=[];const f=T[d];if(Array.isArray(f))for(let l=0;l=4&&(i.push(a[1]),v.push(a[2]),M.push(a[3]))}p.push({mass:g,mzs:i,charges:M,intensity:v})}return p}catch(r){return this.handleError(r,"highlightedValues-computation"),[]}},highlightedMassPos(){var n,e;try{const r=this.highlightedValues;if(r.length===0||!Array.isArray(this.MassValues))return new Array(((n=this.MassValues)==null?void 0:n.length)||0).fill(!1);const C=new Set(r.map(D=>D.mass));return this.MassValues.map(D=>C.has(D))}catch(r){return this.handleError(r,"booleanMassHighlightMask-computation"),new Array(((e=this.MassValues)==null?void 0:e.length)||0).fill(!1)}},highlightedMzPos(){var n,e;try{const r=this.highlightedValues;if(r.length===0||!Array.isArray(this.MZValues))return new Array(((n=this.MZValues)==null?void 0:n.length)||0).fill(!1);const C=new Set(r.flatMap(D=>D.mzs));return this.MZValues.map(D=>C.has(D))}catch(r){return this.handleError(r,"booleanHighlightMask-computation"),new Array(((e=this.MZValues)==null?void 0:e.length)||0).fill(!1)}},plotData(){var p,t;let n=[],e=[],r=[],C=[],D=[],T=[];for(let d=0;dArray.isArray(g.mzs)?g.mzs:[]).filter(g=>Number.isFinite(g)):r=e.map(g=>g.mass).filter(g=>!isNaN(g)),r.length===0)return[0,1];let C=Math.min(...r)*.98,D=Math.max(...r)*1.02;if(this.xAxisLabel==="m/z")return[C,D];let T=r.reduce((g,i)=>g+i,0)/r.length,p=.5*.9*this.maxAnnotationRange,t=[T-p,T+p];return this.calculateOptimalXRange(t)}catch(n){return this.handleError(n,"xRange-computation"),[0,1]}},yRange(){try{return this.computeYRange(this.xRange)}catch(n){return this.handleError(n,"yRange-computation"),[0,1]}},annotationData(){var n,e;try{if(!this.annotationsVisible)return{shapes:[],annotations:[],traces:[]};const r=this.highlightedValues;if(r.length===0)return{shapes:[],annotations:[],traces:[]};const C=this.getAnnotationPositioning;if(!C)return{shapes:[],annotations:[],traces:[]};const{ypos_low:D,ypos:T,ypos_high:p,xpos_scaling:t}=C;let d=[],g=[],i=[];if(this.xAxisLabel==="m/z"){if(this.selectionStore.selectedMassIndex===void 0)return{shapes:[],annotations:[],traces:[]};if(this.selectionStore.selectedMassIndex>=this.MassValues.length)return{shapes:[],annotations:[],traces:[]};let c=this.styling.annotationColors.massButton;const h=r[0],{mzs:m,charges:w,intensity:y}=h;if(!m||m.length===0)return{shapes:[],annotations:[],traces:[]};const S=new Map;for(let x=0;xx.type==="charge"&&x.visible);let E=0;return S.forEach((x,A)=>{const L=x.reduce((O,z)=>O+z.intensity,0),R=x.map(O=>O.intensity/L*O.mz).reduce((O,z)=>O+z,0);k.some(O=>O.index===E)&&(g.push({type:"rect",x0:R-.5*t,y0:D,x1:R+.5*t,y1:p,fillcolor:c,line:{width:0}}),i.push({x:R,y:T,xref:"x",yref:"y",text:"z="+A,showarrow:!1,font:{size:15}})),E++}),{shapes:g,annotations:i,traces:d}}let M=[];const v=(n=this.selectionStore.selectedTag)==null?void 0:n.selectedAA,l=this.annotationBoxData.filter(c=>c.type==="mass"&&c.visible),a=r.length===1?2:1;for(let c=0;cy.index===c)){let y=this.styling.annotationColors.massButton,S="sans-serif";(v===c||v===c-1)&&(y=this.styling.annotationColors.selectedMassButton,S="Arial Black, Arial Bold, Arial, sans-serif"),d.push({x:[m],y:[T],mode:"markers",marker:{size:20,opacity:0},hoverinfo:"text",hovertext:String(m.toFixed(2)),type:"scatter"}),g.push({type:"rect",x0:m-a*t,y0:D,x1:m+a*t,y1:p,fillcolor:y,line:{width:0}}),i.push({x:m,y:T,xref:"x",yref:"y",text:m.toFixed(2),showarrow:!1,font:{size:15,family:S}})}}const u=T*.5,o=T*.6,s=(e=this.selectionStore.selectedTag)==null?void 0:e.sequence;for(let c=0;cS.index===c),y=l.some(S=>S.index===c+1);if(w&&y){let S=this.styling.annotationColors.sequenceArrow,_="sans-serif";v===c&&(S=this.styling.annotationColors.selectedSequenceArrow,_="Arial Black, Arial Bold, Arial, sans-serif");let k=h.mass,E=m.mass;const x=(k+E)/2;let A=x,L=x;const b=Math.abs(k-E)*.9;let R="",I=0;if(s!==void 0&&s.length>0){const O=s.length-1-c;O>=0&&OE?(I=k-E,k-=b,A+=b*.1,E+=b,L-=b*.1):(I=E-k,k+=b,A-=b*.1,E-=b,L+=b*.1),M.push({ax:A,ay:u,xref:"x",yref:"y",x:k,y:u,axref:"x",ayref:"y",showarrow:!0,arrowhead:0,arrowsize:1,arrowwidth:2,arrowcolor:S}),M.push({ax:L,ay:u,xref:"x",yref:"y",x:E,y:u,axref:"x",ayref:"y",showarrow:!0,arrowhead:2,arrowsize:1,arrowwidth:2,arrowcolor:S}),M.push({x,y:o,xref:"x",yref:"y",text:R,hovertext:"Δ="+I.toFixed(2)+" Da",showarrow:!1,font:{size:15,color:S,family:_}})}}return{shapes:g,annotations:[...i,...M],traces:d}}catch(r){return this.handleError(r,"annotationData-computation"),{shapes:[],annotations:[],traces:[]}}},data(){let n=[];if(!this.annotationsVisible)return n.push({x:this.xValues,y:this.yValues,mode:"lines",type:"scatter",connectgaps:!1,marker:{color:this.styling.highlightHiddenColor}}),n;n.push({x:this.plotData.unhighlighted_x,y:this.plotData.unhighlighted_y,mode:"lines",type:"scatter",marker:{color:this.styling.unhighlightedColor}}),n.push({x:this.plotData.highlighted_x,y:this.plotData.highlighted_y,mode:"lines",type:"scatter",marker:{color:this.styling.highlightColor}}),n.push({x:this.plotData.selected_x,y:this.plotData.selected_y,mode:"lines",type:"scatter",marker:{color:this.styling.selectedColor}});const e=this.annotationData.traces;return n.push(...e),n},layout(){var e,r,C,D,T;const n={title:`${this.currentTitle}`,showlegend:!1,height:400,xaxis:{title:this.xAxisLabel,showgrid:!1,showline:!0,linecolor:"grey",linewidth:1},yaxis:{title:this.yAxisLabel,showgrid:!0,gridcolor:(e=this.theme)==null?void 0:e.secondaryBackgroundColor,rangemode:"nonnegative",fixedrange:!1,showline:!0,linecolor:"grey",linewidth:1},paper_bgcolor:(r=this.theme)==null?void 0:r.backgroundColor,plot_bgcolor:(C=this.theme)==null?void 0:C.backgroundColor,font:{color:(D=this.theme)==null?void 0:D.textColor,family:(T=this.theme)==null?void 0:T.font}};return n.xaxis.range=this.xRange,n.yaxis.range=this.yRange,n.shapes=this.annotationData.shapes,n.annotations=this.annotationData.annotations,n},cssCustomProperties(){return{"--highlight-color":this.styling.highlightColor,"--selected-color":this.styling.selectedColor,"--unhighlighted-color":this.styling.unhighlightedColor,"--annotation-background":this.styling.annotationColors.background,"--button-hover-color":this.styling.annotationColors.buttonHover}}},watch:{isDataReady:{handler(n){n&&this.safeGraph()},immediate:!0},"streamlitDataStore.allDataForDrawing.per_scan_data":{handler(){this.safeGraph()},deep:!0},selectedScan(){this.resetManualState(),this.safeGraph()},xValues(){this.safeGraph()},selectedTag(){this.resetManualState(),this.safeGraph()},annotationsVisible(){this.safeGraph()},"selectionStore.selectedMassIndex"(){this.manual=!1,this.safeGraph()}},mounted(){this.initializeComponent()},methods:{computeAnnotationBoxes(n,e){try{const r=this.highlightedValues;if(r.length===0)return[];if(e.length<2||e[1]<=0||n.length<2)return[];const C=e[1]/1.8,D=C*1.18,T=C*1.32,p=(n[1]-n[0])/this.xPosScalingFactor,t=[];if(this.xAxisLabel==="m/z"){if(this.selectionStore.selectedMassIndex===void 0||this.selectionStore.selectedMassIndex>=this.MassValues.length)return t;const d=r[0],{mzs:g,charges:i,intensity:M}=d;if(!g||g.length===0)return t;const v=new Map;for(let l=0;l{const u=l.reduce((c,h)=>c+h.intensity,0),s=l.map(c=>c.intensity/u*c.mz).reduce((c,h)=>c+h,0);t.push({x:s,y:(D+T)/2,width:p,height:T-D,type:"charge",index:f++,visible:!0})})}else{const d=r.length===1?2:1;for(let g=0;g1){let d=!1;for(let g=0;g{g.visible=!1})}return t}catch(r){return this.handleError(r,"computeAnnotationBoxes"),[]}},wouldAnnotationsBeVisible(n){try{const e=this.computeYRange(n);return this.computeAnnotationBoxes(n,e).some(C=>C.visible)}catch(e){return this.handleError(e,"wouldAnnotationsBeVisible"),!0}},calculateOptimalXRange(n){try{let C=[...n];for(let D=0;D<10;D++){if(this.wouldAnnotationsBeVisible(C))return C;const T=(C[0]+C[1])/2,t=(C[1]-C[0])/2*.8;if(C=[T-t,T+t],C[1]-C[0]<.1)break}return C}catch(e){return this.handleError(e,"calculateOptimalXRange"),n}},dataToScreenX(n){try{const e=this.xRange;if(e.length!==2||e[1]<=e[0])return 0;const r=800;return 80+(n-e[0])/(e[1]-e[0])*r}catch(e){return this.handleError(e,"dataToScreenX"),0}},dataToScreenY(n){try{const e=this.yRange;if(e.length!==2||e[1]<=e[0])return 0;const r=300;return 50+r-(n-e[0])/(e[1]-e[0])*r}catch(e){return this.handleError(e,"dataToScreenY"),0}},dataToScreenWidth(n){try{const e=this.xRange;if(e.length!==2||e[1]<=e[0])return 0;const r=800;return n/(e[1]-e[0])*r}catch(e){return this.handleError(e,"dataToScreenWidth"),0}},dataToScreenHeight(n){try{const e=this.yRange;if(e.length!==2||e[1]<=e[0])return 0;const r=300;return n/(e[1]-e[0])*r}catch(e){return this.handleError(e,"dataToScreenHeight"),0}},testBoxesOverlapForRange(n,e,r){try{if(r.length!==2||r[1]<=r[0])return!1;const C=(r[1]-r[0])*.01,D=n.height*.1,T=n.x-n.width/2-C,p=n.x+n.width/2+C,t=n.y-n.height/2-D,d=n.y+n.height/2+D,g=e.x-e.width/2-C,i=e.x+e.width/2+C,M=e.y-e.height/2-D,v=e.y+e.height/2+D;return!(p{this.toggleAnnotations()}},{title:"Download as SVG",name:"toImageSvg",icon:Wl.Icons.camera,click:r=>{Wl.downloadImage(r,{filename:"FLASHViewer-lineplot",height:400,width:1200,format:"svg"})}}],scrollZoom:!0});e.on("plotly_relayout",r=>{this.onRelayout(r)}),e.on("plotly_click",r=>{this.onPlotClick(r)})}catch(n){this.handleError(n,"graph-rendering")}},initializeComponent(){try{this.isInitialized=!0,this.localTitle=this.args.title,this.safeGraph()}catch(n){this.handleError(n,"initializeComponent"),this.renderFallback()}},resetManualState(){try{this.manual=!1,this.manual_xRange=void 0,this.localTitle==="Augmented Annotated Spectrum"&&(this.localTitle="Augmented Deconvolved Spectrum"),this.selectionStore.updateSelectedMass(void 0)}catch(n){this.handleError(n,"resetManualState")}},backButton(){this.resetManualState(),this.safeGraph()},toggleAnnotations(){this.annotationsVisible=!this.annotationsVisible,this.safeGraph()},onPlotClick(n){if(n.points&&n.points.length>0){const e=n.points[0].x;for(let r=0;r=n[1])return[0,1];let C=0;for(let D=0;D=n[1]||p>C&&(C=p)}return C===0?[0,1]:[0,C*1.8]}catch(e){return this.handleError(e,"computeYRange"),[0,1]}},getFallbackData(){return[{x:[0,1],y:[0,0],mode:"lines",type:"scatter",marker:{color:this.styling.unhighlightedColor},name:"No Data"}]},getFallbackLayout(){var n,e,r,C;return{title:"No Data Available",showlegend:!1,height:400,xaxis:{title:"X-axis",showgrid:!1},yaxis:{title:"Y-axis",showgrid:!0,rangemode:"nonnegative"},paper_bgcolor:((n=this.theme)==null?void 0:n.backgroundColor)||"white",plot_bgcolor:((e=this.theme)==null?void 0:e.backgroundColor)||"white",font:{color:((r=this.theme)==null?void 0:r.textColor)||"black",family:((C=this.theme)==null?void 0:C.font)||"Arial"}}},validateComponentState(){var n;try{if(!this.streamlitDataStore||!this.selectionStore)return console.warn("PlotlyLineplotUnified: Required stores not available"),!1;const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!Array.isArray(e))return console.warn("PlotlyLineplotUnified: Invalid scan data structure"),!1;const r=this.selectedScan;if(r!==void 0&&r0}};console.error(`PlotlyLineplotUnified error in ${e}:`,n,r)}}});const gO=["id"];function vO(n,e,r,C,D,T){return Rr(),ei("div",{id:n.id,class:"plot-container",style:zs(n.cssCustomProperties)},[n.showBackButton?(Rr(),ei("button",{key:0,class:"simple-button",onClick:e[0]||(e[0]=(...p)=>n.backButton&&n.backButton(...p))}," ↩ ")):Zi("",!0)],12,gO)}const yO=hs(mO,[["render",vO],["__scopeId","data-v-0b5cc4d2"]]),bO=ns({name:"Plotly3Dplot",props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Ns(),e=rc();return{streamlitDataStore:n,selectionStore:e}},data(){return{maximumIntensity:0}},computed:{id(){return`graph-${this.index}`},title(){return this.selectedScanRow===void 0?"":this.selectedMassRow===void 0?"Precursor signals":"Mass signals"},theme(){return this.streamlitDataStore.theme},selectedScanRow(){if(this.selectionStore.selectedScanIndex!==void 0)return this.streamlitDataStore.allDataForDrawing.per_scan_data.length===1?0:this.selectionStore.selectedScanIndex},selectedMassRow(){return this.selectionStore.selectedMassIndex},dataForDrawing(){var T,p;const n=this.selectedScanRow,e=this.streamlitDataStore.allDataForDrawing.per_scan_data,r=this.selectedMassRow;if(n===void 0)return[];const C=e[n]??{};let D={};return r===void 0?D=this.getPrecursorSignal(C):this.streamlitDataStore.allDataForDrawing.per_scan_data.length===1?D=this.getSignalNoiseObject(C.SignalPeaks,C.NoisyPeaks):D=this.getSignalNoiseObject(((T=C.SignalPeaks)==null?void 0:T[r])??[[]],((p=C.NoisyPeaks)==null?void 0:p[r])??[[]]),Object.keys(D).length===0?[]:(this.updateMaximumIntensity(D),[{name:"Signal",type:"scatter3d",mode:"lines",x:D.signal_x,y:D.signal_y,z:D.signal_z,line:{color:"#3366CC"}},{name:"Noise",type:"scatter3d",mode:"lines",x:D.noise_x,y:D.noise_y,z:D.noise_z,line:{color:"#DC3912"}}])},layout(){var n,e,r,C;return{title:`${this.title}`,paper_bgcolor:(n=this.theme)==null?void 0:n.backgroundColor,plot_bgcolor:(e=this.theme)==null?void 0:e.secondaryBackgroundColor,height:800,font:{color:(r=this.theme)==null?void 0:r.textColor,family:(C=this.theme)==null?void 0:C.font},scene:{xaxis:{title:"Mass"},yaxis:{title:"Charge"},zaxis:{title:"Intensity",range:[0,this.maximumIntensity]},camera:{eye:{x:2.5,y:0,z:.2}}},showlegend:!0}}},watch:{selectedScanRow(){this.graph()},selectedMassRow(){this.graph()}},mounted(){this.graph()},methods:{updateMaximumIntensity(n){this.maximumIntensity=n.signal_z.concat(n.noise_z).reduce((e,r)=>Math.max(e,r),-1/0)},async graph(){await Wl.newPlot(this.id,this.dataForDrawing,this.layout,{modeBarButtonsToRemove:["toImage","sendDataToCloud"],modeBarButtonsToAdd:[{title:"Download as SVG",name:"toImageSvg",icon:Wl.Icons.camera,click:function(n){Wl.downloadImage(n,{filename:"FLASHViewer-3d-plot",height:800,width:800,format:"svg"})}}]})},getPrecursorSignal(n){if(n.PrecursorScan==0)return{};const e=this.streamlitDataStore.allDataForDrawing.per_scan_data.find(D=>D.Scan===n.PrecursorScan);if(!e)return{};const r=e.MonoMass,C=n.PrecursorMass;for(let D=0,T=r.length;DC.field),r=[];return Object.entries(n).forEach(C=>{const D=C[0];if(!e.includes(D)||D==="id")return;C[1].forEach((p,t)=>{r[t]={...r[t],[D]:p}})}),r.map((C,D)=>C.id=D),r},selectedMassFromFragmentTable(){return this.selectionStore.selectedObservedMassFromFragmentTable}},watch:{selectedMassFromFragmentTable(n){const e=this.tableData.findIndex(r=>r.MonoMass===n);e!==-1&&(this.selectedMassIndex=e)}},methods:{updateSelectedMass(n){n!==void 0&&this.selectionStore.updateSelectedMass(n)}}});function kO(n,e,r,C,D,T){const p=Gr("TabulatorTable");return Rr(),za(p,{"table-data":n.tableData,"column-definitions":n.columnDefinitions,title:"Mass Table",index:n.index,onRowSelected:n.updateSelectedMass,"selected-row-index-from-listening":n.selectedMassTableRow,"default-row":0},null,8,["table-data","column-definitions","index","onRowSelected","selected-row-index-from-listening"])}const MO=hs(TO,[["render",kO]]),AO=ns({name:"TabulatorProteinTable",components:{TabulatorTable:y0},props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Ns(),e=rc();return{streamlitDataStore:n,selectionStore:e}},data(){return{columnDefinitions:[{title:"Scan No.",field:"Scan",sorter:"number",headerTooltip:"The identifier of the mass spectrometry scan associated with the identified proteoform."},{title:"Accession",field:"accession",headerTooltip:"The unique identifier for the protein in the reference database."},{title:"Description",field:"description",responsive:10},{title:"Length",field:"length",responsive:6,sorter:"number",headerTooltip:"The total number of amino acids in the matched protein."},{title:"Mass",field:"ProteoformMass",responsive:8,sorter:"number",headerTooltip:"The calculated mass of the proteoform in Daltons.",formatter:function(n){const e=n.getValue();return e==-1?"-":e}},{title:"No. of Matched Fragments",field:"MatchingFragments",sorter:"number",headerTooltip:"The number of fragment ions that match the protein sequence."},{title:"No. of Modifications",field:"ModCount",sorter:"number",headerTooltip:"The number of modifications identified in the protein."},{title:"No. of Tags",field:"TagCount",sorter:"number",headerTooltip:"The number of sequence tags associated with the proteoform match."},{title:"Score",field:"Score",sorter:"number",headerTooltip:"A score indicating the confidence of the protein match (higher is better)."},{title:"Q-Value (Proteoform Level)",field:"ProteoformLevelQvalue",sorter:"number",headerTooltip:"The confidence value of the protein match at the proteoform level.",formatter:function(n){const e=n.getValue();return e==-1?"-":e}}],initialSort:[{column:"Score",dir:"desc"}]}},computed:{selectedRow(){return this.selectionStore.selectedProteinIndex},tableData(){const n=this.streamlitDataStore.dataForDrawing.protein_table;return n.forEach(e=>e.id=e.index),n}},methods:{updateSelectedProtein(n){if(n!==void 0){this.selectionStore.updateSelectedProtein(n);const e=this.streamlitDataStore.dataForDrawing.protein_table[n].Scan;if(e!==void 0&&typeof e=="number"){const r=this.streamlitDataStore.allDataForDrawing.per_scan_data.findIndex(C=>C.Scan===e);this.selectionStore.updateSelectedScan(r)}this.selectionStore.updateSelectedTag(void 0),this.selectionStore.updateTagData(void 0)}}}});function SO(n,e,r,C,D,T){const p=Gr("TabulatorTable");return Rr(),za(p,{"table-data":n.tableData,"column-definitions":n.columnDefinitions,title:"Protein Table",index:n.index,"selected-row-index-from-listening":n.selectedRow,"default-row":0,"initial-sort":n.initialSort,onRowSelected:n.updateSelectedProtein},null,8,["table-data","column-definitions","index","selected-row-index-from-listening","initial-sort","onRowSelected"])}const CO=hs(AO,[["render",SO]]),EO=ns({name:"TabulatorTagTable",components:{TabulatorTable:y0},props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Ns(),e=rc();return{streamlitDataStore:n,selectionStore:e}},data(){return{columnDefinitions:[{title:"Scan Number",field:"Scan",sorter:"number",headerTooltip:"The identifier of the mass spectrometry scan containing the sequence tag."},{title:"Start Position",field:"StartPos",sorter:"number",headerTooltip:"The position in the protein sequence where the sequence tag begins."},{title:"End Position",field:"EndPos",sorter:"number",headerTooltip:"The position in the protein sequence where the sequence tag ends."},{title:"Sequence",field:"TagSequence",sorter:"number",headerTooltip:"The amino acid sequence of the identified tag."},{title:"Length",field:"Length",sorter:"number",headerTooltip:"The number of amino acids in the sequence tag."},{title:"Tag Score",field:"Score",sorter:"number",headerTooltip:"A score indicating the confidence of the sequence tag identification (higher is better)."},{title:"N mass",field:"Nmass",sorter:"number",headerTooltip:"The N-terminal mass offset from the start of the sequence tag in Daltons.",formatter:function(n){const e=n.getValue();return e==-1?"-":e}},{title:"C mass",field:"Cmass",sorter:"number",headerTooltip:"The C-terminal mass offset from the end of the sequence tag in Daltons.",formatter:function(n){const e=n.getValue();return e==-1?"-":e}},{title:"Δ mass",field:"DeltaMass",sorter:"number",headerTooltip:"Delta mass is the difference between the tag flanking mass and the (partial) proteoform mass, from its terminal to the tag boundary."}],initialSort:[{column:"Score",dir:"desc"}],selectedTagIndex:void 0}},computed:{selectedRow(){return this.selectionStore.selectedTagIndex},tableData(){let e=this.streamlitDataStore.dataForDrawing.tag_table.filter(C=>C.ProteinIndex===this.selectionStore.selectedProteinIndex);const r=this.selectionStore.selectedAApos;return r!==void 0&&(e=e.filter(C=>{const D=C.StartPos,T=C.EndPos;return typeof D=="number"&&typeof T=="number"&&D<=r&&T>=r})),e.forEach(C=>C.id=C.TagIndex),e}},watch:{},methods:{getRowByTagIndex(n){return this.tableData.find(C=>C.id===n)},updateSelectedTag(n){if(n===void 0)return;this.selectionStore.updateSelectedTag(n);const e=this.getRowByTagIndex(n);if(e===void 0)return;const r=e.mzs;let C=[];typeof r=="string"&&(C=r.split(",").map(Number).filter(i=>i!==0));const D=typeof e.StartPos=="number"?e.StartPos:0,T=typeof e.EndPos=="number"?e.EndPos:0;let p=-1e3;D!==void 0&&this.selectionStore.selectedAApos!==void 0&&typeof D=="number"&&(p=this.selectionStore.selectedAApos-D);const t=e.TagSequence;let d="";typeof t=="string"&&(d=t);let g=!1;e["N mass"]===-1&&(g=!0),this.selectionStore.updateTagData({sequence:d,nTerminal:g,masses:C,selectedAA:p,startPos:D,endPos:T})}}});function LO(n,e,r,C,D,T){const p=Gr("TabulatorTable");return Rr(),za(p,{"table-data":n.tableData,"column-definitions":n.columnDefinitions,title:"Tag Table",index:n.index,onRowSelected:n.updateSelectedTag,"default-row":0,"initial-sort":n.initialSort},null,8,["table-data","column-definitions","index","onRowSelected","initial-sort"])}const IO=hs(EO,[["render",LO]]),W2=i2("variable-mod",{state:()=>({variableMod:{}}),getters:{variableModifications:n=>n.variableMod,isEmpty:n=>Object.values(n.variableMod).filter(e=>e!==void 0&&e!==0).length===0},actions:{updateVariableModifications(n,e){this.variableMod={...this.variableMod,[n]:e}}}}),wv={Acetyl:42.010565,Methyl:14.01565,Phospho:79.966331,Oxidation:15.994915,Deamidated:.984016,Amidated:-.984016},r6={"N-term":["Acetyl","Methyl","Phospho"],"C-term":["Amidated"],C:["Acetyl","Methyl","Phospho"],E:["Methyl","Phospho"],D:["Methyl","Phospho"],H:["Methyl","Phospho"],I:["Methyl"],K:["Methyl","Phospho"],L:["Methyl"],M:["Oxidation"],N:["Methyl"],Q:["Deamidated","Methyl"],R:["Methyl","Phospho"],S:["Acetyl","Methyl","Phospho"],T:["Acetyl","Methyl","Phospho"],Y:["Phospho"]},RO={default:[{typeName:"",typeMass:0}],"water loss":[{typeName:"-H2O",typeMass:-18.0105646863}],"ammonium loss":[{typeName:"-NH3",typeMass:-17.0265491015}],"proton loss/addition":[{typeName:"-H",typeMass:-1.0078250319},{typeName:"+H",typeMass:1.0078250319}]},PO=ns({name:"AminoAcidCell",props:{sequenceObject:{type:Object,required:!0},index:{type:Number,required:!0},fixedModification:{type:Boolean,default:!1},disableVariableModificationSelection:{type:Boolean,default:!1},showTags:{type:Boolean,default:!1},showModifications:{type:Boolean,default:!0},showFragments:{type:Boolean,default:!0}},emits:["selected"],setup(){const n=Ns(),e=W2(),r=rc();return{streamlitData:n,variableModData:e,selectionStore:r}},data(){return{menuOpen:!1,selectedModification:void 0,customSelected:!1,customModMass:"0"}},computed:{id(){return`${this.aminoAcid}${this.index}`},theme(){return this.streamlitData.theme},aminoAcid(){return this.sequenceObject.aminoAcid},start(){var e;const n=(e=this.streamlitData.sequenceData)==null?void 0:e[this.selectedSequence].proteoform_start;return n===void 0?n:n<0?0:n},end(){var e;const n=(e=this.streamlitData.sequenceData)==null?void 0:e[this.selectedSequence].proteoform_end;return n===void 0?n:n<0&&this.length!==void 0?this.length-1:n},length(){var n;return(n=this.streamlitData.sequenceData)==null?void 0:n[this.selectedSequence].sequence.length},prefix(){if(this.start===void 0&&this.end===void 0)return this.index+1;if(this.end!==void 0&&this.index>this.end)return;if(this.start!==void 0&&this.index>=this.start)return this.index+1-this.start},protein_position(){return this.index+1},truncated_prefix(){if(!(this.start===void 0||this.index>=this.start))return this.index+1},suffix(){if(this.start===void 0&&this.end===void 0)return(length??0)-this.index;if(this.start!==void 0&&this.index0},selectedSequence(){return this.selectionStore.selectedProteinIndex!==void 0?this.selectionStore.selectedProteinIndex:0},coverage(){return this.sequenceObject.coverage!==void 0?this.sequenceObject.coverage:-1},isHighlighted(){return this.index===this.selectionStore.selectedAApos},isTruncated(){return this.sequenceObject.truncated},DoesThisAAHaveSequenceTags(){return this.coverage>0},modMass(){return this.customModMass!=="0"?parseFloat(this.customModMass).toLocaleString("en-US",{signDisplay:"always"}):this.sequenceObject.modMass}},methods:{toggleMenuOpen(){this.disableVariableModificationSelection||(this.menuOpen=!this.menuOpen)},selectCell(){this.DoesThisAAHaveSequenceTags&&this.showTags&&(this.selectionStore.selectedAApos===this.index?this.selectionStore.updateSelectedAA(void 0):this.selectionStore.updateSelectedAA(this.index)),this.DoesThisAAHaveMatchingFragments&&this.$emit("selected",this.index)},updateSelectedModification(n){if(n==="None")this.selectedModification=void 0;else if(n==="Custom"){this.customSelected=!0;return}else this.selectedModification=n;this.toggleMenuOpen(),this.customSelected=!1,this.variableModData.updateVariableModifications(this.index,this.selectedModification?wv[this.selectedModification]:0)},updateCustomModification(){this.variableModData.updateVariableModifications(this.index,parseFloat(this.customModMass)),this.toggleMenuOpen()}},watch:{selectedModification(){this.selectedModification!==void 0&&wv[this.selectedModification]!==void 0&&(this.sequenceObject.modMass=parseFloat(wv[this.selectedModification].toFixed(2)).toLocaleString("en-US",{signDisplay:"always"}))},showTags(){this.showTags||this.selectionStore.updateSelectedAA(void 0)}}});const Mu=n=>(Ty("data-v-fb6c82e8"),n=n(),ky(),n),OO=["id"],DO={key:0,class:"frag-marker-container-a"},zO=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"green",d:"M7, 1 L9, 3 L9, 7 L9, 3 L7, 1 z","stroke-width":"1.5"})],-1)),FO=[zO],BO={key:1,class:"frag-marker-container-b"},NO=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"blue",d:"M10, 0 V5 M10, 0 H5 z","stroke-width":"3"})],-1)),VO=[NO],jO={key:2,class:"frag-marker-container-c"},UO=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"red",d:"M4, 1 L9, 3 L9, 7 L9, 3 L4, 1 z","stroke-width":"1.5"})],-1)),HO=[UO],GO={key:3,class:"frag-marker-container-x"},qO=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"green",d:"M1, 3 L1, 7 L3, 9 L1, 7 L1, 3 z","stroke-width":"1.5"})],-1)),WO=[qO],YO={key:4,class:"frag-marker-container-y"},$O=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"blue",d:"M0, 10 V5 M0, 10 H5 z","stroke-width":"3"})],-1)),ZO=[$O],XO={key:5,class:"frag-marker-container-z"},KO=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"red",d:"M1, 3 L1, 7 L6, 9 L1, 7 L1, 3 z","stroke-width":"1.5"})],-1)),JO=[KO],QO={key:6,class:"rounded-lg tag-marker tag-start"},eD={key:7,class:"rounded-lg tag-marker tag-end"},tD={key:8,class:"rounded-lg mod-marker mod-start"},nD={key:9,class:"rounded-lg mod-marker mod-end"},rD={key:10,class:"mod-marker mod-start-cont"},iD={key:11,class:"mod-marker mod-end-cont"},aD={key:12,class:"mod-marker mod-center-cont"},oD={key:13,class:"rounded-lg mod-mass"},sD=Mu(()=>ti("br",null,null,-1)),lD=Mu(()=>ti("br",null,null,-1)),uD={key:14,class:"rounded-lg mod-mass-a"},cD={key:15,class:"rounded-lg mod-mass-b"},hD={key:16,class:"rounded-lg mod-mass-c"},fD={key:17,class:"frag-marker-extra-type"},dD=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("circle",{cx:"5",cy:"5",r:"0.5",stroke:"black","stroke-width":"0.3",fill:"gold"})],-1)),pD=[dD],mD={class:"aa-text"},gD=Mu(()=>ti("br",null,null,-1)),vD=Mu(()=>ti("br",null,null,-1)),yD=Mu(()=>ti("br",null,null,-1)),bD=Mu(()=>ti("br",null,null,-1)),xD={key:4};function _D(n,e,r,C,D,T){const p=Gr("v-tooltip"),t=Gr("v-select"),d=Gr("v-list-item"),g=Gr("v-text-field"),i=Gr("v-btn"),M=Gr("v-form"),v=Gr("v-list"),f=Gr("v-menu");return Rr(),ei("div",{id:n.id,class:Ju(["d-flex justify-center align-center rounded-lg",[n.aminoAcidCellClass,{highlighted:n.isHighlighted},{truncated:n.isTruncated}]]),style:zs(n.aminoAcidCellStyles),onClick:e[5]||(e[5]=(...l)=>n.selectCell&&n.selectCell(...l)),onContextmenu:e[6]||(e[6]=jp((...l)=>n.toggleMenuOpen&&n.toggleMenuOpen(...l),["prevent"]))},[n.showFragments&&n.sequenceObject.aIon?(Rr(),ei("div",DO,FO)):Zi("",!0),n.showFragments&&n.sequenceObject.bIon?(Rr(),ei("div",BO,VO)):Zi("",!0),n.showFragments&&n.sequenceObject.cIon?(Rr(),ei("div",jO,HO)):Zi("",!0),n.showFragments&&n.sequenceObject.xIon?(Rr(),ei("div",GO,WO)):Zi("",!0),n.showFragments&&n.sequenceObject.yIon?(Rr(),ei("div",YO,ZO)):Zi("",!0),n.showFragments&&n.sequenceObject.zIon?(Rr(),ei("div",XO,JO)):Zi("",!0),n.showTags&&n.sequenceObject.tagStart?(Rr(),ei("div",QO)):Zi("",!0),n.showTags&&n.sequenceObject.tagEnd?(Rr(),ei("div",eD)):Zi("",!0),n.showModifications&&(n.sequenceObject.modStart||n.isThisAAmodified)?(Rr(),ei("div",tD)):Zi("",!0),n.showModifications&&(n.sequenceObject.modEnd||n.isThisAAmodified)?(Rr(),ei("div",nD)):Zi("",!0),n.showModifications&&n.sequenceObject.modStart&&!n.sequenceObject.modEnd?(Rr(),ei("div",rD)):Zi("",!0),n.showModifications&&!n.sequenceObject.modStart&&n.sequenceObject.modEnd?(Rr(),ei("div",iD)):Zi("",!0),n.showModifications&&n.sequenceObject.modCenter?(Rr(),ei("div",aD)):Zi("",!0),n.showModifications&&(n.sequenceObject.modEnd||n.isThisAAmodified)?(Rr(),ei("div",oD,[ia(fo(n.modMass)+" ",1),gt(p,{activator:"parent",class:"foreground"},{default:ci(()=>[ia(fo(`Modification Mass: ${n.modMass} Da`)+" ",1),sD,ia(" "+fo(`Possible Modifications: ${n.sequenceObject.modLabels}`)+" ",1),lD]),_:1})])):Zi("",!0),n.showFragments&&n.showModifications&&n.sequenceObject.modEnd&&n.sequenceObject.aIon&&!n.sequenceObject.bIon?(Rr(),ei("div",uD,fo(n.sequenceObject.modMass),1)):Zi("",!0),n.showFragments&&n.showModifications&&n.sequenceObject.modEnd&&n.sequenceObject.bIon?(Rr(),ei("div",cD,fo(n.sequenceObject.modMass),1)):Zi("",!0),n.showFragments&&n.showModifications&&n.sequenceObject.modEnd&&n.sequenceObject.cIon&&!n.sequenceObject.bIon?(Rr(),ei("div",hD,fo(n.sequenceObject.modMass),1)):Zi("",!0),n.showModifications&&n.DoesThisAAHaveExtraFragTypes?(Rr(),ei("div",fD,pD)):Zi("",!0),ti("div",mD,fo(n.aminoAcid),1),gt(f,{modelValue:n.menuOpen,"onUpdate:modelValue":e[4]||(e[4]=l=>n.menuOpen=l),activator:"parent",location:"end","open-on-click":!1,"close-on-content-click":!1,width:"200px"},{default:ci(()=>[gt(v,null,{default:ci(()=>[gt(d,null,{default:ci(()=>[gt(t,{modelValue:n.selectedModification,"onUpdate:modelValue":[e[0]||(e[0]=l=>n.selectedModification=l),n.updateSelectedModification],clearable:"true",label:"Modification",density:"compact",items:n.modificationsForSelect,"onClick:clear":e[1]||(e[1]=l=>n.selectedModification=void 0)},null,8,["modelValue","items","onUpdate:modelValue"])]),_:1}),n.customSelected?(Rr(),za(d,{key:0},{default:ci(()=>[gt(M,{onSubmit:e[3]||(e[3]=jp(()=>{},["prevent"]))},{default:ci(()=>[gt(g,{modelValue:n.customModMass,"onUpdate:modelValue":e[2]||(e[2]=l=>n.customModMass=l),"hide-details":"",label:"Monoisotopic mass in Da",type:"number"},null,8,["modelValue"]),gt(i,{type:"submit",block:"true",class:"mt-2",onClick:n.updateCustomModification},{default:ci(()=>[ia("Submit")]),_:1},8,["onClick"])]),_:1})]),_:1})):Zi("",!0)]),_:1})]),_:1},8,["modelValue"]),gt(p,{activator:"parent"},{default:ci(()=>[ti("div",null,fo(`Protein Position: ${n.protein_position}`),1),n.prefix!==void 0?(Rr(),ei(Yr,{key:0},[ia(fo(`Prefix: ${n.prefix}`)+" ",1),gD],64)):Zi("",!0),n.truncated_prefix!==void 0?(Rr(),ei(Yr,{key:1},[ia(fo(`Truncated Prefix: ${n.truncated_prefix}`)+" ",1),vD],64)):Zi("",!0),n.suffix!==void 0?(Rr(),ei(Yr,{key:2},[ia(fo(`Suffix: ${n.suffix}`)+" ",1),yD],64)):Zi("",!0),n.truncated_suffix!==void 0?(Rr(),ei(Yr,{key:3},[ia(fo(`Truncated Suffix: ${n.truncated_suffix}`)+" ",1),bD],64)):Zi("",!0),n.DoesThisAAHaveExtraFragTypes?(Rr(),ei("div",xD,fo(n.sequenceObject.extraTypes.join(", ")),1)):Zi("",!0)]),_:1})],46,OO)}const i6=hs(PO,[["render",_D],["__scopeId","data-v-fb6c82e8"]]),wD=ns({name:"ProteinTerminalCell",props:{proteinTerminal:{type:String,required:!0},index:{type:Number,required:!0},truncated:{type:Boolean,required:!1,default:!1},determined:{type:Boolean,required:!1,default:!0},disableVariableModificationSelection:{type:Boolean,default:!1}},setup(){const n=Ns(),e=W2();return{streamlitData:n,variableModData:e}},data(){return{menuOpen:!1,selectedModification:void 0,customSelected:!1,customModMass:"0"}},computed:{id(){return`${this.proteinTerminal}${this.index}`},theme(){return this.streamlitData.theme},proteinTerminalText(){return this.proteinTerminal.charAt(0)},hasVariableModification(){return this.variableModData.variableModifications[this.index]!==void 0&&this.variableModData.variableModifications[this.index]!==0},modificationsForSelect(){return["None","Custom",...this.potentialModifications]},proteinTerminalCellStyles(){var n,e;return{"--protein-terminal-cell-color":((n=this.theme)==null?void 0:n.textColor)??"#fff","--protein-terminal-cell-hover-color":"#fff","--protein-terminal-cell-hover-bg-color":((e=this.theme)==null?void 0:e.secondaryBackgroundColor)??"#000"}},proteinTerminalCellClasses(){return{"protein-terminal":this.selectedModification===void 0&&!this.hasVariableModification,"protein-terminal-modified":this.selectedModification!==void 0||this.hasVariableModification}},potentialModifications(){return r6[this.proteinTerminal]??[]}},methods:{toggleMenuOpen(){this.disableVariableModificationSelection||(this.menuOpen=!this.menuOpen)},updateSelectedModification(n){if(n==="None")this.selectedModification=void 0;else if(n==="Custom"){this.customSelected=!0;return}else this.selectedModification=n;this.toggleMenuOpen(),this.customSelected=!1,this.variableModData.updateVariableModifications(this.index,this.selectedModification?wv[this.selectedModification]:0)},updateCustomModification(){this.variableModData.updateVariableModifications(this.index,parseFloat(this.customModMass)),this.toggleMenuOpen()}}});const TD={key:0,class:"undetermined"};function kD(n,e,r,C,D,T){const p=Gr("v-select"),t=Gr("v-list-item"),d=Gr("v-text-field"),g=Gr("v-btn"),i=Gr("v-form"),M=Gr("v-list"),v=Gr("v-menu"),f=Gr("v-tooltip");return Rr(),ei("div",{class:Ju(["d-flex justify-center align-center rounded-lg",n.proteinTerminalCellClasses]),style:zs(n.proteinTerminalCellStyles),onClick:e[5]||(e[5]=jp(()=>{},["stop"])),onContextmenu:e[6]||(e[6]=jp((...l)=>n.toggleMenuOpen&&n.toggleMenuOpen(...l),["prevent"]))},[ti("div",{class:Ju(["terminal-text",{truncated:n.truncated}])},fo(n.proteinTerminalText),3),n.determined?Zi("",!0):(Rr(),ei("div",TD,"??")),gt(v,{activator:"parent",modelValue:n.menuOpen,"onUpdate:modelValue":e[4]||(e[4]=l=>n.menuOpen=l),location:"end","open-on-click":!1,"close-on-content-click":!1,width:"200px"},{default:ci(()=>[gt(M,null,{default:ci(()=>[gt(t,null,{default:ci(()=>[gt(p,{modelValue:n.selectedModification,"onUpdate:modelValue":[e[0]||(e[0]=l=>n.selectedModification=l),n.updateSelectedModification],clearable:"",label:"Modification",density:"compact",items:n.modificationsForSelect,"onClick:clear":e[1]||(e[1]=l=>n.selectedModification=void 0)},null,8,["modelValue","items","onUpdate:modelValue"])]),_:1}),n.customSelected?(Rr(),za(t,{key:0},{default:ci(()=>[gt(i,{onSubmit:e[3]||(e[3]=jp(()=>{},["prevent"]))},{default:ci(()=>[gt(d,{modelValue:n.customModMass,"onUpdate:modelValue":e[2]||(e[2]=l=>n.customModMass=l),"hide-details":"",label:"Monoisotopic mass in Da",type:"number"},null,8,["modelValue"]),gt(g,{type:"submit",block:"",class:"mt-2",onClick:n.updateCustomModification},{default:ci(()=>[ia("Submit")]),_:1},8,["onClick"])]),_:1})]),_:1})):Zi("",!0)]),_:1})]),_:1},8,["modelValue"]),gt(f,{activator:"parent"},{default:ci(()=>[ia(fo(n.proteinTerminalText),1)]),_:1})],38)}const MD=hs(wD,[["render",kD],["__scopeId","data-v-beee67fe"]]);var a6={exports:{}};/*! dom-to-image-more 26-04-2023 */(function(n,e){(function(r){const C=function(){let y=0;return{escape:function(A){return A.replace(/([.*+?^${}()|[]\/\\])/g,"\\$1")},isDataUrl:function(A){return A.search(/^(data:)/)!==-1},canvasToBlob:function(A){return A.toBlob?new Promise(function(L){A.toBlob(L)}):function(L){return new Promise(function(b){var R=f(L.toDataURL().split(",")[1]),I=R.length,O=new Uint8Array(I);for(let z=0;zte.style.removeProperty(X)),["left","right","top","bottom"].forEach(X=>{te.style.getPropertyValue(X)&&te.style.setProperty(X,"0px")})))}H(W,N)}function $(){const q=C.uid();function H(ne){const te=v(W,ne),Z=te.getPropertyValue("content");if(Z!==""&&Z!=="none"){let ie=function(){const oe=`.${q}:`+ne,ue=(te.cssText?ce:ye)();return document.createTextNode(oe+`{${ue}}`);function ce(){return`${te.cssText} content: ${Z};`}function ye(){return C.asArray(te).map(me).join("; ")+";";function me(pe){const xe=te.getPropertyValue(pe),Pe=te.getPropertyPriority(pe)?" !important":"";return pe+": "+xe+Pe}}};var X=ie;const Q=N.getAttribute("class")||"",re=(N.setAttribute("class",Q+" "+q),document.createElement("style"));re.appendChild(ie()),N.appendChild(re)}}[":before",":after"].forEach(function(ne){H(ne)})}function U(){C.isHTMLTextAreaElement(W)&&(N.innerHTML=W.value),C.isHTMLInputElement(W)&&N.setAttribute("value",W.value)}function G(){C.isSVGElement(N)&&(N.setAttribute("xmlns","http://www.w3.org/2000/svg"),C.isSVGRectElement(N))&&["width","height"].forEach(function(q){const H=N.getAttribute(q);H&&N.style.setProperty(q,H)})}}}(E,S,null)}).then(o).then(s).then(function(E){S.bgcolor&&(E.style.backgroundColor=S.bgcolor),S.width&&(E.style.width=S.width+"px"),S.height&&(E.style.height=S.height+"px"),S.style&&Object.keys(S.style).forEach(function(A){E.style[A]=S.style[A]});let x=null;return typeof S.onclone=="function"&&(x=S.onclone(E)),Promise.resolve(x).then(function(){return E})}).then(function(E){let x=S.width||C.width(E),A=S.height||C.height(E);return Promise.resolve(E).then(function(L){return L.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),new XMLSerializer().serializeToString(L)}).then(C.escapeXhtml).then(function(L){var b=(C.isDimensionMissing(x)?' width="100%"':` width="${x}"`)+(C.isDimensionMissing(A)?' height="100%"':` height="${A}"`);return`${L}`}).then(function(L){return"data:image/svg+xml;charset=utf-8,"+L})}).then(function(E){for(;0{h=null,m={}},2e4)}(),E})}function a(y,S){return l(y,S=S||{}).then(C.makeImage).then(function(_){var k=typeof S.scale!="number"?1:S.scale,E=function(A,L){let b=S.width||C.width(A),R=S.height||C.height(A);return C.isDimensionMissing(b)&&(b=C.isDimensionMissing(R)?300:2*R),C.isDimensionMissing(R)&&(R=b/2),A=document.createElement("canvas"),A.width=b*L,A.height=R*L,S.bgcolor&&((L=A.getContext("2d")).fillStyle=S.bgcolor,L.fillRect(0,0,A.width,A.height)),A}(y,k),x=E.getContext("2d");return x.msImageSmoothingEnabled=!1,x.imageSmoothingEnabled=!1,_&&(x.scale(k,k),x.drawImage(_,0,0)),E})}let u=null;function o(y){return T.resolveAll().then(function(S){var _;return S!==""&&(_=document.createElement("style"),y.appendChild(_),_.appendChild(document.createTextNode(S))),y})}function s(y){return t.inlineAll(y).then(function(){return y})}function c(y,S,_,k,E){const x=i.impl.options.copyDefaultStyles?function(L,I){var I=function(z){var F=[];do if(z.nodeType===M){var B=z.tagName;if(F.push(B),w.includes(B))break}while(z=z.parentNode,z);return F}(I),R=function(z){return(L.styleCaching!=="relaxed"?z:z.filter((F,B,N)=>B===0||B===N.length-1)).join(">")}(I);if(m[R])return m[R];var O=function(){if(u)return u.contentWindow;var z=document.characterSet||"UTF-8",F=document.doctype,F=F?(`":"";return(u=document.createElement("iframe")).id="domtoimage-sandbox-"+C.uid(),u.style.visibility="hidden",u.style.position="fixed",document.body.appendChild(u),function(N,W,j,$){try{return N.contentWindow.document.write(W+`${$}`),N.contentWindow}catch{}var U=document.createElement("meta");U.setAttribute("charset",j);try{var G=document.implementation.createHTMLDocument($),q=(G.head.appendChild(U),W+G.documentElement.outerHTML);return N.setAttribute("srcdoc",q),N.contentWindow}catch{}return N.contentDocument.head.appendChild(U),N.contentDocument.title=$,N.contentWindow}(u,F,z,"domtoimage-sandbox");function B(N){var W;return N?((W=document.createElement("div")).innerText=N,W.innerHTML):""}}(),I=function(z,F){let B=z.body;do{var N=F.pop(),N=z.createElement(N);B.appendChild(N),B=N}while(0{const r=this.$refs.downloadLink;r.download="FLASHViewer-sequence.svg",r.href=e,r.click()}).finally(()=>{this.svgDownloadTriggered=!1})}}}),ED={ref:"downloadLink",style:{visibility:"hidden"}};function LD(n,e,r,C,D,T){const p=Gr("v-btn"),t=Gr("v-tooltip"),d=Gr("v-progress-linear"),g=Gr("v-card-text"),i=Gr("v-card"),M=Gr("v-dialog");return Rr(),ei(Yr,null,[gt(p,{id:"download-button",variant:"text",size:"large",icon:"mdi-download",onClick:n.triggerDownload},null,8,["onClick"]),gt(t,{text:"Save as SVG",location:"bottom",activator:"#download-button"}),ti("a",ED,null,512),gt(M,{modelValue:n.svgDownloadTriggered,"onUpdate:modelValue":e[0]||(e[0]=v=>n.svgDownloadTriggered=v),persistent:"",width:"auto"},{default:ci(()=>[gt(i,{color:"primary"},{default:ci(()=>[gt(g,null,{default:ci(()=>[ia(" Please stand by "),gt(d,{indeterminate:"",color:"white",class:"mb-0"})]),_:1})]),_:1})]),_:1},8,["modelValue"])],64)}const o6=hs(CD,[["render",LD]]),ID=ns({name:"SequenceViewInformation",components:{AminoAcidCell:i6},setup(){return{streamlitDataStore:Ns()}},data(){return{dialog:!1,aIon:!0,bIon:!1,cIon:!1,xIon:!0,yIon:!0,zIon:!1,fixed_mod:!1,variable_mod:!1,originalAAClasses:void 0,waterLoss:!1,ammoniumLoss:!1,proton:!1}},computed:{theme(){return this.streamlitDataStore.theme},aaSequenceObject(){return{aminoAcid:"AA",aIon:this.aIon,bIon:this.bIon,cIon:this.cIon,xIon:this.xIon,yIon:this.yIon,zIon:this.zIon,modStart:this.variable_mod,modEnd:this.variable_mod,modMass:"+134.99",truncated:!1,extraTypes:this.extraFragTypes()}}},methods:{setAAWithVarMod(){var e;this.originalAAClasses===void 0&&(this.originalAAClasses=((e=document.getElementById("AA0"))==null?void 0:e.getAttribute("class"))??"");const n=document.getElementById("AA0");if(n){let r=this.originalAAClasses;this.fixed_mod&&(r="sequence-amino-acid-highlighted "+r),n.setAttribute("class",r)}},extraFragTypes(){let n="";if(this.aIon)n="a";else if(this.bIon)n="b";else if(this.cIon)n="c";else if(this.xIon)n="x";else if(this.yIon)n="y";else if(this.zIon)n="z";else return[];let e=[];return this.waterLoss&&e.push(`${n}-H20`),this.ammoniumLoss&&e.push(`${n}-NH3`),this.proton&&(e.push(`${n}-H`),e.push(`${n}+H`)),e}}});const s6=n=>(Ty("data-v-9a6912d6"),n=n(),ky(),n),RD=s6(()=>ti("div",{class:"text-h6 d-flex justify-center"},"Legend for Sequence Map",-1)),PD={class:"d-flex justify-center"},OD={class:"sequence-grid pa-6",style:{width:"150px","max-width":"100%"}},DD={class:"d-flex"},zD={class:"d-flex"},FD=s6(()=>ti("div",{class:"text-subtitle-2 d-flex justify-end align-end"}," * Click checkboxes to see the styles ",-1));function BD(n,e,r,C,D,T){var c;const p=Gr("v-btn"),t=Gr("v-card-title"),d=Gr("v-divider"),g=Gr("AminoAcidCell"),i=Gr("v-checkbox"),M=Gr("v-row"),v=Gr("v-list-item-title"),f=Gr("v-list-item"),l=Gr("v-list"),a=Gr("v-card-text"),u=Gr("v-card-actions"),o=Gr("v-card"),s=Gr("v-dialog");return Rr(),ei(Yr,null,[gt(p,{id:"info-button",variant:"text",size:"large",icon:"mdi-information"}),gt(s,{modelValue:n.dialog,"onUpdate:modelValue":e[13]||(e[13]=h=>n.dialog=h),activator:"#info-button",width:"auto",theme:((c=n.theme)==null?void 0:c.base)??"light"},{default:ci(()=>[gt(o,null,{default:ci(()=>[gt(t,null,{default:ci(()=>[ia("Sequence View legend")]),_:1}),gt(d),gt(a,null,{default:ci(()=>[RD,ti("div",PD,[ti("div",OD,[gt(g,{index:0,"sequence-object":n.aaSequenceObject,onSelected:e[0]||(e[0]=jp(()=>{},["stop"]))},null,8,["sequence-object"])])]),ia(" Fragment ion types "),gt(M,null,{default:ci(()=>[ti("div",DD,[gt(i,{modelValue:n.aIon,"onUpdate:modelValue":e[1]||(e[1]=h=>n.aIon=h),label:"a"},null,8,["modelValue"]),gt(i,{modelValue:n.bIon,"onUpdate:modelValue":e[2]||(e[2]=h=>n.bIon=h),label:"b"},null,8,["modelValue"]),gt(i,{modelValue:n.cIon,"onUpdate:modelValue":e[3]||(e[3]=h=>n.cIon=h),label:"c"},null,8,["modelValue"]),gt(i,{modelValue:n.xIon,"onUpdate:modelValue":e[4]||(e[4]=h=>n.xIon=h),label:"x"},null,8,["modelValue"]),gt(i,{modelValue:n.yIon,"onUpdate:modelValue":e[5]||(e[5]=h=>n.yIon=h),label:"y"},null,8,["modelValue"]),gt(i,{modelValue:n.zIon,"onUpdate:modelValue":e[6]||(e[6]=h=>n.zIon=h),label:"z"},null,8,["modelValue"]),gt(i,{modelValue:n.waterLoss,"onUpdate:modelValue":e[7]||(e[7]=h=>n.waterLoss=h),label:"water loss"},null,8,["modelValue"]),gt(i,{modelValue:n.ammoniumLoss,"onUpdate:modelValue":e[8]||(e[8]=h=>n.ammoniumLoss=h),label:"ammonium loss"},null,8,["modelValue"]),gt(i,{modelValue:n.proton,"onUpdate:modelValue":e[9]||(e[9]=h=>n.proton=h),label:"proton loss/addition"},null,8,["modelValue"])])]),_:1}),ia(" Modifications "),ti("div",zD,[gt(i,{modelValue:n.fixed_mod,"onUpdate:modelValue":[e[10]||(e[10]=h=>n.fixed_mod=h),n.setAAWithVarMod],label:"Fixed modifications","hide-details":"",density:"comfortable"},null,8,["modelValue","onUpdate:modelValue"]),gt(i,{modelValue:n.variable_mod,"onUpdate:modelValue":[e[11]||(e[11]=h=>n.variable_mod=h),n.setAAWithVarMod],label:"Variable modifications","hide-details":"",density:"comfortable"},null,8,["modelValue","onUpdate:modelValue"]),FD]),gt(l,{density:"compact"},{default:ci(()=>[gt(v,null,{default:ci(()=>[ia("Interaction tips")]),_:1}),gt(f,null,{default:ci(()=>[ia("Left click: highlights corresponding entries in Fragment Table and Mass Table")]),_:1}),gt(f,null,{default:ci(()=>[ia("Right click: opens variable modification menu (custom modification is available)")]),_:1})]),_:1})]),_:1}),gt(u,null,{default:ci(()=>[gt(p,{color:"primary",block:"true",onClick:e[12]||(e[12]=h=>n.dialog=!1)},{default:ci(()=>[ia("Close")]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue","theme"])],64)}const ND=hs(ID,[["render",BD],["__scopeId","data-v-9a6912d6"]]),VD=ns({name:"SequenceView",components:{SequenceViewInformation:ND,TabulatorTable:y0,AminoAcidCell:i6,ProteinTerminalCell:MD,SvgScreenshot:o6},props:{index:{type:Number,required:!0}},setup(){const n=Ns(),e=rc(),r=W2();return{streamlitDataStore:n,selectionStore:e,variableModData:r}},data(){return{rowWidth:35,massData:[],massTitle:"",ionTypes:[{text:"a",selected:!1},{text:"b",selected:!0},{text:"c",selected:!1},{text:"x",selected:!1},{text:"y",selected:!0},{text:"z",selected:!1}],ionTypesExtra:{"water loss":!1,"ammonium loss":!1,"proton loss/addition":!1},fragmentMassTolerance:10,visibilityOptions:[{text:"Fragments",selected:!0},{text:"Modifications",selected:!0}],fragmentTableColumnDefinitions:[{title:"Name",field:"Name",headerTooltip:"The name of the fragment ion, represented in Biemann notation."},{title:"Ion type",field:"IonType",headerTooltip:"The type of fragment ion identified in the spectrum."},{title:"Ion number",field:"IonNumber",sorter:"number",headerTooltip:"The position of the fragment ion within the sequence."},{title:"Theoretical mass",field:"TheoreticalMass",sorter:"number",headerTooltip:"The expected mass of the fragment ion."},{title:"Observed mass",field:"ObservedMass",formatter:Df(),sorter:"number",headerTooltip:"The mass of the fragment ion as observed in the spectrum."},{title:"Mass difference (Da)",field:"MassDiffDa",sorter:"number",headerTooltip:"The difference between the observed and theoretical masses of the fragment ion, in Daltons."},{title:"Mass difference (ppm)",field:"MassDiffPpm",sorter:"number",headerTooltip:"The difference between the observed and theoretical masses of the fragment ion, in parts per million (ppm)."}],fragmentTableData:[],fragmentTableTitle:"",residueCleavagePercentage:0,sequenceObjects:[],selectedFragTableRowIndex:void 0}},computed:{theme(){return this.streamlitDataStore.theme},selectedSequence(){const n=this.selectionStore.selectedProteinIndex;return typeof n=="number"?n:0},selectedTag(){return this.selectionStore.selectedTag},sequence(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.sequence)??[]},sequence_start_reported(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.proteoform_start)??0},sequence_start(){return this.sequence_start_reported<0?0:this.sequence_start_reported},n_truncation(){return this.sequence_start>0},n_determined(){return this.sequence_start_reported>=0},sequence_end_reported(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.proteoform_end)??this.sequence.length-1},sequence_end(){return this.sequence_end_reported<0?this.sequence.length-1:this.sequence_end_reported},c_truncation(){return this.sequence_end=0},modifications(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.modifications)??[]},coverage(){var e,r;const n=this.selectedSequence;return typeof n=="number"?((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.coverage)??[]:[]},maxCoverage(){var e,r;const n=this.selectedSequence;return typeof n=="number"?((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.maxCoverage)??-1:-1},theoreticalMass(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.theoretical_mass)??0},computedMass(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),(r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.computed_mass},fixedModificationSites(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.fixed_modifications)??[]},variableModifications(){return this.variableModData.variableModifications??{}},tickLabels(){return{20:"20",25:"25",30:"30",35:"35",40:"40"}},gridClasses(){return{"sequence-grid":!0,[`grid-width-${this.rowWidth}`]:!0}},proteinTerminalCellStyles(){var n;return{"--amino-acid-cell-hover-color":"#fff","--amino-acid-cell-hover-bg-color":((n=this.theme)==null?void 0:n.secondaryBackgroundColor)??"#000"}},selectedScanIndex(){if(this.selectionStore.selectedScanIndex!==void 0)return this.streamlitDataStore.allDataForDrawing.per_scan_data.length===1?0:this.selectionStore.selectedScanIndex},calculateCleavagePercentage(){let n=0;for(let e=0,r=this.sequenceObjects.length-1;ee.text==="Tags"))!=null&&n.selected):!1},showTruncations(){var n;return this.displayTnT?!!((n=this.visibilityOptions.find(e=>e.text==="Truncations"))!=null&&n.selected):!1},showModifications(){var n;return!!((n=this.visibilityOptions.find(e=>e.text==="Modifications"))!=null&&n.selected)},showFragments(){var n;return!!((n=this.visibilityOptions.find(e=>e.text==="Fragments"))!=null&&n.selected)}},watch:{selectedScanIndex(){this.preparePrecursorInfo(),this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},sequence(){this.selectionStore.updateSelectedAA(void 0),this.preparePrecursorInfo(),this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications(),this.updateSettings()},selectedTag(){this.updateTagPosition()},fragmentMassTolerance(){this.preparePrecursorInfo(),this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},ionTypes:{handler(){this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},deep:!0},ionTypesExtra:{handler(){this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},deep:!0},variableModifications(){this.preparePrecursorInfo(),this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()}},mounted(){this.selectionStore.updateSelectedAA(void 0),this.initializeSequenceObjects(),this.preparePrecursorInfo(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},methods:{getFragmentMasses(n){var r;let e=this.selectedSequence;return e===void 0&&(e=0),(r=this.streamlitDataStore.sequenceData)==null?void 0:r[e][`fragment_masses_${n}`]},updateMassTolerance(n){this.fragmentMassTolerance=Number.parseInt(n.target.value)},updateSettings(){var n,e;((n=this.streamlitDataStore.settings)==null?void 0:n.ion_types)!==void 0&&this.ionTypes.forEach(r=>{r.selected=this.streamlitDataStore.settings.ion_types.includes(r.text)}),((e=this.streamlitDataStore.settings)==null?void 0:e.tolerance)!==void 0&&(this.fragmentMassTolerance=this.streamlitDataStore.settings.tolerance)},toggleIonTypeSelected(n){this.ionTypes[n].selected=!this.ionTypes[n].selected},preparePrecursorInfo(){if(this.selectedScanIndex==null){this.massData=[];return}if(this.computedMass!==void 0){this.massTitle="Proteoform";let D="-",T="-";this.computedMass>0&&(D=this.computedMass.toFixed(2),T=Math.abs(this.theoreticalMass-this.computedMass).toFixed(2)),this.massData=[`Theoretical protein mass : ${this.theoreticalMass.toFixed(2)}`,`Observed proteoform mass : ${D}`,`Δ Mass (Da) : ${T}`],this.visibilityOptions.some(p=>p.text==="Tags")||(this.visibilityOptions.push({text:"Truncations",selected:!0}),this.visibilityOptions.push({text:"Tags",selected:!0}),this.updateSettings()),this.ionTypesExtra["ammonium loss"]=!1,this.ionTypesExtra["water loss"]=!1,this.ionTypesExtra["proton loss/addition"]=!1;return}const e=this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScanIndex].PrecursorMass;if(e===0){this.massData=[];return}let r=this.theoreticalMass;this.variableModData.isEmpty||(this.variableModifications.valueOf(),Object.values(this.variableModifications).forEach(D=>{r+=D}));const C=Math.abs(r-e);this.massTitle="Precursor",this.massData=[`Theoretical mass : ${r.toFixed(2)}`,`Observed mass : ${e.toFixed(2)}`,`Δ Mass (Da) : ${C.toFixed(2)}`]},prepareFragmentTable(){if(this.sequence.length<=0){this.fragmentTableTitle="";return}if(this.selectedScanIndex===void 0){this.fragmentTableTitle="";return}const e=this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScanIndex].MonoMass;let r=[];const C=this.sequence_end;this.ionTypes.filter(D=>D.selected).forEach(D=>{if((D.text==="a"||D.text==="b"||D.text==="c")&&this.sequence_start_reported<0||(D.text==="x"||D.text==="y"||D.text==="z")&&this.sequence_end_reported<0)return;const T=this.getFragmentMasses(D.text);for(let p=0,t=T.length;p{this.variableModData.isEmpty||((D.text==="a"||D.text==="b"||D.text==="c")&&Object.entries(this.variableModifications).forEach(([M,v])=>{parseInt(M)<=d&&(g+=v)}),(D.text==="x"||D.text==="y"||D.text==="z")&&Object.entries(this.variableModifications).forEach(([M,v])=>{C-parseInt(M)<=d&&(g+=v)}));const i=Object.entries(RO).filter(([M])=>this.ionTypesExtra[M]||M==="default").map(([M,v])=>v).flat();for(let M=0,v=e.length;M{const a=g+l,u=e[M]-a,o=u/a*1e6;if(Math.abs(o)>this.fragmentMassTolerance)return;const s={Name:`${D.text}${p+1}`,IonType:`${D.text}${f}`,IonNumber:p+1,TheoreticalMass:a.toFixed(3),ObservedMass:e[M],MassDiffDa:u.toFixed(3),MassDiffPpm:o.toFixed(3)};r.push(s);let c=d;(D.text==="a"||D.text==="b"||D.text==="c")&&(this.sequenceObjects[c][`${D.text}Ion`]=!0),(D.text==="x"||D.text==="y"||D.text==="z")&&(this.sequenceObjects[C-p][`${D.text}Ion`]=!0,c=C-p),f&&this.sequenceObjects[d].extraTypes.push(`${D.text}${f}`)})})}}),this.residueCleavagePercentage=this.calculateCleavagePercentage,this.fragmentTableData=r,this.fragmentTableTitle=`Matching fragments (# ${r.length})`},fixedModification(n){return this.fixedModificationSites.includes(n)},initializeSequenceObjects(){this.sequenceObjects=[],this.sequence.forEach((n,e)=>{const r=this.coverage[e];let C=!1;(this.sequence_start>e||this.sequence_endC.Name===e),this.selectionStore.selectedAminoAcid(this.fragmentTableData[this.selectedFragTableRowIndex].ObservedMass)},updateTagPosition(){this.sequence.length<=0||(this.sequenceObjects.length!==this.sequence.length&&this.initializeSequenceObjects(),this.sequence.forEach((n,e)=>{var D,T;const r=((D=this.selectedTag)==null?void 0:D.startPos)==e,C=((T=this.selectedTag)==null?void 0:T.endPos)==e;this.sequenceObjects[e].tagStart=r,this.sequenceObjects[e].tagEnd=C}))},prepareAmbigiousModifications(){this.modifications.forEach(n=>{const e=n.start,r=n.end,C=n.mass_diff.toFixed(2),D=n.labels,T=parseFloat(C).toLocaleString("en-US",{signDisplay:"always"});for(let p=e;p<=r;p++)p==e&&(this.sequenceObjects[p].modStart=!0),p==r&&(this.sequenceObjects[p].modEnd=!0,this.sequenceObjects[p].modMass=T,this.sequenceObjects[p].modLabels=D),p!=e&&p!=r&&(this.sequenceObjects[p].modCenter=!0)})}}});const Y2=n=>(Ty("data-v-14f01162"),n=n(),ky(),n),jD=Y2(()=>ti("div",{class:"d-flex justify-center"},[ti("h4",null,"Sequence View")],-1)),UD={class:"sequence-and-scale"},HD={id:"sequence-part"},GD={class:"d-flex justify-space-evenly"},qD={class:"d-flex justify-end px-4 mb-4"},WD={class:"d-flex justify-space-evenly"},YD={class:"d-flex justify-space-evenly"},$D={class:"d-flex justify-space-evenly"},ZD={key:0,class:"d-flex justify-center align-center"},XD={key:3,class:"d-flex justify-center align-center"},KD={key:0,class:"scale-container",title:"Sequence Tag Coverage"},JD={class:"scale-text"},QD=Y2(()=>ti("div",{class:"scale"},null,-1)),ez=Y2(()=>ti("div",{class:"scale-text"},"1x",-1)),tz={id:"sequence-view-table"};function nz(n,e,r,C,D,T){var w;const p=Gr("v-divider"),t=Gr("SvgScreenshot"),d=Gr("SequenceViewInformation"),g=Gr("v-btn"),i=Gr("v-list-item-title"),M=Gr("v-slider"),v=Gr("v-list-item"),f=Gr("v-checkbox"),l=Gr("v-text-field"),a=Gr("v-list"),u=Gr("v-card"),o=Gr("v-menu"),s=Gr("ProteinTerminalCell"),c=Gr("AminoAcidCell"),h=Gr("TabulatorTable"),m=Gr("v-sheet");return Rr(),ei(Yr,null,[jD,gt(m,{class:"pa-4 rounded-lg",style:{"max-width":"97%"},theme:((w=n.theme)==null?void 0:w.base)??"light",border:""},{default:ci(()=>[ti("div",UD,[ti("div",HD,[ti("div",GD,[n.massData.length!=0?(Rr(),ei(Yr,{key:0},[ti("h3",null,fo(n.massTitle),1),gt(p,{vertical:!0}),(Rr(!0),ei(Yr,null,Ul(n.massData,(y,S)=>(Rr(),ei(Yr,{key:S},[ia(fo(y)+" ",1),gt(p,{vertical:!0})],64))),128))],64)):Zi("",!0)]),ti("div",qD,[ti("div",null,[gt(t,{"element-id":"sequence-part"}),gt(d),gt(g,{id:"settings-button",variant:"text",icon:"mdi-cog",size:"large"}),gt(o,{"close-on-content-click":!1,activator:"#settings-button",location:"bottom"},{default:ci(()=>[gt(u,{"min-width":"300"},{default:ci(()=>[gt(a,null,{default:ci(()=>[gt(v,null,{default:ci(()=>[gt(i,null,{default:ci(()=>[ia("# amino acids per row")]),_:1}),gt(M,{modelValue:n.rowWidth,"onUpdate:modelValue":e[0]||(e[0]=y=>n.rowWidth=y),ticks:n.tickLabels,min:20,max:40,step:"5","show-ticks":"always","tick-size":"4"},null,8,["modelValue","ticks"])]),_:1}),gt(v,null,{default:ci(()=>[gt(i,null,{default:ci(()=>[ia("Visibility")]),_:1}),ti("div",WD,[(Rr(!0),ei(Yr,null,Ul(n.visibilityOptions,y=>(Rr(),za(f,{key:y.text,modelValue:y.selected,"onUpdate:modelValue":S=>y.selected=S,"hide-details":"",density:"comfortable",label:y.text},null,8,["modelValue","onUpdate:modelValue","label"]))),128))])]),_:1}),gt(v,null,{default:ci(()=>[gt(i,null,{default:ci(()=>[ia("Fragment ion types")]),_:1}),ti("div",YD,[(Rr(!0),ei(Yr,null,Ul(n.ionTypes,(y,S)=>(Rr(),za(f,{key:y.text,modelValue:y.selected,"onUpdate:modelValue":_=>y.selected=_,"hide-details":"",density:"comfortable",label:y.text,onClick:_=>n.toggleIonTypeSelected(S),disabled:!n.showFragments},null,8,["modelValue","onUpdate:modelValue","label","onClick","disabled"]))),128))]),ti("div",$D,[(Rr(!0),ei(Yr,null,Ul(Object.keys(n.ionTypesExtra),y=>(Rr(),za(f,{key:y,modelValue:n.ionTypesExtra[y],"onUpdate:modelValue":S=>n.ionTypesExtra[y]=S,"hide-details":"",density:"comfortable",label:y,disabled:!n.showFragments},null,8,["modelValue","onUpdate:modelValue","label","disabled"]))),128))])]),_:1}),gt(v,null,{default:ci(()=>[gt(i,null,{default:ci(()=>[ia("Fragment mass tolerance")]),_:1}),gt(l,{modelValue:n.fragmentMassTolerance,"onUpdate:modelValue":e[1]||(e[1]=y=>n.fragmentMassTolerance=y),type:"number","hide-details":"auto",label:"mass tolerance in ppm",onChange:n.updateMassTolerance,disabled:!n.showFragments},null,8,["modelValue","onChange","disabled"])]),_:1})]),_:1})]),_:1})]),_:1})])]),ti("div",{class:Ju(["pb-4 px-2",n.gridClasses]),style:{width:"100%","max-width":"100%"}},[(Rr(!0),ei(Yr,null,Ul(n.sequenceObjects,(y,S)=>(Rr(),ei(Yr,{key:S},[n.showTruncations&&S!==0&&S%n.rowWidth===0||!n.showTruncations&&S-n.sequence_start!==0&&(S-n.sequence_start)%n.rowWidth===0&&Sn.sequence_start?(Rr(),ei("div",ZD,fo(n.showTruncations?S+1:S-n.sequence_start+1),1)):Zi("",!0),S===0?(Rr(),za(s,{key:1,"protein-terminal":"N-term",truncated:n.n_truncation,index:-1,"disable-variable-modification-selection":n.disableVariableModifications,determined:n.n_determined},null,8,["truncated","disable-variable-modification-selection","determined"])):Zi("",!0),n.showTruncations||n.sequence_start<=S&&n.sequence_end>=S?(Rr(),za(c,{key:2,index:S,"sequence-object":y,"fixed-modification":n.fixedModification(y.aminoAcid),"disable-variable-modification-selection":n.disableVariableModifications,showTags:n.showTags,showFragments:n.showFragments,showModifications:n.showModifications,onSelected:n.aminoAcidSelected},null,8,["index","sequence-object","fixed-modification","disable-variable-modification-selection","showTags","showFragments","showModifications","onSelected"])):Zi("",!0),n.showTruncations&&S%n.rowWidth===n.rowWidth-1&&S!==n.sequence.length-1||!n.showTruncations&&(S-n.sequence_start)%n.rowWidth===n.rowWidth-1&&Sn.sequence_start?(Rr(),ei("div",XD,fo(n.showTruncations?S+1:S-n.sequence_start+1),1)):Zi("",!0),S===n.sequence.length-1?(Rr(),za(s,{key:4,"protein-terminal":"C-term",truncated:n.c_truncation,index:n.sequence.length,"disable-variable-modification-selection":n.disableVariableModifications,determined:n.c_determined},null,8,["truncated","index","disable-variable-modification-selection","determined"])):Zi("",!0)],64))),128))],2)]),n.maxCoverage>0&&n.showTags?(Rr(),ei("div",KD,[ti("div",JD,fo(n.maxCoverage+"x"),1),QD,ez])):Zi("",!0)]),ti("div",tz,[n.fragmentTableTitle!==""&&n.showFragments?(Rr(),za(h,{key:0,"table-data":n.fragmentTableData,"column-definitions":n.fragmentTableColumnDefinitions,index:n.index,"selected-row-index-from-listening":n.selectedFragTableRowIndex,"table-layout-param":"fitColumns"},{default:ci(()=>[ia(fo(n.fragmentTableTitle),1)]),"end-title-row":ci(()=>[ia("% Residue cleavage: "+fo(n.residueCleavagePercentage.toFixed(3))+"%",1)]),_:1},8,["table-data","column-definitions","index","selected-row-index-from-listening"])):Zi("",!0)])]),_:1},8,["theme"])],64)}const rz=hs(VD,[["render",nz],["__scopeId","data-v-14f01162"]]),iz=ns({name:"FLASHQuantView",components:{TabulatorTable:y0},setup(){return{streamlitDataStore:Ns()}},data(){return{setHeightInterval:null,featureGroupTableColumnDefinitions:[{title:"Index",field:"FeatureGroupIndex"},{title:"Monoisotopic Mass",field:"MonoisotopicMass"},{title:"Average Mass",field:"AverageMass"},{title:"Start Retention Time (FWHM)",field:"StartRetentionTime(FWHM)"},{title:"End Retention Time (FWHM)",field:"EndRetentionTime(FWHM)"},{title:"Feature Group Quantity",field:"FeatureGroupQuantity"},{title:"Feature Group Quantity",field:"FeatureGroupQuantity"},{title:"Min Charge",field:"MinCharge"},{title:"Max Charge",field:"MaxCharge"},{title:"Most Abundant Charge",field:"MostAbundantFeatureCharge"},{title:"Isotope Cosine Score",field:"IsotopeCosineScore"}],selectedFeatureGroupIndex:void 0,maximumIntensity:0}},computed:{theme(){return this.streamlitDataStore.theme},featureGroupTableData(){return this.streamlitDataStore.dataForDrawing.quant_data},trace3DgraphLayout(){var n,e,r,C;return{title:"Feature group signals",paper_bgcolor:(n=this.theme)==null?void 0:n.backgroundColor,plot_bgcolor:(e=this.theme)==null?void 0:e.secondaryBackgroundColor,height:800,font:{color:(r=this.theme)==null?void 0:r.textColor,family:(C=this.theme)==null?void 0:C.font},scene:{xaxis:{title:"m/z"},yaxis:{title:"retention time"},zaxis:{title:"intensity",range:[0,this.maximumIntensity]}},showlegend:!0}}},watch:{selectedFeatureGroupIndex(){this.trace3DGraph()}},mounted(){this.setHeightInterval=setInterval(()=>Wu.setFrameHeight(),500)},unmounted(){this.setHeightInterval!==null&&clearInterval(this.setHeightInterval)},methods:{async trace3DGraph(){await Wl.newPlot("trace3Dplot",this.trace3DgraphData(),this.trace3DgraphLayout,{responsive:!0})},updateSelectedFeatureGroupRow(n){n!==void 0&&(this.selectedFeatureGroupIndex=n)},trace3DgraphData(){if(this.selectedFeatureGroupIndex===void 0)return[];const n=this.featureGroupTableData[this.selectedFeatureGroupIndex],e=[...new Set(n.Charges)],r={};e.forEach(T=>{r[T]={mzs:[],rts:[],intys:[]}}),n.Charges.forEach((T,p)=>{const t=n.MZs[p].split(",").map(parseFloat),d=n.RTs[p].split(",").map(parseFloat),g=n.Intensities[p].split(",").map(parseFloat);r[T].mzs.push(t[0]),r[T].rts.push(d[0]),r[T].intys.push(-1e3),r[T].mzs.push(...t),r[T].rts.push(...d),r[T].intys.push(...g),r[T].mzs.push(t[-1]),r[T].rts.push(d[-1]),r[T].intys.push(-1e3)}),this.maximumIntensity=Math.max.apply(null,Object.values(r).map(T=>Math.max.apply(null,T.intys)));let D=[];return Object.entries(r).forEach(([T,p])=>{D.push({x:p.mzs,y:p.rts,z:p.intys,mode:"lines",line:{color:"#3366CC"},type:"scatter3d",name:`Charge: ${T}`})}),D}}}),az={class:"pa-4"},oz=ti("div",{id:"trace3Dplot",style:{width:"90%"}},null,-1);function sz(n,e,r,C,D,T){const p=Gr("TabulatorTable"),t=Gr("v-row");return Rr(),ei("div",az,[gt(t,{class:"flex-nowrap"},{default:ci(()=>[n.featureGroupTableData?(Rr(),za(p,{key:0,title:"Feature groups",index:0,"table-data":n.featureGroupTableData,"column-definitions":n.featureGroupTableColumnDefinitions,"table-index-field":"FeatureGroupIndex",onRowSelected:n.updateSelectedFeatureGroupRow,"default-row":0},null,8,["table-data","column-definitions","onRowSelected"])):Zi("",!0)]),_:1}),oz])}const lz=hs(iz,[["render",sz]]),uz=ns({name:"InternalFragmentMap",components:{SvgScreenshot:o6},props:{index:{type:Number,required:!0}},setup(){const n=Ns(),e=rc();return{streamlitData:n,selectionStore:e}},data(){return{fragmentMassTolerance:10,fragmentMassToleranceUnit:"ppm",fragmentMassTypes:{by:!0,cy:!0,bz:!0},fragmentDisplayOverlay:!1,fragOpacity:.2,fragOpacityMin:.01,fragOpacityMax:1}},computed:{theme(){return this.streamlitData.theme},internalFragmentData(){var n;return(n=this.streamlitData.internalFragmentData)==null?void 0:n[this.selectedSequence]},selectedSequence(){const n=this.selectionStore.selectedProteinIndex;return typeof n=="number"?n:0},displayTnT(){var e,r;let n=this.selectedSequence;return((r=(e=this.streamlitData.sequenceData)==null?void 0:e[n])==null?void 0:r.computed_mass)!==void 0},sequence(){var r,C,D,T;const n=(r=this.streamlitData.sequenceData)==null?void 0:r[this.selectedSequence].proteoform_start,e=(C=this.streamlitData.sequenceData)==null?void 0:C[this.selectedSequence].proteoform_end;return n!==void 0&&e!==void 0?(D=this.streamlitData.sequenceData)==null?void 0:D[this.selectedSequence].sequence.slice(n,e+1):(T=this.streamlitData.sequenceData)==null?void 0:T[this.selectedSequence].sequence},fragmentStyle(){var n;return{height:(94/(((n=this.sequence)==null?void 0:n.length)??1)).toFixed(2)+"vw","--frag-block-opacity-value":this.fragOpacity}},fragmentTypeContainerStyle(){return{height:this.fragmentDisplayOverlay?this.fragmentStyle.height:"auto"}},fragmentTypeOverlayStyle(){return{position:this.fragmentDisplayOverlay?"absolute":"static"}},fragmentDisplayOverlayLabels(){return this.fragmentDisplayOverlay?"Overlay fragments from the same type":"Stacked"},selectedScanInfo(){if(this.selectionStore.selectedScanIndex!==void 0)return this.streamlitData.allDataForDrawing.per_scan_data.length==1?this.streamlitData.allDataForDrawing.per_scan_data[0]:this.streamlitData.allDataForDrawing.per_scan_data[this.selectionStore.selectedScanIndex]},byData(){var C,D,T;if(this.selectedScanInfo===void 0||!((C=this.internalFragmentData)!=null&&C.fragment_masses_by)||!((D=this.internalFragmentData)!=null&&D.start_indices_by)||!((T=this.internalFragmentData)!=null&&T.end_indices_by))return[];if(this.selectedScanInfo.PrecursorMass===0&&!this.displayTnT)return[];const e=[],r=this.selectedScanInfo.MonoMass;return this.filterMatchingMasses(r,this.internalFragmentData.fragment_masses_by,this.internalFragmentData.start_indices_by,this.internalFragmentData.end_indices_by,e),e},cyData(){var C,D,T;if(this.selectedScanInfo===void 0||!((C=this.internalFragmentData)!=null&&C.fragment_masses_cy)||!((D=this.internalFragmentData)!=null&&D.start_indices_cy)||!((T=this.internalFragmentData)!=null&&T.end_indices_cy))return[];if(this.selectedScanInfo.PrecursorMass===0&&!this.displayTnT)return[];const e=[],r=this.selectedScanInfo.MonoMass;return this.filterMatchingMasses(r,this.internalFragmentData.fragment_masses_cy,this.internalFragmentData.start_indices_cy,this.internalFragmentData.end_indices_cy,e),e},bzData(){var C,D,T;if(this.selectedScanInfo===void 0||!((C=this.internalFragmentData)!=null&&C.fragment_masses_bz)||!((D=this.internalFragmentData)!=null&&D.start_indices_bz)||!((T=this.internalFragmentData)!=null&&T.end_indices_bz))return[];if(this.selectedScanInfo.PrecursorMass===0&&!this.displayTnT)return[];const e=[],r=this.selectedScanInfo.MonoMass;return this.filterMatchingMasses(r,this.internalFragmentData.fragment_masses_bz,this.internalFragmentData.start_indices_bz,this.internalFragmentData.end_indices_bz,e),e}},methods:{updateMassTolerance(n){this.fragmentMassTolerance=Number.parseInt(n.target.value)},fragmentClasses(n,e,r,C){const D=n>e&&n<=r;let T=C;return this.fragmentDisplayOverlay&&(T+="-overlayed"),{[T]:D,"not-in-fragment":!D}},filterMatchingMasses(n,e,r,C,D){for(let T=0,p=e.length;Tthis.fragmentMassTolerance)){D.push({mass:t,start:r[T],end:C[T]});break}}}}}});const cz=n=>(Ty("data-v-ece55ad7"),n=n(),ky(),n),hz=cz(()=>ti("div",{class:"d-flex justify-center"},[ti("h4",null,"Internal Fragment Map")],-1)),fz={class:"d-flex justify-space-between"},dz=UE('
by/cz
bz
cy
',1),pz={class:"d-flex justify-end px-4 mb-4",style:{"max-width":"97%"}},mz={class:"d-flex"},gz={class:"d-flex justify-space-between"},vz={id:"internal-fragment-part"},yz={class:"d-flex",style:{"border-bottom":"white","border-bottom-width":"1px","border-bottom-style":"solid"}};function bz(n,e,r,C,D,T){var o;const p=Gr("SvgScreenshot"),t=Gr("v-btn"),d=Gr("v-list-item-title"),g=Gr("v-switch"),i=Gr("v-list-item"),M=Gr("v-text-field"),v=Gr("v-slider"),f=Gr("v-list"),l=Gr("v-card"),a=Gr("v-menu"),u=Gr("v-sheet");return Rr(),ei(Yr,null,[hz,ti("div",fz,[dz,ti("div",pz,[gt(p,{"element-id":"internal-fragment-part"}),gt(t,{id:"internal-frag-settings-button",variant:"text",icon:"mdi-cog",size:"medium"}),gt(a,{"close-on-content-click":!1,activator:"#internal-frag-settings-button",location:"bottom"},{default:ci(()=>[gt(l,{"min-width":"300"},{default:ci(()=>[gt(f,null,{default:ci(()=>[gt(i,null,{default:ci(()=>[gt(d,null,{default:ci(()=>[ia("Fragments display style")]),_:1}),ti("div",mz,[gt(g,{modelValue:n.fragmentDisplayOverlay,"onUpdate:modelValue":e[0]||(e[0]=s=>n.fragmentDisplayOverlay=s),"hide-details":"",label:`${n.fragmentDisplayOverlayLabels}`,class:"mr-4"},null,8,["modelValue","label"])])]),_:1}),gt(i,null,{default:ci(()=>[gt(d,null,{default:ci(()=>[ia("Opacity of each fragment (If overlay display style)")]),_:1}),ti("div",{style:zs({background:`rgba(240, 164, 65, ${n.fragOpacity})`})},[gt(v,{modelValue:n.fragOpacity,"onUpdate:modelValue":e[2]||(e[2]=s=>n.fragOpacity=s),class:"align-center ml-4",max:n.fragOpacityMax,min:n.fragOpacityMin,"hide-details":""},{append:ci(()=>[gt(M,{modelValue:n.fragOpacity,"onUpdate:modelValue":e[1]||(e[1]=s=>n.fragOpacity=s),"hide-details":"","single-line":"",min:n.fragOpacityMin,max:n.fragOpacityMax,step:"0.01",density:"compact",type:"number",class:"textFieldFontSize"},null,8,["modelValue","min","max"])]),_:1},8,["modelValue","max","min"])],4)]),_:1}),gt(i,null,{default:ci(()=>[gt(d,null,{default:ci(()=>[ia("Fragment mass tolerance")]),_:1}),ti("div",gz,[gt(g,{modelValue:n.fragmentMassToleranceUnit,"onUpdate:modelValue":e[3]||(e[3]=s=>n.fragmentMassToleranceUnit=s),"true-value":"ppm","false-value":"Da","hide-details":"",label:`${n.fragmentMassToleranceUnit}`,class:"mr-4"},null,8,["modelValue","label"]),gt(M,{modelValue:n.fragmentMassTolerance,"onUpdate:modelValue":e[4]||(e[4]=s=>n.fragmentMassTolerance=s),type:"number","hide-details":"auto",label:"mass tolerance",onChange:n.updateMassTolerance},null,8,["modelValue","onChange"])])]),_:1})]),_:1})]),_:1})]),_:1})])]),gt(u,{class:"pa-4 rounded-lg",style:{"max-width":"97%"},theme:((o=n.theme)==null?void 0:o.base)??"light",border:""},{default:ci(()=>[ti("div",vz,[ti("div",yz,[(Rr(!0),ei(Yr,null,Ul(n.sequence,(s,c)=>(Rr(),ei("div",{key:`${s}-${c}`,class:"d-flex justify-center align-center fragment-segment sequence-text",style:zs(n.fragmentStyle)},fo(s),5))),128))]),ti("div",{style:zs(n.fragmentTypeContainerStyle)},[(Rr(!0),ei(Yr,null,Ul(n.byData,s=>(Rr(),ei("div",{key:s.mass,class:"d-flex",style:zs(n.fragmentTypeOverlayStyle)},[(Rr(!0),ei(Yr,null,Ul(n.sequence,(c,h)=>(Rr(),ei("div",{key:`${c}-${h}`,class:Ju(n.fragmentClasses(h,s.start,s.end,"by-fragment")),style:zs([{border:"1px solid white"},n.fragmentStyle])},null,6))),128))],4))),128))],4),ti("div",{style:zs(n.fragmentTypeContainerStyle)},[(Rr(!0),ei(Yr,null,Ul(n.cyData,s=>(Rr(),ei("div",{key:s.mass,class:"d-flex",style:zs(n.fragmentTypeOverlayStyle)},[(Rr(!0),ei(Yr,null,Ul(n.sequence,(c,h)=>(Rr(),ei("div",{key:`${c}-${h}`,class:Ju(n.fragmentClasses(h,s.start,s.end,"cy-fragment")),style:zs([{border:"1px solid white"},n.fragmentStyle])},null,6))),128))],4))),128))],4),ti("div",{style:zs(n.fragmentTypeContainerStyle)},[(Rr(!0),ei(Yr,null,Ul(n.bzData,s=>(Rr(),ei("div",{key:s.mass,class:"d-flex",style:zs(n.fragmentTypeOverlayStyle)},[(Rr(!0),ei(Yr,null,Ul(n.sequence,(c,h)=>(Rr(),ei("div",{key:`${c}-${h}`,class:Ju(n.fragmentClasses(h,s.start,s.end,"bz-fragment")),style:zs([{border:"1px solid white"},n.fragmentStyle])},null,6))),128))],4))),128))],4)])]),_:1},8,["theme"])],64)}const xz=hs(uz,[["render",bz],["__scopeId","data-v-ece55ad7"]]),_z=ns({name:"FDRPlotly",props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Ns();return console.log("I exist!"),{streamlitDataStore:n}},computed:{xValues_target(){return this.streamlitDataStore.allDataForDrawing.density_target===void 0?[]:this.streamlitDataStore.allDataForDrawing.density_target.map(n=>n.x)},xValues_decoy(){return this.streamlitDataStore.allDataForDrawing.density_decoy===void 0?[]:this.streamlitDataStore.allDataForDrawing.density_decoy.map(n=>n.x)},yValues_target(){return this.streamlitDataStore.allDataForDrawing.density_target===void 0?[]:this.streamlitDataStore.allDataForDrawing.density_target.map(n=>n.y)},yValues_decoy(){return this.streamlitDataStore.allDataForDrawing.density_decoy===void 0?[]:this.streamlitDataStore.allDataForDrawing.density_decoy.map(n=>n.y)},id(){return`graph-${this.index}`},layout(){return{title:`${this.args.title}`,showlegend:!0,height:400,xaxis:{title:"QScore",showgrid:!1},yaxis:{title:"Density",showgrid:!0,rangemode:"nonnegative",fixedrange:!0},paper_bgcolor:"white",plot_bgcolor:"white",font:{color:"black",family:"Arial"}}},data(){return[{x:this.xValues_target,y:this.yValues_target,mode:"lines+markers",type:"scatter",name:"Target QScores",marker:{color:"green"}},{x:this.xValues_decoy,y:this.yValues_decoy,mode:"lines+markers",type:"scatter",name:"Decoy QScores",marker:{color:"red"}}]}},watch:{xValues_target(){this.graph()}},mounted(){this.graph()},methods:{async graph(){await Wl.newPlot(this.id,this.data,this.layout,{modeBarButtonsToRemove:["toImage","sendDataToCloud"],modeBarButtonsToAdd:[{title:"Download as SVG",name:"toImageSvg",icon:Wl.Icons.camera,click:n=>{Wl.downloadImage(n,{filename:"FDR-plot",height:400,width:1200,format:"svg"})}}]})}}}),wz=["id"];function Tz(n,e,r,C,D,T){return Rr(),ei("div",{id:n.id,style:{width:"100%"}},null,8,wz)}const kz=hs(_z,[["render",Tz]]),Mz=ns({name:"ComponentsRow",components:{InternalFragmentMap:xz,FLASHQuantView:lz,Plotly3Dplot:wO,PlotlyHeatmap:lR,TabulatorScanTable:dO,PlotlyLineplotUnified:yO,TabulatorMassTable:MO,TabulatorProteinTable:CO,TabulatorTagTable:IO,SequenceView:rz,FDRPlotly:kz},props:{components:{type:Object,required:!0},rowIndex:{type:Number,required:!0}},data(){return{componentHeightMapping:{TabulatorScanTable:"height-any",TabulatorMassTable:"height-any",TabulatorProteinTable:"height-any",TabulatorTagTable:"height-any",PlotlyLineplot:"height-any",PlotlyLineplotTagger:"height-any",PlotlyLineplotUnified:"height-any",PlotlyHeatmap:"height-any",Plotly3Dplot:"height-any",SequenceView:"height-any",InternalFragmentMap:"height-any",FDRPlotly:"height-any"}}},methods:{componentClasses(n){return{[this.componentHeightMapping[n]]:!0,[`component-width-${this.components.length}`]:!0}},componentIndex(n){return n+this.rowIndex*100}}});const Az={class:"component-row"};function Sz(n,e,r,C,D,T){const p=Gr("PlotlyHeatmap"),t=Gr("TabulatorScanTable"),d=Gr("TabulatorMassTable"),g=Gr("TabulatorProteinTable"),i=Gr("TabulatorTagTable"),M=Gr("PlotlyLineplotUnified"),v=Gr("Plotly3Dplot"),f=Gr("SequenceView"),l=Gr("InternalFragmentMap"),a=Gr("FLASHQuantView"),u=Gr("FDRPlotly");return Rr(),ei("div",Az,[(Rr(!0),ei(Yr,null,Ul(n.components,(o,s)=>(Rr(),ei("div",{key:s,class:Ju(n.componentClasses(o.componentArgs.componentName))},[o.componentArgs.componentName==="PlotlyHeatmap"?(Rr(),za(p,{key:0,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="TabulatorScanTable"?(Rr(),za(t,{key:1,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="TabulatorMassTable"?(Rr(),za(d,{key:2,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="TabulatorProteinTable"?(Rr(),za(g,{key:3,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="TabulatorTagTable"?(Rr(),za(i,{key:4,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="PlotlyLineplot"?(Rr(),za(M,{key:5,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="PlotlyLineplotTagger"?(Rr(),za(M,{key:6,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="Plotly3Dplot"?(Rr(),za(v,{key:7,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="SequenceView"?(Rr(),za(f,{key:8,index:n.componentIndex(s)},null,8,["index"])):o.componentArgs.componentName==="InternalFragmentMap"?(Rr(),za(l,{key:9,index:n.componentIndex(s)},null,8,["index"])):o.componentArgs.componentName==="FLASHQuantView"?(Rr(),za(a,{key:10})):o.componentArgs.componentName==="FDRPlotly"?(Rr(),za(u,{key:11,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):Zi("",!0)],2))),128))])}const Cz=hs(Mz,[["render",Sz],["__scopeId","data-v-942c08f7"]]),Ez=ns({name:"ComponentsLayout",components:{ComponentsRow:Cz},props:{components:{type:Object,required:!0}},data(){return{columns:6}},methods:{componentRowClasses(){return{"[`height-${layout.height ?? 1}`]":!0,[`component-width-${this.components.length}`]:!0}}}});const Lz={class:"component-layout"};function Iz(n,e,r,C,D,T){const p=Gr("ComponentsRow");return Rr(),ei("div",Lz,[(Rr(!0),ei(Yr,null,Ul(n.components,(t,d)=>(Rr(),za(p,{key:d,components:t,"row-index":d},null,8,["components","row-index"]))),128))])}const Rz=hs(Ez,[["render",Iz],["__scopeId","data-v-721e06dc"]]),Pz=ns({name:"App",components:{ComponentsLayout:Rz},setup(){const n=Ns(),e=rc();return $r(e.$state,r=>{Wu.setComponentValue(wi(r))},{deep:!0,immediate:!0}),{streamlitDataStore:n,selectionStore:e}},data(){return{timer:void 0}},computed:{components(){var n;return(n=this.streamlitDataStore.args)==null?void 0:n.components}},created(){Wu.setComponentReady(),Wu.setFrameHeight(500),Wu.events.addEventListener(Wu.RENDER_EVENT,this.updateStreamlitData)},mounted(){this.timer=setInterval(()=>{Wu.setFrameHeight()},500)},unmounted(){Wu.events.removeEventListener(Wu.RENDER_EVENT,this.updateStreamlitData),clearInterval(this.timer)},updated(){Wu.setFrameHeight()},methods:{async updateStreamlitData(n){this.streamlitDataStore.updateRenderData(n.detail)}}});const Oz={key:0},Dz={key:1,class:"d-flex w-100",style:{height:"400px"}};function zz(n,e,r,C,D,T){const p=Gr("ComponentsLayout"),t=Gr("v-progress-linear"),d=Gr("v-alert");return n.components!==void 0&&n.components.length>0?(Rr(),ei("div",Oz,[gt(p,{components:n.components},null,8,["components"])])):(Rr(),ei("div",Dz,[gt(d,{class:"h-50 ma-16 pr-16",icon:"mdi-application-variable-outline",title:"FLASHViewer loading",type:"info"},{default:ci(()=>[gt(t,{indeterminate:""}),ia(" Please wait... ")]),_:1})]))}const Fz=hs(Pz,[["render",zz]]);const to=typeof window<"u",$2=to&&"IntersectionObserver"in window,Bz=to&&("ontouchstart"in window||window.navigator.maxTouchPoints>0);function b5(n,e,r){Nz(n,e),e.set(n,r)}function Nz(n,e){if(e.has(n))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Vz(n,e,r){var C=l6(n,e,"set");return jz(n,C,r),r}function jz(n,e,r){if(e.set)e.set.call(n,r);else{if(!e.writable)throw new TypeError("attempted to set read only private field");e.value=r}}function _d(n,e){var r=l6(n,e,"get");return Uz(n,r)}function l6(n,e,r){if(!e.has(n))throw new TypeError("attempted to "+r+" private field on non-instance");return e.get(n)}function Uz(n,e){return e.get?e.get.call(n):e.value}function u6(n,e,r){const C=e.length-1;if(C<0)return n===void 0?r:n;for(let D=0;Db0(n[C],e[C]))}function ix(n,e,r){return n==null||!e||typeof e!="string"?r:n[e]!==void 0?n[e]:(e=e.replace(/\[(\w+)\]/g,".$1"),e=e.replace(/^\./,""),u6(n,e.split("."),r))}function ph(n,e,r){if(e==null)return n===void 0?r:n;if(n!==Object(n)){if(typeof e!="function")return r;const D=e(n,r);return typeof D>"u"?r:D}if(typeof e=="string")return ix(n,e,r);if(Array.isArray(e))return u6(n,e,r);if(typeof e!="function")return r;const C=e(n,r);return typeof C>"u"?r:C}function Kh(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:n},(r,C)=>e+C)}function Qr(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(!(n==null||n===""))return isNaN(+n)?String(n):isFinite(+n)?`${Number(n)}${e}`:void 0}function ax(n){return n!==null&&typeof n=="object"&&!Array.isArray(n)}function ox(n){return n&&"$el"in n?n.$el:n}const x5=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16}),sx=Object.freeze({enter:"Enter",tab:"Tab",delete:"Delete",esc:"Escape",space:"Space",up:"ArrowUp",down:"ArrowDown",left:"ArrowLeft",right:"ArrowRight",end:"End",home:"Home",del:"Delete",backspace:"Backspace",insert:"Insert",pageup:"PageUp",pagedown:"PageDown",shift:"Shift"});function c6(n){return Object.keys(n)}function Od(n,e){return e.every(r=>n.hasOwnProperty(r))}function $d(n,e,r){const C=Object.create(null),D=Object.create(null);for(const T in n)e.some(p=>p instanceof RegExp?p.test(T):p===T)&&!(r!=null&&r.some(p=>p===T))?C[T]=n[T]:D[T]=n[T];return[C,D]}function ic(n,e){const r={...n};return e.forEach(C=>delete r[C]),r}const h6=/^on[^a-z]/,Z2=n=>h6.test(n),Hz=["onAfterscriptexecute","onAnimationcancel","onAnimationend","onAnimationiteration","onAnimationstart","onAuxclick","onBeforeinput","onBeforescriptexecute","onChange","onClick","onCompositionend","onCompositionstart","onCompositionupdate","onContextmenu","onCopy","onCut","onDblclick","onFocusin","onFocusout","onFullscreenchange","onFullscreenerror","onGesturechange","onGestureend","onGesturestart","onGotpointercapture","onInput","onKeydown","onKeypress","onKeyup","onLostpointercapture","onMousedown","onMousemove","onMouseout","onMouseover","onMouseup","onMousewheel","onPaste","onPointercancel","onPointerdown","onPointerenter","onPointerleave","onPointermove","onPointerout","onPointerover","onPointerup","onReset","onSelect","onSubmit","onTouchcancel","onTouchend","onTouchmove","onTouchstart","onTransitioncancel","onTransitionend","onTransitionrun","onTransitionstart","onWheel"];function Qd(n){const[e,r]=$d(n,[h6]),C=ic(e,Hz),[D,T]=$d(r,["class","style","id",/^data-/]);return Object.assign(D,e),Object.assign(T,C),[D,T]}function bu(n){return n==null?[]:Array.isArray(n)?n:[n]}function Zs(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(e,Math.min(r,n))}function _5(n){const e=n.toString().trim();return e.includes(".")?e.length-e.indexOf(".")-1:0}function w5(n,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0";return n+r.repeat(Math.max(0,e-n.length))}function Gz(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const r=[];let C=0;for(;C1&&arguments[1]!==void 0?arguments[1]:1e3;if(n=e&&C0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;const C={};for(const D in n)C[D]=n[D];for(const D in e){const T=n[D],p=e[D];if(ax(T)&&ax(p)){C[D]=Ku(T,p,r);continue}if(Array.isArray(T)&&Array.isArray(p)&&r){C[D]=r(T,p);continue}C[D]=p}return C}function f6(n){return n.map(e=>e.type===Yr?f6(e.children):e).flat()}function Ud(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(Ud.cache.has(n))return Ud.cache.get(n);const e=n.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return Ud.cache.set(n,e),e}Ud.cache=new Map;function ym(n,e){if(!e||typeof e!="object")return[];if(Array.isArray(e))return e.map(r=>ym(n,r)).flat(1);if(Array.isArray(e.children))return e.children.map(r=>ym(n,r)).flat(1);if(e.component){if(Object.getOwnPropertySymbols(e.component.provides).includes(n))return[e.component];if(e.component.subTree)return ym(n,e.component.subTree).flat(1)}return[]}var sv=new WeakMap,Sp=new WeakMap;class qz{constructor(e){b5(this,sv,{writable:!0,value:[]}),b5(this,Sp,{writable:!0,value:0}),this.size=e}push(e){_d(this,sv)[_d(this,Sp)]=e,Vz(this,Sp,(_d(this,Sp)+1)%this.size)}values(){return _d(this,sv).slice(_d(this,Sp)).concat(_d(this,sv).slice(0,_d(this,Sp)))}}function Wz(n){return"touches"in n?{clientX:n.touches[0].clientX,clientY:n.touches[0].clientY}:{clientX:n.clientX,clientY:n.clientY}}function X2(n){const e=yl({}),r=cn(n);return wu(()=>{for(const C in r.value)e[C]=r.value[C]},{flush:"sync"}),by(e)}function ly(n,e){return n.includes(e)}function d6(n){return n[2].toLowerCase()+n.slice(3)}const yh=()=>[Function,Array];function k5(n,e){return e="on"+sf(e),!!(n[e]||n[`${e}Once`]||n[`${e}Capture`]||n[`${e}OnceCapture`]||n[`${e}CaptureOnce`])}function K2(n){for(var e=arguments.length,r=new Array(e>1?e-1:0),C=1;C1&&arguments[1]!==void 0?arguments[1]:!0;const r=["button","[href]",'input:not([type="hidden"])',"select","textarea","[tabindex]"].map(C=>`${C}${e?':not([tabindex="-1"])':""}:not([disabled])`).join(", ");return[...n.querySelectorAll(r)]}function p6(n,e,r){let C,D=n.indexOf(document.activeElement);const T=e==="next"?1:-1;do D+=T,C=n[D];while((!C||C.offsetParent==null||!((r==null?void 0:r(C))??!0))&&D=0);return C}function uy(n,e){var C,D,T,p;const r=Dm(n);if(!e)(n===document.activeElement||!n.contains(document.activeElement))&&((C=r[0])==null||C.focus());else if(e==="first")(D=r[0])==null||D.focus();else if(e==="last")(T=r.at(-1))==null||T.focus();else if(typeof e=="number")(p=r[e])==null||p.focus();else{const t=p6(r,e);t?t.focus():uy(n,e==="next"?"first":"last")}}function m6(){}function l0(n,e){if(!(to&&typeof CSS<"u"&&typeof CSS.supports<"u"&&CSS.supports(`selector(${e})`)))return null;try{return!!n&&n.matches(e)}catch{return null}}const g6=["top","bottom"],Yz=["start","end","left","right"];function lx(n,e){let[r,C]=n.split(" ");return C||(C=ly(g6,r)?"start":ly(Yz,r)?"top":"center"),{side:ux(r,e),align:ux(C,e)}}function ux(n,e){return n==="start"?e?"right":"left":n==="end"?e?"left":"right":n}function gb(n){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[n.side],align:n.align}}function vb(n){return{side:n.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[n.align]}}function M5(n){return{side:n.align,align:n.side}}function A5(n){return ly(g6,n.side)?"y":"x"}class Yp{constructor(e){let{x:r,y:C,width:D,height:T}=e;this.x=r,this.y=C,this.width=D,this.height=T}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function S5(n,e){return{x:{before:Math.max(0,e.left-n.left),after:Math.max(0,n.right-e.right)},y:{before:Math.max(0,e.top-n.top),after:Math.max(0,n.bottom-e.bottom)}}}function J2(n){const e=n.getBoundingClientRect(),r=getComputedStyle(n),C=r.transform;if(C){let D,T,p,t,d;if(C.startsWith("matrix3d("))D=C.slice(9,-1).split(/, /),T=+D[0],p=+D[5],t=+D[12],d=+D[13];else if(C.startsWith("matrix("))D=C.slice(7,-1).split(/, /),T=+D[0],p=+D[3],t=+D[4],d=+D[5];else return new Yp(e);const g=r.transformOrigin,i=e.x-t-(1-T)*parseFloat(g),M=e.y-d-(1-p)*parseFloat(g.slice(g.indexOf(" ")+1)),v=T?e.width/T:n.offsetWidth+1,f=p?e.height/p:n.offsetHeight+1;return new Yp({x:i,y:M,width:v,height:f})}else return new Yp(e)}function Dd(n,e,r){if(typeof n.animate>"u")return{finished:Promise.resolve()};let C;try{C=n.animate(e,r)}catch{return{finished:Promise.resolve()}}return typeof C.finished>"u"&&(C.finished=new Promise(D=>{C.onfinish=()=>{D(C)}})),C}const Tv=new WeakMap;function $z(n,e){Object.keys(e).forEach(r=>{if(Z2(r)){const C=d6(r),D=Tv.get(n);if(e[r]==null)D==null||D.forEach(T=>{const[p,t]=T;p===C&&(n.removeEventListener(C,t),D.delete(T))});else if(!D||![...D].some(T=>T[0]===C&&T[1]===e[r])){n.addEventListener(C,e[r]);const T=D||new Set;T.add([C,e[r]]),Tv.has(n)||Tv.set(n,T)}}else e[r]==null?n.removeAttribute(r):n.setAttribute(r,e[r])})}function Zz(n,e){Object.keys(e).forEach(r=>{if(Z2(r)){const C=d6(r),D=Tv.get(n);D==null||D.forEach(T=>{const[p,t]=T;p===C&&(n.removeEventListener(C,t),D.delete(T))})}else n.removeAttribute(r)})}const Cp=2.4,C5=.2126729,E5=.7151522,L5=.072175,Xz=.55,Kz=.58,Jz=.57,Qz=.62,lv=.03,I5=1.45,eF=5e-4,tF=1.25,nF=1.25,R5=.078,P5=12.82051282051282,uv=.06,O5=.001;function D5(n,e){const r=(n.r/255)**Cp,C=(n.g/255)**Cp,D=(n.b/255)**Cp,T=(e.r/255)**Cp,p=(e.g/255)**Cp,t=(e.b/255)**Cp;let d=r*C5+C*E5+D*L5,g=T*C5+p*E5+t*L5;if(d<=lv&&(d+=(lv-d)**I5),g<=lv&&(g+=(lv-g)**I5),Math.abs(g-d)d){const M=(g**Xz-d**Kz)*tF;i=M-O5?0:M>-R5?M-M*P5*uv:M+uv}return i*100}function rF(n,e){e=Array.isArray(e)?e.slice(0,-1).map(r=>`'${r}'`).join(", ")+` or '${e.at(-1)}'`:`'${e}'`}const cy=.20689655172413793,iF=n=>n>cy**3?Math.cbrt(n):n/(3*cy**2)+4/29,aF=n=>n>cy?n**3:3*cy**2*(n-4/29);function v6(n){const e=iF,r=e(n[1]);return[116*r-16,500*(e(n[0]/.95047)-r),200*(r-e(n[2]/1.08883))]}function y6(n){const e=aF,r=(n[0]+16)/116;return[e(r+n[1]/500)*.95047,e(r),e(r-n[2]/200)*1.08883]}const oF=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],sF=n=>n<=.0031308?n*12.92:1.055*n**(1/2.4)-.055,lF=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],uF=n=>n<=.04045?n/12.92:((n+.055)/1.055)**2.4;function b6(n){const e=Array(3),r=sF,C=oF;for(let D=0;D<3;++D)e[D]=Math.round(Zs(r(C[D][0]*n[0]+C[D][1]*n[1]+C[D][2]*n[2]))*255);return{r:e[0],g:e[1],b:e[2]}}function Q2(n){let{r:e,g:r,b:C}=n;const D=[0,0,0],T=uF,p=lF;e=T(e/255),r=T(r/255),C=T(C/255);for(let t=0;t<3;++t)D[t]=p[t][0]*e+p[t][1]*r+p[t][2]*C;return D}function z5(n){return!!n&&/^(#|var\(--|(rgb|hsl)a?\()/.test(n)}const F5=/^(?(?:rgb|hsl)a?)\((?.+)\)/,cF={rgb:(n,e,r,C)=>({r:n,g:e,b:r,a:C}),rgba:(n,e,r,C)=>({r:n,g:e,b:r,a:C}),hsl:(n,e,r,C)=>B5({h:n,s:e,l:r,a:C}),hsla:(n,e,r,C)=>B5({h:n,s:e,l:r,a:C}),hsv:(n,e,r,C)=>rf({h:n,s:e,v:r,a:C}),hsva:(n,e,r,C)=>rf({h:n,s:e,v:r,a:C})};function Pc(n){if(typeof n=="number")return{r:(n&16711680)>>16,g:(n&65280)>>8,b:n&255};if(typeof n=="string"&&F5.test(n)){const{groups:e}=n.match(F5),{fn:r,values:C}=e,D=C.split(/,\s*/).map(T=>T.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(r)?parseFloat(T)/100:parseFloat(T));return cF[r](...D)}else if(typeof n=="string"){let e=n.startsWith("#")?n.slice(1):n;return[3,4].includes(e.length)?e=e.split("").map(r=>r+r).join(""):[6,8].includes(e.length),k6(e)}else if(typeof n=="object"){if(Od(n,["r","g","b"]))return n;if(Od(n,["h","s","l"]))return rf(e_(n));if(Od(n,["h","s","v"]))return rf(n)}throw new TypeError(`Invalid color: ${n==null?n:String(n)||n.constructor.name} -Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function rf(n){const{h:e,s:r,v:C,a:D}=n,T=t=>{const d=(t+e/60)%6;return C-C*r*Math.max(Math.min(d,4-d,1),0)},p=[T(5),T(3),T(1)].map(t=>Math.round(t*255));return{r:p[0],g:p[1],b:p[2],a:D}}function B5(n){return rf(e_(n))}function Xy(n){if(!n)return{h:0,s:1,v:1,a:1};const e=n.r/255,r=n.g/255,C=n.b/255,D=Math.max(e,r,C),T=Math.min(e,r,C);let p=0;D!==T&&(D===e?p=60*(0+(r-C)/(D-T)):D===r?p=60*(2+(C-e)/(D-T)):D===C&&(p=60*(4+(e-r)/(D-T)))),p<0&&(p=p+360);const t=D===0?0:(D-T)/D,d=[p,t,D];return{h:d[0],s:d[1],v:d[2],a:n.a}}function x6(n){const{h:e,s:r,v:C,a:D}=n,T=C-C*r/2,p=T===1||T===0?0:(C-T)/Math.min(T,1-T);return{h:e,s:p,l:T,a:D}}function e_(n){const{h:e,s:r,l:C,a:D}=n,T=C+r*Math.min(C,1-C),p=T===0?0:2-2*C/T;return{h:e,s:p,v:T,a:D}}function _6(n){let{r:e,g:r,b:C,a:D}=n;return D===void 0?`rgb(${e}, ${r}, ${C})`:`rgba(${e}, ${r}, ${C}, ${D})`}function w6(n){return _6(rf(n))}function cv(n){const e=Math.round(n).toString(16);return("00".substr(0,2-e.length)+e).toUpperCase()}function T6(n){let{r:e,g:r,b:C,a:D}=n;return`#${[cv(e),cv(r),cv(C),D!==void 0?cv(Math.round(D*255)):""].join("")}`}function k6(n){n=fF(n);let[e,r,C,D]=Gz(n,2).map(T=>parseInt(T,16));return D=D===void 0?D:D/255,{r:e,g:r,b:C,a:D}}function hF(n){const e=k6(n);return Xy(e)}function M6(n){return T6(rf(n))}function fF(n){return n.startsWith("#")&&(n=n.slice(1)),n=n.replace(/([^0-9a-f])/gi,"F"),(n.length===3||n.length===4)&&(n=n.split("").map(e=>e+e).join("")),n.length!==6&&(n=w5(w5(n,6),8,"F")),n}function dF(n,e){const r=v6(Q2(n));return r[0]=r[0]+e*10,b6(y6(r))}function pF(n,e){const r=v6(Q2(n));return r[0]=r[0]-e*10,b6(y6(r))}function cx(n){const e=Pc(n);return Q2(e)[1]}function mF(n,e){const r=cx(n),C=cx(e),D=Math.max(r,C),T=Math.min(r,C);return(D+.05)/(T+.05)}function A6(n){const e=Math.abs(D5(Pc(0),Pc(n)));return Math.abs(D5(Pc(16777215),Pc(n)))>Math.min(e,50)?"#fff":"#000"}function ur(n,e){return r=>Object.keys(n).reduce((C,D)=>{const p=typeof n[D]=="object"&&n[D]!=null&&!Array.isArray(n[D])?n[D]:{type:n[D]};return r&&D in r?C[D]={...p,default:r[D]}:C[D]=p,e&&!C[D].source&&(C[D].source=e),C},{})}const Zr=ur({class:[String,Array],style:{type:[String,Array,Object],default:null}},"component");function ac(n){if(n._setup=n._setup??n.setup,!n.name)return n;if(n._setup){n.props=ur(n.props??{},n.name)();const e=Object.keys(n.props);n.filterProps=function(C){return $d(C,e,["class","style"])},n.props._as=String,n.setup=function(C,D){const T=r_();if(!T.value)return n._setup(C,D);const{props:p,provideSubDefaults:t}=TF(C,C._as??n.name,T),d=n._setup(p,D);return t(),d}}return n}function Ar(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return e=>(n?ac:ns)(e)}function Nc(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",r=arguments.length>2?arguments[2]:void 0;return Ar()({name:r??sf(tc(n.replace(/__/g,"-"))),props:{tag:{type:String,default:e},...Zr()},setup(C,D){let{slots:T}=D;return()=>{var p;return Xf(C.tag,{class:[n,C.class],style:C.style},(p=T.default)==null?void 0:p.call(T))}}})}function S6(n){if(typeof n.getRootNode!="function"){for(;n.parentNode;)n=n.parentNode;return n!==document?null:document}const e=n.getRootNode();return e!==document&&e.getRootNode({composed:!0})!==document?null:e}const zm="cubic-bezier(0.4, 0, 0.2, 1)",gF="cubic-bezier(0.0, 0, 0.2, 1)",vF="cubic-bezier(0.4, 0, 1, 1)";function Ss(n,e){const r=Ey();if(!r)throw new Error(`[Vuetify] ${n} ${e||"must be called from inside a setup function"}`);return r}function ff(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables";const e=Ss(n).type;return Ud((e==null?void 0:e.aliasName)||(e==null?void 0:e.name))}let C6=0,kv=new WeakMap;function Js(){const n=Ss("getUid");if(kv.has(n))return kv.get(n);{const e=C6++;return kv.set(n,e),e}}Js.reset=()=>{C6=0,kv=new WeakMap};function t_(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(;n;){if(e?yF(n):n_(n))return n;n=n.parentElement}return document.scrollingElement}function hy(n,e){const r=[];if(e&&n&&!e.contains(n))return r;for(;n&&(n_(n)&&r.push(n),n!==e);)n=n.parentElement;return r}function n_(n){if(!n||n.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(n);return e.overflowY==="scroll"||e.overflowY==="auto"&&n.scrollHeight>n.clientHeight}function yF(n){if(!n||n.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(n);return["scroll","auto"].includes(e.overflowY)}function bF(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ss("injectSelf");const{provides:r}=e;if(r&&n in r)return r[n]}function xF(n){for(;n;){if(window.getComputedStyle(n).position==="fixed")return!0;n=n.offsetParent}return!1}function Or(n){const e=Ss("useRender");e.render=n}const u0=Symbol.for("vuetify:defaults");function _F(n){return Vr(n)}function r_(){const n=ka(u0);if(!n)throw new Error("[Vuetify] Could not find defaults instance");return n}function es(n,e){const r=r_(),C=Vr(n),D=cn(()=>{if(yu(e==null?void 0:e.disabled))return r.value;const p=yu(e==null?void 0:e.scoped),t=yu(e==null?void 0:e.reset),d=yu(e==null?void 0:e.root);if(C.value==null&&!(p||t||d))return r.value;let g=Ku(C.value,{prev:r.value});if(p)return g;if(t||d){const i=Number(t||1/0);for(let M=0;M<=i&&!(!g||!("prev"in g));M++)g=g.prev;return g&&typeof d=="string"&&d in g&&(g=Ku(Ku(g,{prev:g}),g[d])),g}return g.prev?Ku(g.prev,g):g});return ts(u0,D),D}function wF(n,e){var r,C;return typeof((r=n.props)==null?void 0:r[e])<"u"||typeof((C=n.props)==null?void 0:C[Ud(e)])<"u"}function TF(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:r_();const C=Ss("useDefaults");if(e=e??C.type.name??C.type.__name,!e)throw new Error("[Vuetify] Could not determine component name");const D=cn(()=>{var d;return(d=r.value)==null?void 0:d[n._as??e]}),T=new Proxy(n,{get(d,g){var M,v,f,l;const i=Reflect.get(d,g);return g==="class"||g==="style"?[(M=D.value)==null?void 0:M[g],i].filter(a=>a!=null):typeof g=="string"&&!wF(C.vnode,g)?((v=D.value)==null?void 0:v[g])??((l=(f=r.value)==null?void 0:f.global)==null?void 0:l[g])??i:i}}),p=Wr();wu(()=>{if(D.value){const d=Object.entries(D.value).filter(g=>{let[i]=g;return i.startsWith(i[0].toUpperCase())});p.value=d.length?Object.fromEntries(d):void 0}else p.value=void 0});function t(){const d=bF(u0,C);ts(u0,cn(()=>p.value?Ku((d==null?void 0:d.value)??{},p.value):d==null?void 0:d.value))}return{props:T,provideSubDefaults:t}}const Ky=["sm","md","lg","xl","xxl"],hx=Symbol.for("vuetify:display"),N5={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}},kF=function(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:N5;return Ku(N5,n)};function V5(n){return to&&!n?window.innerWidth:typeof n=="object"&&n.clientWidth||0}function j5(n){return to&&!n?window.innerHeight:typeof n=="object"&&n.clientHeight||0}function U5(n){const e=to&&!n?window.navigator.userAgent:"ssr";function r(l){return!!e.match(l)}const C=r(/android/i),D=r(/iphone|ipad|ipod/i),T=r(/cordova/i),p=r(/electron/i),t=r(/chrome/i),d=r(/edge/i),g=r(/firefox/i),i=r(/opera/i),M=r(/win/i),v=r(/mac/i),f=r(/linux/i);return{android:C,ios:D,cordova:T,electron:p,chrome:t,edge:d,firefox:g,opera:i,win:M,mac:v,linux:f,touch:Bz,ssr:e==="ssr"}}function MF(n,e){const{thresholds:r,mobileBreakpoint:C}=kF(n),D=Wr(j5(e)),T=Wr(U5(e)),p=yl({}),t=Wr(V5(e));function d(){D.value=j5(),t.value=V5()}function g(){d(),T.value=U5()}return wu(()=>{const i=t.value=r.xxl,u=i?"xs":M?"sm":v?"md":f?"lg":l?"xl":"xxl",o=typeof C=="number"?C:r[C],s=t.valueXf(a_,{...n,class:"mdi"})},bi=[String,Function,Object,Array],fx=Symbol.for("vuetify:icons"),Jy=ur({icon:{type:bi},tag:{type:String,required:!0}},"icon"),dx=Ar()({name:"VComponentIcon",props:Jy(),setup(n,e){let{slots:r}=e;return()=>{const C=n.icon;return gt(n.tag,null,{default:()=>{var D;return[n.icon?gt(C,null,null):(D=r.default)==null?void 0:D.call(r)]}})}}}),i_=ac({name:"VSvgIcon",inheritAttrs:!1,props:Jy(),setup(n,e){let{attrs:r}=e;return()=>gt(n.tag,qr(r,{style:null}),{default:()=>[gt("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(n.icon)?n.icon.map(C=>Array.isArray(C)?gt("path",{d:C[0],"fill-opacity":C[1]},null):gt("path",{d:C},null)):gt("path",{d:n.icon},null)])]})}}),CF=ac({name:"VLigatureIcon",props:Jy(),setup(n){return()=>gt(n.tag,null,{default:()=>[n.icon]})}}),a_=ac({name:"VClassIcon",props:Jy(),setup(n){return()=>gt(n.tag,{class:n.icon},null)}}),EF={svg:{component:i_},class:{component:a_}};function LF(n){return Ku({defaultSet:"mdi",sets:{...EF,mdi:SF},aliases:{...AF,vuetify:["M8.2241 14.2009L12 21L22 3H14.4459L8.2241 14.2009Z",["M7.26303 12.4733L7.00113 12L2 3H12.5261C12.5261 3 12.5261 3 12.5261 3L7.26303 12.4733Z",.6]],"vuetify-outline":"svg:M7.26 12.47 12.53 3H2L7.26 12.47ZM14.45 3 8.22 14.2 12 21 22 3H14.45ZM18.6 5 12 16.88 10.51 14.2 15.62 5ZM7.26 8.35 5.4 5H9.13L7.26 8.35Z"}},n)}const IF=n=>{const e=ka(fx);if(!e)throw new Error("Missing Vuetify Icons provide!");return{iconData:cn(()=>{var d;const C=yu(n);if(!C)return{component:dx};let D=C;if(typeof D=="string"&&(D=D.trim(),D.startsWith("$")&&(D=(d=e.aliases)==null?void 0:d[D.slice(1)])),!D)throw new Error(`Could not find aliased icon "${C}"`);if(Array.isArray(D))return{component:i_,icon:D};if(typeof D!="string")return{component:dx,icon:D};const T=Object.keys(e.sets).find(g=>typeof D=="string"&&D.startsWith(`${g}:`)),p=T?D.slice(T.length+1):D;return{component:e.sets[T??e.defaultSet].component,icon:p}})}},RF={badge:"Badge",open:"Open",close:"Close",dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},dateRangeInput:{divider:"to"},datePicker:{ok:"OK",cancel:"Cancel",range:{title:"Select dates",header:"Enter dates"},title:"Select date",header:"Enter date",input:{placeholder:"Enter date"}},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action",otp:"Please enter OTP character {0}"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},timePicker:{am:"AM",pm:"PM"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Go to page {0}",currentPage:"Page {0}, Current page",first:"First page",last:"Last page"}},stepper:{next:"Next",prev:"Previous"},rating:{ariaLabel:{item:"Rating {0} of {1}"}},loading:"Loading...",infiniteScroll:{loadMore:"Load more",empty:"No more"}},PF={af:!1,ar:!0,bg:!1,ca:!1,ckb:!1,cs:!1,de:!1,el:!1,en:!1,es:!1,et:!1,fa:!0,fi:!1,fr:!1,hr:!1,hu:!1,he:!0,id:!1,it:!1,ja:!1,ko:!1,lv:!1,lt:!1,nl:!1,no:!1,pl:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,srCyrl:!1,srLatn:!1,sv:!1,th:!1,tr:!1,az:!1,uk:!1,vi:!1,zhHans:!1,zhHant:!1};function $f(n,e){let r;function C(){r=Um(),r.run(()=>e.length?e(()=>{r==null||r.stop(),C()}):e())}$r(n,D=>{D&&!r?C():D||(r==null||r.stop(),r=void 0)},{immediate:!0}),wl(()=>{r==null||r.stop()})}function xi(n,e,r){let C=arguments.length>3&&arguments[3]!==void 0?arguments[3]:M=>M,D=arguments.length>4&&arguments[4]!==void 0?arguments[4]:M=>M;const T=Ss("useProxiedModel"),p=Vr(n[e]!==void 0?n[e]:r),t=Ud(e),g=cn(t!==e?()=>{var M,v,f,l;return n[e],!!(((M=T.vnode.props)!=null&&M.hasOwnProperty(e)||(v=T.vnode.props)!=null&&v.hasOwnProperty(t))&&((f=T.vnode.props)!=null&&f.hasOwnProperty(`onUpdate:${e}`)||(l=T.vnode.props)!=null&&l.hasOwnProperty(`onUpdate:${t}`)))}:()=>{var M,v;return n[e],!!((M=T.vnode.props)!=null&&M.hasOwnProperty(e)&&((v=T.vnode.props)!=null&&v.hasOwnProperty(`onUpdate:${e}`)))});$f(()=>!g.value,()=>{$r(()=>n[e],M=>{p.value=M})});const i=cn({get(){const M=n[e];return C(g.value?M:p.value)},set(M){const v=D(M),f=wi(g.value?n[e]:p.value);f===v||C(f)===M||(p.value=v,T==null||T.emit(`update:${e}`,v))}});return Object.defineProperty(i,"externalValue",{get:()=>g.value?n[e]:p.value}),i}const H5="$vuetify.",G5=(n,e)=>n.replace(/\{(\d+)\}/g,(r,C)=>String(e[+C])),E6=(n,e,r)=>function(C){for(var D=arguments.length,T=new Array(D>1?D-1:0),p=1;pnew Intl.NumberFormat([n.value,e.value],C).format(r)}function yb(n,e,r){const C=xi(n,e,n[e]??r.value);return C.value=n[e]??r.value,$r(r,D=>{n[e]==null&&(C.value=r.value)}),C}function I6(n){return e=>{const r=yb(e,"locale",n.current),C=yb(e,"fallback",n.fallback),D=yb(e,"messages",n.messages);return{name:"vuetify",current:r,fallback:C,messages:D,t:E6(r,C,D),n:L6(r,C),provide:I6({current:r,fallback:C,messages:D})}}}function OF(n){const e=Wr((n==null?void 0:n.locale)??"en"),r=Wr((n==null?void 0:n.fallback)??"en"),C=Vr({en:RF,...n==null?void 0:n.messages});return{name:"vuetify",current:e,fallback:r,messages:C,t:E6(e,r,C),n:L6(e,r),provide:I6({current:e,fallback:r,messages:C})}}const c0=Symbol.for("vuetify:locale");function DF(n){return n.name!=null}function zF(n){const e=n!=null&&n.adapter&&DF(n==null?void 0:n.adapter)?n==null?void 0:n.adapter:OF(n),r=BF(e,n);return{...e,...r}}function oc(){const n=ka(c0);if(!n)throw new Error("[Vuetify] Could not find injected locale instance");return n}function FF(n){const e=ka(c0);if(!e)throw new Error("[Vuetify] Could not find injected locale instance");const r=e.provide(n),C=NF(r,e.rtl,n),D={...r,...C};return ts(c0,D),D}function BF(n,e){const r=Vr((e==null?void 0:e.rtl)??PF),C=cn(()=>r.value[n.current.value]??!1);return{isRtl:C,rtl:r,rtlClasses:cn(()=>`v-locale--is-${C.value?"rtl":"ltr"}`)}}function NF(n,e,r){const C=cn(()=>r.rtl??e.value[n.current.value]??!1);return{isRtl:C,rtl:e,rtlClasses:cn(()=>`v-locale--is-${C.value?"rtl":"ltr"}`)}}function Cs(){const n=ka(c0);if(!n)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:n.isRtl,rtlClasses:n.rtlClasses}}const Fm=Symbol.for("vuetify:theme"),oa=ur({theme:String},"theme"),im={defaultTheme:"light",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-bright":"#FFFFFF","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#6200EE","primary-darken-1":"#3700B3",secondary:"#03DAC6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#F5F5F5","theme-on-code":"#000000"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-bright":"#ccbfd6","surface-variant":"#a3a3a3","on-surface-variant":"#424242",primary:"#BB86FC","primary-darken-1":"#3700B3",secondary:"#03DAC5","secondary-darken-1":"#03DAC5",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"high-emphasis-opacity":1,"medium-emphasis-opacity":.7,"disabled-opacity":.5,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC"}}}};function VF(){var r,C;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:im;if(!n)return{...im,isDisabled:!0};const e={};for(const[D,T]of Object.entries(n.themes??{})){const p=T.dark||D==="dark"?(r=im.themes)==null?void 0:r.dark:(C=im.themes)==null?void 0:C.light;e[D]=Ku(p,T)}return Ku(im,{...n,themes:e})}function jF(n){const e=VF(n),r=Vr(e.defaultTheme),C=Vr(e.themes),D=cn(()=>{const i={};for(const[M,v]of Object.entries(C.value)){const f=i[M]={...v,colors:{...v.colors}};if(e.variations)for(const l of e.variations.colors){const a=f.colors[l];if(a)for(const u of["lighten","darken"]){const o=u==="lighten"?dF:pF;for(const s of Kh(e.variations[u],1))f.colors[`${l}-${u}-${s}`]=T6(o(Pc(a),s))}}for(const l of Object.keys(f.colors)){if(/^on-[a-z]/.test(l)||f.colors[`on-${l}`])continue;const a=`on-${l}`,u=Pc(f.colors[l]);f.colors[a]=A6(u)}}return i}),T=cn(()=>D.value[r.value]),p=cn(()=>{const i=[];T.value.dark&&wd(i,":root",["color-scheme: dark"]),wd(i,":root",q5(T.value));for(const[l,a]of Object.entries(D.value))wd(i,`.v-theme--${l}`,[`color-scheme: ${a.dark?"dark":"normal"}`,...q5(a)]);const M=[],v=[],f=new Set(Object.values(D.value).flatMap(l=>Object.keys(l.colors)));for(const l of f)/^on-[a-z]/.test(l)?wd(v,`.${l}`,[`color: rgb(var(--v-theme-${l})) !important`]):(wd(M,`.bg-${l}`,[`--v-theme-overlay-multiplier: var(--v-theme-${l}-overlay-multiplier)`,`background-color: rgb(var(--v-theme-${l})) !important`,`color: rgb(var(--v-theme-on-${l})) !important`]),wd(v,`.text-${l}`,[`color: rgb(var(--v-theme-${l})) !important`]),wd(v,`.border-${l}`,[`--v-border-color: var(--v-theme-${l})`]));return i.push(...M,...v),i.map((l,a)=>a===0?l:` ${l}`).join("")});function t(){return{style:[{children:p.value,id:"vuetify-theme-stylesheet",nonce:e.cspNonce||!1}]}}function d(i){if(e.isDisabled)return;const M=i._context.provides.usehead;if(M)if(M.push){const f=M.push(t);to&&$r(p,()=>{f.patch(t)})}else to?(M.addHeadObjs(cn(t)),wu(()=>M.updateDOM())):M.addHeadObjs(t());else{let l=function(){if(typeof document<"u"&&!f){const a=document.createElement("style");a.type="text/css",a.id="vuetify-theme-stylesheet",e.cspNonce&&a.setAttribute("nonce",e.cspNonce),f=a,document.head.appendChild(f)}f&&(f.innerHTML=p.value)};var v=l;let f=to?document.getElementById("vuetify-theme-stylesheet"):null;to?$r(p,l,{immediate:!0}):l()}}const g=cn(()=>e.isDisabled?void 0:`v-theme--${r.value}`);return{install:d,isDisabled:e.isDisabled,name:r,themes:C,current:T,computedThemes:D,themeClasses:g,styles:p,global:{name:r,current:T}}}function Ma(n){Ss("provideTheme");const e=ka(Fm,null);if(!e)throw new Error("Could not find Vuetify theme injection");const r=cn(()=>n.theme??e.name.value),C=cn(()=>e.themes.value[r.value]),D=cn(()=>e.isDisabled?void 0:`v-theme--${r.value}`),T={...e,name:r,current:C,themeClasses:D};return ts(Fm,T),T}function R6(){Ss("useTheme");const n=ka(Fm,null);if(!n)throw new Error("Could not find Vuetify theme injection");return n}function wd(n,e,r){n.push(`${e} { -`,...r.map(C=>` ${C}; +Data: `,e)}_wipeElements(){this.dispatch("rows-wipe"),this.destroy(),this.adjustTableSize(),this.dispatch("rows-wiped")}destroy(){this.rows.forEach(e=>{e.wipe()}),this.rows=[],this.activeRows=[],this.activeRowsPipeline=[],this.activeRowsCount=0,this.displayRows=[],this.displayRowsCount=0}deleteRow(e,r){var S=this.rows.indexOf(e),D=this.activeRows.indexOf(e);D>-1&&this.activeRows.splice(D,1),S>-1&&this.rows.splice(S,1),this.setActiveRows(this.activeRows),this.displayRowIterator(T=>{var p=T.indexOf(e);p>-1&&T.splice(p,1)}),r||this.reRenderInPosition(),this.regenerateRowPositions(),this.dispatchExternal("rowDeleted",e.getComponent()),this.displayRowsCount||this.tableEmpty(),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.getData())}addRow(e,r,S,D){var T=this.addRowActual(e,r,S,D);return T}addRows(e,r,S,D){var T=[];return new Promise((p,t)=>{r=this.findAddRowPos(r),Array.isArray(e)||(e=[e]),(typeof S>"u"&&r||typeof S<"u"&&!r)&&e.reverse(),e.forEach((d,g)=>{var i=this.addRow(d,r,S,!0);T.push(i),this.dispatch("row-added",i,d,r,S)}),this.refreshActiveData(D?"displayPipeline":!1,!1,!0),this.regenerateRowPositions(),this.displayRowsCount&&this._clearPlaceholder(),p(T)})}findAddRowPos(e){return typeof e>"u"&&(e=this.table.options.addRowPos),e==="pos"&&(e=!0),e==="bottom"&&(e=!1),e}addRowActual(e,r,S,D){var T=e instanceof vl?e:new vl(e||{},this),p=this.findAddRowPos(r),t=-1,d,g;return S||(g=this.chain("row-adding-position",[T,p],null,{index:S,top:p}),S=g.index,p=g.top),typeof S<"u"&&(S=this.findRow(S)),S=this.chain("row-adding-index",[T,S,p],null,S),S&&(t=this.rows.indexOf(S)),S&&t>-1?(d=this.activeRows.indexOf(S),this.displayRowIterator(function(i){var M=i.indexOf(S);M>-1&&i.splice(p?M:M+1,0,T)}),d>-1&&this.activeRows.splice(p?d:d+1,0,T),this.rows.splice(p?t:t+1,0,T)):p?(this.displayRowIterator(function(i){i.unshift(T)}),this.activeRows.unshift(T),this.rows.unshift(T)):(this.displayRowIterator(function(i){i.push(T)}),this.activeRows.push(T),this.rows.push(T)),this.setActiveRows(this.activeRows),this.dispatchExternal("rowAdded",T.getComponent()),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.table.rowManager.getData()),D||this.reRenderInPosition(),T}moveRow(e,r,S){this.dispatch("row-move",e,r,S),this.moveRowActual(e,r,S),this.regenerateRowPositions(),this.dispatch("row-moved",e,r,S),this.dispatchExternal("rowMoved",e.getComponent())}moveRowActual(e,r,S){this.moveRowInArray(this.rows,e,r,S),this.moveRowInArray(this.activeRows,e,r,S),this.displayRowIterator(D=>{this.moveRowInArray(D,e,r,S)}),this.dispatch("row-moving",e,r,S)}moveRowInArray(e,r,S,D){var T,p,t,d;if(r!==S&&(T=e.indexOf(r),T>-1&&(e.splice(T,1),p=e.indexOf(S),p>-1?D?e.splice(p+1,0,r):e.splice(p,0,r):e.splice(T,0,r)),e===this.getDisplayRows())){t=TT?p:T+1;for(let g=t;g<=d;g++)e[g]&&this.styleRow(e[g],g)}}clearData(){this.setData([])}getRowIndex(e){return this.findRowIndex(e,this.rows)}getDisplayRowIndex(e){var r=this.getDisplayRows().indexOf(e);return r>-1?r:!1}nextDisplayRow(e,r){var S=this.getDisplayRowIndex(e),D=!1;return S!==!1&&S-1)?S:!1}getData(e,r){var S=[],D=this.getRows(e);return D.forEach(function(T){T.type=="row"&&S.push(T.getData(r||"data"))}),S}getComponents(e){var r=[],S=this.getRows(e);return S.forEach(function(D){r.push(D.getComponent())}),r}getDataCount(e){var r=this.getRows(e);return r.length}scrollHorizontal(e){this.scrollLeft=e,this.element.scrollLeft=e,this.dispatch("scroll-horizontal",e)}registerDataPipelineHandler(e,r){typeof r<"u"?(this.dataPipeline.push({handler:e,priority:r}),this.dataPipeline.sort((S,D)=>S.priority-D.priority)):console.error("Data pipeline handlers must have a priority in order to be registered")}registerDisplayPipelineHandler(e,r){typeof r<"u"?(this.displayPipeline.push({handler:e,priority:r}),this.displayPipeline.sort((S,D)=>S.priority-D.priority)):console.error("Display pipeline handlers must have a priority in order to be registered")}refreshActiveData(e,r,S){var D=this.table,T="",p=0,t=["all","dataPipeline","display","displayPipeline","end"];if(!this.table.destroyed){if(typeof e=="function")if(p=this.dataPipeline.findIndex(d=>d.handler===e),p>-1)T="dataPipeline",r&&(p==this.dataPipeline.length-1?T="display":p++);else if(p=this.displayPipeline.findIndex(d=>d.handler===e),p>-1)T="displayPipeline",r&&(p==this.displayPipeline.length-1?T="end":p++);else{console.error("Unable to refresh data, invalid handler provided",e);return}else T=e||"all",p=0;if(this.redrawBlock){(!this.redrawBlockRestoreConfig||this.redrawBlockRestoreConfig&&(this.redrawBlockRestoreConfig.stage===T&&p{S.type==="row"&&(S.setPosition(r),r++)})}setActiveRows(e){this.activeRows=this.activeRows=Object.assign([],e),this.activeRowsCount=this.activeRows.length}resetDisplayRows(){this.displayRows=[],this.displayRows.push(this.activeRows.slice(0)),this.displayRowsCount=this.displayRows[0].length}setDisplayRows(e,r){this.displayRows[r]=e,r==this.displayRows.length-1&&(this.displayRowsCount=this.displayRows[this.displayRows.length-1].length)}getDisplayRows(e){return typeof e>"u"?this.displayRows.length?this.displayRows[this.displayRows.length-1]:[]:this.displayRows[e]||[]}getVisibleRows(e,r){var S=Object.assign([],this.renderer.visibleRows(!r));return e&&(S=this.chain("rows-visible",[r],S,S)),S}displayRowIterator(e){this.activeRowsPipeline.forEach(e),this.displayRows.forEach(e),this.displayRowsCount=this.displayRows[this.displayRows.length-1].length}getRows(e){var r=[];switch(e){case"active":r=this.activeRows;break;case"display":r=this.table.rowManager.getDisplayRows();break;case"visible":r=this.getVisibleRows(!1,!0);break;default:r=this.chain("rows-retrieve",e,null,this.rows)||this.rows}return r}reRenderInPosition(e){this.redrawBlock?e?e():this.redrawBlockRenderInPosition=!0:(this.dispatchExternal("renderStarted"),this.renderer.rerenderRows(e),this.fixedHeight||this.adjustTableSize(),this.scrollBarCheck(),this.dispatchExternal("renderComplete"))}scrollBarCheck(){var e=0;this.element.scrollHeight>this.element.clientHeight&&(e=this.element.offsetWidth-this.element.clientWidth),e!==this.scrollbarWidth&&(this.scrollbarWidth=e,this.dispatch("scrollbar-vertical",e))}initializeRenderer(){var e,r={virtual:VP,basic:NP};typeof this.table.options.renderVertical=="string"?e=r[this.table.options.renderVertical]:e=this.table.options.renderVertical,e?(this.renderMode=this.table.options.renderVertical,this.renderer=new e(this.table,this.element,this.tableElement),this.renderer.initialize(),(this.table.element.clientHeight||this.table.options.height)&&!(this.table.options.minHeight&&this.table.options.maxHeight)?this.fixedHeight=!0:this.fixedHeight=!1):console.error("Unable to find matching renderer:",this.table.options.renderVertical)}getRenderMode(){return this.renderMode}renderTable(){this.dispatchExternal("renderStarted"),this.element.scrollTop=0,this._clearTable(),this.displayRowsCount?(this.renderer.renderRows(),this.firstRender&&(this.firstRender=!1,this.fixedHeight||this.adjustTableSize(),this.layoutRefresh(!0))):this.renderEmptyScroll(),this.fixedHeight||this.adjustTableSize(),this.dispatch("table-layout"),this.displayRowsCount||this._showPlaceholder(),this.scrollBarCheck(),this.dispatchExternal("renderComplete")}renderEmptyScroll(){this.placeholder?this.tableElement.style.display="none":this.tableElement.style.minWidth=this.table.columnManager.getWidth()+"px"}_clearTable(){this._clearPlaceholder(),this.scrollTop=0,this.scrollLeft=0,this.renderer.clearRows()}tableEmpty(){this.renderEmptyScroll(),this._showPlaceholder()}checkPlaceholder(){this.displayRowsCount?this._clearPlaceholder():this.tableEmpty()}_showPlaceholder(){this.placeholder&&(this.placeholder&&this.placeholder.parentNode&&this.placeholder.parentNode.removeChild(this.placeholder),this.initializePlaceholder(),this.placeholder.setAttribute("tabulator-render-mode",this.renderMode),this.getElement().appendChild(this.placeholder),this._positionPlaceholder(),this.adjustTableSize())}_clearPlaceholder(){this.placeholder&&this.placeholder.parentNode&&this.placeholder.parentNode.removeChild(this.placeholder),this.tableElement.style.minWidth="",this.tableElement.style.display=""}_positionPlaceholder(){this.placeholder&&this.placeholder.parentNode&&(this.placeholder.style.width=this.table.columnManager.getWidth()+"px",this.placeholderContents.style.width=this.table.rowManager.element.clientWidth+"px",this.placeholderContents.style.marginLeft=this.scrollLeft+"px")}styleRow(e,r){var S=e.getElement();r%2?(S.classList.add("tabulator-row-even"),S.classList.remove("tabulator-row-odd")):(S.classList.add("tabulator-row-odd"),S.classList.remove("tabulator-row-even"))}normalizeHeight(){this.activeRows.forEach(function(e){e.normalizeHeight()})}adjustTableSize(){let e=this.element.clientHeight,r,S=!1;if(this.renderer.verticalFillMode==="fill"){let D=Math.floor(this.table.columnManager.getElement().getBoundingClientRect().height+(this.table.footerManager&&this.table.footerManager.active&&!this.table.footerManager.external?this.table.footerManager.getElement().getBoundingClientRect().height:0));if(this.fixedHeight){r=isNaN(this.table.options.minHeight)?this.table.options.minHeight:this.table.options.minHeight+"px";const T="calc(100% - "+D+"px)";this.element.style.minHeight=r||"calc(100% - "+D+"px)",this.element.style.height=T,this.element.style.maxHeight=T}else this.element.style.height="",this.element.style.height=this.table.element.clientHeight-D+"px",this.element.scrollTop=this.scrollTop;this.renderer.resize(),!this.fixedHeight&&e!=this.element.clientHeight&&(S=!0,this.subscribed("table-resize")?this.dispatch("table-resize"):this.redraw()),this.scrollBarCheck()}return this._positionPlaceholder(),S}reinitialize(){this.rows.forEach(function(e){e.reinitialize(!0)})}blockRedraw(){this.redrawBlock=!0,this.redrawBlockRestoreConfig=!1}restoreRedraw(){this.redrawBlock=!1,this.redrawBlockRestoreConfig?(this.refreshActiveData(this.redrawBlockRestoreConfig.handler,this.redrawBlockRestoreConfig.skipStage,this.redrawBlockRestoreConfig.renderInPosition),this.redrawBlockRestoreConfig=!1):this.redrawBlockRenderInPosition&&this.reRenderInPosition(),this.redrawBlockRenderInPosition=!1}redraw(e){this.adjustTableSize(),this.table.tableWidth=this.table.element.clientWidth,e?this.renderTable():(this.reRenderInPosition(),this.scrollHorizontal(this.scrollLeft))}resetScroll(){if(this.element.scrollLeft=0,this.element.scrollTop=0,this.table.browser==="ie"){var e=document.createEvent("Event");e.initEvent("scroll",!1,!0),this.element.dispatchEvent(e)}else this.element.dispatchEvent(new Event("scroll"))}}class UP extends Ml{constructor(e){super(e),this.active=!1,this.element=this.createElement(),this.containerElement=this.createContainerElement(),this.external=!1}initialize(){this.initializeElement()}createElement(){var e=document.createElement("div");return e.classList.add("tabulator-footer"),e}createContainerElement(){var e=document.createElement("div");return e.classList.add("tabulator-footer-contents"),this.element.appendChild(e),e}initializeElement(){if(this.table.options.footerElement)switch(typeof this.table.options.footerElement){case"string":this.table.options.footerElement[0]==="<"?this.containerElement.innerHTML=this.table.options.footerElement:(this.external=!0,this.containerElement=document.querySelector(this.table.options.footerElement));break;default:this.element=this.table.options.footerElement;break}}getElement(){return this.element}append(e){this.activate(),this.containerElement.appendChild(e),this.table.rowManager.adjustTableSize()}prepend(e){this.activate(),this.element.insertBefore(e,this.element.firstChild),this.table.rowManager.adjustTableSize()}remove(e){e.parentNode.removeChild(e),this.deactivate()}deactivate(e){(!this.element.firstChild||e)&&(this.external||this.element.parentNode.removeChild(this.element),this.active=!1)}activate(){this.active||(this.active=!0,this.external||(this.table.element.appendChild(this.getElement()),this.table.element.style.display=""))}redraw(){this.dispatch("footer-redraw")}}class HP extends Ml{constructor(e){super(e),this.el=null,this.abortClasses=["tabulator-headers","tabulator-table"],this.previousTargets={},this.listeners=["click","dblclick","contextmenu","mouseenter","mouseleave","mouseover","mouseout","mousemove","mouseup","mousedown","touchstart","touchend"],this.componentMap={"tabulator-cell":"cell","tabulator-row":"row","tabulator-group":"group","tabulator-col":"column"},this.pseudoTrackers={row:{subscriber:null,target:null},cell:{subscriber:null,target:null},group:{subscriber:null,target:null},column:{subscriber:null,target:null}},this.pseudoTracking=!1}initialize(){this.el=this.table.element,this.buildListenerMap(),this.bindSubscriptionWatchers()}buildListenerMap(){var e={};this.listeners.forEach(r=>{e[r]={handler:null,components:[]}}),this.listeners=e}bindPseudoEvents(){Object.keys(this.pseudoTrackers).forEach(e=>{this.pseudoTrackers[e].subscriber=this.pseudoMouseEnter.bind(this,e),this.subscribe(e+"-mouseover",this.pseudoTrackers[e].subscriber)}),this.pseudoTracking=!0}pseudoMouseEnter(e,r,S){this.pseudoTrackers[e].target!==S&&(this.pseudoTrackers[e].target&&this.dispatch(e+"-mouseleave",r,this.pseudoTrackers[e].target),this.pseudoMouseLeave(e,r),this.pseudoTrackers[e].target=S,this.dispatch(e+"-mouseenter",r,S))}pseudoMouseLeave(e,r){var S=Object.keys(this.pseudoTrackers),D={row:["cell"],cell:["row"]};S=S.filter(T=>{var p=D[e];return T!==e&&(!p||p&&!p.includes(T))}),S.forEach(T=>{var p=this.pseudoTrackers[T].target;this.pseudoTrackers[T].target&&(this.dispatch(T+"-mouseleave",r,p),this.pseudoTrackers[T].target=null)})}bindSubscriptionWatchers(){var e=Object.keys(this.listeners),r=Object.values(this.componentMap);for(let S of r)for(let D of e){let T=S+"-"+D;this.subscriptionChange(T,this.subscriptionChanged.bind(this,S,D))}this.subscribe("table-destroy",this.clearWatchers.bind(this))}subscriptionChanged(e,r,S){var D=this.listeners[r].components,T=D.indexOf(e),p=!1;S?T===-1&&(D.push(e),p=!0):this.subscribed(e+"-"+r)||T>-1&&(D.splice(T,1),p=!0),(r==="mouseenter"||r==="mouseleave")&&!this.pseudoTracking&&this.bindPseudoEvents(),p&&this.updateEventListeners()}updateEventListeners(){for(let e in this.listeners){let r=this.listeners[e];r.components.length?r.handler||(r.handler=this.track.bind(this,e),this.el.addEventListener(e,r.handler)):r.handler&&(this.el.removeEventListener(e,r.handler),r.handler=null)}}track(e,r){var S=r.composedPath&&r.composedPath()||r.path,D=this.findTargets(S);D=this.bindComponents(e,D),this.triggerEvents(e,r,D),this.pseudoTracking&&(e=="mouseover"||e=="mouseleave")&&!Object.keys(D).length&&this.pseudoMouseLeave("none",r)}findTargets(e){var r={};let S=Object.keys(this.componentMap);for(let D of e){let T=D.classList?[...D.classList]:[];if(T.filter(d=>this.abortClasses.includes(d)).length)break;let t=T.filter(d=>S.includes(d));for(let d of t)r[this.componentMap[d]]||(r[this.componentMap[d]]=D)}return r.group&&r.group===r.row&&delete r.row,r}bindComponents(e,r){var S=Object.keys(r).reverse(),D=this.listeners[e],T={},p={};for(let t of S){let d,g=r[t],i=this.previousTargets[t];if(i&&i.target===g)d=i.component;else switch(t){case"row":case"group":(D.components.includes("row")||D.components.includes("cell")||D.components.includes("group"))&&(d=this.table.rowManager.getVisibleRows(!0).find(v=>v.getElement()===g),r.row&&r.row.parentNode&&r.row.parentNode.closest(".tabulator-row")&&(r[t]=!1));break;case"column":D.components.includes("column")&&(d=this.table.columnManager.findColumn(g));break;case"cell":D.components.includes("cell")&&(T.row instanceof vl?d=T.row.findCell(g):r.row&&console.warn("Event Target Lookup Error - The row this cell is attached to cannot be found, has the table been reinitialized without being destroyed first?"));break}d&&(T[t]=d,p[t]={target:g,component:d})}return this.previousTargets=p,T}triggerEvents(e,r,S){var D=this.listeners[e];for(let T in S)S[T]&&D.components.includes(T)&&this.dispatch(T+"-"+e,r,S[T])}clearWatchers(){for(let e in this.listeners){let r=this.listeners[e];r.handler&&(this.el.removeEventListener(e,r.handler),r.handler=null)}}}class GP{constructor(e){this.table=e,this.bindings={}}bind(e,r,S){this.bindings[e]||(this.bindings[e]={}),this.bindings[e][r]?console.warn("Unable to bind component handler, a matching function name is already bound",e,r,S):this.bindings[e][r]=S}handle(e,r,S){if(this.bindings[e]&&this.bindings[e][S]&&typeof this.bindings[e][S].bind=="function")return this.bindings[e][S].bind(null,r);S!=="then"&&typeof S=="string"&&!S.startsWith("_")&&this.table.options.debugInvalidComponentFuncs&&console.error("The "+e+" component does not have a "+S+" function, have you checked that you have the correct Tabulator module installed?")}}class qP extends Ml{constructor(e){super(e),this.requestOrder=0,this.loading=!1}initialize(){}load(e,r,S,D,T,p){var t=++this.requestOrder;if(this.table.destroyed)return Promise.resolve();if(this.dispatchExternal("dataLoading",e),e&&(e.indexOf("{")==0||e.indexOf("[")==0)&&(e=JSON.parse(e)),this.confirm("data-loading",[e,r,S,T])){this.loading=!0,T||this.alertLoader(),r=this.chain("data-params",[e,S,T],r||{},r||{}),r=this.mapParams(r,this.table.options.dataSendParams);var d=this.chain("data-load",[e,r,S,T],!1,Promise.resolve([]));return d.then(g=>{if(this.table.destroyed)console.warn("Data Load Response Blocked - Table has been destroyed");else{!Array.isArray(g)&&typeof g=="object"&&(g=this.mapParams(g,this.objectInvert(this.table.options.dataReceiveParams)));var i=this.chain("data-loaded",g,null,g);t==this.requestOrder?(this.clearAlert(),i!==!1&&(this.dispatchExternal("dataLoaded",i),this.table.rowManager.setData(i,D,typeof p>"u"?!D:p))):console.warn("Data Load Response Blocked - An active data load request was blocked by an attempt to change table data while the request was being made")}}).catch(g=>{console.error("Data Load Error: ",g),this.dispatchExternal("dataLoadError",g),T||this.alertError(),setTimeout(()=>{this.clearAlert()},this.table.options.dataLoaderErrorTimeout)}).finally(()=>{this.loading=!1})}else return this.dispatchExternal("dataLoaded",e),e||(e=[]),this.table.rowManager.setData(e,D,typeof p>"u"?!D:p),Promise.resolve()}mapParams(e,r){var S={};for(let D in e)S[r.hasOwnProperty(D)?r[D]:D]=e[D];return S}objectInvert(e){var r={};for(let S in e)r[e[S]]=S;return r}blockActiveLoad(){this.requestOrder++}alertLoader(){var e=typeof this.table.options.dataLoader=="function"?this.table.options.dataLoader():this.table.options.dataLoader;e&&this.table.alertManager.alert(this.table.options.dataLoaderLoading||this.langText("data|loading"))}alertError(){this.table.alertManager.alert(this.table.options.dataLoaderError||this.langText("data|error"),"error")}clearAlert(){this.table.alertManager.clear()}}class WP{constructor(e,r,S){this.table=e,this.events={},this.optionsList=r||{},this.subscriptionNotifiers={},this.dispatch=S?this._debugDispatch.bind(this):this._dispatch.bind(this),this.debug=S}subscriptionChange(e,r){this.subscriptionNotifiers[e]||(this.subscriptionNotifiers[e]=[]),this.subscriptionNotifiers[e].push(r),this.subscribed(e)&&this._notifySubscriptionChange(e,!0)}subscribe(e,r){this.events[e]||(this.events[e]=[]),this.events[e].push(r),this._notifySubscriptionChange(e,!0)}unsubscribe(e,r){var S;if(this.events[e])if(r)if(S=this.events[e].findIndex(D=>D===r),S>-1)this.events[e].splice(S,1);else{console.warn("Cannot remove event, no matching event found:",e,r);return}else delete this.events[e];else{console.warn("Cannot remove event, no events set on:",e);return}this._notifySubscriptionChange(e,!1)}subscribed(e){return this.events[e]&&this.events[e].length}_notifySubscriptionChange(e,r){var S=this.subscriptionNotifiers[e];S&&S.forEach(D=>{D(r)})}_dispatch(){var e=Array.from(arguments),r=e.shift(),S;return this.events[r]&&this.events[r].forEach((D,T)=>{let p=D.apply(this.table,e);T||(S=p)}),S}_debugDispatch(){var e=Array.from(arguments),r=e[0];return e[0]="ExternalEvent:"+e[0],(this.debug===!0||this.debug.includes(r))&&console.log(...e),this._dispatch(...arguments)}}class YP{constructor(e){this.events={},this.subscriptionNotifiers={},this.dispatch=e?this._debugDispatch.bind(this):this._dispatch.bind(this),this.chain=e?this._debugChain.bind(this):this._chain.bind(this),this.confirm=e?this._debugConfirm.bind(this):this._confirm.bind(this),this.debug=e}subscriptionChange(e,r){this.subscriptionNotifiers[e]||(this.subscriptionNotifiers[e]=[]),this.subscriptionNotifiers[e].push(r),this.subscribed(e)&&this._notifySubscriptionChange(e,!0)}subscribe(e,r,S=1e4){this.events[e]||(this.events[e]=[]),this.events[e].push({callback:r,priority:S}),this.events[e].sort((D,T)=>D.priority-T.priority),this._notifySubscriptionChange(e,!0)}unsubscribe(e,r){var S;if(this.events[e]){if(r)if(S=this.events[e].findIndex(D=>D.callback===r),S>-1)this.events[e].splice(S,1);else{console.warn("Cannot remove event, no matching event found:",e,r);return}}else{console.warn("Cannot remove event, no events set on:",e);return}this._notifySubscriptionChange(e,!1)}subscribed(e){return this.events[e]&&this.events[e].length}_chain(e,r,S,D){var T=S;return Array.isArray(r)||(r=[r]),this.subscribed(e)?(this.events[e].forEach((p,t)=>{T=p.callback.apply(this,r.concat([T]))}),T):typeof D=="function"?D():D}_confirm(e,r){var S=!1;return Array.isArray(r)||(r=[r]),this.subscribed(e)&&this.events[e].forEach((D,T)=>{D.callback.apply(this,r)&&(S=!0)}),S}_notifySubscriptionChange(e,r){var S=this.subscriptionNotifiers[e];S&&S.forEach(D=>{D(r)})}_dispatch(){var e=Array.from(arguments),r=e.shift();this.events[r]&&this.events[r].forEach(S=>{S.callback.apply(this,e)})}_debugDispatch(){var e=Array.from(arguments),r=e[0];return e[0]="InternalEvent:"+r,(this.debug===!0||this.debug.includes(r))&&console.log(...e),this._dispatch(...arguments)}_debugChain(){var e=Array.from(arguments),r=e[0];return e[0]="InternalEvent:"+r,(this.debug===!0||this.debug.includes(r))&&console.log(...e),this._chain(...arguments)}_debugConfirm(){var e=Array.from(arguments),r=e[0];return e[0]="InternalEvent:"+r,(this.debug===!0||this.debug.includes(r))&&console.log(...e),this._confirm(...arguments)}}class $P extends Ml{constructor(e){super(e)}_warnUser(){this.options("debugDeprecation")&&console.warn(...arguments)}check(e,r,S){var D="";return typeof this.options(e)<"u"?(D="Deprecated Setup Option - Use of the %c"+e+"%c option is now deprecated",r?(D=D+", Please use the %c"+r+"%c option instead",this._warnUser(D,"font-weight: bold;","font-weight: normal;","font-weight: bold;","font-weight: normal;"),S&&(this.table.options[r]=this.table.options[e])):this._warnUser(D,"font-weight: bold;","font-weight: normal;"),!1):!0}checkMsg(e,r){return typeof this.options(e)<"u"?(this._warnUser("%cDeprecated Setup Option - Use of the %c"+e+" %c option is now deprecated, "+r,"font-weight: normal;","font-weight: bold;","font-weight: normal;"),!1):!0}msg(e){this._warnUser(e)}}class pu{static register(e){pu.tables.push(e)}static deregister(e){var r=pu.tables.indexOf(e);r>-1&&pu.tables.splice(r,1)}static lookupTable(e,r){var S=[],D,T;if(typeof e=="string"){if(D=document.querySelectorAll(e),D.length)for(var p=0;p{p.widthFixed||p.reinitializeWidth(),(this.table.options.responsiveLayout?p.modules.responsive.visible:p.visible)&&(T=p),p.visible&&(r+=p.getWidth())}),T?(D=S-r+T.getWidth(),this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&(T.setWidth(0),this.table.modules.responsiveLayout.update()),D>0?T.setWidth(D):T.reinitializeWidth()):this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&this.table.modules.responsiveLayout.update()}function KP(n,e){var r=this.table.rowManager.element.getBoundingClientRect().width,S=0,D=0,T=0,p=0,t=[],d=[],g=0,i=0,M=0;function v(l){var a;return typeof l=="string"?l.indexOf("%")>-1?a=r/100*parseInt(l):a=parseInt(l):a=l,a}function f(l,a,u,o){var s=[],h=0,c=0,m=0,w=T,y=0,C=0,_=[];function k(x){return u*(x.column.definition.widthGrow||1)}function E(x){return v(x.width)-u*(x.column.definition.widthShrink||0)}return l.forEach(function(x,A){var L=o?E(x):k(x);x.column.minWidth>=L?s.push(x):x.column.maxWidth&&x.column.maxWidththis.table.rowManager.element.clientHeight&&(r-=this.table.rowManager.element.offsetWidth-this.table.rowManager.element.clientWidth),n.forEach(function(l){var a,u,o;l.visible&&(a=l.definition.width,u=parseInt(l.minWidth),a?(o=v(a),S+=o>u?o:u,l.definition.widthShrink&&(d.push({column:l,width:o>u?o:u}),g+=l.definition.widthShrink)):(t.push({column:l,width:0}),T+=l.definition.widthGrow||1))}),D=r-S,p=Math.floor(D/T),M=f(t,D,p,!1),t.length&&M>0&&(t[t.length-1].width+=M),t.forEach(function(l){D-=l.width}),i=Math.abs(M)+D,i>0&&g&&(M=f(d,i,Math.floor(i/g),!0)),M&&d.length&&(d[d.length-1].width-=M),t.forEach(function(l){l.column.setWidth(l.width)}),d.forEach(function(l){l.column.setWidth(l.width)})}var JP={fitData:ZP,fitDataFill:v5,fitDataTable:v5,fitDataStretch:XP,fitColumns:KP};class s0 extends qi{constructor(e){super(e,"layout"),this.mode=null,this.registerTableOption("layout","fitData"),this.registerTableOption("layoutColumnsOnNewData",!1),this.registerColumnOption("widthGrow"),this.registerColumnOption("widthShrink")}initialize(){var e=this.table.options.layout;s0.modes[e]?this.mode=e:(console.warn("Layout Error - invalid mode set, defaulting to 'fitData' : "+e),this.mode="fitData"),this.table.element.setAttribute("tabulator-layout",this.mode),this.subscribe("column-init",this.initializeColumn.bind(this))}initializeColumn(e){e.definition.widthGrow&&(e.definition.widthGrow=Number(e.definition.widthGrow)),e.definition.widthShrink&&(e.definition.widthShrink=Number(e.definition.widthShrink))}getMode(){return this.mode}layout(e){this.dispatch("layout-refreshing"),s0.modes[this.mode].call(this,this.table.columnManager.columnsByIndex,e),this.dispatch("layout-refreshed")}}s0.moduleName="layout";s0.modes=JP;var QP={default:{groups:{item:"item",items:"items"},columns:{},data:{loading:"Loading",error:"Error"},pagination:{page_size:"Page Size",page_title:"Show Page",first:"First",first_title:"First Page",last:"Last",last_title:"Last Page",prev:"Prev",prev_title:"Prev Page",next:"Next",next_title:"Next Page",all:"All",counter:{showing:"Showing",of:"of",rows:"rows",pages:"pages"}},headerFilters:{default:"filter column...",columns:{}}}};class ag extends qi{constructor(e){super(e),this.locale="default",this.lang=!1,this.bindings={},this.langList={},this.registerTableOption("locale",!1),this.registerTableOption("langs",{})}initialize(){this.langList=so.deepClone(ag.langs),this.table.options.columnDefaults.headerFilterPlaceholder!==!1&&this.setHeaderFilterPlaceholder(this.table.options.columnDefaults.headerFilterPlaceholder);for(let e in this.table.options.langs)this.installLang(e,this.table.options.langs[e]);this.setLocale(this.table.options.locale),this.registerTableFunction("setLocale",this.setLocale.bind(this)),this.registerTableFunction("getLocale",this.getLocale.bind(this)),this.registerTableFunction("getLang",this.getLang.bind(this))}setHeaderFilterPlaceholder(e){this.langList.default.headerFilters.default=e}installLang(e,r){this.langList[e]?this._setLangProp(this.langList[e],r):this.langList[e]=r}_setLangProp(e,r){for(let S in r)e[S]&&typeof e[S]=="object"?this._setLangProp(e[S],r[S]):e[S]=r[S]}setLocale(e){e=e||"default";function r(S,D){for(var T in S)typeof S[T]=="object"?(D[T]||(D[T]={}),r(S[T],D[T])):D[T]=S[T]}if(e===!0&&navigator.language&&(e=navigator.language.toLowerCase()),e&&!this.langList[e]){let S=e.split("-")[0];this.langList[S]?(console.warn("Localization Error - Exact matching locale not found, using closest match: ",e,S),e=S):(console.warn("Localization Error - Matching locale not found, using default: ",e),e="default")}this.locale=e,this.lang=so.deepClone(this.langList.default||{}),e!="default"&&r(this.langList[e],this.lang),this.dispatchExternal("localized",this.locale,this.lang),this._executeBindings()}getLocale(e){return this.locale}getLang(e){return e?this.langList[e]:this.lang}getText(e,r){var S=r?e+"|"+r:e,D=S.split("|"),T=this._getLangElement(D,this.locale);return T||""}_getLangElement(e,r){var S=this.lang;return e.forEach(function(D){var T;S&&(T=S[D],typeof T<"u"?S=T:S=!1)}),S}bind(e,r){this.bindings[e]||(this.bindings[e]=[]),this.bindings[e].push(r),r(this.getText(e),this.lang)}_executeBindings(){for(let e in this.bindings)this.bindings[e].forEach(r=>{r(this.getText(e),this.lang)})}}ag.moduleName="localize";ag.langs=QP;class e6 extends qi{constructor(e){super(e)}initialize(){this.registerTableFunction("tableComms",this.receive.bind(this))}getConnections(e){var r=[],S;return S=pu.lookupTable(e),S.forEach(D=>{this.table!==D&&r.push(D)}),r}send(e,r,S,D){var T=this.getConnections(e);T.forEach(p=>{p.tableComms(this.table.element,r,S,D)}),!T.length&&e&&console.warn("Table Connection Error - No tables matching selector found",e)}receive(e,r,S,D){if(this.table.modExists(r))return this.table.modules[r].commsReceived(e,S,D);console.warn("Inter-table Comms Error - no such module:",r)}}e6.moduleName="comms";var eO=Object.freeze({__proto__:null,LayoutModule:s0,LocalizeModule:ag,CommsModule:e6});class t6{constructor(e,r){this.bindStaticFunctionality(e),this.bindModules(e,eO,!0),r&&this.bindModules(e,r)}bindStaticFunctionality(e){e.moduleBindings={},e.extendModule=function(r,S,D){if(e.moduleBindings[r]){var T=e.moduleBindings[r][S];if(T)if(typeof D=="object")for(let p in D)T[p]=D[p];else console.warn("Module Error - Invalid value type, it must be an object");else console.warn("Module Error - property does not exist:",S)}else console.warn("Module Error - module does not exist:",r)},e.registerModule=function(r){Array.isArray(r)||(r=[r]),r.forEach(S=>{e.registerModuleBinding(S)})},e.registerModuleBinding=function(r){e.moduleBindings[r.moduleName]=r},e.findTable=function(r){var S=pu.lookupTable(r,!0);return Array.isArray(S)&&!S.length?!1:S},e.prototype.bindModules=function(){var r=[],S=[],D=[];this.modules={};for(var T in e.moduleBindings){let p=e.moduleBindings[T],t=new p(this);this.modules[T]=t,p.prototype.moduleCore?this.modulesCore.push(t):p.moduleInitOrder?p.moduleInitOrder<0?r.push(t):S.push(t):D.push(t)}r.sort((p,t)=>p.moduleInitOrder>t.moduleInitOrder?1:-1),S.sort((p,t)=>p.moduleInitOrder>t.moduleInitOrder?1:-1),this.modulesRegular=r.concat(D.concat(S))}}bindModules(e,r,S){var D=Object.values(r);S&&D.forEach(T=>{T.prototype.moduleCore=!0}),e.registerModule(D)}}class tO extends Ml{constructor(e){super(e),this.element=this._createAlertElement(),this.msgElement=this._createMsgElement(),this.type=null,this.element.appendChild(this.msgElement)}_createAlertElement(){var e=document.createElement("div");return e.classList.add("tabulator-alert"),e}_createMsgElement(){var e=document.createElement("div");return e.classList.add("tabulator-alert-msg"),e.setAttribute("role","alert"),e}_typeClass(){return"tabulator-alert-state-"+this.type}alert(e,r="msg"){if(e){for(this.clear(),this.dispatch("alert-show",r),this.type=r;this.msgElement.firstChild;)this.msgElement.removeChild(this.msgElement.firstChild);this.msgElement.classList.add(this._typeClass()),typeof e=="function"&&(e=e()),e instanceof HTMLElement?this.msgElement.appendChild(e):this.msgElement.innerHTML=e,this.table.element.appendChild(this.element)}}clear(){this.dispatch("alert-hide",this.type),this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.msgElement.classList.remove(this._typeClass())}}class Yd{constructor(e,r){this.options={},this.columnManager=null,this.rowManager=null,this.footerManager=null,this.alertManager=null,this.vdomHoz=null,this.externalEvents=null,this.eventBus=null,this.interactionMonitor=!1,this.browser="",this.browserSlow=!1,this.browserMobile=!1,this.rtl=!1,this.originalElement=null,this.componentFunctionBinder=new GP(this),this.dataLoader=!1,this.modules={},this.modulesCore=[],this.modulesRegular=[],this.deprecationAdvisor=new $P(this),this.optionsList=new QM(this,"table constructor"),this.initialized=!1,this.destroyed=!1,this.initializeElement(e)&&(this.initializeCoreSystems(r),setTimeout(()=>{this._create()})),pu.register(this)}initializeElement(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement?(this.element=e,!0):typeof e=="string"?(this.element=document.querySelector(e),this.element?!0:(console.error("Tabulator Creation Error - no element found matching selector: ",e),!1)):(console.error("Tabulator Creation Error - Invalid element provided:",e),!1)}initializeCoreSystems(e){this.columnManager=new BP(this),this.rowManager=new jP(this),this.footerManager=new UP(this),this.dataLoader=new qP(this),this.alertManager=new tO(this),this.bindModules(),this.options=this.optionsList.generate(Yd.defaultOptions,e),this._clearObjectPointers(),this._mapDeprecatedFunctionality(),this.externalEvents=new WP(this,this.options,this.options.debugEventsExternal),this.eventBus=new YP(this.options.debugEventsInternal),this.interactionMonitor=new HP(this),this.dataLoader.initialize(),this.footerManager.initialize()}_mapDeprecatedFunctionality(){}_clearSelection(){this.element.classList.add("tabulator-block-select"),window.getSelection?window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().removeAllRanges():document.selection&&document.selection.empty(),this.element.classList.remove("tabulator-block-select")}_create(){this.externalEvents.dispatch("tableBuilding"),this.eventBus.dispatch("table-building"),this._rtlCheck(),this._buildElement(),this._initializeTable(),this._loadInitialData(),this.initialized=!0,this.externalEvents.dispatch("tableBuilt")}_rtlCheck(){var e=window.getComputedStyle(this.element);switch(this.options.textDirection){case"auto":if(e.direction!=="rtl")break;case"rtl":this.element.classList.add("tabulator-rtl"),this.rtl=!0;break;case"ltr":this.element.classList.add("tabulator-ltr");default:this.rtl=!1}}_clearObjectPointers(){this.options.columns=this.options.columns.slice(0),Array.isArray(this.options.data)&&!this.options.reactiveData&&(this.options.data=this.options.data.slice(0))}_buildElement(){var e=this.element,r=this.options,S;if(e.tagName==="TABLE"){this.originalElement=this.element,S=document.createElement("div");var D=e.attributes;for(var T in D)typeof D[T]=="object"&&S.setAttribute(D[T].name,D[T].value);e.parentNode.replaceChild(S,e),this.element=e=S}for(e.classList.add("tabulator"),e.setAttribute("role","grid");e.firstChild;)e.removeChild(e.firstChild);r.height&&(r.height=isNaN(r.height)?r.height:r.height+"px",e.style.height=r.height),r.minHeight!==!1&&(r.minHeight=isNaN(r.minHeight)?r.minHeight:r.minHeight+"px",e.style.minHeight=r.minHeight),r.maxHeight!==!1&&(r.maxHeight=isNaN(r.maxHeight)?r.maxHeight:r.maxHeight+"px",e.style.maxHeight=r.maxHeight)}_initializeTable(){var e=this.element,r=this.options;this.interactionMonitor.initialize(),this.columnManager.initialize(),this.rowManager.initialize(),this._detectBrowser(),this.modulesCore.forEach(S=>{S.initialize()}),e.appendChild(this.columnManager.getElement()),e.appendChild(this.rowManager.getElement()),r.footerElement&&this.footerManager.activate(),r.autoColumns&&r.data&&this.columnManager.generateColumnsFromRowData(this.options.data),this.modulesRegular.forEach(S=>{S.initialize()}),this.columnManager.setColumns(r.columns),this.eventBus.dispatch("table-built")}_loadInitialData(){this.dataLoader.load(this.options.data),this.columnManager.verticalAlignHeaders()}destroy(){var e=this.element;for(this.destroyed=!0,pu.deregister(this),this.eventBus.dispatch("table-destroy"),this.rowManager.destroy();e.firstChild;)e.removeChild(e.firstChild);e.classList.remove("tabulator"),this.externalEvents.dispatch("tableDestroyed")}_detectBrowser(){var e=navigator.userAgent||navigator.vendor||window.opera;e.indexOf("Trident")>-1?(this.browser="ie",this.browserSlow=!0):e.indexOf("Edge")>-1?(this.browser="edge",this.browserSlow=!0):e.indexOf("Firefox")>-1?(this.browser="firefox",this.browserSlow=!1):e.indexOf("Mac OS")>-1?(this.browser="safari",this.browserSlow=!1):(this.browser="other",this.browserSlow=!1),this.browserMobile=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e.slice(0,4))}initGuard(e,r){var S,D;return this.options.debugInitialization&&!this.initialized&&(e||(S=new Error().stack.split(` +`),D=S[0]=="Error"?S[2]:S[1],D[0]==" "?e=D.trim().split(" ")[1].split(".")[1]:e=D.trim().split("@")[0]),console.warn("Table Not Initialized - Calling the "+e+" function before the table is initialized may result in inconsistent behavior, Please wait for the `tableBuilt` event before calling this function."+(r?" "+r:""))),this.initialized}blockRedraw(){this.initGuard(),this.eventBus.dispatch("redraw-blocking"),this.rowManager.blockRedraw(),this.columnManager.blockRedraw(),this.eventBus.dispatch("redraw-blocked")}restoreRedraw(){this.initGuard(),this.eventBus.dispatch("redraw-restoring"),this.rowManager.restoreRedraw(),this.columnManager.restoreRedraw(),this.eventBus.dispatch("redraw-restored")}setData(e,r,S){return this.initGuard(!1,"To set initial data please use the 'data' property in the table constructor."),this.dataLoader.load(e,r,S,!1)}clearData(){this.initGuard(),this.dataLoader.blockActiveLoad(),this.rowManager.clearData()}getData(e){return this.rowManager.getData(e)}getDataCount(e){return this.rowManager.getDataCount(e)}replaceData(e,r,S){return this.initGuard(),this.dataLoader.load(e,r,S,!0,!0)}updateData(e){var r=0;return this.initGuard(),new Promise((S,D)=>{this.dataLoader.blockActiveLoad(),typeof e=="string"&&(e=JSON.parse(e)),e&&e.length>0?e.forEach(T=>{var p=this.rowManager.findRow(T[this.options.index]);p?(r++,p.updateData(T).then(()=>{r--,r||S()}).catch(t=>{D("Update Error - Unable to update row",T,t)})):D("Update Error - Unable to find row",T)}):(console.warn("Update Error - No data provided"),D("Update Error - No data provided"))})}addData(e,r,S){return this.initGuard(),new Promise((D,T)=>{this.dataLoader.blockActiveLoad(),typeof e=="string"&&(e=JSON.parse(e)),e?this.rowManager.addRows(e,r,S).then(p=>{var t=[];p.forEach(function(d){t.push(d.getComponent())}),D(t)}):(console.warn("Update Error - No data provided"),T("Update Error - No data provided"))})}updateOrAddData(e){var r=[],S=0;return this.initGuard(),new Promise((D,T)=>{this.dataLoader.blockActiveLoad(),typeof e=="string"&&(e=JSON.parse(e)),e&&e.length>0?e.forEach(p=>{var t=this.rowManager.findRow(p[this.options.index]);S++,t?t.updateData(p).then(()=>{S--,r.push(t.getComponent()),S||D(r)}):this.rowManager.addRows(p).then(d=>{S--,r.push(d[0].getComponent()),S||D(r)})}):(console.warn("Update Error - No data provided"),T("Update Error - No data provided"))})}getRow(e){var r=this.rowManager.findRow(e);return r?r.getComponent():(console.warn("Find Error - No matching row found:",e),!1)}getRowFromPosition(e){var r=this.rowManager.getRowFromPosition(e);return r?r.getComponent():(console.warn("Find Error - No matching row found:",e),!1)}deleteRow(e){var r=[];this.initGuard(),Array.isArray(e)||(e=[e]);for(let S of e){let D=this.rowManager.findRow(S,!0);if(D)r.push(D);else return console.error("Delete Error - No matching row found:",S),Promise.reject("Delete Error - No matching row found")}return r.sort((S,D)=>this.rowManager.rows.indexOf(S)>this.rowManager.rows.indexOf(D)?1:-1),r.forEach(S=>{S.delete()}),this.rowManager.reRenderInPosition(),Promise.resolve()}addRow(e,r,S){return this.initGuard(),typeof e=="string"&&(e=JSON.parse(e)),this.rowManager.addRows(e,r,S,!0).then(D=>D[0].getComponent())}updateOrAddRow(e,r){var S=this.rowManager.findRow(e);return this.initGuard(),typeof r=="string"&&(r=JSON.parse(r)),S?S.updateData(r).then(()=>S.getComponent()):this.rowManager.addRows(r).then(D=>D[0].getComponent())}updateRow(e,r){var S=this.rowManager.findRow(e);return this.initGuard(),typeof r=="string"&&(r=JSON.parse(r)),S?S.updateData(r).then(()=>Promise.resolve(S.getComponent())):(console.warn("Update Error - No matching row found:",e),Promise.reject("Update Error - No matching row found"))}scrollToRow(e,r,S){var D=this.rowManager.findRow(e);return D?this.rowManager.scrollToRow(D,r,S):(console.warn("Scroll Error - No matching row found:",e),Promise.reject("Scroll Error - No matching row found"))}moveRow(e,r,S){var D=this.rowManager.findRow(e);this.initGuard(),D?D.moveToRow(r,S):console.warn("Move Error - No matching row found:",e)}getRows(e){return this.rowManager.getComponents(e)}getRowPosition(e){var r=this.rowManager.findRow(e);return r?r.getPosition():(console.warn("Position Error - No matching row found:",e),!1)}setColumns(e){this.initGuard(!1,"To set initial columns please use the 'columns' property in the table constructor"),this.columnManager.setColumns(e)}getColumns(e){return this.columnManager.getComponents(e)}getColumn(e){var r=this.columnManager.findColumn(e);return r?r.getComponent():(console.warn("Find Error - No matching column found:",e),!1)}getColumnDefinitions(){return this.columnManager.getDefinitionTree()}showColumn(e){var r=this.columnManager.findColumn(e);if(this.initGuard(),r)r.show();else return console.warn("Column Show Error - No matching column found:",e),!1}hideColumn(e){var r=this.columnManager.findColumn(e);if(this.initGuard(),r)r.hide();else return console.warn("Column Hide Error - No matching column found:",e),!1}toggleColumn(e){var r=this.columnManager.findColumn(e);if(this.initGuard(),r)r.visible?r.hide():r.show();else return console.warn("Column Visibility Toggle Error - No matching column found:",e),!1}addColumn(e,r,S){var D=this.columnManager.findColumn(S);return this.initGuard(),this.columnManager.addColumn(e,r,D).then(T=>T.getComponent())}deleteColumn(e){var r=this.columnManager.findColumn(e);return this.initGuard(),r?r.delete():(console.warn("Column Delete Error - No matching column found:",e),Promise.reject())}updateColumnDefinition(e,r){var S=this.columnManager.findColumn(e);return this.initGuard(),S?S.updateDefinition(r):(console.warn("Column Update Error - No matching column found:",e),Promise.reject())}moveColumn(e,r,S){var D=this.columnManager.findColumn(e),T=this.columnManager.findColumn(r);this.initGuard(),D?T?this.columnManager.moveColumn(D,T,S):console.warn("Move Error - No matching column found:",T):console.warn("Move Error - No matching column found:",e)}scrollToColumn(e,r,S){return new Promise((D,T)=>{var p=this.columnManager.findColumn(e);return p?this.columnManager.scrollToColumn(p,r,S):(console.warn("Scroll Error - No matching column found:",e),Promise.reject("Scroll Error - No matching column found"))})}redraw(e){this.initGuard(),this.columnManager.redraw(e),this.rowManager.redraw(e)}setHeight(e){this.options.height=isNaN(e)?e:e+"px",this.element.style.height=this.options.height,this.rowManager.initializeRenderer(),this.rowManager.redraw(!0)}on(e,r){this.externalEvents.subscribe(e,r)}off(e,r){this.externalEvents.unsubscribe(e,r)}dispatchEvent(){var e=Array.from(arguments);e.shift(),this.externalEvents.dispatch(...arguments)}alert(e,r){this.initGuard(),this.alertManager.alert(e,r)}clearAlert(){this.initGuard(),this.alertManager.clear()}modExists(e,r){return this.modules[e]?!0:(r&&console.error("Tabulator Module Not Installed: "+e),!1)}module(e){var r=this.modules[e];return r||console.error("Tabulator module not installed: "+e),r}}Yd.defaultOptions=DP;new t6(Yd);class n6 extends Yd{}new t6(n6,OP);const nO=ns({name:"TabulatorTable",props:{tableIndexField:{type:String,required:!1,default:()=>"id"},tableData:{type:Object,required:!0},columnDefinitions:{type:Object,required:!0},title:{type:String,required:!1},index:{type:Number,required:!0},selectedRowIndexFromListening:{type:Number,required:!1,default:()=>{}},tableLayoutParam:{type:String,required:!1,default:()=>"fitDataFill"},defaultRow:{type:Number,required:!1,default:()=>-1},initialSort:{type:Array,required:!1,default:()=>{}}},emits:["rowSelected"],setup(){return{streamlitDataStore:Ns()}},data(){return{tabulator:void 0,initialized:0,selectedColumns:[],filterValues:{},persistentFilterState:{},filterTypes:{},columnAnalysis:{},debouncedTimeout:void 0,teleportDialog:!1,teleportBackdrop:null,teleportContainer:null,parentDocument:null}},computed:{id(){return`table-${this.index}`},containerStyles(){return{display:"flex","flex-direction":"column","align-items":"center"}},tableClasses(){var n,e;return{"table-dark":((n=this.streamlitDataStore.theme)==null?void 0:n.base)==="dark","table-light":((e=this.streamlitDataStore.theme)==null?void 0:e.base)==="light","table-striped":!1,"table-bordered":!0,"table-sm":!0}},columnNames(){return this.columnDefinitions.map(n=>({field:n.field||"",title:n.title||n.field||""})).filter(n=>n.field!=="")},activeFilterCount(){let n=0;for(const e of this.selectedColumns){const r=this.filterValues[e];if(!r)continue;const S=this.filterTypes[e];let D=!1;switch(S){case"categorical":D=!!(r.categorical&&r.categorical.length>0);break;case"numeric":if(r.numeric){const T=this.getMinValue(e),p=this.getMaxValue(e);D=r.numeric.min!==T||r.numeric.max!==p}break;case"text":D=!!(r.text&&r.text.trim()!=="");break}D&&n++}return n},preparedTableData(){const n=[...this.columnDefinitions.map(e=>e.field),"id"];if(this.tableData!==void 0&&this.tableData.length>0){const e=[];return this.tableData.forEach((r,S)=>{const D={};n.forEach(T=>{T!==void 0&&(D[T]=r[T])}),this.tableData[0][this.tableIndexField]===void 0?e.push({...D,[this.tableIndexField]:S}):e.push({...D})}),e}return this.tableData}},watch:{tableData(){this.drawTable()},selectedRowIndexFromListening(n){n!==void 0&&this.onSelectedRowListener(n)},selectedColumns:{handler(n){n.forEach(e=>{this.initializeFilterValue(e)})},immediate:!0}},mounted(){this.drawTable(),this.initializeTeleport()},beforeUnmount(){this.cleanupTeleport()},methods:{drawTable(){this.tabulator=new n6(`#${this.id}`,{index:this.tableIndexField,data:this.preparedTableData,minHeight:50,maxHeight:this.title?320:310,responsiveLayout:"collapse",layout:this.tableLayoutParam,selectable:1,columnDefaults:{title:"",hozAlign:"right"},columns:this.columnDefinitions.map(n=>(n.headerTooltip===void 0&&(n.headerTooltip=!0),n)),initialSort:this.initialSort}),this.tabulator.on("tableBuilt",()=>{this.selectedRowIndexFromListening!==void 0?this.onSelectedRowListener(this.selectedRowIndexFromListening):this.selectDefaultRow()})},selectDefaultRow(){var n;if(this.defaultRow>=0){const e=(n=this.tabulator)==null?void 0:n.getRows("active");e&&e.length>0&&this.defaultRow>=0&&this.defaultRow-1?(this.selectedColumns.splice(e,1),this.cleanupFilterForColumn(n)):(this.selectedColumns.push(n),this.$nextTick(()=>{this.initializeFilterValue(n)}))},selectAllColumns(){this.selectedColumns=[...this.columnNames.map(n=>n.field)]},clearColumnSelection(){var n;this.selectedColumns.forEach(e=>{(this.filterValues[e]||this.filterTypes[e]||this.columnAnalysis[e])&&(this.persistentFilterState[e]={filterValue:this.filterValues[e]?{...this.filterValues[e]}:{categorical:void 0,numeric:void 0,text:void 0},filterType:this.filterTypes[e]||"text",columnAnalysis:this.columnAnalysis[e]?{...this.columnAnalysis[e]}:{uniqueValues:[],dataType:"text"}})}),this.selectedColumns=[],this.filterValues={},this.filterTypes={},this.columnAnalysis={},(n=this.tabulator)==null||n.clearFilter(!0)},analyzeColumn(n){if(this.columnAnalysis[n])return this.columnAnalysis[n];const e=this.columnDefinitions.find(g=>g.field===n),r=this.preparedTableData.map(g=>g[n]).filter(g=>g!=null&&g!==""),S=[...new Set(r)],D=e==null?void 0:e.sorter;let T,p,t;if(D==="number"){const g=r.filter(i=>typeof i=="number"||!isNaN(Number(i)));if(g.length>0){const i=g.map(M=>Number(M));p=Math.min(...i),t=Math.max(...i),T=S.length<=10?"categorical":"numeric"}else T="text"}else T=S.length<=50?"categorical":"text";const d={uniqueValues:S.slice(0,100).map(g=>typeof g=="string"||typeof g=="number"?g:String(g)),minValue:p,maxValue:t,dataType:T};return this.columnAnalysis[n]=d,this.filterTypes[n]=T,d},getFilterType(n){return this.filterTypes[n]||this.analyzeColumn(n),this.filterTypes[n]},getUniqueValues(n){return this.analyzeColumn(n).uniqueValues.map(r=>String(r)).sort()},getMinValue(n){return this.analyzeColumn(n).minValue??0},getMaxValue(n){return this.analyzeColumn(n).maxValue??100},getColumnTitle(n){const e=this.columnDefinitions.find(r=>r.field===n);return(e==null?void 0:e.title)||n},initializeFilterValue(n){if(!this.filterValues[n]){let e=!1;if(this.persistentFilterState[n]){const r=this.persistentFilterState[n];this.filterValues[n]={...r.filterValue},this.filterTypes[n]=r.filterType,this.columnAnalysis[n]={...r.columnAnalysis},e=!0}else{const r=this.getFilterType(n),S={};switch(r){case"categorical":S.categorical=[];break;case"numeric":S.numeric={min:this.getMinValue(n),max:this.getMaxValue(n)};break;case"text":S.text="";break}this.filterValues[n]=S}e&&this.$nextTick(()=>{const r=this.filterValues[n];(r.categorical&&r.categorical.length>0||r.numeric&&(r.numeric.min!==this.getMinValue(n)||r.numeric.max!==this.getMaxValue(n))||r.text&&r.text.trim()!=="")&&(this.applyFilters(),this.teleportDialog&&this.refreshTeleportDialog())})}},applyFilters(){this.tabulator&&(this.debouncedTimeout&&clearTimeout(this.debouncedTimeout),this.debouncedTimeout=setTimeout(()=>{this.tabulator&&(this.tabulator.clearFilter(!0),this.selectedColumns.forEach(n=>{var S,D,T,p,t;const e=this.filterValues[n],r=this.filterTypes[n];if(e)switch(r){case"categorical":if((S=e.categorical)!=null&&S.length){const d=this.columnDefinitions.find(M=>M.field===n),i=(d==null?void 0:d.sorter)==="number"?e.categorical.map(M=>{const v=Number(M);return isNaN(v)?M:v}):e.categorical;(D=this.tabulator)==null||D.addFilter(n,"in",i)}break;case"numeric":e.numeric&&((T=this.tabulator)==null||T.addFilter(n,">=",e.numeric.min),(p=this.tabulator)==null||p.addFilter(n,"<=",e.numeric.max));break;case"text":e.text&&((t=this.tabulator)==null||t.addFilter(n,"regex",e.text));break}}))},300))},updateNumericFilter(n,e){this.filterValues[n]||(this.filterValues[n]={}),this.filterValues[n].numeric={min:e[0],max:e[1]},this.applyFilters()},updateNumericFilterMin(n,e){var S;this.filterValues[n]||(this.filterValues[n]={}),this.filterValues[n].numeric||(this.filterValues[n].numeric={min:this.getMinValue(n),max:this.getMaxValue(n)});const r=e===""?this.getMinValue(n):Number(e);!isNaN(r)&&((S=this.filterValues[n])!=null&&S.numeric)&&(this.filterValues[n].numeric.min=r)},updateNumericFilterMax(n,e){var S;this.filterValues[n]||(this.filterValues[n]={}),this.filterValues[n].numeric||(this.filterValues[n].numeric={min:this.getMinValue(n),max:this.getMaxValue(n)});const r=e===""?this.getMaxValue(n):Number(e);!isNaN(r)&&((S=this.filterValues[n])!=null&&S.numeric)&&(this.filterValues[n].numeric.max=r)},validateAndApplyNumericFilter(n){var D;const e=(D=this.filterValues[n])==null?void 0:D.numeric;if(!e)return;const r=this.getMinValue(n),S=this.getMaxValue(n);if(e.min>e.max){const T=e.min;e.min=e.max,e.max=T}e.min=Math.max(e.min,r),e.max=Math.min(e.max,S),e.min>e.max&&(e.min=r,e.max=S),this.applyFilters()},cleanupFilterForColumn(n){(this.filterValues[n]||this.filterTypes[n]||this.columnAnalysis[n])&&(this.persistentFilterState[n]={filterValue:this.filterValues[n]?{...this.filterValues[n]}:{categorical:void 0,numeric:void 0,text:void 0},filterType:this.filterTypes[n]||"text",columnAnalysis:this.columnAnalysis[n]?{...this.columnAnalysis[n]}:{uniqueValues:[],dataType:"text"}}),this.filterValues[n]&&delete this.filterValues[n],this.filterTypes[n]&&delete this.filterTypes[n],this.columnAnalysis[n]&&delete this.columnAnalysis[n],this.applyFilters()},canUseTeleport(){try{return window.parent&&window.parent.document&&window.parent!==window}catch{return!1}},initializeTeleport(){this.canUseTeleport()&&(this.parentDocument=window.parent.document)},openTeleportDialog(){!this.parentDocument||this.teleportDialog||(this.teleportDialog=!0,this.createTeleportBackdrop(),this.createTeleportContainer(),this.renderFilterDialog())},createTeleportBackdrop(){this.parentDocument&&(this.teleportBackdrop=this.parentDocument.createElement("div"),this.teleportBackdrop.style.cssText=` + position: fixed; + top: 0; + left: 0; + width: 100vw; + height: 100vh; + background-color: rgba(0, 0, 0, 0.5); + z-index: 9999; + display: flex; + align-items: center; + justify-content: center; + `,this.teleportBackdrop.addEventListener("click",n=>{n.target===this.teleportBackdrop&&this.closeTeleportDialog()}),this.parentDocument.body.appendChild(this.teleportBackdrop))},createTeleportContainer(){!this.parentDocument||!this.teleportBackdrop||(this.teleportContainer=this.parentDocument.createElement("div"),this.teleportContainer.style.cssText=` + background: white; + border-radius: 8px; + max-width: 90vw; + max-height: 90vh; + width: 800px; + box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2); + display: flex; + flex-direction: column; + overflow: hidden; + `,this.teleportBackdrop.appendChild(this.teleportContainer))},renderFilterDialog(){if(!this.teleportContainer||!this.parentDocument)return;const n=this.parentDocument.createElement("div");n.style.cssText=` + display: flex; + justify-content: space-between; + align-items: center; + padding: 16px 24px; + border-bottom: 1px solid #e0e0e0; + background: white; + `;const e=this.parentDocument.createElement("span");e.textContent="Filter Options",e.style.cssText="font-size: 20px; font-weight: 500; color: #333;";const r=this.parentDocument.createElement("button");r.innerHTML="×",r.style.cssText=` + background: none; + border: none; + font-size: 24px; + cursor: pointer; + color: #666; + padding: 4px 8px; + border-radius: 4px; + `,r.addEventListener("click",()=>this.closeTeleportDialog()),r.addEventListener("mouseenter",()=>{r.style.backgroundColor="#f5f5f5"}),r.addEventListener("mouseleave",()=>{r.style.backgroundColor="transparent"}),n.appendChild(e),n.appendChild(r);const S=this.parentDocument.createElement("div");S.style.cssText=` + padding: 24px; + overflow-y: auto; + flex: 1; + min-height: 0; + `,this.renderColumnSelection(S),this.renderFilterControls(S);const D=this.parentDocument.createElement("div");D.style.cssText=` + padding: 16px 24px; + border-top: 1px solid #e0e0e0; + display: flex; + justify-content: flex-end; + background: white; + `;const T=this.parentDocument.createElement("button");T.textContent="Close",T.style.cssText=` + background: #1976d2; + color: white; + border: none; + padding: 8px 16px; + border-radius: 4px; + cursor: pointer; + font-size: 14px; + `,T.addEventListener("click",()=>this.closeTeleportDialog()),T.addEventListener("mouseenter",()=>{T.style.backgroundColor="#1565c0"}),T.addEventListener("mouseleave",()=>{T.style.backgroundColor="#1976d2"}),D.appendChild(T),this.teleportContainer.appendChild(n),this.teleportContainer.appendChild(S),this.teleportContainer.appendChild(D)},renderColumnSelection(n){if(!this.parentDocument)return;const e=this.parentDocument.createElement("div");e.style.cssText=` + background-color: white; + border-radius: 4px; + border: 1px solid #e0e0e0; + padding: 16px; + margin-bottom: 24px; + `;const r=this.parentDocument.createElement("h6");r.textContent="Select Columns:",r.style.cssText="color: #333; margin: 0 0 12px 0; font-size: 16px; font-weight: 500;";const S=this.parentDocument.createElement("div");S.style.cssText="display: flex; flex-wrap: wrap; gap: 8px;",this.columnNames.forEach(t=>{if(!this.parentDocument)return;const d=this.parentDocument.createElement("div"),g=this.selectedColumns.includes(t.field);d.textContent=t.title,d.style.cssText=` + padding: 6px 12px; + border-radius: 16px; + font-size: 14px; + cursor: pointer; + user-select: none; + transition: all 0.2s; + ${g?"background: #1976d2; color: white; border: 1px solid #1976d2;":"background: white; color: #333; border: 1px solid #e0e0e0;"} + `,d.addEventListener("click",()=>{this.toggleColumnSelection(t.field),this.refreshTeleportDialog()}),d.addEventListener("mouseenter",()=>{g||(d.style.backgroundColor="#f5f5f5")}),d.addEventListener("mouseleave",()=>{g||(d.style.backgroundColor="white")}),S.appendChild(d)});const D=this.parentDocument.createElement("div");D.style.cssText=` + margin-top: 16px; + padding-top: 16px; + border-top: 1px solid #e0e0e0; + display: flex; + justify-content: space-between; + align-items: center; + `;const T=this.parentDocument.createElement("span");T.textContent=`${this.selectedColumns.length} of ${this.columnNames.length} columns selected`,T.style.cssText="color: #666; font-size: 14px;";const p=this.parentDocument.createElement("div");try{const t=this.createActionButton("Select All",()=>{this.selectAllColumns(),this.refreshTeleportDialog()}),d=this.createActionButton("Clear All",()=>{this.clearColumnSelection(),this.refreshTeleportDialog()});p.appendChild(t),p.appendChild(d)}catch(t){console.error("Failed to create action buttons:",t)}D.appendChild(T),D.appendChild(p),e.appendChild(r),e.appendChild(S),e.appendChild(D),n.appendChild(e)},createActionButton(n,e){if(!this.parentDocument)throw new Error("Parent document not available");const r=this.parentDocument.createElement("button");return r.textContent=n,r.style.cssText=` + background: white; + color: #1976d2; + border: 1px solid #1976d2; + padding: 6px 12px; + border-radius: 4px; + cursor: pointer; + font-size: 14px; + margin-left: 8px; + `,r.addEventListener("click",e),r.addEventListener("mouseenter",()=>{r.style.backgroundColor="#f5f5f5"}),r.addEventListener("mouseleave",()=>{r.style.backgroundColor="white"}),r},renderFilterControls(n){if(this.selectedColumns.length===0||!this.parentDocument)return;const e=this.parentDocument.createElement("div"),r=this.parentDocument.createElement("h6");r.textContent="Filter Settings:",r.style.cssText="color: #333; margin: 0 0 16px 0; font-size: 16px; font-weight: 500;";const S=this.parentDocument.createElement("div");S.style.cssText=` + display: flex; + flex-direction: column; + gap: 16px; + background-color: #f9f9f9; + border-radius: 4px; + padding: 16px; + `,this.columnNames.forEach(D=>{if(this.selectedColumns.includes(D.field)){const T=this.createFilterItem(D.field);S.appendChild(T)}}),e.appendChild(r),e.appendChild(S),n.appendChild(e)},createFilterItem(n){if(!this.parentDocument)throw new Error("Parent document not available");const e=this.parentDocument.createElement("div");e.style.cssText="display: flex; flex-direction: column; gap: 8px; padding: 12px; background-color: white; border-radius: 4px; border: 1px solid #e0e0e0;";const r=this.parentDocument.createElement("label");r.style.cssText="font-weight: 500; font-size: 14px; color: #555;";const S=this.getColumnTitle(n),D=this.getFilterType(n);r.innerHTML=`${S} (${D})`,e.appendChild(r);const T=this.getFilterType(n);if(T==="categorical"){const p=this.createCategoricalFilter(n);e.appendChild(p)}else if(T==="numeric"){const p=this.createNumericFilter(n);e.appendChild(p)}else{const p=this.createTextFilter(n);e.appendChild(p)}return e},createCategoricalFilter(n){var T;if(!this.parentDocument)throw new Error("Parent document not available");const e=this.parentDocument.createElement("div"),r=this.parentDocument.createElement("select");r.multiple=!0,r.style.cssText=` + width: 100%; + padding: 8px; + border: 1px solid #ddd; + border-radius: 4px; + font-size: 14px; + min-height: 80px; + `;const S=this.getUniqueValues(n),D=((T=this.filterValues[n])==null?void 0:T.categorical)||[];return S.forEach(p=>{if(!this.parentDocument)return;const t=this.parentDocument.createElement("option");t.value=p,t.textContent=p,t.selected=D.includes(p),r.appendChild(t)}),r.addEventListener("change",()=>{const p=Array.from(r.selectedOptions).map(t=>t.value);this.filterValues[n]||(this.filterValues[n]={}),this.filterValues[n].categorical=p,this.applyFilters()}),e.appendChild(r),e},createNumericFilter(n){var h;if(!this.parentDocument)throw new Error("Parent document not available");const e=this.parentDocument.createElement("div");e.style.cssText="padding: 8px 0;";const r=Math.floor(this.getMinValue(n)),S=Math.ceil(this.getMaxValue(n)),D=(h=this.filterValues[n])==null?void 0:h.numeric,p=S-r>1?1:.01,t=this.parentDocument.createElement("div");t.style.cssText="display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 14px; color: #333;";const d=this.parentDocument.createElement("span");d.textContent=String((D==null?void 0:D.min)||r),d.style.cssText="font-weight: 500; padding: 4px 8px; background: #f0f0f0; border-radius: 4px;";const g=this.parentDocument.createElement("span");g.textContent=String((D==null?void 0:D.max)||S),g.style.cssText="font-weight: 500; padding: 4px 8px; background: #f0f0f0; border-radius: 4px;",t.appendChild(d),t.appendChild(g);const i=this.parentDocument.createElement("div");i.style.cssText="position: relative; margin: 16px 0;";const M=this.parentDocument.createElement("div");M.style.cssText=` + position: absolute; + width: 100%; + height: 6px; + background: #ddd; + border-radius: 3px; + top: 50%; + transform: translateY(-50%); + `;const v=this.parentDocument.createElement("div");v.style.cssText=` + position: absolute; + height: 6px; + background: #1976d2; + border-radius: 3px; + top: 50%; + transform: translateY(-50%); + `;const f=this.parentDocument.createElement("input");f.type="range",f.min=String(r),f.max=String(S),f.step=String(p),f.value=String((D==null?void 0:D.min)||r),f.style.cssText=` + position: absolute; + width: 100%; + height: 6px; + background: transparent; + outline: none; + -webkit-appearance: none; + pointer-events: none; + `;const l=this.parentDocument.createElement("input");l.type="range",l.min=String(r),l.max=String(S),l.step=String(p),l.value=String((D==null?void 0:D.max)||S),l.style.cssText=` + position: absolute; + width: 100%; + height: 6px; + background: transparent; + outline: none; + -webkit-appearance: none; + pointer-events: none; + `;const a=this.parentDocument.createElement("style");a.textContent=` + input[type="range"]::-webkit-slider-thumb { + -webkit-appearance: none; + appearance: none; + height: 18px; + width: 18px; + border-radius: 50%; + background: #1976d2; + cursor: pointer; + pointer-events: all; + box-shadow: 0 2px 4px rgba(0,0,0,0.2); + } + input[type="range"]::-moz-range-thumb { + height: 18px; + width: 18px; + border-radius: 50%; + background: #1976d2; + cursor: pointer; + pointer-events: all; + border: none; + box-shadow: 0 2px 4px rgba(0,0,0,0.2); + } + `,this.parentDocument.head.appendChild(a);const u=()=>{const c=parseFloat(f.value),m=parseFloat(l.value),w=S-r,y=(c-r)/w*100,C=(m-r)/w*100;v.style.left=y+"%",v.style.width=C-y+"%"},o=()=>{const c=parseFloat(f.value),m=parseFloat(l.value);c>m&&(f.value=String(m)),mData range: ${r} - ${S}Step: ${p}`,e.appendChild(t),e.appendChild(i),e.appendChild(s),e},createTextFilter(n){var r;if(!this.parentDocument)throw new Error("Parent document not available");const e=this.parentDocument.createElement("input");return e.type="text",e.placeholder="Search pattern (regex supported)",e.value=((r=this.filterValues[n])==null?void 0:r.text)||"",e.style.cssText=` + width: 100%; + padding: 8px; + border: 1px solid #ddd; + border-radius: 4px; + font-size: 14px; + `,e.addEventListener("input",()=>{this.filterValues[n]||(this.filterValues[n]={}),this.filterValues[n].text=e.value,this.applyFilters()}),e},refreshTeleportDialog(){!this.teleportDialog||!this.teleportContainer||(this.teleportContainer.innerHTML="",this.renderFilterDialog())},closeTeleportDialog(){this.teleportDialog=!1,this.cleanupTeleport()},cleanupTeleport(){this.teleportBackdrop&&this.parentDocument&&(this.parentDocument.body.removeChild(this.teleportBackdrop),this.teleportBackdrop=null),this.teleportContainer&&(this.teleportContainer=null)}}});const rO={style:{padding:"8px",width:"98%"}},iO={class:"d-flex"},aO={style:{width:"100%",display:"grid","grid-template-columns":"1fr 1fr 1fr"}},oO={class:"d-flex justify-start",style:{"grid-column":"1 / span 1"}},sO={style:{position:"relative",display:"inline-block"}},lO={key:0,class:"filter-badge"},uO={class:"d-flex justify-center",style:{"grid-column":"2 / span 1"}},cO={class:"d-flex justify-end",style:{"grid-column":"3 / span 1"}},hO=["id"];function fO(n,e,r,S,D,T){const p=Gr("v-btn");return Ir(),ei("div",rO,[ti("div",iO,[ti("div",aO,[ti("div",oO,[ti("div",sO,[gt(p,{variant:"text",size:"small",icon:"mdi-filter",onClick:n.openFilterDialog},null,8,["onClick"]),n.activeFilterCount>0?(Ir(),ei("div",lO,io(n.activeFilterCount),1)):Yi("",!0)]),gt(p,{variant:"text",size:"small",icon:"mdi-download",onClick:n.downloadTable},null,8,["onClick"]),nb(n.$slots,"start-title-row")]),ti("div",uO,[ti("h4",null,[nb(n.$slots,"default",{},()=>[ia(io(n.title??""),1)])])]),ti("div",cO,[nb(n.$slots,"end-title-row")])])]),ti("div",{id:n.id,class:Ju(n.tableClasses),onClick:e[0]||(e[0]=(...t)=>n.onTableClick&&n.onTableClick(...t))},null,10,hO)])}const y0=hs(nO,[["render",fO]]),Df=n=>e=>e.getValue().toString().length>4?e.getValue().toFixed(n??4):e.getValue(),dO=ns({name:"TabulatorScanTable",components:{TabulatorTable:y0},props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Ns(),e=rc();return{streamlitDataStore:n,selectionStore:e}},data(){return{columnDefinitions:[{title:"Index",field:"id",sorter:"number",headerTooltip:"The sequential index of the spectrum in the dataset."},{title:"Scan Number",field:"Scan",sorter:"number",headerTooltip:"The identifier of the mass spectrometry scan."},{title:"MS Level",field:"MSLevel",sorter:"number",headerTooltip:"The level of mass spectrometry analysis (e.g., MS1 or MS2)."},{title:"Retention time",field:"RT",formatter:Df(),sorter:"number",headerTooltip:"The time at which the spectrum was detected during the chromatographic separation in seconds."},{title:"Precursor Mass",field:"PrecursorMass",formatter:Df(),sorter:"number",headerTooltip:"The mass of the precursor ion selected for fragmentation in Daltons."},{title:"#Masses",field:"#Masses",sorter:"number",headerTooltip:"The number of detected masses in the spectrum."}]}},computed:{tableData(){const n=this.streamlitDataStore.allDataForDrawing.per_scan_data;return n.forEach(e=>e.id=e.index),n},selectedRow(){return this.selectionStore.selectedScanIndex}},methods:{updateSelectedScan(n){n!==void 0&&(n!==this.selectionStore.selectedScanIndex&&this.selectionStore.updateSelectedMass(0),this.selectionStore.updateSelectedScan(n))}}});function pO(n,e,r,S,D,T){const p=Gr("TabulatorTable");return Ir(),za(p,{"table-data":n.tableData,"column-definitions":n.columnDefinitions,title:"Scan Table",index:n.index,"table-layout-param":"fitColumns",onRowSelected:n.updateSelectedScan,"selected-row-index-from-listening":n.selectedRow,"default-row":0},null,8,["table-data","column-definitions","index","onRowSelected","selected-row-index-from-listening"])}const mO=hs(dO,[["render",pO]]),gO={xPosScalingFactor:27.5,xPosScalingThreshold:30,enableManualZoom:!0,showChargeLabels:!0,minAnnotationWidth:2},y5={highlightColor:"#E4572E",selectedColor:"#F3A712",unhighlightedColor:"lightblue",highlightHiddenColor:"1f77b4",annotationColors:{massButton:"#E4572E",selectedMassButton:"#F3A712",sequenceArrow:"#E4572E",selectedSequenceArrow:"#F3A712",background:"#f0f0f0",buttonHover:"#e0e0e0"}},vO=ns({name:"PlotlyLineplotUnified",props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Ns(),e=rc();return{streamlitDataStore:n,selectionStore:e}},data(){return{manual:!1,manual_xRange:void 0,isInitialized:!1,annotationsVisible:!0,deconvolvedPeaksHighlightMode:!1,localTitle:""}},computed:{id(){return`graph-${this.index}`},isDataReady(){var n;try{const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!e||!Array.isArray(e)||e.length===0)return!1;const r=this.selectedScan;if(r===void 0||r>=e.length)return!1;const S=e[r];if(!S||typeof S!="object")return!1;const D=this.xColumn,T=this.yColumn;if(!D||!T)return!1;const p=S[D],t=S[T];return!(!Array.isArray(p)||!Array.isArray(t)||p.length===0||t.length===0)}catch(e){return this.handleError(e,"isDataReady-computation"),!1}},theme(){return this.streamlitDataStore.theme},isTnTMode(){return this.selectionStore.selectedTag!==void 0},isAnnotatedSpectraMode(){return this.xAxisLabel==="m/z"},config(){return{...gO,...this.args.config}},styling(){var n;return{...y5,...this.args.styling,annotationColors:{...y5.annotationColors,...(n=this.args.styling)==null?void 0:n.annotationColors}}},selectedScan(){var n;try{const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;return!e||e.length===0?void 0:0}catch(e){this.handleError(e,"selectedScan-computation");return}},selectedTag(){return this.isTnTMode?this.selectionStore.selectedTagIndex:void 0},selectedAA(){var n;return this.isTnTMode?(n=this.selectionStore.selectedTag)==null?void 0:n.selectedAA:void 0},currentTitle(){return this.localTitle||this.args.title},xAxisLabel(){switch(this.currentTitle){case"Annotated Spectrum":case"Augmented Annotated Spectrum":return"m/z";case"Deconvolved Spectrum":case"Augmented Deconvolved Spectrum":return"Monoisotopic Mass";default:return""}},yAxisLabel(){return"Intensity"},xColumn(){switch(this.currentTitle){case"Annotated Spectrum":case"Augmented Annotated Spectrum":return"MonoMass_Anno";case"Deconvolved Spectrum":case"Augmented Deconvolved Spectrum":return"MonoMass";default:return""}},yColumn(){switch(this.currentTitle){case"Annotated Spectrum":case"Augmented Annotated Spectrum":return"SumIntensity_Anno";case"Deconvolved Spectrum":case"Augmented Deconvolved Spectrum":return"SumIntensity";default:return""}},xValues(){var n;try{const e=[],r=this.selectedScan;if(r===void 0)return e;const S=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!S||r>=S.length)return e;const D=S[r];if(!D)return e;const T=D[this.xColumn];return!T||!Array.isArray(T)||T.forEach(p=>{typeof p=="number"&&!isNaN(p)&&e.push(p,p,p)}),e}catch(e){return this.handleError(e,"xValues-computation"),[]}},yValues(){var n;try{const e=[],r=this.selectedScan;if(r===void 0)return e;const S=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!S||r>=S.length)return e;const D=S[r];if(!D)return e;const T=D[this.yColumn];return!T||!Array.isArray(T)||T.forEach(p=>{typeof p=="number"&&!isNaN(p)&&e.push(-1e7,p,-1e7)}),e}catch(e){return this.handleError(e,"yValues-computation"),[]}},MassValues(){var n;try{if(this.selectedScan===void 0)return[];const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!e||this.selectedScan>=e.length)return[];const r=e[this.selectedScan],S=r==null?void 0:r.MonoMass;return Array.isArray(S)?S:[]}catch(e){return this.handleError(e,"xMassValues-computation"),[]}},MZValues(){var n;try{if(this.selectedScan===void 0)return[];const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!e||this.selectedScan>=e.length)return[];const r=e[this.selectedScan],S=r==null?void 0:r.MonoMass_Anno;return Array.isArray(S)?S:[]}catch(e){return this.handleError(e,"xMassValues-computation"),[]}},mzSignals(){var n;try{if(this.selectedScan===void 0)return[];const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!e||this.selectedScan>=e.length)return[];const r=e[this.selectedScan],S=r==null?void 0:r.SignalPeaks;return Array.isArray(S)?S:[]}catch(e){return this.handleError(e,"mzSignals-computation"),[]}},minCharge(){var n;try{if(this.selectedScan===void 0)return-10;const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!e||this.selectedScan>=e.length)return-10;const r=e[this.selectedScan],S=r==null?void 0:r.MinCharges;return!Array.isArray(S)||S.length===0?-10:Math.min(...S)}catch(e){return this.handleError(e,"minCharge-computation"),-10}},maxCharge(){var n;try{if(this.selectedScan===void 0)return-10;const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!e||this.selectedScan>=e.length)return-10;const r=e[this.selectedScan],S=r==null?void 0:r.MinCharges;return!Array.isArray(S)||S.length===0?-10:Math.max(...S)}catch(e){return this.handleError(e,"maxCharge-computation"),-10}},showBackButton(){return this.isTnTMode&&this.currentTitle==="Augmented Annotated Spectrum"},shouldHighlightMassIndex(){return this.currentTitle==="Deconvolved Spectrum"&&this.selectionStore.selectedMassIndex!==void 0},highlightedValues(){var n,e;try{const r=this.MassValues,S=this.mzSignals;if(r.length===0)return[];let D=[];const T=new Set;let p=[];((n=this.selectionStore.selectedTag)==null?void 0:n.masses)!==void 0&&(p=(e=this.selectionStore.selectedTag)==null?void 0:e.masses);let t=[];p.forEach((d,g)=>{for(let i=0;i=0&&this.selectionStore.selectedMassIndex=r.length)continue;if(T.add(g),S.length===0){D.push({mass:this.MassValues[g],mzs:[],charges:[],intensity:[]});continue}const i=r[g];let M=[],v=[],f=[];const l=S[g];if(Array.isArray(l))for(let a=0;a=4&&(M.push(u[1]),f.push(u[2]),v.push(u[3]))}D.push({mass:i,mzs:M,charges:v,intensity:f})}if(this.deconvolvedPeaksHighlightMode)for(let d=0;d=4&&(i.push(a[1]),v.push(a[2]),M.push(a[3]))}D.push({mass:g,mzs:i,charges:M,intensity:v})}return D}catch(r){return this.handleError(r,"highlightedValues-computation"),[]}},highlightedMassPos(){var n,e;try{const r=this.highlightedValues;if(r.length===0||!Array.isArray(this.MassValues))return new Array(((n=this.MassValues)==null?void 0:n.length)||0).fill(!1);const S=new Set(r.map(D=>D.mass));return this.MassValues.map(D=>S.has(D))}catch(r){return this.handleError(r,"booleanMassHighlightMask-computation"),new Array(((e=this.MassValues)==null?void 0:e.length)||0).fill(!1)}},highlightedMzPos(){var n,e;try{const r=this.highlightedValues;if(r.length===0||!Array.isArray(this.MZValues))return new Array(((n=this.MZValues)==null?void 0:n.length)||0).fill(!1);const S=new Set(r.flatMap(D=>D.mzs));return this.MZValues.map(D=>S.has(D))}catch(r){return this.handleError(r,"booleanHighlightMask-computation"),new Array(((e=this.MZValues)==null?void 0:e.length)||0).fill(!1)}},plotData(){var p,t;let n=[],e=[],r=[],S=[],D=[],T=[];for(let d=0;dArray.isArray(g.mzs)?g.mzs:[]).filter(g=>Number.isFinite(g)):r=e.map(g=>g.mass).filter(g=>!isNaN(g)),r.length===0)return[0,1];let S=Math.min(...r)*.98,D=Math.max(...r)*1.02;if(this.xAxisLabel==="m/z")return[S,D];let T=r.reduce((g,i)=>g+i,0)/r.length,p=.5*.9*this.maxAnnotationRange,t=[T-p,T+p];return this.calculateOptimalXRange(t)}catch(n){return this.handleError(n,"xRange-computation"),[0,1]}},yRange(){try{return this.computeYRange(this.xRange)}catch(n){return this.handleError(n,"yRange-computation"),[0,1]}},annotationData(){var n,e,r,S;try{if(!this.annotationsVisible)return{shapes:[],annotations:[],traces:[]};let D=[],T=[];((n=this.selectionStore.selectedTag)==null?void 0:n.masses)!==void 0&&(T=(e=this.selectionStore.selectedTag)==null?void 0:e.masses);let p=[];T.forEach((k,E)=>{for(let x=0;x=0&&this.selectionStore.selectedMassIndex=t.length)continue;if(d.length===0){D.push({mass:this.MassValues[E],mzs:[],charges:[],intensity:[]});continue}const x=t[E];let A=[],L=[],b=[];const R=d[E];if(Array.isArray(R))for(let I=0;I=4&&(A.push(O[1]),b.push(O[2]),L.push(O[3]))}D.push({mass:x,mzs:A,charges:L,intensity:b})}const g=D;if(g.length===0)return{shapes:[],annotations:[],traces:[]};const i=this.getAnnotationPositioning;if(!i)return{shapes:[],annotations:[],traces:[]};const{ypos_low:M,ypos:v,ypos_high:f,xpos_scaling:l}=i;let a=[],u=[],o=[];if(this.xAxisLabel==="m/z"){if(this.selectionStore.selectedMassIndex===void 0)return{shapes:[],annotations:[],traces:[]};if(this.selectionStore.selectedMassIndex>=this.MassValues.length)return{shapes:[],annotations:[],traces:[]};let k=this.styling.annotationColors.massButton;const E=g[0],{mzs:x,charges:A,intensity:L}=E;if(!x||x.length===0)return{shapes:[],annotations:[],traces:[]};const b=new Map;for(let z=0;zz.type==="charge"&&z.visible);let O=0;return b.forEach((z,F)=>{const B=z.reduce(($,U)=>$+U.intensity,0),W=z.map($=>$.intensity/B*$.mz).reduce(($,U)=>$+U,0);I.some($=>$.index===O)&&(u.push({type:"rect",x0:W-.5*l,y0:M,x1:W+.5*l,y1:f,fillcolor:k,line:{width:0}}),o.push({x:W,y:v,xref:"x",yref:"y",text:"z="+F,showarrow:!1,font:{size:15}})),O++}),{shapes:u,annotations:o,traces:a}}let s=[];const h=(r=this.selectionStore.selectedTag)==null?void 0:r.selectedAA,m=this.annotationBoxData.filter(k=>k.type==="mass"&&k.visible),w=g.length===1?2:1;for(let k=0;kL.index===k)){let L=this.styling.annotationColors.massButton,b="sans-serif";(h===k||h===k-1)&&(L=this.styling.annotationColors.selectedMassButton,b="Arial Black, Arial Bold, Arial, sans-serif"),a.push({x:[x],y:[v],mode:"markers",marker:{size:20,opacity:0},hoverinfo:"text",hovertext:String(x.toFixed(2)),type:"scatter"}),u.push({type:"rect",x0:x-w*l,y0:M,x1:x+w*l,y1:f,fillcolor:L,line:{width:0}}),o.push({x,y:v,xref:"x",yref:"y",text:x.toFixed(2),showarrow:!1,font:{size:15,family:b}})}}const y=v*.5,C=v*.6,_=(S=this.selectionStore.selectedTag)==null?void 0:S.sequence;for(let k=0;kb.index===k),L=m.some(b=>b.index===k+1);if(A&&L){let b=this.styling.annotationColors.sequenceArrow,R="sans-serif";h===k&&(b=this.styling.annotationColors.selectedSequenceArrow,R="Arial Black, Arial Bold, Arial, sans-serif");let I=E.mass,O=x.mass;const z=(I+O)/2;let F=z,B=z;const N=Math.abs(I-O)*.9;let W="",j=0;if(_!==void 0&&_.length>0){const $=_.length-1-k;$>=0&&$<_.length&&(W=_[$])}I>O?(j=I-O,I-=N,F+=N*.1,O+=N,B-=N*.1):(j=O-I,I+=N,F-=N*.1,O-=N,B+=N*.1),s.push({ax:F,ay:y,xref:"x",yref:"y",x:I,y,axref:"x",ayref:"y",showarrow:!0,arrowhead:0,arrowsize:1,arrowwidth:2,arrowcolor:b}),s.push({ax:B,ay:y,xref:"x",yref:"y",x:O,y,axref:"x",ayref:"y",showarrow:!0,arrowhead:2,arrowsize:1,arrowwidth:2,arrowcolor:b}),s.push({x:z,y:C,xref:"x",yref:"y",text:W,hovertext:"Δ="+j.toFixed(2)+" Da",showarrow:!1,font:{size:15,color:b,family:R}})}}return{shapes:u,annotations:[...o,...s],traces:a}}catch(D){return this.handleError(D,"annotationData-computation"),{shapes:[],annotations:[],traces:[]}}},data(){let n=[];if(!this.annotationsVisible&&!this.deconvolvedPeaksHighlightMode)return n.push({x:this.xValues,y:this.yValues,mode:"lines",type:"scatter",connectgaps:!1,marker:{color:this.styling.highlightHiddenColor}}),n;if(n.push({x:this.plotData.unhighlighted_x,y:this.plotData.unhighlighted_y,mode:"lines",type:"scatter",marker:{color:this.styling.unhighlightedColor}}),n.push({x:this.plotData.highlighted_x,y:this.plotData.highlighted_y,mode:"lines",type:"scatter",marker:{color:this.styling.highlightColor}}),n.push({x:this.plotData.selected_x,y:this.plotData.selected_y,mode:"lines",type:"scatter",marker:{color:this.styling.selectedColor}}),this.annotationsVisible){const e=this.annotationData.traces;n.push(...e)}return n},layout(){var e,r,S,D,T;const n={title:`${this.currentTitle}`,showlegend:!1,height:400,xaxis:{title:this.xAxisLabel,showgrid:!1,showline:!0,linecolor:"grey",linewidth:1},yaxis:{title:this.yAxisLabel,showgrid:!0,gridcolor:(e=this.theme)==null?void 0:e.secondaryBackgroundColor,rangemode:"nonnegative",fixedrange:!1,showline:!0,linecolor:"grey",linewidth:1},paper_bgcolor:(r=this.theme)==null?void 0:r.backgroundColor,plot_bgcolor:(S=this.theme)==null?void 0:S.backgroundColor,font:{color:(D=this.theme)==null?void 0:D.textColor,family:(T=this.theme)==null?void 0:T.font}};return n.xaxis.range=this.xRange,n.yaxis.range=this.yRange,n.shapes=this.annotationData.shapes,n.annotations=this.annotationData.annotations,n},cssCustomProperties(){return{"--highlight-color":this.styling.highlightColor,"--selected-color":this.styling.selectedColor,"--unhighlighted-color":this.styling.unhighlightedColor,"--annotation-background":this.styling.annotationColors.background,"--button-hover-color":this.styling.annotationColors.buttonHover}}},watch:{isDataReady:{handler(n){n&&this.safeGraph()},immediate:!0},"streamlitDataStore.allDataForDrawing.per_scan_data":{handler(){this.safeGraph()},deep:!0},selectedScan(){this.resetManualState(),this.safeGraph()},xValues(){this.safeGraph()},selectedTag(){this.resetManualState(),this.safeGraph()},annotationsVisible(){this.safeGraph()},deconvolvedPeaksHighlightMode(){this.safeGraph()},"selectionStore.selectedMassIndex"(){this.manual=!1,this.safeGraph()}},mounted(){this.initializeComponent()},methods:{computeAnnotationBoxes(n,e){try{const r=this.highlightedValues;if(r.length===0)return[];if(e.length<2||e[1]<=0||n.length<2)return[];const S=e[1]/1.8,D=S*1.18,T=S*1.32,p=(n[1]-n[0])/this.xPosScalingFactor,t=Math.max(p,this.minAnnotationWidth),d=[];if(this.xAxisLabel==="m/z"){if(this.selectionStore.selectedMassIndex===void 0||this.selectionStore.selectedMassIndex>=this.MassValues.length)return d;const g=r[0],{mzs:i,charges:M,intensity:v}=g;if(!i||i.length===0)return d;const f=new Map;for(let a=0;a{const o=a.reduce((c,m)=>c+m.intensity,0),h=a.map(c=>c.intensity/o*c.mz).reduce((c,m)=>c+m,0);d.push({x:h,y:(D+T)/2,width:t,height:T-D,type:"charge",index:l++,visible:!0})})}else{const g=r.length===1?2:1;for(let i=0;i1){let g=!1;for(let i=0;i{i.visible=!1})}return d}catch(r){return this.handleError(r,"computeAnnotationBoxes"),[]}},wouldAnnotationsBeVisible(n){try{const e=this.computeYRange(n);return this.computeAnnotationBoxes(n,e).some(S=>S.visible)}catch(e){return this.handleError(e,"wouldAnnotationsBeVisible"),!0}},calculateOptimalXRange(n){try{let S=[...n];for(let D=0;D<10;D++){if(this.wouldAnnotationsBeVisible(S))return S;const T=(S[0]+S[1])/2,t=(S[1]-S[0])/2*.8;if(S=[T-t,T+t],S[1]-S[0]<.1)break}return S}catch(e){return this.handleError(e,"calculateOptimalXRange"),n}},dataToScreenX(n){try{const e=this.xRange;if(e.length!==2||e[1]<=e[0])return 0;const r=800;return 80+(n-e[0])/(e[1]-e[0])*r}catch(e){return this.handleError(e,"dataToScreenX"),0}},dataToScreenY(n){try{const e=this.yRange;if(e.length!==2||e[1]<=e[0])return 0;const r=300;return 50+r-(n-e[0])/(e[1]-e[0])*r}catch(e){return this.handleError(e,"dataToScreenY"),0}},dataToScreenWidth(n){try{const e=this.xRange;if(e.length!==2||e[1]<=e[0])return 0;const r=800;return n/(e[1]-e[0])*r}catch(e){return this.handleError(e,"dataToScreenWidth"),0}},dataToScreenHeight(n){try{const e=this.yRange;if(e.length!==2||e[1]<=e[0])return 0;const r=300;return n/(e[1]-e[0])*r}catch(e){return this.handleError(e,"dataToScreenHeight"),0}},testBoxesOverlapForRange(n,e,r){try{if(r.length!==2||r[1]<=r[0])return!1;const S=(r[1]-r[0])*.01,D=n.height*.1,T=n.x-n.width/2-S,p=n.x+n.width/2+S,t=n.y-n.height/2-D,d=n.y+n.height/2+D,g=e.x-e.width/2-S,i=e.x+e.width/2+S,M=e.y-e.height/2-D,v=e.y+e.height/2+D;return!(p{this.toggleAnnotations()}}];this.isAnnotatedSpectraMode&&e.push({title:this.deconvolvedPeaksHighlightMode?"Hide Deconvolved Peaks":"Show Deconvolved Peaks",name:"toggleDeconvolvedPeaks",icon:{width:1792,height:1792,path:"M448 1024h896v128h-896v-128zm0-256h896v128h-896v-128zm0-256h896v128h-896v-128zm0-256h896v128h-896v-128zm-448 768h384v128h-384v-128zm0-256h384v128h-384v-128zm0-256h384v128h-384v-128zm0-256h384v128h-384v-128z"},click:()=>{this.toggleDeconvolvedPeaksHighlight()}}),e.push({title:"Download as SVG",name:"toImageSvg",icon:{width:1792,height:1792,path:"M1152 1376v-160q0-14-9-23t-23-9h-96v-512q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v160q0 14 9 23t23 9h96v320h-96q-14 0-23 9t-9 23v160q0 14 9 23t23 9h320q14 0 23-9t9-23zm-128-896v-160q0-14-9-23t-23-9h-192q-14 0-23 9t-9 23v160q0 14 9 23t23 9h192q14 0 23-9t9-23zm640 416q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z"},click:()=>{const S=document.getElementById(this.id);S&&_l.downloadImage(S,{filename:"FLASHViewer-lineplot",height:400,width:1200,format:"svg"})}});const r=await _l.newPlot(this.id,this.data,this.layout,{modeBarButtonsToRemove:["toImage","sendDataToCloud"],modeBarButtonsToAdd:e,scrollZoom:!0});r.on("plotly_relayout",S=>{this.onRelayout(S)}),r.on("plotly_click",S=>{this.onPlotClick(S)})}catch(n){this.handleError(n,"graph-rendering")}},initializeComponent(){try{this.isInitialized=!0,this.localTitle=this.args.title,this.safeGraph()}catch(n){this.handleError(n,"initializeComponent"),this.renderFallback()}},resetManualState(){try{this.manual=!1,this.manual_xRange=void 0,this.localTitle==="Augmented Annotated Spectrum"&&(this.localTitle="Augmented Deconvolved Spectrum"),this.selectionStore.updateSelectedMass(void 0)}catch(n){this.handleError(n,"resetManualState")}},backButton(){this.resetManualState(),this.safeGraph()},toggleAnnotations(){this.annotationsVisible=!this.annotationsVisible,this.safeGraph()},toggleDeconvolvedPeaksHighlight(){this.deconvolvedPeaksHighlightMode=!this.deconvolvedPeaksHighlightMode,this.safeGraph()},onPlotClick(n){if(n.points&&n.points.length>0){const e=n.points[0].x;for(let r=0;r=n[1])return[0,1];let S=0;for(let D=0;D=n[1]||p>S&&(S=p)}return S===0?[0,1]:[0,S*1.8]}catch(e){return this.handleError(e,"computeYRange"),[0,1]}},getFallbackData(){return[{x:[0,1],y:[0,0],mode:"lines",type:"scatter",marker:{color:this.styling.unhighlightedColor},name:"No Data"}]},getFallbackLayout(){var n,e,r,S;return{title:"No Data Available",showlegend:!1,height:400,xaxis:{title:"X-axis",showgrid:!1},yaxis:{title:"Y-axis",showgrid:!0,rangemode:"nonnegative"},paper_bgcolor:((n=this.theme)==null?void 0:n.backgroundColor)||"white",plot_bgcolor:((e=this.theme)==null?void 0:e.backgroundColor)||"white",font:{color:((r=this.theme)==null?void 0:r.textColor)||"black",family:((S=this.theme)==null?void 0:S.font)||"Arial"}}},validateComponentState(){var n;try{if(!this.streamlitDataStore||!this.selectionStore)return console.warn("PlotlyLineplotUnified: Required stores not available"),!1;const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!Array.isArray(e))return console.warn("PlotlyLineplotUnified: Invalid scan data structure"),!1;const r=this.selectedScan;if(r!==void 0&&r0}};console.error(`PlotlyLineplotUnified error in ${e}:`,n,r)}}});const yO=["id"];function bO(n,e,r,S,D,T){return Ir(),ei("div",{id:n.id,class:"plot-container",style:zs(n.cssCustomProperties)},[n.showBackButton?(Ir(),ei("button",{key:0,class:"simple-button",onClick:e[0]||(e[0]=(...p)=>n.backButton&&n.backButton(...p))}," ↩ ")):Yi("",!0)],12,yO)}const xO=hs(vO,[["render",bO],["__scopeId","data-v-08e314b5"]]),_O=ns({name:"Plotly3Dplot",props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Ns(),e=rc();return{streamlitDataStore:n,selectionStore:e}},data(){return{maximumIntensity:0}},computed:{id(){return`graph-${this.index}`},title(){return this.selectedScanRow===void 0?"":this.selectedMassRow===void 0?"Precursor signals":"Mass signals"},theme(){return this.streamlitDataStore.theme},selectedScanRow(){if(this.selectionStore.selectedScanIndex!==void 0)return this.streamlitDataStore.allDataForDrawing.per_scan_data.length===1?0:this.selectionStore.selectedScanIndex},selectedMassRow(){return this.selectionStore.selectedMassIndex},dataForDrawing(){var T,p;const n=this.selectedScanRow,e=this.streamlitDataStore.allDataForDrawing.per_scan_data,r=this.selectedMassRow;if(n===void 0)return[];const S=e[n]??{};let D={};return r===void 0?D=this.getPrecursorSignal(S):this.streamlitDataStore.allDataForDrawing.per_scan_data.length===1?D=this.getSignalNoiseObject(S.SignalPeaks,S.NoisyPeaks):D=this.getSignalNoiseObject(((T=S.SignalPeaks)==null?void 0:T[r])??[[]],((p=S.NoisyPeaks)==null?void 0:p[r])??[[]]),Object.keys(D).length===0?[]:(this.updateMaximumIntensity(D),[{name:"Signal",type:"scatter3d",mode:"lines",x:D.signal_x,y:D.signal_y,z:D.signal_z,line:{color:"#3366CC"}},{name:"Noise",type:"scatter3d",mode:"lines",x:D.noise_x,y:D.noise_y,z:D.noise_z,line:{color:"#DC3912"}}])},layout(){var n,e,r,S;return{title:`${this.title}`,paper_bgcolor:(n=this.theme)==null?void 0:n.backgroundColor,plot_bgcolor:(e=this.theme)==null?void 0:e.secondaryBackgroundColor,height:800,font:{color:(r=this.theme)==null?void 0:r.textColor,family:(S=this.theme)==null?void 0:S.font},scene:{xaxis:{title:"Mass"},yaxis:{title:"Charge",dtick:1,tick0:0},zaxis:{title:"Intensity",range:[0,this.maximumIntensity]},camera:{eye:{x:2.5,y:0,z:.2}}},showlegend:!0}}},watch:{selectedScanRow(){this.graph()},selectedMassRow(){this.graph()}},mounted(){this.graph()},methods:{updateMaximumIntensity(n){this.maximumIntensity=n.signal_z.concat(n.noise_z).reduce((e,r)=>Math.max(e,r),-1/0)},async graph(){await _l.newPlot(this.id,this.dataForDrawing,this.layout,{modeBarButtonsToRemove:["toImage","sendDataToCloud"],modeBarButtonsToAdd:[{title:"Download as SVG",name:"toImageSvg",icon:_l.Icons.camera,click:function(n){_l.downloadImage(n,{filename:"FLASHViewer-3d-plot",height:800,width:800,format:"svg"})}}]})},getPrecursorSignal(n){if(n.PrecursorScan==0)return{};const e=this.streamlitDataStore.allDataForDrawing.per_scan_data.find(D=>D.Scan===n.PrecursorScan);if(!e)return{};const r=e.MonoMass,S=n.PrecursorMass;for(let D=0,T=r.length;DS.field),r=[];return Object.entries(n).forEach(S=>{const D=S[0];if(!e.includes(D)||D==="id")return;S[1].forEach((p,t)=>{r[t]={...r[t],[D]:p}})}),r.map((S,D)=>S.id=D),r},selectedMassFromFragmentTable(){return this.selectionStore.selectedObservedMassFromFragmentTable}},watch:{selectedMassFromFragmentTable(n){const e=this.tableData.findIndex(r=>r.MonoMass===n);e!==-1&&(this.selectedMassIndex=e)}},methods:{updateSelectedMass(n){n!==void 0&&this.selectionStore.updateSelectedMass(n)}}});function AO(n,e,r,S,D,T){const p=Gr("TabulatorTable");return Ir(),za(p,{"table-data":n.tableData,"column-definitions":n.columnDefinitions,title:"Mass Table",index:n.index,onRowSelected:n.updateSelectedMass,"selected-row-index-from-listening":n.selectedMassTableRow,"default-row":0},null,8,["table-data","column-definitions","index","onRowSelected","selected-row-index-from-listening"])}const SO=hs(MO,[["render",AO]]),CO=ns({name:"TabulatorProteinTable",components:{TabulatorTable:y0},props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Ns(),e=rc();return{streamlitDataStore:n,selectionStore:e}},data(){return{columnDefinitions:[{title:"Scan No.",field:"Scan",sorter:"number",headerTooltip:"The identifier of the mass spectrometry scan associated with the identified proteoform."},{title:"Accession",field:"accession",headerTooltip:"The unique identifier for the protein in the reference database."},{title:"Description",field:"description",responsive:10},{title:"Length",field:"length",responsive:6,sorter:"number",headerTooltip:"The total number of amino acids in the matched protein."},{title:"Mass",field:"ProteoformMass",responsive:8,sorter:"number",headerTooltip:"The calculated mass of the proteoform in Daltons.",formatter:function(n){const e=n.getValue();return e==-1?"-":e}},{title:"No. of Matched Fragments",field:"MatchingFragments",sorter:"number",headerTooltip:"The number of fragment ions that match the protein sequence."},{title:"No. of Modifications",field:"ModCount",sorter:"number",headerTooltip:"The number of modifications identified in the protein."},{title:"No. of Tags",field:"TagCount",sorter:"number",headerTooltip:"The number of sequence tags associated with the proteoform match."},{title:"Score",field:"Score",sorter:"number",headerTooltip:"A score indicating the confidence of the protein match (higher is better)."},{title:"Q-Value (Proteoform Level)",field:"ProteoformLevelQvalue",sorter:"number",headerTooltip:"The confidence value of the protein match at the proteoform level.",formatter:function(n){const e=n.getValue();return e==-1?"-":e}}],initialSort:[{column:"Score",dir:"desc"}]}},computed:{selectedRow(){return this.selectionStore.selectedProteinIndex},tableData(){const n=this.streamlitDataStore.dataForDrawing.protein_table;return n.forEach(e=>e.id=e.index),n}},methods:{updateSelectedProtein(n){if(n!==void 0){this.selectionStore.updateSelectedProtein(n);const e=this.streamlitDataStore.dataForDrawing.protein_table[n].Scan;if(e!==void 0&&typeof e=="number"){const r=this.streamlitDataStore.allDataForDrawing.per_scan_data.findIndex(S=>S.Scan===e);this.selectionStore.updateSelectedScan(r)}this.selectionStore.updateSelectedTag(void 0),this.selectionStore.updateTagData(void 0)}}}});function EO(n,e,r,S,D,T){const p=Gr("TabulatorTable");return Ir(),za(p,{"table-data":n.tableData,"column-definitions":n.columnDefinitions,title:"Protein Table",index:n.index,"selected-row-index-from-listening":n.selectedRow,"default-row":0,"initial-sort":n.initialSort,onRowSelected:n.updateSelectedProtein},null,8,["table-data","column-definitions","index","selected-row-index-from-listening","initial-sort","onRowSelected"])}const LO=hs(CO,[["render",EO]]),IO=ns({name:"TabulatorTagTable",components:{TabulatorTable:y0},props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Ns(),e=rc();return{streamlitDataStore:n,selectionStore:e}},data(){return{columnDefinitions:[{title:"Scan Number",field:"Scan",sorter:"number",headerTooltip:"The identifier of the mass spectrometry scan containing the sequence tag."},{title:"Start Position",field:"StartPos",sorter:"number",headerTooltip:"The position in the protein sequence where the sequence tag begins."},{title:"End Position",field:"EndPos",sorter:"number",headerTooltip:"The position in the protein sequence where the sequence tag ends."},{title:"Sequence",field:"TagSequence",sorter:"number",headerTooltip:"The amino acid sequence of the identified tag."},{title:"Length",field:"Length",sorter:"number",headerTooltip:"The number of amino acids in the sequence tag."},{title:"Tag Score",field:"Score",sorter:"number",headerTooltip:"A score indicating the confidence of the sequence tag identification (higher is better)."},{title:"N mass",field:"Nmass",sorter:"number",headerTooltip:"The N-terminal mass offset from the start of the sequence tag in Daltons.",formatter:function(n){const e=n.getValue();return e==-1?"-":e}},{title:"C mass",field:"Cmass",sorter:"number",headerTooltip:"The C-terminal mass offset from the end of the sequence tag in Daltons.",formatter:function(n){const e=n.getValue();return e==-1?"-":e}},{title:"Δ mass",field:"DeltaMass",sorter:"number",headerTooltip:"Delta mass is the difference between the tag flanking mass and the (partial) proteoform mass, from its terminal to the tag boundary."}],initialSort:[{column:"Score",dir:"desc"}],selectedTagIndex:void 0}},computed:{selectedRow(){return this.selectionStore.selectedTagIndex},tableData(){let e=this.streamlitDataStore.dataForDrawing.tag_table.filter(S=>S.ProteinIndex===this.selectionStore.selectedProteinIndex);const r=this.selectionStore.selectedAApos;return r!==void 0&&(e=e.filter(S=>{const D=S.StartPos,T=S.EndPos;return typeof D=="number"&&typeof T=="number"&&D<=r&&T>=r})),e.forEach(S=>S.id=S.TagIndex),e}},watch:{},methods:{getRowByTagIndex(n){return this.tableData.find(S=>S.id===n)},updateSelectedTag(n){if(n===void 0)return;this.selectionStore.updateSelectedTag(n);const e=this.getRowByTagIndex(n);if(e===void 0)return;const r=e.mzs;let S=[];typeof r=="string"&&(S=r.split(",").map(Number).filter(i=>i!==0));const D=typeof e.StartPos=="number"?e.StartPos:0,T=typeof e.EndPos=="number"?e.EndPos:0;let p=-1e3;D!==void 0&&this.selectionStore.selectedAApos!==void 0&&typeof D=="number"&&(p=this.selectionStore.selectedAApos-D);const t=e.TagSequence;let d="";typeof t=="string"&&(d=t);let g=!1;e["N mass"]===-1&&(g=!0),this.selectionStore.updateTagData({sequence:d,nTerminal:g,masses:S,selectedAA:p,startPos:D,endPos:T})}}});function RO(n,e,r,S,D,T){const p=Gr("TabulatorTable");return Ir(),za(p,{"table-data":n.tableData,"column-definitions":n.columnDefinitions,title:"Tag Table",index:n.index,onRowSelected:n.updateSelectedTag,"default-row":0,"initial-sort":n.initialSort},null,8,["table-data","column-definitions","index","onRowSelected","initial-sort"])}const PO=hs(IO,[["render",RO]]),W2=i2("variable-mod",{state:()=>({variableMod:{}}),getters:{variableModifications:n=>n.variableMod,isEmpty:n=>Object.values(n.variableMod).filter(e=>e!==void 0&&e!==0).length===0},actions:{updateVariableModifications(n,e){this.variableMod={...this.variableMod,[n]:e}}}}),wv={Acetyl:42.010565,Methyl:14.01565,Phospho:79.966331,Oxidation:15.994915,Deamidated:.984016,Amidated:-.984016},r6={"N-term":["Acetyl","Methyl","Phospho"],"C-term":["Amidated"],C:["Acetyl","Methyl","Phospho"],E:["Methyl","Phospho"],D:["Methyl","Phospho"],H:["Methyl","Phospho"],I:["Methyl"],K:["Methyl","Phospho"],L:["Methyl"],M:["Oxidation"],N:["Methyl"],Q:["Deamidated","Methyl"],R:["Methyl","Phospho"],S:["Acetyl","Methyl","Phospho"],T:["Acetyl","Methyl","Phospho"],Y:["Phospho"]},OO={default:[{typeName:"",typeMass:0}],"water loss":[{typeName:"-H2O",typeMass:-18.0105646863}],"ammonium loss":[{typeName:"-NH3",typeMass:-17.0265491015}],"proton loss/addition":[{typeName:"-H",typeMass:-1.0078250319},{typeName:"+H",typeMass:1.0078250319}]},DO=ns({name:"AminoAcidCell",props:{sequenceObject:{type:Object,required:!0},index:{type:Number,required:!0},fixedModification:{type:Boolean,default:!1},disableVariableModificationSelection:{type:Boolean,default:!1},showTags:{type:Boolean,default:!1},showModifications:{type:Boolean,default:!0},showFragments:{type:Boolean,default:!0}},emits:["selected"],setup(){const n=Ns(),e=W2(),r=rc();return{streamlitData:n,variableModData:e,selectionStore:r}},data(){return{menuOpen:!1,selectedModification:void 0,customSelected:!1,customModMass:"0"}},computed:{id(){return`${this.aminoAcid}${this.index}`},theme(){return this.streamlitData.theme},aminoAcid(){return this.sequenceObject.aminoAcid},start(){var e;const n=(e=this.streamlitData.sequenceData)==null?void 0:e[this.selectedSequence].proteoform_start;return n===void 0?n:n<0?0:n},end(){var e;const n=(e=this.streamlitData.sequenceData)==null?void 0:e[this.selectedSequence].proteoform_end;return n===void 0?n:n<0&&this.length!==void 0?this.length-1:n},length(){var n;return(n=this.streamlitData.sequenceData)==null?void 0:n[this.selectedSequence].sequence.length},prefix(){if(this.start===void 0&&this.end===void 0)return this.index+1;if(this.end!==void 0&&this.index>this.end)return;if(this.start!==void 0&&this.index>=this.start)return this.index+1-this.start},protein_position(){return this.index+1},truncated_prefix(){if(!(this.start===void 0||this.index>=this.start))return this.index+1},suffix(){if(this.start===void 0&&this.end===void 0)return(length??0)-this.index;if(this.start!==void 0&&this.index0},selectedSequence(){return this.selectionStore.selectedProteinIndex!==void 0?this.selectionStore.selectedProteinIndex:0},coverage(){return this.sequenceObject.coverage!==void 0?this.sequenceObject.coverage:-1},isHighlighted(){return this.index===this.selectionStore.selectedAApos},isTruncated(){return this.sequenceObject.truncated},DoesThisAAHaveSequenceTags(){return this.coverage>0},modMass(){return this.customModMass!=="0"?parseFloat(this.customModMass).toLocaleString("en-US",{signDisplay:"always"}):this.sequenceObject.modMass}},methods:{toggleMenuOpen(){this.disableVariableModificationSelection||(this.menuOpen=!this.menuOpen)},selectCell(){this.DoesThisAAHaveSequenceTags&&this.showTags&&(this.selectionStore.selectedAApos===this.index?this.selectionStore.updateSelectedAA(void 0):this.selectionStore.updateSelectedAA(this.index)),this.DoesThisAAHaveMatchingFragments&&this.$emit("selected",this.index)},updateSelectedModification(n){if(n==="None")this.selectedModification=void 0;else if(n==="Custom"){this.customSelected=!0;return}else this.selectedModification=n;this.toggleMenuOpen(),this.customSelected=!1,this.variableModData.updateVariableModifications(this.index,this.selectedModification?wv[this.selectedModification]:0)},updateCustomModification(){this.variableModData.updateVariableModifications(this.index,parseFloat(this.customModMass)),this.toggleMenuOpen()}},watch:{selectedModification(){this.selectedModification!==void 0&&wv[this.selectedModification]!==void 0&&(this.sequenceObject.modMass=parseFloat(wv[this.selectedModification].toFixed(2)).toLocaleString("en-US",{signDisplay:"always"}))},showTags(){this.showTags||this.selectionStore.updateSelectedAA(void 0)}}});const Mu=n=>(Ty("data-v-fb6c82e8"),n=n(),ky(),n),zO=["id"],FO={key:0,class:"frag-marker-container-a"},BO=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"green",d:"M7, 1 L9, 3 L9, 7 L9, 3 L7, 1 z","stroke-width":"1.5"})],-1)),NO=[BO],VO={key:1,class:"frag-marker-container-b"},jO=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"blue",d:"M10, 0 V5 M10, 0 H5 z","stroke-width":"3"})],-1)),UO=[jO],HO={key:2,class:"frag-marker-container-c"},GO=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"red",d:"M4, 1 L9, 3 L9, 7 L9, 3 L4, 1 z","stroke-width":"1.5"})],-1)),qO=[GO],WO={key:3,class:"frag-marker-container-x"},YO=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"green",d:"M1, 3 L1, 7 L3, 9 L1, 7 L1, 3 z","stroke-width":"1.5"})],-1)),$O=[YO],ZO={key:4,class:"frag-marker-container-y"},XO=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"blue",d:"M0, 10 V5 M0, 10 H5 z","stroke-width":"3"})],-1)),KO=[XO],JO={key:5,class:"frag-marker-container-z"},QO=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"red",d:"M1, 3 L1, 7 L6, 9 L1, 7 L1, 3 z","stroke-width":"1.5"})],-1)),eD=[QO],tD={key:6,class:"rounded-lg tag-marker tag-start"},nD={key:7,class:"rounded-lg tag-marker tag-end"},rD={key:8,class:"rounded-lg mod-marker mod-start"},iD={key:9,class:"rounded-lg mod-marker mod-end"},aD={key:10,class:"mod-marker mod-start-cont"},oD={key:11,class:"mod-marker mod-end-cont"},sD={key:12,class:"mod-marker mod-center-cont"},lD={key:13,class:"rounded-lg mod-mass"},uD=Mu(()=>ti("br",null,null,-1)),cD=Mu(()=>ti("br",null,null,-1)),hD={key:14,class:"rounded-lg mod-mass-a"},fD={key:15,class:"rounded-lg mod-mass-b"},dD={key:16,class:"rounded-lg mod-mass-c"},pD={key:17,class:"frag-marker-extra-type"},mD=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("circle",{cx:"5",cy:"5",r:"0.5",stroke:"black","stroke-width":"0.3",fill:"gold"})],-1)),gD=[mD],vD={class:"aa-text"},yD=Mu(()=>ti("br",null,null,-1)),bD=Mu(()=>ti("br",null,null,-1)),xD=Mu(()=>ti("br",null,null,-1)),_D=Mu(()=>ti("br",null,null,-1)),wD={key:4};function TD(n,e,r,S,D,T){const p=Gr("v-tooltip"),t=Gr("v-select"),d=Gr("v-list-item"),g=Gr("v-text-field"),i=Gr("v-btn"),M=Gr("v-form"),v=Gr("v-list"),f=Gr("v-menu");return Ir(),ei("div",{id:n.id,class:Ju(["d-flex justify-center align-center rounded-lg",[n.aminoAcidCellClass,{highlighted:n.isHighlighted},{truncated:n.isTruncated}]]),style:zs(n.aminoAcidCellStyles),onClick:e[5]||(e[5]=(...l)=>n.selectCell&&n.selectCell(...l)),onContextmenu:e[6]||(e[6]=jp((...l)=>n.toggleMenuOpen&&n.toggleMenuOpen(...l),["prevent"]))},[n.showFragments&&n.sequenceObject.aIon?(Ir(),ei("div",FO,NO)):Yi("",!0),n.showFragments&&n.sequenceObject.bIon?(Ir(),ei("div",VO,UO)):Yi("",!0),n.showFragments&&n.sequenceObject.cIon?(Ir(),ei("div",HO,qO)):Yi("",!0),n.showFragments&&n.sequenceObject.xIon?(Ir(),ei("div",WO,$O)):Yi("",!0),n.showFragments&&n.sequenceObject.yIon?(Ir(),ei("div",ZO,KO)):Yi("",!0),n.showFragments&&n.sequenceObject.zIon?(Ir(),ei("div",JO,eD)):Yi("",!0),n.showTags&&n.sequenceObject.tagStart?(Ir(),ei("div",tD)):Yi("",!0),n.showTags&&n.sequenceObject.tagEnd?(Ir(),ei("div",nD)):Yi("",!0),n.showModifications&&(n.sequenceObject.modStart||n.isThisAAmodified)?(Ir(),ei("div",rD)):Yi("",!0),n.showModifications&&(n.sequenceObject.modEnd||n.isThisAAmodified)?(Ir(),ei("div",iD)):Yi("",!0),n.showModifications&&n.sequenceObject.modStart&&!n.sequenceObject.modEnd?(Ir(),ei("div",aD)):Yi("",!0),n.showModifications&&!n.sequenceObject.modStart&&n.sequenceObject.modEnd?(Ir(),ei("div",oD)):Yi("",!0),n.showModifications&&n.sequenceObject.modCenter?(Ir(),ei("div",sD)):Yi("",!0),n.showModifications&&(n.sequenceObject.modEnd||n.isThisAAmodified)?(Ir(),ei("div",lD,[ia(io(n.modMass)+" ",1),gt(p,{activator:"parent",class:"foreground"},{default:ci(()=>[ia(io(`Modification Mass: ${n.modMass} Da`)+" ",1),uD,ia(" "+io(`Possible Modifications: ${n.sequenceObject.modLabels}`)+" ",1),cD]),_:1})])):Yi("",!0),n.showFragments&&n.showModifications&&n.sequenceObject.modEnd&&n.sequenceObject.aIon&&!n.sequenceObject.bIon?(Ir(),ei("div",hD,io(n.sequenceObject.modMass),1)):Yi("",!0),n.showFragments&&n.showModifications&&n.sequenceObject.modEnd&&n.sequenceObject.bIon?(Ir(),ei("div",fD,io(n.sequenceObject.modMass),1)):Yi("",!0),n.showFragments&&n.showModifications&&n.sequenceObject.modEnd&&n.sequenceObject.cIon&&!n.sequenceObject.bIon?(Ir(),ei("div",dD,io(n.sequenceObject.modMass),1)):Yi("",!0),n.showModifications&&n.DoesThisAAHaveExtraFragTypes?(Ir(),ei("div",pD,gD)):Yi("",!0),ti("div",vD,io(n.aminoAcid),1),gt(f,{modelValue:n.menuOpen,"onUpdate:modelValue":e[4]||(e[4]=l=>n.menuOpen=l),activator:"parent",location:"end","open-on-click":!1,"close-on-content-click":!1,width:"200px"},{default:ci(()=>[gt(v,null,{default:ci(()=>[gt(d,null,{default:ci(()=>[gt(t,{modelValue:n.selectedModification,"onUpdate:modelValue":[e[0]||(e[0]=l=>n.selectedModification=l),n.updateSelectedModification],clearable:"true",label:"Modification",density:"compact",items:n.modificationsForSelect,"onClick:clear":e[1]||(e[1]=l=>n.selectedModification=void 0)},null,8,["modelValue","items","onUpdate:modelValue"])]),_:1}),n.customSelected?(Ir(),za(d,{key:0},{default:ci(()=>[gt(M,{onSubmit:e[3]||(e[3]=jp(()=>{},["prevent"]))},{default:ci(()=>[gt(g,{modelValue:n.customModMass,"onUpdate:modelValue":e[2]||(e[2]=l=>n.customModMass=l),"hide-details":"",label:"Monoisotopic mass in Da",type:"number"},null,8,["modelValue"]),gt(i,{type:"submit",block:"true",class:"mt-2",onClick:n.updateCustomModification},{default:ci(()=>[ia("Submit")]),_:1},8,["onClick"])]),_:1})]),_:1})):Yi("",!0)]),_:1})]),_:1},8,["modelValue"]),gt(p,{activator:"parent"},{default:ci(()=>[ti("div",null,io(`Protein Position: ${n.protein_position}`),1),n.prefix!==void 0?(Ir(),ei(Yr,{key:0},[ia(io(`Prefix: ${n.prefix}`)+" ",1),yD],64)):Yi("",!0),n.truncated_prefix!==void 0?(Ir(),ei(Yr,{key:1},[ia(io(`Truncated Prefix: ${n.truncated_prefix}`)+" ",1),bD],64)):Yi("",!0),n.suffix!==void 0?(Ir(),ei(Yr,{key:2},[ia(io(`Suffix: ${n.suffix}`)+" ",1),xD],64)):Yi("",!0),n.truncated_suffix!==void 0?(Ir(),ei(Yr,{key:3},[ia(io(`Truncated Suffix: ${n.truncated_suffix}`)+" ",1),_D],64)):Yi("",!0),n.DoesThisAAHaveExtraFragTypes?(Ir(),ei("div",wD,io(n.sequenceObject.extraTypes.join(", ")),1)):Yi("",!0)]),_:1})],46,zO)}const i6=hs(DO,[["render",TD],["__scopeId","data-v-fb6c82e8"]]),kD=ns({name:"ProteinTerminalCell",props:{proteinTerminal:{type:String,required:!0},index:{type:Number,required:!0},truncated:{type:Boolean,required:!1,default:!1},determined:{type:Boolean,required:!1,default:!0},disableVariableModificationSelection:{type:Boolean,default:!1}},setup(){const n=Ns(),e=W2();return{streamlitData:n,variableModData:e}},data(){return{menuOpen:!1,selectedModification:void 0,customSelected:!1,customModMass:"0"}},computed:{id(){return`${this.proteinTerminal}${this.index}`},theme(){return this.streamlitData.theme},proteinTerminalText(){return this.proteinTerminal.charAt(0)},hasVariableModification(){return this.variableModData.variableModifications[this.index]!==void 0&&this.variableModData.variableModifications[this.index]!==0},modificationsForSelect(){return["None","Custom",...this.potentialModifications]},proteinTerminalCellStyles(){var n,e;return{"--protein-terminal-cell-color":((n=this.theme)==null?void 0:n.textColor)??"#fff","--protein-terminal-cell-hover-color":"#fff","--protein-terminal-cell-hover-bg-color":((e=this.theme)==null?void 0:e.secondaryBackgroundColor)??"#000"}},proteinTerminalCellClasses(){return{"protein-terminal":this.selectedModification===void 0&&!this.hasVariableModification,"protein-terminal-modified":this.selectedModification!==void 0||this.hasVariableModification}},potentialModifications(){return r6[this.proteinTerminal]??[]}},methods:{toggleMenuOpen(){this.disableVariableModificationSelection||(this.menuOpen=!this.menuOpen)},updateSelectedModification(n){if(n==="None")this.selectedModification=void 0;else if(n==="Custom"){this.customSelected=!0;return}else this.selectedModification=n;this.toggleMenuOpen(),this.customSelected=!1,this.variableModData.updateVariableModifications(this.index,this.selectedModification?wv[this.selectedModification]:0)},updateCustomModification(){this.variableModData.updateVariableModifications(this.index,parseFloat(this.customModMass)),this.toggleMenuOpen()}}});const MD={key:0,class:"undetermined"};function AD(n,e,r,S,D,T){const p=Gr("v-select"),t=Gr("v-list-item"),d=Gr("v-text-field"),g=Gr("v-btn"),i=Gr("v-form"),M=Gr("v-list"),v=Gr("v-menu"),f=Gr("v-tooltip");return Ir(),ei("div",{class:Ju(["d-flex justify-center align-center rounded-lg",n.proteinTerminalCellClasses]),style:zs(n.proteinTerminalCellStyles),onClick:e[5]||(e[5]=jp(()=>{},["stop"])),onContextmenu:e[6]||(e[6]=jp((...l)=>n.toggleMenuOpen&&n.toggleMenuOpen(...l),["prevent"]))},[ti("div",{class:Ju(["terminal-text",{truncated:n.truncated}])},io(n.proteinTerminalText),3),n.determined?Yi("",!0):(Ir(),ei("div",MD,"??")),gt(v,{activator:"parent",modelValue:n.menuOpen,"onUpdate:modelValue":e[4]||(e[4]=l=>n.menuOpen=l),location:"end","open-on-click":!1,"close-on-content-click":!1,width:"200px"},{default:ci(()=>[gt(M,null,{default:ci(()=>[gt(t,null,{default:ci(()=>[gt(p,{modelValue:n.selectedModification,"onUpdate:modelValue":[e[0]||(e[0]=l=>n.selectedModification=l),n.updateSelectedModification],clearable:"",label:"Modification",density:"compact",items:n.modificationsForSelect,"onClick:clear":e[1]||(e[1]=l=>n.selectedModification=void 0)},null,8,["modelValue","items","onUpdate:modelValue"])]),_:1}),n.customSelected?(Ir(),za(t,{key:0},{default:ci(()=>[gt(i,{onSubmit:e[3]||(e[3]=jp(()=>{},["prevent"]))},{default:ci(()=>[gt(d,{modelValue:n.customModMass,"onUpdate:modelValue":e[2]||(e[2]=l=>n.customModMass=l),"hide-details":"",label:"Monoisotopic mass in Da",type:"number"},null,8,["modelValue"]),gt(g,{type:"submit",block:"",class:"mt-2",onClick:n.updateCustomModification},{default:ci(()=>[ia("Submit")]),_:1},8,["onClick"])]),_:1})]),_:1})):Yi("",!0)]),_:1})]),_:1},8,["modelValue"]),gt(f,{activator:"parent"},{default:ci(()=>[ia(io(n.proteinTerminalText),1)]),_:1})],38)}const SD=hs(kD,[["render",AD],["__scopeId","data-v-beee67fe"]]);var a6={exports:{}};/*! dom-to-image-more 26-04-2023 */(function(n,e){(function(r){const S=function(){let y=0;return{escape:function(A){return A.replace(/([.*+?^${}()|[]\/\\])/g,"\\$1")},isDataUrl:function(A){return A.search(/^(data:)/)!==-1},canvasToBlob:function(A){return A.toBlob?new Promise(function(L){A.toBlob(L)}):function(L){return new Promise(function(b){var R=f(L.toDataURL().split(",")[1]),I=R.length,O=new Uint8Array(I);for(let z=0;zte.style.removeProperty(X)),["left","right","top","bottom"].forEach(X=>{te.style.getPropertyValue(X)&&te.style.setProperty(X,"0px")})))}H(W,N)}function $(){const q=S.uid();function H(ne){const te=v(W,ne),Z=te.getPropertyValue("content");if(Z!==""&&Z!=="none"){let ie=function(){const oe=`.${q}:`+ne,ue=(te.cssText?ce:ye)();return document.createTextNode(oe+`{${ue}}`);function ce(){return`${te.cssText} content: ${Z};`}function ye(){return S.asArray(te).map(me).join("; ")+";";function me(pe){const xe=te.getPropertyValue(pe),Pe=te.getPropertyPriority(pe)?" !important":"";return pe+": "+xe+Pe}}};var X=ie;const Q=N.getAttribute("class")||"",re=(N.setAttribute("class",Q+" "+q),document.createElement("style"));re.appendChild(ie()),N.appendChild(re)}}[":before",":after"].forEach(function(ne){H(ne)})}function U(){S.isHTMLTextAreaElement(W)&&(N.innerHTML=W.value),S.isHTMLInputElement(W)&&N.setAttribute("value",W.value)}function G(){S.isSVGElement(N)&&(N.setAttribute("xmlns","http://www.w3.org/2000/svg"),S.isSVGRectElement(N))&&["width","height"].forEach(function(q){const H=N.getAttribute(q);H&&N.style.setProperty(q,H)})}}}(E,C,null)}).then(o).then(s).then(function(E){C.bgcolor&&(E.style.backgroundColor=C.bgcolor),C.width&&(E.style.width=C.width+"px"),C.height&&(E.style.height=C.height+"px"),C.style&&Object.keys(C.style).forEach(function(A){E.style[A]=C.style[A]});let x=null;return typeof C.onclone=="function"&&(x=C.onclone(E)),Promise.resolve(x).then(function(){return E})}).then(function(E){let x=C.width||S.width(E),A=C.height||S.height(E);return Promise.resolve(E).then(function(L){return L.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),new XMLSerializer().serializeToString(L)}).then(S.escapeXhtml).then(function(L){var b=(S.isDimensionMissing(x)?' width="100%"':` width="${x}"`)+(S.isDimensionMissing(A)?' height="100%"':` height="${A}"`);return`${L}`}).then(function(L){return"data:image/svg+xml;charset=utf-8,"+L})}).then(function(E){for(;0{c=null,m={}},2e4)}(),E})}function a(y,C){return l(y,C=C||{}).then(S.makeImage).then(function(_){var k=typeof C.scale!="number"?1:C.scale,E=function(A,L){let b=C.width||S.width(A),R=C.height||S.height(A);return S.isDimensionMissing(b)&&(b=S.isDimensionMissing(R)?300:2*R),S.isDimensionMissing(R)&&(R=b/2),A=document.createElement("canvas"),A.width=b*L,A.height=R*L,C.bgcolor&&((L=A.getContext("2d")).fillStyle=C.bgcolor,L.fillRect(0,0,A.width,A.height)),A}(y,k),x=E.getContext("2d");return x.msImageSmoothingEnabled=!1,x.imageSmoothingEnabled=!1,_&&(x.scale(k,k),x.drawImage(_,0,0)),E})}let u=null;function o(y){return T.resolveAll().then(function(C){var _;return C!==""&&(_=document.createElement("style"),y.appendChild(_),_.appendChild(document.createTextNode(C))),y})}function s(y){return t.inlineAll(y).then(function(){return y})}function h(y,C,_,k,E){const x=i.impl.options.copyDefaultStyles?function(L,I){var I=function(z){var F=[];do if(z.nodeType===M){var B=z.tagName;if(F.push(B),w.includes(B))break}while(z=z.parentNode,z);return F}(I),R=function(z){return(L.styleCaching!=="relaxed"?z:z.filter((F,B,N)=>B===0||B===N.length-1)).join(">")}(I);if(m[R])return m[R];var O=function(){if(u)return u.contentWindow;var z=document.characterSet||"UTF-8",F=document.doctype,F=F?(`":"";return(u=document.createElement("iframe")).id="domtoimage-sandbox-"+S.uid(),u.style.visibility="hidden",u.style.position="fixed",document.body.appendChild(u),function(N,W,j,$){try{return N.contentWindow.document.write(W+`${$}`),N.contentWindow}catch{}var U=document.createElement("meta");U.setAttribute("charset",j);try{var G=document.implementation.createHTMLDocument($),q=(G.head.appendChild(U),W+G.documentElement.outerHTML);return N.setAttribute("srcdoc",q),N.contentWindow}catch{}return N.contentDocument.head.appendChild(U),N.contentDocument.title=$,N.contentWindow}(u,F,z,"domtoimage-sandbox");function B(N){var W;return N?((W=document.createElement("div")).innerText=N,W.innerHTML):""}}(),I=function(z,F){let B=z.body;do{var N=F.pop(),N=z.createElement(N);B.appendChild(N),B=N}while(0{const r=this.$refs.downloadLink;r.download="FLASHViewer-sequence.svg",r.href=e,r.click()}).finally(()=>{this.svgDownloadTriggered=!1})}}}),ID={ref:"downloadLink",style:{visibility:"hidden"}};function RD(n,e,r,S,D,T){const p=Gr("v-btn"),t=Gr("v-tooltip"),d=Gr("v-progress-linear"),g=Gr("v-card-text"),i=Gr("v-card"),M=Gr("v-dialog");return Ir(),ei(Yr,null,[gt(p,{id:"download-button",variant:"text",size:"large",icon:"mdi-download",onClick:n.triggerDownload},null,8,["onClick"]),gt(t,{text:"Save as SVG",location:"bottom",activator:"#download-button"}),ti("a",ID,null,512),gt(M,{modelValue:n.svgDownloadTriggered,"onUpdate:modelValue":e[0]||(e[0]=v=>n.svgDownloadTriggered=v),persistent:"",width:"auto"},{default:ci(()=>[gt(i,{color:"primary"},{default:ci(()=>[gt(g,null,{default:ci(()=>[ia(" Please stand by "),gt(d,{indeterminate:"",color:"white",class:"mb-0"})]),_:1})]),_:1})]),_:1},8,["modelValue"])],64)}const o6=hs(LD,[["render",RD]]),PD=ns({name:"SequenceViewInformation",components:{AminoAcidCell:i6},setup(){return{streamlitDataStore:Ns()}},data(){return{dialog:!1,aIon:!0,bIon:!1,cIon:!1,xIon:!0,yIon:!0,zIon:!1,fixed_mod:!1,variable_mod:!1,originalAAClasses:void 0,waterLoss:!1,ammoniumLoss:!1,proton:!1}},computed:{theme(){return this.streamlitDataStore.theme},aaSequenceObject(){return{aminoAcid:"AA",aIon:this.aIon,bIon:this.bIon,cIon:this.cIon,xIon:this.xIon,yIon:this.yIon,zIon:this.zIon,modStart:this.variable_mod,modEnd:this.variable_mod,modMass:"+134.99",truncated:!1,extraTypes:this.extraFragTypes()}}},methods:{setAAWithVarMod(){var e;this.originalAAClasses===void 0&&(this.originalAAClasses=((e=document.getElementById("AA0"))==null?void 0:e.getAttribute("class"))??"");const n=document.getElementById("AA0");if(n){let r=this.originalAAClasses;this.fixed_mod&&(r="sequence-amino-acid-highlighted "+r),n.setAttribute("class",r)}},extraFragTypes(){let n="";if(this.aIon)n="a";else if(this.bIon)n="b";else if(this.cIon)n="c";else if(this.xIon)n="x";else if(this.yIon)n="y";else if(this.zIon)n="z";else return[];let e=[];return this.waterLoss&&e.push(`${n}-H20`),this.ammoniumLoss&&e.push(`${n}-NH3`),this.proton&&(e.push(`${n}-H`),e.push(`${n}+H`)),e}}});const s6=n=>(Ty("data-v-9a6912d6"),n=n(),ky(),n),OD=s6(()=>ti("div",{class:"text-h6 d-flex justify-center"},"Legend for Sequence Map",-1)),DD={class:"d-flex justify-center"},zD={class:"sequence-grid pa-6",style:{width:"150px","max-width":"100%"}},FD={class:"d-flex"},BD={class:"d-flex"},ND=s6(()=>ti("div",{class:"text-subtitle-2 d-flex justify-end align-end"}," * Click checkboxes to see the styles ",-1));function VD(n,e,r,S,D,T){var h;const p=Gr("v-btn"),t=Gr("v-card-title"),d=Gr("v-divider"),g=Gr("AminoAcidCell"),i=Gr("v-checkbox"),M=Gr("v-row"),v=Gr("v-list-item-title"),f=Gr("v-list-item"),l=Gr("v-list"),a=Gr("v-card-text"),u=Gr("v-card-actions"),o=Gr("v-card"),s=Gr("v-dialog");return Ir(),ei(Yr,null,[gt(p,{id:"info-button",variant:"text",size:"large",icon:"mdi-information"}),gt(s,{modelValue:n.dialog,"onUpdate:modelValue":e[13]||(e[13]=c=>n.dialog=c),activator:"#info-button",width:"auto",theme:((h=n.theme)==null?void 0:h.base)??"light"},{default:ci(()=>[gt(o,null,{default:ci(()=>[gt(t,null,{default:ci(()=>[ia("Sequence View legend")]),_:1}),gt(d),gt(a,null,{default:ci(()=>[OD,ti("div",DD,[ti("div",zD,[gt(g,{index:0,"sequence-object":n.aaSequenceObject,onSelected:e[0]||(e[0]=jp(()=>{},["stop"]))},null,8,["sequence-object"])])]),ia(" Fragment ion types "),gt(M,null,{default:ci(()=>[ti("div",FD,[gt(i,{modelValue:n.aIon,"onUpdate:modelValue":e[1]||(e[1]=c=>n.aIon=c),label:"a"},null,8,["modelValue"]),gt(i,{modelValue:n.bIon,"onUpdate:modelValue":e[2]||(e[2]=c=>n.bIon=c),label:"b"},null,8,["modelValue"]),gt(i,{modelValue:n.cIon,"onUpdate:modelValue":e[3]||(e[3]=c=>n.cIon=c),label:"c"},null,8,["modelValue"]),gt(i,{modelValue:n.xIon,"onUpdate:modelValue":e[4]||(e[4]=c=>n.xIon=c),label:"x"},null,8,["modelValue"]),gt(i,{modelValue:n.yIon,"onUpdate:modelValue":e[5]||(e[5]=c=>n.yIon=c),label:"y"},null,8,["modelValue"]),gt(i,{modelValue:n.zIon,"onUpdate:modelValue":e[6]||(e[6]=c=>n.zIon=c),label:"z"},null,8,["modelValue"]),gt(i,{modelValue:n.waterLoss,"onUpdate:modelValue":e[7]||(e[7]=c=>n.waterLoss=c),label:"water loss"},null,8,["modelValue"]),gt(i,{modelValue:n.ammoniumLoss,"onUpdate:modelValue":e[8]||(e[8]=c=>n.ammoniumLoss=c),label:"ammonium loss"},null,8,["modelValue"]),gt(i,{modelValue:n.proton,"onUpdate:modelValue":e[9]||(e[9]=c=>n.proton=c),label:"proton loss/addition"},null,8,["modelValue"])])]),_:1}),ia(" Modifications "),ti("div",BD,[gt(i,{modelValue:n.fixed_mod,"onUpdate:modelValue":[e[10]||(e[10]=c=>n.fixed_mod=c),n.setAAWithVarMod],label:"Fixed modifications","hide-details":"",density:"comfortable"},null,8,["modelValue","onUpdate:modelValue"]),gt(i,{modelValue:n.variable_mod,"onUpdate:modelValue":[e[11]||(e[11]=c=>n.variable_mod=c),n.setAAWithVarMod],label:"Variable modifications","hide-details":"",density:"comfortable"},null,8,["modelValue","onUpdate:modelValue"]),ND]),gt(l,{density:"compact"},{default:ci(()=>[gt(v,null,{default:ci(()=>[ia("Interaction tips")]),_:1}),gt(f,null,{default:ci(()=>[ia("Left click: highlights corresponding entries in Fragment Table and Mass Table")]),_:1}),gt(f,null,{default:ci(()=>[ia("Right click: opens variable modification menu (custom modification is available)")]),_:1})]),_:1})]),_:1}),gt(u,null,{default:ci(()=>[gt(p,{color:"primary",block:"true",onClick:e[12]||(e[12]=c=>n.dialog=!1)},{default:ci(()=>[ia("Close")]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue","theme"])],64)}const jD=hs(PD,[["render",VD],["__scopeId","data-v-9a6912d6"]]),UD=ns({name:"SequenceView",components:{SequenceViewInformation:jD,TabulatorTable:y0,AminoAcidCell:i6,ProteinTerminalCell:SD,SvgScreenshot:o6},props:{index:{type:Number,required:!0}},setup(){const n=Ns(),e=rc(),r=W2();return{streamlitDataStore:n,selectionStore:e,variableModData:r}},data(){return{rowWidth:35,massData:[],massTitle:"",ionTypes:[{text:"a",selected:!1},{text:"b",selected:!0},{text:"c",selected:!1},{text:"x",selected:!1},{text:"y",selected:!0},{text:"z",selected:!1}],ionTypesExtra:{"water loss":!1,"ammonium loss":!1,"proton loss/addition":!1},fragmentMassTolerance:10,visibilityOptions:[{text:"Fragments",selected:!0},{text:"Modifications",selected:!0}],fragmentTableColumnDefinitions:[{title:"Name",field:"Name",headerTooltip:"The name of the fragment ion, represented in Biemann notation."},{title:"Ion type",field:"IonType",headerTooltip:"The type of fragment ion identified in the spectrum."},{title:"Ion number",field:"IonNumber",sorter:"number",headerTooltip:"The position of the fragment ion within the sequence."},{title:"Theoretical mass",field:"TheoreticalMass",sorter:"number",headerTooltip:"The expected mass of the fragment ion."},{title:"Observed mass",field:"ObservedMass",formatter:Df(),sorter:"number",headerTooltip:"The mass of the fragment ion as observed in the spectrum."},{title:"Mass difference (Da)",field:"MassDiffDa",sorter:"number",headerTooltip:"The difference between the observed and theoretical masses of the fragment ion, in Daltons."},{title:"Mass difference (ppm)",field:"MassDiffPpm",sorter:"number",headerTooltip:"The difference between the observed and theoretical masses of the fragment ion, in parts per million (ppm)."}],fragmentTableData:[],fragmentTableTitle:"",residueCleavagePercentage:0,sequenceObjects:[],selectedFragTableRowIndex:void 0}},computed:{theme(){return this.streamlitDataStore.theme},selectedSequence(){const n=this.selectionStore.selectedProteinIndex;return typeof n=="number"?n:0},selectedTag(){return this.selectionStore.selectedTag},sequence(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.sequence)??[]},sequence_start_reported(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.proteoform_start)??0},sequence_start(){return this.sequence_start_reported<0?0:this.sequence_start_reported},n_truncation(){return this.sequence_start>0},n_determined(){return this.sequence_start_reported>=0},sequence_end_reported(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.proteoform_end)??this.sequence.length-1},sequence_end(){return this.sequence_end_reported<0?this.sequence.length-1:this.sequence_end_reported},c_truncation(){return this.sequence_end=0},modifications(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.modifications)??[]},coverage(){var e,r;const n=this.selectedSequence;return typeof n=="number"?((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.coverage)??[]:[]},maxCoverage(){var e,r;const n=this.selectedSequence;return typeof n=="number"?((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.maxCoverage)??-1:-1},theoreticalMass(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.theoretical_mass)??0},computedMass(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),(r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.computed_mass},fixedModificationSites(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.fixed_modifications)??[]},variableModifications(){return this.variableModData.variableModifications??{}},tickLabels(){return{20:"20",25:"25",30:"30",35:"35",40:"40"}},gridClasses(){return{"sequence-grid":!0,[`grid-width-${this.rowWidth}`]:!0}},proteinTerminalCellStyles(){var n;return{"--amino-acid-cell-hover-color":"#fff","--amino-acid-cell-hover-bg-color":((n=this.theme)==null?void 0:n.secondaryBackgroundColor)??"#000"}},selectedScanIndex(){if(this.selectionStore.selectedScanIndex!==void 0)return this.streamlitDataStore.allDataForDrawing.per_scan_data.length===1?0:this.selectionStore.selectedScanIndex},calculateCleavagePercentage(){let n=0;for(let e=0,r=this.sequenceObjects.length-1;ee.text==="Tags"))!=null&&n.selected):!1},showTruncations(){var n;return this.displayTnT?!!((n=this.visibilityOptions.find(e=>e.text==="Truncations"))!=null&&n.selected):!1},showModifications(){var n;return!!((n=this.visibilityOptions.find(e=>e.text==="Modifications"))!=null&&n.selected)},showFragments(){var n;return!!((n=this.visibilityOptions.find(e=>e.text==="Fragments"))!=null&&n.selected)}},watch:{selectedScanIndex(){this.preparePrecursorInfo(),this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},sequence(){this.selectionStore.updateSelectedAA(void 0),this.preparePrecursorInfo(),this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications(),this.updateSettings()},selectedTag(){this.updateTagPosition()},fragmentMassTolerance(){this.preparePrecursorInfo(),this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},ionTypes:{handler(){this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},deep:!0},ionTypesExtra:{handler(){this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},deep:!0},variableModifications(){this.preparePrecursorInfo(),this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()}},mounted(){this.selectionStore.updateSelectedAA(void 0),this.initializeSequenceObjects(),this.preparePrecursorInfo(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},methods:{getFragmentMasses(n){var r;let e=this.selectedSequence;return e===void 0&&(e=0),(r=this.streamlitDataStore.sequenceData)==null?void 0:r[e][`fragment_masses_${n}`]},updateMassTolerance(n){this.fragmentMassTolerance=Number.parseInt(n.target.value)},updateSettings(){var n,e;((n=this.streamlitDataStore.settings)==null?void 0:n.ion_types)!==void 0&&this.ionTypes.forEach(r=>{r.selected=this.streamlitDataStore.settings.ion_types.includes(r.text)}),((e=this.streamlitDataStore.settings)==null?void 0:e.tolerance)!==void 0&&(this.fragmentMassTolerance=this.streamlitDataStore.settings.tolerance)},toggleIonTypeSelected(n){this.ionTypes[n].selected=!this.ionTypes[n].selected},preparePrecursorInfo(){if(this.selectedScanIndex==null){this.massData=[];return}if(this.computedMass!==void 0){this.massTitle="Proteoform";let D="-",T="-";this.computedMass>0&&(D=this.computedMass.toFixed(2),T=Math.abs(this.theoreticalMass-this.computedMass).toFixed(2)),this.massData=[`Theoretical protein mass : ${this.theoreticalMass.toFixed(2)}`,`Observed proteoform mass : ${D}`,`Δ Mass (Da) : ${T}`],this.visibilityOptions.some(p=>p.text==="Tags")||(this.visibilityOptions.push({text:"Truncations",selected:!0}),this.visibilityOptions.push({text:"Tags",selected:!0}),this.updateSettings()),this.ionTypesExtra["ammonium loss"]=!1,this.ionTypesExtra["water loss"]=!1,this.ionTypesExtra["proton loss/addition"]=!1;return}const e=this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScanIndex].PrecursorMass;if(e===0){this.massData=[];return}let r=this.theoreticalMass;this.variableModData.isEmpty||(this.variableModifications.valueOf(),Object.values(this.variableModifications).forEach(D=>{r+=D}));const S=Math.abs(r-e);this.massTitle="Precursor",this.massData=[`Theoretical mass : ${r.toFixed(2)}`,`Observed mass : ${e.toFixed(2)}`,`Δ Mass (Da) : ${S.toFixed(2)}`]},prepareFragmentTable(){if(this.sequence.length<=0){this.fragmentTableTitle="";return}if(this.selectedScanIndex===void 0){this.fragmentTableTitle="";return}const e=this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScanIndex].MonoMass;let r=[];const S=this.sequence_end;this.ionTypes.filter(D=>D.selected).forEach(D=>{if((D.text==="a"||D.text==="b"||D.text==="c")&&this.sequence_start_reported<0||(D.text==="x"||D.text==="y"||D.text==="z")&&this.sequence_end_reported<0)return;const T=this.getFragmentMasses(D.text);for(let p=0,t=T.length;p{this.variableModData.isEmpty||((D.text==="a"||D.text==="b"||D.text==="c")&&Object.entries(this.variableModifications).forEach(([M,v])=>{parseInt(M)<=d&&(g+=v)}),(D.text==="x"||D.text==="y"||D.text==="z")&&Object.entries(this.variableModifications).forEach(([M,v])=>{S-parseInt(M)<=d&&(g+=v)}));const i=Object.entries(OO).filter(([M])=>this.ionTypesExtra[M]||M==="default").map(([M,v])=>v).flat();for(let M=0,v=e.length;M{const a=g+l,u=e[M]-a,o=u/a*1e6;if(Math.abs(o)>this.fragmentMassTolerance)return;const s={Name:`${D.text}${p+1}`,IonType:`${D.text}${f}`,IonNumber:p+1,TheoreticalMass:a.toFixed(3),ObservedMass:e[M],MassDiffDa:u.toFixed(3),MassDiffPpm:o.toFixed(3)};r.push(s);let h=d;(D.text==="a"||D.text==="b"||D.text==="c")&&(this.sequenceObjects[h][`${D.text}Ion`]=!0),(D.text==="x"||D.text==="y"||D.text==="z")&&(this.sequenceObjects[S-p][`${D.text}Ion`]=!0,h=S-p),f&&this.sequenceObjects[d].extraTypes.push(`${D.text}${f}`)})})}}),this.residueCleavagePercentage=this.calculateCleavagePercentage,this.fragmentTableData=r,this.fragmentTableTitle=`Matching fragments (# ${r.length})`},fixedModification(n){return this.fixedModificationSites.includes(n)},initializeSequenceObjects(){this.sequenceObjects=[],this.sequence.forEach((n,e)=>{const r=this.coverage[e];let S=!1;(this.sequence_start>e||this.sequence_endS.Name===e),this.selectionStore.selectedAminoAcid(this.fragmentTableData[this.selectedFragTableRowIndex].ObservedMass)},updateTagPosition(){this.sequence.length<=0||(this.sequenceObjects.length!==this.sequence.length&&this.initializeSequenceObjects(),this.sequence.forEach((n,e)=>{var D,T;const r=((D=this.selectedTag)==null?void 0:D.startPos)==e,S=((T=this.selectedTag)==null?void 0:T.endPos)==e;this.sequenceObjects[e].tagStart=r,this.sequenceObjects[e].tagEnd=S}))},prepareAmbigiousModifications(){this.modifications.forEach(n=>{const e=n.start,r=n.end,S=n.mass_diff.toFixed(2),D=n.labels,T=parseFloat(S).toLocaleString("en-US",{signDisplay:"always"});for(let p=e;p<=r;p++)p==e&&(this.sequenceObjects[p].modStart=!0),p==r&&(this.sequenceObjects[p].modEnd=!0,this.sequenceObjects[p].modMass=T,this.sequenceObjects[p].modLabels=D),p!=e&&p!=r&&(this.sequenceObjects[p].modCenter=!0)})}}});const Y2=n=>(Ty("data-v-14f01162"),n=n(),ky(),n),HD=Y2(()=>ti("div",{class:"d-flex justify-center"},[ti("h4",null,"Sequence View")],-1)),GD={class:"sequence-and-scale"},qD={id:"sequence-part"},WD={class:"d-flex justify-space-evenly"},YD={class:"d-flex justify-end px-4 mb-4"},$D={class:"d-flex justify-space-evenly"},ZD={class:"d-flex justify-space-evenly"},XD={class:"d-flex justify-space-evenly"},KD={key:0,class:"d-flex justify-center align-center"},JD={key:3,class:"d-flex justify-center align-center"},QD={key:0,class:"scale-container",title:"Sequence Tag Coverage"},ez={class:"scale-text"},tz=Y2(()=>ti("div",{class:"scale"},null,-1)),nz=Y2(()=>ti("div",{class:"scale-text"},"1x",-1)),rz={id:"sequence-view-table"};function iz(n,e,r,S,D,T){var w;const p=Gr("v-divider"),t=Gr("SvgScreenshot"),d=Gr("SequenceViewInformation"),g=Gr("v-btn"),i=Gr("v-list-item-title"),M=Gr("v-slider"),v=Gr("v-list-item"),f=Gr("v-checkbox"),l=Gr("v-text-field"),a=Gr("v-list"),u=Gr("v-card"),o=Gr("v-menu"),s=Gr("ProteinTerminalCell"),h=Gr("AminoAcidCell"),c=Gr("TabulatorTable"),m=Gr("v-sheet");return Ir(),ei(Yr,null,[HD,gt(m,{class:"pa-4 rounded-lg",style:{"max-width":"97%"},theme:((w=n.theme)==null?void 0:w.base)??"light",border:""},{default:ci(()=>[ti("div",GD,[ti("div",qD,[ti("div",WD,[n.massData.length!=0?(Ir(),ei(Yr,{key:0},[ti("h3",null,io(n.massTitle),1),gt(p,{vertical:!0}),(Ir(!0),ei(Yr,null,Hl(n.massData,(y,C)=>(Ir(),ei(Yr,{key:C},[ia(io(y)+" ",1),gt(p,{vertical:!0})],64))),128))],64)):Yi("",!0)]),ti("div",YD,[ti("div",null,[gt(t,{"element-id":"sequence-part"}),gt(d),gt(g,{id:"settings-button",variant:"text",icon:"mdi-cog",size:"large"}),gt(o,{"close-on-content-click":!1,activator:"#settings-button",location:"bottom"},{default:ci(()=>[gt(u,{"min-width":"300"},{default:ci(()=>[gt(a,null,{default:ci(()=>[gt(v,null,{default:ci(()=>[gt(i,null,{default:ci(()=>[ia("# amino acids per row")]),_:1}),gt(M,{modelValue:n.rowWidth,"onUpdate:modelValue":e[0]||(e[0]=y=>n.rowWidth=y),ticks:n.tickLabels,min:20,max:40,step:"5","show-ticks":"always","tick-size":"4"},null,8,["modelValue","ticks"])]),_:1}),gt(v,null,{default:ci(()=>[gt(i,null,{default:ci(()=>[ia("Visibility")]),_:1}),ti("div",$D,[(Ir(!0),ei(Yr,null,Hl(n.visibilityOptions,y=>(Ir(),za(f,{key:y.text,modelValue:y.selected,"onUpdate:modelValue":C=>y.selected=C,"hide-details":"",density:"comfortable",label:y.text},null,8,["modelValue","onUpdate:modelValue","label"]))),128))])]),_:1}),gt(v,null,{default:ci(()=>[gt(i,null,{default:ci(()=>[ia("Fragment ion types")]),_:1}),ti("div",ZD,[(Ir(!0),ei(Yr,null,Hl(n.ionTypes,(y,C)=>(Ir(),za(f,{key:y.text,modelValue:y.selected,"onUpdate:modelValue":_=>y.selected=_,"hide-details":"",density:"comfortable",label:y.text,onClick:_=>n.toggleIonTypeSelected(C),disabled:!n.showFragments},null,8,["modelValue","onUpdate:modelValue","label","onClick","disabled"]))),128))]),ti("div",XD,[(Ir(!0),ei(Yr,null,Hl(Object.keys(n.ionTypesExtra),y=>(Ir(),za(f,{key:y,modelValue:n.ionTypesExtra[y],"onUpdate:modelValue":C=>n.ionTypesExtra[y]=C,"hide-details":"",density:"comfortable",label:y,disabled:!n.showFragments},null,8,["modelValue","onUpdate:modelValue","label","disabled"]))),128))])]),_:1}),gt(v,null,{default:ci(()=>[gt(i,null,{default:ci(()=>[ia("Fragment mass tolerance")]),_:1}),gt(l,{modelValue:n.fragmentMassTolerance,"onUpdate:modelValue":e[1]||(e[1]=y=>n.fragmentMassTolerance=y),type:"number","hide-details":"auto",label:"mass tolerance in ppm",onChange:n.updateMassTolerance,disabled:!n.showFragments},null,8,["modelValue","onChange","disabled"])]),_:1})]),_:1})]),_:1})]),_:1})])]),ti("div",{class:Ju(["pb-4 px-2",n.gridClasses]),style:{width:"100%","max-width":"100%"}},[(Ir(!0),ei(Yr,null,Hl(n.sequenceObjects,(y,C)=>(Ir(),ei(Yr,{key:C},[n.showTruncations&&C!==0&&C%n.rowWidth===0||!n.showTruncations&&C-n.sequence_start!==0&&(C-n.sequence_start)%n.rowWidth===0&&Cn.sequence_start?(Ir(),ei("div",KD,io(n.showTruncations?C+1:C-n.sequence_start+1),1)):Yi("",!0),C===0?(Ir(),za(s,{key:1,"protein-terminal":"N-term",truncated:n.n_truncation,index:-1,"disable-variable-modification-selection":n.disableVariableModifications,determined:n.n_determined},null,8,["truncated","disable-variable-modification-selection","determined"])):Yi("",!0),n.showTruncations||n.sequence_start<=C&&n.sequence_end>=C?(Ir(),za(h,{key:2,index:C,"sequence-object":y,"fixed-modification":n.fixedModification(y.aminoAcid),"disable-variable-modification-selection":n.disableVariableModifications,showTags:n.showTags,showFragments:n.showFragments,showModifications:n.showModifications,onSelected:n.aminoAcidSelected},null,8,["index","sequence-object","fixed-modification","disable-variable-modification-selection","showTags","showFragments","showModifications","onSelected"])):Yi("",!0),n.showTruncations&&C%n.rowWidth===n.rowWidth-1&&C!==n.sequence.length-1||!n.showTruncations&&(C-n.sequence_start)%n.rowWidth===n.rowWidth-1&&Cn.sequence_start?(Ir(),ei("div",JD,io(n.showTruncations?C+1:C-n.sequence_start+1),1)):Yi("",!0),C===n.sequence.length-1?(Ir(),za(s,{key:4,"protein-terminal":"C-term",truncated:n.c_truncation,index:n.sequence.length,"disable-variable-modification-selection":n.disableVariableModifications,determined:n.c_determined},null,8,["truncated","index","disable-variable-modification-selection","determined"])):Yi("",!0)],64))),128))],2)]),n.maxCoverage>0&&n.showTags?(Ir(),ei("div",QD,[ti("div",ez,io(n.maxCoverage+"x"),1),tz,nz])):Yi("",!0)]),ti("div",rz,[n.fragmentTableTitle!==""&&n.showFragments?(Ir(),za(c,{key:0,"table-data":n.fragmentTableData,"column-definitions":n.fragmentTableColumnDefinitions,index:n.index,"selected-row-index-from-listening":n.selectedFragTableRowIndex,"table-layout-param":"fitColumns"},{default:ci(()=>[ia(io(n.fragmentTableTitle),1)]),"end-title-row":ci(()=>[ia("% Residue cleavage: "+io(n.residueCleavagePercentage.toFixed(3))+"%",1)]),_:1},8,["table-data","column-definitions","index","selected-row-index-from-listening"])):Yi("",!0)])]),_:1},8,["theme"])],64)}const az=hs(UD,[["render",iz],["__scopeId","data-v-14f01162"]]),oz=ns({name:"FLASHQuantView",components:{TabulatorTable:y0},setup(){return{streamlitDataStore:Ns()}},data(){return{setHeightInterval:null,featureGroupTableColumnDefinitions:[{title:"Index",field:"FeatureGroupIndex"},{title:"Monoisotopic Mass",field:"MonoisotopicMass"},{title:"Average Mass",field:"AverageMass"},{title:"Start Retention Time (FWHM)",field:"StartRetentionTime(FWHM)"},{title:"End Retention Time (FWHM)",field:"EndRetentionTime(FWHM)"},{title:"Feature Group Quantity",field:"FeatureGroupQuantity"},{title:"Feature Group Quantity",field:"FeatureGroupQuantity"},{title:"Min Charge",field:"MinCharge"},{title:"Max Charge",field:"MaxCharge"},{title:"Most Abundant Charge",field:"MostAbundantFeatureCharge"},{title:"Isotope Cosine Score",field:"IsotopeCosineScore"}],selectedFeatureGroupIndex:void 0,maximumIntensity:0}},computed:{theme(){return this.streamlitDataStore.theme},featureGroupTableData(){return this.streamlitDataStore.dataForDrawing.quant_data},trace3DgraphLayout(){var n,e,r,S;return{title:"Feature group signals",paper_bgcolor:(n=this.theme)==null?void 0:n.backgroundColor,plot_bgcolor:(e=this.theme)==null?void 0:e.secondaryBackgroundColor,height:800,font:{color:(r=this.theme)==null?void 0:r.textColor,family:(S=this.theme)==null?void 0:S.font},scene:{xaxis:{title:"m/z"},yaxis:{title:"retention time"},zaxis:{title:"intensity",range:[0,this.maximumIntensity]}},showlegend:!0}}},watch:{selectedFeatureGroupIndex(){this.trace3DGraph()}},mounted(){this.setHeightInterval=setInterval(()=>Wu.setFrameHeight(),500)},unmounted(){this.setHeightInterval!==null&&clearInterval(this.setHeightInterval)},methods:{async trace3DGraph(){await _l.newPlot("trace3Dplot",this.trace3DgraphData(),this.trace3DgraphLayout,{responsive:!0})},updateSelectedFeatureGroupRow(n){n!==void 0&&(this.selectedFeatureGroupIndex=n)},trace3DgraphData(){if(this.selectedFeatureGroupIndex===void 0)return[];const n=this.featureGroupTableData[this.selectedFeatureGroupIndex],e=[...new Set(n.Charges)],r={};e.forEach(T=>{r[T]={mzs:[],rts:[],intys:[]}}),n.Charges.forEach((T,p)=>{const t=n.MZs[p].split(",").map(parseFloat),d=n.RTs[p].split(",").map(parseFloat),g=n.Intensities[p].split(",").map(parseFloat);r[T].mzs.push(t[0]),r[T].rts.push(d[0]),r[T].intys.push(-1e3),r[T].mzs.push(...t),r[T].rts.push(...d),r[T].intys.push(...g),r[T].mzs.push(t[-1]),r[T].rts.push(d[-1]),r[T].intys.push(-1e3)}),this.maximumIntensity=Math.max.apply(null,Object.values(r).map(T=>Math.max.apply(null,T.intys)));let D=[];return Object.entries(r).forEach(([T,p])=>{D.push({x:p.mzs,y:p.rts,z:p.intys,mode:"lines",line:{color:"#3366CC"},type:"scatter3d",name:`Charge: ${T}`})}),D}}}),sz={class:"pa-4"},lz=ti("div",{id:"trace3Dplot",style:{width:"90%"}},null,-1);function uz(n,e,r,S,D,T){const p=Gr("TabulatorTable"),t=Gr("v-row");return Ir(),ei("div",sz,[gt(t,{class:"flex-nowrap"},{default:ci(()=>[n.featureGroupTableData?(Ir(),za(p,{key:0,title:"Feature groups",index:0,"table-data":n.featureGroupTableData,"column-definitions":n.featureGroupTableColumnDefinitions,"table-index-field":"FeatureGroupIndex",onRowSelected:n.updateSelectedFeatureGroupRow,"default-row":0},null,8,["table-data","column-definitions","onRowSelected"])):Yi("",!0)]),_:1}),lz])}const cz=hs(oz,[["render",uz]]),hz=ns({name:"InternalFragmentMap",components:{SvgScreenshot:o6},props:{index:{type:Number,required:!0}},setup(){const n=Ns(),e=rc();return{streamlitData:n,selectionStore:e}},data(){return{fragmentMassTolerance:10,fragmentMassToleranceUnit:"ppm",fragmentMassTypes:{by:!0,cy:!0,bz:!0},fragmentDisplayOverlay:!1,fragOpacity:.2,fragOpacityMin:.01,fragOpacityMax:1}},computed:{theme(){return this.streamlitData.theme},internalFragmentData(){var n;return(n=this.streamlitData.internalFragmentData)==null?void 0:n[this.selectedSequence]},selectedSequence(){const n=this.selectionStore.selectedProteinIndex;return typeof n=="number"?n:0},displayTnT(){var e,r;let n=this.selectedSequence;return((r=(e=this.streamlitData.sequenceData)==null?void 0:e[n])==null?void 0:r.computed_mass)!==void 0},sequence(){var r,S,D,T;const n=(r=this.streamlitData.sequenceData)==null?void 0:r[this.selectedSequence].proteoform_start,e=(S=this.streamlitData.sequenceData)==null?void 0:S[this.selectedSequence].proteoform_end;return n!==void 0&&e!==void 0?(D=this.streamlitData.sequenceData)==null?void 0:D[this.selectedSequence].sequence.slice(n,e+1):(T=this.streamlitData.sequenceData)==null?void 0:T[this.selectedSequence].sequence},fragmentStyle(){var n;return{height:(94/(((n=this.sequence)==null?void 0:n.length)??1)).toFixed(2)+"vw","--frag-block-opacity-value":this.fragOpacity}},fragmentTypeContainerStyle(){return{height:this.fragmentDisplayOverlay?this.fragmentStyle.height:"auto"}},fragmentTypeOverlayStyle(){return{position:this.fragmentDisplayOverlay?"absolute":"static"}},fragmentDisplayOverlayLabels(){return this.fragmentDisplayOverlay?"Overlay fragments from the same type":"Stacked"},selectedScanInfo(){if(this.selectionStore.selectedScanIndex!==void 0)return this.streamlitData.allDataForDrawing.per_scan_data.length==1?this.streamlitData.allDataForDrawing.per_scan_data[0]:this.streamlitData.allDataForDrawing.per_scan_data[this.selectionStore.selectedScanIndex]},byData(){var S,D,T;if(this.selectedScanInfo===void 0||!((S=this.internalFragmentData)!=null&&S.fragment_masses_by)||!((D=this.internalFragmentData)!=null&&D.start_indices_by)||!((T=this.internalFragmentData)!=null&&T.end_indices_by))return[];if(this.selectedScanInfo.PrecursorMass===0&&!this.displayTnT)return[];const e=[],r=this.selectedScanInfo.MonoMass;return this.filterMatchingMasses(r,this.internalFragmentData.fragment_masses_by,this.internalFragmentData.start_indices_by,this.internalFragmentData.end_indices_by,e),e},cyData(){var S,D,T;if(this.selectedScanInfo===void 0||!((S=this.internalFragmentData)!=null&&S.fragment_masses_cy)||!((D=this.internalFragmentData)!=null&&D.start_indices_cy)||!((T=this.internalFragmentData)!=null&&T.end_indices_cy))return[];if(this.selectedScanInfo.PrecursorMass===0&&!this.displayTnT)return[];const e=[],r=this.selectedScanInfo.MonoMass;return this.filterMatchingMasses(r,this.internalFragmentData.fragment_masses_cy,this.internalFragmentData.start_indices_cy,this.internalFragmentData.end_indices_cy,e),e},bzData(){var S,D,T;if(this.selectedScanInfo===void 0||!((S=this.internalFragmentData)!=null&&S.fragment_masses_bz)||!((D=this.internalFragmentData)!=null&&D.start_indices_bz)||!((T=this.internalFragmentData)!=null&&T.end_indices_bz))return[];if(this.selectedScanInfo.PrecursorMass===0&&!this.displayTnT)return[];const e=[],r=this.selectedScanInfo.MonoMass;return this.filterMatchingMasses(r,this.internalFragmentData.fragment_masses_bz,this.internalFragmentData.start_indices_bz,this.internalFragmentData.end_indices_bz,e),e}},methods:{updateMassTolerance(n){this.fragmentMassTolerance=Number.parseInt(n.target.value)},fragmentClasses(n,e,r,S){const D=n>e&&n<=r;let T=S;return this.fragmentDisplayOverlay&&(T+="-overlayed"),{[T]:D,"not-in-fragment":!D}},filterMatchingMasses(n,e,r,S,D){for(let T=0,p=e.length;Tthis.fragmentMassTolerance)){D.push({mass:t,start:r[T],end:S[T]});break}}}}}});const fz=n=>(Ty("data-v-ece55ad7"),n=n(),ky(),n),dz=fz(()=>ti("div",{class:"d-flex justify-center"},[ti("h4",null,"Internal Fragment Map")],-1)),pz={class:"d-flex justify-space-between"},mz=UE('
by/cz
bz
cy
',1),gz={class:"d-flex justify-end px-4 mb-4",style:{"max-width":"97%"}},vz={class:"d-flex"},yz={class:"d-flex justify-space-between"},bz={id:"internal-fragment-part"},xz={class:"d-flex",style:{"border-bottom":"white","border-bottom-width":"1px","border-bottom-style":"solid"}};function _z(n,e,r,S,D,T){var o;const p=Gr("SvgScreenshot"),t=Gr("v-btn"),d=Gr("v-list-item-title"),g=Gr("v-switch"),i=Gr("v-list-item"),M=Gr("v-text-field"),v=Gr("v-slider"),f=Gr("v-list"),l=Gr("v-card"),a=Gr("v-menu"),u=Gr("v-sheet");return Ir(),ei(Yr,null,[dz,ti("div",pz,[mz,ti("div",gz,[gt(p,{"element-id":"internal-fragment-part"}),gt(t,{id:"internal-frag-settings-button",variant:"text",icon:"mdi-cog",size:"medium"}),gt(a,{"close-on-content-click":!1,activator:"#internal-frag-settings-button",location:"bottom"},{default:ci(()=>[gt(l,{"min-width":"300"},{default:ci(()=>[gt(f,null,{default:ci(()=>[gt(i,null,{default:ci(()=>[gt(d,null,{default:ci(()=>[ia("Fragments display style")]),_:1}),ti("div",vz,[gt(g,{modelValue:n.fragmentDisplayOverlay,"onUpdate:modelValue":e[0]||(e[0]=s=>n.fragmentDisplayOverlay=s),"hide-details":"",label:`${n.fragmentDisplayOverlayLabels}`,class:"mr-4"},null,8,["modelValue","label"])])]),_:1}),gt(i,null,{default:ci(()=>[gt(d,null,{default:ci(()=>[ia("Opacity of each fragment (If overlay display style)")]),_:1}),ti("div",{style:zs({background:`rgba(240, 164, 65, ${n.fragOpacity})`})},[gt(v,{modelValue:n.fragOpacity,"onUpdate:modelValue":e[2]||(e[2]=s=>n.fragOpacity=s),class:"align-center ml-4",max:n.fragOpacityMax,min:n.fragOpacityMin,"hide-details":""},{append:ci(()=>[gt(M,{modelValue:n.fragOpacity,"onUpdate:modelValue":e[1]||(e[1]=s=>n.fragOpacity=s),"hide-details":"","single-line":"",min:n.fragOpacityMin,max:n.fragOpacityMax,step:"0.01",density:"compact",type:"number",class:"textFieldFontSize"},null,8,["modelValue","min","max"])]),_:1},8,["modelValue","max","min"])],4)]),_:1}),gt(i,null,{default:ci(()=>[gt(d,null,{default:ci(()=>[ia("Fragment mass tolerance")]),_:1}),ti("div",yz,[gt(g,{modelValue:n.fragmentMassToleranceUnit,"onUpdate:modelValue":e[3]||(e[3]=s=>n.fragmentMassToleranceUnit=s),"true-value":"ppm","false-value":"Da","hide-details":"",label:`${n.fragmentMassToleranceUnit}`,class:"mr-4"},null,8,["modelValue","label"]),gt(M,{modelValue:n.fragmentMassTolerance,"onUpdate:modelValue":e[4]||(e[4]=s=>n.fragmentMassTolerance=s),type:"number","hide-details":"auto",label:"mass tolerance",onChange:n.updateMassTolerance},null,8,["modelValue","onChange"])])]),_:1})]),_:1})]),_:1})]),_:1})])]),gt(u,{class:"pa-4 rounded-lg",style:{"max-width":"97%"},theme:((o=n.theme)==null?void 0:o.base)??"light",border:""},{default:ci(()=>[ti("div",bz,[ti("div",xz,[(Ir(!0),ei(Yr,null,Hl(n.sequence,(s,h)=>(Ir(),ei("div",{key:`${s}-${h}`,class:"d-flex justify-center align-center fragment-segment sequence-text",style:zs(n.fragmentStyle)},io(s),5))),128))]),ti("div",{style:zs(n.fragmentTypeContainerStyle)},[(Ir(!0),ei(Yr,null,Hl(n.byData,s=>(Ir(),ei("div",{key:s.mass,class:"d-flex",style:zs(n.fragmentTypeOverlayStyle)},[(Ir(!0),ei(Yr,null,Hl(n.sequence,(h,c)=>(Ir(),ei("div",{key:`${h}-${c}`,class:Ju(n.fragmentClasses(c,s.start,s.end,"by-fragment")),style:zs([{border:"1px solid white"},n.fragmentStyle])},null,6))),128))],4))),128))],4),ti("div",{style:zs(n.fragmentTypeContainerStyle)},[(Ir(!0),ei(Yr,null,Hl(n.cyData,s=>(Ir(),ei("div",{key:s.mass,class:"d-flex",style:zs(n.fragmentTypeOverlayStyle)},[(Ir(!0),ei(Yr,null,Hl(n.sequence,(h,c)=>(Ir(),ei("div",{key:`${h}-${c}`,class:Ju(n.fragmentClasses(c,s.start,s.end,"cy-fragment")),style:zs([{border:"1px solid white"},n.fragmentStyle])},null,6))),128))],4))),128))],4),ti("div",{style:zs(n.fragmentTypeContainerStyle)},[(Ir(!0),ei(Yr,null,Hl(n.bzData,s=>(Ir(),ei("div",{key:s.mass,class:"d-flex",style:zs(n.fragmentTypeOverlayStyle)},[(Ir(!0),ei(Yr,null,Hl(n.sequence,(h,c)=>(Ir(),ei("div",{key:`${h}-${c}`,class:Ju(n.fragmentClasses(c,s.start,s.end,"bz-fragment")),style:zs([{border:"1px solid white"},n.fragmentStyle])},null,6))),128))],4))),128))],4)])]),_:1},8,["theme"])],64)}const wz=hs(hz,[["render",_z],["__scopeId","data-v-ece55ad7"]]),Tz=ns({name:"FDRPlotly",props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Ns();return console.log("I exist!"),{streamlitDataStore:n}},computed:{xValues_target(){return this.streamlitDataStore.allDataForDrawing.density_target===void 0?[]:this.streamlitDataStore.allDataForDrawing.density_target.map(n=>n.x)},xValues_decoy(){return this.streamlitDataStore.allDataForDrawing.density_decoy===void 0?[]:this.streamlitDataStore.allDataForDrawing.density_decoy.map(n=>n.x)},yValues_target(){return this.streamlitDataStore.allDataForDrawing.density_target===void 0?[]:this.streamlitDataStore.allDataForDrawing.density_target.map(n=>n.y)},yValues_decoy(){return this.streamlitDataStore.allDataForDrawing.density_decoy===void 0?[]:this.streamlitDataStore.allDataForDrawing.density_decoy.map(n=>n.y)},id(){return`graph-${this.index}`},layout(){return{title:`${this.args.title}`,showlegend:!0,height:400,xaxis:{title:"QScore",showgrid:!1},yaxis:{title:"Density",showgrid:!0,rangemode:"nonnegative",fixedrange:!0},paper_bgcolor:"white",plot_bgcolor:"white",font:{color:"black",family:"Arial"}}},data(){return[{x:this.xValues_target,y:this.yValues_target,mode:"lines+markers",type:"scatter",name:"Target QScores",marker:{color:"green"}},{x:this.xValues_decoy,y:this.yValues_decoy,mode:"lines+markers",type:"scatter",name:"Decoy QScores",marker:{color:"red"}}]}},watch:{xValues_target(){this.graph()}},mounted(){this.graph()},methods:{async graph(){await _l.newPlot(this.id,this.data,this.layout,{modeBarButtonsToRemove:["toImage","sendDataToCloud"],modeBarButtonsToAdd:[{title:"Download as SVG",name:"toImageSvg",icon:_l.Icons.camera,click:n=>{_l.downloadImage(n,{filename:"FDR-plot",height:400,width:1200,format:"svg"})}}]})}}}),kz=["id"];function Mz(n,e,r,S,D,T){return Ir(),ei("div",{id:n.id,style:{width:"100%"}},null,8,kz)}const Az=hs(Tz,[["render",Mz]]),Sz=ns({name:"ComponentsRow",components:{InternalFragmentMap:wz,FLASHQuantView:cz,Plotly3Dplot:kO,PlotlyHeatmap:lR,TabulatorScanTable:mO,PlotlyLineplotUnified:xO,TabulatorMassTable:SO,TabulatorProteinTable:LO,TabulatorTagTable:PO,SequenceView:az,FDRPlotly:Az},props:{components:{type:Object,required:!0},rowIndex:{type:Number,required:!0}},data(){return{componentHeightMapping:{TabulatorScanTable:"height-any",TabulatorMassTable:"height-any",TabulatorProteinTable:"height-any",TabulatorTagTable:"height-any",PlotlyLineplot:"height-any",PlotlyLineplotTagger:"height-any",PlotlyLineplotUnified:"height-any",PlotlyHeatmap:"height-any",Plotly3Dplot:"height-any",SequenceView:"height-any",InternalFragmentMap:"height-any",FDRPlotly:"height-any"}}},methods:{componentClasses(n){return{[this.componentHeightMapping[n]]:!0,[`component-width-${this.components.length}`]:!0}},componentIndex(n){return n+this.rowIndex*100}}});const Cz={class:"component-row"};function Ez(n,e,r,S,D,T){const p=Gr("PlotlyHeatmap"),t=Gr("TabulatorScanTable"),d=Gr("TabulatorMassTable"),g=Gr("TabulatorProteinTable"),i=Gr("TabulatorTagTable"),M=Gr("PlotlyLineplotUnified"),v=Gr("Plotly3Dplot"),f=Gr("SequenceView"),l=Gr("InternalFragmentMap"),a=Gr("FLASHQuantView"),u=Gr("FDRPlotly");return Ir(),ei("div",Cz,[(Ir(!0),ei(Yr,null,Hl(n.components,(o,s)=>(Ir(),ei("div",{key:s,class:Ju(n.componentClasses(o.componentArgs.componentName))},[o.componentArgs.componentName==="PlotlyHeatmap"?(Ir(),za(p,{key:0,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="TabulatorScanTable"?(Ir(),za(t,{key:1,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="TabulatorMassTable"?(Ir(),za(d,{key:2,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="TabulatorProteinTable"?(Ir(),za(g,{key:3,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="TabulatorTagTable"?(Ir(),za(i,{key:4,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="PlotlyLineplot"?(Ir(),za(M,{key:5,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="PlotlyLineplotTagger"?(Ir(),za(M,{key:6,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="Plotly3Dplot"?(Ir(),za(v,{key:7,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="SequenceView"?(Ir(),za(f,{key:8,index:n.componentIndex(s)},null,8,["index"])):o.componentArgs.componentName==="InternalFragmentMap"?(Ir(),za(l,{key:9,index:n.componentIndex(s)},null,8,["index"])):o.componentArgs.componentName==="FLASHQuantView"?(Ir(),za(a,{key:10})):o.componentArgs.componentName==="FDRPlotly"?(Ir(),za(u,{key:11,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):Yi("",!0)],2))),128))])}const Lz=hs(Sz,[["render",Ez],["__scopeId","data-v-942c08f7"]]),Iz=ns({name:"ComponentsLayout",components:{ComponentsRow:Lz},props:{components:{type:Object,required:!0}},data(){return{columns:6}},methods:{componentRowClasses(){return{"[`height-${layout.height ?? 1}`]":!0,[`component-width-${this.components.length}`]:!0}}}});const Rz={class:"component-layout"};function Pz(n,e,r,S,D,T){const p=Gr("ComponentsRow");return Ir(),ei("div",Rz,[(Ir(!0),ei(Yr,null,Hl(n.components,(t,d)=>(Ir(),za(p,{key:d,components:t,"row-index":d},null,8,["components","row-index"]))),128))])}const Oz=hs(Iz,[["render",Pz],["__scopeId","data-v-721e06dc"]]),Dz=ns({name:"App",components:{ComponentsLayout:Oz},setup(){const n=Ns(),e=rc();return $r(e.$state,r=>{Wu.setComponentValue(wi(r))},{deep:!0,immediate:!0}),{streamlitDataStore:n,selectionStore:e}},data(){return{timer:void 0}},computed:{components(){var n;return(n=this.streamlitDataStore.args)==null?void 0:n.components}},created(){Wu.setComponentReady(),Wu.setFrameHeight(500),Wu.events.addEventListener(Wu.RENDER_EVENT,this.updateStreamlitData)},mounted(){this.timer=setInterval(()=>{Wu.setFrameHeight()},500)},unmounted(){Wu.events.removeEventListener(Wu.RENDER_EVENT,this.updateStreamlitData),clearInterval(this.timer)},updated(){Wu.setFrameHeight()},methods:{async updateStreamlitData(n){this.streamlitDataStore.updateRenderData(n.detail)}}});const zz={key:0},Fz={key:1,class:"d-flex w-100",style:{height:"400px"}};function Bz(n,e,r,S,D,T){const p=Gr("ComponentsLayout"),t=Gr("v-progress-linear"),d=Gr("v-alert");return n.components!==void 0&&n.components.length>0?(Ir(),ei("div",zz,[gt(p,{components:n.components},null,8,["components"])])):(Ir(),ei("div",Fz,[gt(d,{class:"h-50 ma-16 pr-16",icon:"mdi-application-variable-outline",title:"FLASHViewer loading",type:"info"},{default:ci(()=>[gt(t,{indeterminate:""}),ia(" Please wait... ")]),_:1})]))}const Nz=hs(Dz,[["render",Bz]]);const to=typeof window<"u",$2=to&&"IntersectionObserver"in window,Vz=to&&("ontouchstart"in window||window.navigator.maxTouchPoints>0);function b5(n,e,r){jz(n,e),e.set(n,r)}function jz(n,e){if(e.has(n))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Uz(n,e,r){var S=l6(n,e,"set");return Hz(n,S,r),r}function Hz(n,e,r){if(e.set)e.set.call(n,r);else{if(!e.writable)throw new TypeError("attempted to set read only private field");e.value=r}}function _d(n,e){var r=l6(n,e,"get");return Gz(n,r)}function l6(n,e,r){if(!e.has(n))throw new TypeError("attempted to "+r+" private field on non-instance");return e.get(n)}function Gz(n,e){return e.get?e.get.call(n):e.value}function u6(n,e,r){const S=e.length-1;if(S<0)return n===void 0?r:n;for(let D=0;Db0(n[S],e[S]))}function ix(n,e,r){return n==null||!e||typeof e!="string"?r:n[e]!==void 0?n[e]:(e=e.replace(/\[(\w+)\]/g,".$1"),e=e.replace(/^\./,""),u6(n,e.split("."),r))}function ph(n,e,r){if(e==null)return n===void 0?r:n;if(n!==Object(n)){if(typeof e!="function")return r;const D=e(n,r);return typeof D>"u"?r:D}if(typeof e=="string")return ix(n,e,r);if(Array.isArray(e))return u6(n,e,r);if(typeof e!="function")return r;const S=e(n,r);return typeof S>"u"?r:S}function Kh(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:n},(r,S)=>e+S)}function Qr(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(!(n==null||n===""))return isNaN(+n)?String(n):isFinite(+n)?`${Number(n)}${e}`:void 0}function ax(n){return n!==null&&typeof n=="object"&&!Array.isArray(n)}function ox(n){return n&&"$el"in n?n.$el:n}const x5=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16}),sx=Object.freeze({enter:"Enter",tab:"Tab",delete:"Delete",esc:"Escape",space:"Space",up:"ArrowUp",down:"ArrowDown",left:"ArrowLeft",right:"ArrowRight",end:"End",home:"Home",del:"Delete",backspace:"Backspace",insert:"Insert",pageup:"PageUp",pagedown:"PageDown",shift:"Shift"});function c6(n){return Object.keys(n)}function Od(n,e){return e.every(r=>n.hasOwnProperty(r))}function $d(n,e,r){const S=Object.create(null),D=Object.create(null);for(const T in n)e.some(p=>p instanceof RegExp?p.test(T):p===T)&&!(r!=null&&r.some(p=>p===T))?S[T]=n[T]:D[T]=n[T];return[S,D]}function ic(n,e){const r={...n};return e.forEach(S=>delete r[S]),r}const h6=/^on[^a-z]/,Z2=n=>h6.test(n),qz=["onAfterscriptexecute","onAnimationcancel","onAnimationend","onAnimationiteration","onAnimationstart","onAuxclick","onBeforeinput","onBeforescriptexecute","onChange","onClick","onCompositionend","onCompositionstart","onCompositionupdate","onContextmenu","onCopy","onCut","onDblclick","onFocusin","onFocusout","onFullscreenchange","onFullscreenerror","onGesturechange","onGestureend","onGesturestart","onGotpointercapture","onInput","onKeydown","onKeypress","onKeyup","onLostpointercapture","onMousedown","onMousemove","onMouseout","onMouseover","onMouseup","onMousewheel","onPaste","onPointercancel","onPointerdown","onPointerenter","onPointerleave","onPointermove","onPointerout","onPointerover","onPointerup","onReset","onSelect","onSubmit","onTouchcancel","onTouchend","onTouchmove","onTouchstart","onTransitioncancel","onTransitionend","onTransitionrun","onTransitionstart","onWheel"];function Qd(n){const[e,r]=$d(n,[h6]),S=ic(e,qz),[D,T]=$d(r,["class","style","id",/^data-/]);return Object.assign(D,e),Object.assign(T,S),[D,T]}function bu(n){return n==null?[]:Array.isArray(n)?n:[n]}function Zs(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(e,Math.min(r,n))}function _5(n){const e=n.toString().trim();return e.includes(".")?e.length-e.indexOf(".")-1:0}function w5(n,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0";return n+r.repeat(Math.max(0,e-n.length))}function Wz(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const r=[];let S=0;for(;S1&&arguments[1]!==void 0?arguments[1]:1e3;if(n=e&&S0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;const S={};for(const D in n)S[D]=n[D];for(const D in e){const T=n[D],p=e[D];if(ax(T)&&ax(p)){S[D]=Ku(T,p,r);continue}if(Array.isArray(T)&&Array.isArray(p)&&r){S[D]=r(T,p);continue}S[D]=p}return S}function f6(n){return n.map(e=>e.type===Yr?f6(e.children):e).flat()}function Ud(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(Ud.cache.has(n))return Ud.cache.get(n);const e=n.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return Ud.cache.set(n,e),e}Ud.cache=new Map;function ym(n,e){if(!e||typeof e!="object")return[];if(Array.isArray(e))return e.map(r=>ym(n,r)).flat(1);if(Array.isArray(e.children))return e.children.map(r=>ym(n,r)).flat(1);if(e.component){if(Object.getOwnPropertySymbols(e.component.provides).includes(n))return[e.component];if(e.component.subTree)return ym(n,e.component.subTree).flat(1)}return[]}var sv=new WeakMap,Sp=new WeakMap;class Yz{constructor(e){b5(this,sv,{writable:!0,value:[]}),b5(this,Sp,{writable:!0,value:0}),this.size=e}push(e){_d(this,sv)[_d(this,Sp)]=e,Uz(this,Sp,(_d(this,Sp)+1)%this.size)}values(){return _d(this,sv).slice(_d(this,Sp)).concat(_d(this,sv).slice(0,_d(this,Sp)))}}function $z(n){return"touches"in n?{clientX:n.touches[0].clientX,clientY:n.touches[0].clientY}:{clientX:n.clientX,clientY:n.clientY}}function X2(n){const e=yl({}),r=cn(n);return wu(()=>{for(const S in r.value)e[S]=r.value[S]},{flush:"sync"}),by(e)}function ly(n,e){return n.includes(e)}function d6(n){return n[2].toLowerCase()+n.slice(3)}const yh=()=>[Function,Array];function k5(n,e){return e="on"+sf(e),!!(n[e]||n[`${e}Once`]||n[`${e}Capture`]||n[`${e}OnceCapture`]||n[`${e}CaptureOnce`])}function K2(n){for(var e=arguments.length,r=new Array(e>1?e-1:0),S=1;S1&&arguments[1]!==void 0?arguments[1]:!0;const r=["button","[href]",'input:not([type="hidden"])',"select","textarea","[tabindex]"].map(S=>`${S}${e?':not([tabindex="-1"])':""}:not([disabled])`).join(", ");return[...n.querySelectorAll(r)]}function p6(n,e,r){let S,D=n.indexOf(document.activeElement);const T=e==="next"?1:-1;do D+=T,S=n[D];while((!S||S.offsetParent==null||!((r==null?void 0:r(S))??!0))&&D=0);return S}function uy(n,e){var S,D,T,p;const r=Dm(n);if(!e)(n===document.activeElement||!n.contains(document.activeElement))&&((S=r[0])==null||S.focus());else if(e==="first")(D=r[0])==null||D.focus();else if(e==="last")(T=r.at(-1))==null||T.focus();else if(typeof e=="number")(p=r[e])==null||p.focus();else{const t=p6(r,e);t?t.focus():uy(n,e==="next"?"first":"last")}}function m6(){}function l0(n,e){if(!(to&&typeof CSS<"u"&&typeof CSS.supports<"u"&&CSS.supports(`selector(${e})`)))return null;try{return!!n&&n.matches(e)}catch{return null}}const g6=["top","bottom"],Zz=["start","end","left","right"];function lx(n,e){let[r,S]=n.split(" ");return S||(S=ly(g6,r)?"start":ly(Zz,r)?"top":"center"),{side:ux(r,e),align:ux(S,e)}}function ux(n,e){return n==="start"?e?"right":"left":n==="end"?e?"left":"right":n}function gb(n){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[n.side],align:n.align}}function vb(n){return{side:n.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[n.align]}}function M5(n){return{side:n.align,align:n.side}}function A5(n){return ly(g6,n.side)?"y":"x"}class Yp{constructor(e){let{x:r,y:S,width:D,height:T}=e;this.x=r,this.y=S,this.width=D,this.height=T}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function S5(n,e){return{x:{before:Math.max(0,e.left-n.left),after:Math.max(0,n.right-e.right)},y:{before:Math.max(0,e.top-n.top),after:Math.max(0,n.bottom-e.bottom)}}}function J2(n){const e=n.getBoundingClientRect(),r=getComputedStyle(n),S=r.transform;if(S){let D,T,p,t,d;if(S.startsWith("matrix3d("))D=S.slice(9,-1).split(/, /),T=+D[0],p=+D[5],t=+D[12],d=+D[13];else if(S.startsWith("matrix("))D=S.slice(7,-1).split(/, /),T=+D[0],p=+D[3],t=+D[4],d=+D[5];else return new Yp(e);const g=r.transformOrigin,i=e.x-t-(1-T)*parseFloat(g),M=e.y-d-(1-p)*parseFloat(g.slice(g.indexOf(" ")+1)),v=T?e.width/T:n.offsetWidth+1,f=p?e.height/p:n.offsetHeight+1;return new Yp({x:i,y:M,width:v,height:f})}else return new Yp(e)}function Dd(n,e,r){if(typeof n.animate>"u")return{finished:Promise.resolve()};let S;try{S=n.animate(e,r)}catch{return{finished:Promise.resolve()}}return typeof S.finished>"u"&&(S.finished=new Promise(D=>{S.onfinish=()=>{D(S)}})),S}const Tv=new WeakMap;function Xz(n,e){Object.keys(e).forEach(r=>{if(Z2(r)){const S=d6(r),D=Tv.get(n);if(e[r]==null)D==null||D.forEach(T=>{const[p,t]=T;p===S&&(n.removeEventListener(S,t),D.delete(T))});else if(!D||![...D].some(T=>T[0]===S&&T[1]===e[r])){n.addEventListener(S,e[r]);const T=D||new Set;T.add([S,e[r]]),Tv.has(n)||Tv.set(n,T)}}else e[r]==null?n.removeAttribute(r):n.setAttribute(r,e[r])})}function Kz(n,e){Object.keys(e).forEach(r=>{if(Z2(r)){const S=d6(r),D=Tv.get(n);D==null||D.forEach(T=>{const[p,t]=T;p===S&&(n.removeEventListener(S,t),D.delete(T))})}else n.removeAttribute(r)})}const Cp=2.4,C5=.2126729,E5=.7151522,L5=.072175,Jz=.55,Qz=.58,eF=.57,tF=.62,lv=.03,I5=1.45,nF=5e-4,rF=1.25,iF=1.25,R5=.078,P5=12.82051282051282,uv=.06,O5=.001;function D5(n,e){const r=(n.r/255)**Cp,S=(n.g/255)**Cp,D=(n.b/255)**Cp,T=(e.r/255)**Cp,p=(e.g/255)**Cp,t=(e.b/255)**Cp;let d=r*C5+S*E5+D*L5,g=T*C5+p*E5+t*L5;if(d<=lv&&(d+=(lv-d)**I5),g<=lv&&(g+=(lv-g)**I5),Math.abs(g-d)d){const M=(g**Jz-d**Qz)*rF;i=M-O5?0:M>-R5?M-M*P5*uv:M+uv}return i*100}function aF(n,e){e=Array.isArray(e)?e.slice(0,-1).map(r=>`'${r}'`).join(", ")+` or '${e.at(-1)}'`:`'${e}'`}const cy=.20689655172413793,oF=n=>n>cy**3?Math.cbrt(n):n/(3*cy**2)+4/29,sF=n=>n>cy?n**3:3*cy**2*(n-4/29);function v6(n){const e=oF,r=e(n[1]);return[116*r-16,500*(e(n[0]/.95047)-r),200*(r-e(n[2]/1.08883))]}function y6(n){const e=sF,r=(n[0]+16)/116;return[e(r+n[1]/500)*.95047,e(r),e(r-n[2]/200)*1.08883]}const lF=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],uF=n=>n<=.0031308?n*12.92:1.055*n**(1/2.4)-.055,cF=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],hF=n=>n<=.04045?n/12.92:((n+.055)/1.055)**2.4;function b6(n){const e=Array(3),r=uF,S=lF;for(let D=0;D<3;++D)e[D]=Math.round(Zs(r(S[D][0]*n[0]+S[D][1]*n[1]+S[D][2]*n[2]))*255);return{r:e[0],g:e[1],b:e[2]}}function Q2(n){let{r:e,g:r,b:S}=n;const D=[0,0,0],T=hF,p=cF;e=T(e/255),r=T(r/255),S=T(S/255);for(let t=0;t<3;++t)D[t]=p[t][0]*e+p[t][1]*r+p[t][2]*S;return D}function z5(n){return!!n&&/^(#|var\(--|(rgb|hsl)a?\()/.test(n)}const F5=/^(?(?:rgb|hsl)a?)\((?.+)\)/,fF={rgb:(n,e,r,S)=>({r:n,g:e,b:r,a:S}),rgba:(n,e,r,S)=>({r:n,g:e,b:r,a:S}),hsl:(n,e,r,S)=>B5({h:n,s:e,l:r,a:S}),hsla:(n,e,r,S)=>B5({h:n,s:e,l:r,a:S}),hsv:(n,e,r,S)=>rf({h:n,s:e,v:r,a:S}),hsva:(n,e,r,S)=>rf({h:n,s:e,v:r,a:S})};function Pc(n){if(typeof n=="number")return{r:(n&16711680)>>16,g:(n&65280)>>8,b:n&255};if(typeof n=="string"&&F5.test(n)){const{groups:e}=n.match(F5),{fn:r,values:S}=e,D=S.split(/,\s*/).map(T=>T.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(r)?parseFloat(T)/100:parseFloat(T));return fF[r](...D)}else if(typeof n=="string"){let e=n.startsWith("#")?n.slice(1):n;return[3,4].includes(e.length)?e=e.split("").map(r=>r+r).join(""):[6,8].includes(e.length),k6(e)}else if(typeof n=="object"){if(Od(n,["r","g","b"]))return n;if(Od(n,["h","s","l"]))return rf(e_(n));if(Od(n,["h","s","v"]))return rf(n)}throw new TypeError(`Invalid color: ${n==null?n:String(n)||n.constructor.name} +Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function rf(n){const{h:e,s:r,v:S,a:D}=n,T=t=>{const d=(t+e/60)%6;return S-S*r*Math.max(Math.min(d,4-d,1),0)},p=[T(5),T(3),T(1)].map(t=>Math.round(t*255));return{r:p[0],g:p[1],b:p[2],a:D}}function B5(n){return rf(e_(n))}function Xy(n){if(!n)return{h:0,s:1,v:1,a:1};const e=n.r/255,r=n.g/255,S=n.b/255,D=Math.max(e,r,S),T=Math.min(e,r,S);let p=0;D!==T&&(D===e?p=60*(0+(r-S)/(D-T)):D===r?p=60*(2+(S-e)/(D-T)):D===S&&(p=60*(4+(e-r)/(D-T)))),p<0&&(p=p+360);const t=D===0?0:(D-T)/D,d=[p,t,D];return{h:d[0],s:d[1],v:d[2],a:n.a}}function x6(n){const{h:e,s:r,v:S,a:D}=n,T=S-S*r/2,p=T===1||T===0?0:(S-T)/Math.min(T,1-T);return{h:e,s:p,l:T,a:D}}function e_(n){const{h:e,s:r,l:S,a:D}=n,T=S+r*Math.min(S,1-S),p=T===0?0:2-2*S/T;return{h:e,s:p,v:T,a:D}}function _6(n){let{r:e,g:r,b:S,a:D}=n;return D===void 0?`rgb(${e}, ${r}, ${S})`:`rgba(${e}, ${r}, ${S}, ${D})`}function w6(n){return _6(rf(n))}function cv(n){const e=Math.round(n).toString(16);return("00".substr(0,2-e.length)+e).toUpperCase()}function T6(n){let{r:e,g:r,b:S,a:D}=n;return`#${[cv(e),cv(r),cv(S),D!==void 0?cv(Math.round(D*255)):""].join("")}`}function k6(n){n=pF(n);let[e,r,S,D]=Wz(n,2).map(T=>parseInt(T,16));return D=D===void 0?D:D/255,{r:e,g:r,b:S,a:D}}function dF(n){const e=k6(n);return Xy(e)}function M6(n){return T6(rf(n))}function pF(n){return n.startsWith("#")&&(n=n.slice(1)),n=n.replace(/([^0-9a-f])/gi,"F"),(n.length===3||n.length===4)&&(n=n.split("").map(e=>e+e).join("")),n.length!==6&&(n=w5(w5(n,6),8,"F")),n}function mF(n,e){const r=v6(Q2(n));return r[0]=r[0]+e*10,b6(y6(r))}function gF(n,e){const r=v6(Q2(n));return r[0]=r[0]-e*10,b6(y6(r))}function cx(n){const e=Pc(n);return Q2(e)[1]}function vF(n,e){const r=cx(n),S=cx(e),D=Math.max(r,S),T=Math.min(r,S);return(D+.05)/(T+.05)}function A6(n){const e=Math.abs(D5(Pc(0),Pc(n)));return Math.abs(D5(Pc(16777215),Pc(n)))>Math.min(e,50)?"#fff":"#000"}function ur(n,e){return r=>Object.keys(n).reduce((S,D)=>{const p=typeof n[D]=="object"&&n[D]!=null&&!Array.isArray(n[D])?n[D]:{type:n[D]};return r&&D in r?S[D]={...p,default:r[D]}:S[D]=p,e&&!S[D].source&&(S[D].source=e),S},{})}const Zr=ur({class:[String,Array],style:{type:[String,Array,Object],default:null}},"component");function ac(n){if(n._setup=n._setup??n.setup,!n.name)return n;if(n._setup){n.props=ur(n.props??{},n.name)();const e=Object.keys(n.props);n.filterProps=function(S){return $d(S,e,["class","style"])},n.props._as=String,n.setup=function(S,D){const T=r_();if(!T.value)return n._setup(S,D);const{props:p,provideSubDefaults:t}=MF(S,S._as??n.name,T),d=n._setup(p,D);return t(),d}}return n}function Ar(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return e=>(n?ac:ns)(e)}function Nc(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",r=arguments.length>2?arguments[2]:void 0;return Ar()({name:r??sf(tc(n.replace(/__/g,"-"))),props:{tag:{type:String,default:e},...Zr()},setup(S,D){let{slots:T}=D;return()=>{var p;return Xf(S.tag,{class:[n,S.class],style:S.style},(p=T.default)==null?void 0:p.call(T))}}})}function S6(n){if(typeof n.getRootNode!="function"){for(;n.parentNode;)n=n.parentNode;return n!==document?null:document}const e=n.getRootNode();return e!==document&&e.getRootNode({composed:!0})!==document?null:e}const zm="cubic-bezier(0.4, 0, 0.2, 1)",yF="cubic-bezier(0.0, 0, 0.2, 1)",bF="cubic-bezier(0.4, 0, 1, 1)";function Ss(n,e){const r=Ey();if(!r)throw new Error(`[Vuetify] ${n} ${e||"must be called from inside a setup function"}`);return r}function ff(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables";const e=Ss(n).type;return Ud((e==null?void 0:e.aliasName)||(e==null?void 0:e.name))}let C6=0,kv=new WeakMap;function Js(){const n=Ss("getUid");if(kv.has(n))return kv.get(n);{const e=C6++;return kv.set(n,e),e}}Js.reset=()=>{C6=0,kv=new WeakMap};function t_(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(;n;){if(e?xF(n):n_(n))return n;n=n.parentElement}return document.scrollingElement}function hy(n,e){const r=[];if(e&&n&&!e.contains(n))return r;for(;n&&(n_(n)&&r.push(n),n!==e);)n=n.parentElement;return r}function n_(n){if(!n||n.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(n);return e.overflowY==="scroll"||e.overflowY==="auto"&&n.scrollHeight>n.clientHeight}function xF(n){if(!n||n.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(n);return["scroll","auto"].includes(e.overflowY)}function _F(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ss("injectSelf");const{provides:r}=e;if(r&&n in r)return r[n]}function wF(n){for(;n;){if(window.getComputedStyle(n).position==="fixed")return!0;n=n.offsetParent}return!1}function Or(n){const e=Ss("useRender");e.render=n}const u0=Symbol.for("vuetify:defaults");function TF(n){return Vr(n)}function r_(){const n=ka(u0);if(!n)throw new Error("[Vuetify] Could not find defaults instance");return n}function es(n,e){const r=r_(),S=Vr(n),D=cn(()=>{if(yu(e==null?void 0:e.disabled))return r.value;const p=yu(e==null?void 0:e.scoped),t=yu(e==null?void 0:e.reset),d=yu(e==null?void 0:e.root);if(S.value==null&&!(p||t||d))return r.value;let g=Ku(S.value,{prev:r.value});if(p)return g;if(t||d){const i=Number(t||1/0);for(let M=0;M<=i&&!(!g||!("prev"in g));M++)g=g.prev;return g&&typeof d=="string"&&d in g&&(g=Ku(Ku(g,{prev:g}),g[d])),g}return g.prev?Ku(g.prev,g):g});return ts(u0,D),D}function kF(n,e){var r,S;return typeof((r=n.props)==null?void 0:r[e])<"u"||typeof((S=n.props)==null?void 0:S[Ud(e)])<"u"}function MF(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:r_();const S=Ss("useDefaults");if(e=e??S.type.name??S.type.__name,!e)throw new Error("[Vuetify] Could not determine component name");const D=cn(()=>{var d;return(d=r.value)==null?void 0:d[n._as??e]}),T=new Proxy(n,{get(d,g){var M,v,f,l;const i=Reflect.get(d,g);return g==="class"||g==="style"?[(M=D.value)==null?void 0:M[g],i].filter(a=>a!=null):typeof g=="string"&&!kF(S.vnode,g)?((v=D.value)==null?void 0:v[g])??((l=(f=r.value)==null?void 0:f.global)==null?void 0:l[g])??i:i}}),p=Wr();wu(()=>{if(D.value){const d=Object.entries(D.value).filter(g=>{let[i]=g;return i.startsWith(i[0].toUpperCase())});p.value=d.length?Object.fromEntries(d):void 0}else p.value=void 0});function t(){const d=_F(u0,S);ts(u0,cn(()=>p.value?Ku((d==null?void 0:d.value)??{},p.value):d==null?void 0:d.value))}return{props:T,provideSubDefaults:t}}const Ky=["sm","md","lg","xl","xxl"],hx=Symbol.for("vuetify:display"),N5={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}},AF=function(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:N5;return Ku(N5,n)};function V5(n){return to&&!n?window.innerWidth:typeof n=="object"&&n.clientWidth||0}function j5(n){return to&&!n?window.innerHeight:typeof n=="object"&&n.clientHeight||0}function U5(n){const e=to&&!n?window.navigator.userAgent:"ssr";function r(l){return!!e.match(l)}const S=r(/android/i),D=r(/iphone|ipad|ipod/i),T=r(/cordova/i),p=r(/electron/i),t=r(/chrome/i),d=r(/edge/i),g=r(/firefox/i),i=r(/opera/i),M=r(/win/i),v=r(/mac/i),f=r(/linux/i);return{android:S,ios:D,cordova:T,electron:p,chrome:t,edge:d,firefox:g,opera:i,win:M,mac:v,linux:f,touch:Vz,ssr:e==="ssr"}}function SF(n,e){const{thresholds:r,mobileBreakpoint:S}=AF(n),D=Wr(j5(e)),T=Wr(U5(e)),p=yl({}),t=Wr(V5(e));function d(){D.value=j5(),t.value=V5()}function g(){d(),T.value=U5()}return wu(()=>{const i=t.value=r.xxl,u=i?"xs":M?"sm":v?"md":f?"lg":l?"xl":"xxl",o=typeof S=="number"?S:r[S],s=t.valueXf(a_,{...n,class:"mdi"})},bi=[String,Function,Object,Array],fx=Symbol.for("vuetify:icons"),Jy=ur({icon:{type:bi},tag:{type:String,required:!0}},"icon"),dx=Ar()({name:"VComponentIcon",props:Jy(),setup(n,e){let{slots:r}=e;return()=>{const S=n.icon;return gt(n.tag,null,{default:()=>{var D;return[n.icon?gt(S,null,null):(D=r.default)==null?void 0:D.call(r)]}})}}}),i_=ac({name:"VSvgIcon",inheritAttrs:!1,props:Jy(),setup(n,e){let{attrs:r}=e;return()=>gt(n.tag,qr(r,{style:null}),{default:()=>[gt("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(n.icon)?n.icon.map(S=>Array.isArray(S)?gt("path",{d:S[0],"fill-opacity":S[1]},null):gt("path",{d:S},null)):gt("path",{d:n.icon},null)])]})}}),LF=ac({name:"VLigatureIcon",props:Jy(),setup(n){return()=>gt(n.tag,null,{default:()=>[n.icon]})}}),a_=ac({name:"VClassIcon",props:Jy(),setup(n){return()=>gt(n.tag,{class:n.icon},null)}}),IF={svg:{component:i_},class:{component:a_}};function RF(n){return Ku({defaultSet:"mdi",sets:{...IF,mdi:EF},aliases:{...CF,vuetify:["M8.2241 14.2009L12 21L22 3H14.4459L8.2241 14.2009Z",["M7.26303 12.4733L7.00113 12L2 3H12.5261C12.5261 3 12.5261 3 12.5261 3L7.26303 12.4733Z",.6]],"vuetify-outline":"svg:M7.26 12.47 12.53 3H2L7.26 12.47ZM14.45 3 8.22 14.2 12 21 22 3H14.45ZM18.6 5 12 16.88 10.51 14.2 15.62 5ZM7.26 8.35 5.4 5H9.13L7.26 8.35Z"}},n)}const PF=n=>{const e=ka(fx);if(!e)throw new Error("Missing Vuetify Icons provide!");return{iconData:cn(()=>{var d;const S=yu(n);if(!S)return{component:dx};let D=S;if(typeof D=="string"&&(D=D.trim(),D.startsWith("$")&&(D=(d=e.aliases)==null?void 0:d[D.slice(1)])),!D)throw new Error(`Could not find aliased icon "${S}"`);if(Array.isArray(D))return{component:i_,icon:D};if(typeof D!="string")return{component:dx,icon:D};const T=Object.keys(e.sets).find(g=>typeof D=="string"&&D.startsWith(`${g}:`)),p=T?D.slice(T.length+1):D;return{component:e.sets[T??e.defaultSet].component,icon:p}})}},OF={badge:"Badge",open:"Open",close:"Close",dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},dateRangeInput:{divider:"to"},datePicker:{ok:"OK",cancel:"Cancel",range:{title:"Select dates",header:"Enter dates"},title:"Select date",header:"Enter date",input:{placeholder:"Enter date"}},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action",otp:"Please enter OTP character {0}"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},timePicker:{am:"AM",pm:"PM"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Go to page {0}",currentPage:"Page {0}, Current page",first:"First page",last:"Last page"}},stepper:{next:"Next",prev:"Previous"},rating:{ariaLabel:{item:"Rating {0} of {1}"}},loading:"Loading...",infiniteScroll:{loadMore:"Load more",empty:"No more"}},DF={af:!1,ar:!0,bg:!1,ca:!1,ckb:!1,cs:!1,de:!1,el:!1,en:!1,es:!1,et:!1,fa:!0,fi:!1,fr:!1,hr:!1,hu:!1,he:!0,id:!1,it:!1,ja:!1,ko:!1,lv:!1,lt:!1,nl:!1,no:!1,pl:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,srCyrl:!1,srLatn:!1,sv:!1,th:!1,tr:!1,az:!1,uk:!1,vi:!1,zhHans:!1,zhHant:!1};function $f(n,e){let r;function S(){r=Um(),r.run(()=>e.length?e(()=>{r==null||r.stop(),S()}):e())}$r(n,D=>{D&&!r?S():D||(r==null||r.stop(),r=void 0)},{immediate:!0}),Tl(()=>{r==null||r.stop()})}function xi(n,e,r){let S=arguments.length>3&&arguments[3]!==void 0?arguments[3]:M=>M,D=arguments.length>4&&arguments[4]!==void 0?arguments[4]:M=>M;const T=Ss("useProxiedModel"),p=Vr(n[e]!==void 0?n[e]:r),t=Ud(e),g=cn(t!==e?()=>{var M,v,f,l;return n[e],!!(((M=T.vnode.props)!=null&&M.hasOwnProperty(e)||(v=T.vnode.props)!=null&&v.hasOwnProperty(t))&&((f=T.vnode.props)!=null&&f.hasOwnProperty(`onUpdate:${e}`)||(l=T.vnode.props)!=null&&l.hasOwnProperty(`onUpdate:${t}`)))}:()=>{var M,v;return n[e],!!((M=T.vnode.props)!=null&&M.hasOwnProperty(e)&&((v=T.vnode.props)!=null&&v.hasOwnProperty(`onUpdate:${e}`)))});$f(()=>!g.value,()=>{$r(()=>n[e],M=>{p.value=M})});const i=cn({get(){const M=n[e];return S(g.value?M:p.value)},set(M){const v=D(M),f=wi(g.value?n[e]:p.value);f===v||S(f)===M||(p.value=v,T==null||T.emit(`update:${e}`,v))}});return Object.defineProperty(i,"externalValue",{get:()=>g.value?n[e]:p.value}),i}const H5="$vuetify.",G5=(n,e)=>n.replace(/\{(\d+)\}/g,(r,S)=>String(e[+S])),E6=(n,e,r)=>function(S){for(var D=arguments.length,T=new Array(D>1?D-1:0),p=1;pnew Intl.NumberFormat([n.value,e.value],S).format(r)}function yb(n,e,r){const S=xi(n,e,n[e]??r.value);return S.value=n[e]??r.value,$r(r,D=>{n[e]==null&&(S.value=r.value)}),S}function I6(n){return e=>{const r=yb(e,"locale",n.current),S=yb(e,"fallback",n.fallback),D=yb(e,"messages",n.messages);return{name:"vuetify",current:r,fallback:S,messages:D,t:E6(r,S,D),n:L6(r,S),provide:I6({current:r,fallback:S,messages:D})}}}function zF(n){const e=Wr((n==null?void 0:n.locale)??"en"),r=Wr((n==null?void 0:n.fallback)??"en"),S=Vr({en:OF,...n==null?void 0:n.messages});return{name:"vuetify",current:e,fallback:r,messages:S,t:E6(e,r,S),n:L6(e,r),provide:I6({current:e,fallback:r,messages:S})}}const c0=Symbol.for("vuetify:locale");function FF(n){return n.name!=null}function BF(n){const e=n!=null&&n.adapter&&FF(n==null?void 0:n.adapter)?n==null?void 0:n.adapter:zF(n),r=VF(e,n);return{...e,...r}}function oc(){const n=ka(c0);if(!n)throw new Error("[Vuetify] Could not find injected locale instance");return n}function NF(n){const e=ka(c0);if(!e)throw new Error("[Vuetify] Could not find injected locale instance");const r=e.provide(n),S=jF(r,e.rtl,n),D={...r,...S};return ts(c0,D),D}function VF(n,e){const r=Vr((e==null?void 0:e.rtl)??DF),S=cn(()=>r.value[n.current.value]??!1);return{isRtl:S,rtl:r,rtlClasses:cn(()=>`v-locale--is-${S.value?"rtl":"ltr"}`)}}function jF(n,e,r){const S=cn(()=>r.rtl??e.value[n.current.value]??!1);return{isRtl:S,rtl:e,rtlClasses:cn(()=>`v-locale--is-${S.value?"rtl":"ltr"}`)}}function Cs(){const n=ka(c0);if(!n)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:n.isRtl,rtlClasses:n.rtlClasses}}const Fm=Symbol.for("vuetify:theme"),oa=ur({theme:String},"theme"),im={defaultTheme:"light",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-bright":"#FFFFFF","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#6200EE","primary-darken-1":"#3700B3",secondary:"#03DAC6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#F5F5F5","theme-on-code":"#000000"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-bright":"#ccbfd6","surface-variant":"#a3a3a3","on-surface-variant":"#424242",primary:"#BB86FC","primary-darken-1":"#3700B3",secondary:"#03DAC5","secondary-darken-1":"#03DAC5",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"high-emphasis-opacity":1,"medium-emphasis-opacity":.7,"disabled-opacity":.5,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC"}}}};function UF(){var r,S;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:im;if(!n)return{...im,isDisabled:!0};const e={};for(const[D,T]of Object.entries(n.themes??{})){const p=T.dark||D==="dark"?(r=im.themes)==null?void 0:r.dark:(S=im.themes)==null?void 0:S.light;e[D]=Ku(p,T)}return Ku(im,{...n,themes:e})}function HF(n){const e=UF(n),r=Vr(e.defaultTheme),S=Vr(e.themes),D=cn(()=>{const i={};for(const[M,v]of Object.entries(S.value)){const f=i[M]={...v,colors:{...v.colors}};if(e.variations)for(const l of e.variations.colors){const a=f.colors[l];if(a)for(const u of["lighten","darken"]){const o=u==="lighten"?mF:gF;for(const s of Kh(e.variations[u],1))f.colors[`${l}-${u}-${s}`]=T6(o(Pc(a),s))}}for(const l of Object.keys(f.colors)){if(/^on-[a-z]/.test(l)||f.colors[`on-${l}`])continue;const a=`on-${l}`,u=Pc(f.colors[l]);f.colors[a]=A6(u)}}return i}),T=cn(()=>D.value[r.value]),p=cn(()=>{const i=[];T.value.dark&&wd(i,":root",["color-scheme: dark"]),wd(i,":root",q5(T.value));for(const[l,a]of Object.entries(D.value))wd(i,`.v-theme--${l}`,[`color-scheme: ${a.dark?"dark":"normal"}`,...q5(a)]);const M=[],v=[],f=new Set(Object.values(D.value).flatMap(l=>Object.keys(l.colors)));for(const l of f)/^on-[a-z]/.test(l)?wd(v,`.${l}`,[`color: rgb(var(--v-theme-${l})) !important`]):(wd(M,`.bg-${l}`,[`--v-theme-overlay-multiplier: var(--v-theme-${l}-overlay-multiplier)`,`background-color: rgb(var(--v-theme-${l})) !important`,`color: rgb(var(--v-theme-on-${l})) !important`]),wd(v,`.text-${l}`,[`color: rgb(var(--v-theme-${l})) !important`]),wd(v,`.border-${l}`,[`--v-border-color: var(--v-theme-${l})`]));return i.push(...M,...v),i.map((l,a)=>a===0?l:` ${l}`).join("")});function t(){return{style:[{children:p.value,id:"vuetify-theme-stylesheet",nonce:e.cspNonce||!1}]}}function d(i){if(e.isDisabled)return;const M=i._context.provides.usehead;if(M)if(M.push){const f=M.push(t);to&&$r(p,()=>{f.patch(t)})}else to?(M.addHeadObjs(cn(t)),wu(()=>M.updateDOM())):M.addHeadObjs(t());else{let l=function(){if(typeof document<"u"&&!f){const a=document.createElement("style");a.type="text/css",a.id="vuetify-theme-stylesheet",e.cspNonce&&a.setAttribute("nonce",e.cspNonce),f=a,document.head.appendChild(f)}f&&(f.innerHTML=p.value)};var v=l;let f=to?document.getElementById("vuetify-theme-stylesheet"):null;to?$r(p,l,{immediate:!0}):l()}}const g=cn(()=>e.isDisabled?void 0:`v-theme--${r.value}`);return{install:d,isDisabled:e.isDisabled,name:r,themes:S,current:T,computedThemes:D,themeClasses:g,styles:p,global:{name:r,current:T}}}function Ma(n){Ss("provideTheme");const e=ka(Fm,null);if(!e)throw new Error("Could not find Vuetify theme injection");const r=cn(()=>n.theme??e.name.value),S=cn(()=>e.themes.value[r.value]),D=cn(()=>e.isDisabled?void 0:`v-theme--${r.value}`),T={...e,name:r,current:S,themeClasses:D};return ts(Fm,T),T}function R6(){Ss("useTheme");const n=ka(Fm,null);if(!n)throw new Error("Could not find Vuetify theme injection");return n}function wd(n,e,r){n.push(`${e} { +`,...r.map(S=>` ${S}; `),`} -`)}function q5(n){const e=n.dark?2:1,r=n.dark?1:2,C=[];for(const[D,T]of Object.entries(n.colors)){const p=Pc(T);C.push(`--v-theme-${D}: ${p.r},${p.g},${p.b}`),D.startsWith("on-")||C.push(`--v-theme-${D}-overlay-multiplier: ${cx(T)>.18?e:r}`)}for(const[D,T]of Object.entries(n.variables)){const p=typeof T=="string"&&T.startsWith("#")?Pc(T):void 0,t=p?`${p.r}, ${p.g}, ${p.b}`:void 0;C.push(`--v-${D}: ${t??T}`)}return C}const px={"001":1,AD:1,AE:6,AF:6,AG:0,AI:1,AL:1,AM:1,AN:1,AR:1,AS:0,AT:1,AU:1,AX:1,AZ:1,BA:1,BD:0,BE:1,BG:1,BH:6,BM:1,BN:1,BR:0,BS:0,BT:0,BW:0,BY:1,BZ:0,CA:0,CH:1,CL:1,CM:1,CN:1,CO:0,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DM:0,DO:0,DZ:6,EC:1,EE:1,EG:6,ES:1,ET:0,FI:1,FJ:1,FO:1,FR:1,GB:1,"GB-alt-variant":0,GE:1,GF:1,GP:1,GR:1,GT:0,GU:0,HK:0,HN:0,HR:1,HU:1,ID:0,IE:1,IL:0,IN:0,IQ:6,IR:6,IS:1,IT:1,JM:0,JO:6,JP:0,KE:0,KG:1,KH:0,KR:0,KW:6,KZ:1,LA:0,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MH:0,MK:1,MM:0,MN:1,MO:0,MQ:1,MT:0,MV:5,MX:0,MY:1,MZ:0,NI:0,NL:1,NO:1,NP:0,NZ:1,OM:6,PA:0,PE:0,PH:0,PK:0,PL:1,PR:0,PT:0,PY:0,QA:6,RE:1,RO:1,RS:1,RU:1,SA:0,SD:6,SE:1,SG:0,SI:1,SK:1,SM:1,SV:0,SY:6,TH:0,TJ:1,TM:1,TR:1,TT:0,TW:0,UA:1,UM:0,US:0,UY:1,UZ:1,VA:1,VE:0,VI:0,VN:1,WS:0,XK:1,YE:0,ZA:0,ZW:0};function UF(n,e){const r=[];let C=[];const D=P6(n),T=O6(n),p=D.getDay()-px[e.slice(-2).toUpperCase()],t=T.getDay()-px[e.slice(-2).toUpperCase()];for(let d=0;d{const C=new Date(W5);return C.setDate(W5.getDate()+e+r),new Intl.DateTimeFormat(n,{weekday:"narrow"}).format(C)})}function YF(n,e,r){const C=new Date(n);let D={};switch(e){case"fullDateWithWeekday":D={weekday:"long",day:"numeric",month:"long",year:"numeric"};break;case"normalDateWithWeekday":D={weekday:"short",day:"numeric",month:"short"};break;case"keyboardDate":D={};break;case"monthAndDate":D={month:"long",day:"numeric"};break;case"monthAndYear":D={month:"long",year:"numeric"};break;case"dayOfMonth":D={day:"numeric"};break;default:D={timeZone:"UTC",timeZoneName:"short"}}return new Intl.DateTimeFormat(r,D).format(C)}function $F(n,e){const r=new Date(n);return r.setDate(r.getDate()+e),r}function ZF(n,e){const r=new Date(n);return r.setMonth(r.getMonth()+e),r}function XF(n){return n.getFullYear()}function KF(n){return n.getMonth()}function JF(n){return new Date(n.getFullYear(),0,1)}function QF(n){return new Date(n.getFullYear(),11,31)}function eB(n,e){return mx(n,e[0])&&nB(n,e[1])}function tB(n){if(!n||n==null)return!1;const e=new Date(n);return e instanceof Date&&!isNaN(e.getTime())}function mx(n,e){return n.getTime()>e.getTime()}function nB(n,e){return n.getTime()1&&arguments[1]!==void 0?arguments[1]:"content";const r=Vr(),C=Vr();if(to){const D=new ResizeObserver(T=>{n==null||n(T,D),T.length&&(e==="content"?C.value=T[0].contentRect:C.value=T[0].target.getBoundingClientRect())});Tl(()=>{D.disconnect()}),$r(r,(T,p)=>{p&&(D.unobserve(ox(p)),C.value=void 0),T&&D.observe(ox(T))},{flush:"post"})}return{resizeRef:r,contentRect:Hm(C)}}const fy=Symbol.for("vuetify:layout"),D6=Symbol.for("vuetify:layout-item"),Z5=1e3,z6=ur({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},"layout"),x0=ur({name:{type:String},order:{type:[Number,String],default:0},absolute:Boolean},"layout-item");function hB(){const n=ka(fy);if(!n)throw new Error("[Vuetify] Could not find injected layout");return{getLayoutItem:n.getLayoutItem,mainRect:n.mainRect,mainStyles:n.mainStyles}}function _0(n){const e=ka(fy);if(!e)throw new Error("[Vuetify] Could not find injected layout");const r=n.id??`layout-item-${Js()}`,C=Ss("useLayoutItem");ts(D6,{id:r});const D=Wr(!1);ZT(()=>D.value=!0),$T(()=>D.value=!1);const{layoutItemStyles:T,layoutItemScrimStyles:p}=e.register(C,{...n,active:cn(()=>D.value?!1:n.active.value),id:r});return Tl(()=>e.unregister(r)),{layoutItemStyles:T,layoutRect:e.layoutRect,layoutItemScrimStyles:p}}const fB=(n,e,r,C)=>{let D={top:0,left:0,right:0,bottom:0};const T=[{id:"",layer:{...D}}];for(const p of n){const t=e.get(p),d=r.get(p),g=C.get(p);if(!t||!d||!g)continue;const i={...D,[t.value]:parseInt(D[t.value],10)+(g.value?parseInt(d.value,10):0)};T.push({id:p,layer:i}),D=i}return T};function F6(n){const e=ka(fy,null),r=cn(()=>e?e.rootZIndex.value-100:Z5),C=Vr([]),D=yl(new Map),T=yl(new Map),p=yl(new Map),t=yl(new Map),d=yl(new Map),{resizeRef:g,contentRect:i}=Th(),M=cn(()=>{const w=new Map,y=n.overlaps??[];for(const S of y.filter(_=>_.includes(":"))){const[_,k]=S.split(":");if(!C.value.includes(_)||!C.value.includes(k))continue;const E=D.get(_),x=D.get(k),A=T.get(_),L=T.get(k);!E||!x||!A||!L||(w.set(k,{position:E.value,amount:parseInt(A.value,10)}),w.set(_,{position:x.value,amount:-parseInt(L.value,10)}))}return w}),v=cn(()=>{const w=[...new Set([...p.values()].map(S=>S.value))].sort((S,_)=>S-_),y=[];for(const S of w){const _=C.value.filter(k=>{var E;return((E=p.get(k))==null?void 0:E.value)===S});y.push(..._)}return fB(y,D,T,t)}),f=cn(()=>!Array.from(d.values()).some(w=>w.value)),l=cn(()=>v.value[v.value.length-1].layer),a=cn(()=>({"--v-layout-left":Qr(l.value.left),"--v-layout-right":Qr(l.value.right),"--v-layout-top":Qr(l.value.top),"--v-layout-bottom":Qr(l.value.bottom),...f.value?void 0:{transition:"none"}})),u=cn(()=>v.value.slice(1).map((w,y)=>{let{id:S}=w;const{layer:_}=v.value[y],k=T.get(S),E=D.get(S);return{id:S,..._,size:Number(k.value),position:E.value}})),o=w=>u.value.find(y=>y.id===w),s=Ss("createLayout"),c=Wr(!1);Ks(()=>{c.value=!0}),ts(fy,{register:(w,y)=>{let{id:S,order:_,position:k,layoutSize:E,elementSize:x,active:A,disableTransitions:L,absolute:b}=y;p.set(S,_),D.set(S,k),T.set(S,E),t.set(S,A),L&&d.set(S,L);const I=ym(D6,s==null?void 0:s.vnode).indexOf(w);I>-1?C.value.splice(I,0,S):C.value.push(S);const O=cn(()=>u.value.findIndex(N=>N.id===S)),z=cn(()=>r.value+v.value.length*2-O.value*2),F=cn(()=>{const N=k.value==="left"||k.value==="right",W=k.value==="right",j=k.value==="bottom",$={[k.value]:0,zIndex:z.value,transform:`translate${N?"X":"Y"}(${(A.value?0:-110)*(W||j?-1:1)}%)`,position:b.value||r.value!==Z5?"absolute":"fixed",...f.value?void 0:{transition:"none"}};if(!c.value)return $;const U=u.value[O.value];if(!U)throw new Error(`[Vuetify] Could not find layout item "${S}"`);const G=M.value.get(S);return G&&(U[G.position]+=G.amount),{...$,height:N?`calc(100% - ${U.top}px - ${U.bottom}px)`:x.value?`${x.value}px`:void 0,left:W?void 0:`${U.left}px`,right:W?`${U.right}px`:void 0,top:k.value!=="bottom"?`${U.top}px`:void 0,bottom:k.value!=="top"?`${U.bottom}px`:void 0,width:N?x.value?`${x.value}px`:void 0:`calc(100% - ${U.left}px - ${U.right}px)`}}),B=cn(()=>({zIndex:z.value-1}));return{layoutItemStyles:F,layoutItemScrimStyles:B,zIndex:z}},unregister:w=>{p.delete(w),D.delete(w),T.delete(w),t.delete(w),d.delete(w),C.value=C.value.filter(y=>y!==w)},mainRect:l,mainStyles:a,getLayoutItem:o,items:u,layoutRect:i,rootZIndex:r});const h=cn(()=>["v-layout",{"v-layout--full-height":n.fullHeight}]),m=cn(()=>({zIndex:r.value,position:e?"relative":void 0,overflow:e?"hidden":void 0}));return{layoutClasses:h,layoutStyles:m,getLayoutItem:o,items:u,layoutRect:i,layoutRef:g}}function B6(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{blueprint:e,...r}=n,C=Ku(e,r),{aliases:D={},components:T={},directives:p={}}=C,t=_F(C.defaults),d=MF(C.display,C.ssr),g=jF(C.theme),i=LF(C.icons),M=zF(C.locale),v=cB(C.date);return{install:l=>{for(const a in p)l.directive(a,p[a]);for(const a in T)l.component(a,T[a]);for(const a in D)l.component(a,ac({...D[a],name:a,aliasName:D[a].name}));if(g.install(l),l.provide(u0,t),l.provide(hx,d),l.provide(Fm,g),l.provide(fx,i),l.provide(c0,M),l.provide($5,v),to&&C.ssr)if(l.$nuxt)l.$nuxt.hook("app:suspense:resolve",()=>{d.update()});else{const{mount:a}=l;l.mount=function(){const u=a(...arguments);return Ua(()=>d.update()),l.mount=a,u}}Js.reset(),l.mixin({computed:{$vuetify(){return yl({defaults:Ep.call(this,u0),display:Ep.call(this,hx),theme:Ep.call(this,Fm),icons:Ep.call(this,fx),locale:Ep.call(this,c0),date:Ep.call(this,$5)})}}})},defaults:t,display:d,theme:g,icons:i,locale:M,date:v}}const dB="3.3.16";B6.version=dB;function Ep(n){var C,D;const e=this.$,r=((C=e.parent)==null?void 0:C.provides)??((D=e.vnode.appContext)==null?void 0:D.provides);if(r&&n in r)return r[n]}const pB=ur({...Zr(),...z6({fullHeight:!0}),...oa()},"VApp"),mB=Ar()({name:"VApp",props:pB(),setup(n,e){let{slots:r}=e;const C=Ma(n),{layoutClasses:D,layoutStyles:T,getLayoutItem:p,items:t,layoutRef:d}=F6(n),{rtlClasses:g}=Cs();return Or(()=>{var i;return gt("div",{ref:d,class:["v-application",C.themeClasses.value,D.value,g.value,n.class],style:[T.value,n.style]},[gt("div",{class:"v-application__wrap"},[(i=r.default)==null?void 0:i.call(r)])])}),{getLayoutItem:p,items:t,theme:C}}});const Si=ur({tag:{type:String,default:"div"}},"tag"),N6=ur({text:String,...Zr(),...Si()},"VToolbarTitle"),o_=Ar()({name:"VToolbarTitle",props:N6(),setup(n,e){let{slots:r}=e;return Or(()=>{const C=!!(r.default||r.text||n.text);return gt(n.tag,{class:["v-toolbar-title",n.class],style:n.style},{default:()=>{var D;return[C&>("div",{class:"v-toolbar-title__placeholder"},[r.text?r.text():n.text,(D=r.default)==null?void 0:D.call(r)])]}})}),{}}}),gB=ur({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function Au(n,e,r){return Ar()({name:n,props:gB({mode:r,origin:e}),setup(C,D){let{slots:T}=D;const p={onBeforeEnter(t){C.origin&&(t.style.transformOrigin=C.origin)},onLeave(t){if(C.leaveAbsolute){const{offsetTop:d,offsetLeft:g,offsetWidth:i,offsetHeight:M}=t;t._transitionInitialStyles={position:t.style.position,top:t.style.top,left:t.style.left,width:t.style.width,height:t.style.height},t.style.position="absolute",t.style.top=`${d}px`,t.style.left=`${g}px`,t.style.width=`${i}px`,t.style.height=`${M}px`}C.hideOnLeave&&t.style.setProperty("display","none","important")},onAfterLeave(t){if(C.leaveAbsolute&&(t!=null&&t._transitionInitialStyles)){const{position:d,top:g,left:i,width:M,height:v}=t._transitionInitialStyles;delete t._transitionInitialStyles,t.style.position=d||"",t.style.top=g||"",t.style.left=i||"",t.style.width=M||"",t.style.height=v||""}}};return()=>{const t=C.group?_7:bh;return Xf(t,{name:C.disabled?"":n,css:!C.disabled,...C.group?void 0:{mode:C.mode},...C.disabled?{}:p},T.default)}}})}function V6(n,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return Ar()({name:n,props:{mode:{type:String,default:r},disabled:Boolean},setup(C,D){let{slots:T}=D;return()=>Xf(bh,{name:C.disabled?"":n,css:!C.disabled,...C.disabled?{}:e},T.default)}})}function j6(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const r=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)?"width":"height",C=tc(`offset-${r}`);return{onBeforeEnter(p){p._parent=p.parentNode,p._initialStyle={transition:p.style.transition,overflow:p.style.overflow,[r]:p.style[r]}},onEnter(p){const t=p._initialStyle;p.style.setProperty("transition","none","important"),p.style.overflow="hidden";const d=`${p[C]}px`;p.style[r]="0",p.offsetHeight,p.style.transition=t.transition,n&&p._parent&&p._parent.classList.add(n),requestAnimationFrame(()=>{p.style[r]=d})},onAfterEnter:T,onEnterCancelled:T,onLeave(p){p._initialStyle={transition:"",overflow:p.style.overflow,[r]:p.style[r]},p.style.overflow="hidden",p.style[r]=`${p[C]}px`,p.offsetHeight,requestAnimationFrame(()=>p.style[r]="0")},onAfterLeave:D,onLeaveCancelled:D};function D(p){n&&p._parent&&p._parent.classList.remove(n),T(p)}function T(p){const t=p._initialStyle[r];p.style.overflow=p._initialStyle.overflow,t!=null&&(p.style[r]=t),delete p._initialStyle}}const vB=ur({target:Object},"v-dialog-transition"),Qy=Ar()({name:"VDialogTransition",props:vB(),setup(n,e){let{slots:r}=e;const C={onBeforeEnter(D){D.style.pointerEvents="none",D.style.visibility="hidden"},async onEnter(D,T){var v;await new Promise(f=>requestAnimationFrame(f)),await new Promise(f=>requestAnimationFrame(f)),D.style.visibility="";const{x:p,y:t,sx:d,sy:g,speed:i}=K5(n.target,D),M=Dd(D,[{transform:`translate(${p}px, ${t}px) scale(${d}, ${g})`,opacity:0},{}],{duration:225*i,easing:gF});(v=X5(D))==null||v.forEach(f=>{Dd(f,[{opacity:0},{opacity:0,offset:.33},{}],{duration:225*2*i,easing:zm})}),M.finished.then(()=>T())},onAfterEnter(D){D.style.removeProperty("pointer-events")},onBeforeLeave(D){D.style.pointerEvents="none"},async onLeave(D,T){var v;await new Promise(f=>requestAnimationFrame(f));const{x:p,y:t,sx:d,sy:g,speed:i}=K5(n.target,D);Dd(D,[{},{transform:`translate(${p}px, ${t}px) scale(${d}, ${g})`,opacity:0}],{duration:125*i,easing:vF}).finished.then(()=>T()),(v=X5(D))==null||v.forEach(f=>{Dd(f,[{},{opacity:0,offset:.2},{opacity:0}],{duration:125*2*i,easing:zm})})},onAfterLeave(D){D.style.removeProperty("pointer-events")}};return()=>n.target?gt(bh,qr({name:"dialog-transition"},C,{css:!1}),r):gt(bh,{name:"dialog-transition"},r)}});function X5(n){var r;const e=(r=n.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list"))==null?void 0:r.children;return e&&[...e]}function K5(n,e){const r=n.getBoundingClientRect(),C=J2(e),[D,T]=getComputedStyle(e).transformOrigin.split(" ").map(o=>parseFloat(o)),[p,t]=getComputedStyle(e).getPropertyValue("--v-overlay-anchor-origin").split(" ");let d=r.left+r.width/2;p==="left"||t==="left"?d-=r.width/2:(p==="right"||t==="right")&&(d+=r.width/2);let g=r.top+r.height/2;p==="top"||t==="top"?g-=r.height/2:(p==="bottom"||t==="bottom")&&(g+=r.height/2);const i=r.width/C.width,M=r.height/C.height,v=Math.max(1,i,M),f=i/v||0,l=M/v||0,a=C.width*C.height/(window.innerWidth*window.innerHeight),u=a>.12?Math.min(1.5,(a-.12)*10+1):1;return{x:d-(D+C.left),y:g-(T+C.top),sx:f,sy:l,speed:u}}const yB=Au("fab-transition","center center","out-in"),bB=Au("dialog-bottom-transition"),xB=Au("dialog-top-transition"),gx=Au("fade-transition"),s_=Au("scale-transition"),_B=Au("scroll-x-transition"),wB=Au("scroll-x-reverse-transition"),TB=Au("scroll-y-transition"),kB=Au("scroll-y-reverse-transition"),MB=Au("slide-x-transition"),AB=Au("slide-x-reverse-transition"),l_=Au("slide-y-transition"),SB=Au("slide-y-reverse-transition"),e1=V6("expand-transition",j6()),u_=V6("expand-x-transition",j6("",!0)),CB=ur({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),Fa=Ar(!1)({name:"VDefaultsProvider",props:CB(),setup(n,e){let{slots:r}=e;const{defaults:C,disabled:D,reset:T,root:p,scoped:t}=by(n);return es(C,{reset:T,root:p,scoped:t,disabled:D}),()=>{var d;return(d=r.default)==null?void 0:d.call(r)}}});const sc=ur({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function lc(n){return{dimensionStyles:cn(()=>({height:Qr(n.height),maxHeight:Qr(n.maxHeight),maxWidth:Qr(n.maxWidth),minHeight:Qr(n.minHeight),minWidth:Qr(n.minWidth),width:Qr(n.width)}))}}function EB(n){return{aspectStyles:cn(()=>{const e=Number(n.aspectRatio);return e?{paddingBottom:String(1/e*100)+"%"}:void 0})}}const U6=ur({aspectRatio:[String,Number],contentClass:String,inline:Boolean,...Zr(),...sc()},"VResponsive"),vx=Ar()({name:"VResponsive",props:U6(),setup(n,e){let{slots:r}=e;const{aspectStyles:C}=EB(n),{dimensionStyles:D}=lc(n);return Or(()=>{var T;return gt("div",{class:["v-responsive",{"v-responsive--inline":n.inline},n.class],style:[D.value,n.style]},[gt("div",{class:"v-responsive__sizer",style:C.value},null),(T=r.additional)==null?void 0:T.call(r),r.default&>("div",{class:["v-responsive__content",n.contentClass]},[r.default()])])}),{}}}),df=ur({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:n=>n!==!0}},"transition"),Oc=(n,e)=>{let{slots:r}=e;const{transition:C,disabled:D,...T}=n,{component:p=bh,...t}=typeof C=="object"?C:{};return Xf(p,qr(typeof C=="string"?{name:D?"":C}:t,T,{disabled:D}),r)};function LB(n,e){if(!$2)return;const r=e.modifiers||{},C=e.value,{handler:D,options:T}=typeof C=="object"?C:{handler:C,options:{}},p=new IntersectionObserver(function(){var M;let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],d=arguments.length>1?arguments[1]:void 0;const g=(M=n._observe)==null?void 0:M[e.instance.$.uid];if(!g)return;const i=t.some(v=>v.isIntersecting);D&&(!r.quiet||g.init)&&(!r.once||i||g.init)&&D(i,t,d),i&&r.once?H6(n,e):g.init=!0},T);n._observe=Object(n._observe),n._observe[e.instance.$.uid]={init:!1,observer:p},p.observe(n)}function H6(n,e){var C;const r=(C=n._observe)==null?void 0:C[e.instance.$.uid];r&&(r.observer.unobserve(n),delete n._observe[e.instance.$.uid])}const og={mounted:LB,unmounted:H6},G6=ur({alt:String,cover:Boolean,eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},sizes:String,src:{type:[String,Object],default:""},srcset:String,...U6(),...Zr(),...df()},"VImg"),Zd=Ar()({name:"VImg",directives:{intersect:og},props:G6(),emits:{loadstart:n=>!0,load:n=>!0,error:n=>!0},setup(n,e){let{emit:r,slots:C}=e;const D=Wr(""),T=Vr(),p=Wr(n.eager?"loading":"idle"),t=Wr(),d=Wr(),g=cn(()=>n.src&&typeof n.src=="object"?{src:n.src.src,srcset:n.srcset||n.src.srcset,lazySrc:n.lazySrc||n.src.lazySrc,aspect:Number(n.aspectRatio||n.src.aspect||0)}:{src:n.src,srcset:n.srcset,lazySrc:n.lazySrc,aspect:Number(n.aspectRatio||0)}),i=cn(()=>g.value.aspect||t.value/d.value||0);$r(()=>n.src,()=>{M(p.value!=="idle")}),$r(i,(S,_)=>{!S&&_&&T.value&&u(T.value)}),Sy(()=>M());function M(S){if(!(n.eager&&S)&&!($2&&!S&&!n.eager)){if(p.value="loading",g.value.lazySrc){const _=new Image;_.src=g.value.lazySrc,u(_,null)}g.value.src&&Ua(()=>{var _,k;if(r("loadstart",((_=T.value)==null?void 0:_.currentSrc)||g.value.src),(k=T.value)!=null&&k.complete){if(T.value.naturalWidth||f(),p.value==="error")return;i.value||u(T.value,null),v()}else i.value||u(T.value),l()})}}function v(){var S;l(),p.value="loaded",r("load",((S=T.value)==null?void 0:S.currentSrc)||g.value.src)}function f(){var S;p.value="error",r("error",((S=T.value)==null?void 0:S.currentSrc)||g.value.src)}function l(){const S=T.value;S&&(D.value=S.currentSrc||S.src)}let a=-1;function u(S){let _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const k=()=>{clearTimeout(a);const{naturalHeight:E,naturalWidth:x}=S;E||x?(t.value=x,d.value=E):!S.complete&&p.value==="loading"&&_!=null?a=window.setTimeout(k,_):(S.currentSrc.endsWith(".svg")||S.currentSrc.startsWith("data:image/svg+xml"))&&(t.value=1,d.value=1)};k()}const o=cn(()=>({"v-img__img--cover":n.cover,"v-img__img--contain":!n.cover})),s=()=>{var k;if(!g.value.src||p.value==="idle")return null;const S=gt("img",{class:["v-img__img",o.value],src:g.value.src,srcset:g.value.srcset,alt:n.alt,sizes:n.sizes,ref:T,onLoad:v,onError:f},null),_=(k=C.sources)==null?void 0:k.call(C);return gt(Oc,{transition:n.transition,appear:!0},{default:()=>[Co(_?gt("picture",{class:"v-img__picture"},[_,S]):S,[[kh,p.value==="loaded"]])]})},c=()=>gt(Oc,{transition:n.transition},{default:()=>[g.value.lazySrc&&p.value!=="loaded"&>("img",{class:["v-img__img","v-img__img--preload",o.value],src:g.value.lazySrc,alt:n.alt},null)]}),h=()=>C.placeholder?gt(Oc,{transition:n.transition,appear:!0},{default:()=>[(p.value==="loading"||p.value==="error"&&!C.error)&>("div",{class:"v-img__placeholder"},[C.placeholder()])]}):null,m=()=>C.error?gt(Oc,{transition:n.transition,appear:!0},{default:()=>[p.value==="error"&>("div",{class:"v-img__error"},[C.error()])]}):null,w=()=>n.gradient?gt("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${n.gradient})`}},null):null,y=Wr(!1);{const S=$r(i,_=>{_&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{y.value=!0})}),S())})}return Or(()=>{const[S]=vx.filterProps(n);return Co(gt(vx,qr({class:["v-img",{"v-img--booting":!y.value},n.class],style:[{width:Qr(n.width==="auto"?t.value:n.width)},n.style]},S,{aspectRatio:i.value,"aria-label":n.alt,role:n.alt?"img":void 0}),{additional:()=>gt(Yr,null,[gt(s,null,null),gt(c,null,null),gt(w,null,null),gt(h,null,null),gt(m,null,null)]),default:C.default}),[[Tu("intersect"),{handler:M,options:n.options},null,{once:!0}]])}),{currentSrc:D,image:T,state:p,naturalWidth:t,naturalHeight:d}}}),Su=ur({border:[Boolean,Number,String]},"border");function uc(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();return{borderClasses:cn(()=>{const C=eo(n)?n.value:n.border,D=[];if(C===!0||C==="")D.push(`${e}--border`);else if(typeof C=="string"||C===0)for(const T of String(C).split(" "))D.push(`border-${T}`);return D})}}function c_(n){return X2(()=>{const e=[],r={};if(n.value.background)if(z5(n.value.background)){if(r.backgroundColor=n.value.background,!n.value.text){const C=A6(r.backgroundColor);r.color=C,r.caretColor=C}}else e.push(`bg-${n.value.background}`);return n.value.text&&(z5(n.value.text)?(r.color=n.value.text,r.caretColor=n.value.text):e.push(`text-${n.value.text}`)),{colorClasses:e,colorStyles:r}})}function Xs(n,e){const r=cn(()=>({text:eo(n)?n.value:e?n[e]:null})),{colorClasses:C,colorStyles:D}=c_(r);return{textColorClasses:C,textColorStyles:D}}function Oo(n,e){const r=cn(()=>({background:eo(n)?n.value:e?n[e]:null})),{colorClasses:C,colorStyles:D}=c_(r);return{backgroundColorClasses:C,backgroundColorStyles:D}}const fs=ur({elevation:{type:[Number,String],validator(n){const e=parseInt(n);return!isNaN(e)&&e>=0&&e<=24}}},"elevation");function Vs(n){return{elevationClasses:cn(()=>{const r=eo(n)?n.value:n.elevation,C=[];return r==null||C.push(`elevation-${r}`),C})}}const lo=ur({rounded:{type:[Boolean,Number,String],default:void 0}},"rounded");function Eo(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();return{roundedClasses:cn(()=>{const C=eo(n)?n.value:n.rounded,D=[];if(C===!0||C==="")D.push(`${e}--rounded`);else if(typeof C=="string"||C===0)for(const T of String(C).split(" "))D.push(`rounded-${T}`);return D})}}const IB=[null,"prominent","default","comfortable","compact"],q6=ur({absolute:Boolean,collapse:Boolean,color:String,density:{type:String,default:"default",validator:n=>IB.includes(n)},extended:Boolean,extensionHeight:{type:[Number,String],default:48},flat:Boolean,floating:Boolean,height:{type:[Number,String],default:64},image:String,title:String,...Su(),...Zr(),...fs(),...lo(),...Si({tag:"header"}),...oa()},"VToolbar"),yx=Ar()({name:"VToolbar",props:q6(),setup(n,e){var f;let{slots:r}=e;const{backgroundColorClasses:C,backgroundColorStyles:D}=Oo(Cr(n,"color")),{borderClasses:T}=uc(n),{elevationClasses:p}=Vs(n),{roundedClasses:t}=Eo(n),{themeClasses:d}=Ma(n),{rtlClasses:g}=Cs(),i=Wr(!!(n.extended||(f=r.extension)!=null&&f.call(r))),M=cn(()=>parseInt(Number(n.height)+(n.density==="prominent"?Number(n.height):0)-(n.density==="comfortable"?8:0)-(n.density==="compact"?16:0),10)),v=cn(()=>i.value?parseInt(Number(n.extensionHeight)+(n.density==="prominent"?Number(n.extensionHeight):0)-(n.density==="comfortable"?4:0)-(n.density==="compact"?8:0),10):0);return es({VBtn:{variant:"text"}}),Or(()=>{var o;const l=!!(n.title||r.title),a=!!(r.image||n.image),u=(o=r.extension)==null?void 0:o.call(r);return i.value=!!(n.extended||u),gt(n.tag,{class:["v-toolbar",{"v-toolbar--absolute":n.absolute,"v-toolbar--collapse":n.collapse,"v-toolbar--flat":n.flat,"v-toolbar--floating":n.floating,[`v-toolbar--density-${n.density}`]:!0},C.value,T.value,p.value,t.value,d.value,g.value,n.class],style:[D.value,n.style]},{default:()=>[a&>("div",{key:"image",class:"v-toolbar__image"},[r.image?gt(Fa,{key:"image-defaults",disabled:!n.image,defaults:{VImg:{cover:!0,src:n.image}}},r.image):gt(Zd,{key:"image-img",cover:!0,src:n.image},null)]),gt(Fa,{defaults:{VTabs:{height:Qr(M.value)}}},{default:()=>{var s,c,h;return[gt("div",{class:"v-toolbar__content",style:{height:Qr(M.value)}},[r.prepend&>("div",{class:"v-toolbar__prepend"},[(s=r.prepend)==null?void 0:s.call(r)]),l&>(o_,{key:"title",text:n.title},{text:r.title}),(c=r.default)==null?void 0:c.call(r),r.append&>("div",{class:"v-toolbar__append"},[(h=r.append)==null?void 0:h.call(r)])])]}}),gt(Fa,{defaults:{VTabs:{height:Qr(v.value)}}},{default:()=>[gt(e1,null,{default:()=>[i.value&>("div",{class:"v-toolbar__extension",style:{height:Qr(v.value)}},[u])]})]})]})}),{contentHeight:M,extensionHeight:v}}}),RB=ur({scrollTarget:{type:String},scrollThreshold:{type:[String,Number],default:300}},"scroll");function PB(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{canScroll:r}=e;let C=0;const D=Vr(null),T=Wr(0),p=Wr(0),t=Wr(0),d=Wr(!1),g=Wr(!1),i=cn(()=>Number(n.scrollThreshold)),M=cn(()=>Zs((i.value-T.value)/i.value||0)),v=()=>{const f=D.value;!f||r&&!r.value||(C=T.value,T.value="window"in f?f.pageYOffset:f.scrollTop,g.value=T.value{p.value=p.value||T.value}),$r(d,()=>{p.value=0}),Ks(()=>{$r(()=>n.scrollTarget,f=>{var a;const l=f?document.querySelector(f):window;l&&l!==D.value&&((a=D.value)==null||a.removeEventListener("scroll",v),D.value=l,D.value.addEventListener("scroll",v,{passive:!0}))},{immediate:!0})}),Tl(()=>{var f;(f=D.value)==null||f.removeEventListener("scroll",v)}),r&&$r(r,v,{immediate:!0}),{scrollThreshold:i,currentScroll:T,currentThreshold:t,isScrollActive:d,scrollRatio:M,isScrollingUp:g,savedScroll:p}}function tp(){const n=Wr(!1);return Ks(()=>{window.requestAnimationFrame(()=>{n.value=!0})}),{ssrBootStyles:cn(()=>n.value?void 0:{transition:"none !important"}),isBooted:Hm(n)}}const OB=ur({scrollBehavior:String,modelValue:{type:Boolean,default:!0},location:{type:String,default:"top",validator:n=>["top","bottom"].includes(n)},...q6(),...x0(),...RB(),height:{type:[Number,String],default:64}},"VAppBar"),DB=Ar()({name:"VAppBar",props:OB(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const C=Vr(),D=xi(n,"modelValue"),T=cn(()=>{var s;const o=new Set(((s=n.scrollBehavior)==null?void 0:s.split(" "))??[]);return{hide:o.has("hide"),inverted:o.has("inverted"),collapse:o.has("collapse"),elevate:o.has("elevate"),fadeImage:o.has("fade-image")}}),p=cn(()=>{const o=T.value;return o.hide||o.inverted||o.collapse||o.elevate||o.fadeImage||!D.value}),{currentScroll:t,scrollThreshold:d,isScrollingUp:g,scrollRatio:i}=PB(n,{canScroll:p}),M=cn(()=>n.collapse||T.value.collapse&&(T.value.inverted?i.value>0:i.value===0)),v=cn(()=>n.flat||T.value.elevate&&(T.value.inverted?t.value>0:t.value===0)),f=cn(()=>T.value.fadeImage?T.value.inverted?1-i.value:i.value:void 0),l=cn(()=>{var c,h;if(T.value.hide&&T.value.inverted)return 0;const o=((c=C.value)==null?void 0:c.contentHeight)??0,s=((h=C.value)==null?void 0:h.extensionHeight)??0;return o+s});$f(cn(()=>!!n.scrollBehavior),()=>{wu(()=>{T.value.hide?T.value.inverted?D.value=t.value>d.value:D.value=g.value||t.valueparseInt(n.order,10)),position:Cr(n,"location"),layoutSize:l,elementSize:Wr(void 0),active:D,absolute:Cr(n,"absolute")});return Or(()=>{const[o]=yx.filterProps(n);return gt(yx,qr({ref:C,class:["v-app-bar",{"v-app-bar--bottom":n.location==="bottom"},n.class],style:[{...u.value,"--v-toolbar-image-opacity":f.value,height:void 0,...a.value},n.style]},o,{collapse:M.value,flat:v.value}),r)}),{}}});const zB=[null,"default","comfortable","compact"],ds=ur({density:{type:String,default:"default",validator:n=>zB.includes(n)}},"density");function Qs(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();return{densityClasses:cn(()=>`${e}--density-${n.density}`)}}const FB=["elevated","flat","tonal","outlined","text","plain"];function np(n,e){return gt(Yr,null,[n&>("span",{key:"overlay",class:`${e}__overlay`},null),gt("span",{key:"underlay",class:`${e}__underlay`},null)])}const cc=ur({color:String,variant:{type:String,default:"elevated",validator:n=>FB.includes(n)}},"variant");function rp(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();const r=cn(()=>{const{variant:T}=yu(n);return`${e}--variant-${T}`}),{colorClasses:C,colorStyles:D}=c_(cn(()=>{const{variant:T,color:p}=yu(n);return{[["elevated","flat"].includes(T)?"background":"text"]:p}}));return{colorClasses:C,colorStyles:D,variantClasses:r}}const W6=ur({divided:Boolean,...Su(),...Zr(),...ds(),...fs(),...lo(),...Si(),...oa(),...cc()},"VBtnGroup"),bx=Ar()({name:"VBtnGroup",props:W6(),setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{densityClasses:D}=Qs(n),{borderClasses:T}=uc(n),{elevationClasses:p}=Vs(n),{roundedClasses:t}=Eo(n);es({VBtn:{height:"auto",color:Cr(n,"color"),density:Cr(n,"density"),flat:!0,variant:Cr(n,"variant")}}),Or(()=>gt(n.tag,{class:["v-btn-group",{"v-btn-group--divided":n.divided},C.value,T.value,D.value,p.value,t.value,n.class],style:n.style},r))}}),w0=ur({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),T0=ur({value:null,disabled:Boolean,selectedClass:String},"group-item");function k0(n,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const C=Ss("useGroupItem");if(!C)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const D=Js();ts(Symbol.for(`${e.description}:id`),D);const T=ka(e,null);if(!T){if(!r)return T;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${e.description}`)}const p=Cr(n,"value"),t=cn(()=>!!(T.disabled.value||n.disabled));T.register({id:D,value:p,disabled:t},C),Tl(()=>{T.unregister(D)});const d=cn(()=>T.isSelected(D)),g=cn(()=>d.value&&[T.selectedClass.value,n.selectedClass]);return $r(d,i=>{C.emit("group:selected",{value:i})}),{id:D,isSelected:d,toggle:()=>T.select(D,!d.value),select:i=>T.select(D,i),selectedClass:g,value:p,disabled:t,group:T}}function ip(n,e){let r=!1;const C=yl([]),D=xi(n,"modelValue",[],v=>v==null?[]:Y6(C,bu(v)),v=>{const f=NB(C,v);return n.multiple?f:f[0]}),T=Ss("useGroup");function p(v,f){const l=v,a=Symbol.for(`${e.description}:id`),o=ym(a,T==null?void 0:T.vnode).indexOf(f);o>-1?C.splice(o,0,l):C.push(l)}function t(v){if(r)return;d();const f=C.findIndex(l=>l.id===v);C.splice(f,1)}function d(){const v=C.find(f=>!f.disabled);v&&n.mandatory==="force"&&!D.value.length&&(D.value=[v.id])}Ks(()=>{d()}),Tl(()=>{r=!0});function g(v,f){const l=C.find(a=>a.id===v);if(!(f&&(l!=null&&l.disabled)))if(n.multiple){const a=D.value.slice(),u=a.findIndex(s=>s===v),o=~u;if(f=f??!o,o&&n.mandatory&&a.length<=1||!o&&n.max!=null&&a.length+1>n.max)return;u<0&&f?a.push(v):u>=0&&!f&&a.splice(u,1),D.value=a}else{const a=D.value.includes(v);if(n.mandatory&&a)return;D.value=f??!a?[v]:[]}}function i(v){if(n.multiple,D.value.length){const f=D.value[0],l=C.findIndex(o=>o.id===f);let a=(l+v)%C.length,u=C[a];for(;u.disabled&&a!==l;)a=(a+v)%C.length,u=C[a];if(u.disabled)return;D.value=[C[a].id]}else{const f=C.find(l=>!l.disabled);f&&(D.value=[f.id])}}const M={register:p,unregister:t,selected:D,select:g,disabled:Cr(n,"disabled"),prev:()=>i(C.length-1),next:()=>i(1),isSelected:v=>D.value.includes(v),selectedClass:cn(()=>n.selectedClass),items:cn(()=>C),getItemIndex:v=>BB(C,v)};return ts(e,M),M}function BB(n,e){const r=Y6(n,[e]);return r.length?n.findIndex(C=>C.id===r[0]):-1}function Y6(n,e){const r=[];return e.forEach(C=>{const D=n.find(p=>b0(C,p.value)),T=n[C];(D==null?void 0:D.value)!=null?r.push(D.id):T!=null&&r.push(T.id)}),r}function NB(n,e){const r=[];return e.forEach(C=>{const D=n.findIndex(T=>T.id===C);if(~D){const T=n[D];r.push(T.value!=null?T.value:D)}}),r}const h_=Symbol.for("vuetify:v-btn-toggle"),VB=ur({...W6(),...w0()},"VBtnToggle"),jB=Ar()({name:"VBtnToggle",props:VB(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{isSelected:C,next:D,prev:T,select:p,selected:t}=ip(n,h_);return Or(()=>{const[d]=bx.filterProps(n);return gt(bx,qr({class:["v-btn-toggle",n.class]},d,{style:n.style}),{default:()=>{var g;return[(g=r.default)==null?void 0:g.call(r,{isSelected:C,next:D,prev:T,select:p,selected:t})]}})}),{next:D,prev:T,select:p}}});const UB=["x-small","small","default","large","x-large"],pf=ur({size:{type:[String,Number],default:"default"}},"size");function M0(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();return X2(()=>{let r,C;return ly(UB,n.size)?r=`${e}--size-${n.size}`:n.size&&(C={width:Qr(n.size),height:Qr(n.size)}),{sizeClasses:r,sizeStyles:C}})}const HB=ur({color:String,start:Boolean,end:Boolean,icon:bi,...Zr(),...pf(),...Si({tag:"i"}),...oa()},"VIcon"),ja=Ar()({name:"VIcon",props:HB(),setup(n,e){let{attrs:r,slots:C}=e;const D=Vr(),{themeClasses:T}=Ma(n),{iconData:p}=IF(cn(()=>D.value||n.icon)),{sizeClasses:t}=M0(n),{textColorClasses:d,textColorStyles:g}=Xs(Cr(n,"color"));return Or(()=>{var M,v;const i=(M=C.default)==null?void 0:M.call(C);return i&&(D.value=(v=f6(i).filter(f=>f.type===Gm&&f.children&&typeof f.children=="string")[0])==null?void 0:v.children),gt(p.value.component,{tag:n.tag,icon:p.value.icon,class:["v-icon","notranslate",T.value,t.value,d.value,{"v-icon--clickable":!!r.onClick,"v-icon--start":n.start,"v-icon--end":n.end},n.class],style:[t.value?void 0:{fontSize:Qr(n.size),height:Qr(n.size),width:Qr(n.size)},g.value,n.style],role:r.onClick?"button":void 0,"aria-hidden":!r.onClick},{default:()=>[i]})}),{}}});function f_(n,e){const r=Vr(),C=Wr(!1);if($2){const D=new IntersectionObserver(T=>{n==null||n(T,D),C.value=!!T.find(p=>p.isIntersecting)},e);Tl(()=>{D.disconnect()}),$r(r,(T,p)=>{p&&(D.unobserve(p),C.value=!1),T&&D.observe(T)},{flush:"post"})}return{intersectionRef:r,isIntersecting:C}}const GB=ur({bgColor:String,color:String,indeterminate:[Boolean,String],modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...Zr(),...pf(),...Si({tag:"div"}),...oa()},"VProgressCircular"),d_=Ar()({name:"VProgressCircular",props:GB(),setup(n,e){let{slots:r}=e;const C=20,D=2*Math.PI*C,T=Vr(),{themeClasses:p}=Ma(n),{sizeClasses:t,sizeStyles:d}=M0(n),{textColorClasses:g,textColorStyles:i}=Xs(Cr(n,"color")),{textColorClasses:M,textColorStyles:v}=Xs(Cr(n,"bgColor")),{intersectionRef:f,isIntersecting:l}=f_(),{resizeRef:a,contentRect:u}=Th(),o=cn(()=>Math.max(0,Math.min(100,parseFloat(n.modelValue)))),s=cn(()=>Number(n.width)),c=cn(()=>d.value?Number(n.size):u.value?u.value.width:Math.max(s.value,32)),h=cn(()=>C/(1-s.value/c.value)*2),m=cn(()=>s.value/c.value*h.value),w=cn(()=>Qr((100-o.value)/100*D));return wu(()=>{f.value=T.value,a.value=T.value}),Or(()=>gt(n.tag,{ref:T,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!n.indeterminate,"v-progress-circular--visible":l.value,"v-progress-circular--disable-shrink":n.indeterminate==="disable-shrink"},p.value,t.value,g.value,n.class],style:[d.value,i.value,n.style],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":n.indeterminate?void 0:o.value},{default:()=>[gt("svg",{style:{transform:`rotate(calc(-90deg + ${Number(n.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${h.value} ${h.value}`},[gt("circle",{class:["v-progress-circular__underlay",M.value],style:v.value,fill:"transparent",cx:"50%",cy:"50%",r:C,"stroke-width":m.value,"stroke-dasharray":D,"stroke-dashoffset":0},null),gt("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:C,"stroke-width":m.value,"stroke-dasharray":D,"stroke-dashoffset":w.value},null)]),r.default&>("div",{class:"v-progress-circular__content"},[r.default({value:o.value})])]})),{}}});const J5={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},ed=ur({location:String},"location");function td(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=arguments.length>2?arguments[2]:void 0;const{isRtl:C}=Cs();return{locationStyles:cn(()=>{if(!n.location)return{};const{side:T,align:p}=lx(n.location.split(" ").length>1?n.location:`${n.location} center`,C.value);function t(g){return r?r(g):0}const d={};return T!=="center"&&(e?d[J5[T]]=`calc(100% - ${t(T)}px)`:d[T]=0),p!=="center"?e?d[J5[p]]=`calc(100% - ${t(p)}px)`:d[p]=0:(T==="center"?d.top=d.left="50%":d[{top:"left",bottom:"left",left:"top",right:"top"}[T]]="50%",d.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[T]),d})}}const qB=ur({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...Zr(),...ed({location:"top"}),...lo(),...Si(),...oa()},"VProgressLinear"),p_=Ar()({name:"VProgressLinear",props:qB(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const C=xi(n,"modelValue"),{isRtl:D,rtlClasses:T}=Cs(),{themeClasses:p}=Ma(n),{locationStyles:t}=td(n),{textColorClasses:d,textColorStyles:g}=Xs(n,"color"),{backgroundColorClasses:i,backgroundColorStyles:M}=Oo(cn(()=>n.bgColor||n.color)),{backgroundColorClasses:v,backgroundColorStyles:f}=Oo(n,"color"),{roundedClasses:l}=Eo(n),{intersectionRef:a,isIntersecting:u}=f_(),o=cn(()=>parseInt(n.max,10)),s=cn(()=>parseInt(n.height,10)),c=cn(()=>parseFloat(n.bufferValue)/o.value*100),h=cn(()=>parseFloat(C.value)/o.value*100),m=cn(()=>D.value!==n.reverse),w=cn(()=>n.indeterminate?"fade-transition":"slide-x-transition"),y=cn(()=>n.bgOpacity==null?n.bgOpacity:parseFloat(n.bgOpacity));function S(_){if(!a.value)return;const{left:k,right:E,width:x}=a.value.getBoundingClientRect(),A=m.value?x-_.clientX+(E-x):_.clientX-k;C.value=Math.round(A/x*o.value)}return Or(()=>gt(n.tag,{ref:a,class:["v-progress-linear",{"v-progress-linear--absolute":n.absolute,"v-progress-linear--active":n.active&&u.value,"v-progress-linear--reverse":m.value,"v-progress-linear--rounded":n.rounded,"v-progress-linear--rounded-bar":n.roundedBar,"v-progress-linear--striped":n.striped},l.value,p.value,T.value,n.class],style:[{bottom:n.location==="bottom"?0:void 0,top:n.location==="top"?0:void 0,height:n.active?Qr(s.value):0,"--v-progress-linear-height":Qr(s.value),...t.value},n.style],role:"progressbar","aria-hidden":n.active?"false":"true","aria-valuemin":"0","aria-valuemax":n.max,"aria-valuenow":n.indeterminate?void 0:h.value,onClick:n.clickable&&S},{default:()=>[n.stream&>("div",{key:"stream",class:["v-progress-linear__stream",d.value],style:{...g.value,[m.value?"left":"right"]:Qr(-s.value),borderTop:`${Qr(s.value/2)} dotted`,opacity:y.value,top:`calc(50% - ${Qr(s.value/4)})`,width:Qr(100-c.value,"%"),"--v-progress-linear-stream-to":Qr(s.value*(m.value?1:-1))}},null),gt("div",{class:["v-progress-linear__background",i.value],style:[M.value,{opacity:y.value,width:Qr(n.stream?c.value:100,"%")}]},null),gt(bh,{name:w.value},{default:()=>[n.indeterminate?gt("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(_=>gt("div",{key:_,class:["v-progress-linear__indeterminate",_,v.value],style:f.value},null))]):gt("div",{class:["v-progress-linear__determinate",v.value],style:[f.value,{width:Qr(h.value,"%")}]},null)]}),r.default&>("div",{class:"v-progress-linear__content"},[r.default({value:h.value,buffer:c.value})])]})),{}}}),m_=ur({loading:[Boolean,String]},"loader");function t1(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();return{loaderClasses:cn(()=>({[`${e}--loading`]:n.loading}))}}function g_(n,e){var C;let{slots:r}=e;return gt("div",{class:`${n.name}__loader`},[((C=r.default)==null?void 0:C.call(r,{color:n.color,isActive:n.active}))||gt(p_,{active:n.active,color:n.color,height:"2",indeterminate:!0},null)])}const WB=["static","relative","fixed","absolute","sticky"],A0=ur({position:{type:String,validator:n=>WB.includes(n)}},"position");function S0(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();return{positionClasses:cn(()=>n.position?`${e}--${n.position}`:void 0)}}function $6(){var n,e;return(e=(n=Ss("useRouter"))==null?void 0:n.proxy)==null?void 0:e.$router}function sg(n,e){const r=yE("RouterLink"),C=cn(()=>!!(n.href||n.to)),D=cn(()=>(C==null?void 0:C.value)||k5(e,"click")||k5(n,"click"));if(typeof r=="string")return{isLink:C,isClickable:D,href:Cr(n,"href")};const T=n.to?r.useLink(n):void 0;return{isLink:C,isClickable:D,route:T==null?void 0:T.route,navigate:T==null?void 0:T.navigate,isActive:T&&cn(()=>{var p,t;return n.exact?(p=T.isExactActive)==null?void 0:p.value:(t=T.isActive)==null?void 0:t.value}),href:cn(()=>n.to?T==null?void 0:T.route.value.href:n.href)}}const lg=ur({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let bb=!1;function YB(n,e){let r=!1,C,D;to&&(Ua(()=>{window.addEventListener("popstate",T),C=n==null?void 0:n.beforeEach((p,t,d)=>{bb?r?e(d):d():setTimeout(()=>r?e(d):d()),bb=!0}),D=n==null?void 0:n.afterEach(()=>{bb=!1})}),wl(()=>{window.removeEventListener("popstate",T),C==null||C(),D==null||D()}));function T(p){var t;(t=p.state)!=null&&t.replaced||(r=!0,setTimeout(()=>r=!1))}}function $B(n,e){$r(()=>{var r;return(r=n.isActive)==null?void 0:r.value},r=>{n.isLink.value&&r&&e&&Ua(()=>{e(!0)})},{immediate:!0})}const xx=Symbol("rippleStop"),ZB=80;function Q5(n,e){n.style.transform=e,n.style.webkitTransform=e}function _x(n){return n.constructor.name==="TouchEvent"}function Z6(n){return n.constructor.name==="KeyboardEvent"}const XB=function(n,e){var M;let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},C=0,D=0;if(!Z6(n)){const v=e.getBoundingClientRect(),f=_x(n)?n.touches[n.touches.length-1]:n;C=f.clientX-v.left,D=f.clientY-v.top}let T=0,p=.3;(M=e._ripple)!=null&&M.circle?(p=.15,T=e.clientWidth/2,T=r.center?T:T+Math.sqrt((C-T)**2+(D-T)**2)/4):T=Math.sqrt(e.clientWidth**2+e.clientHeight**2)/2;const t=`${(e.clientWidth-T*2)/2}px`,d=`${(e.clientHeight-T*2)/2}px`,g=r.center?t:`${C-T}px`,i=r.center?d:`${D-T}px`;return{radius:T,scale:p,x:g,y:i,centerX:t,centerY:d}},dy={show(n,e){var f;let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((f=e==null?void 0:e._ripple)!=null&&f.enabled))return;const C=document.createElement("span"),D=document.createElement("span");C.appendChild(D),C.className="v-ripple__container",r.class&&(C.className+=` ${r.class}`);const{radius:T,scale:p,x:t,y:d,centerX:g,centerY:i}=XB(n,e,r),M=`${T*2}px`;D.className="v-ripple__animation",D.style.width=M,D.style.height=M,e.appendChild(C);const v=window.getComputedStyle(e);v&&v.position==="static"&&(e.style.position="relative",e.dataset.previousPosition="static"),D.classList.add("v-ripple__animation--enter"),D.classList.add("v-ripple__animation--visible"),Q5(D,`translate(${t}, ${d}) scale3d(${p},${p},${p})`),D.dataset.activated=String(performance.now()),setTimeout(()=>{D.classList.remove("v-ripple__animation--enter"),D.classList.add("v-ripple__animation--in"),Q5(D,`translate(${g}, ${i}) scale3d(1,1,1)`)},0)},hide(n){var T;if(!((T=n==null?void 0:n._ripple)!=null&&T.enabled))return;const e=n.getElementsByClassName("v-ripple__animation");if(e.length===0)return;const r=e[e.length-1];if(r.dataset.isHiding)return;r.dataset.isHiding="true";const C=performance.now()-Number(r.dataset.activated),D=Math.max(250-C,0);setTimeout(()=>{r.classList.remove("v-ripple__animation--in"),r.classList.add("v-ripple__animation--out"),setTimeout(()=>{var t;n.getElementsByClassName("v-ripple__animation").length===1&&n.dataset.previousPosition&&(n.style.position=n.dataset.previousPosition,delete n.dataset.previousPosition),((t=r.parentNode)==null?void 0:t.parentNode)===n&&n.removeChild(r.parentNode)},300)},D)}};function X6(n){return typeof n>"u"||!!n}function Bm(n){const e={},r=n.currentTarget;if(!(!(r!=null&&r._ripple)||r._ripple.touched||n[xx])){if(n[xx]=!0,_x(n))r._ripple.touched=!0,r._ripple.isTouch=!0;else if(r._ripple.isTouch)return;if(e.center=r._ripple.centered||Z6(n),r._ripple.class&&(e.class=r._ripple.class),_x(n)){if(r._ripple.showTimerCommit)return;r._ripple.showTimerCommit=()=>{dy.show(n,r,e)},r._ripple.showTimer=window.setTimeout(()=>{var C;(C=r==null?void 0:r._ripple)!=null&&C.showTimerCommit&&(r._ripple.showTimerCommit(),r._ripple.showTimerCommit=null)},ZB)}else dy.show(n,r,e)}}function eT(n){n[xx]=!0}function vu(n){const e=n.currentTarget;if(e!=null&&e._ripple){if(window.clearTimeout(e._ripple.showTimer),n.type==="touchend"&&e._ripple.showTimerCommit){e._ripple.showTimerCommit(),e._ripple.showTimerCommit=null,e._ripple.showTimer=window.setTimeout(()=>{vu(n)});return}window.setTimeout(()=>{e._ripple&&(e._ripple.touched=!1)}),dy.hide(e)}}function K6(n){const e=n.currentTarget;e!=null&&e._ripple&&(e._ripple.showTimerCommit&&(e._ripple.showTimerCommit=null),window.clearTimeout(e._ripple.showTimer))}let Nm=!1;function J6(n){!Nm&&(n.keyCode===x5.enter||n.keyCode===x5.space)&&(Nm=!0,Bm(n))}function Q6(n){Nm=!1,vu(n)}function eA(n){Nm&&(Nm=!1,vu(n))}function tA(n,e,r){const{value:C,modifiers:D}=e,T=X6(C);if(T||dy.hide(n),n._ripple=n._ripple??{},n._ripple.enabled=T,n._ripple.centered=D.center,n._ripple.circle=D.circle,ax(C)&&C.class&&(n._ripple.class=C.class),T&&!r){if(D.stop){n.addEventListener("touchstart",eT,{passive:!0}),n.addEventListener("mousedown",eT);return}n.addEventListener("touchstart",Bm,{passive:!0}),n.addEventListener("touchend",vu,{passive:!0}),n.addEventListener("touchmove",K6,{passive:!0}),n.addEventListener("touchcancel",vu),n.addEventListener("mousedown",Bm),n.addEventListener("mouseup",vu),n.addEventListener("mouseleave",vu),n.addEventListener("keydown",J6),n.addEventListener("keyup",Q6),n.addEventListener("blur",eA),n.addEventListener("dragstart",vu,{passive:!0})}else!T&&r&&nA(n)}function nA(n){n.removeEventListener("mousedown",Bm),n.removeEventListener("touchstart",Bm),n.removeEventListener("touchend",vu),n.removeEventListener("touchmove",K6),n.removeEventListener("touchcancel",vu),n.removeEventListener("mouseup",vu),n.removeEventListener("mouseleave",vu),n.removeEventListener("keydown",J6),n.removeEventListener("keyup",Q6),n.removeEventListener("dragstart",vu),n.removeEventListener("blur",eA)}function KB(n,e){tA(n,e,!1)}function JB(n){delete n._ripple,nA(n)}function QB(n,e){if(e.value===e.oldValue)return;const r=X6(e.oldValue);tA(n,e,r)}const nd={mounted:KB,unmounted:JB,updated:QB},v_=ur({active:{type:Boolean,default:void 0},symbol:{type:null,default:h_},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:bi,appendIcon:bi,block:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:String,...Su(),...Zr(),...ds(),...sc(),...fs(),...T0(),...m_(),...ed(),...A0(),...lo(),...lg(),...pf(),...Si({tag:"button"}),...oa(),...cc({variant:"elevated"})},"VBtn"),_l=Ar()({name:"VBtn",directives:{Ripple:nd},props:v_(),emits:{"group:selected":n=>!0},setup(n,e){let{attrs:r,slots:C}=e;const{themeClasses:D}=Ma(n),{borderClasses:T}=uc(n),{colorClasses:p,colorStyles:t,variantClasses:d}=rp(n),{densityClasses:g}=Qs(n),{dimensionStyles:i}=lc(n),{elevationClasses:M}=Vs(n),{loaderClasses:v}=t1(n),{locationStyles:f}=td(n),{positionClasses:l}=S0(n),{roundedClasses:a}=Eo(n),{sizeClasses:u,sizeStyles:o}=M0(n),s=k0(n,n.symbol,!1),c=sg(n,r),h=cn(()=>{var _;return n.active!==void 0?n.active:c.isLink.value?(_=c.isActive)==null?void 0:_.value:s==null?void 0:s.isSelected.value}),m=cn(()=>(s==null?void 0:s.disabled.value)||n.disabled),w=cn(()=>n.variant==="elevated"&&!(n.disabled||n.flat||n.border)),y=cn(()=>{if(n.value!==void 0)return Object(n.value)===n.value?JSON.stringify(n.value,null,0):n.value});function S(_){var k;m.value||c.isLink.value&&(_.metaKey||_.ctrlKey||_.shiftKey||_.button!==0||r.target==="_blank")||((k=c.navigate)==null||k.call(c,_),s==null||s.toggle())}return $B(c,s==null?void 0:s.select),Or(()=>{var L,b;const _=c.isLink.value?"a":n.tag,k=!!(n.prependIcon||C.prepend),E=!!(n.appendIcon||C.append),x=!!(n.icon&&n.icon!==!0),A=(s==null?void 0:s.isSelected.value)&&(!c.isLink.value||((L=c.isActive)==null?void 0:L.value))||!s||((b=c.isActive)==null?void 0:b.value);return Co(gt(_,{type:_==="a"?void 0:"button",class:["v-btn",s==null?void 0:s.selectedClass.value,{"v-btn--active":h.value,"v-btn--block":n.block,"v-btn--disabled":m.value,"v-btn--elevated":w.value,"v-btn--flat":n.flat,"v-btn--icon":!!n.icon,"v-btn--loading":n.loading,"v-btn--stacked":n.stacked},D.value,T.value,A?p.value:void 0,g.value,M.value,v.value,l.value,a.value,u.value,d.value,n.class],style:[A?t.value:void 0,i.value,f.value,o.value,n.style],disabled:m.value||void 0,href:c.href.value,onClick:S,value:y.value},{default:()=>{var R;return[np(!0,"v-btn"),!n.icon&&k&>("span",{key:"prepend",class:"v-btn__prepend"},[C.prepend?gt(Fa,{key:"prepend-defaults",disabled:!n.prependIcon,defaults:{VIcon:{icon:n.prependIcon}}},C.prepend):gt(ja,{key:"prepend-icon",icon:n.prependIcon},null)]),gt("span",{class:"v-btn__content","data-no-activator":""},[!C.default&&x?gt(ja,{key:"content-icon",icon:n.icon},null):gt(Fa,{key:"content-defaults",disabled:!x,defaults:{VIcon:{icon:n.icon}}},{default:()=>{var I;return[((I=C.default)==null?void 0:I.call(C))??n.text]}})]),!n.icon&&E&>("span",{key:"append",class:"v-btn__append"},[C.append?gt(Fa,{key:"append-defaults",disabled:!n.appendIcon,defaults:{VIcon:{icon:n.appendIcon}}},C.append):gt(ja,{key:"append-icon",icon:n.appendIcon},null)]),!!n.loading&>("span",{key:"loader",class:"v-btn__loader"},[((R=C.loader)==null?void 0:R.call(C))??gt(d_,{color:typeof n.loading=="boolean"?void 0:n.loading,indeterminate:!0,size:"23",width:"2"},null)])]}}),[[Tu("ripple"),!m.value&&n.ripple,null]])}),{}}}),eN=ur({...v_({icon:"$menu",variant:"text"})},"VAppBarNavIcon"),tN=Ar()({name:"VAppBarNavIcon",props:eN(),setup(n,e){let{slots:r}=e;return Or(()=>gt(_l,qr(n,{class:["v-app-bar-nav-icon"]}),r)),{}}}),nN=Ar()({name:"VAppBarTitle",props:N6(),setup(n,e){let{slots:r}=e;return Or(()=>gt(o_,qr(n,{class:"v-app-bar-title"}),r)),{}}});const rA=Nc("v-alert-title"),rN=["success","info","warning","error"],iN=ur({border:{type:[Boolean,String],validator:n=>typeof n=="boolean"||["top","end","bottom","start"].includes(n)},borderColor:String,closable:Boolean,closeIcon:{type:bi,default:"$close"},closeLabel:{type:String,default:"$vuetify.close"},icon:{type:[Boolean,String,Function,Object],default:null},modelValue:{type:Boolean,default:!0},prominent:Boolean,title:String,text:String,type:{type:String,validator:n=>rN.includes(n)},...Zr(),...ds(),...sc(),...fs(),...ed(),...A0(),...lo(),...Si(),...oa(),...cc({variant:"flat"})},"VAlert"),aN=Ar()({name:"VAlert",props:iN(),emits:{"click:close":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{emit:r,slots:C}=e;const D=xi(n,"modelValue"),T=cn(()=>{if(n.icon!==!1)return n.type?n.icon??`$${n.type}`:n.icon}),p=cn(()=>({color:n.color??n.type,variant:n.variant})),{themeClasses:t}=Ma(n),{colorClasses:d,colorStyles:g,variantClasses:i}=rp(p),{densityClasses:M}=Qs(n),{dimensionStyles:v}=lc(n),{elevationClasses:f}=Vs(n),{locationStyles:l}=td(n),{positionClasses:a}=S0(n),{roundedClasses:u}=Eo(n),{textColorClasses:o,textColorStyles:s}=Xs(Cr(n,"borderColor")),{t:c}=oc(),h=cn(()=>({"aria-label":c(n.closeLabel),onClick(m){D.value=!1,r("click:close",m)}}));return()=>{const m=!!(C.prepend||T.value),w=!!(C.title||n.title),y=!!(C.close||n.closable);return D.value&>(n.tag,{class:["v-alert",n.border&&{"v-alert--border":!!n.border,[`v-alert--border-${n.border===!0?"start":n.border}`]:!0},{"v-alert--prominent":n.prominent},t.value,d.value,M.value,f.value,a.value,u.value,i.value,n.class],style:[g.value,v.value,l.value,n.style],role:"alert"},{default:()=>{var S,_;return[np(!1,"v-alert"),n.border&>("div",{key:"border",class:["v-alert__border",o.value],style:s.value},null),m&>("div",{key:"prepend",class:"v-alert__prepend"},[C.prepend?gt(Fa,{key:"prepend-defaults",disabled:!T.value,defaults:{VIcon:{density:n.density,icon:T.value,size:n.prominent?44:28}}},C.prepend):gt(ja,{key:"prepend-icon",density:n.density,icon:T.value,size:n.prominent?44:28},null)]),gt("div",{class:"v-alert__content"},[w&>(rA,{key:"title"},{default:()=>{var k;return[((k=C.title)==null?void 0:k.call(C))??n.title]}}),((S=C.text)==null?void 0:S.call(C))??n.text,(_=C.default)==null?void 0:_.call(C)]),C.append&>("div",{key:"append",class:"v-alert__append"},[C.append()]),y&>("div",{key:"close",class:"v-alert__close"},[C.close?gt(Fa,{key:"close-defaults",defaults:{VBtn:{icon:n.closeIcon,size:"x-small",variant:"text"}}},{default:()=>{var k;return[(k=C.close)==null?void 0:k.call(C,{props:h.value})]}}):gt(_l,qr({key:"close-btn",icon:n.closeIcon,size:"x-small",variant:"text"},h.value),null)])]}})}}});const oN=ur({text:String,clickable:Boolean,...Zr(),...oa()},"VLabel"),C0=Ar()({name:"VLabel",props:oN(),setup(n,e){let{slots:r}=e;return Or(()=>{var C;return gt("label",{class:["v-label",{"v-label--clickable":n.clickable},n.class],style:n.style},[n.text,(C=r.default)==null?void 0:C.call(r)])}),{}}});const iA=Symbol.for("vuetify:selection-control-group"),y_=ur({color:String,disabled:{type:Boolean,default:null},defaultsTarget:String,error:Boolean,id:String,inline:Boolean,falseIcon:bi,trueIcon:bi,ripple:{type:Boolean,default:!0},multiple:{type:Boolean,default:null},name:String,readonly:Boolean,modelValue:null,type:String,valueComparator:{type:Function,default:b0},...Zr(),...ds(),...oa()},"SelectionControlGroup"),sN=ur({...y_({defaultsTarget:"VSelectionControl"})},"VSelectionControlGroup"),aA=Ar()({name:"VSelectionControlGroup",props:sN(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const C=xi(n,"modelValue"),D=Js(),T=cn(()=>n.id||`v-selection-control-group-${D}`),p=cn(()=>n.name||T.value),t=new Set;return ts(iA,{modelValue:C,forceUpdate:()=>{t.forEach(d=>d())},onForceUpdate:d=>{t.add(d),wl(()=>{t.delete(d)})}}),es({[n.defaultsTarget]:{color:Cr(n,"color"),disabled:Cr(n,"disabled"),density:Cr(n,"density"),error:Cr(n,"error"),inline:Cr(n,"inline"),modelValue:C,multiple:cn(()=>!!n.multiple||n.multiple==null&&Array.isArray(C.value)),name:p,falseIcon:Cr(n,"falseIcon"),trueIcon:Cr(n,"trueIcon"),readonly:Cr(n,"readonly"),ripple:Cr(n,"ripple"),type:Cr(n,"type"),valueComparator:Cr(n,"valueComparator")}}),Or(()=>{var d;return gt("div",{class:["v-selection-control-group",{"v-selection-control-group--inline":n.inline},n.class],style:n.style,role:n.type==="radio"?"radiogroup":void 0},[(d=r.default)==null?void 0:d.call(r)])}),{}}}),n1=ur({label:String,trueValue:null,falseValue:null,value:null,...Zr(),...y_()},"VSelectionControl");function lN(n){const e=ka(iA,void 0),{densityClasses:r}=Qs(n),C=xi(n,"modelValue"),D=cn(()=>n.trueValue!==void 0?n.trueValue:n.value!==void 0?n.value:!0),T=cn(()=>n.falseValue!==void 0?n.falseValue:!1),p=cn(()=>!!n.multiple||n.multiple==null&&Array.isArray(C.value)),t=cn({get(){const f=e?e.modelValue.value:C.value;return p.value?f.some(l=>n.valueComparator(l,D.value)):n.valueComparator(f,D.value)},set(f){if(n.readonly)return;const l=f?D.value:T.value;let a=l;p.value&&(a=f?[...bu(C.value),l]:bu(C.value).filter(u=>!n.valueComparator(u,D.value))),e?e.modelValue.value=a:C.value=a}}),{textColorClasses:d,textColorStyles:g}=Xs(cn(()=>t.value&&!n.error&&!n.disabled?n.color:void 0)),{backgroundColorClasses:i,backgroundColorStyles:M}=Oo(cn(()=>t.value&&!n.error&&!n.disabled?n.color:void 0)),v=cn(()=>t.value?n.trueIcon:n.falseIcon);return{group:e,densityClasses:r,trueValue:D,falseValue:T,model:t,textColorClasses:d,textColorStyles:g,backgroundColorClasses:i,backgroundColorStyles:M,icon:v}}const Xd=Ar()({name:"VSelectionControl",directives:{Ripple:nd},inheritAttrs:!1,props:n1(),emits:{"update:modelValue":n=>!0},setup(n,e){let{attrs:r,slots:C}=e;const{group:D,densityClasses:T,icon:p,model:t,textColorClasses:d,textColorStyles:g,backgroundColorClasses:i,backgroundColorStyles:M,trueValue:v}=lN(n),f=Js(),l=cn(()=>n.id||`input-${f}`),a=Wr(!1),u=Wr(!1),o=Vr();D==null||D.onForceUpdate(()=>{o.value&&(o.value.checked=t.value)});function s(m){a.value=!0,l0(m.target,":focus-visible")!==!1&&(u.value=!0)}function c(){a.value=!1,u.value=!1}function h(m){n.readonly&&D&&Ua(()=>D.forceUpdate()),t.value=m.target.checked}return Or(()=>{var _,k;const m=C.label?C.label({label:n.label,props:{for:l.value}}):n.label,[w,y]=Qd(r),S=gt("input",qr({ref:o,checked:t.value,disabled:!!(n.readonly||n.disabled),id:l.value,onBlur:c,onFocus:s,onInput:h,"aria-disabled":!!(n.readonly||n.disabled),type:n.type,value:v.value,name:n.name,"aria-checked":n.type==="checkbox"?t.value:void 0},y),null);return gt("div",qr({class:["v-selection-control",{"v-selection-control--dirty":t.value,"v-selection-control--disabled":n.disabled,"v-selection-control--error":n.error,"v-selection-control--focused":a.value,"v-selection-control--focus-visible":u.value,"v-selection-control--inline":n.inline},T.value,n.class]},w,{style:n.style}),[gt("div",{class:["v-selection-control__wrapper",d.value],style:g.value},[(_=C.default)==null?void 0:_.call(C,{backgroundColorClasses:i,backgroundColorStyles:M}),Co(gt("div",{class:["v-selection-control__input"]},[((k=C.input)==null?void 0:k.call(C,{model:t,textColorClasses:d,textColorStyles:g,backgroundColorClasses:i,backgroundColorStyles:M,inputNode:S,icon:p.value,props:{onFocus:s,onBlur:c,id:l.value}}))??gt(Yr,null,[p.value&>(ja,{key:"icon",icon:p.value},null),S])]),[[Tu("ripple"),n.ripple&&[!n.disabled&&!n.readonly,null,["center","circle"]]]])]),m&>(C0,{for:l.value,clickable:!0,onClick:E=>E.stopPropagation()},{default:()=>[m]})])}),{isFocused:a,input:o}}}),oA=ur({indeterminate:Boolean,indeterminateIcon:{type:bi,default:"$checkboxIndeterminate"},...n1({falseIcon:"$checkboxOff",trueIcon:"$checkboxOn"})},"VCheckboxBtn"),h0=Ar()({name:"VCheckboxBtn",props:oA(),emits:{"update:modelValue":n=>!0,"update:indeterminate":n=>!0},setup(n,e){let{slots:r}=e;const C=xi(n,"indeterminate"),D=xi(n,"modelValue");function T(d){C.value&&(C.value=!1)}const p=cn(()=>C.value?n.indeterminateIcon:n.falseIcon),t=cn(()=>C.value?n.indeterminateIcon:n.trueIcon);return Or(()=>{const d=ic(Xd.filterProps(n)[0],["modelValue"]);return gt(Xd,qr(d,{modelValue:D.value,"onUpdate:modelValue":[g=>D.value=g,T],class:["v-checkbox-btn",n.class],style:n.style,type:"checkbox",falseIcon:p.value,trueIcon:t.value,"aria-checked":C.value?"mixed":void 0}),r)}),{}}});function sA(n){const{t:e}=oc();function r(C){let{name:D}=C;const T={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[D],p=n[`onClick:${D}`],t=p&&T?e(`$vuetify.input.${T}`,n.label??""):void 0;return gt(ja,{icon:n[`${D}Icon`],"aria-label":t,onClick:p},null)}return{InputIcon:r}}const uN=ur({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...Zr(),...df({transition:{component:l_,leaveAbsolute:!0,group:!0}})},"VMessages"),lA=Ar()({name:"VMessages",props:uN(),setup(n,e){let{slots:r}=e;const C=cn(()=>bu(n.messages)),{textColorClasses:D,textColorStyles:T}=Xs(cn(()=>n.color));return Or(()=>gt(Oc,{transition:n.transition,tag:"div",class:["v-messages",D.value,n.class],style:[T.value,n.style],role:"alert","aria-live":"polite"},{default:()=>[n.active&&C.value.map((p,t)=>gt("div",{class:"v-messages__message",key:`${t}-${C.value}`},[r.message?r.message({message:p}):p]))]})),{}}}),r1=ur({focused:Boolean,"onUpdate:focused":yh()},"focus");function rd(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();const r=xi(n,"focused"),C=cn(()=>({[`${e}--focused`]:r.value}));function D(){r.value=!0}function T(){r.value=!1}return{focusClasses:C,isFocused:r,focus:D,blur:T}}const uA=Symbol.for("vuetify:form"),cN=ur({disabled:Boolean,fastFail:Boolean,readonly:Boolean,modelValue:{type:Boolean,default:null},validateOn:{type:String,default:"input"}},"form");function hN(n){const e=xi(n,"modelValue"),r=cn(()=>n.disabled),C=cn(()=>n.readonly),D=Wr(!1),T=Vr([]),p=Vr([]);async function t(){const i=[];let M=!0;p.value=[],D.value=!0;for(const v of T.value){const f=await v.validate();if(f.length>0&&(M=!1,i.push({id:v.id,errorMessages:f})),!M&&n.fastFail)break}return p.value=i,D.value=!1,{valid:M,errors:p.value}}function d(){T.value.forEach(i=>i.reset())}function g(){T.value.forEach(i=>i.resetValidation())}return $r(T,()=>{let i=0,M=0;const v=[];for(const f of T.value)f.isValid===!1?(M++,v.push({id:f.id,errorMessages:f.errorMessages})):f.isValid===!0&&i++;p.value=v,e.value=M>0?!1:i===T.value.length?!0:null},{deep:!0}),ts(uA,{register:i=>{let{id:M,validate:v,reset:f,resetValidation:l}=i;T.value.some(a=>a.id===M),T.value.push({id:M,validate:v,reset:f,resetValidation:l,isValid:null,errorMessages:[]})},unregister:i=>{T.value=T.value.filter(M=>M.id!==i)},update:(i,M,v)=>{const f=T.value.find(l=>l.id===i);f&&(f.isValid=M,f.errorMessages=v)},isDisabled:r,isReadonly:C,isValidating:D,isValid:e,items:T,validateOn:Cr(n,"validateOn")}),{errors:p,isDisabled:r,isReadonly:C,isValidating:D,isValid:e,items:T,validate:t,reset:d,resetValidation:g}}function i1(){return ka(uA,null)}const cA=ur({disabled:{type:Boolean,default:null},error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,label:String,readonly:{type:Boolean,default:null},rules:{type:Array,default:()=>[]},modelValue:null,validateOn:String,validationValue:null,...r1()},"validation");function hA(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff(),r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Js();const C=xi(n,"modelValue"),D=cn(()=>n.validationValue===void 0?C.value:n.validationValue),T=i1(),p=Vr([]),t=Wr(!0),d=cn(()=>!!(bu(C.value===""?null:C.value).length||bu(D.value===""?null:D.value).length)),g=cn(()=>!!(n.disabled??(T==null?void 0:T.isDisabled.value))),i=cn(()=>!!(n.readonly??(T==null?void 0:T.isReadonly.value))),M=cn(()=>n.errorMessages.length?bu(n.errorMessages).slice(0,Math.max(0,+n.maxErrors)):p.value),v=cn(()=>{let h=(n.validateOn??(T==null?void 0:T.validateOn.value))||"input";h==="lazy"&&(h="input lazy");const m=new Set((h==null?void 0:h.split(" "))??[]);return{blur:m.has("blur")||m.has("input"),input:m.has("input"),submit:m.has("submit"),lazy:m.has("lazy")}}),f=cn(()=>n.error||n.errorMessages.length?!1:n.rules.length?t.value?p.value.length||v.value.lazy?null:!0:!p.value.length:!0),l=Wr(!1),a=cn(()=>({[`${e}--error`]:f.value===!1,[`${e}--dirty`]:d.value,[`${e}--disabled`]:g.value,[`${e}--readonly`]:i.value})),u=cn(()=>n.name??yu(r));Sy(()=>{T==null||T.register({id:u.value,validate:c,reset:o,resetValidation:s})}),Tl(()=>{T==null||T.unregister(u.value)}),Ks(async()=>{v.value.lazy||await c(!0),T==null||T.update(u.value,f.value,M.value)}),$f(()=>v.value.input,()=>{$r(D,()=>{if(D.value!=null)c();else if(n.focused){const h=$r(()=>n.focused,m=>{m||c(),h()})}})}),$f(()=>v.value.blur,()=>{$r(()=>n.focused,h=>{h||c()})}),$r(f,()=>{T==null||T.update(u.value,f.value,M.value)});function o(){C.value=null,Ua(s)}function s(){t.value=!0,v.value.lazy?p.value=[]:c(!0)}async function c(){let h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const m=[];l.value=!0;for(const w of n.rules){if(m.length>=+(n.maxErrors??1))break;const S=await(typeof w=="function"?w:()=>w)(D.value);if(S!==!0){if(S!==!1&&typeof S!="string"){console.warn(`${S} is not a valid value. Rule functions must return boolean true or a string.`);continue}m.push(S||"")}}return p.value=m,l.value=!1,t.value=h,p.value}return{errorMessages:M,isDirty:d,isDisabled:g,isReadonly:i,isPristine:t,isValid:f,isValidating:l,reset:o,resetValidation:s,validate:c,validationClasses:a}}const mf=ur({id:String,appendIcon:bi,centerAffix:{type:Boolean,default:!0},prependIcon:bi,hideDetails:[Boolean,String],hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:n=>["horizontal","vertical"].includes(n)},"onClick:prepend":yh(),"onClick:append":yh(),...Zr(),...ds(),...cA()},"VInput"),Bs=Ar()({name:"VInput",props:{...mf()},emits:{"update:modelValue":n=>!0},setup(n,e){let{attrs:r,slots:C,emit:D}=e;const{densityClasses:T}=Qs(n),{rtlClasses:p}=Cs(),{InputIcon:t}=sA(n),d=Js(),g=cn(()=>n.id||`input-${d}`),i=cn(()=>`${g.value}-messages`),{errorMessages:M,isDirty:v,isDisabled:f,isReadonly:l,isPristine:a,isValid:u,isValidating:o,reset:s,resetValidation:c,validate:h,validationClasses:m}=hA(n,"v-input",g),w=cn(()=>({id:g,messagesId:i,isDirty:v,isDisabled:f,isReadonly:l,isPristine:a,isValid:u,isValidating:o,reset:s,resetValidation:c,validate:h})),y=cn(()=>{var S;return(S=n.errorMessages)!=null&&S.length||!a.value&&M.value.length?M.value:n.hint&&(n.persistentHint||n.focused)?n.hint:n.messages});return Or(()=>{var x,A,L,b;const S=!!(C.prepend||n.prependIcon),_=!!(C.append||n.appendIcon),k=y.value.length>0,E=!n.hideDetails||n.hideDetails==="auto"&&(k||!!C.details);return gt("div",{class:["v-input",`v-input--${n.direction}`,{"v-input--center-affix":n.centerAffix},T.value,p.value,m.value,n.class],style:n.style},[S&>("div",{key:"prepend",class:"v-input__prepend"},[(x=C.prepend)==null?void 0:x.call(C,w.value),n.prependIcon&>(t,{key:"prepend-icon",name:"prepend"},null)]),C.default&>("div",{class:"v-input__control"},[(A=C.default)==null?void 0:A.call(C,w.value)]),_&>("div",{key:"append",class:"v-input__append"},[n.appendIcon&>(t,{key:"append-icon",name:"append"},null),(L=C.append)==null?void 0:L.call(C,w.value)]),E&>("div",{class:"v-input__details"},[gt(lA,{id:i.value,active:k,messages:y.value},{message:C.message}),(b=C.details)==null?void 0:b.call(C,w.value)])])}),{reset:s,resetValidation:c,validate:h}}}),fN=ur({...mf(),...ic(oA(),["inline"])},"VCheckbox"),dN=Ar()({name:"VCheckbox",inheritAttrs:!1,props:fN(),emits:{"update:modelValue":n=>!0,"update:focused":n=>!0},setup(n,e){let{attrs:r,slots:C}=e;const D=xi(n,"modelValue"),{isFocused:T,focus:p,blur:t}=rd(n),d=Js(),g=cn(()=>n.id||`checkbox-${d}`);return Or(()=>{const[i,M]=Qd(r),[v,f]=Bs.filterProps(n),[l,a]=h0.filterProps(n);return gt(Bs,qr({class:["v-checkbox",n.class]},i,v,{modelValue:D.value,"onUpdate:modelValue":u=>D.value=u,id:g.value,focused:T.value,style:n.style}),{...C,default:u=>{let{id:o,messagesId:s,isDisabled:c,isReadonly:h}=u;return gt(h0,qr(l,{id:o.value,"aria-describedby":s.value,disabled:c.value,readonly:h.value},M,{modelValue:D.value,"onUpdate:modelValue":m=>D.value=m,onFocus:p,onBlur:t}),C)}})}),{}}});const pN=ur({start:Boolean,end:Boolean,icon:bi,image:String,...Zr(),...ds(),...lo(),...pf(),...Si(),...oa(),...cc({variant:"flat"})},"VAvatar"),Zf=Ar()({name:"VAvatar",props:pN(),setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{colorClasses:D,colorStyles:T,variantClasses:p}=rp(n),{densityClasses:t}=Qs(n),{roundedClasses:d}=Eo(n),{sizeClasses:g,sizeStyles:i}=M0(n);return Or(()=>gt(n.tag,{class:["v-avatar",{"v-avatar--start":n.start,"v-avatar--end":n.end},C.value,D.value,t.value,d.value,g.value,p.value,n.class],style:[T.value,i.value,n.style]},{default:()=>{var M;return[n.image?gt(Zd,{key:"image",src:n.image,alt:"",cover:!0},null):n.icon?gt(ja,{key:"icon",icon:n.icon},null):(M=r.default)==null?void 0:M.call(r),np(!1,"v-avatar")]}})),{}}});const fA=Symbol.for("vuetify:v-chip-group"),mN=ur({column:Boolean,filter:Boolean,valueComparator:{type:Function,default:b0},...Zr(),...w0({selectedClass:"v-chip--selected"}),...Si(),...oa(),...cc({variant:"tonal"})},"VChipGroup"),gN=Ar()({name:"VChipGroup",props:mN(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{isSelected:D,select:T,next:p,prev:t,selected:d}=ip(n,fA);return es({VChip:{color:Cr(n,"color"),disabled:Cr(n,"disabled"),filter:Cr(n,"filter"),variant:Cr(n,"variant")}}),Or(()=>gt(n.tag,{class:["v-chip-group",{"v-chip-group--column":n.column},C.value,n.class],style:n.style},{default:()=>{var g;return[(g=r.default)==null?void 0:g.call(r,{isSelected:D,select:T,next:p,prev:t,selected:d.value})]}})),{}}}),vN=ur({activeClass:String,appendAvatar:String,appendIcon:bi,closable:Boolean,closeIcon:{type:bi,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:{type:Boolean,default:void 0},pill:Boolean,prependAvatar:String,prependIcon:bi,ripple:{type:[Boolean,Object],default:!0},text:String,modelValue:{type:Boolean,default:!0},onClick:yh(),onClickOnce:yh(),...Su(),...Zr(),...ds(),...fs(),...T0(),...lo(),...lg(),...pf(),...Si({tag:"span"}),...oa(),...cc({variant:"tonal"})},"VChip"),ug=Ar()({name:"VChip",directives:{Ripple:nd},props:vN(),emits:{"click:close":n=>!0,"update:modelValue":n=>!0,"group:selected":n=>!0,click:n=>!0},setup(n,e){let{attrs:r,emit:C,slots:D}=e;const{t:T}=oc(),{borderClasses:p}=uc(n),{colorClasses:t,colorStyles:d,variantClasses:g}=rp(n),{densityClasses:i}=Qs(n),{elevationClasses:M}=Vs(n),{roundedClasses:v}=Eo(n),{sizeClasses:f}=M0(n),{themeClasses:l}=Ma(n),a=xi(n,"modelValue"),u=k0(n,fA,!1),o=sg(n,r),s=cn(()=>n.link!==!1&&o.isLink.value),c=cn(()=>!n.disabled&&n.link!==!1&&(!!u||n.link||o.isClickable.value)),h=cn(()=>({"aria-label":T(n.closeLabel),onClick(y){y.stopPropagation(),a.value=!1,C("click:close",y)}}));function m(y){var S;C("click",y),c.value&&((S=o.navigate)==null||S.call(o,y),u==null||u.toggle())}function w(y){(y.key==="Enter"||y.key===" ")&&(y.preventDefault(),m(y))}return()=>{const y=o.isLink.value?"a":n.tag,S=!!(n.appendIcon||n.appendAvatar),_=!!(S||D.append),k=!!(D.close||n.closable),E=!!(D.filter||n.filter)&&u,x=!!(n.prependIcon||n.prependAvatar),A=!!(x||D.prepend),L=!u||u.isSelected.value;return a.value&&Co(gt(y,{class:["v-chip",{"v-chip--disabled":n.disabled,"v-chip--label":n.label,"v-chip--link":c.value,"v-chip--filter":E,"v-chip--pill":n.pill},l.value,p.value,L?t.value:void 0,i.value,M.value,v.value,f.value,g.value,u==null?void 0:u.selectedClass.value,n.class],style:[L?d.value:void 0,n.style],disabled:n.disabled||void 0,draggable:n.draggable,href:o.href.value,tabindex:c.value?0:void 0,onClick:m,onKeydown:c.value&&!s.value&&w},{default:()=>{var b;return[np(c.value,"v-chip"),E&>(u_,{key:"filter"},{default:()=>[Co(gt("div",{class:"v-chip__filter"},[D.filter?gt(Fa,{key:"filter-defaults",disabled:!n.filterIcon,defaults:{VIcon:{icon:n.filterIcon}}},D.filter):gt(ja,{key:"filter-icon",icon:n.filterIcon},null)]),[[kh,u.isSelected.value]])]}),A&>("div",{key:"prepend",class:"v-chip__prepend"},[D.prepend?gt(Fa,{key:"prepend-defaults",disabled:!x,defaults:{VAvatar:{image:n.prependAvatar,start:!0},VIcon:{icon:n.prependIcon,start:!0}}},D.prepend):gt(Yr,null,[n.prependIcon&>(ja,{key:"prepend-icon",icon:n.prependIcon,start:!0},null),n.prependAvatar&>(Zf,{key:"prepend-avatar",image:n.prependAvatar,start:!0},null)])]),gt("div",{class:"v-chip__content"},[((b=D.default)==null?void 0:b.call(D,{isSelected:u==null?void 0:u.isSelected.value,selectedClass:u==null?void 0:u.selectedClass.value,select:u==null?void 0:u.select,toggle:u==null?void 0:u.toggle,value:u==null?void 0:u.value.value,disabled:n.disabled}))??n.text]),_&>("div",{key:"append",class:"v-chip__append"},[D.append?gt(Fa,{key:"append-defaults",disabled:!S,defaults:{VAvatar:{end:!0,image:n.appendAvatar},VIcon:{end:!0,icon:n.appendIcon}}},D.append):gt(Yr,null,[n.appendIcon&>(ja,{key:"append-icon",end:!0,icon:n.appendIcon},null),n.appendAvatar&>(Zf,{key:"append-avatar",end:!0,image:n.appendAvatar},null)])]),k&>("div",qr({key:"close",class:"v-chip__close"},h.value),[D.close?gt(Fa,{key:"close-defaults",defaults:{VIcon:{icon:n.closeIcon,size:"x-small"}}},D.close):gt(ja,{key:"close-icon",icon:n.closeIcon,size:"x-small"},null)])]}}),[[Tu("ripple"),c.value&&n.ripple,null]])}}});const wx=Symbol.for("vuetify:list");function dA(){const n=ka(wx,{hasPrepend:Wr(!1),updateHasPrepend:()=>null}),e={hasPrepend:Wr(!1),updateHasPrepend:r=>{r&&(e.hasPrepend.value=r)}};return ts(wx,e),n}function pA(){return ka(wx,null)}const yN={open:n=>{let{id:e,value:r,opened:C,parents:D}=n;if(r){const T=new Set;T.add(e);let p=D.get(e);for(;p!=null;)T.add(p),p=D.get(p);return T}else return C.delete(e),C},select:()=>null},mA={open:n=>{let{id:e,value:r,opened:C,parents:D}=n;if(r){let T=D.get(e);for(C.add(e);T!=null&&T!==e;)C.add(T),T=D.get(T);return C}else C.delete(e);return C},select:()=>null},bN={open:mA.open,select:n=>{let{id:e,value:r,opened:C,parents:D}=n;if(!r)return C;const T=[];let p=D.get(e);for(;p!=null;)T.push(p),p=D.get(p);return new Set(T)}},b_=n=>{const e={select:r=>{let{id:C,value:D,selected:T}=r;if(C=wi(C),n&&!D){const p=Array.from(T.entries()).reduce((t,d)=>{let[g,i]=d;return i==="on"?[...t,g]:t},[]);if(p.length===1&&p[0]===C)return T}return T.set(C,D?"on":"off"),T},in:(r,C,D)=>{let T=new Map;for(const p of r||[])T=e.select({id:p,value:!0,selected:new Map(T),children:C,parents:D});return T},out:r=>{const C=[];for(const[D,T]of r.entries())T==="on"&&C.push(D);return C}};return e},gA=n=>{const e=b_(n);return{select:C=>{let{selected:D,id:T,...p}=C;T=wi(T);const t=D.has(T)?new Map([[T,D.get(T)]]):new Map;return e.select({...p,id:T,selected:t})},in:(C,D,T)=>{let p=new Map;return C!=null&&C.length&&(p=e.in(C.slice(0,1),D,T)),p},out:(C,D,T)=>e.out(C,D,T)}},xN=n=>{const e=b_(n);return{select:C=>{let{id:D,selected:T,children:p,...t}=C;return D=wi(D),p.has(D)?T:e.select({id:D,selected:T,children:p,...t})},in:e.in,out:e.out}},_N=n=>{const e=gA(n);return{select:C=>{let{id:D,selected:T,children:p,...t}=C;return D=wi(D),p.has(D)?T:e.select({id:D,selected:T,children:p,...t})},in:e.in,out:e.out}},wN=n=>{const e={select:r=>{let{id:C,value:D,selected:T,children:p,parents:t}=r;C=wi(C);const d=new Map(T),g=[C];for(;g.length;){const M=g.shift();T.set(M,D?"on":"off"),p.has(M)&&g.push(...p.get(M))}let i=t.get(C);for(;i;){const M=p.get(i),v=M.every(l=>T.get(l)==="on"),f=M.every(l=>!T.has(l)||T.get(l)==="off");T.set(i,v?"on":f?"off":"indeterminate"),i=t.get(i)}return n&&!D&&Array.from(T.entries()).reduce((v,f)=>{let[l,a]=f;return a==="on"?[...v,l]:v},[]).length===0?d:T},in:(r,C,D)=>{let T=new Map;for(const p of r||[])T=e.select({id:p,value:!0,selected:new Map(T),children:C,parents:D});return T},out:(r,C)=>{const D=[];for(const[T,p]of r.entries())p==="on"&&!C.has(T)&&D.push(T);return D}};return e},Vm=Symbol.for("vuetify:nested"),vA={id:Wr(),root:{register:()=>null,unregister:()=>null,parents:Vr(new Map),children:Vr(new Map),open:()=>null,openOnSelect:()=>null,select:()=>null,opened:Vr(new Set),selected:Vr(new Map),selectedValues:Vr([])}},TN=ur({selectStrategy:[String,Function],openStrategy:[String,Object],opened:Array,selected:Array,mandatory:Boolean},"nested"),kN=n=>{let e=!1;const r=Vr(new Map),C=Vr(new Map),D=xi(n,"opened",n.opened,M=>new Set(M),M=>[...M.values()]),T=cn(()=>{if(typeof n.selectStrategy=="object")return n.selectStrategy;switch(n.selectStrategy){case"single-leaf":return _N(n.mandatory);case"leaf":return xN(n.mandatory);case"independent":return b_(n.mandatory);case"single-independent":return gA(n.mandatory);case"classic":default:return wN(n.mandatory)}}),p=cn(()=>{if(typeof n.openStrategy=="object")return n.openStrategy;switch(n.openStrategy){case"list":return bN;case"single":return yN;case"multiple":default:return mA}}),t=xi(n,"selected",n.selected,M=>T.value.in(M,r.value,C.value),M=>T.value.out(M,r.value,C.value));Tl(()=>{e=!0});function d(M){const v=[];let f=M;for(;f!=null;)v.unshift(f),f=C.value.get(f);return v}const g=Ss("nested"),i={id:Wr(),root:{opened:D,selected:t,selectedValues:cn(()=>{const M=[];for(const[v,f]of t.value.entries())f==="on"&&M.push(v);return M}),register:(M,v,f)=>{v&&M!==v&&C.value.set(M,v),f&&r.value.set(M,[]),v!=null&&r.value.set(v,[...r.value.get(v)||[],M])},unregister:M=>{if(e)return;r.value.delete(M);const v=C.value.get(M);if(v){const f=r.value.get(v)??[];r.value.set(v,f.filter(l=>l!==M))}C.value.delete(M),D.value.delete(M)},open:(M,v,f)=>{g.emit("click:open",{id:M,value:v,path:d(M),event:f});const l=p.value.open({id:M,value:v,opened:new Set(D.value),children:r.value,parents:C.value,event:f});l&&(D.value=l)},openOnSelect:(M,v,f)=>{const l=p.value.select({id:M,value:v,selected:new Map(t.value),opened:new Set(D.value),children:r.value,parents:C.value,event:f});l&&(D.value=l)},select:(M,v,f)=>{g.emit("click:select",{id:M,value:v,path:d(M),event:f});const l=T.value.select({id:M,value:v,selected:new Map(t.value),children:r.value,parents:C.value,event:f});l&&(t.value=l),i.root.openOnSelect(M,v,f)},children:r,parents:C}};return ts(Vm,i),i.root},yA=(n,e)=>{const r=ka(Vm,vA),C=Symbol(Js()),D=cn(()=>n.value!==void 0?n.value:C),T={...r,id:D,open:(p,t)=>r.root.open(D.value,p,t),openOnSelect:(p,t)=>r.root.openOnSelect(D.value,p,t),isOpen:cn(()=>r.root.opened.value.has(D.value)),parent:cn(()=>r.root.parents.value.get(D.value)),select:(p,t)=>r.root.select(D.value,p,t),isSelected:cn(()=>r.root.selected.value.get(wi(D.value))==="on"),isIndeterminate:cn(()=>r.root.selected.value.get(D.value)==="indeterminate"),isLeaf:cn(()=>!r.root.children.value.get(D.value)),isGroupActivator:r.isGroupActivator};return!r.isGroupActivator&&r.root.register(D.value,r.id.value,e),Tl(()=>{!r.isGroupActivator&&r.root.unregister(D.value)}),e&&ts(Vm,T),T},MN=()=>{const n=ka(Vm,vA);ts(Vm,{...n,isGroupActivator:!0})},AN=ac({name:"VListGroupActivator",setup(n,e){let{slots:r}=e;return MN(),()=>{var C;return(C=r.default)==null?void 0:C.call(r)}}}),SN=ur({activeColor:String,baseColor:String,color:String,collapseIcon:{type:bi,default:"$collapse"},expandIcon:{type:bi,default:"$expand"},prependIcon:bi,appendIcon:bi,fluid:Boolean,subgroup:Boolean,title:String,value:null,...Zr(),...Si()},"VListGroup"),Tx=Ar()({name:"VListGroup",props:SN(),setup(n,e){let{slots:r}=e;const{isOpen:C,open:D,id:T}=yA(Cr(n,"value"),!0),p=cn(()=>`v-list-group--id-${String(T.value)}`),t=pA(),{isBooted:d}=tp();function g(f){D(!C.value,f)}const i=cn(()=>({onClick:g,class:"v-list-group__header",id:p.value})),M=cn(()=>C.value?n.collapseIcon:n.expandIcon),v=cn(()=>({VListItem:{active:C.value,activeColor:n.activeColor,baseColor:n.baseColor,color:n.color,prependIcon:n.prependIcon||n.subgroup&&M.value,appendIcon:n.appendIcon||!n.subgroup&&M.value,title:n.title,value:n.value}}));return Or(()=>gt(n.tag,{class:["v-list-group",{"v-list-group--prepend":t==null?void 0:t.hasPrepend.value,"v-list-group--fluid":n.fluid,"v-list-group--subgroup":n.subgroup,"v-list-group--open":C.value},n.class],style:n.style},{default:()=>[r.activator&>(Fa,{defaults:v.value},{default:()=>[gt(AN,null,{default:()=>[r.activator({props:i.value,isOpen:C.value})]})]}),gt(Oc,{transition:{component:e1},disabled:!d.value},{default:()=>{var f;return[Co(gt("div",{class:"v-list-group__items",role:"group","aria-labelledby":p.value},[(f=r.default)==null?void 0:f.call(r)]),[[kh,C.value]])]}})]})),{}}});const bA=Nc("v-list-item-subtitle"),xA=Nc("v-list-item-title"),CN=ur({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:bi,baseColor:String,disabled:Boolean,lines:String,link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:bi,ripple:{type:[Boolean,Object],default:!0},subtitle:[String,Number,Boolean],title:[String,Number,Boolean],value:null,onClick:yh(),onClickOnce:yh(),...Su(),...Zr(),...ds(),...sc(),...fs(),...lo(),...lg(),...Si(),...oa(),...cc({variant:"text"})},"VListItem"),af=Ar()({name:"VListItem",directives:{Ripple:nd},props:CN(),emits:{click:n=>!0},setup(n,e){let{attrs:r,slots:C,emit:D}=e;const T=sg(n,r),p=cn(()=>n.value===void 0?T.href.value:n.value),{select:t,isSelected:d,isIndeterminate:g,isGroupActivator:i,root:M,parent:v,openOnSelect:f}=yA(p,!1),l=pA(),a=cn(()=>{var O;return n.active!==!1&&(n.active||((O=T.isActive)==null?void 0:O.value)||d.value)}),u=cn(()=>n.link!==!1&&T.isLink.value),o=cn(()=>!n.disabled&&n.link!==!1&&(n.link||T.isClickable.value||n.value!=null&&!!l)),s=cn(()=>n.rounded||n.nav),c=cn(()=>n.color??n.activeColor),h=cn(()=>({color:a.value?c.value??n.baseColor:n.baseColor,variant:n.variant}));$r(()=>{var O;return(O=T.isActive)==null?void 0:O.value},O=>{O&&v.value!=null&&M.open(v.value,!0),O&&f(O)},{immediate:!0});const{themeClasses:m}=Ma(n),{borderClasses:w}=uc(n),{colorClasses:y,colorStyles:S,variantClasses:_}=rp(h),{densityClasses:k}=Qs(n),{dimensionStyles:E}=lc(n),{elevationClasses:x}=Vs(n),{roundedClasses:A}=Eo(s),L=cn(()=>n.lines?`v-list-item--${n.lines}-line`:void 0),b=cn(()=>({isActive:a.value,select:t,isSelected:d.value,isIndeterminate:g.value}));function R(O){var z;D("click",O),!(i||!o.value)&&((z=T.navigate)==null||z.call(T,O),n.value!=null&&t(!d.value,O))}function I(O){(O.key==="Enter"||O.key===" ")&&(O.preventDefault(),R(O))}return Or(()=>{const O=u.value?"a":n.tag,z=C.title||n.title,F=C.subtitle||n.subtitle,B=!!(n.appendAvatar||n.appendIcon),N=!!(B||C.append),W=!!(n.prependAvatar||n.prependIcon),j=!!(W||C.prepend);return l==null||l.updateHasPrepend(j),n.activeColor&&rF("active-color",["color","base-color"]),Co(gt(O,{class:["v-list-item",{"v-list-item--active":a.value,"v-list-item--disabled":n.disabled,"v-list-item--link":o.value,"v-list-item--nav":n.nav,"v-list-item--prepend":!j&&(l==null?void 0:l.hasPrepend.value),[`${n.activeClass}`]:n.activeClass&&a.value},m.value,w.value,y.value,k.value,x.value,L.value,A.value,_.value,n.class],style:[S.value,E.value,n.style],href:T.href.value,tabindex:o.value?l?-2:0:void 0,onClick:R,onKeydown:o.value&&!u.value&&I},{default:()=>{var $;return[np(o.value||a.value,"v-list-item"),j&>("div",{key:"prepend",class:"v-list-item__prepend"},[C.prepend?gt(Fa,{key:"prepend-defaults",disabled:!W,defaults:{VAvatar:{density:n.density,image:n.prependAvatar},VIcon:{density:n.density,icon:n.prependIcon},VListItemAction:{start:!0}}},{default:()=>{var U;return[(U=C.prepend)==null?void 0:U.call(C,b.value)]}}):gt(Yr,null,[n.prependAvatar&>(Zf,{key:"prepend-avatar",density:n.density,image:n.prependAvatar},null),n.prependIcon&>(ja,{key:"prepend-icon",density:n.density,icon:n.prependIcon},null)]),gt("div",{class:"v-list-item__spacer"},null)]),gt("div",{class:"v-list-item__content","data-no-activator":""},[z&>(xA,{key:"title"},{default:()=>{var U;return[((U=C.title)==null?void 0:U.call(C,{title:n.title}))??n.title]}}),F&>(bA,{key:"subtitle"},{default:()=>{var U;return[((U=C.subtitle)==null?void 0:U.call(C,{subtitle:n.subtitle}))??n.subtitle]}}),($=C.default)==null?void 0:$.call(C,b.value)]),N&>("div",{key:"append",class:"v-list-item__append"},[C.append?gt(Fa,{key:"append-defaults",disabled:!B,defaults:{VAvatar:{density:n.density,image:n.appendAvatar},VIcon:{density:n.density,icon:n.appendIcon},VListItemAction:{end:!0}}},{default:()=>{var U;return[(U=C.append)==null?void 0:U.call(C,b.value)]}}):gt(Yr,null,[n.appendIcon&>(ja,{key:"append-icon",density:n.density,icon:n.appendIcon},null),n.appendAvatar&>(Zf,{key:"append-avatar",density:n.density,image:n.appendAvatar},null)]),gt("div",{class:"v-list-item__spacer"},null)])]}}),[[Tu("ripple"),o.value&&n.ripple]])}),{}}}),EN=ur({color:String,inset:Boolean,sticky:Boolean,title:String,...Zr(),...Si()},"VListSubheader"),_A=Ar()({name:"VListSubheader",props:EN(),setup(n,e){let{slots:r}=e;const{textColorClasses:C,textColorStyles:D}=Xs(Cr(n,"color"));return Or(()=>{const T=!!(r.default||n.title);return gt(n.tag,{class:["v-list-subheader",{"v-list-subheader--inset":n.inset,"v-list-subheader--sticky":n.sticky},C.value,n.class],style:[{textColorStyles:D},n.style]},{default:()=>{var p;return[T&>("div",{class:"v-list-subheader__text"},[((p=r.default)==null?void 0:p.call(r))??n.title])]}})}),{}}});const LN=ur({color:String,inset:Boolean,length:[Number,String],thickness:[Number,String],vertical:Boolean,...Zr(),...oa()},"VDivider"),wA=Ar()({name:"VDivider",props:LN(),setup(n,e){let{attrs:r}=e;const{themeClasses:C}=Ma(n),{textColorClasses:D,textColorStyles:T}=Xs(Cr(n,"color")),p=cn(()=>{const t={};return n.length&&(t[n.vertical?"maxHeight":"maxWidth"]=Qr(n.length)),n.thickness&&(t[n.vertical?"borderRightWidth":"borderTopWidth"]=Qr(n.thickness)),t});return Or(()=>gt("hr",{class:[{"v-divider":!0,"v-divider--inset":n.inset,"v-divider--vertical":n.vertical},C.value,D.value,n.class],style:[p.value,T.value,n.style],"aria-orientation":!r.role||r.role==="separator"?n.vertical?"vertical":"horizontal":void 0,role:`${r.role||"separator"}`},null)),{}}}),IN=ur({items:Array},"VListChildren"),TA=Ar()({name:"VListChildren",props:IN(),setup(n,e){let{slots:r}=e;return dA(),()=>{var C,D;return((C=r.default)==null?void 0:C.call(r))??((D=n.items)==null?void 0:D.map(T=>{var f,l;let{children:p,props:t,type:d,raw:g}=T;if(d==="divider")return((f=r.divider)==null?void 0:f.call(r,{props:t}))??gt(wA,t,null);if(d==="subheader")return((l=r.subheader)==null?void 0:l.call(r,{props:t}))??gt(_A,t,null);const i={subtitle:r.subtitle?a=>{var u;return(u=r.subtitle)==null?void 0:u.call(r,{...a,item:g})}:void 0,prepend:r.prepend?a=>{var u;return(u=r.prepend)==null?void 0:u.call(r,{...a,item:g})}:void 0,append:r.append?a=>{var u;return(u=r.append)==null?void 0:u.call(r,{...a,item:g})}:void 0,title:r.title?a=>{var u;return(u=r.title)==null?void 0:u.call(r,{...a,item:g})}:void 0},[M,v]=Tx.filterProps(t);return p?gt(Tx,qr({value:t==null?void 0:t.value},M),{activator:a=>{let{props:u}=a;return r.header?r.header({props:{...t,...u}}):gt(af,qr(t,u),i)},default:()=>gt(TA,{items:p},r)}):r.item?r.item({props:t}):gt(af,t,i)}))}}}),kA=ur({items:{type:Array,default:()=>[]},itemTitle:{type:[String,Array,Function],default:"title"},itemValue:{type:[String,Array,Function],default:"value"},itemChildren:{type:[Boolean,String,Array,Function],default:"children"},itemProps:{type:[Boolean,String,Array,Function],default:"props"},returnObject:Boolean,valueComparator:{type:Function,default:b0}},"list-items");function zd(n,e){const r=ph(e,n.itemTitle,e),C=ph(e,n.itemValue,r),D=ph(e,n.itemChildren),T=n.itemProps===!0?typeof e=="object"&&e!=null&&!Array.isArray(e)?"children"in e?$d(e,["children"])[1]:e:void 0:ph(e,n.itemProps),p={title:r,value:C,...T};return{title:String(p.title??""),value:p.value,props:p,children:Array.isArray(D)?MA(n,D):void 0,raw:e}}function MA(n,e){const r=[];for(const C of e)r.push(zd(n,C));return r}function x_(n){const e=cn(()=>MA(n,n.items)),r=cn(()=>e.value.some(T=>T.value===null));function C(T){return r.value||(T=T.filter(p=>p!==null)),T.map(p=>n.returnObject&&typeof p=="string"?zd(n,p):e.value.find(t=>n.valueComparator(p,t.value))||zd(n,p))}function D(T){return n.returnObject?T.map(p=>{let{raw:t}=p;return t}):T.map(p=>{let{value:t}=p;return t})}return{items:e,transformIn:C,transformOut:D}}function RN(n){return typeof n=="string"||typeof n=="number"||typeof n=="boolean"}function PN(n,e){const r=ph(e,n.itemType,"item"),C=RN(e)?e:ph(e,n.itemTitle),D=ph(e,n.itemValue,void 0),T=ph(e,n.itemChildren),p=n.itemProps===!0?$d(e,["children"])[1]:ph(e,n.itemProps),t={title:C,value:D,...p};return{type:r,title:t.title,value:t.value,props:t,children:r==="item"&&T?AA(n,T):void 0,raw:e}}function AA(n,e){const r=[];for(const C of e)r.push(PN(n,C));return r}function ON(n){return{items:cn(()=>AA(n,n.items))}}const DN=ur({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,lines:{type:[Boolean,String],default:"one"},nav:Boolean,...TN({selectStrategy:"single-leaf",openStrategy:"list"}),...Su(),...Zr(),...ds(),...sc(),...fs(),itemType:{type:String,default:"type"},...kA(),...lo(),...Si(),...oa(),...cc({variant:"text"})},"VList"),a1=Ar()({name:"VList",props:DN(),emits:{"update:selected":n=>!0,"update:opened":n=>!0,"click:open":n=>!0,"click:select":n=>!0},setup(n,e){let{slots:r}=e;const{items:C}=ON(n),{themeClasses:D}=Ma(n),{backgroundColorClasses:T,backgroundColorStyles:p}=Oo(Cr(n,"bgColor")),{borderClasses:t}=uc(n),{densityClasses:d}=Qs(n),{dimensionStyles:g}=lc(n),{elevationClasses:i}=Vs(n),{roundedClasses:M}=Eo(n),{open:v,select:f}=kN(n),l=cn(()=>n.lines?`v-list--${n.lines}-line`:void 0),a=Cr(n,"activeColor"),u=Cr(n,"baseColor"),o=Cr(n,"color");dA(),es({VListGroup:{activeColor:a,baseColor:u,color:o},VListItem:{activeClass:Cr(n,"activeClass"),activeColor:a,baseColor:u,color:o,density:Cr(n,"density"),disabled:Cr(n,"disabled"),lines:Cr(n,"lines"),nav:Cr(n,"nav"),variant:Cr(n,"variant")}});const s=Wr(!1),c=Vr();function h(_){s.value=!0}function m(_){s.value=!1}function w(_){var k;!s.value&&!(_.relatedTarget&&((k=c.value)!=null&&k.contains(_.relatedTarget)))&&S()}function y(_){if(c.value){if(_.key==="ArrowDown")S("next");else if(_.key==="ArrowUp")S("prev");else if(_.key==="Home")S("first");else if(_.key==="End")S("last");else return;_.preventDefault()}}function S(_){if(c.value)return uy(c.value,_)}return Or(()=>gt(n.tag,{ref:c,class:["v-list",{"v-list--disabled":n.disabled,"v-list--nav":n.nav},D.value,T.value,t.value,d.value,i.value,l.value,M.value,n.class],style:[p.value,g.value,n.style],tabindex:n.disabled||s.value?-1:0,role:"listbox","aria-activedescendant":void 0,onFocusin:h,onFocusout:m,onFocus:w,onKeydown:y},{default:()=>[gt(TA,{items:C.value},r)]})),{open:v,select:f,focus:S}}}),zN=Nc("v-list-img"),FN=ur({start:Boolean,end:Boolean,...Zr(),...Si()},"VListItemAction"),BN=Ar()({name:"VListItemAction",props:FN(),setup(n,e){let{slots:r}=e;return Or(()=>gt(n.tag,{class:["v-list-item-action",{"v-list-item-action--start":n.start,"v-list-item-action--end":n.end},n.class],style:n.style},r)),{}}}),NN=ur({start:Boolean,end:Boolean,...Zr(),...Si()},"VListItemMedia"),VN=Ar()({name:"VListItemMedia",props:NN(),setup(n,e){let{slots:r}=e;return Or(()=>gt(n.tag,{class:["v-list-item-media",{"v-list-item-media--start":n.start,"v-list-item-media--end":n.end},n.class],style:n.style},r)),{}}});function xb(n,e){return{x:n.x+e.x,y:n.y+e.y}}function jN(n,e){return{x:n.x-e.x,y:n.y-e.y}}function tT(n,e){if(n.side==="top"||n.side==="bottom"){const{side:r,align:C}=n,D=C==="left"?0:C==="center"?e.width/2:C==="right"?e.width:C,T=r==="top"?0:r==="bottom"?e.height:r;return xb({x:D,y:T},e)}else if(n.side==="left"||n.side==="right"){const{side:r,align:C}=n,D=r==="left"?0:r==="right"?e.width:r,T=C==="top"?0:C==="center"?e.height/2:C==="bottom"?e.height:C;return xb({x:D,y:T},e)}return xb({x:e.width/2,y:e.height/2},e)}const SA={static:GN,connected:WN},UN=ur({locationStrategy:{type:[String,Function],default:"static",validator:n=>typeof n=="function"||n in SA},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function HN(n,e){const r=Vr({}),C=Vr();to&&($f(()=>!!(e.isActive.value&&n.locationStrategy),T=>{var p,t;$r(()=>n.locationStrategy,T),wl(()=>{C.value=void 0}),typeof n.locationStrategy=="function"?C.value=(p=n.locationStrategy(e,n,r))==null?void 0:p.updateLocation:C.value=(t=SA[n.locationStrategy](e,n,r))==null?void 0:t.updateLocation}),window.addEventListener("resize",D,{passive:!0}),wl(()=>{window.removeEventListener("resize",D),C.value=void 0}));function D(T){var p;(p=C.value)==null||p.call(C,T)}return{contentStyles:r,updateLocation:C}}function GN(){}function qN(n,e){e?n.style.removeProperty("left"):n.style.removeProperty("right");const r=J2(n);return e?r.x+=parseFloat(n.style.right||0):r.x-=parseFloat(n.style.left||0),r.y-=parseFloat(n.style.top||0),r}function WN(n,e,r){xF(n.activatorEl.value)&&Object.assign(r.value,{position:"fixed",top:0,[n.isRtl.value?"right":"left"]:0});const{preferredAnchor:D,preferredOrigin:T}=X2(()=>{const l=lx(e.location,n.isRtl.value),a=e.origin==="overlap"?l:e.origin==="auto"?gb(l):lx(e.origin,n.isRtl.value);return l.side===a.side&&l.align===vb(a).align?{preferredAnchor:M5(l),preferredOrigin:M5(a)}:{preferredAnchor:l,preferredOrigin:a}}),[p,t,d,g]=["minWidth","minHeight","maxWidth","maxHeight"].map(l=>cn(()=>{const a=parseFloat(e[l]);return isNaN(a)?1/0:a})),i=cn(()=>{if(Array.isArray(e.offset))return e.offset;if(typeof e.offset=="string"){const l=e.offset.split(" ").map(parseFloat);return l.length<2&&l.push(0),l}return typeof e.offset=="number"?[e.offset,0]:[0,0]});let M=!1;const v=new ResizeObserver(()=>{M&&f()});$r([n.activatorEl,n.contentEl],(l,a)=>{let[u,o]=l,[s,c]=a;s&&v.unobserve(s),u&&v.observe(u),c&&v.unobserve(c),o&&v.observe(o)},{immediate:!0}),wl(()=>{v.disconnect()});function f(){if(M=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>M=!0)}),!n.activatorEl.value||!n.contentEl.value)return;const l=n.activatorEl.value.getBoundingClientRect(),a=qN(n.contentEl.value,n.isRtl.value),u=hy(n.contentEl.value),o=12;u.length||(u.push(document.documentElement),n.contentEl.value.style.top&&n.contentEl.value.style.left||(a.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),a.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const s=u.reduce((E,x)=>{const A=x.getBoundingClientRect(),L=new Yp({x:x===document.documentElement?0:A.x,y:x===document.documentElement?0:A.y,width:x.clientWidth,height:x.clientHeight});return E?new Yp({x:Math.max(E.left,L.left),y:Math.max(E.top,L.top),width:Math.min(E.right,L.right)-Math.max(E.left,L.left),height:Math.min(E.bottom,L.bottom)-Math.max(E.top,L.top)}):L},void 0);s.x+=o,s.y+=o,s.width-=o*2,s.height-=o*2;let c={anchor:D.value,origin:T.value};function h(E){const x=new Yp(a),A=tT(E.anchor,l),L=tT(E.origin,x);let{x:b,y:R}=jN(A,L);switch(E.anchor.side){case"top":R-=i.value[0];break;case"bottom":R+=i.value[0];break;case"left":b-=i.value[0];break;case"right":b+=i.value[0];break}switch(E.anchor.align){case"top":R-=i.value[1];break;case"bottom":R+=i.value[1];break;case"left":b-=i.value[1];break;case"right":b+=i.value[1];break}return x.x+=b,x.y+=R,x.width=Math.min(x.width,d.value),x.height=Math.min(x.height,g.value),{overflows:S5(x,s),x:b,y:R}}let m=0,w=0;const y={x:0,y:0},S={x:!1,y:!1};let _=-1;for(;!(_++>10);){const{x:E,y:x,overflows:A}=h(c);m+=E,w+=x,a.x+=E,a.y+=x;{const L=A5(c.anchor),b=A.x.before||A.x.after,R=A.y.before||A.y.after;let I=!1;if(["x","y"].forEach(O=>{if(O==="x"&&b&&!S.x||O==="y"&&R&&!S.y){const z={anchor:{...c.anchor},origin:{...c.origin}},F=O==="x"?L==="y"?vb:gb:L==="y"?gb:vb;z.anchor=F(z.anchor),z.origin=F(z.origin);const{overflows:B}=h(z);(B[O].before<=A[O].before&&B[O].after<=A[O].after||B[O].before+B[O].after<(A[O].before+A[O].after)/2)&&(c=z,I=S[O]=!0)}}),I)continue}A.x.before&&(m+=A.x.before,a.x+=A.x.before),A.x.after&&(m-=A.x.after,a.x-=A.x.after),A.y.before&&(w+=A.y.before,a.y+=A.y.before),A.y.after&&(w-=A.y.after,a.y-=A.y.after);{const L=S5(a,s);y.x=s.width-L.x.before-L.x.after,y.y=s.height-L.y.before-L.y.after,m+=L.x.before,a.x+=L.x.before,w+=L.y.before,a.y+=L.y.before}break}const k=A5(c.anchor);return Object.assign(r.value,{"--v-overlay-anchor-origin":`${c.anchor.side} ${c.anchor.align}`,transformOrigin:`${c.origin.side} ${c.origin.align}`,top:Qr(_b(w)),left:n.isRtl.value?void 0:Qr(_b(m)),right:n.isRtl.value?Qr(_b(-m)):void 0,minWidth:Qr(k==="y"?Math.min(p.value,l.width):p.value),maxWidth:Qr(nT(Zs(y.x,p.value===1/0?0:p.value,d.value))),maxHeight:Qr(nT(Zs(y.y,t.value===1/0?0:t.value,g.value)))}),{available:y,contentBox:a}}return $r(()=>[D.value,T.value,e.offset,e.minWidth,e.minHeight,e.maxWidth,e.maxHeight],()=>f()),Ua(()=>{const l=f();if(!l)return;const{available:a,contentBox:u}=l;u.height>a.y&&requestAnimationFrame(()=>{f(),requestAnimationFrame(()=>{f()})})}),{updateLocation:f}}function _b(n){return Math.round(n*devicePixelRatio)/devicePixelRatio}function nT(n){return Math.ceil(n*devicePixelRatio)/devicePixelRatio}let kx=!0;const py=[];function YN(n){!kx||py.length?(py.push(n),Mx()):(kx=!1,n(),Mx())}let rT=-1;function Mx(){cancelAnimationFrame(rT),rT=requestAnimationFrame(()=>{const n=py.shift();n&&n(),py.length?Mx():kx=!0})}const Mv={none:null,close:XN,block:KN,reposition:JN},$N=ur({scrollStrategy:{type:[String,Function],default:"block",validator:n=>typeof n=="function"||n in Mv}},"VOverlay-scroll-strategies");function ZN(n,e){if(!to)return;let r;wu(async()=>{r==null||r.stop(),e.isActive.value&&n.scrollStrategy&&(r=Um(),await Ua(),r.active&&r.run(()=>{var C;typeof n.scrollStrategy=="function"?n.scrollStrategy(e,n,r):(C=Mv[n.scrollStrategy])==null||C.call(Mv,e,n,r)}))}),wl(()=>{r==null||r.stop()})}function XN(n){function e(r){n.isActive.value=!1}CA(n.activatorEl.value??n.contentEl.value,e)}function KN(n,e){var p;const r=(p=n.root.value)==null?void 0:p.offsetParent,C=[...new Set([...hy(n.activatorEl.value,e.contained?r:void 0),...hy(n.contentEl.value,e.contained?r:void 0)])].filter(t=>!t.classList.contains("v-overlay-scroll-blocked")),D=window.innerWidth-document.documentElement.offsetWidth,T=(t=>n_(t)&&t)(r||document.documentElement);T&&n.root.value.classList.add("v-overlay--scroll-blocked"),C.forEach((t,d)=>{t.style.setProperty("--v-body-scroll-x",Qr(-t.scrollLeft)),t.style.setProperty("--v-body-scroll-y",Qr(-t.scrollTop)),t!==document.documentElement&&t.style.setProperty("--v-scrollbar-offset",Qr(D)),t.classList.add("v-overlay-scroll-blocked")}),wl(()=>{C.forEach((t,d)=>{const g=parseFloat(t.style.getPropertyValue("--v-body-scroll-x")),i=parseFloat(t.style.getPropertyValue("--v-body-scroll-y"));t.style.removeProperty("--v-body-scroll-x"),t.style.removeProperty("--v-body-scroll-y"),t.style.removeProperty("--v-scrollbar-offset"),t.classList.remove("v-overlay-scroll-blocked"),t.scrollLeft=-g,t.scrollTop=-i}),T&&n.root.value.classList.remove("v-overlay--scroll-blocked")})}function JN(n,e,r){let C=!1,D=-1,T=-1;function p(t){YN(()=>{var i,M;const d=performance.now();(M=(i=n.updateLocation).value)==null||M.call(i,t),C=(performance.now()-d)/(1e3/60)>2})}T=(typeof requestIdleCallback>"u"?t=>t():requestIdleCallback)(()=>{r.run(()=>{CA(n.activatorEl.value??n.contentEl.value,t=>{C?(cancelAnimationFrame(D),D=requestAnimationFrame(()=>{D=requestAnimationFrame(()=>{p(t)})})):p(t)})})}),wl(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(T),cancelAnimationFrame(D)})}function CA(n,e){const r=[document,...hy(n)];r.forEach(C=>{C.addEventListener("scroll",e,{passive:!0})}),wl(()=>{r.forEach(C=>{C.removeEventListener("scroll",e)})})}const Ax=Symbol.for("vuetify:v-menu"),EA=ur({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function LA(n,e){const r={},C=D=>()=>{if(!to)return Promise.resolve(!0);const T=D==="openDelay";return r.closeDelay&&window.clearTimeout(r.closeDelay),delete r.closeDelay,r.openDelay&&window.clearTimeout(r.openDelay),delete r.openDelay,new Promise(p=>{const t=parseInt(n[D]??0,10);r[D]=window.setTimeout(()=>{e==null||e(T),p(T)},t)})};return{runCloseDelay:C("closeDelay"),runOpenDelay:C("openDelay")}}const QN=ur({activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...EA()},"VOverlay-activator");function eV(n,e){let{isActive:r,isTop:C}=e;const D=Vr();let T=!1,p=!1,t=!0;const d=cn(()=>n.openOnFocus||n.openOnFocus==null&&n.openOnHover),g=cn(()=>n.openOnClick||n.openOnClick==null&&!n.openOnHover&&!d.value),{runOpenDelay:i,runCloseDelay:M}=LA(n,c=>{c===(n.openOnHover&&T||d.value&&p)&&!(n.openOnHover&&r.value&&!C.value)&&(r.value!==c&&(t=!0),r.value=c)}),v={onClick:c=>{c.stopPropagation(),D.value=c.currentTarget||c.target,r.value=!r.value},onMouseenter:c=>{var h;(h=c.sourceCapabilities)!=null&&h.firesTouchEvents||(T=!0,D.value=c.currentTarget||c.target,i())},onMouseleave:c=>{T=!1,M()},onFocus:c=>{l0(c.target,":focus-visible")!==!1&&(p=!0,c.stopPropagation(),D.value=c.currentTarget||c.target,i())},onBlur:c=>{p=!1,c.stopPropagation(),M()}},f=cn(()=>{const c={};return g.value&&(c.onClick=v.onClick),n.openOnHover&&(c.onMouseenter=v.onMouseenter,c.onMouseleave=v.onMouseleave),d.value&&(c.onFocus=v.onFocus,c.onBlur=v.onBlur),c}),l=cn(()=>{const c={};if(n.openOnHover&&(c.onMouseenter=()=>{T=!0,i()},c.onMouseleave=()=>{T=!1,M()}),d.value&&(c.onFocusin=()=>{p=!0,i()},c.onFocusout=()=>{p=!1,M()}),n.closeOnContentClick){const h=ka(Ax,null);c.onClick=()=>{r.value=!1,h==null||h.closeParents()}}return c}),a=cn(()=>{const c={};return n.openOnHover&&(c.onMouseenter=()=>{t&&(T=!0,t=!1,i())},c.onMouseleave=()=>{T=!1,M()}),c});$r(C,c=>{c&&(n.openOnHover&&!T&&(!d.value||!p)||d.value&&!p&&(!n.openOnHover||!T))&&(r.value=!1)});const u=Vr();wu(()=>{u.value&&Ua(()=>{D.value=ox(u.value)})});const o=Ss("useActivator");let s;return $r(()=>!!n.activator,c=>{c&&to?(s=Um(),s.run(()=>{tV(n,o,{activatorEl:D,activatorEvents:f})})):s&&s.stop()},{flush:"post",immediate:!0}),wl(()=>{s==null||s.stop()}),{activatorEl:D,activatorRef:u,activatorEvents:f,contentEvents:l,scrimEvents:a}}function tV(n,e,r){let{activatorEl:C,activatorEvents:D}=r;$r(()=>n.activator,(d,g)=>{if(g&&d!==g){const i=t(g);i&&p(i)}d&&Ua(()=>T())},{immediate:!0}),$r(()=>n.activatorProps,()=>{T()}),wl(()=>{p()});function T(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:t(),g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:n.activatorProps;d&&$z(d,qr(D.value,g))}function p(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:t(),g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:n.activatorProps;d&&Zz(d,qr(D.value,g))}function t(){var i,M;let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:n.activator,g;if(d)if(d==="parent"){let v=(M=(i=e==null?void 0:e.proxy)==null?void 0:i.$el)==null?void 0:M.parentNode;for(;v!=null&&v.hasAttribute("data-no-activator");)v=v.parentNode;g=v}else typeof d=="string"?g=document.querySelector(d):"$el"in d?g=d.$el:g=d;return C.value=(g==null?void 0:g.nodeType)===Node.ELEMENT_NODE?g:null,C.value}}function IA(){if(!to)return Wr(!1);const{ssr:n}=ep();if(n){const e=Wr(!1);return Ks(()=>{e.value=!0}),e}else return Wr(!0)}const o1=ur({eager:Boolean},"lazy");function __(n,e){const r=Wr(!1),C=cn(()=>r.value||n.eager||e.value);$r(e,()=>r.value=!0);function D(){n.eager||(r.value=!1)}return{isBooted:r,hasContent:C,onAfterLeave:D}}function E0(){const e=Ss("useScopeId").vnode.scopeId;return{scopeId:e?{[e]:""}:void 0}}const iT=Symbol.for("vuetify:stack"),am=yl([]);function nV(n,e,r){const C=Ss("useStack"),D=!r,T=ka(iT,void 0),p=yl({activeChildren:new Set});ts(iT,p);const t=Wr(+e.value);$f(n,()=>{var M;const i=(M=am.at(-1))==null?void 0:M[1];t.value=i?i+10:+e.value,D&&am.push([C.uid,t.value]),T==null||T.activeChildren.add(C.uid),wl(()=>{if(D){const v=wi(am).findIndex(f=>f[0]===C.uid);am.splice(v,1)}T==null||T.activeChildren.delete(C.uid)})});const d=Wr(!0);D&&wu(()=>{var M;const i=((M=am.at(-1))==null?void 0:M[0])===C.uid;setTimeout(()=>d.value=i)});const g=cn(()=>!p.activeChildren.size);return{globalTop:Hm(d),localTop:g,stackStyles:cn(()=>({zIndex:t.value}))}}function rV(n){return{teleportTarget:cn(()=>{const r=n.value;if(r===!0||!to)return;const C=r===!1?document.body:typeof r=="string"?document.querySelector(r):r;if(C==null)return;let D=C.querySelector(":scope > .v-overlay-container");return D||(D=document.createElement("div"),D.className="v-overlay-container",C.appendChild(D)),D})}}function iV(){return!0}function RA(n,e,r){if(!n||PA(n,r)===!1)return!1;const C=S6(e);if(typeof ShadowRoot<"u"&&C instanceof ShadowRoot&&C.host===n.target)return!1;const D=(typeof r.value=="object"&&r.value.include||(()=>[]))();return D.push(e),!D.some(T=>T==null?void 0:T.contains(n.target))}function PA(n,e){return(typeof e.value=="object"&&e.value.closeConditional||iV)(n)}function aV(n,e,r){const C=typeof r.value=="function"?r.value:r.value.handler;e._clickOutside.lastMousedownWasOutside&&RA(n,e,r)&&setTimeout(()=>{PA(n,r)&&C&&C(n)},0)}function aT(n,e){const r=S6(n);e(document),typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&e(r)}const OA={mounted(n,e){const r=D=>aV(D,n,e),C=D=>{n._clickOutside.lastMousedownWasOutside=RA(D,n,e)};aT(n,D=>{D.addEventListener("click",r,!0),D.addEventListener("mousedown",C,!0)}),n._clickOutside||(n._clickOutside={lastMousedownWasOutside:!1}),n._clickOutside[e.instance.$.uid]={onClick:r,onMousedown:C}},unmounted(n,e){n._clickOutside&&(aT(n,r=>{var T;if(!r||!((T=n._clickOutside)!=null&&T[e.instance.$.uid]))return;const{onClick:C,onMousedown:D}=n._clickOutside[e.instance.$.uid];r.removeEventListener("click",C,!0),r.removeEventListener("mousedown",D,!0)}),delete n._clickOutside[e.instance.$.uid])}};function oV(n){const{modelValue:e,color:r,...C}=n;return gt(bh,{name:"fade-transition",appear:!0},{default:()=>[n.modelValue&>("div",qr({class:["v-overlay__scrim",n.color.backgroundColorClasses.value],style:n.color.backgroundColorStyles.value},C),null)]})}const cg=ur({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...QN(),...Zr(),...sc(),...o1(),...UN(),...$N(),...oa(),...df()},"VOverlay"),of=Ar()({name:"VOverlay",directives:{ClickOutside:OA},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...cg()},emits:{"click:outside":n=>!0,"update:modelValue":n=>!0,afterLeave:()=>!0},setup(n,e){let{slots:r,attrs:C,emit:D}=e;const T=xi(n,"modelValue"),p=cn({get:()=>T.value,set:z=>{z&&n.disabled||(T.value=z)}}),{teleportTarget:t}=rV(cn(()=>n.attach||n.contained)),{themeClasses:d}=Ma(n),{rtlClasses:g,isRtl:i}=Cs(),{hasContent:M,onAfterLeave:v}=__(n,p),f=Oo(cn(()=>typeof n.scrim=="string"?n.scrim:null)),{globalTop:l,localTop:a,stackStyles:u}=nV(p,Cr(n,"zIndex"),n._disableGlobalStack),{activatorEl:o,activatorRef:s,activatorEvents:c,contentEvents:h,scrimEvents:m}=eV(n,{isActive:p,isTop:a}),{dimensionStyles:w}=lc(n),y=IA(),{scopeId:S}=E0();$r(()=>n.disabled,z=>{z&&(p.value=!1)});const _=Vr(),k=Vr(),{contentStyles:E,updateLocation:x}=HN(n,{isRtl:i,contentEl:k,activatorEl:o,isActive:p});ZN(n,{root:_,contentEl:k,activatorEl:o,isActive:p,updateLocation:x});function A(z){D("click:outside",z),n.persistent?O():p.value=!1}function L(){return p.value&&l.value}to&&$r(p,z=>{z?window.addEventListener("keydown",b):window.removeEventListener("keydown",b)},{immediate:!0});function b(z){var F,B;z.key==="Escape"&&l.value&&(n.persistent?O():(p.value=!1,(F=k.value)!=null&&F.contains(document.activeElement)&&((B=o.value)==null||B.focus())))}const R=$6();$f(()=>n.closeOnBack,()=>{YB(R,z=>{l.value&&p.value?(z(!1),n.persistent?O():p.value=!1):z()})});const I=Vr();$r(()=>p.value&&(n.absolute||n.contained)&&t.value==null,z=>{if(z){const F=t_(_.value);F&&F!==document.scrollingElement&&(I.value=F.scrollTop)}});function O(){n.noClickAnimation||k.value&&Dd(k.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:zm})}return Or(()=>{var z;return gt(Yr,null,[(z=r.activator)==null?void 0:z.call(r,{isActive:p.value,props:qr({ref:s},c.value,n.activatorProps)}),y.value&&M.value&>(BE,{disabled:!t.value,to:t.value},{default:()=>[gt("div",qr({class:["v-overlay",{"v-overlay--absolute":n.absolute||n.contained,"v-overlay--active":p.value,"v-overlay--contained":n.contained},d.value,g.value,n.class],style:[u.value,{top:Qr(I.value)},n.style],ref:_},S,C),[gt(oV,qr({color:f,modelValue:p.value&&!!n.scrim},m.value),null),gt(Oc,{appear:!0,persisted:!0,transition:n.transition,target:o.value,onAfterLeave:()=>{v(),D("afterLeave")}},{default:()=>{var F;return[Co(gt("div",qr({ref:k,class:["v-overlay__content",n.contentClass],style:[w.value,E.value]},h.value,n.contentProps),[(F=r.default)==null?void 0:F.call(r,{isActive:p})]),[[kh,p.value],[Tu("click-outside"),{handler:A,closeConditional:L,include:()=>[o.value]}]])]}})])]})])}),{activatorEl:o,animateClick:O,contentEl:k,globalTop:l,localTop:a,updateLocation:x}}}),wb=Symbol("Forwarded refs");function Tb(n,e){let r=n;for(;r;){const C=Reflect.getOwnPropertyDescriptor(r,e);if(C)return C;r=Object.getPrototypeOf(r)}}function Vc(n){for(var e=arguments.length,r=new Array(e>1?e-1:0),C=1;C!0},setup(n,e){let{slots:r}=e;const C=xi(n,"modelValue"),{scopeId:D}=E0(),T=Js(),p=cn(()=>n.id||`v-menu-${T}`),t=Vr(),d=ka(Ax,null),g=Wr(0);ts(Ax,{register(){++g.value},unregister(){--g.value},closeParents(){setTimeout(()=>{g.value||(C.value=!1,d==null||d.closeParents())},40)}});async function i(a){var s,c,h;const u=a.relatedTarget,o=a.target;await Ua(),C.value&&u!==o&&((s=t.value)!=null&&s.contentEl)&&((c=t.value)!=null&&c.globalTop)&&![document,t.value.contentEl].includes(o)&&!t.value.contentEl.contains(o)&&((h=Dm(t.value.contentEl)[0])==null||h.focus())}$r(C,a=>{a?(d==null||d.register(),document.addEventListener("focusin",i,{once:!0})):(d==null||d.unregister(),document.removeEventListener("focusin",i))});function M(){d==null||d.closeParents()}function v(a){var u,o,s;n.disabled||a.key==="Tab"&&(p6(Dm((u=t.value)==null?void 0:u.contentEl,!1),a.shiftKey?"prev":"next",h=>h.tabIndex>=0)||(C.value=!1,(s=(o=t.value)==null?void 0:o.activatorEl)==null||s.focus()))}function f(a){var o;if(n.disabled)return;const u=(o=t.value)==null?void 0:o.contentEl;u&&C.value?a.key==="ArrowDown"?(a.preventDefault(),uy(u,"next")):a.key==="ArrowUp"&&(a.preventDefault(),uy(u,"prev")):["ArrowDown","ArrowUp"].includes(a.key)&&(C.value=!0,a.preventDefault(),setTimeout(()=>setTimeout(()=>f(a))))}const l=cn(()=>qr({"aria-haspopup":"menu","aria-expanded":String(C.value),"aria-owns":p.value,onKeydown:f},n.activatorProps));return Or(()=>{const[a]=of.filterProps(n);return gt(of,qr({ref:t,class:["v-menu",n.class],style:n.style},a,{modelValue:C.value,"onUpdate:modelValue":u=>C.value=u,absolute:!0,activatorProps:l.value,"onClick:outside":M,onKeydown:v},D),{activator:r.activator,default:function(){for(var u=arguments.length,o=new Array(u),s=0;s{var c;return[(c=r.default)==null?void 0:c.call(r,...o)]}})}})}),Vc({id:p,ΨopenChildren:g},t)}});const lV=ur({active:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...Zr(),...df({transition:{component:l_}})},"VCounter"),l1=Ar()({name:"VCounter",functional:!0,props:lV(),setup(n,e){let{slots:r}=e;const C=cn(()=>n.max?`${n.value} / ${n.max}`:String(n.value));return Or(()=>gt(Oc,{transition:n.transition},{default:()=>[Co(gt("div",{class:["v-counter",n.class],style:n.style},[r.default?r.default({counter:C.value,max:n.max,value:n.value}):C.value]),[[kh,n.active]])]})),{}}});const uV=ur({floating:Boolean,...Zr()},"VFieldLabel"),um=Ar()({name:"VFieldLabel",props:uV(),setup(n,e){let{slots:r}=e;return Or(()=>gt(C0,{class:["v-field-label",{"v-field-label--floating":n.floating},n.class],style:n.style,"aria-hidden":n.floating||void 0},r)),{}}}),cV=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],u1=ur({appendInnerIcon:bi,bgColor:String,clearable:Boolean,clearIcon:{type:bi,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:bi,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:n=>cV.includes(n)},"onClick:clear":yh(),"onClick:appendInner":yh(),"onClick:prependInner":yh(),...Zr(),...m_(),...lo(),...oa()},"VField"),hg=Ar()({name:"VField",inheritAttrs:!1,props:{id:String,...r1(),...u1()},emits:{"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:C,slots:D}=e;const{themeClasses:T}=Ma(n),{loaderClasses:p}=t1(n),{focusClasses:t,isFocused:d,focus:g,blur:i}=rd(n),{InputIcon:M}=sA(n),{roundedClasses:v}=Eo(n),{rtlClasses:f}=Cs(),l=cn(()=>n.dirty||n.active),a=cn(()=>!n.singleLine&&!!(n.label||D.label)),u=Js(),o=cn(()=>n.id||`input-${u}`),s=cn(()=>`${o.value}-messages`),c=Vr(),h=Vr(),m=Vr(),w=cn(()=>["plain","underlined"].includes(n.variant)),{backgroundColorClasses:y,backgroundColorStyles:S}=Oo(Cr(n,"bgColor")),{textColorClasses:_,textColorStyles:k}=Xs(cn(()=>n.error||n.disabled?void 0:l.value&&d.value?n.color:n.baseColor));$r(l,A=>{if(a.value){const L=c.value.$el,b=h.value.$el;requestAnimationFrame(()=>{const R=J2(L),I=b.getBoundingClientRect(),O=I.x-R.x,z=I.y-R.y-(R.height/2-I.height/2),F=I.width/.75,B=Math.abs(F-R.width)>1?{maxWidth:Qr(F)}:void 0,N=getComputedStyle(L),W=getComputedStyle(b),j=parseFloat(N.transitionDuration)*1e3||150,$=parseFloat(W.getPropertyValue("--v-field-label-scale")),U=W.getPropertyValue("color");L.style.visibility="visible",b.style.visibility="hidden",Dd(L,{transform:`translate(${O}px, ${z}px) scale(${$})`,color:U,...B},{duration:j,easing:zm,direction:A?"normal":"reverse"}).finished.then(()=>{L.style.removeProperty("visibility"),b.style.removeProperty("visibility")})})}},{flush:"post"});const E=cn(()=>({isActive:l,isFocused:d,controlRef:m,blur:i,focus:g}));function x(A){A.target!==document.activeElement&&A.preventDefault()}return Or(()=>{var O,z,F;const A=n.variant==="outlined",L=D["prepend-inner"]||n.prependInnerIcon,b=!!(n.clearable||D.clear),R=!!(D["append-inner"]||n.appendInnerIcon||b),I=D.label?D.label({...E.value,label:n.label,props:{for:o.value}}):n.label;return gt("div",qr({class:["v-field",{"v-field--active":l.value,"v-field--appended":R,"v-field--center-affix":n.centerAffix??!w.value,"v-field--disabled":n.disabled,"v-field--dirty":n.dirty,"v-field--error":n.error,"v-field--flat":n.flat,"v-field--has-background":!!n.bgColor,"v-field--persistent-clear":n.persistentClear,"v-field--prepended":L,"v-field--reverse":n.reverse,"v-field--single-line":n.singleLine,"v-field--no-label":!I,[`v-field--variant-${n.variant}`]:!0},T.value,y.value,t.value,p.value,v.value,f.value,n.class],style:[S.value,n.style],onClick:x},r),[gt("div",{class:"v-field__overlay"},null),gt(g_,{name:"v-field",active:!!n.loading,color:n.error?"error":typeof n.loading=="string"?n.loading:n.color},{default:D.loader}),L&>("div",{key:"prepend",class:"v-field__prepend-inner"},[n.prependInnerIcon&>(M,{key:"prepend-icon",name:"prependInner"},null),(O=D["prepend-inner"])==null?void 0:O.call(D,E.value)]),gt("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(n.variant)&&a.value&>(um,{key:"floating-label",ref:h,class:[_.value],floating:!0,for:o.value,style:k.value},{default:()=>[I]}),gt(um,{ref:c,for:o.value},{default:()=>[I]}),(z=D.default)==null?void 0:z.call(D,{...E.value,props:{id:o.value,class:"v-field__input","aria-describedby":s.value},focus:g,blur:i})]),b&>(u_,{key:"clear"},{default:()=>[Co(gt("div",{class:"v-field__clearable",onMousedown:B=>{B.preventDefault(),B.stopPropagation()}},[D.clear?D.clear():gt(M,{name:"clear"},null)]),[[kh,n.dirty]])]}),R&>("div",{key:"append",class:"v-field__append-inner"},[(F=D["append-inner"])==null?void 0:F.call(D,E.value),n.appendInnerIcon&>(M,{key:"append-icon",name:"appendInner"},null)]),gt("div",{class:["v-field__outline",_.value],style:k.value},[A&>(Yr,null,[gt("div",{class:"v-field__outline__start"},null),a.value&>("div",{class:"v-field__outline__notch"},[gt(um,{ref:h,floating:!0,for:o.value},{default:()=>[I]})]),gt("div",{class:"v-field__outline__end"},null)]),w.value&&a.value&>(um,{ref:h,floating:!0,for:o.value},{default:()=>[I]})])])}),{controlRef:m}}});function w_(n){const e=Object.keys(hg.props).filter(r=>!Z2(r)&&r!=="class"&&r!=="style");return $d(n,e)}const hV=["color","file","time","date","datetime-local","week","month"],c1=ur({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object,...mf(),...u1()},"VTextField"),Kd=Ar()({name:"VTextField",directives:{Intersect:og},inheritAttrs:!1,props:c1(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:C,slots:D}=e;const T=xi(n,"modelValue"),{isFocused:p,focus:t,blur:d}=rd(n),g=cn(()=>typeof n.counterValue=="function"?n.counterValue(T.value):(T.value??"").toString().length),i=cn(()=>{if(r.maxlength)return r.maxlength;if(!(!n.counter||typeof n.counter!="number"&&typeof n.counter!="string"))return n.counter}),M=cn(()=>["plain","underlined"].includes(n.variant));function v(w,y){var S,_;!n.autofocus||!w||(_=(S=y[0].target)==null?void 0:S.focus)==null||_.call(S)}const f=Vr(),l=Vr(),a=Vr(),u=cn(()=>hV.includes(n.type)||n.persistentPlaceholder||p.value||n.active);function o(){var w;a.value!==document.activeElement&&((w=a.value)==null||w.focus()),p.value||t()}function s(w){C("mousedown:control",w),w.target!==a.value&&(o(),w.preventDefault())}function c(w){o(),C("click:control",w)}function h(w){w.stopPropagation(),o(),Ua(()=>{T.value=null,K2(n["onClick:clear"],w)})}function m(w){var S;const y=w.target;if(T.value=y.value,(S=n.modelModifiers)!=null&&S.trim&&["text","search","password","tel","url"].includes(n.type)){const _=[y.selectionStart,y.selectionEnd];Ua(()=>{y.selectionStart=_[0],y.selectionEnd=_[1]})}}return Or(()=>{const w=!!(D.counter||n.counter||n.counterValue),y=!!(w||D.details),[S,_]=Qd(r),[{modelValue:k,...E}]=Bs.filterProps(n),[x]=w_(n);return gt(Bs,qr({ref:f,modelValue:T.value,"onUpdate:modelValue":A=>T.value=A,class:["v-text-field",{"v-text-field--prefixed":n.prefix,"v-text-field--suffixed":n.suffix,"v-text-field--plain-underlined":["plain","underlined"].includes(n.variant)},n.class],style:n.style},S,E,{centerAffix:!M.value,focused:p.value}),{...D,default:A=>{let{id:L,isDisabled:b,isDirty:R,isReadonly:I,isValid:O}=A;return gt(hg,qr({ref:l,onMousedown:s,onClick:c,"onClick:clear":h,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"],role:n.role},x,{id:L.value,active:u.value||R.value,dirty:R.value||n.dirty,disabled:b.value,focused:p.value,error:O.value===!1}),{...D,default:z=>{let{props:{class:F,...B}}=z;const N=Co(gt("input",qr({ref:a,value:T.value,onInput:m,autofocus:n.autofocus,readonly:I.value,disabled:b.value,name:n.name,placeholder:n.placeholder,size:1,type:n.type,onFocus:o,onBlur:d},B,_),null),[[Tu("intersect"),{handler:v},null,{once:!0}]]);return gt(Yr,null,[n.prefix&>("span",{class:"v-text-field__prefix"},[gt("span",{class:"v-text-field__prefix__text"},[n.prefix])]),D.default?gt("div",{class:F,"data-no-activator":""},[D.default(),N]):tf(N,{class:F}),n.suffix&>("span",{class:"v-text-field__suffix"},[gt("span",{class:"v-text-field__suffix__text"},[n.suffix])])])}})},details:y?A=>{var L;return gt(Yr,null,[(L=D.details)==null?void 0:L.call(D,A),w&>(Yr,null,[gt("span",null,null),gt(l1,{active:n.persistentCounter||p.value,value:g.value,max:i.value},D.counter)])])}:void 0})}),Vc({},f,l,a)}});const fV=ur({renderless:Boolean,...Zr()},"VVirtualScrollItem"),dV=Ar()({name:"VVirtualScrollItem",inheritAttrs:!1,props:fV(),emits:{"update:height":n=>!0},setup(n,e){let{attrs:r,emit:C,slots:D}=e;const{resizeRef:T,contentRect:p}=Th(void 0,"border");$r(()=>{var t;return(t=p.value)==null?void 0:t.height},t=>{t!=null&&C("update:height",t)}),Or(()=>{var t,d;return n.renderless?gt(Yr,null,[(t=D.default)==null?void 0:t.call(D,{itemRef:T})]):gt("div",qr({ref:T,class:["v-virtual-scroll__item",n.class],style:n.style},r),[(d=D.default)==null?void 0:d.call(D)])})}}),oT=-1,sT=1,pV=ur({itemHeight:{type:[Number,String],default:48}},"virtual");function mV(n,e,r){const C=Wr(0),D=Wr(n.itemHeight),T=cn({get:()=>parseInt(D.value??0,10),set(y){D.value=y}}),p=Vr(),{resizeRef:t,contentRect:d}=Th();wu(()=>{t.value=p.value});const g=ep(),i=new Map;let M=Array.from({length:e.value.length});const v=cn(()=>{const y=(!d.value||p.value===document.documentElement?g.height.value:d.value.height)-((r==null?void 0:r.value)??0);return Math.ceil(y/T.value*1.7+1)});function f(y,S){T.value=Math.max(T.value,S),M[y]=S,i.set(e.value[y],S)}function l(y){return M.slice(0,y).reduce((S,_)=>S+(_||T.value),0)}function a(y){const S=e.value.length;let _=0,k=0;for(;k=A&&(C.value=Zs(x,0,e.value.length-v.value)),u=S}function s(y){if(!p.value)return;const S=l(y);p.value.scrollTop=S}const c=cn(()=>Math.min(e.value.length,C.value+v.value)),h=cn(()=>e.value.slice(C.value,c.value).map((y,S)=>({raw:y,index:S+C.value}))),m=cn(()=>l(C.value)),w=cn(()=>l(e.value.length)-l(c.value));return $r(()=>e.value.length,()=>{M=Kh(e.value.length).map(()=>T.value),i.forEach((y,S)=>{const _=e.value.indexOf(S);_===-1?i.delete(S):M[_]=y})}),{containerRef:p,computedItems:h,itemHeight:T,paddingTop:m,paddingBottom:w,scrollToIndex:s,handleScroll:o,handleItemResize:f}}const gV=ur({items:{type:Array,default:()=>[]},renderless:Boolean,...pV(),...Zr(),...sc()},"VVirtualScroll"),h1=Ar()({name:"VVirtualScroll",props:gV(),setup(n,e){let{slots:r}=e;const C=Ss("VVirtualScroll"),{dimensionStyles:D}=lc(n),{containerRef:T,handleScroll:p,handleItemResize:t,scrollToIndex:d,paddingTop:g,paddingBottom:i,computedItems:M}=mV(n,Cr(n,"items"));return $f(()=>n.renderless,()=>{Ks(()=>{var v;T.value=t_(C.vnode.el,!0),(v=T.value)==null||v.addEventListener("scroll",p)}),wl(()=>{var v;(v=T.value)==null||v.removeEventListener("scroll",p)})}),Or(()=>{const v=M.value.map(f=>gt(dV,{key:f.index,renderless:n.renderless,"onUpdate:height":l=>t(f.index,l)},{default:l=>{var a;return(a=r.default)==null?void 0:a.call(r,{item:f.raw,index:f.index,...l})}}));return n.renderless?gt(Yr,null,[gt("div",{class:"v-virtual-scroll__spacer",style:{paddingTop:Qr(g.value)}},null),v,gt("div",{class:"v-virtual-scroll__spacer",style:{paddingBottom:Qr(i.value)}},null)]):gt("div",{ref:T,class:["v-virtual-scroll",n.class],onScroll:p,style:[D.value,n.style]},[gt("div",{class:"v-virtual-scroll__container",style:{paddingTop:Qr(g.value),paddingBottom:Qr(i.value)}},[v])])}),{scrollToIndex:d}}});function T_(n,e){const r=Wr(!1);let C;function D(t){cancelAnimationFrame(C),r.value=!0,C=requestAnimationFrame(()=>{C=requestAnimationFrame(()=>{r.value=!1})})}async function T(){await new Promise(t=>requestAnimationFrame(t)),await new Promise(t=>requestAnimationFrame(t)),await new Promise(t=>requestAnimationFrame(t)),await new Promise(t=>{if(r.value){const d=$r(r,()=>{d(),t()})}else t()})}async function p(t){var i,M;if(t.key==="Tab"&&((i=e.value)==null||i.focus()),!["PageDown","PageUp","Home","End"].includes(t.key))return;const d=(M=n.value)==null?void 0:M.$el;if(!d)return;(t.key==="Home"||t.key==="End")&&d.scrollTo({top:t.key==="Home"?0:d.scrollHeight,behavior:"smooth"}),await T();const g=d.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");if(t.key==="PageDown"||t.key==="Home"){const v=d.getBoundingClientRect().top;for(const f of g)if(f.getBoundingClientRect().top>=v){f.focus();break}}else{const v=d.getBoundingClientRect().bottom;for(const f of[...g].reverse())if(f.getBoundingClientRect().bottom<=v){f.focus();break}}}return{onListScroll:D,onListKeydown:p}}const k_=ur({chips:Boolean,closableChips:Boolean,closeText:{type:String,default:"$vuetify.close"},openText:{type:String,default:"$vuetify.open"},eager:Boolean,hideNoData:Boolean,hideSelected:Boolean,menu:Boolean,menuIcon:{type:bi,default:"$dropdown"},menuProps:{type:Object},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,itemColor:String,...kA({itemChildren:!1})},"Select"),vV=ur({...k_(),...ic(c1({modelValue:null,role:"button"}),["validationValue","dirty","appendInnerIcon"]),...df({transition:{component:Qy}})},"VSelect"),yV=Ar()({name:"VSelect",props:vV(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,"update:menu":n=>!0},setup(n,e){let{slots:r}=e;const{t:C}=oc(),D=Vr(),T=Vr(),p=Vr(),t=xi(n,"menu"),d=cn({get:()=>t.value,set:R=>{var I;t.value&&!R&&((I=T.value)!=null&&I.ΨopenChildren)||(t.value=R)}}),{items:g,transformIn:i,transformOut:M}=x_(n),v=xi(n,"modelValue",[],R=>i(R===null?[null]:bu(R)),R=>{const I=M(R);return n.multiple?I:I[0]??null}),f=i1(),l=cn(()=>v.value.map(R=>R.value)),a=Wr(!1),u=cn(()=>d.value?n.closeText:n.openText);let o="",s;const c=cn(()=>n.hideSelected?g.value.filter(R=>!v.value.some(I=>I===R)):g.value),h=cn(()=>n.hideNoData&&!g.value.length||n.readonly||(f==null?void 0:f.isReadonly.value)),m=Vr(),{onListScroll:w,onListKeydown:y}=T_(m,D);function S(R){n.openOnClear&&(d.value=!0)}function _(){h.value||(d.value=!d.value)}function k(R){var B,N;if(!R.key||n.readonly||f!=null&&f.isReadonly.value)return;["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(R.key)&&R.preventDefault(),["Enter","ArrowDown"," "].includes(R.key)&&(d.value=!0),["Escape","Tab"].includes(R.key)&&(d.value=!1),R.key==="Home"?(B=m.value)==null||B.focus("first"):R.key==="End"&&((N=m.value)==null||N.focus("last"));const I=1e3;function O(W){const j=W.key.length===1,$=!W.ctrlKey&&!W.metaKey&&!W.altKey;return j&&$}if(n.multiple||!O(R))return;const z=performance.now();z-s>I&&(o=""),o+=R.key.toLowerCase(),s=z;const F=g.value.find(W=>W.title.toLowerCase().startsWith(o));F!==void 0&&(v.value=[F])}function E(R){if(n.multiple){const I=v.value.findIndex(O=>n.valueComparator(O.value,R.value));if(I===-1)v.value=[...v.value,R];else{const O=[...v.value];O.splice(I,1),v.value=O}}else v.value=[R],d.value=!1}function x(R){var I;(I=m.value)!=null&&I.$el.contains(R.relatedTarget)||(d.value=!1)}function A(){var R;a.value&&((R=D.value)==null||R.focus())}function L(R){a.value=!0}function b(R){if(R==null)v.value=[];else if(l0(D.value,":autofill")||l0(D.value,":-webkit-autofill")){const I=g.value.find(O=>O.title===R);I&&E(I)}else D.value&&(D.value.value="")}return $r(d,()=>{if(!n.hideSelected&&d.value&&v.value.length){const R=c.value.findIndex(I=>v.value.some(O=>n.valueComparator(O.value,I.value)));to&&window.requestAnimationFrame(()=>{var I;R>=0&&((I=p.value)==null||I.scrollToIndex(R))})}}),Or(()=>{const R=!!(n.chips||r.chip),I=!!(!n.hideNoData||c.value.length||r["prepend-item"]||r["append-item"]||r["no-data"]),O=v.value.length>0,[z]=Kd.filterProps(n),F=O||!a.value&&n.label&&!n.persistentPlaceholder?void 0:n.placeholder;return gt(Kd,qr({ref:D},z,{modelValue:v.value.map(B=>B.props.value).join(", "),"onUpdate:modelValue":b,focused:a.value,"onUpdate:focused":B=>a.value=B,validationValue:v.externalValue,dirty:O,class:["v-select",{"v-select--active-menu":d.value,"v-select--chips":!!n.chips,[`v-select--${n.multiple?"multiple":"single"}`]:!0,"v-select--selected":v.value.length,"v-select--selection-slot":!!r.selection},n.class],style:n.style,inputmode:"none",placeholder:F,"onClick:clear":S,"onMousedown:control":_,onBlur:x,onKeydown:k,"aria-label":C(u.value),title:C(u.value)}),{...r,default:()=>gt(Yr,null,[gt(s1,qr({ref:T,modelValue:d.value,"onUpdate:modelValue":B=>d.value=B,activator:"parent",contentClass:"v-select__content",disabled:h.value,eager:n.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:n.transition,onAfterLeave:A},n.menuProps),{default:()=>[I&>(a1,{ref:m,selected:l.value,selectStrategy:n.multiple?"independent":"single-independent",onMousedown:B=>B.preventDefault(),onKeydown:y,onFocusin:L,onScrollPassive:w,tabindex:"-1",color:n.itemColor??n.color},{default:()=>{var B,N,W;return[(B=r["prepend-item"])==null?void 0:B.call(r),!c.value.length&&!n.hideNoData&&(((N=r["no-data"])==null?void 0:N.call(r))??gt(af,{title:C(n.noDataText)},null)),gt(h1,{ref:p,renderless:!0,items:c.value},{default:j=>{var H;let{item:$,index:U,itemRef:G}=j;const q=qr($.props,{ref:G,key:U,onClick:()=>E($)});return((H=r.item)==null?void 0:H.call(r,{item:$,index:U,props:q}))??gt(af,q,{prepend:ne=>{let{isSelected:te}=ne;return gt(Yr,null,[n.multiple&&!n.hideSelected?gt(h0,{key:$.value,modelValue:te,ripple:!1,tabindex:"-1"},null):void 0,$.props.prependIcon&>(ja,{icon:$.props.prependIcon},null)])}})}}),(W=r["append-item"])==null?void 0:W.call(r)]}})]}),v.value.map((B,N)=>{var $;function W(U){U.stopPropagation(),U.preventDefault(),E(B)}const j={"onClick:close":W,onMousedown(U){U.preventDefault(),U.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return gt("div",{key:B.value,class:"v-select__selection"},[R?r.chip?gt(Fa,{key:"chip-defaults",defaults:{VChip:{closable:n.closableChips,size:"small",text:B.title}}},{default:()=>{var U;return[(U=r.chip)==null?void 0:U.call(r,{item:B,index:N,props:j})]}}):gt(ug,qr({key:"chip",closable:n.closableChips,size:"small",text:B.title},j),null):(($=r.selection)==null?void 0:$.call(r,{item:B,index:N}))??gt("span",{class:"v-select__selection-text"},[B.title,n.multiple&&Nn==null||e==null?-1:n.toString().toLocaleLowerCase().indexOf(e.toString().toLocaleLowerCase()),DA=ur({customFilter:Function,customKeyFilter:Object,filterKeys:[Array,String],filterMode:{type:String,default:"intersection"},noFilter:Boolean},"filter");function xV(n,e,r){var t;const C=[],D=(r==null?void 0:r.default)??bV,T=r!=null&&r.filterKeys?bu(r.filterKeys):!1,p=Object.keys((r==null?void 0:r.customKeyFilter)??{}).length;if(!(n!=null&&n.length))return C;e:for(let d=0;dC!=null&&C.transform?yu(e).map(d=>[d,C.transform(d)]):yu(e));wu(()=>{const d=typeof r=="function"?r():yu(r),g=typeof d!="string"&&typeof d!="number"?"":String(d),i=xV(p.value,g,{customKeyFilter:n.customKeyFilter,default:n.customFilter,filterKeys:n.filterKeys,filterMode:n.filterMode,noFilter:n.noFilter}),M=yu(e),v=[],f=new Map;i.forEach(l=>{let{index:a,matches:u}=l;const o=M[a];v.push(o),f.set(o.value,u)}),D.value=v,T.value=f});function t(d){return T.value.get(d.value)}return{filteredItems:D,filteredMatches:T,getMatches:t}}function _V(n,e,r){if(e==null)return n;if(Array.isArray(e))throw new Error("Multiple matches is not implemented");return typeof e=="number"&&~e?gt(Yr,null,[gt("span",{class:"v-autocomplete__unmask"},[n.substr(0,e)]),gt("span",{class:"v-autocomplete__mask"},[n.substr(e,r)]),gt("span",{class:"v-autocomplete__unmask"},[n.substr(e+r)])]):n}const wV=ur({autoSelectFirst:{type:[Boolean,String]},search:String,...DA({filterKeys:["title"]}),...k_(),...ic(c1({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...df({transition:!1})},"VAutocomplete"),TV=Ar()({name:"VAutocomplete",props:wV(),emits:{"update:focused":n=>!0,"update:search":n=>!0,"update:modelValue":n=>!0,"update:menu":n=>!0},setup(n,e){let{slots:r}=e;const{t:C}=oc(),D=Vr(),T=Wr(!1),p=Wr(!0),t=Wr(!1),d=Vr(),g=Vr(),i=xi(n,"menu"),M=cn({get:()=>i.value,set:q=>{var H;i.value&&!q&&((H=d.value)!=null&&H.ΨopenChildren)||(i.value=q)}}),v=Wr(-1),f=cn(()=>{var q;return(q=D.value)==null?void 0:q.color}),l=cn(()=>M.value?n.closeText:n.openText),{items:a,transformIn:u,transformOut:o}=x_(n),{textColorClasses:s,textColorStyles:c}=Xs(f),h=xi(n,"search",""),m=xi(n,"modelValue",[],q=>u(q===null?[null]:bu(q)),q=>{const H=o(q);return n.multiple?H:H[0]??null}),w=i1(),{filteredItems:y,getMatches:S}=zA(n,a,()=>p.value?"":h.value),_=cn(()=>n.hideSelected?y.value.filter(q=>!m.value.some(H=>H.value===q.value)):y.value),k=cn(()=>m.value.map(q=>q.props.value)),E=cn(()=>{var H;return(n.autoSelectFirst===!0||n.autoSelectFirst==="exact"&&h.value===((H=_.value[0])==null?void 0:H.title))&&_.value.length>0&&!p.value&&!t.value}),x=cn(()=>n.hideNoData&&!a.value.length||n.readonly||(w==null?void 0:w.isReadonly.value)),A=Vr(),{onListScroll:L,onListKeydown:b}=T_(A,D);function R(q){n.openOnClear&&(M.value=!0),h.value=""}function I(){x.value||(M.value=!0)}function O(q){x.value||(T.value&&(q.preventDefault(),q.stopPropagation()),M.value=!M.value)}function z(q){var te,Z,X;if(n.readonly||w!=null&&w.isReadonly.value)return;const H=D.value.selectionStart,ne=m.value.length;if((v.value>-1||["Enter","ArrowDown","ArrowUp"].includes(q.key))&&q.preventDefault(),["Enter","ArrowDown"].includes(q.key)&&(M.value=!0),["Escape"].includes(q.key)&&(M.value=!1),E.value&&["Enter","Tab"].includes(q.key)&&G(_.value[0]),q.key==="ArrowDown"&&E.value&&((te=A.value)==null||te.focus("next")),!!n.multiple){if(["Backspace","Delete"].includes(q.key)){if(v.value<0){q.key==="Backspace"&&!h.value&&(v.value=ne-1);return}const Q=v.value,re=m.value[v.value];re&&G(re),v.value=Q>=ne-1?ne-2:Q}if(q.key==="ArrowLeft"){if(v.value<0&&H>0)return;const Q=v.value>-1?v.value-1:ne-1;m.value[Q]?v.value=Q:(v.value=-1,D.value.setSelectionRange((Z=h.value)==null?void 0:Z.length,(X=h.value)==null?void 0:X.length))}if(q.key==="ArrowRight"){if(v.value<0)return;const Q=v.value+1;m.value[Q]?v.value=Q:(v.value=-1,D.value.setSelectionRange(0,0))}}}function F(q){h.value=q.target.value}function B(q){if(l0(D.value,":autofill")||l0(D.value,":-webkit-autofill")){const H=a.value.find(ne=>ne.title===q.target.value);H&&G(H)}}function N(){var q;T.value&&(p.value=!0,(q=D.value)==null||q.focus())}function W(q){T.value=!0,setTimeout(()=>{t.value=!0})}function j(q){t.value=!1}function $(q){(q==null||q===""&&!n.multiple)&&(m.value=[])}const U=Wr(!1);function G(q){if(n.multiple){const H=m.value.findIndex(ne=>n.valueComparator(ne.value,q.value));if(H===-1)m.value=[...m.value,q];else{const ne=[...m.value];ne.splice(H,1),m.value=ne}}else m.value=[q],U.value=!0,h.value=q.title,M.value=!1,p.value=!0,Ua(()=>U.value=!1)}return $r(T,(q,H)=>{var ne;q!==H&&(q?(U.value=!0,h.value=n.multiple?"":String(((ne=m.value.at(-1))==null?void 0:ne.props.title)??""),p.value=!0,Ua(()=>U.value=!1)):(!n.multiple&&!h.value?m.value=[]:E.value&&!t.value&&!m.value.some(te=>{let{value:Z}=te;return Z===_.value[0].value})&&G(_.value[0]),M.value=!1,h.value="",v.value=-1))}),$r(h,q=>{!T.value||U.value||(q&&(M.value=!0),p.value=!q)}),$r(M,()=>{if(!n.hideSelected&&M.value&&m.value.length){const q=_.value.findIndex(H=>m.value.some(ne=>H.value===ne.value));to&&window.requestAnimationFrame(()=>{var H;q>=0&&((H=g.value)==null||H.scrollToIndex(q))})}}),Or(()=>{const q=!!(n.chips||r.chip),H=!!(!n.hideNoData||_.value.length||r["prepend-item"]||r["append-item"]||r["no-data"]),ne=m.value.length>0,[te]=Kd.filterProps(n);return gt(Kd,qr({ref:D},te,{modelValue:h.value,"onUpdate:modelValue":$,focused:T.value,"onUpdate:focused":Z=>T.value=Z,validationValue:m.externalValue,dirty:ne,onInput:F,onChange:B,class:["v-autocomplete",`v-autocomplete--${n.multiple?"multiple":"single"}`,{"v-autocomplete--active-menu":M.value,"v-autocomplete--chips":!!n.chips,"v-autocomplete--selection-slot":!!r.selection,"v-autocomplete--selecting-index":v.value>-1},n.class],style:n.style,readonly:n.readonly,placeholder:ne?void 0:n.placeholder,"onClick:clear":R,"onMousedown:control":I,onKeydown:z}),{...r,default:()=>gt(Yr,null,[gt(s1,qr({ref:d,modelValue:M.value,"onUpdate:modelValue":Z=>M.value=Z,activator:"parent",contentClass:"v-autocomplete__content",disabled:x.value,eager:n.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:n.transition,onAfterLeave:N},n.menuProps),{default:()=>[H&>(a1,{ref:A,selected:k.value,selectStrategy:n.multiple?"independent":"single-independent",onMousedown:Z=>Z.preventDefault(),onKeydown:b,onFocusin:W,onFocusout:j,onScrollPassive:L,tabindex:"-1",color:n.itemColor??n.color},{default:()=>{var Z,X,Q;return[(Z=r["prepend-item"])==null?void 0:Z.call(r),!_.value.length&&!n.hideNoData&&(((X=r["no-data"])==null?void 0:X.call(r))??gt(af,{title:C(n.noDataText)},null)),gt(h1,{ref:g,renderless:!0,items:_.value},{default:re=>{var ye;let{item:ie,index:oe,itemRef:ue}=re;const ce=qr(ie.props,{ref:ue,key:oe,active:E.value&&oe===0?!0:void 0,onClick:()=>G(ie)});return((ye=r.item)==null?void 0:ye.call(r,{item:ie,index:oe,props:ce}))??gt(af,ce,{prepend:de=>{let{isSelected:me}=de;return gt(Yr,null,[n.multiple&&!n.hideSelected?gt(h0,{key:ie.value,modelValue:me,ripple:!1,tabindex:"-1"},null):void 0,ie.props.prependIcon&>(ja,{icon:ie.props.prependIcon},null)])},title:()=>{var de,me;return p.value?ie.title:_V(ie.title,(de=S(ie))==null?void 0:de.title,((me=h.value)==null?void 0:me.length)??0)}})}}),(Q=r["append-item"])==null?void 0:Q.call(r)]}})]}),m.value.map((Z,X)=>{var ie;function Q(oe){oe.stopPropagation(),oe.preventDefault(),G(Z)}const re={"onClick:close":Q,onMousedown(oe){oe.preventDefault(),oe.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return gt("div",{key:Z.value,class:["v-autocomplete__selection",X===v.value&&["v-autocomplete__selection--selected",s.value]],style:X===v.value?c.value:{}},[q?r.chip?gt(Fa,{key:"chip-defaults",defaults:{VChip:{closable:n.closableChips,size:"small",text:Z.title}}},{default:()=>{var oe;return[(oe=r.chip)==null?void 0:oe.call(r,{item:Z,index:X,props:re})]}}):gt(ug,qr({key:"chip",closable:n.closableChips,size:"small",text:Z.title},re),null):((ie=r.selection)==null?void 0:ie.call(r,{item:Z,index:X}))??gt("span",{class:"v-autocomplete__selection-text"},[Z.title,n.multiple&&X(n.floating?n.dot?2:4:n.dot?8:12)+(["top","bottom"].includes(i)?+(n.offsetY??0):["left","right"].includes(i)?+(n.offsetX??0):0));return Or(()=>{const i=Number(n.content),M=!n.max||isNaN(i)?n.content:i<=+n.max?i:`${n.max}+`,[v,f]=$d(e.attrs,["aria-atomic","aria-label","aria-live","role","title"]);return gt(n.tag,qr({class:["v-badge",{"v-badge--bordered":n.bordered,"v-badge--dot":n.dot,"v-badge--floating":n.floating,"v-badge--inline":n.inline},n.class]},f,{style:n.style}),{default:()=>{var l,a;return[gt("div",{class:"v-badge__wrapper"},[(a=(l=e.slots).default)==null?void 0:a.call(l),gt(Oc,{transition:n.transition},{default:()=>{var u,o;return[Co(gt("span",qr({class:["v-badge__badge",d.value,r.value,D.value,p.value],style:[C.value,t.value,n.inline?{}:g.value],"aria-atomic":"true","aria-label":T(n.label,i),"aria-live":"polite",role:"status"},v),[n.dot?void 0:e.slots.badge?(o=(u=e.slots).badge)==null?void 0:o.call(u):n.icon?gt(ja,{icon:n.icon},null):M]),[[kh,n.modelValue]])]}})])]}})}),{}}});const AV=ur({color:String,density:String,...Zr()},"VBannerActions"),FA=Ar()({name:"VBannerActions",props:AV(),setup(n,e){let{slots:r}=e;return es({VBtn:{color:n.color,density:n.density,variant:"text"}}),Or(()=>{var C;return gt("div",{class:["v-banner-actions",n.class],style:n.style},[(C=r.default)==null?void 0:C.call(r)])}),{}}}),BA=Nc("v-banner-text"),SV=ur({avatar:String,color:String,icon:bi,lines:String,stacked:Boolean,sticky:Boolean,text:String,...Su(),...Zr(),...ds(),...sc(),...fs(),...ed(),...A0(),...lo(),...Si(),...oa()},"VBanner"),CV=Ar()({name:"VBanner",props:SV(),setup(n,e){let{slots:r}=e;const{borderClasses:C}=uc(n),{densityClasses:D}=Qs(n),{mobile:T}=ep(),{dimensionStyles:p}=lc(n),{elevationClasses:t}=Vs(n),{locationStyles:d}=td(n),{positionClasses:g}=S0(n),{roundedClasses:i}=Eo(n),{themeClasses:M}=Ma(n),v=Cr(n,"color"),f=Cr(n,"density");es({VBannerActions:{color:v,density:f}}),Or(()=>{const l=!!(n.text||r.text),a=!!(n.avatar||n.icon),u=!!(a||r.prepend);return gt(n.tag,{class:["v-banner",{"v-banner--stacked":n.stacked||T.value,"v-banner--sticky":n.sticky,[`v-banner--${n.lines}-line`]:!!n.lines},C.value,D.value,t.value,g.value,i.value,M.value,n.class],style:[p.value,d.value,n.style],role:"banner"},{default:()=>{var o;return[u&>("div",{key:"prepend",class:"v-banner__prepend"},[r.prepend?gt(Fa,{key:"prepend-defaults",disabled:!a,defaults:{VAvatar:{color:v.value,density:f.value,icon:n.icon,image:n.avatar}}},r.prepend):gt(Zf,{key:"prepend-avatar",color:v.value,density:f.value,icon:n.icon,image:n.avatar},null)]),gt("div",{class:"v-banner__content"},[l&>(BA,{key:"text"},{default:()=>{var s;return[((s=r.text)==null?void 0:s.call(r))??n.text]}}),(o=r.default)==null?void 0:o.call(r)]),r.actions&>(FA,{key:"actions"},r.actions)]}})})}});const EV=ur({bgColor:String,color:String,grow:Boolean,mode:{type:String,validator:n=>!n||["horizontal","shift"].includes(n)},height:{type:[Number,String],default:56},active:{type:Boolean,default:!0},...Su(),...Zr(),...ds(),...fs(),...lo(),...x0({name:"bottom-navigation"}),...Si({tag:"header"}),...w0({modelValue:!0,selectedClass:"v-btn--selected"}),...oa()},"VBottomNavigation"),LV=Ar()({name:"VBottomNavigation",props:EV(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:C}=R6(),{borderClasses:D}=uc(n),{backgroundColorClasses:T,backgroundColorStyles:p}=Oo(Cr(n,"bgColor")),{densityClasses:t}=Qs(n),{elevationClasses:d}=Vs(n),{roundedClasses:g}=Eo(n),{ssrBootStyles:i}=tp(),M=cn(()=>Number(n.height)-(n.density==="comfortable"?8:0)-(n.density==="compact"?16:0)),v=Cr(n,"active"),{layoutItemStyles:f}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:cn(()=>"bottom"),layoutSize:cn(()=>v.value?M.value:0),elementSize:M,active:v,absolute:Cr(n,"absolute")});return ip(n,h_),es({VBtn:{color:Cr(n,"color"),density:Cr(n,"density"),stacked:cn(()=>n.mode!=="horizontal"),variant:"text"}},{scoped:!0}),Or(()=>gt(n.tag,{class:["v-bottom-navigation",{"v-bottom-navigation--active":v.value,"v-bottom-navigation--grow":n.grow,"v-bottom-navigation--shift":n.mode==="shift"},C.value,T.value,D.value,t.value,d.value,g.value,n.class],style:[p.value,f.value,{height:Qr(M.value),transform:`translateY(${Qr(v.value?0:100,"%")})`},i.value,n.style]},{default:()=>[r.default&>("div",{class:"v-bottom-navigation__content"},[r.default()])]})),{}}});const IV=ur({divider:[Number,String],...Zr()},"VBreadcrumbsDivider"),NA=Ar()({name:"VBreadcrumbsDivider",props:IV(),setup(n,e){let{slots:r}=e;return Or(()=>{var C;return gt("li",{class:["v-breadcrumbs-divider",n.class],style:n.style},[((C=r==null?void 0:r.default)==null?void 0:C.call(r))??n.divider])}),{}}}),RV=ur({active:Boolean,activeClass:String,activeColor:String,color:String,disabled:Boolean,title:String,...Zr(),...lg(),...Si({tag:"li"})},"VBreadcrumbsItem"),VA=Ar()({name:"VBreadcrumbsItem",props:RV(),setup(n,e){let{slots:r,attrs:C}=e;const D=sg(n,C),T=cn(()=>{var g;return n.active||((g=D.isActive)==null?void 0:g.value)}),p=cn(()=>T.value?n.activeColor:n.color),{textColorClasses:t,textColorStyles:d}=Xs(p);return Or(()=>gt(n.tag,{class:["v-breadcrumbs-item",{"v-breadcrumbs-item--active":T.value,"v-breadcrumbs-item--disabled":n.disabled,[`${n.activeClass}`]:T.value&&n.activeClass},t.value,n.class],style:[d.value,n.style],"aria-current":T.value?"page":void 0},{default:()=>{var g,i;return[D.isLink.value?gt("a",{class:"v-breadcrumbs-item--link",href:D.href.value,"aria-current":T.value?"page":void 0,onClick:D.navigate},[((i=r.default)==null?void 0:i.call(r))??n.title]):((g=r.default)==null?void 0:g.call(r))??n.title]}})),{}}}),PV=ur({activeClass:String,activeColor:String,bgColor:String,color:String,disabled:Boolean,divider:{type:String,default:"/"},icon:bi,items:{type:Array,default:()=>[]},...Zr(),...ds(),...lo(),...Si({tag:"ul"})},"VBreadcrumbs"),OV=Ar()({name:"VBreadcrumbs",props:PV(),setup(n,e){let{slots:r}=e;const{backgroundColorClasses:C,backgroundColorStyles:D}=Oo(Cr(n,"bgColor")),{densityClasses:T}=Qs(n),{roundedClasses:p}=Eo(n);es({VBreadcrumbsDivider:{divider:Cr(n,"divider")},VBreadcrumbsItem:{activeClass:Cr(n,"activeClass"),activeColor:Cr(n,"activeColor"),color:Cr(n,"color"),disabled:Cr(n,"disabled")}});const t=cn(()=>n.items.map(d=>typeof d=="string"?{item:{title:d},raw:d}:{item:d,raw:d}));return Or(()=>{const d=!!(r.prepend||n.icon);return gt(n.tag,{class:["v-breadcrumbs",C.value,T.value,p.value,n.class],style:[D.value,n.style]},{default:()=>{var g;return[d&>("li",{key:"prepend",class:"v-breadcrumbs__prepend"},[r.prepend?gt(Fa,{key:"prepend-defaults",disabled:!n.icon,defaults:{VIcon:{icon:n.icon,start:!0}}},r.prepend):gt(ja,{key:"prepend-icon",start:!0,icon:n.icon},null)]),t.value.map((i,M,v)=>{let{item:f,raw:l}=i;return gt(Yr,null,[gt(VA,qr({key:f.title,disabled:M>=v.length-1},f),{default:r.title?()=>{var a;return(a=r.title)==null?void 0:a.call(r,{item:l,index:M})}:void 0}),M{var a;return(a=r.divider)==null?void 0:a.call(r,{item:l,index:M})}:void 0})])}),(g=r.default)==null?void 0:g.call(r)]}})}),{}}});const jA=Ar()({name:"VCardActions",props:Zr(),setup(n,e){let{slots:r}=e;return es({VBtn:{variant:"text"}}),Or(()=>{var C;return gt("div",{class:["v-card-actions",n.class],style:n.style},[(C=r.default)==null?void 0:C.call(r)])}),{}}}),UA=Nc("v-card-subtitle"),HA=Nc("v-card-title"),DV=ur({appendAvatar:String,appendIcon:bi,prependAvatar:String,prependIcon:bi,subtitle:String,title:String,...Zr(),...ds()},"VCardItem"),GA=Ar()({name:"VCardItem",props:DV(),setup(n,e){let{slots:r}=e;return Or(()=>{var g;const C=!!(n.prependAvatar||n.prependIcon),D=!!(C||r.prepend),T=!!(n.appendAvatar||n.appendIcon),p=!!(T||r.append),t=!!(n.title||r.title),d=!!(n.subtitle||r.subtitle);return gt("div",{class:["v-card-item",n.class],style:n.style},[D&>("div",{key:"prepend",class:"v-card-item__prepend"},[r.prepend?gt(Fa,{key:"prepend-defaults",disabled:!C,defaults:{VAvatar:{density:n.density,icon:n.prependIcon,image:n.prependAvatar}}},r.prepend):C&>(Zf,{key:"prepend-avatar",density:n.density,icon:n.prependIcon,image:n.prependAvatar},null)]),gt("div",{class:"v-card-item__content"},[t&>(HA,{key:"title"},{default:()=>{var i;return[((i=r.title)==null?void 0:i.call(r))??n.title]}}),d&>(UA,{key:"subtitle"},{default:()=>{var i;return[((i=r.subtitle)==null?void 0:i.call(r))??n.subtitle]}}),(g=r.default)==null?void 0:g.call(r)]),p&>("div",{key:"append",class:"v-card-item__append"},[r.append?gt(Fa,{key:"append-defaults",disabled:!T,defaults:{VAvatar:{density:n.density,icon:n.appendIcon,image:n.appendAvatar}}},r.append):T&>(Zf,{key:"append-avatar",density:n.density,icon:n.appendIcon,image:n.appendAvatar},null)])])}),{}}}),qA=Nc("v-card-text"),zV=ur({appendAvatar:String,appendIcon:bi,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:bi,ripple:{type:[Boolean,Object],default:!0},subtitle:String,text:String,title:String,...Su(),...Zr(),...ds(),...sc(),...fs(),...m_(),...ed(),...A0(),...lo(),...lg(),...Si(),...oa(),...cc({variant:"elevated"})},"VCard"),FV=Ar()({name:"VCard",directives:{Ripple:nd},props:zV(),setup(n,e){let{attrs:r,slots:C}=e;const{themeClasses:D}=Ma(n),{borderClasses:T}=uc(n),{colorClasses:p,colorStyles:t,variantClasses:d}=rp(n),{densityClasses:g}=Qs(n),{dimensionStyles:i}=lc(n),{elevationClasses:M}=Vs(n),{loaderClasses:v}=t1(n),{locationStyles:f}=td(n),{positionClasses:l}=S0(n),{roundedClasses:a}=Eo(n),u=sg(n,r),o=cn(()=>n.link!==!1&&u.isLink.value),s=cn(()=>!n.disabled&&n.link!==!1&&(n.link||u.isClickable.value));return Or(()=>{const c=o.value?"a":n.tag,h=!!(C.title||n.title),m=!!(C.subtitle||n.subtitle),w=h||m,y=!!(C.append||n.appendAvatar||n.appendIcon),S=!!(C.prepend||n.prependAvatar||n.prependIcon),_=!!(C.image||n.image),k=w||S||y,E=!!(C.text||n.text);return Co(gt(c,{class:["v-card",{"v-card--disabled":n.disabled,"v-card--flat":n.flat,"v-card--hover":n.hover&&!(n.disabled||n.flat),"v-card--link":s.value},D.value,T.value,p.value,g.value,M.value,v.value,l.value,a.value,d.value,n.class],style:[t.value,i.value,f.value,n.style],href:u.href.value,onClick:s.value&&u.navigate,tabindex:n.disabled?-1:void 0},{default:()=>{var x;return[_&>("div",{key:"image",class:"v-card__image"},[C.image?gt(Fa,{key:"image-defaults",disabled:!n.image,defaults:{VImg:{cover:!0,src:n.image}}},C.image):gt(Zd,{key:"image-img",cover:!0,src:n.image},null)]),gt(g_,{name:"v-card",active:!!n.loading,color:typeof n.loading=="boolean"?void 0:n.loading},{default:C.loader}),k&>(GA,{key:"item",prependAvatar:n.prependAvatar,prependIcon:n.prependIcon,title:n.title,subtitle:n.subtitle,appendAvatar:n.appendAvatar,appendIcon:n.appendIcon},{default:C.item,prepend:C.prepend,title:C.title,subtitle:C.subtitle,append:C.append}),E&>(qA,{key:"text"},{default:()=>{var A;return[((A=C.text)==null?void 0:A.call(C))??n.text]}}),(x=C.default)==null?void 0:x.call(C),C.actions&>(jA,null,{default:C.actions}),np(s.value,"v-card")]}}),[[Tu("ripple"),s.value&&n.ripple]])}),{}}});const BV=n=>{const{touchstartX:e,touchendX:r,touchstartY:C,touchendY:D}=n,T=.5,p=16;n.offsetX=r-e,n.offsetY=D-C,Math.abs(n.offsetY)e+p&&n.right(n)),Math.abs(n.offsetX)C+p&&n.down(n))};function NV(n,e){var C;const r=n.changedTouches[0];e.touchstartX=r.clientX,e.touchstartY=r.clientY,(C=e.start)==null||C.call(e,{originalEvent:n,...e})}function VV(n,e){var C;const r=n.changedTouches[0];e.touchendX=r.clientX,e.touchendY=r.clientY,(C=e.end)==null||C.call(e,{originalEvent:n,...e}),BV(e)}function jV(n,e){var C;const r=n.changedTouches[0];e.touchmoveX=r.clientX,e.touchmoveY=r.clientY,(C=e.move)==null||C.call(e,{originalEvent:n,...e})}function UV(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const e={touchstartX:0,touchstartY:0,touchendX:0,touchendY:0,touchmoveX:0,touchmoveY:0,offsetX:0,offsetY:0,left:n.left,right:n.right,up:n.up,down:n.down,start:n.start,move:n.move,end:n.end};return{touchstart:r=>NV(r,e),touchend:r=>VV(r,e),touchmove:r=>jV(r,e)}}function HV(n,e){var t;const r=e.value,C=r!=null&&r.parent?n.parentElement:n,D=(r==null?void 0:r.options)??{passive:!0},T=(t=e.instance)==null?void 0:t.$.uid;if(!C||!T)return;const p=UV(e.value);C._touchHandlers=C._touchHandlers??Object.create(null),C._touchHandlers[T]=p,c6(p).forEach(d=>{C.addEventListener(d,p[d],D)})}function GV(n,e){var T,p;const r=(T=e.value)!=null&&T.parent?n.parentElement:n,C=(p=e.instance)==null?void 0:p.$.uid;if(!(r!=null&&r._touchHandlers)||!C)return;const D=r._touchHandlers[C];c6(D).forEach(t=>{r.removeEventListener(t,D[t])}),delete r._touchHandlers[C]}const M_={mounted:HV,unmounted:GV},WA=Symbol.for("vuetify:v-window"),YA=Symbol.for("vuetify:v-window-group"),$A=ur({continuous:Boolean,nextIcon:{type:[Boolean,String,Function,Object],default:"$next"},prevIcon:{type:[Boolean,String,Function,Object],default:"$prev"},reverse:Boolean,showArrows:{type:[Boolean,String],validator:n=>typeof n=="boolean"||n==="hover"},touch:{type:[Object,Boolean],default:void 0},direction:{type:String,default:"horizontal"},modelValue:null,disabled:Boolean,selectedClass:{type:String,default:"v-window-item--active"},mandatory:{type:[Boolean,String],default:"force"},...Zr(),...Si(),...oa()},"VWindow"),Sx=Ar()({name:"VWindow",directives:{Touch:M_},props:$A(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{isRtl:D}=Cs(),{t:T}=oc(),p=ip(n,YA),t=Vr(),d=cn(()=>D.value?!n.reverse:n.reverse),g=Wr(!1),i=cn(()=>{const h=n.direction==="vertical"?"y":"x",w=(d.value?!g.value:g.value)?"-reverse":"";return`v-window-${h}${w}-transition`}),M=Wr(0),v=Vr(void 0),f=cn(()=>p.items.value.findIndex(h=>p.selected.value.includes(h.id)));$r(f,(h,m)=>{const w=p.items.value.length,y=w-1;w<=2?g.value=hn.continuous||f.value!==0),a=cn(()=>n.continuous||f.value!==p.items.value.length-1);function u(){l.value&&p.prev()}function o(){a.value&&p.next()}const s=cn(()=>{const h=[],m={icon:D.value?n.nextIcon:n.prevIcon,class:`v-window__${d.value?"right":"left"}`,onClick:p.prev,ariaLabel:T("$vuetify.carousel.prev")};h.push(l.value?r.prev?r.prev({props:m}):gt(_l,m,null):gt("div",null,null));const w={icon:D.value?n.prevIcon:n.nextIcon,class:`v-window__${d.value?"left":"right"}`,onClick:p.next,ariaLabel:T("$vuetify.carousel.next")};return h.push(a.value?r.next?r.next({props:w}):gt(_l,w,null):gt("div",null,null)),h}),c=cn(()=>n.touch===!1?n.touch:{...{left:()=>{d.value?u():o()},right:()=>{d.value?o():u()},start:m=>{let{originalEvent:w}=m;w.stopPropagation()}},...n.touch===!0?{}:n.touch});return Or(()=>Co(gt(n.tag,{ref:t,class:["v-window",{"v-window--show-arrows-on-hover":n.showArrows==="hover"},C.value,n.class],style:n.style},{default:()=>{var h,m;return[gt("div",{class:"v-window__container",style:{height:v.value}},[(h=r.default)==null?void 0:h.call(r,{group:p}),n.showArrows!==!1&>("div",{class:"v-window__controls"},[s.value])]),(m=r.additional)==null?void 0:m.call(r,{group:p})]}}),[[Tu("touch"),c.value]])),{group:p}}}),qV=ur({color:String,cycle:Boolean,delimiterIcon:{type:bi,default:"$delimiter"},height:{type:[Number,String],default:500},hideDelimiters:Boolean,hideDelimiterBackground:Boolean,interval:{type:[Number,String],default:6e3,validator:n=>Number(n)>0},progress:[Boolean,String],verticalDelimiters:[Boolean,String],...$A({continuous:!0,mandatory:"force",showArrows:!0})},"VCarousel"),WV=Ar()({name:"VCarousel",props:qV(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const C=xi(n,"modelValue"),{t:D}=oc(),T=Vr();let p=-1;$r(C,d),$r(()=>n.interval,d),$r(()=>n.cycle,g=>{g?d():window.clearTimeout(p)}),Ks(t);function t(){!n.cycle||!T.value||(p=window.setTimeout(T.value.group.next,+n.interval>0?+n.interval:6e3))}function d(){window.clearTimeout(p),window.requestAnimationFrame(t)}return Or(()=>{const[g]=Sx.filterProps(n);return gt(Sx,qr({ref:T},g,{modelValue:C.value,"onUpdate:modelValue":i=>C.value=i,class:["v-carousel",{"v-carousel--hide-delimiter-background":n.hideDelimiterBackground,"v-carousel--vertical-delimiters":n.verticalDelimiters},n.class],style:[{height:Qr(n.height)},n.style]}),{default:r.default,additional:i=>{let{group:M}=i;return gt(Yr,null,[!n.hideDelimiters&>("div",{class:"v-carousel__controls",style:{left:n.verticalDelimiters==="left"&&n.verticalDelimiters?0:"auto",right:n.verticalDelimiters==="right"?0:"auto"}},[M.items.value.length>0&>(Fa,{defaults:{VBtn:{color:n.color,icon:n.delimiterIcon,size:"x-small",variant:"text"}},scoped:!0},{default:()=>[M.items.value.map((v,f)=>{const l={id:`carousel-item-${v.id}`,"aria-label":D("$vuetify.carousel.ariaLabel.delimiter",f+1,M.items.value.length),class:[M.isSelected(v.id)&&"v-btn--active"],onClick:()=>M.select(v.id,!0)};return r.item?r.item({props:l,item:v}):gt(_l,qr(v,l),null)})]})]),n.progress&>(p_,{class:"v-carousel__progress",color:typeof n.progress=="string"?n.progress:void 0,modelValue:(M.getItemIndex(C.value)+1)/M.items.value.length*100},null)])},prev:r.prev,next:r.next})}),{}}}),ZA=ur({reverseTransition:{type:[Boolean,String],default:void 0},transition:{type:[Boolean,String],default:void 0},...Zr(),...T0(),...o1()},"VWindowItem"),Cx=Ar()({name:"VWindowItem",directives:{Touch:M_},props:ZA(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const C=ka(WA),D=k0(n,YA),{isBooted:T}=tp();if(!C||!D)throw new Error("[Vuetify] VWindowItem must be used inside VWindow");const p=Wr(!1),t=cn(()=>T.value&&(C.isReversed.value?n.reverseTransition!==!1:n.transition!==!1));function d(){!p.value||!C||(p.value=!1,C.transitionCount.value>0&&(C.transitionCount.value-=1,C.transitionCount.value===0&&(C.transitionHeight.value=void 0)))}function g(){var l;p.value||!C||(p.value=!0,C.transitionCount.value===0&&(C.transitionHeight.value=Qr((l=C.rootRef.value)==null?void 0:l.clientHeight)),C.transitionCount.value+=1)}function i(){d()}function M(l){p.value&&Ua(()=>{!t.value||!p.value||!C||(C.transitionHeight.value=Qr(l.clientHeight))})}const v=cn(()=>{const l=C.isReversed.value?n.reverseTransition:n.transition;return t.value?{name:typeof l!="string"?C.transition.value:l,onBeforeEnter:g,onAfterEnter:d,onEnterCancelled:i,onBeforeLeave:g,onAfterLeave:d,onLeaveCancelled:i,onEnter:M}:!1}),{hasContent:f}=__(n,D.isSelected);return Or(()=>gt(Oc,{transition:v.value,disabled:!T.value},{default:()=>{var l;return[Co(gt("div",{class:["v-window-item",D.selectedClass.value,n.class],style:n.style},[f.value&&((l=r.default)==null?void 0:l.call(r))]),[[kh,D.isSelected.value]])]}})),{groupItem:D}}}),YV=ur({...G6(),...ZA()},"VCarouselItem"),$V=Ar()({name:"VCarouselItem",inheritAttrs:!1,props:YV(),setup(n,e){let{slots:r,attrs:C}=e;Or(()=>{const[D]=Zd.filterProps(n),[T]=Cx.filterProps(n);return gt(Cx,qr({class:"v-carousel-item"},T),{default:()=>[gt(Zd,qr(C,D),r)]})})}});const ZV=Nc("v-code");const XV=ur({color:{type:Object},disabled:Boolean,dotSize:{type:[Number,String],default:10},height:{type:[Number,String],default:150},width:{type:[Number,String],default:300},...Zr()},"VColorPickerCanvas"),KV=ac({name:"VColorPickerCanvas",props:XV(),emits:{"update:color":n=>!0,"update:position":n=>!0},setup(n,e){let{emit:r}=e;const C=Wr(!1),D=Vr(),T=Wr(parseFloat(n.width)),p=Wr(parseFloat(n.height)),t=Vr({x:0,y:0}),d=cn({get:()=>t.value,set(u){var c,h;if(!D.value)return;const{x:o,y:s}=u;r("update:color",{h:((c=n.color)==null?void 0:c.h)??0,s:Zs(o,0,T.value)/T.value,v:1-Zs(s,0,p.value)/p.value,a:((h=n.color)==null?void 0:h.a)??1})}}),g=cn(()=>{const{x:u,y:o}=d.value,s=parseInt(n.dotSize,10)/2;return{width:Qr(n.dotSize),height:Qr(n.dotSize),transform:`translate(${Qr(u-s)}, ${Qr(o-s)})`}}),{resizeRef:i}=Th(u=>{var c;if(!((c=i.value)!=null&&c.offsetParent))return;const{width:o,height:s}=u[0].contentRect;T.value=o,p.value=s});function M(u,o,s){const{left:c,top:h,width:m,height:w}=s;d.value={x:Zs(u-c,0,m),y:Zs(o-h,0,w)}}function v(u){u.type==="mousedown"&&u.preventDefault(),!n.disabled&&(f(u),window.addEventListener("mousemove",f),window.addEventListener("mouseup",l),window.addEventListener("touchmove",f),window.addEventListener("touchend",l))}function f(u){if(n.disabled||!D.value)return;C.value=!0;const o=Wz(u);M(o.clientX,o.clientY,D.value.getBoundingClientRect())}function l(){window.removeEventListener("mousemove",f),window.removeEventListener("mouseup",l),window.removeEventListener("touchmove",f),window.removeEventListener("touchend",l)}function a(){var h;if(!D.value)return;const u=D.value,o=u.getContext("2d");if(!o)return;const s=o.createLinearGradient(0,0,u.width,0);s.addColorStop(0,"hsla(0, 0%, 100%, 1)"),s.addColorStop(1,`hsla(${((h=n.color)==null?void 0:h.h)??0}, 100%, 50%, 1)`),o.fillStyle=s,o.fillRect(0,0,u.width,u.height);const c=o.createLinearGradient(0,0,0,u.height);c.addColorStop(0,"hsla(0, 0%, 100%, 0)"),c.addColorStop(1,"hsla(0, 0%, 0%, 1)"),o.fillStyle=c,o.fillRect(0,0,u.width,u.height)}return $r(()=>{var u;return(u=n.color)==null?void 0:u.h},a,{immediate:!0}),$r(()=>[T.value,p.value],(u,o)=>{a(),t.value={x:d.value.x*u[0]/o[0],y:d.value.y*u[1]/o[1]}},{flush:"post"}),$r(()=>n.color,()=>{if(C.value){C.value=!1;return}t.value=n.color?{x:n.color.s*T.value,y:(1-n.color.v)*p.value}:{x:0,y:0}},{deep:!0,immediate:!0}),Ks(()=>a()),Or(()=>gt("div",{ref:i,class:["v-color-picker-canvas",n.class],style:n.style,onMousedown:v,onTouchstartPassive:v},[gt("canvas",{ref:D,width:T.value,height:p.value},null),n.color&>("div",{class:["v-color-picker-canvas__dot",{"v-color-picker-canvas__dot--disabled":n.disabled}],style:g.value},null)])),{}}});function JV(n,e){if(e){const{a:r,...C}=n;return C}return n}function QV(n,e){if(e==null||typeof e=="string"){const r=M6(n);return n.a===1?r.slice(0,7):r}if(typeof e=="object"){let r;return Od(e,["r","g","b"])?r=rf(n):Od(e,["h","s","l"])?r=x6(n):Od(e,["h","s","v"])&&(r=n),JV(r,!Od(e,["a"])&&n.a===1)}return n}const bm={h:0,s:0,v:1,a:1},Ex={inputProps:{type:"number",min:0},inputs:[{label:"R",max:255,step:1,getValue:n=>Math.round(n.r),getColor:(n,e)=>({...n,r:Number(e)})},{label:"G",max:255,step:1,getValue:n=>Math.round(n.g),getColor:(n,e)=>({...n,g:Number(e)})},{label:"B",max:255,step:1,getValue:n=>Math.round(n.b),getColor:(n,e)=>({...n,b:Number(e)})},{label:"A",max:1,step:.01,getValue:n=>{let{a:e}=n;return e!=null?Math.round(e*100)/100:1},getColor:(n,e)=>({...n,a:Number(e)})}],to:rf,from:Xy};var pT;const ej={...Ex,inputs:(pT=Ex.inputs)==null?void 0:pT.slice(0,3)},Lx={inputProps:{type:"number",min:0},inputs:[{label:"H",max:360,step:1,getValue:n=>Math.round(n.h),getColor:(n,e)=>({...n,h:Number(e)})},{label:"S",max:1,step:.01,getValue:n=>Math.round(n.s*100)/100,getColor:(n,e)=>({...n,s:Number(e)})},{label:"L",max:1,step:.01,getValue:n=>Math.round(n.l*100)/100,getColor:(n,e)=>({...n,l:Number(e)})},{label:"A",max:1,step:.01,getValue:n=>{let{a:e}=n;return e!=null?Math.round(e*100)/100:1},getColor:(n,e)=>({...n,a:Number(e)})}],to:x6,from:e_},tj={...Lx,inputs:Lx.inputs.slice(0,3)},XA={inputProps:{type:"text"},inputs:[{label:"HEXA",getValue:n=>n,getColor:(n,e)=>e}],to:M6,from:hF},nj={...XA,inputs:[{label:"HEX",getValue:n=>n.slice(0,7),getColor:(n,e)=>e}]},Hd={rgb:ej,rgba:Ex,hsl:tj,hsla:Lx,hex:nj,hexa:XA},rj=n=>{let{label:e,...r}=n;return gt("div",{class:"v-color-picker-edit__input"},[gt("input",r,null),gt("span",null,[e])])},ij=ur({color:Object,disabled:Boolean,mode:{type:String,default:"rgba",validator:n=>Object.keys(Hd).includes(n)},modes:{type:Array,default:()=>Object.keys(Hd),validator:n=>Array.isArray(n)&&n.every(e=>Object.keys(Hd).includes(e))},...Zr()},"VColorPickerEdit"),aj=ac({name:"VColorPickerEdit",props:ij(),emits:{"update:color":n=>!0,"update:mode":n=>!0},setup(n,e){let{emit:r}=e;const C=cn(()=>n.modes.map(T=>({...Hd[T],name:T}))),D=cn(()=>{var t;const T=C.value.find(d=>d.name===n.mode);if(!T)return[];const p=n.color?T.to(n.color):null;return(t=T.inputs)==null?void 0:t.map(d=>{let{getValue:g,getColor:i,...M}=d;return{...T.inputProps,...M,disabled:n.disabled,value:p&&g(p),onChange:v=>{const f=v.target;f&&r("update:color",T.from(i(p??bm,f.value)))}}})});return Or(()=>{var T;return gt("div",{class:["v-color-picker-edit",n.class],style:n.style},[(T=D.value)==null?void 0:T.map(p=>gt(rj,p,null)),C.value.length>1&>(_l,{icon:"$unfold",size:"x-small",variant:"plain",onClick:()=>{const p=C.value.findIndex(t=>t.name===n.mode);r("update:mode",C.value[(p+1)%C.value.length].name)}},null)])}),{}}});const A_=Symbol.for("vuetify:v-slider");function Ix(n,e,r){const C=r==="vertical",D=e.getBoundingClientRect(),T="touches"in n?n.touches[0]:n;return C?T.clientY-(D.top+D.height/2):T.clientX-(D.left+D.width/2)}function oj(n,e){return"touches"in n&&n.touches.length?n.touches[0][e]:"changedTouches"in n&&n.changedTouches.length?n.changedTouches[0][e]:n[e]}const KA=ur({disabled:{type:Boolean,default:null},error:Boolean,readonly:{type:Boolean,default:null},max:{type:[Number,String],default:100},min:{type:[Number,String],default:0},step:{type:[Number,String],default:0},thumbColor:String,thumbLabel:{type:[Boolean,String],default:void 0,validator:n=>typeof n=="boolean"||n==="always"},thumbSize:{type:[Number,String],default:20},showTicks:{type:[Boolean,String],default:!1,validator:n=>typeof n=="boolean"||n==="always"},ticks:{type:[Array,Object]},tickSize:{type:[Number,String],default:2},color:String,trackColor:String,trackFillColor:String,trackSize:{type:[Number,String],default:4},direction:{type:String,default:"horizontal",validator:n=>["vertical","horizontal"].includes(n)},reverse:Boolean,...lo(),...fs({elevation:2})},"Slider"),JA=n=>{const e=cn(()=>parseFloat(n.min)),r=cn(()=>parseFloat(n.max)),C=cn(()=>+n.step>0?parseFloat(n.step):0),D=cn(()=>Math.max(_5(C.value),_5(e.value)));function T(p){if(p=parseFloat(p),C.value<=0)return p;const t=Zs(p,e.value,r.value),d=e.value%C.value,g=Math.round((t-d)/C.value)*C.value+d;return parseFloat(Math.min(g,r.value).toFixed(D.value))}return{min:e,max:r,step:C,decimals:D,roundValue:T}},QA=n=>{let{props:e,steps:r,onSliderStart:C,onSliderMove:D,onSliderEnd:T,getActiveThumb:p}=n;const{isRtl:t}=Cs(),d=Cr(e,"reverse"),g=cn(()=>{let U=t.value?"rtl":"ltr";return e.reverse&&(U=U==="rtl"?"ltr":"rtl"),U}),{min:i,max:M,step:v,decimals:f,roundValue:l}=r,a=cn(()=>parseInt(e.thumbSize,10)),u=cn(()=>parseInt(e.tickSize,10)),o=cn(()=>parseInt(e.trackSize,10)),s=cn(()=>(M.value-i.value)/v.value),c=Cr(e,"disabled"),h=cn(()=>e.direction==="vertical"),m=cn(()=>e.error||e.disabled?void 0:e.thumbColor??e.color),w=cn(()=>e.error||e.disabled?void 0:e.trackColor??e.color),y=cn(()=>e.error||e.disabled?void 0:e.trackFillColor??e.color),S=Wr(!1),_=Wr(0),k=Vr(),E=Vr();function x(U){var re;const G=e.direction==="vertical",q=G?"top":"left",H=G?"height":"width",ne=G?"clientY":"clientX",{[q]:te,[H]:Z}=(re=k.value)==null?void 0:re.$el.getBoundingClientRect(),X=oj(U,ne);let Q=Math.min(Math.max((X-te-_.value)/Z,0),1)||0;return(G||g.value==="rtl")&&(Q=1-Q),l(i.value+Q*(M.value-i.value))}const A=U=>{T({value:x(U)}),S.value=!1,_.value=0},L=U=>{E.value=p(U),E.value&&(E.value.focus(),S.value=!0,E.value.contains(U.target)?_.value=Ix(U,E.value,e.direction):(_.value=0,D({value:x(U)})),C({value:x(U)}))},b={passive:!0,capture:!0};function R(U){D({value:x(U)})}function I(U){U.stopPropagation(),U.preventDefault(),A(U),window.removeEventListener("mousemove",R,b),window.removeEventListener("mouseup",I)}function O(U){var G;A(U),window.removeEventListener("touchmove",R,b),(G=U.target)==null||G.removeEventListener("touchend",O)}function z(U){var G;L(U),window.addEventListener("touchmove",R,b),(G=U.target)==null||G.addEventListener("touchend",O,{passive:!1})}function F(U){U.preventDefault(),L(U),window.addEventListener("mousemove",R,b),window.addEventListener("mouseup",I,{passive:!1})}const B=U=>{const G=(U-i.value)/(M.value-i.value)*100;return Zs(isNaN(G)?0:G,0,100)},N=Cr(e,"showTicks"),W=cn(()=>N.value?e.ticks?Array.isArray(e.ticks)?e.ticks.map(U=>({value:U,position:B(U),label:U.toString()})):Object.keys(e.ticks).map(U=>({value:parseFloat(U),position:B(parseFloat(U)),label:e.ticks[U]})):s.value!==1/0?Kh(s.value+1).map(U=>{const G=i.value+U*v.value;return{value:G,position:B(G)}}):[]:[]),j=cn(()=>W.value.some(U=>{let{label:G}=U;return!!G})),$={activeThumbRef:E,color:Cr(e,"color"),decimals:f,disabled:c,direction:Cr(e,"direction"),elevation:Cr(e,"elevation"),hasLabels:j,horizontalDirection:g,isReversed:d,min:i,max:M,mousePressed:S,numTicks:s,onSliderMousedown:F,onSliderTouchstart:z,parsedTicks:W,parseMouseMove:x,position:B,readonly:Cr(e,"readonly"),rounded:Cr(e,"rounded"),roundValue:l,showTicks:N,startOffset:_,step:v,thumbSize:a,thumbColor:m,thumbLabel:Cr(e,"thumbLabel"),ticks:Cr(e,"ticks"),tickSize:u,trackColor:w,trackContainerRef:k,trackFillColor:y,trackSize:o,vertical:h};return ts(A_,$),$},sj=ur({focused:Boolean,max:{type:Number,required:!0},min:{type:Number,required:!0},modelValue:{type:Number,required:!0},position:{type:Number,required:!0},ripple:{type:[Boolean,Object],default:!0},...Zr()},"VSliderThumb"),Rx=Ar()({name:"VSliderThumb",directives:{Ripple:nd},props:sj(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r,emit:C}=e;const D=ka(A_),{rtlClasses:T}=Cs();if(!D)throw new Error("[Vuetify] v-slider-thumb must be used inside v-slider or v-range-slider");const{thumbColor:p,step:t,vertical:d,disabled:g,thumbSize:i,thumbLabel:M,direction:v,readonly:f,elevation:l,isReversed:a,horizontalDirection:u,mousePressed:o,decimals:s}=D,{textColorClasses:c,textColorStyles:h}=Xs(p),{pageup:m,pagedown:w,end:y,home:S,left:_,right:k,down:E,up:x}=sx,A=[m,w,y,S,_,k,E,x],L=cn(()=>t.value?[1,2,3]:[1,5,10]);function b(I,O){if(!A.includes(I.key))return;I.preventDefault();const z=t.value||.1,F=(n.max-n.min)/z;if([_,k,E,x].includes(I.key)){const N=(u.value==="rtl"?[_,x]:[k,x]).includes(I.key)?1:-1,W=I.shiftKey?2:I.ctrlKey?1:0;O=O+N*z*L.value[W]}else if(I.key===S)O=n.min;else if(I.key===y)O=n.max;else{const B=I.key===w?1:-1;O=O-B*z*(F>100?F/10:10)}return Math.max(n.min,Math.min(n.max,O))}function R(I){const O=b(I,n.modelValue);O!=null&&C("update:modelValue",O)}return Or(()=>{const I=Qr(d.value||a.value?100-n.position:n.position,"%"),{elevationClasses:O}=Vs(cn(()=>g.value?void 0:l.value));return gt("div",{class:["v-slider-thumb",{"v-slider-thumb--focused":n.focused,"v-slider-thumb--pressed":n.focused&&o.value},n.class,T.value],style:[{"--v-slider-thumb-position":I,"--v-slider-thumb-size":Qr(i.value)},n.style],role:"slider",tabindex:g.value?-1:0,"aria-valuemin":n.min,"aria-valuemax":n.max,"aria-valuenow":n.modelValue,"aria-readonly":!!f.value,"aria-orientation":v.value,onKeydown:f.value?void 0:R},[gt("div",{class:["v-slider-thumb__surface",c.value,O.value],style:{...h.value}},null),Co(gt("div",{class:["v-slider-thumb__ripple",c.value],style:h.value},null),[[Tu("ripple"),n.ripple,null,{circle:!0,center:!0}]]),gt(s_,{origin:"bottom center"},{default:()=>{var z;return[Co(gt("div",{class:"v-slider-thumb__label-container"},[gt("div",{class:["v-slider-thumb__label"]},[gt("div",null,[((z=r["thumb-label"])==null?void 0:z.call(r,{modelValue:n.modelValue}))??n.modelValue.toFixed(t.value?s.value:1)])])]),[[kh,M.value&&n.focused||M.value==="always"]])]}})])}),{}}});const lj=ur({start:{type:Number,required:!0},stop:{type:Number,required:!0},...Zr()},"VSliderTrack"),eS=Ar()({name:"VSliderTrack",props:lj(),emits:{},setup(n,e){let{slots:r}=e;const C=ka(A_);if(!C)throw new Error("[Vuetify] v-slider-track must be inside v-slider or v-range-slider");const{color:D,horizontalDirection:T,parsedTicks:p,rounded:t,showTicks:d,tickSize:g,trackColor:i,trackFillColor:M,trackSize:v,vertical:f,min:l,max:a}=C,{roundedClasses:u}=Eo(t),{backgroundColorClasses:o,backgroundColorStyles:s}=Oo(M),{backgroundColorClasses:c,backgroundColorStyles:h}=Oo(i),m=cn(()=>`inset-${f.value?"block-end":"inline-start"}`),w=cn(()=>f.value?"height":"width"),y=cn(()=>({[m.value]:"0%",[w.value]:"100%"})),S=cn(()=>n.stop-n.start),_=cn(()=>({[m.value]:Qr(n.start,"%"),[w.value]:Qr(S.value,"%")})),k=cn(()=>d.value?(f.value?p.value.slice().reverse():p.value).map((x,A)=>{var R;const L=f.value?"bottom":"margin-inline-start",b=x.value!==l.value&&x.value!==a.value?Qr(x.position,"%"):void 0;return gt("div",{key:x.value,class:["v-slider-track__tick",{"v-slider-track__tick--filled":x.position>=n.start&&x.position<=n.stop,"v-slider-track__tick--first":x.value===l.value,"v-slider-track__tick--last":x.value===a.value}],style:{[L]:b}},[(x.label||r["tick-label"])&>("div",{class:"v-slider-track__tick-label"},[((R=r["tick-label"])==null?void 0:R.call(r,{tick:x,index:A}))??x.label])])}):[]);return Or(()=>gt("div",{class:["v-slider-track",u.value,n.class],style:[{"--v-slider-track-size":Qr(v.value),"--v-slider-tick-size":Qr(g.value),direction:f.value?void 0:T.value},n.style]},[gt("div",{class:["v-slider-track__background",c.value,{"v-slider-track__background--opacity":!!D.value||!M.value}],style:{...y.value,...h.value}},null),gt("div",{class:["v-slider-track__fill",o.value],style:{..._.value,...s.value}},null),d.value&>("div",{class:["v-slider-track__ticks",{"v-slider-track__ticks--always-show":d.value==="always"}]},[k.value])])),{}}}),uj=ur({...r1(),...KA(),...mf(),modelValue:{type:[Number,String],default:0}},"VSlider"),Px=Ar()({name:"VSlider",props:uj(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,start:n=>!0,end:n=>!0},setup(n,e){let{slots:r,emit:C}=e;const D=Vr(),{rtlClasses:T}=Cs(),p=JA(n),t=xi(n,"modelValue",void 0,w=>p.roundValue(w??p.min.value)),{min:d,max:g,mousePressed:i,roundValue:M,onSliderMousedown:v,onSliderTouchstart:f,trackContainerRef:l,position:a,hasLabels:u,readonly:o}=QA({props:n,steps:p,onSliderStart:()=>{C("start",t.value)},onSliderEnd:w=>{let{value:y}=w;const S=M(y);t.value=S,C("end",S)},onSliderMove:w=>{let{value:y}=w;return t.value=M(y)},getActiveThumb:()=>{var w;return(w=D.value)==null?void 0:w.$el}}),{isFocused:s,focus:c,blur:h}=rd(n),m=cn(()=>a(t.value));return Or(()=>{const[w,y]=Bs.filterProps(n),S=!!(n.label||r.label||r.prepend);return gt(Bs,qr({class:["v-slider",{"v-slider--has-labels":!!r["tick-label"]||u.value,"v-slider--focused":s.value,"v-slider--pressed":i.value,"v-slider--disabled":n.disabled},T.value,n.class],style:n.style},w,{focused:s.value}),{...r,prepend:S?_=>{var k,E;return gt(Yr,null,[((k=r.label)==null?void 0:k.call(r,_))??n.label?gt(C0,{id:_.id.value,class:"v-slider__label",text:n.label},null):void 0,(E=r.prepend)==null?void 0:E.call(r,_)])}:void 0,default:_=>{let{id:k,messagesId:E}=_;return gt("div",{class:"v-slider__container",onMousedown:o.value?void 0:v,onTouchstartPassive:o.value?void 0:f},[gt("input",{id:k.value,name:n.name||k.value,disabled:!!n.disabled,readonly:!!n.readonly,tabindex:"-1",value:t.value},null),gt(eS,{ref:l,start:0,stop:m.value},{"tick-label":r["tick-label"]}),gt(Rx,{ref:D,"aria-describedby":E.value,focused:s.value,min:d.value,max:g.value,modelValue:t.value,"onUpdate:modelValue":x=>t.value=x,position:m.value,elevation:n.elevation,onFocus:c,onBlur:h},{"thumb-label":r["thumb-label"]})])}})}),{}}}),cj=ur({color:{type:Object},disabled:Boolean,hideAlpha:Boolean,...Zr()},"VColorPickerPreview"),hj=ac({name:"VColorPickerPreview",props:cj(),emits:{"update:color":n=>!0},setup(n,e){let{emit:r}=e;return Or(()=>{var C,D;return gt("div",{class:["v-color-picker-preview",{"v-color-picker-preview--hide-alpha":n.hideAlpha},n.class],style:n.style},[gt("div",{class:"v-color-picker-preview__dot"},[gt("div",{style:{background:w6(n.color??bm)}},null)]),gt("div",{class:"v-color-picker-preview__sliders"},[gt(Px,{class:"v-color-picker-preview__track v-color-picker-preview__hue",modelValue:(C=n.color)==null?void 0:C.h,"onUpdate:modelValue":T=>r("update:color",{...n.color??bm,h:T}),step:0,min:0,max:360,disabled:n.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null),!n.hideAlpha&>(Px,{class:"v-color-picker-preview__track v-color-picker-preview__alpha",modelValue:((D=n.color)==null?void 0:D.a)??1,"onUpdate:modelValue":T=>r("update:color",{...n.color??bm,a:T}),step:1/256,min:0,max:1,disabled:n.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null)])])}),{}}});const fj=Object.freeze({base:"#f44336",lighten5:"#ffebee",lighten4:"#ffcdd2",lighten3:"#ef9a9a",lighten2:"#e57373",lighten1:"#ef5350",darken1:"#e53935",darken2:"#d32f2f",darken3:"#c62828",darken4:"#b71c1c",accent1:"#ff8a80",accent2:"#ff5252",accent3:"#ff1744",accent4:"#d50000"}),dj=Object.freeze({base:"#e91e63",lighten5:"#fce4ec",lighten4:"#f8bbd0",lighten3:"#f48fb1",lighten2:"#f06292",lighten1:"#ec407a",darken1:"#d81b60",darken2:"#c2185b",darken3:"#ad1457",darken4:"#880e4f",accent1:"#ff80ab",accent2:"#ff4081",accent3:"#f50057",accent4:"#c51162"}),pj=Object.freeze({base:"#9c27b0",lighten5:"#f3e5f5",lighten4:"#e1bee7",lighten3:"#ce93d8",lighten2:"#ba68c8",lighten1:"#ab47bc",darken1:"#8e24aa",darken2:"#7b1fa2",darken3:"#6a1b9a",darken4:"#4a148c",accent1:"#ea80fc",accent2:"#e040fb",accent3:"#d500f9",accent4:"#aa00ff"}),mj=Object.freeze({base:"#673ab7",lighten5:"#ede7f6",lighten4:"#d1c4e9",lighten3:"#b39ddb",lighten2:"#9575cd",lighten1:"#7e57c2",darken1:"#5e35b1",darken2:"#512da8",darken3:"#4527a0",darken4:"#311b92",accent1:"#b388ff",accent2:"#7c4dff",accent3:"#651fff",accent4:"#6200ea"}),gj=Object.freeze({base:"#3f51b5",lighten5:"#e8eaf6",lighten4:"#c5cae9",lighten3:"#9fa8da",lighten2:"#7986cb",lighten1:"#5c6bc0",darken1:"#3949ab",darken2:"#303f9f",darken3:"#283593",darken4:"#1a237e",accent1:"#8c9eff",accent2:"#536dfe",accent3:"#3d5afe",accent4:"#304ffe"}),vj=Object.freeze({base:"#2196f3",lighten5:"#e3f2fd",lighten4:"#bbdefb",lighten3:"#90caf9",lighten2:"#64b5f6",lighten1:"#42a5f5",darken1:"#1e88e5",darken2:"#1976d2",darken3:"#1565c0",darken4:"#0d47a1",accent1:"#82b1ff",accent2:"#448aff",accent3:"#2979ff",accent4:"#2962ff"}),yj=Object.freeze({base:"#03a9f4",lighten5:"#e1f5fe",lighten4:"#b3e5fc",lighten3:"#81d4fa",lighten2:"#4fc3f7",lighten1:"#29b6f6",darken1:"#039be5",darken2:"#0288d1",darken3:"#0277bd",darken4:"#01579b",accent1:"#80d8ff",accent2:"#40c4ff",accent3:"#00b0ff",accent4:"#0091ea"}),bj=Object.freeze({base:"#00bcd4",lighten5:"#e0f7fa",lighten4:"#b2ebf2",lighten3:"#80deea",lighten2:"#4dd0e1",lighten1:"#26c6da",darken1:"#00acc1",darken2:"#0097a7",darken3:"#00838f",darken4:"#006064",accent1:"#84ffff",accent2:"#18ffff",accent3:"#00e5ff",accent4:"#00b8d4"}),xj=Object.freeze({base:"#009688",lighten5:"#e0f2f1",lighten4:"#b2dfdb",lighten3:"#80cbc4",lighten2:"#4db6ac",lighten1:"#26a69a",darken1:"#00897b",darken2:"#00796b",darken3:"#00695c",darken4:"#004d40",accent1:"#a7ffeb",accent2:"#64ffda",accent3:"#1de9b6",accent4:"#00bfa5"}),_j=Object.freeze({base:"#4caf50",lighten5:"#e8f5e9",lighten4:"#c8e6c9",lighten3:"#a5d6a7",lighten2:"#81c784",lighten1:"#66bb6a",darken1:"#43a047",darken2:"#388e3c",darken3:"#2e7d32",darken4:"#1b5e20",accent1:"#b9f6ca",accent2:"#69f0ae",accent3:"#00e676",accent4:"#00c853"}),wj=Object.freeze({base:"#8bc34a",lighten5:"#f1f8e9",lighten4:"#dcedc8",lighten3:"#c5e1a5",lighten2:"#aed581",lighten1:"#9ccc65",darken1:"#7cb342",darken2:"#689f38",darken3:"#558b2f",darken4:"#33691e",accent1:"#ccff90",accent2:"#b2ff59",accent3:"#76ff03",accent4:"#64dd17"}),Tj=Object.freeze({base:"#cddc39",lighten5:"#f9fbe7",lighten4:"#f0f4c3",lighten3:"#e6ee9c",lighten2:"#dce775",lighten1:"#d4e157",darken1:"#c0ca33",darken2:"#afb42b",darken3:"#9e9d24",darken4:"#827717",accent1:"#f4ff81",accent2:"#eeff41",accent3:"#c6ff00",accent4:"#aeea00"}),kj=Object.freeze({base:"#ffeb3b",lighten5:"#fffde7",lighten4:"#fff9c4",lighten3:"#fff59d",lighten2:"#fff176",lighten1:"#ffee58",darken1:"#fdd835",darken2:"#fbc02d",darken3:"#f9a825",darken4:"#f57f17",accent1:"#ffff8d",accent2:"#ffff00",accent3:"#ffea00",accent4:"#ffd600"}),Mj=Object.freeze({base:"#ffc107",lighten5:"#fff8e1",lighten4:"#ffecb3",lighten3:"#ffe082",lighten2:"#ffd54f",lighten1:"#ffca28",darken1:"#ffb300",darken2:"#ffa000",darken3:"#ff8f00",darken4:"#ff6f00",accent1:"#ffe57f",accent2:"#ffd740",accent3:"#ffc400",accent4:"#ffab00"}),Aj=Object.freeze({base:"#ff9800",lighten5:"#fff3e0",lighten4:"#ffe0b2",lighten3:"#ffcc80",lighten2:"#ffb74d",lighten1:"#ffa726",darken1:"#fb8c00",darken2:"#f57c00",darken3:"#ef6c00",darken4:"#e65100",accent1:"#ffd180",accent2:"#ffab40",accent3:"#ff9100",accent4:"#ff6d00"}),Sj=Object.freeze({base:"#ff5722",lighten5:"#fbe9e7",lighten4:"#ffccbc",lighten3:"#ffab91",lighten2:"#ff8a65",lighten1:"#ff7043",darken1:"#f4511e",darken2:"#e64a19",darken3:"#d84315",darken4:"#bf360c",accent1:"#ff9e80",accent2:"#ff6e40",accent3:"#ff3d00",accent4:"#dd2c00"}),Cj=Object.freeze({base:"#795548",lighten5:"#efebe9",lighten4:"#d7ccc8",lighten3:"#bcaaa4",lighten2:"#a1887f",lighten1:"#8d6e63",darken1:"#6d4c41",darken2:"#5d4037",darken3:"#4e342e",darken4:"#3e2723"}),Ej=Object.freeze({base:"#607d8b",lighten5:"#eceff1",lighten4:"#cfd8dc",lighten3:"#b0bec5",lighten2:"#90a4ae",lighten1:"#78909c",darken1:"#546e7a",darken2:"#455a64",darken3:"#37474f",darken4:"#263238"}),Lj=Object.freeze({base:"#9e9e9e",lighten5:"#fafafa",lighten4:"#f5f5f5",lighten3:"#eeeeee",lighten2:"#e0e0e0",lighten1:"#bdbdbd",darken1:"#757575",darken2:"#616161",darken3:"#424242",darken4:"#212121"}),Ij=Object.freeze({black:"#000000",white:"#ffffff",transparent:"#ffffff00"}),Rj=Object.freeze({red:fj,pink:dj,purple:pj,deepPurple:mj,indigo:gj,blue:vj,lightBlue:yj,cyan:bj,teal:xj,green:_j,lightGreen:wj,lime:Tj,yellow:kj,amber:Mj,orange:Aj,deepOrange:Sj,brown:Cj,blueGrey:Ej,grey:Lj,shades:Ij}),Pj=ur({swatches:{type:Array,default:()=>Oj(Rj)},disabled:Boolean,color:Object,maxHeight:[Number,String],...Zr()},"VColorPickerSwatches");function Oj(n){return Object.keys(n).map(e=>{const r=n[e];return r.base?[r.base,r.darken4,r.darken3,r.darken2,r.darken1,r.lighten1,r.lighten2,r.lighten3,r.lighten4,r.lighten5]:[r.black,r.white,r.transparent]})}const Dj=ac({name:"VColorPickerSwatches",props:Pj(),emits:{"update:color":n=>!0},setup(n,e){let{emit:r}=e;return Or(()=>gt("div",{class:["v-color-picker-swatches",n.class],style:[{maxHeight:Qr(n.maxHeight)},n.style]},[gt("div",null,[n.swatches.map(C=>gt("div",{class:"v-color-picker-swatches__swatch"},[C.map(D=>{const T=Pc(D),p=Xy(T),t=_6(T);return gt("div",{class:"v-color-picker-swatches__color",onClick:()=>p&&r("update:color",p)},[gt("div",{style:{background:t}},[n.color&&b0(n.color,p)?gt(ja,{size:"x-small",icon:"$success",color:mF(D,"#FFFFFF")>2?"white":"black"},null):void 0])])})]))])])),{}}});const tS=ur({color:String,...Su(),...Zr(),...sc(),...fs(),...ed(),...A0(),...lo(),...Si(),...oa()},"VSheet"),Ox=Ar()({name:"VSheet",props:tS(),setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{backgroundColorClasses:D,backgroundColorStyles:T}=Oo(Cr(n,"color")),{borderClasses:p}=uc(n),{dimensionStyles:t}=lc(n),{elevationClasses:d}=Vs(n),{locationStyles:g}=td(n),{positionClasses:i}=S0(n),{roundedClasses:M}=Eo(n);return Or(()=>gt(n.tag,{class:["v-sheet",C.value,D.value,p.value,d.value,i.value,M.value,n.class],style:[T.value,t.value,g.value,n.style]},r)),{}}}),zj=ur({canvasHeight:{type:[String,Number],default:150},disabled:Boolean,dotSize:{type:[Number,String],default:10},hideCanvas:Boolean,hideSliders:Boolean,hideInputs:Boolean,mode:{type:String,default:"rgba",validator:n=>Object.keys(Hd).includes(n)},modes:{type:Array,default:()=>Object.keys(Hd),validator:n=>Array.isArray(n)&&n.every(e=>Object.keys(Hd).includes(e))},showSwatches:Boolean,swatches:Array,swatchesMaxHeight:{type:[Number,String],default:150},modelValue:{type:[Object,String]},...ic(tS({width:300}),["height","location","minHeight","maxHeight","minWidth","maxWidth"])},"VColorPicker"),Fj=ac({name:"VColorPicker",props:zj(),emits:{"update:modelValue":n=>!0,"update:mode":n=>!0},setup(n){const e=xi(n,"mode"),r=Vr(null),C=xi(n,"modelValue",void 0,p=>{if(p==null||p==="")return null;let t;try{t=Xy(Pc(p))}catch{return null}return r.value&&(t={...t,h:r.value.h},r.value=null),t},p=>p?QV(p,n.modelValue):null),{rtlClasses:D}=Cs(),T=p=>{C.value=p,r.value=p};return Ks(()=>{n.modes.includes(e.value)||(e.value=n.modes[0])}),es({VSlider:{color:void 0,trackColor:void 0,trackFillColor:void 0}}),Or(()=>{const[p]=Ox.filterProps(n);return gt(Ox,qr({rounded:n.rounded,elevation:n.elevation,theme:n.theme,class:["v-color-picker",D.value,n.class],style:[{"--v-color-picker-color-hsv":w6({...C.value??bm,a:1})},n.style]},p,{maxWidth:n.width}),{default:()=>[!n.hideCanvas&>(KV,{key:"canvas",color:C.value,"onUpdate:color":T,disabled:n.disabled,dotSize:n.dotSize,width:n.width,height:n.canvasHeight},null),(!n.hideSliders||!n.hideInputs)&>("div",{key:"controls",class:"v-color-picker__controls"},[!n.hideSliders&>(hj,{key:"preview",color:C.value,"onUpdate:color":T,hideAlpha:!e.value.endsWith("a"),disabled:n.disabled},null),!n.hideInputs&>(aj,{key:"edit",modes:n.modes,mode:e.value,"onUpdate:mode":t=>e.value=t,color:C.value,"onUpdate:color":T,disabled:n.disabled},null)]),n.showSwatches&>(Dj,{key:"swatches",color:C.value,"onUpdate:color":T,maxHeight:n.swatchesMaxHeight,swatches:n.swatches,disabled:n.disabled},null)]})}),{}}});function Bj(n,e,r){if(e==null)return n;if(Array.isArray(e))throw new Error("Multiple matches is not implemented");return typeof e=="number"&&~e?gt(Yr,null,[gt("span",{class:"v-combobox__unmask"},[n.substr(0,e)]),gt("span",{class:"v-combobox__mask"},[n.substr(e,r)]),gt("span",{class:"v-combobox__unmask"},[n.substr(e+r)])]):n}const Nj=ur({autoSelectFirst:{type:[Boolean,String]},delimiters:Array,...DA({filterKeys:["title"]}),...k_({hideNoData:!0,returnObject:!0}),...ic(c1({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...df({transition:!1})},"VCombobox"),Vj=Ar()({name:"VCombobox",props:Nj(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,"update:search":n=>!0,"update:menu":n=>!0},setup(n,e){var q;let{emit:r,slots:C}=e;const{t:D}=oc(),T=Vr(),p=Wr(!1),t=Wr(!0),d=Wr(!1),g=Vr(),i=Vr(),M=xi(n,"menu"),v=cn({get:()=>M.value,set:H=>{var ne;M.value&&!H&&((ne=g.value)!=null&&ne.ΨopenChildren)||(M.value=H)}}),f=Wr(-1);let l=!1;const a=cn(()=>{var H;return(H=T.value)==null?void 0:H.color}),u=cn(()=>v.value?n.closeText:n.openText),{items:o,transformIn:s,transformOut:c}=x_(n),{textColorClasses:h,textColorStyles:m}=Xs(a),w=xi(n,"modelValue",[],H=>s(bu(H)),H=>{const ne=c(H);return n.multiple?ne:ne[0]??null}),y=i1(),S=Wr(n.multiple?"":((q=w.value[0])==null?void 0:q.title)??""),_=cn({get:()=>S.value,set:H=>{var ne;if(S.value=H,n.multiple||(w.value=[zd(n,H)]),H&&n.multiple&&((ne=n.delimiters)!=null&&ne.length)){const te=H.split(new RegExp(`(?:${n.delimiters.join("|")})+`));te.length>1&&(te.forEach(Z=>{Z=Z.trim(),Z&&j(zd(n,Z))}),S.value="")}H||(f.value=-1),t.value=!H}});$r(S,H=>{l?Ua(()=>l=!1):p.value&&!v.value&&(v.value=!0),r("update:search",H)}),$r(w,H=>{var ne;n.multiple||(S.value=((ne=H[0])==null?void 0:ne.title)??"")});const{filteredItems:k,getMatches:E}=zA(n,o,()=>t.value?"":_.value),x=cn(()=>n.hideSelected?k.value.filter(H=>!w.value.some(ne=>ne.value===H.value)):k.value),A=cn(()=>w.value.map(H=>H.value)),L=cn(()=>{var ne;return(n.autoSelectFirst===!0||n.autoSelectFirst==="exact"&&_.value===((ne=x.value[0])==null?void 0:ne.title))&&x.value.length>0&&!t.value&&!d.value}),b=cn(()=>n.hideNoData&&!o.value.length||n.readonly||(y==null?void 0:y.isReadonly.value)),R=Vr(),{onListScroll:I,onListKeydown:O}=T_(R,T);function z(H){l=!0,n.openOnClear&&(v.value=!0)}function F(){b.value||(v.value=!0)}function B(H){b.value||(p.value&&(H.preventDefault(),H.stopPropagation()),v.value=!v.value)}function N(H){var Z;if(n.readonly||y!=null&&y.isReadonly.value)return;const ne=T.value.selectionStart,te=w.value.length;if((f.value>-1||["Enter","ArrowDown","ArrowUp"].includes(H.key))&&H.preventDefault(),["Enter","ArrowDown"].includes(H.key)&&(v.value=!0),["Escape"].includes(H.key)&&(v.value=!1),["Enter","Escape","Tab"].includes(H.key)&&(L.value&&["Enter","Tab"].includes(H.key)&&j(k.value[0]),t.value=!0),H.key==="ArrowDown"&&L.value&&((Z=R.value)==null||Z.focus("next")),!!n.multiple){if(["Backspace","Delete"].includes(H.key)){if(f.value<0){H.key==="Backspace"&&!_.value&&(f.value=te-1);return}const X=f.value,Q=w.value[f.value];Q&&j(Q),f.value=X>=te-1?te-2:X}if(H.key==="ArrowLeft"){if(f.value<0&&ne>0)return;const X=f.value>-1?f.value-1:te-1;w.value[X]?f.value=X:(f.value=-1,T.value.setSelectionRange(_.value.length,_.value.length))}if(H.key==="ArrowRight"){if(f.value<0)return;const X=f.value+1;w.value[X]?f.value=X:(f.value=-1,T.value.setSelectionRange(0,0))}H.key==="Enter"&&_.value&&(j(zd(n,_.value)),_.value="")}}function W(){var H;p.value&&(t.value=!0,(H=T.value)==null||H.focus())}function j(H){if(n.multiple){const ne=w.value.findIndex(te=>n.valueComparator(te.value,H.value));if(ne===-1)w.value=[...w.value,H];else{const te=[...w.value];te.splice(ne,1),w.value=te}_.value=""}else w.value=[H],S.value=H.title,Ua(()=>{v.value=!1,t.value=!0})}function $(H){p.value=!0,setTimeout(()=>{d.value=!0})}function U(H){d.value=!1}function G(H){(H==null||H===""&&!n.multiple)&&(w.value=[])}return $r(k,H=>{!H.length&&n.hideNoData&&(v.value=!1)}),$r(p,(H,ne)=>{H||H===ne||(f.value=-1,v.value=!1,L.value&&!d.value&&!w.value.some(te=>{let{value:Z}=te;return Z===x.value[0].value})?j(x.value[0]):n.multiple&&_.value&&(w.value=[...w.value,zd(n,_.value)],_.value=""))}),$r(v,()=>{if(!n.hideSelected&&v.value&&w.value.length){const H=x.value.findIndex(ne=>w.value.some(te=>n.valueComparator(te.value,ne.value)));to&&window.requestAnimationFrame(()=>{var ne;H>=0&&((ne=i.value)==null||ne.scrollToIndex(H))})}}),Or(()=>{const H=!!(n.chips||C.chip),ne=!!(!n.hideNoData||x.value.length||C["prepend-item"]||C["append-item"]||C["no-data"]),te=w.value.length>0,[Z]=Kd.filterProps(n);return gt(Kd,qr({ref:T},Z,{modelValue:_.value,"onUpdate:modelValue":[X=>_.value=X,G],focused:p.value,"onUpdate:focused":X=>p.value=X,validationValue:w.externalValue,dirty:te,class:["v-combobox",{"v-combobox--active-menu":v.value,"v-combobox--chips":!!n.chips,"v-combobox--selection-slot":!!C.selection,"v-combobox--selecting-index":f.value>-1,[`v-combobox--${n.multiple?"multiple":"single"}`]:!0},n.class],style:n.style,readonly:n.readonly,placeholder:te?void 0:n.placeholder,"onClick:clear":z,"onMousedown:control":F,onKeydown:N}),{...C,default:()=>gt(Yr,null,[gt(s1,qr({ref:g,modelValue:v.value,"onUpdate:modelValue":X=>v.value=X,activator:"parent",contentClass:"v-combobox__content",disabled:b.value,eager:n.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:n.transition,onAfterLeave:W},n.menuProps),{default:()=>[ne&>(a1,{ref:R,selected:A.value,selectStrategy:n.multiple?"independent":"single-independent",onMousedown:X=>X.preventDefault(),onKeydown:O,onFocusin:$,onFocusout:U,onScrollPassive:I,tabindex:"-1",color:n.itemColor??n.color},{default:()=>{var X,Q,re;return[(X=C["prepend-item"])==null?void 0:X.call(C),!x.value.length&&!n.hideNoData&&(((Q=C["no-data"])==null?void 0:Q.call(C))??gt(af,{title:D(n.noDataText)},null)),gt(h1,{ref:i,renderless:!0,items:x.value},{default:ie=>{var de;let{item:oe,index:ue,itemRef:ce}=ie;const ye=qr(oe.props,{ref:ce,key:ue,active:L.value&&ue===0?!0:void 0,onClick:()=>j(oe)});return((de=C.item)==null?void 0:de.call(C,{item:oe,index:ue,props:ye}))??gt(af,ye,{prepend:me=>{let{isSelected:pe}=me;return gt(Yr,null,[n.multiple&&!n.hideSelected?gt(h0,{key:oe.value,modelValue:pe,ripple:!1,tabindex:"-1"},null):void 0,oe.props.prependIcon&>(ja,{icon:oe.props.prependIcon},null)])},title:()=>{var me,pe;return t.value?oe.title:Bj(oe.title,(me=E(oe))==null?void 0:me.title,((pe=_.value)==null?void 0:pe.length)??0)}})}}),(re=C["append-item"])==null?void 0:re.call(C)]}})]}),w.value.map((X,Q)=>{var oe;function re(ue){ue.stopPropagation(),ue.preventDefault(),j(X)}const ie={"onClick:close":re,onMousedown(ue){ue.preventDefault(),ue.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return gt("div",{key:X.value,class:["v-combobox__selection",Q===f.value&&["v-combobox__selection--selected",h.value]],style:Q===f.value?m.value:{}},[H?C.chip?gt(Fa,{key:"chip-defaults",defaults:{VChip:{closable:n.closableChips,size:"small",text:X.title}}},{default:()=>{var ue;return[(ue=C.chip)==null?void 0:ue.call(C,{item:X,index:Q,props:ie})]}}):gt(ug,qr({key:"chip",closable:n.closableChips,size:"small",text:X.title},ie),null):((oe=C.selection)==null?void 0:oe.call(C,{item:X,index:Q}))??gt("span",{class:"v-combobox__selection-text"},[X.title,n.multiple&&Q!0},setup(n,e){let{slots:r}=e;const C=xi(n,"modelValue"),{scopeId:D}=E0(),T=Vr();function p(d){var M,v;const g=d.relatedTarget,i=d.target;if(g!==i&&((M=T.value)!=null&&M.contentEl)&&((v=T.value)!=null&&v.globalTop)&&![document,T.value.contentEl].includes(i)&&!T.value.contentEl.contains(i)){const f=Dm(T.value.contentEl);if(!f.length)return;const l=f[0],a=f[f.length-1];g===l?a.focus():l.focus()}}to&&$r(()=>C.value&&n.retainFocus,d=>{d?document.addEventListener("focusin",p):document.removeEventListener("focusin",p)},{immediate:!0}),$r(C,async d=>{var g,i;await Ua(),d?(g=T.value.contentEl)==null||g.focus({preventScroll:!0}):(i=T.value.activatorEl)==null||i.focus({preventScroll:!0})});const t=cn(()=>qr({"aria-haspopup":"dialog","aria-expanded":String(C.value)},n.activatorProps));return Or(()=>{const[d]=of.filterProps(n);return gt(of,qr({ref:T,class:["v-dialog",{"v-dialog--fullscreen":n.fullscreen,"v-dialog--scrollable":n.scrollable},n.class],style:n.style},d,{modelValue:C.value,"onUpdate:modelValue":g=>C.value=g,"aria-modal":"true",activatorProps:t.value,role:"dialog"},D),{activator:r.activator,default:function(){for(var g=arguments.length,i=new Array(g),M=0;M{var v;return[(v=r.default)==null?void 0:v.call(r,...i)]}})}})}),Vc({},T)}});const jm=Symbol.for("vuetify:v-expansion-panel"),Hj=["default","accordion","inset","popout"],Gj=ur({color:String,variant:{type:String,default:"default",validator:n=>Hj.includes(n)},readonly:Boolean,...Zr(),...w0(),...Si(),...oa()},"VExpansionPanels"),qj=Ar()({name:"VExpansionPanels",props:Gj(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;ip(n,jm);const{themeClasses:C}=Ma(n),D=cn(()=>n.variant&&`v-expansion-panels--variant-${n.variant}`);return es({VExpansionPanel:{color:Cr(n,"color")},VExpansionPanelTitle:{readonly:Cr(n,"readonly")}}),Or(()=>gt(n.tag,{class:["v-expansion-panels",C.value,D.value,n.class],style:n.style},r)),{}}}),Wj=ur({...Zr(),...o1()},"VExpansionPanelText"),nS=Ar()({name:"VExpansionPanelText",props:Wj(),setup(n,e){let{slots:r}=e;const C=ka(jm);if(!C)throw new Error("[Vuetify] v-expansion-panel-text needs to be placed inside v-expansion-panel");const{hasContent:D,onAfterLeave:T}=__(n,C.isSelected);return Or(()=>gt(e1,{onAfterLeave:T},{default:()=>{var p;return[Co(gt("div",{class:["v-expansion-panel-text",n.class],style:n.style},[r.default&&D.value&>("div",{class:"v-expansion-panel-text__wrapper"},[(p=r.default)==null?void 0:p.call(r)])]),[[kh,C.isSelected.value]])]}})),{}}}),rS=ur({color:String,expandIcon:{type:bi,default:"$expand"},collapseIcon:{type:bi,default:"$collapse"},hideActions:Boolean,ripple:{type:[Boolean,Object],default:!1},readonly:Boolean,...Zr()},"VExpansionPanelTitle"),iS=Ar()({name:"VExpansionPanelTitle",directives:{Ripple:nd},props:rS(),setup(n,e){let{slots:r}=e;const C=ka(jm);if(!C)throw new Error("[Vuetify] v-expansion-panel-title needs to be placed inside v-expansion-panel");const{backgroundColorClasses:D,backgroundColorStyles:T}=Oo(n,"color"),p=cn(()=>({collapseIcon:n.collapseIcon,disabled:C.disabled.value,expanded:C.isSelected.value,expandIcon:n.expandIcon,readonly:n.readonly}));return Or(()=>{var t;return Co(gt("button",{class:["v-expansion-panel-title",{"v-expansion-panel-title--active":C.isSelected.value},D.value,n.class],style:[T.value,n.style],type:"button",tabindex:C.disabled.value?-1:void 0,disabled:C.disabled.value,"aria-expanded":C.isSelected.value,onClick:n.readonly?void 0:C.toggle},[gt("span",{class:"v-expansion-panel-title__overlay"},null),(t=r.default)==null?void 0:t.call(r,p.value),!n.hideActions&>("span",{class:"v-expansion-panel-title__icon"},[r.actions?r.actions(p.value):gt(ja,{icon:C.isSelected.value?n.collapseIcon:n.expandIcon},null)])]),[[Tu("ripple"),n.ripple]])}),{}}}),Yj=ur({title:String,text:String,bgColor:String,...Zr(),...fs(),...T0(),...o1(),...lo(),...Si(),...rS()},"VExpansionPanel"),$j=Ar()({name:"VExpansionPanel",props:Yj(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const C=k0(n,jm),{backgroundColorClasses:D,backgroundColorStyles:T}=Oo(n,"bgColor"),{elevationClasses:p}=Vs(n),{roundedClasses:t}=Eo(n),d=cn(()=>(C==null?void 0:C.disabled.value)||n.disabled),g=cn(()=>C.group.items.value.reduce((v,f,l)=>(C.group.selected.value.includes(f.id)&&v.push(l),v),[])),i=cn(()=>{const v=C.group.items.value.findIndex(f=>f.id===C.id);return!C.isSelected.value&&g.value.some(f=>f-v===1)}),M=cn(()=>{const v=C.group.items.value.findIndex(f=>f.id===C.id);return!C.isSelected.value&&g.value.some(f=>f-v===-1)});return ts(jm,C),es({VExpansionPanelText:{eager:Cr(n,"eager")}}),Or(()=>{const v=!!(r.text||n.text),f=!!(r.title||n.title);return gt(n.tag,{class:["v-expansion-panel",{"v-expansion-panel--active":C.isSelected.value,"v-expansion-panel--before-active":i.value,"v-expansion-panel--after-active":M.value,"v-expansion-panel--disabled":d.value},t.value,D.value,n.class],style:[T.value,n.style]},{default:()=>{var l;return[gt("div",{class:["v-expansion-panel__shadow",...p.value]},null),f&>(iS,{key:"title",collapseIcon:n.collapseIcon,color:n.color,expandIcon:n.expandIcon,hideActions:n.hideActions,ripple:n.ripple},{default:()=>[r.title?r.title():n.title]}),v&>(nS,{key:"text"},{default:()=>[r.text?r.text():n.text]}),(l=r.default)==null?void 0:l.call(r)]}})}),{}}});const Zj=ur({chips:Boolean,counter:Boolean,counterSizeString:{type:String,default:"$vuetify.fileInput.counterSize"},counterString:{type:String,default:"$vuetify.fileInput.counter"},multiple:Boolean,showSize:{type:[Boolean,Number],default:!1,validator:n=>typeof n=="boolean"||[1e3,1024].includes(n)},...mf({prependIcon:"$file"}),modelValue:{type:Array,default:()=>[],validator:n=>bu(n).every(e=>e!=null&&typeof e=="object")},...u1({clearable:!0})},"VFileInput"),Xj=Ar()({name:"VFileInput",inheritAttrs:!1,props:Zj(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:C,slots:D}=e;const{t:T}=oc(),p=xi(n,"modelValue"),{isFocused:t,focus:d,blur:g}=rd(n),i=cn(()=>typeof n.showSize!="boolean"?n.showSize:void 0),M=cn(()=>(p.value??[]).reduce((_,k)=>{let{size:E=0}=k;return _+E},0)),v=cn(()=>T5(M.value,i.value)),f=cn(()=>(p.value??[]).map(_=>{const{name:k="",size:E=0}=_;return n.showSize?`${k} (${T5(E,i.value)})`:k})),l=cn(()=>{var k;const _=((k=p.value)==null?void 0:k.length)??0;return n.showSize?T(n.counterSizeString,_,v.value):T(n.counterString,_)}),a=Vr(),u=Vr(),o=Vr(),s=cn(()=>t.value||n.active),c=cn(()=>["plain","underlined"].includes(n.variant));function h(){var _;o.value!==document.activeElement&&((_=o.value)==null||_.focus()),t.value||d()}function m(_){y(_)}function w(_){C("mousedown:control",_)}function y(_){var k;(k=o.value)==null||k.click(),C("click:control",_)}function S(_){_.stopPropagation(),h(),Ua(()=>{p.value=[],K2(n["onClick:clear"],_)})}return $r(p,_=>{(!Array.isArray(_)||!_.length)&&o.value&&(o.value.value="")}),Or(()=>{const _=!!(D.counter||n.counter),k=!!(_||D.details),[E,x]=Qd(r),[{modelValue:A,...L}]=Bs.filterProps(n),[b]=w_(n);return gt(Bs,qr({ref:a,modelValue:p.value,"onUpdate:modelValue":R=>p.value=R,class:["v-file-input",{"v-text-field--plain-underlined":c.value},n.class],style:n.style,"onClick:prepend":m},E,L,{centerAffix:!c.value,focused:t.value}),{...D,default:R=>{let{id:I,isDisabled:O,isDirty:z,isReadonly:F,isValid:B}=R;return gt(hg,qr({ref:u,"prepend-icon":n.prependIcon,onMousedown:w,onClick:y,"onClick:clear":S,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"]},b,{id:I.value,active:s.value||z.value,dirty:z.value,disabled:O.value,focused:t.value,error:B.value===!1}),{...D,default:N=>{var $;let{props:{class:W,...j}}=N;return gt(Yr,null,[gt("input",qr({ref:o,type:"file",readonly:F.value,disabled:O.value,multiple:n.multiple,name:n.name,onClick:U=>{U.stopPropagation(),F.value&&U.preventDefault(),h()},onChange:U=>{if(!U.target)return;const G=U.target;p.value=[...G.files??[]]},onFocus:h,onBlur:g},j,x),null),gt("div",{class:W},[!!(($=p.value)!=null&&$.length)&&(D.selection?D.selection({fileNames:f.value,totalBytes:M.value,totalBytesReadable:v.value}):n.chips?f.value.map(U=>gt(ug,{key:U,size:"small",color:n.color},{default:()=>[U]})):f.value.join(", "))])])}})},details:k?R=>{var I,O;return gt(Yr,null,[(I=D.details)==null?void 0:I.call(D,R),_&>(Yr,null,[gt("span",null,null),gt(l1,{active:!!((O=p.value)!=null&&O.length),value:l.value},D.counter)])])}:void 0})}),Vc({},a,u,o)}});const Kj=ur({app:Boolean,color:String,height:{type:[Number,String],default:"auto"},...Su(),...Zr(),...fs(),...x0(),...lo(),...Si({tag:"footer"}),...oa()},"VFooter"),Jj=Ar()({name:"VFooter",props:Kj(),setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{backgroundColorClasses:D,backgroundColorStyles:T}=Oo(Cr(n,"color")),{borderClasses:p}=uc(n),{elevationClasses:t}=Vs(n),{roundedClasses:d}=Eo(n),g=Wr(32),{resizeRef:i}=Th(f=>{f.length&&(g.value=f[0].target.clientHeight)}),M=cn(()=>n.height==="auto"?g.value:parseInt(n.height,10)),{layoutItemStyles:v}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:cn(()=>"bottom"),layoutSize:M,elementSize:cn(()=>n.height==="auto"?void 0:M.value),active:cn(()=>n.app),absolute:Cr(n,"absolute")});return Or(()=>gt(n.tag,{ref:i,class:["v-footer",C.value,D.value,p.value,t.value,d.value,n.class],style:[T.value,n.app?v.value:{height:Qr(n.height)},n.style]},r)),{}}}),Qj=ur({...Zr(),...cN()},"VForm"),eU=Ar()({name:"VForm",props:Qj(),emits:{"update:modelValue":n=>!0,submit:n=>!0},setup(n,e){let{slots:r,emit:C}=e;const D=hN(n),T=Vr();function p(d){d.preventDefault(),D.reset()}function t(d){const g=d,i=D.validate();g.then=i.then.bind(i),g.catch=i.catch.bind(i),g.finally=i.finally.bind(i),C("submit",g),g.defaultPrevented||i.then(M=>{var f;let{valid:v}=M;v&&((f=T.value)==null||f.submit())}),g.preventDefault()}return Or(()=>{var d;return gt("form",{ref:T,class:["v-form",n.class],style:n.style,novalidate:!0,onReset:p,onSubmit:t},[(d=r.default)==null?void 0:d.call(r,D)])}),Vc(D,T)}});const tU=ur({fluid:{type:Boolean,default:!1},...Zr(),...Si()},"VContainer"),nU=Ar()({name:"VContainer",props:tU(),setup(n,e){let{slots:r}=e;const{rtlClasses:C}=Cs();return Or(()=>gt(n.tag,{class:["v-container",{"v-container--fluid":n.fluid},C.value,n.class],style:n.style},r)),{}}}),aS=(()=>Ky.reduce((n,e)=>(n[e]={type:[Boolean,String,Number],default:!1},n),{}))(),oS=(()=>Ky.reduce((n,e)=>{const r="offset"+sf(e);return n[r]={type:[String,Number],default:null},n},{}))(),sS=(()=>Ky.reduce((n,e)=>{const r="order"+sf(e);return n[r]={type:[String,Number],default:null},n},{}))(),lT={col:Object.keys(aS),offset:Object.keys(oS),order:Object.keys(sS)};function rU(n,e,r){let C=n;if(!(r==null||r===!1)){if(e){const D=e.replace(n,"");C+=`-${D}`}return n==="col"&&(C="v-"+C),n==="col"&&(r===""||r===!0)||(C+=`-${r}`),C.toLowerCase()}}const iU=["auto","start","end","center","baseline","stretch"],aU=ur({cols:{type:[Boolean,String,Number],default:!1},...aS,offset:{type:[String,Number],default:null},...oS,order:{type:[String,Number],default:null},...sS,alignSelf:{type:String,default:null,validator:n=>iU.includes(n)},...Zr(),...Si()},"VCol"),oU=Ar()({name:"VCol",props:aU(),setup(n,e){let{slots:r}=e;const C=cn(()=>{const D=[];let T;for(T in lT)lT[T].forEach(t=>{const d=n[t],g=rU(T,t,d);g&&D.push(g)});const p=D.some(t=>t.startsWith("v-col-"));return D.push({"v-col":!p||!n.cols,[`v-col-${n.cols}`]:n.cols,[`offset-${n.offset}`]:n.offset,[`order-${n.order}`]:n.order,[`align-self-${n.alignSelf}`]:n.alignSelf}),D});return()=>{var D;return Xf(n.tag,{class:[C.value,n.class],style:n.style},(D=r.default)==null?void 0:D.call(r))}}}),S_=["start","end","center"],lS=["space-between","space-around","space-evenly"];function C_(n,e){return Ky.reduce((r,C)=>{const D=n+sf(C);return r[D]=e(),r},{})}const sU=[...S_,"baseline","stretch"],uS=n=>sU.includes(n),cS=C_("align",()=>({type:String,default:null,validator:uS})),lU=[...S_,...lS],hS=n=>lU.includes(n),fS=C_("justify",()=>({type:String,default:null,validator:hS})),uU=[...S_,...lS,"stretch"],dS=n=>uU.includes(n),pS=C_("alignContent",()=>({type:String,default:null,validator:dS})),uT={align:Object.keys(cS),justify:Object.keys(fS),alignContent:Object.keys(pS)},cU={align:"align",justify:"justify",alignContent:"align-content"};function hU(n,e,r){let C=cU[n];if(r!=null){if(e){const D=e.replace(n,"");C+=`-${D}`}return C+=`-${r}`,C.toLowerCase()}}const fU=ur({dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:uS},...cS,justify:{type:String,default:null,validator:hS},...fS,alignContent:{type:String,default:null,validator:dS},...pS,...Zr(),...Si()},"VRow"),dU=Ar()({name:"VRow",props:fU(),setup(n,e){let{slots:r}=e;const C=cn(()=>{const D=[];let T;for(T in uT)uT[T].forEach(p=>{const t=n[p],d=hU(T,p,t);d&&D.push(d)});return D.push({"v-row--no-gutters":n.noGutters,"v-row--dense":n.dense,[`align-${n.align}`]:n.align,[`justify-${n.justify}`]:n.justify,[`align-content-${n.alignContent}`]:n.alignContent}),D});return()=>{var D;return Xf(n.tag,{class:["v-row",C.value,n.class],style:n.style},(D=r.default)==null?void 0:D.call(r))}}}),pU=Nc("v-spacer","div","VSpacer"),mU=ur({disabled:Boolean,modelValue:{type:Boolean,default:void 0},...EA()},"VHover"),gU=Ar()({name:"VHover",props:mU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const C=xi(n,"modelValue"),{runOpenDelay:D,runCloseDelay:T}=LA(n,p=>!n.disabled&&(C.value=p));return()=>{var p;return(p=r.default)==null?void 0:p.call(r,{isHovering:C.value,props:{onMouseenter:D,onMouseleave:T}})}}});const mS=Symbol.for("vuetify:v-item-group"),vU=ur({...Zr(),...w0({selectedClass:"v-item--selected"}),...Si(),...oa()},"VItemGroup"),yU=Ar()({name:"VItemGroup",props:vU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{isSelected:D,select:T,next:p,prev:t,selected:d}=ip(n,mS);return()=>gt(n.tag,{class:["v-item-group",C.value,n.class],style:n.style},{default:()=>{var g;return[(g=r.default)==null?void 0:g.call(r,{isSelected:D,select:T,next:p,prev:t,selected:d.value})]}})}}),bU=Ar()({name:"VItem",props:T0(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const{isSelected:C,select:D,toggle:T,selectedClass:p,value:t,disabled:d}=k0(n,mS);return()=>{var g;return(g=r.default)==null?void 0:g.call(r,{isSelected:C.value,selectedClass:p.value,select:D,toggle:T,value:t.value,disabled:d.value})}}});const xU=Nc("v-kbd");const _U=ur({...Zr(),...z6()},"VLayout"),wU=Ar()({name:"VLayout",props:_U(),setup(n,e){let{slots:r}=e;const{layoutClasses:C,layoutStyles:D,getLayoutItem:T,items:p,layoutRef:t}=F6(n);return Or(()=>{var d;return gt("div",{ref:t,class:[C.value,n.class],style:[D.value,n.style]},[(d=r.default)==null?void 0:d.call(r)])}),{getLayoutItem:T,items:p}}});const TU=ur({position:{type:String,required:!0},size:{type:[Number,String],default:300},modelValue:Boolean,...Zr(),...x0()},"VLayoutItem"),kU=Ar()({name:"VLayoutItem",props:TU(),setup(n,e){let{slots:r}=e;const{layoutItemStyles:C}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:Cr(n,"position"),elementSize:Cr(n,"size"),layoutSize:Cr(n,"size"),active:Cr(n,"modelValue"),absolute:Cr(n,"absolute")});return()=>{var D;return gt("div",{class:["v-layout-item",n.class],style:[C.value,n.style]},[(D=r.default)==null?void 0:D.call(r)])}}}),MU=ur({modelValue:Boolean,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},...Zr(),...sc(),...Si(),...df({transition:"fade-transition"})},"VLazy"),AU=Ar()({name:"VLazy",directives:{intersect:og},props:MU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{dimensionStyles:C}=lc(n),D=xi(n,"modelValue");function T(p){D.value||(D.value=p)}return Or(()=>Co(gt(n.tag,{class:["v-lazy",n.class],style:[C.value,n.style]},{default:()=>[D.value&>(Oc,{transition:n.transition,appear:!0},{default:()=>{var p;return[(p=r.default)==null?void 0:p.call(r)]}})]}),[[Tu("intersect"),{handler:T,options:n.options},null]])),{}}});const SU=ur({locale:String,fallbackLocale:String,messages:Object,rtl:{type:Boolean,default:void 0},...Zr()},"VLocaleProvider"),CU=Ar()({name:"VLocaleProvider",props:SU(),setup(n,e){let{slots:r}=e;const{rtlClasses:C}=FF(n);return Or(()=>{var D;return gt("div",{class:["v-locale-provider",C.value,n.class],style:n.style},[(D=r.default)==null?void 0:D.call(r)])}),{}}});const EU=ur({scrollable:Boolean,...Zr(),...Si({tag:"main"})},"VMain"),LU=Ar()({name:"VMain",props:EU(),setup(n,e){let{slots:r}=e;const{mainStyles:C}=hB(),{ssrBootStyles:D}=tp();return Or(()=>gt(n.tag,{class:["v-main",{"v-main--scrollable":n.scrollable},n.class],style:[C.value,D.value,n.style]},{default:()=>{var T,p;return[n.scrollable?gt("div",{class:"v-main__scroller"},[(T=r.default)==null?void 0:T.call(r)]):(p=r.default)==null?void 0:p.call(r)]}})),{}}});function IU(n){let{rootEl:e,isSticky:r,layoutItemStyles:C}=n;const D=Wr(!1),T=Wr(0),p=cn(()=>{const g=typeof D.value=="boolean"?"top":D.value;return[r.value?{top:"auto",bottom:"auto",height:void 0}:void 0,D.value?{[g]:Qr(T.value)}:{top:C.value.top}]});Ks(()=>{$r(r,g=>{g?window.addEventListener("scroll",d,{passive:!0}):window.removeEventListener("scroll",d)},{immediate:!0})}),Tl(()=>{window.removeEventListener("scroll",d)});let t=0;function d(){const g=t>window.scrollY?"up":"down",i=e.value.getBoundingClientRect(),M=parseFloat(C.value.top??0),v=window.scrollY-Math.max(0,T.value-M),f=i.height+Math.max(T.value,M)-window.scrollY-window.innerHeight,l=parseFloat(getComputedStyle(e.value).getPropertyValue("--v-body-scroll-y"))||0;i.height0;r--){if(n[r].t===n[r-1].t)continue;const C=cT(e),D=(n[r].d-n[r-1].d)/(n[r].t-n[r-1].t);e+=(D-C)*Math.abs(D),r===n.length-1&&(e*=.5)}return cT(e)*1e3}function OU(){const n={};function e(D){Array.from(D.changedTouches).forEach(T=>{(n[T.identifier]??(n[T.identifier]=new qz(PU))).push([D.timeStamp,T])})}function r(D){Array.from(D.changedTouches).forEach(T=>{delete n[T.identifier]})}function C(D){var g;const T=(g=n[D])==null?void 0:g.values().reverse();if(!T)throw new Error(`No samples for touch id ${D}`);const p=T[0],t=[],d=[];for(const i of T){if(p[0]-i[0]>RU)break;t.push({t:i[0],d:i[1].clientX}),d.push({t:i[0],d:i[1].clientY})}return{x:hT(t),y:hT(d),get direction(){const{x:i,y:M}=this,[v,f]=[Math.abs(i),Math.abs(M)];return v>f&&i>=0?"right":v>f&&i<=0?"left":f>v&&M>=0?"down":f>v&&M<=0?"up":DU()}}}return{addMovement:e,endTouch:r,getVelocity:C}}function DU(){throw new Error}function zU(n){let{isActive:e,isTemporary:r,width:C,touchless:D,position:T}=n;Ks(()=>{window.addEventListener("touchstart",o,{passive:!0}),window.addEventListener("touchmove",s,{passive:!1}),window.addEventListener("touchend",c,{passive:!0})}),Tl(()=>{window.removeEventListener("touchstart",o),window.removeEventListener("touchmove",s),window.removeEventListener("touchend",c)});const p=cn(()=>["left","right"].includes(T.value)),{addMovement:t,endTouch:d,getVelocity:g}=OU();let i=!1;const M=Wr(!1),v=Wr(0),f=Wr(0);let l;function a(m,w){return(T.value==="left"?m:T.value==="right"?document.documentElement.clientWidth-m:T.value==="top"?m:T.value==="bottom"?document.documentElement.clientHeight-m:Lp())-(w?C.value:0)}function u(m){let w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const y=T.value==="left"?(m-f.value)/C.value:T.value==="right"?(document.documentElement.clientWidth-m-f.value)/C.value:T.value==="top"?(m-f.value)/C.value:T.value==="bottom"?(document.documentElement.clientHeight-m-f.value)/C.value:Lp();return w?Math.max(0,Math.min(1,y)):y}function o(m){if(D.value)return;const w=m.changedTouches[0].clientX,y=m.changedTouches[0].clientY,S=25,_=T.value==="left"?wdocument.documentElement.clientWidth-S:T.value==="top"?ydocument.documentElement.clientHeight-S:Lp(),k=e.value&&(T.value==="left"?wdocument.documentElement.clientWidth-C.value:T.value==="top"?ydocument.documentElement.clientHeight-C.value:Lp());(_||k||e.value&&r.value)&&(i=!0,l=[w,y],f.value=a(p.value?w:y,e.value),v.value=u(p.value?w:y),d(m),t(m))}function s(m){const w=m.changedTouches[0].clientX,y=m.changedTouches[0].clientY;if(i){if(!m.cancelable){i=!1;return}const _=Math.abs(w-l[0]),k=Math.abs(y-l[1]);(p.value?_>k&&_>3:k>_&&k>3)?(M.value=!0,i=!1):(p.value?k:_)>3&&(i=!1)}if(!M.value)return;m.preventDefault(),t(m);const S=u(p.value?w:y,!1);v.value=Math.max(0,Math.min(1,S)),S>1?f.value=a(p.value?w:y,!0):S<0&&(f.value=a(p.value?w:y,!1))}function c(m){if(i=!1,!M.value)return;t(m),M.value=!1;const w=g(m.changedTouches[0].identifier),y=Math.abs(w.x),S=Math.abs(w.y);(p.value?y>S&&y>400:S>y&&S>3)?e.value=w.direction===({left:"right",right:"left",top:"down",bottom:"up"}[T.value]||Lp()):e.value=v.value>.5}const h=cn(()=>M.value?{transform:T.value==="left"?`translateX(calc(-100% + ${v.value*C.value}px))`:T.value==="right"?`translateX(calc(100% - ${v.value*C.value}px))`:T.value==="top"?`translateY(calc(-100% + ${v.value*C.value}px))`:T.value==="bottom"?`translateY(calc(100% - ${v.value*C.value}px))`:Lp(),transition:"none"}:void 0);return{isDragging:M,dragProgress:v,dragStyles:h}}function Lp(){throw new Error}const FU=["start","end","left","right","top","bottom"],BU=ur({color:String,disableResizeWatcher:Boolean,disableRouteWatcher:Boolean,expandOnHover:Boolean,floating:Boolean,modelValue:{type:Boolean,default:null},permanent:Boolean,rail:{type:Boolean,default:null},railWidth:{type:[Number,String],default:56},scrim:{type:[Boolean,String],default:!0},image:String,temporary:Boolean,touchless:Boolean,width:{type:[Number,String],default:256},location:{type:String,default:"start",validator:n=>FU.includes(n)},sticky:Boolean,...Su(),...Zr(),...fs(),...x0(),...lo(),...Si({tag:"nav"}),...oa()},"VNavigationDrawer"),NU=Ar()({name:"VNavigationDrawer",props:BU(),emits:{"update:modelValue":n=>!0,"update:rail":n=>!0},setup(n,e){let{attrs:r,emit:C,slots:D}=e;const{isRtl:T}=Cs(),{themeClasses:p}=Ma(n),{borderClasses:t}=uc(n),{backgroundColorClasses:d,backgroundColorStyles:g}=Oo(Cr(n,"color")),{elevationClasses:i}=Vs(n),{mobile:M}=ep(),{roundedClasses:v}=Eo(n),f=$6(),l=xi(n,"modelValue",null,z=>!!z),{ssrBootStyles:a}=tp(),{scopeId:u}=E0(),o=Vr(),s=Wr(!1),c=cn(()=>n.rail&&n.expandOnHover&&s.value?Number(n.width):Number(n.rail?n.railWidth:n.width)),h=cn(()=>ux(n.location,T.value)),m=cn(()=>!n.permanent&&(M.value||n.temporary)),w=cn(()=>n.sticky&&!m.value&&h.value!=="bottom");n.expandOnHover&&n.rail!=null&&$r(s,z=>C("update:rail",!z)),n.disableResizeWatcher||$r(m,z=>!n.permanent&&Ua(()=>l.value=!z)),!n.disableRouteWatcher&&f&&$r(f.currentRoute,()=>m.value&&(l.value=!1)),$r(()=>n.permanent,z=>{z&&(l.value=!0)}),Sy(()=>{n.modelValue!=null||m.value||(l.value=n.permanent||!M.value)});const{isDragging:y,dragProgress:S,dragStyles:_}=zU({isActive:l,isTemporary:m,width:c,touchless:Cr(n,"touchless"),position:h}),k=cn(()=>{const z=m.value?0:n.rail&&n.expandOnHover?Number(n.railWidth):c.value;return y.value?z*S.value:z}),{layoutItemStyles:E,layoutItemScrimStyles:x}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:h,layoutSize:k,elementSize:c,active:cn(()=>l.value||y.value),disableTransitions:cn(()=>y.value),absolute:cn(()=>n.absolute||w.value&&typeof A.value!="string")}),{isStuck:A,stickyStyles:L}=IU({rootEl:o,isSticky:w,layoutItemStyles:E}),b=Oo(cn(()=>typeof n.scrim=="string"?n.scrim:null)),R=cn(()=>({...y.value?{opacity:S.value*.2,transition:"none"}:void 0,...x.value}));es({VList:{bgColor:"transparent"}});function I(){s.value=!0}function O(){s.value=!1}return Or(()=>{const z=D.image||n.image;return gt(Yr,null,[gt(n.tag,qr({ref:o,onMouseenter:I,onMouseleave:O,class:["v-navigation-drawer",`v-navigation-drawer--${h.value}`,{"v-navigation-drawer--expand-on-hover":n.expandOnHover,"v-navigation-drawer--floating":n.floating,"v-navigation-drawer--is-hovering":s.value,"v-navigation-drawer--rail":n.rail,"v-navigation-drawer--temporary":m.value,"v-navigation-drawer--active":l.value,"v-navigation-drawer--sticky":w.value},p.value,d.value,t.value,i.value,v.value,n.class],style:[g.value,E.value,_.value,a.value,L.value,n.style]},u,r),{default:()=>{var F,B,N,W;return[z&>("div",{key:"image",class:"v-navigation-drawer__img"},[D.image?(F=D.image)==null?void 0:F.call(D,{image:n.image}):gt("img",{src:n.image,alt:""},null)]),D.prepend&>("div",{class:"v-navigation-drawer__prepend"},[(B=D.prepend)==null?void 0:B.call(D)]),gt("div",{class:"v-navigation-drawer__content"},[(N=D.default)==null?void 0:N.call(D)]),D.append&>("div",{class:"v-navigation-drawer__append"},[(W=D.append)==null?void 0:W.call(D)])]}}),gt(bh,{name:"fade-transition"},{default:()=>[m.value&&(y.value||l.value)&&!!n.scrim&>("div",qr({class:["v-navigation-drawer__scrim",b.backgroundColorClasses.value],style:[R.value,b.backgroundColorStyles.value],onClick:()=>l.value=!1},u),null)]})])}),{isStuck:A}}}),VU=ac({name:"VNoSsr",setup(n,e){let{slots:r}=e;const C=IA();return()=>{var D;return C.value&&((D=r.default)==null?void 0:D.call(r))}}});function jU(){const n=Vr([]);KT(()=>n.value=[]);function e(r,C){n.value[C]=r}return{refs:n,updateRef:e}}const UU=ur({activeColor:String,start:{type:[Number,String],default:1},modelValue:{type:Number,default:n=>n.start},disabled:Boolean,length:{type:[Number,String],default:1,validator:n=>n%1===0},totalVisible:[Number,String],firstIcon:{type:bi,default:"$first"},prevIcon:{type:bi,default:"$prev"},nextIcon:{type:bi,default:"$next"},lastIcon:{type:bi,default:"$last"},ariaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.root"},pageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.page"},currentPageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.currentPage"},firstAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.first"},previousAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.previous"},nextAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.next"},lastAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.last"},ellipsis:{type:String,default:"..."},showFirstLastPage:Boolean,...Su(),...Zr(),...ds(),...fs(),...lo(),...pf(),...Si({tag:"nav"}),...oa(),...cc({variant:"text"})},"VPagination"),HU=Ar()({name:"VPagination",props:UU(),emits:{"update:modelValue":n=>!0,first:n=>!0,prev:n=>!0,next:n=>!0,last:n=>!0},setup(n,e){let{slots:r,emit:C}=e;const D=xi(n,"modelValue"),{t:T,n:p}=oc(),{isRtl:t}=Cs(),{themeClasses:d}=Ma(n),{width:g}=ep(),i=Wr(-1);es(void 0,{scoped:!0});const{resizeRef:M}=Th(S=>{if(!S.length)return;const{target:_,contentRect:k}=S[0],E=_.querySelector(".v-pagination__list > *");if(!E)return;const x=k.width,A=E.offsetWidth+parseFloat(getComputedStyle(E).marginRight)*2;i.value=a(x,A)}),v=cn(()=>parseInt(n.length,10)),f=cn(()=>parseInt(n.start,10)),l=cn(()=>n.totalVisible?parseInt(n.totalVisible,10):i.value>=0?i.value:a(g.value,58));function a(S,_){const k=n.showFirstLastPage?5:3;return Math.max(0,Math.floor(+((S-_*k)/_).toFixed(2)))}const u=cn(()=>{if(v.value<=0||isNaN(v.value)||v.value>Number.MAX_SAFE_INTEGER)return[];if(l.value<=1)return[D.value];if(v.value<=l.value)return Kh(v.value,f.value);const S=l.value%2===0,_=S?l.value/2:Math.floor(l.value/2),k=S?_:_+1,E=v.value-_;if(k-D.value>=0)return[...Kh(Math.max(1,l.value-1),f.value),n.ellipsis,v.value];if(D.value-E>=(S?1:0)){const x=l.value-1,A=v.value-x+f.value;return[f.value,n.ellipsis,...Kh(x,A)]}else{const x=Math.max(1,l.value-3),A=x===1?D.value:D.value-Math.ceil(x/2)+f.value;return[f.value,n.ellipsis,...Kh(x,A),n.ellipsis,v.value]}});function o(S,_,k){S.preventDefault(),D.value=_,k&&C(k,_)}const{refs:s,updateRef:c}=jU();es({VPaginationBtn:{color:Cr(n,"color"),border:Cr(n,"border"),density:Cr(n,"density"),size:Cr(n,"size"),variant:Cr(n,"variant"),rounded:Cr(n,"rounded"),elevation:Cr(n,"elevation")}});const h=cn(()=>u.value.map((S,_)=>{const k=E=>c(E,_);if(typeof S=="string")return{isActive:!1,key:`ellipsis-${_}`,page:S,props:{ref:k,ellipsis:!0,icon:!0,disabled:!0}};{const E=S===D.value;return{isActive:E,key:S,page:p(S),props:{ref:k,ellipsis:!1,icon:!0,disabled:!!n.disabled||+n.length<2,color:E?n.activeColor:n.color,ariaCurrent:E,ariaLabel:T(E?n.currentPageAriaLabel:n.pageAriaLabel,S),onClick:x=>o(x,S)}}}})),m=cn(()=>{const S=!!n.disabled||D.value<=f.value,_=!!n.disabled||D.value>=f.value+v.value-1;return{first:n.showFirstLastPage?{icon:t.value?n.lastIcon:n.firstIcon,onClick:k=>o(k,f.value,"first"),disabled:S,ariaLabel:T(n.firstAriaLabel),ariaDisabled:S}:void 0,prev:{icon:t.value?n.nextIcon:n.prevIcon,onClick:k=>o(k,D.value-1,"prev"),disabled:S,ariaLabel:T(n.previousAriaLabel),ariaDisabled:S},next:{icon:t.value?n.prevIcon:n.nextIcon,onClick:k=>o(k,D.value+1,"next"),disabled:_,ariaLabel:T(n.nextAriaLabel),ariaDisabled:_},last:n.showFirstLastPage?{icon:t.value?n.firstIcon:n.lastIcon,onClick:k=>o(k,f.value+v.value-1,"last"),disabled:_,ariaLabel:T(n.lastAriaLabel),ariaDisabled:_}:void 0}});function w(){var _;const S=D.value-f.value;(_=s.value[S])==null||_.$el.focus()}function y(S){S.key===sx.left&&!n.disabled&&D.value>+n.start?(D.value=D.value-1,Ua(w)):S.key===sx.right&&!n.disabled&&D.valuegt(n.tag,{ref:M,class:["v-pagination",d.value,n.class],style:n.style,role:"navigation","aria-label":T(n.ariaLabel),onKeydown:y,"data-test":"v-pagination-root"},{default:()=>[gt("ul",{class:"v-pagination__list"},[n.showFirstLastPage&>("li",{key:"first",class:"v-pagination__first","data-test":"v-pagination-first"},[r.first?r.first(m.value.first):gt(_l,qr({_as:"VPaginationBtn"},m.value.first),null)]),gt("li",{key:"prev",class:"v-pagination__prev","data-test":"v-pagination-prev"},[r.prev?r.prev(m.value.prev):gt(_l,qr({_as:"VPaginationBtn"},m.value.prev),null)]),h.value.map((S,_)=>gt("li",{key:S.key,class:["v-pagination__item",{"v-pagination__item--is-active":S.isActive}],"data-test":"v-pagination-item"},[r.item?r.item(S):gt(_l,qr({_as:"VPaginationBtn"},S.props),{default:()=>[S.page]})])),gt("li",{key:"next",class:"v-pagination__next","data-test":"v-pagination-next"},[r.next?r.next(m.value.next):gt(_l,qr({_as:"VPaginationBtn"},m.value.next),null)]),n.showFirstLastPage&>("li",{key:"last",class:"v-pagination__last","data-test":"v-pagination-last"},[r.last?r.last(m.value.last):gt(_l,qr({_as:"VPaginationBtn"},m.value.last),null)])])]})),{}}});function GU(n){return Math.floor(Math.abs(n))*Math.sign(n)}const qU=ur({scale:{type:[Number,String],default:.5},...Zr()},"VParallax"),WU=Ar()({name:"VParallax",props:qU(),setup(n,e){let{slots:r}=e;const{intersectionRef:C,isIntersecting:D}=f_(),{resizeRef:T,contentRect:p}=Th(),{height:t}=ep(),d=Vr();wu(()=>{var f;C.value=T.value=(f=d.value)==null?void 0:f.$el});let g;$r(D,f=>{f?(g=t_(C.value),g=g===document.scrollingElement?document:g,g.addEventListener("scroll",v,{passive:!0}),v()):g.removeEventListener("scroll",v)}),Tl(()=>{g==null||g.removeEventListener("scroll",v)}),$r(t,v),$r(()=>{var f;return(f=p.value)==null?void 0:f.height},v);const i=cn(()=>1-Zs(+n.scale));let M=-1;function v(){D.value&&(cancelAnimationFrame(M),M=requestAnimationFrame(()=>{var m;const f=((m=d.value)==null?void 0:m.$el).querySelector(".v-img__img");if(!f)return;const l=g instanceof Document?document.documentElement.clientHeight:g.clientHeight,a=g instanceof Document?window.scrollY:g.scrollTop,u=C.value.getBoundingClientRect().top+a,o=p.value.height,s=u+(o-l)/2,c=GU((a-s)*i.value),h=Math.max(1,(i.value*(l-o)+o)/o);f.style.setProperty("transform",`translateY(${c}px) scale(${h})`)}))}return Or(()=>gt(Zd,{class:["v-parallax",{"v-parallax--active":D.value},n.class],style:n.style,ref:d,cover:!0,onLoadstart:v,onLoad:v},r)),{}}}),YU=ur({...n1({falseIcon:"$radioOff",trueIcon:"$radioOn"})},"VRadio"),$U=Ar()({name:"VRadio",props:YU(),setup(n,e){let{slots:r}=e;return Or(()=>gt(Xd,qr(n,{class:["v-radio",n.class],style:n.style,type:"radio"}),r)),{}}});const ZU=ur({height:{type:[Number,String],default:"auto"},...mf(),...ic(y_(),["multiple"]),trueIcon:{type:bi,default:"$radioOn"},falseIcon:{type:bi,default:"$radioOff"},type:{type:String,default:"radio"}},"VRadioGroup"),XU=Ar()({name:"VRadioGroup",inheritAttrs:!1,props:ZU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{attrs:r,slots:C}=e;const D=Js(),T=cn(()=>n.id||`radio-group-${D}`),p=xi(n,"modelValue");return Or(()=>{const[t,d]=Qd(r),[g,i]=Bs.filterProps(n),[M,v]=Xd.filterProps(n),f=C.label?C.label({label:n.label,props:{for:T.value}}):n.label;return gt(Bs,qr({class:["v-radio-group",n.class],style:n.style},t,g,{modelValue:p.value,"onUpdate:modelValue":l=>p.value=l,id:T.value}),{...C,default:l=>{let{id:a,messagesId:u,isDisabled:o,isReadonly:s}=l;return gt(Yr,null,[f&>(C0,{id:a.value},{default:()=>[f]}),gt(aA,qr(M,{id:a.value,"aria-describedby":u.value,defaultsTarget:"VRadio",trueIcon:n.trueIcon,falseIcon:n.falseIcon,type:n.type,disabled:o.value,readonly:s.value,"aria-labelledby":f?a.value:void 0,multiple:!1},d,{modelValue:p.value,"onUpdate:modelValue":c=>p.value=c}),C)])}})}),{}}}),KU=ur({...r1(),...mf(),...KA(),strict:Boolean,modelValue:{type:Array,default:()=>[0,0]}},"VRangeSlider"),JU=Ar()({name:"VRangeSlider",props:KU(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,end:n=>!0,start:n=>!0},setup(n,e){let{slots:r,emit:C}=e;const D=Vr(),T=Vr(),p=Vr(),{rtlClasses:t}=Cs();function d(_){if(!D.value||!T.value)return;const k=Ix(_,D.value.$el,n.direction),E=Ix(_,T.value.$el,n.direction),x=Math.abs(k),A=Math.abs(E);return x_!=null&&_.length?_.map(k=>g.roundValue(k)):[0,0]),{activeThumbRef:M,hasLabels:v,max:f,min:l,mousePressed:a,onSliderMousedown:u,onSliderTouchstart:o,position:s,trackContainerRef:c}=QA({props:n,steps:g,onSliderStart:()=>{C("start",i.value)},onSliderEnd:_=>{var x;let{value:k}=_;const E=M.value===((x=D.value)==null?void 0:x.$el)?[k,i.value[1]]:[i.value[0],k];!n.strict&&E[0]{var A,L,b,R;let{value:k}=_;const[E,x]=i.value;!n.strict&&E===x&&E!==l.value&&(M.value=k>E?(A=T.value)==null?void 0:A.$el:(L=D.value)==null?void 0:L.$el,(b=M.value)==null||b.focus()),M.value===((R=D.value)==null?void 0:R.$el)?i.value=[Math.min(k,x),x]:i.value=[E,Math.max(E,k)]},getActiveThumb:d}),{isFocused:h,focus:m,blur:w}=rd(n),y=cn(()=>s(i.value[0])),S=cn(()=>s(i.value[1]));return Or(()=>{const[_,k]=Bs.filterProps(n),E=!!(n.label||r.label||r.prepend);return gt(Bs,qr({class:["v-slider","v-range-slider",{"v-slider--has-labels":!!r["tick-label"]||v.value,"v-slider--focused":h.value,"v-slider--pressed":a.value,"v-slider--disabled":n.disabled},t.value,n.class],style:n.style,ref:p},_,{focused:h.value}),{...r,prepend:E?x=>{var A,L;return gt(Yr,null,[((A=r.label)==null?void 0:A.call(r,x))??n.label?gt(C0,{class:"v-slider__label",text:n.label},null):void 0,(L=r.prepend)==null?void 0:L.call(r,x)])}:void 0,default:x=>{var b,R;let{id:A,messagesId:L}=x;return gt("div",{class:"v-slider__container",onMousedown:u,onTouchstartPassive:o},[gt("input",{id:`${A.value}_start`,name:n.name||A.value,disabled:!!n.disabled,readonly:!!n.readonly,tabindex:"-1",value:i.value[0]},null),gt("input",{id:`${A.value}_stop`,name:n.name||A.value,disabled:!!n.disabled,readonly:!!n.readonly,tabindex:"-1",value:i.value[1]},null),gt(eS,{ref:c,start:y.value,stop:S.value},{"tick-label":r["tick-label"]}),gt(Rx,{ref:D,"aria-describedby":L.value,focused:h&&M.value===((b=D.value)==null?void 0:b.$el),modelValue:i.value[0],"onUpdate:modelValue":I=>i.value=[I,i.value[1]],onFocus:I=>{var O,z,F,B;m(),M.value=(O=D.value)==null?void 0:O.$el,i.value[0]===i.value[1]&&i.value[1]===l.value&&I.relatedTarget!==((z=T.value)==null?void 0:z.$el)&&((F=D.value)==null||F.$el.blur(),(B=T.value)==null||B.$el.focus())},onBlur:()=>{w(),M.value=void 0},min:l.value,max:i.value[1],position:y.value},{"thumb-label":r["thumb-label"]}),gt(Rx,{ref:T,"aria-describedby":L.value,focused:h&&M.value===((R=T.value)==null?void 0:R.$el),modelValue:i.value[1],"onUpdate:modelValue":I=>i.value=[i.value[0],I],onFocus:I=>{var O,z,F,B;m(),M.value=(O=T.value)==null?void 0:O.$el,i.value[0]===i.value[1]&&i.value[0]===f.value&&I.relatedTarget!==((z=D.value)==null?void 0:z.$el)&&((F=T.value)==null||F.$el.blur(),(B=D.value)==null||B.$el.focus())},onBlur:()=>{w(),M.value=void 0},min:i.value[0],max:f.value,position:S.value},{"thumb-label":r["thumb-label"]})])}})}),{}}});const QU=ur({name:String,itemAriaLabel:{type:String,default:"$vuetify.rating.ariaLabel.item"},activeColor:String,color:String,clearable:Boolean,disabled:Boolean,emptyIcon:{type:bi,default:"$ratingEmpty"},fullIcon:{type:bi,default:"$ratingFull"},halfIncrements:Boolean,hover:Boolean,length:{type:[Number,String],default:5},readonly:Boolean,modelValue:{type:[Number,String],default:0},itemLabels:Array,itemLabelPosition:{type:String,default:"top",validator:n=>["top","bottom"].includes(n)},ripple:Boolean,...Zr(),...ds(),...pf(),...Si(),...oa()},"VRating"),eH=Ar()({name:"VRating",props:QU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{t:C}=oc(),{themeClasses:D}=Ma(n),T=xi(n,"modelValue"),p=cn(()=>Zs(parseFloat(T.value),0,+n.length)),t=cn(()=>Kh(Number(n.length),1)),d=cn(()=>t.value.flatMap(a=>n.halfIncrements?[a-.5,a]:[a])),g=Wr(-1),i=cn(()=>d.value.map(a=>{const u=n.hover&&g.value>-1,o=p.value>=a,s=g.value>=a,h=(u?s:o)?n.fullIcon:n.emptyIcon,m=n.activeColor??n.color,w=o||s?m:n.color;return{isFilled:o,isHovered:s,icon:h,color:w}})),M=cn(()=>[0,...d.value].map(a=>{function u(){g.value=a}function o(){g.value=-1}function s(){n.disabled||n.readonly||(T.value=p.value===a&&n.clearable?0:a)}return{onMouseenter:n.hover?u:void 0,onMouseleave:n.hover?o:void 0,onClick:s}})),v=cn(()=>n.name??`v-rating-${Js()}`);function f(a){var S,_;let{value:u,index:o,showStar:s=!0}=a;const{onMouseenter:c,onMouseleave:h,onClick:m}=M.value[o+1],w=`${v.value}-${String(u).replace(".","-")}`,y={color:(S=i.value[o])==null?void 0:S.color,density:n.density,disabled:n.disabled,icon:(_=i.value[o])==null?void 0:_.icon,ripple:n.ripple,size:n.size,variant:"plain"};return gt(Yr,null,[gt("label",{for:w,class:{"v-rating__item--half":n.halfIncrements&&u%1>0,"v-rating__item--full":n.halfIncrements&&u%1===0},onMouseenter:c,onMouseleave:h,onClick:m},[gt("span",{class:"v-rating__hidden"},[C(n.itemAriaLabel,u,n.length)]),s?r.item?r.item({...i.value[o],props:y,value:u,index:o,rating:p.value}):gt(_l,qr({"aria-label":C(n.itemAriaLabel,u,n.length)},y),null):void 0]),gt("input",{class:"v-rating__hidden",name:v.value,id:w,type:"radio",value:u,checked:p.value===u,tabindex:-1,readonly:n.readonly,disabled:n.disabled},null)])}function l(a){return r["item-label"]?r["item-label"](a):a.label?gt("span",null,[a.label]):gt("span",null,[ia(" ")])}return Or(()=>{var u;const a=!!((u=n.itemLabels)!=null&&u.length)||r["item-label"];return gt(n.tag,{class:["v-rating",{"v-rating--hover":n.hover,"v-rating--readonly":n.readonly},D.value,n.class],style:n.style},{default:()=>[gt(f,{value:0,index:-1,showStar:!1},null),t.value.map((o,s)=>{var c,h;return gt("div",{class:"v-rating__wrapper"},[a&&n.itemLabelPosition==="top"?l({value:o,index:s,label:(c=n.itemLabels)==null?void 0:c[s]}):void 0,gt("div",{class:"v-rating__item"},[n.halfIncrements?gt(Yr,null,[gt(f,{value:o-.5,index:s*2},null),gt(f,{value:o,index:s*2+1},null)]):gt(f,{value:o,index:s},null)]),a&&n.itemLabelPosition==="bottom"?l({value:o,index:s,label:(h=n.itemLabels)==null?void 0:h[s]}):void 0])})]})}),{}}});function fT(n){const r=Math.abs(n);return Math.sign(n)*(r/((1/.501-2)*(1-r)+1))}function dT(n){let{selectedElement:e,containerSize:r,contentSize:C,isRtl:D,currentScrollOffset:T,isHorizontal:p}=n;const t=p?e.clientWidth:e.clientHeight,d=p?e.offsetLeft:e.offsetTop,g=D&&p?C-d-t:d,i=r+T,M=t+g,v=t*.4;return g<=T?T=Math.max(g-v,0):i<=M&&(T=Math.min(T-(i-M-v),C-r)),T}function tH(n){let{selectedElement:e,containerSize:r,contentSize:C,isRtl:D,isHorizontal:T}=n;const p=T?e.clientWidth:e.clientHeight,t=T?e.offsetLeft:e.offsetTop,d=D&&T?C-t-p/2-r/2:t+p/2-r/2;return Math.min(C-r,Math.max(0,d))}const gS=Symbol.for("vuetify:v-slide-group"),vS=ur({centerActive:Boolean,direction:{type:String,default:"horizontal"},symbol:{type:null,default:gS},nextIcon:{type:bi,default:"$next"},prevIcon:{type:bi,default:"$prev"},showArrows:{type:[Boolean,String],validator:n=>typeof n=="boolean"||["always","desktop","mobile"].includes(n)},...Zr(),...Si(),...w0({selectedClass:"v-slide-group-item--active"})},"VSlideGroup"),Dx=Ar()({name:"VSlideGroup",props:vS(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{isRtl:C}=Cs(),{mobile:D}=ep(),T=ip(n,n.symbol),p=Wr(!1),t=Wr(0),d=Wr(0),g=Wr(0),i=cn(()=>n.direction==="horizontal"),{resizeRef:M,contentRect:v}=Th(),{resizeRef:f,contentRect:l}=Th(),a=cn(()=>T.selected.value.length?T.items.value.findIndex(F=>F.id===T.selected.value[0]):-1),u=cn(()=>T.selected.value.length?T.items.value.findIndex(F=>F.id===T.selected.value[T.selected.value.length-1]):-1);if(to){let F=-1;$r(()=>[T.selected.value,v.value,l.value,i.value],()=>{cancelAnimationFrame(F),F=requestAnimationFrame(()=>{if(v.value&&l.value){const B=i.value?"width":"height";d.value=v.value[B],g.value=l.value[B],p.value=d.value+1=0&&f.value){const B=f.value.children[u.value];a.value===0||!p.value?t.value=0:n.centerActive?t.value=tH({selectedElement:B,containerSize:d.value,contentSize:g.value,isRtl:C.value,isHorizontal:i.value}):p.value&&(t.value=dT({selectedElement:B,containerSize:d.value,contentSize:g.value,isRtl:C.value,currentScrollOffset:t.value,isHorizontal:i.value}))}})})}const o=Wr(!1);let s=0,c=0;function h(F){const B=i.value?"clientX":"clientY";c=(C.value&&i.value?-1:1)*t.value,s=F.touches[0][B],o.value=!0}function m(F){if(!p.value)return;const B=i.value?"clientX":"clientY",N=C.value&&i.value?-1:1;t.value=N*(c+s-F.touches[0][B])}function w(F){const B=g.value-d.value;t.value<0||!p.value?t.value=0:t.value>=B&&(t.value=B),o.value=!1}function y(){M.value&&(M.value[i.value?"scrollLeft":"scrollTop"]=0)}const S=Wr(!1);function _(F){if(S.value=!0,!(!p.value||!f.value)){for(const B of F.composedPath())for(const N of f.value.children)if(N===B){t.value=dT({selectedElement:N,containerSize:d.value,contentSize:g.value,isRtl:C.value,currentScrollOffset:t.value,isHorizontal:i.value});return}}}function k(F){S.value=!1}function E(F){var B;!S.value&&!(F.relatedTarget&&((B=f.value)!=null&&B.contains(F.relatedTarget)))&&A()}function x(F){f.value&&(i.value?F.key==="ArrowRight"?A(C.value?"prev":"next"):F.key==="ArrowLeft"&&A(C.value?"next":"prev"):F.key==="ArrowDown"?A("next"):F.key==="ArrowUp"&&A("prev"),F.key==="Home"?A("first"):F.key==="End"&&A("last"))}function A(F){var B,N,W,j,$;if(f.value)if(!F)(B=Dm(f.value)[0])==null||B.focus();else if(F==="next"){const U=(N=f.value.querySelector(":focus"))==null?void 0:N.nextElementSibling;U?U.focus():A("first")}else if(F==="prev"){const U=(W=f.value.querySelector(":focus"))==null?void 0:W.previousElementSibling;U?U.focus():A("last")}else F==="first"?(j=f.value.firstElementChild)==null||j.focus():F==="last"&&(($=f.value.lastElementChild)==null||$.focus())}function L(F){const B=t.value+(F==="prev"?-1:1)*d.value;t.value=Zs(B,0,g.value-d.value)}const b=cn(()=>{let F=t.value>g.value-d.value?-(g.value-d.value)+fT(g.value-d.value-t.value):-t.value;t.value<=0&&(F=fT(-t.value));const B=C.value&&i.value?-1:1;return{transform:`translate${i.value?"X":"Y"}(${B*F}px)`,transition:o.value?"none":"",willChange:o.value?"transform":""}}),R=cn(()=>({next:T.next,prev:T.prev,select:T.select,isSelected:T.isSelected})),I=cn(()=>{switch(n.showArrows){case"always":return!0;case"desktop":return!D.value;case!0:return p.value||Math.abs(t.value)>0;case"mobile":return D.value||p.value||Math.abs(t.value)>0;default:return!D.value&&(p.value||Math.abs(t.value)>0)}}),O=cn(()=>Math.abs(t.value)>0),z=cn(()=>g.value>Math.abs(t.value)+d.value);return Or(()=>gt(n.tag,{class:["v-slide-group",{"v-slide-group--vertical":!i.value,"v-slide-group--has-affixes":I.value,"v-slide-group--is-overflowing":p.value},n.class],style:n.style,tabindex:S.value||T.selected.value.length?-1:0,onFocus:E},{default:()=>{var F,B,N;return[I.value&>("div",{key:"prev",class:["v-slide-group__prev",{"v-slide-group__prev--disabled":!O.value}],onClick:()=>L("prev")},[((F=r.prev)==null?void 0:F.call(r,R.value))??gt(gx,null,{default:()=>[gt(ja,{icon:C.value?n.nextIcon:n.prevIcon},null)]})]),gt("div",{key:"container",ref:M,class:"v-slide-group__container",onScroll:y},[gt("div",{ref:f,class:"v-slide-group__content",style:b.value,onTouchstartPassive:h,onTouchmovePassive:m,onTouchendPassive:w,onFocusin:_,onFocusout:k,onKeydown:x},[(B=r.default)==null?void 0:B.call(r,R.value)])]),I.value&>("div",{key:"next",class:["v-slide-group__next",{"v-slide-group__next--disabled":!z.value}],onClick:()=>L("next")},[((N=r.next)==null?void 0:N.call(r,R.value))??gt(gx,null,{default:()=>[gt(ja,{icon:C.value?n.prevIcon:n.nextIcon},null)]})])]}})),{selected:T.selected,scrollTo:L,scrollOffset:t,focus:A}}}),nH=Ar()({name:"VSlideGroupItem",props:T0(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const C=k0(n,gS);return()=>{var D;return(D=r.default)==null?void 0:D.call(r,{isSelected:C.isSelected.value,select:C.select,toggle:C.toggle,selectedClass:C.selectedClass.value})}}});const rH=ur({multiLine:Boolean,timeout:{type:[Number,String],default:5e3},vertical:Boolean,...ed({location:"bottom"}),...A0(),...lo(),...cc(),...oa(),...ic(cg({transition:"v-snackbar-transition"}),["persistent","noClickAnimation","scrim","scrollStrategy"])},"VSnackbar"),iH=Ar()({name:"VSnackbar",props:rH(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const C=xi(n,"modelValue"),{locationStyles:D}=td(n),{positionClasses:T}=S0(n),{scopeId:p}=E0(),{themeClasses:t}=Ma(n),{colorClasses:d,colorStyles:g,variantClasses:i}=rp(n),{roundedClasses:M}=Eo(n),v=Vr();$r(C,l),$r(()=>n.timeout,l),Ks(()=>{C.value&&l()});let f=-1;function l(){window.clearTimeout(f);const u=Number(n.timeout);!C.value||u===-1||(f=window.setTimeout(()=>{C.value=!1},u))}function a(){window.clearTimeout(f)}return Or(()=>{const[u]=of.filterProps(n);return gt(of,qr({ref:v,class:["v-snackbar",{"v-snackbar--active":C.value,"v-snackbar--multi-line":n.multiLine&&!n.vertical,"v-snackbar--vertical":n.vertical},T.value,n.class],style:n.style},u,{modelValue:C.value,"onUpdate:modelValue":o=>C.value=o,contentProps:qr({class:["v-snackbar__wrapper",t.value,d.value,M.value,i.value],style:[D.value,g.value],onPointerenter:a,onPointerleave:l},u.contentProps),persistent:!0,noClickAnimation:!0,scrim:!1,scrollStrategy:"none",_disableGlobalStack:!0},p),{default:()=>[np(!1,"v-snackbar"),r.default&>("div",{class:"v-snackbar__content",role:"status","aria-live":"polite"},[r.default()]),r.actions&>(Fa,{defaults:{VBtn:{variant:"text",ripple:!1}}},{default:()=>[gt("div",{class:"v-snackbar__actions"},[r.actions()])]})],activator:r.activator})}),Vc({},v)}});const aH=ur({indeterminate:Boolean,inset:Boolean,flat:Boolean,loading:{type:[Boolean,String],default:!1},...mf(),...n1()},"VSwitch"),oH=Ar()({name:"VSwitch",inheritAttrs:!1,props:aH(),emits:{"update:focused":n=>!0,"update:modelValue":()=>!0,"update:indeterminate":n=>!0},setup(n,e){let{attrs:r,slots:C}=e;const D=xi(n,"indeterminate"),T=xi(n,"modelValue"),{loaderClasses:p}=t1(n),{isFocused:t,focus:d,blur:g}=rd(n),i=Vr(),M=cn(()=>typeof n.loading=="string"&&n.loading!==""?n.loading:n.color),v=Js(),f=cn(()=>n.id||`switch-${v}`);function l(){D.value&&(D.value=!1)}function a(u){var o,s;u.stopPropagation(),u.preventDefault(),(s=(o=i.value)==null?void 0:o.input)==null||s.click()}return Or(()=>{const[u,o]=Qd(r),[s,c]=Bs.filterProps(n),[h,m]=Xd.filterProps(n);return gt(Bs,qr({class:["v-switch",{"v-switch--inset":n.inset},{"v-switch--indeterminate":D.value},p.value,n.class],style:n.style},u,s,{id:f.value,focused:t.value}),{...C,default:w=>{let{id:y,messagesId:S,isDisabled:_,isReadonly:k,isValid:E}=w;return gt(Xd,qr({ref:i},h,{modelValue:T.value,"onUpdate:modelValue":[x=>T.value=x,l],id:y.value,"aria-describedby":S.value,type:"checkbox","aria-checked":D.value?"mixed":void 0,disabled:_.value,readonly:k.value,onFocus:d,onBlur:g},o),{...C,default:x=>{let{backgroundColorClasses:A,backgroundColorStyles:L}=x;return gt("div",{class:["v-switch__track",...A.value],style:L.value,onClick:a},null)},input:x=>{let{inputNode:A,icon:L,backgroundColorClasses:b,backgroundColorStyles:R}=x;return gt(Yr,null,[A,gt("div",{class:["v-switch__thumb",{"v-switch__thumb--filled":L||n.loading},n.inset?void 0:b.value],style:n.inset?void 0:R.value},[gt(s_,null,{default:()=>[n.loading?gt(g_,{name:"v-switch",active:!0,color:E.value===!1?void 0:M.value},{default:I=>C.loader?C.loader(I):gt(d_,{active:I.isActive,color:I.color,indeterminate:!0,size:"16",width:"2"},null)}):L&>(ja,{key:L,icon:L,size:"x-small"},null)]})])])}})}})}),{}}});const sH=ur({color:String,height:[Number,String],window:Boolean,...Zr(),...fs(),...x0(),...lo(),...Si(),...oa()},"VSystemBar"),lH=Ar()({name:"VSystemBar",props:sH(),setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{backgroundColorClasses:D,backgroundColorStyles:T}=Oo(Cr(n,"color")),{elevationClasses:p}=Vs(n),{roundedClasses:t}=Eo(n),{ssrBootStyles:d}=tp(),g=cn(()=>n.height??(n.window?32:24)),{layoutItemStyles:i}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:Wr("top"),layoutSize:g,elementSize:g,active:cn(()=>!0),absolute:Cr(n,"absolute")});return Or(()=>gt(n.tag,{class:["v-system-bar",{"v-system-bar--window":n.window},C.value,D.value,p.value,t.value,n.class],style:[T.value,i.value,d.value,n.style]},r)),{}}});const yS=Symbol.for("vuetify:v-tabs"),uH=ur({fixed:Boolean,sliderColor:String,hideSlider:Boolean,direction:{type:String,default:"horizontal"},...ic(v_({selectedClass:"v-tab--selected",variant:"text"}),["active","block","flat","location","position","symbol"])},"VTab"),bS=Ar()({name:"VTab",props:uH(),setup(n,e){let{slots:r,attrs:C}=e;const{textColorClasses:D,textColorStyles:T}=Xs(n,"sliderColor"),p=cn(()=>n.direction==="horizontal"),t=Wr(!1),d=Vr(),g=Vr();function i(M){var f,l;let{value:v}=M;if(t.value=v,v){const a=(l=(f=d.value)==null?void 0:f.$el.parentElement)==null?void 0:l.querySelector(".v-tab--selected .v-tab__slider"),u=g.value;if(!a||!u)return;const o=getComputedStyle(a).color,s=a.getBoundingClientRect(),c=u.getBoundingClientRect(),h=p.value?"x":"y",m=p.value?"X":"Y",w=p.value?"right":"bottom",y=p.value?"width":"height",S=s[h],_=c[h],k=S>_?s[w]-c[w]:s[h]-c[h],E=Math.sign(k)>0?p.value?"right":"bottom":Math.sign(k)<0?p.value?"left":"top":"center",A=(Math.abs(k)+(Math.sign(k)<0?s[y]:c[y]))/Math.max(s[y],c[y])||0,L=s[y]/c[y]||0,b=1.5;Dd(u,{backgroundColor:[o,"currentcolor"],transform:[`translate${m}(${k}px) scale${m}(${L})`,`translate${m}(${k/b}px) scale${m}(${(A-1)/b+1})`,"none"],transformOrigin:Array(3).fill(E)},{duration:225,easing:zm})}}return Or(()=>{const[M]=_l.filterProps(n);return gt(_l,qr({symbol:yS,ref:d,class:["v-tab",n.class],style:n.style,tabindex:t.value?0:-1,role:"tab","aria-selected":String(t.value),active:!1},M,C,{block:n.fixed,maxWidth:n.fixed?300:void 0,"onGroup:selected":i}),{default:()=>{var v;return[((v=r.default)==null?void 0:v.call(r))??n.text,!n.hideSlider&>("div",{ref:g,class:["v-tab__slider",D.value],style:T.value},null)]}})}),{}}});function cH(n){return n?n.map(e=>typeof e=="string"?{title:e,value:e}:e):[]}const hH=ur({alignTabs:{type:String,default:"start"},color:String,fixedTabs:Boolean,items:{type:Array,default:()=>[]},stacked:Boolean,bgColor:String,grow:Boolean,height:{type:[Number,String],default:void 0},hideSlider:Boolean,sliderColor:String,...vS({mandatory:"force"}),...ds(),...Si()},"VTabs"),fH=Ar()({name:"VTabs",props:hH(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const C=xi(n,"modelValue"),D=cn(()=>cH(n.items)),{densityClasses:T}=Qs(n),{backgroundColorClasses:p,backgroundColorStyles:t}=Oo(Cr(n,"bgColor"));return es({VTab:{color:Cr(n,"color"),direction:Cr(n,"direction"),stacked:Cr(n,"stacked"),fixed:Cr(n,"fixedTabs"),sliderColor:Cr(n,"sliderColor"),hideSlider:Cr(n,"hideSlider")}}),Or(()=>{const[d]=Dx.filterProps(n);return gt(Dx,qr(d,{modelValue:C.value,"onUpdate:modelValue":g=>C.value=g,class:["v-tabs",`v-tabs--${n.direction}`,`v-tabs--align-tabs-${n.alignTabs}`,{"v-tabs--fixed-tabs":n.fixedTabs,"v-tabs--grow":n.grow,"v-tabs--stacked":n.stacked},T.value,p.value,n.class],style:[{"--v-tabs-height":Qr(n.height)},t.value,n.style],role:"tablist",symbol:yS}),{default:()=>[r.default?r.default():D.value.map(g=>gt(bS,qr(g,{key:g.title}),null))]})}),{}}});const dH=ur({fixedHeader:Boolean,fixedFooter:Boolean,height:[Number,String],hover:Boolean,...Zr(),...ds(),...Si(),...oa()},"VTable"),pH=Ar()({name:"VTable",props:dH(),setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{densityClasses:D}=Qs(n);return Or(()=>gt(n.tag,{class:["v-table",{"v-table--fixed-height":!!n.height,"v-table--fixed-header":n.fixedHeader,"v-table--fixed-footer":n.fixedFooter,"v-table--has-top":!!r.top,"v-table--has-bottom":!!r.bottom,"v-table--hover":n.hover},C.value,D.value,n.class],style:n.style},{default:()=>{var T,p,t;return[(T=r.top)==null?void 0:T.call(r),r.default?gt("div",{class:"v-table__wrapper",style:{height:Qr(n.height)}},[gt("table",null,[r.default()])]):(p=r.wrapper)==null?void 0:p.call(r),(t=r.bottom)==null?void 0:t.call(r)]}})),{}}});const mH=ur({autoGrow:Boolean,autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,noResize:Boolean,rows:{type:[Number,String],default:5,validator:n=>!isNaN(parseFloat(n))},maxRows:{type:[Number,String],validator:n=>!isNaN(parseFloat(n))},suffix:String,modelModifiers:Object,...mf(),...u1()},"VTextarea"),gH=Ar()({name:"VTextarea",directives:{Intersect:og},inheritAttrs:!1,props:mH(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:C,slots:D}=e;const T=xi(n,"modelValue"),{isFocused:p,focus:t,blur:d}=rd(n),g=cn(()=>typeof n.counterValue=="function"?n.counterValue(T.value):(T.value||"").toString().length),i=cn(()=>{if(r.maxlength)return r.maxlength;if(!(!n.counter||typeof n.counter!="number"&&typeof n.counter!="string"))return n.counter});function M(E,x){var A,L;!n.autofocus||!E||(L=(A=x[0].target)==null?void 0:A.focus)==null||L.call(A)}const v=Vr(),f=Vr(),l=Wr(""),a=Vr(),u=cn(()=>n.persistentPlaceholder||p.value||n.active);function o(){var E;a.value!==document.activeElement&&((E=a.value)==null||E.focus()),p.value||t()}function s(E){o(),C("click:control",E)}function c(E){C("mousedown:control",E)}function h(E){E.stopPropagation(),o(),Ua(()=>{T.value="",K2(n["onClick:clear"],E)})}function m(E){var A;const x=E.target;if(T.value=x.value,(A=n.modelModifiers)!=null&&A.trim){const L=[x.selectionStart,x.selectionEnd];Ua(()=>{x.selectionStart=L[0],x.selectionEnd=L[1]})}}const w=Vr(),y=Vr(+n.rows),S=cn(()=>["plain","underlined"].includes(n.variant));wu(()=>{n.autoGrow||(y.value=+n.rows)});function _(){n.autoGrow&&Ua(()=>{if(!w.value||!f.value)return;const E=getComputedStyle(w.value),x=getComputedStyle(f.value.$el),A=parseFloat(E.getPropertyValue("--v-field-padding-top"))+parseFloat(E.getPropertyValue("--v-input-padding-top"))+parseFloat(E.getPropertyValue("--v-field-padding-bottom")),L=w.value.scrollHeight,b=parseFloat(E.lineHeight),R=Math.max(parseFloat(n.rows)*b+A,parseFloat(x.getPropertyValue("--v-input-control-height"))),I=parseFloat(n.maxRows)*b+A||1/0,O=Zs(L??0,R,I);y.value=Math.floor((O-A)/b),l.value=Qr(O)})}Ks(_),$r(T,_),$r(()=>n.rows,_),$r(()=>n.maxRows,_),$r(()=>n.density,_);let k;return $r(w,E=>{E?(k=new ResizeObserver(_),k.observe(w.value)):k==null||k.disconnect()}),Tl(()=>{k==null||k.disconnect()}),Or(()=>{const E=!!(D.counter||n.counter||n.counterValue),x=!!(E||D.details),[A,L]=Qd(r),[{modelValue:b,...R}]=Bs.filterProps(n),[I]=w_(n);return gt(Bs,qr({ref:v,modelValue:T.value,"onUpdate:modelValue":O=>T.value=O,class:["v-textarea v-text-field",{"v-textarea--prefixed":n.prefix,"v-textarea--suffixed":n.suffix,"v-text-field--prefixed":n.prefix,"v-text-field--suffixed":n.suffix,"v-textarea--auto-grow":n.autoGrow,"v-textarea--no-resize":n.noResize||n.autoGrow,"v-text-field--plain-underlined":S.value},n.class],style:n.style},A,R,{centerAffix:y.value===1&&!S.value,focused:p.value}),{...D,default:O=>{let{isDisabled:z,isDirty:F,isReadonly:B,isValid:N}=O;return gt(hg,qr({ref:f,style:{"--v-textarea-control-height":l.value},onClick:s,onMousedown:c,"onClick:clear":h,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"]},I,{active:u.value||F.value,centerAffix:y.value===1&&!S.value,dirty:F.value||n.dirty,disabled:z.value,focused:p.value,error:N.value===!1}),{...D,default:W=>{let{props:{class:j,...$}}=W;return gt(Yr,null,[n.prefix&>("span",{class:"v-text-field__prefix"},[n.prefix]),Co(gt("textarea",qr({ref:a,class:j,value:T.value,onInput:m,autofocus:n.autofocus,readonly:B.value,disabled:z.value,placeholder:n.placeholder,rows:n.rows,name:n.name,onFocus:o,onBlur:d},$,L),null),[[Tu("intersect"),{handler:M},null,{once:!0}]]),n.autoGrow&&Co(gt("textarea",{class:[j,"v-textarea__sizer"],id:`${$.id}-sizer`,"onUpdate:modelValue":U=>T.value=U,ref:w,readonly:!0,"aria-hidden":"true"},null),[[S7,T.value]]),n.suffix&>("span",{class:"v-text-field__suffix"},[n.suffix])])}})},details:x?O=>{var z;return gt(Yr,null,[(z=D.details)==null?void 0:z.call(D,O),E&>(Yr,null,[gt("span",null,null),gt(l1,{active:n.persistentCounter||p.value,value:g.value,max:i.value},D.counter)])])}:void 0})}),Vc({},v,f,a)}});const vH=ur({withBackground:Boolean,...Zr(),...oa(),...Si()},"VThemeProvider"),yH=Ar()({name:"VThemeProvider",props:vH(),setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n);return()=>{var D;return n.withBackground?gt(n.tag,{class:["v-theme-provider",C.value,n.class],style:n.style},{default:()=>{var T;return[(T=r.default)==null?void 0:T.call(r)]}}):(D=r.default)==null?void 0:D.call(r)}}});const bH=ur({align:{type:String,default:"center",validator:n=>["center","start"].includes(n)},direction:{type:String,default:"vertical",validator:n=>["vertical","horizontal"].includes(n)},justify:{type:String,default:"auto",validator:n=>["auto","center"].includes(n)},side:{type:String,validator:n=>n==null||["start","end"].includes(n)},lineInset:{type:[String,Number],default:0},lineThickness:{type:[String,Number],default:2},lineColor:String,truncateLine:{type:String,validator:n=>["start","end","both"].includes(n)},...Zr(),...ds(),...Si(),...oa()},"VTimeline"),xH=Ar()({name:"VTimeline",props:bH(),setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{densityClasses:D}=Qs(n),{rtlClasses:T}=Cs();es({VTimelineDivider:{lineColor:Cr(n,"lineColor")},VTimelineItem:{density:Cr(n,"density"),lineInset:Cr(n,"lineInset")}});const p=cn(()=>{const d=n.side?n.side:n.density!=="default"?"end":null;return d&&`v-timeline--side-${d}`}),t=cn(()=>{const d=["v-timeline--truncate-line-start","v-timeline--truncate-line-end"];switch(n.truncateLine){case"both":return d;case"start":return d[0];case"end":return d[1];default:return null}});return Or(()=>gt(n.tag,{class:["v-timeline",`v-timeline--${n.direction}`,`v-timeline--align-${n.align}`,`v-timeline--justify-${n.justify}`,t.value,{"v-timeline--inset-line":!!n.lineInset},C.value,D.value,p.value,T.value,n.class],style:[{"--v-timeline-line-thickness":Qr(n.lineThickness)},n.style]},r)),{}}}),_H=ur({dotColor:String,fillDot:Boolean,hideDot:Boolean,icon:bi,iconColor:String,lineColor:String,...Zr(),...lo(),...pf(),...fs()},"VTimelineDivider"),wH=Ar()({name:"VTimelineDivider",props:_H(),setup(n,e){let{slots:r}=e;const{sizeClasses:C,sizeStyles:D}=M0(n,"v-timeline-divider__dot"),{backgroundColorStyles:T,backgroundColorClasses:p}=Oo(Cr(n,"dotColor")),{roundedClasses:t}=Eo(n,"v-timeline-divider__dot"),{elevationClasses:d}=Vs(n),{backgroundColorClasses:g,backgroundColorStyles:i}=Oo(Cr(n,"lineColor"));return Or(()=>gt("div",{class:["v-timeline-divider",{"v-timeline-divider--fill-dot":n.fillDot},n.class],style:n.style},[gt("div",{class:["v-timeline-divider__before",g.value],style:i.value},null),!n.hideDot&>("div",{key:"dot",class:["v-timeline-divider__dot",d.value,t.value,C.value],style:D.value},[gt("div",{class:["v-timeline-divider__inner-dot",p.value,t.value],style:T.value},[r.default?gt(Fa,{key:"icon-defaults",disabled:!n.icon,defaults:{VIcon:{color:n.iconColor,icon:n.icon,size:n.size}}},r.default):gt(ja,{key:"icon",color:n.iconColor,icon:n.icon,size:n.size},null)])]),gt("div",{class:["v-timeline-divider__after",g.value],style:i.value},null)])),{}}}),TH=ur({density:String,dotColor:String,fillDot:Boolean,hideDot:Boolean,hideOpposite:{type:Boolean,default:void 0},icon:bi,iconColor:String,lineInset:[Number,String],...Zr(),...sc(),...fs(),...lo(),...pf(),...Si()},"VTimelineItem"),kH=Ar()({name:"VTimelineItem",props:TH(),setup(n,e){let{slots:r}=e;const{dimensionStyles:C}=lc(n),D=Wr(0),T=Vr();return $r(T,p=>{var t;p&&(D.value=((t=p.$el.querySelector(".v-timeline-divider__dot"))==null?void 0:t.getBoundingClientRect().width)??0)},{flush:"post"}),Or(()=>{var p,t;return gt("div",{class:["v-timeline-item",{"v-timeline-item--fill-dot":n.fillDot},n.class],style:[{"--v-timeline-dot-size":Qr(D.value),"--v-timeline-line-inset":n.lineInset?`calc(var(--v-timeline-dot-size) / 2 + ${Qr(n.lineInset)})`:Qr(0)},n.style]},[gt("div",{class:"v-timeline-item__body",style:C.value},[(p=r.default)==null?void 0:p.call(r)]),gt(wH,{ref:T,hideDot:n.hideDot,icon:n.icon,iconColor:n.iconColor,size:n.size,elevation:n.elevation,dotColor:n.dotColor,fillDot:n.fillDot,rounded:n.rounded},{default:r.icon}),n.density!=="compact"&>("div",{class:"v-timeline-item__opposite"},[!n.hideOpposite&&((t=r.opposite)==null?void 0:t.call(r))])])}),{}}}),MH=ur({...Zr(),...cc({variant:"text"})},"VToolbarItems"),AH=Ar()({name:"VToolbarItems",props:MH(),setup(n,e){let{slots:r}=e;return es({VBtn:{color:Cr(n,"color"),height:"inherit",variant:Cr(n,"variant")}}),Or(()=>{var C;return gt("div",{class:["v-toolbar-items",n.class],style:n.style},[(C=r.default)==null?void 0:C.call(r)])}),{}}});const SH=ur({id:String,text:String,...ic(cg({closeOnBack:!1,location:"end",locationStrategy:"connected",eager:!0,minWidth:0,offset:10,openOnClick:!1,openOnHover:!0,origin:"auto",scrim:!1,scrollStrategy:"reposition",transition:!1}),["absolute","persistent"])},"VTooltip"),CH=Ar()({name:"VTooltip",props:SH(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const C=xi(n,"modelValue"),{scopeId:D}=E0(),T=Js(),p=cn(()=>n.id||`v-tooltip-${T}`),t=Vr(),d=cn(()=>n.location.split(" ").length>1?n.location:n.location+" center"),g=cn(()=>n.origin==="auto"||n.origin==="overlap"||n.origin.split(" ").length>1||n.location.split(" ").length>1?n.origin:n.origin+" center"),i=cn(()=>n.transition?n.transition:C.value?"scale-transition":"fade-transition"),M=cn(()=>qr({"aria-describedby":p.value},n.activatorProps));return Or(()=>{const[v]=of.filterProps(n);return gt(of,qr({ref:t,class:["v-tooltip",n.class],style:n.style,id:p.value},v,{modelValue:C.value,"onUpdate:modelValue":f=>C.value=f,transition:i.value,absolute:!0,location:d.value,origin:g.value,persistent:!0,role:"tooltip",activatorProps:M.value,_disableGlobalStack:!0},D),{activator:r.activator,default:function(){var u;for(var f=arguments.length,l=new Array(f),a=0;a!0},setup(n,e){let{slots:r}=e;const C=hA(n,"validation");return()=>{var D;return(D=r.default)==null?void 0:D.call(r,C)}}}),LH=Object.freeze(Object.defineProperty({__proto__:null,VAlert:aN,VAlertTitle:rA,VApp:mB,VAppBar:DB,VAppBarNavIcon:tN,VAppBarTitle:nN,VAutocomplete:TV,VAvatar:Zf,VBadge:MV,VBanner:CV,VBannerActions:FA,VBannerText:BA,VBottomNavigation:LV,VBreadcrumbs:OV,VBreadcrumbsDivider:NA,VBreadcrumbsItem:VA,VBtn:_l,VBtnGroup:bx,VBtnToggle:jB,VCard:FV,VCardActions:jA,VCardItem:GA,VCardSubtitle:UA,VCardText:qA,VCardTitle:HA,VCarousel:WV,VCarouselItem:$V,VCheckbox:dN,VCheckboxBtn:h0,VChip:ug,VChipGroup:gN,VClassIcon:a_,VCode:ZV,VCol:oU,VColorPicker:Fj,VCombobox:Vj,VComponentIcon:dx,VContainer:nU,VCounter:l1,VDefaultsProvider:Fa,VDialog:Uj,VDialogBottomTransition:bB,VDialogTopTransition:xB,VDialogTransition:Qy,VDivider:wA,VExpandTransition:e1,VExpandXTransition:u_,VExpansionPanel:$j,VExpansionPanelText:nS,VExpansionPanelTitle:iS,VExpansionPanels:qj,VFabTransition:yB,VFadeTransition:gx,VField:hg,VFieldLabel:um,VFileInput:Xj,VFooter:Jj,VForm:eU,VHover:gU,VIcon:ja,VImg:Zd,VInput:Bs,VItem:bU,VItemGroup:yU,VKbd:xU,VLabel:C0,VLayout:wU,VLayoutItem:kU,VLazy:AU,VLigatureIcon:CF,VList:a1,VListGroup:Tx,VListImg:zN,VListItem:af,VListItemAction:BN,VListItemMedia:VN,VListItemSubtitle:bA,VListItemTitle:xA,VListSubheader:_A,VLocaleProvider:CU,VMain:LU,VMenu:s1,VMessages:lA,VNavigationDrawer:NU,VNoSsr:VU,VOverlay:of,VPagination:HU,VParallax:WU,VProgressCircular:d_,VProgressLinear:p_,VRadio:$U,VRadioGroup:XU,VRangeSlider:JU,VRating:eH,VResponsive:vx,VRow:dU,VScaleTransition:s_,VScrollXReverseTransition:wB,VScrollXTransition:_B,VScrollYReverseTransition:kB,VScrollYTransition:TB,VSelect:yV,VSelectionControl:Xd,VSelectionControlGroup:aA,VSheet:Ox,VSlideGroup:Dx,VSlideGroupItem:nH,VSlideXReverseTransition:AB,VSlideXTransition:MB,VSlideYReverseTransition:SB,VSlideYTransition:l_,VSlider:Px,VSnackbar:iH,VSpacer:pU,VSvgIcon:i_,VSwitch:oH,VSystemBar:lH,VTab:bS,VTable:pH,VTabs:fH,VTextField:Kd,VTextarea:gH,VThemeProvider:yH,VTimeline:xH,VTimelineItem:kH,VToolbar:yx,VToolbarItems:AH,VToolbarTitle:o_,VTooltip:CH,VValidation:EH,VVirtualScroll:h1,VWindow:Sx,VWindowItem:Cx},Symbol.toStringTag,{value:"Module"}));function IH(n,e){const r=e.modifiers||{},C=e.value,{once:D,immediate:T,...p}=r,t=!Object.keys(p).length,{handler:d,options:g}=typeof C=="object"?C:{handler:C,options:{attributes:(p==null?void 0:p.attr)??t,characterData:(p==null?void 0:p.char)??t,childList:(p==null?void 0:p.child)??t,subtree:(p==null?void 0:p.sub)??t}},i=new MutationObserver(function(){let M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],v=arguments.length>1?arguments[1]:void 0;d==null||d(M,v),D&&xS(n,e)});T&&(d==null||d([],i)),n._mutate=Object(n._mutate),n._mutate[e.instance.$.uid]={observer:i},i.observe(n,g)}function xS(n,e){var r;(r=n._mutate)!=null&&r[e.instance.$.uid]&&(n._mutate[e.instance.$.uid].observer.disconnect(),delete n._mutate[e.instance.$.uid])}const RH={mounted:IH,unmounted:xS};function PH(n,e){var D,T;const r=e.value,C={passive:!((D=e.modifiers)!=null&&D.active)};window.addEventListener("resize",r,C),n._onResize=Object(n._onResize),n._onResize[e.instance.$.uid]={handler:r,options:C},(T=e.modifiers)!=null&&T.quiet||r()}function OH(n,e){var D;if(!((D=n._onResize)!=null&&D[e.instance.$.uid]))return;const{handler:r,options:C}=n._onResize[e.instance.$.uid];window.removeEventListener("resize",r,C),delete n._onResize[e.instance.$.uid]}const DH={mounted:PH,unmounted:OH};function _S(n,e){const{self:r=!1}=e.modifiers??{},C=e.value,D=typeof C=="object"&&C.options||{passive:!0},T=typeof C=="function"||"handleEvent"in C?C:C.handler,p=r?n:e.arg?document.querySelector(e.arg):window;p&&(p.addEventListener("scroll",T,D),n._onScroll=Object(n._onScroll),n._onScroll[e.instance.$.uid]={handler:T,options:D,target:r?void 0:p})}function wS(n,e){var T;if(!((T=n._onScroll)!=null&&T[e.instance.$.uid]))return;const{handler:r,options:C,target:D=n}=n._onScroll[e.instance.$.uid];D.removeEventListener("scroll",r,C),delete n._onScroll[e.instance.$.uid]}function zH(n,e){e.value!==e.oldValue&&(wS(n,e),_S(n,e))}const FH={mounted:_S,unmounted:wS,updated:zH},BH=Object.freeze(Object.defineProperty({__proto__:null,ClickOutside:OA,Intersect:og,Mutate:RH,Resize:DH,Ripple:nd,Scroll:FH,Touch:M_},Symbol.toStringTag,{value:"Module"})),E_=R7(Fz);E_.use(D7());E_.use(B6({components:LH,directives:BH}));E_.mount("#app"); +`)}function q5(n){const e=n.dark?2:1,r=n.dark?1:2,S=[];for(const[D,T]of Object.entries(n.colors)){const p=Pc(T);S.push(`--v-theme-${D}: ${p.r},${p.g},${p.b}`),D.startsWith("on-")||S.push(`--v-theme-${D}-overlay-multiplier: ${cx(T)>.18?e:r}`)}for(const[D,T]of Object.entries(n.variables)){const p=typeof T=="string"&&T.startsWith("#")?Pc(T):void 0,t=p?`${p.r}, ${p.g}, ${p.b}`:void 0;S.push(`--v-${D}: ${t??T}`)}return S}const px={"001":1,AD:1,AE:6,AF:6,AG:0,AI:1,AL:1,AM:1,AN:1,AR:1,AS:0,AT:1,AU:1,AX:1,AZ:1,BA:1,BD:0,BE:1,BG:1,BH:6,BM:1,BN:1,BR:0,BS:0,BT:0,BW:0,BY:1,BZ:0,CA:0,CH:1,CL:1,CM:1,CN:1,CO:0,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DM:0,DO:0,DZ:6,EC:1,EE:1,EG:6,ES:1,ET:0,FI:1,FJ:1,FO:1,FR:1,GB:1,"GB-alt-variant":0,GE:1,GF:1,GP:1,GR:1,GT:0,GU:0,HK:0,HN:0,HR:1,HU:1,ID:0,IE:1,IL:0,IN:0,IQ:6,IR:6,IS:1,IT:1,JM:0,JO:6,JP:0,KE:0,KG:1,KH:0,KR:0,KW:6,KZ:1,LA:0,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MH:0,MK:1,MM:0,MN:1,MO:0,MQ:1,MT:0,MV:5,MX:0,MY:1,MZ:0,NI:0,NL:1,NO:1,NP:0,NZ:1,OM:6,PA:0,PE:0,PH:0,PK:0,PL:1,PR:0,PT:0,PY:0,QA:6,RE:1,RO:1,RS:1,RU:1,SA:0,SD:6,SE:1,SG:0,SI:1,SK:1,SM:1,SV:0,SY:6,TH:0,TJ:1,TM:1,TR:1,TT:0,TW:0,UA:1,UM:0,US:0,UY:1,UZ:1,VA:1,VE:0,VI:0,VN:1,WS:0,XK:1,YE:0,ZA:0,ZW:0};function GF(n,e){const r=[];let S=[];const D=P6(n),T=O6(n),p=D.getDay()-px[e.slice(-2).toUpperCase()],t=T.getDay()-px[e.slice(-2).toUpperCase()];for(let d=0;d{const S=new Date(W5);return S.setDate(W5.getDate()+e+r),new Intl.DateTimeFormat(n,{weekday:"narrow"}).format(S)})}function ZF(n,e,r){const S=new Date(n);let D={};switch(e){case"fullDateWithWeekday":D={weekday:"long",day:"numeric",month:"long",year:"numeric"};break;case"normalDateWithWeekday":D={weekday:"short",day:"numeric",month:"short"};break;case"keyboardDate":D={};break;case"monthAndDate":D={month:"long",day:"numeric"};break;case"monthAndYear":D={month:"long",year:"numeric"};break;case"dayOfMonth":D={day:"numeric"};break;default:D={timeZone:"UTC",timeZoneName:"short"}}return new Intl.DateTimeFormat(r,D).format(S)}function XF(n,e){const r=new Date(n);return r.setDate(r.getDate()+e),r}function KF(n,e){const r=new Date(n);return r.setMonth(r.getMonth()+e),r}function JF(n){return n.getFullYear()}function QF(n){return n.getMonth()}function eB(n){return new Date(n.getFullYear(),0,1)}function tB(n){return new Date(n.getFullYear(),11,31)}function nB(n,e){return mx(n,e[0])&&iB(n,e[1])}function rB(n){if(!n||n==null)return!1;const e=new Date(n);return e instanceof Date&&!isNaN(e.getTime())}function mx(n,e){return n.getTime()>e.getTime()}function iB(n,e){return n.getTime()1&&arguments[1]!==void 0?arguments[1]:"content";const r=Vr(),S=Vr();if(to){const D=new ResizeObserver(T=>{n==null||n(T,D),T.length&&(e==="content"?S.value=T[0].contentRect:S.value=T[0].target.getBoundingClientRect())});kl(()=>{D.disconnect()}),$r(r,(T,p)=>{p&&(D.unobserve(ox(p)),S.value=void 0),T&&D.observe(ox(T))},{flush:"post"})}return{resizeRef:r,contentRect:Hm(S)}}const fy=Symbol.for("vuetify:layout"),D6=Symbol.for("vuetify:layout-item"),Z5=1e3,z6=ur({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},"layout"),x0=ur({name:{type:String},order:{type:[Number,String],default:0},absolute:Boolean},"layout-item");function dB(){const n=ka(fy);if(!n)throw new Error("[Vuetify] Could not find injected layout");return{getLayoutItem:n.getLayoutItem,mainRect:n.mainRect,mainStyles:n.mainStyles}}function _0(n){const e=ka(fy);if(!e)throw new Error("[Vuetify] Could not find injected layout");const r=n.id??`layout-item-${Js()}`,S=Ss("useLayoutItem");ts(D6,{id:r});const D=Wr(!1);ZT(()=>D.value=!0),$T(()=>D.value=!1);const{layoutItemStyles:T,layoutItemScrimStyles:p}=e.register(S,{...n,active:cn(()=>D.value?!1:n.active.value),id:r});return kl(()=>e.unregister(r)),{layoutItemStyles:T,layoutRect:e.layoutRect,layoutItemScrimStyles:p}}const pB=(n,e,r,S)=>{let D={top:0,left:0,right:0,bottom:0};const T=[{id:"",layer:{...D}}];for(const p of n){const t=e.get(p),d=r.get(p),g=S.get(p);if(!t||!d||!g)continue;const i={...D,[t.value]:parseInt(D[t.value],10)+(g.value?parseInt(d.value,10):0)};T.push({id:p,layer:i}),D=i}return T};function F6(n){const e=ka(fy,null),r=cn(()=>e?e.rootZIndex.value-100:Z5),S=Vr([]),D=yl(new Map),T=yl(new Map),p=yl(new Map),t=yl(new Map),d=yl(new Map),{resizeRef:g,contentRect:i}=Th(),M=cn(()=>{const w=new Map,y=n.overlaps??[];for(const C of y.filter(_=>_.includes(":"))){const[_,k]=C.split(":");if(!S.value.includes(_)||!S.value.includes(k))continue;const E=D.get(_),x=D.get(k),A=T.get(_),L=T.get(k);!E||!x||!A||!L||(w.set(k,{position:E.value,amount:parseInt(A.value,10)}),w.set(_,{position:x.value,amount:-parseInt(L.value,10)}))}return w}),v=cn(()=>{const w=[...new Set([...p.values()].map(C=>C.value))].sort((C,_)=>C-_),y=[];for(const C of w){const _=S.value.filter(k=>{var E;return((E=p.get(k))==null?void 0:E.value)===C});y.push(..._)}return pB(y,D,T,t)}),f=cn(()=>!Array.from(d.values()).some(w=>w.value)),l=cn(()=>v.value[v.value.length-1].layer),a=cn(()=>({"--v-layout-left":Qr(l.value.left),"--v-layout-right":Qr(l.value.right),"--v-layout-top":Qr(l.value.top),"--v-layout-bottom":Qr(l.value.bottom),...f.value?void 0:{transition:"none"}})),u=cn(()=>v.value.slice(1).map((w,y)=>{let{id:C}=w;const{layer:_}=v.value[y],k=T.get(C),E=D.get(C);return{id:C,..._,size:Number(k.value),position:E.value}})),o=w=>u.value.find(y=>y.id===w),s=Ss("createLayout"),h=Wr(!1);Ks(()=>{h.value=!0}),ts(fy,{register:(w,y)=>{let{id:C,order:_,position:k,layoutSize:E,elementSize:x,active:A,disableTransitions:L,absolute:b}=y;p.set(C,_),D.set(C,k),T.set(C,E),t.set(C,A),L&&d.set(C,L);const I=ym(D6,s==null?void 0:s.vnode).indexOf(w);I>-1?S.value.splice(I,0,C):S.value.push(C);const O=cn(()=>u.value.findIndex(N=>N.id===C)),z=cn(()=>r.value+v.value.length*2-O.value*2),F=cn(()=>{const N=k.value==="left"||k.value==="right",W=k.value==="right",j=k.value==="bottom",$={[k.value]:0,zIndex:z.value,transform:`translate${N?"X":"Y"}(${(A.value?0:-110)*(W||j?-1:1)}%)`,position:b.value||r.value!==Z5?"absolute":"fixed",...f.value?void 0:{transition:"none"}};if(!h.value)return $;const U=u.value[O.value];if(!U)throw new Error(`[Vuetify] Could not find layout item "${C}"`);const G=M.value.get(C);return G&&(U[G.position]+=G.amount),{...$,height:N?`calc(100% - ${U.top}px - ${U.bottom}px)`:x.value?`${x.value}px`:void 0,left:W?void 0:`${U.left}px`,right:W?`${U.right}px`:void 0,top:k.value!=="bottom"?`${U.top}px`:void 0,bottom:k.value!=="top"?`${U.bottom}px`:void 0,width:N?x.value?`${x.value}px`:void 0:`calc(100% - ${U.left}px - ${U.right}px)`}}),B=cn(()=>({zIndex:z.value-1}));return{layoutItemStyles:F,layoutItemScrimStyles:B,zIndex:z}},unregister:w=>{p.delete(w),D.delete(w),T.delete(w),t.delete(w),d.delete(w),S.value=S.value.filter(y=>y!==w)},mainRect:l,mainStyles:a,getLayoutItem:o,items:u,layoutRect:i,rootZIndex:r});const c=cn(()=>["v-layout",{"v-layout--full-height":n.fullHeight}]),m=cn(()=>({zIndex:r.value,position:e?"relative":void 0,overflow:e?"hidden":void 0}));return{layoutClasses:c,layoutStyles:m,getLayoutItem:o,items:u,layoutRect:i,layoutRef:g}}function B6(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{blueprint:e,...r}=n,S=Ku(e,r),{aliases:D={},components:T={},directives:p={}}=S,t=TF(S.defaults),d=SF(S.display,S.ssr),g=HF(S.theme),i=RF(S.icons),M=BF(S.locale),v=fB(S.date);return{install:l=>{for(const a in p)l.directive(a,p[a]);for(const a in T)l.component(a,T[a]);for(const a in D)l.component(a,ac({...D[a],name:a,aliasName:D[a].name}));if(g.install(l),l.provide(u0,t),l.provide(hx,d),l.provide(Fm,g),l.provide(fx,i),l.provide(c0,M),l.provide($5,v),to&&S.ssr)if(l.$nuxt)l.$nuxt.hook("app:suspense:resolve",()=>{d.update()});else{const{mount:a}=l;l.mount=function(){const u=a(...arguments);return Ua(()=>d.update()),l.mount=a,u}}Js.reset(),l.mixin({computed:{$vuetify(){return yl({defaults:Ep.call(this,u0),display:Ep.call(this,hx),theme:Ep.call(this,Fm),icons:Ep.call(this,fx),locale:Ep.call(this,c0),date:Ep.call(this,$5)})}}})},defaults:t,display:d,theme:g,icons:i,locale:M,date:v}}const mB="3.3.16";B6.version=mB;function Ep(n){var S,D;const e=this.$,r=((S=e.parent)==null?void 0:S.provides)??((D=e.vnode.appContext)==null?void 0:D.provides);if(r&&n in r)return r[n]}const gB=ur({...Zr(),...z6({fullHeight:!0}),...oa()},"VApp"),vB=Ar()({name:"VApp",props:gB(),setup(n,e){let{slots:r}=e;const S=Ma(n),{layoutClasses:D,layoutStyles:T,getLayoutItem:p,items:t,layoutRef:d}=F6(n),{rtlClasses:g}=Cs();return Or(()=>{var i;return gt("div",{ref:d,class:["v-application",S.themeClasses.value,D.value,g.value,n.class],style:[T.value,n.style]},[gt("div",{class:"v-application__wrap"},[(i=r.default)==null?void 0:i.call(r)])])}),{getLayoutItem:p,items:t,theme:S}}});const Si=ur({tag:{type:String,default:"div"}},"tag"),N6=ur({text:String,...Zr(),...Si()},"VToolbarTitle"),o_=Ar()({name:"VToolbarTitle",props:N6(),setup(n,e){let{slots:r}=e;return Or(()=>{const S=!!(r.default||r.text||n.text);return gt(n.tag,{class:["v-toolbar-title",n.class],style:n.style},{default:()=>{var D;return[S&>("div",{class:"v-toolbar-title__placeholder"},[r.text?r.text():n.text,(D=r.default)==null?void 0:D.call(r)])]}})}),{}}}),yB=ur({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function Au(n,e,r){return Ar()({name:n,props:yB({mode:r,origin:e}),setup(S,D){let{slots:T}=D;const p={onBeforeEnter(t){S.origin&&(t.style.transformOrigin=S.origin)},onLeave(t){if(S.leaveAbsolute){const{offsetTop:d,offsetLeft:g,offsetWidth:i,offsetHeight:M}=t;t._transitionInitialStyles={position:t.style.position,top:t.style.top,left:t.style.left,width:t.style.width,height:t.style.height},t.style.position="absolute",t.style.top=`${d}px`,t.style.left=`${g}px`,t.style.width=`${i}px`,t.style.height=`${M}px`}S.hideOnLeave&&t.style.setProperty("display","none","important")},onAfterLeave(t){if(S.leaveAbsolute&&(t!=null&&t._transitionInitialStyles)){const{position:d,top:g,left:i,width:M,height:v}=t._transitionInitialStyles;delete t._transitionInitialStyles,t.style.position=d||"",t.style.top=g||"",t.style.left=i||"",t.style.width=M||"",t.style.height=v||""}}};return()=>{const t=S.group?_7:bh;return Xf(t,{name:S.disabled?"":n,css:!S.disabled,...S.group?void 0:{mode:S.mode},...S.disabled?{}:p},T.default)}}})}function V6(n,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return Ar()({name:n,props:{mode:{type:String,default:r},disabled:Boolean},setup(S,D){let{slots:T}=D;return()=>Xf(bh,{name:S.disabled?"":n,css:!S.disabled,...S.disabled?{}:e},T.default)}})}function j6(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const r=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)?"width":"height",S=tc(`offset-${r}`);return{onBeforeEnter(p){p._parent=p.parentNode,p._initialStyle={transition:p.style.transition,overflow:p.style.overflow,[r]:p.style[r]}},onEnter(p){const t=p._initialStyle;p.style.setProperty("transition","none","important"),p.style.overflow="hidden";const d=`${p[S]}px`;p.style[r]="0",p.offsetHeight,p.style.transition=t.transition,n&&p._parent&&p._parent.classList.add(n),requestAnimationFrame(()=>{p.style[r]=d})},onAfterEnter:T,onEnterCancelled:T,onLeave(p){p._initialStyle={transition:"",overflow:p.style.overflow,[r]:p.style[r]},p.style.overflow="hidden",p.style[r]=`${p[S]}px`,p.offsetHeight,requestAnimationFrame(()=>p.style[r]="0")},onAfterLeave:D,onLeaveCancelled:D};function D(p){n&&p._parent&&p._parent.classList.remove(n),T(p)}function T(p){const t=p._initialStyle[r];p.style.overflow=p._initialStyle.overflow,t!=null&&(p.style[r]=t),delete p._initialStyle}}const bB=ur({target:Object},"v-dialog-transition"),Qy=Ar()({name:"VDialogTransition",props:bB(),setup(n,e){let{slots:r}=e;const S={onBeforeEnter(D){D.style.pointerEvents="none",D.style.visibility="hidden"},async onEnter(D,T){var v;await new Promise(f=>requestAnimationFrame(f)),await new Promise(f=>requestAnimationFrame(f)),D.style.visibility="";const{x:p,y:t,sx:d,sy:g,speed:i}=K5(n.target,D),M=Dd(D,[{transform:`translate(${p}px, ${t}px) scale(${d}, ${g})`,opacity:0},{}],{duration:225*i,easing:yF});(v=X5(D))==null||v.forEach(f=>{Dd(f,[{opacity:0},{opacity:0,offset:.33},{}],{duration:225*2*i,easing:zm})}),M.finished.then(()=>T())},onAfterEnter(D){D.style.removeProperty("pointer-events")},onBeforeLeave(D){D.style.pointerEvents="none"},async onLeave(D,T){var v;await new Promise(f=>requestAnimationFrame(f));const{x:p,y:t,sx:d,sy:g,speed:i}=K5(n.target,D);Dd(D,[{},{transform:`translate(${p}px, ${t}px) scale(${d}, ${g})`,opacity:0}],{duration:125*i,easing:bF}).finished.then(()=>T()),(v=X5(D))==null||v.forEach(f=>{Dd(f,[{},{opacity:0,offset:.2},{opacity:0}],{duration:125*2*i,easing:zm})})},onAfterLeave(D){D.style.removeProperty("pointer-events")}};return()=>n.target?gt(bh,qr({name:"dialog-transition"},S,{css:!1}),r):gt(bh,{name:"dialog-transition"},r)}});function X5(n){var r;const e=(r=n.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list"))==null?void 0:r.children;return e&&[...e]}function K5(n,e){const r=n.getBoundingClientRect(),S=J2(e),[D,T]=getComputedStyle(e).transformOrigin.split(" ").map(o=>parseFloat(o)),[p,t]=getComputedStyle(e).getPropertyValue("--v-overlay-anchor-origin").split(" ");let d=r.left+r.width/2;p==="left"||t==="left"?d-=r.width/2:(p==="right"||t==="right")&&(d+=r.width/2);let g=r.top+r.height/2;p==="top"||t==="top"?g-=r.height/2:(p==="bottom"||t==="bottom")&&(g+=r.height/2);const i=r.width/S.width,M=r.height/S.height,v=Math.max(1,i,M),f=i/v||0,l=M/v||0,a=S.width*S.height/(window.innerWidth*window.innerHeight),u=a>.12?Math.min(1.5,(a-.12)*10+1):1;return{x:d-(D+S.left),y:g-(T+S.top),sx:f,sy:l,speed:u}}const xB=Au("fab-transition","center center","out-in"),_B=Au("dialog-bottom-transition"),wB=Au("dialog-top-transition"),gx=Au("fade-transition"),s_=Au("scale-transition"),TB=Au("scroll-x-transition"),kB=Au("scroll-x-reverse-transition"),MB=Au("scroll-y-transition"),AB=Au("scroll-y-reverse-transition"),SB=Au("slide-x-transition"),CB=Au("slide-x-reverse-transition"),l_=Au("slide-y-transition"),EB=Au("slide-y-reverse-transition"),e1=V6("expand-transition",j6()),u_=V6("expand-x-transition",j6("",!0)),LB=ur({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),Fa=Ar(!1)({name:"VDefaultsProvider",props:LB(),setup(n,e){let{slots:r}=e;const{defaults:S,disabled:D,reset:T,root:p,scoped:t}=by(n);return es(S,{reset:T,root:p,scoped:t,disabled:D}),()=>{var d;return(d=r.default)==null?void 0:d.call(r)}}});const sc=ur({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function lc(n){return{dimensionStyles:cn(()=>({height:Qr(n.height),maxHeight:Qr(n.maxHeight),maxWidth:Qr(n.maxWidth),minHeight:Qr(n.minHeight),minWidth:Qr(n.minWidth),width:Qr(n.width)}))}}function IB(n){return{aspectStyles:cn(()=>{const e=Number(n.aspectRatio);return e?{paddingBottom:String(1/e*100)+"%"}:void 0})}}const U6=ur({aspectRatio:[String,Number],contentClass:String,inline:Boolean,...Zr(),...sc()},"VResponsive"),vx=Ar()({name:"VResponsive",props:U6(),setup(n,e){let{slots:r}=e;const{aspectStyles:S}=IB(n),{dimensionStyles:D}=lc(n);return Or(()=>{var T;return gt("div",{class:["v-responsive",{"v-responsive--inline":n.inline},n.class],style:[D.value,n.style]},[gt("div",{class:"v-responsive__sizer",style:S.value},null),(T=r.additional)==null?void 0:T.call(r),r.default&>("div",{class:["v-responsive__content",n.contentClass]},[r.default()])])}),{}}}),df=ur({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:n=>n!==!0}},"transition"),Oc=(n,e)=>{let{slots:r}=e;const{transition:S,disabled:D,...T}=n,{component:p=bh,...t}=typeof S=="object"?S:{};return Xf(p,qr(typeof S=="string"?{name:D?"":S}:t,T,{disabled:D}),r)};function RB(n,e){if(!$2)return;const r=e.modifiers||{},S=e.value,{handler:D,options:T}=typeof S=="object"?S:{handler:S,options:{}},p=new IntersectionObserver(function(){var M;let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],d=arguments.length>1?arguments[1]:void 0;const g=(M=n._observe)==null?void 0:M[e.instance.$.uid];if(!g)return;const i=t.some(v=>v.isIntersecting);D&&(!r.quiet||g.init)&&(!r.once||i||g.init)&&D(i,t,d),i&&r.once?H6(n,e):g.init=!0},T);n._observe=Object(n._observe),n._observe[e.instance.$.uid]={init:!1,observer:p},p.observe(n)}function H6(n,e){var S;const r=(S=n._observe)==null?void 0:S[e.instance.$.uid];r&&(r.observer.unobserve(n),delete n._observe[e.instance.$.uid])}const og={mounted:RB,unmounted:H6},G6=ur({alt:String,cover:Boolean,eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},sizes:String,src:{type:[String,Object],default:""},srcset:String,...U6(),...Zr(),...df()},"VImg"),Zd=Ar()({name:"VImg",directives:{intersect:og},props:G6(),emits:{loadstart:n=>!0,load:n=>!0,error:n=>!0},setup(n,e){let{emit:r,slots:S}=e;const D=Wr(""),T=Vr(),p=Wr(n.eager?"loading":"idle"),t=Wr(),d=Wr(),g=cn(()=>n.src&&typeof n.src=="object"?{src:n.src.src,srcset:n.srcset||n.src.srcset,lazySrc:n.lazySrc||n.src.lazySrc,aspect:Number(n.aspectRatio||n.src.aspect||0)}:{src:n.src,srcset:n.srcset,lazySrc:n.lazySrc,aspect:Number(n.aspectRatio||0)}),i=cn(()=>g.value.aspect||t.value/d.value||0);$r(()=>n.src,()=>{M(p.value!=="idle")}),$r(i,(C,_)=>{!C&&_&&T.value&&u(T.value)}),Sy(()=>M());function M(C){if(!(n.eager&&C)&&!($2&&!C&&!n.eager)){if(p.value="loading",g.value.lazySrc){const _=new Image;_.src=g.value.lazySrc,u(_,null)}g.value.src&&Ua(()=>{var _,k;if(r("loadstart",((_=T.value)==null?void 0:_.currentSrc)||g.value.src),(k=T.value)!=null&&k.complete){if(T.value.naturalWidth||f(),p.value==="error")return;i.value||u(T.value,null),v()}else i.value||u(T.value),l()})}}function v(){var C;l(),p.value="loaded",r("load",((C=T.value)==null?void 0:C.currentSrc)||g.value.src)}function f(){var C;p.value="error",r("error",((C=T.value)==null?void 0:C.currentSrc)||g.value.src)}function l(){const C=T.value;C&&(D.value=C.currentSrc||C.src)}let a=-1;function u(C){let _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const k=()=>{clearTimeout(a);const{naturalHeight:E,naturalWidth:x}=C;E||x?(t.value=x,d.value=E):!C.complete&&p.value==="loading"&&_!=null?a=window.setTimeout(k,_):(C.currentSrc.endsWith(".svg")||C.currentSrc.startsWith("data:image/svg+xml"))&&(t.value=1,d.value=1)};k()}const o=cn(()=>({"v-img__img--cover":n.cover,"v-img__img--contain":!n.cover})),s=()=>{var k;if(!g.value.src||p.value==="idle")return null;const C=gt("img",{class:["v-img__img",o.value],src:g.value.src,srcset:g.value.srcset,alt:n.alt,sizes:n.sizes,ref:T,onLoad:v,onError:f},null),_=(k=S.sources)==null?void 0:k.call(S);return gt(Oc,{transition:n.transition,appear:!0},{default:()=>[Co(_?gt("picture",{class:"v-img__picture"},[_,C]):C,[[kh,p.value==="loaded"]])]})},h=()=>gt(Oc,{transition:n.transition},{default:()=>[g.value.lazySrc&&p.value!=="loaded"&>("img",{class:["v-img__img","v-img__img--preload",o.value],src:g.value.lazySrc,alt:n.alt},null)]}),c=()=>S.placeholder?gt(Oc,{transition:n.transition,appear:!0},{default:()=>[(p.value==="loading"||p.value==="error"&&!S.error)&>("div",{class:"v-img__placeholder"},[S.placeholder()])]}):null,m=()=>S.error?gt(Oc,{transition:n.transition,appear:!0},{default:()=>[p.value==="error"&>("div",{class:"v-img__error"},[S.error()])]}):null,w=()=>n.gradient?gt("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${n.gradient})`}},null):null,y=Wr(!1);{const C=$r(i,_=>{_&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{y.value=!0})}),C())})}return Or(()=>{const[C]=vx.filterProps(n);return Co(gt(vx,qr({class:["v-img",{"v-img--booting":!y.value},n.class],style:[{width:Qr(n.width==="auto"?t.value:n.width)},n.style]},C,{aspectRatio:i.value,"aria-label":n.alt,role:n.alt?"img":void 0}),{additional:()=>gt(Yr,null,[gt(s,null,null),gt(h,null,null),gt(w,null,null),gt(c,null,null),gt(m,null,null)]),default:S.default}),[[Tu("intersect"),{handler:M,options:n.options},null,{once:!0}]])}),{currentSrc:D,image:T,state:p,naturalWidth:t,naturalHeight:d}}}),Su=ur({border:[Boolean,Number,String]},"border");function uc(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();return{borderClasses:cn(()=>{const S=eo(n)?n.value:n.border,D=[];if(S===!0||S==="")D.push(`${e}--border`);else if(typeof S=="string"||S===0)for(const T of String(S).split(" "))D.push(`border-${T}`);return D})}}function c_(n){return X2(()=>{const e=[],r={};if(n.value.background)if(z5(n.value.background)){if(r.backgroundColor=n.value.background,!n.value.text){const S=A6(r.backgroundColor);r.color=S,r.caretColor=S}}else e.push(`bg-${n.value.background}`);return n.value.text&&(z5(n.value.text)?(r.color=n.value.text,r.caretColor=n.value.text):e.push(`text-${n.value.text}`)),{colorClasses:e,colorStyles:r}})}function Xs(n,e){const r=cn(()=>({text:eo(n)?n.value:e?n[e]:null})),{colorClasses:S,colorStyles:D}=c_(r);return{textColorClasses:S,textColorStyles:D}}function Oo(n,e){const r=cn(()=>({background:eo(n)?n.value:e?n[e]:null})),{colorClasses:S,colorStyles:D}=c_(r);return{backgroundColorClasses:S,backgroundColorStyles:D}}const fs=ur({elevation:{type:[Number,String],validator(n){const e=parseInt(n);return!isNaN(e)&&e>=0&&e<=24}}},"elevation");function Vs(n){return{elevationClasses:cn(()=>{const r=eo(n)?n.value:n.elevation,S=[];return r==null||S.push(`elevation-${r}`),S})}}const uo=ur({rounded:{type:[Boolean,Number,String],default:void 0}},"rounded");function Eo(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();return{roundedClasses:cn(()=>{const S=eo(n)?n.value:n.rounded,D=[];if(S===!0||S==="")D.push(`${e}--rounded`);else if(typeof S=="string"||S===0)for(const T of String(S).split(" "))D.push(`rounded-${T}`);return D})}}const PB=[null,"prominent","default","comfortable","compact"],q6=ur({absolute:Boolean,collapse:Boolean,color:String,density:{type:String,default:"default",validator:n=>PB.includes(n)},extended:Boolean,extensionHeight:{type:[Number,String],default:48},flat:Boolean,floating:Boolean,height:{type:[Number,String],default:64},image:String,title:String,...Su(),...Zr(),...fs(),...uo(),...Si({tag:"header"}),...oa()},"VToolbar"),yx=Ar()({name:"VToolbar",props:q6(),setup(n,e){var f;let{slots:r}=e;const{backgroundColorClasses:S,backgroundColorStyles:D}=Oo(Cr(n,"color")),{borderClasses:T}=uc(n),{elevationClasses:p}=Vs(n),{roundedClasses:t}=Eo(n),{themeClasses:d}=Ma(n),{rtlClasses:g}=Cs(),i=Wr(!!(n.extended||(f=r.extension)!=null&&f.call(r))),M=cn(()=>parseInt(Number(n.height)+(n.density==="prominent"?Number(n.height):0)-(n.density==="comfortable"?8:0)-(n.density==="compact"?16:0),10)),v=cn(()=>i.value?parseInt(Number(n.extensionHeight)+(n.density==="prominent"?Number(n.extensionHeight):0)-(n.density==="comfortable"?4:0)-(n.density==="compact"?8:0),10):0);return es({VBtn:{variant:"text"}}),Or(()=>{var o;const l=!!(n.title||r.title),a=!!(r.image||n.image),u=(o=r.extension)==null?void 0:o.call(r);return i.value=!!(n.extended||u),gt(n.tag,{class:["v-toolbar",{"v-toolbar--absolute":n.absolute,"v-toolbar--collapse":n.collapse,"v-toolbar--flat":n.flat,"v-toolbar--floating":n.floating,[`v-toolbar--density-${n.density}`]:!0},S.value,T.value,p.value,t.value,d.value,g.value,n.class],style:[D.value,n.style]},{default:()=>[a&>("div",{key:"image",class:"v-toolbar__image"},[r.image?gt(Fa,{key:"image-defaults",disabled:!n.image,defaults:{VImg:{cover:!0,src:n.image}}},r.image):gt(Zd,{key:"image-img",cover:!0,src:n.image},null)]),gt(Fa,{defaults:{VTabs:{height:Qr(M.value)}}},{default:()=>{var s,h,c;return[gt("div",{class:"v-toolbar__content",style:{height:Qr(M.value)}},[r.prepend&>("div",{class:"v-toolbar__prepend"},[(s=r.prepend)==null?void 0:s.call(r)]),l&>(o_,{key:"title",text:n.title},{text:r.title}),(h=r.default)==null?void 0:h.call(r),r.append&>("div",{class:"v-toolbar__append"},[(c=r.append)==null?void 0:c.call(r)])])]}}),gt(Fa,{defaults:{VTabs:{height:Qr(v.value)}}},{default:()=>[gt(e1,null,{default:()=>[i.value&>("div",{class:"v-toolbar__extension",style:{height:Qr(v.value)}},[u])]})]})]})}),{contentHeight:M,extensionHeight:v}}}),OB=ur({scrollTarget:{type:String},scrollThreshold:{type:[String,Number],default:300}},"scroll");function DB(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{canScroll:r}=e;let S=0;const D=Vr(null),T=Wr(0),p=Wr(0),t=Wr(0),d=Wr(!1),g=Wr(!1),i=cn(()=>Number(n.scrollThreshold)),M=cn(()=>Zs((i.value-T.value)/i.value||0)),v=()=>{const f=D.value;!f||r&&!r.value||(S=T.value,T.value="window"in f?f.pageYOffset:f.scrollTop,g.value=T.value{p.value=p.value||T.value}),$r(d,()=>{p.value=0}),Ks(()=>{$r(()=>n.scrollTarget,f=>{var a;const l=f?document.querySelector(f):window;l&&l!==D.value&&((a=D.value)==null||a.removeEventListener("scroll",v),D.value=l,D.value.addEventListener("scroll",v,{passive:!0}))},{immediate:!0})}),kl(()=>{var f;(f=D.value)==null||f.removeEventListener("scroll",v)}),r&&$r(r,v,{immediate:!0}),{scrollThreshold:i,currentScroll:T,currentThreshold:t,isScrollActive:d,scrollRatio:M,isScrollingUp:g,savedScroll:p}}function tp(){const n=Wr(!1);return Ks(()=>{window.requestAnimationFrame(()=>{n.value=!0})}),{ssrBootStyles:cn(()=>n.value?void 0:{transition:"none !important"}),isBooted:Hm(n)}}const zB=ur({scrollBehavior:String,modelValue:{type:Boolean,default:!0},location:{type:String,default:"top",validator:n=>["top","bottom"].includes(n)},...q6(),...x0(),...OB(),height:{type:[Number,String],default:64}},"VAppBar"),FB=Ar()({name:"VAppBar",props:zB(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const S=Vr(),D=xi(n,"modelValue"),T=cn(()=>{var s;const o=new Set(((s=n.scrollBehavior)==null?void 0:s.split(" "))??[]);return{hide:o.has("hide"),inverted:o.has("inverted"),collapse:o.has("collapse"),elevate:o.has("elevate"),fadeImage:o.has("fade-image")}}),p=cn(()=>{const o=T.value;return o.hide||o.inverted||o.collapse||o.elevate||o.fadeImage||!D.value}),{currentScroll:t,scrollThreshold:d,isScrollingUp:g,scrollRatio:i}=DB(n,{canScroll:p}),M=cn(()=>n.collapse||T.value.collapse&&(T.value.inverted?i.value>0:i.value===0)),v=cn(()=>n.flat||T.value.elevate&&(T.value.inverted?t.value>0:t.value===0)),f=cn(()=>T.value.fadeImage?T.value.inverted?1-i.value:i.value:void 0),l=cn(()=>{var h,c;if(T.value.hide&&T.value.inverted)return 0;const o=((h=S.value)==null?void 0:h.contentHeight)??0,s=((c=S.value)==null?void 0:c.extensionHeight)??0;return o+s});$f(cn(()=>!!n.scrollBehavior),()=>{wu(()=>{T.value.hide?T.value.inverted?D.value=t.value>d.value:D.value=g.value||t.valueparseInt(n.order,10)),position:Cr(n,"location"),layoutSize:l,elementSize:Wr(void 0),active:D,absolute:Cr(n,"absolute")});return Or(()=>{const[o]=yx.filterProps(n);return gt(yx,qr({ref:S,class:["v-app-bar",{"v-app-bar--bottom":n.location==="bottom"},n.class],style:[{...u.value,"--v-toolbar-image-opacity":f.value,height:void 0,...a.value},n.style]},o,{collapse:M.value,flat:v.value}),r)}),{}}});const BB=[null,"default","comfortable","compact"],ds=ur({density:{type:String,default:"default",validator:n=>BB.includes(n)}},"density");function Qs(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();return{densityClasses:cn(()=>`${e}--density-${n.density}`)}}const NB=["elevated","flat","tonal","outlined","text","plain"];function np(n,e){return gt(Yr,null,[n&>("span",{key:"overlay",class:`${e}__overlay`},null),gt("span",{key:"underlay",class:`${e}__underlay`},null)])}const cc=ur({color:String,variant:{type:String,default:"elevated",validator:n=>NB.includes(n)}},"variant");function rp(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();const r=cn(()=>{const{variant:T}=yu(n);return`${e}--variant-${T}`}),{colorClasses:S,colorStyles:D}=c_(cn(()=>{const{variant:T,color:p}=yu(n);return{[["elevated","flat"].includes(T)?"background":"text"]:p}}));return{colorClasses:S,colorStyles:D,variantClasses:r}}const W6=ur({divided:Boolean,...Su(),...Zr(),...ds(),...fs(),...uo(),...Si(),...oa(),...cc()},"VBtnGroup"),bx=Ar()({name:"VBtnGroup",props:W6(),setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ma(n),{densityClasses:D}=Qs(n),{borderClasses:T}=uc(n),{elevationClasses:p}=Vs(n),{roundedClasses:t}=Eo(n);es({VBtn:{height:"auto",color:Cr(n,"color"),density:Cr(n,"density"),flat:!0,variant:Cr(n,"variant")}}),Or(()=>gt(n.tag,{class:["v-btn-group",{"v-btn-group--divided":n.divided},S.value,T.value,D.value,p.value,t.value,n.class],style:n.style},r))}}),w0=ur({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),T0=ur({value:null,disabled:Boolean,selectedClass:String},"group-item");function k0(n,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const S=Ss("useGroupItem");if(!S)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const D=Js();ts(Symbol.for(`${e.description}:id`),D);const T=ka(e,null);if(!T){if(!r)return T;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${e.description}`)}const p=Cr(n,"value"),t=cn(()=>!!(T.disabled.value||n.disabled));T.register({id:D,value:p,disabled:t},S),kl(()=>{T.unregister(D)});const d=cn(()=>T.isSelected(D)),g=cn(()=>d.value&&[T.selectedClass.value,n.selectedClass]);return $r(d,i=>{S.emit("group:selected",{value:i})}),{id:D,isSelected:d,toggle:()=>T.select(D,!d.value),select:i=>T.select(D,i),selectedClass:g,value:p,disabled:t,group:T}}function ip(n,e){let r=!1;const S=yl([]),D=xi(n,"modelValue",[],v=>v==null?[]:Y6(S,bu(v)),v=>{const f=jB(S,v);return n.multiple?f:f[0]}),T=Ss("useGroup");function p(v,f){const l=v,a=Symbol.for(`${e.description}:id`),o=ym(a,T==null?void 0:T.vnode).indexOf(f);o>-1?S.splice(o,0,l):S.push(l)}function t(v){if(r)return;d();const f=S.findIndex(l=>l.id===v);S.splice(f,1)}function d(){const v=S.find(f=>!f.disabled);v&&n.mandatory==="force"&&!D.value.length&&(D.value=[v.id])}Ks(()=>{d()}),kl(()=>{r=!0});function g(v,f){const l=S.find(a=>a.id===v);if(!(f&&(l!=null&&l.disabled)))if(n.multiple){const a=D.value.slice(),u=a.findIndex(s=>s===v),o=~u;if(f=f??!o,o&&n.mandatory&&a.length<=1||!o&&n.max!=null&&a.length+1>n.max)return;u<0&&f?a.push(v):u>=0&&!f&&a.splice(u,1),D.value=a}else{const a=D.value.includes(v);if(n.mandatory&&a)return;D.value=f??!a?[v]:[]}}function i(v){if(n.multiple,D.value.length){const f=D.value[0],l=S.findIndex(o=>o.id===f);let a=(l+v)%S.length,u=S[a];for(;u.disabled&&a!==l;)a=(a+v)%S.length,u=S[a];if(u.disabled)return;D.value=[S[a].id]}else{const f=S.find(l=>!l.disabled);f&&(D.value=[f.id])}}const M={register:p,unregister:t,selected:D,select:g,disabled:Cr(n,"disabled"),prev:()=>i(S.length-1),next:()=>i(1),isSelected:v=>D.value.includes(v),selectedClass:cn(()=>n.selectedClass),items:cn(()=>S),getItemIndex:v=>VB(S,v)};return ts(e,M),M}function VB(n,e){const r=Y6(n,[e]);return r.length?n.findIndex(S=>S.id===r[0]):-1}function Y6(n,e){const r=[];return e.forEach(S=>{const D=n.find(p=>b0(S,p.value)),T=n[S];(D==null?void 0:D.value)!=null?r.push(D.id):T!=null&&r.push(T.id)}),r}function jB(n,e){const r=[];return e.forEach(S=>{const D=n.findIndex(T=>T.id===S);if(~D){const T=n[D];r.push(T.value!=null?T.value:D)}}),r}const h_=Symbol.for("vuetify:v-btn-toggle"),UB=ur({...W6(),...w0()},"VBtnToggle"),HB=Ar()({name:"VBtnToggle",props:UB(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{isSelected:S,next:D,prev:T,select:p,selected:t}=ip(n,h_);return Or(()=>{const[d]=bx.filterProps(n);return gt(bx,qr({class:["v-btn-toggle",n.class]},d,{style:n.style}),{default:()=>{var g;return[(g=r.default)==null?void 0:g.call(r,{isSelected:S,next:D,prev:T,select:p,selected:t})]}})}),{next:D,prev:T,select:p}}});const GB=["x-small","small","default","large","x-large"],pf=ur({size:{type:[String,Number],default:"default"}},"size");function M0(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();return X2(()=>{let r,S;return ly(GB,n.size)?r=`${e}--size-${n.size}`:n.size&&(S={width:Qr(n.size),height:Qr(n.size)}),{sizeClasses:r,sizeStyles:S}})}const qB=ur({color:String,start:Boolean,end:Boolean,icon:bi,...Zr(),...pf(),...Si({tag:"i"}),...oa()},"VIcon"),ja=Ar()({name:"VIcon",props:qB(),setup(n,e){let{attrs:r,slots:S}=e;const D=Vr(),{themeClasses:T}=Ma(n),{iconData:p}=PF(cn(()=>D.value||n.icon)),{sizeClasses:t}=M0(n),{textColorClasses:d,textColorStyles:g}=Xs(Cr(n,"color"));return Or(()=>{var M,v;const i=(M=S.default)==null?void 0:M.call(S);return i&&(D.value=(v=f6(i).filter(f=>f.type===Gm&&f.children&&typeof f.children=="string")[0])==null?void 0:v.children),gt(p.value.component,{tag:n.tag,icon:p.value.icon,class:["v-icon","notranslate",T.value,t.value,d.value,{"v-icon--clickable":!!r.onClick,"v-icon--start":n.start,"v-icon--end":n.end},n.class],style:[t.value?void 0:{fontSize:Qr(n.size),height:Qr(n.size),width:Qr(n.size)},g.value,n.style],role:r.onClick?"button":void 0,"aria-hidden":!r.onClick},{default:()=>[i]})}),{}}});function f_(n,e){const r=Vr(),S=Wr(!1);if($2){const D=new IntersectionObserver(T=>{n==null||n(T,D),S.value=!!T.find(p=>p.isIntersecting)},e);kl(()=>{D.disconnect()}),$r(r,(T,p)=>{p&&(D.unobserve(p),S.value=!1),T&&D.observe(T)},{flush:"post"})}return{intersectionRef:r,isIntersecting:S}}const WB=ur({bgColor:String,color:String,indeterminate:[Boolean,String],modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...Zr(),...pf(),...Si({tag:"div"}),...oa()},"VProgressCircular"),d_=Ar()({name:"VProgressCircular",props:WB(),setup(n,e){let{slots:r}=e;const S=20,D=2*Math.PI*S,T=Vr(),{themeClasses:p}=Ma(n),{sizeClasses:t,sizeStyles:d}=M0(n),{textColorClasses:g,textColorStyles:i}=Xs(Cr(n,"color")),{textColorClasses:M,textColorStyles:v}=Xs(Cr(n,"bgColor")),{intersectionRef:f,isIntersecting:l}=f_(),{resizeRef:a,contentRect:u}=Th(),o=cn(()=>Math.max(0,Math.min(100,parseFloat(n.modelValue)))),s=cn(()=>Number(n.width)),h=cn(()=>d.value?Number(n.size):u.value?u.value.width:Math.max(s.value,32)),c=cn(()=>S/(1-s.value/h.value)*2),m=cn(()=>s.value/h.value*c.value),w=cn(()=>Qr((100-o.value)/100*D));return wu(()=>{f.value=T.value,a.value=T.value}),Or(()=>gt(n.tag,{ref:T,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!n.indeterminate,"v-progress-circular--visible":l.value,"v-progress-circular--disable-shrink":n.indeterminate==="disable-shrink"},p.value,t.value,g.value,n.class],style:[d.value,i.value,n.style],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":n.indeterminate?void 0:o.value},{default:()=>[gt("svg",{style:{transform:`rotate(calc(-90deg + ${Number(n.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${c.value} ${c.value}`},[gt("circle",{class:["v-progress-circular__underlay",M.value],style:v.value,fill:"transparent",cx:"50%",cy:"50%",r:S,"stroke-width":m.value,"stroke-dasharray":D,"stroke-dashoffset":0},null),gt("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:S,"stroke-width":m.value,"stroke-dasharray":D,"stroke-dashoffset":w.value},null)]),r.default&>("div",{class:"v-progress-circular__content"},[r.default({value:o.value})])]})),{}}});const J5={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},ed=ur({location:String},"location");function td(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=arguments.length>2?arguments[2]:void 0;const{isRtl:S}=Cs();return{locationStyles:cn(()=>{if(!n.location)return{};const{side:T,align:p}=lx(n.location.split(" ").length>1?n.location:`${n.location} center`,S.value);function t(g){return r?r(g):0}const d={};return T!=="center"&&(e?d[J5[T]]=`calc(100% - ${t(T)}px)`:d[T]=0),p!=="center"?e?d[J5[p]]=`calc(100% - ${t(p)}px)`:d[p]=0:(T==="center"?d.top=d.left="50%":d[{top:"left",bottom:"left",left:"top",right:"top"}[T]]="50%",d.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[T]),d})}}const YB=ur({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...Zr(),...ed({location:"top"}),...uo(),...Si(),...oa()},"VProgressLinear"),p_=Ar()({name:"VProgressLinear",props:YB(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const S=xi(n,"modelValue"),{isRtl:D,rtlClasses:T}=Cs(),{themeClasses:p}=Ma(n),{locationStyles:t}=td(n),{textColorClasses:d,textColorStyles:g}=Xs(n,"color"),{backgroundColorClasses:i,backgroundColorStyles:M}=Oo(cn(()=>n.bgColor||n.color)),{backgroundColorClasses:v,backgroundColorStyles:f}=Oo(n,"color"),{roundedClasses:l}=Eo(n),{intersectionRef:a,isIntersecting:u}=f_(),o=cn(()=>parseInt(n.max,10)),s=cn(()=>parseInt(n.height,10)),h=cn(()=>parseFloat(n.bufferValue)/o.value*100),c=cn(()=>parseFloat(S.value)/o.value*100),m=cn(()=>D.value!==n.reverse),w=cn(()=>n.indeterminate?"fade-transition":"slide-x-transition"),y=cn(()=>n.bgOpacity==null?n.bgOpacity:parseFloat(n.bgOpacity));function C(_){if(!a.value)return;const{left:k,right:E,width:x}=a.value.getBoundingClientRect(),A=m.value?x-_.clientX+(E-x):_.clientX-k;S.value=Math.round(A/x*o.value)}return Or(()=>gt(n.tag,{ref:a,class:["v-progress-linear",{"v-progress-linear--absolute":n.absolute,"v-progress-linear--active":n.active&&u.value,"v-progress-linear--reverse":m.value,"v-progress-linear--rounded":n.rounded,"v-progress-linear--rounded-bar":n.roundedBar,"v-progress-linear--striped":n.striped},l.value,p.value,T.value,n.class],style:[{bottom:n.location==="bottom"?0:void 0,top:n.location==="top"?0:void 0,height:n.active?Qr(s.value):0,"--v-progress-linear-height":Qr(s.value),...t.value},n.style],role:"progressbar","aria-hidden":n.active?"false":"true","aria-valuemin":"0","aria-valuemax":n.max,"aria-valuenow":n.indeterminate?void 0:c.value,onClick:n.clickable&&C},{default:()=>[n.stream&>("div",{key:"stream",class:["v-progress-linear__stream",d.value],style:{...g.value,[m.value?"left":"right"]:Qr(-s.value),borderTop:`${Qr(s.value/2)} dotted`,opacity:y.value,top:`calc(50% - ${Qr(s.value/4)})`,width:Qr(100-h.value,"%"),"--v-progress-linear-stream-to":Qr(s.value*(m.value?1:-1))}},null),gt("div",{class:["v-progress-linear__background",i.value],style:[M.value,{opacity:y.value,width:Qr(n.stream?h.value:100,"%")}]},null),gt(bh,{name:w.value},{default:()=>[n.indeterminate?gt("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(_=>gt("div",{key:_,class:["v-progress-linear__indeterminate",_,v.value],style:f.value},null))]):gt("div",{class:["v-progress-linear__determinate",v.value],style:[f.value,{width:Qr(c.value,"%")}]},null)]}),r.default&>("div",{class:"v-progress-linear__content"},[r.default({value:c.value,buffer:h.value})])]})),{}}}),m_=ur({loading:[Boolean,String]},"loader");function t1(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();return{loaderClasses:cn(()=>({[`${e}--loading`]:n.loading}))}}function g_(n,e){var S;let{slots:r}=e;return gt("div",{class:`${n.name}__loader`},[((S=r.default)==null?void 0:S.call(r,{color:n.color,isActive:n.active}))||gt(p_,{active:n.active,color:n.color,height:"2",indeterminate:!0},null)])}const $B=["static","relative","fixed","absolute","sticky"],A0=ur({position:{type:String,validator:n=>$B.includes(n)}},"position");function S0(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();return{positionClasses:cn(()=>n.position?`${e}--${n.position}`:void 0)}}function $6(){var n,e;return(e=(n=Ss("useRouter"))==null?void 0:n.proxy)==null?void 0:e.$router}function sg(n,e){const r=yE("RouterLink"),S=cn(()=>!!(n.href||n.to)),D=cn(()=>(S==null?void 0:S.value)||k5(e,"click")||k5(n,"click"));if(typeof r=="string")return{isLink:S,isClickable:D,href:Cr(n,"href")};const T=n.to?r.useLink(n):void 0;return{isLink:S,isClickable:D,route:T==null?void 0:T.route,navigate:T==null?void 0:T.navigate,isActive:T&&cn(()=>{var p,t;return n.exact?(p=T.isExactActive)==null?void 0:p.value:(t=T.isActive)==null?void 0:t.value}),href:cn(()=>n.to?T==null?void 0:T.route.value.href:n.href)}}const lg=ur({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let bb=!1;function ZB(n,e){let r=!1,S,D;to&&(Ua(()=>{window.addEventListener("popstate",T),S=n==null?void 0:n.beforeEach((p,t,d)=>{bb?r?e(d):d():setTimeout(()=>r?e(d):d()),bb=!0}),D=n==null?void 0:n.afterEach(()=>{bb=!1})}),Tl(()=>{window.removeEventListener("popstate",T),S==null||S(),D==null||D()}));function T(p){var t;(t=p.state)!=null&&t.replaced||(r=!0,setTimeout(()=>r=!1))}}function XB(n,e){$r(()=>{var r;return(r=n.isActive)==null?void 0:r.value},r=>{n.isLink.value&&r&&e&&Ua(()=>{e(!0)})},{immediate:!0})}const xx=Symbol("rippleStop"),KB=80;function Q5(n,e){n.style.transform=e,n.style.webkitTransform=e}function _x(n){return n.constructor.name==="TouchEvent"}function Z6(n){return n.constructor.name==="KeyboardEvent"}const JB=function(n,e){var M;let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},S=0,D=0;if(!Z6(n)){const v=e.getBoundingClientRect(),f=_x(n)?n.touches[n.touches.length-1]:n;S=f.clientX-v.left,D=f.clientY-v.top}let T=0,p=.3;(M=e._ripple)!=null&&M.circle?(p=.15,T=e.clientWidth/2,T=r.center?T:T+Math.sqrt((S-T)**2+(D-T)**2)/4):T=Math.sqrt(e.clientWidth**2+e.clientHeight**2)/2;const t=`${(e.clientWidth-T*2)/2}px`,d=`${(e.clientHeight-T*2)/2}px`,g=r.center?t:`${S-T}px`,i=r.center?d:`${D-T}px`;return{radius:T,scale:p,x:g,y:i,centerX:t,centerY:d}},dy={show(n,e){var f;let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((f=e==null?void 0:e._ripple)!=null&&f.enabled))return;const S=document.createElement("span"),D=document.createElement("span");S.appendChild(D),S.className="v-ripple__container",r.class&&(S.className+=` ${r.class}`);const{radius:T,scale:p,x:t,y:d,centerX:g,centerY:i}=JB(n,e,r),M=`${T*2}px`;D.className="v-ripple__animation",D.style.width=M,D.style.height=M,e.appendChild(S);const v=window.getComputedStyle(e);v&&v.position==="static"&&(e.style.position="relative",e.dataset.previousPosition="static"),D.classList.add("v-ripple__animation--enter"),D.classList.add("v-ripple__animation--visible"),Q5(D,`translate(${t}, ${d}) scale3d(${p},${p},${p})`),D.dataset.activated=String(performance.now()),setTimeout(()=>{D.classList.remove("v-ripple__animation--enter"),D.classList.add("v-ripple__animation--in"),Q5(D,`translate(${g}, ${i}) scale3d(1,1,1)`)},0)},hide(n){var T;if(!((T=n==null?void 0:n._ripple)!=null&&T.enabled))return;const e=n.getElementsByClassName("v-ripple__animation");if(e.length===0)return;const r=e[e.length-1];if(r.dataset.isHiding)return;r.dataset.isHiding="true";const S=performance.now()-Number(r.dataset.activated),D=Math.max(250-S,0);setTimeout(()=>{r.classList.remove("v-ripple__animation--in"),r.classList.add("v-ripple__animation--out"),setTimeout(()=>{var t;n.getElementsByClassName("v-ripple__animation").length===1&&n.dataset.previousPosition&&(n.style.position=n.dataset.previousPosition,delete n.dataset.previousPosition),((t=r.parentNode)==null?void 0:t.parentNode)===n&&n.removeChild(r.parentNode)},300)},D)}};function X6(n){return typeof n>"u"||!!n}function Bm(n){const e={},r=n.currentTarget;if(!(!(r!=null&&r._ripple)||r._ripple.touched||n[xx])){if(n[xx]=!0,_x(n))r._ripple.touched=!0,r._ripple.isTouch=!0;else if(r._ripple.isTouch)return;if(e.center=r._ripple.centered||Z6(n),r._ripple.class&&(e.class=r._ripple.class),_x(n)){if(r._ripple.showTimerCommit)return;r._ripple.showTimerCommit=()=>{dy.show(n,r,e)},r._ripple.showTimer=window.setTimeout(()=>{var S;(S=r==null?void 0:r._ripple)!=null&&S.showTimerCommit&&(r._ripple.showTimerCommit(),r._ripple.showTimerCommit=null)},KB)}else dy.show(n,r,e)}}function eT(n){n[xx]=!0}function vu(n){const e=n.currentTarget;if(e!=null&&e._ripple){if(window.clearTimeout(e._ripple.showTimer),n.type==="touchend"&&e._ripple.showTimerCommit){e._ripple.showTimerCommit(),e._ripple.showTimerCommit=null,e._ripple.showTimer=window.setTimeout(()=>{vu(n)});return}window.setTimeout(()=>{e._ripple&&(e._ripple.touched=!1)}),dy.hide(e)}}function K6(n){const e=n.currentTarget;e!=null&&e._ripple&&(e._ripple.showTimerCommit&&(e._ripple.showTimerCommit=null),window.clearTimeout(e._ripple.showTimer))}let Nm=!1;function J6(n){!Nm&&(n.keyCode===x5.enter||n.keyCode===x5.space)&&(Nm=!0,Bm(n))}function Q6(n){Nm=!1,vu(n)}function eA(n){Nm&&(Nm=!1,vu(n))}function tA(n,e,r){const{value:S,modifiers:D}=e,T=X6(S);if(T||dy.hide(n),n._ripple=n._ripple??{},n._ripple.enabled=T,n._ripple.centered=D.center,n._ripple.circle=D.circle,ax(S)&&S.class&&(n._ripple.class=S.class),T&&!r){if(D.stop){n.addEventListener("touchstart",eT,{passive:!0}),n.addEventListener("mousedown",eT);return}n.addEventListener("touchstart",Bm,{passive:!0}),n.addEventListener("touchend",vu,{passive:!0}),n.addEventListener("touchmove",K6,{passive:!0}),n.addEventListener("touchcancel",vu),n.addEventListener("mousedown",Bm),n.addEventListener("mouseup",vu),n.addEventListener("mouseleave",vu),n.addEventListener("keydown",J6),n.addEventListener("keyup",Q6),n.addEventListener("blur",eA),n.addEventListener("dragstart",vu,{passive:!0})}else!T&&r&&nA(n)}function nA(n){n.removeEventListener("mousedown",Bm),n.removeEventListener("touchstart",Bm),n.removeEventListener("touchend",vu),n.removeEventListener("touchmove",K6),n.removeEventListener("touchcancel",vu),n.removeEventListener("mouseup",vu),n.removeEventListener("mouseleave",vu),n.removeEventListener("keydown",J6),n.removeEventListener("keyup",Q6),n.removeEventListener("dragstart",vu),n.removeEventListener("blur",eA)}function QB(n,e){tA(n,e,!1)}function eN(n){delete n._ripple,nA(n)}function tN(n,e){if(e.value===e.oldValue)return;const r=X6(e.oldValue);tA(n,e,r)}const nd={mounted:QB,unmounted:eN,updated:tN},v_=ur({active:{type:Boolean,default:void 0},symbol:{type:null,default:h_},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:bi,appendIcon:bi,block:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:String,...Su(),...Zr(),...ds(),...sc(),...fs(),...T0(),...m_(),...ed(),...A0(),...uo(),...lg(),...pf(),...Si({tag:"button"}),...oa(),...cc({variant:"elevated"})},"VBtn"),wl=Ar()({name:"VBtn",directives:{Ripple:nd},props:v_(),emits:{"group:selected":n=>!0},setup(n,e){let{attrs:r,slots:S}=e;const{themeClasses:D}=Ma(n),{borderClasses:T}=uc(n),{colorClasses:p,colorStyles:t,variantClasses:d}=rp(n),{densityClasses:g}=Qs(n),{dimensionStyles:i}=lc(n),{elevationClasses:M}=Vs(n),{loaderClasses:v}=t1(n),{locationStyles:f}=td(n),{positionClasses:l}=S0(n),{roundedClasses:a}=Eo(n),{sizeClasses:u,sizeStyles:o}=M0(n),s=k0(n,n.symbol,!1),h=sg(n,r),c=cn(()=>{var _;return n.active!==void 0?n.active:h.isLink.value?(_=h.isActive)==null?void 0:_.value:s==null?void 0:s.isSelected.value}),m=cn(()=>(s==null?void 0:s.disabled.value)||n.disabled),w=cn(()=>n.variant==="elevated"&&!(n.disabled||n.flat||n.border)),y=cn(()=>{if(n.value!==void 0)return Object(n.value)===n.value?JSON.stringify(n.value,null,0):n.value});function C(_){var k;m.value||h.isLink.value&&(_.metaKey||_.ctrlKey||_.shiftKey||_.button!==0||r.target==="_blank")||((k=h.navigate)==null||k.call(h,_),s==null||s.toggle())}return XB(h,s==null?void 0:s.select),Or(()=>{var L,b;const _=h.isLink.value?"a":n.tag,k=!!(n.prependIcon||S.prepend),E=!!(n.appendIcon||S.append),x=!!(n.icon&&n.icon!==!0),A=(s==null?void 0:s.isSelected.value)&&(!h.isLink.value||((L=h.isActive)==null?void 0:L.value))||!s||((b=h.isActive)==null?void 0:b.value);return Co(gt(_,{type:_==="a"?void 0:"button",class:["v-btn",s==null?void 0:s.selectedClass.value,{"v-btn--active":c.value,"v-btn--block":n.block,"v-btn--disabled":m.value,"v-btn--elevated":w.value,"v-btn--flat":n.flat,"v-btn--icon":!!n.icon,"v-btn--loading":n.loading,"v-btn--stacked":n.stacked},D.value,T.value,A?p.value:void 0,g.value,M.value,v.value,l.value,a.value,u.value,d.value,n.class],style:[A?t.value:void 0,i.value,f.value,o.value,n.style],disabled:m.value||void 0,href:h.href.value,onClick:C,value:y.value},{default:()=>{var R;return[np(!0,"v-btn"),!n.icon&&k&>("span",{key:"prepend",class:"v-btn__prepend"},[S.prepend?gt(Fa,{key:"prepend-defaults",disabled:!n.prependIcon,defaults:{VIcon:{icon:n.prependIcon}}},S.prepend):gt(ja,{key:"prepend-icon",icon:n.prependIcon},null)]),gt("span",{class:"v-btn__content","data-no-activator":""},[!S.default&&x?gt(ja,{key:"content-icon",icon:n.icon},null):gt(Fa,{key:"content-defaults",disabled:!x,defaults:{VIcon:{icon:n.icon}}},{default:()=>{var I;return[((I=S.default)==null?void 0:I.call(S))??n.text]}})]),!n.icon&&E&>("span",{key:"append",class:"v-btn__append"},[S.append?gt(Fa,{key:"append-defaults",disabled:!n.appendIcon,defaults:{VIcon:{icon:n.appendIcon}}},S.append):gt(ja,{key:"append-icon",icon:n.appendIcon},null)]),!!n.loading&>("span",{key:"loader",class:"v-btn__loader"},[((R=S.loader)==null?void 0:R.call(S))??gt(d_,{color:typeof n.loading=="boolean"?void 0:n.loading,indeterminate:!0,size:"23",width:"2"},null)])]}}),[[Tu("ripple"),!m.value&&n.ripple,null]])}),{}}}),nN=ur({...v_({icon:"$menu",variant:"text"})},"VAppBarNavIcon"),rN=Ar()({name:"VAppBarNavIcon",props:nN(),setup(n,e){let{slots:r}=e;return Or(()=>gt(wl,qr(n,{class:["v-app-bar-nav-icon"]}),r)),{}}}),iN=Ar()({name:"VAppBarTitle",props:N6(),setup(n,e){let{slots:r}=e;return Or(()=>gt(o_,qr(n,{class:"v-app-bar-title"}),r)),{}}});const rA=Nc("v-alert-title"),aN=["success","info","warning","error"],oN=ur({border:{type:[Boolean,String],validator:n=>typeof n=="boolean"||["top","end","bottom","start"].includes(n)},borderColor:String,closable:Boolean,closeIcon:{type:bi,default:"$close"},closeLabel:{type:String,default:"$vuetify.close"},icon:{type:[Boolean,String,Function,Object],default:null},modelValue:{type:Boolean,default:!0},prominent:Boolean,title:String,text:String,type:{type:String,validator:n=>aN.includes(n)},...Zr(),...ds(),...sc(),...fs(),...ed(),...A0(),...uo(),...Si(),...oa(),...cc({variant:"flat"})},"VAlert"),sN=Ar()({name:"VAlert",props:oN(),emits:{"click:close":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{emit:r,slots:S}=e;const D=xi(n,"modelValue"),T=cn(()=>{if(n.icon!==!1)return n.type?n.icon??`$${n.type}`:n.icon}),p=cn(()=>({color:n.color??n.type,variant:n.variant})),{themeClasses:t}=Ma(n),{colorClasses:d,colorStyles:g,variantClasses:i}=rp(p),{densityClasses:M}=Qs(n),{dimensionStyles:v}=lc(n),{elevationClasses:f}=Vs(n),{locationStyles:l}=td(n),{positionClasses:a}=S0(n),{roundedClasses:u}=Eo(n),{textColorClasses:o,textColorStyles:s}=Xs(Cr(n,"borderColor")),{t:h}=oc(),c=cn(()=>({"aria-label":h(n.closeLabel),onClick(m){D.value=!1,r("click:close",m)}}));return()=>{const m=!!(S.prepend||T.value),w=!!(S.title||n.title),y=!!(S.close||n.closable);return D.value&>(n.tag,{class:["v-alert",n.border&&{"v-alert--border":!!n.border,[`v-alert--border-${n.border===!0?"start":n.border}`]:!0},{"v-alert--prominent":n.prominent},t.value,d.value,M.value,f.value,a.value,u.value,i.value,n.class],style:[g.value,v.value,l.value,n.style],role:"alert"},{default:()=>{var C,_;return[np(!1,"v-alert"),n.border&>("div",{key:"border",class:["v-alert__border",o.value],style:s.value},null),m&>("div",{key:"prepend",class:"v-alert__prepend"},[S.prepend?gt(Fa,{key:"prepend-defaults",disabled:!T.value,defaults:{VIcon:{density:n.density,icon:T.value,size:n.prominent?44:28}}},S.prepend):gt(ja,{key:"prepend-icon",density:n.density,icon:T.value,size:n.prominent?44:28},null)]),gt("div",{class:"v-alert__content"},[w&>(rA,{key:"title"},{default:()=>{var k;return[((k=S.title)==null?void 0:k.call(S))??n.title]}}),((C=S.text)==null?void 0:C.call(S))??n.text,(_=S.default)==null?void 0:_.call(S)]),S.append&>("div",{key:"append",class:"v-alert__append"},[S.append()]),y&>("div",{key:"close",class:"v-alert__close"},[S.close?gt(Fa,{key:"close-defaults",defaults:{VBtn:{icon:n.closeIcon,size:"x-small",variant:"text"}}},{default:()=>{var k;return[(k=S.close)==null?void 0:k.call(S,{props:c.value})]}}):gt(wl,qr({key:"close-btn",icon:n.closeIcon,size:"x-small",variant:"text"},c.value),null)])]}})}}});const lN=ur({text:String,clickable:Boolean,...Zr(),...oa()},"VLabel"),C0=Ar()({name:"VLabel",props:lN(),setup(n,e){let{slots:r}=e;return Or(()=>{var S;return gt("label",{class:["v-label",{"v-label--clickable":n.clickable},n.class],style:n.style},[n.text,(S=r.default)==null?void 0:S.call(r)])}),{}}});const iA=Symbol.for("vuetify:selection-control-group"),y_=ur({color:String,disabled:{type:Boolean,default:null},defaultsTarget:String,error:Boolean,id:String,inline:Boolean,falseIcon:bi,trueIcon:bi,ripple:{type:Boolean,default:!0},multiple:{type:Boolean,default:null},name:String,readonly:Boolean,modelValue:null,type:String,valueComparator:{type:Function,default:b0},...Zr(),...ds(),...oa()},"SelectionControlGroup"),uN=ur({...y_({defaultsTarget:"VSelectionControl"})},"VSelectionControlGroup"),aA=Ar()({name:"VSelectionControlGroup",props:uN(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const S=xi(n,"modelValue"),D=Js(),T=cn(()=>n.id||`v-selection-control-group-${D}`),p=cn(()=>n.name||T.value),t=new Set;return ts(iA,{modelValue:S,forceUpdate:()=>{t.forEach(d=>d())},onForceUpdate:d=>{t.add(d),Tl(()=>{t.delete(d)})}}),es({[n.defaultsTarget]:{color:Cr(n,"color"),disabled:Cr(n,"disabled"),density:Cr(n,"density"),error:Cr(n,"error"),inline:Cr(n,"inline"),modelValue:S,multiple:cn(()=>!!n.multiple||n.multiple==null&&Array.isArray(S.value)),name:p,falseIcon:Cr(n,"falseIcon"),trueIcon:Cr(n,"trueIcon"),readonly:Cr(n,"readonly"),ripple:Cr(n,"ripple"),type:Cr(n,"type"),valueComparator:Cr(n,"valueComparator")}}),Or(()=>{var d;return gt("div",{class:["v-selection-control-group",{"v-selection-control-group--inline":n.inline},n.class],style:n.style,role:n.type==="radio"?"radiogroup":void 0},[(d=r.default)==null?void 0:d.call(r)])}),{}}}),n1=ur({label:String,trueValue:null,falseValue:null,value:null,...Zr(),...y_()},"VSelectionControl");function cN(n){const e=ka(iA,void 0),{densityClasses:r}=Qs(n),S=xi(n,"modelValue"),D=cn(()=>n.trueValue!==void 0?n.trueValue:n.value!==void 0?n.value:!0),T=cn(()=>n.falseValue!==void 0?n.falseValue:!1),p=cn(()=>!!n.multiple||n.multiple==null&&Array.isArray(S.value)),t=cn({get(){const f=e?e.modelValue.value:S.value;return p.value?f.some(l=>n.valueComparator(l,D.value)):n.valueComparator(f,D.value)},set(f){if(n.readonly)return;const l=f?D.value:T.value;let a=l;p.value&&(a=f?[...bu(S.value),l]:bu(S.value).filter(u=>!n.valueComparator(u,D.value))),e?e.modelValue.value=a:S.value=a}}),{textColorClasses:d,textColorStyles:g}=Xs(cn(()=>t.value&&!n.error&&!n.disabled?n.color:void 0)),{backgroundColorClasses:i,backgroundColorStyles:M}=Oo(cn(()=>t.value&&!n.error&&!n.disabled?n.color:void 0)),v=cn(()=>t.value?n.trueIcon:n.falseIcon);return{group:e,densityClasses:r,trueValue:D,falseValue:T,model:t,textColorClasses:d,textColorStyles:g,backgroundColorClasses:i,backgroundColorStyles:M,icon:v}}const Xd=Ar()({name:"VSelectionControl",directives:{Ripple:nd},inheritAttrs:!1,props:n1(),emits:{"update:modelValue":n=>!0},setup(n,e){let{attrs:r,slots:S}=e;const{group:D,densityClasses:T,icon:p,model:t,textColorClasses:d,textColorStyles:g,backgroundColorClasses:i,backgroundColorStyles:M,trueValue:v}=cN(n),f=Js(),l=cn(()=>n.id||`input-${f}`),a=Wr(!1),u=Wr(!1),o=Vr();D==null||D.onForceUpdate(()=>{o.value&&(o.value.checked=t.value)});function s(m){a.value=!0,l0(m.target,":focus-visible")!==!1&&(u.value=!0)}function h(){a.value=!1,u.value=!1}function c(m){n.readonly&&D&&Ua(()=>D.forceUpdate()),t.value=m.target.checked}return Or(()=>{var _,k;const m=S.label?S.label({label:n.label,props:{for:l.value}}):n.label,[w,y]=Qd(r),C=gt("input",qr({ref:o,checked:t.value,disabled:!!(n.readonly||n.disabled),id:l.value,onBlur:h,onFocus:s,onInput:c,"aria-disabled":!!(n.readonly||n.disabled),type:n.type,value:v.value,name:n.name,"aria-checked":n.type==="checkbox"?t.value:void 0},y),null);return gt("div",qr({class:["v-selection-control",{"v-selection-control--dirty":t.value,"v-selection-control--disabled":n.disabled,"v-selection-control--error":n.error,"v-selection-control--focused":a.value,"v-selection-control--focus-visible":u.value,"v-selection-control--inline":n.inline},T.value,n.class]},w,{style:n.style}),[gt("div",{class:["v-selection-control__wrapper",d.value],style:g.value},[(_=S.default)==null?void 0:_.call(S,{backgroundColorClasses:i,backgroundColorStyles:M}),Co(gt("div",{class:["v-selection-control__input"]},[((k=S.input)==null?void 0:k.call(S,{model:t,textColorClasses:d,textColorStyles:g,backgroundColorClasses:i,backgroundColorStyles:M,inputNode:C,icon:p.value,props:{onFocus:s,onBlur:h,id:l.value}}))??gt(Yr,null,[p.value&>(ja,{key:"icon",icon:p.value},null),C])]),[[Tu("ripple"),n.ripple&&[!n.disabled&&!n.readonly,null,["center","circle"]]]])]),m&>(C0,{for:l.value,clickable:!0,onClick:E=>E.stopPropagation()},{default:()=>[m]})])}),{isFocused:a,input:o}}}),oA=ur({indeterminate:Boolean,indeterminateIcon:{type:bi,default:"$checkboxIndeterminate"},...n1({falseIcon:"$checkboxOff",trueIcon:"$checkboxOn"})},"VCheckboxBtn"),h0=Ar()({name:"VCheckboxBtn",props:oA(),emits:{"update:modelValue":n=>!0,"update:indeterminate":n=>!0},setup(n,e){let{slots:r}=e;const S=xi(n,"indeterminate"),D=xi(n,"modelValue");function T(d){S.value&&(S.value=!1)}const p=cn(()=>S.value?n.indeterminateIcon:n.falseIcon),t=cn(()=>S.value?n.indeterminateIcon:n.trueIcon);return Or(()=>{const d=ic(Xd.filterProps(n)[0],["modelValue"]);return gt(Xd,qr(d,{modelValue:D.value,"onUpdate:modelValue":[g=>D.value=g,T],class:["v-checkbox-btn",n.class],style:n.style,type:"checkbox",falseIcon:p.value,trueIcon:t.value,"aria-checked":S.value?"mixed":void 0}),r)}),{}}});function sA(n){const{t:e}=oc();function r(S){let{name:D}=S;const T={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[D],p=n[`onClick:${D}`],t=p&&T?e(`$vuetify.input.${T}`,n.label??""):void 0;return gt(ja,{icon:n[`${D}Icon`],"aria-label":t,onClick:p},null)}return{InputIcon:r}}const hN=ur({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...Zr(),...df({transition:{component:l_,leaveAbsolute:!0,group:!0}})},"VMessages"),lA=Ar()({name:"VMessages",props:hN(),setup(n,e){let{slots:r}=e;const S=cn(()=>bu(n.messages)),{textColorClasses:D,textColorStyles:T}=Xs(cn(()=>n.color));return Or(()=>gt(Oc,{transition:n.transition,tag:"div",class:["v-messages",D.value,n.class],style:[T.value,n.style],role:"alert","aria-live":"polite"},{default:()=>[n.active&&S.value.map((p,t)=>gt("div",{class:"v-messages__message",key:`${t}-${S.value}`},[r.message?r.message({message:p}):p]))]})),{}}}),r1=ur({focused:Boolean,"onUpdate:focused":yh()},"focus");function rd(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();const r=xi(n,"focused"),S=cn(()=>({[`${e}--focused`]:r.value}));function D(){r.value=!0}function T(){r.value=!1}return{focusClasses:S,isFocused:r,focus:D,blur:T}}const uA=Symbol.for("vuetify:form"),fN=ur({disabled:Boolean,fastFail:Boolean,readonly:Boolean,modelValue:{type:Boolean,default:null},validateOn:{type:String,default:"input"}},"form");function dN(n){const e=xi(n,"modelValue"),r=cn(()=>n.disabled),S=cn(()=>n.readonly),D=Wr(!1),T=Vr([]),p=Vr([]);async function t(){const i=[];let M=!0;p.value=[],D.value=!0;for(const v of T.value){const f=await v.validate();if(f.length>0&&(M=!1,i.push({id:v.id,errorMessages:f})),!M&&n.fastFail)break}return p.value=i,D.value=!1,{valid:M,errors:p.value}}function d(){T.value.forEach(i=>i.reset())}function g(){T.value.forEach(i=>i.resetValidation())}return $r(T,()=>{let i=0,M=0;const v=[];for(const f of T.value)f.isValid===!1?(M++,v.push({id:f.id,errorMessages:f.errorMessages})):f.isValid===!0&&i++;p.value=v,e.value=M>0?!1:i===T.value.length?!0:null},{deep:!0}),ts(uA,{register:i=>{let{id:M,validate:v,reset:f,resetValidation:l}=i;T.value.some(a=>a.id===M),T.value.push({id:M,validate:v,reset:f,resetValidation:l,isValid:null,errorMessages:[]})},unregister:i=>{T.value=T.value.filter(M=>M.id!==i)},update:(i,M,v)=>{const f=T.value.find(l=>l.id===i);f&&(f.isValid=M,f.errorMessages=v)},isDisabled:r,isReadonly:S,isValidating:D,isValid:e,items:T,validateOn:Cr(n,"validateOn")}),{errors:p,isDisabled:r,isReadonly:S,isValidating:D,isValid:e,items:T,validate:t,reset:d,resetValidation:g}}function i1(){return ka(uA,null)}const cA=ur({disabled:{type:Boolean,default:null},error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,label:String,readonly:{type:Boolean,default:null},rules:{type:Array,default:()=>[]},modelValue:null,validateOn:String,validationValue:null,...r1()},"validation");function hA(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff(),r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Js();const S=xi(n,"modelValue"),D=cn(()=>n.validationValue===void 0?S.value:n.validationValue),T=i1(),p=Vr([]),t=Wr(!0),d=cn(()=>!!(bu(S.value===""?null:S.value).length||bu(D.value===""?null:D.value).length)),g=cn(()=>!!(n.disabled??(T==null?void 0:T.isDisabled.value))),i=cn(()=>!!(n.readonly??(T==null?void 0:T.isReadonly.value))),M=cn(()=>n.errorMessages.length?bu(n.errorMessages).slice(0,Math.max(0,+n.maxErrors)):p.value),v=cn(()=>{let c=(n.validateOn??(T==null?void 0:T.validateOn.value))||"input";c==="lazy"&&(c="input lazy");const m=new Set((c==null?void 0:c.split(" "))??[]);return{blur:m.has("blur")||m.has("input"),input:m.has("input"),submit:m.has("submit"),lazy:m.has("lazy")}}),f=cn(()=>n.error||n.errorMessages.length?!1:n.rules.length?t.value?p.value.length||v.value.lazy?null:!0:!p.value.length:!0),l=Wr(!1),a=cn(()=>({[`${e}--error`]:f.value===!1,[`${e}--dirty`]:d.value,[`${e}--disabled`]:g.value,[`${e}--readonly`]:i.value})),u=cn(()=>n.name??yu(r));Sy(()=>{T==null||T.register({id:u.value,validate:h,reset:o,resetValidation:s})}),kl(()=>{T==null||T.unregister(u.value)}),Ks(async()=>{v.value.lazy||await h(!0),T==null||T.update(u.value,f.value,M.value)}),$f(()=>v.value.input,()=>{$r(D,()=>{if(D.value!=null)h();else if(n.focused){const c=$r(()=>n.focused,m=>{m||h(),c()})}})}),$f(()=>v.value.blur,()=>{$r(()=>n.focused,c=>{c||h()})}),$r(f,()=>{T==null||T.update(u.value,f.value,M.value)});function o(){S.value=null,Ua(s)}function s(){t.value=!0,v.value.lazy?p.value=[]:h(!0)}async function h(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const m=[];l.value=!0;for(const w of n.rules){if(m.length>=+(n.maxErrors??1))break;const C=await(typeof w=="function"?w:()=>w)(D.value);if(C!==!0){if(C!==!1&&typeof C!="string"){console.warn(`${C} is not a valid value. Rule functions must return boolean true or a string.`);continue}m.push(C||"")}}return p.value=m,l.value=!1,t.value=c,p.value}return{errorMessages:M,isDirty:d,isDisabled:g,isReadonly:i,isPristine:t,isValid:f,isValidating:l,reset:o,resetValidation:s,validate:h,validationClasses:a}}const mf=ur({id:String,appendIcon:bi,centerAffix:{type:Boolean,default:!0},prependIcon:bi,hideDetails:[Boolean,String],hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:n=>["horizontal","vertical"].includes(n)},"onClick:prepend":yh(),"onClick:append":yh(),...Zr(),...ds(),...cA()},"VInput"),Bs=Ar()({name:"VInput",props:{...mf()},emits:{"update:modelValue":n=>!0},setup(n,e){let{attrs:r,slots:S,emit:D}=e;const{densityClasses:T}=Qs(n),{rtlClasses:p}=Cs(),{InputIcon:t}=sA(n),d=Js(),g=cn(()=>n.id||`input-${d}`),i=cn(()=>`${g.value}-messages`),{errorMessages:M,isDirty:v,isDisabled:f,isReadonly:l,isPristine:a,isValid:u,isValidating:o,reset:s,resetValidation:h,validate:c,validationClasses:m}=hA(n,"v-input",g),w=cn(()=>({id:g,messagesId:i,isDirty:v,isDisabled:f,isReadonly:l,isPristine:a,isValid:u,isValidating:o,reset:s,resetValidation:h,validate:c})),y=cn(()=>{var C;return(C=n.errorMessages)!=null&&C.length||!a.value&&M.value.length?M.value:n.hint&&(n.persistentHint||n.focused)?n.hint:n.messages});return Or(()=>{var x,A,L,b;const C=!!(S.prepend||n.prependIcon),_=!!(S.append||n.appendIcon),k=y.value.length>0,E=!n.hideDetails||n.hideDetails==="auto"&&(k||!!S.details);return gt("div",{class:["v-input",`v-input--${n.direction}`,{"v-input--center-affix":n.centerAffix},T.value,p.value,m.value,n.class],style:n.style},[C&>("div",{key:"prepend",class:"v-input__prepend"},[(x=S.prepend)==null?void 0:x.call(S,w.value),n.prependIcon&>(t,{key:"prepend-icon",name:"prepend"},null)]),S.default&>("div",{class:"v-input__control"},[(A=S.default)==null?void 0:A.call(S,w.value)]),_&>("div",{key:"append",class:"v-input__append"},[n.appendIcon&>(t,{key:"append-icon",name:"append"},null),(L=S.append)==null?void 0:L.call(S,w.value)]),E&>("div",{class:"v-input__details"},[gt(lA,{id:i.value,active:k,messages:y.value},{message:S.message}),(b=S.details)==null?void 0:b.call(S,w.value)])])}),{reset:s,resetValidation:h,validate:c}}}),pN=ur({...mf(),...ic(oA(),["inline"])},"VCheckbox"),mN=Ar()({name:"VCheckbox",inheritAttrs:!1,props:pN(),emits:{"update:modelValue":n=>!0,"update:focused":n=>!0},setup(n,e){let{attrs:r,slots:S}=e;const D=xi(n,"modelValue"),{isFocused:T,focus:p,blur:t}=rd(n),d=Js(),g=cn(()=>n.id||`checkbox-${d}`);return Or(()=>{const[i,M]=Qd(r),[v,f]=Bs.filterProps(n),[l,a]=h0.filterProps(n);return gt(Bs,qr({class:["v-checkbox",n.class]},i,v,{modelValue:D.value,"onUpdate:modelValue":u=>D.value=u,id:g.value,focused:T.value,style:n.style}),{...S,default:u=>{let{id:o,messagesId:s,isDisabled:h,isReadonly:c}=u;return gt(h0,qr(l,{id:o.value,"aria-describedby":s.value,disabled:h.value,readonly:c.value},M,{modelValue:D.value,"onUpdate:modelValue":m=>D.value=m,onFocus:p,onBlur:t}),S)}})}),{}}});const gN=ur({start:Boolean,end:Boolean,icon:bi,image:String,...Zr(),...ds(),...uo(),...pf(),...Si(),...oa(),...cc({variant:"flat"})},"VAvatar"),Zf=Ar()({name:"VAvatar",props:gN(),setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ma(n),{colorClasses:D,colorStyles:T,variantClasses:p}=rp(n),{densityClasses:t}=Qs(n),{roundedClasses:d}=Eo(n),{sizeClasses:g,sizeStyles:i}=M0(n);return Or(()=>gt(n.tag,{class:["v-avatar",{"v-avatar--start":n.start,"v-avatar--end":n.end},S.value,D.value,t.value,d.value,g.value,p.value,n.class],style:[T.value,i.value,n.style]},{default:()=>{var M;return[n.image?gt(Zd,{key:"image",src:n.image,alt:"",cover:!0},null):n.icon?gt(ja,{key:"icon",icon:n.icon},null):(M=r.default)==null?void 0:M.call(r),np(!1,"v-avatar")]}})),{}}});const fA=Symbol.for("vuetify:v-chip-group"),vN=ur({column:Boolean,filter:Boolean,valueComparator:{type:Function,default:b0},...Zr(),...w0({selectedClass:"v-chip--selected"}),...Si(),...oa(),...cc({variant:"tonal"})},"VChipGroup"),yN=Ar()({name:"VChipGroup",props:vN(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ma(n),{isSelected:D,select:T,next:p,prev:t,selected:d}=ip(n,fA);return es({VChip:{color:Cr(n,"color"),disabled:Cr(n,"disabled"),filter:Cr(n,"filter"),variant:Cr(n,"variant")}}),Or(()=>gt(n.tag,{class:["v-chip-group",{"v-chip-group--column":n.column},S.value,n.class],style:n.style},{default:()=>{var g;return[(g=r.default)==null?void 0:g.call(r,{isSelected:D,select:T,next:p,prev:t,selected:d.value})]}})),{}}}),bN=ur({activeClass:String,appendAvatar:String,appendIcon:bi,closable:Boolean,closeIcon:{type:bi,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:{type:Boolean,default:void 0},pill:Boolean,prependAvatar:String,prependIcon:bi,ripple:{type:[Boolean,Object],default:!0},text:String,modelValue:{type:Boolean,default:!0},onClick:yh(),onClickOnce:yh(),...Su(),...Zr(),...ds(),...fs(),...T0(),...uo(),...lg(),...pf(),...Si({tag:"span"}),...oa(),...cc({variant:"tonal"})},"VChip"),ug=Ar()({name:"VChip",directives:{Ripple:nd},props:bN(),emits:{"click:close":n=>!0,"update:modelValue":n=>!0,"group:selected":n=>!0,click:n=>!0},setup(n,e){let{attrs:r,emit:S,slots:D}=e;const{t:T}=oc(),{borderClasses:p}=uc(n),{colorClasses:t,colorStyles:d,variantClasses:g}=rp(n),{densityClasses:i}=Qs(n),{elevationClasses:M}=Vs(n),{roundedClasses:v}=Eo(n),{sizeClasses:f}=M0(n),{themeClasses:l}=Ma(n),a=xi(n,"modelValue"),u=k0(n,fA,!1),o=sg(n,r),s=cn(()=>n.link!==!1&&o.isLink.value),h=cn(()=>!n.disabled&&n.link!==!1&&(!!u||n.link||o.isClickable.value)),c=cn(()=>({"aria-label":T(n.closeLabel),onClick(y){y.stopPropagation(),a.value=!1,S("click:close",y)}}));function m(y){var C;S("click",y),h.value&&((C=o.navigate)==null||C.call(o,y),u==null||u.toggle())}function w(y){(y.key==="Enter"||y.key===" ")&&(y.preventDefault(),m(y))}return()=>{const y=o.isLink.value?"a":n.tag,C=!!(n.appendIcon||n.appendAvatar),_=!!(C||D.append),k=!!(D.close||n.closable),E=!!(D.filter||n.filter)&&u,x=!!(n.prependIcon||n.prependAvatar),A=!!(x||D.prepend),L=!u||u.isSelected.value;return a.value&&Co(gt(y,{class:["v-chip",{"v-chip--disabled":n.disabled,"v-chip--label":n.label,"v-chip--link":h.value,"v-chip--filter":E,"v-chip--pill":n.pill},l.value,p.value,L?t.value:void 0,i.value,M.value,v.value,f.value,g.value,u==null?void 0:u.selectedClass.value,n.class],style:[L?d.value:void 0,n.style],disabled:n.disabled||void 0,draggable:n.draggable,href:o.href.value,tabindex:h.value?0:void 0,onClick:m,onKeydown:h.value&&!s.value&&w},{default:()=>{var b;return[np(h.value,"v-chip"),E&>(u_,{key:"filter"},{default:()=>[Co(gt("div",{class:"v-chip__filter"},[D.filter?gt(Fa,{key:"filter-defaults",disabled:!n.filterIcon,defaults:{VIcon:{icon:n.filterIcon}}},D.filter):gt(ja,{key:"filter-icon",icon:n.filterIcon},null)]),[[kh,u.isSelected.value]])]}),A&>("div",{key:"prepend",class:"v-chip__prepend"},[D.prepend?gt(Fa,{key:"prepend-defaults",disabled:!x,defaults:{VAvatar:{image:n.prependAvatar,start:!0},VIcon:{icon:n.prependIcon,start:!0}}},D.prepend):gt(Yr,null,[n.prependIcon&>(ja,{key:"prepend-icon",icon:n.prependIcon,start:!0},null),n.prependAvatar&>(Zf,{key:"prepend-avatar",image:n.prependAvatar,start:!0},null)])]),gt("div",{class:"v-chip__content"},[((b=D.default)==null?void 0:b.call(D,{isSelected:u==null?void 0:u.isSelected.value,selectedClass:u==null?void 0:u.selectedClass.value,select:u==null?void 0:u.select,toggle:u==null?void 0:u.toggle,value:u==null?void 0:u.value.value,disabled:n.disabled}))??n.text]),_&>("div",{key:"append",class:"v-chip__append"},[D.append?gt(Fa,{key:"append-defaults",disabled:!C,defaults:{VAvatar:{end:!0,image:n.appendAvatar},VIcon:{end:!0,icon:n.appendIcon}}},D.append):gt(Yr,null,[n.appendIcon&>(ja,{key:"append-icon",end:!0,icon:n.appendIcon},null),n.appendAvatar&>(Zf,{key:"append-avatar",end:!0,image:n.appendAvatar},null)])]),k&>("div",qr({key:"close",class:"v-chip__close"},c.value),[D.close?gt(Fa,{key:"close-defaults",defaults:{VIcon:{icon:n.closeIcon,size:"x-small"}}},D.close):gt(ja,{key:"close-icon",icon:n.closeIcon,size:"x-small"},null)])]}}),[[Tu("ripple"),h.value&&n.ripple,null]])}}});const wx=Symbol.for("vuetify:list");function dA(){const n=ka(wx,{hasPrepend:Wr(!1),updateHasPrepend:()=>null}),e={hasPrepend:Wr(!1),updateHasPrepend:r=>{r&&(e.hasPrepend.value=r)}};return ts(wx,e),n}function pA(){return ka(wx,null)}const xN={open:n=>{let{id:e,value:r,opened:S,parents:D}=n;if(r){const T=new Set;T.add(e);let p=D.get(e);for(;p!=null;)T.add(p),p=D.get(p);return T}else return S.delete(e),S},select:()=>null},mA={open:n=>{let{id:e,value:r,opened:S,parents:D}=n;if(r){let T=D.get(e);for(S.add(e);T!=null&&T!==e;)S.add(T),T=D.get(T);return S}else S.delete(e);return S},select:()=>null},_N={open:mA.open,select:n=>{let{id:e,value:r,opened:S,parents:D}=n;if(!r)return S;const T=[];let p=D.get(e);for(;p!=null;)T.push(p),p=D.get(p);return new Set(T)}},b_=n=>{const e={select:r=>{let{id:S,value:D,selected:T}=r;if(S=wi(S),n&&!D){const p=Array.from(T.entries()).reduce((t,d)=>{let[g,i]=d;return i==="on"?[...t,g]:t},[]);if(p.length===1&&p[0]===S)return T}return T.set(S,D?"on":"off"),T},in:(r,S,D)=>{let T=new Map;for(const p of r||[])T=e.select({id:p,value:!0,selected:new Map(T),children:S,parents:D});return T},out:r=>{const S=[];for(const[D,T]of r.entries())T==="on"&&S.push(D);return S}};return e},gA=n=>{const e=b_(n);return{select:S=>{let{selected:D,id:T,...p}=S;T=wi(T);const t=D.has(T)?new Map([[T,D.get(T)]]):new Map;return e.select({...p,id:T,selected:t})},in:(S,D,T)=>{let p=new Map;return S!=null&&S.length&&(p=e.in(S.slice(0,1),D,T)),p},out:(S,D,T)=>e.out(S,D,T)}},wN=n=>{const e=b_(n);return{select:S=>{let{id:D,selected:T,children:p,...t}=S;return D=wi(D),p.has(D)?T:e.select({id:D,selected:T,children:p,...t})},in:e.in,out:e.out}},TN=n=>{const e=gA(n);return{select:S=>{let{id:D,selected:T,children:p,...t}=S;return D=wi(D),p.has(D)?T:e.select({id:D,selected:T,children:p,...t})},in:e.in,out:e.out}},kN=n=>{const e={select:r=>{let{id:S,value:D,selected:T,children:p,parents:t}=r;S=wi(S);const d=new Map(T),g=[S];for(;g.length;){const M=g.shift();T.set(M,D?"on":"off"),p.has(M)&&g.push(...p.get(M))}let i=t.get(S);for(;i;){const M=p.get(i),v=M.every(l=>T.get(l)==="on"),f=M.every(l=>!T.has(l)||T.get(l)==="off");T.set(i,v?"on":f?"off":"indeterminate"),i=t.get(i)}return n&&!D&&Array.from(T.entries()).reduce((v,f)=>{let[l,a]=f;return a==="on"?[...v,l]:v},[]).length===0?d:T},in:(r,S,D)=>{let T=new Map;for(const p of r||[])T=e.select({id:p,value:!0,selected:new Map(T),children:S,parents:D});return T},out:(r,S)=>{const D=[];for(const[T,p]of r.entries())p==="on"&&!S.has(T)&&D.push(T);return D}};return e},Vm=Symbol.for("vuetify:nested"),vA={id:Wr(),root:{register:()=>null,unregister:()=>null,parents:Vr(new Map),children:Vr(new Map),open:()=>null,openOnSelect:()=>null,select:()=>null,opened:Vr(new Set),selected:Vr(new Map),selectedValues:Vr([])}},MN=ur({selectStrategy:[String,Function],openStrategy:[String,Object],opened:Array,selected:Array,mandatory:Boolean},"nested"),AN=n=>{let e=!1;const r=Vr(new Map),S=Vr(new Map),D=xi(n,"opened",n.opened,M=>new Set(M),M=>[...M.values()]),T=cn(()=>{if(typeof n.selectStrategy=="object")return n.selectStrategy;switch(n.selectStrategy){case"single-leaf":return TN(n.mandatory);case"leaf":return wN(n.mandatory);case"independent":return b_(n.mandatory);case"single-independent":return gA(n.mandatory);case"classic":default:return kN(n.mandatory)}}),p=cn(()=>{if(typeof n.openStrategy=="object")return n.openStrategy;switch(n.openStrategy){case"list":return _N;case"single":return xN;case"multiple":default:return mA}}),t=xi(n,"selected",n.selected,M=>T.value.in(M,r.value,S.value),M=>T.value.out(M,r.value,S.value));kl(()=>{e=!0});function d(M){const v=[];let f=M;for(;f!=null;)v.unshift(f),f=S.value.get(f);return v}const g=Ss("nested"),i={id:Wr(),root:{opened:D,selected:t,selectedValues:cn(()=>{const M=[];for(const[v,f]of t.value.entries())f==="on"&&M.push(v);return M}),register:(M,v,f)=>{v&&M!==v&&S.value.set(M,v),f&&r.value.set(M,[]),v!=null&&r.value.set(v,[...r.value.get(v)||[],M])},unregister:M=>{if(e)return;r.value.delete(M);const v=S.value.get(M);if(v){const f=r.value.get(v)??[];r.value.set(v,f.filter(l=>l!==M))}S.value.delete(M),D.value.delete(M)},open:(M,v,f)=>{g.emit("click:open",{id:M,value:v,path:d(M),event:f});const l=p.value.open({id:M,value:v,opened:new Set(D.value),children:r.value,parents:S.value,event:f});l&&(D.value=l)},openOnSelect:(M,v,f)=>{const l=p.value.select({id:M,value:v,selected:new Map(t.value),opened:new Set(D.value),children:r.value,parents:S.value,event:f});l&&(D.value=l)},select:(M,v,f)=>{g.emit("click:select",{id:M,value:v,path:d(M),event:f});const l=T.value.select({id:M,value:v,selected:new Map(t.value),children:r.value,parents:S.value,event:f});l&&(t.value=l),i.root.openOnSelect(M,v,f)},children:r,parents:S}};return ts(Vm,i),i.root},yA=(n,e)=>{const r=ka(Vm,vA),S=Symbol(Js()),D=cn(()=>n.value!==void 0?n.value:S),T={...r,id:D,open:(p,t)=>r.root.open(D.value,p,t),openOnSelect:(p,t)=>r.root.openOnSelect(D.value,p,t),isOpen:cn(()=>r.root.opened.value.has(D.value)),parent:cn(()=>r.root.parents.value.get(D.value)),select:(p,t)=>r.root.select(D.value,p,t),isSelected:cn(()=>r.root.selected.value.get(wi(D.value))==="on"),isIndeterminate:cn(()=>r.root.selected.value.get(D.value)==="indeterminate"),isLeaf:cn(()=>!r.root.children.value.get(D.value)),isGroupActivator:r.isGroupActivator};return!r.isGroupActivator&&r.root.register(D.value,r.id.value,e),kl(()=>{!r.isGroupActivator&&r.root.unregister(D.value)}),e&&ts(Vm,T),T},SN=()=>{const n=ka(Vm,vA);ts(Vm,{...n,isGroupActivator:!0})},CN=ac({name:"VListGroupActivator",setup(n,e){let{slots:r}=e;return SN(),()=>{var S;return(S=r.default)==null?void 0:S.call(r)}}}),EN=ur({activeColor:String,baseColor:String,color:String,collapseIcon:{type:bi,default:"$collapse"},expandIcon:{type:bi,default:"$expand"},prependIcon:bi,appendIcon:bi,fluid:Boolean,subgroup:Boolean,title:String,value:null,...Zr(),...Si()},"VListGroup"),Tx=Ar()({name:"VListGroup",props:EN(),setup(n,e){let{slots:r}=e;const{isOpen:S,open:D,id:T}=yA(Cr(n,"value"),!0),p=cn(()=>`v-list-group--id-${String(T.value)}`),t=pA(),{isBooted:d}=tp();function g(f){D(!S.value,f)}const i=cn(()=>({onClick:g,class:"v-list-group__header",id:p.value})),M=cn(()=>S.value?n.collapseIcon:n.expandIcon),v=cn(()=>({VListItem:{active:S.value,activeColor:n.activeColor,baseColor:n.baseColor,color:n.color,prependIcon:n.prependIcon||n.subgroup&&M.value,appendIcon:n.appendIcon||!n.subgroup&&M.value,title:n.title,value:n.value}}));return Or(()=>gt(n.tag,{class:["v-list-group",{"v-list-group--prepend":t==null?void 0:t.hasPrepend.value,"v-list-group--fluid":n.fluid,"v-list-group--subgroup":n.subgroup,"v-list-group--open":S.value},n.class],style:n.style},{default:()=>[r.activator&>(Fa,{defaults:v.value},{default:()=>[gt(CN,null,{default:()=>[r.activator({props:i.value,isOpen:S.value})]})]}),gt(Oc,{transition:{component:e1},disabled:!d.value},{default:()=>{var f;return[Co(gt("div",{class:"v-list-group__items",role:"group","aria-labelledby":p.value},[(f=r.default)==null?void 0:f.call(r)]),[[kh,S.value]])]}})]})),{}}});const bA=Nc("v-list-item-subtitle"),xA=Nc("v-list-item-title"),LN=ur({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:bi,baseColor:String,disabled:Boolean,lines:String,link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:bi,ripple:{type:[Boolean,Object],default:!0},subtitle:[String,Number,Boolean],title:[String,Number,Boolean],value:null,onClick:yh(),onClickOnce:yh(),...Su(),...Zr(),...ds(),...sc(),...fs(),...uo(),...lg(),...Si(),...oa(),...cc({variant:"text"})},"VListItem"),af=Ar()({name:"VListItem",directives:{Ripple:nd},props:LN(),emits:{click:n=>!0},setup(n,e){let{attrs:r,slots:S,emit:D}=e;const T=sg(n,r),p=cn(()=>n.value===void 0?T.href.value:n.value),{select:t,isSelected:d,isIndeterminate:g,isGroupActivator:i,root:M,parent:v,openOnSelect:f}=yA(p,!1),l=pA(),a=cn(()=>{var O;return n.active!==!1&&(n.active||((O=T.isActive)==null?void 0:O.value)||d.value)}),u=cn(()=>n.link!==!1&&T.isLink.value),o=cn(()=>!n.disabled&&n.link!==!1&&(n.link||T.isClickable.value||n.value!=null&&!!l)),s=cn(()=>n.rounded||n.nav),h=cn(()=>n.color??n.activeColor),c=cn(()=>({color:a.value?h.value??n.baseColor:n.baseColor,variant:n.variant}));$r(()=>{var O;return(O=T.isActive)==null?void 0:O.value},O=>{O&&v.value!=null&&M.open(v.value,!0),O&&f(O)},{immediate:!0});const{themeClasses:m}=Ma(n),{borderClasses:w}=uc(n),{colorClasses:y,colorStyles:C,variantClasses:_}=rp(c),{densityClasses:k}=Qs(n),{dimensionStyles:E}=lc(n),{elevationClasses:x}=Vs(n),{roundedClasses:A}=Eo(s),L=cn(()=>n.lines?`v-list-item--${n.lines}-line`:void 0),b=cn(()=>({isActive:a.value,select:t,isSelected:d.value,isIndeterminate:g.value}));function R(O){var z;D("click",O),!(i||!o.value)&&((z=T.navigate)==null||z.call(T,O),n.value!=null&&t(!d.value,O))}function I(O){(O.key==="Enter"||O.key===" ")&&(O.preventDefault(),R(O))}return Or(()=>{const O=u.value?"a":n.tag,z=S.title||n.title,F=S.subtitle||n.subtitle,B=!!(n.appendAvatar||n.appendIcon),N=!!(B||S.append),W=!!(n.prependAvatar||n.prependIcon),j=!!(W||S.prepend);return l==null||l.updateHasPrepend(j),n.activeColor&&aF("active-color",["color","base-color"]),Co(gt(O,{class:["v-list-item",{"v-list-item--active":a.value,"v-list-item--disabled":n.disabled,"v-list-item--link":o.value,"v-list-item--nav":n.nav,"v-list-item--prepend":!j&&(l==null?void 0:l.hasPrepend.value),[`${n.activeClass}`]:n.activeClass&&a.value},m.value,w.value,y.value,k.value,x.value,L.value,A.value,_.value,n.class],style:[C.value,E.value,n.style],href:T.href.value,tabindex:o.value?l?-2:0:void 0,onClick:R,onKeydown:o.value&&!u.value&&I},{default:()=>{var $;return[np(o.value||a.value,"v-list-item"),j&>("div",{key:"prepend",class:"v-list-item__prepend"},[S.prepend?gt(Fa,{key:"prepend-defaults",disabled:!W,defaults:{VAvatar:{density:n.density,image:n.prependAvatar},VIcon:{density:n.density,icon:n.prependIcon},VListItemAction:{start:!0}}},{default:()=>{var U;return[(U=S.prepend)==null?void 0:U.call(S,b.value)]}}):gt(Yr,null,[n.prependAvatar&>(Zf,{key:"prepend-avatar",density:n.density,image:n.prependAvatar},null),n.prependIcon&>(ja,{key:"prepend-icon",density:n.density,icon:n.prependIcon},null)]),gt("div",{class:"v-list-item__spacer"},null)]),gt("div",{class:"v-list-item__content","data-no-activator":""},[z&>(xA,{key:"title"},{default:()=>{var U;return[((U=S.title)==null?void 0:U.call(S,{title:n.title}))??n.title]}}),F&>(bA,{key:"subtitle"},{default:()=>{var U;return[((U=S.subtitle)==null?void 0:U.call(S,{subtitle:n.subtitle}))??n.subtitle]}}),($=S.default)==null?void 0:$.call(S,b.value)]),N&>("div",{key:"append",class:"v-list-item__append"},[S.append?gt(Fa,{key:"append-defaults",disabled:!B,defaults:{VAvatar:{density:n.density,image:n.appendAvatar},VIcon:{density:n.density,icon:n.appendIcon},VListItemAction:{end:!0}}},{default:()=>{var U;return[(U=S.append)==null?void 0:U.call(S,b.value)]}}):gt(Yr,null,[n.appendIcon&>(ja,{key:"append-icon",density:n.density,icon:n.appendIcon},null),n.appendAvatar&>(Zf,{key:"append-avatar",density:n.density,image:n.appendAvatar},null)]),gt("div",{class:"v-list-item__spacer"},null)])]}}),[[Tu("ripple"),o.value&&n.ripple]])}),{}}}),IN=ur({color:String,inset:Boolean,sticky:Boolean,title:String,...Zr(),...Si()},"VListSubheader"),_A=Ar()({name:"VListSubheader",props:IN(),setup(n,e){let{slots:r}=e;const{textColorClasses:S,textColorStyles:D}=Xs(Cr(n,"color"));return Or(()=>{const T=!!(r.default||n.title);return gt(n.tag,{class:["v-list-subheader",{"v-list-subheader--inset":n.inset,"v-list-subheader--sticky":n.sticky},S.value,n.class],style:[{textColorStyles:D},n.style]},{default:()=>{var p;return[T&>("div",{class:"v-list-subheader__text"},[((p=r.default)==null?void 0:p.call(r))??n.title])]}})}),{}}});const RN=ur({color:String,inset:Boolean,length:[Number,String],thickness:[Number,String],vertical:Boolean,...Zr(),...oa()},"VDivider"),wA=Ar()({name:"VDivider",props:RN(),setup(n,e){let{attrs:r}=e;const{themeClasses:S}=Ma(n),{textColorClasses:D,textColorStyles:T}=Xs(Cr(n,"color")),p=cn(()=>{const t={};return n.length&&(t[n.vertical?"maxHeight":"maxWidth"]=Qr(n.length)),n.thickness&&(t[n.vertical?"borderRightWidth":"borderTopWidth"]=Qr(n.thickness)),t});return Or(()=>gt("hr",{class:[{"v-divider":!0,"v-divider--inset":n.inset,"v-divider--vertical":n.vertical},S.value,D.value,n.class],style:[p.value,T.value,n.style],"aria-orientation":!r.role||r.role==="separator"?n.vertical?"vertical":"horizontal":void 0,role:`${r.role||"separator"}`},null)),{}}}),PN=ur({items:Array},"VListChildren"),TA=Ar()({name:"VListChildren",props:PN(),setup(n,e){let{slots:r}=e;return dA(),()=>{var S,D;return((S=r.default)==null?void 0:S.call(r))??((D=n.items)==null?void 0:D.map(T=>{var f,l;let{children:p,props:t,type:d,raw:g}=T;if(d==="divider")return((f=r.divider)==null?void 0:f.call(r,{props:t}))??gt(wA,t,null);if(d==="subheader")return((l=r.subheader)==null?void 0:l.call(r,{props:t}))??gt(_A,t,null);const i={subtitle:r.subtitle?a=>{var u;return(u=r.subtitle)==null?void 0:u.call(r,{...a,item:g})}:void 0,prepend:r.prepend?a=>{var u;return(u=r.prepend)==null?void 0:u.call(r,{...a,item:g})}:void 0,append:r.append?a=>{var u;return(u=r.append)==null?void 0:u.call(r,{...a,item:g})}:void 0,title:r.title?a=>{var u;return(u=r.title)==null?void 0:u.call(r,{...a,item:g})}:void 0},[M,v]=Tx.filterProps(t);return p?gt(Tx,qr({value:t==null?void 0:t.value},M),{activator:a=>{let{props:u}=a;return r.header?r.header({props:{...t,...u}}):gt(af,qr(t,u),i)},default:()=>gt(TA,{items:p},r)}):r.item?r.item({props:t}):gt(af,t,i)}))}}}),kA=ur({items:{type:Array,default:()=>[]},itemTitle:{type:[String,Array,Function],default:"title"},itemValue:{type:[String,Array,Function],default:"value"},itemChildren:{type:[Boolean,String,Array,Function],default:"children"},itemProps:{type:[Boolean,String,Array,Function],default:"props"},returnObject:Boolean,valueComparator:{type:Function,default:b0}},"list-items");function zd(n,e){const r=ph(e,n.itemTitle,e),S=ph(e,n.itemValue,r),D=ph(e,n.itemChildren),T=n.itemProps===!0?typeof e=="object"&&e!=null&&!Array.isArray(e)?"children"in e?$d(e,["children"])[1]:e:void 0:ph(e,n.itemProps),p={title:r,value:S,...T};return{title:String(p.title??""),value:p.value,props:p,children:Array.isArray(D)?MA(n,D):void 0,raw:e}}function MA(n,e){const r=[];for(const S of e)r.push(zd(n,S));return r}function x_(n){const e=cn(()=>MA(n,n.items)),r=cn(()=>e.value.some(T=>T.value===null));function S(T){return r.value||(T=T.filter(p=>p!==null)),T.map(p=>n.returnObject&&typeof p=="string"?zd(n,p):e.value.find(t=>n.valueComparator(p,t.value))||zd(n,p))}function D(T){return n.returnObject?T.map(p=>{let{raw:t}=p;return t}):T.map(p=>{let{value:t}=p;return t})}return{items:e,transformIn:S,transformOut:D}}function ON(n){return typeof n=="string"||typeof n=="number"||typeof n=="boolean"}function DN(n,e){const r=ph(e,n.itemType,"item"),S=ON(e)?e:ph(e,n.itemTitle),D=ph(e,n.itemValue,void 0),T=ph(e,n.itemChildren),p=n.itemProps===!0?$d(e,["children"])[1]:ph(e,n.itemProps),t={title:S,value:D,...p};return{type:r,title:t.title,value:t.value,props:t,children:r==="item"&&T?AA(n,T):void 0,raw:e}}function AA(n,e){const r=[];for(const S of e)r.push(DN(n,S));return r}function zN(n){return{items:cn(()=>AA(n,n.items))}}const FN=ur({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,lines:{type:[Boolean,String],default:"one"},nav:Boolean,...MN({selectStrategy:"single-leaf",openStrategy:"list"}),...Su(),...Zr(),...ds(),...sc(),...fs(),itemType:{type:String,default:"type"},...kA(),...uo(),...Si(),...oa(),...cc({variant:"text"})},"VList"),a1=Ar()({name:"VList",props:FN(),emits:{"update:selected":n=>!0,"update:opened":n=>!0,"click:open":n=>!0,"click:select":n=>!0},setup(n,e){let{slots:r}=e;const{items:S}=zN(n),{themeClasses:D}=Ma(n),{backgroundColorClasses:T,backgroundColorStyles:p}=Oo(Cr(n,"bgColor")),{borderClasses:t}=uc(n),{densityClasses:d}=Qs(n),{dimensionStyles:g}=lc(n),{elevationClasses:i}=Vs(n),{roundedClasses:M}=Eo(n),{open:v,select:f}=AN(n),l=cn(()=>n.lines?`v-list--${n.lines}-line`:void 0),a=Cr(n,"activeColor"),u=Cr(n,"baseColor"),o=Cr(n,"color");dA(),es({VListGroup:{activeColor:a,baseColor:u,color:o},VListItem:{activeClass:Cr(n,"activeClass"),activeColor:a,baseColor:u,color:o,density:Cr(n,"density"),disabled:Cr(n,"disabled"),lines:Cr(n,"lines"),nav:Cr(n,"nav"),variant:Cr(n,"variant")}});const s=Wr(!1),h=Vr();function c(_){s.value=!0}function m(_){s.value=!1}function w(_){var k;!s.value&&!(_.relatedTarget&&((k=h.value)!=null&&k.contains(_.relatedTarget)))&&C()}function y(_){if(h.value){if(_.key==="ArrowDown")C("next");else if(_.key==="ArrowUp")C("prev");else if(_.key==="Home")C("first");else if(_.key==="End")C("last");else return;_.preventDefault()}}function C(_){if(h.value)return uy(h.value,_)}return Or(()=>gt(n.tag,{ref:h,class:["v-list",{"v-list--disabled":n.disabled,"v-list--nav":n.nav},D.value,T.value,t.value,d.value,i.value,l.value,M.value,n.class],style:[p.value,g.value,n.style],tabindex:n.disabled||s.value?-1:0,role:"listbox","aria-activedescendant":void 0,onFocusin:c,onFocusout:m,onFocus:w,onKeydown:y},{default:()=>[gt(TA,{items:S.value},r)]})),{open:v,select:f,focus:C}}}),BN=Nc("v-list-img"),NN=ur({start:Boolean,end:Boolean,...Zr(),...Si()},"VListItemAction"),VN=Ar()({name:"VListItemAction",props:NN(),setup(n,e){let{slots:r}=e;return Or(()=>gt(n.tag,{class:["v-list-item-action",{"v-list-item-action--start":n.start,"v-list-item-action--end":n.end},n.class],style:n.style},r)),{}}}),jN=ur({start:Boolean,end:Boolean,...Zr(),...Si()},"VListItemMedia"),UN=Ar()({name:"VListItemMedia",props:jN(),setup(n,e){let{slots:r}=e;return Or(()=>gt(n.tag,{class:["v-list-item-media",{"v-list-item-media--start":n.start,"v-list-item-media--end":n.end},n.class],style:n.style},r)),{}}});function xb(n,e){return{x:n.x+e.x,y:n.y+e.y}}function HN(n,e){return{x:n.x-e.x,y:n.y-e.y}}function tT(n,e){if(n.side==="top"||n.side==="bottom"){const{side:r,align:S}=n,D=S==="left"?0:S==="center"?e.width/2:S==="right"?e.width:S,T=r==="top"?0:r==="bottom"?e.height:r;return xb({x:D,y:T},e)}else if(n.side==="left"||n.side==="right"){const{side:r,align:S}=n,D=r==="left"?0:r==="right"?e.width:r,T=S==="top"?0:S==="center"?e.height/2:S==="bottom"?e.height:S;return xb({x:D,y:T},e)}return xb({x:e.width/2,y:e.height/2},e)}const SA={static:WN,connected:$N},GN=ur({locationStrategy:{type:[String,Function],default:"static",validator:n=>typeof n=="function"||n in SA},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function qN(n,e){const r=Vr({}),S=Vr();to&&($f(()=>!!(e.isActive.value&&n.locationStrategy),T=>{var p,t;$r(()=>n.locationStrategy,T),Tl(()=>{S.value=void 0}),typeof n.locationStrategy=="function"?S.value=(p=n.locationStrategy(e,n,r))==null?void 0:p.updateLocation:S.value=(t=SA[n.locationStrategy](e,n,r))==null?void 0:t.updateLocation}),window.addEventListener("resize",D,{passive:!0}),Tl(()=>{window.removeEventListener("resize",D),S.value=void 0}));function D(T){var p;(p=S.value)==null||p.call(S,T)}return{contentStyles:r,updateLocation:S}}function WN(){}function YN(n,e){e?n.style.removeProperty("left"):n.style.removeProperty("right");const r=J2(n);return e?r.x+=parseFloat(n.style.right||0):r.x-=parseFloat(n.style.left||0),r.y-=parseFloat(n.style.top||0),r}function $N(n,e,r){wF(n.activatorEl.value)&&Object.assign(r.value,{position:"fixed",top:0,[n.isRtl.value?"right":"left"]:0});const{preferredAnchor:D,preferredOrigin:T}=X2(()=>{const l=lx(e.location,n.isRtl.value),a=e.origin==="overlap"?l:e.origin==="auto"?gb(l):lx(e.origin,n.isRtl.value);return l.side===a.side&&l.align===vb(a).align?{preferredAnchor:M5(l),preferredOrigin:M5(a)}:{preferredAnchor:l,preferredOrigin:a}}),[p,t,d,g]=["minWidth","minHeight","maxWidth","maxHeight"].map(l=>cn(()=>{const a=parseFloat(e[l]);return isNaN(a)?1/0:a})),i=cn(()=>{if(Array.isArray(e.offset))return e.offset;if(typeof e.offset=="string"){const l=e.offset.split(" ").map(parseFloat);return l.length<2&&l.push(0),l}return typeof e.offset=="number"?[e.offset,0]:[0,0]});let M=!1;const v=new ResizeObserver(()=>{M&&f()});$r([n.activatorEl,n.contentEl],(l,a)=>{let[u,o]=l,[s,h]=a;s&&v.unobserve(s),u&&v.observe(u),h&&v.unobserve(h),o&&v.observe(o)},{immediate:!0}),Tl(()=>{v.disconnect()});function f(){if(M=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>M=!0)}),!n.activatorEl.value||!n.contentEl.value)return;const l=n.activatorEl.value.getBoundingClientRect(),a=YN(n.contentEl.value,n.isRtl.value),u=hy(n.contentEl.value),o=12;u.length||(u.push(document.documentElement),n.contentEl.value.style.top&&n.contentEl.value.style.left||(a.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),a.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const s=u.reduce((E,x)=>{const A=x.getBoundingClientRect(),L=new Yp({x:x===document.documentElement?0:A.x,y:x===document.documentElement?0:A.y,width:x.clientWidth,height:x.clientHeight});return E?new Yp({x:Math.max(E.left,L.left),y:Math.max(E.top,L.top),width:Math.min(E.right,L.right)-Math.max(E.left,L.left),height:Math.min(E.bottom,L.bottom)-Math.max(E.top,L.top)}):L},void 0);s.x+=o,s.y+=o,s.width-=o*2,s.height-=o*2;let h={anchor:D.value,origin:T.value};function c(E){const x=new Yp(a),A=tT(E.anchor,l),L=tT(E.origin,x);let{x:b,y:R}=HN(A,L);switch(E.anchor.side){case"top":R-=i.value[0];break;case"bottom":R+=i.value[0];break;case"left":b-=i.value[0];break;case"right":b+=i.value[0];break}switch(E.anchor.align){case"top":R-=i.value[1];break;case"bottom":R+=i.value[1];break;case"left":b-=i.value[1];break;case"right":b+=i.value[1];break}return x.x+=b,x.y+=R,x.width=Math.min(x.width,d.value),x.height=Math.min(x.height,g.value),{overflows:S5(x,s),x:b,y:R}}let m=0,w=0;const y={x:0,y:0},C={x:!1,y:!1};let _=-1;for(;!(_++>10);){const{x:E,y:x,overflows:A}=c(h);m+=E,w+=x,a.x+=E,a.y+=x;{const L=A5(h.anchor),b=A.x.before||A.x.after,R=A.y.before||A.y.after;let I=!1;if(["x","y"].forEach(O=>{if(O==="x"&&b&&!C.x||O==="y"&&R&&!C.y){const z={anchor:{...h.anchor},origin:{...h.origin}},F=O==="x"?L==="y"?vb:gb:L==="y"?gb:vb;z.anchor=F(z.anchor),z.origin=F(z.origin);const{overflows:B}=c(z);(B[O].before<=A[O].before&&B[O].after<=A[O].after||B[O].before+B[O].after<(A[O].before+A[O].after)/2)&&(h=z,I=C[O]=!0)}}),I)continue}A.x.before&&(m+=A.x.before,a.x+=A.x.before),A.x.after&&(m-=A.x.after,a.x-=A.x.after),A.y.before&&(w+=A.y.before,a.y+=A.y.before),A.y.after&&(w-=A.y.after,a.y-=A.y.after);{const L=S5(a,s);y.x=s.width-L.x.before-L.x.after,y.y=s.height-L.y.before-L.y.after,m+=L.x.before,a.x+=L.x.before,w+=L.y.before,a.y+=L.y.before}break}const k=A5(h.anchor);return Object.assign(r.value,{"--v-overlay-anchor-origin":`${h.anchor.side} ${h.anchor.align}`,transformOrigin:`${h.origin.side} ${h.origin.align}`,top:Qr(_b(w)),left:n.isRtl.value?void 0:Qr(_b(m)),right:n.isRtl.value?Qr(_b(-m)):void 0,minWidth:Qr(k==="y"?Math.min(p.value,l.width):p.value),maxWidth:Qr(nT(Zs(y.x,p.value===1/0?0:p.value,d.value))),maxHeight:Qr(nT(Zs(y.y,t.value===1/0?0:t.value,g.value)))}),{available:y,contentBox:a}}return $r(()=>[D.value,T.value,e.offset,e.minWidth,e.minHeight,e.maxWidth,e.maxHeight],()=>f()),Ua(()=>{const l=f();if(!l)return;const{available:a,contentBox:u}=l;u.height>a.y&&requestAnimationFrame(()=>{f(),requestAnimationFrame(()=>{f()})})}),{updateLocation:f}}function _b(n){return Math.round(n*devicePixelRatio)/devicePixelRatio}function nT(n){return Math.ceil(n*devicePixelRatio)/devicePixelRatio}let kx=!0;const py=[];function ZN(n){!kx||py.length?(py.push(n),Mx()):(kx=!1,n(),Mx())}let rT=-1;function Mx(){cancelAnimationFrame(rT),rT=requestAnimationFrame(()=>{const n=py.shift();n&&n(),py.length?Mx():kx=!0})}const Mv={none:null,close:JN,block:QN,reposition:eV},XN=ur({scrollStrategy:{type:[String,Function],default:"block",validator:n=>typeof n=="function"||n in Mv}},"VOverlay-scroll-strategies");function KN(n,e){if(!to)return;let r;wu(async()=>{r==null||r.stop(),e.isActive.value&&n.scrollStrategy&&(r=Um(),await Ua(),r.active&&r.run(()=>{var S;typeof n.scrollStrategy=="function"?n.scrollStrategy(e,n,r):(S=Mv[n.scrollStrategy])==null||S.call(Mv,e,n,r)}))}),Tl(()=>{r==null||r.stop()})}function JN(n){function e(r){n.isActive.value=!1}CA(n.activatorEl.value??n.contentEl.value,e)}function QN(n,e){var p;const r=(p=n.root.value)==null?void 0:p.offsetParent,S=[...new Set([...hy(n.activatorEl.value,e.contained?r:void 0),...hy(n.contentEl.value,e.contained?r:void 0)])].filter(t=>!t.classList.contains("v-overlay-scroll-blocked")),D=window.innerWidth-document.documentElement.offsetWidth,T=(t=>n_(t)&&t)(r||document.documentElement);T&&n.root.value.classList.add("v-overlay--scroll-blocked"),S.forEach((t,d)=>{t.style.setProperty("--v-body-scroll-x",Qr(-t.scrollLeft)),t.style.setProperty("--v-body-scroll-y",Qr(-t.scrollTop)),t!==document.documentElement&&t.style.setProperty("--v-scrollbar-offset",Qr(D)),t.classList.add("v-overlay-scroll-blocked")}),Tl(()=>{S.forEach((t,d)=>{const g=parseFloat(t.style.getPropertyValue("--v-body-scroll-x")),i=parseFloat(t.style.getPropertyValue("--v-body-scroll-y"));t.style.removeProperty("--v-body-scroll-x"),t.style.removeProperty("--v-body-scroll-y"),t.style.removeProperty("--v-scrollbar-offset"),t.classList.remove("v-overlay-scroll-blocked"),t.scrollLeft=-g,t.scrollTop=-i}),T&&n.root.value.classList.remove("v-overlay--scroll-blocked")})}function eV(n,e,r){let S=!1,D=-1,T=-1;function p(t){ZN(()=>{var i,M;const d=performance.now();(M=(i=n.updateLocation).value)==null||M.call(i,t),S=(performance.now()-d)/(1e3/60)>2})}T=(typeof requestIdleCallback>"u"?t=>t():requestIdleCallback)(()=>{r.run(()=>{CA(n.activatorEl.value??n.contentEl.value,t=>{S?(cancelAnimationFrame(D),D=requestAnimationFrame(()=>{D=requestAnimationFrame(()=>{p(t)})})):p(t)})})}),Tl(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(T),cancelAnimationFrame(D)})}function CA(n,e){const r=[document,...hy(n)];r.forEach(S=>{S.addEventListener("scroll",e,{passive:!0})}),Tl(()=>{r.forEach(S=>{S.removeEventListener("scroll",e)})})}const Ax=Symbol.for("vuetify:v-menu"),EA=ur({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function LA(n,e){const r={},S=D=>()=>{if(!to)return Promise.resolve(!0);const T=D==="openDelay";return r.closeDelay&&window.clearTimeout(r.closeDelay),delete r.closeDelay,r.openDelay&&window.clearTimeout(r.openDelay),delete r.openDelay,new Promise(p=>{const t=parseInt(n[D]??0,10);r[D]=window.setTimeout(()=>{e==null||e(T),p(T)},t)})};return{runCloseDelay:S("closeDelay"),runOpenDelay:S("openDelay")}}const tV=ur({activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...EA()},"VOverlay-activator");function nV(n,e){let{isActive:r,isTop:S}=e;const D=Vr();let T=!1,p=!1,t=!0;const d=cn(()=>n.openOnFocus||n.openOnFocus==null&&n.openOnHover),g=cn(()=>n.openOnClick||n.openOnClick==null&&!n.openOnHover&&!d.value),{runOpenDelay:i,runCloseDelay:M}=LA(n,h=>{h===(n.openOnHover&&T||d.value&&p)&&!(n.openOnHover&&r.value&&!S.value)&&(r.value!==h&&(t=!0),r.value=h)}),v={onClick:h=>{h.stopPropagation(),D.value=h.currentTarget||h.target,r.value=!r.value},onMouseenter:h=>{var c;(c=h.sourceCapabilities)!=null&&c.firesTouchEvents||(T=!0,D.value=h.currentTarget||h.target,i())},onMouseleave:h=>{T=!1,M()},onFocus:h=>{l0(h.target,":focus-visible")!==!1&&(p=!0,h.stopPropagation(),D.value=h.currentTarget||h.target,i())},onBlur:h=>{p=!1,h.stopPropagation(),M()}},f=cn(()=>{const h={};return g.value&&(h.onClick=v.onClick),n.openOnHover&&(h.onMouseenter=v.onMouseenter,h.onMouseleave=v.onMouseleave),d.value&&(h.onFocus=v.onFocus,h.onBlur=v.onBlur),h}),l=cn(()=>{const h={};if(n.openOnHover&&(h.onMouseenter=()=>{T=!0,i()},h.onMouseleave=()=>{T=!1,M()}),d.value&&(h.onFocusin=()=>{p=!0,i()},h.onFocusout=()=>{p=!1,M()}),n.closeOnContentClick){const c=ka(Ax,null);h.onClick=()=>{r.value=!1,c==null||c.closeParents()}}return h}),a=cn(()=>{const h={};return n.openOnHover&&(h.onMouseenter=()=>{t&&(T=!0,t=!1,i())},h.onMouseleave=()=>{T=!1,M()}),h});$r(S,h=>{h&&(n.openOnHover&&!T&&(!d.value||!p)||d.value&&!p&&(!n.openOnHover||!T))&&(r.value=!1)});const u=Vr();wu(()=>{u.value&&Ua(()=>{D.value=ox(u.value)})});const o=Ss("useActivator");let s;return $r(()=>!!n.activator,h=>{h&&to?(s=Um(),s.run(()=>{rV(n,o,{activatorEl:D,activatorEvents:f})})):s&&s.stop()},{flush:"post",immediate:!0}),Tl(()=>{s==null||s.stop()}),{activatorEl:D,activatorRef:u,activatorEvents:f,contentEvents:l,scrimEvents:a}}function rV(n,e,r){let{activatorEl:S,activatorEvents:D}=r;$r(()=>n.activator,(d,g)=>{if(g&&d!==g){const i=t(g);i&&p(i)}d&&Ua(()=>T())},{immediate:!0}),$r(()=>n.activatorProps,()=>{T()}),Tl(()=>{p()});function T(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:t(),g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:n.activatorProps;d&&Xz(d,qr(D.value,g))}function p(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:t(),g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:n.activatorProps;d&&Kz(d,qr(D.value,g))}function t(){var i,M;let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:n.activator,g;if(d)if(d==="parent"){let v=(M=(i=e==null?void 0:e.proxy)==null?void 0:i.$el)==null?void 0:M.parentNode;for(;v!=null&&v.hasAttribute("data-no-activator");)v=v.parentNode;g=v}else typeof d=="string"?g=document.querySelector(d):"$el"in d?g=d.$el:g=d;return S.value=(g==null?void 0:g.nodeType)===Node.ELEMENT_NODE?g:null,S.value}}function IA(){if(!to)return Wr(!1);const{ssr:n}=ep();if(n){const e=Wr(!1);return Ks(()=>{e.value=!0}),e}else return Wr(!0)}const o1=ur({eager:Boolean},"lazy");function __(n,e){const r=Wr(!1),S=cn(()=>r.value||n.eager||e.value);$r(e,()=>r.value=!0);function D(){n.eager||(r.value=!1)}return{isBooted:r,hasContent:S,onAfterLeave:D}}function E0(){const e=Ss("useScopeId").vnode.scopeId;return{scopeId:e?{[e]:""}:void 0}}const iT=Symbol.for("vuetify:stack"),am=yl([]);function iV(n,e,r){const S=Ss("useStack"),D=!r,T=ka(iT,void 0),p=yl({activeChildren:new Set});ts(iT,p);const t=Wr(+e.value);$f(n,()=>{var M;const i=(M=am.at(-1))==null?void 0:M[1];t.value=i?i+10:+e.value,D&&am.push([S.uid,t.value]),T==null||T.activeChildren.add(S.uid),Tl(()=>{if(D){const v=wi(am).findIndex(f=>f[0]===S.uid);am.splice(v,1)}T==null||T.activeChildren.delete(S.uid)})});const d=Wr(!0);D&&wu(()=>{var M;const i=((M=am.at(-1))==null?void 0:M[0])===S.uid;setTimeout(()=>d.value=i)});const g=cn(()=>!p.activeChildren.size);return{globalTop:Hm(d),localTop:g,stackStyles:cn(()=>({zIndex:t.value}))}}function aV(n){return{teleportTarget:cn(()=>{const r=n.value;if(r===!0||!to)return;const S=r===!1?document.body:typeof r=="string"?document.querySelector(r):r;if(S==null)return;let D=S.querySelector(":scope > .v-overlay-container");return D||(D=document.createElement("div"),D.className="v-overlay-container",S.appendChild(D)),D})}}function oV(){return!0}function RA(n,e,r){if(!n||PA(n,r)===!1)return!1;const S=S6(e);if(typeof ShadowRoot<"u"&&S instanceof ShadowRoot&&S.host===n.target)return!1;const D=(typeof r.value=="object"&&r.value.include||(()=>[]))();return D.push(e),!D.some(T=>T==null?void 0:T.contains(n.target))}function PA(n,e){return(typeof e.value=="object"&&e.value.closeConditional||oV)(n)}function sV(n,e,r){const S=typeof r.value=="function"?r.value:r.value.handler;e._clickOutside.lastMousedownWasOutside&&RA(n,e,r)&&setTimeout(()=>{PA(n,r)&&S&&S(n)},0)}function aT(n,e){const r=S6(n);e(document),typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&e(r)}const OA={mounted(n,e){const r=D=>sV(D,n,e),S=D=>{n._clickOutside.lastMousedownWasOutside=RA(D,n,e)};aT(n,D=>{D.addEventListener("click",r,!0),D.addEventListener("mousedown",S,!0)}),n._clickOutside||(n._clickOutside={lastMousedownWasOutside:!1}),n._clickOutside[e.instance.$.uid]={onClick:r,onMousedown:S}},unmounted(n,e){n._clickOutside&&(aT(n,r=>{var T;if(!r||!((T=n._clickOutside)!=null&&T[e.instance.$.uid]))return;const{onClick:S,onMousedown:D}=n._clickOutside[e.instance.$.uid];r.removeEventListener("click",S,!0),r.removeEventListener("mousedown",D,!0)}),delete n._clickOutside[e.instance.$.uid])}};function lV(n){const{modelValue:e,color:r,...S}=n;return gt(bh,{name:"fade-transition",appear:!0},{default:()=>[n.modelValue&>("div",qr({class:["v-overlay__scrim",n.color.backgroundColorClasses.value],style:n.color.backgroundColorStyles.value},S),null)]})}const cg=ur({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...tV(),...Zr(),...sc(),...o1(),...GN(),...XN(),...oa(),...df()},"VOverlay"),of=Ar()({name:"VOverlay",directives:{ClickOutside:OA},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...cg()},emits:{"click:outside":n=>!0,"update:modelValue":n=>!0,afterLeave:()=>!0},setup(n,e){let{slots:r,attrs:S,emit:D}=e;const T=xi(n,"modelValue"),p=cn({get:()=>T.value,set:z=>{z&&n.disabled||(T.value=z)}}),{teleportTarget:t}=aV(cn(()=>n.attach||n.contained)),{themeClasses:d}=Ma(n),{rtlClasses:g,isRtl:i}=Cs(),{hasContent:M,onAfterLeave:v}=__(n,p),f=Oo(cn(()=>typeof n.scrim=="string"?n.scrim:null)),{globalTop:l,localTop:a,stackStyles:u}=iV(p,Cr(n,"zIndex"),n._disableGlobalStack),{activatorEl:o,activatorRef:s,activatorEvents:h,contentEvents:c,scrimEvents:m}=nV(n,{isActive:p,isTop:a}),{dimensionStyles:w}=lc(n),y=IA(),{scopeId:C}=E0();$r(()=>n.disabled,z=>{z&&(p.value=!1)});const _=Vr(),k=Vr(),{contentStyles:E,updateLocation:x}=qN(n,{isRtl:i,contentEl:k,activatorEl:o,isActive:p});KN(n,{root:_,contentEl:k,activatorEl:o,isActive:p,updateLocation:x});function A(z){D("click:outside",z),n.persistent?O():p.value=!1}function L(){return p.value&&l.value}to&&$r(p,z=>{z?window.addEventListener("keydown",b):window.removeEventListener("keydown",b)},{immediate:!0});function b(z){var F,B;z.key==="Escape"&&l.value&&(n.persistent?O():(p.value=!1,(F=k.value)!=null&&F.contains(document.activeElement)&&((B=o.value)==null||B.focus())))}const R=$6();$f(()=>n.closeOnBack,()=>{ZB(R,z=>{l.value&&p.value?(z(!1),n.persistent?O():p.value=!1):z()})});const I=Vr();$r(()=>p.value&&(n.absolute||n.contained)&&t.value==null,z=>{if(z){const F=t_(_.value);F&&F!==document.scrollingElement&&(I.value=F.scrollTop)}});function O(){n.noClickAnimation||k.value&&Dd(k.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:zm})}return Or(()=>{var z;return gt(Yr,null,[(z=r.activator)==null?void 0:z.call(r,{isActive:p.value,props:qr({ref:s},h.value,n.activatorProps)}),y.value&&M.value&>(BE,{disabled:!t.value,to:t.value},{default:()=>[gt("div",qr({class:["v-overlay",{"v-overlay--absolute":n.absolute||n.contained,"v-overlay--active":p.value,"v-overlay--contained":n.contained},d.value,g.value,n.class],style:[u.value,{top:Qr(I.value)},n.style],ref:_},C,S),[gt(lV,qr({color:f,modelValue:p.value&&!!n.scrim},m.value),null),gt(Oc,{appear:!0,persisted:!0,transition:n.transition,target:o.value,onAfterLeave:()=>{v(),D("afterLeave")}},{default:()=>{var F;return[Co(gt("div",qr({ref:k,class:["v-overlay__content",n.contentClass],style:[w.value,E.value]},c.value,n.contentProps),[(F=r.default)==null?void 0:F.call(r,{isActive:p})]),[[kh,p.value],[Tu("click-outside"),{handler:A,closeConditional:L,include:()=>[o.value]}]])]}})])]})])}),{activatorEl:o,animateClick:O,contentEl:k,globalTop:l,localTop:a,updateLocation:x}}}),wb=Symbol("Forwarded refs");function Tb(n,e){let r=n;for(;r;){const S=Reflect.getOwnPropertyDescriptor(r,e);if(S)return S;r=Object.getPrototypeOf(r)}}function Vc(n){for(var e=arguments.length,r=new Array(e>1?e-1:0),S=1;S!0},setup(n,e){let{slots:r}=e;const S=xi(n,"modelValue"),{scopeId:D}=E0(),T=Js(),p=cn(()=>n.id||`v-menu-${T}`),t=Vr(),d=ka(Ax,null),g=Wr(0);ts(Ax,{register(){++g.value},unregister(){--g.value},closeParents(){setTimeout(()=>{g.value||(S.value=!1,d==null||d.closeParents())},40)}});async function i(a){var s,h,c;const u=a.relatedTarget,o=a.target;await Ua(),S.value&&u!==o&&((s=t.value)!=null&&s.contentEl)&&((h=t.value)!=null&&h.globalTop)&&![document,t.value.contentEl].includes(o)&&!t.value.contentEl.contains(o)&&((c=Dm(t.value.contentEl)[0])==null||c.focus())}$r(S,a=>{a?(d==null||d.register(),document.addEventListener("focusin",i,{once:!0})):(d==null||d.unregister(),document.removeEventListener("focusin",i))});function M(){d==null||d.closeParents()}function v(a){var u,o,s;n.disabled||a.key==="Tab"&&(p6(Dm((u=t.value)==null?void 0:u.contentEl,!1),a.shiftKey?"prev":"next",c=>c.tabIndex>=0)||(S.value=!1,(s=(o=t.value)==null?void 0:o.activatorEl)==null||s.focus()))}function f(a){var o;if(n.disabled)return;const u=(o=t.value)==null?void 0:o.contentEl;u&&S.value?a.key==="ArrowDown"?(a.preventDefault(),uy(u,"next")):a.key==="ArrowUp"&&(a.preventDefault(),uy(u,"prev")):["ArrowDown","ArrowUp"].includes(a.key)&&(S.value=!0,a.preventDefault(),setTimeout(()=>setTimeout(()=>f(a))))}const l=cn(()=>qr({"aria-haspopup":"menu","aria-expanded":String(S.value),"aria-owns":p.value,onKeydown:f},n.activatorProps));return Or(()=>{const[a]=of.filterProps(n);return gt(of,qr({ref:t,class:["v-menu",n.class],style:n.style},a,{modelValue:S.value,"onUpdate:modelValue":u=>S.value=u,absolute:!0,activatorProps:l.value,"onClick:outside":M,onKeydown:v},D),{activator:r.activator,default:function(){for(var u=arguments.length,o=new Array(u),s=0;s{var h;return[(h=r.default)==null?void 0:h.call(r,...o)]}})}})}),Vc({id:p,ΨopenChildren:g},t)}});const cV=ur({active:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...Zr(),...df({transition:{component:l_}})},"VCounter"),l1=Ar()({name:"VCounter",functional:!0,props:cV(),setup(n,e){let{slots:r}=e;const S=cn(()=>n.max?`${n.value} / ${n.max}`:String(n.value));return Or(()=>gt(Oc,{transition:n.transition},{default:()=>[Co(gt("div",{class:["v-counter",n.class],style:n.style},[r.default?r.default({counter:S.value,max:n.max,value:n.value}):S.value]),[[kh,n.active]])]})),{}}});const hV=ur({floating:Boolean,...Zr()},"VFieldLabel"),um=Ar()({name:"VFieldLabel",props:hV(),setup(n,e){let{slots:r}=e;return Or(()=>gt(C0,{class:["v-field-label",{"v-field-label--floating":n.floating},n.class],style:n.style,"aria-hidden":n.floating||void 0},r)),{}}}),fV=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],u1=ur({appendInnerIcon:bi,bgColor:String,clearable:Boolean,clearIcon:{type:bi,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:bi,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:n=>fV.includes(n)},"onClick:clear":yh(),"onClick:appendInner":yh(),"onClick:prependInner":yh(),...Zr(),...m_(),...uo(),...oa()},"VField"),hg=Ar()({name:"VField",inheritAttrs:!1,props:{id:String,...r1(),...u1()},emits:{"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:S,slots:D}=e;const{themeClasses:T}=Ma(n),{loaderClasses:p}=t1(n),{focusClasses:t,isFocused:d,focus:g,blur:i}=rd(n),{InputIcon:M}=sA(n),{roundedClasses:v}=Eo(n),{rtlClasses:f}=Cs(),l=cn(()=>n.dirty||n.active),a=cn(()=>!n.singleLine&&!!(n.label||D.label)),u=Js(),o=cn(()=>n.id||`input-${u}`),s=cn(()=>`${o.value}-messages`),h=Vr(),c=Vr(),m=Vr(),w=cn(()=>["plain","underlined"].includes(n.variant)),{backgroundColorClasses:y,backgroundColorStyles:C}=Oo(Cr(n,"bgColor")),{textColorClasses:_,textColorStyles:k}=Xs(cn(()=>n.error||n.disabled?void 0:l.value&&d.value?n.color:n.baseColor));$r(l,A=>{if(a.value){const L=h.value.$el,b=c.value.$el;requestAnimationFrame(()=>{const R=J2(L),I=b.getBoundingClientRect(),O=I.x-R.x,z=I.y-R.y-(R.height/2-I.height/2),F=I.width/.75,B=Math.abs(F-R.width)>1?{maxWidth:Qr(F)}:void 0,N=getComputedStyle(L),W=getComputedStyle(b),j=parseFloat(N.transitionDuration)*1e3||150,$=parseFloat(W.getPropertyValue("--v-field-label-scale")),U=W.getPropertyValue("color");L.style.visibility="visible",b.style.visibility="hidden",Dd(L,{transform:`translate(${O}px, ${z}px) scale(${$})`,color:U,...B},{duration:j,easing:zm,direction:A?"normal":"reverse"}).finished.then(()=>{L.style.removeProperty("visibility"),b.style.removeProperty("visibility")})})}},{flush:"post"});const E=cn(()=>({isActive:l,isFocused:d,controlRef:m,blur:i,focus:g}));function x(A){A.target!==document.activeElement&&A.preventDefault()}return Or(()=>{var O,z,F;const A=n.variant==="outlined",L=D["prepend-inner"]||n.prependInnerIcon,b=!!(n.clearable||D.clear),R=!!(D["append-inner"]||n.appendInnerIcon||b),I=D.label?D.label({...E.value,label:n.label,props:{for:o.value}}):n.label;return gt("div",qr({class:["v-field",{"v-field--active":l.value,"v-field--appended":R,"v-field--center-affix":n.centerAffix??!w.value,"v-field--disabled":n.disabled,"v-field--dirty":n.dirty,"v-field--error":n.error,"v-field--flat":n.flat,"v-field--has-background":!!n.bgColor,"v-field--persistent-clear":n.persistentClear,"v-field--prepended":L,"v-field--reverse":n.reverse,"v-field--single-line":n.singleLine,"v-field--no-label":!I,[`v-field--variant-${n.variant}`]:!0},T.value,y.value,t.value,p.value,v.value,f.value,n.class],style:[C.value,n.style],onClick:x},r),[gt("div",{class:"v-field__overlay"},null),gt(g_,{name:"v-field",active:!!n.loading,color:n.error?"error":typeof n.loading=="string"?n.loading:n.color},{default:D.loader}),L&>("div",{key:"prepend",class:"v-field__prepend-inner"},[n.prependInnerIcon&>(M,{key:"prepend-icon",name:"prependInner"},null),(O=D["prepend-inner"])==null?void 0:O.call(D,E.value)]),gt("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(n.variant)&&a.value&>(um,{key:"floating-label",ref:c,class:[_.value],floating:!0,for:o.value,style:k.value},{default:()=>[I]}),gt(um,{ref:h,for:o.value},{default:()=>[I]}),(z=D.default)==null?void 0:z.call(D,{...E.value,props:{id:o.value,class:"v-field__input","aria-describedby":s.value},focus:g,blur:i})]),b&>(u_,{key:"clear"},{default:()=>[Co(gt("div",{class:"v-field__clearable",onMousedown:B=>{B.preventDefault(),B.stopPropagation()}},[D.clear?D.clear():gt(M,{name:"clear"},null)]),[[kh,n.dirty]])]}),R&>("div",{key:"append",class:"v-field__append-inner"},[(F=D["append-inner"])==null?void 0:F.call(D,E.value),n.appendInnerIcon&>(M,{key:"append-icon",name:"appendInner"},null)]),gt("div",{class:["v-field__outline",_.value],style:k.value},[A&>(Yr,null,[gt("div",{class:"v-field__outline__start"},null),a.value&>("div",{class:"v-field__outline__notch"},[gt(um,{ref:c,floating:!0,for:o.value},{default:()=>[I]})]),gt("div",{class:"v-field__outline__end"},null)]),w.value&&a.value&>(um,{ref:c,floating:!0,for:o.value},{default:()=>[I]})])])}),{controlRef:m}}});function w_(n){const e=Object.keys(hg.props).filter(r=>!Z2(r)&&r!=="class"&&r!=="style");return $d(n,e)}const dV=["color","file","time","date","datetime-local","week","month"],c1=ur({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object,...mf(),...u1()},"VTextField"),Kd=Ar()({name:"VTextField",directives:{Intersect:og},inheritAttrs:!1,props:c1(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:S,slots:D}=e;const T=xi(n,"modelValue"),{isFocused:p,focus:t,blur:d}=rd(n),g=cn(()=>typeof n.counterValue=="function"?n.counterValue(T.value):(T.value??"").toString().length),i=cn(()=>{if(r.maxlength)return r.maxlength;if(!(!n.counter||typeof n.counter!="number"&&typeof n.counter!="string"))return n.counter}),M=cn(()=>["plain","underlined"].includes(n.variant));function v(w,y){var C,_;!n.autofocus||!w||(_=(C=y[0].target)==null?void 0:C.focus)==null||_.call(C)}const f=Vr(),l=Vr(),a=Vr(),u=cn(()=>dV.includes(n.type)||n.persistentPlaceholder||p.value||n.active);function o(){var w;a.value!==document.activeElement&&((w=a.value)==null||w.focus()),p.value||t()}function s(w){S("mousedown:control",w),w.target!==a.value&&(o(),w.preventDefault())}function h(w){o(),S("click:control",w)}function c(w){w.stopPropagation(),o(),Ua(()=>{T.value=null,K2(n["onClick:clear"],w)})}function m(w){var C;const y=w.target;if(T.value=y.value,(C=n.modelModifiers)!=null&&C.trim&&["text","search","password","tel","url"].includes(n.type)){const _=[y.selectionStart,y.selectionEnd];Ua(()=>{y.selectionStart=_[0],y.selectionEnd=_[1]})}}return Or(()=>{const w=!!(D.counter||n.counter||n.counterValue),y=!!(w||D.details),[C,_]=Qd(r),[{modelValue:k,...E}]=Bs.filterProps(n),[x]=w_(n);return gt(Bs,qr({ref:f,modelValue:T.value,"onUpdate:modelValue":A=>T.value=A,class:["v-text-field",{"v-text-field--prefixed":n.prefix,"v-text-field--suffixed":n.suffix,"v-text-field--plain-underlined":["plain","underlined"].includes(n.variant)},n.class],style:n.style},C,E,{centerAffix:!M.value,focused:p.value}),{...D,default:A=>{let{id:L,isDisabled:b,isDirty:R,isReadonly:I,isValid:O}=A;return gt(hg,qr({ref:l,onMousedown:s,onClick:h,"onClick:clear":c,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"],role:n.role},x,{id:L.value,active:u.value||R.value,dirty:R.value||n.dirty,disabled:b.value,focused:p.value,error:O.value===!1}),{...D,default:z=>{let{props:{class:F,...B}}=z;const N=Co(gt("input",qr({ref:a,value:T.value,onInput:m,autofocus:n.autofocus,readonly:I.value,disabled:b.value,name:n.name,placeholder:n.placeholder,size:1,type:n.type,onFocus:o,onBlur:d},B,_),null),[[Tu("intersect"),{handler:v},null,{once:!0}]]);return gt(Yr,null,[n.prefix&>("span",{class:"v-text-field__prefix"},[gt("span",{class:"v-text-field__prefix__text"},[n.prefix])]),D.default?gt("div",{class:F,"data-no-activator":""},[D.default(),N]):tf(N,{class:F}),n.suffix&>("span",{class:"v-text-field__suffix"},[gt("span",{class:"v-text-field__suffix__text"},[n.suffix])])])}})},details:y?A=>{var L;return gt(Yr,null,[(L=D.details)==null?void 0:L.call(D,A),w&>(Yr,null,[gt("span",null,null),gt(l1,{active:n.persistentCounter||p.value,value:g.value,max:i.value},D.counter)])])}:void 0})}),Vc({},f,l,a)}});const pV=ur({renderless:Boolean,...Zr()},"VVirtualScrollItem"),mV=Ar()({name:"VVirtualScrollItem",inheritAttrs:!1,props:pV(),emits:{"update:height":n=>!0},setup(n,e){let{attrs:r,emit:S,slots:D}=e;const{resizeRef:T,contentRect:p}=Th(void 0,"border");$r(()=>{var t;return(t=p.value)==null?void 0:t.height},t=>{t!=null&&S("update:height",t)}),Or(()=>{var t,d;return n.renderless?gt(Yr,null,[(t=D.default)==null?void 0:t.call(D,{itemRef:T})]):gt("div",qr({ref:T,class:["v-virtual-scroll__item",n.class],style:n.style},r),[(d=D.default)==null?void 0:d.call(D)])})}}),oT=-1,sT=1,gV=ur({itemHeight:{type:[Number,String],default:48}},"virtual");function vV(n,e,r){const S=Wr(0),D=Wr(n.itemHeight),T=cn({get:()=>parseInt(D.value??0,10),set(y){D.value=y}}),p=Vr(),{resizeRef:t,contentRect:d}=Th();wu(()=>{t.value=p.value});const g=ep(),i=new Map;let M=Array.from({length:e.value.length});const v=cn(()=>{const y=(!d.value||p.value===document.documentElement?g.height.value:d.value.height)-((r==null?void 0:r.value)??0);return Math.ceil(y/T.value*1.7+1)});function f(y,C){T.value=Math.max(T.value,C),M[y]=C,i.set(e.value[y],C)}function l(y){return M.slice(0,y).reduce((C,_)=>C+(_||T.value),0)}function a(y){const C=e.value.length;let _=0,k=0;for(;k=A&&(S.value=Zs(x,0,e.value.length-v.value)),u=C}function s(y){if(!p.value)return;const C=l(y);p.value.scrollTop=C}const h=cn(()=>Math.min(e.value.length,S.value+v.value)),c=cn(()=>e.value.slice(S.value,h.value).map((y,C)=>({raw:y,index:C+S.value}))),m=cn(()=>l(S.value)),w=cn(()=>l(e.value.length)-l(h.value));return $r(()=>e.value.length,()=>{M=Kh(e.value.length).map(()=>T.value),i.forEach((y,C)=>{const _=e.value.indexOf(C);_===-1?i.delete(C):M[_]=y})}),{containerRef:p,computedItems:c,itemHeight:T,paddingTop:m,paddingBottom:w,scrollToIndex:s,handleScroll:o,handleItemResize:f}}const yV=ur({items:{type:Array,default:()=>[]},renderless:Boolean,...gV(),...Zr(),...sc()},"VVirtualScroll"),h1=Ar()({name:"VVirtualScroll",props:yV(),setup(n,e){let{slots:r}=e;const S=Ss("VVirtualScroll"),{dimensionStyles:D}=lc(n),{containerRef:T,handleScroll:p,handleItemResize:t,scrollToIndex:d,paddingTop:g,paddingBottom:i,computedItems:M}=vV(n,Cr(n,"items"));return $f(()=>n.renderless,()=>{Ks(()=>{var v;T.value=t_(S.vnode.el,!0),(v=T.value)==null||v.addEventListener("scroll",p)}),Tl(()=>{var v;(v=T.value)==null||v.removeEventListener("scroll",p)})}),Or(()=>{const v=M.value.map(f=>gt(mV,{key:f.index,renderless:n.renderless,"onUpdate:height":l=>t(f.index,l)},{default:l=>{var a;return(a=r.default)==null?void 0:a.call(r,{item:f.raw,index:f.index,...l})}}));return n.renderless?gt(Yr,null,[gt("div",{class:"v-virtual-scroll__spacer",style:{paddingTop:Qr(g.value)}},null),v,gt("div",{class:"v-virtual-scroll__spacer",style:{paddingBottom:Qr(i.value)}},null)]):gt("div",{ref:T,class:["v-virtual-scroll",n.class],onScroll:p,style:[D.value,n.style]},[gt("div",{class:"v-virtual-scroll__container",style:{paddingTop:Qr(g.value),paddingBottom:Qr(i.value)}},[v])])}),{scrollToIndex:d}}});function T_(n,e){const r=Wr(!1);let S;function D(t){cancelAnimationFrame(S),r.value=!0,S=requestAnimationFrame(()=>{S=requestAnimationFrame(()=>{r.value=!1})})}async function T(){await new Promise(t=>requestAnimationFrame(t)),await new Promise(t=>requestAnimationFrame(t)),await new Promise(t=>requestAnimationFrame(t)),await new Promise(t=>{if(r.value){const d=$r(r,()=>{d(),t()})}else t()})}async function p(t){var i,M;if(t.key==="Tab"&&((i=e.value)==null||i.focus()),!["PageDown","PageUp","Home","End"].includes(t.key))return;const d=(M=n.value)==null?void 0:M.$el;if(!d)return;(t.key==="Home"||t.key==="End")&&d.scrollTo({top:t.key==="Home"?0:d.scrollHeight,behavior:"smooth"}),await T();const g=d.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");if(t.key==="PageDown"||t.key==="Home"){const v=d.getBoundingClientRect().top;for(const f of g)if(f.getBoundingClientRect().top>=v){f.focus();break}}else{const v=d.getBoundingClientRect().bottom;for(const f of[...g].reverse())if(f.getBoundingClientRect().bottom<=v){f.focus();break}}}return{onListScroll:D,onListKeydown:p}}const k_=ur({chips:Boolean,closableChips:Boolean,closeText:{type:String,default:"$vuetify.close"},openText:{type:String,default:"$vuetify.open"},eager:Boolean,hideNoData:Boolean,hideSelected:Boolean,menu:Boolean,menuIcon:{type:bi,default:"$dropdown"},menuProps:{type:Object},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,itemColor:String,...kA({itemChildren:!1})},"Select"),bV=ur({...k_(),...ic(c1({modelValue:null,role:"button"}),["validationValue","dirty","appendInnerIcon"]),...df({transition:{component:Qy}})},"VSelect"),xV=Ar()({name:"VSelect",props:bV(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,"update:menu":n=>!0},setup(n,e){let{slots:r}=e;const{t:S}=oc(),D=Vr(),T=Vr(),p=Vr(),t=xi(n,"menu"),d=cn({get:()=>t.value,set:R=>{var I;t.value&&!R&&((I=T.value)!=null&&I.ΨopenChildren)||(t.value=R)}}),{items:g,transformIn:i,transformOut:M}=x_(n),v=xi(n,"modelValue",[],R=>i(R===null?[null]:bu(R)),R=>{const I=M(R);return n.multiple?I:I[0]??null}),f=i1(),l=cn(()=>v.value.map(R=>R.value)),a=Wr(!1),u=cn(()=>d.value?n.closeText:n.openText);let o="",s;const h=cn(()=>n.hideSelected?g.value.filter(R=>!v.value.some(I=>I===R)):g.value),c=cn(()=>n.hideNoData&&!g.value.length||n.readonly||(f==null?void 0:f.isReadonly.value)),m=Vr(),{onListScroll:w,onListKeydown:y}=T_(m,D);function C(R){n.openOnClear&&(d.value=!0)}function _(){c.value||(d.value=!d.value)}function k(R){var B,N;if(!R.key||n.readonly||f!=null&&f.isReadonly.value)return;["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(R.key)&&R.preventDefault(),["Enter","ArrowDown"," "].includes(R.key)&&(d.value=!0),["Escape","Tab"].includes(R.key)&&(d.value=!1),R.key==="Home"?(B=m.value)==null||B.focus("first"):R.key==="End"&&((N=m.value)==null||N.focus("last"));const I=1e3;function O(W){const j=W.key.length===1,$=!W.ctrlKey&&!W.metaKey&&!W.altKey;return j&&$}if(n.multiple||!O(R))return;const z=performance.now();z-s>I&&(o=""),o+=R.key.toLowerCase(),s=z;const F=g.value.find(W=>W.title.toLowerCase().startsWith(o));F!==void 0&&(v.value=[F])}function E(R){if(n.multiple){const I=v.value.findIndex(O=>n.valueComparator(O.value,R.value));if(I===-1)v.value=[...v.value,R];else{const O=[...v.value];O.splice(I,1),v.value=O}}else v.value=[R],d.value=!1}function x(R){var I;(I=m.value)!=null&&I.$el.contains(R.relatedTarget)||(d.value=!1)}function A(){var R;a.value&&((R=D.value)==null||R.focus())}function L(R){a.value=!0}function b(R){if(R==null)v.value=[];else if(l0(D.value,":autofill")||l0(D.value,":-webkit-autofill")){const I=g.value.find(O=>O.title===R);I&&E(I)}else D.value&&(D.value.value="")}return $r(d,()=>{if(!n.hideSelected&&d.value&&v.value.length){const R=h.value.findIndex(I=>v.value.some(O=>n.valueComparator(O.value,I.value)));to&&window.requestAnimationFrame(()=>{var I;R>=0&&((I=p.value)==null||I.scrollToIndex(R))})}}),Or(()=>{const R=!!(n.chips||r.chip),I=!!(!n.hideNoData||h.value.length||r["prepend-item"]||r["append-item"]||r["no-data"]),O=v.value.length>0,[z]=Kd.filterProps(n),F=O||!a.value&&n.label&&!n.persistentPlaceholder?void 0:n.placeholder;return gt(Kd,qr({ref:D},z,{modelValue:v.value.map(B=>B.props.value).join(", "),"onUpdate:modelValue":b,focused:a.value,"onUpdate:focused":B=>a.value=B,validationValue:v.externalValue,dirty:O,class:["v-select",{"v-select--active-menu":d.value,"v-select--chips":!!n.chips,[`v-select--${n.multiple?"multiple":"single"}`]:!0,"v-select--selected":v.value.length,"v-select--selection-slot":!!r.selection},n.class],style:n.style,inputmode:"none",placeholder:F,"onClick:clear":C,"onMousedown:control":_,onBlur:x,onKeydown:k,"aria-label":S(u.value),title:S(u.value)}),{...r,default:()=>gt(Yr,null,[gt(s1,qr({ref:T,modelValue:d.value,"onUpdate:modelValue":B=>d.value=B,activator:"parent",contentClass:"v-select__content",disabled:c.value,eager:n.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:n.transition,onAfterLeave:A},n.menuProps),{default:()=>[I&>(a1,{ref:m,selected:l.value,selectStrategy:n.multiple?"independent":"single-independent",onMousedown:B=>B.preventDefault(),onKeydown:y,onFocusin:L,onScrollPassive:w,tabindex:"-1",color:n.itemColor??n.color},{default:()=>{var B,N,W;return[(B=r["prepend-item"])==null?void 0:B.call(r),!h.value.length&&!n.hideNoData&&(((N=r["no-data"])==null?void 0:N.call(r))??gt(af,{title:S(n.noDataText)},null)),gt(h1,{ref:p,renderless:!0,items:h.value},{default:j=>{var H;let{item:$,index:U,itemRef:G}=j;const q=qr($.props,{ref:G,key:U,onClick:()=>E($)});return((H=r.item)==null?void 0:H.call(r,{item:$,index:U,props:q}))??gt(af,q,{prepend:ne=>{let{isSelected:te}=ne;return gt(Yr,null,[n.multiple&&!n.hideSelected?gt(h0,{key:$.value,modelValue:te,ripple:!1,tabindex:"-1"},null):void 0,$.props.prependIcon&>(ja,{icon:$.props.prependIcon},null)])}})}}),(W=r["append-item"])==null?void 0:W.call(r)]}})]}),v.value.map((B,N)=>{var $;function W(U){U.stopPropagation(),U.preventDefault(),E(B)}const j={"onClick:close":W,onMousedown(U){U.preventDefault(),U.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return gt("div",{key:B.value,class:"v-select__selection"},[R?r.chip?gt(Fa,{key:"chip-defaults",defaults:{VChip:{closable:n.closableChips,size:"small",text:B.title}}},{default:()=>{var U;return[(U=r.chip)==null?void 0:U.call(r,{item:B,index:N,props:j})]}}):gt(ug,qr({key:"chip",closable:n.closableChips,size:"small",text:B.title},j),null):(($=r.selection)==null?void 0:$.call(r,{item:B,index:N}))??gt("span",{class:"v-select__selection-text"},[B.title,n.multiple&&Nn==null||e==null?-1:n.toString().toLocaleLowerCase().indexOf(e.toString().toLocaleLowerCase()),DA=ur({customFilter:Function,customKeyFilter:Object,filterKeys:[Array,String],filterMode:{type:String,default:"intersection"},noFilter:Boolean},"filter");function wV(n,e,r){var t;const S=[],D=(r==null?void 0:r.default)??_V,T=r!=null&&r.filterKeys?bu(r.filterKeys):!1,p=Object.keys((r==null?void 0:r.customKeyFilter)??{}).length;if(!(n!=null&&n.length))return S;e:for(let d=0;dS!=null&&S.transform?yu(e).map(d=>[d,S.transform(d)]):yu(e));wu(()=>{const d=typeof r=="function"?r():yu(r),g=typeof d!="string"&&typeof d!="number"?"":String(d),i=wV(p.value,g,{customKeyFilter:n.customKeyFilter,default:n.customFilter,filterKeys:n.filterKeys,filterMode:n.filterMode,noFilter:n.noFilter}),M=yu(e),v=[],f=new Map;i.forEach(l=>{let{index:a,matches:u}=l;const o=M[a];v.push(o),f.set(o.value,u)}),D.value=v,T.value=f});function t(d){return T.value.get(d.value)}return{filteredItems:D,filteredMatches:T,getMatches:t}}function TV(n,e,r){if(e==null)return n;if(Array.isArray(e))throw new Error("Multiple matches is not implemented");return typeof e=="number"&&~e?gt(Yr,null,[gt("span",{class:"v-autocomplete__unmask"},[n.substr(0,e)]),gt("span",{class:"v-autocomplete__mask"},[n.substr(e,r)]),gt("span",{class:"v-autocomplete__unmask"},[n.substr(e+r)])]):n}const kV=ur({autoSelectFirst:{type:[Boolean,String]},search:String,...DA({filterKeys:["title"]}),...k_(),...ic(c1({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...df({transition:!1})},"VAutocomplete"),MV=Ar()({name:"VAutocomplete",props:kV(),emits:{"update:focused":n=>!0,"update:search":n=>!0,"update:modelValue":n=>!0,"update:menu":n=>!0},setup(n,e){let{slots:r}=e;const{t:S}=oc(),D=Vr(),T=Wr(!1),p=Wr(!0),t=Wr(!1),d=Vr(),g=Vr(),i=xi(n,"menu"),M=cn({get:()=>i.value,set:q=>{var H;i.value&&!q&&((H=d.value)!=null&&H.ΨopenChildren)||(i.value=q)}}),v=Wr(-1),f=cn(()=>{var q;return(q=D.value)==null?void 0:q.color}),l=cn(()=>M.value?n.closeText:n.openText),{items:a,transformIn:u,transformOut:o}=x_(n),{textColorClasses:s,textColorStyles:h}=Xs(f),c=xi(n,"search",""),m=xi(n,"modelValue",[],q=>u(q===null?[null]:bu(q)),q=>{const H=o(q);return n.multiple?H:H[0]??null}),w=i1(),{filteredItems:y,getMatches:C}=zA(n,a,()=>p.value?"":c.value),_=cn(()=>n.hideSelected?y.value.filter(q=>!m.value.some(H=>H.value===q.value)):y.value),k=cn(()=>m.value.map(q=>q.props.value)),E=cn(()=>{var H;return(n.autoSelectFirst===!0||n.autoSelectFirst==="exact"&&c.value===((H=_.value[0])==null?void 0:H.title))&&_.value.length>0&&!p.value&&!t.value}),x=cn(()=>n.hideNoData&&!a.value.length||n.readonly||(w==null?void 0:w.isReadonly.value)),A=Vr(),{onListScroll:L,onListKeydown:b}=T_(A,D);function R(q){n.openOnClear&&(M.value=!0),c.value=""}function I(){x.value||(M.value=!0)}function O(q){x.value||(T.value&&(q.preventDefault(),q.stopPropagation()),M.value=!M.value)}function z(q){var te,Z,X;if(n.readonly||w!=null&&w.isReadonly.value)return;const H=D.value.selectionStart,ne=m.value.length;if((v.value>-1||["Enter","ArrowDown","ArrowUp"].includes(q.key))&&q.preventDefault(),["Enter","ArrowDown"].includes(q.key)&&(M.value=!0),["Escape"].includes(q.key)&&(M.value=!1),E.value&&["Enter","Tab"].includes(q.key)&&G(_.value[0]),q.key==="ArrowDown"&&E.value&&((te=A.value)==null||te.focus("next")),!!n.multiple){if(["Backspace","Delete"].includes(q.key)){if(v.value<0){q.key==="Backspace"&&!c.value&&(v.value=ne-1);return}const Q=v.value,re=m.value[v.value];re&&G(re),v.value=Q>=ne-1?ne-2:Q}if(q.key==="ArrowLeft"){if(v.value<0&&H>0)return;const Q=v.value>-1?v.value-1:ne-1;m.value[Q]?v.value=Q:(v.value=-1,D.value.setSelectionRange((Z=c.value)==null?void 0:Z.length,(X=c.value)==null?void 0:X.length))}if(q.key==="ArrowRight"){if(v.value<0)return;const Q=v.value+1;m.value[Q]?v.value=Q:(v.value=-1,D.value.setSelectionRange(0,0))}}}function F(q){c.value=q.target.value}function B(q){if(l0(D.value,":autofill")||l0(D.value,":-webkit-autofill")){const H=a.value.find(ne=>ne.title===q.target.value);H&&G(H)}}function N(){var q;T.value&&(p.value=!0,(q=D.value)==null||q.focus())}function W(q){T.value=!0,setTimeout(()=>{t.value=!0})}function j(q){t.value=!1}function $(q){(q==null||q===""&&!n.multiple)&&(m.value=[])}const U=Wr(!1);function G(q){if(n.multiple){const H=m.value.findIndex(ne=>n.valueComparator(ne.value,q.value));if(H===-1)m.value=[...m.value,q];else{const ne=[...m.value];ne.splice(H,1),m.value=ne}}else m.value=[q],U.value=!0,c.value=q.title,M.value=!1,p.value=!0,Ua(()=>U.value=!1)}return $r(T,(q,H)=>{var ne;q!==H&&(q?(U.value=!0,c.value=n.multiple?"":String(((ne=m.value.at(-1))==null?void 0:ne.props.title)??""),p.value=!0,Ua(()=>U.value=!1)):(!n.multiple&&!c.value?m.value=[]:E.value&&!t.value&&!m.value.some(te=>{let{value:Z}=te;return Z===_.value[0].value})&&G(_.value[0]),M.value=!1,c.value="",v.value=-1))}),$r(c,q=>{!T.value||U.value||(q&&(M.value=!0),p.value=!q)}),$r(M,()=>{if(!n.hideSelected&&M.value&&m.value.length){const q=_.value.findIndex(H=>m.value.some(ne=>H.value===ne.value));to&&window.requestAnimationFrame(()=>{var H;q>=0&&((H=g.value)==null||H.scrollToIndex(q))})}}),Or(()=>{const q=!!(n.chips||r.chip),H=!!(!n.hideNoData||_.value.length||r["prepend-item"]||r["append-item"]||r["no-data"]),ne=m.value.length>0,[te]=Kd.filterProps(n);return gt(Kd,qr({ref:D},te,{modelValue:c.value,"onUpdate:modelValue":$,focused:T.value,"onUpdate:focused":Z=>T.value=Z,validationValue:m.externalValue,dirty:ne,onInput:F,onChange:B,class:["v-autocomplete",`v-autocomplete--${n.multiple?"multiple":"single"}`,{"v-autocomplete--active-menu":M.value,"v-autocomplete--chips":!!n.chips,"v-autocomplete--selection-slot":!!r.selection,"v-autocomplete--selecting-index":v.value>-1},n.class],style:n.style,readonly:n.readonly,placeholder:ne?void 0:n.placeholder,"onClick:clear":R,"onMousedown:control":I,onKeydown:z}),{...r,default:()=>gt(Yr,null,[gt(s1,qr({ref:d,modelValue:M.value,"onUpdate:modelValue":Z=>M.value=Z,activator:"parent",contentClass:"v-autocomplete__content",disabled:x.value,eager:n.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:n.transition,onAfterLeave:N},n.menuProps),{default:()=>[H&>(a1,{ref:A,selected:k.value,selectStrategy:n.multiple?"independent":"single-independent",onMousedown:Z=>Z.preventDefault(),onKeydown:b,onFocusin:W,onFocusout:j,onScrollPassive:L,tabindex:"-1",color:n.itemColor??n.color},{default:()=>{var Z,X,Q;return[(Z=r["prepend-item"])==null?void 0:Z.call(r),!_.value.length&&!n.hideNoData&&(((X=r["no-data"])==null?void 0:X.call(r))??gt(af,{title:S(n.noDataText)},null)),gt(h1,{ref:g,renderless:!0,items:_.value},{default:re=>{var ye;let{item:ie,index:oe,itemRef:ue}=re;const ce=qr(ie.props,{ref:ue,key:oe,active:E.value&&oe===0?!0:void 0,onClick:()=>G(ie)});return((ye=r.item)==null?void 0:ye.call(r,{item:ie,index:oe,props:ce}))??gt(af,ce,{prepend:de=>{let{isSelected:me}=de;return gt(Yr,null,[n.multiple&&!n.hideSelected?gt(h0,{key:ie.value,modelValue:me,ripple:!1,tabindex:"-1"},null):void 0,ie.props.prependIcon&>(ja,{icon:ie.props.prependIcon},null)])},title:()=>{var de,me;return p.value?ie.title:TV(ie.title,(de=C(ie))==null?void 0:de.title,((me=c.value)==null?void 0:me.length)??0)}})}}),(Q=r["append-item"])==null?void 0:Q.call(r)]}})]}),m.value.map((Z,X)=>{var ie;function Q(oe){oe.stopPropagation(),oe.preventDefault(),G(Z)}const re={"onClick:close":Q,onMousedown(oe){oe.preventDefault(),oe.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return gt("div",{key:Z.value,class:["v-autocomplete__selection",X===v.value&&["v-autocomplete__selection--selected",s.value]],style:X===v.value?h.value:{}},[q?r.chip?gt(Fa,{key:"chip-defaults",defaults:{VChip:{closable:n.closableChips,size:"small",text:Z.title}}},{default:()=>{var oe;return[(oe=r.chip)==null?void 0:oe.call(r,{item:Z,index:X,props:re})]}}):gt(ug,qr({key:"chip",closable:n.closableChips,size:"small",text:Z.title},re),null):((ie=r.selection)==null?void 0:ie.call(r,{item:Z,index:X}))??gt("span",{class:"v-autocomplete__selection-text"},[Z.title,n.multiple&&X(n.floating?n.dot?2:4:n.dot?8:12)+(["top","bottom"].includes(i)?+(n.offsetY??0):["left","right"].includes(i)?+(n.offsetX??0):0));return Or(()=>{const i=Number(n.content),M=!n.max||isNaN(i)?n.content:i<=+n.max?i:`${n.max}+`,[v,f]=$d(e.attrs,["aria-atomic","aria-label","aria-live","role","title"]);return gt(n.tag,qr({class:["v-badge",{"v-badge--bordered":n.bordered,"v-badge--dot":n.dot,"v-badge--floating":n.floating,"v-badge--inline":n.inline},n.class]},f,{style:n.style}),{default:()=>{var l,a;return[gt("div",{class:"v-badge__wrapper"},[(a=(l=e.slots).default)==null?void 0:a.call(l),gt(Oc,{transition:n.transition},{default:()=>{var u,o;return[Co(gt("span",qr({class:["v-badge__badge",d.value,r.value,D.value,p.value],style:[S.value,t.value,n.inline?{}:g.value],"aria-atomic":"true","aria-label":T(n.label,i),"aria-live":"polite",role:"status"},v),[n.dot?void 0:e.slots.badge?(o=(u=e.slots).badge)==null?void 0:o.call(u):n.icon?gt(ja,{icon:n.icon},null):M]),[[kh,n.modelValue]])]}})])]}})}),{}}});const CV=ur({color:String,density:String,...Zr()},"VBannerActions"),FA=Ar()({name:"VBannerActions",props:CV(),setup(n,e){let{slots:r}=e;return es({VBtn:{color:n.color,density:n.density,variant:"text"}}),Or(()=>{var S;return gt("div",{class:["v-banner-actions",n.class],style:n.style},[(S=r.default)==null?void 0:S.call(r)])}),{}}}),BA=Nc("v-banner-text"),EV=ur({avatar:String,color:String,icon:bi,lines:String,stacked:Boolean,sticky:Boolean,text:String,...Su(),...Zr(),...ds(),...sc(),...fs(),...ed(),...A0(),...uo(),...Si(),...oa()},"VBanner"),LV=Ar()({name:"VBanner",props:EV(),setup(n,e){let{slots:r}=e;const{borderClasses:S}=uc(n),{densityClasses:D}=Qs(n),{mobile:T}=ep(),{dimensionStyles:p}=lc(n),{elevationClasses:t}=Vs(n),{locationStyles:d}=td(n),{positionClasses:g}=S0(n),{roundedClasses:i}=Eo(n),{themeClasses:M}=Ma(n),v=Cr(n,"color"),f=Cr(n,"density");es({VBannerActions:{color:v,density:f}}),Or(()=>{const l=!!(n.text||r.text),a=!!(n.avatar||n.icon),u=!!(a||r.prepend);return gt(n.tag,{class:["v-banner",{"v-banner--stacked":n.stacked||T.value,"v-banner--sticky":n.sticky,[`v-banner--${n.lines}-line`]:!!n.lines},S.value,D.value,t.value,g.value,i.value,M.value,n.class],style:[p.value,d.value,n.style],role:"banner"},{default:()=>{var o;return[u&>("div",{key:"prepend",class:"v-banner__prepend"},[r.prepend?gt(Fa,{key:"prepend-defaults",disabled:!a,defaults:{VAvatar:{color:v.value,density:f.value,icon:n.icon,image:n.avatar}}},r.prepend):gt(Zf,{key:"prepend-avatar",color:v.value,density:f.value,icon:n.icon,image:n.avatar},null)]),gt("div",{class:"v-banner__content"},[l&>(BA,{key:"text"},{default:()=>{var s;return[((s=r.text)==null?void 0:s.call(r))??n.text]}}),(o=r.default)==null?void 0:o.call(r)]),r.actions&>(FA,{key:"actions"},r.actions)]}})})}});const IV=ur({bgColor:String,color:String,grow:Boolean,mode:{type:String,validator:n=>!n||["horizontal","shift"].includes(n)},height:{type:[Number,String],default:56},active:{type:Boolean,default:!0},...Su(),...Zr(),...ds(),...fs(),...uo(),...x0({name:"bottom-navigation"}),...Si({tag:"header"}),...w0({modelValue:!0,selectedClass:"v-btn--selected"}),...oa()},"VBottomNavigation"),RV=Ar()({name:"VBottomNavigation",props:IV(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:S}=R6(),{borderClasses:D}=uc(n),{backgroundColorClasses:T,backgroundColorStyles:p}=Oo(Cr(n,"bgColor")),{densityClasses:t}=Qs(n),{elevationClasses:d}=Vs(n),{roundedClasses:g}=Eo(n),{ssrBootStyles:i}=tp(),M=cn(()=>Number(n.height)-(n.density==="comfortable"?8:0)-(n.density==="compact"?16:0)),v=Cr(n,"active"),{layoutItemStyles:f}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:cn(()=>"bottom"),layoutSize:cn(()=>v.value?M.value:0),elementSize:M,active:v,absolute:Cr(n,"absolute")});return ip(n,h_),es({VBtn:{color:Cr(n,"color"),density:Cr(n,"density"),stacked:cn(()=>n.mode!=="horizontal"),variant:"text"}},{scoped:!0}),Or(()=>gt(n.tag,{class:["v-bottom-navigation",{"v-bottom-navigation--active":v.value,"v-bottom-navigation--grow":n.grow,"v-bottom-navigation--shift":n.mode==="shift"},S.value,T.value,D.value,t.value,d.value,g.value,n.class],style:[p.value,f.value,{height:Qr(M.value),transform:`translateY(${Qr(v.value?0:100,"%")})`},i.value,n.style]},{default:()=>[r.default&>("div",{class:"v-bottom-navigation__content"},[r.default()])]})),{}}});const PV=ur({divider:[Number,String],...Zr()},"VBreadcrumbsDivider"),NA=Ar()({name:"VBreadcrumbsDivider",props:PV(),setup(n,e){let{slots:r}=e;return Or(()=>{var S;return gt("li",{class:["v-breadcrumbs-divider",n.class],style:n.style},[((S=r==null?void 0:r.default)==null?void 0:S.call(r))??n.divider])}),{}}}),OV=ur({active:Boolean,activeClass:String,activeColor:String,color:String,disabled:Boolean,title:String,...Zr(),...lg(),...Si({tag:"li"})},"VBreadcrumbsItem"),VA=Ar()({name:"VBreadcrumbsItem",props:OV(),setup(n,e){let{slots:r,attrs:S}=e;const D=sg(n,S),T=cn(()=>{var g;return n.active||((g=D.isActive)==null?void 0:g.value)}),p=cn(()=>T.value?n.activeColor:n.color),{textColorClasses:t,textColorStyles:d}=Xs(p);return Or(()=>gt(n.tag,{class:["v-breadcrumbs-item",{"v-breadcrumbs-item--active":T.value,"v-breadcrumbs-item--disabled":n.disabled,[`${n.activeClass}`]:T.value&&n.activeClass},t.value,n.class],style:[d.value,n.style],"aria-current":T.value?"page":void 0},{default:()=>{var g,i;return[D.isLink.value?gt("a",{class:"v-breadcrumbs-item--link",href:D.href.value,"aria-current":T.value?"page":void 0,onClick:D.navigate},[((i=r.default)==null?void 0:i.call(r))??n.title]):((g=r.default)==null?void 0:g.call(r))??n.title]}})),{}}}),DV=ur({activeClass:String,activeColor:String,bgColor:String,color:String,disabled:Boolean,divider:{type:String,default:"/"},icon:bi,items:{type:Array,default:()=>[]},...Zr(),...ds(),...uo(),...Si({tag:"ul"})},"VBreadcrumbs"),zV=Ar()({name:"VBreadcrumbs",props:DV(),setup(n,e){let{slots:r}=e;const{backgroundColorClasses:S,backgroundColorStyles:D}=Oo(Cr(n,"bgColor")),{densityClasses:T}=Qs(n),{roundedClasses:p}=Eo(n);es({VBreadcrumbsDivider:{divider:Cr(n,"divider")},VBreadcrumbsItem:{activeClass:Cr(n,"activeClass"),activeColor:Cr(n,"activeColor"),color:Cr(n,"color"),disabled:Cr(n,"disabled")}});const t=cn(()=>n.items.map(d=>typeof d=="string"?{item:{title:d},raw:d}:{item:d,raw:d}));return Or(()=>{const d=!!(r.prepend||n.icon);return gt(n.tag,{class:["v-breadcrumbs",S.value,T.value,p.value,n.class],style:[D.value,n.style]},{default:()=>{var g;return[d&>("li",{key:"prepend",class:"v-breadcrumbs__prepend"},[r.prepend?gt(Fa,{key:"prepend-defaults",disabled:!n.icon,defaults:{VIcon:{icon:n.icon,start:!0}}},r.prepend):gt(ja,{key:"prepend-icon",start:!0,icon:n.icon},null)]),t.value.map((i,M,v)=>{let{item:f,raw:l}=i;return gt(Yr,null,[gt(VA,qr({key:f.title,disabled:M>=v.length-1},f),{default:r.title?()=>{var a;return(a=r.title)==null?void 0:a.call(r,{item:l,index:M})}:void 0}),M{var a;return(a=r.divider)==null?void 0:a.call(r,{item:l,index:M})}:void 0})])}),(g=r.default)==null?void 0:g.call(r)]}})}),{}}});const jA=Ar()({name:"VCardActions",props:Zr(),setup(n,e){let{slots:r}=e;return es({VBtn:{variant:"text"}}),Or(()=>{var S;return gt("div",{class:["v-card-actions",n.class],style:n.style},[(S=r.default)==null?void 0:S.call(r)])}),{}}}),UA=Nc("v-card-subtitle"),HA=Nc("v-card-title"),FV=ur({appendAvatar:String,appendIcon:bi,prependAvatar:String,prependIcon:bi,subtitle:String,title:String,...Zr(),...ds()},"VCardItem"),GA=Ar()({name:"VCardItem",props:FV(),setup(n,e){let{slots:r}=e;return Or(()=>{var g;const S=!!(n.prependAvatar||n.prependIcon),D=!!(S||r.prepend),T=!!(n.appendAvatar||n.appendIcon),p=!!(T||r.append),t=!!(n.title||r.title),d=!!(n.subtitle||r.subtitle);return gt("div",{class:["v-card-item",n.class],style:n.style},[D&>("div",{key:"prepend",class:"v-card-item__prepend"},[r.prepend?gt(Fa,{key:"prepend-defaults",disabled:!S,defaults:{VAvatar:{density:n.density,icon:n.prependIcon,image:n.prependAvatar}}},r.prepend):S&>(Zf,{key:"prepend-avatar",density:n.density,icon:n.prependIcon,image:n.prependAvatar},null)]),gt("div",{class:"v-card-item__content"},[t&>(HA,{key:"title"},{default:()=>{var i;return[((i=r.title)==null?void 0:i.call(r))??n.title]}}),d&>(UA,{key:"subtitle"},{default:()=>{var i;return[((i=r.subtitle)==null?void 0:i.call(r))??n.subtitle]}}),(g=r.default)==null?void 0:g.call(r)]),p&>("div",{key:"append",class:"v-card-item__append"},[r.append?gt(Fa,{key:"append-defaults",disabled:!T,defaults:{VAvatar:{density:n.density,icon:n.appendIcon,image:n.appendAvatar}}},r.append):T&>(Zf,{key:"append-avatar",density:n.density,icon:n.appendIcon,image:n.appendAvatar},null)])])}),{}}}),qA=Nc("v-card-text"),BV=ur({appendAvatar:String,appendIcon:bi,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:bi,ripple:{type:[Boolean,Object],default:!0},subtitle:String,text:String,title:String,...Su(),...Zr(),...ds(),...sc(),...fs(),...m_(),...ed(),...A0(),...uo(),...lg(),...Si(),...oa(),...cc({variant:"elevated"})},"VCard"),NV=Ar()({name:"VCard",directives:{Ripple:nd},props:BV(),setup(n,e){let{attrs:r,slots:S}=e;const{themeClasses:D}=Ma(n),{borderClasses:T}=uc(n),{colorClasses:p,colorStyles:t,variantClasses:d}=rp(n),{densityClasses:g}=Qs(n),{dimensionStyles:i}=lc(n),{elevationClasses:M}=Vs(n),{loaderClasses:v}=t1(n),{locationStyles:f}=td(n),{positionClasses:l}=S0(n),{roundedClasses:a}=Eo(n),u=sg(n,r),o=cn(()=>n.link!==!1&&u.isLink.value),s=cn(()=>!n.disabled&&n.link!==!1&&(n.link||u.isClickable.value));return Or(()=>{const h=o.value?"a":n.tag,c=!!(S.title||n.title),m=!!(S.subtitle||n.subtitle),w=c||m,y=!!(S.append||n.appendAvatar||n.appendIcon),C=!!(S.prepend||n.prependAvatar||n.prependIcon),_=!!(S.image||n.image),k=w||C||y,E=!!(S.text||n.text);return Co(gt(h,{class:["v-card",{"v-card--disabled":n.disabled,"v-card--flat":n.flat,"v-card--hover":n.hover&&!(n.disabled||n.flat),"v-card--link":s.value},D.value,T.value,p.value,g.value,M.value,v.value,l.value,a.value,d.value,n.class],style:[t.value,i.value,f.value,n.style],href:u.href.value,onClick:s.value&&u.navigate,tabindex:n.disabled?-1:void 0},{default:()=>{var x;return[_&>("div",{key:"image",class:"v-card__image"},[S.image?gt(Fa,{key:"image-defaults",disabled:!n.image,defaults:{VImg:{cover:!0,src:n.image}}},S.image):gt(Zd,{key:"image-img",cover:!0,src:n.image},null)]),gt(g_,{name:"v-card",active:!!n.loading,color:typeof n.loading=="boolean"?void 0:n.loading},{default:S.loader}),k&>(GA,{key:"item",prependAvatar:n.prependAvatar,prependIcon:n.prependIcon,title:n.title,subtitle:n.subtitle,appendAvatar:n.appendAvatar,appendIcon:n.appendIcon},{default:S.item,prepend:S.prepend,title:S.title,subtitle:S.subtitle,append:S.append}),E&>(qA,{key:"text"},{default:()=>{var A;return[((A=S.text)==null?void 0:A.call(S))??n.text]}}),(x=S.default)==null?void 0:x.call(S),S.actions&>(jA,null,{default:S.actions}),np(s.value,"v-card")]}}),[[Tu("ripple"),s.value&&n.ripple]])}),{}}});const VV=n=>{const{touchstartX:e,touchendX:r,touchstartY:S,touchendY:D}=n,T=.5,p=16;n.offsetX=r-e,n.offsetY=D-S,Math.abs(n.offsetY)e+p&&n.right(n)),Math.abs(n.offsetX)S+p&&n.down(n))};function jV(n,e){var S;const r=n.changedTouches[0];e.touchstartX=r.clientX,e.touchstartY=r.clientY,(S=e.start)==null||S.call(e,{originalEvent:n,...e})}function UV(n,e){var S;const r=n.changedTouches[0];e.touchendX=r.clientX,e.touchendY=r.clientY,(S=e.end)==null||S.call(e,{originalEvent:n,...e}),VV(e)}function HV(n,e){var S;const r=n.changedTouches[0];e.touchmoveX=r.clientX,e.touchmoveY=r.clientY,(S=e.move)==null||S.call(e,{originalEvent:n,...e})}function GV(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const e={touchstartX:0,touchstartY:0,touchendX:0,touchendY:0,touchmoveX:0,touchmoveY:0,offsetX:0,offsetY:0,left:n.left,right:n.right,up:n.up,down:n.down,start:n.start,move:n.move,end:n.end};return{touchstart:r=>jV(r,e),touchend:r=>UV(r,e),touchmove:r=>HV(r,e)}}function qV(n,e){var t;const r=e.value,S=r!=null&&r.parent?n.parentElement:n,D=(r==null?void 0:r.options)??{passive:!0},T=(t=e.instance)==null?void 0:t.$.uid;if(!S||!T)return;const p=GV(e.value);S._touchHandlers=S._touchHandlers??Object.create(null),S._touchHandlers[T]=p,c6(p).forEach(d=>{S.addEventListener(d,p[d],D)})}function WV(n,e){var T,p;const r=(T=e.value)!=null&&T.parent?n.parentElement:n,S=(p=e.instance)==null?void 0:p.$.uid;if(!(r!=null&&r._touchHandlers)||!S)return;const D=r._touchHandlers[S];c6(D).forEach(t=>{r.removeEventListener(t,D[t])}),delete r._touchHandlers[S]}const M_={mounted:qV,unmounted:WV},WA=Symbol.for("vuetify:v-window"),YA=Symbol.for("vuetify:v-window-group"),$A=ur({continuous:Boolean,nextIcon:{type:[Boolean,String,Function,Object],default:"$next"},prevIcon:{type:[Boolean,String,Function,Object],default:"$prev"},reverse:Boolean,showArrows:{type:[Boolean,String],validator:n=>typeof n=="boolean"||n==="hover"},touch:{type:[Object,Boolean],default:void 0},direction:{type:String,default:"horizontal"},modelValue:null,disabled:Boolean,selectedClass:{type:String,default:"v-window-item--active"},mandatory:{type:[Boolean,String],default:"force"},...Zr(),...Si(),...oa()},"VWindow"),Sx=Ar()({name:"VWindow",directives:{Touch:M_},props:$A(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ma(n),{isRtl:D}=Cs(),{t:T}=oc(),p=ip(n,YA),t=Vr(),d=cn(()=>D.value?!n.reverse:n.reverse),g=Wr(!1),i=cn(()=>{const c=n.direction==="vertical"?"y":"x",w=(d.value?!g.value:g.value)?"-reverse":"";return`v-window-${c}${w}-transition`}),M=Wr(0),v=Vr(void 0),f=cn(()=>p.items.value.findIndex(c=>p.selected.value.includes(c.id)));$r(f,(c,m)=>{const w=p.items.value.length,y=w-1;w<=2?g.value=cn.continuous||f.value!==0),a=cn(()=>n.continuous||f.value!==p.items.value.length-1);function u(){l.value&&p.prev()}function o(){a.value&&p.next()}const s=cn(()=>{const c=[],m={icon:D.value?n.nextIcon:n.prevIcon,class:`v-window__${d.value?"right":"left"}`,onClick:p.prev,ariaLabel:T("$vuetify.carousel.prev")};c.push(l.value?r.prev?r.prev({props:m}):gt(wl,m,null):gt("div",null,null));const w={icon:D.value?n.prevIcon:n.nextIcon,class:`v-window__${d.value?"left":"right"}`,onClick:p.next,ariaLabel:T("$vuetify.carousel.next")};return c.push(a.value?r.next?r.next({props:w}):gt(wl,w,null):gt("div",null,null)),c}),h=cn(()=>n.touch===!1?n.touch:{...{left:()=>{d.value?u():o()},right:()=>{d.value?o():u()},start:m=>{let{originalEvent:w}=m;w.stopPropagation()}},...n.touch===!0?{}:n.touch});return Or(()=>Co(gt(n.tag,{ref:t,class:["v-window",{"v-window--show-arrows-on-hover":n.showArrows==="hover"},S.value,n.class],style:n.style},{default:()=>{var c,m;return[gt("div",{class:"v-window__container",style:{height:v.value}},[(c=r.default)==null?void 0:c.call(r,{group:p}),n.showArrows!==!1&>("div",{class:"v-window__controls"},[s.value])]),(m=r.additional)==null?void 0:m.call(r,{group:p})]}}),[[Tu("touch"),h.value]])),{group:p}}}),YV=ur({color:String,cycle:Boolean,delimiterIcon:{type:bi,default:"$delimiter"},height:{type:[Number,String],default:500},hideDelimiters:Boolean,hideDelimiterBackground:Boolean,interval:{type:[Number,String],default:6e3,validator:n=>Number(n)>0},progress:[Boolean,String],verticalDelimiters:[Boolean,String],...$A({continuous:!0,mandatory:"force",showArrows:!0})},"VCarousel"),$V=Ar()({name:"VCarousel",props:YV(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const S=xi(n,"modelValue"),{t:D}=oc(),T=Vr();let p=-1;$r(S,d),$r(()=>n.interval,d),$r(()=>n.cycle,g=>{g?d():window.clearTimeout(p)}),Ks(t);function t(){!n.cycle||!T.value||(p=window.setTimeout(T.value.group.next,+n.interval>0?+n.interval:6e3))}function d(){window.clearTimeout(p),window.requestAnimationFrame(t)}return Or(()=>{const[g]=Sx.filterProps(n);return gt(Sx,qr({ref:T},g,{modelValue:S.value,"onUpdate:modelValue":i=>S.value=i,class:["v-carousel",{"v-carousel--hide-delimiter-background":n.hideDelimiterBackground,"v-carousel--vertical-delimiters":n.verticalDelimiters},n.class],style:[{height:Qr(n.height)},n.style]}),{default:r.default,additional:i=>{let{group:M}=i;return gt(Yr,null,[!n.hideDelimiters&>("div",{class:"v-carousel__controls",style:{left:n.verticalDelimiters==="left"&&n.verticalDelimiters?0:"auto",right:n.verticalDelimiters==="right"?0:"auto"}},[M.items.value.length>0&>(Fa,{defaults:{VBtn:{color:n.color,icon:n.delimiterIcon,size:"x-small",variant:"text"}},scoped:!0},{default:()=>[M.items.value.map((v,f)=>{const l={id:`carousel-item-${v.id}`,"aria-label":D("$vuetify.carousel.ariaLabel.delimiter",f+1,M.items.value.length),class:[M.isSelected(v.id)&&"v-btn--active"],onClick:()=>M.select(v.id,!0)};return r.item?r.item({props:l,item:v}):gt(wl,qr(v,l),null)})]})]),n.progress&>(p_,{class:"v-carousel__progress",color:typeof n.progress=="string"?n.progress:void 0,modelValue:(M.getItemIndex(S.value)+1)/M.items.value.length*100},null)])},prev:r.prev,next:r.next})}),{}}}),ZA=ur({reverseTransition:{type:[Boolean,String],default:void 0},transition:{type:[Boolean,String],default:void 0},...Zr(),...T0(),...o1()},"VWindowItem"),Cx=Ar()({name:"VWindowItem",directives:{Touch:M_},props:ZA(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const S=ka(WA),D=k0(n,YA),{isBooted:T}=tp();if(!S||!D)throw new Error("[Vuetify] VWindowItem must be used inside VWindow");const p=Wr(!1),t=cn(()=>T.value&&(S.isReversed.value?n.reverseTransition!==!1:n.transition!==!1));function d(){!p.value||!S||(p.value=!1,S.transitionCount.value>0&&(S.transitionCount.value-=1,S.transitionCount.value===0&&(S.transitionHeight.value=void 0)))}function g(){var l;p.value||!S||(p.value=!0,S.transitionCount.value===0&&(S.transitionHeight.value=Qr((l=S.rootRef.value)==null?void 0:l.clientHeight)),S.transitionCount.value+=1)}function i(){d()}function M(l){p.value&&Ua(()=>{!t.value||!p.value||!S||(S.transitionHeight.value=Qr(l.clientHeight))})}const v=cn(()=>{const l=S.isReversed.value?n.reverseTransition:n.transition;return t.value?{name:typeof l!="string"?S.transition.value:l,onBeforeEnter:g,onAfterEnter:d,onEnterCancelled:i,onBeforeLeave:g,onAfterLeave:d,onLeaveCancelled:i,onEnter:M}:!1}),{hasContent:f}=__(n,D.isSelected);return Or(()=>gt(Oc,{transition:v.value,disabled:!T.value},{default:()=>{var l;return[Co(gt("div",{class:["v-window-item",D.selectedClass.value,n.class],style:n.style},[f.value&&((l=r.default)==null?void 0:l.call(r))]),[[kh,D.isSelected.value]])]}})),{groupItem:D}}}),ZV=ur({...G6(),...ZA()},"VCarouselItem"),XV=Ar()({name:"VCarouselItem",inheritAttrs:!1,props:ZV(),setup(n,e){let{slots:r,attrs:S}=e;Or(()=>{const[D]=Zd.filterProps(n),[T]=Cx.filterProps(n);return gt(Cx,qr({class:"v-carousel-item"},T),{default:()=>[gt(Zd,qr(S,D),r)]})})}});const KV=Nc("v-code");const JV=ur({color:{type:Object},disabled:Boolean,dotSize:{type:[Number,String],default:10},height:{type:[Number,String],default:150},width:{type:[Number,String],default:300},...Zr()},"VColorPickerCanvas"),QV=ac({name:"VColorPickerCanvas",props:JV(),emits:{"update:color":n=>!0,"update:position":n=>!0},setup(n,e){let{emit:r}=e;const S=Wr(!1),D=Vr(),T=Wr(parseFloat(n.width)),p=Wr(parseFloat(n.height)),t=Vr({x:0,y:0}),d=cn({get:()=>t.value,set(u){var h,c;if(!D.value)return;const{x:o,y:s}=u;r("update:color",{h:((h=n.color)==null?void 0:h.h)??0,s:Zs(o,0,T.value)/T.value,v:1-Zs(s,0,p.value)/p.value,a:((c=n.color)==null?void 0:c.a)??1})}}),g=cn(()=>{const{x:u,y:o}=d.value,s=parseInt(n.dotSize,10)/2;return{width:Qr(n.dotSize),height:Qr(n.dotSize),transform:`translate(${Qr(u-s)}, ${Qr(o-s)})`}}),{resizeRef:i}=Th(u=>{var h;if(!((h=i.value)!=null&&h.offsetParent))return;const{width:o,height:s}=u[0].contentRect;T.value=o,p.value=s});function M(u,o,s){const{left:h,top:c,width:m,height:w}=s;d.value={x:Zs(u-h,0,m),y:Zs(o-c,0,w)}}function v(u){u.type==="mousedown"&&u.preventDefault(),!n.disabled&&(f(u),window.addEventListener("mousemove",f),window.addEventListener("mouseup",l),window.addEventListener("touchmove",f),window.addEventListener("touchend",l))}function f(u){if(n.disabled||!D.value)return;S.value=!0;const o=$z(u);M(o.clientX,o.clientY,D.value.getBoundingClientRect())}function l(){window.removeEventListener("mousemove",f),window.removeEventListener("mouseup",l),window.removeEventListener("touchmove",f),window.removeEventListener("touchend",l)}function a(){var c;if(!D.value)return;const u=D.value,o=u.getContext("2d");if(!o)return;const s=o.createLinearGradient(0,0,u.width,0);s.addColorStop(0,"hsla(0, 0%, 100%, 1)"),s.addColorStop(1,`hsla(${((c=n.color)==null?void 0:c.h)??0}, 100%, 50%, 1)`),o.fillStyle=s,o.fillRect(0,0,u.width,u.height);const h=o.createLinearGradient(0,0,0,u.height);h.addColorStop(0,"hsla(0, 0%, 100%, 0)"),h.addColorStop(1,"hsla(0, 0%, 0%, 1)"),o.fillStyle=h,o.fillRect(0,0,u.width,u.height)}return $r(()=>{var u;return(u=n.color)==null?void 0:u.h},a,{immediate:!0}),$r(()=>[T.value,p.value],(u,o)=>{a(),t.value={x:d.value.x*u[0]/o[0],y:d.value.y*u[1]/o[1]}},{flush:"post"}),$r(()=>n.color,()=>{if(S.value){S.value=!1;return}t.value=n.color?{x:n.color.s*T.value,y:(1-n.color.v)*p.value}:{x:0,y:0}},{deep:!0,immediate:!0}),Ks(()=>a()),Or(()=>gt("div",{ref:i,class:["v-color-picker-canvas",n.class],style:n.style,onMousedown:v,onTouchstartPassive:v},[gt("canvas",{ref:D,width:T.value,height:p.value},null),n.color&>("div",{class:["v-color-picker-canvas__dot",{"v-color-picker-canvas__dot--disabled":n.disabled}],style:g.value},null)])),{}}});function ej(n,e){if(e){const{a:r,...S}=n;return S}return n}function tj(n,e){if(e==null||typeof e=="string"){const r=M6(n);return n.a===1?r.slice(0,7):r}if(typeof e=="object"){let r;return Od(e,["r","g","b"])?r=rf(n):Od(e,["h","s","l"])?r=x6(n):Od(e,["h","s","v"])&&(r=n),ej(r,!Od(e,["a"])&&n.a===1)}return n}const bm={h:0,s:0,v:1,a:1},Ex={inputProps:{type:"number",min:0},inputs:[{label:"R",max:255,step:1,getValue:n=>Math.round(n.r),getColor:(n,e)=>({...n,r:Number(e)})},{label:"G",max:255,step:1,getValue:n=>Math.round(n.g),getColor:(n,e)=>({...n,g:Number(e)})},{label:"B",max:255,step:1,getValue:n=>Math.round(n.b),getColor:(n,e)=>({...n,b:Number(e)})},{label:"A",max:1,step:.01,getValue:n=>{let{a:e}=n;return e!=null?Math.round(e*100)/100:1},getColor:(n,e)=>({...n,a:Number(e)})}],to:rf,from:Xy};var pT;const nj={...Ex,inputs:(pT=Ex.inputs)==null?void 0:pT.slice(0,3)},Lx={inputProps:{type:"number",min:0},inputs:[{label:"H",max:360,step:1,getValue:n=>Math.round(n.h),getColor:(n,e)=>({...n,h:Number(e)})},{label:"S",max:1,step:.01,getValue:n=>Math.round(n.s*100)/100,getColor:(n,e)=>({...n,s:Number(e)})},{label:"L",max:1,step:.01,getValue:n=>Math.round(n.l*100)/100,getColor:(n,e)=>({...n,l:Number(e)})},{label:"A",max:1,step:.01,getValue:n=>{let{a:e}=n;return e!=null?Math.round(e*100)/100:1},getColor:(n,e)=>({...n,a:Number(e)})}],to:x6,from:e_},rj={...Lx,inputs:Lx.inputs.slice(0,3)},XA={inputProps:{type:"text"},inputs:[{label:"HEXA",getValue:n=>n,getColor:(n,e)=>e}],to:M6,from:dF},ij={...XA,inputs:[{label:"HEX",getValue:n=>n.slice(0,7),getColor:(n,e)=>e}]},Hd={rgb:nj,rgba:Ex,hsl:rj,hsla:Lx,hex:ij,hexa:XA},aj=n=>{let{label:e,...r}=n;return gt("div",{class:"v-color-picker-edit__input"},[gt("input",r,null),gt("span",null,[e])])},oj=ur({color:Object,disabled:Boolean,mode:{type:String,default:"rgba",validator:n=>Object.keys(Hd).includes(n)},modes:{type:Array,default:()=>Object.keys(Hd),validator:n=>Array.isArray(n)&&n.every(e=>Object.keys(Hd).includes(e))},...Zr()},"VColorPickerEdit"),sj=ac({name:"VColorPickerEdit",props:oj(),emits:{"update:color":n=>!0,"update:mode":n=>!0},setup(n,e){let{emit:r}=e;const S=cn(()=>n.modes.map(T=>({...Hd[T],name:T}))),D=cn(()=>{var t;const T=S.value.find(d=>d.name===n.mode);if(!T)return[];const p=n.color?T.to(n.color):null;return(t=T.inputs)==null?void 0:t.map(d=>{let{getValue:g,getColor:i,...M}=d;return{...T.inputProps,...M,disabled:n.disabled,value:p&&g(p),onChange:v=>{const f=v.target;f&&r("update:color",T.from(i(p??bm,f.value)))}}})});return Or(()=>{var T;return gt("div",{class:["v-color-picker-edit",n.class],style:n.style},[(T=D.value)==null?void 0:T.map(p=>gt(aj,p,null)),S.value.length>1&>(wl,{icon:"$unfold",size:"x-small",variant:"plain",onClick:()=>{const p=S.value.findIndex(t=>t.name===n.mode);r("update:mode",S.value[(p+1)%S.value.length].name)}},null)])}),{}}});const A_=Symbol.for("vuetify:v-slider");function Ix(n,e,r){const S=r==="vertical",D=e.getBoundingClientRect(),T="touches"in n?n.touches[0]:n;return S?T.clientY-(D.top+D.height/2):T.clientX-(D.left+D.width/2)}function lj(n,e){return"touches"in n&&n.touches.length?n.touches[0][e]:"changedTouches"in n&&n.changedTouches.length?n.changedTouches[0][e]:n[e]}const KA=ur({disabled:{type:Boolean,default:null},error:Boolean,readonly:{type:Boolean,default:null},max:{type:[Number,String],default:100},min:{type:[Number,String],default:0},step:{type:[Number,String],default:0},thumbColor:String,thumbLabel:{type:[Boolean,String],default:void 0,validator:n=>typeof n=="boolean"||n==="always"},thumbSize:{type:[Number,String],default:20},showTicks:{type:[Boolean,String],default:!1,validator:n=>typeof n=="boolean"||n==="always"},ticks:{type:[Array,Object]},tickSize:{type:[Number,String],default:2},color:String,trackColor:String,trackFillColor:String,trackSize:{type:[Number,String],default:4},direction:{type:String,default:"horizontal",validator:n=>["vertical","horizontal"].includes(n)},reverse:Boolean,...uo(),...fs({elevation:2})},"Slider"),JA=n=>{const e=cn(()=>parseFloat(n.min)),r=cn(()=>parseFloat(n.max)),S=cn(()=>+n.step>0?parseFloat(n.step):0),D=cn(()=>Math.max(_5(S.value),_5(e.value)));function T(p){if(p=parseFloat(p),S.value<=0)return p;const t=Zs(p,e.value,r.value),d=e.value%S.value,g=Math.round((t-d)/S.value)*S.value+d;return parseFloat(Math.min(g,r.value).toFixed(D.value))}return{min:e,max:r,step:S,decimals:D,roundValue:T}},QA=n=>{let{props:e,steps:r,onSliderStart:S,onSliderMove:D,onSliderEnd:T,getActiveThumb:p}=n;const{isRtl:t}=Cs(),d=Cr(e,"reverse"),g=cn(()=>{let U=t.value?"rtl":"ltr";return e.reverse&&(U=U==="rtl"?"ltr":"rtl"),U}),{min:i,max:M,step:v,decimals:f,roundValue:l}=r,a=cn(()=>parseInt(e.thumbSize,10)),u=cn(()=>parseInt(e.tickSize,10)),o=cn(()=>parseInt(e.trackSize,10)),s=cn(()=>(M.value-i.value)/v.value),h=Cr(e,"disabled"),c=cn(()=>e.direction==="vertical"),m=cn(()=>e.error||e.disabled?void 0:e.thumbColor??e.color),w=cn(()=>e.error||e.disabled?void 0:e.trackColor??e.color),y=cn(()=>e.error||e.disabled?void 0:e.trackFillColor??e.color),C=Wr(!1),_=Wr(0),k=Vr(),E=Vr();function x(U){var re;const G=e.direction==="vertical",q=G?"top":"left",H=G?"height":"width",ne=G?"clientY":"clientX",{[q]:te,[H]:Z}=(re=k.value)==null?void 0:re.$el.getBoundingClientRect(),X=lj(U,ne);let Q=Math.min(Math.max((X-te-_.value)/Z,0),1)||0;return(G||g.value==="rtl")&&(Q=1-Q),l(i.value+Q*(M.value-i.value))}const A=U=>{T({value:x(U)}),C.value=!1,_.value=0},L=U=>{E.value=p(U),E.value&&(E.value.focus(),C.value=!0,E.value.contains(U.target)?_.value=Ix(U,E.value,e.direction):(_.value=0,D({value:x(U)})),S({value:x(U)}))},b={passive:!0,capture:!0};function R(U){D({value:x(U)})}function I(U){U.stopPropagation(),U.preventDefault(),A(U),window.removeEventListener("mousemove",R,b),window.removeEventListener("mouseup",I)}function O(U){var G;A(U),window.removeEventListener("touchmove",R,b),(G=U.target)==null||G.removeEventListener("touchend",O)}function z(U){var G;L(U),window.addEventListener("touchmove",R,b),(G=U.target)==null||G.addEventListener("touchend",O,{passive:!1})}function F(U){U.preventDefault(),L(U),window.addEventListener("mousemove",R,b),window.addEventListener("mouseup",I,{passive:!1})}const B=U=>{const G=(U-i.value)/(M.value-i.value)*100;return Zs(isNaN(G)?0:G,0,100)},N=Cr(e,"showTicks"),W=cn(()=>N.value?e.ticks?Array.isArray(e.ticks)?e.ticks.map(U=>({value:U,position:B(U),label:U.toString()})):Object.keys(e.ticks).map(U=>({value:parseFloat(U),position:B(parseFloat(U)),label:e.ticks[U]})):s.value!==1/0?Kh(s.value+1).map(U=>{const G=i.value+U*v.value;return{value:G,position:B(G)}}):[]:[]),j=cn(()=>W.value.some(U=>{let{label:G}=U;return!!G})),$={activeThumbRef:E,color:Cr(e,"color"),decimals:f,disabled:h,direction:Cr(e,"direction"),elevation:Cr(e,"elevation"),hasLabels:j,horizontalDirection:g,isReversed:d,min:i,max:M,mousePressed:C,numTicks:s,onSliderMousedown:F,onSliderTouchstart:z,parsedTicks:W,parseMouseMove:x,position:B,readonly:Cr(e,"readonly"),rounded:Cr(e,"rounded"),roundValue:l,showTicks:N,startOffset:_,step:v,thumbSize:a,thumbColor:m,thumbLabel:Cr(e,"thumbLabel"),ticks:Cr(e,"ticks"),tickSize:u,trackColor:w,trackContainerRef:k,trackFillColor:y,trackSize:o,vertical:c};return ts(A_,$),$},uj=ur({focused:Boolean,max:{type:Number,required:!0},min:{type:Number,required:!0},modelValue:{type:Number,required:!0},position:{type:Number,required:!0},ripple:{type:[Boolean,Object],default:!0},...Zr()},"VSliderThumb"),Rx=Ar()({name:"VSliderThumb",directives:{Ripple:nd},props:uj(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r,emit:S}=e;const D=ka(A_),{rtlClasses:T}=Cs();if(!D)throw new Error("[Vuetify] v-slider-thumb must be used inside v-slider or v-range-slider");const{thumbColor:p,step:t,vertical:d,disabled:g,thumbSize:i,thumbLabel:M,direction:v,readonly:f,elevation:l,isReversed:a,horizontalDirection:u,mousePressed:o,decimals:s}=D,{textColorClasses:h,textColorStyles:c}=Xs(p),{pageup:m,pagedown:w,end:y,home:C,left:_,right:k,down:E,up:x}=sx,A=[m,w,y,C,_,k,E,x],L=cn(()=>t.value?[1,2,3]:[1,5,10]);function b(I,O){if(!A.includes(I.key))return;I.preventDefault();const z=t.value||.1,F=(n.max-n.min)/z;if([_,k,E,x].includes(I.key)){const N=(u.value==="rtl"?[_,x]:[k,x]).includes(I.key)?1:-1,W=I.shiftKey?2:I.ctrlKey?1:0;O=O+N*z*L.value[W]}else if(I.key===C)O=n.min;else if(I.key===y)O=n.max;else{const B=I.key===w?1:-1;O=O-B*z*(F>100?F/10:10)}return Math.max(n.min,Math.min(n.max,O))}function R(I){const O=b(I,n.modelValue);O!=null&&S("update:modelValue",O)}return Or(()=>{const I=Qr(d.value||a.value?100-n.position:n.position,"%"),{elevationClasses:O}=Vs(cn(()=>g.value?void 0:l.value));return gt("div",{class:["v-slider-thumb",{"v-slider-thumb--focused":n.focused,"v-slider-thumb--pressed":n.focused&&o.value},n.class,T.value],style:[{"--v-slider-thumb-position":I,"--v-slider-thumb-size":Qr(i.value)},n.style],role:"slider",tabindex:g.value?-1:0,"aria-valuemin":n.min,"aria-valuemax":n.max,"aria-valuenow":n.modelValue,"aria-readonly":!!f.value,"aria-orientation":v.value,onKeydown:f.value?void 0:R},[gt("div",{class:["v-slider-thumb__surface",h.value,O.value],style:{...c.value}},null),Co(gt("div",{class:["v-slider-thumb__ripple",h.value],style:c.value},null),[[Tu("ripple"),n.ripple,null,{circle:!0,center:!0}]]),gt(s_,{origin:"bottom center"},{default:()=>{var z;return[Co(gt("div",{class:"v-slider-thumb__label-container"},[gt("div",{class:["v-slider-thumb__label"]},[gt("div",null,[((z=r["thumb-label"])==null?void 0:z.call(r,{modelValue:n.modelValue}))??n.modelValue.toFixed(t.value?s.value:1)])])]),[[kh,M.value&&n.focused||M.value==="always"]])]}})])}),{}}});const cj=ur({start:{type:Number,required:!0},stop:{type:Number,required:!0},...Zr()},"VSliderTrack"),eS=Ar()({name:"VSliderTrack",props:cj(),emits:{},setup(n,e){let{slots:r}=e;const S=ka(A_);if(!S)throw new Error("[Vuetify] v-slider-track must be inside v-slider or v-range-slider");const{color:D,horizontalDirection:T,parsedTicks:p,rounded:t,showTicks:d,tickSize:g,trackColor:i,trackFillColor:M,trackSize:v,vertical:f,min:l,max:a}=S,{roundedClasses:u}=Eo(t),{backgroundColorClasses:o,backgroundColorStyles:s}=Oo(M),{backgroundColorClasses:h,backgroundColorStyles:c}=Oo(i),m=cn(()=>`inset-${f.value?"block-end":"inline-start"}`),w=cn(()=>f.value?"height":"width"),y=cn(()=>({[m.value]:"0%",[w.value]:"100%"})),C=cn(()=>n.stop-n.start),_=cn(()=>({[m.value]:Qr(n.start,"%"),[w.value]:Qr(C.value,"%")})),k=cn(()=>d.value?(f.value?p.value.slice().reverse():p.value).map((x,A)=>{var R;const L=f.value?"bottom":"margin-inline-start",b=x.value!==l.value&&x.value!==a.value?Qr(x.position,"%"):void 0;return gt("div",{key:x.value,class:["v-slider-track__tick",{"v-slider-track__tick--filled":x.position>=n.start&&x.position<=n.stop,"v-slider-track__tick--first":x.value===l.value,"v-slider-track__tick--last":x.value===a.value}],style:{[L]:b}},[(x.label||r["tick-label"])&>("div",{class:"v-slider-track__tick-label"},[((R=r["tick-label"])==null?void 0:R.call(r,{tick:x,index:A}))??x.label])])}):[]);return Or(()=>gt("div",{class:["v-slider-track",u.value,n.class],style:[{"--v-slider-track-size":Qr(v.value),"--v-slider-tick-size":Qr(g.value),direction:f.value?void 0:T.value},n.style]},[gt("div",{class:["v-slider-track__background",h.value,{"v-slider-track__background--opacity":!!D.value||!M.value}],style:{...y.value,...c.value}},null),gt("div",{class:["v-slider-track__fill",o.value],style:{..._.value,...s.value}},null),d.value&>("div",{class:["v-slider-track__ticks",{"v-slider-track__ticks--always-show":d.value==="always"}]},[k.value])])),{}}}),hj=ur({...r1(),...KA(),...mf(),modelValue:{type:[Number,String],default:0}},"VSlider"),Px=Ar()({name:"VSlider",props:hj(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,start:n=>!0,end:n=>!0},setup(n,e){let{slots:r,emit:S}=e;const D=Vr(),{rtlClasses:T}=Cs(),p=JA(n),t=xi(n,"modelValue",void 0,w=>p.roundValue(w??p.min.value)),{min:d,max:g,mousePressed:i,roundValue:M,onSliderMousedown:v,onSliderTouchstart:f,trackContainerRef:l,position:a,hasLabels:u,readonly:o}=QA({props:n,steps:p,onSliderStart:()=>{S("start",t.value)},onSliderEnd:w=>{let{value:y}=w;const C=M(y);t.value=C,S("end",C)},onSliderMove:w=>{let{value:y}=w;return t.value=M(y)},getActiveThumb:()=>{var w;return(w=D.value)==null?void 0:w.$el}}),{isFocused:s,focus:h,blur:c}=rd(n),m=cn(()=>a(t.value));return Or(()=>{const[w,y]=Bs.filterProps(n),C=!!(n.label||r.label||r.prepend);return gt(Bs,qr({class:["v-slider",{"v-slider--has-labels":!!r["tick-label"]||u.value,"v-slider--focused":s.value,"v-slider--pressed":i.value,"v-slider--disabled":n.disabled},T.value,n.class],style:n.style},w,{focused:s.value}),{...r,prepend:C?_=>{var k,E;return gt(Yr,null,[((k=r.label)==null?void 0:k.call(r,_))??n.label?gt(C0,{id:_.id.value,class:"v-slider__label",text:n.label},null):void 0,(E=r.prepend)==null?void 0:E.call(r,_)])}:void 0,default:_=>{let{id:k,messagesId:E}=_;return gt("div",{class:"v-slider__container",onMousedown:o.value?void 0:v,onTouchstartPassive:o.value?void 0:f},[gt("input",{id:k.value,name:n.name||k.value,disabled:!!n.disabled,readonly:!!n.readonly,tabindex:"-1",value:t.value},null),gt(eS,{ref:l,start:0,stop:m.value},{"tick-label":r["tick-label"]}),gt(Rx,{ref:D,"aria-describedby":E.value,focused:s.value,min:d.value,max:g.value,modelValue:t.value,"onUpdate:modelValue":x=>t.value=x,position:m.value,elevation:n.elevation,onFocus:h,onBlur:c},{"thumb-label":r["thumb-label"]})])}})}),{}}}),fj=ur({color:{type:Object},disabled:Boolean,hideAlpha:Boolean,...Zr()},"VColorPickerPreview"),dj=ac({name:"VColorPickerPreview",props:fj(),emits:{"update:color":n=>!0},setup(n,e){let{emit:r}=e;return Or(()=>{var S,D;return gt("div",{class:["v-color-picker-preview",{"v-color-picker-preview--hide-alpha":n.hideAlpha},n.class],style:n.style},[gt("div",{class:"v-color-picker-preview__dot"},[gt("div",{style:{background:w6(n.color??bm)}},null)]),gt("div",{class:"v-color-picker-preview__sliders"},[gt(Px,{class:"v-color-picker-preview__track v-color-picker-preview__hue",modelValue:(S=n.color)==null?void 0:S.h,"onUpdate:modelValue":T=>r("update:color",{...n.color??bm,h:T}),step:0,min:0,max:360,disabled:n.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null),!n.hideAlpha&>(Px,{class:"v-color-picker-preview__track v-color-picker-preview__alpha",modelValue:((D=n.color)==null?void 0:D.a)??1,"onUpdate:modelValue":T=>r("update:color",{...n.color??bm,a:T}),step:1/256,min:0,max:1,disabled:n.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null)])])}),{}}});const pj=Object.freeze({base:"#f44336",lighten5:"#ffebee",lighten4:"#ffcdd2",lighten3:"#ef9a9a",lighten2:"#e57373",lighten1:"#ef5350",darken1:"#e53935",darken2:"#d32f2f",darken3:"#c62828",darken4:"#b71c1c",accent1:"#ff8a80",accent2:"#ff5252",accent3:"#ff1744",accent4:"#d50000"}),mj=Object.freeze({base:"#e91e63",lighten5:"#fce4ec",lighten4:"#f8bbd0",lighten3:"#f48fb1",lighten2:"#f06292",lighten1:"#ec407a",darken1:"#d81b60",darken2:"#c2185b",darken3:"#ad1457",darken4:"#880e4f",accent1:"#ff80ab",accent2:"#ff4081",accent3:"#f50057",accent4:"#c51162"}),gj=Object.freeze({base:"#9c27b0",lighten5:"#f3e5f5",lighten4:"#e1bee7",lighten3:"#ce93d8",lighten2:"#ba68c8",lighten1:"#ab47bc",darken1:"#8e24aa",darken2:"#7b1fa2",darken3:"#6a1b9a",darken4:"#4a148c",accent1:"#ea80fc",accent2:"#e040fb",accent3:"#d500f9",accent4:"#aa00ff"}),vj=Object.freeze({base:"#673ab7",lighten5:"#ede7f6",lighten4:"#d1c4e9",lighten3:"#b39ddb",lighten2:"#9575cd",lighten1:"#7e57c2",darken1:"#5e35b1",darken2:"#512da8",darken3:"#4527a0",darken4:"#311b92",accent1:"#b388ff",accent2:"#7c4dff",accent3:"#651fff",accent4:"#6200ea"}),yj=Object.freeze({base:"#3f51b5",lighten5:"#e8eaf6",lighten4:"#c5cae9",lighten3:"#9fa8da",lighten2:"#7986cb",lighten1:"#5c6bc0",darken1:"#3949ab",darken2:"#303f9f",darken3:"#283593",darken4:"#1a237e",accent1:"#8c9eff",accent2:"#536dfe",accent3:"#3d5afe",accent4:"#304ffe"}),bj=Object.freeze({base:"#2196f3",lighten5:"#e3f2fd",lighten4:"#bbdefb",lighten3:"#90caf9",lighten2:"#64b5f6",lighten1:"#42a5f5",darken1:"#1e88e5",darken2:"#1976d2",darken3:"#1565c0",darken4:"#0d47a1",accent1:"#82b1ff",accent2:"#448aff",accent3:"#2979ff",accent4:"#2962ff"}),xj=Object.freeze({base:"#03a9f4",lighten5:"#e1f5fe",lighten4:"#b3e5fc",lighten3:"#81d4fa",lighten2:"#4fc3f7",lighten1:"#29b6f6",darken1:"#039be5",darken2:"#0288d1",darken3:"#0277bd",darken4:"#01579b",accent1:"#80d8ff",accent2:"#40c4ff",accent3:"#00b0ff",accent4:"#0091ea"}),_j=Object.freeze({base:"#00bcd4",lighten5:"#e0f7fa",lighten4:"#b2ebf2",lighten3:"#80deea",lighten2:"#4dd0e1",lighten1:"#26c6da",darken1:"#00acc1",darken2:"#0097a7",darken3:"#00838f",darken4:"#006064",accent1:"#84ffff",accent2:"#18ffff",accent3:"#00e5ff",accent4:"#00b8d4"}),wj=Object.freeze({base:"#009688",lighten5:"#e0f2f1",lighten4:"#b2dfdb",lighten3:"#80cbc4",lighten2:"#4db6ac",lighten1:"#26a69a",darken1:"#00897b",darken2:"#00796b",darken3:"#00695c",darken4:"#004d40",accent1:"#a7ffeb",accent2:"#64ffda",accent3:"#1de9b6",accent4:"#00bfa5"}),Tj=Object.freeze({base:"#4caf50",lighten5:"#e8f5e9",lighten4:"#c8e6c9",lighten3:"#a5d6a7",lighten2:"#81c784",lighten1:"#66bb6a",darken1:"#43a047",darken2:"#388e3c",darken3:"#2e7d32",darken4:"#1b5e20",accent1:"#b9f6ca",accent2:"#69f0ae",accent3:"#00e676",accent4:"#00c853"}),kj=Object.freeze({base:"#8bc34a",lighten5:"#f1f8e9",lighten4:"#dcedc8",lighten3:"#c5e1a5",lighten2:"#aed581",lighten1:"#9ccc65",darken1:"#7cb342",darken2:"#689f38",darken3:"#558b2f",darken4:"#33691e",accent1:"#ccff90",accent2:"#b2ff59",accent3:"#76ff03",accent4:"#64dd17"}),Mj=Object.freeze({base:"#cddc39",lighten5:"#f9fbe7",lighten4:"#f0f4c3",lighten3:"#e6ee9c",lighten2:"#dce775",lighten1:"#d4e157",darken1:"#c0ca33",darken2:"#afb42b",darken3:"#9e9d24",darken4:"#827717",accent1:"#f4ff81",accent2:"#eeff41",accent3:"#c6ff00",accent4:"#aeea00"}),Aj=Object.freeze({base:"#ffeb3b",lighten5:"#fffde7",lighten4:"#fff9c4",lighten3:"#fff59d",lighten2:"#fff176",lighten1:"#ffee58",darken1:"#fdd835",darken2:"#fbc02d",darken3:"#f9a825",darken4:"#f57f17",accent1:"#ffff8d",accent2:"#ffff00",accent3:"#ffea00",accent4:"#ffd600"}),Sj=Object.freeze({base:"#ffc107",lighten5:"#fff8e1",lighten4:"#ffecb3",lighten3:"#ffe082",lighten2:"#ffd54f",lighten1:"#ffca28",darken1:"#ffb300",darken2:"#ffa000",darken3:"#ff8f00",darken4:"#ff6f00",accent1:"#ffe57f",accent2:"#ffd740",accent3:"#ffc400",accent4:"#ffab00"}),Cj=Object.freeze({base:"#ff9800",lighten5:"#fff3e0",lighten4:"#ffe0b2",lighten3:"#ffcc80",lighten2:"#ffb74d",lighten1:"#ffa726",darken1:"#fb8c00",darken2:"#f57c00",darken3:"#ef6c00",darken4:"#e65100",accent1:"#ffd180",accent2:"#ffab40",accent3:"#ff9100",accent4:"#ff6d00"}),Ej=Object.freeze({base:"#ff5722",lighten5:"#fbe9e7",lighten4:"#ffccbc",lighten3:"#ffab91",lighten2:"#ff8a65",lighten1:"#ff7043",darken1:"#f4511e",darken2:"#e64a19",darken3:"#d84315",darken4:"#bf360c",accent1:"#ff9e80",accent2:"#ff6e40",accent3:"#ff3d00",accent4:"#dd2c00"}),Lj=Object.freeze({base:"#795548",lighten5:"#efebe9",lighten4:"#d7ccc8",lighten3:"#bcaaa4",lighten2:"#a1887f",lighten1:"#8d6e63",darken1:"#6d4c41",darken2:"#5d4037",darken3:"#4e342e",darken4:"#3e2723"}),Ij=Object.freeze({base:"#607d8b",lighten5:"#eceff1",lighten4:"#cfd8dc",lighten3:"#b0bec5",lighten2:"#90a4ae",lighten1:"#78909c",darken1:"#546e7a",darken2:"#455a64",darken3:"#37474f",darken4:"#263238"}),Rj=Object.freeze({base:"#9e9e9e",lighten5:"#fafafa",lighten4:"#f5f5f5",lighten3:"#eeeeee",lighten2:"#e0e0e0",lighten1:"#bdbdbd",darken1:"#757575",darken2:"#616161",darken3:"#424242",darken4:"#212121"}),Pj=Object.freeze({black:"#000000",white:"#ffffff",transparent:"#ffffff00"}),Oj=Object.freeze({red:pj,pink:mj,purple:gj,deepPurple:vj,indigo:yj,blue:bj,lightBlue:xj,cyan:_j,teal:wj,green:Tj,lightGreen:kj,lime:Mj,yellow:Aj,amber:Sj,orange:Cj,deepOrange:Ej,brown:Lj,blueGrey:Ij,grey:Rj,shades:Pj}),Dj=ur({swatches:{type:Array,default:()=>zj(Oj)},disabled:Boolean,color:Object,maxHeight:[Number,String],...Zr()},"VColorPickerSwatches");function zj(n){return Object.keys(n).map(e=>{const r=n[e];return r.base?[r.base,r.darken4,r.darken3,r.darken2,r.darken1,r.lighten1,r.lighten2,r.lighten3,r.lighten4,r.lighten5]:[r.black,r.white,r.transparent]})}const Fj=ac({name:"VColorPickerSwatches",props:Dj(),emits:{"update:color":n=>!0},setup(n,e){let{emit:r}=e;return Or(()=>gt("div",{class:["v-color-picker-swatches",n.class],style:[{maxHeight:Qr(n.maxHeight)},n.style]},[gt("div",null,[n.swatches.map(S=>gt("div",{class:"v-color-picker-swatches__swatch"},[S.map(D=>{const T=Pc(D),p=Xy(T),t=_6(T);return gt("div",{class:"v-color-picker-swatches__color",onClick:()=>p&&r("update:color",p)},[gt("div",{style:{background:t}},[n.color&&b0(n.color,p)?gt(ja,{size:"x-small",icon:"$success",color:vF(D,"#FFFFFF")>2?"white":"black"},null):void 0])])})]))])])),{}}});const tS=ur({color:String,...Su(),...Zr(),...sc(),...fs(),...ed(),...A0(),...uo(),...Si(),...oa()},"VSheet"),Ox=Ar()({name:"VSheet",props:tS(),setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ma(n),{backgroundColorClasses:D,backgroundColorStyles:T}=Oo(Cr(n,"color")),{borderClasses:p}=uc(n),{dimensionStyles:t}=lc(n),{elevationClasses:d}=Vs(n),{locationStyles:g}=td(n),{positionClasses:i}=S0(n),{roundedClasses:M}=Eo(n);return Or(()=>gt(n.tag,{class:["v-sheet",S.value,D.value,p.value,d.value,i.value,M.value,n.class],style:[T.value,t.value,g.value,n.style]},r)),{}}}),Bj=ur({canvasHeight:{type:[String,Number],default:150},disabled:Boolean,dotSize:{type:[Number,String],default:10},hideCanvas:Boolean,hideSliders:Boolean,hideInputs:Boolean,mode:{type:String,default:"rgba",validator:n=>Object.keys(Hd).includes(n)},modes:{type:Array,default:()=>Object.keys(Hd),validator:n=>Array.isArray(n)&&n.every(e=>Object.keys(Hd).includes(e))},showSwatches:Boolean,swatches:Array,swatchesMaxHeight:{type:[Number,String],default:150},modelValue:{type:[Object,String]},...ic(tS({width:300}),["height","location","minHeight","maxHeight","minWidth","maxWidth"])},"VColorPicker"),Nj=ac({name:"VColorPicker",props:Bj(),emits:{"update:modelValue":n=>!0,"update:mode":n=>!0},setup(n){const e=xi(n,"mode"),r=Vr(null),S=xi(n,"modelValue",void 0,p=>{if(p==null||p==="")return null;let t;try{t=Xy(Pc(p))}catch{return null}return r.value&&(t={...t,h:r.value.h},r.value=null),t},p=>p?tj(p,n.modelValue):null),{rtlClasses:D}=Cs(),T=p=>{S.value=p,r.value=p};return Ks(()=>{n.modes.includes(e.value)||(e.value=n.modes[0])}),es({VSlider:{color:void 0,trackColor:void 0,trackFillColor:void 0}}),Or(()=>{const[p]=Ox.filterProps(n);return gt(Ox,qr({rounded:n.rounded,elevation:n.elevation,theme:n.theme,class:["v-color-picker",D.value,n.class],style:[{"--v-color-picker-color-hsv":w6({...S.value??bm,a:1})},n.style]},p,{maxWidth:n.width}),{default:()=>[!n.hideCanvas&>(QV,{key:"canvas",color:S.value,"onUpdate:color":T,disabled:n.disabled,dotSize:n.dotSize,width:n.width,height:n.canvasHeight},null),(!n.hideSliders||!n.hideInputs)&>("div",{key:"controls",class:"v-color-picker__controls"},[!n.hideSliders&>(dj,{key:"preview",color:S.value,"onUpdate:color":T,hideAlpha:!e.value.endsWith("a"),disabled:n.disabled},null),!n.hideInputs&>(sj,{key:"edit",modes:n.modes,mode:e.value,"onUpdate:mode":t=>e.value=t,color:S.value,"onUpdate:color":T,disabled:n.disabled},null)]),n.showSwatches&>(Fj,{key:"swatches",color:S.value,"onUpdate:color":T,maxHeight:n.swatchesMaxHeight,swatches:n.swatches,disabled:n.disabled},null)]})}),{}}});function Vj(n,e,r){if(e==null)return n;if(Array.isArray(e))throw new Error("Multiple matches is not implemented");return typeof e=="number"&&~e?gt(Yr,null,[gt("span",{class:"v-combobox__unmask"},[n.substr(0,e)]),gt("span",{class:"v-combobox__mask"},[n.substr(e,r)]),gt("span",{class:"v-combobox__unmask"},[n.substr(e+r)])]):n}const jj=ur({autoSelectFirst:{type:[Boolean,String]},delimiters:Array,...DA({filterKeys:["title"]}),...k_({hideNoData:!0,returnObject:!0}),...ic(c1({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...df({transition:!1})},"VCombobox"),Uj=Ar()({name:"VCombobox",props:jj(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,"update:search":n=>!0,"update:menu":n=>!0},setup(n,e){var q;let{emit:r,slots:S}=e;const{t:D}=oc(),T=Vr(),p=Wr(!1),t=Wr(!0),d=Wr(!1),g=Vr(),i=Vr(),M=xi(n,"menu"),v=cn({get:()=>M.value,set:H=>{var ne;M.value&&!H&&((ne=g.value)!=null&&ne.ΨopenChildren)||(M.value=H)}}),f=Wr(-1);let l=!1;const a=cn(()=>{var H;return(H=T.value)==null?void 0:H.color}),u=cn(()=>v.value?n.closeText:n.openText),{items:o,transformIn:s,transformOut:h}=x_(n),{textColorClasses:c,textColorStyles:m}=Xs(a),w=xi(n,"modelValue",[],H=>s(bu(H)),H=>{const ne=h(H);return n.multiple?ne:ne[0]??null}),y=i1(),C=Wr(n.multiple?"":((q=w.value[0])==null?void 0:q.title)??""),_=cn({get:()=>C.value,set:H=>{var ne;if(C.value=H,n.multiple||(w.value=[zd(n,H)]),H&&n.multiple&&((ne=n.delimiters)!=null&&ne.length)){const te=H.split(new RegExp(`(?:${n.delimiters.join("|")})+`));te.length>1&&(te.forEach(Z=>{Z=Z.trim(),Z&&j(zd(n,Z))}),C.value="")}H||(f.value=-1),t.value=!H}});$r(C,H=>{l?Ua(()=>l=!1):p.value&&!v.value&&(v.value=!0),r("update:search",H)}),$r(w,H=>{var ne;n.multiple||(C.value=((ne=H[0])==null?void 0:ne.title)??"")});const{filteredItems:k,getMatches:E}=zA(n,o,()=>t.value?"":_.value),x=cn(()=>n.hideSelected?k.value.filter(H=>!w.value.some(ne=>ne.value===H.value)):k.value),A=cn(()=>w.value.map(H=>H.value)),L=cn(()=>{var ne;return(n.autoSelectFirst===!0||n.autoSelectFirst==="exact"&&_.value===((ne=x.value[0])==null?void 0:ne.title))&&x.value.length>0&&!t.value&&!d.value}),b=cn(()=>n.hideNoData&&!o.value.length||n.readonly||(y==null?void 0:y.isReadonly.value)),R=Vr(),{onListScroll:I,onListKeydown:O}=T_(R,T);function z(H){l=!0,n.openOnClear&&(v.value=!0)}function F(){b.value||(v.value=!0)}function B(H){b.value||(p.value&&(H.preventDefault(),H.stopPropagation()),v.value=!v.value)}function N(H){var Z;if(n.readonly||y!=null&&y.isReadonly.value)return;const ne=T.value.selectionStart,te=w.value.length;if((f.value>-1||["Enter","ArrowDown","ArrowUp"].includes(H.key))&&H.preventDefault(),["Enter","ArrowDown"].includes(H.key)&&(v.value=!0),["Escape"].includes(H.key)&&(v.value=!1),["Enter","Escape","Tab"].includes(H.key)&&(L.value&&["Enter","Tab"].includes(H.key)&&j(k.value[0]),t.value=!0),H.key==="ArrowDown"&&L.value&&((Z=R.value)==null||Z.focus("next")),!!n.multiple){if(["Backspace","Delete"].includes(H.key)){if(f.value<0){H.key==="Backspace"&&!_.value&&(f.value=te-1);return}const X=f.value,Q=w.value[f.value];Q&&j(Q),f.value=X>=te-1?te-2:X}if(H.key==="ArrowLeft"){if(f.value<0&&ne>0)return;const X=f.value>-1?f.value-1:te-1;w.value[X]?f.value=X:(f.value=-1,T.value.setSelectionRange(_.value.length,_.value.length))}if(H.key==="ArrowRight"){if(f.value<0)return;const X=f.value+1;w.value[X]?f.value=X:(f.value=-1,T.value.setSelectionRange(0,0))}H.key==="Enter"&&_.value&&(j(zd(n,_.value)),_.value="")}}function W(){var H;p.value&&(t.value=!0,(H=T.value)==null||H.focus())}function j(H){if(n.multiple){const ne=w.value.findIndex(te=>n.valueComparator(te.value,H.value));if(ne===-1)w.value=[...w.value,H];else{const te=[...w.value];te.splice(ne,1),w.value=te}_.value=""}else w.value=[H],C.value=H.title,Ua(()=>{v.value=!1,t.value=!0})}function $(H){p.value=!0,setTimeout(()=>{d.value=!0})}function U(H){d.value=!1}function G(H){(H==null||H===""&&!n.multiple)&&(w.value=[])}return $r(k,H=>{!H.length&&n.hideNoData&&(v.value=!1)}),$r(p,(H,ne)=>{H||H===ne||(f.value=-1,v.value=!1,L.value&&!d.value&&!w.value.some(te=>{let{value:Z}=te;return Z===x.value[0].value})?j(x.value[0]):n.multiple&&_.value&&(w.value=[...w.value,zd(n,_.value)],_.value=""))}),$r(v,()=>{if(!n.hideSelected&&v.value&&w.value.length){const H=x.value.findIndex(ne=>w.value.some(te=>n.valueComparator(te.value,ne.value)));to&&window.requestAnimationFrame(()=>{var ne;H>=0&&((ne=i.value)==null||ne.scrollToIndex(H))})}}),Or(()=>{const H=!!(n.chips||S.chip),ne=!!(!n.hideNoData||x.value.length||S["prepend-item"]||S["append-item"]||S["no-data"]),te=w.value.length>0,[Z]=Kd.filterProps(n);return gt(Kd,qr({ref:T},Z,{modelValue:_.value,"onUpdate:modelValue":[X=>_.value=X,G],focused:p.value,"onUpdate:focused":X=>p.value=X,validationValue:w.externalValue,dirty:te,class:["v-combobox",{"v-combobox--active-menu":v.value,"v-combobox--chips":!!n.chips,"v-combobox--selection-slot":!!S.selection,"v-combobox--selecting-index":f.value>-1,[`v-combobox--${n.multiple?"multiple":"single"}`]:!0},n.class],style:n.style,readonly:n.readonly,placeholder:te?void 0:n.placeholder,"onClick:clear":z,"onMousedown:control":F,onKeydown:N}),{...S,default:()=>gt(Yr,null,[gt(s1,qr({ref:g,modelValue:v.value,"onUpdate:modelValue":X=>v.value=X,activator:"parent",contentClass:"v-combobox__content",disabled:b.value,eager:n.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:n.transition,onAfterLeave:W},n.menuProps),{default:()=>[ne&>(a1,{ref:R,selected:A.value,selectStrategy:n.multiple?"independent":"single-independent",onMousedown:X=>X.preventDefault(),onKeydown:O,onFocusin:$,onFocusout:U,onScrollPassive:I,tabindex:"-1",color:n.itemColor??n.color},{default:()=>{var X,Q,re;return[(X=S["prepend-item"])==null?void 0:X.call(S),!x.value.length&&!n.hideNoData&&(((Q=S["no-data"])==null?void 0:Q.call(S))??gt(af,{title:D(n.noDataText)},null)),gt(h1,{ref:i,renderless:!0,items:x.value},{default:ie=>{var de;let{item:oe,index:ue,itemRef:ce}=ie;const ye=qr(oe.props,{ref:ce,key:ue,active:L.value&&ue===0?!0:void 0,onClick:()=>j(oe)});return((de=S.item)==null?void 0:de.call(S,{item:oe,index:ue,props:ye}))??gt(af,ye,{prepend:me=>{let{isSelected:pe}=me;return gt(Yr,null,[n.multiple&&!n.hideSelected?gt(h0,{key:oe.value,modelValue:pe,ripple:!1,tabindex:"-1"},null):void 0,oe.props.prependIcon&>(ja,{icon:oe.props.prependIcon},null)])},title:()=>{var me,pe;return t.value?oe.title:Vj(oe.title,(me=E(oe))==null?void 0:me.title,((pe=_.value)==null?void 0:pe.length)??0)}})}}),(re=S["append-item"])==null?void 0:re.call(S)]}})]}),w.value.map((X,Q)=>{var oe;function re(ue){ue.stopPropagation(),ue.preventDefault(),j(X)}const ie={"onClick:close":re,onMousedown(ue){ue.preventDefault(),ue.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return gt("div",{key:X.value,class:["v-combobox__selection",Q===f.value&&["v-combobox__selection--selected",c.value]],style:Q===f.value?m.value:{}},[H?S.chip?gt(Fa,{key:"chip-defaults",defaults:{VChip:{closable:n.closableChips,size:"small",text:X.title}}},{default:()=>{var ue;return[(ue=S.chip)==null?void 0:ue.call(S,{item:X,index:Q,props:ie})]}}):gt(ug,qr({key:"chip",closable:n.closableChips,size:"small",text:X.title},ie),null):((oe=S.selection)==null?void 0:oe.call(S,{item:X,index:Q}))??gt("span",{class:"v-combobox__selection-text"},[X.title,n.multiple&&Q!0},setup(n,e){let{slots:r}=e;const S=xi(n,"modelValue"),{scopeId:D}=E0(),T=Vr();function p(d){var M,v;const g=d.relatedTarget,i=d.target;if(g!==i&&((M=T.value)!=null&&M.contentEl)&&((v=T.value)!=null&&v.globalTop)&&![document,T.value.contentEl].includes(i)&&!T.value.contentEl.contains(i)){const f=Dm(T.value.contentEl);if(!f.length)return;const l=f[0],a=f[f.length-1];g===l?a.focus():l.focus()}}to&&$r(()=>S.value&&n.retainFocus,d=>{d?document.addEventListener("focusin",p):document.removeEventListener("focusin",p)},{immediate:!0}),$r(S,async d=>{var g,i;await Ua(),d?(g=T.value.contentEl)==null||g.focus({preventScroll:!0}):(i=T.value.activatorEl)==null||i.focus({preventScroll:!0})});const t=cn(()=>qr({"aria-haspopup":"dialog","aria-expanded":String(S.value)},n.activatorProps));return Or(()=>{const[d]=of.filterProps(n);return gt(of,qr({ref:T,class:["v-dialog",{"v-dialog--fullscreen":n.fullscreen,"v-dialog--scrollable":n.scrollable},n.class],style:n.style},d,{modelValue:S.value,"onUpdate:modelValue":g=>S.value=g,"aria-modal":"true",activatorProps:t.value,role:"dialog"},D),{activator:r.activator,default:function(){for(var g=arguments.length,i=new Array(g),M=0;M{var v;return[(v=r.default)==null?void 0:v.call(r,...i)]}})}})}),Vc({},T)}});const jm=Symbol.for("vuetify:v-expansion-panel"),qj=["default","accordion","inset","popout"],Wj=ur({color:String,variant:{type:String,default:"default",validator:n=>qj.includes(n)},readonly:Boolean,...Zr(),...w0(),...Si(),...oa()},"VExpansionPanels"),Yj=Ar()({name:"VExpansionPanels",props:Wj(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;ip(n,jm);const{themeClasses:S}=Ma(n),D=cn(()=>n.variant&&`v-expansion-panels--variant-${n.variant}`);return es({VExpansionPanel:{color:Cr(n,"color")},VExpansionPanelTitle:{readonly:Cr(n,"readonly")}}),Or(()=>gt(n.tag,{class:["v-expansion-panels",S.value,D.value,n.class],style:n.style},r)),{}}}),$j=ur({...Zr(),...o1()},"VExpansionPanelText"),nS=Ar()({name:"VExpansionPanelText",props:$j(),setup(n,e){let{slots:r}=e;const S=ka(jm);if(!S)throw new Error("[Vuetify] v-expansion-panel-text needs to be placed inside v-expansion-panel");const{hasContent:D,onAfterLeave:T}=__(n,S.isSelected);return Or(()=>gt(e1,{onAfterLeave:T},{default:()=>{var p;return[Co(gt("div",{class:["v-expansion-panel-text",n.class],style:n.style},[r.default&&D.value&>("div",{class:"v-expansion-panel-text__wrapper"},[(p=r.default)==null?void 0:p.call(r)])]),[[kh,S.isSelected.value]])]}})),{}}}),rS=ur({color:String,expandIcon:{type:bi,default:"$expand"},collapseIcon:{type:bi,default:"$collapse"},hideActions:Boolean,ripple:{type:[Boolean,Object],default:!1},readonly:Boolean,...Zr()},"VExpansionPanelTitle"),iS=Ar()({name:"VExpansionPanelTitle",directives:{Ripple:nd},props:rS(),setup(n,e){let{slots:r}=e;const S=ka(jm);if(!S)throw new Error("[Vuetify] v-expansion-panel-title needs to be placed inside v-expansion-panel");const{backgroundColorClasses:D,backgroundColorStyles:T}=Oo(n,"color"),p=cn(()=>({collapseIcon:n.collapseIcon,disabled:S.disabled.value,expanded:S.isSelected.value,expandIcon:n.expandIcon,readonly:n.readonly}));return Or(()=>{var t;return Co(gt("button",{class:["v-expansion-panel-title",{"v-expansion-panel-title--active":S.isSelected.value},D.value,n.class],style:[T.value,n.style],type:"button",tabindex:S.disabled.value?-1:void 0,disabled:S.disabled.value,"aria-expanded":S.isSelected.value,onClick:n.readonly?void 0:S.toggle},[gt("span",{class:"v-expansion-panel-title__overlay"},null),(t=r.default)==null?void 0:t.call(r,p.value),!n.hideActions&>("span",{class:"v-expansion-panel-title__icon"},[r.actions?r.actions(p.value):gt(ja,{icon:S.isSelected.value?n.collapseIcon:n.expandIcon},null)])]),[[Tu("ripple"),n.ripple]])}),{}}}),Zj=ur({title:String,text:String,bgColor:String,...Zr(),...fs(),...T0(),...o1(),...uo(),...Si(),...rS()},"VExpansionPanel"),Xj=Ar()({name:"VExpansionPanel",props:Zj(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const S=k0(n,jm),{backgroundColorClasses:D,backgroundColorStyles:T}=Oo(n,"bgColor"),{elevationClasses:p}=Vs(n),{roundedClasses:t}=Eo(n),d=cn(()=>(S==null?void 0:S.disabled.value)||n.disabled),g=cn(()=>S.group.items.value.reduce((v,f,l)=>(S.group.selected.value.includes(f.id)&&v.push(l),v),[])),i=cn(()=>{const v=S.group.items.value.findIndex(f=>f.id===S.id);return!S.isSelected.value&&g.value.some(f=>f-v===1)}),M=cn(()=>{const v=S.group.items.value.findIndex(f=>f.id===S.id);return!S.isSelected.value&&g.value.some(f=>f-v===-1)});return ts(jm,S),es({VExpansionPanelText:{eager:Cr(n,"eager")}}),Or(()=>{const v=!!(r.text||n.text),f=!!(r.title||n.title);return gt(n.tag,{class:["v-expansion-panel",{"v-expansion-panel--active":S.isSelected.value,"v-expansion-panel--before-active":i.value,"v-expansion-panel--after-active":M.value,"v-expansion-panel--disabled":d.value},t.value,D.value,n.class],style:[T.value,n.style]},{default:()=>{var l;return[gt("div",{class:["v-expansion-panel__shadow",...p.value]},null),f&>(iS,{key:"title",collapseIcon:n.collapseIcon,color:n.color,expandIcon:n.expandIcon,hideActions:n.hideActions,ripple:n.ripple},{default:()=>[r.title?r.title():n.title]}),v&>(nS,{key:"text"},{default:()=>[r.text?r.text():n.text]}),(l=r.default)==null?void 0:l.call(r)]}})}),{}}});const Kj=ur({chips:Boolean,counter:Boolean,counterSizeString:{type:String,default:"$vuetify.fileInput.counterSize"},counterString:{type:String,default:"$vuetify.fileInput.counter"},multiple:Boolean,showSize:{type:[Boolean,Number],default:!1,validator:n=>typeof n=="boolean"||[1e3,1024].includes(n)},...mf({prependIcon:"$file"}),modelValue:{type:Array,default:()=>[],validator:n=>bu(n).every(e=>e!=null&&typeof e=="object")},...u1({clearable:!0})},"VFileInput"),Jj=Ar()({name:"VFileInput",inheritAttrs:!1,props:Kj(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:S,slots:D}=e;const{t:T}=oc(),p=xi(n,"modelValue"),{isFocused:t,focus:d,blur:g}=rd(n),i=cn(()=>typeof n.showSize!="boolean"?n.showSize:void 0),M=cn(()=>(p.value??[]).reduce((_,k)=>{let{size:E=0}=k;return _+E},0)),v=cn(()=>T5(M.value,i.value)),f=cn(()=>(p.value??[]).map(_=>{const{name:k="",size:E=0}=_;return n.showSize?`${k} (${T5(E,i.value)})`:k})),l=cn(()=>{var k;const _=((k=p.value)==null?void 0:k.length)??0;return n.showSize?T(n.counterSizeString,_,v.value):T(n.counterString,_)}),a=Vr(),u=Vr(),o=Vr(),s=cn(()=>t.value||n.active),h=cn(()=>["plain","underlined"].includes(n.variant));function c(){var _;o.value!==document.activeElement&&((_=o.value)==null||_.focus()),t.value||d()}function m(_){y(_)}function w(_){S("mousedown:control",_)}function y(_){var k;(k=o.value)==null||k.click(),S("click:control",_)}function C(_){_.stopPropagation(),c(),Ua(()=>{p.value=[],K2(n["onClick:clear"],_)})}return $r(p,_=>{(!Array.isArray(_)||!_.length)&&o.value&&(o.value.value="")}),Or(()=>{const _=!!(D.counter||n.counter),k=!!(_||D.details),[E,x]=Qd(r),[{modelValue:A,...L}]=Bs.filterProps(n),[b]=w_(n);return gt(Bs,qr({ref:a,modelValue:p.value,"onUpdate:modelValue":R=>p.value=R,class:["v-file-input",{"v-text-field--plain-underlined":h.value},n.class],style:n.style,"onClick:prepend":m},E,L,{centerAffix:!h.value,focused:t.value}),{...D,default:R=>{let{id:I,isDisabled:O,isDirty:z,isReadonly:F,isValid:B}=R;return gt(hg,qr({ref:u,"prepend-icon":n.prependIcon,onMousedown:w,onClick:y,"onClick:clear":C,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"]},b,{id:I.value,active:s.value||z.value,dirty:z.value,disabled:O.value,focused:t.value,error:B.value===!1}),{...D,default:N=>{var $;let{props:{class:W,...j}}=N;return gt(Yr,null,[gt("input",qr({ref:o,type:"file",readonly:F.value,disabled:O.value,multiple:n.multiple,name:n.name,onClick:U=>{U.stopPropagation(),F.value&&U.preventDefault(),c()},onChange:U=>{if(!U.target)return;const G=U.target;p.value=[...G.files??[]]},onFocus:c,onBlur:g},j,x),null),gt("div",{class:W},[!!(($=p.value)!=null&&$.length)&&(D.selection?D.selection({fileNames:f.value,totalBytes:M.value,totalBytesReadable:v.value}):n.chips?f.value.map(U=>gt(ug,{key:U,size:"small",color:n.color},{default:()=>[U]})):f.value.join(", "))])])}})},details:k?R=>{var I,O;return gt(Yr,null,[(I=D.details)==null?void 0:I.call(D,R),_&>(Yr,null,[gt("span",null,null),gt(l1,{active:!!((O=p.value)!=null&&O.length),value:l.value},D.counter)])])}:void 0})}),Vc({},a,u,o)}});const Qj=ur({app:Boolean,color:String,height:{type:[Number,String],default:"auto"},...Su(),...Zr(),...fs(),...x0(),...uo(),...Si({tag:"footer"}),...oa()},"VFooter"),eU=Ar()({name:"VFooter",props:Qj(),setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ma(n),{backgroundColorClasses:D,backgroundColorStyles:T}=Oo(Cr(n,"color")),{borderClasses:p}=uc(n),{elevationClasses:t}=Vs(n),{roundedClasses:d}=Eo(n),g=Wr(32),{resizeRef:i}=Th(f=>{f.length&&(g.value=f[0].target.clientHeight)}),M=cn(()=>n.height==="auto"?g.value:parseInt(n.height,10)),{layoutItemStyles:v}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:cn(()=>"bottom"),layoutSize:M,elementSize:cn(()=>n.height==="auto"?void 0:M.value),active:cn(()=>n.app),absolute:Cr(n,"absolute")});return Or(()=>gt(n.tag,{ref:i,class:["v-footer",S.value,D.value,p.value,t.value,d.value,n.class],style:[T.value,n.app?v.value:{height:Qr(n.height)},n.style]},r)),{}}}),tU=ur({...Zr(),...fN()},"VForm"),nU=Ar()({name:"VForm",props:tU(),emits:{"update:modelValue":n=>!0,submit:n=>!0},setup(n,e){let{slots:r,emit:S}=e;const D=dN(n),T=Vr();function p(d){d.preventDefault(),D.reset()}function t(d){const g=d,i=D.validate();g.then=i.then.bind(i),g.catch=i.catch.bind(i),g.finally=i.finally.bind(i),S("submit",g),g.defaultPrevented||i.then(M=>{var f;let{valid:v}=M;v&&((f=T.value)==null||f.submit())}),g.preventDefault()}return Or(()=>{var d;return gt("form",{ref:T,class:["v-form",n.class],style:n.style,novalidate:!0,onReset:p,onSubmit:t},[(d=r.default)==null?void 0:d.call(r,D)])}),Vc(D,T)}});const rU=ur({fluid:{type:Boolean,default:!1},...Zr(),...Si()},"VContainer"),iU=Ar()({name:"VContainer",props:rU(),setup(n,e){let{slots:r}=e;const{rtlClasses:S}=Cs();return Or(()=>gt(n.tag,{class:["v-container",{"v-container--fluid":n.fluid},S.value,n.class],style:n.style},r)),{}}}),aS=(()=>Ky.reduce((n,e)=>(n[e]={type:[Boolean,String,Number],default:!1},n),{}))(),oS=(()=>Ky.reduce((n,e)=>{const r="offset"+sf(e);return n[r]={type:[String,Number],default:null},n},{}))(),sS=(()=>Ky.reduce((n,e)=>{const r="order"+sf(e);return n[r]={type:[String,Number],default:null},n},{}))(),lT={col:Object.keys(aS),offset:Object.keys(oS),order:Object.keys(sS)};function aU(n,e,r){let S=n;if(!(r==null||r===!1)){if(e){const D=e.replace(n,"");S+=`-${D}`}return n==="col"&&(S="v-"+S),n==="col"&&(r===""||r===!0)||(S+=`-${r}`),S.toLowerCase()}}const oU=["auto","start","end","center","baseline","stretch"],sU=ur({cols:{type:[Boolean,String,Number],default:!1},...aS,offset:{type:[String,Number],default:null},...oS,order:{type:[String,Number],default:null},...sS,alignSelf:{type:String,default:null,validator:n=>oU.includes(n)},...Zr(),...Si()},"VCol"),lU=Ar()({name:"VCol",props:sU(),setup(n,e){let{slots:r}=e;const S=cn(()=>{const D=[];let T;for(T in lT)lT[T].forEach(t=>{const d=n[t],g=aU(T,t,d);g&&D.push(g)});const p=D.some(t=>t.startsWith("v-col-"));return D.push({"v-col":!p||!n.cols,[`v-col-${n.cols}`]:n.cols,[`offset-${n.offset}`]:n.offset,[`order-${n.order}`]:n.order,[`align-self-${n.alignSelf}`]:n.alignSelf}),D});return()=>{var D;return Xf(n.tag,{class:[S.value,n.class],style:n.style},(D=r.default)==null?void 0:D.call(r))}}}),S_=["start","end","center"],lS=["space-between","space-around","space-evenly"];function C_(n,e){return Ky.reduce((r,S)=>{const D=n+sf(S);return r[D]=e(),r},{})}const uU=[...S_,"baseline","stretch"],uS=n=>uU.includes(n),cS=C_("align",()=>({type:String,default:null,validator:uS})),cU=[...S_,...lS],hS=n=>cU.includes(n),fS=C_("justify",()=>({type:String,default:null,validator:hS})),hU=[...S_,...lS,"stretch"],dS=n=>hU.includes(n),pS=C_("alignContent",()=>({type:String,default:null,validator:dS})),uT={align:Object.keys(cS),justify:Object.keys(fS),alignContent:Object.keys(pS)},fU={align:"align",justify:"justify",alignContent:"align-content"};function dU(n,e,r){let S=fU[n];if(r!=null){if(e){const D=e.replace(n,"");S+=`-${D}`}return S+=`-${r}`,S.toLowerCase()}}const pU=ur({dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:uS},...cS,justify:{type:String,default:null,validator:hS},...fS,alignContent:{type:String,default:null,validator:dS},...pS,...Zr(),...Si()},"VRow"),mU=Ar()({name:"VRow",props:pU(),setup(n,e){let{slots:r}=e;const S=cn(()=>{const D=[];let T;for(T in uT)uT[T].forEach(p=>{const t=n[p],d=dU(T,p,t);d&&D.push(d)});return D.push({"v-row--no-gutters":n.noGutters,"v-row--dense":n.dense,[`align-${n.align}`]:n.align,[`justify-${n.justify}`]:n.justify,[`align-content-${n.alignContent}`]:n.alignContent}),D});return()=>{var D;return Xf(n.tag,{class:["v-row",S.value,n.class],style:n.style},(D=r.default)==null?void 0:D.call(r))}}}),gU=Nc("v-spacer","div","VSpacer"),vU=ur({disabled:Boolean,modelValue:{type:Boolean,default:void 0},...EA()},"VHover"),yU=Ar()({name:"VHover",props:vU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const S=xi(n,"modelValue"),{runOpenDelay:D,runCloseDelay:T}=LA(n,p=>!n.disabled&&(S.value=p));return()=>{var p;return(p=r.default)==null?void 0:p.call(r,{isHovering:S.value,props:{onMouseenter:D,onMouseleave:T}})}}});const mS=Symbol.for("vuetify:v-item-group"),bU=ur({...Zr(),...w0({selectedClass:"v-item--selected"}),...Si(),...oa()},"VItemGroup"),xU=Ar()({name:"VItemGroup",props:bU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ma(n),{isSelected:D,select:T,next:p,prev:t,selected:d}=ip(n,mS);return()=>gt(n.tag,{class:["v-item-group",S.value,n.class],style:n.style},{default:()=>{var g;return[(g=r.default)==null?void 0:g.call(r,{isSelected:D,select:T,next:p,prev:t,selected:d.value})]}})}}),_U=Ar()({name:"VItem",props:T0(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const{isSelected:S,select:D,toggle:T,selectedClass:p,value:t,disabled:d}=k0(n,mS);return()=>{var g;return(g=r.default)==null?void 0:g.call(r,{isSelected:S.value,selectedClass:p.value,select:D,toggle:T,value:t.value,disabled:d.value})}}});const wU=Nc("v-kbd");const TU=ur({...Zr(),...z6()},"VLayout"),kU=Ar()({name:"VLayout",props:TU(),setup(n,e){let{slots:r}=e;const{layoutClasses:S,layoutStyles:D,getLayoutItem:T,items:p,layoutRef:t}=F6(n);return Or(()=>{var d;return gt("div",{ref:t,class:[S.value,n.class],style:[D.value,n.style]},[(d=r.default)==null?void 0:d.call(r)])}),{getLayoutItem:T,items:p}}});const MU=ur({position:{type:String,required:!0},size:{type:[Number,String],default:300},modelValue:Boolean,...Zr(),...x0()},"VLayoutItem"),AU=Ar()({name:"VLayoutItem",props:MU(),setup(n,e){let{slots:r}=e;const{layoutItemStyles:S}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:Cr(n,"position"),elementSize:Cr(n,"size"),layoutSize:Cr(n,"size"),active:Cr(n,"modelValue"),absolute:Cr(n,"absolute")});return()=>{var D;return gt("div",{class:["v-layout-item",n.class],style:[S.value,n.style]},[(D=r.default)==null?void 0:D.call(r)])}}}),SU=ur({modelValue:Boolean,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},...Zr(),...sc(),...Si(),...df({transition:"fade-transition"})},"VLazy"),CU=Ar()({name:"VLazy",directives:{intersect:og},props:SU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{dimensionStyles:S}=lc(n),D=xi(n,"modelValue");function T(p){D.value||(D.value=p)}return Or(()=>Co(gt(n.tag,{class:["v-lazy",n.class],style:[S.value,n.style]},{default:()=>[D.value&>(Oc,{transition:n.transition,appear:!0},{default:()=>{var p;return[(p=r.default)==null?void 0:p.call(r)]}})]}),[[Tu("intersect"),{handler:T,options:n.options},null]])),{}}});const EU=ur({locale:String,fallbackLocale:String,messages:Object,rtl:{type:Boolean,default:void 0},...Zr()},"VLocaleProvider"),LU=Ar()({name:"VLocaleProvider",props:EU(),setup(n,e){let{slots:r}=e;const{rtlClasses:S}=NF(n);return Or(()=>{var D;return gt("div",{class:["v-locale-provider",S.value,n.class],style:n.style},[(D=r.default)==null?void 0:D.call(r)])}),{}}});const IU=ur({scrollable:Boolean,...Zr(),...Si({tag:"main"})},"VMain"),RU=Ar()({name:"VMain",props:IU(),setup(n,e){let{slots:r}=e;const{mainStyles:S}=dB(),{ssrBootStyles:D}=tp();return Or(()=>gt(n.tag,{class:["v-main",{"v-main--scrollable":n.scrollable},n.class],style:[S.value,D.value,n.style]},{default:()=>{var T,p;return[n.scrollable?gt("div",{class:"v-main__scroller"},[(T=r.default)==null?void 0:T.call(r)]):(p=r.default)==null?void 0:p.call(r)]}})),{}}});function PU(n){let{rootEl:e,isSticky:r,layoutItemStyles:S}=n;const D=Wr(!1),T=Wr(0),p=cn(()=>{const g=typeof D.value=="boolean"?"top":D.value;return[r.value?{top:"auto",bottom:"auto",height:void 0}:void 0,D.value?{[g]:Qr(T.value)}:{top:S.value.top}]});Ks(()=>{$r(r,g=>{g?window.addEventListener("scroll",d,{passive:!0}):window.removeEventListener("scroll",d)},{immediate:!0})}),kl(()=>{window.removeEventListener("scroll",d)});let t=0;function d(){const g=t>window.scrollY?"up":"down",i=e.value.getBoundingClientRect(),M=parseFloat(S.value.top??0),v=window.scrollY-Math.max(0,T.value-M),f=i.height+Math.max(T.value,M)-window.scrollY-window.innerHeight,l=parseFloat(getComputedStyle(e.value).getPropertyValue("--v-body-scroll-y"))||0;i.height0;r--){if(n[r].t===n[r-1].t)continue;const S=cT(e),D=(n[r].d-n[r-1].d)/(n[r].t-n[r-1].t);e+=(D-S)*Math.abs(D),r===n.length-1&&(e*=.5)}return cT(e)*1e3}function zU(){const n={};function e(D){Array.from(D.changedTouches).forEach(T=>{(n[T.identifier]??(n[T.identifier]=new Yz(DU))).push([D.timeStamp,T])})}function r(D){Array.from(D.changedTouches).forEach(T=>{delete n[T.identifier]})}function S(D){var g;const T=(g=n[D])==null?void 0:g.values().reverse();if(!T)throw new Error(`No samples for touch id ${D}`);const p=T[0],t=[],d=[];for(const i of T){if(p[0]-i[0]>OU)break;t.push({t:i[0],d:i[1].clientX}),d.push({t:i[0],d:i[1].clientY})}return{x:hT(t),y:hT(d),get direction(){const{x:i,y:M}=this,[v,f]=[Math.abs(i),Math.abs(M)];return v>f&&i>=0?"right":v>f&&i<=0?"left":f>v&&M>=0?"down":f>v&&M<=0?"up":FU()}}}return{addMovement:e,endTouch:r,getVelocity:S}}function FU(){throw new Error}function BU(n){let{isActive:e,isTemporary:r,width:S,touchless:D,position:T}=n;Ks(()=>{window.addEventListener("touchstart",o,{passive:!0}),window.addEventListener("touchmove",s,{passive:!1}),window.addEventListener("touchend",h,{passive:!0})}),kl(()=>{window.removeEventListener("touchstart",o),window.removeEventListener("touchmove",s),window.removeEventListener("touchend",h)});const p=cn(()=>["left","right"].includes(T.value)),{addMovement:t,endTouch:d,getVelocity:g}=zU();let i=!1;const M=Wr(!1),v=Wr(0),f=Wr(0);let l;function a(m,w){return(T.value==="left"?m:T.value==="right"?document.documentElement.clientWidth-m:T.value==="top"?m:T.value==="bottom"?document.documentElement.clientHeight-m:Lp())-(w?S.value:0)}function u(m){let w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const y=T.value==="left"?(m-f.value)/S.value:T.value==="right"?(document.documentElement.clientWidth-m-f.value)/S.value:T.value==="top"?(m-f.value)/S.value:T.value==="bottom"?(document.documentElement.clientHeight-m-f.value)/S.value:Lp();return w?Math.max(0,Math.min(1,y)):y}function o(m){if(D.value)return;const w=m.changedTouches[0].clientX,y=m.changedTouches[0].clientY,C=25,_=T.value==="left"?wdocument.documentElement.clientWidth-C:T.value==="top"?ydocument.documentElement.clientHeight-C:Lp(),k=e.value&&(T.value==="left"?wdocument.documentElement.clientWidth-S.value:T.value==="top"?ydocument.documentElement.clientHeight-S.value:Lp());(_||k||e.value&&r.value)&&(i=!0,l=[w,y],f.value=a(p.value?w:y,e.value),v.value=u(p.value?w:y),d(m),t(m))}function s(m){const w=m.changedTouches[0].clientX,y=m.changedTouches[0].clientY;if(i){if(!m.cancelable){i=!1;return}const _=Math.abs(w-l[0]),k=Math.abs(y-l[1]);(p.value?_>k&&_>3:k>_&&k>3)?(M.value=!0,i=!1):(p.value?k:_)>3&&(i=!1)}if(!M.value)return;m.preventDefault(),t(m);const C=u(p.value?w:y,!1);v.value=Math.max(0,Math.min(1,C)),C>1?f.value=a(p.value?w:y,!0):C<0&&(f.value=a(p.value?w:y,!1))}function h(m){if(i=!1,!M.value)return;t(m),M.value=!1;const w=g(m.changedTouches[0].identifier),y=Math.abs(w.x),C=Math.abs(w.y);(p.value?y>C&&y>400:C>y&&C>3)?e.value=w.direction===({left:"right",right:"left",top:"down",bottom:"up"}[T.value]||Lp()):e.value=v.value>.5}const c=cn(()=>M.value?{transform:T.value==="left"?`translateX(calc(-100% + ${v.value*S.value}px))`:T.value==="right"?`translateX(calc(100% - ${v.value*S.value}px))`:T.value==="top"?`translateY(calc(-100% + ${v.value*S.value}px))`:T.value==="bottom"?`translateY(calc(100% - ${v.value*S.value}px))`:Lp(),transition:"none"}:void 0);return{isDragging:M,dragProgress:v,dragStyles:c}}function Lp(){throw new Error}const NU=["start","end","left","right","top","bottom"],VU=ur({color:String,disableResizeWatcher:Boolean,disableRouteWatcher:Boolean,expandOnHover:Boolean,floating:Boolean,modelValue:{type:Boolean,default:null},permanent:Boolean,rail:{type:Boolean,default:null},railWidth:{type:[Number,String],default:56},scrim:{type:[Boolean,String],default:!0},image:String,temporary:Boolean,touchless:Boolean,width:{type:[Number,String],default:256},location:{type:String,default:"start",validator:n=>NU.includes(n)},sticky:Boolean,...Su(),...Zr(),...fs(),...x0(),...uo(),...Si({tag:"nav"}),...oa()},"VNavigationDrawer"),jU=Ar()({name:"VNavigationDrawer",props:VU(),emits:{"update:modelValue":n=>!0,"update:rail":n=>!0},setup(n,e){let{attrs:r,emit:S,slots:D}=e;const{isRtl:T}=Cs(),{themeClasses:p}=Ma(n),{borderClasses:t}=uc(n),{backgroundColorClasses:d,backgroundColorStyles:g}=Oo(Cr(n,"color")),{elevationClasses:i}=Vs(n),{mobile:M}=ep(),{roundedClasses:v}=Eo(n),f=$6(),l=xi(n,"modelValue",null,z=>!!z),{ssrBootStyles:a}=tp(),{scopeId:u}=E0(),o=Vr(),s=Wr(!1),h=cn(()=>n.rail&&n.expandOnHover&&s.value?Number(n.width):Number(n.rail?n.railWidth:n.width)),c=cn(()=>ux(n.location,T.value)),m=cn(()=>!n.permanent&&(M.value||n.temporary)),w=cn(()=>n.sticky&&!m.value&&c.value!=="bottom");n.expandOnHover&&n.rail!=null&&$r(s,z=>S("update:rail",!z)),n.disableResizeWatcher||$r(m,z=>!n.permanent&&Ua(()=>l.value=!z)),!n.disableRouteWatcher&&f&&$r(f.currentRoute,()=>m.value&&(l.value=!1)),$r(()=>n.permanent,z=>{z&&(l.value=!0)}),Sy(()=>{n.modelValue!=null||m.value||(l.value=n.permanent||!M.value)});const{isDragging:y,dragProgress:C,dragStyles:_}=BU({isActive:l,isTemporary:m,width:h,touchless:Cr(n,"touchless"),position:c}),k=cn(()=>{const z=m.value?0:n.rail&&n.expandOnHover?Number(n.railWidth):h.value;return y.value?z*C.value:z}),{layoutItemStyles:E,layoutItemScrimStyles:x}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:c,layoutSize:k,elementSize:h,active:cn(()=>l.value||y.value),disableTransitions:cn(()=>y.value),absolute:cn(()=>n.absolute||w.value&&typeof A.value!="string")}),{isStuck:A,stickyStyles:L}=PU({rootEl:o,isSticky:w,layoutItemStyles:E}),b=Oo(cn(()=>typeof n.scrim=="string"?n.scrim:null)),R=cn(()=>({...y.value?{opacity:C.value*.2,transition:"none"}:void 0,...x.value}));es({VList:{bgColor:"transparent"}});function I(){s.value=!0}function O(){s.value=!1}return Or(()=>{const z=D.image||n.image;return gt(Yr,null,[gt(n.tag,qr({ref:o,onMouseenter:I,onMouseleave:O,class:["v-navigation-drawer",`v-navigation-drawer--${c.value}`,{"v-navigation-drawer--expand-on-hover":n.expandOnHover,"v-navigation-drawer--floating":n.floating,"v-navigation-drawer--is-hovering":s.value,"v-navigation-drawer--rail":n.rail,"v-navigation-drawer--temporary":m.value,"v-navigation-drawer--active":l.value,"v-navigation-drawer--sticky":w.value},p.value,d.value,t.value,i.value,v.value,n.class],style:[g.value,E.value,_.value,a.value,L.value,n.style]},u,r),{default:()=>{var F,B,N,W;return[z&>("div",{key:"image",class:"v-navigation-drawer__img"},[D.image?(F=D.image)==null?void 0:F.call(D,{image:n.image}):gt("img",{src:n.image,alt:""},null)]),D.prepend&>("div",{class:"v-navigation-drawer__prepend"},[(B=D.prepend)==null?void 0:B.call(D)]),gt("div",{class:"v-navigation-drawer__content"},[(N=D.default)==null?void 0:N.call(D)]),D.append&>("div",{class:"v-navigation-drawer__append"},[(W=D.append)==null?void 0:W.call(D)])]}}),gt(bh,{name:"fade-transition"},{default:()=>[m.value&&(y.value||l.value)&&!!n.scrim&>("div",qr({class:["v-navigation-drawer__scrim",b.backgroundColorClasses.value],style:[R.value,b.backgroundColorStyles.value],onClick:()=>l.value=!1},u),null)]})])}),{isStuck:A}}}),UU=ac({name:"VNoSsr",setup(n,e){let{slots:r}=e;const S=IA();return()=>{var D;return S.value&&((D=r.default)==null?void 0:D.call(r))}}});function HU(){const n=Vr([]);KT(()=>n.value=[]);function e(r,S){n.value[S]=r}return{refs:n,updateRef:e}}const GU=ur({activeColor:String,start:{type:[Number,String],default:1},modelValue:{type:Number,default:n=>n.start},disabled:Boolean,length:{type:[Number,String],default:1,validator:n=>n%1===0},totalVisible:[Number,String],firstIcon:{type:bi,default:"$first"},prevIcon:{type:bi,default:"$prev"},nextIcon:{type:bi,default:"$next"},lastIcon:{type:bi,default:"$last"},ariaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.root"},pageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.page"},currentPageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.currentPage"},firstAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.first"},previousAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.previous"},nextAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.next"},lastAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.last"},ellipsis:{type:String,default:"..."},showFirstLastPage:Boolean,...Su(),...Zr(),...ds(),...fs(),...uo(),...pf(),...Si({tag:"nav"}),...oa(),...cc({variant:"text"})},"VPagination"),qU=Ar()({name:"VPagination",props:GU(),emits:{"update:modelValue":n=>!0,first:n=>!0,prev:n=>!0,next:n=>!0,last:n=>!0},setup(n,e){let{slots:r,emit:S}=e;const D=xi(n,"modelValue"),{t:T,n:p}=oc(),{isRtl:t}=Cs(),{themeClasses:d}=Ma(n),{width:g}=ep(),i=Wr(-1);es(void 0,{scoped:!0});const{resizeRef:M}=Th(C=>{if(!C.length)return;const{target:_,contentRect:k}=C[0],E=_.querySelector(".v-pagination__list > *");if(!E)return;const x=k.width,A=E.offsetWidth+parseFloat(getComputedStyle(E).marginRight)*2;i.value=a(x,A)}),v=cn(()=>parseInt(n.length,10)),f=cn(()=>parseInt(n.start,10)),l=cn(()=>n.totalVisible?parseInt(n.totalVisible,10):i.value>=0?i.value:a(g.value,58));function a(C,_){const k=n.showFirstLastPage?5:3;return Math.max(0,Math.floor(+((C-_*k)/_).toFixed(2)))}const u=cn(()=>{if(v.value<=0||isNaN(v.value)||v.value>Number.MAX_SAFE_INTEGER)return[];if(l.value<=1)return[D.value];if(v.value<=l.value)return Kh(v.value,f.value);const C=l.value%2===0,_=C?l.value/2:Math.floor(l.value/2),k=C?_:_+1,E=v.value-_;if(k-D.value>=0)return[...Kh(Math.max(1,l.value-1),f.value),n.ellipsis,v.value];if(D.value-E>=(C?1:0)){const x=l.value-1,A=v.value-x+f.value;return[f.value,n.ellipsis,...Kh(x,A)]}else{const x=Math.max(1,l.value-3),A=x===1?D.value:D.value-Math.ceil(x/2)+f.value;return[f.value,n.ellipsis,...Kh(x,A),n.ellipsis,v.value]}});function o(C,_,k){C.preventDefault(),D.value=_,k&&S(k,_)}const{refs:s,updateRef:h}=HU();es({VPaginationBtn:{color:Cr(n,"color"),border:Cr(n,"border"),density:Cr(n,"density"),size:Cr(n,"size"),variant:Cr(n,"variant"),rounded:Cr(n,"rounded"),elevation:Cr(n,"elevation")}});const c=cn(()=>u.value.map((C,_)=>{const k=E=>h(E,_);if(typeof C=="string")return{isActive:!1,key:`ellipsis-${_}`,page:C,props:{ref:k,ellipsis:!0,icon:!0,disabled:!0}};{const E=C===D.value;return{isActive:E,key:C,page:p(C),props:{ref:k,ellipsis:!1,icon:!0,disabled:!!n.disabled||+n.length<2,color:E?n.activeColor:n.color,ariaCurrent:E,ariaLabel:T(E?n.currentPageAriaLabel:n.pageAriaLabel,C),onClick:x=>o(x,C)}}}})),m=cn(()=>{const C=!!n.disabled||D.value<=f.value,_=!!n.disabled||D.value>=f.value+v.value-1;return{first:n.showFirstLastPage?{icon:t.value?n.lastIcon:n.firstIcon,onClick:k=>o(k,f.value,"first"),disabled:C,ariaLabel:T(n.firstAriaLabel),ariaDisabled:C}:void 0,prev:{icon:t.value?n.nextIcon:n.prevIcon,onClick:k=>o(k,D.value-1,"prev"),disabled:C,ariaLabel:T(n.previousAriaLabel),ariaDisabled:C},next:{icon:t.value?n.prevIcon:n.nextIcon,onClick:k=>o(k,D.value+1,"next"),disabled:_,ariaLabel:T(n.nextAriaLabel),ariaDisabled:_},last:n.showFirstLastPage?{icon:t.value?n.firstIcon:n.lastIcon,onClick:k=>o(k,f.value+v.value-1,"last"),disabled:_,ariaLabel:T(n.lastAriaLabel),ariaDisabled:_}:void 0}});function w(){var _;const C=D.value-f.value;(_=s.value[C])==null||_.$el.focus()}function y(C){C.key===sx.left&&!n.disabled&&D.value>+n.start?(D.value=D.value-1,Ua(w)):C.key===sx.right&&!n.disabled&&D.valuegt(n.tag,{ref:M,class:["v-pagination",d.value,n.class],style:n.style,role:"navigation","aria-label":T(n.ariaLabel),onKeydown:y,"data-test":"v-pagination-root"},{default:()=>[gt("ul",{class:"v-pagination__list"},[n.showFirstLastPage&>("li",{key:"first",class:"v-pagination__first","data-test":"v-pagination-first"},[r.first?r.first(m.value.first):gt(wl,qr({_as:"VPaginationBtn"},m.value.first),null)]),gt("li",{key:"prev",class:"v-pagination__prev","data-test":"v-pagination-prev"},[r.prev?r.prev(m.value.prev):gt(wl,qr({_as:"VPaginationBtn"},m.value.prev),null)]),c.value.map((C,_)=>gt("li",{key:C.key,class:["v-pagination__item",{"v-pagination__item--is-active":C.isActive}],"data-test":"v-pagination-item"},[r.item?r.item(C):gt(wl,qr({_as:"VPaginationBtn"},C.props),{default:()=>[C.page]})])),gt("li",{key:"next",class:"v-pagination__next","data-test":"v-pagination-next"},[r.next?r.next(m.value.next):gt(wl,qr({_as:"VPaginationBtn"},m.value.next),null)]),n.showFirstLastPage&>("li",{key:"last",class:"v-pagination__last","data-test":"v-pagination-last"},[r.last?r.last(m.value.last):gt(wl,qr({_as:"VPaginationBtn"},m.value.last),null)])])]})),{}}});function WU(n){return Math.floor(Math.abs(n))*Math.sign(n)}const YU=ur({scale:{type:[Number,String],default:.5},...Zr()},"VParallax"),$U=Ar()({name:"VParallax",props:YU(),setup(n,e){let{slots:r}=e;const{intersectionRef:S,isIntersecting:D}=f_(),{resizeRef:T,contentRect:p}=Th(),{height:t}=ep(),d=Vr();wu(()=>{var f;S.value=T.value=(f=d.value)==null?void 0:f.$el});let g;$r(D,f=>{f?(g=t_(S.value),g=g===document.scrollingElement?document:g,g.addEventListener("scroll",v,{passive:!0}),v()):g.removeEventListener("scroll",v)}),kl(()=>{g==null||g.removeEventListener("scroll",v)}),$r(t,v),$r(()=>{var f;return(f=p.value)==null?void 0:f.height},v);const i=cn(()=>1-Zs(+n.scale));let M=-1;function v(){D.value&&(cancelAnimationFrame(M),M=requestAnimationFrame(()=>{var m;const f=((m=d.value)==null?void 0:m.$el).querySelector(".v-img__img");if(!f)return;const l=g instanceof Document?document.documentElement.clientHeight:g.clientHeight,a=g instanceof Document?window.scrollY:g.scrollTop,u=S.value.getBoundingClientRect().top+a,o=p.value.height,s=u+(o-l)/2,h=WU((a-s)*i.value),c=Math.max(1,(i.value*(l-o)+o)/o);f.style.setProperty("transform",`translateY(${h}px) scale(${c})`)}))}return Or(()=>gt(Zd,{class:["v-parallax",{"v-parallax--active":D.value},n.class],style:n.style,ref:d,cover:!0,onLoadstart:v,onLoad:v},r)),{}}}),ZU=ur({...n1({falseIcon:"$radioOff",trueIcon:"$radioOn"})},"VRadio"),XU=Ar()({name:"VRadio",props:ZU(),setup(n,e){let{slots:r}=e;return Or(()=>gt(Xd,qr(n,{class:["v-radio",n.class],style:n.style,type:"radio"}),r)),{}}});const KU=ur({height:{type:[Number,String],default:"auto"},...mf(),...ic(y_(),["multiple"]),trueIcon:{type:bi,default:"$radioOn"},falseIcon:{type:bi,default:"$radioOff"},type:{type:String,default:"radio"}},"VRadioGroup"),JU=Ar()({name:"VRadioGroup",inheritAttrs:!1,props:KU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{attrs:r,slots:S}=e;const D=Js(),T=cn(()=>n.id||`radio-group-${D}`),p=xi(n,"modelValue");return Or(()=>{const[t,d]=Qd(r),[g,i]=Bs.filterProps(n),[M,v]=Xd.filterProps(n),f=S.label?S.label({label:n.label,props:{for:T.value}}):n.label;return gt(Bs,qr({class:["v-radio-group",n.class],style:n.style},t,g,{modelValue:p.value,"onUpdate:modelValue":l=>p.value=l,id:T.value}),{...S,default:l=>{let{id:a,messagesId:u,isDisabled:o,isReadonly:s}=l;return gt(Yr,null,[f&>(C0,{id:a.value},{default:()=>[f]}),gt(aA,qr(M,{id:a.value,"aria-describedby":u.value,defaultsTarget:"VRadio",trueIcon:n.trueIcon,falseIcon:n.falseIcon,type:n.type,disabled:o.value,readonly:s.value,"aria-labelledby":f?a.value:void 0,multiple:!1},d,{modelValue:p.value,"onUpdate:modelValue":h=>p.value=h}),S)])}})}),{}}}),QU=ur({...r1(),...mf(),...KA(),strict:Boolean,modelValue:{type:Array,default:()=>[0,0]}},"VRangeSlider"),eH=Ar()({name:"VRangeSlider",props:QU(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,end:n=>!0,start:n=>!0},setup(n,e){let{slots:r,emit:S}=e;const D=Vr(),T=Vr(),p=Vr(),{rtlClasses:t}=Cs();function d(_){if(!D.value||!T.value)return;const k=Ix(_,D.value.$el,n.direction),E=Ix(_,T.value.$el,n.direction),x=Math.abs(k),A=Math.abs(E);return x_!=null&&_.length?_.map(k=>g.roundValue(k)):[0,0]),{activeThumbRef:M,hasLabels:v,max:f,min:l,mousePressed:a,onSliderMousedown:u,onSliderTouchstart:o,position:s,trackContainerRef:h}=QA({props:n,steps:g,onSliderStart:()=>{S("start",i.value)},onSliderEnd:_=>{var x;let{value:k}=_;const E=M.value===((x=D.value)==null?void 0:x.$el)?[k,i.value[1]]:[i.value[0],k];!n.strict&&E[0]{var A,L,b,R;let{value:k}=_;const[E,x]=i.value;!n.strict&&E===x&&E!==l.value&&(M.value=k>E?(A=T.value)==null?void 0:A.$el:(L=D.value)==null?void 0:L.$el,(b=M.value)==null||b.focus()),M.value===((R=D.value)==null?void 0:R.$el)?i.value=[Math.min(k,x),x]:i.value=[E,Math.max(E,k)]},getActiveThumb:d}),{isFocused:c,focus:m,blur:w}=rd(n),y=cn(()=>s(i.value[0])),C=cn(()=>s(i.value[1]));return Or(()=>{const[_,k]=Bs.filterProps(n),E=!!(n.label||r.label||r.prepend);return gt(Bs,qr({class:["v-slider","v-range-slider",{"v-slider--has-labels":!!r["tick-label"]||v.value,"v-slider--focused":c.value,"v-slider--pressed":a.value,"v-slider--disabled":n.disabled},t.value,n.class],style:n.style,ref:p},_,{focused:c.value}),{...r,prepend:E?x=>{var A,L;return gt(Yr,null,[((A=r.label)==null?void 0:A.call(r,x))??n.label?gt(C0,{class:"v-slider__label",text:n.label},null):void 0,(L=r.prepend)==null?void 0:L.call(r,x)])}:void 0,default:x=>{var b,R;let{id:A,messagesId:L}=x;return gt("div",{class:"v-slider__container",onMousedown:u,onTouchstartPassive:o},[gt("input",{id:`${A.value}_start`,name:n.name||A.value,disabled:!!n.disabled,readonly:!!n.readonly,tabindex:"-1",value:i.value[0]},null),gt("input",{id:`${A.value}_stop`,name:n.name||A.value,disabled:!!n.disabled,readonly:!!n.readonly,tabindex:"-1",value:i.value[1]},null),gt(eS,{ref:h,start:y.value,stop:C.value},{"tick-label":r["tick-label"]}),gt(Rx,{ref:D,"aria-describedby":L.value,focused:c&&M.value===((b=D.value)==null?void 0:b.$el),modelValue:i.value[0],"onUpdate:modelValue":I=>i.value=[I,i.value[1]],onFocus:I=>{var O,z,F,B;m(),M.value=(O=D.value)==null?void 0:O.$el,i.value[0]===i.value[1]&&i.value[1]===l.value&&I.relatedTarget!==((z=T.value)==null?void 0:z.$el)&&((F=D.value)==null||F.$el.blur(),(B=T.value)==null||B.$el.focus())},onBlur:()=>{w(),M.value=void 0},min:l.value,max:i.value[1],position:y.value},{"thumb-label":r["thumb-label"]}),gt(Rx,{ref:T,"aria-describedby":L.value,focused:c&&M.value===((R=T.value)==null?void 0:R.$el),modelValue:i.value[1],"onUpdate:modelValue":I=>i.value=[i.value[0],I],onFocus:I=>{var O,z,F,B;m(),M.value=(O=T.value)==null?void 0:O.$el,i.value[0]===i.value[1]&&i.value[0]===f.value&&I.relatedTarget!==((z=D.value)==null?void 0:z.$el)&&((F=T.value)==null||F.$el.blur(),(B=D.value)==null||B.$el.focus())},onBlur:()=>{w(),M.value=void 0},min:i.value[0],max:f.value,position:C.value},{"thumb-label":r["thumb-label"]})])}})}),{}}});const tH=ur({name:String,itemAriaLabel:{type:String,default:"$vuetify.rating.ariaLabel.item"},activeColor:String,color:String,clearable:Boolean,disabled:Boolean,emptyIcon:{type:bi,default:"$ratingEmpty"},fullIcon:{type:bi,default:"$ratingFull"},halfIncrements:Boolean,hover:Boolean,length:{type:[Number,String],default:5},readonly:Boolean,modelValue:{type:[Number,String],default:0},itemLabels:Array,itemLabelPosition:{type:String,default:"top",validator:n=>["top","bottom"].includes(n)},ripple:Boolean,...Zr(),...ds(),...pf(),...Si(),...oa()},"VRating"),nH=Ar()({name:"VRating",props:tH(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{t:S}=oc(),{themeClasses:D}=Ma(n),T=xi(n,"modelValue"),p=cn(()=>Zs(parseFloat(T.value),0,+n.length)),t=cn(()=>Kh(Number(n.length),1)),d=cn(()=>t.value.flatMap(a=>n.halfIncrements?[a-.5,a]:[a])),g=Wr(-1),i=cn(()=>d.value.map(a=>{const u=n.hover&&g.value>-1,o=p.value>=a,s=g.value>=a,c=(u?s:o)?n.fullIcon:n.emptyIcon,m=n.activeColor??n.color,w=o||s?m:n.color;return{isFilled:o,isHovered:s,icon:c,color:w}})),M=cn(()=>[0,...d.value].map(a=>{function u(){g.value=a}function o(){g.value=-1}function s(){n.disabled||n.readonly||(T.value=p.value===a&&n.clearable?0:a)}return{onMouseenter:n.hover?u:void 0,onMouseleave:n.hover?o:void 0,onClick:s}})),v=cn(()=>n.name??`v-rating-${Js()}`);function f(a){var C,_;let{value:u,index:o,showStar:s=!0}=a;const{onMouseenter:h,onMouseleave:c,onClick:m}=M.value[o+1],w=`${v.value}-${String(u).replace(".","-")}`,y={color:(C=i.value[o])==null?void 0:C.color,density:n.density,disabled:n.disabled,icon:(_=i.value[o])==null?void 0:_.icon,ripple:n.ripple,size:n.size,variant:"plain"};return gt(Yr,null,[gt("label",{for:w,class:{"v-rating__item--half":n.halfIncrements&&u%1>0,"v-rating__item--full":n.halfIncrements&&u%1===0},onMouseenter:h,onMouseleave:c,onClick:m},[gt("span",{class:"v-rating__hidden"},[S(n.itemAriaLabel,u,n.length)]),s?r.item?r.item({...i.value[o],props:y,value:u,index:o,rating:p.value}):gt(wl,qr({"aria-label":S(n.itemAriaLabel,u,n.length)},y),null):void 0]),gt("input",{class:"v-rating__hidden",name:v.value,id:w,type:"radio",value:u,checked:p.value===u,tabindex:-1,readonly:n.readonly,disabled:n.disabled},null)])}function l(a){return r["item-label"]?r["item-label"](a):a.label?gt("span",null,[a.label]):gt("span",null,[ia(" ")])}return Or(()=>{var u;const a=!!((u=n.itemLabels)!=null&&u.length)||r["item-label"];return gt(n.tag,{class:["v-rating",{"v-rating--hover":n.hover,"v-rating--readonly":n.readonly},D.value,n.class],style:n.style},{default:()=>[gt(f,{value:0,index:-1,showStar:!1},null),t.value.map((o,s)=>{var h,c;return gt("div",{class:"v-rating__wrapper"},[a&&n.itemLabelPosition==="top"?l({value:o,index:s,label:(h=n.itemLabels)==null?void 0:h[s]}):void 0,gt("div",{class:"v-rating__item"},[n.halfIncrements?gt(Yr,null,[gt(f,{value:o-.5,index:s*2},null),gt(f,{value:o,index:s*2+1},null)]):gt(f,{value:o,index:s},null)]),a&&n.itemLabelPosition==="bottom"?l({value:o,index:s,label:(c=n.itemLabels)==null?void 0:c[s]}):void 0])})]})}),{}}});function fT(n){const r=Math.abs(n);return Math.sign(n)*(r/((1/.501-2)*(1-r)+1))}function dT(n){let{selectedElement:e,containerSize:r,contentSize:S,isRtl:D,currentScrollOffset:T,isHorizontal:p}=n;const t=p?e.clientWidth:e.clientHeight,d=p?e.offsetLeft:e.offsetTop,g=D&&p?S-d-t:d,i=r+T,M=t+g,v=t*.4;return g<=T?T=Math.max(g-v,0):i<=M&&(T=Math.min(T-(i-M-v),S-r)),T}function rH(n){let{selectedElement:e,containerSize:r,contentSize:S,isRtl:D,isHorizontal:T}=n;const p=T?e.clientWidth:e.clientHeight,t=T?e.offsetLeft:e.offsetTop,d=D&&T?S-t-p/2-r/2:t+p/2-r/2;return Math.min(S-r,Math.max(0,d))}const gS=Symbol.for("vuetify:v-slide-group"),vS=ur({centerActive:Boolean,direction:{type:String,default:"horizontal"},symbol:{type:null,default:gS},nextIcon:{type:bi,default:"$next"},prevIcon:{type:bi,default:"$prev"},showArrows:{type:[Boolean,String],validator:n=>typeof n=="boolean"||["always","desktop","mobile"].includes(n)},...Zr(),...Si(),...w0({selectedClass:"v-slide-group-item--active"})},"VSlideGroup"),Dx=Ar()({name:"VSlideGroup",props:vS(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{isRtl:S}=Cs(),{mobile:D}=ep(),T=ip(n,n.symbol),p=Wr(!1),t=Wr(0),d=Wr(0),g=Wr(0),i=cn(()=>n.direction==="horizontal"),{resizeRef:M,contentRect:v}=Th(),{resizeRef:f,contentRect:l}=Th(),a=cn(()=>T.selected.value.length?T.items.value.findIndex(F=>F.id===T.selected.value[0]):-1),u=cn(()=>T.selected.value.length?T.items.value.findIndex(F=>F.id===T.selected.value[T.selected.value.length-1]):-1);if(to){let F=-1;$r(()=>[T.selected.value,v.value,l.value,i.value],()=>{cancelAnimationFrame(F),F=requestAnimationFrame(()=>{if(v.value&&l.value){const B=i.value?"width":"height";d.value=v.value[B],g.value=l.value[B],p.value=d.value+1=0&&f.value){const B=f.value.children[u.value];a.value===0||!p.value?t.value=0:n.centerActive?t.value=rH({selectedElement:B,containerSize:d.value,contentSize:g.value,isRtl:S.value,isHorizontal:i.value}):p.value&&(t.value=dT({selectedElement:B,containerSize:d.value,contentSize:g.value,isRtl:S.value,currentScrollOffset:t.value,isHorizontal:i.value}))}})})}const o=Wr(!1);let s=0,h=0;function c(F){const B=i.value?"clientX":"clientY";h=(S.value&&i.value?-1:1)*t.value,s=F.touches[0][B],o.value=!0}function m(F){if(!p.value)return;const B=i.value?"clientX":"clientY",N=S.value&&i.value?-1:1;t.value=N*(h+s-F.touches[0][B])}function w(F){const B=g.value-d.value;t.value<0||!p.value?t.value=0:t.value>=B&&(t.value=B),o.value=!1}function y(){M.value&&(M.value[i.value?"scrollLeft":"scrollTop"]=0)}const C=Wr(!1);function _(F){if(C.value=!0,!(!p.value||!f.value)){for(const B of F.composedPath())for(const N of f.value.children)if(N===B){t.value=dT({selectedElement:N,containerSize:d.value,contentSize:g.value,isRtl:S.value,currentScrollOffset:t.value,isHorizontal:i.value});return}}}function k(F){C.value=!1}function E(F){var B;!C.value&&!(F.relatedTarget&&((B=f.value)!=null&&B.contains(F.relatedTarget)))&&A()}function x(F){f.value&&(i.value?F.key==="ArrowRight"?A(S.value?"prev":"next"):F.key==="ArrowLeft"&&A(S.value?"next":"prev"):F.key==="ArrowDown"?A("next"):F.key==="ArrowUp"&&A("prev"),F.key==="Home"?A("first"):F.key==="End"&&A("last"))}function A(F){var B,N,W,j,$;if(f.value)if(!F)(B=Dm(f.value)[0])==null||B.focus();else if(F==="next"){const U=(N=f.value.querySelector(":focus"))==null?void 0:N.nextElementSibling;U?U.focus():A("first")}else if(F==="prev"){const U=(W=f.value.querySelector(":focus"))==null?void 0:W.previousElementSibling;U?U.focus():A("last")}else F==="first"?(j=f.value.firstElementChild)==null||j.focus():F==="last"&&(($=f.value.lastElementChild)==null||$.focus())}function L(F){const B=t.value+(F==="prev"?-1:1)*d.value;t.value=Zs(B,0,g.value-d.value)}const b=cn(()=>{let F=t.value>g.value-d.value?-(g.value-d.value)+fT(g.value-d.value-t.value):-t.value;t.value<=0&&(F=fT(-t.value));const B=S.value&&i.value?-1:1;return{transform:`translate${i.value?"X":"Y"}(${B*F}px)`,transition:o.value?"none":"",willChange:o.value?"transform":""}}),R=cn(()=>({next:T.next,prev:T.prev,select:T.select,isSelected:T.isSelected})),I=cn(()=>{switch(n.showArrows){case"always":return!0;case"desktop":return!D.value;case!0:return p.value||Math.abs(t.value)>0;case"mobile":return D.value||p.value||Math.abs(t.value)>0;default:return!D.value&&(p.value||Math.abs(t.value)>0)}}),O=cn(()=>Math.abs(t.value)>0),z=cn(()=>g.value>Math.abs(t.value)+d.value);return Or(()=>gt(n.tag,{class:["v-slide-group",{"v-slide-group--vertical":!i.value,"v-slide-group--has-affixes":I.value,"v-slide-group--is-overflowing":p.value},n.class],style:n.style,tabindex:C.value||T.selected.value.length?-1:0,onFocus:E},{default:()=>{var F,B,N;return[I.value&>("div",{key:"prev",class:["v-slide-group__prev",{"v-slide-group__prev--disabled":!O.value}],onClick:()=>L("prev")},[((F=r.prev)==null?void 0:F.call(r,R.value))??gt(gx,null,{default:()=>[gt(ja,{icon:S.value?n.nextIcon:n.prevIcon},null)]})]),gt("div",{key:"container",ref:M,class:"v-slide-group__container",onScroll:y},[gt("div",{ref:f,class:"v-slide-group__content",style:b.value,onTouchstartPassive:c,onTouchmovePassive:m,onTouchendPassive:w,onFocusin:_,onFocusout:k,onKeydown:x},[(B=r.default)==null?void 0:B.call(r,R.value)])]),I.value&>("div",{key:"next",class:["v-slide-group__next",{"v-slide-group__next--disabled":!z.value}],onClick:()=>L("next")},[((N=r.next)==null?void 0:N.call(r,R.value))??gt(gx,null,{default:()=>[gt(ja,{icon:S.value?n.prevIcon:n.nextIcon},null)]})])]}})),{selected:T.selected,scrollTo:L,scrollOffset:t,focus:A}}}),iH=Ar()({name:"VSlideGroupItem",props:T0(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const S=k0(n,gS);return()=>{var D;return(D=r.default)==null?void 0:D.call(r,{isSelected:S.isSelected.value,select:S.select,toggle:S.toggle,selectedClass:S.selectedClass.value})}}});const aH=ur({multiLine:Boolean,timeout:{type:[Number,String],default:5e3},vertical:Boolean,...ed({location:"bottom"}),...A0(),...uo(),...cc(),...oa(),...ic(cg({transition:"v-snackbar-transition"}),["persistent","noClickAnimation","scrim","scrollStrategy"])},"VSnackbar"),oH=Ar()({name:"VSnackbar",props:aH(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const S=xi(n,"modelValue"),{locationStyles:D}=td(n),{positionClasses:T}=S0(n),{scopeId:p}=E0(),{themeClasses:t}=Ma(n),{colorClasses:d,colorStyles:g,variantClasses:i}=rp(n),{roundedClasses:M}=Eo(n),v=Vr();$r(S,l),$r(()=>n.timeout,l),Ks(()=>{S.value&&l()});let f=-1;function l(){window.clearTimeout(f);const u=Number(n.timeout);!S.value||u===-1||(f=window.setTimeout(()=>{S.value=!1},u))}function a(){window.clearTimeout(f)}return Or(()=>{const[u]=of.filterProps(n);return gt(of,qr({ref:v,class:["v-snackbar",{"v-snackbar--active":S.value,"v-snackbar--multi-line":n.multiLine&&!n.vertical,"v-snackbar--vertical":n.vertical},T.value,n.class],style:n.style},u,{modelValue:S.value,"onUpdate:modelValue":o=>S.value=o,contentProps:qr({class:["v-snackbar__wrapper",t.value,d.value,M.value,i.value],style:[D.value,g.value],onPointerenter:a,onPointerleave:l},u.contentProps),persistent:!0,noClickAnimation:!0,scrim:!1,scrollStrategy:"none",_disableGlobalStack:!0},p),{default:()=>[np(!1,"v-snackbar"),r.default&>("div",{class:"v-snackbar__content",role:"status","aria-live":"polite"},[r.default()]),r.actions&>(Fa,{defaults:{VBtn:{variant:"text",ripple:!1}}},{default:()=>[gt("div",{class:"v-snackbar__actions"},[r.actions()])]})],activator:r.activator})}),Vc({},v)}});const sH=ur({indeterminate:Boolean,inset:Boolean,flat:Boolean,loading:{type:[Boolean,String],default:!1},...mf(),...n1()},"VSwitch"),lH=Ar()({name:"VSwitch",inheritAttrs:!1,props:sH(),emits:{"update:focused":n=>!0,"update:modelValue":()=>!0,"update:indeterminate":n=>!0},setup(n,e){let{attrs:r,slots:S}=e;const D=xi(n,"indeterminate"),T=xi(n,"modelValue"),{loaderClasses:p}=t1(n),{isFocused:t,focus:d,blur:g}=rd(n),i=Vr(),M=cn(()=>typeof n.loading=="string"&&n.loading!==""?n.loading:n.color),v=Js(),f=cn(()=>n.id||`switch-${v}`);function l(){D.value&&(D.value=!1)}function a(u){var o,s;u.stopPropagation(),u.preventDefault(),(s=(o=i.value)==null?void 0:o.input)==null||s.click()}return Or(()=>{const[u,o]=Qd(r),[s,h]=Bs.filterProps(n),[c,m]=Xd.filterProps(n);return gt(Bs,qr({class:["v-switch",{"v-switch--inset":n.inset},{"v-switch--indeterminate":D.value},p.value,n.class],style:n.style},u,s,{id:f.value,focused:t.value}),{...S,default:w=>{let{id:y,messagesId:C,isDisabled:_,isReadonly:k,isValid:E}=w;return gt(Xd,qr({ref:i},c,{modelValue:T.value,"onUpdate:modelValue":[x=>T.value=x,l],id:y.value,"aria-describedby":C.value,type:"checkbox","aria-checked":D.value?"mixed":void 0,disabled:_.value,readonly:k.value,onFocus:d,onBlur:g},o),{...S,default:x=>{let{backgroundColorClasses:A,backgroundColorStyles:L}=x;return gt("div",{class:["v-switch__track",...A.value],style:L.value,onClick:a},null)},input:x=>{let{inputNode:A,icon:L,backgroundColorClasses:b,backgroundColorStyles:R}=x;return gt(Yr,null,[A,gt("div",{class:["v-switch__thumb",{"v-switch__thumb--filled":L||n.loading},n.inset?void 0:b.value],style:n.inset?void 0:R.value},[gt(s_,null,{default:()=>[n.loading?gt(g_,{name:"v-switch",active:!0,color:E.value===!1?void 0:M.value},{default:I=>S.loader?S.loader(I):gt(d_,{active:I.isActive,color:I.color,indeterminate:!0,size:"16",width:"2"},null)}):L&>(ja,{key:L,icon:L,size:"x-small"},null)]})])])}})}})}),{}}});const uH=ur({color:String,height:[Number,String],window:Boolean,...Zr(),...fs(),...x0(),...uo(),...Si(),...oa()},"VSystemBar"),cH=Ar()({name:"VSystemBar",props:uH(),setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ma(n),{backgroundColorClasses:D,backgroundColorStyles:T}=Oo(Cr(n,"color")),{elevationClasses:p}=Vs(n),{roundedClasses:t}=Eo(n),{ssrBootStyles:d}=tp(),g=cn(()=>n.height??(n.window?32:24)),{layoutItemStyles:i}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:Wr("top"),layoutSize:g,elementSize:g,active:cn(()=>!0),absolute:Cr(n,"absolute")});return Or(()=>gt(n.tag,{class:["v-system-bar",{"v-system-bar--window":n.window},S.value,D.value,p.value,t.value,n.class],style:[T.value,i.value,d.value,n.style]},r)),{}}});const yS=Symbol.for("vuetify:v-tabs"),hH=ur({fixed:Boolean,sliderColor:String,hideSlider:Boolean,direction:{type:String,default:"horizontal"},...ic(v_({selectedClass:"v-tab--selected",variant:"text"}),["active","block","flat","location","position","symbol"])},"VTab"),bS=Ar()({name:"VTab",props:hH(),setup(n,e){let{slots:r,attrs:S}=e;const{textColorClasses:D,textColorStyles:T}=Xs(n,"sliderColor"),p=cn(()=>n.direction==="horizontal"),t=Wr(!1),d=Vr(),g=Vr();function i(M){var f,l;let{value:v}=M;if(t.value=v,v){const a=(l=(f=d.value)==null?void 0:f.$el.parentElement)==null?void 0:l.querySelector(".v-tab--selected .v-tab__slider"),u=g.value;if(!a||!u)return;const o=getComputedStyle(a).color,s=a.getBoundingClientRect(),h=u.getBoundingClientRect(),c=p.value?"x":"y",m=p.value?"X":"Y",w=p.value?"right":"bottom",y=p.value?"width":"height",C=s[c],_=h[c],k=C>_?s[w]-h[w]:s[c]-h[c],E=Math.sign(k)>0?p.value?"right":"bottom":Math.sign(k)<0?p.value?"left":"top":"center",A=(Math.abs(k)+(Math.sign(k)<0?s[y]:h[y]))/Math.max(s[y],h[y])||0,L=s[y]/h[y]||0,b=1.5;Dd(u,{backgroundColor:[o,"currentcolor"],transform:[`translate${m}(${k}px) scale${m}(${L})`,`translate${m}(${k/b}px) scale${m}(${(A-1)/b+1})`,"none"],transformOrigin:Array(3).fill(E)},{duration:225,easing:zm})}}return Or(()=>{const[M]=wl.filterProps(n);return gt(wl,qr({symbol:yS,ref:d,class:["v-tab",n.class],style:n.style,tabindex:t.value?0:-1,role:"tab","aria-selected":String(t.value),active:!1},M,S,{block:n.fixed,maxWidth:n.fixed?300:void 0,"onGroup:selected":i}),{default:()=>{var v;return[((v=r.default)==null?void 0:v.call(r))??n.text,!n.hideSlider&>("div",{ref:g,class:["v-tab__slider",D.value],style:T.value},null)]}})}),{}}});function fH(n){return n?n.map(e=>typeof e=="string"?{title:e,value:e}:e):[]}const dH=ur({alignTabs:{type:String,default:"start"},color:String,fixedTabs:Boolean,items:{type:Array,default:()=>[]},stacked:Boolean,bgColor:String,grow:Boolean,height:{type:[Number,String],default:void 0},hideSlider:Boolean,sliderColor:String,...vS({mandatory:"force"}),...ds(),...Si()},"VTabs"),pH=Ar()({name:"VTabs",props:dH(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const S=xi(n,"modelValue"),D=cn(()=>fH(n.items)),{densityClasses:T}=Qs(n),{backgroundColorClasses:p,backgroundColorStyles:t}=Oo(Cr(n,"bgColor"));return es({VTab:{color:Cr(n,"color"),direction:Cr(n,"direction"),stacked:Cr(n,"stacked"),fixed:Cr(n,"fixedTabs"),sliderColor:Cr(n,"sliderColor"),hideSlider:Cr(n,"hideSlider")}}),Or(()=>{const[d]=Dx.filterProps(n);return gt(Dx,qr(d,{modelValue:S.value,"onUpdate:modelValue":g=>S.value=g,class:["v-tabs",`v-tabs--${n.direction}`,`v-tabs--align-tabs-${n.alignTabs}`,{"v-tabs--fixed-tabs":n.fixedTabs,"v-tabs--grow":n.grow,"v-tabs--stacked":n.stacked},T.value,p.value,n.class],style:[{"--v-tabs-height":Qr(n.height)},t.value,n.style],role:"tablist",symbol:yS}),{default:()=>[r.default?r.default():D.value.map(g=>gt(bS,qr(g,{key:g.title}),null))]})}),{}}});const mH=ur({fixedHeader:Boolean,fixedFooter:Boolean,height:[Number,String],hover:Boolean,...Zr(),...ds(),...Si(),...oa()},"VTable"),gH=Ar()({name:"VTable",props:mH(),setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ma(n),{densityClasses:D}=Qs(n);return Or(()=>gt(n.tag,{class:["v-table",{"v-table--fixed-height":!!n.height,"v-table--fixed-header":n.fixedHeader,"v-table--fixed-footer":n.fixedFooter,"v-table--has-top":!!r.top,"v-table--has-bottom":!!r.bottom,"v-table--hover":n.hover},S.value,D.value,n.class],style:n.style},{default:()=>{var T,p,t;return[(T=r.top)==null?void 0:T.call(r),r.default?gt("div",{class:"v-table__wrapper",style:{height:Qr(n.height)}},[gt("table",null,[r.default()])]):(p=r.wrapper)==null?void 0:p.call(r),(t=r.bottom)==null?void 0:t.call(r)]}})),{}}});const vH=ur({autoGrow:Boolean,autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,noResize:Boolean,rows:{type:[Number,String],default:5,validator:n=>!isNaN(parseFloat(n))},maxRows:{type:[Number,String],validator:n=>!isNaN(parseFloat(n))},suffix:String,modelModifiers:Object,...mf(),...u1()},"VTextarea"),yH=Ar()({name:"VTextarea",directives:{Intersect:og},inheritAttrs:!1,props:vH(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:S,slots:D}=e;const T=xi(n,"modelValue"),{isFocused:p,focus:t,blur:d}=rd(n),g=cn(()=>typeof n.counterValue=="function"?n.counterValue(T.value):(T.value||"").toString().length),i=cn(()=>{if(r.maxlength)return r.maxlength;if(!(!n.counter||typeof n.counter!="number"&&typeof n.counter!="string"))return n.counter});function M(E,x){var A,L;!n.autofocus||!E||(L=(A=x[0].target)==null?void 0:A.focus)==null||L.call(A)}const v=Vr(),f=Vr(),l=Wr(""),a=Vr(),u=cn(()=>n.persistentPlaceholder||p.value||n.active);function o(){var E;a.value!==document.activeElement&&((E=a.value)==null||E.focus()),p.value||t()}function s(E){o(),S("click:control",E)}function h(E){S("mousedown:control",E)}function c(E){E.stopPropagation(),o(),Ua(()=>{T.value="",K2(n["onClick:clear"],E)})}function m(E){var A;const x=E.target;if(T.value=x.value,(A=n.modelModifiers)!=null&&A.trim){const L=[x.selectionStart,x.selectionEnd];Ua(()=>{x.selectionStart=L[0],x.selectionEnd=L[1]})}}const w=Vr(),y=Vr(+n.rows),C=cn(()=>["plain","underlined"].includes(n.variant));wu(()=>{n.autoGrow||(y.value=+n.rows)});function _(){n.autoGrow&&Ua(()=>{if(!w.value||!f.value)return;const E=getComputedStyle(w.value),x=getComputedStyle(f.value.$el),A=parseFloat(E.getPropertyValue("--v-field-padding-top"))+parseFloat(E.getPropertyValue("--v-input-padding-top"))+parseFloat(E.getPropertyValue("--v-field-padding-bottom")),L=w.value.scrollHeight,b=parseFloat(E.lineHeight),R=Math.max(parseFloat(n.rows)*b+A,parseFloat(x.getPropertyValue("--v-input-control-height"))),I=parseFloat(n.maxRows)*b+A||1/0,O=Zs(L??0,R,I);y.value=Math.floor((O-A)/b),l.value=Qr(O)})}Ks(_),$r(T,_),$r(()=>n.rows,_),$r(()=>n.maxRows,_),$r(()=>n.density,_);let k;return $r(w,E=>{E?(k=new ResizeObserver(_),k.observe(w.value)):k==null||k.disconnect()}),kl(()=>{k==null||k.disconnect()}),Or(()=>{const E=!!(D.counter||n.counter||n.counterValue),x=!!(E||D.details),[A,L]=Qd(r),[{modelValue:b,...R}]=Bs.filterProps(n),[I]=w_(n);return gt(Bs,qr({ref:v,modelValue:T.value,"onUpdate:modelValue":O=>T.value=O,class:["v-textarea v-text-field",{"v-textarea--prefixed":n.prefix,"v-textarea--suffixed":n.suffix,"v-text-field--prefixed":n.prefix,"v-text-field--suffixed":n.suffix,"v-textarea--auto-grow":n.autoGrow,"v-textarea--no-resize":n.noResize||n.autoGrow,"v-text-field--plain-underlined":C.value},n.class],style:n.style},A,R,{centerAffix:y.value===1&&!C.value,focused:p.value}),{...D,default:O=>{let{isDisabled:z,isDirty:F,isReadonly:B,isValid:N}=O;return gt(hg,qr({ref:f,style:{"--v-textarea-control-height":l.value},onClick:s,onMousedown:h,"onClick:clear":c,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"]},I,{active:u.value||F.value,centerAffix:y.value===1&&!C.value,dirty:F.value||n.dirty,disabled:z.value,focused:p.value,error:N.value===!1}),{...D,default:W=>{let{props:{class:j,...$}}=W;return gt(Yr,null,[n.prefix&>("span",{class:"v-text-field__prefix"},[n.prefix]),Co(gt("textarea",qr({ref:a,class:j,value:T.value,onInput:m,autofocus:n.autofocus,readonly:B.value,disabled:z.value,placeholder:n.placeholder,rows:n.rows,name:n.name,onFocus:o,onBlur:d},$,L),null),[[Tu("intersect"),{handler:M},null,{once:!0}]]),n.autoGrow&&Co(gt("textarea",{class:[j,"v-textarea__sizer"],id:`${$.id}-sizer`,"onUpdate:modelValue":U=>T.value=U,ref:w,readonly:!0,"aria-hidden":"true"},null),[[S7,T.value]]),n.suffix&>("span",{class:"v-text-field__suffix"},[n.suffix])])}})},details:x?O=>{var z;return gt(Yr,null,[(z=D.details)==null?void 0:z.call(D,O),E&>(Yr,null,[gt("span",null,null),gt(l1,{active:n.persistentCounter||p.value,value:g.value,max:i.value},D.counter)])])}:void 0})}),Vc({},v,f,a)}});const bH=ur({withBackground:Boolean,...Zr(),...oa(),...Si()},"VThemeProvider"),xH=Ar()({name:"VThemeProvider",props:bH(),setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ma(n);return()=>{var D;return n.withBackground?gt(n.tag,{class:["v-theme-provider",S.value,n.class],style:n.style},{default:()=>{var T;return[(T=r.default)==null?void 0:T.call(r)]}}):(D=r.default)==null?void 0:D.call(r)}}});const _H=ur({align:{type:String,default:"center",validator:n=>["center","start"].includes(n)},direction:{type:String,default:"vertical",validator:n=>["vertical","horizontal"].includes(n)},justify:{type:String,default:"auto",validator:n=>["auto","center"].includes(n)},side:{type:String,validator:n=>n==null||["start","end"].includes(n)},lineInset:{type:[String,Number],default:0},lineThickness:{type:[String,Number],default:2},lineColor:String,truncateLine:{type:String,validator:n=>["start","end","both"].includes(n)},...Zr(),...ds(),...Si(),...oa()},"VTimeline"),wH=Ar()({name:"VTimeline",props:_H(),setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ma(n),{densityClasses:D}=Qs(n),{rtlClasses:T}=Cs();es({VTimelineDivider:{lineColor:Cr(n,"lineColor")},VTimelineItem:{density:Cr(n,"density"),lineInset:Cr(n,"lineInset")}});const p=cn(()=>{const d=n.side?n.side:n.density!=="default"?"end":null;return d&&`v-timeline--side-${d}`}),t=cn(()=>{const d=["v-timeline--truncate-line-start","v-timeline--truncate-line-end"];switch(n.truncateLine){case"both":return d;case"start":return d[0];case"end":return d[1];default:return null}});return Or(()=>gt(n.tag,{class:["v-timeline",`v-timeline--${n.direction}`,`v-timeline--align-${n.align}`,`v-timeline--justify-${n.justify}`,t.value,{"v-timeline--inset-line":!!n.lineInset},S.value,D.value,p.value,T.value,n.class],style:[{"--v-timeline-line-thickness":Qr(n.lineThickness)},n.style]},r)),{}}}),TH=ur({dotColor:String,fillDot:Boolean,hideDot:Boolean,icon:bi,iconColor:String,lineColor:String,...Zr(),...uo(),...pf(),...fs()},"VTimelineDivider"),kH=Ar()({name:"VTimelineDivider",props:TH(),setup(n,e){let{slots:r}=e;const{sizeClasses:S,sizeStyles:D}=M0(n,"v-timeline-divider__dot"),{backgroundColorStyles:T,backgroundColorClasses:p}=Oo(Cr(n,"dotColor")),{roundedClasses:t}=Eo(n,"v-timeline-divider__dot"),{elevationClasses:d}=Vs(n),{backgroundColorClasses:g,backgroundColorStyles:i}=Oo(Cr(n,"lineColor"));return Or(()=>gt("div",{class:["v-timeline-divider",{"v-timeline-divider--fill-dot":n.fillDot},n.class],style:n.style},[gt("div",{class:["v-timeline-divider__before",g.value],style:i.value},null),!n.hideDot&>("div",{key:"dot",class:["v-timeline-divider__dot",d.value,t.value,S.value],style:D.value},[gt("div",{class:["v-timeline-divider__inner-dot",p.value,t.value],style:T.value},[r.default?gt(Fa,{key:"icon-defaults",disabled:!n.icon,defaults:{VIcon:{color:n.iconColor,icon:n.icon,size:n.size}}},r.default):gt(ja,{key:"icon",color:n.iconColor,icon:n.icon,size:n.size},null)])]),gt("div",{class:["v-timeline-divider__after",g.value],style:i.value},null)])),{}}}),MH=ur({density:String,dotColor:String,fillDot:Boolean,hideDot:Boolean,hideOpposite:{type:Boolean,default:void 0},icon:bi,iconColor:String,lineInset:[Number,String],...Zr(),...sc(),...fs(),...uo(),...pf(),...Si()},"VTimelineItem"),AH=Ar()({name:"VTimelineItem",props:MH(),setup(n,e){let{slots:r}=e;const{dimensionStyles:S}=lc(n),D=Wr(0),T=Vr();return $r(T,p=>{var t;p&&(D.value=((t=p.$el.querySelector(".v-timeline-divider__dot"))==null?void 0:t.getBoundingClientRect().width)??0)},{flush:"post"}),Or(()=>{var p,t;return gt("div",{class:["v-timeline-item",{"v-timeline-item--fill-dot":n.fillDot},n.class],style:[{"--v-timeline-dot-size":Qr(D.value),"--v-timeline-line-inset":n.lineInset?`calc(var(--v-timeline-dot-size) / 2 + ${Qr(n.lineInset)})`:Qr(0)},n.style]},[gt("div",{class:"v-timeline-item__body",style:S.value},[(p=r.default)==null?void 0:p.call(r)]),gt(kH,{ref:T,hideDot:n.hideDot,icon:n.icon,iconColor:n.iconColor,size:n.size,elevation:n.elevation,dotColor:n.dotColor,fillDot:n.fillDot,rounded:n.rounded},{default:r.icon}),n.density!=="compact"&>("div",{class:"v-timeline-item__opposite"},[!n.hideOpposite&&((t=r.opposite)==null?void 0:t.call(r))])])}),{}}}),SH=ur({...Zr(),...cc({variant:"text"})},"VToolbarItems"),CH=Ar()({name:"VToolbarItems",props:SH(),setup(n,e){let{slots:r}=e;return es({VBtn:{color:Cr(n,"color"),height:"inherit",variant:Cr(n,"variant")}}),Or(()=>{var S;return gt("div",{class:["v-toolbar-items",n.class],style:n.style},[(S=r.default)==null?void 0:S.call(r)])}),{}}});const EH=ur({id:String,text:String,...ic(cg({closeOnBack:!1,location:"end",locationStrategy:"connected",eager:!0,minWidth:0,offset:10,openOnClick:!1,openOnHover:!0,origin:"auto",scrim:!1,scrollStrategy:"reposition",transition:!1}),["absolute","persistent"])},"VTooltip"),LH=Ar()({name:"VTooltip",props:EH(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const S=xi(n,"modelValue"),{scopeId:D}=E0(),T=Js(),p=cn(()=>n.id||`v-tooltip-${T}`),t=Vr(),d=cn(()=>n.location.split(" ").length>1?n.location:n.location+" center"),g=cn(()=>n.origin==="auto"||n.origin==="overlap"||n.origin.split(" ").length>1||n.location.split(" ").length>1?n.origin:n.origin+" center"),i=cn(()=>n.transition?n.transition:S.value?"scale-transition":"fade-transition"),M=cn(()=>qr({"aria-describedby":p.value},n.activatorProps));return Or(()=>{const[v]=of.filterProps(n);return gt(of,qr({ref:t,class:["v-tooltip",n.class],style:n.style,id:p.value},v,{modelValue:S.value,"onUpdate:modelValue":f=>S.value=f,transition:i.value,absolute:!0,location:d.value,origin:g.value,persistent:!0,role:"tooltip",activatorProps:M.value,_disableGlobalStack:!0},D),{activator:r.activator,default:function(){var u;for(var f=arguments.length,l=new Array(f),a=0;a!0},setup(n,e){let{slots:r}=e;const S=hA(n,"validation");return()=>{var D;return(D=r.default)==null?void 0:D.call(r,S)}}}),RH=Object.freeze(Object.defineProperty({__proto__:null,VAlert:sN,VAlertTitle:rA,VApp:vB,VAppBar:FB,VAppBarNavIcon:rN,VAppBarTitle:iN,VAutocomplete:MV,VAvatar:Zf,VBadge:SV,VBanner:LV,VBannerActions:FA,VBannerText:BA,VBottomNavigation:RV,VBreadcrumbs:zV,VBreadcrumbsDivider:NA,VBreadcrumbsItem:VA,VBtn:wl,VBtnGroup:bx,VBtnToggle:HB,VCard:NV,VCardActions:jA,VCardItem:GA,VCardSubtitle:UA,VCardText:qA,VCardTitle:HA,VCarousel:$V,VCarouselItem:XV,VCheckbox:mN,VCheckboxBtn:h0,VChip:ug,VChipGroup:yN,VClassIcon:a_,VCode:KV,VCol:lU,VColorPicker:Nj,VCombobox:Uj,VComponentIcon:dx,VContainer:iU,VCounter:l1,VDefaultsProvider:Fa,VDialog:Gj,VDialogBottomTransition:_B,VDialogTopTransition:wB,VDialogTransition:Qy,VDivider:wA,VExpandTransition:e1,VExpandXTransition:u_,VExpansionPanel:Xj,VExpansionPanelText:nS,VExpansionPanelTitle:iS,VExpansionPanels:Yj,VFabTransition:xB,VFadeTransition:gx,VField:hg,VFieldLabel:um,VFileInput:Jj,VFooter:eU,VForm:nU,VHover:yU,VIcon:ja,VImg:Zd,VInput:Bs,VItem:_U,VItemGroup:xU,VKbd:wU,VLabel:C0,VLayout:kU,VLayoutItem:AU,VLazy:CU,VLigatureIcon:LF,VList:a1,VListGroup:Tx,VListImg:BN,VListItem:af,VListItemAction:VN,VListItemMedia:UN,VListItemSubtitle:bA,VListItemTitle:xA,VListSubheader:_A,VLocaleProvider:LU,VMain:RU,VMenu:s1,VMessages:lA,VNavigationDrawer:jU,VNoSsr:UU,VOverlay:of,VPagination:qU,VParallax:$U,VProgressCircular:d_,VProgressLinear:p_,VRadio:XU,VRadioGroup:JU,VRangeSlider:eH,VRating:nH,VResponsive:vx,VRow:mU,VScaleTransition:s_,VScrollXReverseTransition:kB,VScrollXTransition:TB,VScrollYReverseTransition:AB,VScrollYTransition:MB,VSelect:xV,VSelectionControl:Xd,VSelectionControlGroup:aA,VSheet:Ox,VSlideGroup:Dx,VSlideGroupItem:iH,VSlideXReverseTransition:CB,VSlideXTransition:SB,VSlideYReverseTransition:EB,VSlideYTransition:l_,VSlider:Px,VSnackbar:oH,VSpacer:gU,VSvgIcon:i_,VSwitch:lH,VSystemBar:cH,VTab:bS,VTable:gH,VTabs:pH,VTextField:Kd,VTextarea:yH,VThemeProvider:xH,VTimeline:wH,VTimelineItem:AH,VToolbar:yx,VToolbarItems:CH,VToolbarTitle:o_,VTooltip:LH,VValidation:IH,VVirtualScroll:h1,VWindow:Sx,VWindowItem:Cx},Symbol.toStringTag,{value:"Module"}));function PH(n,e){const r=e.modifiers||{},S=e.value,{once:D,immediate:T,...p}=r,t=!Object.keys(p).length,{handler:d,options:g}=typeof S=="object"?S:{handler:S,options:{attributes:(p==null?void 0:p.attr)??t,characterData:(p==null?void 0:p.char)??t,childList:(p==null?void 0:p.child)??t,subtree:(p==null?void 0:p.sub)??t}},i=new MutationObserver(function(){let M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],v=arguments.length>1?arguments[1]:void 0;d==null||d(M,v),D&&xS(n,e)});T&&(d==null||d([],i)),n._mutate=Object(n._mutate),n._mutate[e.instance.$.uid]={observer:i},i.observe(n,g)}function xS(n,e){var r;(r=n._mutate)!=null&&r[e.instance.$.uid]&&(n._mutate[e.instance.$.uid].observer.disconnect(),delete n._mutate[e.instance.$.uid])}const OH={mounted:PH,unmounted:xS};function DH(n,e){var D,T;const r=e.value,S={passive:!((D=e.modifiers)!=null&&D.active)};window.addEventListener("resize",r,S),n._onResize=Object(n._onResize),n._onResize[e.instance.$.uid]={handler:r,options:S},(T=e.modifiers)!=null&&T.quiet||r()}function zH(n,e){var D;if(!((D=n._onResize)!=null&&D[e.instance.$.uid]))return;const{handler:r,options:S}=n._onResize[e.instance.$.uid];window.removeEventListener("resize",r,S),delete n._onResize[e.instance.$.uid]}const FH={mounted:DH,unmounted:zH};function _S(n,e){const{self:r=!1}=e.modifiers??{},S=e.value,D=typeof S=="object"&&S.options||{passive:!0},T=typeof S=="function"||"handleEvent"in S?S:S.handler,p=r?n:e.arg?document.querySelector(e.arg):window;p&&(p.addEventListener("scroll",T,D),n._onScroll=Object(n._onScroll),n._onScroll[e.instance.$.uid]={handler:T,options:D,target:r?void 0:p})}function wS(n,e){var T;if(!((T=n._onScroll)!=null&&T[e.instance.$.uid]))return;const{handler:r,options:S,target:D=n}=n._onScroll[e.instance.$.uid];D.removeEventListener("scroll",r,S),delete n._onScroll[e.instance.$.uid]}function BH(n,e){e.value!==e.oldValue&&(wS(n,e),_S(n,e))}const NH={mounted:_S,unmounted:wS,updated:BH},VH=Object.freeze(Object.defineProperty({__proto__:null,ClickOutside:OA,Intersect:og,Mutate:OH,Resize:FH,Ripple:nd,Scroll:NH,Touch:M_},Symbol.toStringTag,{value:"Module"})),E_=R7(Nz);E_.use(D7());E_.use(B6({components:RH,directives:VH}));E_.mount("#app"); diff --git a/js-component/dist/assets/index-36755211.css b/js-component/dist/assets/index-955eea1e.css similarity index 56% rename from js-component/dist/assets/index-36755211.css rename to js-component/dist/assets/index-955eea1e.css index 42f26990..35dff3b6 100644 --- a/js-component/dist/assets/index-36755211.css +++ b/js-component/dist/assets/index-955eea1e.css @@ -1,4 +1,4 @@ -.tabulator{position:relative;border:1px solid #dee2e6;background-color:#fff;font-size:16px;text-align:left;overflow:hidden;-webkit-transform:translateZ(0);-moz-transform:translateZ(0);-ms-transform:translateZ(0);-o-transform:translateZ(0);transform:translateZ(0)}.tabulator[tabulator-layout=fitDataFill] .tabulator-tableholder .tabulator-table{min-width:100%}.tabulator[tabulator-layout=fitDataTable]{display:inline-block}.tabulator.tabulator-block-select{-webkit-user-select:none;user-select:none}.tabulator.tabulator-ranges .tabulator-cell:not(.tabulator-editing){-webkit-user-select:none;user-select:none}.tabulator .tabulator-header{position:relative;box-sizing:border-box;width:100%;border-bottom:1px solid #dee2e6;background-color:#fff;color:#555;font-weight:700;white-space:nowrap;overflow:hidden;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none;outline:none}.tabulator .tabulator-header.tabulator-header-hidden{display:none}.tabulator .tabulator-header .tabulator-header-contents{position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-header-contents .tabulator-headers{display:inline-block}.tabulator .tabulator-header .tabulator-col{display:inline-flex;position:relative;box-sizing:border-box;flex-direction:column;justify-content:flex-start;border-right:1px solid #aaa;background:#fff;text-align:left;vertical-align:bottom;overflow:hidden}.tabulator .tabulator-header .tabulator-col.tabulator-moving{position:absolute;border:1px solid #dee2e6;background:#e6e6e6;pointer-events:none}.tabulator .tabulator-header .tabulator-col.tabulator-range-highlight{background-color:#d6d6d6;color:#000}.tabulator .tabulator-header .tabulator-col.tabulator-range-selected{background-color:#3876ca;color:#fff}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{box-sizing:border-box;position:relative;padding:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button{padding:0 8px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button:hover{cursor:pointer;opacity:.6}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title-holder{position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title{box-sizing:border-box;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title.tabulator-col-title-wrap{white-space:normal;text-overflow:initial}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-title-editor{box-sizing:border-box;width:100%;border:1px solid #999;padding:1px;background:#fff}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-header-popup-button+.tabulator-title-editor{width:calc(100% - 22px)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{display:flex;align-items:center;position:absolute;top:0;bottom:0;right:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #bbb}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{position:relative;display:flex;border-top:1px solid #aaa;overflow:hidden;margin-right:-1px}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter{position:relative;box-sizing:border-box;margin-top:2px;width:100%;text-align:center}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter textarea{height:auto!important}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter svg{margin-top:3px}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input::-ms-clear{width:0;height:0}.tabulator .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:25px}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable.tabulator-col-sorter-element:hover{cursor:pointer;background-color:#e6e6e6}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter{color:#bbb}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-bottom:6px solid #555}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid #bbb}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter{color:#666}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-bottom:6px solid #555}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid #666}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter{color:#666}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-top:6px solid #555}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-bottom:none;border-top:6px solid #666;color:#666}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical .tabulator-col-content .tabulator-col-title{writing-mode:vertical-rl;text-orientation:mixed;display:flex;align-items:center;justify-content:center}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-col-vertical-flip .tabulator-col-title{transform:rotate(180deg)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-title{padding-right:0;padding-top:20px}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable.tabulator-col-vertical-flip .tabulator-col-title{padding-right:0;padding-bottom:20px}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-sorter{justify-content:center;left:0;right:0;top:4px;bottom:auto}.tabulator .tabulator-header .tabulator-frozen{position:sticky;left:0;z-index:11}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-left{border-right:2px solid #dee2e6}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-right{border-left:2px solid #dee2e6}.tabulator .tabulator-header .tabulator-calcs-holder{box-sizing:border-box;display:inline-block;background:white!important;border-top:1px solid #dee2e6;border-bottom:1px solid #aaa}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row{background:white!important}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-header .tabulator-frozen-rows-holder{display:inline-block}.tabulator .tabulator-header .tabulator-frozen-rows-holder:empty{display:none}.tabulator .tabulator-tableholder{position:relative;width:100%;white-space:nowrap;overflow:auto;-webkit-overflow-scrolling:touch}.tabulator .tabulator-tableholder:focus{outline:none}.tabulator .tabulator-tableholder .tabulator-placeholder{box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-width:100%;width:100%}.tabulator .tabulator-tableholder .tabulator-placeholder[tabulator-render-mode=virtual]{min-height:100%}.tabulator .tabulator-tableholder .tabulator-placeholder .tabulator-placeholder-contents{display:inline-block;text-align:center;padding:10px;color:#ccc;font-weight:700;font-size:20px;white-space:normal}.tabulator .tabulator-tableholder .tabulator-table{position:relative;display:inline-block;background-color:#fff;white-space:nowrap;overflow:visible;color:#333}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs{font-weight:700;background:#ececec!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-top{border-bottom:2px solid #dee2e6}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-bottom{border-top:2px solid #dee2e6}.tabulator .tabulator-tableholder .tabulator-range-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;pointer-events:none}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range{position:absolute;box-sizing:border-box;border:1px solid #2975DD}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range.tabulator-range-active:after{content:"";position:absolute;right:-3px;bottom:-3px;width:6px;height:6px;background-color:#2975dd;border-radius:999px}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range-cell-active{position:absolute;box-sizing:border-box;border:2px solid #2975DD}.tabulator .tabulator-footer{border-top:1px solid #dee2e6;background-color:#e6e6e6;color:#555;font-weight:700;white-space:nowrap;user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator .tabulator-footer .tabulator-footer-contents{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:5px 10px}.tabulator .tabulator-footer .tabulator-footer-contents:empty{display:none}.tabulator .tabulator-footer .tabulator-calcs-holder{box-sizing:border-box;width:100%;text-align:left;background:#f3f3f3!important;border-bottom:1px solid #dee2e6;border-top:1px solid #dee2e6;overflow:hidden}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row{display:inline-block;background:#f3f3f3!important}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-footer .tabulator-calcs-holder:only-child{margin-bottom:-5px;border-bottom:none}.tabulator .tabulator-footer>*+.tabulator-page-counter{margin-left:10px}.tabulator .tabulator-footer .tabulator-page-counter{font-weight:400}.tabulator .tabulator-footer .tabulator-paginator{flex:1;text-align:right;color:#555;font-family:inherit;font-weight:inherit;font-size:inherit}.tabulator .tabulator-footer .tabulator-page-size{display:inline-block;margin:0 5px;padding:2px 5px;border:1px solid #dee2e6;border-radius:3px}.tabulator .tabulator-footer .tabulator-pages{margin:0 7px}.tabulator .tabulator-footer .tabulator-page{display:inline-block;margin:0 2px;padding:2px 5px;border:1px solid #dee2e6;border-radius:3px;background:rgba(255,255,255,.2)}.tabulator .tabulator-footer .tabulator-page.active{color:#fff}.tabulator .tabulator-footer .tabulator-page:disabled{opacity:.5}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-footer .tabulator-page:not(disabled):hover{cursor:pointer;background:rgba(0,0,0,.2);color:#fff}}.tabulator .tabulator-col-resize-handle{position:relative;display:inline-block;width:6px;margin-left:-3px;margin-right:-3px;z-index:11;vertical-align:middle}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-col-resize-handle:hover{cursor:ew-resize}}.tabulator .tabulator-col-resize-handle:last-of-type{width:3px;margin-right:0}.tabulator .tabulator-alert{position:absolute;display:flex;align-items:center;top:0;left:0;z-index:100;height:100%;width:100%;background:rgba(0,0,0,.4);text-align:center}.tabulator .tabulator-alert .tabulator-alert-msg{display:inline-block;margin:0 auto;padding:10px 20px;border-radius:10px;background:#fff;font-weight:700;font-size:16px}.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-msg{border:4px solid #333;color:#000}.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-error{border:4px solid #D00;color:#590000}.tabulator-row{position:relative;box-sizing:border-box;min-height:24px;background-color:#fff}.tabulator-row.tabulator-row-even{background-color:#f9f9f9}@media (hover: hover) and (pointer: fine){.tabulator-row.tabulator-selectable:hover{background-color:#f5f5f5;cursor:pointer}}.tabulator-row.tabulator-selected{background-color:#9abcea}@media (hover: hover) and (pointer: fine){.tabulator-row.tabulator-selected:hover{background-color:#769bcc;cursor:pointer}}.tabulator-row.tabulator-row-moving{border:1px solid #000;background:#fff}.tabulator-row.tabulator-moving{position:absolute;border-top:1px solid #dee2e6;border-bottom:1px solid #dee2e6;pointer-events:none;z-index:15}.tabulator-row.tabulator-range-highlight .tabulator-cell.tabulator-range-row-header{background-color:#d6d6d6;color:#000}.tabulator-row.tabulator-range-highlight.tabulator-range-selected .tabulator-cell.tabulator-range-row-header,.tabulator-row.tabulator-range-selected .tabulator-cell.tabulator-range-row-header{background-color:#3876ca;color:#fff}.tabulator-row .tabulator-row-resize-handle{position:absolute;right:0;bottom:0;left:0;height:5px}.tabulator-row .tabulator-row-resize-handle.prev{top:0;bottom:auto}@media (hover: hover) and (pointer: fine){.tabulator-row .tabulator-row-resize-handle:hover{cursor:ns-resize}}.tabulator-row .tabulator-responsive-collapse{box-sizing:border-box;padding:5px;border-top:1px solid #dee2e6;border-bottom:1px solid #dee2e6}.tabulator-row .tabulator-responsive-collapse:empty{display:none}.tabulator-row .tabulator-responsive-collapse table{font-size:16px}.tabulator-row .tabulator-responsive-collapse table tr td{position:relative}.tabulator-row .tabulator-responsive-collapse table tr td:first-of-type{padding-right:10px}.tabulator-row .tabulator-cell{display:inline-block;position:relative;box-sizing:border-box;padding:4px;border-right:1px solid #dee2e6;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;outline:none}.tabulator-row .tabulator-cell.tabulator-frozen{display:inline-block;position:sticky;left:0;background-color:inherit;z-index:11}.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-right:2px solid #dee2e6}.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-left:2px solid #dee2e6}.tabulator-row .tabulator-cell.tabulator-editing{border:1px solid #1D68CD;outline:none;padding:0}.tabulator-row .tabulator-cell.tabulator-editing input,.tabulator-row .tabulator-cell.tabulator-editing select{border:1px;background:transparent;outline:none}.tabulator-row .tabulator-cell.tabulator-validation-fail{border:1px solid #dd0000}.tabulator-row .tabulator-cell.tabulator-validation-fail input,.tabulator-row .tabulator-cell.tabulator-validation-fail select{border:1px;background:transparent;color:#d00}.tabulator-row .tabulator-cell.tabulator-row-handle{display:inline-flex;align-items:center;justify-content:center;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box{width:80%}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box .tabulator-row-handle-bar{width:100%;height:3px;margin-top:2px;background:#666}.tabulator-row .tabulator-cell.tabulator-range-selected:not(.tabulator-range-only-cell-selected):not(.tabulator-range-row-header){background-color:#9abcea}.tabulator-row .tabulator-cell .tabulator-data-tree-branch-empty{display:inline-block;width:7px}.tabulator-row .tabulator-cell .tabulator-data-tree-branch{display:inline-block;vertical-align:middle;height:9px;width:7px;margin-top:-9px;margin-right:5px;border-bottom-left-radius:1px;border-left:2px solid #dee2e6;border-bottom:2px solid #dee2e6}.tabulator-row .tabulator-cell .tabulator-data-tree-control{display:inline-flex;justify-content:center;align-items:center;vertical-align:middle;height:11px;width:11px;margin-right:5px;border:1px solid #333;border-radius:2px;background:rgba(0,0,0,.1);overflow:hidden}@media (hover: hover) and (pointer: fine){.tabulator-row .tabulator-cell .tabulator-data-tree-control:hover{cursor:pointer;background:rgba(0,0,0,.2)}}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse{display:inline-block;position:relative;height:7px;width:1px;background:transparent}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand{display:inline-block;position:relative;height:7px;width:1px;background:#333}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle{display:inline-flex;align-items:center;justify-content:center;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none;height:15px;width:15px;border-radius:20px;background:#666;color:#fff;font-weight:700;font-size:1.1em}@media (hover: hover) and (pointer: fine){.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle:hover{opacity:.7;cursor:pointer}}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-close{display:initial}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-open{display:none}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle svg{stroke:#fff}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle .tabulator-responsive-collapse-toggle-close{display:none}.tabulator-row .tabulator-cell .tabulator-traffic-light{display:inline-block;height:14px;width:14px;border-radius:14px}.tabulator-row.tabulator-group{box-sizing:border-box;border-bottom:1px solid #999;border-right:1px solid #dee2e6;border-top:1px solid #999;padding:5px 5px 5px 10px;background:#ccc;font-weight:700;min-width:100%}@media (hover: hover) and (pointer: fine){.tabulator-row.tabulator-group:hover{cursor:pointer;background-color:#0000001a}}.tabulator-row.tabulator-group.tabulator-group-visible .tabulator-arrow{margin-right:10px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #666;border-bottom:0}.tabulator-row.tabulator-group.tabulator-group-level-1{padding-left:30px}.tabulator-row.tabulator-group.tabulator-group-level-2{padding-left:50px}.tabulator-row.tabulator-group.tabulator-group-level-3{padding-left:70px}.tabulator-row.tabulator-group.tabulator-group-level-4{padding-left:90px}.tabulator-row.tabulator-group.tabulator-group-level-5{padding-left:110px}.tabulator-row.tabulator-group .tabulator-group-toggle{display:inline-block}.tabulator-row.tabulator-group .tabulator-arrow{display:inline-block;width:0;height:0;margin-right:16px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:0;border-left:6px solid #666;vertical-align:middle}.tabulator-row.tabulator-group span{margin-left:10px;color:#d00}.tabulator-popup-container{position:absolute;display:inline-block;box-sizing:border-box;background:#fff;border:1px solid #dee2e6;box-shadow:0 0 5px #0003;font-size:16px;overflow-y:auto;-webkit-overflow-scrolling:touch;z-index:10000}.tabulator-popup{padding:5px;border-radius:3px}.tabulator-tooltip{max-width:min(500px,100%);padding:3px 5px;border-radius:2px;box-shadow:none;font-size:12px;pointer-events:none}.tabulator-menu .tabulator-menu-item{position:relative;box-sizing:border-box;padding:5px 10px;-webkit-user-select:none;user-select:none}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-disabled{opacity:.5}@media (hover: hover) and (pointer: fine){.tabulator-menu .tabulator-menu-item:not(.tabulator-menu-item-disabled):hover{cursor:pointer;background:#f9f9f9}}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu{padding-right:25px}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu:after{display:inline-block;position:absolute;top:calc(5px + .4em);right:10px;height:7px;width:7px;content:"";border-width:1px 1px 0 0;border-style:solid;border-color:#dee2e6;vertical-align:top;transform:rotate(45deg)}.tabulator-menu .tabulator-menu-separator{border-top:1px solid #dee2e6}.tabulator-edit-list{max-height:200px;font-size:16px;overflow-y:auto;-webkit-overflow-scrolling:touch}.tabulator-edit-list .tabulator-edit-list-item{padding:4px;color:#333;outline:none}.tabulator-edit-list .tabulator-edit-list-item.active{color:#fff;background:#1D68CD}.tabulator-edit-list .tabulator-edit-list-item.active.focused{outline:1px solid rgba(255,255,255,.5)}.tabulator-edit-list .tabulator-edit-list-item.focused{outline:1px solid #1D68CD}@media (hover: hover) and (pointer: fine){.tabulator-edit-list .tabulator-edit-list-item:hover{cursor:pointer;color:#fff;background:#1D68CD}}.tabulator-edit-list .tabulator-edit-list-placeholder{padding:4px;color:#333;text-align:center}.tabulator-edit-list .tabulator-edit-list-group{border-bottom:1px solid #dee2e6;padding:6px 4px 4px;color:#333;font-weight:700}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-2,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-2{padding-left:12px}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-3,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-3{padding-left:20px}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-4,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-4{padding-left:28px}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-5,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-5{padding-left:36px}.tabulator.tabulator-ltr{direction:ltr}.tabulator.tabulator-rtl{text-align:initial;direction:rtl}.tabulator.tabulator-rtl .tabulator-header .tabulator-col{text-align:initial;border-left:1px solid #aaa;border-right:initial}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{margin-right:initial;margin-left:-1px}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:0;padding-left:25px}.tabulator.tabulator-rtl .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{left:8px;right:initial}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell{border-right:initial;border-left:1px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-branch{margin-right:initial;margin-left:5px;border-bottom-left-radius:initial;border-bottom-right-radius:1px;border-left:initial;border-right:2px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-control{margin-right:initial;margin-left:5px}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-left:2px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-right:2px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-col-resize-handle:last-of-type{width:3px;margin-left:0;margin-right:-3px}.tabulator.tabulator-rtl .tabulator-footer .tabulator-calcs-holder{text-align:initial}.tabulator-print-fullscreen{position:absolute;top:0;bottom:0;left:0;right:0;z-index:10000}body.tabulator-print-fullscreen-hide>*:not(.tabulator-print-fullscreen){display:none!important}.tabulator-print-table{border-collapse:collapse}.tabulator-print-table .tabulator-data-tree-branch{display:inline-block;vertical-align:middle;height:9px;width:7px;margin-top:-9px;margin-right:5px;border-bottom-left-radius:1px;border-left:2px solid #dee2e6;border-bottom:2px solid #dee2e6}.tabulator-print-table .tabulator-print-table-group{box-sizing:border-box;border-bottom:1px solid #999;border-right:1px solid #dee2e6;border-top:1px solid #999;padding:5px 5px 5px 10px;background:#ccc;font-weight:700;min-width:100%}@media (hover: hover) and (pointer: fine){.tabulator-print-table .tabulator-print-table-group:hover{cursor:pointer;background-color:#0000001a}}.tabulator-print-table .tabulator-print-table-group.tabulator-group-visible .tabulator-arrow{margin-right:10px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #666;border-bottom:0}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-1 td{padding-left:30px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-2 td{padding-left:50px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-3 td{padding-left:70px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-4 td{padding-left:90px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-5 td{padding-left:110px!important}.tabulator-print-table .tabulator-print-table-group .tabulator-group-toggle{display:inline-block}.tabulator-print-table .tabulator-print-table-group .tabulator-arrow{display:inline-block;width:0;height:0;margin-right:16px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:0;border-left:6px solid #666;vertical-align:middle}.tabulator-print-table .tabulator-print-table-group span{margin-left:10px;color:#d00}.tabulator-print-table .tabulator-data-tree-control{display:inline-flex;justify-content:center;align-items:center;vertical-align:middle;height:11px;width:11px;margin-right:5px;border:1px solid #333;border-radius:2px;background:rgba(0,0,0,.1);overflow:hidden}@media (hover: hover) and (pointer: fine){.tabulator-print-table .tabulator-data-tree-control:hover{cursor:pointer;background:rgba(0,0,0,.2)}}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse{display:inline-block;position:relative;height:7px;width:1px;background:transparent}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand{display:inline-block;position:relative;height:7px;width:1px;background:#333}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator{background-color:#fff;border:none}.tabulator .tabulator-header{border-top:1px solid #dee2e6;border-bottom:2px solid #dee2e6;color:inherit}.tabulator .tabulator-header .tabulator-col{border-right:none;background-color:#fff}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{padding:12px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{right:0}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{border-top:1px solid #dee2e6}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input{padding:.375rem .75rem;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;font-size:1rem;line-height:1.5;color:#495057}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input:focus{color:#495057;background-color:#fff;border:1px solid #1D68CD;outline:0}.tabulator .tabulator-header .tabulator-calcs-holder{width:100%;border-bottom:1px solid #dee2e6}.tabulator .tabulator-tableholder .tabulator-placeholder span{color:#000}.tabulator .tabulator-tableholder .tabulator-table,.tabulator .tabulator-footer,.tabulator .tabulator-footer .tabulator-paginator{color:inherit}.tabulator .tabulator-footer .tabulator-pages{margin:0}.tabulator .tabulator-footer .tabulator-page{margin:5px 0 0;padding:8px 12px}.tabulator .tabulator-footer .tabulator-page[data-page=first]{border-top-left-radius:4px;border-bottom-left-radius:4px}.tabulator .tabulator-footer .tabulator-page[data-page=last]{border:1px solid #dee2e6;border-top-right-radius:4px;border-bottom-right-radius:4px}.tabulator .tabulator-footer .tabulator-page.active{border-color:#007bff;background-color:#007bff;color:#fff}.tabulator .tabulator-footer .tabulator-page:disabled{border-color:#dee2e6;background:#fff;color:#6c757d}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-footer .tabulator-page:not(.disabled):hover{border-color:#dee2e6;background:#e9ecef;color:#0056b3}}.tabulator.thead-dark .tabulator-header,.tabulator.thead-dark .tabulator-header .tabulator-col{border-color:#32383e;background-color:#212529;color:#fff}.tabulator.table-dark{background-color:#212529}.tabulator.table-dark:not(.thead-light) .tabulator-header{border-color:#32383e;background-color:#212529;color:#fff}.tabulator.table-dark:not(.thead-light) .tabulator-header .tabulator-col{border-color:#32383e;background-color:#212529;color:#fff}.tabulator.table-dark .tabulator-tableholder{color:#fff}.tabulator.table-dark .tabulator-row{border-color:#32383e;background-color:#212529;color:#fff}@media (hover: hover) and (pointer: fine){.tabulator.table-dark .tabulator-row:hover{background-color:#32383e}.tabulator.table-dark .tabulator-row:hover .tabulator-cell{background-color:#ffffff13}}.tabulator.table-dark .tabulator-row.tabulator-selected{background-color:#9abcea}.tabulator.table-dark .tabulator-footer{border-color:#32383e!important}.tabulator.table-dark .tabulator-footer .tabulator-calcs-holder{border-color:#32383e!important;background:#212529!important}.tabulator.table-dark .tabulator-footer .tabulator-calcs-holder .tabulator-row{border-color:#32383e!important;background-color:#212529!important;color:#fff!important}.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even{background-color:#f9f9f9}.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even.tabulator-selected{background-color:#9abcea}@media (hover: hover) and (pointer: fine){.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even.tabulator-selectable:hover{background-color:#f5f5f5;cursor:pointer}.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even.tabulator-selected:hover{background-color:#769bcc;cursor:pointer}}.tabulator.table-striped.table-dark .tabulator-row:nth-child(2n) .tabulator-cell{background-color:#ffffff0d}.tabulator.table-bordered{border:1px solid #dee2e6}.tabulator.table-bordered .tabulator-header .tabulator-col,.tabulator.table-bordered .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell{border-right:1px solid #dee2e6}.tabulator.table-borderless .tabulator-header,.tabulator.table-borderless .tabulator-row{border:none}.tabulator.table-sm .tabulator-header .tabulator-col .tabulator-col-content{padding:5px!important}.tabulator.table-sm .tabulator-tableholder .tabulator-table .tabulator-row{min-height:26px}.tabulator.table-sm .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell{padding:5px!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-primary{background:#b8daff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-secondary{background:#d6d8db!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-success{background:#c3e6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-info{background:#bee5eb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-warning{background:#ffeeba!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-danger{background:#f5c6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-light{background:#fdfdfe!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-dark{background:#c6c8ca!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-active{background:#f5f5f5!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-primary{background:#007bff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-secondary{background:#6c757d!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-success{background:#28a745!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-info{background:#17a2b8!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-warning{background:#ffc107!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-danger{background:#dc3545!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-light{background:#f8f9fa!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-dark{background:#343a40!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-active{background:#f5f5f5!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-primary{background:#b8daff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-secondary{background:#d6d8db!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-success{background:#c3e6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-info{background:#bee5eb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-warning{background:#ffeeba!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-danger{background:#f5c6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-light{background:#fdfdfe!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-dark{background:#c6c8ca!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-active{background:#f5f5f5!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-primary{background:#007bff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-secondary{background:#6c757d!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-success{background:#28a745!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-info{background:#17a2b8!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-warning{background:#ffc107!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-danger{background:#dc3545!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-light{background:#f8f9fa!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-dark{background:#343a40!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-active{background:#f5f5f5!important}.tabulator-row{min-height:40px;border-bottom:1px solid #dee2e6}.tabulator-row .tabulator-cell{padding:12px;border-right:none}.tabulator-row .tabulator-cell:last-of-type{border-right:none}.tabulator-row .tabulator-cell .tabulator-data-tree-control{border:1px solid #ccc}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{background:#ccc}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand{background:#ccc}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{background:#ccc}.tabulator-row.tabulator-group{background:#fafafa}.tabulator-row.tabulator-group span{color:#666}.tabulator-edit-select-list{background:#fff}.tabulator-edit-select-list .tabulator-edit-select-list-item.active{color:#fff}.tabulator-edit-select-list .tabulator-edit-select-list-item.active.focused{outline:1px solid rgba(255,255,255,.5)}@media (hover: hover) and (pointer: fine){.tabulator-edit-select-list .tabulator-edit-select-list-item:hover{color:#fff}}.tabulator-edit-select-list .tabulator-edit-select-list-notice,.tabulator-edit-select-list .tabulator-edit-select-list-group{color:inherit}.tabulator.tabulator-rtl .tabulator-header .tabulator-col{text-align:initial;border-left:initial}.tabulator-print-table .tabulator-print-table-group{background:#fafafa}.tabulator-print-table .tabulator-print-table-group span{color:#666}.tabulator-print-table .tabulator-data-tree-control{color:inherit}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{background:#ccc}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand{background:#ccc}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{background:#ccc}.tabulator-col-title,.tabulator-cell{font-size:14px}.plot-container[data-v-0b5cc4d2]{position:relative;width:100%;color:var(--text-color);background-color:var(--background-color)}.simple-button[data-v-0b5cc4d2]{position:absolute;top:17%;left:6.5%;z-index:1000;background-color:var(--annotation-background);border:none;border-radius:50%;width:30px;height:30px;text-align:center;line-height:230%;cursor:pointer}.simple-button[data-v-0b5cc4d2]:hover{background-color:var(--button-hover-color)}.foreground[data-v-fb6c82e8]{position:relative;z-index:1000}.sequence-amino-acid-highlighted[data-v-fb6c82e8],.sequence-amino-acid.highlighted[data-v-fb6c82e8]{background-color:#f3a712;color:#000;outline:3px solid #29335C;font-weight:700}.sequence-amino-acid-truncated[data-v-fb6c82e8],.sequence-amino-acid.truncated .aa-text[data-v-fb6c82e8]{color:#8080804d;outline:rgba(128,128,128,.3);text-decoration:line-through!important}.sequence-amino-acid[data-v-fb6c82e8]{background-color:var(--amino-acid-cell-bg-color);color:var(--amino-acid-cell-color)}.sequence-amino-acid[data-v-fb6c82e8]:hover{background-color:var(--amino-acid-cell-hover-bg-color);color:var(--amino-acid-cell-hover-color)}.sequence-amino-acid-highlighted[data-v-fb6c82e8]{background-color:var(--amino-acid-cell-bg-color);color:#f3a712}.sequence-amino-acid-highlighted[data-v-fb6c82e8]:hover{background-color:var(--amino-acid-cell-hover-bg-color)}.sequence-amino-acid-modified[data-v-fb6c82e8]{background-color:#a79c91}.sequence-amino-acid-modified[data-v-fb6c82e8]:hover{background-color:#c5baaf}.frag-marker-container[data-v-fb6c82e8],.frag-marker-container-a[data-v-fb6c82e8],.frag-marker-container-b[data-v-fb6c82e8],.frag-marker-container-c[data-v-fb6c82e8],.frag-marker-container-x[data-v-fb6c82e8],.frag-marker-container-y[data-v-fb6c82e8],.frag-marker-container-z[data-v-fb6c82e8],.frag-marker-extra-type[data-v-fb6c82e8]{width:100%;height:100%;position:absolute;z-index:1000}.frag-marker-container-a[data-v-fb6c82e8]{top:-28%;left:15%}.frag-marker-container-b[data-v-fb6c82e8]{top:-8%;left:13%}.frag-marker-container-c[data-v-fb6c82e8]{top:-28%;left:15%}.frag-marker-container-x[data-v-fb6c82e8]{bottom:-32%;left:-10%}.frag-marker-container-y[data-v-fb6c82e8]{bottom:-8%;left:-10%}.frag-marker-container-z[data-v-fb6c82e8]{bottom:-32%;left:-10%}.frag-marker-extra-type[data-v-fb6c82e8]{top:-30%}.aa-text[data-v-fb6c82e8]{position:absolute}.tag-marker[data-v-fb6c82e8]{position:absolute;top:-7.5%;left:-7.5%;width:115%;height:115%;display:flex;align-items:center;justify-content:right;border-top:.3em solid black;border-right:.3em solid black;border-bottom:.3em solid black;border-left:.3em solid black;z-index:1100}.tag-start[data-v-fb6c82e8]{clip-path:inset(0 50% 0 0)}.tag-end[data-v-fb6c82e8]{clip-path:inset(0 0 0 50%)}.mod-marker[data-v-fb6c82e8]{position:absolute;width:100%;height:100%;display:flex;align-items:center;justify-content:right;background-image:radial-gradient(#676a9c .5px,transparent .5px),radial-gradient(#444cf7 .5px,#e5e5f7 .5px);background-size:15px 15px;background-position:0 0,10px 10px;background-repeat:repeat}.mod-mass[data-v-fb6c82e8]{background-color:#fff;display:inline-block;position:absolute;top:-15%;right:-25%;display:flex;align-items:center;justify-content:right;border-top:.1em solid #a79c91;border-right:.1em solid #a79c91;border-bottom:.1em solid #a79c91;border-left:.1em solid #a79c91;font-size:.7em;padding:0 .2em;z-index:1100}.mod-mass-a[data-v-fb6c82e8]{display:inline-block;position:absolute;top:-15%;right:-25%;display:flex;align-items:center;border-top:.2em solid green;border-right:.2em solid green;border-bottom:.2em solid green;border-radius:.5rem;padding:0 .2em;z-index:1200;font-size:.7em;color:#0000}.mod-mass-b[data-v-fb6c82e8]{display:inline-block;position:absolute;top:-15%;right:-25%;display:flex;align-items:center;border-top:.2em solid blue;border-right:.2em solid blue;border-bottom:.2em solid blue;border-radius:.5rem;z-index:1200;padding:0 .2em;font-size:.7em;color:#0000}.mod-mass-c[data-v-fb6c82e8]{display:inline-block;position:absolute;top:-15%;right:-25%;display:flex;align-items:center;border-top:.2em solid red;border-right:.2em solid red;border-bottom:.2em solid red;border-radius:.5rem;z-index:1200;font-size:.7em;padding:0 .2em;color:#0000}.mod-start[data-v-fb6c82e8]{clip-path:inset(0 50% 0 0)}.mod-end[data-v-fb6c82e8],.mod-start-cont[data-v-fb6c82e8]{clip-path:inset(0 0 0 50%)}.mod-end-cont[data-v-fb6c82e8]{clip-path:inset(0 50% 0 0)}.mod-center-cont[data-v-fb6c82e8]{width:125%}.undetermined[data-v-beee67fe]{position:relative;top:-20%;font-size:.7em;font-weight:1000;color:red;z-index:1100}.protein-terminal[data-v-beee67fe]:hover{background-color:var(--protein-terminal-cell-hover-bg-color);color:var(--protein-terminal-cell-hover-color)}.terminal-text[data-v-beee67fe]{font-weight:1000}.terminal-text.truncated[data-v-beee67fe]{color:#80808066;outline:rgba(128,128,128,.4)}.protein-terminal-modified[data-v-beee67fe]{background-color:#9c1e1e;color:var(--amino-acid-cell-color)}.protein-terminal-modified[data-v-beee67fe]:hover{background-color:#ff1e1e}.sequence-grid[data-v-9a6912d6]{display:grid;grid-template-rows:auto;gap:4px 4px}.sequence-grid>div[data-v-9a6912d6]{aspect-ratio:1}.sequence-amino-acid-modified[data-v-9a6912d6]{background-color:#9c1e1e!important}.sequence-amino-acid-modified[data-v-9a6912d6]:hover{background-color:#ff1e1e}.sequence-amino-acid-highlighted[data-v-9a6912d6]{background-color:var(--amino-acid-cell-bg-color);color:#f0a441}.sequence-amino-acid-highlighted[data-v-9a6912d6]:hover{background-color:var(--amino-acid-cell-hover-bg-color)}.sequence-grid[data-v-14f01162]{display:grid;grid-template-rows:auto;gap:4px 4px}.sequence-grid>div[data-v-14f01162]{aspect-ratio:1}.protein-terminal[data-v-14f01162]:hover{background-color:var(--amino-acid-cell-hover-bg-color);color:var(--amino-acid-cell-hover-color)}.grid-width-20[data-v-14f01162]{grid-template-columns:repeat(22,1fr)}.grid-width-25[data-v-14f01162]{grid-template-columns:repeat(27,1fr)}.grid-width-30[data-v-14f01162]{grid-template-columns:repeat(32,1fr)}.grid-width-35[data-v-14f01162]{grid-template-columns:repeat(37,1fr)}.grid-width-40[data-v-14f01162]{grid-template-columns:repeat(42,1fr)}.sequence-and-scale[data-v-14f01162]{display:flex;align-items:center}.scale-container[data-v-14f01162]{display:flex;flex-direction:column;align-items:center}#sequence-part[data-v-14f01162]{flex-grow:1}.scale[data-v-14f01162]{width:60px;height:100px;background:linear-gradient(to top,rgba(228,87,46,.1),rgba(228,87,46,.2) 10%,rgba(228,87,46,.4) 20%,rgba(228,87,46,.6) 40%,rgba(228,87,46,.8) 70%,#e4572e 100%)}.scale-text[data-v-14f01162]{text-align:center;font-size:14pt;font-weight:700}.sequence-text[data-v-ece55ad7]{font-size:8px}.fragment-segment[data-v-ece55ad7],.by-fragment[data-v-ece55ad7],.cy-fragment[data-v-ece55ad7],.bz-fragment[data-v-ece55ad7],.not-in-fragment[data-v-ece55ad7],.by-fragment-overlayed[data-v-ece55ad7],.by-fragment-legend[data-v-ece55ad7],.cy-fragment-overlayed[data-v-ece55ad7],.cy-fragment-legend[data-v-ece55ad7],.bz-fragment-overlayed[data-v-ece55ad7],.bz-fragment-legend[data-v-ece55ad7]{aspect-ratio:1}.by-fragment[data-v-ece55ad7],.by-fragment-overlayed[data-v-ece55ad7],.by-fragment-legend[data-v-ece55ad7]{background:#f0a441}.by-fragment-overlayed[data-v-ece55ad7]{opacity:var(--frag-block-opacity-value)}.by-fragment-legend[data-v-ece55ad7]{height:10px}.cy-fragment[data-v-ece55ad7],.cy-fragment-overlayed[data-v-ece55ad7],.cy-fragment-legend[data-v-ece55ad7]{background:#12871d}.cy-fragment-overlayed[data-v-ece55ad7]{opacity:var(--frag-block-opacity-value)}.cy-fragment-legend[data-v-ece55ad7]{height:10px}.bz-fragment[data-v-ece55ad7],.bz-fragment-overlayed[data-v-ece55ad7],.bz-fragment-legend[data-v-ece55ad7]{background:#7831cc}.bz-fragment-overlayed[data-v-ece55ad7]{opacity:var(--frag-block-opacity-value)}.bz-fragment-legend[data-v-ece55ad7]{height:10px}.not-in-fragment[data-v-ece55ad7]{background:transparent;aspect-ratio:1}.v-input.textFieldFontSize[data-v-ece55ad7]{width:100px}.component-row[data-v-942c08f7]{display:flex;flex-direction:row;align-items:center}.height-1[data-v-942c08f7]{min-height:200px;height:fit-content;max-height:400px}.height-2[data-v-942c08f7]{min-height:200px;height:fit-content;max-height:800px}.height-any[data-v-942c08f7]{min-height:200px;height:fit-content}.component-width-1[data-v-942c08f7]{flex-basis:100%;flex-grow:0}.component-width-2[data-v-942c08f7]{max-width:50%;flex-basis:50%;flex-grow:0}.component-width-3[data-v-942c08f7]{max-width:33%;flex-basis:33%;flex-grow:0}.component-layout[data-v-721e06dc]{display:flex;flex-direction:column}body{margin:0;font-family:Source Sans Pro,sans-serif}.tabulator-tooltip{background:#fff;color:#000}@font-face{font-family:Material Design Icons;src:url(./materialdesignicons-webfont-67d24abe.eot?v=7.2.96);src:url(./materialdesignicons-webfont-67d24abe.eot?#iefix&v=7.2.96) format("embedded-opentype"),url(./materialdesignicons-webfont-c1c004a9.woff2?v=7.2.96) format("woff2"),url(./materialdesignicons-webfont-80bb28b3.woff?v=7.2.96) format("woff"),url(./materialdesignicons-webfont-a58ecb54.ttf?v=7.2.96) format("truetype");font-weight:400;font-style:normal}.mdi:before,.mdi-set{display:inline-block;font: 24px/1 Material Design Icons;font-size:inherit;text-rendering:auto;line-height:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.mdi-ab-testing:before{content:"󰇉"}.mdi-abacus:before{content:"󱛠"}.mdi-abjad-arabic:before{content:"󱌨"}.mdi-abjad-hebrew:before{content:"󱌩"}.mdi-abugida-devanagari:before{content:"󱌪"}.mdi-abugida-thai:before{content:"󱌫"}.mdi-access-point:before{content:"󰀃"}.mdi-access-point-check:before{content:"󱔸"}.mdi-access-point-minus:before{content:"󱔹"}.mdi-access-point-network:before{content:"󰀂"}.mdi-access-point-network-off:before{content:"󰯡"}.mdi-access-point-off:before{content:"󱔑"}.mdi-access-point-plus:before{content:"󱔺"}.mdi-access-point-remove:before{content:"󱔻"}.mdi-account:before{content:"󰀄"}.mdi-account-alert:before{content:"󰀅"}.mdi-account-alert-outline:before{content:"󰭐"}.mdi-account-arrow-down:before{content:"󱡨"}.mdi-account-arrow-down-outline:before{content:"󱡩"}.mdi-account-arrow-left:before{content:"󰭑"}.mdi-account-arrow-left-outline:before{content:"󰭒"}.mdi-account-arrow-right:before{content:"󰭓"}.mdi-account-arrow-right-outline:before{content:"󰭔"}.mdi-account-arrow-up:before{content:"󱡧"}.mdi-account-arrow-up-outline:before{content:"󱡪"}.mdi-account-badge:before{content:"󱬊"}.mdi-account-badge-outline:before{content:"󱬋"}.mdi-account-box:before{content:"󰀆"}.mdi-account-box-multiple:before{content:"󰤴"}.mdi-account-box-multiple-outline:before{content:"󱀊"}.mdi-account-box-outline:before{content:"󰀇"}.mdi-account-cancel:before{content:"󱋟"}.mdi-account-cancel-outline:before{content:"󱋠"}.mdi-account-card:before{content:"󱮤"}.mdi-account-card-outline:before{content:"󱮥"}.mdi-account-cash:before{content:"󱂗"}.mdi-account-cash-outline:before{content:"󱂘"}.mdi-account-check:before{content:"󰀈"}.mdi-account-check-outline:before{content:"󰯢"}.mdi-account-child:before{content:"󰪉"}.mdi-account-child-circle:before{content:"󰪊"}.mdi-account-child-outline:before{content:"󱃈"}.mdi-account-circle:before{content:"󰀉"}.mdi-account-circle-outline:before{content:"󰭕"}.mdi-account-clock:before{content:"󰭖"}.mdi-account-clock-outline:before{content:"󰭗"}.mdi-account-cog:before{content:"󱍰"}.mdi-account-cog-outline:before{content:"󱍱"}.mdi-account-convert:before{content:"󰀊"}.mdi-account-convert-outline:before{content:"󱌁"}.mdi-account-cowboy-hat:before{content:"󰺛"}.mdi-account-cowboy-hat-outline:before{content:"󱟳"}.mdi-account-credit-card:before{content:"󱮦"}.mdi-account-credit-card-outline:before{content:"󱮧"}.mdi-account-details:before{content:"󰘱"}.mdi-account-details-outline:before{content:"󱍲"}.mdi-account-edit:before{content:"󰚼"}.mdi-account-edit-outline:before{content:"󰿻"}.mdi-account-eye:before{content:"󰐠"}.mdi-account-eye-outline:before{content:"󱉻"}.mdi-account-filter:before{content:"󰤶"}.mdi-account-filter-outline:before{content:"󰾝"}.mdi-account-group:before{content:"󰡉"}.mdi-account-group-outline:before{content:"󰭘"}.mdi-account-hard-hat:before{content:"󰖵"}.mdi-account-hard-hat-outline:before{content:"󱨟"}.mdi-account-heart:before{content:"󰢙"}.mdi-account-heart-outline:before{content:"󰯣"}.mdi-account-injury:before{content:"󱠕"}.mdi-account-injury-outline:before{content:"󱠖"}.mdi-account-key:before{content:"󰀋"}.mdi-account-key-outline:before{content:"󰯤"}.mdi-account-lock:before{content:"󱅞"}.mdi-account-lock-open:before{content:"󱥠"}.mdi-account-lock-open-outline:before{content:"󱥡"}.mdi-account-lock-outline:before{content:"󱅟"}.mdi-account-minus:before{content:"󰀍"}.mdi-account-minus-outline:before{content:"󰫬"}.mdi-account-multiple:before{content:"󰀎"}.mdi-account-multiple-check:before{content:"󰣅"}.mdi-account-multiple-check-outline:before{content:"󱇾"}.mdi-account-multiple-minus:before{content:"󰗓"}.mdi-account-multiple-minus-outline:before{content:"󰯥"}.mdi-account-multiple-outline:before{content:"󰀏"}.mdi-account-multiple-plus:before{content:"󰀐"}.mdi-account-multiple-plus-outline:before{content:"󰠀"}.mdi-account-multiple-remove:before{content:"󱈊"}.mdi-account-multiple-remove-outline:before{content:"󱈋"}.mdi-account-music:before{content:"󰠃"}.mdi-account-music-outline:before{content:"󰳩"}.mdi-account-network:before{content:"󰀑"}.mdi-account-network-off:before{content:"󱫱"}.mdi-account-network-off-outline:before{content:"󱫲"}.mdi-account-network-outline:before{content:"󰯦"}.mdi-account-off:before{content:"󰀒"}.mdi-account-off-outline:before{content:"󰯧"}.mdi-account-outline:before{content:"󰀓"}.mdi-account-plus:before{content:"󰀔"}.mdi-account-plus-outline:before{content:"󰠁"}.mdi-account-question:before{content:"󰭙"}.mdi-account-question-outline:before{content:"󰭚"}.mdi-account-reactivate:before{content:"󱔫"}.mdi-account-reactivate-outline:before{content:"󱔬"}.mdi-account-remove:before{content:"󰀕"}.mdi-account-remove-outline:before{content:"󰫭"}.mdi-account-school:before{content:"󱨠"}.mdi-account-school-outline:before{content:"󱨡"}.mdi-account-search:before{content:"󰀖"}.mdi-account-search-outline:before{content:"󰤵"}.mdi-account-settings:before{content:"󰘰"}.mdi-account-settings-outline:before{content:"󱃉"}.mdi-account-star:before{content:"󰀗"}.mdi-account-star-outline:before{content:"󰯨"}.mdi-account-supervisor:before{content:"󰪋"}.mdi-account-supervisor-circle:before{content:"󰪌"}.mdi-account-supervisor-circle-outline:before{content:"󱓬"}.mdi-account-supervisor-outline:before{content:"󱄭"}.mdi-account-switch:before{content:"󰀙"}.mdi-account-switch-outline:before{content:"󰓋"}.mdi-account-sync:before{content:"󱤛"}.mdi-account-sync-outline:before{content:"󱤜"}.mdi-account-tag:before{content:"󱰛"}.mdi-account-tag-outline:before{content:"󱰜"}.mdi-account-tie:before{content:"󰳣"}.mdi-account-tie-hat:before{content:"󱢘"}.mdi-account-tie-hat-outline:before{content:"󱢙"}.mdi-account-tie-outline:before{content:"󱃊"}.mdi-account-tie-voice:before{content:"󱌈"}.mdi-account-tie-voice-off:before{content:"󱌊"}.mdi-account-tie-voice-off-outline:before{content:"󱌋"}.mdi-account-tie-voice-outline:before{content:"󱌉"}.mdi-account-tie-woman:before{content:"󱪌"}.mdi-account-voice:before{content:"󰗋"}.mdi-account-voice-off:before{content:"󰻔"}.mdi-account-wrench:before{content:"󱢚"}.mdi-account-wrench-outline:before{content:"󱢛"}.mdi-adjust:before{content:"󰀚"}.mdi-advertisements:before{content:"󱤪"}.mdi-advertisements-off:before{content:"󱤫"}.mdi-air-conditioner:before{content:"󰀛"}.mdi-air-filter:before{content:"󰵃"}.mdi-air-horn:before{content:"󰶬"}.mdi-air-humidifier:before{content:"󱂙"}.mdi-air-humidifier-off:before{content:"󱑦"}.mdi-air-purifier:before{content:"󰵄"}.mdi-air-purifier-off:before{content:"󱭗"}.mdi-airbag:before{content:"󰯩"}.mdi-airballoon:before{content:"󰀜"}.mdi-airballoon-outline:before{content:"󱀋"}.mdi-airplane:before{content:"󰀝"}.mdi-airplane-alert:before{content:"󱡺"}.mdi-airplane-check:before{content:"󱡻"}.mdi-airplane-clock:before{content:"󱡼"}.mdi-airplane-cog:before{content:"󱡽"}.mdi-airplane-edit:before{content:"󱡾"}.mdi-airplane-landing:before{content:"󰗔"}.mdi-airplane-marker:before{content:"󱡿"}.mdi-airplane-minus:before{content:"󱢀"}.mdi-airplane-off:before{content:"󰀞"}.mdi-airplane-plus:before{content:"󱢁"}.mdi-airplane-remove:before{content:"󱢂"}.mdi-airplane-search:before{content:"󱢃"}.mdi-airplane-settings:before{content:"󱢄"}.mdi-airplane-takeoff:before{content:"󰗕"}.mdi-airport:before{content:"󰡋"}.mdi-alarm:before{content:"󰀠"}.mdi-alarm-bell:before{content:"󰞎"}.mdi-alarm-check:before{content:"󰀡"}.mdi-alarm-light:before{content:"󰞏"}.mdi-alarm-light-off:before{content:"󱜞"}.mdi-alarm-light-off-outline:before{content:"󱜟"}.mdi-alarm-light-outline:before{content:"󰯪"}.mdi-alarm-multiple:before{content:"󰀢"}.mdi-alarm-note:before{content:"󰹱"}.mdi-alarm-note-off:before{content:"󰹲"}.mdi-alarm-off:before{content:"󰀣"}.mdi-alarm-panel:before{content:"󱗄"}.mdi-alarm-panel-outline:before{content:"󱗅"}.mdi-alarm-plus:before{content:"󰀤"}.mdi-alarm-snooze:before{content:"󰚎"}.mdi-album:before{content:"󰀥"}.mdi-alert:before{content:"󰀦"}.mdi-alert-box:before{content:"󰀧"}.mdi-alert-box-outline:before{content:"󰳤"}.mdi-alert-circle:before{content:"󰀨"}.mdi-alert-circle-check:before{content:"󱇭"}.mdi-alert-circle-check-outline:before{content:"󱇮"}.mdi-alert-circle-outline:before{content:"󰗖"}.mdi-alert-decagram:before{content:"󰚽"}.mdi-alert-decagram-outline:before{content:"󰳥"}.mdi-alert-minus:before{content:"󱒻"}.mdi-alert-minus-outline:before{content:"󱒾"}.mdi-alert-octagon:before{content:"󰀩"}.mdi-alert-octagon-outline:before{content:"󰳦"}.mdi-alert-octagram:before{content:"󰝧"}.mdi-alert-octagram-outline:before{content:"󰳧"}.mdi-alert-outline:before{content:"󰀪"}.mdi-alert-plus:before{content:"󱒺"}.mdi-alert-plus-outline:before{content:"󱒽"}.mdi-alert-remove:before{content:"󱒼"}.mdi-alert-remove-outline:before{content:"󱒿"}.mdi-alert-rhombus:before{content:"󱇎"}.mdi-alert-rhombus-outline:before{content:"󱇏"}.mdi-alien:before{content:"󰢚"}.mdi-alien-outline:before{content:"󱃋"}.mdi-align-horizontal-center:before{content:"󱇃"}.mdi-align-horizontal-distribute:before{content:"󱥢"}.mdi-align-horizontal-left:before{content:"󱇂"}.mdi-align-horizontal-right:before{content:"󱇄"}.mdi-align-vertical-bottom:before{content:"󱇅"}.mdi-align-vertical-center:before{content:"󱇆"}.mdi-align-vertical-distribute:before{content:"󱥣"}.mdi-align-vertical-top:before{content:"󱇇"}.mdi-all-inclusive:before{content:"󰚾"}.mdi-all-inclusive-box:before{content:"󱢍"}.mdi-all-inclusive-box-outline:before{content:"󱢎"}.mdi-allergy:before{content:"󱉘"}.mdi-alpha:before{content:"󰀫"}.mdi-alpha-a:before{content:"󰫮"}.mdi-alpha-a-box:before{content:"󰬈"}.mdi-alpha-a-box-outline:before{content:"󰯫"}.mdi-alpha-a-circle:before{content:"󰯬"}.mdi-alpha-a-circle-outline:before{content:"󰯭"}.mdi-alpha-b:before{content:"󰫯"}.mdi-alpha-b-box:before{content:"󰬉"}.mdi-alpha-b-box-outline:before{content:"󰯮"}.mdi-alpha-b-circle:before{content:"󰯯"}.mdi-alpha-b-circle-outline:before{content:"󰯰"}.mdi-alpha-c:before{content:"󰫰"}.mdi-alpha-c-box:before{content:"󰬊"}.mdi-alpha-c-box-outline:before{content:"󰯱"}.mdi-alpha-c-circle:before{content:"󰯲"}.mdi-alpha-c-circle-outline:before{content:"󰯳"}.mdi-alpha-d:before{content:"󰫱"}.mdi-alpha-d-box:before{content:"󰬋"}.mdi-alpha-d-box-outline:before{content:"󰯴"}.mdi-alpha-d-circle:before{content:"󰯵"}.mdi-alpha-d-circle-outline:before{content:"󰯶"}.mdi-alpha-e:before{content:"󰫲"}.mdi-alpha-e-box:before{content:"󰬌"}.mdi-alpha-e-box-outline:before{content:"󰯷"}.mdi-alpha-e-circle:before{content:"󰯸"}.mdi-alpha-e-circle-outline:before{content:"󰯹"}.mdi-alpha-f:before{content:"󰫳"}.mdi-alpha-f-box:before{content:"󰬍"}.mdi-alpha-f-box-outline:before{content:"󰯺"}.mdi-alpha-f-circle:before{content:"󰯻"}.mdi-alpha-f-circle-outline:before{content:"󰯼"}.mdi-alpha-g:before{content:"󰫴"}.mdi-alpha-g-box:before{content:"󰬎"}.mdi-alpha-g-box-outline:before{content:"󰯽"}.mdi-alpha-g-circle:before{content:"󰯾"}.mdi-alpha-g-circle-outline:before{content:"󰯿"}.mdi-alpha-h:before{content:"󰫵"}.mdi-alpha-h-box:before{content:"󰬏"}.mdi-alpha-h-box-outline:before{content:"󰰀"}.mdi-alpha-h-circle:before{content:"󰰁"}.mdi-alpha-h-circle-outline:before{content:"󰰂"}.mdi-alpha-i:before{content:"󰫶"}.mdi-alpha-i-box:before{content:"󰬐"}.mdi-alpha-i-box-outline:before{content:"󰰃"}.mdi-alpha-i-circle:before{content:"󰰄"}.mdi-alpha-i-circle-outline:before{content:"󰰅"}.mdi-alpha-j:before{content:"󰫷"}.mdi-alpha-j-box:before{content:"󰬑"}.mdi-alpha-j-box-outline:before{content:"󰰆"}.mdi-alpha-j-circle:before{content:"󰰇"}.mdi-alpha-j-circle-outline:before{content:"󰰈"}.mdi-alpha-k:before{content:"󰫸"}.mdi-alpha-k-box:before{content:"󰬒"}.mdi-alpha-k-box-outline:before{content:"󰰉"}.mdi-alpha-k-circle:before{content:"󰰊"}.mdi-alpha-k-circle-outline:before{content:"󰰋"}.mdi-alpha-l:before{content:"󰫹"}.mdi-alpha-l-box:before{content:"󰬓"}.mdi-alpha-l-box-outline:before{content:"󰰌"}.mdi-alpha-l-circle:before{content:"󰰍"}.mdi-alpha-l-circle-outline:before{content:"󰰎"}.mdi-alpha-m:before{content:"󰫺"}.mdi-alpha-m-box:before{content:"󰬔"}.mdi-alpha-m-box-outline:before{content:"󰰏"}.mdi-alpha-m-circle:before{content:"󰰐"}.mdi-alpha-m-circle-outline:before{content:"󰰑"}.mdi-alpha-n:before{content:"󰫻"}.mdi-alpha-n-box:before{content:"󰬕"}.mdi-alpha-n-box-outline:before{content:"󰰒"}.mdi-alpha-n-circle:before{content:"󰰓"}.mdi-alpha-n-circle-outline:before{content:"󰰔"}.mdi-alpha-o:before{content:"󰫼"}.mdi-alpha-o-box:before{content:"󰬖"}.mdi-alpha-o-box-outline:before{content:"󰰕"}.mdi-alpha-o-circle:before{content:"󰰖"}.mdi-alpha-o-circle-outline:before{content:"󰰗"}.mdi-alpha-p:before{content:"󰫽"}.mdi-alpha-p-box:before{content:"󰬗"}.mdi-alpha-p-box-outline:before{content:"󰰘"}.mdi-alpha-p-circle:before{content:"󰰙"}.mdi-alpha-p-circle-outline:before{content:"󰰚"}.mdi-alpha-q:before{content:"󰫾"}.mdi-alpha-q-box:before{content:"󰬘"}.mdi-alpha-q-box-outline:before{content:"󰰛"}.mdi-alpha-q-circle:before{content:"󰰜"}.mdi-alpha-q-circle-outline:before{content:"󰰝"}.mdi-alpha-r:before{content:"󰫿"}.mdi-alpha-r-box:before{content:"󰬙"}.mdi-alpha-r-box-outline:before{content:"󰰞"}.mdi-alpha-r-circle:before{content:"󰰟"}.mdi-alpha-r-circle-outline:before{content:"󰰠"}.mdi-alpha-s:before{content:"󰬀"}.mdi-alpha-s-box:before{content:"󰬚"}.mdi-alpha-s-box-outline:before{content:"󰰡"}.mdi-alpha-s-circle:before{content:"󰰢"}.mdi-alpha-s-circle-outline:before{content:"󰰣"}.mdi-alpha-t:before{content:"󰬁"}.mdi-alpha-t-box:before{content:"󰬛"}.mdi-alpha-t-box-outline:before{content:"󰰤"}.mdi-alpha-t-circle:before{content:"󰰥"}.mdi-alpha-t-circle-outline:before{content:"󰰦"}.mdi-alpha-u:before{content:"󰬂"}.mdi-alpha-u-box:before{content:"󰬜"}.mdi-alpha-u-box-outline:before{content:"󰰧"}.mdi-alpha-u-circle:before{content:"󰰨"}.mdi-alpha-u-circle-outline:before{content:"󰰩"}.mdi-alpha-v:before{content:"󰬃"}.mdi-alpha-v-box:before{content:"󰬝"}.mdi-alpha-v-box-outline:before{content:"󰰪"}.mdi-alpha-v-circle:before{content:"󰰫"}.mdi-alpha-v-circle-outline:before{content:"󰰬"}.mdi-alpha-w:before{content:"󰬄"}.mdi-alpha-w-box:before{content:"󰬞"}.mdi-alpha-w-box-outline:before{content:"󰰭"}.mdi-alpha-w-circle:before{content:"󰰮"}.mdi-alpha-w-circle-outline:before{content:"󰰯"}.mdi-alpha-x:before{content:"󰬅"}.mdi-alpha-x-box:before{content:"󰬟"}.mdi-alpha-x-box-outline:before{content:"󰰰"}.mdi-alpha-x-circle:before{content:"󰰱"}.mdi-alpha-x-circle-outline:before{content:"󰰲"}.mdi-alpha-y:before{content:"󰬆"}.mdi-alpha-y-box:before{content:"󰬠"}.mdi-alpha-y-box-outline:before{content:"󰰳"}.mdi-alpha-y-circle:before{content:"󰰴"}.mdi-alpha-y-circle-outline:before{content:"󰰵"}.mdi-alpha-z:before{content:"󰬇"}.mdi-alpha-z-box:before{content:"󰬡"}.mdi-alpha-z-box-outline:before{content:"󰰶"}.mdi-alpha-z-circle:before{content:"󰰷"}.mdi-alpha-z-circle-outline:before{content:"󰰸"}.mdi-alphabet-aurebesh:before{content:"󱌬"}.mdi-alphabet-cyrillic:before{content:"󱌭"}.mdi-alphabet-greek:before{content:"󱌮"}.mdi-alphabet-latin:before{content:"󱌯"}.mdi-alphabet-piqad:before{content:"󱌰"}.mdi-alphabet-tengwar:before{content:"󱌷"}.mdi-alphabetical:before{content:"󰀬"}.mdi-alphabetical-off:before{content:"󱀌"}.mdi-alphabetical-variant:before{content:"󱀍"}.mdi-alphabetical-variant-off:before{content:"󱀎"}.mdi-altimeter:before{content:"󰗗"}.mdi-ambulance:before{content:"󰀯"}.mdi-ammunition:before{content:"󰳨"}.mdi-ampersand:before{content:"󰪍"}.mdi-amplifier:before{content:"󰀰"}.mdi-amplifier-off:before{content:"󱆵"}.mdi-anchor:before{content:"󰀱"}.mdi-android:before{content:"󰀲"}.mdi-android-studio:before{content:"󰀴"}.mdi-angle-acute:before{content:"󰤷"}.mdi-angle-obtuse:before{content:"󰤸"}.mdi-angle-right:before{content:"󰤹"}.mdi-angular:before{content:"󰚲"}.mdi-angularjs:before{content:"󰚿"}.mdi-animation:before{content:"󰗘"}.mdi-animation-outline:before{content:"󰪏"}.mdi-animation-play:before{content:"󰤺"}.mdi-animation-play-outline:before{content:"󰪐"}.mdi-ansible:before{content:"󱂚"}.mdi-antenna:before{content:"󱄙"}.mdi-anvil:before{content:"󰢛"}.mdi-apache-kafka:before{content:"󱀏"}.mdi-api:before{content:"󱂛"}.mdi-api-off:before{content:"󱉗"}.mdi-apple:before{content:"󰀵"}.mdi-apple-finder:before{content:"󰀶"}.mdi-apple-icloud:before{content:"󰀸"}.mdi-apple-ios:before{content:"󰀷"}.mdi-apple-keyboard-caps:before{content:"󰘲"}.mdi-apple-keyboard-command:before{content:"󰘳"}.mdi-apple-keyboard-control:before{content:"󰘴"}.mdi-apple-keyboard-option:before{content:"󰘵"}.mdi-apple-keyboard-shift:before{content:"󰘶"}.mdi-apple-safari:before{content:"󰀹"}.mdi-application:before{content:"󰣆"}.mdi-application-array:before{content:"󱃵"}.mdi-application-array-outline:before{content:"󱃶"}.mdi-application-braces:before{content:"󱃷"}.mdi-application-braces-outline:before{content:"󱃸"}.mdi-application-brackets:before{content:"󰲋"}.mdi-application-brackets-outline:before{content:"󰲌"}.mdi-application-cog:before{content:"󰙵"}.mdi-application-cog-outline:before{content:"󱕷"}.mdi-application-edit:before{content:"󰂮"}.mdi-application-edit-outline:before{content:"󰘙"}.mdi-application-export:before{content:"󰶭"}.mdi-application-import:before{content:"󰶮"}.mdi-application-outline:before{content:"󰘔"}.mdi-application-parentheses:before{content:"󱃹"}.mdi-application-parentheses-outline:before{content:"󱃺"}.mdi-application-settings:before{content:"󰭠"}.mdi-application-settings-outline:before{content:"󱕕"}.mdi-application-variable:before{content:"󱃻"}.mdi-application-variable-outline:before{content:"󱃼"}.mdi-approximately-equal:before{content:"󰾞"}.mdi-approximately-equal-box:before{content:"󰾟"}.mdi-apps:before{content:"󰀻"}.mdi-apps-box:before{content:"󰵆"}.mdi-arch:before{content:"󰣇"}.mdi-archive:before{content:"󰀼"}.mdi-archive-alert:before{content:"󱓽"}.mdi-archive-alert-outline:before{content:"󱓾"}.mdi-archive-arrow-down:before{content:"󱉙"}.mdi-archive-arrow-down-outline:before{content:"󱉚"}.mdi-archive-arrow-up:before{content:"󱉛"}.mdi-archive-arrow-up-outline:before{content:"󱉜"}.mdi-archive-cancel:before{content:"󱝋"}.mdi-archive-cancel-outline:before{content:"󱝌"}.mdi-archive-check:before{content:"󱝍"}.mdi-archive-check-outline:before{content:"󱝎"}.mdi-archive-clock:before{content:"󱝏"}.mdi-archive-clock-outline:before{content:"󱝐"}.mdi-archive-cog:before{content:"󱝑"}.mdi-archive-cog-outline:before{content:"󱝒"}.mdi-archive-edit:before{content:"󱝓"}.mdi-archive-edit-outline:before{content:"󱝔"}.mdi-archive-eye:before{content:"󱝕"}.mdi-archive-eye-outline:before{content:"󱝖"}.mdi-archive-lock:before{content:"󱝗"}.mdi-archive-lock-open:before{content:"󱝘"}.mdi-archive-lock-open-outline:before{content:"󱝙"}.mdi-archive-lock-outline:before{content:"󱝚"}.mdi-archive-marker:before{content:"󱝛"}.mdi-archive-marker-outline:before{content:"󱝜"}.mdi-archive-minus:before{content:"󱝝"}.mdi-archive-minus-outline:before{content:"󱝞"}.mdi-archive-music:before{content:"󱝟"}.mdi-archive-music-outline:before{content:"󱝠"}.mdi-archive-off:before{content:"󱝡"}.mdi-archive-off-outline:before{content:"󱝢"}.mdi-archive-outline:before{content:"󱈎"}.mdi-archive-plus:before{content:"󱝣"}.mdi-archive-plus-outline:before{content:"󱝤"}.mdi-archive-refresh:before{content:"󱝥"}.mdi-archive-refresh-outline:before{content:"󱝦"}.mdi-archive-remove:before{content:"󱝧"}.mdi-archive-remove-outline:before{content:"󱝨"}.mdi-archive-search:before{content:"󱝩"}.mdi-archive-search-outline:before{content:"󱝪"}.mdi-archive-settings:before{content:"󱝫"}.mdi-archive-settings-outline:before{content:"󱝬"}.mdi-archive-star:before{content:"󱝭"}.mdi-archive-star-outline:before{content:"󱝮"}.mdi-archive-sync:before{content:"󱝯"}.mdi-archive-sync-outline:before{content:"󱝰"}.mdi-arm-flex:before{content:"󰿗"}.mdi-arm-flex-outline:before{content:"󰿖"}.mdi-arrange-bring-forward:before{content:"󰀽"}.mdi-arrange-bring-to-front:before{content:"󰀾"}.mdi-arrange-send-backward:before{content:"󰀿"}.mdi-arrange-send-to-back:before{content:"󰁀"}.mdi-arrow-all:before{content:"󰁁"}.mdi-arrow-bottom-left:before{content:"󰁂"}.mdi-arrow-bottom-left-bold-box:before{content:"󱥤"}.mdi-arrow-bottom-left-bold-box-outline:before{content:"󱥥"}.mdi-arrow-bottom-left-bold-outline:before{content:"󰦷"}.mdi-arrow-bottom-left-thick:before{content:"󰦸"}.mdi-arrow-bottom-left-thin:before{content:"󱦶"}.mdi-arrow-bottom-left-thin-circle-outline:before{content:"󱖖"}.mdi-arrow-bottom-right:before{content:"󰁃"}.mdi-arrow-bottom-right-bold-box:before{content:"󱥦"}.mdi-arrow-bottom-right-bold-box-outline:before{content:"󱥧"}.mdi-arrow-bottom-right-bold-outline:before{content:"󰦹"}.mdi-arrow-bottom-right-thick:before{content:"󰦺"}.mdi-arrow-bottom-right-thin:before{content:"󱦷"}.mdi-arrow-bottom-right-thin-circle-outline:before{content:"󱖕"}.mdi-arrow-collapse:before{content:"󰘕"}.mdi-arrow-collapse-all:before{content:"󰁄"}.mdi-arrow-collapse-down:before{content:"󰞒"}.mdi-arrow-collapse-horizontal:before{content:"󰡌"}.mdi-arrow-collapse-left:before{content:"󰞓"}.mdi-arrow-collapse-right:before{content:"󰞔"}.mdi-arrow-collapse-up:before{content:"󰞕"}.mdi-arrow-collapse-vertical:before{content:"󰡍"}.mdi-arrow-decision:before{content:"󰦻"}.mdi-arrow-decision-auto:before{content:"󰦼"}.mdi-arrow-decision-auto-outline:before{content:"󰦽"}.mdi-arrow-decision-outline:before{content:"󰦾"}.mdi-arrow-down:before{content:"󰁅"}.mdi-arrow-down-bold:before{content:"󰜮"}.mdi-arrow-down-bold-box:before{content:"󰜯"}.mdi-arrow-down-bold-box-outline:before{content:"󰜰"}.mdi-arrow-down-bold-circle:before{content:"󰁇"}.mdi-arrow-down-bold-circle-outline:before{content:"󰁈"}.mdi-arrow-down-bold-hexagon-outline:before{content:"󰁉"}.mdi-arrow-down-bold-outline:before{content:"󰦿"}.mdi-arrow-down-box:before{content:"󰛀"}.mdi-arrow-down-circle:before{content:"󰳛"}.mdi-arrow-down-circle-outline:before{content:"󰳜"}.mdi-arrow-down-drop-circle:before{content:"󰁊"}.mdi-arrow-down-drop-circle-outline:before{content:"󰁋"}.mdi-arrow-down-left:before{content:"󱞡"}.mdi-arrow-down-left-bold:before{content:"󱞢"}.mdi-arrow-down-right:before{content:"󱞣"}.mdi-arrow-down-right-bold:before{content:"󱞤"}.mdi-arrow-down-thick:before{content:"󰁆"}.mdi-arrow-down-thin:before{content:"󱦳"}.mdi-arrow-down-thin-circle-outline:before{content:"󱖙"}.mdi-arrow-expand:before{content:"󰘖"}.mdi-arrow-expand-all:before{content:"󰁌"}.mdi-arrow-expand-down:before{content:"󰞖"}.mdi-arrow-expand-horizontal:before{content:"󰡎"}.mdi-arrow-expand-left:before{content:"󰞗"}.mdi-arrow-expand-right:before{content:"󰞘"}.mdi-arrow-expand-up:before{content:"󰞙"}.mdi-arrow-expand-vertical:before{content:"󰡏"}.mdi-arrow-horizontal-lock:before{content:"󱅛"}.mdi-arrow-left:before{content:"󰁍"}.mdi-arrow-left-bold:before{content:"󰜱"}.mdi-arrow-left-bold-box:before{content:"󰜲"}.mdi-arrow-left-bold-box-outline:before{content:"󰜳"}.mdi-arrow-left-bold-circle:before{content:"󰁏"}.mdi-arrow-left-bold-circle-outline:before{content:"󰁐"}.mdi-arrow-left-bold-hexagon-outline:before{content:"󰁑"}.mdi-arrow-left-bold-outline:before{content:"󰧀"}.mdi-arrow-left-bottom:before{content:"󱞥"}.mdi-arrow-left-bottom-bold:before{content:"󱞦"}.mdi-arrow-left-box:before{content:"󰛁"}.mdi-arrow-left-circle:before{content:"󰳝"}.mdi-arrow-left-circle-outline:before{content:"󰳞"}.mdi-arrow-left-drop-circle:before{content:"󰁒"}.mdi-arrow-left-drop-circle-outline:before{content:"󰁓"}.mdi-arrow-left-right:before{content:"󰹳"}.mdi-arrow-left-right-bold:before{content:"󰹴"}.mdi-arrow-left-right-bold-outline:before{content:"󰧁"}.mdi-arrow-left-thick:before{content:"󰁎"}.mdi-arrow-left-thin:before{content:"󱦱"}.mdi-arrow-left-thin-circle-outline:before{content:"󱖚"}.mdi-arrow-left-top:before{content:"󱞧"}.mdi-arrow-left-top-bold:before{content:"󱞨"}.mdi-arrow-projectile:before{content:"󱡀"}.mdi-arrow-projectile-multiple:before{content:"󱠿"}.mdi-arrow-right:before{content:"󰁔"}.mdi-arrow-right-bold:before{content:"󰜴"}.mdi-arrow-right-bold-box:before{content:"󰜵"}.mdi-arrow-right-bold-box-outline:before{content:"󰜶"}.mdi-arrow-right-bold-circle:before{content:"󰁖"}.mdi-arrow-right-bold-circle-outline:before{content:"󰁗"}.mdi-arrow-right-bold-hexagon-outline:before{content:"󰁘"}.mdi-arrow-right-bold-outline:before{content:"󰧂"}.mdi-arrow-right-bottom:before{content:"󱞩"}.mdi-arrow-right-bottom-bold:before{content:"󱞪"}.mdi-arrow-right-box:before{content:"󰛂"}.mdi-arrow-right-circle:before{content:"󰳟"}.mdi-arrow-right-circle-outline:before{content:"󰳠"}.mdi-arrow-right-drop-circle:before{content:"󰁙"}.mdi-arrow-right-drop-circle-outline:before{content:"󰁚"}.mdi-arrow-right-thick:before{content:"󰁕"}.mdi-arrow-right-thin:before{content:"󱦰"}.mdi-arrow-right-thin-circle-outline:before{content:"󱖘"}.mdi-arrow-right-top:before{content:"󱞫"}.mdi-arrow-right-top-bold:before{content:"󱞬"}.mdi-arrow-split-horizontal:before{content:"󰤻"}.mdi-arrow-split-vertical:before{content:"󰤼"}.mdi-arrow-top-left:before{content:"󰁛"}.mdi-arrow-top-left-bold-box:before{content:"󱥨"}.mdi-arrow-top-left-bold-box-outline:before{content:"󱥩"}.mdi-arrow-top-left-bold-outline:before{content:"󰧃"}.mdi-arrow-top-left-bottom-right:before{content:"󰹵"}.mdi-arrow-top-left-bottom-right-bold:before{content:"󰹶"}.mdi-arrow-top-left-thick:before{content:"󰧄"}.mdi-arrow-top-left-thin:before{content:"󱦵"}.mdi-arrow-top-left-thin-circle-outline:before{content:"󱖓"}.mdi-arrow-top-right:before{content:"󰁜"}.mdi-arrow-top-right-bold-box:before{content:"󱥪"}.mdi-arrow-top-right-bold-box-outline:before{content:"󱥫"}.mdi-arrow-top-right-bold-outline:before{content:"󰧅"}.mdi-arrow-top-right-bottom-left:before{content:"󰹷"}.mdi-arrow-top-right-bottom-left-bold:before{content:"󰹸"}.mdi-arrow-top-right-thick:before{content:"󰧆"}.mdi-arrow-top-right-thin:before{content:"󱦴"}.mdi-arrow-top-right-thin-circle-outline:before{content:"󱖔"}.mdi-arrow-u-down-left:before{content:"󱞭"}.mdi-arrow-u-down-left-bold:before{content:"󱞮"}.mdi-arrow-u-down-right:before{content:"󱞯"}.mdi-arrow-u-down-right-bold:before{content:"󱞰"}.mdi-arrow-u-left-bottom:before{content:"󱞱"}.mdi-arrow-u-left-bottom-bold:before{content:"󱞲"}.mdi-arrow-u-left-top:before{content:"󱞳"}.mdi-arrow-u-left-top-bold:before{content:"󱞴"}.mdi-arrow-u-right-bottom:before{content:"󱞵"}.mdi-arrow-u-right-bottom-bold:before{content:"󱞶"}.mdi-arrow-u-right-top:before{content:"󱞷"}.mdi-arrow-u-right-top-bold:before{content:"󱞸"}.mdi-arrow-u-up-left:before{content:"󱞹"}.mdi-arrow-u-up-left-bold:before{content:"󱞺"}.mdi-arrow-u-up-right:before{content:"󱞻"}.mdi-arrow-u-up-right-bold:before{content:"󱞼"}.mdi-arrow-up:before{content:"󰁝"}.mdi-arrow-up-bold:before{content:"󰜷"}.mdi-arrow-up-bold-box:before{content:"󰜸"}.mdi-arrow-up-bold-box-outline:before{content:"󰜹"}.mdi-arrow-up-bold-circle:before{content:"󰁟"}.mdi-arrow-up-bold-circle-outline:before{content:"󰁠"}.mdi-arrow-up-bold-hexagon-outline:before{content:"󰁡"}.mdi-arrow-up-bold-outline:before{content:"󰧇"}.mdi-arrow-up-box:before{content:"󰛃"}.mdi-arrow-up-circle:before{content:"󰳡"}.mdi-arrow-up-circle-outline:before{content:"󰳢"}.mdi-arrow-up-down:before{content:"󰹹"}.mdi-arrow-up-down-bold:before{content:"󰹺"}.mdi-arrow-up-down-bold-outline:before{content:"󰧈"}.mdi-arrow-up-drop-circle:before{content:"󰁢"}.mdi-arrow-up-drop-circle-outline:before{content:"󰁣"}.mdi-arrow-up-left:before{content:"󱞽"}.mdi-arrow-up-left-bold:before{content:"󱞾"}.mdi-arrow-up-right:before{content:"󱞿"}.mdi-arrow-up-right-bold:before{content:"󱟀"}.mdi-arrow-up-thick:before{content:"󰁞"}.mdi-arrow-up-thin:before{content:"󱦲"}.mdi-arrow-up-thin-circle-outline:before{content:"󱖗"}.mdi-arrow-vertical-lock:before{content:"󱅜"}.mdi-artboard:before{content:"󱮚"}.mdi-artstation:before{content:"󰭛"}.mdi-aspect-ratio:before{content:"󰨤"}.mdi-assistant:before{content:"󰁤"}.mdi-asterisk:before{content:"󰛄"}.mdi-asterisk-circle-outline:before{content:"󱨧"}.mdi-at:before{content:"󰁥"}.mdi-atlassian:before{content:"󰠄"}.mdi-atm:before{content:"󰵇"}.mdi-atom:before{content:"󰝨"}.mdi-atom-variant:before{content:"󰹻"}.mdi-attachment:before{content:"󰁦"}.mdi-attachment-check:before{content:"󱫁"}.mdi-attachment-lock:before{content:"󱧄"}.mdi-attachment-minus:before{content:"󱫂"}.mdi-attachment-off:before{content:"󱫃"}.mdi-attachment-plus:before{content:"󱫄"}.mdi-attachment-remove:before{content:"󱫅"}.mdi-atv:before{content:"󱭰"}.mdi-audio-input-rca:before{content:"󱡫"}.mdi-audio-input-stereo-minijack:before{content:"󱡬"}.mdi-audio-input-xlr:before{content:"󱡭"}.mdi-audio-video:before{content:"󰤽"}.mdi-audio-video-off:before{content:"󱆶"}.mdi-augmented-reality:before{content:"󰡐"}.mdi-aurora:before{content:"󱮹"}.mdi-auto-download:before{content:"󱍾"}.mdi-auto-fix:before{content:"󰁨"}.mdi-auto-mode:before{content:"󱰠"}.mdi-auto-upload:before{content:"󰁩"}.mdi-autorenew:before{content:"󰁪"}.mdi-autorenew-off:before{content:"󱧧"}.mdi-av-timer:before{content:"󰁫"}.mdi-awning:before{content:"󱮇"}.mdi-awning-outline:before{content:"󱮈"}.mdi-aws:before{content:"󰸏"}.mdi-axe:before{content:"󰣈"}.mdi-axe-battle:before{content:"󱡂"}.mdi-axis:before{content:"󰵈"}.mdi-axis-arrow:before{content:"󰵉"}.mdi-axis-arrow-info:before{content:"󱐎"}.mdi-axis-arrow-lock:before{content:"󰵊"}.mdi-axis-lock:before{content:"󰵋"}.mdi-axis-x-arrow:before{content:"󰵌"}.mdi-axis-x-arrow-lock:before{content:"󰵍"}.mdi-axis-x-rotate-clockwise:before{content:"󰵎"}.mdi-axis-x-rotate-counterclockwise:before{content:"󰵏"}.mdi-axis-x-y-arrow-lock:before{content:"󰵐"}.mdi-axis-y-arrow:before{content:"󰵑"}.mdi-axis-y-arrow-lock:before{content:"󰵒"}.mdi-axis-y-rotate-clockwise:before{content:"󰵓"}.mdi-axis-y-rotate-counterclockwise:before{content:"󰵔"}.mdi-axis-z-arrow:before{content:"󰵕"}.mdi-axis-z-arrow-lock:before{content:"󰵖"}.mdi-axis-z-rotate-clockwise:before{content:"󰵗"}.mdi-axis-z-rotate-counterclockwise:before{content:"󰵘"}.mdi-babel:before{content:"󰨥"}.mdi-baby:before{content:"󰁬"}.mdi-baby-bottle:before{content:"󰼹"}.mdi-baby-bottle-outline:before{content:"󰼺"}.mdi-baby-buggy:before{content:"󱏠"}.mdi-baby-buggy-off:before{content:"󱫳"}.mdi-baby-carriage:before{content:"󰚏"}.mdi-baby-carriage-off:before{content:"󰾠"}.mdi-baby-face:before{content:"󰹼"}.mdi-baby-face-outline:before{content:"󰹽"}.mdi-backburger:before{content:"󰁭"}.mdi-backspace:before{content:"󰁮"}.mdi-backspace-outline:before{content:"󰭜"}.mdi-backspace-reverse:before{content:"󰹾"}.mdi-backspace-reverse-outline:before{content:"󰹿"}.mdi-backup-restore:before{content:"󰁯"}.mdi-bacteria:before{content:"󰻕"}.mdi-bacteria-outline:before{content:"󰻖"}.mdi-badge-account:before{content:"󰶧"}.mdi-badge-account-alert:before{content:"󰶨"}.mdi-badge-account-alert-outline:before{content:"󰶩"}.mdi-badge-account-horizontal:before{content:"󰸍"}.mdi-badge-account-horizontal-outline:before{content:"󰸎"}.mdi-badge-account-outline:before{content:"󰶪"}.mdi-badminton:before{content:"󰡑"}.mdi-bag-carry-on:before{content:"󰼻"}.mdi-bag-carry-on-check:before{content:"󰵥"}.mdi-bag-carry-on-off:before{content:"󰼼"}.mdi-bag-checked:before{content:"󰼽"}.mdi-bag-personal:before{content:"󰸐"}.mdi-bag-personal-off:before{content:"󰸑"}.mdi-bag-personal-off-outline:before{content:"󰸒"}.mdi-bag-personal-outline:before{content:"󰸓"}.mdi-bag-personal-tag:before{content:"󱬌"}.mdi-bag-personal-tag-outline:before{content:"󱬍"}.mdi-bag-suitcase:before{content:"󱖋"}.mdi-bag-suitcase-off:before{content:"󱖍"}.mdi-bag-suitcase-off-outline:before{content:"󱖎"}.mdi-bag-suitcase-outline:before{content:"󱖌"}.mdi-baguette:before{content:"󰼾"}.mdi-balcony:before{content:"󱠗"}.mdi-balloon:before{content:"󰨦"}.mdi-ballot:before{content:"󰧉"}.mdi-ballot-outline:before{content:"󰧊"}.mdi-ballot-recount:before{content:"󰰹"}.mdi-ballot-recount-outline:before{content:"󰰺"}.mdi-bandage:before{content:"󰶯"}.mdi-bank:before{content:"󰁰"}.mdi-bank-check:before{content:"󱙕"}.mdi-bank-circle:before{content:"󱰃"}.mdi-bank-circle-outline:before{content:"󱰄"}.mdi-bank-minus:before{content:"󰶰"}.mdi-bank-off:before{content:"󱙖"}.mdi-bank-off-outline:before{content:"󱙗"}.mdi-bank-outline:before{content:"󰺀"}.mdi-bank-plus:before{content:"󰶱"}.mdi-bank-remove:before{content:"󰶲"}.mdi-bank-transfer:before{content:"󰨧"}.mdi-bank-transfer-in:before{content:"󰨨"}.mdi-bank-transfer-out:before{content:"󰨩"}.mdi-barcode:before{content:"󰁱"}.mdi-barcode-off:before{content:"󱈶"}.mdi-barcode-scan:before{content:"󰁲"}.mdi-barley:before{content:"󰁳"}.mdi-barley-off:before{content:"󰭝"}.mdi-barn:before{content:"󰭞"}.mdi-barrel:before{content:"󰁴"}.mdi-barrel-outline:before{content:"󱨨"}.mdi-baseball:before{content:"󰡒"}.mdi-baseball-bat:before{content:"󰡓"}.mdi-baseball-diamond:before{content:"󱗬"}.mdi-baseball-diamond-outline:before{content:"󱗭"}.mdi-baseball-outline:before{content:"󱱚"}.mdi-bash:before{content:"󱆃"}.mdi-basket:before{content:"󰁶"}.mdi-basket-check:before{content:"󱣥"}.mdi-basket-check-outline:before{content:"󱣦"}.mdi-basket-fill:before{content:"󰁷"}.mdi-basket-minus:before{content:"󱔣"}.mdi-basket-minus-outline:before{content:"󱔤"}.mdi-basket-off:before{content:"󱔥"}.mdi-basket-off-outline:before{content:"󱔦"}.mdi-basket-outline:before{content:"󱆁"}.mdi-basket-plus:before{content:"󱔧"}.mdi-basket-plus-outline:before{content:"󱔨"}.mdi-basket-remove:before{content:"󱔩"}.mdi-basket-remove-outline:before{content:"󱔪"}.mdi-basket-unfill:before{content:"󰁸"}.mdi-basketball:before{content:"󰠆"}.mdi-basketball-hoop:before{content:"󰰻"}.mdi-basketball-hoop-outline:before{content:"󰰼"}.mdi-bat:before{content:"󰭟"}.mdi-bathtub:before{content:"󱠘"}.mdi-bathtub-outline:before{content:"󱠙"}.mdi-battery:before{content:"󰁹"}.mdi-battery-10:before{content:"󰁺"}.mdi-battery-10-bluetooth:before{content:"󰤾"}.mdi-battery-20:before{content:"󰁻"}.mdi-battery-20-bluetooth:before{content:"󰤿"}.mdi-battery-30:before{content:"󰁼"}.mdi-battery-30-bluetooth:before{content:"󰥀"}.mdi-battery-40:before{content:"󰁽"}.mdi-battery-40-bluetooth:before{content:"󰥁"}.mdi-battery-50:before{content:"󰁾"}.mdi-battery-50-bluetooth:before{content:"󰥂"}.mdi-battery-60:before{content:"󰁿"}.mdi-battery-60-bluetooth:before{content:"󰥃"}.mdi-battery-70:before{content:"󰂀"}.mdi-battery-70-bluetooth:before{content:"󰥄"}.mdi-battery-80:before{content:"󰂁"}.mdi-battery-80-bluetooth:before{content:"󰥅"}.mdi-battery-90:before{content:"󰂂"}.mdi-battery-90-bluetooth:before{content:"󰥆"}.mdi-battery-alert:before{content:"󰂃"}.mdi-battery-alert-bluetooth:before{content:"󰥇"}.mdi-battery-alert-variant:before{content:"󱃌"}.mdi-battery-alert-variant-outline:before{content:"󱃍"}.mdi-battery-arrow-down:before{content:"󱟞"}.mdi-battery-arrow-down-outline:before{content:"󱟟"}.mdi-battery-arrow-up:before{content:"󱟠"}.mdi-battery-arrow-up-outline:before{content:"󱟡"}.mdi-battery-bluetooth:before{content:"󰥈"}.mdi-battery-bluetooth-variant:before{content:"󰥉"}.mdi-battery-charging:before{content:"󰂄"}.mdi-battery-charging-10:before{content:"󰢜"}.mdi-battery-charging-100:before{content:"󰂅"}.mdi-battery-charging-20:before{content:"󰂆"}.mdi-battery-charging-30:before{content:"󰂇"}.mdi-battery-charging-40:before{content:"󰂈"}.mdi-battery-charging-50:before{content:"󰢝"}.mdi-battery-charging-60:before{content:"󰂉"}.mdi-battery-charging-70:before{content:"󰢞"}.mdi-battery-charging-80:before{content:"󰂊"}.mdi-battery-charging-90:before{content:"󰂋"}.mdi-battery-charging-high:before{content:"󱊦"}.mdi-battery-charging-low:before{content:"󱊤"}.mdi-battery-charging-medium:before{content:"󱊥"}.mdi-battery-charging-outline:before{content:"󰢟"}.mdi-battery-charging-wireless:before{content:"󰠇"}.mdi-battery-charging-wireless-10:before{content:"󰠈"}.mdi-battery-charging-wireless-20:before{content:"󰠉"}.mdi-battery-charging-wireless-30:before{content:"󰠊"}.mdi-battery-charging-wireless-40:before{content:"󰠋"}.mdi-battery-charging-wireless-50:before{content:"󰠌"}.mdi-battery-charging-wireless-60:before{content:"󰠍"}.mdi-battery-charging-wireless-70:before{content:"󰠎"}.mdi-battery-charging-wireless-80:before{content:"󰠏"}.mdi-battery-charging-wireless-90:before{content:"󰠐"}.mdi-battery-charging-wireless-alert:before{content:"󰠑"}.mdi-battery-charging-wireless-outline:before{content:"󰠒"}.mdi-battery-check:before{content:"󱟢"}.mdi-battery-check-outline:before{content:"󱟣"}.mdi-battery-clock:before{content:"󱧥"}.mdi-battery-clock-outline:before{content:"󱧦"}.mdi-battery-heart:before{content:"󱈏"}.mdi-battery-heart-outline:before{content:"󱈐"}.mdi-battery-heart-variant:before{content:"󱈑"}.mdi-battery-high:before{content:"󱊣"}.mdi-battery-lock:before{content:"󱞜"}.mdi-battery-lock-open:before{content:"󱞝"}.mdi-battery-low:before{content:"󱊡"}.mdi-battery-medium:before{content:"󱊢"}.mdi-battery-minus:before{content:"󱟤"}.mdi-battery-minus-outline:before{content:"󱟥"}.mdi-battery-minus-variant:before{content:"󰂌"}.mdi-battery-negative:before{content:"󰂍"}.mdi-battery-off:before{content:"󱉝"}.mdi-battery-off-outline:before{content:"󱉞"}.mdi-battery-outline:before{content:"󰂎"}.mdi-battery-plus:before{content:"󱟦"}.mdi-battery-plus-outline:before{content:"󱟧"}.mdi-battery-plus-variant:before{content:"󰂏"}.mdi-battery-positive:before{content:"󰂐"}.mdi-battery-remove:before{content:"󱟨"}.mdi-battery-remove-outline:before{content:"󱟩"}.mdi-battery-sync:before{content:"󱠴"}.mdi-battery-sync-outline:before{content:"󱠵"}.mdi-battery-unknown:before{content:"󰂑"}.mdi-battery-unknown-bluetooth:before{content:"󰥊"}.mdi-beach:before{content:"󰂒"}.mdi-beaker:before{content:"󰳪"}.mdi-beaker-alert:before{content:"󱈩"}.mdi-beaker-alert-outline:before{content:"󱈪"}.mdi-beaker-check:before{content:"󱈫"}.mdi-beaker-check-outline:before{content:"󱈬"}.mdi-beaker-minus:before{content:"󱈭"}.mdi-beaker-minus-outline:before{content:"󱈮"}.mdi-beaker-outline:before{content:"󰚐"}.mdi-beaker-plus:before{content:"󱈯"}.mdi-beaker-plus-outline:before{content:"󱈰"}.mdi-beaker-question:before{content:"󱈱"}.mdi-beaker-question-outline:before{content:"󱈲"}.mdi-beaker-remove:before{content:"󱈳"}.mdi-beaker-remove-outline:before{content:"󱈴"}.mdi-bed:before{content:"󰋣"}.mdi-bed-clock:before{content:"󱮔"}.mdi-bed-double:before{content:"󰿔"}.mdi-bed-double-outline:before{content:"󰿓"}.mdi-bed-empty:before{content:"󰢠"}.mdi-bed-king:before{content:"󰿒"}.mdi-bed-king-outline:before{content:"󰿑"}.mdi-bed-outline:before{content:"󰂙"}.mdi-bed-queen:before{content:"󰿐"}.mdi-bed-queen-outline:before{content:"󰿛"}.mdi-bed-single:before{content:"󱁭"}.mdi-bed-single-outline:before{content:"󱁮"}.mdi-bee:before{content:"󰾡"}.mdi-bee-flower:before{content:"󰾢"}.mdi-beehive-off-outline:before{content:"󱏭"}.mdi-beehive-outline:before{content:"󱃎"}.mdi-beekeeper:before{content:"󱓢"}.mdi-beer:before{content:"󰂘"}.mdi-beer-outline:before{content:"󱌌"}.mdi-bell:before{content:"󰂚"}.mdi-bell-alert:before{content:"󰵙"}.mdi-bell-alert-outline:before{content:"󰺁"}.mdi-bell-badge:before{content:"󱅫"}.mdi-bell-badge-outline:before{content:"󰅸"}.mdi-bell-cancel:before{content:"󱏧"}.mdi-bell-cancel-outline:before{content:"󱏨"}.mdi-bell-check:before{content:"󱇥"}.mdi-bell-check-outline:before{content:"󱇦"}.mdi-bell-circle:before{content:"󰵚"}.mdi-bell-circle-outline:before{content:"󰵛"}.mdi-bell-cog:before{content:"󱨩"}.mdi-bell-cog-outline:before{content:"󱨪"}.mdi-bell-minus:before{content:"󱏩"}.mdi-bell-minus-outline:before{content:"󱏪"}.mdi-bell-off:before{content:"󰂛"}.mdi-bell-off-outline:before{content:"󰪑"}.mdi-bell-outline:before{content:"󰂜"}.mdi-bell-plus:before{content:"󰂝"}.mdi-bell-plus-outline:before{content:"󰪒"}.mdi-bell-remove:before{content:"󱏫"}.mdi-bell-remove-outline:before{content:"󱏬"}.mdi-bell-ring:before{content:"󰂞"}.mdi-bell-ring-outline:before{content:"󰂟"}.mdi-bell-sleep:before{content:"󰂠"}.mdi-bell-sleep-outline:before{content:"󰪓"}.mdi-bench:before{content:"󱰡"}.mdi-bench-back:before{content:"󱰢"}.mdi-beta:before{content:"󰂡"}.mdi-betamax:before{content:"󰧋"}.mdi-biathlon:before{content:"󰸔"}.mdi-bicycle:before{content:"󱂜"}.mdi-bicycle-basket:before{content:"󱈵"}.mdi-bicycle-cargo:before{content:"󱢜"}.mdi-bicycle-electric:before{content:"󱖴"}.mdi-bicycle-penny-farthing:before{content:"󱗩"}.mdi-bike:before{content:"󰂣"}.mdi-bike-fast:before{content:"󱄟"}.mdi-bike-pedal:before{content:"󱰣"}.mdi-bike-pedal-clipless:before{content:"󱰤"}.mdi-bike-pedal-mountain:before{content:"󱰥"}.mdi-billboard:before{content:"󱀐"}.mdi-billiards:before{content:"󰭡"}.mdi-billiards-rack:before{content:"󰭢"}.mdi-binoculars:before{content:"󰂥"}.mdi-bio:before{content:"󰂦"}.mdi-biohazard:before{content:"󰂧"}.mdi-bird:before{content:"󱗆"}.mdi-bitbucket:before{content:"󰂨"}.mdi-bitcoin:before{content:"󰠓"}.mdi-black-mesa:before{content:"󰂩"}.mdi-blender:before{content:"󰳫"}.mdi-blender-outline:before{content:"󱠚"}.mdi-blender-software:before{content:"󰂫"}.mdi-blinds:before{content:"󰂬"}.mdi-blinds-horizontal:before{content:"󱨫"}.mdi-blinds-horizontal-closed:before{content:"󱨬"}.mdi-blinds-open:before{content:"󱀑"}.mdi-blinds-vertical:before{content:"󱨭"}.mdi-blinds-vertical-closed:before{content:"󱨮"}.mdi-block-helper:before{content:"󰂭"}.mdi-blood-bag:before{content:"󰳬"}.mdi-bluetooth:before{content:"󰂯"}.mdi-bluetooth-audio:before{content:"󰂰"}.mdi-bluetooth-connect:before{content:"󰂱"}.mdi-bluetooth-off:before{content:"󰂲"}.mdi-bluetooth-settings:before{content:"󰂳"}.mdi-bluetooth-transfer:before{content:"󰂴"}.mdi-blur:before{content:"󰂵"}.mdi-blur-linear:before{content:"󰂶"}.mdi-blur-off:before{content:"󰂷"}.mdi-blur-radial:before{content:"󰂸"}.mdi-bolt:before{content:"󰶳"}.mdi-bomb:before{content:"󰚑"}.mdi-bomb-off:before{content:"󰛅"}.mdi-bone:before{content:"󰂹"}.mdi-bone-off:before{content:"󱧠"}.mdi-book:before{content:"󰂺"}.mdi-book-account:before{content:"󱎭"}.mdi-book-account-outline:before{content:"󱎮"}.mdi-book-alert:before{content:"󱙼"}.mdi-book-alert-outline:before{content:"󱙽"}.mdi-book-alphabet:before{content:"󰘝"}.mdi-book-arrow-down:before{content:"󱙾"}.mdi-book-arrow-down-outline:before{content:"󱙿"}.mdi-book-arrow-left:before{content:"󱚀"}.mdi-book-arrow-left-outline:before{content:"󱚁"}.mdi-book-arrow-right:before{content:"󱚂"}.mdi-book-arrow-right-outline:before{content:"󱚃"}.mdi-book-arrow-up:before{content:"󱚄"}.mdi-book-arrow-up-outline:before{content:"󱚅"}.mdi-book-cancel:before{content:"󱚆"}.mdi-book-cancel-outline:before{content:"󱚇"}.mdi-book-check:before{content:"󱓳"}.mdi-book-check-outline:before{content:"󱓴"}.mdi-book-clock:before{content:"󱚈"}.mdi-book-clock-outline:before{content:"󱚉"}.mdi-book-cog:before{content:"󱚊"}.mdi-book-cog-outline:before{content:"󱚋"}.mdi-book-cross:before{content:"󰂢"}.mdi-book-edit:before{content:"󱚌"}.mdi-book-edit-outline:before{content:"󱚍"}.mdi-book-education:before{content:"󱛉"}.mdi-book-education-outline:before{content:"󱛊"}.mdi-book-heart:before{content:"󱨝"}.mdi-book-heart-outline:before{content:"󱨞"}.mdi-book-information-variant:before{content:"󱁯"}.mdi-book-lock:before{content:"󰞚"}.mdi-book-lock-open:before{content:"󰞛"}.mdi-book-lock-open-outline:before{content:"󱚎"}.mdi-book-lock-outline:before{content:"󱚏"}.mdi-book-marker:before{content:"󱚐"}.mdi-book-marker-outline:before{content:"󱚑"}.mdi-book-minus:before{content:"󰗙"}.mdi-book-minus-multiple:before{content:"󰪔"}.mdi-book-minus-multiple-outline:before{content:"󰤋"}.mdi-book-minus-outline:before{content:"󱚒"}.mdi-book-multiple:before{content:"󰂻"}.mdi-book-multiple-outline:before{content:"󰐶"}.mdi-book-music:before{content:"󰁧"}.mdi-book-music-outline:before{content:"󱚓"}.mdi-book-off:before{content:"󱚔"}.mdi-book-off-outline:before{content:"󱚕"}.mdi-book-open:before{content:"󰂽"}.mdi-book-open-blank-variant:before{content:"󰂾"}.mdi-book-open-outline:before{content:"󰭣"}.mdi-book-open-page-variant:before{content:"󰗚"}.mdi-book-open-page-variant-outline:before{content:"󱗖"}.mdi-book-open-variant:before{content:"󱓷"}.mdi-book-outline:before{content:"󰭤"}.mdi-book-play:before{content:"󰺂"}.mdi-book-play-outline:before{content:"󰺃"}.mdi-book-plus:before{content:"󰗛"}.mdi-book-plus-multiple:before{content:"󰪕"}.mdi-book-plus-multiple-outline:before{content:"󰫞"}.mdi-book-plus-outline:before{content:"󱚖"}.mdi-book-refresh:before{content:"󱚗"}.mdi-book-refresh-outline:before{content:"󱚘"}.mdi-book-remove:before{content:"󰪗"}.mdi-book-remove-multiple:before{content:"󰪖"}.mdi-book-remove-multiple-outline:before{content:"󰓊"}.mdi-book-remove-outline:before{content:"󱚙"}.mdi-book-search:before{content:"󰺄"}.mdi-book-search-outline:before{content:"󰺅"}.mdi-book-settings:before{content:"󱚚"}.mdi-book-settings-outline:before{content:"󱚛"}.mdi-book-sync:before{content:"󱚜"}.mdi-book-sync-outline:before{content:"󱛈"}.mdi-book-variant:before{content:"󰂿"}.mdi-bookmark:before{content:"󰃀"}.mdi-bookmark-box:before{content:"󱭵"}.mdi-bookmark-box-multiple:before{content:"󱥬"}.mdi-bookmark-box-multiple-outline:before{content:"󱥭"}.mdi-bookmark-box-outline:before{content:"󱭶"}.mdi-bookmark-check:before{content:"󰃁"}.mdi-bookmark-check-outline:before{content:"󱍻"}.mdi-bookmark-minus:before{content:"󰧌"}.mdi-bookmark-minus-outline:before{content:"󰧍"}.mdi-bookmark-multiple:before{content:"󰸕"}.mdi-bookmark-multiple-outline:before{content:"󰸖"}.mdi-bookmark-music:before{content:"󰃂"}.mdi-bookmark-music-outline:before{content:"󱍹"}.mdi-bookmark-off:before{content:"󰧎"}.mdi-bookmark-off-outline:before{content:"󰧏"}.mdi-bookmark-outline:before{content:"󰃃"}.mdi-bookmark-plus:before{content:"󰃅"}.mdi-bookmark-plus-outline:before{content:"󰃄"}.mdi-bookmark-remove:before{content:"󰃆"}.mdi-bookmark-remove-outline:before{content:"󱍺"}.mdi-bookshelf:before{content:"󱉟"}.mdi-boom-gate:before{content:"󰺆"}.mdi-boom-gate-alert:before{content:"󰺇"}.mdi-boom-gate-alert-outline:before{content:"󰺈"}.mdi-boom-gate-arrow-down:before{content:"󰺉"}.mdi-boom-gate-arrow-down-outline:before{content:"󰺊"}.mdi-boom-gate-arrow-up:before{content:"󰺌"}.mdi-boom-gate-arrow-up-outline:before{content:"󰺍"}.mdi-boom-gate-outline:before{content:"󰺋"}.mdi-boom-gate-up:before{content:"󱟹"}.mdi-boom-gate-up-outline:before{content:"󱟺"}.mdi-boombox:before{content:"󰗜"}.mdi-boomerang:before{content:"󱃏"}.mdi-bootstrap:before{content:"󰛆"}.mdi-border-all:before{content:"󰃇"}.mdi-border-all-variant:before{content:"󰢡"}.mdi-border-bottom:before{content:"󰃈"}.mdi-border-bottom-variant:before{content:"󰢢"}.mdi-border-color:before{content:"󰃉"}.mdi-border-horizontal:before{content:"󰃊"}.mdi-border-inside:before{content:"󰃋"}.mdi-border-left:before{content:"󰃌"}.mdi-border-left-variant:before{content:"󰢣"}.mdi-border-none:before{content:"󰃍"}.mdi-border-none-variant:before{content:"󰢤"}.mdi-border-outside:before{content:"󰃎"}.mdi-border-radius:before{content:"󱫴"}.mdi-border-right:before{content:"󰃏"}.mdi-border-right-variant:before{content:"󰢥"}.mdi-border-style:before{content:"󰃐"}.mdi-border-top:before{content:"󰃑"}.mdi-border-top-variant:before{content:"󰢦"}.mdi-border-vertical:before{content:"󰃒"}.mdi-bottle-soda:before{content:"󱁰"}.mdi-bottle-soda-classic:before{content:"󱁱"}.mdi-bottle-soda-classic-outline:before{content:"󱍣"}.mdi-bottle-soda-outline:before{content:"󱁲"}.mdi-bottle-tonic:before{content:"󱄮"}.mdi-bottle-tonic-outline:before{content:"󱄯"}.mdi-bottle-tonic-plus:before{content:"󱄰"}.mdi-bottle-tonic-plus-outline:before{content:"󱄱"}.mdi-bottle-tonic-skull:before{content:"󱄲"}.mdi-bottle-tonic-skull-outline:before{content:"󱄳"}.mdi-bottle-wine:before{content:"󰡔"}.mdi-bottle-wine-outline:before{content:"󱌐"}.mdi-bow-arrow:before{content:"󱡁"}.mdi-bow-tie:before{content:"󰙸"}.mdi-bowl:before{content:"󰊎"}.mdi-bowl-mix:before{content:"󰘗"}.mdi-bowl-mix-outline:before{content:"󰋤"}.mdi-bowl-outline:before{content:"󰊩"}.mdi-bowling:before{content:"󰃓"}.mdi-box:before{content:"󰃔"}.mdi-box-cutter:before{content:"󰃕"}.mdi-box-cutter-off:before{content:"󰭊"}.mdi-box-shadow:before{content:"󰘷"}.mdi-boxing-glove:before{content:"󰭥"}.mdi-braille:before{content:"󰧐"}.mdi-brain:before{content:"󰧑"}.mdi-bread-slice:before{content:"󰳮"}.mdi-bread-slice-outline:before{content:"󰳯"}.mdi-bridge:before{content:"󰘘"}.mdi-briefcase:before{content:"󰃖"}.mdi-briefcase-account:before{content:"󰳰"}.mdi-briefcase-account-outline:before{content:"󰳱"}.mdi-briefcase-arrow-left-right:before{content:"󱪍"}.mdi-briefcase-arrow-left-right-outline:before{content:"󱪎"}.mdi-briefcase-arrow-up-down:before{content:"󱪏"}.mdi-briefcase-arrow-up-down-outline:before{content:"󱪐"}.mdi-briefcase-check:before{content:"󰃗"}.mdi-briefcase-check-outline:before{content:"󱌞"}.mdi-briefcase-clock:before{content:"󱃐"}.mdi-briefcase-clock-outline:before{content:"󱃑"}.mdi-briefcase-download:before{content:"󰃘"}.mdi-briefcase-download-outline:before{content:"󰰽"}.mdi-briefcase-edit:before{content:"󰪘"}.mdi-briefcase-edit-outline:before{content:"󰰾"}.mdi-briefcase-eye:before{content:"󱟙"}.mdi-briefcase-eye-outline:before{content:"󱟚"}.mdi-briefcase-minus:before{content:"󰨪"}.mdi-briefcase-minus-outline:before{content:"󰰿"}.mdi-briefcase-off:before{content:"󱙘"}.mdi-briefcase-off-outline:before{content:"󱙙"}.mdi-briefcase-outline:before{content:"󰠔"}.mdi-briefcase-plus:before{content:"󰨫"}.mdi-briefcase-plus-outline:before{content:"󰱀"}.mdi-briefcase-remove:before{content:"󰨬"}.mdi-briefcase-remove-outline:before{content:"󰱁"}.mdi-briefcase-search:before{content:"󰨭"}.mdi-briefcase-search-outline:before{content:"󰱂"}.mdi-briefcase-upload:before{content:"󰃙"}.mdi-briefcase-upload-outline:before{content:"󰱃"}.mdi-briefcase-variant:before{content:"󱒔"}.mdi-briefcase-variant-off:before{content:"󱙚"}.mdi-briefcase-variant-off-outline:before{content:"󱙛"}.mdi-briefcase-variant-outline:before{content:"󱒕"}.mdi-brightness-1:before{content:"󰃚"}.mdi-brightness-2:before{content:"󰃛"}.mdi-brightness-3:before{content:"󰃜"}.mdi-brightness-4:before{content:"󰃝"}.mdi-brightness-5:before{content:"󰃞"}.mdi-brightness-6:before{content:"󰃟"}.mdi-brightness-7:before{content:"󰃠"}.mdi-brightness-auto:before{content:"󰃡"}.mdi-brightness-percent:before{content:"󰳲"}.mdi-broadcast:before{content:"󱜠"}.mdi-broadcast-off:before{content:"󱜡"}.mdi-broom:before{content:"󰃢"}.mdi-brush:before{content:"󰃣"}.mdi-brush-off:before{content:"󱝱"}.mdi-brush-outline:before{content:"󱨍"}.mdi-brush-variant:before{content:"󱠓"}.mdi-bucket:before{content:"󱐕"}.mdi-bucket-outline:before{content:"󱐖"}.mdi-buffet:before{content:"󰕸"}.mdi-bug:before{content:"󰃤"}.mdi-bug-check:before{content:"󰨮"}.mdi-bug-check-outline:before{content:"󰨯"}.mdi-bug-outline:before{content:"󰨰"}.mdi-bug-pause:before{content:"󱫵"}.mdi-bug-pause-outline:before{content:"󱫶"}.mdi-bug-play:before{content:"󱫷"}.mdi-bug-play-outline:before{content:"󱫸"}.mdi-bug-stop:before{content:"󱫹"}.mdi-bug-stop-outline:before{content:"󱫺"}.mdi-bugle:before{content:"󰶴"}.mdi-bulkhead-light:before{content:"󱨯"}.mdi-bulldozer:before{content:"󰬢"}.mdi-bullet:before{content:"󰳳"}.mdi-bulletin-board:before{content:"󰃥"}.mdi-bullhorn:before{content:"󰃦"}.mdi-bullhorn-outline:before{content:"󰬣"}.mdi-bullhorn-variant:before{content:"󱥮"}.mdi-bullhorn-variant-outline:before{content:"󱥯"}.mdi-bullseye:before{content:"󰗝"}.mdi-bullseye-arrow:before{content:"󰣉"}.mdi-bulma:before{content:"󱋧"}.mdi-bunk-bed:before{content:"󱌂"}.mdi-bunk-bed-outline:before{content:"󰂗"}.mdi-bus:before{content:"󰃧"}.mdi-bus-alert:before{content:"󰪙"}.mdi-bus-articulated-end:before{content:"󰞜"}.mdi-bus-articulated-front:before{content:"󰞝"}.mdi-bus-clock:before{content:"󰣊"}.mdi-bus-double-decker:before{content:"󰞞"}.mdi-bus-electric:before{content:"󱤝"}.mdi-bus-marker:before{content:"󱈒"}.mdi-bus-multiple:before{content:"󰼿"}.mdi-bus-school:before{content:"󰞟"}.mdi-bus-side:before{content:"󰞠"}.mdi-bus-stop:before{content:"󱀒"}.mdi-bus-stop-covered:before{content:"󱀓"}.mdi-bus-stop-uncovered:before{content:"󱀔"}.mdi-butterfly:before{content:"󱖉"}.mdi-butterfly-outline:before{content:"󱖊"}.mdi-button-cursor:before{content:"󱭏"}.mdi-button-pointer:before{content:"󱭐"}.mdi-cabin-a-frame:before{content:"󱢌"}.mdi-cable-data:before{content:"󱎔"}.mdi-cached:before{content:"󰃨"}.mdi-cactus:before{content:"󰶵"}.mdi-cake:before{content:"󰃩"}.mdi-cake-layered:before{content:"󰃪"}.mdi-cake-variant:before{content:"󰃫"}.mdi-cake-variant-outline:before{content:"󱟰"}.mdi-calculator:before{content:"󰃬"}.mdi-calculator-variant:before{content:"󰪚"}.mdi-calculator-variant-outline:before{content:"󱖦"}.mdi-calendar:before{content:"󰃭"}.mdi-calendar-account:before{content:"󰻗"}.mdi-calendar-account-outline:before{content:"󰻘"}.mdi-calendar-alert:before{content:"󰨱"}.mdi-calendar-alert-outline:before{content:"󱭢"}.mdi-calendar-arrow-left:before{content:"󱄴"}.mdi-calendar-arrow-right:before{content:"󱄵"}.mdi-calendar-badge:before{content:"󱮝"}.mdi-calendar-badge-outline:before{content:"󱮞"}.mdi-calendar-blank:before{content:"󰃮"}.mdi-calendar-blank-multiple:before{content:"󱁳"}.mdi-calendar-blank-outline:before{content:"󰭦"}.mdi-calendar-check:before{content:"󰃯"}.mdi-calendar-check-outline:before{content:"󰱄"}.mdi-calendar-clock:before{content:"󰃰"}.mdi-calendar-clock-outline:before{content:"󱛡"}.mdi-calendar-collapse-horizontal:before{content:"󱢝"}.mdi-calendar-collapse-horizontal-outline:before{content:"󱭣"}.mdi-calendar-cursor:before{content:"󱕻"}.mdi-calendar-cursor-outline:before{content:"󱭤"}.mdi-calendar-edit:before{content:"󰢧"}.mdi-calendar-edit-outline:before{content:"󱭥"}.mdi-calendar-end:before{content:"󱙬"}.mdi-calendar-end-outline:before{content:"󱭦"}.mdi-calendar-expand-horizontal:before{content:"󱢞"}.mdi-calendar-expand-horizontal-outline:before{content:"󱭧"}.mdi-calendar-export:before{content:"󰬤"}.mdi-calendar-export-outline:before{content:"󱭨"}.mdi-calendar-filter:before{content:"󱨲"}.mdi-calendar-filter-outline:before{content:"󱨳"}.mdi-calendar-heart:before{content:"󰧒"}.mdi-calendar-heart-outline:before{content:"󱭩"}.mdi-calendar-import:before{content:"󰬥"}.mdi-calendar-import-outline:before{content:"󱭪"}.mdi-calendar-lock:before{content:"󱙁"}.mdi-calendar-lock-open:before{content:"󱭛"}.mdi-calendar-lock-open-outline:before{content:"󱭜"}.mdi-calendar-lock-outline:before{content:"󱙂"}.mdi-calendar-minus:before{content:"󰵜"}.mdi-calendar-minus-outline:before{content:"󱭫"}.mdi-calendar-month:before{content:"󰸗"}.mdi-calendar-month-outline:before{content:"󰸘"}.mdi-calendar-multiple:before{content:"󰃱"}.mdi-calendar-multiple-check:before{content:"󰃲"}.mdi-calendar-multiselect:before{content:"󰨲"}.mdi-calendar-multiselect-outline:before{content:"󱭕"}.mdi-calendar-outline:before{content:"󰭧"}.mdi-calendar-plus:before{content:"󰃳"}.mdi-calendar-plus-outline:before{content:"󱭬"}.mdi-calendar-question:before{content:"󰚒"}.mdi-calendar-question-outline:before{content:"󱭭"}.mdi-calendar-range:before{content:"󰙹"}.mdi-calendar-range-outline:before{content:"󰭨"}.mdi-calendar-refresh:before{content:"󰇡"}.mdi-calendar-refresh-outline:before{content:"󰈃"}.mdi-calendar-remove:before{content:"󰃴"}.mdi-calendar-remove-outline:before{content:"󰱅"}.mdi-calendar-search:before{content:"󰥌"}.mdi-calendar-search-outline:before{content:"󱭮"}.mdi-calendar-star:before{content:"󰧓"}.mdi-calendar-star-four-points:before{content:"󱰟"}.mdi-calendar-star-outline:before{content:"󱭓"}.mdi-calendar-start:before{content:"󱙭"}.mdi-calendar-start-outline:before{content:"󱭯"}.mdi-calendar-sync:before{content:"󰺎"}.mdi-calendar-sync-outline:before{content:"󰺏"}.mdi-calendar-text:before{content:"󰃵"}.mdi-calendar-text-outline:before{content:"󰱆"}.mdi-calendar-today:before{content:"󰃶"}.mdi-calendar-today-outline:before{content:"󱨰"}.mdi-calendar-week:before{content:"󰨳"}.mdi-calendar-week-begin:before{content:"󰨴"}.mdi-calendar-week-begin-outline:before{content:"󱨱"}.mdi-calendar-week-outline:before{content:"󱨴"}.mdi-calendar-weekend:before{content:"󰻙"}.mdi-calendar-weekend-outline:before{content:"󰻚"}.mdi-call-made:before{content:"󰃷"}.mdi-call-merge:before{content:"󰃸"}.mdi-call-missed:before{content:"󰃹"}.mdi-call-received:before{content:"󰃺"}.mdi-call-split:before{content:"󰃻"}.mdi-camcorder:before{content:"󰃼"}.mdi-camcorder-off:before{content:"󰃿"}.mdi-camera:before{content:"󰄀"}.mdi-camera-account:before{content:"󰣋"}.mdi-camera-burst:before{content:"󰚓"}.mdi-camera-control:before{content:"󰭩"}.mdi-camera-document:before{content:"󱡱"}.mdi-camera-document-off:before{content:"󱡲"}.mdi-camera-enhance:before{content:"󰄁"}.mdi-camera-enhance-outline:before{content:"󰭪"}.mdi-camera-flip:before{content:"󱗙"}.mdi-camera-flip-outline:before{content:"󱗚"}.mdi-camera-front:before{content:"󰄂"}.mdi-camera-front-variant:before{content:"󰄃"}.mdi-camera-gopro:before{content:"󰞡"}.mdi-camera-image:before{content:"󰣌"}.mdi-camera-iris:before{content:"󰄄"}.mdi-camera-lock:before{content:"󱨔"}.mdi-camera-lock-open:before{content:"󱰍"}.mdi-camera-lock-open-outline:before{content:"󱰎"}.mdi-camera-lock-outline:before{content:"󱨕"}.mdi-camera-marker:before{content:"󱦧"}.mdi-camera-marker-outline:before{content:"󱦨"}.mdi-camera-metering-center:before{content:"󰞢"}.mdi-camera-metering-matrix:before{content:"󰞣"}.mdi-camera-metering-partial:before{content:"󰞤"}.mdi-camera-metering-spot:before{content:"󰞥"}.mdi-camera-off:before{content:"󰗟"}.mdi-camera-off-outline:before{content:"󱦿"}.mdi-camera-outline:before{content:"󰵝"}.mdi-camera-party-mode:before{content:"󰄅"}.mdi-camera-plus:before{content:"󰻛"}.mdi-camera-plus-outline:before{content:"󰻜"}.mdi-camera-rear:before{content:"󰄆"}.mdi-camera-rear-variant:before{content:"󰄇"}.mdi-camera-retake:before{content:"󰸙"}.mdi-camera-retake-outline:before{content:"󰸚"}.mdi-camera-switch:before{content:"󰄈"}.mdi-camera-switch-outline:before{content:"󰡊"}.mdi-camera-timer:before{content:"󰄉"}.mdi-camera-wireless:before{content:"󰶶"}.mdi-camera-wireless-outline:before{content:"󰶷"}.mdi-campfire:before{content:"󰻝"}.mdi-cancel:before{content:"󰜺"}.mdi-candelabra:before{content:"󱟒"}.mdi-candelabra-fire:before{content:"󱟓"}.mdi-candle:before{content:"󰗢"}.mdi-candy:before{content:"󱥰"}.mdi-candy-off:before{content:"󱥱"}.mdi-candy-off-outline:before{content:"󱥲"}.mdi-candy-outline:before{content:"󱥳"}.mdi-candycane:before{content:"󰄊"}.mdi-cannabis:before{content:"󰞦"}.mdi-cannabis-off:before{content:"󱙮"}.mdi-caps-lock:before{content:"󰪛"}.mdi-car:before{content:"󰄋"}.mdi-car-2-plus:before{content:"󱀕"}.mdi-car-3-plus:before{content:"󱀖"}.mdi-car-arrow-left:before{content:"󱎲"}.mdi-car-arrow-right:before{content:"󱎳"}.mdi-car-back:before{content:"󰸛"}.mdi-car-battery:before{content:"󰄌"}.mdi-car-brake-abs:before{content:"󰱇"}.mdi-car-brake-alert:before{content:"󰱈"}.mdi-car-brake-fluid-level:before{content:"󱤉"}.mdi-car-brake-hold:before{content:"󰵞"}.mdi-car-brake-low-pressure:before{content:"󱤊"}.mdi-car-brake-parking:before{content:"󰵟"}.mdi-car-brake-retarder:before{content:"󱀗"}.mdi-car-brake-temperature:before{content:"󱤋"}.mdi-car-brake-worn-linings:before{content:"󱤌"}.mdi-car-child-seat:before{content:"󰾣"}.mdi-car-clock:before{content:"󱥴"}.mdi-car-clutch:before{content:"󱀘"}.mdi-car-cog:before{content:"󱏌"}.mdi-car-connected:before{content:"󰄍"}.mdi-car-convertible:before{content:"󰞧"}.mdi-car-coolant-level:before{content:"󱀙"}.mdi-car-cruise-control:before{content:"󰵠"}.mdi-car-defrost-front:before{content:"󰵡"}.mdi-car-defrost-rear:before{content:"󰵢"}.mdi-car-door:before{content:"󰭫"}.mdi-car-door-lock:before{content:"󱂝"}.mdi-car-electric:before{content:"󰭬"}.mdi-car-electric-outline:before{content:"󱖵"}.mdi-car-emergency:before{content:"󱘏"}.mdi-car-esp:before{content:"󰱉"}.mdi-car-estate:before{content:"󰞨"}.mdi-car-hatchback:before{content:"󰞩"}.mdi-car-info:before{content:"󱆾"}.mdi-car-key:before{content:"󰭭"}.mdi-car-lifted-pickup:before{content:"󱔭"}.mdi-car-light-alert:before{content:"󱤍"}.mdi-car-light-dimmed:before{content:"󰱊"}.mdi-car-light-fog:before{content:"󰱋"}.mdi-car-light-high:before{content:"󰱌"}.mdi-car-limousine:before{content:"󰣍"}.mdi-car-multiple:before{content:"󰭮"}.mdi-car-off:before{content:"󰸜"}.mdi-car-outline:before{content:"󱓭"}.mdi-car-parking-lights:before{content:"󰵣"}.mdi-car-pickup:before{content:"󰞪"}.mdi-car-search:before{content:"󱮍"}.mdi-car-search-outline:before{content:"󱮎"}.mdi-car-seat:before{content:"󰾤"}.mdi-car-seat-cooler:before{content:"󰾥"}.mdi-car-seat-heater:before{content:"󰾦"}.mdi-car-select:before{content:"󱡹"}.mdi-car-settings:before{content:"󱏍"}.mdi-car-shift-pattern:before{content:"󰽀"}.mdi-car-side:before{content:"󰞫"}.mdi-car-speed-limiter:before{content:"󱤎"}.mdi-car-sports:before{content:"󰞬"}.mdi-car-tire-alert:before{content:"󰱍"}.mdi-car-traction-control:before{content:"󰵤"}.mdi-car-turbocharger:before{content:"󱀚"}.mdi-car-wash:before{content:"󰄎"}.mdi-car-windshield:before{content:"󱀛"}.mdi-car-windshield-outline:before{content:"󱀜"}.mdi-car-wireless:before{content:"󱡸"}.mdi-car-wrench:before{content:"󱠔"}.mdi-carabiner:before{content:"󱓀"}.mdi-caravan:before{content:"󰞭"}.mdi-card:before{content:"󰭯"}.mdi-card-account-details:before{content:"󰗒"}.mdi-card-account-details-outline:before{content:"󰶫"}.mdi-card-account-details-star:before{content:"󰊣"}.mdi-card-account-details-star-outline:before{content:"󰛛"}.mdi-card-account-mail:before{content:"󰆎"}.mdi-card-account-mail-outline:before{content:"󰺘"}.mdi-card-account-phone:before{content:"󰺙"}.mdi-card-account-phone-outline:before{content:"󰺚"}.mdi-card-bulleted:before{content:"󰭰"}.mdi-card-bulleted-off:before{content:"󰭱"}.mdi-card-bulleted-off-outline:before{content:"󰭲"}.mdi-card-bulleted-outline:before{content:"󰭳"}.mdi-card-bulleted-settings:before{content:"󰭴"}.mdi-card-bulleted-settings-outline:before{content:"󰭵"}.mdi-card-minus:before{content:"󱘀"}.mdi-card-minus-outline:before{content:"󱘁"}.mdi-card-multiple:before{content:"󱟱"}.mdi-card-multiple-outline:before{content:"󱟲"}.mdi-card-off:before{content:"󱘂"}.mdi-card-off-outline:before{content:"󱘃"}.mdi-card-outline:before{content:"󰭶"}.mdi-card-plus:before{content:"󱇿"}.mdi-card-plus-outline:before{content:"󱈀"}.mdi-card-remove:before{content:"󱘄"}.mdi-card-remove-outline:before{content:"󱘅"}.mdi-card-search:before{content:"󱁴"}.mdi-card-search-outline:before{content:"󱁵"}.mdi-card-text:before{content:"󰭷"}.mdi-card-text-outline:before{content:"󰭸"}.mdi-cards:before{content:"󰘸"}.mdi-cards-club:before{content:"󰣎"}.mdi-cards-club-outline:before{content:"󱢟"}.mdi-cards-diamond:before{content:"󰣏"}.mdi-cards-diamond-outline:before{content:"󱀝"}.mdi-cards-heart:before{content:"󰣐"}.mdi-cards-heart-outline:before{content:"󱢠"}.mdi-cards-outline:before{content:"󰘹"}.mdi-cards-playing:before{content:"󱢡"}.mdi-cards-playing-club:before{content:"󱢢"}.mdi-cards-playing-club-multiple:before{content:"󱢣"}.mdi-cards-playing-club-multiple-outline:before{content:"󱢤"}.mdi-cards-playing-club-outline:before{content:"󱢥"}.mdi-cards-playing-diamond:before{content:"󱢦"}.mdi-cards-playing-diamond-multiple:before{content:"󱢧"}.mdi-cards-playing-diamond-multiple-outline:before{content:"󱢨"}.mdi-cards-playing-diamond-outline:before{content:"󱢩"}.mdi-cards-playing-heart:before{content:"󱢪"}.mdi-cards-playing-heart-multiple:before{content:"󱢫"}.mdi-cards-playing-heart-multiple-outline:before{content:"󱢬"}.mdi-cards-playing-heart-outline:before{content:"󱢭"}.mdi-cards-playing-outline:before{content:"󰘺"}.mdi-cards-playing-spade:before{content:"󱢮"}.mdi-cards-playing-spade-multiple:before{content:"󱢯"}.mdi-cards-playing-spade-multiple-outline:before{content:"󱢰"}.mdi-cards-playing-spade-outline:before{content:"󱢱"}.mdi-cards-spade:before{content:"󰣑"}.mdi-cards-spade-outline:before{content:"󱢲"}.mdi-cards-variant:before{content:"󰛇"}.mdi-carrot:before{content:"󰄏"}.mdi-cart:before{content:"󰄐"}.mdi-cart-arrow-down:before{content:"󰵦"}.mdi-cart-arrow-right:before{content:"󰱎"}.mdi-cart-arrow-up:before{content:"󰵧"}.mdi-cart-check:before{content:"󱗪"}.mdi-cart-heart:before{content:"󱣠"}.mdi-cart-minus:before{content:"󰵨"}.mdi-cart-off:before{content:"󰙫"}.mdi-cart-outline:before{content:"󰄑"}.mdi-cart-percent:before{content:"󱮮"}.mdi-cart-plus:before{content:"󰄒"}.mdi-cart-remove:before{content:"󰵩"}.mdi-cart-variant:before{content:"󱗫"}.mdi-case-sensitive-alt:before{content:"󰄓"}.mdi-cash:before{content:"󰄔"}.mdi-cash-100:before{content:"󰄕"}.mdi-cash-check:before{content:"󱓮"}.mdi-cash-clock:before{content:"󱪑"}.mdi-cash-fast:before{content:"󱡜"}.mdi-cash-lock:before{content:"󱓪"}.mdi-cash-lock-open:before{content:"󱓫"}.mdi-cash-marker:before{content:"󰶸"}.mdi-cash-minus:before{content:"󱉠"}.mdi-cash-multiple:before{content:"󰄖"}.mdi-cash-off:before{content:"󱱹"}.mdi-cash-plus:before{content:"󱉡"}.mdi-cash-refund:before{content:"󰪜"}.mdi-cash-register:before{content:"󰳴"}.mdi-cash-remove:before{content:"󱉢"}.mdi-cash-sync:before{content:"󱪒"}.mdi-cassette:before{content:"󰧔"}.mdi-cast:before{content:"󰄘"}.mdi-cast-audio:before{content:"󱀞"}.mdi-cast-audio-variant:before{content:"󱝉"}.mdi-cast-connected:before{content:"󰄙"}.mdi-cast-education:before{content:"󰸝"}.mdi-cast-off:before{content:"󰞊"}.mdi-cast-variant:before{content:"󰀟"}.mdi-castle:before{content:"󰄚"}.mdi-cat:before{content:"󰄛"}.mdi-cctv:before{content:"󰞮"}.mdi-cctv-off:before{content:"󱡟"}.mdi-ceiling-fan:before{content:"󱞗"}.mdi-ceiling-fan-light:before{content:"󱞘"}.mdi-ceiling-light:before{content:"󰝩"}.mdi-ceiling-light-multiple:before{content:"󱣝"}.mdi-ceiling-light-multiple-outline:before{content:"󱣞"}.mdi-ceiling-light-outline:before{content:"󱟇"}.mdi-cellphone:before{content:"󰄜"}.mdi-cellphone-arrow-down:before{content:"󰧕"}.mdi-cellphone-arrow-down-variant:before{content:"󱧅"}.mdi-cellphone-basic:before{content:"󰄞"}.mdi-cellphone-charging:before{content:"󱎗"}.mdi-cellphone-check:before{content:"󱟽"}.mdi-cellphone-cog:before{content:"󰥑"}.mdi-cellphone-dock:before{content:"󰄟"}.mdi-cellphone-information:before{content:"󰽁"}.mdi-cellphone-key:before{content:"󰥎"}.mdi-cellphone-link:before{content:"󰄡"}.mdi-cellphone-link-off:before{content:"󰄢"}.mdi-cellphone-lock:before{content:"󰥏"}.mdi-cellphone-marker:before{content:"󱠺"}.mdi-cellphone-message:before{content:"󰣓"}.mdi-cellphone-message-off:before{content:"󱃒"}.mdi-cellphone-nfc:before{content:"󰺐"}.mdi-cellphone-nfc-off:before{content:"󱋘"}.mdi-cellphone-off:before{content:"󰥐"}.mdi-cellphone-play:before{content:"󱀟"}.mdi-cellphone-remove:before{content:"󰥍"}.mdi-cellphone-screenshot:before{content:"󰨵"}.mdi-cellphone-settings:before{content:"󰄣"}.mdi-cellphone-sound:before{content:"󰥒"}.mdi-cellphone-text:before{content:"󰣒"}.mdi-cellphone-wireless:before{content:"󰠕"}.mdi-centos:before{content:"󱄚"}.mdi-certificate:before{content:"󰄤"}.mdi-certificate-outline:before{content:"󱆈"}.mdi-chair-rolling:before{content:"󰽈"}.mdi-chair-school:before{content:"󰄥"}.mdi-chandelier:before{content:"󱞓"}.mdi-charity:before{content:"󰱏"}.mdi-chart-arc:before{content:"󰄦"}.mdi-chart-areaspline:before{content:"󰄧"}.mdi-chart-areaspline-variant:before{content:"󰺑"}.mdi-chart-bar:before{content:"󰄨"}.mdi-chart-bar-stacked:before{content:"󰝪"}.mdi-chart-bell-curve:before{content:"󰱐"}.mdi-chart-bell-curve-cumulative:before{content:"󰾧"}.mdi-chart-box:before{content:"󱕍"}.mdi-chart-box-outline:before{content:"󱕎"}.mdi-chart-box-plus-outline:before{content:"󱕏"}.mdi-chart-bubble:before{content:"󰗣"}.mdi-chart-donut:before{content:"󰞯"}.mdi-chart-donut-variant:before{content:"󰞰"}.mdi-chart-gantt:before{content:"󰙬"}.mdi-chart-histogram:before{content:"󰄩"}.mdi-chart-line:before{content:"󰄪"}.mdi-chart-line-stacked:before{content:"󰝫"}.mdi-chart-line-variant:before{content:"󰞱"}.mdi-chart-multiline:before{content:"󰣔"}.mdi-chart-multiple:before{content:"󱈓"}.mdi-chart-pie:before{content:"󰄫"}.mdi-chart-pie-outline:before{content:"󱯟"}.mdi-chart-ppf:before{content:"󱎀"}.mdi-chart-sankey:before{content:"󱇟"}.mdi-chart-sankey-variant:before{content:"󱇠"}.mdi-chart-scatter-plot:before{content:"󰺒"}.mdi-chart-scatter-plot-hexbin:before{content:"󰙭"}.mdi-chart-timeline:before{content:"󰙮"}.mdi-chart-timeline-variant:before{content:"󰺓"}.mdi-chart-timeline-variant-shimmer:before{content:"󱖶"}.mdi-chart-tree:before{content:"󰺔"}.mdi-chart-waterfall:before{content:"󱤘"}.mdi-chat:before{content:"󰭹"}.mdi-chat-alert:before{content:"󰭺"}.mdi-chat-alert-outline:before{content:"󱋉"}.mdi-chat-minus:before{content:"󱐐"}.mdi-chat-minus-outline:before{content:"󱐓"}.mdi-chat-outline:before{content:"󰻞"}.mdi-chat-plus:before{content:"󱐏"}.mdi-chat-plus-outline:before{content:"󱐒"}.mdi-chat-processing:before{content:"󰭻"}.mdi-chat-processing-outline:before{content:"󱋊"}.mdi-chat-question:before{content:"󱜸"}.mdi-chat-question-outline:before{content:"󱜹"}.mdi-chat-remove:before{content:"󱐑"}.mdi-chat-remove-outline:before{content:"󱐔"}.mdi-chat-sleep:before{content:"󱋑"}.mdi-chat-sleep-outline:before{content:"󱋒"}.mdi-check:before{content:"󰄬"}.mdi-check-all:before{content:"󰄭"}.mdi-check-bold:before{content:"󰸞"}.mdi-check-circle:before{content:"󰗠"}.mdi-check-circle-outline:before{content:"󰗡"}.mdi-check-decagram:before{content:"󰞑"}.mdi-check-decagram-outline:before{content:"󱝀"}.mdi-check-network:before{content:"󰱓"}.mdi-check-network-outline:before{content:"󰱔"}.mdi-check-outline:before{content:"󰡕"}.mdi-check-underline:before{content:"󰸟"}.mdi-check-underline-circle:before{content:"󰸠"}.mdi-check-underline-circle-outline:before{content:"󰸡"}.mdi-checkbook:before{content:"󰪝"}.mdi-checkbook-arrow-left:before{content:"󱰝"}.mdi-checkbook-arrow-right:before{content:"󱰞"}.mdi-checkbox-blank:before{content:"󰄮"}.mdi-checkbox-blank-badge:before{content:"󱅶"}.mdi-checkbox-blank-badge-outline:before{content:"󰄗"}.mdi-checkbox-blank-circle:before{content:"󰄯"}.mdi-checkbox-blank-circle-outline:before{content:"󰄰"}.mdi-checkbox-blank-off:before{content:"󱋬"}.mdi-checkbox-blank-off-outline:before{content:"󱋭"}.mdi-checkbox-blank-outline:before{content:"󰄱"}.mdi-checkbox-intermediate:before{content:"󰡖"}.mdi-checkbox-intermediate-variant:before{content:"󱭔"}.mdi-checkbox-marked:before{content:"󰄲"}.mdi-checkbox-marked-circle:before{content:"󰄳"}.mdi-checkbox-marked-circle-auto-outline:before{content:"󱰦"}.mdi-checkbox-marked-circle-minus-outline:before{content:"󱰧"}.mdi-checkbox-marked-circle-outline:before{content:"󰄴"}.mdi-checkbox-marked-circle-plus-outline:before{content:"󱤧"}.mdi-checkbox-marked-outline:before{content:"󰄵"}.mdi-checkbox-multiple-blank:before{content:"󰄶"}.mdi-checkbox-multiple-blank-circle:before{content:"󰘻"}.mdi-checkbox-multiple-blank-circle-outline:before{content:"󰘼"}.mdi-checkbox-multiple-blank-outline:before{content:"󰄷"}.mdi-checkbox-multiple-marked:before{content:"󰄸"}.mdi-checkbox-multiple-marked-circle:before{content:"󰘽"}.mdi-checkbox-multiple-marked-circle-outline:before{content:"󰘾"}.mdi-checkbox-multiple-marked-outline:before{content:"󰄹"}.mdi-checkbox-multiple-outline:before{content:"󰱑"}.mdi-checkbox-outline:before{content:"󰱒"}.mdi-checkerboard:before{content:"󰄺"}.mdi-checkerboard-minus:before{content:"󱈂"}.mdi-checkerboard-plus:before{content:"󱈁"}.mdi-checkerboard-remove:before{content:"󱈃"}.mdi-cheese:before{content:"󱊹"}.mdi-cheese-off:before{content:"󱏮"}.mdi-chef-hat:before{content:"󰭼"}.mdi-chemical-weapon:before{content:"󰄻"}.mdi-chess-bishop:before{content:"󰡜"}.mdi-chess-king:before{content:"󰡗"}.mdi-chess-knight:before{content:"󰡘"}.mdi-chess-pawn:before{content:"󰡙"}.mdi-chess-queen:before{content:"󰡚"}.mdi-chess-rook:before{content:"󰡛"}.mdi-chevron-double-down:before{content:"󰄼"}.mdi-chevron-double-left:before{content:"󰄽"}.mdi-chevron-double-right:before{content:"󰄾"}.mdi-chevron-double-up:before{content:"󰄿"}.mdi-chevron-down:before{content:"󰅀"}.mdi-chevron-down-box:before{content:"󰧖"}.mdi-chevron-down-box-outline:before{content:"󰧗"}.mdi-chevron-down-circle:before{content:"󰬦"}.mdi-chevron-down-circle-outline:before{content:"󰬧"}.mdi-chevron-left:before{content:"󰅁"}.mdi-chevron-left-box:before{content:"󰧘"}.mdi-chevron-left-box-outline:before{content:"󰧙"}.mdi-chevron-left-circle:before{content:"󰬨"}.mdi-chevron-left-circle-outline:before{content:"󰬩"}.mdi-chevron-right:before{content:"󰅂"}.mdi-chevron-right-box:before{content:"󰧚"}.mdi-chevron-right-box-outline:before{content:"󰧛"}.mdi-chevron-right-circle:before{content:"󰬪"}.mdi-chevron-right-circle-outline:before{content:"󰬫"}.mdi-chevron-triple-down:before{content:"󰶹"}.mdi-chevron-triple-left:before{content:"󰶺"}.mdi-chevron-triple-right:before{content:"󰶻"}.mdi-chevron-triple-up:before{content:"󰶼"}.mdi-chevron-up:before{content:"󰅃"}.mdi-chevron-up-box:before{content:"󰧜"}.mdi-chevron-up-box-outline:before{content:"󰧝"}.mdi-chevron-up-circle:before{content:"󰬬"}.mdi-chevron-up-circle-outline:before{content:"󰬭"}.mdi-chili-alert:before{content:"󱟪"}.mdi-chili-alert-outline:before{content:"󱟫"}.mdi-chili-hot:before{content:"󰞲"}.mdi-chili-hot-outline:before{content:"󱟬"}.mdi-chili-medium:before{content:"󰞳"}.mdi-chili-medium-outline:before{content:"󱟭"}.mdi-chili-mild:before{content:"󰞴"}.mdi-chili-mild-outline:before{content:"󱟮"}.mdi-chili-off:before{content:"󱑧"}.mdi-chili-off-outline:before{content:"󱟯"}.mdi-chip:before{content:"󰘚"}.mdi-church:before{content:"󰅄"}.mdi-church-outline:before{content:"󱬂"}.mdi-cigar:before{content:"󱆉"}.mdi-cigar-off:before{content:"󱐛"}.mdi-circle:before{content:"󰝥"}.mdi-circle-box:before{content:"󱗜"}.mdi-circle-box-outline:before{content:"󱗝"}.mdi-circle-double:before{content:"󰺕"}.mdi-circle-edit-outline:before{content:"󰣕"}.mdi-circle-expand:before{content:"󰺖"}.mdi-circle-half:before{content:"󱎕"}.mdi-circle-half-full:before{content:"󱎖"}.mdi-circle-medium:before{content:"󰧞"}.mdi-circle-multiple:before{content:"󰬸"}.mdi-circle-multiple-outline:before{content:"󰚕"}.mdi-circle-off-outline:before{content:"󱃓"}.mdi-circle-opacity:before{content:"󱡓"}.mdi-circle-outline:before{content:"󰝦"}.mdi-circle-slice-1:before{content:"󰪞"}.mdi-circle-slice-2:before{content:"󰪟"}.mdi-circle-slice-3:before{content:"󰪠"}.mdi-circle-slice-4:before{content:"󰪡"}.mdi-circle-slice-5:before{content:"󰪢"}.mdi-circle-slice-6:before{content:"󰪣"}.mdi-circle-slice-7:before{content:"󰪤"}.mdi-circle-slice-8:before{content:"󰪥"}.mdi-circle-small:before{content:"󰧟"}.mdi-circular-saw:before{content:"󰸢"}.mdi-city:before{content:"󰅆"}.mdi-city-switch:before{content:"󱰨"}.mdi-city-variant:before{content:"󰨶"}.mdi-city-variant-outline:before{content:"󰨷"}.mdi-clipboard:before{content:"󰅇"}.mdi-clipboard-account:before{content:"󰅈"}.mdi-clipboard-account-outline:before{content:"󰱕"}.mdi-clipboard-alert:before{content:"󰅉"}.mdi-clipboard-alert-outline:before{content:"󰳷"}.mdi-clipboard-arrow-down:before{content:"󰅊"}.mdi-clipboard-arrow-down-outline:before{content:"󰱖"}.mdi-clipboard-arrow-left:before{content:"󰅋"}.mdi-clipboard-arrow-left-outline:before{content:"󰳸"}.mdi-clipboard-arrow-right:before{content:"󰳹"}.mdi-clipboard-arrow-right-outline:before{content:"󰳺"}.mdi-clipboard-arrow-up:before{content:"󰱗"}.mdi-clipboard-arrow-up-outline:before{content:"󰱘"}.mdi-clipboard-check:before{content:"󰅎"}.mdi-clipboard-check-multiple:before{content:"󱉣"}.mdi-clipboard-check-multiple-outline:before{content:"󱉤"}.mdi-clipboard-check-outline:before{content:"󰢨"}.mdi-clipboard-clock:before{content:"󱛢"}.mdi-clipboard-clock-outline:before{content:"󱛣"}.mdi-clipboard-edit:before{content:"󱓥"}.mdi-clipboard-edit-outline:before{content:"󱓦"}.mdi-clipboard-file:before{content:"󱉥"}.mdi-clipboard-file-outline:before{content:"󱉦"}.mdi-clipboard-flow:before{content:"󰛈"}.mdi-clipboard-flow-outline:before{content:"󱄗"}.mdi-clipboard-list:before{content:"󱃔"}.mdi-clipboard-list-outline:before{content:"󱃕"}.mdi-clipboard-minus:before{content:"󱘘"}.mdi-clipboard-minus-outline:before{content:"󱘙"}.mdi-clipboard-multiple:before{content:"󱉧"}.mdi-clipboard-multiple-outline:before{content:"󱉨"}.mdi-clipboard-off:before{content:"󱘚"}.mdi-clipboard-off-outline:before{content:"󱘛"}.mdi-clipboard-outline:before{content:"󰅌"}.mdi-clipboard-play:before{content:"󰱙"}.mdi-clipboard-play-multiple:before{content:"󱉩"}.mdi-clipboard-play-multiple-outline:before{content:"󱉪"}.mdi-clipboard-play-outline:before{content:"󰱚"}.mdi-clipboard-plus:before{content:"󰝑"}.mdi-clipboard-plus-outline:before{content:"󱌟"}.mdi-clipboard-pulse:before{content:"󰡝"}.mdi-clipboard-pulse-outline:before{content:"󰡞"}.mdi-clipboard-remove:before{content:"󱘜"}.mdi-clipboard-remove-outline:before{content:"󱘝"}.mdi-clipboard-search:before{content:"󱘞"}.mdi-clipboard-search-outline:before{content:"󱘟"}.mdi-clipboard-text:before{content:"󰅍"}.mdi-clipboard-text-clock:before{content:"󱣹"}.mdi-clipboard-text-clock-outline:before{content:"󱣺"}.mdi-clipboard-text-multiple:before{content:"󱉫"}.mdi-clipboard-text-multiple-outline:before{content:"󱉬"}.mdi-clipboard-text-off:before{content:"󱘠"}.mdi-clipboard-text-off-outline:before{content:"󱘡"}.mdi-clipboard-text-outline:before{content:"󰨸"}.mdi-clipboard-text-play:before{content:"󰱛"}.mdi-clipboard-text-play-outline:before{content:"󰱜"}.mdi-clipboard-text-search:before{content:"󱘢"}.mdi-clipboard-text-search-outline:before{content:"󱘣"}.mdi-clippy:before{content:"󰅏"}.mdi-clock:before{content:"󰥔"}.mdi-clock-alert:before{content:"󰥕"}.mdi-clock-alert-outline:before{content:"󰗎"}.mdi-clock-check:before{content:"󰾨"}.mdi-clock-check-outline:before{content:"󰾩"}.mdi-clock-digital:before{content:"󰺗"}.mdi-clock-edit:before{content:"󱦺"}.mdi-clock-edit-outline:before{content:"󱦻"}.mdi-clock-end:before{content:"󰅑"}.mdi-clock-fast:before{content:"󰅒"}.mdi-clock-in:before{content:"󰅓"}.mdi-clock-minus:before{content:"󱡣"}.mdi-clock-minus-outline:before{content:"󱡤"}.mdi-clock-out:before{content:"󰅔"}.mdi-clock-outline:before{content:"󰅐"}.mdi-clock-plus:before{content:"󱡡"}.mdi-clock-plus-outline:before{content:"󱡢"}.mdi-clock-remove:before{content:"󱡥"}.mdi-clock-remove-outline:before{content:"󱡦"}.mdi-clock-star-four-points:before{content:"󱰩"}.mdi-clock-star-four-points-outline:before{content:"󱰪"}.mdi-clock-start:before{content:"󰅕"}.mdi-clock-time-eight:before{content:"󱑆"}.mdi-clock-time-eight-outline:before{content:"󱑒"}.mdi-clock-time-eleven:before{content:"󱑉"}.mdi-clock-time-eleven-outline:before{content:"󱑕"}.mdi-clock-time-five:before{content:"󱑃"}.mdi-clock-time-five-outline:before{content:"󱑏"}.mdi-clock-time-four:before{content:"󱑂"}.mdi-clock-time-four-outline:before{content:"󱑎"}.mdi-clock-time-nine:before{content:"󱑇"}.mdi-clock-time-nine-outline:before{content:"󱑓"}.mdi-clock-time-one:before{content:"󱐿"}.mdi-clock-time-one-outline:before{content:"󱑋"}.mdi-clock-time-seven:before{content:"󱑅"}.mdi-clock-time-seven-outline:before{content:"󱑑"}.mdi-clock-time-six:before{content:"󱑄"}.mdi-clock-time-six-outline:before{content:"󱑐"}.mdi-clock-time-ten:before{content:"󱑈"}.mdi-clock-time-ten-outline:before{content:"󱑔"}.mdi-clock-time-three:before{content:"󱑁"}.mdi-clock-time-three-outline:before{content:"󱑍"}.mdi-clock-time-twelve:before{content:"󱑊"}.mdi-clock-time-twelve-outline:before{content:"󱑖"}.mdi-clock-time-two:before{content:"󱑀"}.mdi-clock-time-two-outline:before{content:"󱑌"}.mdi-close:before{content:"󰅖"}.mdi-close-box:before{content:"󰅗"}.mdi-close-box-multiple:before{content:"󰱝"}.mdi-close-box-multiple-outline:before{content:"󰱞"}.mdi-close-box-outline:before{content:"󰅘"}.mdi-close-circle:before{content:"󰅙"}.mdi-close-circle-multiple:before{content:"󰘪"}.mdi-close-circle-multiple-outline:before{content:"󰢃"}.mdi-close-circle-outline:before{content:"󰅚"}.mdi-close-network:before{content:"󰅛"}.mdi-close-network-outline:before{content:"󰱟"}.mdi-close-octagon:before{content:"󰅜"}.mdi-close-octagon-outline:before{content:"󰅝"}.mdi-close-outline:before{content:"󰛉"}.mdi-close-thick:before{content:"󱎘"}.mdi-closed-caption:before{content:"󰅞"}.mdi-closed-caption-outline:before{content:"󰶽"}.mdi-cloud:before{content:"󰅟"}.mdi-cloud-alert:before{content:"󰧠"}.mdi-cloud-alert-outline:before{content:"󱯠"}.mdi-cloud-arrow-down:before{content:"󱯡"}.mdi-cloud-arrow-down-outline:before{content:"󱯢"}.mdi-cloud-arrow-left:before{content:"󱯣"}.mdi-cloud-arrow-left-outline:before{content:"󱯤"}.mdi-cloud-arrow-right:before{content:"󱯥"}.mdi-cloud-arrow-right-outline:before{content:"󱯦"}.mdi-cloud-arrow-up:before{content:"󱯧"}.mdi-cloud-arrow-up-outline:before{content:"󱯨"}.mdi-cloud-braces:before{content:"󰞵"}.mdi-cloud-cancel:before{content:"󱯩"}.mdi-cloud-cancel-outline:before{content:"󱯪"}.mdi-cloud-check:before{content:"󱯫"}.mdi-cloud-check-outline:before{content:"󱯬"}.mdi-cloud-check-variant:before{content:"󰅠"}.mdi-cloud-check-variant-outline:before{content:"󱋌"}.mdi-cloud-circle:before{content:"󰅡"}.mdi-cloud-circle-outline:before{content:"󱯭"}.mdi-cloud-clock:before{content:"󱯮"}.mdi-cloud-clock-outline:before{content:"󱯯"}.mdi-cloud-cog:before{content:"󱯰"}.mdi-cloud-cog-outline:before{content:"󱯱"}.mdi-cloud-download:before{content:"󰅢"}.mdi-cloud-download-outline:before{content:"󰭽"}.mdi-cloud-lock:before{content:"󱇱"}.mdi-cloud-lock-open:before{content:"󱯲"}.mdi-cloud-lock-open-outline:before{content:"󱯳"}.mdi-cloud-lock-outline:before{content:"󱇲"}.mdi-cloud-minus:before{content:"󱯴"}.mdi-cloud-minus-outline:before{content:"󱯵"}.mdi-cloud-off:before{content:"󱯶"}.mdi-cloud-off-outline:before{content:"󰅤"}.mdi-cloud-outline:before{content:"󰅣"}.mdi-cloud-percent:before{content:"󱨵"}.mdi-cloud-percent-outline:before{content:"󱨶"}.mdi-cloud-plus:before{content:"󱯷"}.mdi-cloud-plus-outline:before{content:"󱯸"}.mdi-cloud-print:before{content:"󰅥"}.mdi-cloud-print-outline:before{content:"󰅦"}.mdi-cloud-question:before{content:"󰨹"}.mdi-cloud-question-outline:before{content:"󱯹"}.mdi-cloud-refresh:before{content:"󱯺"}.mdi-cloud-refresh-outline:before{content:"󱯻"}.mdi-cloud-refresh-variant:before{content:"󰔪"}.mdi-cloud-refresh-variant-outline:before{content:"󱯼"}.mdi-cloud-remove:before{content:"󱯽"}.mdi-cloud-remove-outline:before{content:"󱯾"}.mdi-cloud-search:before{content:"󰥖"}.mdi-cloud-search-outline:before{content:"󰥗"}.mdi-cloud-sync:before{content:"󰘿"}.mdi-cloud-sync-outline:before{content:"󱋖"}.mdi-cloud-tags:before{content:"󰞶"}.mdi-cloud-upload:before{content:"󰅧"}.mdi-cloud-upload-outline:before{content:"󰭾"}.mdi-clouds:before{content:"󱮕"}.mdi-clover:before{content:"󰠖"}.mdi-clover-outline:before{content:"󱱢"}.mdi-coach-lamp:before{content:"󱀠"}.mdi-coach-lamp-variant:before{content:"󱨷"}.mdi-coat-rack:before{content:"󱂞"}.mdi-code-array:before{content:"󰅨"}.mdi-code-braces:before{content:"󰅩"}.mdi-code-braces-box:before{content:"󱃖"}.mdi-code-brackets:before{content:"󰅪"}.mdi-code-equal:before{content:"󰅫"}.mdi-code-greater-than:before{content:"󰅬"}.mdi-code-greater-than-or-equal:before{content:"󰅭"}.mdi-code-json:before{content:"󰘦"}.mdi-code-less-than:before{content:"󰅮"}.mdi-code-less-than-or-equal:before{content:"󰅯"}.mdi-code-not-equal:before{content:"󰅰"}.mdi-code-not-equal-variant:before{content:"󰅱"}.mdi-code-parentheses:before{content:"󰅲"}.mdi-code-parentheses-box:before{content:"󱃗"}.mdi-code-string:before{content:"󰅳"}.mdi-code-tags:before{content:"󰅴"}.mdi-code-tags-check:before{content:"󰚔"}.mdi-codepen:before{content:"󰅵"}.mdi-coffee:before{content:"󰅶"}.mdi-coffee-maker:before{content:"󱂟"}.mdi-coffee-maker-check:before{content:"󱤱"}.mdi-coffee-maker-check-outline:before{content:"󱤲"}.mdi-coffee-maker-outline:before{content:"󱠛"}.mdi-coffee-off:before{content:"󰾪"}.mdi-coffee-off-outline:before{content:"󰾫"}.mdi-coffee-outline:before{content:"󰛊"}.mdi-coffee-to-go:before{content:"󰅷"}.mdi-coffee-to-go-outline:before{content:"󱌎"}.mdi-coffin:before{content:"󰭿"}.mdi-cog:before{content:"󰒓"}.mdi-cog-box:before{content:"󰒔"}.mdi-cog-clockwise:before{content:"󱇝"}.mdi-cog-counterclockwise:before{content:"󱇞"}.mdi-cog-off:before{content:"󱏎"}.mdi-cog-off-outline:before{content:"󱏏"}.mdi-cog-outline:before{content:"󰢻"}.mdi-cog-pause:before{content:"󱤳"}.mdi-cog-pause-outline:before{content:"󱤴"}.mdi-cog-play:before{content:"󱤵"}.mdi-cog-play-outline:before{content:"󱤶"}.mdi-cog-refresh:before{content:"󱑞"}.mdi-cog-refresh-outline:before{content:"󱑟"}.mdi-cog-stop:before{content:"󱤷"}.mdi-cog-stop-outline:before{content:"󱤸"}.mdi-cog-sync:before{content:"󱑠"}.mdi-cog-sync-outline:before{content:"󱑡"}.mdi-cog-transfer:before{content:"󱁛"}.mdi-cog-transfer-outline:before{content:"󱁜"}.mdi-cogs:before{content:"󰣖"}.mdi-collage:before{content:"󰙀"}.mdi-collapse-all:before{content:"󰪦"}.mdi-collapse-all-outline:before{content:"󰪧"}.mdi-color-helper:before{content:"󰅹"}.mdi-comma:before{content:"󰸣"}.mdi-comma-box:before{content:"󰸫"}.mdi-comma-box-outline:before{content:"󰸤"}.mdi-comma-circle:before{content:"󰸥"}.mdi-comma-circle-outline:before{content:"󰸦"}.mdi-comment:before{content:"󰅺"}.mdi-comment-account:before{content:"󰅻"}.mdi-comment-account-outline:before{content:"󰅼"}.mdi-comment-alert:before{content:"󰅽"}.mdi-comment-alert-outline:before{content:"󰅾"}.mdi-comment-arrow-left:before{content:"󰧡"}.mdi-comment-arrow-left-outline:before{content:"󰧢"}.mdi-comment-arrow-right:before{content:"󰧣"}.mdi-comment-arrow-right-outline:before{content:"󰧤"}.mdi-comment-bookmark:before{content:"󱖮"}.mdi-comment-bookmark-outline:before{content:"󱖯"}.mdi-comment-check:before{content:"󰅿"}.mdi-comment-check-outline:before{content:"󰆀"}.mdi-comment-edit:before{content:"󱆿"}.mdi-comment-edit-outline:before{content:"󱋄"}.mdi-comment-eye:before{content:"󰨺"}.mdi-comment-eye-outline:before{content:"󰨻"}.mdi-comment-flash:before{content:"󱖰"}.mdi-comment-flash-outline:before{content:"󱖱"}.mdi-comment-minus:before{content:"󱗟"}.mdi-comment-minus-outline:before{content:"󱗠"}.mdi-comment-multiple:before{content:"󰡟"}.mdi-comment-multiple-outline:before{content:"󰆁"}.mdi-comment-off:before{content:"󱗡"}.mdi-comment-off-outline:before{content:"󱗢"}.mdi-comment-outline:before{content:"󰆂"}.mdi-comment-plus:before{content:"󰧥"}.mdi-comment-plus-outline:before{content:"󰆃"}.mdi-comment-processing:before{content:"󰆄"}.mdi-comment-processing-outline:before{content:"󰆅"}.mdi-comment-question:before{content:"󰠗"}.mdi-comment-question-outline:before{content:"󰆆"}.mdi-comment-quote:before{content:"󱀡"}.mdi-comment-quote-outline:before{content:"󱀢"}.mdi-comment-remove:before{content:"󰗞"}.mdi-comment-remove-outline:before{content:"󰆇"}.mdi-comment-search:before{content:"󰨼"}.mdi-comment-search-outline:before{content:"󰨽"}.mdi-comment-text:before{content:"󰆈"}.mdi-comment-text-multiple:before{content:"󰡠"}.mdi-comment-text-multiple-outline:before{content:"󰡡"}.mdi-comment-text-outline:before{content:"󰆉"}.mdi-compare:before{content:"󰆊"}.mdi-compare-horizontal:before{content:"󱒒"}.mdi-compare-remove:before{content:"󱢳"}.mdi-compare-vertical:before{content:"󱒓"}.mdi-compass:before{content:"󰆋"}.mdi-compass-off:before{content:"󰮀"}.mdi-compass-off-outline:before{content:"󰮁"}.mdi-compass-outline:before{content:"󰆌"}.mdi-compass-rose:before{content:"󱎂"}.mdi-compost:before{content:"󱨸"}.mdi-cone:before{content:"󱥌"}.mdi-cone-off:before{content:"󱥍"}.mdi-connection:before{content:"󱘖"}.mdi-console:before{content:"󰆍"}.mdi-console-line:before{content:"󰞷"}.mdi-console-network:before{content:"󰢩"}.mdi-console-network-outline:before{content:"󰱠"}.mdi-consolidate:before{content:"󱃘"}.mdi-contactless-payment:before{content:"󰵪"}.mdi-contactless-payment-circle:before{content:"󰌡"}.mdi-contactless-payment-circle-outline:before{content:"󰐈"}.mdi-contacts:before{content:"󰛋"}.mdi-contacts-outline:before{content:"󰖸"}.mdi-contain:before{content:"󰨾"}.mdi-contain-end:before{content:"󰨿"}.mdi-contain-start:before{content:"󰩀"}.mdi-content-copy:before{content:"󰆏"}.mdi-content-cut:before{content:"󰆐"}.mdi-content-duplicate:before{content:"󰆑"}.mdi-content-paste:before{content:"󰆒"}.mdi-content-save:before{content:"󰆓"}.mdi-content-save-alert:before{content:"󰽂"}.mdi-content-save-alert-outline:before{content:"󰽃"}.mdi-content-save-all:before{content:"󰆔"}.mdi-content-save-all-outline:before{content:"󰽄"}.mdi-content-save-check:before{content:"󱣪"}.mdi-content-save-check-outline:before{content:"󱣫"}.mdi-content-save-cog:before{content:"󱑛"}.mdi-content-save-cog-outline:before{content:"󱑜"}.mdi-content-save-edit:before{content:"󰳻"}.mdi-content-save-edit-outline:before{content:"󰳼"}.mdi-content-save-minus:before{content:"󱭃"}.mdi-content-save-minus-outline:before{content:"󱭄"}.mdi-content-save-move:before{content:"󰸧"}.mdi-content-save-move-outline:before{content:"󰸨"}.mdi-content-save-off:before{content:"󱙃"}.mdi-content-save-off-outline:before{content:"󱙄"}.mdi-content-save-outline:before{content:"󰠘"}.mdi-content-save-plus:before{content:"󱭁"}.mdi-content-save-plus-outline:before{content:"󱭂"}.mdi-content-save-settings:before{content:"󰘛"}.mdi-content-save-settings-outline:before{content:"󰬮"}.mdi-contrast:before{content:"󰆕"}.mdi-contrast-box:before{content:"󰆖"}.mdi-contrast-circle:before{content:"󰆗"}.mdi-controller:before{content:"󰊴"}.mdi-controller-classic:before{content:"󰮂"}.mdi-controller-classic-outline:before{content:"󰮃"}.mdi-controller-off:before{content:"󰊵"}.mdi-cookie:before{content:"󰆘"}.mdi-cookie-alert:before{content:"󱛐"}.mdi-cookie-alert-outline:before{content:"󱛑"}.mdi-cookie-check:before{content:"󱛒"}.mdi-cookie-check-outline:before{content:"󱛓"}.mdi-cookie-clock:before{content:"󱛤"}.mdi-cookie-clock-outline:before{content:"󱛥"}.mdi-cookie-cog:before{content:"󱛔"}.mdi-cookie-cog-outline:before{content:"󱛕"}.mdi-cookie-edit:before{content:"󱛦"}.mdi-cookie-edit-outline:before{content:"󱛧"}.mdi-cookie-lock:before{content:"󱛨"}.mdi-cookie-lock-outline:before{content:"󱛩"}.mdi-cookie-minus:before{content:"󱛚"}.mdi-cookie-minus-outline:before{content:"󱛛"}.mdi-cookie-off:before{content:"󱛪"}.mdi-cookie-off-outline:before{content:"󱛫"}.mdi-cookie-outline:before{content:"󱛞"}.mdi-cookie-plus:before{content:"󱛖"}.mdi-cookie-plus-outline:before{content:"󱛗"}.mdi-cookie-refresh:before{content:"󱛬"}.mdi-cookie-refresh-outline:before{content:"󱛭"}.mdi-cookie-remove:before{content:"󱛘"}.mdi-cookie-remove-outline:before{content:"󱛙"}.mdi-cookie-settings:before{content:"󱛜"}.mdi-cookie-settings-outline:before{content:"󱛝"}.mdi-coolant-temperature:before{content:"󰏈"}.mdi-copyleft:before{content:"󱤹"}.mdi-copyright:before{content:"󰗦"}.mdi-cordova:before{content:"󰥘"}.mdi-corn:before{content:"󰞸"}.mdi-corn-off:before{content:"󱏯"}.mdi-cosine-wave:before{content:"󱑹"}.mdi-counter:before{content:"󰆙"}.mdi-countertop:before{content:"󱠜"}.mdi-countertop-outline:before{content:"󱠝"}.mdi-cow:before{content:"󰆚"}.mdi-cow-off:before{content:"󱣼"}.mdi-cpu-32-bit:before{content:"󰻟"}.mdi-cpu-64-bit:before{content:"󰻠"}.mdi-cradle:before{content:"󱦋"}.mdi-cradle-outline:before{content:"󱦑"}.mdi-crane:before{content:"󰡢"}.mdi-creation:before{content:"󰙴"}.mdi-creation-outline:before{content:"󱰫"}.mdi-creative-commons:before{content:"󰵫"}.mdi-credit-card:before{content:"󰿯"}.mdi-credit-card-check:before{content:"󱏐"}.mdi-credit-card-check-outline:before{content:"󱏑"}.mdi-credit-card-chip:before{content:"󱤏"}.mdi-credit-card-chip-outline:before{content:"󱤐"}.mdi-credit-card-clock:before{content:"󰻡"}.mdi-credit-card-clock-outline:before{content:"󰻢"}.mdi-credit-card-edit:before{content:"󱟗"}.mdi-credit-card-edit-outline:before{content:"󱟘"}.mdi-credit-card-fast:before{content:"󱤑"}.mdi-credit-card-fast-outline:before{content:"󱤒"}.mdi-credit-card-lock:before{content:"󱣧"}.mdi-credit-card-lock-outline:before{content:"󱣨"}.mdi-credit-card-marker:before{content:"󰚨"}.mdi-credit-card-marker-outline:before{content:"󰶾"}.mdi-credit-card-minus:before{content:"󰾬"}.mdi-credit-card-minus-outline:before{content:"󰾭"}.mdi-credit-card-multiple:before{content:"󰿰"}.mdi-credit-card-multiple-outline:before{content:"󰆜"}.mdi-credit-card-off:before{content:"󰿱"}.mdi-credit-card-off-outline:before{content:"󰗤"}.mdi-credit-card-outline:before{content:"󰆛"}.mdi-credit-card-plus:before{content:"󰿲"}.mdi-credit-card-plus-outline:before{content:"󰙶"}.mdi-credit-card-refresh:before{content:"󱙅"}.mdi-credit-card-refresh-outline:before{content:"󱙆"}.mdi-credit-card-refund:before{content:"󰿳"}.mdi-credit-card-refund-outline:before{content:"󰪨"}.mdi-credit-card-remove:before{content:"󰾮"}.mdi-credit-card-remove-outline:before{content:"󰾯"}.mdi-credit-card-scan:before{content:"󰿴"}.mdi-credit-card-scan-outline:before{content:"󰆝"}.mdi-credit-card-search:before{content:"󱙇"}.mdi-credit-card-search-outline:before{content:"󱙈"}.mdi-credit-card-settings:before{content:"󰿵"}.mdi-credit-card-settings-outline:before{content:"󰣗"}.mdi-credit-card-sync:before{content:"󱙉"}.mdi-credit-card-sync-outline:before{content:"󱙊"}.mdi-credit-card-wireless:before{content:"󰠂"}.mdi-credit-card-wireless-off:before{content:"󰕺"}.mdi-credit-card-wireless-off-outline:before{content:"󰕻"}.mdi-credit-card-wireless-outline:before{content:"󰵬"}.mdi-cricket:before{content:"󰵭"}.mdi-crop:before{content:"󰆞"}.mdi-crop-free:before{content:"󰆟"}.mdi-crop-landscape:before{content:"󰆠"}.mdi-crop-portrait:before{content:"󰆡"}.mdi-crop-rotate:before{content:"󰚖"}.mdi-crop-square:before{content:"󰆢"}.mdi-cross:before{content:"󰥓"}.mdi-cross-bolnisi:before{content:"󰳭"}.mdi-cross-celtic:before{content:"󰳵"}.mdi-cross-outline:before{content:"󰳶"}.mdi-crosshairs:before{content:"󰆣"}.mdi-crosshairs-gps:before{content:"󰆤"}.mdi-crosshairs-off:before{content:"󰽅"}.mdi-crosshairs-question:before{content:"󱄶"}.mdi-crowd:before{content:"󱥵"}.mdi-crown:before{content:"󰆥"}.mdi-crown-circle:before{content:"󱟜"}.mdi-crown-circle-outline:before{content:"󱟝"}.mdi-crown-outline:before{content:"󱇐"}.mdi-cryengine:before{content:"󰥙"}.mdi-crystal-ball:before{content:"󰬯"}.mdi-cube:before{content:"󰆦"}.mdi-cube-off:before{content:"󱐜"}.mdi-cube-off-outline:before{content:"󱐝"}.mdi-cube-outline:before{content:"󰆧"}.mdi-cube-scan:before{content:"󰮄"}.mdi-cube-send:before{content:"󰆨"}.mdi-cube-unfolded:before{content:"󰆩"}.mdi-cup:before{content:"󰆪"}.mdi-cup-off:before{content:"󰗥"}.mdi-cup-off-outline:before{content:"󱍽"}.mdi-cup-outline:before{content:"󱌏"}.mdi-cup-water:before{content:"󰆫"}.mdi-cupboard:before{content:"󰽆"}.mdi-cupboard-outline:before{content:"󰽇"}.mdi-cupcake:before{content:"󰥚"}.mdi-curling:before{content:"󰡣"}.mdi-currency-bdt:before{content:"󰡤"}.mdi-currency-brl:before{content:"󰮅"}.mdi-currency-btc:before{content:"󰆬"}.mdi-currency-cny:before{content:"󰞺"}.mdi-currency-eth:before{content:"󰞻"}.mdi-currency-eur:before{content:"󰆭"}.mdi-currency-eur-off:before{content:"󱌕"}.mdi-currency-fra:before{content:"󱨹"}.mdi-currency-gbp:before{content:"󰆮"}.mdi-currency-ils:before{content:"󰱡"}.mdi-currency-inr:before{content:"󰆯"}.mdi-currency-jpy:before{content:"󰞼"}.mdi-currency-krw:before{content:"󰞽"}.mdi-currency-kzt:before{content:"󰡥"}.mdi-currency-mnt:before{content:"󱔒"}.mdi-currency-ngn:before{content:"󰆰"}.mdi-currency-php:before{content:"󰧦"}.mdi-currency-rial:before{content:"󰺜"}.mdi-currency-rub:before{content:"󰆱"}.mdi-currency-rupee:before{content:"󱥶"}.mdi-currency-sign:before{content:"󰞾"}.mdi-currency-thb:before{content:"󱰅"}.mdi-currency-try:before{content:"󰆲"}.mdi-currency-twd:before{content:"󰞿"}.mdi-currency-uah:before{content:"󱮛"}.mdi-currency-usd:before{content:"󰇁"}.mdi-currency-usd-off:before{content:"󰙺"}.mdi-current-ac:before{content:"󱒀"}.mdi-current-dc:before{content:"󰥜"}.mdi-cursor-default:before{content:"󰇀"}.mdi-cursor-default-click:before{content:"󰳽"}.mdi-cursor-default-click-outline:before{content:"󰳾"}.mdi-cursor-default-gesture:before{content:"󱄧"}.mdi-cursor-default-gesture-outline:before{content:"󱄨"}.mdi-cursor-default-outline:before{content:"󰆿"}.mdi-cursor-move:before{content:"󰆾"}.mdi-cursor-pointer:before{content:"󰆽"}.mdi-cursor-text:before{content:"󰗧"}.mdi-curtains:before{content:"󱡆"}.mdi-curtains-closed:before{content:"󱡇"}.mdi-cylinder:before{content:"󱥎"}.mdi-cylinder-off:before{content:"󱥏"}.mdi-dance-ballroom:before{content:"󱗻"}.mdi-dance-pole:before{content:"󱕸"}.mdi-data-matrix:before{content:"󱔼"}.mdi-data-matrix-edit:before{content:"󱔽"}.mdi-data-matrix-minus:before{content:"󱔾"}.mdi-data-matrix-plus:before{content:"󱔿"}.mdi-data-matrix-remove:before{content:"󱕀"}.mdi-data-matrix-scan:before{content:"󱕁"}.mdi-database:before{content:"󰆼"}.mdi-database-alert:before{content:"󱘺"}.mdi-database-alert-outline:before{content:"󱘤"}.mdi-database-arrow-down:before{content:"󱘻"}.mdi-database-arrow-down-outline:before{content:"󱘥"}.mdi-database-arrow-left:before{content:"󱘼"}.mdi-database-arrow-left-outline:before{content:"󱘦"}.mdi-database-arrow-right:before{content:"󱘽"}.mdi-database-arrow-right-outline:before{content:"󱘧"}.mdi-database-arrow-up:before{content:"󱘾"}.mdi-database-arrow-up-outline:before{content:"󱘨"}.mdi-database-check:before{content:"󰪩"}.mdi-database-check-outline:before{content:"󱘩"}.mdi-database-clock:before{content:"󱘿"}.mdi-database-clock-outline:before{content:"󱘪"}.mdi-database-cog:before{content:"󱙋"}.mdi-database-cog-outline:before{content:"󱙌"}.mdi-database-edit:before{content:"󰮆"}.mdi-database-edit-outline:before{content:"󱘫"}.mdi-database-export:before{content:"󰥞"}.mdi-database-export-outline:before{content:"󱘬"}.mdi-database-eye:before{content:"󱤟"}.mdi-database-eye-off:before{content:"󱤠"}.mdi-database-eye-off-outline:before{content:"󱤡"}.mdi-database-eye-outline:before{content:"󱤢"}.mdi-database-import:before{content:"󰥝"}.mdi-database-import-outline:before{content:"󱘭"}.mdi-database-lock:before{content:"󰪪"}.mdi-database-lock-outline:before{content:"󱘮"}.mdi-database-marker:before{content:"󱋶"}.mdi-database-marker-outline:before{content:"󱘯"}.mdi-database-minus:before{content:"󰆻"}.mdi-database-minus-outline:before{content:"󱘰"}.mdi-database-off:before{content:"󱙀"}.mdi-database-off-outline:before{content:"󱘱"}.mdi-database-outline:before{content:"󱘲"}.mdi-database-plus:before{content:"󰆺"}.mdi-database-plus-outline:before{content:"󱘳"}.mdi-database-refresh:before{content:"󰗂"}.mdi-database-refresh-outline:before{content:"󱘴"}.mdi-database-remove:before{content:"󰴀"}.mdi-database-remove-outline:before{content:"󱘵"}.mdi-database-search:before{content:"󰡦"}.mdi-database-search-outline:before{content:"󱘶"}.mdi-database-settings:before{content:"󰴁"}.mdi-database-settings-outline:before{content:"󱘷"}.mdi-database-sync:before{content:"󰳿"}.mdi-database-sync-outline:before{content:"󱘸"}.mdi-death-star:before{content:"󰣘"}.mdi-death-star-variant:before{content:"󰣙"}.mdi-deathly-hallows:before{content:"󰮇"}.mdi-debian:before{content:"󰣚"}.mdi-debug-step-into:before{content:"󰆹"}.mdi-debug-step-out:before{content:"󰆸"}.mdi-debug-step-over:before{content:"󰆷"}.mdi-decagram:before{content:"󰝬"}.mdi-decagram-outline:before{content:"󰝭"}.mdi-decimal:before{content:"󱂡"}.mdi-decimal-comma:before{content:"󱂢"}.mdi-decimal-comma-decrease:before{content:"󱂣"}.mdi-decimal-comma-increase:before{content:"󱂤"}.mdi-decimal-decrease:before{content:"󰆶"}.mdi-decimal-increase:before{content:"󰆵"}.mdi-delete:before{content:"󰆴"}.mdi-delete-alert:before{content:"󱂥"}.mdi-delete-alert-outline:before{content:"󱂦"}.mdi-delete-circle:before{content:"󰚃"}.mdi-delete-circle-outline:before{content:"󰮈"}.mdi-delete-clock:before{content:"󱕖"}.mdi-delete-clock-outline:before{content:"󱕗"}.mdi-delete-empty:before{content:"󰛌"}.mdi-delete-empty-outline:before{content:"󰺝"}.mdi-delete-forever:before{content:"󰗨"}.mdi-delete-forever-outline:before{content:"󰮉"}.mdi-delete-off:before{content:"󱂧"}.mdi-delete-off-outline:before{content:"󱂨"}.mdi-delete-outline:before{content:"󰧧"}.mdi-delete-restore:before{content:"󰠙"}.mdi-delete-sweep:before{content:"󰗩"}.mdi-delete-sweep-outline:before{content:"󰱢"}.mdi-delete-variant:before{content:"󰆳"}.mdi-delta:before{content:"󰇂"}.mdi-desk:before{content:"󱈹"}.mdi-desk-lamp:before{content:"󰥟"}.mdi-desk-lamp-off:before{content:"󱬟"}.mdi-desk-lamp-on:before{content:"󱬠"}.mdi-deskphone:before{content:"󰇃"}.mdi-desktop-classic:before{content:"󰟀"}.mdi-desktop-tower:before{content:"󰇅"}.mdi-desktop-tower-monitor:before{content:"󰪫"}.mdi-details:before{content:"󰇆"}.mdi-dev-to:before{content:"󰵮"}.mdi-developer-board:before{content:"󰚗"}.mdi-deviantart:before{content:"󰇇"}.mdi-devices:before{content:"󰾰"}.mdi-dharmachakra:before{content:"󰥋"}.mdi-diabetes:before{content:"󱄦"}.mdi-dialpad:before{content:"󰘜"}.mdi-diameter:before{content:"󰱣"}.mdi-diameter-outline:before{content:"󰱤"}.mdi-diameter-variant:before{content:"󰱥"}.mdi-diamond:before{content:"󰮊"}.mdi-diamond-outline:before{content:"󰮋"}.mdi-diamond-stone:before{content:"󰇈"}.mdi-dice-1:before{content:"󰇊"}.mdi-dice-1-outline:before{content:"󱅊"}.mdi-dice-2:before{content:"󰇋"}.mdi-dice-2-outline:before{content:"󱅋"}.mdi-dice-3:before{content:"󰇌"}.mdi-dice-3-outline:before{content:"󱅌"}.mdi-dice-4:before{content:"󰇍"}.mdi-dice-4-outline:before{content:"󱅍"}.mdi-dice-5:before{content:"󰇎"}.mdi-dice-5-outline:before{content:"󱅎"}.mdi-dice-6:before{content:"󰇏"}.mdi-dice-6-outline:before{content:"󱅏"}.mdi-dice-d10:before{content:"󱅓"}.mdi-dice-d10-outline:before{content:"󰝯"}.mdi-dice-d12:before{content:"󱅔"}.mdi-dice-d12-outline:before{content:"󰡧"}.mdi-dice-d20:before{content:"󱅕"}.mdi-dice-d20-outline:before{content:"󰗪"}.mdi-dice-d4:before{content:"󱅐"}.mdi-dice-d4-outline:before{content:"󰗫"}.mdi-dice-d6:before{content:"󱅑"}.mdi-dice-d6-outline:before{content:"󰗭"}.mdi-dice-d8:before{content:"󱅒"}.mdi-dice-d8-outline:before{content:"󰗬"}.mdi-dice-multiple:before{content:"󰝮"}.mdi-dice-multiple-outline:before{content:"󱅖"}.mdi-digital-ocean:before{content:"󱈷"}.mdi-dip-switch:before{content:"󰟁"}.mdi-directions:before{content:"󰇐"}.mdi-directions-fork:before{content:"󰙁"}.mdi-disc:before{content:"󰗮"}.mdi-disc-alert:before{content:"󰇑"}.mdi-disc-player:before{content:"󰥠"}.mdi-dishwasher:before{content:"󰪬"}.mdi-dishwasher-alert:before{content:"󱆸"}.mdi-dishwasher-off:before{content:"󱆹"}.mdi-disqus:before{content:"󰇒"}.mdi-distribute-horizontal-center:before{content:"󱇉"}.mdi-distribute-horizontal-left:before{content:"󱇈"}.mdi-distribute-horizontal-right:before{content:"󱇊"}.mdi-distribute-vertical-bottom:before{content:"󱇋"}.mdi-distribute-vertical-center:before{content:"󱇌"}.mdi-distribute-vertical-top:before{content:"󱇍"}.mdi-diversify:before{content:"󱡷"}.mdi-diving:before{content:"󱥷"}.mdi-diving-flippers:before{content:"󰶿"}.mdi-diving-helmet:before{content:"󰷀"}.mdi-diving-scuba:before{content:"󱭷"}.mdi-diving-scuba-flag:before{content:"󰷂"}.mdi-diving-scuba-mask:before{content:"󰷁"}.mdi-diving-scuba-tank:before{content:"󰷃"}.mdi-diving-scuba-tank-multiple:before{content:"󰷄"}.mdi-diving-snorkel:before{content:"󰷅"}.mdi-division:before{content:"󰇔"}.mdi-division-box:before{content:"󰇕"}.mdi-dlna:before{content:"󰩁"}.mdi-dna:before{content:"󰚄"}.mdi-dns:before{content:"󰇖"}.mdi-dns-outline:before{content:"󰮌"}.mdi-dock-bottom:before{content:"󱂩"}.mdi-dock-left:before{content:"󱂪"}.mdi-dock-right:before{content:"󱂫"}.mdi-dock-top:before{content:"󱔓"}.mdi-dock-window:before{content:"󱂬"}.mdi-docker:before{content:"󰡨"}.mdi-doctor:before{content:"󰩂"}.mdi-dog:before{content:"󰩃"}.mdi-dog-service:before{content:"󰪭"}.mdi-dog-side:before{content:"󰩄"}.mdi-dog-side-off:before{content:"󱛮"}.mdi-dolby:before{content:"󰚳"}.mdi-dolly:before{content:"󰺞"}.mdi-dolphin:before{content:"󱢴"}.mdi-domain:before{content:"󰇗"}.mdi-domain-off:before{content:"󰵯"}.mdi-domain-plus:before{content:"󱂭"}.mdi-domain-remove:before{content:"󱂮"}.mdi-domain-switch:before{content:"󱰬"}.mdi-dome-light:before{content:"󱐞"}.mdi-domino-mask:before{content:"󱀣"}.mdi-donkey:before{content:"󰟂"}.mdi-door:before{content:"󰠚"}.mdi-door-closed:before{content:"󰠛"}.mdi-door-closed-lock:before{content:"󱂯"}.mdi-door-open:before{content:"󰠜"}.mdi-door-sliding:before{content:"󱠞"}.mdi-door-sliding-lock:before{content:"󱠟"}.mdi-door-sliding-open:before{content:"󱠠"}.mdi-doorbell:before{content:"󱋦"}.mdi-doorbell-video:before{content:"󰡩"}.mdi-dot-net:before{content:"󰪮"}.mdi-dots-circle:before{content:"󱥸"}.mdi-dots-grid:before{content:"󱗼"}.mdi-dots-hexagon:before{content:"󱗿"}.mdi-dots-horizontal:before{content:"󰇘"}.mdi-dots-horizontal-circle:before{content:"󰟃"}.mdi-dots-horizontal-circle-outline:before{content:"󰮍"}.mdi-dots-square:before{content:"󱗽"}.mdi-dots-triangle:before{content:"󱗾"}.mdi-dots-vertical:before{content:"󰇙"}.mdi-dots-vertical-circle:before{content:"󰟄"}.mdi-dots-vertical-circle-outline:before{content:"󰮎"}.mdi-download:before{content:"󰇚"}.mdi-download-box:before{content:"󱑢"}.mdi-download-box-outline:before{content:"󱑣"}.mdi-download-circle:before{content:"󱑤"}.mdi-download-circle-outline:before{content:"󱑥"}.mdi-download-lock:before{content:"󱌠"}.mdi-download-lock-outline:before{content:"󱌡"}.mdi-download-multiple:before{content:"󰧩"}.mdi-download-network:before{content:"󰛴"}.mdi-download-network-outline:before{content:"󰱦"}.mdi-download-off:before{content:"󱂰"}.mdi-download-off-outline:before{content:"󱂱"}.mdi-download-outline:before{content:"󰮏"}.mdi-drag:before{content:"󰇛"}.mdi-drag-horizontal:before{content:"󰇜"}.mdi-drag-horizontal-variant:before{content:"󱋰"}.mdi-drag-variant:before{content:"󰮐"}.mdi-drag-vertical:before{content:"󰇝"}.mdi-drag-vertical-variant:before{content:"󱋱"}.mdi-drama-masks:before{content:"󰴂"}.mdi-draw:before{content:"󰽉"}.mdi-draw-pen:before{content:"󱦹"}.mdi-drawing:before{content:"󰇞"}.mdi-drawing-box:before{content:"󰇟"}.mdi-dresser:before{content:"󰽊"}.mdi-dresser-outline:before{content:"󰽋"}.mdi-drone:before{content:"󰇢"}.mdi-dropbox:before{content:"󰇣"}.mdi-drupal:before{content:"󰇤"}.mdi-duck:before{content:"󰇥"}.mdi-dumbbell:before{content:"󰇦"}.mdi-dump-truck:before{content:"󰱧"}.mdi-ear-hearing:before{content:"󰟅"}.mdi-ear-hearing-loop:before{content:"󱫮"}.mdi-ear-hearing-off:before{content:"󰩅"}.mdi-earbuds:before{content:"󱡏"}.mdi-earbuds-off:before{content:"󱡐"}.mdi-earbuds-off-outline:before{content:"󱡑"}.mdi-earbuds-outline:before{content:"󱡒"}.mdi-earth:before{content:"󰇧"}.mdi-earth-arrow-right:before{content:"󱌑"}.mdi-earth-box:before{content:"󰛍"}.mdi-earth-box-minus:before{content:"󱐇"}.mdi-earth-box-off:before{content:"󰛎"}.mdi-earth-box-plus:before{content:"󱐆"}.mdi-earth-box-remove:before{content:"󱐈"}.mdi-earth-minus:before{content:"󱐄"}.mdi-earth-off:before{content:"󰇨"}.mdi-earth-plus:before{content:"󱐃"}.mdi-earth-remove:before{content:"󱐅"}.mdi-egg:before{content:"󰪯"}.mdi-egg-easter:before{content:"󰪰"}.mdi-egg-fried:before{content:"󱡊"}.mdi-egg-off:before{content:"󱏰"}.mdi-egg-off-outline:before{content:"󱏱"}.mdi-egg-outline:before{content:"󱏲"}.mdi-eiffel-tower:before{content:"󱕫"}.mdi-eight-track:before{content:"󰧪"}.mdi-eject:before{content:"󰇪"}.mdi-eject-circle:before{content:"󱬣"}.mdi-eject-circle-outline:before{content:"󱬤"}.mdi-eject-outline:before{content:"󰮑"}.mdi-electric-switch:before{content:"󰺟"}.mdi-electric-switch-closed:before{content:"󱃙"}.mdi-electron-framework:before{content:"󱀤"}.mdi-elephant:before{content:"󰟆"}.mdi-elevation-decline:before{content:"󰇫"}.mdi-elevation-rise:before{content:"󰇬"}.mdi-elevator:before{content:"󰇭"}.mdi-elevator-down:before{content:"󱋂"}.mdi-elevator-passenger:before{content:"󱎁"}.mdi-elevator-passenger-off:before{content:"󱥹"}.mdi-elevator-passenger-off-outline:before{content:"󱥺"}.mdi-elevator-passenger-outline:before{content:"󱥻"}.mdi-elevator-up:before{content:"󱋁"}.mdi-ellipse:before{content:"󰺠"}.mdi-ellipse-outline:before{content:"󰺡"}.mdi-email:before{content:"󰇮"}.mdi-email-alert:before{content:"󰛏"}.mdi-email-alert-outline:before{content:"󰵂"}.mdi-email-arrow-left:before{content:"󱃚"}.mdi-email-arrow-left-outline:before{content:"󱃛"}.mdi-email-arrow-right:before{content:"󱃜"}.mdi-email-arrow-right-outline:before{content:"󱃝"}.mdi-email-box:before{content:"󰴃"}.mdi-email-check:before{content:"󰪱"}.mdi-email-check-outline:before{content:"󰪲"}.mdi-email-edit:before{content:"󰻣"}.mdi-email-edit-outline:before{content:"󰻤"}.mdi-email-fast:before{content:"󱡯"}.mdi-email-fast-outline:before{content:"󱡰"}.mdi-email-heart-outline:before{content:"󱱛"}.mdi-email-lock:before{content:"󰇱"}.mdi-email-lock-outline:before{content:"󱭡"}.mdi-email-mark-as-unread:before{content:"󰮒"}.mdi-email-minus:before{content:"󰻥"}.mdi-email-minus-outline:before{content:"󰻦"}.mdi-email-multiple:before{content:"󰻧"}.mdi-email-multiple-outline:before{content:"󰻨"}.mdi-email-newsletter:before{content:"󰾱"}.mdi-email-off:before{content:"󱏣"}.mdi-email-off-outline:before{content:"󱏤"}.mdi-email-open:before{content:"󰇯"}.mdi-email-open-heart-outline:before{content:"󱱜"}.mdi-email-open-multiple:before{content:"󰻩"}.mdi-email-open-multiple-outline:before{content:"󰻪"}.mdi-email-open-outline:before{content:"󰗯"}.mdi-email-outline:before{content:"󰇰"}.mdi-email-plus:before{content:"󰧫"}.mdi-email-plus-outline:before{content:"󰧬"}.mdi-email-remove:before{content:"󱙡"}.mdi-email-remove-outline:before{content:"󱙢"}.mdi-email-seal:before{content:"󱥛"}.mdi-email-seal-outline:before{content:"󱥜"}.mdi-email-search:before{content:"󰥡"}.mdi-email-search-outline:before{content:"󰥢"}.mdi-email-sync:before{content:"󱋇"}.mdi-email-sync-outline:before{content:"󱋈"}.mdi-email-variant:before{content:"󰗰"}.mdi-ember:before{content:"󰬰"}.mdi-emby:before{content:"󰚴"}.mdi-emoticon:before{content:"󰱨"}.mdi-emoticon-angry:before{content:"󰱩"}.mdi-emoticon-angry-outline:before{content:"󰱪"}.mdi-emoticon-confused:before{content:"󱃞"}.mdi-emoticon-confused-outline:before{content:"󱃟"}.mdi-emoticon-cool:before{content:"󰱫"}.mdi-emoticon-cool-outline:before{content:"󰇳"}.mdi-emoticon-cry:before{content:"󰱬"}.mdi-emoticon-cry-outline:before{content:"󰱭"}.mdi-emoticon-dead:before{content:"󰱮"}.mdi-emoticon-dead-outline:before{content:"󰚛"}.mdi-emoticon-devil:before{content:"󰱯"}.mdi-emoticon-devil-outline:before{content:"󰇴"}.mdi-emoticon-excited:before{content:"󰱰"}.mdi-emoticon-excited-outline:before{content:"󰚜"}.mdi-emoticon-frown:before{content:"󰽌"}.mdi-emoticon-frown-outline:before{content:"󰽍"}.mdi-emoticon-happy:before{content:"󰱱"}.mdi-emoticon-happy-outline:before{content:"󰇵"}.mdi-emoticon-kiss:before{content:"󰱲"}.mdi-emoticon-kiss-outline:before{content:"󰱳"}.mdi-emoticon-lol:before{content:"󱈔"}.mdi-emoticon-lol-outline:before{content:"󱈕"}.mdi-emoticon-neutral:before{content:"󰱴"}.mdi-emoticon-neutral-outline:before{content:"󰇶"}.mdi-emoticon-outline:before{content:"󰇲"}.mdi-emoticon-poop:before{content:"󰇷"}.mdi-emoticon-poop-outline:before{content:"󰱵"}.mdi-emoticon-sad:before{content:"󰱶"}.mdi-emoticon-sad-outline:before{content:"󰇸"}.mdi-emoticon-sick:before{content:"󱕼"}.mdi-emoticon-sick-outline:before{content:"󱕽"}.mdi-emoticon-tongue:before{content:"󰇹"}.mdi-emoticon-tongue-outline:before{content:"󰱷"}.mdi-emoticon-wink:before{content:"󰱸"}.mdi-emoticon-wink-outline:before{content:"󰱹"}.mdi-engine:before{content:"󰇺"}.mdi-engine-off:before{content:"󰩆"}.mdi-engine-off-outline:before{content:"󰩇"}.mdi-engine-outline:before{content:"󰇻"}.mdi-epsilon:before{content:"󱃠"}.mdi-equal:before{content:"󰇼"}.mdi-equal-box:before{content:"󰇽"}.mdi-equalizer:before{content:"󰺢"}.mdi-equalizer-outline:before{content:"󰺣"}.mdi-eraser:before{content:"󰇾"}.mdi-eraser-variant:before{content:"󰙂"}.mdi-escalator:before{content:"󰇿"}.mdi-escalator-box:before{content:"󱎙"}.mdi-escalator-down:before{content:"󱋀"}.mdi-escalator-up:before{content:"󱊿"}.mdi-eslint:before{content:"󰱺"}.mdi-et:before{content:"󰪳"}.mdi-ethereum:before{content:"󰡪"}.mdi-ethernet:before{content:"󰈀"}.mdi-ethernet-cable:before{content:"󰈁"}.mdi-ethernet-cable-off:before{content:"󰈂"}.mdi-ev-plug-ccs1:before{content:"󱔙"}.mdi-ev-plug-ccs2:before{content:"󱔚"}.mdi-ev-plug-chademo:before{content:"󱔛"}.mdi-ev-plug-tesla:before{content:"󱔜"}.mdi-ev-plug-type1:before{content:"󱔝"}.mdi-ev-plug-type2:before{content:"󱔞"}.mdi-ev-station:before{content:"󰗱"}.mdi-evernote:before{content:"󰈄"}.mdi-excavator:before{content:"󱀥"}.mdi-exclamation:before{content:"󰈅"}.mdi-exclamation-thick:before{content:"󱈸"}.mdi-exit-run:before{content:"󰩈"}.mdi-exit-to-app:before{content:"󰈆"}.mdi-expand-all:before{content:"󰪴"}.mdi-expand-all-outline:before{content:"󰪵"}.mdi-expansion-card:before{content:"󰢮"}.mdi-expansion-card-variant:before{content:"󰾲"}.mdi-exponent:before{content:"󰥣"}.mdi-exponent-box:before{content:"󰥤"}.mdi-export:before{content:"󰈇"}.mdi-export-variant:before{content:"󰮓"}.mdi-eye:before{content:"󰈈"}.mdi-eye-arrow-left:before{content:"󱣽"}.mdi-eye-arrow-left-outline:before{content:"󱣾"}.mdi-eye-arrow-right:before{content:"󱣿"}.mdi-eye-arrow-right-outline:before{content:"󱤀"}.mdi-eye-check:before{content:"󰴄"}.mdi-eye-check-outline:before{content:"󰴅"}.mdi-eye-circle:before{content:"󰮔"}.mdi-eye-circle-outline:before{content:"󰮕"}.mdi-eye-lock:before{content:"󱰆"}.mdi-eye-lock-open:before{content:"󱰇"}.mdi-eye-lock-open-outline:before{content:"󱰈"}.mdi-eye-lock-outline:before{content:"󱰉"}.mdi-eye-minus:before{content:"󱀦"}.mdi-eye-minus-outline:before{content:"󱀧"}.mdi-eye-off:before{content:"󰈉"}.mdi-eye-off-outline:before{content:"󰛑"}.mdi-eye-outline:before{content:"󰛐"}.mdi-eye-plus:before{content:"󰡫"}.mdi-eye-plus-outline:before{content:"󰡬"}.mdi-eye-refresh:before{content:"󱥼"}.mdi-eye-refresh-outline:before{content:"󱥽"}.mdi-eye-remove:before{content:"󱗣"}.mdi-eye-remove-outline:before{content:"󱗤"}.mdi-eye-settings:before{content:"󰡭"}.mdi-eye-settings-outline:before{content:"󰡮"}.mdi-eyedropper:before{content:"󰈊"}.mdi-eyedropper-minus:before{content:"󱏝"}.mdi-eyedropper-off:before{content:"󱏟"}.mdi-eyedropper-plus:before{content:"󱏜"}.mdi-eyedropper-remove:before{content:"󱏞"}.mdi-eyedropper-variant:before{content:"󰈋"}.mdi-face-agent:before{content:"󰵰"}.mdi-face-man:before{content:"󰙃"}.mdi-face-man-outline:before{content:"󰮖"}.mdi-face-man-profile:before{content:"󰙄"}.mdi-face-man-shimmer:before{content:"󱗌"}.mdi-face-man-shimmer-outline:before{content:"󱗍"}.mdi-face-mask:before{content:"󱖆"}.mdi-face-mask-outline:before{content:"󱖇"}.mdi-face-recognition:before{content:"󰱻"}.mdi-face-woman:before{content:"󱁷"}.mdi-face-woman-outline:before{content:"󱁸"}.mdi-face-woman-profile:before{content:"󱁶"}.mdi-face-woman-shimmer:before{content:"󱗎"}.mdi-face-woman-shimmer-outline:before{content:"󱗏"}.mdi-facebook:before{content:"󰈌"}.mdi-facebook-gaming:before{content:"󰟝"}.mdi-facebook-messenger:before{content:"󰈎"}.mdi-facebook-workplace:before{content:"󰬱"}.mdi-factory:before{content:"󰈏"}.mdi-family-tree:before{content:"󱘎"}.mdi-fan:before{content:"󰈐"}.mdi-fan-alert:before{content:"󱑬"}.mdi-fan-auto:before{content:"󱜝"}.mdi-fan-chevron-down:before{content:"󱑭"}.mdi-fan-chevron-up:before{content:"󱑮"}.mdi-fan-clock:before{content:"󱨺"}.mdi-fan-minus:before{content:"󱑰"}.mdi-fan-off:before{content:"󰠝"}.mdi-fan-plus:before{content:"󱑯"}.mdi-fan-remove:before{content:"󱑱"}.mdi-fan-speed-1:before{content:"󱑲"}.mdi-fan-speed-2:before{content:"󱑳"}.mdi-fan-speed-3:before{content:"󱑴"}.mdi-fast-forward:before{content:"󰈑"}.mdi-fast-forward-10:before{content:"󰵱"}.mdi-fast-forward-15:before{content:"󱤺"}.mdi-fast-forward-30:before{content:"󰴆"}.mdi-fast-forward-45:before{content:"󱬒"}.mdi-fast-forward-5:before{content:"󱇸"}.mdi-fast-forward-60:before{content:"󱘋"}.mdi-fast-forward-outline:before{content:"󰛒"}.mdi-faucet:before{content:"󱬩"}.mdi-faucet-variant:before{content:"󱬪"}.mdi-fax:before{content:"󰈒"}.mdi-feather:before{content:"󰛓"}.mdi-feature-search:before{content:"󰩉"}.mdi-feature-search-outline:before{content:"󰩊"}.mdi-fedora:before{content:"󰣛"}.mdi-fence:before{content:"󱞚"}.mdi-fence-electric:before{content:"󱟶"}.mdi-fencing:before{content:"󱓁"}.mdi-ferris-wheel:before{content:"󰺤"}.mdi-ferry:before{content:"󰈓"}.mdi-file:before{content:"󰈔"}.mdi-file-account:before{content:"󰜻"}.mdi-file-account-outline:before{content:"󱀨"}.mdi-file-alert:before{content:"󰩋"}.mdi-file-alert-outline:before{content:"󰩌"}.mdi-file-arrow-left-right:before{content:"󱪓"}.mdi-file-arrow-left-right-outline:before{content:"󱪔"}.mdi-file-arrow-up-down:before{content:"󱪕"}.mdi-file-arrow-up-down-outline:before{content:"󱪖"}.mdi-file-cabinet:before{content:"󰪶"}.mdi-file-cad:before{content:"󰻫"}.mdi-file-cad-box:before{content:"󰻬"}.mdi-file-cancel:before{content:"󰷆"}.mdi-file-cancel-outline:before{content:"󰷇"}.mdi-file-certificate:before{content:"󱆆"}.mdi-file-certificate-outline:before{content:"󱆇"}.mdi-file-chart:before{content:"󰈕"}.mdi-file-chart-check:before{content:"󱧆"}.mdi-file-chart-check-outline:before{content:"󱧇"}.mdi-file-chart-outline:before{content:"󱀩"}.mdi-file-check:before{content:"󰈖"}.mdi-file-check-outline:before{content:"󰸩"}.mdi-file-clock:before{content:"󱋡"}.mdi-file-clock-outline:before{content:"󱋢"}.mdi-file-cloud:before{content:"󰈗"}.mdi-file-cloud-outline:before{content:"󱀪"}.mdi-file-code:before{content:"󰈮"}.mdi-file-code-outline:before{content:"󱀫"}.mdi-file-cog:before{content:"󱁻"}.mdi-file-cog-outline:before{content:"󱁼"}.mdi-file-compare:before{content:"󰢪"}.mdi-file-delimited:before{content:"󰈘"}.mdi-file-delimited-outline:before{content:"󰺥"}.mdi-file-document:before{content:"󰈙"}.mdi-file-document-alert:before{content:"󱪗"}.mdi-file-document-alert-outline:before{content:"󱪘"}.mdi-file-document-arrow-right:before{content:"󱰏"}.mdi-file-document-arrow-right-outline:before{content:"󱰐"}.mdi-file-document-check:before{content:"󱪙"}.mdi-file-document-check-outline:before{content:"󱪚"}.mdi-file-document-edit:before{content:"󰷈"}.mdi-file-document-edit-outline:before{content:"󰷉"}.mdi-file-document-minus:before{content:"󱪛"}.mdi-file-document-minus-outline:before{content:"󱪜"}.mdi-file-document-multiple:before{content:"󱔗"}.mdi-file-document-multiple-outline:before{content:"󱔘"}.mdi-file-document-outline:before{content:"󰧮"}.mdi-file-document-plus:before{content:"󱪝"}.mdi-file-document-plus-outline:before{content:"󱪞"}.mdi-file-document-refresh:before{content:"󱱺"}.mdi-file-document-refresh-outline:before{content:"󱱻"}.mdi-file-document-remove:before{content:"󱪟"}.mdi-file-document-remove-outline:before{content:"󱪠"}.mdi-file-download:before{content:"󰥥"}.mdi-file-download-outline:before{content:"󰥦"}.mdi-file-edit:before{content:"󱇧"}.mdi-file-edit-outline:before{content:"󱇨"}.mdi-file-excel:before{content:"󰈛"}.mdi-file-excel-box:before{content:"󰈜"}.mdi-file-excel-box-outline:before{content:"󱀬"}.mdi-file-excel-outline:before{content:"󱀭"}.mdi-file-export:before{content:"󰈝"}.mdi-file-export-outline:before{content:"󱀮"}.mdi-file-eye:before{content:"󰷊"}.mdi-file-eye-outline:before{content:"󰷋"}.mdi-file-find:before{content:"󰈞"}.mdi-file-find-outline:before{content:"󰮗"}.mdi-file-gif-box:before{content:"󰵸"}.mdi-file-hidden:before{content:"󰘓"}.mdi-file-image:before{content:"󰈟"}.mdi-file-image-marker:before{content:"󱝲"}.mdi-file-image-marker-outline:before{content:"󱝳"}.mdi-file-image-minus:before{content:"󱤻"}.mdi-file-image-minus-outline:before{content:"󱤼"}.mdi-file-image-outline:before{content:"󰺰"}.mdi-file-image-plus:before{content:"󱤽"}.mdi-file-image-plus-outline:before{content:"󱤾"}.mdi-file-image-remove:before{content:"󱤿"}.mdi-file-image-remove-outline:before{content:"󱥀"}.mdi-file-import:before{content:"󰈠"}.mdi-file-import-outline:before{content:"󱀯"}.mdi-file-jpg-box:before{content:"󰈥"}.mdi-file-key:before{content:"󱆄"}.mdi-file-key-outline:before{content:"󱆅"}.mdi-file-link:before{content:"󱅷"}.mdi-file-link-outline:before{content:"󱅸"}.mdi-file-lock:before{content:"󰈡"}.mdi-file-lock-open:before{content:"󱧈"}.mdi-file-lock-open-outline:before{content:"󱧉"}.mdi-file-lock-outline:before{content:"󱀰"}.mdi-file-marker:before{content:"󱝴"}.mdi-file-marker-outline:before{content:"󱝵"}.mdi-file-minus:before{content:"󱪡"}.mdi-file-minus-outline:before{content:"󱪢"}.mdi-file-move:before{content:"󰪹"}.mdi-file-move-outline:before{content:"󱀱"}.mdi-file-multiple:before{content:"󰈢"}.mdi-file-multiple-outline:before{content:"󱀲"}.mdi-file-music:before{content:"󰈣"}.mdi-file-music-outline:before{content:"󰸪"}.mdi-file-outline:before{content:"󰈤"}.mdi-file-pdf-box:before{content:"󰈦"}.mdi-file-percent:before{content:"󰠞"}.mdi-file-percent-outline:before{content:"󱀳"}.mdi-file-phone:before{content:"󱅹"}.mdi-file-phone-outline:before{content:"󱅺"}.mdi-file-plus:before{content:"󰝒"}.mdi-file-plus-outline:before{content:"󰻭"}.mdi-file-png-box:before{content:"󰸭"}.mdi-file-powerpoint:before{content:"󰈧"}.mdi-file-powerpoint-box:before{content:"󰈨"}.mdi-file-powerpoint-box-outline:before{content:"󱀴"}.mdi-file-powerpoint-outline:before{content:"󱀵"}.mdi-file-presentation-box:before{content:"󰈩"}.mdi-file-question:before{content:"󰡯"}.mdi-file-question-outline:before{content:"󱀶"}.mdi-file-refresh:before{content:"󰤘"}.mdi-file-refresh-outline:before{content:"󰕁"}.mdi-file-remove:before{content:"󰮘"}.mdi-file-remove-outline:before{content:"󱀷"}.mdi-file-replace:before{content:"󰬲"}.mdi-file-replace-outline:before{content:"󰬳"}.mdi-file-restore:before{content:"󰙰"}.mdi-file-restore-outline:before{content:"󱀸"}.mdi-file-rotate-left:before{content:"󱨻"}.mdi-file-rotate-left-outline:before{content:"󱨼"}.mdi-file-rotate-right:before{content:"󱨽"}.mdi-file-rotate-right-outline:before{content:"󱨾"}.mdi-file-search:before{content:"󰱼"}.mdi-file-search-outline:before{content:"󰱽"}.mdi-file-send:before{content:"󰈪"}.mdi-file-send-outline:before{content:"󱀹"}.mdi-file-settings:before{content:"󱁹"}.mdi-file-settings-outline:before{content:"󱁺"}.mdi-file-sign:before{content:"󱧃"}.mdi-file-star:before{content:"󱀺"}.mdi-file-star-four-points:before{content:"󱰭"}.mdi-file-star-four-points-outline:before{content:"󱰮"}.mdi-file-star-outline:before{content:"󱀻"}.mdi-file-swap:before{content:"󰾴"}.mdi-file-swap-outline:before{content:"󰾵"}.mdi-file-sync:before{content:"󱈖"}.mdi-file-sync-outline:before{content:"󱈗"}.mdi-file-table:before{content:"󰱾"}.mdi-file-table-box:before{content:"󱃡"}.mdi-file-table-box-multiple:before{content:"󱃢"}.mdi-file-table-box-multiple-outline:before{content:"󱃣"}.mdi-file-table-box-outline:before{content:"󱃤"}.mdi-file-table-outline:before{content:"󰱿"}.mdi-file-tree:before{content:"󰙅"}.mdi-file-tree-outline:before{content:"󱏒"}.mdi-file-undo:before{content:"󰣜"}.mdi-file-undo-outline:before{content:"󱀼"}.mdi-file-upload:before{content:"󰩍"}.mdi-file-upload-outline:before{content:"󰩎"}.mdi-file-video:before{content:"󰈫"}.mdi-file-video-outline:before{content:"󰸬"}.mdi-file-word:before{content:"󰈬"}.mdi-file-word-box:before{content:"󰈭"}.mdi-file-word-box-outline:before{content:"󱀽"}.mdi-file-word-outline:before{content:"󱀾"}.mdi-file-xml-box:before{content:"󱭋"}.mdi-film:before{content:"󰈯"}.mdi-filmstrip:before{content:"󰈰"}.mdi-filmstrip-box:before{content:"󰌲"}.mdi-filmstrip-box-multiple:before{content:"󰴘"}.mdi-filmstrip-off:before{content:"󰈱"}.mdi-filter:before{content:"󰈲"}.mdi-filter-check:before{content:"󱣬"}.mdi-filter-check-outline:before{content:"󱣭"}.mdi-filter-cog:before{content:"󱪣"}.mdi-filter-cog-outline:before{content:"󱪤"}.mdi-filter-menu:before{content:"󱃥"}.mdi-filter-menu-outline:before{content:"󱃦"}.mdi-filter-minus:before{content:"󰻮"}.mdi-filter-minus-outline:before{content:"󰻯"}.mdi-filter-multiple:before{content:"󱨿"}.mdi-filter-multiple-outline:before{content:"󱩀"}.mdi-filter-off:before{content:"󱓯"}.mdi-filter-off-outline:before{content:"󱓰"}.mdi-filter-outline:before{content:"󰈳"}.mdi-filter-plus:before{content:"󰻰"}.mdi-filter-plus-outline:before{content:"󰻱"}.mdi-filter-remove:before{content:"󰈴"}.mdi-filter-remove-outline:before{content:"󰈵"}.mdi-filter-settings:before{content:"󱪥"}.mdi-filter-settings-outline:before{content:"󱪦"}.mdi-filter-variant:before{content:"󰈶"}.mdi-filter-variant-minus:before{content:"󱄒"}.mdi-filter-variant-plus:before{content:"󱄓"}.mdi-filter-variant-remove:before{content:"󱀿"}.mdi-finance:before{content:"󰠟"}.mdi-find-replace:before{content:"󰛔"}.mdi-fingerprint:before{content:"󰈷"}.mdi-fingerprint-off:before{content:"󰺱"}.mdi-fire:before{content:"󰈸"}.mdi-fire-alert:before{content:"󱗗"}.mdi-fire-circle:before{content:"󱠇"}.mdi-fire-extinguisher:before{content:"󰻲"}.mdi-fire-hydrant:before{content:"󱄷"}.mdi-fire-hydrant-alert:before{content:"󱄸"}.mdi-fire-hydrant-off:before{content:"󱄹"}.mdi-fire-off:before{content:"󱜢"}.mdi-fire-truck:before{content:"󰢫"}.mdi-firebase:before{content:"󰥧"}.mdi-firefox:before{content:"󰈹"}.mdi-fireplace:before{content:"󰸮"}.mdi-fireplace-off:before{content:"󰸯"}.mdi-firewire:before{content:"󰖾"}.mdi-firework:before{content:"󰸰"}.mdi-firework-off:before{content:"󱜣"}.mdi-fish:before{content:"󰈺"}.mdi-fish-off:before{content:"󱏳"}.mdi-fishbowl:before{content:"󰻳"}.mdi-fishbowl-outline:before{content:"󰻴"}.mdi-fit-to-page:before{content:"󰻵"}.mdi-fit-to-page-outline:before{content:"󰻶"}.mdi-fit-to-screen:before{content:"󱣴"}.mdi-fit-to-screen-outline:before{content:"󱣵"}.mdi-flag:before{content:"󰈻"}.mdi-flag-checkered:before{content:"󰈼"}.mdi-flag-minus:before{content:"󰮙"}.mdi-flag-minus-outline:before{content:"󱂲"}.mdi-flag-off:before{content:"󱣮"}.mdi-flag-off-outline:before{content:"󱣯"}.mdi-flag-outline:before{content:"󰈽"}.mdi-flag-plus:before{content:"󰮚"}.mdi-flag-plus-outline:before{content:"󱂳"}.mdi-flag-remove:before{content:"󰮛"}.mdi-flag-remove-outline:before{content:"󱂴"}.mdi-flag-triangle:before{content:"󰈿"}.mdi-flag-variant:before{content:"󰉀"}.mdi-flag-variant-minus:before{content:"󱮴"}.mdi-flag-variant-minus-outline:before{content:"󱮵"}.mdi-flag-variant-off:before{content:"󱮰"}.mdi-flag-variant-off-outline:before{content:"󱮱"}.mdi-flag-variant-outline:before{content:"󰈾"}.mdi-flag-variant-plus:before{content:"󱮲"}.mdi-flag-variant-plus-outline:before{content:"󱮳"}.mdi-flag-variant-remove:before{content:"󱮶"}.mdi-flag-variant-remove-outline:before{content:"󱮷"}.mdi-flare:before{content:"󰵲"}.mdi-flash:before{content:"󰉁"}.mdi-flash-alert:before{content:"󰻷"}.mdi-flash-alert-outline:before{content:"󰻸"}.mdi-flash-auto:before{content:"󰉂"}.mdi-flash-off:before{content:"󰉃"}.mdi-flash-off-outline:before{content:"󱭅"}.mdi-flash-outline:before{content:"󰛕"}.mdi-flash-red-eye:before{content:"󰙻"}.mdi-flash-triangle:before{content:"󱬝"}.mdi-flash-triangle-outline:before{content:"󱬞"}.mdi-flashlight:before{content:"󰉄"}.mdi-flashlight-off:before{content:"󰉅"}.mdi-flask:before{content:"󰂓"}.mdi-flask-empty:before{content:"󰂔"}.mdi-flask-empty-minus:before{content:"󱈺"}.mdi-flask-empty-minus-outline:before{content:"󱈻"}.mdi-flask-empty-off:before{content:"󱏴"}.mdi-flask-empty-off-outline:before{content:"󱏵"}.mdi-flask-empty-outline:before{content:"󰂕"}.mdi-flask-empty-plus:before{content:"󱈼"}.mdi-flask-empty-plus-outline:before{content:"󱈽"}.mdi-flask-empty-remove:before{content:"󱈾"}.mdi-flask-empty-remove-outline:before{content:"󱈿"}.mdi-flask-minus:before{content:"󱉀"}.mdi-flask-minus-outline:before{content:"󱉁"}.mdi-flask-off:before{content:"󱏶"}.mdi-flask-off-outline:before{content:"󱏷"}.mdi-flask-outline:before{content:"󰂖"}.mdi-flask-plus:before{content:"󱉂"}.mdi-flask-plus-outline:before{content:"󱉃"}.mdi-flask-remove:before{content:"󱉄"}.mdi-flask-remove-outline:before{content:"󱉅"}.mdi-flask-round-bottom:before{content:"󱉋"}.mdi-flask-round-bottom-empty:before{content:"󱉌"}.mdi-flask-round-bottom-empty-outline:before{content:"󱉍"}.mdi-flask-round-bottom-outline:before{content:"󱉎"}.mdi-fleur-de-lis:before{content:"󱌃"}.mdi-flip-horizontal:before{content:"󱃧"}.mdi-flip-to-back:before{content:"󰉇"}.mdi-flip-to-front:before{content:"󰉈"}.mdi-flip-vertical:before{content:"󱃨"}.mdi-floor-lamp:before{content:"󰣝"}.mdi-floor-lamp-dual:before{content:"󱁀"}.mdi-floor-lamp-dual-outline:before{content:"󱟎"}.mdi-floor-lamp-outline:before{content:"󱟈"}.mdi-floor-lamp-torchiere:before{content:"󱝇"}.mdi-floor-lamp-torchiere-outline:before{content:"󱟖"}.mdi-floor-lamp-torchiere-variant:before{content:"󱁁"}.mdi-floor-lamp-torchiere-variant-outline:before{content:"󱟏"}.mdi-floor-plan:before{content:"󰠡"}.mdi-floppy:before{content:"󰉉"}.mdi-floppy-variant:before{content:"󰧯"}.mdi-flower:before{content:"󰉊"}.mdi-flower-outline:before{content:"󰧰"}.mdi-flower-pollen:before{content:"󱢅"}.mdi-flower-pollen-outline:before{content:"󱢆"}.mdi-flower-poppy:before{content:"󰴈"}.mdi-flower-tulip:before{content:"󰧱"}.mdi-flower-tulip-outline:before{content:"󰧲"}.mdi-focus-auto:before{content:"󰽎"}.mdi-focus-field:before{content:"󰽏"}.mdi-focus-field-horizontal:before{content:"󰽐"}.mdi-focus-field-vertical:before{content:"󰽑"}.mdi-folder:before{content:"󰉋"}.mdi-folder-account:before{content:"󰉌"}.mdi-folder-account-outline:before{content:"󰮜"}.mdi-folder-alert:before{content:"󰷌"}.mdi-folder-alert-outline:before{content:"󰷍"}.mdi-folder-arrow-down:before{content:"󱧨"}.mdi-folder-arrow-down-outline:before{content:"󱧩"}.mdi-folder-arrow-left:before{content:"󱧪"}.mdi-folder-arrow-left-outline:before{content:"󱧫"}.mdi-folder-arrow-left-right:before{content:"󱧬"}.mdi-folder-arrow-left-right-outline:before{content:"󱧭"}.mdi-folder-arrow-right:before{content:"󱧮"}.mdi-folder-arrow-right-outline:before{content:"󱧯"}.mdi-folder-arrow-up:before{content:"󱧰"}.mdi-folder-arrow-up-down:before{content:"󱧱"}.mdi-folder-arrow-up-down-outline:before{content:"󱧲"}.mdi-folder-arrow-up-outline:before{content:"󱧳"}.mdi-folder-cancel:before{content:"󱧴"}.mdi-folder-cancel-outline:before{content:"󱧵"}.mdi-folder-check:before{content:"󱥾"}.mdi-folder-check-outline:before{content:"󱥿"}.mdi-folder-clock:before{content:"󰪺"}.mdi-folder-clock-outline:before{content:"󰪻"}.mdi-folder-cog:before{content:"󱁿"}.mdi-folder-cog-outline:before{content:"󱂀"}.mdi-folder-download:before{content:"󰉍"}.mdi-folder-download-outline:before{content:"󱃩"}.mdi-folder-edit:before{content:"󰣞"}.mdi-folder-edit-outline:before{content:"󰷎"}.mdi-folder-eye:before{content:"󱞊"}.mdi-folder-eye-outline:before{content:"󱞋"}.mdi-folder-file:before{content:"󱧶"}.mdi-folder-file-outline:before{content:"󱧷"}.mdi-folder-google-drive:before{content:"󰉎"}.mdi-folder-heart:before{content:"󱃪"}.mdi-folder-heart-outline:before{content:"󱃫"}.mdi-folder-hidden:before{content:"󱞞"}.mdi-folder-home:before{content:"󱂵"}.mdi-folder-home-outline:before{content:"󱂶"}.mdi-folder-image:before{content:"󰉏"}.mdi-folder-information:before{content:"󱂷"}.mdi-folder-information-outline:before{content:"󱂸"}.mdi-folder-key:before{content:"󰢬"}.mdi-folder-key-network:before{content:"󰢭"}.mdi-folder-key-network-outline:before{content:"󰲀"}.mdi-folder-key-outline:before{content:"󱃬"}.mdi-folder-lock:before{content:"󰉐"}.mdi-folder-lock-open:before{content:"󰉑"}.mdi-folder-lock-open-outline:before{content:"󱪧"}.mdi-folder-lock-outline:before{content:"󱪨"}.mdi-folder-marker:before{content:"󱉭"}.mdi-folder-marker-outline:before{content:"󱉮"}.mdi-folder-minus:before{content:"󱭉"}.mdi-folder-minus-outline:before{content:"󱭊"}.mdi-folder-move:before{content:"󰉒"}.mdi-folder-move-outline:before{content:"󱉆"}.mdi-folder-multiple:before{content:"󰉓"}.mdi-folder-multiple-image:before{content:"󰉔"}.mdi-folder-multiple-outline:before{content:"󰉕"}.mdi-folder-multiple-plus:before{content:"󱑾"}.mdi-folder-multiple-plus-outline:before{content:"󱑿"}.mdi-folder-music:before{content:"󱍙"}.mdi-folder-music-outline:before{content:"󱍚"}.mdi-folder-network:before{content:"󰡰"}.mdi-folder-network-outline:before{content:"󰲁"}.mdi-folder-off:before{content:"󱧸"}.mdi-folder-off-outline:before{content:"󱧹"}.mdi-folder-open:before{content:"󰝰"}.mdi-folder-open-outline:before{content:"󰷏"}.mdi-folder-outline:before{content:"󰉖"}.mdi-folder-play:before{content:"󱧺"}.mdi-folder-play-outline:before{content:"󱧻"}.mdi-folder-plus:before{content:"󰉗"}.mdi-folder-plus-outline:before{content:"󰮝"}.mdi-folder-pound:before{content:"󰴉"}.mdi-folder-pound-outline:before{content:"󰴊"}.mdi-folder-question:before{content:"󱧊"}.mdi-folder-question-outline:before{content:"󱧋"}.mdi-folder-refresh:before{content:"󰝉"}.mdi-folder-refresh-outline:before{content:"󰕂"}.mdi-folder-remove:before{content:"󰉘"}.mdi-folder-remove-outline:before{content:"󰮞"}.mdi-folder-search:before{content:"󰥨"}.mdi-folder-search-outline:before{content:"󰥩"}.mdi-folder-settings:before{content:"󱁽"}.mdi-folder-settings-outline:before{content:"󱁾"}.mdi-folder-star:before{content:"󰚝"}.mdi-folder-star-multiple:before{content:"󱏓"}.mdi-folder-star-multiple-outline:before{content:"󱏔"}.mdi-folder-star-outline:before{content:"󰮟"}.mdi-folder-swap:before{content:"󰾶"}.mdi-folder-swap-outline:before{content:"󰾷"}.mdi-folder-sync:before{content:"󰴋"}.mdi-folder-sync-outline:before{content:"󰴌"}.mdi-folder-table:before{content:"󱋣"}.mdi-folder-table-outline:before{content:"󱋤"}.mdi-folder-text:before{content:"󰲂"}.mdi-folder-text-outline:before{content:"󰲃"}.mdi-folder-upload:before{content:"󰉙"}.mdi-folder-upload-outline:before{content:"󱃭"}.mdi-folder-wrench:before{content:"󱧼"}.mdi-folder-wrench-outline:before{content:"󱧽"}.mdi-folder-zip:before{content:"󰛫"}.mdi-folder-zip-outline:before{content:"󰞹"}.mdi-font-awesome:before{content:"󰀺"}.mdi-food:before{content:"󰉚"}.mdi-food-apple:before{content:"󰉛"}.mdi-food-apple-outline:before{content:"󰲄"}.mdi-food-croissant:before{content:"󰟈"}.mdi-food-drumstick:before{content:"󱐟"}.mdi-food-drumstick-off:before{content:"󱑨"}.mdi-food-drumstick-off-outline:before{content:"󱑩"}.mdi-food-drumstick-outline:before{content:"󱐠"}.mdi-food-fork-drink:before{content:"󰗲"}.mdi-food-halal:before{content:"󱕲"}.mdi-food-hot-dog:before{content:"󱡋"}.mdi-food-kosher:before{content:"󱕳"}.mdi-food-off:before{content:"󰗳"}.mdi-food-off-outline:before{content:"󱤕"}.mdi-food-outline:before{content:"󱤖"}.mdi-food-steak:before{content:"󱑪"}.mdi-food-steak-off:before{content:"󱑫"}.mdi-food-takeout-box:before{content:"󱠶"}.mdi-food-takeout-box-outline:before{content:"󱠷"}.mdi-food-turkey:before{content:"󱜜"}.mdi-food-variant:before{content:"󰉜"}.mdi-food-variant-off:before{content:"󱏥"}.mdi-foot-print:before{content:"󰽒"}.mdi-football:before{content:"󰉝"}.mdi-football-australian:before{content:"󰉞"}.mdi-football-helmet:before{content:"󰉟"}.mdi-forest:before{content:"󱢗"}.mdi-forest-outline:before{content:"󱱣"}.mdi-forklift:before{content:"󰟉"}.mdi-form-dropdown:before{content:"󱐀"}.mdi-form-select:before{content:"󱐁"}.mdi-form-textarea:before{content:"󱂕"}.mdi-form-textbox:before{content:"󰘎"}.mdi-form-textbox-lock:before{content:"󱍝"}.mdi-form-textbox-password:before{content:"󰟵"}.mdi-format-align-bottom:before{content:"󰝓"}.mdi-format-align-center:before{content:"󰉠"}.mdi-format-align-justify:before{content:"󰉡"}.mdi-format-align-left:before{content:"󰉢"}.mdi-format-align-middle:before{content:"󰝔"}.mdi-format-align-right:before{content:"󰉣"}.mdi-format-align-top:before{content:"󰝕"}.mdi-format-annotation-minus:before{content:"󰪼"}.mdi-format-annotation-plus:before{content:"󰙆"}.mdi-format-bold:before{content:"󰉤"}.mdi-format-clear:before{content:"󰉥"}.mdi-format-color-fill:before{content:"󰉦"}.mdi-format-color-highlight:before{content:"󰸱"}.mdi-format-color-marker-cancel:before{content:"󱌓"}.mdi-format-color-text:before{content:"󰚞"}.mdi-format-columns:before{content:"󰣟"}.mdi-format-float-center:before{content:"󰉧"}.mdi-format-float-left:before{content:"󰉨"}.mdi-format-float-none:before{content:"󰉩"}.mdi-format-float-right:before{content:"󰉪"}.mdi-format-font:before{content:"󰛖"}.mdi-format-font-size-decrease:before{content:"󰧳"}.mdi-format-font-size-increase:before{content:"󰧴"}.mdi-format-header-1:before{content:"󰉫"}.mdi-format-header-2:before{content:"󰉬"}.mdi-format-header-3:before{content:"󰉭"}.mdi-format-header-4:before{content:"󰉮"}.mdi-format-header-5:before{content:"󰉯"}.mdi-format-header-6:before{content:"󰉰"}.mdi-format-header-decrease:before{content:"󰉱"}.mdi-format-header-equal:before{content:"󰉲"}.mdi-format-header-increase:before{content:"󰉳"}.mdi-format-header-pound:before{content:"󰉴"}.mdi-format-horizontal-align-center:before{content:"󰘞"}.mdi-format-horizontal-align-left:before{content:"󰘟"}.mdi-format-horizontal-align-right:before{content:"󰘠"}.mdi-format-indent-decrease:before{content:"󰉵"}.mdi-format-indent-increase:before{content:"󰉶"}.mdi-format-italic:before{content:"󰉷"}.mdi-format-letter-case:before{content:"󰬴"}.mdi-format-letter-case-lower:before{content:"󰬵"}.mdi-format-letter-case-upper:before{content:"󰬶"}.mdi-format-letter-ends-with:before{content:"󰾸"}.mdi-format-letter-matches:before{content:"󰾹"}.mdi-format-letter-spacing:before{content:"󱥖"}.mdi-format-letter-spacing-variant:before{content:"󱫻"}.mdi-format-letter-starts-with:before{content:"󰾺"}.mdi-format-line-height:before{content:"󱫼"}.mdi-format-line-spacing:before{content:"󰉸"}.mdi-format-line-style:before{content:"󰗈"}.mdi-format-line-weight:before{content:"󰗉"}.mdi-format-list-bulleted:before{content:"󰉹"}.mdi-format-list-bulleted-square:before{content:"󰷐"}.mdi-format-list-bulleted-triangle:before{content:"󰺲"}.mdi-format-list-bulleted-type:before{content:"󰉺"}.mdi-format-list-checkbox:before{content:"󰥪"}.mdi-format-list-checks:before{content:"󰝖"}.mdi-format-list-group:before{content:"󱡠"}.mdi-format-list-group-plus:before{content:"󱭖"}.mdi-format-list-numbered:before{content:"󰉻"}.mdi-format-list-numbered-rtl:before{content:"󰴍"}.mdi-format-list-text:before{content:"󱉯"}.mdi-format-overline:before{content:"󰺳"}.mdi-format-page-break:before{content:"󰛗"}.mdi-format-page-split:before{content:"󱤗"}.mdi-format-paint:before{content:"󰉼"}.mdi-format-paragraph:before{content:"󰉽"}.mdi-format-paragraph-spacing:before{content:"󱫽"}.mdi-format-pilcrow:before{content:"󰛘"}.mdi-format-pilcrow-arrow-left:before{content:"󰊆"}.mdi-format-pilcrow-arrow-right:before{content:"󰊅"}.mdi-format-quote-close:before{content:"󰉾"}.mdi-format-quote-close-outline:before{content:"󱆨"}.mdi-format-quote-open:before{content:"󰝗"}.mdi-format-quote-open-outline:before{content:"󱆧"}.mdi-format-rotate-90:before{content:"󰚪"}.mdi-format-section:before{content:"󰚟"}.mdi-format-size:before{content:"󰉿"}.mdi-format-strikethrough:before{content:"󰊀"}.mdi-format-strikethrough-variant:before{content:"󰊁"}.mdi-format-subscript:before{content:"󰊂"}.mdi-format-superscript:before{content:"󰊃"}.mdi-format-text:before{content:"󰊄"}.mdi-format-text-rotation-angle-down:before{content:"󰾻"}.mdi-format-text-rotation-angle-up:before{content:"󰾼"}.mdi-format-text-rotation-down:before{content:"󰵳"}.mdi-format-text-rotation-down-vertical:before{content:"󰾽"}.mdi-format-text-rotation-none:before{content:"󰵴"}.mdi-format-text-rotation-up:before{content:"󰾾"}.mdi-format-text-rotation-vertical:before{content:"󰾿"}.mdi-format-text-variant:before{content:"󰸲"}.mdi-format-text-variant-outline:before{content:"󱔏"}.mdi-format-text-wrapping-clip:before{content:"󰴎"}.mdi-format-text-wrapping-overflow:before{content:"󰴏"}.mdi-format-text-wrapping-wrap:before{content:"󰴐"}.mdi-format-textbox:before{content:"󰴑"}.mdi-format-title:before{content:"󰗴"}.mdi-format-underline:before{content:"󰊇"}.mdi-format-underline-wavy:before{content:"󱣩"}.mdi-format-vertical-align-bottom:before{content:"󰘡"}.mdi-format-vertical-align-center:before{content:"󰘢"}.mdi-format-vertical-align-top:before{content:"󰘣"}.mdi-format-wrap-inline:before{content:"󰊈"}.mdi-format-wrap-square:before{content:"󰊉"}.mdi-format-wrap-tight:before{content:"󰊊"}.mdi-format-wrap-top-bottom:before{content:"󰊋"}.mdi-forum:before{content:"󰊌"}.mdi-forum-minus:before{content:"󱪩"}.mdi-forum-minus-outline:before{content:"󱪪"}.mdi-forum-outline:before{content:"󰠢"}.mdi-forum-plus:before{content:"󱪫"}.mdi-forum-plus-outline:before{content:"󱪬"}.mdi-forum-remove:before{content:"󱪭"}.mdi-forum-remove-outline:before{content:"󱪮"}.mdi-forward:before{content:"󰊍"}.mdi-forwardburger:before{content:"󰵵"}.mdi-fountain:before{content:"󰥫"}.mdi-fountain-pen:before{content:"󰴒"}.mdi-fountain-pen-tip:before{content:"󰴓"}.mdi-fraction-one-half:before{content:"󱦒"}.mdi-freebsd:before{content:"󰣠"}.mdi-french-fries:before{content:"󱥗"}.mdi-frequently-asked-questions:before{content:"󰺴"}.mdi-fridge:before{content:"󰊐"}.mdi-fridge-alert:before{content:"󱆱"}.mdi-fridge-alert-outline:before{content:"󱆲"}.mdi-fridge-bottom:before{content:"󰊒"}.mdi-fridge-industrial:before{content:"󱗮"}.mdi-fridge-industrial-alert:before{content:"󱗯"}.mdi-fridge-industrial-alert-outline:before{content:"󱗰"}.mdi-fridge-industrial-off:before{content:"󱗱"}.mdi-fridge-industrial-off-outline:before{content:"󱗲"}.mdi-fridge-industrial-outline:before{content:"󱗳"}.mdi-fridge-off:before{content:"󱆯"}.mdi-fridge-off-outline:before{content:"󱆰"}.mdi-fridge-outline:before{content:"󰊏"}.mdi-fridge-top:before{content:"󰊑"}.mdi-fridge-variant:before{content:"󱗴"}.mdi-fridge-variant-alert:before{content:"󱗵"}.mdi-fridge-variant-alert-outline:before{content:"󱗶"}.mdi-fridge-variant-off:before{content:"󱗷"}.mdi-fridge-variant-off-outline:before{content:"󱗸"}.mdi-fridge-variant-outline:before{content:"󱗹"}.mdi-fruit-cherries:before{content:"󱁂"}.mdi-fruit-cherries-off:before{content:"󱏸"}.mdi-fruit-citrus:before{content:"󱁃"}.mdi-fruit-citrus-off:before{content:"󱏹"}.mdi-fruit-grapes:before{content:"󱁄"}.mdi-fruit-grapes-outline:before{content:"󱁅"}.mdi-fruit-pear:before{content:"󱨎"}.mdi-fruit-pineapple:before{content:"󱁆"}.mdi-fruit-watermelon:before{content:"󱁇"}.mdi-fuel:before{content:"󰟊"}.mdi-fuel-cell:before{content:"󱢵"}.mdi-fullscreen:before{content:"󰊓"}.mdi-fullscreen-exit:before{content:"󰊔"}.mdi-function:before{content:"󰊕"}.mdi-function-variant:before{content:"󰡱"}.mdi-furigana-horizontal:before{content:"󱂁"}.mdi-furigana-vertical:before{content:"󱂂"}.mdi-fuse:before{content:"󰲅"}.mdi-fuse-alert:before{content:"󱐭"}.mdi-fuse-blade:before{content:"󰲆"}.mdi-fuse-off:before{content:"󱐬"}.mdi-gamepad:before{content:"󰊖"}.mdi-gamepad-circle:before{content:"󰸳"}.mdi-gamepad-circle-down:before{content:"󰸴"}.mdi-gamepad-circle-left:before{content:"󰸵"}.mdi-gamepad-circle-outline:before{content:"󰸶"}.mdi-gamepad-circle-right:before{content:"󰸷"}.mdi-gamepad-circle-up:before{content:"󰸸"}.mdi-gamepad-down:before{content:"󰸹"}.mdi-gamepad-left:before{content:"󰸺"}.mdi-gamepad-outline:before{content:"󱤙"}.mdi-gamepad-right:before{content:"󰸻"}.mdi-gamepad-round:before{content:"󰸼"}.mdi-gamepad-round-down:before{content:"󰸽"}.mdi-gamepad-round-left:before{content:"󰸾"}.mdi-gamepad-round-outline:before{content:"󰸿"}.mdi-gamepad-round-right:before{content:"󰹀"}.mdi-gamepad-round-up:before{content:"󰹁"}.mdi-gamepad-square:before{content:"󰺵"}.mdi-gamepad-square-outline:before{content:"󰺶"}.mdi-gamepad-up:before{content:"󰹂"}.mdi-gamepad-variant:before{content:"󰊗"}.mdi-gamepad-variant-outline:before{content:"󰺷"}.mdi-gamma:before{content:"󱃮"}.mdi-gantry-crane:before{content:"󰷑"}.mdi-garage:before{content:"󰛙"}.mdi-garage-alert:before{content:"󰡲"}.mdi-garage-alert-variant:before{content:"󱋕"}.mdi-garage-lock:before{content:"󱟻"}.mdi-garage-open:before{content:"󰛚"}.mdi-garage-open-variant:before{content:"󱋔"}.mdi-garage-variant:before{content:"󱋓"}.mdi-garage-variant-lock:before{content:"󱟼"}.mdi-gas-burner:before{content:"󱨛"}.mdi-gas-cylinder:before{content:"󰙇"}.mdi-gas-station:before{content:"󰊘"}.mdi-gas-station-off:before{content:"󱐉"}.mdi-gas-station-off-outline:before{content:"󱐊"}.mdi-gas-station-outline:before{content:"󰺸"}.mdi-gate:before{content:"󰊙"}.mdi-gate-alert:before{content:"󱟸"}.mdi-gate-and:before{content:"󰣡"}.mdi-gate-arrow-left:before{content:"󱟷"}.mdi-gate-arrow-right:before{content:"󱅩"}.mdi-gate-buffer:before{content:"󱫾"}.mdi-gate-nand:before{content:"󰣢"}.mdi-gate-nor:before{content:"󰣣"}.mdi-gate-not:before{content:"󰣤"}.mdi-gate-open:before{content:"󱅪"}.mdi-gate-or:before{content:"󰣥"}.mdi-gate-xnor:before{content:"󰣦"}.mdi-gate-xor:before{content:"󰣧"}.mdi-gatsby:before{content:"󰹃"}.mdi-gauge:before{content:"󰊚"}.mdi-gauge-empty:before{content:"󰡳"}.mdi-gauge-full:before{content:"󰡴"}.mdi-gauge-low:before{content:"󰡵"}.mdi-gavel:before{content:"󰊛"}.mdi-gender-female:before{content:"󰊜"}.mdi-gender-male:before{content:"󰊝"}.mdi-gender-male-female:before{content:"󰊞"}.mdi-gender-male-female-variant:before{content:"󱄿"}.mdi-gender-non-binary:before{content:"󱅀"}.mdi-gender-transgender:before{content:"󰊟"}.mdi-gentoo:before{content:"󰣨"}.mdi-gesture:before{content:"󰟋"}.mdi-gesture-double-tap:before{content:"󰜼"}.mdi-gesture-pinch:before{content:"󰪽"}.mdi-gesture-spread:before{content:"󰪾"}.mdi-gesture-swipe:before{content:"󰵶"}.mdi-gesture-swipe-down:before{content:"󰜽"}.mdi-gesture-swipe-horizontal:before{content:"󰪿"}.mdi-gesture-swipe-left:before{content:"󰜾"}.mdi-gesture-swipe-right:before{content:"󰜿"}.mdi-gesture-swipe-up:before{content:"󰝀"}.mdi-gesture-swipe-vertical:before{content:"󰫀"}.mdi-gesture-tap:before{content:"󰝁"}.mdi-gesture-tap-box:before{content:"󱊩"}.mdi-gesture-tap-button:before{content:"󱊨"}.mdi-gesture-tap-hold:before{content:"󰵷"}.mdi-gesture-two-double-tap:before{content:"󰝂"}.mdi-gesture-two-tap:before{content:"󰝃"}.mdi-ghost:before{content:"󰊠"}.mdi-ghost-off:before{content:"󰧵"}.mdi-ghost-off-outline:before{content:"󱙜"}.mdi-ghost-outline:before{content:"󱙝"}.mdi-gift:before{content:"󰹄"}.mdi-gift-off:before{content:"󱛯"}.mdi-gift-off-outline:before{content:"󱛰"}.mdi-gift-open:before{content:"󱛱"}.mdi-gift-open-outline:before{content:"󱛲"}.mdi-gift-outline:before{content:"󰊡"}.mdi-git:before{content:"󰊢"}.mdi-github:before{content:"󰊤"}.mdi-gitlab:before{content:"󰮠"}.mdi-glass-cocktail:before{content:"󰍖"}.mdi-glass-cocktail-off:before{content:"󱗦"}.mdi-glass-flute:before{content:"󰊥"}.mdi-glass-fragile:before{content:"󱡳"}.mdi-glass-mug:before{content:"󰊦"}.mdi-glass-mug-off:before{content:"󱗧"}.mdi-glass-mug-variant:before{content:"󱄖"}.mdi-glass-mug-variant-off:before{content:"󱗨"}.mdi-glass-pint-outline:before{content:"󱌍"}.mdi-glass-stange:before{content:"󰊧"}.mdi-glass-tulip:before{content:"󰊨"}.mdi-glass-wine:before{content:"󰡶"}.mdi-glasses:before{content:"󰊪"}.mdi-globe-light:before{content:"󰙯"}.mdi-globe-light-outline:before{content:"󱋗"}.mdi-globe-model:before{content:"󰣩"}.mdi-gmail:before{content:"󰊫"}.mdi-gnome:before{content:"󰊬"}.mdi-go-kart:before{content:"󰵹"}.mdi-go-kart-track:before{content:"󰵺"}.mdi-gog:before{content:"󰮡"}.mdi-gold:before{content:"󱉏"}.mdi-golf:before{content:"󰠣"}.mdi-golf-cart:before{content:"󱆤"}.mdi-golf-tee:before{content:"󱂃"}.mdi-gondola:before{content:"󰚆"}.mdi-goodreads:before{content:"󰵻"}.mdi-google:before{content:"󰊭"}.mdi-google-ads:before{content:"󰲇"}.mdi-google-analytics:before{content:"󰟌"}.mdi-google-assistant:before{content:"󰟍"}.mdi-google-cardboard:before{content:"󰊮"}.mdi-google-chrome:before{content:"󰊯"}.mdi-google-circles:before{content:"󰊰"}.mdi-google-circles-communities:before{content:"󰊱"}.mdi-google-circles-extended:before{content:"󰊲"}.mdi-google-circles-group:before{content:"󰊳"}.mdi-google-classroom:before{content:"󰋀"}.mdi-google-cloud:before{content:"󱇶"}.mdi-google-downasaur:before{content:"󱍢"}.mdi-google-drive:before{content:"󰊶"}.mdi-google-earth:before{content:"󰊷"}.mdi-google-fit:before{content:"󰥬"}.mdi-google-glass:before{content:"󰊸"}.mdi-google-hangouts:before{content:"󰋉"}.mdi-google-keep:before{content:"󰛜"}.mdi-google-lens:before{content:"󰧶"}.mdi-google-maps:before{content:"󰗵"}.mdi-google-my-business:before{content:"󱁈"}.mdi-google-nearby:before{content:"󰊹"}.mdi-google-play:before{content:"󰊼"}.mdi-google-plus:before{content:"󰊽"}.mdi-google-podcast:before{content:"󰺹"}.mdi-google-spreadsheet:before{content:"󰧷"}.mdi-google-street-view:before{content:"󰲈"}.mdi-google-translate:before{content:"󰊿"}.mdi-gradient-horizontal:before{content:"󱝊"}.mdi-gradient-vertical:before{content:"󰚠"}.mdi-grain:before{content:"󰵼"}.mdi-graph:before{content:"󱁉"}.mdi-graph-outline:before{content:"󱁊"}.mdi-graphql:before{content:"󰡷"}.mdi-grass:before{content:"󱔐"}.mdi-grave-stone:before{content:"󰮢"}.mdi-grease-pencil:before{content:"󰙈"}.mdi-greater-than:before{content:"󰥭"}.mdi-greater-than-or-equal:before{content:"󰥮"}.mdi-greenhouse:before{content:"󰀭"}.mdi-grid:before{content:"󰋁"}.mdi-grid-large:before{content:"󰝘"}.mdi-grid-off:before{content:"󰋂"}.mdi-grill:before{content:"󰹅"}.mdi-grill-outline:before{content:"󱆊"}.mdi-group:before{content:"󰋃"}.mdi-guitar-acoustic:before{content:"󰝱"}.mdi-guitar-electric:before{content:"󰋄"}.mdi-guitar-pick:before{content:"󰋅"}.mdi-guitar-pick-outline:before{content:"󰋆"}.mdi-guy-fawkes-mask:before{content:"󰠥"}.mdi-gymnastics:before{content:"󱩁"}.mdi-hail:before{content:"󰫁"}.mdi-hair-dryer:before{content:"󱃯"}.mdi-hair-dryer-outline:before{content:"󱃰"}.mdi-halloween:before{content:"󰮣"}.mdi-hamburger:before{content:"󰚅"}.mdi-hamburger-check:before{content:"󱝶"}.mdi-hamburger-minus:before{content:"󱝷"}.mdi-hamburger-off:before{content:"󱝸"}.mdi-hamburger-plus:before{content:"󱝹"}.mdi-hamburger-remove:before{content:"󱝺"}.mdi-hammer:before{content:"󰣪"}.mdi-hammer-screwdriver:before{content:"󱌢"}.mdi-hammer-sickle:before{content:"󱢇"}.mdi-hammer-wrench:before{content:"󱌣"}.mdi-hand-back-left:before{content:"󰹆"}.mdi-hand-back-left-off:before{content:"󱠰"}.mdi-hand-back-left-off-outline:before{content:"󱠲"}.mdi-hand-back-left-outline:before{content:"󱠬"}.mdi-hand-back-right:before{content:"󰹇"}.mdi-hand-back-right-off:before{content:"󱠱"}.mdi-hand-back-right-off-outline:before{content:"󱠳"}.mdi-hand-back-right-outline:before{content:"󱠭"}.mdi-hand-clap:before{content:"󱥋"}.mdi-hand-clap-off:before{content:"󱩂"}.mdi-hand-coin:before{content:"󱢏"}.mdi-hand-coin-outline:before{content:"󱢐"}.mdi-hand-cycle:before{content:"󱮜"}.mdi-hand-extended:before{content:"󱢶"}.mdi-hand-extended-outline:before{content:"󱢷"}.mdi-hand-front-left:before{content:"󱠫"}.mdi-hand-front-left-outline:before{content:"󱠮"}.mdi-hand-front-right:before{content:"󰩏"}.mdi-hand-front-right-outline:before{content:"󱠯"}.mdi-hand-heart:before{content:"󱃱"}.mdi-hand-heart-outline:before{content:"󱕾"}.mdi-hand-okay:before{content:"󰩐"}.mdi-hand-peace:before{content:"󰩑"}.mdi-hand-peace-variant:before{content:"󰩒"}.mdi-hand-pointing-down:before{content:"󰩓"}.mdi-hand-pointing-left:before{content:"󰩔"}.mdi-hand-pointing-right:before{content:"󰋇"}.mdi-hand-pointing-up:before{content:"󰩕"}.mdi-hand-saw:before{content:"󰹈"}.mdi-hand-wash:before{content:"󱕿"}.mdi-hand-wash-outline:before{content:"󱖀"}.mdi-hand-water:before{content:"󱎟"}.mdi-hand-wave:before{content:"󱠡"}.mdi-hand-wave-outline:before{content:"󱠢"}.mdi-handball:before{content:"󰽓"}.mdi-handcuffs:before{content:"󱄾"}.mdi-hands-pray:before{content:"󰕹"}.mdi-handshake:before{content:"󱈘"}.mdi-handshake-outline:before{content:"󱖡"}.mdi-hanger:before{content:"󰋈"}.mdi-hard-hat:before{content:"󰥯"}.mdi-harddisk:before{content:"󰋊"}.mdi-harddisk-plus:before{content:"󱁋"}.mdi-harddisk-remove:before{content:"󱁌"}.mdi-hat-fedora:before{content:"󰮤"}.mdi-hazard-lights:before{content:"󰲉"}.mdi-hdmi-port:before{content:"󱮸"}.mdi-hdr:before{content:"󰵽"}.mdi-hdr-off:before{content:"󰵾"}.mdi-head:before{content:"󱍞"}.mdi-head-alert:before{content:"󱌸"}.mdi-head-alert-outline:before{content:"󱌹"}.mdi-head-check:before{content:"󱌺"}.mdi-head-check-outline:before{content:"󱌻"}.mdi-head-cog:before{content:"󱌼"}.mdi-head-cog-outline:before{content:"󱌽"}.mdi-head-dots-horizontal:before{content:"󱌾"}.mdi-head-dots-horizontal-outline:before{content:"󱌿"}.mdi-head-flash:before{content:"󱍀"}.mdi-head-flash-outline:before{content:"󱍁"}.mdi-head-heart:before{content:"󱍂"}.mdi-head-heart-outline:before{content:"󱍃"}.mdi-head-lightbulb:before{content:"󱍄"}.mdi-head-lightbulb-outline:before{content:"󱍅"}.mdi-head-minus:before{content:"󱍆"}.mdi-head-minus-outline:before{content:"󱍇"}.mdi-head-outline:before{content:"󱍟"}.mdi-head-plus:before{content:"󱍈"}.mdi-head-plus-outline:before{content:"󱍉"}.mdi-head-question:before{content:"󱍊"}.mdi-head-question-outline:before{content:"󱍋"}.mdi-head-remove:before{content:"󱍌"}.mdi-head-remove-outline:before{content:"󱍍"}.mdi-head-snowflake:before{content:"󱍎"}.mdi-head-snowflake-outline:before{content:"󱍏"}.mdi-head-sync:before{content:"󱍐"}.mdi-head-sync-outline:before{content:"󱍑"}.mdi-headphones:before{content:"󰋋"}.mdi-headphones-bluetooth:before{content:"󰥰"}.mdi-headphones-box:before{content:"󰋌"}.mdi-headphones-off:before{content:"󰟎"}.mdi-headphones-settings:before{content:"󰋍"}.mdi-headset:before{content:"󰋎"}.mdi-headset-dock:before{content:"󰋏"}.mdi-headset-off:before{content:"󰋐"}.mdi-heart:before{content:"󰋑"}.mdi-heart-box:before{content:"󰋒"}.mdi-heart-box-outline:before{content:"󰋓"}.mdi-heart-broken:before{content:"󰋔"}.mdi-heart-broken-outline:before{content:"󰴔"}.mdi-heart-circle:before{content:"󰥱"}.mdi-heart-circle-outline:before{content:"󰥲"}.mdi-heart-cog:before{content:"󱙣"}.mdi-heart-cog-outline:before{content:"󱙤"}.mdi-heart-flash:before{content:"󰻹"}.mdi-heart-half:before{content:"󰛟"}.mdi-heart-half-full:before{content:"󰛞"}.mdi-heart-half-outline:before{content:"󰛠"}.mdi-heart-minus:before{content:"󱐯"}.mdi-heart-minus-outline:before{content:"󱐲"}.mdi-heart-multiple:before{content:"󰩖"}.mdi-heart-multiple-outline:before{content:"󰩗"}.mdi-heart-off:before{content:"󰝙"}.mdi-heart-off-outline:before{content:"󱐴"}.mdi-heart-outline:before{content:"󰋕"}.mdi-heart-plus:before{content:"󱐮"}.mdi-heart-plus-outline:before{content:"󱐱"}.mdi-heart-pulse:before{content:"󰗶"}.mdi-heart-remove:before{content:"󱐰"}.mdi-heart-remove-outline:before{content:"󱐳"}.mdi-heart-settings:before{content:"󱙥"}.mdi-heart-settings-outline:before{content:"󱙦"}.mdi-heat-pump:before{content:"󱩃"}.mdi-heat-pump-outline:before{content:"󱩄"}.mdi-heat-wave:before{content:"󱩅"}.mdi-heating-coil:before{content:"󱪯"}.mdi-helicopter:before{content:"󰫂"}.mdi-help:before{content:"󰋖"}.mdi-help-box:before{content:"󰞋"}.mdi-help-box-multiple:before{content:"󱰊"}.mdi-help-box-multiple-outline:before{content:"󱰋"}.mdi-help-box-outline:before{content:"󱰌"}.mdi-help-circle:before{content:"󰋗"}.mdi-help-circle-outline:before{content:"󰘥"}.mdi-help-network:before{content:"󰛵"}.mdi-help-network-outline:before{content:"󰲊"}.mdi-help-rhombus:before{content:"󰮥"}.mdi-help-rhombus-outline:before{content:"󰮦"}.mdi-hexadecimal:before{content:"󱊧"}.mdi-hexagon:before{content:"󰋘"}.mdi-hexagon-multiple:before{content:"󰛡"}.mdi-hexagon-multiple-outline:before{content:"󱃲"}.mdi-hexagon-outline:before{content:"󰋙"}.mdi-hexagon-slice-1:before{content:"󰫃"}.mdi-hexagon-slice-2:before{content:"󰫄"}.mdi-hexagon-slice-3:before{content:"󰫅"}.mdi-hexagon-slice-4:before{content:"󰫆"}.mdi-hexagon-slice-5:before{content:"󰫇"}.mdi-hexagon-slice-6:before{content:"󰫈"}.mdi-hexagram:before{content:"󰫉"}.mdi-hexagram-outline:before{content:"󰫊"}.mdi-high-definition:before{content:"󰟏"}.mdi-high-definition-box:before{content:"󰡸"}.mdi-highway:before{content:"󰗷"}.mdi-hiking:before{content:"󰵿"}.mdi-history:before{content:"󰋚"}.mdi-hockey-puck:before{content:"󰡹"}.mdi-hockey-sticks:before{content:"󰡺"}.mdi-hololens:before{content:"󰋛"}.mdi-home:before{content:"󰋜"}.mdi-home-account:before{content:"󰠦"}.mdi-home-alert:before{content:"󰡻"}.mdi-home-alert-outline:before{content:"󱗐"}.mdi-home-analytics:before{content:"󰺺"}.mdi-home-assistant:before{content:"󰟐"}.mdi-home-automation:before{content:"󰟑"}.mdi-home-battery:before{content:"󱤁"}.mdi-home-battery-outline:before{content:"󱤂"}.mdi-home-circle:before{content:"󰟒"}.mdi-home-circle-outline:before{content:"󱁍"}.mdi-home-city:before{content:"󰴕"}.mdi-home-city-outline:before{content:"󰴖"}.mdi-home-clock:before{content:"󱨒"}.mdi-home-clock-outline:before{content:"󱨓"}.mdi-home-edit:before{content:"󱅙"}.mdi-home-edit-outline:before{content:"󱅚"}.mdi-home-export-outline:before{content:"󰾛"}.mdi-home-flood:before{content:"󰻺"}.mdi-home-floor-0:before{content:"󰷒"}.mdi-home-floor-1:before{content:"󰶀"}.mdi-home-floor-2:before{content:"󰶁"}.mdi-home-floor-3:before{content:"󰶂"}.mdi-home-floor-a:before{content:"󰶃"}.mdi-home-floor-b:before{content:"󰶄"}.mdi-home-floor-g:before{content:"󰶅"}.mdi-home-floor-l:before{content:"󰶆"}.mdi-home-floor-negative-1:before{content:"󰷓"}.mdi-home-group:before{content:"󰷔"}.mdi-home-group-minus:before{content:"󱧁"}.mdi-home-group-plus:before{content:"󱧀"}.mdi-home-group-remove:before{content:"󱧂"}.mdi-home-heart:before{content:"󰠧"}.mdi-home-import-outline:before{content:"󰾜"}.mdi-home-lightbulb:before{content:"󱉑"}.mdi-home-lightbulb-outline:before{content:"󱉒"}.mdi-home-lightning-bolt:before{content:"󱤃"}.mdi-home-lightning-bolt-outline:before{content:"󱤄"}.mdi-home-lock:before{content:"󰣫"}.mdi-home-lock-open:before{content:"󰣬"}.mdi-home-map-marker:before{content:"󰗸"}.mdi-home-minus:before{content:"󰥴"}.mdi-home-minus-outline:before{content:"󱏕"}.mdi-home-modern:before{content:"󰋝"}.mdi-home-off:before{content:"󱩆"}.mdi-home-off-outline:before{content:"󱩇"}.mdi-home-outline:before{content:"󰚡"}.mdi-home-percent:before{content:"󱱼"}.mdi-home-percent-outline:before{content:"󱱽"}.mdi-home-plus:before{content:"󰥵"}.mdi-home-plus-outline:before{content:"󱏖"}.mdi-home-remove:before{content:"󱉇"}.mdi-home-remove-outline:before{content:"󱏗"}.mdi-home-roof:before{content:"󱄫"}.mdi-home-search:before{content:"󱎰"}.mdi-home-search-outline:before{content:"󱎱"}.mdi-home-silo:before{content:"󱮠"}.mdi-home-silo-outline:before{content:"󱮡"}.mdi-home-sound-in:before{content:"󱰯"}.mdi-home-sound-in-outline:before{content:"󱰰"}.mdi-home-sound-out:before{content:"󱰱"}.mdi-home-sound-out-outline:before{content:"󱰲"}.mdi-home-switch:before{content:"󱞔"}.mdi-home-switch-outline:before{content:"󱞕"}.mdi-home-thermometer:before{content:"󰽔"}.mdi-home-thermometer-outline:before{content:"󰽕"}.mdi-home-variant:before{content:"󰋞"}.mdi-home-variant-outline:before{content:"󰮧"}.mdi-hook:before{content:"󰛢"}.mdi-hook-off:before{content:"󰛣"}.mdi-hoop-house:before{content:"󰹖"}.mdi-hops:before{content:"󰋟"}.mdi-horizontal-rotate-clockwise:before{content:"󱃳"}.mdi-horizontal-rotate-counterclockwise:before{content:"󱃴"}.mdi-horse:before{content:"󱖿"}.mdi-horse-human:before{content:"󱗀"}.mdi-horse-variant:before{content:"󱗁"}.mdi-horse-variant-fast:before{content:"󱡮"}.mdi-horseshoe:before{content:"󰩘"}.mdi-hospital:before{content:"󰿶"}.mdi-hospital-box:before{content:"󰋠"}.mdi-hospital-box-outline:before{content:"󰿷"}.mdi-hospital-building:before{content:"󰋡"}.mdi-hospital-marker:before{content:"󰋢"}.mdi-hot-tub:before{content:"󰠨"}.mdi-hours-24:before{content:"󱑸"}.mdi-hubspot:before{content:"󰴗"}.mdi-hulu:before{content:"󰠩"}.mdi-human:before{content:"󰋦"}.mdi-human-baby-changing-table:before{content:"󱎋"}.mdi-human-cane:before{content:"󱖁"}.mdi-human-capacity-decrease:before{content:"󱖛"}.mdi-human-capacity-increase:before{content:"󱖜"}.mdi-human-child:before{content:"󰋧"}.mdi-human-dolly:before{content:"󱦀"}.mdi-human-edit:before{content:"󱓨"}.mdi-human-female:before{content:"󰙉"}.mdi-human-female-boy:before{content:"󰩙"}.mdi-human-female-dance:before{content:"󱗉"}.mdi-human-female-female:before{content:"󰩚"}.mdi-human-female-girl:before{content:"󰩛"}.mdi-human-greeting:before{content:"󱟄"}.mdi-human-greeting-proximity:before{content:"󱖝"}.mdi-human-greeting-variant:before{content:"󰙊"}.mdi-human-handsdown:before{content:"󰙋"}.mdi-human-handsup:before{content:"󰙌"}.mdi-human-male:before{content:"󰙍"}.mdi-human-male-board:before{content:"󰢐"}.mdi-human-male-board-poll:before{content:"󰡆"}.mdi-human-male-boy:before{content:"󰩜"}.mdi-human-male-child:before{content:"󱎌"}.mdi-human-male-female:before{content:"󰋨"}.mdi-human-male-female-child:before{content:"󱠣"}.mdi-human-male-girl:before{content:"󰩝"}.mdi-human-male-height:before{content:"󰻻"}.mdi-human-male-height-variant:before{content:"󰻼"}.mdi-human-male-male:before{content:"󰩞"}.mdi-human-non-binary:before{content:"󱡈"}.mdi-human-pregnant:before{content:"󰗏"}.mdi-human-queue:before{content:"󱕱"}.mdi-human-scooter:before{content:"󱇩"}.mdi-human-walker:before{content:"󱭱"}.mdi-human-wheelchair:before{content:"󱎍"}.mdi-human-white-cane:before{content:"󱦁"}.mdi-humble-bundle:before{content:"󰝄"}.mdi-hvac:before{content:"󱍒"}.mdi-hvac-off:before{content:"󱖞"}.mdi-hydraulic-oil-level:before{content:"󱌤"}.mdi-hydraulic-oil-temperature:before{content:"󱌥"}.mdi-hydro-power:before{content:"󱋥"}.mdi-hydrogen-station:before{content:"󱢔"}.mdi-ice-cream:before{content:"󰠪"}.mdi-ice-cream-off:before{content:"󰹒"}.mdi-ice-pop:before{content:"󰻽"}.mdi-id-card:before{content:"󰿀"}.mdi-identifier:before{content:"󰻾"}.mdi-ideogram-cjk:before{content:"󱌱"}.mdi-ideogram-cjk-variant:before{content:"󱌲"}.mdi-image:before{content:"󰋩"}.mdi-image-album:before{content:"󰋪"}.mdi-image-area:before{content:"󰋫"}.mdi-image-area-close:before{content:"󰋬"}.mdi-image-auto-adjust:before{content:"󰿁"}.mdi-image-broken:before{content:"󰋭"}.mdi-image-broken-variant:before{content:"󰋮"}.mdi-image-check:before{content:"󱬥"}.mdi-image-check-outline:before{content:"󱬦"}.mdi-image-edit:before{content:"󱇣"}.mdi-image-edit-outline:before{content:"󱇤"}.mdi-image-filter-black-white:before{content:"󰋰"}.mdi-image-filter-center-focus:before{content:"󰋱"}.mdi-image-filter-center-focus-strong:before{content:"󰻿"}.mdi-image-filter-center-focus-strong-outline:before{content:"󰼀"}.mdi-image-filter-center-focus-weak:before{content:"󰋲"}.mdi-image-filter-drama:before{content:"󰋳"}.mdi-image-filter-drama-outline:before{content:"󱯿"}.mdi-image-filter-frames:before{content:"󰋴"}.mdi-image-filter-hdr:before{content:"󰋵"}.mdi-image-filter-hdr-outline:before{content:"󱱤"}.mdi-image-filter-none:before{content:"󰋶"}.mdi-image-filter-tilt-shift:before{content:"󰋷"}.mdi-image-filter-vintage:before{content:"󰋸"}.mdi-image-frame:before{content:"󰹉"}.mdi-image-lock:before{content:"󱪰"}.mdi-image-lock-outline:before{content:"󱪱"}.mdi-image-marker:before{content:"󱝻"}.mdi-image-marker-outline:before{content:"󱝼"}.mdi-image-minus:before{content:"󱐙"}.mdi-image-minus-outline:before{content:"󱭇"}.mdi-image-move:before{content:"󰧸"}.mdi-image-multiple:before{content:"󰋹"}.mdi-image-multiple-outline:before{content:"󰋯"}.mdi-image-off:before{content:"󰠫"}.mdi-image-off-outline:before{content:"󱇑"}.mdi-image-outline:before{content:"󰥶"}.mdi-image-plus:before{content:"󰡼"}.mdi-image-plus-outline:before{content:"󱭆"}.mdi-image-refresh:before{content:"󱧾"}.mdi-image-refresh-outline:before{content:"󱧿"}.mdi-image-remove:before{content:"󱐘"}.mdi-image-remove-outline:before{content:"󱭈"}.mdi-image-search:before{content:"󰥷"}.mdi-image-search-outline:before{content:"󰥸"}.mdi-image-size-select-actual:before{content:"󰲍"}.mdi-image-size-select-large:before{content:"󰲎"}.mdi-image-size-select-small:before{content:"󰲏"}.mdi-image-sync:before{content:"󱨀"}.mdi-image-sync-outline:before{content:"󱨁"}.mdi-image-text:before{content:"󱘍"}.mdi-import:before{content:"󰋺"}.mdi-inbox:before{content:"󰚇"}.mdi-inbox-arrow-down:before{content:"󰋻"}.mdi-inbox-arrow-down-outline:before{content:"󱉰"}.mdi-inbox-arrow-up:before{content:"󰏑"}.mdi-inbox-arrow-up-outline:before{content:"󱉱"}.mdi-inbox-full:before{content:"󱉲"}.mdi-inbox-full-outline:before{content:"󱉳"}.mdi-inbox-multiple:before{content:"󰢰"}.mdi-inbox-multiple-outline:before{content:"󰮨"}.mdi-inbox-outline:before{content:"󱉴"}.mdi-inbox-remove:before{content:"󱖟"}.mdi-inbox-remove-outline:before{content:"󱖠"}.mdi-incognito:before{content:"󰗹"}.mdi-incognito-circle:before{content:"󱐡"}.mdi-incognito-circle-off:before{content:"󱐢"}.mdi-incognito-off:before{content:"󰁵"}.mdi-induction:before{content:"󱡌"}.mdi-infinity:before{content:"󰛤"}.mdi-information:before{content:"󰋼"}.mdi-information-box:before{content:"󱱥"}.mdi-information-box-outline:before{content:"󱱦"}.mdi-information-off:before{content:"󱞌"}.mdi-information-off-outline:before{content:"󱞍"}.mdi-information-outline:before{content:"󰋽"}.mdi-information-slab-box:before{content:"󱱧"}.mdi-information-slab-box-outline:before{content:"󱱨"}.mdi-information-slab-circle:before{content:"󱱩"}.mdi-information-slab-circle-outline:before{content:"󱱪"}.mdi-information-slab-symbol:before{content:"󱱫"}.mdi-information-symbol:before{content:"󱱬"}.mdi-information-variant:before{content:"󰙎"}.mdi-information-variant-box:before{content:"󱱭"}.mdi-information-variant-box-outline:before{content:"󱱮"}.mdi-information-variant-circle:before{content:"󱱯"}.mdi-information-variant-circle-outline:before{content:"󱱰"}.mdi-instagram:before{content:"󰋾"}.mdi-instrument-triangle:before{content:"󱁎"}.mdi-integrated-circuit-chip:before{content:"󱤓"}.mdi-invert-colors:before{content:"󰌁"}.mdi-invert-colors-off:before{content:"󰹊"}.mdi-iobroker:before{content:"󱋨"}.mdi-ip:before{content:"󰩟"}.mdi-ip-network:before{content:"󰩠"}.mdi-ip-network-outline:before{content:"󰲐"}.mdi-ip-outline:before{content:"󱦂"}.mdi-ipod:before{content:"󰲑"}.mdi-iron:before{content:"󱠤"}.mdi-iron-board:before{content:"󱠸"}.mdi-iron-outline:before{content:"󱠥"}.mdi-island:before{content:"󱁏"}.mdi-iv-bag:before{content:"󱂹"}.mdi-jabber:before{content:"󰷕"}.mdi-jeepney:before{content:"󰌂"}.mdi-jellyfish:before{content:"󰼁"}.mdi-jellyfish-outline:before{content:"󰼂"}.mdi-jira:before{content:"󰌃"}.mdi-jquery:before{content:"󰡽"}.mdi-jsfiddle:before{content:"󰌄"}.mdi-jump-rope:before{content:"󱋿"}.mdi-kabaddi:before{content:"󰶇"}.mdi-kangaroo:before{content:"󱕘"}.mdi-karate:before{content:"󰠬"}.mdi-kayaking:before{content:"󰢯"}.mdi-keg:before{content:"󰌅"}.mdi-kettle:before{content:"󰗺"}.mdi-kettle-alert:before{content:"󱌗"}.mdi-kettle-alert-outline:before{content:"󱌘"}.mdi-kettle-off:before{content:"󱌛"}.mdi-kettle-off-outline:before{content:"󱌜"}.mdi-kettle-outline:before{content:"󰽖"}.mdi-kettle-pour-over:before{content:"󱜼"}.mdi-kettle-steam:before{content:"󱌙"}.mdi-kettle-steam-outline:before{content:"󱌚"}.mdi-kettlebell:before{content:"󱌀"}.mdi-key:before{content:"󰌆"}.mdi-key-alert:before{content:"󱦃"}.mdi-key-alert-outline:before{content:"󱦄"}.mdi-key-arrow-right:before{content:"󱌒"}.mdi-key-chain:before{content:"󱕴"}.mdi-key-chain-variant:before{content:"󱕵"}.mdi-key-change:before{content:"󰌇"}.mdi-key-link:before{content:"󱆟"}.mdi-key-minus:before{content:"󰌈"}.mdi-key-outline:before{content:"󰷖"}.mdi-key-plus:before{content:"󰌉"}.mdi-key-remove:before{content:"󰌊"}.mdi-key-star:before{content:"󱆞"}.mdi-key-variant:before{content:"󰌋"}.mdi-key-wireless:before{content:"󰿂"}.mdi-keyboard:before{content:"󰌌"}.mdi-keyboard-backspace:before{content:"󰌍"}.mdi-keyboard-caps:before{content:"󰌎"}.mdi-keyboard-close:before{content:"󰌏"}.mdi-keyboard-close-outline:before{content:"󱰀"}.mdi-keyboard-esc:before{content:"󱊷"}.mdi-keyboard-f1:before{content:"󱊫"}.mdi-keyboard-f10:before{content:"󱊴"}.mdi-keyboard-f11:before{content:"󱊵"}.mdi-keyboard-f12:before{content:"󱊶"}.mdi-keyboard-f2:before{content:"󱊬"}.mdi-keyboard-f3:before{content:"󱊭"}.mdi-keyboard-f4:before{content:"󱊮"}.mdi-keyboard-f5:before{content:"󱊯"}.mdi-keyboard-f6:before{content:"󱊰"}.mdi-keyboard-f7:before{content:"󱊱"}.mdi-keyboard-f8:before{content:"󱊲"}.mdi-keyboard-f9:before{content:"󱊳"}.mdi-keyboard-off:before{content:"󰌐"}.mdi-keyboard-off-outline:before{content:"󰹋"}.mdi-keyboard-outline:before{content:"󰥻"}.mdi-keyboard-return:before{content:"󰌑"}.mdi-keyboard-settings:before{content:"󰧹"}.mdi-keyboard-settings-outline:before{content:"󰧺"}.mdi-keyboard-space:before{content:"󱁐"}.mdi-keyboard-tab:before{content:"󰌒"}.mdi-keyboard-tab-reverse:before{content:"󰌥"}.mdi-keyboard-variant:before{content:"󰌓"}.mdi-khanda:before{content:"󱃽"}.mdi-kickstarter:before{content:"󰝅"}.mdi-kite:before{content:"󱦅"}.mdi-kite-outline:before{content:"󱦆"}.mdi-kitesurfing:before{content:"󱝄"}.mdi-klingon:before{content:"󱍛"}.mdi-knife:before{content:"󰧻"}.mdi-knife-military:before{content:"󰧼"}.mdi-knob:before{content:"󱮖"}.mdi-koala:before{content:"󱜿"}.mdi-kodi:before{content:"󰌔"}.mdi-kubernetes:before{content:"󱃾"}.mdi-label:before{content:"󰌕"}.mdi-label-multiple:before{content:"󱍵"}.mdi-label-multiple-outline:before{content:"󱍶"}.mdi-label-off:before{content:"󰫋"}.mdi-label-off-outline:before{content:"󰫌"}.mdi-label-outline:before{content:"󰌖"}.mdi-label-percent:before{content:"󱋪"}.mdi-label-percent-outline:before{content:"󱋫"}.mdi-label-variant:before{content:"󰫍"}.mdi-label-variant-outline:before{content:"󰫎"}.mdi-ladder:before{content:"󱖢"}.mdi-ladybug:before{content:"󰠭"}.mdi-lambda:before{content:"󰘧"}.mdi-lamp:before{content:"󰚵"}.mdi-lamp-outline:before{content:"󱟐"}.mdi-lamps:before{content:"󱕶"}.mdi-lamps-outline:before{content:"󱟑"}.mdi-lan:before{content:"󰌗"}.mdi-lan-check:before{content:"󱊪"}.mdi-lan-connect:before{content:"󰌘"}.mdi-lan-disconnect:before{content:"󰌙"}.mdi-lan-pending:before{content:"󰌚"}.mdi-land-fields:before{content:"󱪲"}.mdi-land-plots:before{content:"󱪳"}.mdi-land-plots-circle:before{content:"󱪴"}.mdi-land-plots-circle-variant:before{content:"󱪵"}.mdi-land-plots-marker:before{content:"󱱝"}.mdi-land-rows-horizontal:before{content:"󱪶"}.mdi-land-rows-vertical:before{content:"󱪷"}.mdi-landslide:before{content:"󱩈"}.mdi-landslide-outline:before{content:"󱩉"}.mdi-language-c:before{content:"󰙱"}.mdi-language-cpp:before{content:"󰙲"}.mdi-language-csharp:before{content:"󰌛"}.mdi-language-css3:before{content:"󰌜"}.mdi-language-fortran:before{content:"󱈚"}.mdi-language-go:before{content:"󰟓"}.mdi-language-haskell:before{content:"󰲒"}.mdi-language-html5:before{content:"󰌝"}.mdi-language-java:before{content:"󰬷"}.mdi-language-javascript:before{content:"󰌞"}.mdi-language-kotlin:before{content:"󱈙"}.mdi-language-lua:before{content:"󰢱"}.mdi-language-markdown:before{content:"󰍔"}.mdi-language-markdown-outline:before{content:"󰽛"}.mdi-language-php:before{content:"󰌟"}.mdi-language-python:before{content:"󰌠"}.mdi-language-r:before{content:"󰟔"}.mdi-language-ruby:before{content:"󰴭"}.mdi-language-ruby-on-rails:before{content:"󰫏"}.mdi-language-rust:before{content:"󱘗"}.mdi-language-swift:before{content:"󰛥"}.mdi-language-typescript:before{content:"󰛦"}.mdi-language-xaml:before{content:"󰙳"}.mdi-laptop:before{content:"󰌢"}.mdi-laptop-account:before{content:"󱩊"}.mdi-laptop-off:before{content:"󰛧"}.mdi-laravel:before{content:"󰫐"}.mdi-laser-pointer:before{content:"󱒄"}.mdi-lasso:before{content:"󰼃"}.mdi-lastpass:before{content:"󰑆"}.mdi-latitude:before{content:"󰽗"}.mdi-launch:before{content:"󰌧"}.mdi-lava-lamp:before{content:"󰟕"}.mdi-layers:before{content:"󰌨"}.mdi-layers-edit:before{content:"󱢒"}.mdi-layers-minus:before{content:"󰹌"}.mdi-layers-off:before{content:"󰌩"}.mdi-layers-off-outline:before{content:"󰧽"}.mdi-layers-outline:before{content:"󰧾"}.mdi-layers-plus:before{content:"󰹍"}.mdi-layers-remove:before{content:"󰹎"}.mdi-layers-search:before{content:"󱈆"}.mdi-layers-search-outline:before{content:"󱈇"}.mdi-layers-triple:before{content:"󰽘"}.mdi-layers-triple-outline:before{content:"󰽙"}.mdi-lead-pencil:before{content:"󰙏"}.mdi-leaf:before{content:"󰌪"}.mdi-leaf-circle:before{content:"󱤅"}.mdi-leaf-circle-outline:before{content:"󱤆"}.mdi-leaf-maple:before{content:"󰲓"}.mdi-leaf-maple-off:before{content:"󱋚"}.mdi-leaf-off:before{content:"󱋙"}.mdi-leak:before{content:"󰷗"}.mdi-leak-off:before{content:"󰷘"}.mdi-lectern:before{content:"󱫰"}.mdi-led-off:before{content:"󰌫"}.mdi-led-on:before{content:"󰌬"}.mdi-led-outline:before{content:"󰌭"}.mdi-led-strip:before{content:"󰟖"}.mdi-led-strip-variant:before{content:"󱁑"}.mdi-led-strip-variant-off:before{content:"󱩋"}.mdi-led-variant-off:before{content:"󰌮"}.mdi-led-variant-on:before{content:"󰌯"}.mdi-led-variant-outline:before{content:"󰌰"}.mdi-leek:before{content:"󱅽"}.mdi-less-than:before{content:"󰥼"}.mdi-less-than-or-equal:before{content:"󰥽"}.mdi-library:before{content:"󰌱"}.mdi-library-outline:before{content:"󱨢"}.mdi-library-shelves:before{content:"󰮩"}.mdi-license:before{content:"󰿃"}.mdi-lifebuoy:before{content:"󰡾"}.mdi-light-flood-down:before{content:"󱦇"}.mdi-light-flood-up:before{content:"󱦈"}.mdi-light-recessed:before{content:"󱞛"}.mdi-light-switch:before{content:"󰥾"}.mdi-light-switch-off:before{content:"󱨤"}.mdi-lightbulb:before{content:"󰌵"}.mdi-lightbulb-alert:before{content:"󱧡"}.mdi-lightbulb-alert-outline:before{content:"󱧢"}.mdi-lightbulb-auto:before{content:"󱠀"}.mdi-lightbulb-auto-outline:before{content:"󱠁"}.mdi-lightbulb-cfl:before{content:"󱈈"}.mdi-lightbulb-cfl-off:before{content:"󱈉"}.mdi-lightbulb-cfl-spiral:before{content:"󱉵"}.mdi-lightbulb-cfl-spiral-off:before{content:"󱋃"}.mdi-lightbulb-fluorescent-tube:before{content:"󱠄"}.mdi-lightbulb-fluorescent-tube-outline:before{content:"󱠅"}.mdi-lightbulb-group:before{content:"󱉓"}.mdi-lightbulb-group-off:before{content:"󱋍"}.mdi-lightbulb-group-off-outline:before{content:"󱋎"}.mdi-lightbulb-group-outline:before{content:"󱉔"}.mdi-lightbulb-multiple:before{content:"󱉕"}.mdi-lightbulb-multiple-off:before{content:"󱋏"}.mdi-lightbulb-multiple-off-outline:before{content:"󱋐"}.mdi-lightbulb-multiple-outline:before{content:"󱉖"}.mdi-lightbulb-night:before{content:"󱩌"}.mdi-lightbulb-night-outline:before{content:"󱩍"}.mdi-lightbulb-off:before{content:"󰹏"}.mdi-lightbulb-off-outline:before{content:"󰹐"}.mdi-lightbulb-on:before{content:"󰛨"}.mdi-lightbulb-on-10:before{content:"󱩎"}.mdi-lightbulb-on-20:before{content:"󱩏"}.mdi-lightbulb-on-30:before{content:"󱩐"}.mdi-lightbulb-on-40:before{content:"󱩑"}.mdi-lightbulb-on-50:before{content:"󱩒"}.mdi-lightbulb-on-60:before{content:"󱩓"}.mdi-lightbulb-on-70:before{content:"󱩔"}.mdi-lightbulb-on-80:before{content:"󱩕"}.mdi-lightbulb-on-90:before{content:"󱩖"}.mdi-lightbulb-on-outline:before{content:"󰛩"}.mdi-lightbulb-outline:before{content:"󰌶"}.mdi-lightbulb-question:before{content:"󱧣"}.mdi-lightbulb-question-outline:before{content:"󱧤"}.mdi-lightbulb-spot:before{content:"󱟴"}.mdi-lightbulb-spot-off:before{content:"󱟵"}.mdi-lightbulb-variant:before{content:"󱠂"}.mdi-lightbulb-variant-outline:before{content:"󱠃"}.mdi-lighthouse:before{content:"󰧿"}.mdi-lighthouse-on:before{content:"󰨀"}.mdi-lightning-bolt:before{content:"󱐋"}.mdi-lightning-bolt-circle:before{content:"󰠠"}.mdi-lightning-bolt-outline:before{content:"󱐌"}.mdi-line-scan:before{content:"󰘤"}.mdi-lingerie:before{content:"󱑶"}.mdi-link:before{content:"󰌷"}.mdi-link-box:before{content:"󰴚"}.mdi-link-box-outline:before{content:"󰴛"}.mdi-link-box-variant:before{content:"󰴜"}.mdi-link-box-variant-outline:before{content:"󰴝"}.mdi-link-lock:before{content:"󱂺"}.mdi-link-off:before{content:"󰌸"}.mdi-link-plus:before{content:"󰲔"}.mdi-link-variant:before{content:"󰌹"}.mdi-link-variant-minus:before{content:"󱃿"}.mdi-link-variant-off:before{content:"󰌺"}.mdi-link-variant-plus:before{content:"󱄀"}.mdi-link-variant-remove:before{content:"󱄁"}.mdi-linkedin:before{content:"󰌻"}.mdi-linux:before{content:"󰌽"}.mdi-linux-mint:before{content:"󰣭"}.mdi-lipstick:before{content:"󱎵"}.mdi-liquid-spot:before{content:"󱠦"}.mdi-liquor:before{content:"󱤞"}.mdi-list-box:before{content:"󱭻"}.mdi-list-box-outline:before{content:"󱭼"}.mdi-list-status:before{content:"󱖫"}.mdi-litecoin:before{content:"󰩡"}.mdi-loading:before{content:"󰝲"}.mdi-location-enter:before{content:"󰿄"}.mdi-location-exit:before{content:"󰿅"}.mdi-lock:before{content:"󰌾"}.mdi-lock-alert:before{content:"󰣮"}.mdi-lock-alert-outline:before{content:"󱗑"}.mdi-lock-check:before{content:"󱎚"}.mdi-lock-check-outline:before{content:"󱚨"}.mdi-lock-clock:before{content:"󰥿"}.mdi-lock-minus:before{content:"󱚩"}.mdi-lock-minus-outline:before{content:"󱚪"}.mdi-lock-off:before{content:"󱙱"}.mdi-lock-off-outline:before{content:"󱙲"}.mdi-lock-open:before{content:"󰌿"}.mdi-lock-open-alert:before{content:"󱎛"}.mdi-lock-open-alert-outline:before{content:"󱗒"}.mdi-lock-open-check:before{content:"󱎜"}.mdi-lock-open-check-outline:before{content:"󱚫"}.mdi-lock-open-minus:before{content:"󱚬"}.mdi-lock-open-minus-outline:before{content:"󱚭"}.mdi-lock-open-outline:before{content:"󰍀"}.mdi-lock-open-plus:before{content:"󱚮"}.mdi-lock-open-plus-outline:before{content:"󱚯"}.mdi-lock-open-remove:before{content:"󱚰"}.mdi-lock-open-remove-outline:before{content:"󱚱"}.mdi-lock-open-variant:before{content:"󰿆"}.mdi-lock-open-variant-outline:before{content:"󰿇"}.mdi-lock-outline:before{content:"󰍁"}.mdi-lock-pattern:before{content:"󰛪"}.mdi-lock-percent:before{content:"󱰒"}.mdi-lock-percent-open:before{content:"󱰓"}.mdi-lock-percent-open-outline:before{content:"󱰔"}.mdi-lock-percent-open-variant:before{content:"󱰕"}.mdi-lock-percent-open-variant-outline:before{content:"󱰖"}.mdi-lock-percent-outline:before{content:"󱰗"}.mdi-lock-plus:before{content:"󰗻"}.mdi-lock-plus-outline:before{content:"󱚲"}.mdi-lock-question:before{content:"󰣯"}.mdi-lock-remove:before{content:"󱚳"}.mdi-lock-remove-outline:before{content:"󱚴"}.mdi-lock-reset:before{content:"󰝳"}.mdi-lock-smart:before{content:"󰢲"}.mdi-locker:before{content:"󰟗"}.mdi-locker-multiple:before{content:"󰟘"}.mdi-login:before{content:"󰍂"}.mdi-login-variant:before{content:"󰗼"}.mdi-logout:before{content:"󰍃"}.mdi-logout-variant:before{content:"󰗽"}.mdi-longitude:before{content:"󰽚"}.mdi-looks:before{content:"󰍄"}.mdi-lotion:before{content:"󱖂"}.mdi-lotion-outline:before{content:"󱖃"}.mdi-lotion-plus:before{content:"󱖄"}.mdi-lotion-plus-outline:before{content:"󱖅"}.mdi-loupe:before{content:"󰍅"}.mdi-lumx:before{content:"󰍆"}.mdi-lungs:before{content:"󱂄"}.mdi-mace:before{content:"󱡃"}.mdi-magazine-pistol:before{content:"󰌤"}.mdi-magazine-rifle:before{content:"󰌣"}.mdi-magic-staff:before{content:"󱡄"}.mdi-magnet:before{content:"󰍇"}.mdi-magnet-on:before{content:"󰍈"}.mdi-magnify:before{content:"󰍉"}.mdi-magnify-close:before{content:"󰦀"}.mdi-magnify-expand:before{content:"󱡴"}.mdi-magnify-minus:before{content:"󰍊"}.mdi-magnify-minus-cursor:before{content:"󰩢"}.mdi-magnify-minus-outline:before{content:"󰛬"}.mdi-magnify-plus:before{content:"󰍋"}.mdi-magnify-plus-cursor:before{content:"󰩣"}.mdi-magnify-plus-outline:before{content:"󰛭"}.mdi-magnify-remove-cursor:before{content:"󱈌"}.mdi-magnify-remove-outline:before{content:"󱈍"}.mdi-magnify-scan:before{content:"󱉶"}.mdi-mail:before{content:"󰺻"}.mdi-mailbox:before{content:"󰛮"}.mdi-mailbox-open:before{content:"󰶈"}.mdi-mailbox-open-outline:before{content:"󰶉"}.mdi-mailbox-open-up:before{content:"󰶊"}.mdi-mailbox-open-up-outline:before{content:"󰶋"}.mdi-mailbox-outline:before{content:"󰶌"}.mdi-mailbox-up:before{content:"󰶍"}.mdi-mailbox-up-outline:before{content:"󰶎"}.mdi-manjaro:before{content:"󱘊"}.mdi-map:before{content:"󰍍"}.mdi-map-check:before{content:"󰺼"}.mdi-map-check-outline:before{content:"󰺽"}.mdi-map-clock:before{content:"󰴞"}.mdi-map-clock-outline:before{content:"󰴟"}.mdi-map-legend:before{content:"󰨁"}.mdi-map-marker:before{content:"󰍎"}.mdi-map-marker-account:before{content:"󱣣"}.mdi-map-marker-account-outline:before{content:"󱣤"}.mdi-map-marker-alert:before{content:"󰼅"}.mdi-map-marker-alert-outline:before{content:"󰼆"}.mdi-map-marker-check:before{content:"󰲕"}.mdi-map-marker-check-outline:before{content:"󱋻"}.mdi-map-marker-circle:before{content:"󰍏"}.mdi-map-marker-distance:before{content:"󰣰"}.mdi-map-marker-down:before{content:"󱄂"}.mdi-map-marker-left:before{content:"󱋛"}.mdi-map-marker-left-outline:before{content:"󱋝"}.mdi-map-marker-minus:before{content:"󰙐"}.mdi-map-marker-minus-outline:before{content:"󱋹"}.mdi-map-marker-multiple:before{content:"󰍐"}.mdi-map-marker-multiple-outline:before{content:"󱉷"}.mdi-map-marker-off:before{content:"󰍑"}.mdi-map-marker-off-outline:before{content:"󱋽"}.mdi-map-marker-outline:before{content:"󰟙"}.mdi-map-marker-path:before{content:"󰴠"}.mdi-map-marker-plus:before{content:"󰙑"}.mdi-map-marker-plus-outline:before{content:"󱋸"}.mdi-map-marker-question:before{content:"󰼇"}.mdi-map-marker-question-outline:before{content:"󰼈"}.mdi-map-marker-radius:before{content:"󰍒"}.mdi-map-marker-radius-outline:before{content:"󱋼"}.mdi-map-marker-remove:before{content:"󰼉"}.mdi-map-marker-remove-outline:before{content:"󱋺"}.mdi-map-marker-remove-variant:before{content:"󰼊"}.mdi-map-marker-right:before{content:"󱋜"}.mdi-map-marker-right-outline:before{content:"󱋞"}.mdi-map-marker-star:before{content:"󱘈"}.mdi-map-marker-star-outline:before{content:"󱘉"}.mdi-map-marker-up:before{content:"󱄃"}.mdi-map-minus:before{content:"󰦁"}.mdi-map-outline:before{content:"󰦂"}.mdi-map-plus:before{content:"󰦃"}.mdi-map-search:before{content:"󰦄"}.mdi-map-search-outline:before{content:"󰦅"}.mdi-mapbox:before{content:"󰮪"}.mdi-margin:before{content:"󰍓"}.mdi-marker:before{content:"󰙒"}.mdi-marker-cancel:before{content:"󰷙"}.mdi-marker-check:before{content:"󰍕"}.mdi-mastodon:before{content:"󰫑"}.mdi-material-design:before{content:"󰦆"}.mdi-material-ui:before{content:"󰍗"}.mdi-math-compass:before{content:"󰍘"}.mdi-math-cos:before{content:"󰲖"}.mdi-math-integral:before{content:"󰿈"}.mdi-math-integral-box:before{content:"󰿉"}.mdi-math-log:before{content:"󱂅"}.mdi-math-norm:before{content:"󰿊"}.mdi-math-norm-box:before{content:"󰿋"}.mdi-math-sin:before{content:"󰲗"}.mdi-math-tan:before{content:"󰲘"}.mdi-matrix:before{content:"󰘨"}.mdi-medal:before{content:"󰦇"}.mdi-medal-outline:before{content:"󱌦"}.mdi-medical-bag:before{content:"󰛯"}.mdi-medical-cotton-swab:before{content:"󱪸"}.mdi-medication:before{content:"󱬔"}.mdi-medication-outline:before{content:"󱬕"}.mdi-meditation:before{content:"󱅻"}.mdi-memory:before{content:"󰍛"}.mdi-menorah:before{content:"󱟔"}.mdi-menorah-fire:before{content:"󱟕"}.mdi-menu:before{content:"󰍜"}.mdi-menu-down:before{content:"󰍝"}.mdi-menu-down-outline:before{content:"󰚶"}.mdi-menu-left:before{content:"󰍞"}.mdi-menu-left-outline:before{content:"󰨂"}.mdi-menu-open:before{content:"󰮫"}.mdi-menu-right:before{content:"󰍟"}.mdi-menu-right-outline:before{content:"󰨃"}.mdi-menu-swap:before{content:"󰩤"}.mdi-menu-swap-outline:before{content:"󰩥"}.mdi-menu-up:before{content:"󰍠"}.mdi-menu-up-outline:before{content:"󰚷"}.mdi-merge:before{content:"󰽜"}.mdi-message:before{content:"󰍡"}.mdi-message-alert:before{content:"󰍢"}.mdi-message-alert-outline:before{content:"󰨄"}.mdi-message-arrow-left:before{content:"󱋲"}.mdi-message-arrow-left-outline:before{content:"󱋳"}.mdi-message-arrow-right:before{content:"󱋴"}.mdi-message-arrow-right-outline:before{content:"󱋵"}.mdi-message-badge:before{content:"󱥁"}.mdi-message-badge-outline:before{content:"󱥂"}.mdi-message-bookmark:before{content:"󱖬"}.mdi-message-bookmark-outline:before{content:"󱖭"}.mdi-message-bulleted:before{content:"󰚢"}.mdi-message-bulleted-off:before{content:"󰚣"}.mdi-message-check:before{content:"󱮊"}.mdi-message-check-outline:before{content:"󱮋"}.mdi-message-cog:before{content:"󰛱"}.mdi-message-cog-outline:before{content:"󱅲"}.mdi-message-draw:before{content:"󰍣"}.mdi-message-fast:before{content:"󱧌"}.mdi-message-fast-outline:before{content:"󱧍"}.mdi-message-flash:before{content:"󱖩"}.mdi-message-flash-outline:before{content:"󱖪"}.mdi-message-image:before{content:"󰍤"}.mdi-message-image-outline:before{content:"󱅬"}.mdi-message-lock:before{content:"󰿌"}.mdi-message-lock-outline:before{content:"󱅭"}.mdi-message-minus:before{content:"󱅮"}.mdi-message-minus-outline:before{content:"󱅯"}.mdi-message-off:before{content:"󱙍"}.mdi-message-off-outline:before{content:"󱙎"}.mdi-message-outline:before{content:"󰍥"}.mdi-message-plus:before{content:"󰙓"}.mdi-message-plus-outline:before{content:"󱂻"}.mdi-message-processing:before{content:"󰍦"}.mdi-message-processing-outline:before{content:"󱅰"}.mdi-message-question:before{content:"󱜺"}.mdi-message-question-outline:before{content:"󱜻"}.mdi-message-reply:before{content:"󰍧"}.mdi-message-reply-outline:before{content:"󱜽"}.mdi-message-reply-text:before{content:"󰍨"}.mdi-message-reply-text-outline:before{content:"󱜾"}.mdi-message-settings:before{content:"󰛰"}.mdi-message-settings-outline:before{content:"󱅱"}.mdi-message-star:before{content:"󰚚"}.mdi-message-star-outline:before{content:"󱉐"}.mdi-message-text:before{content:"󰍩"}.mdi-message-text-clock:before{content:"󱅳"}.mdi-message-text-clock-outline:before{content:"󱅴"}.mdi-message-text-fast:before{content:"󱧎"}.mdi-message-text-fast-outline:before{content:"󱧏"}.mdi-message-text-lock:before{content:"󰿍"}.mdi-message-text-lock-outline:before{content:"󱅵"}.mdi-message-text-outline:before{content:"󰍪"}.mdi-message-video:before{content:"󰍫"}.mdi-meteor:before{content:"󰘩"}.mdi-meter-electric:before{content:"󱩗"}.mdi-meter-electric-outline:before{content:"󱩘"}.mdi-meter-gas:before{content:"󱩙"}.mdi-meter-gas-outline:before{content:"󱩚"}.mdi-metronome:before{content:"󰟚"}.mdi-metronome-tick:before{content:"󰟛"}.mdi-micro-sd:before{content:"󰟜"}.mdi-microphone:before{content:"󰍬"}.mdi-microphone-message:before{content:"󰔊"}.mdi-microphone-message-off:before{content:"󰔋"}.mdi-microphone-minus:before{content:"󰢳"}.mdi-microphone-off:before{content:"󰍭"}.mdi-microphone-outline:before{content:"󰍮"}.mdi-microphone-plus:before{content:"󰢴"}.mdi-microphone-question:before{content:"󱦉"}.mdi-microphone-question-outline:before{content:"󱦊"}.mdi-microphone-settings:before{content:"󰍯"}.mdi-microphone-variant:before{content:"󰍰"}.mdi-microphone-variant-off:before{content:"󰍱"}.mdi-microscope:before{content:"󰙔"}.mdi-microsoft:before{content:"󰍲"}.mdi-microsoft-access:before{content:"󱎎"}.mdi-microsoft-azure:before{content:"󰠅"}.mdi-microsoft-azure-devops:before{content:"󰿕"}.mdi-microsoft-bing:before{content:"󰂤"}.mdi-microsoft-dynamics-365:before{content:"󰦈"}.mdi-microsoft-edge:before{content:"󰇩"}.mdi-microsoft-excel:before{content:"󱎏"}.mdi-microsoft-internet-explorer:before{content:"󰌀"}.mdi-microsoft-office:before{content:"󰏆"}.mdi-microsoft-onedrive:before{content:"󰏊"}.mdi-microsoft-onenote:before{content:"󰝇"}.mdi-microsoft-outlook:before{content:"󰴢"}.mdi-microsoft-powerpoint:before{content:"󱎐"}.mdi-microsoft-sharepoint:before{content:"󱎑"}.mdi-microsoft-teams:before{content:"󰊻"}.mdi-microsoft-visual-studio:before{content:"󰘐"}.mdi-microsoft-visual-studio-code:before{content:"󰨞"}.mdi-microsoft-windows:before{content:"󰖳"}.mdi-microsoft-windows-classic:before{content:"󰨡"}.mdi-microsoft-word:before{content:"󱎒"}.mdi-microsoft-xbox:before{content:"󰖹"}.mdi-microsoft-xbox-controller:before{content:"󰖺"}.mdi-microsoft-xbox-controller-battery-alert:before{content:"󰝋"}.mdi-microsoft-xbox-controller-battery-charging:before{content:"󰨢"}.mdi-microsoft-xbox-controller-battery-empty:before{content:"󰝌"}.mdi-microsoft-xbox-controller-battery-full:before{content:"󰝍"}.mdi-microsoft-xbox-controller-battery-low:before{content:"󰝎"}.mdi-microsoft-xbox-controller-battery-medium:before{content:"󰝏"}.mdi-microsoft-xbox-controller-battery-unknown:before{content:"󰝐"}.mdi-microsoft-xbox-controller-menu:before{content:"󰹯"}.mdi-microsoft-xbox-controller-off:before{content:"󰖻"}.mdi-microsoft-xbox-controller-view:before{content:"󰹰"}.mdi-microwave:before{content:"󰲙"}.mdi-microwave-off:before{content:"󱐣"}.mdi-middleware:before{content:"󰽝"}.mdi-middleware-outline:before{content:"󰽞"}.mdi-midi:before{content:"󰣱"}.mdi-midi-port:before{content:"󰣲"}.mdi-mine:before{content:"󰷚"}.mdi-minecraft:before{content:"󰍳"}.mdi-mini-sd:before{content:"󰨅"}.mdi-minidisc:before{content:"󰨆"}.mdi-minus:before{content:"󰍴"}.mdi-minus-box:before{content:"󰍵"}.mdi-minus-box-multiple:before{content:"󱅁"}.mdi-minus-box-multiple-outline:before{content:"󱅂"}.mdi-minus-box-outline:before{content:"󰛲"}.mdi-minus-circle:before{content:"󰍶"}.mdi-minus-circle-multiple:before{content:"󰍚"}.mdi-minus-circle-multiple-outline:before{content:"󰫓"}.mdi-minus-circle-off:before{content:"󱑙"}.mdi-minus-circle-off-outline:before{content:"󱑚"}.mdi-minus-circle-outline:before{content:"󰍷"}.mdi-minus-network:before{content:"󰍸"}.mdi-minus-network-outline:before{content:"󰲚"}.mdi-minus-thick:before{content:"󱘹"}.mdi-mirror:before{content:"󱇽"}.mdi-mirror-rectangle:before{content:"󱞟"}.mdi-mirror-variant:before{content:"󱞠"}.mdi-mixed-martial-arts:before{content:"󰶏"}.mdi-mixed-reality:before{content:"󰡿"}.mdi-molecule:before{content:"󰮬"}.mdi-molecule-co:before{content:"󱋾"}.mdi-molecule-co2:before{content:"󰟤"}.mdi-monitor:before{content:"󰍹"}.mdi-monitor-account:before{content:"󱩛"}.mdi-monitor-arrow-down:before{content:"󱧐"}.mdi-monitor-arrow-down-variant:before{content:"󱧑"}.mdi-monitor-cellphone:before{content:"󰦉"}.mdi-monitor-cellphone-star:before{content:"󰦊"}.mdi-monitor-dashboard:before{content:"󰨇"}.mdi-monitor-edit:before{content:"󱋆"}.mdi-monitor-eye:before{content:"󱎴"}.mdi-monitor-lock:before{content:"󰷛"}.mdi-monitor-multiple:before{content:"󰍺"}.mdi-monitor-off:before{content:"󰶐"}.mdi-monitor-screenshot:before{content:"󰹑"}.mdi-monitor-share:before{content:"󱒃"}.mdi-monitor-shimmer:before{content:"󱄄"}.mdi-monitor-small:before{content:"󱡶"}.mdi-monitor-speaker:before{content:"󰽟"}.mdi-monitor-speaker-off:before{content:"󰽠"}.mdi-monitor-star:before{content:"󰷜"}.mdi-monitor-vertical:before{content:"󱰳"}.mdi-moon-first-quarter:before{content:"󰽡"}.mdi-moon-full:before{content:"󰽢"}.mdi-moon-last-quarter:before{content:"󰽣"}.mdi-moon-new:before{content:"󰽤"}.mdi-moon-waning-crescent:before{content:"󰽥"}.mdi-moon-waning-gibbous:before{content:"󰽦"}.mdi-moon-waxing-crescent:before{content:"󰽧"}.mdi-moon-waxing-gibbous:before{content:"󰽨"}.mdi-moped:before{content:"󱂆"}.mdi-moped-electric:before{content:"󱖷"}.mdi-moped-electric-outline:before{content:"󱖸"}.mdi-moped-outline:before{content:"󱖹"}.mdi-more:before{content:"󰍻"}.mdi-mortar-pestle:before{content:"󱝈"}.mdi-mortar-pestle-plus:before{content:"󰏱"}.mdi-mosque:before{content:"󰵅"}.mdi-mosque-outline:before{content:"󱠧"}.mdi-mother-heart:before{content:"󱌔"}.mdi-mother-nurse:before{content:"󰴡"}.mdi-motion:before{content:"󱖲"}.mdi-motion-outline:before{content:"󱖳"}.mdi-motion-pause:before{content:"󱖐"}.mdi-motion-pause-outline:before{content:"󱖒"}.mdi-motion-play:before{content:"󱖏"}.mdi-motion-play-outline:before{content:"󱖑"}.mdi-motion-sensor:before{content:"󰶑"}.mdi-motion-sensor-off:before{content:"󱐵"}.mdi-motorbike:before{content:"󰍼"}.mdi-motorbike-electric:before{content:"󱖺"}.mdi-motorbike-off:before{content:"󱬖"}.mdi-mouse:before{content:"󰍽"}.mdi-mouse-bluetooth:before{content:"󰦋"}.mdi-mouse-move-down:before{content:"󱕐"}.mdi-mouse-move-up:before{content:"󱕑"}.mdi-mouse-move-vertical:before{content:"󱕒"}.mdi-mouse-off:before{content:"󰍾"}.mdi-mouse-variant:before{content:"󰍿"}.mdi-mouse-variant-off:before{content:"󰎀"}.mdi-move-resize:before{content:"󰙕"}.mdi-move-resize-variant:before{content:"󰙖"}.mdi-movie:before{content:"󰎁"}.mdi-movie-check:before{content:"󱛳"}.mdi-movie-check-outline:before{content:"󱛴"}.mdi-movie-cog:before{content:"󱛵"}.mdi-movie-cog-outline:before{content:"󱛶"}.mdi-movie-edit:before{content:"󱄢"}.mdi-movie-edit-outline:before{content:"󱄣"}.mdi-movie-filter:before{content:"󱄤"}.mdi-movie-filter-outline:before{content:"󱄥"}.mdi-movie-minus:before{content:"󱛷"}.mdi-movie-minus-outline:before{content:"󱛸"}.mdi-movie-off:before{content:"󱛹"}.mdi-movie-off-outline:before{content:"󱛺"}.mdi-movie-open:before{content:"󰿎"}.mdi-movie-open-check:before{content:"󱛻"}.mdi-movie-open-check-outline:before{content:"󱛼"}.mdi-movie-open-cog:before{content:"󱛽"}.mdi-movie-open-cog-outline:before{content:"󱛾"}.mdi-movie-open-edit:before{content:"󱛿"}.mdi-movie-open-edit-outline:before{content:"󱜀"}.mdi-movie-open-minus:before{content:"󱜁"}.mdi-movie-open-minus-outline:before{content:"󱜂"}.mdi-movie-open-off:before{content:"󱜃"}.mdi-movie-open-off-outline:before{content:"󱜄"}.mdi-movie-open-outline:before{content:"󰿏"}.mdi-movie-open-play:before{content:"󱜅"}.mdi-movie-open-play-outline:before{content:"󱜆"}.mdi-movie-open-plus:before{content:"󱜇"}.mdi-movie-open-plus-outline:before{content:"󱜈"}.mdi-movie-open-remove:before{content:"󱜉"}.mdi-movie-open-remove-outline:before{content:"󱜊"}.mdi-movie-open-settings:before{content:"󱜋"}.mdi-movie-open-settings-outline:before{content:"󱜌"}.mdi-movie-open-star:before{content:"󱜍"}.mdi-movie-open-star-outline:before{content:"󱜎"}.mdi-movie-outline:before{content:"󰷝"}.mdi-movie-play:before{content:"󱜏"}.mdi-movie-play-outline:before{content:"󱜐"}.mdi-movie-plus:before{content:"󱜑"}.mdi-movie-plus-outline:before{content:"󱜒"}.mdi-movie-remove:before{content:"󱜓"}.mdi-movie-remove-outline:before{content:"󱜔"}.mdi-movie-roll:before{content:"󰟞"}.mdi-movie-search:before{content:"󱇒"}.mdi-movie-search-outline:before{content:"󱇓"}.mdi-movie-settings:before{content:"󱜕"}.mdi-movie-settings-outline:before{content:"󱜖"}.mdi-movie-star:before{content:"󱜗"}.mdi-movie-star-outline:before{content:"󱜘"}.mdi-mower:before{content:"󱙯"}.mdi-mower-bag:before{content:"󱙰"}.mdi-mower-bag-on:before{content:"󱭠"}.mdi-mower-on:before{content:"󱭟"}.mdi-muffin:before{content:"󰦌"}.mdi-multicast:before{content:"󱢓"}.mdi-multimedia:before{content:"󱮗"}.mdi-multiplication:before{content:"󰎂"}.mdi-multiplication-box:before{content:"󰎃"}.mdi-mushroom:before{content:"󰟟"}.mdi-mushroom-off:before{content:"󱏺"}.mdi-mushroom-off-outline:before{content:"󱏻"}.mdi-mushroom-outline:before{content:"󰟠"}.mdi-music:before{content:"󰝚"}.mdi-music-accidental-double-flat:before{content:"󰽩"}.mdi-music-accidental-double-sharp:before{content:"󰽪"}.mdi-music-accidental-flat:before{content:"󰽫"}.mdi-music-accidental-natural:before{content:"󰽬"}.mdi-music-accidental-sharp:before{content:"󰽭"}.mdi-music-box:before{content:"󰎄"}.mdi-music-box-multiple:before{content:"󰌳"}.mdi-music-box-multiple-outline:before{content:"󰼄"}.mdi-music-box-outline:before{content:"󰎅"}.mdi-music-circle:before{content:"󰎆"}.mdi-music-circle-outline:before{content:"󰫔"}.mdi-music-clef-alto:before{content:"󰽮"}.mdi-music-clef-bass:before{content:"󰽯"}.mdi-music-clef-treble:before{content:"󰽰"}.mdi-music-note:before{content:"󰎇"}.mdi-music-note-bluetooth:before{content:"󰗾"}.mdi-music-note-bluetooth-off:before{content:"󰗿"}.mdi-music-note-eighth:before{content:"󰎈"}.mdi-music-note-eighth-dotted:before{content:"󰽱"}.mdi-music-note-half:before{content:"󰎉"}.mdi-music-note-half-dotted:before{content:"󰽲"}.mdi-music-note-minus:before{content:"󱮉"}.mdi-music-note-off:before{content:"󰎊"}.mdi-music-note-off-outline:before{content:"󰽳"}.mdi-music-note-outline:before{content:"󰽴"}.mdi-music-note-plus:before{content:"󰷞"}.mdi-music-note-quarter:before{content:"󰎋"}.mdi-music-note-quarter-dotted:before{content:"󰽵"}.mdi-music-note-sixteenth:before{content:"󰎌"}.mdi-music-note-sixteenth-dotted:before{content:"󰽶"}.mdi-music-note-whole:before{content:"󰎍"}.mdi-music-note-whole-dotted:before{content:"󰽷"}.mdi-music-off:before{content:"󰝛"}.mdi-music-rest-eighth:before{content:"󰽸"}.mdi-music-rest-half:before{content:"󰽹"}.mdi-music-rest-quarter:before{content:"󰽺"}.mdi-music-rest-sixteenth:before{content:"󰽻"}.mdi-music-rest-whole:before{content:"󰽼"}.mdi-mustache:before{content:"󱗞"}.mdi-nail:before{content:"󰷟"}.mdi-nas:before{content:"󰣳"}.mdi-nativescript:before{content:"󰢀"}.mdi-nature:before{content:"󰎎"}.mdi-nature-outline:before{content:"󱱱"}.mdi-nature-people:before{content:"󰎏"}.mdi-nature-people-outline:before{content:"󱱲"}.mdi-navigation:before{content:"󰎐"}.mdi-navigation-outline:before{content:"󱘇"}.mdi-navigation-variant:before{content:"󱣰"}.mdi-navigation-variant-outline:before{content:"󱣱"}.mdi-near-me:before{content:"󰗍"}.mdi-necklace:before{content:"󰼋"}.mdi-needle:before{content:"󰎑"}.mdi-needle-off:before{content:"󱧒"}.mdi-netflix:before{content:"󰝆"}.mdi-network:before{content:"󰛳"}.mdi-network-off:before{content:"󰲛"}.mdi-network-off-outline:before{content:"󰲜"}.mdi-network-outline:before{content:"󰲝"}.mdi-network-pos:before{content:"󱫋"}.mdi-network-strength-1:before{content:"󰣴"}.mdi-network-strength-1-alert:before{content:"󰣵"}.mdi-network-strength-2:before{content:"󰣶"}.mdi-network-strength-2-alert:before{content:"󰣷"}.mdi-network-strength-3:before{content:"󰣸"}.mdi-network-strength-3-alert:before{content:"󰣹"}.mdi-network-strength-4:before{content:"󰣺"}.mdi-network-strength-4-alert:before{content:"󰣻"}.mdi-network-strength-4-cog:before{content:"󱤚"}.mdi-network-strength-off:before{content:"󰣼"}.mdi-network-strength-off-outline:before{content:"󰣽"}.mdi-network-strength-outline:before{content:"󰣾"}.mdi-new-box:before{content:"󰎔"}.mdi-newspaper:before{content:"󰎕"}.mdi-newspaper-check:before{content:"󱥃"}.mdi-newspaper-minus:before{content:"󰼌"}.mdi-newspaper-plus:before{content:"󰼍"}.mdi-newspaper-remove:before{content:"󱥄"}.mdi-newspaper-variant:before{content:"󱀁"}.mdi-newspaper-variant-multiple:before{content:"󱀂"}.mdi-newspaper-variant-multiple-outline:before{content:"󱀃"}.mdi-newspaper-variant-outline:before{content:"󱀄"}.mdi-nfc:before{content:"󰎖"}.mdi-nfc-search-variant:before{content:"󰹓"}.mdi-nfc-tap:before{content:"󰎗"}.mdi-nfc-variant:before{content:"󰎘"}.mdi-nfc-variant-off:before{content:"󰹔"}.mdi-ninja:before{content:"󰝴"}.mdi-nintendo-game-boy:before{content:"󱎓"}.mdi-nintendo-switch:before{content:"󰟡"}.mdi-nintendo-wii:before{content:"󰖫"}.mdi-nintendo-wiiu:before{content:"󰜭"}.mdi-nix:before{content:"󱄅"}.mdi-nodejs:before{content:"󰎙"}.mdi-noodles:before{content:"󱅾"}.mdi-not-equal:before{content:"󰦍"}.mdi-not-equal-variant:before{content:"󰦎"}.mdi-note:before{content:"󰎚"}.mdi-note-alert:before{content:"󱝽"}.mdi-note-alert-outline:before{content:"󱝾"}.mdi-note-check:before{content:"󱝿"}.mdi-note-check-outline:before{content:"󱞀"}.mdi-note-edit:before{content:"󱞁"}.mdi-note-edit-outline:before{content:"󱞂"}.mdi-note-minus:before{content:"󱙏"}.mdi-note-minus-outline:before{content:"󱙐"}.mdi-note-multiple:before{content:"󰚸"}.mdi-note-multiple-outline:before{content:"󰚹"}.mdi-note-off:before{content:"󱞃"}.mdi-note-off-outline:before{content:"󱞄"}.mdi-note-outline:before{content:"󰎛"}.mdi-note-plus:before{content:"󰎜"}.mdi-note-plus-outline:before{content:"󰎝"}.mdi-note-remove:before{content:"󱙑"}.mdi-note-remove-outline:before{content:"󱙒"}.mdi-note-search:before{content:"󱙓"}.mdi-note-search-outline:before{content:"󱙔"}.mdi-note-text:before{content:"󰎞"}.mdi-note-text-outline:before{content:"󱇗"}.mdi-notebook:before{content:"󰠮"}.mdi-notebook-check:before{content:"󱓵"}.mdi-notebook-check-outline:before{content:"󱓶"}.mdi-notebook-edit:before{content:"󱓧"}.mdi-notebook-edit-outline:before{content:"󱓩"}.mdi-notebook-heart:before{content:"󱨋"}.mdi-notebook-heart-outline:before{content:"󱨌"}.mdi-notebook-minus:before{content:"󱘐"}.mdi-notebook-minus-outline:before{content:"󱘑"}.mdi-notebook-multiple:before{content:"󰹕"}.mdi-notebook-outline:before{content:"󰺿"}.mdi-notebook-plus:before{content:"󱘒"}.mdi-notebook-plus-outline:before{content:"󱘓"}.mdi-notebook-remove:before{content:"󱘔"}.mdi-notebook-remove-outline:before{content:"󱘕"}.mdi-notification-clear-all:before{content:"󰎟"}.mdi-npm:before{content:"󰛷"}.mdi-nuke:before{content:"󰚤"}.mdi-null:before{content:"󰟢"}.mdi-numeric:before{content:"󰎠"}.mdi-numeric-0:before{content:"󰬹"}.mdi-numeric-0-box:before{content:"󰎡"}.mdi-numeric-0-box-multiple:before{content:"󰼎"}.mdi-numeric-0-box-multiple-outline:before{content:"󰎢"}.mdi-numeric-0-box-outline:before{content:"󰎣"}.mdi-numeric-0-circle:before{content:"󰲞"}.mdi-numeric-0-circle-outline:before{content:"󰲟"}.mdi-numeric-1:before{content:"󰬺"}.mdi-numeric-1-box:before{content:"󰎤"}.mdi-numeric-1-box-multiple:before{content:"󰼏"}.mdi-numeric-1-box-multiple-outline:before{content:"󰎥"}.mdi-numeric-1-box-outline:before{content:"󰎦"}.mdi-numeric-1-circle:before{content:"󰲠"}.mdi-numeric-1-circle-outline:before{content:"󰲡"}.mdi-numeric-10:before{content:"󰿩"}.mdi-numeric-10-box:before{content:"󰽽"}.mdi-numeric-10-box-multiple:before{content:"󰿪"}.mdi-numeric-10-box-multiple-outline:before{content:"󰿫"}.mdi-numeric-10-box-outline:before{content:"󰽾"}.mdi-numeric-10-circle:before{content:"󰿬"}.mdi-numeric-10-circle-outline:before{content:"󰿭"}.mdi-numeric-2:before{content:"󰬻"}.mdi-numeric-2-box:before{content:"󰎧"}.mdi-numeric-2-box-multiple:before{content:"󰼐"}.mdi-numeric-2-box-multiple-outline:before{content:"󰎨"}.mdi-numeric-2-box-outline:before{content:"󰎩"}.mdi-numeric-2-circle:before{content:"󰲢"}.mdi-numeric-2-circle-outline:before{content:"󰲣"}.mdi-numeric-3:before{content:"󰬼"}.mdi-numeric-3-box:before{content:"󰎪"}.mdi-numeric-3-box-multiple:before{content:"󰼑"}.mdi-numeric-3-box-multiple-outline:before{content:"󰎫"}.mdi-numeric-3-box-outline:before{content:"󰎬"}.mdi-numeric-3-circle:before{content:"󰲤"}.mdi-numeric-3-circle-outline:before{content:"󰲥"}.mdi-numeric-4:before{content:"󰬽"}.mdi-numeric-4-box:before{content:"󰎭"}.mdi-numeric-4-box-multiple:before{content:"󰼒"}.mdi-numeric-4-box-multiple-outline:before{content:"󰎲"}.mdi-numeric-4-box-outline:before{content:"󰎮"}.mdi-numeric-4-circle:before{content:"󰲦"}.mdi-numeric-4-circle-outline:before{content:"󰲧"}.mdi-numeric-5:before{content:"󰬾"}.mdi-numeric-5-box:before{content:"󰎱"}.mdi-numeric-5-box-multiple:before{content:"󰼓"}.mdi-numeric-5-box-multiple-outline:before{content:"󰎯"}.mdi-numeric-5-box-outline:before{content:"󰎰"}.mdi-numeric-5-circle:before{content:"󰲨"}.mdi-numeric-5-circle-outline:before{content:"󰲩"}.mdi-numeric-6:before{content:"󰬿"}.mdi-numeric-6-box:before{content:"󰎳"}.mdi-numeric-6-box-multiple:before{content:"󰼔"}.mdi-numeric-6-box-multiple-outline:before{content:"󰎴"}.mdi-numeric-6-box-outline:before{content:"󰎵"}.mdi-numeric-6-circle:before{content:"󰲪"}.mdi-numeric-6-circle-outline:before{content:"󰲫"}.mdi-numeric-7:before{content:"󰭀"}.mdi-numeric-7-box:before{content:"󰎶"}.mdi-numeric-7-box-multiple:before{content:"󰼕"}.mdi-numeric-7-box-multiple-outline:before{content:"󰎷"}.mdi-numeric-7-box-outline:before{content:"󰎸"}.mdi-numeric-7-circle:before{content:"󰲬"}.mdi-numeric-7-circle-outline:before{content:"󰲭"}.mdi-numeric-8:before{content:"󰭁"}.mdi-numeric-8-box:before{content:"󰎹"}.mdi-numeric-8-box-multiple:before{content:"󰼖"}.mdi-numeric-8-box-multiple-outline:before{content:"󰎺"}.mdi-numeric-8-box-outline:before{content:"󰎻"}.mdi-numeric-8-circle:before{content:"󰲮"}.mdi-numeric-8-circle-outline:before{content:"󰲯"}.mdi-numeric-9:before{content:"󰭂"}.mdi-numeric-9-box:before{content:"󰎼"}.mdi-numeric-9-box-multiple:before{content:"󰼗"}.mdi-numeric-9-box-multiple-outline:before{content:"󰎽"}.mdi-numeric-9-box-outline:before{content:"󰎾"}.mdi-numeric-9-circle:before{content:"󰲰"}.mdi-numeric-9-circle-outline:before{content:"󰲱"}.mdi-numeric-9-plus:before{content:"󰿮"}.mdi-numeric-9-plus-box:before{content:"󰎿"}.mdi-numeric-9-plus-box-multiple:before{content:"󰼘"}.mdi-numeric-9-plus-box-multiple-outline:before{content:"󰏀"}.mdi-numeric-9-plus-box-outline:before{content:"󰏁"}.mdi-numeric-9-plus-circle:before{content:"󰲲"}.mdi-numeric-9-plus-circle-outline:before{content:"󰲳"}.mdi-numeric-negative-1:before{content:"󱁒"}.mdi-numeric-off:before{content:"󱧓"}.mdi-numeric-positive-1:before{content:"󱗋"}.mdi-nut:before{content:"󰛸"}.mdi-nutrition:before{content:"󰏂"}.mdi-nuxt:before{content:"󱄆"}.mdi-oar:before{content:"󰙼"}.mdi-ocarina:before{content:"󰷠"}.mdi-oci:before{content:"󱋩"}.mdi-ocr:before{content:"󱄺"}.mdi-octagon:before{content:"󰏃"}.mdi-octagon-outline:before{content:"󰏄"}.mdi-octagram:before{content:"󰛹"}.mdi-octagram-edit:before{content:"󱰴"}.mdi-octagram-edit-outline:before{content:"󱰵"}.mdi-octagram-minus:before{content:"󱰶"}.mdi-octagram-minus-outline:before{content:"󱰷"}.mdi-octagram-outline:before{content:"󰝵"}.mdi-octagram-plus:before{content:"󱰸"}.mdi-octagram-plus-outline:before{content:"󱰹"}.mdi-octahedron:before{content:"󱥐"}.mdi-octahedron-off:before{content:"󱥑"}.mdi-odnoklassniki:before{content:"󰏅"}.mdi-offer:before{content:"󱈛"}.mdi-office-building:before{content:"󰦑"}.mdi-office-building-cog:before{content:"󱥉"}.mdi-office-building-cog-outline:before{content:"󱥊"}.mdi-office-building-marker:before{content:"󱔠"}.mdi-office-building-marker-outline:before{content:"󱔡"}.mdi-office-building-minus:before{content:"󱮪"}.mdi-office-building-minus-outline:before{content:"󱮫"}.mdi-office-building-outline:before{content:"󱔟"}.mdi-office-building-plus:before{content:"󱮨"}.mdi-office-building-plus-outline:before{content:"󱮩"}.mdi-office-building-remove:before{content:"󱮬"}.mdi-office-building-remove-outline:before{content:"󱮭"}.mdi-oil:before{content:"󰏇"}.mdi-oil-lamp:before{content:"󰼙"}.mdi-oil-level:before{content:"󱁓"}.mdi-oil-temperature:before{content:"󰿸"}.mdi-om:before{content:"󰥳"}.mdi-omega:before{content:"󰏉"}.mdi-one-up:before{content:"󰮭"}.mdi-onepassword:before{content:"󰢁"}.mdi-opacity:before{content:"󰗌"}.mdi-open-in-app:before{content:"󰏋"}.mdi-open-in-new:before{content:"󰏌"}.mdi-open-source-initiative:before{content:"󰮮"}.mdi-openid:before{content:"󰏍"}.mdi-opera:before{content:"󰏎"}.mdi-orbit:before{content:"󰀘"}.mdi-orbit-variant:before{content:"󱗛"}.mdi-order-alphabetical-ascending:before{content:"󰈍"}.mdi-order-alphabetical-descending:before{content:"󰴇"}.mdi-order-bool-ascending:before{content:"󰊾"}.mdi-order-bool-ascending-variant:before{content:"󰦏"}.mdi-order-bool-descending:before{content:"󱎄"}.mdi-order-bool-descending-variant:before{content:"󰦐"}.mdi-order-numeric-ascending:before{content:"󰕅"}.mdi-order-numeric-descending:before{content:"󰕆"}.mdi-origin:before{content:"󰭃"}.mdi-ornament:before{content:"󰏏"}.mdi-ornament-variant:before{content:"󰏐"}.mdi-outdoor-lamp:before{content:"󱁔"}.mdi-overscan:before{content:"󱀅"}.mdi-owl:before{content:"󰏒"}.mdi-pac-man:before{content:"󰮯"}.mdi-package:before{content:"󰏓"}.mdi-package-check:before{content:"󱭑"}.mdi-package-down:before{content:"󰏔"}.mdi-package-up:before{content:"󰏕"}.mdi-package-variant:before{content:"󰏖"}.mdi-package-variant-closed:before{content:"󰏗"}.mdi-package-variant-closed-check:before{content:"󱭒"}.mdi-package-variant-closed-minus:before{content:"󱧔"}.mdi-package-variant-closed-plus:before{content:"󱧕"}.mdi-package-variant-closed-remove:before{content:"󱧖"}.mdi-package-variant-minus:before{content:"󱧗"}.mdi-package-variant-plus:before{content:"󱧘"}.mdi-package-variant-remove:before{content:"󱧙"}.mdi-page-first:before{content:"󰘀"}.mdi-page-last:before{content:"󰘁"}.mdi-page-layout-body:before{content:"󰛺"}.mdi-page-layout-footer:before{content:"󰛻"}.mdi-page-layout-header:before{content:"󰛼"}.mdi-page-layout-header-footer:before{content:"󰽿"}.mdi-page-layout-sidebar-left:before{content:"󰛽"}.mdi-page-layout-sidebar-right:before{content:"󰛾"}.mdi-page-next:before{content:"󰮰"}.mdi-page-next-outline:before{content:"󰮱"}.mdi-page-previous:before{content:"󰮲"}.mdi-page-previous-outline:before{content:"󰮳"}.mdi-pail:before{content:"󱐗"}.mdi-pail-minus:before{content:"󱐷"}.mdi-pail-minus-outline:before{content:"󱐼"}.mdi-pail-off:before{content:"󱐹"}.mdi-pail-off-outline:before{content:"󱐾"}.mdi-pail-outline:before{content:"󱐺"}.mdi-pail-plus:before{content:"󱐶"}.mdi-pail-plus-outline:before{content:"󱐻"}.mdi-pail-remove:before{content:"󱐸"}.mdi-pail-remove-outline:before{content:"󱐽"}.mdi-palette:before{content:"󰏘"}.mdi-palette-advanced:before{content:"󰏙"}.mdi-palette-outline:before{content:"󰸌"}.mdi-palette-swatch:before{content:"󰢵"}.mdi-palette-swatch-outline:before{content:"󱍜"}.mdi-palette-swatch-variant:before{content:"󱥚"}.mdi-palm-tree:before{content:"󱁕"}.mdi-pan:before{content:"󰮴"}.mdi-pan-bottom-left:before{content:"󰮵"}.mdi-pan-bottom-right:before{content:"󰮶"}.mdi-pan-down:before{content:"󰮷"}.mdi-pan-horizontal:before{content:"󰮸"}.mdi-pan-left:before{content:"󰮹"}.mdi-pan-right:before{content:"󰮺"}.mdi-pan-top-left:before{content:"󰮻"}.mdi-pan-top-right:before{content:"󰮼"}.mdi-pan-up:before{content:"󰮽"}.mdi-pan-vertical:before{content:"󰮾"}.mdi-panda:before{content:"󰏚"}.mdi-pandora:before{content:"󰏛"}.mdi-panorama:before{content:"󰏜"}.mdi-panorama-fisheye:before{content:"󰏝"}.mdi-panorama-horizontal:before{content:"󱤨"}.mdi-panorama-horizontal-outline:before{content:"󰏞"}.mdi-panorama-outline:before{content:"󱦌"}.mdi-panorama-sphere:before{content:"󱦍"}.mdi-panorama-sphere-outline:before{content:"󱦎"}.mdi-panorama-variant:before{content:"󱦏"}.mdi-panorama-variant-outline:before{content:"󱦐"}.mdi-panorama-vertical:before{content:"󱤩"}.mdi-panorama-vertical-outline:before{content:"󰏟"}.mdi-panorama-wide-angle:before{content:"󱥟"}.mdi-panorama-wide-angle-outline:before{content:"󰏠"}.mdi-paper-cut-vertical:before{content:"󰏡"}.mdi-paper-roll:before{content:"󱅗"}.mdi-paper-roll-outline:before{content:"󱅘"}.mdi-paperclip:before{content:"󰏢"}.mdi-paperclip-check:before{content:"󱫆"}.mdi-paperclip-lock:before{content:"󱧚"}.mdi-paperclip-minus:before{content:"󱫇"}.mdi-paperclip-off:before{content:"󱫈"}.mdi-paperclip-plus:before{content:"󱫉"}.mdi-paperclip-remove:before{content:"󱫊"}.mdi-parachute:before{content:"󰲴"}.mdi-parachute-outline:before{content:"󰲵"}.mdi-paragliding:before{content:"󱝅"}.mdi-parking:before{content:"󰏣"}.mdi-party-popper:before{content:"󱁖"}.mdi-passport:before{content:"󰟣"}.mdi-passport-biometric:before{content:"󰷡"}.mdi-pasta:before{content:"󱅠"}.mdi-patio-heater:before{content:"󰾀"}.mdi-patreon:before{content:"󰢂"}.mdi-pause:before{content:"󰏤"}.mdi-pause-box:before{content:"󰂼"}.mdi-pause-box-outline:before{content:"󱭺"}.mdi-pause-circle:before{content:"󰏥"}.mdi-pause-circle-outline:before{content:"󰏦"}.mdi-pause-octagon:before{content:"󰏧"}.mdi-pause-octagon-outline:before{content:"󰏨"}.mdi-paw:before{content:"󰏩"}.mdi-paw-off:before{content:"󰙗"}.mdi-paw-off-outline:before{content:"󱙶"}.mdi-paw-outline:before{content:"󱙵"}.mdi-peace:before{content:"󰢄"}.mdi-peanut:before{content:"󰿼"}.mdi-peanut-off:before{content:"󰿽"}.mdi-peanut-off-outline:before{content:"󰿿"}.mdi-peanut-outline:before{content:"󰿾"}.mdi-pen:before{content:"󰏪"}.mdi-pen-lock:before{content:"󰷢"}.mdi-pen-minus:before{content:"󰷣"}.mdi-pen-off:before{content:"󰷤"}.mdi-pen-plus:before{content:"󰷥"}.mdi-pen-remove:before{content:"󰷦"}.mdi-pencil:before{content:"󰏫"}.mdi-pencil-box:before{content:"󰏬"}.mdi-pencil-box-multiple:before{content:"󱅄"}.mdi-pencil-box-multiple-outline:before{content:"󱅅"}.mdi-pencil-box-outline:before{content:"󰏭"}.mdi-pencil-circle:before{content:"󰛿"}.mdi-pencil-circle-outline:before{content:"󰝶"}.mdi-pencil-lock:before{content:"󰏮"}.mdi-pencil-lock-outline:before{content:"󰷧"}.mdi-pencil-minus:before{content:"󰷨"}.mdi-pencil-minus-outline:before{content:"󰷩"}.mdi-pencil-off:before{content:"󰏯"}.mdi-pencil-off-outline:before{content:"󰷪"}.mdi-pencil-outline:before{content:"󰲶"}.mdi-pencil-plus:before{content:"󰷫"}.mdi-pencil-plus-outline:before{content:"󰷬"}.mdi-pencil-remove:before{content:"󰷭"}.mdi-pencil-remove-outline:before{content:"󰷮"}.mdi-pencil-ruler:before{content:"󱍓"}.mdi-pencil-ruler-outline:before{content:"󱰑"}.mdi-penguin:before{content:"󰻀"}.mdi-pentagon:before{content:"󰜁"}.mdi-pentagon-outline:before{content:"󰜀"}.mdi-pentagram:before{content:"󱙧"}.mdi-percent:before{content:"󰏰"}.mdi-percent-box:before{content:"󱨂"}.mdi-percent-box-outline:before{content:"󱨃"}.mdi-percent-circle:before{content:"󱨄"}.mdi-percent-circle-outline:before{content:"󱨅"}.mdi-percent-outline:before{content:"󱉸"}.mdi-periodic-table:before{content:"󰢶"}.mdi-perspective-less:before{content:"󰴣"}.mdi-perspective-more:before{content:"󰴤"}.mdi-ph:before{content:"󱟅"}.mdi-phone:before{content:"󰏲"}.mdi-phone-alert:before{content:"󰼚"}.mdi-phone-alert-outline:before{content:"󱆎"}.mdi-phone-bluetooth:before{content:"󰏳"}.mdi-phone-bluetooth-outline:before{content:"󱆏"}.mdi-phone-cancel:before{content:"󱂼"}.mdi-phone-cancel-outline:before{content:"󱆐"}.mdi-phone-check:before{content:"󱆩"}.mdi-phone-check-outline:before{content:"󱆪"}.mdi-phone-classic:before{content:"󰘂"}.mdi-phone-classic-off:before{content:"󱉹"}.mdi-phone-clock:before{content:"󱧛"}.mdi-phone-dial:before{content:"󱕙"}.mdi-phone-dial-outline:before{content:"󱕚"}.mdi-phone-forward:before{content:"󰏴"}.mdi-phone-forward-outline:before{content:"󱆑"}.mdi-phone-hangup:before{content:"󰏵"}.mdi-phone-hangup-outline:before{content:"󱆒"}.mdi-phone-in-talk:before{content:"󰏶"}.mdi-phone-in-talk-outline:before{content:"󱆂"}.mdi-phone-incoming:before{content:"󰏷"}.mdi-phone-incoming-outgoing:before{content:"󱬿"}.mdi-phone-incoming-outgoing-outline:before{content:"󱭀"}.mdi-phone-incoming-outline:before{content:"󱆓"}.mdi-phone-lock:before{content:"󰏸"}.mdi-phone-lock-outline:before{content:"󱆔"}.mdi-phone-log:before{content:"󰏹"}.mdi-phone-log-outline:before{content:"󱆕"}.mdi-phone-message:before{content:"󱆖"}.mdi-phone-message-outline:before{content:"󱆗"}.mdi-phone-minus:before{content:"󰙘"}.mdi-phone-minus-outline:before{content:"󱆘"}.mdi-phone-missed:before{content:"󰏺"}.mdi-phone-missed-outline:before{content:"󱆥"}.mdi-phone-off:before{content:"󰷯"}.mdi-phone-off-outline:before{content:"󱆦"}.mdi-phone-outgoing:before{content:"󰏻"}.mdi-phone-outgoing-outline:before{content:"󱆙"}.mdi-phone-outline:before{content:"󰷰"}.mdi-phone-paused:before{content:"󰏼"}.mdi-phone-paused-outline:before{content:"󱆚"}.mdi-phone-plus:before{content:"󰙙"}.mdi-phone-plus-outline:before{content:"󱆛"}.mdi-phone-refresh:before{content:"󱦓"}.mdi-phone-refresh-outline:before{content:"󱦔"}.mdi-phone-remove:before{content:"󱔯"}.mdi-phone-remove-outline:before{content:"󱔰"}.mdi-phone-return:before{content:"󰠯"}.mdi-phone-return-outline:before{content:"󱆜"}.mdi-phone-ring:before{content:"󱆫"}.mdi-phone-ring-outline:before{content:"󱆬"}.mdi-phone-rotate-landscape:before{content:"󰢅"}.mdi-phone-rotate-portrait:before{content:"󰢆"}.mdi-phone-settings:before{content:"󰏽"}.mdi-phone-settings-outline:before{content:"󱆝"}.mdi-phone-sync:before{content:"󱦕"}.mdi-phone-sync-outline:before{content:"󱦖"}.mdi-phone-voip:before{content:"󰏾"}.mdi-pi:before{content:"󰏿"}.mdi-pi-box:before{content:"󰐀"}.mdi-pi-hole:before{content:"󰷱"}.mdi-piano:before{content:"󰙽"}.mdi-piano-off:before{content:"󰚘"}.mdi-pickaxe:before{content:"󰢷"}.mdi-picture-in-picture-bottom-right:before{content:"󰹗"}.mdi-picture-in-picture-bottom-right-outline:before{content:"󰹘"}.mdi-picture-in-picture-top-right:before{content:"󰹙"}.mdi-picture-in-picture-top-right-outline:before{content:"󰹚"}.mdi-pier:before{content:"󰢇"}.mdi-pier-crane:before{content:"󰢈"}.mdi-pig:before{content:"󰐁"}.mdi-pig-variant:before{content:"󱀆"}.mdi-pig-variant-outline:before{content:"󱙸"}.mdi-piggy-bank:before{content:"󱀇"}.mdi-piggy-bank-outline:before{content:"󱙹"}.mdi-pill:before{content:"󰐂"}.mdi-pill-multiple:before{content:"󱭌"}.mdi-pill-off:before{content:"󱩜"}.mdi-pillar:before{content:"󰜂"}.mdi-pin:before{content:"󰐃"}.mdi-pin-off:before{content:"󰐄"}.mdi-pin-off-outline:before{content:"󰤰"}.mdi-pin-outline:before{content:"󰤱"}.mdi-pine-tree:before{content:"󰐅"}.mdi-pine-tree-box:before{content:"󰐆"}.mdi-pine-tree-fire:before{content:"󱐚"}.mdi-pine-tree-variant:before{content:"󱱳"}.mdi-pine-tree-variant-outline:before{content:"󱱴"}.mdi-pinterest:before{content:"󰐇"}.mdi-pinwheel:before{content:"󰫕"}.mdi-pinwheel-outline:before{content:"󰫖"}.mdi-pipe:before{content:"󰟥"}.mdi-pipe-disconnected:before{content:"󰟦"}.mdi-pipe-leak:before{content:"󰢉"}.mdi-pipe-valve:before{content:"󱡍"}.mdi-pipe-wrench:before{content:"󱍔"}.mdi-pirate:before{content:"󰨈"}.mdi-pistol:before{content:"󰜃"}.mdi-piston:before{content:"󰢊"}.mdi-pitchfork:before{content:"󱕓"}.mdi-pizza:before{content:"󰐉"}.mdi-plane-car:before{content:"󱫿"}.mdi-plane-train:before{content:"󱬀"}.mdi-play:before{content:"󰐊"}.mdi-play-box:before{content:"󱉺"}.mdi-play-box-edit-outline:before{content:"󱰺"}.mdi-play-box-lock:before{content:"󱨖"}.mdi-play-box-lock-open:before{content:"󱨗"}.mdi-play-box-lock-open-outline:before{content:"󱨘"}.mdi-play-box-lock-outline:before{content:"󱨙"}.mdi-play-box-multiple:before{content:"󰴙"}.mdi-play-box-multiple-outline:before{content:"󱏦"}.mdi-play-box-outline:before{content:"󰐋"}.mdi-play-circle:before{content:"󰐌"}.mdi-play-circle-outline:before{content:"󰐍"}.mdi-play-network:before{content:"󰢋"}.mdi-play-network-outline:before{content:"󰲷"}.mdi-play-outline:before{content:"󰼛"}.mdi-play-pause:before{content:"󰐎"}.mdi-play-protected-content:before{content:"󰐏"}.mdi-play-speed:before{content:"󰣿"}.mdi-playlist-check:before{content:"󰗇"}.mdi-playlist-edit:before{content:"󰤀"}.mdi-playlist-minus:before{content:"󰐐"}.mdi-playlist-music:before{content:"󰲸"}.mdi-playlist-music-outline:before{content:"󰲹"}.mdi-playlist-play:before{content:"󰐑"}.mdi-playlist-plus:before{content:"󰐒"}.mdi-playlist-remove:before{content:"󰐓"}.mdi-playlist-star:before{content:"󰷲"}.mdi-plex:before{content:"󰚺"}.mdi-pliers:before{content:"󱦤"}.mdi-plus:before{content:"󰐕"}.mdi-plus-box:before{content:"󰐖"}.mdi-plus-box-multiple:before{content:"󰌴"}.mdi-plus-box-multiple-outline:before{content:"󱅃"}.mdi-plus-box-outline:before{content:"󰜄"}.mdi-plus-circle:before{content:"󰐗"}.mdi-plus-circle-multiple:before{content:"󰍌"}.mdi-plus-circle-multiple-outline:before{content:"󰐘"}.mdi-plus-circle-outline:before{content:"󰐙"}.mdi-plus-lock:before{content:"󱩝"}.mdi-plus-lock-open:before{content:"󱩞"}.mdi-plus-minus:before{content:"󰦒"}.mdi-plus-minus-box:before{content:"󰦓"}.mdi-plus-minus-variant:before{content:"󱓉"}.mdi-plus-network:before{content:"󰐚"}.mdi-plus-network-outline:before{content:"󰲺"}.mdi-plus-outline:before{content:"󰜅"}.mdi-plus-thick:before{content:"󱇬"}.mdi-podcast:before{content:"󰦔"}.mdi-podium:before{content:"󰴥"}.mdi-podium-bronze:before{content:"󰴦"}.mdi-podium-gold:before{content:"󰴧"}.mdi-podium-silver:before{content:"󰴨"}.mdi-point-of-sale:before{content:"󰶒"}.mdi-pokeball:before{content:"󰐝"}.mdi-pokemon-go:before{content:"󰨉"}.mdi-poker-chip:before{content:"󰠰"}.mdi-polaroid:before{content:"󰐞"}.mdi-police-badge:before{content:"󱅧"}.mdi-police-badge-outline:before{content:"󱅨"}.mdi-police-station:before{content:"󱠹"}.mdi-poll:before{content:"󰐟"}.mdi-polo:before{content:"󱓃"}.mdi-polymer:before{content:"󰐡"}.mdi-pool:before{content:"󰘆"}.mdi-pool-thermometer:before{content:"󱩟"}.mdi-popcorn:before{content:"󰐢"}.mdi-post:before{content:"󱀈"}.mdi-post-lamp:before{content:"󱩠"}.mdi-post-outline:before{content:"󱀉"}.mdi-postage-stamp:before{content:"󰲻"}.mdi-pot:before{content:"󰋥"}.mdi-pot-mix:before{content:"󰙛"}.mdi-pot-mix-outline:before{content:"󰙷"}.mdi-pot-outline:before{content:"󰋿"}.mdi-pot-steam:before{content:"󰙚"}.mdi-pot-steam-outline:before{content:"󰌦"}.mdi-pound:before{content:"󰐣"}.mdi-pound-box:before{content:"󰐤"}.mdi-pound-box-outline:before{content:"󱅿"}.mdi-power:before{content:"󰐥"}.mdi-power-cycle:before{content:"󰤁"}.mdi-power-off:before{content:"󰤂"}.mdi-power-on:before{content:"󰤃"}.mdi-power-plug:before{content:"󰚥"}.mdi-power-plug-battery:before{content:"󱰻"}.mdi-power-plug-battery-outline:before{content:"󱰼"}.mdi-power-plug-off:before{content:"󰚦"}.mdi-power-plug-off-outline:before{content:"󱐤"}.mdi-power-plug-outline:before{content:"󱐥"}.mdi-power-settings:before{content:"󰐦"}.mdi-power-sleep:before{content:"󰤄"}.mdi-power-socket:before{content:"󰐧"}.mdi-power-socket-au:before{content:"󰤅"}.mdi-power-socket-ch:before{content:"󰾳"}.mdi-power-socket-de:before{content:"󱄇"}.mdi-power-socket-eu:before{content:"󰟧"}.mdi-power-socket-fr:before{content:"󱄈"}.mdi-power-socket-it:before{content:"󱓿"}.mdi-power-socket-jp:before{content:"󱄉"}.mdi-power-socket-uk:before{content:"󰟨"}.mdi-power-socket-us:before{content:"󰟩"}.mdi-power-standby:before{content:"󰤆"}.mdi-powershell:before{content:"󰨊"}.mdi-prescription:before{content:"󰜆"}.mdi-presentation:before{content:"󰐨"}.mdi-presentation-play:before{content:"󰐩"}.mdi-pretzel:before{content:"󱕢"}.mdi-printer:before{content:"󰐪"}.mdi-printer-3d:before{content:"󰐫"}.mdi-printer-3d-nozzle:before{content:"󰹛"}.mdi-printer-3d-nozzle-alert:before{content:"󱇀"}.mdi-printer-3d-nozzle-alert-outline:before{content:"󱇁"}.mdi-printer-3d-nozzle-heat:before{content:"󱢸"}.mdi-printer-3d-nozzle-heat-outline:before{content:"󱢹"}.mdi-printer-3d-nozzle-off:before{content:"󱬙"}.mdi-printer-3d-nozzle-off-outline:before{content:"󱬚"}.mdi-printer-3d-nozzle-outline:before{content:"󰹜"}.mdi-printer-3d-off:before{content:"󱬎"}.mdi-printer-alert:before{content:"󰐬"}.mdi-printer-check:before{content:"󱅆"}.mdi-printer-eye:before{content:"󱑘"}.mdi-printer-off:before{content:"󰹝"}.mdi-printer-off-outline:before{content:"󱞅"}.mdi-printer-outline:before{content:"󱞆"}.mdi-printer-pos:before{content:"󱁗"}.mdi-printer-pos-alert:before{content:"󱮼"}.mdi-printer-pos-alert-outline:before{content:"󱮽"}.mdi-printer-pos-cancel:before{content:"󱮾"}.mdi-printer-pos-cancel-outline:before{content:"󱮿"}.mdi-printer-pos-check:before{content:"󱯀"}.mdi-printer-pos-check-outline:before{content:"󱯁"}.mdi-printer-pos-cog:before{content:"󱯂"}.mdi-printer-pos-cog-outline:before{content:"󱯃"}.mdi-printer-pos-edit:before{content:"󱯄"}.mdi-printer-pos-edit-outline:before{content:"󱯅"}.mdi-printer-pos-minus:before{content:"󱯆"}.mdi-printer-pos-minus-outline:before{content:"󱯇"}.mdi-printer-pos-network:before{content:"󱯈"}.mdi-printer-pos-network-outline:before{content:"󱯉"}.mdi-printer-pos-off:before{content:"󱯊"}.mdi-printer-pos-off-outline:before{content:"󱯋"}.mdi-printer-pos-outline:before{content:"󱯌"}.mdi-printer-pos-pause:before{content:"󱯍"}.mdi-printer-pos-pause-outline:before{content:"󱯎"}.mdi-printer-pos-play:before{content:"󱯏"}.mdi-printer-pos-play-outline:before{content:"󱯐"}.mdi-printer-pos-plus:before{content:"󱯑"}.mdi-printer-pos-plus-outline:before{content:"󱯒"}.mdi-printer-pos-refresh:before{content:"󱯓"}.mdi-printer-pos-refresh-outline:before{content:"󱯔"}.mdi-printer-pos-remove:before{content:"󱯕"}.mdi-printer-pos-remove-outline:before{content:"󱯖"}.mdi-printer-pos-star:before{content:"󱯗"}.mdi-printer-pos-star-outline:before{content:"󱯘"}.mdi-printer-pos-stop:before{content:"󱯙"}.mdi-printer-pos-stop-outline:before{content:"󱯚"}.mdi-printer-pos-sync:before{content:"󱯛"}.mdi-printer-pos-sync-outline:before{content:"󱯜"}.mdi-printer-pos-wrench:before{content:"󱯝"}.mdi-printer-pos-wrench-outline:before{content:"󱯞"}.mdi-printer-search:before{content:"󱑗"}.mdi-printer-settings:before{content:"󰜇"}.mdi-printer-wireless:before{content:"󰨋"}.mdi-priority-high:before{content:"󰘃"}.mdi-priority-low:before{content:"󰘄"}.mdi-professional-hexagon:before{content:"󰐭"}.mdi-progress-alert:before{content:"󰲼"}.mdi-progress-check:before{content:"󰦕"}.mdi-progress-clock:before{content:"󰦖"}.mdi-progress-close:before{content:"󱄊"}.mdi-progress-download:before{content:"󰦗"}.mdi-progress-helper:before{content:"󱮢"}.mdi-progress-pencil:before{content:"󱞇"}.mdi-progress-question:before{content:"󱔢"}.mdi-progress-star:before{content:"󱞈"}.mdi-progress-star-four-points:before{content:"󱰽"}.mdi-progress-upload:before{content:"󰦘"}.mdi-progress-wrench:before{content:"󰲽"}.mdi-projector:before{content:"󰐮"}.mdi-projector-off:before{content:"󱨣"}.mdi-projector-screen:before{content:"󰐯"}.mdi-projector-screen-off:before{content:"󱠍"}.mdi-projector-screen-off-outline:before{content:"󱠎"}.mdi-projector-screen-outline:before{content:"󱜤"}.mdi-projector-screen-variant:before{content:"󱠏"}.mdi-projector-screen-variant-off:before{content:"󱠐"}.mdi-projector-screen-variant-off-outline:before{content:"󱠑"}.mdi-projector-screen-variant-outline:before{content:"󱠒"}.mdi-propane-tank:before{content:"󱍗"}.mdi-propane-tank-outline:before{content:"󱍘"}.mdi-protocol:before{content:"󰿘"}.mdi-publish:before{content:"󰚧"}.mdi-publish-off:before{content:"󱥅"}.mdi-pulse:before{content:"󰐰"}.mdi-pump:before{content:"󱐂"}.mdi-pump-off:before{content:"󱬢"}.mdi-pumpkin:before{content:"󰮿"}.mdi-purse:before{content:"󰼜"}.mdi-purse-outline:before{content:"󰼝"}.mdi-puzzle:before{content:"󰐱"}.mdi-puzzle-check:before{content:"󱐦"}.mdi-puzzle-check-outline:before{content:"󱐧"}.mdi-puzzle-edit:before{content:"󱓓"}.mdi-puzzle-edit-outline:before{content:"󱓙"}.mdi-puzzle-heart:before{content:"󱓔"}.mdi-puzzle-heart-outline:before{content:"󱓚"}.mdi-puzzle-minus:before{content:"󱓑"}.mdi-puzzle-minus-outline:before{content:"󱓗"}.mdi-puzzle-outline:before{content:"󰩦"}.mdi-puzzle-plus:before{content:"󱓐"}.mdi-puzzle-plus-outline:before{content:"󱓖"}.mdi-puzzle-remove:before{content:"󱓒"}.mdi-puzzle-remove-outline:before{content:"󱓘"}.mdi-puzzle-star:before{content:"󱓕"}.mdi-puzzle-star-outline:before{content:"󱓛"}.mdi-pyramid:before{content:"󱥒"}.mdi-pyramid-off:before{content:"󱥓"}.mdi-qi:before{content:"󰦙"}.mdi-qqchat:before{content:"󰘅"}.mdi-qrcode:before{content:"󰐲"}.mdi-qrcode-edit:before{content:"󰢸"}.mdi-qrcode-minus:before{content:"󱆌"}.mdi-qrcode-plus:before{content:"󱆋"}.mdi-qrcode-remove:before{content:"󱆍"}.mdi-qrcode-scan:before{content:"󰐳"}.mdi-quadcopter:before{content:"󰐴"}.mdi-quality-high:before{content:"󰐵"}.mdi-quality-low:before{content:"󰨌"}.mdi-quality-medium:before{content:"󰨍"}.mdi-quora:before{content:"󰴩"}.mdi-rabbit:before{content:"󰤇"}.mdi-rabbit-variant:before{content:"󱩡"}.mdi-rabbit-variant-outline:before{content:"󱩢"}.mdi-racing-helmet:before{content:"󰶓"}.mdi-racquetball:before{content:"󰶔"}.mdi-radar:before{content:"󰐷"}.mdi-radiator:before{content:"󰐸"}.mdi-radiator-disabled:before{content:"󰫗"}.mdi-radiator-off:before{content:"󰫘"}.mdi-radio:before{content:"󰐹"}.mdi-radio-am:before{content:"󰲾"}.mdi-radio-fm:before{content:"󰲿"}.mdi-radio-handheld:before{content:"󰐺"}.mdi-radio-off:before{content:"󱈜"}.mdi-radio-tower:before{content:"󰐻"}.mdi-radioactive:before{content:"󰐼"}.mdi-radioactive-circle:before{content:"󱡝"}.mdi-radioactive-circle-outline:before{content:"󱡞"}.mdi-radioactive-off:before{content:"󰻁"}.mdi-radiobox-blank:before{content:"󰐽"}.mdi-radiobox-indeterminate-variant:before{content:"󱱞"}.mdi-radiobox-marked:before{content:"󰐾"}.mdi-radiology-box:before{content:"󱓅"}.mdi-radiology-box-outline:before{content:"󱓆"}.mdi-radius:before{content:"󰳀"}.mdi-radius-outline:before{content:"󰳁"}.mdi-railroad-light:before{content:"󰼞"}.mdi-rake:before{content:"󱕄"}.mdi-raspberry-pi:before{content:"󰐿"}.mdi-raw:before{content:"󱨏"}.mdi-raw-off:before{content:"󱨐"}.mdi-ray-end:before{content:"󰑀"}.mdi-ray-end-arrow:before{content:"󰑁"}.mdi-ray-start:before{content:"󰑂"}.mdi-ray-start-arrow:before{content:"󰑃"}.mdi-ray-start-end:before{content:"󰑄"}.mdi-ray-start-vertex-end:before{content:"󱗘"}.mdi-ray-vertex:before{content:"󰑅"}.mdi-razor-double-edge:before{content:"󱦗"}.mdi-razor-single-edge:before{content:"󱦘"}.mdi-react:before{content:"󰜈"}.mdi-read:before{content:"󰑇"}.mdi-receipt:before{content:"󰠤"}.mdi-receipt-clock:before{content:"󱰾"}.mdi-receipt-clock-outline:before{content:"󱰿"}.mdi-receipt-outline:before{content:"󰓷"}.mdi-receipt-send:before{content:"󱱀"}.mdi-receipt-send-outline:before{content:"󱱁"}.mdi-receipt-text:before{content:"󰑉"}.mdi-receipt-text-arrow-left:before{content:"󱱂"}.mdi-receipt-text-arrow-left-outline:before{content:"󱱃"}.mdi-receipt-text-arrow-right:before{content:"󱱄"}.mdi-receipt-text-arrow-right-outline:before{content:"󱱅"}.mdi-receipt-text-check:before{content:"󱩣"}.mdi-receipt-text-check-outline:before{content:"󱩤"}.mdi-receipt-text-clock:before{content:"󱱆"}.mdi-receipt-text-clock-outline:before{content:"󱱇"}.mdi-receipt-text-edit:before{content:"󱱈"}.mdi-receipt-text-edit-outline:before{content:"󱱉"}.mdi-receipt-text-minus:before{content:"󱩥"}.mdi-receipt-text-minus-outline:before{content:"󱩦"}.mdi-receipt-text-outline:before{content:"󱧜"}.mdi-receipt-text-plus:before{content:"󱩧"}.mdi-receipt-text-plus-outline:before{content:"󱩨"}.mdi-receipt-text-remove:before{content:"󱩩"}.mdi-receipt-text-remove-outline:before{content:"󱩪"}.mdi-receipt-text-send:before{content:"󱱊"}.mdi-receipt-text-send-outline:before{content:"󱱋"}.mdi-record:before{content:"󰑊"}.mdi-record-circle:before{content:"󰻂"}.mdi-record-circle-outline:before{content:"󰻃"}.mdi-record-player:before{content:"󰦚"}.mdi-record-rec:before{content:"󰑋"}.mdi-rectangle:before{content:"󰹞"}.mdi-rectangle-outline:before{content:"󰹟"}.mdi-recycle:before{content:"󰑌"}.mdi-recycle-variant:before{content:"󱎝"}.mdi-reddit:before{content:"󰑍"}.mdi-redhat:before{content:"󱄛"}.mdi-redo:before{content:"󰑎"}.mdi-redo-variant:before{content:"󰑏"}.mdi-reflect-horizontal:before{content:"󰨎"}.mdi-reflect-vertical:before{content:"󰨏"}.mdi-refresh:before{content:"󰑐"}.mdi-refresh-auto:before{content:"󱣲"}.mdi-refresh-circle:before{content:"󱍷"}.mdi-regex:before{content:"󰑑"}.mdi-registered-trademark:before{content:"󰩧"}.mdi-reiterate:before{content:"󱖈"}.mdi-relation-many-to-many:before{content:"󱒖"}.mdi-relation-many-to-one:before{content:"󱒗"}.mdi-relation-many-to-one-or-many:before{content:"󱒘"}.mdi-relation-many-to-only-one:before{content:"󱒙"}.mdi-relation-many-to-zero-or-many:before{content:"󱒚"}.mdi-relation-many-to-zero-or-one:before{content:"󱒛"}.mdi-relation-one-or-many-to-many:before{content:"󱒜"}.mdi-relation-one-or-many-to-one:before{content:"󱒝"}.mdi-relation-one-or-many-to-one-or-many:before{content:"󱒞"}.mdi-relation-one-or-many-to-only-one:before{content:"󱒟"}.mdi-relation-one-or-many-to-zero-or-many:before{content:"󱒠"}.mdi-relation-one-or-many-to-zero-or-one:before{content:"󱒡"}.mdi-relation-one-to-many:before{content:"󱒢"}.mdi-relation-one-to-one:before{content:"󱒣"}.mdi-relation-one-to-one-or-many:before{content:"󱒤"}.mdi-relation-one-to-only-one:before{content:"󱒥"}.mdi-relation-one-to-zero-or-many:before{content:"󱒦"}.mdi-relation-one-to-zero-or-one:before{content:"󱒧"}.mdi-relation-only-one-to-many:before{content:"󱒨"}.mdi-relation-only-one-to-one:before{content:"󱒩"}.mdi-relation-only-one-to-one-or-many:before{content:"󱒪"}.mdi-relation-only-one-to-only-one:before{content:"󱒫"}.mdi-relation-only-one-to-zero-or-many:before{content:"󱒬"}.mdi-relation-only-one-to-zero-or-one:before{content:"󱒭"}.mdi-relation-zero-or-many-to-many:before{content:"󱒮"}.mdi-relation-zero-or-many-to-one:before{content:"󱒯"}.mdi-relation-zero-or-many-to-one-or-many:before{content:"󱒰"}.mdi-relation-zero-or-many-to-only-one:before{content:"󱒱"}.mdi-relation-zero-or-many-to-zero-or-many:before{content:"󱒲"}.mdi-relation-zero-or-many-to-zero-or-one:before{content:"󱒳"}.mdi-relation-zero-or-one-to-many:before{content:"󱒴"}.mdi-relation-zero-or-one-to-one:before{content:"󱒵"}.mdi-relation-zero-or-one-to-one-or-many:before{content:"󱒶"}.mdi-relation-zero-or-one-to-only-one:before{content:"󱒷"}.mdi-relation-zero-or-one-to-zero-or-many:before{content:"󱒸"}.mdi-relation-zero-or-one-to-zero-or-one:before{content:"󱒹"}.mdi-relative-scale:before{content:"󰑒"}.mdi-reload:before{content:"󰑓"}.mdi-reload-alert:before{content:"󱄋"}.mdi-reminder:before{content:"󰢌"}.mdi-remote:before{content:"󰑔"}.mdi-remote-desktop:before{content:"󰢹"}.mdi-remote-off:before{content:"󰻄"}.mdi-remote-tv:before{content:"󰻅"}.mdi-remote-tv-off:before{content:"󰻆"}.mdi-rename:before{content:"󱰘"}.mdi-rename-box:before{content:"󰑕"}.mdi-rename-box-outline:before{content:"󱰙"}.mdi-rename-outline:before{content:"󱰚"}.mdi-reorder-horizontal:before{content:"󰚈"}.mdi-reorder-vertical:before{content:"󰚉"}.mdi-repeat:before{content:"󰑖"}.mdi-repeat-off:before{content:"󰑗"}.mdi-repeat-once:before{content:"󰑘"}.mdi-repeat-variant:before{content:"󰕇"}.mdi-replay:before{content:"󰑙"}.mdi-reply:before{content:"󰑚"}.mdi-reply-all:before{content:"󰑛"}.mdi-reply-all-outline:before{content:"󰼟"}.mdi-reply-circle:before{content:"󱆮"}.mdi-reply-outline:before{content:"󰼠"}.mdi-reproduction:before{content:"󰑜"}.mdi-resistor:before{content:"󰭄"}.mdi-resistor-nodes:before{content:"󰭅"}.mdi-resize:before{content:"󰩨"}.mdi-resize-bottom-right:before{content:"󰑝"}.mdi-responsive:before{content:"󰑞"}.mdi-restart:before{content:"󰜉"}.mdi-restart-alert:before{content:"󱄌"}.mdi-restart-off:before{content:"󰶕"}.mdi-restore:before{content:"󰦛"}.mdi-restore-alert:before{content:"󱄍"}.mdi-rewind:before{content:"󰑟"}.mdi-rewind-10:before{content:"󰴪"}.mdi-rewind-15:before{content:"󱥆"}.mdi-rewind-30:before{content:"󰶖"}.mdi-rewind-45:before{content:"󱬓"}.mdi-rewind-5:before{content:"󱇹"}.mdi-rewind-60:before{content:"󱘌"}.mdi-rewind-outline:before{content:"󰜊"}.mdi-rhombus:before{content:"󰜋"}.mdi-rhombus-medium:before{content:"󰨐"}.mdi-rhombus-medium-outline:before{content:"󱓜"}.mdi-rhombus-outline:before{content:"󰜌"}.mdi-rhombus-split:before{content:"󰨑"}.mdi-rhombus-split-outline:before{content:"󱓝"}.mdi-ribbon:before{content:"󰑠"}.mdi-rice:before{content:"󰟪"}.mdi-rickshaw:before{content:"󱖻"}.mdi-rickshaw-electric:before{content:"󱖼"}.mdi-ring:before{content:"󰟫"}.mdi-rivet:before{content:"󰹠"}.mdi-road:before{content:"󰑡"}.mdi-road-variant:before{content:"󰑢"}.mdi-robber:before{content:"󱁘"}.mdi-robot:before{content:"󰚩"}.mdi-robot-angry:before{content:"󱚝"}.mdi-robot-angry-outline:before{content:"󱚞"}.mdi-robot-confused:before{content:"󱚟"}.mdi-robot-confused-outline:before{content:"󱚠"}.mdi-robot-dead:before{content:"󱚡"}.mdi-robot-dead-outline:before{content:"󱚢"}.mdi-robot-excited:before{content:"󱚣"}.mdi-robot-excited-outline:before{content:"󱚤"}.mdi-robot-happy:before{content:"󱜙"}.mdi-robot-happy-outline:before{content:"󱜚"}.mdi-robot-industrial:before{content:"󰭆"}.mdi-robot-industrial-outline:before{content:"󱨚"}.mdi-robot-love:before{content:"󱚥"}.mdi-robot-love-outline:before{content:"󱚦"}.mdi-robot-mower:before{content:"󱇷"}.mdi-robot-mower-outline:before{content:"󱇳"}.mdi-robot-off:before{content:"󱚧"}.mdi-robot-off-outline:before{content:"󱙻"}.mdi-robot-outline:before{content:"󱙺"}.mdi-robot-vacuum:before{content:"󰜍"}.mdi-robot-vacuum-alert:before{content:"󱭝"}.mdi-robot-vacuum-off:before{content:"󱰁"}.mdi-robot-vacuum-variant:before{content:"󰤈"}.mdi-robot-vacuum-variant-alert:before{content:"󱭞"}.mdi-robot-vacuum-variant-off:before{content:"󱰂"}.mdi-rocket:before{content:"󰑣"}.mdi-rocket-launch:before{content:"󱓞"}.mdi-rocket-launch-outline:before{content:"󱓟"}.mdi-rocket-outline:before{content:"󱎯"}.mdi-rodent:before{content:"󱌧"}.mdi-roller-shade:before{content:"󱩫"}.mdi-roller-shade-closed:before{content:"󱩬"}.mdi-roller-skate:before{content:"󰴫"}.mdi-roller-skate-off:before{content:"󰅅"}.mdi-rollerblade:before{content:"󰴬"}.mdi-rollerblade-off:before{content:"󰀮"}.mdi-rollupjs:before{content:"󰯀"}.mdi-rolodex:before{content:"󱪹"}.mdi-rolodex-outline:before{content:"󱪺"}.mdi-roman-numeral-1:before{content:"󱂈"}.mdi-roman-numeral-10:before{content:"󱂑"}.mdi-roman-numeral-2:before{content:"󱂉"}.mdi-roman-numeral-3:before{content:"󱂊"}.mdi-roman-numeral-4:before{content:"󱂋"}.mdi-roman-numeral-5:before{content:"󱂌"}.mdi-roman-numeral-6:before{content:"󱂍"}.mdi-roman-numeral-7:before{content:"󱂎"}.mdi-roman-numeral-8:before{content:"󱂏"}.mdi-roman-numeral-9:before{content:"󱂐"}.mdi-room-service:before{content:"󰢍"}.mdi-room-service-outline:before{content:"󰶗"}.mdi-rotate-360:before{content:"󱦙"}.mdi-rotate-3d:before{content:"󰻇"}.mdi-rotate-3d-variant:before{content:"󰑤"}.mdi-rotate-left:before{content:"󰑥"}.mdi-rotate-left-variant:before{content:"󰑦"}.mdi-rotate-orbit:before{content:"󰶘"}.mdi-rotate-right:before{content:"󰑧"}.mdi-rotate-right-variant:before{content:"󰑨"}.mdi-rounded-corner:before{content:"󰘇"}.mdi-router:before{content:"󱇢"}.mdi-router-network:before{content:"󱂇"}.mdi-router-wireless:before{content:"󰑩"}.mdi-router-wireless-off:before{content:"󱖣"}.mdi-router-wireless-settings:before{content:"󰩩"}.mdi-routes:before{content:"󰑪"}.mdi-routes-clock:before{content:"󱁙"}.mdi-rowing:before{content:"󰘈"}.mdi-rss:before{content:"󰑫"}.mdi-rss-box:before{content:"󰑬"}.mdi-rss-off:before{content:"󰼡"}.mdi-rug:before{content:"󱑵"}.mdi-rugby:before{content:"󰶙"}.mdi-ruler:before{content:"󰑭"}.mdi-ruler-square:before{content:"󰳂"}.mdi-ruler-square-compass:before{content:"󰺾"}.mdi-run:before{content:"󰜎"}.mdi-run-fast:before{content:"󰑮"}.mdi-rv-truck:before{content:"󱇔"}.mdi-sack:before{content:"󰴮"}.mdi-sack-outline:before{content:"󱱌"}.mdi-sack-percent:before{content:"󰴯"}.mdi-safe:before{content:"󰩪"}.mdi-safe-square:before{content:"󱉼"}.mdi-safe-square-outline:before{content:"󱉽"}.mdi-safety-goggles:before{content:"󰴰"}.mdi-sail-boat:before{content:"󰻈"}.mdi-sail-boat-sink:before{content:"󱫯"}.mdi-sale:before{content:"󰑯"}.mdi-sale-outline:before{content:"󱨆"}.mdi-salesforce:before{content:"󰢎"}.mdi-sass:before{content:"󰟬"}.mdi-satellite:before{content:"󰑰"}.mdi-satellite-uplink:before{content:"󰤉"}.mdi-satellite-variant:before{content:"󰑱"}.mdi-sausage:before{content:"󰢺"}.mdi-sausage-off:before{content:"󱞉"}.mdi-saw-blade:before{content:"󰹡"}.mdi-sawtooth-wave:before{content:"󱑺"}.mdi-saxophone:before{content:"󰘉"}.mdi-scale:before{content:"󰑲"}.mdi-scale-balance:before{content:"󰗑"}.mdi-scale-bathroom:before{content:"󰑳"}.mdi-scale-off:before{content:"󱁚"}.mdi-scale-unbalanced:before{content:"󱦸"}.mdi-scan-helper:before{content:"󱏘"}.mdi-scanner:before{content:"󰚫"}.mdi-scanner-off:before{content:"󰤊"}.mdi-scatter-plot:before{content:"󰻉"}.mdi-scatter-plot-outline:before{content:"󰻊"}.mdi-scent:before{content:"󱥘"}.mdi-scent-off:before{content:"󱥙"}.mdi-school:before{content:"󰑴"}.mdi-school-outline:before{content:"󱆀"}.mdi-scissors-cutting:before{content:"󰩫"}.mdi-scooter:before{content:"󱖽"}.mdi-scooter-electric:before{content:"󱖾"}.mdi-scoreboard:before{content:"󱉾"}.mdi-scoreboard-outline:before{content:"󱉿"}.mdi-screen-rotation:before{content:"󰑵"}.mdi-screen-rotation-lock:before{content:"󰑸"}.mdi-screw-flat-top:before{content:"󰷳"}.mdi-screw-lag:before{content:"󰷴"}.mdi-screw-machine-flat-top:before{content:"󰷵"}.mdi-screw-machine-round-top:before{content:"󰷶"}.mdi-screw-round-top:before{content:"󰷷"}.mdi-screwdriver:before{content:"󰑶"}.mdi-script:before{content:"󰯁"}.mdi-script-outline:before{content:"󰑷"}.mdi-script-text:before{content:"󰯂"}.mdi-script-text-key:before{content:"󱜥"}.mdi-script-text-key-outline:before{content:"󱜦"}.mdi-script-text-outline:before{content:"󰯃"}.mdi-script-text-play:before{content:"󱜧"}.mdi-script-text-play-outline:before{content:"󱜨"}.mdi-sd:before{content:"󰑹"}.mdi-seal:before{content:"󰑺"}.mdi-seal-variant:before{content:"󰿙"}.mdi-search-web:before{content:"󰜏"}.mdi-seat:before{content:"󰳃"}.mdi-seat-flat:before{content:"󰑻"}.mdi-seat-flat-angled:before{content:"󰑼"}.mdi-seat-individual-suite:before{content:"󰑽"}.mdi-seat-legroom-extra:before{content:"󰑾"}.mdi-seat-legroom-normal:before{content:"󰑿"}.mdi-seat-legroom-reduced:before{content:"󰒀"}.mdi-seat-outline:before{content:"󰳄"}.mdi-seat-passenger:before{content:"󱉉"}.mdi-seat-recline-extra:before{content:"󰒁"}.mdi-seat-recline-normal:before{content:"󰒂"}.mdi-seatbelt:before{content:"󰳅"}.mdi-security:before{content:"󰒃"}.mdi-security-network:before{content:"󰒄"}.mdi-seed:before{content:"󰹢"}.mdi-seed-off:before{content:"󱏽"}.mdi-seed-off-outline:before{content:"󱏾"}.mdi-seed-outline:before{content:"󰹣"}.mdi-seed-plus:before{content:"󱩭"}.mdi-seed-plus-outline:before{content:"󱩮"}.mdi-seesaw:before{content:"󱖤"}.mdi-segment:before{content:"󰻋"}.mdi-select:before{content:"󰒅"}.mdi-select-all:before{content:"󰒆"}.mdi-select-arrow-down:before{content:"󱭙"}.mdi-select-arrow-up:before{content:"󱭘"}.mdi-select-color:before{content:"󰴱"}.mdi-select-compare:before{content:"󰫙"}.mdi-select-drag:before{content:"󰩬"}.mdi-select-group:before{content:"󰾂"}.mdi-select-inverse:before{content:"󰒇"}.mdi-select-marker:before{content:"󱊀"}.mdi-select-multiple:before{content:"󱊁"}.mdi-select-multiple-marker:before{content:"󱊂"}.mdi-select-off:before{content:"󰒈"}.mdi-select-place:before{content:"󰿚"}.mdi-select-remove:before{content:"󱟁"}.mdi-select-search:before{content:"󱈄"}.mdi-selection:before{content:"󰒉"}.mdi-selection-drag:before{content:"󰩭"}.mdi-selection-ellipse:before{content:"󰴲"}.mdi-selection-ellipse-arrow-inside:before{content:"󰼢"}.mdi-selection-ellipse-remove:before{content:"󱟂"}.mdi-selection-marker:before{content:"󱊃"}.mdi-selection-multiple:before{content:"󱊅"}.mdi-selection-multiple-marker:before{content:"󱊄"}.mdi-selection-off:before{content:"󰝷"}.mdi-selection-remove:before{content:"󱟃"}.mdi-selection-search:before{content:"󱈅"}.mdi-semantic-web:before{content:"󱌖"}.mdi-send:before{content:"󰒊"}.mdi-send-check:before{content:"󱅡"}.mdi-send-check-outline:before{content:"󱅢"}.mdi-send-circle:before{content:"󰷸"}.mdi-send-circle-outline:before{content:"󰷹"}.mdi-send-clock:before{content:"󱅣"}.mdi-send-clock-outline:before{content:"󱅤"}.mdi-send-lock:before{content:"󰟭"}.mdi-send-lock-outline:before{content:"󱅦"}.mdi-send-outline:before{content:"󱅥"}.mdi-send-variant:before{content:"󱱍"}.mdi-send-variant-clock:before{content:"󱱾"}.mdi-send-variant-clock-outline:before{content:"󱱿"}.mdi-send-variant-outline:before{content:"󱱎"}.mdi-serial-port:before{content:"󰙜"}.mdi-server:before{content:"󰒋"}.mdi-server-minus:before{content:"󰒌"}.mdi-server-network:before{content:"󰒍"}.mdi-server-network-off:before{content:"󰒎"}.mdi-server-off:before{content:"󰒏"}.mdi-server-plus:before{content:"󰒐"}.mdi-server-remove:before{content:"󰒑"}.mdi-server-security:before{content:"󰒒"}.mdi-set-all:before{content:"󰝸"}.mdi-set-center:before{content:"󰝹"}.mdi-set-center-right:before{content:"󰝺"}.mdi-set-left:before{content:"󰝻"}.mdi-set-left-center:before{content:"󰝼"}.mdi-set-left-right:before{content:"󰝽"}.mdi-set-merge:before{content:"󱓠"}.mdi-set-none:before{content:"󰝾"}.mdi-set-right:before{content:"󰝿"}.mdi-set-split:before{content:"󱓡"}.mdi-set-square:before{content:"󱑝"}.mdi-set-top-box:before{content:"󰦟"}.mdi-settings-helper:before{content:"󰩮"}.mdi-shaker:before{content:"󱄎"}.mdi-shaker-outline:before{content:"󱄏"}.mdi-shape:before{content:"󰠱"}.mdi-shape-circle-plus:before{content:"󰙝"}.mdi-shape-outline:before{content:"󰠲"}.mdi-shape-oval-plus:before{content:"󱇺"}.mdi-shape-plus:before{content:"󰒕"}.mdi-shape-plus-outline:before{content:"󱱏"}.mdi-shape-polygon-plus:before{content:"󰙞"}.mdi-shape-rectangle-plus:before{content:"󰙟"}.mdi-shape-square-plus:before{content:"󰙠"}.mdi-shape-square-rounded-plus:before{content:"󱓺"}.mdi-share:before{content:"󰒖"}.mdi-share-all:before{content:"󱇴"}.mdi-share-all-outline:before{content:"󱇵"}.mdi-share-circle:before{content:"󱆭"}.mdi-share-off:before{content:"󰼣"}.mdi-share-off-outline:before{content:"󰼤"}.mdi-share-outline:before{content:"󰤲"}.mdi-share-variant:before{content:"󰒗"}.mdi-share-variant-outline:before{content:"󱔔"}.mdi-shark:before{content:"󱢺"}.mdi-shark-fin:before{content:"󱙳"}.mdi-shark-fin-outline:before{content:"󱙴"}.mdi-shark-off:before{content:"󱢻"}.mdi-sheep:before{content:"󰳆"}.mdi-shield:before{content:"󰒘"}.mdi-shield-account:before{content:"󰢏"}.mdi-shield-account-outline:before{content:"󰨒"}.mdi-shield-account-variant:before{content:"󱖧"}.mdi-shield-account-variant-outline:before{content:"󱖨"}.mdi-shield-airplane:before{content:"󰚻"}.mdi-shield-airplane-outline:before{content:"󰳇"}.mdi-shield-alert:before{content:"󰻌"}.mdi-shield-alert-outline:before{content:"󰻍"}.mdi-shield-bug:before{content:"󱏚"}.mdi-shield-bug-outline:before{content:"󱏛"}.mdi-shield-car:before{content:"󰾃"}.mdi-shield-check:before{content:"󰕥"}.mdi-shield-check-outline:before{content:"󰳈"}.mdi-shield-cross:before{content:"󰳉"}.mdi-shield-cross-outline:before{content:"󰳊"}.mdi-shield-crown:before{content:"󱢼"}.mdi-shield-crown-outline:before{content:"󱢽"}.mdi-shield-edit:before{content:"󱆠"}.mdi-shield-edit-outline:before{content:"󱆡"}.mdi-shield-half:before{content:"󱍠"}.mdi-shield-half-full:before{content:"󰞀"}.mdi-shield-home:before{content:"󰚊"}.mdi-shield-home-outline:before{content:"󰳋"}.mdi-shield-key:before{content:"󰯄"}.mdi-shield-key-outline:before{content:"󰯅"}.mdi-shield-link-variant:before{content:"󰴳"}.mdi-shield-link-variant-outline:before{content:"󰴴"}.mdi-shield-lock:before{content:"󰦝"}.mdi-shield-lock-open:before{content:"󱦚"}.mdi-shield-lock-open-outline:before{content:"󱦛"}.mdi-shield-lock-outline:before{content:"󰳌"}.mdi-shield-moon:before{content:"󱠨"}.mdi-shield-moon-outline:before{content:"󱠩"}.mdi-shield-off:before{content:"󰦞"}.mdi-shield-off-outline:before{content:"󰦜"}.mdi-shield-outline:before{content:"󰒙"}.mdi-shield-plus:before{content:"󰫚"}.mdi-shield-plus-outline:before{content:"󰫛"}.mdi-shield-refresh:before{content:"󰂪"}.mdi-shield-refresh-outline:before{content:"󰇠"}.mdi-shield-remove:before{content:"󰫜"}.mdi-shield-remove-outline:before{content:"󰫝"}.mdi-shield-search:before{content:"󰶚"}.mdi-shield-star:before{content:"󱄻"}.mdi-shield-star-outline:before{content:"󱄼"}.mdi-shield-sun:before{content:"󱁝"}.mdi-shield-sun-outline:before{content:"󱁞"}.mdi-shield-sword:before{content:"󱢾"}.mdi-shield-sword-outline:before{content:"󱢿"}.mdi-shield-sync:before{content:"󱆢"}.mdi-shield-sync-outline:before{content:"󱆣"}.mdi-shimmer:before{content:"󱕅"}.mdi-ship-wheel:before{content:"󰠳"}.mdi-shipping-pallet:before{content:"󱡎"}.mdi-shoe-ballet:before{content:"󱗊"}.mdi-shoe-cleat:before{content:"󱗇"}.mdi-shoe-formal:before{content:"󰭇"}.mdi-shoe-heel:before{content:"󰭈"}.mdi-shoe-print:before{content:"󰷺"}.mdi-shoe-sneaker:before{content:"󱗈"}.mdi-shopping:before{content:"󰒚"}.mdi-shopping-music:before{content:"󰒛"}.mdi-shopping-outline:before{content:"󱇕"}.mdi-shopping-search:before{content:"󰾄"}.mdi-shopping-search-outline:before{content:"󱩯"}.mdi-shore:before{content:"󱓹"}.mdi-shovel:before{content:"󰜐"}.mdi-shovel-off:before{content:"󰜑"}.mdi-shower:before{content:"󰦠"}.mdi-shower-head:before{content:"󰦡"}.mdi-shredder:before{content:"󰒜"}.mdi-shuffle:before{content:"󰒝"}.mdi-shuffle-disabled:before{content:"󰒞"}.mdi-shuffle-variant:before{content:"󰒟"}.mdi-shuriken:before{content:"󱍿"}.mdi-sickle:before{content:"󱣀"}.mdi-sigma:before{content:"󰒠"}.mdi-sigma-lower:before{content:"󰘫"}.mdi-sign-caution:before{content:"󰒡"}.mdi-sign-direction:before{content:"󰞁"}.mdi-sign-direction-minus:before{content:"󱀀"}.mdi-sign-direction-plus:before{content:"󰿜"}.mdi-sign-direction-remove:before{content:"󰿝"}.mdi-sign-language:before{content:"󱭍"}.mdi-sign-language-outline:before{content:"󱭎"}.mdi-sign-pole:before{content:"󱓸"}.mdi-sign-real-estate:before{content:"󱄘"}.mdi-sign-text:before{content:"󰞂"}.mdi-sign-yield:before{content:"󱮯"}.mdi-signal:before{content:"󰒢"}.mdi-signal-2g:before{content:"󰜒"}.mdi-signal-3g:before{content:"󰜓"}.mdi-signal-4g:before{content:"󰜔"}.mdi-signal-5g:before{content:"󰩯"}.mdi-signal-cellular-1:before{content:"󰢼"}.mdi-signal-cellular-2:before{content:"󰢽"}.mdi-signal-cellular-3:before{content:"󰢾"}.mdi-signal-cellular-outline:before{content:"󰢿"}.mdi-signal-distance-variant:before{content:"󰹤"}.mdi-signal-hspa:before{content:"󰜕"}.mdi-signal-hspa-plus:before{content:"󰜖"}.mdi-signal-off:before{content:"󰞃"}.mdi-signal-variant:before{content:"󰘊"}.mdi-signature:before{content:"󰷻"}.mdi-signature-freehand:before{content:"󰷼"}.mdi-signature-image:before{content:"󰷽"}.mdi-signature-text:before{content:"󰷾"}.mdi-silo:before{content:"󱮟"}.mdi-silo-outline:before{content:"󰭉"}.mdi-silverware:before{content:"󰒣"}.mdi-silverware-clean:before{content:"󰿞"}.mdi-silverware-fork:before{content:"󰒤"}.mdi-silverware-fork-knife:before{content:"󰩰"}.mdi-silverware-spoon:before{content:"󰒥"}.mdi-silverware-variant:before{content:"󰒦"}.mdi-sim:before{content:"󰒧"}.mdi-sim-alert:before{content:"󰒨"}.mdi-sim-alert-outline:before{content:"󱗓"}.mdi-sim-off:before{content:"󰒩"}.mdi-sim-off-outline:before{content:"󱗔"}.mdi-sim-outline:before{content:"󱗕"}.mdi-simple-icons:before{content:"󱌝"}.mdi-sina-weibo:before{content:"󰫟"}.mdi-sine-wave:before{content:"󰥛"}.mdi-sitemap:before{content:"󰒪"}.mdi-sitemap-outline:before{content:"󱦜"}.mdi-size-l:before{content:"󱎦"}.mdi-size-m:before{content:"󱎥"}.mdi-size-s:before{content:"󱎤"}.mdi-size-xl:before{content:"󱎧"}.mdi-size-xs:before{content:"󱎣"}.mdi-size-xxl:before{content:"󱎨"}.mdi-size-xxs:before{content:"󱎢"}.mdi-size-xxxl:before{content:"󱎩"}.mdi-skate:before{content:"󰴵"}.mdi-skate-off:before{content:"󰚙"}.mdi-skateboard:before{content:"󱓂"}.mdi-skateboarding:before{content:"󰔁"}.mdi-skew-less:before{content:"󰴶"}.mdi-skew-more:before{content:"󰴷"}.mdi-ski:before{content:"󱌄"}.mdi-ski-cross-country:before{content:"󱌅"}.mdi-ski-water:before{content:"󱌆"}.mdi-skip-backward:before{content:"󰒫"}.mdi-skip-backward-outline:before{content:"󰼥"}.mdi-skip-forward:before{content:"󰒬"}.mdi-skip-forward-outline:before{content:"󰼦"}.mdi-skip-next:before{content:"󰒭"}.mdi-skip-next-circle:before{content:"󰙡"}.mdi-skip-next-circle-outline:before{content:"󰙢"}.mdi-skip-next-outline:before{content:"󰼧"}.mdi-skip-previous:before{content:"󰒮"}.mdi-skip-previous-circle:before{content:"󰙣"}.mdi-skip-previous-circle-outline:before{content:"󰙤"}.mdi-skip-previous-outline:before{content:"󰼨"}.mdi-skull:before{content:"󰚌"}.mdi-skull-crossbones:before{content:"󰯆"}.mdi-skull-crossbones-outline:before{content:"󰯇"}.mdi-skull-outline:before{content:"󰯈"}.mdi-skull-scan:before{content:"󱓇"}.mdi-skull-scan-outline:before{content:"󱓈"}.mdi-skype:before{content:"󰒯"}.mdi-skype-business:before{content:"󰒰"}.mdi-slack:before{content:"󰒱"}.mdi-slash-forward:before{content:"󰿟"}.mdi-slash-forward-box:before{content:"󰿠"}.mdi-sledding:before{content:"󰐛"}.mdi-sleep:before{content:"󰒲"}.mdi-sleep-off:before{content:"󰒳"}.mdi-slide:before{content:"󱖥"}.mdi-slope-downhill:before{content:"󰷿"}.mdi-slope-uphill:before{content:"󰸀"}.mdi-slot-machine:before{content:"󱄔"}.mdi-slot-machine-outline:before{content:"󱄕"}.mdi-smart-card:before{content:"󱂽"}.mdi-smart-card-off:before{content:"󱣷"}.mdi-smart-card-off-outline:before{content:"󱣸"}.mdi-smart-card-outline:before{content:"󱂾"}.mdi-smart-card-reader:before{content:"󱂿"}.mdi-smart-card-reader-outline:before{content:"󱃀"}.mdi-smog:before{content:"󰩱"}.mdi-smoke:before{content:"󱞙"}.mdi-smoke-detector:before{content:"󰎒"}.mdi-smoke-detector-alert:before{content:"󱤮"}.mdi-smoke-detector-alert-outline:before{content:"󱤯"}.mdi-smoke-detector-off:before{content:"󱠉"}.mdi-smoke-detector-off-outline:before{content:"󱠊"}.mdi-smoke-detector-outline:before{content:"󱠈"}.mdi-smoke-detector-variant:before{content:"󱠋"}.mdi-smoke-detector-variant-alert:before{content:"󱤰"}.mdi-smoke-detector-variant-off:before{content:"󱠌"}.mdi-smoking:before{content:"󰒴"}.mdi-smoking-off:before{content:"󰒵"}.mdi-smoking-pipe:before{content:"󱐍"}.mdi-smoking-pipe-off:before{content:"󱐨"}.mdi-snail:before{content:"󱙷"}.mdi-snake:before{content:"󱔎"}.mdi-snapchat:before{content:"󰒶"}.mdi-snowboard:before{content:"󱌇"}.mdi-snowflake:before{content:"󰜗"}.mdi-snowflake-alert:before{content:"󰼩"}.mdi-snowflake-check:before{content:"󱩰"}.mdi-snowflake-melt:before{content:"󱋋"}.mdi-snowflake-off:before{content:"󱓣"}.mdi-snowflake-thermometer:before{content:"󱩱"}.mdi-snowflake-variant:before{content:"󰼪"}.mdi-snowman:before{content:"󰒷"}.mdi-snowmobile:before{content:"󰛝"}.mdi-snowshoeing:before{content:"󱩲"}.mdi-soccer:before{content:"󰒸"}.mdi-soccer-field:before{content:"󰠴"}.mdi-social-distance-2-meters:before{content:"󱕹"}.mdi-social-distance-6-feet:before{content:"󱕺"}.mdi-sofa:before{content:"󰒹"}.mdi-sofa-outline:before{content:"󱕭"}.mdi-sofa-single:before{content:"󱕮"}.mdi-sofa-single-outline:before{content:"󱕯"}.mdi-solar-panel:before{content:"󰶛"}.mdi-solar-panel-large:before{content:"󰶜"}.mdi-solar-power:before{content:"󰩲"}.mdi-solar-power-variant:before{content:"󱩳"}.mdi-solar-power-variant-outline:before{content:"󱩴"}.mdi-soldering-iron:before{content:"󱂒"}.mdi-solid:before{content:"󰚍"}.mdi-sony-playstation:before{content:"󰐔"}.mdi-sort:before{content:"󰒺"}.mdi-sort-alphabetical-ascending:before{content:"󰖽"}.mdi-sort-alphabetical-ascending-variant:before{content:"󱅈"}.mdi-sort-alphabetical-descending:before{content:"󰖿"}.mdi-sort-alphabetical-descending-variant:before{content:"󱅉"}.mdi-sort-alphabetical-variant:before{content:"󰒻"}.mdi-sort-ascending:before{content:"󰒼"}.mdi-sort-bool-ascending:before{content:"󱎅"}.mdi-sort-bool-ascending-variant:before{content:"󱎆"}.mdi-sort-bool-descending:before{content:"󱎇"}.mdi-sort-bool-descending-variant:before{content:"󱎈"}.mdi-sort-calendar-ascending:before{content:"󱕇"}.mdi-sort-calendar-descending:before{content:"󱕈"}.mdi-sort-clock-ascending:before{content:"󱕉"}.mdi-sort-clock-ascending-outline:before{content:"󱕊"}.mdi-sort-clock-descending:before{content:"󱕋"}.mdi-sort-clock-descending-outline:before{content:"󱕌"}.mdi-sort-descending:before{content:"󰒽"}.mdi-sort-numeric-ascending:before{content:"󱎉"}.mdi-sort-numeric-ascending-variant:before{content:"󰤍"}.mdi-sort-numeric-descending:before{content:"󱎊"}.mdi-sort-numeric-descending-variant:before{content:"󰫒"}.mdi-sort-numeric-variant:before{content:"󰒾"}.mdi-sort-reverse-variant:before{content:"󰌼"}.mdi-sort-variant:before{content:"󰒿"}.mdi-sort-variant-lock:before{content:"󰳍"}.mdi-sort-variant-lock-open:before{content:"󰳎"}.mdi-sort-variant-off:before{content:"󱪻"}.mdi-sort-variant-remove:before{content:"󱅇"}.mdi-soundbar:before{content:"󱟛"}.mdi-soundcloud:before{content:"󰓀"}.mdi-source-branch:before{content:"󰘬"}.mdi-source-branch-check:before{content:"󱓏"}.mdi-source-branch-minus:before{content:"󱓋"}.mdi-source-branch-plus:before{content:"󱓊"}.mdi-source-branch-refresh:before{content:"󱓍"}.mdi-source-branch-remove:before{content:"󱓌"}.mdi-source-branch-sync:before{content:"󱓎"}.mdi-source-commit:before{content:"󰜘"}.mdi-source-commit-end:before{content:"󰜙"}.mdi-source-commit-end-local:before{content:"󰜚"}.mdi-source-commit-local:before{content:"󰜛"}.mdi-source-commit-next-local:before{content:"󰜜"}.mdi-source-commit-start:before{content:"󰜝"}.mdi-source-commit-start-next-local:before{content:"󰜞"}.mdi-source-fork:before{content:"󰓁"}.mdi-source-merge:before{content:"󰘭"}.mdi-source-pull:before{content:"󰓂"}.mdi-source-repository:before{content:"󰳏"}.mdi-source-repository-multiple:before{content:"󰳐"}.mdi-soy-sauce:before{content:"󰟮"}.mdi-soy-sauce-off:before{content:"󱏼"}.mdi-spa:before{content:"󰳑"}.mdi-spa-outline:before{content:"󰳒"}.mdi-space-invaders:before{content:"󰯉"}.mdi-space-station:before{content:"󱎃"}.mdi-spade:before{content:"󰹥"}.mdi-speaker:before{content:"󰓃"}.mdi-speaker-bluetooth:before{content:"󰦢"}.mdi-speaker-message:before{content:"󱬑"}.mdi-speaker-multiple:before{content:"󰴸"}.mdi-speaker-off:before{content:"󰓄"}.mdi-speaker-pause:before{content:"󱭳"}.mdi-speaker-play:before{content:"󱭲"}.mdi-speaker-stop:before{content:"󱭴"}.mdi-speaker-wireless:before{content:"󰜟"}.mdi-spear:before{content:"󱡅"}.mdi-speedometer:before{content:"󰓅"}.mdi-speedometer-medium:before{content:"󰾅"}.mdi-speedometer-slow:before{content:"󰾆"}.mdi-spellcheck:before{content:"󰓆"}.mdi-sphere:before{content:"󱥔"}.mdi-sphere-off:before{content:"󱥕"}.mdi-spider:before{content:"󱇪"}.mdi-spider-outline:before{content:"󱱵"}.mdi-spider-thread:before{content:"󱇫"}.mdi-spider-web:before{content:"󰯊"}.mdi-spirit-level:before{content:"󱓱"}.mdi-spoon-sugar:before{content:"󱐩"}.mdi-spotify:before{content:"󰓇"}.mdi-spotlight:before{content:"󰓈"}.mdi-spotlight-beam:before{content:"󰓉"}.mdi-spray:before{content:"󰙥"}.mdi-spray-bottle:before{content:"󰫠"}.mdi-sprinkler:before{content:"󱁟"}.mdi-sprinkler-fire:before{content:"󱦝"}.mdi-sprinkler-variant:before{content:"󱁠"}.mdi-sprout:before{content:"󰹦"}.mdi-sprout-outline:before{content:"󰹧"}.mdi-square:before{content:"󰝤"}.mdi-square-circle:before{content:"󱔀"}.mdi-square-circle-outline:before{content:"󱱐"}.mdi-square-edit-outline:before{content:"󰤌"}.mdi-square-medium:before{content:"󰨓"}.mdi-square-medium-outline:before{content:"󰨔"}.mdi-square-off:before{content:"󱋮"}.mdi-square-off-outline:before{content:"󱋯"}.mdi-square-opacity:before{content:"󱡔"}.mdi-square-outline:before{content:"󰝣"}.mdi-square-root:before{content:"󰞄"}.mdi-square-root-box:before{content:"󰦣"}.mdi-square-rounded:before{content:"󱓻"}.mdi-square-rounded-badge:before{content:"󱨇"}.mdi-square-rounded-badge-outline:before{content:"󱨈"}.mdi-square-rounded-outline:before{content:"󱓼"}.mdi-square-small:before{content:"󰨕"}.mdi-square-wave:before{content:"󱑻"}.mdi-squeegee:before{content:"󰫡"}.mdi-ssh:before{content:"󰣀"}.mdi-stack-exchange:before{content:"󰘋"}.mdi-stack-overflow:before{content:"󰓌"}.mdi-stackpath:before{content:"󰍙"}.mdi-stadium:before{content:"󰿹"}.mdi-stadium-outline:before{content:"󱬃"}.mdi-stadium-variant:before{content:"󰜠"}.mdi-stairs:before{content:"󰓍"}.mdi-stairs-box:before{content:"󱎞"}.mdi-stairs-down:before{content:"󱊾"}.mdi-stairs-up:before{content:"󱊽"}.mdi-stamper:before{content:"󰴹"}.mdi-standard-definition:before{content:"󰟯"}.mdi-star:before{content:"󰓎"}.mdi-star-box:before{content:"󰩳"}.mdi-star-box-multiple:before{content:"󱊆"}.mdi-star-box-multiple-outline:before{content:"󱊇"}.mdi-star-box-outline:before{content:"󰩴"}.mdi-star-check:before{content:"󱕦"}.mdi-star-check-outline:before{content:"󱕪"}.mdi-star-circle:before{content:"󰓏"}.mdi-star-circle-outline:before{content:"󰦤"}.mdi-star-cog:before{content:"󱙨"}.mdi-star-cog-outline:before{content:"󱙩"}.mdi-star-crescent:before{content:"󰥹"}.mdi-star-david:before{content:"󰥺"}.mdi-star-face:before{content:"󰦥"}.mdi-star-four-points:before{content:"󰫢"}.mdi-star-four-points-box:before{content:"󱱑"}.mdi-star-four-points-box-outline:before{content:"󱱒"}.mdi-star-four-points-circle:before{content:"󱱓"}.mdi-star-four-points-circle-outline:before{content:"󱱔"}.mdi-star-four-points-outline:before{content:"󰫣"}.mdi-star-four-points-small:before{content:"󱱕"}.mdi-star-half:before{content:"󰉆"}.mdi-star-half-full:before{content:"󰓐"}.mdi-star-minus:before{content:"󱕤"}.mdi-star-minus-outline:before{content:"󱕨"}.mdi-star-off:before{content:"󰓑"}.mdi-star-off-outline:before{content:"󱕛"}.mdi-star-outline:before{content:"󰓒"}.mdi-star-plus:before{content:"󱕣"}.mdi-star-plus-outline:before{content:"󱕧"}.mdi-star-remove:before{content:"󱕥"}.mdi-star-remove-outline:before{content:"󱕩"}.mdi-star-settings:before{content:"󱙪"}.mdi-star-settings-outline:before{content:"󱙫"}.mdi-star-shooting:before{content:"󱝁"}.mdi-star-shooting-outline:before{content:"󱝂"}.mdi-star-three-points:before{content:"󰫤"}.mdi-star-three-points-outline:before{content:"󰫥"}.mdi-state-machine:before{content:"󱇯"}.mdi-steam:before{content:"󰓓"}.mdi-steering:before{content:"󰓔"}.mdi-steering-off:before{content:"󰤎"}.mdi-step-backward:before{content:"󰓕"}.mdi-step-backward-2:before{content:"󰓖"}.mdi-step-forward:before{content:"󰓗"}.mdi-step-forward-2:before{content:"󰓘"}.mdi-stethoscope:before{content:"󰓙"}.mdi-sticker:before{content:"󱍤"}.mdi-sticker-alert:before{content:"󱍥"}.mdi-sticker-alert-outline:before{content:"󱍦"}.mdi-sticker-check:before{content:"󱍧"}.mdi-sticker-check-outline:before{content:"󱍨"}.mdi-sticker-circle-outline:before{content:"󰗐"}.mdi-sticker-emoji:before{content:"󰞅"}.mdi-sticker-minus:before{content:"󱍩"}.mdi-sticker-minus-outline:before{content:"󱍪"}.mdi-sticker-outline:before{content:"󱍫"}.mdi-sticker-plus:before{content:"󱍬"}.mdi-sticker-plus-outline:before{content:"󱍭"}.mdi-sticker-remove:before{content:"󱍮"}.mdi-sticker-remove-outline:before{content:"󱍯"}.mdi-sticker-text:before{content:"󱞎"}.mdi-sticker-text-outline:before{content:"󱞏"}.mdi-stocking:before{content:"󰓚"}.mdi-stomach:before{content:"󱂓"}.mdi-stool:before{content:"󱥝"}.mdi-stool-outline:before{content:"󱥞"}.mdi-stop:before{content:"󰓛"}.mdi-stop-circle:before{content:"󰙦"}.mdi-stop-circle-outline:before{content:"󰙧"}.mdi-storage-tank:before{content:"󱩵"}.mdi-storage-tank-outline:before{content:"󱩶"}.mdi-store:before{content:"󰓜"}.mdi-store-24-hour:before{content:"󰓝"}.mdi-store-alert:before{content:"󱣁"}.mdi-store-alert-outline:before{content:"󱣂"}.mdi-store-check:before{content:"󱣃"}.mdi-store-check-outline:before{content:"󱣄"}.mdi-store-clock:before{content:"󱣅"}.mdi-store-clock-outline:before{content:"󱣆"}.mdi-store-cog:before{content:"󱣇"}.mdi-store-cog-outline:before{content:"󱣈"}.mdi-store-edit:before{content:"󱣉"}.mdi-store-edit-outline:before{content:"󱣊"}.mdi-store-marker:before{content:"󱣋"}.mdi-store-marker-outline:before{content:"󱣌"}.mdi-store-minus:before{content:"󱙞"}.mdi-store-minus-outline:before{content:"󱣍"}.mdi-store-off:before{content:"󱣎"}.mdi-store-off-outline:before{content:"󱣏"}.mdi-store-outline:before{content:"󱍡"}.mdi-store-plus:before{content:"󱙟"}.mdi-store-plus-outline:before{content:"󱣐"}.mdi-store-remove:before{content:"󱙠"}.mdi-store-remove-outline:before{content:"󱣑"}.mdi-store-search:before{content:"󱣒"}.mdi-store-search-outline:before{content:"󱣓"}.mdi-store-settings:before{content:"󱣔"}.mdi-store-settings-outline:before{content:"󱣕"}.mdi-storefront:before{content:"󰟇"}.mdi-storefront-check:before{content:"󱭽"}.mdi-storefront-check-outline:before{content:"󱭾"}.mdi-storefront-edit:before{content:"󱭿"}.mdi-storefront-edit-outline:before{content:"󱮀"}.mdi-storefront-minus:before{content:"󱮃"}.mdi-storefront-minus-outline:before{content:"󱮄"}.mdi-storefront-outline:before{content:"󱃁"}.mdi-storefront-plus:before{content:"󱮁"}.mdi-storefront-plus-outline:before{content:"󱮂"}.mdi-storefront-remove:before{content:"󱮅"}.mdi-storefront-remove-outline:before{content:"󱮆"}.mdi-stove:before{content:"󰓞"}.mdi-strategy:before{content:"󱇖"}.mdi-stretch-to-page:before{content:"󰼫"}.mdi-stretch-to-page-outline:before{content:"󰼬"}.mdi-string-lights:before{content:"󱊺"}.mdi-string-lights-off:before{content:"󱊻"}.mdi-subdirectory-arrow-left:before{content:"󰘌"}.mdi-subdirectory-arrow-right:before{content:"󰘍"}.mdi-submarine:before{content:"󱕬"}.mdi-subtitles:before{content:"󰨖"}.mdi-subtitles-outline:before{content:"󰨗"}.mdi-subway:before{content:"󰚬"}.mdi-subway-alert-variant:before{content:"󰶝"}.mdi-subway-variant:before{content:"󰓟"}.mdi-summit:before{content:"󰞆"}.mdi-sun-angle:before{content:"󱬧"}.mdi-sun-angle-outline:before{content:"󱬨"}.mdi-sun-clock:before{content:"󱩷"}.mdi-sun-clock-outline:before{content:"󱩸"}.mdi-sun-compass:before{content:"󱦥"}.mdi-sun-snowflake:before{content:"󱞖"}.mdi-sun-snowflake-variant:before{content:"󱩹"}.mdi-sun-thermometer:before{content:"󱣖"}.mdi-sun-thermometer-outline:before{content:"󱣗"}.mdi-sun-wireless:before{content:"󱟾"}.mdi-sun-wireless-outline:before{content:"󱟿"}.mdi-sunglasses:before{content:"󰓠"}.mdi-surfing:before{content:"󱝆"}.mdi-surround-sound:before{content:"󰗅"}.mdi-surround-sound-2-0:before{content:"󰟰"}.mdi-surround-sound-2-1:before{content:"󱜩"}.mdi-surround-sound-3-1:before{content:"󰟱"}.mdi-surround-sound-5-1:before{content:"󰟲"}.mdi-surround-sound-5-1-2:before{content:"󱜪"}.mdi-surround-sound-7-1:before{content:"󰟳"}.mdi-svg:before{content:"󰜡"}.mdi-swap-horizontal:before{content:"󰓡"}.mdi-swap-horizontal-bold:before{content:"󰯍"}.mdi-swap-horizontal-circle:before{content:"󰿡"}.mdi-swap-horizontal-circle-outline:before{content:"󰿢"}.mdi-swap-horizontal-variant:before{content:"󰣁"}.mdi-swap-vertical:before{content:"󰓢"}.mdi-swap-vertical-bold:before{content:"󰯎"}.mdi-swap-vertical-circle:before{content:"󰿣"}.mdi-swap-vertical-circle-outline:before{content:"󰿤"}.mdi-swap-vertical-variant:before{content:"󰣂"}.mdi-swim:before{content:"󰓣"}.mdi-switch:before{content:"󰓤"}.mdi-sword:before{content:"󰓥"}.mdi-sword-cross:before{content:"󰞇"}.mdi-syllabary-hangul:before{content:"󱌳"}.mdi-syllabary-hiragana:before{content:"󱌴"}.mdi-syllabary-katakana:before{content:"󱌵"}.mdi-syllabary-katakana-halfwidth:before{content:"󱌶"}.mdi-symbol:before{content:"󱔁"}.mdi-symfony:before{content:"󰫦"}.mdi-synagogue:before{content:"󱬄"}.mdi-synagogue-outline:before{content:"󱬅"}.mdi-sync:before{content:"󰓦"}.mdi-sync-alert:before{content:"󰓧"}.mdi-sync-circle:before{content:"󱍸"}.mdi-sync-off:before{content:"󰓨"}.mdi-tab:before{content:"󰓩"}.mdi-tab-minus:before{content:"󰭋"}.mdi-tab-plus:before{content:"󰝜"}.mdi-tab-remove:before{content:"󰭌"}.mdi-tab-search:before{content:"󱦞"}.mdi-tab-unselected:before{content:"󰓪"}.mdi-table:before{content:"󰓫"}.mdi-table-account:before{content:"󱎹"}.mdi-table-alert:before{content:"󱎺"}.mdi-table-arrow-down:before{content:"󱎻"}.mdi-table-arrow-left:before{content:"󱎼"}.mdi-table-arrow-right:before{content:"󱎽"}.mdi-table-arrow-up:before{content:"󱎾"}.mdi-table-border:before{content:"󰨘"}.mdi-table-cancel:before{content:"󱎿"}.mdi-table-chair:before{content:"󱁡"}.mdi-table-check:before{content:"󱏀"}.mdi-table-clock:before{content:"󱏁"}.mdi-table-cog:before{content:"󱏂"}.mdi-table-column:before{content:"󰠵"}.mdi-table-column-plus-after:before{content:"󰓬"}.mdi-table-column-plus-before:before{content:"󰓭"}.mdi-table-column-remove:before{content:"󰓮"}.mdi-table-column-width:before{content:"󰓯"}.mdi-table-edit:before{content:"󰓰"}.mdi-table-eye:before{content:"󱂔"}.mdi-table-eye-off:before{content:"󱏃"}.mdi-table-filter:before{content:"󱮌"}.mdi-table-furniture:before{content:"󰖼"}.mdi-table-headers-eye:before{content:"󱈝"}.mdi-table-headers-eye-off:before{content:"󱈞"}.mdi-table-heart:before{content:"󱏄"}.mdi-table-key:before{content:"󱏅"}.mdi-table-large:before{content:"󰓱"}.mdi-table-large-plus:before{content:"󰾇"}.mdi-table-large-remove:before{content:"󰾈"}.mdi-table-lock:before{content:"󱏆"}.mdi-table-merge-cells:before{content:"󰦦"}.mdi-table-minus:before{content:"󱏇"}.mdi-table-multiple:before{content:"󱏈"}.mdi-table-network:before{content:"󱏉"}.mdi-table-of-contents:before{content:"󰠶"}.mdi-table-off:before{content:"󱏊"}.mdi-table-picnic:before{content:"󱝃"}.mdi-table-pivot:before{content:"󱠼"}.mdi-table-plus:before{content:"󰩵"}.mdi-table-question:before{content:"󱬡"}.mdi-table-refresh:before{content:"󱎠"}.mdi-table-remove:before{content:"󰩶"}.mdi-table-row:before{content:"󰠷"}.mdi-table-row-height:before{content:"󰓲"}.mdi-table-row-plus-after:before{content:"󰓳"}.mdi-table-row-plus-before:before{content:"󰓴"}.mdi-table-row-remove:before{content:"󰓵"}.mdi-table-search:before{content:"󰤏"}.mdi-table-settings:before{content:"󰠸"}.mdi-table-split-cell:before{content:"󱐪"}.mdi-table-star:before{content:"󱏋"}.mdi-table-sync:before{content:"󱎡"}.mdi-table-tennis:before{content:"󰹨"}.mdi-tablet:before{content:"󰓶"}.mdi-tablet-cellphone:before{content:"󰦧"}.mdi-tablet-dashboard:before{content:"󰻎"}.mdi-taco:before{content:"󰝢"}.mdi-tag:before{content:"󰓹"}.mdi-tag-arrow-down:before{content:"󱜫"}.mdi-tag-arrow-down-outline:before{content:"󱜬"}.mdi-tag-arrow-left:before{content:"󱜭"}.mdi-tag-arrow-left-outline:before{content:"󱜮"}.mdi-tag-arrow-right:before{content:"󱜯"}.mdi-tag-arrow-right-outline:before{content:"󱜰"}.mdi-tag-arrow-up:before{content:"󱜱"}.mdi-tag-arrow-up-outline:before{content:"󱜲"}.mdi-tag-check:before{content:"󱩺"}.mdi-tag-check-outline:before{content:"󱩻"}.mdi-tag-faces:before{content:"󰓺"}.mdi-tag-heart:before{content:"󰚋"}.mdi-tag-heart-outline:before{content:"󰯏"}.mdi-tag-hidden:before{content:"󱱶"}.mdi-tag-minus:before{content:"󰤐"}.mdi-tag-minus-outline:before{content:"󱈟"}.mdi-tag-multiple:before{content:"󰓻"}.mdi-tag-multiple-outline:before{content:"󱋷"}.mdi-tag-off:before{content:"󱈠"}.mdi-tag-off-outline:before{content:"󱈡"}.mdi-tag-outline:before{content:"󰓼"}.mdi-tag-plus:before{content:"󰜢"}.mdi-tag-plus-outline:before{content:"󱈢"}.mdi-tag-remove:before{content:"󰜣"}.mdi-tag-remove-outline:before{content:"󱈣"}.mdi-tag-search:before{content:"󱤇"}.mdi-tag-search-outline:before{content:"󱤈"}.mdi-tag-text:before{content:"󱈤"}.mdi-tag-text-outline:before{content:"󰓽"}.mdi-tailwind:before{content:"󱏿"}.mdi-tally-mark-1:before{content:"󱪼"}.mdi-tally-mark-2:before{content:"󱪽"}.mdi-tally-mark-3:before{content:"󱪾"}.mdi-tally-mark-4:before{content:"󱪿"}.mdi-tally-mark-5:before{content:"󱫀"}.mdi-tangram:before{content:"󰓸"}.mdi-tank:before{content:"󰴺"}.mdi-tanker-truck:before{content:"󰿥"}.mdi-tape-drive:before{content:"󱛟"}.mdi-tape-measure:before{content:"󰭍"}.mdi-target:before{content:"󰓾"}.mdi-target-account:before{content:"󰯐"}.mdi-target-variant:before{content:"󰩷"}.mdi-taxi:before{content:"󰓿"}.mdi-tea:before{content:"󰶞"}.mdi-tea-outline:before{content:"󰶟"}.mdi-teamviewer:before{content:"󰔀"}.mdi-teddy-bear:before{content:"󱣻"}.mdi-telescope:before{content:"󰭎"}.mdi-television:before{content:"󰔂"}.mdi-television-ambient-light:before{content:"󱍖"}.mdi-television-box:before{content:"󰠹"}.mdi-television-classic:before{content:"󰟴"}.mdi-television-classic-off:before{content:"󰠺"}.mdi-television-guide:before{content:"󰔃"}.mdi-television-off:before{content:"󰠻"}.mdi-television-pause:before{content:"󰾉"}.mdi-television-play:before{content:"󰻏"}.mdi-television-shimmer:before{content:"󱄐"}.mdi-television-speaker:before{content:"󱬛"}.mdi-television-speaker-off:before{content:"󱬜"}.mdi-television-stop:before{content:"󰾊"}.mdi-temperature-celsius:before{content:"󰔄"}.mdi-temperature-fahrenheit:before{content:"󰔅"}.mdi-temperature-kelvin:before{content:"󰔆"}.mdi-temple-buddhist:before{content:"󱬆"}.mdi-temple-buddhist-outline:before{content:"󱬇"}.mdi-temple-hindu:before{content:"󱬈"}.mdi-temple-hindu-outline:before{content:"󱬉"}.mdi-tennis:before{content:"󰶠"}.mdi-tennis-ball:before{content:"󰔇"}.mdi-tennis-ball-outline:before{content:"󱱟"}.mdi-tent:before{content:"󰔈"}.mdi-terraform:before{content:"󱁢"}.mdi-terrain:before{content:"󰔉"}.mdi-test-tube:before{content:"󰙨"}.mdi-test-tube-empty:before{content:"󰤑"}.mdi-test-tube-off:before{content:"󰤒"}.mdi-text:before{content:"󰦨"}.mdi-text-account:before{content:"󱕰"}.mdi-text-box:before{content:"󰈚"}.mdi-text-box-check:before{content:"󰺦"}.mdi-text-box-check-outline:before{content:"󰺧"}.mdi-text-box-edit:before{content:"󱩼"}.mdi-text-box-edit-outline:before{content:"󱩽"}.mdi-text-box-minus:before{content:"󰺨"}.mdi-text-box-minus-outline:before{content:"󰺩"}.mdi-text-box-multiple:before{content:"󰪷"}.mdi-text-box-multiple-outline:before{content:"󰪸"}.mdi-text-box-outline:before{content:"󰧭"}.mdi-text-box-plus:before{content:"󰺪"}.mdi-text-box-plus-outline:before{content:"󰺫"}.mdi-text-box-remove:before{content:"󰺬"}.mdi-text-box-remove-outline:before{content:"󰺭"}.mdi-text-box-search:before{content:"󰺮"}.mdi-text-box-search-outline:before{content:"󰺯"}.mdi-text-long:before{content:"󰦪"}.mdi-text-recognition:before{content:"󱄽"}.mdi-text-search:before{content:"󱎸"}.mdi-text-search-variant:before{content:"󱩾"}.mdi-text-shadow:before{content:"󰙩"}.mdi-text-short:before{content:"󰦩"}.mdi-texture:before{content:"󰔌"}.mdi-texture-box:before{content:"󰿦"}.mdi-theater:before{content:"󰔍"}.mdi-theme-light-dark:before{content:"󰔎"}.mdi-thermometer:before{content:"󰔏"}.mdi-thermometer-alert:before{content:"󰸁"}.mdi-thermometer-auto:before{content:"󱬏"}.mdi-thermometer-bluetooth:before{content:"󱢕"}.mdi-thermometer-check:before{content:"󱩿"}.mdi-thermometer-chevron-down:before{content:"󰸂"}.mdi-thermometer-chevron-up:before{content:"󰸃"}.mdi-thermometer-high:before{content:"󱃂"}.mdi-thermometer-lines:before{content:"󰔐"}.mdi-thermometer-low:before{content:"󱃃"}.mdi-thermometer-minus:before{content:"󰸄"}.mdi-thermometer-off:before{content:"󱔱"}.mdi-thermometer-plus:before{content:"󰸅"}.mdi-thermometer-probe:before{content:"󱬫"}.mdi-thermometer-probe-off:before{content:"󱬬"}.mdi-thermometer-water:before{content:"󱪀"}.mdi-thermostat:before{content:"󰎓"}.mdi-thermostat-auto:before{content:"󱬗"}.mdi-thermostat-box:before{content:"󰢑"}.mdi-thermostat-box-auto:before{content:"󱬘"}.mdi-thermostat-cog:before{content:"󱲀"}.mdi-thought-bubble:before{content:"󰟶"}.mdi-thought-bubble-outline:before{content:"󰟷"}.mdi-thumb-down:before{content:"󰔑"}.mdi-thumb-down-outline:before{content:"󰔒"}.mdi-thumb-up:before{content:"󰔓"}.mdi-thumb-up-outline:before{content:"󰔔"}.mdi-thumbs-up-down:before{content:"󰔕"}.mdi-thumbs-up-down-outline:before{content:"󱤔"}.mdi-ticket:before{content:"󰔖"}.mdi-ticket-account:before{content:"󰔗"}.mdi-ticket-confirmation:before{content:"󰔘"}.mdi-ticket-confirmation-outline:before{content:"󱎪"}.mdi-ticket-outline:before{content:"󰤓"}.mdi-ticket-percent:before{content:"󰜤"}.mdi-ticket-percent-outline:before{content:"󱐫"}.mdi-tie:before{content:"󰔙"}.mdi-tilde:before{content:"󰜥"}.mdi-tilde-off:before{content:"󱣳"}.mdi-timelapse:before{content:"󰔚"}.mdi-timeline:before{content:"󰯑"}.mdi-timeline-alert:before{content:"󰾕"}.mdi-timeline-alert-outline:before{content:"󰾘"}.mdi-timeline-check:before{content:"󱔲"}.mdi-timeline-check-outline:before{content:"󱔳"}.mdi-timeline-clock:before{content:"󱇻"}.mdi-timeline-clock-outline:before{content:"󱇼"}.mdi-timeline-minus:before{content:"󱔴"}.mdi-timeline-minus-outline:before{content:"󱔵"}.mdi-timeline-outline:before{content:"󰯒"}.mdi-timeline-plus:before{content:"󰾖"}.mdi-timeline-plus-outline:before{content:"󰾗"}.mdi-timeline-question:before{content:"󰾙"}.mdi-timeline-question-outline:before{content:"󰾚"}.mdi-timeline-remove:before{content:"󱔶"}.mdi-timeline-remove-outline:before{content:"󱔷"}.mdi-timeline-text:before{content:"󰯓"}.mdi-timeline-text-outline:before{content:"󰯔"}.mdi-timer:before{content:"󱎫"}.mdi-timer-10:before{content:"󰔜"}.mdi-timer-3:before{content:"󰔝"}.mdi-timer-alert:before{content:"󱫌"}.mdi-timer-alert-outline:before{content:"󱫍"}.mdi-timer-cancel:before{content:"󱫎"}.mdi-timer-cancel-outline:before{content:"󱫏"}.mdi-timer-check:before{content:"󱫐"}.mdi-timer-check-outline:before{content:"󱫑"}.mdi-timer-cog:before{content:"󱤥"}.mdi-timer-cog-outline:before{content:"󱤦"}.mdi-timer-edit:before{content:"󱫒"}.mdi-timer-edit-outline:before{content:"󱫓"}.mdi-timer-lock:before{content:"󱫔"}.mdi-timer-lock-open:before{content:"󱫕"}.mdi-timer-lock-open-outline:before{content:"󱫖"}.mdi-timer-lock-outline:before{content:"󱫗"}.mdi-timer-marker:before{content:"󱫘"}.mdi-timer-marker-outline:before{content:"󱫙"}.mdi-timer-minus:before{content:"󱫚"}.mdi-timer-minus-outline:before{content:"󱫛"}.mdi-timer-music:before{content:"󱫜"}.mdi-timer-music-outline:before{content:"󱫝"}.mdi-timer-off:before{content:"󱎬"}.mdi-timer-off-outline:before{content:"󰔞"}.mdi-timer-outline:before{content:"󰔛"}.mdi-timer-pause:before{content:"󱫞"}.mdi-timer-pause-outline:before{content:"󱫟"}.mdi-timer-play:before{content:"󱫠"}.mdi-timer-play-outline:before{content:"󱫡"}.mdi-timer-plus:before{content:"󱫢"}.mdi-timer-plus-outline:before{content:"󱫣"}.mdi-timer-refresh:before{content:"󱫤"}.mdi-timer-refresh-outline:before{content:"󱫥"}.mdi-timer-remove:before{content:"󱫦"}.mdi-timer-remove-outline:before{content:"󱫧"}.mdi-timer-sand:before{content:"󰔟"}.mdi-timer-sand-complete:before{content:"󱦟"}.mdi-timer-sand-empty:before{content:"󰚭"}.mdi-timer-sand-full:before{content:"󰞌"}.mdi-timer-sand-paused:before{content:"󱦠"}.mdi-timer-settings:before{content:"󱤣"}.mdi-timer-settings-outline:before{content:"󱤤"}.mdi-timer-star:before{content:"󱫨"}.mdi-timer-star-outline:before{content:"󱫩"}.mdi-timer-stop:before{content:"󱫪"}.mdi-timer-stop-outline:before{content:"󱫫"}.mdi-timer-sync:before{content:"󱫬"}.mdi-timer-sync-outline:before{content:"󱫭"}.mdi-timetable:before{content:"󰔠"}.mdi-tire:before{content:"󱢖"}.mdi-toaster:before{content:"󱁣"}.mdi-toaster-off:before{content:"󱆷"}.mdi-toaster-oven:before{content:"󰳓"}.mdi-toggle-switch:before{content:"󰔡"}.mdi-toggle-switch-off:before{content:"󰔢"}.mdi-toggle-switch-off-outline:before{content:"󰨙"}.mdi-toggle-switch-outline:before{content:"󰨚"}.mdi-toggle-switch-variant:before{content:"󱨥"}.mdi-toggle-switch-variant-off:before{content:"󱨦"}.mdi-toilet:before{content:"󰦫"}.mdi-toolbox:before{content:"󰦬"}.mdi-toolbox-outline:before{content:"󰦭"}.mdi-tools:before{content:"󱁤"}.mdi-tooltip:before{content:"󰔣"}.mdi-tooltip-account:before{content:"󰀌"}.mdi-tooltip-cellphone:before{content:"󱠻"}.mdi-tooltip-check:before{content:"󱕜"}.mdi-tooltip-check-outline:before{content:"󱕝"}.mdi-tooltip-edit:before{content:"󰔤"}.mdi-tooltip-edit-outline:before{content:"󱋅"}.mdi-tooltip-image:before{content:"󰔥"}.mdi-tooltip-image-outline:before{content:"󰯕"}.mdi-tooltip-minus:before{content:"󱕞"}.mdi-tooltip-minus-outline:before{content:"󱕟"}.mdi-tooltip-outline:before{content:"󰔦"}.mdi-tooltip-plus:before{content:"󰯖"}.mdi-tooltip-plus-outline:before{content:"󰔧"}.mdi-tooltip-question:before{content:"󱮺"}.mdi-tooltip-question-outline:before{content:"󱮻"}.mdi-tooltip-remove:before{content:"󱕠"}.mdi-tooltip-remove-outline:before{content:"󱕡"}.mdi-tooltip-text:before{content:"󰔨"}.mdi-tooltip-text-outline:before{content:"󰯗"}.mdi-tooth:before{content:"󰣃"}.mdi-tooth-outline:before{content:"󰔩"}.mdi-toothbrush:before{content:"󱄩"}.mdi-toothbrush-electric:before{content:"󱄬"}.mdi-toothbrush-paste:before{content:"󱄪"}.mdi-torch:before{content:"󱘆"}.mdi-tortoise:before{content:"󰴻"}.mdi-toslink:before{content:"󱊸"}.mdi-touch-text-outline:before{content:"󱱠"}.mdi-tournament:before{content:"󰦮"}.mdi-tow-truck:before{content:"󰠼"}.mdi-tower-beach:before{content:"󰚁"}.mdi-tower-fire:before{content:"󰚂"}.mdi-town-hall:before{content:"󱡵"}.mdi-toy-brick:before{content:"󱊈"}.mdi-toy-brick-marker:before{content:"󱊉"}.mdi-toy-brick-marker-outline:before{content:"󱊊"}.mdi-toy-brick-minus:before{content:"󱊋"}.mdi-toy-brick-minus-outline:before{content:"󱊌"}.mdi-toy-brick-outline:before{content:"󱊍"}.mdi-toy-brick-plus:before{content:"󱊎"}.mdi-toy-brick-plus-outline:before{content:"󱊏"}.mdi-toy-brick-remove:before{content:"󱊐"}.mdi-toy-brick-remove-outline:before{content:"󱊑"}.mdi-toy-brick-search:before{content:"󱊒"}.mdi-toy-brick-search-outline:before{content:"󱊓"}.mdi-track-light:before{content:"󰤔"}.mdi-track-light-off:before{content:"󱬁"}.mdi-trackpad:before{content:"󰟸"}.mdi-trackpad-lock:before{content:"󰤳"}.mdi-tractor:before{content:"󰢒"}.mdi-tractor-variant:before{content:"󱓄"}.mdi-trademark:before{content:"󰩸"}.mdi-traffic-cone:before{content:"󱍼"}.mdi-traffic-light:before{content:"󰔫"}.mdi-traffic-light-outline:before{content:"󱠪"}.mdi-train:before{content:"󰔬"}.mdi-train-car:before{content:"󰯘"}.mdi-train-car-autorack:before{content:"󱬭"}.mdi-train-car-box:before{content:"󱬮"}.mdi-train-car-box-full:before{content:"󱬯"}.mdi-train-car-box-open:before{content:"󱬰"}.mdi-train-car-caboose:before{content:"󱬱"}.mdi-train-car-centerbeam:before{content:"󱬲"}.mdi-train-car-centerbeam-full:before{content:"󱬳"}.mdi-train-car-container:before{content:"󱬴"}.mdi-train-car-flatbed:before{content:"󱬵"}.mdi-train-car-flatbed-car:before{content:"󱬶"}.mdi-train-car-flatbed-tank:before{content:"󱬷"}.mdi-train-car-gondola:before{content:"󱬸"}.mdi-train-car-gondola-full:before{content:"󱬹"}.mdi-train-car-hopper:before{content:"󱬺"}.mdi-train-car-hopper-covered:before{content:"󱬻"}.mdi-train-car-hopper-full:before{content:"󱬼"}.mdi-train-car-intermodal:before{content:"󱬽"}.mdi-train-car-passenger:before{content:"󱜳"}.mdi-train-car-passenger-door:before{content:"󱜴"}.mdi-train-car-passenger-door-open:before{content:"󱜵"}.mdi-train-car-passenger-variant:before{content:"󱜶"}.mdi-train-car-tank:before{content:"󱬾"}.mdi-train-variant:before{content:"󰣄"}.mdi-tram:before{content:"󰔭"}.mdi-tram-side:before{content:"󰿧"}.mdi-transcribe:before{content:"󰔮"}.mdi-transcribe-close:before{content:"󰔯"}.mdi-transfer:before{content:"󱁥"}.mdi-transfer-down:before{content:"󰶡"}.mdi-transfer-left:before{content:"󰶢"}.mdi-transfer-right:before{content:"󰔰"}.mdi-transfer-up:before{content:"󰶣"}.mdi-transit-connection:before{content:"󰴼"}.mdi-transit-connection-horizontal:before{content:"󱕆"}.mdi-transit-connection-variant:before{content:"󰴽"}.mdi-transit-detour:before{content:"󰾋"}.mdi-transit-skip:before{content:"󱔕"}.mdi-transit-transfer:before{content:"󰚮"}.mdi-transition:before{content:"󰤕"}.mdi-transition-masked:before{content:"󰤖"}.mdi-translate:before{content:"󰗊"}.mdi-translate-off:before{content:"󰸆"}.mdi-translate-variant:before{content:"󱮙"}.mdi-transmission-tower:before{content:"󰴾"}.mdi-transmission-tower-export:before{content:"󱤬"}.mdi-transmission-tower-import:before{content:"󱤭"}.mdi-transmission-tower-off:before{content:"󱧝"}.mdi-trash-can:before{content:"󰩹"}.mdi-trash-can-outline:before{content:"󰩺"}.mdi-tray:before{content:"󱊔"}.mdi-tray-alert:before{content:"󱊕"}.mdi-tray-arrow-down:before{content:"󰄠"}.mdi-tray-arrow-up:before{content:"󰄝"}.mdi-tray-full:before{content:"󱊖"}.mdi-tray-minus:before{content:"󱊗"}.mdi-tray-plus:before{content:"󱊘"}.mdi-tray-remove:before{content:"󱊙"}.mdi-treasure-chest:before{content:"󰜦"}.mdi-treasure-chest-outline:before{content:"󱱷"}.mdi-tree:before{content:"󰔱"}.mdi-tree-outline:before{content:"󰹩"}.mdi-trello:before{content:"󰔲"}.mdi-trending-down:before{content:"󰔳"}.mdi-trending-neutral:before{content:"󰔴"}.mdi-trending-up:before{content:"󰔵"}.mdi-triangle:before{content:"󰔶"}.mdi-triangle-down:before{content:"󱱖"}.mdi-triangle-down-outline:before{content:"󱱗"}.mdi-triangle-outline:before{content:"󰔷"}.mdi-triangle-small-down:before{content:"󱨉"}.mdi-triangle-small-up:before{content:"󱨊"}.mdi-triangle-wave:before{content:"󱑼"}.mdi-triforce:before{content:"󰯙"}.mdi-trophy:before{content:"󰔸"}.mdi-trophy-award:before{content:"󰔹"}.mdi-trophy-broken:before{content:"󰶤"}.mdi-trophy-outline:before{content:"󰔺"}.mdi-trophy-variant:before{content:"󰔻"}.mdi-trophy-variant-outline:before{content:"󰔼"}.mdi-truck:before{content:"󰔽"}.mdi-truck-alert:before{content:"󱧞"}.mdi-truck-alert-outline:before{content:"󱧟"}.mdi-truck-cargo-container:before{content:"󱣘"}.mdi-truck-check:before{content:"󰳔"}.mdi-truck-check-outline:before{content:"󱊚"}.mdi-truck-delivery:before{content:"󰔾"}.mdi-truck-delivery-outline:before{content:"󱊛"}.mdi-truck-fast:before{content:"󰞈"}.mdi-truck-fast-outline:before{content:"󱊜"}.mdi-truck-flatbed:before{content:"󱢑"}.mdi-truck-minus:before{content:"󱦮"}.mdi-truck-minus-outline:before{content:"󱦽"}.mdi-truck-outline:before{content:"󱊝"}.mdi-truck-plus:before{content:"󱦭"}.mdi-truck-plus-outline:before{content:"󱦼"}.mdi-truck-remove:before{content:"󱦯"}.mdi-truck-remove-outline:before{content:"󱦾"}.mdi-truck-snowflake:before{content:"󱦦"}.mdi-truck-trailer:before{content:"󰜧"}.mdi-trumpet:before{content:"󱂖"}.mdi-tshirt-crew:before{content:"󰩻"}.mdi-tshirt-crew-outline:before{content:"󰔿"}.mdi-tshirt-v:before{content:"󰩼"}.mdi-tshirt-v-outline:before{content:"󰕀"}.mdi-tsunami:before{content:"󱪁"}.mdi-tumble-dryer:before{content:"󰤗"}.mdi-tumble-dryer-alert:before{content:"󱆺"}.mdi-tumble-dryer-off:before{content:"󱆻"}.mdi-tune:before{content:"󰘮"}.mdi-tune-variant:before{content:"󱕂"}.mdi-tune-vertical:before{content:"󰙪"}.mdi-tune-vertical-variant:before{content:"󱕃"}.mdi-tunnel:before{content:"󱠽"}.mdi-tunnel-outline:before{content:"󱠾"}.mdi-turbine:before{content:"󱪂"}.mdi-turkey:before{content:"󱜛"}.mdi-turnstile:before{content:"󰳕"}.mdi-turnstile-outline:before{content:"󰳖"}.mdi-turtle:before{content:"󰳗"}.mdi-twitch:before{content:"󰕃"}.mdi-twitter:before{content:"󰕄"}.mdi-two-factor-authentication:before{content:"󰦯"}.mdi-typewriter:before{content:"󰼭"}.mdi-ubisoft:before{content:"󰯚"}.mdi-ubuntu:before{content:"󰕈"}.mdi-ufo:before{content:"󱃄"}.mdi-ufo-outline:before{content:"󱃅"}.mdi-ultra-high-definition:before{content:"󰟹"}.mdi-umbraco:before{content:"󰕉"}.mdi-umbrella:before{content:"󰕊"}.mdi-umbrella-beach:before{content:"󱢊"}.mdi-umbrella-beach-outline:before{content:"󱢋"}.mdi-umbrella-closed:before{content:"󰦰"}.mdi-umbrella-closed-outline:before{content:"󱏢"}.mdi-umbrella-closed-variant:before{content:"󱏡"}.mdi-umbrella-outline:before{content:"󰕋"}.mdi-undo:before{content:"󰕌"}.mdi-undo-variant:before{content:"󰕍"}.mdi-unfold-less-horizontal:before{content:"󰕎"}.mdi-unfold-less-vertical:before{content:"󰝠"}.mdi-unfold-more-horizontal:before{content:"󰕏"}.mdi-unfold-more-vertical:before{content:"󰝡"}.mdi-ungroup:before{content:"󰕐"}.mdi-unicode:before{content:"󰻐"}.mdi-unicorn:before{content:"󱗂"}.mdi-unicorn-variant:before{content:"󱗃"}.mdi-unicycle:before{content:"󱗥"}.mdi-unity:before{content:"󰚯"}.mdi-unreal:before{content:"󰦱"}.mdi-update:before{content:"󰚰"}.mdi-upload:before{content:"󰕒"}.mdi-upload-lock:before{content:"󱍳"}.mdi-upload-lock-outline:before{content:"󱍴"}.mdi-upload-multiple:before{content:"󰠽"}.mdi-upload-network:before{content:"󰛶"}.mdi-upload-network-outline:before{content:"󰳘"}.mdi-upload-off:before{content:"󱃆"}.mdi-upload-off-outline:before{content:"󱃇"}.mdi-upload-outline:before{content:"󰸇"}.mdi-usb:before{content:"󰕓"}.mdi-usb-flash-drive:before{content:"󱊞"}.mdi-usb-flash-drive-outline:before{content:"󱊟"}.mdi-usb-port:before{content:"󱇰"}.mdi-vacuum:before{content:"󱦡"}.mdi-vacuum-outline:before{content:"󱦢"}.mdi-valve:before{content:"󱁦"}.mdi-valve-closed:before{content:"󱁧"}.mdi-valve-open:before{content:"󱁨"}.mdi-van-passenger:before{content:"󰟺"}.mdi-van-utility:before{content:"󰟻"}.mdi-vanish:before{content:"󰟼"}.mdi-vanish-quarter:before{content:"󱕔"}.mdi-vanity-light:before{content:"󱇡"}.mdi-variable:before{content:"󰫧"}.mdi-variable-box:before{content:"󱄑"}.mdi-vector-arrange-above:before{content:"󰕔"}.mdi-vector-arrange-below:before{content:"󰕕"}.mdi-vector-bezier:before{content:"󰫨"}.mdi-vector-circle:before{content:"󰕖"}.mdi-vector-circle-variant:before{content:"󰕗"}.mdi-vector-combine:before{content:"󰕘"}.mdi-vector-curve:before{content:"󰕙"}.mdi-vector-difference:before{content:"󰕚"}.mdi-vector-difference-ab:before{content:"󰕛"}.mdi-vector-difference-ba:before{content:"󰕜"}.mdi-vector-ellipse:before{content:"󰢓"}.mdi-vector-intersection:before{content:"󰕝"}.mdi-vector-line:before{content:"󰕞"}.mdi-vector-link:before{content:"󰿨"}.mdi-vector-point:before{content:"󰇄"}.mdi-vector-point-edit:before{content:"󰧨"}.mdi-vector-point-minus:before{content:"󱭸"}.mdi-vector-point-plus:before{content:"󱭹"}.mdi-vector-point-select:before{content:"󰕟"}.mdi-vector-polygon:before{content:"󰕠"}.mdi-vector-polygon-variant:before{content:"󱡖"}.mdi-vector-polyline:before{content:"󰕡"}.mdi-vector-polyline-edit:before{content:"󱈥"}.mdi-vector-polyline-minus:before{content:"󱈦"}.mdi-vector-polyline-plus:before{content:"󱈧"}.mdi-vector-polyline-remove:before{content:"󱈨"}.mdi-vector-radius:before{content:"󰝊"}.mdi-vector-rectangle:before{content:"󰗆"}.mdi-vector-selection:before{content:"󰕢"}.mdi-vector-square:before{content:"󰀁"}.mdi-vector-square-close:before{content:"󱡗"}.mdi-vector-square-edit:before{content:"󱣙"}.mdi-vector-square-minus:before{content:"󱣚"}.mdi-vector-square-open:before{content:"󱡘"}.mdi-vector-square-plus:before{content:"󱣛"}.mdi-vector-square-remove:before{content:"󱣜"}.mdi-vector-triangle:before{content:"󰕣"}.mdi-vector-union:before{content:"󰕤"}.mdi-vhs:before{content:"󰨛"}.mdi-vibrate:before{content:"󰕦"}.mdi-vibrate-off:before{content:"󰳙"}.mdi-video:before{content:"󰕧"}.mdi-video-2d:before{content:"󱨜"}.mdi-video-3d:before{content:"󰟽"}.mdi-video-3d-off:before{content:"󱏙"}.mdi-video-3d-variant:before{content:"󰻑"}.mdi-video-4k-box:before{content:"󰠾"}.mdi-video-account:before{content:"󰤙"}.mdi-video-box:before{content:"󰃽"}.mdi-video-box-off:before{content:"󰃾"}.mdi-video-check:before{content:"󱁩"}.mdi-video-check-outline:before{content:"󱁪"}.mdi-video-high-definition:before{content:"󱔮"}.mdi-video-image:before{content:"󰤚"}.mdi-video-input-antenna:before{content:"󰠿"}.mdi-video-input-component:before{content:"󰡀"}.mdi-video-input-hdmi:before{content:"󰡁"}.mdi-video-input-scart:before{content:"󰾌"}.mdi-video-input-svideo:before{content:"󰡂"}.mdi-video-marker:before{content:"󱦩"}.mdi-video-marker-outline:before{content:"󱦪"}.mdi-video-minus:before{content:"󰦲"}.mdi-video-minus-outline:before{content:"󰊺"}.mdi-video-off:before{content:"󰕨"}.mdi-video-off-outline:before{content:"󰯛"}.mdi-video-outline:before{content:"󰯜"}.mdi-video-plus:before{content:"󰦳"}.mdi-video-plus-outline:before{content:"󰇓"}.mdi-video-stabilization:before{content:"󰤛"}.mdi-video-switch:before{content:"󰕩"}.mdi-video-switch-outline:before{content:"󰞐"}.mdi-video-vintage:before{content:"󰨜"}.mdi-video-wireless:before{content:"󰻒"}.mdi-video-wireless-outline:before{content:"󰻓"}.mdi-view-agenda:before{content:"󰕪"}.mdi-view-agenda-outline:before{content:"󱇘"}.mdi-view-array:before{content:"󰕫"}.mdi-view-array-outline:before{content:"󱒅"}.mdi-view-carousel:before{content:"󰕬"}.mdi-view-carousel-outline:before{content:"󱒆"}.mdi-view-column:before{content:"󰕭"}.mdi-view-column-outline:before{content:"󱒇"}.mdi-view-comfy:before{content:"󰹪"}.mdi-view-comfy-outline:before{content:"󱒈"}.mdi-view-compact:before{content:"󰹫"}.mdi-view-compact-outline:before{content:"󰹬"}.mdi-view-dashboard:before{content:"󰕮"}.mdi-view-dashboard-edit:before{content:"󱥇"}.mdi-view-dashboard-edit-outline:before{content:"󱥈"}.mdi-view-dashboard-outline:before{content:"󰨝"}.mdi-view-dashboard-variant:before{content:"󰡃"}.mdi-view-dashboard-variant-outline:before{content:"󱒉"}.mdi-view-day:before{content:"󰕯"}.mdi-view-day-outline:before{content:"󱒊"}.mdi-view-gallery:before{content:"󱢈"}.mdi-view-gallery-outline:before{content:"󱢉"}.mdi-view-grid:before{content:"󰕰"}.mdi-view-grid-compact:before{content:"󱱡"}.mdi-view-grid-outline:before{content:"󱇙"}.mdi-view-grid-plus:before{content:"󰾍"}.mdi-view-grid-plus-outline:before{content:"󱇚"}.mdi-view-headline:before{content:"󰕱"}.mdi-view-list:before{content:"󰕲"}.mdi-view-list-outline:before{content:"󱒋"}.mdi-view-module:before{content:"󰕳"}.mdi-view-module-outline:before{content:"󱒌"}.mdi-view-parallel:before{content:"󰜨"}.mdi-view-parallel-outline:before{content:"󱒍"}.mdi-view-quilt:before{content:"󰕴"}.mdi-view-quilt-outline:before{content:"󱒎"}.mdi-view-sequential:before{content:"󰜩"}.mdi-view-sequential-outline:before{content:"󱒏"}.mdi-view-split-horizontal:before{content:"󰯋"}.mdi-view-split-vertical:before{content:"󰯌"}.mdi-view-stream:before{content:"󰕵"}.mdi-view-stream-outline:before{content:"󱒐"}.mdi-view-week:before{content:"󰕶"}.mdi-view-week-outline:before{content:"󱒑"}.mdi-vimeo:before{content:"󰕷"}.mdi-violin:before{content:"󰘏"}.mdi-virtual-reality:before{content:"󰢔"}.mdi-virus:before{content:"󱎶"}.mdi-virus-off:before{content:"󱣡"}.mdi-virus-off-outline:before{content:"󱣢"}.mdi-virus-outline:before{content:"󱎷"}.mdi-vlc:before{content:"󰕼"}.mdi-voicemail:before{content:"󰕽"}.mdi-volcano:before{content:"󱪃"}.mdi-volcano-outline:before{content:"󱪄"}.mdi-volleyball:before{content:"󰦴"}.mdi-volume-equal:before{content:"󱬐"}.mdi-volume-high:before{content:"󰕾"}.mdi-volume-low:before{content:"󰕿"}.mdi-volume-medium:before{content:"󰖀"}.mdi-volume-minus:before{content:"󰝞"}.mdi-volume-mute:before{content:"󰝟"}.mdi-volume-off:before{content:"󰖁"}.mdi-volume-plus:before{content:"󰝝"}.mdi-volume-source:before{content:"󱄠"}.mdi-volume-variant-off:before{content:"󰸈"}.mdi-volume-vibrate:before{content:"󱄡"}.mdi-vote:before{content:"󰨟"}.mdi-vote-outline:before{content:"󰨠"}.mdi-vpn:before{content:"󰖂"}.mdi-vuejs:before{content:"󰡄"}.mdi-vuetify:before{content:"󰹭"}.mdi-walk:before{content:"󰖃"}.mdi-wall:before{content:"󰟾"}.mdi-wall-fire:before{content:"󱨑"}.mdi-wall-sconce:before{content:"󰤜"}.mdi-wall-sconce-flat:before{content:"󰤝"}.mdi-wall-sconce-flat-outline:before{content:"󱟉"}.mdi-wall-sconce-flat-variant:before{content:"󰐜"}.mdi-wall-sconce-flat-variant-outline:before{content:"󱟊"}.mdi-wall-sconce-outline:before{content:"󱟋"}.mdi-wall-sconce-round:before{content:"󰝈"}.mdi-wall-sconce-round-outline:before{content:"󱟌"}.mdi-wall-sconce-round-variant:before{content:"󰤞"}.mdi-wall-sconce-round-variant-outline:before{content:"󱟍"}.mdi-wallet:before{content:"󰖄"}.mdi-wallet-bifold:before{content:"󱱘"}.mdi-wallet-bifold-outline:before{content:"󱱙"}.mdi-wallet-giftcard:before{content:"󰖅"}.mdi-wallet-membership:before{content:"󰖆"}.mdi-wallet-outline:before{content:"󰯝"}.mdi-wallet-plus:before{content:"󰾎"}.mdi-wallet-plus-outline:before{content:"󰾏"}.mdi-wallet-travel:before{content:"󰖇"}.mdi-wallpaper:before{content:"󰸉"}.mdi-wan:before{content:"󰖈"}.mdi-wardrobe:before{content:"󰾐"}.mdi-wardrobe-outline:before{content:"󰾑"}.mdi-warehouse:before{content:"󰾁"}.mdi-washing-machine:before{content:"󰜪"}.mdi-washing-machine-alert:before{content:"󱆼"}.mdi-washing-machine-off:before{content:"󱆽"}.mdi-watch:before{content:"󰖉"}.mdi-watch-export:before{content:"󰖊"}.mdi-watch-export-variant:before{content:"󰢕"}.mdi-watch-import:before{content:"󰖋"}.mdi-watch-import-variant:before{content:"󰢖"}.mdi-watch-variant:before{content:"󰢗"}.mdi-watch-vibrate:before{content:"󰚱"}.mdi-watch-vibrate-off:before{content:"󰳚"}.mdi-water:before{content:"󰖌"}.mdi-water-alert:before{content:"󱔂"}.mdi-water-alert-outline:before{content:"󱔃"}.mdi-water-boiler:before{content:"󰾒"}.mdi-water-boiler-alert:before{content:"󱆳"}.mdi-water-boiler-auto:before{content:"󱮘"}.mdi-water-boiler-off:before{content:"󱆴"}.mdi-water-check:before{content:"󱔄"}.mdi-water-check-outline:before{content:"󱔅"}.mdi-water-circle:before{content:"󱠆"}.mdi-water-minus:before{content:"󱔆"}.mdi-water-minus-outline:before{content:"󱔇"}.mdi-water-off:before{content:"󰖍"}.mdi-water-off-outline:before{content:"󱔈"}.mdi-water-opacity:before{content:"󱡕"}.mdi-water-outline:before{content:"󰸊"}.mdi-water-percent:before{content:"󰖎"}.mdi-water-percent-alert:before{content:"󱔉"}.mdi-water-plus:before{content:"󱔊"}.mdi-water-plus-outline:before{content:"󱔋"}.mdi-water-polo:before{content:"󱊠"}.mdi-water-pump:before{content:"󰖏"}.mdi-water-pump-off:before{content:"󰾓"}.mdi-water-remove:before{content:"󱔌"}.mdi-water-remove-outline:before{content:"󱔍"}.mdi-water-sync:before{content:"󱟆"}.mdi-water-thermometer:before{content:"󱪅"}.mdi-water-thermometer-outline:before{content:"󱪆"}.mdi-water-well:before{content:"󱁫"}.mdi-water-well-outline:before{content:"󱁬"}.mdi-waterfall:before{content:"󱡉"}.mdi-watering-can:before{content:"󱒁"}.mdi-watering-can-outline:before{content:"󱒂"}.mdi-watermark:before{content:"󰘒"}.mdi-wave:before{content:"󰼮"}.mdi-waveform:before{content:"󱑽"}.mdi-waves:before{content:"󰞍"}.mdi-waves-arrow-left:before{content:"󱡙"}.mdi-waves-arrow-right:before{content:"󱡚"}.mdi-waves-arrow-up:before{content:"󱡛"}.mdi-waze:before{content:"󰯞"}.mdi-weather-cloudy:before{content:"󰖐"}.mdi-weather-cloudy-alert:before{content:"󰼯"}.mdi-weather-cloudy-arrow-right:before{content:"󰹮"}.mdi-weather-cloudy-clock:before{content:"󱣶"}.mdi-weather-dust:before{content:"󱭚"}.mdi-weather-fog:before{content:"󰖑"}.mdi-weather-hail:before{content:"󰖒"}.mdi-weather-hazy:before{content:"󰼰"}.mdi-weather-hurricane:before{content:"󰢘"}.mdi-weather-hurricane-outline:before{content:"󱱸"}.mdi-weather-lightning:before{content:"󰖓"}.mdi-weather-lightning-rainy:before{content:"󰙾"}.mdi-weather-night:before{content:"󰖔"}.mdi-weather-night-partly-cloudy:before{content:"󰼱"}.mdi-weather-partly-cloudy:before{content:"󰖕"}.mdi-weather-partly-lightning:before{content:"󰼲"}.mdi-weather-partly-rainy:before{content:"󰼳"}.mdi-weather-partly-snowy:before{content:"󰼴"}.mdi-weather-partly-snowy-rainy:before{content:"󰼵"}.mdi-weather-pouring:before{content:"󰖖"}.mdi-weather-rainy:before{content:"󰖗"}.mdi-weather-snowy:before{content:"󰖘"}.mdi-weather-snowy-heavy:before{content:"󰼶"}.mdi-weather-snowy-rainy:before{content:"󰙿"}.mdi-weather-sunny:before{content:"󰖙"}.mdi-weather-sunny-alert:before{content:"󰼷"}.mdi-weather-sunny-off:before{content:"󱓤"}.mdi-weather-sunset:before{content:"󰖚"}.mdi-weather-sunset-down:before{content:"󰖛"}.mdi-weather-sunset-up:before{content:"󰖜"}.mdi-weather-tornado:before{content:"󰼸"}.mdi-weather-windy:before{content:"󰖝"}.mdi-weather-windy-variant:before{content:"󰖞"}.mdi-web:before{content:"󰖟"}.mdi-web-box:before{content:"󰾔"}.mdi-web-cancel:before{content:"󱞐"}.mdi-web-check:before{content:"󰞉"}.mdi-web-clock:before{content:"󱉊"}.mdi-web-minus:before{content:"󱂠"}.mdi-web-off:before{content:"󰪎"}.mdi-web-plus:before{content:"󰀳"}.mdi-web-refresh:before{content:"󱞑"}.mdi-web-remove:before{content:"󰕑"}.mdi-web-sync:before{content:"󱞒"}.mdi-webcam:before{content:"󰖠"}.mdi-webcam-off:before{content:"󱜷"}.mdi-webhook:before{content:"󰘯"}.mdi-webpack:before{content:"󰜫"}.mdi-webrtc:before{content:"󱉈"}.mdi-wechat:before{content:"󰘑"}.mdi-weight:before{content:"󰖡"}.mdi-weight-gram:before{content:"󰴿"}.mdi-weight-kilogram:before{content:"󰖢"}.mdi-weight-lifter:before{content:"󱅝"}.mdi-weight-pound:before{content:"󰦵"}.mdi-whatsapp:before{content:"󰖣"}.mdi-wheel-barrow:before{content:"󱓲"}.mdi-wheelchair:before{content:"󱪇"}.mdi-wheelchair-accessibility:before{content:"󰖤"}.mdi-whistle:before{content:"󰦶"}.mdi-whistle-outline:before{content:"󱊼"}.mdi-white-balance-auto:before{content:"󰖥"}.mdi-white-balance-incandescent:before{content:"󰖦"}.mdi-white-balance-iridescent:before{content:"󰖧"}.mdi-white-balance-sunny:before{content:"󰖨"}.mdi-widgets:before{content:"󰜬"}.mdi-widgets-outline:before{content:"󱍕"}.mdi-wifi:before{content:"󰖩"}.mdi-wifi-alert:before{content:"󱚵"}.mdi-wifi-arrow-down:before{content:"󱚶"}.mdi-wifi-arrow-left:before{content:"󱚷"}.mdi-wifi-arrow-left-right:before{content:"󱚸"}.mdi-wifi-arrow-right:before{content:"󱚹"}.mdi-wifi-arrow-up:before{content:"󱚺"}.mdi-wifi-arrow-up-down:before{content:"󱚻"}.mdi-wifi-cancel:before{content:"󱚼"}.mdi-wifi-check:before{content:"󱚽"}.mdi-wifi-cog:before{content:"󱚾"}.mdi-wifi-lock:before{content:"󱚿"}.mdi-wifi-lock-open:before{content:"󱛀"}.mdi-wifi-marker:before{content:"󱛁"}.mdi-wifi-minus:before{content:"󱛂"}.mdi-wifi-off:before{content:"󰖪"}.mdi-wifi-plus:before{content:"󱛃"}.mdi-wifi-refresh:before{content:"󱛄"}.mdi-wifi-remove:before{content:"󱛅"}.mdi-wifi-settings:before{content:"󱛆"}.mdi-wifi-star:before{content:"󰸋"}.mdi-wifi-strength-1:before{content:"󰤟"}.mdi-wifi-strength-1-alert:before{content:"󰤠"}.mdi-wifi-strength-1-lock:before{content:"󰤡"}.mdi-wifi-strength-1-lock-open:before{content:"󱛋"}.mdi-wifi-strength-2:before{content:"󰤢"}.mdi-wifi-strength-2-alert:before{content:"󰤣"}.mdi-wifi-strength-2-lock:before{content:"󰤤"}.mdi-wifi-strength-2-lock-open:before{content:"󱛌"}.mdi-wifi-strength-3:before{content:"󰤥"}.mdi-wifi-strength-3-alert:before{content:"󰤦"}.mdi-wifi-strength-3-lock:before{content:"󰤧"}.mdi-wifi-strength-3-lock-open:before{content:"󱛍"}.mdi-wifi-strength-4:before{content:"󰤨"}.mdi-wifi-strength-4-alert:before{content:"󰤩"}.mdi-wifi-strength-4-lock:before{content:"󰤪"}.mdi-wifi-strength-4-lock-open:before{content:"󱛎"}.mdi-wifi-strength-alert-outline:before{content:"󰤫"}.mdi-wifi-strength-lock-open-outline:before{content:"󱛏"}.mdi-wifi-strength-lock-outline:before{content:"󰤬"}.mdi-wifi-strength-off:before{content:"󰤭"}.mdi-wifi-strength-off-outline:before{content:"󰤮"}.mdi-wifi-strength-outline:before{content:"󰤯"}.mdi-wifi-sync:before{content:"󱛇"}.mdi-wikipedia:before{content:"󰖬"}.mdi-wind-power:before{content:"󱪈"}.mdi-wind-power-outline:before{content:"󱪉"}.mdi-wind-turbine:before{content:"󰶥"}.mdi-wind-turbine-alert:before{content:"󱦫"}.mdi-wind-turbine-check:before{content:"󱦬"}.mdi-window-close:before{content:"󰖭"}.mdi-window-closed:before{content:"󰖮"}.mdi-window-closed-variant:before{content:"󱇛"}.mdi-window-maximize:before{content:"󰖯"}.mdi-window-minimize:before{content:"󰖰"}.mdi-window-open:before{content:"󰖱"}.mdi-window-open-variant:before{content:"󱇜"}.mdi-window-restore:before{content:"󰖲"}.mdi-window-shutter:before{content:"󱄜"}.mdi-window-shutter-alert:before{content:"󱄝"}.mdi-window-shutter-auto:before{content:"󱮣"}.mdi-window-shutter-cog:before{content:"󱪊"}.mdi-window-shutter-open:before{content:"󱄞"}.mdi-window-shutter-settings:before{content:"󱪋"}.mdi-windsock:before{content:"󱗺"}.mdi-wiper:before{content:"󰫩"}.mdi-wiper-wash:before{content:"󰶦"}.mdi-wiper-wash-alert:before{content:"󱣟"}.mdi-wizard-hat:before{content:"󱑷"}.mdi-wordpress:before{content:"󰖴"}.mdi-wrap:before{content:"󰖶"}.mdi-wrap-disabled:before{content:"󰯟"}.mdi-wrench:before{content:"󰖷"}.mdi-wrench-check:before{content:"󱮏"}.mdi-wrench-check-outline:before{content:"󱮐"}.mdi-wrench-clock:before{content:"󱦣"}.mdi-wrench-clock-outline:before{content:"󱮓"}.mdi-wrench-cog:before{content:"󱮑"}.mdi-wrench-cog-outline:before{content:"󱮒"}.mdi-wrench-outline:before{content:"󰯠"}.mdi-xamarin:before{content:"󰡅"}.mdi-xml:before{content:"󰗀"}.mdi-xmpp:before{content:"󰟿"}.mdi-yahoo:before{content:"󰭏"}.mdi-yeast:before{content:"󰗁"}.mdi-yin-yang:before{content:"󰚀"}.mdi-yoga:before{content:"󱅼"}.mdi-youtube:before{content:"󰗃"}.mdi-youtube-gaming:before{content:"󰡈"}.mdi-youtube-studio:before{content:"󰡇"}.mdi-youtube-subscription:before{content:"󰵀"}.mdi-youtube-tv:before{content:"󰑈"}.mdi-yurt:before{content:"󱔖"}.mdi-z-wave:before{content:"󰫪"}.mdi-zend:before{content:"󰫫"}.mdi-zigbee:before{content:"󰵁"}.mdi-zip-box:before{content:"󰗄"}.mdi-zip-box-outline:before{content:"󰿺"}.mdi-zip-disk:before{content:"󰨣"}.mdi-zodiac-aquarius:before{content:"󰩽"}.mdi-zodiac-aries:before{content:"󰩾"}.mdi-zodiac-cancer:before{content:"󰩿"}.mdi-zodiac-capricorn:before{content:"󰪀"}.mdi-zodiac-gemini:before{content:"󰪁"}.mdi-zodiac-leo:before{content:"󰪂"}.mdi-zodiac-libra:before{content:"󰪃"}.mdi-zodiac-pisces:before{content:"󰪄"}.mdi-zodiac-sagittarius:before{content:"󰪅"}.mdi-zodiac-scorpio:before{content:"󰪆"}.mdi-zodiac-taurus:before{content:"󰪇"}.mdi-zodiac-virgo:before{content:"󰪈"}.mdi-blank:before{content:"";visibility:hidden}.mdi-18px.mdi-set,.mdi-18px.mdi:before{font-size:18px}.mdi-24px.mdi-set,.mdi-24px.mdi:before{font-size:24px}.mdi-36px.mdi-set,.mdi-36px.mdi:before{font-size:36px}.mdi-48px.mdi-set,.mdi-48px.mdi:before{font-size:48px}.mdi-dark:before{color:#0000008a}.mdi-dark.mdi-inactive:before{color:#00000042}.mdi-light:before{color:#fff}.mdi-light.mdi-inactive:before{color:#ffffff4d}.mdi-rotate-45:before{-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.mdi-rotate-90:before{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.mdi-rotate-135:before{-webkit-transform:rotate(135deg);-ms-transform:rotate(135deg);transform:rotate(135deg)}.mdi-rotate-180:before{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.mdi-rotate-225:before{-webkit-transform:rotate(225deg);-ms-transform:rotate(225deg);transform:rotate(225deg)}.mdi-rotate-270:before{-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.mdi-rotate-315:before{-webkit-transform:rotate(315deg);-ms-transform:rotate(315deg);transform:rotate(315deg)}.mdi-flip-h:before{-webkit-transform:scaleX(-1);transform:scaleX(-1);filter:FlipH;-ms-filter:"FlipH"}.mdi-flip-v:before{-webkit-transform:scaleY(-1);transform:scaleY(-1);filter:FlipV;-ms-filter:"FlipV"}.mdi-spin:before{-webkit-animation:mdi-spin 2s infinite linear;animation:mdi-spin 2s infinite linear}@-webkit-keyframes mdi-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes mdi-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes v-shake{59%{margin-left:0}60%,80%{margin-left:2px}70%,90%{margin-left:-2px}}.bg-black{background-color:#000!important;color:#fff!important}.bg-white{background-color:#fff!important;color:#000!important}.bg-transparent{background-color:transparent!important;color:currentColor!important}.bg-red{background-color:#f44336!important;color:#fff!important}.bg-red-lighten-5{background-color:#ffebee!important;color:#000!important}.bg-red-lighten-4{background-color:#ffcdd2!important;color:#000!important}.bg-red-lighten-3{background-color:#ef9a9a!important;color:#000!important}.bg-red-lighten-2{background-color:#e57373!important;color:#fff!important}.bg-red-lighten-1{background-color:#ef5350!important;color:#fff!important}.bg-red-darken-1{background-color:#e53935!important;color:#fff!important}.bg-red-darken-2{background-color:#d32f2f!important;color:#fff!important}.bg-red-darken-3{background-color:#c62828!important;color:#fff!important}.bg-red-darken-4{background-color:#b71c1c!important;color:#fff!important}.bg-red-accent-1{background-color:#ff8a80!important;color:#000!important}.bg-red-accent-2{background-color:#ff5252!important;color:#fff!important}.bg-red-accent-3{background-color:#ff1744!important;color:#fff!important}.bg-red-accent-4{background-color:#d50000!important;color:#fff!important}.bg-pink{background-color:#e91e63!important;color:#fff!important}.bg-pink-lighten-5{background-color:#fce4ec!important;color:#000!important}.bg-pink-lighten-4{background-color:#f8bbd0!important;color:#000!important}.bg-pink-lighten-3{background-color:#f48fb1!important;color:#000!important}.bg-pink-lighten-2{background-color:#f06292!important;color:#fff!important}.bg-pink-lighten-1{background-color:#ec407a!important;color:#fff!important}.bg-pink-darken-1{background-color:#d81b60!important;color:#fff!important}.bg-pink-darken-2{background-color:#c2185b!important;color:#fff!important}.bg-pink-darken-3{background-color:#ad1457!important;color:#fff!important}.bg-pink-darken-4{background-color:#880e4f!important;color:#fff!important}.bg-pink-accent-1{background-color:#ff80ab!important;color:#fff!important}.bg-pink-accent-2{background-color:#ff4081!important;color:#fff!important}.bg-pink-accent-3{background-color:#f50057!important;color:#fff!important}.bg-pink-accent-4{background-color:#c51162!important;color:#fff!important}.bg-purple{background-color:#9c27b0!important;color:#fff!important}.bg-purple-lighten-5{background-color:#f3e5f5!important;color:#000!important}.bg-purple-lighten-4{background-color:#e1bee7!important;color:#000!important}.bg-purple-lighten-3{background-color:#ce93d8!important;color:#fff!important}.bg-purple-lighten-2{background-color:#ba68c8!important;color:#fff!important}.bg-purple-lighten-1{background-color:#ab47bc!important;color:#fff!important}.bg-purple-darken-1{background-color:#8e24aa!important;color:#fff!important}.bg-purple-darken-2{background-color:#7b1fa2!important;color:#fff!important}.bg-purple-darken-3{background-color:#6a1b9a!important;color:#fff!important}.bg-purple-darken-4{background-color:#4a148c!important;color:#fff!important}.bg-purple-accent-1{background-color:#ea80fc!important;color:#fff!important}.bg-purple-accent-2{background-color:#e040fb!important;color:#fff!important}.bg-purple-accent-3{background-color:#d500f9!important;color:#fff!important}.bg-purple-accent-4{background-color:#a0f!important;color:#fff!important}.bg-deep-purple{background-color:#673ab7!important;color:#fff!important}.bg-deep-purple-lighten-5{background-color:#ede7f6!important;color:#000!important}.bg-deep-purple-lighten-4{background-color:#d1c4e9!important;color:#000!important}.bg-deep-purple-lighten-3{background-color:#b39ddb!important;color:#fff!important}.bg-deep-purple-lighten-2{background-color:#9575cd!important;color:#fff!important}.bg-deep-purple-lighten-1{background-color:#7e57c2!important;color:#fff!important}.bg-deep-purple-darken-1{background-color:#5e35b1!important;color:#fff!important}.bg-deep-purple-darken-2{background-color:#512da8!important;color:#fff!important}.bg-deep-purple-darken-3{background-color:#4527a0!important;color:#fff!important}.bg-deep-purple-darken-4{background-color:#311b92!important;color:#fff!important}.bg-deep-purple-accent-1{background-color:#b388ff!important;color:#fff!important}.bg-deep-purple-accent-2{background-color:#7c4dff!important;color:#fff!important}.bg-deep-purple-accent-3{background-color:#651fff!important;color:#fff!important}.bg-deep-purple-accent-4{background-color:#6200ea!important;color:#fff!important}.bg-indigo{background-color:#3f51b5!important;color:#fff!important}.bg-indigo-lighten-5{background-color:#e8eaf6!important;color:#000!important}.bg-indigo-lighten-4{background-color:#c5cae9!important;color:#000!important}.bg-indigo-lighten-3{background-color:#9fa8da!important;color:#fff!important}.bg-indigo-lighten-2{background-color:#7986cb!important;color:#fff!important}.bg-indigo-lighten-1{background-color:#5c6bc0!important;color:#fff!important}.bg-indigo-darken-1{background-color:#3949ab!important;color:#fff!important}.bg-indigo-darken-2{background-color:#303f9f!important;color:#fff!important}.bg-indigo-darken-3{background-color:#283593!important;color:#fff!important}.bg-indigo-darken-4{background-color:#1a237e!important;color:#fff!important}.bg-indigo-accent-1{background-color:#8c9eff!important;color:#fff!important}.bg-indigo-accent-2{background-color:#536dfe!important;color:#fff!important}.bg-indigo-accent-3{background-color:#3d5afe!important;color:#fff!important}.bg-indigo-accent-4{background-color:#304ffe!important;color:#fff!important}.bg-blue{background-color:#2196f3!important;color:#fff!important}.bg-blue-lighten-5{background-color:#e3f2fd!important;color:#000!important}.bg-blue-lighten-4{background-color:#bbdefb!important;color:#000!important}.bg-blue-lighten-3{background-color:#90caf9!important;color:#000!important}.bg-blue-lighten-2{background-color:#64b5f6!important;color:#000!important}.bg-blue-lighten-1{background-color:#42a5f5!important;color:#fff!important}.bg-blue-darken-1{background-color:#1e88e5!important;color:#fff!important}.bg-blue-darken-2{background-color:#1976d2!important;color:#fff!important}.bg-blue-darken-3{background-color:#1565c0!important;color:#fff!important}.bg-blue-darken-4{background-color:#0d47a1!important;color:#fff!important}.bg-blue-accent-1{background-color:#82b1ff!important;color:#000!important}.bg-blue-accent-2{background-color:#448aff!important;color:#fff!important}.bg-blue-accent-3{background-color:#2979ff!important;color:#fff!important}.bg-blue-accent-4{background-color:#2962ff!important;color:#fff!important}.bg-light-blue{background-color:#03a9f4!important;color:#fff!important}.bg-light-blue-lighten-5{background-color:#e1f5fe!important;color:#000!important}.bg-light-blue-lighten-4{background-color:#b3e5fc!important;color:#000!important}.bg-light-blue-lighten-3{background-color:#81d4fa!important;color:#000!important}.bg-light-blue-lighten-2{background-color:#4fc3f7!important;color:#000!important}.bg-light-blue-lighten-1{background-color:#29b6f6!important;color:#000!important}.bg-light-blue-darken-1{background-color:#039be5!important;color:#fff!important}.bg-light-blue-darken-2{background-color:#0288d1!important;color:#fff!important}.bg-light-blue-darken-3{background-color:#0277bd!important;color:#fff!important}.bg-light-blue-darken-4{background-color:#01579b!important;color:#fff!important}.bg-light-blue-accent-1{background-color:#80d8ff!important;color:#000!important}.bg-light-blue-accent-2{background-color:#40c4ff!important;color:#000!important}.bg-light-blue-accent-3{background-color:#00b0ff!important;color:#fff!important}.bg-light-blue-accent-4{background-color:#0091ea!important;color:#fff!important}.bg-cyan{background-color:#00bcd4!important;color:#000!important}.bg-cyan-lighten-5{background-color:#e0f7fa!important;color:#000!important}.bg-cyan-lighten-4{background-color:#b2ebf2!important;color:#000!important}.bg-cyan-lighten-3{background-color:#80deea!important;color:#000!important}.bg-cyan-lighten-2{background-color:#4dd0e1!important;color:#000!important}.bg-cyan-lighten-1{background-color:#26c6da!important;color:#000!important}.bg-cyan-darken-1{background-color:#00acc1!important;color:#fff!important}.bg-cyan-darken-2{background-color:#0097a7!important;color:#fff!important}.bg-cyan-darken-3{background-color:#00838f!important;color:#fff!important}.bg-cyan-darken-4{background-color:#006064!important;color:#fff!important}.bg-cyan-accent-1{background-color:#84ffff!important;color:#000!important}.bg-cyan-accent-2{background-color:#18ffff!important;color:#000!important}.bg-cyan-accent-3{background-color:#00e5ff!important;color:#000!important}.bg-cyan-accent-4{background-color:#00b8d4!important;color:#fff!important}.bg-teal{background-color:#009688!important;color:#fff!important}.bg-teal-lighten-5{background-color:#e0f2f1!important;color:#000!important}.bg-teal-lighten-4{background-color:#b2dfdb!important;color:#000!important}.bg-teal-lighten-3{background-color:#80cbc4!important;color:#000!important}.bg-teal-lighten-2{background-color:#4db6ac!important;color:#fff!important}.bg-teal-lighten-1{background-color:#26a69a!important;color:#fff!important}.bg-teal-darken-1{background-color:#00897b!important;color:#fff!important}.bg-teal-darken-2{background-color:#00796b!important;color:#fff!important}.bg-teal-darken-3{background-color:#00695c!important;color:#fff!important}.bg-teal-darken-4{background-color:#004d40!important;color:#fff!important}.bg-teal-accent-1{background-color:#a7ffeb!important;color:#000!important}.bg-teal-accent-2{background-color:#64ffda!important;color:#000!important}.bg-teal-accent-3{background-color:#1de9b6!important;color:#000!important}.bg-teal-accent-4{background-color:#00bfa5!important;color:#fff!important}.bg-green{background-color:#4caf50!important;color:#fff!important}.bg-green-lighten-5{background-color:#e8f5e9!important;color:#000!important}.bg-green-lighten-4{background-color:#c8e6c9!important;color:#000!important}.bg-green-lighten-3{background-color:#a5d6a7!important;color:#000!important}.bg-green-lighten-2{background-color:#81c784!important;color:#000!important}.bg-green-lighten-1{background-color:#66bb6a!important;color:#fff!important}.bg-green-darken-1{background-color:#43a047!important;color:#fff!important}.bg-green-darken-2{background-color:#388e3c!important;color:#fff!important}.bg-green-darken-3{background-color:#2e7d32!important;color:#fff!important}.bg-green-darken-4{background-color:#1b5e20!important;color:#fff!important}.bg-green-accent-1{background-color:#b9f6ca!important;color:#000!important}.bg-green-accent-2{background-color:#69f0ae!important;color:#000!important}.bg-green-accent-3{background-color:#00e676!important;color:#000!important}.bg-green-accent-4{background-color:#00c853!important;color:#000!important}.bg-light-green{background-color:#8bc34a!important;color:#000!important}.bg-light-green-lighten-5{background-color:#f1f8e9!important;color:#000!important}.bg-light-green-lighten-4{background-color:#dcedc8!important;color:#000!important}.bg-light-green-lighten-3{background-color:#c5e1a5!important;color:#000!important}.bg-light-green-lighten-2{background-color:#aed581!important;color:#000!important}.bg-light-green-lighten-1{background-color:#9ccc65!important;color:#000!important}.bg-light-green-darken-1{background-color:#7cb342!important;color:#fff!important}.bg-light-green-darken-2{background-color:#689f38!important;color:#fff!important}.bg-light-green-darken-3{background-color:#558b2f!important;color:#fff!important}.bg-light-green-darken-4{background-color:#33691e!important;color:#fff!important}.bg-light-green-accent-1{background-color:#ccff90!important;color:#000!important}.bg-light-green-accent-2{background-color:#b2ff59!important;color:#000!important}.bg-light-green-accent-3{background-color:#76ff03!important;color:#000!important}.bg-light-green-accent-4{background-color:#64dd17!important;color:#000!important}.bg-lime{background-color:#cddc39!important;color:#000!important}.bg-lime-lighten-5{background-color:#f9fbe7!important;color:#000!important}.bg-lime-lighten-4{background-color:#f0f4c3!important;color:#000!important}.bg-lime-lighten-3{background-color:#e6ee9c!important;color:#000!important}.bg-lime-lighten-2{background-color:#dce775!important;color:#000!important}.bg-lime-lighten-1{background-color:#d4e157!important;color:#000!important}.bg-lime-darken-1{background-color:#c0ca33!important;color:#000!important}.bg-lime-darken-2{background-color:#afb42b!important;color:#000!important}.bg-lime-darken-3{background-color:#9e9d24!important;color:#fff!important}.bg-lime-darken-4{background-color:#827717!important;color:#fff!important}.bg-lime-accent-1{background-color:#f4ff81!important;color:#000!important}.bg-lime-accent-2{background-color:#eeff41!important;color:#000!important}.bg-lime-accent-3{background-color:#c6ff00!important;color:#000!important}.bg-lime-accent-4{background-color:#aeea00!important;color:#000!important}.bg-yellow{background-color:#ffeb3b!important;color:#000!important}.bg-yellow-lighten-5{background-color:#fffde7!important;color:#000!important}.bg-yellow-lighten-4{background-color:#fff9c4!important;color:#000!important}.bg-yellow-lighten-3{background-color:#fff59d!important;color:#000!important}.bg-yellow-lighten-2{background-color:#fff176!important;color:#000!important}.bg-yellow-lighten-1{background-color:#ffee58!important;color:#000!important}.bg-yellow-darken-1{background-color:#fdd835!important;color:#000!important}.bg-yellow-darken-2{background-color:#fbc02d!important;color:#000!important}.bg-yellow-darken-3{background-color:#f9a825!important;color:#000!important}.bg-yellow-darken-4{background-color:#f57f17!important;color:#fff!important}.bg-yellow-accent-1{background-color:#ffff8d!important;color:#000!important}.bg-yellow-accent-2{background-color:#ff0!important;color:#000!important}.bg-yellow-accent-3{background-color:#ffea00!important;color:#000!important}.bg-yellow-accent-4{background-color:#ffd600!important;color:#000!important}.bg-amber{background-color:#ffc107!important;color:#000!important}.bg-amber-lighten-5{background-color:#fff8e1!important;color:#000!important}.bg-amber-lighten-4{background-color:#ffecb3!important;color:#000!important}.bg-amber-lighten-3{background-color:#ffe082!important;color:#000!important}.bg-amber-lighten-2{background-color:#ffd54f!important;color:#000!important}.bg-amber-lighten-1{background-color:#ffca28!important;color:#000!important}.bg-amber-darken-1{background-color:#ffb300!important;color:#000!important}.bg-amber-darken-2{background-color:#ffa000!important;color:#000!important}.bg-amber-darken-3{background-color:#ff8f00!important;color:#000!important}.bg-amber-darken-4{background-color:#ff6f00!important;color:#fff!important}.bg-amber-accent-1{background-color:#ffe57f!important;color:#000!important}.bg-amber-accent-2{background-color:#ffd740!important;color:#000!important}.bg-amber-accent-3{background-color:#ffc400!important;color:#000!important}.bg-amber-accent-4{background-color:#ffab00!important;color:#000!important}.bg-orange{background-color:#ff9800!important;color:#000!important}.bg-orange-lighten-5{background-color:#fff3e0!important;color:#000!important}.bg-orange-lighten-4{background-color:#ffe0b2!important;color:#000!important}.bg-orange-lighten-3{background-color:#ffcc80!important;color:#000!important}.bg-orange-lighten-2{background-color:#ffb74d!important;color:#000!important}.bg-orange-lighten-1{background-color:#ffa726!important;color:#000!important}.bg-orange-darken-1{background-color:#fb8c00!important;color:#fff!important}.bg-orange-darken-2{background-color:#f57c00!important;color:#fff!important}.bg-orange-darken-3{background-color:#ef6c00!important;color:#fff!important}.bg-orange-darken-4{background-color:#e65100!important;color:#fff!important}.bg-orange-accent-1{background-color:#ffd180!important;color:#000!important}.bg-orange-accent-2{background-color:#ffab40!important;color:#000!important}.bg-orange-accent-3{background-color:#ff9100!important;color:#000!important}.bg-orange-accent-4{background-color:#ff6d00!important;color:#fff!important}.bg-deep-orange{background-color:#ff5722!important;color:#fff!important}.bg-deep-orange-lighten-5{background-color:#fbe9e7!important;color:#000!important}.bg-deep-orange-lighten-4{background-color:#ffccbc!important;color:#000!important}.bg-deep-orange-lighten-3{background-color:#ffab91!important;color:#000!important}.bg-deep-orange-lighten-2{background-color:#ff8a65!important;color:#000!important}.bg-deep-orange-lighten-1{background-color:#ff7043!important;color:#fff!important}.bg-deep-orange-darken-1{background-color:#f4511e!important;color:#fff!important}.bg-deep-orange-darken-2{background-color:#e64a19!important;color:#fff!important}.bg-deep-orange-darken-3{background-color:#d84315!important;color:#fff!important}.bg-deep-orange-darken-4{background-color:#bf360c!important;color:#fff!important}.bg-deep-orange-accent-1{background-color:#ff9e80!important;color:#000!important}.bg-deep-orange-accent-2{background-color:#ff6e40!important;color:#fff!important}.bg-deep-orange-accent-3{background-color:#ff3d00!important;color:#fff!important}.bg-deep-orange-accent-4{background-color:#dd2c00!important;color:#fff!important}.bg-brown{background-color:#795548!important;color:#fff!important}.bg-brown-lighten-5{background-color:#efebe9!important;color:#000!important}.bg-brown-lighten-4{background-color:#d7ccc8!important;color:#000!important}.bg-brown-lighten-3{background-color:#bcaaa4!important;color:#000!important}.bg-brown-lighten-2{background-color:#a1887f!important;color:#fff!important}.bg-brown-lighten-1{background-color:#8d6e63!important;color:#fff!important}.bg-brown-darken-1{background-color:#6d4c41!important;color:#fff!important}.bg-brown-darken-2{background-color:#5d4037!important;color:#fff!important}.bg-brown-darken-3{background-color:#4e342e!important;color:#fff!important}.bg-brown-darken-4{background-color:#3e2723!important;color:#fff!important}.bg-blue-grey{background-color:#607d8b!important;color:#fff!important}.bg-blue-grey-lighten-5{background-color:#eceff1!important;color:#000!important}.bg-blue-grey-lighten-4{background-color:#cfd8dc!important;color:#000!important}.bg-blue-grey-lighten-3{background-color:#b0bec5!important;color:#000!important}.bg-blue-grey-lighten-2{background-color:#90a4ae!important;color:#fff!important}.bg-blue-grey-lighten-1{background-color:#78909c!important;color:#fff!important}.bg-blue-grey-darken-1{background-color:#546e7a!important;color:#fff!important}.bg-blue-grey-darken-2{background-color:#455a64!important;color:#fff!important}.bg-blue-grey-darken-3{background-color:#37474f!important;color:#fff!important}.bg-blue-grey-darken-4{background-color:#263238!important;color:#fff!important}.bg-grey{background-color:#9e9e9e!important;color:#fff!important}.bg-grey-lighten-5{background-color:#fafafa!important;color:#000!important}.bg-grey-lighten-4{background-color:#f5f5f5!important;color:#000!important}.bg-grey-lighten-3{background-color:#eee!important;color:#000!important}.bg-grey-lighten-2{background-color:#e0e0e0!important;color:#000!important}.bg-grey-lighten-1{background-color:#bdbdbd!important;color:#000!important}.bg-grey-darken-1{background-color:#757575!important;color:#fff!important}.bg-grey-darken-2{background-color:#616161!important;color:#fff!important}.bg-grey-darken-3{background-color:#424242!important;color:#fff!important}.bg-grey-darken-4{background-color:#212121!important;color:#fff!important}.bg-shades-black{background-color:#000!important;color:#fff!important}.bg-shades-white{background-color:#fff!important;color:#000!important}.bg-shades-transparent{background-color:transparent!important;color:currentColor!important}.text-black{color:#000!important}.text-white{color:#fff!important}.text-transparent{color:transparent!important}.text-red{color:#f44336!important}.text-red-lighten-5{color:#ffebee!important}.text-red-lighten-4{color:#ffcdd2!important}.text-red-lighten-3{color:#ef9a9a!important}.text-red-lighten-2{color:#e57373!important}.text-red-lighten-1{color:#ef5350!important}.text-red-darken-1{color:#e53935!important}.text-red-darken-2{color:#d32f2f!important}.text-red-darken-3{color:#c62828!important}.text-red-darken-4{color:#b71c1c!important}.text-red-accent-1{color:#ff8a80!important}.text-red-accent-2{color:#ff5252!important}.text-red-accent-3{color:#ff1744!important}.text-red-accent-4{color:#d50000!important}.text-pink{color:#e91e63!important}.text-pink-lighten-5{color:#fce4ec!important}.text-pink-lighten-4{color:#f8bbd0!important}.text-pink-lighten-3{color:#f48fb1!important}.text-pink-lighten-2{color:#f06292!important}.text-pink-lighten-1{color:#ec407a!important}.text-pink-darken-1{color:#d81b60!important}.text-pink-darken-2{color:#c2185b!important}.text-pink-darken-3{color:#ad1457!important}.text-pink-darken-4{color:#880e4f!important}.text-pink-accent-1{color:#ff80ab!important}.text-pink-accent-2{color:#ff4081!important}.text-pink-accent-3{color:#f50057!important}.text-pink-accent-4{color:#c51162!important}.text-purple{color:#9c27b0!important}.text-purple-lighten-5{color:#f3e5f5!important}.text-purple-lighten-4{color:#e1bee7!important}.text-purple-lighten-3{color:#ce93d8!important}.text-purple-lighten-2{color:#ba68c8!important}.text-purple-lighten-1{color:#ab47bc!important}.text-purple-darken-1{color:#8e24aa!important}.text-purple-darken-2{color:#7b1fa2!important}.text-purple-darken-3{color:#6a1b9a!important}.text-purple-darken-4{color:#4a148c!important}.text-purple-accent-1{color:#ea80fc!important}.text-purple-accent-2{color:#e040fb!important}.text-purple-accent-3{color:#d500f9!important}.text-purple-accent-4{color:#a0f!important}.text-deep-purple{color:#673ab7!important}.text-deep-purple-lighten-5{color:#ede7f6!important}.text-deep-purple-lighten-4{color:#d1c4e9!important}.text-deep-purple-lighten-3{color:#b39ddb!important}.text-deep-purple-lighten-2{color:#9575cd!important}.text-deep-purple-lighten-1{color:#7e57c2!important}.text-deep-purple-darken-1{color:#5e35b1!important}.text-deep-purple-darken-2{color:#512da8!important}.text-deep-purple-darken-3{color:#4527a0!important}.text-deep-purple-darken-4{color:#311b92!important}.text-deep-purple-accent-1{color:#b388ff!important}.text-deep-purple-accent-2{color:#7c4dff!important}.text-deep-purple-accent-3{color:#651fff!important}.text-deep-purple-accent-4{color:#6200ea!important}.text-indigo{color:#3f51b5!important}.text-indigo-lighten-5{color:#e8eaf6!important}.text-indigo-lighten-4{color:#c5cae9!important}.text-indigo-lighten-3{color:#9fa8da!important}.text-indigo-lighten-2{color:#7986cb!important}.text-indigo-lighten-1{color:#5c6bc0!important}.text-indigo-darken-1{color:#3949ab!important}.text-indigo-darken-2{color:#303f9f!important}.text-indigo-darken-3{color:#283593!important}.text-indigo-darken-4{color:#1a237e!important}.text-indigo-accent-1{color:#8c9eff!important}.text-indigo-accent-2{color:#536dfe!important}.text-indigo-accent-3{color:#3d5afe!important}.text-indigo-accent-4{color:#304ffe!important}.text-blue{color:#2196f3!important}.text-blue-lighten-5{color:#e3f2fd!important}.text-blue-lighten-4{color:#bbdefb!important}.text-blue-lighten-3{color:#90caf9!important}.text-blue-lighten-2{color:#64b5f6!important}.text-blue-lighten-1{color:#42a5f5!important}.text-blue-darken-1{color:#1e88e5!important}.text-blue-darken-2{color:#1976d2!important}.text-blue-darken-3{color:#1565c0!important}.text-blue-darken-4{color:#0d47a1!important}.text-blue-accent-1{color:#82b1ff!important}.text-blue-accent-2{color:#448aff!important}.text-blue-accent-3{color:#2979ff!important}.text-blue-accent-4{color:#2962ff!important}.text-light-blue{color:#03a9f4!important}.text-light-blue-lighten-5{color:#e1f5fe!important}.text-light-blue-lighten-4{color:#b3e5fc!important}.text-light-blue-lighten-3{color:#81d4fa!important}.text-light-blue-lighten-2{color:#4fc3f7!important}.text-light-blue-lighten-1{color:#29b6f6!important}.text-light-blue-darken-1{color:#039be5!important}.text-light-blue-darken-2{color:#0288d1!important}.text-light-blue-darken-3{color:#0277bd!important}.text-light-blue-darken-4{color:#01579b!important}.text-light-blue-accent-1{color:#80d8ff!important}.text-light-blue-accent-2{color:#40c4ff!important}.text-light-blue-accent-3{color:#00b0ff!important}.text-light-blue-accent-4{color:#0091ea!important}.text-cyan{color:#00bcd4!important}.text-cyan-lighten-5{color:#e0f7fa!important}.text-cyan-lighten-4{color:#b2ebf2!important}.text-cyan-lighten-3{color:#80deea!important}.text-cyan-lighten-2{color:#4dd0e1!important}.text-cyan-lighten-1{color:#26c6da!important}.text-cyan-darken-1{color:#00acc1!important}.text-cyan-darken-2{color:#0097a7!important}.text-cyan-darken-3{color:#00838f!important}.text-cyan-darken-4{color:#006064!important}.text-cyan-accent-1{color:#84ffff!important}.text-cyan-accent-2{color:#18ffff!important}.text-cyan-accent-3{color:#00e5ff!important}.text-cyan-accent-4{color:#00b8d4!important}.text-teal{color:#009688!important}.text-teal-lighten-5{color:#e0f2f1!important}.text-teal-lighten-4{color:#b2dfdb!important}.text-teal-lighten-3{color:#80cbc4!important}.text-teal-lighten-2{color:#4db6ac!important}.text-teal-lighten-1{color:#26a69a!important}.text-teal-darken-1{color:#00897b!important}.text-teal-darken-2{color:#00796b!important}.text-teal-darken-3{color:#00695c!important}.text-teal-darken-4{color:#004d40!important}.text-teal-accent-1{color:#a7ffeb!important}.text-teal-accent-2{color:#64ffda!important}.text-teal-accent-3{color:#1de9b6!important}.text-teal-accent-4{color:#00bfa5!important}.text-green{color:#4caf50!important}.text-green-lighten-5{color:#e8f5e9!important}.text-green-lighten-4{color:#c8e6c9!important}.text-green-lighten-3{color:#a5d6a7!important}.text-green-lighten-2{color:#81c784!important}.text-green-lighten-1{color:#66bb6a!important}.text-green-darken-1{color:#43a047!important}.text-green-darken-2{color:#388e3c!important}.text-green-darken-3{color:#2e7d32!important}.text-green-darken-4{color:#1b5e20!important}.text-green-accent-1{color:#b9f6ca!important}.text-green-accent-2{color:#69f0ae!important}.text-green-accent-3{color:#00e676!important}.text-green-accent-4{color:#00c853!important}.text-light-green{color:#8bc34a!important}.text-light-green-lighten-5{color:#f1f8e9!important}.text-light-green-lighten-4{color:#dcedc8!important}.text-light-green-lighten-3{color:#c5e1a5!important}.text-light-green-lighten-2{color:#aed581!important}.text-light-green-lighten-1{color:#9ccc65!important}.text-light-green-darken-1{color:#7cb342!important}.text-light-green-darken-2{color:#689f38!important}.text-light-green-darken-3{color:#558b2f!important}.text-light-green-darken-4{color:#33691e!important}.text-light-green-accent-1{color:#ccff90!important}.text-light-green-accent-2{color:#b2ff59!important}.text-light-green-accent-3{color:#76ff03!important}.text-light-green-accent-4{color:#64dd17!important}.text-lime{color:#cddc39!important}.text-lime-lighten-5{color:#f9fbe7!important}.text-lime-lighten-4{color:#f0f4c3!important}.text-lime-lighten-3{color:#e6ee9c!important}.text-lime-lighten-2{color:#dce775!important}.text-lime-lighten-1{color:#d4e157!important}.text-lime-darken-1{color:#c0ca33!important}.text-lime-darken-2{color:#afb42b!important}.text-lime-darken-3{color:#9e9d24!important}.text-lime-darken-4{color:#827717!important}.text-lime-accent-1{color:#f4ff81!important}.text-lime-accent-2{color:#eeff41!important}.text-lime-accent-3{color:#c6ff00!important}.text-lime-accent-4{color:#aeea00!important}.text-yellow{color:#ffeb3b!important}.text-yellow-lighten-5{color:#fffde7!important}.text-yellow-lighten-4{color:#fff9c4!important}.text-yellow-lighten-3{color:#fff59d!important}.text-yellow-lighten-2{color:#fff176!important}.text-yellow-lighten-1{color:#ffee58!important}.text-yellow-darken-1{color:#fdd835!important}.text-yellow-darken-2{color:#fbc02d!important}.text-yellow-darken-3{color:#f9a825!important}.text-yellow-darken-4{color:#f57f17!important}.text-yellow-accent-1{color:#ffff8d!important}.text-yellow-accent-2{color:#ff0!important}.text-yellow-accent-3{color:#ffea00!important}.text-yellow-accent-4{color:#ffd600!important}.text-amber{color:#ffc107!important}.text-amber-lighten-5{color:#fff8e1!important}.text-amber-lighten-4{color:#ffecb3!important}.text-amber-lighten-3{color:#ffe082!important}.text-amber-lighten-2{color:#ffd54f!important}.text-amber-lighten-1{color:#ffca28!important}.text-amber-darken-1{color:#ffb300!important}.text-amber-darken-2{color:#ffa000!important}.text-amber-darken-3{color:#ff8f00!important}.text-amber-darken-4{color:#ff6f00!important}.text-amber-accent-1{color:#ffe57f!important}.text-amber-accent-2{color:#ffd740!important}.text-amber-accent-3{color:#ffc400!important}.text-amber-accent-4{color:#ffab00!important}.text-orange{color:#ff9800!important}.text-orange-lighten-5{color:#fff3e0!important}.text-orange-lighten-4{color:#ffe0b2!important}.text-orange-lighten-3{color:#ffcc80!important}.text-orange-lighten-2{color:#ffb74d!important}.text-orange-lighten-1{color:#ffa726!important}.text-orange-darken-1{color:#fb8c00!important}.text-orange-darken-2{color:#f57c00!important}.text-orange-darken-3{color:#ef6c00!important}.text-orange-darken-4{color:#e65100!important}.text-orange-accent-1{color:#ffd180!important}.text-orange-accent-2{color:#ffab40!important}.text-orange-accent-3{color:#ff9100!important}.text-orange-accent-4{color:#ff6d00!important}.text-deep-orange{color:#ff5722!important}.text-deep-orange-lighten-5{color:#fbe9e7!important}.text-deep-orange-lighten-4{color:#ffccbc!important}.text-deep-orange-lighten-3{color:#ffab91!important}.text-deep-orange-lighten-2{color:#ff8a65!important}.text-deep-orange-lighten-1{color:#ff7043!important}.text-deep-orange-darken-1{color:#f4511e!important}.text-deep-orange-darken-2{color:#e64a19!important}.text-deep-orange-darken-3{color:#d84315!important}.text-deep-orange-darken-4{color:#bf360c!important}.text-deep-orange-accent-1{color:#ff9e80!important}.text-deep-orange-accent-2{color:#ff6e40!important}.text-deep-orange-accent-3{color:#ff3d00!important}.text-deep-orange-accent-4{color:#dd2c00!important}.text-brown{color:#795548!important}.text-brown-lighten-5{color:#efebe9!important}.text-brown-lighten-4{color:#d7ccc8!important}.text-brown-lighten-3{color:#bcaaa4!important}.text-brown-lighten-2{color:#a1887f!important}.text-brown-lighten-1{color:#8d6e63!important}.text-brown-darken-1{color:#6d4c41!important}.text-brown-darken-2{color:#5d4037!important}.text-brown-darken-3{color:#4e342e!important}.text-brown-darken-4{color:#3e2723!important}.text-blue-grey{color:#607d8b!important}.text-blue-grey-lighten-5{color:#eceff1!important}.text-blue-grey-lighten-4{color:#cfd8dc!important}.text-blue-grey-lighten-3{color:#b0bec5!important}.text-blue-grey-lighten-2{color:#90a4ae!important}.text-blue-grey-lighten-1{color:#78909c!important}.text-blue-grey-darken-1{color:#546e7a!important}.text-blue-grey-darken-2{color:#455a64!important}.text-blue-grey-darken-3{color:#37474f!important}.text-blue-grey-darken-4{color:#263238!important}.text-grey{color:#9e9e9e!important}.text-grey-lighten-5{color:#fafafa!important}.text-grey-lighten-4{color:#f5f5f5!important}.text-grey-lighten-3{color:#eee!important}.text-grey-lighten-2{color:#e0e0e0!important}.text-grey-lighten-1{color:#bdbdbd!important}.text-grey-darken-1{color:#757575!important}.text-grey-darken-2{color:#616161!important}.text-grey-darken-3{color:#424242!important}.text-grey-darken-4{color:#212121!important}.text-shades-black{color:#000!important}.text-shades-white{color:#fff!important}.text-shades-transparent{color:transparent!important}/*! +.tabulator{position:relative;border:1px solid #dee2e6;background-color:#fff;font-size:16px;text-align:left;overflow:hidden;-webkit-transform:translateZ(0);-moz-transform:translateZ(0);-ms-transform:translateZ(0);-o-transform:translateZ(0);transform:translateZ(0)}.tabulator[tabulator-layout=fitDataFill] .tabulator-tableholder .tabulator-table{min-width:100%}.tabulator[tabulator-layout=fitDataTable]{display:inline-block}.tabulator.tabulator-block-select{-webkit-user-select:none;user-select:none}.tabulator.tabulator-ranges .tabulator-cell:not(.tabulator-editing){-webkit-user-select:none;user-select:none}.tabulator .tabulator-header{position:relative;box-sizing:border-box;width:100%;border-bottom:1px solid #dee2e6;background-color:#fff;color:#555;font-weight:700;white-space:nowrap;overflow:hidden;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none;outline:none}.tabulator .tabulator-header.tabulator-header-hidden{display:none}.tabulator .tabulator-header .tabulator-header-contents{position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-header-contents .tabulator-headers{display:inline-block}.tabulator .tabulator-header .tabulator-col{display:inline-flex;position:relative;box-sizing:border-box;flex-direction:column;justify-content:flex-start;border-right:1px solid #aaa;background:#fff;text-align:left;vertical-align:bottom;overflow:hidden}.tabulator .tabulator-header .tabulator-col.tabulator-moving{position:absolute;border:1px solid #dee2e6;background:#e6e6e6;pointer-events:none}.tabulator .tabulator-header .tabulator-col.tabulator-range-highlight{background-color:#d6d6d6;color:#000}.tabulator .tabulator-header .tabulator-col.tabulator-range-selected{background-color:#3876ca;color:#fff}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{box-sizing:border-box;position:relative;padding:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button{padding:0 8px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button:hover{cursor:pointer;opacity:.6}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title-holder{position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title{box-sizing:border-box;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title.tabulator-col-title-wrap{white-space:normal;text-overflow:initial}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-title-editor{box-sizing:border-box;width:100%;border:1px solid #999;padding:1px;background:#fff}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-header-popup-button+.tabulator-title-editor{width:calc(100% - 22px)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{display:flex;align-items:center;position:absolute;top:0;bottom:0;right:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #bbb}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{position:relative;display:flex;border-top:1px solid #aaa;overflow:hidden;margin-right:-1px}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter{position:relative;box-sizing:border-box;margin-top:2px;width:100%;text-align:center}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter textarea{height:auto!important}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter svg{margin-top:3px}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input::-ms-clear{width:0;height:0}.tabulator .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:25px}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable.tabulator-col-sorter-element:hover{cursor:pointer;background-color:#e6e6e6}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter{color:#bbb}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-bottom:6px solid #555}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid #bbb}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter{color:#666}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-bottom:6px solid #555}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid #666}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter{color:#666}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-top:6px solid #555}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-bottom:none;border-top:6px solid #666;color:#666}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical .tabulator-col-content .tabulator-col-title{writing-mode:vertical-rl;text-orientation:mixed;display:flex;align-items:center;justify-content:center}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-col-vertical-flip .tabulator-col-title{transform:rotate(180deg)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-title{padding-right:0;padding-top:20px}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable.tabulator-col-vertical-flip .tabulator-col-title{padding-right:0;padding-bottom:20px}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-sorter{justify-content:center;left:0;right:0;top:4px;bottom:auto}.tabulator .tabulator-header .tabulator-frozen{position:sticky;left:0;z-index:11}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-left{border-right:2px solid #dee2e6}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-right{border-left:2px solid #dee2e6}.tabulator .tabulator-header .tabulator-calcs-holder{box-sizing:border-box;display:inline-block;background:white!important;border-top:1px solid #dee2e6;border-bottom:1px solid #aaa}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row{background:white!important}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-header .tabulator-frozen-rows-holder{display:inline-block}.tabulator .tabulator-header .tabulator-frozen-rows-holder:empty{display:none}.tabulator .tabulator-tableholder{position:relative;width:100%;white-space:nowrap;overflow:auto;-webkit-overflow-scrolling:touch}.tabulator .tabulator-tableholder:focus{outline:none}.tabulator .tabulator-tableholder .tabulator-placeholder{box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-width:100%;width:100%}.tabulator .tabulator-tableholder .tabulator-placeholder[tabulator-render-mode=virtual]{min-height:100%}.tabulator .tabulator-tableholder .tabulator-placeholder .tabulator-placeholder-contents{display:inline-block;text-align:center;padding:10px;color:#ccc;font-weight:700;font-size:20px;white-space:normal}.tabulator .tabulator-tableholder .tabulator-table{position:relative;display:inline-block;background-color:#fff;white-space:nowrap;overflow:visible;color:#333}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs{font-weight:700;background:#ececec!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-top{border-bottom:2px solid #dee2e6}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-bottom{border-top:2px solid #dee2e6}.tabulator .tabulator-tableholder .tabulator-range-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;pointer-events:none}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range{position:absolute;box-sizing:border-box;border:1px solid #2975DD}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range.tabulator-range-active:after{content:"";position:absolute;right:-3px;bottom:-3px;width:6px;height:6px;background-color:#2975dd;border-radius:999px}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range-cell-active{position:absolute;box-sizing:border-box;border:2px solid #2975DD}.tabulator .tabulator-footer{border-top:1px solid #dee2e6;background-color:#e6e6e6;color:#555;font-weight:700;white-space:nowrap;user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator .tabulator-footer .tabulator-footer-contents{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:5px 10px}.tabulator .tabulator-footer .tabulator-footer-contents:empty{display:none}.tabulator .tabulator-footer .tabulator-calcs-holder{box-sizing:border-box;width:100%;text-align:left;background:#f3f3f3!important;border-bottom:1px solid #dee2e6;border-top:1px solid #dee2e6;overflow:hidden}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row{display:inline-block;background:#f3f3f3!important}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-footer .tabulator-calcs-holder:only-child{margin-bottom:-5px;border-bottom:none}.tabulator .tabulator-footer>*+.tabulator-page-counter{margin-left:10px}.tabulator .tabulator-footer .tabulator-page-counter{font-weight:400}.tabulator .tabulator-footer .tabulator-paginator{flex:1;text-align:right;color:#555;font-family:inherit;font-weight:inherit;font-size:inherit}.tabulator .tabulator-footer .tabulator-page-size{display:inline-block;margin:0 5px;padding:2px 5px;border:1px solid #dee2e6;border-radius:3px}.tabulator .tabulator-footer .tabulator-pages{margin:0 7px}.tabulator .tabulator-footer .tabulator-page{display:inline-block;margin:0 2px;padding:2px 5px;border:1px solid #dee2e6;border-radius:3px;background:rgba(255,255,255,.2)}.tabulator .tabulator-footer .tabulator-page.active{color:#fff}.tabulator .tabulator-footer .tabulator-page:disabled{opacity:.5}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-footer .tabulator-page:not(disabled):hover{cursor:pointer;background:rgba(0,0,0,.2);color:#fff}}.tabulator .tabulator-col-resize-handle{position:relative;display:inline-block;width:6px;margin-left:-3px;margin-right:-3px;z-index:11;vertical-align:middle}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-col-resize-handle:hover{cursor:ew-resize}}.tabulator .tabulator-col-resize-handle:last-of-type{width:3px;margin-right:0}.tabulator .tabulator-alert{position:absolute;display:flex;align-items:center;top:0;left:0;z-index:100;height:100%;width:100%;background:rgba(0,0,0,.4);text-align:center}.tabulator .tabulator-alert .tabulator-alert-msg{display:inline-block;margin:0 auto;padding:10px 20px;border-radius:10px;background:#fff;font-weight:700;font-size:16px}.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-msg{border:4px solid #333;color:#000}.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-error{border:4px solid #D00;color:#590000}.tabulator-row{position:relative;box-sizing:border-box;min-height:24px;background-color:#fff}.tabulator-row.tabulator-row-even{background-color:#f9f9f9}@media (hover: hover) and (pointer: fine){.tabulator-row.tabulator-selectable:hover{background-color:#f5f5f5;cursor:pointer}}.tabulator-row.tabulator-selected{background-color:#9abcea}@media (hover: hover) and (pointer: fine){.tabulator-row.tabulator-selected:hover{background-color:#769bcc;cursor:pointer}}.tabulator-row.tabulator-row-moving{border:1px solid #000;background:#fff}.tabulator-row.tabulator-moving{position:absolute;border-top:1px solid #dee2e6;border-bottom:1px solid #dee2e6;pointer-events:none;z-index:15}.tabulator-row.tabulator-range-highlight .tabulator-cell.tabulator-range-row-header{background-color:#d6d6d6;color:#000}.tabulator-row.tabulator-range-highlight.tabulator-range-selected .tabulator-cell.tabulator-range-row-header,.tabulator-row.tabulator-range-selected .tabulator-cell.tabulator-range-row-header{background-color:#3876ca;color:#fff}.tabulator-row .tabulator-row-resize-handle{position:absolute;right:0;bottom:0;left:0;height:5px}.tabulator-row .tabulator-row-resize-handle.prev{top:0;bottom:auto}@media (hover: hover) and (pointer: fine){.tabulator-row .tabulator-row-resize-handle:hover{cursor:ns-resize}}.tabulator-row .tabulator-responsive-collapse{box-sizing:border-box;padding:5px;border-top:1px solid #dee2e6;border-bottom:1px solid #dee2e6}.tabulator-row .tabulator-responsive-collapse:empty{display:none}.tabulator-row .tabulator-responsive-collapse table{font-size:16px}.tabulator-row .tabulator-responsive-collapse table tr td{position:relative}.tabulator-row .tabulator-responsive-collapse table tr td:first-of-type{padding-right:10px}.tabulator-row .tabulator-cell{display:inline-block;position:relative;box-sizing:border-box;padding:4px;border-right:1px solid #dee2e6;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;outline:none}.tabulator-row .tabulator-cell.tabulator-frozen{display:inline-block;position:sticky;left:0;background-color:inherit;z-index:11}.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-right:2px solid #dee2e6}.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-left:2px solid #dee2e6}.tabulator-row .tabulator-cell.tabulator-editing{border:1px solid #1D68CD;outline:none;padding:0}.tabulator-row .tabulator-cell.tabulator-editing input,.tabulator-row .tabulator-cell.tabulator-editing select{border:1px;background:transparent;outline:none}.tabulator-row .tabulator-cell.tabulator-validation-fail{border:1px solid #dd0000}.tabulator-row .tabulator-cell.tabulator-validation-fail input,.tabulator-row .tabulator-cell.tabulator-validation-fail select{border:1px;background:transparent;color:#d00}.tabulator-row .tabulator-cell.tabulator-row-handle{display:inline-flex;align-items:center;justify-content:center;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box{width:80%}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box .tabulator-row-handle-bar{width:100%;height:3px;margin-top:2px;background:#666}.tabulator-row .tabulator-cell.tabulator-range-selected:not(.tabulator-range-only-cell-selected):not(.tabulator-range-row-header){background-color:#9abcea}.tabulator-row .tabulator-cell .tabulator-data-tree-branch-empty{display:inline-block;width:7px}.tabulator-row .tabulator-cell .tabulator-data-tree-branch{display:inline-block;vertical-align:middle;height:9px;width:7px;margin-top:-9px;margin-right:5px;border-bottom-left-radius:1px;border-left:2px solid #dee2e6;border-bottom:2px solid #dee2e6}.tabulator-row .tabulator-cell .tabulator-data-tree-control{display:inline-flex;justify-content:center;align-items:center;vertical-align:middle;height:11px;width:11px;margin-right:5px;border:1px solid #333;border-radius:2px;background:rgba(0,0,0,.1);overflow:hidden}@media (hover: hover) and (pointer: fine){.tabulator-row .tabulator-cell .tabulator-data-tree-control:hover{cursor:pointer;background:rgba(0,0,0,.2)}}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse{display:inline-block;position:relative;height:7px;width:1px;background:transparent}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand{display:inline-block;position:relative;height:7px;width:1px;background:#333}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle{display:inline-flex;align-items:center;justify-content:center;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none;height:15px;width:15px;border-radius:20px;background:#666;color:#fff;font-weight:700;font-size:1.1em}@media (hover: hover) and (pointer: fine){.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle:hover{opacity:.7;cursor:pointer}}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-close{display:initial}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-open{display:none}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle svg{stroke:#fff}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle .tabulator-responsive-collapse-toggle-close{display:none}.tabulator-row .tabulator-cell .tabulator-traffic-light{display:inline-block;height:14px;width:14px;border-radius:14px}.tabulator-row.tabulator-group{box-sizing:border-box;border-bottom:1px solid #999;border-right:1px solid #dee2e6;border-top:1px solid #999;padding:5px 5px 5px 10px;background:#ccc;font-weight:700;min-width:100%}@media (hover: hover) and (pointer: fine){.tabulator-row.tabulator-group:hover{cursor:pointer;background-color:#0000001a}}.tabulator-row.tabulator-group.tabulator-group-visible .tabulator-arrow{margin-right:10px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #666;border-bottom:0}.tabulator-row.tabulator-group.tabulator-group-level-1{padding-left:30px}.tabulator-row.tabulator-group.tabulator-group-level-2{padding-left:50px}.tabulator-row.tabulator-group.tabulator-group-level-3{padding-left:70px}.tabulator-row.tabulator-group.tabulator-group-level-4{padding-left:90px}.tabulator-row.tabulator-group.tabulator-group-level-5{padding-left:110px}.tabulator-row.tabulator-group .tabulator-group-toggle{display:inline-block}.tabulator-row.tabulator-group .tabulator-arrow{display:inline-block;width:0;height:0;margin-right:16px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:0;border-left:6px solid #666;vertical-align:middle}.tabulator-row.tabulator-group span{margin-left:10px;color:#d00}.tabulator-popup-container{position:absolute;display:inline-block;box-sizing:border-box;background:#fff;border:1px solid #dee2e6;box-shadow:0 0 5px #0003;font-size:16px;overflow-y:auto;-webkit-overflow-scrolling:touch;z-index:10000}.tabulator-popup{padding:5px;border-radius:3px}.tabulator-tooltip{max-width:min(500px,100%);padding:3px 5px;border-radius:2px;box-shadow:none;font-size:12px;pointer-events:none}.tabulator-menu .tabulator-menu-item{position:relative;box-sizing:border-box;padding:5px 10px;-webkit-user-select:none;user-select:none}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-disabled{opacity:.5}@media (hover: hover) and (pointer: fine){.tabulator-menu .tabulator-menu-item:not(.tabulator-menu-item-disabled):hover{cursor:pointer;background:#f9f9f9}}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu{padding-right:25px}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu:after{display:inline-block;position:absolute;top:calc(5px + .4em);right:10px;height:7px;width:7px;content:"";border-width:1px 1px 0 0;border-style:solid;border-color:#dee2e6;vertical-align:top;transform:rotate(45deg)}.tabulator-menu .tabulator-menu-separator{border-top:1px solid #dee2e6}.tabulator-edit-list{max-height:200px;font-size:16px;overflow-y:auto;-webkit-overflow-scrolling:touch}.tabulator-edit-list .tabulator-edit-list-item{padding:4px;color:#333;outline:none}.tabulator-edit-list .tabulator-edit-list-item.active{color:#fff;background:#1D68CD}.tabulator-edit-list .tabulator-edit-list-item.active.focused{outline:1px solid rgba(255,255,255,.5)}.tabulator-edit-list .tabulator-edit-list-item.focused{outline:1px solid #1D68CD}@media (hover: hover) and (pointer: fine){.tabulator-edit-list .tabulator-edit-list-item:hover{cursor:pointer;color:#fff;background:#1D68CD}}.tabulator-edit-list .tabulator-edit-list-placeholder{padding:4px;color:#333;text-align:center}.tabulator-edit-list .tabulator-edit-list-group{border-bottom:1px solid #dee2e6;padding:6px 4px 4px;color:#333;font-weight:700}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-2,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-2{padding-left:12px}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-3,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-3{padding-left:20px}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-4,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-4{padding-left:28px}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-5,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-5{padding-left:36px}.tabulator.tabulator-ltr{direction:ltr}.tabulator.tabulator-rtl{text-align:initial;direction:rtl}.tabulator.tabulator-rtl .tabulator-header .tabulator-col{text-align:initial;border-left:1px solid #aaa;border-right:initial}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{margin-right:initial;margin-left:-1px}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:0;padding-left:25px}.tabulator.tabulator-rtl .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{left:8px;right:initial}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell{border-right:initial;border-left:1px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-branch{margin-right:initial;margin-left:5px;border-bottom-left-radius:initial;border-bottom-right-radius:1px;border-left:initial;border-right:2px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-control{margin-right:initial;margin-left:5px}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-left:2px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-right:2px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-col-resize-handle:last-of-type{width:3px;margin-left:0;margin-right:-3px}.tabulator.tabulator-rtl .tabulator-footer .tabulator-calcs-holder{text-align:initial}.tabulator-print-fullscreen{position:absolute;top:0;bottom:0;left:0;right:0;z-index:10000}body.tabulator-print-fullscreen-hide>*:not(.tabulator-print-fullscreen){display:none!important}.tabulator-print-table{border-collapse:collapse}.tabulator-print-table .tabulator-data-tree-branch{display:inline-block;vertical-align:middle;height:9px;width:7px;margin-top:-9px;margin-right:5px;border-bottom-left-radius:1px;border-left:2px solid #dee2e6;border-bottom:2px solid #dee2e6}.tabulator-print-table .tabulator-print-table-group{box-sizing:border-box;border-bottom:1px solid #999;border-right:1px solid #dee2e6;border-top:1px solid #999;padding:5px 5px 5px 10px;background:#ccc;font-weight:700;min-width:100%}@media (hover: hover) and (pointer: fine){.tabulator-print-table .tabulator-print-table-group:hover{cursor:pointer;background-color:#0000001a}}.tabulator-print-table .tabulator-print-table-group.tabulator-group-visible .tabulator-arrow{margin-right:10px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #666;border-bottom:0}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-1 td{padding-left:30px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-2 td{padding-left:50px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-3 td{padding-left:70px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-4 td{padding-left:90px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-5 td{padding-left:110px!important}.tabulator-print-table .tabulator-print-table-group .tabulator-group-toggle{display:inline-block}.tabulator-print-table .tabulator-print-table-group .tabulator-arrow{display:inline-block;width:0;height:0;margin-right:16px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:0;border-left:6px solid #666;vertical-align:middle}.tabulator-print-table .tabulator-print-table-group span{margin-left:10px;color:#d00}.tabulator-print-table .tabulator-data-tree-control{display:inline-flex;justify-content:center;align-items:center;vertical-align:middle;height:11px;width:11px;margin-right:5px;border:1px solid #333;border-radius:2px;background:rgba(0,0,0,.1);overflow:hidden}@media (hover: hover) and (pointer: fine){.tabulator-print-table .tabulator-data-tree-control:hover{cursor:pointer;background:rgba(0,0,0,.2)}}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse{display:inline-block;position:relative;height:7px;width:1px;background:transparent}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand{display:inline-block;position:relative;height:7px;width:1px;background:#333}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator{background-color:#fff;border:none}.tabulator .tabulator-header{border-top:1px solid #dee2e6;border-bottom:2px solid #dee2e6;color:inherit}.tabulator .tabulator-header .tabulator-col{border-right:none;background-color:#fff}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{padding:12px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{right:0}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{border-top:1px solid #dee2e6}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input{padding:.375rem .75rem;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;font-size:1rem;line-height:1.5;color:#495057}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input:focus{color:#495057;background-color:#fff;border:1px solid #1D68CD;outline:0}.tabulator .tabulator-header .tabulator-calcs-holder{width:100%;border-bottom:1px solid #dee2e6}.tabulator .tabulator-tableholder .tabulator-placeholder span{color:#000}.tabulator .tabulator-tableholder .tabulator-table,.tabulator .tabulator-footer,.tabulator .tabulator-footer .tabulator-paginator{color:inherit}.tabulator .tabulator-footer .tabulator-pages{margin:0}.tabulator .tabulator-footer .tabulator-page{margin:5px 0 0;padding:8px 12px}.tabulator .tabulator-footer .tabulator-page[data-page=first]{border-top-left-radius:4px;border-bottom-left-radius:4px}.tabulator .tabulator-footer .tabulator-page[data-page=last]{border:1px solid #dee2e6;border-top-right-radius:4px;border-bottom-right-radius:4px}.tabulator .tabulator-footer .tabulator-page.active{border-color:#007bff;background-color:#007bff;color:#fff}.tabulator .tabulator-footer .tabulator-page:disabled{border-color:#dee2e6;background:#fff;color:#6c757d}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-footer .tabulator-page:not(.disabled):hover{border-color:#dee2e6;background:#e9ecef;color:#0056b3}}.tabulator.thead-dark .tabulator-header,.tabulator.thead-dark .tabulator-header .tabulator-col{border-color:#32383e;background-color:#212529;color:#fff}.tabulator.table-dark{background-color:#212529}.tabulator.table-dark:not(.thead-light) .tabulator-header{border-color:#32383e;background-color:#212529;color:#fff}.tabulator.table-dark:not(.thead-light) .tabulator-header .tabulator-col{border-color:#32383e;background-color:#212529;color:#fff}.tabulator.table-dark .tabulator-tableholder{color:#fff}.tabulator.table-dark .tabulator-row{border-color:#32383e;background-color:#212529;color:#fff}@media (hover: hover) and (pointer: fine){.tabulator.table-dark .tabulator-row:hover{background-color:#32383e}.tabulator.table-dark .tabulator-row:hover .tabulator-cell{background-color:#ffffff13}}.tabulator.table-dark .tabulator-row.tabulator-selected{background-color:#9abcea}.tabulator.table-dark .tabulator-footer{border-color:#32383e!important}.tabulator.table-dark .tabulator-footer .tabulator-calcs-holder{border-color:#32383e!important;background:#212529!important}.tabulator.table-dark .tabulator-footer .tabulator-calcs-holder .tabulator-row{border-color:#32383e!important;background-color:#212529!important;color:#fff!important}.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even{background-color:#f9f9f9}.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even.tabulator-selected{background-color:#9abcea}@media (hover: hover) and (pointer: fine){.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even.tabulator-selectable:hover{background-color:#f5f5f5;cursor:pointer}.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even.tabulator-selected:hover{background-color:#769bcc;cursor:pointer}}.tabulator.table-striped.table-dark .tabulator-row:nth-child(2n) .tabulator-cell{background-color:#ffffff0d}.tabulator.table-bordered{border:1px solid #dee2e6}.tabulator.table-bordered .tabulator-header .tabulator-col,.tabulator.table-bordered .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell{border-right:1px solid #dee2e6}.tabulator.table-borderless .tabulator-header,.tabulator.table-borderless .tabulator-row{border:none}.tabulator.table-sm .tabulator-header .tabulator-col .tabulator-col-content{padding:5px!important}.tabulator.table-sm .tabulator-tableholder .tabulator-table .tabulator-row{min-height:26px}.tabulator.table-sm .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell{padding:5px!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-primary{background:#b8daff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-secondary{background:#d6d8db!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-success{background:#c3e6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-info{background:#bee5eb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-warning{background:#ffeeba!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-danger{background:#f5c6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-light{background:#fdfdfe!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-dark{background:#c6c8ca!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-active{background:#f5f5f5!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-primary{background:#007bff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-secondary{background:#6c757d!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-success{background:#28a745!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-info{background:#17a2b8!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-warning{background:#ffc107!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-danger{background:#dc3545!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-light{background:#f8f9fa!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-dark{background:#343a40!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-active{background:#f5f5f5!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-primary{background:#b8daff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-secondary{background:#d6d8db!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-success{background:#c3e6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-info{background:#bee5eb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-warning{background:#ffeeba!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-danger{background:#f5c6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-light{background:#fdfdfe!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-dark{background:#c6c8ca!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-active{background:#f5f5f5!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-primary{background:#007bff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-secondary{background:#6c757d!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-success{background:#28a745!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-info{background:#17a2b8!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-warning{background:#ffc107!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-danger{background:#dc3545!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-light{background:#f8f9fa!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-dark{background:#343a40!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-active{background:#f5f5f5!important}.tabulator-row{min-height:40px;border-bottom:1px solid #dee2e6}.tabulator-row .tabulator-cell{padding:12px;border-right:none}.tabulator-row .tabulator-cell:last-of-type{border-right:none}.tabulator-row .tabulator-cell .tabulator-data-tree-control{border:1px solid #ccc}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{background:#ccc}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand{background:#ccc}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{background:#ccc}.tabulator-row.tabulator-group{background:#fafafa}.tabulator-row.tabulator-group span{color:#666}.tabulator-edit-select-list{background:#fff}.tabulator-edit-select-list .tabulator-edit-select-list-item.active{color:#fff}.tabulator-edit-select-list .tabulator-edit-select-list-item.active.focused{outline:1px solid rgba(255,255,255,.5)}@media (hover: hover) and (pointer: fine){.tabulator-edit-select-list .tabulator-edit-select-list-item:hover{color:#fff}}.tabulator-edit-select-list .tabulator-edit-select-list-notice,.tabulator-edit-select-list .tabulator-edit-select-list-group{color:inherit}.tabulator.tabulator-rtl .tabulator-header .tabulator-col{text-align:initial;border-left:initial}.tabulator-print-table .tabulator-print-table-group{background:#fafafa}.tabulator-print-table .tabulator-print-table-group span{color:#666}.tabulator-print-table .tabulator-data-tree-control{color:inherit}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{background:#ccc}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand{background:#ccc}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{background:#ccc}.tabulator-col-title,.tabulator-cell{font-size:14px}.filter-badge{position:absolute;top:-4px;right:-4px;background-color:#f44336;color:#fff;border-radius:50%;min-width:18px;height:18px;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:500;line-height:1;z-index:10;box-shadow:0 1px 3px #0000004d}.plot-container[data-v-08e314b5]{position:relative;width:100%;color:var(--text-color);background-color:var(--background-color)}.simple-button[data-v-08e314b5]{position:absolute;top:17%;left:6.5%;z-index:1000;background-color:var(--annotation-background);border:none;border-radius:50%;width:30px;height:30px;text-align:center;line-height:230%;cursor:pointer}.simple-button[data-v-08e314b5]:hover{background-color:var(--button-hover-color)}.foreground[data-v-fb6c82e8]{position:relative;z-index:1000}.sequence-amino-acid-highlighted[data-v-fb6c82e8],.sequence-amino-acid.highlighted[data-v-fb6c82e8]{background-color:#f3a712;color:#000;outline:3px solid #29335C;font-weight:700}.sequence-amino-acid-truncated[data-v-fb6c82e8],.sequence-amino-acid.truncated .aa-text[data-v-fb6c82e8]{color:#8080804d;outline:rgba(128,128,128,.3);text-decoration:line-through!important}.sequence-amino-acid[data-v-fb6c82e8]{background-color:var(--amino-acid-cell-bg-color);color:var(--amino-acid-cell-color)}.sequence-amino-acid[data-v-fb6c82e8]:hover{background-color:var(--amino-acid-cell-hover-bg-color);color:var(--amino-acid-cell-hover-color)}.sequence-amino-acid-highlighted[data-v-fb6c82e8]{background-color:var(--amino-acid-cell-bg-color);color:#f3a712}.sequence-amino-acid-highlighted[data-v-fb6c82e8]:hover{background-color:var(--amino-acid-cell-hover-bg-color)}.sequence-amino-acid-modified[data-v-fb6c82e8]{background-color:#a79c91}.sequence-amino-acid-modified[data-v-fb6c82e8]:hover{background-color:#c5baaf}.frag-marker-container[data-v-fb6c82e8],.frag-marker-container-a[data-v-fb6c82e8],.frag-marker-container-b[data-v-fb6c82e8],.frag-marker-container-c[data-v-fb6c82e8],.frag-marker-container-x[data-v-fb6c82e8],.frag-marker-container-y[data-v-fb6c82e8],.frag-marker-container-z[data-v-fb6c82e8],.frag-marker-extra-type[data-v-fb6c82e8]{width:100%;height:100%;position:absolute;z-index:1000}.frag-marker-container-a[data-v-fb6c82e8]{top:-28%;left:15%}.frag-marker-container-b[data-v-fb6c82e8]{top:-8%;left:13%}.frag-marker-container-c[data-v-fb6c82e8]{top:-28%;left:15%}.frag-marker-container-x[data-v-fb6c82e8]{bottom:-32%;left:-10%}.frag-marker-container-y[data-v-fb6c82e8]{bottom:-8%;left:-10%}.frag-marker-container-z[data-v-fb6c82e8]{bottom:-32%;left:-10%}.frag-marker-extra-type[data-v-fb6c82e8]{top:-30%}.aa-text[data-v-fb6c82e8]{position:absolute}.tag-marker[data-v-fb6c82e8]{position:absolute;top:-7.5%;left:-7.5%;width:115%;height:115%;display:flex;align-items:center;justify-content:right;border-top:.3em solid black;border-right:.3em solid black;border-bottom:.3em solid black;border-left:.3em solid black;z-index:1100}.tag-start[data-v-fb6c82e8]{clip-path:inset(0 50% 0 0)}.tag-end[data-v-fb6c82e8]{clip-path:inset(0 0 0 50%)}.mod-marker[data-v-fb6c82e8]{position:absolute;width:100%;height:100%;display:flex;align-items:center;justify-content:right;background-image:radial-gradient(#676a9c .5px,transparent .5px),radial-gradient(#444cf7 .5px,#e5e5f7 .5px);background-size:15px 15px;background-position:0 0,10px 10px;background-repeat:repeat}.mod-mass[data-v-fb6c82e8]{background-color:#fff;display:inline-block;position:absolute;top:-15%;right:-25%;display:flex;align-items:center;justify-content:right;border-top:.1em solid #a79c91;border-right:.1em solid #a79c91;border-bottom:.1em solid #a79c91;border-left:.1em solid #a79c91;font-size:.7em;padding:0 .2em;z-index:1100}.mod-mass-a[data-v-fb6c82e8]{display:inline-block;position:absolute;top:-15%;right:-25%;display:flex;align-items:center;border-top:.2em solid green;border-right:.2em solid green;border-bottom:.2em solid green;border-radius:.5rem;padding:0 .2em;z-index:1200;font-size:.7em;color:#0000}.mod-mass-b[data-v-fb6c82e8]{display:inline-block;position:absolute;top:-15%;right:-25%;display:flex;align-items:center;border-top:.2em solid blue;border-right:.2em solid blue;border-bottom:.2em solid blue;border-radius:.5rem;z-index:1200;padding:0 .2em;font-size:.7em;color:#0000}.mod-mass-c[data-v-fb6c82e8]{display:inline-block;position:absolute;top:-15%;right:-25%;display:flex;align-items:center;border-top:.2em solid red;border-right:.2em solid red;border-bottom:.2em solid red;border-radius:.5rem;z-index:1200;font-size:.7em;padding:0 .2em;color:#0000}.mod-start[data-v-fb6c82e8]{clip-path:inset(0 50% 0 0)}.mod-end[data-v-fb6c82e8],.mod-start-cont[data-v-fb6c82e8]{clip-path:inset(0 0 0 50%)}.mod-end-cont[data-v-fb6c82e8]{clip-path:inset(0 50% 0 0)}.mod-center-cont[data-v-fb6c82e8]{width:125%}.undetermined[data-v-beee67fe]{position:relative;top:-20%;font-size:.7em;font-weight:1000;color:red;z-index:1100}.protein-terminal[data-v-beee67fe]:hover{background-color:var(--protein-terminal-cell-hover-bg-color);color:var(--protein-terminal-cell-hover-color)}.terminal-text[data-v-beee67fe]{font-weight:1000}.terminal-text.truncated[data-v-beee67fe]{color:#80808066;outline:rgba(128,128,128,.4)}.protein-terminal-modified[data-v-beee67fe]{background-color:#9c1e1e;color:var(--amino-acid-cell-color)}.protein-terminal-modified[data-v-beee67fe]:hover{background-color:#ff1e1e}.sequence-grid[data-v-9a6912d6]{display:grid;grid-template-rows:auto;gap:4px 4px}.sequence-grid>div[data-v-9a6912d6]{aspect-ratio:1}.sequence-amino-acid-modified[data-v-9a6912d6]{background-color:#9c1e1e!important}.sequence-amino-acid-modified[data-v-9a6912d6]:hover{background-color:#ff1e1e}.sequence-amino-acid-highlighted[data-v-9a6912d6]{background-color:var(--amino-acid-cell-bg-color);color:#f0a441}.sequence-amino-acid-highlighted[data-v-9a6912d6]:hover{background-color:var(--amino-acid-cell-hover-bg-color)}.sequence-grid[data-v-14f01162]{display:grid;grid-template-rows:auto;gap:4px 4px}.sequence-grid>div[data-v-14f01162]{aspect-ratio:1}.protein-terminal[data-v-14f01162]:hover{background-color:var(--amino-acid-cell-hover-bg-color);color:var(--amino-acid-cell-hover-color)}.grid-width-20[data-v-14f01162]{grid-template-columns:repeat(22,1fr)}.grid-width-25[data-v-14f01162]{grid-template-columns:repeat(27,1fr)}.grid-width-30[data-v-14f01162]{grid-template-columns:repeat(32,1fr)}.grid-width-35[data-v-14f01162]{grid-template-columns:repeat(37,1fr)}.grid-width-40[data-v-14f01162]{grid-template-columns:repeat(42,1fr)}.sequence-and-scale[data-v-14f01162]{display:flex;align-items:center}.scale-container[data-v-14f01162]{display:flex;flex-direction:column;align-items:center}#sequence-part[data-v-14f01162]{flex-grow:1}.scale[data-v-14f01162]{width:60px;height:100px;background:linear-gradient(to top,rgba(228,87,46,.1),rgba(228,87,46,.2) 10%,rgba(228,87,46,.4) 20%,rgba(228,87,46,.6) 40%,rgba(228,87,46,.8) 70%,#e4572e 100%)}.scale-text[data-v-14f01162]{text-align:center;font-size:14pt;font-weight:700}.sequence-text[data-v-ece55ad7]{font-size:8px}.fragment-segment[data-v-ece55ad7],.by-fragment[data-v-ece55ad7],.cy-fragment[data-v-ece55ad7],.bz-fragment[data-v-ece55ad7],.not-in-fragment[data-v-ece55ad7],.by-fragment-overlayed[data-v-ece55ad7],.by-fragment-legend[data-v-ece55ad7],.cy-fragment-overlayed[data-v-ece55ad7],.cy-fragment-legend[data-v-ece55ad7],.bz-fragment-overlayed[data-v-ece55ad7],.bz-fragment-legend[data-v-ece55ad7]{aspect-ratio:1}.by-fragment[data-v-ece55ad7],.by-fragment-overlayed[data-v-ece55ad7],.by-fragment-legend[data-v-ece55ad7]{background:#f0a441}.by-fragment-overlayed[data-v-ece55ad7]{opacity:var(--frag-block-opacity-value)}.by-fragment-legend[data-v-ece55ad7]{height:10px}.cy-fragment[data-v-ece55ad7],.cy-fragment-overlayed[data-v-ece55ad7],.cy-fragment-legend[data-v-ece55ad7]{background:#12871d}.cy-fragment-overlayed[data-v-ece55ad7]{opacity:var(--frag-block-opacity-value)}.cy-fragment-legend[data-v-ece55ad7]{height:10px}.bz-fragment[data-v-ece55ad7],.bz-fragment-overlayed[data-v-ece55ad7],.bz-fragment-legend[data-v-ece55ad7]{background:#7831cc}.bz-fragment-overlayed[data-v-ece55ad7]{opacity:var(--frag-block-opacity-value)}.bz-fragment-legend[data-v-ece55ad7]{height:10px}.not-in-fragment[data-v-ece55ad7]{background:transparent;aspect-ratio:1}.v-input.textFieldFontSize[data-v-ece55ad7]{width:100px}.component-row[data-v-942c08f7]{display:flex;flex-direction:row;align-items:center}.height-1[data-v-942c08f7]{min-height:200px;height:fit-content;max-height:400px}.height-2[data-v-942c08f7]{min-height:200px;height:fit-content;max-height:800px}.height-any[data-v-942c08f7]{min-height:200px;height:fit-content}.component-width-1[data-v-942c08f7]{flex-basis:100%;flex-grow:0}.component-width-2[data-v-942c08f7]{max-width:50%;flex-basis:50%;flex-grow:0}.component-width-3[data-v-942c08f7]{max-width:33%;flex-basis:33%;flex-grow:0}.component-layout[data-v-721e06dc]{display:flex;flex-direction:column}body{margin:0;font-family:Source Sans Pro,sans-serif}.tabulator-tooltip{background:#fff;color:#000}@font-face{font-family:Material Design Icons;src:url(./materialdesignicons-webfont-67d24abe.eot?v=7.2.96);src:url(./materialdesignicons-webfont-67d24abe.eot?#iefix&v=7.2.96) format("embedded-opentype"),url(./materialdesignicons-webfont-c1c004a9.woff2?v=7.2.96) format("woff2"),url(./materialdesignicons-webfont-80bb28b3.woff?v=7.2.96) format("woff"),url(./materialdesignicons-webfont-a58ecb54.ttf?v=7.2.96) format("truetype");font-weight:400;font-style:normal}.mdi:before,.mdi-set{display:inline-block;font: 24px/1 Material Design Icons;font-size:inherit;text-rendering:auto;line-height:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.mdi-ab-testing:before{content:"󰇉"}.mdi-abacus:before{content:"󱛠"}.mdi-abjad-arabic:before{content:"󱌨"}.mdi-abjad-hebrew:before{content:"󱌩"}.mdi-abugida-devanagari:before{content:"󱌪"}.mdi-abugida-thai:before{content:"󱌫"}.mdi-access-point:before{content:"󰀃"}.mdi-access-point-check:before{content:"󱔸"}.mdi-access-point-minus:before{content:"󱔹"}.mdi-access-point-network:before{content:"󰀂"}.mdi-access-point-network-off:before{content:"󰯡"}.mdi-access-point-off:before{content:"󱔑"}.mdi-access-point-plus:before{content:"󱔺"}.mdi-access-point-remove:before{content:"󱔻"}.mdi-account:before{content:"󰀄"}.mdi-account-alert:before{content:"󰀅"}.mdi-account-alert-outline:before{content:"󰭐"}.mdi-account-arrow-down:before{content:"󱡨"}.mdi-account-arrow-down-outline:before{content:"󱡩"}.mdi-account-arrow-left:before{content:"󰭑"}.mdi-account-arrow-left-outline:before{content:"󰭒"}.mdi-account-arrow-right:before{content:"󰭓"}.mdi-account-arrow-right-outline:before{content:"󰭔"}.mdi-account-arrow-up:before{content:"󱡧"}.mdi-account-arrow-up-outline:before{content:"󱡪"}.mdi-account-badge:before{content:"󱬊"}.mdi-account-badge-outline:before{content:"󱬋"}.mdi-account-box:before{content:"󰀆"}.mdi-account-box-multiple:before{content:"󰤴"}.mdi-account-box-multiple-outline:before{content:"󱀊"}.mdi-account-box-outline:before{content:"󰀇"}.mdi-account-cancel:before{content:"󱋟"}.mdi-account-cancel-outline:before{content:"󱋠"}.mdi-account-card:before{content:"󱮤"}.mdi-account-card-outline:before{content:"󱮥"}.mdi-account-cash:before{content:"󱂗"}.mdi-account-cash-outline:before{content:"󱂘"}.mdi-account-check:before{content:"󰀈"}.mdi-account-check-outline:before{content:"󰯢"}.mdi-account-child:before{content:"󰪉"}.mdi-account-child-circle:before{content:"󰪊"}.mdi-account-child-outline:before{content:"󱃈"}.mdi-account-circle:before{content:"󰀉"}.mdi-account-circle-outline:before{content:"󰭕"}.mdi-account-clock:before{content:"󰭖"}.mdi-account-clock-outline:before{content:"󰭗"}.mdi-account-cog:before{content:"󱍰"}.mdi-account-cog-outline:before{content:"󱍱"}.mdi-account-convert:before{content:"󰀊"}.mdi-account-convert-outline:before{content:"󱌁"}.mdi-account-cowboy-hat:before{content:"󰺛"}.mdi-account-cowboy-hat-outline:before{content:"󱟳"}.mdi-account-credit-card:before{content:"󱮦"}.mdi-account-credit-card-outline:before{content:"󱮧"}.mdi-account-details:before{content:"󰘱"}.mdi-account-details-outline:before{content:"󱍲"}.mdi-account-edit:before{content:"󰚼"}.mdi-account-edit-outline:before{content:"󰿻"}.mdi-account-eye:before{content:"󰐠"}.mdi-account-eye-outline:before{content:"󱉻"}.mdi-account-filter:before{content:"󰤶"}.mdi-account-filter-outline:before{content:"󰾝"}.mdi-account-group:before{content:"󰡉"}.mdi-account-group-outline:before{content:"󰭘"}.mdi-account-hard-hat:before{content:"󰖵"}.mdi-account-hard-hat-outline:before{content:"󱨟"}.mdi-account-heart:before{content:"󰢙"}.mdi-account-heart-outline:before{content:"󰯣"}.mdi-account-injury:before{content:"󱠕"}.mdi-account-injury-outline:before{content:"󱠖"}.mdi-account-key:before{content:"󰀋"}.mdi-account-key-outline:before{content:"󰯤"}.mdi-account-lock:before{content:"󱅞"}.mdi-account-lock-open:before{content:"󱥠"}.mdi-account-lock-open-outline:before{content:"󱥡"}.mdi-account-lock-outline:before{content:"󱅟"}.mdi-account-minus:before{content:"󰀍"}.mdi-account-minus-outline:before{content:"󰫬"}.mdi-account-multiple:before{content:"󰀎"}.mdi-account-multiple-check:before{content:"󰣅"}.mdi-account-multiple-check-outline:before{content:"󱇾"}.mdi-account-multiple-minus:before{content:"󰗓"}.mdi-account-multiple-minus-outline:before{content:"󰯥"}.mdi-account-multiple-outline:before{content:"󰀏"}.mdi-account-multiple-plus:before{content:"󰀐"}.mdi-account-multiple-plus-outline:before{content:"󰠀"}.mdi-account-multiple-remove:before{content:"󱈊"}.mdi-account-multiple-remove-outline:before{content:"󱈋"}.mdi-account-music:before{content:"󰠃"}.mdi-account-music-outline:before{content:"󰳩"}.mdi-account-network:before{content:"󰀑"}.mdi-account-network-off:before{content:"󱫱"}.mdi-account-network-off-outline:before{content:"󱫲"}.mdi-account-network-outline:before{content:"󰯦"}.mdi-account-off:before{content:"󰀒"}.mdi-account-off-outline:before{content:"󰯧"}.mdi-account-outline:before{content:"󰀓"}.mdi-account-plus:before{content:"󰀔"}.mdi-account-plus-outline:before{content:"󰠁"}.mdi-account-question:before{content:"󰭙"}.mdi-account-question-outline:before{content:"󰭚"}.mdi-account-reactivate:before{content:"󱔫"}.mdi-account-reactivate-outline:before{content:"󱔬"}.mdi-account-remove:before{content:"󰀕"}.mdi-account-remove-outline:before{content:"󰫭"}.mdi-account-school:before{content:"󱨠"}.mdi-account-school-outline:before{content:"󱨡"}.mdi-account-search:before{content:"󰀖"}.mdi-account-search-outline:before{content:"󰤵"}.mdi-account-settings:before{content:"󰘰"}.mdi-account-settings-outline:before{content:"󱃉"}.mdi-account-star:before{content:"󰀗"}.mdi-account-star-outline:before{content:"󰯨"}.mdi-account-supervisor:before{content:"󰪋"}.mdi-account-supervisor-circle:before{content:"󰪌"}.mdi-account-supervisor-circle-outline:before{content:"󱓬"}.mdi-account-supervisor-outline:before{content:"󱄭"}.mdi-account-switch:before{content:"󰀙"}.mdi-account-switch-outline:before{content:"󰓋"}.mdi-account-sync:before{content:"󱤛"}.mdi-account-sync-outline:before{content:"󱤜"}.mdi-account-tag:before{content:"󱰛"}.mdi-account-tag-outline:before{content:"󱰜"}.mdi-account-tie:before{content:"󰳣"}.mdi-account-tie-hat:before{content:"󱢘"}.mdi-account-tie-hat-outline:before{content:"󱢙"}.mdi-account-tie-outline:before{content:"󱃊"}.mdi-account-tie-voice:before{content:"󱌈"}.mdi-account-tie-voice-off:before{content:"󱌊"}.mdi-account-tie-voice-off-outline:before{content:"󱌋"}.mdi-account-tie-voice-outline:before{content:"󱌉"}.mdi-account-tie-woman:before{content:"󱪌"}.mdi-account-voice:before{content:"󰗋"}.mdi-account-voice-off:before{content:"󰻔"}.mdi-account-wrench:before{content:"󱢚"}.mdi-account-wrench-outline:before{content:"󱢛"}.mdi-adjust:before{content:"󰀚"}.mdi-advertisements:before{content:"󱤪"}.mdi-advertisements-off:before{content:"󱤫"}.mdi-air-conditioner:before{content:"󰀛"}.mdi-air-filter:before{content:"󰵃"}.mdi-air-horn:before{content:"󰶬"}.mdi-air-humidifier:before{content:"󱂙"}.mdi-air-humidifier-off:before{content:"󱑦"}.mdi-air-purifier:before{content:"󰵄"}.mdi-air-purifier-off:before{content:"󱭗"}.mdi-airbag:before{content:"󰯩"}.mdi-airballoon:before{content:"󰀜"}.mdi-airballoon-outline:before{content:"󱀋"}.mdi-airplane:before{content:"󰀝"}.mdi-airplane-alert:before{content:"󱡺"}.mdi-airplane-check:before{content:"󱡻"}.mdi-airplane-clock:before{content:"󱡼"}.mdi-airplane-cog:before{content:"󱡽"}.mdi-airplane-edit:before{content:"󱡾"}.mdi-airplane-landing:before{content:"󰗔"}.mdi-airplane-marker:before{content:"󱡿"}.mdi-airplane-minus:before{content:"󱢀"}.mdi-airplane-off:before{content:"󰀞"}.mdi-airplane-plus:before{content:"󱢁"}.mdi-airplane-remove:before{content:"󱢂"}.mdi-airplane-search:before{content:"󱢃"}.mdi-airplane-settings:before{content:"󱢄"}.mdi-airplane-takeoff:before{content:"󰗕"}.mdi-airport:before{content:"󰡋"}.mdi-alarm:before{content:"󰀠"}.mdi-alarm-bell:before{content:"󰞎"}.mdi-alarm-check:before{content:"󰀡"}.mdi-alarm-light:before{content:"󰞏"}.mdi-alarm-light-off:before{content:"󱜞"}.mdi-alarm-light-off-outline:before{content:"󱜟"}.mdi-alarm-light-outline:before{content:"󰯪"}.mdi-alarm-multiple:before{content:"󰀢"}.mdi-alarm-note:before{content:"󰹱"}.mdi-alarm-note-off:before{content:"󰹲"}.mdi-alarm-off:before{content:"󰀣"}.mdi-alarm-panel:before{content:"󱗄"}.mdi-alarm-panel-outline:before{content:"󱗅"}.mdi-alarm-plus:before{content:"󰀤"}.mdi-alarm-snooze:before{content:"󰚎"}.mdi-album:before{content:"󰀥"}.mdi-alert:before{content:"󰀦"}.mdi-alert-box:before{content:"󰀧"}.mdi-alert-box-outline:before{content:"󰳤"}.mdi-alert-circle:before{content:"󰀨"}.mdi-alert-circle-check:before{content:"󱇭"}.mdi-alert-circle-check-outline:before{content:"󱇮"}.mdi-alert-circle-outline:before{content:"󰗖"}.mdi-alert-decagram:before{content:"󰚽"}.mdi-alert-decagram-outline:before{content:"󰳥"}.mdi-alert-minus:before{content:"󱒻"}.mdi-alert-minus-outline:before{content:"󱒾"}.mdi-alert-octagon:before{content:"󰀩"}.mdi-alert-octagon-outline:before{content:"󰳦"}.mdi-alert-octagram:before{content:"󰝧"}.mdi-alert-octagram-outline:before{content:"󰳧"}.mdi-alert-outline:before{content:"󰀪"}.mdi-alert-plus:before{content:"󱒺"}.mdi-alert-plus-outline:before{content:"󱒽"}.mdi-alert-remove:before{content:"󱒼"}.mdi-alert-remove-outline:before{content:"󱒿"}.mdi-alert-rhombus:before{content:"󱇎"}.mdi-alert-rhombus-outline:before{content:"󱇏"}.mdi-alien:before{content:"󰢚"}.mdi-alien-outline:before{content:"󱃋"}.mdi-align-horizontal-center:before{content:"󱇃"}.mdi-align-horizontal-distribute:before{content:"󱥢"}.mdi-align-horizontal-left:before{content:"󱇂"}.mdi-align-horizontal-right:before{content:"󱇄"}.mdi-align-vertical-bottom:before{content:"󱇅"}.mdi-align-vertical-center:before{content:"󱇆"}.mdi-align-vertical-distribute:before{content:"󱥣"}.mdi-align-vertical-top:before{content:"󱇇"}.mdi-all-inclusive:before{content:"󰚾"}.mdi-all-inclusive-box:before{content:"󱢍"}.mdi-all-inclusive-box-outline:before{content:"󱢎"}.mdi-allergy:before{content:"󱉘"}.mdi-alpha:before{content:"󰀫"}.mdi-alpha-a:before{content:"󰫮"}.mdi-alpha-a-box:before{content:"󰬈"}.mdi-alpha-a-box-outline:before{content:"󰯫"}.mdi-alpha-a-circle:before{content:"󰯬"}.mdi-alpha-a-circle-outline:before{content:"󰯭"}.mdi-alpha-b:before{content:"󰫯"}.mdi-alpha-b-box:before{content:"󰬉"}.mdi-alpha-b-box-outline:before{content:"󰯮"}.mdi-alpha-b-circle:before{content:"󰯯"}.mdi-alpha-b-circle-outline:before{content:"󰯰"}.mdi-alpha-c:before{content:"󰫰"}.mdi-alpha-c-box:before{content:"󰬊"}.mdi-alpha-c-box-outline:before{content:"󰯱"}.mdi-alpha-c-circle:before{content:"󰯲"}.mdi-alpha-c-circle-outline:before{content:"󰯳"}.mdi-alpha-d:before{content:"󰫱"}.mdi-alpha-d-box:before{content:"󰬋"}.mdi-alpha-d-box-outline:before{content:"󰯴"}.mdi-alpha-d-circle:before{content:"󰯵"}.mdi-alpha-d-circle-outline:before{content:"󰯶"}.mdi-alpha-e:before{content:"󰫲"}.mdi-alpha-e-box:before{content:"󰬌"}.mdi-alpha-e-box-outline:before{content:"󰯷"}.mdi-alpha-e-circle:before{content:"󰯸"}.mdi-alpha-e-circle-outline:before{content:"󰯹"}.mdi-alpha-f:before{content:"󰫳"}.mdi-alpha-f-box:before{content:"󰬍"}.mdi-alpha-f-box-outline:before{content:"󰯺"}.mdi-alpha-f-circle:before{content:"󰯻"}.mdi-alpha-f-circle-outline:before{content:"󰯼"}.mdi-alpha-g:before{content:"󰫴"}.mdi-alpha-g-box:before{content:"󰬎"}.mdi-alpha-g-box-outline:before{content:"󰯽"}.mdi-alpha-g-circle:before{content:"󰯾"}.mdi-alpha-g-circle-outline:before{content:"󰯿"}.mdi-alpha-h:before{content:"󰫵"}.mdi-alpha-h-box:before{content:"󰬏"}.mdi-alpha-h-box-outline:before{content:"󰰀"}.mdi-alpha-h-circle:before{content:"󰰁"}.mdi-alpha-h-circle-outline:before{content:"󰰂"}.mdi-alpha-i:before{content:"󰫶"}.mdi-alpha-i-box:before{content:"󰬐"}.mdi-alpha-i-box-outline:before{content:"󰰃"}.mdi-alpha-i-circle:before{content:"󰰄"}.mdi-alpha-i-circle-outline:before{content:"󰰅"}.mdi-alpha-j:before{content:"󰫷"}.mdi-alpha-j-box:before{content:"󰬑"}.mdi-alpha-j-box-outline:before{content:"󰰆"}.mdi-alpha-j-circle:before{content:"󰰇"}.mdi-alpha-j-circle-outline:before{content:"󰰈"}.mdi-alpha-k:before{content:"󰫸"}.mdi-alpha-k-box:before{content:"󰬒"}.mdi-alpha-k-box-outline:before{content:"󰰉"}.mdi-alpha-k-circle:before{content:"󰰊"}.mdi-alpha-k-circle-outline:before{content:"󰰋"}.mdi-alpha-l:before{content:"󰫹"}.mdi-alpha-l-box:before{content:"󰬓"}.mdi-alpha-l-box-outline:before{content:"󰰌"}.mdi-alpha-l-circle:before{content:"󰰍"}.mdi-alpha-l-circle-outline:before{content:"󰰎"}.mdi-alpha-m:before{content:"󰫺"}.mdi-alpha-m-box:before{content:"󰬔"}.mdi-alpha-m-box-outline:before{content:"󰰏"}.mdi-alpha-m-circle:before{content:"󰰐"}.mdi-alpha-m-circle-outline:before{content:"󰰑"}.mdi-alpha-n:before{content:"󰫻"}.mdi-alpha-n-box:before{content:"󰬕"}.mdi-alpha-n-box-outline:before{content:"󰰒"}.mdi-alpha-n-circle:before{content:"󰰓"}.mdi-alpha-n-circle-outline:before{content:"󰰔"}.mdi-alpha-o:before{content:"󰫼"}.mdi-alpha-o-box:before{content:"󰬖"}.mdi-alpha-o-box-outline:before{content:"󰰕"}.mdi-alpha-o-circle:before{content:"󰰖"}.mdi-alpha-o-circle-outline:before{content:"󰰗"}.mdi-alpha-p:before{content:"󰫽"}.mdi-alpha-p-box:before{content:"󰬗"}.mdi-alpha-p-box-outline:before{content:"󰰘"}.mdi-alpha-p-circle:before{content:"󰰙"}.mdi-alpha-p-circle-outline:before{content:"󰰚"}.mdi-alpha-q:before{content:"󰫾"}.mdi-alpha-q-box:before{content:"󰬘"}.mdi-alpha-q-box-outline:before{content:"󰰛"}.mdi-alpha-q-circle:before{content:"󰰜"}.mdi-alpha-q-circle-outline:before{content:"󰰝"}.mdi-alpha-r:before{content:"󰫿"}.mdi-alpha-r-box:before{content:"󰬙"}.mdi-alpha-r-box-outline:before{content:"󰰞"}.mdi-alpha-r-circle:before{content:"󰰟"}.mdi-alpha-r-circle-outline:before{content:"󰰠"}.mdi-alpha-s:before{content:"󰬀"}.mdi-alpha-s-box:before{content:"󰬚"}.mdi-alpha-s-box-outline:before{content:"󰰡"}.mdi-alpha-s-circle:before{content:"󰰢"}.mdi-alpha-s-circle-outline:before{content:"󰰣"}.mdi-alpha-t:before{content:"󰬁"}.mdi-alpha-t-box:before{content:"󰬛"}.mdi-alpha-t-box-outline:before{content:"󰰤"}.mdi-alpha-t-circle:before{content:"󰰥"}.mdi-alpha-t-circle-outline:before{content:"󰰦"}.mdi-alpha-u:before{content:"󰬂"}.mdi-alpha-u-box:before{content:"󰬜"}.mdi-alpha-u-box-outline:before{content:"󰰧"}.mdi-alpha-u-circle:before{content:"󰰨"}.mdi-alpha-u-circle-outline:before{content:"󰰩"}.mdi-alpha-v:before{content:"󰬃"}.mdi-alpha-v-box:before{content:"󰬝"}.mdi-alpha-v-box-outline:before{content:"󰰪"}.mdi-alpha-v-circle:before{content:"󰰫"}.mdi-alpha-v-circle-outline:before{content:"󰰬"}.mdi-alpha-w:before{content:"󰬄"}.mdi-alpha-w-box:before{content:"󰬞"}.mdi-alpha-w-box-outline:before{content:"󰰭"}.mdi-alpha-w-circle:before{content:"󰰮"}.mdi-alpha-w-circle-outline:before{content:"󰰯"}.mdi-alpha-x:before{content:"󰬅"}.mdi-alpha-x-box:before{content:"󰬟"}.mdi-alpha-x-box-outline:before{content:"󰰰"}.mdi-alpha-x-circle:before{content:"󰰱"}.mdi-alpha-x-circle-outline:before{content:"󰰲"}.mdi-alpha-y:before{content:"󰬆"}.mdi-alpha-y-box:before{content:"󰬠"}.mdi-alpha-y-box-outline:before{content:"󰰳"}.mdi-alpha-y-circle:before{content:"󰰴"}.mdi-alpha-y-circle-outline:before{content:"󰰵"}.mdi-alpha-z:before{content:"󰬇"}.mdi-alpha-z-box:before{content:"󰬡"}.mdi-alpha-z-box-outline:before{content:"󰰶"}.mdi-alpha-z-circle:before{content:"󰰷"}.mdi-alpha-z-circle-outline:before{content:"󰰸"}.mdi-alphabet-aurebesh:before{content:"󱌬"}.mdi-alphabet-cyrillic:before{content:"󱌭"}.mdi-alphabet-greek:before{content:"󱌮"}.mdi-alphabet-latin:before{content:"󱌯"}.mdi-alphabet-piqad:before{content:"󱌰"}.mdi-alphabet-tengwar:before{content:"󱌷"}.mdi-alphabetical:before{content:"󰀬"}.mdi-alphabetical-off:before{content:"󱀌"}.mdi-alphabetical-variant:before{content:"󱀍"}.mdi-alphabetical-variant-off:before{content:"󱀎"}.mdi-altimeter:before{content:"󰗗"}.mdi-ambulance:before{content:"󰀯"}.mdi-ammunition:before{content:"󰳨"}.mdi-ampersand:before{content:"󰪍"}.mdi-amplifier:before{content:"󰀰"}.mdi-amplifier-off:before{content:"󱆵"}.mdi-anchor:before{content:"󰀱"}.mdi-android:before{content:"󰀲"}.mdi-android-studio:before{content:"󰀴"}.mdi-angle-acute:before{content:"󰤷"}.mdi-angle-obtuse:before{content:"󰤸"}.mdi-angle-right:before{content:"󰤹"}.mdi-angular:before{content:"󰚲"}.mdi-angularjs:before{content:"󰚿"}.mdi-animation:before{content:"󰗘"}.mdi-animation-outline:before{content:"󰪏"}.mdi-animation-play:before{content:"󰤺"}.mdi-animation-play-outline:before{content:"󰪐"}.mdi-ansible:before{content:"󱂚"}.mdi-antenna:before{content:"󱄙"}.mdi-anvil:before{content:"󰢛"}.mdi-apache-kafka:before{content:"󱀏"}.mdi-api:before{content:"󱂛"}.mdi-api-off:before{content:"󱉗"}.mdi-apple:before{content:"󰀵"}.mdi-apple-finder:before{content:"󰀶"}.mdi-apple-icloud:before{content:"󰀸"}.mdi-apple-ios:before{content:"󰀷"}.mdi-apple-keyboard-caps:before{content:"󰘲"}.mdi-apple-keyboard-command:before{content:"󰘳"}.mdi-apple-keyboard-control:before{content:"󰘴"}.mdi-apple-keyboard-option:before{content:"󰘵"}.mdi-apple-keyboard-shift:before{content:"󰘶"}.mdi-apple-safari:before{content:"󰀹"}.mdi-application:before{content:"󰣆"}.mdi-application-array:before{content:"󱃵"}.mdi-application-array-outline:before{content:"󱃶"}.mdi-application-braces:before{content:"󱃷"}.mdi-application-braces-outline:before{content:"󱃸"}.mdi-application-brackets:before{content:"󰲋"}.mdi-application-brackets-outline:before{content:"󰲌"}.mdi-application-cog:before{content:"󰙵"}.mdi-application-cog-outline:before{content:"󱕷"}.mdi-application-edit:before{content:"󰂮"}.mdi-application-edit-outline:before{content:"󰘙"}.mdi-application-export:before{content:"󰶭"}.mdi-application-import:before{content:"󰶮"}.mdi-application-outline:before{content:"󰘔"}.mdi-application-parentheses:before{content:"󱃹"}.mdi-application-parentheses-outline:before{content:"󱃺"}.mdi-application-settings:before{content:"󰭠"}.mdi-application-settings-outline:before{content:"󱕕"}.mdi-application-variable:before{content:"󱃻"}.mdi-application-variable-outline:before{content:"󱃼"}.mdi-approximately-equal:before{content:"󰾞"}.mdi-approximately-equal-box:before{content:"󰾟"}.mdi-apps:before{content:"󰀻"}.mdi-apps-box:before{content:"󰵆"}.mdi-arch:before{content:"󰣇"}.mdi-archive:before{content:"󰀼"}.mdi-archive-alert:before{content:"󱓽"}.mdi-archive-alert-outline:before{content:"󱓾"}.mdi-archive-arrow-down:before{content:"󱉙"}.mdi-archive-arrow-down-outline:before{content:"󱉚"}.mdi-archive-arrow-up:before{content:"󱉛"}.mdi-archive-arrow-up-outline:before{content:"󱉜"}.mdi-archive-cancel:before{content:"󱝋"}.mdi-archive-cancel-outline:before{content:"󱝌"}.mdi-archive-check:before{content:"󱝍"}.mdi-archive-check-outline:before{content:"󱝎"}.mdi-archive-clock:before{content:"󱝏"}.mdi-archive-clock-outline:before{content:"󱝐"}.mdi-archive-cog:before{content:"󱝑"}.mdi-archive-cog-outline:before{content:"󱝒"}.mdi-archive-edit:before{content:"󱝓"}.mdi-archive-edit-outline:before{content:"󱝔"}.mdi-archive-eye:before{content:"󱝕"}.mdi-archive-eye-outline:before{content:"󱝖"}.mdi-archive-lock:before{content:"󱝗"}.mdi-archive-lock-open:before{content:"󱝘"}.mdi-archive-lock-open-outline:before{content:"󱝙"}.mdi-archive-lock-outline:before{content:"󱝚"}.mdi-archive-marker:before{content:"󱝛"}.mdi-archive-marker-outline:before{content:"󱝜"}.mdi-archive-minus:before{content:"󱝝"}.mdi-archive-minus-outline:before{content:"󱝞"}.mdi-archive-music:before{content:"󱝟"}.mdi-archive-music-outline:before{content:"󱝠"}.mdi-archive-off:before{content:"󱝡"}.mdi-archive-off-outline:before{content:"󱝢"}.mdi-archive-outline:before{content:"󱈎"}.mdi-archive-plus:before{content:"󱝣"}.mdi-archive-plus-outline:before{content:"󱝤"}.mdi-archive-refresh:before{content:"󱝥"}.mdi-archive-refresh-outline:before{content:"󱝦"}.mdi-archive-remove:before{content:"󱝧"}.mdi-archive-remove-outline:before{content:"󱝨"}.mdi-archive-search:before{content:"󱝩"}.mdi-archive-search-outline:before{content:"󱝪"}.mdi-archive-settings:before{content:"󱝫"}.mdi-archive-settings-outline:before{content:"󱝬"}.mdi-archive-star:before{content:"󱝭"}.mdi-archive-star-outline:before{content:"󱝮"}.mdi-archive-sync:before{content:"󱝯"}.mdi-archive-sync-outline:before{content:"󱝰"}.mdi-arm-flex:before{content:"󰿗"}.mdi-arm-flex-outline:before{content:"󰿖"}.mdi-arrange-bring-forward:before{content:"󰀽"}.mdi-arrange-bring-to-front:before{content:"󰀾"}.mdi-arrange-send-backward:before{content:"󰀿"}.mdi-arrange-send-to-back:before{content:"󰁀"}.mdi-arrow-all:before{content:"󰁁"}.mdi-arrow-bottom-left:before{content:"󰁂"}.mdi-arrow-bottom-left-bold-box:before{content:"󱥤"}.mdi-arrow-bottom-left-bold-box-outline:before{content:"󱥥"}.mdi-arrow-bottom-left-bold-outline:before{content:"󰦷"}.mdi-arrow-bottom-left-thick:before{content:"󰦸"}.mdi-arrow-bottom-left-thin:before{content:"󱦶"}.mdi-arrow-bottom-left-thin-circle-outline:before{content:"󱖖"}.mdi-arrow-bottom-right:before{content:"󰁃"}.mdi-arrow-bottom-right-bold-box:before{content:"󱥦"}.mdi-arrow-bottom-right-bold-box-outline:before{content:"󱥧"}.mdi-arrow-bottom-right-bold-outline:before{content:"󰦹"}.mdi-arrow-bottom-right-thick:before{content:"󰦺"}.mdi-arrow-bottom-right-thin:before{content:"󱦷"}.mdi-arrow-bottom-right-thin-circle-outline:before{content:"󱖕"}.mdi-arrow-collapse:before{content:"󰘕"}.mdi-arrow-collapse-all:before{content:"󰁄"}.mdi-arrow-collapse-down:before{content:"󰞒"}.mdi-arrow-collapse-horizontal:before{content:"󰡌"}.mdi-arrow-collapse-left:before{content:"󰞓"}.mdi-arrow-collapse-right:before{content:"󰞔"}.mdi-arrow-collapse-up:before{content:"󰞕"}.mdi-arrow-collapse-vertical:before{content:"󰡍"}.mdi-arrow-decision:before{content:"󰦻"}.mdi-arrow-decision-auto:before{content:"󰦼"}.mdi-arrow-decision-auto-outline:before{content:"󰦽"}.mdi-arrow-decision-outline:before{content:"󰦾"}.mdi-arrow-down:before{content:"󰁅"}.mdi-arrow-down-bold:before{content:"󰜮"}.mdi-arrow-down-bold-box:before{content:"󰜯"}.mdi-arrow-down-bold-box-outline:before{content:"󰜰"}.mdi-arrow-down-bold-circle:before{content:"󰁇"}.mdi-arrow-down-bold-circle-outline:before{content:"󰁈"}.mdi-arrow-down-bold-hexagon-outline:before{content:"󰁉"}.mdi-arrow-down-bold-outline:before{content:"󰦿"}.mdi-arrow-down-box:before{content:"󰛀"}.mdi-arrow-down-circle:before{content:"󰳛"}.mdi-arrow-down-circle-outline:before{content:"󰳜"}.mdi-arrow-down-drop-circle:before{content:"󰁊"}.mdi-arrow-down-drop-circle-outline:before{content:"󰁋"}.mdi-arrow-down-left:before{content:"󱞡"}.mdi-arrow-down-left-bold:before{content:"󱞢"}.mdi-arrow-down-right:before{content:"󱞣"}.mdi-arrow-down-right-bold:before{content:"󱞤"}.mdi-arrow-down-thick:before{content:"󰁆"}.mdi-arrow-down-thin:before{content:"󱦳"}.mdi-arrow-down-thin-circle-outline:before{content:"󱖙"}.mdi-arrow-expand:before{content:"󰘖"}.mdi-arrow-expand-all:before{content:"󰁌"}.mdi-arrow-expand-down:before{content:"󰞖"}.mdi-arrow-expand-horizontal:before{content:"󰡎"}.mdi-arrow-expand-left:before{content:"󰞗"}.mdi-arrow-expand-right:before{content:"󰞘"}.mdi-arrow-expand-up:before{content:"󰞙"}.mdi-arrow-expand-vertical:before{content:"󰡏"}.mdi-arrow-horizontal-lock:before{content:"󱅛"}.mdi-arrow-left:before{content:"󰁍"}.mdi-arrow-left-bold:before{content:"󰜱"}.mdi-arrow-left-bold-box:before{content:"󰜲"}.mdi-arrow-left-bold-box-outline:before{content:"󰜳"}.mdi-arrow-left-bold-circle:before{content:"󰁏"}.mdi-arrow-left-bold-circle-outline:before{content:"󰁐"}.mdi-arrow-left-bold-hexagon-outline:before{content:"󰁑"}.mdi-arrow-left-bold-outline:before{content:"󰧀"}.mdi-arrow-left-bottom:before{content:"󱞥"}.mdi-arrow-left-bottom-bold:before{content:"󱞦"}.mdi-arrow-left-box:before{content:"󰛁"}.mdi-arrow-left-circle:before{content:"󰳝"}.mdi-arrow-left-circle-outline:before{content:"󰳞"}.mdi-arrow-left-drop-circle:before{content:"󰁒"}.mdi-arrow-left-drop-circle-outline:before{content:"󰁓"}.mdi-arrow-left-right:before{content:"󰹳"}.mdi-arrow-left-right-bold:before{content:"󰹴"}.mdi-arrow-left-right-bold-outline:before{content:"󰧁"}.mdi-arrow-left-thick:before{content:"󰁎"}.mdi-arrow-left-thin:before{content:"󱦱"}.mdi-arrow-left-thin-circle-outline:before{content:"󱖚"}.mdi-arrow-left-top:before{content:"󱞧"}.mdi-arrow-left-top-bold:before{content:"󱞨"}.mdi-arrow-projectile:before{content:"󱡀"}.mdi-arrow-projectile-multiple:before{content:"󱠿"}.mdi-arrow-right:before{content:"󰁔"}.mdi-arrow-right-bold:before{content:"󰜴"}.mdi-arrow-right-bold-box:before{content:"󰜵"}.mdi-arrow-right-bold-box-outline:before{content:"󰜶"}.mdi-arrow-right-bold-circle:before{content:"󰁖"}.mdi-arrow-right-bold-circle-outline:before{content:"󰁗"}.mdi-arrow-right-bold-hexagon-outline:before{content:"󰁘"}.mdi-arrow-right-bold-outline:before{content:"󰧂"}.mdi-arrow-right-bottom:before{content:"󱞩"}.mdi-arrow-right-bottom-bold:before{content:"󱞪"}.mdi-arrow-right-box:before{content:"󰛂"}.mdi-arrow-right-circle:before{content:"󰳟"}.mdi-arrow-right-circle-outline:before{content:"󰳠"}.mdi-arrow-right-drop-circle:before{content:"󰁙"}.mdi-arrow-right-drop-circle-outline:before{content:"󰁚"}.mdi-arrow-right-thick:before{content:"󰁕"}.mdi-arrow-right-thin:before{content:"󱦰"}.mdi-arrow-right-thin-circle-outline:before{content:"󱖘"}.mdi-arrow-right-top:before{content:"󱞫"}.mdi-arrow-right-top-bold:before{content:"󱞬"}.mdi-arrow-split-horizontal:before{content:"󰤻"}.mdi-arrow-split-vertical:before{content:"󰤼"}.mdi-arrow-top-left:before{content:"󰁛"}.mdi-arrow-top-left-bold-box:before{content:"󱥨"}.mdi-arrow-top-left-bold-box-outline:before{content:"󱥩"}.mdi-arrow-top-left-bold-outline:before{content:"󰧃"}.mdi-arrow-top-left-bottom-right:before{content:"󰹵"}.mdi-arrow-top-left-bottom-right-bold:before{content:"󰹶"}.mdi-arrow-top-left-thick:before{content:"󰧄"}.mdi-arrow-top-left-thin:before{content:"󱦵"}.mdi-arrow-top-left-thin-circle-outline:before{content:"󱖓"}.mdi-arrow-top-right:before{content:"󰁜"}.mdi-arrow-top-right-bold-box:before{content:"󱥪"}.mdi-arrow-top-right-bold-box-outline:before{content:"󱥫"}.mdi-arrow-top-right-bold-outline:before{content:"󰧅"}.mdi-arrow-top-right-bottom-left:before{content:"󰹷"}.mdi-arrow-top-right-bottom-left-bold:before{content:"󰹸"}.mdi-arrow-top-right-thick:before{content:"󰧆"}.mdi-arrow-top-right-thin:before{content:"󱦴"}.mdi-arrow-top-right-thin-circle-outline:before{content:"󱖔"}.mdi-arrow-u-down-left:before{content:"󱞭"}.mdi-arrow-u-down-left-bold:before{content:"󱞮"}.mdi-arrow-u-down-right:before{content:"󱞯"}.mdi-arrow-u-down-right-bold:before{content:"󱞰"}.mdi-arrow-u-left-bottom:before{content:"󱞱"}.mdi-arrow-u-left-bottom-bold:before{content:"󱞲"}.mdi-arrow-u-left-top:before{content:"󱞳"}.mdi-arrow-u-left-top-bold:before{content:"󱞴"}.mdi-arrow-u-right-bottom:before{content:"󱞵"}.mdi-arrow-u-right-bottom-bold:before{content:"󱞶"}.mdi-arrow-u-right-top:before{content:"󱞷"}.mdi-arrow-u-right-top-bold:before{content:"󱞸"}.mdi-arrow-u-up-left:before{content:"󱞹"}.mdi-arrow-u-up-left-bold:before{content:"󱞺"}.mdi-arrow-u-up-right:before{content:"󱞻"}.mdi-arrow-u-up-right-bold:before{content:"󱞼"}.mdi-arrow-up:before{content:"󰁝"}.mdi-arrow-up-bold:before{content:"󰜷"}.mdi-arrow-up-bold-box:before{content:"󰜸"}.mdi-arrow-up-bold-box-outline:before{content:"󰜹"}.mdi-arrow-up-bold-circle:before{content:"󰁟"}.mdi-arrow-up-bold-circle-outline:before{content:"󰁠"}.mdi-arrow-up-bold-hexagon-outline:before{content:"󰁡"}.mdi-arrow-up-bold-outline:before{content:"󰧇"}.mdi-arrow-up-box:before{content:"󰛃"}.mdi-arrow-up-circle:before{content:"󰳡"}.mdi-arrow-up-circle-outline:before{content:"󰳢"}.mdi-arrow-up-down:before{content:"󰹹"}.mdi-arrow-up-down-bold:before{content:"󰹺"}.mdi-arrow-up-down-bold-outline:before{content:"󰧈"}.mdi-arrow-up-drop-circle:before{content:"󰁢"}.mdi-arrow-up-drop-circle-outline:before{content:"󰁣"}.mdi-arrow-up-left:before{content:"󱞽"}.mdi-arrow-up-left-bold:before{content:"󱞾"}.mdi-arrow-up-right:before{content:"󱞿"}.mdi-arrow-up-right-bold:before{content:"󱟀"}.mdi-arrow-up-thick:before{content:"󰁞"}.mdi-arrow-up-thin:before{content:"󱦲"}.mdi-arrow-up-thin-circle-outline:before{content:"󱖗"}.mdi-arrow-vertical-lock:before{content:"󱅜"}.mdi-artboard:before{content:"󱮚"}.mdi-artstation:before{content:"󰭛"}.mdi-aspect-ratio:before{content:"󰨤"}.mdi-assistant:before{content:"󰁤"}.mdi-asterisk:before{content:"󰛄"}.mdi-asterisk-circle-outline:before{content:"󱨧"}.mdi-at:before{content:"󰁥"}.mdi-atlassian:before{content:"󰠄"}.mdi-atm:before{content:"󰵇"}.mdi-atom:before{content:"󰝨"}.mdi-atom-variant:before{content:"󰹻"}.mdi-attachment:before{content:"󰁦"}.mdi-attachment-check:before{content:"󱫁"}.mdi-attachment-lock:before{content:"󱧄"}.mdi-attachment-minus:before{content:"󱫂"}.mdi-attachment-off:before{content:"󱫃"}.mdi-attachment-plus:before{content:"󱫄"}.mdi-attachment-remove:before{content:"󱫅"}.mdi-atv:before{content:"󱭰"}.mdi-audio-input-rca:before{content:"󱡫"}.mdi-audio-input-stereo-minijack:before{content:"󱡬"}.mdi-audio-input-xlr:before{content:"󱡭"}.mdi-audio-video:before{content:"󰤽"}.mdi-audio-video-off:before{content:"󱆶"}.mdi-augmented-reality:before{content:"󰡐"}.mdi-aurora:before{content:"󱮹"}.mdi-auto-download:before{content:"󱍾"}.mdi-auto-fix:before{content:"󰁨"}.mdi-auto-mode:before{content:"󱰠"}.mdi-auto-upload:before{content:"󰁩"}.mdi-autorenew:before{content:"󰁪"}.mdi-autorenew-off:before{content:"󱧧"}.mdi-av-timer:before{content:"󰁫"}.mdi-awning:before{content:"󱮇"}.mdi-awning-outline:before{content:"󱮈"}.mdi-aws:before{content:"󰸏"}.mdi-axe:before{content:"󰣈"}.mdi-axe-battle:before{content:"󱡂"}.mdi-axis:before{content:"󰵈"}.mdi-axis-arrow:before{content:"󰵉"}.mdi-axis-arrow-info:before{content:"󱐎"}.mdi-axis-arrow-lock:before{content:"󰵊"}.mdi-axis-lock:before{content:"󰵋"}.mdi-axis-x-arrow:before{content:"󰵌"}.mdi-axis-x-arrow-lock:before{content:"󰵍"}.mdi-axis-x-rotate-clockwise:before{content:"󰵎"}.mdi-axis-x-rotate-counterclockwise:before{content:"󰵏"}.mdi-axis-x-y-arrow-lock:before{content:"󰵐"}.mdi-axis-y-arrow:before{content:"󰵑"}.mdi-axis-y-arrow-lock:before{content:"󰵒"}.mdi-axis-y-rotate-clockwise:before{content:"󰵓"}.mdi-axis-y-rotate-counterclockwise:before{content:"󰵔"}.mdi-axis-z-arrow:before{content:"󰵕"}.mdi-axis-z-arrow-lock:before{content:"󰵖"}.mdi-axis-z-rotate-clockwise:before{content:"󰵗"}.mdi-axis-z-rotate-counterclockwise:before{content:"󰵘"}.mdi-babel:before{content:"󰨥"}.mdi-baby:before{content:"󰁬"}.mdi-baby-bottle:before{content:"󰼹"}.mdi-baby-bottle-outline:before{content:"󰼺"}.mdi-baby-buggy:before{content:"󱏠"}.mdi-baby-buggy-off:before{content:"󱫳"}.mdi-baby-carriage:before{content:"󰚏"}.mdi-baby-carriage-off:before{content:"󰾠"}.mdi-baby-face:before{content:"󰹼"}.mdi-baby-face-outline:before{content:"󰹽"}.mdi-backburger:before{content:"󰁭"}.mdi-backspace:before{content:"󰁮"}.mdi-backspace-outline:before{content:"󰭜"}.mdi-backspace-reverse:before{content:"󰹾"}.mdi-backspace-reverse-outline:before{content:"󰹿"}.mdi-backup-restore:before{content:"󰁯"}.mdi-bacteria:before{content:"󰻕"}.mdi-bacteria-outline:before{content:"󰻖"}.mdi-badge-account:before{content:"󰶧"}.mdi-badge-account-alert:before{content:"󰶨"}.mdi-badge-account-alert-outline:before{content:"󰶩"}.mdi-badge-account-horizontal:before{content:"󰸍"}.mdi-badge-account-horizontal-outline:before{content:"󰸎"}.mdi-badge-account-outline:before{content:"󰶪"}.mdi-badminton:before{content:"󰡑"}.mdi-bag-carry-on:before{content:"󰼻"}.mdi-bag-carry-on-check:before{content:"󰵥"}.mdi-bag-carry-on-off:before{content:"󰼼"}.mdi-bag-checked:before{content:"󰼽"}.mdi-bag-personal:before{content:"󰸐"}.mdi-bag-personal-off:before{content:"󰸑"}.mdi-bag-personal-off-outline:before{content:"󰸒"}.mdi-bag-personal-outline:before{content:"󰸓"}.mdi-bag-personal-tag:before{content:"󱬌"}.mdi-bag-personal-tag-outline:before{content:"󱬍"}.mdi-bag-suitcase:before{content:"󱖋"}.mdi-bag-suitcase-off:before{content:"󱖍"}.mdi-bag-suitcase-off-outline:before{content:"󱖎"}.mdi-bag-suitcase-outline:before{content:"󱖌"}.mdi-baguette:before{content:"󰼾"}.mdi-balcony:before{content:"󱠗"}.mdi-balloon:before{content:"󰨦"}.mdi-ballot:before{content:"󰧉"}.mdi-ballot-outline:before{content:"󰧊"}.mdi-ballot-recount:before{content:"󰰹"}.mdi-ballot-recount-outline:before{content:"󰰺"}.mdi-bandage:before{content:"󰶯"}.mdi-bank:before{content:"󰁰"}.mdi-bank-check:before{content:"󱙕"}.mdi-bank-circle:before{content:"󱰃"}.mdi-bank-circle-outline:before{content:"󱰄"}.mdi-bank-minus:before{content:"󰶰"}.mdi-bank-off:before{content:"󱙖"}.mdi-bank-off-outline:before{content:"󱙗"}.mdi-bank-outline:before{content:"󰺀"}.mdi-bank-plus:before{content:"󰶱"}.mdi-bank-remove:before{content:"󰶲"}.mdi-bank-transfer:before{content:"󰨧"}.mdi-bank-transfer-in:before{content:"󰨨"}.mdi-bank-transfer-out:before{content:"󰨩"}.mdi-barcode:before{content:"󰁱"}.mdi-barcode-off:before{content:"󱈶"}.mdi-barcode-scan:before{content:"󰁲"}.mdi-barley:before{content:"󰁳"}.mdi-barley-off:before{content:"󰭝"}.mdi-barn:before{content:"󰭞"}.mdi-barrel:before{content:"󰁴"}.mdi-barrel-outline:before{content:"󱨨"}.mdi-baseball:before{content:"󰡒"}.mdi-baseball-bat:before{content:"󰡓"}.mdi-baseball-diamond:before{content:"󱗬"}.mdi-baseball-diamond-outline:before{content:"󱗭"}.mdi-baseball-outline:before{content:"󱱚"}.mdi-bash:before{content:"󱆃"}.mdi-basket:before{content:"󰁶"}.mdi-basket-check:before{content:"󱣥"}.mdi-basket-check-outline:before{content:"󱣦"}.mdi-basket-fill:before{content:"󰁷"}.mdi-basket-minus:before{content:"󱔣"}.mdi-basket-minus-outline:before{content:"󱔤"}.mdi-basket-off:before{content:"󱔥"}.mdi-basket-off-outline:before{content:"󱔦"}.mdi-basket-outline:before{content:"󱆁"}.mdi-basket-plus:before{content:"󱔧"}.mdi-basket-plus-outline:before{content:"󱔨"}.mdi-basket-remove:before{content:"󱔩"}.mdi-basket-remove-outline:before{content:"󱔪"}.mdi-basket-unfill:before{content:"󰁸"}.mdi-basketball:before{content:"󰠆"}.mdi-basketball-hoop:before{content:"󰰻"}.mdi-basketball-hoop-outline:before{content:"󰰼"}.mdi-bat:before{content:"󰭟"}.mdi-bathtub:before{content:"󱠘"}.mdi-bathtub-outline:before{content:"󱠙"}.mdi-battery:before{content:"󰁹"}.mdi-battery-10:before{content:"󰁺"}.mdi-battery-10-bluetooth:before{content:"󰤾"}.mdi-battery-20:before{content:"󰁻"}.mdi-battery-20-bluetooth:before{content:"󰤿"}.mdi-battery-30:before{content:"󰁼"}.mdi-battery-30-bluetooth:before{content:"󰥀"}.mdi-battery-40:before{content:"󰁽"}.mdi-battery-40-bluetooth:before{content:"󰥁"}.mdi-battery-50:before{content:"󰁾"}.mdi-battery-50-bluetooth:before{content:"󰥂"}.mdi-battery-60:before{content:"󰁿"}.mdi-battery-60-bluetooth:before{content:"󰥃"}.mdi-battery-70:before{content:"󰂀"}.mdi-battery-70-bluetooth:before{content:"󰥄"}.mdi-battery-80:before{content:"󰂁"}.mdi-battery-80-bluetooth:before{content:"󰥅"}.mdi-battery-90:before{content:"󰂂"}.mdi-battery-90-bluetooth:before{content:"󰥆"}.mdi-battery-alert:before{content:"󰂃"}.mdi-battery-alert-bluetooth:before{content:"󰥇"}.mdi-battery-alert-variant:before{content:"󱃌"}.mdi-battery-alert-variant-outline:before{content:"󱃍"}.mdi-battery-arrow-down:before{content:"󱟞"}.mdi-battery-arrow-down-outline:before{content:"󱟟"}.mdi-battery-arrow-up:before{content:"󱟠"}.mdi-battery-arrow-up-outline:before{content:"󱟡"}.mdi-battery-bluetooth:before{content:"󰥈"}.mdi-battery-bluetooth-variant:before{content:"󰥉"}.mdi-battery-charging:before{content:"󰂄"}.mdi-battery-charging-10:before{content:"󰢜"}.mdi-battery-charging-100:before{content:"󰂅"}.mdi-battery-charging-20:before{content:"󰂆"}.mdi-battery-charging-30:before{content:"󰂇"}.mdi-battery-charging-40:before{content:"󰂈"}.mdi-battery-charging-50:before{content:"󰢝"}.mdi-battery-charging-60:before{content:"󰂉"}.mdi-battery-charging-70:before{content:"󰢞"}.mdi-battery-charging-80:before{content:"󰂊"}.mdi-battery-charging-90:before{content:"󰂋"}.mdi-battery-charging-high:before{content:"󱊦"}.mdi-battery-charging-low:before{content:"󱊤"}.mdi-battery-charging-medium:before{content:"󱊥"}.mdi-battery-charging-outline:before{content:"󰢟"}.mdi-battery-charging-wireless:before{content:"󰠇"}.mdi-battery-charging-wireless-10:before{content:"󰠈"}.mdi-battery-charging-wireless-20:before{content:"󰠉"}.mdi-battery-charging-wireless-30:before{content:"󰠊"}.mdi-battery-charging-wireless-40:before{content:"󰠋"}.mdi-battery-charging-wireless-50:before{content:"󰠌"}.mdi-battery-charging-wireless-60:before{content:"󰠍"}.mdi-battery-charging-wireless-70:before{content:"󰠎"}.mdi-battery-charging-wireless-80:before{content:"󰠏"}.mdi-battery-charging-wireless-90:before{content:"󰠐"}.mdi-battery-charging-wireless-alert:before{content:"󰠑"}.mdi-battery-charging-wireless-outline:before{content:"󰠒"}.mdi-battery-check:before{content:"󱟢"}.mdi-battery-check-outline:before{content:"󱟣"}.mdi-battery-clock:before{content:"󱧥"}.mdi-battery-clock-outline:before{content:"󱧦"}.mdi-battery-heart:before{content:"󱈏"}.mdi-battery-heart-outline:before{content:"󱈐"}.mdi-battery-heart-variant:before{content:"󱈑"}.mdi-battery-high:before{content:"󱊣"}.mdi-battery-lock:before{content:"󱞜"}.mdi-battery-lock-open:before{content:"󱞝"}.mdi-battery-low:before{content:"󱊡"}.mdi-battery-medium:before{content:"󱊢"}.mdi-battery-minus:before{content:"󱟤"}.mdi-battery-minus-outline:before{content:"󱟥"}.mdi-battery-minus-variant:before{content:"󰂌"}.mdi-battery-negative:before{content:"󰂍"}.mdi-battery-off:before{content:"󱉝"}.mdi-battery-off-outline:before{content:"󱉞"}.mdi-battery-outline:before{content:"󰂎"}.mdi-battery-plus:before{content:"󱟦"}.mdi-battery-plus-outline:before{content:"󱟧"}.mdi-battery-plus-variant:before{content:"󰂏"}.mdi-battery-positive:before{content:"󰂐"}.mdi-battery-remove:before{content:"󱟨"}.mdi-battery-remove-outline:before{content:"󱟩"}.mdi-battery-sync:before{content:"󱠴"}.mdi-battery-sync-outline:before{content:"󱠵"}.mdi-battery-unknown:before{content:"󰂑"}.mdi-battery-unknown-bluetooth:before{content:"󰥊"}.mdi-beach:before{content:"󰂒"}.mdi-beaker:before{content:"󰳪"}.mdi-beaker-alert:before{content:"󱈩"}.mdi-beaker-alert-outline:before{content:"󱈪"}.mdi-beaker-check:before{content:"󱈫"}.mdi-beaker-check-outline:before{content:"󱈬"}.mdi-beaker-minus:before{content:"󱈭"}.mdi-beaker-minus-outline:before{content:"󱈮"}.mdi-beaker-outline:before{content:"󰚐"}.mdi-beaker-plus:before{content:"󱈯"}.mdi-beaker-plus-outline:before{content:"󱈰"}.mdi-beaker-question:before{content:"󱈱"}.mdi-beaker-question-outline:before{content:"󱈲"}.mdi-beaker-remove:before{content:"󱈳"}.mdi-beaker-remove-outline:before{content:"󱈴"}.mdi-bed:before{content:"󰋣"}.mdi-bed-clock:before{content:"󱮔"}.mdi-bed-double:before{content:"󰿔"}.mdi-bed-double-outline:before{content:"󰿓"}.mdi-bed-empty:before{content:"󰢠"}.mdi-bed-king:before{content:"󰿒"}.mdi-bed-king-outline:before{content:"󰿑"}.mdi-bed-outline:before{content:"󰂙"}.mdi-bed-queen:before{content:"󰿐"}.mdi-bed-queen-outline:before{content:"󰿛"}.mdi-bed-single:before{content:"󱁭"}.mdi-bed-single-outline:before{content:"󱁮"}.mdi-bee:before{content:"󰾡"}.mdi-bee-flower:before{content:"󰾢"}.mdi-beehive-off-outline:before{content:"󱏭"}.mdi-beehive-outline:before{content:"󱃎"}.mdi-beekeeper:before{content:"󱓢"}.mdi-beer:before{content:"󰂘"}.mdi-beer-outline:before{content:"󱌌"}.mdi-bell:before{content:"󰂚"}.mdi-bell-alert:before{content:"󰵙"}.mdi-bell-alert-outline:before{content:"󰺁"}.mdi-bell-badge:before{content:"󱅫"}.mdi-bell-badge-outline:before{content:"󰅸"}.mdi-bell-cancel:before{content:"󱏧"}.mdi-bell-cancel-outline:before{content:"󱏨"}.mdi-bell-check:before{content:"󱇥"}.mdi-bell-check-outline:before{content:"󱇦"}.mdi-bell-circle:before{content:"󰵚"}.mdi-bell-circle-outline:before{content:"󰵛"}.mdi-bell-cog:before{content:"󱨩"}.mdi-bell-cog-outline:before{content:"󱨪"}.mdi-bell-minus:before{content:"󱏩"}.mdi-bell-minus-outline:before{content:"󱏪"}.mdi-bell-off:before{content:"󰂛"}.mdi-bell-off-outline:before{content:"󰪑"}.mdi-bell-outline:before{content:"󰂜"}.mdi-bell-plus:before{content:"󰂝"}.mdi-bell-plus-outline:before{content:"󰪒"}.mdi-bell-remove:before{content:"󱏫"}.mdi-bell-remove-outline:before{content:"󱏬"}.mdi-bell-ring:before{content:"󰂞"}.mdi-bell-ring-outline:before{content:"󰂟"}.mdi-bell-sleep:before{content:"󰂠"}.mdi-bell-sleep-outline:before{content:"󰪓"}.mdi-bench:before{content:"󱰡"}.mdi-bench-back:before{content:"󱰢"}.mdi-beta:before{content:"󰂡"}.mdi-betamax:before{content:"󰧋"}.mdi-biathlon:before{content:"󰸔"}.mdi-bicycle:before{content:"󱂜"}.mdi-bicycle-basket:before{content:"󱈵"}.mdi-bicycle-cargo:before{content:"󱢜"}.mdi-bicycle-electric:before{content:"󱖴"}.mdi-bicycle-penny-farthing:before{content:"󱗩"}.mdi-bike:before{content:"󰂣"}.mdi-bike-fast:before{content:"󱄟"}.mdi-bike-pedal:before{content:"󱰣"}.mdi-bike-pedal-clipless:before{content:"󱰤"}.mdi-bike-pedal-mountain:before{content:"󱰥"}.mdi-billboard:before{content:"󱀐"}.mdi-billiards:before{content:"󰭡"}.mdi-billiards-rack:before{content:"󰭢"}.mdi-binoculars:before{content:"󰂥"}.mdi-bio:before{content:"󰂦"}.mdi-biohazard:before{content:"󰂧"}.mdi-bird:before{content:"󱗆"}.mdi-bitbucket:before{content:"󰂨"}.mdi-bitcoin:before{content:"󰠓"}.mdi-black-mesa:before{content:"󰂩"}.mdi-blender:before{content:"󰳫"}.mdi-blender-outline:before{content:"󱠚"}.mdi-blender-software:before{content:"󰂫"}.mdi-blinds:before{content:"󰂬"}.mdi-blinds-horizontal:before{content:"󱨫"}.mdi-blinds-horizontal-closed:before{content:"󱨬"}.mdi-blinds-open:before{content:"󱀑"}.mdi-blinds-vertical:before{content:"󱨭"}.mdi-blinds-vertical-closed:before{content:"󱨮"}.mdi-block-helper:before{content:"󰂭"}.mdi-blood-bag:before{content:"󰳬"}.mdi-bluetooth:before{content:"󰂯"}.mdi-bluetooth-audio:before{content:"󰂰"}.mdi-bluetooth-connect:before{content:"󰂱"}.mdi-bluetooth-off:before{content:"󰂲"}.mdi-bluetooth-settings:before{content:"󰂳"}.mdi-bluetooth-transfer:before{content:"󰂴"}.mdi-blur:before{content:"󰂵"}.mdi-blur-linear:before{content:"󰂶"}.mdi-blur-off:before{content:"󰂷"}.mdi-blur-radial:before{content:"󰂸"}.mdi-bolt:before{content:"󰶳"}.mdi-bomb:before{content:"󰚑"}.mdi-bomb-off:before{content:"󰛅"}.mdi-bone:before{content:"󰂹"}.mdi-bone-off:before{content:"󱧠"}.mdi-book:before{content:"󰂺"}.mdi-book-account:before{content:"󱎭"}.mdi-book-account-outline:before{content:"󱎮"}.mdi-book-alert:before{content:"󱙼"}.mdi-book-alert-outline:before{content:"󱙽"}.mdi-book-alphabet:before{content:"󰘝"}.mdi-book-arrow-down:before{content:"󱙾"}.mdi-book-arrow-down-outline:before{content:"󱙿"}.mdi-book-arrow-left:before{content:"󱚀"}.mdi-book-arrow-left-outline:before{content:"󱚁"}.mdi-book-arrow-right:before{content:"󱚂"}.mdi-book-arrow-right-outline:before{content:"󱚃"}.mdi-book-arrow-up:before{content:"󱚄"}.mdi-book-arrow-up-outline:before{content:"󱚅"}.mdi-book-cancel:before{content:"󱚆"}.mdi-book-cancel-outline:before{content:"󱚇"}.mdi-book-check:before{content:"󱓳"}.mdi-book-check-outline:before{content:"󱓴"}.mdi-book-clock:before{content:"󱚈"}.mdi-book-clock-outline:before{content:"󱚉"}.mdi-book-cog:before{content:"󱚊"}.mdi-book-cog-outline:before{content:"󱚋"}.mdi-book-cross:before{content:"󰂢"}.mdi-book-edit:before{content:"󱚌"}.mdi-book-edit-outline:before{content:"󱚍"}.mdi-book-education:before{content:"󱛉"}.mdi-book-education-outline:before{content:"󱛊"}.mdi-book-heart:before{content:"󱨝"}.mdi-book-heart-outline:before{content:"󱨞"}.mdi-book-information-variant:before{content:"󱁯"}.mdi-book-lock:before{content:"󰞚"}.mdi-book-lock-open:before{content:"󰞛"}.mdi-book-lock-open-outline:before{content:"󱚎"}.mdi-book-lock-outline:before{content:"󱚏"}.mdi-book-marker:before{content:"󱚐"}.mdi-book-marker-outline:before{content:"󱚑"}.mdi-book-minus:before{content:"󰗙"}.mdi-book-minus-multiple:before{content:"󰪔"}.mdi-book-minus-multiple-outline:before{content:"󰤋"}.mdi-book-minus-outline:before{content:"󱚒"}.mdi-book-multiple:before{content:"󰂻"}.mdi-book-multiple-outline:before{content:"󰐶"}.mdi-book-music:before{content:"󰁧"}.mdi-book-music-outline:before{content:"󱚓"}.mdi-book-off:before{content:"󱚔"}.mdi-book-off-outline:before{content:"󱚕"}.mdi-book-open:before{content:"󰂽"}.mdi-book-open-blank-variant:before{content:"󰂾"}.mdi-book-open-outline:before{content:"󰭣"}.mdi-book-open-page-variant:before{content:"󰗚"}.mdi-book-open-page-variant-outline:before{content:"󱗖"}.mdi-book-open-variant:before{content:"󱓷"}.mdi-book-outline:before{content:"󰭤"}.mdi-book-play:before{content:"󰺂"}.mdi-book-play-outline:before{content:"󰺃"}.mdi-book-plus:before{content:"󰗛"}.mdi-book-plus-multiple:before{content:"󰪕"}.mdi-book-plus-multiple-outline:before{content:"󰫞"}.mdi-book-plus-outline:before{content:"󱚖"}.mdi-book-refresh:before{content:"󱚗"}.mdi-book-refresh-outline:before{content:"󱚘"}.mdi-book-remove:before{content:"󰪗"}.mdi-book-remove-multiple:before{content:"󰪖"}.mdi-book-remove-multiple-outline:before{content:"󰓊"}.mdi-book-remove-outline:before{content:"󱚙"}.mdi-book-search:before{content:"󰺄"}.mdi-book-search-outline:before{content:"󰺅"}.mdi-book-settings:before{content:"󱚚"}.mdi-book-settings-outline:before{content:"󱚛"}.mdi-book-sync:before{content:"󱚜"}.mdi-book-sync-outline:before{content:"󱛈"}.mdi-book-variant:before{content:"󰂿"}.mdi-bookmark:before{content:"󰃀"}.mdi-bookmark-box:before{content:"󱭵"}.mdi-bookmark-box-multiple:before{content:"󱥬"}.mdi-bookmark-box-multiple-outline:before{content:"󱥭"}.mdi-bookmark-box-outline:before{content:"󱭶"}.mdi-bookmark-check:before{content:"󰃁"}.mdi-bookmark-check-outline:before{content:"󱍻"}.mdi-bookmark-minus:before{content:"󰧌"}.mdi-bookmark-minus-outline:before{content:"󰧍"}.mdi-bookmark-multiple:before{content:"󰸕"}.mdi-bookmark-multiple-outline:before{content:"󰸖"}.mdi-bookmark-music:before{content:"󰃂"}.mdi-bookmark-music-outline:before{content:"󱍹"}.mdi-bookmark-off:before{content:"󰧎"}.mdi-bookmark-off-outline:before{content:"󰧏"}.mdi-bookmark-outline:before{content:"󰃃"}.mdi-bookmark-plus:before{content:"󰃅"}.mdi-bookmark-plus-outline:before{content:"󰃄"}.mdi-bookmark-remove:before{content:"󰃆"}.mdi-bookmark-remove-outline:before{content:"󱍺"}.mdi-bookshelf:before{content:"󱉟"}.mdi-boom-gate:before{content:"󰺆"}.mdi-boom-gate-alert:before{content:"󰺇"}.mdi-boom-gate-alert-outline:before{content:"󰺈"}.mdi-boom-gate-arrow-down:before{content:"󰺉"}.mdi-boom-gate-arrow-down-outline:before{content:"󰺊"}.mdi-boom-gate-arrow-up:before{content:"󰺌"}.mdi-boom-gate-arrow-up-outline:before{content:"󰺍"}.mdi-boom-gate-outline:before{content:"󰺋"}.mdi-boom-gate-up:before{content:"󱟹"}.mdi-boom-gate-up-outline:before{content:"󱟺"}.mdi-boombox:before{content:"󰗜"}.mdi-boomerang:before{content:"󱃏"}.mdi-bootstrap:before{content:"󰛆"}.mdi-border-all:before{content:"󰃇"}.mdi-border-all-variant:before{content:"󰢡"}.mdi-border-bottom:before{content:"󰃈"}.mdi-border-bottom-variant:before{content:"󰢢"}.mdi-border-color:before{content:"󰃉"}.mdi-border-horizontal:before{content:"󰃊"}.mdi-border-inside:before{content:"󰃋"}.mdi-border-left:before{content:"󰃌"}.mdi-border-left-variant:before{content:"󰢣"}.mdi-border-none:before{content:"󰃍"}.mdi-border-none-variant:before{content:"󰢤"}.mdi-border-outside:before{content:"󰃎"}.mdi-border-radius:before{content:"󱫴"}.mdi-border-right:before{content:"󰃏"}.mdi-border-right-variant:before{content:"󰢥"}.mdi-border-style:before{content:"󰃐"}.mdi-border-top:before{content:"󰃑"}.mdi-border-top-variant:before{content:"󰢦"}.mdi-border-vertical:before{content:"󰃒"}.mdi-bottle-soda:before{content:"󱁰"}.mdi-bottle-soda-classic:before{content:"󱁱"}.mdi-bottle-soda-classic-outline:before{content:"󱍣"}.mdi-bottle-soda-outline:before{content:"󱁲"}.mdi-bottle-tonic:before{content:"󱄮"}.mdi-bottle-tonic-outline:before{content:"󱄯"}.mdi-bottle-tonic-plus:before{content:"󱄰"}.mdi-bottle-tonic-plus-outline:before{content:"󱄱"}.mdi-bottle-tonic-skull:before{content:"󱄲"}.mdi-bottle-tonic-skull-outline:before{content:"󱄳"}.mdi-bottle-wine:before{content:"󰡔"}.mdi-bottle-wine-outline:before{content:"󱌐"}.mdi-bow-arrow:before{content:"󱡁"}.mdi-bow-tie:before{content:"󰙸"}.mdi-bowl:before{content:"󰊎"}.mdi-bowl-mix:before{content:"󰘗"}.mdi-bowl-mix-outline:before{content:"󰋤"}.mdi-bowl-outline:before{content:"󰊩"}.mdi-bowling:before{content:"󰃓"}.mdi-box:before{content:"󰃔"}.mdi-box-cutter:before{content:"󰃕"}.mdi-box-cutter-off:before{content:"󰭊"}.mdi-box-shadow:before{content:"󰘷"}.mdi-boxing-glove:before{content:"󰭥"}.mdi-braille:before{content:"󰧐"}.mdi-brain:before{content:"󰧑"}.mdi-bread-slice:before{content:"󰳮"}.mdi-bread-slice-outline:before{content:"󰳯"}.mdi-bridge:before{content:"󰘘"}.mdi-briefcase:before{content:"󰃖"}.mdi-briefcase-account:before{content:"󰳰"}.mdi-briefcase-account-outline:before{content:"󰳱"}.mdi-briefcase-arrow-left-right:before{content:"󱪍"}.mdi-briefcase-arrow-left-right-outline:before{content:"󱪎"}.mdi-briefcase-arrow-up-down:before{content:"󱪏"}.mdi-briefcase-arrow-up-down-outline:before{content:"󱪐"}.mdi-briefcase-check:before{content:"󰃗"}.mdi-briefcase-check-outline:before{content:"󱌞"}.mdi-briefcase-clock:before{content:"󱃐"}.mdi-briefcase-clock-outline:before{content:"󱃑"}.mdi-briefcase-download:before{content:"󰃘"}.mdi-briefcase-download-outline:before{content:"󰰽"}.mdi-briefcase-edit:before{content:"󰪘"}.mdi-briefcase-edit-outline:before{content:"󰰾"}.mdi-briefcase-eye:before{content:"󱟙"}.mdi-briefcase-eye-outline:before{content:"󱟚"}.mdi-briefcase-minus:before{content:"󰨪"}.mdi-briefcase-minus-outline:before{content:"󰰿"}.mdi-briefcase-off:before{content:"󱙘"}.mdi-briefcase-off-outline:before{content:"󱙙"}.mdi-briefcase-outline:before{content:"󰠔"}.mdi-briefcase-plus:before{content:"󰨫"}.mdi-briefcase-plus-outline:before{content:"󰱀"}.mdi-briefcase-remove:before{content:"󰨬"}.mdi-briefcase-remove-outline:before{content:"󰱁"}.mdi-briefcase-search:before{content:"󰨭"}.mdi-briefcase-search-outline:before{content:"󰱂"}.mdi-briefcase-upload:before{content:"󰃙"}.mdi-briefcase-upload-outline:before{content:"󰱃"}.mdi-briefcase-variant:before{content:"󱒔"}.mdi-briefcase-variant-off:before{content:"󱙚"}.mdi-briefcase-variant-off-outline:before{content:"󱙛"}.mdi-briefcase-variant-outline:before{content:"󱒕"}.mdi-brightness-1:before{content:"󰃚"}.mdi-brightness-2:before{content:"󰃛"}.mdi-brightness-3:before{content:"󰃜"}.mdi-brightness-4:before{content:"󰃝"}.mdi-brightness-5:before{content:"󰃞"}.mdi-brightness-6:before{content:"󰃟"}.mdi-brightness-7:before{content:"󰃠"}.mdi-brightness-auto:before{content:"󰃡"}.mdi-brightness-percent:before{content:"󰳲"}.mdi-broadcast:before{content:"󱜠"}.mdi-broadcast-off:before{content:"󱜡"}.mdi-broom:before{content:"󰃢"}.mdi-brush:before{content:"󰃣"}.mdi-brush-off:before{content:"󱝱"}.mdi-brush-outline:before{content:"󱨍"}.mdi-brush-variant:before{content:"󱠓"}.mdi-bucket:before{content:"󱐕"}.mdi-bucket-outline:before{content:"󱐖"}.mdi-buffet:before{content:"󰕸"}.mdi-bug:before{content:"󰃤"}.mdi-bug-check:before{content:"󰨮"}.mdi-bug-check-outline:before{content:"󰨯"}.mdi-bug-outline:before{content:"󰨰"}.mdi-bug-pause:before{content:"󱫵"}.mdi-bug-pause-outline:before{content:"󱫶"}.mdi-bug-play:before{content:"󱫷"}.mdi-bug-play-outline:before{content:"󱫸"}.mdi-bug-stop:before{content:"󱫹"}.mdi-bug-stop-outline:before{content:"󱫺"}.mdi-bugle:before{content:"󰶴"}.mdi-bulkhead-light:before{content:"󱨯"}.mdi-bulldozer:before{content:"󰬢"}.mdi-bullet:before{content:"󰳳"}.mdi-bulletin-board:before{content:"󰃥"}.mdi-bullhorn:before{content:"󰃦"}.mdi-bullhorn-outline:before{content:"󰬣"}.mdi-bullhorn-variant:before{content:"󱥮"}.mdi-bullhorn-variant-outline:before{content:"󱥯"}.mdi-bullseye:before{content:"󰗝"}.mdi-bullseye-arrow:before{content:"󰣉"}.mdi-bulma:before{content:"󱋧"}.mdi-bunk-bed:before{content:"󱌂"}.mdi-bunk-bed-outline:before{content:"󰂗"}.mdi-bus:before{content:"󰃧"}.mdi-bus-alert:before{content:"󰪙"}.mdi-bus-articulated-end:before{content:"󰞜"}.mdi-bus-articulated-front:before{content:"󰞝"}.mdi-bus-clock:before{content:"󰣊"}.mdi-bus-double-decker:before{content:"󰞞"}.mdi-bus-electric:before{content:"󱤝"}.mdi-bus-marker:before{content:"󱈒"}.mdi-bus-multiple:before{content:"󰼿"}.mdi-bus-school:before{content:"󰞟"}.mdi-bus-side:before{content:"󰞠"}.mdi-bus-stop:before{content:"󱀒"}.mdi-bus-stop-covered:before{content:"󱀓"}.mdi-bus-stop-uncovered:before{content:"󱀔"}.mdi-butterfly:before{content:"󱖉"}.mdi-butterfly-outline:before{content:"󱖊"}.mdi-button-cursor:before{content:"󱭏"}.mdi-button-pointer:before{content:"󱭐"}.mdi-cabin-a-frame:before{content:"󱢌"}.mdi-cable-data:before{content:"󱎔"}.mdi-cached:before{content:"󰃨"}.mdi-cactus:before{content:"󰶵"}.mdi-cake:before{content:"󰃩"}.mdi-cake-layered:before{content:"󰃪"}.mdi-cake-variant:before{content:"󰃫"}.mdi-cake-variant-outline:before{content:"󱟰"}.mdi-calculator:before{content:"󰃬"}.mdi-calculator-variant:before{content:"󰪚"}.mdi-calculator-variant-outline:before{content:"󱖦"}.mdi-calendar:before{content:"󰃭"}.mdi-calendar-account:before{content:"󰻗"}.mdi-calendar-account-outline:before{content:"󰻘"}.mdi-calendar-alert:before{content:"󰨱"}.mdi-calendar-alert-outline:before{content:"󱭢"}.mdi-calendar-arrow-left:before{content:"󱄴"}.mdi-calendar-arrow-right:before{content:"󱄵"}.mdi-calendar-badge:before{content:"󱮝"}.mdi-calendar-badge-outline:before{content:"󱮞"}.mdi-calendar-blank:before{content:"󰃮"}.mdi-calendar-blank-multiple:before{content:"󱁳"}.mdi-calendar-blank-outline:before{content:"󰭦"}.mdi-calendar-check:before{content:"󰃯"}.mdi-calendar-check-outline:before{content:"󰱄"}.mdi-calendar-clock:before{content:"󰃰"}.mdi-calendar-clock-outline:before{content:"󱛡"}.mdi-calendar-collapse-horizontal:before{content:"󱢝"}.mdi-calendar-collapse-horizontal-outline:before{content:"󱭣"}.mdi-calendar-cursor:before{content:"󱕻"}.mdi-calendar-cursor-outline:before{content:"󱭤"}.mdi-calendar-edit:before{content:"󰢧"}.mdi-calendar-edit-outline:before{content:"󱭥"}.mdi-calendar-end:before{content:"󱙬"}.mdi-calendar-end-outline:before{content:"󱭦"}.mdi-calendar-expand-horizontal:before{content:"󱢞"}.mdi-calendar-expand-horizontal-outline:before{content:"󱭧"}.mdi-calendar-export:before{content:"󰬤"}.mdi-calendar-export-outline:before{content:"󱭨"}.mdi-calendar-filter:before{content:"󱨲"}.mdi-calendar-filter-outline:before{content:"󱨳"}.mdi-calendar-heart:before{content:"󰧒"}.mdi-calendar-heart-outline:before{content:"󱭩"}.mdi-calendar-import:before{content:"󰬥"}.mdi-calendar-import-outline:before{content:"󱭪"}.mdi-calendar-lock:before{content:"󱙁"}.mdi-calendar-lock-open:before{content:"󱭛"}.mdi-calendar-lock-open-outline:before{content:"󱭜"}.mdi-calendar-lock-outline:before{content:"󱙂"}.mdi-calendar-minus:before{content:"󰵜"}.mdi-calendar-minus-outline:before{content:"󱭫"}.mdi-calendar-month:before{content:"󰸗"}.mdi-calendar-month-outline:before{content:"󰸘"}.mdi-calendar-multiple:before{content:"󰃱"}.mdi-calendar-multiple-check:before{content:"󰃲"}.mdi-calendar-multiselect:before{content:"󰨲"}.mdi-calendar-multiselect-outline:before{content:"󱭕"}.mdi-calendar-outline:before{content:"󰭧"}.mdi-calendar-plus:before{content:"󰃳"}.mdi-calendar-plus-outline:before{content:"󱭬"}.mdi-calendar-question:before{content:"󰚒"}.mdi-calendar-question-outline:before{content:"󱭭"}.mdi-calendar-range:before{content:"󰙹"}.mdi-calendar-range-outline:before{content:"󰭨"}.mdi-calendar-refresh:before{content:"󰇡"}.mdi-calendar-refresh-outline:before{content:"󰈃"}.mdi-calendar-remove:before{content:"󰃴"}.mdi-calendar-remove-outline:before{content:"󰱅"}.mdi-calendar-search:before{content:"󰥌"}.mdi-calendar-search-outline:before{content:"󱭮"}.mdi-calendar-star:before{content:"󰧓"}.mdi-calendar-star-four-points:before{content:"󱰟"}.mdi-calendar-star-outline:before{content:"󱭓"}.mdi-calendar-start:before{content:"󱙭"}.mdi-calendar-start-outline:before{content:"󱭯"}.mdi-calendar-sync:before{content:"󰺎"}.mdi-calendar-sync-outline:before{content:"󰺏"}.mdi-calendar-text:before{content:"󰃵"}.mdi-calendar-text-outline:before{content:"󰱆"}.mdi-calendar-today:before{content:"󰃶"}.mdi-calendar-today-outline:before{content:"󱨰"}.mdi-calendar-week:before{content:"󰨳"}.mdi-calendar-week-begin:before{content:"󰨴"}.mdi-calendar-week-begin-outline:before{content:"󱨱"}.mdi-calendar-week-outline:before{content:"󱨴"}.mdi-calendar-weekend:before{content:"󰻙"}.mdi-calendar-weekend-outline:before{content:"󰻚"}.mdi-call-made:before{content:"󰃷"}.mdi-call-merge:before{content:"󰃸"}.mdi-call-missed:before{content:"󰃹"}.mdi-call-received:before{content:"󰃺"}.mdi-call-split:before{content:"󰃻"}.mdi-camcorder:before{content:"󰃼"}.mdi-camcorder-off:before{content:"󰃿"}.mdi-camera:before{content:"󰄀"}.mdi-camera-account:before{content:"󰣋"}.mdi-camera-burst:before{content:"󰚓"}.mdi-camera-control:before{content:"󰭩"}.mdi-camera-document:before{content:"󱡱"}.mdi-camera-document-off:before{content:"󱡲"}.mdi-camera-enhance:before{content:"󰄁"}.mdi-camera-enhance-outline:before{content:"󰭪"}.mdi-camera-flip:before{content:"󱗙"}.mdi-camera-flip-outline:before{content:"󱗚"}.mdi-camera-front:before{content:"󰄂"}.mdi-camera-front-variant:before{content:"󰄃"}.mdi-camera-gopro:before{content:"󰞡"}.mdi-camera-image:before{content:"󰣌"}.mdi-camera-iris:before{content:"󰄄"}.mdi-camera-lock:before{content:"󱨔"}.mdi-camera-lock-open:before{content:"󱰍"}.mdi-camera-lock-open-outline:before{content:"󱰎"}.mdi-camera-lock-outline:before{content:"󱨕"}.mdi-camera-marker:before{content:"󱦧"}.mdi-camera-marker-outline:before{content:"󱦨"}.mdi-camera-metering-center:before{content:"󰞢"}.mdi-camera-metering-matrix:before{content:"󰞣"}.mdi-camera-metering-partial:before{content:"󰞤"}.mdi-camera-metering-spot:before{content:"󰞥"}.mdi-camera-off:before{content:"󰗟"}.mdi-camera-off-outline:before{content:"󱦿"}.mdi-camera-outline:before{content:"󰵝"}.mdi-camera-party-mode:before{content:"󰄅"}.mdi-camera-plus:before{content:"󰻛"}.mdi-camera-plus-outline:before{content:"󰻜"}.mdi-camera-rear:before{content:"󰄆"}.mdi-camera-rear-variant:before{content:"󰄇"}.mdi-camera-retake:before{content:"󰸙"}.mdi-camera-retake-outline:before{content:"󰸚"}.mdi-camera-switch:before{content:"󰄈"}.mdi-camera-switch-outline:before{content:"󰡊"}.mdi-camera-timer:before{content:"󰄉"}.mdi-camera-wireless:before{content:"󰶶"}.mdi-camera-wireless-outline:before{content:"󰶷"}.mdi-campfire:before{content:"󰻝"}.mdi-cancel:before{content:"󰜺"}.mdi-candelabra:before{content:"󱟒"}.mdi-candelabra-fire:before{content:"󱟓"}.mdi-candle:before{content:"󰗢"}.mdi-candy:before{content:"󱥰"}.mdi-candy-off:before{content:"󱥱"}.mdi-candy-off-outline:before{content:"󱥲"}.mdi-candy-outline:before{content:"󱥳"}.mdi-candycane:before{content:"󰄊"}.mdi-cannabis:before{content:"󰞦"}.mdi-cannabis-off:before{content:"󱙮"}.mdi-caps-lock:before{content:"󰪛"}.mdi-car:before{content:"󰄋"}.mdi-car-2-plus:before{content:"󱀕"}.mdi-car-3-plus:before{content:"󱀖"}.mdi-car-arrow-left:before{content:"󱎲"}.mdi-car-arrow-right:before{content:"󱎳"}.mdi-car-back:before{content:"󰸛"}.mdi-car-battery:before{content:"󰄌"}.mdi-car-brake-abs:before{content:"󰱇"}.mdi-car-brake-alert:before{content:"󰱈"}.mdi-car-brake-fluid-level:before{content:"󱤉"}.mdi-car-brake-hold:before{content:"󰵞"}.mdi-car-brake-low-pressure:before{content:"󱤊"}.mdi-car-brake-parking:before{content:"󰵟"}.mdi-car-brake-retarder:before{content:"󱀗"}.mdi-car-brake-temperature:before{content:"󱤋"}.mdi-car-brake-worn-linings:before{content:"󱤌"}.mdi-car-child-seat:before{content:"󰾣"}.mdi-car-clock:before{content:"󱥴"}.mdi-car-clutch:before{content:"󱀘"}.mdi-car-cog:before{content:"󱏌"}.mdi-car-connected:before{content:"󰄍"}.mdi-car-convertible:before{content:"󰞧"}.mdi-car-coolant-level:before{content:"󱀙"}.mdi-car-cruise-control:before{content:"󰵠"}.mdi-car-defrost-front:before{content:"󰵡"}.mdi-car-defrost-rear:before{content:"󰵢"}.mdi-car-door:before{content:"󰭫"}.mdi-car-door-lock:before{content:"󱂝"}.mdi-car-electric:before{content:"󰭬"}.mdi-car-electric-outline:before{content:"󱖵"}.mdi-car-emergency:before{content:"󱘏"}.mdi-car-esp:before{content:"󰱉"}.mdi-car-estate:before{content:"󰞨"}.mdi-car-hatchback:before{content:"󰞩"}.mdi-car-info:before{content:"󱆾"}.mdi-car-key:before{content:"󰭭"}.mdi-car-lifted-pickup:before{content:"󱔭"}.mdi-car-light-alert:before{content:"󱤍"}.mdi-car-light-dimmed:before{content:"󰱊"}.mdi-car-light-fog:before{content:"󰱋"}.mdi-car-light-high:before{content:"󰱌"}.mdi-car-limousine:before{content:"󰣍"}.mdi-car-multiple:before{content:"󰭮"}.mdi-car-off:before{content:"󰸜"}.mdi-car-outline:before{content:"󱓭"}.mdi-car-parking-lights:before{content:"󰵣"}.mdi-car-pickup:before{content:"󰞪"}.mdi-car-search:before{content:"󱮍"}.mdi-car-search-outline:before{content:"󱮎"}.mdi-car-seat:before{content:"󰾤"}.mdi-car-seat-cooler:before{content:"󰾥"}.mdi-car-seat-heater:before{content:"󰾦"}.mdi-car-select:before{content:"󱡹"}.mdi-car-settings:before{content:"󱏍"}.mdi-car-shift-pattern:before{content:"󰽀"}.mdi-car-side:before{content:"󰞫"}.mdi-car-speed-limiter:before{content:"󱤎"}.mdi-car-sports:before{content:"󰞬"}.mdi-car-tire-alert:before{content:"󰱍"}.mdi-car-traction-control:before{content:"󰵤"}.mdi-car-turbocharger:before{content:"󱀚"}.mdi-car-wash:before{content:"󰄎"}.mdi-car-windshield:before{content:"󱀛"}.mdi-car-windshield-outline:before{content:"󱀜"}.mdi-car-wireless:before{content:"󱡸"}.mdi-car-wrench:before{content:"󱠔"}.mdi-carabiner:before{content:"󱓀"}.mdi-caravan:before{content:"󰞭"}.mdi-card:before{content:"󰭯"}.mdi-card-account-details:before{content:"󰗒"}.mdi-card-account-details-outline:before{content:"󰶫"}.mdi-card-account-details-star:before{content:"󰊣"}.mdi-card-account-details-star-outline:before{content:"󰛛"}.mdi-card-account-mail:before{content:"󰆎"}.mdi-card-account-mail-outline:before{content:"󰺘"}.mdi-card-account-phone:before{content:"󰺙"}.mdi-card-account-phone-outline:before{content:"󰺚"}.mdi-card-bulleted:before{content:"󰭰"}.mdi-card-bulleted-off:before{content:"󰭱"}.mdi-card-bulleted-off-outline:before{content:"󰭲"}.mdi-card-bulleted-outline:before{content:"󰭳"}.mdi-card-bulleted-settings:before{content:"󰭴"}.mdi-card-bulleted-settings-outline:before{content:"󰭵"}.mdi-card-minus:before{content:"󱘀"}.mdi-card-minus-outline:before{content:"󱘁"}.mdi-card-multiple:before{content:"󱟱"}.mdi-card-multiple-outline:before{content:"󱟲"}.mdi-card-off:before{content:"󱘂"}.mdi-card-off-outline:before{content:"󱘃"}.mdi-card-outline:before{content:"󰭶"}.mdi-card-plus:before{content:"󱇿"}.mdi-card-plus-outline:before{content:"󱈀"}.mdi-card-remove:before{content:"󱘄"}.mdi-card-remove-outline:before{content:"󱘅"}.mdi-card-search:before{content:"󱁴"}.mdi-card-search-outline:before{content:"󱁵"}.mdi-card-text:before{content:"󰭷"}.mdi-card-text-outline:before{content:"󰭸"}.mdi-cards:before{content:"󰘸"}.mdi-cards-club:before{content:"󰣎"}.mdi-cards-club-outline:before{content:"󱢟"}.mdi-cards-diamond:before{content:"󰣏"}.mdi-cards-diamond-outline:before{content:"󱀝"}.mdi-cards-heart:before{content:"󰣐"}.mdi-cards-heart-outline:before{content:"󱢠"}.mdi-cards-outline:before{content:"󰘹"}.mdi-cards-playing:before{content:"󱢡"}.mdi-cards-playing-club:before{content:"󱢢"}.mdi-cards-playing-club-multiple:before{content:"󱢣"}.mdi-cards-playing-club-multiple-outline:before{content:"󱢤"}.mdi-cards-playing-club-outline:before{content:"󱢥"}.mdi-cards-playing-diamond:before{content:"󱢦"}.mdi-cards-playing-diamond-multiple:before{content:"󱢧"}.mdi-cards-playing-diamond-multiple-outline:before{content:"󱢨"}.mdi-cards-playing-diamond-outline:before{content:"󱢩"}.mdi-cards-playing-heart:before{content:"󱢪"}.mdi-cards-playing-heart-multiple:before{content:"󱢫"}.mdi-cards-playing-heart-multiple-outline:before{content:"󱢬"}.mdi-cards-playing-heart-outline:before{content:"󱢭"}.mdi-cards-playing-outline:before{content:"󰘺"}.mdi-cards-playing-spade:before{content:"󱢮"}.mdi-cards-playing-spade-multiple:before{content:"󱢯"}.mdi-cards-playing-spade-multiple-outline:before{content:"󱢰"}.mdi-cards-playing-spade-outline:before{content:"󱢱"}.mdi-cards-spade:before{content:"󰣑"}.mdi-cards-spade-outline:before{content:"󱢲"}.mdi-cards-variant:before{content:"󰛇"}.mdi-carrot:before{content:"󰄏"}.mdi-cart:before{content:"󰄐"}.mdi-cart-arrow-down:before{content:"󰵦"}.mdi-cart-arrow-right:before{content:"󰱎"}.mdi-cart-arrow-up:before{content:"󰵧"}.mdi-cart-check:before{content:"󱗪"}.mdi-cart-heart:before{content:"󱣠"}.mdi-cart-minus:before{content:"󰵨"}.mdi-cart-off:before{content:"󰙫"}.mdi-cart-outline:before{content:"󰄑"}.mdi-cart-percent:before{content:"󱮮"}.mdi-cart-plus:before{content:"󰄒"}.mdi-cart-remove:before{content:"󰵩"}.mdi-cart-variant:before{content:"󱗫"}.mdi-case-sensitive-alt:before{content:"󰄓"}.mdi-cash:before{content:"󰄔"}.mdi-cash-100:before{content:"󰄕"}.mdi-cash-check:before{content:"󱓮"}.mdi-cash-clock:before{content:"󱪑"}.mdi-cash-fast:before{content:"󱡜"}.mdi-cash-lock:before{content:"󱓪"}.mdi-cash-lock-open:before{content:"󱓫"}.mdi-cash-marker:before{content:"󰶸"}.mdi-cash-minus:before{content:"󱉠"}.mdi-cash-multiple:before{content:"󰄖"}.mdi-cash-off:before{content:"󱱹"}.mdi-cash-plus:before{content:"󱉡"}.mdi-cash-refund:before{content:"󰪜"}.mdi-cash-register:before{content:"󰳴"}.mdi-cash-remove:before{content:"󱉢"}.mdi-cash-sync:before{content:"󱪒"}.mdi-cassette:before{content:"󰧔"}.mdi-cast:before{content:"󰄘"}.mdi-cast-audio:before{content:"󱀞"}.mdi-cast-audio-variant:before{content:"󱝉"}.mdi-cast-connected:before{content:"󰄙"}.mdi-cast-education:before{content:"󰸝"}.mdi-cast-off:before{content:"󰞊"}.mdi-cast-variant:before{content:"󰀟"}.mdi-castle:before{content:"󰄚"}.mdi-cat:before{content:"󰄛"}.mdi-cctv:before{content:"󰞮"}.mdi-cctv-off:before{content:"󱡟"}.mdi-ceiling-fan:before{content:"󱞗"}.mdi-ceiling-fan-light:before{content:"󱞘"}.mdi-ceiling-light:before{content:"󰝩"}.mdi-ceiling-light-multiple:before{content:"󱣝"}.mdi-ceiling-light-multiple-outline:before{content:"󱣞"}.mdi-ceiling-light-outline:before{content:"󱟇"}.mdi-cellphone:before{content:"󰄜"}.mdi-cellphone-arrow-down:before{content:"󰧕"}.mdi-cellphone-arrow-down-variant:before{content:"󱧅"}.mdi-cellphone-basic:before{content:"󰄞"}.mdi-cellphone-charging:before{content:"󱎗"}.mdi-cellphone-check:before{content:"󱟽"}.mdi-cellphone-cog:before{content:"󰥑"}.mdi-cellphone-dock:before{content:"󰄟"}.mdi-cellphone-information:before{content:"󰽁"}.mdi-cellphone-key:before{content:"󰥎"}.mdi-cellphone-link:before{content:"󰄡"}.mdi-cellphone-link-off:before{content:"󰄢"}.mdi-cellphone-lock:before{content:"󰥏"}.mdi-cellphone-marker:before{content:"󱠺"}.mdi-cellphone-message:before{content:"󰣓"}.mdi-cellphone-message-off:before{content:"󱃒"}.mdi-cellphone-nfc:before{content:"󰺐"}.mdi-cellphone-nfc-off:before{content:"󱋘"}.mdi-cellphone-off:before{content:"󰥐"}.mdi-cellphone-play:before{content:"󱀟"}.mdi-cellphone-remove:before{content:"󰥍"}.mdi-cellphone-screenshot:before{content:"󰨵"}.mdi-cellphone-settings:before{content:"󰄣"}.mdi-cellphone-sound:before{content:"󰥒"}.mdi-cellphone-text:before{content:"󰣒"}.mdi-cellphone-wireless:before{content:"󰠕"}.mdi-centos:before{content:"󱄚"}.mdi-certificate:before{content:"󰄤"}.mdi-certificate-outline:before{content:"󱆈"}.mdi-chair-rolling:before{content:"󰽈"}.mdi-chair-school:before{content:"󰄥"}.mdi-chandelier:before{content:"󱞓"}.mdi-charity:before{content:"󰱏"}.mdi-chart-arc:before{content:"󰄦"}.mdi-chart-areaspline:before{content:"󰄧"}.mdi-chart-areaspline-variant:before{content:"󰺑"}.mdi-chart-bar:before{content:"󰄨"}.mdi-chart-bar-stacked:before{content:"󰝪"}.mdi-chart-bell-curve:before{content:"󰱐"}.mdi-chart-bell-curve-cumulative:before{content:"󰾧"}.mdi-chart-box:before{content:"󱕍"}.mdi-chart-box-outline:before{content:"󱕎"}.mdi-chart-box-plus-outline:before{content:"󱕏"}.mdi-chart-bubble:before{content:"󰗣"}.mdi-chart-donut:before{content:"󰞯"}.mdi-chart-donut-variant:before{content:"󰞰"}.mdi-chart-gantt:before{content:"󰙬"}.mdi-chart-histogram:before{content:"󰄩"}.mdi-chart-line:before{content:"󰄪"}.mdi-chart-line-stacked:before{content:"󰝫"}.mdi-chart-line-variant:before{content:"󰞱"}.mdi-chart-multiline:before{content:"󰣔"}.mdi-chart-multiple:before{content:"󱈓"}.mdi-chart-pie:before{content:"󰄫"}.mdi-chart-pie-outline:before{content:"󱯟"}.mdi-chart-ppf:before{content:"󱎀"}.mdi-chart-sankey:before{content:"󱇟"}.mdi-chart-sankey-variant:before{content:"󱇠"}.mdi-chart-scatter-plot:before{content:"󰺒"}.mdi-chart-scatter-plot-hexbin:before{content:"󰙭"}.mdi-chart-timeline:before{content:"󰙮"}.mdi-chart-timeline-variant:before{content:"󰺓"}.mdi-chart-timeline-variant-shimmer:before{content:"󱖶"}.mdi-chart-tree:before{content:"󰺔"}.mdi-chart-waterfall:before{content:"󱤘"}.mdi-chat:before{content:"󰭹"}.mdi-chat-alert:before{content:"󰭺"}.mdi-chat-alert-outline:before{content:"󱋉"}.mdi-chat-minus:before{content:"󱐐"}.mdi-chat-minus-outline:before{content:"󱐓"}.mdi-chat-outline:before{content:"󰻞"}.mdi-chat-plus:before{content:"󱐏"}.mdi-chat-plus-outline:before{content:"󱐒"}.mdi-chat-processing:before{content:"󰭻"}.mdi-chat-processing-outline:before{content:"󱋊"}.mdi-chat-question:before{content:"󱜸"}.mdi-chat-question-outline:before{content:"󱜹"}.mdi-chat-remove:before{content:"󱐑"}.mdi-chat-remove-outline:before{content:"󱐔"}.mdi-chat-sleep:before{content:"󱋑"}.mdi-chat-sleep-outline:before{content:"󱋒"}.mdi-check:before{content:"󰄬"}.mdi-check-all:before{content:"󰄭"}.mdi-check-bold:before{content:"󰸞"}.mdi-check-circle:before{content:"󰗠"}.mdi-check-circle-outline:before{content:"󰗡"}.mdi-check-decagram:before{content:"󰞑"}.mdi-check-decagram-outline:before{content:"󱝀"}.mdi-check-network:before{content:"󰱓"}.mdi-check-network-outline:before{content:"󰱔"}.mdi-check-outline:before{content:"󰡕"}.mdi-check-underline:before{content:"󰸟"}.mdi-check-underline-circle:before{content:"󰸠"}.mdi-check-underline-circle-outline:before{content:"󰸡"}.mdi-checkbook:before{content:"󰪝"}.mdi-checkbook-arrow-left:before{content:"󱰝"}.mdi-checkbook-arrow-right:before{content:"󱰞"}.mdi-checkbox-blank:before{content:"󰄮"}.mdi-checkbox-blank-badge:before{content:"󱅶"}.mdi-checkbox-blank-badge-outline:before{content:"󰄗"}.mdi-checkbox-blank-circle:before{content:"󰄯"}.mdi-checkbox-blank-circle-outline:before{content:"󰄰"}.mdi-checkbox-blank-off:before{content:"󱋬"}.mdi-checkbox-blank-off-outline:before{content:"󱋭"}.mdi-checkbox-blank-outline:before{content:"󰄱"}.mdi-checkbox-intermediate:before{content:"󰡖"}.mdi-checkbox-intermediate-variant:before{content:"󱭔"}.mdi-checkbox-marked:before{content:"󰄲"}.mdi-checkbox-marked-circle:before{content:"󰄳"}.mdi-checkbox-marked-circle-auto-outline:before{content:"󱰦"}.mdi-checkbox-marked-circle-minus-outline:before{content:"󱰧"}.mdi-checkbox-marked-circle-outline:before{content:"󰄴"}.mdi-checkbox-marked-circle-plus-outline:before{content:"󱤧"}.mdi-checkbox-marked-outline:before{content:"󰄵"}.mdi-checkbox-multiple-blank:before{content:"󰄶"}.mdi-checkbox-multiple-blank-circle:before{content:"󰘻"}.mdi-checkbox-multiple-blank-circle-outline:before{content:"󰘼"}.mdi-checkbox-multiple-blank-outline:before{content:"󰄷"}.mdi-checkbox-multiple-marked:before{content:"󰄸"}.mdi-checkbox-multiple-marked-circle:before{content:"󰘽"}.mdi-checkbox-multiple-marked-circle-outline:before{content:"󰘾"}.mdi-checkbox-multiple-marked-outline:before{content:"󰄹"}.mdi-checkbox-multiple-outline:before{content:"󰱑"}.mdi-checkbox-outline:before{content:"󰱒"}.mdi-checkerboard:before{content:"󰄺"}.mdi-checkerboard-minus:before{content:"󱈂"}.mdi-checkerboard-plus:before{content:"󱈁"}.mdi-checkerboard-remove:before{content:"󱈃"}.mdi-cheese:before{content:"󱊹"}.mdi-cheese-off:before{content:"󱏮"}.mdi-chef-hat:before{content:"󰭼"}.mdi-chemical-weapon:before{content:"󰄻"}.mdi-chess-bishop:before{content:"󰡜"}.mdi-chess-king:before{content:"󰡗"}.mdi-chess-knight:before{content:"󰡘"}.mdi-chess-pawn:before{content:"󰡙"}.mdi-chess-queen:before{content:"󰡚"}.mdi-chess-rook:before{content:"󰡛"}.mdi-chevron-double-down:before{content:"󰄼"}.mdi-chevron-double-left:before{content:"󰄽"}.mdi-chevron-double-right:before{content:"󰄾"}.mdi-chevron-double-up:before{content:"󰄿"}.mdi-chevron-down:before{content:"󰅀"}.mdi-chevron-down-box:before{content:"󰧖"}.mdi-chevron-down-box-outline:before{content:"󰧗"}.mdi-chevron-down-circle:before{content:"󰬦"}.mdi-chevron-down-circle-outline:before{content:"󰬧"}.mdi-chevron-left:before{content:"󰅁"}.mdi-chevron-left-box:before{content:"󰧘"}.mdi-chevron-left-box-outline:before{content:"󰧙"}.mdi-chevron-left-circle:before{content:"󰬨"}.mdi-chevron-left-circle-outline:before{content:"󰬩"}.mdi-chevron-right:before{content:"󰅂"}.mdi-chevron-right-box:before{content:"󰧚"}.mdi-chevron-right-box-outline:before{content:"󰧛"}.mdi-chevron-right-circle:before{content:"󰬪"}.mdi-chevron-right-circle-outline:before{content:"󰬫"}.mdi-chevron-triple-down:before{content:"󰶹"}.mdi-chevron-triple-left:before{content:"󰶺"}.mdi-chevron-triple-right:before{content:"󰶻"}.mdi-chevron-triple-up:before{content:"󰶼"}.mdi-chevron-up:before{content:"󰅃"}.mdi-chevron-up-box:before{content:"󰧜"}.mdi-chevron-up-box-outline:before{content:"󰧝"}.mdi-chevron-up-circle:before{content:"󰬬"}.mdi-chevron-up-circle-outline:before{content:"󰬭"}.mdi-chili-alert:before{content:"󱟪"}.mdi-chili-alert-outline:before{content:"󱟫"}.mdi-chili-hot:before{content:"󰞲"}.mdi-chili-hot-outline:before{content:"󱟬"}.mdi-chili-medium:before{content:"󰞳"}.mdi-chili-medium-outline:before{content:"󱟭"}.mdi-chili-mild:before{content:"󰞴"}.mdi-chili-mild-outline:before{content:"󱟮"}.mdi-chili-off:before{content:"󱑧"}.mdi-chili-off-outline:before{content:"󱟯"}.mdi-chip:before{content:"󰘚"}.mdi-church:before{content:"󰅄"}.mdi-church-outline:before{content:"󱬂"}.mdi-cigar:before{content:"󱆉"}.mdi-cigar-off:before{content:"󱐛"}.mdi-circle:before{content:"󰝥"}.mdi-circle-box:before{content:"󱗜"}.mdi-circle-box-outline:before{content:"󱗝"}.mdi-circle-double:before{content:"󰺕"}.mdi-circle-edit-outline:before{content:"󰣕"}.mdi-circle-expand:before{content:"󰺖"}.mdi-circle-half:before{content:"󱎕"}.mdi-circle-half-full:before{content:"󱎖"}.mdi-circle-medium:before{content:"󰧞"}.mdi-circle-multiple:before{content:"󰬸"}.mdi-circle-multiple-outline:before{content:"󰚕"}.mdi-circle-off-outline:before{content:"󱃓"}.mdi-circle-opacity:before{content:"󱡓"}.mdi-circle-outline:before{content:"󰝦"}.mdi-circle-slice-1:before{content:"󰪞"}.mdi-circle-slice-2:before{content:"󰪟"}.mdi-circle-slice-3:before{content:"󰪠"}.mdi-circle-slice-4:before{content:"󰪡"}.mdi-circle-slice-5:before{content:"󰪢"}.mdi-circle-slice-6:before{content:"󰪣"}.mdi-circle-slice-7:before{content:"󰪤"}.mdi-circle-slice-8:before{content:"󰪥"}.mdi-circle-small:before{content:"󰧟"}.mdi-circular-saw:before{content:"󰸢"}.mdi-city:before{content:"󰅆"}.mdi-city-switch:before{content:"󱰨"}.mdi-city-variant:before{content:"󰨶"}.mdi-city-variant-outline:before{content:"󰨷"}.mdi-clipboard:before{content:"󰅇"}.mdi-clipboard-account:before{content:"󰅈"}.mdi-clipboard-account-outline:before{content:"󰱕"}.mdi-clipboard-alert:before{content:"󰅉"}.mdi-clipboard-alert-outline:before{content:"󰳷"}.mdi-clipboard-arrow-down:before{content:"󰅊"}.mdi-clipboard-arrow-down-outline:before{content:"󰱖"}.mdi-clipboard-arrow-left:before{content:"󰅋"}.mdi-clipboard-arrow-left-outline:before{content:"󰳸"}.mdi-clipboard-arrow-right:before{content:"󰳹"}.mdi-clipboard-arrow-right-outline:before{content:"󰳺"}.mdi-clipboard-arrow-up:before{content:"󰱗"}.mdi-clipboard-arrow-up-outline:before{content:"󰱘"}.mdi-clipboard-check:before{content:"󰅎"}.mdi-clipboard-check-multiple:before{content:"󱉣"}.mdi-clipboard-check-multiple-outline:before{content:"󱉤"}.mdi-clipboard-check-outline:before{content:"󰢨"}.mdi-clipboard-clock:before{content:"󱛢"}.mdi-clipboard-clock-outline:before{content:"󱛣"}.mdi-clipboard-edit:before{content:"󱓥"}.mdi-clipboard-edit-outline:before{content:"󱓦"}.mdi-clipboard-file:before{content:"󱉥"}.mdi-clipboard-file-outline:before{content:"󱉦"}.mdi-clipboard-flow:before{content:"󰛈"}.mdi-clipboard-flow-outline:before{content:"󱄗"}.mdi-clipboard-list:before{content:"󱃔"}.mdi-clipboard-list-outline:before{content:"󱃕"}.mdi-clipboard-minus:before{content:"󱘘"}.mdi-clipboard-minus-outline:before{content:"󱘙"}.mdi-clipboard-multiple:before{content:"󱉧"}.mdi-clipboard-multiple-outline:before{content:"󱉨"}.mdi-clipboard-off:before{content:"󱘚"}.mdi-clipboard-off-outline:before{content:"󱘛"}.mdi-clipboard-outline:before{content:"󰅌"}.mdi-clipboard-play:before{content:"󰱙"}.mdi-clipboard-play-multiple:before{content:"󱉩"}.mdi-clipboard-play-multiple-outline:before{content:"󱉪"}.mdi-clipboard-play-outline:before{content:"󰱚"}.mdi-clipboard-plus:before{content:"󰝑"}.mdi-clipboard-plus-outline:before{content:"󱌟"}.mdi-clipboard-pulse:before{content:"󰡝"}.mdi-clipboard-pulse-outline:before{content:"󰡞"}.mdi-clipboard-remove:before{content:"󱘜"}.mdi-clipboard-remove-outline:before{content:"󱘝"}.mdi-clipboard-search:before{content:"󱘞"}.mdi-clipboard-search-outline:before{content:"󱘟"}.mdi-clipboard-text:before{content:"󰅍"}.mdi-clipboard-text-clock:before{content:"󱣹"}.mdi-clipboard-text-clock-outline:before{content:"󱣺"}.mdi-clipboard-text-multiple:before{content:"󱉫"}.mdi-clipboard-text-multiple-outline:before{content:"󱉬"}.mdi-clipboard-text-off:before{content:"󱘠"}.mdi-clipboard-text-off-outline:before{content:"󱘡"}.mdi-clipboard-text-outline:before{content:"󰨸"}.mdi-clipboard-text-play:before{content:"󰱛"}.mdi-clipboard-text-play-outline:before{content:"󰱜"}.mdi-clipboard-text-search:before{content:"󱘢"}.mdi-clipboard-text-search-outline:before{content:"󱘣"}.mdi-clippy:before{content:"󰅏"}.mdi-clock:before{content:"󰥔"}.mdi-clock-alert:before{content:"󰥕"}.mdi-clock-alert-outline:before{content:"󰗎"}.mdi-clock-check:before{content:"󰾨"}.mdi-clock-check-outline:before{content:"󰾩"}.mdi-clock-digital:before{content:"󰺗"}.mdi-clock-edit:before{content:"󱦺"}.mdi-clock-edit-outline:before{content:"󱦻"}.mdi-clock-end:before{content:"󰅑"}.mdi-clock-fast:before{content:"󰅒"}.mdi-clock-in:before{content:"󰅓"}.mdi-clock-minus:before{content:"󱡣"}.mdi-clock-minus-outline:before{content:"󱡤"}.mdi-clock-out:before{content:"󰅔"}.mdi-clock-outline:before{content:"󰅐"}.mdi-clock-plus:before{content:"󱡡"}.mdi-clock-plus-outline:before{content:"󱡢"}.mdi-clock-remove:before{content:"󱡥"}.mdi-clock-remove-outline:before{content:"󱡦"}.mdi-clock-star-four-points:before{content:"󱰩"}.mdi-clock-star-four-points-outline:before{content:"󱰪"}.mdi-clock-start:before{content:"󰅕"}.mdi-clock-time-eight:before{content:"󱑆"}.mdi-clock-time-eight-outline:before{content:"󱑒"}.mdi-clock-time-eleven:before{content:"󱑉"}.mdi-clock-time-eleven-outline:before{content:"󱑕"}.mdi-clock-time-five:before{content:"󱑃"}.mdi-clock-time-five-outline:before{content:"󱑏"}.mdi-clock-time-four:before{content:"󱑂"}.mdi-clock-time-four-outline:before{content:"󱑎"}.mdi-clock-time-nine:before{content:"󱑇"}.mdi-clock-time-nine-outline:before{content:"󱑓"}.mdi-clock-time-one:before{content:"󱐿"}.mdi-clock-time-one-outline:before{content:"󱑋"}.mdi-clock-time-seven:before{content:"󱑅"}.mdi-clock-time-seven-outline:before{content:"󱑑"}.mdi-clock-time-six:before{content:"󱑄"}.mdi-clock-time-six-outline:before{content:"󱑐"}.mdi-clock-time-ten:before{content:"󱑈"}.mdi-clock-time-ten-outline:before{content:"󱑔"}.mdi-clock-time-three:before{content:"󱑁"}.mdi-clock-time-three-outline:before{content:"󱑍"}.mdi-clock-time-twelve:before{content:"󱑊"}.mdi-clock-time-twelve-outline:before{content:"󱑖"}.mdi-clock-time-two:before{content:"󱑀"}.mdi-clock-time-two-outline:before{content:"󱑌"}.mdi-close:before{content:"󰅖"}.mdi-close-box:before{content:"󰅗"}.mdi-close-box-multiple:before{content:"󰱝"}.mdi-close-box-multiple-outline:before{content:"󰱞"}.mdi-close-box-outline:before{content:"󰅘"}.mdi-close-circle:before{content:"󰅙"}.mdi-close-circle-multiple:before{content:"󰘪"}.mdi-close-circle-multiple-outline:before{content:"󰢃"}.mdi-close-circle-outline:before{content:"󰅚"}.mdi-close-network:before{content:"󰅛"}.mdi-close-network-outline:before{content:"󰱟"}.mdi-close-octagon:before{content:"󰅜"}.mdi-close-octagon-outline:before{content:"󰅝"}.mdi-close-outline:before{content:"󰛉"}.mdi-close-thick:before{content:"󱎘"}.mdi-closed-caption:before{content:"󰅞"}.mdi-closed-caption-outline:before{content:"󰶽"}.mdi-cloud:before{content:"󰅟"}.mdi-cloud-alert:before{content:"󰧠"}.mdi-cloud-alert-outline:before{content:"󱯠"}.mdi-cloud-arrow-down:before{content:"󱯡"}.mdi-cloud-arrow-down-outline:before{content:"󱯢"}.mdi-cloud-arrow-left:before{content:"󱯣"}.mdi-cloud-arrow-left-outline:before{content:"󱯤"}.mdi-cloud-arrow-right:before{content:"󱯥"}.mdi-cloud-arrow-right-outline:before{content:"󱯦"}.mdi-cloud-arrow-up:before{content:"󱯧"}.mdi-cloud-arrow-up-outline:before{content:"󱯨"}.mdi-cloud-braces:before{content:"󰞵"}.mdi-cloud-cancel:before{content:"󱯩"}.mdi-cloud-cancel-outline:before{content:"󱯪"}.mdi-cloud-check:before{content:"󱯫"}.mdi-cloud-check-outline:before{content:"󱯬"}.mdi-cloud-check-variant:before{content:"󰅠"}.mdi-cloud-check-variant-outline:before{content:"󱋌"}.mdi-cloud-circle:before{content:"󰅡"}.mdi-cloud-circle-outline:before{content:"󱯭"}.mdi-cloud-clock:before{content:"󱯮"}.mdi-cloud-clock-outline:before{content:"󱯯"}.mdi-cloud-cog:before{content:"󱯰"}.mdi-cloud-cog-outline:before{content:"󱯱"}.mdi-cloud-download:before{content:"󰅢"}.mdi-cloud-download-outline:before{content:"󰭽"}.mdi-cloud-lock:before{content:"󱇱"}.mdi-cloud-lock-open:before{content:"󱯲"}.mdi-cloud-lock-open-outline:before{content:"󱯳"}.mdi-cloud-lock-outline:before{content:"󱇲"}.mdi-cloud-minus:before{content:"󱯴"}.mdi-cloud-minus-outline:before{content:"󱯵"}.mdi-cloud-off:before{content:"󱯶"}.mdi-cloud-off-outline:before{content:"󰅤"}.mdi-cloud-outline:before{content:"󰅣"}.mdi-cloud-percent:before{content:"󱨵"}.mdi-cloud-percent-outline:before{content:"󱨶"}.mdi-cloud-plus:before{content:"󱯷"}.mdi-cloud-plus-outline:before{content:"󱯸"}.mdi-cloud-print:before{content:"󰅥"}.mdi-cloud-print-outline:before{content:"󰅦"}.mdi-cloud-question:before{content:"󰨹"}.mdi-cloud-question-outline:before{content:"󱯹"}.mdi-cloud-refresh:before{content:"󱯺"}.mdi-cloud-refresh-outline:before{content:"󱯻"}.mdi-cloud-refresh-variant:before{content:"󰔪"}.mdi-cloud-refresh-variant-outline:before{content:"󱯼"}.mdi-cloud-remove:before{content:"󱯽"}.mdi-cloud-remove-outline:before{content:"󱯾"}.mdi-cloud-search:before{content:"󰥖"}.mdi-cloud-search-outline:before{content:"󰥗"}.mdi-cloud-sync:before{content:"󰘿"}.mdi-cloud-sync-outline:before{content:"󱋖"}.mdi-cloud-tags:before{content:"󰞶"}.mdi-cloud-upload:before{content:"󰅧"}.mdi-cloud-upload-outline:before{content:"󰭾"}.mdi-clouds:before{content:"󱮕"}.mdi-clover:before{content:"󰠖"}.mdi-clover-outline:before{content:"󱱢"}.mdi-coach-lamp:before{content:"󱀠"}.mdi-coach-lamp-variant:before{content:"󱨷"}.mdi-coat-rack:before{content:"󱂞"}.mdi-code-array:before{content:"󰅨"}.mdi-code-braces:before{content:"󰅩"}.mdi-code-braces-box:before{content:"󱃖"}.mdi-code-brackets:before{content:"󰅪"}.mdi-code-equal:before{content:"󰅫"}.mdi-code-greater-than:before{content:"󰅬"}.mdi-code-greater-than-or-equal:before{content:"󰅭"}.mdi-code-json:before{content:"󰘦"}.mdi-code-less-than:before{content:"󰅮"}.mdi-code-less-than-or-equal:before{content:"󰅯"}.mdi-code-not-equal:before{content:"󰅰"}.mdi-code-not-equal-variant:before{content:"󰅱"}.mdi-code-parentheses:before{content:"󰅲"}.mdi-code-parentheses-box:before{content:"󱃗"}.mdi-code-string:before{content:"󰅳"}.mdi-code-tags:before{content:"󰅴"}.mdi-code-tags-check:before{content:"󰚔"}.mdi-codepen:before{content:"󰅵"}.mdi-coffee:before{content:"󰅶"}.mdi-coffee-maker:before{content:"󱂟"}.mdi-coffee-maker-check:before{content:"󱤱"}.mdi-coffee-maker-check-outline:before{content:"󱤲"}.mdi-coffee-maker-outline:before{content:"󱠛"}.mdi-coffee-off:before{content:"󰾪"}.mdi-coffee-off-outline:before{content:"󰾫"}.mdi-coffee-outline:before{content:"󰛊"}.mdi-coffee-to-go:before{content:"󰅷"}.mdi-coffee-to-go-outline:before{content:"󱌎"}.mdi-coffin:before{content:"󰭿"}.mdi-cog:before{content:"󰒓"}.mdi-cog-box:before{content:"󰒔"}.mdi-cog-clockwise:before{content:"󱇝"}.mdi-cog-counterclockwise:before{content:"󱇞"}.mdi-cog-off:before{content:"󱏎"}.mdi-cog-off-outline:before{content:"󱏏"}.mdi-cog-outline:before{content:"󰢻"}.mdi-cog-pause:before{content:"󱤳"}.mdi-cog-pause-outline:before{content:"󱤴"}.mdi-cog-play:before{content:"󱤵"}.mdi-cog-play-outline:before{content:"󱤶"}.mdi-cog-refresh:before{content:"󱑞"}.mdi-cog-refresh-outline:before{content:"󱑟"}.mdi-cog-stop:before{content:"󱤷"}.mdi-cog-stop-outline:before{content:"󱤸"}.mdi-cog-sync:before{content:"󱑠"}.mdi-cog-sync-outline:before{content:"󱑡"}.mdi-cog-transfer:before{content:"󱁛"}.mdi-cog-transfer-outline:before{content:"󱁜"}.mdi-cogs:before{content:"󰣖"}.mdi-collage:before{content:"󰙀"}.mdi-collapse-all:before{content:"󰪦"}.mdi-collapse-all-outline:before{content:"󰪧"}.mdi-color-helper:before{content:"󰅹"}.mdi-comma:before{content:"󰸣"}.mdi-comma-box:before{content:"󰸫"}.mdi-comma-box-outline:before{content:"󰸤"}.mdi-comma-circle:before{content:"󰸥"}.mdi-comma-circle-outline:before{content:"󰸦"}.mdi-comment:before{content:"󰅺"}.mdi-comment-account:before{content:"󰅻"}.mdi-comment-account-outline:before{content:"󰅼"}.mdi-comment-alert:before{content:"󰅽"}.mdi-comment-alert-outline:before{content:"󰅾"}.mdi-comment-arrow-left:before{content:"󰧡"}.mdi-comment-arrow-left-outline:before{content:"󰧢"}.mdi-comment-arrow-right:before{content:"󰧣"}.mdi-comment-arrow-right-outline:before{content:"󰧤"}.mdi-comment-bookmark:before{content:"󱖮"}.mdi-comment-bookmark-outline:before{content:"󱖯"}.mdi-comment-check:before{content:"󰅿"}.mdi-comment-check-outline:before{content:"󰆀"}.mdi-comment-edit:before{content:"󱆿"}.mdi-comment-edit-outline:before{content:"󱋄"}.mdi-comment-eye:before{content:"󰨺"}.mdi-comment-eye-outline:before{content:"󰨻"}.mdi-comment-flash:before{content:"󱖰"}.mdi-comment-flash-outline:before{content:"󱖱"}.mdi-comment-minus:before{content:"󱗟"}.mdi-comment-minus-outline:before{content:"󱗠"}.mdi-comment-multiple:before{content:"󰡟"}.mdi-comment-multiple-outline:before{content:"󰆁"}.mdi-comment-off:before{content:"󱗡"}.mdi-comment-off-outline:before{content:"󱗢"}.mdi-comment-outline:before{content:"󰆂"}.mdi-comment-plus:before{content:"󰧥"}.mdi-comment-plus-outline:before{content:"󰆃"}.mdi-comment-processing:before{content:"󰆄"}.mdi-comment-processing-outline:before{content:"󰆅"}.mdi-comment-question:before{content:"󰠗"}.mdi-comment-question-outline:before{content:"󰆆"}.mdi-comment-quote:before{content:"󱀡"}.mdi-comment-quote-outline:before{content:"󱀢"}.mdi-comment-remove:before{content:"󰗞"}.mdi-comment-remove-outline:before{content:"󰆇"}.mdi-comment-search:before{content:"󰨼"}.mdi-comment-search-outline:before{content:"󰨽"}.mdi-comment-text:before{content:"󰆈"}.mdi-comment-text-multiple:before{content:"󰡠"}.mdi-comment-text-multiple-outline:before{content:"󰡡"}.mdi-comment-text-outline:before{content:"󰆉"}.mdi-compare:before{content:"󰆊"}.mdi-compare-horizontal:before{content:"󱒒"}.mdi-compare-remove:before{content:"󱢳"}.mdi-compare-vertical:before{content:"󱒓"}.mdi-compass:before{content:"󰆋"}.mdi-compass-off:before{content:"󰮀"}.mdi-compass-off-outline:before{content:"󰮁"}.mdi-compass-outline:before{content:"󰆌"}.mdi-compass-rose:before{content:"󱎂"}.mdi-compost:before{content:"󱨸"}.mdi-cone:before{content:"󱥌"}.mdi-cone-off:before{content:"󱥍"}.mdi-connection:before{content:"󱘖"}.mdi-console:before{content:"󰆍"}.mdi-console-line:before{content:"󰞷"}.mdi-console-network:before{content:"󰢩"}.mdi-console-network-outline:before{content:"󰱠"}.mdi-consolidate:before{content:"󱃘"}.mdi-contactless-payment:before{content:"󰵪"}.mdi-contactless-payment-circle:before{content:"󰌡"}.mdi-contactless-payment-circle-outline:before{content:"󰐈"}.mdi-contacts:before{content:"󰛋"}.mdi-contacts-outline:before{content:"󰖸"}.mdi-contain:before{content:"󰨾"}.mdi-contain-end:before{content:"󰨿"}.mdi-contain-start:before{content:"󰩀"}.mdi-content-copy:before{content:"󰆏"}.mdi-content-cut:before{content:"󰆐"}.mdi-content-duplicate:before{content:"󰆑"}.mdi-content-paste:before{content:"󰆒"}.mdi-content-save:before{content:"󰆓"}.mdi-content-save-alert:before{content:"󰽂"}.mdi-content-save-alert-outline:before{content:"󰽃"}.mdi-content-save-all:before{content:"󰆔"}.mdi-content-save-all-outline:before{content:"󰽄"}.mdi-content-save-check:before{content:"󱣪"}.mdi-content-save-check-outline:before{content:"󱣫"}.mdi-content-save-cog:before{content:"󱑛"}.mdi-content-save-cog-outline:before{content:"󱑜"}.mdi-content-save-edit:before{content:"󰳻"}.mdi-content-save-edit-outline:before{content:"󰳼"}.mdi-content-save-minus:before{content:"󱭃"}.mdi-content-save-minus-outline:before{content:"󱭄"}.mdi-content-save-move:before{content:"󰸧"}.mdi-content-save-move-outline:before{content:"󰸨"}.mdi-content-save-off:before{content:"󱙃"}.mdi-content-save-off-outline:before{content:"󱙄"}.mdi-content-save-outline:before{content:"󰠘"}.mdi-content-save-plus:before{content:"󱭁"}.mdi-content-save-plus-outline:before{content:"󱭂"}.mdi-content-save-settings:before{content:"󰘛"}.mdi-content-save-settings-outline:before{content:"󰬮"}.mdi-contrast:before{content:"󰆕"}.mdi-contrast-box:before{content:"󰆖"}.mdi-contrast-circle:before{content:"󰆗"}.mdi-controller:before{content:"󰊴"}.mdi-controller-classic:before{content:"󰮂"}.mdi-controller-classic-outline:before{content:"󰮃"}.mdi-controller-off:before{content:"󰊵"}.mdi-cookie:before{content:"󰆘"}.mdi-cookie-alert:before{content:"󱛐"}.mdi-cookie-alert-outline:before{content:"󱛑"}.mdi-cookie-check:before{content:"󱛒"}.mdi-cookie-check-outline:before{content:"󱛓"}.mdi-cookie-clock:before{content:"󱛤"}.mdi-cookie-clock-outline:before{content:"󱛥"}.mdi-cookie-cog:before{content:"󱛔"}.mdi-cookie-cog-outline:before{content:"󱛕"}.mdi-cookie-edit:before{content:"󱛦"}.mdi-cookie-edit-outline:before{content:"󱛧"}.mdi-cookie-lock:before{content:"󱛨"}.mdi-cookie-lock-outline:before{content:"󱛩"}.mdi-cookie-minus:before{content:"󱛚"}.mdi-cookie-minus-outline:before{content:"󱛛"}.mdi-cookie-off:before{content:"󱛪"}.mdi-cookie-off-outline:before{content:"󱛫"}.mdi-cookie-outline:before{content:"󱛞"}.mdi-cookie-plus:before{content:"󱛖"}.mdi-cookie-plus-outline:before{content:"󱛗"}.mdi-cookie-refresh:before{content:"󱛬"}.mdi-cookie-refresh-outline:before{content:"󱛭"}.mdi-cookie-remove:before{content:"󱛘"}.mdi-cookie-remove-outline:before{content:"󱛙"}.mdi-cookie-settings:before{content:"󱛜"}.mdi-cookie-settings-outline:before{content:"󱛝"}.mdi-coolant-temperature:before{content:"󰏈"}.mdi-copyleft:before{content:"󱤹"}.mdi-copyright:before{content:"󰗦"}.mdi-cordova:before{content:"󰥘"}.mdi-corn:before{content:"󰞸"}.mdi-corn-off:before{content:"󱏯"}.mdi-cosine-wave:before{content:"󱑹"}.mdi-counter:before{content:"󰆙"}.mdi-countertop:before{content:"󱠜"}.mdi-countertop-outline:before{content:"󱠝"}.mdi-cow:before{content:"󰆚"}.mdi-cow-off:before{content:"󱣼"}.mdi-cpu-32-bit:before{content:"󰻟"}.mdi-cpu-64-bit:before{content:"󰻠"}.mdi-cradle:before{content:"󱦋"}.mdi-cradle-outline:before{content:"󱦑"}.mdi-crane:before{content:"󰡢"}.mdi-creation:before{content:"󰙴"}.mdi-creation-outline:before{content:"󱰫"}.mdi-creative-commons:before{content:"󰵫"}.mdi-credit-card:before{content:"󰿯"}.mdi-credit-card-check:before{content:"󱏐"}.mdi-credit-card-check-outline:before{content:"󱏑"}.mdi-credit-card-chip:before{content:"󱤏"}.mdi-credit-card-chip-outline:before{content:"󱤐"}.mdi-credit-card-clock:before{content:"󰻡"}.mdi-credit-card-clock-outline:before{content:"󰻢"}.mdi-credit-card-edit:before{content:"󱟗"}.mdi-credit-card-edit-outline:before{content:"󱟘"}.mdi-credit-card-fast:before{content:"󱤑"}.mdi-credit-card-fast-outline:before{content:"󱤒"}.mdi-credit-card-lock:before{content:"󱣧"}.mdi-credit-card-lock-outline:before{content:"󱣨"}.mdi-credit-card-marker:before{content:"󰚨"}.mdi-credit-card-marker-outline:before{content:"󰶾"}.mdi-credit-card-minus:before{content:"󰾬"}.mdi-credit-card-minus-outline:before{content:"󰾭"}.mdi-credit-card-multiple:before{content:"󰿰"}.mdi-credit-card-multiple-outline:before{content:"󰆜"}.mdi-credit-card-off:before{content:"󰿱"}.mdi-credit-card-off-outline:before{content:"󰗤"}.mdi-credit-card-outline:before{content:"󰆛"}.mdi-credit-card-plus:before{content:"󰿲"}.mdi-credit-card-plus-outline:before{content:"󰙶"}.mdi-credit-card-refresh:before{content:"󱙅"}.mdi-credit-card-refresh-outline:before{content:"󱙆"}.mdi-credit-card-refund:before{content:"󰿳"}.mdi-credit-card-refund-outline:before{content:"󰪨"}.mdi-credit-card-remove:before{content:"󰾮"}.mdi-credit-card-remove-outline:before{content:"󰾯"}.mdi-credit-card-scan:before{content:"󰿴"}.mdi-credit-card-scan-outline:before{content:"󰆝"}.mdi-credit-card-search:before{content:"󱙇"}.mdi-credit-card-search-outline:before{content:"󱙈"}.mdi-credit-card-settings:before{content:"󰿵"}.mdi-credit-card-settings-outline:before{content:"󰣗"}.mdi-credit-card-sync:before{content:"󱙉"}.mdi-credit-card-sync-outline:before{content:"󱙊"}.mdi-credit-card-wireless:before{content:"󰠂"}.mdi-credit-card-wireless-off:before{content:"󰕺"}.mdi-credit-card-wireless-off-outline:before{content:"󰕻"}.mdi-credit-card-wireless-outline:before{content:"󰵬"}.mdi-cricket:before{content:"󰵭"}.mdi-crop:before{content:"󰆞"}.mdi-crop-free:before{content:"󰆟"}.mdi-crop-landscape:before{content:"󰆠"}.mdi-crop-portrait:before{content:"󰆡"}.mdi-crop-rotate:before{content:"󰚖"}.mdi-crop-square:before{content:"󰆢"}.mdi-cross:before{content:"󰥓"}.mdi-cross-bolnisi:before{content:"󰳭"}.mdi-cross-celtic:before{content:"󰳵"}.mdi-cross-outline:before{content:"󰳶"}.mdi-crosshairs:before{content:"󰆣"}.mdi-crosshairs-gps:before{content:"󰆤"}.mdi-crosshairs-off:before{content:"󰽅"}.mdi-crosshairs-question:before{content:"󱄶"}.mdi-crowd:before{content:"󱥵"}.mdi-crown:before{content:"󰆥"}.mdi-crown-circle:before{content:"󱟜"}.mdi-crown-circle-outline:before{content:"󱟝"}.mdi-crown-outline:before{content:"󱇐"}.mdi-cryengine:before{content:"󰥙"}.mdi-crystal-ball:before{content:"󰬯"}.mdi-cube:before{content:"󰆦"}.mdi-cube-off:before{content:"󱐜"}.mdi-cube-off-outline:before{content:"󱐝"}.mdi-cube-outline:before{content:"󰆧"}.mdi-cube-scan:before{content:"󰮄"}.mdi-cube-send:before{content:"󰆨"}.mdi-cube-unfolded:before{content:"󰆩"}.mdi-cup:before{content:"󰆪"}.mdi-cup-off:before{content:"󰗥"}.mdi-cup-off-outline:before{content:"󱍽"}.mdi-cup-outline:before{content:"󱌏"}.mdi-cup-water:before{content:"󰆫"}.mdi-cupboard:before{content:"󰽆"}.mdi-cupboard-outline:before{content:"󰽇"}.mdi-cupcake:before{content:"󰥚"}.mdi-curling:before{content:"󰡣"}.mdi-currency-bdt:before{content:"󰡤"}.mdi-currency-brl:before{content:"󰮅"}.mdi-currency-btc:before{content:"󰆬"}.mdi-currency-cny:before{content:"󰞺"}.mdi-currency-eth:before{content:"󰞻"}.mdi-currency-eur:before{content:"󰆭"}.mdi-currency-eur-off:before{content:"󱌕"}.mdi-currency-fra:before{content:"󱨹"}.mdi-currency-gbp:before{content:"󰆮"}.mdi-currency-ils:before{content:"󰱡"}.mdi-currency-inr:before{content:"󰆯"}.mdi-currency-jpy:before{content:"󰞼"}.mdi-currency-krw:before{content:"󰞽"}.mdi-currency-kzt:before{content:"󰡥"}.mdi-currency-mnt:before{content:"󱔒"}.mdi-currency-ngn:before{content:"󰆰"}.mdi-currency-php:before{content:"󰧦"}.mdi-currency-rial:before{content:"󰺜"}.mdi-currency-rub:before{content:"󰆱"}.mdi-currency-rupee:before{content:"󱥶"}.mdi-currency-sign:before{content:"󰞾"}.mdi-currency-thb:before{content:"󱰅"}.mdi-currency-try:before{content:"󰆲"}.mdi-currency-twd:before{content:"󰞿"}.mdi-currency-uah:before{content:"󱮛"}.mdi-currency-usd:before{content:"󰇁"}.mdi-currency-usd-off:before{content:"󰙺"}.mdi-current-ac:before{content:"󱒀"}.mdi-current-dc:before{content:"󰥜"}.mdi-cursor-default:before{content:"󰇀"}.mdi-cursor-default-click:before{content:"󰳽"}.mdi-cursor-default-click-outline:before{content:"󰳾"}.mdi-cursor-default-gesture:before{content:"󱄧"}.mdi-cursor-default-gesture-outline:before{content:"󱄨"}.mdi-cursor-default-outline:before{content:"󰆿"}.mdi-cursor-move:before{content:"󰆾"}.mdi-cursor-pointer:before{content:"󰆽"}.mdi-cursor-text:before{content:"󰗧"}.mdi-curtains:before{content:"󱡆"}.mdi-curtains-closed:before{content:"󱡇"}.mdi-cylinder:before{content:"󱥎"}.mdi-cylinder-off:before{content:"󱥏"}.mdi-dance-ballroom:before{content:"󱗻"}.mdi-dance-pole:before{content:"󱕸"}.mdi-data-matrix:before{content:"󱔼"}.mdi-data-matrix-edit:before{content:"󱔽"}.mdi-data-matrix-minus:before{content:"󱔾"}.mdi-data-matrix-plus:before{content:"󱔿"}.mdi-data-matrix-remove:before{content:"󱕀"}.mdi-data-matrix-scan:before{content:"󱕁"}.mdi-database:before{content:"󰆼"}.mdi-database-alert:before{content:"󱘺"}.mdi-database-alert-outline:before{content:"󱘤"}.mdi-database-arrow-down:before{content:"󱘻"}.mdi-database-arrow-down-outline:before{content:"󱘥"}.mdi-database-arrow-left:before{content:"󱘼"}.mdi-database-arrow-left-outline:before{content:"󱘦"}.mdi-database-arrow-right:before{content:"󱘽"}.mdi-database-arrow-right-outline:before{content:"󱘧"}.mdi-database-arrow-up:before{content:"󱘾"}.mdi-database-arrow-up-outline:before{content:"󱘨"}.mdi-database-check:before{content:"󰪩"}.mdi-database-check-outline:before{content:"󱘩"}.mdi-database-clock:before{content:"󱘿"}.mdi-database-clock-outline:before{content:"󱘪"}.mdi-database-cog:before{content:"󱙋"}.mdi-database-cog-outline:before{content:"󱙌"}.mdi-database-edit:before{content:"󰮆"}.mdi-database-edit-outline:before{content:"󱘫"}.mdi-database-export:before{content:"󰥞"}.mdi-database-export-outline:before{content:"󱘬"}.mdi-database-eye:before{content:"󱤟"}.mdi-database-eye-off:before{content:"󱤠"}.mdi-database-eye-off-outline:before{content:"󱤡"}.mdi-database-eye-outline:before{content:"󱤢"}.mdi-database-import:before{content:"󰥝"}.mdi-database-import-outline:before{content:"󱘭"}.mdi-database-lock:before{content:"󰪪"}.mdi-database-lock-outline:before{content:"󱘮"}.mdi-database-marker:before{content:"󱋶"}.mdi-database-marker-outline:before{content:"󱘯"}.mdi-database-minus:before{content:"󰆻"}.mdi-database-minus-outline:before{content:"󱘰"}.mdi-database-off:before{content:"󱙀"}.mdi-database-off-outline:before{content:"󱘱"}.mdi-database-outline:before{content:"󱘲"}.mdi-database-plus:before{content:"󰆺"}.mdi-database-plus-outline:before{content:"󱘳"}.mdi-database-refresh:before{content:"󰗂"}.mdi-database-refresh-outline:before{content:"󱘴"}.mdi-database-remove:before{content:"󰴀"}.mdi-database-remove-outline:before{content:"󱘵"}.mdi-database-search:before{content:"󰡦"}.mdi-database-search-outline:before{content:"󱘶"}.mdi-database-settings:before{content:"󰴁"}.mdi-database-settings-outline:before{content:"󱘷"}.mdi-database-sync:before{content:"󰳿"}.mdi-database-sync-outline:before{content:"󱘸"}.mdi-death-star:before{content:"󰣘"}.mdi-death-star-variant:before{content:"󰣙"}.mdi-deathly-hallows:before{content:"󰮇"}.mdi-debian:before{content:"󰣚"}.mdi-debug-step-into:before{content:"󰆹"}.mdi-debug-step-out:before{content:"󰆸"}.mdi-debug-step-over:before{content:"󰆷"}.mdi-decagram:before{content:"󰝬"}.mdi-decagram-outline:before{content:"󰝭"}.mdi-decimal:before{content:"󱂡"}.mdi-decimal-comma:before{content:"󱂢"}.mdi-decimal-comma-decrease:before{content:"󱂣"}.mdi-decimal-comma-increase:before{content:"󱂤"}.mdi-decimal-decrease:before{content:"󰆶"}.mdi-decimal-increase:before{content:"󰆵"}.mdi-delete:before{content:"󰆴"}.mdi-delete-alert:before{content:"󱂥"}.mdi-delete-alert-outline:before{content:"󱂦"}.mdi-delete-circle:before{content:"󰚃"}.mdi-delete-circle-outline:before{content:"󰮈"}.mdi-delete-clock:before{content:"󱕖"}.mdi-delete-clock-outline:before{content:"󱕗"}.mdi-delete-empty:before{content:"󰛌"}.mdi-delete-empty-outline:before{content:"󰺝"}.mdi-delete-forever:before{content:"󰗨"}.mdi-delete-forever-outline:before{content:"󰮉"}.mdi-delete-off:before{content:"󱂧"}.mdi-delete-off-outline:before{content:"󱂨"}.mdi-delete-outline:before{content:"󰧧"}.mdi-delete-restore:before{content:"󰠙"}.mdi-delete-sweep:before{content:"󰗩"}.mdi-delete-sweep-outline:before{content:"󰱢"}.mdi-delete-variant:before{content:"󰆳"}.mdi-delta:before{content:"󰇂"}.mdi-desk:before{content:"󱈹"}.mdi-desk-lamp:before{content:"󰥟"}.mdi-desk-lamp-off:before{content:"󱬟"}.mdi-desk-lamp-on:before{content:"󱬠"}.mdi-deskphone:before{content:"󰇃"}.mdi-desktop-classic:before{content:"󰟀"}.mdi-desktop-tower:before{content:"󰇅"}.mdi-desktop-tower-monitor:before{content:"󰪫"}.mdi-details:before{content:"󰇆"}.mdi-dev-to:before{content:"󰵮"}.mdi-developer-board:before{content:"󰚗"}.mdi-deviantart:before{content:"󰇇"}.mdi-devices:before{content:"󰾰"}.mdi-dharmachakra:before{content:"󰥋"}.mdi-diabetes:before{content:"󱄦"}.mdi-dialpad:before{content:"󰘜"}.mdi-diameter:before{content:"󰱣"}.mdi-diameter-outline:before{content:"󰱤"}.mdi-diameter-variant:before{content:"󰱥"}.mdi-diamond:before{content:"󰮊"}.mdi-diamond-outline:before{content:"󰮋"}.mdi-diamond-stone:before{content:"󰇈"}.mdi-dice-1:before{content:"󰇊"}.mdi-dice-1-outline:before{content:"󱅊"}.mdi-dice-2:before{content:"󰇋"}.mdi-dice-2-outline:before{content:"󱅋"}.mdi-dice-3:before{content:"󰇌"}.mdi-dice-3-outline:before{content:"󱅌"}.mdi-dice-4:before{content:"󰇍"}.mdi-dice-4-outline:before{content:"󱅍"}.mdi-dice-5:before{content:"󰇎"}.mdi-dice-5-outline:before{content:"󱅎"}.mdi-dice-6:before{content:"󰇏"}.mdi-dice-6-outline:before{content:"󱅏"}.mdi-dice-d10:before{content:"󱅓"}.mdi-dice-d10-outline:before{content:"󰝯"}.mdi-dice-d12:before{content:"󱅔"}.mdi-dice-d12-outline:before{content:"󰡧"}.mdi-dice-d20:before{content:"󱅕"}.mdi-dice-d20-outline:before{content:"󰗪"}.mdi-dice-d4:before{content:"󱅐"}.mdi-dice-d4-outline:before{content:"󰗫"}.mdi-dice-d6:before{content:"󱅑"}.mdi-dice-d6-outline:before{content:"󰗭"}.mdi-dice-d8:before{content:"󱅒"}.mdi-dice-d8-outline:before{content:"󰗬"}.mdi-dice-multiple:before{content:"󰝮"}.mdi-dice-multiple-outline:before{content:"󱅖"}.mdi-digital-ocean:before{content:"󱈷"}.mdi-dip-switch:before{content:"󰟁"}.mdi-directions:before{content:"󰇐"}.mdi-directions-fork:before{content:"󰙁"}.mdi-disc:before{content:"󰗮"}.mdi-disc-alert:before{content:"󰇑"}.mdi-disc-player:before{content:"󰥠"}.mdi-dishwasher:before{content:"󰪬"}.mdi-dishwasher-alert:before{content:"󱆸"}.mdi-dishwasher-off:before{content:"󱆹"}.mdi-disqus:before{content:"󰇒"}.mdi-distribute-horizontal-center:before{content:"󱇉"}.mdi-distribute-horizontal-left:before{content:"󱇈"}.mdi-distribute-horizontal-right:before{content:"󱇊"}.mdi-distribute-vertical-bottom:before{content:"󱇋"}.mdi-distribute-vertical-center:before{content:"󱇌"}.mdi-distribute-vertical-top:before{content:"󱇍"}.mdi-diversify:before{content:"󱡷"}.mdi-diving:before{content:"󱥷"}.mdi-diving-flippers:before{content:"󰶿"}.mdi-diving-helmet:before{content:"󰷀"}.mdi-diving-scuba:before{content:"󱭷"}.mdi-diving-scuba-flag:before{content:"󰷂"}.mdi-diving-scuba-mask:before{content:"󰷁"}.mdi-diving-scuba-tank:before{content:"󰷃"}.mdi-diving-scuba-tank-multiple:before{content:"󰷄"}.mdi-diving-snorkel:before{content:"󰷅"}.mdi-division:before{content:"󰇔"}.mdi-division-box:before{content:"󰇕"}.mdi-dlna:before{content:"󰩁"}.mdi-dna:before{content:"󰚄"}.mdi-dns:before{content:"󰇖"}.mdi-dns-outline:before{content:"󰮌"}.mdi-dock-bottom:before{content:"󱂩"}.mdi-dock-left:before{content:"󱂪"}.mdi-dock-right:before{content:"󱂫"}.mdi-dock-top:before{content:"󱔓"}.mdi-dock-window:before{content:"󱂬"}.mdi-docker:before{content:"󰡨"}.mdi-doctor:before{content:"󰩂"}.mdi-dog:before{content:"󰩃"}.mdi-dog-service:before{content:"󰪭"}.mdi-dog-side:before{content:"󰩄"}.mdi-dog-side-off:before{content:"󱛮"}.mdi-dolby:before{content:"󰚳"}.mdi-dolly:before{content:"󰺞"}.mdi-dolphin:before{content:"󱢴"}.mdi-domain:before{content:"󰇗"}.mdi-domain-off:before{content:"󰵯"}.mdi-domain-plus:before{content:"󱂭"}.mdi-domain-remove:before{content:"󱂮"}.mdi-domain-switch:before{content:"󱰬"}.mdi-dome-light:before{content:"󱐞"}.mdi-domino-mask:before{content:"󱀣"}.mdi-donkey:before{content:"󰟂"}.mdi-door:before{content:"󰠚"}.mdi-door-closed:before{content:"󰠛"}.mdi-door-closed-lock:before{content:"󱂯"}.mdi-door-open:before{content:"󰠜"}.mdi-door-sliding:before{content:"󱠞"}.mdi-door-sliding-lock:before{content:"󱠟"}.mdi-door-sliding-open:before{content:"󱠠"}.mdi-doorbell:before{content:"󱋦"}.mdi-doorbell-video:before{content:"󰡩"}.mdi-dot-net:before{content:"󰪮"}.mdi-dots-circle:before{content:"󱥸"}.mdi-dots-grid:before{content:"󱗼"}.mdi-dots-hexagon:before{content:"󱗿"}.mdi-dots-horizontal:before{content:"󰇘"}.mdi-dots-horizontal-circle:before{content:"󰟃"}.mdi-dots-horizontal-circle-outline:before{content:"󰮍"}.mdi-dots-square:before{content:"󱗽"}.mdi-dots-triangle:before{content:"󱗾"}.mdi-dots-vertical:before{content:"󰇙"}.mdi-dots-vertical-circle:before{content:"󰟄"}.mdi-dots-vertical-circle-outline:before{content:"󰮎"}.mdi-download:before{content:"󰇚"}.mdi-download-box:before{content:"󱑢"}.mdi-download-box-outline:before{content:"󱑣"}.mdi-download-circle:before{content:"󱑤"}.mdi-download-circle-outline:before{content:"󱑥"}.mdi-download-lock:before{content:"󱌠"}.mdi-download-lock-outline:before{content:"󱌡"}.mdi-download-multiple:before{content:"󰧩"}.mdi-download-network:before{content:"󰛴"}.mdi-download-network-outline:before{content:"󰱦"}.mdi-download-off:before{content:"󱂰"}.mdi-download-off-outline:before{content:"󱂱"}.mdi-download-outline:before{content:"󰮏"}.mdi-drag:before{content:"󰇛"}.mdi-drag-horizontal:before{content:"󰇜"}.mdi-drag-horizontal-variant:before{content:"󱋰"}.mdi-drag-variant:before{content:"󰮐"}.mdi-drag-vertical:before{content:"󰇝"}.mdi-drag-vertical-variant:before{content:"󱋱"}.mdi-drama-masks:before{content:"󰴂"}.mdi-draw:before{content:"󰽉"}.mdi-draw-pen:before{content:"󱦹"}.mdi-drawing:before{content:"󰇞"}.mdi-drawing-box:before{content:"󰇟"}.mdi-dresser:before{content:"󰽊"}.mdi-dresser-outline:before{content:"󰽋"}.mdi-drone:before{content:"󰇢"}.mdi-dropbox:before{content:"󰇣"}.mdi-drupal:before{content:"󰇤"}.mdi-duck:before{content:"󰇥"}.mdi-dumbbell:before{content:"󰇦"}.mdi-dump-truck:before{content:"󰱧"}.mdi-ear-hearing:before{content:"󰟅"}.mdi-ear-hearing-loop:before{content:"󱫮"}.mdi-ear-hearing-off:before{content:"󰩅"}.mdi-earbuds:before{content:"󱡏"}.mdi-earbuds-off:before{content:"󱡐"}.mdi-earbuds-off-outline:before{content:"󱡑"}.mdi-earbuds-outline:before{content:"󱡒"}.mdi-earth:before{content:"󰇧"}.mdi-earth-arrow-right:before{content:"󱌑"}.mdi-earth-box:before{content:"󰛍"}.mdi-earth-box-minus:before{content:"󱐇"}.mdi-earth-box-off:before{content:"󰛎"}.mdi-earth-box-plus:before{content:"󱐆"}.mdi-earth-box-remove:before{content:"󱐈"}.mdi-earth-minus:before{content:"󱐄"}.mdi-earth-off:before{content:"󰇨"}.mdi-earth-plus:before{content:"󱐃"}.mdi-earth-remove:before{content:"󱐅"}.mdi-egg:before{content:"󰪯"}.mdi-egg-easter:before{content:"󰪰"}.mdi-egg-fried:before{content:"󱡊"}.mdi-egg-off:before{content:"󱏰"}.mdi-egg-off-outline:before{content:"󱏱"}.mdi-egg-outline:before{content:"󱏲"}.mdi-eiffel-tower:before{content:"󱕫"}.mdi-eight-track:before{content:"󰧪"}.mdi-eject:before{content:"󰇪"}.mdi-eject-circle:before{content:"󱬣"}.mdi-eject-circle-outline:before{content:"󱬤"}.mdi-eject-outline:before{content:"󰮑"}.mdi-electric-switch:before{content:"󰺟"}.mdi-electric-switch-closed:before{content:"󱃙"}.mdi-electron-framework:before{content:"󱀤"}.mdi-elephant:before{content:"󰟆"}.mdi-elevation-decline:before{content:"󰇫"}.mdi-elevation-rise:before{content:"󰇬"}.mdi-elevator:before{content:"󰇭"}.mdi-elevator-down:before{content:"󱋂"}.mdi-elevator-passenger:before{content:"󱎁"}.mdi-elevator-passenger-off:before{content:"󱥹"}.mdi-elevator-passenger-off-outline:before{content:"󱥺"}.mdi-elevator-passenger-outline:before{content:"󱥻"}.mdi-elevator-up:before{content:"󱋁"}.mdi-ellipse:before{content:"󰺠"}.mdi-ellipse-outline:before{content:"󰺡"}.mdi-email:before{content:"󰇮"}.mdi-email-alert:before{content:"󰛏"}.mdi-email-alert-outline:before{content:"󰵂"}.mdi-email-arrow-left:before{content:"󱃚"}.mdi-email-arrow-left-outline:before{content:"󱃛"}.mdi-email-arrow-right:before{content:"󱃜"}.mdi-email-arrow-right-outline:before{content:"󱃝"}.mdi-email-box:before{content:"󰴃"}.mdi-email-check:before{content:"󰪱"}.mdi-email-check-outline:before{content:"󰪲"}.mdi-email-edit:before{content:"󰻣"}.mdi-email-edit-outline:before{content:"󰻤"}.mdi-email-fast:before{content:"󱡯"}.mdi-email-fast-outline:before{content:"󱡰"}.mdi-email-heart-outline:before{content:"󱱛"}.mdi-email-lock:before{content:"󰇱"}.mdi-email-lock-outline:before{content:"󱭡"}.mdi-email-mark-as-unread:before{content:"󰮒"}.mdi-email-minus:before{content:"󰻥"}.mdi-email-minus-outline:before{content:"󰻦"}.mdi-email-multiple:before{content:"󰻧"}.mdi-email-multiple-outline:before{content:"󰻨"}.mdi-email-newsletter:before{content:"󰾱"}.mdi-email-off:before{content:"󱏣"}.mdi-email-off-outline:before{content:"󱏤"}.mdi-email-open:before{content:"󰇯"}.mdi-email-open-heart-outline:before{content:"󱱜"}.mdi-email-open-multiple:before{content:"󰻩"}.mdi-email-open-multiple-outline:before{content:"󰻪"}.mdi-email-open-outline:before{content:"󰗯"}.mdi-email-outline:before{content:"󰇰"}.mdi-email-plus:before{content:"󰧫"}.mdi-email-plus-outline:before{content:"󰧬"}.mdi-email-remove:before{content:"󱙡"}.mdi-email-remove-outline:before{content:"󱙢"}.mdi-email-seal:before{content:"󱥛"}.mdi-email-seal-outline:before{content:"󱥜"}.mdi-email-search:before{content:"󰥡"}.mdi-email-search-outline:before{content:"󰥢"}.mdi-email-sync:before{content:"󱋇"}.mdi-email-sync-outline:before{content:"󱋈"}.mdi-email-variant:before{content:"󰗰"}.mdi-ember:before{content:"󰬰"}.mdi-emby:before{content:"󰚴"}.mdi-emoticon:before{content:"󰱨"}.mdi-emoticon-angry:before{content:"󰱩"}.mdi-emoticon-angry-outline:before{content:"󰱪"}.mdi-emoticon-confused:before{content:"󱃞"}.mdi-emoticon-confused-outline:before{content:"󱃟"}.mdi-emoticon-cool:before{content:"󰱫"}.mdi-emoticon-cool-outline:before{content:"󰇳"}.mdi-emoticon-cry:before{content:"󰱬"}.mdi-emoticon-cry-outline:before{content:"󰱭"}.mdi-emoticon-dead:before{content:"󰱮"}.mdi-emoticon-dead-outline:before{content:"󰚛"}.mdi-emoticon-devil:before{content:"󰱯"}.mdi-emoticon-devil-outline:before{content:"󰇴"}.mdi-emoticon-excited:before{content:"󰱰"}.mdi-emoticon-excited-outline:before{content:"󰚜"}.mdi-emoticon-frown:before{content:"󰽌"}.mdi-emoticon-frown-outline:before{content:"󰽍"}.mdi-emoticon-happy:before{content:"󰱱"}.mdi-emoticon-happy-outline:before{content:"󰇵"}.mdi-emoticon-kiss:before{content:"󰱲"}.mdi-emoticon-kiss-outline:before{content:"󰱳"}.mdi-emoticon-lol:before{content:"󱈔"}.mdi-emoticon-lol-outline:before{content:"󱈕"}.mdi-emoticon-neutral:before{content:"󰱴"}.mdi-emoticon-neutral-outline:before{content:"󰇶"}.mdi-emoticon-outline:before{content:"󰇲"}.mdi-emoticon-poop:before{content:"󰇷"}.mdi-emoticon-poop-outline:before{content:"󰱵"}.mdi-emoticon-sad:before{content:"󰱶"}.mdi-emoticon-sad-outline:before{content:"󰇸"}.mdi-emoticon-sick:before{content:"󱕼"}.mdi-emoticon-sick-outline:before{content:"󱕽"}.mdi-emoticon-tongue:before{content:"󰇹"}.mdi-emoticon-tongue-outline:before{content:"󰱷"}.mdi-emoticon-wink:before{content:"󰱸"}.mdi-emoticon-wink-outline:before{content:"󰱹"}.mdi-engine:before{content:"󰇺"}.mdi-engine-off:before{content:"󰩆"}.mdi-engine-off-outline:before{content:"󰩇"}.mdi-engine-outline:before{content:"󰇻"}.mdi-epsilon:before{content:"󱃠"}.mdi-equal:before{content:"󰇼"}.mdi-equal-box:before{content:"󰇽"}.mdi-equalizer:before{content:"󰺢"}.mdi-equalizer-outline:before{content:"󰺣"}.mdi-eraser:before{content:"󰇾"}.mdi-eraser-variant:before{content:"󰙂"}.mdi-escalator:before{content:"󰇿"}.mdi-escalator-box:before{content:"󱎙"}.mdi-escalator-down:before{content:"󱋀"}.mdi-escalator-up:before{content:"󱊿"}.mdi-eslint:before{content:"󰱺"}.mdi-et:before{content:"󰪳"}.mdi-ethereum:before{content:"󰡪"}.mdi-ethernet:before{content:"󰈀"}.mdi-ethernet-cable:before{content:"󰈁"}.mdi-ethernet-cable-off:before{content:"󰈂"}.mdi-ev-plug-ccs1:before{content:"󱔙"}.mdi-ev-plug-ccs2:before{content:"󱔚"}.mdi-ev-plug-chademo:before{content:"󱔛"}.mdi-ev-plug-tesla:before{content:"󱔜"}.mdi-ev-plug-type1:before{content:"󱔝"}.mdi-ev-plug-type2:before{content:"󱔞"}.mdi-ev-station:before{content:"󰗱"}.mdi-evernote:before{content:"󰈄"}.mdi-excavator:before{content:"󱀥"}.mdi-exclamation:before{content:"󰈅"}.mdi-exclamation-thick:before{content:"󱈸"}.mdi-exit-run:before{content:"󰩈"}.mdi-exit-to-app:before{content:"󰈆"}.mdi-expand-all:before{content:"󰪴"}.mdi-expand-all-outline:before{content:"󰪵"}.mdi-expansion-card:before{content:"󰢮"}.mdi-expansion-card-variant:before{content:"󰾲"}.mdi-exponent:before{content:"󰥣"}.mdi-exponent-box:before{content:"󰥤"}.mdi-export:before{content:"󰈇"}.mdi-export-variant:before{content:"󰮓"}.mdi-eye:before{content:"󰈈"}.mdi-eye-arrow-left:before{content:"󱣽"}.mdi-eye-arrow-left-outline:before{content:"󱣾"}.mdi-eye-arrow-right:before{content:"󱣿"}.mdi-eye-arrow-right-outline:before{content:"󱤀"}.mdi-eye-check:before{content:"󰴄"}.mdi-eye-check-outline:before{content:"󰴅"}.mdi-eye-circle:before{content:"󰮔"}.mdi-eye-circle-outline:before{content:"󰮕"}.mdi-eye-lock:before{content:"󱰆"}.mdi-eye-lock-open:before{content:"󱰇"}.mdi-eye-lock-open-outline:before{content:"󱰈"}.mdi-eye-lock-outline:before{content:"󱰉"}.mdi-eye-minus:before{content:"󱀦"}.mdi-eye-minus-outline:before{content:"󱀧"}.mdi-eye-off:before{content:"󰈉"}.mdi-eye-off-outline:before{content:"󰛑"}.mdi-eye-outline:before{content:"󰛐"}.mdi-eye-plus:before{content:"󰡫"}.mdi-eye-plus-outline:before{content:"󰡬"}.mdi-eye-refresh:before{content:"󱥼"}.mdi-eye-refresh-outline:before{content:"󱥽"}.mdi-eye-remove:before{content:"󱗣"}.mdi-eye-remove-outline:before{content:"󱗤"}.mdi-eye-settings:before{content:"󰡭"}.mdi-eye-settings-outline:before{content:"󰡮"}.mdi-eyedropper:before{content:"󰈊"}.mdi-eyedropper-minus:before{content:"󱏝"}.mdi-eyedropper-off:before{content:"󱏟"}.mdi-eyedropper-plus:before{content:"󱏜"}.mdi-eyedropper-remove:before{content:"󱏞"}.mdi-eyedropper-variant:before{content:"󰈋"}.mdi-face-agent:before{content:"󰵰"}.mdi-face-man:before{content:"󰙃"}.mdi-face-man-outline:before{content:"󰮖"}.mdi-face-man-profile:before{content:"󰙄"}.mdi-face-man-shimmer:before{content:"󱗌"}.mdi-face-man-shimmer-outline:before{content:"󱗍"}.mdi-face-mask:before{content:"󱖆"}.mdi-face-mask-outline:before{content:"󱖇"}.mdi-face-recognition:before{content:"󰱻"}.mdi-face-woman:before{content:"󱁷"}.mdi-face-woman-outline:before{content:"󱁸"}.mdi-face-woman-profile:before{content:"󱁶"}.mdi-face-woman-shimmer:before{content:"󱗎"}.mdi-face-woman-shimmer-outline:before{content:"󱗏"}.mdi-facebook:before{content:"󰈌"}.mdi-facebook-gaming:before{content:"󰟝"}.mdi-facebook-messenger:before{content:"󰈎"}.mdi-facebook-workplace:before{content:"󰬱"}.mdi-factory:before{content:"󰈏"}.mdi-family-tree:before{content:"󱘎"}.mdi-fan:before{content:"󰈐"}.mdi-fan-alert:before{content:"󱑬"}.mdi-fan-auto:before{content:"󱜝"}.mdi-fan-chevron-down:before{content:"󱑭"}.mdi-fan-chevron-up:before{content:"󱑮"}.mdi-fan-clock:before{content:"󱨺"}.mdi-fan-minus:before{content:"󱑰"}.mdi-fan-off:before{content:"󰠝"}.mdi-fan-plus:before{content:"󱑯"}.mdi-fan-remove:before{content:"󱑱"}.mdi-fan-speed-1:before{content:"󱑲"}.mdi-fan-speed-2:before{content:"󱑳"}.mdi-fan-speed-3:before{content:"󱑴"}.mdi-fast-forward:before{content:"󰈑"}.mdi-fast-forward-10:before{content:"󰵱"}.mdi-fast-forward-15:before{content:"󱤺"}.mdi-fast-forward-30:before{content:"󰴆"}.mdi-fast-forward-45:before{content:"󱬒"}.mdi-fast-forward-5:before{content:"󱇸"}.mdi-fast-forward-60:before{content:"󱘋"}.mdi-fast-forward-outline:before{content:"󰛒"}.mdi-faucet:before{content:"󱬩"}.mdi-faucet-variant:before{content:"󱬪"}.mdi-fax:before{content:"󰈒"}.mdi-feather:before{content:"󰛓"}.mdi-feature-search:before{content:"󰩉"}.mdi-feature-search-outline:before{content:"󰩊"}.mdi-fedora:before{content:"󰣛"}.mdi-fence:before{content:"󱞚"}.mdi-fence-electric:before{content:"󱟶"}.mdi-fencing:before{content:"󱓁"}.mdi-ferris-wheel:before{content:"󰺤"}.mdi-ferry:before{content:"󰈓"}.mdi-file:before{content:"󰈔"}.mdi-file-account:before{content:"󰜻"}.mdi-file-account-outline:before{content:"󱀨"}.mdi-file-alert:before{content:"󰩋"}.mdi-file-alert-outline:before{content:"󰩌"}.mdi-file-arrow-left-right:before{content:"󱪓"}.mdi-file-arrow-left-right-outline:before{content:"󱪔"}.mdi-file-arrow-up-down:before{content:"󱪕"}.mdi-file-arrow-up-down-outline:before{content:"󱪖"}.mdi-file-cabinet:before{content:"󰪶"}.mdi-file-cad:before{content:"󰻫"}.mdi-file-cad-box:before{content:"󰻬"}.mdi-file-cancel:before{content:"󰷆"}.mdi-file-cancel-outline:before{content:"󰷇"}.mdi-file-certificate:before{content:"󱆆"}.mdi-file-certificate-outline:before{content:"󱆇"}.mdi-file-chart:before{content:"󰈕"}.mdi-file-chart-check:before{content:"󱧆"}.mdi-file-chart-check-outline:before{content:"󱧇"}.mdi-file-chart-outline:before{content:"󱀩"}.mdi-file-check:before{content:"󰈖"}.mdi-file-check-outline:before{content:"󰸩"}.mdi-file-clock:before{content:"󱋡"}.mdi-file-clock-outline:before{content:"󱋢"}.mdi-file-cloud:before{content:"󰈗"}.mdi-file-cloud-outline:before{content:"󱀪"}.mdi-file-code:before{content:"󰈮"}.mdi-file-code-outline:before{content:"󱀫"}.mdi-file-cog:before{content:"󱁻"}.mdi-file-cog-outline:before{content:"󱁼"}.mdi-file-compare:before{content:"󰢪"}.mdi-file-delimited:before{content:"󰈘"}.mdi-file-delimited-outline:before{content:"󰺥"}.mdi-file-document:before{content:"󰈙"}.mdi-file-document-alert:before{content:"󱪗"}.mdi-file-document-alert-outline:before{content:"󱪘"}.mdi-file-document-arrow-right:before{content:"󱰏"}.mdi-file-document-arrow-right-outline:before{content:"󱰐"}.mdi-file-document-check:before{content:"󱪙"}.mdi-file-document-check-outline:before{content:"󱪚"}.mdi-file-document-edit:before{content:"󰷈"}.mdi-file-document-edit-outline:before{content:"󰷉"}.mdi-file-document-minus:before{content:"󱪛"}.mdi-file-document-minus-outline:before{content:"󱪜"}.mdi-file-document-multiple:before{content:"󱔗"}.mdi-file-document-multiple-outline:before{content:"󱔘"}.mdi-file-document-outline:before{content:"󰧮"}.mdi-file-document-plus:before{content:"󱪝"}.mdi-file-document-plus-outline:before{content:"󱪞"}.mdi-file-document-refresh:before{content:"󱱺"}.mdi-file-document-refresh-outline:before{content:"󱱻"}.mdi-file-document-remove:before{content:"󱪟"}.mdi-file-document-remove-outline:before{content:"󱪠"}.mdi-file-download:before{content:"󰥥"}.mdi-file-download-outline:before{content:"󰥦"}.mdi-file-edit:before{content:"󱇧"}.mdi-file-edit-outline:before{content:"󱇨"}.mdi-file-excel:before{content:"󰈛"}.mdi-file-excel-box:before{content:"󰈜"}.mdi-file-excel-box-outline:before{content:"󱀬"}.mdi-file-excel-outline:before{content:"󱀭"}.mdi-file-export:before{content:"󰈝"}.mdi-file-export-outline:before{content:"󱀮"}.mdi-file-eye:before{content:"󰷊"}.mdi-file-eye-outline:before{content:"󰷋"}.mdi-file-find:before{content:"󰈞"}.mdi-file-find-outline:before{content:"󰮗"}.mdi-file-gif-box:before{content:"󰵸"}.mdi-file-hidden:before{content:"󰘓"}.mdi-file-image:before{content:"󰈟"}.mdi-file-image-marker:before{content:"󱝲"}.mdi-file-image-marker-outline:before{content:"󱝳"}.mdi-file-image-minus:before{content:"󱤻"}.mdi-file-image-minus-outline:before{content:"󱤼"}.mdi-file-image-outline:before{content:"󰺰"}.mdi-file-image-plus:before{content:"󱤽"}.mdi-file-image-plus-outline:before{content:"󱤾"}.mdi-file-image-remove:before{content:"󱤿"}.mdi-file-image-remove-outline:before{content:"󱥀"}.mdi-file-import:before{content:"󰈠"}.mdi-file-import-outline:before{content:"󱀯"}.mdi-file-jpg-box:before{content:"󰈥"}.mdi-file-key:before{content:"󱆄"}.mdi-file-key-outline:before{content:"󱆅"}.mdi-file-link:before{content:"󱅷"}.mdi-file-link-outline:before{content:"󱅸"}.mdi-file-lock:before{content:"󰈡"}.mdi-file-lock-open:before{content:"󱧈"}.mdi-file-lock-open-outline:before{content:"󱧉"}.mdi-file-lock-outline:before{content:"󱀰"}.mdi-file-marker:before{content:"󱝴"}.mdi-file-marker-outline:before{content:"󱝵"}.mdi-file-minus:before{content:"󱪡"}.mdi-file-minus-outline:before{content:"󱪢"}.mdi-file-move:before{content:"󰪹"}.mdi-file-move-outline:before{content:"󱀱"}.mdi-file-multiple:before{content:"󰈢"}.mdi-file-multiple-outline:before{content:"󱀲"}.mdi-file-music:before{content:"󰈣"}.mdi-file-music-outline:before{content:"󰸪"}.mdi-file-outline:before{content:"󰈤"}.mdi-file-pdf-box:before{content:"󰈦"}.mdi-file-percent:before{content:"󰠞"}.mdi-file-percent-outline:before{content:"󱀳"}.mdi-file-phone:before{content:"󱅹"}.mdi-file-phone-outline:before{content:"󱅺"}.mdi-file-plus:before{content:"󰝒"}.mdi-file-plus-outline:before{content:"󰻭"}.mdi-file-png-box:before{content:"󰸭"}.mdi-file-powerpoint:before{content:"󰈧"}.mdi-file-powerpoint-box:before{content:"󰈨"}.mdi-file-powerpoint-box-outline:before{content:"󱀴"}.mdi-file-powerpoint-outline:before{content:"󱀵"}.mdi-file-presentation-box:before{content:"󰈩"}.mdi-file-question:before{content:"󰡯"}.mdi-file-question-outline:before{content:"󱀶"}.mdi-file-refresh:before{content:"󰤘"}.mdi-file-refresh-outline:before{content:"󰕁"}.mdi-file-remove:before{content:"󰮘"}.mdi-file-remove-outline:before{content:"󱀷"}.mdi-file-replace:before{content:"󰬲"}.mdi-file-replace-outline:before{content:"󰬳"}.mdi-file-restore:before{content:"󰙰"}.mdi-file-restore-outline:before{content:"󱀸"}.mdi-file-rotate-left:before{content:"󱨻"}.mdi-file-rotate-left-outline:before{content:"󱨼"}.mdi-file-rotate-right:before{content:"󱨽"}.mdi-file-rotate-right-outline:before{content:"󱨾"}.mdi-file-search:before{content:"󰱼"}.mdi-file-search-outline:before{content:"󰱽"}.mdi-file-send:before{content:"󰈪"}.mdi-file-send-outline:before{content:"󱀹"}.mdi-file-settings:before{content:"󱁹"}.mdi-file-settings-outline:before{content:"󱁺"}.mdi-file-sign:before{content:"󱧃"}.mdi-file-star:before{content:"󱀺"}.mdi-file-star-four-points:before{content:"󱰭"}.mdi-file-star-four-points-outline:before{content:"󱰮"}.mdi-file-star-outline:before{content:"󱀻"}.mdi-file-swap:before{content:"󰾴"}.mdi-file-swap-outline:before{content:"󰾵"}.mdi-file-sync:before{content:"󱈖"}.mdi-file-sync-outline:before{content:"󱈗"}.mdi-file-table:before{content:"󰱾"}.mdi-file-table-box:before{content:"󱃡"}.mdi-file-table-box-multiple:before{content:"󱃢"}.mdi-file-table-box-multiple-outline:before{content:"󱃣"}.mdi-file-table-box-outline:before{content:"󱃤"}.mdi-file-table-outline:before{content:"󰱿"}.mdi-file-tree:before{content:"󰙅"}.mdi-file-tree-outline:before{content:"󱏒"}.mdi-file-undo:before{content:"󰣜"}.mdi-file-undo-outline:before{content:"󱀼"}.mdi-file-upload:before{content:"󰩍"}.mdi-file-upload-outline:before{content:"󰩎"}.mdi-file-video:before{content:"󰈫"}.mdi-file-video-outline:before{content:"󰸬"}.mdi-file-word:before{content:"󰈬"}.mdi-file-word-box:before{content:"󰈭"}.mdi-file-word-box-outline:before{content:"󱀽"}.mdi-file-word-outline:before{content:"󱀾"}.mdi-file-xml-box:before{content:"󱭋"}.mdi-film:before{content:"󰈯"}.mdi-filmstrip:before{content:"󰈰"}.mdi-filmstrip-box:before{content:"󰌲"}.mdi-filmstrip-box-multiple:before{content:"󰴘"}.mdi-filmstrip-off:before{content:"󰈱"}.mdi-filter:before{content:"󰈲"}.mdi-filter-check:before{content:"󱣬"}.mdi-filter-check-outline:before{content:"󱣭"}.mdi-filter-cog:before{content:"󱪣"}.mdi-filter-cog-outline:before{content:"󱪤"}.mdi-filter-menu:before{content:"󱃥"}.mdi-filter-menu-outline:before{content:"󱃦"}.mdi-filter-minus:before{content:"󰻮"}.mdi-filter-minus-outline:before{content:"󰻯"}.mdi-filter-multiple:before{content:"󱨿"}.mdi-filter-multiple-outline:before{content:"󱩀"}.mdi-filter-off:before{content:"󱓯"}.mdi-filter-off-outline:before{content:"󱓰"}.mdi-filter-outline:before{content:"󰈳"}.mdi-filter-plus:before{content:"󰻰"}.mdi-filter-plus-outline:before{content:"󰻱"}.mdi-filter-remove:before{content:"󰈴"}.mdi-filter-remove-outline:before{content:"󰈵"}.mdi-filter-settings:before{content:"󱪥"}.mdi-filter-settings-outline:before{content:"󱪦"}.mdi-filter-variant:before{content:"󰈶"}.mdi-filter-variant-minus:before{content:"󱄒"}.mdi-filter-variant-plus:before{content:"󱄓"}.mdi-filter-variant-remove:before{content:"󱀿"}.mdi-finance:before{content:"󰠟"}.mdi-find-replace:before{content:"󰛔"}.mdi-fingerprint:before{content:"󰈷"}.mdi-fingerprint-off:before{content:"󰺱"}.mdi-fire:before{content:"󰈸"}.mdi-fire-alert:before{content:"󱗗"}.mdi-fire-circle:before{content:"󱠇"}.mdi-fire-extinguisher:before{content:"󰻲"}.mdi-fire-hydrant:before{content:"󱄷"}.mdi-fire-hydrant-alert:before{content:"󱄸"}.mdi-fire-hydrant-off:before{content:"󱄹"}.mdi-fire-off:before{content:"󱜢"}.mdi-fire-truck:before{content:"󰢫"}.mdi-firebase:before{content:"󰥧"}.mdi-firefox:before{content:"󰈹"}.mdi-fireplace:before{content:"󰸮"}.mdi-fireplace-off:before{content:"󰸯"}.mdi-firewire:before{content:"󰖾"}.mdi-firework:before{content:"󰸰"}.mdi-firework-off:before{content:"󱜣"}.mdi-fish:before{content:"󰈺"}.mdi-fish-off:before{content:"󱏳"}.mdi-fishbowl:before{content:"󰻳"}.mdi-fishbowl-outline:before{content:"󰻴"}.mdi-fit-to-page:before{content:"󰻵"}.mdi-fit-to-page-outline:before{content:"󰻶"}.mdi-fit-to-screen:before{content:"󱣴"}.mdi-fit-to-screen-outline:before{content:"󱣵"}.mdi-flag:before{content:"󰈻"}.mdi-flag-checkered:before{content:"󰈼"}.mdi-flag-minus:before{content:"󰮙"}.mdi-flag-minus-outline:before{content:"󱂲"}.mdi-flag-off:before{content:"󱣮"}.mdi-flag-off-outline:before{content:"󱣯"}.mdi-flag-outline:before{content:"󰈽"}.mdi-flag-plus:before{content:"󰮚"}.mdi-flag-plus-outline:before{content:"󱂳"}.mdi-flag-remove:before{content:"󰮛"}.mdi-flag-remove-outline:before{content:"󱂴"}.mdi-flag-triangle:before{content:"󰈿"}.mdi-flag-variant:before{content:"󰉀"}.mdi-flag-variant-minus:before{content:"󱮴"}.mdi-flag-variant-minus-outline:before{content:"󱮵"}.mdi-flag-variant-off:before{content:"󱮰"}.mdi-flag-variant-off-outline:before{content:"󱮱"}.mdi-flag-variant-outline:before{content:"󰈾"}.mdi-flag-variant-plus:before{content:"󱮲"}.mdi-flag-variant-plus-outline:before{content:"󱮳"}.mdi-flag-variant-remove:before{content:"󱮶"}.mdi-flag-variant-remove-outline:before{content:"󱮷"}.mdi-flare:before{content:"󰵲"}.mdi-flash:before{content:"󰉁"}.mdi-flash-alert:before{content:"󰻷"}.mdi-flash-alert-outline:before{content:"󰻸"}.mdi-flash-auto:before{content:"󰉂"}.mdi-flash-off:before{content:"󰉃"}.mdi-flash-off-outline:before{content:"󱭅"}.mdi-flash-outline:before{content:"󰛕"}.mdi-flash-red-eye:before{content:"󰙻"}.mdi-flash-triangle:before{content:"󱬝"}.mdi-flash-triangle-outline:before{content:"󱬞"}.mdi-flashlight:before{content:"󰉄"}.mdi-flashlight-off:before{content:"󰉅"}.mdi-flask:before{content:"󰂓"}.mdi-flask-empty:before{content:"󰂔"}.mdi-flask-empty-minus:before{content:"󱈺"}.mdi-flask-empty-minus-outline:before{content:"󱈻"}.mdi-flask-empty-off:before{content:"󱏴"}.mdi-flask-empty-off-outline:before{content:"󱏵"}.mdi-flask-empty-outline:before{content:"󰂕"}.mdi-flask-empty-plus:before{content:"󱈼"}.mdi-flask-empty-plus-outline:before{content:"󱈽"}.mdi-flask-empty-remove:before{content:"󱈾"}.mdi-flask-empty-remove-outline:before{content:"󱈿"}.mdi-flask-minus:before{content:"󱉀"}.mdi-flask-minus-outline:before{content:"󱉁"}.mdi-flask-off:before{content:"󱏶"}.mdi-flask-off-outline:before{content:"󱏷"}.mdi-flask-outline:before{content:"󰂖"}.mdi-flask-plus:before{content:"󱉂"}.mdi-flask-plus-outline:before{content:"󱉃"}.mdi-flask-remove:before{content:"󱉄"}.mdi-flask-remove-outline:before{content:"󱉅"}.mdi-flask-round-bottom:before{content:"󱉋"}.mdi-flask-round-bottom-empty:before{content:"󱉌"}.mdi-flask-round-bottom-empty-outline:before{content:"󱉍"}.mdi-flask-round-bottom-outline:before{content:"󱉎"}.mdi-fleur-de-lis:before{content:"󱌃"}.mdi-flip-horizontal:before{content:"󱃧"}.mdi-flip-to-back:before{content:"󰉇"}.mdi-flip-to-front:before{content:"󰉈"}.mdi-flip-vertical:before{content:"󱃨"}.mdi-floor-lamp:before{content:"󰣝"}.mdi-floor-lamp-dual:before{content:"󱁀"}.mdi-floor-lamp-dual-outline:before{content:"󱟎"}.mdi-floor-lamp-outline:before{content:"󱟈"}.mdi-floor-lamp-torchiere:before{content:"󱝇"}.mdi-floor-lamp-torchiere-outline:before{content:"󱟖"}.mdi-floor-lamp-torchiere-variant:before{content:"󱁁"}.mdi-floor-lamp-torchiere-variant-outline:before{content:"󱟏"}.mdi-floor-plan:before{content:"󰠡"}.mdi-floppy:before{content:"󰉉"}.mdi-floppy-variant:before{content:"󰧯"}.mdi-flower:before{content:"󰉊"}.mdi-flower-outline:before{content:"󰧰"}.mdi-flower-pollen:before{content:"󱢅"}.mdi-flower-pollen-outline:before{content:"󱢆"}.mdi-flower-poppy:before{content:"󰴈"}.mdi-flower-tulip:before{content:"󰧱"}.mdi-flower-tulip-outline:before{content:"󰧲"}.mdi-focus-auto:before{content:"󰽎"}.mdi-focus-field:before{content:"󰽏"}.mdi-focus-field-horizontal:before{content:"󰽐"}.mdi-focus-field-vertical:before{content:"󰽑"}.mdi-folder:before{content:"󰉋"}.mdi-folder-account:before{content:"󰉌"}.mdi-folder-account-outline:before{content:"󰮜"}.mdi-folder-alert:before{content:"󰷌"}.mdi-folder-alert-outline:before{content:"󰷍"}.mdi-folder-arrow-down:before{content:"󱧨"}.mdi-folder-arrow-down-outline:before{content:"󱧩"}.mdi-folder-arrow-left:before{content:"󱧪"}.mdi-folder-arrow-left-outline:before{content:"󱧫"}.mdi-folder-arrow-left-right:before{content:"󱧬"}.mdi-folder-arrow-left-right-outline:before{content:"󱧭"}.mdi-folder-arrow-right:before{content:"󱧮"}.mdi-folder-arrow-right-outline:before{content:"󱧯"}.mdi-folder-arrow-up:before{content:"󱧰"}.mdi-folder-arrow-up-down:before{content:"󱧱"}.mdi-folder-arrow-up-down-outline:before{content:"󱧲"}.mdi-folder-arrow-up-outline:before{content:"󱧳"}.mdi-folder-cancel:before{content:"󱧴"}.mdi-folder-cancel-outline:before{content:"󱧵"}.mdi-folder-check:before{content:"󱥾"}.mdi-folder-check-outline:before{content:"󱥿"}.mdi-folder-clock:before{content:"󰪺"}.mdi-folder-clock-outline:before{content:"󰪻"}.mdi-folder-cog:before{content:"󱁿"}.mdi-folder-cog-outline:before{content:"󱂀"}.mdi-folder-download:before{content:"󰉍"}.mdi-folder-download-outline:before{content:"󱃩"}.mdi-folder-edit:before{content:"󰣞"}.mdi-folder-edit-outline:before{content:"󰷎"}.mdi-folder-eye:before{content:"󱞊"}.mdi-folder-eye-outline:before{content:"󱞋"}.mdi-folder-file:before{content:"󱧶"}.mdi-folder-file-outline:before{content:"󱧷"}.mdi-folder-google-drive:before{content:"󰉎"}.mdi-folder-heart:before{content:"󱃪"}.mdi-folder-heart-outline:before{content:"󱃫"}.mdi-folder-hidden:before{content:"󱞞"}.mdi-folder-home:before{content:"󱂵"}.mdi-folder-home-outline:before{content:"󱂶"}.mdi-folder-image:before{content:"󰉏"}.mdi-folder-information:before{content:"󱂷"}.mdi-folder-information-outline:before{content:"󱂸"}.mdi-folder-key:before{content:"󰢬"}.mdi-folder-key-network:before{content:"󰢭"}.mdi-folder-key-network-outline:before{content:"󰲀"}.mdi-folder-key-outline:before{content:"󱃬"}.mdi-folder-lock:before{content:"󰉐"}.mdi-folder-lock-open:before{content:"󰉑"}.mdi-folder-lock-open-outline:before{content:"󱪧"}.mdi-folder-lock-outline:before{content:"󱪨"}.mdi-folder-marker:before{content:"󱉭"}.mdi-folder-marker-outline:before{content:"󱉮"}.mdi-folder-minus:before{content:"󱭉"}.mdi-folder-minus-outline:before{content:"󱭊"}.mdi-folder-move:before{content:"󰉒"}.mdi-folder-move-outline:before{content:"󱉆"}.mdi-folder-multiple:before{content:"󰉓"}.mdi-folder-multiple-image:before{content:"󰉔"}.mdi-folder-multiple-outline:before{content:"󰉕"}.mdi-folder-multiple-plus:before{content:"󱑾"}.mdi-folder-multiple-plus-outline:before{content:"󱑿"}.mdi-folder-music:before{content:"󱍙"}.mdi-folder-music-outline:before{content:"󱍚"}.mdi-folder-network:before{content:"󰡰"}.mdi-folder-network-outline:before{content:"󰲁"}.mdi-folder-off:before{content:"󱧸"}.mdi-folder-off-outline:before{content:"󱧹"}.mdi-folder-open:before{content:"󰝰"}.mdi-folder-open-outline:before{content:"󰷏"}.mdi-folder-outline:before{content:"󰉖"}.mdi-folder-play:before{content:"󱧺"}.mdi-folder-play-outline:before{content:"󱧻"}.mdi-folder-plus:before{content:"󰉗"}.mdi-folder-plus-outline:before{content:"󰮝"}.mdi-folder-pound:before{content:"󰴉"}.mdi-folder-pound-outline:before{content:"󰴊"}.mdi-folder-question:before{content:"󱧊"}.mdi-folder-question-outline:before{content:"󱧋"}.mdi-folder-refresh:before{content:"󰝉"}.mdi-folder-refresh-outline:before{content:"󰕂"}.mdi-folder-remove:before{content:"󰉘"}.mdi-folder-remove-outline:before{content:"󰮞"}.mdi-folder-search:before{content:"󰥨"}.mdi-folder-search-outline:before{content:"󰥩"}.mdi-folder-settings:before{content:"󱁽"}.mdi-folder-settings-outline:before{content:"󱁾"}.mdi-folder-star:before{content:"󰚝"}.mdi-folder-star-multiple:before{content:"󱏓"}.mdi-folder-star-multiple-outline:before{content:"󱏔"}.mdi-folder-star-outline:before{content:"󰮟"}.mdi-folder-swap:before{content:"󰾶"}.mdi-folder-swap-outline:before{content:"󰾷"}.mdi-folder-sync:before{content:"󰴋"}.mdi-folder-sync-outline:before{content:"󰴌"}.mdi-folder-table:before{content:"󱋣"}.mdi-folder-table-outline:before{content:"󱋤"}.mdi-folder-text:before{content:"󰲂"}.mdi-folder-text-outline:before{content:"󰲃"}.mdi-folder-upload:before{content:"󰉙"}.mdi-folder-upload-outline:before{content:"󱃭"}.mdi-folder-wrench:before{content:"󱧼"}.mdi-folder-wrench-outline:before{content:"󱧽"}.mdi-folder-zip:before{content:"󰛫"}.mdi-folder-zip-outline:before{content:"󰞹"}.mdi-font-awesome:before{content:"󰀺"}.mdi-food:before{content:"󰉚"}.mdi-food-apple:before{content:"󰉛"}.mdi-food-apple-outline:before{content:"󰲄"}.mdi-food-croissant:before{content:"󰟈"}.mdi-food-drumstick:before{content:"󱐟"}.mdi-food-drumstick-off:before{content:"󱑨"}.mdi-food-drumstick-off-outline:before{content:"󱑩"}.mdi-food-drumstick-outline:before{content:"󱐠"}.mdi-food-fork-drink:before{content:"󰗲"}.mdi-food-halal:before{content:"󱕲"}.mdi-food-hot-dog:before{content:"󱡋"}.mdi-food-kosher:before{content:"󱕳"}.mdi-food-off:before{content:"󰗳"}.mdi-food-off-outline:before{content:"󱤕"}.mdi-food-outline:before{content:"󱤖"}.mdi-food-steak:before{content:"󱑪"}.mdi-food-steak-off:before{content:"󱑫"}.mdi-food-takeout-box:before{content:"󱠶"}.mdi-food-takeout-box-outline:before{content:"󱠷"}.mdi-food-turkey:before{content:"󱜜"}.mdi-food-variant:before{content:"󰉜"}.mdi-food-variant-off:before{content:"󱏥"}.mdi-foot-print:before{content:"󰽒"}.mdi-football:before{content:"󰉝"}.mdi-football-australian:before{content:"󰉞"}.mdi-football-helmet:before{content:"󰉟"}.mdi-forest:before{content:"󱢗"}.mdi-forest-outline:before{content:"󱱣"}.mdi-forklift:before{content:"󰟉"}.mdi-form-dropdown:before{content:"󱐀"}.mdi-form-select:before{content:"󱐁"}.mdi-form-textarea:before{content:"󱂕"}.mdi-form-textbox:before{content:"󰘎"}.mdi-form-textbox-lock:before{content:"󱍝"}.mdi-form-textbox-password:before{content:"󰟵"}.mdi-format-align-bottom:before{content:"󰝓"}.mdi-format-align-center:before{content:"󰉠"}.mdi-format-align-justify:before{content:"󰉡"}.mdi-format-align-left:before{content:"󰉢"}.mdi-format-align-middle:before{content:"󰝔"}.mdi-format-align-right:before{content:"󰉣"}.mdi-format-align-top:before{content:"󰝕"}.mdi-format-annotation-minus:before{content:"󰪼"}.mdi-format-annotation-plus:before{content:"󰙆"}.mdi-format-bold:before{content:"󰉤"}.mdi-format-clear:before{content:"󰉥"}.mdi-format-color-fill:before{content:"󰉦"}.mdi-format-color-highlight:before{content:"󰸱"}.mdi-format-color-marker-cancel:before{content:"󱌓"}.mdi-format-color-text:before{content:"󰚞"}.mdi-format-columns:before{content:"󰣟"}.mdi-format-float-center:before{content:"󰉧"}.mdi-format-float-left:before{content:"󰉨"}.mdi-format-float-none:before{content:"󰉩"}.mdi-format-float-right:before{content:"󰉪"}.mdi-format-font:before{content:"󰛖"}.mdi-format-font-size-decrease:before{content:"󰧳"}.mdi-format-font-size-increase:before{content:"󰧴"}.mdi-format-header-1:before{content:"󰉫"}.mdi-format-header-2:before{content:"󰉬"}.mdi-format-header-3:before{content:"󰉭"}.mdi-format-header-4:before{content:"󰉮"}.mdi-format-header-5:before{content:"󰉯"}.mdi-format-header-6:before{content:"󰉰"}.mdi-format-header-decrease:before{content:"󰉱"}.mdi-format-header-equal:before{content:"󰉲"}.mdi-format-header-increase:before{content:"󰉳"}.mdi-format-header-pound:before{content:"󰉴"}.mdi-format-horizontal-align-center:before{content:"󰘞"}.mdi-format-horizontal-align-left:before{content:"󰘟"}.mdi-format-horizontal-align-right:before{content:"󰘠"}.mdi-format-indent-decrease:before{content:"󰉵"}.mdi-format-indent-increase:before{content:"󰉶"}.mdi-format-italic:before{content:"󰉷"}.mdi-format-letter-case:before{content:"󰬴"}.mdi-format-letter-case-lower:before{content:"󰬵"}.mdi-format-letter-case-upper:before{content:"󰬶"}.mdi-format-letter-ends-with:before{content:"󰾸"}.mdi-format-letter-matches:before{content:"󰾹"}.mdi-format-letter-spacing:before{content:"󱥖"}.mdi-format-letter-spacing-variant:before{content:"󱫻"}.mdi-format-letter-starts-with:before{content:"󰾺"}.mdi-format-line-height:before{content:"󱫼"}.mdi-format-line-spacing:before{content:"󰉸"}.mdi-format-line-style:before{content:"󰗈"}.mdi-format-line-weight:before{content:"󰗉"}.mdi-format-list-bulleted:before{content:"󰉹"}.mdi-format-list-bulleted-square:before{content:"󰷐"}.mdi-format-list-bulleted-triangle:before{content:"󰺲"}.mdi-format-list-bulleted-type:before{content:"󰉺"}.mdi-format-list-checkbox:before{content:"󰥪"}.mdi-format-list-checks:before{content:"󰝖"}.mdi-format-list-group:before{content:"󱡠"}.mdi-format-list-group-plus:before{content:"󱭖"}.mdi-format-list-numbered:before{content:"󰉻"}.mdi-format-list-numbered-rtl:before{content:"󰴍"}.mdi-format-list-text:before{content:"󱉯"}.mdi-format-overline:before{content:"󰺳"}.mdi-format-page-break:before{content:"󰛗"}.mdi-format-page-split:before{content:"󱤗"}.mdi-format-paint:before{content:"󰉼"}.mdi-format-paragraph:before{content:"󰉽"}.mdi-format-paragraph-spacing:before{content:"󱫽"}.mdi-format-pilcrow:before{content:"󰛘"}.mdi-format-pilcrow-arrow-left:before{content:"󰊆"}.mdi-format-pilcrow-arrow-right:before{content:"󰊅"}.mdi-format-quote-close:before{content:"󰉾"}.mdi-format-quote-close-outline:before{content:"󱆨"}.mdi-format-quote-open:before{content:"󰝗"}.mdi-format-quote-open-outline:before{content:"󱆧"}.mdi-format-rotate-90:before{content:"󰚪"}.mdi-format-section:before{content:"󰚟"}.mdi-format-size:before{content:"󰉿"}.mdi-format-strikethrough:before{content:"󰊀"}.mdi-format-strikethrough-variant:before{content:"󰊁"}.mdi-format-subscript:before{content:"󰊂"}.mdi-format-superscript:before{content:"󰊃"}.mdi-format-text:before{content:"󰊄"}.mdi-format-text-rotation-angle-down:before{content:"󰾻"}.mdi-format-text-rotation-angle-up:before{content:"󰾼"}.mdi-format-text-rotation-down:before{content:"󰵳"}.mdi-format-text-rotation-down-vertical:before{content:"󰾽"}.mdi-format-text-rotation-none:before{content:"󰵴"}.mdi-format-text-rotation-up:before{content:"󰾾"}.mdi-format-text-rotation-vertical:before{content:"󰾿"}.mdi-format-text-variant:before{content:"󰸲"}.mdi-format-text-variant-outline:before{content:"󱔏"}.mdi-format-text-wrapping-clip:before{content:"󰴎"}.mdi-format-text-wrapping-overflow:before{content:"󰴏"}.mdi-format-text-wrapping-wrap:before{content:"󰴐"}.mdi-format-textbox:before{content:"󰴑"}.mdi-format-title:before{content:"󰗴"}.mdi-format-underline:before{content:"󰊇"}.mdi-format-underline-wavy:before{content:"󱣩"}.mdi-format-vertical-align-bottom:before{content:"󰘡"}.mdi-format-vertical-align-center:before{content:"󰘢"}.mdi-format-vertical-align-top:before{content:"󰘣"}.mdi-format-wrap-inline:before{content:"󰊈"}.mdi-format-wrap-square:before{content:"󰊉"}.mdi-format-wrap-tight:before{content:"󰊊"}.mdi-format-wrap-top-bottom:before{content:"󰊋"}.mdi-forum:before{content:"󰊌"}.mdi-forum-minus:before{content:"󱪩"}.mdi-forum-minus-outline:before{content:"󱪪"}.mdi-forum-outline:before{content:"󰠢"}.mdi-forum-plus:before{content:"󱪫"}.mdi-forum-plus-outline:before{content:"󱪬"}.mdi-forum-remove:before{content:"󱪭"}.mdi-forum-remove-outline:before{content:"󱪮"}.mdi-forward:before{content:"󰊍"}.mdi-forwardburger:before{content:"󰵵"}.mdi-fountain:before{content:"󰥫"}.mdi-fountain-pen:before{content:"󰴒"}.mdi-fountain-pen-tip:before{content:"󰴓"}.mdi-fraction-one-half:before{content:"󱦒"}.mdi-freebsd:before{content:"󰣠"}.mdi-french-fries:before{content:"󱥗"}.mdi-frequently-asked-questions:before{content:"󰺴"}.mdi-fridge:before{content:"󰊐"}.mdi-fridge-alert:before{content:"󱆱"}.mdi-fridge-alert-outline:before{content:"󱆲"}.mdi-fridge-bottom:before{content:"󰊒"}.mdi-fridge-industrial:before{content:"󱗮"}.mdi-fridge-industrial-alert:before{content:"󱗯"}.mdi-fridge-industrial-alert-outline:before{content:"󱗰"}.mdi-fridge-industrial-off:before{content:"󱗱"}.mdi-fridge-industrial-off-outline:before{content:"󱗲"}.mdi-fridge-industrial-outline:before{content:"󱗳"}.mdi-fridge-off:before{content:"󱆯"}.mdi-fridge-off-outline:before{content:"󱆰"}.mdi-fridge-outline:before{content:"󰊏"}.mdi-fridge-top:before{content:"󰊑"}.mdi-fridge-variant:before{content:"󱗴"}.mdi-fridge-variant-alert:before{content:"󱗵"}.mdi-fridge-variant-alert-outline:before{content:"󱗶"}.mdi-fridge-variant-off:before{content:"󱗷"}.mdi-fridge-variant-off-outline:before{content:"󱗸"}.mdi-fridge-variant-outline:before{content:"󱗹"}.mdi-fruit-cherries:before{content:"󱁂"}.mdi-fruit-cherries-off:before{content:"󱏸"}.mdi-fruit-citrus:before{content:"󱁃"}.mdi-fruit-citrus-off:before{content:"󱏹"}.mdi-fruit-grapes:before{content:"󱁄"}.mdi-fruit-grapes-outline:before{content:"󱁅"}.mdi-fruit-pear:before{content:"󱨎"}.mdi-fruit-pineapple:before{content:"󱁆"}.mdi-fruit-watermelon:before{content:"󱁇"}.mdi-fuel:before{content:"󰟊"}.mdi-fuel-cell:before{content:"󱢵"}.mdi-fullscreen:before{content:"󰊓"}.mdi-fullscreen-exit:before{content:"󰊔"}.mdi-function:before{content:"󰊕"}.mdi-function-variant:before{content:"󰡱"}.mdi-furigana-horizontal:before{content:"󱂁"}.mdi-furigana-vertical:before{content:"󱂂"}.mdi-fuse:before{content:"󰲅"}.mdi-fuse-alert:before{content:"󱐭"}.mdi-fuse-blade:before{content:"󰲆"}.mdi-fuse-off:before{content:"󱐬"}.mdi-gamepad:before{content:"󰊖"}.mdi-gamepad-circle:before{content:"󰸳"}.mdi-gamepad-circle-down:before{content:"󰸴"}.mdi-gamepad-circle-left:before{content:"󰸵"}.mdi-gamepad-circle-outline:before{content:"󰸶"}.mdi-gamepad-circle-right:before{content:"󰸷"}.mdi-gamepad-circle-up:before{content:"󰸸"}.mdi-gamepad-down:before{content:"󰸹"}.mdi-gamepad-left:before{content:"󰸺"}.mdi-gamepad-outline:before{content:"󱤙"}.mdi-gamepad-right:before{content:"󰸻"}.mdi-gamepad-round:before{content:"󰸼"}.mdi-gamepad-round-down:before{content:"󰸽"}.mdi-gamepad-round-left:before{content:"󰸾"}.mdi-gamepad-round-outline:before{content:"󰸿"}.mdi-gamepad-round-right:before{content:"󰹀"}.mdi-gamepad-round-up:before{content:"󰹁"}.mdi-gamepad-square:before{content:"󰺵"}.mdi-gamepad-square-outline:before{content:"󰺶"}.mdi-gamepad-up:before{content:"󰹂"}.mdi-gamepad-variant:before{content:"󰊗"}.mdi-gamepad-variant-outline:before{content:"󰺷"}.mdi-gamma:before{content:"󱃮"}.mdi-gantry-crane:before{content:"󰷑"}.mdi-garage:before{content:"󰛙"}.mdi-garage-alert:before{content:"󰡲"}.mdi-garage-alert-variant:before{content:"󱋕"}.mdi-garage-lock:before{content:"󱟻"}.mdi-garage-open:before{content:"󰛚"}.mdi-garage-open-variant:before{content:"󱋔"}.mdi-garage-variant:before{content:"󱋓"}.mdi-garage-variant-lock:before{content:"󱟼"}.mdi-gas-burner:before{content:"󱨛"}.mdi-gas-cylinder:before{content:"󰙇"}.mdi-gas-station:before{content:"󰊘"}.mdi-gas-station-off:before{content:"󱐉"}.mdi-gas-station-off-outline:before{content:"󱐊"}.mdi-gas-station-outline:before{content:"󰺸"}.mdi-gate:before{content:"󰊙"}.mdi-gate-alert:before{content:"󱟸"}.mdi-gate-and:before{content:"󰣡"}.mdi-gate-arrow-left:before{content:"󱟷"}.mdi-gate-arrow-right:before{content:"󱅩"}.mdi-gate-buffer:before{content:"󱫾"}.mdi-gate-nand:before{content:"󰣢"}.mdi-gate-nor:before{content:"󰣣"}.mdi-gate-not:before{content:"󰣤"}.mdi-gate-open:before{content:"󱅪"}.mdi-gate-or:before{content:"󰣥"}.mdi-gate-xnor:before{content:"󰣦"}.mdi-gate-xor:before{content:"󰣧"}.mdi-gatsby:before{content:"󰹃"}.mdi-gauge:before{content:"󰊚"}.mdi-gauge-empty:before{content:"󰡳"}.mdi-gauge-full:before{content:"󰡴"}.mdi-gauge-low:before{content:"󰡵"}.mdi-gavel:before{content:"󰊛"}.mdi-gender-female:before{content:"󰊜"}.mdi-gender-male:before{content:"󰊝"}.mdi-gender-male-female:before{content:"󰊞"}.mdi-gender-male-female-variant:before{content:"󱄿"}.mdi-gender-non-binary:before{content:"󱅀"}.mdi-gender-transgender:before{content:"󰊟"}.mdi-gentoo:before{content:"󰣨"}.mdi-gesture:before{content:"󰟋"}.mdi-gesture-double-tap:before{content:"󰜼"}.mdi-gesture-pinch:before{content:"󰪽"}.mdi-gesture-spread:before{content:"󰪾"}.mdi-gesture-swipe:before{content:"󰵶"}.mdi-gesture-swipe-down:before{content:"󰜽"}.mdi-gesture-swipe-horizontal:before{content:"󰪿"}.mdi-gesture-swipe-left:before{content:"󰜾"}.mdi-gesture-swipe-right:before{content:"󰜿"}.mdi-gesture-swipe-up:before{content:"󰝀"}.mdi-gesture-swipe-vertical:before{content:"󰫀"}.mdi-gesture-tap:before{content:"󰝁"}.mdi-gesture-tap-box:before{content:"󱊩"}.mdi-gesture-tap-button:before{content:"󱊨"}.mdi-gesture-tap-hold:before{content:"󰵷"}.mdi-gesture-two-double-tap:before{content:"󰝂"}.mdi-gesture-two-tap:before{content:"󰝃"}.mdi-ghost:before{content:"󰊠"}.mdi-ghost-off:before{content:"󰧵"}.mdi-ghost-off-outline:before{content:"󱙜"}.mdi-ghost-outline:before{content:"󱙝"}.mdi-gift:before{content:"󰹄"}.mdi-gift-off:before{content:"󱛯"}.mdi-gift-off-outline:before{content:"󱛰"}.mdi-gift-open:before{content:"󱛱"}.mdi-gift-open-outline:before{content:"󱛲"}.mdi-gift-outline:before{content:"󰊡"}.mdi-git:before{content:"󰊢"}.mdi-github:before{content:"󰊤"}.mdi-gitlab:before{content:"󰮠"}.mdi-glass-cocktail:before{content:"󰍖"}.mdi-glass-cocktail-off:before{content:"󱗦"}.mdi-glass-flute:before{content:"󰊥"}.mdi-glass-fragile:before{content:"󱡳"}.mdi-glass-mug:before{content:"󰊦"}.mdi-glass-mug-off:before{content:"󱗧"}.mdi-glass-mug-variant:before{content:"󱄖"}.mdi-glass-mug-variant-off:before{content:"󱗨"}.mdi-glass-pint-outline:before{content:"󱌍"}.mdi-glass-stange:before{content:"󰊧"}.mdi-glass-tulip:before{content:"󰊨"}.mdi-glass-wine:before{content:"󰡶"}.mdi-glasses:before{content:"󰊪"}.mdi-globe-light:before{content:"󰙯"}.mdi-globe-light-outline:before{content:"󱋗"}.mdi-globe-model:before{content:"󰣩"}.mdi-gmail:before{content:"󰊫"}.mdi-gnome:before{content:"󰊬"}.mdi-go-kart:before{content:"󰵹"}.mdi-go-kart-track:before{content:"󰵺"}.mdi-gog:before{content:"󰮡"}.mdi-gold:before{content:"󱉏"}.mdi-golf:before{content:"󰠣"}.mdi-golf-cart:before{content:"󱆤"}.mdi-golf-tee:before{content:"󱂃"}.mdi-gondola:before{content:"󰚆"}.mdi-goodreads:before{content:"󰵻"}.mdi-google:before{content:"󰊭"}.mdi-google-ads:before{content:"󰲇"}.mdi-google-analytics:before{content:"󰟌"}.mdi-google-assistant:before{content:"󰟍"}.mdi-google-cardboard:before{content:"󰊮"}.mdi-google-chrome:before{content:"󰊯"}.mdi-google-circles:before{content:"󰊰"}.mdi-google-circles-communities:before{content:"󰊱"}.mdi-google-circles-extended:before{content:"󰊲"}.mdi-google-circles-group:before{content:"󰊳"}.mdi-google-classroom:before{content:"󰋀"}.mdi-google-cloud:before{content:"󱇶"}.mdi-google-downasaur:before{content:"󱍢"}.mdi-google-drive:before{content:"󰊶"}.mdi-google-earth:before{content:"󰊷"}.mdi-google-fit:before{content:"󰥬"}.mdi-google-glass:before{content:"󰊸"}.mdi-google-hangouts:before{content:"󰋉"}.mdi-google-keep:before{content:"󰛜"}.mdi-google-lens:before{content:"󰧶"}.mdi-google-maps:before{content:"󰗵"}.mdi-google-my-business:before{content:"󱁈"}.mdi-google-nearby:before{content:"󰊹"}.mdi-google-play:before{content:"󰊼"}.mdi-google-plus:before{content:"󰊽"}.mdi-google-podcast:before{content:"󰺹"}.mdi-google-spreadsheet:before{content:"󰧷"}.mdi-google-street-view:before{content:"󰲈"}.mdi-google-translate:before{content:"󰊿"}.mdi-gradient-horizontal:before{content:"󱝊"}.mdi-gradient-vertical:before{content:"󰚠"}.mdi-grain:before{content:"󰵼"}.mdi-graph:before{content:"󱁉"}.mdi-graph-outline:before{content:"󱁊"}.mdi-graphql:before{content:"󰡷"}.mdi-grass:before{content:"󱔐"}.mdi-grave-stone:before{content:"󰮢"}.mdi-grease-pencil:before{content:"󰙈"}.mdi-greater-than:before{content:"󰥭"}.mdi-greater-than-or-equal:before{content:"󰥮"}.mdi-greenhouse:before{content:"󰀭"}.mdi-grid:before{content:"󰋁"}.mdi-grid-large:before{content:"󰝘"}.mdi-grid-off:before{content:"󰋂"}.mdi-grill:before{content:"󰹅"}.mdi-grill-outline:before{content:"󱆊"}.mdi-group:before{content:"󰋃"}.mdi-guitar-acoustic:before{content:"󰝱"}.mdi-guitar-electric:before{content:"󰋄"}.mdi-guitar-pick:before{content:"󰋅"}.mdi-guitar-pick-outline:before{content:"󰋆"}.mdi-guy-fawkes-mask:before{content:"󰠥"}.mdi-gymnastics:before{content:"󱩁"}.mdi-hail:before{content:"󰫁"}.mdi-hair-dryer:before{content:"󱃯"}.mdi-hair-dryer-outline:before{content:"󱃰"}.mdi-halloween:before{content:"󰮣"}.mdi-hamburger:before{content:"󰚅"}.mdi-hamburger-check:before{content:"󱝶"}.mdi-hamburger-minus:before{content:"󱝷"}.mdi-hamburger-off:before{content:"󱝸"}.mdi-hamburger-plus:before{content:"󱝹"}.mdi-hamburger-remove:before{content:"󱝺"}.mdi-hammer:before{content:"󰣪"}.mdi-hammer-screwdriver:before{content:"󱌢"}.mdi-hammer-sickle:before{content:"󱢇"}.mdi-hammer-wrench:before{content:"󱌣"}.mdi-hand-back-left:before{content:"󰹆"}.mdi-hand-back-left-off:before{content:"󱠰"}.mdi-hand-back-left-off-outline:before{content:"󱠲"}.mdi-hand-back-left-outline:before{content:"󱠬"}.mdi-hand-back-right:before{content:"󰹇"}.mdi-hand-back-right-off:before{content:"󱠱"}.mdi-hand-back-right-off-outline:before{content:"󱠳"}.mdi-hand-back-right-outline:before{content:"󱠭"}.mdi-hand-clap:before{content:"󱥋"}.mdi-hand-clap-off:before{content:"󱩂"}.mdi-hand-coin:before{content:"󱢏"}.mdi-hand-coin-outline:before{content:"󱢐"}.mdi-hand-cycle:before{content:"󱮜"}.mdi-hand-extended:before{content:"󱢶"}.mdi-hand-extended-outline:before{content:"󱢷"}.mdi-hand-front-left:before{content:"󱠫"}.mdi-hand-front-left-outline:before{content:"󱠮"}.mdi-hand-front-right:before{content:"󰩏"}.mdi-hand-front-right-outline:before{content:"󱠯"}.mdi-hand-heart:before{content:"󱃱"}.mdi-hand-heart-outline:before{content:"󱕾"}.mdi-hand-okay:before{content:"󰩐"}.mdi-hand-peace:before{content:"󰩑"}.mdi-hand-peace-variant:before{content:"󰩒"}.mdi-hand-pointing-down:before{content:"󰩓"}.mdi-hand-pointing-left:before{content:"󰩔"}.mdi-hand-pointing-right:before{content:"󰋇"}.mdi-hand-pointing-up:before{content:"󰩕"}.mdi-hand-saw:before{content:"󰹈"}.mdi-hand-wash:before{content:"󱕿"}.mdi-hand-wash-outline:before{content:"󱖀"}.mdi-hand-water:before{content:"󱎟"}.mdi-hand-wave:before{content:"󱠡"}.mdi-hand-wave-outline:before{content:"󱠢"}.mdi-handball:before{content:"󰽓"}.mdi-handcuffs:before{content:"󱄾"}.mdi-hands-pray:before{content:"󰕹"}.mdi-handshake:before{content:"󱈘"}.mdi-handshake-outline:before{content:"󱖡"}.mdi-hanger:before{content:"󰋈"}.mdi-hard-hat:before{content:"󰥯"}.mdi-harddisk:before{content:"󰋊"}.mdi-harddisk-plus:before{content:"󱁋"}.mdi-harddisk-remove:before{content:"󱁌"}.mdi-hat-fedora:before{content:"󰮤"}.mdi-hazard-lights:before{content:"󰲉"}.mdi-hdmi-port:before{content:"󱮸"}.mdi-hdr:before{content:"󰵽"}.mdi-hdr-off:before{content:"󰵾"}.mdi-head:before{content:"󱍞"}.mdi-head-alert:before{content:"󱌸"}.mdi-head-alert-outline:before{content:"󱌹"}.mdi-head-check:before{content:"󱌺"}.mdi-head-check-outline:before{content:"󱌻"}.mdi-head-cog:before{content:"󱌼"}.mdi-head-cog-outline:before{content:"󱌽"}.mdi-head-dots-horizontal:before{content:"󱌾"}.mdi-head-dots-horizontal-outline:before{content:"󱌿"}.mdi-head-flash:before{content:"󱍀"}.mdi-head-flash-outline:before{content:"󱍁"}.mdi-head-heart:before{content:"󱍂"}.mdi-head-heart-outline:before{content:"󱍃"}.mdi-head-lightbulb:before{content:"󱍄"}.mdi-head-lightbulb-outline:before{content:"󱍅"}.mdi-head-minus:before{content:"󱍆"}.mdi-head-minus-outline:before{content:"󱍇"}.mdi-head-outline:before{content:"󱍟"}.mdi-head-plus:before{content:"󱍈"}.mdi-head-plus-outline:before{content:"󱍉"}.mdi-head-question:before{content:"󱍊"}.mdi-head-question-outline:before{content:"󱍋"}.mdi-head-remove:before{content:"󱍌"}.mdi-head-remove-outline:before{content:"󱍍"}.mdi-head-snowflake:before{content:"󱍎"}.mdi-head-snowflake-outline:before{content:"󱍏"}.mdi-head-sync:before{content:"󱍐"}.mdi-head-sync-outline:before{content:"󱍑"}.mdi-headphones:before{content:"󰋋"}.mdi-headphones-bluetooth:before{content:"󰥰"}.mdi-headphones-box:before{content:"󰋌"}.mdi-headphones-off:before{content:"󰟎"}.mdi-headphones-settings:before{content:"󰋍"}.mdi-headset:before{content:"󰋎"}.mdi-headset-dock:before{content:"󰋏"}.mdi-headset-off:before{content:"󰋐"}.mdi-heart:before{content:"󰋑"}.mdi-heart-box:before{content:"󰋒"}.mdi-heart-box-outline:before{content:"󰋓"}.mdi-heart-broken:before{content:"󰋔"}.mdi-heart-broken-outline:before{content:"󰴔"}.mdi-heart-circle:before{content:"󰥱"}.mdi-heart-circle-outline:before{content:"󰥲"}.mdi-heart-cog:before{content:"󱙣"}.mdi-heart-cog-outline:before{content:"󱙤"}.mdi-heart-flash:before{content:"󰻹"}.mdi-heart-half:before{content:"󰛟"}.mdi-heart-half-full:before{content:"󰛞"}.mdi-heart-half-outline:before{content:"󰛠"}.mdi-heart-minus:before{content:"󱐯"}.mdi-heart-minus-outline:before{content:"󱐲"}.mdi-heart-multiple:before{content:"󰩖"}.mdi-heart-multiple-outline:before{content:"󰩗"}.mdi-heart-off:before{content:"󰝙"}.mdi-heart-off-outline:before{content:"󱐴"}.mdi-heart-outline:before{content:"󰋕"}.mdi-heart-plus:before{content:"󱐮"}.mdi-heart-plus-outline:before{content:"󱐱"}.mdi-heart-pulse:before{content:"󰗶"}.mdi-heart-remove:before{content:"󱐰"}.mdi-heart-remove-outline:before{content:"󱐳"}.mdi-heart-settings:before{content:"󱙥"}.mdi-heart-settings-outline:before{content:"󱙦"}.mdi-heat-pump:before{content:"󱩃"}.mdi-heat-pump-outline:before{content:"󱩄"}.mdi-heat-wave:before{content:"󱩅"}.mdi-heating-coil:before{content:"󱪯"}.mdi-helicopter:before{content:"󰫂"}.mdi-help:before{content:"󰋖"}.mdi-help-box:before{content:"󰞋"}.mdi-help-box-multiple:before{content:"󱰊"}.mdi-help-box-multiple-outline:before{content:"󱰋"}.mdi-help-box-outline:before{content:"󱰌"}.mdi-help-circle:before{content:"󰋗"}.mdi-help-circle-outline:before{content:"󰘥"}.mdi-help-network:before{content:"󰛵"}.mdi-help-network-outline:before{content:"󰲊"}.mdi-help-rhombus:before{content:"󰮥"}.mdi-help-rhombus-outline:before{content:"󰮦"}.mdi-hexadecimal:before{content:"󱊧"}.mdi-hexagon:before{content:"󰋘"}.mdi-hexagon-multiple:before{content:"󰛡"}.mdi-hexagon-multiple-outline:before{content:"󱃲"}.mdi-hexagon-outline:before{content:"󰋙"}.mdi-hexagon-slice-1:before{content:"󰫃"}.mdi-hexagon-slice-2:before{content:"󰫄"}.mdi-hexagon-slice-3:before{content:"󰫅"}.mdi-hexagon-slice-4:before{content:"󰫆"}.mdi-hexagon-slice-5:before{content:"󰫇"}.mdi-hexagon-slice-6:before{content:"󰫈"}.mdi-hexagram:before{content:"󰫉"}.mdi-hexagram-outline:before{content:"󰫊"}.mdi-high-definition:before{content:"󰟏"}.mdi-high-definition-box:before{content:"󰡸"}.mdi-highway:before{content:"󰗷"}.mdi-hiking:before{content:"󰵿"}.mdi-history:before{content:"󰋚"}.mdi-hockey-puck:before{content:"󰡹"}.mdi-hockey-sticks:before{content:"󰡺"}.mdi-hololens:before{content:"󰋛"}.mdi-home:before{content:"󰋜"}.mdi-home-account:before{content:"󰠦"}.mdi-home-alert:before{content:"󰡻"}.mdi-home-alert-outline:before{content:"󱗐"}.mdi-home-analytics:before{content:"󰺺"}.mdi-home-assistant:before{content:"󰟐"}.mdi-home-automation:before{content:"󰟑"}.mdi-home-battery:before{content:"󱤁"}.mdi-home-battery-outline:before{content:"󱤂"}.mdi-home-circle:before{content:"󰟒"}.mdi-home-circle-outline:before{content:"󱁍"}.mdi-home-city:before{content:"󰴕"}.mdi-home-city-outline:before{content:"󰴖"}.mdi-home-clock:before{content:"󱨒"}.mdi-home-clock-outline:before{content:"󱨓"}.mdi-home-edit:before{content:"󱅙"}.mdi-home-edit-outline:before{content:"󱅚"}.mdi-home-export-outline:before{content:"󰾛"}.mdi-home-flood:before{content:"󰻺"}.mdi-home-floor-0:before{content:"󰷒"}.mdi-home-floor-1:before{content:"󰶀"}.mdi-home-floor-2:before{content:"󰶁"}.mdi-home-floor-3:before{content:"󰶂"}.mdi-home-floor-a:before{content:"󰶃"}.mdi-home-floor-b:before{content:"󰶄"}.mdi-home-floor-g:before{content:"󰶅"}.mdi-home-floor-l:before{content:"󰶆"}.mdi-home-floor-negative-1:before{content:"󰷓"}.mdi-home-group:before{content:"󰷔"}.mdi-home-group-minus:before{content:"󱧁"}.mdi-home-group-plus:before{content:"󱧀"}.mdi-home-group-remove:before{content:"󱧂"}.mdi-home-heart:before{content:"󰠧"}.mdi-home-import-outline:before{content:"󰾜"}.mdi-home-lightbulb:before{content:"󱉑"}.mdi-home-lightbulb-outline:before{content:"󱉒"}.mdi-home-lightning-bolt:before{content:"󱤃"}.mdi-home-lightning-bolt-outline:before{content:"󱤄"}.mdi-home-lock:before{content:"󰣫"}.mdi-home-lock-open:before{content:"󰣬"}.mdi-home-map-marker:before{content:"󰗸"}.mdi-home-minus:before{content:"󰥴"}.mdi-home-minus-outline:before{content:"󱏕"}.mdi-home-modern:before{content:"󰋝"}.mdi-home-off:before{content:"󱩆"}.mdi-home-off-outline:before{content:"󱩇"}.mdi-home-outline:before{content:"󰚡"}.mdi-home-percent:before{content:"󱱼"}.mdi-home-percent-outline:before{content:"󱱽"}.mdi-home-plus:before{content:"󰥵"}.mdi-home-plus-outline:before{content:"󱏖"}.mdi-home-remove:before{content:"󱉇"}.mdi-home-remove-outline:before{content:"󱏗"}.mdi-home-roof:before{content:"󱄫"}.mdi-home-search:before{content:"󱎰"}.mdi-home-search-outline:before{content:"󱎱"}.mdi-home-silo:before{content:"󱮠"}.mdi-home-silo-outline:before{content:"󱮡"}.mdi-home-sound-in:before{content:"󱰯"}.mdi-home-sound-in-outline:before{content:"󱰰"}.mdi-home-sound-out:before{content:"󱰱"}.mdi-home-sound-out-outline:before{content:"󱰲"}.mdi-home-switch:before{content:"󱞔"}.mdi-home-switch-outline:before{content:"󱞕"}.mdi-home-thermometer:before{content:"󰽔"}.mdi-home-thermometer-outline:before{content:"󰽕"}.mdi-home-variant:before{content:"󰋞"}.mdi-home-variant-outline:before{content:"󰮧"}.mdi-hook:before{content:"󰛢"}.mdi-hook-off:before{content:"󰛣"}.mdi-hoop-house:before{content:"󰹖"}.mdi-hops:before{content:"󰋟"}.mdi-horizontal-rotate-clockwise:before{content:"󱃳"}.mdi-horizontal-rotate-counterclockwise:before{content:"󱃴"}.mdi-horse:before{content:"󱖿"}.mdi-horse-human:before{content:"󱗀"}.mdi-horse-variant:before{content:"󱗁"}.mdi-horse-variant-fast:before{content:"󱡮"}.mdi-horseshoe:before{content:"󰩘"}.mdi-hospital:before{content:"󰿶"}.mdi-hospital-box:before{content:"󰋠"}.mdi-hospital-box-outline:before{content:"󰿷"}.mdi-hospital-building:before{content:"󰋡"}.mdi-hospital-marker:before{content:"󰋢"}.mdi-hot-tub:before{content:"󰠨"}.mdi-hours-24:before{content:"󱑸"}.mdi-hubspot:before{content:"󰴗"}.mdi-hulu:before{content:"󰠩"}.mdi-human:before{content:"󰋦"}.mdi-human-baby-changing-table:before{content:"󱎋"}.mdi-human-cane:before{content:"󱖁"}.mdi-human-capacity-decrease:before{content:"󱖛"}.mdi-human-capacity-increase:before{content:"󱖜"}.mdi-human-child:before{content:"󰋧"}.mdi-human-dolly:before{content:"󱦀"}.mdi-human-edit:before{content:"󱓨"}.mdi-human-female:before{content:"󰙉"}.mdi-human-female-boy:before{content:"󰩙"}.mdi-human-female-dance:before{content:"󱗉"}.mdi-human-female-female:before{content:"󰩚"}.mdi-human-female-girl:before{content:"󰩛"}.mdi-human-greeting:before{content:"󱟄"}.mdi-human-greeting-proximity:before{content:"󱖝"}.mdi-human-greeting-variant:before{content:"󰙊"}.mdi-human-handsdown:before{content:"󰙋"}.mdi-human-handsup:before{content:"󰙌"}.mdi-human-male:before{content:"󰙍"}.mdi-human-male-board:before{content:"󰢐"}.mdi-human-male-board-poll:before{content:"󰡆"}.mdi-human-male-boy:before{content:"󰩜"}.mdi-human-male-child:before{content:"󱎌"}.mdi-human-male-female:before{content:"󰋨"}.mdi-human-male-female-child:before{content:"󱠣"}.mdi-human-male-girl:before{content:"󰩝"}.mdi-human-male-height:before{content:"󰻻"}.mdi-human-male-height-variant:before{content:"󰻼"}.mdi-human-male-male:before{content:"󰩞"}.mdi-human-non-binary:before{content:"󱡈"}.mdi-human-pregnant:before{content:"󰗏"}.mdi-human-queue:before{content:"󱕱"}.mdi-human-scooter:before{content:"󱇩"}.mdi-human-walker:before{content:"󱭱"}.mdi-human-wheelchair:before{content:"󱎍"}.mdi-human-white-cane:before{content:"󱦁"}.mdi-humble-bundle:before{content:"󰝄"}.mdi-hvac:before{content:"󱍒"}.mdi-hvac-off:before{content:"󱖞"}.mdi-hydraulic-oil-level:before{content:"󱌤"}.mdi-hydraulic-oil-temperature:before{content:"󱌥"}.mdi-hydro-power:before{content:"󱋥"}.mdi-hydrogen-station:before{content:"󱢔"}.mdi-ice-cream:before{content:"󰠪"}.mdi-ice-cream-off:before{content:"󰹒"}.mdi-ice-pop:before{content:"󰻽"}.mdi-id-card:before{content:"󰿀"}.mdi-identifier:before{content:"󰻾"}.mdi-ideogram-cjk:before{content:"󱌱"}.mdi-ideogram-cjk-variant:before{content:"󱌲"}.mdi-image:before{content:"󰋩"}.mdi-image-album:before{content:"󰋪"}.mdi-image-area:before{content:"󰋫"}.mdi-image-area-close:before{content:"󰋬"}.mdi-image-auto-adjust:before{content:"󰿁"}.mdi-image-broken:before{content:"󰋭"}.mdi-image-broken-variant:before{content:"󰋮"}.mdi-image-check:before{content:"󱬥"}.mdi-image-check-outline:before{content:"󱬦"}.mdi-image-edit:before{content:"󱇣"}.mdi-image-edit-outline:before{content:"󱇤"}.mdi-image-filter-black-white:before{content:"󰋰"}.mdi-image-filter-center-focus:before{content:"󰋱"}.mdi-image-filter-center-focus-strong:before{content:"󰻿"}.mdi-image-filter-center-focus-strong-outline:before{content:"󰼀"}.mdi-image-filter-center-focus-weak:before{content:"󰋲"}.mdi-image-filter-drama:before{content:"󰋳"}.mdi-image-filter-drama-outline:before{content:"󱯿"}.mdi-image-filter-frames:before{content:"󰋴"}.mdi-image-filter-hdr:before{content:"󰋵"}.mdi-image-filter-hdr-outline:before{content:"󱱤"}.mdi-image-filter-none:before{content:"󰋶"}.mdi-image-filter-tilt-shift:before{content:"󰋷"}.mdi-image-filter-vintage:before{content:"󰋸"}.mdi-image-frame:before{content:"󰹉"}.mdi-image-lock:before{content:"󱪰"}.mdi-image-lock-outline:before{content:"󱪱"}.mdi-image-marker:before{content:"󱝻"}.mdi-image-marker-outline:before{content:"󱝼"}.mdi-image-minus:before{content:"󱐙"}.mdi-image-minus-outline:before{content:"󱭇"}.mdi-image-move:before{content:"󰧸"}.mdi-image-multiple:before{content:"󰋹"}.mdi-image-multiple-outline:before{content:"󰋯"}.mdi-image-off:before{content:"󰠫"}.mdi-image-off-outline:before{content:"󱇑"}.mdi-image-outline:before{content:"󰥶"}.mdi-image-plus:before{content:"󰡼"}.mdi-image-plus-outline:before{content:"󱭆"}.mdi-image-refresh:before{content:"󱧾"}.mdi-image-refresh-outline:before{content:"󱧿"}.mdi-image-remove:before{content:"󱐘"}.mdi-image-remove-outline:before{content:"󱭈"}.mdi-image-search:before{content:"󰥷"}.mdi-image-search-outline:before{content:"󰥸"}.mdi-image-size-select-actual:before{content:"󰲍"}.mdi-image-size-select-large:before{content:"󰲎"}.mdi-image-size-select-small:before{content:"󰲏"}.mdi-image-sync:before{content:"󱨀"}.mdi-image-sync-outline:before{content:"󱨁"}.mdi-image-text:before{content:"󱘍"}.mdi-import:before{content:"󰋺"}.mdi-inbox:before{content:"󰚇"}.mdi-inbox-arrow-down:before{content:"󰋻"}.mdi-inbox-arrow-down-outline:before{content:"󱉰"}.mdi-inbox-arrow-up:before{content:"󰏑"}.mdi-inbox-arrow-up-outline:before{content:"󱉱"}.mdi-inbox-full:before{content:"󱉲"}.mdi-inbox-full-outline:before{content:"󱉳"}.mdi-inbox-multiple:before{content:"󰢰"}.mdi-inbox-multiple-outline:before{content:"󰮨"}.mdi-inbox-outline:before{content:"󱉴"}.mdi-inbox-remove:before{content:"󱖟"}.mdi-inbox-remove-outline:before{content:"󱖠"}.mdi-incognito:before{content:"󰗹"}.mdi-incognito-circle:before{content:"󱐡"}.mdi-incognito-circle-off:before{content:"󱐢"}.mdi-incognito-off:before{content:"󰁵"}.mdi-induction:before{content:"󱡌"}.mdi-infinity:before{content:"󰛤"}.mdi-information:before{content:"󰋼"}.mdi-information-box:before{content:"󱱥"}.mdi-information-box-outline:before{content:"󱱦"}.mdi-information-off:before{content:"󱞌"}.mdi-information-off-outline:before{content:"󱞍"}.mdi-information-outline:before{content:"󰋽"}.mdi-information-slab-box:before{content:"󱱧"}.mdi-information-slab-box-outline:before{content:"󱱨"}.mdi-information-slab-circle:before{content:"󱱩"}.mdi-information-slab-circle-outline:before{content:"󱱪"}.mdi-information-slab-symbol:before{content:"󱱫"}.mdi-information-symbol:before{content:"󱱬"}.mdi-information-variant:before{content:"󰙎"}.mdi-information-variant-box:before{content:"󱱭"}.mdi-information-variant-box-outline:before{content:"󱱮"}.mdi-information-variant-circle:before{content:"󱱯"}.mdi-information-variant-circle-outline:before{content:"󱱰"}.mdi-instagram:before{content:"󰋾"}.mdi-instrument-triangle:before{content:"󱁎"}.mdi-integrated-circuit-chip:before{content:"󱤓"}.mdi-invert-colors:before{content:"󰌁"}.mdi-invert-colors-off:before{content:"󰹊"}.mdi-iobroker:before{content:"󱋨"}.mdi-ip:before{content:"󰩟"}.mdi-ip-network:before{content:"󰩠"}.mdi-ip-network-outline:before{content:"󰲐"}.mdi-ip-outline:before{content:"󱦂"}.mdi-ipod:before{content:"󰲑"}.mdi-iron:before{content:"󱠤"}.mdi-iron-board:before{content:"󱠸"}.mdi-iron-outline:before{content:"󱠥"}.mdi-island:before{content:"󱁏"}.mdi-iv-bag:before{content:"󱂹"}.mdi-jabber:before{content:"󰷕"}.mdi-jeepney:before{content:"󰌂"}.mdi-jellyfish:before{content:"󰼁"}.mdi-jellyfish-outline:before{content:"󰼂"}.mdi-jira:before{content:"󰌃"}.mdi-jquery:before{content:"󰡽"}.mdi-jsfiddle:before{content:"󰌄"}.mdi-jump-rope:before{content:"󱋿"}.mdi-kabaddi:before{content:"󰶇"}.mdi-kangaroo:before{content:"󱕘"}.mdi-karate:before{content:"󰠬"}.mdi-kayaking:before{content:"󰢯"}.mdi-keg:before{content:"󰌅"}.mdi-kettle:before{content:"󰗺"}.mdi-kettle-alert:before{content:"󱌗"}.mdi-kettle-alert-outline:before{content:"󱌘"}.mdi-kettle-off:before{content:"󱌛"}.mdi-kettle-off-outline:before{content:"󱌜"}.mdi-kettle-outline:before{content:"󰽖"}.mdi-kettle-pour-over:before{content:"󱜼"}.mdi-kettle-steam:before{content:"󱌙"}.mdi-kettle-steam-outline:before{content:"󱌚"}.mdi-kettlebell:before{content:"󱌀"}.mdi-key:before{content:"󰌆"}.mdi-key-alert:before{content:"󱦃"}.mdi-key-alert-outline:before{content:"󱦄"}.mdi-key-arrow-right:before{content:"󱌒"}.mdi-key-chain:before{content:"󱕴"}.mdi-key-chain-variant:before{content:"󱕵"}.mdi-key-change:before{content:"󰌇"}.mdi-key-link:before{content:"󱆟"}.mdi-key-minus:before{content:"󰌈"}.mdi-key-outline:before{content:"󰷖"}.mdi-key-plus:before{content:"󰌉"}.mdi-key-remove:before{content:"󰌊"}.mdi-key-star:before{content:"󱆞"}.mdi-key-variant:before{content:"󰌋"}.mdi-key-wireless:before{content:"󰿂"}.mdi-keyboard:before{content:"󰌌"}.mdi-keyboard-backspace:before{content:"󰌍"}.mdi-keyboard-caps:before{content:"󰌎"}.mdi-keyboard-close:before{content:"󰌏"}.mdi-keyboard-close-outline:before{content:"󱰀"}.mdi-keyboard-esc:before{content:"󱊷"}.mdi-keyboard-f1:before{content:"󱊫"}.mdi-keyboard-f10:before{content:"󱊴"}.mdi-keyboard-f11:before{content:"󱊵"}.mdi-keyboard-f12:before{content:"󱊶"}.mdi-keyboard-f2:before{content:"󱊬"}.mdi-keyboard-f3:before{content:"󱊭"}.mdi-keyboard-f4:before{content:"󱊮"}.mdi-keyboard-f5:before{content:"󱊯"}.mdi-keyboard-f6:before{content:"󱊰"}.mdi-keyboard-f7:before{content:"󱊱"}.mdi-keyboard-f8:before{content:"󱊲"}.mdi-keyboard-f9:before{content:"󱊳"}.mdi-keyboard-off:before{content:"󰌐"}.mdi-keyboard-off-outline:before{content:"󰹋"}.mdi-keyboard-outline:before{content:"󰥻"}.mdi-keyboard-return:before{content:"󰌑"}.mdi-keyboard-settings:before{content:"󰧹"}.mdi-keyboard-settings-outline:before{content:"󰧺"}.mdi-keyboard-space:before{content:"󱁐"}.mdi-keyboard-tab:before{content:"󰌒"}.mdi-keyboard-tab-reverse:before{content:"󰌥"}.mdi-keyboard-variant:before{content:"󰌓"}.mdi-khanda:before{content:"󱃽"}.mdi-kickstarter:before{content:"󰝅"}.mdi-kite:before{content:"󱦅"}.mdi-kite-outline:before{content:"󱦆"}.mdi-kitesurfing:before{content:"󱝄"}.mdi-klingon:before{content:"󱍛"}.mdi-knife:before{content:"󰧻"}.mdi-knife-military:before{content:"󰧼"}.mdi-knob:before{content:"󱮖"}.mdi-koala:before{content:"󱜿"}.mdi-kodi:before{content:"󰌔"}.mdi-kubernetes:before{content:"󱃾"}.mdi-label:before{content:"󰌕"}.mdi-label-multiple:before{content:"󱍵"}.mdi-label-multiple-outline:before{content:"󱍶"}.mdi-label-off:before{content:"󰫋"}.mdi-label-off-outline:before{content:"󰫌"}.mdi-label-outline:before{content:"󰌖"}.mdi-label-percent:before{content:"󱋪"}.mdi-label-percent-outline:before{content:"󱋫"}.mdi-label-variant:before{content:"󰫍"}.mdi-label-variant-outline:before{content:"󰫎"}.mdi-ladder:before{content:"󱖢"}.mdi-ladybug:before{content:"󰠭"}.mdi-lambda:before{content:"󰘧"}.mdi-lamp:before{content:"󰚵"}.mdi-lamp-outline:before{content:"󱟐"}.mdi-lamps:before{content:"󱕶"}.mdi-lamps-outline:before{content:"󱟑"}.mdi-lan:before{content:"󰌗"}.mdi-lan-check:before{content:"󱊪"}.mdi-lan-connect:before{content:"󰌘"}.mdi-lan-disconnect:before{content:"󰌙"}.mdi-lan-pending:before{content:"󰌚"}.mdi-land-fields:before{content:"󱪲"}.mdi-land-plots:before{content:"󱪳"}.mdi-land-plots-circle:before{content:"󱪴"}.mdi-land-plots-circle-variant:before{content:"󱪵"}.mdi-land-plots-marker:before{content:"󱱝"}.mdi-land-rows-horizontal:before{content:"󱪶"}.mdi-land-rows-vertical:before{content:"󱪷"}.mdi-landslide:before{content:"󱩈"}.mdi-landslide-outline:before{content:"󱩉"}.mdi-language-c:before{content:"󰙱"}.mdi-language-cpp:before{content:"󰙲"}.mdi-language-csharp:before{content:"󰌛"}.mdi-language-css3:before{content:"󰌜"}.mdi-language-fortran:before{content:"󱈚"}.mdi-language-go:before{content:"󰟓"}.mdi-language-haskell:before{content:"󰲒"}.mdi-language-html5:before{content:"󰌝"}.mdi-language-java:before{content:"󰬷"}.mdi-language-javascript:before{content:"󰌞"}.mdi-language-kotlin:before{content:"󱈙"}.mdi-language-lua:before{content:"󰢱"}.mdi-language-markdown:before{content:"󰍔"}.mdi-language-markdown-outline:before{content:"󰽛"}.mdi-language-php:before{content:"󰌟"}.mdi-language-python:before{content:"󰌠"}.mdi-language-r:before{content:"󰟔"}.mdi-language-ruby:before{content:"󰴭"}.mdi-language-ruby-on-rails:before{content:"󰫏"}.mdi-language-rust:before{content:"󱘗"}.mdi-language-swift:before{content:"󰛥"}.mdi-language-typescript:before{content:"󰛦"}.mdi-language-xaml:before{content:"󰙳"}.mdi-laptop:before{content:"󰌢"}.mdi-laptop-account:before{content:"󱩊"}.mdi-laptop-off:before{content:"󰛧"}.mdi-laravel:before{content:"󰫐"}.mdi-laser-pointer:before{content:"󱒄"}.mdi-lasso:before{content:"󰼃"}.mdi-lastpass:before{content:"󰑆"}.mdi-latitude:before{content:"󰽗"}.mdi-launch:before{content:"󰌧"}.mdi-lava-lamp:before{content:"󰟕"}.mdi-layers:before{content:"󰌨"}.mdi-layers-edit:before{content:"󱢒"}.mdi-layers-minus:before{content:"󰹌"}.mdi-layers-off:before{content:"󰌩"}.mdi-layers-off-outline:before{content:"󰧽"}.mdi-layers-outline:before{content:"󰧾"}.mdi-layers-plus:before{content:"󰹍"}.mdi-layers-remove:before{content:"󰹎"}.mdi-layers-search:before{content:"󱈆"}.mdi-layers-search-outline:before{content:"󱈇"}.mdi-layers-triple:before{content:"󰽘"}.mdi-layers-triple-outline:before{content:"󰽙"}.mdi-lead-pencil:before{content:"󰙏"}.mdi-leaf:before{content:"󰌪"}.mdi-leaf-circle:before{content:"󱤅"}.mdi-leaf-circle-outline:before{content:"󱤆"}.mdi-leaf-maple:before{content:"󰲓"}.mdi-leaf-maple-off:before{content:"󱋚"}.mdi-leaf-off:before{content:"󱋙"}.mdi-leak:before{content:"󰷗"}.mdi-leak-off:before{content:"󰷘"}.mdi-lectern:before{content:"󱫰"}.mdi-led-off:before{content:"󰌫"}.mdi-led-on:before{content:"󰌬"}.mdi-led-outline:before{content:"󰌭"}.mdi-led-strip:before{content:"󰟖"}.mdi-led-strip-variant:before{content:"󱁑"}.mdi-led-strip-variant-off:before{content:"󱩋"}.mdi-led-variant-off:before{content:"󰌮"}.mdi-led-variant-on:before{content:"󰌯"}.mdi-led-variant-outline:before{content:"󰌰"}.mdi-leek:before{content:"󱅽"}.mdi-less-than:before{content:"󰥼"}.mdi-less-than-or-equal:before{content:"󰥽"}.mdi-library:before{content:"󰌱"}.mdi-library-outline:before{content:"󱨢"}.mdi-library-shelves:before{content:"󰮩"}.mdi-license:before{content:"󰿃"}.mdi-lifebuoy:before{content:"󰡾"}.mdi-light-flood-down:before{content:"󱦇"}.mdi-light-flood-up:before{content:"󱦈"}.mdi-light-recessed:before{content:"󱞛"}.mdi-light-switch:before{content:"󰥾"}.mdi-light-switch-off:before{content:"󱨤"}.mdi-lightbulb:before{content:"󰌵"}.mdi-lightbulb-alert:before{content:"󱧡"}.mdi-lightbulb-alert-outline:before{content:"󱧢"}.mdi-lightbulb-auto:before{content:"󱠀"}.mdi-lightbulb-auto-outline:before{content:"󱠁"}.mdi-lightbulb-cfl:before{content:"󱈈"}.mdi-lightbulb-cfl-off:before{content:"󱈉"}.mdi-lightbulb-cfl-spiral:before{content:"󱉵"}.mdi-lightbulb-cfl-spiral-off:before{content:"󱋃"}.mdi-lightbulb-fluorescent-tube:before{content:"󱠄"}.mdi-lightbulb-fluorescent-tube-outline:before{content:"󱠅"}.mdi-lightbulb-group:before{content:"󱉓"}.mdi-lightbulb-group-off:before{content:"󱋍"}.mdi-lightbulb-group-off-outline:before{content:"󱋎"}.mdi-lightbulb-group-outline:before{content:"󱉔"}.mdi-lightbulb-multiple:before{content:"󱉕"}.mdi-lightbulb-multiple-off:before{content:"󱋏"}.mdi-lightbulb-multiple-off-outline:before{content:"󱋐"}.mdi-lightbulb-multiple-outline:before{content:"󱉖"}.mdi-lightbulb-night:before{content:"󱩌"}.mdi-lightbulb-night-outline:before{content:"󱩍"}.mdi-lightbulb-off:before{content:"󰹏"}.mdi-lightbulb-off-outline:before{content:"󰹐"}.mdi-lightbulb-on:before{content:"󰛨"}.mdi-lightbulb-on-10:before{content:"󱩎"}.mdi-lightbulb-on-20:before{content:"󱩏"}.mdi-lightbulb-on-30:before{content:"󱩐"}.mdi-lightbulb-on-40:before{content:"󱩑"}.mdi-lightbulb-on-50:before{content:"󱩒"}.mdi-lightbulb-on-60:before{content:"󱩓"}.mdi-lightbulb-on-70:before{content:"󱩔"}.mdi-lightbulb-on-80:before{content:"󱩕"}.mdi-lightbulb-on-90:before{content:"󱩖"}.mdi-lightbulb-on-outline:before{content:"󰛩"}.mdi-lightbulb-outline:before{content:"󰌶"}.mdi-lightbulb-question:before{content:"󱧣"}.mdi-lightbulb-question-outline:before{content:"󱧤"}.mdi-lightbulb-spot:before{content:"󱟴"}.mdi-lightbulb-spot-off:before{content:"󱟵"}.mdi-lightbulb-variant:before{content:"󱠂"}.mdi-lightbulb-variant-outline:before{content:"󱠃"}.mdi-lighthouse:before{content:"󰧿"}.mdi-lighthouse-on:before{content:"󰨀"}.mdi-lightning-bolt:before{content:"󱐋"}.mdi-lightning-bolt-circle:before{content:"󰠠"}.mdi-lightning-bolt-outline:before{content:"󱐌"}.mdi-line-scan:before{content:"󰘤"}.mdi-lingerie:before{content:"󱑶"}.mdi-link:before{content:"󰌷"}.mdi-link-box:before{content:"󰴚"}.mdi-link-box-outline:before{content:"󰴛"}.mdi-link-box-variant:before{content:"󰴜"}.mdi-link-box-variant-outline:before{content:"󰴝"}.mdi-link-lock:before{content:"󱂺"}.mdi-link-off:before{content:"󰌸"}.mdi-link-plus:before{content:"󰲔"}.mdi-link-variant:before{content:"󰌹"}.mdi-link-variant-minus:before{content:"󱃿"}.mdi-link-variant-off:before{content:"󰌺"}.mdi-link-variant-plus:before{content:"󱄀"}.mdi-link-variant-remove:before{content:"󱄁"}.mdi-linkedin:before{content:"󰌻"}.mdi-linux:before{content:"󰌽"}.mdi-linux-mint:before{content:"󰣭"}.mdi-lipstick:before{content:"󱎵"}.mdi-liquid-spot:before{content:"󱠦"}.mdi-liquor:before{content:"󱤞"}.mdi-list-box:before{content:"󱭻"}.mdi-list-box-outline:before{content:"󱭼"}.mdi-list-status:before{content:"󱖫"}.mdi-litecoin:before{content:"󰩡"}.mdi-loading:before{content:"󰝲"}.mdi-location-enter:before{content:"󰿄"}.mdi-location-exit:before{content:"󰿅"}.mdi-lock:before{content:"󰌾"}.mdi-lock-alert:before{content:"󰣮"}.mdi-lock-alert-outline:before{content:"󱗑"}.mdi-lock-check:before{content:"󱎚"}.mdi-lock-check-outline:before{content:"󱚨"}.mdi-lock-clock:before{content:"󰥿"}.mdi-lock-minus:before{content:"󱚩"}.mdi-lock-minus-outline:before{content:"󱚪"}.mdi-lock-off:before{content:"󱙱"}.mdi-lock-off-outline:before{content:"󱙲"}.mdi-lock-open:before{content:"󰌿"}.mdi-lock-open-alert:before{content:"󱎛"}.mdi-lock-open-alert-outline:before{content:"󱗒"}.mdi-lock-open-check:before{content:"󱎜"}.mdi-lock-open-check-outline:before{content:"󱚫"}.mdi-lock-open-minus:before{content:"󱚬"}.mdi-lock-open-minus-outline:before{content:"󱚭"}.mdi-lock-open-outline:before{content:"󰍀"}.mdi-lock-open-plus:before{content:"󱚮"}.mdi-lock-open-plus-outline:before{content:"󱚯"}.mdi-lock-open-remove:before{content:"󱚰"}.mdi-lock-open-remove-outline:before{content:"󱚱"}.mdi-lock-open-variant:before{content:"󰿆"}.mdi-lock-open-variant-outline:before{content:"󰿇"}.mdi-lock-outline:before{content:"󰍁"}.mdi-lock-pattern:before{content:"󰛪"}.mdi-lock-percent:before{content:"󱰒"}.mdi-lock-percent-open:before{content:"󱰓"}.mdi-lock-percent-open-outline:before{content:"󱰔"}.mdi-lock-percent-open-variant:before{content:"󱰕"}.mdi-lock-percent-open-variant-outline:before{content:"󱰖"}.mdi-lock-percent-outline:before{content:"󱰗"}.mdi-lock-plus:before{content:"󰗻"}.mdi-lock-plus-outline:before{content:"󱚲"}.mdi-lock-question:before{content:"󰣯"}.mdi-lock-remove:before{content:"󱚳"}.mdi-lock-remove-outline:before{content:"󱚴"}.mdi-lock-reset:before{content:"󰝳"}.mdi-lock-smart:before{content:"󰢲"}.mdi-locker:before{content:"󰟗"}.mdi-locker-multiple:before{content:"󰟘"}.mdi-login:before{content:"󰍂"}.mdi-login-variant:before{content:"󰗼"}.mdi-logout:before{content:"󰍃"}.mdi-logout-variant:before{content:"󰗽"}.mdi-longitude:before{content:"󰽚"}.mdi-looks:before{content:"󰍄"}.mdi-lotion:before{content:"󱖂"}.mdi-lotion-outline:before{content:"󱖃"}.mdi-lotion-plus:before{content:"󱖄"}.mdi-lotion-plus-outline:before{content:"󱖅"}.mdi-loupe:before{content:"󰍅"}.mdi-lumx:before{content:"󰍆"}.mdi-lungs:before{content:"󱂄"}.mdi-mace:before{content:"󱡃"}.mdi-magazine-pistol:before{content:"󰌤"}.mdi-magazine-rifle:before{content:"󰌣"}.mdi-magic-staff:before{content:"󱡄"}.mdi-magnet:before{content:"󰍇"}.mdi-magnet-on:before{content:"󰍈"}.mdi-magnify:before{content:"󰍉"}.mdi-magnify-close:before{content:"󰦀"}.mdi-magnify-expand:before{content:"󱡴"}.mdi-magnify-minus:before{content:"󰍊"}.mdi-magnify-minus-cursor:before{content:"󰩢"}.mdi-magnify-minus-outline:before{content:"󰛬"}.mdi-magnify-plus:before{content:"󰍋"}.mdi-magnify-plus-cursor:before{content:"󰩣"}.mdi-magnify-plus-outline:before{content:"󰛭"}.mdi-magnify-remove-cursor:before{content:"󱈌"}.mdi-magnify-remove-outline:before{content:"󱈍"}.mdi-magnify-scan:before{content:"󱉶"}.mdi-mail:before{content:"󰺻"}.mdi-mailbox:before{content:"󰛮"}.mdi-mailbox-open:before{content:"󰶈"}.mdi-mailbox-open-outline:before{content:"󰶉"}.mdi-mailbox-open-up:before{content:"󰶊"}.mdi-mailbox-open-up-outline:before{content:"󰶋"}.mdi-mailbox-outline:before{content:"󰶌"}.mdi-mailbox-up:before{content:"󰶍"}.mdi-mailbox-up-outline:before{content:"󰶎"}.mdi-manjaro:before{content:"󱘊"}.mdi-map:before{content:"󰍍"}.mdi-map-check:before{content:"󰺼"}.mdi-map-check-outline:before{content:"󰺽"}.mdi-map-clock:before{content:"󰴞"}.mdi-map-clock-outline:before{content:"󰴟"}.mdi-map-legend:before{content:"󰨁"}.mdi-map-marker:before{content:"󰍎"}.mdi-map-marker-account:before{content:"󱣣"}.mdi-map-marker-account-outline:before{content:"󱣤"}.mdi-map-marker-alert:before{content:"󰼅"}.mdi-map-marker-alert-outline:before{content:"󰼆"}.mdi-map-marker-check:before{content:"󰲕"}.mdi-map-marker-check-outline:before{content:"󱋻"}.mdi-map-marker-circle:before{content:"󰍏"}.mdi-map-marker-distance:before{content:"󰣰"}.mdi-map-marker-down:before{content:"󱄂"}.mdi-map-marker-left:before{content:"󱋛"}.mdi-map-marker-left-outline:before{content:"󱋝"}.mdi-map-marker-minus:before{content:"󰙐"}.mdi-map-marker-minus-outline:before{content:"󱋹"}.mdi-map-marker-multiple:before{content:"󰍐"}.mdi-map-marker-multiple-outline:before{content:"󱉷"}.mdi-map-marker-off:before{content:"󰍑"}.mdi-map-marker-off-outline:before{content:"󱋽"}.mdi-map-marker-outline:before{content:"󰟙"}.mdi-map-marker-path:before{content:"󰴠"}.mdi-map-marker-plus:before{content:"󰙑"}.mdi-map-marker-plus-outline:before{content:"󱋸"}.mdi-map-marker-question:before{content:"󰼇"}.mdi-map-marker-question-outline:before{content:"󰼈"}.mdi-map-marker-radius:before{content:"󰍒"}.mdi-map-marker-radius-outline:before{content:"󱋼"}.mdi-map-marker-remove:before{content:"󰼉"}.mdi-map-marker-remove-outline:before{content:"󱋺"}.mdi-map-marker-remove-variant:before{content:"󰼊"}.mdi-map-marker-right:before{content:"󱋜"}.mdi-map-marker-right-outline:before{content:"󱋞"}.mdi-map-marker-star:before{content:"󱘈"}.mdi-map-marker-star-outline:before{content:"󱘉"}.mdi-map-marker-up:before{content:"󱄃"}.mdi-map-minus:before{content:"󰦁"}.mdi-map-outline:before{content:"󰦂"}.mdi-map-plus:before{content:"󰦃"}.mdi-map-search:before{content:"󰦄"}.mdi-map-search-outline:before{content:"󰦅"}.mdi-mapbox:before{content:"󰮪"}.mdi-margin:before{content:"󰍓"}.mdi-marker:before{content:"󰙒"}.mdi-marker-cancel:before{content:"󰷙"}.mdi-marker-check:before{content:"󰍕"}.mdi-mastodon:before{content:"󰫑"}.mdi-material-design:before{content:"󰦆"}.mdi-material-ui:before{content:"󰍗"}.mdi-math-compass:before{content:"󰍘"}.mdi-math-cos:before{content:"󰲖"}.mdi-math-integral:before{content:"󰿈"}.mdi-math-integral-box:before{content:"󰿉"}.mdi-math-log:before{content:"󱂅"}.mdi-math-norm:before{content:"󰿊"}.mdi-math-norm-box:before{content:"󰿋"}.mdi-math-sin:before{content:"󰲗"}.mdi-math-tan:before{content:"󰲘"}.mdi-matrix:before{content:"󰘨"}.mdi-medal:before{content:"󰦇"}.mdi-medal-outline:before{content:"󱌦"}.mdi-medical-bag:before{content:"󰛯"}.mdi-medical-cotton-swab:before{content:"󱪸"}.mdi-medication:before{content:"󱬔"}.mdi-medication-outline:before{content:"󱬕"}.mdi-meditation:before{content:"󱅻"}.mdi-memory:before{content:"󰍛"}.mdi-menorah:before{content:"󱟔"}.mdi-menorah-fire:before{content:"󱟕"}.mdi-menu:before{content:"󰍜"}.mdi-menu-down:before{content:"󰍝"}.mdi-menu-down-outline:before{content:"󰚶"}.mdi-menu-left:before{content:"󰍞"}.mdi-menu-left-outline:before{content:"󰨂"}.mdi-menu-open:before{content:"󰮫"}.mdi-menu-right:before{content:"󰍟"}.mdi-menu-right-outline:before{content:"󰨃"}.mdi-menu-swap:before{content:"󰩤"}.mdi-menu-swap-outline:before{content:"󰩥"}.mdi-menu-up:before{content:"󰍠"}.mdi-menu-up-outline:before{content:"󰚷"}.mdi-merge:before{content:"󰽜"}.mdi-message:before{content:"󰍡"}.mdi-message-alert:before{content:"󰍢"}.mdi-message-alert-outline:before{content:"󰨄"}.mdi-message-arrow-left:before{content:"󱋲"}.mdi-message-arrow-left-outline:before{content:"󱋳"}.mdi-message-arrow-right:before{content:"󱋴"}.mdi-message-arrow-right-outline:before{content:"󱋵"}.mdi-message-badge:before{content:"󱥁"}.mdi-message-badge-outline:before{content:"󱥂"}.mdi-message-bookmark:before{content:"󱖬"}.mdi-message-bookmark-outline:before{content:"󱖭"}.mdi-message-bulleted:before{content:"󰚢"}.mdi-message-bulleted-off:before{content:"󰚣"}.mdi-message-check:before{content:"󱮊"}.mdi-message-check-outline:before{content:"󱮋"}.mdi-message-cog:before{content:"󰛱"}.mdi-message-cog-outline:before{content:"󱅲"}.mdi-message-draw:before{content:"󰍣"}.mdi-message-fast:before{content:"󱧌"}.mdi-message-fast-outline:before{content:"󱧍"}.mdi-message-flash:before{content:"󱖩"}.mdi-message-flash-outline:before{content:"󱖪"}.mdi-message-image:before{content:"󰍤"}.mdi-message-image-outline:before{content:"󱅬"}.mdi-message-lock:before{content:"󰿌"}.mdi-message-lock-outline:before{content:"󱅭"}.mdi-message-minus:before{content:"󱅮"}.mdi-message-minus-outline:before{content:"󱅯"}.mdi-message-off:before{content:"󱙍"}.mdi-message-off-outline:before{content:"󱙎"}.mdi-message-outline:before{content:"󰍥"}.mdi-message-plus:before{content:"󰙓"}.mdi-message-plus-outline:before{content:"󱂻"}.mdi-message-processing:before{content:"󰍦"}.mdi-message-processing-outline:before{content:"󱅰"}.mdi-message-question:before{content:"󱜺"}.mdi-message-question-outline:before{content:"󱜻"}.mdi-message-reply:before{content:"󰍧"}.mdi-message-reply-outline:before{content:"󱜽"}.mdi-message-reply-text:before{content:"󰍨"}.mdi-message-reply-text-outline:before{content:"󱜾"}.mdi-message-settings:before{content:"󰛰"}.mdi-message-settings-outline:before{content:"󱅱"}.mdi-message-star:before{content:"󰚚"}.mdi-message-star-outline:before{content:"󱉐"}.mdi-message-text:before{content:"󰍩"}.mdi-message-text-clock:before{content:"󱅳"}.mdi-message-text-clock-outline:before{content:"󱅴"}.mdi-message-text-fast:before{content:"󱧎"}.mdi-message-text-fast-outline:before{content:"󱧏"}.mdi-message-text-lock:before{content:"󰿍"}.mdi-message-text-lock-outline:before{content:"󱅵"}.mdi-message-text-outline:before{content:"󰍪"}.mdi-message-video:before{content:"󰍫"}.mdi-meteor:before{content:"󰘩"}.mdi-meter-electric:before{content:"󱩗"}.mdi-meter-electric-outline:before{content:"󱩘"}.mdi-meter-gas:before{content:"󱩙"}.mdi-meter-gas-outline:before{content:"󱩚"}.mdi-metronome:before{content:"󰟚"}.mdi-metronome-tick:before{content:"󰟛"}.mdi-micro-sd:before{content:"󰟜"}.mdi-microphone:before{content:"󰍬"}.mdi-microphone-message:before{content:"󰔊"}.mdi-microphone-message-off:before{content:"󰔋"}.mdi-microphone-minus:before{content:"󰢳"}.mdi-microphone-off:before{content:"󰍭"}.mdi-microphone-outline:before{content:"󰍮"}.mdi-microphone-plus:before{content:"󰢴"}.mdi-microphone-question:before{content:"󱦉"}.mdi-microphone-question-outline:before{content:"󱦊"}.mdi-microphone-settings:before{content:"󰍯"}.mdi-microphone-variant:before{content:"󰍰"}.mdi-microphone-variant-off:before{content:"󰍱"}.mdi-microscope:before{content:"󰙔"}.mdi-microsoft:before{content:"󰍲"}.mdi-microsoft-access:before{content:"󱎎"}.mdi-microsoft-azure:before{content:"󰠅"}.mdi-microsoft-azure-devops:before{content:"󰿕"}.mdi-microsoft-bing:before{content:"󰂤"}.mdi-microsoft-dynamics-365:before{content:"󰦈"}.mdi-microsoft-edge:before{content:"󰇩"}.mdi-microsoft-excel:before{content:"󱎏"}.mdi-microsoft-internet-explorer:before{content:"󰌀"}.mdi-microsoft-office:before{content:"󰏆"}.mdi-microsoft-onedrive:before{content:"󰏊"}.mdi-microsoft-onenote:before{content:"󰝇"}.mdi-microsoft-outlook:before{content:"󰴢"}.mdi-microsoft-powerpoint:before{content:"󱎐"}.mdi-microsoft-sharepoint:before{content:"󱎑"}.mdi-microsoft-teams:before{content:"󰊻"}.mdi-microsoft-visual-studio:before{content:"󰘐"}.mdi-microsoft-visual-studio-code:before{content:"󰨞"}.mdi-microsoft-windows:before{content:"󰖳"}.mdi-microsoft-windows-classic:before{content:"󰨡"}.mdi-microsoft-word:before{content:"󱎒"}.mdi-microsoft-xbox:before{content:"󰖹"}.mdi-microsoft-xbox-controller:before{content:"󰖺"}.mdi-microsoft-xbox-controller-battery-alert:before{content:"󰝋"}.mdi-microsoft-xbox-controller-battery-charging:before{content:"󰨢"}.mdi-microsoft-xbox-controller-battery-empty:before{content:"󰝌"}.mdi-microsoft-xbox-controller-battery-full:before{content:"󰝍"}.mdi-microsoft-xbox-controller-battery-low:before{content:"󰝎"}.mdi-microsoft-xbox-controller-battery-medium:before{content:"󰝏"}.mdi-microsoft-xbox-controller-battery-unknown:before{content:"󰝐"}.mdi-microsoft-xbox-controller-menu:before{content:"󰹯"}.mdi-microsoft-xbox-controller-off:before{content:"󰖻"}.mdi-microsoft-xbox-controller-view:before{content:"󰹰"}.mdi-microwave:before{content:"󰲙"}.mdi-microwave-off:before{content:"󱐣"}.mdi-middleware:before{content:"󰽝"}.mdi-middleware-outline:before{content:"󰽞"}.mdi-midi:before{content:"󰣱"}.mdi-midi-port:before{content:"󰣲"}.mdi-mine:before{content:"󰷚"}.mdi-minecraft:before{content:"󰍳"}.mdi-mini-sd:before{content:"󰨅"}.mdi-minidisc:before{content:"󰨆"}.mdi-minus:before{content:"󰍴"}.mdi-minus-box:before{content:"󰍵"}.mdi-minus-box-multiple:before{content:"󱅁"}.mdi-minus-box-multiple-outline:before{content:"󱅂"}.mdi-minus-box-outline:before{content:"󰛲"}.mdi-minus-circle:before{content:"󰍶"}.mdi-minus-circle-multiple:before{content:"󰍚"}.mdi-minus-circle-multiple-outline:before{content:"󰫓"}.mdi-minus-circle-off:before{content:"󱑙"}.mdi-minus-circle-off-outline:before{content:"󱑚"}.mdi-minus-circle-outline:before{content:"󰍷"}.mdi-minus-network:before{content:"󰍸"}.mdi-minus-network-outline:before{content:"󰲚"}.mdi-minus-thick:before{content:"󱘹"}.mdi-mirror:before{content:"󱇽"}.mdi-mirror-rectangle:before{content:"󱞟"}.mdi-mirror-variant:before{content:"󱞠"}.mdi-mixed-martial-arts:before{content:"󰶏"}.mdi-mixed-reality:before{content:"󰡿"}.mdi-molecule:before{content:"󰮬"}.mdi-molecule-co:before{content:"󱋾"}.mdi-molecule-co2:before{content:"󰟤"}.mdi-monitor:before{content:"󰍹"}.mdi-monitor-account:before{content:"󱩛"}.mdi-monitor-arrow-down:before{content:"󱧐"}.mdi-monitor-arrow-down-variant:before{content:"󱧑"}.mdi-monitor-cellphone:before{content:"󰦉"}.mdi-monitor-cellphone-star:before{content:"󰦊"}.mdi-monitor-dashboard:before{content:"󰨇"}.mdi-monitor-edit:before{content:"󱋆"}.mdi-monitor-eye:before{content:"󱎴"}.mdi-monitor-lock:before{content:"󰷛"}.mdi-monitor-multiple:before{content:"󰍺"}.mdi-monitor-off:before{content:"󰶐"}.mdi-monitor-screenshot:before{content:"󰹑"}.mdi-monitor-share:before{content:"󱒃"}.mdi-monitor-shimmer:before{content:"󱄄"}.mdi-monitor-small:before{content:"󱡶"}.mdi-monitor-speaker:before{content:"󰽟"}.mdi-monitor-speaker-off:before{content:"󰽠"}.mdi-monitor-star:before{content:"󰷜"}.mdi-monitor-vertical:before{content:"󱰳"}.mdi-moon-first-quarter:before{content:"󰽡"}.mdi-moon-full:before{content:"󰽢"}.mdi-moon-last-quarter:before{content:"󰽣"}.mdi-moon-new:before{content:"󰽤"}.mdi-moon-waning-crescent:before{content:"󰽥"}.mdi-moon-waning-gibbous:before{content:"󰽦"}.mdi-moon-waxing-crescent:before{content:"󰽧"}.mdi-moon-waxing-gibbous:before{content:"󰽨"}.mdi-moped:before{content:"󱂆"}.mdi-moped-electric:before{content:"󱖷"}.mdi-moped-electric-outline:before{content:"󱖸"}.mdi-moped-outline:before{content:"󱖹"}.mdi-more:before{content:"󰍻"}.mdi-mortar-pestle:before{content:"󱝈"}.mdi-mortar-pestle-plus:before{content:"󰏱"}.mdi-mosque:before{content:"󰵅"}.mdi-mosque-outline:before{content:"󱠧"}.mdi-mother-heart:before{content:"󱌔"}.mdi-mother-nurse:before{content:"󰴡"}.mdi-motion:before{content:"󱖲"}.mdi-motion-outline:before{content:"󱖳"}.mdi-motion-pause:before{content:"󱖐"}.mdi-motion-pause-outline:before{content:"󱖒"}.mdi-motion-play:before{content:"󱖏"}.mdi-motion-play-outline:before{content:"󱖑"}.mdi-motion-sensor:before{content:"󰶑"}.mdi-motion-sensor-off:before{content:"󱐵"}.mdi-motorbike:before{content:"󰍼"}.mdi-motorbike-electric:before{content:"󱖺"}.mdi-motorbike-off:before{content:"󱬖"}.mdi-mouse:before{content:"󰍽"}.mdi-mouse-bluetooth:before{content:"󰦋"}.mdi-mouse-move-down:before{content:"󱕐"}.mdi-mouse-move-up:before{content:"󱕑"}.mdi-mouse-move-vertical:before{content:"󱕒"}.mdi-mouse-off:before{content:"󰍾"}.mdi-mouse-variant:before{content:"󰍿"}.mdi-mouse-variant-off:before{content:"󰎀"}.mdi-move-resize:before{content:"󰙕"}.mdi-move-resize-variant:before{content:"󰙖"}.mdi-movie:before{content:"󰎁"}.mdi-movie-check:before{content:"󱛳"}.mdi-movie-check-outline:before{content:"󱛴"}.mdi-movie-cog:before{content:"󱛵"}.mdi-movie-cog-outline:before{content:"󱛶"}.mdi-movie-edit:before{content:"󱄢"}.mdi-movie-edit-outline:before{content:"󱄣"}.mdi-movie-filter:before{content:"󱄤"}.mdi-movie-filter-outline:before{content:"󱄥"}.mdi-movie-minus:before{content:"󱛷"}.mdi-movie-minus-outline:before{content:"󱛸"}.mdi-movie-off:before{content:"󱛹"}.mdi-movie-off-outline:before{content:"󱛺"}.mdi-movie-open:before{content:"󰿎"}.mdi-movie-open-check:before{content:"󱛻"}.mdi-movie-open-check-outline:before{content:"󱛼"}.mdi-movie-open-cog:before{content:"󱛽"}.mdi-movie-open-cog-outline:before{content:"󱛾"}.mdi-movie-open-edit:before{content:"󱛿"}.mdi-movie-open-edit-outline:before{content:"󱜀"}.mdi-movie-open-minus:before{content:"󱜁"}.mdi-movie-open-minus-outline:before{content:"󱜂"}.mdi-movie-open-off:before{content:"󱜃"}.mdi-movie-open-off-outline:before{content:"󱜄"}.mdi-movie-open-outline:before{content:"󰿏"}.mdi-movie-open-play:before{content:"󱜅"}.mdi-movie-open-play-outline:before{content:"󱜆"}.mdi-movie-open-plus:before{content:"󱜇"}.mdi-movie-open-plus-outline:before{content:"󱜈"}.mdi-movie-open-remove:before{content:"󱜉"}.mdi-movie-open-remove-outline:before{content:"󱜊"}.mdi-movie-open-settings:before{content:"󱜋"}.mdi-movie-open-settings-outline:before{content:"󱜌"}.mdi-movie-open-star:before{content:"󱜍"}.mdi-movie-open-star-outline:before{content:"󱜎"}.mdi-movie-outline:before{content:"󰷝"}.mdi-movie-play:before{content:"󱜏"}.mdi-movie-play-outline:before{content:"󱜐"}.mdi-movie-plus:before{content:"󱜑"}.mdi-movie-plus-outline:before{content:"󱜒"}.mdi-movie-remove:before{content:"󱜓"}.mdi-movie-remove-outline:before{content:"󱜔"}.mdi-movie-roll:before{content:"󰟞"}.mdi-movie-search:before{content:"󱇒"}.mdi-movie-search-outline:before{content:"󱇓"}.mdi-movie-settings:before{content:"󱜕"}.mdi-movie-settings-outline:before{content:"󱜖"}.mdi-movie-star:before{content:"󱜗"}.mdi-movie-star-outline:before{content:"󱜘"}.mdi-mower:before{content:"󱙯"}.mdi-mower-bag:before{content:"󱙰"}.mdi-mower-bag-on:before{content:"󱭠"}.mdi-mower-on:before{content:"󱭟"}.mdi-muffin:before{content:"󰦌"}.mdi-multicast:before{content:"󱢓"}.mdi-multimedia:before{content:"󱮗"}.mdi-multiplication:before{content:"󰎂"}.mdi-multiplication-box:before{content:"󰎃"}.mdi-mushroom:before{content:"󰟟"}.mdi-mushroom-off:before{content:"󱏺"}.mdi-mushroom-off-outline:before{content:"󱏻"}.mdi-mushroom-outline:before{content:"󰟠"}.mdi-music:before{content:"󰝚"}.mdi-music-accidental-double-flat:before{content:"󰽩"}.mdi-music-accidental-double-sharp:before{content:"󰽪"}.mdi-music-accidental-flat:before{content:"󰽫"}.mdi-music-accidental-natural:before{content:"󰽬"}.mdi-music-accidental-sharp:before{content:"󰽭"}.mdi-music-box:before{content:"󰎄"}.mdi-music-box-multiple:before{content:"󰌳"}.mdi-music-box-multiple-outline:before{content:"󰼄"}.mdi-music-box-outline:before{content:"󰎅"}.mdi-music-circle:before{content:"󰎆"}.mdi-music-circle-outline:before{content:"󰫔"}.mdi-music-clef-alto:before{content:"󰽮"}.mdi-music-clef-bass:before{content:"󰽯"}.mdi-music-clef-treble:before{content:"󰽰"}.mdi-music-note:before{content:"󰎇"}.mdi-music-note-bluetooth:before{content:"󰗾"}.mdi-music-note-bluetooth-off:before{content:"󰗿"}.mdi-music-note-eighth:before{content:"󰎈"}.mdi-music-note-eighth-dotted:before{content:"󰽱"}.mdi-music-note-half:before{content:"󰎉"}.mdi-music-note-half-dotted:before{content:"󰽲"}.mdi-music-note-minus:before{content:"󱮉"}.mdi-music-note-off:before{content:"󰎊"}.mdi-music-note-off-outline:before{content:"󰽳"}.mdi-music-note-outline:before{content:"󰽴"}.mdi-music-note-plus:before{content:"󰷞"}.mdi-music-note-quarter:before{content:"󰎋"}.mdi-music-note-quarter-dotted:before{content:"󰽵"}.mdi-music-note-sixteenth:before{content:"󰎌"}.mdi-music-note-sixteenth-dotted:before{content:"󰽶"}.mdi-music-note-whole:before{content:"󰎍"}.mdi-music-note-whole-dotted:before{content:"󰽷"}.mdi-music-off:before{content:"󰝛"}.mdi-music-rest-eighth:before{content:"󰽸"}.mdi-music-rest-half:before{content:"󰽹"}.mdi-music-rest-quarter:before{content:"󰽺"}.mdi-music-rest-sixteenth:before{content:"󰽻"}.mdi-music-rest-whole:before{content:"󰽼"}.mdi-mustache:before{content:"󱗞"}.mdi-nail:before{content:"󰷟"}.mdi-nas:before{content:"󰣳"}.mdi-nativescript:before{content:"󰢀"}.mdi-nature:before{content:"󰎎"}.mdi-nature-outline:before{content:"󱱱"}.mdi-nature-people:before{content:"󰎏"}.mdi-nature-people-outline:before{content:"󱱲"}.mdi-navigation:before{content:"󰎐"}.mdi-navigation-outline:before{content:"󱘇"}.mdi-navigation-variant:before{content:"󱣰"}.mdi-navigation-variant-outline:before{content:"󱣱"}.mdi-near-me:before{content:"󰗍"}.mdi-necklace:before{content:"󰼋"}.mdi-needle:before{content:"󰎑"}.mdi-needle-off:before{content:"󱧒"}.mdi-netflix:before{content:"󰝆"}.mdi-network:before{content:"󰛳"}.mdi-network-off:before{content:"󰲛"}.mdi-network-off-outline:before{content:"󰲜"}.mdi-network-outline:before{content:"󰲝"}.mdi-network-pos:before{content:"󱫋"}.mdi-network-strength-1:before{content:"󰣴"}.mdi-network-strength-1-alert:before{content:"󰣵"}.mdi-network-strength-2:before{content:"󰣶"}.mdi-network-strength-2-alert:before{content:"󰣷"}.mdi-network-strength-3:before{content:"󰣸"}.mdi-network-strength-3-alert:before{content:"󰣹"}.mdi-network-strength-4:before{content:"󰣺"}.mdi-network-strength-4-alert:before{content:"󰣻"}.mdi-network-strength-4-cog:before{content:"󱤚"}.mdi-network-strength-off:before{content:"󰣼"}.mdi-network-strength-off-outline:before{content:"󰣽"}.mdi-network-strength-outline:before{content:"󰣾"}.mdi-new-box:before{content:"󰎔"}.mdi-newspaper:before{content:"󰎕"}.mdi-newspaper-check:before{content:"󱥃"}.mdi-newspaper-minus:before{content:"󰼌"}.mdi-newspaper-plus:before{content:"󰼍"}.mdi-newspaper-remove:before{content:"󱥄"}.mdi-newspaper-variant:before{content:"󱀁"}.mdi-newspaper-variant-multiple:before{content:"󱀂"}.mdi-newspaper-variant-multiple-outline:before{content:"󱀃"}.mdi-newspaper-variant-outline:before{content:"󱀄"}.mdi-nfc:before{content:"󰎖"}.mdi-nfc-search-variant:before{content:"󰹓"}.mdi-nfc-tap:before{content:"󰎗"}.mdi-nfc-variant:before{content:"󰎘"}.mdi-nfc-variant-off:before{content:"󰹔"}.mdi-ninja:before{content:"󰝴"}.mdi-nintendo-game-boy:before{content:"󱎓"}.mdi-nintendo-switch:before{content:"󰟡"}.mdi-nintendo-wii:before{content:"󰖫"}.mdi-nintendo-wiiu:before{content:"󰜭"}.mdi-nix:before{content:"󱄅"}.mdi-nodejs:before{content:"󰎙"}.mdi-noodles:before{content:"󱅾"}.mdi-not-equal:before{content:"󰦍"}.mdi-not-equal-variant:before{content:"󰦎"}.mdi-note:before{content:"󰎚"}.mdi-note-alert:before{content:"󱝽"}.mdi-note-alert-outline:before{content:"󱝾"}.mdi-note-check:before{content:"󱝿"}.mdi-note-check-outline:before{content:"󱞀"}.mdi-note-edit:before{content:"󱞁"}.mdi-note-edit-outline:before{content:"󱞂"}.mdi-note-minus:before{content:"󱙏"}.mdi-note-minus-outline:before{content:"󱙐"}.mdi-note-multiple:before{content:"󰚸"}.mdi-note-multiple-outline:before{content:"󰚹"}.mdi-note-off:before{content:"󱞃"}.mdi-note-off-outline:before{content:"󱞄"}.mdi-note-outline:before{content:"󰎛"}.mdi-note-plus:before{content:"󰎜"}.mdi-note-plus-outline:before{content:"󰎝"}.mdi-note-remove:before{content:"󱙑"}.mdi-note-remove-outline:before{content:"󱙒"}.mdi-note-search:before{content:"󱙓"}.mdi-note-search-outline:before{content:"󱙔"}.mdi-note-text:before{content:"󰎞"}.mdi-note-text-outline:before{content:"󱇗"}.mdi-notebook:before{content:"󰠮"}.mdi-notebook-check:before{content:"󱓵"}.mdi-notebook-check-outline:before{content:"󱓶"}.mdi-notebook-edit:before{content:"󱓧"}.mdi-notebook-edit-outline:before{content:"󱓩"}.mdi-notebook-heart:before{content:"󱨋"}.mdi-notebook-heart-outline:before{content:"󱨌"}.mdi-notebook-minus:before{content:"󱘐"}.mdi-notebook-minus-outline:before{content:"󱘑"}.mdi-notebook-multiple:before{content:"󰹕"}.mdi-notebook-outline:before{content:"󰺿"}.mdi-notebook-plus:before{content:"󱘒"}.mdi-notebook-plus-outline:before{content:"󱘓"}.mdi-notebook-remove:before{content:"󱘔"}.mdi-notebook-remove-outline:before{content:"󱘕"}.mdi-notification-clear-all:before{content:"󰎟"}.mdi-npm:before{content:"󰛷"}.mdi-nuke:before{content:"󰚤"}.mdi-null:before{content:"󰟢"}.mdi-numeric:before{content:"󰎠"}.mdi-numeric-0:before{content:"󰬹"}.mdi-numeric-0-box:before{content:"󰎡"}.mdi-numeric-0-box-multiple:before{content:"󰼎"}.mdi-numeric-0-box-multiple-outline:before{content:"󰎢"}.mdi-numeric-0-box-outline:before{content:"󰎣"}.mdi-numeric-0-circle:before{content:"󰲞"}.mdi-numeric-0-circle-outline:before{content:"󰲟"}.mdi-numeric-1:before{content:"󰬺"}.mdi-numeric-1-box:before{content:"󰎤"}.mdi-numeric-1-box-multiple:before{content:"󰼏"}.mdi-numeric-1-box-multiple-outline:before{content:"󰎥"}.mdi-numeric-1-box-outline:before{content:"󰎦"}.mdi-numeric-1-circle:before{content:"󰲠"}.mdi-numeric-1-circle-outline:before{content:"󰲡"}.mdi-numeric-10:before{content:"󰿩"}.mdi-numeric-10-box:before{content:"󰽽"}.mdi-numeric-10-box-multiple:before{content:"󰿪"}.mdi-numeric-10-box-multiple-outline:before{content:"󰿫"}.mdi-numeric-10-box-outline:before{content:"󰽾"}.mdi-numeric-10-circle:before{content:"󰿬"}.mdi-numeric-10-circle-outline:before{content:"󰿭"}.mdi-numeric-2:before{content:"󰬻"}.mdi-numeric-2-box:before{content:"󰎧"}.mdi-numeric-2-box-multiple:before{content:"󰼐"}.mdi-numeric-2-box-multiple-outline:before{content:"󰎨"}.mdi-numeric-2-box-outline:before{content:"󰎩"}.mdi-numeric-2-circle:before{content:"󰲢"}.mdi-numeric-2-circle-outline:before{content:"󰲣"}.mdi-numeric-3:before{content:"󰬼"}.mdi-numeric-3-box:before{content:"󰎪"}.mdi-numeric-3-box-multiple:before{content:"󰼑"}.mdi-numeric-3-box-multiple-outline:before{content:"󰎫"}.mdi-numeric-3-box-outline:before{content:"󰎬"}.mdi-numeric-3-circle:before{content:"󰲤"}.mdi-numeric-3-circle-outline:before{content:"󰲥"}.mdi-numeric-4:before{content:"󰬽"}.mdi-numeric-4-box:before{content:"󰎭"}.mdi-numeric-4-box-multiple:before{content:"󰼒"}.mdi-numeric-4-box-multiple-outline:before{content:"󰎲"}.mdi-numeric-4-box-outline:before{content:"󰎮"}.mdi-numeric-4-circle:before{content:"󰲦"}.mdi-numeric-4-circle-outline:before{content:"󰲧"}.mdi-numeric-5:before{content:"󰬾"}.mdi-numeric-5-box:before{content:"󰎱"}.mdi-numeric-5-box-multiple:before{content:"󰼓"}.mdi-numeric-5-box-multiple-outline:before{content:"󰎯"}.mdi-numeric-5-box-outline:before{content:"󰎰"}.mdi-numeric-5-circle:before{content:"󰲨"}.mdi-numeric-5-circle-outline:before{content:"󰲩"}.mdi-numeric-6:before{content:"󰬿"}.mdi-numeric-6-box:before{content:"󰎳"}.mdi-numeric-6-box-multiple:before{content:"󰼔"}.mdi-numeric-6-box-multiple-outline:before{content:"󰎴"}.mdi-numeric-6-box-outline:before{content:"󰎵"}.mdi-numeric-6-circle:before{content:"󰲪"}.mdi-numeric-6-circle-outline:before{content:"󰲫"}.mdi-numeric-7:before{content:"󰭀"}.mdi-numeric-7-box:before{content:"󰎶"}.mdi-numeric-7-box-multiple:before{content:"󰼕"}.mdi-numeric-7-box-multiple-outline:before{content:"󰎷"}.mdi-numeric-7-box-outline:before{content:"󰎸"}.mdi-numeric-7-circle:before{content:"󰲬"}.mdi-numeric-7-circle-outline:before{content:"󰲭"}.mdi-numeric-8:before{content:"󰭁"}.mdi-numeric-8-box:before{content:"󰎹"}.mdi-numeric-8-box-multiple:before{content:"󰼖"}.mdi-numeric-8-box-multiple-outline:before{content:"󰎺"}.mdi-numeric-8-box-outline:before{content:"󰎻"}.mdi-numeric-8-circle:before{content:"󰲮"}.mdi-numeric-8-circle-outline:before{content:"󰲯"}.mdi-numeric-9:before{content:"󰭂"}.mdi-numeric-9-box:before{content:"󰎼"}.mdi-numeric-9-box-multiple:before{content:"󰼗"}.mdi-numeric-9-box-multiple-outline:before{content:"󰎽"}.mdi-numeric-9-box-outline:before{content:"󰎾"}.mdi-numeric-9-circle:before{content:"󰲰"}.mdi-numeric-9-circle-outline:before{content:"󰲱"}.mdi-numeric-9-plus:before{content:"󰿮"}.mdi-numeric-9-plus-box:before{content:"󰎿"}.mdi-numeric-9-plus-box-multiple:before{content:"󰼘"}.mdi-numeric-9-plus-box-multiple-outline:before{content:"󰏀"}.mdi-numeric-9-plus-box-outline:before{content:"󰏁"}.mdi-numeric-9-plus-circle:before{content:"󰲲"}.mdi-numeric-9-plus-circle-outline:before{content:"󰲳"}.mdi-numeric-negative-1:before{content:"󱁒"}.mdi-numeric-off:before{content:"󱧓"}.mdi-numeric-positive-1:before{content:"󱗋"}.mdi-nut:before{content:"󰛸"}.mdi-nutrition:before{content:"󰏂"}.mdi-nuxt:before{content:"󱄆"}.mdi-oar:before{content:"󰙼"}.mdi-ocarina:before{content:"󰷠"}.mdi-oci:before{content:"󱋩"}.mdi-ocr:before{content:"󱄺"}.mdi-octagon:before{content:"󰏃"}.mdi-octagon-outline:before{content:"󰏄"}.mdi-octagram:before{content:"󰛹"}.mdi-octagram-edit:before{content:"󱰴"}.mdi-octagram-edit-outline:before{content:"󱰵"}.mdi-octagram-minus:before{content:"󱰶"}.mdi-octagram-minus-outline:before{content:"󱰷"}.mdi-octagram-outline:before{content:"󰝵"}.mdi-octagram-plus:before{content:"󱰸"}.mdi-octagram-plus-outline:before{content:"󱰹"}.mdi-octahedron:before{content:"󱥐"}.mdi-octahedron-off:before{content:"󱥑"}.mdi-odnoklassniki:before{content:"󰏅"}.mdi-offer:before{content:"󱈛"}.mdi-office-building:before{content:"󰦑"}.mdi-office-building-cog:before{content:"󱥉"}.mdi-office-building-cog-outline:before{content:"󱥊"}.mdi-office-building-marker:before{content:"󱔠"}.mdi-office-building-marker-outline:before{content:"󱔡"}.mdi-office-building-minus:before{content:"󱮪"}.mdi-office-building-minus-outline:before{content:"󱮫"}.mdi-office-building-outline:before{content:"󱔟"}.mdi-office-building-plus:before{content:"󱮨"}.mdi-office-building-plus-outline:before{content:"󱮩"}.mdi-office-building-remove:before{content:"󱮬"}.mdi-office-building-remove-outline:before{content:"󱮭"}.mdi-oil:before{content:"󰏇"}.mdi-oil-lamp:before{content:"󰼙"}.mdi-oil-level:before{content:"󱁓"}.mdi-oil-temperature:before{content:"󰿸"}.mdi-om:before{content:"󰥳"}.mdi-omega:before{content:"󰏉"}.mdi-one-up:before{content:"󰮭"}.mdi-onepassword:before{content:"󰢁"}.mdi-opacity:before{content:"󰗌"}.mdi-open-in-app:before{content:"󰏋"}.mdi-open-in-new:before{content:"󰏌"}.mdi-open-source-initiative:before{content:"󰮮"}.mdi-openid:before{content:"󰏍"}.mdi-opera:before{content:"󰏎"}.mdi-orbit:before{content:"󰀘"}.mdi-orbit-variant:before{content:"󱗛"}.mdi-order-alphabetical-ascending:before{content:"󰈍"}.mdi-order-alphabetical-descending:before{content:"󰴇"}.mdi-order-bool-ascending:before{content:"󰊾"}.mdi-order-bool-ascending-variant:before{content:"󰦏"}.mdi-order-bool-descending:before{content:"󱎄"}.mdi-order-bool-descending-variant:before{content:"󰦐"}.mdi-order-numeric-ascending:before{content:"󰕅"}.mdi-order-numeric-descending:before{content:"󰕆"}.mdi-origin:before{content:"󰭃"}.mdi-ornament:before{content:"󰏏"}.mdi-ornament-variant:before{content:"󰏐"}.mdi-outdoor-lamp:before{content:"󱁔"}.mdi-overscan:before{content:"󱀅"}.mdi-owl:before{content:"󰏒"}.mdi-pac-man:before{content:"󰮯"}.mdi-package:before{content:"󰏓"}.mdi-package-check:before{content:"󱭑"}.mdi-package-down:before{content:"󰏔"}.mdi-package-up:before{content:"󰏕"}.mdi-package-variant:before{content:"󰏖"}.mdi-package-variant-closed:before{content:"󰏗"}.mdi-package-variant-closed-check:before{content:"󱭒"}.mdi-package-variant-closed-minus:before{content:"󱧔"}.mdi-package-variant-closed-plus:before{content:"󱧕"}.mdi-package-variant-closed-remove:before{content:"󱧖"}.mdi-package-variant-minus:before{content:"󱧗"}.mdi-package-variant-plus:before{content:"󱧘"}.mdi-package-variant-remove:before{content:"󱧙"}.mdi-page-first:before{content:"󰘀"}.mdi-page-last:before{content:"󰘁"}.mdi-page-layout-body:before{content:"󰛺"}.mdi-page-layout-footer:before{content:"󰛻"}.mdi-page-layout-header:before{content:"󰛼"}.mdi-page-layout-header-footer:before{content:"󰽿"}.mdi-page-layout-sidebar-left:before{content:"󰛽"}.mdi-page-layout-sidebar-right:before{content:"󰛾"}.mdi-page-next:before{content:"󰮰"}.mdi-page-next-outline:before{content:"󰮱"}.mdi-page-previous:before{content:"󰮲"}.mdi-page-previous-outline:before{content:"󰮳"}.mdi-pail:before{content:"󱐗"}.mdi-pail-minus:before{content:"󱐷"}.mdi-pail-minus-outline:before{content:"󱐼"}.mdi-pail-off:before{content:"󱐹"}.mdi-pail-off-outline:before{content:"󱐾"}.mdi-pail-outline:before{content:"󱐺"}.mdi-pail-plus:before{content:"󱐶"}.mdi-pail-plus-outline:before{content:"󱐻"}.mdi-pail-remove:before{content:"󱐸"}.mdi-pail-remove-outline:before{content:"󱐽"}.mdi-palette:before{content:"󰏘"}.mdi-palette-advanced:before{content:"󰏙"}.mdi-palette-outline:before{content:"󰸌"}.mdi-palette-swatch:before{content:"󰢵"}.mdi-palette-swatch-outline:before{content:"󱍜"}.mdi-palette-swatch-variant:before{content:"󱥚"}.mdi-palm-tree:before{content:"󱁕"}.mdi-pan:before{content:"󰮴"}.mdi-pan-bottom-left:before{content:"󰮵"}.mdi-pan-bottom-right:before{content:"󰮶"}.mdi-pan-down:before{content:"󰮷"}.mdi-pan-horizontal:before{content:"󰮸"}.mdi-pan-left:before{content:"󰮹"}.mdi-pan-right:before{content:"󰮺"}.mdi-pan-top-left:before{content:"󰮻"}.mdi-pan-top-right:before{content:"󰮼"}.mdi-pan-up:before{content:"󰮽"}.mdi-pan-vertical:before{content:"󰮾"}.mdi-panda:before{content:"󰏚"}.mdi-pandora:before{content:"󰏛"}.mdi-panorama:before{content:"󰏜"}.mdi-panorama-fisheye:before{content:"󰏝"}.mdi-panorama-horizontal:before{content:"󱤨"}.mdi-panorama-horizontal-outline:before{content:"󰏞"}.mdi-panorama-outline:before{content:"󱦌"}.mdi-panorama-sphere:before{content:"󱦍"}.mdi-panorama-sphere-outline:before{content:"󱦎"}.mdi-panorama-variant:before{content:"󱦏"}.mdi-panorama-variant-outline:before{content:"󱦐"}.mdi-panorama-vertical:before{content:"󱤩"}.mdi-panorama-vertical-outline:before{content:"󰏟"}.mdi-panorama-wide-angle:before{content:"󱥟"}.mdi-panorama-wide-angle-outline:before{content:"󰏠"}.mdi-paper-cut-vertical:before{content:"󰏡"}.mdi-paper-roll:before{content:"󱅗"}.mdi-paper-roll-outline:before{content:"󱅘"}.mdi-paperclip:before{content:"󰏢"}.mdi-paperclip-check:before{content:"󱫆"}.mdi-paperclip-lock:before{content:"󱧚"}.mdi-paperclip-minus:before{content:"󱫇"}.mdi-paperclip-off:before{content:"󱫈"}.mdi-paperclip-plus:before{content:"󱫉"}.mdi-paperclip-remove:before{content:"󱫊"}.mdi-parachute:before{content:"󰲴"}.mdi-parachute-outline:before{content:"󰲵"}.mdi-paragliding:before{content:"󱝅"}.mdi-parking:before{content:"󰏣"}.mdi-party-popper:before{content:"󱁖"}.mdi-passport:before{content:"󰟣"}.mdi-passport-biometric:before{content:"󰷡"}.mdi-pasta:before{content:"󱅠"}.mdi-patio-heater:before{content:"󰾀"}.mdi-patreon:before{content:"󰢂"}.mdi-pause:before{content:"󰏤"}.mdi-pause-box:before{content:"󰂼"}.mdi-pause-box-outline:before{content:"󱭺"}.mdi-pause-circle:before{content:"󰏥"}.mdi-pause-circle-outline:before{content:"󰏦"}.mdi-pause-octagon:before{content:"󰏧"}.mdi-pause-octagon-outline:before{content:"󰏨"}.mdi-paw:before{content:"󰏩"}.mdi-paw-off:before{content:"󰙗"}.mdi-paw-off-outline:before{content:"󱙶"}.mdi-paw-outline:before{content:"󱙵"}.mdi-peace:before{content:"󰢄"}.mdi-peanut:before{content:"󰿼"}.mdi-peanut-off:before{content:"󰿽"}.mdi-peanut-off-outline:before{content:"󰿿"}.mdi-peanut-outline:before{content:"󰿾"}.mdi-pen:before{content:"󰏪"}.mdi-pen-lock:before{content:"󰷢"}.mdi-pen-minus:before{content:"󰷣"}.mdi-pen-off:before{content:"󰷤"}.mdi-pen-plus:before{content:"󰷥"}.mdi-pen-remove:before{content:"󰷦"}.mdi-pencil:before{content:"󰏫"}.mdi-pencil-box:before{content:"󰏬"}.mdi-pencil-box-multiple:before{content:"󱅄"}.mdi-pencil-box-multiple-outline:before{content:"󱅅"}.mdi-pencil-box-outline:before{content:"󰏭"}.mdi-pencil-circle:before{content:"󰛿"}.mdi-pencil-circle-outline:before{content:"󰝶"}.mdi-pencil-lock:before{content:"󰏮"}.mdi-pencil-lock-outline:before{content:"󰷧"}.mdi-pencil-minus:before{content:"󰷨"}.mdi-pencil-minus-outline:before{content:"󰷩"}.mdi-pencil-off:before{content:"󰏯"}.mdi-pencil-off-outline:before{content:"󰷪"}.mdi-pencil-outline:before{content:"󰲶"}.mdi-pencil-plus:before{content:"󰷫"}.mdi-pencil-plus-outline:before{content:"󰷬"}.mdi-pencil-remove:before{content:"󰷭"}.mdi-pencil-remove-outline:before{content:"󰷮"}.mdi-pencil-ruler:before{content:"󱍓"}.mdi-pencil-ruler-outline:before{content:"󱰑"}.mdi-penguin:before{content:"󰻀"}.mdi-pentagon:before{content:"󰜁"}.mdi-pentagon-outline:before{content:"󰜀"}.mdi-pentagram:before{content:"󱙧"}.mdi-percent:before{content:"󰏰"}.mdi-percent-box:before{content:"󱨂"}.mdi-percent-box-outline:before{content:"󱨃"}.mdi-percent-circle:before{content:"󱨄"}.mdi-percent-circle-outline:before{content:"󱨅"}.mdi-percent-outline:before{content:"󱉸"}.mdi-periodic-table:before{content:"󰢶"}.mdi-perspective-less:before{content:"󰴣"}.mdi-perspective-more:before{content:"󰴤"}.mdi-ph:before{content:"󱟅"}.mdi-phone:before{content:"󰏲"}.mdi-phone-alert:before{content:"󰼚"}.mdi-phone-alert-outline:before{content:"󱆎"}.mdi-phone-bluetooth:before{content:"󰏳"}.mdi-phone-bluetooth-outline:before{content:"󱆏"}.mdi-phone-cancel:before{content:"󱂼"}.mdi-phone-cancel-outline:before{content:"󱆐"}.mdi-phone-check:before{content:"󱆩"}.mdi-phone-check-outline:before{content:"󱆪"}.mdi-phone-classic:before{content:"󰘂"}.mdi-phone-classic-off:before{content:"󱉹"}.mdi-phone-clock:before{content:"󱧛"}.mdi-phone-dial:before{content:"󱕙"}.mdi-phone-dial-outline:before{content:"󱕚"}.mdi-phone-forward:before{content:"󰏴"}.mdi-phone-forward-outline:before{content:"󱆑"}.mdi-phone-hangup:before{content:"󰏵"}.mdi-phone-hangup-outline:before{content:"󱆒"}.mdi-phone-in-talk:before{content:"󰏶"}.mdi-phone-in-talk-outline:before{content:"󱆂"}.mdi-phone-incoming:before{content:"󰏷"}.mdi-phone-incoming-outgoing:before{content:"󱬿"}.mdi-phone-incoming-outgoing-outline:before{content:"󱭀"}.mdi-phone-incoming-outline:before{content:"󱆓"}.mdi-phone-lock:before{content:"󰏸"}.mdi-phone-lock-outline:before{content:"󱆔"}.mdi-phone-log:before{content:"󰏹"}.mdi-phone-log-outline:before{content:"󱆕"}.mdi-phone-message:before{content:"󱆖"}.mdi-phone-message-outline:before{content:"󱆗"}.mdi-phone-minus:before{content:"󰙘"}.mdi-phone-minus-outline:before{content:"󱆘"}.mdi-phone-missed:before{content:"󰏺"}.mdi-phone-missed-outline:before{content:"󱆥"}.mdi-phone-off:before{content:"󰷯"}.mdi-phone-off-outline:before{content:"󱆦"}.mdi-phone-outgoing:before{content:"󰏻"}.mdi-phone-outgoing-outline:before{content:"󱆙"}.mdi-phone-outline:before{content:"󰷰"}.mdi-phone-paused:before{content:"󰏼"}.mdi-phone-paused-outline:before{content:"󱆚"}.mdi-phone-plus:before{content:"󰙙"}.mdi-phone-plus-outline:before{content:"󱆛"}.mdi-phone-refresh:before{content:"󱦓"}.mdi-phone-refresh-outline:before{content:"󱦔"}.mdi-phone-remove:before{content:"󱔯"}.mdi-phone-remove-outline:before{content:"󱔰"}.mdi-phone-return:before{content:"󰠯"}.mdi-phone-return-outline:before{content:"󱆜"}.mdi-phone-ring:before{content:"󱆫"}.mdi-phone-ring-outline:before{content:"󱆬"}.mdi-phone-rotate-landscape:before{content:"󰢅"}.mdi-phone-rotate-portrait:before{content:"󰢆"}.mdi-phone-settings:before{content:"󰏽"}.mdi-phone-settings-outline:before{content:"󱆝"}.mdi-phone-sync:before{content:"󱦕"}.mdi-phone-sync-outline:before{content:"󱦖"}.mdi-phone-voip:before{content:"󰏾"}.mdi-pi:before{content:"󰏿"}.mdi-pi-box:before{content:"󰐀"}.mdi-pi-hole:before{content:"󰷱"}.mdi-piano:before{content:"󰙽"}.mdi-piano-off:before{content:"󰚘"}.mdi-pickaxe:before{content:"󰢷"}.mdi-picture-in-picture-bottom-right:before{content:"󰹗"}.mdi-picture-in-picture-bottom-right-outline:before{content:"󰹘"}.mdi-picture-in-picture-top-right:before{content:"󰹙"}.mdi-picture-in-picture-top-right-outline:before{content:"󰹚"}.mdi-pier:before{content:"󰢇"}.mdi-pier-crane:before{content:"󰢈"}.mdi-pig:before{content:"󰐁"}.mdi-pig-variant:before{content:"󱀆"}.mdi-pig-variant-outline:before{content:"󱙸"}.mdi-piggy-bank:before{content:"󱀇"}.mdi-piggy-bank-outline:before{content:"󱙹"}.mdi-pill:before{content:"󰐂"}.mdi-pill-multiple:before{content:"󱭌"}.mdi-pill-off:before{content:"󱩜"}.mdi-pillar:before{content:"󰜂"}.mdi-pin:before{content:"󰐃"}.mdi-pin-off:before{content:"󰐄"}.mdi-pin-off-outline:before{content:"󰤰"}.mdi-pin-outline:before{content:"󰤱"}.mdi-pine-tree:before{content:"󰐅"}.mdi-pine-tree-box:before{content:"󰐆"}.mdi-pine-tree-fire:before{content:"󱐚"}.mdi-pine-tree-variant:before{content:"󱱳"}.mdi-pine-tree-variant-outline:before{content:"󱱴"}.mdi-pinterest:before{content:"󰐇"}.mdi-pinwheel:before{content:"󰫕"}.mdi-pinwheel-outline:before{content:"󰫖"}.mdi-pipe:before{content:"󰟥"}.mdi-pipe-disconnected:before{content:"󰟦"}.mdi-pipe-leak:before{content:"󰢉"}.mdi-pipe-valve:before{content:"󱡍"}.mdi-pipe-wrench:before{content:"󱍔"}.mdi-pirate:before{content:"󰨈"}.mdi-pistol:before{content:"󰜃"}.mdi-piston:before{content:"󰢊"}.mdi-pitchfork:before{content:"󱕓"}.mdi-pizza:before{content:"󰐉"}.mdi-plane-car:before{content:"󱫿"}.mdi-plane-train:before{content:"󱬀"}.mdi-play:before{content:"󰐊"}.mdi-play-box:before{content:"󱉺"}.mdi-play-box-edit-outline:before{content:"󱰺"}.mdi-play-box-lock:before{content:"󱨖"}.mdi-play-box-lock-open:before{content:"󱨗"}.mdi-play-box-lock-open-outline:before{content:"󱨘"}.mdi-play-box-lock-outline:before{content:"󱨙"}.mdi-play-box-multiple:before{content:"󰴙"}.mdi-play-box-multiple-outline:before{content:"󱏦"}.mdi-play-box-outline:before{content:"󰐋"}.mdi-play-circle:before{content:"󰐌"}.mdi-play-circle-outline:before{content:"󰐍"}.mdi-play-network:before{content:"󰢋"}.mdi-play-network-outline:before{content:"󰲷"}.mdi-play-outline:before{content:"󰼛"}.mdi-play-pause:before{content:"󰐎"}.mdi-play-protected-content:before{content:"󰐏"}.mdi-play-speed:before{content:"󰣿"}.mdi-playlist-check:before{content:"󰗇"}.mdi-playlist-edit:before{content:"󰤀"}.mdi-playlist-minus:before{content:"󰐐"}.mdi-playlist-music:before{content:"󰲸"}.mdi-playlist-music-outline:before{content:"󰲹"}.mdi-playlist-play:before{content:"󰐑"}.mdi-playlist-plus:before{content:"󰐒"}.mdi-playlist-remove:before{content:"󰐓"}.mdi-playlist-star:before{content:"󰷲"}.mdi-plex:before{content:"󰚺"}.mdi-pliers:before{content:"󱦤"}.mdi-plus:before{content:"󰐕"}.mdi-plus-box:before{content:"󰐖"}.mdi-plus-box-multiple:before{content:"󰌴"}.mdi-plus-box-multiple-outline:before{content:"󱅃"}.mdi-plus-box-outline:before{content:"󰜄"}.mdi-plus-circle:before{content:"󰐗"}.mdi-plus-circle-multiple:before{content:"󰍌"}.mdi-plus-circle-multiple-outline:before{content:"󰐘"}.mdi-plus-circle-outline:before{content:"󰐙"}.mdi-plus-lock:before{content:"󱩝"}.mdi-plus-lock-open:before{content:"󱩞"}.mdi-plus-minus:before{content:"󰦒"}.mdi-plus-minus-box:before{content:"󰦓"}.mdi-plus-minus-variant:before{content:"󱓉"}.mdi-plus-network:before{content:"󰐚"}.mdi-plus-network-outline:before{content:"󰲺"}.mdi-plus-outline:before{content:"󰜅"}.mdi-plus-thick:before{content:"󱇬"}.mdi-podcast:before{content:"󰦔"}.mdi-podium:before{content:"󰴥"}.mdi-podium-bronze:before{content:"󰴦"}.mdi-podium-gold:before{content:"󰴧"}.mdi-podium-silver:before{content:"󰴨"}.mdi-point-of-sale:before{content:"󰶒"}.mdi-pokeball:before{content:"󰐝"}.mdi-pokemon-go:before{content:"󰨉"}.mdi-poker-chip:before{content:"󰠰"}.mdi-polaroid:before{content:"󰐞"}.mdi-police-badge:before{content:"󱅧"}.mdi-police-badge-outline:before{content:"󱅨"}.mdi-police-station:before{content:"󱠹"}.mdi-poll:before{content:"󰐟"}.mdi-polo:before{content:"󱓃"}.mdi-polymer:before{content:"󰐡"}.mdi-pool:before{content:"󰘆"}.mdi-pool-thermometer:before{content:"󱩟"}.mdi-popcorn:before{content:"󰐢"}.mdi-post:before{content:"󱀈"}.mdi-post-lamp:before{content:"󱩠"}.mdi-post-outline:before{content:"󱀉"}.mdi-postage-stamp:before{content:"󰲻"}.mdi-pot:before{content:"󰋥"}.mdi-pot-mix:before{content:"󰙛"}.mdi-pot-mix-outline:before{content:"󰙷"}.mdi-pot-outline:before{content:"󰋿"}.mdi-pot-steam:before{content:"󰙚"}.mdi-pot-steam-outline:before{content:"󰌦"}.mdi-pound:before{content:"󰐣"}.mdi-pound-box:before{content:"󰐤"}.mdi-pound-box-outline:before{content:"󱅿"}.mdi-power:before{content:"󰐥"}.mdi-power-cycle:before{content:"󰤁"}.mdi-power-off:before{content:"󰤂"}.mdi-power-on:before{content:"󰤃"}.mdi-power-plug:before{content:"󰚥"}.mdi-power-plug-battery:before{content:"󱰻"}.mdi-power-plug-battery-outline:before{content:"󱰼"}.mdi-power-plug-off:before{content:"󰚦"}.mdi-power-plug-off-outline:before{content:"󱐤"}.mdi-power-plug-outline:before{content:"󱐥"}.mdi-power-settings:before{content:"󰐦"}.mdi-power-sleep:before{content:"󰤄"}.mdi-power-socket:before{content:"󰐧"}.mdi-power-socket-au:before{content:"󰤅"}.mdi-power-socket-ch:before{content:"󰾳"}.mdi-power-socket-de:before{content:"󱄇"}.mdi-power-socket-eu:before{content:"󰟧"}.mdi-power-socket-fr:before{content:"󱄈"}.mdi-power-socket-it:before{content:"󱓿"}.mdi-power-socket-jp:before{content:"󱄉"}.mdi-power-socket-uk:before{content:"󰟨"}.mdi-power-socket-us:before{content:"󰟩"}.mdi-power-standby:before{content:"󰤆"}.mdi-powershell:before{content:"󰨊"}.mdi-prescription:before{content:"󰜆"}.mdi-presentation:before{content:"󰐨"}.mdi-presentation-play:before{content:"󰐩"}.mdi-pretzel:before{content:"󱕢"}.mdi-printer:before{content:"󰐪"}.mdi-printer-3d:before{content:"󰐫"}.mdi-printer-3d-nozzle:before{content:"󰹛"}.mdi-printer-3d-nozzle-alert:before{content:"󱇀"}.mdi-printer-3d-nozzle-alert-outline:before{content:"󱇁"}.mdi-printer-3d-nozzle-heat:before{content:"󱢸"}.mdi-printer-3d-nozzle-heat-outline:before{content:"󱢹"}.mdi-printer-3d-nozzle-off:before{content:"󱬙"}.mdi-printer-3d-nozzle-off-outline:before{content:"󱬚"}.mdi-printer-3d-nozzle-outline:before{content:"󰹜"}.mdi-printer-3d-off:before{content:"󱬎"}.mdi-printer-alert:before{content:"󰐬"}.mdi-printer-check:before{content:"󱅆"}.mdi-printer-eye:before{content:"󱑘"}.mdi-printer-off:before{content:"󰹝"}.mdi-printer-off-outline:before{content:"󱞅"}.mdi-printer-outline:before{content:"󱞆"}.mdi-printer-pos:before{content:"󱁗"}.mdi-printer-pos-alert:before{content:"󱮼"}.mdi-printer-pos-alert-outline:before{content:"󱮽"}.mdi-printer-pos-cancel:before{content:"󱮾"}.mdi-printer-pos-cancel-outline:before{content:"󱮿"}.mdi-printer-pos-check:before{content:"󱯀"}.mdi-printer-pos-check-outline:before{content:"󱯁"}.mdi-printer-pos-cog:before{content:"󱯂"}.mdi-printer-pos-cog-outline:before{content:"󱯃"}.mdi-printer-pos-edit:before{content:"󱯄"}.mdi-printer-pos-edit-outline:before{content:"󱯅"}.mdi-printer-pos-minus:before{content:"󱯆"}.mdi-printer-pos-minus-outline:before{content:"󱯇"}.mdi-printer-pos-network:before{content:"󱯈"}.mdi-printer-pos-network-outline:before{content:"󱯉"}.mdi-printer-pos-off:before{content:"󱯊"}.mdi-printer-pos-off-outline:before{content:"󱯋"}.mdi-printer-pos-outline:before{content:"󱯌"}.mdi-printer-pos-pause:before{content:"󱯍"}.mdi-printer-pos-pause-outline:before{content:"󱯎"}.mdi-printer-pos-play:before{content:"󱯏"}.mdi-printer-pos-play-outline:before{content:"󱯐"}.mdi-printer-pos-plus:before{content:"󱯑"}.mdi-printer-pos-plus-outline:before{content:"󱯒"}.mdi-printer-pos-refresh:before{content:"󱯓"}.mdi-printer-pos-refresh-outline:before{content:"󱯔"}.mdi-printer-pos-remove:before{content:"󱯕"}.mdi-printer-pos-remove-outline:before{content:"󱯖"}.mdi-printer-pos-star:before{content:"󱯗"}.mdi-printer-pos-star-outline:before{content:"󱯘"}.mdi-printer-pos-stop:before{content:"󱯙"}.mdi-printer-pos-stop-outline:before{content:"󱯚"}.mdi-printer-pos-sync:before{content:"󱯛"}.mdi-printer-pos-sync-outline:before{content:"󱯜"}.mdi-printer-pos-wrench:before{content:"󱯝"}.mdi-printer-pos-wrench-outline:before{content:"󱯞"}.mdi-printer-search:before{content:"󱑗"}.mdi-printer-settings:before{content:"󰜇"}.mdi-printer-wireless:before{content:"󰨋"}.mdi-priority-high:before{content:"󰘃"}.mdi-priority-low:before{content:"󰘄"}.mdi-professional-hexagon:before{content:"󰐭"}.mdi-progress-alert:before{content:"󰲼"}.mdi-progress-check:before{content:"󰦕"}.mdi-progress-clock:before{content:"󰦖"}.mdi-progress-close:before{content:"󱄊"}.mdi-progress-download:before{content:"󰦗"}.mdi-progress-helper:before{content:"󱮢"}.mdi-progress-pencil:before{content:"󱞇"}.mdi-progress-question:before{content:"󱔢"}.mdi-progress-star:before{content:"󱞈"}.mdi-progress-star-four-points:before{content:"󱰽"}.mdi-progress-upload:before{content:"󰦘"}.mdi-progress-wrench:before{content:"󰲽"}.mdi-projector:before{content:"󰐮"}.mdi-projector-off:before{content:"󱨣"}.mdi-projector-screen:before{content:"󰐯"}.mdi-projector-screen-off:before{content:"󱠍"}.mdi-projector-screen-off-outline:before{content:"󱠎"}.mdi-projector-screen-outline:before{content:"󱜤"}.mdi-projector-screen-variant:before{content:"󱠏"}.mdi-projector-screen-variant-off:before{content:"󱠐"}.mdi-projector-screen-variant-off-outline:before{content:"󱠑"}.mdi-projector-screen-variant-outline:before{content:"󱠒"}.mdi-propane-tank:before{content:"󱍗"}.mdi-propane-tank-outline:before{content:"󱍘"}.mdi-protocol:before{content:"󰿘"}.mdi-publish:before{content:"󰚧"}.mdi-publish-off:before{content:"󱥅"}.mdi-pulse:before{content:"󰐰"}.mdi-pump:before{content:"󱐂"}.mdi-pump-off:before{content:"󱬢"}.mdi-pumpkin:before{content:"󰮿"}.mdi-purse:before{content:"󰼜"}.mdi-purse-outline:before{content:"󰼝"}.mdi-puzzle:before{content:"󰐱"}.mdi-puzzle-check:before{content:"󱐦"}.mdi-puzzle-check-outline:before{content:"󱐧"}.mdi-puzzle-edit:before{content:"󱓓"}.mdi-puzzle-edit-outline:before{content:"󱓙"}.mdi-puzzle-heart:before{content:"󱓔"}.mdi-puzzle-heart-outline:before{content:"󱓚"}.mdi-puzzle-minus:before{content:"󱓑"}.mdi-puzzle-minus-outline:before{content:"󱓗"}.mdi-puzzle-outline:before{content:"󰩦"}.mdi-puzzle-plus:before{content:"󱓐"}.mdi-puzzle-plus-outline:before{content:"󱓖"}.mdi-puzzle-remove:before{content:"󱓒"}.mdi-puzzle-remove-outline:before{content:"󱓘"}.mdi-puzzle-star:before{content:"󱓕"}.mdi-puzzle-star-outline:before{content:"󱓛"}.mdi-pyramid:before{content:"󱥒"}.mdi-pyramid-off:before{content:"󱥓"}.mdi-qi:before{content:"󰦙"}.mdi-qqchat:before{content:"󰘅"}.mdi-qrcode:before{content:"󰐲"}.mdi-qrcode-edit:before{content:"󰢸"}.mdi-qrcode-minus:before{content:"󱆌"}.mdi-qrcode-plus:before{content:"󱆋"}.mdi-qrcode-remove:before{content:"󱆍"}.mdi-qrcode-scan:before{content:"󰐳"}.mdi-quadcopter:before{content:"󰐴"}.mdi-quality-high:before{content:"󰐵"}.mdi-quality-low:before{content:"󰨌"}.mdi-quality-medium:before{content:"󰨍"}.mdi-quora:before{content:"󰴩"}.mdi-rabbit:before{content:"󰤇"}.mdi-rabbit-variant:before{content:"󱩡"}.mdi-rabbit-variant-outline:before{content:"󱩢"}.mdi-racing-helmet:before{content:"󰶓"}.mdi-racquetball:before{content:"󰶔"}.mdi-radar:before{content:"󰐷"}.mdi-radiator:before{content:"󰐸"}.mdi-radiator-disabled:before{content:"󰫗"}.mdi-radiator-off:before{content:"󰫘"}.mdi-radio:before{content:"󰐹"}.mdi-radio-am:before{content:"󰲾"}.mdi-radio-fm:before{content:"󰲿"}.mdi-radio-handheld:before{content:"󰐺"}.mdi-radio-off:before{content:"󱈜"}.mdi-radio-tower:before{content:"󰐻"}.mdi-radioactive:before{content:"󰐼"}.mdi-radioactive-circle:before{content:"󱡝"}.mdi-radioactive-circle-outline:before{content:"󱡞"}.mdi-radioactive-off:before{content:"󰻁"}.mdi-radiobox-blank:before{content:"󰐽"}.mdi-radiobox-indeterminate-variant:before{content:"󱱞"}.mdi-radiobox-marked:before{content:"󰐾"}.mdi-radiology-box:before{content:"󱓅"}.mdi-radiology-box-outline:before{content:"󱓆"}.mdi-radius:before{content:"󰳀"}.mdi-radius-outline:before{content:"󰳁"}.mdi-railroad-light:before{content:"󰼞"}.mdi-rake:before{content:"󱕄"}.mdi-raspberry-pi:before{content:"󰐿"}.mdi-raw:before{content:"󱨏"}.mdi-raw-off:before{content:"󱨐"}.mdi-ray-end:before{content:"󰑀"}.mdi-ray-end-arrow:before{content:"󰑁"}.mdi-ray-start:before{content:"󰑂"}.mdi-ray-start-arrow:before{content:"󰑃"}.mdi-ray-start-end:before{content:"󰑄"}.mdi-ray-start-vertex-end:before{content:"󱗘"}.mdi-ray-vertex:before{content:"󰑅"}.mdi-razor-double-edge:before{content:"󱦗"}.mdi-razor-single-edge:before{content:"󱦘"}.mdi-react:before{content:"󰜈"}.mdi-read:before{content:"󰑇"}.mdi-receipt:before{content:"󰠤"}.mdi-receipt-clock:before{content:"󱰾"}.mdi-receipt-clock-outline:before{content:"󱰿"}.mdi-receipt-outline:before{content:"󰓷"}.mdi-receipt-send:before{content:"󱱀"}.mdi-receipt-send-outline:before{content:"󱱁"}.mdi-receipt-text:before{content:"󰑉"}.mdi-receipt-text-arrow-left:before{content:"󱱂"}.mdi-receipt-text-arrow-left-outline:before{content:"󱱃"}.mdi-receipt-text-arrow-right:before{content:"󱱄"}.mdi-receipt-text-arrow-right-outline:before{content:"󱱅"}.mdi-receipt-text-check:before{content:"󱩣"}.mdi-receipt-text-check-outline:before{content:"󱩤"}.mdi-receipt-text-clock:before{content:"󱱆"}.mdi-receipt-text-clock-outline:before{content:"󱱇"}.mdi-receipt-text-edit:before{content:"󱱈"}.mdi-receipt-text-edit-outline:before{content:"󱱉"}.mdi-receipt-text-minus:before{content:"󱩥"}.mdi-receipt-text-minus-outline:before{content:"󱩦"}.mdi-receipt-text-outline:before{content:"󱧜"}.mdi-receipt-text-plus:before{content:"󱩧"}.mdi-receipt-text-plus-outline:before{content:"󱩨"}.mdi-receipt-text-remove:before{content:"󱩩"}.mdi-receipt-text-remove-outline:before{content:"󱩪"}.mdi-receipt-text-send:before{content:"󱱊"}.mdi-receipt-text-send-outline:before{content:"󱱋"}.mdi-record:before{content:"󰑊"}.mdi-record-circle:before{content:"󰻂"}.mdi-record-circle-outline:before{content:"󰻃"}.mdi-record-player:before{content:"󰦚"}.mdi-record-rec:before{content:"󰑋"}.mdi-rectangle:before{content:"󰹞"}.mdi-rectangle-outline:before{content:"󰹟"}.mdi-recycle:before{content:"󰑌"}.mdi-recycle-variant:before{content:"󱎝"}.mdi-reddit:before{content:"󰑍"}.mdi-redhat:before{content:"󱄛"}.mdi-redo:before{content:"󰑎"}.mdi-redo-variant:before{content:"󰑏"}.mdi-reflect-horizontal:before{content:"󰨎"}.mdi-reflect-vertical:before{content:"󰨏"}.mdi-refresh:before{content:"󰑐"}.mdi-refresh-auto:before{content:"󱣲"}.mdi-refresh-circle:before{content:"󱍷"}.mdi-regex:before{content:"󰑑"}.mdi-registered-trademark:before{content:"󰩧"}.mdi-reiterate:before{content:"󱖈"}.mdi-relation-many-to-many:before{content:"󱒖"}.mdi-relation-many-to-one:before{content:"󱒗"}.mdi-relation-many-to-one-or-many:before{content:"󱒘"}.mdi-relation-many-to-only-one:before{content:"󱒙"}.mdi-relation-many-to-zero-or-many:before{content:"󱒚"}.mdi-relation-many-to-zero-or-one:before{content:"󱒛"}.mdi-relation-one-or-many-to-many:before{content:"󱒜"}.mdi-relation-one-or-many-to-one:before{content:"󱒝"}.mdi-relation-one-or-many-to-one-or-many:before{content:"󱒞"}.mdi-relation-one-or-many-to-only-one:before{content:"󱒟"}.mdi-relation-one-or-many-to-zero-or-many:before{content:"󱒠"}.mdi-relation-one-or-many-to-zero-or-one:before{content:"󱒡"}.mdi-relation-one-to-many:before{content:"󱒢"}.mdi-relation-one-to-one:before{content:"󱒣"}.mdi-relation-one-to-one-or-many:before{content:"󱒤"}.mdi-relation-one-to-only-one:before{content:"󱒥"}.mdi-relation-one-to-zero-or-many:before{content:"󱒦"}.mdi-relation-one-to-zero-or-one:before{content:"󱒧"}.mdi-relation-only-one-to-many:before{content:"󱒨"}.mdi-relation-only-one-to-one:before{content:"󱒩"}.mdi-relation-only-one-to-one-or-many:before{content:"󱒪"}.mdi-relation-only-one-to-only-one:before{content:"󱒫"}.mdi-relation-only-one-to-zero-or-many:before{content:"󱒬"}.mdi-relation-only-one-to-zero-or-one:before{content:"󱒭"}.mdi-relation-zero-or-many-to-many:before{content:"󱒮"}.mdi-relation-zero-or-many-to-one:before{content:"󱒯"}.mdi-relation-zero-or-many-to-one-or-many:before{content:"󱒰"}.mdi-relation-zero-or-many-to-only-one:before{content:"󱒱"}.mdi-relation-zero-or-many-to-zero-or-many:before{content:"󱒲"}.mdi-relation-zero-or-many-to-zero-or-one:before{content:"󱒳"}.mdi-relation-zero-or-one-to-many:before{content:"󱒴"}.mdi-relation-zero-or-one-to-one:before{content:"󱒵"}.mdi-relation-zero-or-one-to-one-or-many:before{content:"󱒶"}.mdi-relation-zero-or-one-to-only-one:before{content:"󱒷"}.mdi-relation-zero-or-one-to-zero-or-many:before{content:"󱒸"}.mdi-relation-zero-or-one-to-zero-or-one:before{content:"󱒹"}.mdi-relative-scale:before{content:"󰑒"}.mdi-reload:before{content:"󰑓"}.mdi-reload-alert:before{content:"󱄋"}.mdi-reminder:before{content:"󰢌"}.mdi-remote:before{content:"󰑔"}.mdi-remote-desktop:before{content:"󰢹"}.mdi-remote-off:before{content:"󰻄"}.mdi-remote-tv:before{content:"󰻅"}.mdi-remote-tv-off:before{content:"󰻆"}.mdi-rename:before{content:"󱰘"}.mdi-rename-box:before{content:"󰑕"}.mdi-rename-box-outline:before{content:"󱰙"}.mdi-rename-outline:before{content:"󱰚"}.mdi-reorder-horizontal:before{content:"󰚈"}.mdi-reorder-vertical:before{content:"󰚉"}.mdi-repeat:before{content:"󰑖"}.mdi-repeat-off:before{content:"󰑗"}.mdi-repeat-once:before{content:"󰑘"}.mdi-repeat-variant:before{content:"󰕇"}.mdi-replay:before{content:"󰑙"}.mdi-reply:before{content:"󰑚"}.mdi-reply-all:before{content:"󰑛"}.mdi-reply-all-outline:before{content:"󰼟"}.mdi-reply-circle:before{content:"󱆮"}.mdi-reply-outline:before{content:"󰼠"}.mdi-reproduction:before{content:"󰑜"}.mdi-resistor:before{content:"󰭄"}.mdi-resistor-nodes:before{content:"󰭅"}.mdi-resize:before{content:"󰩨"}.mdi-resize-bottom-right:before{content:"󰑝"}.mdi-responsive:before{content:"󰑞"}.mdi-restart:before{content:"󰜉"}.mdi-restart-alert:before{content:"󱄌"}.mdi-restart-off:before{content:"󰶕"}.mdi-restore:before{content:"󰦛"}.mdi-restore-alert:before{content:"󱄍"}.mdi-rewind:before{content:"󰑟"}.mdi-rewind-10:before{content:"󰴪"}.mdi-rewind-15:before{content:"󱥆"}.mdi-rewind-30:before{content:"󰶖"}.mdi-rewind-45:before{content:"󱬓"}.mdi-rewind-5:before{content:"󱇹"}.mdi-rewind-60:before{content:"󱘌"}.mdi-rewind-outline:before{content:"󰜊"}.mdi-rhombus:before{content:"󰜋"}.mdi-rhombus-medium:before{content:"󰨐"}.mdi-rhombus-medium-outline:before{content:"󱓜"}.mdi-rhombus-outline:before{content:"󰜌"}.mdi-rhombus-split:before{content:"󰨑"}.mdi-rhombus-split-outline:before{content:"󱓝"}.mdi-ribbon:before{content:"󰑠"}.mdi-rice:before{content:"󰟪"}.mdi-rickshaw:before{content:"󱖻"}.mdi-rickshaw-electric:before{content:"󱖼"}.mdi-ring:before{content:"󰟫"}.mdi-rivet:before{content:"󰹠"}.mdi-road:before{content:"󰑡"}.mdi-road-variant:before{content:"󰑢"}.mdi-robber:before{content:"󱁘"}.mdi-robot:before{content:"󰚩"}.mdi-robot-angry:before{content:"󱚝"}.mdi-robot-angry-outline:before{content:"󱚞"}.mdi-robot-confused:before{content:"󱚟"}.mdi-robot-confused-outline:before{content:"󱚠"}.mdi-robot-dead:before{content:"󱚡"}.mdi-robot-dead-outline:before{content:"󱚢"}.mdi-robot-excited:before{content:"󱚣"}.mdi-robot-excited-outline:before{content:"󱚤"}.mdi-robot-happy:before{content:"󱜙"}.mdi-robot-happy-outline:before{content:"󱜚"}.mdi-robot-industrial:before{content:"󰭆"}.mdi-robot-industrial-outline:before{content:"󱨚"}.mdi-robot-love:before{content:"󱚥"}.mdi-robot-love-outline:before{content:"󱚦"}.mdi-robot-mower:before{content:"󱇷"}.mdi-robot-mower-outline:before{content:"󱇳"}.mdi-robot-off:before{content:"󱚧"}.mdi-robot-off-outline:before{content:"󱙻"}.mdi-robot-outline:before{content:"󱙺"}.mdi-robot-vacuum:before{content:"󰜍"}.mdi-robot-vacuum-alert:before{content:"󱭝"}.mdi-robot-vacuum-off:before{content:"󱰁"}.mdi-robot-vacuum-variant:before{content:"󰤈"}.mdi-robot-vacuum-variant-alert:before{content:"󱭞"}.mdi-robot-vacuum-variant-off:before{content:"󱰂"}.mdi-rocket:before{content:"󰑣"}.mdi-rocket-launch:before{content:"󱓞"}.mdi-rocket-launch-outline:before{content:"󱓟"}.mdi-rocket-outline:before{content:"󱎯"}.mdi-rodent:before{content:"󱌧"}.mdi-roller-shade:before{content:"󱩫"}.mdi-roller-shade-closed:before{content:"󱩬"}.mdi-roller-skate:before{content:"󰴫"}.mdi-roller-skate-off:before{content:"󰅅"}.mdi-rollerblade:before{content:"󰴬"}.mdi-rollerblade-off:before{content:"󰀮"}.mdi-rollupjs:before{content:"󰯀"}.mdi-rolodex:before{content:"󱪹"}.mdi-rolodex-outline:before{content:"󱪺"}.mdi-roman-numeral-1:before{content:"󱂈"}.mdi-roman-numeral-10:before{content:"󱂑"}.mdi-roman-numeral-2:before{content:"󱂉"}.mdi-roman-numeral-3:before{content:"󱂊"}.mdi-roman-numeral-4:before{content:"󱂋"}.mdi-roman-numeral-5:before{content:"󱂌"}.mdi-roman-numeral-6:before{content:"󱂍"}.mdi-roman-numeral-7:before{content:"󱂎"}.mdi-roman-numeral-8:before{content:"󱂏"}.mdi-roman-numeral-9:before{content:"󱂐"}.mdi-room-service:before{content:"󰢍"}.mdi-room-service-outline:before{content:"󰶗"}.mdi-rotate-360:before{content:"󱦙"}.mdi-rotate-3d:before{content:"󰻇"}.mdi-rotate-3d-variant:before{content:"󰑤"}.mdi-rotate-left:before{content:"󰑥"}.mdi-rotate-left-variant:before{content:"󰑦"}.mdi-rotate-orbit:before{content:"󰶘"}.mdi-rotate-right:before{content:"󰑧"}.mdi-rotate-right-variant:before{content:"󰑨"}.mdi-rounded-corner:before{content:"󰘇"}.mdi-router:before{content:"󱇢"}.mdi-router-network:before{content:"󱂇"}.mdi-router-wireless:before{content:"󰑩"}.mdi-router-wireless-off:before{content:"󱖣"}.mdi-router-wireless-settings:before{content:"󰩩"}.mdi-routes:before{content:"󰑪"}.mdi-routes-clock:before{content:"󱁙"}.mdi-rowing:before{content:"󰘈"}.mdi-rss:before{content:"󰑫"}.mdi-rss-box:before{content:"󰑬"}.mdi-rss-off:before{content:"󰼡"}.mdi-rug:before{content:"󱑵"}.mdi-rugby:before{content:"󰶙"}.mdi-ruler:before{content:"󰑭"}.mdi-ruler-square:before{content:"󰳂"}.mdi-ruler-square-compass:before{content:"󰺾"}.mdi-run:before{content:"󰜎"}.mdi-run-fast:before{content:"󰑮"}.mdi-rv-truck:before{content:"󱇔"}.mdi-sack:before{content:"󰴮"}.mdi-sack-outline:before{content:"󱱌"}.mdi-sack-percent:before{content:"󰴯"}.mdi-safe:before{content:"󰩪"}.mdi-safe-square:before{content:"󱉼"}.mdi-safe-square-outline:before{content:"󱉽"}.mdi-safety-goggles:before{content:"󰴰"}.mdi-sail-boat:before{content:"󰻈"}.mdi-sail-boat-sink:before{content:"󱫯"}.mdi-sale:before{content:"󰑯"}.mdi-sale-outline:before{content:"󱨆"}.mdi-salesforce:before{content:"󰢎"}.mdi-sass:before{content:"󰟬"}.mdi-satellite:before{content:"󰑰"}.mdi-satellite-uplink:before{content:"󰤉"}.mdi-satellite-variant:before{content:"󰑱"}.mdi-sausage:before{content:"󰢺"}.mdi-sausage-off:before{content:"󱞉"}.mdi-saw-blade:before{content:"󰹡"}.mdi-sawtooth-wave:before{content:"󱑺"}.mdi-saxophone:before{content:"󰘉"}.mdi-scale:before{content:"󰑲"}.mdi-scale-balance:before{content:"󰗑"}.mdi-scale-bathroom:before{content:"󰑳"}.mdi-scale-off:before{content:"󱁚"}.mdi-scale-unbalanced:before{content:"󱦸"}.mdi-scan-helper:before{content:"󱏘"}.mdi-scanner:before{content:"󰚫"}.mdi-scanner-off:before{content:"󰤊"}.mdi-scatter-plot:before{content:"󰻉"}.mdi-scatter-plot-outline:before{content:"󰻊"}.mdi-scent:before{content:"󱥘"}.mdi-scent-off:before{content:"󱥙"}.mdi-school:before{content:"󰑴"}.mdi-school-outline:before{content:"󱆀"}.mdi-scissors-cutting:before{content:"󰩫"}.mdi-scooter:before{content:"󱖽"}.mdi-scooter-electric:before{content:"󱖾"}.mdi-scoreboard:before{content:"󱉾"}.mdi-scoreboard-outline:before{content:"󱉿"}.mdi-screen-rotation:before{content:"󰑵"}.mdi-screen-rotation-lock:before{content:"󰑸"}.mdi-screw-flat-top:before{content:"󰷳"}.mdi-screw-lag:before{content:"󰷴"}.mdi-screw-machine-flat-top:before{content:"󰷵"}.mdi-screw-machine-round-top:before{content:"󰷶"}.mdi-screw-round-top:before{content:"󰷷"}.mdi-screwdriver:before{content:"󰑶"}.mdi-script:before{content:"󰯁"}.mdi-script-outline:before{content:"󰑷"}.mdi-script-text:before{content:"󰯂"}.mdi-script-text-key:before{content:"󱜥"}.mdi-script-text-key-outline:before{content:"󱜦"}.mdi-script-text-outline:before{content:"󰯃"}.mdi-script-text-play:before{content:"󱜧"}.mdi-script-text-play-outline:before{content:"󱜨"}.mdi-sd:before{content:"󰑹"}.mdi-seal:before{content:"󰑺"}.mdi-seal-variant:before{content:"󰿙"}.mdi-search-web:before{content:"󰜏"}.mdi-seat:before{content:"󰳃"}.mdi-seat-flat:before{content:"󰑻"}.mdi-seat-flat-angled:before{content:"󰑼"}.mdi-seat-individual-suite:before{content:"󰑽"}.mdi-seat-legroom-extra:before{content:"󰑾"}.mdi-seat-legroom-normal:before{content:"󰑿"}.mdi-seat-legroom-reduced:before{content:"󰒀"}.mdi-seat-outline:before{content:"󰳄"}.mdi-seat-passenger:before{content:"󱉉"}.mdi-seat-recline-extra:before{content:"󰒁"}.mdi-seat-recline-normal:before{content:"󰒂"}.mdi-seatbelt:before{content:"󰳅"}.mdi-security:before{content:"󰒃"}.mdi-security-network:before{content:"󰒄"}.mdi-seed:before{content:"󰹢"}.mdi-seed-off:before{content:"󱏽"}.mdi-seed-off-outline:before{content:"󱏾"}.mdi-seed-outline:before{content:"󰹣"}.mdi-seed-plus:before{content:"󱩭"}.mdi-seed-plus-outline:before{content:"󱩮"}.mdi-seesaw:before{content:"󱖤"}.mdi-segment:before{content:"󰻋"}.mdi-select:before{content:"󰒅"}.mdi-select-all:before{content:"󰒆"}.mdi-select-arrow-down:before{content:"󱭙"}.mdi-select-arrow-up:before{content:"󱭘"}.mdi-select-color:before{content:"󰴱"}.mdi-select-compare:before{content:"󰫙"}.mdi-select-drag:before{content:"󰩬"}.mdi-select-group:before{content:"󰾂"}.mdi-select-inverse:before{content:"󰒇"}.mdi-select-marker:before{content:"󱊀"}.mdi-select-multiple:before{content:"󱊁"}.mdi-select-multiple-marker:before{content:"󱊂"}.mdi-select-off:before{content:"󰒈"}.mdi-select-place:before{content:"󰿚"}.mdi-select-remove:before{content:"󱟁"}.mdi-select-search:before{content:"󱈄"}.mdi-selection:before{content:"󰒉"}.mdi-selection-drag:before{content:"󰩭"}.mdi-selection-ellipse:before{content:"󰴲"}.mdi-selection-ellipse-arrow-inside:before{content:"󰼢"}.mdi-selection-ellipse-remove:before{content:"󱟂"}.mdi-selection-marker:before{content:"󱊃"}.mdi-selection-multiple:before{content:"󱊅"}.mdi-selection-multiple-marker:before{content:"󱊄"}.mdi-selection-off:before{content:"󰝷"}.mdi-selection-remove:before{content:"󱟃"}.mdi-selection-search:before{content:"󱈅"}.mdi-semantic-web:before{content:"󱌖"}.mdi-send:before{content:"󰒊"}.mdi-send-check:before{content:"󱅡"}.mdi-send-check-outline:before{content:"󱅢"}.mdi-send-circle:before{content:"󰷸"}.mdi-send-circle-outline:before{content:"󰷹"}.mdi-send-clock:before{content:"󱅣"}.mdi-send-clock-outline:before{content:"󱅤"}.mdi-send-lock:before{content:"󰟭"}.mdi-send-lock-outline:before{content:"󱅦"}.mdi-send-outline:before{content:"󱅥"}.mdi-send-variant:before{content:"󱱍"}.mdi-send-variant-clock:before{content:"󱱾"}.mdi-send-variant-clock-outline:before{content:"󱱿"}.mdi-send-variant-outline:before{content:"󱱎"}.mdi-serial-port:before{content:"󰙜"}.mdi-server:before{content:"󰒋"}.mdi-server-minus:before{content:"󰒌"}.mdi-server-network:before{content:"󰒍"}.mdi-server-network-off:before{content:"󰒎"}.mdi-server-off:before{content:"󰒏"}.mdi-server-plus:before{content:"󰒐"}.mdi-server-remove:before{content:"󰒑"}.mdi-server-security:before{content:"󰒒"}.mdi-set-all:before{content:"󰝸"}.mdi-set-center:before{content:"󰝹"}.mdi-set-center-right:before{content:"󰝺"}.mdi-set-left:before{content:"󰝻"}.mdi-set-left-center:before{content:"󰝼"}.mdi-set-left-right:before{content:"󰝽"}.mdi-set-merge:before{content:"󱓠"}.mdi-set-none:before{content:"󰝾"}.mdi-set-right:before{content:"󰝿"}.mdi-set-split:before{content:"󱓡"}.mdi-set-square:before{content:"󱑝"}.mdi-set-top-box:before{content:"󰦟"}.mdi-settings-helper:before{content:"󰩮"}.mdi-shaker:before{content:"󱄎"}.mdi-shaker-outline:before{content:"󱄏"}.mdi-shape:before{content:"󰠱"}.mdi-shape-circle-plus:before{content:"󰙝"}.mdi-shape-outline:before{content:"󰠲"}.mdi-shape-oval-plus:before{content:"󱇺"}.mdi-shape-plus:before{content:"󰒕"}.mdi-shape-plus-outline:before{content:"󱱏"}.mdi-shape-polygon-plus:before{content:"󰙞"}.mdi-shape-rectangle-plus:before{content:"󰙟"}.mdi-shape-square-plus:before{content:"󰙠"}.mdi-shape-square-rounded-plus:before{content:"󱓺"}.mdi-share:before{content:"󰒖"}.mdi-share-all:before{content:"󱇴"}.mdi-share-all-outline:before{content:"󱇵"}.mdi-share-circle:before{content:"󱆭"}.mdi-share-off:before{content:"󰼣"}.mdi-share-off-outline:before{content:"󰼤"}.mdi-share-outline:before{content:"󰤲"}.mdi-share-variant:before{content:"󰒗"}.mdi-share-variant-outline:before{content:"󱔔"}.mdi-shark:before{content:"󱢺"}.mdi-shark-fin:before{content:"󱙳"}.mdi-shark-fin-outline:before{content:"󱙴"}.mdi-shark-off:before{content:"󱢻"}.mdi-sheep:before{content:"󰳆"}.mdi-shield:before{content:"󰒘"}.mdi-shield-account:before{content:"󰢏"}.mdi-shield-account-outline:before{content:"󰨒"}.mdi-shield-account-variant:before{content:"󱖧"}.mdi-shield-account-variant-outline:before{content:"󱖨"}.mdi-shield-airplane:before{content:"󰚻"}.mdi-shield-airplane-outline:before{content:"󰳇"}.mdi-shield-alert:before{content:"󰻌"}.mdi-shield-alert-outline:before{content:"󰻍"}.mdi-shield-bug:before{content:"󱏚"}.mdi-shield-bug-outline:before{content:"󱏛"}.mdi-shield-car:before{content:"󰾃"}.mdi-shield-check:before{content:"󰕥"}.mdi-shield-check-outline:before{content:"󰳈"}.mdi-shield-cross:before{content:"󰳉"}.mdi-shield-cross-outline:before{content:"󰳊"}.mdi-shield-crown:before{content:"󱢼"}.mdi-shield-crown-outline:before{content:"󱢽"}.mdi-shield-edit:before{content:"󱆠"}.mdi-shield-edit-outline:before{content:"󱆡"}.mdi-shield-half:before{content:"󱍠"}.mdi-shield-half-full:before{content:"󰞀"}.mdi-shield-home:before{content:"󰚊"}.mdi-shield-home-outline:before{content:"󰳋"}.mdi-shield-key:before{content:"󰯄"}.mdi-shield-key-outline:before{content:"󰯅"}.mdi-shield-link-variant:before{content:"󰴳"}.mdi-shield-link-variant-outline:before{content:"󰴴"}.mdi-shield-lock:before{content:"󰦝"}.mdi-shield-lock-open:before{content:"󱦚"}.mdi-shield-lock-open-outline:before{content:"󱦛"}.mdi-shield-lock-outline:before{content:"󰳌"}.mdi-shield-moon:before{content:"󱠨"}.mdi-shield-moon-outline:before{content:"󱠩"}.mdi-shield-off:before{content:"󰦞"}.mdi-shield-off-outline:before{content:"󰦜"}.mdi-shield-outline:before{content:"󰒙"}.mdi-shield-plus:before{content:"󰫚"}.mdi-shield-plus-outline:before{content:"󰫛"}.mdi-shield-refresh:before{content:"󰂪"}.mdi-shield-refresh-outline:before{content:"󰇠"}.mdi-shield-remove:before{content:"󰫜"}.mdi-shield-remove-outline:before{content:"󰫝"}.mdi-shield-search:before{content:"󰶚"}.mdi-shield-star:before{content:"󱄻"}.mdi-shield-star-outline:before{content:"󱄼"}.mdi-shield-sun:before{content:"󱁝"}.mdi-shield-sun-outline:before{content:"󱁞"}.mdi-shield-sword:before{content:"󱢾"}.mdi-shield-sword-outline:before{content:"󱢿"}.mdi-shield-sync:before{content:"󱆢"}.mdi-shield-sync-outline:before{content:"󱆣"}.mdi-shimmer:before{content:"󱕅"}.mdi-ship-wheel:before{content:"󰠳"}.mdi-shipping-pallet:before{content:"󱡎"}.mdi-shoe-ballet:before{content:"󱗊"}.mdi-shoe-cleat:before{content:"󱗇"}.mdi-shoe-formal:before{content:"󰭇"}.mdi-shoe-heel:before{content:"󰭈"}.mdi-shoe-print:before{content:"󰷺"}.mdi-shoe-sneaker:before{content:"󱗈"}.mdi-shopping:before{content:"󰒚"}.mdi-shopping-music:before{content:"󰒛"}.mdi-shopping-outline:before{content:"󱇕"}.mdi-shopping-search:before{content:"󰾄"}.mdi-shopping-search-outline:before{content:"󱩯"}.mdi-shore:before{content:"󱓹"}.mdi-shovel:before{content:"󰜐"}.mdi-shovel-off:before{content:"󰜑"}.mdi-shower:before{content:"󰦠"}.mdi-shower-head:before{content:"󰦡"}.mdi-shredder:before{content:"󰒜"}.mdi-shuffle:before{content:"󰒝"}.mdi-shuffle-disabled:before{content:"󰒞"}.mdi-shuffle-variant:before{content:"󰒟"}.mdi-shuriken:before{content:"󱍿"}.mdi-sickle:before{content:"󱣀"}.mdi-sigma:before{content:"󰒠"}.mdi-sigma-lower:before{content:"󰘫"}.mdi-sign-caution:before{content:"󰒡"}.mdi-sign-direction:before{content:"󰞁"}.mdi-sign-direction-minus:before{content:"󱀀"}.mdi-sign-direction-plus:before{content:"󰿜"}.mdi-sign-direction-remove:before{content:"󰿝"}.mdi-sign-language:before{content:"󱭍"}.mdi-sign-language-outline:before{content:"󱭎"}.mdi-sign-pole:before{content:"󱓸"}.mdi-sign-real-estate:before{content:"󱄘"}.mdi-sign-text:before{content:"󰞂"}.mdi-sign-yield:before{content:"󱮯"}.mdi-signal:before{content:"󰒢"}.mdi-signal-2g:before{content:"󰜒"}.mdi-signal-3g:before{content:"󰜓"}.mdi-signal-4g:before{content:"󰜔"}.mdi-signal-5g:before{content:"󰩯"}.mdi-signal-cellular-1:before{content:"󰢼"}.mdi-signal-cellular-2:before{content:"󰢽"}.mdi-signal-cellular-3:before{content:"󰢾"}.mdi-signal-cellular-outline:before{content:"󰢿"}.mdi-signal-distance-variant:before{content:"󰹤"}.mdi-signal-hspa:before{content:"󰜕"}.mdi-signal-hspa-plus:before{content:"󰜖"}.mdi-signal-off:before{content:"󰞃"}.mdi-signal-variant:before{content:"󰘊"}.mdi-signature:before{content:"󰷻"}.mdi-signature-freehand:before{content:"󰷼"}.mdi-signature-image:before{content:"󰷽"}.mdi-signature-text:before{content:"󰷾"}.mdi-silo:before{content:"󱮟"}.mdi-silo-outline:before{content:"󰭉"}.mdi-silverware:before{content:"󰒣"}.mdi-silverware-clean:before{content:"󰿞"}.mdi-silverware-fork:before{content:"󰒤"}.mdi-silverware-fork-knife:before{content:"󰩰"}.mdi-silverware-spoon:before{content:"󰒥"}.mdi-silverware-variant:before{content:"󰒦"}.mdi-sim:before{content:"󰒧"}.mdi-sim-alert:before{content:"󰒨"}.mdi-sim-alert-outline:before{content:"󱗓"}.mdi-sim-off:before{content:"󰒩"}.mdi-sim-off-outline:before{content:"󱗔"}.mdi-sim-outline:before{content:"󱗕"}.mdi-simple-icons:before{content:"󱌝"}.mdi-sina-weibo:before{content:"󰫟"}.mdi-sine-wave:before{content:"󰥛"}.mdi-sitemap:before{content:"󰒪"}.mdi-sitemap-outline:before{content:"󱦜"}.mdi-size-l:before{content:"󱎦"}.mdi-size-m:before{content:"󱎥"}.mdi-size-s:before{content:"󱎤"}.mdi-size-xl:before{content:"󱎧"}.mdi-size-xs:before{content:"󱎣"}.mdi-size-xxl:before{content:"󱎨"}.mdi-size-xxs:before{content:"󱎢"}.mdi-size-xxxl:before{content:"󱎩"}.mdi-skate:before{content:"󰴵"}.mdi-skate-off:before{content:"󰚙"}.mdi-skateboard:before{content:"󱓂"}.mdi-skateboarding:before{content:"󰔁"}.mdi-skew-less:before{content:"󰴶"}.mdi-skew-more:before{content:"󰴷"}.mdi-ski:before{content:"󱌄"}.mdi-ski-cross-country:before{content:"󱌅"}.mdi-ski-water:before{content:"󱌆"}.mdi-skip-backward:before{content:"󰒫"}.mdi-skip-backward-outline:before{content:"󰼥"}.mdi-skip-forward:before{content:"󰒬"}.mdi-skip-forward-outline:before{content:"󰼦"}.mdi-skip-next:before{content:"󰒭"}.mdi-skip-next-circle:before{content:"󰙡"}.mdi-skip-next-circle-outline:before{content:"󰙢"}.mdi-skip-next-outline:before{content:"󰼧"}.mdi-skip-previous:before{content:"󰒮"}.mdi-skip-previous-circle:before{content:"󰙣"}.mdi-skip-previous-circle-outline:before{content:"󰙤"}.mdi-skip-previous-outline:before{content:"󰼨"}.mdi-skull:before{content:"󰚌"}.mdi-skull-crossbones:before{content:"󰯆"}.mdi-skull-crossbones-outline:before{content:"󰯇"}.mdi-skull-outline:before{content:"󰯈"}.mdi-skull-scan:before{content:"󱓇"}.mdi-skull-scan-outline:before{content:"󱓈"}.mdi-skype:before{content:"󰒯"}.mdi-skype-business:before{content:"󰒰"}.mdi-slack:before{content:"󰒱"}.mdi-slash-forward:before{content:"󰿟"}.mdi-slash-forward-box:before{content:"󰿠"}.mdi-sledding:before{content:"󰐛"}.mdi-sleep:before{content:"󰒲"}.mdi-sleep-off:before{content:"󰒳"}.mdi-slide:before{content:"󱖥"}.mdi-slope-downhill:before{content:"󰷿"}.mdi-slope-uphill:before{content:"󰸀"}.mdi-slot-machine:before{content:"󱄔"}.mdi-slot-machine-outline:before{content:"󱄕"}.mdi-smart-card:before{content:"󱂽"}.mdi-smart-card-off:before{content:"󱣷"}.mdi-smart-card-off-outline:before{content:"󱣸"}.mdi-smart-card-outline:before{content:"󱂾"}.mdi-smart-card-reader:before{content:"󱂿"}.mdi-smart-card-reader-outline:before{content:"󱃀"}.mdi-smog:before{content:"󰩱"}.mdi-smoke:before{content:"󱞙"}.mdi-smoke-detector:before{content:"󰎒"}.mdi-smoke-detector-alert:before{content:"󱤮"}.mdi-smoke-detector-alert-outline:before{content:"󱤯"}.mdi-smoke-detector-off:before{content:"󱠉"}.mdi-smoke-detector-off-outline:before{content:"󱠊"}.mdi-smoke-detector-outline:before{content:"󱠈"}.mdi-smoke-detector-variant:before{content:"󱠋"}.mdi-smoke-detector-variant-alert:before{content:"󱤰"}.mdi-smoke-detector-variant-off:before{content:"󱠌"}.mdi-smoking:before{content:"󰒴"}.mdi-smoking-off:before{content:"󰒵"}.mdi-smoking-pipe:before{content:"󱐍"}.mdi-smoking-pipe-off:before{content:"󱐨"}.mdi-snail:before{content:"󱙷"}.mdi-snake:before{content:"󱔎"}.mdi-snapchat:before{content:"󰒶"}.mdi-snowboard:before{content:"󱌇"}.mdi-snowflake:before{content:"󰜗"}.mdi-snowflake-alert:before{content:"󰼩"}.mdi-snowflake-check:before{content:"󱩰"}.mdi-snowflake-melt:before{content:"󱋋"}.mdi-snowflake-off:before{content:"󱓣"}.mdi-snowflake-thermometer:before{content:"󱩱"}.mdi-snowflake-variant:before{content:"󰼪"}.mdi-snowman:before{content:"󰒷"}.mdi-snowmobile:before{content:"󰛝"}.mdi-snowshoeing:before{content:"󱩲"}.mdi-soccer:before{content:"󰒸"}.mdi-soccer-field:before{content:"󰠴"}.mdi-social-distance-2-meters:before{content:"󱕹"}.mdi-social-distance-6-feet:before{content:"󱕺"}.mdi-sofa:before{content:"󰒹"}.mdi-sofa-outline:before{content:"󱕭"}.mdi-sofa-single:before{content:"󱕮"}.mdi-sofa-single-outline:before{content:"󱕯"}.mdi-solar-panel:before{content:"󰶛"}.mdi-solar-panel-large:before{content:"󰶜"}.mdi-solar-power:before{content:"󰩲"}.mdi-solar-power-variant:before{content:"󱩳"}.mdi-solar-power-variant-outline:before{content:"󱩴"}.mdi-soldering-iron:before{content:"󱂒"}.mdi-solid:before{content:"󰚍"}.mdi-sony-playstation:before{content:"󰐔"}.mdi-sort:before{content:"󰒺"}.mdi-sort-alphabetical-ascending:before{content:"󰖽"}.mdi-sort-alphabetical-ascending-variant:before{content:"󱅈"}.mdi-sort-alphabetical-descending:before{content:"󰖿"}.mdi-sort-alphabetical-descending-variant:before{content:"󱅉"}.mdi-sort-alphabetical-variant:before{content:"󰒻"}.mdi-sort-ascending:before{content:"󰒼"}.mdi-sort-bool-ascending:before{content:"󱎅"}.mdi-sort-bool-ascending-variant:before{content:"󱎆"}.mdi-sort-bool-descending:before{content:"󱎇"}.mdi-sort-bool-descending-variant:before{content:"󱎈"}.mdi-sort-calendar-ascending:before{content:"󱕇"}.mdi-sort-calendar-descending:before{content:"󱕈"}.mdi-sort-clock-ascending:before{content:"󱕉"}.mdi-sort-clock-ascending-outline:before{content:"󱕊"}.mdi-sort-clock-descending:before{content:"󱕋"}.mdi-sort-clock-descending-outline:before{content:"󱕌"}.mdi-sort-descending:before{content:"󰒽"}.mdi-sort-numeric-ascending:before{content:"󱎉"}.mdi-sort-numeric-ascending-variant:before{content:"󰤍"}.mdi-sort-numeric-descending:before{content:"󱎊"}.mdi-sort-numeric-descending-variant:before{content:"󰫒"}.mdi-sort-numeric-variant:before{content:"󰒾"}.mdi-sort-reverse-variant:before{content:"󰌼"}.mdi-sort-variant:before{content:"󰒿"}.mdi-sort-variant-lock:before{content:"󰳍"}.mdi-sort-variant-lock-open:before{content:"󰳎"}.mdi-sort-variant-off:before{content:"󱪻"}.mdi-sort-variant-remove:before{content:"󱅇"}.mdi-soundbar:before{content:"󱟛"}.mdi-soundcloud:before{content:"󰓀"}.mdi-source-branch:before{content:"󰘬"}.mdi-source-branch-check:before{content:"󱓏"}.mdi-source-branch-minus:before{content:"󱓋"}.mdi-source-branch-plus:before{content:"󱓊"}.mdi-source-branch-refresh:before{content:"󱓍"}.mdi-source-branch-remove:before{content:"󱓌"}.mdi-source-branch-sync:before{content:"󱓎"}.mdi-source-commit:before{content:"󰜘"}.mdi-source-commit-end:before{content:"󰜙"}.mdi-source-commit-end-local:before{content:"󰜚"}.mdi-source-commit-local:before{content:"󰜛"}.mdi-source-commit-next-local:before{content:"󰜜"}.mdi-source-commit-start:before{content:"󰜝"}.mdi-source-commit-start-next-local:before{content:"󰜞"}.mdi-source-fork:before{content:"󰓁"}.mdi-source-merge:before{content:"󰘭"}.mdi-source-pull:before{content:"󰓂"}.mdi-source-repository:before{content:"󰳏"}.mdi-source-repository-multiple:before{content:"󰳐"}.mdi-soy-sauce:before{content:"󰟮"}.mdi-soy-sauce-off:before{content:"󱏼"}.mdi-spa:before{content:"󰳑"}.mdi-spa-outline:before{content:"󰳒"}.mdi-space-invaders:before{content:"󰯉"}.mdi-space-station:before{content:"󱎃"}.mdi-spade:before{content:"󰹥"}.mdi-speaker:before{content:"󰓃"}.mdi-speaker-bluetooth:before{content:"󰦢"}.mdi-speaker-message:before{content:"󱬑"}.mdi-speaker-multiple:before{content:"󰴸"}.mdi-speaker-off:before{content:"󰓄"}.mdi-speaker-pause:before{content:"󱭳"}.mdi-speaker-play:before{content:"󱭲"}.mdi-speaker-stop:before{content:"󱭴"}.mdi-speaker-wireless:before{content:"󰜟"}.mdi-spear:before{content:"󱡅"}.mdi-speedometer:before{content:"󰓅"}.mdi-speedometer-medium:before{content:"󰾅"}.mdi-speedometer-slow:before{content:"󰾆"}.mdi-spellcheck:before{content:"󰓆"}.mdi-sphere:before{content:"󱥔"}.mdi-sphere-off:before{content:"󱥕"}.mdi-spider:before{content:"󱇪"}.mdi-spider-outline:before{content:"󱱵"}.mdi-spider-thread:before{content:"󱇫"}.mdi-spider-web:before{content:"󰯊"}.mdi-spirit-level:before{content:"󱓱"}.mdi-spoon-sugar:before{content:"󱐩"}.mdi-spotify:before{content:"󰓇"}.mdi-spotlight:before{content:"󰓈"}.mdi-spotlight-beam:before{content:"󰓉"}.mdi-spray:before{content:"󰙥"}.mdi-spray-bottle:before{content:"󰫠"}.mdi-sprinkler:before{content:"󱁟"}.mdi-sprinkler-fire:before{content:"󱦝"}.mdi-sprinkler-variant:before{content:"󱁠"}.mdi-sprout:before{content:"󰹦"}.mdi-sprout-outline:before{content:"󰹧"}.mdi-square:before{content:"󰝤"}.mdi-square-circle:before{content:"󱔀"}.mdi-square-circle-outline:before{content:"󱱐"}.mdi-square-edit-outline:before{content:"󰤌"}.mdi-square-medium:before{content:"󰨓"}.mdi-square-medium-outline:before{content:"󰨔"}.mdi-square-off:before{content:"󱋮"}.mdi-square-off-outline:before{content:"󱋯"}.mdi-square-opacity:before{content:"󱡔"}.mdi-square-outline:before{content:"󰝣"}.mdi-square-root:before{content:"󰞄"}.mdi-square-root-box:before{content:"󰦣"}.mdi-square-rounded:before{content:"󱓻"}.mdi-square-rounded-badge:before{content:"󱨇"}.mdi-square-rounded-badge-outline:before{content:"󱨈"}.mdi-square-rounded-outline:before{content:"󱓼"}.mdi-square-small:before{content:"󰨕"}.mdi-square-wave:before{content:"󱑻"}.mdi-squeegee:before{content:"󰫡"}.mdi-ssh:before{content:"󰣀"}.mdi-stack-exchange:before{content:"󰘋"}.mdi-stack-overflow:before{content:"󰓌"}.mdi-stackpath:before{content:"󰍙"}.mdi-stadium:before{content:"󰿹"}.mdi-stadium-outline:before{content:"󱬃"}.mdi-stadium-variant:before{content:"󰜠"}.mdi-stairs:before{content:"󰓍"}.mdi-stairs-box:before{content:"󱎞"}.mdi-stairs-down:before{content:"󱊾"}.mdi-stairs-up:before{content:"󱊽"}.mdi-stamper:before{content:"󰴹"}.mdi-standard-definition:before{content:"󰟯"}.mdi-star:before{content:"󰓎"}.mdi-star-box:before{content:"󰩳"}.mdi-star-box-multiple:before{content:"󱊆"}.mdi-star-box-multiple-outline:before{content:"󱊇"}.mdi-star-box-outline:before{content:"󰩴"}.mdi-star-check:before{content:"󱕦"}.mdi-star-check-outline:before{content:"󱕪"}.mdi-star-circle:before{content:"󰓏"}.mdi-star-circle-outline:before{content:"󰦤"}.mdi-star-cog:before{content:"󱙨"}.mdi-star-cog-outline:before{content:"󱙩"}.mdi-star-crescent:before{content:"󰥹"}.mdi-star-david:before{content:"󰥺"}.mdi-star-face:before{content:"󰦥"}.mdi-star-four-points:before{content:"󰫢"}.mdi-star-four-points-box:before{content:"󱱑"}.mdi-star-four-points-box-outline:before{content:"󱱒"}.mdi-star-four-points-circle:before{content:"󱱓"}.mdi-star-four-points-circle-outline:before{content:"󱱔"}.mdi-star-four-points-outline:before{content:"󰫣"}.mdi-star-four-points-small:before{content:"󱱕"}.mdi-star-half:before{content:"󰉆"}.mdi-star-half-full:before{content:"󰓐"}.mdi-star-minus:before{content:"󱕤"}.mdi-star-minus-outline:before{content:"󱕨"}.mdi-star-off:before{content:"󰓑"}.mdi-star-off-outline:before{content:"󱕛"}.mdi-star-outline:before{content:"󰓒"}.mdi-star-plus:before{content:"󱕣"}.mdi-star-plus-outline:before{content:"󱕧"}.mdi-star-remove:before{content:"󱕥"}.mdi-star-remove-outline:before{content:"󱕩"}.mdi-star-settings:before{content:"󱙪"}.mdi-star-settings-outline:before{content:"󱙫"}.mdi-star-shooting:before{content:"󱝁"}.mdi-star-shooting-outline:before{content:"󱝂"}.mdi-star-three-points:before{content:"󰫤"}.mdi-star-three-points-outline:before{content:"󰫥"}.mdi-state-machine:before{content:"󱇯"}.mdi-steam:before{content:"󰓓"}.mdi-steering:before{content:"󰓔"}.mdi-steering-off:before{content:"󰤎"}.mdi-step-backward:before{content:"󰓕"}.mdi-step-backward-2:before{content:"󰓖"}.mdi-step-forward:before{content:"󰓗"}.mdi-step-forward-2:before{content:"󰓘"}.mdi-stethoscope:before{content:"󰓙"}.mdi-sticker:before{content:"󱍤"}.mdi-sticker-alert:before{content:"󱍥"}.mdi-sticker-alert-outline:before{content:"󱍦"}.mdi-sticker-check:before{content:"󱍧"}.mdi-sticker-check-outline:before{content:"󱍨"}.mdi-sticker-circle-outline:before{content:"󰗐"}.mdi-sticker-emoji:before{content:"󰞅"}.mdi-sticker-minus:before{content:"󱍩"}.mdi-sticker-minus-outline:before{content:"󱍪"}.mdi-sticker-outline:before{content:"󱍫"}.mdi-sticker-plus:before{content:"󱍬"}.mdi-sticker-plus-outline:before{content:"󱍭"}.mdi-sticker-remove:before{content:"󱍮"}.mdi-sticker-remove-outline:before{content:"󱍯"}.mdi-sticker-text:before{content:"󱞎"}.mdi-sticker-text-outline:before{content:"󱞏"}.mdi-stocking:before{content:"󰓚"}.mdi-stomach:before{content:"󱂓"}.mdi-stool:before{content:"󱥝"}.mdi-stool-outline:before{content:"󱥞"}.mdi-stop:before{content:"󰓛"}.mdi-stop-circle:before{content:"󰙦"}.mdi-stop-circle-outline:before{content:"󰙧"}.mdi-storage-tank:before{content:"󱩵"}.mdi-storage-tank-outline:before{content:"󱩶"}.mdi-store:before{content:"󰓜"}.mdi-store-24-hour:before{content:"󰓝"}.mdi-store-alert:before{content:"󱣁"}.mdi-store-alert-outline:before{content:"󱣂"}.mdi-store-check:before{content:"󱣃"}.mdi-store-check-outline:before{content:"󱣄"}.mdi-store-clock:before{content:"󱣅"}.mdi-store-clock-outline:before{content:"󱣆"}.mdi-store-cog:before{content:"󱣇"}.mdi-store-cog-outline:before{content:"󱣈"}.mdi-store-edit:before{content:"󱣉"}.mdi-store-edit-outline:before{content:"󱣊"}.mdi-store-marker:before{content:"󱣋"}.mdi-store-marker-outline:before{content:"󱣌"}.mdi-store-minus:before{content:"󱙞"}.mdi-store-minus-outline:before{content:"󱣍"}.mdi-store-off:before{content:"󱣎"}.mdi-store-off-outline:before{content:"󱣏"}.mdi-store-outline:before{content:"󱍡"}.mdi-store-plus:before{content:"󱙟"}.mdi-store-plus-outline:before{content:"󱣐"}.mdi-store-remove:before{content:"󱙠"}.mdi-store-remove-outline:before{content:"󱣑"}.mdi-store-search:before{content:"󱣒"}.mdi-store-search-outline:before{content:"󱣓"}.mdi-store-settings:before{content:"󱣔"}.mdi-store-settings-outline:before{content:"󱣕"}.mdi-storefront:before{content:"󰟇"}.mdi-storefront-check:before{content:"󱭽"}.mdi-storefront-check-outline:before{content:"󱭾"}.mdi-storefront-edit:before{content:"󱭿"}.mdi-storefront-edit-outline:before{content:"󱮀"}.mdi-storefront-minus:before{content:"󱮃"}.mdi-storefront-minus-outline:before{content:"󱮄"}.mdi-storefront-outline:before{content:"󱃁"}.mdi-storefront-plus:before{content:"󱮁"}.mdi-storefront-plus-outline:before{content:"󱮂"}.mdi-storefront-remove:before{content:"󱮅"}.mdi-storefront-remove-outline:before{content:"󱮆"}.mdi-stove:before{content:"󰓞"}.mdi-strategy:before{content:"󱇖"}.mdi-stretch-to-page:before{content:"󰼫"}.mdi-stretch-to-page-outline:before{content:"󰼬"}.mdi-string-lights:before{content:"󱊺"}.mdi-string-lights-off:before{content:"󱊻"}.mdi-subdirectory-arrow-left:before{content:"󰘌"}.mdi-subdirectory-arrow-right:before{content:"󰘍"}.mdi-submarine:before{content:"󱕬"}.mdi-subtitles:before{content:"󰨖"}.mdi-subtitles-outline:before{content:"󰨗"}.mdi-subway:before{content:"󰚬"}.mdi-subway-alert-variant:before{content:"󰶝"}.mdi-subway-variant:before{content:"󰓟"}.mdi-summit:before{content:"󰞆"}.mdi-sun-angle:before{content:"󱬧"}.mdi-sun-angle-outline:before{content:"󱬨"}.mdi-sun-clock:before{content:"󱩷"}.mdi-sun-clock-outline:before{content:"󱩸"}.mdi-sun-compass:before{content:"󱦥"}.mdi-sun-snowflake:before{content:"󱞖"}.mdi-sun-snowflake-variant:before{content:"󱩹"}.mdi-sun-thermometer:before{content:"󱣖"}.mdi-sun-thermometer-outline:before{content:"󱣗"}.mdi-sun-wireless:before{content:"󱟾"}.mdi-sun-wireless-outline:before{content:"󱟿"}.mdi-sunglasses:before{content:"󰓠"}.mdi-surfing:before{content:"󱝆"}.mdi-surround-sound:before{content:"󰗅"}.mdi-surround-sound-2-0:before{content:"󰟰"}.mdi-surround-sound-2-1:before{content:"󱜩"}.mdi-surround-sound-3-1:before{content:"󰟱"}.mdi-surround-sound-5-1:before{content:"󰟲"}.mdi-surround-sound-5-1-2:before{content:"󱜪"}.mdi-surround-sound-7-1:before{content:"󰟳"}.mdi-svg:before{content:"󰜡"}.mdi-swap-horizontal:before{content:"󰓡"}.mdi-swap-horizontal-bold:before{content:"󰯍"}.mdi-swap-horizontal-circle:before{content:"󰿡"}.mdi-swap-horizontal-circle-outline:before{content:"󰿢"}.mdi-swap-horizontal-variant:before{content:"󰣁"}.mdi-swap-vertical:before{content:"󰓢"}.mdi-swap-vertical-bold:before{content:"󰯎"}.mdi-swap-vertical-circle:before{content:"󰿣"}.mdi-swap-vertical-circle-outline:before{content:"󰿤"}.mdi-swap-vertical-variant:before{content:"󰣂"}.mdi-swim:before{content:"󰓣"}.mdi-switch:before{content:"󰓤"}.mdi-sword:before{content:"󰓥"}.mdi-sword-cross:before{content:"󰞇"}.mdi-syllabary-hangul:before{content:"󱌳"}.mdi-syllabary-hiragana:before{content:"󱌴"}.mdi-syllabary-katakana:before{content:"󱌵"}.mdi-syllabary-katakana-halfwidth:before{content:"󱌶"}.mdi-symbol:before{content:"󱔁"}.mdi-symfony:before{content:"󰫦"}.mdi-synagogue:before{content:"󱬄"}.mdi-synagogue-outline:before{content:"󱬅"}.mdi-sync:before{content:"󰓦"}.mdi-sync-alert:before{content:"󰓧"}.mdi-sync-circle:before{content:"󱍸"}.mdi-sync-off:before{content:"󰓨"}.mdi-tab:before{content:"󰓩"}.mdi-tab-minus:before{content:"󰭋"}.mdi-tab-plus:before{content:"󰝜"}.mdi-tab-remove:before{content:"󰭌"}.mdi-tab-search:before{content:"󱦞"}.mdi-tab-unselected:before{content:"󰓪"}.mdi-table:before{content:"󰓫"}.mdi-table-account:before{content:"󱎹"}.mdi-table-alert:before{content:"󱎺"}.mdi-table-arrow-down:before{content:"󱎻"}.mdi-table-arrow-left:before{content:"󱎼"}.mdi-table-arrow-right:before{content:"󱎽"}.mdi-table-arrow-up:before{content:"󱎾"}.mdi-table-border:before{content:"󰨘"}.mdi-table-cancel:before{content:"󱎿"}.mdi-table-chair:before{content:"󱁡"}.mdi-table-check:before{content:"󱏀"}.mdi-table-clock:before{content:"󱏁"}.mdi-table-cog:before{content:"󱏂"}.mdi-table-column:before{content:"󰠵"}.mdi-table-column-plus-after:before{content:"󰓬"}.mdi-table-column-plus-before:before{content:"󰓭"}.mdi-table-column-remove:before{content:"󰓮"}.mdi-table-column-width:before{content:"󰓯"}.mdi-table-edit:before{content:"󰓰"}.mdi-table-eye:before{content:"󱂔"}.mdi-table-eye-off:before{content:"󱏃"}.mdi-table-filter:before{content:"󱮌"}.mdi-table-furniture:before{content:"󰖼"}.mdi-table-headers-eye:before{content:"󱈝"}.mdi-table-headers-eye-off:before{content:"󱈞"}.mdi-table-heart:before{content:"󱏄"}.mdi-table-key:before{content:"󱏅"}.mdi-table-large:before{content:"󰓱"}.mdi-table-large-plus:before{content:"󰾇"}.mdi-table-large-remove:before{content:"󰾈"}.mdi-table-lock:before{content:"󱏆"}.mdi-table-merge-cells:before{content:"󰦦"}.mdi-table-minus:before{content:"󱏇"}.mdi-table-multiple:before{content:"󱏈"}.mdi-table-network:before{content:"󱏉"}.mdi-table-of-contents:before{content:"󰠶"}.mdi-table-off:before{content:"󱏊"}.mdi-table-picnic:before{content:"󱝃"}.mdi-table-pivot:before{content:"󱠼"}.mdi-table-plus:before{content:"󰩵"}.mdi-table-question:before{content:"󱬡"}.mdi-table-refresh:before{content:"󱎠"}.mdi-table-remove:before{content:"󰩶"}.mdi-table-row:before{content:"󰠷"}.mdi-table-row-height:before{content:"󰓲"}.mdi-table-row-plus-after:before{content:"󰓳"}.mdi-table-row-plus-before:before{content:"󰓴"}.mdi-table-row-remove:before{content:"󰓵"}.mdi-table-search:before{content:"󰤏"}.mdi-table-settings:before{content:"󰠸"}.mdi-table-split-cell:before{content:"󱐪"}.mdi-table-star:before{content:"󱏋"}.mdi-table-sync:before{content:"󱎡"}.mdi-table-tennis:before{content:"󰹨"}.mdi-tablet:before{content:"󰓶"}.mdi-tablet-cellphone:before{content:"󰦧"}.mdi-tablet-dashboard:before{content:"󰻎"}.mdi-taco:before{content:"󰝢"}.mdi-tag:before{content:"󰓹"}.mdi-tag-arrow-down:before{content:"󱜫"}.mdi-tag-arrow-down-outline:before{content:"󱜬"}.mdi-tag-arrow-left:before{content:"󱜭"}.mdi-tag-arrow-left-outline:before{content:"󱜮"}.mdi-tag-arrow-right:before{content:"󱜯"}.mdi-tag-arrow-right-outline:before{content:"󱜰"}.mdi-tag-arrow-up:before{content:"󱜱"}.mdi-tag-arrow-up-outline:before{content:"󱜲"}.mdi-tag-check:before{content:"󱩺"}.mdi-tag-check-outline:before{content:"󱩻"}.mdi-tag-faces:before{content:"󰓺"}.mdi-tag-heart:before{content:"󰚋"}.mdi-tag-heart-outline:before{content:"󰯏"}.mdi-tag-hidden:before{content:"󱱶"}.mdi-tag-minus:before{content:"󰤐"}.mdi-tag-minus-outline:before{content:"󱈟"}.mdi-tag-multiple:before{content:"󰓻"}.mdi-tag-multiple-outline:before{content:"󱋷"}.mdi-tag-off:before{content:"󱈠"}.mdi-tag-off-outline:before{content:"󱈡"}.mdi-tag-outline:before{content:"󰓼"}.mdi-tag-plus:before{content:"󰜢"}.mdi-tag-plus-outline:before{content:"󱈢"}.mdi-tag-remove:before{content:"󰜣"}.mdi-tag-remove-outline:before{content:"󱈣"}.mdi-tag-search:before{content:"󱤇"}.mdi-tag-search-outline:before{content:"󱤈"}.mdi-tag-text:before{content:"󱈤"}.mdi-tag-text-outline:before{content:"󰓽"}.mdi-tailwind:before{content:"󱏿"}.mdi-tally-mark-1:before{content:"󱪼"}.mdi-tally-mark-2:before{content:"󱪽"}.mdi-tally-mark-3:before{content:"󱪾"}.mdi-tally-mark-4:before{content:"󱪿"}.mdi-tally-mark-5:before{content:"󱫀"}.mdi-tangram:before{content:"󰓸"}.mdi-tank:before{content:"󰴺"}.mdi-tanker-truck:before{content:"󰿥"}.mdi-tape-drive:before{content:"󱛟"}.mdi-tape-measure:before{content:"󰭍"}.mdi-target:before{content:"󰓾"}.mdi-target-account:before{content:"󰯐"}.mdi-target-variant:before{content:"󰩷"}.mdi-taxi:before{content:"󰓿"}.mdi-tea:before{content:"󰶞"}.mdi-tea-outline:before{content:"󰶟"}.mdi-teamviewer:before{content:"󰔀"}.mdi-teddy-bear:before{content:"󱣻"}.mdi-telescope:before{content:"󰭎"}.mdi-television:before{content:"󰔂"}.mdi-television-ambient-light:before{content:"󱍖"}.mdi-television-box:before{content:"󰠹"}.mdi-television-classic:before{content:"󰟴"}.mdi-television-classic-off:before{content:"󰠺"}.mdi-television-guide:before{content:"󰔃"}.mdi-television-off:before{content:"󰠻"}.mdi-television-pause:before{content:"󰾉"}.mdi-television-play:before{content:"󰻏"}.mdi-television-shimmer:before{content:"󱄐"}.mdi-television-speaker:before{content:"󱬛"}.mdi-television-speaker-off:before{content:"󱬜"}.mdi-television-stop:before{content:"󰾊"}.mdi-temperature-celsius:before{content:"󰔄"}.mdi-temperature-fahrenheit:before{content:"󰔅"}.mdi-temperature-kelvin:before{content:"󰔆"}.mdi-temple-buddhist:before{content:"󱬆"}.mdi-temple-buddhist-outline:before{content:"󱬇"}.mdi-temple-hindu:before{content:"󱬈"}.mdi-temple-hindu-outline:before{content:"󱬉"}.mdi-tennis:before{content:"󰶠"}.mdi-tennis-ball:before{content:"󰔇"}.mdi-tennis-ball-outline:before{content:"󱱟"}.mdi-tent:before{content:"󰔈"}.mdi-terraform:before{content:"󱁢"}.mdi-terrain:before{content:"󰔉"}.mdi-test-tube:before{content:"󰙨"}.mdi-test-tube-empty:before{content:"󰤑"}.mdi-test-tube-off:before{content:"󰤒"}.mdi-text:before{content:"󰦨"}.mdi-text-account:before{content:"󱕰"}.mdi-text-box:before{content:"󰈚"}.mdi-text-box-check:before{content:"󰺦"}.mdi-text-box-check-outline:before{content:"󰺧"}.mdi-text-box-edit:before{content:"󱩼"}.mdi-text-box-edit-outline:before{content:"󱩽"}.mdi-text-box-minus:before{content:"󰺨"}.mdi-text-box-minus-outline:before{content:"󰺩"}.mdi-text-box-multiple:before{content:"󰪷"}.mdi-text-box-multiple-outline:before{content:"󰪸"}.mdi-text-box-outline:before{content:"󰧭"}.mdi-text-box-plus:before{content:"󰺪"}.mdi-text-box-plus-outline:before{content:"󰺫"}.mdi-text-box-remove:before{content:"󰺬"}.mdi-text-box-remove-outline:before{content:"󰺭"}.mdi-text-box-search:before{content:"󰺮"}.mdi-text-box-search-outline:before{content:"󰺯"}.mdi-text-long:before{content:"󰦪"}.mdi-text-recognition:before{content:"󱄽"}.mdi-text-search:before{content:"󱎸"}.mdi-text-search-variant:before{content:"󱩾"}.mdi-text-shadow:before{content:"󰙩"}.mdi-text-short:before{content:"󰦩"}.mdi-texture:before{content:"󰔌"}.mdi-texture-box:before{content:"󰿦"}.mdi-theater:before{content:"󰔍"}.mdi-theme-light-dark:before{content:"󰔎"}.mdi-thermometer:before{content:"󰔏"}.mdi-thermometer-alert:before{content:"󰸁"}.mdi-thermometer-auto:before{content:"󱬏"}.mdi-thermometer-bluetooth:before{content:"󱢕"}.mdi-thermometer-check:before{content:"󱩿"}.mdi-thermometer-chevron-down:before{content:"󰸂"}.mdi-thermometer-chevron-up:before{content:"󰸃"}.mdi-thermometer-high:before{content:"󱃂"}.mdi-thermometer-lines:before{content:"󰔐"}.mdi-thermometer-low:before{content:"󱃃"}.mdi-thermometer-minus:before{content:"󰸄"}.mdi-thermometer-off:before{content:"󱔱"}.mdi-thermometer-plus:before{content:"󰸅"}.mdi-thermometer-probe:before{content:"󱬫"}.mdi-thermometer-probe-off:before{content:"󱬬"}.mdi-thermometer-water:before{content:"󱪀"}.mdi-thermostat:before{content:"󰎓"}.mdi-thermostat-auto:before{content:"󱬗"}.mdi-thermostat-box:before{content:"󰢑"}.mdi-thermostat-box-auto:before{content:"󱬘"}.mdi-thermostat-cog:before{content:"󱲀"}.mdi-thought-bubble:before{content:"󰟶"}.mdi-thought-bubble-outline:before{content:"󰟷"}.mdi-thumb-down:before{content:"󰔑"}.mdi-thumb-down-outline:before{content:"󰔒"}.mdi-thumb-up:before{content:"󰔓"}.mdi-thumb-up-outline:before{content:"󰔔"}.mdi-thumbs-up-down:before{content:"󰔕"}.mdi-thumbs-up-down-outline:before{content:"󱤔"}.mdi-ticket:before{content:"󰔖"}.mdi-ticket-account:before{content:"󰔗"}.mdi-ticket-confirmation:before{content:"󰔘"}.mdi-ticket-confirmation-outline:before{content:"󱎪"}.mdi-ticket-outline:before{content:"󰤓"}.mdi-ticket-percent:before{content:"󰜤"}.mdi-ticket-percent-outline:before{content:"󱐫"}.mdi-tie:before{content:"󰔙"}.mdi-tilde:before{content:"󰜥"}.mdi-tilde-off:before{content:"󱣳"}.mdi-timelapse:before{content:"󰔚"}.mdi-timeline:before{content:"󰯑"}.mdi-timeline-alert:before{content:"󰾕"}.mdi-timeline-alert-outline:before{content:"󰾘"}.mdi-timeline-check:before{content:"󱔲"}.mdi-timeline-check-outline:before{content:"󱔳"}.mdi-timeline-clock:before{content:"󱇻"}.mdi-timeline-clock-outline:before{content:"󱇼"}.mdi-timeline-minus:before{content:"󱔴"}.mdi-timeline-minus-outline:before{content:"󱔵"}.mdi-timeline-outline:before{content:"󰯒"}.mdi-timeline-plus:before{content:"󰾖"}.mdi-timeline-plus-outline:before{content:"󰾗"}.mdi-timeline-question:before{content:"󰾙"}.mdi-timeline-question-outline:before{content:"󰾚"}.mdi-timeline-remove:before{content:"󱔶"}.mdi-timeline-remove-outline:before{content:"󱔷"}.mdi-timeline-text:before{content:"󰯓"}.mdi-timeline-text-outline:before{content:"󰯔"}.mdi-timer:before{content:"󱎫"}.mdi-timer-10:before{content:"󰔜"}.mdi-timer-3:before{content:"󰔝"}.mdi-timer-alert:before{content:"󱫌"}.mdi-timer-alert-outline:before{content:"󱫍"}.mdi-timer-cancel:before{content:"󱫎"}.mdi-timer-cancel-outline:before{content:"󱫏"}.mdi-timer-check:before{content:"󱫐"}.mdi-timer-check-outline:before{content:"󱫑"}.mdi-timer-cog:before{content:"󱤥"}.mdi-timer-cog-outline:before{content:"󱤦"}.mdi-timer-edit:before{content:"󱫒"}.mdi-timer-edit-outline:before{content:"󱫓"}.mdi-timer-lock:before{content:"󱫔"}.mdi-timer-lock-open:before{content:"󱫕"}.mdi-timer-lock-open-outline:before{content:"󱫖"}.mdi-timer-lock-outline:before{content:"󱫗"}.mdi-timer-marker:before{content:"󱫘"}.mdi-timer-marker-outline:before{content:"󱫙"}.mdi-timer-minus:before{content:"󱫚"}.mdi-timer-minus-outline:before{content:"󱫛"}.mdi-timer-music:before{content:"󱫜"}.mdi-timer-music-outline:before{content:"󱫝"}.mdi-timer-off:before{content:"󱎬"}.mdi-timer-off-outline:before{content:"󰔞"}.mdi-timer-outline:before{content:"󰔛"}.mdi-timer-pause:before{content:"󱫞"}.mdi-timer-pause-outline:before{content:"󱫟"}.mdi-timer-play:before{content:"󱫠"}.mdi-timer-play-outline:before{content:"󱫡"}.mdi-timer-plus:before{content:"󱫢"}.mdi-timer-plus-outline:before{content:"󱫣"}.mdi-timer-refresh:before{content:"󱫤"}.mdi-timer-refresh-outline:before{content:"󱫥"}.mdi-timer-remove:before{content:"󱫦"}.mdi-timer-remove-outline:before{content:"󱫧"}.mdi-timer-sand:before{content:"󰔟"}.mdi-timer-sand-complete:before{content:"󱦟"}.mdi-timer-sand-empty:before{content:"󰚭"}.mdi-timer-sand-full:before{content:"󰞌"}.mdi-timer-sand-paused:before{content:"󱦠"}.mdi-timer-settings:before{content:"󱤣"}.mdi-timer-settings-outline:before{content:"󱤤"}.mdi-timer-star:before{content:"󱫨"}.mdi-timer-star-outline:before{content:"󱫩"}.mdi-timer-stop:before{content:"󱫪"}.mdi-timer-stop-outline:before{content:"󱫫"}.mdi-timer-sync:before{content:"󱫬"}.mdi-timer-sync-outline:before{content:"󱫭"}.mdi-timetable:before{content:"󰔠"}.mdi-tire:before{content:"󱢖"}.mdi-toaster:before{content:"󱁣"}.mdi-toaster-off:before{content:"󱆷"}.mdi-toaster-oven:before{content:"󰳓"}.mdi-toggle-switch:before{content:"󰔡"}.mdi-toggle-switch-off:before{content:"󰔢"}.mdi-toggle-switch-off-outline:before{content:"󰨙"}.mdi-toggle-switch-outline:before{content:"󰨚"}.mdi-toggle-switch-variant:before{content:"󱨥"}.mdi-toggle-switch-variant-off:before{content:"󱨦"}.mdi-toilet:before{content:"󰦫"}.mdi-toolbox:before{content:"󰦬"}.mdi-toolbox-outline:before{content:"󰦭"}.mdi-tools:before{content:"󱁤"}.mdi-tooltip:before{content:"󰔣"}.mdi-tooltip-account:before{content:"󰀌"}.mdi-tooltip-cellphone:before{content:"󱠻"}.mdi-tooltip-check:before{content:"󱕜"}.mdi-tooltip-check-outline:before{content:"󱕝"}.mdi-tooltip-edit:before{content:"󰔤"}.mdi-tooltip-edit-outline:before{content:"󱋅"}.mdi-tooltip-image:before{content:"󰔥"}.mdi-tooltip-image-outline:before{content:"󰯕"}.mdi-tooltip-minus:before{content:"󱕞"}.mdi-tooltip-minus-outline:before{content:"󱕟"}.mdi-tooltip-outline:before{content:"󰔦"}.mdi-tooltip-plus:before{content:"󰯖"}.mdi-tooltip-plus-outline:before{content:"󰔧"}.mdi-tooltip-question:before{content:"󱮺"}.mdi-tooltip-question-outline:before{content:"󱮻"}.mdi-tooltip-remove:before{content:"󱕠"}.mdi-tooltip-remove-outline:before{content:"󱕡"}.mdi-tooltip-text:before{content:"󰔨"}.mdi-tooltip-text-outline:before{content:"󰯗"}.mdi-tooth:before{content:"󰣃"}.mdi-tooth-outline:before{content:"󰔩"}.mdi-toothbrush:before{content:"󱄩"}.mdi-toothbrush-electric:before{content:"󱄬"}.mdi-toothbrush-paste:before{content:"󱄪"}.mdi-torch:before{content:"󱘆"}.mdi-tortoise:before{content:"󰴻"}.mdi-toslink:before{content:"󱊸"}.mdi-touch-text-outline:before{content:"󱱠"}.mdi-tournament:before{content:"󰦮"}.mdi-tow-truck:before{content:"󰠼"}.mdi-tower-beach:before{content:"󰚁"}.mdi-tower-fire:before{content:"󰚂"}.mdi-town-hall:before{content:"󱡵"}.mdi-toy-brick:before{content:"󱊈"}.mdi-toy-brick-marker:before{content:"󱊉"}.mdi-toy-brick-marker-outline:before{content:"󱊊"}.mdi-toy-brick-minus:before{content:"󱊋"}.mdi-toy-brick-minus-outline:before{content:"󱊌"}.mdi-toy-brick-outline:before{content:"󱊍"}.mdi-toy-brick-plus:before{content:"󱊎"}.mdi-toy-brick-plus-outline:before{content:"󱊏"}.mdi-toy-brick-remove:before{content:"󱊐"}.mdi-toy-brick-remove-outline:before{content:"󱊑"}.mdi-toy-brick-search:before{content:"󱊒"}.mdi-toy-brick-search-outline:before{content:"󱊓"}.mdi-track-light:before{content:"󰤔"}.mdi-track-light-off:before{content:"󱬁"}.mdi-trackpad:before{content:"󰟸"}.mdi-trackpad-lock:before{content:"󰤳"}.mdi-tractor:before{content:"󰢒"}.mdi-tractor-variant:before{content:"󱓄"}.mdi-trademark:before{content:"󰩸"}.mdi-traffic-cone:before{content:"󱍼"}.mdi-traffic-light:before{content:"󰔫"}.mdi-traffic-light-outline:before{content:"󱠪"}.mdi-train:before{content:"󰔬"}.mdi-train-car:before{content:"󰯘"}.mdi-train-car-autorack:before{content:"󱬭"}.mdi-train-car-box:before{content:"󱬮"}.mdi-train-car-box-full:before{content:"󱬯"}.mdi-train-car-box-open:before{content:"󱬰"}.mdi-train-car-caboose:before{content:"󱬱"}.mdi-train-car-centerbeam:before{content:"󱬲"}.mdi-train-car-centerbeam-full:before{content:"󱬳"}.mdi-train-car-container:before{content:"󱬴"}.mdi-train-car-flatbed:before{content:"󱬵"}.mdi-train-car-flatbed-car:before{content:"󱬶"}.mdi-train-car-flatbed-tank:before{content:"󱬷"}.mdi-train-car-gondola:before{content:"󱬸"}.mdi-train-car-gondola-full:before{content:"󱬹"}.mdi-train-car-hopper:before{content:"󱬺"}.mdi-train-car-hopper-covered:before{content:"󱬻"}.mdi-train-car-hopper-full:before{content:"󱬼"}.mdi-train-car-intermodal:before{content:"󱬽"}.mdi-train-car-passenger:before{content:"󱜳"}.mdi-train-car-passenger-door:before{content:"󱜴"}.mdi-train-car-passenger-door-open:before{content:"󱜵"}.mdi-train-car-passenger-variant:before{content:"󱜶"}.mdi-train-car-tank:before{content:"󱬾"}.mdi-train-variant:before{content:"󰣄"}.mdi-tram:before{content:"󰔭"}.mdi-tram-side:before{content:"󰿧"}.mdi-transcribe:before{content:"󰔮"}.mdi-transcribe-close:before{content:"󰔯"}.mdi-transfer:before{content:"󱁥"}.mdi-transfer-down:before{content:"󰶡"}.mdi-transfer-left:before{content:"󰶢"}.mdi-transfer-right:before{content:"󰔰"}.mdi-transfer-up:before{content:"󰶣"}.mdi-transit-connection:before{content:"󰴼"}.mdi-transit-connection-horizontal:before{content:"󱕆"}.mdi-transit-connection-variant:before{content:"󰴽"}.mdi-transit-detour:before{content:"󰾋"}.mdi-transit-skip:before{content:"󱔕"}.mdi-transit-transfer:before{content:"󰚮"}.mdi-transition:before{content:"󰤕"}.mdi-transition-masked:before{content:"󰤖"}.mdi-translate:before{content:"󰗊"}.mdi-translate-off:before{content:"󰸆"}.mdi-translate-variant:before{content:"󱮙"}.mdi-transmission-tower:before{content:"󰴾"}.mdi-transmission-tower-export:before{content:"󱤬"}.mdi-transmission-tower-import:before{content:"󱤭"}.mdi-transmission-tower-off:before{content:"󱧝"}.mdi-trash-can:before{content:"󰩹"}.mdi-trash-can-outline:before{content:"󰩺"}.mdi-tray:before{content:"󱊔"}.mdi-tray-alert:before{content:"󱊕"}.mdi-tray-arrow-down:before{content:"󰄠"}.mdi-tray-arrow-up:before{content:"󰄝"}.mdi-tray-full:before{content:"󱊖"}.mdi-tray-minus:before{content:"󱊗"}.mdi-tray-plus:before{content:"󱊘"}.mdi-tray-remove:before{content:"󱊙"}.mdi-treasure-chest:before{content:"󰜦"}.mdi-treasure-chest-outline:before{content:"󱱷"}.mdi-tree:before{content:"󰔱"}.mdi-tree-outline:before{content:"󰹩"}.mdi-trello:before{content:"󰔲"}.mdi-trending-down:before{content:"󰔳"}.mdi-trending-neutral:before{content:"󰔴"}.mdi-trending-up:before{content:"󰔵"}.mdi-triangle:before{content:"󰔶"}.mdi-triangle-down:before{content:"󱱖"}.mdi-triangle-down-outline:before{content:"󱱗"}.mdi-triangle-outline:before{content:"󰔷"}.mdi-triangle-small-down:before{content:"󱨉"}.mdi-triangle-small-up:before{content:"󱨊"}.mdi-triangle-wave:before{content:"󱑼"}.mdi-triforce:before{content:"󰯙"}.mdi-trophy:before{content:"󰔸"}.mdi-trophy-award:before{content:"󰔹"}.mdi-trophy-broken:before{content:"󰶤"}.mdi-trophy-outline:before{content:"󰔺"}.mdi-trophy-variant:before{content:"󰔻"}.mdi-trophy-variant-outline:before{content:"󰔼"}.mdi-truck:before{content:"󰔽"}.mdi-truck-alert:before{content:"󱧞"}.mdi-truck-alert-outline:before{content:"󱧟"}.mdi-truck-cargo-container:before{content:"󱣘"}.mdi-truck-check:before{content:"󰳔"}.mdi-truck-check-outline:before{content:"󱊚"}.mdi-truck-delivery:before{content:"󰔾"}.mdi-truck-delivery-outline:before{content:"󱊛"}.mdi-truck-fast:before{content:"󰞈"}.mdi-truck-fast-outline:before{content:"󱊜"}.mdi-truck-flatbed:before{content:"󱢑"}.mdi-truck-minus:before{content:"󱦮"}.mdi-truck-minus-outline:before{content:"󱦽"}.mdi-truck-outline:before{content:"󱊝"}.mdi-truck-plus:before{content:"󱦭"}.mdi-truck-plus-outline:before{content:"󱦼"}.mdi-truck-remove:before{content:"󱦯"}.mdi-truck-remove-outline:before{content:"󱦾"}.mdi-truck-snowflake:before{content:"󱦦"}.mdi-truck-trailer:before{content:"󰜧"}.mdi-trumpet:before{content:"󱂖"}.mdi-tshirt-crew:before{content:"󰩻"}.mdi-tshirt-crew-outline:before{content:"󰔿"}.mdi-tshirt-v:before{content:"󰩼"}.mdi-tshirt-v-outline:before{content:"󰕀"}.mdi-tsunami:before{content:"󱪁"}.mdi-tumble-dryer:before{content:"󰤗"}.mdi-tumble-dryer-alert:before{content:"󱆺"}.mdi-tumble-dryer-off:before{content:"󱆻"}.mdi-tune:before{content:"󰘮"}.mdi-tune-variant:before{content:"󱕂"}.mdi-tune-vertical:before{content:"󰙪"}.mdi-tune-vertical-variant:before{content:"󱕃"}.mdi-tunnel:before{content:"󱠽"}.mdi-tunnel-outline:before{content:"󱠾"}.mdi-turbine:before{content:"󱪂"}.mdi-turkey:before{content:"󱜛"}.mdi-turnstile:before{content:"󰳕"}.mdi-turnstile-outline:before{content:"󰳖"}.mdi-turtle:before{content:"󰳗"}.mdi-twitch:before{content:"󰕃"}.mdi-twitter:before{content:"󰕄"}.mdi-two-factor-authentication:before{content:"󰦯"}.mdi-typewriter:before{content:"󰼭"}.mdi-ubisoft:before{content:"󰯚"}.mdi-ubuntu:before{content:"󰕈"}.mdi-ufo:before{content:"󱃄"}.mdi-ufo-outline:before{content:"󱃅"}.mdi-ultra-high-definition:before{content:"󰟹"}.mdi-umbraco:before{content:"󰕉"}.mdi-umbrella:before{content:"󰕊"}.mdi-umbrella-beach:before{content:"󱢊"}.mdi-umbrella-beach-outline:before{content:"󱢋"}.mdi-umbrella-closed:before{content:"󰦰"}.mdi-umbrella-closed-outline:before{content:"󱏢"}.mdi-umbrella-closed-variant:before{content:"󱏡"}.mdi-umbrella-outline:before{content:"󰕋"}.mdi-undo:before{content:"󰕌"}.mdi-undo-variant:before{content:"󰕍"}.mdi-unfold-less-horizontal:before{content:"󰕎"}.mdi-unfold-less-vertical:before{content:"󰝠"}.mdi-unfold-more-horizontal:before{content:"󰕏"}.mdi-unfold-more-vertical:before{content:"󰝡"}.mdi-ungroup:before{content:"󰕐"}.mdi-unicode:before{content:"󰻐"}.mdi-unicorn:before{content:"󱗂"}.mdi-unicorn-variant:before{content:"󱗃"}.mdi-unicycle:before{content:"󱗥"}.mdi-unity:before{content:"󰚯"}.mdi-unreal:before{content:"󰦱"}.mdi-update:before{content:"󰚰"}.mdi-upload:before{content:"󰕒"}.mdi-upload-lock:before{content:"󱍳"}.mdi-upload-lock-outline:before{content:"󱍴"}.mdi-upload-multiple:before{content:"󰠽"}.mdi-upload-network:before{content:"󰛶"}.mdi-upload-network-outline:before{content:"󰳘"}.mdi-upload-off:before{content:"󱃆"}.mdi-upload-off-outline:before{content:"󱃇"}.mdi-upload-outline:before{content:"󰸇"}.mdi-usb:before{content:"󰕓"}.mdi-usb-flash-drive:before{content:"󱊞"}.mdi-usb-flash-drive-outline:before{content:"󱊟"}.mdi-usb-port:before{content:"󱇰"}.mdi-vacuum:before{content:"󱦡"}.mdi-vacuum-outline:before{content:"󱦢"}.mdi-valve:before{content:"󱁦"}.mdi-valve-closed:before{content:"󱁧"}.mdi-valve-open:before{content:"󱁨"}.mdi-van-passenger:before{content:"󰟺"}.mdi-van-utility:before{content:"󰟻"}.mdi-vanish:before{content:"󰟼"}.mdi-vanish-quarter:before{content:"󱕔"}.mdi-vanity-light:before{content:"󱇡"}.mdi-variable:before{content:"󰫧"}.mdi-variable-box:before{content:"󱄑"}.mdi-vector-arrange-above:before{content:"󰕔"}.mdi-vector-arrange-below:before{content:"󰕕"}.mdi-vector-bezier:before{content:"󰫨"}.mdi-vector-circle:before{content:"󰕖"}.mdi-vector-circle-variant:before{content:"󰕗"}.mdi-vector-combine:before{content:"󰕘"}.mdi-vector-curve:before{content:"󰕙"}.mdi-vector-difference:before{content:"󰕚"}.mdi-vector-difference-ab:before{content:"󰕛"}.mdi-vector-difference-ba:before{content:"󰕜"}.mdi-vector-ellipse:before{content:"󰢓"}.mdi-vector-intersection:before{content:"󰕝"}.mdi-vector-line:before{content:"󰕞"}.mdi-vector-link:before{content:"󰿨"}.mdi-vector-point:before{content:"󰇄"}.mdi-vector-point-edit:before{content:"󰧨"}.mdi-vector-point-minus:before{content:"󱭸"}.mdi-vector-point-plus:before{content:"󱭹"}.mdi-vector-point-select:before{content:"󰕟"}.mdi-vector-polygon:before{content:"󰕠"}.mdi-vector-polygon-variant:before{content:"󱡖"}.mdi-vector-polyline:before{content:"󰕡"}.mdi-vector-polyline-edit:before{content:"󱈥"}.mdi-vector-polyline-minus:before{content:"󱈦"}.mdi-vector-polyline-plus:before{content:"󱈧"}.mdi-vector-polyline-remove:before{content:"󱈨"}.mdi-vector-radius:before{content:"󰝊"}.mdi-vector-rectangle:before{content:"󰗆"}.mdi-vector-selection:before{content:"󰕢"}.mdi-vector-square:before{content:"󰀁"}.mdi-vector-square-close:before{content:"󱡗"}.mdi-vector-square-edit:before{content:"󱣙"}.mdi-vector-square-minus:before{content:"󱣚"}.mdi-vector-square-open:before{content:"󱡘"}.mdi-vector-square-plus:before{content:"󱣛"}.mdi-vector-square-remove:before{content:"󱣜"}.mdi-vector-triangle:before{content:"󰕣"}.mdi-vector-union:before{content:"󰕤"}.mdi-vhs:before{content:"󰨛"}.mdi-vibrate:before{content:"󰕦"}.mdi-vibrate-off:before{content:"󰳙"}.mdi-video:before{content:"󰕧"}.mdi-video-2d:before{content:"󱨜"}.mdi-video-3d:before{content:"󰟽"}.mdi-video-3d-off:before{content:"󱏙"}.mdi-video-3d-variant:before{content:"󰻑"}.mdi-video-4k-box:before{content:"󰠾"}.mdi-video-account:before{content:"󰤙"}.mdi-video-box:before{content:"󰃽"}.mdi-video-box-off:before{content:"󰃾"}.mdi-video-check:before{content:"󱁩"}.mdi-video-check-outline:before{content:"󱁪"}.mdi-video-high-definition:before{content:"󱔮"}.mdi-video-image:before{content:"󰤚"}.mdi-video-input-antenna:before{content:"󰠿"}.mdi-video-input-component:before{content:"󰡀"}.mdi-video-input-hdmi:before{content:"󰡁"}.mdi-video-input-scart:before{content:"󰾌"}.mdi-video-input-svideo:before{content:"󰡂"}.mdi-video-marker:before{content:"󱦩"}.mdi-video-marker-outline:before{content:"󱦪"}.mdi-video-minus:before{content:"󰦲"}.mdi-video-minus-outline:before{content:"󰊺"}.mdi-video-off:before{content:"󰕨"}.mdi-video-off-outline:before{content:"󰯛"}.mdi-video-outline:before{content:"󰯜"}.mdi-video-plus:before{content:"󰦳"}.mdi-video-plus-outline:before{content:"󰇓"}.mdi-video-stabilization:before{content:"󰤛"}.mdi-video-switch:before{content:"󰕩"}.mdi-video-switch-outline:before{content:"󰞐"}.mdi-video-vintage:before{content:"󰨜"}.mdi-video-wireless:before{content:"󰻒"}.mdi-video-wireless-outline:before{content:"󰻓"}.mdi-view-agenda:before{content:"󰕪"}.mdi-view-agenda-outline:before{content:"󱇘"}.mdi-view-array:before{content:"󰕫"}.mdi-view-array-outline:before{content:"󱒅"}.mdi-view-carousel:before{content:"󰕬"}.mdi-view-carousel-outline:before{content:"󱒆"}.mdi-view-column:before{content:"󰕭"}.mdi-view-column-outline:before{content:"󱒇"}.mdi-view-comfy:before{content:"󰹪"}.mdi-view-comfy-outline:before{content:"󱒈"}.mdi-view-compact:before{content:"󰹫"}.mdi-view-compact-outline:before{content:"󰹬"}.mdi-view-dashboard:before{content:"󰕮"}.mdi-view-dashboard-edit:before{content:"󱥇"}.mdi-view-dashboard-edit-outline:before{content:"󱥈"}.mdi-view-dashboard-outline:before{content:"󰨝"}.mdi-view-dashboard-variant:before{content:"󰡃"}.mdi-view-dashboard-variant-outline:before{content:"󱒉"}.mdi-view-day:before{content:"󰕯"}.mdi-view-day-outline:before{content:"󱒊"}.mdi-view-gallery:before{content:"󱢈"}.mdi-view-gallery-outline:before{content:"󱢉"}.mdi-view-grid:before{content:"󰕰"}.mdi-view-grid-compact:before{content:"󱱡"}.mdi-view-grid-outline:before{content:"󱇙"}.mdi-view-grid-plus:before{content:"󰾍"}.mdi-view-grid-plus-outline:before{content:"󱇚"}.mdi-view-headline:before{content:"󰕱"}.mdi-view-list:before{content:"󰕲"}.mdi-view-list-outline:before{content:"󱒋"}.mdi-view-module:before{content:"󰕳"}.mdi-view-module-outline:before{content:"󱒌"}.mdi-view-parallel:before{content:"󰜨"}.mdi-view-parallel-outline:before{content:"󱒍"}.mdi-view-quilt:before{content:"󰕴"}.mdi-view-quilt-outline:before{content:"󱒎"}.mdi-view-sequential:before{content:"󰜩"}.mdi-view-sequential-outline:before{content:"󱒏"}.mdi-view-split-horizontal:before{content:"󰯋"}.mdi-view-split-vertical:before{content:"󰯌"}.mdi-view-stream:before{content:"󰕵"}.mdi-view-stream-outline:before{content:"󱒐"}.mdi-view-week:before{content:"󰕶"}.mdi-view-week-outline:before{content:"󱒑"}.mdi-vimeo:before{content:"󰕷"}.mdi-violin:before{content:"󰘏"}.mdi-virtual-reality:before{content:"󰢔"}.mdi-virus:before{content:"󱎶"}.mdi-virus-off:before{content:"󱣡"}.mdi-virus-off-outline:before{content:"󱣢"}.mdi-virus-outline:before{content:"󱎷"}.mdi-vlc:before{content:"󰕼"}.mdi-voicemail:before{content:"󰕽"}.mdi-volcano:before{content:"󱪃"}.mdi-volcano-outline:before{content:"󱪄"}.mdi-volleyball:before{content:"󰦴"}.mdi-volume-equal:before{content:"󱬐"}.mdi-volume-high:before{content:"󰕾"}.mdi-volume-low:before{content:"󰕿"}.mdi-volume-medium:before{content:"󰖀"}.mdi-volume-minus:before{content:"󰝞"}.mdi-volume-mute:before{content:"󰝟"}.mdi-volume-off:before{content:"󰖁"}.mdi-volume-plus:before{content:"󰝝"}.mdi-volume-source:before{content:"󱄠"}.mdi-volume-variant-off:before{content:"󰸈"}.mdi-volume-vibrate:before{content:"󱄡"}.mdi-vote:before{content:"󰨟"}.mdi-vote-outline:before{content:"󰨠"}.mdi-vpn:before{content:"󰖂"}.mdi-vuejs:before{content:"󰡄"}.mdi-vuetify:before{content:"󰹭"}.mdi-walk:before{content:"󰖃"}.mdi-wall:before{content:"󰟾"}.mdi-wall-fire:before{content:"󱨑"}.mdi-wall-sconce:before{content:"󰤜"}.mdi-wall-sconce-flat:before{content:"󰤝"}.mdi-wall-sconce-flat-outline:before{content:"󱟉"}.mdi-wall-sconce-flat-variant:before{content:"󰐜"}.mdi-wall-sconce-flat-variant-outline:before{content:"󱟊"}.mdi-wall-sconce-outline:before{content:"󱟋"}.mdi-wall-sconce-round:before{content:"󰝈"}.mdi-wall-sconce-round-outline:before{content:"󱟌"}.mdi-wall-sconce-round-variant:before{content:"󰤞"}.mdi-wall-sconce-round-variant-outline:before{content:"󱟍"}.mdi-wallet:before{content:"󰖄"}.mdi-wallet-bifold:before{content:"󱱘"}.mdi-wallet-bifold-outline:before{content:"󱱙"}.mdi-wallet-giftcard:before{content:"󰖅"}.mdi-wallet-membership:before{content:"󰖆"}.mdi-wallet-outline:before{content:"󰯝"}.mdi-wallet-plus:before{content:"󰾎"}.mdi-wallet-plus-outline:before{content:"󰾏"}.mdi-wallet-travel:before{content:"󰖇"}.mdi-wallpaper:before{content:"󰸉"}.mdi-wan:before{content:"󰖈"}.mdi-wardrobe:before{content:"󰾐"}.mdi-wardrobe-outline:before{content:"󰾑"}.mdi-warehouse:before{content:"󰾁"}.mdi-washing-machine:before{content:"󰜪"}.mdi-washing-machine-alert:before{content:"󱆼"}.mdi-washing-machine-off:before{content:"󱆽"}.mdi-watch:before{content:"󰖉"}.mdi-watch-export:before{content:"󰖊"}.mdi-watch-export-variant:before{content:"󰢕"}.mdi-watch-import:before{content:"󰖋"}.mdi-watch-import-variant:before{content:"󰢖"}.mdi-watch-variant:before{content:"󰢗"}.mdi-watch-vibrate:before{content:"󰚱"}.mdi-watch-vibrate-off:before{content:"󰳚"}.mdi-water:before{content:"󰖌"}.mdi-water-alert:before{content:"󱔂"}.mdi-water-alert-outline:before{content:"󱔃"}.mdi-water-boiler:before{content:"󰾒"}.mdi-water-boiler-alert:before{content:"󱆳"}.mdi-water-boiler-auto:before{content:"󱮘"}.mdi-water-boiler-off:before{content:"󱆴"}.mdi-water-check:before{content:"󱔄"}.mdi-water-check-outline:before{content:"󱔅"}.mdi-water-circle:before{content:"󱠆"}.mdi-water-minus:before{content:"󱔆"}.mdi-water-minus-outline:before{content:"󱔇"}.mdi-water-off:before{content:"󰖍"}.mdi-water-off-outline:before{content:"󱔈"}.mdi-water-opacity:before{content:"󱡕"}.mdi-water-outline:before{content:"󰸊"}.mdi-water-percent:before{content:"󰖎"}.mdi-water-percent-alert:before{content:"󱔉"}.mdi-water-plus:before{content:"󱔊"}.mdi-water-plus-outline:before{content:"󱔋"}.mdi-water-polo:before{content:"󱊠"}.mdi-water-pump:before{content:"󰖏"}.mdi-water-pump-off:before{content:"󰾓"}.mdi-water-remove:before{content:"󱔌"}.mdi-water-remove-outline:before{content:"󱔍"}.mdi-water-sync:before{content:"󱟆"}.mdi-water-thermometer:before{content:"󱪅"}.mdi-water-thermometer-outline:before{content:"󱪆"}.mdi-water-well:before{content:"󱁫"}.mdi-water-well-outline:before{content:"󱁬"}.mdi-waterfall:before{content:"󱡉"}.mdi-watering-can:before{content:"󱒁"}.mdi-watering-can-outline:before{content:"󱒂"}.mdi-watermark:before{content:"󰘒"}.mdi-wave:before{content:"󰼮"}.mdi-waveform:before{content:"󱑽"}.mdi-waves:before{content:"󰞍"}.mdi-waves-arrow-left:before{content:"󱡙"}.mdi-waves-arrow-right:before{content:"󱡚"}.mdi-waves-arrow-up:before{content:"󱡛"}.mdi-waze:before{content:"󰯞"}.mdi-weather-cloudy:before{content:"󰖐"}.mdi-weather-cloudy-alert:before{content:"󰼯"}.mdi-weather-cloudy-arrow-right:before{content:"󰹮"}.mdi-weather-cloudy-clock:before{content:"󱣶"}.mdi-weather-dust:before{content:"󱭚"}.mdi-weather-fog:before{content:"󰖑"}.mdi-weather-hail:before{content:"󰖒"}.mdi-weather-hazy:before{content:"󰼰"}.mdi-weather-hurricane:before{content:"󰢘"}.mdi-weather-hurricane-outline:before{content:"󱱸"}.mdi-weather-lightning:before{content:"󰖓"}.mdi-weather-lightning-rainy:before{content:"󰙾"}.mdi-weather-night:before{content:"󰖔"}.mdi-weather-night-partly-cloudy:before{content:"󰼱"}.mdi-weather-partly-cloudy:before{content:"󰖕"}.mdi-weather-partly-lightning:before{content:"󰼲"}.mdi-weather-partly-rainy:before{content:"󰼳"}.mdi-weather-partly-snowy:before{content:"󰼴"}.mdi-weather-partly-snowy-rainy:before{content:"󰼵"}.mdi-weather-pouring:before{content:"󰖖"}.mdi-weather-rainy:before{content:"󰖗"}.mdi-weather-snowy:before{content:"󰖘"}.mdi-weather-snowy-heavy:before{content:"󰼶"}.mdi-weather-snowy-rainy:before{content:"󰙿"}.mdi-weather-sunny:before{content:"󰖙"}.mdi-weather-sunny-alert:before{content:"󰼷"}.mdi-weather-sunny-off:before{content:"󱓤"}.mdi-weather-sunset:before{content:"󰖚"}.mdi-weather-sunset-down:before{content:"󰖛"}.mdi-weather-sunset-up:before{content:"󰖜"}.mdi-weather-tornado:before{content:"󰼸"}.mdi-weather-windy:before{content:"󰖝"}.mdi-weather-windy-variant:before{content:"󰖞"}.mdi-web:before{content:"󰖟"}.mdi-web-box:before{content:"󰾔"}.mdi-web-cancel:before{content:"󱞐"}.mdi-web-check:before{content:"󰞉"}.mdi-web-clock:before{content:"󱉊"}.mdi-web-minus:before{content:"󱂠"}.mdi-web-off:before{content:"󰪎"}.mdi-web-plus:before{content:"󰀳"}.mdi-web-refresh:before{content:"󱞑"}.mdi-web-remove:before{content:"󰕑"}.mdi-web-sync:before{content:"󱞒"}.mdi-webcam:before{content:"󰖠"}.mdi-webcam-off:before{content:"󱜷"}.mdi-webhook:before{content:"󰘯"}.mdi-webpack:before{content:"󰜫"}.mdi-webrtc:before{content:"󱉈"}.mdi-wechat:before{content:"󰘑"}.mdi-weight:before{content:"󰖡"}.mdi-weight-gram:before{content:"󰴿"}.mdi-weight-kilogram:before{content:"󰖢"}.mdi-weight-lifter:before{content:"󱅝"}.mdi-weight-pound:before{content:"󰦵"}.mdi-whatsapp:before{content:"󰖣"}.mdi-wheel-barrow:before{content:"󱓲"}.mdi-wheelchair:before{content:"󱪇"}.mdi-wheelchair-accessibility:before{content:"󰖤"}.mdi-whistle:before{content:"󰦶"}.mdi-whistle-outline:before{content:"󱊼"}.mdi-white-balance-auto:before{content:"󰖥"}.mdi-white-balance-incandescent:before{content:"󰖦"}.mdi-white-balance-iridescent:before{content:"󰖧"}.mdi-white-balance-sunny:before{content:"󰖨"}.mdi-widgets:before{content:"󰜬"}.mdi-widgets-outline:before{content:"󱍕"}.mdi-wifi:before{content:"󰖩"}.mdi-wifi-alert:before{content:"󱚵"}.mdi-wifi-arrow-down:before{content:"󱚶"}.mdi-wifi-arrow-left:before{content:"󱚷"}.mdi-wifi-arrow-left-right:before{content:"󱚸"}.mdi-wifi-arrow-right:before{content:"󱚹"}.mdi-wifi-arrow-up:before{content:"󱚺"}.mdi-wifi-arrow-up-down:before{content:"󱚻"}.mdi-wifi-cancel:before{content:"󱚼"}.mdi-wifi-check:before{content:"󱚽"}.mdi-wifi-cog:before{content:"󱚾"}.mdi-wifi-lock:before{content:"󱚿"}.mdi-wifi-lock-open:before{content:"󱛀"}.mdi-wifi-marker:before{content:"󱛁"}.mdi-wifi-minus:before{content:"󱛂"}.mdi-wifi-off:before{content:"󰖪"}.mdi-wifi-plus:before{content:"󱛃"}.mdi-wifi-refresh:before{content:"󱛄"}.mdi-wifi-remove:before{content:"󱛅"}.mdi-wifi-settings:before{content:"󱛆"}.mdi-wifi-star:before{content:"󰸋"}.mdi-wifi-strength-1:before{content:"󰤟"}.mdi-wifi-strength-1-alert:before{content:"󰤠"}.mdi-wifi-strength-1-lock:before{content:"󰤡"}.mdi-wifi-strength-1-lock-open:before{content:"󱛋"}.mdi-wifi-strength-2:before{content:"󰤢"}.mdi-wifi-strength-2-alert:before{content:"󰤣"}.mdi-wifi-strength-2-lock:before{content:"󰤤"}.mdi-wifi-strength-2-lock-open:before{content:"󱛌"}.mdi-wifi-strength-3:before{content:"󰤥"}.mdi-wifi-strength-3-alert:before{content:"󰤦"}.mdi-wifi-strength-3-lock:before{content:"󰤧"}.mdi-wifi-strength-3-lock-open:before{content:"󱛍"}.mdi-wifi-strength-4:before{content:"󰤨"}.mdi-wifi-strength-4-alert:before{content:"󰤩"}.mdi-wifi-strength-4-lock:before{content:"󰤪"}.mdi-wifi-strength-4-lock-open:before{content:"󱛎"}.mdi-wifi-strength-alert-outline:before{content:"󰤫"}.mdi-wifi-strength-lock-open-outline:before{content:"󱛏"}.mdi-wifi-strength-lock-outline:before{content:"󰤬"}.mdi-wifi-strength-off:before{content:"󰤭"}.mdi-wifi-strength-off-outline:before{content:"󰤮"}.mdi-wifi-strength-outline:before{content:"󰤯"}.mdi-wifi-sync:before{content:"󱛇"}.mdi-wikipedia:before{content:"󰖬"}.mdi-wind-power:before{content:"󱪈"}.mdi-wind-power-outline:before{content:"󱪉"}.mdi-wind-turbine:before{content:"󰶥"}.mdi-wind-turbine-alert:before{content:"󱦫"}.mdi-wind-turbine-check:before{content:"󱦬"}.mdi-window-close:before{content:"󰖭"}.mdi-window-closed:before{content:"󰖮"}.mdi-window-closed-variant:before{content:"󱇛"}.mdi-window-maximize:before{content:"󰖯"}.mdi-window-minimize:before{content:"󰖰"}.mdi-window-open:before{content:"󰖱"}.mdi-window-open-variant:before{content:"󱇜"}.mdi-window-restore:before{content:"󰖲"}.mdi-window-shutter:before{content:"󱄜"}.mdi-window-shutter-alert:before{content:"󱄝"}.mdi-window-shutter-auto:before{content:"󱮣"}.mdi-window-shutter-cog:before{content:"󱪊"}.mdi-window-shutter-open:before{content:"󱄞"}.mdi-window-shutter-settings:before{content:"󱪋"}.mdi-windsock:before{content:"󱗺"}.mdi-wiper:before{content:"󰫩"}.mdi-wiper-wash:before{content:"󰶦"}.mdi-wiper-wash-alert:before{content:"󱣟"}.mdi-wizard-hat:before{content:"󱑷"}.mdi-wordpress:before{content:"󰖴"}.mdi-wrap:before{content:"󰖶"}.mdi-wrap-disabled:before{content:"󰯟"}.mdi-wrench:before{content:"󰖷"}.mdi-wrench-check:before{content:"󱮏"}.mdi-wrench-check-outline:before{content:"󱮐"}.mdi-wrench-clock:before{content:"󱦣"}.mdi-wrench-clock-outline:before{content:"󱮓"}.mdi-wrench-cog:before{content:"󱮑"}.mdi-wrench-cog-outline:before{content:"󱮒"}.mdi-wrench-outline:before{content:"󰯠"}.mdi-xamarin:before{content:"󰡅"}.mdi-xml:before{content:"󰗀"}.mdi-xmpp:before{content:"󰟿"}.mdi-yahoo:before{content:"󰭏"}.mdi-yeast:before{content:"󰗁"}.mdi-yin-yang:before{content:"󰚀"}.mdi-yoga:before{content:"󱅼"}.mdi-youtube:before{content:"󰗃"}.mdi-youtube-gaming:before{content:"󰡈"}.mdi-youtube-studio:before{content:"󰡇"}.mdi-youtube-subscription:before{content:"󰵀"}.mdi-youtube-tv:before{content:"󰑈"}.mdi-yurt:before{content:"󱔖"}.mdi-z-wave:before{content:"󰫪"}.mdi-zend:before{content:"󰫫"}.mdi-zigbee:before{content:"󰵁"}.mdi-zip-box:before{content:"󰗄"}.mdi-zip-box-outline:before{content:"󰿺"}.mdi-zip-disk:before{content:"󰨣"}.mdi-zodiac-aquarius:before{content:"󰩽"}.mdi-zodiac-aries:before{content:"󰩾"}.mdi-zodiac-cancer:before{content:"󰩿"}.mdi-zodiac-capricorn:before{content:"󰪀"}.mdi-zodiac-gemini:before{content:"󰪁"}.mdi-zodiac-leo:before{content:"󰪂"}.mdi-zodiac-libra:before{content:"󰪃"}.mdi-zodiac-pisces:before{content:"󰪄"}.mdi-zodiac-sagittarius:before{content:"󰪅"}.mdi-zodiac-scorpio:before{content:"󰪆"}.mdi-zodiac-taurus:before{content:"󰪇"}.mdi-zodiac-virgo:before{content:"󰪈"}.mdi-blank:before{content:"";visibility:hidden}.mdi-18px.mdi-set,.mdi-18px.mdi:before{font-size:18px}.mdi-24px.mdi-set,.mdi-24px.mdi:before{font-size:24px}.mdi-36px.mdi-set,.mdi-36px.mdi:before{font-size:36px}.mdi-48px.mdi-set,.mdi-48px.mdi:before{font-size:48px}.mdi-dark:before{color:#0000008a}.mdi-dark.mdi-inactive:before{color:#00000042}.mdi-light:before{color:#fff}.mdi-light.mdi-inactive:before{color:#ffffff4d}.mdi-rotate-45:before{-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.mdi-rotate-90:before{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.mdi-rotate-135:before{-webkit-transform:rotate(135deg);-ms-transform:rotate(135deg);transform:rotate(135deg)}.mdi-rotate-180:before{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.mdi-rotate-225:before{-webkit-transform:rotate(225deg);-ms-transform:rotate(225deg);transform:rotate(225deg)}.mdi-rotate-270:before{-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.mdi-rotate-315:before{-webkit-transform:rotate(315deg);-ms-transform:rotate(315deg);transform:rotate(315deg)}.mdi-flip-h:before{-webkit-transform:scaleX(-1);transform:scaleX(-1);filter:FlipH;-ms-filter:"FlipH"}.mdi-flip-v:before{-webkit-transform:scaleY(-1);transform:scaleY(-1);filter:FlipV;-ms-filter:"FlipV"}.mdi-spin:before{-webkit-animation:mdi-spin 2s infinite linear;animation:mdi-spin 2s infinite linear}@-webkit-keyframes mdi-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes mdi-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes v-shake{59%{margin-left:0}60%,80%{margin-left:2px}70%,90%{margin-left:-2px}}.bg-black{background-color:#000!important;color:#fff!important}.bg-white{background-color:#fff!important;color:#000!important}.bg-transparent{background-color:transparent!important;color:currentColor!important}.bg-red{background-color:#f44336!important;color:#fff!important}.bg-red-lighten-5{background-color:#ffebee!important;color:#000!important}.bg-red-lighten-4{background-color:#ffcdd2!important;color:#000!important}.bg-red-lighten-3{background-color:#ef9a9a!important;color:#000!important}.bg-red-lighten-2{background-color:#e57373!important;color:#fff!important}.bg-red-lighten-1{background-color:#ef5350!important;color:#fff!important}.bg-red-darken-1{background-color:#e53935!important;color:#fff!important}.bg-red-darken-2{background-color:#d32f2f!important;color:#fff!important}.bg-red-darken-3{background-color:#c62828!important;color:#fff!important}.bg-red-darken-4{background-color:#b71c1c!important;color:#fff!important}.bg-red-accent-1{background-color:#ff8a80!important;color:#000!important}.bg-red-accent-2{background-color:#ff5252!important;color:#fff!important}.bg-red-accent-3{background-color:#ff1744!important;color:#fff!important}.bg-red-accent-4{background-color:#d50000!important;color:#fff!important}.bg-pink{background-color:#e91e63!important;color:#fff!important}.bg-pink-lighten-5{background-color:#fce4ec!important;color:#000!important}.bg-pink-lighten-4{background-color:#f8bbd0!important;color:#000!important}.bg-pink-lighten-3{background-color:#f48fb1!important;color:#000!important}.bg-pink-lighten-2{background-color:#f06292!important;color:#fff!important}.bg-pink-lighten-1{background-color:#ec407a!important;color:#fff!important}.bg-pink-darken-1{background-color:#d81b60!important;color:#fff!important}.bg-pink-darken-2{background-color:#c2185b!important;color:#fff!important}.bg-pink-darken-3{background-color:#ad1457!important;color:#fff!important}.bg-pink-darken-4{background-color:#880e4f!important;color:#fff!important}.bg-pink-accent-1{background-color:#ff80ab!important;color:#fff!important}.bg-pink-accent-2{background-color:#ff4081!important;color:#fff!important}.bg-pink-accent-3{background-color:#f50057!important;color:#fff!important}.bg-pink-accent-4{background-color:#c51162!important;color:#fff!important}.bg-purple{background-color:#9c27b0!important;color:#fff!important}.bg-purple-lighten-5{background-color:#f3e5f5!important;color:#000!important}.bg-purple-lighten-4{background-color:#e1bee7!important;color:#000!important}.bg-purple-lighten-3{background-color:#ce93d8!important;color:#fff!important}.bg-purple-lighten-2{background-color:#ba68c8!important;color:#fff!important}.bg-purple-lighten-1{background-color:#ab47bc!important;color:#fff!important}.bg-purple-darken-1{background-color:#8e24aa!important;color:#fff!important}.bg-purple-darken-2{background-color:#7b1fa2!important;color:#fff!important}.bg-purple-darken-3{background-color:#6a1b9a!important;color:#fff!important}.bg-purple-darken-4{background-color:#4a148c!important;color:#fff!important}.bg-purple-accent-1{background-color:#ea80fc!important;color:#fff!important}.bg-purple-accent-2{background-color:#e040fb!important;color:#fff!important}.bg-purple-accent-3{background-color:#d500f9!important;color:#fff!important}.bg-purple-accent-4{background-color:#a0f!important;color:#fff!important}.bg-deep-purple{background-color:#673ab7!important;color:#fff!important}.bg-deep-purple-lighten-5{background-color:#ede7f6!important;color:#000!important}.bg-deep-purple-lighten-4{background-color:#d1c4e9!important;color:#000!important}.bg-deep-purple-lighten-3{background-color:#b39ddb!important;color:#fff!important}.bg-deep-purple-lighten-2{background-color:#9575cd!important;color:#fff!important}.bg-deep-purple-lighten-1{background-color:#7e57c2!important;color:#fff!important}.bg-deep-purple-darken-1{background-color:#5e35b1!important;color:#fff!important}.bg-deep-purple-darken-2{background-color:#512da8!important;color:#fff!important}.bg-deep-purple-darken-3{background-color:#4527a0!important;color:#fff!important}.bg-deep-purple-darken-4{background-color:#311b92!important;color:#fff!important}.bg-deep-purple-accent-1{background-color:#b388ff!important;color:#fff!important}.bg-deep-purple-accent-2{background-color:#7c4dff!important;color:#fff!important}.bg-deep-purple-accent-3{background-color:#651fff!important;color:#fff!important}.bg-deep-purple-accent-4{background-color:#6200ea!important;color:#fff!important}.bg-indigo{background-color:#3f51b5!important;color:#fff!important}.bg-indigo-lighten-5{background-color:#e8eaf6!important;color:#000!important}.bg-indigo-lighten-4{background-color:#c5cae9!important;color:#000!important}.bg-indigo-lighten-3{background-color:#9fa8da!important;color:#fff!important}.bg-indigo-lighten-2{background-color:#7986cb!important;color:#fff!important}.bg-indigo-lighten-1{background-color:#5c6bc0!important;color:#fff!important}.bg-indigo-darken-1{background-color:#3949ab!important;color:#fff!important}.bg-indigo-darken-2{background-color:#303f9f!important;color:#fff!important}.bg-indigo-darken-3{background-color:#283593!important;color:#fff!important}.bg-indigo-darken-4{background-color:#1a237e!important;color:#fff!important}.bg-indigo-accent-1{background-color:#8c9eff!important;color:#fff!important}.bg-indigo-accent-2{background-color:#536dfe!important;color:#fff!important}.bg-indigo-accent-3{background-color:#3d5afe!important;color:#fff!important}.bg-indigo-accent-4{background-color:#304ffe!important;color:#fff!important}.bg-blue{background-color:#2196f3!important;color:#fff!important}.bg-blue-lighten-5{background-color:#e3f2fd!important;color:#000!important}.bg-blue-lighten-4{background-color:#bbdefb!important;color:#000!important}.bg-blue-lighten-3{background-color:#90caf9!important;color:#000!important}.bg-blue-lighten-2{background-color:#64b5f6!important;color:#000!important}.bg-blue-lighten-1{background-color:#42a5f5!important;color:#fff!important}.bg-blue-darken-1{background-color:#1e88e5!important;color:#fff!important}.bg-blue-darken-2{background-color:#1976d2!important;color:#fff!important}.bg-blue-darken-3{background-color:#1565c0!important;color:#fff!important}.bg-blue-darken-4{background-color:#0d47a1!important;color:#fff!important}.bg-blue-accent-1{background-color:#82b1ff!important;color:#000!important}.bg-blue-accent-2{background-color:#448aff!important;color:#fff!important}.bg-blue-accent-3{background-color:#2979ff!important;color:#fff!important}.bg-blue-accent-4{background-color:#2962ff!important;color:#fff!important}.bg-light-blue{background-color:#03a9f4!important;color:#fff!important}.bg-light-blue-lighten-5{background-color:#e1f5fe!important;color:#000!important}.bg-light-blue-lighten-4{background-color:#b3e5fc!important;color:#000!important}.bg-light-blue-lighten-3{background-color:#81d4fa!important;color:#000!important}.bg-light-blue-lighten-2{background-color:#4fc3f7!important;color:#000!important}.bg-light-blue-lighten-1{background-color:#29b6f6!important;color:#000!important}.bg-light-blue-darken-1{background-color:#039be5!important;color:#fff!important}.bg-light-blue-darken-2{background-color:#0288d1!important;color:#fff!important}.bg-light-blue-darken-3{background-color:#0277bd!important;color:#fff!important}.bg-light-blue-darken-4{background-color:#01579b!important;color:#fff!important}.bg-light-blue-accent-1{background-color:#80d8ff!important;color:#000!important}.bg-light-blue-accent-2{background-color:#40c4ff!important;color:#000!important}.bg-light-blue-accent-3{background-color:#00b0ff!important;color:#fff!important}.bg-light-blue-accent-4{background-color:#0091ea!important;color:#fff!important}.bg-cyan{background-color:#00bcd4!important;color:#000!important}.bg-cyan-lighten-5{background-color:#e0f7fa!important;color:#000!important}.bg-cyan-lighten-4{background-color:#b2ebf2!important;color:#000!important}.bg-cyan-lighten-3{background-color:#80deea!important;color:#000!important}.bg-cyan-lighten-2{background-color:#4dd0e1!important;color:#000!important}.bg-cyan-lighten-1{background-color:#26c6da!important;color:#000!important}.bg-cyan-darken-1{background-color:#00acc1!important;color:#fff!important}.bg-cyan-darken-2{background-color:#0097a7!important;color:#fff!important}.bg-cyan-darken-3{background-color:#00838f!important;color:#fff!important}.bg-cyan-darken-4{background-color:#006064!important;color:#fff!important}.bg-cyan-accent-1{background-color:#84ffff!important;color:#000!important}.bg-cyan-accent-2{background-color:#18ffff!important;color:#000!important}.bg-cyan-accent-3{background-color:#00e5ff!important;color:#000!important}.bg-cyan-accent-4{background-color:#00b8d4!important;color:#fff!important}.bg-teal{background-color:#009688!important;color:#fff!important}.bg-teal-lighten-5{background-color:#e0f2f1!important;color:#000!important}.bg-teal-lighten-4{background-color:#b2dfdb!important;color:#000!important}.bg-teal-lighten-3{background-color:#80cbc4!important;color:#000!important}.bg-teal-lighten-2{background-color:#4db6ac!important;color:#fff!important}.bg-teal-lighten-1{background-color:#26a69a!important;color:#fff!important}.bg-teal-darken-1{background-color:#00897b!important;color:#fff!important}.bg-teal-darken-2{background-color:#00796b!important;color:#fff!important}.bg-teal-darken-3{background-color:#00695c!important;color:#fff!important}.bg-teal-darken-4{background-color:#004d40!important;color:#fff!important}.bg-teal-accent-1{background-color:#a7ffeb!important;color:#000!important}.bg-teal-accent-2{background-color:#64ffda!important;color:#000!important}.bg-teal-accent-3{background-color:#1de9b6!important;color:#000!important}.bg-teal-accent-4{background-color:#00bfa5!important;color:#fff!important}.bg-green{background-color:#4caf50!important;color:#fff!important}.bg-green-lighten-5{background-color:#e8f5e9!important;color:#000!important}.bg-green-lighten-4{background-color:#c8e6c9!important;color:#000!important}.bg-green-lighten-3{background-color:#a5d6a7!important;color:#000!important}.bg-green-lighten-2{background-color:#81c784!important;color:#000!important}.bg-green-lighten-1{background-color:#66bb6a!important;color:#fff!important}.bg-green-darken-1{background-color:#43a047!important;color:#fff!important}.bg-green-darken-2{background-color:#388e3c!important;color:#fff!important}.bg-green-darken-3{background-color:#2e7d32!important;color:#fff!important}.bg-green-darken-4{background-color:#1b5e20!important;color:#fff!important}.bg-green-accent-1{background-color:#b9f6ca!important;color:#000!important}.bg-green-accent-2{background-color:#69f0ae!important;color:#000!important}.bg-green-accent-3{background-color:#00e676!important;color:#000!important}.bg-green-accent-4{background-color:#00c853!important;color:#000!important}.bg-light-green{background-color:#8bc34a!important;color:#000!important}.bg-light-green-lighten-5{background-color:#f1f8e9!important;color:#000!important}.bg-light-green-lighten-4{background-color:#dcedc8!important;color:#000!important}.bg-light-green-lighten-3{background-color:#c5e1a5!important;color:#000!important}.bg-light-green-lighten-2{background-color:#aed581!important;color:#000!important}.bg-light-green-lighten-1{background-color:#9ccc65!important;color:#000!important}.bg-light-green-darken-1{background-color:#7cb342!important;color:#fff!important}.bg-light-green-darken-2{background-color:#689f38!important;color:#fff!important}.bg-light-green-darken-3{background-color:#558b2f!important;color:#fff!important}.bg-light-green-darken-4{background-color:#33691e!important;color:#fff!important}.bg-light-green-accent-1{background-color:#ccff90!important;color:#000!important}.bg-light-green-accent-2{background-color:#b2ff59!important;color:#000!important}.bg-light-green-accent-3{background-color:#76ff03!important;color:#000!important}.bg-light-green-accent-4{background-color:#64dd17!important;color:#000!important}.bg-lime{background-color:#cddc39!important;color:#000!important}.bg-lime-lighten-5{background-color:#f9fbe7!important;color:#000!important}.bg-lime-lighten-4{background-color:#f0f4c3!important;color:#000!important}.bg-lime-lighten-3{background-color:#e6ee9c!important;color:#000!important}.bg-lime-lighten-2{background-color:#dce775!important;color:#000!important}.bg-lime-lighten-1{background-color:#d4e157!important;color:#000!important}.bg-lime-darken-1{background-color:#c0ca33!important;color:#000!important}.bg-lime-darken-2{background-color:#afb42b!important;color:#000!important}.bg-lime-darken-3{background-color:#9e9d24!important;color:#fff!important}.bg-lime-darken-4{background-color:#827717!important;color:#fff!important}.bg-lime-accent-1{background-color:#f4ff81!important;color:#000!important}.bg-lime-accent-2{background-color:#eeff41!important;color:#000!important}.bg-lime-accent-3{background-color:#c6ff00!important;color:#000!important}.bg-lime-accent-4{background-color:#aeea00!important;color:#000!important}.bg-yellow{background-color:#ffeb3b!important;color:#000!important}.bg-yellow-lighten-5{background-color:#fffde7!important;color:#000!important}.bg-yellow-lighten-4{background-color:#fff9c4!important;color:#000!important}.bg-yellow-lighten-3{background-color:#fff59d!important;color:#000!important}.bg-yellow-lighten-2{background-color:#fff176!important;color:#000!important}.bg-yellow-lighten-1{background-color:#ffee58!important;color:#000!important}.bg-yellow-darken-1{background-color:#fdd835!important;color:#000!important}.bg-yellow-darken-2{background-color:#fbc02d!important;color:#000!important}.bg-yellow-darken-3{background-color:#f9a825!important;color:#000!important}.bg-yellow-darken-4{background-color:#f57f17!important;color:#fff!important}.bg-yellow-accent-1{background-color:#ffff8d!important;color:#000!important}.bg-yellow-accent-2{background-color:#ff0!important;color:#000!important}.bg-yellow-accent-3{background-color:#ffea00!important;color:#000!important}.bg-yellow-accent-4{background-color:#ffd600!important;color:#000!important}.bg-amber{background-color:#ffc107!important;color:#000!important}.bg-amber-lighten-5{background-color:#fff8e1!important;color:#000!important}.bg-amber-lighten-4{background-color:#ffecb3!important;color:#000!important}.bg-amber-lighten-3{background-color:#ffe082!important;color:#000!important}.bg-amber-lighten-2{background-color:#ffd54f!important;color:#000!important}.bg-amber-lighten-1{background-color:#ffca28!important;color:#000!important}.bg-amber-darken-1{background-color:#ffb300!important;color:#000!important}.bg-amber-darken-2{background-color:#ffa000!important;color:#000!important}.bg-amber-darken-3{background-color:#ff8f00!important;color:#000!important}.bg-amber-darken-4{background-color:#ff6f00!important;color:#fff!important}.bg-amber-accent-1{background-color:#ffe57f!important;color:#000!important}.bg-amber-accent-2{background-color:#ffd740!important;color:#000!important}.bg-amber-accent-3{background-color:#ffc400!important;color:#000!important}.bg-amber-accent-4{background-color:#ffab00!important;color:#000!important}.bg-orange{background-color:#ff9800!important;color:#000!important}.bg-orange-lighten-5{background-color:#fff3e0!important;color:#000!important}.bg-orange-lighten-4{background-color:#ffe0b2!important;color:#000!important}.bg-orange-lighten-3{background-color:#ffcc80!important;color:#000!important}.bg-orange-lighten-2{background-color:#ffb74d!important;color:#000!important}.bg-orange-lighten-1{background-color:#ffa726!important;color:#000!important}.bg-orange-darken-1{background-color:#fb8c00!important;color:#fff!important}.bg-orange-darken-2{background-color:#f57c00!important;color:#fff!important}.bg-orange-darken-3{background-color:#ef6c00!important;color:#fff!important}.bg-orange-darken-4{background-color:#e65100!important;color:#fff!important}.bg-orange-accent-1{background-color:#ffd180!important;color:#000!important}.bg-orange-accent-2{background-color:#ffab40!important;color:#000!important}.bg-orange-accent-3{background-color:#ff9100!important;color:#000!important}.bg-orange-accent-4{background-color:#ff6d00!important;color:#fff!important}.bg-deep-orange{background-color:#ff5722!important;color:#fff!important}.bg-deep-orange-lighten-5{background-color:#fbe9e7!important;color:#000!important}.bg-deep-orange-lighten-4{background-color:#ffccbc!important;color:#000!important}.bg-deep-orange-lighten-3{background-color:#ffab91!important;color:#000!important}.bg-deep-orange-lighten-2{background-color:#ff8a65!important;color:#000!important}.bg-deep-orange-lighten-1{background-color:#ff7043!important;color:#fff!important}.bg-deep-orange-darken-1{background-color:#f4511e!important;color:#fff!important}.bg-deep-orange-darken-2{background-color:#e64a19!important;color:#fff!important}.bg-deep-orange-darken-3{background-color:#d84315!important;color:#fff!important}.bg-deep-orange-darken-4{background-color:#bf360c!important;color:#fff!important}.bg-deep-orange-accent-1{background-color:#ff9e80!important;color:#000!important}.bg-deep-orange-accent-2{background-color:#ff6e40!important;color:#fff!important}.bg-deep-orange-accent-3{background-color:#ff3d00!important;color:#fff!important}.bg-deep-orange-accent-4{background-color:#dd2c00!important;color:#fff!important}.bg-brown{background-color:#795548!important;color:#fff!important}.bg-brown-lighten-5{background-color:#efebe9!important;color:#000!important}.bg-brown-lighten-4{background-color:#d7ccc8!important;color:#000!important}.bg-brown-lighten-3{background-color:#bcaaa4!important;color:#000!important}.bg-brown-lighten-2{background-color:#a1887f!important;color:#fff!important}.bg-brown-lighten-1{background-color:#8d6e63!important;color:#fff!important}.bg-brown-darken-1{background-color:#6d4c41!important;color:#fff!important}.bg-brown-darken-2{background-color:#5d4037!important;color:#fff!important}.bg-brown-darken-3{background-color:#4e342e!important;color:#fff!important}.bg-brown-darken-4{background-color:#3e2723!important;color:#fff!important}.bg-blue-grey{background-color:#607d8b!important;color:#fff!important}.bg-blue-grey-lighten-5{background-color:#eceff1!important;color:#000!important}.bg-blue-grey-lighten-4{background-color:#cfd8dc!important;color:#000!important}.bg-blue-grey-lighten-3{background-color:#b0bec5!important;color:#000!important}.bg-blue-grey-lighten-2{background-color:#90a4ae!important;color:#fff!important}.bg-blue-grey-lighten-1{background-color:#78909c!important;color:#fff!important}.bg-blue-grey-darken-1{background-color:#546e7a!important;color:#fff!important}.bg-blue-grey-darken-2{background-color:#455a64!important;color:#fff!important}.bg-blue-grey-darken-3{background-color:#37474f!important;color:#fff!important}.bg-blue-grey-darken-4{background-color:#263238!important;color:#fff!important}.bg-grey{background-color:#9e9e9e!important;color:#fff!important}.bg-grey-lighten-5{background-color:#fafafa!important;color:#000!important}.bg-grey-lighten-4{background-color:#f5f5f5!important;color:#000!important}.bg-grey-lighten-3{background-color:#eee!important;color:#000!important}.bg-grey-lighten-2{background-color:#e0e0e0!important;color:#000!important}.bg-grey-lighten-1{background-color:#bdbdbd!important;color:#000!important}.bg-grey-darken-1{background-color:#757575!important;color:#fff!important}.bg-grey-darken-2{background-color:#616161!important;color:#fff!important}.bg-grey-darken-3{background-color:#424242!important;color:#fff!important}.bg-grey-darken-4{background-color:#212121!important;color:#fff!important}.bg-shades-black{background-color:#000!important;color:#fff!important}.bg-shades-white{background-color:#fff!important;color:#000!important}.bg-shades-transparent{background-color:transparent!important;color:currentColor!important}.text-black{color:#000!important}.text-white{color:#fff!important}.text-transparent{color:transparent!important}.text-red{color:#f44336!important}.text-red-lighten-5{color:#ffebee!important}.text-red-lighten-4{color:#ffcdd2!important}.text-red-lighten-3{color:#ef9a9a!important}.text-red-lighten-2{color:#e57373!important}.text-red-lighten-1{color:#ef5350!important}.text-red-darken-1{color:#e53935!important}.text-red-darken-2{color:#d32f2f!important}.text-red-darken-3{color:#c62828!important}.text-red-darken-4{color:#b71c1c!important}.text-red-accent-1{color:#ff8a80!important}.text-red-accent-2{color:#ff5252!important}.text-red-accent-3{color:#ff1744!important}.text-red-accent-4{color:#d50000!important}.text-pink{color:#e91e63!important}.text-pink-lighten-5{color:#fce4ec!important}.text-pink-lighten-4{color:#f8bbd0!important}.text-pink-lighten-3{color:#f48fb1!important}.text-pink-lighten-2{color:#f06292!important}.text-pink-lighten-1{color:#ec407a!important}.text-pink-darken-1{color:#d81b60!important}.text-pink-darken-2{color:#c2185b!important}.text-pink-darken-3{color:#ad1457!important}.text-pink-darken-4{color:#880e4f!important}.text-pink-accent-1{color:#ff80ab!important}.text-pink-accent-2{color:#ff4081!important}.text-pink-accent-3{color:#f50057!important}.text-pink-accent-4{color:#c51162!important}.text-purple{color:#9c27b0!important}.text-purple-lighten-5{color:#f3e5f5!important}.text-purple-lighten-4{color:#e1bee7!important}.text-purple-lighten-3{color:#ce93d8!important}.text-purple-lighten-2{color:#ba68c8!important}.text-purple-lighten-1{color:#ab47bc!important}.text-purple-darken-1{color:#8e24aa!important}.text-purple-darken-2{color:#7b1fa2!important}.text-purple-darken-3{color:#6a1b9a!important}.text-purple-darken-4{color:#4a148c!important}.text-purple-accent-1{color:#ea80fc!important}.text-purple-accent-2{color:#e040fb!important}.text-purple-accent-3{color:#d500f9!important}.text-purple-accent-4{color:#a0f!important}.text-deep-purple{color:#673ab7!important}.text-deep-purple-lighten-5{color:#ede7f6!important}.text-deep-purple-lighten-4{color:#d1c4e9!important}.text-deep-purple-lighten-3{color:#b39ddb!important}.text-deep-purple-lighten-2{color:#9575cd!important}.text-deep-purple-lighten-1{color:#7e57c2!important}.text-deep-purple-darken-1{color:#5e35b1!important}.text-deep-purple-darken-2{color:#512da8!important}.text-deep-purple-darken-3{color:#4527a0!important}.text-deep-purple-darken-4{color:#311b92!important}.text-deep-purple-accent-1{color:#b388ff!important}.text-deep-purple-accent-2{color:#7c4dff!important}.text-deep-purple-accent-3{color:#651fff!important}.text-deep-purple-accent-4{color:#6200ea!important}.text-indigo{color:#3f51b5!important}.text-indigo-lighten-5{color:#e8eaf6!important}.text-indigo-lighten-4{color:#c5cae9!important}.text-indigo-lighten-3{color:#9fa8da!important}.text-indigo-lighten-2{color:#7986cb!important}.text-indigo-lighten-1{color:#5c6bc0!important}.text-indigo-darken-1{color:#3949ab!important}.text-indigo-darken-2{color:#303f9f!important}.text-indigo-darken-3{color:#283593!important}.text-indigo-darken-4{color:#1a237e!important}.text-indigo-accent-1{color:#8c9eff!important}.text-indigo-accent-2{color:#536dfe!important}.text-indigo-accent-3{color:#3d5afe!important}.text-indigo-accent-4{color:#304ffe!important}.text-blue{color:#2196f3!important}.text-blue-lighten-5{color:#e3f2fd!important}.text-blue-lighten-4{color:#bbdefb!important}.text-blue-lighten-3{color:#90caf9!important}.text-blue-lighten-2{color:#64b5f6!important}.text-blue-lighten-1{color:#42a5f5!important}.text-blue-darken-1{color:#1e88e5!important}.text-blue-darken-2{color:#1976d2!important}.text-blue-darken-3{color:#1565c0!important}.text-blue-darken-4{color:#0d47a1!important}.text-blue-accent-1{color:#82b1ff!important}.text-blue-accent-2{color:#448aff!important}.text-blue-accent-3{color:#2979ff!important}.text-blue-accent-4{color:#2962ff!important}.text-light-blue{color:#03a9f4!important}.text-light-blue-lighten-5{color:#e1f5fe!important}.text-light-blue-lighten-4{color:#b3e5fc!important}.text-light-blue-lighten-3{color:#81d4fa!important}.text-light-blue-lighten-2{color:#4fc3f7!important}.text-light-blue-lighten-1{color:#29b6f6!important}.text-light-blue-darken-1{color:#039be5!important}.text-light-blue-darken-2{color:#0288d1!important}.text-light-blue-darken-3{color:#0277bd!important}.text-light-blue-darken-4{color:#01579b!important}.text-light-blue-accent-1{color:#80d8ff!important}.text-light-blue-accent-2{color:#40c4ff!important}.text-light-blue-accent-3{color:#00b0ff!important}.text-light-blue-accent-4{color:#0091ea!important}.text-cyan{color:#00bcd4!important}.text-cyan-lighten-5{color:#e0f7fa!important}.text-cyan-lighten-4{color:#b2ebf2!important}.text-cyan-lighten-3{color:#80deea!important}.text-cyan-lighten-2{color:#4dd0e1!important}.text-cyan-lighten-1{color:#26c6da!important}.text-cyan-darken-1{color:#00acc1!important}.text-cyan-darken-2{color:#0097a7!important}.text-cyan-darken-3{color:#00838f!important}.text-cyan-darken-4{color:#006064!important}.text-cyan-accent-1{color:#84ffff!important}.text-cyan-accent-2{color:#18ffff!important}.text-cyan-accent-3{color:#00e5ff!important}.text-cyan-accent-4{color:#00b8d4!important}.text-teal{color:#009688!important}.text-teal-lighten-5{color:#e0f2f1!important}.text-teal-lighten-4{color:#b2dfdb!important}.text-teal-lighten-3{color:#80cbc4!important}.text-teal-lighten-2{color:#4db6ac!important}.text-teal-lighten-1{color:#26a69a!important}.text-teal-darken-1{color:#00897b!important}.text-teal-darken-2{color:#00796b!important}.text-teal-darken-3{color:#00695c!important}.text-teal-darken-4{color:#004d40!important}.text-teal-accent-1{color:#a7ffeb!important}.text-teal-accent-2{color:#64ffda!important}.text-teal-accent-3{color:#1de9b6!important}.text-teal-accent-4{color:#00bfa5!important}.text-green{color:#4caf50!important}.text-green-lighten-5{color:#e8f5e9!important}.text-green-lighten-4{color:#c8e6c9!important}.text-green-lighten-3{color:#a5d6a7!important}.text-green-lighten-2{color:#81c784!important}.text-green-lighten-1{color:#66bb6a!important}.text-green-darken-1{color:#43a047!important}.text-green-darken-2{color:#388e3c!important}.text-green-darken-3{color:#2e7d32!important}.text-green-darken-4{color:#1b5e20!important}.text-green-accent-1{color:#b9f6ca!important}.text-green-accent-2{color:#69f0ae!important}.text-green-accent-3{color:#00e676!important}.text-green-accent-4{color:#00c853!important}.text-light-green{color:#8bc34a!important}.text-light-green-lighten-5{color:#f1f8e9!important}.text-light-green-lighten-4{color:#dcedc8!important}.text-light-green-lighten-3{color:#c5e1a5!important}.text-light-green-lighten-2{color:#aed581!important}.text-light-green-lighten-1{color:#9ccc65!important}.text-light-green-darken-1{color:#7cb342!important}.text-light-green-darken-2{color:#689f38!important}.text-light-green-darken-3{color:#558b2f!important}.text-light-green-darken-4{color:#33691e!important}.text-light-green-accent-1{color:#ccff90!important}.text-light-green-accent-2{color:#b2ff59!important}.text-light-green-accent-3{color:#76ff03!important}.text-light-green-accent-4{color:#64dd17!important}.text-lime{color:#cddc39!important}.text-lime-lighten-5{color:#f9fbe7!important}.text-lime-lighten-4{color:#f0f4c3!important}.text-lime-lighten-3{color:#e6ee9c!important}.text-lime-lighten-2{color:#dce775!important}.text-lime-lighten-1{color:#d4e157!important}.text-lime-darken-1{color:#c0ca33!important}.text-lime-darken-2{color:#afb42b!important}.text-lime-darken-3{color:#9e9d24!important}.text-lime-darken-4{color:#827717!important}.text-lime-accent-1{color:#f4ff81!important}.text-lime-accent-2{color:#eeff41!important}.text-lime-accent-3{color:#c6ff00!important}.text-lime-accent-4{color:#aeea00!important}.text-yellow{color:#ffeb3b!important}.text-yellow-lighten-5{color:#fffde7!important}.text-yellow-lighten-4{color:#fff9c4!important}.text-yellow-lighten-3{color:#fff59d!important}.text-yellow-lighten-2{color:#fff176!important}.text-yellow-lighten-1{color:#ffee58!important}.text-yellow-darken-1{color:#fdd835!important}.text-yellow-darken-2{color:#fbc02d!important}.text-yellow-darken-3{color:#f9a825!important}.text-yellow-darken-4{color:#f57f17!important}.text-yellow-accent-1{color:#ffff8d!important}.text-yellow-accent-2{color:#ff0!important}.text-yellow-accent-3{color:#ffea00!important}.text-yellow-accent-4{color:#ffd600!important}.text-amber{color:#ffc107!important}.text-amber-lighten-5{color:#fff8e1!important}.text-amber-lighten-4{color:#ffecb3!important}.text-amber-lighten-3{color:#ffe082!important}.text-amber-lighten-2{color:#ffd54f!important}.text-amber-lighten-1{color:#ffca28!important}.text-amber-darken-1{color:#ffb300!important}.text-amber-darken-2{color:#ffa000!important}.text-amber-darken-3{color:#ff8f00!important}.text-amber-darken-4{color:#ff6f00!important}.text-amber-accent-1{color:#ffe57f!important}.text-amber-accent-2{color:#ffd740!important}.text-amber-accent-3{color:#ffc400!important}.text-amber-accent-4{color:#ffab00!important}.text-orange{color:#ff9800!important}.text-orange-lighten-5{color:#fff3e0!important}.text-orange-lighten-4{color:#ffe0b2!important}.text-orange-lighten-3{color:#ffcc80!important}.text-orange-lighten-2{color:#ffb74d!important}.text-orange-lighten-1{color:#ffa726!important}.text-orange-darken-1{color:#fb8c00!important}.text-orange-darken-2{color:#f57c00!important}.text-orange-darken-3{color:#ef6c00!important}.text-orange-darken-4{color:#e65100!important}.text-orange-accent-1{color:#ffd180!important}.text-orange-accent-2{color:#ffab40!important}.text-orange-accent-3{color:#ff9100!important}.text-orange-accent-4{color:#ff6d00!important}.text-deep-orange{color:#ff5722!important}.text-deep-orange-lighten-5{color:#fbe9e7!important}.text-deep-orange-lighten-4{color:#ffccbc!important}.text-deep-orange-lighten-3{color:#ffab91!important}.text-deep-orange-lighten-2{color:#ff8a65!important}.text-deep-orange-lighten-1{color:#ff7043!important}.text-deep-orange-darken-1{color:#f4511e!important}.text-deep-orange-darken-2{color:#e64a19!important}.text-deep-orange-darken-3{color:#d84315!important}.text-deep-orange-darken-4{color:#bf360c!important}.text-deep-orange-accent-1{color:#ff9e80!important}.text-deep-orange-accent-2{color:#ff6e40!important}.text-deep-orange-accent-3{color:#ff3d00!important}.text-deep-orange-accent-4{color:#dd2c00!important}.text-brown{color:#795548!important}.text-brown-lighten-5{color:#efebe9!important}.text-brown-lighten-4{color:#d7ccc8!important}.text-brown-lighten-3{color:#bcaaa4!important}.text-brown-lighten-2{color:#a1887f!important}.text-brown-lighten-1{color:#8d6e63!important}.text-brown-darken-1{color:#6d4c41!important}.text-brown-darken-2{color:#5d4037!important}.text-brown-darken-3{color:#4e342e!important}.text-brown-darken-4{color:#3e2723!important}.text-blue-grey{color:#607d8b!important}.text-blue-grey-lighten-5{color:#eceff1!important}.text-blue-grey-lighten-4{color:#cfd8dc!important}.text-blue-grey-lighten-3{color:#b0bec5!important}.text-blue-grey-lighten-2{color:#90a4ae!important}.text-blue-grey-lighten-1{color:#78909c!important}.text-blue-grey-darken-1{color:#546e7a!important}.text-blue-grey-darken-2{color:#455a64!important}.text-blue-grey-darken-3{color:#37474f!important}.text-blue-grey-darken-4{color:#263238!important}.text-grey{color:#9e9e9e!important}.text-grey-lighten-5{color:#fafafa!important}.text-grey-lighten-4{color:#f5f5f5!important}.text-grey-lighten-3{color:#eee!important}.text-grey-lighten-2{color:#e0e0e0!important}.text-grey-lighten-1{color:#bdbdbd!important}.text-grey-darken-1{color:#757575!important}.text-grey-darken-2{color:#616161!important}.text-grey-darken-3{color:#424242!important}.text-grey-darken-4{color:#212121!important}.text-shades-black{color:#000!important}.text-shades-white{color:#fff!important}.text-shades-transparent{color:transparent!important}/*! * ress.css • v2.0.4 * MIT License * github.com/filipelinhares/ress diff --git a/js-component/dist/index.html b/js-component/dist/index.html index db83a12c..972e368f 100644 --- a/js-component/dist/index.html +++ b/js-component/dist/index.html @@ -5,8 +5,8 @@ openms-streamlit-vue-component - - + +
diff --git a/openms-streamlit-vue-component b/openms-streamlit-vue-component index 9245874f..1a1b43ba 160000 --- a/openms-streamlit-vue-component +++ b/openms-streamlit-vue-component @@ -1 +1 @@ -Subproject commit 9245874feed9f2044b09a6023202adde20619eab +Subproject commit 1a1b43ba945dfdc2188a2b81d52a4c480f584bbb From d724d0223832b5763f090f9cedbbea52c70ecfad Mon Sep 17 00:00:00 2001 From: Tom David Mueller Date: Sun, 17 Aug 2025 08:25:52 +0200 Subject: [PATCH 21/21] rebump vue --- js-component/dist/assets/index-1a66aa50.js | 4027 ------------------- js-component/dist/assets/index-36755211.css | 9 - js-component/dist/assets/index-5ed08cb5.js | 241 +- js-component/dist/assets/index-955eea1e.css | 4 - js-component/dist/index.html | 5 - 5 files changed, 1 insertion(+), 4285 deletions(-) delete mode 100644 js-component/dist/assets/index-1a66aa50.js delete mode 100644 js-component/dist/assets/index-36755211.css diff --git a/js-component/dist/assets/index-1a66aa50.js b/js-component/dist/assets/index-1a66aa50.js deleted file mode 100644 index 5cfd2cfd..00000000 --- a/js-component/dist/assets/index-1a66aa50.js +++ /dev/null @@ -1,4027 +0,0 @@ -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js -(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const D of document.querySelectorAll('link[rel="modulepreload"]'))S(D);new MutationObserver(D=>{for(const T of D)if(T.type==="childList")for(const p of T.addedNodes)p.tagName==="LINK"&&p.rel==="modulepreload"&&S(p)}).observe(document,{childList:!0,subtree:!0});function r(D){const T={};return D.integrity&&(T.integrity=D.integrity),D.referrerPolicy&&(T.referrerPolicy=D.referrerPolicy),D.crossOrigin==="use-credentials"?T.credentials="include":D.crossOrigin==="anonymous"?T.credentials="omit":T.credentials="same-origin",T}function S(D){if(D.ep)return;D.ep=!0;const T=r(D);fetch(D.href,T)}})();function zx(n,e){const r=Object.create(null),S=n.split(",");for(let D=0;D!!r[D.toLowerCase()]:D=>!!r[D]}function zs(n){if(gi(n)){const e={};for(let r=0;r{if(r){const S=r.split(a8);S.length>1&&(e[S[0].trim()]=S[1].trim())}}),e}function Ju(n){let e="";if(Po(n))e=n;else if(gi(n))for(let r=0;rPo(n)?n:n==null?"":gi(n)||lo(n)&&(n.toString===bT||!Fi(n.toString))?JSON.stringify(n,gT,2):String(n),gT=(n,e)=>e&&e.__v_isRef?gT(n,e.value):Np(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((r,[S,D])=>(r[`${S} =>`]=D,r),{})}:vT(e)?{[`Set(${e.size})`]:[...e.values()]}:lo(e)&&!gi(e)&&!xT(e)?String(e):e,ao={},Bp=[],Dc=()=>{},c8=()=>!1,h8=/^on[^a-z]/,my=n=>h8.test(n),Fx=n=>n.startsWith("onUpdate:"),Ms=Object.assign,Bx=(n,e)=>{const r=n.indexOf(e);r>-1&&n.splice(r,1)},f8=Object.prototype.hasOwnProperty,ga=(n,e)=>f8.call(n,e),gi=Array.isArray,Np=n=>gy(n)==="[object Map]",vT=n=>gy(n)==="[object Set]",Fi=n=>typeof n=="function",Po=n=>typeof n=="string",Nx=n=>typeof n=="symbol",lo=n=>n!==null&&typeof n=="object",yT=n=>lo(n)&&Fi(n.then)&&Fi(n.catch),bT=Object.prototype.toString,gy=n=>bT.call(n),d8=n=>gy(n).slice(8,-1),xT=n=>gy(n)==="[object Object]",Vx=n=>Po(n)&&n!=="NaN"&&n[0]!=="-"&&""+parseInt(n,10)===n,hv=zx(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),vy=n=>{const e=Object.create(null);return r=>e[r]||(e[r]=n(r))},p8=/-(\w)/g,tc=vy(n=>n.replace(p8,(e,r)=>r?r.toUpperCase():"")),m8=/\B([A-Z])/g,f0=vy(n=>n.replace(m8,"-$1").toLowerCase()),sf=vy(n=>n.charAt(0).toUpperCase()+n.slice(1)),Q1=vy(n=>n?`on${sf(n)}`:""),xm=(n,e)=>!Object.is(n,e),fv=(n,e)=>{for(let r=0;r{Object.defineProperty(n,e,{configurable:!0,enumerable:!1,value:r})},kb=n=>{const e=parseFloat(n);return isNaN(e)?n:e},g8=n=>{const e=Po(n)?Number(n):NaN;return isNaN(e)?n:e};let c3;const v8=()=>c3||(c3=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let du;class _T{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=du,!e&&du&&(this.index=(du.scopes||(du.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const r=du;try{return du=this,e()}finally{du=r}}}on(){du=this}off(){du=this.parent}stop(e){if(this._active){let r,S;for(r=0,S=this.effects.length;r{const e=new Set(n);return e.w=0,e.n=0,e},TT=n=>(n.w&jf)>0,kT=n=>(n.n&jf)>0,b8=({deps:n})=>{if(n.length)for(let e=0;e{const{deps:e}=n;if(e.length){let r=0;for(let S=0;S{(i==="length"||i>=d)&&t.push(g)})}else switch(r!==void 0&&t.push(p.get(r)),e){case"add":gi(n)?Vx(r)&&t.push(p.get("length")):(t.push(p.get(Fd)),Np(n)&&t.push(p.get(Ab)));break;case"delete":gi(n)||(t.push(p.get(Fd)),Np(n)&&t.push(p.get(Ab)));break;case"set":Np(n)&&t.push(p.get(Fd));break}if(t.length===1)t[0]&&Sb(t[0]);else{const d=[];for(const g of t)g&&d.push(...g);Sb(jx(d))}}function Sb(n,e){const r=gi(n)?n:[...n];for(const S of r)S.computed&&f3(S);for(const S of r)S.computed||f3(S)}function f3(n,e){(n!==Lc||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}function _8(n,e){var r;return(r=Sv.get(n))===null||r===void 0?void 0:r.get(e)}const w8=zx("__proto__,__v_isRef,__isVue"),ST=new Set(Object.getOwnPropertyNames(Symbol).filter(n=>n!=="arguments"&&n!=="caller").map(n=>Symbol[n]).filter(Nx)),T8=Hx(),k8=Hx(!1,!0),M8=Hx(!0),d3=A8();function A8(){const n={};return["includes","indexOf","lastIndexOf"].forEach(e=>{n[e]=function(...r){const S=wi(this);for(let T=0,p=this.length;T{n[e]=function(...r){d0();const S=wi(this)[e].apply(this,r);return p0(),S}}),n}function S8(n){const e=wi(this);return $l(e,"has",n),e.hasOwnProperty(n)}function Hx(n=!1,e=!1){return function(S,D,T){if(D==="__v_isReactive")return!n;if(D==="__v_isReadonly")return n;if(D==="__v_isShallow")return e;if(D==="__v_raw"&&T===(n?e?H8:RT:e?IT:LT).get(S))return S;const p=gi(S);if(!n){if(p&&ga(d3,D))return Reflect.get(d3,D,T);if(D==="hasOwnProperty")return S8}const t=Reflect.get(S,D,T);return(Nx(D)?ST.has(D):w8(D))||(n||$l(S,"get",D),e)?t:eo(t)?p&&Vx(D)?t:t.value:lo(t)?n?Hm(t):yl(t):t}}const C8=CT(),E8=CT(!0);function CT(n=!1){return function(r,S,D,T){let p=r[S];if($p(p)&&eo(p)&&!eo(D))return!1;if(!n&&(!Cv(D)&&!$p(D)&&(p=wi(p),D=wi(D)),!gi(r)&&eo(p)&&!eo(D)))return p.value=D,!0;const t=gi(r)&&Vx(S)?Number(S)n,yy=n=>Reflect.getPrototypeOf(n);function Kg(n,e,r=!1,S=!1){n=n.__v_raw;const D=wi(n),T=wi(e);r||(e!==T&&$l(D,"get",e),$l(D,"get",T));const{has:p}=yy(D),t=S?Gx:r?Yx:_m;if(p.call(D,e))return t(n.get(e));if(p.call(D,T))return t(n.get(T));n!==D&&n.get(e)}function Jg(n,e=!1){const r=this.__v_raw,S=wi(r),D=wi(n);return e||(n!==D&&$l(S,"has",n),$l(S,"has",D)),n===D?r.has(n):r.has(n)||r.has(D)}function Qg(n,e=!1){return n=n.__v_raw,!e&&$l(wi(n),"iterate",Fd),Reflect.get(n,"size",n)}function p3(n){n=wi(n);const e=wi(this);return yy(e).has.call(e,n)||(e.add(n),ef(e,"add",n,n)),this}function m3(n,e){e=wi(e);const r=wi(this),{has:S,get:D}=yy(r);let T=S.call(r,n);T||(n=wi(n),T=S.call(r,n));const p=D.call(r,n);return r.set(n,e),T?xm(e,p)&&ef(r,"set",n,e):ef(r,"add",n,e),this}function g3(n){const e=wi(this),{has:r,get:S}=yy(e);let D=r.call(e,n);D||(n=wi(n),D=r.call(e,n)),S&&S.call(e,n);const T=e.delete(n);return D&&ef(e,"delete",n,void 0),T}function v3(){const n=wi(this),e=n.size!==0,r=n.clear();return e&&ef(n,"clear",void 0,void 0),r}function ev(n,e){return function(S,D){const T=this,p=T.__v_raw,t=wi(p),d=e?Gx:n?Yx:_m;return!n&&$l(t,"iterate",Fd),p.forEach((g,i)=>S.call(D,d(g),d(i),T))}}function tv(n,e,r){return function(...S){const D=this.__v_raw,T=wi(D),p=Np(T),t=n==="entries"||n===Symbol.iterator&&p,d=n==="keys"&&p,g=D[n](...S),i=r?Gx:e?Yx:_m;return!e&&$l(T,"iterate",d?Ab:Fd),{next(){const{value:M,done:v}=g.next();return v?{value:M,done:v}:{value:t?[i(M[0]),i(M[1])]:i(M),done:v}},[Symbol.iterator](){return this}}}}function Sf(n){return function(...e){return n==="delete"?!1:this}}function D8(){const n={get(T){return Kg(this,T)},get size(){return Qg(this)},has:Jg,add:p3,set:m3,delete:g3,clear:v3,forEach:ev(!1,!1)},e={get(T){return Kg(this,T,!1,!0)},get size(){return Qg(this)},has:Jg,add:p3,set:m3,delete:g3,clear:v3,forEach:ev(!1,!0)},r={get(T){return Kg(this,T,!0)},get size(){return Qg(this,!0)},has(T){return Jg.call(this,T,!0)},add:Sf("add"),set:Sf("set"),delete:Sf("delete"),clear:Sf("clear"),forEach:ev(!0,!1)},S={get(T){return Kg(this,T,!0,!0)},get size(){return Qg(this,!0)},has(T){return Jg.call(this,T,!0)},add:Sf("add"),set:Sf("set"),delete:Sf("delete"),clear:Sf("clear"),forEach:ev(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(T=>{n[T]=tv(T,!1,!1),r[T]=tv(T,!0,!1),e[T]=tv(T,!1,!0),S[T]=tv(T,!0,!0)}),[n,r,e,S]}const[z8,F8,B8,N8]=D8();function qx(n,e){const r=e?n?N8:B8:n?F8:z8;return(S,D,T)=>D==="__v_isReactive"?!n:D==="__v_isReadonly"?n:D==="__v_raw"?S:Reflect.get(ga(r,D)&&D in S?r:S,D,T)}const V8={get:qx(!1,!1)},j8={get:qx(!1,!0)},U8={get:qx(!0,!1)},LT=new WeakMap,IT=new WeakMap,RT=new WeakMap,H8=new WeakMap;function G8(n){switch(n){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function q8(n){return n.__v_skip||!Object.isExtensible(n)?0:G8(d8(n))}function yl(n){return $p(n)?n:Wx(n,!1,ET,V8,LT)}function W8(n){return Wx(n,!1,O8,j8,IT)}function Hm(n){return Wx(n,!0,P8,U8,RT)}function Wx(n,e,r,S,D){if(!lo(n)||n.__v_raw&&!(e&&n.__v_isReactive))return n;const T=D.get(n);if(T)return T;const p=q8(n);if(p===0)return n;const t=new Proxy(n,p===2?S:r);return D.set(n,t),t}function Bf(n){return $p(n)?Bf(n.__v_raw):!!(n&&n.__v_isReactive)}function $p(n){return!!(n&&n.__v_isReadonly)}function Cv(n){return!!(n&&n.__v_isShallow)}function PT(n){return Bf(n)||$p(n)}function wi(n){const e=n&&n.__v_raw;return e?wi(e):n}function Zp(n){return Av(n,"__v_skip",!0),n}const _m=n=>lo(n)?yl(n):n,Yx=n=>lo(n)?Hm(n):n;function OT(n){Ff&&Lc&&(n=wi(n),AT(n.dep||(n.dep=jx())))}function DT(n,e){n=wi(n);const r=n.dep;r&&Sb(r)}function eo(n){return!!(n&&n.__v_isRef===!0)}function Vr(n){return zT(n,!1)}function Wr(n){return zT(n,!0)}function zT(n,e){return eo(n)?n:new Y8(n,e)}class Y8{constructor(e,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?e:wi(e),this._value=r?e:_m(e)}get value(){return OT(this),this._value}set value(e){const r=this.__v_isShallow||Cv(e)||$p(e);e=r?e:wi(e),xm(e,this._rawValue)&&(this._rawValue=e,this._value=r?e:_m(e),DT(this))}}function yu(n){return eo(n)?n.value:n}const $8={get:(n,e,r)=>yu(Reflect.get(n,e,r)),set:(n,e,r,S)=>{const D=n[e];return eo(D)&&!eo(r)?(D.value=r,!0):Reflect.set(n,e,r,S)}};function FT(n){return Bf(n)?n:new Proxy(n,$8)}function by(n){const e=gi(n)?new Array(n.length):{};for(const r in n)e[r]=Cr(n,r);return e}class Z8{constructor(e,r,S){this._object=e,this._key=r,this._defaultValue=S,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return _8(wi(this._object),this._key)}}function Cr(n,e,r){const S=n[e];return eo(S)?S:new Z8(n,e,r)}var BT;class X8{constructor(e,r,S,D){this._setter=r,this.dep=void 0,this.__v_isRef=!0,this[BT]=!1,this._dirty=!0,this.effect=new Ux(e,()=>{this._dirty||(this._dirty=!0,DT(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!D,this.__v_isReadonly=S}get value(){const e=wi(this);return OT(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}BT="__v_isReadonly";function K8(n,e,r=!1){let S,D;const T=Fi(n);return T?(S=n,D=Dc):(S=n.get,D=n.set),new X8(S,D,T||!D,r)}function Nf(n,e,r,S){let D;try{D=S?n(...S):n()}catch(T){xy(T,e,r)}return D}function Qu(n,e,r,S){if(Fi(n)){const T=Nf(n,e,r,S);return T&&yT(T)&&T.catch(p=>{xy(p,e,r)}),T}const D=[];for(let T=0;T>>1;Tm($s[S])sh&&$s.splice(e,1)}function tE(n){gi(n)?Vp.push(...n):(!Gh||!Gh.includes(n,n.allowRecurse?kd+1:kd))&&Vp.push(n),VT()}function y3(n,e=wm?sh+1:0){for(;e<$s.length;e++){const r=$s[e];r&&r.pre&&($s.splice(e,1),e--,r())}}function jT(n){if(Vp.length){const e=[...new Set(Vp)];if(Vp.length=0,Gh){Gh.push(...e);return}for(Gh=e,Gh.sort((r,S)=>Tm(r)-Tm(S)),kd=0;kdn.id==null?1/0:n.id,nE=(n,e)=>{const r=Tm(n)-Tm(e);if(r===0){if(n.pre&&!e.pre)return-1;if(e.pre&&!n.pre)return 1}return r};function UT(n){Cb=!1,wm=!0,$s.sort(nE);const e=Dc;try{for(sh=0;sh<$s.length;sh++){const r=$s[sh];r&&r.active!==!1&&Nf(r,null,14)}}finally{sh=0,$s.length=0,jT(),wm=!1,$x=null,($s.length||Vp.length)&&UT()}}function rE(n,e,...r){if(n.isUnmounted)return;const S=n.vnode.props||ao;let D=r;const T=e.startsWith("update:"),p=T&&e.slice(7);if(p&&p in S){const i=`${p==="modelValue"?"model":p}Modifiers`,{number:M,trim:v}=S[i]||ao;v&&(D=r.map(f=>Po(f)?f.trim():f)),M&&(D=r.map(kb))}let t,d=S[t=Q1(e)]||S[t=Q1(tc(e))];!d&&T&&(d=S[t=Q1(f0(e))]),d&&Qu(d,n,6,D);const g=S[t+"Once"];if(g){if(!n.emitted)n.emitted={};else if(n.emitted[t])return;n.emitted[t]=!0,Qu(g,n,6,D)}}function HT(n,e,r=!1){const S=e.emitsCache,D=S.get(n);if(D!==void 0)return D;const T=n.emits;let p={},t=!1;if(!Fi(n)){const d=g=>{const i=HT(g,e,!0);i&&(t=!0,Ms(p,i))};!r&&e.mixins.length&&e.mixins.forEach(d),n.extends&&d(n.extends),n.mixins&&n.mixins.forEach(d)}return!T&&!t?(lo(n)&&S.set(n,null),null):(gi(T)?T.forEach(d=>p[d]=null):Ms(p,T),lo(n)&&S.set(n,p),p)}function _y(n,e){return!n||!my(e)?!1:(e=e.slice(2).replace(/Once$/,""),ga(n,e[0].toLowerCase()+e.slice(1))||ga(n,f0(e))||ga(n,e))}let Fs=null,wy=null;function Ev(n){const e=Fs;return Fs=n,wy=n&&n.type.__scopeId||null,e}function Ty(n){wy=n}function ky(){wy=null}function ci(n,e=Fs,r){if(!e||n._n)return n;const S=(...D)=>{S._d&&E3(-1);const T=Ev(e);let p;try{p=n(...D)}finally{Ev(T),S._d&&E3(1)}return p};return S._n=!0,S._c=!0,S._d=!0,S}function eb(n){const{type:e,vnode:r,proxy:S,withProxy:D,props:T,propsOptions:[p],slots:t,attrs:d,emit:g,render:i,renderCache:M,data:v,setupState:f,ctx:l,inheritAttrs:a}=n;let u,o;const s=Ev(n);try{if(r.shapeFlag&4){const c=D||S;u=oh(i.call(c,c,M,T,f,v,l)),o=d}else{const c=e;u=oh(c.length>1?c(T,{attrs:d,slots:t,emit:g}):c(T,null)),o=e.props?d:iE(d)}}catch(c){dm.length=0,xy(c,n,1),u=gt(ec)}let h=u;if(o&&a!==!1){const c=Object.keys(o),{shapeFlag:m}=h;c.length&&m&7&&(p&&c.some(Fx)&&(o=aE(o,p)),h=tf(h,o))}return r.dirs&&(h=tf(h),h.dirs=h.dirs?h.dirs.concat(r.dirs):r.dirs),r.transition&&(h.transition=r.transition),u=h,Ev(s),u}const iE=n=>{let e;for(const r in n)(r==="class"||r==="style"||my(r))&&((e||(e={}))[r]=n[r]);return e},aE=(n,e)=>{const r={};for(const S in n)(!Fx(S)||!(S.slice(9)in e))&&(r[S]=n[S]);return r};function oE(n,e,r){const{props:S,children:D,component:T}=n,{props:p,children:t,patchFlag:d}=e,g=T.emitsOptions;if(e.dirs||e.transition)return!0;if(r&&d>=0){if(d&1024)return!0;if(d&16)return S?b3(S,p,g):!!p;if(d&8){const i=e.dynamicProps;for(let M=0;Mn.__isSuspense;function uE(n,e){e&&e.pendingBranch?gi(n)?e.effects.push(...n):e.effects.push(n):tE(n)}function ts(n,e){if(Wo){let r=Wo.provides;const S=Wo.parent&&Wo.parent.provides;S===r&&(r=Wo.provides=Object.create(S)),r[n]=e}}function ka(n,e,r=!1){const S=Wo||Fs;if(S){const D=S.parent==null?S.vnode.appContext&&S.vnode.appContext.provides:S.parent.provides;if(D&&n in D)return D[n];if(arguments.length>1)return r&&Fi(e)?e.call(S.proxy):e}}function wu(n,e){return Xx(n,null,e)}const nv={};function $r(n,e,r){return Xx(n,e,r)}function Xx(n,e,{immediate:r,deep:S,flush:D,onTrack:T,onTrigger:p}=ao){const t=wT()===(Wo==null?void 0:Wo.scope)?Wo:null;let d,g=!1,i=!1;if(eo(n)?(d=()=>n.value,g=Cv(n)):Bf(n)?(d=()=>n,S=!0):gi(n)?(i=!0,g=n.some(h=>Bf(h)||Cv(h)),d=()=>n.map(h=>{if(eo(h))return h.value;if(Bf(h))return Sd(h);if(Fi(h))return Nf(h,t,2)})):Fi(n)?e?d=()=>Nf(n,t,2):d=()=>{if(!(t&&t.isUnmounted))return M&&M(),Qu(n,t,3,[v])}:d=Dc,e&&S){const h=d;d=()=>Sd(h())}let M,v=h=>{M=o.onStop=()=>{Nf(h,t,4)}},f;if(Sm)if(v=Dc,e?r&&Qu(e,t,3,[d(),i?[]:void 0,v]):d(),D==="sync"){const h=QE();f=h.__watcherHandles||(h.__watcherHandles=[])}else return Dc;let l=i?new Array(n.length).fill(nv):nv;const a=()=>{if(o.active)if(e){const h=o.run();(S||g||(i?h.some((c,m)=>xm(c,l[m])):xm(h,l)))&&(M&&M(),Qu(e,t,3,[h,l===nv?void 0:i&&l[0]===nv?[]:l,v]),l=h)}else o.run()};a.allowRecurse=!!e;let u;D==="sync"?u=a:D==="post"?u=()=>Vl(a,t&&t.suspense):(a.pre=!0,t&&(a.id=t.uid),u=()=>Zx(a));const o=new Ux(d,u);e?r?a():l=o.run():D==="post"?Vl(o.run.bind(o),t&&t.suspense):o.run();const s=()=>{o.stop(),t&&t.scope&&Bx(t.scope.effects,o)};return f&&f.push(s),s}function cE(n,e,r){const S=this.proxy,D=Po(n)?n.includes(".")?GT(S,n):()=>S[n]:n.bind(S,S);let T;Fi(e)?T=e:(T=e.handler,r=e);const p=Wo;Xp(this);const t=Xx(D,T.bind(S),r);return p?Xp(p):Bd(),t}function GT(n,e){const r=e.split(".");return()=>{let S=n;for(let D=0;D{Sd(r,e)});else if(xT(n))for(const r in n)Sd(n[r],e);return n}function qT(){const n={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ks(()=>{n.isMounted=!0}),kl(()=>{n.isUnmounting=!0}),n}const Gu=[Function,Array],hE={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Gu,onEnter:Gu,onAfterEnter:Gu,onEnterCancelled:Gu,onBeforeLeave:Gu,onLeave:Gu,onAfterLeave:Gu,onLeaveCancelled:Gu,onBeforeAppear:Gu,onAppear:Gu,onAfterAppear:Gu,onAppearCancelled:Gu},setup(n,{slots:e}){const r=Ey(),S=qT();let D;return()=>{const T=e.default&&Kx(e.default(),!0);if(!T||!T.length)return;let p=T[0];if(T.length>1){for(const a of T)if(a.type!==ec){p=a;break}}const t=wi(n),{mode:d}=t;if(S.isLeaving)return tb(p);const g=x3(p);if(!g)return tb(p);const i=km(g,t,S,r);Mm(g,i);const M=r.subTree,v=M&&x3(M);let f=!1;const{getTransitionKey:l}=g.type;if(l){const a=l();D===void 0?D=a:a!==D&&(D=a,f=!0)}if(v&&v.type!==ec&&(!Md(g,v)||f)){const a=km(v,t,S,r);if(Mm(v,a),d==="out-in")return S.isLeaving=!0,a.afterLeave=()=>{S.isLeaving=!1,r.update.active!==!1&&r.update()},tb(p);d==="in-out"&&g.type!==ec&&(a.delayLeave=(u,o,s)=>{const h=YT(S,v);h[String(v.key)]=v,u._leaveCb=()=>{o(),u._leaveCb=void 0,delete i.delayedLeave},i.delayedLeave=s})}return p}}},WT=hE;function YT(n,e){const{leavingVNodes:r}=n;let S=r.get(e.type);return S||(S=Object.create(null),r.set(e.type,S)),S}function km(n,e,r,S){const{appear:D,mode:T,persisted:p=!1,onBeforeEnter:t,onEnter:d,onAfterEnter:g,onEnterCancelled:i,onBeforeLeave:M,onLeave:v,onAfterLeave:f,onLeaveCancelled:l,onBeforeAppear:a,onAppear:u,onAfterAppear:o,onAppearCancelled:s}=e,h=String(n.key),c=YT(r,n),m=(C,_)=>{C&&Qu(C,S,9,_)},w=(C,_)=>{const k=_[1];m(C,_),gi(C)?C.every(E=>E.length<=1)&&k():C.length<=1&&k()},y={mode:T,persisted:p,beforeEnter(C){let _=t;if(!r.isMounted)if(D)_=a||t;else return;C._leaveCb&&C._leaveCb(!0);const k=c[h];k&&Md(n,k)&&k.el._leaveCb&&k.el._leaveCb(),m(_,[C])},enter(C){let _=d,k=g,E=i;if(!r.isMounted)if(D)_=u||d,k=o||g,E=s||i;else return;let x=!1;const A=C._enterCb=L=>{x||(x=!0,L?m(E,[C]):m(k,[C]),y.delayedLeave&&y.delayedLeave(),C._enterCb=void 0)};_?w(_,[C,A]):A()},leave(C,_){const k=String(n.key);if(C._enterCb&&C._enterCb(!0),r.isUnmounting)return _();m(M,[C]);let E=!1;const x=C._leaveCb=A=>{E||(E=!0,_(),A?m(l,[C]):m(f,[C]),C._leaveCb=void 0,c[k]===n&&delete c[k])};c[k]=n,v?w(v,[C,x]):x()},clone(C){return km(C,e,r,S)}};return y}function tb(n){if(My(n))return n=tf(n),n.children=null,n}function x3(n){return My(n)?n.children?n.children[0]:void 0:n}function Mm(n,e){n.shapeFlag&6&&n.component?Mm(n.component.subTree,e):n.shapeFlag&128?(n.ssContent.transition=e.clone(n.ssContent),n.ssFallback.transition=e.clone(n.ssFallback)):n.transition=e}function Kx(n,e=!1,r){let S=[],D=0;for(let T=0;T1)for(let T=0;T!!n.type.__asyncLoader,My=n=>n.type.__isKeepAlive;function $T(n,e){XT(n,"a",e)}function ZT(n,e){XT(n,"da",e)}function XT(n,e,r=Wo){const S=n.__wdc||(n.__wdc=()=>{let D=r;for(;D;){if(D.isDeactivated)return;D=D.parent}return n()});if(Ay(e,S,r),r){let D=r.parent;for(;D&&D.parent;)My(D.parent.vnode)&&fE(S,e,r,D),D=D.parent}}function fE(n,e,r,S){const D=Ay(e,n,S,!0);QT(()=>{Bx(S[e],D)},r)}function Ay(n,e,r=Wo,S=!1){if(r){const D=r[n]||(r[n]=[]),T=e.__weh||(e.__weh=(...p)=>{if(r.isUnmounted)return;d0(),Xp(r);const t=Qu(e,r,n,p);return Bd(),p0(),t});return S?D.unshift(T):D.push(T),T}}const lf=n=>(e,r=Wo)=>(!Sm||n==="sp")&&Ay(n,(...S)=>e(...S),r),Sy=lf("bm"),Ks=lf("m"),KT=lf("bu"),JT=lf("u"),kl=lf("bum"),QT=lf("um"),dE=lf("sp"),pE=lf("rtg"),mE=lf("rtc");function gE(n,e=Wo){Ay("ec",n,e)}function Co(n,e){const r=Fs;if(r===null)return n;const S=Ly(r)||r.proxy,D=n.dirs||(n.dirs=[]);for(let T=0;Te(p,t,void 0,T&&T[t]));else{const p=Object.keys(n);D=new Array(p.length);for(let t=0,d=p.length;tIv(e)?!(e.type===ec||e.type===Yr&&!t4(e.children)):!0)?n:null}const Eb=n=>n?f4(n)?Ly(n)||n.proxy:Eb(n.parent):null,hm=Ms(Object.create(null),{$:n=>n,$el:n=>n.vnode.el,$data:n=>n.data,$props:n=>n.props,$attrs:n=>n.attrs,$slots:n=>n.slots,$refs:n=>n.refs,$parent:n=>Eb(n.parent),$root:n=>Eb(n.root),$emit:n=>n.emit,$options:n=>e2(n),$forceUpdate:n=>n.f||(n.f=()=>Zx(n.update)),$nextTick:n=>n.n||(n.n=Ua.bind(n.proxy)),$watch:n=>cE.bind(n)}),rb=(n,e)=>n!==ao&&!n.__isScriptSetup&&ga(n,e),bE={get({_:n},e){const{ctx:r,setupState:S,data:D,props:T,accessCache:p,type:t,appContext:d}=n;let g;if(e[0]!=="$"){const f=p[e];if(f!==void 0)switch(f){case 1:return S[e];case 2:return D[e];case 4:return r[e];case 3:return T[e]}else{if(rb(S,e))return p[e]=1,S[e];if(D!==ao&&ga(D,e))return p[e]=2,D[e];if((g=n.propsOptions[0])&&ga(g,e))return p[e]=3,T[e];if(r!==ao&&ga(r,e))return p[e]=4,r[e];Lb&&(p[e]=0)}}const i=hm[e];let M,v;if(i)return e==="$attrs"&&$l(n,"get",e),i(n);if((M=t.__cssModules)&&(M=M[e]))return M;if(r!==ao&&ga(r,e))return p[e]=4,r[e];if(v=d.config.globalProperties,ga(v,e))return v[e]},set({_:n},e,r){const{data:S,setupState:D,ctx:T}=n;return rb(D,e)?(D[e]=r,!0):S!==ao&&ga(S,e)?(S[e]=r,!0):ga(n.props,e)||e[0]==="$"&&e.slice(1)in n?!1:(T[e]=r,!0)},has({_:{data:n,setupState:e,accessCache:r,ctx:S,appContext:D,propsOptions:T}},p){let t;return!!r[p]||n!==ao&&ga(n,p)||rb(e,p)||(t=T[0])&&ga(t,p)||ga(S,p)||ga(hm,p)||ga(D.config.globalProperties,p)},defineProperty(n,e,r){return r.get!=null?n._.accessCache[e]=0:ga(r,"value")&&this.set(n,e,r.value,null),Reflect.defineProperty(n,e,r)}};let Lb=!0;function xE(n){const e=e2(n),r=n.proxy,S=n.ctx;Lb=!1,e.beforeCreate&&w3(e.beforeCreate,n,"bc");const{data:D,computed:T,methods:p,watch:t,provide:d,inject:g,created:i,beforeMount:M,mounted:v,beforeUpdate:f,updated:l,activated:a,deactivated:u,beforeDestroy:o,beforeUnmount:s,destroyed:h,unmounted:c,render:m,renderTracked:w,renderTriggered:y,errorCaptured:C,serverPrefetch:_,expose:k,inheritAttrs:E,components:x,directives:A,filters:L}=e;if(g&&_E(g,S,null,n.appContext.config.unwrapInjectedRef),p)for(const I in p){const O=p[I];Fi(O)&&(S[I]=O.bind(r))}if(D){const I=D.call(r,r);lo(I)&&(n.data=yl(I))}if(Lb=!0,T)for(const I in T){const O=T[I],z=Fi(O)?O.bind(r,r):Fi(O.get)?O.get.bind(r,r):Dc,F=!Fi(O)&&Fi(O.set)?O.set.bind(r):Dc,B=cn({get:z,set:F});Object.defineProperty(S,I,{enumerable:!0,configurable:!0,get:()=>B.value,set:N=>B.value=N})}if(t)for(const I in t)n4(t[I],S,r,I);if(d){const I=Fi(d)?d.call(r):d;Reflect.ownKeys(I).forEach(O=>{ts(O,I[O])})}i&&w3(i,n,"c");function R(I,O){gi(O)?O.forEach(z=>I(z.bind(r))):O&&I(O.bind(r))}if(R(Sy,M),R(Ks,v),R(KT,f),R(JT,l),R($T,a),R(ZT,u),R(gE,C),R(mE,w),R(pE,y),R(kl,s),R(QT,c),R(dE,_),gi(k))if(k.length){const I=n.exposed||(n.exposed={});k.forEach(O=>{Object.defineProperty(I,O,{get:()=>r[O],set:z=>r[O]=z})})}else n.exposed||(n.exposed={});m&&n.render===Dc&&(n.render=m),E!=null&&(n.inheritAttrs=E),x&&(n.components=x),A&&(n.directives=A)}function _E(n,e,r=Dc,S=!1){gi(n)&&(n=Ib(n));for(const D in n){const T=n[D];let p;lo(T)?"default"in T?p=ka(T.from||D,T.default,!0):p=ka(T.from||D):p=ka(T),eo(p)&&S?Object.defineProperty(e,D,{enumerable:!0,configurable:!0,get:()=>p.value,set:t=>p.value=t}):e[D]=p}}function w3(n,e,r){Qu(gi(n)?n.map(S=>S.bind(e.proxy)):n.bind(e.proxy),e,r)}function n4(n,e,r,S){const D=S.includes(".")?GT(r,S):()=>r[S];if(Po(n)){const T=e[n];Fi(T)&&$r(D,T)}else if(Fi(n))$r(D,n.bind(r));else if(lo(n))if(gi(n))n.forEach(T=>n4(T,e,r,S));else{const T=Fi(n.handler)?n.handler.bind(r):e[n.handler];Fi(T)&&$r(D,T,n)}}function e2(n){const e=n.type,{mixins:r,extends:S}=e,{mixins:D,optionsCache:T,config:{optionMergeStrategies:p}}=n.appContext,t=T.get(e);let d;return t?d=t:!D.length&&!r&&!S?d=e:(d={},D.length&&D.forEach(g=>Lv(d,g,p,!0)),Lv(d,e,p)),lo(e)&&T.set(e,d),d}function Lv(n,e,r,S=!1){const{mixins:D,extends:T}=e;T&&Lv(n,T,r,!0),D&&D.forEach(p=>Lv(n,p,r,!0));for(const p in e)if(!(S&&p==="expose")){const t=wE[p]||r&&r[p];n[p]=t?t(n[p],e[p]):e[p]}return n}const wE={data:T3,props:Td,emits:Td,methods:Td,computed:Td,beforeCreate:pl,created:pl,beforeMount:pl,mounted:pl,beforeUpdate:pl,updated:pl,beforeDestroy:pl,beforeUnmount:pl,destroyed:pl,unmounted:pl,activated:pl,deactivated:pl,errorCaptured:pl,serverPrefetch:pl,components:Td,directives:Td,watch:kE,provide:T3,inject:TE};function T3(n,e){return e?n?function(){return Ms(Fi(n)?n.call(this,this):n,Fi(e)?e.call(this,this):e)}:e:n}function TE(n,e){return Td(Ib(n),Ib(e))}function Ib(n){if(gi(n)){const e={};for(let r=0;r0)&&!(p&16)){if(p&8){const i=n.vnode.dynamicProps;for(let M=0;M{d=!0;const[v,f]=i4(M,e,!0);Ms(p,v),f&&t.push(...f)};!r&&e.mixins.length&&e.mixins.forEach(i),n.extends&&i(n.extends),n.mixins&&n.mixins.forEach(i)}if(!T&&!d)return lo(n)&&S.set(n,Bp),Bp;if(gi(T))for(let i=0;i-1,f[1]=a<0||l-1||ga(f,"default"))&&t.push(M)}}}const g=[p,t];return lo(n)&&S.set(n,g),g}function k3(n){return n[0]!=="$"}function M3(n){const e=n&&n.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:n===null?"null":""}function A3(n,e){return M3(n)===M3(e)}function S3(n,e){return gi(e)?e.findIndex(r=>A3(r,n)):Fi(e)&&A3(e,n)?0:-1}const a4=n=>n[0]==="_"||n==="$stable",t2=n=>gi(n)?n.map(oh):[oh(n)],SE=(n,e,r)=>{if(e._n)return e;const S=ci((...D)=>t2(e(...D)),r);return S._c=!1,S},o4=(n,e,r)=>{const S=n._ctx;for(const D in n){if(a4(D))continue;const T=n[D];if(Fi(T))e[D]=SE(D,T,S);else if(T!=null){const p=t2(T);e[D]=()=>p}}},s4=(n,e)=>{const r=t2(e);n.slots.default=()=>r},CE=(n,e)=>{if(n.vnode.shapeFlag&32){const r=e._;r?(n.slots=wi(e),Av(e,"_",r)):o4(e,n.slots={})}else n.slots={},e&&s4(n,e);Av(n.slots,Cy,1)},EE=(n,e,r)=>{const{vnode:S,slots:D}=n;let T=!0,p=ao;if(S.shapeFlag&32){const t=e._;t?r&&t===1?T=!1:(Ms(D,e),!r&&t===1&&delete D._):(T=!e.$stable,o4(e,D)),p=e}else e&&(s4(n,e),p={default:1});if(T)for(const t in D)!a4(t)&&!(t in p)&&delete D[t]};function l4(){return{app:null,config:{isNativeTag:c8,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let LE=0;function IE(n,e){return function(S,D=null){Fi(S)||(S=Object.assign({},S)),D!=null&&!lo(D)&&(D=null);const T=l4(),p=new Set;let t=!1;const d=T.app={_uid:LE++,_component:S,_props:D,_container:null,_context:T,_instance:null,version:e7,get config(){return T.config},set config(g){},use(g,...i){return p.has(g)||(g&&Fi(g.install)?(p.add(g),g.install(d,...i)):Fi(g)&&(p.add(g),g(d,...i))),d},mixin(g){return T.mixins.includes(g)||T.mixins.push(g),d},component(g,i){return i?(T.components[g]=i,d):T.components[g]},directive(g,i){return i?(T.directives[g]=i,d):T.directives[g]},mount(g,i,M){if(!t){const v=gt(S,D);return v.appContext=T,i&&e?e(v,g):n(v,g,M),t=!0,d._container=g,g.__vue_app__=d,Ly(v.component)||v.component.proxy}},unmount(){t&&(n(null,d._container),delete d._container.__vue_app__)},provide(g,i){return T.provides[g]=i,d}};return d}}function Pb(n,e,r,S,D=!1){if(gi(n)){n.forEach((v,f)=>Pb(v,e&&(gi(e)?e[f]:e),r,S,D));return}if(cm(S)&&!D)return;const T=S.shapeFlag&4?Ly(S.component)||S.component.proxy:S.el,p=D?null:T,{i:t,r:d}=n,g=e&&e.r,i=t.refs===ao?t.refs={}:t.refs,M=t.setupState;if(g!=null&&g!==d&&(Po(g)?(i[g]=null,ga(M,g)&&(M[g]=null)):eo(g)&&(g.value=null)),Fi(d))Nf(d,t,12,[p,i]);else{const v=Po(d),f=eo(d);if(v||f){const l=()=>{if(n.f){const a=v?ga(M,d)?M[d]:i[d]:d.value;D?gi(a)&&Bx(a,T):gi(a)?a.includes(T)||a.push(T):v?(i[d]=[T],ga(M,d)&&(M[d]=i[d])):(d.value=[T],n.k&&(i[n.k]=d.value))}else v?(i[d]=p,ga(M,d)&&(M[d]=p)):f&&(d.value=p,n.k&&(i[n.k]=p))};p?(l.id=-1,Vl(l,r)):l()}}}const Vl=uE;function RE(n){return PE(n)}function PE(n,e){const r=v8();r.__VUE__=!0;const{insert:S,remove:D,patchProp:T,createElement:p,createText:t,createComment:d,setText:g,setElementText:i,parentNode:M,nextSibling:v,setScopeId:f=Dc,insertStaticContent:l}=n,a=(Z,X,Q,re=null,ie=null,oe=null,ue=!1,ce=null,ye=!!X.dynamicChildren)=>{if(Z===X)return;Z&&!Md(Z,X)&&(re=G(Z),N(Z,ie,oe,!0),Z=null),X.patchFlag===-2&&(ye=!1,X.dynamicChildren=null);const{type:de,ref:me,shapeFlag:pe}=X;switch(de){case Gm:u(Z,X,Q,re);break;case ec:o(Z,X,Q,re);break;case dv:Z==null&&s(X,Q,re,ue);break;case Yr:x(Z,X,Q,re,ie,oe,ue,ce,ye);break;default:pe&1?m(Z,X,Q,re,ie,oe,ue,ce,ye):pe&6?A(Z,X,Q,re,ie,oe,ue,ce,ye):(pe&64||pe&128)&&de.process(Z,X,Q,re,ie,oe,ue,ce,ye,H)}me!=null&&ie&&Pb(me,Z&&Z.ref,oe,X||Z,!X)},u=(Z,X,Q,re)=>{if(Z==null)S(X.el=t(X.children),Q,re);else{const ie=X.el=Z.el;X.children!==Z.children&&g(ie,X.children)}},o=(Z,X,Q,re)=>{Z==null?S(X.el=d(X.children||""),Q,re):X.el=Z.el},s=(Z,X,Q,re)=>{[Z.el,Z.anchor]=l(Z.children,X,Q,re,Z.el,Z.anchor)},h=({el:Z,anchor:X},Q,re)=>{let ie;for(;Z&&Z!==X;)ie=v(Z),S(Z,Q,re),Z=ie;S(X,Q,re)},c=({el:Z,anchor:X})=>{let Q;for(;Z&&Z!==X;)Q=v(Z),D(Z),Z=Q;D(X)},m=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{ue=ue||X.type==="svg",Z==null?w(X,Q,re,ie,oe,ue,ce,ye):_(Z,X,ie,oe,ue,ce,ye)},w=(Z,X,Q,re,ie,oe,ue,ce)=>{let ye,de;const{type:me,props:pe,shapeFlag:xe,transition:Pe,dirs:_e}=Z;if(ye=Z.el=p(Z.type,oe,pe&&pe.is,pe),xe&8?i(ye,Z.children):xe&16&&C(Z.children,ye,null,re,ie,oe&&me!=="foreignObject",ue,ce),_e&&vd(Z,null,re,"created"),y(ye,Z,Z.scopeId,ue,re),pe){for(const Se in pe)Se!=="value"&&!hv(Se)&&T(ye,Se,null,pe[Se],oe,Z.children,re,ie,U);"value"in pe&&T(ye,"value",null,pe.value),(de=pe.onVnodeBeforeMount)&&nh(de,re,Z)}_e&&vd(Z,null,re,"beforeMount");const Me=(!ie||ie&&!ie.pendingBranch)&&Pe&&!Pe.persisted;Me&&Pe.beforeEnter(ye),S(ye,X,Q),((de=pe&&pe.onVnodeMounted)||Me||_e)&&Vl(()=>{de&&nh(de,re,Z),Me&&Pe.enter(ye),_e&&vd(Z,null,re,"mounted")},ie)},y=(Z,X,Q,re,ie)=>{if(Q&&f(Z,Q),re)for(let oe=0;oe{for(let de=ye;de{const ce=X.el=Z.el;let{patchFlag:ye,dynamicChildren:de,dirs:me}=X;ye|=Z.patchFlag&16;const pe=Z.props||ao,xe=X.props||ao;let Pe;Q&&yd(Q,!1),(Pe=xe.onVnodeBeforeUpdate)&&nh(Pe,Q,X,Z),me&&vd(X,Z,Q,"beforeUpdate"),Q&&yd(Q,!0);const _e=ie&&X.type!=="foreignObject";if(de?k(Z.dynamicChildren,de,ce,Q,re,_e,oe):ue||O(Z,X,ce,null,Q,re,_e,oe,!1),ye>0){if(ye&16)E(ce,X,pe,xe,Q,re,ie);else if(ye&2&&pe.class!==xe.class&&T(ce,"class",null,xe.class,ie),ye&4&&T(ce,"style",pe.style,xe.style,ie),ye&8){const Me=X.dynamicProps;for(let Se=0;Se{Pe&&nh(Pe,Q,X,Z),me&&vd(X,Z,Q,"updated")},re)},k=(Z,X,Q,re,ie,oe,ue)=>{for(let ce=0;ce{if(Q!==re){if(Q!==ao)for(const ce in Q)!hv(ce)&&!(ce in re)&&T(Z,ce,Q[ce],null,ue,X.children,ie,oe,U);for(const ce in re){if(hv(ce))continue;const ye=re[ce],de=Q[ce];ye!==de&&ce!=="value"&&T(Z,ce,de,ye,ue,X.children,ie,oe,U)}"value"in re&&T(Z,"value",Q.value,re.value)}},x=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{const de=X.el=Z?Z.el:t(""),me=X.anchor=Z?Z.anchor:t("");let{patchFlag:pe,dynamicChildren:xe,slotScopeIds:Pe}=X;Pe&&(ce=ce?ce.concat(Pe):Pe),Z==null?(S(de,Q,re),S(me,Q,re),C(X.children,Q,me,ie,oe,ue,ce,ye)):pe>0&&pe&64&&xe&&Z.dynamicChildren?(k(Z.dynamicChildren,xe,Q,ie,oe,ue,ce),(X.key!=null||ie&&X===ie.subTree)&&n2(Z,X,!0)):O(Z,X,Q,me,ie,oe,ue,ce,ye)},A=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{X.slotScopeIds=ce,Z==null?X.shapeFlag&512?ie.ctx.activate(X,Q,re,ue,ye):L(X,Q,re,ie,oe,ue,ye):b(Z,X,ye)},L=(Z,X,Q,re,ie,oe,ue)=>{const ce=Z.component=qE(Z,re,ie);if(My(Z)&&(ce.ctx.renderer=H),WE(ce),ce.asyncDep){if(ie&&ie.registerDep(ce,R),!Z.el){const ye=ce.subTree=gt(ec);o(null,ye,X,Q)}return}R(ce,Z,X,Q,ie,oe,ue)},b=(Z,X,Q)=>{const re=X.component=Z.component;if(oE(Z,X,Q))if(re.asyncDep&&!re.asyncResolved){I(re,X,Q);return}else re.next=X,eE(re.update),re.update();else X.el=Z.el,re.vnode=X},R=(Z,X,Q,re,ie,oe,ue)=>{const ce=()=>{if(Z.isMounted){let{next:me,bu:pe,u:xe,parent:Pe,vnode:_e}=Z,Me=me,Se;yd(Z,!1),me?(me.el=_e.el,I(Z,me,ue)):me=_e,pe&&fv(pe),(Se=me.props&&me.props.onVnodeBeforeUpdate)&&nh(Se,Pe,me,_e),yd(Z,!0);const Ce=eb(Z),ae=Z.subTree;Z.subTree=Ce,a(ae,Ce,M(ae.el),G(ae),Z,ie,oe),me.el=Ce.el,Me===null&&sE(Z,Ce.el),xe&&Vl(xe,ie),(Se=me.props&&me.props.onVnodeUpdated)&&Vl(()=>nh(Se,Pe,me,_e),ie)}else{let me;const{el:pe,props:xe}=X,{bm:Pe,m:_e,parent:Me}=Z,Se=cm(X);if(yd(Z,!1),Pe&&fv(Pe),!Se&&(me=xe&&xe.onVnodeBeforeMount)&&nh(me,Me,X),yd(Z,!0),pe&&te){const Ce=()=>{Z.subTree=eb(Z),te(pe,Z.subTree,Z,ie,null)};Se?X.type.__asyncLoader().then(()=>!Z.isUnmounted&&Ce()):Ce()}else{const Ce=Z.subTree=eb(Z);a(null,Ce,Q,re,Z,ie,oe),X.el=Ce.el}if(_e&&Vl(_e,ie),!Se&&(me=xe&&xe.onVnodeMounted)){const Ce=X;Vl(()=>nh(me,Me,Ce),ie)}(X.shapeFlag&256||Me&&cm(Me.vnode)&&Me.vnode.shapeFlag&256)&&Z.a&&Vl(Z.a,ie),Z.isMounted=!0,X=Q=re=null}},ye=Z.effect=new Ux(ce,()=>Zx(de),Z.scope),de=Z.update=()=>ye.run();de.id=Z.uid,yd(Z,!0),de()},I=(Z,X,Q)=>{X.component=Z;const re=Z.vnode.props;Z.vnode=X,Z.next=null,AE(Z,X.props,re,Q),EE(Z,X.children,Q),d0(),y3(),p0()},O=(Z,X,Q,re,ie,oe,ue,ce,ye=!1)=>{const de=Z&&Z.children,me=Z?Z.shapeFlag:0,pe=X.children,{patchFlag:xe,shapeFlag:Pe}=X;if(xe>0){if(xe&128){F(de,pe,Q,re,ie,oe,ue,ce,ye);return}else if(xe&256){z(de,pe,Q,re,ie,oe,ue,ce,ye);return}}Pe&8?(me&16&&U(de,ie,oe),pe!==de&&i(Q,pe)):me&16?Pe&16?F(de,pe,Q,re,ie,oe,ue,ce,ye):U(de,ie,oe,!0):(me&8&&i(Q,""),Pe&16&&C(pe,Q,re,ie,oe,ue,ce,ye))},z=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{Z=Z||Bp,X=X||Bp;const de=Z.length,me=X.length,pe=Math.min(de,me);let xe;for(xe=0;xeme?U(Z,ie,oe,!0,!1,pe):C(X,Q,re,ie,oe,ue,ce,ye,pe)},F=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{let de=0;const me=X.length;let pe=Z.length-1,xe=me-1;for(;de<=pe&&de<=xe;){const Pe=Z[de],_e=X[de]=ye?Rf(X[de]):oh(X[de]);if(Md(Pe,_e))a(Pe,_e,Q,null,ie,oe,ue,ce,ye);else break;de++}for(;de<=pe&&de<=xe;){const Pe=Z[pe],_e=X[xe]=ye?Rf(X[xe]):oh(X[xe]);if(Md(Pe,_e))a(Pe,_e,Q,null,ie,oe,ue,ce,ye);else break;pe--,xe--}if(de>pe){if(de<=xe){const Pe=xe+1,_e=Pexe)for(;de<=pe;)N(Z[de],ie,oe,!0),de++;else{const Pe=de,_e=de,Me=new Map;for(de=_e;de<=xe;de++){const Be=X[de]=ye?Rf(X[de]):oh(X[de]);Be.key!=null&&Me.set(Be.key,de)}let Se,Ce=0;const ae=xe-_e+1;let fe=!1,be=0;const ke=new Array(ae);for(de=0;de=ae){N(Be,ie,oe,!0);continue}let ze;if(Be.key!=null)ze=Me.get(Be.key);else for(Se=_e;Se<=xe;Se++)if(ke[Se-_e]===0&&Md(Be,X[Se])){ze=Se;break}ze===void 0?N(Be,ie,oe,!0):(ke[ze-_e]=de+1,ze>=be?be=ze:fe=!0,a(Be,X[ze],Q,null,ie,oe,ue,ce,ye),Ce++)}const Le=fe?OE(ke):Bp;for(Se=Le.length-1,de=ae-1;de>=0;de--){const Be=_e+de,ze=X[Be],je=Be+1{const{el:oe,type:ue,transition:ce,children:ye,shapeFlag:de}=Z;if(de&6){B(Z.component.subTree,X,Q,re);return}if(de&128){Z.suspense.move(X,Q,re);return}if(de&64){ue.move(Z,X,Q,H);return}if(ue===Yr){S(oe,X,Q);for(let pe=0;pece.enter(oe),ie);else{const{leave:pe,delayLeave:xe,afterLeave:Pe}=ce,_e=()=>S(oe,X,Q),Me=()=>{pe(oe,()=>{_e(),Pe&&Pe()})};xe?xe(oe,_e,Me):Me()}else S(oe,X,Q)},N=(Z,X,Q,re=!1,ie=!1)=>{const{type:oe,props:ue,ref:ce,children:ye,dynamicChildren:de,shapeFlag:me,patchFlag:pe,dirs:xe}=Z;if(ce!=null&&Pb(ce,null,Q,Z,!0),me&256){X.ctx.deactivate(Z);return}const Pe=me&1&&xe,_e=!cm(Z);let Me;if(_e&&(Me=ue&&ue.onVnodeBeforeUnmount)&&nh(Me,X,Z),me&6)$(Z.component,Q,re);else{if(me&128){Z.suspense.unmount(Q,re);return}Pe&&vd(Z,null,X,"beforeUnmount"),me&64?Z.type.remove(Z,X,Q,ie,H,re):de&&(oe!==Yr||pe>0&&pe&64)?U(de,X,Q,!1,!0):(oe===Yr&&pe&384||!ie&&me&16)&&U(ye,X,Q),re&&W(Z)}(_e&&(Me=ue&&ue.onVnodeUnmounted)||Pe)&&Vl(()=>{Me&&nh(Me,X,Z),Pe&&vd(Z,null,X,"unmounted")},Q)},W=Z=>{const{type:X,el:Q,anchor:re,transition:ie}=Z;if(X===Yr){j(Q,re);return}if(X===dv){c(Z);return}const oe=()=>{D(Q),ie&&!ie.persisted&&ie.afterLeave&&ie.afterLeave()};if(Z.shapeFlag&1&&ie&&!ie.persisted){const{leave:ue,delayLeave:ce}=ie,ye=()=>ue(Q,oe);ce?ce(Z.el,oe,ye):ye()}else oe()},j=(Z,X)=>{let Q;for(;Z!==X;)Q=v(Z),D(Z),Z=Q;D(X)},$=(Z,X,Q)=>{const{bum:re,scope:ie,update:oe,subTree:ue,um:ce}=Z;re&&fv(re),ie.stop(),oe&&(oe.active=!1,N(ue,Z,X,Q)),ce&&Vl(ce,X),Vl(()=>{Z.isUnmounted=!0},X),X&&X.pendingBranch&&!X.isUnmounted&&Z.asyncDep&&!Z.asyncResolved&&Z.suspenseId===X.pendingId&&(X.deps--,X.deps===0&&X.resolve())},U=(Z,X,Q,re=!1,ie=!1,oe=0)=>{for(let ue=oe;ueZ.shapeFlag&6?G(Z.component.subTree):Z.shapeFlag&128?Z.suspense.next():v(Z.anchor||Z.el),q=(Z,X,Q)=>{Z==null?X._vnode&&N(X._vnode,null,null,!0):a(X._vnode||null,Z,X,null,null,null,Q),y3(),jT(),X._vnode=Z},H={p:a,um:N,m:B,r:W,mt:L,mc:C,pc:O,pbc:k,n:G,o:n};let ne,te;return e&&([ne,te]=e(H)),{render:q,hydrate:ne,createApp:IE(q,ne)}}function yd({effect:n,update:e},r){n.allowRecurse=e.allowRecurse=r}function n2(n,e,r=!1){const S=n.children,D=e.children;if(gi(S)&&gi(D))for(let T=0;T>1,n[r[t]]0&&(e[S]=r[T-1]),r[T]=S)}}for(T=r.length,p=r[T-1];T-- >0;)r[T]=p,p=e[p];return r}const DE=n=>n.__isTeleport,fm=n=>n&&(n.disabled||n.disabled===""),C3=n=>typeof SVGElement<"u"&&n instanceof SVGElement,Ob=(n,e)=>{const r=n&&n.to;return Po(r)?e?e(r):null:r},zE={__isTeleport:!0,process(n,e,r,S,D,T,p,t,d,g){const{mc:i,pc:M,pbc:v,o:{insert:f,querySelector:l,createText:a,createComment:u}}=g,o=fm(e.props);let{shapeFlag:s,children:h,dynamicChildren:c}=e;if(n==null){const m=e.el=a(""),w=e.anchor=a("");f(m,r,S),f(w,r,S);const y=e.target=Ob(e.props,l),C=e.targetAnchor=a("");y&&(f(C,y),p=p||C3(y));const _=(k,E)=>{s&16&&i(h,k,E,D,T,p,t,d)};o?_(r,w):y&&_(y,C)}else{e.el=n.el;const m=e.anchor=n.anchor,w=e.target=n.target,y=e.targetAnchor=n.targetAnchor,C=fm(n.props),_=C?r:w,k=C?m:y;if(p=p||C3(w),c?(v(n.dynamicChildren,c,_,D,T,p,t),n2(n,e,!0)):d||M(n,e,_,k,D,T,p,t,!1),o)C||rv(e,r,m,g,1);else if((e.props&&e.props.to)!==(n.props&&n.props.to)){const E=e.target=Ob(e.props,l);E&&rv(e,E,null,g,0)}else C&&rv(e,w,y,g,1)}u4(e)},remove(n,e,r,S,{um:D,o:{remove:T}},p){const{shapeFlag:t,children:d,anchor:g,targetAnchor:i,target:M,props:v}=n;if(M&&T(i),(p||!fm(v))&&(T(g),t&16))for(let f=0;f0?Ic||Bp:null,NE(),Am>0&&Ic&&Ic.push(n),n}function ei(n,e,r,S,D,T){return c4(ti(n,e,r,S,D,T,!0))}function za(n,e,r,S,D){return c4(gt(n,e,r,S,D,!0))}function Iv(n){return n?n.__v_isVNode===!0:!1}function Md(n,e){return n.type===e.type&&n.key===e.key}const Cy="__vInternal",h4=({key:n})=>n??null,pv=({ref:n,ref_key:e,ref_for:r})=>n!=null?Po(n)||eo(n)||Fi(n)?{i:Fs,r:n,k:e,f:!!r}:n:null;function ti(n,e=null,r=null,S=0,D=null,T=n===Yr?0:1,p=!1,t=!1){const d={__v_isVNode:!0,__v_skip:!0,type:n,props:e,key:e&&h4(e),ref:e&&pv(e),scopeId:wy,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:T,patchFlag:S,dynamicProps:D,dynamicChildren:null,appContext:null,ctx:Fs};return t?(r2(d,r),T&128&&n.normalize(d)):r&&(d.shapeFlag|=Po(r)?8:16),Am>0&&!p&&Ic&&(d.patchFlag>0||T&6)&&d.patchFlag!==32&&Ic.push(d),d}const gt=VE;function VE(n,e=null,r=null,S=0,D=null,T=!1){if((!n||n===e4)&&(n=ec),Iv(n)){const t=tf(n,e,!0);return r&&r2(t,r),Am>0&&!T&&Ic&&(t.shapeFlag&6?Ic[Ic.indexOf(n)]=t:Ic.push(t)),t.patchFlag|=-2,t}if(KE(n)&&(n=n.__vccOpts),e){e=jE(e);let{class:t,style:d}=e;t&&!Po(t)&&(e.class=Ju(t)),lo(d)&&(PT(d)&&!gi(d)&&(d=Ms({},d)),e.style=zs(d))}const p=Po(n)?1:lE(n)?128:DE(n)?64:lo(n)?4:Fi(n)?2:0;return ti(n,e,r,S,D,p,T,!0)}function jE(n){return n?PT(n)||Cy in n?Ms({},n):n:null}function tf(n,e,r=!1){const{props:S,ref:D,patchFlag:T,children:p}=n,t=e?qr(S||{},e):S;return{__v_isVNode:!0,__v_skip:!0,type:n.type,props:t,key:t&&h4(t),ref:e&&e.ref?r&&D?gi(D)?D.concat(pv(e)):[D,pv(e)]:pv(e):D,scopeId:n.scopeId,slotScopeIds:n.slotScopeIds,children:p,target:n.target,targetAnchor:n.targetAnchor,staticCount:n.staticCount,shapeFlag:n.shapeFlag,patchFlag:e&&n.type!==Yr?T===-1?16:T|16:T,dynamicProps:n.dynamicProps,dynamicChildren:n.dynamicChildren,appContext:n.appContext,dirs:n.dirs,transition:n.transition,component:n.component,suspense:n.suspense,ssContent:n.ssContent&&tf(n.ssContent),ssFallback:n.ssFallback&&tf(n.ssFallback),el:n.el,anchor:n.anchor,ctx:n.ctx,ce:n.ce}}function ia(n=" ",e=0){return gt(Gm,null,n,e)}function UE(n,e){const r=gt(dv,null,n);return r.staticCount=e,r}function Yi(n="",e=!1){return e?(Ir(),za(ec,null,n)):gt(ec,null,n)}function oh(n){return n==null||typeof n=="boolean"?gt(ec):gi(n)?gt(Yr,null,n.slice()):typeof n=="object"?Rf(n):gt(Gm,null,String(n))}function Rf(n){return n.el===null&&n.patchFlag!==-1||n.memo?n:tf(n)}function r2(n,e){let r=0;const{shapeFlag:S}=n;if(e==null)e=null;else if(gi(e))r=16;else if(typeof e=="object")if(S&65){const D=e.default;D&&(D._c&&(D._d=!1),r2(n,D()),D._c&&(D._d=!0));return}else{r=32;const D=e._;!D&&!(Cy in e)?e._ctx=Fs:D===3&&Fs&&(Fs.slots._===1?e._=1:(e._=2,n.patchFlag|=1024))}else Fi(e)?(e={default:e,_ctx:Fs},r=32):(e=String(e),S&64?(r=16,e=[ia(e)]):r=8);n.children=e,n.shapeFlag|=r}function qr(...n){const e={};for(let r=0;rWo||Fs,Xp=n=>{Wo=n,n.scope.on()},Bd=()=>{Wo&&Wo.scope.off(),Wo=null};function f4(n){return n.vnode.shapeFlag&4}let Sm=!1;function WE(n,e=!1){Sm=e;const{props:r,children:S}=n.vnode,D=f4(n);ME(n,r,D,e),CE(n,S);const T=D?YE(n,e):void 0;return Sm=!1,T}function YE(n,e){const r=n.type;n.accessCache=Object.create(null),n.proxy=Zp(new Proxy(n.ctx,bE));const{setup:S}=r;if(S){const D=n.setupContext=S.length>1?ZE(n):null;Xp(n),d0();const T=Nf(S,n,0,[n.props,D]);if(p0(),Bd(),yT(T)){if(T.then(Bd,Bd),e)return T.then(p=>{L3(n,p,e)}).catch(p=>{xy(p,n,0)});n.asyncDep=T}else L3(n,T,e)}else d4(n,e)}function L3(n,e,r){Fi(e)?n.type.__ssrInlineRender?n.ssrRender=e:n.render=e:lo(e)&&(n.setupState=FT(e)),d4(n,r)}let I3;function d4(n,e,r){const S=n.type;if(!n.render){if(!e&&I3&&!S.render){const D=S.template||e2(n).template;if(D){const{isCustomElement:T,compilerOptions:p}=n.appContext.config,{delimiters:t,compilerOptions:d}=S,g=Ms(Ms({isCustomElement:T,delimiters:t},p),d);S.render=I3(D,g)}}n.render=S.render||Dc}Xp(n),d0(),xE(n),p0(),Bd()}function $E(n){return new Proxy(n.attrs,{get(e,r){return $l(n,"get","$attrs"),e[r]}})}function ZE(n){const e=S=>{n.exposed=S||{}};let r;return{get attrs(){return r||(r=$E(n))},slots:n.slots,emit:n.emit,expose:e}}function Ly(n){if(n.exposed)return n.exposeProxy||(n.exposeProxy=new Proxy(FT(Zp(n.exposed)),{get(e,r){if(r in e)return e[r];if(r in hm)return hm[r](n)},has(e,r){return r in e||r in hm}}))}function XE(n,e=!0){return Fi(n)?n.displayName||n.name:n.name||e&&n.__name}function KE(n){return Fi(n)&&"__vccOpts"in n}const cn=(n,e)=>K8(n,e,Sm);function Xf(n,e,r){const S=arguments.length;return S===2?lo(e)&&!gi(e)?Iv(e)?gt(n,null,[e]):gt(n,e):gt(n,null,e):(S>3?r=Array.prototype.slice.call(arguments,2):S===3&&Iv(r)&&(r=[r]),gt(n,e,r))}const JE=Symbol(""),QE=()=>ka(JE),e7="3.2.47",t7="http://www.w3.org/2000/svg",Ad=typeof document<"u"?document:null,R3=Ad&&Ad.createElement("template"),n7={insert:(n,e,r)=>{e.insertBefore(n,r||null)},remove:n=>{const e=n.parentNode;e&&e.removeChild(n)},createElement:(n,e,r,S)=>{const D=e?Ad.createElementNS(t7,n):Ad.createElement(n,r?{is:r}:void 0);return n==="select"&&S&&S.multiple!=null&&D.setAttribute("multiple",S.multiple),D},createText:n=>Ad.createTextNode(n),createComment:n=>Ad.createComment(n),setText:(n,e)=>{n.nodeValue=e},setElementText:(n,e)=>{n.textContent=e},parentNode:n=>n.parentNode,nextSibling:n=>n.nextSibling,querySelector:n=>Ad.querySelector(n),setScopeId(n,e){n.setAttribute(e,"")},insertStaticContent(n,e,r,S,D,T){const p=r?r.previousSibling:e.lastChild;if(D&&(D===T||D.nextSibling))for(;e.insertBefore(D.cloneNode(!0),r),!(D===T||!(D=D.nextSibling)););else{R3.innerHTML=S?`${n}`:n;const t=R3.content;if(S){const d=t.firstChild;for(;d.firstChild;)t.appendChild(d.firstChild);t.removeChild(d)}e.insertBefore(t,r)}return[p?p.nextSibling:e.firstChild,r?r.previousSibling:e.lastChild]}};function r7(n,e,r){const S=n._vtc;S&&(e=(e?[e,...S]:[...S]).join(" ")),e==null?n.removeAttribute("class"):r?n.setAttribute("class",e):n.className=e}function i7(n,e,r){const S=n.style,D=Po(r);if(r&&!D){if(e&&!Po(e))for(const T in e)r[T]==null&&Db(S,T,"");for(const T in r)Db(S,T,r[T])}else{const T=S.display;D?e!==r&&(S.cssText=r):e&&n.removeAttribute("style"),"_vod"in n&&(S.display=T)}}const P3=/\s*!important$/;function Db(n,e,r){if(gi(r))r.forEach(S=>Db(n,e,S));else if(r==null&&(r=""),e.startsWith("--"))n.setProperty(e,r);else{const S=a7(n,e);P3.test(r)?n.setProperty(f0(S),r.replace(P3,""),"important"):n[S]=r}}const O3=["Webkit","Moz","ms"],ib={};function a7(n,e){const r=ib[e];if(r)return r;let S=tc(e);if(S!=="filter"&&S in n)return ib[e]=S;S=sf(S);for(let D=0;Dab||(h7.then(()=>ab=0),ab=Date.now());function d7(n,e){const r=S=>{if(!S._vts)S._vts=Date.now();else if(S._vts<=r.attached)return;Qu(p7(S,r.value),e,5,[S])};return r.value=n,r.attached=f7(),r}function p7(n,e){if(gi(e)){const r=n.stopImmediatePropagation;return n.stopImmediatePropagation=()=>{r.call(n),n._stopped=!0},e.map(S=>D=>!D._stopped&&S&&S(D))}else return e}const F3=/^on[a-z]/,m7=(n,e,r,S,D=!1,T,p,t,d)=>{e==="class"?r7(n,S,D):e==="style"?i7(n,r,S):my(e)?Fx(e)||u7(n,e,r,S,p):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):g7(n,e,S,D))?s7(n,e,S,T,p,t,d):(e==="true-value"?n._trueValue=S:e==="false-value"&&(n._falseValue=S),o7(n,e,S,D))};function g7(n,e,r,S){return S?!!(e==="innerHTML"||e==="textContent"||e in n&&F3.test(e)&&Fi(r)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&n.tagName==="INPUT"||e==="type"&&n.tagName==="TEXTAREA"||F3.test(e)&&Po(r)?!1:e in n}const Cf="transition",tm="animation",bh=(n,{slots:e})=>Xf(WT,m4(n),e);bh.displayName="Transition";const p4={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},v7=bh.props=Ms({},WT.props,p4),bd=(n,e=[])=>{gi(n)?n.forEach(r=>r(...e)):n&&n(...e)},B3=n=>n?gi(n)?n.some(e=>e.length>1):n.length>1:!1;function m4(n){const e={};for(const x in n)x in p4||(e[x]=n[x]);if(n.css===!1)return e;const{name:r="v",type:S,duration:D,enterFromClass:T=`${r}-enter-from`,enterActiveClass:p=`${r}-enter-active`,enterToClass:t=`${r}-enter-to`,appearFromClass:d=T,appearActiveClass:g=p,appearToClass:i=t,leaveFromClass:M=`${r}-leave-from`,leaveActiveClass:v=`${r}-leave-active`,leaveToClass:f=`${r}-leave-to`}=n,l=y7(D),a=l&&l[0],u=l&&l[1],{onBeforeEnter:o,onEnter:s,onEnterCancelled:h,onLeave:c,onLeaveCancelled:m,onBeforeAppear:w=o,onAppear:y=s,onAppearCancelled:C=h}=e,_=(x,A,L)=>{Lf(x,A?i:t),Lf(x,A?g:p),L&&L()},k=(x,A)=>{x._isLeaving=!1,Lf(x,M),Lf(x,f),Lf(x,v),A&&A()},E=x=>(A,L)=>{const b=x?y:s,R=()=>_(A,x,L);bd(b,[A,R]),N3(()=>{Lf(A,x?d:T),Uh(A,x?i:t),B3(b)||V3(A,S,a,R)})};return Ms(e,{onBeforeEnter(x){bd(o,[x]),Uh(x,T),Uh(x,p)},onBeforeAppear(x){bd(w,[x]),Uh(x,d),Uh(x,g)},onEnter:E(!1),onAppear:E(!0),onLeave(x,A){x._isLeaving=!0;const L=()=>k(x,A);Uh(x,M),v4(),Uh(x,v),N3(()=>{x._isLeaving&&(Lf(x,M),Uh(x,f),B3(c)||V3(x,S,u,L))}),bd(c,[x,L])},onEnterCancelled(x){_(x,!1),bd(h,[x])},onAppearCancelled(x){_(x,!0),bd(C,[x])},onLeaveCancelled(x){k(x),bd(m,[x])}})}function y7(n){if(n==null)return null;if(lo(n))return[ob(n.enter),ob(n.leave)];{const e=ob(n);return[e,e]}}function ob(n){return g8(n)}function Uh(n,e){e.split(/\s+/).forEach(r=>r&&n.classList.add(r)),(n._vtc||(n._vtc=new Set)).add(e)}function Lf(n,e){e.split(/\s+/).forEach(S=>S&&n.classList.remove(S));const{_vtc:r}=n;r&&(r.delete(e),r.size||(n._vtc=void 0))}function N3(n){requestAnimationFrame(()=>{requestAnimationFrame(n)})}let b7=0;function V3(n,e,r,S){const D=n._endId=++b7,T=()=>{D===n._endId&&S()};if(r)return setTimeout(T,r);const{type:p,timeout:t,propCount:d}=g4(n,e);if(!p)return S();const g=p+"end";let i=0;const M=()=>{n.removeEventListener(g,v),T()},v=f=>{f.target===n&&++i>=d&&M()};setTimeout(()=>{i(r[l]||"").split(", "),D=S(`${Cf}Delay`),T=S(`${Cf}Duration`),p=j3(D,T),t=S(`${tm}Delay`),d=S(`${tm}Duration`),g=j3(t,d);let i=null,M=0,v=0;e===Cf?p>0&&(i=Cf,M=p,v=T.length):e===tm?g>0&&(i=tm,M=g,v=d.length):(M=Math.max(p,g),i=M>0?p>g?Cf:tm:null,v=i?i===Cf?T.length:d.length:0);const f=i===Cf&&/\b(transform|all)(,|$)/.test(S(`${Cf}Property`).toString());return{type:i,timeout:M,propCount:v,hasTransform:f}}function j3(n,e){for(;n.lengthU3(r)+U3(n[S])))}function U3(n){return Number(n.slice(0,-1).replace(",","."))*1e3}function v4(){return document.body.offsetHeight}const y4=new WeakMap,b4=new WeakMap,x4={name:"TransitionGroup",props:Ms({},v7,{tag:String,moveClass:String}),setup(n,{slots:e}){const r=Ey(),S=qT();let D,T;return JT(()=>{if(!D.length)return;const p=n.moveClass||`${n.name||"v"}-move`;if(!M7(D[0].el,r.vnode.el,p))return;D.forEach(w7),D.forEach(T7);const t=D.filter(k7);v4(),t.forEach(d=>{const g=d.el,i=g.style;Uh(g,p),i.transform=i.webkitTransform=i.transitionDuration="";const M=g._moveCb=v=>{v&&v.target!==g||(!v||/transform$/.test(v.propertyName))&&(g.removeEventListener("transitionend",M),g._moveCb=null,Lf(g,p))};g.addEventListener("transitionend",M)})}),()=>{const p=wi(n),t=m4(p);let d=p.tag||Yr;D=T,T=e.default?Kx(e.default()):[];for(let g=0;gdelete n.mode;x4.props;const _7=x4;function w7(n){const e=n.el;e._moveCb&&e._moveCb(),e._enterCb&&e._enterCb()}function T7(n){b4.set(n,n.el.getBoundingClientRect())}function k7(n){const e=y4.get(n),r=b4.get(n),S=e.left-r.left,D=e.top-r.top;if(S||D){const T=n.el.style;return T.transform=T.webkitTransform=`translate(${S}px,${D}px)`,T.transitionDuration="0s",n}}function M7(n,e,r){const S=n.cloneNode();n._vtc&&n._vtc.forEach(p=>{p.split(/\s+/).forEach(t=>t&&S.classList.remove(t))}),r.split(/\s+/).forEach(p=>p&&S.classList.add(p)),S.style.display="none";const D=e.nodeType===1?e:e.parentNode;D.appendChild(S);const{hasTransform:T}=g4(S);return D.removeChild(S),T}const H3=n=>{const e=n.props["onUpdate:modelValue"]||!1;return gi(e)?r=>fv(e,r):e};function A7(n){n.target.composing=!0}function G3(n){const e=n.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const S7={created(n,{modifiers:{lazy:e,trim:r,number:S}},D){n._assign=H3(D);const T=S||D.props&&D.props.type==="number";Ip(n,e?"change":"input",p=>{if(p.target.composing)return;let t=n.value;r&&(t=t.trim()),T&&(t=kb(t)),n._assign(t)}),r&&Ip(n,"change",()=>{n.value=n.value.trim()}),e||(Ip(n,"compositionstart",A7),Ip(n,"compositionend",G3),Ip(n,"change",G3))},mounted(n,{value:e}){n.value=e??""},beforeUpdate(n,{value:e,modifiers:{lazy:r,trim:S,number:D}},T){if(n._assign=H3(T),n.composing||document.activeElement===n&&n.type!=="range"&&(r||S&&n.value.trim()===e||(D||n.type==="number")&&kb(n.value)===e))return;const p=e??"";n.value!==p&&(n.value=p)}},C7=["ctrl","shift","alt","meta"],E7={stop:n=>n.stopPropagation(),prevent:n=>n.preventDefault(),self:n=>n.target!==n.currentTarget,ctrl:n=>!n.ctrlKey,shift:n=>!n.shiftKey,alt:n=>!n.altKey,meta:n=>!n.metaKey,left:n=>"button"in n&&n.button!==0,middle:n=>"button"in n&&n.button!==1,right:n=>"button"in n&&n.button!==2,exact:(n,e)=>C7.some(r=>n[`${r}Key`]&&!e.includes(r))},jp=(n,e)=>(r,...S)=>{for(let D=0;D{nm(n,!1)}):nm(n,e))},beforeUnmount(n,{value:e}){nm(n,e)}};function nm(n,e){n.style.display=e?n._vod:"none"}const L7=Ms({patchProp:m7},n7);let q3;function I7(){return q3||(q3=RE(L7))}const R7=(...n)=>{const e=I7().createApp(...n),{mount:r}=e;return e.mount=S=>{const D=P7(S);if(!D)return;const T=e._component;!Fi(T)&&!T.render&&!T.template&&(T.template=D.innerHTML),D.innerHTML="";const p=r(D,!1,D instanceof SVGElement);return D instanceof Element&&(D.removeAttribute("v-cloak"),D.setAttribute("data-v-app","")),p},e};function P7(n){return Po(n)?document.querySelector(n):n}var O7=!1;/*! - * pinia v2.0.35 - * (c) 2023 Eduardo San Martin Morote - * @license MIT - */let _4;const Iy=n=>_4=n,w4=Symbol();function zb(n){return n&&typeof n=="object"&&Object.prototype.toString.call(n)==="[object Object]"&&typeof n.toJSON!="function"}var pm;(function(n){n.direct="direct",n.patchObject="patch object",n.patchFunction="patch function"})(pm||(pm={}));function D7(){const n=Um(!0),e=n.run(()=>Vr({}));let r=[],S=[];const D=Zp({install(T){Iy(D),D._a=T,T.provide(w4,D),T.config.globalProperties.$pinia=D,S.forEach(p=>r.push(p)),S=[]},use(T){return!this._a&&!O7?S.push(T):r.push(T),this},_p:r,_a:null,_e:n,_s:new Map,state:e});return D}const T4=()=>{};function W3(n,e,r,S=T4){n.push(e);const D=()=>{const T=n.indexOf(e);T>-1&&(n.splice(T,1),S())};return!r&&wT()&&Tl(D),D}function Mp(n,...e){n.slice().forEach(r=>{r(...e)})}function Fb(n,e){n instanceof Map&&e instanceof Map&&e.forEach((r,S)=>n.set(S,r)),n instanceof Set&&e instanceof Set&&e.forEach(n.add,n);for(const r in e){if(!e.hasOwnProperty(r))continue;const S=e[r],D=n[r];zb(D)&&zb(S)&&n.hasOwnProperty(r)&&!eo(S)&&!Bf(S)?n[r]=Fb(D,S):n[r]=S}return n}const z7=Symbol();function F7(n){return!zb(n)||!n.hasOwnProperty(z7)}const{assign:If}=Object;function B7(n){return!!(eo(n)&&n.effect)}function N7(n,e,r,S){const{state:D,actions:T,getters:p}=e,t=r.state.value[n];let d;function g(){t||(r.state.value[n]=D?D():{});const i=by(r.state.value[n]);return If(i,T,Object.keys(p||{}).reduce((M,v)=>(M[v]=Zp(cn(()=>{Iy(r);const f=r._s.get(n);return p[v].call(f,f)})),M),{}))}return d=k4(n,g,e,r,S,!0),d}function k4(n,e,r={},S,D,T){let p;const t=If({actions:{}},r),d={deep:!0};let g,i,M=Zp([]),v=Zp([]),f;const l=S.state.value[n];!T&&!l&&(S.state.value[n]={}),Vr({});let a;function u(y){let C;g=i=!1,typeof y=="function"?(y(S.state.value[n]),C={type:pm.patchFunction,storeId:n,events:f}):(Fb(S.state.value[n],y),C={type:pm.patchObject,payload:y,storeId:n,events:f});const _=a=Symbol();Ua().then(()=>{a===_&&(g=!0)}),i=!0,Mp(M,C,S.state.value[n])}const o=T?function(){const{state:C}=r,_=C?C():{};this.$patch(k=>{If(k,_)})}:T4;function s(){p.stop(),M=[],v=[],S._s.delete(n)}function h(y,C){return function(){Iy(S);const _=Array.from(arguments),k=[],E=[];function x(b){k.push(b)}function A(b){E.push(b)}Mp(v,{args:_,name:y,store:m,after:x,onError:A});let L;try{L=C.apply(this&&this.$id===n?this:m,_)}catch(b){throw Mp(E,b),b}return L instanceof Promise?L.then(b=>(Mp(k,b),b)).catch(b=>(Mp(E,b),Promise.reject(b))):(Mp(k,L),L)}}const c={_p:S,$id:n,$onAction:W3.bind(null,v),$patch:u,$reset:o,$subscribe(y,C={}){const _=W3(M,y,C.detached,()=>k()),k=p.run(()=>$r(()=>S.state.value[n],E=>{(C.flush==="sync"?i:g)&&y({storeId:n,type:pm.direct,events:f},E)},If({},d,C)));return _},$dispose:s},m=yl(c);S._s.set(n,m);const w=S._e.run(()=>(p=Um(),p.run(()=>e())));for(const y in w){const C=w[y];if(eo(C)&&!B7(C)||Bf(C))T||(l&&F7(C)&&(eo(C)?C.value=l[y]:Fb(C,l[y])),S.state.value[n][y]=C);else if(typeof C=="function"){const _=h(y,C);w[y]=_,t.actions[y]=C}}return If(m,w),If(wi(m),w),Object.defineProperty(m,"$state",{get:()=>S.state.value[n],set:y=>{u(C=>{If(C,y)})}}),S._p.forEach(y=>{If(m,p.run(()=>y({store:m,app:S._a,pinia:S,options:t})))}),l&&T&&r.hydrate&&r.hydrate(m.$state,l),g=!0,i=!0,m}function i2(n,e,r){let S,D;const T=typeof e=="function";typeof n=="string"?(S=n,D=T?r:e):(D=n,S=n.id);function p(t,d){const g=Ey();return t=t||g&&ka(w4,null),t&&Iy(t),t=_4,t._s.has(S)||(T?k4(S,e,D,t):N7(S,D,t)),t._s.get(S)}return p.$id=S,p}var V7=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function a2(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var M4={exports:{}},Ba={};/** @license React v16.13.1 -======== -(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const D of document.querySelectorAll('link[rel="modulepreload"]'))C(D);new MutationObserver(D=>{for(const T of D)if(T.type==="childList")for(const p of T.addedNodes)p.tagName==="LINK"&&p.rel==="modulepreload"&&C(p)}).observe(document,{childList:!0,subtree:!0});function r(D){const T={};return D.integrity&&(T.integrity=D.integrity),D.referrerPolicy&&(T.referrerPolicy=D.referrerPolicy),D.crossOrigin==="use-credentials"?T.credentials="include":D.crossOrigin==="anonymous"?T.credentials="omit":T.credentials="same-origin",T}function C(D){if(D.ep)return;D.ep=!0;const T=r(D);fetch(D.href,T)}})();function zx(n,e){const r=Object.create(null),C=n.split(",");for(let D=0;D!!r[D.toLowerCase()]:D=>!!r[D]}function zs(n){if(gi(n)){const e={};for(let r=0;r{if(r){const C=r.split(a8);C.length>1&&(e[C[0].trim()]=C[1].trim())}}),e}function Ju(n){let e="";if(Po(n))e=n;else if(gi(n))for(let r=0;rPo(n)?n:n==null?"":gi(n)||so(n)&&(n.toString===bT||!Fi(n.toString))?JSON.stringify(n,gT,2):String(n),gT=(n,e)=>e&&e.__v_isRef?gT(n,e.value):Np(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((r,[C,D])=>(r[`${C} =>`]=D,r),{})}:vT(e)?{[`Set(${e.size})`]:[...e.values()]}:so(e)&&!gi(e)&&!xT(e)?String(e):e,io={},Bp=[],Dc=()=>{},c8=()=>!1,h8=/^on[^a-z]/,my=n=>h8.test(n),Fx=n=>n.startsWith("onUpdate:"),Ms=Object.assign,Bx=(n,e)=>{const r=n.indexOf(e);r>-1&&n.splice(r,1)},f8=Object.prototype.hasOwnProperty,ga=(n,e)=>f8.call(n,e),gi=Array.isArray,Np=n=>gy(n)==="[object Map]",vT=n=>gy(n)==="[object Set]",Fi=n=>typeof n=="function",Po=n=>typeof n=="string",Nx=n=>typeof n=="symbol",so=n=>n!==null&&typeof n=="object",yT=n=>so(n)&&Fi(n.then)&&Fi(n.catch),bT=Object.prototype.toString,gy=n=>bT.call(n),d8=n=>gy(n).slice(8,-1),xT=n=>gy(n)==="[object Object]",Vx=n=>Po(n)&&n!=="NaN"&&n[0]!=="-"&&""+parseInt(n,10)===n,hv=zx(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),vy=n=>{const e=Object.create(null);return r=>e[r]||(e[r]=n(r))},p8=/-(\w)/g,tc=vy(n=>n.replace(p8,(e,r)=>r?r.toUpperCase():"")),m8=/\B([A-Z])/g,f0=vy(n=>n.replace(m8,"-$1").toLowerCase()),sf=vy(n=>n.charAt(0).toUpperCase()+n.slice(1)),Q1=vy(n=>n?`on${sf(n)}`:""),xm=(n,e)=>!Object.is(n,e),fv=(n,e)=>{for(let r=0;r{Object.defineProperty(n,e,{configurable:!0,enumerable:!1,value:r})},kb=n=>{const e=parseFloat(n);return isNaN(e)?n:e},g8=n=>{const e=Po(n)?Number(n):NaN;return isNaN(e)?n:e};let c3;const v8=()=>c3||(c3=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let du;class _T{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=du,!e&&du&&(this.index=(du.scopes||(du.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const r=du;try{return du=this,e()}finally{du=r}}}on(){du=this}off(){du=this.parent}stop(e){if(this._active){let r,C;for(r=0,C=this.effects.length;r{const e=new Set(n);return e.w=0,e.n=0,e},TT=n=>(n.w&jf)>0,kT=n=>(n.n&jf)>0,b8=({deps:n})=>{if(n.length)for(let e=0;e{const{deps:e}=n;if(e.length){let r=0;for(let C=0;C{(i==="length"||i>=d)&&t.push(g)})}else switch(r!==void 0&&t.push(p.get(r)),e){case"add":gi(n)?Vx(r)&&t.push(p.get("length")):(t.push(p.get(Fd)),Np(n)&&t.push(p.get(Ab)));break;case"delete":gi(n)||(t.push(p.get(Fd)),Np(n)&&t.push(p.get(Ab)));break;case"set":Np(n)&&t.push(p.get(Fd));break}if(t.length===1)t[0]&&Sb(t[0]);else{const d=[];for(const g of t)g&&d.push(...g);Sb(jx(d))}}function Sb(n,e){const r=gi(n)?n:[...n];for(const C of r)C.computed&&f3(C);for(const C of r)C.computed||f3(C)}function f3(n,e){(n!==Lc||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}function _8(n,e){var r;return(r=Sv.get(n))===null||r===void 0?void 0:r.get(e)}const w8=zx("__proto__,__v_isRef,__isVue"),ST=new Set(Object.getOwnPropertyNames(Symbol).filter(n=>n!=="arguments"&&n!=="caller").map(n=>Symbol[n]).filter(Nx)),T8=Hx(),k8=Hx(!1,!0),M8=Hx(!0),d3=A8();function A8(){const n={};return["includes","indexOf","lastIndexOf"].forEach(e=>{n[e]=function(...r){const C=wi(this);for(let T=0,p=this.length;T{n[e]=function(...r){d0();const C=wi(this)[e].apply(this,r);return p0(),C}}),n}function S8(n){const e=wi(this);return $l(e,"has",n),e.hasOwnProperty(n)}function Hx(n=!1,e=!1){return function(C,D,T){if(D==="__v_isReactive")return!n;if(D==="__v_isReadonly")return n;if(D==="__v_isShallow")return e;if(D==="__v_raw"&&T===(n?e?H8:RT:e?IT:LT).get(C))return C;const p=gi(C);if(!n){if(p&&ga(d3,D))return Reflect.get(d3,D,T);if(D==="hasOwnProperty")return S8}const t=Reflect.get(C,D,T);return(Nx(D)?ST.has(D):w8(D))||(n||$l(C,"get",D),e)?t:eo(t)?p&&Vx(D)?t:t.value:so(t)?n?Hm(t):yl(t):t}}const C8=CT(),E8=CT(!0);function CT(n=!1){return function(r,C,D,T){let p=r[C];if($p(p)&&eo(p)&&!eo(D))return!1;if(!n&&(!Cv(D)&&!$p(D)&&(p=wi(p),D=wi(D)),!gi(r)&&eo(p)&&!eo(D)))return p.value=D,!0;const t=gi(r)&&Vx(C)?Number(C)n,yy=n=>Reflect.getPrototypeOf(n);function Kg(n,e,r=!1,C=!1){n=n.__v_raw;const D=wi(n),T=wi(e);r||(e!==T&&$l(D,"get",e),$l(D,"get",T));const{has:p}=yy(D),t=C?Gx:r?Yx:_m;if(p.call(D,e))return t(n.get(e));if(p.call(D,T))return t(n.get(T));n!==D&&n.get(e)}function Jg(n,e=!1){const r=this.__v_raw,C=wi(r),D=wi(n);return e||(n!==D&&$l(C,"has",n),$l(C,"has",D)),n===D?r.has(n):r.has(n)||r.has(D)}function Qg(n,e=!1){return n=n.__v_raw,!e&&$l(wi(n),"iterate",Fd),Reflect.get(n,"size",n)}function p3(n){n=wi(n);const e=wi(this);return yy(e).has.call(e,n)||(e.add(n),ef(e,"add",n,n)),this}function m3(n,e){e=wi(e);const r=wi(this),{has:C,get:D}=yy(r);let T=C.call(r,n);T||(n=wi(n),T=C.call(r,n));const p=D.call(r,n);return r.set(n,e),T?xm(e,p)&&ef(r,"set",n,e):ef(r,"add",n,e),this}function g3(n){const e=wi(this),{has:r,get:C}=yy(e);let D=r.call(e,n);D||(n=wi(n),D=r.call(e,n)),C&&C.call(e,n);const T=e.delete(n);return D&&ef(e,"delete",n,void 0),T}function v3(){const n=wi(this),e=n.size!==0,r=n.clear();return e&&ef(n,"clear",void 0,void 0),r}function ev(n,e){return function(C,D){const T=this,p=T.__v_raw,t=wi(p),d=e?Gx:n?Yx:_m;return!n&&$l(t,"iterate",Fd),p.forEach((g,i)=>C.call(D,d(g),d(i),T))}}function tv(n,e,r){return function(...C){const D=this.__v_raw,T=wi(D),p=Np(T),t=n==="entries"||n===Symbol.iterator&&p,d=n==="keys"&&p,g=D[n](...C),i=r?Gx:e?Yx:_m;return!e&&$l(T,"iterate",d?Ab:Fd),{next(){const{value:M,done:v}=g.next();return v?{value:M,done:v}:{value:t?[i(M[0]),i(M[1])]:i(M),done:v}},[Symbol.iterator](){return this}}}}function Sf(n){return function(...e){return n==="delete"?!1:this}}function D8(){const n={get(T){return Kg(this,T)},get size(){return Qg(this)},has:Jg,add:p3,set:m3,delete:g3,clear:v3,forEach:ev(!1,!1)},e={get(T){return Kg(this,T,!1,!0)},get size(){return Qg(this)},has:Jg,add:p3,set:m3,delete:g3,clear:v3,forEach:ev(!1,!0)},r={get(T){return Kg(this,T,!0)},get size(){return Qg(this,!0)},has(T){return Jg.call(this,T,!0)},add:Sf("add"),set:Sf("set"),delete:Sf("delete"),clear:Sf("clear"),forEach:ev(!0,!1)},C={get(T){return Kg(this,T,!0,!0)},get size(){return Qg(this,!0)},has(T){return Jg.call(this,T,!0)},add:Sf("add"),set:Sf("set"),delete:Sf("delete"),clear:Sf("clear"),forEach:ev(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(T=>{n[T]=tv(T,!1,!1),r[T]=tv(T,!0,!1),e[T]=tv(T,!1,!0),C[T]=tv(T,!0,!0)}),[n,r,e,C]}const[z8,F8,B8,N8]=D8();function qx(n,e){const r=e?n?N8:B8:n?F8:z8;return(C,D,T)=>D==="__v_isReactive"?!n:D==="__v_isReadonly"?n:D==="__v_raw"?C:Reflect.get(ga(r,D)&&D in C?r:C,D,T)}const V8={get:qx(!1,!1)},j8={get:qx(!1,!0)},U8={get:qx(!0,!1)},LT=new WeakMap,IT=new WeakMap,RT=new WeakMap,H8=new WeakMap;function G8(n){switch(n){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function q8(n){return n.__v_skip||!Object.isExtensible(n)?0:G8(d8(n))}function yl(n){return $p(n)?n:Wx(n,!1,ET,V8,LT)}function W8(n){return Wx(n,!1,O8,j8,IT)}function Hm(n){return Wx(n,!0,P8,U8,RT)}function Wx(n,e,r,C,D){if(!so(n)||n.__v_raw&&!(e&&n.__v_isReactive))return n;const T=D.get(n);if(T)return T;const p=q8(n);if(p===0)return n;const t=new Proxy(n,p===2?C:r);return D.set(n,t),t}function Bf(n){return $p(n)?Bf(n.__v_raw):!!(n&&n.__v_isReactive)}function $p(n){return!!(n&&n.__v_isReadonly)}function Cv(n){return!!(n&&n.__v_isShallow)}function PT(n){return Bf(n)||$p(n)}function wi(n){const e=n&&n.__v_raw;return e?wi(e):n}function Zp(n){return Av(n,"__v_skip",!0),n}const _m=n=>so(n)?yl(n):n,Yx=n=>so(n)?Hm(n):n;function OT(n){Ff&&Lc&&(n=wi(n),AT(n.dep||(n.dep=jx())))}function DT(n,e){n=wi(n);const r=n.dep;r&&Sb(r)}function eo(n){return!!(n&&n.__v_isRef===!0)}function Vr(n){return zT(n,!1)}function Wr(n){return zT(n,!0)}function zT(n,e){return eo(n)?n:new Y8(n,e)}class Y8{constructor(e,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?e:wi(e),this._value=r?e:_m(e)}get value(){return OT(this),this._value}set value(e){const r=this.__v_isShallow||Cv(e)||$p(e);e=r?e:wi(e),xm(e,this._rawValue)&&(this._rawValue=e,this._value=r?e:_m(e),DT(this))}}function yu(n){return eo(n)?n.value:n}const $8={get:(n,e,r)=>yu(Reflect.get(n,e,r)),set:(n,e,r,C)=>{const D=n[e];return eo(D)&&!eo(r)?(D.value=r,!0):Reflect.set(n,e,r,C)}};function FT(n){return Bf(n)?n:new Proxy(n,$8)}function by(n){const e=gi(n)?new Array(n.length):{};for(const r in n)e[r]=Cr(n,r);return e}class Z8{constructor(e,r,C){this._object=e,this._key=r,this._defaultValue=C,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return _8(wi(this._object),this._key)}}function Cr(n,e,r){const C=n[e];return eo(C)?C:new Z8(n,e,r)}var BT;class X8{constructor(e,r,C,D){this._setter=r,this.dep=void 0,this.__v_isRef=!0,this[BT]=!1,this._dirty=!0,this.effect=new Ux(e,()=>{this._dirty||(this._dirty=!0,DT(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!D,this.__v_isReadonly=C}get value(){const e=wi(this);return OT(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}BT="__v_isReadonly";function K8(n,e,r=!1){let C,D;const T=Fi(n);return T?(C=n,D=Dc):(C=n.get,D=n.set),new X8(C,D,T||!D,r)}function Nf(n,e,r,C){let D;try{D=C?n(...C):n()}catch(T){xy(T,e,r)}return D}function Qu(n,e,r,C){if(Fi(n)){const T=Nf(n,e,r,C);return T&&yT(T)&&T.catch(p=>{xy(p,e,r)}),T}const D=[];for(let T=0;T>>1;Tm($s[C])sh&&$s.splice(e,1)}function tE(n){gi(n)?Vp.push(...n):(!Gh||!Gh.includes(n,n.allowRecurse?kd+1:kd))&&Vp.push(n),VT()}function y3(n,e=wm?sh+1:0){for(;e<$s.length;e++){const r=$s[e];r&&r.pre&&($s.splice(e,1),e--,r())}}function jT(n){if(Vp.length){const e=[...new Set(Vp)];if(Vp.length=0,Gh){Gh.push(...e);return}for(Gh=e,Gh.sort((r,C)=>Tm(r)-Tm(C)),kd=0;kdn.id==null?1/0:n.id,nE=(n,e)=>{const r=Tm(n)-Tm(e);if(r===0){if(n.pre&&!e.pre)return-1;if(e.pre&&!n.pre)return 1}return r};function UT(n){Cb=!1,wm=!0,$s.sort(nE);const e=Dc;try{for(sh=0;sh<$s.length;sh++){const r=$s[sh];r&&r.active!==!1&&Nf(r,null,14)}}finally{sh=0,$s.length=0,jT(),wm=!1,$x=null,($s.length||Vp.length)&&UT()}}function rE(n,e,...r){if(n.isUnmounted)return;const C=n.vnode.props||io;let D=r;const T=e.startsWith("update:"),p=T&&e.slice(7);if(p&&p in C){const i=`${p==="modelValue"?"model":p}Modifiers`,{number:M,trim:v}=C[i]||io;v&&(D=r.map(f=>Po(f)?f.trim():f)),M&&(D=r.map(kb))}let t,d=C[t=Q1(e)]||C[t=Q1(tc(e))];!d&&T&&(d=C[t=Q1(f0(e))]),d&&Qu(d,n,6,D);const g=C[t+"Once"];if(g){if(!n.emitted)n.emitted={};else if(n.emitted[t])return;n.emitted[t]=!0,Qu(g,n,6,D)}}function HT(n,e,r=!1){const C=e.emitsCache,D=C.get(n);if(D!==void 0)return D;const T=n.emits;let p={},t=!1;if(!Fi(n)){const d=g=>{const i=HT(g,e,!0);i&&(t=!0,Ms(p,i))};!r&&e.mixins.length&&e.mixins.forEach(d),n.extends&&d(n.extends),n.mixins&&n.mixins.forEach(d)}return!T&&!t?(so(n)&&C.set(n,null),null):(gi(T)?T.forEach(d=>p[d]=null):Ms(p,T),so(n)&&C.set(n,p),p)}function _y(n,e){return!n||!my(e)?!1:(e=e.slice(2).replace(/Once$/,""),ga(n,e[0].toLowerCase()+e.slice(1))||ga(n,f0(e))||ga(n,e))}let Fs=null,wy=null;function Ev(n){const e=Fs;return Fs=n,wy=n&&n.type.__scopeId||null,e}function Ty(n){wy=n}function ky(){wy=null}function ci(n,e=Fs,r){if(!e||n._n)return n;const C=(...D)=>{C._d&&E3(-1);const T=Ev(e);let p;try{p=n(...D)}finally{Ev(T),C._d&&E3(1)}return p};return C._n=!0,C._c=!0,C._d=!0,C}function eb(n){const{type:e,vnode:r,proxy:C,withProxy:D,props:T,propsOptions:[p],slots:t,attrs:d,emit:g,render:i,renderCache:M,data:v,setupState:f,ctx:l,inheritAttrs:a}=n;let u,o;const s=Ev(n);try{if(r.shapeFlag&4){const h=D||C;u=oh(i.call(h,h,M,T,f,v,l)),o=d}else{const h=e;u=oh(h.length>1?h(T,{attrs:d,slots:t,emit:g}):h(T,null)),o=e.props?d:iE(d)}}catch(h){dm.length=0,xy(h,n,1),u=gt(ec)}let c=u;if(o&&a!==!1){const h=Object.keys(o),{shapeFlag:m}=c;h.length&&m&7&&(p&&h.some(Fx)&&(o=aE(o,p)),c=tf(c,o))}return r.dirs&&(c=tf(c),c.dirs=c.dirs?c.dirs.concat(r.dirs):r.dirs),r.transition&&(c.transition=r.transition),u=c,Ev(s),u}const iE=n=>{let e;for(const r in n)(r==="class"||r==="style"||my(r))&&((e||(e={}))[r]=n[r]);return e},aE=(n,e)=>{const r={};for(const C in n)(!Fx(C)||!(C.slice(9)in e))&&(r[C]=n[C]);return r};function oE(n,e,r){const{props:C,children:D,component:T}=n,{props:p,children:t,patchFlag:d}=e,g=T.emitsOptions;if(e.dirs||e.transition)return!0;if(r&&d>=0){if(d&1024)return!0;if(d&16)return C?b3(C,p,g):!!p;if(d&8){const i=e.dynamicProps;for(let M=0;Mn.__isSuspense;function uE(n,e){e&&e.pendingBranch?gi(n)?e.effects.push(...n):e.effects.push(n):tE(n)}function ts(n,e){if(Wo){let r=Wo.provides;const C=Wo.parent&&Wo.parent.provides;C===r&&(r=Wo.provides=Object.create(C)),r[n]=e}}function ka(n,e,r=!1){const C=Wo||Fs;if(C){const D=C.parent==null?C.vnode.appContext&&C.vnode.appContext.provides:C.parent.provides;if(D&&n in D)return D[n];if(arguments.length>1)return r&&Fi(e)?e.call(C.proxy):e}}function wu(n,e){return Xx(n,null,e)}const nv={};function $r(n,e,r){return Xx(n,e,r)}function Xx(n,e,{immediate:r,deep:C,flush:D,onTrack:T,onTrigger:p}=io){const t=wT()===(Wo==null?void 0:Wo.scope)?Wo:null;let d,g=!1,i=!1;if(eo(n)?(d=()=>n.value,g=Cv(n)):Bf(n)?(d=()=>n,C=!0):gi(n)?(i=!0,g=n.some(c=>Bf(c)||Cv(c)),d=()=>n.map(c=>{if(eo(c))return c.value;if(Bf(c))return Sd(c);if(Fi(c))return Nf(c,t,2)})):Fi(n)?e?d=()=>Nf(n,t,2):d=()=>{if(!(t&&t.isUnmounted))return M&&M(),Qu(n,t,3,[v])}:d=Dc,e&&C){const c=d;d=()=>Sd(c())}let M,v=c=>{M=o.onStop=()=>{Nf(c,t,4)}},f;if(Sm)if(v=Dc,e?r&&Qu(e,t,3,[d(),i?[]:void 0,v]):d(),D==="sync"){const c=QE();f=c.__watcherHandles||(c.__watcherHandles=[])}else return Dc;let l=i?new Array(n.length).fill(nv):nv;const a=()=>{if(o.active)if(e){const c=o.run();(C||g||(i?c.some((h,m)=>xm(h,l[m])):xm(c,l)))&&(M&&M(),Qu(e,t,3,[c,l===nv?void 0:i&&l[0]===nv?[]:l,v]),l=c)}else o.run()};a.allowRecurse=!!e;let u;D==="sync"?u=a:D==="post"?u=()=>Nl(a,t&&t.suspense):(a.pre=!0,t&&(a.id=t.uid),u=()=>Zx(a));const o=new Ux(d,u);e?r?a():l=o.run():D==="post"?Nl(o.run.bind(o),t&&t.suspense):o.run();const s=()=>{o.stop(),t&&t.scope&&Bx(t.scope.effects,o)};return f&&f.push(s),s}function cE(n,e,r){const C=this.proxy,D=Po(n)?n.includes(".")?GT(C,n):()=>C[n]:n.bind(C,C);let T;Fi(e)?T=e:(T=e.handler,r=e);const p=Wo;Xp(this);const t=Xx(D,T.bind(C),r);return p?Xp(p):Bd(),t}function GT(n,e){const r=e.split(".");return()=>{let C=n;for(let D=0;D{Sd(r,e)});else if(xT(n))for(const r in n)Sd(n[r],e);return n}function qT(){const n={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ks(()=>{n.isMounted=!0}),Tl(()=>{n.isUnmounting=!0}),n}const Gu=[Function,Array],hE={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Gu,onEnter:Gu,onAfterEnter:Gu,onEnterCancelled:Gu,onBeforeLeave:Gu,onLeave:Gu,onAfterLeave:Gu,onLeaveCancelled:Gu,onBeforeAppear:Gu,onAppear:Gu,onAfterAppear:Gu,onAppearCancelled:Gu},setup(n,{slots:e}){const r=Ey(),C=qT();let D;return()=>{const T=e.default&&Kx(e.default(),!0);if(!T||!T.length)return;let p=T[0];if(T.length>1){for(const a of T)if(a.type!==ec){p=a;break}}const t=wi(n),{mode:d}=t;if(C.isLeaving)return tb(p);const g=x3(p);if(!g)return tb(p);const i=km(g,t,C,r);Mm(g,i);const M=r.subTree,v=M&&x3(M);let f=!1;const{getTransitionKey:l}=g.type;if(l){const a=l();D===void 0?D=a:a!==D&&(D=a,f=!0)}if(v&&v.type!==ec&&(!Md(g,v)||f)){const a=km(v,t,C,r);if(Mm(v,a),d==="out-in")return C.isLeaving=!0,a.afterLeave=()=>{C.isLeaving=!1,r.update.active!==!1&&r.update()},tb(p);d==="in-out"&&g.type!==ec&&(a.delayLeave=(u,o,s)=>{const c=YT(C,v);c[String(v.key)]=v,u._leaveCb=()=>{o(),u._leaveCb=void 0,delete i.delayedLeave},i.delayedLeave=s})}return p}}},WT=hE;function YT(n,e){const{leavingVNodes:r}=n;let C=r.get(e.type);return C||(C=Object.create(null),r.set(e.type,C)),C}function km(n,e,r,C){const{appear:D,mode:T,persisted:p=!1,onBeforeEnter:t,onEnter:d,onAfterEnter:g,onEnterCancelled:i,onBeforeLeave:M,onLeave:v,onAfterLeave:f,onLeaveCancelled:l,onBeforeAppear:a,onAppear:u,onAfterAppear:o,onAppearCancelled:s}=e,c=String(n.key),h=YT(r,n),m=(S,_)=>{S&&Qu(S,C,9,_)},w=(S,_)=>{const k=_[1];m(S,_),gi(S)?S.every(E=>E.length<=1)&&k():S.length<=1&&k()},y={mode:T,persisted:p,beforeEnter(S){let _=t;if(!r.isMounted)if(D)_=a||t;else return;S._leaveCb&&S._leaveCb(!0);const k=h[c];k&&Md(n,k)&&k.el._leaveCb&&k.el._leaveCb(),m(_,[S])},enter(S){let _=d,k=g,E=i;if(!r.isMounted)if(D)_=u||d,k=o||g,E=s||i;else return;let x=!1;const A=S._enterCb=L=>{x||(x=!0,L?m(E,[S]):m(k,[S]),y.delayedLeave&&y.delayedLeave(),S._enterCb=void 0)};_?w(_,[S,A]):A()},leave(S,_){const k=String(n.key);if(S._enterCb&&S._enterCb(!0),r.isUnmounting)return _();m(M,[S]);let E=!1;const x=S._leaveCb=A=>{E||(E=!0,_(),A?m(l,[S]):m(f,[S]),S._leaveCb=void 0,h[k]===n&&delete h[k])};h[k]=n,v?w(v,[S,x]):x()},clone(S){return km(S,e,r,C)}};return y}function tb(n){if(My(n))return n=tf(n),n.children=null,n}function x3(n){return My(n)?n.children?n.children[0]:void 0:n}function Mm(n,e){n.shapeFlag&6&&n.component?Mm(n.component.subTree,e):n.shapeFlag&128?(n.ssContent.transition=e.clone(n.ssContent),n.ssFallback.transition=e.clone(n.ssFallback)):n.transition=e}function Kx(n,e=!1,r){let C=[],D=0;for(let T=0;T1)for(let T=0;T!!n.type.__asyncLoader,My=n=>n.type.__isKeepAlive;function $T(n,e){XT(n,"a",e)}function ZT(n,e){XT(n,"da",e)}function XT(n,e,r=Wo){const C=n.__wdc||(n.__wdc=()=>{let D=r;for(;D;){if(D.isDeactivated)return;D=D.parent}return n()});if(Ay(e,C,r),r){let D=r.parent;for(;D&&D.parent;)My(D.parent.vnode)&&fE(C,e,r,D),D=D.parent}}function fE(n,e,r,C){const D=Ay(e,n,C,!0);QT(()=>{Bx(C[e],D)},r)}function Ay(n,e,r=Wo,C=!1){if(r){const D=r[n]||(r[n]=[]),T=e.__weh||(e.__weh=(...p)=>{if(r.isUnmounted)return;d0(),Xp(r);const t=Qu(e,r,n,p);return Bd(),p0(),t});return C?D.unshift(T):D.push(T),T}}const lf=n=>(e,r=Wo)=>(!Sm||n==="sp")&&Ay(n,(...C)=>e(...C),r),Sy=lf("bm"),Ks=lf("m"),KT=lf("bu"),JT=lf("u"),Tl=lf("bum"),QT=lf("um"),dE=lf("sp"),pE=lf("rtg"),mE=lf("rtc");function gE(n,e=Wo){Ay("ec",n,e)}function Co(n,e){const r=Fs;if(r===null)return n;const C=Ly(r)||r.proxy,D=n.dirs||(n.dirs=[]);for(let T=0;Te(p,t,void 0,T&&T[t]));else{const p=Object.keys(n);D=new Array(p.length);for(let t=0,d=p.length;tIv(e)?!(e.type===ec||e.type===Yr&&!t4(e.children)):!0)?n:null}const Eb=n=>n?f4(n)?Ly(n)||n.proxy:Eb(n.parent):null,hm=Ms(Object.create(null),{$:n=>n,$el:n=>n.vnode.el,$data:n=>n.data,$props:n=>n.props,$attrs:n=>n.attrs,$slots:n=>n.slots,$refs:n=>n.refs,$parent:n=>Eb(n.parent),$root:n=>Eb(n.root),$emit:n=>n.emit,$options:n=>e2(n),$forceUpdate:n=>n.f||(n.f=()=>Zx(n.update)),$nextTick:n=>n.n||(n.n=Ua.bind(n.proxy)),$watch:n=>cE.bind(n)}),rb=(n,e)=>n!==io&&!n.__isScriptSetup&&ga(n,e),bE={get({_:n},e){const{ctx:r,setupState:C,data:D,props:T,accessCache:p,type:t,appContext:d}=n;let g;if(e[0]!=="$"){const f=p[e];if(f!==void 0)switch(f){case 1:return C[e];case 2:return D[e];case 4:return r[e];case 3:return T[e]}else{if(rb(C,e))return p[e]=1,C[e];if(D!==io&&ga(D,e))return p[e]=2,D[e];if((g=n.propsOptions[0])&&ga(g,e))return p[e]=3,T[e];if(r!==io&&ga(r,e))return p[e]=4,r[e];Lb&&(p[e]=0)}}const i=hm[e];let M,v;if(i)return e==="$attrs"&&$l(n,"get",e),i(n);if((M=t.__cssModules)&&(M=M[e]))return M;if(r!==io&&ga(r,e))return p[e]=4,r[e];if(v=d.config.globalProperties,ga(v,e))return v[e]},set({_:n},e,r){const{data:C,setupState:D,ctx:T}=n;return rb(D,e)?(D[e]=r,!0):C!==io&&ga(C,e)?(C[e]=r,!0):ga(n.props,e)||e[0]==="$"&&e.slice(1)in n?!1:(T[e]=r,!0)},has({_:{data:n,setupState:e,accessCache:r,ctx:C,appContext:D,propsOptions:T}},p){let t;return!!r[p]||n!==io&&ga(n,p)||rb(e,p)||(t=T[0])&&ga(t,p)||ga(C,p)||ga(hm,p)||ga(D.config.globalProperties,p)},defineProperty(n,e,r){return r.get!=null?n._.accessCache[e]=0:ga(r,"value")&&this.set(n,e,r.value,null),Reflect.defineProperty(n,e,r)}};let Lb=!0;function xE(n){const e=e2(n),r=n.proxy,C=n.ctx;Lb=!1,e.beforeCreate&&w3(e.beforeCreate,n,"bc");const{data:D,computed:T,methods:p,watch:t,provide:d,inject:g,created:i,beforeMount:M,mounted:v,beforeUpdate:f,updated:l,activated:a,deactivated:u,beforeDestroy:o,beforeUnmount:s,destroyed:c,unmounted:h,render:m,renderTracked:w,renderTriggered:y,errorCaptured:S,serverPrefetch:_,expose:k,inheritAttrs:E,components:x,directives:A,filters:L}=e;if(g&&_E(g,C,null,n.appContext.config.unwrapInjectedRef),p)for(const I in p){const O=p[I];Fi(O)&&(C[I]=O.bind(r))}if(D){const I=D.call(r,r);so(I)&&(n.data=yl(I))}if(Lb=!0,T)for(const I in T){const O=T[I],z=Fi(O)?O.bind(r,r):Fi(O.get)?O.get.bind(r,r):Dc,F=!Fi(O)&&Fi(O.set)?O.set.bind(r):Dc,B=cn({get:z,set:F});Object.defineProperty(C,I,{enumerable:!0,configurable:!0,get:()=>B.value,set:N=>B.value=N})}if(t)for(const I in t)n4(t[I],C,r,I);if(d){const I=Fi(d)?d.call(r):d;Reflect.ownKeys(I).forEach(O=>{ts(O,I[O])})}i&&w3(i,n,"c");function R(I,O){gi(O)?O.forEach(z=>I(z.bind(r))):O&&I(O.bind(r))}if(R(Sy,M),R(Ks,v),R(KT,f),R(JT,l),R($T,a),R(ZT,u),R(gE,S),R(mE,w),R(pE,y),R(Tl,s),R(QT,h),R(dE,_),gi(k))if(k.length){const I=n.exposed||(n.exposed={});k.forEach(O=>{Object.defineProperty(I,O,{get:()=>r[O],set:z=>r[O]=z})})}else n.exposed||(n.exposed={});m&&n.render===Dc&&(n.render=m),E!=null&&(n.inheritAttrs=E),x&&(n.components=x),A&&(n.directives=A)}function _E(n,e,r=Dc,C=!1){gi(n)&&(n=Ib(n));for(const D in n){const T=n[D];let p;so(T)?"default"in T?p=ka(T.from||D,T.default,!0):p=ka(T.from||D):p=ka(T),eo(p)&&C?Object.defineProperty(e,D,{enumerable:!0,configurable:!0,get:()=>p.value,set:t=>p.value=t}):e[D]=p}}function w3(n,e,r){Qu(gi(n)?n.map(C=>C.bind(e.proxy)):n.bind(e.proxy),e,r)}function n4(n,e,r,C){const D=C.includes(".")?GT(r,C):()=>r[C];if(Po(n)){const T=e[n];Fi(T)&&$r(D,T)}else if(Fi(n))$r(D,n.bind(r));else if(so(n))if(gi(n))n.forEach(T=>n4(T,e,r,C));else{const T=Fi(n.handler)?n.handler.bind(r):e[n.handler];Fi(T)&&$r(D,T,n)}}function e2(n){const e=n.type,{mixins:r,extends:C}=e,{mixins:D,optionsCache:T,config:{optionMergeStrategies:p}}=n.appContext,t=T.get(e);let d;return t?d=t:!D.length&&!r&&!C?d=e:(d={},D.length&&D.forEach(g=>Lv(d,g,p,!0)),Lv(d,e,p)),so(e)&&T.set(e,d),d}function Lv(n,e,r,C=!1){const{mixins:D,extends:T}=e;T&&Lv(n,T,r,!0),D&&D.forEach(p=>Lv(n,p,r,!0));for(const p in e)if(!(C&&p==="expose")){const t=wE[p]||r&&r[p];n[p]=t?t(n[p],e[p]):e[p]}return n}const wE={data:T3,props:Td,emits:Td,methods:Td,computed:Td,beforeCreate:pl,created:pl,beforeMount:pl,mounted:pl,beforeUpdate:pl,updated:pl,beforeDestroy:pl,beforeUnmount:pl,destroyed:pl,unmounted:pl,activated:pl,deactivated:pl,errorCaptured:pl,serverPrefetch:pl,components:Td,directives:Td,watch:kE,provide:T3,inject:TE};function T3(n,e){return e?n?function(){return Ms(Fi(n)?n.call(this,this):n,Fi(e)?e.call(this,this):e)}:e:n}function TE(n,e){return Td(Ib(n),Ib(e))}function Ib(n){if(gi(n)){const e={};for(let r=0;r0)&&!(p&16)){if(p&8){const i=n.vnode.dynamicProps;for(let M=0;M{d=!0;const[v,f]=i4(M,e,!0);Ms(p,v),f&&t.push(...f)};!r&&e.mixins.length&&e.mixins.forEach(i),n.extends&&i(n.extends),n.mixins&&n.mixins.forEach(i)}if(!T&&!d)return so(n)&&C.set(n,Bp),Bp;if(gi(T))for(let i=0;i-1,f[1]=a<0||l-1||ga(f,"default"))&&t.push(M)}}}const g=[p,t];return so(n)&&C.set(n,g),g}function k3(n){return n[0]!=="$"}function M3(n){const e=n&&n.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:n===null?"null":""}function A3(n,e){return M3(n)===M3(e)}function S3(n,e){return gi(e)?e.findIndex(r=>A3(r,n)):Fi(e)&&A3(e,n)?0:-1}const a4=n=>n[0]==="_"||n==="$stable",t2=n=>gi(n)?n.map(oh):[oh(n)],SE=(n,e,r)=>{if(e._n)return e;const C=ci((...D)=>t2(e(...D)),r);return C._c=!1,C},o4=(n,e,r)=>{const C=n._ctx;for(const D in n){if(a4(D))continue;const T=n[D];if(Fi(T))e[D]=SE(D,T,C);else if(T!=null){const p=t2(T);e[D]=()=>p}}},s4=(n,e)=>{const r=t2(e);n.slots.default=()=>r},CE=(n,e)=>{if(n.vnode.shapeFlag&32){const r=e._;r?(n.slots=wi(e),Av(e,"_",r)):o4(e,n.slots={})}else n.slots={},e&&s4(n,e);Av(n.slots,Cy,1)},EE=(n,e,r)=>{const{vnode:C,slots:D}=n;let T=!0,p=io;if(C.shapeFlag&32){const t=e._;t?r&&t===1?T=!1:(Ms(D,e),!r&&t===1&&delete D._):(T=!e.$stable,o4(e,D)),p=e}else e&&(s4(n,e),p={default:1});if(T)for(const t in D)!a4(t)&&!(t in p)&&delete D[t]};function l4(){return{app:null,config:{isNativeTag:c8,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let LE=0;function IE(n,e){return function(C,D=null){Fi(C)||(C=Object.assign({},C)),D!=null&&!so(D)&&(D=null);const T=l4(),p=new Set;let t=!1;const d=T.app={_uid:LE++,_component:C,_props:D,_container:null,_context:T,_instance:null,version:e7,get config(){return T.config},set config(g){},use(g,...i){return p.has(g)||(g&&Fi(g.install)?(p.add(g),g.install(d,...i)):Fi(g)&&(p.add(g),g(d,...i))),d},mixin(g){return T.mixins.includes(g)||T.mixins.push(g),d},component(g,i){return i?(T.components[g]=i,d):T.components[g]},directive(g,i){return i?(T.directives[g]=i,d):T.directives[g]},mount(g,i,M){if(!t){const v=gt(C,D);return v.appContext=T,i&&e?e(v,g):n(v,g,M),t=!0,d._container=g,g.__vue_app__=d,Ly(v.component)||v.component.proxy}},unmount(){t&&(n(null,d._container),delete d._container.__vue_app__)},provide(g,i){return T.provides[g]=i,d}};return d}}function Pb(n,e,r,C,D=!1){if(gi(n)){n.forEach((v,f)=>Pb(v,e&&(gi(e)?e[f]:e),r,C,D));return}if(cm(C)&&!D)return;const T=C.shapeFlag&4?Ly(C.component)||C.component.proxy:C.el,p=D?null:T,{i:t,r:d}=n,g=e&&e.r,i=t.refs===io?t.refs={}:t.refs,M=t.setupState;if(g!=null&&g!==d&&(Po(g)?(i[g]=null,ga(M,g)&&(M[g]=null)):eo(g)&&(g.value=null)),Fi(d))Nf(d,t,12,[p,i]);else{const v=Po(d),f=eo(d);if(v||f){const l=()=>{if(n.f){const a=v?ga(M,d)?M[d]:i[d]:d.value;D?gi(a)&&Bx(a,T):gi(a)?a.includes(T)||a.push(T):v?(i[d]=[T],ga(M,d)&&(M[d]=i[d])):(d.value=[T],n.k&&(i[n.k]=d.value))}else v?(i[d]=p,ga(M,d)&&(M[d]=p)):f&&(d.value=p,n.k&&(i[n.k]=p))};p?(l.id=-1,Nl(l,r)):l()}}}const Nl=uE;function RE(n){return PE(n)}function PE(n,e){const r=v8();r.__VUE__=!0;const{insert:C,remove:D,patchProp:T,createElement:p,createText:t,createComment:d,setText:g,setElementText:i,parentNode:M,nextSibling:v,setScopeId:f=Dc,insertStaticContent:l}=n,a=(Z,X,Q,re=null,ie=null,oe=null,ue=!1,ce=null,ye=!!X.dynamicChildren)=>{if(Z===X)return;Z&&!Md(Z,X)&&(re=G(Z),N(Z,ie,oe,!0),Z=null),X.patchFlag===-2&&(ye=!1,X.dynamicChildren=null);const{type:de,ref:me,shapeFlag:pe}=X;switch(de){case Gm:u(Z,X,Q,re);break;case ec:o(Z,X,Q,re);break;case dv:Z==null&&s(X,Q,re,ue);break;case Yr:x(Z,X,Q,re,ie,oe,ue,ce,ye);break;default:pe&1?m(Z,X,Q,re,ie,oe,ue,ce,ye):pe&6?A(Z,X,Q,re,ie,oe,ue,ce,ye):(pe&64||pe&128)&&de.process(Z,X,Q,re,ie,oe,ue,ce,ye,H)}me!=null&&ie&&Pb(me,Z&&Z.ref,oe,X||Z,!X)},u=(Z,X,Q,re)=>{if(Z==null)C(X.el=t(X.children),Q,re);else{const ie=X.el=Z.el;X.children!==Z.children&&g(ie,X.children)}},o=(Z,X,Q,re)=>{Z==null?C(X.el=d(X.children||""),Q,re):X.el=Z.el},s=(Z,X,Q,re)=>{[Z.el,Z.anchor]=l(Z.children,X,Q,re,Z.el,Z.anchor)},c=({el:Z,anchor:X},Q,re)=>{let ie;for(;Z&&Z!==X;)ie=v(Z),C(Z,Q,re),Z=ie;C(X,Q,re)},h=({el:Z,anchor:X})=>{let Q;for(;Z&&Z!==X;)Q=v(Z),D(Z),Z=Q;D(X)},m=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{ue=ue||X.type==="svg",Z==null?w(X,Q,re,ie,oe,ue,ce,ye):_(Z,X,ie,oe,ue,ce,ye)},w=(Z,X,Q,re,ie,oe,ue,ce)=>{let ye,de;const{type:me,props:pe,shapeFlag:xe,transition:Pe,dirs:_e}=Z;if(ye=Z.el=p(Z.type,oe,pe&&pe.is,pe),xe&8?i(ye,Z.children):xe&16&&S(Z.children,ye,null,re,ie,oe&&me!=="foreignObject",ue,ce),_e&&vd(Z,null,re,"created"),y(ye,Z,Z.scopeId,ue,re),pe){for(const Se in pe)Se!=="value"&&!hv(Se)&&T(ye,Se,null,pe[Se],oe,Z.children,re,ie,U);"value"in pe&&T(ye,"value",null,pe.value),(de=pe.onVnodeBeforeMount)&&nh(de,re,Z)}_e&&vd(Z,null,re,"beforeMount");const Me=(!ie||ie&&!ie.pendingBranch)&&Pe&&!Pe.persisted;Me&&Pe.beforeEnter(ye),C(ye,X,Q),((de=pe&&pe.onVnodeMounted)||Me||_e)&&Nl(()=>{de&&nh(de,re,Z),Me&&Pe.enter(ye),_e&&vd(Z,null,re,"mounted")},ie)},y=(Z,X,Q,re,ie)=>{if(Q&&f(Z,Q),re)for(let oe=0;oe{for(let de=ye;de{const ce=X.el=Z.el;let{patchFlag:ye,dynamicChildren:de,dirs:me}=X;ye|=Z.patchFlag&16;const pe=Z.props||io,xe=X.props||io;let Pe;Q&&yd(Q,!1),(Pe=xe.onVnodeBeforeUpdate)&&nh(Pe,Q,X,Z),me&&vd(X,Z,Q,"beforeUpdate"),Q&&yd(Q,!0);const _e=ie&&X.type!=="foreignObject";if(de?k(Z.dynamicChildren,de,ce,Q,re,_e,oe):ue||O(Z,X,ce,null,Q,re,_e,oe,!1),ye>0){if(ye&16)E(ce,X,pe,xe,Q,re,ie);else if(ye&2&&pe.class!==xe.class&&T(ce,"class",null,xe.class,ie),ye&4&&T(ce,"style",pe.style,xe.style,ie),ye&8){const Me=X.dynamicProps;for(let Se=0;Se{Pe&&nh(Pe,Q,X,Z),me&&vd(X,Z,Q,"updated")},re)},k=(Z,X,Q,re,ie,oe,ue)=>{for(let ce=0;ce{if(Q!==re){if(Q!==io)for(const ce in Q)!hv(ce)&&!(ce in re)&&T(Z,ce,Q[ce],null,ue,X.children,ie,oe,U);for(const ce in re){if(hv(ce))continue;const ye=re[ce],de=Q[ce];ye!==de&&ce!=="value"&&T(Z,ce,de,ye,ue,X.children,ie,oe,U)}"value"in re&&T(Z,"value",Q.value,re.value)}},x=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{const de=X.el=Z?Z.el:t(""),me=X.anchor=Z?Z.anchor:t("");let{patchFlag:pe,dynamicChildren:xe,slotScopeIds:Pe}=X;Pe&&(ce=ce?ce.concat(Pe):Pe),Z==null?(C(de,Q,re),C(me,Q,re),S(X.children,Q,me,ie,oe,ue,ce,ye)):pe>0&&pe&64&&xe&&Z.dynamicChildren?(k(Z.dynamicChildren,xe,Q,ie,oe,ue,ce),(X.key!=null||ie&&X===ie.subTree)&&n2(Z,X,!0)):O(Z,X,Q,me,ie,oe,ue,ce,ye)},A=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{X.slotScopeIds=ce,Z==null?X.shapeFlag&512?ie.ctx.activate(X,Q,re,ue,ye):L(X,Q,re,ie,oe,ue,ye):b(Z,X,ye)},L=(Z,X,Q,re,ie,oe,ue)=>{const ce=Z.component=qE(Z,re,ie);if(My(Z)&&(ce.ctx.renderer=H),WE(ce),ce.asyncDep){if(ie&&ie.registerDep(ce,R),!Z.el){const ye=ce.subTree=gt(ec);o(null,ye,X,Q)}return}R(ce,Z,X,Q,ie,oe,ue)},b=(Z,X,Q)=>{const re=X.component=Z.component;if(oE(Z,X,Q))if(re.asyncDep&&!re.asyncResolved){I(re,X,Q);return}else re.next=X,eE(re.update),re.update();else X.el=Z.el,re.vnode=X},R=(Z,X,Q,re,ie,oe,ue)=>{const ce=()=>{if(Z.isMounted){let{next:me,bu:pe,u:xe,parent:Pe,vnode:_e}=Z,Me=me,Se;yd(Z,!1),me?(me.el=_e.el,I(Z,me,ue)):me=_e,pe&&fv(pe),(Se=me.props&&me.props.onVnodeBeforeUpdate)&&nh(Se,Pe,me,_e),yd(Z,!0);const Ce=eb(Z),ae=Z.subTree;Z.subTree=Ce,a(ae,Ce,M(ae.el),G(ae),Z,ie,oe),me.el=Ce.el,Me===null&&sE(Z,Ce.el),xe&&Nl(xe,ie),(Se=me.props&&me.props.onVnodeUpdated)&&Nl(()=>nh(Se,Pe,me,_e),ie)}else{let me;const{el:pe,props:xe}=X,{bm:Pe,m:_e,parent:Me}=Z,Se=cm(X);if(yd(Z,!1),Pe&&fv(Pe),!Se&&(me=xe&&xe.onVnodeBeforeMount)&&nh(me,Me,X),yd(Z,!0),pe&&te){const Ce=()=>{Z.subTree=eb(Z),te(pe,Z.subTree,Z,ie,null)};Se?X.type.__asyncLoader().then(()=>!Z.isUnmounted&&Ce()):Ce()}else{const Ce=Z.subTree=eb(Z);a(null,Ce,Q,re,Z,ie,oe),X.el=Ce.el}if(_e&&Nl(_e,ie),!Se&&(me=xe&&xe.onVnodeMounted)){const Ce=X;Nl(()=>nh(me,Me,Ce),ie)}(X.shapeFlag&256||Me&&cm(Me.vnode)&&Me.vnode.shapeFlag&256)&&Z.a&&Nl(Z.a,ie),Z.isMounted=!0,X=Q=re=null}},ye=Z.effect=new Ux(ce,()=>Zx(de),Z.scope),de=Z.update=()=>ye.run();de.id=Z.uid,yd(Z,!0),de()},I=(Z,X,Q)=>{X.component=Z;const re=Z.vnode.props;Z.vnode=X,Z.next=null,AE(Z,X.props,re,Q),EE(Z,X.children,Q),d0(),y3(),p0()},O=(Z,X,Q,re,ie,oe,ue,ce,ye=!1)=>{const de=Z&&Z.children,me=Z?Z.shapeFlag:0,pe=X.children,{patchFlag:xe,shapeFlag:Pe}=X;if(xe>0){if(xe&128){F(de,pe,Q,re,ie,oe,ue,ce,ye);return}else if(xe&256){z(de,pe,Q,re,ie,oe,ue,ce,ye);return}}Pe&8?(me&16&&U(de,ie,oe),pe!==de&&i(Q,pe)):me&16?Pe&16?F(de,pe,Q,re,ie,oe,ue,ce,ye):U(de,ie,oe,!0):(me&8&&i(Q,""),Pe&16&&S(pe,Q,re,ie,oe,ue,ce,ye))},z=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{Z=Z||Bp,X=X||Bp;const de=Z.length,me=X.length,pe=Math.min(de,me);let xe;for(xe=0;xeme?U(Z,ie,oe,!0,!1,pe):S(X,Q,re,ie,oe,ue,ce,ye,pe)},F=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{let de=0;const me=X.length;let pe=Z.length-1,xe=me-1;for(;de<=pe&&de<=xe;){const Pe=Z[de],_e=X[de]=ye?Rf(X[de]):oh(X[de]);if(Md(Pe,_e))a(Pe,_e,Q,null,ie,oe,ue,ce,ye);else break;de++}for(;de<=pe&&de<=xe;){const Pe=Z[pe],_e=X[xe]=ye?Rf(X[xe]):oh(X[xe]);if(Md(Pe,_e))a(Pe,_e,Q,null,ie,oe,ue,ce,ye);else break;pe--,xe--}if(de>pe){if(de<=xe){const Pe=xe+1,_e=Pexe)for(;de<=pe;)N(Z[de],ie,oe,!0),de++;else{const Pe=de,_e=de,Me=new Map;for(de=_e;de<=xe;de++){const Be=X[de]=ye?Rf(X[de]):oh(X[de]);Be.key!=null&&Me.set(Be.key,de)}let Se,Ce=0;const ae=xe-_e+1;let fe=!1,be=0;const ke=new Array(ae);for(de=0;de=ae){N(Be,ie,oe,!0);continue}let ze;if(Be.key!=null)ze=Me.get(Be.key);else for(Se=_e;Se<=xe;Se++)if(ke[Se-_e]===0&&Md(Be,X[Se])){ze=Se;break}ze===void 0?N(Be,ie,oe,!0):(ke[ze-_e]=de+1,ze>=be?be=ze:fe=!0,a(Be,X[ze],Q,null,ie,oe,ue,ce,ye),Ce++)}const Le=fe?OE(ke):Bp;for(Se=Le.length-1,de=ae-1;de>=0;de--){const Be=_e+de,ze=X[Be],je=Be+1{const{el:oe,type:ue,transition:ce,children:ye,shapeFlag:de}=Z;if(de&6){B(Z.component.subTree,X,Q,re);return}if(de&128){Z.suspense.move(X,Q,re);return}if(de&64){ue.move(Z,X,Q,H);return}if(ue===Yr){C(oe,X,Q);for(let pe=0;pece.enter(oe),ie);else{const{leave:pe,delayLeave:xe,afterLeave:Pe}=ce,_e=()=>C(oe,X,Q),Me=()=>{pe(oe,()=>{_e(),Pe&&Pe()})};xe?xe(oe,_e,Me):Me()}else C(oe,X,Q)},N=(Z,X,Q,re=!1,ie=!1)=>{const{type:oe,props:ue,ref:ce,children:ye,dynamicChildren:de,shapeFlag:me,patchFlag:pe,dirs:xe}=Z;if(ce!=null&&Pb(ce,null,Q,Z,!0),me&256){X.ctx.deactivate(Z);return}const Pe=me&1&&xe,_e=!cm(Z);let Me;if(_e&&(Me=ue&&ue.onVnodeBeforeUnmount)&&nh(Me,X,Z),me&6)$(Z.component,Q,re);else{if(me&128){Z.suspense.unmount(Q,re);return}Pe&&vd(Z,null,X,"beforeUnmount"),me&64?Z.type.remove(Z,X,Q,ie,H,re):de&&(oe!==Yr||pe>0&&pe&64)?U(de,X,Q,!1,!0):(oe===Yr&&pe&384||!ie&&me&16)&&U(ye,X,Q),re&&W(Z)}(_e&&(Me=ue&&ue.onVnodeUnmounted)||Pe)&&Nl(()=>{Me&&nh(Me,X,Z),Pe&&vd(Z,null,X,"unmounted")},Q)},W=Z=>{const{type:X,el:Q,anchor:re,transition:ie}=Z;if(X===Yr){j(Q,re);return}if(X===dv){h(Z);return}const oe=()=>{D(Q),ie&&!ie.persisted&&ie.afterLeave&&ie.afterLeave()};if(Z.shapeFlag&1&&ie&&!ie.persisted){const{leave:ue,delayLeave:ce}=ie,ye=()=>ue(Q,oe);ce?ce(Z.el,oe,ye):ye()}else oe()},j=(Z,X)=>{let Q;for(;Z!==X;)Q=v(Z),D(Z),Z=Q;D(X)},$=(Z,X,Q)=>{const{bum:re,scope:ie,update:oe,subTree:ue,um:ce}=Z;re&&fv(re),ie.stop(),oe&&(oe.active=!1,N(ue,Z,X,Q)),ce&&Nl(ce,X),Nl(()=>{Z.isUnmounted=!0},X),X&&X.pendingBranch&&!X.isUnmounted&&Z.asyncDep&&!Z.asyncResolved&&Z.suspenseId===X.pendingId&&(X.deps--,X.deps===0&&X.resolve())},U=(Z,X,Q,re=!1,ie=!1,oe=0)=>{for(let ue=oe;ueZ.shapeFlag&6?G(Z.component.subTree):Z.shapeFlag&128?Z.suspense.next():v(Z.anchor||Z.el),q=(Z,X,Q)=>{Z==null?X._vnode&&N(X._vnode,null,null,!0):a(X._vnode||null,Z,X,null,null,null,Q),y3(),jT(),X._vnode=Z},H={p:a,um:N,m:B,r:W,mt:L,mc:S,pc:O,pbc:k,n:G,o:n};let ne,te;return e&&([ne,te]=e(H)),{render:q,hydrate:ne,createApp:IE(q,ne)}}function yd({effect:n,update:e},r){n.allowRecurse=e.allowRecurse=r}function n2(n,e,r=!1){const C=n.children,D=e.children;if(gi(C)&&gi(D))for(let T=0;T>1,n[r[t]]0&&(e[C]=r[T-1]),r[T]=C)}}for(T=r.length,p=r[T-1];T-- >0;)r[T]=p,p=e[p];return r}const DE=n=>n.__isTeleport,fm=n=>n&&(n.disabled||n.disabled===""),C3=n=>typeof SVGElement<"u"&&n instanceof SVGElement,Ob=(n,e)=>{const r=n&&n.to;return Po(r)?e?e(r):null:r},zE={__isTeleport:!0,process(n,e,r,C,D,T,p,t,d,g){const{mc:i,pc:M,pbc:v,o:{insert:f,querySelector:l,createText:a,createComment:u}}=g,o=fm(e.props);let{shapeFlag:s,children:c,dynamicChildren:h}=e;if(n==null){const m=e.el=a(""),w=e.anchor=a("");f(m,r,C),f(w,r,C);const y=e.target=Ob(e.props,l),S=e.targetAnchor=a("");y&&(f(S,y),p=p||C3(y));const _=(k,E)=>{s&16&&i(c,k,E,D,T,p,t,d)};o?_(r,w):y&&_(y,S)}else{e.el=n.el;const m=e.anchor=n.anchor,w=e.target=n.target,y=e.targetAnchor=n.targetAnchor,S=fm(n.props),_=S?r:w,k=S?m:y;if(p=p||C3(w),h?(v(n.dynamicChildren,h,_,D,T,p,t),n2(n,e,!0)):d||M(n,e,_,k,D,T,p,t,!1),o)S||rv(e,r,m,g,1);else if((e.props&&e.props.to)!==(n.props&&n.props.to)){const E=e.target=Ob(e.props,l);E&&rv(e,E,null,g,0)}else S&&rv(e,w,y,g,1)}u4(e)},remove(n,e,r,C,{um:D,o:{remove:T}},p){const{shapeFlag:t,children:d,anchor:g,targetAnchor:i,target:M,props:v}=n;if(M&&T(i),(p||!fm(v))&&(T(g),t&16))for(let f=0;f0?Ic||Bp:null,NE(),Am>0&&Ic&&Ic.push(n),n}function ei(n,e,r,C,D,T){return c4(ti(n,e,r,C,D,T,!0))}function za(n,e,r,C,D){return c4(gt(n,e,r,C,D,!0))}function Iv(n){return n?n.__v_isVNode===!0:!1}function Md(n,e){return n.type===e.type&&n.key===e.key}const Cy="__vInternal",h4=({key:n})=>n??null,pv=({ref:n,ref_key:e,ref_for:r})=>n!=null?Po(n)||eo(n)||Fi(n)?{i:Fs,r:n,k:e,f:!!r}:n:null;function ti(n,e=null,r=null,C=0,D=null,T=n===Yr?0:1,p=!1,t=!1){const d={__v_isVNode:!0,__v_skip:!0,type:n,props:e,key:e&&h4(e),ref:e&&pv(e),scopeId:wy,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:T,patchFlag:C,dynamicProps:D,dynamicChildren:null,appContext:null,ctx:Fs};return t?(r2(d,r),T&128&&n.normalize(d)):r&&(d.shapeFlag|=Po(r)?8:16),Am>0&&!p&&Ic&&(d.patchFlag>0||T&6)&&d.patchFlag!==32&&Ic.push(d),d}const gt=VE;function VE(n,e=null,r=null,C=0,D=null,T=!1){if((!n||n===e4)&&(n=ec),Iv(n)){const t=tf(n,e,!0);return r&&r2(t,r),Am>0&&!T&&Ic&&(t.shapeFlag&6?Ic[Ic.indexOf(n)]=t:Ic.push(t)),t.patchFlag|=-2,t}if(KE(n)&&(n=n.__vccOpts),e){e=jE(e);let{class:t,style:d}=e;t&&!Po(t)&&(e.class=Ju(t)),so(d)&&(PT(d)&&!gi(d)&&(d=Ms({},d)),e.style=zs(d))}const p=Po(n)?1:lE(n)?128:DE(n)?64:so(n)?4:Fi(n)?2:0;return ti(n,e,r,C,D,p,T,!0)}function jE(n){return n?PT(n)||Cy in n?Ms({},n):n:null}function tf(n,e,r=!1){const{props:C,ref:D,patchFlag:T,children:p}=n,t=e?qr(C||{},e):C;return{__v_isVNode:!0,__v_skip:!0,type:n.type,props:t,key:t&&h4(t),ref:e&&e.ref?r&&D?gi(D)?D.concat(pv(e)):[D,pv(e)]:pv(e):D,scopeId:n.scopeId,slotScopeIds:n.slotScopeIds,children:p,target:n.target,targetAnchor:n.targetAnchor,staticCount:n.staticCount,shapeFlag:n.shapeFlag,patchFlag:e&&n.type!==Yr?T===-1?16:T|16:T,dynamicProps:n.dynamicProps,dynamicChildren:n.dynamicChildren,appContext:n.appContext,dirs:n.dirs,transition:n.transition,component:n.component,suspense:n.suspense,ssContent:n.ssContent&&tf(n.ssContent),ssFallback:n.ssFallback&&tf(n.ssFallback),el:n.el,anchor:n.anchor,ctx:n.ctx,ce:n.ce}}function ia(n=" ",e=0){return gt(Gm,null,n,e)}function UE(n,e){const r=gt(dv,null,n);return r.staticCount=e,r}function Zi(n="",e=!1){return e?(Rr(),za(ec,null,n)):gt(ec,null,n)}function oh(n){return n==null||typeof n=="boolean"?gt(ec):gi(n)?gt(Yr,null,n.slice()):typeof n=="object"?Rf(n):gt(Gm,null,String(n))}function Rf(n){return n.el===null&&n.patchFlag!==-1||n.memo?n:tf(n)}function r2(n,e){let r=0;const{shapeFlag:C}=n;if(e==null)e=null;else if(gi(e))r=16;else if(typeof e=="object")if(C&65){const D=e.default;D&&(D._c&&(D._d=!1),r2(n,D()),D._c&&(D._d=!0));return}else{r=32;const D=e._;!D&&!(Cy in e)?e._ctx=Fs:D===3&&Fs&&(Fs.slots._===1?e._=1:(e._=2,n.patchFlag|=1024))}else Fi(e)?(e={default:e,_ctx:Fs},r=32):(e=String(e),C&64?(r=16,e=[ia(e)]):r=8);n.children=e,n.shapeFlag|=r}function qr(...n){const e={};for(let r=0;rWo||Fs,Xp=n=>{Wo=n,n.scope.on()},Bd=()=>{Wo&&Wo.scope.off(),Wo=null};function f4(n){return n.vnode.shapeFlag&4}let Sm=!1;function WE(n,e=!1){Sm=e;const{props:r,children:C}=n.vnode,D=f4(n);ME(n,r,D,e),CE(n,C);const T=D?YE(n,e):void 0;return Sm=!1,T}function YE(n,e){const r=n.type;n.accessCache=Object.create(null),n.proxy=Zp(new Proxy(n.ctx,bE));const{setup:C}=r;if(C){const D=n.setupContext=C.length>1?ZE(n):null;Xp(n),d0();const T=Nf(C,n,0,[n.props,D]);if(p0(),Bd(),yT(T)){if(T.then(Bd,Bd),e)return T.then(p=>{L3(n,p,e)}).catch(p=>{xy(p,n,0)});n.asyncDep=T}else L3(n,T,e)}else d4(n,e)}function L3(n,e,r){Fi(e)?n.type.__ssrInlineRender?n.ssrRender=e:n.render=e:so(e)&&(n.setupState=FT(e)),d4(n,r)}let I3;function d4(n,e,r){const C=n.type;if(!n.render){if(!e&&I3&&!C.render){const D=C.template||e2(n).template;if(D){const{isCustomElement:T,compilerOptions:p}=n.appContext.config,{delimiters:t,compilerOptions:d}=C,g=Ms(Ms({isCustomElement:T,delimiters:t},p),d);C.render=I3(D,g)}}n.render=C.render||Dc}Xp(n),d0(),xE(n),p0(),Bd()}function $E(n){return new Proxy(n.attrs,{get(e,r){return $l(n,"get","$attrs"),e[r]}})}function ZE(n){const e=C=>{n.exposed=C||{}};let r;return{get attrs(){return r||(r=$E(n))},slots:n.slots,emit:n.emit,expose:e}}function Ly(n){if(n.exposed)return n.exposeProxy||(n.exposeProxy=new Proxy(FT(Zp(n.exposed)),{get(e,r){if(r in e)return e[r];if(r in hm)return hm[r](n)},has(e,r){return r in e||r in hm}}))}function XE(n,e=!0){return Fi(n)?n.displayName||n.name:n.name||e&&n.__name}function KE(n){return Fi(n)&&"__vccOpts"in n}const cn=(n,e)=>K8(n,e,Sm);function Xf(n,e,r){const C=arguments.length;return C===2?so(e)&&!gi(e)?Iv(e)?gt(n,null,[e]):gt(n,e):gt(n,null,e):(C>3?r=Array.prototype.slice.call(arguments,2):C===3&&Iv(r)&&(r=[r]),gt(n,e,r))}const JE=Symbol(""),QE=()=>ka(JE),e7="3.2.47",t7="http://www.w3.org/2000/svg",Ad=typeof document<"u"?document:null,R3=Ad&&Ad.createElement("template"),n7={insert:(n,e,r)=>{e.insertBefore(n,r||null)},remove:n=>{const e=n.parentNode;e&&e.removeChild(n)},createElement:(n,e,r,C)=>{const D=e?Ad.createElementNS(t7,n):Ad.createElement(n,r?{is:r}:void 0);return n==="select"&&C&&C.multiple!=null&&D.setAttribute("multiple",C.multiple),D},createText:n=>Ad.createTextNode(n),createComment:n=>Ad.createComment(n),setText:(n,e)=>{n.nodeValue=e},setElementText:(n,e)=>{n.textContent=e},parentNode:n=>n.parentNode,nextSibling:n=>n.nextSibling,querySelector:n=>Ad.querySelector(n),setScopeId(n,e){n.setAttribute(e,"")},insertStaticContent(n,e,r,C,D,T){const p=r?r.previousSibling:e.lastChild;if(D&&(D===T||D.nextSibling))for(;e.insertBefore(D.cloneNode(!0),r),!(D===T||!(D=D.nextSibling)););else{R3.innerHTML=C?`${n}`:n;const t=R3.content;if(C){const d=t.firstChild;for(;d.firstChild;)t.appendChild(d.firstChild);t.removeChild(d)}e.insertBefore(t,r)}return[p?p.nextSibling:e.firstChild,r?r.previousSibling:e.lastChild]}};function r7(n,e,r){const C=n._vtc;C&&(e=(e?[e,...C]:[...C]).join(" ")),e==null?n.removeAttribute("class"):r?n.setAttribute("class",e):n.className=e}function i7(n,e,r){const C=n.style,D=Po(r);if(r&&!D){if(e&&!Po(e))for(const T in e)r[T]==null&&Db(C,T,"");for(const T in r)Db(C,T,r[T])}else{const T=C.display;D?e!==r&&(C.cssText=r):e&&n.removeAttribute("style"),"_vod"in n&&(C.display=T)}}const P3=/\s*!important$/;function Db(n,e,r){if(gi(r))r.forEach(C=>Db(n,e,C));else if(r==null&&(r=""),e.startsWith("--"))n.setProperty(e,r);else{const C=a7(n,e);P3.test(r)?n.setProperty(f0(C),r.replace(P3,""),"important"):n[C]=r}}const O3=["Webkit","Moz","ms"],ib={};function a7(n,e){const r=ib[e];if(r)return r;let C=tc(e);if(C!=="filter"&&C in n)return ib[e]=C;C=sf(C);for(let D=0;Dab||(h7.then(()=>ab=0),ab=Date.now());function d7(n,e){const r=C=>{if(!C._vts)C._vts=Date.now();else if(C._vts<=r.attached)return;Qu(p7(C,r.value),e,5,[C])};return r.value=n,r.attached=f7(),r}function p7(n,e){if(gi(e)){const r=n.stopImmediatePropagation;return n.stopImmediatePropagation=()=>{r.call(n),n._stopped=!0},e.map(C=>D=>!D._stopped&&C&&C(D))}else return e}const F3=/^on[a-z]/,m7=(n,e,r,C,D=!1,T,p,t,d)=>{e==="class"?r7(n,C,D):e==="style"?i7(n,r,C):my(e)?Fx(e)||u7(n,e,r,C,p):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):g7(n,e,C,D))?s7(n,e,C,T,p,t,d):(e==="true-value"?n._trueValue=C:e==="false-value"&&(n._falseValue=C),o7(n,e,C,D))};function g7(n,e,r,C){return C?!!(e==="innerHTML"||e==="textContent"||e in n&&F3.test(e)&&Fi(r)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&n.tagName==="INPUT"||e==="type"&&n.tagName==="TEXTAREA"||F3.test(e)&&Po(r)?!1:e in n}const Cf="transition",tm="animation",bh=(n,{slots:e})=>Xf(WT,m4(n),e);bh.displayName="Transition";const p4={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},v7=bh.props=Ms({},WT.props,p4),bd=(n,e=[])=>{gi(n)?n.forEach(r=>r(...e)):n&&n(...e)},B3=n=>n?gi(n)?n.some(e=>e.length>1):n.length>1:!1;function m4(n){const e={};for(const x in n)x in p4||(e[x]=n[x]);if(n.css===!1)return e;const{name:r="v",type:C,duration:D,enterFromClass:T=`${r}-enter-from`,enterActiveClass:p=`${r}-enter-active`,enterToClass:t=`${r}-enter-to`,appearFromClass:d=T,appearActiveClass:g=p,appearToClass:i=t,leaveFromClass:M=`${r}-leave-from`,leaveActiveClass:v=`${r}-leave-active`,leaveToClass:f=`${r}-leave-to`}=n,l=y7(D),a=l&&l[0],u=l&&l[1],{onBeforeEnter:o,onEnter:s,onEnterCancelled:c,onLeave:h,onLeaveCancelled:m,onBeforeAppear:w=o,onAppear:y=s,onAppearCancelled:S=c}=e,_=(x,A,L)=>{Lf(x,A?i:t),Lf(x,A?g:p),L&&L()},k=(x,A)=>{x._isLeaving=!1,Lf(x,M),Lf(x,f),Lf(x,v),A&&A()},E=x=>(A,L)=>{const b=x?y:s,R=()=>_(A,x,L);bd(b,[A,R]),N3(()=>{Lf(A,x?d:T),Uh(A,x?i:t),B3(b)||V3(A,C,a,R)})};return Ms(e,{onBeforeEnter(x){bd(o,[x]),Uh(x,T),Uh(x,p)},onBeforeAppear(x){bd(w,[x]),Uh(x,d),Uh(x,g)},onEnter:E(!1),onAppear:E(!0),onLeave(x,A){x._isLeaving=!0;const L=()=>k(x,A);Uh(x,M),v4(),Uh(x,v),N3(()=>{x._isLeaving&&(Lf(x,M),Uh(x,f),B3(h)||V3(x,C,u,L))}),bd(h,[x,L])},onEnterCancelled(x){_(x,!1),bd(c,[x])},onAppearCancelled(x){_(x,!0),bd(S,[x])},onLeaveCancelled(x){k(x),bd(m,[x])}})}function y7(n){if(n==null)return null;if(so(n))return[ob(n.enter),ob(n.leave)];{const e=ob(n);return[e,e]}}function ob(n){return g8(n)}function Uh(n,e){e.split(/\s+/).forEach(r=>r&&n.classList.add(r)),(n._vtc||(n._vtc=new Set)).add(e)}function Lf(n,e){e.split(/\s+/).forEach(C=>C&&n.classList.remove(C));const{_vtc:r}=n;r&&(r.delete(e),r.size||(n._vtc=void 0))}function N3(n){requestAnimationFrame(()=>{requestAnimationFrame(n)})}let b7=0;function V3(n,e,r,C){const D=n._endId=++b7,T=()=>{D===n._endId&&C()};if(r)return setTimeout(T,r);const{type:p,timeout:t,propCount:d}=g4(n,e);if(!p)return C();const g=p+"end";let i=0;const M=()=>{n.removeEventListener(g,v),T()},v=f=>{f.target===n&&++i>=d&&M()};setTimeout(()=>{i(r[l]||"").split(", "),D=C(`${Cf}Delay`),T=C(`${Cf}Duration`),p=j3(D,T),t=C(`${tm}Delay`),d=C(`${tm}Duration`),g=j3(t,d);let i=null,M=0,v=0;e===Cf?p>0&&(i=Cf,M=p,v=T.length):e===tm?g>0&&(i=tm,M=g,v=d.length):(M=Math.max(p,g),i=M>0?p>g?Cf:tm:null,v=i?i===Cf?T.length:d.length:0);const f=i===Cf&&/\b(transform|all)(,|$)/.test(C(`${Cf}Property`).toString());return{type:i,timeout:M,propCount:v,hasTransform:f}}function j3(n,e){for(;n.lengthU3(r)+U3(n[C])))}function U3(n){return Number(n.slice(0,-1).replace(",","."))*1e3}function v4(){return document.body.offsetHeight}const y4=new WeakMap,b4=new WeakMap,x4={name:"TransitionGroup",props:Ms({},v7,{tag:String,moveClass:String}),setup(n,{slots:e}){const r=Ey(),C=qT();let D,T;return JT(()=>{if(!D.length)return;const p=n.moveClass||`${n.name||"v"}-move`;if(!M7(D[0].el,r.vnode.el,p))return;D.forEach(w7),D.forEach(T7);const t=D.filter(k7);v4(),t.forEach(d=>{const g=d.el,i=g.style;Uh(g,p),i.transform=i.webkitTransform=i.transitionDuration="";const M=g._moveCb=v=>{v&&v.target!==g||(!v||/transform$/.test(v.propertyName))&&(g.removeEventListener("transitionend",M),g._moveCb=null,Lf(g,p))};g.addEventListener("transitionend",M)})}),()=>{const p=wi(n),t=m4(p);let d=p.tag||Yr;D=T,T=e.default?Kx(e.default()):[];for(let g=0;gdelete n.mode;x4.props;const _7=x4;function w7(n){const e=n.el;e._moveCb&&e._moveCb(),e._enterCb&&e._enterCb()}function T7(n){b4.set(n,n.el.getBoundingClientRect())}function k7(n){const e=y4.get(n),r=b4.get(n),C=e.left-r.left,D=e.top-r.top;if(C||D){const T=n.el.style;return T.transform=T.webkitTransform=`translate(${C}px,${D}px)`,T.transitionDuration="0s",n}}function M7(n,e,r){const C=n.cloneNode();n._vtc&&n._vtc.forEach(p=>{p.split(/\s+/).forEach(t=>t&&C.classList.remove(t))}),r.split(/\s+/).forEach(p=>p&&C.classList.add(p)),C.style.display="none";const D=e.nodeType===1?e:e.parentNode;D.appendChild(C);const{hasTransform:T}=g4(C);return D.removeChild(C),T}const H3=n=>{const e=n.props["onUpdate:modelValue"]||!1;return gi(e)?r=>fv(e,r):e};function A7(n){n.target.composing=!0}function G3(n){const e=n.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const S7={created(n,{modifiers:{lazy:e,trim:r,number:C}},D){n._assign=H3(D);const T=C||D.props&&D.props.type==="number";Ip(n,e?"change":"input",p=>{if(p.target.composing)return;let t=n.value;r&&(t=t.trim()),T&&(t=kb(t)),n._assign(t)}),r&&Ip(n,"change",()=>{n.value=n.value.trim()}),e||(Ip(n,"compositionstart",A7),Ip(n,"compositionend",G3),Ip(n,"change",G3))},mounted(n,{value:e}){n.value=e??""},beforeUpdate(n,{value:e,modifiers:{lazy:r,trim:C,number:D}},T){if(n._assign=H3(T),n.composing||document.activeElement===n&&n.type!=="range"&&(r||C&&n.value.trim()===e||(D||n.type==="number")&&kb(n.value)===e))return;const p=e??"";n.value!==p&&(n.value=p)}},C7=["ctrl","shift","alt","meta"],E7={stop:n=>n.stopPropagation(),prevent:n=>n.preventDefault(),self:n=>n.target!==n.currentTarget,ctrl:n=>!n.ctrlKey,shift:n=>!n.shiftKey,alt:n=>!n.altKey,meta:n=>!n.metaKey,left:n=>"button"in n&&n.button!==0,middle:n=>"button"in n&&n.button!==1,right:n=>"button"in n&&n.button!==2,exact:(n,e)=>C7.some(r=>n[`${r}Key`]&&!e.includes(r))},jp=(n,e)=>(r,...C)=>{for(let D=0;D{nm(n,!1)}):nm(n,e))},beforeUnmount(n,{value:e}){nm(n,e)}};function nm(n,e){n.style.display=e?n._vod:"none"}const L7=Ms({patchProp:m7},n7);let q3;function I7(){return q3||(q3=RE(L7))}const R7=(...n)=>{const e=I7().createApp(...n),{mount:r}=e;return e.mount=C=>{const D=P7(C);if(!D)return;const T=e._component;!Fi(T)&&!T.render&&!T.template&&(T.template=D.innerHTML),D.innerHTML="";const p=r(D,!1,D instanceof SVGElement);return D instanceof Element&&(D.removeAttribute("v-cloak"),D.setAttribute("data-v-app","")),p},e};function P7(n){return Po(n)?document.querySelector(n):n}var O7=!1;/*! - * pinia v2.0.35 - * (c) 2023 Eduardo San Martin Morote - * @license MIT - */let _4;const Iy=n=>_4=n,w4=Symbol();function zb(n){return n&&typeof n=="object"&&Object.prototype.toString.call(n)==="[object Object]"&&typeof n.toJSON!="function"}var pm;(function(n){n.direct="direct",n.patchObject="patch object",n.patchFunction="patch function"})(pm||(pm={}));function D7(){const n=Um(!0),e=n.run(()=>Vr({}));let r=[],C=[];const D=Zp({install(T){Iy(D),D._a=T,T.provide(w4,D),T.config.globalProperties.$pinia=D,C.forEach(p=>r.push(p)),C=[]},use(T){return!this._a&&!O7?C.push(T):r.push(T),this},_p:r,_a:null,_e:n,_s:new Map,state:e});return D}const T4=()=>{};function W3(n,e,r,C=T4){n.push(e);const D=()=>{const T=n.indexOf(e);T>-1&&(n.splice(T,1),C())};return!r&&wT()&&wl(D),D}function Mp(n,...e){n.slice().forEach(r=>{r(...e)})}function Fb(n,e){n instanceof Map&&e instanceof Map&&e.forEach((r,C)=>n.set(C,r)),n instanceof Set&&e instanceof Set&&e.forEach(n.add,n);for(const r in e){if(!e.hasOwnProperty(r))continue;const C=e[r],D=n[r];zb(D)&&zb(C)&&n.hasOwnProperty(r)&&!eo(C)&&!Bf(C)?n[r]=Fb(D,C):n[r]=C}return n}const z7=Symbol();function F7(n){return!zb(n)||!n.hasOwnProperty(z7)}const{assign:If}=Object;function B7(n){return!!(eo(n)&&n.effect)}function N7(n,e,r,C){const{state:D,actions:T,getters:p}=e,t=r.state.value[n];let d;function g(){t||(r.state.value[n]=D?D():{});const i=by(r.state.value[n]);return If(i,T,Object.keys(p||{}).reduce((M,v)=>(M[v]=Zp(cn(()=>{Iy(r);const f=r._s.get(n);return p[v].call(f,f)})),M),{}))}return d=k4(n,g,e,r,C,!0),d}function k4(n,e,r={},C,D,T){let p;const t=If({actions:{}},r),d={deep:!0};let g,i,M=Zp([]),v=Zp([]),f;const l=C.state.value[n];!T&&!l&&(C.state.value[n]={}),Vr({});let a;function u(y){let S;g=i=!1,typeof y=="function"?(y(C.state.value[n]),S={type:pm.patchFunction,storeId:n,events:f}):(Fb(C.state.value[n],y),S={type:pm.patchObject,payload:y,storeId:n,events:f});const _=a=Symbol();Ua().then(()=>{a===_&&(g=!0)}),i=!0,Mp(M,S,C.state.value[n])}const o=T?function(){const{state:S}=r,_=S?S():{};this.$patch(k=>{If(k,_)})}:T4;function s(){p.stop(),M=[],v=[],C._s.delete(n)}function c(y,S){return function(){Iy(C);const _=Array.from(arguments),k=[],E=[];function x(b){k.push(b)}function A(b){E.push(b)}Mp(v,{args:_,name:y,store:m,after:x,onError:A});let L;try{L=S.apply(this&&this.$id===n?this:m,_)}catch(b){throw Mp(E,b),b}return L instanceof Promise?L.then(b=>(Mp(k,b),b)).catch(b=>(Mp(E,b),Promise.reject(b))):(Mp(k,L),L)}}const h={_p:C,$id:n,$onAction:W3.bind(null,v),$patch:u,$reset:o,$subscribe(y,S={}){const _=W3(M,y,S.detached,()=>k()),k=p.run(()=>$r(()=>C.state.value[n],E=>{(S.flush==="sync"?i:g)&&y({storeId:n,type:pm.direct,events:f},E)},If({},d,S)));return _},$dispose:s},m=yl(h);C._s.set(n,m);const w=C._e.run(()=>(p=Um(),p.run(()=>e())));for(const y in w){const S=w[y];if(eo(S)&&!B7(S)||Bf(S))T||(l&&F7(S)&&(eo(S)?S.value=l[y]:Fb(S,l[y])),C.state.value[n][y]=S);else if(typeof S=="function"){const _=c(y,S);w[y]=_,t.actions[y]=S}}return If(m,w),If(wi(m),w),Object.defineProperty(m,"$state",{get:()=>C.state.value[n],set:y=>{u(S=>{If(S,y)})}}),C._p.forEach(y=>{If(m,p.run(()=>y({store:m,app:C._a,pinia:C,options:t})))}),l&&T&&r.hydrate&&r.hydrate(m.$state,l),g=!0,i=!0,m}function i2(n,e,r){let C,D;const T=typeof e=="function";typeof n=="string"?(C=n,D=T?r:e):(D=n,C=n.id);function p(t,d){const g=Ey();return t=t||g&&ka(w4,null),t&&Iy(t),t=_4,t._s.has(C)||(T?k4(C,e,D,t):N7(C,D,t)),t._s.get(C)}return p.$id=C,p}var V7=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function a2(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var M4={exports:{}},Ba={};/** @license React v16.13.1 ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js - * react-is.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var As=typeof Symbol=="function"&&Symbol.for,o2=As?Symbol.for("react.element"):60103,s2=As?Symbol.for("react.portal"):60106,Ry=As?Symbol.for("react.fragment"):60107,Py=As?Symbol.for("react.strict_mode"):60108,Oy=As?Symbol.for("react.profiler"):60114,Dy=As?Symbol.for("react.provider"):60109,zy=As?Symbol.for("react.context"):60110,l2=As?Symbol.for("react.async_mode"):60111,Fy=As?Symbol.for("react.concurrent_mode"):60111,By=As?Symbol.for("react.forward_ref"):60112,Ny=As?Symbol.for("react.suspense"):60113,j7=As?Symbol.for("react.suspense_list"):60120,Vy=As?Symbol.for("react.memo"):60115,jy=As?Symbol.for("react.lazy"):60116,U7=As?Symbol.for("react.block"):60121,H7=As?Symbol.for("react.fundamental"):60117,G7=As?Symbol.for("react.responder"):60118,q7=As?Symbol.for("react.scope"):60119;function ku(n){if(typeof n=="object"&&n!==null){var e=n.$$typeof;switch(e){case o2:switch(n=n.type,n){case l2:case Fy:case Ry:case Oy:case Py:case Ny:return n;default:switch(n=n&&n.$$typeof,n){case zy:case By:case jy:case Vy:case Dy:return n;default:return e}}case s2:return e}}}function A4(n){return ku(n)===Fy}Ba.AsyncMode=l2;Ba.ConcurrentMode=Fy;Ba.ContextConsumer=zy;Ba.ContextProvider=Dy;Ba.Element=o2;Ba.ForwardRef=By;Ba.Fragment=Ry;Ba.Lazy=jy;Ba.Memo=Vy;Ba.Portal=s2;Ba.Profiler=Oy;Ba.StrictMode=Py;Ba.Suspense=Ny;Ba.isAsyncMode=function(n){return A4(n)||ku(n)===l2};Ba.isConcurrentMode=A4;Ba.isContextConsumer=function(n){return ku(n)===zy};Ba.isContextProvider=function(n){return ku(n)===Dy};Ba.isElement=function(n){return typeof n=="object"&&n!==null&&n.$$typeof===o2};Ba.isForwardRef=function(n){return ku(n)===By};Ba.isFragment=function(n){return ku(n)===Ry};Ba.isLazy=function(n){return ku(n)===jy};Ba.isMemo=function(n){return ku(n)===Vy};Ba.isPortal=function(n){return ku(n)===s2};Ba.isProfiler=function(n){return ku(n)===Oy};Ba.isStrictMode=function(n){return ku(n)===Py};Ba.isSuspense=function(n){return ku(n)===Ny};Ba.isValidElementType=function(n){return typeof n=="string"||typeof n=="function"||n===Ry||n===Fy||n===Oy||n===Py||n===Ny||n===j7||typeof n=="object"&&n!==null&&(n.$$typeof===jy||n.$$typeof===Vy||n.$$typeof===Dy||n.$$typeof===zy||n.$$typeof===By||n.$$typeof===H7||n.$$typeof===G7||n.$$typeof===q7||n.$$typeof===U7)};Ba.typeOf=ku;M4.exports=Ba;var W7=M4.exports,S4=W7,Y7={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},$7={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},C4={};C4[S4.ForwardRef]=Y7;C4[S4.Memo]=$7;var E4={exports:{}},Na={};/* -object-assign -(c) Sindre Sorhus -@license MIT -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js -*/var Y3=Object.getOwnPropertySymbols,Z7=Object.prototype.hasOwnProperty,X7=Object.prototype.propertyIsEnumerable;function K7(n){if(n==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(n)}function J7(){try{if(!Object.assign)return!1;var n=new String("abc");if(n[5]="de",Object.getOwnPropertyNames(n)[0]==="5")return!1;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;var S=Object.getOwnPropertyNames(e).map(function(T){return e[T]});if(S.join("")!=="0123456789")return!1;var D={};return"abcdefghijklmnopqrst".split("").forEach(function(T){D[T]=T}),Object.keys(Object.assign({},D)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var Q7=J7()?Object.assign:function(n,e){for(var r,S=K7(n),D,T=1;T>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js - */var u2=Q7,Fc=typeof Symbol=="function"&&Symbol.for,qm=Fc?Symbol.for("react.element"):60103,e9=Fc?Symbol.for("react.portal"):60106,t9=Fc?Symbol.for("react.fragment"):60107,n9=Fc?Symbol.for("react.strict_mode"):60108,r9=Fc?Symbol.for("react.profiler"):60114,i9=Fc?Symbol.for("react.provider"):60109,a9=Fc?Symbol.for("react.context"):60110,o9=Fc?Symbol.for("react.forward_ref"):60112,s9=Fc?Symbol.for("react.suspense"):60113,l9=Fc?Symbol.for("react.memo"):60115,u9=Fc?Symbol.for("react.lazy"):60116,$3=typeof Symbol=="function"&&Symbol.iterator;function Wm(n){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+n,r=1;rRv.length&&Rv.push(n)}function Bb(n,e,r,S){var D=typeof n;(D==="undefined"||D==="boolean")&&(n=null);var T=!1;if(n===null)T=!0;else switch(D){case"string":case"number":T=!0;break;case"object":switch(n.$$typeof){case qm:case e9:T=!0}}if(T)return r(S,n,e===""?"."+sb(n,0):e),1;if(T=0,e=e===""?".":e+":",Array.isArray(n))for(var p=0;p=n.length&&(n=void 0),{value:n&&n[S++],done:!n}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function zi(n){return this instanceof zi?(this.v=n,this):new zi(n)}function mh(n,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var S=r.apply(n,e||[]),D,T=[];return D=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),t("next"),t("throw"),t("return",p),D[Symbol.asyncIterator]=function(){return this},D;function p(f){return function(l){return Promise.resolve(l).then(f,M)}}function t(f,l){S[f]&&(D[f]=function(a){return new Promise(function(u,o){T.push([f,a,u,o])>1||d(f,a)})},l&&(D[f]=l(D[f])))}function d(f,l){try{g(S[f](l))}catch(a){v(T[0][3],a)}}function g(f){f.value instanceof zi?Promise.resolve(f.value.v).then(i,M):v(T[0][2],f)}function i(f){d("next",f)}function M(f){d("throw",f)}function v(f,l){f(l),T.shift(),T.length&&d(T[0][0],T[0][1])}}function mv(n){var e,r;return e={},S("next"),S("throw",function(D){throw D}),S("return"),e[Symbol.iterator]=function(){return this},e;function S(D,T){e[D]=n[D]?function(p){return(r=!r)?{value:zi(n[D](p)),done:!1}:T?T(p):p}:T}}function Nd(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=n[Symbol.asyncIterator],r;return e?e.call(n):(n=typeof Z3=="function"?Z3(n):n[Symbol.iterator](),r={},S("next"),S("throw"),S("return"),r[Symbol.asyncIterator]=function(){return this},r);function S(T){r[T]=n[T]&&function(p){return new Promise(function(t,d){p=n[T](p),D(t,d,p.done,p.value)})}}function D(T,p,t,d){Promise.resolve(d).then(function(g){T({value:g,done:t})},p)}}const v9=new TextDecoder("utf-8"),jb=n=>v9.decode(n),y9=new TextEncoder,p2=n=>y9.encode(n),[jH,b9]=(()=>{const n=()=>{throw new Error("BigInt is not available in this environment")};function e(){throw n()}return e.asIntN=()=>{throw n()},e.asUintN=()=>{throw n()},typeof BigInt<"u"?[BigInt,!0]:[e,!1]})(),[Ym,UH]=(()=>{const n=()=>{throw new Error("BigInt64Array is not available in this environment")};class e{static get BYTES_PER_ELEMENT(){return 8}static of(){throw n()}static from(){throw n()}constructor(){throw n()}}return typeof BigInt64Array<"u"?[BigInt64Array,!0]:[e,!1]})(),[$m,HH]=(()=>{const n=()=>{throw new Error("BigUint64Array is not available in this environment")};class e{static get BYTES_PER_ELEMENT(){return 8}static of(){throw n()}static from(){throw n()}constructor(){throw n()}}return typeof BigUint64Array<"u"?[BigUint64Array,!0]:[e,!1]})(),x9=n=>typeof n=="number",V4=n=>typeof n=="boolean",us=n=>typeof n=="function",Zl=n=>n!=null&&Object(n)===n,Uf=n=>Zl(n)&&us(n.then),Zm=n=>Zl(n)&&us(n[Symbol.iterator]),g0=n=>Zl(n)&&us(n[Symbol.asyncIterator]),Ub=n=>Zl(n)&&Zl(n.schema),j4=n=>Zl(n)&&"done"in n&&"value"in n,U4=n=>Zl(n)&&us(n.stat)&&x9(n.fd),H4=n=>Zl(n)&&m2(n.body),Uy=n=>"_getDOMStream"in n&&"_getNodeStream"in n,_9=n=>Zl(n)&&us(n.abort)&&us(n.getWriter)&&!Uy(n),m2=n=>Zl(n)&&us(n.cancel)&&us(n.getReader)&&!Uy(n),w9=n=>Zl(n)&&us(n.end)&&us(n.write)&&V4(n.writable)&&!Uy(n),G4=n=>Zl(n)&&us(n.read)&&us(n.pipe)&&V4(n.readable)&&!Uy(n),T9=n=>Zl(n)&&us(n.clear)&&us(n.bytes)&&us(n.position)&&us(n.setPosition)&&us(n.capacity)&&us(n.getBufferIdentifier)&&us(n.createLong),g2=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:ArrayBuffer;function k9(n){const e=n[0]?[n[0]]:[];let r,S,D,T;for(let p,t,d=0,g=0,i=n.length;++di+M.byteLength,0);let D,T,p,t=0,d=-1;const g=Math.min(e||Number.POSITIVE_INFINITY,S);for(const i=r.length;++dqa(Int32Array,n),_a=n=>qa(Uint8Array,n),Hb=n=>(n.next(),n);function*M9(n,e){const r=function*(D){yield D},S=typeof e=="string"||ArrayBuffer.isView(e)||e instanceof ArrayBuffer||e instanceof g2?r(e):Zm(e)?e:r(e);return yield*Hb(function*(D){let T=null;do T=D.next(yield qa(n,T));while(!T.done)}(S[Symbol.iterator]())),new n}const A9=n=>M9(Uint8Array,n);function q4(n,e){return mh(this,arguments,function*(){if(Uf(e))return yield zi(yield zi(yield*mv(Nd(q4(n,yield zi(e))))));const S=function(p){return mh(this,arguments,function*(){yield yield zi(yield zi(p))})},D=function(p){return mh(this,arguments,function*(){yield zi(yield*mv(Nd(Hb(function*(t){let d=null;do d=t.next(yield d==null?void 0:d.value);while(!d.done)}(p[Symbol.iterator]())))))})},T=typeof e=="string"||ArrayBuffer.isView(e)||e instanceof ArrayBuffer||e instanceof g2?S(e):Zm(e)?D(e):g0(e)?e:S(e);return yield zi(yield*mv(Nd(Hb(function(p){return mh(this,arguments,function*(){let t=null;do t=yield zi(p.next(yield yield zi(qa(n,t))));while(!t.done)})}(T[Symbol.asyncIterator]()))))),yield zi(new n)})}const S9=n=>q4(Uint8Array,n);function v2(n,e,r){if(n!==0){r=r.slice(0,e+1);for(let S=-1;++S<=e;)r[S]+=n}return r}function C9(n,e){let r=0;const S=n.length;if(S!==e.length)return!1;if(S>0)do if(n[r]!==e[r])return!1;while(++r(n.next(),n);function*E9(n){let e,r=!1,S=[],D,T,p,t=0;function d(){return T==="peek"?xh(S,p)[0]:([D,S,t]=xh(S,p),D)}({cmd:T,size:p}=yield null);const g=A9(n)[Symbol.iterator]();try{do if({done:e,value:D}=Number.isNaN(p-t)?g.next():g.next(p-t),!e&&D.byteLength>0&&(S.push(D),t+=D.byteLength),e||p<=t)do({cmd:T,size:p}=yield d());while(p0&&(D.push(T),d+=T.byteLength),r||t<=d)do({cmd:p,size:t}=yield yield zi(g()));while(t0&&(D.push(_a(T)),d+=T.byteLength),r||t<=d)do({cmd:p,size:t}=yield yield zi(g()));while(t{})}get closed(){return this.reader?this.reader.closed.catch(()=>{}):Promise.resolve()}releaseLock(){this.reader&&this.reader.releaseLock(),this.reader=null}cancel(e){return yi(this,void 0,void 0,function*(){const{reader:r,source:S}=this;r&&(yield r.cancel(e).catch(()=>{})),S&&S.locked&&this.releaseLock()})}read(e){return yi(this,void 0,void 0,function*(){if(e===0)return{done:this.reader==null,value:new Uint8Array(0)};const r=yield this.reader.read();return!r.done&&(r.value=_a(r)),r})}}const lb=(n,e)=>{const r=D=>S([e,D]);let S;return[e,r,new Promise(D=>(S=D)&&n.once(e,r))]};function P9(n){return mh(this,arguments,function*(){const r=[];let S="error",D=!1,T=null,p,t,d=0,g=[],i;function M(){return p==="peek"?xh(g,t)[0]:([i,g,d]=xh(g,t),i)}if({cmd:p,size:t}=yield yield zi(null),n.isTTY)return yield yield zi(new Uint8Array(0)),yield zi(null);try{r[0]=lb(n,"end"),r[1]=lb(n,"error");do{if(r[2]=lb(n,"readable"),[S,T]=yield zi(Promise.race(r.map(f=>f[2]))),S==="error")break;if((D=S==="end")||(Number.isFinite(t-d)?(i=_a(n.read(t-d)),i.byteLength0&&(g.push(i),d+=i.byteLength)),D||t<=d)do({cmd:p,size:t}=yield yield zi(M()));while(t{for(const[o,s]of f)n.off(o,s);try{const o=n.destroy;o&&o.call(n,l),l=void 0}catch(o){l=o||l}finally{l!=null?u(l):a()}})}})}var gu;(function(n){n[n.V1=0]="V1",n[n.V2=1]="V2",n[n.V3=2]="V3",n[n.V4=3]="V4",n[n.V5=4]="V5"})(gu||(gu={}));var xu;(function(n){n[n.Sparse=0]="Sparse",n[n.Dense=1]="Dense"})(xu||(xu={}));var Yl;(function(n){n[n.HALF=0]="HALF",n[n.SINGLE=1]="SINGLE",n[n.DOUBLE=2]="DOUBLE"})(Yl||(Yl={}));var nf;(function(n){n[n.DAY=0]="DAY",n[n.MILLISECOND=1]="MILLISECOND"})(nf||(nf={}));var wa;(function(n){n[n.SECOND=0]="SECOND",n[n.MILLISECOND=1]="MILLISECOND",n[n.MICROSECOND=2]="MICROSECOND",n[n.NANOSECOND=3]="NANOSECOND"})(wa||(wa={}));var Hf;(function(n){n[n.YEAR_MONTH=0]="YEAR_MONTH",n[n.DAY_TIME=1]="DAY_TIME",n[n.MONTH_DAY_NANO=2]="MONTH_DAY_NANO"})(Hf||(Hf={}));var Ca;(function(n){n[n.NONE=0]="NONE",n[n.Schema=1]="Schema",n[n.DictionaryBatch=2]="DictionaryBatch",n[n.RecordBatch=3]="RecordBatch",n[n.Tensor=4]="Tensor",n[n.SparseTensor=5]="SparseTensor"})(Ca||(Ca={}));var Jn;(function(n){n[n.NONE=0]="NONE",n[n.Null=1]="Null",n[n.Int=2]="Int",n[n.Float=3]="Float",n[n.Binary=4]="Binary",n[n.Utf8=5]="Utf8",n[n.Bool=6]="Bool",n[n.Decimal=7]="Decimal",n[n.Date=8]="Date",n[n.Time=9]="Time",n[n.Timestamp=10]="Timestamp",n[n.Interval=11]="Interval",n[n.List=12]="List",n[n.Struct=13]="Struct",n[n.Union=14]="Union",n[n.FixedSizeBinary=15]="FixedSizeBinary",n[n.FixedSizeList=16]="FixedSizeList",n[n.Map=17]="Map",n[n.Dictionary=-1]="Dictionary",n[n.Int8=-2]="Int8",n[n.Int16=-3]="Int16",n[n.Int32=-4]="Int32",n[n.Int64=-5]="Int64",n[n.Uint8=-6]="Uint8",n[n.Uint16=-7]="Uint16",n[n.Uint32=-8]="Uint32",n[n.Uint64=-9]="Uint64",n[n.Float16=-10]="Float16",n[n.Float32=-11]="Float32",n[n.Float64=-12]="Float64",n[n.DateDay=-13]="DateDay",n[n.DateMillisecond=-14]="DateMillisecond",n[n.TimestampSecond=-15]="TimestampSecond",n[n.TimestampMillisecond=-16]="TimestampMillisecond",n[n.TimestampMicrosecond=-17]="TimestampMicrosecond",n[n.TimestampNanosecond=-18]="TimestampNanosecond",n[n.TimeSecond=-19]="TimeSecond",n[n.TimeMillisecond=-20]="TimeMillisecond",n[n.TimeMicrosecond=-21]="TimeMicrosecond",n[n.TimeNanosecond=-22]="TimeNanosecond",n[n.DenseUnion=-23]="DenseUnion",n[n.SparseUnion=-24]="SparseUnion",n[n.IntervalDayTime=-25]="IntervalDayTime",n[n.IntervalYearMonth=-26]="IntervalYearMonth"})(Jn||(Jn={}));var qh;(function(n){n[n.OFFSET=0]="OFFSET",n[n.DATA=1]="DATA",n[n.VALIDITY=2]="VALIDITY",n[n.TYPE=3]="TYPE"})(qh||(qh={}));const O9=void 0;function Cm(n){if(n===null)return"null";if(n===O9)return"undefined";switch(typeof n){case"number":return`${n}`;case"bigint":return`${n}`;case"string":return`"${n}"`}return typeof n[Symbol.toPrimitive]=="function"?n[Symbol.toPrimitive]("string"):ArrayBuffer.isView(n)?n instanceof Ym||n instanceof $m?`[${[...n].map(e=>Cm(e))}]`:`[${n}]`:ArrayBuffer.isView(n)?`[${n}]`:JSON.stringify(n,(e,r)=>typeof r=="bigint"?`${r}`:r)}const D9=Symbol.for("isArrowBigNum");function Bc(n,...e){return e.length===0?Object.setPrototypeOf(qa(this.TypedArray,n),this.constructor.prototype):Object.setPrototypeOf(new this.TypedArray(n,...e),this.constructor.prototype)}Bc.prototype[D9]=!0;Bc.prototype.toJSON=function(){return`"${Vd(this)}"`};Bc.prototype.valueOf=function(){return W4(this)};Bc.prototype.toString=function(){return Vd(this)};Bc.prototype[Symbol.toPrimitive]=function(n="default"){switch(n){case"number":return W4(this);case"string":return Vd(this);case"default":return Gb(this)}return Vd(this)};function Up(...n){return Bc.apply(this,n)}function Hp(...n){return Bc.apply(this,n)}function Em(...n){return Bc.apply(this,n)}Object.setPrototypeOf(Up.prototype,Object.create(Int32Array.prototype));Object.setPrototypeOf(Hp.prototype,Object.create(Uint32Array.prototype));Object.setPrototypeOf(Em.prototype,Object.create(Uint32Array.prototype));Object.assign(Up.prototype,Bc.prototype,{constructor:Up,signed:!0,TypedArray:Int32Array,BigIntArray:Ym});Object.assign(Hp.prototype,Bc.prototype,{constructor:Hp,signed:!1,TypedArray:Uint32Array,BigIntArray:$m});Object.assign(Em.prototype,Bc.prototype,{constructor:Em,signed:!0,TypedArray:Uint32Array,BigIntArray:$m});function W4(n){const{buffer:e,byteOffset:r,length:S,signed:D}=n,T=new $m(e,r,S),p=D&&T[T.length-1]&BigInt(1)<n.byteLength===8?new n.BigIntArray(n.buffer,n.byteOffset,1)[0]:ub(n),Vd=n=>n.byteLength===8?`${new n.BigIntArray(n.buffer,n.byteOffset,1)[0]}`:ub(n)):(Vd=ub,Gb=Vd);function ub(n){let e="";const r=new Uint32Array(2);let S=new Uint16Array(n.buffer,n.byteOffset,n.byteLength/2);const D=new Uint32Array((S=new Uint16Array(S).reverse()).buffer);let T=-1;const p=S.length-1;do{for(r[0]=S[T=0];T(n.children=null,n.ArrayType=Array,n[Symbol.toStringTag]="DataType"))(_i.prototype);let Gf=class extends _i{toString(){return"Null"}get typeId(){return Jn.Null}};$4=Symbol.toStringTag;Gf[$4]=(n=>n[Symbol.toStringTag]="Null")(Gf.prototype);class qf extends _i{constructor(e,r){super(),this.isSigned=e,this.bitWidth=r}get typeId(){return Jn.Int}get ArrayType(){switch(this.bitWidth){case 8:return this.isSigned?Int8Array:Uint8Array;case 16:return this.isSigned?Int16Array:Uint16Array;case 32:return this.isSigned?Int32Array:Uint32Array;case 64:return this.isSigned?Ym:$m}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`${this.isSigned?"I":"Ui"}nt${this.bitWidth}`}}Z4=Symbol.toStringTag;qf[Z4]=(n=>(n.isSigned=null,n.bitWidth=null,n[Symbol.toStringTag]="Int"))(qf.prototype);class Lm extends qf{constructor(){super(!0,32)}get ArrayType(){return Int32Array}}Object.defineProperty(Lm.prototype,"ArrayType",{value:Int32Array});class Im extends _i{constructor(e){super(),this.precision=e}get typeId(){return Jn.Float}get ArrayType(){switch(this.precision){case Yl.HALF:return Uint16Array;case Yl.SINGLE:return Float32Array;case Yl.DOUBLE:return Float64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`Float${this.precision<<5||16}`}}X4=Symbol.toStringTag;Im[X4]=(n=>(n.precision=null,n[Symbol.toStringTag]="Float"))(Im.prototype);let Pv=class extends _i{constructor(){super()}get typeId(){return Jn.Binary}toString(){return"Binary"}};K4=Symbol.toStringTag;Pv[K4]=(n=>(n.ArrayType=Uint8Array,n[Symbol.toStringTag]="Binary"))(Pv.prototype);let Ov=class extends _i{constructor(){super()}get typeId(){return Jn.Utf8}toString(){return"Utf8"}};J4=Symbol.toStringTag;Ov[J4]=(n=>(n.ArrayType=Uint8Array,n[Symbol.toStringTag]="Utf8"))(Ov.prototype);let Dv=class extends _i{constructor(){super()}get typeId(){return Jn.Bool}toString(){return"Bool"}};Q4=Symbol.toStringTag;Dv[Q4]=(n=>(n.ArrayType=Uint8Array,n[Symbol.toStringTag]="Bool"))(Dv.prototype);let zv=class extends _i{constructor(e,r,S=128){super(),this.scale=e,this.precision=r,this.bitWidth=S}get typeId(){return Jn.Decimal}toString(){return`Decimal[${this.precision}e${this.scale>0?"+":""}${this.scale}]`}};ek=Symbol.toStringTag;zv[ek]=(n=>(n.scale=null,n.precision=null,n.ArrayType=Uint32Array,n[Symbol.toStringTag]="Decimal"))(zv.prototype);class Fv extends _i{constructor(e){super(),this.unit=e}get typeId(){return Jn.Date}toString(){return`Date${(this.unit+1)*32}<${nf[this.unit]}>`}}tk=Symbol.toStringTag;Fv[tk]=(n=>(n.unit=null,n.ArrayType=Int32Array,n[Symbol.toStringTag]="Date"))(Fv.prototype);class Rm extends _i{constructor(e,r){super(),this.unit=e,this.bitWidth=r}get typeId(){return Jn.Time}toString(){return`Time${this.bitWidth}<${wa[this.unit]}>`}get ArrayType(){switch(this.bitWidth){case 32:return Int32Array;case 64:return Ym}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}}nk=Symbol.toStringTag;Rm[nk]=(n=>(n.unit=null,n.bitWidth=null,n[Symbol.toStringTag]="Time"))(Rm.prototype);class Bv extends _i{constructor(e,r){super(),this.unit=e,this.timezone=r}get typeId(){return Jn.Timestamp}toString(){return`Timestamp<${wa[this.unit]}${this.timezone?`, ${this.timezone}`:""}>`}}rk=Symbol.toStringTag;Bv[rk]=(n=>(n.unit=null,n.timezone=null,n.ArrayType=Int32Array,n[Symbol.toStringTag]="Timestamp"))(Bv.prototype);class Nv extends _i{constructor(e){super(),this.unit=e}get typeId(){return Jn.Interval}toString(){return`Interval<${Hf[this.unit]}>`}}ik=Symbol.toStringTag;Nv[ik]=(n=>(n.unit=null,n.ArrayType=Int32Array,n[Symbol.toStringTag]="Interval"))(Nv.prototype);let Vv=class extends _i{constructor(e){super(),this.children=[e]}get typeId(){return Jn.List}toString(){return`List<${this.valueType}>`}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}};ak=Symbol.toStringTag;Vv[ak]=(n=>(n.children=null,n[Symbol.toStringTag]="List"))(Vv.prototype);class bl extends _i{constructor(e){super(),this.children=e}get typeId(){return Jn.Struct}toString(){return`Struct<{${this.children.map(e=>`${e.name}:${e.type}`).join(", ")}}>`}}ok=Symbol.toStringTag;bl[ok]=(n=>(n.children=null,n[Symbol.toStringTag]="Struct"))(bl.prototype);class jv extends _i{constructor(e,r,S){super(),this.mode=e,this.children=S,this.typeIds=r=Int32Array.from(r),this.typeIdToChildIndex=r.reduce((D,T,p)=>(D[T]=p)&&D||D,Object.create(null))}get typeId(){return Jn.Union}toString(){return`${this[Symbol.toStringTag]}<${this.children.map(e=>`${e.type}`).join(" | ")}>`}}sk=Symbol.toStringTag;jv[sk]=(n=>(n.mode=null,n.typeIds=null,n.children=null,n.typeIdToChildIndex=null,n.ArrayType=Int8Array,n[Symbol.toStringTag]="Union"))(jv.prototype);let Uv=class extends _i{constructor(e){super(),this.byteWidth=e}get typeId(){return Jn.FixedSizeBinary}toString(){return`FixedSizeBinary[${this.byteWidth}]`}};lk=Symbol.toStringTag;Uv[lk]=(n=>(n.byteWidth=null,n.ArrayType=Uint8Array,n[Symbol.toStringTag]="FixedSizeBinary"))(Uv.prototype);let Hv=class extends _i{constructor(e,r){super(),this.listSize=e,this.children=[r]}get typeId(){return Jn.FixedSizeList}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}toString(){return`FixedSizeList[${this.listSize}]<${this.valueType}>`}};uk=Symbol.toStringTag;Hv[uk]=(n=>(n.children=null,n.listSize=null,n[Symbol.toStringTag]="FixedSizeList"))(Hv.prototype);class Gv extends _i{constructor(e,r=!1){super(),this.children=[e],this.keysSorted=r}get typeId(){return Jn.Map}get keyType(){return this.children[0].type.children[0].type}get valueType(){return this.children[0].type.children[1].type}get childType(){return this.children[0].type}toString(){return`Map<{${this.children[0].type.children.map(e=>`${e.name}:${e.type}`).join(", ")}}>`}}ck=Symbol.toStringTag;Gv[ck]=(n=>(n.children=null,n.keysSorted=null,n[Symbol.toStringTag]="Map_"))(Gv.prototype);const z9=(n=>()=>++n)(-1);class Kp extends _i{constructor(e,r,S,D){super(),this.indices=r,this.dictionary=e,this.isOrdered=D||!1,this.id=S==null?z9():typeof S=="number"?S:S.low}get typeId(){return Jn.Dictionary}get children(){return this.dictionary.children}get valueType(){return this.dictionary}get ArrayType(){return this.dictionary.ArrayType}toString(){return`Dictionary<${this.indices}, ${this.dictionary}>`}}hk=Symbol.toStringTag;Kp[hk]=(n=>(n.id=null,n.indices=null,n.isOrdered=null,n.dictionary=null,n[Symbol.toStringTag]="Dictionary"))(Kp.prototype);function Wh(n){const e=n;switch(n.typeId){case Jn.Decimal:return n.bitWidth/32;case Jn.Timestamp:return 2;case Jn.Date:return 1+e.unit;case Jn.Interval:return 1+e.unit;case Jn.FixedSizeList:return e.listSize;case Jn.FixedSizeBinary:return e.byteWidth;default:return 1}}class aa{visitMany(e,...r){return e.map((S,D)=>this.visit(S,...r.map(T=>T[D])))}visit(...e){return this.getVisitFn(e[0],!1).apply(this,e)}getVisitFn(e,r=!0){return F9(this,e,r)}getVisitFnByTypeId(e,r=!0){return Rp(this,e,r)}visitNull(e,...r){return null}visitBool(e,...r){return null}visitInt(e,...r){return null}visitFloat(e,...r){return null}visitUtf8(e,...r){return null}visitBinary(e,...r){return null}visitFixedSizeBinary(e,...r){return null}visitDate(e,...r){return null}visitTimestamp(e,...r){return null}visitTime(e,...r){return null}visitDecimal(e,...r){return null}visitList(e,...r){return null}visitStruct(e,...r){return null}visitUnion(e,...r){return null}visitDictionary(e,...r){return null}visitInterval(e,...r){return null}visitFixedSizeList(e,...r){return null}visitMap(e,...r){return null}}function F9(n,e,r=!0){return typeof e=="number"?Rp(n,e,r):typeof e=="string"&&e in Jn?Rp(n,Jn[e],r):e&&e instanceof _i?Rp(n,K3(e),r):e!=null&&e.type&&e.type instanceof _i?Rp(n,K3(e.type),r):Rp(n,Jn.NONE,r)}function Rp(n,e,r=!0){let S=null;switch(e){case Jn.Null:S=n.visitNull;break;case Jn.Bool:S=n.visitBool;break;case Jn.Int:S=n.visitInt;break;case Jn.Int8:S=n.visitInt8||n.visitInt;break;case Jn.Int16:S=n.visitInt16||n.visitInt;break;case Jn.Int32:S=n.visitInt32||n.visitInt;break;case Jn.Int64:S=n.visitInt64||n.visitInt;break;case Jn.Uint8:S=n.visitUint8||n.visitInt;break;case Jn.Uint16:S=n.visitUint16||n.visitInt;break;case Jn.Uint32:S=n.visitUint32||n.visitInt;break;case Jn.Uint64:S=n.visitUint64||n.visitInt;break;case Jn.Float:S=n.visitFloat;break;case Jn.Float16:S=n.visitFloat16||n.visitFloat;break;case Jn.Float32:S=n.visitFloat32||n.visitFloat;break;case Jn.Float64:S=n.visitFloat64||n.visitFloat;break;case Jn.Utf8:S=n.visitUtf8;break;case Jn.Binary:S=n.visitBinary;break;case Jn.FixedSizeBinary:S=n.visitFixedSizeBinary;break;case Jn.Date:S=n.visitDate;break;case Jn.DateDay:S=n.visitDateDay||n.visitDate;break;case Jn.DateMillisecond:S=n.visitDateMillisecond||n.visitDate;break;case Jn.Timestamp:S=n.visitTimestamp;break;case Jn.TimestampSecond:S=n.visitTimestampSecond||n.visitTimestamp;break;case Jn.TimestampMillisecond:S=n.visitTimestampMillisecond||n.visitTimestamp;break;case Jn.TimestampMicrosecond:S=n.visitTimestampMicrosecond||n.visitTimestamp;break;case Jn.TimestampNanosecond:S=n.visitTimestampNanosecond||n.visitTimestamp;break;case Jn.Time:S=n.visitTime;break;case Jn.TimeSecond:S=n.visitTimeSecond||n.visitTime;break;case Jn.TimeMillisecond:S=n.visitTimeMillisecond||n.visitTime;break;case Jn.TimeMicrosecond:S=n.visitTimeMicrosecond||n.visitTime;break;case Jn.TimeNanosecond:S=n.visitTimeNanosecond||n.visitTime;break;case Jn.Decimal:S=n.visitDecimal;break;case Jn.List:S=n.visitList;break;case Jn.Struct:S=n.visitStruct;break;case Jn.Union:S=n.visitUnion;break;case Jn.DenseUnion:S=n.visitDenseUnion||n.visitUnion;break;case Jn.SparseUnion:S=n.visitSparseUnion||n.visitUnion;break;case Jn.Dictionary:S=n.visitDictionary;break;case Jn.Interval:S=n.visitInterval;break;case Jn.IntervalDayTime:S=n.visitIntervalDayTime||n.visitInterval;break;case Jn.IntervalYearMonth:S=n.visitIntervalYearMonth||n.visitInterval;break;case Jn.FixedSizeList:S=n.visitFixedSizeList;break;case Jn.Map:S=n.visitMap;break}if(typeof S=="function")return S;if(!r)return()=>null;throw new Error(`Unrecognized type '${Jn[e]}'`)}function K3(n){switch(n.typeId){case Jn.Null:return Jn.Null;case Jn.Int:{const{bitWidth:e,isSigned:r}=n;switch(e){case 8:return r?Jn.Int8:Jn.Uint8;case 16:return r?Jn.Int16:Jn.Uint16;case 32:return r?Jn.Int32:Jn.Uint32;case 64:return r?Jn.Int64:Jn.Uint64}return Jn.Int}case Jn.Float:switch(n.precision){case Yl.HALF:return Jn.Float16;case Yl.SINGLE:return Jn.Float32;case Yl.DOUBLE:return Jn.Float64}return Jn.Float;case Jn.Binary:return Jn.Binary;case Jn.Utf8:return Jn.Utf8;case Jn.Bool:return Jn.Bool;case Jn.Decimal:return Jn.Decimal;case Jn.Time:switch(n.unit){case wa.SECOND:return Jn.TimeSecond;case wa.MILLISECOND:return Jn.TimeMillisecond;case wa.MICROSECOND:return Jn.TimeMicrosecond;case wa.NANOSECOND:return Jn.TimeNanosecond}return Jn.Time;case Jn.Timestamp:switch(n.unit){case wa.SECOND:return Jn.TimestampSecond;case wa.MILLISECOND:return Jn.TimestampMillisecond;case wa.MICROSECOND:return Jn.TimestampMicrosecond;case wa.NANOSECOND:return Jn.TimestampNanosecond}return Jn.Timestamp;case Jn.Date:switch(n.unit){case nf.DAY:return Jn.DateDay;case nf.MILLISECOND:return Jn.DateMillisecond}return Jn.Date;case Jn.Interval:switch(n.unit){case Hf.DAY_TIME:return Jn.IntervalDayTime;case Hf.YEAR_MONTH:return Jn.IntervalYearMonth}return Jn.Interval;case Jn.Map:return Jn.Map;case Jn.List:return Jn.List;case Jn.Struct:return Jn.Struct;case Jn.Union:switch(n.mode){case xu.Dense:return Jn.DenseUnion;case xu.Sparse:return Jn.SparseUnion}return Jn.Union;case Jn.FixedSizeBinary:return Jn.FixedSizeBinary;case Jn.FixedSizeList:return Jn.FixedSizeList;case Jn.Dictionary:return Jn.Dictionary}throw new Error(`Unrecognized type '${Jn[n.typeId]}'`)}aa.prototype.visitInt8=null;aa.prototype.visitInt16=null;aa.prototype.visitInt32=null;aa.prototype.visitInt64=null;aa.prototype.visitUint8=null;aa.prototype.visitUint16=null;aa.prototype.visitUint32=null;aa.prototype.visitUint64=null;aa.prototype.visitFloat16=null;aa.prototype.visitFloat32=null;aa.prototype.visitFloat64=null;aa.prototype.visitDateDay=null;aa.prototype.visitDateMillisecond=null;aa.prototype.visitTimestampSecond=null;aa.prototype.visitTimestampMillisecond=null;aa.prototype.visitTimestampMicrosecond=null;aa.prototype.visitTimestampNanosecond=null;aa.prototype.visitTimeSecond=null;aa.prototype.visitTimeMillisecond=null;aa.prototype.visitTimeMicrosecond=null;aa.prototype.visitTimeNanosecond=null;aa.prototype.visitDenseUnion=null;aa.prototype.visitSparseUnion=null;aa.prototype.visitIntervalDayTime=null;aa.prototype.visitIntervalYearMonth=null;const fk=new Float64Array(1),Ap=new Uint32Array(fk.buffer);function dk(n){const e=(n&31744)>>10,r=(n&1023)/1024,S=Math.pow(-1,(n&32768)>>15);switch(e){case 31:return S*(r?Number.NaN:1/0);case 0:return S*(r?6103515625e-14*r:0)}return S*Math.pow(2,e-15)*(1+r)}function B9(n){if(n!==n)return 32256;fk[0]=n;const e=(Ap[1]&2147483648)>>16&65535;let r=Ap[1]&2146435072,S=0;return r>=1089470464?Ap[0]>0?r=31744:(r=(r&2080374784)>>16,S=(Ap[1]&1048575)>>10):r<=1056964608?(S=1048576+(Ap[1]&1048575),S=1048576+(S<<(r>>20)-998)>>21,r=0):(r=r-1056964608>>10,S=(Ap[1]&1048575)+512>>10),e|r|S&65535}class Ci extends aa{}function Pi(n){return(e,r,S)=>{if(e.setValid(r,S!=null))return n(e,r,S)}}const N9=(n,e,r)=>{n[e]=Math.trunc(r/864e5)},b2=(n,e,r)=>{n[e]=Math.trunc(r%4294967296),n[e+1]=Math.trunc(r/4294967296)},V9=(n,e,r)=>{n[e]=Math.trunc(r*1e3%4294967296),n[e+1]=Math.trunc(r*1e3/4294967296)},j9=(n,e,r)=>{n[e]=Math.trunc(r*1e6%4294967296),n[e+1]=Math.trunc(r*1e6/4294967296)},pk=(n,e,r,S)=>{if(r+1{const D=n+r;S?e[D>>3]|=1<>3]&=~(1<{n[e]=r},x2=({values:n},e,r)=>{n[e]=r},mk=({values:n},e,r)=>{n[e]=B9(r)},H9=(n,e,r)=>{switch(n.type.precision){case Yl.HALF:return mk(n,e,r);case Yl.SINGLE:case Yl.DOUBLE:return x2(n,e,r)}},gk=({values:n},e,r)=>{N9(n,e,r.valueOf())},vk=({values:n},e,r)=>{b2(n,e*2,r.valueOf())},G9=({stride:n,values:e},r,S)=>{e.set(S.subarray(0,n),n*r)},q9=({values:n,valueOffsets:e},r,S)=>pk(n,e,r,S),W9=({values:n,valueOffsets:e},r,S)=>{pk(n,e,r,p2(S))},Y9=(n,e,r)=>{n.type.unit===nf.DAY?gk(n,e,r):vk(n,e,r)},yk=({values:n},e,r)=>b2(n,e*2,r/1e3),bk=({values:n},e,r)=>b2(n,e*2,r),xk=({values:n},e,r)=>V9(n,e*2,r),_k=({values:n},e,r)=>j9(n,e*2,r),$9=(n,e,r)=>{switch(n.type.unit){case wa.SECOND:return yk(n,e,r);case wa.MILLISECOND:return bk(n,e,r);case wa.MICROSECOND:return xk(n,e,r);case wa.NANOSECOND:return _k(n,e,r)}},wk=({values:n},e,r)=>{n[e]=r},Tk=({values:n},e,r)=>{n[e]=r},kk=({values:n},e,r)=>{n[e]=r},Mk=({values:n},e,r)=>{n[e]=r},Z9=(n,e,r)=>{switch(n.type.unit){case wa.SECOND:return wk(n,e,r);case wa.MILLISECOND:return Tk(n,e,r);case wa.MICROSECOND:return kk(n,e,r);case wa.NANOSECOND:return Mk(n,e,r)}},X9=({values:n,stride:e},r,S)=>{n.set(S.subarray(0,e),e*r)},K9=(n,e,r)=>{const S=n.children[0],D=n.valueOffsets,T=nc.getVisitFn(S);if(Array.isArray(r))for(let p=-1,t=D[e],d=D[e+1];t{const S=n.children[0],{valueOffsets:D}=n,T=nc.getVisitFn(S);let{[e]:p,[e+1]:t}=D;const d=r instanceof Map?r.entries():Object.entries(r);for(const g of d)if(T(S,p,g),++p>=t)break},Q9=(n,e)=>(r,S,D,T)=>S&&r(S,n,e[T]),eL=(n,e)=>(r,S,D,T)=>S&&r(S,n,e.get(T)),tL=(n,e)=>(r,S,D,T)=>S&&r(S,n,e.get(D.name)),nL=(n,e)=>(r,S,D,T)=>S&&r(S,n,e[D.name]),rL=(n,e,r)=>{const S=n.type.children.map(T=>nc.getVisitFn(T.type)),D=r instanceof Map?tL(e,r):r instanceof Ta?eL(e,r):Array.isArray(r)?Q9(e,r):nL(e,r);n.type.children.forEach((T,p)=>D(S[p],n.children[p],T,p))},iL=(n,e,r)=>{n.type.mode===xu.Dense?Ak(n,e,r):Sk(n,e,r)},Ak=(n,e,r)=>{const S=n.type.typeIdToChildIndex[n.typeIds[e]],D=n.children[S];nc.visit(D,n.valueOffsets[e],r)},Sk=(n,e,r)=>{const S=n.type.typeIdToChildIndex[n.typeIds[e]],D=n.children[S];nc.visit(D,e,r)},aL=(n,e,r)=>{var S;(S=n.dictionary)===null||S===void 0||S.set(n.values[e],r)},oL=(n,e,r)=>{n.type.unit===Hf.DAY_TIME?Ck(n,e,r):Ek(n,e,r)},Ck=({values:n},e,r)=>{n.set(r.subarray(0,2),2*e)},Ek=({values:n},e,r)=>{n[e]=r[0]*12+r[1]%12},sL=(n,e,r)=>{const{stride:S}=n,D=n.children[0],T=nc.getVisitFn(D);if(Array.isArray(r))for(let p=-1,t=e*S;++p`${Cm(e)}: ${Cm(r)}`).join(", ")}}`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}[Symbol.iterator](){return new lL(this[Ec],this[Gp])}}class lL{constructor(e,r){this.childIndex=0,this.children=e.children,this.rowIndex=r,this.childFields=e.type.children,this.numChildren=this.childFields.length}[Symbol.iterator](){return this}next(){const e=this.childIndex;return er.name)}has(e,r){return e[Ec].type.children.findIndex(S=>S.name===r)!==-1}getOwnPropertyDescriptor(e,r){if(e[Ec].type.children.findIndex(S=>S.name===r)!==-1)return{writable:!0,enumerable:!0,configurable:!0}}get(e,r){if(Reflect.has(e,r))return e[r];const S=e[Ec].type.children.findIndex(D=>D.name===r);if(S!==-1){const D=Xl.visit(e[Ec].children[S],e[Gp]);return Reflect.set(e,r,D),D}}set(e,r,S){const D=e[Ec].type.children.findIndex(T=>T.name===r);return D!==-1?(nc.visit(e[Ec].children[D],e[Gp],S),Reflect.set(e,r,S)):Reflect.has(e,r)||typeof r=="symbol"?Reflect.set(e,r,S):!1}}class Ti extends aa{}function Ei(n){return(e,r)=>e.getValid(r)?n(e,r):null}const cL=(n,e)=>864e5*n[e],w2=(n,e)=>4294967296*n[e+1]+(n[e]>>>0),hL=(n,e)=>4294967296*(n[e+1]/1e3)+(n[e]>>>0)/1e3,fL=(n,e)=>4294967296*(n[e+1]/1e6)+(n[e]>>>0)/1e6,Lk=n=>new Date(n),dL=(n,e)=>Lk(cL(n,e)),pL=(n,e)=>Lk(w2(n,e)),mL=(n,e)=>null,Ik=(n,e,r)=>{if(r+1>=e.length)return null;const S=e[r],D=e[r+1];return n.subarray(S,D)},gL=({offset:n,values:e},r)=>{const S=n+r;return(e[S>>3]&1<dL(n,e),Pk=({values:n},e)=>pL(n,e*2),Kf=({stride:n,values:e},r)=>e[n*r],vL=({stride:n,values:e},r)=>dk(e[n*r]),Ok=({values:n},e)=>n[e],yL=({stride:n,values:e},r)=>e.subarray(n*r,n*(r+1)),bL=({values:n,valueOffsets:e},r)=>Ik(n,e,r),xL=({values:n,valueOffsets:e},r)=>{const S=Ik(n,e,r);return S!==null?jb(S):null},_L=({values:n},e)=>n[e],wL=({type:n,values:e},r)=>n.precision!==Yl.HALF?e[r]:dk(e[r]),TL=(n,e)=>n.type.unit===nf.DAY?Rk(n,e):Pk(n,e),Dk=({values:n},e)=>1e3*w2(n,e*2),zk=({values:n},e)=>w2(n,e*2),Fk=({values:n},e)=>hL(n,e*2),Bk=({values:n},e)=>fL(n,e*2),kL=(n,e)=>{switch(n.type.unit){case wa.SECOND:return Dk(n,e);case wa.MILLISECOND:return zk(n,e);case wa.MICROSECOND:return Fk(n,e);case wa.NANOSECOND:return Bk(n,e)}},Nk=({values:n},e)=>n[e],Vk=({values:n},e)=>n[e],jk=({values:n},e)=>n[e],Uk=({values:n},e)=>n[e],ML=(n,e)=>{switch(n.type.unit){case wa.SECOND:return Nk(n,e);case wa.MILLISECOND:return Vk(n,e);case wa.MICROSECOND:return jk(n,e);case wa.NANOSECOND:return Uk(n,e)}},AL=({values:n,stride:e},r)=>y2.decimal(n.subarray(e*r,e*(r+1))),SL=(n,e)=>{const{valueOffsets:r,stride:S,children:D}=n,{[e*S]:T,[e*S+1]:p}=r,d=D[0].slice(T,p-T);return new Ta([d])},CL=(n,e)=>{const{valueOffsets:r,children:S}=n,{[e]:D,[e+1]:T}=r,p=S[0];return new T2(p.slice(D,T-D))},EL=(n,e)=>new _2(n,e),LL=(n,e)=>n.type.mode===xu.Dense?Hk(n,e):Gk(n,e),Hk=(n,e)=>{const r=n.type.typeIdToChildIndex[n.typeIds[e]],S=n.children[r];return Xl.visit(S,n.valueOffsets[e])},Gk=(n,e)=>{const r=n.type.typeIdToChildIndex[n.typeIds[e]],S=n.children[r];return Xl.visit(S,e)},IL=(n,e)=>{var r;return(r=n.dictionary)===null||r===void 0?void 0:r.get(n.values[e])},RL=(n,e)=>n.type.unit===Hf.DAY_TIME?qk(n,e):Wk(n,e),qk=({values:n},e)=>n.subarray(2*e,2*(e+1)),Wk=({values:n},e)=>{const r=n[e],S=new Int32Array(2);return S[0]=Math.trunc(r/12),S[1]=Math.trunc(r%12),S},PL=(n,e)=>{const{stride:r,children:S}=n,T=S[0].slice(e*r,r);return new Ta([T])};Ti.prototype.visitNull=Ei(mL);Ti.prototype.visitBool=Ei(gL);Ti.prototype.visitInt=Ei(_L);Ti.prototype.visitInt8=Ei(Kf);Ti.prototype.visitInt16=Ei(Kf);Ti.prototype.visitInt32=Ei(Kf);Ti.prototype.visitInt64=Ei(Ok);Ti.prototype.visitUint8=Ei(Kf);Ti.prototype.visitUint16=Ei(Kf);Ti.prototype.visitUint32=Ei(Kf);Ti.prototype.visitUint64=Ei(Ok);Ti.prototype.visitFloat=Ei(wL);Ti.prototype.visitFloat16=Ei(vL);Ti.prototype.visitFloat32=Ei(Kf);Ti.prototype.visitFloat64=Ei(Kf);Ti.prototype.visitUtf8=Ei(xL);Ti.prototype.visitBinary=Ei(bL);Ti.prototype.visitFixedSizeBinary=Ei(yL);Ti.prototype.visitDate=Ei(TL);Ti.prototype.visitDateDay=Ei(Rk);Ti.prototype.visitDateMillisecond=Ei(Pk);Ti.prototype.visitTimestamp=Ei(kL);Ti.prototype.visitTimestampSecond=Ei(Dk);Ti.prototype.visitTimestampMillisecond=Ei(zk);Ti.prototype.visitTimestampMicrosecond=Ei(Fk);Ti.prototype.visitTimestampNanosecond=Ei(Bk);Ti.prototype.visitTime=Ei(ML);Ti.prototype.visitTimeSecond=Ei(Nk);Ti.prototype.visitTimeMillisecond=Ei(Vk);Ti.prototype.visitTimeMicrosecond=Ei(jk);Ti.prototype.visitTimeNanosecond=Ei(Uk);Ti.prototype.visitDecimal=Ei(AL);Ti.prototype.visitList=Ei(SL);Ti.prototype.visitStruct=Ei(EL);Ti.prototype.visitUnion=Ei(LL);Ti.prototype.visitDenseUnion=Ei(Hk);Ti.prototype.visitSparseUnion=Ei(Gk);Ti.prototype.visitDictionary=Ei(IL);Ti.prototype.visitInterval=Ei(RL);Ti.prototype.visitIntervalDayTime=Ei(qk);Ti.prototype.visitIntervalYearMonth=Ei(Wk);Ti.prototype.visitFixedSizeList=Ei(PL);Ti.prototype.visitMap=Ei(CL);const Xl=new Ti,lh=Symbol.for("keys"),qp=Symbol.for("vals");class T2{constructor(e){return this[lh]=new Ta([e.children[0]]).memoize(),this[qp]=e.children[1],new Proxy(this,new DL)}[Symbol.iterator](){return new OL(this[lh],this[qp])}get size(){return this[lh].length}toArray(){return Object.values(this.toJSON())}toJSON(){const e=this[lh],r=this[qp],S={};for(let D=-1,T=e.length;++D`${Cm(e)}: ${Cm(r)}`).join(", ")}}`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}}class OL{constructor(e,r){this.keys=e,this.vals=r,this.keyIndex=0,this.numKeys=e.length}[Symbol.iterator](){return this}next(){const e=this.keyIndex;return e===this.numKeys?{done:!0,value:null}:(this.keyIndex++,{done:!1,value:[this.keys.get(e),Xl.visit(this.vals,e)]})}}class DL{isExtensible(){return!1}deleteProperty(){return!1}preventExtensions(){return!0}ownKeys(e){return e[lh].toArray().map(String)}has(e,r){return e[lh].includes(r)}getOwnPropertyDescriptor(e,r){if(e[lh].indexOf(r)!==-1)return{writable:!0,enumerable:!0,configurable:!0}}get(e,r){if(Reflect.has(e,r))return e[r];const S=e[lh].indexOf(r);if(S!==-1){const D=Xl.visit(Reflect.get(e,qp),S);return Reflect.set(e,r,D),D}}set(e,r,S){const D=e[lh].indexOf(r);return D!==-1?(nc.visit(Reflect.get(e,qp),D,S),Reflect.set(e,r,S)):Reflect.has(e,r)?Reflect.set(e,r,S):!1}}Object.defineProperties(T2.prototype,{[Symbol.toStringTag]:{enumerable:!1,configurable:!1,value:"Row"},[lh]:{writable:!0,enumerable:!1,configurable:!1,value:null},[qp]:{writable:!0,enumerable:!1,configurable:!1,value:null}});let J3;function Yk(n,e,r,S){const{length:D=0}=n;let T=typeof e!="number"?0:e,p=typeof r!="number"?D:r;return T<0&&(T=(T%D+D)%D),p<0&&(p=(p%D+D)%D),pD&&(p=D),S?S(n,T,p):[T,p]}const Q3=n=>n!==n;function v0(n){if(typeof n!=="object"||n===null)return Q3(n)?Q3:r=>r===n;if(n instanceof Date){const r=n.valueOf();return S=>S instanceof Date?S.valueOf()===r:!1}return ArrayBuffer.isView(n)?r=>r?C9(n,r):!1:n instanceof Map?FL(n):Array.isArray(n)?zL(n):n instanceof Ta?BL(n):NL(n,!0)}function zL(n){const e=[];for(let r=-1,S=n.length;++r!1;const S=[];for(let D=-1,T=r.length;++D{if(!r||typeof r!="object")return!1;switch(r.constructor){case Array:return VL(n,r);case Map:return e5(n,r,r.keys());case T2:case _2:case Object:case void 0:return e5(n,r,e||Object.keys(r))}return r instanceof Ta?jL(n,r):!1}}function VL(n,e){const r=n.length;if(e.length!==r)return!1;for(let S=-1;++S>S}function k2(n,e,r){const S=r.byteLength+7&-8;if(n>0||r.byteLength>3):qv(new M2(r,n,e,null,$k)).subarray(0,S)),D}return r}function qv(n){const e=[];let r=0,S=0,D=0;for(const p of n)p&&(D|=1<0)&&(e[r++]=D);const T=new Uint8Array(e.length+7&-8);return T.set(e),T}class M2{constructor(e,r,S,D,T){this.bytes=e,this.length=S,this.context=D,this.get=T,this.bit=r%8,this.byteIndex=r>>3,this.byte=e[this.byteIndex++],this.index=0}next(){return this.index>3<<3,D=e+(e%8===0?0:8-e%8);return qb(n,e,D)+qb(n,S,r)+HL(n,D>>3,S-D>>3)}function HL(n,e,r){let S=0,D=Math.trunc(e);const T=new DataView(n.buffer,n.byteOffset,n.byteLength),p=r===void 0?n.byteLength:D+r;for(;p-D>=4;)S+=cb(T.getUint32(D)),D+=4;for(;p-D>=2;)S+=cb(T.getUint16(D)),D+=2;for(;p-D>=1;)S+=cb(T.getUint8(D)),D+=1;return S}function cb(n){let e=Math.trunc(n);return e=e-(e>>>1&1431655765),e=(e&858993459)+(e>>>2&858993459),(e+(e>>>4)&252645135)*16843009>>>24}const GL=-1;class Qa{constructor(e,r,S,D,T,p=[],t){this.type=e,this.children=p,this.dictionary=t,this.offset=Math.floor(Math.max(r||0,0)),this.length=Math.floor(Math.max(S||0,0)),this._nullCount=Math.floor(Math.max(D||0,-1));let d;T instanceof Qa?(this.stride=T.stride,this.values=T.values,this.typeIds=T.typeIds,this.nullBitmap=T.nullBitmap,this.valueOffsets=T.valueOffsets):(this.stride=Wh(e),T&&((d=T[0])&&(this.valueOffsets=d),(d=T[1])&&(this.values=d),(d=T[2])&&(this.nullBitmap=d),(d=T[3])&&(this.typeIds=d))),this.nullable=this._nullCount!==0&&this.nullBitmap&&this.nullBitmap.byteLength>0}get typeId(){return this.type.typeId}get ArrayType(){return this.type.ArrayType}get buffers(){return[this.valueOffsets,this.values,this.nullBitmap,this.typeIds]}get byteLength(){let e=0;const{valueOffsets:r,values:S,nullBitmap:D,typeIds:T}=this;return r&&(e+=r.byteLength),S&&(e+=S.byteLength),D&&(e+=D.byteLength),T&&(e+=T.byteLength),this.children.reduce((p,t)=>p+t.byteLength,e)}get nullCount(){let e=this._nullCount,r;return e<=GL&&(r=this.nullBitmap)&&(this._nullCount=e=this.length-qb(r,this.offset,this.offset+this.length)),e}getValid(e){if(this.nullable&&this.nullCount>0){const r=this.offset+e;return(this.nullBitmap[r>>3]&1<>3){const{nullBitmap:d}=this._changeLengthAndBackfillNullBitmap(this.length);Object.assign(this,{nullBitmap:d,_nullCount:0})}const{nullBitmap:S,offset:D}=this,T=D+e>>3,p=(D+e)%8,t=S[T]>>p&1;return r?t===0&&(S[T]|=1<>3).fill(255,0,r>>3);D[r>>3]=(1<0&&D.set(k2(this.offset,r,this.nullBitmap),0);const T=this.buffers;return T[qh.VALIDITY]=D,this.clone(this.type,0,e,S+(e-r),T)}_sliceBuffers(e,r,S,D){let T;const{buffers:p}=this;return(T=p[qh.TYPE])&&(p[qh.TYPE]=T.subarray(e,e+r)),(T=p[qh.OFFSET])&&(p[qh.OFFSET]=T.subarray(e,e+r+1))||(T=p[qh.DATA])&&(p[qh.DATA]=D===6?T:T.subarray(S*e,S*(e+r))),p}_sliceChildren(e,r,S){return e.map(D=>D.slice(r,S))}}Qa.prototype.children=Object.freeze([]);class mm extends aa{visit(e){return this.getVisitFn(e.type).call(this,e)}visitNull(e){const{["type"]:r,["offset"]:S=0,["length"]:D=0}=e;return new Qa(r,S,D,0)}visitBool(e){const{["type"]:r,["offset"]:S=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length>>3,["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,S,p,t,[void 0,T,D])}visitInt(e){const{["type"]:r,["offset"]:S=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length,["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,S,p,t,[void 0,T,D])}visitFloat(e){const{["type"]:r,["offset"]:S=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length,["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,S,p,t,[void 0,T,D])}visitUtf8(e){const{["type"]:r,["offset"]:S=0}=e,D=_a(e.data),T=_a(e.nullBitmap),p=rm(e.valueOffsets),{["length"]:t=p.length-1,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,S,t,d,[p,D,T])}visitBinary(e){const{["type"]:r,["offset"]:S=0}=e,D=_a(e.data),T=_a(e.nullBitmap),p=rm(e.valueOffsets),{["length"]:t=p.length-1,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,S,t,d,[p,D,T])}visitFixedSizeBinary(e){const{["type"]:r,["offset"]:S=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,S,p,t,[void 0,T,D])}visitDate(e){const{["type"]:r,["offset"]:S=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,S,p,t,[void 0,T,D])}visitTimestamp(e){const{["type"]:r,["offset"]:S=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,S,p,t,[void 0,T,D])}visitTime(e){const{["type"]:r,["offset"]:S=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,S,p,t,[void 0,T,D])}visitDecimal(e){const{["type"]:r,["offset"]:S=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,S,p,t,[void 0,T,D])}visitList(e){const{["type"]:r,["offset"]:S=0,["child"]:D}=e,T=_a(e.nullBitmap),p=rm(e.valueOffsets),{["length"]:t=p.length-1,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,S,t,d,[p,void 0,T],[D])}visitStruct(e){const{["type"]:r,["offset"]:S=0,["children"]:D=[]}=e,T=_a(e.nullBitmap),{length:p=D.reduce((d,{length:g})=>Math.max(d,g),0),nullCount:t=e.nullBitmap?-1:0}=e;return new Qa(r,S,p,t,[void 0,void 0,T],D)}visitUnion(e){const{["type"]:r,["offset"]:S=0,["children"]:D=[]}=e,T=_a(e.nullBitmap),p=qa(r.ArrayType,e.typeIds),{["length"]:t=p.length,["nullCount"]:d=e.nullBitmap?-1:0}=e;if(_i.isSparseUnion(r))return new Qa(r,S,t,d,[void 0,void 0,T,p],D);const g=rm(e.valueOffsets);return new Qa(r,S,t,d,[g,void 0,T,p],D)}visitDictionary(e){const{["type"]:r,["offset"]:S=0}=e,D=_a(e.nullBitmap),T=qa(r.indices.ArrayType,e.data),{["dictionary"]:p=new Ta([new mm().visit({type:r.dictionary})])}=e,{["length"]:t=T.length,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,S,t,d,[void 0,T,D],[],p)}visitInterval(e){const{["type"]:r,["offset"]:S=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,S,p,t,[void 0,T,D])}visitFixedSizeList(e){const{["type"]:r,["offset"]:S=0,["child"]:D=new mm().visit({type:r.valueType})}=e,T=_a(e.nullBitmap),{["length"]:p=D.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,S,p,t,[void 0,void 0,T],[D])}visitMap(e){const{["type"]:r,["offset"]:S=0,["child"]:D=new mm().visit({type:r.childType})}=e,T=_a(e.nullBitmap),p=rm(e.valueOffsets),{["length"]:t=p.length-1,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,S,t,d,[p,void 0,T],[D])}}function ra(n){return new mm().visit(n)}class t5{constructor(e=0,r){this.numChunks=e,this.getChunkIterator=r,this.chunkIndex=0,this.chunkIterator=this.getChunkIterator(0)}next(){for(;this.chunkIndexe+r.nullCount,0)}function Xk(n){return n.reduce((e,r,S)=>(e[S+1]=e[S]+r.length,e),new Uint32Array(n.length+1))}function Kk(n,e,r,S){const D=[];for(let T=-1,p=n.length;++T=S)break;if(r>=d+g)continue;if(d>=r&&d+g<=S){D.push(t);continue}const i=Math.max(0,r-d),M=Math.min(S-d,g);D.push(t.slice(i,M-i))}return D.length===0&&D.push(n[0].slice(0,0)),D}function A2(n,e,r,S){let D=0,T=0,p=e.length-1;do{if(D>=p-1)return r0?0:-1}function WL(n,e){const{nullBitmap:r}=n;if(!r||n.nullCount<=0)return-1;let S=0;for(const D of new M2(r,n.offset+(e||0),n.length,r,$k)){if(!D)return S;++S}return-1}function Vi(n,e,r){if(e===void 0)return-1;if(e===null)return WL(n,r);const S=Xl.getVisitFn(n),D=v0(e);for(let T=(r||0)-1,p=n.length;++T{const D=n.data[S];return D.values.subarray(0,D.length)[Symbol.iterator]()});let r=0;return new t5(n.data.length,S=>{const T=n.data[S].length,p=n.slice(r,r+T);return r+=T,new YL(p)})}class YL{constructor(e){this.vector=e,this.index=0}next(){return this.indexn+e;class Jf extends aa{visitNull(e,r){return 0}visitInt(e,r){return e.type.bitWidth/8}visitFloat(e,r){return e.type.ArrayType.BYTES_PER_ELEMENT}visitBool(e,r){return 1/8}visitDecimal(e,r){return e.type.bitWidth/8}visitDate(e,r){return(e.type.unit+1)*4}visitTime(e,r){return e.type.bitWidth/8}visitTimestamp(e,r){return e.type.unit===wa.SECOND?4:8}visitInterval(e,r){return(e.type.unit+1)*4}visitStruct(e,r){return e.children.reduce((S,D)=>S+_h.visit(D,r),0)}visitFixedSizeBinary(e,r){return e.type.byteWidth}visitMap(e,r){return 8+e.children.reduce((S,D)=>S+_h.visit(D,r),0)}visitDictionary(e,r){var S;return e.type.indices.bitWidth/8+(((S=e.dictionary)===null||S===void 0?void 0:S.getByteLength(e.values[r]))||0)}}const ZL=({valueOffsets:n},e)=>8+(n[e+1]-n[e]),XL=({valueOffsets:n},e)=>8+(n[e+1]-n[e]),KL=({valueOffsets:n,stride:e,children:r},S)=>{const D=r[0],{[S*e]:T}=n,{[S*e+1]:p}=n,t=_h.getVisitFn(D.type),d=D.slice(T,p-T);let g=8;for(let i=-1,M=p-T;++i{const S=e[0],D=S.slice(r*n,n),T=_h.getVisitFn(S.type);let p=0;for(let t=-1,d=D.length;++tn.type.mode===xu.Dense?tM(n,e):nM(n,e),tM=({type:n,children:e,typeIds:r,valueOffsets:S},D)=>{const T=n.typeIdToChildIndex[r[D]];return 8+_h.visit(e[T],S[D])},nM=({children:n},e)=>4+_h.visitMany(n,n.map(()=>e)).reduce($L,0);Jf.prototype.visitUtf8=ZL;Jf.prototype.visitBinary=XL;Jf.prototype.visitList=KL;Jf.prototype.visitFixedSizeList=JL;Jf.prototype.visitUnion=QL;Jf.prototype.visitDenseUnion=tM;Jf.prototype.visitSparseUnion=nM;const _h=new Jf;var rM;const iM={},aM={};class Ta{constructor(e){var r,S,D;const T=e[0]instanceof Ta?e.flatMap(t=>t.data):e;if(T.length===0||T.some(t=>!(t instanceof Qa)))throw new TypeError("Vector constructor expects an Array of Data instances.");const p=(r=T[0])===null||r===void 0?void 0:r.type;switch(T.length){case 0:this._offsets=[0];break;case 1:{const{get:t,set:d,indexOf:g,byteLength:i}=iM[p.typeId],M=T[0];this.isValid=v=>S2(M,v),this.get=v=>t(M,v),this.set=(v,f)=>d(M,v,f),this.indexOf=v=>g(M,v),this.getByteLength=v=>i(M,v),this._offsets=[0,M.length];break}default:Object.setPrototypeOf(this,aM[p.typeId]),this._offsets=Xk(T);break}this.data=T,this.type=p,this.stride=Wh(p),this.numChildren=(D=(S=p.children)===null||S===void 0?void 0:S.length)!==null&&D!==void 0?D:0,this.length=this._offsets[this._offsets.length-1]}get byteLength(){return this._byteLength===-1&&(this._byteLength=this.data.reduce((e,r)=>e+r.byteLength,0)),this._byteLength}get nullCount(){return this._nullCount===-1&&(this._nullCount=Zk(this.data)),this._nullCount}get ArrayType(){return this.type.ArrayType}get[Symbol.toStringTag](){return`${this.VectorName}<${this.type[Symbol.toStringTag]}>`}get VectorName(){return`${Jn[this.type.typeId]}Vector`}isValid(e){return!1}get(e){return null}set(e,r){}indexOf(e,r){return-1}includes(e,r){return this.indexOf(e,r)>0}getByteLength(e){return 0}[Symbol.iterator](){return C2.visit(this)}concat(...e){return new Ta(this.data.concat(e.flatMap(r=>r.data).flat(Number.POSITIVE_INFINITY)))}slice(e,r){return new Ta(Yk(this,e,r,({data:S,_offsets:D},T,p)=>Kk(S,D,T,p)))}toJSON(){return[...this]}toArray(){const{type:e,data:r,length:S,stride:D,ArrayType:T}=this;switch(e.typeId){case Jn.Int:case Jn.Float:case Jn.Decimal:case Jn.Time:case Jn.Timestamp:switch(r.length){case 0:return new T;case 1:return r[0].values.subarray(0,S*D);default:return r.reduce((p,{values:t,length:d})=>(p.array.set(t.subarray(0,d*D),p.offset),p.offset+=d*D,p),{array:new T(S*D),offset:0}).array}}return[...this]}toString(){return`[${[...this].join(",")}]`}getChild(e){var r;return this.getChildAt((r=this.type.children)===null||r===void 0?void 0:r.findIndex(S=>S.name===e))}getChildAt(e){return e>-1&&er[e])):null}get isMemoized(){return _i.isDictionary(this.type)?this.data[0].dictionary.isMemoized:!1}memoize(){if(_i.isDictionary(this.type)){const e=new Yv(this.data[0].dictionary),r=this.data.map(S=>{const D=S.clone();return D.dictionary=e,D});return new Ta(r)}return new Yv(this)}unmemoize(){if(_i.isDictionary(this.type)&&this.isMemoized){const e=this.data[0].dictionary.unmemoize(),r=this.data.map(S=>{const D=S.clone();return D.dictionary=e,D});return new Ta(r)}return this}}rM=Symbol.toStringTag;Ta[rM]=(n=>{n.type=_i.prototype,n.data=[],n.length=0,n.stride=1,n.numChildren=0,n._nullCount=-1,n._byteLength=-1,n._offsets=new Uint32Array([0]),n[Symbol.isConcatSpreadable]=!0;const e=Object.keys(Jn).map(r=>Jn[r]).filter(r=>typeof r=="number"&&r!==Jn.NONE);for(const r of e){const S=Xl.getVisitFnByTypeId(r),D=nc.getVisitFnByTypeId(r),T=Wv.getVisitFnByTypeId(r),p=_h.getVisitFnByTypeId(r);iM[r]={get:S,set:D,indexOf:T,byteLength:p},aM[r]=Object.create(n,{isValid:{value:Wp(S2)},get:{value:Wp(Xl.getVisitFnByTypeId(r))},set:{value:Jk(nc.getVisitFnByTypeId(r))},indexOf:{value:Qk(Wv.getVisitFnByTypeId(r))},getByteLength:{value:Wp(_h.getVisitFnByTypeId(r))}})}return"Vector"})(Ta.prototype);class Yv extends Ta{constructor(e){super(e.data);const r=this.get,S=this.set,D=this.slice,T=new Array(this.length);Object.defineProperty(this,"get",{value(p){const t=T[p];if(t!==void 0)return t;const d=r.call(this,p);return T[p]=d,d}}),Object.defineProperty(this,"set",{value(p,t){S.call(this,p,t),T[p]=t}}),Object.defineProperty(this,"slice",{value:(p,t)=>new Yv(D.call(this,p,t))}),Object.defineProperty(this,"isMemoized",{value:!0}),Object.defineProperty(this,"unmemoize",{value:()=>new Ta(this.data)}),Object.defineProperty(this,"memoize",{value:()=>this})}}class Wb{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}offset(){return this.bb.readInt64(this.bb_pos)}metaDataLength(){return this.bb.readInt32(this.bb_pos+8)}bodyLength(){return this.bb.readInt64(this.bb_pos+16)}static sizeOf(){return 24}static createBlock(e,r,S,D){return e.prep(8,24),e.writeInt64(D),e.pad(4),e.writeInt32(S),e.writeInt64(r),e.offset()}}const hb=2,uh=4,$h=4,Wa=4,Pf=new Int32Array(2),n5=new Float32Array(Pf.buffer),r5=new Float64Array(Pf.buffer),av=new Uint16Array(new Uint8Array([1,0]).buffer)[0]===1;let Jh=class Yb{constructor(e,r){this.low=e|0,this.high=r|0}static create(e,r){return e==0&&r==0?Yb.ZERO:new Yb(e,r)}toFloat64(){return(this.low>>>0)+this.high*4294967296}equals(e){return this.low==e.low&&this.high==e.high}};Jh.ZERO=new Jh(0,0);var $b;(function(n){n[n.UTF8_BYTES=1]="UTF8_BYTES",n[n.UTF16_STRING=2]="UTF16_STRING"})($b||($b={}));let Jp=class oM{constructor(e){this.bytes_=e,this.position_=0}static allocate(e){return new oM(new Uint8Array(e))}clear(){this.position_=0}bytes(){return this.bytes_}position(){return this.position_}setPosition(e){this.position_=e}capacity(){return this.bytes_.length}readInt8(e){return this.readUint8(e)<<24>>24}readUint8(e){return this.bytes_[e]}readInt16(e){return this.readUint16(e)<<16>>16}readUint16(e){return this.bytes_[e]|this.bytes_[e+1]<<8}readInt32(e){return this.bytes_[e]|this.bytes_[e+1]<<8|this.bytes_[e+2]<<16|this.bytes_[e+3]<<24}readUint32(e){return this.readInt32(e)>>>0}readInt64(e){return new Jh(this.readInt32(e),this.readInt32(e+4))}readUint64(e){return new Jh(this.readUint32(e),this.readUint32(e+4))}readFloat32(e){return Pf[0]=this.readInt32(e),n5[0]}readFloat64(e){return Pf[av?0:1]=this.readInt32(e),Pf[av?1:0]=this.readInt32(e+4),r5[0]}writeInt8(e,r){this.bytes_[e]=r}writeUint8(e,r){this.bytes_[e]=r}writeInt16(e,r){this.bytes_[e]=r,this.bytes_[e+1]=r>>8}writeUint16(e,r){this.bytes_[e]=r,this.bytes_[e+1]=r>>8}writeInt32(e,r){this.bytes_[e]=r,this.bytes_[e+1]=r>>8,this.bytes_[e+2]=r>>16,this.bytes_[e+3]=r>>24}writeUint32(e,r){this.bytes_[e]=r,this.bytes_[e+1]=r>>8,this.bytes_[e+2]=r>>16,this.bytes_[e+3]=r>>24}writeInt64(e,r){this.writeInt32(e,r.low),this.writeInt32(e+4,r.high)}writeUint64(e,r){this.writeUint32(e,r.low),this.writeUint32(e+4,r.high)}writeFloat32(e,r){n5[0]=r,this.writeInt32(e,Pf[0])}writeFloat64(e,r){r5[0]=r,this.writeInt32(e,Pf[av?0:1]),this.writeInt32(e+4,Pf[av?1:0])}getBufferIdentifier(){if(this.bytes_.length>10)+55296,(p&1024-1)+56320))}return D}__union_with_string(e,r){return typeof e=="string"?this.__string(r):this.__union(e,r)}__indirect(e){return e+this.readInt32(e)}__vector(e){return e+this.readInt32(e)+uh}__vector_len(e){return this.readInt32(e+this.readInt32(e))}__has_identifier(e){if(e.length!=$h)throw new Error("FlatBuffers: file identifier must be length "+$h);for(let r=0;r<$h;r++)if(e.charCodeAt(r)!=this.readInt8(this.position()+uh+r))return!1;return!0}createLong(e,r){return Jh.create(e,r)}createScalarList(e,r){const S=[];for(let D=0;Dthis.minalign&&(this.minalign=e);const S=~(this.bb.capacity()-this.space+r)+1&e-1;for(;this.space=0&&this.vtable[r]==0;r--);const S=r+1;for(;r>=0;r--)this.addInt16(this.vtable[r]!=0?e-this.vtable[r]:0);const D=2;this.addInt16(e-this.object_start);const T=(S+D)*hb;this.addInt16(T);let p=0;const t=this.space;e:for(r=0;r=0;p--)this.writeInt8(T.charCodeAt(p))}this.prep(this.minalign,uh+D),this.addOffset(e),D&&this.addInt32(this.bb.capacity()-this.space),this.bb.setPosition(this.space)}finishSizePrefixed(e,r){this.finish(e,r,!0)}requiredField(e,r){const S=this.bb.capacity()-e,D=S-this.bb.readInt32(S);if(!(this.bb.readInt16(D+r)!=0))throw new Error("FlatBuffers: field "+r+" must be set")}startVector(e,r,S){this.notNested(),this.vector_num_elems=r,this.prep(uh,e*r),this.prep(S,e*r)}endVector(){return this.writeInt32(this.vector_num_elems),this.offset()}createSharedString(e){if(!e)return 0;if(this.string_maps||(this.string_maps=new Map),this.string_maps.has(e))return this.string_maps.get(e);const r=this.createString(e);return this.string_maps.set(e,r),r}createString(e){if(!e)return 0;let r;if(e instanceof Uint8Array)r=e;else{r=[];let S=0;for(;S=56320)D=T;else{const p=e.charCodeAt(S++);D=(T<<10)+p+(65536-56623104-56320)}D<128?r.push(D):(D<2048?r.push(D>>6&31|192):(D<65536?r.push(D>>12&15|224):r.push(D>>18&7|240,D>>12&63|128),r.push(D>>6&63|128)),r.push(D&63|128))}}this.addInt8(0),this.startVector(1,r.length,1),this.bb.setPosition(this.space-=r.length);for(let S=0,D=this.space,T=this.bb.bytes();S=0;S--)e.addInt32(r[S]);return e.endVector()}static startTypeIdsVector(e,r){e.startVector(4,r,4)}static endUnion(e){return e.endObject()}static createUnion(e,r,S){return ql.startUnion(e),ql.addMode(e,r),ql.addTypeIds(e,S),ql.endUnion(e)}}class Pd{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsUtf8(e,r){return(r||new Pd).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsUtf8(e,r){return e.setPosition(e.position()+Wa),(r||new Pd).__init(e.readInt32(e.position())+e.position(),e)}static startUtf8(e){e.startObject(0)}static endUtf8(e){return e.endObject()}static createUtf8(e){return Pd.startUtf8(e),Pd.endUtf8(e)}}var Ao;(function(n){n[n.NONE=0]="NONE",n[n.Null=1]="Null",n[n.Int=2]="Int",n[n.FloatingPoint=3]="FloatingPoint",n[n.Binary=4]="Binary",n[n.Utf8=5]="Utf8",n[n.Bool=6]="Bool",n[n.Decimal=7]="Decimal",n[n.Date=8]="Date",n[n.Time=9]="Time",n[n.Timestamp=10]="Timestamp",n[n.Interval=11]="Interval",n[n.List=12]="List",n[n.Struct_=13]="Struct_",n[n.Union=14]="Union",n[n.FixedSizeBinary=15]="FixedSizeBinary",n[n.FixedSizeList=16]="FixedSizeList",n[n.Map=17]="Map",n[n.Duration=18]="Duration",n[n.LargeBinary=19]="LargeBinary",n[n.LargeUtf8=20]="LargeUtf8",n[n.LargeList=21]="LargeList"})(Ao||(Ao={}));let qu=class yv{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsField(e,r){return(r||new yv).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsField(e,r){return e.setPosition(e.position()+Wa),(r||new yv).__init(e.readInt32(e.position())+e.position(),e)}name(e){const r=this.bb.__offset(this.bb_pos,4);return r?this.bb.__string(this.bb_pos+r,e):null}nullable(){const e=this.bb.__offset(this.bb_pos,6);return e?!!this.bb.readInt8(this.bb_pos+e):!1}typeType(){const e=this.bb.__offset(this.bb_pos,8);return e?this.bb.readUint8(this.bb_pos+e):Ao.NONE}type(e){const r=this.bb.__offset(this.bb_pos,10);return r?this.bb.__union(e,this.bb_pos+r):null}dictionary(e){const r=this.bb.__offset(this.bb_pos,12);return r?(e||new Zh).__init(this.bb.__indirect(this.bb_pos+r),this.bb):null}children(e,r){const S=this.bb.__offset(this.bb_pos,14);return S?(r||new yv).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+S)+e*4),this.bb):null}childrenLength(){const e=this.bb.__offset(this.bb_pos,14);return e?this.bb.__vector_len(this.bb_pos+e):0}customMetadata(e,r){const S=this.bb.__offset(this.bb_pos,16);return S?(r||new cs).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+S)+e*4),this.bb):null}customMetadataLength(){const e=this.bb.__offset(this.bb_pos,16);return e?this.bb.__vector_len(this.bb_pos+e):0}static startField(e){e.startObject(7)}static addName(e,r){e.addFieldOffset(0,r,0)}static addNullable(e,r){e.addFieldInt8(1,+r,0)}static addTypeType(e,r){e.addFieldInt8(2,r,Ao.NONE)}static addType(e,r){e.addFieldOffset(3,r,0)}static addDictionary(e,r){e.addFieldOffset(4,r,0)}static addChildren(e,r){e.addFieldOffset(5,r,0)}static createChildrenVector(e,r){e.startVector(4,r.length,4);for(let S=r.length-1;S>=0;S--)e.addOffset(r[S]);return e.endVector()}static startChildrenVector(e,r){e.startVector(4,r,4)}static addCustomMetadata(e,r){e.addFieldOffset(6,r,0)}static createCustomMetadataVector(e,r){e.startVector(4,r.length,4);for(let S=r.length-1;S>=0;S--)e.addOffset(r[S]);return e.endVector()}static startCustomMetadataVector(e,r){e.startVector(4,r,4)}static endField(e){return e.endObject()}},ih=class Hh{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsSchema(e,r){return(r||new Hh).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsSchema(e,r){return e.setPosition(e.position()+Wa),(r||new Hh).__init(e.readInt32(e.position())+e.position(),e)}endianness(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):e0.Little}fields(e,r){const S=this.bb.__offset(this.bb_pos,6);return S?(r||new qu).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+S)+e*4),this.bb):null}fieldsLength(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.__vector_len(this.bb_pos+e):0}customMetadata(e,r){const S=this.bb.__offset(this.bb_pos,8);return S?(r||new cs).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+S)+e*4),this.bb):null}customMetadataLength(){const e=this.bb.__offset(this.bb_pos,8);return e?this.bb.__vector_len(this.bb_pos+e):0}features(e){const r=this.bb.__offset(this.bb_pos,10);return r?this.bb.readInt64(this.bb.__vector(this.bb_pos+r)+e*8):this.bb.createLong(0,0)}featuresLength(){const e=this.bb.__offset(this.bb_pos,10);return e?this.bb.__vector_len(this.bb_pos+e):0}static startSchema(e){e.startObject(4)}static addEndianness(e,r){e.addFieldInt16(0,r,e0.Little)}static addFields(e,r){e.addFieldOffset(1,r,0)}static createFieldsVector(e,r){e.startVector(4,r.length,4);for(let S=r.length-1;S>=0;S--)e.addOffset(r[S]);return e.endVector()}static startFieldsVector(e,r){e.startVector(4,r,4)}static addCustomMetadata(e,r){e.addFieldOffset(2,r,0)}static createCustomMetadataVector(e,r){e.startVector(4,r.length,4);for(let S=r.length-1;S>=0;S--)e.addOffset(r[S]);return e.endVector()}static startCustomMetadataVector(e,r){e.startVector(4,r,4)}static addFeatures(e,r){e.addFieldOffset(3,r,0)}static createFeaturesVector(e,r){e.startVector(8,r.length,8);for(let S=r.length-1;S>=0;S--)e.addInt64(r[S]);return e.endVector()}static startFeaturesVector(e,r){e.startVector(8,r,8)}static endSchema(e){return e.endObject()}static finishSchemaBuffer(e,r){e.finish(r)}static finishSizePrefixedSchemaBuffer(e,r){e.finish(r,void 0,!0)}static createSchema(e,r,S,D,T){return Hh.startSchema(e),Hh.addEndianness(e,r),Hh.addFields(e,S),Hh.addCustomMetadata(e,D),Hh.addFeatures(e,T),Hh.endSchema(e)}};class fu{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsFooter(e,r){return(r||new fu).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsFooter(e,r){return e.setPosition(e.position()+Wa),(r||new fu).__init(e.readInt32(e.position())+e.position(),e)}version(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):Qp.V1}schema(e){const r=this.bb.__offset(this.bb_pos,6);return r?(e||new ih).__init(this.bb.__indirect(this.bb_pos+r),this.bb):null}dictionaries(e,r){const S=this.bb.__offset(this.bb_pos,8);return S?(r||new Wb).__init(this.bb.__vector(this.bb_pos+S)+e*24,this.bb):null}dictionariesLength(){const e=this.bb.__offset(this.bb_pos,8);return e?this.bb.__vector_len(this.bb_pos+e):0}recordBatches(e,r){const S=this.bb.__offset(this.bb_pos,10);return S?(r||new Wb).__init(this.bb.__vector(this.bb_pos+S)+e*24,this.bb):null}recordBatchesLength(){const e=this.bb.__offset(this.bb_pos,10);return e?this.bb.__vector_len(this.bb_pos+e):0}customMetadata(e,r){const S=this.bb.__offset(this.bb_pos,12);return S?(r||new cs).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+S)+e*4),this.bb):null}customMetadataLength(){const e=this.bb.__offset(this.bb_pos,12);return e?this.bb.__vector_len(this.bb_pos+e):0}static startFooter(e){e.startObject(5)}static addVersion(e,r){e.addFieldInt16(0,r,Qp.V1)}static addSchema(e,r){e.addFieldOffset(1,r,0)}static addDictionaries(e,r){e.addFieldOffset(2,r,0)}static startDictionariesVector(e,r){e.startVector(24,r,8)}static addRecordBatches(e,r){e.addFieldOffset(3,r,0)}static startRecordBatchesVector(e,r){e.startVector(24,r,8)}static addCustomMetadata(e,r){e.addFieldOffset(4,r,0)}static createCustomMetadataVector(e,r){e.startVector(4,r.length,4);for(let S=r.length-1;S>=0;S--)e.addOffset(r[S]);return e.endVector()}static startCustomMetadataVector(e,r){e.startVector(4,r,4)}static endFooter(e){return e.endObject()}static finishFooterBuffer(e,r){e.finish(r)}static finishSizePrefixedFooterBuffer(e,r){e.finish(r,void 0,!0)}}class Ea{constructor(e=[],r,S){this.fields=e||[],this.metadata=r||new Map,S||(S=Zb(e)),this.dictionaries=S}get[Symbol.toStringTag](){return"Schema"}get names(){return this.fields.map(e=>e.name)}toString(){return`Schema<{ ${this.fields.map((e,r)=>`${r}: ${e}`).join(", ")} }>`}select(e){const r=new Set(e),S=this.fields.filter(D=>r.has(D.name));return new Ea(S,this.metadata)}selectAt(e){const r=e.map(S=>this.fields[S]).filter(Boolean);return new Ea(r,this.metadata)}assign(...e){const r=e[0]instanceof Ea?e[0]:Array.isArray(e[0])?new Ea(e[0]):new Ea(e),S=[...this.fields],D=ov(ov(new Map,this.metadata),r.metadata),T=r.fields.filter(t=>{const d=S.findIndex(g=>g.name===t.name);return~d?(S[d]=t.clone({metadata:ov(ov(new Map,S[d].metadata),t.metadata)}))&&!1:!0}),p=Zb(T,new Map);return new Ea([...S,...T],D,new Map([...this.dictionaries,...p]))}}Ea.prototype.fields=null;Ea.prototype.metadata=null;Ea.prototype.dictionaries=null;class oo{constructor(e,r,S=!1,D){this.name=e,this.type=r,this.nullable=S,this.metadata=D||new Map}static new(...e){let[r,S,D,T]=e;return e[0]&&typeof e[0]=="object"&&({name:r}=e[0],S===void 0&&(S=e[0].type),D===void 0&&(D=e[0].nullable),T===void 0&&(T=e[0].metadata)),new oo(`${r}`,S,D,T)}get typeId(){return this.type.typeId}get[Symbol.toStringTag](){return"Field"}toString(){return`${this.name}: ${this.type}`}clone(...e){let[r,S,D,T]=e;return!e[0]||typeof e[0]!="object"?[r=this.name,S=this.type,D=this.nullable,T=this.metadata]=e:{name:r=this.name,type:S=this.type,nullable:D=this.nullable,metadata:T=this.metadata}=e[0],oo.new(r,S,D,T)}}oo.prototype.type=null;oo.prototype.name=null;oo.prototype.nullable=null;oo.prototype.metadata=null;function ov(n,e){return new Map([...n||new Map,...e||new Map])}function Zb(n,e=new Map){for(let r=-1,S=n.length;++r0&&Zb(T.children,e)}return e}var i5=Jh,eI=sM,tI=Jp;class Pm{constructor(e,r=gu.V4,S,D){this.schema=e,this.version=r,S&&(this._recordBatches=S),D&&(this._dictionaryBatches=D)}static decode(e){e=new tI(_a(e));const r=fu.getRootAsFooter(e),S=Ea.decode(r.schema());return new nI(S,r)}static encode(e){const r=new eI,S=Ea.encode(r,e.schema);fu.startRecordBatchesVector(r,e.numRecordBatches);for(const p of[...e.recordBatches()].slice().reverse())Wf.encode(r,p);const D=r.endVector();fu.startDictionariesVector(r,e.numDictionaries);for(const p of[...e.dictionaryBatches()].slice().reverse())Wf.encode(r,p);const T=r.endVector();return fu.startFooter(r),fu.addSchema(r,S),fu.addVersion(r,gu.V4),fu.addRecordBatches(r,D),fu.addDictionaries(r,T),fu.finishFooterBuffer(r,fu.endFooter(r)),r.asUint8Array()}get numRecordBatches(){return this._recordBatches.length}get numDictionaries(){return this._dictionaryBatches.length}*recordBatches(){for(let e,r=-1,S=this.numRecordBatches;++r=0&&e=0&&e=0&&e=0&&ethis._closedPromiseResolve=e)}get closed(){return this._closedPromise}cancel(e){return yi(this,void 0,void 0,function*(){yield this.return(e)})}write(e){this._ensureOpen()&&(this.resolvers.length<=0?this._values.push(e):this.resolvers.shift().resolve({done:!1,value:e}))}abort(e){this._closedPromiseResolve&&(this.resolvers.length<=0?this._error={error:e}:this.resolvers.shift().reject({done:!0,value:e}))}close(){if(this._closedPromiseResolve){const{resolvers:e}=this;for(;e.length>0;)e.shift().resolve(So);this._closedPromiseResolve(),this._closedPromiseResolve=void 0}}[Symbol.asyncIterator](){return this}toDOMStream(e){return $u.toDOMStream(this._closedPromiseResolve||this._error?this:this._values,e)}toNodeStream(e){return $u.toNodeStream(this._closedPromiseResolve||this._error?this:this._values,e)}throw(e){return yi(this,void 0,void 0,function*(){return yield this.abort(e),So})}return(e){return yi(this,void 0,void 0,function*(){return yield this.close(),So})}read(e){return yi(this,void 0,void 0,function*(){return(yield this.next(e,"read")).value})}peek(e){return yi(this,void 0,void 0,function*(){return(yield this.next(e,"peek")).value})}next(...e){return this._values.length>0?Promise.resolve({done:!1,value:this._values.shift()}):this._error?Promise.reject({done:!0,value:this._error.error}):this._closedPromiseResolve?new Promise((r,S)=>{this.resolvers.push({resolve:r,reject:S})}):Promise.resolve(So)}_ensureOpen(){if(this._closedPromiseResolve)return!0;throw new Error("AsyncQueue is closed")}}class bv extends rI{write(e){if((e=_a(e)).byteLength>0)return super.write(e)}toString(e=!1){return e?jb(this.toUint8Array(!0)):this.toUint8Array(!1).then(jb)}toUint8Array(e=!1){return e?xh(this._values)[0]:(()=>yi(this,void 0,void 0,function*(){var r,S;const D=[];let T=0;try{for(var p=Nd(this),t;t=yield p.next(),!t.done;){const d=t.value;D.push(d),T+=d.byteLength}}catch(d){r={error:d}}finally{try{t&&!t.done&&(S=p.return)&&(yield S.call(p))}finally{if(r)throw r.error}}return xh(D,T)[0]}))()}}class Qv{constructor(e){e&&(this.source=new iI($u.fromIterable(e)))}[Symbol.iterator](){return this}next(e){return this.source.next(e)}throw(e){return this.source.throw(e)}return(e){return this.source.return(e)}peek(e){return this.source.peek(e)}read(e){return this.source.read(e)}}class n0{constructor(e){e instanceof n0?this.source=e.source:e instanceof bv?this.source=new xd($u.fromAsyncIterable(e)):G4(e)?this.source=new xd($u.fromNodeStream(e)):m2(e)?this.source=new xd($u.fromDOMStream(e)):H4(e)?this.source=new xd($u.fromDOMStream(e.body)):Zm(e)?this.source=new xd($u.fromIterable(e)):Uf(e)?this.source=new xd($u.fromAsyncIterable(e)):g0(e)&&(this.source=new xd($u.fromAsyncIterable(e)))}[Symbol.asyncIterator](){return this}next(e){return this.source.next(e)}throw(e){return this.source.throw(e)}return(e){return this.source.return(e)}get closed(){return this.source.closed}cancel(e){return this.source.cancel(e)}peek(e){return this.source.peek(e)}read(e){return this.source.read(e)}}class iI{constructor(e){this.source=e}cancel(e){this.return(e)}peek(e){return this.next(e,"peek").value}read(e){return this.next(e,"read").value}next(e,r="read"){return this.source.next({cmd:r,size:e})}throw(e){return Object.create(this.source.throw&&this.source.throw(e)||So)}return(e){return Object.create(this.source.return&&this.source.return(e)||So)}}class xd{constructor(e){this.source=e,this._closedPromise=new Promise(r=>this._closedPromiseResolve=r)}cancel(e){return yi(this,void 0,void 0,function*(){yield this.return(e)})}get closed(){return this._closedPromise}read(e){return yi(this,void 0,void 0,function*(){return(yield this.next(e,"read")).value})}peek(e){return yi(this,void 0,void 0,function*(){return(yield this.next(e,"peek")).value})}next(e,r="read"){return yi(this,void 0,void 0,function*(){return yield this.source.next({cmd:r,size:e})})}throw(e){return yi(this,void 0,void 0,function*(){const r=this.source.throw&&(yield this.source.throw(e))||So;return this._closedPromiseResolve&&this._closedPromiseResolve(),this._closedPromiseResolve=void 0,Object.create(r)})}return(e){return yi(this,void 0,void 0,function*(){const r=this.source.return&&(yield this.source.return(e))||So;return this._closedPromiseResolve&&this._closedPromiseResolve(),this._closedPromiseResolve=void 0,Object.create(r)})}}class o5 extends Qv{constructor(e,r){super(),this.position=0,this.buffer=_a(e),this.size=typeof r>"u"?this.buffer.byteLength:r}readInt32(e){const{buffer:r,byteOffset:S}=this.readAt(e,4);return new DataView(r,S).getInt32(0,!0)}seek(e){return this.position=Math.min(e,this.size),eyi(this,void 0,void 0,function*(){this.size=(yield e.stat()).size,delete this._pending}))()}readInt32(e){return yi(this,void 0,void 0,function*(){const{buffer:r,byteOffset:S}=yield this.readAt(e,4);return new DataView(r,S).getInt32(0,!0)})}seek(e){return yi(this,void 0,void 0,function*(){return this._pending&&(yield this._pending),this.position=Math.min(e,this.size),e>>16,this.buffer[1]&65535,this.buffer[0]>>>16,this.buffer[0]&65535]),S=new Uint32Array([e.buffer[1]>>>16,e.buffer[1]&65535,e.buffer[0]>>>16,e.buffer[0]&65535]);let D=r[3]*S[3];this.buffer[0]=D&65535;let T=D>>>16;return D=r[2]*S[3],T+=D,D=r[3]*S[2]>>>0,T+=D,this.buffer[0]+=T<<16,this.buffer[1]=T>>>0>>16,this.buffer[1]+=r[1]*S[3]+r[2]*S[2]+r[3]*S[1],this.buffer[1]+=r[0]*S[3]+r[1]*S[2]+r[2]*S[1]+r[3]*S[0]<<16,this}_plus(e){const r=this.buffer[0]+e.buffer[0]>>>0;this.buffer[1]+=e.buffer[1],r>>0&&++this.buffer[1],this.buffer[0]=r}lessThan(e){return this.buffer[1]>>0,r[2]=this.buffer[2]+e.buffer[2]>>>0,r[1]=this.buffer[1]+e.buffer[1]>>>0,r[0]=this.buffer[0]+e.buffer[0]>>>0,r[0]>>0&&++r[1],r[1]>>0&&++r[2],r[2]>>0&&++r[3],this.buffer[3]=r[3],this.buffer[2]=r[2],this.buffer[1]=r[1],this.buffer[0]=r[0],this}hex(){return`${zp(this.buffer[3])} ${zp(this.buffer[2])} ${zp(this.buffer[1])} ${zp(this.buffer[0])}`}static multiply(e,r){return new ah(new Uint32Array(e.buffer)).times(r)}static add(e,r){return new ah(new Uint32Array(e.buffer)).plus(r)}static from(e,r=new Uint32Array(4)){return ah.fromString(typeof e=="string"?e:e.toString(),r)}static fromNumber(e,r=new Uint32Array(4)){return ah.fromString(e.toString(),r)}static fromString(e,r=new Uint32Array(4)){const S=e.startsWith("-"),D=e.length,T=new ah(r);for(let p=S?1:0;p0&&this.readData(e,S)||new Uint8Array(0)}readOffsets(e,r){return this.readData(e,r)}readTypeIds(e,r){return this.readData(e,r)}readData(e,{length:r,offset:S}=this.nextBufferRange()){return this.bytes.subarray(S,S+r)}readDictionary(e){return this.dictionaries.get(e.id)}}class oI extends cM{constructor(e,r,S,D){super(new Uint8Array(0),r,S,D),this.sources=e}readNullBitmap(e,r,{offset:S}=this.nextBufferRange()){return r<=0?new Uint8Array(0):qv(this.sources[S])}readOffsets(e,{offset:r}=this.nextBufferRange()){return qa(Uint8Array,qa(Int32Array,this.sources[r]))}readTypeIds(e,{offset:r}=this.nextBufferRange()){return qa(Uint8Array,qa(e.ArrayType,this.sources[r]))}readData(e,{offset:r}=this.nextBufferRange()){const{sources:S}=this;return _i.isTimestamp(e)||(_i.isInt(e)||_i.isTime(e))&&e.bitWidth===64||_i.isDate(e)&&e.unit===nf.MILLISECOND?qa(Uint8Array,jl.convertArray(S[r])):_i.isDecimal(e)?qa(Uint8Array,ah.convertArray(S[r])):_i.isBinary(e)||_i.isFixedSizeBinary(e)?sI(S[r]):_i.isBool(e)?qv(S[r]):_i.isUtf8(e)?p2(S[r].join("")):qa(Uint8Array,qa(e.ArrayType,S[r].map(D=>+D)))}}function sI(n){const e=n.join(""),r=new Uint8Array(e.length/2);for(let S=0;S>1]=Number.parseInt(e.slice(S,S+2),16);return r}class Ai extends aa{compareSchemas(e,r){return e===r||r instanceof e.constructor&&this.compareManyFields(e.fields,r.fields)}compareManyFields(e,r){return e===r||Array.isArray(e)&&Array.isArray(r)&&e.length===r.length&&e.every((S,D)=>this.compareFields(S,r[D]))}compareFields(e,r){return e===r||r instanceof e.constructor&&e.name===r.name&&e.nullable===r.nullable&&this.visit(e.type,r.type)}}function Kl(n,e){return e instanceof n.constructor}function Xm(n,e){return n===e||Kl(n,e)}function hf(n,e){return n===e||Kl(n,e)&&n.bitWidth===e.bitWidth&&n.isSigned===e.isSigned}function Gy(n,e){return n===e||Kl(n,e)&&n.precision===e.precision}function lI(n,e){return n===e||Kl(n,e)&&n.byteWidth===e.byteWidth}function I2(n,e){return n===e||Kl(n,e)&&n.unit===e.unit}function Km(n,e){return n===e||Kl(n,e)&&n.unit===e.unit&&n.timezone===e.timezone}function Jm(n,e){return n===e||Kl(n,e)&&n.unit===e.unit&&n.bitWidth===e.bitWidth}function uI(n,e){return n===e||Kl(n,e)&&n.children.length===e.children.length&&Yf.compareManyFields(n.children,e.children)}function cI(n,e){return n===e||Kl(n,e)&&n.children.length===e.children.length&&Yf.compareManyFields(n.children,e.children)}function R2(n,e){return n===e||Kl(n,e)&&n.mode===e.mode&&n.typeIds.every((r,S)=>r===e.typeIds[S])&&Yf.compareManyFields(n.children,e.children)}function hI(n,e){return n===e||Kl(n,e)&&n.id===e.id&&n.isOrdered===e.isOrdered&&Yf.visit(n.indices,e.indices)&&Yf.visit(n.dictionary,e.dictionary)}function P2(n,e){return n===e||Kl(n,e)&&n.unit===e.unit}function fI(n,e){return n===e||Kl(n,e)&&n.listSize===e.listSize&&n.children.length===e.children.length&&Yf.compareManyFields(n.children,e.children)}function dI(n,e){return n===e||Kl(n,e)&&n.keysSorted===e.keysSorted&&n.children.length===e.children.length&&Yf.compareManyFields(n.children,e.children)}Ai.prototype.visitNull=Xm;Ai.prototype.visitBool=Xm;Ai.prototype.visitInt=hf;Ai.prototype.visitInt8=hf;Ai.prototype.visitInt16=hf;Ai.prototype.visitInt32=hf;Ai.prototype.visitInt64=hf;Ai.prototype.visitUint8=hf;Ai.prototype.visitUint16=hf;Ai.prototype.visitUint32=hf;Ai.prototype.visitUint64=hf;Ai.prototype.visitFloat=Gy;Ai.prototype.visitFloat16=Gy;Ai.prototype.visitFloat32=Gy;Ai.prototype.visitFloat64=Gy;Ai.prototype.visitUtf8=Xm;Ai.prototype.visitBinary=Xm;Ai.prototype.visitFixedSizeBinary=lI;Ai.prototype.visitDate=I2;Ai.prototype.visitDateDay=I2;Ai.prototype.visitDateMillisecond=I2;Ai.prototype.visitTimestamp=Km;Ai.prototype.visitTimestampSecond=Km;Ai.prototype.visitTimestampMillisecond=Km;Ai.prototype.visitTimestampMicrosecond=Km;Ai.prototype.visitTimestampNanosecond=Km;Ai.prototype.visitTime=Jm;Ai.prototype.visitTimeSecond=Jm;Ai.prototype.visitTimeMillisecond=Jm;Ai.prototype.visitTimeMicrosecond=Jm;Ai.prototype.visitTimeNanosecond=Jm;Ai.prototype.visitDecimal=Xm;Ai.prototype.visitList=uI;Ai.prototype.visitStruct=cI;Ai.prototype.visitUnion=R2;Ai.prototype.visitDenseUnion=R2;Ai.prototype.visitSparseUnion=R2;Ai.prototype.visitDictionary=hI;Ai.prototype.visitInterval=P2;Ai.prototype.visitIntervalDayTime=P2;Ai.prototype.visitIntervalYearMonth=P2;Ai.prototype.visitFixedSizeList=fI;Ai.prototype.visitMap=dI;const Yf=new Ai;function Xb(n,e){return Yf.compareSchemas(n,e)}function fb(n,e){return pI(n,e.map(r=>r.data.concat()))}function pI(n,e){const r=[...n.fields],S=[],D={numBatches:e.reduce((M,v)=>Math.max(M,v.length),0)};let T=0,p=0,t=-1;const d=e.length;let g,i=[];for(;D.numBatches-- >0;){for(p=Number.POSITIVE_INFINITY,t=-1;++t0&&(S[T++]=ra({type:new bl(r),length:p,nullCount:0,children:i.slice()})))}return[n=n.assign(r),S.map(M=>new Wl(n,M))]}function mI(n,e,r,S,D){var T;const p=(e+63&-64)>>3;for(let t=-1,d=S.length;++t=e)i===e?r[t]=g:(r[t]=g.slice(0,e),D.numBatches=Math.max(D.numBatches,S[t].unshift(g.slice(e,i-e))));else{const M=n[t];n[t]=M.clone({nullable:!0}),r[t]=(T=g==null?void 0:g._changeLengthAndBackfillNullBitmap(e))!==null&&T!==void 0?T:ra({type:M.type,length:e,nullCount:e,nullBitmap:new Uint8Array(p)})}}return r}var hM;class ml{constructor(...e){var r,S;if(e.length===0)return this.batches=[],this.schema=new Ea([]),this._offsets=[0],this;let D,T;e[0]instanceof Ea&&(D=e.shift()),e[e.length-1]instanceof Uint32Array&&(T=e.pop());const p=d=>{if(d){if(d instanceof Wl)return[d];if(d instanceof ml)return d.batches;if(d instanceof Qa){if(d.type instanceof bl)return[new Wl(new Ea(d.type.children),d)]}else{if(Array.isArray(d))return d.flatMap(g=>p(g));if(typeof d[Symbol.iterator]=="function")return[...d].flatMap(g=>p(g));if(typeof d=="object"){const g=Object.keys(d),i=g.map(f=>new Ta([d[f]])),M=new Ea(g.map((f,l)=>new oo(String(f),i[l].type))),[,v]=fb(M,i);return v.length===0?[new Wl(d)]:v}}}return[]},t=e.flatMap(d=>p(d));if(D=(S=D??((r=t[0])===null||r===void 0?void 0:r.schema))!==null&&S!==void 0?S:new Ea([]),!(D instanceof Ea))throw new TypeError("Table constructor expects a [Schema, RecordBatch[]] pair.");for(const d of t){if(!(d instanceof Wl))throw new TypeError("Table constructor expects a [Schema, RecordBatch[]] pair.");if(!Xb(D,d.schema))throw new TypeError("Table and inner RecordBatch schemas must be equivalent.")}this.schema=D,this.batches=t,this._offsets=T??Xk(this.data)}get data(){return this.batches.map(({data:e})=>e)}get numCols(){return this.schema.fields.length}get numRows(){return this.data.reduce((e,r)=>e+r.length,0)}get nullCount(){return this._nullCount===-1&&(this._nullCount=Zk(this.data)),this._nullCount}isValid(e){return!1}get(e){return null}set(e,r){}indexOf(e,r){return-1}getByteLength(e){return 0}[Symbol.iterator](){return this.batches.length>0?C2.visit(new Ta(this.data)):new Array(0)[Symbol.iterator]()}toArray(){return[...this]}toString(){return`[ - ${this.toArray().join(`, - `)} -]`}concat(...e){const r=this.schema,S=this.data.concat(e.flatMap(({data:D})=>D));return new ml(r,S.map(D=>new Wl(r,D)))}slice(e,r){const S=this.schema;[e,r]=Yk({length:this.numRows},e,r);const D=Kk(this.data,this._offsets,e,r);return new ml(S,D.map(T=>new Wl(S,T)))}getChild(e){return this.getChildAt(this.schema.fields.findIndex(r=>r.name===e))}getChildAt(e){if(e>-1&&eS.children[e]);if(r.length===0){const{type:S}=this.schema.fields[e],D=ra({type:S,length:0,nullCount:0});r.push(D._changeLengthAndBackfillNullBitmap(this.numRows))}return new Ta(r)}return null}setChild(e,r){var S;return this.setChildAt((S=this.schema.fields)===null||S===void 0?void 0:S.findIndex(D=>D.name===e),r)}setChildAt(e,r){let S=this.schema,D=[...this.batches];if(e>-1&&ethis.getChildAt(g));[T[e],t[e]]=[p,r],[S,D]=fb(S,t)}return new ml(S,D)}select(e){const r=this.schema.fields.reduce((S,D,T)=>S.set(D.name,T),new Map);return this.selectAt(e.map(S=>r.get(S)).filter(S=>S>-1))}selectAt(e){const r=this.schema.selectAt(e),S=this.batches.map(D=>D.selectAt(e));return new ml(r,S)}assign(e){const r=this.schema.fields,[S,D]=e.schema.fields.reduce((t,d,g)=>{const[i,M]=t,v=r.findIndex(f=>f.name===d.name);return~v?M[v]=g:i.push(g),t},[[],[]]),T=this.schema.assign(e.schema),p=[...r.map((t,d)=>[d,D[d]]).map(([t,d])=>d===void 0?this.getChildAt(t):e.getChildAt(d)),...S.map(t=>e.getChildAt(t))].filter(Boolean);return new ml(...fb(T,p))}}hM=Symbol.toStringTag;ml[hM]=(n=>(n.schema=null,n.batches=[],n._offsets=new Uint32Array([0]),n._nullCount=-1,n[Symbol.isConcatSpreadable]=!0,n.isValid=Wp(S2),n.get=Wp(Xl.getVisitFn(Jn.Struct)),n.set=Jk(nc.getVisitFn(Jn.Struct)),n.indexOf=Qk(Wv.getVisitFn(Jn.Struct)),n.getByteLength=Wp(_h.getVisitFn(Jn.Struct)),"Table"))(ml.prototype);var fM;let Wl=class sm{constructor(...e){switch(e.length){case 2:{if([this.schema]=e,!(this.schema instanceof Ea))throw new TypeError("RecordBatch constructor expects a [Schema, Data] pair.");if([,this.data=ra({nullCount:0,type:new bl(this.schema.fields),children:this.schema.fields.map(r=>ra({type:r.type,nullCount:0}))})]=e,!(this.data instanceof Qa))throw new TypeError("RecordBatch constructor expects a [Schema, Data] pair.");[this.schema,this.data]=s5(this.schema,this.data.children);break}case 1:{const[r]=e,{fields:S,children:D,length:T}=Object.keys(r).reduce((d,g,i)=>(d.children[i]=r[g],d.length=Math.max(d.length,r[g].length),d.fields[i]=oo.new({name:g,type:r[g].type,nullable:!0}),d),{length:0,fields:new Array,children:new Array}),p=new Ea(S),t=ra({type:new bl(S),length:T,children:D,nullCount:0});[this.schema,this.data]=s5(p,t.children,T);break}default:throw new TypeError("RecordBatch constructor expects an Object mapping names to child Data, or a [Schema, Data] pair.")}}get dictionaries(){return this._dictionaries||(this._dictionaries=dM(this.schema.fields,this.data.children))}get numCols(){return this.schema.fields.length}get numRows(){return this.data.length}get nullCount(){return this.data.nullCount}isValid(e){return this.data.getValid(e)}get(e){return Xl.visit(this.data,e)}set(e,r){return nc.visit(this.data,e,r)}indexOf(e,r){return Wv.visit(this.data,e,r)}getByteLength(e){return _h.visit(this.data,e)}[Symbol.iterator](){return C2.visit(new Ta([this.data]))}toArray(){return[...this]}concat(...e){return new ml(this.schema,[this,...e])}slice(e,r){const[S]=new Ta([this.data]).slice(e,r).data;return new sm(this.schema,S)}getChild(e){var r;return this.getChildAt((r=this.schema.fields)===null||r===void 0?void 0:r.findIndex(S=>S.name===e))}getChildAt(e){return e>-1&&eD.name===e),r)}setChildAt(e,r){let S=this.schema,D=this.data;if(e>-1&&et.name===T);~p&&(D[p]=this.data.children[p])}return new sm(r,ra({type:S,length:this.numRows,children:D}))}selectAt(e){const r=this.schema.selectAt(e),S=e.map(T=>this.data.children[T]).filter(Boolean),D=ra({type:new bl(r.fields),length:this.numRows,children:S});return new sm(r,D)}};fM=Symbol.toStringTag;Wl[fM]=(n=>(n._nullCount=-1,n[Symbol.isConcatSpreadable]=!0,"RecordBatch"))(Wl.prototype);function s5(n,e,r=e.reduce((S,D)=>Math.max(S,D.length),0)){var S;const D=[...n.fields],T=[...e],p=(r+63&-64)>>3;for(const[t,d]of n.fields.entries()){const g=e[t];(!g||g.length!==r)&&(D[t]=d.clone({nullable:!0}),T[t]=(S=g==null?void 0:g._changeLengthAndBackfillNullBitmap(r))!==null&&S!==void 0?S:ra({type:d.type,length:r,nullCount:r,nullBitmap:new Uint8Array(p)}))}return[n.assign(D),ra({type:new bl(D),length:r,children:T})]}function dM(n,e,r=new Map){for(let S=-1,D=n.length;++S0&&dM(p.children,t.children,r)}return r}class O2 extends Wl{constructor(e){const r=e.fields.map(D=>ra({type:D.type})),S=ra({type:new bl(e.fields),nullCount:0,children:r});super(e,S)}}var ty;(function(n){n[n.BUFFER=0]="BUFFER"})(ty||(ty={}));var ny;(function(n){n[n.LZ4_FRAME=0]="LZ4_FRAME",n[n.ZSTD=1]="ZSTD"})(ny||(ny={}));class Of{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsBodyCompression(e,r){return(r||new Of).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsBodyCompression(e,r){return e.setPosition(e.position()+Wa),(r||new Of).__init(e.readInt32(e.position())+e.position(),e)}codec(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt8(this.bb_pos+e):ny.LZ4_FRAME}method(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.readInt8(this.bb_pos+e):ty.BUFFER}static startBodyCompression(e){e.startObject(2)}static addCodec(e,r){e.addFieldInt8(0,r,ny.LZ4_FRAME)}static addMethod(e,r){e.addFieldInt8(1,r,ty.BUFFER)}static endBodyCompression(e){return e.endObject()}static createBodyCompression(e,r,S){return Of.startBodyCompression(e),Of.addCodec(e,r),Of.addMethod(e,S),Of.endBodyCompression(e)}}let pM=class{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}offset(){return this.bb.readInt64(this.bb_pos)}length(){return this.bb.readInt64(this.bb_pos+8)}static sizeOf(){return 16}static createBuffer(e,r,S){return e.prep(8,16),e.writeInt64(S),e.writeInt64(r),e.offset()}},mM=class{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}length(){return this.bb.readInt64(this.bb_pos)}nullCount(){return this.bb.readInt64(this.bb_pos+8)}static sizeOf(){return 16}static createFieldNode(e,r,S){return e.prep(8,16),e.writeInt64(S),e.writeInt64(r),e.offset()}},Yh=class Kb{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsRecordBatch(e,r){return(r||new Kb).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsRecordBatch(e,r){return e.setPosition(e.position()+Wa),(r||new Kb).__init(e.readInt32(e.position())+e.position(),e)}length(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt64(this.bb_pos+e):this.bb.createLong(0,0)}nodes(e,r){const S=this.bb.__offset(this.bb_pos,6);return S?(r||new mM).__init(this.bb.__vector(this.bb_pos+S)+e*16,this.bb):null}nodesLength(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.__vector_len(this.bb_pos+e):0}buffers(e,r){const S=this.bb.__offset(this.bb_pos,8);return S?(r||new pM).__init(this.bb.__vector(this.bb_pos+S)+e*16,this.bb):null}buffersLength(){const e=this.bb.__offset(this.bb_pos,8);return e?this.bb.__vector_len(this.bb_pos+e):0}compression(e){const r=this.bb.__offset(this.bb_pos,10);return r?(e||new Of).__init(this.bb.__indirect(this.bb_pos+r),this.bb):null}static startRecordBatch(e){e.startObject(4)}static addLength(e,r){e.addFieldInt64(0,r,e.createLong(0,0))}static addNodes(e,r){e.addFieldOffset(1,r,0)}static startNodesVector(e,r){e.startVector(16,r,8)}static addBuffers(e,r){e.addFieldOffset(2,r,0)}static startBuffersVector(e,r){e.startVector(16,r,8)}static addCompression(e,r){e.addFieldOffset(3,r,0)}static endRecordBatch(e){return e.endObject()}},Dp=class Jb{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsDictionaryBatch(e,r){return(r||new Jb).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsDictionaryBatch(e,r){return e.setPosition(e.position()+Wa),(r||new Jb).__init(e.readInt32(e.position())+e.position(),e)}id(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt64(this.bb_pos+e):this.bb.createLong(0,0)}data(e){const r=this.bb.__offset(this.bb_pos,6);return r?(e||new Yh).__init(this.bb.__indirect(this.bb_pos+r),this.bb):null}isDelta(){const e=this.bb.__offset(this.bb_pos,8);return e?!!this.bb.readInt8(this.bb_pos+e):!1}static startDictionaryBatch(e){e.startObject(3)}static addId(e,r){e.addFieldInt64(0,r,e.createLong(0,0))}static addData(e,r){e.addFieldOffset(1,r,0)}static addIsDelta(e,r){e.addFieldInt8(2,+r,0)}static endDictionaryBatch(e){return e.endObject()}};var ry;(function(n){n[n.NONE=0]="NONE",n[n.Schema=1]="Schema",n[n.DictionaryBatch=2]="DictionaryBatch",n[n.RecordBatch=3]="RecordBatch",n[n.Tensor=4]="Tensor",n[n.SparseTensor=5]="SparseTensor"})(ry||(ry={}));let Ef=class rh{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsMessage(e,r){return(r||new rh).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsMessage(e,r){return e.setPosition(e.position()+Wa),(r||new rh).__init(e.readInt32(e.position())+e.position(),e)}version(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):Qp.V1}headerType(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.readUint8(this.bb_pos+e):ry.NONE}header(e){const r=this.bb.__offset(this.bb_pos,8);return r?this.bb.__union(e,this.bb_pos+r):null}bodyLength(){const e=this.bb.__offset(this.bb_pos,10);return e?this.bb.readInt64(this.bb_pos+e):this.bb.createLong(0,0)}customMetadata(e,r){const S=this.bb.__offset(this.bb_pos,12);return S?(r||new cs).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+S)+e*4),this.bb):null}customMetadataLength(){const e=this.bb.__offset(this.bb_pos,12);return e?this.bb.__vector_len(this.bb_pos+e):0}static startMessage(e){e.startObject(5)}static addVersion(e,r){e.addFieldInt16(0,r,Qp.V1)}static addHeaderType(e,r){e.addFieldInt8(1,r,ry.NONE)}static addHeader(e,r){e.addFieldOffset(2,r,0)}static addBodyLength(e,r){e.addFieldInt64(3,r,e.createLong(0,0))}static addCustomMetadata(e,r){e.addFieldOffset(4,r,0)}static createCustomMetadataVector(e,r){e.startVector(4,r.length,4);for(let S=r.length-1;S>=0;S--)e.addOffset(r[S]);return e.endVector()}static startCustomMetadataVector(e,r){e.startVector(4,r,4)}static endMessage(e){return e.endObject()}static finishMessageBuffer(e,r){e.finish(r)}static finishSizePrefixedMessageBuffer(e,r){e.finish(r,void 0,!0)}static createMessage(e,r,S,D,T,p){return rh.startMessage(e),rh.addVersion(e,r),rh.addHeaderType(e,S),rh.addHeader(e,D),rh.addBodyLength(e,T),rh.addCustomMetadata(e,p),rh.endMessage(e)}};var gI=Jh;class vI extends aa{visit(e,r){return e==null||r==null?void 0:super.visit(e,r)}visitNull(e,r){return Id.startNull(r),Id.endNull(r)}visitInt(e,r){return mu.startInt(r),mu.addBitWidth(r,e.bitWidth),mu.addIsSigned(r,e.isSigned),mu.endInt(r)}visitFloat(e,r){return fh.startFloatingPoint(r),fh.addPrecision(r,e.precision),fh.endFloatingPoint(r)}visitBinary(e,r){return Cd.startBinary(r),Cd.endBinary(r)}visitBool(e,r){return Ed.startBool(r),Ed.endBool(r)}visitUtf8(e,r){return Pd.startUtf8(r),Pd.endUtf8(r)}visitDecimal(e,r){return Gl.startDecimal(r),Gl.addScale(r,e.scale),Gl.addPrecision(r,e.precision),Gl.addBitWidth(r,e.bitWidth),Gl.endDecimal(r)}visitDate(e,r){return gv.startDate(r),gv.addUnit(r,e.unit),gv.endDate(r)}visitTime(e,r){return Zu.startTime(r),Zu.addUnit(r,e.unit),Zu.addBitWidth(r,e.bitWidth),Zu.endTime(r)}visitTimestamp(e,r){const S=e.timezone&&r.createString(e.timezone)||void 0;return Xu.startTimestamp(r),Xu.addUnit(r,e.unit),S!==void 0&&Xu.addTimezone(r,S),Xu.endTimestamp(r)}visitInterval(e,r){return dh.startInterval(r),dh.addUnit(r,e.unit),dh.endInterval(r)}visitList(e,r){return Ld.startList(r),Ld.endList(r)}visitStruct(e,r){return Rd.startStruct_(r),Rd.endStruct_(r)}visitUnion(e,r){ql.startTypeIdsVector(r,e.typeIds.length);const S=ql.createTypeIdsVector(r,e.typeIds);return ql.startUnion(r),ql.addMode(r,e.mode),ql.addTypeIds(r,S),ql.endUnion(r)}visitDictionary(e,r){const S=this.visit(e.indices,r);return Zh.startDictionaryEncoding(r),Zh.addId(r,new gI(e.id,0)),Zh.addIsOrdered(r,e.isOrdered),S!==void 0&&Zh.addIndexType(r,S),Zh.endDictionaryEncoding(r)}visitFixedSizeBinary(e,r){return ch.startFixedSizeBinary(r),ch.addByteWidth(r,e.byteWidth),ch.endFixedSizeBinary(r)}visitFixedSizeList(e,r){return hh.startFixedSizeList(r),hh.addListSize(r,e.listSize),hh.endFixedSizeList(r)}visitMap(e,r){return vv.startMap(r),vv.addKeysSorted(r,e.keysSorted),vv.endMap(r)}}const db=new vI;function yI(n,e=new Map){return new Ea(xI(n,e),xv(n.customMetadata),e)}function gM(n){return new _u(n.count,vM(n.columns),yM(n.columns))}function bI(n){return new wh(gM(n.data),n.id,n.isDelta)}function xI(n,e){return(n.fields||[]).filter(Boolean).map(r=>oo.fromJSON(r,e))}function l5(n,e){return(n.children||[]).filter(Boolean).map(r=>oo.fromJSON(r,e))}function vM(n){return(n||[]).reduce((e,r)=>[...e,new Jd(r.count,_I(r.VALIDITY)),...vM(r.children)],[])}function yM(n,e=[]){for(let r=-1,S=(n||[]).length;++re+ +(r===0),0)}function wI(n,e){let r,S,D,T,p,t;return!e||!(T=n.dictionary)?(p=c5(n,l5(n,e)),D=new oo(n.name,p,n.nullable,xv(n.customMetadata))):e.has(r=T.id)?(S=(S=T.indexType)?u5(S):new Lm,t=new Kp(e.get(r),S,r,T.isOrdered),D=new oo(n.name,t,n.nullable,xv(n.customMetadata))):(S=(S=T.indexType)?u5(S):new Lm,e.set(r,p=c5(n,l5(n,e))),t=new Kp(p,S,r,T.isOrdered),D=new oo(n.name,t,n.nullable,xv(n.customMetadata))),D||null}function xv(n){return new Map(Object.entries(n||{}))}function u5(n){return new qf(n.isSigned,n.bitWidth)}function c5(n,e){const r=n.type.name;switch(r){case"NONE":return new Gf;case"null":return new Gf;case"binary":return new Pv;case"utf8":return new Ov;case"bool":return new Dv;case"list":return new Vv((e||[])[0]);case"struct":return new bl(e||[]);case"struct_":return new bl(e||[])}switch(r){case"int":{const S=n.type;return new qf(S.isSigned,S.bitWidth)}case"floatingpoint":{const S=n.type;return new Im(Yl[S.precision])}case"decimal":{const S=n.type;return new zv(S.scale,S.precision,S.bitWidth)}case"date":{const S=n.type;return new Fv(nf[S.unit])}case"time":{const S=n.type;return new Rm(wa[S.unit],S.bitWidth)}case"timestamp":{const S=n.type;return new Bv(wa[S.unit],S.timezone)}case"interval":{const S=n.type;return new Nv(Hf[S.unit])}case"union":{const S=n.type;return new jv(xu[S.mode],S.typeIds||[],e||[])}case"fixedsizebinary":{const S=n.type;return new Uv(S.byteWidth)}case"fixedsizelist":{const S=n.type;return new Hv(S.listSize,(e||[])[0])}case"map":{const S=n.type;return new Gv((e||[])[0],S.keysSorted)}}throw new Error(`Unrecognized type: "${r}"`)}var Gd=Jh,TI=sM,kI=Jp;class xl{constructor(e,r,S,D){this._version=r,this._headerType=S,this.body=new Uint8Array(0),D&&(this._createHeader=()=>D),this._bodyLength=typeof e=="number"?e:e.low}static fromJSON(e,r){const S=new xl(0,gu.V4,r);return S._createHeader=MI(e,r),S}static decode(e){e=new kI(_a(e));const r=Ef.getRootAsMessage(e),S=r.bodyLength(),D=r.version(),T=r.headerType(),p=new xl(S,D,T);return p._createHeader=AI(r,T),p}static encode(e){const r=new TI;let S=-1;return e.isSchema()?S=Ea.encode(r,e.header()):e.isRecordBatch()?S=_u.encode(r,e.header()):e.isDictionaryBatch()&&(S=wh.encode(r,e.header())),Ef.startMessage(r),Ef.addVersion(r,gu.V4),Ef.addHeader(r,S),Ef.addHeaderType(r,e.headerType),Ef.addBodyLength(r,new Gd(e.bodyLength,0)),Ef.finishMessageBuffer(r,Ef.endMessage(r)),r.asUint8Array()}static from(e,r=0){if(e instanceof Ea)return new xl(0,gu.V4,Ca.Schema,e);if(e instanceof _u)return new xl(r,gu.V4,Ca.RecordBatch,e);if(e instanceof wh)return new xl(r,gu.V4,Ca.DictionaryBatch,e);throw new Error(`Unrecognized Message header: ${e}`)}get type(){return this.headerType}get version(){return this._version}get headerType(){return this._headerType}get bodyLength(){return this._bodyLength}header(){return this._createHeader()}isSchema(){return this.headerType===Ca.Schema}isRecordBatch(){return this.headerType===Ca.RecordBatch}isDictionaryBatch(){return this.headerType===Ca.DictionaryBatch}}class _u{constructor(e,r,S){this._nodes=r,this._buffers=S,this._length=typeof e=="number"?e:e.low}get nodes(){return this._nodes}get length(){return this._length}get buffers(){return this._buffers}}class wh{constructor(e,r,S=!1){this._data=e,this._isDelta=S,this._id=typeof r=="number"?r:r.low}get id(){return this._id}get data(){return this._data}get isDelta(){return this._isDelta}get length(){return this.data.length}get nodes(){return this.data.nodes}get buffers(){return this.data.buffers}}class gh{constructor(e,r){this.offset=typeof e=="number"?e:e.low,this.length=typeof r=="number"?r:r.low}}class Jd{constructor(e,r){this.length=typeof e=="number"?e:e.low,this.nullCount=typeof r=="number"?r:r.low}}function MI(n,e){return()=>{switch(e){case Ca.Schema:return Ea.fromJSON(n);case Ca.RecordBatch:return _u.fromJSON(n);case Ca.DictionaryBatch:return wh.fromJSON(n)}throw new Error(`Unrecognized Message type: { name: ${Ca[e]}, type: ${e} }`)}}function AI(n,e){return()=>{switch(e){case Ca.Schema:return Ea.decode(n.header(new ih));case Ca.RecordBatch:return _u.decode(n.header(new Yh),n.version());case Ca.DictionaryBatch:return wh.decode(n.header(new Dp),n.version())}throw new Error(`Unrecognized Message type: { name: ${Ca[e]}, type: ${e} }`)}}oo.encode=FI;oo.decode=DI;oo.fromJSON=wI;Ea.encode=zI;Ea.decode=SI;Ea.fromJSON=yI;_u.encode=BI;_u.decode=CI;_u.fromJSON=gM;wh.encode=NI;wh.decode=EI;wh.fromJSON=bI;Jd.encode=VI;Jd.decode=II;gh.encode=jI;gh.decode=LI;function SI(n,e=new Map){const r=OI(n,e);return new Ea(r,_v(n),e)}function CI(n,e=gu.V4){if(n.compression()!==null)throw new Error("Record batch compression not implemented");return new _u(n.length(),RI(n),PI(n,e))}function EI(n,e=gu.V4){return new wh(_u.decode(n.data(),e),n.id(),n.isDelta())}function LI(n){return new gh(n.offset(),n.length())}function II(n){return new Jd(n.length(),n.nullCount())}function RI(n){const e=[];for(let r,S=-1,D=-1,T=n.nodesLength();++Soo.encode(n,T));ih.startFieldsVector(n,r.length);const S=ih.createFieldsVector(n,r),D=e.metadata&&e.metadata.size>0?ih.createCustomMetadataVector(n,[...e.metadata].map(([T,p])=>{const t=n.createString(`${T}`),d=n.createString(`${p}`);return cs.startKeyValue(n),cs.addKey(n,t),cs.addValue(n,d),cs.endKeyValue(n)})):-1;return ih.startSchema(n),ih.addFields(n,S),ih.addEndianness(n,UI?e0.Little:e0.Big),D!==-1&&ih.addCustomMetadata(n,D),ih.endSchema(n)}function FI(n,e){let r=-1,S=-1,D=-1;const T=e.type;let p=e.typeId;_i.isDictionary(T)?(p=T.dictionary.typeId,D=db.visit(T,n),S=db.visit(T.dictionary,n)):S=db.visit(T,n);const t=(T.children||[]).map(i=>oo.encode(n,i)),d=qu.createChildrenVector(n,t),g=e.metadata&&e.metadata.size>0?qu.createCustomMetadataVector(n,[...e.metadata].map(([i,M])=>{const v=n.createString(`${i}`),f=n.createString(`${M}`);return cs.startKeyValue(n),cs.addKey(n,v),cs.addValue(n,f),cs.endKeyValue(n)})):-1;return e.name&&(r=n.createString(e.name)),qu.startField(n),qu.addType(n,S),qu.addTypeType(n,p),qu.addChildren(n,d),qu.addNullable(n,!!e.nullable),r!==-1&&qu.addName(n,r),D!==-1&&qu.addDictionary(n,D),g!==-1&&qu.addCustomMetadata(n,g),qu.endField(n)}function BI(n,e){const r=e.nodes||[],S=e.buffers||[];Yh.startNodesVector(n,r.length);for(const p of r.slice().reverse())Jd.encode(n,p);const D=n.endVector();Yh.startBuffersVector(n,S.length);for(const p of S.slice().reverse())gh.encode(n,p);const T=n.endVector();return Yh.startRecordBatch(n),Yh.addLength(n,new Gd(e.length,0)),Yh.addNodes(n,D),Yh.addBuffers(n,T),Yh.endRecordBatch(n)}function NI(n,e){const r=_u.encode(n,e.data);return Dp.startDictionaryBatch(n),Dp.addId(n,new Gd(e.id,0)),Dp.addIsDelta(n,e.isDelta),Dp.addData(n,r),Dp.endDictionaryBatch(n)}function VI(n,e){return mM.createFieldNode(n,new Gd(e.length,0),new Gd(e.nullCount,0))}function jI(n,e){return pM.createBuffer(n,new Gd(e.offset,0),new Gd(e.length,0))}const UI=(()=>{const n=new ArrayBuffer(2);return new DataView(n).setInt16(0,256,!0),new Int16Array(n)[0]===256})(),D2=n=>`Expected ${Ca[n]} Message in stream, but was null or length 0.`,z2=n=>`Header pointer of flatbuffer-encoded ${Ca[n]} Message is null or length 0.`,bM=(n,e)=>`Expected to read ${n} metadata bytes, but only read ${e}.`,xM=(n,e)=>`Expected to read ${n} bytes for message body, but only read ${e}.`;class _M{constructor(e){this.source=e instanceof Qv?e:new Qv(e)}[Symbol.iterator](){return this}next(){let e;return(e=this.readMetadataLength()).done||e.value===-1&&(e=this.readMetadataLength()).done||(e=this.readMetadata(e.value)).done?So:e}throw(e){return this.source.throw(e)}return(e){return this.source.return(e)}readMessage(e){let r;if((r=this.next()).done)return null;if(e!=null&&r.value.headerType!==e)throw new Error(D2(e));return r.value}readMessageBody(e){if(e<=0)return new Uint8Array(0);const r=_a(this.source.read(e));if(r.byteLength[...D,...T.VALIDITY&&[T.VALIDITY]||[],...T.TYPE&&[T.TYPE]||[],...T.OFFSET&&[T.OFFSET]||[],...T.DATA&&[T.DATA]||[],...r(T.children)],[])}}readMessage(e){let r;if((r=this.next()).done)return null;if(e!=null&&r.value.headerType!==e)throw new Error(D2(e));return r.value}readSchema(){const e=Ca.Schema,r=this.readMessage(e),S=r==null?void 0:r.header();if(!r||!S)throw new Error(z2(e));return S}}const qy=4,Qb="ARROW1",Om=new Uint8Array(Qb.length);for(let n=0;nthis):this}readRecordBatch(e){return this._impl.isFile()?this._impl.readRecordBatch(e):null}[Symbol.iterator](){return this._impl[Symbol.iterator]()}[Symbol.asyncIterator](){return this._impl[Symbol.asyncIterator]()}toDOMStream(){return $u.toDOMStream(this.isSync()?{[Symbol.iterator]:()=>this}:{[Symbol.asyncIterator]:()=>this})}toNodeStream(){return $u.toNodeStream(this.isSync()?{[Symbol.iterator]:()=>this}:{[Symbol.asyncIterator]:()=>this},{objectMode:!0})}static throughNode(e){throw new Error('"throughNode" not available in this environment')}static throughDOM(e,r){throw new Error('"throughDOM" not available in this environment')}static from(e){return e instanceof Qh?e:Ub(e)?ZI(e):U4(e)?JI(e):Uf(e)?(()=>yi(this,void 0,void 0,function*(){return yield Qh.from(yield e)}))():H4(e)||m2(e)||G4(e)||g0(e)?KI(new n0(e)):XI(new Qv(e))}static readAll(e){return e instanceof Qh?e.isSync()?p5(e):m5(e):Ub(e)||ArrayBuffer.isView(e)||Zm(e)||j4(e)?p5(e):m5(e)}}class iy extends Qh{constructor(e){super(e),this._impl=e}readAll(){return[...this]}[Symbol.iterator](){return this._impl[Symbol.iterator]()}[Symbol.asyncIterator](){return mh(this,arguments,function*(){yield zi(yield*mv(Nd(this[Symbol.iterator]())))})}}class ay extends Qh{constructor(e){super(e),this._impl=e}readAll(){var e,r;return yi(this,void 0,void 0,function*(){const S=new Array;try{for(var D=Nd(this),T;T=yield D.next(),!T.done;){const p=T.value;S.push(p)}}catch(p){e={error:p}}finally{try{T&&!T.done&&(r=D.return)&&(yield r.call(D))}finally{if(e)throw e.error}}return S})}[Symbol.iterator](){throw new Error("AsyncRecordBatchStreamReader is not Iterable")}[Symbol.asyncIterator](){return this._impl[Symbol.asyncIterator]()}}class TM extends iy{constructor(e){super(e),this._impl=e}}class WI extends ay{constructor(e){super(e),this._impl=e}}class kM{constructor(e=new Map){this.closed=!1,this.autoDestroy=!0,this._dictionaryIndex=0,this._recordBatchIndex=0,this.dictionaries=e}get numDictionaries(){return this._dictionaryIndex}get numRecordBatches(){return this._recordBatchIndex}isSync(){return!1}isAsync(){return!1}isFile(){return!1}isStream(){return!1}reset(e){return this._dictionaryIndex=0,this._recordBatchIndex=0,this.schema=e,this.dictionaries=new Map,this}_loadRecordBatch(e,r){const S=this._loadVectors(e,r,this.schema.fields),D=ra({type:new bl(this.schema.fields),length:e.length,children:S});return new Wl(this.schema,D)}_loadDictionaryBatch(e,r){const{id:S,isDelta:D}=e,{dictionaries:T,schema:p}=this,t=T.get(S);if(D||!t){const d=p.dictionaries.get(S),g=this._loadVectors(e.data,r,[d]);return(t&&D?t.concat(new Ta(g)):new Ta(g)).memoize()}return t.memoize()}_loadVectors(e,r,S){return new cM(r,e.nodes,e.buffers,this.dictionaries).visitMany(S)}}class oy extends kM{constructor(e,r){super(r),this._reader=Ub(e)?new GI(this._handle=e):new _M(this._handle=e)}isSync(){return!0}isStream(){return!0}[Symbol.iterator](){return this}cancel(){!this.closed&&(this.closed=!0)&&(this.reset()._reader.return(),this._reader=null,this.dictionaries=null)}open(e){return this.closed||(this.autoDestroy=AM(this,e),this.schema||(this.schema=this._reader.readSchema())||this.cancel()),this}throw(e){return!this.closed&&this.autoDestroy&&(this.closed=!0)?this.reset()._reader.throw(e):So}return(e){return!this.closed&&this.autoDestroy&&(this.closed=!0)?this.reset()._reader.return(e):So}next(){if(this.closed)return So;let e;const{_reader:r}=this;for(;e=this._readNextMessageAndValidate();)if(e.isSchema())this.reset(e.header());else if(e.isRecordBatch()){this._recordBatchIndex++;const S=e.header(),D=r.readMessageBody(e.bodyLength);return{done:!1,value:this._loadRecordBatch(S,D)}}else if(e.isDictionaryBatch()){this._dictionaryIndex++;const S=e.header(),D=r.readMessageBody(e.bodyLength),T=this._loadDictionaryBatch(S,D);this.dictionaries.set(S.id,T)}return this.schema&&this._recordBatchIndex===0?(this._recordBatchIndex++,{done:!1,value:new O2(this.schema)}):this.return()}_readNextMessageAndValidate(e){return this._reader.readMessage(e)}}class sy extends kM{constructor(e,r){super(r),this._reader=new HI(this._handle=e)}isAsync(){return!0}isStream(){return!0}[Symbol.asyncIterator](){return this}cancel(){return yi(this,void 0,void 0,function*(){!this.closed&&(this.closed=!0)&&(yield this.reset()._reader.return(),this._reader=null,this.dictionaries=null)})}open(e){return yi(this,void 0,void 0,function*(){return this.closed||(this.autoDestroy=AM(this,e),this.schema||(this.schema=yield this._reader.readSchema())||(yield this.cancel())),this})}throw(e){return yi(this,void 0,void 0,function*(){return!this.closed&&this.autoDestroy&&(this.closed=!0)?yield this.reset()._reader.throw(e):So})}return(e){return yi(this,void 0,void 0,function*(){return!this.closed&&this.autoDestroy&&(this.closed=!0)?yield this.reset()._reader.return(e):So})}next(){return yi(this,void 0,void 0,function*(){if(this.closed)return So;let e;const{_reader:r}=this;for(;e=yield this._readNextMessageAndValidate();)if(e.isSchema())yield this.reset(e.header());else if(e.isRecordBatch()){this._recordBatchIndex++;const S=e.header(),D=yield r.readMessageBody(e.bodyLength);return{done:!1,value:this._loadRecordBatch(S,D)}}else if(e.isDictionaryBatch()){this._dictionaryIndex++;const S=e.header(),D=yield r.readMessageBody(e.bodyLength),T=this._loadDictionaryBatch(S,D);this.dictionaries.set(S.id,T)}return this.schema&&this._recordBatchIndex===0?(this._recordBatchIndex++,{done:!1,value:new O2(this.schema)}):yield this.return()})}_readNextMessageAndValidate(e){return yi(this,void 0,void 0,function*(){return yield this._reader.readMessage(e)})}}class MM extends oy{constructor(e,r){super(e instanceof o5?e:new o5(e),r)}get footer(){return this._footer}get numDictionaries(){return this._footer?this._footer.numDictionaries:0}get numRecordBatches(){return this._footer?this._footer.numRecordBatches:0}isSync(){return!0}isFile(){return!0}open(e){if(!this.closed&&!this._footer){this.schema=(this._footer=this._readFooter()).schema;for(const r of this._footer.dictionaryBatches())r&&this._readDictionaryBatch(this._dictionaryIndex++)}return super.open(e)}readRecordBatch(e){var r;if(this.closed)return null;this._footer||this.open();const S=(r=this._footer)===null||r===void 0?void 0:r.getRecordBatch(e);if(S&&this._handle.seek(S.offset)){const D=this._reader.readMessage(Ca.RecordBatch);if(D!=null&&D.isRecordBatch()){const T=D.header(),p=this._reader.readMessageBody(D.bodyLength);return this._loadRecordBatch(T,p)}}return null}_readDictionaryBatch(e){var r;const S=(r=this._footer)===null||r===void 0?void 0:r.getDictionaryBatch(e);if(S&&this._handle.seek(S.offset)){const D=this._reader.readMessage(Ca.DictionaryBatch);if(D!=null&&D.isDictionaryBatch()){const T=D.header(),p=this._reader.readMessageBody(D.bodyLength),t=this._loadDictionaryBatch(T,p);this.dictionaries.set(T.id,t)}}}_readFooter(){const{_handle:e}=this,r=e.size-wM,S=e.readInt32(r),D=e.readAt(r-S,S);return Pm.decode(D)}_readNextMessageAndValidate(e){var r;if(this._footer||this.open(),this._footer&&this._recordBatchIndexsuper.open}});return yi(this,void 0,void 0,function*(){if(!this.closed&&!this._footer){this.schema=(this._footer=yield this._readFooter()).schema;for(const S of this._footer.dictionaryBatches())S&&(yield this._readDictionaryBatch(this._dictionaryIndex++))}return yield r.open.call(this,e)})}readRecordBatch(e){var r;return yi(this,void 0,void 0,function*(){if(this.closed)return null;this._footer||(yield this.open());const S=(r=this._footer)===null||r===void 0?void 0:r.getRecordBatch(e);if(S&&(yield this._handle.seek(S.offset))){const D=yield this._reader.readMessage(Ca.RecordBatch);if(D!=null&&D.isRecordBatch()){const T=D.header(),p=yield this._reader.readMessageBody(D.bodyLength);return this._loadRecordBatch(T,p)}}return null})}_readDictionaryBatch(e){var r;return yi(this,void 0,void 0,function*(){const S=(r=this._footer)===null||r===void 0?void 0:r.getDictionaryBatch(e);if(S&&(yield this._handle.seek(S.offset))){const D=yield this._reader.readMessage(Ca.DictionaryBatch);if(D!=null&&D.isDictionaryBatch()){const T=D.header(),p=yield this._reader.readMessageBody(D.bodyLength),t=this._loadDictionaryBatch(T,p);this.dictionaries.set(T.id,t)}}})}_readFooter(){return yi(this,void 0,void 0,function*(){const{_handle:e}=this;e._pending&&(yield e._pending);const r=e.size-wM,S=yield e.readInt32(r),D=yield e.readAt(r-S,S);return Pm.decode(D)})}_readNextMessageAndValidate(e){return yi(this,void 0,void 0,function*(){if(this._footer||(yield this.open()),this._footer&&this._recordBatchIndex=4?F2(e)?new TM(new MM(n.read())):new iy(new oy(n)):new iy(new oy(function*(){}()))}function KI(n){return yi(this,void 0,void 0,function*(){const e=yield n.peek(Qm+7&-8);return e&&e.byteLength>=4?F2(e)?new TM(new MM(yield n.read())):new ay(new sy(n)):new ay(new sy(function(){return mh(this,arguments,function*(){})}()))})}function JI(n){return yi(this,void 0,void 0,function*(){const{size:e}=yield n.stat(),r=new ey(n,e);return e>=qI&&F2(yield r.readAt(0,Qm+7&-8))?new WI(new YI(r)):new ay(new sy(r))})}class Qo extends aa{constructor(){super(),this._byteLength=0,this._nodes=[],this._buffers=[],this._bufferRegions=[]}static assemble(...e){const r=D=>D.flatMap(T=>Array.isArray(T)?r(T):T instanceof Wl?T.data.children:T.data),S=new Qo;return S.visitMany(r(e)),S}visit(e){if(e instanceof Ta)return this.visitMany(e.data),this;const{type:r}=e;if(!_i.isDictionary(r)){const{length:S,nullCount:D}=e;if(S>2147483647)throw new RangeError("Cannot write arrays larger than 2^31 - 1 in length");_i.isNull(r)||zc.call(this,D<=0?new Uint8Array(0):k2(e.offset,S,e.nullBitmap)),this.nodes.push(new Jd(S,D))}return super.visit(e)}visitNull(e){return this}visitDictionary(e){return this.visit(e.clone(e.type.indices))}get nodes(){return this._nodes}get buffers(){return this._buffers}get byteLength(){return this._byteLength}get bufferRegions(){return this._bufferRegions}}function zc(n){const e=n.byteLength+7&-8;return this.buffers.push(n),this.bufferRegions.push(new gh(this._byteLength,e)),this._byteLength+=e,this}function QI(n){const{type:e,length:r,typeIds:S,valueOffsets:D}=n;if(zc.call(this,S),e.mode===xu.Sparse)return ex.call(this,n);if(e.mode===xu.Dense){if(n.offset<=0)return zc.call(this,D),ex.call(this,n);{const T=S.reduce((i,M)=>Math.max(i,M),S[0]),p=new Int32Array(T+1),t=new Int32Array(T+1).fill(-1),d=new Int32Array(r),g=v2(-D[0],r,D);for(let i,M,v=-1;++v=n.length?zc.call(this,new Uint8Array(0)):(e=n.values)instanceof Uint8Array?zc.call(this,k2(n.offset,n.length,e)):zc.call(this,qv(n.values))}function Qf(n){return zc.call(this,n.values.subarray(0,n.length*n.stride))}function SM(n){const{length:e,values:r,valueOffsets:S}=n,D=S[0],T=S[e],p=Math.min(T-D,r.byteLength-D);return zc.call(this,v2(-S[0],e,S)),zc.call(this,r.subarray(D,D+p)),this}function B2(n){const{length:e,valueOffsets:r}=n;return r&&zc.call(this,v2(r[0],e,r)),this.visit(n.children[0])}function ex(n){return this.visitMany(n.type.children.map((e,r)=>n.children[r]).filter(Boolean))[0]}Qo.prototype.visitBool=eR;Qo.prototype.visitInt=Qf;Qo.prototype.visitFloat=Qf;Qo.prototype.visitUtf8=SM;Qo.prototype.visitBinary=SM;Qo.prototype.visitFixedSizeBinary=Qf;Qo.prototype.visitDate=Qf;Qo.prototype.visitTimestamp=Qf;Qo.prototype.visitTime=Qf;Qo.prototype.visitDecimal=Qf;Qo.prototype.visitList=B2;Qo.prototype.visitStruct=ex;Qo.prototype.visitUnion=QI;Qo.prototype.visitInterval=Qf;Qo.prototype.visitFixedSizeList=B2;Qo.prototype.visitMap=B2;class CM extends E2{constructor(e){super(),this._position=0,this._started=!1,this._sink=new bv,this._schema=null,this._dictionaryBlocks=[],this._recordBatchBlocks=[],this._dictionaryDeltaOffsets=new Map,Zl(e)||(e={autoDestroy:!0,writeLegacyIpcFormat:!1}),this._autoDestroy=typeof e.autoDestroy=="boolean"?e.autoDestroy:!0,this._writeLegacyIpcFormat=typeof e.writeLegacyIpcFormat=="boolean"?e.writeLegacyIpcFormat:!1}static throughNode(e){throw new Error('"throughNode" not available in this environment')}static throughDOM(e,r){throw new Error('"throughDOM" not available in this environment')}toString(e=!1){return this._sink.toString(e)}toUint8Array(e=!1){return this._sink.toUint8Array(e)}writeAll(e){return Uf(e)?e.then(r=>this.writeAll(r)):g0(e)?U2(this,e):j2(this,e)}get closed(){return this._sink.closed}[Symbol.asyncIterator](){return this._sink[Symbol.asyncIterator]()}toDOMStream(e){return this._sink.toDOMStream(e)}toNodeStream(e){return this._sink.toNodeStream(e)}close(){return this.reset()._sink.close()}abort(e){return this.reset()._sink.abort(e)}finish(){return this._autoDestroy?this.close():this.reset(this._sink,this._schema),this}reset(e=this._sink,r=null){return e===this._sink||e instanceof bv?this._sink=e:(this._sink=new bv,e&&_9(e)?this.toDOMStream({type:"bytes"}).pipeTo(e):e&&w9(e)&&this.toNodeStream({objectMode:!1}).pipe(e)),this._started&&this._schema&&this._writeFooter(this._schema),this._started=!1,this._dictionaryBlocks=[],this._recordBatchBlocks=[],this._dictionaryDeltaOffsets=new Map,(!r||!Xb(r,this._schema))&&(r==null?(this._position=0,this._schema=null):(this._started=!0,this._schema=r,this._writeSchema(r))),this}write(e){let r=null;if(this._sink){if(e==null)return this.finish()&&void 0;if(e instanceof ml&&!(r=e.schema))return this.finish()&&void 0;if(e instanceof Wl&&!(r=e.schema))return this.finish()&&void 0}else throw new Error("RecordBatchWriter is closed");if(r&&!Xb(r,this._schema)){if(this._started&&this._autoDestroy)return this.close();this.reset(this._sink,r)}e instanceof Wl?e instanceof O2||this._writeRecordBatch(e):e instanceof ml?this.writeAll(e.batches):Zm(e)&&this.writeAll(e)}_writeMessage(e,r=8){const S=r-1,D=xl.encode(e),T=D.byteLength,p=this._writeLegacyIpcFormat?4:8,t=T+p+S&~S,d=t-T-p;return e.headerType===Ca.RecordBatch?this._recordBatchBlocks.push(new Wf(t,e.bodyLength,this._position)):e.headerType===Ca.DictionaryBatch&&this._dictionaryBlocks.push(new Wf(t,e.bodyLength,this._position)),this._writeLegacyIpcFormat||this._write(Int32Array.of(-1)),this._write(Int32Array.of(t-p)),T>0&&this._write(D),this._writePadding(d)}_write(e){if(this._started){const r=_a(e);r&&r.byteLength>0&&(this._sink.write(r),this._position+=r.byteLength)}return this}_writeSchema(e){return this._writeMessage(xl.from(e))}_writeFooter(e){return this._writeLegacyIpcFormat?this._write(Int32Array.of(0)):this._write(Int32Array.of(-1,0))}_writeMagic(){return this._write(Om)}_writePadding(e){return e>0?this._write(new Uint8Array(e)):this}_writeRecordBatch(e){const{byteLength:r,nodes:S,bufferRegions:D,buffers:T}=Qo.assemble(e),p=new _u(e.numRows,S,D),t=xl.from(p,r);return this._writeDictionaries(e)._writeMessage(t)._writeBodyBuffers(T)}_writeDictionaryBatch(e,r,S=!1){this._dictionaryDeltaOffsets.set(r,e.length+(this._dictionaryDeltaOffsets.get(r)||0));const{byteLength:D,nodes:T,bufferRegions:p,buffers:t}=Qo.assemble(new Ta([e])),d=new _u(e.length,T,p),g=new wh(d,r,S),i=xl.from(g,D);return this._writeMessage(i)._writeBodyBuffers(t)}_writeBodyBuffers(e){let r,S,D;for(let T=-1,p=e.length;++T0&&(this._write(r),(D=(S+7&-8)-S)>0&&this._writePadding(D));return this}_writeDictionaries(e){for(let[r,S]of e.dictionaries){let D=this._dictionaryDeltaOffsets.get(r)||0;if(D===0||(S=S==null?void 0:S.slice(D)).length>0)for(const T of S.data)this._writeDictionaryBatch(T,r,D>0),D+=T.length}return this}}class N2 extends CM{static writeAll(e,r){const S=new N2(r);return Uf(e)?e.then(D=>S.writeAll(D)):g0(e)?U2(S,e):j2(S,e)}}class V2 extends CM{static writeAll(e){const r=new V2;return Uf(e)?e.then(S=>r.writeAll(S)):g0(e)?U2(r,e):j2(r,e)}constructor(){super(),this._autoDestroy=!0}_writeSchema(e){return this._writeMagic()._writePadding(2)}_writeFooter(e){const r=Pm.encode(new Pm(e,gu.V4,this._recordBatchBlocks,this._dictionaryBlocks));return super._writeFooter(e)._write(r)._write(Int32Array.of(r.byteLength))._writeMagic()}}function j2(n,e){let r=e;e instanceof ml&&(r=e.batches,n.reset(void 0,e.schema));for(const S of r)n.write(S);return n.finish()}function U2(n,e){var r,S,D,T;return yi(this,void 0,void 0,function*(){try{for(r=Nd(e);S=yield r.next(),!S.done;){const p=S.value;n.write(p)}}catch(p){D={error:p}}finally{try{S&&!S.done&&(T=r.return)&&(yield T.call(r))}finally{if(D)throw D.error}}return n.finish()})}function lm(n){const e=Qh.from(n);return Uf(e)?e.then(r=>lm(r)):e.isAsync()?e.readAll().then(r=>new ml(r)):new ml(e.readAll())}function pb(n,e="stream"){return(e==="stream"?N2:V2).writeAll(n).toUint8Array(!0)}var tx=function(){function n(e,r,S,D){var T=this;this.getCell=function(p,t){var d=p=T.headerRows&&t=T.headerColumns;if(d){var M=["blank"];return t>0&&M.push("level"+p),{type:"blank",classNames:M.join(" "),content:""}}else if(i){var v=t-T.headerColumns,M=["col_heading","level"+p,"col"+v];return{type:"columns",classNames:M.join(" "),content:T.getContent(T.columnsTable,v,p)}}else if(g){var f=p-T.headerRows,M=["row_heading","level"+t,"row"+f];return{type:"index",id:"T_".concat(T.uuid,"level").concat(t,"_row").concat(f),classNames:M.join(" "),content:T.getContent(T.indexTable,f,t)}}else{var f=p-T.headerRows,v=t-T.headerColumns,M=["data","row"+f,"col"+v],l=T.styler?T.getContent(T.styler.displayValuesTable,f,v):T.getContent(T.dataTable,f,v);return{type:"data",id:"T_".concat(T.uuid,"row").concat(f,"_col").concat(v),classNames:M.join(" "),content:l}}},this.getContent=function(p,t,d){var g=p.getChildAt(d);if(g===null)return"";var i=T.getColumnTypeId(p,d);switch(i){case Jn.Timestamp:return T.nanosToDate(g.get(t));default:return g.get(t)}},this.dataTable=lm(e),this.indexTable=lm(r),this.columnsTable=lm(S),this.styler=D?{caption:D.caption,displayValuesTable:lm(D.displayValues),styles:D.styles,uuid:D.uuid}:void 0}return Object.defineProperty(n.prototype,"rows",{get:function(){return this.indexTable.numRows+this.columnsTable.numCols},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"columns",{get:function(){return this.indexTable.numCols+this.columnsTable.numRows},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"headerRows",{get:function(){return this.rows-this.dataRows},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"headerColumns",{get:function(){return this.columns-this.dataColumns},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dataRows",{get:function(){return this.dataTable.numRows},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dataColumns",{get:function(){return this.dataTable.numCols},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uuid",{get:function(){return this.styler&&this.styler.uuid},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"caption",{get:function(){return this.styler&&this.styler.caption},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"styles",{get:function(){return this.styler&&this.styler.styles},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"table",{get:function(){return this.dataTable},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"index",{get:function(){return this.indexTable},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"columnTable",{get:function(){return this.columnsTable},enumerable:!1,configurable:!0}),n.prototype.serialize=function(){return{data:pb(this.dataTable),index:pb(this.indexTable),columns:pb(this.columnsTable)}},n.prototype.getColumnTypeId=function(e,r){return e.schema.fields[r].type.typeId},n.prototype.nanosToDate=function(e){return new Date(e/1e6)},n}(),gm=globalThis&&globalThis.__assign||function(){return gm=Object.assign||function(n){for(var e,r=1,S=arguments.length;r0?n.argsDataframeToObject(e.dfs):{};r=gm(gm({},r),S);var D=!!e.disabled,T=e.theme;T&&tR(T);var p={disabled:D,args:r,theme:T},t=new CustomEvent(n.RENDER_EVENT,{detail:p});n.events.dispatchEvent(t)},n.argsDataframeToObject=function(e){var r=e.map(function(S){var D=S.key,T=S.value;return[D,n.toArrowTable(T)]});return Object.fromEntries(r)},n.toArrowTable=function(e){var r,S=(r=e.data,r.data),D=r.index,T=r.columns,p=r.styler;return new tx(S,D,T,p)},n.sendBackMsg=function(e,r){window.parent.postMessage(gm({isStreamlitMessage:!0,type:e},r),"*")},n}(),tR=function(n){var e=document.createElement("style");document.head.appendChild(e),e.innerHTML=` -======== - */var u2=Q7,Fc=typeof Symbol=="function"&&Symbol.for,qm=Fc?Symbol.for("react.element"):60103,e9=Fc?Symbol.for("react.portal"):60106,t9=Fc?Symbol.for("react.fragment"):60107,n9=Fc?Symbol.for("react.strict_mode"):60108,r9=Fc?Symbol.for("react.profiler"):60114,i9=Fc?Symbol.for("react.provider"):60109,a9=Fc?Symbol.for("react.context"):60110,o9=Fc?Symbol.for("react.forward_ref"):60112,s9=Fc?Symbol.for("react.suspense"):60113,l9=Fc?Symbol.for("react.memo"):60115,u9=Fc?Symbol.for("react.lazy"):60116,$3=typeof Symbol=="function"&&Symbol.iterator;function Wm(n){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+n,r=1;rRv.length&&Rv.push(n)}function Bb(n,e,r,C){var D=typeof n;(D==="undefined"||D==="boolean")&&(n=null);var T=!1;if(n===null)T=!0;else switch(D){case"string":case"number":T=!0;break;case"object":switch(n.$$typeof){case qm:case e9:T=!0}}if(T)return r(C,n,e===""?"."+sb(n,0):e),1;if(T=0,e=e===""?".":e+":",Array.isArray(n))for(var p=0;p=n.length&&(n=void 0),{value:n&&n[C++],done:!n}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function zi(n){return this instanceof zi?(this.v=n,this):new zi(n)}function mh(n,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var C=r.apply(n,e||[]),D,T=[];return D=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),t("next"),t("throw"),t("return",p),D[Symbol.asyncIterator]=function(){return this},D;function p(f){return function(l){return Promise.resolve(l).then(f,M)}}function t(f,l){C[f]&&(D[f]=function(a){return new Promise(function(u,o){T.push([f,a,u,o])>1||d(f,a)})},l&&(D[f]=l(D[f])))}function d(f,l){try{g(C[f](l))}catch(a){v(T[0][3],a)}}function g(f){f.value instanceof zi?Promise.resolve(f.value.v).then(i,M):v(T[0][2],f)}function i(f){d("next",f)}function M(f){d("throw",f)}function v(f,l){f(l),T.shift(),T.length&&d(T[0][0],T[0][1])}}function mv(n){var e,r;return e={},C("next"),C("throw",function(D){throw D}),C("return"),e[Symbol.iterator]=function(){return this},e;function C(D,T){e[D]=n[D]?function(p){return(r=!r)?{value:zi(n[D](p)),done:!1}:T?T(p):p}:T}}function Nd(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=n[Symbol.asyncIterator],r;return e?e.call(n):(n=typeof Z3=="function"?Z3(n):n[Symbol.iterator](),r={},C("next"),C("throw"),C("return"),r[Symbol.asyncIterator]=function(){return this},r);function C(T){r[T]=n[T]&&function(p){return new Promise(function(t,d){p=n[T](p),D(t,d,p.done,p.value)})}}function D(T,p,t,d){Promise.resolve(d).then(function(g){T({value:g,done:t})},p)}}const v9=new TextDecoder("utf-8"),jb=n=>v9.decode(n),y9=new TextEncoder,p2=n=>y9.encode(n),[NH,b9]=(()=>{const n=()=>{throw new Error("BigInt is not available in this environment")};function e(){throw n()}return e.asIntN=()=>{throw n()},e.asUintN=()=>{throw n()},typeof BigInt<"u"?[BigInt,!0]:[e,!1]})(),[Ym,VH]=(()=>{const n=()=>{throw new Error("BigInt64Array is not available in this environment")};class e{static get BYTES_PER_ELEMENT(){return 8}static of(){throw n()}static from(){throw n()}constructor(){throw n()}}return typeof BigInt64Array<"u"?[BigInt64Array,!0]:[e,!1]})(),[$m,jH]=(()=>{const n=()=>{throw new Error("BigUint64Array is not available in this environment")};class e{static get BYTES_PER_ELEMENT(){return 8}static of(){throw n()}static from(){throw n()}constructor(){throw n()}}return typeof BigUint64Array<"u"?[BigUint64Array,!0]:[e,!1]})(),x9=n=>typeof n=="number",V4=n=>typeof n=="boolean",us=n=>typeof n=="function",Zl=n=>n!=null&&Object(n)===n,Uf=n=>Zl(n)&&us(n.then),Zm=n=>Zl(n)&&us(n[Symbol.iterator]),g0=n=>Zl(n)&&us(n[Symbol.asyncIterator]),Ub=n=>Zl(n)&&Zl(n.schema),j4=n=>Zl(n)&&"done"in n&&"value"in n,U4=n=>Zl(n)&&us(n.stat)&&x9(n.fd),H4=n=>Zl(n)&&m2(n.body),Uy=n=>"_getDOMStream"in n&&"_getNodeStream"in n,_9=n=>Zl(n)&&us(n.abort)&&us(n.getWriter)&&!Uy(n),m2=n=>Zl(n)&&us(n.cancel)&&us(n.getReader)&&!Uy(n),w9=n=>Zl(n)&&us(n.end)&&us(n.write)&&V4(n.writable)&&!Uy(n),G4=n=>Zl(n)&&us(n.read)&&us(n.pipe)&&V4(n.readable)&&!Uy(n),T9=n=>Zl(n)&&us(n.clear)&&us(n.bytes)&&us(n.position)&&us(n.setPosition)&&us(n.capacity)&&us(n.getBufferIdentifier)&&us(n.createLong),g2=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:ArrayBuffer;function k9(n){const e=n[0]?[n[0]]:[];let r,C,D,T;for(let p,t,d=0,g=0,i=n.length;++di+M.byteLength,0);let D,T,p,t=0,d=-1;const g=Math.min(e||Number.POSITIVE_INFINITY,C);for(const i=r.length;++dqa(Int32Array,n),_a=n=>qa(Uint8Array,n),Hb=n=>(n.next(),n);function*M9(n,e){const r=function*(D){yield D},C=typeof e=="string"||ArrayBuffer.isView(e)||e instanceof ArrayBuffer||e instanceof g2?r(e):Zm(e)?e:r(e);return yield*Hb(function*(D){let T=null;do T=D.next(yield qa(n,T));while(!T.done)}(C[Symbol.iterator]())),new n}const A9=n=>M9(Uint8Array,n);function q4(n,e){return mh(this,arguments,function*(){if(Uf(e))return yield zi(yield zi(yield*mv(Nd(q4(n,yield zi(e))))));const C=function(p){return mh(this,arguments,function*(){yield yield zi(yield zi(p))})},D=function(p){return mh(this,arguments,function*(){yield zi(yield*mv(Nd(Hb(function*(t){let d=null;do d=t.next(yield d==null?void 0:d.value);while(!d.done)}(p[Symbol.iterator]())))))})},T=typeof e=="string"||ArrayBuffer.isView(e)||e instanceof ArrayBuffer||e instanceof g2?C(e):Zm(e)?D(e):g0(e)?e:C(e);return yield zi(yield*mv(Nd(Hb(function(p){return mh(this,arguments,function*(){let t=null;do t=yield zi(p.next(yield yield zi(qa(n,t))));while(!t.done)})}(T[Symbol.asyncIterator]()))))),yield zi(new n)})}const S9=n=>q4(Uint8Array,n);function v2(n,e,r){if(n!==0){r=r.slice(0,e+1);for(let C=-1;++C<=e;)r[C]+=n}return r}function C9(n,e){let r=0;const C=n.length;if(C!==e.length)return!1;if(C>0)do if(n[r]!==e[r])return!1;while(++r(n.next(),n);function*E9(n){let e,r=!1,C=[],D,T,p,t=0;function d(){return T==="peek"?xh(C,p)[0]:([D,C,t]=xh(C,p),D)}({cmd:T,size:p}=yield null);const g=A9(n)[Symbol.iterator]();try{do if({done:e,value:D}=Number.isNaN(p-t)?g.next():g.next(p-t),!e&&D.byteLength>0&&(C.push(D),t+=D.byteLength),e||p<=t)do({cmd:T,size:p}=yield d());while(p0&&(D.push(T),d+=T.byteLength),r||t<=d)do({cmd:p,size:t}=yield yield zi(g()));while(t0&&(D.push(_a(T)),d+=T.byteLength),r||t<=d)do({cmd:p,size:t}=yield yield zi(g()));while(t{})}get closed(){return this.reader?this.reader.closed.catch(()=>{}):Promise.resolve()}releaseLock(){this.reader&&this.reader.releaseLock(),this.reader=null}cancel(e){return yi(this,void 0,void 0,function*(){const{reader:r,source:C}=this;r&&(yield r.cancel(e).catch(()=>{})),C&&C.locked&&this.releaseLock()})}read(e){return yi(this,void 0,void 0,function*(){if(e===0)return{done:this.reader==null,value:new Uint8Array(0)};const r=yield this.reader.read();return!r.done&&(r.value=_a(r)),r})}}const lb=(n,e)=>{const r=D=>C([e,D]);let C;return[e,r,new Promise(D=>(C=D)&&n.once(e,r))]};function P9(n){return mh(this,arguments,function*(){const r=[];let C="error",D=!1,T=null,p,t,d=0,g=[],i;function M(){return p==="peek"?xh(g,t)[0]:([i,g,d]=xh(g,t),i)}if({cmd:p,size:t}=yield yield zi(null),n.isTTY)return yield yield zi(new Uint8Array(0)),yield zi(null);try{r[0]=lb(n,"end"),r[1]=lb(n,"error");do{if(r[2]=lb(n,"readable"),[C,T]=yield zi(Promise.race(r.map(f=>f[2]))),C==="error")break;if((D=C==="end")||(Number.isFinite(t-d)?(i=_a(n.read(t-d)),i.byteLength0&&(g.push(i),d+=i.byteLength)),D||t<=d)do({cmd:p,size:t}=yield yield zi(M()));while(t{for(const[o,s]of f)n.off(o,s);try{const o=n.destroy;o&&o.call(n,l),l=void 0}catch(o){l=o||l}finally{l!=null?u(l):a()}})}})}var gu;(function(n){n[n.V1=0]="V1",n[n.V2=1]="V2",n[n.V3=2]="V3",n[n.V4=3]="V4",n[n.V5=4]="V5"})(gu||(gu={}));var xu;(function(n){n[n.Sparse=0]="Sparse",n[n.Dense=1]="Dense"})(xu||(xu={}));var Yl;(function(n){n[n.HALF=0]="HALF",n[n.SINGLE=1]="SINGLE",n[n.DOUBLE=2]="DOUBLE"})(Yl||(Yl={}));var nf;(function(n){n[n.DAY=0]="DAY",n[n.MILLISECOND=1]="MILLISECOND"})(nf||(nf={}));var wa;(function(n){n[n.SECOND=0]="SECOND",n[n.MILLISECOND=1]="MILLISECOND",n[n.MICROSECOND=2]="MICROSECOND",n[n.NANOSECOND=3]="NANOSECOND"})(wa||(wa={}));var Hf;(function(n){n[n.YEAR_MONTH=0]="YEAR_MONTH",n[n.DAY_TIME=1]="DAY_TIME",n[n.MONTH_DAY_NANO=2]="MONTH_DAY_NANO"})(Hf||(Hf={}));var Ca;(function(n){n[n.NONE=0]="NONE",n[n.Schema=1]="Schema",n[n.DictionaryBatch=2]="DictionaryBatch",n[n.RecordBatch=3]="RecordBatch",n[n.Tensor=4]="Tensor",n[n.SparseTensor=5]="SparseTensor"})(Ca||(Ca={}));var Jn;(function(n){n[n.NONE=0]="NONE",n[n.Null=1]="Null",n[n.Int=2]="Int",n[n.Float=3]="Float",n[n.Binary=4]="Binary",n[n.Utf8=5]="Utf8",n[n.Bool=6]="Bool",n[n.Decimal=7]="Decimal",n[n.Date=8]="Date",n[n.Time=9]="Time",n[n.Timestamp=10]="Timestamp",n[n.Interval=11]="Interval",n[n.List=12]="List",n[n.Struct=13]="Struct",n[n.Union=14]="Union",n[n.FixedSizeBinary=15]="FixedSizeBinary",n[n.FixedSizeList=16]="FixedSizeList",n[n.Map=17]="Map",n[n.Dictionary=-1]="Dictionary",n[n.Int8=-2]="Int8",n[n.Int16=-3]="Int16",n[n.Int32=-4]="Int32",n[n.Int64=-5]="Int64",n[n.Uint8=-6]="Uint8",n[n.Uint16=-7]="Uint16",n[n.Uint32=-8]="Uint32",n[n.Uint64=-9]="Uint64",n[n.Float16=-10]="Float16",n[n.Float32=-11]="Float32",n[n.Float64=-12]="Float64",n[n.DateDay=-13]="DateDay",n[n.DateMillisecond=-14]="DateMillisecond",n[n.TimestampSecond=-15]="TimestampSecond",n[n.TimestampMillisecond=-16]="TimestampMillisecond",n[n.TimestampMicrosecond=-17]="TimestampMicrosecond",n[n.TimestampNanosecond=-18]="TimestampNanosecond",n[n.TimeSecond=-19]="TimeSecond",n[n.TimeMillisecond=-20]="TimeMillisecond",n[n.TimeMicrosecond=-21]="TimeMicrosecond",n[n.TimeNanosecond=-22]="TimeNanosecond",n[n.DenseUnion=-23]="DenseUnion",n[n.SparseUnion=-24]="SparseUnion",n[n.IntervalDayTime=-25]="IntervalDayTime",n[n.IntervalYearMonth=-26]="IntervalYearMonth"})(Jn||(Jn={}));var qh;(function(n){n[n.OFFSET=0]="OFFSET",n[n.DATA=1]="DATA",n[n.VALIDITY=2]="VALIDITY",n[n.TYPE=3]="TYPE"})(qh||(qh={}));const O9=void 0;function Cm(n){if(n===null)return"null";if(n===O9)return"undefined";switch(typeof n){case"number":return`${n}`;case"bigint":return`${n}`;case"string":return`"${n}"`}return typeof n[Symbol.toPrimitive]=="function"?n[Symbol.toPrimitive]("string"):ArrayBuffer.isView(n)?n instanceof Ym||n instanceof $m?`[${[...n].map(e=>Cm(e))}]`:`[${n}]`:ArrayBuffer.isView(n)?`[${n}]`:JSON.stringify(n,(e,r)=>typeof r=="bigint"?`${r}`:r)}const D9=Symbol.for("isArrowBigNum");function Bc(n,...e){return e.length===0?Object.setPrototypeOf(qa(this.TypedArray,n),this.constructor.prototype):Object.setPrototypeOf(new this.TypedArray(n,...e),this.constructor.prototype)}Bc.prototype[D9]=!0;Bc.prototype.toJSON=function(){return`"${Vd(this)}"`};Bc.prototype.valueOf=function(){return W4(this)};Bc.prototype.toString=function(){return Vd(this)};Bc.prototype[Symbol.toPrimitive]=function(n="default"){switch(n){case"number":return W4(this);case"string":return Vd(this);case"default":return Gb(this)}return Vd(this)};function Up(...n){return Bc.apply(this,n)}function Hp(...n){return Bc.apply(this,n)}function Em(...n){return Bc.apply(this,n)}Object.setPrototypeOf(Up.prototype,Object.create(Int32Array.prototype));Object.setPrototypeOf(Hp.prototype,Object.create(Uint32Array.prototype));Object.setPrototypeOf(Em.prototype,Object.create(Uint32Array.prototype));Object.assign(Up.prototype,Bc.prototype,{constructor:Up,signed:!0,TypedArray:Int32Array,BigIntArray:Ym});Object.assign(Hp.prototype,Bc.prototype,{constructor:Hp,signed:!1,TypedArray:Uint32Array,BigIntArray:$m});Object.assign(Em.prototype,Bc.prototype,{constructor:Em,signed:!0,TypedArray:Uint32Array,BigIntArray:$m});function W4(n){const{buffer:e,byteOffset:r,length:C,signed:D}=n,T=new $m(e,r,C),p=D&&T[T.length-1]&BigInt(1)<n.byteLength===8?new n.BigIntArray(n.buffer,n.byteOffset,1)[0]:ub(n),Vd=n=>n.byteLength===8?`${new n.BigIntArray(n.buffer,n.byteOffset,1)[0]}`:ub(n)):(Vd=ub,Gb=Vd);function ub(n){let e="";const r=new Uint32Array(2);let C=new Uint16Array(n.buffer,n.byteOffset,n.byteLength/2);const D=new Uint32Array((C=new Uint16Array(C).reverse()).buffer);let T=-1;const p=C.length-1;do{for(r[0]=C[T=0];T(n.children=null,n.ArrayType=Array,n[Symbol.toStringTag]="DataType"))(_i.prototype);let Gf=class extends _i{toString(){return"Null"}get typeId(){return Jn.Null}};$4=Symbol.toStringTag;Gf[$4]=(n=>n[Symbol.toStringTag]="Null")(Gf.prototype);class qf extends _i{constructor(e,r){super(),this.isSigned=e,this.bitWidth=r}get typeId(){return Jn.Int}get ArrayType(){switch(this.bitWidth){case 8:return this.isSigned?Int8Array:Uint8Array;case 16:return this.isSigned?Int16Array:Uint16Array;case 32:return this.isSigned?Int32Array:Uint32Array;case 64:return this.isSigned?Ym:$m}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`${this.isSigned?"I":"Ui"}nt${this.bitWidth}`}}Z4=Symbol.toStringTag;qf[Z4]=(n=>(n.isSigned=null,n.bitWidth=null,n[Symbol.toStringTag]="Int"))(qf.prototype);class Lm extends qf{constructor(){super(!0,32)}get ArrayType(){return Int32Array}}Object.defineProperty(Lm.prototype,"ArrayType",{value:Int32Array});class Im extends _i{constructor(e){super(),this.precision=e}get typeId(){return Jn.Float}get ArrayType(){switch(this.precision){case Yl.HALF:return Uint16Array;case Yl.SINGLE:return Float32Array;case Yl.DOUBLE:return Float64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`Float${this.precision<<5||16}`}}X4=Symbol.toStringTag;Im[X4]=(n=>(n.precision=null,n[Symbol.toStringTag]="Float"))(Im.prototype);let Pv=class extends _i{constructor(){super()}get typeId(){return Jn.Binary}toString(){return"Binary"}};K4=Symbol.toStringTag;Pv[K4]=(n=>(n.ArrayType=Uint8Array,n[Symbol.toStringTag]="Binary"))(Pv.prototype);let Ov=class extends _i{constructor(){super()}get typeId(){return Jn.Utf8}toString(){return"Utf8"}};J4=Symbol.toStringTag;Ov[J4]=(n=>(n.ArrayType=Uint8Array,n[Symbol.toStringTag]="Utf8"))(Ov.prototype);let Dv=class extends _i{constructor(){super()}get typeId(){return Jn.Bool}toString(){return"Bool"}};Q4=Symbol.toStringTag;Dv[Q4]=(n=>(n.ArrayType=Uint8Array,n[Symbol.toStringTag]="Bool"))(Dv.prototype);let zv=class extends _i{constructor(e,r,C=128){super(),this.scale=e,this.precision=r,this.bitWidth=C}get typeId(){return Jn.Decimal}toString(){return`Decimal[${this.precision}e${this.scale>0?"+":""}${this.scale}]`}};ek=Symbol.toStringTag;zv[ek]=(n=>(n.scale=null,n.precision=null,n.ArrayType=Uint32Array,n[Symbol.toStringTag]="Decimal"))(zv.prototype);class Fv extends _i{constructor(e){super(),this.unit=e}get typeId(){return Jn.Date}toString(){return`Date${(this.unit+1)*32}<${nf[this.unit]}>`}}tk=Symbol.toStringTag;Fv[tk]=(n=>(n.unit=null,n.ArrayType=Int32Array,n[Symbol.toStringTag]="Date"))(Fv.prototype);class Rm extends _i{constructor(e,r){super(),this.unit=e,this.bitWidth=r}get typeId(){return Jn.Time}toString(){return`Time${this.bitWidth}<${wa[this.unit]}>`}get ArrayType(){switch(this.bitWidth){case 32:return Int32Array;case 64:return Ym}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}}nk=Symbol.toStringTag;Rm[nk]=(n=>(n.unit=null,n.bitWidth=null,n[Symbol.toStringTag]="Time"))(Rm.prototype);class Bv extends _i{constructor(e,r){super(),this.unit=e,this.timezone=r}get typeId(){return Jn.Timestamp}toString(){return`Timestamp<${wa[this.unit]}${this.timezone?`, ${this.timezone}`:""}>`}}rk=Symbol.toStringTag;Bv[rk]=(n=>(n.unit=null,n.timezone=null,n.ArrayType=Int32Array,n[Symbol.toStringTag]="Timestamp"))(Bv.prototype);class Nv extends _i{constructor(e){super(),this.unit=e}get typeId(){return Jn.Interval}toString(){return`Interval<${Hf[this.unit]}>`}}ik=Symbol.toStringTag;Nv[ik]=(n=>(n.unit=null,n.ArrayType=Int32Array,n[Symbol.toStringTag]="Interval"))(Nv.prototype);let Vv=class extends _i{constructor(e){super(),this.children=[e]}get typeId(){return Jn.List}toString(){return`List<${this.valueType}>`}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}};ak=Symbol.toStringTag;Vv[ak]=(n=>(n.children=null,n[Symbol.toStringTag]="List"))(Vv.prototype);class bl extends _i{constructor(e){super(),this.children=e}get typeId(){return Jn.Struct}toString(){return`Struct<{${this.children.map(e=>`${e.name}:${e.type}`).join(", ")}}>`}}ok=Symbol.toStringTag;bl[ok]=(n=>(n.children=null,n[Symbol.toStringTag]="Struct"))(bl.prototype);class jv extends _i{constructor(e,r,C){super(),this.mode=e,this.children=C,this.typeIds=r=Int32Array.from(r),this.typeIdToChildIndex=r.reduce((D,T,p)=>(D[T]=p)&&D||D,Object.create(null))}get typeId(){return Jn.Union}toString(){return`${this[Symbol.toStringTag]}<${this.children.map(e=>`${e.type}`).join(" | ")}>`}}sk=Symbol.toStringTag;jv[sk]=(n=>(n.mode=null,n.typeIds=null,n.children=null,n.typeIdToChildIndex=null,n.ArrayType=Int8Array,n[Symbol.toStringTag]="Union"))(jv.prototype);let Uv=class extends _i{constructor(e){super(),this.byteWidth=e}get typeId(){return Jn.FixedSizeBinary}toString(){return`FixedSizeBinary[${this.byteWidth}]`}};lk=Symbol.toStringTag;Uv[lk]=(n=>(n.byteWidth=null,n.ArrayType=Uint8Array,n[Symbol.toStringTag]="FixedSizeBinary"))(Uv.prototype);let Hv=class extends _i{constructor(e,r){super(),this.listSize=e,this.children=[r]}get typeId(){return Jn.FixedSizeList}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}toString(){return`FixedSizeList[${this.listSize}]<${this.valueType}>`}};uk=Symbol.toStringTag;Hv[uk]=(n=>(n.children=null,n.listSize=null,n[Symbol.toStringTag]="FixedSizeList"))(Hv.prototype);class Gv extends _i{constructor(e,r=!1){super(),this.children=[e],this.keysSorted=r}get typeId(){return Jn.Map}get keyType(){return this.children[0].type.children[0].type}get valueType(){return this.children[0].type.children[1].type}get childType(){return this.children[0].type}toString(){return`Map<{${this.children[0].type.children.map(e=>`${e.name}:${e.type}`).join(", ")}}>`}}ck=Symbol.toStringTag;Gv[ck]=(n=>(n.children=null,n.keysSorted=null,n[Symbol.toStringTag]="Map_"))(Gv.prototype);const z9=(n=>()=>++n)(-1);class Kp extends _i{constructor(e,r,C,D){super(),this.indices=r,this.dictionary=e,this.isOrdered=D||!1,this.id=C==null?z9():typeof C=="number"?C:C.low}get typeId(){return Jn.Dictionary}get children(){return this.dictionary.children}get valueType(){return this.dictionary}get ArrayType(){return this.dictionary.ArrayType}toString(){return`Dictionary<${this.indices}, ${this.dictionary}>`}}hk=Symbol.toStringTag;Kp[hk]=(n=>(n.id=null,n.indices=null,n.isOrdered=null,n.dictionary=null,n[Symbol.toStringTag]="Dictionary"))(Kp.prototype);function Wh(n){const e=n;switch(n.typeId){case Jn.Decimal:return n.bitWidth/32;case Jn.Timestamp:return 2;case Jn.Date:return 1+e.unit;case Jn.Interval:return 1+e.unit;case Jn.FixedSizeList:return e.listSize;case Jn.FixedSizeBinary:return e.byteWidth;default:return 1}}class aa{visitMany(e,...r){return e.map((C,D)=>this.visit(C,...r.map(T=>T[D])))}visit(...e){return this.getVisitFn(e[0],!1).apply(this,e)}getVisitFn(e,r=!0){return F9(this,e,r)}getVisitFnByTypeId(e,r=!0){return Rp(this,e,r)}visitNull(e,...r){return null}visitBool(e,...r){return null}visitInt(e,...r){return null}visitFloat(e,...r){return null}visitUtf8(e,...r){return null}visitBinary(e,...r){return null}visitFixedSizeBinary(e,...r){return null}visitDate(e,...r){return null}visitTimestamp(e,...r){return null}visitTime(e,...r){return null}visitDecimal(e,...r){return null}visitList(e,...r){return null}visitStruct(e,...r){return null}visitUnion(e,...r){return null}visitDictionary(e,...r){return null}visitInterval(e,...r){return null}visitFixedSizeList(e,...r){return null}visitMap(e,...r){return null}}function F9(n,e,r=!0){return typeof e=="number"?Rp(n,e,r):typeof e=="string"&&e in Jn?Rp(n,Jn[e],r):e&&e instanceof _i?Rp(n,K3(e),r):e!=null&&e.type&&e.type instanceof _i?Rp(n,K3(e.type),r):Rp(n,Jn.NONE,r)}function Rp(n,e,r=!0){let C=null;switch(e){case Jn.Null:C=n.visitNull;break;case Jn.Bool:C=n.visitBool;break;case Jn.Int:C=n.visitInt;break;case Jn.Int8:C=n.visitInt8||n.visitInt;break;case Jn.Int16:C=n.visitInt16||n.visitInt;break;case Jn.Int32:C=n.visitInt32||n.visitInt;break;case Jn.Int64:C=n.visitInt64||n.visitInt;break;case Jn.Uint8:C=n.visitUint8||n.visitInt;break;case Jn.Uint16:C=n.visitUint16||n.visitInt;break;case Jn.Uint32:C=n.visitUint32||n.visitInt;break;case Jn.Uint64:C=n.visitUint64||n.visitInt;break;case Jn.Float:C=n.visitFloat;break;case Jn.Float16:C=n.visitFloat16||n.visitFloat;break;case Jn.Float32:C=n.visitFloat32||n.visitFloat;break;case Jn.Float64:C=n.visitFloat64||n.visitFloat;break;case Jn.Utf8:C=n.visitUtf8;break;case Jn.Binary:C=n.visitBinary;break;case Jn.FixedSizeBinary:C=n.visitFixedSizeBinary;break;case Jn.Date:C=n.visitDate;break;case Jn.DateDay:C=n.visitDateDay||n.visitDate;break;case Jn.DateMillisecond:C=n.visitDateMillisecond||n.visitDate;break;case Jn.Timestamp:C=n.visitTimestamp;break;case Jn.TimestampSecond:C=n.visitTimestampSecond||n.visitTimestamp;break;case Jn.TimestampMillisecond:C=n.visitTimestampMillisecond||n.visitTimestamp;break;case Jn.TimestampMicrosecond:C=n.visitTimestampMicrosecond||n.visitTimestamp;break;case Jn.TimestampNanosecond:C=n.visitTimestampNanosecond||n.visitTimestamp;break;case Jn.Time:C=n.visitTime;break;case Jn.TimeSecond:C=n.visitTimeSecond||n.visitTime;break;case Jn.TimeMillisecond:C=n.visitTimeMillisecond||n.visitTime;break;case Jn.TimeMicrosecond:C=n.visitTimeMicrosecond||n.visitTime;break;case Jn.TimeNanosecond:C=n.visitTimeNanosecond||n.visitTime;break;case Jn.Decimal:C=n.visitDecimal;break;case Jn.List:C=n.visitList;break;case Jn.Struct:C=n.visitStruct;break;case Jn.Union:C=n.visitUnion;break;case Jn.DenseUnion:C=n.visitDenseUnion||n.visitUnion;break;case Jn.SparseUnion:C=n.visitSparseUnion||n.visitUnion;break;case Jn.Dictionary:C=n.visitDictionary;break;case Jn.Interval:C=n.visitInterval;break;case Jn.IntervalDayTime:C=n.visitIntervalDayTime||n.visitInterval;break;case Jn.IntervalYearMonth:C=n.visitIntervalYearMonth||n.visitInterval;break;case Jn.FixedSizeList:C=n.visitFixedSizeList;break;case Jn.Map:C=n.visitMap;break}if(typeof C=="function")return C;if(!r)return()=>null;throw new Error(`Unrecognized type '${Jn[e]}'`)}function K3(n){switch(n.typeId){case Jn.Null:return Jn.Null;case Jn.Int:{const{bitWidth:e,isSigned:r}=n;switch(e){case 8:return r?Jn.Int8:Jn.Uint8;case 16:return r?Jn.Int16:Jn.Uint16;case 32:return r?Jn.Int32:Jn.Uint32;case 64:return r?Jn.Int64:Jn.Uint64}return Jn.Int}case Jn.Float:switch(n.precision){case Yl.HALF:return Jn.Float16;case Yl.SINGLE:return Jn.Float32;case Yl.DOUBLE:return Jn.Float64}return Jn.Float;case Jn.Binary:return Jn.Binary;case Jn.Utf8:return Jn.Utf8;case Jn.Bool:return Jn.Bool;case Jn.Decimal:return Jn.Decimal;case Jn.Time:switch(n.unit){case wa.SECOND:return Jn.TimeSecond;case wa.MILLISECOND:return Jn.TimeMillisecond;case wa.MICROSECOND:return Jn.TimeMicrosecond;case wa.NANOSECOND:return Jn.TimeNanosecond}return Jn.Time;case Jn.Timestamp:switch(n.unit){case wa.SECOND:return Jn.TimestampSecond;case wa.MILLISECOND:return Jn.TimestampMillisecond;case wa.MICROSECOND:return Jn.TimestampMicrosecond;case wa.NANOSECOND:return Jn.TimestampNanosecond}return Jn.Timestamp;case Jn.Date:switch(n.unit){case nf.DAY:return Jn.DateDay;case nf.MILLISECOND:return Jn.DateMillisecond}return Jn.Date;case Jn.Interval:switch(n.unit){case Hf.DAY_TIME:return Jn.IntervalDayTime;case Hf.YEAR_MONTH:return Jn.IntervalYearMonth}return Jn.Interval;case Jn.Map:return Jn.Map;case Jn.List:return Jn.List;case Jn.Struct:return Jn.Struct;case Jn.Union:switch(n.mode){case xu.Dense:return Jn.DenseUnion;case xu.Sparse:return Jn.SparseUnion}return Jn.Union;case Jn.FixedSizeBinary:return Jn.FixedSizeBinary;case Jn.FixedSizeList:return Jn.FixedSizeList;case Jn.Dictionary:return Jn.Dictionary}throw new Error(`Unrecognized type '${Jn[n.typeId]}'`)}aa.prototype.visitInt8=null;aa.prototype.visitInt16=null;aa.prototype.visitInt32=null;aa.prototype.visitInt64=null;aa.prototype.visitUint8=null;aa.prototype.visitUint16=null;aa.prototype.visitUint32=null;aa.prototype.visitUint64=null;aa.prototype.visitFloat16=null;aa.prototype.visitFloat32=null;aa.prototype.visitFloat64=null;aa.prototype.visitDateDay=null;aa.prototype.visitDateMillisecond=null;aa.prototype.visitTimestampSecond=null;aa.prototype.visitTimestampMillisecond=null;aa.prototype.visitTimestampMicrosecond=null;aa.prototype.visitTimestampNanosecond=null;aa.prototype.visitTimeSecond=null;aa.prototype.visitTimeMillisecond=null;aa.prototype.visitTimeMicrosecond=null;aa.prototype.visitTimeNanosecond=null;aa.prototype.visitDenseUnion=null;aa.prototype.visitSparseUnion=null;aa.prototype.visitIntervalDayTime=null;aa.prototype.visitIntervalYearMonth=null;const fk=new Float64Array(1),Ap=new Uint32Array(fk.buffer);function dk(n){const e=(n&31744)>>10,r=(n&1023)/1024,C=Math.pow(-1,(n&32768)>>15);switch(e){case 31:return C*(r?Number.NaN:1/0);case 0:return C*(r?6103515625e-14*r:0)}return C*Math.pow(2,e-15)*(1+r)}function B9(n){if(n!==n)return 32256;fk[0]=n;const e=(Ap[1]&2147483648)>>16&65535;let r=Ap[1]&2146435072,C=0;return r>=1089470464?Ap[0]>0?r=31744:(r=(r&2080374784)>>16,C=(Ap[1]&1048575)>>10):r<=1056964608?(C=1048576+(Ap[1]&1048575),C=1048576+(C<<(r>>20)-998)>>21,r=0):(r=r-1056964608>>10,C=(Ap[1]&1048575)+512>>10),e|r|C&65535}class Ci extends aa{}function Pi(n){return(e,r,C)=>{if(e.setValid(r,C!=null))return n(e,r,C)}}const N9=(n,e,r)=>{n[e]=Math.trunc(r/864e5)},b2=(n,e,r)=>{n[e]=Math.trunc(r%4294967296),n[e+1]=Math.trunc(r/4294967296)},V9=(n,e,r)=>{n[e]=Math.trunc(r*1e3%4294967296),n[e+1]=Math.trunc(r*1e3/4294967296)},j9=(n,e,r)=>{n[e]=Math.trunc(r*1e6%4294967296),n[e+1]=Math.trunc(r*1e6/4294967296)},pk=(n,e,r,C)=>{if(r+1{const D=n+r;C?e[D>>3]|=1<>3]&=~(1<{n[e]=r},x2=({values:n},e,r)=>{n[e]=r},mk=({values:n},e,r)=>{n[e]=B9(r)},H9=(n,e,r)=>{switch(n.type.precision){case Yl.HALF:return mk(n,e,r);case Yl.SINGLE:case Yl.DOUBLE:return x2(n,e,r)}},gk=({values:n},e,r)=>{N9(n,e,r.valueOf())},vk=({values:n},e,r)=>{b2(n,e*2,r.valueOf())},G9=({stride:n,values:e},r,C)=>{e.set(C.subarray(0,n),n*r)},q9=({values:n,valueOffsets:e},r,C)=>pk(n,e,r,C),W9=({values:n,valueOffsets:e},r,C)=>{pk(n,e,r,p2(C))},Y9=(n,e,r)=>{n.type.unit===nf.DAY?gk(n,e,r):vk(n,e,r)},yk=({values:n},e,r)=>b2(n,e*2,r/1e3),bk=({values:n},e,r)=>b2(n,e*2,r),xk=({values:n},e,r)=>V9(n,e*2,r),_k=({values:n},e,r)=>j9(n,e*2,r),$9=(n,e,r)=>{switch(n.type.unit){case wa.SECOND:return yk(n,e,r);case wa.MILLISECOND:return bk(n,e,r);case wa.MICROSECOND:return xk(n,e,r);case wa.NANOSECOND:return _k(n,e,r)}},wk=({values:n},e,r)=>{n[e]=r},Tk=({values:n},e,r)=>{n[e]=r},kk=({values:n},e,r)=>{n[e]=r},Mk=({values:n},e,r)=>{n[e]=r},Z9=(n,e,r)=>{switch(n.type.unit){case wa.SECOND:return wk(n,e,r);case wa.MILLISECOND:return Tk(n,e,r);case wa.MICROSECOND:return kk(n,e,r);case wa.NANOSECOND:return Mk(n,e,r)}},X9=({values:n,stride:e},r,C)=>{n.set(C.subarray(0,e),e*r)},K9=(n,e,r)=>{const C=n.children[0],D=n.valueOffsets,T=nc.getVisitFn(C);if(Array.isArray(r))for(let p=-1,t=D[e],d=D[e+1];t{const C=n.children[0],{valueOffsets:D}=n,T=nc.getVisitFn(C);let{[e]:p,[e+1]:t}=D;const d=r instanceof Map?r.entries():Object.entries(r);for(const g of d)if(T(C,p,g),++p>=t)break},Q9=(n,e)=>(r,C,D,T)=>C&&r(C,n,e[T]),eL=(n,e)=>(r,C,D,T)=>C&&r(C,n,e.get(T)),tL=(n,e)=>(r,C,D,T)=>C&&r(C,n,e.get(D.name)),nL=(n,e)=>(r,C,D,T)=>C&&r(C,n,e[D.name]),rL=(n,e,r)=>{const C=n.type.children.map(T=>nc.getVisitFn(T.type)),D=r instanceof Map?tL(e,r):r instanceof Ta?eL(e,r):Array.isArray(r)?Q9(e,r):nL(e,r);n.type.children.forEach((T,p)=>D(C[p],n.children[p],T,p))},iL=(n,e,r)=>{n.type.mode===xu.Dense?Ak(n,e,r):Sk(n,e,r)},Ak=(n,e,r)=>{const C=n.type.typeIdToChildIndex[n.typeIds[e]],D=n.children[C];nc.visit(D,n.valueOffsets[e],r)},Sk=(n,e,r)=>{const C=n.type.typeIdToChildIndex[n.typeIds[e]],D=n.children[C];nc.visit(D,e,r)},aL=(n,e,r)=>{var C;(C=n.dictionary)===null||C===void 0||C.set(n.values[e],r)},oL=(n,e,r)=>{n.type.unit===Hf.DAY_TIME?Ck(n,e,r):Ek(n,e,r)},Ck=({values:n},e,r)=>{n.set(r.subarray(0,2),2*e)},Ek=({values:n},e,r)=>{n[e]=r[0]*12+r[1]%12},sL=(n,e,r)=>{const{stride:C}=n,D=n.children[0],T=nc.getVisitFn(D);if(Array.isArray(r))for(let p=-1,t=e*C;++p`${Cm(e)}: ${Cm(r)}`).join(", ")}}`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}[Symbol.iterator](){return new lL(this[Ec],this[Gp])}}class lL{constructor(e,r){this.childIndex=0,this.children=e.children,this.rowIndex=r,this.childFields=e.type.children,this.numChildren=this.childFields.length}[Symbol.iterator](){return this}next(){const e=this.childIndex;return er.name)}has(e,r){return e[Ec].type.children.findIndex(C=>C.name===r)!==-1}getOwnPropertyDescriptor(e,r){if(e[Ec].type.children.findIndex(C=>C.name===r)!==-1)return{writable:!0,enumerable:!0,configurable:!0}}get(e,r){if(Reflect.has(e,r))return e[r];const C=e[Ec].type.children.findIndex(D=>D.name===r);if(C!==-1){const D=Xl.visit(e[Ec].children[C],e[Gp]);return Reflect.set(e,r,D),D}}set(e,r,C){const D=e[Ec].type.children.findIndex(T=>T.name===r);return D!==-1?(nc.visit(e[Ec].children[D],e[Gp],C),Reflect.set(e,r,C)):Reflect.has(e,r)||typeof r=="symbol"?Reflect.set(e,r,C):!1}}class Ti extends aa{}function Ei(n){return(e,r)=>e.getValid(r)?n(e,r):null}const cL=(n,e)=>864e5*n[e],w2=(n,e)=>4294967296*n[e+1]+(n[e]>>>0),hL=(n,e)=>4294967296*(n[e+1]/1e3)+(n[e]>>>0)/1e3,fL=(n,e)=>4294967296*(n[e+1]/1e6)+(n[e]>>>0)/1e6,Lk=n=>new Date(n),dL=(n,e)=>Lk(cL(n,e)),pL=(n,e)=>Lk(w2(n,e)),mL=(n,e)=>null,Ik=(n,e,r)=>{if(r+1>=e.length)return null;const C=e[r],D=e[r+1];return n.subarray(C,D)},gL=({offset:n,values:e},r)=>{const C=n+r;return(e[C>>3]&1<dL(n,e),Pk=({values:n},e)=>pL(n,e*2),Kf=({stride:n,values:e},r)=>e[n*r],vL=({stride:n,values:e},r)=>dk(e[n*r]),Ok=({values:n},e)=>n[e],yL=({stride:n,values:e},r)=>e.subarray(n*r,n*(r+1)),bL=({values:n,valueOffsets:e},r)=>Ik(n,e,r),xL=({values:n,valueOffsets:e},r)=>{const C=Ik(n,e,r);return C!==null?jb(C):null},_L=({values:n},e)=>n[e],wL=({type:n,values:e},r)=>n.precision!==Yl.HALF?e[r]:dk(e[r]),TL=(n,e)=>n.type.unit===nf.DAY?Rk(n,e):Pk(n,e),Dk=({values:n},e)=>1e3*w2(n,e*2),zk=({values:n},e)=>w2(n,e*2),Fk=({values:n},e)=>hL(n,e*2),Bk=({values:n},e)=>fL(n,e*2),kL=(n,e)=>{switch(n.type.unit){case wa.SECOND:return Dk(n,e);case wa.MILLISECOND:return zk(n,e);case wa.MICROSECOND:return Fk(n,e);case wa.NANOSECOND:return Bk(n,e)}},Nk=({values:n},e)=>n[e],Vk=({values:n},e)=>n[e],jk=({values:n},e)=>n[e],Uk=({values:n},e)=>n[e],ML=(n,e)=>{switch(n.type.unit){case wa.SECOND:return Nk(n,e);case wa.MILLISECOND:return Vk(n,e);case wa.MICROSECOND:return jk(n,e);case wa.NANOSECOND:return Uk(n,e)}},AL=({values:n,stride:e},r)=>y2.decimal(n.subarray(e*r,e*(r+1))),SL=(n,e)=>{const{valueOffsets:r,stride:C,children:D}=n,{[e*C]:T,[e*C+1]:p}=r,d=D[0].slice(T,p-T);return new Ta([d])},CL=(n,e)=>{const{valueOffsets:r,children:C}=n,{[e]:D,[e+1]:T}=r,p=C[0];return new T2(p.slice(D,T-D))},EL=(n,e)=>new _2(n,e),LL=(n,e)=>n.type.mode===xu.Dense?Hk(n,e):Gk(n,e),Hk=(n,e)=>{const r=n.type.typeIdToChildIndex[n.typeIds[e]],C=n.children[r];return Xl.visit(C,n.valueOffsets[e])},Gk=(n,e)=>{const r=n.type.typeIdToChildIndex[n.typeIds[e]],C=n.children[r];return Xl.visit(C,e)},IL=(n,e)=>{var r;return(r=n.dictionary)===null||r===void 0?void 0:r.get(n.values[e])},RL=(n,e)=>n.type.unit===Hf.DAY_TIME?qk(n,e):Wk(n,e),qk=({values:n},e)=>n.subarray(2*e,2*(e+1)),Wk=({values:n},e)=>{const r=n[e],C=new Int32Array(2);return C[0]=Math.trunc(r/12),C[1]=Math.trunc(r%12),C},PL=(n,e)=>{const{stride:r,children:C}=n,T=C[0].slice(e*r,r);return new Ta([T])};Ti.prototype.visitNull=Ei(mL);Ti.prototype.visitBool=Ei(gL);Ti.prototype.visitInt=Ei(_L);Ti.prototype.visitInt8=Ei(Kf);Ti.prototype.visitInt16=Ei(Kf);Ti.prototype.visitInt32=Ei(Kf);Ti.prototype.visitInt64=Ei(Ok);Ti.prototype.visitUint8=Ei(Kf);Ti.prototype.visitUint16=Ei(Kf);Ti.prototype.visitUint32=Ei(Kf);Ti.prototype.visitUint64=Ei(Ok);Ti.prototype.visitFloat=Ei(wL);Ti.prototype.visitFloat16=Ei(vL);Ti.prototype.visitFloat32=Ei(Kf);Ti.prototype.visitFloat64=Ei(Kf);Ti.prototype.visitUtf8=Ei(xL);Ti.prototype.visitBinary=Ei(bL);Ti.prototype.visitFixedSizeBinary=Ei(yL);Ti.prototype.visitDate=Ei(TL);Ti.prototype.visitDateDay=Ei(Rk);Ti.prototype.visitDateMillisecond=Ei(Pk);Ti.prototype.visitTimestamp=Ei(kL);Ti.prototype.visitTimestampSecond=Ei(Dk);Ti.prototype.visitTimestampMillisecond=Ei(zk);Ti.prototype.visitTimestampMicrosecond=Ei(Fk);Ti.prototype.visitTimestampNanosecond=Ei(Bk);Ti.prototype.visitTime=Ei(ML);Ti.prototype.visitTimeSecond=Ei(Nk);Ti.prototype.visitTimeMillisecond=Ei(Vk);Ti.prototype.visitTimeMicrosecond=Ei(jk);Ti.prototype.visitTimeNanosecond=Ei(Uk);Ti.prototype.visitDecimal=Ei(AL);Ti.prototype.visitList=Ei(SL);Ti.prototype.visitStruct=Ei(EL);Ti.prototype.visitUnion=Ei(LL);Ti.prototype.visitDenseUnion=Ei(Hk);Ti.prototype.visitSparseUnion=Ei(Gk);Ti.prototype.visitDictionary=Ei(IL);Ti.prototype.visitInterval=Ei(RL);Ti.prototype.visitIntervalDayTime=Ei(qk);Ti.prototype.visitIntervalYearMonth=Ei(Wk);Ti.prototype.visitFixedSizeList=Ei(PL);Ti.prototype.visitMap=Ei(CL);const Xl=new Ti,lh=Symbol.for("keys"),qp=Symbol.for("vals");class T2{constructor(e){return this[lh]=new Ta([e.children[0]]).memoize(),this[qp]=e.children[1],new Proxy(this,new DL)}[Symbol.iterator](){return new OL(this[lh],this[qp])}get size(){return this[lh].length}toArray(){return Object.values(this.toJSON())}toJSON(){const e=this[lh],r=this[qp],C={};for(let D=-1,T=e.length;++D`${Cm(e)}: ${Cm(r)}`).join(", ")}}`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}}class OL{constructor(e,r){this.keys=e,this.vals=r,this.keyIndex=0,this.numKeys=e.length}[Symbol.iterator](){return this}next(){const e=this.keyIndex;return e===this.numKeys?{done:!0,value:null}:(this.keyIndex++,{done:!1,value:[this.keys.get(e),Xl.visit(this.vals,e)]})}}class DL{isExtensible(){return!1}deleteProperty(){return!1}preventExtensions(){return!0}ownKeys(e){return e[lh].toArray().map(String)}has(e,r){return e[lh].includes(r)}getOwnPropertyDescriptor(e,r){if(e[lh].indexOf(r)!==-1)return{writable:!0,enumerable:!0,configurable:!0}}get(e,r){if(Reflect.has(e,r))return e[r];const C=e[lh].indexOf(r);if(C!==-1){const D=Xl.visit(Reflect.get(e,qp),C);return Reflect.set(e,r,D),D}}set(e,r,C){const D=e[lh].indexOf(r);return D!==-1?(nc.visit(Reflect.get(e,qp),D,C),Reflect.set(e,r,C)):Reflect.has(e,r)?Reflect.set(e,r,C):!1}}Object.defineProperties(T2.prototype,{[Symbol.toStringTag]:{enumerable:!1,configurable:!1,value:"Row"},[lh]:{writable:!0,enumerable:!1,configurable:!1,value:null},[qp]:{writable:!0,enumerable:!1,configurable:!1,value:null}});let J3;function Yk(n,e,r,C){const{length:D=0}=n;let T=typeof e!="number"?0:e,p=typeof r!="number"?D:r;return T<0&&(T=(T%D+D)%D),p<0&&(p=(p%D+D)%D),pD&&(p=D),C?C(n,T,p):[T,p]}const Q3=n=>n!==n;function v0(n){if(typeof n!=="object"||n===null)return Q3(n)?Q3:r=>r===n;if(n instanceof Date){const r=n.valueOf();return C=>C instanceof Date?C.valueOf()===r:!1}return ArrayBuffer.isView(n)?r=>r?C9(n,r):!1:n instanceof Map?FL(n):Array.isArray(n)?zL(n):n instanceof Ta?BL(n):NL(n,!0)}function zL(n){const e=[];for(let r=-1,C=n.length;++r!1;const C=[];for(let D=-1,T=r.length;++D{if(!r||typeof r!="object")return!1;switch(r.constructor){case Array:return VL(n,r);case Map:return e5(n,r,r.keys());case T2:case _2:case Object:case void 0:return e5(n,r,e||Object.keys(r))}return r instanceof Ta?jL(n,r):!1}}function VL(n,e){const r=n.length;if(e.length!==r)return!1;for(let C=-1;++C>C}function k2(n,e,r){const C=r.byteLength+7&-8;if(n>0||r.byteLength>3):qv(new M2(r,n,e,null,$k)).subarray(0,C)),D}return r}function qv(n){const e=[];let r=0,C=0,D=0;for(const p of n)p&&(D|=1<0)&&(e[r++]=D);const T=new Uint8Array(e.length+7&-8);return T.set(e),T}class M2{constructor(e,r,C,D,T){this.bytes=e,this.length=C,this.context=D,this.get=T,this.bit=r%8,this.byteIndex=r>>3,this.byte=e[this.byteIndex++],this.index=0}next(){return this.index>3<<3,D=e+(e%8===0?0:8-e%8);return qb(n,e,D)+qb(n,C,r)+HL(n,D>>3,C-D>>3)}function HL(n,e,r){let C=0,D=Math.trunc(e);const T=new DataView(n.buffer,n.byteOffset,n.byteLength),p=r===void 0?n.byteLength:D+r;for(;p-D>=4;)C+=cb(T.getUint32(D)),D+=4;for(;p-D>=2;)C+=cb(T.getUint16(D)),D+=2;for(;p-D>=1;)C+=cb(T.getUint8(D)),D+=1;return C}function cb(n){let e=Math.trunc(n);return e=e-(e>>>1&1431655765),e=(e&858993459)+(e>>>2&858993459),(e+(e>>>4)&252645135)*16843009>>>24}const GL=-1;class Qa{constructor(e,r,C,D,T,p=[],t){this.type=e,this.children=p,this.dictionary=t,this.offset=Math.floor(Math.max(r||0,0)),this.length=Math.floor(Math.max(C||0,0)),this._nullCount=Math.floor(Math.max(D||0,-1));let d;T instanceof Qa?(this.stride=T.stride,this.values=T.values,this.typeIds=T.typeIds,this.nullBitmap=T.nullBitmap,this.valueOffsets=T.valueOffsets):(this.stride=Wh(e),T&&((d=T[0])&&(this.valueOffsets=d),(d=T[1])&&(this.values=d),(d=T[2])&&(this.nullBitmap=d),(d=T[3])&&(this.typeIds=d))),this.nullable=this._nullCount!==0&&this.nullBitmap&&this.nullBitmap.byteLength>0}get typeId(){return this.type.typeId}get ArrayType(){return this.type.ArrayType}get buffers(){return[this.valueOffsets,this.values,this.nullBitmap,this.typeIds]}get byteLength(){let e=0;const{valueOffsets:r,values:C,nullBitmap:D,typeIds:T}=this;return r&&(e+=r.byteLength),C&&(e+=C.byteLength),D&&(e+=D.byteLength),T&&(e+=T.byteLength),this.children.reduce((p,t)=>p+t.byteLength,e)}get nullCount(){let e=this._nullCount,r;return e<=GL&&(r=this.nullBitmap)&&(this._nullCount=e=this.length-qb(r,this.offset,this.offset+this.length)),e}getValid(e){if(this.nullable&&this.nullCount>0){const r=this.offset+e;return(this.nullBitmap[r>>3]&1<>3){const{nullBitmap:d}=this._changeLengthAndBackfillNullBitmap(this.length);Object.assign(this,{nullBitmap:d,_nullCount:0})}const{nullBitmap:C,offset:D}=this,T=D+e>>3,p=(D+e)%8,t=C[T]>>p&1;return r?t===0&&(C[T]|=1<>3).fill(255,0,r>>3);D[r>>3]=(1<0&&D.set(k2(this.offset,r,this.nullBitmap),0);const T=this.buffers;return T[qh.VALIDITY]=D,this.clone(this.type,0,e,C+(e-r),T)}_sliceBuffers(e,r,C,D){let T;const{buffers:p}=this;return(T=p[qh.TYPE])&&(p[qh.TYPE]=T.subarray(e,e+r)),(T=p[qh.OFFSET])&&(p[qh.OFFSET]=T.subarray(e,e+r+1))||(T=p[qh.DATA])&&(p[qh.DATA]=D===6?T:T.subarray(C*e,C*(e+r))),p}_sliceChildren(e,r,C){return e.map(D=>D.slice(r,C))}}Qa.prototype.children=Object.freeze([]);class mm extends aa{visit(e){return this.getVisitFn(e.type).call(this,e)}visitNull(e){const{["type"]:r,["offset"]:C=0,["length"]:D=0}=e;return new Qa(r,C,D,0)}visitBool(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length>>3,["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,p,t,[void 0,T,D])}visitInt(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length,["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,p,t,[void 0,T,D])}visitFloat(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length,["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,p,t,[void 0,T,D])}visitUtf8(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.data),T=_a(e.nullBitmap),p=rm(e.valueOffsets),{["length"]:t=p.length-1,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,C,t,d,[p,D,T])}visitBinary(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.data),T=_a(e.nullBitmap),p=rm(e.valueOffsets),{["length"]:t=p.length-1,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,C,t,d,[p,D,T])}visitFixedSizeBinary(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,p,t,[void 0,T,D])}visitDate(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,p,t,[void 0,T,D])}visitTimestamp(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,p,t,[void 0,T,D])}visitTime(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,p,t,[void 0,T,D])}visitDecimal(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,p,t,[void 0,T,D])}visitList(e){const{["type"]:r,["offset"]:C=0,["child"]:D}=e,T=_a(e.nullBitmap),p=rm(e.valueOffsets),{["length"]:t=p.length-1,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,C,t,d,[p,void 0,T],[D])}visitStruct(e){const{["type"]:r,["offset"]:C=0,["children"]:D=[]}=e,T=_a(e.nullBitmap),{length:p=D.reduce((d,{length:g})=>Math.max(d,g),0),nullCount:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,p,t,[void 0,void 0,T],D)}visitUnion(e){const{["type"]:r,["offset"]:C=0,["children"]:D=[]}=e,T=_a(e.nullBitmap),p=qa(r.ArrayType,e.typeIds),{["length"]:t=p.length,["nullCount"]:d=e.nullBitmap?-1:0}=e;if(_i.isSparseUnion(r))return new Qa(r,C,t,d,[void 0,void 0,T,p],D);const g=rm(e.valueOffsets);return new Qa(r,C,t,d,[g,void 0,T,p],D)}visitDictionary(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),T=qa(r.indices.ArrayType,e.data),{["dictionary"]:p=new Ta([new mm().visit({type:r.dictionary})])}=e,{["length"]:t=T.length,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,C,t,d,[void 0,T,D],[],p)}visitInterval(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,p,t,[void 0,T,D])}visitFixedSizeList(e){const{["type"]:r,["offset"]:C=0,["child"]:D=new mm().visit({type:r.valueType})}=e,T=_a(e.nullBitmap),{["length"]:p=D.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,p,t,[void 0,void 0,T],[D])}visitMap(e){const{["type"]:r,["offset"]:C=0,["child"]:D=new mm().visit({type:r.childType})}=e,T=_a(e.nullBitmap),p=rm(e.valueOffsets),{["length"]:t=p.length-1,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,C,t,d,[p,void 0,T],[D])}}function ra(n){return new mm().visit(n)}class t5{constructor(e=0,r){this.numChunks=e,this.getChunkIterator=r,this.chunkIndex=0,this.chunkIterator=this.getChunkIterator(0)}next(){for(;this.chunkIndexe+r.nullCount,0)}function Xk(n){return n.reduce((e,r,C)=>(e[C+1]=e[C]+r.length,e),new Uint32Array(n.length+1))}function Kk(n,e,r,C){const D=[];for(let T=-1,p=n.length;++T=C)break;if(r>=d+g)continue;if(d>=r&&d+g<=C){D.push(t);continue}const i=Math.max(0,r-d),M=Math.min(C-d,g);D.push(t.slice(i,M-i))}return D.length===0&&D.push(n[0].slice(0,0)),D}function A2(n,e,r,C){let D=0,T=0,p=e.length-1;do{if(D>=p-1)return r0?0:-1}function WL(n,e){const{nullBitmap:r}=n;if(!r||n.nullCount<=0)return-1;let C=0;for(const D of new M2(r,n.offset+(e||0),n.length,r,$k)){if(!D)return C;++C}return-1}function Vi(n,e,r){if(e===void 0)return-1;if(e===null)return WL(n,r);const C=Xl.getVisitFn(n),D=v0(e);for(let T=(r||0)-1,p=n.length;++T{const D=n.data[C];return D.values.subarray(0,D.length)[Symbol.iterator]()});let r=0;return new t5(n.data.length,C=>{const T=n.data[C].length,p=n.slice(r,r+T);return r+=T,new YL(p)})}class YL{constructor(e){this.vector=e,this.index=0}next(){return this.indexn+e;class Jf extends aa{visitNull(e,r){return 0}visitInt(e,r){return e.type.bitWidth/8}visitFloat(e,r){return e.type.ArrayType.BYTES_PER_ELEMENT}visitBool(e,r){return 1/8}visitDecimal(e,r){return e.type.bitWidth/8}visitDate(e,r){return(e.type.unit+1)*4}visitTime(e,r){return e.type.bitWidth/8}visitTimestamp(e,r){return e.type.unit===wa.SECOND?4:8}visitInterval(e,r){return(e.type.unit+1)*4}visitStruct(e,r){return e.children.reduce((C,D)=>C+_h.visit(D,r),0)}visitFixedSizeBinary(e,r){return e.type.byteWidth}visitMap(e,r){return 8+e.children.reduce((C,D)=>C+_h.visit(D,r),0)}visitDictionary(e,r){var C;return e.type.indices.bitWidth/8+(((C=e.dictionary)===null||C===void 0?void 0:C.getByteLength(e.values[r]))||0)}}const ZL=({valueOffsets:n},e)=>8+(n[e+1]-n[e]),XL=({valueOffsets:n},e)=>8+(n[e+1]-n[e]),KL=({valueOffsets:n,stride:e,children:r},C)=>{const D=r[0],{[C*e]:T}=n,{[C*e+1]:p}=n,t=_h.getVisitFn(D.type),d=D.slice(T,p-T);let g=8;for(let i=-1,M=p-T;++i{const C=e[0],D=C.slice(r*n,n),T=_h.getVisitFn(C.type);let p=0;for(let t=-1,d=D.length;++tn.type.mode===xu.Dense?tM(n,e):nM(n,e),tM=({type:n,children:e,typeIds:r,valueOffsets:C},D)=>{const T=n.typeIdToChildIndex[r[D]];return 8+_h.visit(e[T],C[D])},nM=({children:n},e)=>4+_h.visitMany(n,n.map(()=>e)).reduce($L,0);Jf.prototype.visitUtf8=ZL;Jf.prototype.visitBinary=XL;Jf.prototype.visitList=KL;Jf.prototype.visitFixedSizeList=JL;Jf.prototype.visitUnion=QL;Jf.prototype.visitDenseUnion=tM;Jf.prototype.visitSparseUnion=nM;const _h=new Jf;var rM;const iM={},aM={};class Ta{constructor(e){var r,C,D;const T=e[0]instanceof Ta?e.flatMap(t=>t.data):e;if(T.length===0||T.some(t=>!(t instanceof Qa)))throw new TypeError("Vector constructor expects an Array of Data instances.");const p=(r=T[0])===null||r===void 0?void 0:r.type;switch(T.length){case 0:this._offsets=[0];break;case 1:{const{get:t,set:d,indexOf:g,byteLength:i}=iM[p.typeId],M=T[0];this.isValid=v=>S2(M,v),this.get=v=>t(M,v),this.set=(v,f)=>d(M,v,f),this.indexOf=v=>g(M,v),this.getByteLength=v=>i(M,v),this._offsets=[0,M.length];break}default:Object.setPrototypeOf(this,aM[p.typeId]),this._offsets=Xk(T);break}this.data=T,this.type=p,this.stride=Wh(p),this.numChildren=(D=(C=p.children)===null||C===void 0?void 0:C.length)!==null&&D!==void 0?D:0,this.length=this._offsets[this._offsets.length-1]}get byteLength(){return this._byteLength===-1&&(this._byteLength=this.data.reduce((e,r)=>e+r.byteLength,0)),this._byteLength}get nullCount(){return this._nullCount===-1&&(this._nullCount=Zk(this.data)),this._nullCount}get ArrayType(){return this.type.ArrayType}get[Symbol.toStringTag](){return`${this.VectorName}<${this.type[Symbol.toStringTag]}>`}get VectorName(){return`${Jn[this.type.typeId]}Vector`}isValid(e){return!1}get(e){return null}set(e,r){}indexOf(e,r){return-1}includes(e,r){return this.indexOf(e,r)>0}getByteLength(e){return 0}[Symbol.iterator](){return C2.visit(this)}concat(...e){return new Ta(this.data.concat(e.flatMap(r=>r.data).flat(Number.POSITIVE_INFINITY)))}slice(e,r){return new Ta(Yk(this,e,r,({data:C,_offsets:D},T,p)=>Kk(C,D,T,p)))}toJSON(){return[...this]}toArray(){const{type:e,data:r,length:C,stride:D,ArrayType:T}=this;switch(e.typeId){case Jn.Int:case Jn.Float:case Jn.Decimal:case Jn.Time:case Jn.Timestamp:switch(r.length){case 0:return new T;case 1:return r[0].values.subarray(0,C*D);default:return r.reduce((p,{values:t,length:d})=>(p.array.set(t.subarray(0,d*D),p.offset),p.offset+=d*D,p),{array:new T(C*D),offset:0}).array}}return[...this]}toString(){return`[${[...this].join(",")}]`}getChild(e){var r;return this.getChildAt((r=this.type.children)===null||r===void 0?void 0:r.findIndex(C=>C.name===e))}getChildAt(e){return e>-1&&er[e])):null}get isMemoized(){return _i.isDictionary(this.type)?this.data[0].dictionary.isMemoized:!1}memoize(){if(_i.isDictionary(this.type)){const e=new Yv(this.data[0].dictionary),r=this.data.map(C=>{const D=C.clone();return D.dictionary=e,D});return new Ta(r)}return new Yv(this)}unmemoize(){if(_i.isDictionary(this.type)&&this.isMemoized){const e=this.data[0].dictionary.unmemoize(),r=this.data.map(C=>{const D=C.clone();return D.dictionary=e,D});return new Ta(r)}return this}}rM=Symbol.toStringTag;Ta[rM]=(n=>{n.type=_i.prototype,n.data=[],n.length=0,n.stride=1,n.numChildren=0,n._nullCount=-1,n._byteLength=-1,n._offsets=new Uint32Array([0]),n[Symbol.isConcatSpreadable]=!0;const e=Object.keys(Jn).map(r=>Jn[r]).filter(r=>typeof r=="number"&&r!==Jn.NONE);for(const r of e){const C=Xl.getVisitFnByTypeId(r),D=nc.getVisitFnByTypeId(r),T=Wv.getVisitFnByTypeId(r),p=_h.getVisitFnByTypeId(r);iM[r]={get:C,set:D,indexOf:T,byteLength:p},aM[r]=Object.create(n,{isValid:{value:Wp(S2)},get:{value:Wp(Xl.getVisitFnByTypeId(r))},set:{value:Jk(nc.getVisitFnByTypeId(r))},indexOf:{value:Qk(Wv.getVisitFnByTypeId(r))},getByteLength:{value:Wp(_h.getVisitFnByTypeId(r))}})}return"Vector"})(Ta.prototype);class Yv extends Ta{constructor(e){super(e.data);const r=this.get,C=this.set,D=this.slice,T=new Array(this.length);Object.defineProperty(this,"get",{value(p){const t=T[p];if(t!==void 0)return t;const d=r.call(this,p);return T[p]=d,d}}),Object.defineProperty(this,"set",{value(p,t){C.call(this,p,t),T[p]=t}}),Object.defineProperty(this,"slice",{value:(p,t)=>new Yv(D.call(this,p,t))}),Object.defineProperty(this,"isMemoized",{value:!0}),Object.defineProperty(this,"unmemoize",{value:()=>new Ta(this.data)}),Object.defineProperty(this,"memoize",{value:()=>this})}}class Wb{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}offset(){return this.bb.readInt64(this.bb_pos)}metaDataLength(){return this.bb.readInt32(this.bb_pos+8)}bodyLength(){return this.bb.readInt64(this.bb_pos+16)}static sizeOf(){return 24}static createBlock(e,r,C,D){return e.prep(8,24),e.writeInt64(D),e.pad(4),e.writeInt32(C),e.writeInt64(r),e.offset()}}const hb=2,uh=4,$h=4,Wa=4,Pf=new Int32Array(2),n5=new Float32Array(Pf.buffer),r5=new Float64Array(Pf.buffer),av=new Uint16Array(new Uint8Array([1,0]).buffer)[0]===1;let Jh=class Yb{constructor(e,r){this.low=e|0,this.high=r|0}static create(e,r){return e==0&&r==0?Yb.ZERO:new Yb(e,r)}toFloat64(){return(this.low>>>0)+this.high*4294967296}equals(e){return this.low==e.low&&this.high==e.high}};Jh.ZERO=new Jh(0,0);var $b;(function(n){n[n.UTF8_BYTES=1]="UTF8_BYTES",n[n.UTF16_STRING=2]="UTF16_STRING"})($b||($b={}));let Jp=class oM{constructor(e){this.bytes_=e,this.position_=0}static allocate(e){return new oM(new Uint8Array(e))}clear(){this.position_=0}bytes(){return this.bytes_}position(){return this.position_}setPosition(e){this.position_=e}capacity(){return this.bytes_.length}readInt8(e){return this.readUint8(e)<<24>>24}readUint8(e){return this.bytes_[e]}readInt16(e){return this.readUint16(e)<<16>>16}readUint16(e){return this.bytes_[e]|this.bytes_[e+1]<<8}readInt32(e){return this.bytes_[e]|this.bytes_[e+1]<<8|this.bytes_[e+2]<<16|this.bytes_[e+3]<<24}readUint32(e){return this.readInt32(e)>>>0}readInt64(e){return new Jh(this.readInt32(e),this.readInt32(e+4))}readUint64(e){return new Jh(this.readUint32(e),this.readUint32(e+4))}readFloat32(e){return Pf[0]=this.readInt32(e),n5[0]}readFloat64(e){return Pf[av?0:1]=this.readInt32(e),Pf[av?1:0]=this.readInt32(e+4),r5[0]}writeInt8(e,r){this.bytes_[e]=r}writeUint8(e,r){this.bytes_[e]=r}writeInt16(e,r){this.bytes_[e]=r,this.bytes_[e+1]=r>>8}writeUint16(e,r){this.bytes_[e]=r,this.bytes_[e+1]=r>>8}writeInt32(e,r){this.bytes_[e]=r,this.bytes_[e+1]=r>>8,this.bytes_[e+2]=r>>16,this.bytes_[e+3]=r>>24}writeUint32(e,r){this.bytes_[e]=r,this.bytes_[e+1]=r>>8,this.bytes_[e+2]=r>>16,this.bytes_[e+3]=r>>24}writeInt64(e,r){this.writeInt32(e,r.low),this.writeInt32(e+4,r.high)}writeUint64(e,r){this.writeUint32(e,r.low),this.writeUint32(e+4,r.high)}writeFloat32(e,r){n5[0]=r,this.writeInt32(e,Pf[0])}writeFloat64(e,r){r5[0]=r,this.writeInt32(e,Pf[av?0:1]),this.writeInt32(e+4,Pf[av?1:0])}getBufferIdentifier(){if(this.bytes_.length>10)+55296,(p&1024-1)+56320))}return D}__union_with_string(e,r){return typeof e=="string"?this.__string(r):this.__union(e,r)}__indirect(e){return e+this.readInt32(e)}__vector(e){return e+this.readInt32(e)+uh}__vector_len(e){return this.readInt32(e+this.readInt32(e))}__has_identifier(e){if(e.length!=$h)throw new Error("FlatBuffers: file identifier must be length "+$h);for(let r=0;r<$h;r++)if(e.charCodeAt(r)!=this.readInt8(this.position()+uh+r))return!1;return!0}createLong(e,r){return Jh.create(e,r)}createScalarList(e,r){const C=[];for(let D=0;Dthis.minalign&&(this.minalign=e);const C=~(this.bb.capacity()-this.space+r)+1&e-1;for(;this.space=0&&this.vtable[r]==0;r--);const C=r+1;for(;r>=0;r--)this.addInt16(this.vtable[r]!=0?e-this.vtable[r]:0);const D=2;this.addInt16(e-this.object_start);const T=(C+D)*hb;this.addInt16(T);let p=0;const t=this.space;e:for(r=0;r=0;p--)this.writeInt8(T.charCodeAt(p))}this.prep(this.minalign,uh+D),this.addOffset(e),D&&this.addInt32(this.bb.capacity()-this.space),this.bb.setPosition(this.space)}finishSizePrefixed(e,r){this.finish(e,r,!0)}requiredField(e,r){const C=this.bb.capacity()-e,D=C-this.bb.readInt32(C);if(!(this.bb.readInt16(D+r)!=0))throw new Error("FlatBuffers: field "+r+" must be set")}startVector(e,r,C){this.notNested(),this.vector_num_elems=r,this.prep(uh,e*r),this.prep(C,e*r)}endVector(){return this.writeInt32(this.vector_num_elems),this.offset()}createSharedString(e){if(!e)return 0;if(this.string_maps||(this.string_maps=new Map),this.string_maps.has(e))return this.string_maps.get(e);const r=this.createString(e);return this.string_maps.set(e,r),r}createString(e){if(!e)return 0;let r;if(e instanceof Uint8Array)r=e;else{r=[];let C=0;for(;C=56320)D=T;else{const p=e.charCodeAt(C++);D=(T<<10)+p+(65536-56623104-56320)}D<128?r.push(D):(D<2048?r.push(D>>6&31|192):(D<65536?r.push(D>>12&15|224):r.push(D>>18&7|240,D>>12&63|128),r.push(D>>6&63|128)),r.push(D&63|128))}}this.addInt8(0),this.startVector(1,r.length,1),this.bb.setPosition(this.space-=r.length);for(let C=0,D=this.space,T=this.bb.bytes();C=0;C--)e.addInt32(r[C]);return e.endVector()}static startTypeIdsVector(e,r){e.startVector(4,r,4)}static endUnion(e){return e.endObject()}static createUnion(e,r,C){return Gl.startUnion(e),Gl.addMode(e,r),Gl.addTypeIds(e,C),Gl.endUnion(e)}}class Pd{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsUtf8(e,r){return(r||new Pd).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsUtf8(e,r){return e.setPosition(e.position()+Wa),(r||new Pd).__init(e.readInt32(e.position())+e.position(),e)}static startUtf8(e){e.startObject(0)}static endUtf8(e){return e.endObject()}static createUtf8(e){return Pd.startUtf8(e),Pd.endUtf8(e)}}var Ao;(function(n){n[n.NONE=0]="NONE",n[n.Null=1]="Null",n[n.Int=2]="Int",n[n.FloatingPoint=3]="FloatingPoint",n[n.Binary=4]="Binary",n[n.Utf8=5]="Utf8",n[n.Bool=6]="Bool",n[n.Decimal=7]="Decimal",n[n.Date=8]="Date",n[n.Time=9]="Time",n[n.Timestamp=10]="Timestamp",n[n.Interval=11]="Interval",n[n.List=12]="List",n[n.Struct_=13]="Struct_",n[n.Union=14]="Union",n[n.FixedSizeBinary=15]="FixedSizeBinary",n[n.FixedSizeList=16]="FixedSizeList",n[n.Map=17]="Map",n[n.Duration=18]="Duration",n[n.LargeBinary=19]="LargeBinary",n[n.LargeUtf8=20]="LargeUtf8",n[n.LargeList=21]="LargeList"})(Ao||(Ao={}));let qu=class yv{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsField(e,r){return(r||new yv).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsField(e,r){return e.setPosition(e.position()+Wa),(r||new yv).__init(e.readInt32(e.position())+e.position(),e)}name(e){const r=this.bb.__offset(this.bb_pos,4);return r?this.bb.__string(this.bb_pos+r,e):null}nullable(){const e=this.bb.__offset(this.bb_pos,6);return e?!!this.bb.readInt8(this.bb_pos+e):!1}typeType(){const e=this.bb.__offset(this.bb_pos,8);return e?this.bb.readUint8(this.bb_pos+e):Ao.NONE}type(e){const r=this.bb.__offset(this.bb_pos,10);return r?this.bb.__union(e,this.bb_pos+r):null}dictionary(e){const r=this.bb.__offset(this.bb_pos,12);return r?(e||new Zh).__init(this.bb.__indirect(this.bb_pos+r),this.bb):null}children(e,r){const C=this.bb.__offset(this.bb_pos,14);return C?(r||new yv).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+C)+e*4),this.bb):null}childrenLength(){const e=this.bb.__offset(this.bb_pos,14);return e?this.bb.__vector_len(this.bb_pos+e):0}customMetadata(e,r){const C=this.bb.__offset(this.bb_pos,16);return C?(r||new cs).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+C)+e*4),this.bb):null}customMetadataLength(){const e=this.bb.__offset(this.bb_pos,16);return e?this.bb.__vector_len(this.bb_pos+e):0}static startField(e){e.startObject(7)}static addName(e,r){e.addFieldOffset(0,r,0)}static addNullable(e,r){e.addFieldInt8(1,+r,0)}static addTypeType(e,r){e.addFieldInt8(2,r,Ao.NONE)}static addType(e,r){e.addFieldOffset(3,r,0)}static addDictionary(e,r){e.addFieldOffset(4,r,0)}static addChildren(e,r){e.addFieldOffset(5,r,0)}static createChildrenVector(e,r){e.startVector(4,r.length,4);for(let C=r.length-1;C>=0;C--)e.addOffset(r[C]);return e.endVector()}static startChildrenVector(e,r){e.startVector(4,r,4)}static addCustomMetadata(e,r){e.addFieldOffset(6,r,0)}static createCustomMetadataVector(e,r){e.startVector(4,r.length,4);for(let C=r.length-1;C>=0;C--)e.addOffset(r[C]);return e.endVector()}static startCustomMetadataVector(e,r){e.startVector(4,r,4)}static endField(e){return e.endObject()}},ih=class Hh{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsSchema(e,r){return(r||new Hh).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsSchema(e,r){return e.setPosition(e.position()+Wa),(r||new Hh).__init(e.readInt32(e.position())+e.position(),e)}endianness(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):e0.Little}fields(e,r){const C=this.bb.__offset(this.bb_pos,6);return C?(r||new qu).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+C)+e*4),this.bb):null}fieldsLength(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.__vector_len(this.bb_pos+e):0}customMetadata(e,r){const C=this.bb.__offset(this.bb_pos,8);return C?(r||new cs).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+C)+e*4),this.bb):null}customMetadataLength(){const e=this.bb.__offset(this.bb_pos,8);return e?this.bb.__vector_len(this.bb_pos+e):0}features(e){const r=this.bb.__offset(this.bb_pos,10);return r?this.bb.readInt64(this.bb.__vector(this.bb_pos+r)+e*8):this.bb.createLong(0,0)}featuresLength(){const e=this.bb.__offset(this.bb_pos,10);return e?this.bb.__vector_len(this.bb_pos+e):0}static startSchema(e){e.startObject(4)}static addEndianness(e,r){e.addFieldInt16(0,r,e0.Little)}static addFields(e,r){e.addFieldOffset(1,r,0)}static createFieldsVector(e,r){e.startVector(4,r.length,4);for(let C=r.length-1;C>=0;C--)e.addOffset(r[C]);return e.endVector()}static startFieldsVector(e,r){e.startVector(4,r,4)}static addCustomMetadata(e,r){e.addFieldOffset(2,r,0)}static createCustomMetadataVector(e,r){e.startVector(4,r.length,4);for(let C=r.length-1;C>=0;C--)e.addOffset(r[C]);return e.endVector()}static startCustomMetadataVector(e,r){e.startVector(4,r,4)}static addFeatures(e,r){e.addFieldOffset(3,r,0)}static createFeaturesVector(e,r){e.startVector(8,r.length,8);for(let C=r.length-1;C>=0;C--)e.addInt64(r[C]);return e.endVector()}static startFeaturesVector(e,r){e.startVector(8,r,8)}static endSchema(e){return e.endObject()}static finishSchemaBuffer(e,r){e.finish(r)}static finishSizePrefixedSchemaBuffer(e,r){e.finish(r,void 0,!0)}static createSchema(e,r,C,D,T){return Hh.startSchema(e),Hh.addEndianness(e,r),Hh.addFields(e,C),Hh.addCustomMetadata(e,D),Hh.addFeatures(e,T),Hh.endSchema(e)}};class fu{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsFooter(e,r){return(r||new fu).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsFooter(e,r){return e.setPosition(e.position()+Wa),(r||new fu).__init(e.readInt32(e.position())+e.position(),e)}version(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):Qp.V1}schema(e){const r=this.bb.__offset(this.bb_pos,6);return r?(e||new ih).__init(this.bb.__indirect(this.bb_pos+r),this.bb):null}dictionaries(e,r){const C=this.bb.__offset(this.bb_pos,8);return C?(r||new Wb).__init(this.bb.__vector(this.bb_pos+C)+e*24,this.bb):null}dictionariesLength(){const e=this.bb.__offset(this.bb_pos,8);return e?this.bb.__vector_len(this.bb_pos+e):0}recordBatches(e,r){const C=this.bb.__offset(this.bb_pos,10);return C?(r||new Wb).__init(this.bb.__vector(this.bb_pos+C)+e*24,this.bb):null}recordBatchesLength(){const e=this.bb.__offset(this.bb_pos,10);return e?this.bb.__vector_len(this.bb_pos+e):0}customMetadata(e,r){const C=this.bb.__offset(this.bb_pos,12);return C?(r||new cs).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+C)+e*4),this.bb):null}customMetadataLength(){const e=this.bb.__offset(this.bb_pos,12);return e?this.bb.__vector_len(this.bb_pos+e):0}static startFooter(e){e.startObject(5)}static addVersion(e,r){e.addFieldInt16(0,r,Qp.V1)}static addSchema(e,r){e.addFieldOffset(1,r,0)}static addDictionaries(e,r){e.addFieldOffset(2,r,0)}static startDictionariesVector(e,r){e.startVector(24,r,8)}static addRecordBatches(e,r){e.addFieldOffset(3,r,0)}static startRecordBatchesVector(e,r){e.startVector(24,r,8)}static addCustomMetadata(e,r){e.addFieldOffset(4,r,0)}static createCustomMetadataVector(e,r){e.startVector(4,r.length,4);for(let C=r.length-1;C>=0;C--)e.addOffset(r[C]);return e.endVector()}static startCustomMetadataVector(e,r){e.startVector(4,r,4)}static endFooter(e){return e.endObject()}static finishFooterBuffer(e,r){e.finish(r)}static finishSizePrefixedFooterBuffer(e,r){e.finish(r,void 0,!0)}}class Ea{constructor(e=[],r,C){this.fields=e||[],this.metadata=r||new Map,C||(C=Zb(e)),this.dictionaries=C}get[Symbol.toStringTag](){return"Schema"}get names(){return this.fields.map(e=>e.name)}toString(){return`Schema<{ ${this.fields.map((e,r)=>`${r}: ${e}`).join(", ")} }>`}select(e){const r=new Set(e),C=this.fields.filter(D=>r.has(D.name));return new Ea(C,this.metadata)}selectAt(e){const r=e.map(C=>this.fields[C]).filter(Boolean);return new Ea(r,this.metadata)}assign(...e){const r=e[0]instanceof Ea?e[0]:Array.isArray(e[0])?new Ea(e[0]):new Ea(e),C=[...this.fields],D=ov(ov(new Map,this.metadata),r.metadata),T=r.fields.filter(t=>{const d=C.findIndex(g=>g.name===t.name);return~d?(C[d]=t.clone({metadata:ov(ov(new Map,C[d].metadata),t.metadata)}))&&!1:!0}),p=Zb(T,new Map);return new Ea([...C,...T],D,new Map([...this.dictionaries,...p]))}}Ea.prototype.fields=null;Ea.prototype.metadata=null;Ea.prototype.dictionaries=null;class ao{constructor(e,r,C=!1,D){this.name=e,this.type=r,this.nullable=C,this.metadata=D||new Map}static new(...e){let[r,C,D,T]=e;return e[0]&&typeof e[0]=="object"&&({name:r}=e[0],C===void 0&&(C=e[0].type),D===void 0&&(D=e[0].nullable),T===void 0&&(T=e[0].metadata)),new ao(`${r}`,C,D,T)}get typeId(){return this.type.typeId}get[Symbol.toStringTag](){return"Field"}toString(){return`${this.name}: ${this.type}`}clone(...e){let[r,C,D,T]=e;return!e[0]||typeof e[0]!="object"?[r=this.name,C=this.type,D=this.nullable,T=this.metadata]=e:{name:r=this.name,type:C=this.type,nullable:D=this.nullable,metadata:T=this.metadata}=e[0],ao.new(r,C,D,T)}}ao.prototype.type=null;ao.prototype.name=null;ao.prototype.nullable=null;ao.prototype.metadata=null;function ov(n,e){return new Map([...n||new Map,...e||new Map])}function Zb(n,e=new Map){for(let r=-1,C=n.length;++r0&&Zb(T.children,e)}return e}var i5=Jh,eI=sM,tI=Jp;class Pm{constructor(e,r=gu.V4,C,D){this.schema=e,this.version=r,C&&(this._recordBatches=C),D&&(this._dictionaryBatches=D)}static decode(e){e=new tI(_a(e));const r=fu.getRootAsFooter(e),C=Ea.decode(r.schema());return new nI(C,r)}static encode(e){const r=new eI,C=Ea.encode(r,e.schema);fu.startRecordBatchesVector(r,e.numRecordBatches);for(const p of[...e.recordBatches()].slice().reverse())Wf.encode(r,p);const D=r.endVector();fu.startDictionariesVector(r,e.numDictionaries);for(const p of[...e.dictionaryBatches()].slice().reverse())Wf.encode(r,p);const T=r.endVector();return fu.startFooter(r),fu.addSchema(r,C),fu.addVersion(r,gu.V4),fu.addRecordBatches(r,D),fu.addDictionaries(r,T),fu.finishFooterBuffer(r,fu.endFooter(r)),r.asUint8Array()}get numRecordBatches(){return this._recordBatches.length}get numDictionaries(){return this._dictionaryBatches.length}*recordBatches(){for(let e,r=-1,C=this.numRecordBatches;++r=0&&e=0&&e=0&&e=0&&ethis._closedPromiseResolve=e)}get closed(){return this._closedPromise}cancel(e){return yi(this,void 0,void 0,function*(){yield this.return(e)})}write(e){this._ensureOpen()&&(this.resolvers.length<=0?this._values.push(e):this.resolvers.shift().resolve({done:!1,value:e}))}abort(e){this._closedPromiseResolve&&(this.resolvers.length<=0?this._error={error:e}:this.resolvers.shift().reject({done:!0,value:e}))}close(){if(this._closedPromiseResolve){const{resolvers:e}=this;for(;e.length>0;)e.shift().resolve(So);this._closedPromiseResolve(),this._closedPromiseResolve=void 0}}[Symbol.asyncIterator](){return this}toDOMStream(e){return $u.toDOMStream(this._closedPromiseResolve||this._error?this:this._values,e)}toNodeStream(e){return $u.toNodeStream(this._closedPromiseResolve||this._error?this:this._values,e)}throw(e){return yi(this,void 0,void 0,function*(){return yield this.abort(e),So})}return(e){return yi(this,void 0,void 0,function*(){return yield this.close(),So})}read(e){return yi(this,void 0,void 0,function*(){return(yield this.next(e,"read")).value})}peek(e){return yi(this,void 0,void 0,function*(){return(yield this.next(e,"peek")).value})}next(...e){return this._values.length>0?Promise.resolve({done:!1,value:this._values.shift()}):this._error?Promise.reject({done:!0,value:this._error.error}):this._closedPromiseResolve?new Promise((r,C)=>{this.resolvers.push({resolve:r,reject:C})}):Promise.resolve(So)}_ensureOpen(){if(this._closedPromiseResolve)return!0;throw new Error("AsyncQueue is closed")}}class bv extends rI{write(e){if((e=_a(e)).byteLength>0)return super.write(e)}toString(e=!1){return e?jb(this.toUint8Array(!0)):this.toUint8Array(!1).then(jb)}toUint8Array(e=!1){return e?xh(this._values)[0]:(()=>yi(this,void 0,void 0,function*(){var r,C;const D=[];let T=0;try{for(var p=Nd(this),t;t=yield p.next(),!t.done;){const d=t.value;D.push(d),T+=d.byteLength}}catch(d){r={error:d}}finally{try{t&&!t.done&&(C=p.return)&&(yield C.call(p))}finally{if(r)throw r.error}}return xh(D,T)[0]}))()}}class Qv{constructor(e){e&&(this.source=new iI($u.fromIterable(e)))}[Symbol.iterator](){return this}next(e){return this.source.next(e)}throw(e){return this.source.throw(e)}return(e){return this.source.return(e)}peek(e){return this.source.peek(e)}read(e){return this.source.read(e)}}class n0{constructor(e){e instanceof n0?this.source=e.source:e instanceof bv?this.source=new xd($u.fromAsyncIterable(e)):G4(e)?this.source=new xd($u.fromNodeStream(e)):m2(e)?this.source=new xd($u.fromDOMStream(e)):H4(e)?this.source=new xd($u.fromDOMStream(e.body)):Zm(e)?this.source=new xd($u.fromIterable(e)):Uf(e)?this.source=new xd($u.fromAsyncIterable(e)):g0(e)&&(this.source=new xd($u.fromAsyncIterable(e)))}[Symbol.asyncIterator](){return this}next(e){return this.source.next(e)}throw(e){return this.source.throw(e)}return(e){return this.source.return(e)}get closed(){return this.source.closed}cancel(e){return this.source.cancel(e)}peek(e){return this.source.peek(e)}read(e){return this.source.read(e)}}class iI{constructor(e){this.source=e}cancel(e){this.return(e)}peek(e){return this.next(e,"peek").value}read(e){return this.next(e,"read").value}next(e,r="read"){return this.source.next({cmd:r,size:e})}throw(e){return Object.create(this.source.throw&&this.source.throw(e)||So)}return(e){return Object.create(this.source.return&&this.source.return(e)||So)}}class xd{constructor(e){this.source=e,this._closedPromise=new Promise(r=>this._closedPromiseResolve=r)}cancel(e){return yi(this,void 0,void 0,function*(){yield this.return(e)})}get closed(){return this._closedPromise}read(e){return yi(this,void 0,void 0,function*(){return(yield this.next(e,"read")).value})}peek(e){return yi(this,void 0,void 0,function*(){return(yield this.next(e,"peek")).value})}next(e,r="read"){return yi(this,void 0,void 0,function*(){return yield this.source.next({cmd:r,size:e})})}throw(e){return yi(this,void 0,void 0,function*(){const r=this.source.throw&&(yield this.source.throw(e))||So;return this._closedPromiseResolve&&this._closedPromiseResolve(),this._closedPromiseResolve=void 0,Object.create(r)})}return(e){return yi(this,void 0,void 0,function*(){const r=this.source.return&&(yield this.source.return(e))||So;return this._closedPromiseResolve&&this._closedPromiseResolve(),this._closedPromiseResolve=void 0,Object.create(r)})}}class o5 extends Qv{constructor(e,r){super(),this.position=0,this.buffer=_a(e),this.size=typeof r>"u"?this.buffer.byteLength:r}readInt32(e){const{buffer:r,byteOffset:C}=this.readAt(e,4);return new DataView(r,C).getInt32(0,!0)}seek(e){return this.position=Math.min(e,this.size),eyi(this,void 0,void 0,function*(){this.size=(yield e.stat()).size,delete this._pending}))()}readInt32(e){return yi(this,void 0,void 0,function*(){const{buffer:r,byteOffset:C}=yield this.readAt(e,4);return new DataView(r,C).getInt32(0,!0)})}seek(e){return yi(this,void 0,void 0,function*(){return this._pending&&(yield this._pending),this.position=Math.min(e,this.size),e>>16,this.buffer[1]&65535,this.buffer[0]>>>16,this.buffer[0]&65535]),C=new Uint32Array([e.buffer[1]>>>16,e.buffer[1]&65535,e.buffer[0]>>>16,e.buffer[0]&65535]);let D=r[3]*C[3];this.buffer[0]=D&65535;let T=D>>>16;return D=r[2]*C[3],T+=D,D=r[3]*C[2]>>>0,T+=D,this.buffer[0]+=T<<16,this.buffer[1]=T>>>0>>16,this.buffer[1]+=r[1]*C[3]+r[2]*C[2]+r[3]*C[1],this.buffer[1]+=r[0]*C[3]+r[1]*C[2]+r[2]*C[1]+r[3]*C[0]<<16,this}_plus(e){const r=this.buffer[0]+e.buffer[0]>>>0;this.buffer[1]+=e.buffer[1],r>>0&&++this.buffer[1],this.buffer[0]=r}lessThan(e){return this.buffer[1]>>0,r[2]=this.buffer[2]+e.buffer[2]>>>0,r[1]=this.buffer[1]+e.buffer[1]>>>0,r[0]=this.buffer[0]+e.buffer[0]>>>0,r[0]>>0&&++r[1],r[1]>>0&&++r[2],r[2]>>0&&++r[3],this.buffer[3]=r[3],this.buffer[2]=r[2],this.buffer[1]=r[1],this.buffer[0]=r[0],this}hex(){return`${zp(this.buffer[3])} ${zp(this.buffer[2])} ${zp(this.buffer[1])} ${zp(this.buffer[0])}`}static multiply(e,r){return new ah(new Uint32Array(e.buffer)).times(r)}static add(e,r){return new ah(new Uint32Array(e.buffer)).plus(r)}static from(e,r=new Uint32Array(4)){return ah.fromString(typeof e=="string"?e:e.toString(),r)}static fromNumber(e,r=new Uint32Array(4)){return ah.fromString(e.toString(),r)}static fromString(e,r=new Uint32Array(4)){const C=e.startsWith("-"),D=e.length,T=new ah(r);for(let p=C?1:0;p0&&this.readData(e,C)||new Uint8Array(0)}readOffsets(e,r){return this.readData(e,r)}readTypeIds(e,r){return this.readData(e,r)}readData(e,{length:r,offset:C}=this.nextBufferRange()){return this.bytes.subarray(C,C+r)}readDictionary(e){return this.dictionaries.get(e.id)}}class oI extends cM{constructor(e,r,C,D){super(new Uint8Array(0),r,C,D),this.sources=e}readNullBitmap(e,r,{offset:C}=this.nextBufferRange()){return r<=0?new Uint8Array(0):qv(this.sources[C])}readOffsets(e,{offset:r}=this.nextBufferRange()){return qa(Uint8Array,qa(Int32Array,this.sources[r]))}readTypeIds(e,{offset:r}=this.nextBufferRange()){return qa(Uint8Array,qa(e.ArrayType,this.sources[r]))}readData(e,{offset:r}=this.nextBufferRange()){const{sources:C}=this;return _i.isTimestamp(e)||(_i.isInt(e)||_i.isTime(e))&&e.bitWidth===64||_i.isDate(e)&&e.unit===nf.MILLISECOND?qa(Uint8Array,Vl.convertArray(C[r])):_i.isDecimal(e)?qa(Uint8Array,ah.convertArray(C[r])):_i.isBinary(e)||_i.isFixedSizeBinary(e)?sI(C[r]):_i.isBool(e)?qv(C[r]):_i.isUtf8(e)?p2(C[r].join("")):qa(Uint8Array,qa(e.ArrayType,C[r].map(D=>+D)))}}function sI(n){const e=n.join(""),r=new Uint8Array(e.length/2);for(let C=0;C>1]=Number.parseInt(e.slice(C,C+2),16);return r}class Ai extends aa{compareSchemas(e,r){return e===r||r instanceof e.constructor&&this.compareManyFields(e.fields,r.fields)}compareManyFields(e,r){return e===r||Array.isArray(e)&&Array.isArray(r)&&e.length===r.length&&e.every((C,D)=>this.compareFields(C,r[D]))}compareFields(e,r){return e===r||r instanceof e.constructor&&e.name===r.name&&e.nullable===r.nullable&&this.visit(e.type,r.type)}}function Kl(n,e){return e instanceof n.constructor}function Xm(n,e){return n===e||Kl(n,e)}function hf(n,e){return n===e||Kl(n,e)&&n.bitWidth===e.bitWidth&&n.isSigned===e.isSigned}function Gy(n,e){return n===e||Kl(n,e)&&n.precision===e.precision}function lI(n,e){return n===e||Kl(n,e)&&n.byteWidth===e.byteWidth}function I2(n,e){return n===e||Kl(n,e)&&n.unit===e.unit}function Km(n,e){return n===e||Kl(n,e)&&n.unit===e.unit&&n.timezone===e.timezone}function Jm(n,e){return n===e||Kl(n,e)&&n.unit===e.unit&&n.bitWidth===e.bitWidth}function uI(n,e){return n===e||Kl(n,e)&&n.children.length===e.children.length&&Yf.compareManyFields(n.children,e.children)}function cI(n,e){return n===e||Kl(n,e)&&n.children.length===e.children.length&&Yf.compareManyFields(n.children,e.children)}function R2(n,e){return n===e||Kl(n,e)&&n.mode===e.mode&&n.typeIds.every((r,C)=>r===e.typeIds[C])&&Yf.compareManyFields(n.children,e.children)}function hI(n,e){return n===e||Kl(n,e)&&n.id===e.id&&n.isOrdered===e.isOrdered&&Yf.visit(n.indices,e.indices)&&Yf.visit(n.dictionary,e.dictionary)}function P2(n,e){return n===e||Kl(n,e)&&n.unit===e.unit}function fI(n,e){return n===e||Kl(n,e)&&n.listSize===e.listSize&&n.children.length===e.children.length&&Yf.compareManyFields(n.children,e.children)}function dI(n,e){return n===e||Kl(n,e)&&n.keysSorted===e.keysSorted&&n.children.length===e.children.length&&Yf.compareManyFields(n.children,e.children)}Ai.prototype.visitNull=Xm;Ai.prototype.visitBool=Xm;Ai.prototype.visitInt=hf;Ai.prototype.visitInt8=hf;Ai.prototype.visitInt16=hf;Ai.prototype.visitInt32=hf;Ai.prototype.visitInt64=hf;Ai.prototype.visitUint8=hf;Ai.prototype.visitUint16=hf;Ai.prototype.visitUint32=hf;Ai.prototype.visitUint64=hf;Ai.prototype.visitFloat=Gy;Ai.prototype.visitFloat16=Gy;Ai.prototype.visitFloat32=Gy;Ai.prototype.visitFloat64=Gy;Ai.prototype.visitUtf8=Xm;Ai.prototype.visitBinary=Xm;Ai.prototype.visitFixedSizeBinary=lI;Ai.prototype.visitDate=I2;Ai.prototype.visitDateDay=I2;Ai.prototype.visitDateMillisecond=I2;Ai.prototype.visitTimestamp=Km;Ai.prototype.visitTimestampSecond=Km;Ai.prototype.visitTimestampMillisecond=Km;Ai.prototype.visitTimestampMicrosecond=Km;Ai.prototype.visitTimestampNanosecond=Km;Ai.prototype.visitTime=Jm;Ai.prototype.visitTimeSecond=Jm;Ai.prototype.visitTimeMillisecond=Jm;Ai.prototype.visitTimeMicrosecond=Jm;Ai.prototype.visitTimeNanosecond=Jm;Ai.prototype.visitDecimal=Xm;Ai.prototype.visitList=uI;Ai.prototype.visitStruct=cI;Ai.prototype.visitUnion=R2;Ai.prototype.visitDenseUnion=R2;Ai.prototype.visitSparseUnion=R2;Ai.prototype.visitDictionary=hI;Ai.prototype.visitInterval=P2;Ai.prototype.visitIntervalDayTime=P2;Ai.prototype.visitIntervalYearMonth=P2;Ai.prototype.visitFixedSizeList=fI;Ai.prototype.visitMap=dI;const Yf=new Ai;function Xb(n,e){return Yf.compareSchemas(n,e)}function fb(n,e){return pI(n,e.map(r=>r.data.concat()))}function pI(n,e){const r=[...n.fields],C=[],D={numBatches:e.reduce((M,v)=>Math.max(M,v.length),0)};let T=0,p=0,t=-1;const d=e.length;let g,i=[];for(;D.numBatches-- >0;){for(p=Number.POSITIVE_INFINITY,t=-1;++t0&&(C[T++]=ra({type:new bl(r),length:p,nullCount:0,children:i.slice()})))}return[n=n.assign(r),C.map(M=>new ql(n,M))]}function mI(n,e,r,C,D){var T;const p=(e+63&-64)>>3;for(let t=-1,d=C.length;++t=e)i===e?r[t]=g:(r[t]=g.slice(0,e),D.numBatches=Math.max(D.numBatches,C[t].unshift(g.slice(e,i-e))));else{const M=n[t];n[t]=M.clone({nullable:!0}),r[t]=(T=g==null?void 0:g._changeLengthAndBackfillNullBitmap(e))!==null&&T!==void 0?T:ra({type:M.type,length:e,nullCount:e,nullBitmap:new Uint8Array(p)})}}return r}var hM;class ml{constructor(...e){var r,C;if(e.length===0)return this.batches=[],this.schema=new Ea([]),this._offsets=[0],this;let D,T;e[0]instanceof Ea&&(D=e.shift()),e[e.length-1]instanceof Uint32Array&&(T=e.pop());const p=d=>{if(d){if(d instanceof ql)return[d];if(d instanceof ml)return d.batches;if(d instanceof Qa){if(d.type instanceof bl)return[new ql(new Ea(d.type.children),d)]}else{if(Array.isArray(d))return d.flatMap(g=>p(g));if(typeof d[Symbol.iterator]=="function")return[...d].flatMap(g=>p(g));if(typeof d=="object"){const g=Object.keys(d),i=g.map(f=>new Ta([d[f]])),M=new Ea(g.map((f,l)=>new ao(String(f),i[l].type))),[,v]=fb(M,i);return v.length===0?[new ql(d)]:v}}}return[]},t=e.flatMap(d=>p(d));if(D=(C=D??((r=t[0])===null||r===void 0?void 0:r.schema))!==null&&C!==void 0?C:new Ea([]),!(D instanceof Ea))throw new TypeError("Table constructor expects a [Schema, RecordBatch[]] pair.");for(const d of t){if(!(d instanceof ql))throw new TypeError("Table constructor expects a [Schema, RecordBatch[]] pair.");if(!Xb(D,d.schema))throw new TypeError("Table and inner RecordBatch schemas must be equivalent.")}this.schema=D,this.batches=t,this._offsets=T??Xk(this.data)}get data(){return this.batches.map(({data:e})=>e)}get numCols(){return this.schema.fields.length}get numRows(){return this.data.reduce((e,r)=>e+r.length,0)}get nullCount(){return this._nullCount===-1&&(this._nullCount=Zk(this.data)),this._nullCount}isValid(e){return!1}get(e){return null}set(e,r){}indexOf(e,r){return-1}getByteLength(e){return 0}[Symbol.iterator](){return this.batches.length>0?C2.visit(new Ta(this.data)):new Array(0)[Symbol.iterator]()}toArray(){return[...this]}toString(){return`[ - ${this.toArray().join(`, - `)} -]`}concat(...e){const r=this.schema,C=this.data.concat(e.flatMap(({data:D})=>D));return new ml(r,C.map(D=>new ql(r,D)))}slice(e,r){const C=this.schema;[e,r]=Yk({length:this.numRows},e,r);const D=Kk(this.data,this._offsets,e,r);return new ml(C,D.map(T=>new ql(C,T)))}getChild(e){return this.getChildAt(this.schema.fields.findIndex(r=>r.name===e))}getChildAt(e){if(e>-1&&eC.children[e]);if(r.length===0){const{type:C}=this.schema.fields[e],D=ra({type:C,length:0,nullCount:0});r.push(D._changeLengthAndBackfillNullBitmap(this.numRows))}return new Ta(r)}return null}setChild(e,r){var C;return this.setChildAt((C=this.schema.fields)===null||C===void 0?void 0:C.findIndex(D=>D.name===e),r)}setChildAt(e,r){let C=this.schema,D=[...this.batches];if(e>-1&&ethis.getChildAt(g));[T[e],t[e]]=[p,r],[C,D]=fb(C,t)}return new ml(C,D)}select(e){const r=this.schema.fields.reduce((C,D,T)=>C.set(D.name,T),new Map);return this.selectAt(e.map(C=>r.get(C)).filter(C=>C>-1))}selectAt(e){const r=this.schema.selectAt(e),C=this.batches.map(D=>D.selectAt(e));return new ml(r,C)}assign(e){const r=this.schema.fields,[C,D]=e.schema.fields.reduce((t,d,g)=>{const[i,M]=t,v=r.findIndex(f=>f.name===d.name);return~v?M[v]=g:i.push(g),t},[[],[]]),T=this.schema.assign(e.schema),p=[...r.map((t,d)=>[d,D[d]]).map(([t,d])=>d===void 0?this.getChildAt(t):e.getChildAt(d)),...C.map(t=>e.getChildAt(t))].filter(Boolean);return new ml(...fb(T,p))}}hM=Symbol.toStringTag;ml[hM]=(n=>(n.schema=null,n.batches=[],n._offsets=new Uint32Array([0]),n._nullCount=-1,n[Symbol.isConcatSpreadable]=!0,n.isValid=Wp(S2),n.get=Wp(Xl.getVisitFn(Jn.Struct)),n.set=Jk(nc.getVisitFn(Jn.Struct)),n.indexOf=Qk(Wv.getVisitFn(Jn.Struct)),n.getByteLength=Wp(_h.getVisitFn(Jn.Struct)),"Table"))(ml.prototype);var fM;let ql=class sm{constructor(...e){switch(e.length){case 2:{if([this.schema]=e,!(this.schema instanceof Ea))throw new TypeError("RecordBatch constructor expects a [Schema, Data] pair.");if([,this.data=ra({nullCount:0,type:new bl(this.schema.fields),children:this.schema.fields.map(r=>ra({type:r.type,nullCount:0}))})]=e,!(this.data instanceof Qa))throw new TypeError("RecordBatch constructor expects a [Schema, Data] pair.");[this.schema,this.data]=s5(this.schema,this.data.children);break}case 1:{const[r]=e,{fields:C,children:D,length:T}=Object.keys(r).reduce((d,g,i)=>(d.children[i]=r[g],d.length=Math.max(d.length,r[g].length),d.fields[i]=ao.new({name:g,type:r[g].type,nullable:!0}),d),{length:0,fields:new Array,children:new Array}),p=new Ea(C),t=ra({type:new bl(C),length:T,children:D,nullCount:0});[this.schema,this.data]=s5(p,t.children,T);break}default:throw new TypeError("RecordBatch constructor expects an Object mapping names to child Data, or a [Schema, Data] pair.")}}get dictionaries(){return this._dictionaries||(this._dictionaries=dM(this.schema.fields,this.data.children))}get numCols(){return this.schema.fields.length}get numRows(){return this.data.length}get nullCount(){return this.data.nullCount}isValid(e){return this.data.getValid(e)}get(e){return Xl.visit(this.data,e)}set(e,r){return nc.visit(this.data,e,r)}indexOf(e,r){return Wv.visit(this.data,e,r)}getByteLength(e){return _h.visit(this.data,e)}[Symbol.iterator](){return C2.visit(new Ta([this.data]))}toArray(){return[...this]}concat(...e){return new ml(this.schema,[this,...e])}slice(e,r){const[C]=new Ta([this.data]).slice(e,r).data;return new sm(this.schema,C)}getChild(e){var r;return this.getChildAt((r=this.schema.fields)===null||r===void 0?void 0:r.findIndex(C=>C.name===e))}getChildAt(e){return e>-1&&eD.name===e),r)}setChildAt(e,r){let C=this.schema,D=this.data;if(e>-1&&et.name===T);~p&&(D[p]=this.data.children[p])}return new sm(r,ra({type:C,length:this.numRows,children:D}))}selectAt(e){const r=this.schema.selectAt(e),C=e.map(T=>this.data.children[T]).filter(Boolean),D=ra({type:new bl(r.fields),length:this.numRows,children:C});return new sm(r,D)}};fM=Symbol.toStringTag;ql[fM]=(n=>(n._nullCount=-1,n[Symbol.isConcatSpreadable]=!0,"RecordBatch"))(ql.prototype);function s5(n,e,r=e.reduce((C,D)=>Math.max(C,D.length),0)){var C;const D=[...n.fields],T=[...e],p=(r+63&-64)>>3;for(const[t,d]of n.fields.entries()){const g=e[t];(!g||g.length!==r)&&(D[t]=d.clone({nullable:!0}),T[t]=(C=g==null?void 0:g._changeLengthAndBackfillNullBitmap(r))!==null&&C!==void 0?C:ra({type:d.type,length:r,nullCount:r,nullBitmap:new Uint8Array(p)}))}return[n.assign(D),ra({type:new bl(D),length:r,children:T})]}function dM(n,e,r=new Map){for(let C=-1,D=n.length;++C0&&dM(p.children,t.children,r)}return r}class O2 extends ql{constructor(e){const r=e.fields.map(D=>ra({type:D.type})),C=ra({type:new bl(e.fields),nullCount:0,children:r});super(e,C)}}var ty;(function(n){n[n.BUFFER=0]="BUFFER"})(ty||(ty={}));var ny;(function(n){n[n.LZ4_FRAME=0]="LZ4_FRAME",n[n.ZSTD=1]="ZSTD"})(ny||(ny={}));class Of{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsBodyCompression(e,r){return(r||new Of).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsBodyCompression(e,r){return e.setPosition(e.position()+Wa),(r||new Of).__init(e.readInt32(e.position())+e.position(),e)}codec(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt8(this.bb_pos+e):ny.LZ4_FRAME}method(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.readInt8(this.bb_pos+e):ty.BUFFER}static startBodyCompression(e){e.startObject(2)}static addCodec(e,r){e.addFieldInt8(0,r,ny.LZ4_FRAME)}static addMethod(e,r){e.addFieldInt8(1,r,ty.BUFFER)}static endBodyCompression(e){return e.endObject()}static createBodyCompression(e,r,C){return Of.startBodyCompression(e),Of.addCodec(e,r),Of.addMethod(e,C),Of.endBodyCompression(e)}}let pM=class{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}offset(){return this.bb.readInt64(this.bb_pos)}length(){return this.bb.readInt64(this.bb_pos+8)}static sizeOf(){return 16}static createBuffer(e,r,C){return e.prep(8,16),e.writeInt64(C),e.writeInt64(r),e.offset()}},mM=class{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}length(){return this.bb.readInt64(this.bb_pos)}nullCount(){return this.bb.readInt64(this.bb_pos+8)}static sizeOf(){return 16}static createFieldNode(e,r,C){return e.prep(8,16),e.writeInt64(C),e.writeInt64(r),e.offset()}},Yh=class Kb{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsRecordBatch(e,r){return(r||new Kb).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsRecordBatch(e,r){return e.setPosition(e.position()+Wa),(r||new Kb).__init(e.readInt32(e.position())+e.position(),e)}length(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt64(this.bb_pos+e):this.bb.createLong(0,0)}nodes(e,r){const C=this.bb.__offset(this.bb_pos,6);return C?(r||new mM).__init(this.bb.__vector(this.bb_pos+C)+e*16,this.bb):null}nodesLength(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.__vector_len(this.bb_pos+e):0}buffers(e,r){const C=this.bb.__offset(this.bb_pos,8);return C?(r||new pM).__init(this.bb.__vector(this.bb_pos+C)+e*16,this.bb):null}buffersLength(){const e=this.bb.__offset(this.bb_pos,8);return e?this.bb.__vector_len(this.bb_pos+e):0}compression(e){const r=this.bb.__offset(this.bb_pos,10);return r?(e||new Of).__init(this.bb.__indirect(this.bb_pos+r),this.bb):null}static startRecordBatch(e){e.startObject(4)}static addLength(e,r){e.addFieldInt64(0,r,e.createLong(0,0))}static addNodes(e,r){e.addFieldOffset(1,r,0)}static startNodesVector(e,r){e.startVector(16,r,8)}static addBuffers(e,r){e.addFieldOffset(2,r,0)}static startBuffersVector(e,r){e.startVector(16,r,8)}static addCompression(e,r){e.addFieldOffset(3,r,0)}static endRecordBatch(e){return e.endObject()}},Dp=class Jb{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsDictionaryBatch(e,r){return(r||new Jb).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsDictionaryBatch(e,r){return e.setPosition(e.position()+Wa),(r||new Jb).__init(e.readInt32(e.position())+e.position(),e)}id(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt64(this.bb_pos+e):this.bb.createLong(0,0)}data(e){const r=this.bb.__offset(this.bb_pos,6);return r?(e||new Yh).__init(this.bb.__indirect(this.bb_pos+r),this.bb):null}isDelta(){const e=this.bb.__offset(this.bb_pos,8);return e?!!this.bb.readInt8(this.bb_pos+e):!1}static startDictionaryBatch(e){e.startObject(3)}static addId(e,r){e.addFieldInt64(0,r,e.createLong(0,0))}static addData(e,r){e.addFieldOffset(1,r,0)}static addIsDelta(e,r){e.addFieldInt8(2,+r,0)}static endDictionaryBatch(e){return e.endObject()}};var ry;(function(n){n[n.NONE=0]="NONE",n[n.Schema=1]="Schema",n[n.DictionaryBatch=2]="DictionaryBatch",n[n.RecordBatch=3]="RecordBatch",n[n.Tensor=4]="Tensor",n[n.SparseTensor=5]="SparseTensor"})(ry||(ry={}));let Ef=class rh{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsMessage(e,r){return(r||new rh).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsMessage(e,r){return e.setPosition(e.position()+Wa),(r||new rh).__init(e.readInt32(e.position())+e.position(),e)}version(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):Qp.V1}headerType(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.readUint8(this.bb_pos+e):ry.NONE}header(e){const r=this.bb.__offset(this.bb_pos,8);return r?this.bb.__union(e,this.bb_pos+r):null}bodyLength(){const e=this.bb.__offset(this.bb_pos,10);return e?this.bb.readInt64(this.bb_pos+e):this.bb.createLong(0,0)}customMetadata(e,r){const C=this.bb.__offset(this.bb_pos,12);return C?(r||new cs).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+C)+e*4),this.bb):null}customMetadataLength(){const e=this.bb.__offset(this.bb_pos,12);return e?this.bb.__vector_len(this.bb_pos+e):0}static startMessage(e){e.startObject(5)}static addVersion(e,r){e.addFieldInt16(0,r,Qp.V1)}static addHeaderType(e,r){e.addFieldInt8(1,r,ry.NONE)}static addHeader(e,r){e.addFieldOffset(2,r,0)}static addBodyLength(e,r){e.addFieldInt64(3,r,e.createLong(0,0))}static addCustomMetadata(e,r){e.addFieldOffset(4,r,0)}static createCustomMetadataVector(e,r){e.startVector(4,r.length,4);for(let C=r.length-1;C>=0;C--)e.addOffset(r[C]);return e.endVector()}static startCustomMetadataVector(e,r){e.startVector(4,r,4)}static endMessage(e){return e.endObject()}static finishMessageBuffer(e,r){e.finish(r)}static finishSizePrefixedMessageBuffer(e,r){e.finish(r,void 0,!0)}static createMessage(e,r,C,D,T,p){return rh.startMessage(e),rh.addVersion(e,r),rh.addHeaderType(e,C),rh.addHeader(e,D),rh.addBodyLength(e,T),rh.addCustomMetadata(e,p),rh.endMessage(e)}};var gI=Jh;class vI extends aa{visit(e,r){return e==null||r==null?void 0:super.visit(e,r)}visitNull(e,r){return Id.startNull(r),Id.endNull(r)}visitInt(e,r){return mu.startInt(r),mu.addBitWidth(r,e.bitWidth),mu.addIsSigned(r,e.isSigned),mu.endInt(r)}visitFloat(e,r){return fh.startFloatingPoint(r),fh.addPrecision(r,e.precision),fh.endFloatingPoint(r)}visitBinary(e,r){return Cd.startBinary(r),Cd.endBinary(r)}visitBool(e,r){return Ed.startBool(r),Ed.endBool(r)}visitUtf8(e,r){return Pd.startUtf8(r),Pd.endUtf8(r)}visitDecimal(e,r){return Hl.startDecimal(r),Hl.addScale(r,e.scale),Hl.addPrecision(r,e.precision),Hl.addBitWidth(r,e.bitWidth),Hl.endDecimal(r)}visitDate(e,r){return gv.startDate(r),gv.addUnit(r,e.unit),gv.endDate(r)}visitTime(e,r){return Zu.startTime(r),Zu.addUnit(r,e.unit),Zu.addBitWidth(r,e.bitWidth),Zu.endTime(r)}visitTimestamp(e,r){const C=e.timezone&&r.createString(e.timezone)||void 0;return Xu.startTimestamp(r),Xu.addUnit(r,e.unit),C!==void 0&&Xu.addTimezone(r,C),Xu.endTimestamp(r)}visitInterval(e,r){return dh.startInterval(r),dh.addUnit(r,e.unit),dh.endInterval(r)}visitList(e,r){return Ld.startList(r),Ld.endList(r)}visitStruct(e,r){return Rd.startStruct_(r),Rd.endStruct_(r)}visitUnion(e,r){Gl.startTypeIdsVector(r,e.typeIds.length);const C=Gl.createTypeIdsVector(r,e.typeIds);return Gl.startUnion(r),Gl.addMode(r,e.mode),Gl.addTypeIds(r,C),Gl.endUnion(r)}visitDictionary(e,r){const C=this.visit(e.indices,r);return Zh.startDictionaryEncoding(r),Zh.addId(r,new gI(e.id,0)),Zh.addIsOrdered(r,e.isOrdered),C!==void 0&&Zh.addIndexType(r,C),Zh.endDictionaryEncoding(r)}visitFixedSizeBinary(e,r){return ch.startFixedSizeBinary(r),ch.addByteWidth(r,e.byteWidth),ch.endFixedSizeBinary(r)}visitFixedSizeList(e,r){return hh.startFixedSizeList(r),hh.addListSize(r,e.listSize),hh.endFixedSizeList(r)}visitMap(e,r){return vv.startMap(r),vv.addKeysSorted(r,e.keysSorted),vv.endMap(r)}}const db=new vI;function yI(n,e=new Map){return new Ea(xI(n,e),xv(n.customMetadata),e)}function gM(n){return new _u(n.count,vM(n.columns),yM(n.columns))}function bI(n){return new wh(gM(n.data),n.id,n.isDelta)}function xI(n,e){return(n.fields||[]).filter(Boolean).map(r=>ao.fromJSON(r,e))}function l5(n,e){return(n.children||[]).filter(Boolean).map(r=>ao.fromJSON(r,e))}function vM(n){return(n||[]).reduce((e,r)=>[...e,new Jd(r.count,_I(r.VALIDITY)),...vM(r.children)],[])}function yM(n,e=[]){for(let r=-1,C=(n||[]).length;++re+ +(r===0),0)}function wI(n,e){let r,C,D,T,p,t;return!e||!(T=n.dictionary)?(p=c5(n,l5(n,e)),D=new ao(n.name,p,n.nullable,xv(n.customMetadata))):e.has(r=T.id)?(C=(C=T.indexType)?u5(C):new Lm,t=new Kp(e.get(r),C,r,T.isOrdered),D=new ao(n.name,t,n.nullable,xv(n.customMetadata))):(C=(C=T.indexType)?u5(C):new Lm,e.set(r,p=c5(n,l5(n,e))),t=new Kp(p,C,r,T.isOrdered),D=new ao(n.name,t,n.nullable,xv(n.customMetadata))),D||null}function xv(n){return new Map(Object.entries(n||{}))}function u5(n){return new qf(n.isSigned,n.bitWidth)}function c5(n,e){const r=n.type.name;switch(r){case"NONE":return new Gf;case"null":return new Gf;case"binary":return new Pv;case"utf8":return new Ov;case"bool":return new Dv;case"list":return new Vv((e||[])[0]);case"struct":return new bl(e||[]);case"struct_":return new bl(e||[])}switch(r){case"int":{const C=n.type;return new qf(C.isSigned,C.bitWidth)}case"floatingpoint":{const C=n.type;return new Im(Yl[C.precision])}case"decimal":{const C=n.type;return new zv(C.scale,C.precision,C.bitWidth)}case"date":{const C=n.type;return new Fv(nf[C.unit])}case"time":{const C=n.type;return new Rm(wa[C.unit],C.bitWidth)}case"timestamp":{const C=n.type;return new Bv(wa[C.unit],C.timezone)}case"interval":{const C=n.type;return new Nv(Hf[C.unit])}case"union":{const C=n.type;return new jv(xu[C.mode],C.typeIds||[],e||[])}case"fixedsizebinary":{const C=n.type;return new Uv(C.byteWidth)}case"fixedsizelist":{const C=n.type;return new Hv(C.listSize,(e||[])[0])}case"map":{const C=n.type;return new Gv((e||[])[0],C.keysSorted)}}throw new Error(`Unrecognized type: "${r}"`)}var Gd=Jh,TI=sM,kI=Jp;class xl{constructor(e,r,C,D){this._version=r,this._headerType=C,this.body=new Uint8Array(0),D&&(this._createHeader=()=>D),this._bodyLength=typeof e=="number"?e:e.low}static fromJSON(e,r){const C=new xl(0,gu.V4,r);return C._createHeader=MI(e,r),C}static decode(e){e=new kI(_a(e));const r=Ef.getRootAsMessage(e),C=r.bodyLength(),D=r.version(),T=r.headerType(),p=new xl(C,D,T);return p._createHeader=AI(r,T),p}static encode(e){const r=new TI;let C=-1;return e.isSchema()?C=Ea.encode(r,e.header()):e.isRecordBatch()?C=_u.encode(r,e.header()):e.isDictionaryBatch()&&(C=wh.encode(r,e.header())),Ef.startMessage(r),Ef.addVersion(r,gu.V4),Ef.addHeader(r,C),Ef.addHeaderType(r,e.headerType),Ef.addBodyLength(r,new Gd(e.bodyLength,0)),Ef.finishMessageBuffer(r,Ef.endMessage(r)),r.asUint8Array()}static from(e,r=0){if(e instanceof Ea)return new xl(0,gu.V4,Ca.Schema,e);if(e instanceof _u)return new xl(r,gu.V4,Ca.RecordBatch,e);if(e instanceof wh)return new xl(r,gu.V4,Ca.DictionaryBatch,e);throw new Error(`Unrecognized Message header: ${e}`)}get type(){return this.headerType}get version(){return this._version}get headerType(){return this._headerType}get bodyLength(){return this._bodyLength}header(){return this._createHeader()}isSchema(){return this.headerType===Ca.Schema}isRecordBatch(){return this.headerType===Ca.RecordBatch}isDictionaryBatch(){return this.headerType===Ca.DictionaryBatch}}class _u{constructor(e,r,C){this._nodes=r,this._buffers=C,this._length=typeof e=="number"?e:e.low}get nodes(){return this._nodes}get length(){return this._length}get buffers(){return this._buffers}}class wh{constructor(e,r,C=!1){this._data=e,this._isDelta=C,this._id=typeof r=="number"?r:r.low}get id(){return this._id}get data(){return this._data}get isDelta(){return this._isDelta}get length(){return this.data.length}get nodes(){return this.data.nodes}get buffers(){return this.data.buffers}}class gh{constructor(e,r){this.offset=typeof e=="number"?e:e.low,this.length=typeof r=="number"?r:r.low}}class Jd{constructor(e,r){this.length=typeof e=="number"?e:e.low,this.nullCount=typeof r=="number"?r:r.low}}function MI(n,e){return()=>{switch(e){case Ca.Schema:return Ea.fromJSON(n);case Ca.RecordBatch:return _u.fromJSON(n);case Ca.DictionaryBatch:return wh.fromJSON(n)}throw new Error(`Unrecognized Message type: { name: ${Ca[e]}, type: ${e} }`)}}function AI(n,e){return()=>{switch(e){case Ca.Schema:return Ea.decode(n.header(new ih));case Ca.RecordBatch:return _u.decode(n.header(new Yh),n.version());case Ca.DictionaryBatch:return wh.decode(n.header(new Dp),n.version())}throw new Error(`Unrecognized Message type: { name: ${Ca[e]}, type: ${e} }`)}}ao.encode=FI;ao.decode=DI;ao.fromJSON=wI;Ea.encode=zI;Ea.decode=SI;Ea.fromJSON=yI;_u.encode=BI;_u.decode=CI;_u.fromJSON=gM;wh.encode=NI;wh.decode=EI;wh.fromJSON=bI;Jd.encode=VI;Jd.decode=II;gh.encode=jI;gh.decode=LI;function SI(n,e=new Map){const r=OI(n,e);return new Ea(r,_v(n),e)}function CI(n,e=gu.V4){if(n.compression()!==null)throw new Error("Record batch compression not implemented");return new _u(n.length(),RI(n),PI(n,e))}function EI(n,e=gu.V4){return new wh(_u.decode(n.data(),e),n.id(),n.isDelta())}function LI(n){return new gh(n.offset(),n.length())}function II(n){return new Jd(n.length(),n.nullCount())}function RI(n){const e=[];for(let r,C=-1,D=-1,T=n.nodesLength();++Cao.encode(n,T));ih.startFieldsVector(n,r.length);const C=ih.createFieldsVector(n,r),D=e.metadata&&e.metadata.size>0?ih.createCustomMetadataVector(n,[...e.metadata].map(([T,p])=>{const t=n.createString(`${T}`),d=n.createString(`${p}`);return cs.startKeyValue(n),cs.addKey(n,t),cs.addValue(n,d),cs.endKeyValue(n)})):-1;return ih.startSchema(n),ih.addFields(n,C),ih.addEndianness(n,UI?e0.Little:e0.Big),D!==-1&&ih.addCustomMetadata(n,D),ih.endSchema(n)}function FI(n,e){let r=-1,C=-1,D=-1;const T=e.type;let p=e.typeId;_i.isDictionary(T)?(p=T.dictionary.typeId,D=db.visit(T,n),C=db.visit(T.dictionary,n)):C=db.visit(T,n);const t=(T.children||[]).map(i=>ao.encode(n,i)),d=qu.createChildrenVector(n,t),g=e.metadata&&e.metadata.size>0?qu.createCustomMetadataVector(n,[...e.metadata].map(([i,M])=>{const v=n.createString(`${i}`),f=n.createString(`${M}`);return cs.startKeyValue(n),cs.addKey(n,v),cs.addValue(n,f),cs.endKeyValue(n)})):-1;return e.name&&(r=n.createString(e.name)),qu.startField(n),qu.addType(n,C),qu.addTypeType(n,p),qu.addChildren(n,d),qu.addNullable(n,!!e.nullable),r!==-1&&qu.addName(n,r),D!==-1&&qu.addDictionary(n,D),g!==-1&&qu.addCustomMetadata(n,g),qu.endField(n)}function BI(n,e){const r=e.nodes||[],C=e.buffers||[];Yh.startNodesVector(n,r.length);for(const p of r.slice().reverse())Jd.encode(n,p);const D=n.endVector();Yh.startBuffersVector(n,C.length);for(const p of C.slice().reverse())gh.encode(n,p);const T=n.endVector();return Yh.startRecordBatch(n),Yh.addLength(n,new Gd(e.length,0)),Yh.addNodes(n,D),Yh.addBuffers(n,T),Yh.endRecordBatch(n)}function NI(n,e){const r=_u.encode(n,e.data);return Dp.startDictionaryBatch(n),Dp.addId(n,new Gd(e.id,0)),Dp.addIsDelta(n,e.isDelta),Dp.addData(n,r),Dp.endDictionaryBatch(n)}function VI(n,e){return mM.createFieldNode(n,new Gd(e.length,0),new Gd(e.nullCount,0))}function jI(n,e){return pM.createBuffer(n,new Gd(e.offset,0),new Gd(e.length,0))}const UI=(()=>{const n=new ArrayBuffer(2);return new DataView(n).setInt16(0,256,!0),new Int16Array(n)[0]===256})(),D2=n=>`Expected ${Ca[n]} Message in stream, but was null or length 0.`,z2=n=>`Header pointer of flatbuffer-encoded ${Ca[n]} Message is null or length 0.`,bM=(n,e)=>`Expected to read ${n} metadata bytes, but only read ${e}.`,xM=(n,e)=>`Expected to read ${n} bytes for message body, but only read ${e}.`;class _M{constructor(e){this.source=e instanceof Qv?e:new Qv(e)}[Symbol.iterator](){return this}next(){let e;return(e=this.readMetadataLength()).done||e.value===-1&&(e=this.readMetadataLength()).done||(e=this.readMetadata(e.value)).done?So:e}throw(e){return this.source.throw(e)}return(e){return this.source.return(e)}readMessage(e){let r;if((r=this.next()).done)return null;if(e!=null&&r.value.headerType!==e)throw new Error(D2(e));return r.value}readMessageBody(e){if(e<=0)return new Uint8Array(0);const r=_a(this.source.read(e));if(r.byteLength[...D,...T.VALIDITY&&[T.VALIDITY]||[],...T.TYPE&&[T.TYPE]||[],...T.OFFSET&&[T.OFFSET]||[],...T.DATA&&[T.DATA]||[],...r(T.children)],[])}}readMessage(e){let r;if((r=this.next()).done)return null;if(e!=null&&r.value.headerType!==e)throw new Error(D2(e));return r.value}readSchema(){const e=Ca.Schema,r=this.readMessage(e),C=r==null?void 0:r.header();if(!r||!C)throw new Error(z2(e));return C}}const qy=4,Qb="ARROW1",Om=new Uint8Array(Qb.length);for(let n=0;nthis):this}readRecordBatch(e){return this._impl.isFile()?this._impl.readRecordBatch(e):null}[Symbol.iterator](){return this._impl[Symbol.iterator]()}[Symbol.asyncIterator](){return this._impl[Symbol.asyncIterator]()}toDOMStream(){return $u.toDOMStream(this.isSync()?{[Symbol.iterator]:()=>this}:{[Symbol.asyncIterator]:()=>this})}toNodeStream(){return $u.toNodeStream(this.isSync()?{[Symbol.iterator]:()=>this}:{[Symbol.asyncIterator]:()=>this},{objectMode:!0})}static throughNode(e){throw new Error('"throughNode" not available in this environment')}static throughDOM(e,r){throw new Error('"throughDOM" not available in this environment')}static from(e){return e instanceof Qh?e:Ub(e)?ZI(e):U4(e)?JI(e):Uf(e)?(()=>yi(this,void 0,void 0,function*(){return yield Qh.from(yield e)}))():H4(e)||m2(e)||G4(e)||g0(e)?KI(new n0(e)):XI(new Qv(e))}static readAll(e){return e instanceof Qh?e.isSync()?p5(e):m5(e):Ub(e)||ArrayBuffer.isView(e)||Zm(e)||j4(e)?p5(e):m5(e)}}class iy extends Qh{constructor(e){super(e),this._impl=e}readAll(){return[...this]}[Symbol.iterator](){return this._impl[Symbol.iterator]()}[Symbol.asyncIterator](){return mh(this,arguments,function*(){yield zi(yield*mv(Nd(this[Symbol.iterator]())))})}}class ay extends Qh{constructor(e){super(e),this._impl=e}readAll(){var e,r;return yi(this,void 0,void 0,function*(){const C=new Array;try{for(var D=Nd(this),T;T=yield D.next(),!T.done;){const p=T.value;C.push(p)}}catch(p){e={error:p}}finally{try{T&&!T.done&&(r=D.return)&&(yield r.call(D))}finally{if(e)throw e.error}}return C})}[Symbol.iterator](){throw new Error("AsyncRecordBatchStreamReader is not Iterable")}[Symbol.asyncIterator](){return this._impl[Symbol.asyncIterator]()}}class TM extends iy{constructor(e){super(e),this._impl=e}}class WI extends ay{constructor(e){super(e),this._impl=e}}class kM{constructor(e=new Map){this.closed=!1,this.autoDestroy=!0,this._dictionaryIndex=0,this._recordBatchIndex=0,this.dictionaries=e}get numDictionaries(){return this._dictionaryIndex}get numRecordBatches(){return this._recordBatchIndex}isSync(){return!1}isAsync(){return!1}isFile(){return!1}isStream(){return!1}reset(e){return this._dictionaryIndex=0,this._recordBatchIndex=0,this.schema=e,this.dictionaries=new Map,this}_loadRecordBatch(e,r){const C=this._loadVectors(e,r,this.schema.fields),D=ra({type:new bl(this.schema.fields),length:e.length,children:C});return new ql(this.schema,D)}_loadDictionaryBatch(e,r){const{id:C,isDelta:D}=e,{dictionaries:T,schema:p}=this,t=T.get(C);if(D||!t){const d=p.dictionaries.get(C),g=this._loadVectors(e.data,r,[d]);return(t&&D?t.concat(new Ta(g)):new Ta(g)).memoize()}return t.memoize()}_loadVectors(e,r,C){return new cM(r,e.nodes,e.buffers,this.dictionaries).visitMany(C)}}class oy extends kM{constructor(e,r){super(r),this._reader=Ub(e)?new GI(this._handle=e):new _M(this._handle=e)}isSync(){return!0}isStream(){return!0}[Symbol.iterator](){return this}cancel(){!this.closed&&(this.closed=!0)&&(this.reset()._reader.return(),this._reader=null,this.dictionaries=null)}open(e){return this.closed||(this.autoDestroy=AM(this,e),this.schema||(this.schema=this._reader.readSchema())||this.cancel()),this}throw(e){return!this.closed&&this.autoDestroy&&(this.closed=!0)?this.reset()._reader.throw(e):So}return(e){return!this.closed&&this.autoDestroy&&(this.closed=!0)?this.reset()._reader.return(e):So}next(){if(this.closed)return So;let e;const{_reader:r}=this;for(;e=this._readNextMessageAndValidate();)if(e.isSchema())this.reset(e.header());else if(e.isRecordBatch()){this._recordBatchIndex++;const C=e.header(),D=r.readMessageBody(e.bodyLength);return{done:!1,value:this._loadRecordBatch(C,D)}}else if(e.isDictionaryBatch()){this._dictionaryIndex++;const C=e.header(),D=r.readMessageBody(e.bodyLength),T=this._loadDictionaryBatch(C,D);this.dictionaries.set(C.id,T)}return this.schema&&this._recordBatchIndex===0?(this._recordBatchIndex++,{done:!1,value:new O2(this.schema)}):this.return()}_readNextMessageAndValidate(e){return this._reader.readMessage(e)}}class sy extends kM{constructor(e,r){super(r),this._reader=new HI(this._handle=e)}isAsync(){return!0}isStream(){return!0}[Symbol.asyncIterator](){return this}cancel(){return yi(this,void 0,void 0,function*(){!this.closed&&(this.closed=!0)&&(yield this.reset()._reader.return(),this._reader=null,this.dictionaries=null)})}open(e){return yi(this,void 0,void 0,function*(){return this.closed||(this.autoDestroy=AM(this,e),this.schema||(this.schema=yield this._reader.readSchema())||(yield this.cancel())),this})}throw(e){return yi(this,void 0,void 0,function*(){return!this.closed&&this.autoDestroy&&(this.closed=!0)?yield this.reset()._reader.throw(e):So})}return(e){return yi(this,void 0,void 0,function*(){return!this.closed&&this.autoDestroy&&(this.closed=!0)?yield this.reset()._reader.return(e):So})}next(){return yi(this,void 0,void 0,function*(){if(this.closed)return So;let e;const{_reader:r}=this;for(;e=yield this._readNextMessageAndValidate();)if(e.isSchema())yield this.reset(e.header());else if(e.isRecordBatch()){this._recordBatchIndex++;const C=e.header(),D=yield r.readMessageBody(e.bodyLength);return{done:!1,value:this._loadRecordBatch(C,D)}}else if(e.isDictionaryBatch()){this._dictionaryIndex++;const C=e.header(),D=yield r.readMessageBody(e.bodyLength),T=this._loadDictionaryBatch(C,D);this.dictionaries.set(C.id,T)}return this.schema&&this._recordBatchIndex===0?(this._recordBatchIndex++,{done:!1,value:new O2(this.schema)}):yield this.return()})}_readNextMessageAndValidate(e){return yi(this,void 0,void 0,function*(){return yield this._reader.readMessage(e)})}}class MM extends oy{constructor(e,r){super(e instanceof o5?e:new o5(e),r)}get footer(){return this._footer}get numDictionaries(){return this._footer?this._footer.numDictionaries:0}get numRecordBatches(){return this._footer?this._footer.numRecordBatches:0}isSync(){return!0}isFile(){return!0}open(e){if(!this.closed&&!this._footer){this.schema=(this._footer=this._readFooter()).schema;for(const r of this._footer.dictionaryBatches())r&&this._readDictionaryBatch(this._dictionaryIndex++)}return super.open(e)}readRecordBatch(e){var r;if(this.closed)return null;this._footer||this.open();const C=(r=this._footer)===null||r===void 0?void 0:r.getRecordBatch(e);if(C&&this._handle.seek(C.offset)){const D=this._reader.readMessage(Ca.RecordBatch);if(D!=null&&D.isRecordBatch()){const T=D.header(),p=this._reader.readMessageBody(D.bodyLength);return this._loadRecordBatch(T,p)}}return null}_readDictionaryBatch(e){var r;const C=(r=this._footer)===null||r===void 0?void 0:r.getDictionaryBatch(e);if(C&&this._handle.seek(C.offset)){const D=this._reader.readMessage(Ca.DictionaryBatch);if(D!=null&&D.isDictionaryBatch()){const T=D.header(),p=this._reader.readMessageBody(D.bodyLength),t=this._loadDictionaryBatch(T,p);this.dictionaries.set(T.id,t)}}}_readFooter(){const{_handle:e}=this,r=e.size-wM,C=e.readInt32(r),D=e.readAt(r-C,C);return Pm.decode(D)}_readNextMessageAndValidate(e){var r;if(this._footer||this.open(),this._footer&&this._recordBatchIndexsuper.open}});return yi(this,void 0,void 0,function*(){if(!this.closed&&!this._footer){this.schema=(this._footer=yield this._readFooter()).schema;for(const C of this._footer.dictionaryBatches())C&&(yield this._readDictionaryBatch(this._dictionaryIndex++))}return yield r.open.call(this,e)})}readRecordBatch(e){var r;return yi(this,void 0,void 0,function*(){if(this.closed)return null;this._footer||(yield this.open());const C=(r=this._footer)===null||r===void 0?void 0:r.getRecordBatch(e);if(C&&(yield this._handle.seek(C.offset))){const D=yield this._reader.readMessage(Ca.RecordBatch);if(D!=null&&D.isRecordBatch()){const T=D.header(),p=yield this._reader.readMessageBody(D.bodyLength);return this._loadRecordBatch(T,p)}}return null})}_readDictionaryBatch(e){var r;return yi(this,void 0,void 0,function*(){const C=(r=this._footer)===null||r===void 0?void 0:r.getDictionaryBatch(e);if(C&&(yield this._handle.seek(C.offset))){const D=yield this._reader.readMessage(Ca.DictionaryBatch);if(D!=null&&D.isDictionaryBatch()){const T=D.header(),p=yield this._reader.readMessageBody(D.bodyLength),t=this._loadDictionaryBatch(T,p);this.dictionaries.set(T.id,t)}}})}_readFooter(){return yi(this,void 0,void 0,function*(){const{_handle:e}=this;e._pending&&(yield e._pending);const r=e.size-wM,C=yield e.readInt32(r),D=yield e.readAt(r-C,C);return Pm.decode(D)})}_readNextMessageAndValidate(e){return yi(this,void 0,void 0,function*(){if(this._footer||(yield this.open()),this._footer&&this._recordBatchIndex=4?F2(e)?new TM(new MM(n.read())):new iy(new oy(n)):new iy(new oy(function*(){}()))}function KI(n){return yi(this,void 0,void 0,function*(){const e=yield n.peek(Qm+7&-8);return e&&e.byteLength>=4?F2(e)?new TM(new MM(yield n.read())):new ay(new sy(n)):new ay(new sy(function(){return mh(this,arguments,function*(){})}()))})}function JI(n){return yi(this,void 0,void 0,function*(){const{size:e}=yield n.stat(),r=new ey(n,e);return e>=qI&&F2(yield r.readAt(0,Qm+7&-8))?new WI(new YI(r)):new ay(new sy(r))})}class Qo extends aa{constructor(){super(),this._byteLength=0,this._nodes=[],this._buffers=[],this._bufferRegions=[]}static assemble(...e){const r=D=>D.flatMap(T=>Array.isArray(T)?r(T):T instanceof ql?T.data.children:T.data),C=new Qo;return C.visitMany(r(e)),C}visit(e){if(e instanceof Ta)return this.visitMany(e.data),this;const{type:r}=e;if(!_i.isDictionary(r)){const{length:C,nullCount:D}=e;if(C>2147483647)throw new RangeError("Cannot write arrays larger than 2^31 - 1 in length");_i.isNull(r)||zc.call(this,D<=0?new Uint8Array(0):k2(e.offset,C,e.nullBitmap)),this.nodes.push(new Jd(C,D))}return super.visit(e)}visitNull(e){return this}visitDictionary(e){return this.visit(e.clone(e.type.indices))}get nodes(){return this._nodes}get buffers(){return this._buffers}get byteLength(){return this._byteLength}get bufferRegions(){return this._bufferRegions}}function zc(n){const e=n.byteLength+7&-8;return this.buffers.push(n),this.bufferRegions.push(new gh(this._byteLength,e)),this._byteLength+=e,this}function QI(n){const{type:e,length:r,typeIds:C,valueOffsets:D}=n;if(zc.call(this,C),e.mode===xu.Sparse)return ex.call(this,n);if(e.mode===xu.Dense){if(n.offset<=0)return zc.call(this,D),ex.call(this,n);{const T=C.reduce((i,M)=>Math.max(i,M),C[0]),p=new Int32Array(T+1),t=new Int32Array(T+1).fill(-1),d=new Int32Array(r),g=v2(-D[0],r,D);for(let i,M,v=-1;++v=n.length?zc.call(this,new Uint8Array(0)):(e=n.values)instanceof Uint8Array?zc.call(this,k2(n.offset,n.length,e)):zc.call(this,qv(n.values))}function Qf(n){return zc.call(this,n.values.subarray(0,n.length*n.stride))}function SM(n){const{length:e,values:r,valueOffsets:C}=n,D=C[0],T=C[e],p=Math.min(T-D,r.byteLength-D);return zc.call(this,v2(-C[0],e,C)),zc.call(this,r.subarray(D,D+p)),this}function B2(n){const{length:e,valueOffsets:r}=n;return r&&zc.call(this,v2(r[0],e,r)),this.visit(n.children[0])}function ex(n){return this.visitMany(n.type.children.map((e,r)=>n.children[r]).filter(Boolean))[0]}Qo.prototype.visitBool=eR;Qo.prototype.visitInt=Qf;Qo.prototype.visitFloat=Qf;Qo.prototype.visitUtf8=SM;Qo.prototype.visitBinary=SM;Qo.prototype.visitFixedSizeBinary=Qf;Qo.prototype.visitDate=Qf;Qo.prototype.visitTimestamp=Qf;Qo.prototype.visitTime=Qf;Qo.prototype.visitDecimal=Qf;Qo.prototype.visitList=B2;Qo.prototype.visitStruct=ex;Qo.prototype.visitUnion=QI;Qo.prototype.visitInterval=Qf;Qo.prototype.visitFixedSizeList=B2;Qo.prototype.visitMap=B2;class CM extends E2{constructor(e){super(),this._position=0,this._started=!1,this._sink=new bv,this._schema=null,this._dictionaryBlocks=[],this._recordBatchBlocks=[],this._dictionaryDeltaOffsets=new Map,Zl(e)||(e={autoDestroy:!0,writeLegacyIpcFormat:!1}),this._autoDestroy=typeof e.autoDestroy=="boolean"?e.autoDestroy:!0,this._writeLegacyIpcFormat=typeof e.writeLegacyIpcFormat=="boolean"?e.writeLegacyIpcFormat:!1}static throughNode(e){throw new Error('"throughNode" not available in this environment')}static throughDOM(e,r){throw new Error('"throughDOM" not available in this environment')}toString(e=!1){return this._sink.toString(e)}toUint8Array(e=!1){return this._sink.toUint8Array(e)}writeAll(e){return Uf(e)?e.then(r=>this.writeAll(r)):g0(e)?U2(this,e):j2(this,e)}get closed(){return this._sink.closed}[Symbol.asyncIterator](){return this._sink[Symbol.asyncIterator]()}toDOMStream(e){return this._sink.toDOMStream(e)}toNodeStream(e){return this._sink.toNodeStream(e)}close(){return this.reset()._sink.close()}abort(e){return this.reset()._sink.abort(e)}finish(){return this._autoDestroy?this.close():this.reset(this._sink,this._schema),this}reset(e=this._sink,r=null){return e===this._sink||e instanceof bv?this._sink=e:(this._sink=new bv,e&&_9(e)?this.toDOMStream({type:"bytes"}).pipeTo(e):e&&w9(e)&&this.toNodeStream({objectMode:!1}).pipe(e)),this._started&&this._schema&&this._writeFooter(this._schema),this._started=!1,this._dictionaryBlocks=[],this._recordBatchBlocks=[],this._dictionaryDeltaOffsets=new Map,(!r||!Xb(r,this._schema))&&(r==null?(this._position=0,this._schema=null):(this._started=!0,this._schema=r,this._writeSchema(r))),this}write(e){let r=null;if(this._sink){if(e==null)return this.finish()&&void 0;if(e instanceof ml&&!(r=e.schema))return this.finish()&&void 0;if(e instanceof ql&&!(r=e.schema))return this.finish()&&void 0}else throw new Error("RecordBatchWriter is closed");if(r&&!Xb(r,this._schema)){if(this._started&&this._autoDestroy)return this.close();this.reset(this._sink,r)}e instanceof ql?e instanceof O2||this._writeRecordBatch(e):e instanceof ml?this.writeAll(e.batches):Zm(e)&&this.writeAll(e)}_writeMessage(e,r=8){const C=r-1,D=xl.encode(e),T=D.byteLength,p=this._writeLegacyIpcFormat?4:8,t=T+p+C&~C,d=t-T-p;return e.headerType===Ca.RecordBatch?this._recordBatchBlocks.push(new Wf(t,e.bodyLength,this._position)):e.headerType===Ca.DictionaryBatch&&this._dictionaryBlocks.push(new Wf(t,e.bodyLength,this._position)),this._writeLegacyIpcFormat||this._write(Int32Array.of(-1)),this._write(Int32Array.of(t-p)),T>0&&this._write(D),this._writePadding(d)}_write(e){if(this._started){const r=_a(e);r&&r.byteLength>0&&(this._sink.write(r),this._position+=r.byteLength)}return this}_writeSchema(e){return this._writeMessage(xl.from(e))}_writeFooter(e){return this._writeLegacyIpcFormat?this._write(Int32Array.of(0)):this._write(Int32Array.of(-1,0))}_writeMagic(){return this._write(Om)}_writePadding(e){return e>0?this._write(new Uint8Array(e)):this}_writeRecordBatch(e){const{byteLength:r,nodes:C,bufferRegions:D,buffers:T}=Qo.assemble(e),p=new _u(e.numRows,C,D),t=xl.from(p,r);return this._writeDictionaries(e)._writeMessage(t)._writeBodyBuffers(T)}_writeDictionaryBatch(e,r,C=!1){this._dictionaryDeltaOffsets.set(r,e.length+(this._dictionaryDeltaOffsets.get(r)||0));const{byteLength:D,nodes:T,bufferRegions:p,buffers:t}=Qo.assemble(new Ta([e])),d=new _u(e.length,T,p),g=new wh(d,r,C),i=xl.from(g,D);return this._writeMessage(i)._writeBodyBuffers(t)}_writeBodyBuffers(e){let r,C,D;for(let T=-1,p=e.length;++T0&&(this._write(r),(D=(C+7&-8)-C)>0&&this._writePadding(D));return this}_writeDictionaries(e){for(let[r,C]of e.dictionaries){let D=this._dictionaryDeltaOffsets.get(r)||0;if(D===0||(C=C==null?void 0:C.slice(D)).length>0)for(const T of C.data)this._writeDictionaryBatch(T,r,D>0),D+=T.length}return this}}class N2 extends CM{static writeAll(e,r){const C=new N2(r);return Uf(e)?e.then(D=>C.writeAll(D)):g0(e)?U2(C,e):j2(C,e)}}class V2 extends CM{static writeAll(e){const r=new V2;return Uf(e)?e.then(C=>r.writeAll(C)):g0(e)?U2(r,e):j2(r,e)}constructor(){super(),this._autoDestroy=!0}_writeSchema(e){return this._writeMagic()._writePadding(2)}_writeFooter(e){const r=Pm.encode(new Pm(e,gu.V4,this._recordBatchBlocks,this._dictionaryBlocks));return super._writeFooter(e)._write(r)._write(Int32Array.of(r.byteLength))._writeMagic()}}function j2(n,e){let r=e;e instanceof ml&&(r=e.batches,n.reset(void 0,e.schema));for(const C of r)n.write(C);return n.finish()}function U2(n,e){var r,C,D,T;return yi(this,void 0,void 0,function*(){try{for(r=Nd(e);C=yield r.next(),!C.done;){const p=C.value;n.write(p)}}catch(p){D={error:p}}finally{try{C&&!C.done&&(T=r.return)&&(yield T.call(r))}finally{if(D)throw D.error}}return n.finish()})}function lm(n){const e=Qh.from(n);return Uf(e)?e.then(r=>lm(r)):e.isAsync()?e.readAll().then(r=>new ml(r)):new ml(e.readAll())}function pb(n,e="stream"){return(e==="stream"?N2:V2).writeAll(n).toUint8Array(!0)}var tx=function(){function n(e,r,C,D){var T=this;this.getCell=function(p,t){var d=p=T.headerRows&&t=T.headerColumns;if(d){var M=["blank"];return t>0&&M.push("level"+p),{type:"blank",classNames:M.join(" "),content:""}}else if(i){var v=t-T.headerColumns,M=["col_heading","level"+p,"col"+v];return{type:"columns",classNames:M.join(" "),content:T.getContent(T.columnsTable,v,p)}}else if(g){var f=p-T.headerRows,M=["row_heading","level"+t,"row"+f];return{type:"index",id:"T_".concat(T.uuid,"level").concat(t,"_row").concat(f),classNames:M.join(" "),content:T.getContent(T.indexTable,f,t)}}else{var f=p-T.headerRows,v=t-T.headerColumns,M=["data","row"+f,"col"+v],l=T.styler?T.getContent(T.styler.displayValuesTable,f,v):T.getContent(T.dataTable,f,v);return{type:"data",id:"T_".concat(T.uuid,"row").concat(f,"_col").concat(v),classNames:M.join(" "),content:l}}},this.getContent=function(p,t,d){var g=p.getChildAt(d);if(g===null)return"";var i=T.getColumnTypeId(p,d);switch(i){case Jn.Timestamp:return T.nanosToDate(g.get(t));default:return g.get(t)}},this.dataTable=lm(e),this.indexTable=lm(r),this.columnsTable=lm(C),this.styler=D?{caption:D.caption,displayValuesTable:lm(D.displayValues),styles:D.styles,uuid:D.uuid}:void 0}return Object.defineProperty(n.prototype,"rows",{get:function(){return this.indexTable.numRows+this.columnsTable.numCols},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"columns",{get:function(){return this.indexTable.numCols+this.columnsTable.numRows},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"headerRows",{get:function(){return this.rows-this.dataRows},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"headerColumns",{get:function(){return this.columns-this.dataColumns},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dataRows",{get:function(){return this.dataTable.numRows},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dataColumns",{get:function(){return this.dataTable.numCols},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uuid",{get:function(){return this.styler&&this.styler.uuid},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"caption",{get:function(){return this.styler&&this.styler.caption},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"styles",{get:function(){return this.styler&&this.styler.styles},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"table",{get:function(){return this.dataTable},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"index",{get:function(){return this.indexTable},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"columnTable",{get:function(){return this.columnsTable},enumerable:!1,configurable:!0}),n.prototype.serialize=function(){return{data:pb(this.dataTable),index:pb(this.indexTable),columns:pb(this.columnsTable)}},n.prototype.getColumnTypeId=function(e,r){return e.schema.fields[r].type.typeId},n.prototype.nanosToDate=function(e){return new Date(e/1e6)},n}(),gm=globalThis&&globalThis.__assign||function(){return gm=Object.assign||function(n){for(var e,r=1,C=arguments.length;r0?n.argsDataframeToObject(e.dfs):{};r=gm(gm({},r),C);var D=!!e.disabled,T=e.theme;T&&tR(T);var p={disabled:D,args:r,theme:T},t=new CustomEvent(n.RENDER_EVENT,{detail:p});n.events.dispatchEvent(t)},n.argsDataframeToObject=function(e){var r=e.map(function(C){var D=C.key,T=C.value;return[D,n.toArrowTable(T)]});return Object.fromEntries(r)},n.toArrowTable=function(e){var r,C=(r=e.data,r.data),D=r.index,T=r.columns,p=r.styler;return new tx(C,D,T,p)},n.sendBackMsg=function(e,r){window.parent.postMessage(gm({isStreamlitMessage:!0,type:e},r),"*")},n}(),tR=function(n){var e=document.createElement("style");document.head.appendChild(e),e.innerHTML=` ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js - :root { - --primary-color: `.concat(n.primaryColor,`; - --background-color: `).concat(n.backgroundColor,`; - --secondary-background-color: `).concat(n.secondaryBackgroundColor,`; - --text-color: `).concat(n.textColor,`; - --font: `).concat(n.font,`; - } - - body { - background-color: var(--background-color); - color: var(--text-color); - } -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js - `)};function nR(n){var e=!1;try{e=n instanceof BigInt64Array||n instanceof BigUint64Array}catch{}return n instanceof Int8Array||n instanceof Uint8Array||n instanceof Uint8ClampedArray||n instanceof Int16Array||n instanceof Uint16Array||n instanceof Int32Array||n instanceof Uint32Array||n instanceof Float32Array||n instanceof Float64Array||e}var rR=globalThis&&globalThis.__extends||function(){var n=function(e,r){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,D){S.__proto__=D}||function(S,D){for(var T in D)Object.prototype.hasOwnProperty.call(D,T)&&(S[T]=D[T])},n(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");n(e,r);function S(){this.constructor=e}e.prototype=r===null?Object.create(r):(S.prototype=r.prototype,new S)}}();(function(n){rR(e,n);function e(){return n!==null&&n.apply(this,arguments)||this}return e.prototype.componentDidMount=function(){Wu.setFrameHeight()},e.prototype.componentDidUpdate=function(){Wu.setFrameHeight()},e})(g9.PureComponent);const rc=i2("selection",{state:()=>({scanIndex:void 0,massIndex:void 0,proteinIndex:void 0,tagIndex:void 0,selectedObservedMass:void 0,AApos:void 0,tagData:void 0,counter:void 0,id:void 0,heatmap_deconv:void 0,heatmap_deconv2:void 0,heatmap_raw:void 0,heatmap_raw2:void 0}),getters:{selectedScanIndex:n=>n.scanIndex,selectedMassIndex:n=>n.massIndex,selectedProteinIndex:n=>n.proteinIndex,selectedTagIndex:n=>n.tagIndex,selectedAApos:n=>n.AApos,selectedTag:n=>n.tagData,selectedDeconvMS2Heatmap:n=>n.heatmap_deconv2,selectedDeconvHeatmap:n=>n.heatmap_deconv,selectedRawHeatmap:n=>n.heatmap_raw,selectedRawMS2Heatmap:n=>n.heatmap_raw2,selectedObservedMassFromFragmentTable:n=>n.selectedObservedMass},actions:{updateSelectedScan(n){this.scanIndex=n},updateSelectedMass(n){this.massIndex=n},updateSelectedProtein(n){this.proteinIndex=n},updateSelectedTag(n){this.tagIndex=n},selectedAminoAcid(n){this.selectedObservedMass=n},updateSelectedAA(n){this.AApos=n},updateTagData(n){this.tagData=n},updateRawHeatmapSelection(n){this.heatmap_raw=n},updateRawMS2HeatmapSelection(n){this.heatmap_raw2=n},updateDeconvHeatmapSelection(n){this.heatmap_deconv=n},updateDeconvMS2HeatmapSelection(n){this.heatmap_deconv2=n}}}),Ns=i2("streamlit-data",{state:()=>({renderData:null,dataForDrawing:{},dataset:"",hash:""}),getters:{args:n=>{var e;return(e=n.renderData)==null?void 0:e.args},components(){return this.args.components},allDataForDrawing:n=>n.dataForDrawing,sequenceData:n=>n.dataForDrawing.sequence_data,settings:n=>n.dataForDrawing.settings,internalFragmentData:n=>n.dataForDrawing.internal_fragment_data,theme:n=>{var e;return(e=n.renderData)==null?void 0:e.theme}},actions:{updateRenderData(n){var D;if(rc().$patch(T=>{if(n.args.selection_store.id!==T.id)for(const p in T)T[p]=void 0;Object.assign(T,n.args.selection_store)}),console.log(n.args.selection_store.id),this.hash===n.args.hash)return;this.hash=n.args.hash,delete n.args.selection_store,delete n.args.hash,this.dataForDrawing={},this.dataset=(D=n.args)==null?void 0:D.dataset,this.renderData=n;function r(T){if(typeof T=="bigint")return Number(T);if(T instanceof Ta){const p=[];for(let t=0;t{if(p instanceof tx){const t=[],d=p.table.schema.fields.map(g=>g.name);for(let g=0;g{var f;i[M]=r((f=p.table.getChildAt(v))==null?void 0:f.get(g))}),t.push(i)}this.dataForDrawing[T]=t}else this.dataForDrawing[T]=p})}}});var EM={exports:{}};(function(n,e){/*! For license information please see plotly.min.js.LICENSE.txt */(function(r,S){n.exports=S()})(self,function(){return function(){var r={98847:function(T,p,t){var d=t(71828),g={"X,X div":'direction:ltr;font-family:"Open Sans",verdana,arial,sans-serif;margin:0;padding:0;',"X input,X button":'font-family:"Open Sans",verdana,arial,sans-serif;',"X input:focus,X button:focus":"outline:none;","X a":"text-decoration:none;","X a:hover":"text-decoration:none;","X .crisp":"shape-rendering:crispEdges;","X .user-select-none":"-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;","X svg":"overflow:hidden;","X svg a":"fill:#447adb;","X svg a:hover":"fill:#3c6dc5;","X .main-svg":"position:absolute;top:0;left:0;pointer-events:none;","X .main-svg .draglayer":"pointer-events:all;","X .cursor-default":"cursor:default;","X .cursor-pointer":"cursor:pointer;","X .cursor-crosshair":"cursor:crosshair;","X .cursor-move":"cursor:move;","X .cursor-col-resize":"cursor:col-resize;","X .cursor-row-resize":"cursor:row-resize;","X .cursor-ns-resize":"cursor:ns-resize;","X .cursor-ew-resize":"cursor:ew-resize;","X .cursor-sw-resize":"cursor:sw-resize;","X .cursor-s-resize":"cursor:s-resize;","X .cursor-se-resize":"cursor:se-resize;","X .cursor-w-resize":"cursor:w-resize;","X .cursor-e-resize":"cursor:e-resize;","X .cursor-nw-resize":"cursor:nw-resize;","X .cursor-n-resize":"cursor:n-resize;","X .cursor-ne-resize":"cursor:ne-resize;","X .cursor-grab":"cursor:-webkit-grab;cursor:grab;","X .modebar":"position:absolute;top:2px;right:2px;","X .ease-bg":"-webkit-transition:background-color .3s ease 0s;-moz-transition:background-color .3s ease 0s;-ms-transition:background-color .3s ease 0s;-o-transition:background-color .3s ease 0s;transition:background-color .3s ease 0s;","X .modebar--hover>:not(.watermark)":"opacity:0;-webkit-transition:opacity .3s ease 0s;-moz-transition:opacity .3s ease 0s;-ms-transition:opacity .3s ease 0s;-o-transition:opacity .3s ease 0s;transition:opacity .3s ease 0s;","X:hover .modebar--hover .modebar-group":"opacity:1;","X .modebar-group":"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;","X .modebar-btn":"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;","X .modebar-btn svg":"position:relative;top:2px;","X .modebar.vertical":"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;","X .modebar.vertical svg":"top:-1px;","X .modebar.vertical .modebar-group":"display:block;float:none;padding-left:0px;padding-bottom:8px;","X .modebar.vertical .modebar-group .modebar-btn":"display:block;text-align:center;","X [data-title]:before,X [data-title]:after":"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none;opacity:0;z-index:1001;pointer-events:none;top:110%;right:50%;","X [data-title]:hover:before,X [data-title]:hover:after":"display:block;opacity:1;","X [data-title]:before":'content:"";position:absolute;background:rgba(0,0,0,0);border:6px solid rgba(0,0,0,0);z-index:1002;margin-top:-12px;border-bottom-color:#69738a;margin-right:-6px;',"X [data-title]:after":"content:attr(data-title);background:#69738a;color:#fff;padding:8px 10px;font-size:12px;line-height:12px;white-space:nowrap;margin-right:-18px;border-radius:2px;","X .vertical [data-title]:before,X .vertical [data-title]:after":"top:0%;right:200%;","X .vertical [data-title]:before":"border:6px solid rgba(0,0,0,0);border-left-color:#69738a;margin-top:8px;margin-right:-30px;",Y:'font-family:"Open Sans",verdana,arial,sans-serif;position:fixed;top:50px;right:20px;z-index:10000;font-size:10pt;max-width:180px;',"Y p":"margin:0;","Y .notifier-note":"min-width:180px;max-width:250px;border:1px solid #fff;z-index:3000;margin:0;background-color:#8c97af;background-color:rgba(140,151,175,.9);color:#fff;padding:10px;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-webkit-hyphens:auto;hyphens:auto;","Y .notifier-close":"color:#fff;opacity:.8;float:right;padding:0 5px;background:none;border:none;font-size:20px;font-weight:bold;line-height:20px;","Y .notifier-close:hover":"color:#444;text-decoration:none;cursor:pointer;"};for(var i in g){var M=i.replace(/^,/," ,").replace(/X/g,".js-plotly-plot .plotly").replace(/Y/g,".plotly-notifier");d.addStyleRule(M,g[i])}},98222:function(T,p,t){T.exports=t(82887)},27206:function(T,p,t){T.exports=t(60822)},59893:function(T,p,t){T.exports=t(23381)},5224:function(T,p,t){T.exports=t(83832)},59509:function(T,p,t){T.exports=t(72201)},75557:function(T,p,t){T.exports=t(91815)},40338:function(T,p,t){T.exports=t(21462)},35080:function(T,p,t){T.exports=t(51319)},61396:function(T,p,t){T.exports=t(57516)},40549:function(T,p,t){T.exports=t(98128)},49866:function(T,p,t){T.exports=t(99442)},36089:function(T,p,t){T.exports=t(93740)},19548:function(T,p,t){T.exports=t(8729)},35831:function(T,p,t){T.exports=t(93814)},61039:function(T,p,t){T.exports=t(14382)},97040:function(T,p,t){T.exports=t(51759)},77986:function(T,p,t){T.exports=t(10421)},24296:function(T,p,t){T.exports=t(43102)},58872:function(T,p,t){T.exports=t(92165)},29626:function(T,p,t){T.exports=t(3325)},65591:function(T,p,t){T.exports=t(36071)},69738:function(T,p,t){T.exports=t(43905)},92650:function(T,p,t){T.exports=t(35902)},35630:function(T,p,t){T.exports=t(69816)},73434:function(T,p,t){T.exports=t(94507)},27909:function(T,p,t){var d=t(19548);d.register([t(27206),t(5224),t(58872),t(65591),t(69738),t(92650),t(49866),t(25743),t(6197),t(97040),t(85461),t(73434),t(54201),t(81299),t(47645),t(35630),t(77986),t(83043),t(93005),t(96881),t(4534),t(50581),t(40549),t(77900),t(47582),t(35080),t(21641),t(17280),t(5861),t(29626),t(10021),t(65317),t(96268),t(61396),t(35831),t(16122),t(46163),t(40344),t(40338),t(48131),t(36089),t(55334),t(75557),t(19440),t(99488),t(59893),t(97393),t(98222),t(61039),t(24296),t(66398),t(59509)]),T.exports=d},46163:function(T,p,t){T.exports=t(15154)},96881:function(T,p,t){T.exports=t(64943)},50581:function(T,p,t){T.exports=t(21164)},55334:function(T,p,t){T.exports=t(54186)},65317:function(T,p,t){T.exports=t(94873)},10021:function(T,p,t){T.exports=t(67618)},54201:function(T,p,t){T.exports=t(58810)},5861:function(T,p,t){T.exports=t(20593)},16122:function(T,p,t){T.exports=t(29396)},83043:function(T,p,t){T.exports=t(13551)},48131:function(T,p,t){T.exports=t(46858)},47582:function(T,p,t){T.exports=t(17988)},21641:function(T,p,t){T.exports=t(68868)},96268:function(T,p,t){T.exports=t(20467)},19440:function(T,p,t){T.exports=t(91271)},99488:function(T,p,t){T.exports=t(21461)},97393:function(T,p,t){T.exports=t(85956)},25743:function(T,p,t){T.exports=t(52979)},66398:function(T,p,t){T.exports=t(32275)},17280:function(T,p,t){T.exports=t(6419)},77900:function(T,p,t){T.exports=t(61510)},81299:function(T,p,t){T.exports=t(87619)},93005:function(T,p,t){T.exports=t(93601)},40344:function(T,p,t){T.exports=t(96595)},47645:function(T,p,t){T.exports=t(70954)},6197:function(T,p,t){T.exports=t(47462)},4534:function(T,p,t){T.exports=t(17659)},85461:function(T,p,t){T.exports=t(19990)},82884:function(T){T.exports=[{path:"",backoff:0},{path:"M-2.4,-3V3L0.6,0Z",backoff:.6},{path:"M-3.7,-2.5V2.5L1.3,0Z",backoff:1.3},{path:"M-4.45,-3L-1.65,-0.2V0.2L-4.45,3L1.55,0Z",backoff:1.55},{path:"M-2.2,-2.2L-0.2,-0.2V0.2L-2.2,2.2L-1.4,3L1.6,0L-1.4,-3Z",backoff:1.6},{path:"M-4.4,-2.1L-0.6,-0.2V0.2L-4.4,2.1L-4,3L2,0L-4,-3Z",backoff:2},{path:"M2,0A2,2 0 1,1 0,-2A2,2 0 0,1 2,0Z",backoff:0,noRotate:!0},{path:"M2,2V-2H-2V2Z",backoff:0,noRotate:!0}]},50215:function(T,p,t){var d=t(82884),g=t(41940),i=t(85555),M=t(44467).templatedArray;t(24695),T.exports=M("annotation",{visible:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},text:{valType:"string",editType:"calc+arraydraw"},textangle:{valType:"angle",dflt:0,editType:"calc+arraydraw"},font:g({editType:"calc+arraydraw",colorEditType:"arraydraw"}),width:{valType:"number",min:1,dflt:null,editType:"calc+arraydraw"},height:{valType:"number",min:1,dflt:null,editType:"calc+arraydraw"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"arraydraw"},align:{valType:"enumerated",values:["left","center","right"],dflt:"center",editType:"arraydraw"},valign:{valType:"enumerated",values:["top","middle","bottom"],dflt:"middle",editType:"arraydraw"},bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},bordercolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},borderpad:{valType:"number",min:0,dflt:1,editType:"calc+arraydraw"},borderwidth:{valType:"number",min:0,dflt:1,editType:"calc+arraydraw"},showarrow:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},arrowcolor:{valType:"color",editType:"arraydraw"},arrowhead:{valType:"integer",min:0,max:d.length,dflt:1,editType:"arraydraw"},startarrowhead:{valType:"integer",min:0,max:d.length,dflt:1,editType:"arraydraw"},arrowside:{valType:"flaglist",flags:["end","start"],extras:["none"],dflt:"end",editType:"arraydraw"},arrowsize:{valType:"number",min:.3,dflt:1,editType:"calc+arraydraw"},startarrowsize:{valType:"number",min:.3,dflt:1,editType:"calc+arraydraw"},arrowwidth:{valType:"number",min:.1,editType:"calc+arraydraw"},standoff:{valType:"number",min:0,dflt:0,editType:"calc+arraydraw"},startstandoff:{valType:"number",min:0,dflt:0,editType:"calc+arraydraw"},ax:{valType:"any",editType:"calc+arraydraw"},ay:{valType:"any",editType:"calc+arraydraw"},axref:{valType:"enumerated",dflt:"pixel",values:["pixel",i.idRegex.x.toString()],editType:"calc"},ayref:{valType:"enumerated",dflt:"pixel",values:["pixel",i.idRegex.y.toString()],editType:"calc"},xref:{valType:"enumerated",values:["paper",i.idRegex.x.toString()],editType:"calc"},x:{valType:"any",editType:"calc+arraydraw"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto",editType:"calc+arraydraw"},xshift:{valType:"number",dflt:0,editType:"calc+arraydraw"},yref:{valType:"enumerated",values:["paper",i.idRegex.y.toString()],editType:"calc"},y:{valType:"any",editType:"calc+arraydraw"},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"auto",editType:"calc+arraydraw"},yshift:{valType:"number",dflt:0,editType:"calc+arraydraw"},clicktoshow:{valType:"enumerated",values:[!1,"onoff","onout"],dflt:!1,editType:"arraydraw"},xclick:{valType:"any",editType:"arraydraw"},yclick:{valType:"any",editType:"arraydraw"},hovertext:{valType:"string",editType:"arraydraw"},hoverlabel:{bgcolor:{valType:"color",editType:"arraydraw"},bordercolor:{valType:"color",editType:"arraydraw"},font:g({editType:"arraydraw"}),editType:"arraydraw"},captureevents:{valType:"boolean",editType:"arraydraw"},editType:"calc",_deprecated:{ref:{valType:"string",editType:"calc"}}})},3749:function(T,p,t){var d=t(71828),g=t(89298),i=t(92605).draw;function M(f){var l=f._fullLayout;d.filterVisible(l.annotations).forEach(function(a){var u=g.getFromId(f,a.xref),o=g.getFromId(f,a.yref),s=g.getRefType(a.xref),h=g.getRefType(a.yref);a._extremes={},s==="range"&&v(a,u),h==="range"&&v(a,o)})}function v(f,l){var a,u=l._id,o=u.charAt(0),s=f[o],h=f["a"+o],c=f[o+"ref"],m=f["a"+o+"ref"],w=f["_"+o+"padplus"],y=f["_"+o+"padminus"],C={x:1,y:-1}[o]*f[o+"shift"],_=3*f.arrowsize*f.arrowwidth||0,k=_+C,E=_-C,x=3*f.startarrowsize*f.arrowwidth||0,A=x+C,L=x-C;if(m===c){var b=g.findExtremes(l,[l.r2c(s)],{ppadplus:k,ppadminus:E}),R=g.findExtremes(l,[l.r2c(h)],{ppadplus:Math.max(w,A),ppadminus:Math.max(y,L)});a={min:[b.min[0],R.min[0]],max:[b.max[0],R.max[0]]}}else A=h?A+h:A,L=h?L-h:L,a=g.findExtremes(l,[l.r2c(s)],{ppadplus:Math.max(w,k,A),ppadminus:Math.max(y,E,L)});f._extremes[u]=a}T.exports=function(f){var l=f._fullLayout;if(d.filterVisible(l.annotations).length&&f._fullData.length)return d.syncOrAsync([i,M],f)}},44317:function(T,p,t){var d=t(71828),g=t(73972),i=t(44467).arrayEditor;function M(f,l){var a,u,o,s,h,c,m,w=f._fullLayout.annotations,y=[],C=[],_=[],k=(l||[]).length;for(a=0;a0||a.explicitOff.length>0},onClick:function(f,l){var a,u,o=M(f,l),s=o.on,h=o.off.concat(o.explicitOff),c={},m=f._fullLayout.annotations;if(s.length||h.length){for(a=0;a.6666666666666666?"right":"center"),{center:0,middle:0,left:.5,bottom:-.5,right:-.5,top:.5}[yt]}for(var Be=!1,ze=["x","y"],je=0;je1)&&(ot===st?((Vt=ht.r2fraction(k["a"+Ye]))<0||Vt>1)&&(Be=!0):Be=!0),ge=ht._offset+ht.r2p(k[Ye]),Ve=.5}else{var Ke=qt==="domain";Ye==="x"?(Ee=k[Ye],ge=Ke?ht._offset+ht._length*Ee:ge=O.l+O.w*Ee):(Ee=1-k[Ye],ge=Ke?ht._offset+ht._length*Ee:ge=O.t+O.h*Ee),Ve=k.showarrow?.5:Ee}if(k.showarrow){Bt.head=ge;var Je=k["a"+Ye];if($e=Et*Le(.5,k.xanchor)-kt*Le(.5,k.yanchor),ot===st){var qe=f.getRefType(ot);qe==="domain"?(Ye==="y"&&(Je=1-Je),Bt.tail=ht._offset+ht._length*Je):qe==="paper"?Ye==="y"?(Je=1-Je,Bt.tail=O.t+O.h*Je):Bt.tail=O.l+O.w*Je:Bt.tail=ht._offset+ht.r2p(Je),we=$e}else Bt.tail=ge+Je,we=$e+Je;Bt.text=Bt.tail+$e;var nt=I[Ye==="x"?"width":"height"];if(st==="paper"&&(Bt.head=M.constrain(Bt.head,1,nt-1)),ot==="pixel"){var ft=-Math.max(Bt.tail-3,Bt.text),Re=Math.min(Bt.tail+3,Bt.text)-nt;ft>0?(Bt.tail+=ft,Bt.text+=ft):Re>0&&(Bt.tail-=Re,Bt.text-=Re)}Bt.tail+=Ot,Bt.head+=Ot}else we=$e=xt*Le(Ve,Ft),Bt.text=ge+$e;Bt.text+=Ot,$e+=Ot,we+=Ot,k["_"+Ye+"padplus"]=xt/2+we,k["_"+Ye+"padminus"]=xt/2-we,k["_"+Ye+"size"]=xt,k["_"+Ye+"shift"]=$e}if(Be)te.remove();else{var Ne=0,Qe=0;if(k.align!=="left"&&(Ne=(ae-Se)*(k.align==="center"?.5:1)),k.valign!=="top"&&(Qe=(fe-Ce)*(k.valign==="middle"?.5:1)),_e)Pe.select("svg").attr({x:Q+Ne-1,y:Q+Qe}).call(a.setClipUrl,ie?j:null,_);else{var ut=Q+Qe-Me.top,dt=Q+Ne-Me.left;ye.call(o.positionText,dt,ut).call(a.setClipUrl,ie?j:null,_)}oe.select("rect").call(a.setRect,Q,Q,ae,fe),re.call(a.setRect,Z/2,Z/2,be-Z,ke-Z),te.call(a.setTranslate,Math.round($.x.text-be/2),Math.round($.y.text-ke/2)),q.attr({transform:"rotate("+U+","+$.x.text+","+$.y.text+")"});var _t,It=function(Lt,yt){G.selectAll(".annotation-arrow-g").remove();var Pt=$.x.head,wt=$.y.head,Rt=$.x.tail+Lt,Nt=$.y.tail+yt,Yt=$.x.text+Lt,Wt=$.y.text+yt,Xt=M.rotationXYMatrix(U,Yt,Wt),Qt=M.apply2DTransform(Xt),rn=M.apply2DTransform2(Xt),xn=+re.attr("width"),un=+re.attr("height"),An=Yt-.5*xn,Yn=An+xn,kn=Wt-.5*un,sn=kn+un,Tn=[[An,kn,An,sn],[An,sn,Yn,sn],[Yn,sn,Yn,kn],[Yn,kn,An,kn]].map(rn);if(!Tn.reduce(function(or,vr){return or^!!M.segmentsIntersect(Pt,wt,Pt+1e6,wt+1e6,vr[0],vr[1],vr[2],vr[3])},!1)){Tn.forEach(function(or){var vr=M.segmentsIntersect(Rt,Nt,Pt,wt,or[0],or[1],or[2],or[3]);vr&&(Rt=vr.x,Nt=vr.y)});var dn=k.arrowwidth,pn=k.arrowcolor,Dn=k.arrowside,In=G.append("g").style({opacity:l.opacity(pn)}).classed("annotation-arrow-g",!0),jn=In.append("path").attr("d","M"+Rt+","+Nt+"L"+Pt+","+wt).style("stroke-width",dn+"px").call(l.stroke,l.rgb(pn));if(m(jn,Dn,k),z.annotationPosition&&jn.node().parentNode&&!x){var Gn=Pt,qn=wt;if(k.standoff){var lr=Math.sqrt(Math.pow(Pt-Rt,2)+Math.pow(wt-Nt,2));Gn+=k.standoff*(Rt-Pt)/lr,qn+=k.standoff*(Nt-wt)/lr}var rr,Sr,yr=In.append("path").classed("annotation-arrow",!0).classed("anndrag",!0).classed("cursor-move",!0).attr({d:"M3,3H-3V-3H3ZM0,0L"+(Rt-Gn)+","+(Nt-qn),transform:v(Gn,qn)}).style("stroke-width",dn+6+"px").call(l.stroke,"rgba(0,0,0,0)").call(l.fill,"rgba(0,0,0,0)");h.init({element:yr.node(),gd:_,prepFn:function(){var or=a.getTranslate(te);rr=or.x,Sr=or.y,A&&A.autorange&&B(A._name+".autorange",!0),L&&L.autorange&&B(L._name+".autorange",!0)},moveFn:function(or,vr){var _r=Qt(rr,Sr),Kt=_r[0]+or,bn=_r[1]+vr;te.call(a.setTranslate,Kt,bn),N("x",y(A,or,"x",O,k)),N("y",y(L,vr,"y",O,k)),k.axref===k.xref&&N("ax",y(A,or,"ax",O,k)),k.ayref===k.yref&&N("ay",y(L,vr,"ay",O,k)),In.attr("transform",v(or,vr)),q.attr({transform:"rotate("+U+","+Kt+","+bn+")"})},doneFn:function(){g.call("_guiRelayout",_,W());var or=document.querySelector(".js-notes-box-panel");or&&or.redraw(or.selectedObj)}})}}};k.showarrow&&It(0,0),H&&h.init({element:te.node(),gd:_,prepFn:function(){_t=q.attr("transform")},moveFn:function(Lt,yt){var Pt="pointer";if(k.showarrow)k.axref===k.xref?N("ax",y(A,Lt,"ax",O,k)):N("ax",k.ax+Lt),k.ayref===k.yref?N("ay",y(L,yt,"ay",O.w,k)):N("ay",k.ay+yt),It(Lt,yt);else{if(x)return;var wt,Rt;if(A)wt=y(A,Lt,"x",O,k);else{var Nt=k._xsize/O.w,Yt=k.x+(k._xshift-k.xshift)/O.w-Nt/2;wt=h.align(Yt+Lt/O.w,Nt,0,1,k.xanchor)}if(L)Rt=y(L,yt,"y",O,k);else{var Wt=k._ysize/O.h,Xt=k.y-(k._yshift+k.yshift)/O.h-Wt/2;Rt=h.align(Xt-yt/O.h,Wt,0,1,k.yanchor)}N("x",wt),N("y",Rt),A&&L||(Pt=h.getCursor(A?.5:wt,L?.5:Rt,k.xanchor,k.yanchor))}q.attr({transform:v(Lt,yt)+_t}),s(te,Pt)},clickFn:function(Lt,yt){k.captureevents&&_.emit("plotly_clickannotation",de(yt))},doneFn:function(){s(te),g.call("_guiRelayout",_,W());var Lt=document.querySelector(".js-notes-box-panel");Lt&&Lt.redraw(Lt.selectedObj)}})}}}T.exports={draw:function(_){var k=_._fullLayout;k._infolayer.selectAll(".annotation").remove();for(var E=0;E=0,x=u.indexOf("end")>=0,A=y.backoff*_+o.standoff,L=C.backoff*k+o.startstandoff;if(w.nodeName==="line"){s={x:+a.attr("x1"),y:+a.attr("y1")},h={x:+a.attr("x2"),y:+a.attr("y2")};var b=s.x-h.x,R=s.y-h.y;if(m=(c=Math.atan2(R,b))+Math.PI,A&&L&&A+L>Math.sqrt(b*b+R*R))return void G();if(A){if(A*A>b*b+R*R)return void G();var I=A*Math.cos(c),O=A*Math.sin(c);h.x+=I,h.y+=O,a.attr({x2:h.x,y2:h.y})}if(L){if(L*L>b*b+R*R)return void G();var z=L*Math.cos(c),F=L*Math.sin(c);s.x-=z,s.y-=F,a.attr({x1:s.x,y1:s.y})}}else if(w.nodeName==="path"){var B=w.getTotalLength(),N="";if(B1){o=!0;break}}o?M.fullLayout._infolayer.select(".annotation-"+M.id+'[data-index="'+a+'"]').remove():(u._pdata=g(M.glplot.cameraParams,[v.xaxis.r2l(u.x)*f[0],v.yaxis.r2l(u.y)*f[1],v.zaxis.r2l(u.z)*f[2]]),d(M.graphDiv,u,a,M.id,u._xa,u._ya))}}},2468:function(T,p,t){var d=t(73972),g=t(71828);T.exports={moduleType:"component",name:"annotations3d",schema:{subplots:{scene:{annotations:t(26997)}}},layoutAttributes:t(26997),handleDefaults:t(20226),includeBasePlot:function(i,M){var v=d.subplotsRegistry.gl3d;if(v)for(var f=v.attrRegex,l=Object.keys(i),a=0;a=0)))return u;if(m===3)h[m]>1&&(h[m]=1);else if(h[m]>=1)return u}var w=Math.round(255*h[0])+", "+Math.round(255*h[1])+", "+Math.round(255*h[2]);return c?"rgba("+w+", "+h[3]+")":"rgb("+w+")"}M.tinyRGB=function(u){var o=u.toRgb();return"rgb("+Math.round(o.r)+", "+Math.round(o.g)+", "+Math.round(o.b)+")"},M.rgb=function(u){return M.tinyRGB(d(u))},M.opacity=function(u){return u?d(u).getAlpha():0},M.addOpacity=function(u,o){var s=d(u).toRgb();return"rgba("+Math.round(s.r)+", "+Math.round(s.g)+", "+Math.round(s.b)+", "+o+")"},M.combine=function(u,o){var s=d(u).toRgb();if(s.a===1)return d(u).toRgbString();var h=d(o||l).toRgb(),c=h.a===1?h:{r:255*(1-h.a)+h.r*h.a,g:255*(1-h.a)+h.g*h.a,b:255*(1-h.a)+h.b*h.a},m={r:c.r*(1-s.a)+s.r*s.a,g:c.g*(1-s.a)+s.g*s.a,b:c.b*(1-s.a)+s.b*s.a};return d(m).toRgbString()},M.contrast=function(u,o,s){var h=d(u);return h.getAlpha()!==1&&(h=d(M.combine(u,l))),(h.isDark()?o?h.lighten(o):l:s?h.darken(s):f).toString()},M.stroke=function(u,o){var s=d(o);u.style({stroke:M.tinyRGB(s),"stroke-opacity":s.getAlpha()})},M.fill=function(u,o){var s=d(o);u.style({fill:M.tinyRGB(s),"fill-opacity":s.getAlpha()})},M.clean=function(u){if(u&&typeof u=="object"){var o,s,h,c,m=Object.keys(u);for(o=0;o0?Je>=Ne:Je<=Ne));qe++)Je>ut&&Je0?Je>=Ne:Je<=Ne));qe++)Je>Ke[0]&&Je1){var ot=Math.pow(10,Math.floor(Math.log(st)/Math.LN10));$e*=ot*l.roundUp(st/ot,[2,5,10]),(Math.abs(_e.start)/_e.size+1e-6)%1<2e-6&&(Ee.tick0=0)}Ee.dtick=$e}Ee.domain=W?[ge+Q/ue.h,ge+ke-Q/ue.h]:[ge+X/ue.w,ge+ke-X/ue.w],Ee.setScale(),F.attr("transform",a(Math.round(ue.l),Math.round(ue.t)));var ht,bt=F.select("."+L.cbtitleunshift).attr("transform",a(-Math.round(ue.l),-Math.round(ue.t))),Et=Ee.ticklabelposition,kt=Ee.title.font.size,xt=F.select("."+L.cbaxis),Ft=0,Ot=0;function Bt(qt,Vt){var Ke={propContainer:Ee,propName:B._propPrefix+"title",traceIndex:B._traceIndex,_meta:B._meta,placeholder:oe._dfltTitle.colorbar,containerGroup:F.select("."+L.cbtitle)},Je=qt.charAt(0)==="h"?qt.substr(1):"h"+qt;F.selectAll("."+Je+",."+Je+"-math-group").remove(),c.draw(N,qt,u(Ke,Vt||{}))}return l.syncOrAsync([i.previousPromises,function(){var qt,Vt;(W&&Ve||!W&&!Ve)&&(me==="top"&&(qt=X+ue.l+ue.w*re,Vt=Q+ue.t+ue.h*(1-ge-ke)+3+.75*kt),me==="bottom"&&(qt=X+ue.l+ue.w*re,Vt=Q+ue.t+ue.h*(1-ge)-3-.25*kt),me==="right"&&(Vt=Q+ue.t+ue.h*ie+3+.75*kt,qt=X+ue.l+ue.w*ge),Bt(Ee._id+"title",{attributes:{x:qt,y:Vt,"text-anchor":W?"start":"middle"}}))},function(){if(!W&&!Ve||W&&Ve){var qt,Vt=F.select("."+L.cbtitle),Ke=Vt.select("text"),Je=[-q/2,q/2],qe=Vt.select(".h"+Ee._id+"title-math-group").node(),nt=15.6;if(Ke.node()&&(nt=parseInt(Ke.node().style.fontSize,10)*E),qe?(qt=s.bBox(qe),Ot=qt.width,(Ft=qt.height)>nt&&(Je[1]-=(Ft-nt)/2)):Ke.node()&&!Ke.classed(L.jsPlaceholder)&&(qt=s.bBox(Ke.node()),Ot=qt.width,Ft=qt.height),W){if(Ft){if(Ft+=5,me==="top")Ee.domain[1]-=Ft/ue.h,Je[1]*=-1;else{Ee.domain[0]+=Ft/ue.h;var ft=m.lineCount(Ke);Je[1]+=(1-ft)*nt}Vt.attr("transform",a(Je[0],Je[1])),Ee.setScale()}}else Ot&&(me==="right"&&(Ee.domain[0]+=(Ot+kt/2)/ue.w),Vt.attr("transform",a(Je[0],Je[1])),Ee.setScale())}F.selectAll("."+L.cbfills+",."+L.cblines).attr("transform",W?a(0,Math.round(ue.h*(1-Ee.domain[1]))):a(Math.round(ue.w*Ee.domain[0]),0)),xt.attr("transform",W?a(0,Math.round(-ue.t)):a(Math.round(-ue.l),0));var Re=F.select("."+L.cbfills).selectAll("rect."+L.cbfill).attr("style","").data(Se);Re.enter().append("rect").classed(L.cbfill,!0).style("stroke","none"),Re.exit().remove();var Ne=pe.map(Ee.c2p).map(Math.round).sort(function(It,Lt){return It-Lt});Re.each(function(It,Lt){var yt=[Lt===0?pe[0]:(Se[Lt]+Se[Lt-1])/2,Lt===Se.length-1?pe[1]:(Se[Lt]+Se[Lt+1])/2].map(Ee.c2p).map(Math.round);W&&(yt[1]=l.constrain(yt[1]+(yt[1]>yt[0])?1:-1,Ne[0],Ne[1]));var Pt=d.select(this).attr(W?"x":"y",Le).attr(W?"y":"x",d.min(yt)).attr(W?"width":"height",Math.max(ae,2)).attr(W?"height":"width",Math.max(d.max(yt)-d.min(yt),2));if(B._fillgradient)s.gradient(Pt,N,B._id,W?"vertical":"horizontalreversed",B._fillgradient,"fill");else{var wt=Pe(It).replace("e-","");Pt.attr("fill",g(wt).toHexString())}});var Qe=F.select("."+L.cblines).selectAll("path."+L.cbline).data(ye.color&&ye.width?Ce:[]);Qe.enter().append("path").classed(L.cbline,!0),Qe.exit().remove(),Qe.each(function(It){var Lt=Le,yt=Math.round(Ee.c2p(It))+ye.width/2%1;d.select(this).attr("d","M"+(W?Lt+","+yt:yt+","+Lt)+(W?"h":"v")+ae).call(s.lineGroupStyle,ye.width,xe(It),ye.dash)}),xt.selectAll("g."+Ee._id+"tick,path").remove();var ut=Le+ae+(q||0)/2-(B.ticks==="outside"?1:0),dt=v.calcTicks(Ee),_t=v.getTickSigns(Ee)[2];return v.drawTicks(N,Ee,{vals:Ee.ticks==="inside"?v.clipEnds(Ee,dt):dt,layer:xt,path:v.makeTickPath(Ee,ut,_t),transFn:v.makeTransTickFn(Ee)}),v.drawLabels(N,Ee,{vals:dt,layer:xt,transFn:v.makeTransTickLabelFn(Ee),labelFns:v.makeLabelFns(Ee,ut)})},function(){if(W&&!Ve||!W&&Ve){var qt,Vt,Ke=Ee.position||0,Je=Ee._offset+Ee._length/2;if(me==="right")Vt=Je,qt=ue.l+ue.w*Ke+10+kt*(Ee.showticklabels?1:.5);else if(qt=Je,me==="bottom"&&(Vt=ue.t+ue.h*Ke+10+(Et.indexOf("inside")===-1?Ee.tickfont.size:0)+(Ee.ticks!=="intside"&&B.ticklen||0)),me==="top"){var qe=de.text.split("
").length;Vt=ue.t+ue.h*Ke+10-ae-E*kt*qe}Bt((W?"h":"v")+Ee._id+"title",{avoid:{selection:d.select(N).selectAll("g."+Ee._id+"tick"),side:me,offsetTop:W?0:ue.t,offsetLeft:W?ue.l:0,maxShift:W?oe.width:oe.height},attributes:{x:qt,y:Vt,"text-anchor":"middle"},transform:{rotate:W?-90:0,offset:0}})}},i.previousPromises,function(){var qt,Vt=ae+q/2;Et.indexOf("inside")===-1&&(qt=s.bBox(xt.node()),Vt+=W?qt.width:qt.height),ht=bt.select("text");var Ke=0,Je=W&&me==="top",qe=!W&&me==="right",nt=0;if(ht.node()&&!ht.classed(L.jsPlaceholder)){var ft,Re=bt.select(".h"+Ee._id+"title-math-group").node();Re&&(W&&Ve||!W&&!Ve)?(Ke=(qt=s.bBox(Re)).width,ft=qt.height):(Ke=(qt=s.bBox(bt.node())).right-ue.l-(W?Le:we),ft=qt.bottom-ue.t-(W?we:Le),W||me!=="top"||(Vt+=qt.height,nt=qt.height)),qe&&(ht.attr("transform",a(Ke/2+kt/2,0)),Ke*=2),Vt=Math.max(Vt,W?Ke:ft)}var Ne=2*(W?X:Q)+Vt+H+q/2,Qe=0;!W&&de.text&&Z==="bottom"&&ie<=0&&(Ne+=Qe=Ne/2,nt+=Qe),oe._hColorbarMoveTitle=Qe,oe._hColorbarMoveCBTitle=nt;var ut=H+q;F.select("."+L.cbbg).attr("x",(W?Le:we)-ut/2-(W?X:0)).attr("y",(W?we:Le)-(W?be:Q+nt-Qe)).attr(W?"width":"height",Math.max(Ne-Qe,2)).attr(W?"height":"width",Math.max(be+ut,2)).call(h.fill,ne).call(h.stroke,B.bordercolor).style("stroke-width",H);var dt=qe?Math.max(Ke-10,0):0;if(F.selectAll("."+L.cboutline).attr("x",(W?Le:we+X)+dt).attr("y",(W?we+Q-be:Le)+(Je?Ft:0)).attr(W?"width":"height",Math.max(ae,2)).attr(W?"height":"width",Math.max(be-(W?2*Q+Ft:2*X+dt),2)).call(h.stroke,B.outlinecolor).style({fill:"none","stroke-width":q}),F.attr("transform",a(ue.l-(W?Be*Ne:0),ue.t-(W?0:(1-ze)*Ne-nt))),!W&&(H||g(ne).getAlpha()&&!g.equals(oe.paper_bgcolor,ne))){var _t=xt.selectAll("text"),It=_t[0].length,Lt=F.select("."+L.cbbg).node(),yt=s.bBox(Lt),Pt=s.getTranslate(F);_t.each(function(Qt,rn){var xn=It-1;if(rn===0||rn===xn){var un,An=s.bBox(this),Yn=s.getTranslate(this);if(rn===xn){var kn=An.right+Yn.x;(un=yt.right+Pt.x+we-H-2+re-kn)>0&&(un=0)}else if(rn===0){var sn=An.left+Yn.x;(un=yt.left+Pt.x+we+H+2-sn)<0&&(un=0)}un&&(It<3?this.setAttribute("transform","translate("+un+",0) "+this.getAttribute("transform")):this.setAttribute("visibility","hidden"))}})}var wt={},Rt=x[te],Nt=A[te],Yt=x[Z],Wt=A[Z],Xt=Ne-ae;W?($==="pixels"?(wt.y=ie,wt.t=be*Yt,wt.b=be*Wt):(wt.t=wt.b=0,wt.yt=ie+j*Yt,wt.yb=ie-j*Wt),G==="pixels"?(wt.x=re,wt.l=Ne*Rt,wt.r=Ne*Nt):(wt.l=Xt*Rt,wt.r=Xt*Nt,wt.xl=re-U*Rt,wt.xr=re+U*Nt)):($==="pixels"?(wt.x=re,wt.l=be*Rt,wt.r=be*Nt):(wt.l=wt.r=0,wt.xl=re+j*Rt,wt.xr=re-j*Nt),G==="pixels"?(wt.y=1-ie,wt.t=Ne*Yt,wt.b=Ne*Wt):(wt.t=Xt*Yt,wt.b=Xt*Wt,wt.yt=ie-U*Yt,wt.yb=ie+U*Wt)),i.autoMargin(N,B._id,wt)}],N)}(O,I,b);z&&z.then&&(b._promises||[]).push(z),b._context.edits.colorbarPosition&&function(F,B,N){var W,j,$,U=B.orientation==="v",G=N._fullLayout._size;f.init({element:F.node(),gd:N,prepFn:function(){W=F.attr("transform"),o(F)},moveFn:function(q,H){F.attr("transform",W+a(q,H)),j=f.align((U?B._uFrac:B._vFrac)+q/G.w,U?B._thickFrac:B._lenFrac,0,1,B.xanchor),$=f.align((U?B._vFrac:1-B._uFrac)-H/G.h,U?B._lenFrac:B._thickFrac,0,1,B.yanchor);var ne=f.getCursor(j,$,B.xanchor,B.yanchor);o(F,ne)},doneFn:function(){if(o(F),j!==void 0&&$!==void 0){var q={};q[B._propPrefix+"x"]=j,q[B._propPrefix+"y"]=$,B._traceIndex!==void 0?M.call("_guiRestyle",N,q,B._traceIndex):M.call("_guiRelayout",N,q)}}})}(O,I,b)}),R.exit().each(function(I){i.autoMargin(b,I._id)}).remove(),R.order()}}},76228:function(T,p,t){var d=t(71828);T.exports=function(g){return d.isPlainObject(g.colorbar)}},12311:function(T,p,t){T.exports={moduleType:"component",name:"colorbar",attributes:t(63583),supplyDefaults:t(62499),draw:t(98981).draw,hasColorbar:t(76228)}},50693:function(T,p,t){var d=t(63583),g=t(30587).counter,i=t(78607),M=t(63282).scales;function v(f){return"`"+f+"`"}i(M),T.exports=function(f,l){f=f||"";var a,u=(l=l||{}).cLetter||"c",o=("onlyIfNumerical"in l&&l.onlyIfNumerical,"noScale"in l?l.noScale:f==="marker.line"),s="showScaleDflt"in l?l.showScaleDflt:u==="z",h=typeof l.colorscaleDflt=="string"?M[l.colorscaleDflt]:null,c=l.editTypeOverride||"",m=f?f+".":"";"colorAttr"in l?(a=l.colorAttr,l.colorAttr):v(m+(a={z:"z",c:"color"}[u]));var w=u+"auto",y=u+"min",C=u+"max",_=u+"mid",k={};k[y]=k[C]=void 0;var E={};E[w]=!1;var x={};return a==="color"&&(x.color={valType:"color",arrayOk:!0,editType:c||"style"},l.anim&&(x.color.anim=!0)),x[w]={valType:"boolean",dflt:!0,editType:"calc",impliedEdits:k},x[y]={valType:"number",dflt:null,editType:c||"plot",impliedEdits:E},x[C]={valType:"number",dflt:null,editType:c||"plot",impliedEdits:E},x[_]={valType:"number",dflt:null,editType:"calc",impliedEdits:k},x.colorscale={valType:"colorscale",editType:"calc",dflt:h,impliedEdits:{autocolorscale:!1}},x.autocolorscale={valType:"boolean",dflt:l.autoColorDflt!==!1,editType:"calc",impliedEdits:{colorscale:void 0}},x.reversescale={valType:"boolean",dflt:!1,editType:"plot"},o||(x.showscale={valType:"boolean",dflt:s,editType:"calc"},x.colorbar=d),l.noColorAxis||(x.coloraxis={valType:"subplotid",regex:g("coloraxis"),dflt:null,editType:"calc"}),x}},78803:function(T,p,t){var d=t(92770),g=t(71828),i=t(52075).extractOpts;T.exports=function(M,v,f){var l,a=M._fullLayout,u=f.vals,o=f.containerStr,s=o?g.nestedProperty(v,o).get():v,h=i(s),c=h.auto!==!1,m=h.min,w=h.max,y=h.mid,C=function(){return g.aggNums(Math.min,null,u)},_=function(){return g.aggNums(Math.max,null,u)};m===void 0?m=C():c&&(m=s._colorAx&&d(m)?Math.min(m,C()):C()),w===void 0?w=_():c&&(w=s._colorAx&&d(w)?Math.max(w,_()):_()),c&&y!==void 0&&(w-y>y-m?m=y-(w-y):w-y=0?a.colorscale.sequential:a.colorscale.sequentialminus,h._sync("colorscale",l))}},33046:function(T,p,t){var d=t(71828),g=t(52075).hasColorscale,i=t(52075).extractOpts;T.exports=function(M,v){function f(c,m){var w=c["_"+m];w!==void 0&&(c[m]=w)}function l(c,m){var w=m.container?d.nestedProperty(c,m.container).get():c;if(w)if(w.coloraxis)w._colorAx=v[w.coloraxis];else{var y=i(w),C=y.auto;(C||y.min===void 0)&&f(w,m.min),(C||y.max===void 0)&&f(w,m.max),y.autocolorscale&&f(w,"colorscale")}}for(var a=0;a=0;C--,_++){var k=m[C];y[_]=[1-k[0],k[1]]}return y}function h(m,w){w=w||{};for(var y=m.domain,C=m.range,_=C.length,k=new Array(_),E=0;E<_;E++){var x=g(C[E]).toRgb();k[E]=[x.r,x.g,x.b,x.a]}var A,L=d.scale.linear().domain(y).range(k).clamp(!0),b=w.noNumericCheck,R=w.returnArray;return(A=b&&R?L:b?function(I){return c(L(I))}:R?function(I){return i(I)?L(I):g(I).isValid()?I:v.defaultLine}:function(I){return i(I)?c(L(I)):g(I).isValid()?I:v.defaultLine}).domain=L.domain,A.range=function(){return C},A}function c(m){var w={r:m[0],g:m[1],b:m[2],a:m[3]};return g(w).toRgbString()}T.exports={hasColorscale:function(m,w,y){var C=w?M.nestedProperty(m,w).get()||{}:m,_=C[y||"color"],k=!1;if(M.isArrayOrTypedArray(_)){for(var E=0;E<_.length;E++)if(i(_[E])){k=!0;break}}return M.isPlainObject(C)&&(k||C.showscale===!0||i(C.cmin)&&i(C.cmax)||f(C.colorscale)||M.isPlainObject(C.colorbar))},extractOpts:u,extractScale:o,flipScale:s,makeColorScaleFunc:h,makeColorScaleFuncFromTrace:function(m,w){return h(o(m),w)}}},21081:function(T,p,t){var d=t(63282),g=t(52075);T.exports={moduleType:"component",name:"colorscale",attributes:t(50693),layoutAttributes:t(72673),supplyLayoutDefaults:t(30959),handleDefaults:t(1586),crossTraceDefaults:t(33046),calc:t(78803),scales:d.scales,defaultScale:d.defaultScale,getScale:d.get,isValidScale:d.isValid,hasColorscale:g.hasColorscale,extractOpts:g.extractOpts,extractScale:g.extractScale,flipScale:g.flipScale,makeColorScaleFunc:g.makeColorScaleFunc,makeColorScaleFuncFromTrace:g.makeColorScaleFuncFromTrace}},72673:function(T,p,t){var d=t(1426).extendFlat,g=t(50693),i=t(63282).scales;T.exports={editType:"calc",colorscale:{editType:"calc",sequential:{valType:"colorscale",dflt:i.Reds,editType:"calc"},sequentialminus:{valType:"colorscale",dflt:i.Blues,editType:"calc"},diverging:{valType:"colorscale",dflt:i.RdBu,editType:"calc"}},coloraxis:d({_isSubplotObj:!0,editType:"calc"},g("",{colorAttr:"corresponding trace color array(s)",noColorAxis:!0,showScaleDflt:!0}))}},30959:function(T,p,t){var d=t(71828),g=t(44467),i=t(72673),M=t(1586);T.exports=function(v,f){function l(w,y){return d.coerce(v,f,i,w,y)}l("colorscale.sequential"),l("colorscale.sequentialminus"),l("colorscale.diverging");var a,u,o=f._colorAxes;function s(w,y){return d.coerce(a,u,i.coloraxis,w,y)}for(var h in o){var c=o[h];if(c[0])a=v[h]||{},(u=g.newContainer(f,h,"coloraxis"))._name=h,M(a,u,f,s,{prefix:"",cLetter:"c"});else{for(var m=0;m1.3333333333333333-f?v:f}},70461:function(T,p,t){var d=t(71828),g=[["sw-resize","s-resize","se-resize"],["w-resize","move","e-resize"],["nw-resize","n-resize","ne-resize"]];T.exports=function(i,M,v,f){return i=v==="left"?0:v==="center"?1:v==="right"?2:d.constrain(Math.floor(3*i),0,2),M=f==="bottom"?0:f==="middle"?1:f==="top"?2:d.constrain(Math.floor(3*M),0,2),g[M][i]}},64505:function(T,p){p.selectMode=function(t){return t==="lasso"||t==="select"},p.drawMode=function(t){return t==="drawclosedpath"||t==="drawopenpath"||t==="drawline"||t==="drawrect"||t==="drawcircle"},p.openMode=function(t){return t==="drawline"||t==="drawopenpath"},p.rectMode=function(t){return t==="select"||t==="drawline"||t==="drawrect"||t==="drawcircle"},p.freeMode=function(t){return t==="lasso"||t==="drawclosedpath"||t==="drawopenpath"},p.selectingOrDrawing=function(t){return p.freeMode(t)||p.rectMode(t)}},28569:function(T,p,t){var d=t(48956),g=t(57035),i=t(38520),M=t(71828).removeElement,v=t(85555),f=T.exports={};f.align=t(92807),f.getCursor=t(70461);var l=t(26041);function a(){var o=document.createElement("div");o.className="dragcover";var s=o.style;return s.position="fixed",s.left=0,s.right=0,s.top=0,s.bottom=0,s.zIndex=999999999,s.background="none",document.body.appendChild(o),o}function u(o){return d(o.changedTouches?o.changedTouches[0]:o,document.body)}f.unhover=l.wrapped,f.unhoverRaw=l.raw,f.init=function(o){var s,h,c,m,w,y,C,_,k=o.gd,E=1,x=k._context.doubleClickDelay,A=o.element;k._mouseDownTime||(k._mouseDownTime=0),A.style.pointerEvents="all",A.onmousedown=b,i?(A._ontouchstart&&A.removeEventListener("touchstart",A._ontouchstart),A._ontouchstart=b,A.addEventListener("touchstart",b,{passive:!1})):A.ontouchstart=b;var L=o.clampFn||function(O,z,F){return Math.abs(O)x&&(E=Math.max(E-1,1)),k._dragged)o.doneFn&&o.doneFn();else if(o.clickFn&&o.clickFn(E,y),!_){var z;try{z=new MouseEvent("click",O)}catch{var F=u(O);(z=document.createEvent("MouseEvents")).initMouseEvent("click",O.bubbles,O.cancelable,O.view,O.detail,O.screenX,O.screenY,F[0],F[1],O.ctrlKey,O.altKey,O.shiftKey,O.metaKey,O.button,O.relatedTarget)}C.dispatchEvent(z)}k._dragging=!1,k._dragged=!1}else k._dragged=!1}},f.coverSlip=a},26041:function(T,p,t){var d=t(11086),g=t(79990),i=t(24401).getGraphDiv,M=t(26675),v=T.exports={};v.wrapped=function(f,l,a){(f=i(f))._fullLayout&&g.clear(f._fullLayout._uid+M.HOVERID),v.raw(f,l,a)},v.raw=function(f,l){var a=f._fullLayout,u=f._hoverdata;l||(l={}),l.target&&!f._dragged&&d.triggerHandler(f,"plotly_beforehover",l)===!1||(a._hoverlayer.selectAll("g").remove(),a._hoverlayer.selectAll("line").remove(),a._hoverlayer.selectAll("circle").remove(),f._hoverdata=void 0,l.target&&u&&f.emit("plotly_unhover",{event:l,points:u}))}},79952:function(T,p){p.P={valType:"string",values:["solid","dot","dash","longdash","dashdot","longdashdot"],dflt:"solid",editType:"style"},p.u={shape:{valType:"enumerated",values:["","/","\\","x","-","|","+","."],dflt:"",arrayOk:!0,editType:"style"},fillmode:{valType:"enumerated",values:["replace","overlay"],dflt:"replace",editType:"style"},bgcolor:{valType:"color",arrayOk:!0,editType:"style"},fgcolor:{valType:"color",arrayOk:!0,editType:"style"},fgopacity:{valType:"number",editType:"style",min:0,max:1},size:{valType:"number",min:0,dflt:8,arrayOk:!0,editType:"style"},solidity:{valType:"number",min:0,max:1,dflt:.3,arrayOk:!0,editType:"style"},editType:"style"}},91424:function(T,p,t){var d=t(39898),g=t(71828),i=g.numberFormat,M=t(92770),v=t(84267),f=t(73972),l=t(7901),a=t(21081),u=g.strTranslate,o=t(63893),s=t(77922),h=t(18783).LINE_SPACING,c=t(37822).DESELECTDIM,m=t(34098),w=t(39984),y=t(23469).appendArrayPointValue,C=T.exports={};function _(_e,Me,Se){var Ce=Me.fillpattern,ae=Ce&&C.getPatternAttr(Ce.shape,0,"");if(ae){var fe=C.getPatternAttr(Ce.bgcolor,0,null),be=C.getPatternAttr(Ce.fgcolor,0,null),ke=Ce.fgopacity,Le=C.getPatternAttr(Ce.size,0,8),Be=C.getPatternAttr(Ce.solidity,0,.3),ze=Me.uid;C.pattern(_e,"point",Se,ze,ae,Le,Be,void 0,Ce.fillmode,fe,be,ke)}else Me.fillcolor&&_e.call(l.fill,Me.fillcolor)}C.font=function(_e,Me,Se,Ce){g.isPlainObject(Me)&&(Ce=Me.color,Se=Me.size,Me=Me.family),Me&&_e.style("font-family",Me),Se+1&&_e.style("font-size",Se+"px"),Ce&&_e.call(l.fill,Ce)},C.setPosition=function(_e,Me,Se){_e.attr("x",Me).attr("y",Se)},C.setSize=function(_e,Me,Se){_e.attr("width",Me).attr("height",Se)},C.setRect=function(_e,Me,Se,Ce,ae){_e.call(C.setPosition,Me,Se).call(C.setSize,Ce,ae)},C.translatePoint=function(_e,Me,Se,Ce){var ae=Se.c2p(_e.x),fe=Ce.c2p(_e.y);return!!(M(ae)&&M(fe)&&Me.node())&&(Me.node().nodeName==="text"?Me.attr("x",ae).attr("y",fe):Me.attr("transform",u(ae,fe)),!0)},C.translatePoints=function(_e,Me,Se){_e.each(function(Ce){var ae=d.select(this);C.translatePoint(Ce,ae,Me,Se)})},C.hideOutsideRangePoint=function(_e,Me,Se,Ce,ae,fe){Me.attr("display",Se.isPtWithinRange(_e,ae)&&Ce.isPtWithinRange(_e,fe)?null:"none")},C.hideOutsideRangePoints=function(_e,Me){if(Me._hasClipOnAxisFalse){var Se=Me.xaxis,Ce=Me.yaxis;_e.each(function(ae){var fe=ae[0].trace,be=fe.xcalendar,ke=fe.ycalendar,Le=f.traceIs(fe,"bar-like")?".bartext":".point,.textpoint";_e.selectAll(Le).each(function(Be){C.hideOutsideRangePoint(Be,d.select(this),Se,Ce,be,ke)})})}},C.crispRound=function(_e,Me,Se){return Me&&M(Me)?_e._context.staticPlot?Me:Me<1?1:Math.round(Me):Se||0},C.singleLineStyle=function(_e,Me,Se,Ce,ae){Me.style("fill","none");var fe=(((_e||[])[0]||{}).trace||{}).line||{},be=Se||fe.width||0,ke=ae||fe.dash||"";l.stroke(Me,Ce||fe.color),C.dashLine(Me,ke,be)},C.lineGroupStyle=function(_e,Me,Se,Ce){_e.style("fill","none").each(function(ae){var fe=(((ae||[])[0]||{}).trace||{}).line||{},be=Me||fe.width||0,ke=Ce||fe.dash||"";d.select(this).call(l.stroke,Se||fe.color).call(C.dashLine,ke,be)})},C.dashLine=function(_e,Me,Se){Se=+Se||0,Me=C.dashStyle(Me,Se),_e.style({"stroke-dasharray":Me,"stroke-width":Se+"px"})},C.dashStyle=function(_e,Me){Me=+Me||1;var Se=Math.max(Me,3);return _e==="solid"?_e="":_e==="dot"?_e=Se+"px,"+Se+"px":_e==="dash"?_e=3*Se+"px,"+3*Se+"px":_e==="longdash"?_e=5*Se+"px,"+5*Se+"px":_e==="dashdot"?_e=3*Se+"px,"+Se+"px,"+Se+"px,"+Se+"px":_e==="longdashdot"&&(_e=5*Se+"px,"+2*Se+"px,"+Se+"px,"+2*Se+"px"),_e},C.singleFillStyle=function(_e,Me){var Se=d.select(_e.node());_(_e,((Se.data()[0]||[])[0]||{}).trace||{},Me)},C.fillGroupStyle=function(_e,Me){_e.style("stroke-width",0).each(function(Se){var Ce=d.select(this);Se[0].trace&&_(Ce,Se[0].trace,Me)})};var k=t(90998);C.symbolNames=[],C.symbolFuncs=[],C.symbolBackOffs=[],C.symbolNeedLines={},C.symbolNoDot={},C.symbolNoFill={},C.symbolList=[],Object.keys(k).forEach(function(_e){var Me=k[_e],Se=Me.n;C.symbolList.push(Se,String(Se),_e,Se+100,String(Se+100),_e+"-open"),C.symbolNames[Se]=_e,C.symbolFuncs[Se]=Me.f,C.symbolBackOffs[Se]=Me.backoff||0,Me.needLine&&(C.symbolNeedLines[Se]=!0),Me.noDot?C.symbolNoDot[Se]=!0:C.symbolList.push(Se+200,String(Se+200),_e+"-dot",Se+300,String(Se+300),_e+"-open-dot"),Me.noFill&&(C.symbolNoFill[Se]=!0)});var E=C.symbolNames.length;function x(_e,Me,Se,Ce){var ae=_e%100;return C.symbolFuncs[ae](Me,Se,Ce)+(_e>=200?"M0,0.5L0.5,0L0,-0.5L-0.5,0Z":"")}C.symbolNumber=function(_e){if(M(_e))_e=+_e;else if(typeof _e=="string"){var Me=0;_e.indexOf("-open")>0&&(Me=100,_e=_e.replace("-open","")),_e.indexOf("-dot")>0&&(Me+=200,_e=_e.replace("-dot","")),(_e=C.symbolNames.indexOf(_e))>=0&&(_e+=Me)}return _e%100>=E||_e>=400?0:Math.floor(Math.max(_e,0))};var A={x1:1,x2:0,y1:0,y2:0},L={x1:0,x2:0,y1:1,y2:0},b=i("~f"),R={radial:{node:"radialGradient"},radialreversed:{node:"radialGradient",reversed:!0},horizontal:{node:"linearGradient",attrs:A},horizontalreversed:{node:"linearGradient",attrs:A,reversed:!0},vertical:{node:"linearGradient",attrs:L},verticalreversed:{node:"linearGradient",attrs:L,reversed:!0}};C.gradient=function(_e,Me,Se,Ce,ae,fe){for(var be=ae.length,ke=R[Ce],Le=new Array(be),Be=0;Be=100;var Be=Pe(_e,Se),ze=Q(_e,Se);Me.attr("d",x(Le,ke,Be,ze))}var je,ge,we,Ee=!1;if(_e.so)we=be.outlierwidth,ge=be.outliercolor,je=fe.outliercolor;else{var Ve=(be||{}).width;we=(_e.mlw+1||Ve+1||(_e.trace?(_e.trace.marker.line||{}).width:0)+1)-1||0,ge="mlc"in _e?_e.mlcc=Ce.lineScale(_e.mlc):g.isArrayOrTypedArray(be.color)?l.defaultLine:be.color,g.isArrayOrTypedArray(fe.color)&&(je=l.defaultLine,Ee=!0),je="mc"in _e?_e.mcc=Ce.markerScale(_e.mc):fe.color||"rgba(0,0,0,0)",Ce.selectedColorFn&&(je=Ce.selectedColorFn(_e))}if(_e.om)Me.call(l.stroke,je).style({"stroke-width":(we||1)+"px",fill:"none"});else{Me.style("stroke-width",(_e.isBlank?0:we)+"px");var $e=fe.gradient,Ye=_e.mgt;Ye?Ee=!0:Ye=$e&&$e.type,g.isArrayOrTypedArray(Ye)&&(Ye=Ye[0],R[Ye]||(Ye=0));var st=fe.pattern,ot=st&&C.getPatternAttr(st.shape,_e.i,"");if(Ye&&Ye!=="none"){var ht=_e.mgc;ht?Ee=!0:ht=$e.color;var bt=Se.uid;Ee&&(bt+="-"+_e.i),C.gradient(Me,ae,bt,Ye,[[0,ht],[1,je]],"fill")}else if(ot){var Et=C.getPatternAttr(st.bgcolor,_e.i,null),kt=C.getPatternAttr(st.fgcolor,_e.i,null),xt=st.fgopacity,Ft=C.getPatternAttr(st.size,_e.i,8),Ot=C.getPatternAttr(st.solidity,_e.i,.3),Bt=_e.mcc||g.isArrayOrTypedArray(st.shape)||g.isArrayOrTypedArray(st.bgcolor)||g.isArrayOrTypedArray(st.size)||g.isArrayOrTypedArray(st.solidity),qt=Se.uid;Bt&&(qt+="-"+_e.i),C.pattern(Me,"point",ae,qt,ot,Ft,Ot,_e.mcc,st.fillmode,Et,kt,xt)}else l.fill(Me,je);we&&l.stroke(Me,ge)}},C.makePointStyleFns=function(_e){var Me={},Se=_e.marker;return Me.markerScale=C.tryColorscale(Se,""),Me.lineScale=C.tryColorscale(Se,"line"),f.traceIs(_e,"symbols")&&(Me.ms2mrc=m.isBubble(_e)?w(_e):function(){return(Se.size||6)/2}),_e.selectedpoints&&g.extendFlat(Me,C.makeSelectedPointStyleFns(_e)),Me},C.makeSelectedPointStyleFns=function(_e){var Me={},Se=_e.selected||{},Ce=_e.unselected||{},ae=_e.marker||{},fe=Se.marker||{},be=Ce.marker||{},ke=ae.opacity,Le=fe.opacity,Be=be.opacity,ze=Le!==void 0,je=Be!==void 0;(g.isArrayOrTypedArray(ke)||ze||je)&&(Me.selectedOpacityFn=function(ht){var bt=ht.mo===void 0?ae.opacity:ht.mo;return ht.selected?ze?Le:bt:je?Be:c*bt});var ge=ae.color,we=fe.color,Ee=be.color;(we||Ee)&&(Me.selectedColorFn=function(ht){var bt=ht.mcc||ge;return ht.selected?we||bt:Ee||bt});var Ve=ae.size,$e=fe.size,Ye=be.size,st=$e!==void 0,ot=Ye!==void 0;return f.traceIs(_e,"symbols")&&(st||ot)&&(Me.selectedSizeFn=function(ht){var bt=ht.mrc||Ve/2;return ht.selected?st?$e/2:bt:ot?Ye/2:bt}),Me},C.makeSelectedTextStyleFns=function(_e){var Me={},Se=_e.selected||{},Ce=_e.unselected||{},ae=_e.textfont||{},fe=Se.textfont||{},be=Ce.textfont||{},ke=ae.color,Le=fe.color,Be=be.color;return Me.selectedTextColorFn=function(ze){var je=ze.tc||ke;return ze.selected?Le||je:Be||(Le?je:l.addOpacity(je,c))},Me},C.selectedPointStyle=function(_e,Me){if(_e.size()&&Me.selectedpoints){var Se=C.makeSelectedPointStyleFns(Me),Ce=Me.marker||{},ae=[];Se.selectedOpacityFn&&ae.push(function(fe,be){fe.style("opacity",Se.selectedOpacityFn(be))}),Se.selectedColorFn&&ae.push(function(fe,be){l.fill(fe,Se.selectedColorFn(be))}),Se.selectedSizeFn&&ae.push(function(fe,be){var ke=be.mx||Ce.symbol||0,Le=Se.selectedSizeFn(be);fe.attr("d",x(C.symbolNumber(ke),Le,Pe(be,Me),Q(be,Me))),be.mrc2=Le}),ae.length&&_e.each(function(fe){for(var be=d.select(this),ke=0;ke0?Se:0}function N(_e,Me,Se){return Se&&(_e=q(_e)),Me?j(_e[1]):W(_e[0])}function W(_e){var Me=d.round(_e,2);return I=Me,Me}function j(_e){var Me=d.round(_e,2);return O=Me,Me}function $(_e,Me,Se,Ce){var ae=_e[0]-Me[0],fe=_e[1]-Me[1],be=Se[0]-Me[0],ke=Se[1]-Me[1],Le=Math.pow(ae*ae+fe*fe,.25),Be=Math.pow(be*be+ke*ke,.25),ze=(Be*Be*ae-Le*Le*be)*Ce,je=(Be*Be*fe-Le*Le*ke)*Ce,ge=3*Be*(Le+Be),we=3*Le*(Le+Be);return[[W(Me[0]+(ge&&ze/ge)),j(Me[1]+(ge&&je/ge))],[W(Me[0]-(we&&ze/we)),j(Me[1]-(we&&je/we))]]}C.textPointStyle=function(_e,Me,Se){if(_e.size()){var Ce;if(Me.selectedpoints){var ae=C.makeSelectedTextStyleFns(Me);Ce=ae.selectedTextColorFn}var fe=Me.texttemplate,be=Se._fullLayout;_e.each(function(ke){var Le=d.select(this),Be=fe?g.extractOption(ke,Me,"txt","texttemplate"):g.extractOption(ke,Me,"tx","text");if(Be||Be===0){if(fe){var ze=Me._module.formatLabels,je=ze?ze(ke,Me,be):{},ge={};y(ge,Me,ke.i);var we=Me._meta||{};Be=g.texttemplateString(Be,je,be._d3locale,ge,ke,we)}var Ee=ke.tp||Me.textposition,Ve=B(ke,Me),$e=Ce?Ce(ke):ke.tc||Me.textfont.color;Le.call(C.font,ke.tf||Me.textfont.family,Ve,$e).text(Be).call(o.convertToTspans,Se).call(F,Ee,Ve,ke.mrc)}else Le.remove()})}},C.selectedTextStyle=function(_e,Me){if(_e.size()&&Me.selectedpoints){var Se=C.makeSelectedTextStyleFns(Me);_e.each(function(Ce){var ae=d.select(this),fe=Se.selectedTextColorFn(Ce),be=Ce.tp||Me.textposition,ke=B(Ce,Me);l.fill(ae,fe);var Le=f.traceIs(Me,"bar-like");F(ae,be,ke,Ce.mrc2||Ce.mrc,Le)})}},C.smoothopen=function(_e,Me){if(_e.length<3)return"M"+_e.join("L");var Se,Ce="M"+_e[0],ae=[];for(Se=1;Se<_e.length-1;Se++)ae.push($(_e[Se-1],_e[Se],_e[Se+1],Me));for(Ce+="Q"+ae[0][0]+" "+_e[1],Se=2;Se<_e.length-1;Se++)Ce+="C"+ae[Se-2][1]+" "+ae[Se-1][0]+" "+_e[Se];return Ce+"Q"+ae[_e.length-3][1]+" "+_e[_e.length-1]},C.smoothclosed=function(_e,Me){if(_e.length<3)return"M"+_e.join("L")+"Z";var Se,Ce="M"+_e[0],ae=_e.length-1,fe=[$(_e[ae],_e[0],_e[1],Me)];for(Se=1;Se=Le||ht>=ze&&ht<=Le)&&(bt<=je&&bt>=Be||bt>=je&&bt<=Be)&&(_e=[ht,bt])}return _e}C.steps=function(_e){var Me=U[_e]||G;return function(Se){for(var Ce="M"+W(Se[0][0])+","+j(Se[0][1]),ae=Se.length,fe=1;fe=1e4&&(C.savedBBoxes={},H=0),Se&&(C.savedBBoxes[Se]=we),H++,g.extendFlat({},we)},C.setClipUrl=function(_e,Me,Se){_e.attr("clip-path",te(Me,Se))},C.getTranslate=function(_e){var Me=(_e[_e.attr?"attr":"getAttribute"]("transform")||"").replace(/.*\btranslate\((-?\d*\.?\d*)[^-\d]*(-?\d*\.?\d*)[^\d].*/,function(Se,Ce,ae){return[Ce,ae].join(" ")}).split(" ");return{x:+Me[0]||0,y:+Me[1]||0}},C.setTranslate=function(_e,Me,Se){var Ce=_e.attr?"attr":"getAttribute",ae=_e.attr?"attr":"setAttribute",fe=_e[Ce]("transform")||"";return Me=Me||0,Se=Se||0,fe=fe.replace(/(\btranslate\(.*?\);?)/,"").trim(),fe=(fe+=u(Me,Se)).trim(),_e[ae]("transform",fe),fe},C.getScale=function(_e){var Me=(_e[_e.attr?"attr":"getAttribute"]("transform")||"").replace(/.*\bscale\((\d*\.?\d*)[^\d]*(\d*\.?\d*)[^\d].*/,function(Se,Ce,ae){return[Ce,ae].join(" ")}).split(" ");return{x:+Me[0]||1,y:+Me[1]||1}},C.setScale=function(_e,Me,Se){var Ce=_e.attr?"attr":"getAttribute",ae=_e.attr?"attr":"setAttribute",fe=_e[Ce]("transform")||"";return Me=Me||1,Se=Se||1,fe=fe.replace(/(\bscale\(.*?\);?)/,"").trim(),fe=(fe+="scale("+Me+","+Se+")").trim(),_e[ae]("transform",fe),fe};var Z=/\s*sc.*/;C.setPointGroupScale=function(_e,Me,Se){if(Me=Me||1,Se=Se||1,_e){var Ce=Me===1&&Se===1?"":"scale("+Me+","+Se+")";_e.each(function(){var ae=(this.getAttribute("transform")||"").replace(Z,"");ae=(ae+=Ce).trim(),this.setAttribute("transform",ae)})}};var X=/translate\([^)]*\)\s*$/;function Q(_e,Me){var Se;return _e&&(Se=_e.mf),Se===void 0&&(Se=Me.marker&&Me.marker.standoff||0),Me._geo||Me._xA?Se:-Se}C.setTextPointsScale=function(_e,Me,Se){_e&&_e.each(function(){var Ce,ae=d.select(this),fe=ae.select("text");if(fe.node()){var be=parseFloat(fe.attr("x")||0),ke=parseFloat(fe.attr("y")||0),Le=(ae.attr("transform")||"").match(X);Ce=Me===1&&Se===1?[]:[u(be,ke),"scale("+Me+","+Se+")",u(-be,-ke)],Le&&Ce.push(Le),ae.attr("transform",Ce.join(""))}})},C.getMarkerStandoff=Q;var re,ie,oe,ue,ce,ye,de=Math.atan2,me=Math.cos,pe=Math.sin;function xe(_e,Me){var Se=Me[0],Ce=Me[1];return[Se*me(_e)-Ce*pe(_e),Se*pe(_e)+Ce*me(_e)]}function Pe(_e,Me){var Se,Ce,ae=_e.ma;ae===void 0&&(ae=Me.marker.angle||0);var fe=Me.marker.angleref;if(fe==="previous"||fe==="north"){if(Me._geo){var be=Me._geo.project(_e.lonlat);Se=be[0],Ce=be[1]}else{var ke=Me._xA,Le=Me._yA;if(!ke||!Le)return 90;Se=ke.c2p(_e.x),Ce=Le.c2p(_e.y)}if(Me._geo){var Be,ze=_e.lonlat[0],je=_e.lonlat[1],ge=Me._geo.project([ze,je+1e-5]),we=Me._geo.project([ze+1e-5,je]),Ee=de(we[1]-Ce,we[0]-Se),Ve=de(ge[1]-Ce,ge[0]-Se);if(fe==="north")Be=ae/180*Math.PI;else if(fe==="previous"){var $e=ze/180*Math.PI,Ye=je/180*Math.PI,st=re/180*Math.PI,ot=ie/180*Math.PI,ht=st-$e,bt=me(ot)*pe(ht),Et=pe(ot)*me(Ye)-me(ot)*pe(Ye)*me(ht);Be=-de(bt,Et)-Math.PI,re=ze,ie=je}var kt=xe(Ee,[me(Be),0]),xt=xe(Ve,[pe(Be),0]);ae=de(kt[1]+xt[1],kt[0]+xt[0])/Math.PI*180,fe!=="previous"||ye===Me.uid&&_e.i===ce+1||(ae=null)}if(fe==="previous"&&!Me._geo)if(ye===Me.uid&&_e.i===ce+1&&M(Se)&&M(Ce)){var Ft=Se-oe,Ot=Ce-ue,Bt=Me.line&&Me.line.shape||"",qt=Bt.slice(Bt.length-1);qt==="h"&&(Ot=0),qt==="v"&&(Ft=0),ae+=de(Ot,Ft)/Math.PI*180+90}else ae=null}return oe=Se,ue=Ce,ce=_e.i,ye=Me.uid,ae}C.getMarkerAngle=Pe},90998:function(T,p,t){var d,g,i,M,v=t(95616),f=t(39898).round,l="M0,0Z",a=Math.sqrt(2),u=Math.sqrt(3),o=Math.PI,s=Math.cos,h=Math.sin;function c(w){return w===null}function m(w,y,C){if(!(w&&w%360!=0||y))return C;if(i===w&&M===y&&d===C)return g;function _(N,W){var j=s(N),$=h(N),U=W[0],G=W[1]+(y||0);return[U*j-G*$,U*$+G*j]}i=w,M=y,d=C;for(var k=w/180*o,E=0,x=0,A=v(C),L="",b=0;b0,h=v._context.staticPlot;f.each(function(c){var m,w=c[0].trace,y=w.error_x||{},C=w.error_y||{};w.ids&&(m=function(x){return x.id});var _=M.hasMarkers(w)&&w.marker.maxdisplayed>0;C.visible||y.visible||(c=[]);var k=d.select(this).selectAll("g.errorbar").data(c,m);if(k.exit().remove(),c.length){y.visible||k.selectAll("path.xerror").remove(),C.visible||k.selectAll("path.yerror").remove(),k.style("opacity",1);var E=k.enter().append("g").classed("errorbar",!0);s&&E.style("opacity",0).transition().duration(a.duration).style("opacity",1),i.setClipUrl(k,l.layerClipId,v),k.each(function(x){var A=d.select(this),L=function(F,B,N){var W={x:B.c2p(F.x),y:N.c2p(F.y)};return F.yh!==void 0&&(W.yh=N.c2p(F.yh),W.ys=N.c2p(F.ys),g(W.ys)||(W.noYS=!0,W.ys=N.c2p(F.ys,!0))),F.xh!==void 0&&(W.xh=B.c2p(F.xh),W.xs=B.c2p(F.xs),g(W.xs)||(W.noXS=!0,W.xs=B.c2p(F.xs,!0))),W}(x,u,o);if(!_||x.vis){var b,R=A.select("path.yerror");if(C.visible&&g(L.x)&&g(L.yh)&&g(L.ys)){var I=C.width;b="M"+(L.x-I)+","+L.yh+"h"+2*I+"m-"+I+",0V"+L.ys,L.noYS||(b+="m-"+I+",0h"+2*I),R.size()?s&&(R=R.transition().duration(a.duration).ease(a.easing)):R=A.append("path").style("vector-effect",h?"none":"non-scaling-stroke").classed("yerror",!0),R.attr("d",b)}else R.remove();var O=A.select("path.xerror");if(y.visible&&g(L.y)&&g(L.xh)&&g(L.xs)){var z=(y.copy_ystyle?C:y).width;b="M"+L.xh+","+(L.y-z)+"v"+2*z+"m0,-"+z+"H"+L.xs,L.noXS||(b+="m0,-"+z+"v"+2*z),O.size()?s&&(O=O.transition().duration(a.duration).ease(a.easing)):O=A.append("path").style("vector-effect",h?"none":"non-scaling-stroke").classed("xerror",!0),O.attr("d",b)}else O.remove()}})}})}},62662:function(T,p,t){var d=t(39898),g=t(7901);T.exports=function(i){i.each(function(M){var v=M[0].trace,f=v.error_y||{},l=v.error_x||{},a=d.select(this);a.selectAll("path.yerror").style("stroke-width",f.thickness+"px").call(g.stroke,f.color),l.copy_ystyle&&(l=f),a.selectAll("path.xerror").style("stroke-width",l.thickness+"px").call(g.stroke,l.color)})}},77914:function(T,p,t){var d=t(41940),g=t(528).hoverlabel,i=t(1426).extendFlat;T.exports={hoverlabel:{bgcolor:i({},g.bgcolor,{arrayOk:!0}),bordercolor:i({},g.bordercolor,{arrayOk:!0}),font:d({arrayOk:!0,editType:"none"}),align:i({},g.align,{arrayOk:!0}),namelength:i({},g.namelength,{arrayOk:!0}),editType:"none"}}},30732:function(T,p,t){var d=t(71828),g=t(73972);function i(M,v,f,l){l=l||d.identity,Array.isArray(M)&&(v[0][f]=l(M))}T.exports=function(M){var v=M.calcdata,f=M._fullLayout;function l(h){return function(c){return d.coerceHoverinfo({hoverinfo:c},{_module:h._module},f)}}for(var a=0;a=0&&u.indexae[0]._length||Je<0||Je>fe[0]._length)return h.unhoverRaw(ue,ce)}else Ke="xpx"in ce?ce.xpx:ae[0]._length/2,Je="ypx"in ce?ce.ypx:fe[0]._length/2;if(ce.pointerX=Ke+ae[0]._offset,ce.pointerY=Je+fe[0]._offset,we="xval"in ce?w.flat(pe,ce.xval):w.p2c(ae,Ke),Ee="yval"in ce?w.flat(pe,ce.yval):w.p2c(fe,Je),!g(we[0])||!g(Ee[0]))return M.warn("Fx.hover failed",ce,ue),h.unhoverRaw(ue,ce)}var ft=1/0;function Re(Kt,bn){for($e=0;$eFt&&(Ot.splice(0,Ft),ft=Ot[0].distance),Me&&ge!==0&&Ot.length===0){xt.distance=ge,xt.index=!1;var $n=st._module.hoverPoints(xt,Et,kt,"closest",{hoverLayer:xe._hoverlayer});if($n&&($n=$n.filter(function(Jt){return Jt.spikeDistance<=ge})),$n&&$n.length){var tr,mr=$n.filter(function(Jt){return Jt.xa.showspikes&&Jt.xa.spikesnap!=="hovered data"});if(mr.length){var nn=mr[0];g(nn.x0)&&g(nn.y0)&&(tr=Qe(nn),(!qt.vLinePoint||qt.vLinePoint.spikeDistance>tr.spikeDistance)&&(qt.vLinePoint=tr))}var Pn=$n.filter(function(Jt){return Jt.ya.showspikes&&Jt.ya.spikesnap!=="hovered data"});if(Pn.length){var jt=Pn[0];g(jt.x0)&&g(jt.y0)&&(tr=Qe(jt),(!qt.hLinePoint||qt.hLinePoint.spikeDistance>tr.spikeDistance)&&(qt.hLinePoint=tr))}}}}}function Ne(Kt,bn,Rn){for(var Ln,Un=null,Kn=1/0,$n=0;$n0&&Math.abs(Kt.distance)Yt-1;Wt--)xn(Ot[Wt]);Ot=Xt,It()}var un=ue._hoverdata,An=[],Yn=ne(ue),kn=te(ue);for(Ve=0;Ve1||Ot.length>1)||ze==="closest"&&Vt&&Ot.length>1,yr=s.combine(xe.plot_bgcolor||s.background,xe.paper_bgcolor),or=B(Ot,{gd:ue,hovermode:ze,rotateLabels:Sr,bgColor:yr,container:xe._hoverlayer,outerContainer:xe._paper.node(),commonLabelOpts:xe.hoverlabel,hoverdistance:xe.hoverdistance}),vr=or.hoverLabels;if(w.isUnifiedHover(ze)||(function(Kt,bn,Rn,Ln){var Un,Kn,$n,tr,mr,nn,Pn,jt=bn?"xa":"ya",Jt=bn?"ya":"xa",hn=0,zn=1,On=Kt.size(),En=new Array(On),mn=0,wn=Ln.minX,gn=Ln.maxX,yn=Ln.minY,Sn=Ln.maxY,Vn=function(Lr){return Lr*Rn._invScaleX},Xn=function(Lr){return Lr*Rn._invScaleY};function nr(Lr){var zr=Lr[0],gr=Lr[Lr.length-1];if(Kn=zr.pmin-zr.pos-zr.dp+zr.size,$n=gr.pos+gr.dp+gr.size-zr.pmax,Kn>.01){for(mr=Lr.length-1;mr>=0;mr--)Lr[mr].dp+=Kn;Un=!1}if(!($n<.01)){if(Kn<-.01){for(mr=Lr.length-1;mr>=0;mr--)Lr[mr].dp-=$n;Un=!1}if(Un){var Fr=0;for(tr=0;trzr.pmax&&Fr++;for(tr=Lr.length-1;tr>=0&&!(Fr<=0);tr--)(nn=Lr[tr]).pos>zr.pmax-1&&(nn.del=!0,Fr--);for(tr=0;tr=0;mr--)Lr[mr].dp-=$n;for(tr=Lr.length-1;tr>=0&&!(Fr<=0);tr--)(nn=Lr[tr]).pos+nn.dp+nn.size>zr.pmax&&(nn.del=!0,Fr--)}}}for(Kt.each(function(Lr){var zr=Lr[jt],gr=Lr[Jt],Fr=zr._id.charAt(0)==="x",ii=zr.range;mn===0&&ii&&ii[0]>ii[1]!==Fr&&(zn=-1);var ji=0,ea=Fr?Rn.width:Rn.height;if(Rn.hovermode==="x"||Rn.hovermode==="y"){var sa,co,La=W(Lr,bn),Xi=Lr.anchor,Do=Xi==="end"?-1:1;if(Xi==="middle")co=(sa=Lr.crossPos+(Fr?Xn(La.y-Lr.by/2):Vn(Lr.bx/2+Lr.tx2width/2)))+(Fr?Xn(Lr.by):Vn(Lr.bx));else if(Fr)co=(sa=Lr.crossPos+Xn(b+La.y)-Xn(Lr.by/2-b))+Xn(Lr.by);else{var rs=Vn(Do*b+La.x),el=rs+Vn(Do*Lr.bx);sa=Lr.crossPos+Math.min(rs,el),co=Lr.crossPos+Math.max(rs,el)}Fr?yn!==void 0&&Sn!==void 0&&Math.min(co,Sn)-Math.max(sa,yn)>1&&(gr.side==="left"?(ji=gr._mainLinePosition,ea=Rn.width):ea=gr._mainLinePosition):wn!==void 0&&gn!==void 0&&Math.min(co,gn)-Math.max(sa,wn)>1&&(gr.side==="top"?(ji=gr._mainLinePosition,ea=Rn.height):ea=gr._mainLinePosition)}En[mn++]=[{datum:Lr,traceIndex:Lr.trace.index,dp:0,pos:Lr.pos,posref:Lr.posref,size:Lr.by*(Fr?x:1)/2,pmin:ji,pmax:ea}]}),En.sort(function(Lr,zr){return Lr[0].posref-zr[0].posref||zn*(zr[0].traceIndex-Lr[0].traceIndex)});!Un&&hn<=On;){for(hn++,Un=!0,tr=0;tr.01&&cr.pmin===pr.pmin&&cr.pmax===pr.pmax){for(mr=hr.length-1;mr>=0;mr--)hr[mr].dp+=Kn;for(Qn.push.apply(Qn,hr),En.splice(tr+1,1),Pn=0,mr=Qn.length-1;mr>=0;mr--)Pn+=Qn[mr].dp;for($n=Pn/Qn.length,mr=Qn.length-1;mr>=0;mr--)Qn[mr].dp-=$n;Un=!1}else tr++}En.forEach(nr)}for(tr=En.length-1;tr>=0;tr--){var dr=En[tr];for(mr=dr.length-1;mr>=0;mr--){var br=dr[mr],Rr=br.datum;Rr.offset=br.dp,Rr.del=br.del}}}(vr,Sr,xe,or.commonLabelBoundingBox),j(vr,Sr,xe._invScaleX,xe._invScaleY)),me&&me.tagName){var _r=m.getComponentMethod("annotations","hasClickToShow")(ue,An);u(d.select(me),_r?"pointer":"")}me&&!de&&function(Kt,bn,Rn){if(!Rn||Rn.length!==Kt._hoverdata.length)return!0;for(var Ln=Rn.length-1;Ln>=0;Ln--){var Un=Rn[Ln],Kn=Kt._hoverdata[Ln];if(Un.curveNumber!==Kn.curveNumber||String(Un.pointNumber)!==String(Kn.pointNumber)||String(Un.pointNumbers)!==String(Kn.pointNumbers))return!0}return!1}(ue,0,un)&&(un&&ue.emit("plotly_unhover",{event:ce,points:un}),ue.emit("plotly_hover",{event:ce,points:ue._hoverdata,xaxes:ae,yaxes:fe,xvals:we,yvals:Ee}))})(X,Q,re,ie,oe)})},p.loneHover=function(X,Q){var re=!0;Array.isArray(X)||(re=!1,X=[X]);var ie=Q.gd,oe=ne(ie),ue=te(ie),ce=B(X.map(function(me){var pe=me._x0||me.x0||me.x||0,xe=me._x1||me.x1||me.x||0,Pe=me._y0||me.y0||me.y||0,_e=me._y1||me.y1||me.y||0,Me=me.eventData;if(Me){var Se=Math.min(pe,xe),Ce=Math.max(pe,xe),ae=Math.min(Pe,_e),fe=Math.max(Pe,_e),be=me.trace;if(m.traceIs(be,"gl3d")){var ke=ie._fullLayout[be.scene]._scene.container,Le=ke.offsetLeft,Be=ke.offsetTop;Se+=Le,Ce+=Le,ae+=Be,fe+=Be}Me.bbox={x0:Se+ue,x1:Ce+ue,y0:ae+oe,y1:fe+oe},Q.inOut_bbox&&Q.inOut_bbox.push(Me.bbox)}else Me=!1;return{color:me.color||s.defaultLine,x0:me.x0||me.x||0,x1:me.x1||me.x||0,y0:me.y0||me.y||0,y1:me.y1||me.y||0,xLabel:me.xLabel,yLabel:me.yLabel,zLabel:me.zLabel,text:me.text,name:me.name,idealAlign:me.idealAlign,borderColor:me.borderColor,fontFamily:me.fontFamily,fontSize:me.fontSize,fontColor:me.fontColor,nameLength:me.nameLength,textAlign:me.textAlign,trace:me.trace||{index:0,hoverinfo:""},xa:{_offset:0},ya:{_offset:0},index:0,hovertemplate:me.hovertemplate||!1,hovertemplateLabels:me.hovertemplateLabels||!1,eventData:Me}}),{gd:ie,hovermode:"closest",rotateLabels:!1,bgColor:Q.bgColor||s.background,container:d.select(Q.container),outerContainer:Q.outerContainer||Q.container}).hoverLabels,ye=0,de=0;return ce.sort(function(me,pe){return me.y0-pe.y0}).each(function(me,pe){var xe=me.y0-me.by/2;me.offset=xe-5([\s\S]*)<\/extra>/;function B(X,Q){var re=Q.gd,ie=re._fullLayout,oe=Q.hovermode,ue=Q.rotateLabels,ce=Q.bgColor,ye=Q.container,de=Q.outerContainer,me=Q.commonLabelOpts||{};if(X.length===0)return[[]];var pe=Q.fontFamily||y.HOVERFONT,xe=Q.fontSize||y.HOVERFONTSIZE,Pe=X[0],_e=Pe.xa,Me=Pe.ya,Se=oe.charAt(0),Ce=Se+"Label",ae=Pe[Ce];if(ae===void 0&&_e.type==="multicategory")for(var fe=0;feie.width-kn?(xn=ie.width-kn,Nt.attr("d","M"+(kn-b)+",0L"+kn+","+Yn+b+"v"+Yn+(2*R+An.height)+"H-"+kn+"V"+Yn+b+"H"+(kn-2*b)+"Z")):Nt.attr("d","M0,0L"+b+","+Yn+b+"H"+kn+"v"+Yn+(2*R+An.height)+"H-"+kn+"V"+Yn+b+"H-"+b+"Z"),$e.minX=xn-kn,$e.maxX=xn+kn,_e.side==="top"?($e.minY=un-(2*R+An.height),$e.maxY=un-R):($e.minY=un+R,$e.maxY=un+(2*R+An.height))}else{var sn,Tn,dn;Me.side==="right"?(sn="start",Tn=1,dn="",xn=_e._offset+_e._length):(sn="end",Tn=-1,dn="-",xn=_e._offset),un=Me._offset+(Pe.y0+Pe.y1)/2,Yt.attr("text-anchor",sn),Nt.attr("d","M0,0L"+dn+b+","+b+"V"+(R+An.height/2)+"h"+dn+(2*R+An.width)+"V-"+(R+An.height/2)+"H"+dn+b+"V-"+b+"Z"),$e.minY=un-(R+An.height/2),$e.maxY=un+(R+An.height/2),Me.side==="right"?($e.minX=xn+b,$e.maxX=xn+b+(2*R+An.width)):($e.minX=xn-b-(2*R+An.width),$e.maxX=xn-b);var pn,Dn=An.height/2,In=ke-An.top-Dn,jn="clip"+ie._uid+"commonlabel"+Me._id;if(xn=0?Je:qe+Re=0?qe:yt+Re=0?Vt:Ke+Ne=0?Ke:Pt+Ne=0,Rt.idealAlign!=="top"&&rr||!Sr?rr?(Dn+=jn/2,Rt.anchor="start"):Rt.anchor="middle":(Dn-=jn/2,Rt.anchor="end"),Rt.crossPos=Dn;else{if(Rt.pos=Dn,rr=pn+In/2+yr<=Le,Sr=pn-In/2-yr>=0,Rt.idealAlign!=="left"&&rr||!Sr)if(rr)pn+=In/2,Rt.anchor="start";else{Rt.anchor="middle";var or=yr/2,vr=pn+or-Le,_r=pn-or;vr>0&&(pn-=vr),_r<0&&(pn+=-_r)}else pn-=In/2,Rt.anchor="end";Rt.crossPos=pn}Yn.attr("text-anchor",Rt.anchor),sn&&kn.attr("text-anchor",Rt.anchor),Nt.attr("transform",v(pn,Dn)+(ue?f(k):""))}),{hoverLabels:wt,commonLabelBoundingBox:$e}}function N(X,Q,re,ie,oe,ue){var ce="",ye="";X.nameOverride!==void 0&&(X.name=X.nameOverride),X.name&&(X.trace._meta&&(X.name=M.templateString(X.name,X.trace._meta)),ce=q(X.name,X.nameLength));var de=re.charAt(0),me=de==="x"?"y":"x";X.zLabel!==void 0?(X.xLabel!==void 0&&(ye+="x: "+X.xLabel+"
"),X.yLabel!==void 0&&(ye+="y: "+X.yLabel+"
"),X.trace.type!=="choropleth"&&X.trace.type!=="choroplethmapbox"&&(ye+=(ye?"z: ":"")+X.zLabel)):Q&&X[de+"Label"]===oe?ye=X[me+"Label"]||"":X.xLabel===void 0?X.yLabel!==void 0&&X.trace.type!=="scattercarpet"&&(ye=X.yLabel):ye=X.yLabel===void 0?X.xLabel:"("+X.xLabel+", "+X.yLabel+")",!X.text&&X.text!==0||Array.isArray(X.text)||(ye+=(ye?"
":"")+X.text),X.extraText!==void 0&&(ye+=(ye?"
":"")+X.extraText),ue&&ye===""&&!X.hovertemplate&&(ce===""&&ue.remove(),ye=ce);var pe=X.hovertemplate||!1;if(pe){var xe=X.hovertemplateLabels||X;X[de+"Label"]!==oe&&(xe[de+"other"]=xe[de+"Val"],xe[de+"otherLabel"]=xe[de+"Label"]),ye=(ye=M.hovertemplateString(pe,xe,ie._d3locale,X.eventData[0]||{},X.trace._meta)).replace(F,function(Pe,_e){return ce=q(_e,X.nameLength),""})}return[ye,ce]}function W(X,Q){var re=0,ie=X.offset;return Q&&(ie*=-L,re=X.offset*A),{x:re,y:ie}}function j(X,Q,re,ie){var oe=function(ce){return ce*re},ue=function(ce){return ce*ie};X.each(function(ce){var ye=d.select(this);if(ce.del)return ye.remove();var de,me,pe,xe,Pe=ye.select("text.nums"),_e=ce.anchor,Me=_e==="end"?-1:1,Se=(xe=(pe=(me={start:1,end:-1,middle:0}[(de=ce).anchor])*(b+R))+me*(de.txwidth+R),de.anchor==="middle"&&(pe-=de.tx2width/2,xe+=de.txwidth/2+R),{alignShift:me,textShiftX:pe,text2ShiftX:xe}),Ce=W(ce,Q),ae=Ce.x,fe=Ce.y,be=_e==="middle";ye.select("path").attr("d",be?"M-"+oe(ce.bx/2+ce.tx2width/2)+","+ue(fe-ce.by/2)+"h"+oe(ce.bx)+"v"+ue(ce.by)+"h-"+oe(ce.bx)+"Z":"M0,0L"+oe(Me*b+ae)+","+ue(b+fe)+"v"+ue(ce.by/2-b)+"h"+oe(Me*ce.bx)+"v-"+ue(ce.by)+"H"+oe(Me*b+ae)+"V"+ue(fe-b)+"Z");var ke=ae+Se.textShiftX,Le=fe+ce.ty0-ce.by/2+R,Be=ce.textAlign||"auto";Be!=="auto"&&(Be==="left"&&_e!=="start"?(Pe.attr("text-anchor","start"),ke=be?-ce.bx/2-ce.tx2width/2+R:-ce.bx-R):Be==="right"&&_e!=="end"&&(Pe.attr("text-anchor","end"),ke=be?ce.bx/2-ce.tx2width/2-R:ce.bx+R)),Pe.call(a.positionText,oe(ke),ue(Le)),ce.tx2width&&(ye.select("text.name").call(a.positionText,oe(Se.text2ShiftX+Se.alignShift*R+ae),ue(fe+ce.ty0-ce.by/2+R)),ye.select("rect").call(o.setRect,oe(Se.text2ShiftX+(Se.alignShift-1)*ce.tx2width/2+ae),ue(fe-ce.by/2-1),oe(ce.tx2width),ue(ce.by+2)))})}function $(X,Q){var re=X.index,ie=X.trace||{},oe=X.cd[0],ue=X.cd[re]||{};function ce(Pe){return Pe||g(Pe)&&Pe===0}var ye=Array.isArray(re)?function(Pe,_e){var Me=M.castOption(oe,re,Pe);return ce(Me)?Me:M.extractOption({},ie,"",_e)}:function(Pe,_e){return M.extractOption(ue,ie,Pe,_e)};function de(Pe,_e,Me){var Se=ye(_e,Me);ce(Se)&&(X[Pe]=Se)}if(de("hoverinfo","hi","hoverinfo"),de("bgcolor","hbg","hoverlabel.bgcolor"),de("borderColor","hbc","hoverlabel.bordercolor"),de("fontFamily","htf","hoverlabel.font.family"),de("fontSize","hts","hoverlabel.font.size"),de("fontColor","htc","hoverlabel.font.color"),de("nameLength","hnl","hoverlabel.namelength"),de("textAlign","hta","hoverlabel.align"),X.posref=Q==="y"||Q==="closest"&&ie.orientation==="h"?X.xa._offset+(X.x0+X.x1)/2:X.ya._offset+(X.y0+X.y1)/2,X.x0=M.constrain(X.x0,0,X.xa._length),X.x1=M.constrain(X.x1,0,X.xa._length),X.y0=M.constrain(X.y0,0,X.ya._length),X.y1=M.constrain(X.y1,0,X.ya._length),X.xLabelVal!==void 0&&(X.xLabel="xLabel"in X?X.xLabel:c.hoverLabelText(X.xa,X.xLabelVal,ie.xhoverformat),X.xVal=X.xa.c2d(X.xLabelVal)),X.yLabelVal!==void 0&&(X.yLabel="yLabel"in X?X.yLabel:c.hoverLabelText(X.ya,X.yLabelVal,ie.yhoverformat),X.yVal=X.ya.c2d(X.yLabelVal)),X.zLabelVal!==void 0&&X.zLabel===void 0&&(X.zLabel=String(X.zLabelVal)),!(isNaN(X.xerr)||X.xa.type==="log"&&X.xerr<=0)){var me=c.tickText(X.xa,X.xa.c2l(X.xerr),"hover").text;X.xerrneg!==void 0?X.xLabel+=" +"+me+" / -"+c.tickText(X.xa,X.xa.c2l(X.xerrneg),"hover").text:X.xLabel+=" ± "+me,Q==="x"&&(X.distance+=1)}if(!(isNaN(X.yerr)||X.ya.type==="log"&&X.yerr<=0)){var pe=c.tickText(X.ya,X.ya.c2l(X.yerr),"hover").text;X.yerrneg!==void 0?X.yLabel+=" +"+pe+" / -"+c.tickText(X.ya,X.ya.c2l(X.yerrneg),"hover").text:X.yLabel+=" ± "+pe,Q==="y"&&(X.distance+=1)}var xe=X.hoverinfo||X.trace.hoverinfo;return xe&&xe!=="all"&&((xe=Array.isArray(xe)?xe:xe.split("+")).indexOf("x")===-1&&(X.xLabel=void 0),xe.indexOf("y")===-1&&(X.yLabel=void 0),xe.indexOf("z")===-1&&(X.zLabel=void 0),xe.indexOf("text")===-1&&(X.text=void 0),xe.indexOf("name")===-1&&(X.name=void 0)),X}function U(X,Q,re){var ie,oe,ue=re.container,ce=re.fullLayout,ye=ce._size,de=re.event,me=!!Q.hLinePoint,pe=!!Q.vLinePoint;if(ue.selectAll(".spikeline").remove(),pe||me){var xe=s.combine(ce.plot_bgcolor,ce.paper_bgcolor);if(me){var Pe,_e,Me=Q.hLinePoint;ie=Me&&Me.xa,(oe=Me&&Me.ya).spikesnap==="cursor"?(Pe=de.pointerX,_e=de.pointerY):(Pe=ie._offset+Me.x,_e=oe._offset+Me.y);var Se,Ce,ae=i.readability(Me.color,xe)<1.5?s.contrast(xe):Me.color,fe=oe.spikemode,be=oe.spikethickness,ke=oe.spikecolor||ae,Le=c.getPxPosition(X,oe);if(fe.indexOf("toaxis")!==-1||fe.indexOf("across")!==-1){if(fe.indexOf("toaxis")!==-1&&(Se=Le,Ce=Pe),fe.indexOf("across")!==-1){var Be=oe._counterDomainMin,ze=oe._counterDomainMax;oe.anchor==="free"&&(Be=Math.min(Be,oe.position),ze=Math.max(ze,oe.position)),Se=ye.l+Be*ye.w,Ce=ye.l+ze*ye.w}ue.insert("line",":first-child").attr({x1:Se,x2:Ce,y1:_e,y2:_e,"stroke-width":be,stroke:ke,"stroke-dasharray":o.dashStyle(oe.spikedash,be)}).classed("spikeline",!0).classed("crisp",!0),ue.insert("line",":first-child").attr({x1:Se,x2:Ce,y1:_e,y2:_e,"stroke-width":be+2,stroke:xe}).classed("spikeline",!0).classed("crisp",!0)}fe.indexOf("marker")!==-1&&ue.insert("circle",":first-child").attr({cx:Le+(oe.side!=="right"?be:-be),cy:_e,r:be,fill:ke}).classed("spikeline",!0)}if(pe){var je,ge,we=Q.vLinePoint;ie=we&&we.xa,oe=we&&we.ya,ie.spikesnap==="cursor"?(je=de.pointerX,ge=de.pointerY):(je=ie._offset+we.x,ge=oe._offset+we.y);var Ee,Ve,$e=i.readability(we.color,xe)<1.5?s.contrast(xe):we.color,Ye=ie.spikemode,st=ie.spikethickness,ot=ie.spikecolor||$e,ht=c.getPxPosition(X,ie);if(Ye.indexOf("toaxis")!==-1||Ye.indexOf("across")!==-1){if(Ye.indexOf("toaxis")!==-1&&(Ee=ht,Ve=ge),Ye.indexOf("across")!==-1){var bt=ie._counterDomainMin,Et=ie._counterDomainMax;ie.anchor==="free"&&(bt=Math.min(bt,ie.position),Et=Math.max(Et,ie.position)),Ee=ye.t+(1-Et)*ye.h,Ve=ye.t+(1-bt)*ye.h}ue.insert("line",":first-child").attr({x1:je,x2:je,y1:Ee,y2:Ve,"stroke-width":st,stroke:ot,"stroke-dasharray":o.dashStyle(ie.spikedash,st)}).classed("spikeline",!0).classed("crisp",!0),ue.insert("line",":first-child").attr({x1:je,x2:je,y1:Ee,y2:Ve,"stroke-width":st+2,stroke:xe}).classed("spikeline",!0).classed("crisp",!0)}Ye.indexOf("marker")!==-1&&ue.insert("circle",":first-child").attr({cx:je,cy:ht-(ie.side!=="top"?st:-st),r:st,fill:ot}).classed("spikeline",!0)}}}function G(X,Q){return!Q||Q.vLinePoint!==X._spikepoints.vLinePoint||Q.hLinePoint!==X._spikepoints.hLinePoint}function q(X,Q){return a.plainText(X||"",{len:Q,allowedTags:["br","sub","sup","b","i","em"]})}function H(X,Q,re){var ie=Q[X+"a"],oe=Q[X+"Val"],ue=Q.cd[0];if(ie.type==="category"||ie.type==="multicategory")oe=ie._categoriesMap[oe];else if(ie.type==="date"){var ce=Q.trace[X+"periodalignment"];if(ce){var ye=Q.cd[Q.index],de=ye[X+"Start"];de===void 0&&(de=ye[X]);var me=ye[X+"End"];me===void 0&&(me=ye[X]);var pe=me-de;ce==="end"?oe+=pe:ce==="middle"&&(oe+=pe/2)}oe=ie.d2c(oe)}return ue&&ue.t&&ue.t.posLetter===ie._id&&(re.boxmode!=="group"&&re.violinmode!=="group"||(oe+=ue.t.dPos)),oe}function ne(X){return X.offsetTop+X.clientTop}function te(X){return X.offsetLeft+X.clientLeft}function Z(X,Q){var re=X._fullLayout,ie=Q.getBoundingClientRect(),oe=ie.left,ue=ie.top,ce=oe+ie.width,ye=ue+ie.height,de=M.apply3DTransform(re._invTransform)(oe,ue),me=M.apply3DTransform(re._invTransform)(ce,ye),pe=de[0],xe=de[1],Pe=me[0],_e=me[1];return{x:pe,y:xe,width:Pe-pe,height:_e-xe,top:Math.min(xe,_e),left:Math.min(pe,Pe),right:Math.max(pe,Pe),bottom:Math.max(xe,_e)}}},38048:function(T,p,t){var d=t(71828),g=t(7901),i=t(23469).isUnifiedHover;T.exports=function(M,v,f,l){l=l||{};var a=v.legend;function u(o){l.font[o]||(l.font[o]=a?v.legend.font[o]:v.font[o])}v&&i(v.hovermode)&&(l.font||(l.font={}),u("size"),u("family"),u("color"),a?(l.bgcolor||(l.bgcolor=g.combine(v.legend.bgcolor,v.paper_bgcolor)),l.bordercolor||(l.bordercolor=v.legend.bordercolor)):l.bgcolor||(l.bgcolor=v.paper_bgcolor)),f("hoverlabel.bgcolor",l.bgcolor),f("hoverlabel.bordercolor",l.bordercolor),f("hoverlabel.namelength",l.namelength),d.coerceFont(f,"hoverlabel.font",l.font),f("hoverlabel.align",l.align)}},98212:function(T,p,t){var d=t(71828),g=t(528);T.exports=function(i,M){function v(f,l){return M[f]!==void 0?M[f]:d.coerce(i,M,g,f,l)}return v("clickmode"),v("hovermode")}},30211:function(T,p,t){var d=t(39898),g=t(71828),i=t(28569),M=t(23469),v=t(528),f=t(88335);T.exports={moduleType:"component",name:"fx",constants:t(26675),schema:{layout:v},attributes:t(77914),layoutAttributes:v,supplyLayoutGlobalDefaults:t(22774),supplyDefaults:t(54268),supplyLayoutDefaults:t(34938),calc:t(30732),getDistanceFunction:M.getDistanceFunction,getClosest:M.getClosest,inbox:M.inbox,quadrature:M.quadrature,appendArrayPointValue:M.appendArrayPointValue,castHoverOption:function(l,a,u){return g.castOption(l,a,"hoverlabel."+u)},castHoverinfo:function(l,a,u){return g.castOption(l,u,"hoverinfo",function(o){return g.coerceHoverinfo({hoverinfo:o},{_module:l._module},a)})},hover:f.hover,unhover:i.unhover,loneHover:f.loneHover,loneUnhover:function(l){var a=g.isD3Selection(l)?l:d.select(l);a.selectAll("g.hovertext").remove(),a.selectAll(".spikeline").remove()},click:t(75914)}},528:function(T,p,t){var d=t(26675),g=t(41940),i=g({editType:"none"});i.family.dflt=d.HOVERFONT,i.size.dflt=d.HOVERFONTSIZE,T.exports={clickmode:{valType:"flaglist",flags:["event","select"],dflt:"event",editType:"plot",extras:["none"]},dragmode:{valType:"enumerated",values:["zoom","pan","select","lasso","drawclosedpath","drawopenpath","drawline","drawrect","drawcircle","orbit","turntable",!1],dflt:"zoom",editType:"modebar"},hovermode:{valType:"enumerated",values:["x","y","closest",!1,"x unified","y unified"],dflt:"closest",editType:"modebar"},hoverdistance:{valType:"integer",min:-1,dflt:20,editType:"none"},spikedistance:{valType:"integer",min:-1,dflt:-1,editType:"none"},hoverlabel:{bgcolor:{valType:"color",editType:"none"},bordercolor:{valType:"color",editType:"none"},font:i,grouptitlefont:g({editType:"none"}),align:{valType:"enumerated",values:["left","right","auto"],dflt:"auto",editType:"none"},namelength:{valType:"integer",min:-1,dflt:15,editType:"none"},editType:"none"},selectdirection:{valType:"enumerated",values:["h","v","d","any"],dflt:"any",editType:"none"}}},34938:function(T,p,t){var d=t(71828),g=t(528),i=t(98212),M=t(38048);T.exports=function(v,f){function l(s,h){return d.coerce(v,f,g,s,h)}i(v,f)&&(l("hoverdistance"),l("spikedistance")),l("dragmode")==="select"&&l("selectdirection");var a=f._has("mapbox"),u=f._has("geo"),o=f._basePlotModules.length;f.dragmode==="zoom"&&((a||u)&&o===1||a&&u&&o===2)&&(f.dragmode="pan"),M(v,f,l),d.coerceFont(l,"hoverlabel.grouptitlefont",f.hoverlabel.font)}},22774:function(T,p,t){var d=t(71828),g=t(38048),i=t(528);T.exports=function(M,v){g(M,v,function(f,l){return d.coerce(M,v,i,f,l)})}},83312:function(T,p,t){var d=t(71828),g=t(30587).counter,i=t(27670).Y,M=t(85555).idRegex,v=t(44467),f={rows:{valType:"integer",min:1,editType:"plot"},roworder:{valType:"enumerated",values:["top to bottom","bottom to top"],dflt:"top to bottom",editType:"plot"},columns:{valType:"integer",min:1,editType:"plot"},subplots:{valType:"info_array",freeLength:!0,dimensions:2,items:{valType:"enumerated",values:[g("xy").toString(),""],editType:"plot"},editType:"plot"},xaxes:{valType:"info_array",freeLength:!0,items:{valType:"enumerated",values:[M.x.toString(),""],editType:"plot"},editType:"plot"},yaxes:{valType:"info_array",freeLength:!0,items:{valType:"enumerated",values:[M.y.toString(),""],editType:"plot"},editType:"plot"},pattern:{valType:"enumerated",values:["independent","coupled"],dflt:"coupled",editType:"plot"},xgap:{valType:"number",min:0,max:1,editType:"plot"},ygap:{valType:"number",min:0,max:1,editType:"plot"},domain:i({name:"grid",editType:"plot",noGridCell:!0},{}),xside:{valType:"enumerated",values:["bottom","bottom plot","top plot","top"],dflt:"bottom plot",editType:"plot"},yside:{valType:"enumerated",values:["left","left plot","right plot","right"],dflt:"left plot",editType:"plot"},editType:"plot"};function l(o,s,h){var c=s[h+"axes"],m=Object.keys((o._splomAxes||{})[h]||{});return Array.isArray(c)?c:m.length?m:void 0}function a(o,s,h,c,m,w){var y=s(o+"gap",h),C=s("domain."+o);s(o+"side",c);for(var _=new Array(m),k=C[0],E=(C[1]-k)/(m-y),x=E*(1-y),A=0;A1){C||_||k||F("pattern")==="independent"&&(C=!0),x._hasSubplotGrid=C;var b,R,I=F("roworder")==="top to bottom",O=C?.2:.1,z=C?.3:.1;E&&s._splomGridDflt&&(b=s._splomGridDflt.xside,R=s._splomGridDflt.yside),x._domains={x:a("x",F,O,b,L),y:a("y",F,z,R,A,I)}}else delete s.grid}function F(B,N){return d.coerce(h,x,f,B,N)}},contentDefaults:function(o,s){var h=s.grid;if(h&&h._domains){var c,m,w,y,C,_,k,E=o.grid||{},x=s._subplots,A=h._hasSubplotGrid,L=h.rows,b=h.columns,R=h.pattern==="independent",I=h._axisMap={};if(A){var O=E.subplots||[];_=h.subplots=new Array(L);var z=1;for(c=0;c1);if(R===!1&&(s.legend=void 0),(R!==!1||c.uirevision)&&(w("uirevision",s.uirevision),R!==!1)){w("borderwidth");var I,O,z,F=w("orientation")==="h";if(F?(I=0,d.getComponentMethod("rangeslider","isVisible")(o.xaxis)?(O=1.1,z="bottom"):(O=-.1,z="top")):(I=1.02,O=1,z="auto"),w("traceorder",L),l.isGrouped(s.legend)&&w("tracegroupgap"),w("entrywidth"),w("entrywidthmode"),w("itemsizing"),w("itemwidth"),w("itemclick"),w("itemdoubleclick"),w("groupclick"),w("x",I),w("xanchor"),w("y",O),w("yanchor",z),w("valign"),g.noneOrAll(c,m,["x","y"]),w("title.text")){w("title.side",F?"left":"top");var B=g.extendFlat({},y,{size:g.bigFont(y.size)});g.coerceFont(w,"title.font",B)}}}}T.exports=function(u,o,s){var h,c=["legend"];for(h=0;h1)}var ne=U.hiddenlabels||[];if(!(q||U.showlegend&&H.length))return j.selectAll("."+G).remove(),U._topdefs.select("#"+W).remove(),i.autoMargin(B,G);var te=g.ensureSingle(j,"g",G,function(ye){q||ye.attr("pointer-events","all")}),Z=g.ensureSingleById(U._topdefs,"clipPath",W,function(ye){ye.append("rect")}),X=g.ensureSingle(te,"rect","bg",function(ye){ye.attr("shape-rendering","crispEdges")});X.call(a.stroke,$.bordercolor).call(a.fill,$.bgcolor).style("stroke-width",$.borderwidth+"px");var Q=g.ensureSingle(te,"g","scrollbox"),re=$.title;if($._titleWidth=0,$._titleHeight=0,re.text){var ie=g.ensureSingle(Q,"text",G+"titletext");ie.attr("text-anchor","start").call(l.font,re.font).text(re.text),I(ie,Q,B,$,1)}else Q.selectAll("."+G+"titletext").remove();var oe=g.ensureSingle(te,"rect","scrollbar",function(ye){ye.attr(s.scrollBarEnterAttrs).call(a.fill,s.scrollBarColor)}),ue=Q.selectAll("g.groups").data(H);ue.enter().append("g").attr("class","groups"),ue.exit().remove();var ce=ue.selectAll("g.traces").data(g.identity);ce.enter().append("g").attr("class","traces"),ce.exit().remove(),ce.style("opacity",function(ye){var de=ye[0].trace;return M.traceIs(de,"pie-like")?ne.indexOf(ye[0].label)!==-1?.5:1:de.visible==="legendonly"?.5:1}).each(function(){d.select(this).call(L,B,$)}).call(C,B,$).each(function(){q||d.select(this).call(R,B,G)}),g.syncOrAsync([i.previousPromises,function(){return function(ye,de,me,pe){var xe=ye._fullLayout,Pe=F(pe);pe||(pe=xe[Pe]);var _e=xe._size,Me=_.isVertical(pe),Se=_.isGrouped(pe),Ce=pe.entrywidthmode==="fraction",ae=pe.borderwidth,fe=2*ae,be=s.itemGap,ke=pe.itemwidth+2*be,Le=2*(ae+be),Be=z(pe),ze=pe.y<0||pe.y===0&&Be==="top",je=pe.y>1||pe.y===1&&Be==="bottom",ge=pe.tracegroupgap,we={};pe._maxHeight=Math.max(ze||je?xe.height/2:_e.h,30);var Ee=0;pe._width=0,pe._height=0;var Ve=function(Re){var Ne=0,Qe=0,ut=Re.title.side;return ut&&(ut.indexOf("left")!==-1&&(Ne=Re._titleWidth),ut.indexOf("top")!==-1&&(Qe=Re._titleHeight)),[Ne,Qe]}(pe);if(Me)me.each(function(Re){var Ne=Re[0].height;l.setTranslate(this,ae+Ve[0],ae+Ve[1]+pe._height+Ne/2+be),pe._height+=Ne,pe._width=Math.max(pe._width,Re[0].width)}),Ee=ke+pe._width,pe._width+=be+ke+fe,pe._height+=Le,Se&&(de.each(function(Re,Ne){l.setTranslate(this,0,Ne*pe.tracegroupgap)}),pe._height+=(pe._lgroupsLength-1)*pe.tracegroupgap);else{var $e=O(pe),Ye=pe.x<0||pe.x===0&&$e==="right",st=pe.x>1||pe.x===1&&$e==="left",ot=je||ze,ht=xe.width/2;pe._maxWidth=Math.max(Ye?ot&&$e==="left"?_e.l+_e.w:ht:st?ot&&$e==="right"?_e.r+_e.w:ht:_e.w,2*ke);var bt=0,Et=0;me.each(function(Re){var Ne=x(Re,pe,ke);bt=Math.max(bt,Ne),Et+=Ne}),Ee=null;var kt=0;if(Se){var xt=0,Ft=0,Ot=0;de.each(function(){var Re=0,Ne=0;d.select(this).selectAll("g.traces").each(function(ut){var dt=x(ut,pe,ke),_t=ut[0].height;l.setTranslate(this,Ve[0],Ve[1]+ae+be+_t/2+Ne),Ne+=_t,Re=Math.max(Re,dt),we[ut[0].trace.legendgroup]=Re});var Qe=Re+be;Ft>0&&Qe+ae+Ft>pe._maxWidth?(kt=Math.max(kt,Ft),Ft=0,Ot+=xt+ge,xt=Ne):xt=Math.max(xt,Ne),l.setTranslate(this,Ft,Ot),Ft+=Qe}),pe._width=Math.max(kt,Ft)+ae,pe._height=Ot+xt+Le}else{var Bt=me.size(),qt=Et+fe+(Bt-1)*be=pe._maxWidth&&(kt=Math.max(kt,qe),Ke=0,Je+=Vt,pe._height+=Vt,Vt=0),l.setTranslate(this,Ve[0]+ae+Ke,Ve[1]+ae+Je+Ne/2+be),qe=Ke+Qe+be,Ke+=ut,Vt=Math.max(Vt,Ne)}),qt?(pe._width=Ke+fe,pe._height=Vt+Le):(pe._width=Math.max(kt,qe)+fe,pe._height+=Vt+Le)}}pe._width=Math.ceil(Math.max(pe._width+Ve[0],pe._titleWidth+2*(ae+s.titlePad))),pe._height=Math.ceil(Math.max(pe._height+Ve[1],pe._titleHeight+2*(ae+s.itemGap))),pe._effHeight=Math.min(pe._height,pe._maxHeight);var nt=ye._context.edits,ft=nt.legendText||nt.legendPosition;me.each(function(Re){var Ne=d.select(this).select("."+Pe+"toggle"),Qe=Re[0].height,ut=Re[0].trace.legendgroup,dt=x(Re,pe,ke);Se&&ut!==""&&(dt=we[ut]);var _t=ft?ke:Ee||dt;Me||Ce||(_t+=be/2),l.setRect(Ne,0,-Qe/2,_t,Qe)})}(B,ue,ce,$)},function(){var ye,de,me,pe,xe=U._size,Pe=$.borderwidth;if(!q){var _e=function(Ye,st){var ot=Ye._fullLayout[st],ht=O(ot),bt=z(ot);return i.autoMargin(Ye,st,{x:ot.x,y:ot.y,l:ot._width*m[ht],r:ot._width*w[ht],b:ot._effHeight*w[bt],t:ot._effHeight*m[bt]})}(B,G);if(_e)return;var Me=xe.l+xe.w*$.x-m[O($)]*$._width,Se=xe.t+xe.h*(1-$.y)-m[z($)]*$._effHeight;if(U.margin.autoexpand){var Ce=Me,ae=Se;Me=g.constrain(Me,0,U.width-$._width),Se=g.constrain(Se,0,U.height-$._effHeight),Me!==Ce&&g.log("Constrain "+G+".x to make legend fit inside graph"),Se!==ae&&g.log("Constrain "+G+".y to make legend fit inside graph")}l.setTranslate(te,Me,Se)}if(oe.on(".drag",null),te.on("wheel",null),q||$._height<=$._maxHeight||B._context.staticPlot){var fe=$._effHeight;q&&(fe=$._height),X.attr({width:$._width-Pe,height:fe-Pe,x:Pe/2,y:Pe/2}),l.setTranslate(Q,0,0),Z.select("rect").attr({width:$._width-2*Pe,height:fe-2*Pe,x:Pe,y:Pe}),l.setClipUrl(Q,W,B),l.setRect(oe,0,0,0,0),delete $._scrollY}else{var be,ke,Le,Be=Math.max(s.scrollBarMinHeight,$._effHeight*$._effHeight/$._height),ze=$._effHeight-Be-2*s.scrollBarMargin,je=$._height-$._effHeight,ge=ze/je,we=Math.min($._scrollY||0,je);X.attr({width:$._width-2*Pe+s.scrollBarWidth+s.scrollBarMargin,height:$._effHeight-Pe,x:Pe/2,y:Pe/2}),Z.select("rect").attr({width:$._width-2*Pe+s.scrollBarWidth+s.scrollBarMargin,height:$._effHeight-2*Pe,x:Pe,y:Pe+we}),l.setClipUrl(Q,W,B),$e(we,Be,ge),te.on("wheel",function(){$e(we=g.constrain($._scrollY+d.event.deltaY/ze*je,0,je),Be,ge),we!==0&&we!==je&&d.event.preventDefault()});var Ee=d.behavior.drag().on("dragstart",function(){var Ye=d.event.sourceEvent;be=Ye.type==="touchstart"?Ye.changedTouches[0].clientY:Ye.clientY,Le=we}).on("drag",function(){var Ye=d.event.sourceEvent;Ye.buttons===2||Ye.ctrlKey||(ke=Ye.type==="touchmove"?Ye.changedTouches[0].clientY:Ye.clientY,we=function(st,ot,ht){var bt=(ht-ot)/ge+st;return g.constrain(bt,0,je)}(Le,be,ke),$e(we,Be,ge))});oe.call(Ee);var Ve=d.behavior.drag().on("dragstart",function(){var Ye=d.event.sourceEvent;Ye.type==="touchstart"&&(be=Ye.changedTouches[0].clientY,Le=we)}).on("drag",function(){var Ye=d.event.sourceEvent;Ye.type==="touchmove"&&(ke=Ye.changedTouches[0].clientY,we=function(st,ot,ht){var bt=(ot-ht)/ge+st;return g.constrain(bt,0,je)}(Le,be,ke),$e(we,Be,ge))});Q.call(Ve)}function $e(Ye,st,ot){$._scrollY=B._fullLayout[G]._scrollY=Ye,l.setTranslate(Q,0,-Ye),l.setRect(oe,$._width,s.scrollBarMargin+Ye*ot,s.scrollBarWidth,st),Z.select("rect").attr("y",Pe+Ye)}B._context.edits.legendPosition&&(te.classed("cursor-move",!0),f.init({element:te.node(),gd:B,prepFn:function(){var Ye=l.getTranslate(te);me=Ye.x,pe=Ye.y},moveFn:function(Ye,st){var ot=me+Ye,ht=pe+st;l.setTranslate(te,ot,ht),ye=f.align(ot,$._width,xe.l,xe.l+xe.w,$.xanchor),de=f.align(ht+$._height,-$._height,xe.t+xe.h,xe.t,$.yanchor)},doneFn:function(){if(ye!==void 0&&de!==void 0){var Ye={};Ye[G+".x"]=ye,Ye[G+".y"]=de,M.call("_guiRelayout",B,Ye)}},clickFn:function(Ye,st){var ot=ue.selectAll("g.traces").filter(function(){var ht=this.getBoundingClientRect();return st.clientX>=ht.left&&st.clientX<=ht.right&&st.clientY>=ht.top&&st.clientY<=ht.bottom});ot.size()>0&&A(B,te,ot,Ye,st)}}))}],B)}}function x(B,N,W){var j=B[0],$=j.width,U=N.entrywidthmode,G=j.trace.legendwidth||N.entrywidth;return U==="fraction"?N._maxWidth*G:W+(G||$)}function A(B,N,W,j,$){var U=W.data()[0][0].trace,G={event:$,node:W.node(),curveNumber:U.index,expandedIndex:U._expandedIndex,data:B.data,layout:B.layout,frames:B._transitionData._frames,config:B._context,fullData:B._fullData,fullLayout:B._fullLayout};U._group&&(G.group=U._group),M.traceIs(U,"pie-like")&&(G.label=W.datum()[0].label),v.triggerHandler(B,"plotly_legendclick",G)!==!1&&(j===1?N._clickTimeout=setTimeout(function(){B._fullLayout&&o(W,B,j)},B._context.doubleClickDelay):j===2&&(N._clickTimeout&&clearTimeout(N._clickTimeout),B._legendMouseDownTime=0,v.triggerHandler(B,"plotly_legenddoubleclick",G)!==!1&&o(W,B,j)))}function L(B,N,W){var j,$,U=F(W),G=B.data()[0][0],q=G.trace,H=M.traceIs(q,"pie-like"),ne=!W._inHover&&N._context.edits.legendText&&!H,te=W._maxNameLength;G.groupTitle?(j=G.groupTitle.text,$=G.groupTitle.font):($=W.font,W.entries?j=G.text:(j=H?G.label:q.name,q._meta&&(j=g.templateString(j,q._meta))));var Z=g.ensureSingle(B,"text",U+"text");Z.attr("text-anchor","start").call(l.font,$).text(ne?b(j,te):j);var X=W.itemwidth+2*s.itemGap;u.positionText(Z,X,0),ne?Z.call(u.makeEditable,{gd:N,text:j}).call(I,B,N,W).on("edit",function(Q){this.text(b(Q,te)).call(I,B,N,W);var re=G.trace._fullInput||{},ie={};if(M.hasTransform(re,"groupby")){var oe=M.getTransformIndices(re,"groupby"),ue=oe[oe.length-1],ce=g.keyedContainer(re,"transforms["+ue+"].styles","target","value.name");ce.set(G.trace._group,Q),ie=ce.constructUpdate()}else ie.name=Q;return M.call("_guiRestyle",N,ie,q.index)}):I(Z,B,N,W)}function b(B,N){var W=Math.max(4,N);if(B&&B.trim().length>=W/2)return B;for(var j=W-(B=B||"").length;j>0;j--)B+=" ";return B}function R(B,N,W){var j,$=N._context.doubleClickDelay,U=1,G=g.ensureSingle(B,"rect",W+"toggle",function(q){N._context.staticPlot||q.style("cursor","pointer").attr("pointer-events","all"),q.call(a.fill,"rgba(0,0,0,0)")});N._context.staticPlot||(G.on("mousedown",function(){(j=new Date().getTime())-N._legendMouseDownTime<$?U+=1:(U=1,N._legendMouseDownTime=j)}),G.on("mouseup",function(){if(!N._dragged&&!N._editing){var q=N._fullLayout[W];new Date().getTime()-N._legendMouseDownTime>$&&(U=Math.max(U-1,1)),A(N,q,B,U,d.event)}}))}function I(B,N,W,j,$){j._inHover&&B.attr("data-notex",!0),u.convertToTspans(B,W,function(){(function(U,G,q,H){var ne=U.data()[0][0];if(q._inHover||!ne||ne.trace.showlegend){var te=U.select("g[class*=math-group]"),Z=te.node(),X=F(q);q||(q=G._fullLayout[X]);var Q,re,ie=q.borderwidth,oe=(H===1?q.title.font:ne.groupTitle?ne.groupTitle.font:q.font).size*c;if(Z){var ue=l.bBox(Z);Q=ue.height,re=ue.width,H===1?l.setTranslate(te,ie,ie+.75*Q):l.setTranslate(te,0,.25*Q)}else{var ce="."+X+(H===1?"title":"")+"text",ye=U.select(ce),de=u.lineCount(ye),me=ye.node();if(Q=oe*de,re=me?l.bBox(me).width:0,H===1)q.title.side==="left"&&(re+=2*s.itemGap),u.positionText(ye,ie+s.titlePad,ie+oe);else{var pe=2*s.itemGap+q.itemwidth;ne.groupTitle&&(pe=s.itemGap,re-=q.itemwidth),u.positionText(ye,pe,-oe*((de-1)/2-.3))}}H===1?(q._titleWidth=re,q._titleHeight=Q):(ne.lineHeight=oe,ne.height=Math.max(Q,16)+3,ne.width=re)}else U.remove()})(N,W,j,$)})}function O(B){return g.isRightAnchor(B)?"right":g.isCenterAnchor(B)?"center":"left"}function z(B){return g.isBottomAnchor(B)?"bottom":g.isMiddleAnchor(B)?"middle":"top"}function F(B){return B._id||"legend"}T.exports=function(B,N){if(N)E(B,N);else{var W=B._fullLayout,j=W._legends;W._infolayer.selectAll('[class^="legend"]').each(function(){var G=d.select(this),q=G.attr("class").split(" ")[0];q.match(k)&&j.indexOf(q)===-1&&G.remove()});for(var $=0;$z&&(O=z)}R[f][0]._groupMinRank=O,R[f][0]._preGroupSort=f}var F=function($,U){return $.trace.legendrank-U.trace.legendrank||$._preSort-U._preSort};for(R.forEach(function($,U){$[0]._preGroupSort=U}),R.sort(function($,U){return $[0]._groupMinRank-U[0]._groupMinRank||$[0]._preGroupSort-U[0]._preGroupSort}),f=0;fC?C:w}T.exports=function(w,y,C){var _=y._fullLayout;C||(C=_.legend);var k=C.itemsizing==="constant",E=C.itemwidth,x=(E+2*s.itemGap)/2,A=M(x,0),L=function(I,O,z,F){var B;if(I+1)B=I;else{if(!(O&&O.width>0))return 0;B=O.width}return k?F:Math.min(B,z)};function b(I,O,z){var F=I[0].trace,B=F.marker||{},N=B.line||{},W=z?F.visible&&F.type===z:g.traceIs(F,"bar"),j=d.select(O).select("g.legendpoints").selectAll("path.legend"+z).data(W?[I]:[]);j.enter().append("path").classed("legend"+z,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",A),j.exit().remove(),j.each(function($){var U=d.select(this),G=$[0],q=L(G.mlw,B.line,5,2);U.style("stroke-width",q+"px");var H=G.mcc;if(!C._inHover&&"mc"in G){var ne=l(B),te=ne.mid;te===void 0&&(te=(ne.max+ne.min)/2),H=v.tryColorscale(B,"")(te)}var Z=H||G.mc||B.color,X=B.pattern,Q=X&&v.getPatternAttr(X.shape,0,"");if(Q){var re=v.getPatternAttr(X.bgcolor,0,null),ie=v.getPatternAttr(X.fgcolor,0,null),oe=X.fgopacity,ue=m(X.size,8,10),ce=m(X.solidity,.5,1),ye="legend-"+F.uid;U.call(v.pattern,"legend",y,ye,Q,ue,ce,H,X.fillmode,re,ie,oe)}else U.call(f.fill,Z);q&&f.stroke(U,G.mlc||N.color)})}function R(I,O,z){var F=I[0],B=F.trace,N=z?B.visible&&B.type===z:g.traceIs(B,z),W=d.select(O).select("g.legendpoints").selectAll("path.legend"+z).data(N?[I]:[]);if(W.enter().append("path").classed("legend"+z,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",A),W.exit().remove(),W.size()){var j=(B.marker||{}).line,$=L(o(j.width,F.pts),j,5,2),U=i.minExtend(B,{marker:{line:{width:$}}});U.marker.line.color=j.color;var G=i.minExtend(F,{trace:U});u(W,G,U)}}w.each(function(I){var O=d.select(this),z=i.ensureSingle(O,"g","layers");z.style("opacity",I[0].trace.opacity);var F=C.valign,B=I[0].lineHeight,N=I[0].height;if(F!=="middle"&&B&&N){var W={top:1,bottom:-1}[F]*(.5*(B-N+3));z.attr("transform",M(0,W))}else z.attr("transform",null);z.selectAll("g.legendfill").data([I]).enter().append("g").classed("legendfill",!0),z.selectAll("g.legendlines").data([I]).enter().append("g").classed("legendlines",!0);var j=z.selectAll("g.legendsymbols").data([I]);j.enter().append("g").classed("legendsymbols",!0),j.selectAll("g.legendpoints").data([I]).enter().append("g").classed("legendpoints",!0)}).each(function(I){var O,z=I[0].trace,F=[];if(z.visible)switch(z.type){case"histogram2d":case"heatmap":F=[["M-15,-2V4H15V-2Z"]],O=!0;break;case"choropleth":case"choroplethmapbox":F=[["M-6,-6V6H6V-6Z"]],O=!0;break;case"densitymapbox":F=[["M-6,0 a6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0"]],O="radial";break;case"cone":F=[["M-6,2 A2,2 0 0,0 -6,6 V6L6,4Z"],["M-6,-6 A2,2 0 0,0 -6,-2 L6,-4Z"],["M-6,-2 A2,2 0 0,0 -6,2 L6,0Z"]],O=!1;break;case"streamtube":F=[["M-6,2 A2,2 0 0,0 -6,6 H6 A2,2 0 0,1 6,2 Z"],["M-6,-6 A2,2 0 0,0 -6,-2 H6 A2,2 0 0,1 6,-6 Z"],["M-6,-2 A2,2 0 0,0 -6,2 H6 A2,2 0 0,1 6,-2 Z"]],O=!1;break;case"surface":F=[["M-6,-6 A2,3 0 0,0 -6,0 H6 A2,3 0 0,1 6,-6 Z"],["M-6,1 A2,3 0 0,1 -6,6 H6 A2,3 0 0,0 6,0 Z"]],O=!0;break;case"mesh3d":F=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],O=!1;break;case"volume":F=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],O=!0;break;case"isosurface":F=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6 A12,24 0 0,0 6,-6 L0,6Z"]],O=!1}var B=d.select(this).select("g.legendpoints").selectAll("path.legend3dandfriends").data(F);B.enter().append("path").classed("legend3dandfriends",!0).attr("transform",A).style("stroke-miterlimit",1),B.exit().remove(),B.each(function(N,W){var j,$=d.select(this),U=l(z),G=U.colorscale,q=U.reversescale;if(G){if(!O){var H=G.length;j=W===0?G[q?H-1:0][1]:W===1?G[q?0:H-1][1]:G[Math.floor((H-1)/2)][1]}}else{var ne=z.vertexcolor||z.facecolor||z.color;j=i.isArrayOrTypedArray(ne)?ne[W]||ne[0]:ne}$.attr("d",N[0]),j?$.call(f.fill,j):$.call(function(te){if(te.size()){var Z="legendfill-"+z.uid;v.gradient(te,y,Z,h(q,O==="radial"),G,"fill")}})})}).each(function(I){var O=I[0].trace,z=O.type==="waterfall";if(I[0]._distinct&&z){var F=I[0].trace[I[0].dir].marker;return I[0].mc=F.color,I[0].mlw=F.line.width,I[0].mlc=F.line.color,b(I,this,"waterfall")}var B=[];O.visible&&z&&(B=I[0].hasTotals?[["increasing","M-6,-6V6H0Z"],["totals","M6,6H0L-6,-6H-0Z"],["decreasing","M6,6V-6H0Z"]]:[["increasing","M-6,-6V6H6Z"],["decreasing","M6,6V-6H-6Z"]]);var N=d.select(this).select("g.legendpoints").selectAll("path.legendwaterfall").data(B);N.enter().append("path").classed("legendwaterfall",!0).attr("transform",A).style("stroke-miterlimit",1),N.exit().remove(),N.each(function(W){var j=d.select(this),$=O[W[0]].marker,U=L(void 0,$.line,5,2);j.attr("d",W[1]).style("stroke-width",U+"px").call(f.fill,$.color),U&&j.call(f.stroke,$.line.color)})}).each(function(I){b(I,this,"funnel")}).each(function(I){b(I,this)}).each(function(I){var O=I[0].trace,z=d.select(this).select("g.legendpoints").selectAll("path.legendbox").data(O.visible&&g.traceIs(O,"box-violin")?[I]:[]);z.enter().append("path").classed("legendbox",!0).attr("d","M6,6H-6V-6H6Z").attr("transform",A),z.exit().remove(),z.each(function(){var F=d.select(this);if(O.boxpoints!=="all"&&O.points!=="all"||f.opacity(O.fillcolor)!==0||f.opacity((O.line||{}).color)!==0){var B=L(void 0,O.line,5,2);F.style("stroke-width",B+"px").call(f.fill,O.fillcolor),B&&f.stroke(F,O.line.color)}else{var N=i.minExtend(O,{marker:{size:k?12:i.constrain(O.marker.size,2,16),sizeref:1,sizemin:1,sizemode:"diameter"}});z.call(v.pointStyle,N,y)}})}).each(function(I){R(I,this,"funnelarea")}).each(function(I){R(I,this,"pie")}).each(function(I){var O,z,F=c(I),B=F.showFill,N=F.showLine,W=F.showGradientLine,j=F.showGradientFill,$=F.anyFill,U=F.anyLine,G=I[0],q=G.trace,H=l(q),ne=H.colorscale,te=H.reversescale,Z=a.hasMarkers(q)||!$?"M5,0":U?"M5,-2":"M5,-3",X=d.select(this),Q=X.select(".legendfill").selectAll("path").data(B||j?[I]:[]);if(Q.enter().append("path").classed("js-fill",!0),Q.exit().remove(),Q.attr("d",Z+"h"+E+"v6h-"+E+"z").call(function(oe){if(oe.size())if(B)v.fillGroupStyle(oe,y);else{var ue="legendfill-"+q.uid;v.gradient(oe,y,ue,h(te),ne,"fill")}}),N||W){var re=L(void 0,q.line,10,5);z=i.minExtend(q,{line:{width:re}}),O=[i.minExtend(G,{trace:z})]}var ie=X.select(".legendlines").selectAll("path").data(N||W?[O]:[]);ie.enter().append("path").classed("js-line",!0),ie.exit().remove(),ie.attr("d",Z+(W?"l"+E+",0.0001":"h"+E)).call(N?v.lineGroupStyle:function(oe){if(oe.size()){var ue="legendline-"+q.uid;v.lineGroupStyle(oe),v.gradient(oe,y,ue,h(te),ne,"stroke")}})}).each(function(I){var O,z,F=c(I),B=F.anyFill,N=F.anyLine,W=F.showLine,j=F.showMarker,$=I[0],U=$.trace,G=!j&&!N&&!B&&a.hasText(U);function q(ie,oe,ue,ce){var ye=i.nestedProperty(U,ie).get(),de=i.isArrayOrTypedArray(ye)&&oe?oe(ye):ye;if(k&&de&&ce!==void 0&&(de=ce),ue){if(deue[1])return ue[1]}return de}function H(ie){return $._distinct&&$.index&&ie[$.index]?ie[$.index]:ie[0]}if(j||G||W){var ne={},te={};if(j){ne.mc=q("marker.color",H),ne.mx=q("marker.symbol",H),ne.mo=q("marker.opacity",i.mean,[.2,1]),ne.mlc=q("marker.line.color",H),ne.mlw=q("marker.line.width",i.mean,[0,5],2),te.marker={sizeref:1,sizemin:1,sizemode:"diameter"};var Z=q("marker.size",i.mean,[2,16],12);ne.ms=Z,te.marker.size=Z}W&&(te.line={width:q("line.width",H,[0,10],5)}),G&&(ne.tx="Aa",ne.tp=q("textposition",H),ne.ts=10,ne.tc=q("textfont.color",H),ne.tf=q("textfont.family",H)),O=[i.minExtend($,ne)],(z=i.minExtend(U,te)).selectedpoints=null,z.texttemplate=null}var X=d.select(this).select("g.legendpoints"),Q=X.selectAll("path.scatterpts").data(j?O:[]);Q.enter().insert("path",":first-child").classed("scatterpts",!0).attr("transform",A),Q.exit().remove(),Q.call(v.pointStyle,z,y),j&&(O[0].mrc=3);var re=X.selectAll("g.pointtext").data(G?O:[]);re.enter().append("g").classed("pointtext",!0).append("text").attr("transform",A),re.exit().remove(),re.selectAll("text").call(v.textPointStyle,z,y)}).each(function(I){var O=I[0].trace,z=d.select(this).select("g.legendpoints").selectAll("path.legendcandle").data(O.visible&&O.type==="candlestick"?[I,I]:[]);z.enter().append("path").classed("legendcandle",!0).attr("d",function(F,B){return B?"M-15,0H-8M-8,6V-6H8Z":"M15,0H8M8,-6V6H-8Z"}).attr("transform",A).style("stroke-miterlimit",1),z.exit().remove(),z.each(function(F,B){var N=d.select(this),W=O[B?"increasing":"decreasing"],j=L(void 0,W.line,5,2);N.style("stroke-width",j+"px").call(f.fill,W.fillcolor),j&&f.stroke(N,W.line.color)})}).each(function(I){var O=I[0].trace,z=d.select(this).select("g.legendpoints").selectAll("path.legendohlc").data(O.visible&&O.type==="ohlc"?[I,I]:[]);z.enter().append("path").classed("legendohlc",!0).attr("d",function(F,B){return B?"M-15,0H0M-8,-6V0":"M15,0H0M8,6V0"}).attr("transform",A).style("stroke-miterlimit",1),z.exit().remove(),z.each(function(F,B){var N=d.select(this),W=O[B?"increasing":"decreasing"],j=L(void 0,W.line,5,2);N.style("fill","none").call(v.dashLine,W.line.dash,j),j&&f.stroke(N,W.line.color)})})}},42068:function(T,p,t){t(93348),T.exports={editType:"modebar",orientation:{valType:"enumerated",values:["v","h"],dflt:"h",editType:"modebar"},bgcolor:{valType:"color",editType:"modebar"},color:{valType:"color",editType:"modebar"},activecolor:{valType:"color",editType:"modebar"},uirevision:{valType:"any",editType:"none"},add:{valType:"string",arrayOk:!0,dflt:"",editType:"modebar"},remove:{valType:"string",arrayOk:!0,dflt:"",editType:"modebar"}}},26023:function(T,p,t){var d=t(73972),g=t(74875),i=t(41675),M=t(24255),v=t(34031).eraseActiveShape,f=t(71828),l=f._,a=T.exports={};function u(_,k){var E,x,A=k.currentTarget,L=A.getAttribute("data-attr"),b=A.getAttribute("data-val")||!0,R=_._fullLayout,I={},O=i.list(_,null,!0),z=R._cartesianSpikesEnabled;if(L==="zoom"){var F,B=b==="in"?.5:2,N=(1+B)/2,W=(1-B)/2;for(x=0;x1?(Z=["toggleHover"],X=["resetViews"]):I?(te=["zoomInGeo","zoomOutGeo"],Z=["hoverClosestGeo"],X=["resetGeo"]):R?(Z=["hoverClosest3d"],X=["resetCameraDefault3d","resetCameraLastSave3d"]):N?(te=["zoomInMapbox","zoomOutMapbox"],Z=["toggleHover"],X=["resetViewMapbox"]):F?Z=["hoverClosestGl2d"]:O?Z=["hoverClosestPie"]:$?(Z=["hoverClosestCartesian","hoverCompareCartesian"],X=["resetViewSankey"]):Z=["toggleHover"],b&&(Z=["toggleSpikelines","hoverClosestCartesian","hoverCompareCartesian"]),(function(ye){for(var de=0;de0)){var y=function(_,k,E){for(var x=E.filter(function(R){return k[R].anchor===_._id}),A=0,L=0;L=pe.max)de=oe[me+1];else if(ye=pe.pmax)de=oe[me+1];else if(yeme._length||ke+Ve<0)return;ge=be+Ve,we=ke+Ve;break;case Pe:if(Ee="col-resize",be+Ve>me._length)return;ge=be+Ve,we=ke;break;case _e:if(Ee="col-resize",ke+Ve<0)return;ge=be,we=ke+Ve;break;default:Ee="ew-resize",ge=fe,we=fe+Ve}if(we=0;F--){var B=k.append("path").attr(x).style("opacity",F?.1:A).call(M.stroke,b).call(M.fill,L).call(v.dashLine,F?"solid":I,F?4+R:R);if(h(B,m,C),O){var N=f(m.layout,"selections",C);B.style({cursor:"move"});var W={element:B.node(),plotinfo:_,gd:m,editHelpers:N,isActiveSelection:!0},j=d(E,m);g(j,B,W)}else B.style("pointer-events",F?"all":"none");z[F]=B}var $=z[0];z[1].node().addEventListener("click",function(){return function(U,G){if(o(U)){var q=+G.node().getAttribute("data-index");if(q>=0){if(q===U._fullLayout._activeSelectionIndex)return void c(U);U._fullLayout._activeSelectionIndex=q,U._fullLayout._deactivateSelection=c,u(U)}}}(m,$)})}(m._fullLayout._selectionLayer)}function h(m,w,y){var C=y.xref+y.yref;v.setClipUrl(m,"clip"+w._fullLayout._uid+C,w)}function c(m){o(m)&&m._fullLayout._activeSelectionIndex>=0&&(i(m),delete m._fullLayout._activeSelectionIndex,u(m))}T.exports={draw:u,drawOne:s,activateLastSelection:function(m){if(o(m)){var w=m._fullLayout.selections.length-1;m._fullLayout._activeSelectionIndex=w,m._fullLayout._deactivateSelection=c,u(m)}}}},53777:function(T,p,t){var d=t(79952).P,g=t(1426).extendFlat;T.exports={newselection:{mode:{valType:"enumerated",values:["immediate","gradual"],dflt:"immediate",editType:"none"},line:{color:{valType:"color",editType:"none"},width:{valType:"number",min:1,dflt:1,editType:"none"},dash:g({},d,{dflt:"dot",editType:"none"}),editType:"none"},editType:"none"},activeselection:{fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"none"},opacity:{valType:"number",min:0,max:1,dflt:.5,editType:"none"},editType:"none"}}},90849:function(T){T.exports=function(p,t,d){d("newselection.mode"),d("newselection.line.width")&&(d("newselection.line.color"),d("newselection.line.dash")),d("activeselection.fillcolor"),d("activeselection.opacity")}},35855:function(T,p,t){var d=t(64505).selectMode,g=t(51873).clearOutline,i=t(60165),M=i.readPaths,v=i.writePaths,f=i.fixDatesForPaths;T.exports=function(l,a){if(l.length){var u=l[0][0];if(u){var o=u.getAttribute("d"),s=a.gd,h=s._fullLayout.newselection,c=a.plotinfo,m=c.xaxis,w=c.yaxis,y=a.isActiveSelection,C=a.dragmode,_=(s.layout||{}).selections||[];if(!d(C)&&y!==void 0){var k=s._fullLayout._activeSelectionIndex;if(k<_.length)switch(s._fullLayout.selections[k].type){case"rect":C="select";break;case"path":C="lasso"}}var E,x=M(o,s,c,y),A={xref:m._id,yref:w._id,opacity:h.opacity,line:{color:h.line.color,width:h.line.width,dash:h.line.dash}};x.length===1&&(E=x[0]),E&&E.length===5&&C==="select"?(A.type="rect",A.x0=E[0][1],A.y0=E[0][2],A.x1=E[2][1],A.y1=E[2][2]):(A.type="path",m&&w&&f(x,m,w),A.path=v(x),E=null),g(s);for(var L=a.editHelpers,b=(L||{}).modifyItem,R=[],I=0;I<_.length;I++){var O=s._fullLayout.selections[I];if(O){if(R[I]=O._input,y!==void 0&&I===s._fullLayout._activeSelectionIndex){var z=A;switch(O.type){case"rect":b("x0",z.x0),b("x1",z.x1),b("y0",z.y0),b("y1",z.y1);break;case"path":b("path",z.path)}}}else R[I]=O}return y===void 0?(R.push(A),R):L?L.getUpdateObj():{}}}}},75549:function(T,p,t){var d=t(71828).strTranslate;function g(i,M){switch(i.type){case"log":return i.p2d(M);case"date":return i.p2r(M,0,i.calendar);default:return i.p2r(M)}}T.exports={p2r:g,r2p:function(i,M){switch(i.type){case"log":return i.d2p(M);case"date":return i.r2p(M,0,i.calendar);default:return i.r2p(M)}},axValue:function(i){var M=i._id.charAt(0)==="y"?1:0;return function(v){return g(i,v[M])}},getTransform:function(i){return d(i.xaxis._offset,i.yaxis._offset)}}},47322:function(T,p,t){var d=t(32485),g=t(3937);T.exports={moduleType:"component",name:"selections",layoutAttributes:t(8389),supplyLayoutDefaults:t(59402),supplyDrawNewSelectionDefaults:t(90849),includeBasePlot:t(76325)("selections"),draw:d.draw,drawOne:d.drawOne,reselect:g.reselect,prepSelect:g.prepSelect,clearOutline:g.clearOutline,clearSelectionsCache:g.clearSelectionsCache,selectOnClick:g.selectOnClick}},3937:function(T,p,t){var d=t(52142),g=t(38258),i=t(73972),M=t(91424).dashStyle,v=t(7901),f=t(30211),l=t(23469).makeEventData,a=t(64505),u=a.freeMode,o=a.rectMode,s=a.drawMode,h=a.openMode,c=a.selectMode,m=t(30477),w=t(21459),y=t(42359),C=t(51873).clearOutline,_=t(60165),k=_.handleEllipse,E=_.readPaths,x=t(90551),A=t(35855),L=t(32485).activateLastSelection,b=t(71828),R=b.sorterAsc,I=t(61082),O=t(79990),z=t(41675).getFromId,F=t(33306),B=t(61549).redrawReglTraces,N=t(34122),W=N.MINSELECT,j=I.filter,$=I.tester,U=t(75549),G=U.p2r,q=U.axValue,H=U.getTransform;function ne(ze){return ze.subplot!==void 0}function te(ze,je,ge,we,Ee,Ve,$e){var Ye,st,ot,ht,bt,Et,kt,xt,Ft,Ot=je._hoverdata,Bt=je._fullLayout.clickmode.indexOf("event")>-1,qt=[];if(function(nt){return nt&&Array.isArray(nt)&&nt[0].hoverOnBox!==!0}(Ot)){re(ze,je,Ve);var Vt=function(nt,ft){var Re,Ne,Qe=nt[0],ut=-1,dt=[];for(Ne=0;Ne0?function(nt,ft){var Re,Ne,Qe,ut=[];for(Qe=0;Qe0&&ut.push(Re);if(ut.length===1&&ut[0]===ft.searchInfo&&(Ne=ft.searchInfo.cd[0].trace).selectedpoints.length===ft.pointNumbers.length){for(Qe=0;Qe1||(Ne+=ft.selectedpoints.length)>1))return!1;return Ne===1}(Ye)&&(Et=ye(Vt))){for($e&&$e.remove(),Ft=0;Ft=0})(Ee)&&Ee._fullLayout._deactivateShape(Ee),function(bt){return bt._fullLayout._activeSelectionIndex>=0}(Ee)&&Ee._fullLayout._deactivateSelection(Ee);var Ve=Ee._fullLayout._zoomlayer,$e=s(ge),Ye=c(ge);if($e||Ye){var st,ot,ht=Ve.selectAll(".select-outline-"+we.id);ht&&Ee._fullLayout._outlining&&($e&&(st=x(ht,ze)),st&&i.call("_guiRelayout",Ee,{shapes:st}),Ye&&!ne(ze)&&(ot=A(ht,ze)),ot&&(Ee._fullLayout._noEmitSelectedAtStart=!0,i.call("_guiRelayout",Ee,{selections:ot}).then(function(){je&&L(Ee)})),Ee._fullLayout._outlining=!1)}we.selection={},we.selection.selectionDefs=ze.selectionDefs=[],we.selection.mergedPolygons=ze.mergedPolygons=[]}function oe(ze){return ze._id}function ue(ze,je,ge,we){if(!ze.calcdata)return[];var Ee,Ve,$e,Ye=[],st=je.map(oe),ot=ge.map(oe);for($e=0;$e0?we[0]:ge;return!!je.selectedpoints&&je.selectedpoints.indexOf(Ee)>-1}function de(ze,je,ge){var we,Ee;for(we=0;we-1&&je;if(!Ve&&je){var Tn=Ce(ze,!0);if(Tn.length){var dn=Tn[0].xref,pn=Tn[0].yref;if(dn&&pn){var Dn=be(Tn);ke([z(ze,dn,"x"),z(ze,pn,"y")])(kn,Dn)}}ze._fullLayout._noEmitSelectedAtStart?ze._fullLayout._noEmitSelectedAtStart=!1:sn&&Le(ze,kn),Et._reselect=!1}if(!Ve&&Et._deselect){var In=Et._deselect;(function(jn,Gn,qn){for(var lr=0;lr=0)kt._fullLayout._deactivateShape(kt);else if(!ot){var pn=xt.clickmode;O.done(An).then(function(){if(O.clear(An),Tn===2){for(Xt.remove(),Qe=0;Qe-1&&te(dn,kt,we.xaxes,we.yaxes,we.subplot,we,Xt),pn==="event"&&Le(kt,void 0);f.click(kt,dn)}).catch(b.error)}},we.doneFn=function(){un.remove(),O.done(An).then(function(){O.clear(An),!Ft&&Ne&&we.selectionDefs&&(Ne.subtract=Wt,we.selectionDefs.push(Ne),we.mergedPolygons.length=0,[].push.apply(we.mergedPolygons,Re)),(Ft||ot)&&ie(we,Ft),we.doneFnCompleted&&we.doneFnCompleted(Yn),ht&&Le(kt,dt)}).catch(b.error)}},clearOutline:C,clearSelectionsCache:ie,selectOnClick:te}},89827:function(T,p,t){var d=t(50215),g=t(41940),i=t(82196).line,M=t(79952).P,v=t(1426).extendFlat,f=t(44467).templatedArray,l=(t(24695),t(5386).R),a=t(37281);T.exports=f("shape",{visible:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},type:{valType:"enumerated",values:["circle","rect","path","line"],editType:"calc+arraydraw"},layer:{valType:"enumerated",values:["below","above"],dflt:"above",editType:"arraydraw"},xref:v({},d.xref,{}),xsizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",editType:"calc+arraydraw"},xanchor:{valType:"any",editType:"calc+arraydraw"},x0:{valType:"any",editType:"calc+arraydraw"},x1:{valType:"any",editType:"calc+arraydraw"},yref:v({},d.yref,{}),ysizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",editType:"calc+arraydraw"},yanchor:{valType:"any",editType:"calc+arraydraw"},y0:{valType:"any",editType:"calc+arraydraw"},y1:{valType:"any",editType:"calc+arraydraw"},path:{valType:"string",editType:"calc+arraydraw"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"arraydraw"},line:{color:v({},i.color,{editType:"arraydraw"}),width:v({},i.width,{editType:"calc+arraydraw"}),dash:v({},M,{editType:"arraydraw"}),editType:"calc+arraydraw"},fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},fillrule:{valType:"enumerated",values:["evenodd","nonzero"],dflt:"evenodd",editType:"arraydraw"},editable:{valType:"boolean",dflt:!1,editType:"calc+arraydraw"},label:{text:{valType:"string",dflt:"",editType:"arraydraw"},texttemplate:l({},{keys:Object.keys(a)}),font:g({editType:"calc+arraydraw",colorEditType:"arraydraw"}),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right","start","middle","end"],editType:"arraydraw"},textangle:{valType:"angle",dflt:"auto",editType:"calc+arraydraw"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto",editType:"calc+arraydraw"},yanchor:{valType:"enumerated",values:["top","middle","bottom"],editType:"calc+arraydraw"},padding:{valType:"number",dflt:3,min:0,editType:"arraydraw"},editType:"arraydraw"},editType:"arraydraw"})},5627:function(T,p,t){var d=t(71828),g=t(89298),i=t(21459),M=t(30477);function v(u){return l(u.line.width,u.xsizemode,u.x0,u.x1,u.path,!1)}function f(u){return l(u.line.width,u.ysizemode,u.y0,u.y1,u.path,!0)}function l(u,o,s,h,c,m){var w=u/2,y=m;if(o==="pixel"){var C=c?M.extractPathCoords(c,m?i.paramIsY:i.paramIsX):[s,h],_=d.aggNums(Math.max,null,C),k=d.aggNums(Math.min,null,C),E=k<0?Math.abs(k)+w:w,x=_>0?_+w:w;return{ppad:w,ppadplus:y?E:x,ppadminus:y?x:E}}return{ppad:w}}function a(u,o,s,h,c){var m=u.type==="category"||u.type==="multicategory"?u.r2c:u.d2c;if(o!==void 0)return[m(o),m(s)];if(h){var w,y,C,_,k=1/0,E=-1/0,x=h.match(i.segmentRE);for(u.type==="date"&&(m=M.decodeDate(m)),w=0;wE&&(E=_)));return E>=k?[k,E]:void 0}}T.exports=function(u){var o=u._fullLayout,s=d.filterVisible(o.shapes);if(s.length&&u._fullData.length)for(var h=0;h1&&(ye.length!==2||ye[1][0]!=="Z")&&(W===0&&(ye[0][0]="M"),A[N]=ye,O(),z())}}()}}function X(oe,ue){(function(ce,ye){if(A.length)for(var de=0;deSe?(fe=_e,Be="y0",be=Se,ze="y1"):(fe=Se,Be="y1",be=_e,ze="y0"),Je(Ne),ft(pe,de),function(Qe,ut,dt){var _t=ut.xref,It=ut.yref,Lt=M.getFromId(dt,_t),yt=M.getFromId(dt,It),Pt="";_t==="paper"||Lt.autorange||(Pt+=_t),It==="paper"||yt.autorange||(Pt+=It),u.setClipUrl(Qe,Pt?"clip"+dt._fullLayout._uid+Pt:null,dt)}(ye,de,ce),Ke.moveFn=Ee==="move"?qe:nt,Ke.altKey=Ne.altKey)},doneFn:function(){E(ce)||(h(ye),Re(pe),L(ye,ce,de),g.call("_guiRelayout",ce,xe.getUpdateObj()))},clickFn:function(){E(ce)||Re(pe)}};function Je(Ne){if(E(ce))Ee=null;else if(Ye)Ee=Ne.target.tagName==="path"?"move":Ne.target.attributes["data-line-point"].value==="start-point"?"resize-over-start-point":"resize-over-end-point";else{var Qe=Ke.element.getBoundingClientRect(),ut=Qe.right-Qe.left,dt=Qe.bottom-Qe.top,_t=Ne.clientX-Qe.left,It=Ne.clientY-Qe.top,Lt=!st&&ut>10&&dt>10&&!Ne.shiftKey?s.getCursor(_t/ut,1-It/dt):"move";h(ye,Lt),Ee=Lt.split("-")[0]}}function qe(Ne,Qe){if(de.type==="path"){var ut=function(It){return It},dt=ut,_t=ut;Ve?ot("xanchor",de.xanchor=Bt(Ce+Ne)):(dt=function(It){return Bt(Ft(It)+Ne)},bt&&bt.type==="date"&&(dt=w.encodeDate(dt))),$e?ot("yanchor",de.yanchor=qt(ae+Qe)):(_t=function(It){return qt(Ot(It)+Qe)},kt&&kt.type==="date"&&(_t=w.encodeDate(_t))),ot("path",de.path=R(we,dt,_t))}else Ve?ot("xanchor",de.xanchor=Bt(Ce+Ne)):(ot("x0",de.x0=Bt(Pe+Ne)),ot("x1",de.x1=Bt(Me+Ne))),$e?ot("yanchor",de.yanchor=qt(ae+Qe)):(ot("y0",de.y0=qt(_e+Qe)),ot("y1",de.y1=qt(Se+Qe)));ye.attr("d",y(ce,de)),ft(pe,de),b(ce,me,de,ht)}function nt(Ne,Qe){if(st){var ut=function(un){return un},dt=ut,_t=ut;Ve?ot("xanchor",de.xanchor=Bt(Ce+Ne)):(dt=function(un){return Bt(Ft(un)+Ne)},bt&&bt.type==="date"&&(dt=w.encodeDate(dt))),$e?ot("yanchor",de.yanchor=qt(ae+Qe)):(_t=function(un){return qt(Ot(un)+Qe)},kt&&kt.type==="date"&&(_t=w.encodeDate(_t))),ot("path",de.path=R(we,dt,_t))}else if(Ye){if(Ee==="resize-over-start-point"){var It=Pe+Ne,Lt=$e?_e-Qe:_e+Qe;ot("x0",de.x0=Ve?It:Bt(It)),ot("y0",de.y0=$e?Lt:qt(Lt))}else if(Ee==="resize-over-end-point"){var yt=Me+Ne,Pt=$e?Se-Qe:Se+Qe;ot("x1",de.x1=Ve?yt:Bt(yt)),ot("y1",de.y1=$e?Pt:qt(Pt))}}else{var wt=function(un){return Ee.indexOf(un)!==-1},Rt=wt("n"),Nt=wt("s"),Yt=wt("w"),Wt=wt("e"),Xt=Rt?fe+Qe:fe,Qt=Nt?be+Qe:be,rn=Yt?ke+Ne:ke,xn=Wt?Le+Ne:Le;$e&&(Rt&&(Xt=fe-Qe),Nt&&(Qt=be-Qe)),(!$e&&Qt-Xt>10||$e&&Xt-Qt>10)&&(ot(Be,de[Be]=$e?Xt:qt(Xt)),ot(ze,de[ze]=$e?Qt:qt(Qt))),xn-rn>10&&(ot(je,de[je]=Ve?rn:Bt(rn)),ot(ge,de[ge]=Ve?xn:Bt(xn)))}ye.attr("d",y(ce,de)),ft(pe,de),b(ce,me,de,ht)}function ft(Ne,Qe){(Ve||$e)&&function(){var ut=Qe.type!=="path",dt=Ne.selectAll(".visual-cue").data([0]);dt.enter().append("path").attr({fill:"#fff","fill-rule":"evenodd",stroke:"#000","stroke-width":1}).classed("visual-cue",!0);var _t=Ft(Ve?Qe.xanchor:i.midRange(ut?[Qe.x0,Qe.x1]:w.extractPathCoords(Qe.path,m.paramIsX))),It=Ot($e?Qe.yanchor:i.midRange(ut?[Qe.y0,Qe.y1]:w.extractPathCoords(Qe.path,m.paramIsY)));if(_t=w.roundPositionForSharpStrokeRendering(_t,1),It=w.roundPositionForSharpStrokeRendering(It,1),Ve&&$e){var Lt="M"+(_t-1-1)+","+(It-1-1)+"h-8v2h8 v8h2v-8 h8v-2h-8 v-8h-2 Z";dt.attr("d",Lt)}else if(Ve){var yt="M"+(_t-1-1)+","+(It-9-1)+"v18 h2 v-18 Z";dt.attr("d",yt)}else{var Pt="M"+(_t-9-1)+","+(It-1-1)+"h18 v2 h-18 Z";dt.attr("d",Pt)}}()}function Re(Ne){Ne.selectAll(".visual-cue").remove()}s.init(Ke),Vt.node().onmousemove=Je}(O,ie,B,z,j,Q):B.editable===!0&&ie.style("pointer-events",Z||a.opacity(q)*G<=.5?"stroke":"all");ie.node().addEventListener("click",function(){return function(ce,ye){if(x(ce)){var de=+ye.node().getAttribute("data-index");if(de>=0){if(de===ce._fullLayout._activeShapeIndex)return void I(ce);ce._fullLayout._activeShapeIndex=de,ce._fullLayout._deactivateShape=I,k(ce)}}}(O,ie)})}B._input&&B.visible!==!1&&(B.layer!=="below"?W(O._fullLayout._shapeUpperLayer):B.xref==="paper"||B.yref==="paper"?W(O._fullLayout._shapeLowerLayer):N._hadPlotinfo?W((N.mainplotinfo||N).shapelayer):W(O._fullLayout._shapeLowerLayer))}function L(O,z,F){var B=(F.xref+F.yref).replace(/paper/g,"").replace(/[xyz][1-9]* *domain/g,"");u.setClipUrl(O,B?"clip"+z._fullLayout._uid+B:null,z)}function b(O,z,F,B){if(B.selectAll(".shape-label").remove(),F.label.text||F.label.texttemplate){var N;if(F.label.texttemplate){var W={};if(F.type!=="path"){var j=M.getFromId(O,F.xref),$=M.getFromId(O,F.yref);for(var U in C){var G=C[U](F,j,$);G!==void 0&&(W[U]=G)}}N=i.texttemplateStringForShapes(F.label.texttemplate,{},O._fullLayout._d3locale,W)}else N=F.label.text;var q,H,ne,te,Z={"data-index":z},X=F.label.font,Q=B.append("g").attr(Z).classed("shape-label",!0).append("text").attr({"data-notex":1}).classed("shape-label-text",!0).text(N);if(F.path){var re=y(O,F),ie=v(re,O);q=1/0,ne=1/0,H=-1/0,te=-1/0;for(var oe=0;oe=Le?Be-je:je-Be,-180/Math.PI*Math.atan2(ge,we)}(q,ne,H,te):0),Q.call(function(Le){return Le.call(u.font,X).attr({}),c.convertToTspans(Le,O),Le});var ae=function(Le,Be,ze,je,ge,we,Ee){var Ve,$e,Ye,st,ot=ge.label.textposition,ht=ge.label.textangle,bt=ge.label.padding,Et=ge.type,kt=Math.PI/180*we,xt=Math.sin(kt),Ft=Math.cos(kt),Ot=ge.label.xanchor,Bt=ge.label.yanchor;if(Et==="line"){ot==="start"?(Ve=Le,$e=Be):ot==="end"?(Ve=ze,$e=je):(Ve=(Le+ze)/2,$e=(Be+je)/2),Ot==="auto"&&(Ot=ot==="start"?ht==="auto"?ze>Le?"left":zeLe?"right":zeLe?"right":zeLe?"left":ze=U||(j[N]?G=z(G):$[N]&&(G=F(G)),N++),G})})}function I(O){x(O)&&O._fullLayout._activeShapeIndex>=0&&(l(O),delete O._fullLayout._activeShapeIndex,k(O))}T.exports={draw:k,drawOne:A,eraseActiveShape:function(O){if(x(O)){l(O);var z=O._fullLayout._activeShapeIndex,F=(O.layout||{}).shapes||[];if(z0&&EZ&&(Q="X"),Q});return q>Z&&(X=X.replace(/[\s,]*X.*/,""),g.log("Ignoring extra params in segment "+G)),H+X})}(v,l,u);if(v.xsizemode==="pixel"){var E=l(v.xanchor);o=E+v.x0,s=E+v.x1}else o=l(v.x0),s=l(v.x1);if(v.ysizemode==="pixel"){var x=u(v.yanchor);h=x-v.y0,c=x-v.y1}else h=u(v.y0),c=u(v.y1);if(m==="line")return"M"+o+","+h+"L"+s+","+c;if(m==="rect")return"M"+o+","+h+"H"+s+"V"+c+"H"+o+"Z";var A=(o+s)/2,L=(h+c)/2,b=Math.abs(A-o),R=Math.abs(L-h),I="A"+b+","+R,O=A+b+","+L;return"M"+O+I+" 0 1,1 "+A+","+(L-R)+I+" 0 0,1 "+O+"Z"}},89853:function(T,p,t){var d=t(34031);T.exports={moduleType:"component",name:"shapes",layoutAttributes:t(89827),supplyLayoutDefaults:t(84726),supplyDrawNewShapeDefaults:t(45547),includeBasePlot:t(76325)("shapes"),calcAutorange:t(5627),draw:d.draw,drawOne:d.drawOne}},37281:function(T){function p(i,M){return M?M.d2l(i):i}function t(i,M){return M?M.l2d(i):i}function d(i,M){return p(i.x1,M)-p(i.x0,M)}function g(i,M,v){return p(i.y1,v)-p(i.y0,v)}T.exports={x0:function(i){return i.x0},x1:function(i){return i.x1},y0:function(i){return i.y0},y1:function(i){return i.y1},slope:function(i,M,v){return i.type!=="line"?void 0:g(i,0,v)/d(i,M)},dx:d,dy:g,width:function(i,M){return Math.abs(d(i,M))},height:function(i,M,v){return Math.abs(g(i,0,v))},length:function(i,M,v){return i.type!=="line"?void 0:Math.sqrt(Math.pow(d(i,M),2)+Math.pow(g(i,0,v),2))},xcenter:function(i,M){return t((p(i.x1,M)+p(i.x0,M))/2,M)},ycenter:function(i,M,v){return t((p(i.y1,v)+p(i.y0,v))/2,v)}}},75067:function(T,p,t){var d=t(41940),g=t(35025),i=t(1426).extendDeepAll,M=t(30962).overrideAll,v=t(85594),f=t(44467).templatedArray,l=t(98292),a=f("step",{visible:{valType:"boolean",dflt:!0},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle"},args:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},label:{valType:"string"},value:{valType:"string"},execute:{valType:"boolean",dflt:!0}});T.exports=M(f("slider",{visible:{valType:"boolean",dflt:!0},active:{valType:"number",min:0,dflt:0},steps:a,lenmode:{valType:"enumerated",values:["fraction","pixels"],dflt:"fraction"},len:{valType:"number",min:0,dflt:1},x:{valType:"number",min:-2,max:3,dflt:0},pad:i(g({editType:"arraydraw"}),{},{t:{dflt:20}}),xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left"},y:{valType:"number",min:-2,max:3,dflt:0},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top"},transition:{duration:{valType:"number",min:0,dflt:150},easing:{valType:"enumerated",values:v.transition.easing.values,dflt:"cubic-in-out"}},currentvalue:{visible:{valType:"boolean",dflt:!0},xanchor:{valType:"enumerated",values:["left","center","right"],dflt:"left"},offset:{valType:"number",dflt:10},prefix:{valType:"string"},suffix:{valType:"string"},font:d({})},font:d({}),activebgcolor:{valType:"color",dflt:l.gripBgActiveColor},bgcolor:{valType:"color",dflt:l.railBgColor},bordercolor:{valType:"color",dflt:l.railBorderColor},borderwidth:{valType:"number",min:0,dflt:l.railBorderWidth},ticklen:{valType:"number",min:0,dflt:l.tickLength},tickcolor:{valType:"color",dflt:l.tickColor},tickwidth:{valType:"number",min:0,dflt:1},minorticklen:{valType:"number",min:0,dflt:l.minorTickLength}}),"arraydraw","from-root")},98292:function(T){T.exports={name:"sliders",containerClassName:"slider-container",groupClassName:"slider-group",inputAreaClass:"slider-input-area",railRectClass:"slider-rail-rect",railTouchRectClass:"slider-rail-touch-rect",gripRectClass:"slider-grip-rect",tickRectClass:"slider-tick-rect",inputProxyClass:"slider-input-proxy",labelsClass:"slider-labels",labelGroupClass:"slider-label-group",labelClass:"slider-label",currentValueClass:"slider-current-value",railHeight:5,menuIndexAttrName:"slider-active-index",autoMarginIdRoot:"slider-",minWidth:30,minHeight:30,textPadX:40,arrowOffsetX:4,railRadius:2,railWidth:5,railBorder:4,railBorderWidth:1,railBorderColor:"#bec8d9",railBgColor:"#f8fafc",railInset:8,stepInset:10,gripRadius:10,gripWidth:20,gripHeight:20,gripBorder:20,gripBorderWidth:1,gripBorderColor:"#bec8d9",gripBgColor:"#f6f8fa",gripBgActiveColor:"#dbdde0",labelPadding:8,labelOffset:0,tickWidth:1,tickColor:"#333",tickOffset:25,tickLength:7,minorTickOffset:25,minorTickColor:"#333",minorTickLength:4,currentValuePadding:8,currentValueInset:0}},12343:function(T,p,t){var d=t(71828),g=t(85501),i=t(75067),M=t(98292).name,v=i.steps;function f(a,u,o){function s(y,C){return d.coerce(a,u,i,y,C)}for(var h=g(a,u,{name:"steps",handleItemDefaults:l}),c=0,m=0;m0&&(q=q.transition().duration(N.transition.duration).ease(N.transition.easing)),q.attr("transform",f(G-.5*u.gripWidth,N._dims.currentValueTotalHeight))}}function I(B,N){var W=B._dims;return W.inputAreaStart+u.stepInset+(W.inputAreaLength-2*u.stepInset)*Math.min(1,Math.max(0,N))}function O(B,N){var W=B._dims;return Math.min(1,Math.max(0,(N-u.stepInset-W.inputAreaStart)/(W.inputAreaLength-2*u.stepInset-2*W.inputAreaStart)))}function z(B,N,W){var j=W._dims,$=v.ensureSingle(B,"rect",u.railTouchRectClass,function(U){U.call(L,N,B,W).style("pointer-events","all")});$.attr({width:j.inputAreaLength,height:Math.max(j.inputAreaWidth,u.tickOffset+W.ticklen+j.labelHeight)}).call(i.fill,W.bgcolor).attr("opacity",0),M.setTranslate($,0,j.currentValueTotalHeight)}function F(B,N){var W=N._dims,j=W.inputAreaLength-2*u.railInset,$=v.ensureSingle(B,"rect",u.railRectClass);$.attr({width:j,height:u.railWidth,rx:u.railRadius,ry:u.railRadius,"shape-rendering":"crispEdges"}).call(i.stroke,N.bordercolor).call(i.fill,N.bgcolor).style("stroke-width",N.borderwidth+"px"),M.setTranslate($,u.railInset,.5*(W.inputAreaWidth-u.railWidth)+W.currentValueTotalHeight)}T.exports=function(B){var N=B._context.staticPlot,W=B._fullLayout,j=function(ne,te){for(var Z=ne[u.name],X=[],Q=0;Q0?[0]:[]);function U(ne){ne._commandObserver&&(ne._commandObserver.remove(),delete ne._commandObserver),g.autoMargin(B,m(ne))}if($.enter().append("g").classed(u.containerClassName,!0).style("cursor",N?null:"ew-resize"),$.exit().each(function(){d.select(this).selectAll("g."+u.groupClassName).each(U)}).remove(),j.length!==0){var G=$.selectAll("g."+u.groupClassName).data(j,w);G.enter().append("g").classed(u.groupClassName,!0),G.exit().each(U).remove();for(var q=0;q0||xe<0){var Se={left:[-Pe,0],right:[Pe,0],top:[0,-Pe],bottom:[0,Pe]}[x.side];X.attr("transform",f(Se[0],Se[1]))}}}return q.call(H),$&&(F?q.on(".opacity",null):(I=0,O=!0,q.text(k).on("mouseover.opacity",function(){d.select(this).transition().duration(o.SHOW_PLACEHOLDER).style("opacity",1)}).on("mouseout.opacity",function(){d.select(this).transition().duration(o.HIDE_PLACEHOLDER).style("opacity",0)})),q.call(u.makeEditable,{gd:c}).on("edit",function(Z){E!==void 0?M.call("_guiRestyle",c,_,Z,E):M.call("_guiRelayout",c,_,Z)}).on("cancel",function(){this.text(this.attr("data-unformatted")).call(H)}).on("input",function(Z){this.text(Z||" ").call(u.positionText,A.x,A.y)})),q.classed("js-placeholder",O),b}}},7163:function(T,p,t){var d=t(41940),g=t(22399),i=t(1426).extendFlat,M=t(30962).overrideAll,v=t(35025),f=t(44467).templatedArray,l=f("button",{visible:{valType:"boolean"},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle"},args:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},args2:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},label:{valType:"string",dflt:""},execute:{valType:"boolean",dflt:!0}});T.exports=M(f("updatemenu",{_arrayAttrRegexps:[/^updatemenus\[(0|[1-9][0-9]+)\]\.buttons/],visible:{valType:"boolean"},type:{valType:"enumerated",values:["dropdown","buttons"],dflt:"dropdown"},direction:{valType:"enumerated",values:["left","right","up","down"],dflt:"down"},active:{valType:"integer",min:-1,dflt:0},showactive:{valType:"boolean",dflt:!0},buttons:l,x:{valType:"number",min:-2,max:3,dflt:-.05},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"right"},y:{valType:"number",min:-2,max:3,dflt:1},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top"},pad:i(v({editType:"arraydraw"}),{}),font:d({}),bgcolor:{valType:"color"},bordercolor:{valType:"color",dflt:g.borderLine},borderwidth:{valType:"number",min:0,dflt:1,editType:"arraydraw"}}),"arraydraw","from-root")},75909:function(T){T.exports={name:"updatemenus",containerClassName:"updatemenu-container",headerGroupClassName:"updatemenu-header-group",headerClassName:"updatemenu-header",headerArrowClassName:"updatemenu-header-arrow",dropdownButtonGroupClassName:"updatemenu-dropdown-button-group",dropdownButtonClassName:"updatemenu-dropdown-button",buttonClassName:"updatemenu-button",itemRectClassName:"updatemenu-item-rect",itemTextClassName:"updatemenu-item-text",menuIndexAttrName:"updatemenu-active-index",autoMarginIdRoot:"updatemenu-",blankHeaderOpts:{label:" "},minWidth:30,minHeight:30,textPadX:24,arrowPadX:16,rx:2,ry:2,textOffsetX:12,textOffsetY:3,arrowOffsetX:4,gapButtonHeader:5,gapButton:2,activeColor:"#F4FAFF",hoverColor:"#F4FAFF",arrowSymbol:{left:"◄",right:"►",up:"▲",down:"▼"}}},64897:function(T,p,t){var d=t(71828),g=t(85501),i=t(7163),M=t(75909).name,v=i.buttons;function f(a,u,o){function s(h,c){return d.coerce(a,u,i,h,c)}s("visible",g(a,u,{name:"buttons",handleItemDefaults:l}).length>0)&&(s("active"),s("direction"),s("type"),s("showactive"),s("x"),s("y"),d.noneOrAll(a,u,["x","y"]),s("xanchor"),s("yanchor"),s("pad.t"),s("pad.r"),s("pad.b"),s("pad.l"),d.coerceFont(s,"font",o.font),s("bgcolor",o.paper_bgcolor),s("bordercolor"),s("borderwidth"))}function l(a,u){function o(s,h){return d.coerce(a,u,v,s,h)}o("visible",a.method==="skip"||Array.isArray(a.args))&&(o("method"),o("args"),o("args2"),o("label"),o("execute"))}T.exports=function(a,u){g(a,u,{name:M,handleItemDefaults:f})}},13689:function(T,p,t){var d=t(39898),g=t(74875),i=t(7901),M=t(91424),v=t(71828),f=t(63893),l=t(44467).arrayEditor,a=t(18783).LINE_SPACING,u=t(75909),o=t(25849);function s(I){return I._index}function h(I,O){return+I.attr(u.menuIndexAttrName)===O._index}function c(I,O,z,F,B,N,W,j){O.active=W,l(I.layout,u.name,O).applyUpdate("active",W),O.type==="buttons"?w(I,F,null,null,O):O.type==="dropdown"&&(B.attr(u.menuIndexAttrName,"-1"),m(I,F,B,N,O),j||w(I,F,B,N,O))}function m(I,O,z,F,B){var N=v.ensureSingle(O,"g",u.headerClassName,function(q){q.style("pointer-events","all")}),W=B._dims,j=B.active,$=B.buttons[j]||u.blankHeaderOpts,U={y:B.pad.t,yPad:0,x:B.pad.l,xPad:0,index:0},G={width:W.headerWidth,height:W.headerHeight};N.call(y,B,$,I).call(b,B,U,G),v.ensureSingle(O,"text",u.headerArrowClassName,function(q){q.attr("text-anchor","end").call(M.font,B.font).text(u.arrowSymbol[B.direction])}).attr({x:W.headerWidth-u.arrowOffsetX+B.pad.l,y:W.headerHeight/2+u.textOffsetY+B.pad.t}),N.on("click",function(){z.call(R,String(h(z,B)?-1:B._index)),w(I,O,z,F,B)}),N.on("mouseover",function(){N.call(E)}),N.on("mouseout",function(){N.call(x,B)}),M.setTranslate(O,W.lx,W.ly)}function w(I,O,z,F,B){z||(z=O).attr("pointer-events","all");var N=function(X){return+X.attr(u.menuIndexAttrName)==-1}(z)&&B.type!=="buttons"?[]:B.buttons,W=B.type==="dropdown"?u.dropdownButtonClassName:u.buttonClassName,j=z.selectAll("g."+W).data(v.filterVisible(N)),$=j.enter().append("g").classed(W,!0),U=j.exit();B.type==="dropdown"?($.attr("opacity","0").transition().attr("opacity","1"),U.transition().attr("opacity","0").remove()):U.remove();var G=0,q=0,H=B._dims,ne=["up","down"].indexOf(B.direction)!==-1;B.type==="dropdown"&&(ne?q=H.headerHeight+u.gapButtonHeader:G=H.headerWidth+u.gapButtonHeader),B.type==="dropdown"&&B.direction==="up"&&(q=-u.gapButtonHeader+u.gapButton-H.openHeight),B.type==="dropdown"&&B.direction==="left"&&(G=-u.gapButtonHeader+u.gapButton-H.openWidth);var te={x:H.lx+G+B.pad.l,y:H.ly+q+B.pad.t,yPad:u.gapButton,xPad:u.gapButton,index:0},Z={l:te.x+B.borderwidth,t:te.y+B.borderwidth};j.each(function(X,Q){var re=d.select(this);re.call(y,B,X,I).call(b,B,te),re.on("click",function(){d.event.defaultPrevented||(X.execute&&(X.args2&&B.active===Q?(c(I,B,0,O,z,F,-1),g.executeAPICommand(I,X.method,X.args2)):(c(I,B,0,O,z,F,Q),g.executeAPICommand(I,X.method,X.args))),I.emit("plotly_buttonclicked",{menu:B,button:X,active:B.active}))}),re.on("mouseover",function(){re.call(E)}),re.on("mouseout",function(){re.call(x,B),j.call(k,B)})}),j.call(k,B),ne?(Z.w=Math.max(H.openWidth,H.headerWidth),Z.h=te.y-Z.t):(Z.w=te.x-Z.l,Z.h=Math.max(H.openHeight,H.headerHeight)),Z.direction=B.direction,F&&(j.size()?function(X,Q,re,ie,oe,ue){var ce,ye,de,me=oe.direction,pe=me==="up"||me==="down",xe=oe._dims,Pe=oe.active;if(pe)for(ye=0,de=0;de0?[0]:[]);if(B.enter().append("g").classed(u.containerClassName,!0).style("cursor","pointer"),B.exit().each(function(){d.select(this).selectAll("g."+u.headerGroupClassName).each(F)}).remove(),z.length!==0){var N=B.selectAll("g."+u.headerGroupClassName).data(z,s);N.enter().append("g").classed(u.headerGroupClassName,!0);for(var W=v.ensureSingle(B,"g",u.dropdownButtonGroupClassName,function(q){q.style("pointer-events","all")}),j=0;jb,O=v.barLength+2*v.barPad,z=v.barWidth+2*v.barPad,F=y,B=_+k;B+z>s&&(B=s-z);var N=this.container.selectAll("rect.scrollbar-horizontal").data(I?[0]:[]);N.exit().on(".drag",null).remove(),N.enter().append("rect").classed("scrollbar-horizontal",!0).call(g.fill,v.barColor),I?(this.hbar=N.attr({rx:v.barRadius,ry:v.barRadius,x:F,y:B,width:O,height:z}),this._hbarXMin=F+O/2,this._hbarTranslateMax=b-O):(delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax);var W=k>R,j=v.barWidth+2*v.barPad,$=v.barLength+2*v.barPad,U=y+C,G=_;U+j>o&&(U=o-j);var q=this.container.selectAll("rect.scrollbar-vertical").data(W?[0]:[]);q.exit().on(".drag",null).remove(),q.enter().append("rect").classed("scrollbar-vertical",!0).call(g.fill,v.barColor),W?(this.vbar=q.attr({rx:v.barRadius,ry:v.barRadius,x:U,y:G,width:j,height:$}),this._vbarYMin=G+$/2,this._vbarTranslateMax=R-$):(delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax);var H=this.id,ne=h-.5,te=W?c+j+.5:c+.5,Z=m-.5,X=I?w+z+.5:w+.5,Q=u._topdefs.selectAll("#"+H).data(I||W?[0]:[]);if(Q.exit().remove(),Q.enter().append("clipPath").attr("id",H).append("rect"),I||W?(this._clipRect=Q.select("rect").attr({x:Math.floor(ne),y:Math.floor(Z),width:Math.ceil(te)-Math.floor(ne),height:Math.ceil(X)-Math.floor(Z)}),this.container.call(i.setClipUrl,H,this.gd),this.bg.attr({x:y,y:_,width:C,height:k})):(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(i.setClipUrl,null),delete this._clipRect),I||W){var re=d.behavior.drag().on("dragstart",function(){d.event.sourceEvent.preventDefault()}).on("drag",this._onBoxDrag.bind(this));this.container.on("wheel",null).on("wheel",this._onBoxWheel.bind(this)).on(".drag",null).call(re);var ie=d.behavior.drag().on("dragstart",function(){d.event.sourceEvent.preventDefault(),d.event.sourceEvent.stopPropagation()}).on("drag",this._onBarDrag.bind(this));I&&this.hbar.on(".drag",null).call(ie),W&&this.vbar.on(".drag",null).call(ie)}this.setTranslate(l,a)},v.prototype.disable=function(){(this.hbar||this.vbar)&&(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(i.setClipUrl,null),delete this._clipRect),this.hbar&&(this.hbar.on(".drag",null),this.hbar.remove(),delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax),this.vbar&&(this.vbar.on(".drag",null),this.vbar.remove(),delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax)},v.prototype._onBoxDrag=function(){var f=this.translateX,l=this.translateY;this.hbar&&(f-=d.event.dx),this.vbar&&(l-=d.event.dy),this.setTranslate(f,l)},v.prototype._onBoxWheel=function(){var f=this.translateX,l=this.translateY;this.hbar&&(f+=d.event.deltaY),this.vbar&&(l+=d.event.deltaY),this.setTranslate(f,l)},v.prototype._onBarDrag=function(){var f=this.translateX,l=this.translateY;if(this.hbar){var a=f+this._hbarXMin,u=a+this._hbarTranslateMax;f=(M.constrain(d.event.x,a,u)-a)/(u-a)*(this.position.w-this._box.w)}if(this.vbar){var o=l+this._vbarYMin,s=o+this._vbarTranslateMax;l=(M.constrain(d.event.y,o,s)-o)/(s-o)*(this.position.h-this._box.h)}this.setTranslate(f,l)},v.prototype.setTranslate=function(f,l){var a=this.position.w-this._box.w,u=this.position.h-this._box.h;if(f=M.constrain(f||0,0,a),l=M.constrain(l||0,0,u),this.translateX=f,this.translateY=l,this.container.call(i.setTranslate,this._box.l-this.position.l-f,this._box.t-this.position.t-l),this._clipRect&&this._clipRect.attr({x:Math.floor(this.position.l+f-.5),y:Math.floor(this.position.t+l-.5)}),this.hbar){var o=f/a;this.hbar.call(i.setTranslate,f+o*this._hbarTranslateMax,l)}if(this.vbar){var s=l/u;this.vbar.call(i.setTranslate,f,l+s*this._vbarTranslateMax)}}},18783:function(T){T.exports={FROM_BL:{left:0,center:.5,right:1,bottom:0,middle:.5,top:1},FROM_TL:{left:0,center:.5,right:1,bottom:1,middle:.5,top:0},FROM_BR:{left:1,center:.5,right:0,bottom:0,middle:.5,top:1},LINE_SPACING:1.3,CAP_SHIFT:.7,MID_SHIFT:.35,OPPOSITE_SIDE:{left:"right",right:"left",top:"bottom",bottom:"top"}}},24695:function(T){T.exports={axisRefDescription:function(p,t,d){return["If set to a",p,"axis id (e.g. *"+p+"* or","*"+p+"2*), the `"+p+"` position refers to a",p,"coordinate. If set to *paper*, the `"+p+"`","position refers to the distance from the",t,"of the plotting","area in normalized coordinates where *0* (*1*) corresponds to the",t,"("+d+"). If set to a",p,"axis ID followed by","*domain* (separated by a space), the position behaves like for","*paper*, but refers to the distance in fractions of the domain","length from the",t,"of the domain of that axis: e.g.,","*"+p+"2 domain* refers to the domain of the second",p," axis and a",p,"position of 0.5 refers to the","point between the",t,"and the",d,"of the domain of the","second",p,"axis."].join(" ")}}},22372:function(T){T.exports={INCREASING:{COLOR:"#3D9970",SYMBOL:"▲"},DECREASING:{COLOR:"#FF4136",SYMBOL:"▼"}}},31562:function(T){T.exports={FORMAT_LINK:"https://github.com/d3/d3-format/tree/v1.4.5#d3-format",DATE_FORMAT_LINK:"https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format"}},74808:function(T){T.exports={COMPARISON_OPS:["=","!=","<",">=",">","<="],COMPARISON_OPS2:["=","<",">=",">","<="],INTERVAL_OPS:["[]","()","[)","(]","][",")(","](",")["],SET_OPS:["{}","}{"],CONSTRAINT_REDUCTION:{"=":"=","<":"<","<=":"<",">":">",">=":">","[]":"[]","()":"[]","[)":"[]","(]":"[]","][":"][",")(":"][","](":"][",")[":"]["}}},29659:function(T){T.exports={solid:[[],0],dot:[[.5,1],200],dash:[[.5,1],50],longdash:[[.5,1],10],dashdot:[[.5,.625,.875,1],50],longdashdot:[[.5,.7,.8,1],10]}},87381:function(T){T.exports={circle:"●","circle-open":"○",square:"■","square-open":"□",diamond:"◆","diamond-open":"◇",cross:"+",x:"❌"}},37822:function(T){T.exports={SHOW_PLACEHOLDER:100,HIDE_PLACEHOLDER:1e3,DESELECTDIM:.2}},50606:function(T){T.exports={BADNUM:void 0,FP_SAFE:1e-4*Number.MAX_VALUE,ONEMAXYEAR:316224e5,ONEAVGYEAR:315576e5,ONEMINYEAR:31536e6,ONEMAXQUARTER:79488e5,ONEAVGQUARTER:78894e5,ONEMINQUARTER:76896e5,ONEMAXMONTH:26784e5,ONEAVGMONTH:26298e5,ONEMINMONTH:24192e5,ONEWEEK:6048e5,ONEDAY:864e5,ONEHOUR:36e5,ONEMIN:6e4,ONESEC:1e3,EPOCHJD:24405875e-1,ALMOST_EQUAL:.999999,LOG_CLIP:10,MINUS_SIGN:"−"}},77922:function(T,p){p.xmlns="http://www.w3.org/2000/xmlns/",p.svg="http://www.w3.org/2000/svg",p.xlink="http://www.w3.org/1999/xlink",p.svgAttrs={xmlns:p.svg,"xmlns:xlink":p.xlink}},8729:function(T,p,t){p.version=t(11506).version,t(7417),t(98847);for(var d=t(73972),g=p.register=d.register,i=t(10641),M=Object.keys(i),v=0;v",""," ",""," plotly-logomark"," "," "," "," "," "," "," "," "," "," "," "," "," ",""].join("")}}},99863:function(T,p){p.isLeftAnchor=function(t){return t.xanchor==="left"||t.xanchor==="auto"&&t.x<=.3333333333333333},p.isCenterAnchor=function(t){return t.xanchor==="center"||t.xanchor==="auto"&&t.x>.3333333333333333&&t.x<.6666666666666666},p.isRightAnchor=function(t){return t.xanchor==="right"||t.xanchor==="auto"&&t.x>=.6666666666666666},p.isTopAnchor=function(t){return t.yanchor==="top"||t.yanchor==="auto"&&t.y>=.6666666666666666},p.isMiddleAnchor=function(t){return t.yanchor==="middle"||t.yanchor==="auto"&&t.y>.3333333333333333&&t.y<.6666666666666666},p.isBottomAnchor=function(t){return t.yanchor==="bottom"||t.yanchor==="auto"&&t.y<=.3333333333333333}},26348:function(T,p,t){var d=t(64872),g=d.mod,i=d.modHalf,M=Math.PI,v=2*M;function f(o){return Math.abs(o[1]-o[0])>v-1e-14}function l(o,s){return i(s-o,v)}function a(o,s){if(f(s))return!0;var h,c;s[0](c=g(c,v))&&(c+=v);var m=g(o,v),w=m+v;return m>=h&&m<=c||w>=h&&w<=c}function u(o,s,h,c,m,w,y){m=m||0,w=w||0;var C,_,k,E,x,A=f([h,c]);function L(O,z){return[O*Math.cos(z)+m,w-O*Math.sin(z)]}A?(C=0,_=M,k=v):h=m&&o<=w);var m,w},pathArc:function(o,s,h,c,m){return u(null,o,s,h,c,m,0)},pathSector:function(o,s,h,c,m){return u(null,o,s,h,c,m,1)},pathAnnulus:function(o,s,h,c,m,w){return u(o,s,h,c,m,w,1)}}},73627:function(T,p){var t=Array.isArray,d=ArrayBuffer,g=DataView;function i(f){return d.isView(f)&&!(f instanceof g)}function M(f){return t(f)||i(f)}function v(f,l,a){if(M(f)){if(M(f[0])){for(var u=a,o=0;ow.max?c.set(m):c.set(+h)}},integer:{coerceFunction:function(h,c,m,w){h%1||!d(h)||w.min!==void 0&&hw.max?c.set(m):c.set(+h)}},string:{coerceFunction:function(h,c,m,w){if(typeof h!="string"){var y=typeof h=="number";w.strict!==!0&&y?c.set(String(h)):c.set(m)}else w.noBlank&&!h?c.set(m):c.set(h)}},color:{coerceFunction:function(h,c,m){g(h).isValid()?c.set(h):c.set(m)}},colorlist:{coerceFunction:function(h,c,m){Array.isArray(h)&&h.length&&h.every(function(w){return g(w).isValid()})?c.set(h):c.set(m)}},colorscale:{coerceFunction:function(h,c,m){c.set(M.get(h,m))}},angle:{coerceFunction:function(h,c,m){h==="auto"?c.set("auto"):d(h)?c.set(u(+h,360)):c.set(m)}},subplotid:{coerceFunction:function(h,c,m,w){var y=w.regex||a(m);typeof h=="string"&&y.test(h)?c.set(h):c.set(m)},validateFunction:function(h,c){var m=c.dflt;return h===m||typeof h=="string"&&!!a(m).test(h)}},flaglist:{coerceFunction:function(h,c,m,w){if((w.extras||[]).indexOf(h)===-1)if(typeof h=="string"){for(var y=h.split("+"),C=0;C=d&&N<=g?N:a}if(typeof N!="string"&&typeof N!="number")return a;N=String(N);var G=k(W),q=N.charAt(0);!G||q!=="G"&&q!=="g"||(N=N.substr(1),W="");var H=G&&W.substr(0,7)==="chinese",ne=N.match(H?C:y);if(!ne)return a;var te=ne[1],Z=ne[3]||"1",X=Number(ne[5]||1),Q=Number(ne[7]||0),re=Number(ne[9]||0),ie=Number(ne[11]||0);if(G){if(te.length===2)return a;var oe;te=Number(te);try{var ue=m.getComponentMethod("calendars","getCal")(W);if(H){var ce=Z.charAt(Z.length-1)==="i";Z=parseInt(Z,10),oe=ue.newDate(te,ue.toMonthIndex(te,Z,ce),X)}else oe=ue.newDate(te,Number(Z),X)}catch{return a}return oe?(oe.toJD()-c)*u+Q*o+re*s+ie*h:a}te=te.length===2?(Number(te)+2e3-_)%100+_:Number(te),Z-=1;var ye=new Date(Date.UTC(2e3,Z,X,Q,re));return ye.setUTCFullYear(te),ye.getUTCMonth()!==Z||ye.getUTCDate()!==X?a:ye.getTime()+ie*h},d=p.MIN_MS=p.dateTime2ms("-9999"),g=p.MAX_MS=p.dateTime2ms("9999-12-31 23:59:59.9999"),p.isDateTime=function(N,W){return p.dateTime2ms(N,W)!==a};var x=90*u,A=3*o,L=5*s;function b(N,W,j,$,U){if((W||j||$||U)&&(N+=" "+E(W,2)+":"+E(j,2),($||U)&&(N+=":"+E($,2),U))){for(var G=4;U%10==0;)G-=1,U/=10;N+="."+E(U,G)}return N}p.ms2DateTime=function(N,W,j){if(typeof N!="number"||!(N>=d&&N<=g))return a;W||(W=0);var $,U,G,q,H,ne,te=Math.floor(10*f(N+.05,1)),Z=Math.round(N-te/10);if(k(j)){var X=Math.floor(Z/u)+c,Q=Math.floor(f(N,u));try{$=m.getComponentMethod("calendars","getCal")(j).fromJD(X).formatDate("yyyy-mm-dd")}catch{$=w("G%Y-%m-%d")(new Date(Z))}if($.charAt(0)==="-")for(;$.length<11;)$="-0"+$.substr(1);else for(;$.length<10;)$="0"+$;U=W=d+u&&N<=g-u))return a;var W=Math.floor(10*f(N+.05,1)),j=new Date(Math.round(N-W/10));return b(i("%Y-%m-%d")(j),j.getHours(),j.getMinutes(),j.getSeconds(),10*j.getUTCMilliseconds()+W)},p.cleanDate=function(N,W,j){if(N===a)return W;if(p.isJSDate(N)||typeof N=="number"&&isFinite(N)){if(k(j))return v.error("JS Dates and milliseconds are incompatible with world calendars",N),W;if(!(N=p.ms2DateTimeLocal(+N))&&W!==void 0)return W}else if(!p.isDateTime(N,j))return v.error("unrecognized date",N),W;return N};var R=/%\d?f/g,I=/%h/g,O={1:"1",2:"1",3:"2",4:"2"};function z(N,W,j,$){N=N.replace(R,function(G){var q=Math.min(+G.charAt(1)||6,6);return(W/1e3%1+2).toFixed(q).substr(2).replace(/0+$/,"")||"0"});var U=new Date(Math.floor(W+.05));if(N=N.replace(I,function(){return O[j("%q")(U)]}),k($))try{N=m.getComponentMethod("calendars","worldCalFmt")(N,W,$)}catch{return"Invalid"}return j(N)(U)}var F=[59,59.9,59.99,59.999,59.9999];p.formatDate=function(N,W,j,$,U,G){if(U=k(U)&&U,!W)if(j==="y")W=G.year;else if(j==="m")W=G.month;else{if(j!=="d")return function(q,H){var ne=f(q+.05,u),te=E(Math.floor(ne/o),2)+":"+E(f(Math.floor(ne/s),60),2);if(H!=="M"){M(H)||(H=0);var Z=(100+Math.min(f(q/h,60),F[H])).toFixed(H).substr(1);H>0&&(Z=Z.replace(/0+$/,"").replace(/[\.]$/,"")),te+=":"+Z}return te}(N,j)+` -`+z(G.dayMonthYear,N,$,U);W=G.dayMonth+` -`+G.year}return z(W,N,$,U)};var B=3*u;p.incrementMonth=function(N,W,j){j=k(j)&&j;var $=f(N,u);if(N=Math.round(N-$),j)try{var U=Math.round(N/u)+c,G=m.getComponentMethod("calendars","getCal")(j),q=G.fromJD(U);return W%12?G.add(q,W,"m"):G.add(q,W/12,"y"),(q.toJD()-c)*u+$}catch{v.error("invalid ms "+N+" in calendar "+j)}var H=new Date(N+B);return H.setUTCMonth(H.getUTCMonth()+W)+$-B},p.findExactDates=function(N,W){for(var j,$,U=0,G=0,q=0,H=0,ne=k(W)&&m.getComponentMethod("calendars","getCal")(W),te=0;te0&&b[R+1][0]<0)return R;return null}switch(w=x==="RUS"||x==="FJI"?function(b){var R;if(L(b)===null)R=b;else for(R=new Array(b.length),_=0;_R?I[O++]=[b[_][0]+360,b[_][1]]:_===R?(I[O++]=b[_],I[O++]=[b[_][0],-90]):I[O++]=b[_];var z=o.tester(I);z.pts.pop(),A.push(z)}:function(b){A.push(o.tester(b))},k.type){case"MultiPolygon":for(y=0;yj&&(j=G,B=U)}else B=N;return M.default(B).geometry.coordinates}(z),I.fIn=b,I.fOut=z,k.push(z)}else l.log(["Location",I.loc,"does not have a valid GeoJSON geometry.","Traces with locationmode *geojson-id* only support","*Polygon* and *MultiPolygon* geometries."].join(" "))}delete _[R]}switch(y.type){case"FeatureCollection":var A=y.features;for(C=0;C100?(clearInterval(R),L("Unexpected error while fetching from "+x)):void b++},50)})}for(var k=0;k0&&(M.push(v),v=[])}return v.length>0&&M.push(v),M},p.makeLine=function(g){return g.length===1?{type:"LineString",coordinates:g[0]}:{type:"MultiLineString",coordinates:g}},p.makePolygon=function(g){if(g.length===1)return{type:"Polygon",coordinates:g};for(var i=new Array(g.length),M=0;M1||A<0||A>1?null:{x:l+w*A,y:a+_*A}}function f(l,a,u,o,s){var h=o*l+s*a;if(h<0)return o*o+s*s;if(h>u){var c=o-l,m=s-a;return c*c+m*m}var w=o*a-s*l;return w*w/u}p.segmentsIntersect=v,p.segmentDistance=function(l,a,u,o,s,h,c,m){if(v(l,a,u,o,s,h,c,m))return 0;var w=u-l,y=o-a,C=c-s,_=m-h,k=w*w+y*y,E=C*C+_*_,x=Math.min(f(w,y,k,s-l,h-a),f(w,y,k,c-l,m-a),f(C,_,E,l-s,a-h),f(C,_,E,u-s,o-h));return Math.sqrt(x)},p.getTextLocation=function(l,a,u,o){if(l===g&&o===i||(d={},g=l,i=o),d[u])return d[u];var s=l.getPointAtLength(M(u-o/2,a)),h=l.getPointAtLength(M(u+o/2,a)),c=Math.atan((h.y-s.y)/(h.x-s.x)),m=l.getPointAtLength(M(u,a)),w={x:(4*m.x+s.x+h.x)/6,y:(4*m.y+s.y+h.y)/6,theta:c};return d[u]=w,w},p.clearLocationCache=function(){g=null},p.getVisibleSegment=function(l,a,u){var o,s,h=a.left,c=a.right,m=a.top,w=a.bottom,y=0,C=l.getTotalLength(),_=C;function k(x){var A=l.getPointAtLength(x);x===0?o=A:x===C&&(s=A);var L=A.xc?A.x-c:0,b=A.yw?A.y-w:0;return Math.sqrt(L*L+b*b)}for(var E=k(y);E;){if((y+=E+u)>_)return;E=k(y)}for(E=k(_);E;){if(y>(_-=E+u))return;E=k(_)}return{min:y,max:_,len:_-y,total:C,isClosed:y===0&&_===C&&Math.abs(o.x-s.x)<.1&&Math.abs(o.y-s.y)<.1}},p.findPointOnPath=function(l,a,u,o){for(var s,h,c,m=(o=o||{}).pathLength||l.getTotalLength(),w=o.tolerance||.001,y=o.iterationLimit||30,C=l.getPointAtLength(0)[u]>l.getPointAtLength(m)[u]?-1:1,_=0,k=0,E=m;_0?E=s:k=s,_++}return h}},81697:function(T,p,t){var d=t(92770),g=t(84267),i=t(25075),M=t(21081),v=t(22399).defaultLine,f=t(73627).isArrayOrTypedArray,l=i(v);function a(s,h){var c=s;return c[3]*=h,c}function u(s){if(d(s))return l;var h=i(s);return h.length?h:l}function o(s){return d(s)?s:1}T.exports={formatColor:function(s,h,c){var m,w,y,C,_,k=s.color,E=f(k),x=f(h),A=M.extractOpts(s),L=[];if(m=A.colorscale!==void 0?M.makeColorScaleFuncFromTrace(s):u,w=E?function(R,I){return R[I]===void 0?l:i(m(R[I]))}:u,y=x?function(R,I){return R[I]===void 0?1:o(R[I])}:o,E||x)for(var b=0;b1?(d*p+d*t)/d:p+t,i=String(g).length;if(i>16){var M=String(t).length;if(i>=String(p).length+M){var v=parseFloat(g).toPrecision(12);v.indexOf("e+")===-1&&(g=+v)}}return g}},71828:function(T,p,t){var d=t(39898),g=t(84096).g0,i=t(60721).WU,M=t(92770),v=t(50606),f=v.FP_SAFE,l=-f,a=v.BADNUM,u=T.exports={};u.adjustFormat=function(Q){return!Q||/^\d[.]\df/.test(Q)||/[.]\d%/.test(Q)?Q:Q==="0.f"?"~f":/^\d%/.test(Q)?"~%":/^\ds/.test(Q)?"~s":!/^[~,.0$]/.test(Q)&&/[&fps]/.test(Q)?"~"+Q:Q};var o={};u.warnBadFormat=function(Q){var re=String(Q);o[re]||(o[re]=1,u.warn('encountered bad format: "'+re+'"'))},u.noFormat=function(Q){return String(Q)},u.numberFormat=function(Q){var re;try{re=i(u.adjustFormat(Q))}catch{return u.warnBadFormat(Q),u.noFormat}return re},u.nestedProperty=t(65487),u.keyedContainer=t(66636),u.relativeAttr=t(6962),u.isPlainObject=t(41965),u.toLogRange=t(58163),u.relinkPrivateKeys=t(51332);var s=t(73627);u.isTypedArray=s.isTypedArray,u.isArrayOrTypedArray=s.isArrayOrTypedArray,u.isArray1D=s.isArray1D,u.ensureArray=s.ensureArray,u.concat=s.concat,u.maxRowLength=s.maxRowLength,u.minRowLength=s.minRowLength;var h=t(64872);u.mod=h.mod,u.modHalf=h.modHalf;var c=t(96554);u.valObjectMeta=c.valObjectMeta,u.coerce=c.coerce,u.coerce2=c.coerce2,u.coerceFont=c.coerceFont,u.coercePattern=c.coercePattern,u.coerceHoverinfo=c.coerceHoverinfo,u.coerceSelectionMarkerOpacity=c.coerceSelectionMarkerOpacity,u.validate=c.validate;var m=t(41631);u.dateTime2ms=m.dateTime2ms,u.isDateTime=m.isDateTime,u.ms2DateTime=m.ms2DateTime,u.ms2DateTimeLocal=m.ms2DateTimeLocal,u.cleanDate=m.cleanDate,u.isJSDate=m.isJSDate,u.formatDate=m.formatDate,u.incrementMonth=m.incrementMonth,u.dateTick0=m.dateTick0,u.dfltRange=m.dfltRange,u.findExactDates=m.findExactDates,u.MIN_MS=m.MIN_MS,u.MAX_MS=m.MAX_MS;var w=t(65888);u.findBin=w.findBin,u.sorterAsc=w.sorterAsc,u.sorterDes=w.sorterDes,u.distinctVals=w.distinctVals,u.roundUp=w.roundUp,u.sort=w.sort,u.findIndexOfMin=w.findIndexOfMin,u.sortObjectKeys=t(78607);var y=t(80038);u.aggNums=y.aggNums,u.len=y.len,u.mean=y.mean,u.median=y.median,u.midRange=y.midRange,u.variance=y.variance,u.stdev=y.stdev,u.interp=y.interp;var C=t(35657);u.init2dArray=C.init2dArray,u.transposeRagged=C.transposeRagged,u.dot=C.dot,u.translationMatrix=C.translationMatrix,u.rotationMatrix=C.rotationMatrix,u.rotationXYMatrix=C.rotationXYMatrix,u.apply3DTransform=C.apply3DTransform,u.apply2DTransform=C.apply2DTransform,u.apply2DTransform2=C.apply2DTransform2,u.convertCssMatrix=C.convertCssMatrix,u.inverseTransformMatrix=C.inverseTransformMatrix;var _=t(26348);u.deg2rad=_.deg2rad,u.rad2deg=_.rad2deg,u.angleDelta=_.angleDelta,u.angleDist=_.angleDist,u.isFullCircle=_.isFullCircle,u.isAngleInsideSector=_.isAngleInsideSector,u.isPtInsideSector=_.isPtInsideSector,u.pathArc=_.pathArc,u.pathSector=_.pathSector,u.pathAnnulus=_.pathAnnulus;var k=t(99863);u.isLeftAnchor=k.isLeftAnchor,u.isCenterAnchor=k.isCenterAnchor,u.isRightAnchor=k.isRightAnchor,u.isTopAnchor=k.isTopAnchor,u.isMiddleAnchor=k.isMiddleAnchor,u.isBottomAnchor=k.isBottomAnchor;var E=t(87642);u.segmentsIntersect=E.segmentsIntersect,u.segmentDistance=E.segmentDistance,u.getTextLocation=E.getTextLocation,u.clearLocationCache=E.clearLocationCache,u.getVisibleSegment=E.getVisibleSegment,u.findPointOnPath=E.findPointOnPath;var x=t(1426);u.extendFlat=x.extendFlat,u.extendDeep=x.extendDeep,u.extendDeepAll=x.extendDeepAll,u.extendDeepNoArrays=x.extendDeepNoArrays;var A=t(47769);u.log=A.log,u.warn=A.warn,u.error=A.error;var L=t(30587);u.counterRegex=L.counter;var b=t(79990);u.throttle=b.throttle,u.throttleDone=b.done,u.clearThrottle=b.clear;var R=t(24401);function I(Q){var re={};for(var ie in Q)for(var oe=Q[ie],ue=0;uef||Q=re)&&M(Q)&&Q>=0&&Q%1==0},u.noop=t(64213),u.identity=t(23389),u.repeat=function(Q,re){for(var ie=new Array(re),oe=0;oeie?Math.max(ie,Math.min(re,Q)):Math.max(re,Math.min(ie,Q))},u.bBoxIntersect=function(Q,re,ie){return ie=ie||0,Q.left<=re.right+ie&&re.left<=Q.right+ie&&Q.top<=re.bottom+ie&&re.top<=Q.bottom+ie},u.simpleMap=function(Q,re,ie,oe,ue){for(var ce=Q.length,ye=new Array(ce),de=0;de=Math.pow(2,ie)?ue>10?(u.warn("randstr failed uniqueness"),me):Q(re,ie,oe,(ue||0)+1):me},u.OptionControl=function(Q,re){Q||(Q={}),re||(re="opt");var ie={optionList:[],_newoption:function(oe){oe[re]=Q,ie[oe.name]=oe,ie.optionList.push(oe)}};return ie["_"+re]=Q,ie},u.smooth=function(Q,re){if((re=Math.round(re)||0)<2)return Q;var ie,oe,ue,ce,ye=Q.length,de=2*ye,me=2*re-1,pe=new Array(me),xe=new Array(ye);for(ie=0;ie=de&&(ue-=de*Math.floor(ue/de)),ue<0?ue=-1-ue:ue>=ye&&(ue=de-1-ue),ce+=Q[ue]*pe[oe];xe[ie]=ce}return xe},u.syncOrAsync=function(Q,re,ie){var oe;function ue(){return u.syncOrAsync(Q,re,ie)}for(;Q.length;)if((oe=(0,Q.splice(0,1)[0])(re))&&oe.then)return oe.then(ue);return ie&&ie(re)},u.stripTrailingSlash=function(Q){return Q.substr(-1)==="/"?Q.substr(0,Q.length-1):Q},u.noneOrAll=function(Q,re,ie){if(Q){var oe,ue=!1,ce=!0;for(oe=0;oe0?ue:0})},u.fillArray=function(Q,re,ie,oe){if(oe=oe||u.identity,u.isArrayOrTypedArray(Q))for(var ue=0;ue1?ue+ye[1]:"";if(ce&&(ye.length>1||de.length>4||ie))for(;oe.test(de);)de=de.replace(oe,"$1"+ce+"$2");return de+me},u.TEMPLATE_STRING_REGEX=/%{([^\s%{}:]*)([:|\|][^}]*)?}/g;var W=/^\w*$/;u.templateString=function(Q,re){var ie={};return Q.replace(u.TEMPLATE_STRING_REGEX,function(oe,ue){var ce;return W.test(ue)?ce=re[ue]:(ie[ue]=ie[ue]||u.nestedProperty(re,ue).get,ce=ie[ue]()),u.isValidTextValue(ce)?ce:""})};var j={max:10,count:0,name:"hovertemplate"};u.hovertemplateString=function(){return ne.apply(j,arguments)};var $={max:10,count:0,name:"texttemplate"};u.texttemplateString=function(){return ne.apply($,arguments)};var U=/^(\S+)([\*\/])(-?\d+(\.\d+)?)$/;function G(Q){var re=Q.match(U);return re?{key:re[1],op:re[2],number:Number(re[3])}:{key:Q,op:null,number:null}}var q={max:10,count:0,name:"texttemplate",parseMultDiv:!0};u.texttemplateStringForShapes=function(){return ne.apply(q,arguments)};var H=/^[:|\|]/;function ne(Q,re,ie){var oe=this,ue=arguments;re||(re={});var ce={};return Q.replace(u.TEMPLATE_STRING_REGEX,function(ye,de,me){var pe=de==="_xother"||de==="_yother",xe=de==="_xother_"||de==="_yother_",Pe=de==="xother_"||de==="yother_",_e=de==="xother"||de==="yother"||pe||Pe||xe,Me=de;(pe||xe)&&(Me=Me.substring(1)),(Pe||xe)&&(Me=Me.substring(0,Me.length-1));var Se,Ce,ae,fe=null,be=null;if(oe.parseMultDiv){var ke=G(Me);Me=ke.key,fe=ke.op,be=ke.number}if(_e){if((Se=re[Me])===void 0)return""}else for(ae=3;ae=48&&ye<=57,pe=de>=48&&de<=57;if(me&&(oe=10*oe+ye-48),pe&&(ue=10*ue+de-48),!me||!pe){if(oe!==ue)return oe-ue;if(ye!==de)return ye-de}}return ue-oe};var te=2e9;u.seedPseudoRandom=function(){te=2e9},u.pseudoRandom=function(){var Q=te;return te=(69069*te+1)%4294967296,Math.abs(te-Q)<429496729?u.pseudoRandom():te/4294967296},u.fillText=function(Q,re,ie){var oe=Array.isArray(ie)?function(ye){ie.push(ye)}:function(ye){ie.text=ye},ue=u.extractOption(Q,re,"htx","hovertext");if(u.isValidTextValue(ue))return oe(ue);var ce=u.extractOption(Q,re,"tx","text");return u.isValidTextValue(ce)?oe(ce):void 0},u.isValidTextValue=function(Q){return Q||Q===0},u.formatPercent=function(Q,re){re=re||0;for(var ie=(Math.round(100*Q*Math.pow(10,re))*Math.pow(.1,re)).toFixed(re)+"%",oe=0;oe1&&(pe=1):pe=0,u.strTranslate(ue-pe*(ie+ye),ce-pe*(oe+de))+u.strScale(pe)+(me?"rotate("+me+(re?"":" "+ie+" "+oe)+")":"")},u.setTransormAndDisplay=function(Q,re){Q.attr("transform",u.getTextTransform(re)),Q.style("display",re.scale?null:"none")},u.ensureUniformFontSize=function(Q,re){var ie=u.extendFlat({},re);return ie.size=Math.max(re.size,Q._fullLayout.uniformtext.minsize||0),ie},u.join2=function(Q,re,ie){var oe=Q.length;return oe>1?Q.slice(0,-1).join(re)+ie+Q[oe-1]:Q.join(re)},u.bigFont=function(Q){return Math.round(1.2*Q)};var Z=u.getFirefoxVersion(),X=Z!==null&&Z<86;u.getPositionFromD3Event=function(){return X?[d.event.layerX,d.event.layerY]:[d.event.offsetX,d.event.offsetY]}},41965:function(T){T.exports=function(p){return window&&window.process&&window.process.versions?Object.prototype.toString.call(p)==="[object Object]":Object.prototype.toString.call(p)==="[object Object]"&&Object.getPrototypeOf(p).hasOwnProperty("hasOwnProperty")}},66636:function(T,p,t){var d=t(65487),g=/^\w*$/;T.exports=function(i,M,v,f){var l,a,u;v=v||"name",f=f||"value";var o={};M&&M.length?(u=d(i,M),a=u.get()):a=i,M=M||"";var s={};if(a)for(l=0;l2)return o[w]=2|o[w],c.set(m,null);if(h){for(l=w;l1){var v=["LOG:"];for(M=0;M1){var f=[];for(M=0;M"),"long")}},i.warn=function(){var M;if(d.logging>0){var v=["WARN:"];for(M=0;M0){var f=[];for(M=0;M"),"stick")}},i.error=function(){var M;if(d.logging>0){var v=["ERROR:"];for(M=0;M0){var f=[];for(M=0;M"),"stick")}}},77310:function(T,p,t){var d=t(39898);T.exports=function(g,i,M){var v=g.selectAll("g."+M.replace(/\s/g,".")).data(i,function(l){return l[0].trace.uid});v.exit().remove(),v.enter().append("g").attr("class",M),v.order();var f=g.classed("rangeplot")?"nodeRangePlot3":"node3";return v.each(function(l){l[0][f]=d.select(this)}),v}},35657:function(T,p,t){var d=t(79576);p.init2dArray=function(g,i){for(var M=new Array(g),v=0;vt/2?p-Math.round(p/t)*t:p}}},65487:function(T,p,t){var d=t(92770),g=t(73627).isArrayOrTypedArray;function i(o,s){return function(){var h,c,m,w,y,C=o;for(w=0;w/g),c=0;ca||_===g||_o||y&&s(w))}:function(w,y){var C=w[0],_=w[1];if(C===g||Ca||_===g||_o)return!1;var k,E,x,A,L,b=f.length,R=f[0][0],I=f[0][1],O=0;for(k=1;kMath.max(E,R)||_>Math.max(x,I)))if(_c||Math.abs(d(u,w))>l)return!0;return!1},i.filter=function(M,v){var f=[M[0]],l=0,a=0;function u(o){M.push(o);var s=f.length,h=l;f.splice(a+1);for(var c=h+1;c1&&u(M.pop()),{addPt:u,raw:M,filtered:f}}},79749:function(T,p,t){var d=t(58617),g=t(98580);T.exports=function(i,M,v){var f=i._fullLayout,l=!0;return f._glcanvas.each(function(a){if(a.regl)a.regl.preloadCachedCode(v);else if(!a.pick||f._has("parcoords")){try{a.regl=g({canvas:this,attributes:{antialias:!a.pick,preserveDrawingBuffer:!0},pixelRatio:i._context.plotGlPixelRatio||t.g.devicePixelRatio,extensions:M||[],cachedCode:v||{}})}catch{l=!1}a.regl||(l=!1),l&&this.addEventListener("webglcontextlost",function(u){i&&i.emit&&i.emit("plotly_webglcontextlost",{event:u,layer:a.key})},!1)}}),l||d({container:f._glcontainer.node()}),l}},45142:function(T,p,t){var d=t(92770),g=t(35791);T.exports=function(i){var M;if(typeof(M=i&&i.hasOwnProperty("userAgent")?i.userAgent:function(){var s;return typeof navigator<"u"&&(s=navigator.userAgent),s&&s.headers&&typeof s.headers["user-agent"]=="string"&&(s=s.headers["user-agent"]),s}())!="string")return!0;var v=g({ua:{headers:{"user-agent":M}},tablet:!0,featureDetect:!1});if(!v){for(var f=M.split(" "),l=1;l-1;a--){var u=f[a];if(u.substr(0,8)==="Version/"){var o=u.substr(8).split(".")[0];if(d(o)&&(o=+o),o>=13)return!0}}}return v}},75138:function(T){T.exports=function(p,t){if(t instanceof RegExp){for(var d=t.toString(),g=0;gg.queueLength&&(M.undoQueue.queue.shift(),M.undoQueue.index--))},startSequence:function(M){M.undoQueue=M.undoQueue||{index:0,queue:[],sequence:!1},M.undoQueue.sequence=!0,M.undoQueue.beginSequence=!0},stopSequence:function(M){M.undoQueue=M.undoQueue||{index:0,queue:[],sequence:!1},M.undoQueue.sequence=!1,M.undoQueue.beginSequence=!1},undo:function(M){var v,f;if(!(M.undoQueue===void 0||isNaN(M.undoQueue.index)||M.undoQueue.index<=0)){for(M.undoQueue.index--,v=M.undoQueue.queue[M.undoQueue.index],M.undoQueue.inSequence=!0,f=0;f=M.undoQueue.queue.length)){for(v=M.undoQueue.queue[M.undoQueue.index],M.undoQueue.inSequence=!0,f=0;fs}function u(o,s){return o>=s}p.findBin=function(o,s,h){if(d(s.start))return h?Math.ceil((o-s.start)/s.size-v)-1:Math.floor((o-s.start)/s.size+v);var c,m,w=0,y=s.length,C=0,_=y>1?(s[y-1]-s[0])/(y-1):1;for(m=_>=0?h?f:l:h?u:a,o+=_*v*(h?-1:1)*(_>=0?1:-1);w90&&g.log("Long binary search..."),w-1},p.sorterAsc=function(o,s){return o-s},p.sorterDes=function(o,s){return s-o},p.distinctVals=function(o){var s,h=o.slice();for(h.sort(p.sorterAsc),s=h.length-1;s>-1&&h[s]===M;s--);for(var c,m=h[s]-h[0]||1,w=m/(s||1)/1e4,y=[],C=0;C<=s;C++){var _=h[C],k=_-c;c===void 0?(y.push(_),c=_):k>w&&(m=Math.min(m,k),y.push(_),c=_)}return{vals:y,minDiff:m}},p.roundUp=function(o,s,h){for(var c,m=0,w=s.length-1,y=0,C=h?0:1,_=h?1:0,k=h?Math.ceil:Math.floor;m0&&(c=1),h&&c)return o.sort(s)}return c?o:o.reverse()},p.findIndexOfMin=function(o,s){s=s||i;for(var h,c=1/0,m=0;mv.length)&&(f=v.length),d(M)||(M=!1),g(v[0])){for(a=new Array(f),l=0;li.length-1)return i[i.length-1];var v=M%1;return v*i[Math.ceil(M)]+(1-v)*i[Math.floor(M)]}},78614:function(T,p,t){var d=t(25075);T.exports=function(g){return g?d(g):[0,0,0,1]}},63893:function(T,p,t){var d=t(39898),g=t(71828),i=g.strTranslate,M=t(77922),v=t(18783).LINE_SPACING,f=/([^$]*)([$]+[^$]*[$]+)([^$]*)/;p.convertToTspans=function(N,W,j){var $=N.text(),U=!N.attr("data-notex")&&W&&W._context.typesetMath&&typeof MathJax<"u"&&$.match(f),G=d.select(N.node().parentNode);if(!G.empty()){var q=N.attr("class")?N.attr("class").split(" ")[0]:"text";return q+="-math",G.selectAll("svg."+q).remove(),G.selectAll("g."+q+"-group").remove(),N.style("display",null).attr({"data-unformatted":$,"data-math":"N"}),U?(W&&W._promises||[]).push(new Promise(function(ne){N.style("display","none");var te=parseInt(N.node().style.fontSize,10),Z={fontSize:te};(function(X,Q,re){var ie,oe,ue,ce,ye=parseInt((MathJax.version||"").split(".")[0]);if(ye===2||ye===3){var de=function(){var pe="math-output-"+g.randstr({},64),xe=(ce=d.select("body").append("div").attr({id:pe}).style({visibility:"hidden",position:"absolute","font-size":Q.fontSize+"px"}).text(X.replace(l,"\\lt ").replace(a,"\\gt "))).node();return ye===2?MathJax.Hub.Typeset(xe):MathJax.typeset([xe])},me=function(){var pe=ce.select(ye===2?".MathJax_SVG":".MathJax"),xe=!pe.empty()&&ce.select("svg").node();if(xe){var Pe,_e=xe.getBoundingClientRect();Pe=ye===2?d.select("body").select("#MathJax_SVG_glyphs"):pe.select("defs"),re(pe,Pe,_e)}else g.log("There was an error in the tex syntax.",X),re();ce.remove()};ye===2?MathJax.Hub.Queue(function(){return oe=g.extendDeepAll({},MathJax.Hub.config),ue=MathJax.Hub.processSectionDelay,MathJax.Hub.processSectionDelay!==void 0&&(MathJax.Hub.processSectionDelay=0),MathJax.Hub.Config({messageStyle:"none",tex2jax:{inlineMath:u},displayAlign:"left"})},function(){if((ie=MathJax.Hub.config.menuSettings.renderer)!=="SVG")return MathJax.Hub.setRenderer("SVG")},de,me,function(){if(ie!=="SVG")return MathJax.Hub.setRenderer(ie)},function(){return ue!==void 0&&(MathJax.Hub.processSectionDelay=ue),MathJax.Hub.Config(oe)}):ye===3&&(oe=g.extendDeepAll({},MathJax.config),MathJax.config.tex||(MathJax.config.tex={}),MathJax.config.tex.inlineMath=u,(ie=MathJax.config.startup.output)!=="svg"&&(MathJax.config.startup.output="svg"),MathJax.startup.defaultReady(),MathJax.startup.promise.then(function(){de(),me(),ie!=="svg"&&(MathJax.config.startup.output=ie),MathJax.config=oe}))}else g.warn("No MathJax version:",MathJax.version)})(U[2],Z,function(X,Q,re){G.selectAll("svg."+q).remove(),G.selectAll("g."+q+"-group").remove();var ie=X&&X.select("svg");if(!ie||!ie.node())return H(),void ne();var oe=G.append("g").classed(q+"-group",!0).attr({"pointer-events":"none","data-unformatted":$,"data-math":"Y"});oe.node().appendChild(ie.node()),Q&&Q.node()&&ie.node().insertBefore(Q.node().cloneNode(!0),ie.node().firstChild);var ue=re.width,ce=re.height;ie.attr({class:q,height:ce,preserveAspectRatio:"xMinYMin meet"}).style({overflow:"visible","pointer-events":"none"});var ye=N.node().style.fill||"black",de=ie.select("g");de.attr({fill:ye,stroke:ye});var me=de.node().getBoundingClientRect(),pe=me.width,xe=me.height;(pe>ue||xe>ce)&&(ie.style("overflow","hidden"),pe=(me=ie.node().getBoundingClientRect()).width,xe=me.height);var Pe=+N.attr("x"),_e=+N.attr("y"),Me=-(te||N.node().getBoundingClientRect().height)/4;if(q[0]==="y")oe.attr({transform:"rotate("+[-90,Pe,_e]+")"+i(-pe/2,Me-xe/2)});else if(q[0]==="l")_e=Me-xe/2;else if(q[0]==="a"&&q.indexOf("atitle")!==0)Pe=0,_e=Me;else{var Se=N.attr("text-anchor");Pe-=pe*(Se==="middle"?.5:Se==="end"?1:0),_e=_e+Me-xe/2}ie.attr({x:Pe,y:_e}),j&&j.call(N,oe),ne(oe)})})):H(),N}function H(){G.empty()||(q=N.attr("class")+"-math",G.select("svg."+q).remove()),N.text("").style("white-space","pre");var ne=function(te,Z){Z=Z.replace(w," ");var X,Q=!1,re=[],ie=-1;function oe(){ie++;var be=document.createElementNS(M.svg,"tspan");d.select(be).attr({class:"line",dy:ie*v+"em"}),te.appendChild(be),X=be;var ke=re;if(re=[{node:be}],ke.length>1)for(var Le=1;Le doesnt match end tag <"+be+">. Pretending it did match.",Z),X=re[re.length-1].node}else g.log("Ignoring unexpected end tag .",Z)}_.test(Z)?oe():(X=te,re=[{node:te}]);for(var de=Z.split(y),me=0;me|>|>)/g,u=[["$","$"],["\\(","\\)"]],o={sup:"font-size:70%",sub:"font-size:70%",b:"font-weight:bold",i:"font-style:italic",a:"cursor:pointer",span:"",em:"font-style:italic;font-weight:bold"},s={sub:"0.3em",sup:"-0.6em"},h={sub:"-0.21em",sup:"0.42em"},c="​",m=["http:","https:","mailto:","",void 0,":"],w=p.NEWLINES=/(\r\n?|\n)/g,y=/(<[^<>]*>)/,C=/<(\/?)([^ >]*)(\s+(.*))?>/i,_=//i;p.BR_TAG_ALL=//gi;var k=/(^|[\s"'])style\s*=\s*("([^"]*);?"|'([^']*);?')/i,E=/(^|[\s"'])href\s*=\s*("([^"]*)"|'([^']*)')/i,x=/(^|[\s"'])target\s*=\s*("([^"\s]*)"|'([^'\s]*)')/i,A=/(^|[\s"'])popup\s*=\s*("([\w=,]*)"|'([\w=,]*)')/i;function L(N,W){if(!N)return null;var j=N.match(W),$=j&&(j[3]||j[4]);return $&&O($)}var b=/(^|;)\s*color:/;p.plainText=function(N,W){for(var j=(W=W||{}).len!==void 0&&W.len!==-1?W.len:1/0,$=W.allowedTags!==void 0?W.allowedTags:["br"],U=3,G=N.split(y),q=[],H="",ne=0,te=0;teU?q.push(Z.substr(0,ie-U)+"..."):q.push(Z.substr(0,ie));break}H=""}}return q.join("")};var R={mu:"μ",amp:"&",lt:"<",gt:">",nbsp:" ",times:"×",plusmn:"±",deg:"°"},I=/&(#\d+|#x[\da-fA-F]+|[a-z]+);/g;function O(N){return N.replace(I,function(W,j){return(j.charAt(0)==="#"?function($){if(!($>1114111)){var U=String.fromCodePoint;if(U)return U($);var G=String.fromCharCode;return $<=65535?G($):G(55232+($>>10),$%1024+56320)}}(j.charAt(1)==="x"?parseInt(j.substr(2),16):parseInt(j.substr(1),10)):R[j])||W})}function z(N){var W=encodeURI(decodeURI(N)),j=document.createElement("a"),$=document.createElement("a");j.href=N,$.href=W;var U=j.protocol,G=$.protocol;return m.indexOf(U)!==-1&&m.indexOf(G)!==-1?W:""}function F(N,W,j){var $,U,G,q=j.horizontalAlign,H=j.verticalAlign||"top",ne=N.node().getBoundingClientRect(),te=W.node().getBoundingClientRect();return U=H==="bottom"?function(){return ne.bottom-$.height}:H==="middle"?function(){return ne.top+(ne.height-$.height)/2}:function(){return ne.top},G=q==="right"?function(){return ne.right-$.width}:q==="center"?function(){return ne.left+(ne.width-$.width)/2}:function(){return ne.left},function(){$=this.node().getBoundingClientRect();var Z=G()-te.left,X=U()-te.top,Q=j.gd||{};if(j.gd){Q._fullLayout._calcInverseTransform(Q);var re=g.apply3DTransform(Q._fullLayout._invTransform)(Z,X);Z=re[0],X=re[1]}return this.style({top:X+"px",left:Z+"px","z-index":1e3}),this}}p.convertEntities=O,p.sanitizeHTML=function(N){N=N.replace(w," ");for(var W=document.createElement("p"),j=W,$=[],U=N.split(y),G=0;Gv.ts+i?a():v.timer=setTimeout(function(){a(),v.timer=null},i)},p.done=function(g){var i=t[g];return i&&i.timer?new Promise(function(M){var v=i.onDone;i.onDone=function(){v&&v(),M(),i.onDone=null}}):Promise.resolve()},p.clear=function(g){if(g)d(t[g]),delete t[g];else for(var i in t)p.clear(i)}},58163:function(T,p,t){var d=t(92770);T.exports=function(g,i){if(g>0)return Math.log(g)/Math.LN10;var M=Math.log(Math.min(i[0],i[1]))/Math.LN10;return d(M)||(M=Math.log(Math.max(i[0],i[1]))/Math.LN10-6),M}},90973:function(T,p,t){var d=T.exports={},g=t(78776).locationmodeToLayer,i=t(96892).zL;d.getTopojsonName=function(M){return[M.scope.replace(/ /g,"-"),"_",M.resolution.toString(),"m"].join("")},d.getTopojsonPath=function(M,v){return M+v+".json"},d.getTopojsonFeatures=function(M,v){var f=g[M.locationmode],l=v.objects[f];return i(v,l).features}},37815:function(T){T.exports={moduleType:"locale",name:"en-US",dictionary:{"Click to enter Colorscale title":"Click to enter Colorscale title"},format:{date:"%m/%d/%Y"}}},92177:function(T){T.exports={moduleType:"locale",name:"en",dictionary:{"Click to enter Colorscale title":"Click to enter Colourscale title"},format:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],periods:["AM","PM"],dateTime:"%a %b %e %X %Y",date:"%d/%m/%Y",time:"%H:%M:%S",decimal:".",thousands:",",grouping:[3],currency:["$",""],year:"%Y",month:"%b %Y",dayMonth:"%b %-d",dayMonthYear:"%b %-d, %Y"}}},14458:function(T,p,t){var d=t(73972);T.exports=function(g){for(var i,M,v=d.layoutArrayContainers,f=d.layoutArrayRegexes,l=g.split("[")[0],a=0;a0&&M.log("Clearing previous rejected promises from queue."),E._promises=[]},p.cleanLayout=function(E){var x,A;E||(E={}),E.xaxis1&&(E.xaxis||(E.xaxis=E.xaxis1),delete E.xaxis1),E.yaxis1&&(E.yaxis||(E.yaxis=E.yaxis1),delete E.yaxis1),E.scene1&&(E.scene||(E.scene=E.scene1),delete E.scene1);var L=(v.subplotsRegistry.cartesian||{}).attrRegex,b=(v.subplotsRegistry.polar||{}).attrRegex,R=(v.subplotsRegistry.ternary||{}).attrRegex,I=(v.subplotsRegistry.gl3d||{}).attrRegex,O=Object.keys(E);for(x=0;x3?(re.x=1.02,re.xanchor="left"):re.x<-2&&(re.x=-.02,re.xanchor="right"),re.y>3?(re.y=1.02,re.yanchor="bottom"):re.y<-2&&(re.y=-.02,re.yanchor="top")),h(E),E.dragmode==="rotate"&&(E.dragmode="orbit"),l.clean(E),E.template&&E.template.layout&&p.cleanLayout(E.template.layout),E},p.cleanData=function(E){for(var x=0;x0)return E.substr(0,x)}p.hasParent=function(E,x){for(var A=_(x);A;){if(A in E)return!0;A=_(A)}return!1};var k=["x","y","z"];p.clearAxisTypes=function(E,x,A){for(var L=0;L1&&i.warn("Full array edits are incompatible with other edits",c);var E=o[""][""];if(l(E))u.set(null);else{if(!Array.isArray(E))return i.warn("Unrecognized full array edit value",c,E),!0;u.set(E)}return!C&&(m(_,k),w(a),!0)}var x,A,L,b,R,I,O,z,F=Object.keys(o).map(Number).sort(M),B=u.get(),N=B||[],W=h(k,c).get(),j=[],$=-1,U=N.length;for(x=0;xN.length-(O?0:1))i.warn("index out of range",c,L);else if(I!==void 0)R.length>1&&i.warn("Insertion & removal are incompatible with edits to the same index.",c,L),l(I)?j.push(L):O?(I==="add"&&(I={}),N.splice(L,0,I),W&&W.splice(L,0,{})):i.warn("Unrecognized full object edit value",c,L,I),$===-1&&($=L);else for(A=0;A=0;x--)N.splice(j[x],1),W&&W.splice(j[x],1);if(N.length?B||u.set(N):u.set(null),C)return!1;if(m(_,k),y!==g){var G;if($===-1)G=F;else{for(U=Math.max(N.length,U),G=[],x=0;x=$);x++)G.push(L);for(x=$;x=ae.data.length||Le<-ae.data.length)throw new Error(be+" must be valid indices for gd.data.");if(fe.indexOf(Le,ke+1)>-1||Le>=0&&fe.indexOf(-ae.data.length+Le)>-1||Le<0&&fe.indexOf(ae.data.length+Le)>-1)throw new Error("each index in "+be+" must be unique.")}}function B(ae,fe,be){if(!Array.isArray(ae.data))throw new Error("gd.data must be an array.");if(fe===void 0)throw new Error("currentIndices is a required argument.");if(Array.isArray(fe)||(fe=[fe]),F(ae,fe,"currentIndices"),be===void 0||Array.isArray(be)||(be=[be]),be!==void 0&&F(ae,be,"newIndices"),be!==void 0&&fe.length!==be.length)throw new Error("current and new indices must be of equal length.")}function N(ae,fe,be,ke,Le){(function($e,Ye,st,ot){var ht=M.isPlainObject(ot);if(!Array.isArray($e.data))throw new Error("gd.data must be an array");if(!M.isPlainObject(Ye))throw new Error("update must be a key:value object");if(st===void 0)throw new Error("indices must be an integer or array of integers");for(var bt in F($e,st,"indices"),Ye){if(!Array.isArray(Ye[bt])||Ye[bt].length!==st.length)throw new Error("attribute "+bt+" must be an array of length equal to indices array length");if(ht&&(!(bt in ot)||!Array.isArray(ot[bt])||ot[bt].length!==Ye[bt].length))throw new Error("when maxPoints is set as a key:value object it must contain a 1:1 corrispondence with the keys and number of traces in the update object")}})(ae,fe,be,ke);for(var Be=function($e,Ye,st,ot){var ht,bt,Et,kt,xt,Ft=M.isPlainObject(ot),Ot=[];for(var Bt in Array.isArray(st)||(st=[st]),st=z(st,$e.data.length-1),Ye)for(var qt=0;qt-1&&be.indexOf("grouptitlefont")===-1?je(be,be.replace("titlefont","title.font")):be.indexOf("titleposition")>-1?je(be,be.replace("titleposition","title.position")):be.indexOf("titleside")>-1?je(be,be.replace("titleside","title.side")):be.indexOf("titleoffset")>-1&&je(be,be.replace("titleoffset","title.offset")):je(be,be.replace("title","title.text"));function je(ge,we){ae[we]=ae[ge],delete ae[ge]}}function ne(ae,fe,be){ae=M.getGraphDiv(ae),k.clearPromiseQueue(ae);var ke={};if(typeof fe=="string")ke[fe]=be;else{if(!M.isPlainObject(fe))return M.warn("Relayout fail.",fe,be),Promise.reject();ke=M.extendFlat({},fe)}Object.keys(ke).length&&(ae.changed=!0);var Le=ie(ae,ke),Be=Le.flags;Be.calc&&(ae.calcdata=void 0);var ze=[o.previousPromises];Be.layoutReplot?ze.push(E.layoutReplot):Object.keys(ke).length&&(te(ae,Be,Le)||o.supplyDefaults(ae),Be.legend&&ze.push(E.doLegend),Be.layoutstyle&&ze.push(E.layoutStyles),Be.axrange&&Z(ze,Le.rangesAltered),Be.ticks&&ze.push(E.doTicksRelayout),Be.modebar&&ze.push(E.doModeBar),Be.camera&&ze.push(E.doCamera),Be.colorbars&&ze.push(E.doColorBars),ze.push(b)),ze.push(o.rehover,o.redrag,o.reselect),l.add(ae,ne,[ae,Le.undoit],ne,[ae,Le.redoit]);var je=M.syncOrAsync(ze,ae);return je&&je.then||(je=Promise.resolve(ae)),je.then(function(){return ae.emit("plotly_relayout",Le.eventData),ae})}function te(ae,fe,be){var ke=ae._fullLayout;if(!fe.axrange)return!1;for(var Le in fe)if(Le!=="axrange"&&fe[Le])return!1;for(var Be in be.rangesAltered){var ze=s.id2name(Be),je=ae.layout[ze],ge=ke[ze];if(ge.autorange=je.autorange,je.range&&(ge.range=je.range.slice()),ge.cleanRange(),ge._matchGroup){for(var we in ge._matchGroup)if(we!==Be){var Ee=ke[s.id2name(we)];Ee.autorange=ge.autorange,Ee.range=ge.range.slice(),Ee._input.range=ge.range.slice()}}}return!0}function Z(ae,fe){var be=fe?function(ke){var Le=[];for(var Be in fe){var ze=s.getFromId(ke,Be);if(Le.push(Be),(ze.ticklabelposition||"").indexOf("inside")!==-1&&ze._anchorAxis&&Le.push(ze._anchorAxis._id),ze._matchGroup)for(var je in ze._matchGroup)fe[je]||Le.push(je)}return s.draw(ke,Le,{skipTitle:!0})}:function(ke){return s.draw(ke,"redraw")};ae.push(y,E.doAutoRangeAndConstraints,be,E.drawData,E.finalDraw)}var X=/^[xyz]axis[0-9]*\.range(\[[0|1]\])?$/,Q=/^[xyz]axis[0-9]*\.autorange$/,re=/^[xyz]axis[0-9]*\.domain(\[[0|1]\])?$/;function ie(ae,fe){var be,ke,Le,Be=ae.layout,ze=ae._fullLayout,je=ze._guiEditing,ge=U(ze._preGUI,je),we=Object.keys(fe),Ee=s.list(ae),Ve=M.extendDeepAll({},fe),$e={};for(H(fe),we=Object.keys(fe),ke=0;ke0&&typeof qt.parts[Ke]!="string";)Ke--;var Je=qt.parts[Ke],qe=qt.parts[Ke-1]+"."+Je,nt=qt.parts.slice(0,Ke).join("."),ft=v(ae.layout,nt).get(),Re=v(ze,nt).get(),Ne=qt.get();if(Vt!==void 0){bt[Bt]=Vt,Et[Bt]=Je==="reverse"?Vt:$(Ne);var Qe=u.getLayoutValObject(ze,qt.parts);if(Qe&&Qe.impliedEdits&&Vt!==null)for(var ut in Qe.impliedEdits)kt(M.relativeAttr(Bt,ut),Qe.impliedEdits[ut]);if(["width","height"].indexOf(Bt)!==-1)if(Vt){kt("autosize",null);var dt=Bt==="height"?"width":"height";kt(dt,ze[dt])}else ze[Bt]=ae._initialAutoSize[Bt];else if(Bt==="autosize")kt("width",Vt?null:ze.width),kt("height",Vt?null:ze.height);else if(qe.match(X))Ot(qe),v(ze,nt+"._inputRange").set(null);else if(qe.match(Q)){Ot(qe),v(ze,nt+"._inputRange").set(null);var _t=v(ze,nt).get();_t._inputDomain&&(_t._input.domain=_t._inputDomain.slice())}else qe.match(re)&&v(ze,nt+"._inputDomain").set(null);if(Je==="type"){xt=ft;var It=Re.type==="linear"&&Vt==="log",Lt=Re.type==="log"&&Vt==="linear";if(It||Lt){if(xt&&xt.range)if(Re.autorange)It&&(xt.range=xt.range[1]>xt.range[0]?[1,2]:[2,1]);else{var yt=xt.range[0],Pt=xt.range[1];It?(yt<=0&&Pt<=0&&kt(nt+".autorange",!0),yt<=0?yt=Pt/1e6:Pt<=0&&(Pt=yt/1e6),kt(nt+".range[0]",Math.log(yt)/Math.LN10),kt(nt+".range[1]",Math.log(Pt)/Math.LN10)):(kt(nt+".range[0]",Math.pow(10,yt)),kt(nt+".range[1]",Math.pow(10,Pt)))}else kt(nt+".autorange",!0);Array.isArray(ze._subplots.polar)&&ze._subplots.polar.length&&ze[qt.parts[0]]&&qt.parts[1]==="radialaxis"&&delete ze[qt.parts[0]]._subplot.viewInitial["radialaxis.range"],a.getComponentMethod("annotations","convertCoords")(ae,Re,Vt,kt),a.getComponentMethod("images","convertCoords")(ae,Re,Vt,kt)}else kt(nt+".autorange",!0),kt(nt+".range",null);v(ze,nt+"._inputRange").set(null)}else if(Je.match(A)){var wt=v(ze,Bt).get(),Rt=(Vt||{}).type;Rt&&Rt!=="-"||(Rt="linear"),a.getComponentMethod("annotations","convertCoords")(ae,wt,Rt,kt),a.getComponentMethod("images","convertCoords")(ae,wt,Rt,kt)}var Nt=_.containerArrayMatch(Bt);if(Nt){be=Nt.array,ke=Nt.index;var Yt=Nt.property,Wt=Qe||{editType:"calc"};ke!==""&&Yt===""&&(_.isAddVal(Vt)?Et[Bt]=null:_.isRemoveVal(Vt)?Et[Bt]=(v(Be,be).get()||[])[ke]:M.warn("unrecognized full object value",fe)),x.update(ht,Wt),$e[be]||($e[be]={});var Xt=$e[be][ke];Xt||(Xt=$e[be][ke]={}),Xt[Yt]=Vt,delete fe[Bt]}else Je==="reverse"?(ft.range?ft.range.reverse():(kt(nt+".autorange",!0),ft.range=[1,0]),Re.autorange?ht.calc=!0:ht.plot=!0):(Bt==="dragmode"&&(Vt===!1&&Ne!==!1||Vt!==!1&&Ne===!1)||ze._has("scatter-like")&&ze._has("regl")&&Bt==="dragmode"&&(Vt==="lasso"||Vt==="select")&&Ne!=="lasso"&&Ne!=="select"||ze._has("gl2d")?ht.plot=!0:Qe?x.update(ht,Qe):ht.calc=!0,qt.set(Vt))}}for(be in $e)_.applyContainerArrayChanges(ae,ge(Be,be),$e[be],ht,ge)||(ht.plot=!0);for(var Qt in Ft){var rn=(xt=s.getFromId(ae,Qt))&&xt._constraintGroup;if(rn)for(var xn in ht.calc=!0,rn)Ft[xn]||(s.getFromId(ae,xn)._constraintShrinkable=!0)}return(oe(ae)||fe.height||fe.width)&&(ht.plot=!0),(ht.plot||ht.calc)&&(ht.layoutReplot=!0),{flags:ht,rangesAltered:Ft,undoit:Et,redoit:bt,eventData:Ve}}function oe(ae){var fe=ae._fullLayout,be=fe.width,ke=fe.height;return ae.layout.autosize&&o.plotAutoSize(ae,ae.layout,fe),fe.width!==be||fe.height!==ke}function ue(ae,fe,be,ke){ae=M.getGraphDiv(ae),k.clearPromiseQueue(ae),M.isPlainObject(fe)||(fe={}),M.isPlainObject(be)||(be={}),Object.keys(fe).length&&(ae.changed=!0),Object.keys(be).length&&(ae.changed=!0);var Le=k.coerceTraceIndices(ae,ke),Be=q(ae,M.extendFlat({},fe),Le),ze=Be.flags,je=ie(ae,M.extendFlat({},be)),ge=je.flags;(ze.calc||ge.calc)&&(ae.calcdata=void 0),ze.clearAxisTypes&&k.clearAxisTypes(ae,Le,be);var we=[];ge.layoutReplot?we.push(E.layoutReplot):ze.fullReplot?we.push(p._doPlot):(we.push(o.previousPromises),te(ae,ge,je)||o.supplyDefaults(ae),ze.style&&we.push(E.doTraceStyle),(ze.colorbars||ge.colorbars)&&we.push(E.doColorBars),ge.legend&&we.push(E.doLegend),ge.layoutstyle&&we.push(E.layoutStyles),ge.axrange&&Z(we,je.rangesAltered),ge.ticks&&we.push(E.doTicksRelayout),ge.modebar&&we.push(E.doModeBar),ge.camera&&we.push(E.doCamera),we.push(b)),we.push(o.rehover,o.redrag,o.reselect),l.add(ae,ue,[ae,Be.undoit,je.undoit,Be.traces],ue,[ae,Be.redoit,je.redoit,Be.traces]);var Ee=M.syncOrAsync(we,ae);return Ee&&Ee.then||(Ee=Promise.resolve(ae)),Ee.then(function(){return ae.emit("plotly_update",{data:Be.eventData,layout:je.eventData}),ae})}function ce(ae){return function(fe){fe._fullLayout._guiEditing=!0;var be=ae.apply(null,arguments);return fe._fullLayout._guiEditing=!1,be}}var ye=[{pattern:/^hiddenlabels/,attr:"legend.uirevision"},{pattern:/^((x|y)axis\d*)\.((auto)?range|title\.text)/},{pattern:/axis\d*\.showspikes$/,attr:"modebar.uirevision"},{pattern:/(hover|drag)mode$/,attr:"modebar.uirevision"},{pattern:/^(scene\d*)\.camera/},{pattern:/^(geo\d*)\.(projection|center|fitbounds)/},{pattern:/^(ternary\d*\.[abc]axis)\.(min|title\.text)$/},{pattern:/^(polar\d*\.radialaxis)\.((auto)?range|angle|title\.text)/},{pattern:/^(polar\d*\.angularaxis)\.rotation/},{pattern:/^(mapbox\d*)\.(center|zoom|bearing|pitch)/},{pattern:/^legend\.(x|y)$/,attr:"editrevision"},{pattern:/^(shapes|annotations)/,attr:"editrevision"},{pattern:/^title\.text$/,attr:"editrevision"}],de=[{pattern:/^selectedpoints$/,attr:"selectionrevision"},{pattern:/(^|value\.)visible$/,attr:"legend.uirevision"},{pattern:/^dimensions\[\d+\]\.constraintrange/},{pattern:/^node\.(x|y|groups)/},{pattern:/^level$/},{pattern:/(^|value\.)name$/},{pattern:/colorbar\.title\.text$/},{pattern:/colorbar\.(x|y)$/,attr:"editrevision"}];function me(ae,fe){for(var be=0;be1;)if(ke.pop(),(be=v(fe,ke.join(".")+".uirevision").get())!==void 0)return be;return fe.uirevision}function xe(ae,fe){for(var be=0;be=Le.length?Le[0]:Le[we]:Le}function je(we){return Array.isArray(Be)?we>=Be.length?Be[0]:Be[we]:Be}function ge(we,Ee){var Ve=0;return function(){if(we&&++Ve===Ee)return we()}}return ke._frameWaitingCnt===void 0&&(ke._frameWaitingCnt=0),new Promise(function(we,Ee){function Ve(){ae.emit("plotly_animating"),ke._lastFrameAt=-1/0,ke._timeToNext=0,ke._runningTransitions=0,ke._currentFrame=null;var Bt=function(){ke._animationRaf=window.requestAnimationFrame(Bt),Date.now()-ke._lastFrameAt>ke._timeToNext&&function(){ke._currentFrame&&ke._currentFrame.onComplete&&ke._currentFrame.onComplete();var qt=ke._currentFrame=ke._frameQueue.shift();if(qt){var Vt=qt.name?qt.name.toString():null;ae._fullLayout._currentFrame=Vt,ke._lastFrameAt=Date.now(),ke._timeToNext=qt.frameOpts.duration,o.transition(ae,qt.frame.data,qt.frame.layout,k.coerceTraceIndices(ae,qt.frame.traces),qt.frameOpts,qt.transitionOpts).then(function(){qt.onComplete&&qt.onComplete()}),ae.emit("plotly_animatingframe",{name:Vt,frame:qt.frame,animation:{frame:qt.frameOpts,transition:qt.transitionOpts}})}else ae.emit("plotly_animated"),window.cancelAnimationFrame(ke._animationRaf),ke._animationRaf=null}()};Bt()}var $e,Ye,st=0;function ot(Bt){return Array.isArray(Le)?st>=Le.length?Bt.transitionOpts=Le[st]:Bt.transitionOpts=Le[0]:Bt.transitionOpts=Le,st++,Bt}var ht=[],bt=fe==null,Et=Array.isArray(fe);if(bt||Et||!M.isPlainObject(fe)){if(bt||["string","number"].indexOf(typeof fe)!==-1)for($e=0;$e0&&FtFt)&&Ot.push(Ye);ht=Ot}}ht.length>0?function(Bt){if(Bt.length!==0){for(var qt=0;qt=0;ke--)if(M.isPlainObject(fe[ke])){var $e=fe[ke].name,Ye=(ge[$e]||Ve[$e]||{}).name,st=fe[ke].name,ot=ge[Ye]||Ve[Ye];Ye&&st&&typeof st=="number"&&ot&&L<5&&(L++,M.warn('addFrames: overwriting frame "'+(ge[Ye]||Ve[Ye]).name+'" with a frame whose name of type "number" also equates to "'+Ye+'". This is valid but may potentially lead to unexpected behavior since all plotly.js frame names are stored internally as strings.'),L===5&&M.warn("addFrames: This API call has yielded too many of these warnings. For the rest of this call, further warnings about numeric frame names will be suppressed.")),Ve[$e]={name:$e},Ee.push({frame:o.supplyFrameDefaults(fe[ke]),index:be&&be[ke]!==void 0&&be[ke]!==null?be[ke]:we+ke})}Ee.sort(function(Bt,qt){return Bt.index>qt.index?-1:Bt.index=0;ke--){if(typeof(Le=Ee[ke].frame).name=="number"&&M.warn("Warning: addFrames accepts frames with numeric names, but the numbers areimplicitly cast to strings"),!Le.name)for(;ge[Le.name="frame "+ae._transitionData._counter++];);if(ge[Le.name]){for(Be=0;Be=0;be--)ke=fe[be],Be.push({type:"delete",index:ke}),ze.unshift({type:"insert",index:ke,value:Le[ke]});var je=o.modifyFrames,ge=o.modifyFrames,we=[ae,ze],Ee=[ae,Be];return l&&l.add(ae,je,we,ge,Ee),o.modifyFrames(ae,Be)},p.addTraces=function ae(fe,be,ke){fe=M.getGraphDiv(fe);var Le,Be,ze=[],je=p.deleteTraces,ge=ae,we=[fe,ze],Ee=[fe,be];for(function(Ve,$e,Ye){var st,ot;if(!Array.isArray(Ve.data))throw new Error("gd.data must be an array.");if($e===void 0)throw new Error("traces must be defined.");for(Array.isArray($e)||($e=[$e]),st=0;st<$e.length;st++)if(typeof(ot=$e[st])!="object"||Array.isArray(ot)||ot===null)throw new Error("all values in traces array must be non-array objects");if(Ye===void 0||Array.isArray(Ye)||(Ye=[Ye]),Ye!==void 0&&Ye.length!==$e.length)throw new Error("if indices is specified, traces.length must equal indices.length")}(fe,be,ke),Array.isArray(be)||(be=[be]),be=be.map(function(Ve){return M.extendFlat({},Ve)}),k.cleanData(be),Le=0;Le=0&&Ve<$e.length?$e.splice(0,$e.length-Ve):[];return[$e,Ye]}var ze=N(fe=M.getGraphDiv(fe),be,ke,Le,Be),je=p.redraw(fe),ge=[fe,ze.update,ke,ze.maxPoints];return l.add(fe,p.prependTraces,ge,ae,arguments),je},p.moveTraces=function ae(fe,be,ke){var Le,Be=[],ze=[],je=ae,ge=ae,we=[fe=M.getGraphDiv(fe),ke,be],Ee=[fe,be,ke];if(B(fe,be,ke),be=Array.isArray(be)?be:[be],ke===void 0)for(ke=[],Le=0;Le=0&&Ve<$e.length?$e.splice(Ve,$e.length):[];return[$e,Ye]}var ze=N(fe=M.getGraphDiv(fe),be,ke,Le,Be),je=p.redraw(fe),ge=[fe,ze.update,ke,ze.maxPoints];return l.add(fe,p.extendTraces,ge,ae,arguments),je},p.newPlot=function(ae,fe,be,ke){return ae=M.getGraphDiv(ae),o.cleanPlot([],{},ae._fullData||[],ae._fullLayout||{}),o.purge(ae),p._doPlot(ae,fe,be,ke)},p._doPlot=function(ae,fe,be,ke){var Le;if(ae=M.getGraphDiv(ae),f.init(ae),M.isPlainObject(fe)){var Be=fe;fe=Be.data,be=Be.layout,ke=Be.config,Le=Be.frames}if(f.triggerHandler(ae,"plotly_beforeplot",[fe,be,ke])===!1)return Promise.reject();fe||be||M.isPlotDiv(ae)||M.warn("Calling _doPlot as if redrawing but this container doesn't yet have a plot.",ae),O(ae,ke),be||(be={}),d.select(ae).classed("js-plotly-plot",!0),h.makeTester(),Array.isArray(ae._promises)||(ae._promises=[]);var ze=(ae.data||[]).length===0&&Array.isArray(fe);Array.isArray(fe)&&(k.cleanData(fe),ze?ae.data=fe:ae.data.push.apply(ae.data,fe),ae.empty=!1),ae.layout&&!ze||(ae.layout=k.cleanLayout(be)),o.supplyDefaults(ae);var je=ae._fullLayout,ge=je._has("cartesian");je._replotting=!0,(ze||je._shouldCreateBgLayer)&&(function(bt){var Et=d.select(bt),kt=bt._fullLayout;if(kt._calcInverseTransform=Ce,kt._calcInverseTransform(bt),kt._container=Et.selectAll(".plot-container").data([0]),kt._container.enter().insert("div",":first-child").classed("plot-container",!0).classed("plotly",!0),kt._paperdiv=kt._container.selectAll(".svg-container").data([0]),kt._paperdiv.enter().append("div").classed("user-select-none",!0).classed("svg-container",!0).style("position","relative"),kt._glcontainer=kt._paperdiv.selectAll(".gl-container").data([{}]),kt._glcontainer.enter().append("div").classed("gl-container",!0),kt._paperdiv.selectAll(".main-svg").remove(),kt._paperdiv.select(".modebar-container").remove(),kt._paper=kt._paperdiv.insert("svg",":first-child").classed("main-svg",!0),kt._toppaper=kt._paperdiv.append("svg").classed("main-svg",!0),kt._modebardiv=kt._paperdiv.append("div"),delete kt._modeBar,kt._hoverpaper=kt._paperdiv.append("svg").classed("main-svg",!0),!kt._uid){var xt={};d.selectAll("defs").each(function(){this.id&&(xt[this.id.split("-")[1]]=1)}),kt._uid=M.randstr(xt)}kt._paperdiv.selectAll(".main-svg").attr(w.svgAttrs),kt._defs=kt._paper.append("defs").attr("id","defs-"+kt._uid),kt._clips=kt._defs.append("g").classed("clips",!0),kt._topdefs=kt._toppaper.append("defs").attr("id","topdefs-"+kt._uid),kt._topclips=kt._topdefs.append("g").classed("clips",!0),kt._bgLayer=kt._paper.append("g").classed("bglayer",!0),kt._draggers=kt._paper.append("g").classed("draglayer",!0);var Ft=kt._paper.append("g").classed("layer-below",!0);kt._imageLowerLayer=Ft.append("g").classed("imagelayer",!0),kt._shapeLowerLayer=Ft.append("g").classed("shapelayer",!0),kt._cartesianlayer=kt._paper.append("g").classed("cartesianlayer",!0),kt._polarlayer=kt._paper.append("g").classed("polarlayer",!0),kt._smithlayer=kt._paper.append("g").classed("smithlayer",!0),kt._ternarylayer=kt._paper.append("g").classed("ternarylayer",!0),kt._geolayer=kt._paper.append("g").classed("geolayer",!0),kt._funnelarealayer=kt._paper.append("g").classed("funnelarealayer",!0),kt._pielayer=kt._paper.append("g").classed("pielayer",!0),kt._iciclelayer=kt._paper.append("g").classed("iciclelayer",!0),kt._treemaplayer=kt._paper.append("g").classed("treemaplayer",!0),kt._sunburstlayer=kt._paper.append("g").classed("sunburstlayer",!0),kt._indicatorlayer=kt._toppaper.append("g").classed("indicatorlayer",!0),kt._glimages=kt._paper.append("g").classed("glimages",!0);var Ot=kt._toppaper.append("g").classed("layer-above",!0);kt._imageUpperLayer=Ot.append("g").classed("imagelayer",!0),kt._shapeUpperLayer=Ot.append("g").classed("shapelayer",!0),kt._selectionLayer=kt._toppaper.append("g").classed("selectionlayer",!0),kt._infolayer=kt._toppaper.append("g").classed("infolayer",!0),kt._menulayer=kt._toppaper.append("g").classed("menulayer",!0),kt._zoomlayer=kt._toppaper.append("g").classed("zoomlayer",!0),kt._hoverlayer=kt._hoverpaper.append("g").classed("hoverlayer",!0),kt._modebardiv.classed("modebar-container",!0).style("position","absolute").style("top","0px").style("right","0px"),bt.emit("plotly_framework")}(ae),je._shouldCreateBgLayer&&delete je._shouldCreateBgLayer),h.initGradients(ae),h.initPatterns(ae),ze&&s.saveShowSpikeInitial(ae);var we=!ae.calcdata||ae.calcdata.length!==(ae._fullData||[]).length;we&&o.doCalcdata(ae);for(var Ee=0;Ee=F.length)return!1;if(b.dimensions===2){if(I++,R.length===I)return b;var B=R[I];if(!k(B))return!1;b=F[z][B]}else b=F[z]}else b=F}}return b}function k(b){return b===Math.round(b)&&b>=0}function E(){var b,R,I={};for(b in u(I,M),d.subplotsRegistry)if((R=d.subplotsRegistry[b]).layoutAttributes)if(Array.isArray(R.attr))for(var O=0;O=B.length)return!1;O=(I=(d.transformsRegistry[B[N].type]||{}).attributes)&&I[R[2]],F=3}else{var W=b._module;if(W||(W=(d.modules[b.type||i.type.dflt]||{})._module),!W)return!1;if(!(O=(I=W.attributes)&&I[z])){var j=W.basePlotModule;j&&j.attributes&&(O=j.attributes[z])}O||(O=i[z])}return _(O,R,F)},p.getLayoutValObject=function(b,R){var I=function(O,z){var F,B,N,W,j=O._basePlotModules;if(j){var $;for(F=0;F=u&&(a._input||{})._templateitemname;s&&(o=u);var h,c=l+"["+o+"]";function m(){h={},s&&(h[c]={},h[c].templateitemname=s)}function w(C,_){s?d.nestedProperty(h[c],C).set(_):h[c+"."+C]=_}function y(){var C=h;return m(),C}return m(),{modifyBase:function(C,_){h[C]=_},modifyItem:w,getUpdateObj:y,applyUpdate:function(C,_){C&&w(C,_);var k=y();for(var E in k)d.nestedProperty(f,E).set(k[E])}}}},61549:function(T,p,t){var d=t(39898),g=t(73972),i=t(74875),M=t(71828),v=t(63893),f=t(33306),l=t(7901),a=t(91424),u=t(92998),o=t(64168),s=t(89298),h=t(18783),c=t(99082),m=c.enforce,w=c.clean,y=t(71739).doAutoRange,C="start";function _(L,b,R){for(var I=0;I=L[1]||O[1]<=L[0])&&z[0]b[0])return!0}return!1}function k(L){var b,R,I,O,z,F,B=L._fullLayout,N=B._size,W=N.p,j=s.list(L,"",!0);if(B._paperdiv.style({width:L._context.responsive&&B.autosize&&!L._context._hasZeroWidth&&!L.layout.width?"100%":B.width+"px",height:L._context.responsive&&B.autosize&&!L._context._hasZeroHeight&&!L.layout.height?"100%":B.height+"px"}).selectAll(".main-svg").call(a.setSize,B.width,B.height),L._context.setBackground(L,B.paper_bgcolor),p.drawMainTitle(L),o.manage(L),!B._has("cartesian"))return i.previousPromises(L);function $(Ve,$e,Ye){var st=Ve._lw/2;return Ve._id.charAt(0)==="x"?$e?Ye==="top"?$e._offset-W-st:$e._offset+$e._length+W+st:N.t+N.h*(1-(Ve.position||0))+st%1:$e?Ye==="right"?$e._offset+$e._length+W+st:$e._offset-W-st:N.l+N.w*(Ve.position||0)+st%1}for(b=0;b.5?"t":"b",te=$._fullLayout.margin[ne],Z=0;return U.yref==="paper"?Z=G+U.pad.t+U.pad.b:U.yref==="container"&&(Z=function(X,Q,re,ie,oe){var ue=0;return re==="middle"&&(ue+=oe/2),X==="t"?(re==="top"&&(ue+=oe),ue+=ie-Q*ie):(re==="bottom"&&(ue+=oe),ue+=Q*ie),ue}(ne,q,H,$._fullLayout.height,G)+U.pad.t+U.pad.b),Z>te?Z:0}(L,R,W);j>0&&(function($,U,G,q){var H="title.automargin",ne=$._fullLayout.title,te=ne.y>.5?"t":"b",Z={x:ne.x,y:ne.y,t:0,b:0},X={};ne.yref==="paper"&&function(Q,re,ie,oe,ue){var ce=re.yref==="paper"?Q._fullLayout._size.h:Q._fullLayout.height,ye=M.isTopAnchor(re)?oe:oe-ue,de=ie==="b"?ce-ye:ye;return!(M.isTopAnchor(re)&&ie==="t"||M.isBottomAnchor(re)&&ie==="b")&&deN?A.push({code:"unused",traceType:I,templateCount:B,dataCount:N}):N>B&&A.push({code:"reused",traceType:I,templateCount:B,dataCount:N})}}else A.push({code:"data"});if(function W(j,$){for(var U in j)if(U.charAt(0)!=="_"){var G=j[U],q=c(j,U,$);g(G)?(Array.isArray(j)&&G._template===!1&&G.templateitemname&&A.push({code:"missing",path:q,templateitemname:G.templateitemname}),W(G,q)):Array.isArray(G)&&m(G)&&W(G,q)}}({data:b,layout:L},""),A.length)return A.map(w)}},403:function(T,p,t){var d=t(92770),g=t(72391),i=t(74875),M=t(71828),v=t(25095),f=t(5900),l=t(70942),a=t(11506).version,u={format:{valType:"enumerated",values:["png","jpeg","webp","svg","full-json"],dflt:"png"},width:{valType:"number",min:1},height:{valType:"number",min:1},scale:{valType:"number",min:0,dflt:1},setBackground:{valType:"any",dflt:!1},imageDataOnly:{valType:"boolean",dflt:!1}};T.exports=function(o,s){var h,c,m,w;function y(N){return!(N in s)||M.validate(s[N],u[N])}if(s=s||{},M.isPlainObject(o)?(h=o.data||[],c=o.layout||{},m=o.config||{},w={}):(o=M.getGraphDiv(o),h=M.extendDeep([],o.data),c=M.extendDeep({},o.layout),m=o._context,w=o._fullLayout||{}),!y("width")&&s.width!==null||!y("height")&&s.height!==null)throw new Error("Height and width should be pixel values.");if(!y("format"))throw new Error("Export format is not "+M.join2(u.format.values,", "," or ")+".");var C={};function _(N,W){return M.coerce(s,C,u,N,W)}var k=_("format"),E=_("width"),x=_("height"),A=_("scale"),L=_("setBackground"),b=_("imageDataOnly"),R=document.createElement("div");R.style.position="absolute",R.style.left="-5000px",document.body.appendChild(R);var I=M.extendFlat({},c);E?I.width=E:s.width===null&&d(w.width)&&(I.width=w.width),x?I.height=x:s.height===null&&d(w.height)&&(I.height=w.height);var O=M.extendFlat({},m,{_exportedPlot:!0,staticPlot:!0,setBackground:L}),z=v.getRedrawFunc(R);function F(){return new Promise(function(N){setTimeout(N,v.getDelay(R._fullLayout))})}function B(){return new Promise(function(N,W){var j=f(R,k,A),$=R._fullLayout.width,U=R._fullLayout.height;function G(){g.purge(R),document.body.removeChild(R)}if(k==="full-json"){var q=i.graphJson(R,!1,"keepdata","object",!0,!0);return q.version=a,q=JSON.stringify(q),G(),N(b?q:v.encodeJSON(q))}if(G(),k==="svg")return N(b?j:v.encodeSVG(j));var H=document.createElement("canvas");H.id=M.randstr(),l({format:k,width:$,height:U,scale:A,canvas:H,svg:j,promise:!0}).then(N).catch(W)})}return new Promise(function(N,W){g.newPlot(R,h,I,O).then(z).then(F).then(B).then(function(j){N(function($){return b?$.replace(v.IMAGE_URL_PREFIX,""):$}(j))}).catch(function(j){W(j)})})}},84936:function(T,p,t){var d=t(71828),g=t(74875),i=t(86281),M=t(72075).dfltConfig,v=d.isPlainObject,f=Array.isArray,l=d.isArrayOrTypedArray;function a(C,_,k,E,x,A){A=A||[];for(var L=Object.keys(C),b=0;bz.length&&E.push(h("unused",x,I.concat(z.length)));var $,U,G,q,H,ne=z.length,te=Array.isArray(j);if(te&&(ne=Math.min(ne,j.length)),F.dimensions===2)for(U=0;Uz[U].length&&E.push(h("unused",x,I.concat(U,z[U].length)));var Z=z[U].length;for($=0;$<(te?Math.min(Z,j[U].length):Z);$++)G=te?j[U][$]:j,q=O[U][$],H=z[U][$],d.validate(q,G)?H!==q&&H!==+q&&E.push(h("dynamic",x,I.concat(U,$),q,H)):E.push(h("value",x,I.concat(U,$),q))}else E.push(h("array",x,I.concat(U),O[U]));else for(U=0;U1&&A.push(h("object","layout"))),g.supplyDefaults(L);for(var b=L._fullData,R=k.length,I=0;I0&&Math.round(c)===c))return{vals:u};s=c}for(var m=l.calendar,w=o==="start",y=o==="end",C=f[a+"period0"],_=i(C,m)||0,k=[],E=[],x=[],A=u.length,L=0;LO;)I=M(I,-s,m);for(;I<=O;)I=M(I,s,m);R=M(I,-s,m)}else{for(I=_+(b=Math.round((O-_)/h))*h;I>O;)I-=h;for(;I<=O;)I+=h;R=I-h}k[L]=w?R:y?I:(R+I)/2,E[L]=R,x[L]=I}return{vals:k,starts:E,ends:x}}},89502:function(T){T.exports={xaxis:{valType:"subplotid",dflt:"x",editType:"calc+clearAxisTypes"},yaxis:{valType:"subplotid",dflt:"y",editType:"calc+clearAxisTypes"}}},71739:function(T,p,t){var d=t(39898),g=t(92770),i=t(71828),M=t(50606).FP_SAFE,v=t(73972),f=t(91424),l=t(41675),a=l.getFromId,u=l.isLinked;function o(E,x){var A,L,b=[],R=E._fullLayout,I=h(R,x,0),O=h(R,x,1),z=c(E,x),F=z.min,B=z.max;if(F.length===0||B.length===0)return i.simpleMap(x.range,x.r2l);var N=F[0].val,W=B[0].val;for(A=1;A0&&((ne=re-I(U)-O(G))>ie?te/ne>oe&&(q=U,H=G,oe=te/ne):te/re>oe&&(q={val:U.val,nopad:1},H={val:G.val,nopad:1},oe=te/re));if(N===W){var ue=N-1,ce=N+1;if(X)if(N===0)b=[0,1];else{var ye=(N>0?B:F).reduce(function(me,pe){return Math.max(me,O(pe))},0),de=N/(1-Math.min(.5,ye/re));b=N>0?[0,de]:[de,0]}else b=Q?[Math.max(0,ue),Math.max(1,ce)]:[ue,ce]}else X?(q.val>=0&&(q={val:0,nopad:1}),H.val<=0&&(H={val:0,nopad:1})):Q&&(q.val-oe*I(q)<0&&(q={val:0,nopad:1}),H.val<=0&&(H={val:1,nopad:1})),oe=(H.val-q.val-s(x,U.val,G.val))/(re-I(q)-O(H)),b=[q.val-oe*I(q),H.val+oe*O(H)];return j&&b.reverse(),i.simpleMap(b,x.l2r||Number)}function s(E,x,A){var L=0;if(E.rangebreaks)for(var b=E.locateBreaks(x,A),R=0;R=A&&(F.extrapad||!I)){O=!1;break}b(x,F.val)&&F.pad<=A&&(I||!F.extrapad)&&(E.splice(z,1),z--)}if(O){var B=R&&x===0;E.push({val:x,pad:B?0:A,extrapad:!B&&I})}}function C(E){return g(E)&&Math.abs(E)=x}T.exports={getAutoRange:o,makePadFn:h,doAutoRange:function(E,x,A){if(x.setScale(),x.autorange){x.range=A?A.slice():o(E,x),x._r=x.range.slice(),x._rl=i.simpleMap(x._r,x.r2l);var L=x._input,b={};b[x._attr+".range"]=x.range,b[x._attr+".autorange"]=x.autorange,v.call("_storeDirectGUIEdit",E.layout,E._fullLayout._preGUI,b),L.range=x.range.slice(),L.autorange=x.autorange}var R=x._anchorAxis;if(R&&R.rangeslider){var I=R.rangeslider[x._name];I&&I.rangemode==="auto"&&(I.range=o(E,x)),R._input.rangeslider[x._name]=i.extendFlat({},I)}},findExtremes:function(E,x,A){A||(A={}),E._m||E.setScale();var L,b,R,I,O,z,F,B,N,W=[],j=[],$=x.length,U=A.padded||!1,G=A.tozero&&(E.type==="linear"||E.type==="-"),q=E.type==="log",H=!1,ne=A.vpadLinearized||!1;function te(ce){if(Array.isArray(ce))return H=!0,function(de){return Math.max(Number(ce[de]||0),0)};var ye=Math.max(Number(ce||0),0);return function(){return ye}}var Z=te((E._m>0?A.ppadplus:A.ppadminus)||A.ppad||0),X=te((E._m>0?A.ppadminus:A.ppadplus)||A.ppad||0),Q=te(A.vpadplus||A.vpad),re=te(A.vpadminus||A.vpad);if(!H){if(B=1/0,N=-1/0,q)for(L=0;L<$;L++)(b=x[L])0&&(B=b),b>N&&b-M&&(B=b),b>N&&b=ue;L--)oe(L);return{min:W,max:j,opts:A}},concatExtremes:c}},89298:function(T,p,t){var d=t(39898),g=t(92770),i=t(74875),M=t(73972),v=t(71828),f=v.strTranslate,l=t(63893),a=t(92998),u=t(7901),o=t(91424),s=t(13838),h=t(66287),c=t(50606),m=c.ONEMAXYEAR,w=c.ONEAVGYEAR,y=c.ONEMINYEAR,C=c.ONEMAXQUARTER,_=c.ONEAVGQUARTER,k=c.ONEMINQUARTER,E=c.ONEMAXMONTH,x=c.ONEAVGMONTH,A=c.ONEMINMONTH,L=c.ONEWEEK,b=c.ONEDAY,R=b/2,I=c.ONEHOUR,O=c.ONEMIN,z=c.ONESEC,F=c.MINUS_SIGN,B=c.BADNUM,N={K:"zeroline"},W={K:"gridline",L:"path"},j={K:"minor-gridline",L:"path"},$={K:"tick",L:"path"},U={K:"tick",L:"text"},G={width:["x","r","l","xl","xr"],height:["y","t","b","yt","yb"],right:["r","xr"],left:["l","xl"],top:["t","yt"],bottom:["b","yb"]},q=t(18783),H=q.MID_SHIFT,ne=q.CAP_SHIFT,te=q.LINE_SPACING,Z=q.OPPOSITE_SIDE,X=T.exports={};X.setConvert=t(21994);var Q=t(4322),re=t(41675),ie=re.idSort,oe=re.isLinked;X.id2name=re.id2name,X.name2id=re.name2id,X.cleanId=re.cleanId,X.list=re.list,X.listIds=re.listIds,X.getFromId=re.getFromId,X.getFromTrace=re.getFromTrace;var ue=t(71739);function ce(Re){var Ne=1e-4*(Re[1]-Re[0]);return[Re[0]-Ne,Re[1]+Ne]}X.getAutoRange=ue.getAutoRange,X.findExtremes=ue.findExtremes,X.coerceRef=function(Re,Ne,Qe,ut,dt,_t){var It=ut.charAt(ut.length-1),Lt=Qe._fullLayout._subplots[It+"axis"],yt=ut+"ref",Pt={};return dt||(dt=Lt[0]||(typeof _t=="string"?_t:_t[0])),_t||(_t=dt),Lt=Lt.concat(Lt.map(function(wt){return wt+" domain"})),Pt[yt]={valType:"enumerated",values:Lt.concat(_t?typeof _t=="string"?[_t]:_t:[]),dflt:dt},v.coerce(Re,Ne,Pt,yt)},X.getRefType=function(Re){return Re===void 0?Re:Re==="paper"?"paper":Re==="pixel"?"pixel":/( domain)$/.test(Re)?"domain":"range"},X.coercePosition=function(Re,Ne,Qe,ut,dt,_t){var It,Lt;if(X.getRefType(ut)!=="range")It=v.ensureNumber,Lt=Qe(dt,_t);else{var yt=X.getFromId(Ne,ut);Lt=Qe(dt,_t=yt.fraction2r(_t)),It=yt.cleanPos}Re[dt]=It(Lt)},X.cleanPosition=function(Re,Ne,Qe){return(Qe==="paper"||Qe==="pixel"?v.ensureNumber:X.getFromId(Ne,Qe).cleanPos)(Re)},X.redrawComponents=function(Re,Ne){Ne=Ne||X.listIds(Re);var Qe=Re._fullLayout;function ut(dt,_t,It,Lt){for(var yt=M.getComponentMethod(dt,_t),Pt={},wt=0;wtQe&&wt2e-6||((Qe-Re._forceTick0)/Re._minDtick%1+1.000001)%1>2e-6)&&(Re._minDtick=0)):Re._minDtick=0},X.saveRangeInitial=function(Re,Ne){for(var Qe=X.list(Re,"",!0),ut=!1,dt=0;dt.3*Dn||dn(un)||dn(An))){var In=xn.dtick/2;Qt+=Qt+In.8){var kn=Number(xn.substr(1));Yn.exactYears>.8&&kn%12==0?Qt=X.tickIncrement(Qt,"M6","reverse")+1.5*b:Yn.exactMonths>.8?Qt=X.tickIncrement(Qt,"M1","reverse")+15.5*b:Qt-=R;var sn=X.tickIncrement(Qt,xn);if(sn<=un)return sn}return Qt}(Xt,Re,Wt,Lt,dt)),Yt=Xt;Yt<=yt;)Yt=X.tickIncrement(Yt,Wt,!1,dt);return{start:Ne.c2r(Xt,0,dt),end:Ne.c2r(Yt,0,dt),size:Wt,_dataSpan:yt-Lt}},X.prepMinorTicks=function(Re,Ne,Qe){if(!Ne.minor.dtick){delete Re.dtick;var ut,dt=Ne.dtick&&g(Ne._tmin);if(dt){var _t=X.tickIncrement(Ne._tmin,Ne.dtick,!0);ut=[Ne._tmin,.99*_t+.01*Ne._tmin]}else{var It=v.simpleMap(Ne.range,Ne.r2l);ut=[It[0],.8*It[0]+.2*It[1]]}if(Re.range=v.simpleMap(ut,Ne.l2r),Re._isMinor=!0,X.prepTicks(Re,Qe),dt){var Lt=g(Ne.dtick),yt=g(Re.dtick),Pt=Lt?Ne.dtick:+Ne.dtick.substring(1),wt=yt?Re.dtick:+Re.dtick.substring(1);Lt&&yt?pe(Pt,wt)?Pt===2*L&&wt===2*b&&(Re.dtick=L):Pt===2*L&&wt===3*b?Re.dtick=L:Pt!==L||(Ne._input.minor||{}).nticks?xe(Pt/wt,2.5)?Re.dtick=Pt/2:Re.dtick=Pt:Re.dtick=b:String(Ne.dtick).charAt(0)==="M"?yt?Re.dtick="M1":pe(Pt,wt)?Pt>=12&&wt===2&&(Re.dtick="M3"):Re.dtick=Ne.dtick:String(Re.dtick).charAt(0)==="L"?String(Ne.dtick).charAt(0)==="L"?pe(Pt,wt)||(Re.dtick=xe(Pt/wt,2.5)?Ne.dtick/2:Ne.dtick):Re.dtick="D1":Re.dtick==="D2"&&+Ne.dtick>1&&(Re.dtick=1)}Re.range=Ne.range}Ne.minor._tick0Init===void 0&&(Re.tick0=Ne.tick0)},X.prepTicks=function(Re,Ne){var Qe=v.simpleMap(Re.range,Re.r2l,void 0,void 0,Ne);if(Re.tickmode==="auto"||!Re.dtick){var ut,dt=Re.nticks;dt||(Re.type==="category"||Re.type==="multicategory"?(ut=Re.tickfont?v.bigFont(Re.tickfont.size||12):15,dt=Re._length/ut):(ut=Re._id.charAt(0)==="y"?40:80,dt=v.constrain(Re._length/ut,4,9)+1),Re._name==="radialaxis"&&(dt*=2)),Re.minor&&Re.minor.tickmode!=="array"||Re.tickmode==="array"&&(dt*=100),Re._roughDTick=Math.abs(Qe[1]-Qe[0])/dt,X.autoTicks(Re,Re._roughDTick),Re._minDtick>0&&Re.dtick<2*Re._minDtick&&(Re.dtick=Re._minDtick,Re.tick0=Re.l2r(Re._forceTick0))}Re.ticklabelmode==="period"&&function(_t){var It;function Lt(){return!(g(_t.dtick)||_t.dtick.charAt(0)!=="M")}var yt=Lt(),Pt=X.getTickFormat(_t);if(Pt){var wt=_t._dtickInit!==_t.dtick;/%[fLQsSMX]/.test(Pt)||(/%[HI]/.test(Pt)?(It=I,wt&&!yt&&_t.dtick=(rn?0:1);xn--){var un=!xn;xn?(Re._dtickInit=Re.dtick,Re._tick0Init=Re.tick0):(Re.minor._dtickInit=Re.minor.dtick,Re.minor._tick0Init=Re.minor.tick0);var An=xn?Re:v.extendFlat({},Re,Re.minor);if(un?X.prepMinorTicks(An,Re,Ne):X.prepTicks(An,Ne),An.tickmode!=="array")if(An.tickmode!=="sync"){var Yn=ce(yt),kn=Yn[0],sn=Yn[1],Tn=g(An.dtick),dn=dt==="log"&&!(Tn||An.dtick.charAt(0)==="L"),pn=X.tickFirst(An,Ne);if(xn){if(Re._tmin=pn,pn=sn:Gn<=sn;Gn=X.tickIncrement(Gn,qn,Pt,_t)){if(xn&&Dn++,An.rangebreaks&&!Pt){if(Gn=Rt)break}if(Xt.length>Nt||Gn===jn)break;jn=Gn;var lr={value:Gn};xn?(dn&&Gn!==(0|Gn)&&(lr.simpleLabel=!0),It>1&&Dn%It&&(lr.skipLabel=!0),Xt.push(lr)):(lr.minor=!0,Qt.push(lr))}}else Xt=[],Yt=Me(Re);else xn?(Xt=[],Yt=Se(Re)):(Qt=[],Wt=Se(Re))}if(rn&&!(Re.minor.ticks==="inside"&&Re.ticks==="outside"||Re.minor.ticks==="outside"&&Re.ticks==="inside")){for(var rr=Xt.map(function(Pn){return Pn.value}),Sr=[],yr=0;yr0?(On=hn-1,En=hn):(On=hn,En=hn);var mn,wn=Pn[On].value,gn=Pn[En].value,yn=Math.abs(gn-wn),Sn=Jt||yn,Vn=0;Sn>=y?Vn=yn>=y&&yn<=m?yn:w:Jt===_&&Sn>=k?Vn=yn>=k&&yn<=C?yn:_:Sn>=A?Vn=yn>=A&&yn<=E?yn:x:Jt===L&&Sn>=L?Vn=L:Sn>=b?Vn=b:Jt===R&&Sn>=R?Vn=R:Jt===I&&Sn>=I&&(Vn=I),Vn>=yn&&(Vn=yn,mn=!0);var Xn=zn+Vn;if(jt.rangebreaks&&Vn>0){for(var nr=0,Qn=0;Qn<84;Qn++){var hr=(Qn+.5)/84;jt.maskBreaks(zn*(1-hr)+hr*Xn)!==B&&nr++}(Vn*=nr/84)||(Pn[hn].drop=!0),mn&&yn>L&&(Vn=yn)}(Vn>0||hn===0)&&(Pn[hn].periodX=zn+Vn/2)}}(Xt,Re,Re._definedDelta),Re.rangebreaks){var bn=Re._id.charAt(0)==="y",Rn=1;Re.tickmode==="auto"&&(Rn=Re.tickfont?Re.tickfont.size:12);var Ln=NaN;for(Qe=Xt.length-1;Qe>-1;Qe--)if(Xt[Qe].drop)Xt.splice(Qe,1);else{Xt[Qe].value=Je(Xt[Qe].value,Re);var Un=Re.c2p(Xt[Qe].value);(bn?Ln>Un-Rn:LnRt||$nRt&&(Kn.periodX=Rt),$n10||ut.substr(5)!=="01-01"?Re._tickround="d":Re._tickround=+Ne.substr(1)%12==0?"y":"m";else if(Ne>=b&&dt<=10||Ne>=15*b)Re._tickround="d";else if(Ne>=O&&dt<=16||Ne>=I)Re._tickround="M";else if(Ne>=z&&dt<=19||Ne>=O)Re._tickround="S";else{var _t=Re.l2r(Qe+Ne).replace(/^-/,"").length;Re._tickround=Math.max(dt,_t)-20,Re._tickround<0&&(Re._tickround=4)}}else if(g(Ne)||Ne.charAt(0)==="L"){var It=Re.range.map(Re.r2d||Number);g(Ne)||(Ne=Number(Ne.substr(1))),Re._tickround=2-Math.floor(Math.log(Ne)/Math.LN10+.01);var Lt=Math.max(Math.abs(It[0]),Math.abs(It[1])),yt=Math.floor(Math.log(Lt)/Math.LN10+.01),Pt=Re.minexponent===void 0?3:Re.minexponent;Math.abs(yt)>Pt&&(Ee(Re.exponentformat)&&!Ve(yt)?Re._tickexponent=3*Math.round((yt-1)/3):Re._tickexponent=yt)}else Re._tickround=null}function ge(Re,Ne,Qe){var ut=Re.tickfont||{};return{x:Ne,dx:0,dy:0,text:Qe||"",fontSize:ut.size,font:ut.family,fontColor:ut.color}}X.autoTicks=function(Re,Ne,Qe){var ut;function dt(Rt){return Math.pow(Rt,Math.floor(Math.log(Ne)/Math.LN10))}if(Re.type==="date"){Re.tick0=v.dateTick0(Re.calendar,0);var _t=2*Ne;if(_t>w)Ne/=w,ut=dt(10),Re.dtick="M"+12*ze(Ne,ut,Ce);else if(_t>x)Ne/=x,Re.dtick="M"+ze(Ne,1,ae);else if(_t>b){if(Re.dtick=ze(Ne,b,Re._hasDayOfWeekBreaks?[1,2,7,14]:be),!Qe){var It=X.getTickFormat(Re),Lt=Re.ticklabelmode==="period";Lt&&(Re._rawTick0=Re.tick0),/%[uVW]/.test(It)?Re.tick0=v.dateTick0(Re.calendar,2):Re.tick0=v.dateTick0(Re.calendar,1),Lt&&(Re._dowTick0=Re.tick0)}}else _t>I?Re.dtick=ze(Ne,I,ae):_t>O?Re.dtick=ze(Ne,O,fe):_t>z?Re.dtick=ze(Ne,z,fe):(ut=dt(10),Re.dtick=ze(Ne,ut,Ce))}else if(Re.type==="log"){Re.tick0=0;var yt=v.simpleMap(Re.range,Re.r2l);if(Re._isMinor&&(Ne*=1.5),Ne>.7)Re.dtick=Math.ceil(Ne);else if(Math.abs(yt[1]-yt[0])<1){var Pt=1.5*Math.abs((yt[1]-yt[0])/Ne);Ne=Math.abs(Math.pow(10,yt[1])-Math.pow(10,yt[0]))/Pt,ut=dt(10),Re.dtick="L"+ze(Ne,ut,Ce)}else Re.dtick=Ne>.3?"D2":"D1"}else Re.type==="category"||Re.type==="multicategory"?(Re.tick0=0,Re.dtick=Math.ceil(Math.max(Ne,1))):Ke(Re)?(Re.tick0=0,ut=1,Re.dtick=ze(Ne,ut,Be)):(Re.tick0=0,ut=dt(10),Re.dtick=ze(Ne,ut,Ce));if(Re.dtick===0&&(Re.dtick=1),!g(Re.dtick)&&typeof Re.dtick!="string"){var wt=Re.dtick;throw Re.dtick=1,"ax.dtick error: "+String(wt)}},X.tickIncrement=function(Re,Ne,Qe,ut){var dt=Qe?-1:1;if(g(Ne))return v.increment(Re,dt*Ne);var _t=Ne.charAt(0),It=dt*Number(Ne.substr(1));if(_t==="M")return v.incrementMonth(Re,It,ut);if(_t==="L")return Math.log(Math.pow(10,Re)+It)/Math.LN10;if(_t==="D"){var Lt=Ne==="D2"?Le:ke,yt=Re+.01*dt,Pt=v.roundUp(v.mod(yt,1),Lt,Qe);return Math.floor(yt)+Math.log(d.round(Math.pow(10,Pt),1))/Math.LN10}throw"unrecognized dtick "+String(Ne)},X.tickFirst=function(Re,Ne){var Qe=Re.r2l||Number,ut=v.simpleMap(Re.range,Qe,void 0,void 0,Ne),dt=ut[1] ")}else Qt._prevDateHead=kn,sn+="
"+kn;rn.text=sn}(Re,_t,Qe,Lt):yt==="log"?function(Qt,rn,xn,un,An){var Yn=Qt.dtick,kn=rn.x,sn=Qt.tickformat,Tn=typeof Yn=="string"&&Yn.charAt(0);if(An==="never"&&(An=""),un&&Tn!=="L"&&(Yn="L3",Tn="L"),sn||Tn==="L")rn.text=$e(Math.pow(10,kn),Qt,An,un);else if(g(Yn)||Tn==="D"&&v.mod(kn+.01,1)<.1){var dn=Math.round(kn),pn=Math.abs(dn),Dn=Qt.exponentformat;Dn==="power"||Ee(Dn)&&Ve(dn)?(rn.text=dn===0?1:dn===1?"10":"10"+(dn>1?"":F)+pn+"",rn.fontSize*=1.25):(Dn==="e"||Dn==="E")&&pn>2?rn.text="1"+Dn+(dn>0?"+":F)+pn:(rn.text=$e(Math.pow(10,kn),Qt,"","fakehover"),Yn==="D1"&&Qt._id.charAt(0)==="y"&&(rn.dy-=rn.fontSize/6))}else{if(Tn!=="D")throw"unrecognized dtick "+String(Yn);rn.text=String(Math.round(Math.pow(10,v.mod(kn,1)))),rn.fontSize*=.75}if(Qt.dtick==="D1"){var In=String(rn.text).charAt(0);In!=="0"&&In!=="1"||(Qt._id.charAt(0)==="y"?rn.dx-=rn.fontSize/4:(rn.dy+=rn.fontSize/2,rn.dx+=(Qt.range[1]>Qt.range[0]?1:-1)*rn.fontSize*(kn<0?.5:.25)))}}(Re,_t,0,Lt,Yt):yt==="category"?function(Qt,rn){var xn=Qt._categories[Math.round(rn.x)];xn===void 0&&(xn=""),rn.text=String(xn)}(Re,_t):yt==="multicategory"?function(Qt,rn,xn){var un=Math.round(rn.x),An=Qt._categories[un]||[],Yn=An[1]===void 0?"":String(An[1]),kn=An[0]===void 0?"":String(An[0]);xn?rn.text=kn+" - "+Yn:(rn.text=Yn,rn.text2=kn)}(Re,_t,Qe):Ke(Re)?function(Qt,rn,xn,un,An){if(Qt.thetaunit!=="radians"||xn)rn.text=$e(rn.x,Qt,An,un);else{var Yn=rn.x/180;if(Yn===0)rn.text="0";else{var kn=function(Tn){function dn(jn,Gn){return Math.abs(jn-Gn)<=1e-6}var pn=function(jn){for(var Gn=1;!dn(Math.round(jn*Gn)/Gn,jn);)Gn*=10;return Gn}(Tn),Dn=Tn*pn,In=Math.abs(function jn(Gn,qn){return dn(qn,0)?Gn:jn(qn,Gn%qn)}(Dn,pn));return[Math.round(Dn/In),Math.round(pn/In)]}(Yn);if(kn[1]>=100)rn.text=$e(v.deg2rad(rn.x),Qt,An,un);else{var sn=rn.x<0;kn[1]===1?kn[0]===1?rn.text="π":rn.text=kn[0]+"π":rn.text=["",kn[0],"","⁄","",kn[1],"","π"].join(""),sn&&(rn.text=F+rn.text)}}}}(Re,_t,Qe,Lt,Yt):function(Qt,rn,xn,un,An){An==="never"?An="":Qt.showexponent==="all"&&Math.abs(rn.x/Qt.dtick)<1e-6&&(An="hide"),rn.text=$e(rn.x,Qt,An,un)}(Re,_t,0,Lt,Yt),ut||(Re.tickprefix&&!Nt(Re.showtickprefix)&&(_t.text=Re.tickprefix+_t.text),Re.ticksuffix&&!Nt(Re.showticksuffix)&&(_t.text+=Re.ticksuffix)),Re.labelalias&&Re.labelalias.hasOwnProperty(_t.text)){var Wt=Re.labelalias[_t.text];typeof Wt=="string"&&(_t.text=Wt)}if(Re.tickson==="boundaries"||Re.showdividers){var Xt=function(Qt){var rn=Re.l2p(Qt);return rn>=0&&rn<=Re._length?Qt:null};_t.xbnd=[Xt(_t.x-.5),Xt(_t.x+Re.dtick-.5)]}return _t},X.hoverLabelText=function(Re,Ne,Qe){Qe&&(Re=v.extendFlat({},Re,{hoverformat:Qe}));var ut=Array.isArray(Ne)?Ne[0]:Ne,dt=Array.isArray(Ne)?Ne[1]:void 0;if(dt!==void 0&&dt!==ut)return X.hoverLabelText(Re,ut,Qe)+" - "+X.hoverLabelText(Re,dt,Qe);var _t=Re.type==="log"&&ut<=0,It=X.tickText(Re,Re.c2l(_t?-ut:ut),"hover").text;return _t?ut===0?"0":F+It:It};var we=["f","p","n","μ","m","","k","M","G","T"];function Ee(Re){return Re==="SI"||Re==="B"}function Ve(Re){return Re>14||Re<-15}function $e(Re,Ne,Qe,ut){var dt=Re<0,_t=Ne._tickround,It=Qe||Ne.exponentformat||"B",Lt=Ne._tickexponent,yt=X.getTickFormat(Ne),Pt=Ne.separatethousands;if(ut){var wt={exponentformat:It,minexponent:Ne.minexponent,dtick:Ne.showexponent==="none"?Ne.dtick:g(Re)&&Math.abs(Re)||1,range:Ne.showexponent==="none"?Ne.range.map(Ne.r2d):[0,Re||1]};je(wt),_t=(Number(wt._tickround)||0)+4,Lt=wt._tickexponent,Ne.hoverformat&&(yt=Ne.hoverformat)}if(yt)return Ne._numFormat(yt)(Re).replace(/-/g,F);var Rt,Nt=Math.pow(10,-_t)/2;if(It==="none"&&(Lt=0),(Re=Math.abs(Re))"+Rt+"":It==="B"&&Lt===9?Re+="B":Ee(It)&&(Re+=we[Lt/3+5])),dt?F+Re:Re}function Ye(Re,Ne){if(Re){var Qe=Object.keys(G).reduce(function(ut,dt){return Ne.indexOf(dt)!==-1&&G[dt].forEach(function(_t){ut[_t]=1}),ut},{});Object.keys(Re).forEach(function(ut){Qe[ut]||(ut.length===1?Re[ut]=0:delete Re[ut])})}}function st(Re,Ne){for(var Qe=[],ut={},dt=0;dt1&&Qe=dt.min&&Re=0,rn=wt(Nt,Yt[1])<=0;return(Wt||Qt)&&(Xt||rn)}if(Re.tickformatstops&&Re.tickformatstops.length>0)switch(Re.type){case"date":case"linear":for(Ne=0;Ne=It(dt)))){Qe=ut;break}break;case"log":for(Ne=0;Ne=0&&dt.unshift(dt.splice(Pt,1).shift())}});var It={false:{left:0,right:0}};return v.syncOrAsync(dt.map(function(Lt){return function(){if(Lt){var yt=X.getFromId(Re,Lt);Qe||(Qe={}),Qe.axShifts=It,Qe.overlayingShiftedAx=_t;var Pt=X.drawOne(Re,yt,Qe);return yt._shiftPusher&&ft(yt,yt._fullDepth||0,It,!0),yt._r=yt.range.slice(),yt._rl=v.simpleMap(yt._r,yt.r2l),Pt}}}))},X.drawOne=function(Re,Ne,Qe){var ut,dt,_t,It=(Qe=Qe||{}).axShifts||{},Lt=Qe.overlayingShiftedAx||[];Ne.setScale();var yt=Re._fullLayout,Pt=Ne._id,wt=Pt.charAt(0),Rt=X.counterLetter(Pt),Nt=yt._plots[Ne._mainSubplot];if(Nt){if(Ne._shiftPusher=Ne.autoshift||Lt.indexOf(Ne._id)!==-1||Lt.indexOf(Ne.overlaying)!==-1,Ne._shiftPusher&Ne.anchor==="free"){var Yt=Ne.linewidth/2||0;Ne.ticks==="inside"&&(Yt+=Ne.ticklen),ft(Ne,Yt,It,!0),ft(Ne,Ne.shift||0,It,!1)}Qe.skipTitle===!0&&Ne._shift!==void 0||(Ne._shift=function(En,mn){return En.autoshift?mn[En.overlaying][En.side]:En.shift||0}(Ne,It));var Wt=Nt[wt+"axislayer"],Xt=Ne._mainLinePosition,Qt=Xt+=Ne._shift,rn=Ne._mainMirrorPosition,xn=Ne._vals=X.calcTicks(Ne),un=[Ne.mirror,Qt,rn].join("_");for(ut=0;ut0?En.bottom-Vn:0,Xn))));var nr=0,Qn=0;if(Ne._shiftPusher&&(nr=Math.max(Xn,En.height>0?yn==="l"?Vn-En.left:En.right-Vn:0),Ne.title.text!==yt._dfltTitle[wt]&&(Qn=(Ne._titleStandoff||0)+(Ne._titleScoot||0),yn==="l"&&(Qn+=bt(Ne))),Ne._fullDepth=Math.max(nr,Qn)),Ne.automargin){mn={x:0,y:0,r:0,l:0,t:0,b:0};var hr=[0,1],cr=typeof Ne._shift=="number"?Ne._shift:0;if(wt==="x"){if(yn==="b"?mn[yn]=Ne._depth:(mn[yn]=Ne._depth=Math.max(En.width>0?Vn-En.top:0,Xn),hr.reverse()),En.width>0){var pr=En.right-(Ne._offset+Ne._length);pr>0&&(mn.xr=1,mn.r=pr);var dr=Ne._offset-En.left;dr>0&&(mn.xl=0,mn.l=dr)}}else if(yn==="l"?(Ne._depth=Math.max(En.height>0?Vn-En.left:0,Xn),mn[yn]=Ne._depth-cr):(Ne._depth=Math.max(En.height>0?En.right-Vn:0,Xn),mn[yn]=Ne._depth+cr,hr.reverse()),En.height>0){var br=En.bottom-(Ne._offset+Ne._length);br>0&&(mn.yb=0,mn.b=br);var Rr=Ne._offset-En.top;Rr>0&&(mn.yt=1,mn.t=Rr)}mn[Rt]=Ne.anchor==="free"?Ne.position:Ne._anchorAxis.domain[hr[0]],Ne.title.text!==yt._dfltTitle[wt]&&(mn[yn]+=bt(Ne)+(Ne.title.standoff||0)),Ne.mirror&&Ne.anchor!=="free"&&((wn={x:0,y:0,r:0,l:0,t:0,b:0})[Sn]=Ne.linewidth,Ne.mirror&&Ne.mirror!==!0&&(wn[Sn]+=Xn),Ne.mirror===!0||Ne.mirror==="ticks"?wn[Rt]=Ne._anchorAxis.domain[hr[1]]:Ne.mirror!=="all"&&Ne.mirror!=="allticks"||(wn[Rt]=[Ne._counterDomainMin,Ne._counterDomainMax][hr[1]]))}zn&&(gn=M.getComponentMethod("rangeslider","autoMarginOpts")(Re,Ne)),typeof Ne.automargin=="string"&&(Ye(mn,Ne.automargin),Ye(wn,Ne.automargin)),i.autoMargin(Re,xt(Ne),mn),i.autoMargin(Re,Ft(Ne),wn),i.autoMargin(Re,Ot(Ne),gn)}),v.syncOrAsync(Jt)}}function On(En){var mn=Pt+(En||"tick");return An[mn]||(An[mn]=function(wn,gn){var yn,Sn,Vn,Xn;return wn._selections[gn].size()?(yn=1/0,Sn=-1/0,Vn=1/0,Xn=-1/0,wn._selections[gn].each(function(){var nr=kt(this),Qn=o.bBox(nr.node().parentNode);yn=Math.min(yn,Qn.top),Sn=Math.max(Sn,Qn.bottom),Vn=Math.min(Vn,Qn.left),Xn=Math.max(Xn,Qn.right)})):(yn=0,Sn=0,Vn=0,Xn=0),{top:yn,bottom:Sn,left:Vn,right:Xn,height:Sn-yn,width:Xn-Vn}}(Ne,mn)),An[mn]}},X.getTickSigns=function(Re,Ne){var Qe=Re._id.charAt(0),ut={x:"top",y:"right"}[Qe],dt=Re.side===ut?1:-1,_t=[-1,1,dt,-dt];return(Ne?(Re.minor||{}).ticks:Re.ticks)!=="inside"==(Qe==="x")&&(_t=_t.map(function(It){return-It})),Re.side&&_t.push({l:-1,t:-1,r:1,b:1}[Re.side.charAt(0)]),_t},X.makeTransTickFn=function(Re){return Re._id.charAt(0)==="x"?function(Ne){return f(Re._offset+Re.l2p(Ne.x),0)}:function(Ne){return f(0,Re._offset+Re.l2p(Ne.x))}},X.makeTransTickLabelFn=function(Re){var Ne=function(dt){var _t=dt.ticklabelposition||"",It=function(rn){return _t.indexOf(rn)!==-1},Lt=It("top"),yt=It("left"),Pt=It("right"),wt=It("bottom"),Rt=It("inside"),Nt=wt||yt||Lt||Pt;if(!Nt&&!Rt)return[0,0];var Yt=dt.side,Wt=Nt?(dt.tickwidth||0)/2:0,Xt=3,Qt=dt.tickfont?dt.tickfont.size:12;return(wt||Lt)&&(Wt+=Qt*ne,Xt+=(dt.linewidth||0)/2),(yt||Pt)&&(Wt+=(dt.linewidth||0)/2,Xt+=3),Rt&&Yt==="top"&&(Xt-=Qt*(1-ne)),(yt||Lt)&&(Wt=-Wt),Yt!=="bottom"&&Yt!=="right"||(Xt=-Xt),[Nt?Wt:0,Rt?Xt:0]}(Re),Qe=Ne[0],ut=Ne[1];return Re._id.charAt(0)==="x"?function(dt){return f(Qe+Re._offset+Re.l2p(ot(dt)),ut)}:function(dt){return f(ut,Qe+Re._offset+Re.l2p(ot(dt)))}},X.makeTickPath=function(Re,Ne,Qe,ut){ut||(ut={});var dt=ut.minor;if(dt&&!Re.minor)return"";var _t=ut.len!==void 0?ut.len:dt?Re.minor.ticklen:Re.ticklen,It=Re._id.charAt(0),Lt=(Re.linewidth||1)/2;return It==="x"?"M0,"+(Ne+Lt*Qe)+"v"+_t*Qe:"M"+(Ne+Lt*Qe)+",0h"+_t*Qe},X.makeLabelFns=function(Re,Ne,Qe){var ut=Re.ticklabelposition||"",dt=function(Dn){return ut.indexOf(Dn)!==-1},_t=dt("top"),It=dt("left"),Lt=dt("right"),yt=dt("bottom")||It||_t||Lt,Pt=dt("inside"),wt=ut==="inside"&&Re.ticks==="inside"||!Pt&&Re.ticks==="outside"&&Re.tickson!=="boundaries",Rt=0,Nt=0,Yt=wt?Re.ticklen:0;if(Pt?Yt*=-1:yt&&(Yt=0),wt&&(Rt+=Yt,Qe)){var Wt=v.deg2rad(Qe);Rt=Yt*Math.cos(Wt)+1,Nt=Yt*Math.sin(Wt)}Re.showticklabels&&(wt||Re.showline)&&(Rt+=.2*Re.tickfont.size);var Xt,Qt,rn,xn,un,An={labelStandoff:Rt+=(Re.linewidth||1)/2*(Pt?-1:1),labelShift:Nt},Yn=0,kn=Re.side,sn=Re._id.charAt(0),Tn=Re.tickangle;if(sn==="x")xn=(un=!Pt&&kn==="bottom"||Pt&&kn==="top")?1:-1,Pt&&(xn*=-1),Xt=Nt*xn,Qt=Ne+Rt*xn,rn=un?1:-.2,Math.abs(Tn)===90&&(Pt?rn+=H:rn=Tn===-90&&kn==="bottom"?ne:Tn===90&&kn==="top"?H:.5,Yn=H/2*(Tn/90)),An.xFn=function(Dn){return Dn.dx+Xt+Yn*Dn.fontSize},An.yFn=function(Dn){return Dn.dy+Qt+Dn.fontSize*rn},An.anchorFn=function(Dn,In){if(yt){if(It)return"end";if(Lt)return"start"}return g(In)&&In!==0&&In!==180?In*xn<0!==Pt?"end":"start":"middle"},An.heightFn=function(Dn,In,jn){return In<-60||In>60?-.5*jn:Re.side==="top"!==Pt?-jn:0};else if(sn==="y"){if(xn=(un=!Pt&&kn==="left"||Pt&&kn==="right")?1:-1,Pt&&(xn*=-1),Xt=Rt,Qt=Nt*xn,rn=0,Pt||Math.abs(Tn)!==90||(rn=Tn===-90&&kn==="left"||Tn===90&&kn==="right"?ne:.5),Pt){var dn=g(Tn)?+Tn:0;if(dn!==0){var pn=v.deg2rad(dn);Yn=Math.abs(Math.sin(pn))*ne*xn,rn=0}}An.xFn=function(Dn){return Dn.dx+Ne-(Xt+Dn.fontSize*rn)*xn+Yn*Dn.fontSize},An.yFn=function(Dn){return Dn.dy+Qt+Dn.fontSize*H},An.anchorFn=function(Dn,In){return g(In)&&Math.abs(In)===90?"middle":un?"end":"start"},An.heightFn=function(Dn,In,jn){return Re.side==="right"&&(In*=-1),In<-30?-jn:In<30?-.5*jn:0}}return An},X.drawTicks=function(Re,Ne,Qe){Qe=Qe||{};var ut=Ne._id+"tick",dt=[].concat(Ne.minor&&Ne.minor.ticks?Qe.vals.filter(function(It){return It.minor&&!It.noTick}):[]).concat(Ne.ticks?Qe.vals.filter(function(It){return!It.minor&&!It.noTick}):[]),_t=Qe.layer.selectAll("path."+ut).data(dt,ht);_t.exit().remove(),_t.enter().append("path").classed(ut,1).classed("ticks",1).classed("crisp",Qe.crisp!==!1).each(function(It){return u.stroke(d.select(this),It.minor?Ne.minor.tickcolor:Ne.tickcolor)}).style("stroke-width",function(It){return o.crispRound(Re,It.minor?Ne.minor.tickwidth:Ne.tickwidth,1)+"px"}).attr("d",Qe.path).style("display",null),nt(Ne,[$]),_t.attr("transform",Qe.transFn)},X.drawGrid=function(Re,Ne,Qe){if(Qe=Qe||{},Ne.tickmode!=="sync"){var ut=Ne._id+"grid",dt=Ne.minor&&Ne.minor.showgrid,_t=dt?Qe.vals.filter(function(rn){return rn.minor}):[],It=Ne.showgrid?Qe.vals.filter(function(rn){return!rn.minor}):[],Lt=Qe.counterAxis;if(Lt&&X.shouldShowZeroLine(Re,Ne,Lt))for(var yt=Ne.tickmode==="array",Pt=0;Pt=0;Wt--){var Xt=Wt?Nt:Yt;if(Xt){var Qt=Xt.selectAll("path."+ut).data(Wt?It:_t,ht);Qt.exit().remove(),Qt.enter().append("path").classed(ut,1).classed("crisp",Qe.crisp!==!1),Qt.attr("transform",Qe.transFn).attr("d",Qe.path).each(function(rn){return u.stroke(d.select(this),rn.minor?Ne.minor.gridcolor:Ne.gridcolor||"#ddd")}).style("stroke-dasharray",function(rn){return o.dashStyle(rn.minor?Ne.minor.griddash:Ne.griddash,rn.minor?Ne.minor.gridwidth:Ne.gridwidth)}).style("stroke-width",function(rn){return(rn.minor?Rt:Ne._gw)+"px"}).style("display",null),typeof Qe.path=="function"&&Qt.attr("d",Qe.path)}}nt(Ne,[W,j])}},X.drawZeroLine=function(Re,Ne,Qe){Qe=Qe||Qe;var ut=Ne._id+"zl",dt=X.shouldShowZeroLine(Re,Ne,Qe.counterAxis),_t=Qe.layer.selectAll("path."+ut).data(dt?[{x:0,id:Ne._id}]:[]);_t.exit().remove(),_t.enter().append("path").classed(ut,1).classed("zl",1).classed("crisp",Qe.crisp!==!1).each(function(){Qe.layer.selectAll("path").sort(function(It,Lt){return ie(It.id,Lt.id)})}),_t.attr("transform",Qe.transFn).attr("d",Qe.path).call(u.stroke,Ne.zerolinecolor||u.defaultLine).style("stroke-width",o.crispRound(Re,Ne.zerolinewidth,Ne._gw||1)+"px").style("display",null),nt(Ne,[N])},X.drawLabels=function(Re,Ne,Qe){Qe=Qe||{};var ut=Re._fullLayout,dt=Ne._id,_t=dt.charAt(0),It=Qe.cls||dt+"tick",Lt=Qe.vals.filter(function(xn){return xn.text}),yt=Qe.labelFns,Pt=Qe.secondary?0:Ne.tickangle,wt=(Ne._prevTickAngles||{})[It],Rt=Qe.layer.selectAll("g."+It).data(Ne.showticklabels?Lt:[],ht),Nt=[];function Yt(xn,un){xn.each(function(An){var Yn=d.select(this),kn=Yn.select(".text-math-group"),sn=yt.anchorFn(An,un),Tn=Qe.transFn.call(Yn.node(),An)+(g(un)&&+un!=0?" rotate("+un+","+yt.xFn(An)+","+(yt.yFn(An)-An.fontSize/2)+")":""),dn=l.lineCount(Yn),pn=te*An.fontSize,Dn=yt.heightFn(An,g(un)?+un:0,(dn-1)*pn);if(Dn&&(Tn+=f(0,Dn)),kn.empty()){var In=Yn.select("text");In.attr({transform:Tn,"text-anchor":sn}),In.style("opacity",1),Ne._adjustTickLabelsOverflow&&Ne._adjustTickLabelsOverflow()}else{var jn=o.bBox(kn.node()).width*{end:-.5,start:.5}[sn];kn.attr("transform",Tn+f(jn,0))}})}Rt.enter().append("g").classed(It,1).append("text").attr("text-anchor","middle").each(function(xn){var un=d.select(this),An=Re._promises.length;un.call(l.positionText,yt.xFn(xn),yt.yFn(xn)).call(o.font,xn.font,xn.fontSize,xn.fontColor).text(xn.text).call(l.convertToTspans,Re),Re._promises[An]?Nt.push(Re._promises.pop().then(function(){Yt(un,Pt)})):Yt(un,Pt)}),nt(Ne,[U]),Rt.exit().remove(),Qe.repositionOnUpdate&&Rt.each(function(xn){d.select(this).select("text").call(l.positionText,yt.xFn(xn),yt.yFn(xn))}),Ne._adjustTickLabelsOverflow=function(){var xn=Ne.ticklabeloverflow;if(xn&&xn!=="allow"){var un=xn.indexOf("hide")!==-1,An=Ne._id.charAt(0)==="x",Yn=0,kn=An?Re._fullLayout.width:Re._fullLayout.height;if(xn.indexOf("domain")!==-1){var sn=v.simpleMap(Ne.range,Ne.r2l);Yn=Ne.l2p(sn[0])+Ne._offset,kn=Ne.l2p(sn[1])+Ne._offset}var Tn=Math.min(Yn,kn),dn=Math.max(Yn,kn),pn=Ne.side,Dn=1/0,In=-1/0;for(var jn in Rt.each(function(lr){var rr=d.select(this);if(rr.select(".text-math-group").empty()){var Sr=o.bBox(rr.node()),yr=0;An?(Sr.right>dn||Sr.leftdn||Sr.top+(Ne.tickangle?0:lr.fontSize/4)Ne["_visibleLabelMin_"+sn._id]?qn.style("display","none"):dn.K!=="tick"||Tn||qn.style("display",null)})})})})},Yt(Rt,wt+1?wt:Pt);var Wt=null;Ne._selections&&(Ne._selections[It]=Rt);var Xt=[function(){return Nt.length&&Promise.all(Nt)}];Ne.automargin&&ut._redrawFromAutoMarginCount&&wt===90?(Wt=90,Xt.push(function(){Yt(Rt,wt)})):Xt.push(function(){if(Yt(Rt,Pt),Lt.length&&_t==="x"&&!g(Pt)&&(Ne.type!=="log"||String(Ne.dtick).charAt(0)!=="D")){Wt=0;var xn,un=0,An=[];if(Rt.each(function(rr){un=Math.max(un,rr.fontSize);var Sr=Ne.l2p(rr.x),yr=kt(this),or=o.bBox(yr.node());An.push({top:0,bottom:10,height:10,left:Sr-or.width/2,right:Sr+or.width/2+2,width:or.width+2})}),Ne.tickson!=="boundaries"&&!Ne.showdividers||Qe.secondary){var Yn=Lt.length,kn=Math.abs((Lt[Yn-1].x-Lt[0].x)*Ne._m)/(Yn-1),sn=Ne.ticklabelposition||"",Tn=function(rr){return sn.indexOf(rr)!==-1},dn=Tn("top"),pn=Tn("left"),Dn=Tn("right"),In=Tn("bottom")||pn||dn||Dn?(Ne.tickwidth||0)+6:0,jn=kn<2.5*un||Ne.type==="multicategory"||Ne._name==="realaxis";for(xn=0;xn1)for(Lt=1;Lt2*b}(c,s))return"date";var _=h.autotypenumbers!=="strict";return function(k,E){for(var x=k.length,A=u(x),L=0,b=0,R={},I=0;I2*L}(c,_)?"category":function(k,E){for(var x=k.length,A=0;A=2){var b,R,I="";if(L.length===2){for(b=0;b<2;b++)if(R=_(L[b])){I=m;break}}var O=A("pattern",I);if(O===m)for(b=0;b<2;b++)(R=_(L[b]))&&(E.bounds[b]=L[b]=R-1);if(O)for(b=0;b<2;b++)switch(R=L[b],O){case m:if(!d(R)||(R=+R)!==Math.floor(R)||R<0||R>=7)return void(E.enabled=!1);E.bounds[b]=L[b]=R;break;case w:if(!d(R)||(R=+R)<0||R>24)return void(E.enabled=!1);E.bounds[b]=L[b]=R}if(x.autorange===!1){var z=x.range;if(z[0]z[1])return void(E.enabled=!1)}else if(L[0]>z[0]&&L[1]l?1:-1:+(M.substr(1)||1)-+(v.substr(1)||1)},p.ref2id=function(M){return!!/^[xyz]/.test(M)&&M.split(" ")[0]},p.isLinked=function(M,v){return i(v,M._axisMatchGroups)||i(v,M._axisConstraintGroups)}},15258:function(T){T.exports=function(p,t,d,g){if(t.type==="category"){var i,M=p.categoryarray,v=Array.isArray(M)&&M.length>0;v&&(i="array");var f,l=d("categoryorder",i);l==="array"&&(f=d("categoryarray")),v||l!=="array"||(l=t.categoryorder="trace"),l==="trace"?t._initialCategories=[]:l==="array"?t._initialCategories=f.slice():(f=function(a,u){var o,s,h,c=u.dataAttr||a._id.charAt(0),m={};if(u.axData)o=u.axData;else for(o=[],s=0;sk?E.substr(k):x.substr(_))+A:E+x+y*C:A}function m(y,C){for(var _=C._size,k=_.h/_.w,E={},x=Object.keys(y),A=0;Al*F)||j){for(_=0;_Q&&ueZ&&(Z=ue);b/=(Z-te)/(2*X),te=x.l2r(te),Z=x.l2r(Z),x.range=x._input.range=q=0?Math.min(ue,.9):1/(1/Math.max(ue,-.3)+3.222))}function q(ue,ce,ye,de,me){return ue.append("path").attr("class","zoombox").style({fill:ce>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("transform",l(ye,de)).attr("d",me+"Z")}function H(ue,ce,ye){return ue.append("path").attr("class","zoombox-corners").style({fill:u.background,stroke:u.defaultLine,"stroke-width":1,opacity:0}).attr("transform",l(ce,ye)).attr("d","M0,0Z")}function ne(ue,ce,ye,de,me,pe){ue.attr("d",de+"M"+ye.l+","+ye.t+"v"+ye.h+"h"+ye.w+"v-"+ye.h+"h-"+ye.w+"Z"),te(ue,ce,me,pe)}function te(ue,ce,ye,de){ye||(ue.transition().style("fill",de>.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),ce.transition().style("opacity",1).duration(200))}function Z(ue){d.select(ue).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}function X(ue){B&&ue.data&&ue._context.showTips&&(g.notifier(g._(ue,"Double-click to zoom back out"),"long"),B=!1)}function Q(ue){var ce=Math.floor(Math.min(ue.b-ue.t,ue.r-ue.l,F)/2);return"M"+(ue.l-3.5)+","+(ue.t-.5+ce)+"h3v"+-ce+"h"+ce+"v-3h-"+(ce+3)+"ZM"+(ue.r+3.5)+","+(ue.t-.5+ce)+"h-3v"+-ce+"h"+-ce+"v-3h"+(ce+3)+"ZM"+(ue.r+3.5)+","+(ue.b+.5-ce)+"h-3v"+ce+"h"+-ce+"v3h"+(ce+3)+"ZM"+(ue.l-3.5)+","+(ue.b+.5-ce)+"h3v"+ce+"h"+ce+"v3h-"+(ce+3)+"Z"}function re(ue,ce,ye,de,me){for(var pe,xe,Pe,_e,Me=!1,Se={},Ce={},ae=(me||{}).xaHash,fe=(me||{}).yaHash,be=0;be=0)dn._fullLayout._deactivateShape(dn);else{var pn=dn._fullLayout.clickmode;if(Z(dn),sn!==2||Ft||rn(),xt)pn.indexOf("select")>-1&&R(Tn,dn,ae,fe,ce.id,dt),pn.indexOf("event")>-1&&s.click(dn,Tn,ce.id);else if(sn===1&&Ft){var Dn=xe?Me:_e,In=xe==="s"||Pe==="w"?0:1,jn=Dn._name+".range["+In+"]",Gn=function(rr,Sr){var yr,or=rr.range[Sr],vr=Math.abs(or-rr.range[1-Sr]);return rr.type==="date"?or:rr.type==="log"?(yr=Math.ceil(Math.max(0,-Math.log(vr)/Math.LN10))+3,i("."+yr+"g")(Math.pow(10,or))):(yr=Math.floor(Math.log(Math.abs(or))/Math.LN10)-Math.floor(Math.log(vr)/Math.LN10)+4,i("."+String(yr)+"g")(or))}(Dn,In),qn="left",lr="middle";if(Dn.fixedrange)return;xe?(lr=xe==="n"?"top":"bottom",Dn.side==="right"&&(qn="right")):Pe==="e"&&(qn="right"),dn._context.showAxisRangeEntryBoxes&&d.select(qt).call(a.makeEditable,{gd:dn,immediate:!0,background:dn._fullLayout.paper_bgcolor,text:String(Gn),fill:Dn.tickfont?Dn.tickfont.color:"#444",horizontalAlign:qn,verticalAlign:lr}).on("edit",function(rr){var Sr=Dn.d2r(rr);Sr!==void 0&&f.call("_guiRelayout",dn,jn,Sr)})}}}function Lt(sn,Tn){if(ue._transitioningWithDuration)return!1;var dn=Math.max(0,Math.min(Le,bt*sn+Vt)),pn=Math.max(0,Math.min(Be,Et*Tn+Ke)),Dn=Math.abs(dn-Vt),In=Math.abs(pn-Ke);function jn(){Re="",Je.r=Je.l,Je.t=Je.b,Qe.attr("d","M0,0Z")}if(Je.l=Math.min(Vt,dn),Je.r=Math.max(Vt,dn),Je.t=Math.min(Ke,pn),Je.b=Math.max(Ke,pn),ze.isSubplotConstrained)Dn>F||In>F?(Re="xy",Dn/Le>In/Be?(In=Dn*Be/Le,Ke>pn?Je.t=Ke-In:Je.b=Ke+In):(Dn=In*Le/Be,Vt>dn?Je.l=Vt-Dn:Je.r=Vt+Dn),Qe.attr("d",Q(Je))):jn();else if(je.isSubplotConstrained)if(Dn>F||In>F){Re="xy";var Gn=Math.min(Je.l/Le,(Be-Je.b)/Be),qn=Math.max(Je.r/Le,(Be-Je.t)/Be);Je.l=Gn*Le,Je.r=qn*Le,Je.b=(1-Gn)*Be,Je.t=(1-qn)*Be,Qe.attr("d",Q(Je))}else jn();else!we||In0){var lr;if(je.isSubplotConstrained||!ge&&we.length===1){for(lr=0;lrx[1]-.000244140625&&(M.domain=a),g.noneOrAll(i.domain,M.domain,a),M.tickmode==="sync"&&(M.tickmode="auto")}return v("layer"),M}},89426:function(T,p,t){var d=t(59652);T.exports=function(g,i,M,v,f){f||(f={});var l=f.tickSuffixDflt,a=d(g);M("tickprefix")&&M("showtickprefix",a),M("ticksuffix",l)&&M("showticksuffix",a)}},42449:function(T,p,t){var d=t(18783).FROM_BL;T.exports=function(g,i,M){M===void 0&&(M=d[g.constraintoward||"center"]);var v=[g.r2l(g.range[0]),g.r2l(g.range[1])],f=v[0]+(v[1]-v[0])*M;g.range=g._input.range=[g.l2r(f+(v[0]-f)*i),g.l2r(f+(v[1]-f)*i)],g.setScale()}},21994:function(T,p,t){var d=t(39898),g=t(84096).g0,i=t(71828),M=i.numberFormat,v=t(92770),f=i.cleanNumber,l=i.ms2DateTime,a=i.dateTime2ms,u=i.ensureNumber,o=i.isArrayOrTypedArray,s=t(50606),h=s.FP_SAFE,c=s.BADNUM,m=s.LOG_CLIP,w=s.ONEWEEK,y=s.ONEDAY,C=s.ONEHOUR,_=s.ONEMIN,k=s.ONESEC,E=t(41675),x=t(85555),A=x.HOUR_PATTERN,L=x.WEEKDAY_PATTERN;function b(I){return Math.pow(10,I)}function R(I){return I!=null}T.exports=function(I,O){O=O||{};var z=I._id||"x",F=z.charAt(0);function B(re,ie){if(re>0)return Math.log(re)/Math.LN10;if(re<=0&&ie&&I.range&&I.range.length===2){var oe=I.range[0],ue=I.range[1];return .5*(oe+ue-2*m*Math.abs(oe-ue))}return c}function N(re,ie,oe,ue){if((ue||{}).msUTC&&v(re))return+re;var ce=a(re,oe||I.calendar);if(ce===c){if(!v(re))return c;re=+re;var ye=Math.floor(10*i.mod(re+.05,1)),de=Math.round(re-ye/10);ce=a(new Date(de))+ye/10}return ce}function W(re,ie,oe){return l(re,ie,oe||I.calendar)}function j(re){return I._categories[Math.round(re)]}function $(re){if(R(re)){if(I._categoriesMap===void 0&&(I._categoriesMap={}),I._categoriesMap[re]!==void 0)return I._categoriesMap[re];I._categories.push(typeof re=="number"?String(re):re);var ie=I._categories.length-1;return I._categoriesMap[re]=ie,ie}return c}function U(re){if(I._categoriesMap)return I._categoriesMap[re]}function G(re){var ie=U(re);return ie!==void 0?ie:v(re)?+re:void 0}function q(re){return v(re)?+re:U(re)}function H(re,ie,oe){return d.round(oe+ie*re,2)}function ne(re,ie,oe){return(re-oe)/ie}var te=function(re){return v(re)?H(re,I._m,I._b):c},Z=function(re){return ne(re,I._m,I._b)};if(I.rangebreaks){var X=F==="y";te=function(re){if(!v(re))return c;var ie=I._rangebreaks.length;if(!ie)return H(re,I._m,I._b);var oe=X;I.range[0]>I.range[1]&&(oe=!oe);for(var ue=oe?-1:1,ce=ue*re,ye=0,de=0;depe)){ye=ce<(me+pe)/2?de:de+1;break}ye=de+1}var xe=I._B[ye]||0;return isFinite(xe)?H(re,I._m2,xe):0},Z=function(re){var ie=I._rangebreaks.length;if(!ie)return ne(re,I._m,I._b);for(var oe=0,ue=0;ueI._rangebreaks[ue].pmax&&(oe=ue+1);return ne(re,I._m2,I._B[oe])}}I.c2l=I.type==="log"?B:u,I.l2c=I.type==="log"?b:u,I.l2p=te,I.p2l=Z,I.c2p=I.type==="log"?function(re,ie){return te(B(re,ie))}:te,I.p2c=I.type==="log"?function(re){return b(Z(re))}:Z,["linear","-"].indexOf(I.type)!==-1?(I.d2r=I.r2d=I.d2c=I.r2c=I.d2l=I.r2l=f,I.c2d=I.c2r=I.l2d=I.l2r=u,I.d2p=I.r2p=function(re){return I.l2p(f(re))},I.p2d=I.p2r=Z,I.cleanPos=u):I.type==="log"?(I.d2r=I.d2l=function(re,ie){return B(f(re),ie)},I.r2d=I.r2c=function(re){return b(f(re))},I.d2c=I.r2l=f,I.c2d=I.l2r=u,I.c2r=B,I.l2d=b,I.d2p=function(re,ie){return I.l2p(I.d2r(re,ie))},I.p2d=function(re){return b(Z(re))},I.r2p=function(re){return I.l2p(f(re))},I.p2r=Z,I.cleanPos=u):I.type==="date"?(I.d2r=I.r2d=i.identity,I.d2c=I.r2c=I.d2l=I.r2l=N,I.c2d=I.c2r=I.l2d=I.l2r=W,I.d2p=I.r2p=function(re,ie,oe){return I.l2p(N(re,0,oe))},I.p2d=I.p2r=function(re,ie,oe){return W(Z(re),ie,oe)},I.cleanPos=function(re){return i.cleanDate(re,c,I.calendar)}):I.type==="category"?(I.d2c=I.d2l=$,I.r2d=I.c2d=I.l2d=j,I.d2r=I.d2l_noadd=G,I.r2c=function(re){var ie=q(re);return ie!==void 0?ie:I.fraction2r(.5)},I.l2r=I.c2r=u,I.r2l=q,I.d2p=function(re){return I.l2p(I.r2c(re))},I.p2d=function(re){return j(Z(re))},I.r2p=I.d2p,I.p2r=Z,I.cleanPos=function(re){return typeof re=="string"&&re!==""?re:u(re)}):I.type==="multicategory"&&(I.r2d=I.c2d=I.l2d=j,I.d2r=I.d2l_noadd=G,I.r2c=function(re){var ie=G(re);return ie!==void 0?ie:I.fraction2r(.5)},I.r2c_just_indices=U,I.l2r=I.c2r=u,I.r2l=G,I.d2p=function(re){return I.l2p(I.r2c(re))},I.p2d=function(re){return j(Z(re))},I.r2p=I.d2p,I.p2r=Z,I.cleanPos=function(re){return Array.isArray(re)||typeof re=="string"&&re!==""?re:u(re)},I.setupMultiCategory=function(re){var ie,oe,ue=I._traceIndices,ce=I._matchGroup;if(ce&&I._categories.length===0){for(var ye in ce)if(ye!==z){var de=O[E.id2name(ye)];ue=ue.concat(de._traceIndices)}}var me=[[0,{}],[0,{}]],pe=[];for(ie=0;ieh&&(ce[oe]=h),ce[0]===ce[1]){var de=Math.max(1,Math.abs(1e-6*ce[0]));ce[0]-=de,ce[1]+=de}}else i.nestedProperty(I,re).set(ue)},I.setScale=function(re){var ie=O._size;if(I.overlaying){var oe=E.getFromId({_fullLayout:O},I.overlaying);I.domain=oe.domain}var ue=re&&I._r?"_r":"range",ce=I.calendar;I.cleanRange(ue);var ye,de,me=I.r2l(I[ue][0],ce),pe=I.r2l(I[ue][1],ce),xe=F==="y";if(xe?(I._offset=ie.t+(1-I.domain[1])*ie.h,I._length=ie.h*(I.domain[1]-I.domain[0]),I._m=I._length/(me-pe),I._b=-I._m*pe):(I._offset=ie.l+I.domain[0]*ie.w,I._length=ie.w*(I.domain[1]-I.domain[0]),I._m=I._length/(pe-me),I._b=-I._m*me),I._rangebreaks=[],I._lBreaks=0,I._m2=0,I._B=[],I.rangebreaks&&(I._rangebreaks=I.locateBreaks(Math.min(me,pe),Math.max(me,pe)),I._rangebreaks.length)){for(ye=0;yepe&&(Pe=!Pe),Pe&&I._rangebreaks.reverse();var _e=Pe?-1:1;for(I._m2=_e*I._length/(Math.abs(pe-me)-I._lBreaks),I._B.push(-I._m2*(xe?pe:me)),ye=0;yeue&&(ue+=7,ceue&&(ue+=24,ce=oe&&ce=oe&&re=je.min&&(keje.max&&(je.max=Le),Be=!1)}Be&&de.push({min:ke,max:Le})}};for(oe=0;oea.duration?(function(){for(var A={},L=0;L rect").call(M.setTranslate,0,0).call(M.setScale,1,1),_.plot.call(M.setTranslate,k._offset,E._offset).call(M.setScale,1,1);var x=_.plot.selectAll(".scatterlayer .trace");x.selectAll(".point").call(M.setPointGroupScale,1,1),x.selectAll(".textpoint").call(M.setTextPointsScale,1,1),x.call(M.hideOutsideRangePoints,_)}function C(_,k){var E=_.plotinfo,x=E.xaxis,A=E.yaxis,L=x._length,b=A._length,R=!!_.xr1,I=!!_.yr1,O=[];if(R){var z=i.simpleMap(_.xr0,x.r2l),F=i.simpleMap(_.xr1,x.r2l),B=z[1]-z[0],N=F[1]-F[0];O[0]=(z[0]*(1-k)+k*F[0]-z[0])/(z[1]-z[0])*L,O[2]=L*(1-k+k*N/B),x.range[0]=x.l2r(z[0]*(1-k)+k*F[0]),x.range[1]=x.l2r(z[1]*(1-k)+k*F[1])}else O[0]=0,O[2]=L;if(I){var W=i.simpleMap(_.yr0,A.r2l),j=i.simpleMap(_.yr1,A.r2l),$=W[1]-W[0],U=j[1]-j[0];O[1]=(W[1]*(1-k)+k*j[1]-W[1])/(W[0]-W[1])*b,O[3]=b*(1-k+k*U/$),A.range[0]=x.l2r(W[0]*(1-k)+k*j[0]),A.range[1]=A.l2r(W[1]*(1-k)+k*j[1])}else O[1]=0,O[3]=b;v.drawOne(f,x,{skipTitle:!0}),v.drawOne(f,A,{skipTitle:!0}),v.redrawComponents(f,[x._id,A._id]);var G=R?L/O[2]:1,q=I?b/O[3]:1,H=R?O[0]:0,ne=I?O[1]:0,te=R?O[0]/O[2]*L:0,Z=I?O[1]/O[3]*b:0,X=x._offset-te,Q=A._offset-Z;E.clipRect.call(M.setTranslate,H,ne).call(M.setScale,1/G,1/q),E.plot.call(M.setTranslate,X,Q).call(M.setScale,G,q),M.setPointGroupScale(E.zoomScalePts,1/G,1/q),M.setTextPointsScale(E.zoomScaleTxt,1/G,1/q)}v.redrawComponents(f)}},951:function(T,p,t){var d=t(73972).traceIs,g=t(4322);function i(v){return{v:"x",h:"y"}[v.orientation||"v"]}function M(v,f){var l=i(v),a=d(v,"box-violin"),u=d(v._fullInput||{},"candlestick");return a&&!u&&f===l&&v[l]===void 0&&v[l+"0"]===void 0}T.exports=function(v,f,l,a){l("autotypenumbers",a.autotypenumbersDflt),l("type",(a.splomStash||{}).type)==="-"&&(function(u,o){if(u.type==="-"){var s,h=u._id,c=h.charAt(0);h.indexOf("scene")!==-1&&(h=c);var m=function(A,L,b){for(var R=0;R0&&(I["_"+b+"axes"]||{})[L]||(I[b+"axis"]||b)===L&&(M(I,b)||(I[b]||[]).length||I[b+"0"]))return I}}(o,h,c);if(m)if(m.type!=="histogram"||c!=={v:"y",h:"x"}[m.orientation||"v"]){var w=c+"calendar",y=m[w],C={noMultiCategory:!d(m,"cartesian")||d(m,"noMultiCategory")};if(m.type==="box"&&m._hasPreCompStats&&c==={h:"x",v:"y"}[m.orientation||"v"]&&(C.noMultiCategory=!0),C.autotypenumbers=u.autotypenumbers,M(m,c)){var _=i(m),k=[];for(s=0;s0?".":"")+s;g.isPlainObject(h)?f(h,a,c,o+1):a(c,s,h)}})}p.manageCommandObserver=function(l,a,u,o){var s={},h=!0;a&&a._commandObserver&&(s=a._commandObserver),s.cache||(s.cache={}),s.lookupTable={};var c=p.hasSimpleAPICommandBindings(l,u,s.lookupTable);if(a&&a._commandObserver){if(c)return s;if(a._commandObserver.remove)return a._commandObserver.remove(),a._commandObserver=null,s}if(c){i(l,c,s.cache),s.check=function(){if(h){var y=i(l,c,s.cache);return y.changed&&o&&s.lookupTable[y.value]!==void 0&&(s.disable(),Promise.resolve(o({value:y.value,type:c.type,prop:c.prop,traces:c.traces,index:s.lookupTable[y.value]})).then(s.enable,s.enable)),y.changed}};for(var m=["plotly_relayout","plotly_redraw","plotly_restyle","plotly_update","plotly_animatingframe","plotly_afterplot"],w=0;w0&&N<0&&(N+=360);var $=(N-B)/4;return{type:"Polygon",coordinates:[[[B,W],[B,j],[B+$,j],[B+2*$,j],[B+3*$,j],[N,j],[N,W],[N-$,W],[N-2*$,W],[N-3*$,W],[B,W]]]}}T.exports=function(O){return new b(O)},R.plot=function(O,z,F,B){var N=this;if(B)return N.update(O,z,!0);N._geoCalcData=O,N._fullLayout=z;var W=z[this.id],j=[],$=!1;for(var U in E.layerNameToAdjective)if(U!=="frame"&&W["show"+U]){$=!0;break}for(var G=!1,q=0;q0&&j._module.calcGeoJSON(W,z)}if(!F){if(this.updateProjection(O,z))return;this.viewInitial&&this.scope===B.scope||this.saveViewInitial(B)}this.scope=B.scope,this.updateBaseLayers(z,B),this.updateDims(z,B),this.updateFx(z,B),h.generalUpdatePerTraceModule(this.graphDiv,this,O,B);var $=this.layers.frontplot.select(".scatterlayer");this.dataPoints.point=$.selectAll(".point"),this.dataPoints.text=$.selectAll("text"),this.dataPaths.line=$.selectAll(".js-line");var U=this.layers.backplot.select(".choroplethlayer");this.dataPaths.choropleth=U.selectAll("path"),this._render()},R.updateProjection=function(O,z){var F=this.graphDiv,B=z[this.id],N=z._size,W=B.domain,j=B.projection,$=B.lonaxis,U=B.lataxis,G=$._ax,q=U._ax,H=this.projection=function(Ce){var ae=Ce.projection,fe=ae.type,be=E.projNames[fe];be="geo"+l.titleCase(be);for(var ke=(g[be]||v[be])(),Le=Ce._isSatellite?180*Math.acos(1/ae.distance)/Math.PI:Ce._isClipped?E.lonaxisSpan[fe]/2:null,Be=["center","rotate","parallels","clipExtent"],ze=function(we){return we?ke:[]},je=0;jeLe*Math.PI/180}return!1},ke.getPath=function(){return i().projection(ke)},ke.getBounds=function(we){return ke.getPath().bounds(we)},ke.precision(E.precision),Ce._isSatellite&&ke.tilt(ae.tilt).distance(ae.distance),Le&&ke.clipAngle(Le-E.clipPad),ke}(B),ne=[[N.l+N.w*W.x[0],N.t+N.h*(1-W.y[1])],[N.l+N.w*W.x[1],N.t+N.h*(1-W.y[0])]],te=B.center||{},Z=j.rotation||{},X=$.range||[],Q=U.range||[];if(B.fitbounds){G._length=ne[1][0]-ne[0][0],q._length=ne[1][1]-ne[0][1],G.range=m(F,G),q.range=m(F,q);var re=(G.range[0]+G.range[1])/2,ie=(q.range[0]+q.range[1])/2;if(B._isScoped)te={lon:re,lat:ie};else if(B._isClipped){te={lon:re,lat:ie},Z={lon:re,lat:ie,roll:Z.roll};var oe=j.type,ue=E.lonaxisSpan[oe]/2||180,ce=E.lataxisSpan[oe]/2||90;X=[re-ue,re+ue],Q=[ie-ce,ie+ce]}else te={lon:re,lat:ie},Z={lon:re,lat:Z.lat,roll:Z.roll}}H.center([te.lon-Z.lon,te.lat-Z.lat]).rotate([-Z.lon,-Z.lat,Z.roll]).parallels(j.parallels);var ye=I(X,Q);H.fitExtent(ne,ye);var de=this.bounds=H.getBounds(ye),me=this.fitScale=H.scale(),pe=H.translate();if(B.fitbounds){var xe=H.getBounds(I(G.range,q.range)),Pe=Math.min((de[1][0]-de[0][0])/(xe[1][0]-xe[0][0]),(de[1][1]-de[0][1])/(xe[1][1]-xe[0][1]));isFinite(Pe)?H.scale(Pe*me):l.warn("Something went wrong during"+this.id+"fitbounds computations.")}else H.scale(j.scale*me);var _e=this.midPt=[(de[0][0]+de[1][0])/2,(de[0][1]+de[1][1])/2];if(H.translate([pe[0]+(_e[0]-pe[0]),pe[1]+(_e[1]-pe[1])]).clipExtent(de),B._isAlbersUsa){var Me=H([te.lon,te.lat]),Se=H.translate();H.translate([Se[0]-(Me[0]-Se[0]),Se[1]-(Me[1]-Se[1])])}},R.updateBaseLayers=function(O,z){var F=this,B=F.topojson,N=F.layers,W=F.basePaths;function j(H){return H==="lonaxis"||H==="lataxis"}function $(H){return!!E.lineLayers[H]}function U(H){return!!E.fillLayers[H]}var G=(this.hasChoropleth?E.layersForChoropleth:E.layers).filter(function(H){return $(H)||U(H)?z["show"+H]:!j(H)||z[H].showgrid}),q=F.framework.selectAll(".layer").data(G,String);q.exit().each(function(H){delete N[H],delete W[H],d.select(this).remove()}),q.enter().append("g").attr("class",function(H){return"layer "+H}).each(function(H){var ne=N[H]=d.select(this);H==="bg"?F.bgRect=ne.append("rect").style("pointer-events","all"):j(H)?W[H]=ne.append("path").style("fill","none"):H==="backplot"?ne.append("g").classed("choroplethlayer",!0):H==="frontplot"?ne.append("g").classed("scatterlayer",!0):$(H)?W[H]=ne.append("path").style("fill","none").style("stroke-miterlimit",2):U(H)&&(W[H]=ne.append("path").style("stroke","none"))}),q.order(),q.each(function(H){var ne=W[H],te=E.layerNameToAdjective[H];H==="frame"?ne.datum(E.sphereSVG):$(H)||U(H)?ne.datum(L(B,B.objects[H])):j(H)&&ne.datum(function(Z,X,Q){var re,ie,oe,ue=X[Z],ce=E.scopeDefaults[X.scope];Z==="lonaxis"?(re=ce.lonaxisRange,ie=ce.lataxisRange,oe=function(Se,Ce){return[Se,Ce]}):Z==="lataxis"&&(re=ce.lataxisRange,ie=ce.lonaxisRange,oe=function(Se,Ce){return[Ce,Se]});var ye={type:"linear",range:[re[0],re[1]-1e-6],tick0:ue.tick0,dtick:ue.dtick};c.setConvert(ye,Q);var de=c.calcTicks(ye);X.isScoped||Z!=="lonaxis"||de.pop();for(var me=de.length,pe=new Array(me),xe=0;xe-1&&_(d.event,B,[F.xaxis],[F.yaxis],F.id,$),j.indexOf("event")>-1&&s.click(B,d.event))})}function U(G){return F.projection.invert([G[0]+F.xaxis._offset,G[1]+F.yaxis._offset])}},R.makeFramework=function(){var O=this,z=O.graphDiv,F=z._fullLayout,B="clip"+F._uid+O.id;O.clipDef=F._clips.append("clipPath").attr("id",B),O.clipRect=O.clipDef.append("rect"),O.framework=d.select(O.container).append("g").attr("class","geo "+O.id).call(o.setClipUrl,B,z),O.project=function(N){var W=O.projection(N);return W?[W[0]-O.xaxis._offset,W[1]-O.yaxis._offset]:[null,null]},O.xaxis={_id:"x",c2p:function(N){return O.project(N)[0]}},O.yaxis={_id:"y",c2p:function(N){return O.project(N)[1]}},O.mockAxis={type:"linear",showexponent:"all",exponentformat:"B"},c.setConvert(O.mockAxis,F)},R.saveViewInitial=function(O){var z,F=O.center||{},B=O.projection,N=B.rotation||{};this.viewInitial={fitbounds:O.fitbounds,"projection.scale":B.scale},z=O._isScoped?{"center.lon":F.lon,"center.lat":F.lat}:O._isClipped?{"projection.rotation.lon":N.lon,"projection.rotation.lat":N.lat}:{"center.lon":F.lon,"center.lat":F.lat,"projection.rotation.lon":N.lon},l.extendFlat(this.viewInitial,z)},R.render=function(O){this._hasMarkerAngles&&O?this.plot(this._geoCalcData,this._fullLayout,[],!0):this._render()},R._render=function(){var O,z=this.projection,F=z.getPath();function B(W){var j=z(W.lonlat);return j?a(j[0],j[1]):null}function N(W){return z.isLonLatOverEdges(W.lonlat)?"none":null}for(O in this.basePaths)this.basePaths[O].attr("d",F);for(O in this.dataPaths)this.dataPaths[O].attr("d",function(W){return F(W.geojson)});for(O in this.dataPoints)this.dataPoints[O].attr("display",N).attr("transform",B)}},44622:function(T,p,t){var d=t(27659).AU,g=t(71828).counterRegex,i=t(69082),M="geo",v=g(M),f={};f.geo={valType:"subplotid",dflt:M,editType:"calc"},T.exports={attr:M,name:M,idRoot:M,idRegex:v,attrRegex:v,attributes:f,layoutAttributes:t(77519),supplyLayoutDefaults:t(82161),plot:function(l){for(var a=l._fullLayout,u=l.calcdata,o=a._subplots.geo,s=0;s0&&U<0&&(U+=360);var G,q,H,ne=($+U)/2;if(!C){var te=_?w.projRotate:[ne,0,0];G=o("projection.rotation.lon",te[0]),o("projection.rotation.lat",te[1]),o("projection.rotation.roll",te[2]),o("showcoastlines",!_&&L)&&(o("coastlinecolor"),o("coastlinewidth")),o("showocean",!!L&&void 0)&&o("oceancolor")}C?(q=-96.6,H=38.7):(q=_?ne:G,H=(j[0]+j[1])/2),o("center.lon",q),o("center.lat",H),k&&(o("projection.tilt"),o("projection.distance")),E&&o("projection.parallels",w.projParallels||[0,60]),o("projection.scale"),o("showland",!!L&&void 0)&&o("landcolor"),o("showlakes",!!L&&void 0)&&o("lakecolor"),o("showrivers",!!L&&void 0)&&(o("rivercolor"),o("riverwidth")),o("showcountries",_&&m!=="usa"&&L)&&(o("countrycolor"),o("countrywidth")),(m==="usa"||m==="north america"&&c===50)&&(o("showsubunits",L),o("subunitcolor"),o("subunitwidth")),_||o("showframe",L)&&(o("framecolor"),o("framewidth")),o("bgcolor"),o("fitbounds")&&(delete u.projection.scale,_?(delete u.center.lon,delete u.center.lat):x?(delete u.center.lon,delete u.center.lat,delete u.projection.rotation.lon,delete u.projection.rotation.lat,delete u.lonaxis.range,delete u.lataxis.range):(delete u.center.lon,delete u.center.lat,delete u.projection.rotation.lon))}T.exports=function(a,u,o){g(a,u,o,{type:"geo",attributes:v,handleDefaults:l,fullData:o,partition:"y"})}},74455:function(T,p,t){var d=t(39898),g=t(71828),i=t(73972),M=Math.PI/180,v=180/Math.PI,f={cursor:"pointer"},l={cursor:"auto"};function a(L,b){return d.behavior.zoom().translate(b.translate()).scale(b.scale())}function u(L,b,R){var I=L.id,O=L.graphDiv,z=O.layout,F=z[I],B=O._fullLayout,N=B[I],W={},j={};function $(U,G){W[I+"."+U]=g.nestedProperty(F,U).get(),i.call("_storeDirectGUIEdit",z,B._preGUI,W);var q=g.nestedProperty(N,U);q.get()!==G&&(q.set(G),g.nestedProperty(F,U).set(G),j[I+"."+U]=G)}R($),$("projection.scale",b.scale()/L.fitScale),$("fitbounds",!1),O.emit("plotly_relayout",j)}function o(L,b){var R=a(0,b);function I(O){var z=b.invert(L.midPt);O("center.lon",z[0]),O("center.lat",z[1])}return R.on("zoomstart",function(){d.select(this).style(f)}).on("zoom",function(){b.scale(d.event.scale).translate(d.event.translate),L.render(!0);var O=b.invert(L.midPt);L.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":b.scale()/L.fitScale,"geo.center.lon":O[0],"geo.center.lat":O[1]})}).on("zoomend",function(){d.select(this).style(l),u(L,b,I)}),R}function s(L,b){var R,I,O,z,F,B,N,W,j,$=a(0,b);function U(q){return b.invert(q)}function G(q){var H=b.rotate(),ne=b.invert(L.midPt);q("projection.rotation.lon",-H[0]),q("center.lon",ne[0]),q("center.lat",ne[1])}return $.on("zoomstart",function(){d.select(this).style(f),R=d.mouse(this),I=b.rotate(),O=b.translate(),z=I,F=U(R)}).on("zoom",function(){if(B=d.mouse(this),function(ne){var te=U(ne);if(!te)return!0;var Z=b(te);return Math.abs(Z[0]-ne[0])>2||Math.abs(Z[1]-ne[1])>2}(R))return $.scale(b.scale()),void $.translate(b.translate());b.scale(d.event.scale),b.translate([O[0],d.event.translate[1]]),F?U(B)&&(W=U(B),N=[z[0]+(W[0]-F[0]),I[1],I[2]],b.rotate(N),z=N):F=U(R=B),j=!0,L.render(!0);var q=b.rotate(),H=b.invert(L.midPt);L.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":b.scale()/L.fitScale,"geo.center.lon":H[0],"geo.center.lat":H[1],"geo.projection.rotation.lon":-q[0]})}).on("zoomend",function(){d.select(this).style(l),j&&u(L,b,G)}),$}function h(L,b){var R;b.rotate(),b.scale();var I=a(0,b),O=function($){for(var U=0,G=arguments.length,q=[];++UG?(z=(j>0?90:-90)-U,O=0):(z=Math.asin(j/G)*v-U,O=Math.sqrt(G*G-j*j));var q=180-z-2*U,H=(Math.atan2($,W)-Math.atan2(N,O))*v,ne=(Math.atan2($,W)-Math.atan2(N,-O))*v;return _(R[0],R[1],z,H)<=_(R[0],R[1],q,ne)?[z,H,R[2]]:[q,ne,R[2]]}function _(L,b,R,I){var O=k(R-L),z=k(I-b);return Math.sqrt(O*O+z*z)}function k(L){return(L%360+540)%360-180}function E(L,b,R){var I=R*M,O=L.slice(),z=b===0?1:0,F=b===2?1:2,B=Math.cos(I),N=Math.sin(I);return O[z]=L[z]*B-L[F]*N,O[F]=L[F]*B+L[z]*N,O}function x(L){return[Math.atan2(2*(L[0]*L[1]+L[2]*L[3]),1-2*(L[1]*L[1]+L[2]*L[2]))*v,Math.asin(Math.max(-1,Math.min(1,2*(L[0]*L[2]-L[3]*L[1]))))*v,Math.atan2(2*(L[0]*L[3]+L[1]*L[2]),1-2*(L[2]*L[2]+L[3]*L[3]))*v]}function A(L,b){for(var R=0,I=0,O=L.length;IMath.abs(C)?(o.boxEnd[1]=o.boxStart[1]+Math.abs(y)*F*(C>=0?1:-1),o.boxEnd[1]<_[1]?(o.boxEnd[1]=_[1],o.boxEnd[0]=o.boxStart[0]+(_[1]-o.boxStart[1])/Math.abs(F)):o.boxEnd[1]>_[3]&&(o.boxEnd[1]=_[3],o.boxEnd[0]=o.boxStart[0]+(_[3]-o.boxStart[1])/Math.abs(F))):(o.boxEnd[0]=o.boxStart[0]+Math.abs(C)/F*(y>=0?1:-1),o.boxEnd[0]<_[0]?(o.boxEnd[0]=_[0],o.boxEnd[1]=o.boxStart[1]+(_[0]-o.boxStart[0])*Math.abs(F)):o.boxEnd[0]>_[2]&&(o.boxEnd[0]=_[2],o.boxEnd[1]=o.boxStart[1]+(_[2]-o.boxStart[0])*Math.abs(F)))}}else o.boxEnabled?(y=o.boxStart[0]!==o.boxEnd[0],C=o.boxStart[1]!==o.boxEnd[1],y||C?(y&&(b(0,o.boxStart[0],o.boxEnd[0]),l.xaxis.autorange=!1),C&&(b(1,o.boxStart[1],o.boxEnd[1]),l.yaxis.autorange=!1),l.relayoutCallback()):l.glplot.setDirty(),o.boxEnabled=!1,o.boxInited=!1):o.boxInited&&(o.boxInited=!1);break;case"pan":o.boxEnabled=!1,o.boxInited=!1,c?(o.panning||(o.dragStart[0]=m,o.dragStart[1]=w),Math.abs(o.dragStart[0]-m).999&&(x="turntable"):x="turntable")}else x="turntable";h("dragmode",x),h("hovermode",c.getDfltFromLayout("hovermode"))}T.exports=function(o,s,h){var c=s._basePlotModules.length>1;M(o,s,h,{type:a,attributes:f,handleDefaults:u,fullLayout:s,font:s.font,fullData:h,getDfltFromLayout:function(m){if(!c)return d.validate(o[m],f[m])?o[m]:void 0},autotypenumbersDflt:s.autotypenumbers,paper_bgcolor:s.paper_bgcolor,calendar:s.calendar})}},65500:function(T,p,t){var d=t(77894),g=t(27670).Y,i=t(1426).extendFlat,M=t(71828).counterRegex;function v(f,l,a){return{x:{valType:"number",dflt:f,editType:"camera"},y:{valType:"number",dflt:l,editType:"camera"},z:{valType:"number",dflt:a,editType:"camera"},editType:"camera"}}T.exports={_arrayAttrRegexps:[M("scene",".annotations",!0)],bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"plot"},camera:{up:i(v(0,0,1),{}),center:i(v(0,0,0),{}),eye:i(v(1.25,1.25,1.25),{}),projection:{type:{valType:"enumerated",values:["perspective","orthographic"],dflt:"perspective",editType:"calc"},editType:"calc"},editType:"camera"},domain:g({name:"scene",editType:"plot"}),aspectmode:{valType:"enumerated",values:["auto","cube","data","manual"],dflt:"auto",editType:"plot",impliedEdits:{"aspectratio.x":void 0,"aspectratio.y":void 0,"aspectratio.z":void 0}},aspectratio:{x:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},y:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},z:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},editType:"plot",impliedEdits:{aspectmode:"manual"}},xaxis:d,yaxis:d,zaxis:d,dragmode:{valType:"enumerated",values:["orbit","turntable","zoom","pan",!1],editType:"plot"},hovermode:{valType:"enumerated",values:["closest",!1],dflt:"closest",editType:"modebar"},uirevision:{valType:"any",editType:"none"},editType:"plot",_deprecated:{cameraposition:{valType:"info_array",editType:"camera"}}}},13133:function(T,p,t){var d=t(78614),g=["xaxis","yaxis","zaxis"];function i(){this.enabled=[!0,!0,!0],this.colors=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.drawSides=[!0,!0,!0],this.lineWidth=[1,1,1]}i.prototype.merge=function(M){for(var v=0;v<3;++v){var f=M[g[v]];f.visible?(this.enabled[v]=f.showspikes,this.colors[v]=d(f.spikecolor),this.drawSides[v]=f.spikesides,this.lineWidth[v]=f.spikethickness):(this.enabled[v]=!1,this.drawSides[v]=!1)}},T.exports=function(M){var v=new i;return v.merge(M),v}},96085:function(T,p,t){T.exports=function(v){for(var f=v.axesOptions,l=v.glplot.axesPixels,a=v.fullSceneLayout,u=[[],[],[]],o=0;o<3;++o){var s=a[i[o]];if(s._length=(l[o].hi-l[o].lo)*l[o].pixelsPerDataUnit/v.dataScale[o],Math.abs(s._length)===1/0||isNaN(s._length))u[o]=[];else{s._input_range=s.range.slice(),s.range[0]=l[o].lo/v.dataScale[o],s.range[1]=l[o].hi/v.dataScale[o],s._m=1/(v.dataScale[o]*l[o].pixelsPerDataUnit),s.range[0]===s.range[1]&&(s.range[0]-=1,s.range[1]+=1);var h=s.tickmode;if(s.tickmode==="auto"){s.tickmode="linear";var c=s.nticks||g.constrain(s._length/40,4,9);d.autoTicks(s,Math.abs(s.range[1]-s.range[0])/c)}for(var m=d.calcTicks(s,{msUTC:!0}),w=0;w/g," "));u[o]=m,s.tickmode=h}}for(f.ticks=u,o=0;o<3;++o)for(M[o]=.5*(v.glplot.bounds[0][o]+v.glplot.bounds[1][o]),w=0;w<2;++w)f.bounds[w][o]=v.glplot.bounds[w][o];v.contourLevels=function(y){for(var C=new Array(3),_=0;_<3;++_){for(var k=y[_],E=new Array(k.length),x=0;xB.deltaY?1.1:.9090909090909091,W=R.glplot.getAspectratio();R.glplot.setAspectratio({x:N*W.x,y:N*W.y,z:N*W.z})}F(R)}},!!l&&{passive:!1}),R.glplot.canvas.addEventListener("mousemove",function(){if(R.fullSceneLayout.dragmode!==!1&&R.camera.mouseListener.buttons!==0){var B=z();R.graphDiv.emit("plotly_relayouting",B)}}),R.staticMode||R.glplot.canvas.addEventListener("webglcontextlost",function(B){I&&I.emit&&I.emit("plotly_webglcontextlost",{event:B,layer:R.id})},!1)),R.glplot.oncontextloss=function(){R.recoverContext()},R.glplot.onrender=function(){R.render()},!0},x.render=function(){var R,I=this,O=I.graphDiv,z=I.svgContainer,F=I.container.getBoundingClientRect();O._fullLayout._calcInverseTransform(O);var B=O._fullLayout._invScaleX,N=O._fullLayout._invScaleY,W=F.width*B,j=F.height*N;z.setAttributeNS(null,"viewBox","0 0 "+W+" "+j),z.setAttributeNS(null,"width",W),z.setAttributeNS(null,"height",j),_(I),I.glplot.axes.update(I.axesOptions);for(var $=Object.keys(I.traces),U=null,G=I.glplot.selection,q=0;q<$.length;++q)(R=I.traces[$[q]]).data.hoverinfo!=="skip"&&R.handlePick(G)&&(U=R),R.setContourLevels&&R.setContourLevels();function H(me,pe,xe){var Pe=I.fullSceneLayout[me+"axis"];return Pe.type!=="log"&&(pe=Pe.d2l(pe)),s.hoverLabelText(Pe,pe,xe)}if(U!==null){var ne=w(I.glplot.cameraParams,G.dataCoordinate);R=U.data;var te,Z=O._fullData[R.index],X=G.index,Q={xLabel:H("x",G.traceCoordinate[0],R.xhoverformat),yLabel:H("y",G.traceCoordinate[1],R.yhoverformat),zLabel:H("z",G.traceCoordinate[2],R.zhoverformat)},re=h.castHoverinfo(Z,I.fullLayout,X),ie=(re||"").split("+"),oe=re&&re==="all";Z.hovertemplate||oe||(ie.indexOf("x")===-1&&(Q.xLabel=void 0),ie.indexOf("y")===-1&&(Q.yLabel=void 0),ie.indexOf("z")===-1&&(Q.zLabel=void 0),ie.indexOf("text")===-1&&(G.textLabel=void 0),ie.indexOf("name")===-1&&(U.name=void 0));var ue=[];R.type==="cone"||R.type==="streamtube"?(Q.uLabel=H("x",G.traceCoordinate[3],R.uhoverformat),(oe||ie.indexOf("u")!==-1)&&ue.push("u: "+Q.uLabel),Q.vLabel=H("y",G.traceCoordinate[4],R.vhoverformat),(oe||ie.indexOf("v")!==-1)&&ue.push("v: "+Q.vLabel),Q.wLabel=H("z",G.traceCoordinate[5],R.whoverformat),(oe||ie.indexOf("w")!==-1)&&ue.push("w: "+Q.wLabel),Q.normLabel=G.traceCoordinate[6].toPrecision(3),(oe||ie.indexOf("norm")!==-1)&&ue.push("norm: "+Q.normLabel),R.type==="streamtube"&&(Q.divergenceLabel=G.traceCoordinate[7].toPrecision(3),(oe||ie.indexOf("divergence")!==-1)&&ue.push("divergence: "+Q.divergenceLabel)),G.textLabel&&ue.push(G.textLabel),te=ue.join("
")):R.type==="isosurface"||R.type==="volume"?(Q.valueLabel=s.hoverLabelText(I._mockAxis,I._mockAxis.d2l(G.traceCoordinate[3]),R.valuehoverformat),ue.push("value: "+Q.valueLabel),G.textLabel&&ue.push(G.textLabel),te=ue.join("
")):te=G.textLabel;var ce={x:G.traceCoordinate[0],y:G.traceCoordinate[1],z:G.traceCoordinate[2],data:Z._input,fullData:Z,curveNumber:Z.index,pointNumber:X};h.appendArrayPointValue(ce,Z,X),R._module.eventData&&(ce=Z._module.eventData(ce,G,Z,{},X));var ye={points:[ce]};if(I.fullSceneLayout.hovermode){var de=[];h.loneHover({trace:Z,x:(.5+.5*ne[0]/ne[3])*W,y:(.5-.5*ne[1]/ne[3])*j,xLabel:Q.xLabel,yLabel:Q.yLabel,zLabel:Q.zLabel,text:te,name:U.name,color:h.castHoverOption(Z,X,"bgcolor")||U.color,borderColor:h.castHoverOption(Z,X,"bordercolor"),fontFamily:h.castHoverOption(Z,X,"font.family"),fontSize:h.castHoverOption(Z,X,"font.size"),fontColor:h.castHoverOption(Z,X,"font.color"),nameLength:h.castHoverOption(Z,X,"namelength"),textAlign:h.castHoverOption(Z,X,"align"),hovertemplate:u.castOption(Z,X,"hovertemplate"),hovertemplateLabels:u.extendFlat({},ce,Q),eventData:[ce]},{container:z,gd:O,inOut_bbox:de}),ce.bbox=de[0]}G.distance<5&&(G.buttons||k)?O.emit("plotly_click",ye):O.emit("plotly_hover",ye),this.oldEventData=ye}else h.loneUnhover(z),this.oldEventData&&O.emit("plotly_unhover",this.oldEventData),this.oldEventData=void 0;I.drawAnnotations(I)},x.recoverContext=function(){var R=this;R.glplot.dispose();var I=function(){R.glplot.gl.isContextLost()?requestAnimationFrame(I):R.initializeGLPlot()?R.plot.apply(R,R.plotArgs):u.error("Catastrophic and unrecoverable WebGL error. Context lost.")};requestAnimationFrame(I)};var L=["xaxis","yaxis","zaxis"];function b(R,I,O){for(var z=R.fullSceneLayout,F=0;F<3;F++){var B=L[F],N=B.charAt(0),W=z[B],j=I[N],$=I[N+"calendar"],U=I["_"+N+"length"];if(u.isArrayOrTypedArray(j))for(var G,q=0;q<(U||j.length);q++)if(u.isArrayOrTypedArray(j[q]))for(var H=0;HZ[1][N])Z[0][N]=-1,Z[1][N]=1;else{var pe=Z[1][N]-Z[0][N];Z[0][N]-=pe/32,Z[1][N]+=pe/32}if(j.autorange==="reversed"){var xe=Z[0][N];Z[0][N]=Z[1][N],Z[1][N]=xe}}else{var Pe=j.range;Z[0][N]=j.r2l(Pe[0]),Z[1][N]=j.r2l(Pe[1])}Z[0][N]===Z[1][N]&&(Z[0][N]-=1,Z[1][N]+=1),X[N]=Z[1][N]-Z[0][N],z.glplot.setBounds(N,{min:Z[0][N]*H[N],max:Z[1][N]*H[N]})}var _e=U.aspectmode;if(_e==="cube")te=[1,1,1];else if(_e==="manual"){var Me=U.aspectratio;te=[Me.x,Me.y,Me.z]}else{if(_e!=="auto"&&_e!=="data")throw new Error("scene.js aspectRatio was not one of the enumerated types");var Se=[1,1,1];for(N=0;N<3;++N){var Ce=Q[$=(j=U[L[N]]).type];Se[N]=Math.pow(Ce.acc,1/Ce.count)/H[N]}te=_e==="data"||Math.max.apply(null,Se)/Math.min.apply(null,Se)<=4?Se:[1,1,1]}U.aspectratio.x=G.aspectratio.x=te[0],U.aspectratio.y=G.aspectratio.y=te[1],U.aspectratio.z=G.aspectratio.z=te[2],z.glplot.setAspectratio(U.aspectratio),z.viewInitial.aspectratio||(z.viewInitial.aspectratio={x:U.aspectratio.x,y:U.aspectratio.y,z:U.aspectratio.z}),z.viewInitial.aspectmode||(z.viewInitial.aspectmode=U.aspectmode);var ae=U.domain||null,fe=I._size||null;if(ae&&fe){var be=z.container.style;be.position="absolute",be.left=fe.l+ae.x[0]*fe.w+"px",be.top=fe.t+(1-ae.y[1])*fe.h+"px",be.width=fe.w*(ae.x[1]-ae.x[0])+"px",be.height=fe.h*(ae.y[1]-ae.y[0])+"px"}z.glplot.redraw()}},x.destroy=function(){var R=this;R.glplot&&(R.camera.mouseListener.enabled=!1,R.container.removeEventListener("wheel",R.camera.wheelListener),R.camera=null,R.glplot.dispose(),R.container.parentNode.removeChild(R.container),R.glplot=null)},x.getCamera=function(){var R,I=this;return I.camera.view.recalcMatrix(I.camera.view.lastT()),{up:{x:(R=I.camera).up[0],y:R.up[1],z:R.up[2]},center:{x:R.center[0],y:R.center[1],z:R.center[2]},eye:{x:R.eye[0],y:R.eye[1],z:R.eye[2]},projection:{type:R._ortho===!0?"orthographic":"perspective"}}},x.setViewport=function(R){var I,O=this,z=R.camera;O.camera.lookAt.apply(this,[[(I=z).eye.x,I.eye.y,I.eye.z],[I.center.x,I.center.y,I.center.z],[I.up.x,I.up.y,I.up.z]]),O.glplot.setAspectratio(R.aspectratio),z.projection.type==="orthographic"!==O.camera._ortho&&(O.glplot.redraw(),O.glplot.clearRGBA(),O.glplot.dispose(),O.initializeGLPlot())},x.isCameraChanged=function(R){var I=this.getCamera(),O=u.nestedProperty(R,this.id+".camera").get();function z(W,j,$,U){var G=["up","center","eye"],q=["x","y","z"];return j[G[$]]&&W[G[$]][q[U]]===j[G[$]][q[U]]}var F=!1;if(O===void 0)F=!0;else{for(var B=0;B<3;B++)for(var N=0;N<3;N++)if(!z(I,O,B,N)){F=!0;break}(!O.projection||I.projection&&I.projection.type!==O.projection.type)&&(F=!0)}return F},x.isAspectChanged=function(R){var I=this.glplot.getAspectratio(),O=u.nestedProperty(R,this.id+".aspectratio").get();return O===void 0||O.x!==I.x||O.y!==I.y||O.z!==I.z},x.saveLayout=function(R){var I,O,z,F,B,N,W=this,j=W.fullLayout,$=W.isCameraChanged(R),U=W.isAspectChanged(R),G=$||U;if(G){var q={};$&&(I=W.getCamera(),z=(O=u.nestedProperty(R,W.id+".camera")).get(),q[W.id+".camera"]=z),U&&(F=W.glplot.getAspectratio(),N=(B=u.nestedProperty(R,W.id+".aspectratio")).get(),q[W.id+".aspectratio"]=N),a.call("_storeDirectGUIEdit",R,j._preGUI,q),$&&(O.set(I),u.nestedProperty(j,W.id+".camera").set(I)),U&&(B.set(F),u.nestedProperty(j,W.id+".aspectratio").set(F),W.glplot.redraw())}return G},x.updateFx=function(R,I){var O=this,z=O.camera;if(z)if(R==="orbit")z.mode="orbit",z.keyBindingMode="rotate";else if(R==="turntable"){z.up=[0,0,1],z.mode="turntable",z.keyBindingMode="rotate";var F=O.graphDiv,B=F._fullLayout,N=O.fullSceneLayout.camera,W=N.up.x,j=N.up.y,$=N.up.z;if($/Math.sqrt(W*W+j*j+$*$)<.999){var U=O.id+".camera.up",G={x:0,y:0,z:1},q={};q[U]=G;var H=F.layout;a.call("_storeDirectGUIEdit",H,B._preGUI,q),N.up=G,u.nestedProperty(H,U).set(G)}}else z.keyBindingMode=R;O.fullSceneLayout.hovermode=I},x.toImage=function(R){var I=this;R||(R="png"),I.staticMode&&I.container.appendChild(d),I.glplot.redraw();var O=I.glplot.gl,z=O.drawingBufferWidth,F=O.drawingBufferHeight;O.bindFramebuffer(O.FRAMEBUFFER,null);var B=new Uint8Array(z*F*4);O.readPixels(0,0,z,F,O.RGBA,O.UNSIGNED_BYTE,B),function(U,G,q){for(var H=0,ne=q-1;H0)for(var X=255/Z,Q=0;Q<3;++Q)U[te+Q]=Math.min(X*U[te+Q],255)}}(B,z,F);var N=document.createElement("canvas");N.width=z,N.height=F;var W,j=N.getContext("2d",{willReadFrequently:!0}),$=j.createImageData(z,F);switch($.data.set(B),j.putImageData($,0,0),R){case"jpeg":W=N.toDataURL("image/jpeg");break;case"webp":W=N.toDataURL("image/webp");break;default:W=N.toDataURL("image/png")}return I.staticMode&&I.container.removeChild(d),W},x.setConvert=function(){for(var R=0;R<3;R++){var I=this.fullSceneLayout[L[R]];s.setConvert(I,this.fullLayout),I.setScale=u.noop}},x.make4thDimension=function(){var R=this,I=R.graphDiv._fullLayout;R._mockAxis={type:"linear",showexponent:"all",exponentformat:"B"},s.setConvert(R._mockAxis,I)},T.exports=E},90060:function(T){T.exports=function(p,t,d,g){g=g||p.length;for(var i=new Array(g),M=0;MOpenStreetMap
contributors',i=['© Carto',g].join(" "),M=['Map tiles by Stamen Design','under CC BY 3.0',"|",'Data by OpenStreetMap contributors','under ODbL'].join(" "),v={"open-street-map":{id:"osm",version:8,sources:{"plotly-osm-tiles":{type:"raster",attribution:g,tiles:["https://a.tile.openstreetmap.org/{z}/{x}/{y}.png","https://b.tile.openstreetmap.org/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-osm-tiles",type:"raster",source:"plotly-osm-tiles",minzoom:0,maxzoom:22}]},"white-bg":{id:"white-bg",version:8,sources:{},layers:[{id:"white-bg",type:"background",paint:{"background-color":"#FFFFFF"},minzoom:0,maxzoom:22}]},"carto-positron":{id:"carto-positron",version:8,sources:{"plotly-carto-positron":{type:"raster",attribution:i,tiles:["https://cartodb-basemaps-c.global.ssl.fastly.net/light_all/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-carto-positron",type:"raster",source:"plotly-carto-positron",minzoom:0,maxzoom:22}]},"carto-darkmatter":{id:"carto-darkmatter",version:8,sources:{"plotly-carto-darkmatter":{type:"raster",attribution:i,tiles:["https://cartodb-basemaps-c.global.ssl.fastly.net/dark_all/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-carto-darkmatter",type:"raster",source:"plotly-carto-darkmatter",minzoom:0,maxzoom:22}]},"stamen-terrain":{id:"stamen-terrain",version:8,sources:{"plotly-stamen-terrain":{type:"raster",attribution:M,tiles:["https://stamen-tiles.a.ssl.fastly.net/terrain/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-terrain",type:"raster",source:"plotly-stamen-terrain",minzoom:0,maxzoom:22}]},"stamen-toner":{id:"stamen-toner",version:8,sources:{"plotly-stamen-toner":{type:"raster",attribution:M,tiles:["https://stamen-tiles.a.ssl.fastly.net/toner/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-toner",type:"raster",source:"plotly-stamen-toner",minzoom:0,maxzoom:22}]},"stamen-watercolor":{id:"stamen-watercolor",version:8,sources:{"plotly-stamen-watercolor":{type:"raster",attribution:['Map tiles by Stamen Design','under CC BY 3.0',"|",'Data by OpenStreetMap contributors','under CC BY SA'].join(" "),tiles:["https://stamen-tiles.a.ssl.fastly.net/watercolor/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-watercolor",type:"raster",source:"plotly-stamen-watercolor",minzoom:0,maxzoom:22}]}},f=d(v);T.exports={requiredVersion:"1.10.1",styleUrlPrefix:"mapbox://styles/mapbox/",styleUrlSuffix:"v9",styleValuesMapbox:["basic","streets","outdoors","light","dark","satellite","satellite-streets"],styleValueDflt:"basic",stylesNonMapbox:v,styleValuesNonMapbox:f,traceLayerPrefix:"plotly-trace-layer-",layoutLayerPrefix:"plotly-layout-layer-",wrongVersionErrorMsg:["Your custom plotly.js bundle is not using the correct mapbox-gl version","Please install mapbox-gl@1.10.1."].join(` -`),noAccessTokenErrorMsg:["Missing Mapbox access token.","Mapbox trace type require a Mapbox access token to be registered.","For example:"," Plotly.newPlot(gd, data, layout, { mapboxAccessToken: 'my-access-token' });","More info here: https://www.mapbox.com/help/define-access-token/"].join(` -`),missingStyleErrorMsg:["No valid mapbox style found, please set `mapbox.style` to one of:",f.join(", "),"or register a Mapbox access token to use a Mapbox-served style."].join(` -`),multipleTokensErrorMsg:["Set multiple mapbox access token across different mapbox subplot,","using first token found as mapbox-gl does not allow multipleaccess tokens on the same page."].join(` -`),mapOnErrorMsg:"Mapbox error.",mapboxLogo:{path0:"m 10.5,1.24 c -5.11,0 -9.25,4.15 -9.25,9.25 0,5.1 4.15,9.25 9.25,9.25 5.1,0 9.25,-4.15 9.25,-9.25 0,-5.11 -4.14,-9.25 -9.25,-9.25 z m 4.39,11.53 c -1.93,1.93 -4.78,2.31 -6.7,2.31 -0.7,0 -1.41,-0.05 -2.1,-0.16 0,0 -1.02,-5.64 2.14,-8.81 0.83,-0.83 1.95,-1.28 3.13,-1.28 1.27,0 2.49,0.51 3.39,1.42 1.84,1.84 1.89,4.75 0.14,6.52 z",path1:"M 10.5,-0.01 C 4.7,-0.01 0,4.7 0,10.49 c 0,5.79 4.7,10.5 10.5,10.5 5.8,0 10.5,-4.7 10.5,-10.5 C 20.99,4.7 16.3,-0.01 10.5,-0.01 Z m 0,19.75 c -5.11,0 -9.25,-4.15 -9.25,-9.25 0,-5.1 4.14,-9.26 9.25,-9.26 5.11,0 9.25,4.15 9.25,9.25 0,5.13 -4.14,9.26 -9.25,9.26 z",path2:"M 14.74,6.25 C 12.9,4.41 9.98,4.35 8.23,6.1 5.07,9.27 6.09,14.91 6.09,14.91 c 0,0 5.64,1.02 8.81,-2.14 C 16.64,11 16.59,8.09 14.74,6.25 Z m -2.27,4.09 -0.91,1.87 -0.9,-1.87 -1.86,-0.91 1.86,-0.9 0.9,-1.87 0.91,1.87 1.86,0.9 z",polygon:"11.56,12.21 10.66,10.34 8.8,9.43 10.66,8.53 11.56,6.66 12.47,8.53 14.33,9.43 12.47,10.34"},styleRules:{map:"overflow:hidden;position:relative;","missing-css":"display:none;",canary:"background-color:salmon;","ctrl-bottom-left":"position: absolute; pointer-events: none; z-index: 2; bottom: 0; left: 0;","ctrl-bottom-right":"position: absolute; pointer-events: none; z-index: 2; right: 0; bottom: 0;",ctrl:"clear: both; pointer-events: auto; transform: translate(0, 0);","ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-inner":"display: none;","ctrl-attrib.mapboxgl-compact:hover .mapboxgl-ctrl-attrib-inner":"display: block; margin-top:2px","ctrl-attrib.mapboxgl-compact:hover":"padding: 2px 24px 2px 4px; visibility: visible; margin-top: 6px;","ctrl-attrib.mapboxgl-compact::after":`content: ""; cursor: pointer; position: absolute; background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"%3E %3Cpath fill="%23333333" fill-rule="evenodd" d="M4,10a6,6 0 1,0 12,0a6,6 0 1,0 -12,0 M9,7a1,1 0 1,0 2,0a1,1 0 1,0 -2,0 M9,10a1,1 0 1,1 2,0l0,3a1,1 0 1,1 -2,0"/%3E %3C/svg%3E'); background-color: rgba(255, 255, 255, 0.5); width: 24px; height: 24px; box-sizing: border-box; border-radius: 12px;`,"ctrl-attrib.mapboxgl-compact":"min-height: 20px; padding: 0; margin: 10px; position: relative; background-color: #fff; border-radius: 3px 12px 12px 3px;","ctrl-bottom-right > .mapboxgl-ctrl-attrib.mapboxgl-compact::after":"bottom: 0; right: 0","ctrl-bottom-left > .mapboxgl-ctrl-attrib.mapboxgl-compact::after":"bottom: 0; left: 0","ctrl-bottom-left .mapboxgl-ctrl":"margin: 0 0 10px 10px; float: left;","ctrl-bottom-right .mapboxgl-ctrl":"margin: 0 10px 10px 0; float: right;","ctrl-attrib":"color: rgba(0, 0, 0, 0.75); text-decoration: none; font-size: 12px","ctrl-attrib a":"color: rgba(0, 0, 0, 0.75); text-decoration: none; font-size: 12px","ctrl-attrib a:hover":"color: inherit; text-decoration: underline;","ctrl-attrib .mapbox-improve-map":"font-weight: bold; margin-left: 2px;","attrib-empty":"display: none;","ctrl-logo":`display:block; width: 21px; height: 21px; background-image: url('data:image/svg+xml;charset=utf-8,%3C?xml version="1.0" encoding="utf-8"?%3E %3Csvg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 21 21" style="enable-background:new 0 0 21 21;" xml:space="preserve"%3E%3Cg transform="translate(0,0.01)"%3E%3Cpath d="m 10.5,1.24 c -5.11,0 -9.25,4.15 -9.25,9.25 0,5.1 4.15,9.25 9.25,9.25 5.1,0 9.25,-4.15 9.25,-9.25 0,-5.11 -4.14,-9.25 -9.25,-9.25 z m 4.39,11.53 c -1.93,1.93 -4.78,2.31 -6.7,2.31 -0.7,0 -1.41,-0.05 -2.1,-0.16 0,0 -1.02,-5.64 2.14,-8.81 0.83,-0.83 1.95,-1.28 3.13,-1.28 1.27,0 2.49,0.51 3.39,1.42 1.84,1.84 1.89,4.75 0.14,6.52 z" style="opacity:0.9;fill:%23ffffff;enable-background:new" class="st0"/%3E%3Cpath d="M 10.5,-0.01 C 4.7,-0.01 0,4.7 0,10.49 c 0,5.79 4.7,10.5 10.5,10.5 5.8,0 10.5,-4.7 10.5,-10.5 C 20.99,4.7 16.3,-0.01 10.5,-0.01 Z m 0,19.75 c -5.11,0 -9.25,-4.15 -9.25,-9.25 0,-5.1 4.14,-9.26 9.25,-9.26 5.11,0 9.25,4.15 9.25,9.25 0,5.13 -4.14,9.26 -9.25,9.26 z" style="opacity:0.35;enable-background:new" class="st1"/%3E%3Cpath d="M 14.74,6.25 C 12.9,4.41 9.98,4.35 8.23,6.1 5.07,9.27 6.09,14.91 6.09,14.91 c 0,0 5.64,1.02 8.81,-2.14 C 16.64,11 16.59,8.09 14.74,6.25 Z m -2.27,4.09 -0.91,1.87 -0.9,-1.87 -1.86,-0.91 1.86,-0.9 0.9,-1.87 0.91,1.87 1.86,0.9 z" style="opacity:0.35;enable-background:new" class="st1"/%3E%3Cpolygon points="11.56,12.21 10.66,10.34 8.8,9.43 10.66,8.53 11.56,6.66 12.47,8.53 14.33,9.43 12.47,10.34 " style="opacity:0.9;fill:%23ffffff;enable-background:new" class="st0"/%3E%3C/g%3E%3C/svg%3E')`}}},13056:function(T,p,t){var d=t(71828);T.exports=function(g,i){var M=g.split(" "),v=M[0],f=M[1],l=d.isArrayOrTypedArray(i)?d.mean(i):i,a=.5+l/100,u=1.5+l/100,o=["",""],s=[0,0];switch(v){case"top":o[0]="top",s[1]=-u;break;case"bottom":o[0]="bottom",s[1]=u}switch(f){case"left":o[1]="right",s[0]=-a;break;case"right":o[1]="left",s[0]=a}return{anchor:o[0]&&o[1]?o.join("-"):o[0]?o[0]:o[1]?o[1]:"center",offset:s}}},50101:function(T,p,t){var d=t(44517),g=t(71828),i=g.strTranslate,M=g.strScale,v=t(27659).AU,f=t(77922),l=t(39898),a=t(91424),u=t(63893),o=t(10481),s="mapbox",h=p.constants=t(77734);function c(m){return typeof m=="string"&&(h.styleValuesMapbox.indexOf(m)!==-1||m.indexOf("mapbox://")===0)}p.name=s,p.attr="subplot",p.idRoot=s,p.idRegex=p.attrRegex=g.counterRegex(s),p.attributes={subplot:{valType:"subplotid",dflt:"mapbox",editType:"calc"}},p.layoutAttributes=t(23585),p.supplyLayoutDefaults=t(77882),p.plot=function(m){var w=m._fullLayout,y=m.calcdata,C=w._subplots.mapbox;if(d.version!==h.requiredVersion)throw new Error(h.wrongVersionErrorMsg);var _=function(b,R){var I=b._fullLayout;if(b._context.mapboxAccessToken==="")return"";for(var O=[],z=[],F=!1,B=!1,N=0;N1&&g.warn(h.multipleTokensErrorMsg),O[0]):(z.length&&g.log(["Listed mapbox access token(s)",z.join(","),"but did not use a Mapbox map style, ignoring token(s)."].join(" ")),"")}(m,C);d.accessToken=_;for(var k=0;kz/2){var F=b.split("|").join("
");I.text(F).attr("data-unformatted",F).call(u.convertToTspans,m),O=a.bBox(I.node())}I.attr("transform",i(-3,8-O.height)),R.insert("rect",".static-attribution").attr({x:-O.width-6,y:-O.height-3,width:O.width+6,height:O.height+3,fill:"rgba(255, 255, 255, 0.75)"});var B=1;O.width+6>z&&(B=z/(O.width+6));var N=[C.l+C.w*E.x[1],C.t+C.h*(1-E.y[0])];R.attr("transform",i(N[0],N[1])+M(B))}},p.updateFx=function(m){for(var w=m._fullLayout,y=w._subplots.mapbox,C=0;C0){for(var s=0;s0}function a(u){var o={},s={};switch(u.type){case"circle":d.extendFlat(s,{"circle-radius":u.circle.radius,"circle-color":u.color,"circle-opacity":u.opacity});break;case"line":d.extendFlat(s,{"line-width":u.line.width,"line-color":u.color,"line-opacity":u.opacity,"line-dasharray":u.line.dash});break;case"fill":d.extendFlat(s,{"fill-color":u.color,"fill-outline-color":u.fill.outlinecolor,"fill-opacity":u.opacity});break;case"symbol":var h=u.symbol,c=i(h.textposition,h.iconsize);d.extendFlat(o,{"icon-image":h.icon+"-15","icon-size":h.iconsize/10,"text-field":h.text,"text-size":h.textfont.size,"text-anchor":c.anchor,"text-offset":c.offset,"symbol-placement":h.placement}),d.extendFlat(s,{"icon-color":u.color,"text-color":h.textfont.color,"text-opacity":u.opacity});break;case"raster":d.extendFlat(s,{"raster-fade-duration":0,"raster-opacity":u.opacity})}return{layout:o,paint:s}}f.update=function(u){this.visible?this.needsNewImage(u)?this.updateImage(u):this.needsNewSource(u)?(this.removeLayer(),this.updateSource(u),this.updateLayer(u)):this.needsNewLayer(u)?this.updateLayer(u):this.updateStyle(u):(this.updateSource(u),this.updateLayer(u)),this.visible=l(u)},f.needsNewImage=function(u){return this.subplot.map.getSource(this.idSource)&&this.sourceType==="image"&&u.sourcetype==="image"&&(this.source!==u.source||JSON.stringify(this.coordinates)!==JSON.stringify(u.coordinates))},f.needsNewSource=function(u){return this.sourceType!==u.sourcetype||JSON.stringify(this.source)!==JSON.stringify(u.source)||this.layerType!==u.type},f.needsNewLayer=function(u){return this.layerType!==u.type||this.below!==this.subplot.belowLookup["layout-"+this.index]},f.lookupBelow=function(){return this.subplot.belowLookup["layout-"+this.index]},f.updateImage=function(u){this.subplot.map.getSource(this.idSource).updateImage({url:u.source,coordinates:u.coordinates});var o=this.findFollowingMapboxLayerId(this.lookupBelow());o!==null&&this.subplot.map.moveLayer(this.idLayer,o)},f.updateSource=function(u){var o=this.subplot.map;if(o.getSource(this.idSource)&&o.removeSource(this.idSource),this.sourceType=u.sourcetype,this.source=u.source,l(u)){var s=function(h){var c,m=h.sourcetype,w=h.source,y={type:m};return m==="geojson"?c="data":m==="vector"?c=typeof w=="string"?"url":"tiles":m==="raster"?(c="tiles",y.tileSize=256):m==="image"&&(c="url",y.coordinates=h.coordinates),y[c]=w,h.sourceattribution&&(y.attribution=g(h.sourceattribution)),y}(u);o.addSource(this.idSource,s)}},f.findFollowingMapboxLayerId=function(u){if(u==="traces")for(var o=this.subplot.getMapLayers(),s=0;s1)for(R=0;R-1&&m(N.originalEvent,I,[R.xaxis],[R.yaxis],R.id,B),W.indexOf("event")>-1&&l.click(I,N.originalEvent)}}},_.updateFx=function(L){var b=this,R=b.map,I=b.gd;if(!b.isStatic){var O,z=L.dragmode;O=function(N,W){W.isRect?(N.range={})[b.id]=[B([W.xmin,W.ymin]),B([W.xmax,W.ymax])]:(N.lassoPoints={})[b.id]=W.map(B)};var F=b.dragOptions;b.dragOptions=g.extendDeep(F||{},{dragmode:L.dragmode,element:b.div,gd:I,plotinfo:{id:b.id,domain:L[b.id].domain,xaxis:b.xaxis,yaxis:b.yaxis,fillRangeItems:O},xaxes:[b.xaxis],yaxes:[b.yaxis],subplot:b.id}),R.off("click",b.onClickInPanHandler),o(z)||u(z)?(R.dragPan.disable(),R.on("zoomstart",b.clearOutline),b.dragOptions.prepFn=function(N,W,j){s(N,W,j,b.dragOptions,z)},f.init(b.dragOptions)):(R.dragPan.enable(),R.off("zoomstart",b.clearOutline),b.div.onmousedown=null,b.div.ontouchstart=null,b.div.removeEventListener("touchstart",b.div._ontouchstart),b.onClickInPanHandler=b.onClickInPanFn(b.dragOptions),R.on("click",b.onClickInPanHandler))}function B(N){var W=b.map.unproject(N);return[W.lng,W.lat]}},_.updateFramework=function(L){var b=L[this.id].domain,R=L._size,I=this.div.style;I.width=R.w*(b.x[1]-b.x[0])+"px",I.height=R.h*(b.y[1]-b.y[0])+"px",I.left=R.l+b.x[0]*R.w+"px",I.top=R.t+(1-b.y[1])*R.h+"px",this.xaxis._offset=R.l+b.x[0]*R.w,this.xaxis._length=R.w*(b.x[1]-b.x[0]),this.yaxis._offset=R.t+(1-b.y[1])*R.h,this.yaxis._length=R.h*(b.y[1]-b.y[0])},_.updateLayers=function(L){var b,R=L[this.id].layers,I=this.layerList;if(R.length!==I.length){for(b=0;b=G.width-20?(ne["text-anchor"]="start",ne.x=5):(ne["text-anchor"]="end",ne.x=G._paper.attr("width")-7),q.attr(ne);var te=q.select(".js-link-to-tool"),Z=q.select(".js-link-spacer"),X=q.select(".js-sourcelinks");U._context.showSources&&U._context.showSources(U),U._context.showLink&&function(Q,re){re.text("");var ie=re.append("a").attr({"xlink:xlink:href":"#",class:"link--impt link--embedview","font-weight":"bold"}).text(Q._context.linkText+" "+String.fromCharCode(187));if(Q._context.sendData)ie.on("click",function(){k.sendDataToCloud(Q)});else{var oe=window.location.pathname.split("/"),ue=window.location.search;ie.attr({"xlink:xlink:show":"new","xlink:xlink:href":"/"+oe[2].split(".")[0]+"/"+oe[1]+ue})}}(U,te),Z.text(te.text()&&X.text()?" - ":"")}},k.sendDataToCloud=function(U){var G=(window.PLOTLYENV||{}).BASE_URL||U._context.plotlyServerURL;if(G){U.emit("plotly_beforeexport");var q=d.select(U).append("div").attr("id","hiddenform").style("display","none"),H=q.append("form").attr({action:G+"/external",method:"post",target:"_blank"});return H.append("input").attr({type:"text",name:"data"}).node().value=k.graphJson(U,!1,"keepdata"),H.node().submit(),q.remove(),U.emit("plotly_afterexport"),!1}};var A=["days","shortDays","months","shortMonths","periods","dateTime","date","time","decimal","thousands","grouping","currency"],L=["year","month","dayMonth","dayMonthYear"];function b(U,G){var q=U._context.locale;q||(q="en-US");var H=!1,ne={};function te(oe){for(var ue=!0,ce=0;ce1&&Se.length>1){for(v.getComponentMethod("grid","sizeDefaults")(Z,te),ne=0;ne15&&Se.length>15&&te.shapes.length===0&&te.images.length===0,k.linkSubplots(Q,te,X,H),k.cleanPlot(Q,te,X,H);var ke=!(!H._has||!H._has("gl2d")),Le=!(!te._has||!te._has("gl2d")),Be=!(!H._has||!H._has("cartesian"))||ke,ze=!(!te._has||!te._has("cartesian"))||Le;Be&&!ze?H._bgLayer.remove():ze&&!Be&&(te._shouldCreateBgLayer=!0),H._zoomlayer&&!U._dragging&&h({_fullLayout:H}),function(Ee,Ve){var $e,Ye=[];Ve.meta&&($e=Ve._meta={meta:Ve.meta,layout:{meta:Ve.meta}});for(var st=0;st0){var re=1-2*Z;H=Math.round(re*H),ne=Math.round(re*ne)}}var ie=k.layoutAttributes.width.min,oe=k.layoutAttributes.height.min;H1,ce=!G.height&&Math.abs(q.height-ne)>1;(ce||ue)&&(ue&&(q.width=H),ce&&(q.height=ne)),U._initialAutoSize||(U._initialAutoSize={width:H,height:ne}),k.sanitizeMargins(q)},k.supplyLayoutModuleDefaults=function(U,G,q,H){var ne,te,Z,X=v.componentsRegistry,Q=G._basePlotModules,re=v.subplotsRegistry.cartesian;for(ne in X)(Z=X[ne]).includeBasePlot&&Z.includeBasePlot(U,G);for(var ie in Q.length||Q.push(re),G._has("cartesian")&&(v.getComponentMethod("grid","contentDefaults")(U,G),re.finalizeSubplots(U,G)),G._subplots)G._subplots[ie].sort(a.subplotSort);for(te=0;te1&&(q.l/=me,q.r/=me)}if(ue){var pe=(q.t+q.b)/ue;pe>1&&(q.t/=pe,q.b/=pe)}var xe=q.xl!==void 0?q.xl:q.x,Pe=q.xr!==void 0?q.xr:q.x,_e=q.yt!==void 0?q.yt:q.y,Me=q.yb!==void 0?q.yb:q.y;ce[G]={l:{val:xe,size:q.l+de},r:{val:Pe,size:q.r+de},b:{val:Me,size:q.b+de},t:{val:_e,size:q.t+de}},ye[G]=1}else delete ce[G],delete ye[G];if(!H._replotting)return k.doAutoMargin(U)}},k.doAutoMargin=function(U){var G=U._fullLayout,q=G.width,H=G.height;G._size||(G._size={}),F(G);var ne=G._size,te=G.margin,Z={t:0,b:0,l:0,r:0},X=a.extendFlat({},ne),Q=U._fullLayout._reservedMargin;for(var re in Q)for(var ie in Q[re]){var oe=Q[re][ie];Z[ie]=Math.max(Z[ie],oe)}var ue=te.l,ce=te.r,ye=te.t,de=te.b,me=G._pushmargin,pe=G._pushmarginIds,xe=G.minreducedwidth,Pe=G.minreducedheight;if(G.margin.autoexpand!==!1){for(var _e in me)pe[_e]||delete me[_e];for(var Me in me.base={l:{val:0,size:ue},r:{val:1,size:ce},t:{val:1,size:ye},b:{val:0,size:de}},me){var Se=me[Me].l||{},Ce=me[Me].b||{},ae=Se.val,fe=Se.size,be=Ce.val,ke=Ce.size,Le=q-Z.r-Z.l,Be=H-Z.t-Z.b;for(var ze in me){if(M(fe)&&me[ze].r){var je=me[ze].r.val,ge=me[ze].r.size;if(je>ae){var we=(fe*je+(ge-Le)*ae)/(je-ae),Ee=(ge*(1-ae)+(fe-Le)*(1-je))/(je-ae);we+Ee>ue+ce&&(ue=we,ce=Ee)}}if(M(ke)&&me[ze].t){var Ve=me[ze].t.val,$e=me[ze].t.size;if(Ve>be){var Ye=(ke*Ve+($e-Be)*be)/(Ve-be),st=($e*(1-be)+(ke-Be)*(1-Ve))/(Ve-be);Ye+st>de+ye&&(de=Ye,ye=st)}}}}}var ot=a.constrain(q-te.l-te.r,2,xe),ht=a.constrain(H-te.t-te.b,2,Pe),bt=Math.max(0,q-ot),Et=Math.max(0,H-ht);if(bt){var kt=(ue+ce)/bt;kt>1&&(ue/=kt,ce/=kt)}if(Et){var xt=(de+ye)/Et;xt>1&&(de/=xt,ye/=xt)}if(ne.l=Math.round(ue)+Z.l,ne.r=Math.round(ce)+Z.r,ne.t=Math.round(ye)+Z.t,ne.b=Math.round(de)+Z.b,ne.p=Math.round(te.pad),ne.w=Math.round(q)-ne.l-ne.r,ne.h=Math.round(H)-ne.t-ne.b,!G._replotting&&(k.didMarginChange(X,ne)||function(Ot){if("_redrawFromAutoMarginCount"in Ot._fullLayout)return!1;var Bt=s.list(Ot,"",!0);for(var qt in Bt)if(Bt[qt].autoshift||Bt[qt].shift)return!0;return!1}(U))){"_redrawFromAutoMarginCount"in G?G._redrawFromAutoMarginCount++:G._redrawFromAutoMarginCount=1;var Ft=3*(1+Object.keys(pe).length);if(G._redrawFromAutoMarginCount0&&(U._transitioningWithDuration=!0),U._transitionData._interruptCallbacks.push(function(){H=!0}),q.redraw&&U._transitionData._interruptCallbacks.push(function(){return v.call("redraw",U)}),U._transitionData._interruptCallbacks.push(function(){U.emit("plotly_transitioninterrupted",[])});var X=0,Q=0;function re(){return X++,function(){var ie;Q++,H||Q!==X||(ie=Z,U._transitionData&&(function(oe){if(oe)for(;oe.length;)oe.shift()}(U._transitionData._interruptCallbacks),Promise.resolve().then(function(){if(q.redraw)return v.call("redraw",U)}).then(function(){U._transitioning=!1,U._transitioningWithDuration=!1,U.emit("plotly_transitioned",[])}).then(ie)))}}q.runFn(re),setTimeout(re())})}],te=a.syncOrAsync(ne,U);return te&&te.then||(te=Promise.resolve()),te.then(function(){return U})}k.didMarginChange=function(U,G){for(var q=0;q1)return!0}return!1},k.graphJson=function(U,G,q,H,ne,te){(ne&&G&&!U._fullData||ne&&!G&&!U._fullLayout)&&k.supplyDefaults(U);var Z=ne?U._fullData:U.data,X=ne?U._fullLayout:U.layout,Q=(U._transitionData||{})._frames;function re(ue,ce){if(typeof ue=="function")return ce?"_function_":null;if(a.isPlainObject(ue)){var ye,de={};return Object.keys(ue).sort().forEach(function(me){if(["_","["].indexOf(me.charAt(0))===-1)if(typeof ue[me]!="function"){if(q==="keepdata"){if(me.substr(me.length-3)==="src")return}else if(q==="keepstream"){if(typeof(ye=ue[me+"src"])=="string"&&ye.indexOf(":")>0&&!a.isPlainObject(ue.stream))return}else if(q!=="keepall"&&typeof(ye=ue[me+"src"])=="string"&&ye.indexOf(":")>0)return;de[me]=re(ue[me],ce)}else ce&&(de[me]="_function")}),de}return Array.isArray(ue)?ue.map(function(me){return re(me,ce)}):a.isTypedArray(ue)?a.simpleMap(ue,a.identity):a.isJSDate(ue)?a.ms2DateTimeLocal(+ue):ue}var ie={data:(Z||[]).map(function(ue){var ce=re(ue);return G&&delete ce.fit,ce})};if(!G&&(ie.layout=re(X),ne)){var oe=X._size;ie.layout.computed={margin:{b:oe.b,l:oe.l,r:oe.r,t:oe.t}}}return Q&&(ie.frames=re(Q)),te&&(ie.config=re(U._context,!0)),H==="object"?ie:JSON.stringify(ie)},k.modifyFrames=function(U,G){var q,H,ne,te=U._transitionData._frames,Z=U._transitionData._frameHash;for(q=0;q=0;te--)if(Me[te].enabled){q._indexToPoints=Me[te]._indexToPoints;break}H&&H.calc&&(_e=H.calc(U,q))}Array.isArray(_e)&&_e[0]||(_e=[{x:o,y:o}]),_e[0].t||(_e[0].t={}),_e[0].trace=q,re[xe]=_e}}for(j(Z,X,Q),ne=0;ne1e-10?s:0}function o(s,h,c){h=h||0,c=c||0;for(var m=s.length,w=new Array(m),y=0;y0?y:1/0}),m=d.mod(c+1,h.length);return[h[c],h[m]]},findIntersectionXY:l,findXYatLength:function(s,h,c,m){var w=-h*c,y=h*h+1,C=2*(h*w-c),_=w*w+c*c-s*s,k=Math.sqrt(C*C-4*y*_),E=(-C+k)/(2*y),x=(-C-k)/(2*y);return[[E,h*E+w+m],[x,h*x+w+m]]},clampTiny:u,pathPolygon:function(s,h,c,m,w,y){return"M"+o(a(s,h,c,m),w,y).join("L")},pathPolygonAnnulus:function(s,h,c,m,w,y,C){var _,k;s=90||kt>90&&xt>=450?1:Ot<=0&&qt<=0?0:Math.max(Ot,qt),[kt<=180&&xt>=180||kt>180&&xt>=540?-1:Ft>=0&&Bt>=0?0:Math.min(Ft,Bt),kt<=270&&xt>=270||kt>270&&xt>=630?-1:Ot>=0&&qt>=0?0:Math.min(Ot,qt),xt>=360?1:Ft<=0&&Bt<=0?0:Math.max(Ft,Bt),ht]}(pe),ae=Ce[2]-Ce[0],fe=Ce[3]-Ce[1],be=me/de,ke=Math.abs(fe/ae);be>ke?(xe=de,Se=(me-(Pe=de*ke))/ie.h/2,_e=[ce[0],ce[1]],Me=[ye[0]+Se,ye[1]-Se]):(Pe=me,Se=(de-(xe=me/ke))/ie.w/2,_e=[ce[0]+Se,ce[1]-Se],Me=[ye[0],ye[1]]),Q.xLength2=xe,Q.yLength2=Pe,Q.xDomain2=_e,Q.yDomain2=Me;var Le,Be=Q.xOffset2=ie.l+ie.w*_e[0],ze=Q.yOffset2=ie.t+ie.h*(1-Me[1]),je=Q.radius=xe/ae,ge=Q.innerRadius=Q.getHole(X)*je,we=Q.cx=Be-je*Ce[0],Ee=Q.cy=ze+je*Ce[3],Ve=Q.cxx=we-Be,$e=Q.cyy=Ee-ze,Ye=oe.side;Ye==="counterclockwise"?(Le=Ye,Ye="top"):Ye==="clockwise"&&(Le=Ye,Ye="bottom"),Q.radialAxis=Q.mockAxis(Z,X,oe,{_id:"x",side:Ye,_trueSide:Le,domain:[ge/ie.w,je/ie.w]}),Q.angularAxis=Q.mockAxis(Z,X,ue,{side:"right",domain:[0,Math.PI],autorange:!1}),Q.doAutoRange(Z,X),Q.updateAngularAxis(Z,X),Q.updateRadialAxis(Z,X),Q.updateRadialAxisTitle(Z,X),Q.xaxis=Q.mockCartesianAxis(Z,X,{_id:"x",domain:_e}),Q.yaxis=Q.mockCartesianAxis(Z,X,{_id:"y",domain:Me});var st=Q.pathSubplot();Q.clipPaths.forTraces.select("path").attr("d",st).attr("transform",f(Ve,$e)),re.frontplot.attr("transform",f(Be,ze)).call(a.setClipUrl,Q._hasClipOnAxisFalse?null:Q.clipIds.forTraces,Q.gd),re.bg.attr("d",st).attr("transform",f(we,Ee)).call(l.fill,X.bgcolor)},q.mockAxis=function(Z,X,Q,re){var ie=M.extendFlat({},Q,re);return h(ie,X,Z),ie},q.mockCartesianAxis=function(Z,X,Q){var re=this,ie=re.isSmith,oe=Q._id,ue=M.extendFlat({type:"linear"},Q);s(ue,Z);var ce={x:[0,2],y:[1,3]};return ue.setRange=function(){var ye=re.sectorBBox,de=ce[oe],me=re.radialAxis._rl,pe=(me[1]-me[0])/(1-re.getHole(X));ue.range=[ye[de[0]]*pe,ye[de[1]]*pe]},ue.isPtWithinRange=oe!=="x"||ie?function(){return!0}:function(ye){return re.isPtInside(ye)},ue.setRange(),ue.setScale(),ue},q.doAutoRange=function(Z,X){var Q=this,re=Q.gd,ie=Q.radialAxis,oe=Q.getRadial(X);c(re,ie);var ue=ie.range;oe.range=ue.slice(),oe._input.range=ue.slice(),ie._rl=[ie.r2l(ue[0],null,"gregorian"),ie.r2l(ue[1],null,"gregorian")]},q.updateRadialAxis=function(Z,X){var Q=this,re=Q.gd,ie=Q.layers,oe=Q.radius,ue=Q.innerRadius,ce=Q.cx,ye=Q.cy,de=Q.getRadial(X),me=j(Q.getSector(X)[0],360),pe=Q.radialAxis,xe=ue90&&me<=270&&(pe.tickangle=180);var _e=Pe?function(ze){var je=N(Q,z([ze.x,0]));return f(je[0]-ce,je[1]-ye)}:function(ze){return f(pe.l2p(ze.x)+ue,0)},Me=Pe?function(ze){return B(Q,ze.x,-1/0,1/0)}:function(ze){return Q.pathArc(pe.r2p(ze.x)+ue)},Se=H(de);if(Q.radialTickLayout!==Se&&(ie["radial-axis"].selectAll(".xtick").remove(),Q.radialTickLayout=Se),xe){pe.setScale();var Ce=0,ae=Pe?(pe.tickvals||[]).filter(function(ze){return ze>=0}).map(function(ze){return o.tickText(pe,ze,!0,!1)}):o.calcTicks(pe),fe=Pe?ae:o.clipEnds(pe,ae),be=o.getTickSigns(pe)[2];Pe&&((pe.ticks==="top"&&pe.side==="bottom"||pe.ticks==="bottom"&&pe.side==="top")&&(be=-be),pe.ticks==="top"&&pe.side==="top"&&(Ce=-pe.ticklen),pe.ticks==="bottom"&&pe.side==="bottom"&&(Ce=pe.ticklen)),o.drawTicks(re,pe,{vals:ae,layer:ie["radial-axis"],path:o.makeTickPath(pe,0,be),transFn:_e,crisp:!1}),o.drawGrid(re,pe,{vals:fe,layer:ie["radial-grid"],path:Me,transFn:M.noop,crisp:!1}),o.drawLabels(re,pe,{vals:ae,layer:ie["radial-axis"],transFn:_e,labelFns:o.makeLabelFns(pe,Ce)})}var ke=Q.radialAxisAngle=Q.vangles?U(ne($(de.angle),Q.vangles)):de.angle,Le=f(ce,ye),Be=Le+v(-ke);te(ie["radial-axis"],xe&&(de.showticklabels||de.ticks),{transform:Be}),te(ie["radial-grid"],xe&&de.showgrid,{transform:Pe?"":Le}),te(ie["radial-line"].select("line"),xe&&de.showline,{x1:Pe?-oe:ue,y1:0,x2:oe,y2:0,transform:Be}).attr("stroke-width",de.linewidth).call(l.stroke,de.linecolor)},q.updateRadialAxisTitle=function(Z,X,Q){if(!this.isSmith){var re=this,ie=re.gd,oe=re.radius,ue=re.cx,ce=re.cy,ye=re.getRadial(X),de=re.id+"title",me=0;if(ye.title){var pe=a.bBox(re.layers["radial-axis"].node()).height,xe=ye.title.font.size,Pe=ye.side;me=Pe==="top"?xe:Pe==="counterclockwise"?-(pe+.4*xe):pe+.8*xe}var _e=Q!==void 0?Q:re.radialAxisAngle,Me=$(_e),Se=Math.cos(Me),Ce=Math.sin(Me),ae=ue+oe/2*Se+me*Ce,fe=ce-oe/2*Ce+me*Se;re.layers["radial-axis-title"]=C.draw(ie,de,{propContainer:ye,propName:re.id+".radialaxis.title",placeholder:W(ie,"Click to enter radial axis title"),attributes:{x:ae,y:fe,"text-anchor":"middle"},transform:{rotate:-_e}})}},q.updateAngularAxis=function(Z,X){var Q=this,re=Q.gd,ie=Q.layers,oe=Q.radius,ue=Q.innerRadius,ce=Q.cx,ye=Q.cy,de=Q.getAngular(X),me=Q.angularAxis,pe=Q.isSmith;pe||(Q.fillViewInitialKey("angularaxis.rotation",de.rotation),me.setGeometry(),me.setScale());var xe=pe?function(ze){var je=N(Q,z([0,ze.x]));return Math.atan2(je[0]-ce,je[1]-ye)-Math.PI/2}:function(ze){return me.t2g(ze.x)};me.type==="linear"&&me.thetaunit==="radians"&&(me.tick0=U(me.tick0),me.dtick=U(me.dtick));var Pe=function(ze){return f(ce+oe*Math.cos(ze),ye-oe*Math.sin(ze))},_e=pe?function(ze){var je=N(Q,z([0,ze.x]));return f(je[0],je[1])}:function(ze){return Pe(xe(ze))},Me=pe?function(ze){var je=N(Q,z([0,ze.x])),ge=Math.atan2(je[0]-ce,je[1]-ye)-Math.PI/2;return f(je[0],je[1])+v(-U(ge))}:function(ze){var je=xe(ze);return Pe(je)+v(-U(je))},Se=pe?function(ze){return F(Q,ze.x,0,1/0)}:function(ze){var je=xe(ze),ge=Math.cos(je),we=Math.sin(je);return"M"+[ce+ue*ge,ye-ue*we]+"L"+[ce+oe*ge,ye-oe*we]},Ce=o.makeLabelFns(me,0).labelStandoff,ae={xFn:function(ze){var je=xe(ze);return Math.cos(je)*Ce},yFn:function(ze){var je=xe(ze),ge=Math.sin(je)>0?.2:1;return-Math.sin(je)*(Ce+ze.fontSize*ge)+Math.abs(Math.cos(je))*(ze.fontSize*b)},anchorFn:function(ze){var je=xe(ze),ge=Math.cos(je);return Math.abs(ge)<.1?"middle":ge>0?"start":"end"},heightFn:function(ze,je,ge){var we=xe(ze);return-.5*(1+Math.sin(we))*ge}},fe=H(de);Q.angularTickLayout!==fe&&(ie["angular-axis"].selectAll("."+me._id+"tick").remove(),Q.angularTickLayout=fe);var be,ke=pe?[1/0].concat(me.tickvals||[]).map(function(ze){return o.tickText(me,ze,!0,!1)}):o.calcTicks(me);if(pe&&(ke[0].text="∞",ke[0].fontSize*=1.75),X.gridshape==="linear"?(be=ke.map(xe),M.angleDelta(be[0],be[1])<0&&(be=be.slice().reverse())):be=null,Q.vangles=be,me.type==="category"&&(ke=ke.filter(function(ze){return M.isAngleInsideSector(xe(ze),Q.sectorInRad)})),me.visible){var Le=me.ticks==="inside"?-1:1,Be=(me.linewidth||1)/2;o.drawTicks(re,me,{vals:ke,layer:ie["angular-axis"],path:"M"+Le*Be+",0h"+Le*me.ticklen,transFn:Me,crisp:!1}),o.drawGrid(re,me,{vals:ke,layer:ie["angular-grid"],path:Se,transFn:M.noop,crisp:!1}),o.drawLabels(re,me,{vals:ke,layer:ie["angular-axis"],repositionOnUpdate:!0,transFn:_e,labelFns:ae})}te(ie["angular-line"].select("path"),de.showline,{d:Q.pathSubplot(),transform:f(ce,ye)}).attr("stroke-width",de.linewidth).call(l.stroke,de.linecolor)},q.updateFx=function(Z,X){this.gd._context.staticPlot||(!this.isSmith&&(this.updateAngularDrag(Z),this.updateRadialDrag(Z,X,0),this.updateRadialDrag(Z,X,1)),this.updateHoverAndMainDrag(Z))},q.updateHoverAndMainDrag=function(Z){var X,Q,re=this,ie=re.isSmith,oe=re.gd,ue=re.layers,ce=Z._zoomlayer,ye=R.MINZOOM,de=R.OFFEDGE,me=re.radius,pe=re.innerRadius,xe=re.cx,Pe=re.cy,_e=re.cxx,Me=re.cyy,Se=re.sectorInRad,Ce=re.vangles,ae=re.radialAxis,fe=I.clampTiny,be=I.findXYatLength,ke=I.findEnclosingVertexAngles,Le=R.cornerHalfWidth,Be=R.cornerLen/2,ze=m.makeDragger(ue,"path","maindrag",Z.dragmode===!1?"none":"crosshair");d.select(ze).attr("d",re.pathSubplot()).attr("transform",f(xe,Pe)),ze.onmousemove=function(Re){y.hover(oe,Re,re.id),oe._fullLayout._lasthover=ze,oe._fullLayout._hoversubplot=re.id},ze.onmouseout=function(Re){oe._dragging||w.unhover(oe,Re)};var je,ge,we,Ee,Ve,$e,Ye,st,ot,ht={element:ze,gd:oe,subplot:re.id,plotinfo:{id:re.id,xaxis:re.xaxis,yaxis:re.yaxis},xaxes:[re.xaxis],yaxes:[re.yaxis]};function bt(Re,Ne){return Math.sqrt(Re*Re+Ne*Ne)}function Et(Re,Ne){return bt(Re-_e,Ne-Me)}function kt(Re,Ne){return Math.atan2(Me-Ne,Re-_e)}function xt(Re,Ne){return[Re*Math.cos(Ne),Re*Math.sin(-Ne)]}function Ft(Re,Ne){if(Re===0)return re.pathSector(2*Le);var Qe=Be/Re,ut=Ne-Qe,dt=Ne+Qe,_t=Math.max(0,Math.min(Re,me)),It=_t-Le,Lt=_t+Le;return"M"+xt(It,ut)+"A"+[It,It]+" 0,0,0 "+xt(It,dt)+"L"+xt(Lt,dt)+"A"+[Lt,Lt]+" 0,0,1 "+xt(Lt,ut)+"Z"}function Ot(Re,Ne,Qe){if(Re===0)return re.pathSector(2*Le);var ut,dt,_t=xt(Re,Ne),It=xt(Re,Qe),Lt=fe((_t[0]+It[0])/2),yt=fe((_t[1]+It[1])/2);if(Lt&&yt){var Pt=yt/Lt,wt=-1/Pt,Rt=be(Le,Pt,Lt,yt);ut=be(Be,wt,Rt[0][0],Rt[0][1]),dt=be(Be,wt,Rt[1][0],Rt[1][1])}else{var Nt,Yt;yt?(Nt=Be,Yt=Le):(Nt=Le,Yt=Be),ut=[[Lt-Nt,yt-Yt],[Lt+Nt,yt-Yt]],dt=[[Lt-Nt,yt+Yt],[Lt+Nt,yt+Yt]]}return"M"+ut.join("L")+"L"+dt.reverse().join("L")+"Z"}function Bt(Re,Ne){return Ne=Math.max(Math.min(Ne,me),pe),Reye?(Re-1&&Re===1&&k(Ne,oe,[re.xaxis],[re.yaxis],re.id,ht),Qe.indexOf("event")>-1&&y.click(oe,Ne,re.id)}ht.prepFn=function(Re,Ne,Qe){var ut=oe._fullLayout.dragmode,dt=ze.getBoundingClientRect();oe._fullLayout._calcInverseTransform(oe);var _t=oe._fullLayout._invTransform;X=oe._fullLayout._invScaleX,Q=oe._fullLayout._invScaleY;var It=M.apply3DTransform(_t)(Ne-dt.left,Qe-dt.top);if(je=It[0],ge=It[1],Ce){var Lt=I.findPolygonOffset(me,Se[0],Se[1],Ce);je+=_e+Lt[0],ge+=Me+Lt[1]}switch(ut){case"zoom":ht.clickFn=ft,ie||(ht.moveFn=Ce?Je:Vt,ht.doneFn=qe,function(){we=null,Ee=null,Ve=re.pathSubplot(),$e=!1;var yt=oe._fullLayout[re.id];Ye=g(yt.bgcolor).getLuminance(),(st=m.makeZoombox(ce,Ye,xe,Pe,Ve)).attr("fill-rule","evenodd"),ot=m.makeCorners(ce,xe,Pe),E(oe)}());break;case"select":case"lasso":_(Re,Ne,Qe,ht,ut)}},w.init(ht)},q.updateRadialDrag=function(Z,X,Q){var re=this,ie=re.gd,oe=re.layers,ue=re.radius,ce=re.innerRadius,ye=re.cx,de=re.cy,me=re.radialAxis,pe=R.radialDragBoxSize,xe=pe/2;if(me.visible){var Pe,_e,Me,Se=$(re.radialAxisAngle),Ce=me._rl,ae=Ce[0],fe=Ce[1],be=Ce[Q],ke=.75*(Ce[1]-Ce[0])/(1-re.getHole(X))/ue;Q?(Pe=ye+(ue+xe)*Math.cos(Se),_e=de-(ue+xe)*Math.sin(Se),Me="radialdrag"):(Pe=ye+(ce-xe)*Math.cos(Se),_e=de-(ce-xe)*Math.sin(Se),Me="radialdrag-inner");var Le,Be,ze,je=m.makeRectDragger(oe,Me,"crosshair",-xe,-xe,pe,pe),ge={element:je,gd:ie};Z.dragmode===!1&&(ge.dragmode=!1),te(d.select(je),me.visible&&ce0==(Q?ze>ae:zeh?function(C){return C<=0}:function(C){return C>=0};a.c2g=function(C){var _=a.c2l(C)-s;return(y(_)?_:0)+w},a.g2c=function(C){return a.l2c(C+s-w)},a.g2p=function(C){return C*m},a.c2p=function(C){return a.g2p(a.c2g(C))}}})(v,f);break;case"angularaxis":(function(a,u){var o=a.type;if(o==="linear"){var s=a.d2c,h=a.c2d;a.d2c=function(c,m){return function(w,y){return y==="degrees"?i(w):w}(s(c),m)},a.c2d=function(c,m){return h(function(w,y){return y==="degrees"?M(w):w}(c,m))}}a.makeCalcdata=function(c,m){var w,y,C=c[m],_=c._length,k=function(b){return a.d2c(b,c.thetaunit)};if(C){if(d.isTypedArray(C)&&o==="linear"){if(_===C.length)return C;if(C.subarray)return C.subarray(0,_)}for(w=new Array(_),y=0;y<_;y++)w[y]=k(C[y])}else{var E=m+"0",x="d"+m,A=E in c?k(c[E]):0,L=c[x]?k(c[x]):(a.period||2*Math.PI)/_;for(w=new Array(_),y=0;y<_;y++)w[y]=A+y*L}return w},a.setGeometry=function(){var c,m,w,y,C=u.sector,_=C.map(i),k={clockwise:-1,counterclockwise:1}[a.direction],E=i(a.rotation),x=function(R){return k*R+E},A=function(R){return(R-E)/k};switch(o){case"linear":m=c=d.identity,y=i,w=M,a.range=d.isFullCircle(_)?[C[0],C[0]+360]:_.map(A).map(M);break;case"category":var L=a._categories.length,b=a.period?Math.max(a.period,L):L;b===0&&(b=1),m=y=function(R){return 2*R*Math.PI/b},c=w=function(R){return R*b/Math.PI/2},a.range=[0,b]}a.c2g=function(R){return x(m(R))},a.g2c=function(R){return c(A(R))},a.t2g=function(R){return x(y(R))},a.g2t=function(R){return w(A(R))}}})(v,f)}}},39779:function(T){T.exports={attr:"subplot",name:"smith",axisNames:["realaxis","imaginaryaxis"],axisName2dataArray:{imaginaryaxis:"imag",realaxis:"real"}}},23893:function(T){function p(i){return i<0?-1:i>0?1:0}function t(i){var M=i[0],v=i[1];if(!isFinite(M)||!isFinite(v))return[1,0];var f=(M+1)*(M+1)+v*v;return[(M*M+v*v-1)/f,2*v/f]}function d(i,M){var v=M[0],f=M[1];return[v*i.radius+i.cx,-f*i.radius+i.cy]}function g(i,M){return M*i.radius}T.exports={smith:t,reactanceArc:function(i,M,v,f){var l=d(i,t([v,M])),a=l[0],u=l[1],o=d(i,t([f,M])),s=o[0],h=o[1];if(M===0)return["M"+a+","+u,"L"+s+","+h].join(" ");var c=g(i,1/Math.abs(M));return["M"+a+","+u,"A"+c+","+c+" 0 0,"+(M<0?1:0)+" "+s+","+h].join(" ")},resistanceArc:function(i,M,v,f){var l=g(i,1/(M+1)),a=d(i,t([M,v])),u=a[0],o=a[1],s=d(i,t([M,f])),h=s[0],c=s[1];if(p(v)!==p(f)){var m=d(i,t([M,0]));return["M"+u+","+o,"A"+l+","+l+" 0 0,"+(00){for(var f=[],l=0;l=A&&(b.min=0,R.min=0,I.min=0,m.aaxis&&delete m.aaxis.min,m.baxis&&delete m.baxis.min,m.caxis&&delete m.caxis.min)}function c(m,w,y,C){var _=o[w._name];function k(R,I){return i.coerce(m,w,_,R,I)}k("uirevision",C.uirevision),w.type="linear";var E=k("color"),x=E!==_.color.dflt?E:y.font.color,A=w._name.charAt(0).toUpperCase(),L="Component "+A,b=k("title.text",L);w._hovertitle=b===L?b:A,i.coerceFont(k,"title.font",{family:y.font.family,size:i.bigFont(y.font.size),color:x}),k("min"),a(m,w,k,"linear"),f(m,w,k,"linear"),v(m,w,k,"linear"),l(m,w,k,{outerTicks:!0}),k("showticklabels")&&(i.coerceFont(k,"tickfont",{family:y.font.family,size:y.font.size,color:x}),k("tickangle"),k("tickformat")),u(m,w,k,{dfltColor:E,bgColor:y.bgColor,blend:60,showLine:!0,showGrid:!0,noZeroLine:!0,attributes:_}),k("hoverformat"),k("layer")}T.exports=function(m,w,y){M(m,w,y,{type:"ternary",attributes:o,handleDefaults:h,font:w.font,paper_bgcolor:w.paper_bgcolor})}},64380:function(T,p,t){var d=t(39898),g=t(84267),i=t(73972),M=t(71828),v=M.strTranslate,f=M._,l=t(7901),a=t(91424),u=t(21994),o=t(1426).extendFlat,s=t(74875),h=t(89298),c=t(28569),m=t(30211),w=t(64505),y=w.freeMode,C=w.rectMode,_=t(92998),k=t(47322).prepSelect,E=t(47322).selectOnClick,x=t(47322).clearOutline,A=t(47322).clearSelectionsCache,L=t(85555);function b(j,$){this.id=j.id,this.graphDiv=j.graphDiv,this.init($),this.makeFramework($),this.aTickLayout=null,this.bTickLayout=null,this.cTickLayout=null}T.exports=b;var R=b.prototype;R.init=function(j){this.container=j._ternarylayer,this.defs=j._defs,this.layoutId=j._uid,this.traceHash={},this.layers={}},R.plot=function(j,$){var U=this,G=$[U.id],q=$._size;U._hasClipOnAxisFalse=!1;for(var H=0;HI*ce?q=(H=ce)*I:H=(q=ue)/I,ne=ie*q/ue,te=oe*H/ce,U=$.l+$.w*Q-q/2,G=$.t+$.h*(1-re)-H/2,Z.x0=U,Z.y0=G,Z.w=q,Z.h=H,Z.sum=ye,Z.xaxis={type:"linear",range:[de+2*pe-ye,ye-de-2*me],domain:[Q-ne/2,Q+ne/2],_id:"x"},u(Z.xaxis,Z.graphDiv._fullLayout),Z.xaxis.setScale(),Z.xaxis.isPtWithinRange=function(Le){return Le.a>=Z.aaxis.range[0]&&Le.a<=Z.aaxis.range[1]&&Le.b>=Z.baxis.range[1]&&Le.b<=Z.baxis.range[0]&&Le.c>=Z.caxis.range[1]&&Le.c<=Z.caxis.range[0]},Z.yaxis={type:"linear",range:[de,ye-me-pe],domain:[re-te/2,re+te/2],_id:"y"},u(Z.yaxis,Z.graphDiv._fullLayout),Z.yaxis.setScale(),Z.yaxis.isPtWithinRange=function(){return!0};var xe=Z.yaxis.domain[0],Pe=Z.aaxis=o({},j.aaxis,{range:[de,ye-me-pe],side:"left",tickangle:(+j.aaxis.tickangle||0)-30,domain:[xe,xe+te*I],anchor:"free",position:0,_id:"y",_length:q});u(Pe,Z.graphDiv._fullLayout),Pe.setScale();var _e=Z.baxis=o({},j.baxis,{range:[ye-de-pe,me],side:"bottom",domain:Z.xaxis.domain,anchor:"free",position:0,_id:"x",_length:q});u(_e,Z.graphDiv._fullLayout),_e.setScale();var Me=Z.caxis=o({},j.caxis,{range:[ye-de-me,pe],side:"right",tickangle:(+j.caxis.tickangle||0)+30,domain:[xe,xe+te*I],anchor:"free",position:0,_id:"y",_length:q});u(Me,Z.graphDiv._fullLayout),Me.setScale();var Se="M"+U+","+(G+H)+"h"+q+"l-"+q/2+",-"+H+"Z";Z.clipDef.select("path").attr("d",Se),Z.layers.plotbg.select("path").attr("d",Se);var Ce="M0,"+H+"h"+q+"l-"+q/2+",-"+H+"Z";Z.clipDefRelative.select("path").attr("d",Ce);var ae=v(U,G);Z.plotContainer.selectAll(".scatterlayer,.maplayer").attr("transform",ae),Z.clipDefRelative.select("path").attr("transform",null);var fe=v(U-_e._offset,G+H);Z.layers.baxis.attr("transform",fe),Z.layers.bgrid.attr("transform",fe);var be=v(U+q/2,G)+"rotate(30)"+v(0,-Pe._offset);Z.layers.aaxis.attr("transform",be),Z.layers.agrid.attr("transform",be);var ke=v(U+q/2,G)+"rotate(-30)"+v(0,-Me._offset);Z.layers.caxis.attr("transform",ke),Z.layers.cgrid.attr("transform",ke),Z.drawAxes(!0),Z.layers.aline.select("path").attr("d",Pe.showline?"M"+U+","+(G+H)+"l"+q/2+",-"+H:"M0,0").call(l.stroke,Pe.linecolor||"#000").style("stroke-width",(Pe.linewidth||0)+"px"),Z.layers.bline.select("path").attr("d",_e.showline?"M"+U+","+(G+H)+"h"+q:"M0,0").call(l.stroke,_e.linecolor||"#000").style("stroke-width",(_e.linewidth||0)+"px"),Z.layers.cline.select("path").attr("d",Me.showline?"M"+(U+q/2)+","+G+"l"+q/2+","+H:"M0,0").call(l.stroke,Me.linecolor||"#000").style("stroke-width",(Me.linewidth||0)+"px"),Z.graphDiv._context.staticPlot||Z.initInteractions(),a.setClipUrl(Z.layers.frontplot,Z._hasClipOnAxisFalse?null:Z.clipId,Z.graphDiv)},R.drawAxes=function(j){var $=this,U=$.graphDiv,G=$.id.substr(7)+"title",q=$.layers,H=$.aaxis,ne=$.baxis,te=$.caxis;if($.drawAx(H),$.drawAx(ne),$.drawAx(te),j){var Z=Math.max(H.showticklabels?H.tickfont.size/2:0,(te.showticklabels?.75*te.tickfont.size:0)+(te.ticks==="outside"?.87*te.ticklen:0)),X=(ne.showticklabels?ne.tickfont.size:0)+(ne.ticks==="outside"?ne.ticklen:0)+3;q["a-title"]=_.draw(U,"a"+G,{propContainer:H,propName:$.id+".aaxis.title",placeholder:f(U,"Click to enter Component A title"),attributes:{x:$.x0+$.w/2,y:$.y0-H.title.font.size/3-Z,"text-anchor":"middle"}}),q["b-title"]=_.draw(U,"b"+G,{propContainer:ne,propName:$.id+".baxis.title",placeholder:f(U,"Click to enter Component B title"),attributes:{x:$.x0-X,y:$.y0+$.h+.83*ne.title.font.size+X,"text-anchor":"middle"}}),q["c-title"]=_.draw(U,"c"+G,{propContainer:te,propName:$.id+".caxis.title",placeholder:f(U,"Click to enter Component C title"),attributes:{x:$.x0+$.w+X,y:$.y0+$.h+.83*te.title.font.size+X,"text-anchor":"middle"}})}},R.drawAx=function(j){var $,U=this,G=U.graphDiv,q=j._name,H=q.charAt(0),ne=j._id,te=U.layers[q],Z=H+"tickLayout",X=($=j).ticks+String($.ticklen)+String($.showticklabels);U[Z]!==X&&(te.selectAll("."+ne+"tick").remove(),U[Z]=X),j.setScale();var Q=h.calcTicks(j),re=h.clipEnds(j,Q),ie=h.makeTransTickFn(j),oe=h.getTickSigns(j)[2],ue=M.deg2rad(30),ce=oe*(j.linewidth||1)/2,ye=oe*j.ticklen,de=U.w,me=U.h,pe=H==="b"?"M0,"+ce+"l"+Math.sin(ue)*ye+","+Math.cos(ue)*ye:"M"+ce+",0l"+Math.cos(ue)*ye+","+-Math.sin(ue)*ye,xe={a:"M0,0l"+me+",-"+de/2,b:"M0,0l-"+de/2+",-"+me,c:"M0,0l-"+me+","+de/2}[H];h.drawTicks(G,j,{vals:j.ticks==="inside"?re:Q,layer:te,path:pe,transFn:ie,crisp:!1}),h.drawGrid(G,j,{vals:re,layer:U.layers[H+"grid"],path:xe,transFn:ie,crisp:!1}),h.drawLabels(G,j,{vals:Q,layer:te,transFn:ie,labelFns:h.makeLabelFns(j,0,30)})};var O=L.MINZOOM/2+.87,z="m-0.87,.5h"+O+"v3h-"+(O+5.2)+"l"+(O/2+2.6)+",-"+(.87*O+4.5)+"l2.6,1.5l-"+O/2+","+.87*O+"Z",F="m0.87,.5h-"+O+"v3h"+(O+5.2)+"l-"+(O/2+2.6)+",-"+(.87*O+4.5)+"l-2.6,1.5l"+O/2+","+.87*O+"Z",B="m0,1l"+O/2+","+.87*O+"l2.6,-1.5l-"+(O/2+2.6)+",-"+(.87*O+4.5)+"l-"+(O/2+2.6)+","+(.87*O+4.5)+"l2.6,1.5l"+O/2+",-"+.87*O+"Z",N=!0;function W(j){d.select(j).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}R.clearOutline=function(){A(this.dragOptions),x(this.dragOptions.gd)},R.initInteractions=function(){var j,$,U,G,q,H,ne,te,Z,X,Q,re,ie=this,oe=ie.layers.plotbg.select("path").node(),ue=ie.graphDiv,ce=ue._fullLayout._zoomlayer;function ye(Ce){var ae={};return ae[ie.id+".aaxis.min"]=Ce.a,ae[ie.id+".baxis.min"]=Ce.b,ae[ie.id+".caxis.min"]=Ce.c,ae}function de(Ce,ae){var fe=ue._fullLayout.clickmode;W(ue),Ce===2&&(ue.emit("plotly_doubleclick",null),i.call("_guiRelayout",ue,ye({a:0,b:0,c:0}))),fe.indexOf("select")>-1&&Ce===1&&E(ae,ue,[ie.xaxis],[ie.yaxis],ie.id,ie.dragOptions),fe.indexOf("event")>-1&&m.click(ue,ae,ie.id)}function me(Ce,ae){return 1-ae/ie.h}function pe(Ce,ae){return 1-(Ce+(ie.h-ae)/Math.sqrt(3))/ie.w}function xe(Ce,ae){return(Ce-(ie.h-ae)/Math.sqrt(3))/ie.w}function Pe(Ce,ae){var fe=U+Ce*j,be=G+ae*$,ke=Math.max(0,Math.min(1,me(0,G),me(0,be))),Le=Math.max(0,Math.min(1,pe(U,G),pe(fe,be))),Be=Math.max(0,Math.min(1,xe(U,G),xe(fe,be))),ze=(ke/2+Be)*ie.w,je=(1-ke/2-Le)*ie.w,ge=(ze+je)/2,we=je-ze,Ee=(1-ke)*ie.h,Ve=Ee-we/I;we.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),re.transition().style("opacity",1).duration(200),X=!0),ue.emit("plotly_relayouting",ye(ne))}function _e(){W(ue),ne!==q&&(i.call("_guiRelayout",ue,ye(ne)),N&&ue.data&&ue._context.showTips&&(M.notifier(f(ue,"Double-click to zoom back out"),"long"),N=!1))}function Me(Ce,ae){var fe=Ce/ie.xaxis._m,be=ae/ie.yaxis._m,ke=[(ne={a:q.a-be,b:q.b+(fe+be)/2,c:q.c-(fe-be)/2}).a,ne.b,ne.c].sort(M.sorterAsc),Le=ke.indexOf(ne.a),Be=ke.indexOf(ne.b),ze=ke.indexOf(ne.c);ke[0]<0&&(ke[1]+ke[0]/2<0?(ke[2]+=ke[0]+ke[1],ke[0]=ke[1]=0):(ke[2]+=ke[0]/2,ke[1]+=ke[0]/2,ke[0]=0),ne={a:ke[Le],b:ke[Be],c:ke[ze]},ae=(q.a-ne.a)*ie.yaxis._m,Ce=(q.c-ne.c-q.b+ne.b)*ie.xaxis._m);var je=v(ie.x0+Ce,ie.y0+ae);ie.plotContainer.selectAll(".scatterlayer,.maplayer").attr("transform",je);var ge=v(-Ce,-ae);ie.clipDefRelative.select("path").attr("transform",ge),ie.aaxis.range=[ne.a,ie.sum-ne.b-ne.c],ie.baxis.range=[ie.sum-ne.a-ne.c,ne.b],ie.caxis.range=[ie.sum-ne.a-ne.b,ne.c],ie.drawAxes(!1),ie._hasClipOnAxisFalse&&ie.plotContainer.select(".scatterlayer").selectAll(".trace").call(a.hideOutsideRangePoints,ie),ue.emit("plotly_relayouting",ye(ne))}function Se(){i.call("_guiRelayout",ue,ye(ne))}this.dragOptions={element:oe,gd:ue,plotinfo:{id:ie.id,domain:ue._fullLayout[ie.id].domain,xaxis:ie.xaxis,yaxis:ie.yaxis},subplot:ie.id,prepFn:function(Ce,ae,fe){ie.dragOptions.xaxes=[ie.xaxis],ie.dragOptions.yaxes=[ie.yaxis],j=ue._fullLayout._invScaleX,$=ue._fullLayout._invScaleY;var be=ie.dragOptions.dragmode=ue._fullLayout.dragmode;y(be)?ie.dragOptions.minDrag=1:ie.dragOptions.minDrag=void 0,be==="zoom"?(ie.dragOptions.moveFn=Pe,ie.dragOptions.clickFn=de,ie.dragOptions.doneFn=_e,function(ke,Le,Be){var ze=oe.getBoundingClientRect();U=Le-ze.left,G=Be-ze.top,ue._fullLayout._calcInverseTransform(ue);var je=ue._fullLayout._invTransform,ge=M.apply3DTransform(je)(U,G);U=ge[0],G=ge[1],q={a:ie.aaxis.range[0],b:ie.baxis.range[1],c:ie.caxis.range[1]},ne=q,H=ie.aaxis.range[1]-q.a,te=g(ie.graphDiv._fullLayout[ie.id].bgcolor).getLuminance(),Z="M0,"+ie.h+"L"+ie.w/2+", 0L"+ie.w+","+ie.h+"Z",X=!1,Q=ce.append("path").attr("class","zoombox").attr("transform",v(ie.x0,ie.y0)).style({fill:te>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("d",Z),re=ce.append("path").attr("class","zoombox-corners").attr("transform",v(ie.x0,ie.y0)).style({fill:l.background,stroke:l.defaultLine,"stroke-width":1,opacity:0}).attr("d","M0,0Z"),ie.clearOutline(ue)}(0,ae,fe)):be==="pan"?(ie.dragOptions.moveFn=Me,ie.dragOptions.clickFn=de,ie.dragOptions.doneFn=Se,q={a:ie.aaxis.range[0],b:ie.baxis.range[1],c:ie.caxis.range[1]},ne=q,ie.clearOutline(ue)):(C(be)||y(be))&&k(Ce,ae,fe,ie.dragOptions,be)}},oe.onmousemove=function(Ce){m.hover(ue,Ce,ie.id),ue._fullLayout._lasthover=oe,ue._fullLayout._hoversubplot=ie.id},oe.onmouseout=function(Ce){ue._dragging||c.unhover(ue,Ce)},c.init(this.dragOptions)}},73972:function(T,p,t){var d=t(47769),g=t(64213),i=t(75138),M=t(41965),v=t(24401).addStyleRule,f=t(1426),l=t(9012),a=t(10820),u=f.extendFlat,o=f.extendDeepAll;function s(E){var x=E.name,A=E.categories,L=E.meta;if(p.modules[x])d.log("Type "+x+" already registered");else{p.subplotsRegistry[E.basePlotModule.name]||function(N){var W=N.name;if(p.subplotsRegistry[W])d.log("Plot type "+W+" already registered.");else for(var j in w(N),p.subplotsRegistry[W]=N,p.componentsRegistry)_(j,N.name)}(E.basePlotModule);for(var b={},R=0;R-1&&(c[w[a]].title={text:""});for(a=0;a")!==-1?"":R.html(O).text()});return R.remove(),I}(L)).replace(/&(?!\w+;|\#[0-9]+;| \#x[0-9A-F]+;)/g,"&")).replace(a,"'"),g.isIE()&&(L=(L=(L=L.replace(/"/gi,"'")).replace(/(\('#)([^']*)('\))/gi,'("#$2")')).replace(/(\\')/gi,'"')),L}},75341:function(T,p,t){var d=t(71828);T.exports=function(g,i){for(var M=0;MI+b||!d(R))}for(var z=0;za))return v}return f!==void 0?f:M.dflt},p.coerceColor=function(M,v,f){return g(v).isValid()?v:f!==void 0?f:M.dflt},p.coerceEnumerated=function(M,v,f){return M.coerceNumber&&(v=+v),M.values.indexOf(v)!==-1?v:f!==void 0?f:M.dflt},p.getValue=function(M,v){var f;return Array.isArray(M)?v0?ye+=de:y<0&&(ye-=de)}return ye}function te(ce){var ye=y,de=ce.b,me=ne(ce);return d.inbox(de-ye,me-ye,O+(me-ye)/(me-de)-1)}var Z=o[C+"a"],X=o[_+"a"];x=Math.abs(Z.r2c(Z.range[1])-Z.r2c(Z.range[0]));var Q=d.getDistanceFunction(c,k,E,function(ce){return(k(ce)+E(ce))/2});if(d.getClosest(A,Q,o),o.index!==!1&&A[o.index].p!==l){B||(U=function(ce){return Math.min(N(ce),ce.p-b.bargroupwidth/2)},G=function(ce){return Math.max(W(ce),ce.p+b.bargroupwidth/2)});var re=A[o.index],ie=L.base?re.b+re.s:re.s;o[_+"0"]=o[_+"1"]=X.c2p(re[_],!0),o[_+"LabelVal"]=ie;var oe=b.extents[b.extents.round(re.p)];o[C+"0"]=Z.c2p(R?U(re):oe[0],!0),o[C+"1"]=Z.c2p(R?G(re):oe[1],!0);var ue=re.orig_p!==void 0;return o[C+"LabelVal"]=ue?re.orig_p:re.p,o.labelLabel=f(Z,o[C+"LabelVal"],L[C+"hoverformat"]),o.valueLabel=f(X,o[_+"LabelVal"],L[_+"hoverformat"]),o.baseLabel=f(X,re.b,L[_+"hoverformat"]),o.spikeDistance=(function(ce){var ye=y,de=ce.b,me=ne(ce);return d.inbox(de-ye,me-ye,z+(me-ye)/(me-de)-1)}(re)+function(ce){return q(N(ce),W(ce),z)}(re))/2,o[C+"Spike"]=Z.c2p(re.p,!0),M(re,L,o),o.hovertemplate=L.hovertemplate,o}}function u(o,s){var h=s.mcc||o.marker.color,c=s.mlcc||o.marker.line.color,m=v(o,s);return i.opacity(h)?h:i.opacity(c)&&m?c:void 0}T.exports={hoverPoints:function(o,s,h,c,m){var w=a(o,s,h,c,m);if(w){var y=w.cd,C=y[0].trace,_=y[w.index];return w.color=u(C,_),g.getComponentMethod("errorbars","hoverInfo")(_,C,w),[w]}},hoverOnBars:a,getTraceColor:u}},60822:function(T,p,t){T.exports={attributes:t(1486),layoutAttributes:t(43641),supplyDefaults:t(90769).supplyDefaults,crossTraceDefaults:t(90769).crossTraceDefaults,supplyLayoutDefaults:t(13957),calc:t(92290),crossTraceCalc:t(11661).crossTraceCalc,colorbar:t(4898),arraysToCalcdata:t(75341),plot:t(17295).plot,style:t(16688).style,styleOnSelect:t(16688).styleOnSelect,hoverPoints:t(95423).hoverPoints,eventData:t(58065),selectPoints:t(81974),moduleType:"trace",name:"bar",basePlotModule:t(93612),categories:["bar-like","cartesian","svg","bar","oriented","errorBarsOK","showLegend","zoomScale"],animatable:!0,meta:{}}},43641:function(T){T.exports={barmode:{valType:"enumerated",values:["stack","group","overlay","relative"],dflt:"group",editType:"calc"},barnorm:{valType:"enumerated",values:["","fraction","percent"],dflt:"",editType:"calc"},bargap:{valType:"number",min:0,max:1,editType:"calc"},bargroupgap:{valType:"number",min:0,max:1,dflt:0,editType:"calc"}}},13957:function(T,p,t){var d=t(73972),g=t(89298),i=t(71828),M=t(43641);T.exports=function(v,f,l){function a(C,_){return i.coerce(v,f,M,C,_)}for(var u=!1,o=!1,s=!1,h={},c=a("barmode"),m=0;m0}function R(z){return z==="auto"?0:z}function I(z,F){var B=Math.PI/180*F,N=Math.abs(Math.sin(B)),W=Math.abs(Math.cos(B));return{x:z.width*W+z.height*N,y:z.width*N+z.height*W}}function O(z,F,B,N,W,j){var $=!!j.isHorizontal,U=!!j.constrained,G=j.angle||0,q=j.anchor||"end",H=q==="end",ne=q==="start",te=((j.leftToRight||0)+1)/2,Z=1-te,X=W.width,Q=W.height,re=Math.abs(F-z),ie=Math.abs(N-B),oe=re>2*k&&ie>2*k?k:0;re-=2*oe,ie-=2*oe;var ue=R(G);G!=="auto"||X<=re&&Q<=ie||!(X>re||Q>ie)||(X>ie||Q>re)&&X.01?Be:function(we,Ee,Ve){return Ve&&we===Ee?we:Math.abs(we-Ee)>=2?Be(we):we>Ee?Math.ceil(we):Math.floor(we)};Ce=ze(Ce,ae,oe),ae=ze(ae,Ce,oe),fe=ze(fe,be,!oe),be=ze(be,fe,!oe)}var je=L(i.ensureSingle(Me,"path"),G,W,j);if(je.style("vector-effect",q?"none":"non-scaling-stroke").attr("d",isNaN((ae-Ce)*(be-fe))||ke&&z._context.staticPlot?"M0,0Z":"M"+Ce+","+fe+"V"+be+"H"+ae+"V"+fe+"Z").call(f.setClipUrl,F.layerClipId,z),!G.uniformtext.mode&&ue){var ge=f.makePointStyleFns(Z);f.singlePointStyle(pe,je,Z,ge,z)}(function(we,Ee,Ve,$e,Ye,st,ot,ht,bt,Et,kt){var xt,Ft=Ee.xaxis,Ot=Ee.yaxis,Bt=we._fullLayout;function qt(Qt,rn,xn){return i.ensureSingle(Qt,"text").text(rn).attr({class:"bartext bartext-"+xt,"text-anchor":"middle","data-notex":1}).call(f.font,xn).call(M.convertToTspans,we)}var Vt=$e[0].trace,Ke=Vt.orientation==="h",Je=function(Qt,rn,xn,un,An){var Yn,kn=rn[0].trace;return Yn=kn.texttemplate?function(sn,Tn,dn,pn,Dn){var In=Tn[0].trace,jn=i.castOption(In,dn,"texttemplate");if(!jn)return"";var Gn,qn,lr,rr,Sr=In.type==="histogram",yr=In.type==="waterfall",or=In.type==="funnel",vr=In.orientation==="h";function _r($n){return a(rr,rr.c2l($n),!0).text}vr?(Gn="y",qn=Dn,lr="x",rr=pn):(Gn="x",qn=pn,lr="y",rr=Dn);var Kt,bn=Tn[dn],Rn={};Rn.label=bn.p,Rn.labelLabel=Rn[Gn+"Label"]=(Kt=bn.p,a(qn,qn.c2l(Kt),!0).text);var Ln=i.castOption(In,bn.i,"text");(Ln===0||Ln)&&(Rn.text=Ln),Rn.value=bn.s,Rn.valueLabel=Rn[lr+"Label"]=_r(bn.s);var Un={};_(Un,In,bn.i),(Sr||Un.x===void 0)&&(Un.x=vr?Rn.value:Rn.label),(Sr||Un.y===void 0)&&(Un.y=vr?Rn.label:Rn.value),(Sr||Un.xLabel===void 0)&&(Un.xLabel=vr?Rn.valueLabel:Rn.labelLabel),(Sr||Un.yLabel===void 0)&&(Un.yLabel=vr?Rn.labelLabel:Rn.valueLabel),yr&&(Rn.delta=+bn.rawS||bn.s,Rn.deltaLabel=_r(Rn.delta),Rn.final=bn.v,Rn.finalLabel=_r(Rn.final),Rn.initial=Rn.final-Rn.delta,Rn.initialLabel=_r(Rn.initial)),or&&(Rn.value=bn.s,Rn.valueLabel=_r(Rn.value),Rn.percentInitial=bn.begR,Rn.percentInitialLabel=i.formatPercent(bn.begR),Rn.percentPrevious=bn.difR,Rn.percentPreviousLabel=i.formatPercent(bn.difR),Rn.percentTotal=bn.sumR,Rn.percenTotalLabel=i.formatPercent(bn.sumR));var Kn=i.castOption(In,bn.i,"customdata");return Kn&&(Rn.customdata=Kn),i.texttemplateString(jn,Rn,sn._d3locale,Un,Rn,In._meta||{})}(Qt,rn,xn,un,An):kn.textinfo?function(sn,Tn,dn,pn){var Dn=sn[0].trace,In=Dn.orientation==="h",jn=Dn.type==="waterfall",Gn=Dn.type==="funnel";function qn(Kn){return a(In?dn:pn,+Kn,!0).text}var lr,rr,Sr=Dn.textinfo,yr=sn[Tn],or=Sr.split("+"),vr=[],_r=function(Kn){return or.indexOf(Kn)!==-1};if(_r("label")&&vr.push((rr=sn[Tn].p,a(In?pn:dn,rr,!0).text)),_r("text")&&((lr=i.castOption(Dn,yr.i,"text"))===0||lr)&&vr.push(lr),jn){var Kt=+yr.rawS||yr.s,bn=yr.v,Rn=bn-Kt;_r("initial")&&vr.push(qn(Rn)),_r("delta")&&vr.push(qn(Kt)),_r("final")&&vr.push(qn(bn))}if(Gn){_r("value")&&vr.push(qn(yr.s));var Ln=0;_r("percent initial")&&Ln++,_r("percent previous")&&Ln++,_r("percent total")&&Ln++;var Un=Ln>1;_r("percent initial")&&(lr=i.formatPercent(yr.begR),Un&&(lr+=" of initial"),vr.push(lr)),_r("percent previous")&&(lr=i.formatPercent(yr.difR),Un&&(lr+=" of previous"),vr.push(lr)),_r("percent total")&&(lr=i.formatPercent(yr.sumR),Un&&(lr+=" of total"),vr.push(lr))}return vr.join("
")}(rn,xn,un,An):c.getValue(kn.text,xn),c.coerceString(y,Yn)}(Bt,$e,Ye,Ft,Ot);xt=function(Qt,rn){var xn=c.getValue(Qt.textposition,rn);return c.coerceEnumerated(C,xn)}(Vt,Ye);var qe=Et.mode==="stack"||Et.mode==="relative",nt=$e[Ye],ft=!qe||nt._outmost;if(Je&&xt!=="none"&&(!nt.isBlank&&st!==ot&&ht!==bt||xt!=="auto"&&xt!=="inside")){var Re=Bt.font,Ne=h.getBarColor($e[Ye],Vt),Qe=h.getInsideTextFont(Vt,Ye,Re,Ne),ut=h.getOutsideTextFont(Vt,Ye,Re),dt=Ve.datum();Ke?Ft.type==="log"&&dt.s0<=0&&(st=Ft.range[0]0&&yt>0&&(Lt<=wt&&yt<=Rt||Lt<=Rt&&yt<=wt||(Ke?wt>=Lt*(Rt/yt):Rt>=yt*(wt/Lt)))?xt="inside":(xt="outside",_t.remove(),_t=null)):xt="inside"),!_t){var Nt=(_t=qt(Ve,Je,Pt=i.ensureUniformFontSize(we,xt==="outside"?ut:Qe))).attr("transform");if(_t.attr("transform",""),Lt=(It=f.bBox(_t.node())).width,yt=It.height,_t.attr("transform",Nt),Lt<=0||yt<=0)return void _t.remove()}var Yt,Wt=Vt.textangle;Yt=xt==="outside"?function(Qt,rn,xn,un,An,Yn){var kn,sn=!!Yn.isHorizontal,Tn=!!Yn.constrained,dn=Yn.angle||0,pn=An.width,Dn=An.height,In=Math.abs(rn-Qt),jn=Math.abs(un-xn);kn=sn?jn>2*k?k:0:In>2*k?k:0;var Gn=1;Tn&&(Gn=sn?Math.min(1,jn/Dn):Math.min(1,In/pn));var qn=R(dn),lr=I(An,qn),rr=(sn?lr.x:lr.y)/2,Sr=(An.left+An.right)/2,yr=(An.top+An.bottom)/2,or=(Qt+rn)/2,vr=(xn+un)/2,_r=0,Kt=0,bn=sn?A(rn,Qt):A(xn,un);return sn?(or=rn-bn*kn,_r=bn*rr):(vr=un+bn*kn,Kt=-bn*rr),{textX:Sr,textY:yr,targetX:or,targetY:vr,anchorX:_r,anchorY:Kt,scale:Gn,rotate:qn}}(st,ot,ht,bt,It,{isHorizontal:Ke,constrained:Vt.constraintext==="both"||Vt.constraintext==="outside",angle:Wt}):O(st,ot,ht,bt,It,{isHorizontal:Ke,constrained:Vt.constraintext==="both"||Vt.constraintext==="inside",angle:Wt,anchor:Vt.insidetextanchor}),Yt.fontSize=Pt.size,o(Vt.type==="histogram"?"bar":Vt.type,Yt,Bt),nt.transform=Yt;var Xt=L(_t,Bt,Et,kt);i.setTransormAndDisplay(Xt,Yt)}else Ve.select("text").remove()})(z,F,Me,ne,xe,Ce,ae,fe,be,W,j),F.layerClipId&&f.hideOutsideRangePoint(pe,Me.select("text"),$,U,Z.xcalendar,Z.ycalendar)});var me=Z.cliponaxis===!1;f.setClipUrl(te,me?null:F.layerClipId,z)});l.getComponentMethod("errorbars","plot")(z,H,F,W)},toMoveInsideBar:O}},81974:function(T){function p(t,d,g,i,M){var v=d.c2p(i?t.s0:t.p0,!0),f=d.c2p(i?t.s1:t.p1,!0),l=g.c2p(i?t.p0:t.s0,!0),a=g.c2p(i?t.p1:t.s1,!0);return M?[(v+f)/2,(l+a)/2]:i?[f,(l+a)/2]:[(v+f)/2,a]}T.exports=function(t,d){var g,i=t.cd,M=t.xaxis,v=t.yaxis,f=i[0].trace,l=f.type==="funnel",a=f.orientation==="h",u=[];if(d===!1)for(g=0;g1||L.bargap===0&&L.bargroupgap===0&&!b[0].trace.marker.line.width)&&d.select(this).attr("shape-rendering","crispEdges")}),x.selectAll("g.points").each(function(b){h(d.select(this),b[0].trace,E)}),v.getComponentMethod("errorbars","style")(x)},styleTextPoints:c,styleOnSelect:function(E,x,A){var L=x[0].trace;L.selectedpoints?function(b,R,I){i.selectedPointStyle(b.selectAll("path"),R),function(O,z,F){O.each(function(B){var N,W=d.select(this);if(B.selected){N=M.ensureUniformFontSize(F,m(W,B,z,F));var j=z.selected.textfont&&z.selected.textfont.color;j&&(N.color=j),i.font(W,N)}else i.selectedTextStyle(W,z)})}(b.selectAll("text"),R,I)}(A,L,E):(h(A,L,E),v.getComponentMethod("errorbars","style")(A))},getInsideTextFont:y,getOutsideTextFont:C,getBarColor:k,resizeText:f}},98340:function(T,p,t){var d=t(7901),g=t(52075).hasColorscale,i=t(1586),M=t(71828).coercePattern;T.exports=function(v,f,l,a,u){var o=l("marker.color",a),s=g(v,"marker");s&&i(v,f,u,l,{prefix:"marker.",cLetter:"c"}),l("marker.line.color",d.defaultLine),g(v,"marker.line")&&i(v,f,u,l,{prefix:"marker.line.",cLetter:"c"}),l("marker.line.width"),l("marker.opacity"),M(l,"marker.pattern",o,s),l("selected.marker.color"),l("unselected.marker.color")}},72597:function(T,p,t){var d=t(39898),g=t(71828);function i(M){return"_"+M+"Text_minsize"}T.exports={recordMinTextSize:function(M,v,f){if(f.uniformtext.mode){var l=i(M),a=f.uniformtext.minsize,u=v.scale*v.fontSize;v.hide=uc.range[1]&&(E+=Math.PI),d.getClosest(o,function(L){return y(k,E,[L.rp0,L.rp1],[L.thetag0,L.thetag1],w)?C+Math.min(1,Math.abs(L.thetag1-L.thetag0)/_)-1+(L.rp1-k)/(L.rp1-L.rp0)-1:1/0},l),l.index!==!1){var x=o[l.index];l.x0=l.x1=x.ct[0],l.y0=l.y1=x.ct[1];var A=g.extendFlat({},x,{r:x.s,theta:x.p});return M(x,s,l),v(A,s,h,l),l.hovertemplate=s.hovertemplate,l.color=i(s,x),l.xLabelVal=l.yLabelVal=void 0,x.s<0&&(l.idealAlign="left"),[l]}}},23381:function(T,p,t){T.exports={moduleType:"trace",name:"barpolar",basePlotModule:t(23580),categories:["polar","bar","showLegend"],attributes:t(55023),layoutAttributes:t(40151),supplyDefaults:t(6135),supplyLayoutDefaults:t(19860),calc:t(74692).calc,crossTraceCalc:t(74692).crossTraceCalc,plot:t(60173),colorbar:t(4898),formatLabels:t(98608),style:t(16688).style,styleOnSelect:t(16688).styleOnSelect,hoverPoints:t(27379),selectPoints:t(81974),meta:{}}},40151:function(T){T.exports={barmode:{valType:"enumerated",values:["stack","overlay"],dflt:"stack",editType:"calc"},bargap:{valType:"number",dflt:.1,min:0,max:1,editType:"calc"}}},19860:function(T,p,t){var d=t(71828),g=t(40151);T.exports=function(i,M,v){var f,l={};function a(s,h){return d.coerce(i[f]||{},M[f],g,s,h)}for(var u=0;u0?(L=x,b=A):(L=A,b=x);var R=[v.findEnclosingVertexAngles(L,y.vangles)[0],(L+b)/2,v.findEnclosingVertexAngles(b,y.vangles)[1]];return v.pathPolygonAnnulus(k,E,L,b,R,C,_)}:function(k,E,x,A){return i.pathAnnulus(k,E,x,A,C,_)}}(l),w=l.layers.frontplot.select("g.barlayer");i.makeTraceGroups(w,a,"trace bars").each(function(){var y=d.select(this),C=i.ensureSingle(y,"g","points").selectAll("g.point").data(i.identity);C.enter().append("g").style("vector-effect",u?"none":"non-scaling-stroke").style("stroke-miterlimit",2).classed("point",!0),C.exit().remove(),C.each(function(_){var k,E=d.select(this),x=_.rp0=h.c2p(_.s0),A=_.rp1=h.c2p(_.s1),L=_.thetag0=c.c2g(_.p0),b=_.thetag1=c.c2g(_.p1);if(g(x)&&g(A)&&g(L)&&g(b)&&x!==A&&L!==b){var R=h.c2g(_.s1),I=(L+b)/2;_.ct=[o.c2p(R*Math.cos(I)),s.c2p(R*Math.sin(I))],k=m(x,A,L,b)}else k="M0,0Z";i.ensureSingle(E,"path").attr("d",k)}),M.setClipUrl(y,l._hasClipOnAxisFalse?l.clipIds.forTraces:null,f)})}},53522:function(T,p,t){var d=t(82196),g=t(1486),i=t(22399),M=t(12663).axisHoverFormat,v=t(5386).fF,f=t(1426).extendFlat,l=d.marker,a=l.line;T.exports={y:{valType:"data_array",editType:"calc+clearAxisTypes"},x:{valType:"data_array",editType:"calc+clearAxisTypes"},x0:{valType:"any",editType:"calc+clearAxisTypes"},y0:{valType:"any",editType:"calc+clearAxisTypes"},dx:{valType:"number",editType:"calc"},dy:{valType:"number",editType:"calc"},xperiod:d.xperiod,yperiod:d.yperiod,xperiod0:d.xperiod0,yperiod0:d.yperiod0,xperiodalignment:d.xperiodalignment,yperiodalignment:d.yperiodalignment,xhoverformat:M("x"),yhoverformat:M("y"),name:{valType:"string",editType:"calc+clearAxisTypes"},q1:{valType:"data_array",editType:"calc+clearAxisTypes"},median:{valType:"data_array",editType:"calc+clearAxisTypes"},q3:{valType:"data_array",editType:"calc+clearAxisTypes"},lowerfence:{valType:"data_array",editType:"calc"},upperfence:{valType:"data_array",editType:"calc"},notched:{valType:"boolean",editType:"calc"},notchwidth:{valType:"number",min:0,max:.5,dflt:.25,editType:"calc"},notchspan:{valType:"data_array",editType:"calc"},boxpoints:{valType:"enumerated",values:["all","outliers","suspectedoutliers",!1],editType:"calc"},jitter:{valType:"number",min:0,max:1,editType:"calc"},pointpos:{valType:"number",min:-2,max:2,editType:"calc"},boxmean:{valType:"enumerated",values:[!0,"sd",!1],editType:"calc"},mean:{valType:"data_array",editType:"calc"},sd:{valType:"data_array",editType:"calc"},orientation:{valType:"enumerated",values:["v","h"],editType:"calc+clearAxisTypes"},quartilemethod:{valType:"enumerated",values:["linear","exclusive","inclusive"],dflt:"linear",editType:"calc"},width:{valType:"number",min:0,dflt:0,editType:"calc"},marker:{outliercolor:{valType:"color",dflt:"rgba(0, 0, 0, 0)",editType:"style"},symbol:f({},l.symbol,{arrayOk:!1,editType:"plot"}),opacity:f({},l.opacity,{arrayOk:!1,dflt:1,editType:"style"}),angle:f({},l.angle,{arrayOk:!1,editType:"calc"}),size:f({},l.size,{arrayOk:!1,editType:"calc"}),color:f({},l.color,{arrayOk:!1,editType:"style"}),line:{color:f({},a.color,{arrayOk:!1,dflt:i.defaultLine,editType:"style"}),width:f({},a.width,{arrayOk:!1,dflt:0,editType:"style"}),outliercolor:{valType:"color",editType:"style"},outlierwidth:{valType:"number",min:0,dflt:1,editType:"style"},editType:"style"},editType:"plot"},line:{color:{valType:"color",editType:"style"},width:{valType:"number",min:0,dflt:2,editType:"style"},editType:"plot"},fillcolor:d.fillcolor,whiskerwidth:{valType:"number",min:0,max:1,dflt:.5,editType:"calc"},offsetgroup:g.offsetgroup,alignmentgroup:g.alignmentgroup,selected:{marker:d.selected.marker,editType:"style"},unselected:{marker:d.unselected.marker,editType:"style"},text:f({},d.text,{}),hovertext:f({},d.hovertext,{}),hovertemplate:v({}),hoveron:{valType:"flaglist",flags:["boxes","points"],dflt:"boxes+points",editType:"style"}}},48518:function(T,p,t){var d=t(92770),g=t(89298),i=t(42973),M=t(71828),v=t(50606).BADNUM,f=M._;T.exports=function(y,C){var _,k,E,x,A,L,b,R=y._fullLayout,I=g.getFromId(y,C.xaxis||"x"),O=g.getFromId(y,C.yaxis||"y"),z=[],F=C.type==="violin"?"_numViolins":"_numBoxes";C.orientation==="h"?(E=I,x="x",A=O,L="y",b=!!C.yperiodalignment):(E=O,x="y",A=I,L="x",b=!!C.xperiodalignment);var B,N,W,j,$,U,G=function(Ee,Ve,$e,Ye){var st,ot=Ve+"0"in Ee;if(Ve in Ee||ot&&"d"+Ve in Ee){var ht=$e.makeCalcdata(Ee,Ve);return[i(Ee,$e,Ve,ht).vals,ht]}st=ot?Ee[Ve+"0"]:"name"in Ee&&($e.type==="category"||d(Ee.name)&&["linear","log"].indexOf($e.type)!==-1||M.isDateTime(Ee.name)&&$e.type==="date")?Ee.name:Ye;for(var bt=$e.type==="multicategory"?$e.r2c_just_indices(st):$e.d2c(st,0,Ee[Ve+"calendar"]),Et=Ee._length,kt=new Array(Et),xt=0;xtB.uf};if(C._hasPreCompStats){var Q=C[x],re=function(Ee){return E.d2c((C[Ee]||[])[_])},ie=1/0,oe=-1/0;for(_=0;_=B.q1&&B.q3>=B.med){var ce=re("lowerfence");B.lf=ce!==v&&ce<=B.q1?ce:s(B,W,j);var ye=re("upperfence");B.uf=ye!==v&&ye>=B.q3?ye:h(B,W,j);var de=re("mean");B.mean=de!==v?de:j?M.mean(W,j):(B.q1+B.q3)/2;var me=re("sd");B.sd=de!==v&&me>=0?me:j?M.stdev(W,j,B.mean):B.q3-B.q1,B.lo=c(B),B.uo=m(B);var pe=re("notchspan");pe=pe!==v&&pe>0?pe:w(B,j),B.ln=B.med-pe,B.un=B.med+pe;var xe=B.lf,Pe=B.uf;C.boxpoints&&W.length&&(xe=Math.min(xe,W[0]),Pe=Math.max(Pe,W[j-1])),C.notched&&(xe=Math.min(xe,B.ln),Pe=Math.max(Pe,B.un)),B.min=xe,B.max=Pe}else{var _e;M.warn(["Invalid input - make sure that q1 <= median <= q3","q1 = "+B.q1,"median = "+B.med,"q3 = "+B.q3].join(` -`)),_e=B.med!==v?B.med:B.q1!==v?B.q3!==v?(B.q1+B.q3)/2:B.q1:B.q3!==v?B.q3:0,B.med=_e,B.q1=B.q3=_e,B.lf=B.uf=_e,B.mean=B.sd=_e,B.ln=B.un=_e,B.min=B.max=_e}ie=Math.min(ie,B.min),oe=Math.max(oe,B.max),B.pts2=N.filter(X),z.push(B)}}C._extremes[E._id]=g.findExtremes(E,[ie,oe],{padded:!0})}else{var Me=E.makeCalcdata(C,x),Se=function(Ee,Ve){for(var $e=Ee.length,Ye=new Array($e+1),st=0;st<$e;st++)Ye[st]=Ee[st]-Ve;return Ye[$e]=Ee[$e-1]+Ve,Ye}(te,Z),Ce=te.length,ae=function(Ee){for(var Ve=new Array(Ee),$e=0;$e=0&&fe0){var je,ge;(B={}).pos=B[L]=te[_],N=B.pts=ae[_].sort(u),j=(W=B[x]=N.map(o)).length,B.min=W[0],B.max=W[j-1],B.mean=M.mean(W,j),B.sd=M.stdev(W,j,B.mean),B.med=M.interp(W,.5),j%2&&(Be||ze)?(Be?(je=W.slice(0,j/2),ge=W.slice(j/2+1)):ze&&(je=W.slice(0,j/2+1),ge=W.slice(j/2)),B.q1=M.interp(je,.5),B.q3=M.interp(ge,.5)):(B.q1=M.interp(W,.25),B.q3=M.interp(W,.75)),B.lf=s(B,W,j),B.uf=h(B,W,j),B.lo=c(B),B.uo=m(B);var we=w(B,j);B.ln=B.med-we,B.un=B.med+we,be=Math.min(be,B.ln),ke=Math.max(ke,B.un),B.pts2=N.filter(X),z.push(B)}C._extremes[E._id]=g.findExtremes(E,C.notched?Me.concat([be,ke]):Me,{padded:!0})}return function(Ee,Ve){if(M.isArrayOrTypedArray(Ve.selectedpoints))for(var $e=0;$e0?(z[0].t={num:R[F],dPos:Z,posLetter:L,valLetter:x,labels:{med:f(y,"median:"),min:f(y,"min:"),q1:f(y,"q1:"),q3:f(y,"q3:"),max:f(y,"max:"),mean:C.boxmean==="sd"?f(y,"mean ± σ:"):f(y,"mean:"),lf:f(y,"lower fence:"),uf:f(y,"upper fence:")}},R[F]++,z):[{t:{empty:!0}}]};var l={text:"tx",hovertext:"htx"};function a(y,C,_){for(var k in l)M.isArrayOrTypedArray(C[k])&&(Array.isArray(_)?M.isArrayOrTypedArray(C[k][_[0]])&&(y[l[k]]=C[k][_[0]][_[1]]):y[l[k]]=C[k][_])}function u(y,C){return y.v-C.v}function o(y){return y.v}function s(y,C,_){return _===0?y.q1:Math.min(y.q1,C[Math.min(M.findBin(2.5*y.q1-1.5*y.q3,C,!0)+1,_-1)])}function h(y,C,_){return _===0?y.q3:Math.max(y.q3,C[Math.max(M.findBin(2.5*y.q3-1.5*y.q1,C),0)])}function c(y){return 4*y.q1-3*y.q3}function m(y){return 4*y.q3-3*y.q1}function w(y,C){return C===0?0:1.57*(y.q3-y.q1)/Math.sqrt(C)}},37188:function(T,p,t){var d=t(89298),g=t(71828),i=t(99082).getAxisGroup,M=["v","h"];function v(f,l,a,u){var o,s,h,c=l.calcdata,m=l._fullLayout,w=u._id,y=w.charAt(0),C=[],_=0;for(o=0;o1,L=1-m[f+"gap"],b=1-m[f+"groupgap"];for(o=0;o0){var ue=N.pointpos,ce=N.jitter,ye=N.marker.size/2,de=0;ue+ce>=0&&((de=ie*(ue+ce))>F?(oe=!0,Q=ye,Z=de):de>ne&&(Q=ye,Z=F)),de<=F&&(Z=F);var me=0;ue-ce<=0&&((me=-ie*(ue-ce))>B?(oe=!0,re=ye,X=me):me>te&&(re=ye,X=B)),me<=B&&(X=B)}else Z=F,X=B;var pe=new Array(h.length);for(s=0;s0?(A="v",L=R>0?Math.min(O,I):Math.min(I)):R>0?(A="h",L=Math.min(O)):L=0;if(L){s._length=L;var j=h("orientation",A);s._hasPreCompStats?j==="v"&&R===0?(h("x0",0),h("dx",1)):j==="h"&&b===0&&(h("y0",0),h("dy",1)):j==="v"&&R===0?h("x0"):j==="h"&&b===0&&h("y0"),g.getComponentMethod("calendars","handleTraceDefaults")(o,s,["x","y"],c)}else s.visible=!1}function u(o,s,h,c){var m=c.prefix,w=d.coerce2(o,s,l,"marker.outliercolor"),y=h("marker.line.outliercolor"),C="outliers";s._hasPreCompStats?C="all":(w||y)&&(C="suspectedoutliers");var _=h(m+"points",C);_?(h("jitter",_==="all"?.3:0),h("pointpos",_==="all"?-1.5:0),h("marker.symbol"),h("marker.opacity"),h("marker.size"),h("marker.angle"),h("marker.color",s.line.color),h("marker.line.color"),h("marker.line.width"),_==="suspectedoutliers"&&(h("marker.line.outliercolor",s.marker.color),h("marker.line.outlierwidth")),h("selected.marker.color"),h("unselected.marker.color"),h("selected.marker.size"),h("unselected.marker.size"),h("text"),h("hovertext")):delete s.marker;var k=h("hoveron");k!=="all"&&k.indexOf("points")===-1||h("hovertemplate"),d.coerceSelectionMarkerOpacity(s,h)}T.exports={supplyDefaults:function(o,s,h,c){function m(x,A){return d.coerce(o,s,l,x,A)}if(a(o,s,m,c),s.visible!==!1){M(o,s,c,m),m("xhoverformat"),m("yhoverformat");var w=s._hasPreCompStats;w&&(m("lowerfence"),m("upperfence")),m("line.color",(o.marker||{}).color||h),m("line.width"),m("fillcolor",i.addOpacity(s.line.color,.5));var y=!1;if(w){var C=m("mean"),_=m("sd");C&&C.length&&(y=!0,_&&_.length&&(y="sd"))}m("boxmean",y),m("whiskerwidth"),m("width"),m("quartilemethod");var k=!1;if(w){var E=m("notchspan");E&&E.length&&(k=!0)}else d.validate(o.notchwidth,l.notchwidth)&&(k=!0);m("notched",k)&&m("notchwidth"),u(o,s,m,{prefix:"box"})}},crossTraceDefaults:function(o,s){var h,c;function m(C){return d.coerce(c._input,c,l,C)}for(var w=0;w_.lo&&(W.so=!0)}return x});C.enter().append("path").classed("point",!0),C.exit().remove(),C.call(i.translatePoints,s,h)}function f(l,a,u,o){var s,h,c=a.val,m=a.pos,w=!!m.rangebreaks,y=o.bPos,C=o.bPosPxOffset||0,_=u.boxmean||(u.meanline||{}).visible;Array.isArray(o.bdPos)?(s=o.bdPos[0],h=o.bdPos[1]):(s=o.bdPos,h=o.bdPos);var k=l.selectAll("path.mean").data(u.type==="box"&&u.boxmean||u.type==="violin"&&u.box.visible&&u.meanline.visible?g.identity:[]);k.enter().append("path").attr("class","mean").style({fill:"none","vector-effect":"non-scaling-stroke"}),k.exit().remove(),k.each(function(E){var x=m.c2l(E.pos+y,!0),A=m.l2p(x-s)+C,L=m.l2p(x+h)+C,b=w?(A+L)/2:m.l2p(x)+C,R=c.c2p(E.mean,!0),I=c.c2p(E.mean-E.sd,!0),O=c.c2p(E.mean+E.sd,!0);u.orientation==="h"?d.select(this).attr("d","M"+R+","+A+"V"+L+(_==="sd"?"m0,0L"+I+","+b+"L"+R+","+A+"L"+O+","+b+"Z":"")):d.select(this).attr("d","M"+A+","+R+"H"+L+(_==="sd"?"m0,0L"+b+","+I+"L"+A+","+R+"L"+b+","+O+"Z":""))})}T.exports={plot:function(l,a,u,o){var s=l._context.staticPlot,h=a.xaxis,c=a.yaxis;g.makeTraceGroups(o,u,"trace boxes").each(function(m){var w,y,C=d.select(this),_=m[0],k=_.t,E=_.trace;k.wdPos=k.bdPos*E.whiskerwidth,E.visible!==!0||k.empty?C.remove():(E.orientation==="h"?(w=c,y=h):(w=h,y=c),M(C,{pos:w,val:y},E,k,s),v(C,{x:h,y:c},E,k),f(C,{pos:w,val:y},E,k))})},plotBoxAndWhiskers:M,plotPoints:v,plotBoxMean:f}},24626:function(T){T.exports=function(p,t){var d,g,i=p.cd,M=p.xaxis,v=p.yaxis,f=[];if(t===!1)for(d=0;d=10)return null;for(var v=1/0,f=-1/0,l=i.length,a=0;a0?Math.floor:Math.ceil,j=B>0?Math.ceil:Math.floor,$=B>0?Math.min:Math.max,U=B>0?Math.max:Math.min,G=W(z+N),q=j(F-N),H=[[h=O(z)]];for(f=G;f*B=0;i--)M[u-i]=p[o][i],v[u-i]=t[o][i];for(f.push({x:M,y:v,bicubic:l}),i=o,M=[],v=[];i>=0;i--)M[o-i]=p[i][0],v[o-i]=t[i][0];return f.push({x:M,y:v,bicubic:a}),f}},20347:function(T,p,t){var d=t(89298),g=t(1426).extendFlat;T.exports=function(i,M,v){var f,l,a,u,o,s,h,c,m,w,y,C,_,k,E=i["_"+M],x=i[M+"axis"],A=x._gridlines=[],L=x._minorgridlines=[],b=x._boundarylines=[],R=i["_"+v],I=i[v+"axis"];x.tickmode==="array"&&(x.tickvals=E.slice());var O=i._xctrl,z=i._yctrl,F=O[0].length,B=O.length,N=i._a.length,W=i._b.length;d.prepTicks(x),x.tickmode==="array"&&delete x.tickvals;var j=x.smoothing?3:1;function $(G){var q,H,ne,te,Z,X,Q,re,ie,oe,ue,ce,ye=[],de=[],me={};if(M==="b")for(H=i.b2j(G),ne=Math.floor(Math.max(0,Math.min(W-2,H))),te=H-ne,me.length=W,me.crossLength=N,me.xy=function(pe){return i.evalxy([],pe,H)},me.dxy=function(pe,xe){return i.dxydi([],pe,ne,xe,te)},q=0;q0&&(ie=i.dxydi([],q-1,ne,0,te),ye.push(Z[0]+ie[0]/3),de.push(Z[1]+ie[1]/3),oe=i.dxydi([],q-1,ne,1,te),ye.push(re[0]-oe[0]/3),de.push(re[1]-oe[1]/3)),ye.push(re[0]),de.push(re[1]),Z=re;else for(q=i.a2i(G),X=Math.floor(Math.max(0,Math.min(N-2,q))),Q=q-X,me.length=N,me.crossLength=W,me.xy=function(pe){return i.evalxy([],q,pe)},me.dxy=function(pe,xe){return i.dxydj([],X,pe,Q,xe)},H=0;H0&&(ue=i.dxydj([],X,H-1,Q,0),ye.push(Z[0]+ue[0]/3),de.push(Z[1]+ue[1]/3),ce=i.dxydj([],X,H-1,Q,1),ye.push(re[0]-ce[0]/3),de.push(re[1]-ce[1]/3)),ye.push(re[0]),de.push(re[1]),Z=re;return me.axisLetter=M,me.axis=x,me.crossAxis=I,me.value=G,me.constvar=v,me.index=c,me.x=ye,me.y=de,me.smoothing=I.smoothing,me}function U(G){var q,H,ne,te,Z,X=[],Q=[],re={};if(re.length=E.length,re.crossLength=R.length,M==="b")for(ne=Math.max(0,Math.min(W-2,G)),Z=Math.min(1,Math.max(0,G-ne)),re.xy=function(ie){return i.evalxy([],ie,G)},re.dxy=function(ie,oe){return i.dxydi([],ie,ne,oe,Z)},q=0;qE.length-1||A.push(g(U(l),{color:x.gridcolor,width:x.gridwidth,dash:x.griddash}));for(c=s;cE.length-1||y<0||y>E.length-1))for(C=E[a],_=E[y],f=0;fE[E.length-1]||L.push(g($(w),{color:x.minorgridcolor,width:x.minorgridwidth,dash:x.minorgriddash}));x.startline&&b.push(g(U(0),{color:x.startlinecolor,width:x.startlinewidth})),x.endline&&b.push(g(U(E.length-1),{color:x.endlinecolor,width:x.endlinewidth}))}else{for(u=5e-15,s=(o=[Math.floor((E[E.length-1]-x.tick0)/x.dtick*(1+u)),Math.ceil((E[0]-x.tick0)/x.dtick/(1+u))].sort(function(G,q){return G-q}))[0],h=o[1],c=s;c<=h;c++)m=x.tick0+x.dtick*c,A.push(g($(m),{color:x.gridcolor,width:x.gridwidth,dash:x.griddash}));for(c=s-1;cE[E.length-1]||L.push(g($(w),{color:x.minorgridcolor,width:x.minorgridwidth,dash:x.minorgriddash}));x.startline&&b.push(g($(E[0]),{color:x.startlinecolor,width:x.startlinewidth})),x.endline&&b.push(g($(E[E.length-1]),{color:x.endlinecolor,width:x.endlinewidth}))}}},83311:function(T,p,t){var d=t(89298),g=t(1426).extendFlat;T.exports=function(i,M){var v,f,l,a=M._labels=[],u=M._gridlines;for(v=0;vi.length&&(g=g.slice(0,i.length)):g=[],v=0;v90&&(h-=180,l=-l),{angle:h,flip:l,p:p.c2p(g,t,d),offsetMultplier:a}}},89740:function(T,p,t){var d=t(39898),g=t(91424),i=t(27669),M=t(67961),v=t(11651),f=t(63893),l=t(71828),a=l.strRotate,u=l.strTranslate,o=t(18783);function s(y,C,_,k,E,x,A){var L="const-"+E+"-lines",b=_.selectAll("."+L).data(x);b.enter().append("path").classed(L,!0).style("vector-effect",A?"none":"non-scaling-stroke"),b.each(function(R){var I=R,O=I.x,z=I.y,F=i([],O,y.c2p),B=i([],z,C.c2p),N="M"+M(F,B,I.smoothing);d.select(this).attr("d",N).style("stroke-width",I.width).style("stroke",I.color).style("stroke-dasharray",g.dashStyle(I.dash,I.width)).style("fill","none")}),b.exit().remove()}function h(y,C,_,k,E,x,A,L){var b=x.selectAll("text."+L).data(A);b.enter().append("text").classed(L,!0);var R=0,I={};return b.each(function(O,z){var F;if(O.axis.tickangle==="auto")F=v(k,C,_,O.xy,O.dxy);else{var B=(O.axis.tickangle+180)*Math.PI/180;F=v(k,C,_,O.xy,[Math.cos(B),Math.sin(B)])}z||(I={angle:F.angle,flip:F.flip});var N=(O.endAnchor?-1:1)*F.flip,W=d.select(this).attr({"text-anchor":N>0?"start":"end","data-notex":1}).call(g.font,O.font).text(O.text).call(f.convertToTspans,y),j=g.bBox(this);W.attr("transform",u(F.p[0],F.p[1])+a(F.angle)+u(O.axis.labelpadding*N,.3*j.height)),R=Math.max(R,j.width+O.axis.labelpadding)}),b.exit().remove(),I.maxExtent=R,I}T.exports=function(y,C,_,k){var E=y._context.staticPlot,x=C.xaxis,A=C.yaxis,L=y._fullLayout._clips;l.makeTraceGroups(k,_,"trace").each(function(b){var R=d.select(this),I=b[0],O=I.trace,z=O.aaxis,F=O.baxis,B=l.ensureSingle(R,"g","minorlayer"),N=l.ensureSingle(R,"g","majorlayer"),W=l.ensureSingle(R,"g","boundarylayer"),j=l.ensureSingle(R,"g","labellayer");R.style("opacity",O.opacity),s(x,A,N,0,"a",z._gridlines,!0),s(x,A,N,0,"b",F._gridlines,!0),s(x,A,B,0,"a",z._minorgridlines,!0),s(x,A,B,0,"b",F._minorgridlines,!0),s(x,A,W,0,"a-boundary",z._boundarylines,E),s(x,A,W,0,"b-boundary",F._boundarylines,E);var $=h(y,x,A,O,0,j,z._labels,"a-label"),U=h(y,x,A,O,0,j,F._labels,"b-label");(function(G,q,H,ne,te,Z,X,Q){var re,ie,oe,ue,ce=l.aggNums(Math.min,null,H.a),ye=l.aggNums(Math.max,null,H.a),de=l.aggNums(Math.min,null,H.b),me=l.aggNums(Math.max,null,H.b);re=.5*(ce+ye),ie=de,oe=H.ab2xy(re,ie,!0),ue=H.dxyda_rough(re,ie),X.angle===void 0&&l.extendFlat(X,v(H,te,Z,oe,H.dxydb_rough(re,ie))),w(G,q,H,0,oe,ue,H.aaxis,te,Z,X,"a-title"),re=ce,ie=.5*(de+me),oe=H.ab2xy(re,ie,!0),ue=H.dxydb_rough(re,ie),Q.angle===void 0&&l.extendFlat(Q,v(H,te,Z,oe,H.dxyda_rough(re,ie))),w(G,q,H,0,oe,ue,H.baxis,te,Z,Q,"b-title")})(y,j,O,0,x,A,$,U),function(G,q,H,ne,te){var Z,X,Q,re,ie=H.select("#"+G._clipPathId);ie.size()||(ie=H.append("clipPath").classed("carpetclip",!0));var oe=l.ensureSingle(ie,"path","carpetboundary"),ue=q.clipsegments,ce=[];for(re=0;re90&&W<270,$=d.select(this);$.text(A.title.text).call(f.convertToTspans,y),j&&(F=(-f.lineCount($)+m)*c*N-F),$.attr("transform",u(B.p[0],B.p[1])+a(B.angle)+u(0,F)).attr("text-anchor","middle").call(g.font,A.title.font)}),z.exit().remove()}},11435:function(T,p,t){var d=t(35509),g=t(65888).findBin,i=t(45664),M=t(20349),v=t(54495),f=t(73057);T.exports=function(l){var a=l._a,u=l._b,o=a.length,s=u.length,h=l.aaxis,c=l.baxis,m=a[0],w=a[o-1],y=u[0],C=u[s-1],_=a[a.length-1]-a[0],k=u[u.length-1]-u[0],E=_*d.RELATIVE_CULL_TOLERANCE,x=k*d.RELATIVE_CULL_TOLERANCE;m-=E,w+=E,y-=x,C+=x,l.isVisible=function(A,L){return A>m&&Ay&&Lw||LC},l.setScale=function(){var A=l._x,L=l._y,b=i(l._xctrl,l._yctrl,A,L,h.smoothing,c.smoothing);l._xctrl=b[0],l._yctrl=b[1],l.evalxy=M([l._xctrl,l._yctrl],o,s,h.smoothing,c.smoothing),l.dxydi=v([l._xctrl,l._yctrl],h.smoothing,c.smoothing),l.dxydj=f([l._xctrl,l._yctrl],h.smoothing,c.smoothing)},l.i2a=function(A){var L=Math.max(0,Math.floor(A[0]),o-2),b=A[0]-L;return(1-b)*a[L]+b*a[L+1]},l.j2b=function(A){var L=Math.max(0,Math.floor(A[1]),o-2),b=A[1]-L;return(1-b)*u[L]+b*u[L+1]},l.ij2ab=function(A){return[l.i2a(A[0]),l.j2b(A[1])]},l.a2i=function(A){var L=Math.max(0,Math.min(g(A,a),o-2)),b=a[L],R=a[L+1];return Math.max(0,Math.min(o-1,L+(A-b)/(R-b)))},l.b2j=function(A){var L=Math.max(0,Math.min(g(A,u),s-2)),b=u[L],R=u[L+1];return Math.max(0,Math.min(s-1,L+(A-b)/(R-b)))},l.ab2ij=function(A){return[l.a2i(A[0]),l.b2j(A[1])]},l.i2c=function(A,L){return l.evalxy([],A,L)},l.ab2xy=function(A,L,b){if(!b&&(Aa[o-1]|Lu[s-1]))return[!1,!1];var R=l.a2i(A),I=l.b2j(L),O=l.evalxy([],R,I);if(b){var z,F,B,N,W=0,j=0,$=[];Aa[o-1]?(z=o-2,F=1,W=(A-a[o-1])/(a[o-1]-a[o-2])):F=R-(z=Math.max(0,Math.min(o-2,Math.floor(R)))),Lu[s-1]?(B=s-2,N=1,j=(L-u[s-1])/(u[s-1]-u[s-2])):N=I-(B=Math.max(0,Math.min(s-2,Math.floor(I)))),W&&(l.dxydi($,z,B,F,N),O[0]+=$[0]*W,O[1]+=$[1]*W),j&&(l.dxydj($,z,B,F,N),O[0]+=$[0]*j,O[1]+=$[1]*j)}return O},l.c2p=function(A,L,b){return[L.c2p(A[0]),b.c2p(A[1])]},l.p2x=function(A,L,b){return[L.p2c(A[0]),b.p2c(A[1])]},l.dadi=function(A){var L=Math.max(0,Math.min(a.length-2,A));return a[L+1]-a[L]},l.dbdj=function(A){var L=Math.max(0,Math.min(u.length-2,A));return u[L+1]-u[L]},l.dxyda=function(A,L,b,R){var I=l.dxydi(null,A,L,b,R),O=l.dadi(A,b);return[I[0]/O,I[1]/O]},l.dxydb=function(A,L,b,R){var I=l.dxydj(null,A,L,b,R),O=l.dbdj(L,R);return[I[0]/O,I[1]/O]},l.dxyda_rough=function(A,L,b){var R=_*(b||.1),I=l.ab2xy(A+R,L,!0),O=l.ab2xy(A-R,L,!0);return[.5*(I[0]-O[0])/R,.5*(I[1]-O[1])/R]},l.dxydb_rough=function(A,L,b){var R=k*(b||.1),I=l.ab2xy(A,L+R,!0),O=l.ab2xy(A,L-R,!0);return[.5*(I[0]-O[0])/R,.5*(I[1]-O[1])/R]},l.dpdx=function(A){return A._m},l.dpdy=function(A){return A._m}}},72505:function(T,p,t){var d=t(71828);T.exports=function(g,i,M){var v,f,l,a=[],u=[],o=g[0].length,s=g.length;function h(G,q){var H,ne=0,te=0;return G>0&&(H=g[q][G-1])!==void 0&&(te++,ne+=H),G0&&(H=g[q-1][G])!==void 0&&(te++,ne+=H),q0&&f0&&v1e-5);return d.log("Smoother converged to",R,"after",I,"iterations"),g}},19237:function(T,p,t){var d=t(71828).isArray1D;T.exports=function(g,i,M){var v=M("x"),f=v&&v.length,l=M("y"),a=l&&l.length;if(!f&&!a)return!1;if(i._cheater=!v,f&&!d(v)||a&&!d(l))i._length=null;else{var u=f?v.length:1/0;a&&(u=Math.min(u,l.length)),i.a&&i.a.length&&(u=Math.min(u,i.a.length)),i.b&&i.b.length&&(u=Math.min(u,i.b.length)),i._length=u}return!0}},69568:function(T,p,t){var d=t(5386).fF,g=t(19316),i=t(50693),M=t(9012),v=t(22399).defaultLine,f=t(1426).extendFlat,l=g.marker.line;T.exports=f({locations:{valType:"data_array",editType:"calc"},locationmode:g.locationmode,z:{valType:"data_array",editType:"calc"},geojson:f({},g.geojson,{}),featureidkey:g.featureidkey,text:f({},g.text,{}),hovertext:f({},g.hovertext,{}),marker:{line:{color:f({},l.color,{dflt:v}),width:f({},l.width,{dflt:1}),editType:"calc"},opacity:{valType:"number",arrayOk:!0,min:0,max:1,dflt:1,editType:"style"},editType:"calc"},selected:{marker:{opacity:g.selected.marker.opacity,editType:"plot"},editType:"plot"},unselected:{marker:{opacity:g.unselected.marker.opacity,editType:"plot"},editType:"plot"},hoverinfo:f({},M.hoverinfo,{editType:"calc",flags:["location","z","text","name"]}),hovertemplate:d(),showlegend:f({},M.showlegend,{dflt:!1})},i("",{cLetter:"z",editTypeOverride:"calc"}))},38675:function(T,p,t){var d=t(92770),g=t(50606).BADNUM,i=t(78803),M=t(75225),v=t(66279);function f(l){return l&&typeof l=="string"}T.exports=function(l,a){var u,o=a._length,s=new Array(o);u=a.geojson?function(y){return f(y)||d(y)}:f;for(var h=0;h")}}(M,h,l),[M]}},51319:function(T,p,t){T.exports={attributes:t(69568),supplyDefaults:t(61869),colorbar:t(61243),calc:t(38675),calcGeoJSON:t(99841).calcGeoJSON,plot:t(99841).plot,style:t(99636).style,styleOnSelect:t(99636).styleOnSelect,hoverPoints:t(42300),eventData:t(92069),selectPoints:t(81253),moduleType:"trace",name:"choropleth",basePlotModule:t(44622),categories:["geo","noOpacity","showLegend"],meta:{}}},99841:function(T,p,t){var d=t(39898),g=t(71828),i=t(41327),M=t(90973).getTopojsonFeatures,v=t(71739).findExtremes,f=t(99636).style;T.exports={calcGeoJSON:function(l,a){for(var u=l[0].trace,o=a[u.geo],s=o._subplot,h=u.locationmode,c=u._length,m=h==="geojson-id"?i.extractTraceFeature(l):M(u,s.topojson),w=[],y=[],C=0;C=0;M--){var v=i[M].id;if(typeof v=="string"&&v.indexOf("water")===0){for(var f=M+1;f=0;a--)f.removeLayer(l[a][1])},v.dispose=function(){var f=this.subplot.map;this._removeLayers(),f.removeSource(this.sourceId)},T.exports=function(f,l){var a=l[0].trace,u=new M(f,a.uid),o=u.sourceId,s=d(l),h=u.below=f.belowLookup["trace-"+a.uid];return f.map.addSource(o,{type:"geojson",data:s.geojson}),u._addLayers(s,h),l[0].trace._glTrace=u,u}},12674:function(T,p,t){var d=t(50693),g=t(12663).axisHoverFormat,i=t(5386).fF,M=t(2418),v=t(9012),f=t(1426).extendFlat,l={x:{valType:"data_array",editType:"calc+clearAxisTypes"},y:{valType:"data_array",editType:"calc+clearAxisTypes"},z:{valType:"data_array",editType:"calc+clearAxisTypes"},u:{valType:"data_array",editType:"calc"},v:{valType:"data_array",editType:"calc"},w:{valType:"data_array",editType:"calc"},sizemode:{valType:"enumerated",values:["scaled","absolute"],editType:"calc",dflt:"scaled"},sizeref:{valType:"number",editType:"calc",min:0},anchor:{valType:"enumerated",editType:"calc",values:["tip","tail","cm","center"],dflt:"cm"},text:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertemplate:i({editType:"calc"},{keys:["norm"]}),uhoverformat:g("u",1),vhoverformat:g("v",1),whoverformat:g("w",1),xhoverformat:g("x"),yhoverformat:g("y"),zhoverformat:g("z"),showlegend:f({},v.showlegend,{dflt:!1})};f(l,d("",{colorAttr:"u/v/w norm",showScaleDflt:!0,editTypeOverride:"calc"})),["opacity","lightposition","lighting"].forEach(function(a){l[a]=M[a]}),l.hoverinfo=f({},v.hoverinfo,{editType:"calc",flags:["x","y","z","u","v","w","norm","text","name"],dflt:"x+y+z+norm+text+name"}),l.transforms=void 0,T.exports=l},31371:function(T,p,t){var d=t(78803);T.exports=function(g,i){for(var M=i.u,v=i.v,f=i.w,l=Math.min(i.x.length,i.y.length,i.z.length,M.length,v.length,f.length),a=-1/0,u=1/0,o=0;ov.level||v.starts.length&&M===v.level)}break;case"constraint":if(g.prefixBoundary=!1,g.edgepaths.length)return;var f=g.x.length,l=g.y.length,a=-1/0,u=1/0;for(d=0;d":h>a&&(g.prefixBoundary=!0);break;case"<":(ha||g.starts.length&&s===u)&&(g.prefixBoundary=!0);break;case"][":o=Math.min(h[0],h[1]),s=Math.max(h[0],h[1]),oa&&(g.prefixBoundary=!0)}}}},90654:function(T,p,t){var d=t(21081),g=t(86068),i=t(53572);T.exports={min:"zmin",max:"zmax",calc:function(M,v,f){var l=v.contours,a=v.line,u=l.size||1,o=l.coloring,s=g(v,{isColorbar:!0});if(o==="heatmap"){var h=d.extractOpts(v);f._fillgradient=h.reversescale?d.flipScale(h.colorscale):h.colorscale,f._zrange=[h.min,h.max]}else o==="fill"&&(f._fillcolor=s);f._line={color:o==="lines"?s:a.color,width:l.showlines!==!1?a.width:0,dash:a.dash},f._levels={start:l.start,end:i(l),size:u}}}},36914:function(T){T.exports={BOTTOMSTART:[1,9,13,104,713],TOPSTART:[4,6,7,104,713],LEFTSTART:[8,12,14,208,1114],RIGHTSTART:[2,3,11,208,1114],NEWDELTA:[null,[-1,0],[0,-1],[-1,0],[1,0],null,[0,-1],[-1,0],[0,1],[0,1],null,[0,1],[1,0],[1,0],[0,-1]],CHOOSESADDLE:{104:[4,1],208:[2,8],713:[7,13],1114:[11,14]},SADDLEREMAINDER:{1:4,2:8,4:1,7:13,8:2,11:14,13:7,14:11},LABELDISTANCE:2,LABELINCREASE:10,LABELMIN:3,LABELMAX:10,LABELOPTIMIZER:{EDGECOST:1,ANGLECOST:1,NEIGHBORCOST:5,SAMELEVELFACTOR:10,SAMELEVELDISTANCE:5,MAXCOST:100,INITIALSEARCHPOINTS:10,ITERATIONS:5}}},83179:function(T,p,t){var d=t(92770),g=t(14523),i=t(7901),M=i.addOpacity,v=i.opacity,f=t(74808),l=f.CONSTRAINT_REDUCTION,a=f.COMPARISON_OPS2;T.exports=function(u,o,s,h,c,m){var w,y,C,_=o.contours,k=s("contours.operation");_._operation=l[k],function(E,x){var A;a.indexOf(x.operation)===-1?(E("contours.value",[0,1]),Array.isArray(x.value)?x.value.length>2?x.value=x.value.slice(2):x.length===0?x.value=[0,1]:x.length<2?(A=parseFloat(x.value[0]),x.value=[A,A+1]):x.value=[parseFloat(x.value[0]),parseFloat(x.value[1])]:d(x.value)&&(A=parseFloat(x.value),x.value=[A,A+1])):(E("contours.value",0),d(x.value)||(Array.isArray(x.value)?x.value=parseFloat(x.value[0]):x.value=0))}(s,_),k==="="?w=_.showlines=!0:(w=s("contours.showlines"),C=s("fillcolor",M((u.line||{}).color||c,.5))),w&&(y=s("line.color",C&&v(C)?M(o.fillcolor,1):c),s("line.width",2),s("line.dash")),s("line.smoothing"),g(s,h,y,m)}},64237:function(T,p,t){var d=t(74808),g=t(92770);function i(f,l){var a,u=Array.isArray(l);function o(s){return g(s)?+s:null}return d.COMPARISON_OPS2.indexOf(f)!==-1?a=o(u?l[0]:l):d.INTERVAL_OPS.indexOf(f)!==-1?a=u?[o(l[0]),o(l[1])]:[o(l),o(l)]:d.SET_OPS.indexOf(f)!==-1&&(a=u?l.map(o):[o(l)]),a}function M(f){return function(l){l=i(f,l);var a=Math.min(l[0],l[1]),u=Math.max(l[0],l[1]);return{start:a,end:u,size:u-a}}}function v(f){return function(l){return{start:l=i(f,l),end:1/0,size:1/0}}}T.exports={"[]":M("[]"),"][":M("]["),">":v(">"),"<":v("<"),"=":v("=")}},67217:function(T){T.exports=function(p,t,d,g){var i=g("contours.start"),M=g("contours.end"),v=i===!1||M===!1,f=d("contours.size");!(v?t.autocontour=!0:d("autocontour",!1))&&f||d("ncontours")}},84857:function(T,p,t){var d=t(71828);function g(i){return d.extendFlat({},i,{edgepaths:d.extendDeep([],i.edgepaths),paths:d.extendDeep([],i.paths),starts:d.extendDeep([],i.starts)})}T.exports=function(i,M){var v,f,l,a=function(s){return s.reverse()},u=function(s){return s};switch(M){case"=":case"<":return i;case">":for(i.length!==1&&d.warn("Contour data invalid for the specified inequality operation."),f=i[0],v=0;v1e3){d.warn("Too many contours, clipping at 1000",M);break}return u}},53572:function(T){T.exports=function(p){return p.end+p.size/1e6}},81696:function(T,p,t){var d=t(71828),g=t(36914);function i(f,l,a,u){return Math.abs(f[0]-l[0])20&&oe?ie===208||ie===1114?ce=ue[0]===0?1:-1:ye=ue[1]===0?1:-1:g.BOTTOMSTART.indexOf(ie)!==-1?ye=1:g.LEFTSTART.indexOf(ie)!==-1?ce=1:g.TOPSTART.indexOf(ie)!==-1?ye=-1:ce=-1,[ce,ye]}(c,a,l),w=[v(f,l,[-m[0],-m[1]])],y=f.z.length,C=f.z[0].length,_=l.slice(),k=m.slice();for(s=0;s<1e4;s++){if(c>20?(c=g.CHOOSESADDLE[c][(m[0]||m[1])<0?0:1],f.crossings[h]=g.SADDLEREMAINDER[c]):delete f.crossings[h],!(m=g.NEWDELTA[c])){d.log("Found bad marching index:",c,l,f.level);break}w.push(v(f,l,m)),l[0]+=m[0],l[1]+=m[1],h=l.join(","),i(w[w.length-1],w[w.length-2],u,o)&&w.pop();var E=m[0]&&(l[0]<0||l[0]>C-2)||m[1]&&(l[1]<0||l[1]>y-2);if(l[0]===_[0]&&l[1]===_[1]&&m[0]===k[0]&&m[1]===k[1]||a&&E)break;c=f.crossings[h]}s===1e4&&d.log("Infinite loop in contour?");var x,A,L,b,R,I,O,z,F,B,N,W,j,$,U,G=i(w[0],w[w.length-1],u,o),q=0,H=.2*f.smoothing,ne=[],te=0;for(s=1;s=te;s--)if((x=ne[s])=te&&x+ne[A]z&&F--,f.edgepaths[F]=N.concat(w,B));break}re||(f.edgepaths[z]=w.concat(B))}for(z=0;zi?0:1)+(M[0][1]>i?0:2)+(M[1][1]>i?0:4)+(M[1][0]>i?0:8);return v===5||v===10?i>(M[0][0]+M[0][1]+M[1][0]+M[1][1])/4?v===5?713:1114:v===5?104:208:v===15?0:v}T.exports=function(i){var M,v,f,l,a,u,o,s,h,c=i[0].z,m=c.length,w=c[0].length,y=m===2||w===2;for(v=0;v=0&&(A=U,b=R):Math.abs(x[1]-A[1])<.01?Math.abs(x[1]-U[1])<.01&&(U[0]-x[0])*(A[0]-U[0])>=0&&(A=U,b=R):g.log("endpt to newendpt is not vert. or horz.",x,A,U)}if(x=A,b>=0)break;z+="L"+A}if(b===k.edgepaths.length){g.log("unclosed perimeter path");break}F=b,(N=B.indexOf(F)===-1)&&(F=B[0],z+="Z")}for(F=0;FA.center?A.right-R:R-A.left)/(z+Math.abs(Math.sin(O)*b)),N=(I>A.middle?A.bottom-I:I-A.top)/(Math.abs(F)+Math.cos(O)*b);if(B<1||N<1)return 1/0;var W=w.EDGECOST*(1/(B-1)+1/(N-1));W+=w.ANGLECOST*O*O;for(var j=R-z,$=I-F,U=R+z,G=I+F,q=0;q2*w.MAXCOST)break;N&&(R/=2),I=(b=O-R/2)+1.5*R}if(B<=w.MAXCOST)return z},p.addLabelData=function(k,E,x,A){var L=E.fontSize,b=E.width+L/3,R=Math.max(0,E.height-L/3),I=k.x,O=k.y,z=k.theta,F=Math.sin(z),B=Math.cos(z),N=function(j,$){return[I+j*B-$*F,O+j*F+$*B]},W=[N(-b/2,-R/2),N(-b/2,R/2),N(b/2,R/2),N(b/2,-R/2)];x.push({text:E.text,x:I,y:O,dy:E.dy,theta:z,level:E.level,width:b,height:R}),A.push(W)},p.drawLabels=function(k,E,x,A,L){var b=k.selectAll("text").data(E,function(O){return O.text+","+O.x+","+O.y+","+O.theta});if(b.exit().remove(),b.enter().append("text").attr({"data-notex":1,"text-anchor":"middle"}).each(function(O){var z=O.x+Math.sin(O.theta)*O.dy,F=O.y-Math.cos(O.theta)*O.dy;d.select(this).text(O.text).attr({x:z,y:F,transform:"rotate("+180*O.theta/Math.PI+" "+z+" "+F+")"}).call(v.convertToTspans,x)}),L){for(var R="",I=0;If.end&&(f.start=f.end=(f.start+f.end)/2),M._input.contours||(M._input.contours={}),g.extendFlat(M._input.contours,{start:f.start,end:f.end,size:f.size}),M._input.autocontour=!0}else if(f.type!=="constraint"){var o,s=f.start,h=f.end,c=M._input.contours;s>h&&(f.start=c.start=h,h=f.end=c.end=s,s=f.start),f.size>0||(o=s===h?1:i(s,h,M.ncontours).dtick,c.size=f.size=o)}}},84426:function(T,p,t){var d=t(39898),g=t(91424),i=t(70035),M=t(86068);T.exports=function(v){var f=d.select(v).selectAll("g.contour");f.style("opacity",function(l){return l[0].trace.opacity}),f.each(function(l){var a=d.select(this),u=l[0].trace,o=u.contours,s=u.line,h=o.size||1,c=o.start,m=o.type==="constraint",w=!m&&o.coloring==="lines",y=!m&&o.coloring==="fill",C=w||y?M(u):null;a.selectAll("g.contourlevel").each(function(E){d.select(this).selectAll("path").call(g.lineGroupStyle,s.width,w?C(E.level):s.color,s.dash)});var _=o.labelfont;if(a.selectAll("g.contourlabels text").each(function(E){g.font(d.select(this),{family:_.family,size:_.size,color:_.color||(w?C(E.level):s.color)})}),m)a.selectAll("g.contourfill path").style("fill",u.fillcolor);else if(y){var k;a.selectAll("g.contourfill path").style("fill",function(E){return k===void 0&&(k=E.level),C(E.level+.5*h)}),k===void 0&&(k=c),a.selectAll("g.contourbg path").style("fill",C(k-.5*h))}}),i(v)}},8724:function(T,p,t){var d=t(1586),g=t(14523);T.exports=function(i,M,v,f,l){var a,u=v("contours.coloring"),o="";u==="fill"&&(a=v("contours.showlines")),a!==!1&&(u!=="lines"&&(o=v("line.color","#000")),v("line.width",.5),v("line.dash")),u!=="none"&&(i.showlegend!==!0&&(M.showlegend=!1),M._dfltShowLegend=!1,d(i,M,f,v,{prefix:"",cLetter:"z"})),v("line.smoothing"),g(v,f,o,l)}},88085:function(T,p,t){var d=t(21606),g=t(70600),i=t(50693),M=t(1426).extendFlat,v=g.contours;T.exports=M({carpet:{valType:"string",editType:"calc"},z:d.z,a:d.x,a0:d.x0,da:d.dx,b:d.y,b0:d.y0,db:d.dy,text:d.text,hovertext:d.hovertext,transpose:d.transpose,atype:d.xtype,btype:d.ytype,fillcolor:g.fillcolor,autocontour:g.autocontour,ncontours:g.ncontours,contours:{type:v.type,start:v.start,end:v.end,size:v.size,coloring:{valType:"enumerated",values:["fill","lines","none"],dflt:"fill",editType:"calc"},showlines:v.showlines,showlabels:v.showlabels,labelfont:v.labelfont,labelformat:v.labelformat,operation:v.operation,value:v.value,editType:"calc",impliedEdits:{autocontour:!1}},line:{color:g.line.color,width:g.line.width,dash:g.line.dash,smoothing:g.line.smoothing,editType:"plot"},transforms:void 0},i("",{cLetter:"z",autoColorDflt:!1}))},59885:function(T,p,t){var d=t(78803),g=t(71828),i=t(68296),M=t(4742),v=t(824),f=t(43907),l=t(70769),a=t(75005),u=t(22882),o=t(18670);T.exports=function(s,h){var c=h._carpetTrace=u(s,h);if(c&&c.visible&&c.visible!=="legendonly"){if(!h.a||!h.b){var m=s.data[c.index],w=s.data[h.index];w.a||(w.a=m.a),w.b||(w.b=m.b),a(w,h,h._defaultColor,s._fullLayout)}var y=function(C,_){var k,E,x,A,L,b,R,I=_._carpetTrace,O=I.aaxis,z=I.baxis;O._minDtick=0,z._minDtick=0,g.isArray1D(_.z)&&i(_,O,z,"a","b",["z"]),k=_._a=_._a||_.a,A=_._b=_._b||_.b,k=k?O.makeCalcdata(_,"_a"):[],A=A?z.makeCalcdata(_,"_b"):[],E=_.a0||0,x=_.da||1,L=_.b0||0,b=_.db||1,R=_._z=M(_._z||_.z,_.transpose),_._emptypoints=f(R),v(R,_._emptypoints);var F=g.maxRowLength(R),B=_.xtype==="scaled"?"":k,N=l(_,B,E,x,F,O),W=_.ytype==="scaled"?"":A,j={a:N,b:l(_,W,L,b,R.length,z),z:R};return _.contours.type==="levels"&&_.contours.coloring!=="none"&&d(C,_,{vals:R,containerStr:"",cLetter:"z"}),[j]}(s,h);return o(h,h._z),y}}},75005:function(T,p,t){var d=t(71828),g=t(67684),i=t(88085),M=t(83179),v=t(67217),f=t(8724);T.exports=function(l,a,u,o){function s(h,c){return d.coerce(l,a,i,h,c)}if(s("carpet"),l.a&&l.b){if(!g(l,a,s,o,"a","b"))return void(a.visible=!1);s("text"),s("contours.type")==="constraint"?M(l,a,s,o,u,{hasHover:!1}):(v(l,a,s,function(h){return d.coerce2(l,a,i,h)}),f(l,a,s,o,{hasHover:!1}))}else a._defaultColor=u,a._length=null}},93740:function(T,p,t){T.exports={attributes:t(88085),supplyDefaults:t(75005),colorbar:t(90654),calc:t(59885),plot:t(51048),style:t(84426),moduleType:"trace",name:"contourcarpet",basePlotModule:t(93612),categories:["cartesian","svg","carpet","contour","symbols","showLegend","hasLines","carpetDependent","noHover","noSortingByValue"],meta:{}}},51048:function(T,p,t){var d=t(39898),g=t(27669),i=t(67961),M=t(91424),v=t(71828),f=t(87678),l=t(81696),a=t(29854),u=t(36914),o=t(84857),s=t(87558),h=t(20083),c=t(22882),m=t(4536);function w(_,k,E){var x=_.getPointAtLength(k),A=_.getPointAtLength(E),L=A.x-x.x,b=A.y-x.y,R=Math.sqrt(L*L+b*b);return[L/R,b/R]}function y(_){var k=Math.sqrt(_[0]*_[0]+_[1]*_[1]);return[_[0]/k,_[1]/k]}function C(_,k){var E=Math.abs(_[0]*k[0]+_[1]*k[1]);return Math.sqrt(1-E*E)/E}T.exports=function(_,k,E,x){var A=k.xaxis,L=k.yaxis;v.makeTraceGroups(x,E,"contour").each(function(b){var R=d.select(this),I=b[0],O=I.trace,z=O._carpetTrace=c(_,O),F=_.calcdata[z.index][0];if(z.visible&&z.visible!=="legendonly"){var B=I.a,N=I.b,W=O.contours,j=s(W,k,I),$=W.type==="constraint",U=W._operation,G=$?U==="="?"lines":"fill":W.coloring,q=[[B[0],N[N.length-1]],[B[B.length-1],N[N.length-1]],[B[B.length-1],N[0]],[B[0],N[0]]];f(j);var H=1e-8*(B[B.length-1]-B[0]),ne=1e-8*(N[N.length-1]-N[0]);l(j,H,ne);var te,Z,X,Q,re=j;W.type==="constraint"&&(re=o(j,U)),function(ce,ye){var de,me,pe,xe,Pe,_e,Me,Se,Ce;for(de=0;de=0;Q--)te=F.clipsegments[Q],Z=g([],te.x,A.c2p),X=g([],te.y,L.c2p),Z.reverse(),X.reverse(),ie.push(i(Z,X,te.bicubic));var oe="M"+ie.join("L")+"Z";(function(ce,ye,de,me,pe,xe){var Pe,_e,Me,Se,Ce=v.ensureSingle(ce,"g","contourbg").selectAll("path").data(xe!=="fill"||pe?[]:[0]);Ce.enter().append("path"),Ce.exit().remove();var ae=[];for(Se=0;Se=0&&(st=ft,ht=bt):Math.abs(Ye[1]-st[1])=0&&(st=ft,ht=bt):v.log("endpt to newendpt is not vert. or horz.",Ye,st,ft)}if(ht>=0)break;kt+=qe(Ye,st),Ye=st}if(ht===Be.edgepaths.length){v.log("unclosed perimeter path");break}$e=ht,(Ft=xt.indexOf($e)===-1)&&($e=xt[0],kt+=qe(Ye,st)+"Z",Ye=null)}for($e=0;$eLt&&(Ke.max=Lt),Ke.len=Ke.max-Ke.min}function yt(Pt,wt){var Rt,Nt=0,Yt=.1;return(Math.abs(Pt[0]-Re)0?+m[s]:0),h.push({type:"Feature",geometry:{type:"Point",coordinates:_},properties:k})}}var x=M.extractOpts(a),A=x.reversescale?M.flipScale(x.colorscale):x.colorscale,L=A[0][1],b=["interpolate",["linear"],["heatmap-density"],0,i.opacity(L)<1?L:i.addOpacity(L,0)];for(s=1;s=0;l--)v.removeLayer(f[l][1])},M.dispose=function(){var v=this.subplot.map;this._removeLayers(),v.removeSource(this.sourceId)},T.exports=function(v,f){var l=f[0].trace,a=new i(v,l.uid),u=a.sourceId,o=d(f),s=a.below=v.belowLookup["trace-"+l.uid];return v.map.addSource(u,{type:"geojson",data:o.geojson}),a._addLayers(o,s),a}},49789:function(T,p,t){var d=t(71828);T.exports=function(g,i){for(var M=0;M"),u.color=function(k,E){var x=k.marker,A=E.mc||x.color,L=E.mlc||x.line.color,b=E.mlw||x.line.width;return d(A)?A:d(L)&&b?L:void 0}(s,c),[u]}}},51759:function(T,p,t){T.exports={attributes:t(1285),layoutAttributes:t(10440),supplyDefaults:t(26199).supplyDefaults,crossTraceDefaults:t(26199).crossTraceDefaults,supplyLayoutDefaults:t(93138),calc:t(9532),crossTraceCalc:t(8984),plot:t(80461),style:t(68266).style,hoverPoints:t(63341),eventData:t(34598),selectPoints:t(81974),moduleType:"trace",name:"funnel",basePlotModule:t(93612),categories:["bar-like","cartesian","svg","oriented","showLegend","zoomScale"],meta:{}}},10440:function(T){T.exports={funnelmode:{valType:"enumerated",values:["stack","group","overlay"],dflt:"stack",editType:"calc"},funnelgap:{valType:"number",min:0,max:1,editType:"calc"},funnelgroupgap:{valType:"number",min:0,max:1,dflt:0,editType:"calc"}}},93138:function(T,p,t){var d=t(71828),g=t(10440);T.exports=function(i,M,v){var f=!1;function l(o,s){return d.coerce(i,M,g,o,s)}for(var a=0;a path").each(function(w){if(!w.isBlank){var y=m.marker;d.select(this).call(i.fill,w.mc||y.color).call(i.stroke,w.mlc||y.line.color).call(g.dashLine,y.line.dash,w.mlw||y.line.width).style("opacity",m.selectedpoints&&!w.selected?M:1)}}),l(c,m,a),c.selectAll(".regions").each(function(){d.select(this).selectAll("path").style("stroke-width",0).call(i.fill,m.connector.fillcolor)}),c.selectAll(".lines").each(function(){var w=m.connector.line;g.lineGroupStyle(d.select(this).selectAll("path"),w.width,w.color,w.dash)})})}}},86807:function(T,p,t){var d=t(34e3),g=t(9012),i=t(27670).Y,M=t(5386).fF,v=t(5386).si,f=t(1426).extendFlat;T.exports={labels:d.labels,label0:d.label0,dlabel:d.dlabel,values:d.values,marker:{colors:d.marker.colors,line:{color:f({},d.marker.line.color,{dflt:null}),width:f({},d.marker.line.width,{dflt:1}),editType:"calc"},editType:"calc"},text:d.text,hovertext:d.hovertext,scalegroup:f({},d.scalegroup,{}),textinfo:f({},d.textinfo,{flags:["label","text","value","percent"]}),texttemplate:v({editType:"plot"},{keys:["label","color","value","text","percent"]}),hoverinfo:f({},g.hoverinfo,{flags:["label","text","value","percent","name"]}),hovertemplate:M({},{keys:["label","color","value","text","percent"]}),textposition:f({},d.textposition,{values:["inside","none"],dflt:"inside"}),textfont:d.textfont,insidetextfont:d.insidetextfont,title:{text:d.title.text,font:d.title.font,position:f({},d.title.position,{values:["top left","top center","top right"],dflt:"top center"}),editType:"plot"},domain:i({name:"funnelarea",trace:!0,editType:"calc"}),aspectratio:{valType:"number",min:0,dflt:1,editType:"plot"},baseratio:{valType:"number",min:0,max:1,dflt:.333,editType:"plot"}}},6452:function(T,p,t){var d=t(74875);p.name="funnelarea",p.plot=function(g,i,M,v){d.plotBasePlot(p.name,g,i,M,v)},p.clean=function(g,i,M,v){d.cleanBasePlot(p.name,g,i,M,v)}},89574:function(T,p,t){var d=t(32354);T.exports={calc:function(g,i){return d.calc(g,i)},crossTraceCalc:function(g){d.crossTraceCalc(g,{type:"funnelarea"})}}},86282:function(T,p,t){var d=t(71828),g=t(86807),i=t(27670).c,M=t(90769).handleText,v=t(37434).handleLabelsAndValues;T.exports=function(f,l,a,u){function o(k,E){return d.coerce(f,l,g,k,E)}var s=o("labels"),h=o("values"),c=v(s,h),m=c.len;if(l._hasLabels=c.hasLabels,l._hasValues=c.hasValues,!l._hasLabels&&l._hasValues&&(o("label0"),o("dlabel")),m){l._length=m,o("marker.line.width")&&o("marker.line.color",u.paper_bgcolor),o("marker.colors"),o("scalegroup");var w,y=o("text"),C=o("texttemplate");if(C||(w=o("textinfo",Array.isArray(y)?"text+percent":"percent")),o("hovertext"),o("hovertemplate"),C||w&&w!=="none"){var _=o("textposition");M(f,l,u,o,_,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1})}i(l,u,o),o("title.text")&&(o("title.position"),d.coerceFont(o,"title.font",u.font)),o("aspectratio"),o("baseratio")}else l.visible=!1}},10421:function(T,p,t){T.exports={moduleType:"trace",name:"funnelarea",basePlotModule:t(6452),categories:["pie-like","funnelarea","showLegend"],attributes:t(86807),layoutAttributes:t(80097),supplyDefaults:t(86282),supplyLayoutDefaults:t(57402),calc:t(89574).calc,crossTraceCalc:t(89574).crossTraceCalc,plot:t(79187),style:t(71858),styleOne:t(63463),meta:{}}},80097:function(T,p,t){var d=t(92774).hiddenlabels;T.exports={hiddenlabels:d,funnelareacolorway:{valType:"colorlist",editType:"calc"},extendfunnelareacolors:{valType:"boolean",dflt:!0,editType:"calc"}}},57402:function(T,p,t){var d=t(71828),g=t(80097);T.exports=function(i,M){function v(f,l){return d.coerce(i,M,g,f,l)}v("hiddenlabels"),v("funnelareacolorway",M.colorway),v("extendfunnelareacolors")}},79187:function(T,p,t){var d=t(39898),g=t(91424),i=t(71828),M=i.strScale,v=i.strTranslate,f=t(63893),l=t(17295).toMoveInsideBar,a=t(72597),u=a.recordMinTextSize,o=a.clearMinTextSize,s=t(53581),h=t(14575),c=h.attachFxHandlers,m=h.determineInsideTextFont,w=h.layoutAreas,y=h.prerenderTitles,C=h.positionTitleOutside,_=h.formatSliceLabel;function k(E,x){return"l"+(x[0]-E[0])+","+(x[1]-E[1])}T.exports=function(E,x){var A=E._context.staticPlot,L=E._fullLayout;o("funnelarea",L),y(x,E),w(x,L._size),i.makeTraceGroups(L._funnelarealayer,x,"trace").each(function(b){var R=d.select(this),I=b[0],O=I.trace;(function(z){if(z.length){var F=z[0],B=F.trace,N=B.aspectratio,W=B.baseratio;W>.999&&(W=.999);var j,$,U,G=Math.pow(W,2),q=F.vTotal,H=q,ne=q*G/(1-G)/q,te=[];for(te.push(Me()),$=z.length-1;$>-1;$--)if(!(U=z[$]).hidden){var Z=U.v/H;ne+=Z,te.push(Me())}var X=1/0,Q=-1/0;for($=0;$-1;$--)if(!(U=z[$]).hidden){var Pe=te[xe+=1][0],_e=te[xe][1];U.TL=[-Pe,_e],U.TR=[Pe,_e],U.BL=me,U.BR=pe,U.pxmid=(ye=U.TR,de=U.BR,[.5*(ye[0]+de[0]),.5*(ye[1]+de[1])]),me=U.TL,pe=U.TR}}function Me(){var Se,Ce={x:Se=Math.sqrt(ne),y:-Se};return[Ce.x,Ce.y]}})(b),R.each(function(){var z=d.select(this).selectAll("g.slice").data(b);z.enter().append("g").classed("slice",!0),z.exit().remove(),z.each(function(B,N){if(B.hidden)d.select(this).selectAll("path,g").remove();else{B.pointNumber=B.i,B.curveNumber=O.index;var W=I.cx,j=I.cy,$=d.select(this),U=$.selectAll("path.surface").data([B]);U.enter().append("path").classed("surface",!0).style({"pointer-events":A?"none":"all"}),$.call(c,E,b);var G="M"+(W+B.TR[0])+","+(j+B.TR[1])+k(B.TR,B.BR)+k(B.BR,B.BL)+k(B.BL,B.TL)+"Z";U.attr("d",G),_(E,B,I);var q=s.castOption(O.textposition,B.pts),H=$.selectAll("g.slicetext").data(B.text&&q!=="none"?[0]:[]);H.enter().append("g").classed("slicetext",!0),H.exit().remove(),H.each(function(){var ne=i.ensureSingle(d.select(this),"text","",function(ue){ue.attr("data-notex",1)}),te=i.ensureUniformFontSize(E,m(O,B,L.font));ne.text(B.text).attr({class:"slicetext",transform:"","text-anchor":"middle"}).call(g.font,te).call(f.convertToTspans,E);var Z,X,Q,re=g.bBox(ne.node()),ie=Math.min(B.BL[1],B.BR[1])+j,oe=Math.max(B.TL[1],B.TR[1])+j;X=Math.max(B.TL[0],B.BL[0])+W,Q=Math.min(B.TR[0],B.BR[0])+W,(Z=l(X,Q,ie,oe,re,{isHorizontal:!0,constrained:!0,angle:0,anchor:"middle"})).fontSize=te.size,u(O.type,Z,L),b[N].transform=Z,i.setTransormAndDisplay(ne,Z)})}});var F=d.select(this).selectAll("g.titletext").data(O.title.text?[0]:[]);F.enter().append("g").classed("titletext",!0),F.exit().remove(),F.each(function(){var B=i.ensureSingle(d.select(this),"text","",function(j){j.attr("data-notex",1)}),N=O.title.text;O._meta&&(N=i.templateString(N,O._meta)),B.text(N).attr({class:"titletext",transform:"","text-anchor":"middle"}).call(g.font,O.title.font).call(f.convertToTspans,E);var W=C(I,L._size);B.attr("transform",v(W.x,W.y)+M(Math.min(1,W.scale))+v(W.tx,W.ty))})})})}},71858:function(T,p,t){var d=t(39898),g=t(63463),i=t(72597).resizeText;T.exports=function(M){var v=M._fullLayout._funnelarealayer.selectAll(".trace");i(M,v,"funnelarea"),v.each(function(f){var l=f[0].trace,a=d.select(this);a.style({opacity:l.opacity}),a.selectAll("path.surface").each(function(u){d.select(this).call(g,u,l)})})}},21606:function(T,p,t){var d=t(82196),g=t(9012),i=t(41940),M=t(12663).axisHoverFormat,v=t(5386).fF,f=t(5386).si,l=t(50693),a=t(1426).extendFlat;T.exports=a({z:{valType:"data_array",editType:"calc"},x:a({},d.x,{impliedEdits:{xtype:"array"}}),x0:a({},d.x0,{impliedEdits:{xtype:"scaled"}}),dx:a({},d.dx,{impliedEdits:{xtype:"scaled"}}),y:a({},d.y,{impliedEdits:{ytype:"array"}}),y0:a({},d.y0,{impliedEdits:{ytype:"scaled"}}),dy:a({},d.dy,{impliedEdits:{ytype:"scaled"}}),xperiod:a({},d.xperiod,{impliedEdits:{xtype:"scaled"}}),yperiod:a({},d.yperiod,{impliedEdits:{ytype:"scaled"}}),xperiod0:a({},d.xperiod0,{impliedEdits:{xtype:"scaled"}}),yperiod0:a({},d.yperiod0,{impliedEdits:{ytype:"scaled"}}),xperiodalignment:a({},d.xperiodalignment,{impliedEdits:{xtype:"scaled"}}),yperiodalignment:a({},d.yperiodalignment,{impliedEdits:{ytype:"scaled"}}),text:{valType:"data_array",editType:"calc"},hovertext:{valType:"data_array",editType:"calc"},transpose:{valType:"boolean",dflt:!1,editType:"calc"},xtype:{valType:"enumerated",values:["array","scaled"],editType:"calc+clearAxisTypes"},ytype:{valType:"enumerated",values:["array","scaled"],editType:"calc+clearAxisTypes"},zsmooth:{valType:"enumerated",values:["fast","best",!1],dflt:!1,editType:"calc"},hoverongaps:{valType:"boolean",dflt:!0,editType:"none"},connectgaps:{valType:"boolean",editType:"calc"},xgap:{valType:"number",dflt:0,min:0,editType:"plot"},ygap:{valType:"number",dflt:0,min:0,editType:"plot"},xhoverformat:M("x"),yhoverformat:M("y"),zhoverformat:M("z",1),hovertemplate:v(),texttemplate:f({arrayOk:!1,editType:"plot"},{keys:["x","y","z","text"]}),textfont:i({editType:"plot",autoSize:!0,autoColor:!0,colorEditType:"style"}),showlegend:a({},g.showlegend,{dflt:!1})},{transforms:void 0},l("",{cLetter:"z",autoColorDflt:!1}))},90757:function(T,p,t){var d=t(73972),g=t(71828),i=t(89298),M=t(42973),v=t(17562),f=t(78803),l=t(68296),a=t(4742),u=t(824),o=t(43907),s=t(70769),h=t(50606).BADNUM;function c(m){for(var w=[],y=m.length,C=0;CG){$("x scale is not linear");break}}if(E.length&&W==="fast"){var q=(E[E.length-1]-E[0])/(E.length-1),H=Math.abs(q/100);for(R=0;RH){$("y scale is not linear");break}}}}var ne=g.maxRowLength(b),te=w.xtype==="scaled"?"":y,Z=s(w,te,C,_,ne,O),X=w.ytype==="scaled"?"":E,Q=s(w,X,x,A,b.length,z);N||(w._extremes[O._id]=i.findExtremes(O,Z),w._extremes[z._id]=i.findExtremes(z,Q));var re={x:Z,y:Q,z:b,text:w._text||w.text,hovertext:w._hovertext||w.hovertext};if(w.xperiodalignment&&k&&(re.orig_x=k),w.yperiodalignment&&L&&(re.orig_y=L),te&&te.length===Z.length-1&&(re.xCenter=te),X&&X.length===Q.length-1&&(re.yCenter=X),B&&(re.xRanges=I.xRanges,re.yRanges=I.yRanges,re.pts=I.pts),F||f(m,w,{vals:b,cLetter:"z"}),F&&w.contours&&w.contours.coloring==="heatmap"){var ie={type:w.type==="contour"?"heatmap":"histogram2d",xcalendar:w.xcalendar,ycalendar:w.ycalendar};re.xfill=s(ie,te,C,_,ne,O),re.yfill=s(ie,X,x,A,b.length,z)}return[re]}},4742:function(T,p,t){var d=t(92770),g=t(71828),i=t(50606).BADNUM;T.exports=function(M,v,f,l){var a,u,o,s,h,c;function m(E){if(d(E))return+E}if(v&&v.transpose){for(a=0,h=0;h=0;l--)(a=((h[[(M=(f=c[l])[0])-1,v=f[1]]]||y)[2]+(h[[M+1,v]]||y)[2]+(h[[M,v-1]]||y)[2]+(h[[M,v+1]]||y)[2])/20)&&(u[f]=[M,v,a],c.splice(l,1),o=!0);if(!o)throw"findEmpties iterated with no new neighbors";for(f in u)h[f]=u[f],s.push(u[f])}return s.sort(function(_,k){return k[2]-_[2]})}},46248:function(T,p,t){var d=t(30211),g=t(71828),i=t(89298),M=t(21081).extractOpts;T.exports=function(v,f,l,a,u){u||(u={});var o,s,h,c,m=u.isContour,w=v.cd[0],y=w.trace,C=v.xa,_=v.ya,k=w.x,E=w.y,x=w.z,A=w.xCenter,L=w.yCenter,b=w.zmask,R=y.zhoverformat,I=k,O=E;if(v.index!==!1){try{h=Math.round(v.index[1]),c=Math.round(v.index[0])}catch{return void g.error("Error hovering on heatmap, pointNumber must be [row,col], found:",v.index)}if(h<0||h>=x[0].length||c<0||c>x.length)return}else{if(d.inbox(f-k[0],f-k[k.length-1],0)>0||d.inbox(l-E[0],l-E[E.length-1],0)>0)return;if(m){var z;for(I=[2*k[0]-k[1]],z=1;zk&&(x=Math.max(x,Math.abs(v[u][o]-_)/(E-k))))}return x}T.exports=function(v,f){var l,a=1;for(M(v,f),l=0;l.01;l++)a=M(v,f,i(a));return a>.01&&d.log("interp2d didn't converge quickly",a),v}},58623:function(T,p,t){var d=t(71828);T.exports=function(g,i){g("texttemplate");var M=d.extendFlat({},i.font,{color:"auto",size:"auto"});d.coerceFont(g,"textfont",M)}},70769:function(T,p,t){var d=t(73972),g=t(71828).isArrayOrTypedArray;T.exports=function(i,M,v,f,l,a){var u,o,s,h=[],c=d.traceIs(i,"contour"),m=d.traceIs(i,"histogram"),w=d.traceIs(i,"gl2d");if(g(M)&&M.length>1&&!m&&a.type!=="category"){var y=M.length;if(!(y<=l))return c?M.slice(0,l):M.slice(0,l+1);if(c||w)h=M.slice(0,l);else if(l===1)h=[M[0]-.5,M[0]+.5];else{for(h=[1.5*M[0]-.5*M[1]],s=1;s0;)z=b.c2p(Z[W]),W--;for(z0;)N=R.c2p(X[W]),W--;if(NWt||Wt>R._length))for(j=wt;jQt||Qt>b._length)){var rn=a({x:Xt,y:Yt},q,E._fullLayout);rn.x=Xt,rn.y=Yt;var xn=G.z[W][j];xn===void 0?(rn.z="",rn.zLabel=""):(rn.z=xn,rn.zLabel=v.tickText(It,xn,"hover").text);var un=G.text&&G.text[W]&&G.text[W][j];un!==void 0&&un!==!1||(un=""),rn.text=un;var An=f.texttemplateString(dt,rn,E._fullLayout._d3locale,rn,q._meta||{});if(An){var Yn=An.split("
"),kn=Yn.length,sn=0;for($=0;$0&&(k=!0);for(var A=0;Af){var l=f-M[g];return M[g]=f,l}}return 0},max:function(g,i,M,v){var f=v[i];if(d(f)){if(f=Number(f),!d(M[g]))return M[g]=f,f;if(M[g]l?c>M?c>1.1*g?g:c>1.1*i?i:M:c>v?v:c>f?f:l:Math.pow(10,Math.floor(Math.log(c)/Math.LN10))}function s(c,m,w,y,C,_){if(y&&c>M){var k=h(m,C,_),E=h(w,C,_),x=c===g?0:1;return k[x]!==E[x]}return Math.floor(w/c)-Math.floor(m/c)>.1}function h(c,m,w){var y=m.c2d(c,g,w).split("-");return y[0]===""&&(y.unshift(),y[0]="-"+y[0]),y}T.exports=function(c,m,w,y,C){var _,k,E=-1.1*m,x=-.1*m,A=c-x,L=w[0],b=w[1],R=Math.min(u(L+x,L+A,y,C),u(b+x,b+A,y,C)),I=Math.min(u(L+E,L+x,y,C),u(b+E,b+x,y,C));if(R>I&&IM){var O=_===g?1:6,z=_===g?"M12":"M1";return function(F,B){var N=y.c2d(F,g,C),W=N.indexOf("-",O);W>0&&(N=N.substr(0,W));var j=y.d2c(N,0,C);if(jc.r2l(re)&&(oe=M.tickIncrement(oe,I.size,!0,k)),te.start=c.l2r(oe),Q||g.nestedProperty(h,L+".start").set(te.start)}var ue=I.end,ce=c.r2l(ne.end),ye=ce!==void 0;if((I.endFound||ye)&&ce!==c.r2l(ue)){var de=ye?ce:g.aggNums(Math.max,null,E);te.end=c.l2r(de),ye||g.nestedProperty(h,L+".start").set(te.end)}var me="autobin"+m;return h._input[me]===!1&&(h._input[L]=g.extendFlat({},h[L]||{}),delete h._input[me],delete h[me]),[te,E]}T.exports={calc:function(s,h){var c,m,w,y,C=[],_=[],k=h.orientation==="h",E=M.getFromId(s,k?h.yaxis:h.xaxis),x=k?"y":"x",A={x:"y",y:"x"}[x],L=h[x+"calendar"],b=h.cumulative,R=o(s,h,E,x),I=R[0],O=R[1],z=typeof I.size=="string",F=[],B=z?F:I,N=[],W=[],j=[],$=0,U=h.histnorm,G=h.histfunc,q=U.indexOf("density")!==-1;b.enabled&&q&&(U=U.replace(/ ?density$/,""),q=!1);var H,ne=G==="max"||G==="min"?null:0,te=f.count,Z=l[U],X=!1,Q=function(Ce){return E.r2c(Ce,0,L)};for(g.isArrayOrTypedArray(h[A])&&G!=="count"&&(H=h[A],X=G==="avg",te=f[G]),c=Q(I.start),w=Q(I.end)+(c-M.tickIncrement(c,I.size,!1,L))/1e6;c=0&&y=0;be--)ze(be);else if(ae==="increasing"){for(be=1;be=0;be--)Ce[be]+=Ce[be+1];fe==="exclude"&&(Ce.push(0),Ce.shift())}}(_,b.direction,b.currentbin);var xe=Math.min(C.length,_.length),Pe=[],_e=0,Me=xe-1;for(c=0;c=_e;c--)if(_[c]){Me=c;break}for(c=_e;c<=Me;c++)if(d(C[c])&&d(_[c])){var Se={p:C[c],s:_[c],b:0};b.enabled||(Se.pts=j[c],ce?Se.ph0=Se.ph1=j[c].length?O[j[c][0]]:C[c]:(h._computePh=!0,Se.ph0=oe(F[c]),Se.ph1=oe(F[c+1],!0))),Pe.push(Se)}return Pe.length===1&&(Pe[0].width1=M.tickIncrement(Pe[0].p,I.size,!1,L)-Pe[0].p),v(Pe,h),g.isArrayOrTypedArray(h.selectedpoints)&&g.tagSelected(Pe,h,me),Pe},calcAllAutoBins:o}},72406:function(T){T.exports={eventDataKeys:["binNumber"]}},82222:function(T,p,t){var d=t(71828),g=t(41675),i=t(73972).traceIs,M=t(26125),v=d.nestedProperty,f=t(99082).getAxisGroup,l=[{aStr:{x:"xbins.start",y:"ybins.start"},name:"start"},{aStr:{x:"xbins.end",y:"ybins.end"},name:"end"},{aStr:{x:"xbins.size",y:"ybins.size"},name:"size"},{aStr:{x:"nbinsx",y:"nbinsy"},name:"nbins"}],a=["x","y"];T.exports=function(u,o){var s,h,c,m,w,y,C,_=o._histogramBinOpts={},k=[],E={},x=[];function A(q,H){return d.coerce(s._input,s,s._module.attributes,q,H)}function L(q){return q.orientation==="v"?"x":"y"}function b(q,H,ne){var te=q.uid+"__"+ne;H||(H=te);var Z=function(ie,oe){return g.getFromTrace({_fullLayout:o},ie,oe).type}(q,ne),X=q[ne+"calendar"]||"",Q=_[H],re=!0;Q&&(Z===Q.axType&&X===Q.calendar?(re=!1,Q.traces.push(q),Q.dirs.push(ne)):(H=te,Z!==Q.axType&&d.warn(["Attempted to group the bins of trace",q.index,"set on a","type:"+Z,"axis","with bins on","type:"+Q.axType,"axis."].join(" ")),X!==Q.calendar&&d.warn(["Attempted to group the bins of trace",q.index,"set with a",X,"calendar","with bins",Q.calendar?"on a "+Q.calendar+" calendar":"w/o a set calendar"].join(" ")))),re&&(_[H]={traces:[q],dirs:[ne],axType:Z,calendar:q[ne+"calendar"]||""}),q["_"+ne+"bingroup"]=H}for(w=0;wF&&R.splice(F,R.length-F),z.length>F&&z.splice(F,z.length-F);var B=[],N=[],W=[],j=typeof b.size=="string",$=typeof O.size=="string",U=[],G=[],q=j?U:b,H=$?G:O,ne=0,te=[],Z=[],X=h.histnorm,Q=h.histfunc,re=X.indexOf("density")!==-1,ie=Q==="max"||Q==="min"?null:0,oe=i.count,ue=M[X],ce=!1,ye=[],de=[],me="z"in h?h.z:"marker"in h&&Array.isArray(h.marker.color)?h.marker.color:"";me&&Q!=="count"&&(ce=Q==="avg",oe=i[Q]);var pe=b.size,xe=x(b.start),Pe=x(b.end)+(xe-g.tickIncrement(xe,pe,!1,k))/1e6;for(c=xe;c=0&&w=0&&y-1,flipY:N.tiling.flip.indexOf("y")>-1,orientation:N.tiling.orientation,pad:{inner:N.tiling.pad},maxDepth:N._maxDepth}).descendants(),G=1/0,q=-1/0;U.forEach(function(X){var Q=X.depth;Q>=N._maxDepth?(X.x0=X.x1=(X.x0+X.x1)/2,X.y0=X.y1=(X.y0+X.y1)/2):(G=Math.min(G,Q),q=Math.max(q,Q))}),w=w.data(U,a.getPtId),N._maxVisibleLayers=isFinite(q)?q-G+1:0,w.enter().append("g").classed("slice",!0),R(w,s,{},[C,_],x),w.order();var H=null;if(b&&z){var ne=a.getPtId(z);w.each(function(X){H===null&&a.getPtId(X)===ne&&(H={x0:X.x0,x1:X.x1,y0:X.y0,y1:X.y1})})}var te=function(){return H||{x0:0,x1:C,y0:0,y1:_}},Z=w;return b&&(Z=Z.transition().each("end",function(){var X=d.select(this);a.setSliceCursor(X,h,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})})),Z.each(function(X){X._x0=k(X.x0),X._x1=k(X.x1),X._y0=E(X.y0),X._y1=E(X.y1),X._hoverX=k(X.x1-N.tiling.pad),X._hoverY=E($?X.y1-N.tiling.pad/2:X.y0+N.tiling.pad/2);var Q=d.select(this),re=g.ensureSingle(Q,"path","surface",function(ce){ce.style("pointer-events",F?"none":"all")});b?re.transition().attrTween("d",function(ce){var ye=I(ce,s,te(),[C,_],{orientation:N.tiling.orientation,flipX:N.tiling.flip.indexOf("x")>-1,flipY:N.tiling.flip.indexOf("y")>-1});return function(de){return x(ye(de))}}):re.attr("d",x),Q.call(u,m,h,c,{styleOne:f,eventDataKeys:l.eventDataKeys,transitionTime:l.CLICK_TRANSITION_TIME,transitionEasing:l.CLICK_TRANSITION_EASING}).call(a.setSliceCursor,h,{isTransitioning:h._transitioning}),re.call(f,X,N,{hovered:!1}),X.x0===X.x1||X.y0===X.y1?X._text="":X._text=o(X,m,N,c,B)||"";var ie=g.ensureSingle(Q,"g","slicetext"),oe=g.ensureSingle(ie,"text","",function(ce){ce.attr("data-notex",1)}),ue=g.ensureUniformFontSize(h,a.determineTextFont(N,X,B.font));oe.text(X._text||" ").classed("slicetext",!0).attr("text-anchor",j?"end":W?"start":"middle").call(i.font,ue).call(M.convertToTspans,h),X.textBB=i.bBox(oe.node()),X.transform=A(X,{fontSize:ue.size}),X.transform.fontSize=ue.size,b?oe.transition().attrTween("transform",function(ce){var ye=O(ce,s,te(),[C,_]);return function(de){return L(ye(de))}}):oe.attr("transform",L(X))}),H}},69816:function(T,p,t){T.exports={moduleType:"trace",name:"icicle",basePlotModule:t(96346),categories:[],animatable:!0,attributes:t(46291),layoutAttributes:t(92894),supplyDefaults:t(56524),supplyLayoutDefaults:t(21070),calc:t(46584).y,crossTraceCalc:t(46584).T,plot:t(85596),style:t(82454).style,colorbar:t(4898),meta:{}}},92894:function(T){T.exports={iciclecolorway:{valType:"colorlist",editType:"calc"},extendiciclecolors:{valType:"boolean",dflt:!0,editType:"calc"}}},21070:function(T,p,t){var d=t(71828),g=t(92894);T.exports=function(i,M){function v(f,l){return d.coerce(i,M,g,f,l)}v("iciclecolorway",M.colorway),v("extendiciclecolors")}},21538:function(T,p,t){var d=t(674),g=t(14102);T.exports=function(i,M,v){var f=v.flipX,l=v.flipY,a=v.orientation==="h",u=v.maxDepth,o=M[0],s=M[1];u&&(o=(i.height+1)*M[0]/Math.min(i.height+1,u),s=(i.height+1)*M[1]/Math.min(i.height+1,u));var h=d.partition().padding(v.pad.inner).size(a?[M[1],o]:[M[0],s])(i);return(a||f||l)&&g(h,M,{swapXY:a,flipX:f,flipY:l}),h}},85596:function(T,p,t){var d=t(80694),g=t(90666);T.exports=function(i,M,v,f){return d(i,M,v,f,{type:"icicle",drawDescendants:g})}},82454:function(T,p,t){var d=t(39898),g=t(7901),i=t(71828),M=t(72597).resizeText;function v(f,l,a){var u=l.data.data,o=!l.children,s=u.i,h=i.castOption(a,s,"marker.line.color")||g.defaultLine,c=i.castOption(a,s,"marker.line.width")||0;f.style("stroke-width",c).call(g.fill,u.color).call(g.stroke,h).style("opacity",o?a.leaf.opacity:null)}T.exports={style:function(f){var l=f._fullLayout._iciclelayer.selectAll(".trace");M(f,l,"icicle"),l.each(function(a){var u=d.select(this),o=a[0].trace;u.style("opacity",o.opacity),u.selectAll("path.surface").each(function(s){d.select(this).call(v,s,o)})})},styleOne:v}},17230:function(T,p,t){for(var d=t(9012),g=t(5386).fF,i=t(1426).extendFlat,M=t(51877).colormodel,v=["rgb","rgba","rgba256","hsl","hsla"],f=[],l=[],a=0;a0||d.inbox(f-l.y0,f-(l.y0+l.h*a.dy),0)>0)){var s,h=Math.floor((v-l.x0)/a.dx),c=Math.floor(Math.abs(f-l.y0)/a.dy);if(a._hasZ?s=l.z[c][h]:a._hasSource&&(s=a._canvas.el.getContext("2d",{willReadFrequently:!0}).getImageData(h,c,1,1).data),s){var m,w=l.hi||a.hoverinfo;if(w){var y=w.split("+");y.indexOf("all")!==-1&&(y=["color"]),y.indexOf("color")!==-1&&(m=!0)}var C,_=i.colormodel[a.colormodel],k=_.colormodel||a.colormodel,E=k.length,x=a._scaler(s),A=_.suffix,L=[];(a.hovertemplate||m)&&(L.push("["+[x[0]+A[0],x[1]+A[1],x[2]+A[2]].join(", ")),E===4&&L.push(", "+x[3]+A[3]),L.push("]"),L=L.join(""),M.extraText=k.toUpperCase()+": "+L),Array.isArray(a.hovertext)&&Array.isArray(a.hovertext[c])?C=a.hovertext[c][h]:Array.isArray(a.text)&&Array.isArray(a.text[c])&&(C=a.text[c][h]);var b=o.c2p(l.y0+(c+.5)*a.dy),R=l.x0+(h+.5)*a.dx,I=l.y0+(c+.5)*a.dy,O="["+s.slice(0,a.colormodel.length).join(", ")+"]";return[g.extendFlat(M,{index:[c,h],x0:u.c2p(l.x0+h*a.dx),x1:u.c2p(l.x0+(h+1)*a.dx),y0:b,y1:b,color:x,xVal:R,xLabelVal:R,yVal:I,yLabelVal:I,zLabelVal:O,text:C,hovertemplateLabels:{zLabel:O,colorLabel:L,"color[0]Label":x[0]+A[0],"color[1]Label":x[1]+A[1],"color[2]Label":x[2]+A[2],"color[3]Label":x[3]+A[3]}})]}}}},94507:function(T,p,t){T.exports={attributes:t(17230),supplyDefaults:t(13245),calc:t(71113),plot:t(60775),style:t(12826),hoverPoints:t(28749),eventData:t(30835),moduleType:"trace",name:"image",basePlotModule:t(93612),categories:["cartesian","svg","2dMap","noSortingByValue"],animatable:!1,meta:{}}},60775:function(T,p,t){var d=t(39898),g=t(71828),i=g.strTranslate,M=t(77922),v=t(51877),f=g.isIOS()||g.isSafari()||g.isIE();T.exports=function(l,a,u,o){var s=a.xaxis,h=a.yaxis,c=!(f||l._context._exportedPlot);g.makeTraceGroups(o,u,"im").each(function(m){var w=d.select(this),y=m[0],C=y.trace,_=(C.zsmooth==="fast"||C.zsmooth===!1&&c)&&!C._hasZ&&C._hasSource&&s.type==="linear"&&h.type==="linear";C._realImage=_;var k,E,x,A,L,b,R=y.z,I=y.x0,O=y.y0,z=y.w,F=y.h,B=C.dx,N=C.dy;for(b=0;k===void 0&&b0;)E=s.c2p(I+b*B),b--;for(b=0;A===void 0&&b0;)L=h.c2p(O+b*N),b--;Eq[0];if(H||ne){var te=k+W/2,Z=A+j/2;U+="transform:"+i(te+"px",Z+"px")+"scale("+(H?-1:1)+","+(ne?-1:1)+")"+i(-te+"px",-Z+"px")+";"}}$.attr("style",U);var X=new Promise(function(re){if(C._hasZ)re();else if(C._hasSource)if(C._canvas&&C._canvas.el.width===z&&C._canvas.el.height===F&&C._canvas.source===C.source)re();else{var ie=document.createElement("canvas");ie.width=z,ie.height=F;var oe=ie.getContext("2d",{willReadFrequently:!0});C._image=C._image||new Image;var ue=C._image;ue.onload=function(){oe.drawImage(ue,0,0),C._canvas={el:ie,source:C.source},re()},ue.setAttribute("src",C.source)}}).then(function(){var re,ie;if(C._hasZ)ie=Q(function(ue,ce){return R[ce][ue]}),re=ie.toDataURL("image/png");else if(C._hasSource)if(_)re=C.source;else{var oe=C._canvas.el.getContext("2d",{willReadFrequently:!0}).getImageData(0,0,z,F).data;ie=Q(function(ue,ce){var ye=4*(ce*z+ue);return[oe[ye],oe[ye+1],oe[ye+2],oe[ye+3]]}),re=ie.toDataURL("image/png")}$.attr({"xlink:href":re,height:j,width:W,x:k,y:A})});l._promises.push(X)}function Q(re){var ie=document.createElement("canvas");ie.width=W,ie.height=j;var oe,ue=ie.getContext("2d",{willReadFrequently:!0}),ce=function(Ce){return g.constrain(Math.round(s.c2p(I+Ce*B)-k),0,W)},ye=function(Ce){return g.constrain(Math.round(h.c2p(O+Ce*N)-A),0,j)},de=v.colormodel[C.colormodel],me=de.colormodel||C.colormodel,pe=de.fmt;for(b=0;b0}function x(I){I.each(function(O){y.stroke(d.select(this),O.line.color)}).each(function(O){y.fill(d.select(this),O.color)}).style("stroke-width",function(O){return O.line.width})}function A(I,O,z){var F=I._fullLayout,B=M.extendFlat({type:"linear",ticks:"outside",range:z,showline:!0},O),N={type:"linear",_id:"x"+O._id},W={letter:"x",font:F.font,noHover:!0,noTickson:!0};function j($,U){return M.coerce(B,N,w,$,U)}return c(B,N,j,W,F),m(B,N,j,W),N}function L(I,O,z){return[Math.min(O/I.width,z/I.height),I,O+"x"+z]}function b(I,O,z,F){var B=document.createElementNS("http://www.w3.org/2000/svg","text"),N=d.select(B);return N.text(I).attr("x",0).attr("y",0).attr("text-anchor",z).attr("data-unformatted",I).call(s.convertToTspans,F).call(u.font,O),u.bBox(N.node())}function R(I,O,z,F,B,N){var W="_cache"+O;I[W]&&I[W].key===B||(I[W]={key:B,value:z});var j=M.aggNums(N,null,[I[W].value,F],2);return I[W].value=j,j}T.exports=function(I,O,z,F){var B,N=I._fullLayout;E(z)&&F&&(B=F()),M.makeTraceGroups(N._indicatorlayer,O,"trace").each(function(W){var j,$,U,G,q,H=W[0].trace,ne=d.select(this),te=H._hasGauge,Z=H._isAngular,X=H._isBullet,Q=H.domain,re={w:N._size.w*(Q.x[1]-Q.x[0]),h:N._size.h*(Q.y[1]-Q.y[0]),l:N._size.l+N._size.w*Q.x[0],r:N._size.r+N._size.w*(1-Q.x[1]),t:N._size.t+N._size.h*(1-Q.y[1]),b:N._size.b+N._size.h*Q.y[0]},ie=re.l+re.w/2,oe=re.t+re.h/2,ue=Math.min(re.w/2,re.h),ce=o.innerRadius*ue,ye=H.align||"center";if($=oe,te){if(Z&&(j=ie,$=oe+ue/2,U=function(Se){return function(Ce,ae){return[ae/Math.sqrt(Ce.width/2*(Ce.width/2)+Ce.height*Ce.height),Ce,ae]}(Se,.9*ce)}),X){var de=o.bulletPadding,me=1-o.bulletNumberDomainSize+de;j=re.l+(me+(1-me)*_[ye])*re.w,U=function(Se){return L(Se,(o.bulletNumberDomainSize-de)*re.w,re.h)}}}else j=re.l+_[ye]*re.w,U=function(Se){return L(Se,re.w,re.h)};(function(Se,Ce,ae,fe){var be,ke,Le,Be=ae[0].trace,ze=fe.numbersX,je=fe.numbersY,ge=Be.align||"center",we=C[ge],Ee=fe.transitionOpts,Ve=fe.onComplete,$e=M.ensureSingle(Ce,"g","numbers"),Ye=[];Be._hasNumber&&Ye.push("number"),Be._hasDelta&&(Ye.push("delta"),Be.delta.position==="left"&&Ye.reverse());var st=$e.selectAll("text").data(Ye);function ot(Bt,qt,Vt,Ke){if(!Bt.match("s")||Vt>=0==Ke>=0||qt(Vt).slice(-1).match(k)||qt(Ke).slice(-1).match(k))return qt;var Je=Bt.slice().replace("s","f").replace(/\d+/,function(nt){return parseInt(nt)-1}),qe=A(Se,{tickformat:Je});return function(nt){return Math.abs(nt)<1?h.tickText(qe,nt).text:qt(nt)}}st.enter().append("text"),st.attr("text-anchor",function(){return we}).attr("class",function(Bt){return Bt}).attr("x",null).attr("y",null).attr("dx",null).attr("dy",null),st.exit().remove();var ht,bt=Be.mode+Be.align;if(Be._hasDelta&&(ht=function(){var Bt=A(Se,{tickformat:Be.delta.valueformat},Be._range);Bt.setScale(),h.prepTicks(Bt);var qt=function(Ne){return h.tickText(Bt,Ne).text},Vt=Be.delta.suffix,Ke=Be.delta.prefix,Je=function(Ne){return Be.delta.relative?Ne.relativeDelta:Ne.delta},qe=function(Ne,Qe){return Ne===0||typeof Ne!="number"||isNaN(Ne)?"-":(Ne>0?Be.delta.increasing.symbol:Be.delta.decreasing.symbol)+Ke+Qe(Ne)+Vt},nt=function(Ne){return Ne.delta>=0?Be.delta.increasing.color:Be.delta.decreasing.color};Be._deltaLastValue===void 0&&(Be._deltaLastValue=Je(ae[0]));var ft=$e.select("text.delta");function Re(){ft.text(qe(Je(ae[0]),qt)).call(y.fill,nt(ae[0])).call(s.convertToTspans,Se)}return ft.call(u.font,Be.delta.font).call(y.fill,nt({delta:Be._deltaLastValue})),E(Ee)?ft.transition().duration(Ee.duration).ease(Ee.easing).tween("text",function(){var Ne=d.select(this),Qe=Je(ae[0]),ut=Be._deltaLastValue,dt=ot(Be.delta.valueformat,qt,ut,Qe),_t=i(ut,Qe);return Be._deltaLastValue=Qe,function(It){Ne.text(qe(_t(It),dt)),Ne.call(y.fill,nt({delta:_t(It)}))}}).each("end",function(){Re(),Ve&&Ve()}).each("interrupt",function(){Re(),Ve&&Ve()}):Re(),ke=b(qe(Je(ae[0]),qt),Be.delta.font,we,Se),ft}(),bt+=Be.delta.position+Be.delta.font.size+Be.delta.font.family+Be.delta.valueformat,bt+=Be.delta.increasing.symbol+Be.delta.decreasing.symbol,Le=ke),Be._hasNumber&&(function(){var Bt=A(Se,{tickformat:Be.number.valueformat},Be._range);Bt.setScale(),h.prepTicks(Bt);var qt=function(nt){return h.tickText(Bt,nt).text},Vt=Be.number.suffix,Ke=Be.number.prefix,Je=$e.select("text.number");function qe(){var nt=typeof ae[0].y=="number"?Ke+qt(ae[0].y)+Vt:"-";Je.text(nt).call(u.font,Be.number.font).call(s.convertToTspans,Se)}E(Ee)?Je.transition().duration(Ee.duration).ease(Ee.easing).each("end",function(){qe(),Ve&&Ve()}).each("interrupt",function(){qe(),Ve&&Ve()}).attrTween("text",function(){var nt=d.select(this),ft=i(ae[0].lastY,ae[0].y);Be._lastValue=ae[0].y;var Re=ot(Be.number.valueformat,qt,ae[0].lastY,ae[0].y);return function(Ne){nt.text(Ke+Re(ft(Ne))+Vt)}}):qe(),be=b(Ke+qt(ae[0].y)+Vt,Be.number.font,we,Se)}(),bt+=Be.number.font.size+Be.number.font.family+Be.number.valueformat+Be.number.suffix+Be.number.prefix,Le=be),Be._hasDelta&&Be._hasNumber){var Et,kt,xt=[(be.left+be.right)/2,(be.top+be.bottom)/2],Ft=[(ke.left+ke.right)/2,(ke.top+ke.bottom)/2],Ot=.75*Be.delta.font.size;Be.delta.position==="left"&&(Et=R(Be,"deltaPos",0,-1*(be.width*_[Be.align]+ke.width*(1-_[Be.align])+Ot),bt,Math.min),kt=xt[1]-Ft[1],Le={width:be.width+ke.width+Ot,height:Math.max(be.height,ke.height),left:ke.left+Et,right:be.right,top:Math.min(be.top,ke.top+kt),bottom:Math.max(be.bottom,ke.bottom+kt)}),Be.delta.position==="right"&&(Et=R(Be,"deltaPos",0,be.width*(1-_[Be.align])+ke.width*_[Be.align]+Ot,bt,Math.max),kt=xt[1]-Ft[1],Le={width:be.width+ke.width+Ot,height:Math.max(be.height,ke.height),left:be.left,right:ke.right+Et,top:Math.min(be.top,ke.top+kt),bottom:Math.max(be.bottom,ke.bottom+kt)}),Be.delta.position==="bottom"&&(Et=null,kt=ke.height,Le={width:Math.max(be.width,ke.width),height:be.height+ke.height,left:Math.min(be.left,ke.left),right:Math.max(be.right,ke.right),top:be.bottom-be.height,bottom:be.bottom+ke.height}),Be.delta.position==="top"&&(Et=null,kt=be.top,Le={width:Math.max(be.width,ke.width),height:be.height+ke.height,left:Math.min(be.left,ke.left),right:Math.max(be.right,ke.right),top:be.bottom-be.height-ke.height,bottom:be.bottom}),ht.attr({dx:Et,dy:kt})}(Be._hasNumber||Be._hasDelta)&&$e.attr("transform",function(){var Bt=fe.numbersScaler(Le);bt+=Bt[2];var qt,Vt=R(Be,"numbersScale",1,Bt[0],bt,Math.min);Be._scaleNumbers||(Vt=1),qt=Be._isAngular?je-Vt*Le.bottom:je-Vt*(Le.top+Le.bottom)/2,Be._numbersTop=Vt*Le.top+qt;var Ke=Le[ge];ge==="center"&&(Ke=(Le.left+Le.right)/2);var Je=ze-Vt*Ke;return Je=R(Be,"numbersTranslate",0,Je,bt,Math.max),f(Je,qt)+v(Vt)})})(I,ne,W,{numbersX:j,numbersY:$,numbersScaler:U,transitionOpts:z,onComplete:B}),te&&(G={range:H.gauge.axis.range,color:H.gauge.bgcolor,line:{color:H.gauge.bordercolor,width:0},thickness:1},q={range:H.gauge.axis.range,color:"rgba(0, 0, 0, 0)",line:{color:H.gauge.bordercolor,width:H.gauge.borderwidth},thickness:1});var pe=ne.selectAll("g.angular").data(Z?W:[]);pe.exit().remove();var xe=ne.selectAll("g.angularaxis").data(Z?W:[]);xe.exit().remove(),Z&&function(Se,Ce,ae,fe){var be,ke,Le,Be,ze=ae[0].trace,je=fe.size,ge=fe.radius,we=fe.innerRadius,Ee=fe.gaugeBg,Ve=fe.gaugeOutline,$e=[je.l+je.w/2,je.t+je.h/2+ge/2],Ye=fe.gauge,st=fe.layer,ot=fe.transitionOpts,ht=fe.onComplete,bt=Math.PI/2;function Et(It){var Lt=ze.gauge.axis.range[0],yt=(It-Lt)/(ze.gauge.axis.range[1]-Lt)*Math.PI-bt;return yt<-bt?-bt:yt>bt?bt:yt}function kt(It){return d.svg.arc().innerRadius((we+ge)/2-It/2*(ge-we)).outerRadius((we+ge)/2+It/2*(ge-we)).startAngle(-bt)}function xt(It){It.attr("d",function(Lt){return kt(Lt.thickness).startAngle(Et(Lt.range[0])).endAngle(Et(Lt.range[1]))()})}Ye.enter().append("g").classed("angular",!0),Ye.attr("transform",f($e[0],$e[1])),st.enter().append("g").classed("angularaxis",!0).classed("crisp",!0),st.selectAll("g.xangularaxistick,path,text").remove(),(be=A(Se,ze.gauge.axis)).type="linear",be.range=ze.gauge.axis.range,be._id="xangularaxis",be.ticklabeloverflow="allow",be.setScale();var Ft=function(It){return(be.range[0]-It.x)/(be.range[1]-be.range[0])*Math.PI+Math.PI},Ot={},Bt=h.makeLabelFns(be,0).labelStandoff;Ot.xFn=function(It){var Lt=Ft(It);return Math.cos(Lt)*Bt},Ot.yFn=function(It){var Lt=Ft(It),yt=Math.sin(Lt)>0?.2:1;return-Math.sin(Lt)*(Bt+It.fontSize*yt)+Math.abs(Math.cos(Lt))*(It.fontSize*a)},Ot.anchorFn=function(It){var Lt=Ft(It),yt=Math.cos(Lt);return Math.abs(yt)<.1?"middle":yt>0?"start":"end"},Ot.heightFn=function(It,Lt,yt){var Pt=Ft(It);return-.5*(1+Math.sin(Pt))*yt};var qt=function(It){return f($e[0]+ge*Math.cos(It),$e[1]-ge*Math.sin(It))};if(Le=function(It){return qt(Ft(It))},ke=h.calcTicks(be),Be=h.getTickSigns(be)[2],be.visible){Be=be.ticks==="inside"?-1:1;var Vt=(be.linewidth||1)/2;h.drawTicks(Se,be,{vals:ke,layer:st,path:"M"+Be*Vt+",0h"+Be*be.ticklen,transFn:function(It){var Lt=Ft(It);return qt(Lt)+"rotate("+-l(Lt)+")"}}),h.drawLabels(Se,be,{vals:ke,layer:st,transFn:Le,labelFns:Ot})}var Ke=[Ee].concat(ze.gauge.steps),Je=Ye.selectAll("g.bg-arc").data(Ke);Je.enter().append("g").classed("bg-arc",!0).append("path"),Je.select("path").call(xt).call(x),Je.exit().remove();var qe=kt(ze.gauge.bar.thickness),nt=Ye.selectAll("g.value-arc").data([ze.gauge.bar]);nt.enter().append("g").classed("value-arc",!0).append("path");var ft,Re,Ne,Qe=nt.select("path");E(ot)?(Qe.transition().duration(ot.duration).ease(ot.easing).each("end",function(){ht&&ht()}).each("interrupt",function(){ht&&ht()}).attrTween("d",(ft=qe,Re=Et(ae[0].lastY),Ne=Et(ae[0].y),function(){var It=g(Re,Ne);return function(Lt){return ft.endAngle(It(Lt))()}})),ze._lastValue=ae[0].y):Qe.attr("d",typeof ae[0].y=="number"?qe.endAngle(Et(ae[0].y)):"M0,0Z"),Qe.call(x),nt.exit().remove(),Ke=[];var ut=ze.gauge.threshold.value;(ut||ut===0)&&Ke.push({range:[ut,ut],color:ze.gauge.threshold.color,line:{color:ze.gauge.threshold.line.color,width:ze.gauge.threshold.line.width},thickness:ze.gauge.threshold.thickness});var dt=Ye.selectAll("g.threshold-arc").data(Ke);dt.enter().append("g").classed("threshold-arc",!0).append("path"),dt.select("path").call(xt).call(x),dt.exit().remove();var _t=Ye.selectAll("g.gauge-outline").data([Ve]);_t.enter().append("g").classed("gauge-outline",!0).append("path"),_t.select("path").call(xt).call(x),_t.exit().remove()}(I,0,W,{radius:ue,innerRadius:ce,gauge:pe,layer:xe,size:re,gaugeBg:G,gaugeOutline:q,transitionOpts:z,onComplete:B});var Pe=ne.selectAll("g.bullet").data(X?W:[]);Pe.exit().remove();var _e=ne.selectAll("g.bulletaxis").data(X?W:[]);_e.exit().remove(),X&&function(Se,Ce,ae,fe){var be,ke,Le,Be,ze,je=ae[0].trace,ge=fe.gauge,we=fe.layer,Ee=fe.gaugeBg,Ve=fe.gaugeOutline,$e=fe.size,Ye=je.domain,st=fe.transitionOpts,ot=fe.onComplete;ge.enter().append("g").classed("bullet",!0),ge.attr("transform",f($e.l,$e.t)),we.enter().append("g").classed("bulletaxis",!0).classed("crisp",!0),we.selectAll("g.xbulletaxistick,path,text").remove();var ht=$e.h,bt=je.gauge.bar.thickness*ht,Et=Ye.x[0],kt=Ye.x[0]+(Ye.x[1]-Ye.x[0])*(je._hasNumber||je._hasDelta?1-o.bulletNumberDomainSize:1);function xt(Je){Je.attr("width",function(qe){return Math.max(0,be.c2p(qe.range[1])-be.c2p(qe.range[0]))}).attr("x",function(qe){return be.c2p(qe.range[0])}).attr("y",function(qe){return .5*(1-qe.thickness)*ht}).attr("height",function(qe){return qe.thickness*ht})}(be=A(Se,je.gauge.axis))._id="xbulletaxis",be.domain=[Et,kt],be.setScale(),ke=h.calcTicks(be),Le=h.makeTransTickFn(be),Be=h.getTickSigns(be)[2],ze=$e.t+$e.h,be.visible&&(h.drawTicks(Se,be,{vals:be.ticks==="inside"?h.clipEnds(be,ke):ke,layer:we,path:h.makeTickPath(be,ze,Be),transFn:Le}),h.drawLabels(Se,be,{vals:ke,layer:we,transFn:Le,labelFns:h.makeLabelFns(be,ze)}));var Ft=[Ee].concat(je.gauge.steps),Ot=ge.selectAll("g.bg-bullet").data(Ft);Ot.enter().append("g").classed("bg-bullet",!0).append("rect"),Ot.select("rect").call(xt).call(x),Ot.exit().remove();var Bt=ge.selectAll("g.value-bullet").data([je.gauge.bar]);Bt.enter().append("g").classed("value-bullet",!0).append("rect"),Bt.select("rect").attr("height",bt).attr("y",(ht-bt)/2).call(x),E(st)?Bt.select("rect").transition().duration(st.duration).ease(st.easing).each("end",function(){ot&&ot()}).each("interrupt",function(){ot&&ot()}).attr("width",Math.max(0,be.c2p(Math.min(je.gauge.axis.range[1],ae[0].y)))):Bt.select("rect").attr("width",typeof ae[0].y=="number"?Math.max(0,be.c2p(Math.min(je.gauge.axis.range[1],ae[0].y))):0),Bt.exit().remove();var qt=ae.filter(function(){return je.gauge.threshold.value||je.gauge.threshold.value===0}),Vt=ge.selectAll("g.threshold-bullet").data(qt);Vt.enter().append("g").classed("threshold-bullet",!0).append("line"),Vt.select("line").attr("x1",be.c2p(je.gauge.threshold.value)).attr("x2",be.c2p(je.gauge.threshold.value)).attr("y1",(1-je.gauge.threshold.thickness)/2*ht).attr("y2",(1-(1-je.gauge.threshold.thickness)/2)*ht).call(y.stroke,je.gauge.threshold.line.color).style("stroke-width",je.gauge.threshold.line.width),Vt.exit().remove();var Ke=ge.selectAll("g.gauge-outline").data([Ve]);Ke.enter().append("g").classed("gauge-outline",!0).append("rect"),Ke.select("rect").call(xt).call(x),Ke.exit().remove()}(I,0,W,{gauge:Pe,layer:_e,size:re,gaugeBg:G,gaugeOutline:q,transitionOpts:z,onComplete:B});var Me=ne.selectAll("text.title").data(W);Me.exit().remove(),Me.enter().append("text").classed("title",!0),Me.attr("text-anchor",function(){return X?C.right:C[H.title.align]}).text(H.title.text).call(u.font,H.title.font).call(s.convertToTspans,I),Me.attr("transform",function(){var Se,Ce=re.l+re.w*_[H.title.align],ae=o.titlePadding,fe=u.bBox(Me.node());return te?(Z&&(Se=H.gauge.axis.visible?u.bBox(xe.node()).top-ae-fe.bottom:re.t+re.h/2-ue/2-fe.bottom-ae),X&&(Se=$-(fe.top+fe.bottom)/2,Ce=re.l-o.bulletPadding*re.w)):Se=H._numbersTop-ae-fe.bottom,f(Ce,Se)})})}},16249:function(T,p,t){var d=t(50693),g=t(12663).axisHoverFormat,i=t(5386).fF,M=t(2418),v=t(9012),f=t(1426).extendFlat,l=t(30962).overrideAll,a=T.exports=l(f({x:{valType:"data_array"},y:{valType:"data_array"},z:{valType:"data_array"},value:{valType:"data_array"},isomin:{valType:"number"},isomax:{valType:"number"},surface:{show:{valType:"boolean",dflt:!0},count:{valType:"integer",dflt:2,min:1},fill:{valType:"number",min:0,max:1,dflt:1},pattern:{valType:"flaglist",flags:["A","B","C","D","E"],extras:["all","odd","even"],dflt:"all"}},spaceframe:{show:{valType:"boolean",dflt:!1},fill:{valType:"number",min:0,max:1,dflt:.15}},slices:{x:{show:{valType:"boolean",dflt:!1},locations:{valType:"data_array",dflt:[]},fill:{valType:"number",min:0,max:1,dflt:1}},y:{show:{valType:"boolean",dflt:!1},locations:{valType:"data_array",dflt:[]},fill:{valType:"number",min:0,max:1,dflt:1}},z:{show:{valType:"boolean",dflt:!1},locations:{valType:"data_array",dflt:[]},fill:{valType:"number",min:0,max:1,dflt:1}}},caps:{x:{show:{valType:"boolean",dflt:!0},fill:{valType:"number",min:0,max:1,dflt:1}},y:{show:{valType:"boolean",dflt:!0},fill:{valType:"number",min:0,max:1,dflt:1}},z:{show:{valType:"boolean",dflt:!0},fill:{valType:"number",min:0,max:1,dflt:1}}},text:{valType:"string",dflt:"",arrayOk:!0},hovertext:{valType:"string",dflt:"",arrayOk:!0},hovertemplate:i(),xhoverformat:g("x"),yhoverformat:g("y"),zhoverformat:g("z"),valuehoverformat:g("value",1),showlegend:f({},v.showlegend,{dflt:!1})},d("",{colorAttr:"`value`",showScaleDflt:!0,editTypeOverride:"calc"}),{opacity:M.opacity,lightposition:M.lightposition,lighting:M.lighting,flatshading:M.flatshading,contour:M.contour,hoverinfo:f({},v.hoverinfo)}),"calc","nested");a.flatshading.dflt=!0,a.lighting.facenormalsepsilon.dflt=0,a.x.editType=a.y.editType=a.z.editType=a.value.editType="calc+clearAxisTypes",a.transforms=void 0},56959:function(T,p,t){var d=t(78803),g=t(88489).processGrid,i=t(88489).filter;T.exports=function(M,v){v._len=Math.min(v.x.length,v.y.length,v.z.length,v.value.length),v._x=i(v.x,v._len),v._y=i(v.y,v._len),v._z=i(v.z,v._len),v._value=i(v.value,v._len);var f=g(v);v._gridFill=f.fill,v._Xs=f.Xs,v._Ys=f.Ys,v._Zs=f.Zs,v._len=f.len;for(var l=1/0,a=-1/0,u=0;u0;c--){var m=Math.min(h[c],h[c-1]),w=Math.max(h[c],h[c-1]);if(w>m&&m-1}function ie(je,ge){return je===null?ge:je}function oe(je,ge,we){ne();var Ee,Ve,$e,Ye=[ge],st=[we];if(_>=1)Ye=[ge],st=[we];else if(_>0){var ot=function(qt,Vt){var Ke=qt[0],Je=qt[1],qe=qt[2],nt=function(It,Lt,yt){for(var Pt=[],wt=0;wt-1?we[Et]:H(kt,xt,Ft);bt[Et]=Bt>-1?Bt:Z(kt,xt,Ft,ie(je,Ot))}Ee=bt[0],Ve=bt[1],$e=bt[2],s._meshI.push(Ee),s._meshJ.push(Ve),s._meshK.push($e),++R}}function ue(je,ge,we,Ee){var Ve=je[3];VeEe&&(Ve=Ee);for(var $e=(je[3]-Ve)/(je[3]-ge[3]+1e-9),Ye=[],st=0;st<4;st++)Ye[st]=(1-$e)*je[st]+$e*ge[st];return Ye}function ce(je,ge,we){return je>=ge&&je<=we}function ye(je){var ge=.001*(q-G);return je>=G-ge&&je<=q+ge}function de(je){for(var ge=[],we=0;we<4;we++){var Ee=je[we];ge.push([s._x[Ee],s._y[Ee],s._z[Ee],s._value[Ee]])}return ge}function me(je,ge,we,Ee,Ve,$e){$e||($e=1),we=[-1,-1,-1];var Ye=!1,st=[ce(ge[0][3],Ee,Ve),ce(ge[1][3],Ee,Ve),ce(ge[2][3],Ee,Ve)];if(!st[0]&&!st[1]&&!st[2])return!1;var ot=function(bt,Et,kt){return ye(Et[0][3])&&ye(Et[1][3])&&ye(Et[2][3])?(oe(bt,Et,kt),!0):$e<3&&me(bt,Et,kt,G,q,++$e)};if(st[0]&&st[1]&&st[2])return ot(je,ge,we)||Ye;var ht=!1;return[[0,1,2],[2,0,1],[1,2,0]].forEach(function(bt){if(st[bt[0]]&&st[bt[1]]&&!st[bt[2]]){var Et=ge[bt[0]],kt=ge[bt[1]],xt=ge[bt[2]],Ft=ue(xt,Et,Ee,Ve),Ot=ue(xt,kt,Ee,Ve);Ye=ot(je,[Ot,Ft,Et],[-1,-1,we[bt[0]]])||Ye,Ye=ot(je,[Et,kt,Ot],[we[bt[0]],we[bt[1]],-1])||Ye,ht=!0}}),ht||[[0,1,2],[1,2,0],[2,0,1]].forEach(function(bt){if(st[bt[0]]&&!st[bt[1]]&&!st[bt[2]]){var Et=ge[bt[0]],kt=ge[bt[1]],xt=ge[bt[2]],Ft=ue(kt,Et,Ee,Ve),Ot=ue(xt,Et,Ee,Ve);Ye=ot(je,[Ot,Ft,Et],[-1,-1,we[bt[0]]])||Ye,ht=!0}}),Ye}function pe(je,ge,we,Ee){var Ve=!1,$e=de(ge),Ye=[ce($e[0][3],we,Ee),ce($e[1][3],we,Ee),ce($e[2][3],we,Ee),ce($e[3][3],we,Ee)];if(!(Ye[0]||Ye[1]||Ye[2]||Ye[3]))return Ve;if(Ye[0]&&Ye[1]&&Ye[2]&&Ye[3])return b&&(Ve=function(ot,ht,bt){var Et=function(kt,xt,Ft){oe(ot,[ht[kt],ht[xt],ht[Ft]],[bt[kt],bt[xt],bt[Ft]])};Et(0,1,2),Et(3,0,1),Et(2,3,0),Et(1,2,3)}(je,$e,ge)||Ve),Ve;var st=!1;return[[0,1,2,3],[3,0,1,2],[2,3,0,1],[1,2,3,0]].forEach(function(ot){if(Ye[ot[0]]&&Ye[ot[1]]&&Ye[ot[2]]&&!Ye[ot[3]]){var ht=$e[ot[0]],bt=$e[ot[1]],Et=$e[ot[2]],kt=$e[ot[3]];if(b)Ve=oe(je,[ht,bt,Et],[ge[ot[0]],ge[ot[1]],ge[ot[2]]])||Ve;else{var xt=ue(kt,ht,we,Ee),Ft=ue(kt,bt,we,Ee),Ot=ue(kt,Et,we,Ee);Ve=oe(null,[xt,Ft,Ot],[-1,-1,-1])||Ve}st=!0}}),st||([[0,1,2,3],[1,2,3,0],[2,3,0,1],[3,0,1,2],[0,2,3,1],[1,3,2,0]].forEach(function(ot){if(Ye[ot[0]]&&Ye[ot[1]]&&!Ye[ot[2]]&&!Ye[ot[3]]){var ht=$e[ot[0]],bt=$e[ot[1]],Et=$e[ot[2]],kt=$e[ot[3]],xt=ue(Et,ht,we,Ee),Ft=ue(Et,bt,we,Ee),Ot=ue(kt,bt,we,Ee),Bt=ue(kt,ht,we,Ee);b?(Ve=oe(je,[ht,Bt,xt],[ge[ot[0]],-1,-1])||Ve,Ve=oe(je,[bt,Ft,Ot],[ge[ot[1]],-1,-1])||Ve):Ve=function(qt,Vt,Ke){var Je=function(qe,nt,ft){oe(null,[Vt[qe],Vt[nt],Vt[ft]],[Ke[qe],Ke[nt],Ke[ft]])};Je(0,1,2),Je(2,3,0)}(0,[xt,Ft,Ot,Bt],[-1,-1,-1,-1])||Ve,st=!0}}),st||[[0,1,2,3],[1,2,3,0],[2,3,0,1],[3,0,1,2]].forEach(function(ot){if(Ye[ot[0]]&&!Ye[ot[1]]&&!Ye[ot[2]]&&!Ye[ot[3]]){var ht=$e[ot[0]],bt=$e[ot[1]],Et=$e[ot[2]],kt=$e[ot[3]],xt=ue(bt,ht,we,Ee),Ft=ue(Et,ht,we,Ee),Ot=ue(kt,ht,we,Ee);b?(Ve=oe(je,[ht,xt,Ft],[ge[ot[0]],-1,-1])||Ve,Ve=oe(je,[ht,Ft,Ot],[ge[ot[0]],-1,-1])||Ve,Ve=oe(je,[ht,Ot,xt],[ge[ot[0]],-1,-1])||Ve):Ve=oe(null,[xt,Ft,Ot],[-1,-1,-1])||Ve,st=!0}})),Ve}function xe(je,ge,we,Ee,Ve,$e,Ye,st,ot,ht,bt){var Et=!1;return L&&(re(je,"A")&&(Et=pe(null,[ge,we,Ee,$e],ht,bt)||Et),re(je,"B")&&(Et=pe(null,[we,Ee,Ve,ot],ht,bt)||Et),re(je,"C")&&(Et=pe(null,[we,$e,Ye,ot],ht,bt)||Et),re(je,"D")&&(Et=pe(null,[Ee,$e,st,ot],ht,bt)||Et),re(je,"E")&&(Et=pe(null,[we,Ee,$e,ot],ht,bt)||Et)),b&&(Et=pe(je,[we,Ee,$e,ot],ht,bt)||Et),Et}function Pe(je,ge,we,Ee,Ve,$e,Ye,st){return[st[0]===!0||me(je,de([ge,we,Ee]),[ge,we,Ee],$e,Ye),st[1]===!0||me(je,de([Ee,Ve,ge]),[Ee,Ve,ge],$e,Ye)]}function _e(je,ge,we,Ee,Ve,$e,Ye,st,ot){return st?Pe(je,ge,we,Ve,Ee,$e,Ye,ot):Pe(je,we,Ve,Ee,ge,$e,Ye,ot)}function Me(je,ge,we,Ee,Ve,$e,Ye){var st,ot,ht,bt,Et=!1,kt=function(){Et=me(je,[st,ot,ht],[-1,-1,-1],Ve,$e)||Et,Et=me(je,[ht,bt,st],[-1,-1,-1],Ve,$e)||Et},xt=Ye[0],Ft=Ye[1],Ot=Ye[2];return xt&&(st=X(de([j(ge,we-0,Ee-0)])[0],de([j(ge-1,we-0,Ee-0)])[0],xt),ot=X(de([j(ge,we-0,Ee-1)])[0],de([j(ge-1,we-0,Ee-1)])[0],xt),ht=X(de([j(ge,we-1,Ee-1)])[0],de([j(ge-1,we-1,Ee-1)])[0],xt),bt=X(de([j(ge,we-1,Ee-0)])[0],de([j(ge-1,we-1,Ee-0)])[0],xt),kt()),Ft&&(st=X(de([j(ge-0,we,Ee-0)])[0],de([j(ge-0,we-1,Ee-0)])[0],Ft),ot=X(de([j(ge-0,we,Ee-1)])[0],de([j(ge-0,we-1,Ee-1)])[0],Ft),ht=X(de([j(ge-1,we,Ee-1)])[0],de([j(ge-1,we-1,Ee-1)])[0],Ft),bt=X(de([j(ge-1,we,Ee-0)])[0],de([j(ge-1,we-1,Ee-0)])[0],Ft),kt()),Ot&&(st=X(de([j(ge-0,we-0,Ee)])[0],de([j(ge-0,we-0,Ee-1)])[0],Ot),ot=X(de([j(ge-0,we-1,Ee)])[0],de([j(ge-0,we-1,Ee-1)])[0],Ot),ht=X(de([j(ge-1,we-1,Ee)])[0],de([j(ge-1,we-1,Ee-1)])[0],Ot),bt=X(de([j(ge-1,we-0,Ee)])[0],de([j(ge-1,we-0,Ee-1)])[0],Ot),kt()),Et}function Se(je,ge,we,Ee,Ve,$e,Ye,st,ot,ht,bt,Et){var kt=je;return Et?(L&&je==="even"&&(kt=null),xe(kt,ge,we,Ee,Ve,$e,Ye,st,ot,ht,bt)):(L&&je==="odd"&&(kt=null),xe(kt,ot,st,Ye,$e,Ve,Ee,we,ge,ht,bt))}function Ce(je,ge,we,Ee,Ve){for(var $e=[],Ye=0,st=0;stMath.abs($e-U)?[$,$e]:[$e,U];L=!0,be(ge,Ye[0],Ye[1]),L=!1}}var st=[[Math.min(G,U),Math.max(G,U)],[Math.min($,q),Math.max($,q)]];["x","y","z"].forEach(function(ot){for(var ht=[],bt=0;bt0&&(Bt.push(Ke.id),ot==="x"?qt.push([Ke.distRatio,0,0]):ot==="y"?qt.push([0,Ke.distRatio,0]):qt.push([0,0,Ke.distRatio]))}else Ot=ze(1,ot==="x"?F-1:ot==="y"?B-1:N-1);Bt.length>0&&(ht[Et]=ot==="x"?ke(je,Bt,kt,xt,qt,ht[Et]):ot==="y"?Le(je,Bt,kt,xt,qt,ht[Et]):Be(je,Bt,kt,xt,qt,ht[Et]),Et++),Ot.length>0&&(ht[Et]=ot==="x"?Ce(je,Ot,kt,xt,ht[Et]):ot==="y"?ae(je,Ot,kt,xt,ht[Et]):fe(je,Ot,kt,xt,ht[Et]),Et++)}var Je=s.caps[ot];Je.show&&Je.fill&&(Q(Je.fill),ht[Et]=ot==="x"?Ce(je,[0,F-1],kt,xt,ht[Et]):ot==="y"?ae(je,[0,B-1],kt,xt,ht[Et]):fe(je,[0,N-1],kt,xt,ht[Et]),Et++)}}),R===0&&te(),s._meshX=m,s._meshY=w,s._meshZ=y,s._meshIntensity=C,s._Xs=I,s._Ys=O,s._Zs=z}(),s}T.exports={findNearestOnAxis:f,generateIsoMeshes:o,createIsosurfaceTrace:function(s,h){var c=s.glplot.gl,m=d({gl:c}),w=new l(s,m,h.uid);return m._trace=w,w.update(h),s.glplot.add(m),w}}},82738:function(T,p,t){var d=t(71828),g=t(73972),i=t(16249),M=t(1586);function v(f,l,a,u,o){var s=o("isomin"),h=o("isomax");h!=null&&s!=null&&s>h&&(l.isomin=null,l.isomax=null);var c=o("x"),m=o("y"),w=o("z"),y=o("value");c&&c.length&&m&&m.length&&w&&w.length&&y&&y.length?(g.getComponentMethod("calendars","handleTraceDefaults")(f,l,["x","y","z"],u),o("valuehoverformat"),["x","y","z"].forEach(function(C){o(C+"hoverformat");var _="caps."+C;o(_+".show")&&o(_+".fill");var k="slices."+C;o(k+".show")&&(o(k+".fill"),o(k+".locations"))}),o("spaceframe.show")&&o("spaceframe.fill"),o("surface.show")&&(o("surface.count"),o("surface.fill"),o("surface.pattern")),o("contour.show")&&(o("contour.color"),o("contour.width")),["text","hovertext","hovertemplate","lighting.ambient","lighting.diffuse","lighting.specular","lighting.roughness","lighting.fresnel","lighting.vertexnormalsepsilon","lighting.facenormalsepsilon","lightposition.x","lightposition.y","lightposition.z","flatshading","opacity"].forEach(function(C){o(C)}),M(f,l,u,o,{prefix:"",cLetter:"c"}),l._length=null):l.visible=!1}T.exports={supplyDefaults:function(f,l,a,u){v(f,l,0,u,function(o,s){return d.coerce(f,l,i,o,s)})},supplyIsoDefaults:v}},64943:function(T,p,t){T.exports={attributes:t(16249),supplyDefaults:t(82738).supplyDefaults,calc:t(56959),colorbar:{min:"cmin",max:"cmax"},plot:t(22674).createIsosurfaceTrace,moduleType:"trace",name:"isosurface",basePlotModule:t(58547),categories:["gl3d","showLegend"],meta:{}}},2418:function(T,p,t){var d=t(50693),g=t(12663).axisHoverFormat,i=t(5386).fF,M=t(54532),v=t(9012),f=t(1426).extendFlat;T.exports=f({x:{valType:"data_array",editType:"calc+clearAxisTypes"},y:{valType:"data_array",editType:"calc+clearAxisTypes"},z:{valType:"data_array",editType:"calc+clearAxisTypes"},i:{valType:"data_array",editType:"calc"},j:{valType:"data_array",editType:"calc"},k:{valType:"data_array",editType:"calc"},text:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertemplate:i({editType:"calc"}),xhoverformat:g("x"),yhoverformat:g("y"),zhoverformat:g("z"),delaunayaxis:{valType:"enumerated",values:["x","y","z"],dflt:"z",editType:"calc"},alphahull:{valType:"number",dflt:-1,editType:"calc"},intensity:{valType:"data_array",editType:"calc"},intensitymode:{valType:"enumerated",values:["vertex","cell"],dflt:"vertex",editType:"calc"},color:{valType:"color",editType:"calc"},vertexcolor:{valType:"data_array",editType:"calc"},facecolor:{valType:"data_array",editType:"calc"},transforms:void 0},d("",{colorAttr:"`intensity`",showScaleDflt:!0,editTypeOverride:"calc"}),{opacity:M.opacity,flatshading:{valType:"boolean",dflt:!1,editType:"calc"},contour:{show:f({},M.contours.x.show,{}),color:M.contours.x.color,width:M.contours.x.width,editType:"calc"},lightposition:{x:f({},M.lightposition.x,{dflt:1e5}),y:f({},M.lightposition.y,{dflt:1e5}),z:f({},M.lightposition.z,{dflt:0}),editType:"calc"},lighting:f({vertexnormalsepsilon:{valType:"number",min:0,max:1,dflt:1e-12,editType:"calc"},facenormalsepsilon:{valType:"number",min:0,max:1,dflt:1e-6,editType:"calc"},editType:"calc"},M.lighting),hoverinfo:f({},v.hoverinfo,{editType:"calc"}),showlegend:f({},v.showlegend,{dflt:!1})})},82932:function(T,p,t){var d=t(78803);T.exports=function(g,i){i.intensity&&d(g,i,{vals:i.intensity,containerStr:"",cLetter:"c"})}},91134:function(T,p,t){var d=t(9330).gl_mesh3d,g=t(9330).delaunay_triangulate,i=t(9330).alpha_shape,M=t(9330).convex_hull,v=t(81697).parseColorScale,f=t(78614),l=t(21081).extractOpts,a=t(90060);function u(w,y,C){this.scene=w,this.uid=C,this.mesh=y,this.name="",this.color="#fff",this.data=null,this.showContour=!1}var o=u.prototype;function s(w){for(var y=[],C=w.length,_=0;_=y-.5)return!1;return!0}o.handlePick=function(w){if(w.object===this.mesh){var y=w.index=w.data.index;w.data._cellCenter?w.traceCoordinate=w.data.dataCoordinate:w.traceCoordinate=[this.data.x[y],this.data.y[y],this.data.z[y]];var C=this.data.hovertext||this.data.text;return Array.isArray(C)&&C[y]!==void 0?w.textLabel=C[y]:C&&(w.textLabel=C),!0}},o.update=function(w){var y=this.scene,C=y.fullSceneLayout;this.data=w;var _,k=w.x.length,E=a(h(C.xaxis,w.x,y.dataScale[0],w.xcalendar),h(C.yaxis,w.y,y.dataScale[1],w.ycalendar),h(C.zaxis,w.z,y.dataScale[2],w.zcalendar));if(w.i&&w.j&&w.k){if(w.i.length!==w.j.length||w.j.length!==w.k.length||!m(w.i,k)||!m(w.j,k)||!m(w.k,k))return;_=a(c(w.i),c(w.j),c(w.k))}else _=w.alphahull===0?M(E):w.alphahull>0?i(w.alphahull,E):function(b,R){for(var I=["x","y","z"].indexOf(b),O=[],z=R.length,F=0;Fx):E=F>I,x=F;var B=c(I,O,z,F);B.pos=R,B.yc=(I+F)/2,B.i=b,B.dir=E?"increasing":"decreasing",B.x=B.pos,B.y=[z,O],A&&(B.orig_p=o[b]),_&&(B.tx=u.text[b]),k&&(B.htx=u.hovertext[b]),L.push(B)}else L.push({pos:R,empty:!0})}return u._extremes[h._id]=i.findExtremes(h,d.concat(y,w),{padded:!0}),L.length&&(L[0].t={labels:{open:g(a,"open:")+" ",high:g(a,"high:")+" ",low:g(a,"low:")+" ",close:g(a,"close:")+" "}}),L}T.exports={calc:function(a,u){var o=i.getFromId(a,u.xaxis),s=i.getFromId(a,u.yaxis),h=function(C,_,k){var E=k._minDiff;if(!E){var x,A=C._fullData,L=[];for(E=1/0,x=0;x"+_.labels[O]+d.hoverLabelText(y,z,C.yhoverformat):((I=g.extendFlat({},E)).y0=I.y1=F,I.yLabelVal=z,I.yLabel=_.labels[O]+d.hoverLabelText(y,z,C.yhoverformat),I.name="",k.push(I),b[z]=I)}return k}function o(s,h,c,m){var w=s.cd,y=s.ya,C=w[0].trace,_=w[0].t,k=a(s,h,c,m);if(!k)return[];var E=w[k.index],x=k.index=E.i,A=E.dir;function L(B){return _.labels[B]+d.hoverLabelText(y,C[B][x],C.yhoverformat)}var b=E.hi||C.hoverinfo,R=b.split("+"),I=b==="all",O=I||R.indexOf("y")!==-1,z=I||R.indexOf("text")!==-1,F=O?[L("open"),L("high"),L("low"),L("close")+" "+l[A]]:[];return z&&v(E,C,F),k.extraText=F.join("
"),k.y0=k.y1=y.c2p(E.yc,!0),[k]}T.exports={hoverPoints:function(s,h,c,m){return s.cd[0].trace.hoverlabel.split?u(s,h,c,m):o(s,h,c,m)},hoverSplit:u,hoverOnPoints:o}},54186:function(T,p,t){T.exports={moduleType:"trace",name:"ohlc",basePlotModule:t(93612),categories:["cartesian","svg","showLegend"],meta:{},attributes:t(2522),supplyDefaults:t(16169),calc:t(3485).calc,plot:t(72314),style:t(53101),hoverPoints:t(66449).hoverPoints,selectPoints:t(67324)}},14555:function(T,p,t){var d=t(73972),g=t(71828);T.exports=function(i,M,v,f){var l=v("x"),a=v("open"),u=v("high"),o=v("low"),s=v("close");if(v("hoverlabel.split"),d.getComponentMethod("calendars","handleTraceDefaults")(i,M,["x"],f),a&&u&&o&&s){var h=Math.min(a.length,u.length,o.length,s.length);return l&&(h=Math.min(h,g.minRowLength(l))),M._length=h,h}}},72314:function(T,p,t){var d=t(39898),g=t(71828);T.exports=function(i,M,v,f){var l=M.yaxis,a=M.xaxis,u=!!a.rangebreaks;g.makeTraceGroups(f,v,"trace ohlc").each(function(o){var s=d.select(this),h=o[0],c=h.t;if(h.trace.visible!==!0||c.empty)s.remove();else{var m=c.tickLen,w=s.selectAll("path").data(g.identity);w.enter().append("path"),w.exit().remove(),w.attr("d",function(y){if(y.empty)return"M0,0Z";var C=a.c2p(y.pos-m,!0),_=a.c2p(y.pos+m,!0),k=u?(C+_)/2:a.c2p(y.pos,!0);return"M"+C+","+l.c2p(y.o,!0)+"H"+k+"M"+k+","+l.c2p(y.h,!0)+"V"+l.c2p(y.l,!0)+"M"+_+","+l.c2p(y.c,!0)+"H"+k})}})}},67324:function(T){T.exports=function(p,t){var d,g=p.cd,i=p.xaxis,M=p.yaxis,v=[],f=g[0].t.bPos||0;if(t===!1)for(d=0;d=Z.length||X[Z[Q]]!==void 0)return!1;X[Z[Q]]=!0}return!0}(te))for(ne=0;ne0;y&&(m="array");var C=s("categoryorder",m);C==="array"?(s("categoryarray"),s("ticktext")):(delete u.categoryarray,delete u.ticktext),y||C!=="array"||(o.categoryorder="trace")}}T.exports=function(u,o,s,h){function c(_,k){return d.coerce(u,o,f,_,k)}var m=v(u,o,{name:"dimensions",handleItemDefaults:a}),w=function(_,k,E,x,A){A("line.shape"),A("line.hovertemplate");var L=A("line.color",x.colorway[0]);if(g(_,"line")&&d.isArrayOrTypedArray(L)){if(L.length)return A("line.colorscale"),i(_,k,x,A,{prefix:"line.",cLetter:"c"}),L.length;k.line.color=E}return 1/0}(u,o,s,h,c);M(o,h,c),Array.isArray(m)&&m.length||(o.visible=!1),l(o,m,"values",w),c("hoveron"),c("hovertemplate"),c("arrangement"),c("bundlecolors"),c("sortpaths"),c("counts");var y={family:h.font.family,size:Math.round(h.font.size),color:h.font.color};d.coerceFont(c,"labelfont",y);var C={family:h.font.family,size:Math.round(h.font.size/1.2),color:h.font.color};d.coerceFont(c,"tickfont",C)}},94873:function(T,p,t){T.exports={attributes:t(99506),supplyDefaults:t(14647),calc:t(28699),plot:t(45784),colorbar:{container:"line",min:"cmin",max:"cmax"},moduleType:"trace",name:"parcats",basePlotModule:t(27677),categories:["noOpacity"],meta:{}}},45460:function(T,p,t){var d=t(39898),g=t(81684).k4,i=t(72391),M=t(30211),v=t(71828),f=v.strTranslate,l=t(91424),a=t(84267),u=t(63893);function o(te,Z,X,Q){var re=Z._context.staticPlot,ie=te.map(U.bind(0,Z,X)),oe=Q.selectAll("g.parcatslayer").data([null]);oe.enter().append("g").attr("class","parcatslayer").style("pointer-events",re?"none":"all");var ue=oe.selectAll("g.trace.parcats").data(ie,s),ce=ue.enter().append("g").attr("class","trace parcats");ue.attr("transform",function(Se){return f(Se.x,Se.y)}),ce.append("g").attr("class","paths");var ye=ue.select("g.paths").selectAll("path.path").data(function(Se){return Se.paths},s);ye.attr("fill",function(Se){return Se.model.color});var de=ye.enter().append("path").attr("class","path").attr("stroke-opacity",0).attr("fill",function(Se){return Se.model.color}).attr("fill-opacity",0);k(de),ye.attr("d",function(Se){return Se.svgD}),de.empty()||ye.sort(c),ye.exit().remove(),ye.on("mouseover",m).on("mouseout",w).on("click",_),ce.append("g").attr("class","dimensions");var me=ue.select("g.dimensions").selectAll("g.dimension").data(function(Se){return Se.dimensions},s);me.enter().append("g").attr("class","dimension"),me.attr("transform",function(Se){return f(Se.x,0)}),me.exit().remove();var pe=me.selectAll("g.category").data(function(Se){return Se.categories},s),xe=pe.enter().append("g").attr("class","category");pe.attr("transform",function(Se){return f(0,Se.y)}),xe.append("rect").attr("class","catrect").attr("pointer-events","none"),pe.select("rect.catrect").attr("fill","none").attr("width",function(Se){return Se.width}).attr("height",function(Se){return Se.height}),x(xe);var Pe=pe.selectAll("rect.bandrect").data(function(Se){return Se.bands},s);Pe.each(function(){v.raiseToTop(this)}),Pe.attr("fill",function(Se){return Se.color});var _e=Pe.enter().append("rect").attr("class","bandrect").attr("stroke-opacity",0).attr("fill",function(Se){return Se.color}).attr("fill-opacity",0);Pe.attr("fill",function(Se){return Se.color}).attr("width",function(Se){return Se.width}).attr("height",function(Se){return Se.height}).attr("y",function(Se){return Se.y}).attr("cursor",function(Se){return Se.parcatsViewModel.arrangement==="fixed"?"default":Se.parcatsViewModel.arrangement==="perpendicular"?"ns-resize":"move"}),A(_e),Pe.exit().remove(),xe.append("text").attr("class","catlabel").attr("pointer-events","none");var Me=Z._fullLayout.paper_bgcolor;pe.select("text.catlabel").attr("text-anchor",function(Se){return h(Se)?"start":"end"}).attr("alignment-baseline","middle").style("text-shadow",u.makeTextShadow(Me)).style("fill","rgb(0, 0, 0)").attr("x",function(Se){return h(Se)?Se.width+5:-5}).attr("y",function(Se){return Se.height/2}).text(function(Se){return Se.model.categoryLabel}).each(function(Se){l.font(d.select(this),Se.parcatsViewModel.categorylabelfont),u.convertToTspans(d.select(this),Z)}),xe.append("text").attr("class","dimlabel"),pe.select("text.dimlabel").attr("text-anchor","middle").attr("alignment-baseline","baseline").attr("cursor",function(Se){return Se.parcatsViewModel.arrangement==="fixed"?"default":"ew-resize"}).attr("x",function(Se){return Se.width/2}).attr("y",-5).text(function(Se,Ce){return Ce===0?Se.parcatsViewModel.model.dimensions[Se.model.dimensionInd].dimensionLabel:null}).each(function(Se){l.font(d.select(this),Se.parcatsViewModel.labelfont)}),pe.selectAll("rect.bandrect").on("mouseover",O).on("mouseout",z),pe.exit().remove(),me.call(d.behavior.drag().origin(function(Se){return{x:Se.x,y:0}}).on("dragstart",F).on("drag",B).on("dragend",N)),ue.each(function(Se){Se.traceSelection=d.select(this),Se.pathSelection=d.select(this).selectAll("g.paths").selectAll("path.path"),Se.dimensionSelection=d.select(this).selectAll("g.dimensions").selectAll("g.dimension")}),ue.exit().remove()}function s(te){return te.key}function h(te){var Z=te.parcatsViewModel.dimensions.length,X=te.parcatsViewModel.dimensions[Z-1].model.dimensionInd;return te.model.dimensionInd===X}function c(te,Z){return te.model.rawColor>Z.model.rawColor?1:te.model.rawColor"),ke=d.mouse(ue)[0];M.loneHover({trace:ce,x:Pe-de.left+me.left,y:_e-de.top+me.top,text:be,color:te.model.color,borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontSize:10,fontColor:Me,idealAlign:ke1&&me.displayInd===de.dimensions.length-1?(Q=ce.left,re="left"):(Q=ce.left+ce.width,re="right");var Pe=ye.model.count,_e=ye.model.categoryLabel,Me=Pe/ye.parcatsViewModel.model.count,Se={countLabel:Pe,categoryLabel:_e,probabilityLabel:Me.toFixed(3)},Ce=[];ye.parcatsViewModel.hoverinfoItems.indexOf("count")!==-1&&Ce.push(["Count:",Se.countLabel].join(" ")),ye.parcatsViewModel.hoverinfoItems.indexOf("probability")!==-1&&Ce.push(["P("+Se.categoryLabel+"):",Se.probabilityLabel].join(" "));var ae=Ce.join("
");return{trace:pe,x:ie*(Q-Z.left),y:oe*(xe-Z.top),text:ae,color:"lightgray",borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontSize:12,fontColor:"black",idealAlign:re,hovertemplate:pe.hovertemplate,hovertemplateLabels:Se,eventData:[{data:pe._input,fullData:pe,count:Pe,category:_e,probability:Me}]}}function O(te){if(!te.parcatsViewModel.dragDimension&&te.parcatsViewModel.hoverinfoItems.indexOf("skip")===-1){if(d.mouse(this)[1]<-1)return;var Z,X=te.parcatsViewModel.graphDiv,Q=X._fullLayout,re=Q._paperdiv.node().getBoundingClientRect(),ie=te.parcatsViewModel.hoveron,oe=this;ie==="color"?(function(ue){var ce=d.select(ue).datum(),ye=L(ce);E(ye),ye.each(function(){v.raiseToTop(this)}),d.select(ue.parentNode).selectAll("rect.bandrect").filter(function(de){return de.color===ce.color}).each(function(){v.raiseToTop(this),d.select(this).attr("stroke","black").attr("stroke-width",1.5)})}(oe),R(oe,"plotly_hover",d.event)):(function(ue){d.select(ue.parentNode).selectAll("rect.bandrect").each(function(ce){var ye=L(ce);E(ye),ye.each(function(){v.raiseToTop(this)})}),d.select(ue.parentNode).select("rect.catrect").attr("stroke","black").attr("stroke-width",2.5)}(oe),b(oe,"plotly_hover",d.event)),te.parcatsViewModel.hoverinfoItems.indexOf("none")===-1&&(ie==="category"?Z=I(X,re,oe):ie==="color"?Z=function(ue,ce,ye){ue._fullLayout._calcInverseTransform(ue);var de,me,pe=ue._fullLayout._invScaleX,xe=ue._fullLayout._invScaleY,Pe=ye.getBoundingClientRect(),_e=d.select(ye).datum(),Me=_e.categoryViewModel,Se=Me.parcatsViewModel,Ce=Se.model.dimensions[Me.model.dimensionInd],ae=Se.trace,fe=Pe.y+Pe.height/2;Se.dimensions.length>1&&Ce.displayInd===Se.dimensions.length-1?(de=Pe.left,me="left"):(de=Pe.left+Pe.width,me="right");var be=Me.model.categoryLabel,ke=_e.parcatsViewModel.model.count,Le=0;_e.categoryViewModel.bands.forEach(function(st){st.color===_e.color&&(Le+=st.count)});var Be=Me.model.count,ze=0;Se.pathSelection.each(function(st){st.model.color===_e.color&&(ze+=st.model.count)});var je=Le/ke,ge=Le/ze,we=Le/Be,Ee={countLabel:ke,categoryLabel:be,probabilityLabel:je.toFixed(3)},Ve=[];Me.parcatsViewModel.hoverinfoItems.indexOf("count")!==-1&&Ve.push(["Count:",Ee.countLabel].join(" ")),Me.parcatsViewModel.hoverinfoItems.indexOf("probability")!==-1&&(Ve.push("P(color ∩ "+be+"): "+Ee.probabilityLabel),Ve.push("P("+be+" | color): "+ge.toFixed(3)),Ve.push("P(color | "+be+"): "+we.toFixed(3)));var $e=Ve.join("
"),Ye=a.mostReadable(_e.color,["black","white"]);return{trace:ae,x:pe*(de-ce.left),y:xe*(fe-ce.top),text:$e,color:_e.color,borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontColor:Ye,fontSize:10,idealAlign:me,hovertemplate:ae.hovertemplate,hovertemplateLabels:Ee,eventData:[{data:ae._input,fullData:ae,category:be,count:ke,probability:je,categorycount:Be,colorcount:ze,bandcolorcount:Le}]}}(X,re,oe):ie==="dimension"&&(Z=function(ue,ce,ye){var de=[];return d.select(ye.parentNode.parentNode).selectAll("g.category").select("rect.catrect").each(function(){de.push(I(ue,ce,this))}),de}(X,re,oe)),Z&&M.loneHover(Z,{container:Q._hoverlayer.node(),outerContainer:Q._paper.node(),gd:X}))}}function z(te){var Z=te.parcatsViewModel;Z.dragDimension||(k(Z.pathSelection),x(Z.dimensionSelection.selectAll("g.category")),A(Z.dimensionSelection.selectAll("g.category").selectAll("rect.bandrect")),M.loneUnhover(Z.graphDiv._fullLayout._hoverlayer.node()),Z.pathSelection.sort(c),Z.hoverinfoItems.indexOf("skip")!==-1)||(te.parcatsViewModel.hoveron==="color"?R(this,"plotly_unhover",d.event):b(this,"plotly_unhover",d.event))}function F(te){te.parcatsViewModel.arrangement!=="fixed"&&(te.dragDimensionDisplayInd=te.model.displayInd,te.initialDragDimensionDisplayInds=te.parcatsViewModel.model.dimensions.map(function(Z){return Z.displayInd}),te.dragHasMoved=!1,te.dragCategoryDisplayInd=null,d.select(this).selectAll("g.category").select("rect.catrect").each(function(Z){var X=d.mouse(this)[0],Q=d.mouse(this)[1];-2<=X&&X<=Z.width+2&&-2<=Q&&Q<=Z.height+2&&(te.dragCategoryDisplayInd=Z.model.displayInd,te.initialDragCategoryDisplayInds=te.model.categories.map(function(re){return re.displayInd}),Z.model.dragY=Z.y,v.raiseToTop(this.parentNode),d.select(this.parentNode).selectAll("rect.bandrect").each(function(re){re.yde.y+de.height/2&&(ie.model.displayInd=de.model.displayInd,de.model.displayInd=ue),te.dragCategoryDisplayInd=ie.model.displayInd}if(te.dragCategoryDisplayInd===null||te.parcatsViewModel.arrangement==="freeform"){re.model.dragX=d.event.x;var me=te.parcatsViewModel.dimensions[X],pe=te.parcatsViewModel.dimensions[Q];me!==void 0&&re.model.dragXpe.x&&(re.model.displayInd=pe.model.displayInd,pe.model.displayInd=te.dragDimensionDisplayInd),te.dragDimensionDisplayInd=re.model.displayInd}H(te.parcatsViewModel),q(te.parcatsViewModel),$(te.parcatsViewModel),j(te.parcatsViewModel)}}function N(te){if(te.parcatsViewModel.arrangement!=="fixed"&&te.dragDimensionDisplayInd!==null){d.select(this).selectAll("text").attr("font-weight","normal");var Z={},X=W(te.parcatsViewModel),Q=te.parcatsViewModel.model.dimensions.map(function(de){return de.displayInd}),re=te.initialDragDimensionDisplayInds.some(function(de,me){return de!==Q[me]});re&&Q.forEach(function(de,me){var pe=te.parcatsViewModel.model.dimensions[me].containerInd;Z["dimensions["+pe+"].displayindex"]=de});var ie=!1;if(te.dragCategoryDisplayInd!==null){var oe=te.model.categories.map(function(de){return de.displayInd});if(ie=te.initialDragCategoryDisplayInds.some(function(de,me){return de!==oe[me]})){var ue=te.model.categories.slice().sort(function(de,me){return de.displayInd-me.displayInd}),ce=ue.map(function(de){return de.categoryValue}),ye=ue.map(function(de){return de.categoryLabel});Z["dimensions["+te.model.containerInd+"].categoryarray"]=[ce],Z["dimensions["+te.model.containerInd+"].ticktext"]=[ye],Z["dimensions["+te.model.containerInd+"].categoryorder"]="array"}}te.parcatsViewModel.hoverinfoItems.indexOf("skip")===-1&&!te.dragHasMoved&&te.potentialClickBand&&(te.parcatsViewModel.hoveron==="color"?R(te.potentialClickBand,"plotly_click",d.event.sourceEvent):b(te.potentialClickBand,"plotly_click",d.event.sourceEvent)),te.model.dragX=null,te.dragCategoryDisplayInd!==null&&(te.parcatsViewModel.dimensions[te.dragDimensionDisplayInd].categories[te.dragCategoryDisplayInd].model.dragY=null,te.dragCategoryDisplayInd=null),te.dragDimensionDisplayInd=null,te.parcatsViewModel.dragDimension=null,te.dragHasMoved=null,te.potentialClickBand=null,H(te.parcatsViewModel),q(te.parcatsViewModel),d.transition().duration(300).ease("cubic-in-out").each(function(){$(te.parcatsViewModel,!0),j(te.parcatsViewModel,!0)}).each("end",function(){(re||ie)&&i.restyle(te.parcatsViewModel.graphDiv,Z,[X])})}}function W(te){for(var Z,X=te.graphDiv._fullData,Q=0;Q=0;oe--)ye+="C"+ce[oe]+","+(Z[oe+1]+Q)+" "+ue[oe]+","+(Z[oe]+Q)+" "+(te[oe]+X[oe])+","+(Z[oe]+Q),ye+="l-"+X[oe]+",0 ";return ye+"Z"}function q(te){var Z=te.dimensions,X=te.model,Q=Z.map(function(Ee){return Ee.categories.map(function(Ve){return Ve.y})}),re=te.model.dimensions.map(function(Ee){return Ee.categories.map(function(Ve){return Ve.displayInd})}),ie=te.model.dimensions.map(function(Ee){return Ee.displayInd}),oe=te.dimensions.map(function(Ee){return Ee.model.dimensionInd}),ue=Z.map(function(Ee){return Ee.x}),ce=Z.map(function(Ee){return Ee.width}),ye=[];for(var de in X.paths)X.paths.hasOwnProperty(de)&&ye.push(X.paths[de]);function me(Ee){var Ve=Ee.categoryInds.map(function($e,Ye){return re[Ye][$e]});return oe.map(function($e){return Ve[$e]})}ye.sort(function(Ee,Ve){var $e=me(Ee),Ye=me(Ve);return te.sortpaths==="backward"&&($e.reverse(),Ye.reverse()),$e.push(Ee.valueInds[0]),Ye.push(Ve.valueInds[0]),te.bundlecolors&&($e.unshift(Ee.rawColor),Ye.unshift(Ve.rawColor)),$eYe?1:0});for(var pe=new Array(ye.length),xe=Z[0].model.count,Pe=Z[0].categories.map(function(Ee){return Ee.height}).reduce(function(Ee,Ve){return Ee+Ve}),_e=0;_e0?Pe*(Se.count/xe):0;for(var Ce,ae=new Array(Q.length),fe=0;fe1?(te.width-80-16)/(Q-1):0)*re;var ie,oe,ue,ce,ye,de=[],me=te.model.maxCats,pe=Z.categories.length,xe=Z.count,Pe=te.height-8*(me-1),_e=8*(me-pe)/2,Me=Z.categories.map(function(Se){return{displayInd:Se.displayInd,categoryInd:Se.categoryInd}});for(Me.sort(function(Se,Ce){return Se.displayInd-Ce.displayInd}),ye=0;ye0?oe.count/xe*Pe:0,ue={key:oe.valueInds[0],model:oe,width:16,height:ie,y:oe.dragY!==null?oe.dragY:_e,bands:[],parcatsViewModel:te},_e=_e+ie+8,de.push(ue);return{key:Z.dimensionInd,x:Z.dragX!==null?Z.dragX:X,y:0,width:16,model:Z,categories:de,parcatsViewModel:te,dragCategoryDisplayInd:null,dragDimensionDisplayInd:null,initialDragDimensionDisplayInds:null,initialDragCategoryDisplayInds:null,dragHasMoved:null,potentialClickBand:null}}T.exports=function(te,Z,X,Q){o(X,te,Q,Z)}},45784:function(T,p,t){var d=t(45460);T.exports=function(g,i,M,v){var f=g._fullLayout,l=f._paper,a=f._size;d(g,l,i,{width:a.w,height:a.h,margin:{t:a.t,r:a.r,b:a.b,l:a.l}},M,v)}},73362:function(T,p,t){var d=t(50693),g=t(13838),i=t(41940),M=t(27670).Y,v=t(1426).extendFlat,f=t(44467).templatedArray;T.exports={domain:M({name:"parcoords",trace:!0,editType:"plot"}),labelangle:{valType:"angle",dflt:0,editType:"plot"},labelside:{valType:"enumerated",values:["top","bottom"],dflt:"top",editType:"plot"},labelfont:i({editType:"plot"}),tickfont:i({editType:"plot"}),rangefont:i({editType:"plot"}),dimensions:f("dimension",{label:{valType:"string",editType:"plot"},tickvals:v({},g.tickvals,{editType:"plot"}),ticktext:v({},g.ticktext,{editType:"plot"}),tickformat:v({},g.tickformat,{editType:"plot"}),visible:{valType:"boolean",dflt:!0,editType:"plot"},range:{valType:"info_array",items:[{valType:"number",editType:"plot"},{valType:"number",editType:"plot"}],editType:"plot"},constraintrange:{valType:"info_array",freeLength:!0,dimensions:"1-2",items:[{valType:"any",editType:"plot"},{valType:"any",editType:"plot"}],editType:"plot"},multiselect:{valType:"boolean",dflt:!0,editType:"plot"},values:{valType:"data_array",editType:"calc"},editType:"calc"}),line:v({editType:"calc"},d("line",{colorscaleDflt:"Viridis",autoColorDflt:!1,editTypeOverride:"calc"})),unselected:{line:{color:{valType:"color",dflt:"#7f7f7f",editType:"plot"},opacity:{valType:"number",min:0,max:1,dflt:"auto",editType:"plot"},editType:"plot"},editType:"plot"}}},57920:function(T,p,t){var d=t(25706),g=t(39898),i=t(28984).keyFun,M=t(28984).repeat,v=t(71828).sorterAsc,f=t(71828).strTranslate,l=d.bar.snapRatio;function a(I,O){return I*(1-l)+O*l}var u=d.bar.snapClose;function o(I,O){return I*(1-u)+O*u}function s(I,O,z,F){if(function(ne,te){for(var Z=0;Z=te[Z][0]&&ne<=te[Z][1])return!0;return!1}(z,F))return z;var B=I?-1:1,N=0,W=O.length-1;if(B<0){var j=N;N=W,W=j}for(var $=O[N],U=$,G=N;B*GO){q=z;break}}if(B=U,isNaN(B)&&(B=isNaN(G)||isNaN(q)?isNaN(G)?q:G:O-$[G][1]<$[q][0]-O?G:q),!isNaN(B)){var ne=$[B],te=function(re,ie){var oe=d.bar.handleHeight;if(!(ie>re[1]+oe||ie=.9*re[1]+.1*re[0]?"n":ie<=.9*re[0]+.1*re[1]?"s":"ns"}(ne,O);te&&(N.interval=j[B],N.intervalPix=ne,N.region=te)}}if(I.ordinal&&!N.region){var Z=I.unitTickvals,X=I.unitToPaddedPx.invert(O);for(z=0;z=Q[0]&&X<=Q[1]){N.clickableOrdinalRange=Q;break}}}return N}function E(I,O){g.event.sourceEvent.stopPropagation();var z=O.height-g.mouse(I)[1]-2*d.verticalPadding,F=O.brush.svgBrush;F.wasDragged=!0,F._dragging=!0,F.grabbingBar?F.newExtent=[z-F.grabPoint,z+F.barLength-F.grabPoint].map(O.unitToPaddedPx.invert):F.newExtent=[F.startExtent,O.unitToPaddedPx.invert(z)].sort(v),O.brush.filterSpecified=!0,F.extent=F.stayingIntervals.concat([F.newExtent]),F.brushCallback(O),_(I.parentNode)}function x(I,O){var z=k(O,O.height-g.mouse(I)[1]-2*d.verticalPadding),F="crosshair";z.clickableOrdinalRange?F="pointer":z.region&&(F=z.region+"-resize"),g.select(document.body).style("cursor",F)}function A(I){I.on("mousemove",function(O){g.event.preventDefault(),O.parent.inBrushDrag||x(this,O)}).on("mouseleave",function(O){O.parent.inBrushDrag||y()}).call(g.behavior.drag().on("dragstart",function(O){(function(z,F){g.event.sourceEvent.stopPropagation();var B=F.height-g.mouse(z)[1]-2*d.verticalPadding,N=F.unitToPaddedPx.invert(B),W=F.brush,j=k(F,B),$=j.interval,U=W.svgBrush;if(U.wasDragged=!1,U.grabbingBar=j.region==="ns",U.grabbingBar){var G=$.map(F.unitToPaddedPx);U.grabPoint=B-G[0]-d.verticalPadding,U.barLength=G[1]-G[0]}U.clickableOrdinalRange=j.clickableOrdinalRange,U.stayingIntervals=F.multiselect&&W.filterSpecified?W.filter.getConsolidated():[],$&&(U.stayingIntervals=U.stayingIntervals.filter(function(q){return q[0]!==$[0]&&q[1]!==$[1]})),U.startExtent=j.region?$[j.region==="s"?1:0]:N,F.parent.inBrushDrag=!0,U.brushStartCallback()})(this,O)}).on("drag",function(O){E(this,O)}).on("dragend",function(O){(function(z,F){var B=F.brush,N=B.filter,W=B.svgBrush;W._dragging||(x(z,F),E(z,F),F.brush.svgBrush.wasDragged=!1),W._dragging=!1,g.event.sourceEvent.stopPropagation();var j=W.grabbingBar;if(W.grabbingBar=!1,W.grabLocation=void 0,F.parent.inBrushDrag=!1,y(),!W.wasDragged)return W.wasDragged=void 0,W.clickableOrdinalRange?B.filterSpecified&&F.multiselect?W.extent.push(W.clickableOrdinalRange):(W.extent=[W.clickableOrdinalRange],B.filterSpecified=!0):j?(W.extent=W.stayingIntervals,W.extent.length===0&&b(B)):b(B),W.brushCallback(F),_(z.parentNode),void W.brushEndCallback(B.filterSpecified?N.getConsolidated():[]);var $=function(){N.set(N.getConsolidated())};if(F.ordinal){var U=F.unitTickvals;U[U.length-1]W.newExtent[0];W.extent=W.stayingIntervals.concat(G?[W.newExtent]:[]),W.extent.length||b(B),W.brushCallback(F),G?_(z.parentNode,$):($(),_(z.parentNode))}else $();W.brushEndCallback(B.filterSpecified?N.getConsolidated():[])})(this,O)}))}function L(I,O){return I[0]-O[0]}function b(I){I.filterSpecified=!1,I.svgBrush.extent=[[-1/0,1/0]]}function R(I){for(var O,z=I.slice(),F=[],B=z.shift();B;){for(O=B.slice();(B=z.shift())&&B[0]<=O[1];)O[1]=Math.max(O[1],B[1]);F.push(O)}return F.length===1&&F[0][0]>F[0][1]&&(F=[]),F}T.exports={makeBrush:function(I,O,z,F,B,N){var W,j=function(){var $,U,G=[];return{set:function(q){(G=q.map(function(H){return H.slice().sort(v)}).sort(L)).length===1&&G[0][0]===-1/0&&G[0][1]===1/0&&(G=[[0,-1]]),$=R(G),U=G.reduce(function(H,ne){return[Math.min(H[0],ne[0]),Math.max(H[1],ne[1])]},[1/0,-1/0])},get:function(){return G.slice()},getConsolidated:function(){return $},getBounds:function(){return U}}}();return j.set(z),{filter:j,filterSpecified:O,svgBrush:{extent:[],brushStartCallback:F,brushCallback:(W=B,function($){var U=$.brush,G=function(H){return H.svgBrush.extent.map(function(ne){return ne.slice()})}(U),q=G.slice();U.filter.set(q),W()}),brushEndCallback:N}}},ensureAxisBrush:function(I,O,z){var F=I.selectAll("."+d.cn.axisBrush).data(M,i);F.enter().append("g").classed(d.cn.axisBrush,!0),function(B,N,W){var j=W._context.staticPlot,$=B.selectAll(".background").data(M);$.enter().append("rect").classed("background",!0).call(h).call(c).style("pointer-events",j?"none":"auto").attr("transform",f(0,d.verticalPadding)),$.call(A).attr("height",function(q){return q.height-d.verticalPadding});var U=B.selectAll(".highlight-shadow").data(M);U.enter().append("line").classed("highlight-shadow",!0).attr("x",-d.bar.width/2).attr("stroke-width",d.bar.width+d.bar.strokeWidth).attr("stroke",N).attr("opacity",d.bar.strokeOpacity).attr("stroke-linecap","butt"),U.attr("y1",function(q){return q.height}).call(C);var G=B.selectAll(".highlight").data(M);G.enter().append("line").classed("highlight",!0).attr("x",-d.bar.width/2).attr("stroke-width",d.bar.width-d.bar.strokeWidth).attr("stroke",d.bar.fillColor).attr("opacity",d.bar.fillOpacity).attr("stroke-linecap","butt"),G.attr("y1",function(q){return q.height}).call(C)}(F,O,z)},cleanRanges:function(I,O){if(Array.isArray(I[0])?(I=I.map(function(F){return F.sort(v)}),I=O.multiselect?R(I.sort(L)):[I[0]]):I=[I.sort(v)],O.tickvals){var z=O.tickvals.slice().sort(v);if(!(I=I.map(function(F){var B=[s(0,z,F[0],[]),s(1,z,F[1],[])];if(B[1]>B[0])return B}).filter(function(F){return F})).length)return}return I.length>1?I:I[0]}}},71791:function(T,p,t){T.exports={attributes:t(73362),supplyDefaults:t(3633),calc:t(24639),colorbar:{container:"line",min:"cmin",max:"cmax"},moduleType:"trace",name:"parcoords",basePlotModule:t(49351),categories:["gl","regl","noOpacity","noHover"],meta:{}}},49351:function(T,p,t){var d=t(39898),g=t(27659).a0,i=t(21341),M=t(77922);p.name="parcoords",p.plot=function(v){var f=g(v.calcdata,"parcoords")[0];f.length&&i(v,f)},p.clean=function(v,f,l,a){var u=a._has&&a._has("parcoords"),o=f._has&&f._has("parcoords");u&&!o&&(a._paperdiv.selectAll(".parcoords").remove(),a._glimages.selectAll("*").remove())},p.toSVG=function(v){var f=v._fullLayout._glimages,l=d.select(v).selectAll(".svg-container");l.filter(function(a,u){return u===l.size()-1}).selectAll(".gl-canvas-context, .gl-canvas-focus").each(function(){var a=this,u=a.toDataURL("image/png");f.append("svg:image").attr({xmlns:M.svg,"xlink:href":u,preserveAspectRatio:"none",x:0,y:0,width:a.style.width,height:a.style.height})}),window.setTimeout(function(){d.selectAll("#filterBarPattern").attr("id","filterBarPattern")},60)}},24639:function(T,p,t){var d=t(71828).isArrayOrTypedArray,g=t(21081),i=t(28984).wrap;T.exports=function(M,v){var f,l;return g.hasColorscale(v,"line")&&d(v.line.color)?(f=v.line.color,l=g.extractOpts(v.line).colorscale,g.calc(M,v,{vals:f,containerStr:"line",cLetter:"c"})):(f=function(a){for(var u=new Array(a),o=0;ou&&(d.log("parcoords traces support up to "+u+" dimensions at the moment"),C.splice(u));var _=v(h,c,{name:"dimensions",layout:w,handleItemDefaults:s}),k=function(x,A,L,b,R){var I=R("line.color",L);if(g(x,"line")&&d.isArrayOrTypedArray(I)){if(I.length)return R("line.colorscale"),i(x,A,b,R,{prefix:"line.",cLetter:"c"}),I.length;A.line.color=L}return 1/0}(h,c,m,w,y);M(c,w,y),Array.isArray(_)&&_.length||(c.visible=!1),o(c,_,"values",k);var E={family:w.font.family,size:Math.round(w.font.size/1.2),color:w.font.color};d.coerceFont(y,"labelfont",E),d.coerceFont(y,"tickfont",E),d.coerceFont(y,"rangefont",E),y("labelangle"),y("labelside"),y("unselected.line.color"),y("unselected.line.opacity")}},1602:function(T,p,t){var d=t(71828).isTypedArray;p.convertTypedArray=function(g){return d(g)?Array.prototype.slice.call(g):g},p.isOrdinal=function(g){return!!g.tickvals},p.isVisible=function(g){return g.visible||!("visible"in g)}},67618:function(T,p,t){var d=t(71791);d.plot=t(21341),T.exports=d},83398:function(T,p,t){var d=t(56068),g=d([`precision highp float; -======== - `)};function nR(n){var e=!1;try{e=n instanceof BigInt64Array||n instanceof BigUint64Array}catch{}return n instanceof Int8Array||n instanceof Uint8Array||n instanceof Uint8ClampedArray||n instanceof Int16Array||n instanceof Uint16Array||n instanceof Int32Array||n instanceof Uint32Array||n instanceof Float32Array||n instanceof Float64Array||e}var rR=globalThis&&globalThis.__extends||function(){var n=function(e,r){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,D){C.__proto__=D}||function(C,D){for(var T in D)Object.prototype.hasOwnProperty.call(D,T)&&(C[T]=D[T])},n(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");n(e,r);function C(){this.constructor=e}e.prototype=r===null?Object.create(r):(C.prototype=r.prototype,new C)}}();(function(n){rR(e,n);function e(){return n!==null&&n.apply(this,arguments)||this}return e.prototype.componentDidMount=function(){Wu.setFrameHeight()},e.prototype.componentDidUpdate=function(){Wu.setFrameHeight()},e})(g9.PureComponent);const rc=i2("selection",{state:()=>({scanIndex:void 0,massIndex:void 0,proteinIndex:void 0,tagIndex:void 0,selectedObservedMass:void 0,AApos:void 0,tagData:void 0,counter:void 0,id:void 0,heatmap_deconv:void 0,heatmap_deconv2:void 0,heatmap_raw:void 0,heatmap_raw2:void 0}),getters:{selectedScanIndex:n=>n.scanIndex,selectedMassIndex:n=>n.massIndex,selectedProteinIndex:n=>n.proteinIndex,selectedTagIndex:n=>n.tagIndex,selectedAApos:n=>n.AApos,selectedTag:n=>n.tagData,selectedDeconvMS2Heatmap:n=>n.heatmap_deconv2,selectedDeconvHeatmap:n=>n.heatmap_deconv,selectedRawHeatmap:n=>n.heatmap_raw,selectedRawMS2Heatmap:n=>n.heatmap_raw2,selectedObservedMassFromFragmentTable:n=>n.selectedObservedMass},actions:{updateSelectedScan(n){this.scanIndex=n},updateSelectedMass(n){this.massIndex=n},updateSelectedProtein(n){this.proteinIndex=n},updateSelectedTag(n){this.tagIndex=n},selectedAminoAcid(n){this.selectedObservedMass=n},updateSelectedAA(n){this.AApos=n},updateTagData(n){this.tagData=n},updateRawHeatmapSelection(n){this.heatmap_raw=n},updateRawMS2HeatmapSelection(n){this.heatmap_raw2=n},updateDeconvHeatmapSelection(n){this.heatmap_deconv=n},updateDeconvMS2HeatmapSelection(n){this.heatmap_deconv2=n}}}),Ns=i2("streamlit-data",{state:()=>({renderData:null,dataForDrawing:{},dataset:"",hash:""}),getters:{args:n=>{var e;return(e=n.renderData)==null?void 0:e.args},components(){return this.args.components},allDataForDrawing:n=>n.dataForDrawing,sequenceData:n=>n.dataForDrawing.sequence_data,settings:n=>n.dataForDrawing.settings,internalFragmentData:n=>n.dataForDrawing.internal_fragment_data,theme:n=>{var e;return(e=n.renderData)==null?void 0:e.theme}},actions:{updateRenderData(n){var D;if(rc().$patch(T=>{if(n.args.selection_store.id!==T.id)for(const p in T)T[p]=void 0;Object.assign(T,n.args.selection_store)}),console.log(n.args.selection_store.id),this.hash===n.args.hash)return;this.hash=n.args.hash,delete n.args.selection_store,delete n.args.hash,this.dataForDrawing={},this.dataset=(D=n.args)==null?void 0:D.dataset,this.renderData=n;function r(T){if(typeof T=="bigint")return Number(T);if(T instanceof Ta){const p=[];for(let t=0;t{if(p instanceof tx){const t=[],d=p.table.schema.fields.map(g=>g.name);for(let g=0;g{var f;i[M]=r((f=p.table.getChildAt(v))==null?void 0:f.get(g))}),t.push(i)}this.dataForDrawing[T]=t}else this.dataForDrawing[T]=p})}}});var EM={exports:{}};(function(n,e){/*! For license information please see plotly.min.js.LICENSE.txt */(function(r,C){n.exports=C()})(self,function(){return function(){var r={98847:function(T,p,t){var d=t(71828),g={"X,X div":'direction:ltr;font-family:"Open Sans",verdana,arial,sans-serif;margin:0;padding:0;',"X input,X button":'font-family:"Open Sans",verdana,arial,sans-serif;',"X input:focus,X button:focus":"outline:none;","X a":"text-decoration:none;","X a:hover":"text-decoration:none;","X .crisp":"shape-rendering:crispEdges;","X .user-select-none":"-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;","X svg":"overflow:hidden;","X svg a":"fill:#447adb;","X svg a:hover":"fill:#3c6dc5;","X .main-svg":"position:absolute;top:0;left:0;pointer-events:none;","X .main-svg .draglayer":"pointer-events:all;","X .cursor-default":"cursor:default;","X .cursor-pointer":"cursor:pointer;","X .cursor-crosshair":"cursor:crosshair;","X .cursor-move":"cursor:move;","X .cursor-col-resize":"cursor:col-resize;","X .cursor-row-resize":"cursor:row-resize;","X .cursor-ns-resize":"cursor:ns-resize;","X .cursor-ew-resize":"cursor:ew-resize;","X .cursor-sw-resize":"cursor:sw-resize;","X .cursor-s-resize":"cursor:s-resize;","X .cursor-se-resize":"cursor:se-resize;","X .cursor-w-resize":"cursor:w-resize;","X .cursor-e-resize":"cursor:e-resize;","X .cursor-nw-resize":"cursor:nw-resize;","X .cursor-n-resize":"cursor:n-resize;","X .cursor-ne-resize":"cursor:ne-resize;","X .cursor-grab":"cursor:-webkit-grab;cursor:grab;","X .modebar":"position:absolute;top:2px;right:2px;","X .ease-bg":"-webkit-transition:background-color .3s ease 0s;-moz-transition:background-color .3s ease 0s;-ms-transition:background-color .3s ease 0s;-o-transition:background-color .3s ease 0s;transition:background-color .3s ease 0s;","X .modebar--hover>:not(.watermark)":"opacity:0;-webkit-transition:opacity .3s ease 0s;-moz-transition:opacity .3s ease 0s;-ms-transition:opacity .3s ease 0s;-o-transition:opacity .3s ease 0s;transition:opacity .3s ease 0s;","X:hover .modebar--hover .modebar-group":"opacity:1;","X .modebar-group":"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;","X .modebar-btn":"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;","X .modebar-btn svg":"position:relative;top:2px;","X .modebar.vertical":"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;","X .modebar.vertical svg":"top:-1px;","X .modebar.vertical .modebar-group":"display:block;float:none;padding-left:0px;padding-bottom:8px;","X .modebar.vertical .modebar-group .modebar-btn":"display:block;text-align:center;","X [data-title]:before,X [data-title]:after":"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none;opacity:0;z-index:1001;pointer-events:none;top:110%;right:50%;","X [data-title]:hover:before,X [data-title]:hover:after":"display:block;opacity:1;","X [data-title]:before":'content:"";position:absolute;background:rgba(0,0,0,0);border:6px solid rgba(0,0,0,0);z-index:1002;margin-top:-12px;border-bottom-color:#69738a;margin-right:-6px;',"X [data-title]:after":"content:attr(data-title);background:#69738a;color:#fff;padding:8px 10px;font-size:12px;line-height:12px;white-space:nowrap;margin-right:-18px;border-radius:2px;","X .vertical [data-title]:before,X .vertical [data-title]:after":"top:0%;right:200%;","X .vertical [data-title]:before":"border:6px solid rgba(0,0,0,0);border-left-color:#69738a;margin-top:8px;margin-right:-30px;",Y:'font-family:"Open Sans",verdana,arial,sans-serif;position:fixed;top:50px;right:20px;z-index:10000;font-size:10pt;max-width:180px;',"Y p":"margin:0;","Y .notifier-note":"min-width:180px;max-width:250px;border:1px solid #fff;z-index:3000;margin:0;background-color:#8c97af;background-color:rgba(140,151,175,.9);color:#fff;padding:10px;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-webkit-hyphens:auto;hyphens:auto;","Y .notifier-close":"color:#fff;opacity:.8;float:right;padding:0 5px;background:none;border:none;font-size:20px;font-weight:bold;line-height:20px;","Y .notifier-close:hover":"color:#444;text-decoration:none;cursor:pointer;"};for(var i in g){var M=i.replace(/^,/," ,").replace(/X/g,".js-plotly-plot .plotly").replace(/Y/g,".plotly-notifier");d.addStyleRule(M,g[i])}},98222:function(T,p,t){T.exports=t(82887)},27206:function(T,p,t){T.exports=t(60822)},59893:function(T,p,t){T.exports=t(23381)},5224:function(T,p,t){T.exports=t(83832)},59509:function(T,p,t){T.exports=t(72201)},75557:function(T,p,t){T.exports=t(91815)},40338:function(T,p,t){T.exports=t(21462)},35080:function(T,p,t){T.exports=t(51319)},61396:function(T,p,t){T.exports=t(57516)},40549:function(T,p,t){T.exports=t(98128)},49866:function(T,p,t){T.exports=t(99442)},36089:function(T,p,t){T.exports=t(93740)},19548:function(T,p,t){T.exports=t(8729)},35831:function(T,p,t){T.exports=t(93814)},61039:function(T,p,t){T.exports=t(14382)},97040:function(T,p,t){T.exports=t(51759)},77986:function(T,p,t){T.exports=t(10421)},24296:function(T,p,t){T.exports=t(43102)},58872:function(T,p,t){T.exports=t(92165)},29626:function(T,p,t){T.exports=t(3325)},65591:function(T,p,t){T.exports=t(36071)},69738:function(T,p,t){T.exports=t(43905)},92650:function(T,p,t){T.exports=t(35902)},35630:function(T,p,t){T.exports=t(69816)},73434:function(T,p,t){T.exports=t(94507)},27909:function(T,p,t){var d=t(19548);d.register([t(27206),t(5224),t(58872),t(65591),t(69738),t(92650),t(49866),t(25743),t(6197),t(97040),t(85461),t(73434),t(54201),t(81299),t(47645),t(35630),t(77986),t(83043),t(93005),t(96881),t(4534),t(50581),t(40549),t(77900),t(47582),t(35080),t(21641),t(17280),t(5861),t(29626),t(10021),t(65317),t(96268),t(61396),t(35831),t(16122),t(46163),t(40344),t(40338),t(48131),t(36089),t(55334),t(75557),t(19440),t(99488),t(59893),t(97393),t(98222),t(61039),t(24296),t(66398),t(59509)]),T.exports=d},46163:function(T,p,t){T.exports=t(15154)},96881:function(T,p,t){T.exports=t(64943)},50581:function(T,p,t){T.exports=t(21164)},55334:function(T,p,t){T.exports=t(54186)},65317:function(T,p,t){T.exports=t(94873)},10021:function(T,p,t){T.exports=t(67618)},54201:function(T,p,t){T.exports=t(58810)},5861:function(T,p,t){T.exports=t(20593)},16122:function(T,p,t){T.exports=t(29396)},83043:function(T,p,t){T.exports=t(13551)},48131:function(T,p,t){T.exports=t(46858)},47582:function(T,p,t){T.exports=t(17988)},21641:function(T,p,t){T.exports=t(68868)},96268:function(T,p,t){T.exports=t(20467)},19440:function(T,p,t){T.exports=t(91271)},99488:function(T,p,t){T.exports=t(21461)},97393:function(T,p,t){T.exports=t(85956)},25743:function(T,p,t){T.exports=t(52979)},66398:function(T,p,t){T.exports=t(32275)},17280:function(T,p,t){T.exports=t(6419)},77900:function(T,p,t){T.exports=t(61510)},81299:function(T,p,t){T.exports=t(87619)},93005:function(T,p,t){T.exports=t(93601)},40344:function(T,p,t){T.exports=t(96595)},47645:function(T,p,t){T.exports=t(70954)},6197:function(T,p,t){T.exports=t(47462)},4534:function(T,p,t){T.exports=t(17659)},85461:function(T,p,t){T.exports=t(19990)},82884:function(T){T.exports=[{path:"",backoff:0},{path:"M-2.4,-3V3L0.6,0Z",backoff:.6},{path:"M-3.7,-2.5V2.5L1.3,0Z",backoff:1.3},{path:"M-4.45,-3L-1.65,-0.2V0.2L-4.45,3L1.55,0Z",backoff:1.55},{path:"M-2.2,-2.2L-0.2,-0.2V0.2L-2.2,2.2L-1.4,3L1.6,0L-1.4,-3Z",backoff:1.6},{path:"M-4.4,-2.1L-0.6,-0.2V0.2L-4.4,2.1L-4,3L2,0L-4,-3Z",backoff:2},{path:"M2,0A2,2 0 1,1 0,-2A2,2 0 0,1 2,0Z",backoff:0,noRotate:!0},{path:"M2,2V-2H-2V2Z",backoff:0,noRotate:!0}]},50215:function(T,p,t){var d=t(82884),g=t(41940),i=t(85555),M=t(44467).templatedArray;t(24695),T.exports=M("annotation",{visible:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},text:{valType:"string",editType:"calc+arraydraw"},textangle:{valType:"angle",dflt:0,editType:"calc+arraydraw"},font:g({editType:"calc+arraydraw",colorEditType:"arraydraw"}),width:{valType:"number",min:1,dflt:null,editType:"calc+arraydraw"},height:{valType:"number",min:1,dflt:null,editType:"calc+arraydraw"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"arraydraw"},align:{valType:"enumerated",values:["left","center","right"],dflt:"center",editType:"arraydraw"},valign:{valType:"enumerated",values:["top","middle","bottom"],dflt:"middle",editType:"arraydraw"},bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},bordercolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},borderpad:{valType:"number",min:0,dflt:1,editType:"calc+arraydraw"},borderwidth:{valType:"number",min:0,dflt:1,editType:"calc+arraydraw"},showarrow:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},arrowcolor:{valType:"color",editType:"arraydraw"},arrowhead:{valType:"integer",min:0,max:d.length,dflt:1,editType:"arraydraw"},startarrowhead:{valType:"integer",min:0,max:d.length,dflt:1,editType:"arraydraw"},arrowside:{valType:"flaglist",flags:["end","start"],extras:["none"],dflt:"end",editType:"arraydraw"},arrowsize:{valType:"number",min:.3,dflt:1,editType:"calc+arraydraw"},startarrowsize:{valType:"number",min:.3,dflt:1,editType:"calc+arraydraw"},arrowwidth:{valType:"number",min:.1,editType:"calc+arraydraw"},standoff:{valType:"number",min:0,dflt:0,editType:"calc+arraydraw"},startstandoff:{valType:"number",min:0,dflt:0,editType:"calc+arraydraw"},ax:{valType:"any",editType:"calc+arraydraw"},ay:{valType:"any",editType:"calc+arraydraw"},axref:{valType:"enumerated",dflt:"pixel",values:["pixel",i.idRegex.x.toString()],editType:"calc"},ayref:{valType:"enumerated",dflt:"pixel",values:["pixel",i.idRegex.y.toString()],editType:"calc"},xref:{valType:"enumerated",values:["paper",i.idRegex.x.toString()],editType:"calc"},x:{valType:"any",editType:"calc+arraydraw"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto",editType:"calc+arraydraw"},xshift:{valType:"number",dflt:0,editType:"calc+arraydraw"},yref:{valType:"enumerated",values:["paper",i.idRegex.y.toString()],editType:"calc"},y:{valType:"any",editType:"calc+arraydraw"},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"auto",editType:"calc+arraydraw"},yshift:{valType:"number",dflt:0,editType:"calc+arraydraw"},clicktoshow:{valType:"enumerated",values:[!1,"onoff","onout"],dflt:!1,editType:"arraydraw"},xclick:{valType:"any",editType:"arraydraw"},yclick:{valType:"any",editType:"arraydraw"},hovertext:{valType:"string",editType:"arraydraw"},hoverlabel:{bgcolor:{valType:"color",editType:"arraydraw"},bordercolor:{valType:"color",editType:"arraydraw"},font:g({editType:"arraydraw"}),editType:"arraydraw"},captureevents:{valType:"boolean",editType:"arraydraw"},editType:"calc",_deprecated:{ref:{valType:"string",editType:"calc"}}})},3749:function(T,p,t){var d=t(71828),g=t(89298),i=t(92605).draw;function M(f){var l=f._fullLayout;d.filterVisible(l.annotations).forEach(function(a){var u=g.getFromId(f,a.xref),o=g.getFromId(f,a.yref),s=g.getRefType(a.xref),c=g.getRefType(a.yref);a._extremes={},s==="range"&&v(a,u),c==="range"&&v(a,o)})}function v(f,l){var a,u=l._id,o=u.charAt(0),s=f[o],c=f["a"+o],h=f[o+"ref"],m=f["a"+o+"ref"],w=f["_"+o+"padplus"],y=f["_"+o+"padminus"],S={x:1,y:-1}[o]*f[o+"shift"],_=3*f.arrowsize*f.arrowwidth||0,k=_+S,E=_-S,x=3*f.startarrowsize*f.arrowwidth||0,A=x+S,L=x-S;if(m===h){var b=g.findExtremes(l,[l.r2c(s)],{ppadplus:k,ppadminus:E}),R=g.findExtremes(l,[l.r2c(c)],{ppadplus:Math.max(w,A),ppadminus:Math.max(y,L)});a={min:[b.min[0],R.min[0]],max:[b.max[0],R.max[0]]}}else A=c?A+c:A,L=c?L-c:L,a=g.findExtremes(l,[l.r2c(s)],{ppadplus:Math.max(w,k,A),ppadminus:Math.max(y,E,L)});f._extremes[u]=a}T.exports=function(f){var l=f._fullLayout;if(d.filterVisible(l.annotations).length&&f._fullData.length)return d.syncOrAsync([i,M],f)}},44317:function(T,p,t){var d=t(71828),g=t(73972),i=t(44467).arrayEditor;function M(f,l){var a,u,o,s,c,h,m,w=f._fullLayout.annotations,y=[],S=[],_=[],k=(l||[]).length;for(a=0;a0||a.explicitOff.length>0},onClick:function(f,l){var a,u,o=M(f,l),s=o.on,c=o.off.concat(o.explicitOff),h={},m=f._fullLayout.annotations;if(s.length||c.length){for(a=0;a.6666666666666666?"right":"center"),{center:0,middle:0,left:.5,bottom:-.5,right:-.5,top:.5}[yt]}for(var Be=!1,ze=["x","y"],je=0;je1)&&(ot===st?((Vt=ht.r2fraction(k["a"+Ye]))<0||Vt>1)&&(Be=!0):Be=!0),ge=ht._offset+ht.r2p(k[Ye]),Ve=.5}else{var Ke=qt==="domain";Ye==="x"?(Ee=k[Ye],ge=Ke?ht._offset+ht._length*Ee:ge=O.l+O.w*Ee):(Ee=1-k[Ye],ge=Ke?ht._offset+ht._length*Ee:ge=O.t+O.h*Ee),Ve=k.showarrow?.5:Ee}if(k.showarrow){Bt.head=ge;var Je=k["a"+Ye];if($e=Et*Le(.5,k.xanchor)-kt*Le(.5,k.yanchor),ot===st){var qe=f.getRefType(ot);qe==="domain"?(Ye==="y"&&(Je=1-Je),Bt.tail=ht._offset+ht._length*Je):qe==="paper"?Ye==="y"?(Je=1-Je,Bt.tail=O.t+O.h*Je):Bt.tail=O.l+O.w*Je:Bt.tail=ht._offset+ht.r2p(Je),we=$e}else Bt.tail=ge+Je,we=$e+Je;Bt.text=Bt.tail+$e;var nt=I[Ye==="x"?"width":"height"];if(st==="paper"&&(Bt.head=M.constrain(Bt.head,1,nt-1)),ot==="pixel"){var ft=-Math.max(Bt.tail-3,Bt.text),Re=Math.min(Bt.tail+3,Bt.text)-nt;ft>0?(Bt.tail+=ft,Bt.text+=ft):Re>0&&(Bt.tail-=Re,Bt.text-=Re)}Bt.tail+=Ot,Bt.head+=Ot}else we=$e=xt*Le(Ve,Ft),Bt.text=ge+$e;Bt.text+=Ot,$e+=Ot,we+=Ot,k["_"+Ye+"padplus"]=xt/2+we,k["_"+Ye+"padminus"]=xt/2-we,k["_"+Ye+"size"]=xt,k["_"+Ye+"shift"]=$e}if(Be)te.remove();else{var Ne=0,Qe=0;if(k.align!=="left"&&(Ne=(ae-Se)*(k.align==="center"?.5:1)),k.valign!=="top"&&(Qe=(fe-Ce)*(k.valign==="middle"?.5:1)),_e)Pe.select("svg").attr({x:Q+Ne-1,y:Q+Qe}).call(a.setClipUrl,ie?j:null,_);else{var ut=Q+Qe-Me.top,dt=Q+Ne-Me.left;ye.call(o.positionText,dt,ut).call(a.setClipUrl,ie?j:null,_)}oe.select("rect").call(a.setRect,Q,Q,ae,fe),re.call(a.setRect,Z/2,Z/2,be-Z,ke-Z),te.call(a.setTranslate,Math.round($.x.text-be/2),Math.round($.y.text-ke/2)),q.attr({transform:"rotate("+U+","+$.x.text+","+$.y.text+")"});var _t,It=function(Lt,yt){G.selectAll(".annotation-arrow-g").remove();var Pt=$.x.head,wt=$.y.head,Rt=$.x.tail+Lt,Nt=$.y.tail+yt,Yt=$.x.text+Lt,Wt=$.y.text+yt,Xt=M.rotationXYMatrix(U,Yt,Wt),Qt=M.apply2DTransform(Xt),rn=M.apply2DTransform2(Xt),xn=+re.attr("width"),un=+re.attr("height"),An=Yt-.5*xn,Yn=An+xn,kn=Wt-.5*un,sn=kn+un,Tn=[[An,kn,An,sn],[An,sn,Yn,sn],[Yn,sn,Yn,kn],[Yn,kn,An,kn]].map(rn);if(!Tn.reduce(function(or,vr){return or^!!M.segmentsIntersect(Pt,wt,Pt+1e6,wt+1e6,vr[0],vr[1],vr[2],vr[3])},!1)){Tn.forEach(function(or){var vr=M.segmentsIntersect(Rt,Nt,Pt,wt,or[0],or[1],or[2],or[3]);vr&&(Rt=vr.x,Nt=vr.y)});var dn=k.arrowwidth,pn=k.arrowcolor,Dn=k.arrowside,In=G.append("g").style({opacity:l.opacity(pn)}).classed("annotation-arrow-g",!0),jn=In.append("path").attr("d","M"+Rt+","+Nt+"L"+Pt+","+wt).style("stroke-width",dn+"px").call(l.stroke,l.rgb(pn));if(m(jn,Dn,k),z.annotationPosition&&jn.node().parentNode&&!x){var Gn=Pt,qn=wt;if(k.standoff){var lr=Math.sqrt(Math.pow(Pt-Rt,2)+Math.pow(wt-Nt,2));Gn+=k.standoff*(Rt-Pt)/lr,qn+=k.standoff*(Nt-wt)/lr}var rr,Sr,yr=In.append("path").classed("annotation-arrow",!0).classed("anndrag",!0).classed("cursor-move",!0).attr({d:"M3,3H-3V-3H3ZM0,0L"+(Rt-Gn)+","+(Nt-qn),transform:v(Gn,qn)}).style("stroke-width",dn+6+"px").call(l.stroke,"rgba(0,0,0,0)").call(l.fill,"rgba(0,0,0,0)");c.init({element:yr.node(),gd:_,prepFn:function(){var or=a.getTranslate(te);rr=or.x,Sr=or.y,A&&A.autorange&&B(A._name+".autorange",!0),L&&L.autorange&&B(L._name+".autorange",!0)},moveFn:function(or,vr){var _r=Qt(rr,Sr),Kt=_r[0]+or,bn=_r[1]+vr;te.call(a.setTranslate,Kt,bn),N("x",y(A,or,"x",O,k)),N("y",y(L,vr,"y",O,k)),k.axref===k.xref&&N("ax",y(A,or,"ax",O,k)),k.ayref===k.yref&&N("ay",y(L,vr,"ay",O,k)),In.attr("transform",v(or,vr)),q.attr({transform:"rotate("+U+","+Kt+","+bn+")"})},doneFn:function(){g.call("_guiRelayout",_,W());var or=document.querySelector(".js-notes-box-panel");or&&or.redraw(or.selectedObj)}})}}};k.showarrow&&It(0,0),H&&c.init({element:te.node(),gd:_,prepFn:function(){_t=q.attr("transform")},moveFn:function(Lt,yt){var Pt="pointer";if(k.showarrow)k.axref===k.xref?N("ax",y(A,Lt,"ax",O,k)):N("ax",k.ax+Lt),k.ayref===k.yref?N("ay",y(L,yt,"ay",O.w,k)):N("ay",k.ay+yt),It(Lt,yt);else{if(x)return;var wt,Rt;if(A)wt=y(A,Lt,"x",O,k);else{var Nt=k._xsize/O.w,Yt=k.x+(k._xshift-k.xshift)/O.w-Nt/2;wt=c.align(Yt+Lt/O.w,Nt,0,1,k.xanchor)}if(L)Rt=y(L,yt,"y",O,k);else{var Wt=k._ysize/O.h,Xt=k.y-(k._yshift+k.yshift)/O.h-Wt/2;Rt=c.align(Xt-yt/O.h,Wt,0,1,k.yanchor)}N("x",wt),N("y",Rt),A&&L||(Pt=c.getCursor(A?.5:wt,L?.5:Rt,k.xanchor,k.yanchor))}q.attr({transform:v(Lt,yt)+_t}),s(te,Pt)},clickFn:function(Lt,yt){k.captureevents&&_.emit("plotly_clickannotation",de(yt))},doneFn:function(){s(te),g.call("_guiRelayout",_,W());var Lt=document.querySelector(".js-notes-box-panel");Lt&&Lt.redraw(Lt.selectedObj)}})}}}T.exports={draw:function(_){var k=_._fullLayout;k._infolayer.selectAll(".annotation").remove();for(var E=0;E=0,x=u.indexOf("end")>=0,A=y.backoff*_+o.standoff,L=S.backoff*k+o.startstandoff;if(w.nodeName==="line"){s={x:+a.attr("x1"),y:+a.attr("y1")},c={x:+a.attr("x2"),y:+a.attr("y2")};var b=s.x-c.x,R=s.y-c.y;if(m=(h=Math.atan2(R,b))+Math.PI,A&&L&&A+L>Math.sqrt(b*b+R*R))return void G();if(A){if(A*A>b*b+R*R)return void G();var I=A*Math.cos(h),O=A*Math.sin(h);c.x+=I,c.y+=O,a.attr({x2:c.x,y2:c.y})}if(L){if(L*L>b*b+R*R)return void G();var z=L*Math.cos(h),F=L*Math.sin(h);s.x-=z,s.y-=F,a.attr({x1:s.x,y1:s.y})}}else if(w.nodeName==="path"){var B=w.getTotalLength(),N="";if(B1){o=!0;break}}o?M.fullLayout._infolayer.select(".annotation-"+M.id+'[data-index="'+a+'"]').remove():(u._pdata=g(M.glplot.cameraParams,[v.xaxis.r2l(u.x)*f[0],v.yaxis.r2l(u.y)*f[1],v.zaxis.r2l(u.z)*f[2]]),d(M.graphDiv,u,a,M.id,u._xa,u._ya))}}},2468:function(T,p,t){var d=t(73972),g=t(71828);T.exports={moduleType:"component",name:"annotations3d",schema:{subplots:{scene:{annotations:t(26997)}}},layoutAttributes:t(26997),handleDefaults:t(20226),includeBasePlot:function(i,M){var v=d.subplotsRegistry.gl3d;if(v)for(var f=v.attrRegex,l=Object.keys(i),a=0;a=0)))return u;if(m===3)c[m]>1&&(c[m]=1);else if(c[m]>=1)return u}var w=Math.round(255*c[0])+", "+Math.round(255*c[1])+", "+Math.round(255*c[2]);return h?"rgba("+w+", "+c[3]+")":"rgb("+w+")"}M.tinyRGB=function(u){var o=u.toRgb();return"rgb("+Math.round(o.r)+", "+Math.round(o.g)+", "+Math.round(o.b)+")"},M.rgb=function(u){return M.tinyRGB(d(u))},M.opacity=function(u){return u?d(u).getAlpha():0},M.addOpacity=function(u,o){var s=d(u).toRgb();return"rgba("+Math.round(s.r)+", "+Math.round(s.g)+", "+Math.round(s.b)+", "+o+")"},M.combine=function(u,o){var s=d(u).toRgb();if(s.a===1)return d(u).toRgbString();var c=d(o||l).toRgb(),h=c.a===1?c:{r:255*(1-c.a)+c.r*c.a,g:255*(1-c.a)+c.g*c.a,b:255*(1-c.a)+c.b*c.a},m={r:h.r*(1-s.a)+s.r*s.a,g:h.g*(1-s.a)+s.g*s.a,b:h.b*(1-s.a)+s.b*s.a};return d(m).toRgbString()},M.contrast=function(u,o,s){var c=d(u);return c.getAlpha()!==1&&(c=d(M.combine(u,l))),(c.isDark()?o?c.lighten(o):l:s?c.darken(s):f).toString()},M.stroke=function(u,o){var s=d(o);u.style({stroke:M.tinyRGB(s),"stroke-opacity":s.getAlpha()})},M.fill=function(u,o){var s=d(o);u.style({fill:M.tinyRGB(s),"fill-opacity":s.getAlpha()})},M.clean=function(u){if(u&&typeof u=="object"){var o,s,c,h,m=Object.keys(u);for(o=0;o0?Je>=Ne:Je<=Ne));qe++)Je>ut&&Je0?Je>=Ne:Je<=Ne));qe++)Je>Ke[0]&&Je1){var ot=Math.pow(10,Math.floor(Math.log(st)/Math.LN10));$e*=ot*l.roundUp(st/ot,[2,5,10]),(Math.abs(_e.start)/_e.size+1e-6)%1<2e-6&&(Ee.tick0=0)}Ee.dtick=$e}Ee.domain=W?[ge+Q/ue.h,ge+ke-Q/ue.h]:[ge+X/ue.w,ge+ke-X/ue.w],Ee.setScale(),F.attr("transform",a(Math.round(ue.l),Math.round(ue.t)));var ht,bt=F.select("."+L.cbtitleunshift).attr("transform",a(-Math.round(ue.l),-Math.round(ue.t))),Et=Ee.ticklabelposition,kt=Ee.title.font.size,xt=F.select("."+L.cbaxis),Ft=0,Ot=0;function Bt(qt,Vt){var Ke={propContainer:Ee,propName:B._propPrefix+"title",traceIndex:B._traceIndex,_meta:B._meta,placeholder:oe._dfltTitle.colorbar,containerGroup:F.select("."+L.cbtitle)},Je=qt.charAt(0)==="h"?qt.substr(1):"h"+qt;F.selectAll("."+Je+",."+Je+"-math-group").remove(),h.draw(N,qt,u(Ke,Vt||{}))}return l.syncOrAsync([i.previousPromises,function(){var qt,Vt;(W&&Ve||!W&&!Ve)&&(me==="top"&&(qt=X+ue.l+ue.w*re,Vt=Q+ue.t+ue.h*(1-ge-ke)+3+.75*kt),me==="bottom"&&(qt=X+ue.l+ue.w*re,Vt=Q+ue.t+ue.h*(1-ge)-3-.25*kt),me==="right"&&(Vt=Q+ue.t+ue.h*ie+3+.75*kt,qt=X+ue.l+ue.w*ge),Bt(Ee._id+"title",{attributes:{x:qt,y:Vt,"text-anchor":W?"start":"middle"}}))},function(){if(!W&&!Ve||W&&Ve){var qt,Vt=F.select("."+L.cbtitle),Ke=Vt.select("text"),Je=[-q/2,q/2],qe=Vt.select(".h"+Ee._id+"title-math-group").node(),nt=15.6;if(Ke.node()&&(nt=parseInt(Ke.node().style.fontSize,10)*E),qe?(qt=s.bBox(qe),Ot=qt.width,(Ft=qt.height)>nt&&(Je[1]-=(Ft-nt)/2)):Ke.node()&&!Ke.classed(L.jsPlaceholder)&&(qt=s.bBox(Ke.node()),Ot=qt.width,Ft=qt.height),W){if(Ft){if(Ft+=5,me==="top")Ee.domain[1]-=Ft/ue.h,Je[1]*=-1;else{Ee.domain[0]+=Ft/ue.h;var ft=m.lineCount(Ke);Je[1]+=(1-ft)*nt}Vt.attr("transform",a(Je[0],Je[1])),Ee.setScale()}}else Ot&&(me==="right"&&(Ee.domain[0]+=(Ot+kt/2)/ue.w),Vt.attr("transform",a(Je[0],Je[1])),Ee.setScale())}F.selectAll("."+L.cbfills+",."+L.cblines).attr("transform",W?a(0,Math.round(ue.h*(1-Ee.domain[1]))):a(Math.round(ue.w*Ee.domain[0]),0)),xt.attr("transform",W?a(0,Math.round(-ue.t)):a(Math.round(-ue.l),0));var Re=F.select("."+L.cbfills).selectAll("rect."+L.cbfill).attr("style","").data(Se);Re.enter().append("rect").classed(L.cbfill,!0).style("stroke","none"),Re.exit().remove();var Ne=pe.map(Ee.c2p).map(Math.round).sort(function(It,Lt){return It-Lt});Re.each(function(It,Lt){var yt=[Lt===0?pe[0]:(Se[Lt]+Se[Lt-1])/2,Lt===Se.length-1?pe[1]:(Se[Lt]+Se[Lt+1])/2].map(Ee.c2p).map(Math.round);W&&(yt[1]=l.constrain(yt[1]+(yt[1]>yt[0])?1:-1,Ne[0],Ne[1]));var Pt=d.select(this).attr(W?"x":"y",Le).attr(W?"y":"x",d.min(yt)).attr(W?"width":"height",Math.max(ae,2)).attr(W?"height":"width",Math.max(d.max(yt)-d.min(yt),2));if(B._fillgradient)s.gradient(Pt,N,B._id,W?"vertical":"horizontalreversed",B._fillgradient,"fill");else{var wt=Pe(It).replace("e-","");Pt.attr("fill",g(wt).toHexString())}});var Qe=F.select("."+L.cblines).selectAll("path."+L.cbline).data(ye.color&&ye.width?Ce:[]);Qe.enter().append("path").classed(L.cbline,!0),Qe.exit().remove(),Qe.each(function(It){var Lt=Le,yt=Math.round(Ee.c2p(It))+ye.width/2%1;d.select(this).attr("d","M"+(W?Lt+","+yt:yt+","+Lt)+(W?"h":"v")+ae).call(s.lineGroupStyle,ye.width,xe(It),ye.dash)}),xt.selectAll("g."+Ee._id+"tick,path").remove();var ut=Le+ae+(q||0)/2-(B.ticks==="outside"?1:0),dt=v.calcTicks(Ee),_t=v.getTickSigns(Ee)[2];return v.drawTicks(N,Ee,{vals:Ee.ticks==="inside"?v.clipEnds(Ee,dt):dt,layer:xt,path:v.makeTickPath(Ee,ut,_t),transFn:v.makeTransTickFn(Ee)}),v.drawLabels(N,Ee,{vals:dt,layer:xt,transFn:v.makeTransTickLabelFn(Ee),labelFns:v.makeLabelFns(Ee,ut)})},function(){if(W&&!Ve||!W&&Ve){var qt,Vt,Ke=Ee.position||0,Je=Ee._offset+Ee._length/2;if(me==="right")Vt=Je,qt=ue.l+ue.w*Ke+10+kt*(Ee.showticklabels?1:.5);else if(qt=Je,me==="bottom"&&(Vt=ue.t+ue.h*Ke+10+(Et.indexOf("inside")===-1?Ee.tickfont.size:0)+(Ee.ticks!=="intside"&&B.ticklen||0)),me==="top"){var qe=de.text.split("
").length;Vt=ue.t+ue.h*Ke+10-ae-E*kt*qe}Bt((W?"h":"v")+Ee._id+"title",{avoid:{selection:d.select(N).selectAll("g."+Ee._id+"tick"),side:me,offsetTop:W?0:ue.t,offsetLeft:W?ue.l:0,maxShift:W?oe.width:oe.height},attributes:{x:qt,y:Vt,"text-anchor":"middle"},transform:{rotate:W?-90:0,offset:0}})}},i.previousPromises,function(){var qt,Vt=ae+q/2;Et.indexOf("inside")===-1&&(qt=s.bBox(xt.node()),Vt+=W?qt.width:qt.height),ht=bt.select("text");var Ke=0,Je=W&&me==="top",qe=!W&&me==="right",nt=0;if(ht.node()&&!ht.classed(L.jsPlaceholder)){var ft,Re=bt.select(".h"+Ee._id+"title-math-group").node();Re&&(W&&Ve||!W&&!Ve)?(Ke=(qt=s.bBox(Re)).width,ft=qt.height):(Ke=(qt=s.bBox(bt.node())).right-ue.l-(W?Le:we),ft=qt.bottom-ue.t-(W?we:Le),W||me!=="top"||(Vt+=qt.height,nt=qt.height)),qe&&(ht.attr("transform",a(Ke/2+kt/2,0)),Ke*=2),Vt=Math.max(Vt,W?Ke:ft)}var Ne=2*(W?X:Q)+Vt+H+q/2,Qe=0;!W&&de.text&&Z==="bottom"&&ie<=0&&(Ne+=Qe=Ne/2,nt+=Qe),oe._hColorbarMoveTitle=Qe,oe._hColorbarMoveCBTitle=nt;var ut=H+q;F.select("."+L.cbbg).attr("x",(W?Le:we)-ut/2-(W?X:0)).attr("y",(W?we:Le)-(W?be:Q+nt-Qe)).attr(W?"width":"height",Math.max(Ne-Qe,2)).attr(W?"height":"width",Math.max(be+ut,2)).call(c.fill,ne).call(c.stroke,B.bordercolor).style("stroke-width",H);var dt=qe?Math.max(Ke-10,0):0;if(F.selectAll("."+L.cboutline).attr("x",(W?Le:we+X)+dt).attr("y",(W?we+Q-be:Le)+(Je?Ft:0)).attr(W?"width":"height",Math.max(ae,2)).attr(W?"height":"width",Math.max(be-(W?2*Q+Ft:2*X+dt),2)).call(c.stroke,B.outlinecolor).style({fill:"none","stroke-width":q}),F.attr("transform",a(ue.l-(W?Be*Ne:0),ue.t-(W?0:(1-ze)*Ne-nt))),!W&&(H||g(ne).getAlpha()&&!g.equals(oe.paper_bgcolor,ne))){var _t=xt.selectAll("text"),It=_t[0].length,Lt=F.select("."+L.cbbg).node(),yt=s.bBox(Lt),Pt=s.getTranslate(F);_t.each(function(Qt,rn){var xn=It-1;if(rn===0||rn===xn){var un,An=s.bBox(this),Yn=s.getTranslate(this);if(rn===xn){var kn=An.right+Yn.x;(un=yt.right+Pt.x+we-H-2+re-kn)>0&&(un=0)}else if(rn===0){var sn=An.left+Yn.x;(un=yt.left+Pt.x+we+H+2-sn)<0&&(un=0)}un&&(It<3?this.setAttribute("transform","translate("+un+",0) "+this.getAttribute("transform")):this.setAttribute("visibility","hidden"))}})}var wt={},Rt=x[te],Nt=A[te],Yt=x[Z],Wt=A[Z],Xt=Ne-ae;W?($==="pixels"?(wt.y=ie,wt.t=be*Yt,wt.b=be*Wt):(wt.t=wt.b=0,wt.yt=ie+j*Yt,wt.yb=ie-j*Wt),G==="pixels"?(wt.x=re,wt.l=Ne*Rt,wt.r=Ne*Nt):(wt.l=Xt*Rt,wt.r=Xt*Nt,wt.xl=re-U*Rt,wt.xr=re+U*Nt)):($==="pixels"?(wt.x=re,wt.l=be*Rt,wt.r=be*Nt):(wt.l=wt.r=0,wt.xl=re+j*Rt,wt.xr=re-j*Nt),G==="pixels"?(wt.y=1-ie,wt.t=Ne*Yt,wt.b=Ne*Wt):(wt.t=Xt*Yt,wt.b=Xt*Wt,wt.yt=ie-U*Yt,wt.yb=ie+U*Wt)),i.autoMargin(N,B._id,wt)}],N)}(O,I,b);z&&z.then&&(b._promises||[]).push(z),b._context.edits.colorbarPosition&&function(F,B,N){var W,j,$,U=B.orientation==="v",G=N._fullLayout._size;f.init({element:F.node(),gd:N,prepFn:function(){W=F.attr("transform"),o(F)},moveFn:function(q,H){F.attr("transform",W+a(q,H)),j=f.align((U?B._uFrac:B._vFrac)+q/G.w,U?B._thickFrac:B._lenFrac,0,1,B.xanchor),$=f.align((U?B._vFrac:1-B._uFrac)-H/G.h,U?B._lenFrac:B._thickFrac,0,1,B.yanchor);var ne=f.getCursor(j,$,B.xanchor,B.yanchor);o(F,ne)},doneFn:function(){if(o(F),j!==void 0&&$!==void 0){var q={};q[B._propPrefix+"x"]=j,q[B._propPrefix+"y"]=$,B._traceIndex!==void 0?M.call("_guiRestyle",N,q,B._traceIndex):M.call("_guiRelayout",N,q)}}})}(O,I,b)}),R.exit().each(function(I){i.autoMargin(b,I._id)}).remove(),R.order()}}},76228:function(T,p,t){var d=t(71828);T.exports=function(g){return d.isPlainObject(g.colorbar)}},12311:function(T,p,t){T.exports={moduleType:"component",name:"colorbar",attributes:t(63583),supplyDefaults:t(62499),draw:t(98981).draw,hasColorbar:t(76228)}},50693:function(T,p,t){var d=t(63583),g=t(30587).counter,i=t(78607),M=t(63282).scales;function v(f){return"`"+f+"`"}i(M),T.exports=function(f,l){f=f||"";var a,u=(l=l||{}).cLetter||"c",o=("onlyIfNumerical"in l&&l.onlyIfNumerical,"noScale"in l?l.noScale:f==="marker.line"),s="showScaleDflt"in l?l.showScaleDflt:u==="z",c=typeof l.colorscaleDflt=="string"?M[l.colorscaleDflt]:null,h=l.editTypeOverride||"",m=f?f+".":"";"colorAttr"in l?(a=l.colorAttr,l.colorAttr):v(m+(a={z:"z",c:"color"}[u]));var w=u+"auto",y=u+"min",S=u+"max",_=u+"mid",k={};k[y]=k[S]=void 0;var E={};E[w]=!1;var x={};return a==="color"&&(x.color={valType:"color",arrayOk:!0,editType:h||"style"},l.anim&&(x.color.anim=!0)),x[w]={valType:"boolean",dflt:!0,editType:"calc",impliedEdits:k},x[y]={valType:"number",dflt:null,editType:h||"plot",impliedEdits:E},x[S]={valType:"number",dflt:null,editType:h||"plot",impliedEdits:E},x[_]={valType:"number",dflt:null,editType:"calc",impliedEdits:k},x.colorscale={valType:"colorscale",editType:"calc",dflt:c,impliedEdits:{autocolorscale:!1}},x.autocolorscale={valType:"boolean",dflt:l.autoColorDflt!==!1,editType:"calc",impliedEdits:{colorscale:void 0}},x.reversescale={valType:"boolean",dflt:!1,editType:"plot"},o||(x.showscale={valType:"boolean",dflt:s,editType:"calc"},x.colorbar=d),l.noColorAxis||(x.coloraxis={valType:"subplotid",regex:g("coloraxis"),dflt:null,editType:"calc"}),x}},78803:function(T,p,t){var d=t(92770),g=t(71828),i=t(52075).extractOpts;T.exports=function(M,v,f){var l,a=M._fullLayout,u=f.vals,o=f.containerStr,s=o?g.nestedProperty(v,o).get():v,c=i(s),h=c.auto!==!1,m=c.min,w=c.max,y=c.mid,S=function(){return g.aggNums(Math.min,null,u)},_=function(){return g.aggNums(Math.max,null,u)};m===void 0?m=S():h&&(m=s._colorAx&&d(m)?Math.min(m,S()):S()),w===void 0?w=_():h&&(w=s._colorAx&&d(w)?Math.max(w,_()):_()),h&&y!==void 0&&(w-y>y-m?m=y-(w-y):w-y=0?a.colorscale.sequential:a.colorscale.sequentialminus,c._sync("colorscale",l))}},33046:function(T,p,t){var d=t(71828),g=t(52075).hasColorscale,i=t(52075).extractOpts;T.exports=function(M,v){function f(h,m){var w=h["_"+m];w!==void 0&&(h[m]=w)}function l(h,m){var w=m.container?d.nestedProperty(h,m.container).get():h;if(w)if(w.coloraxis)w._colorAx=v[w.coloraxis];else{var y=i(w),S=y.auto;(S||y.min===void 0)&&f(w,m.min),(S||y.max===void 0)&&f(w,m.max),y.autocolorscale&&f(w,"colorscale")}}for(var a=0;a=0;S--,_++){var k=m[S];y[_]=[1-k[0],k[1]]}return y}function c(m,w){w=w||{};for(var y=m.domain,S=m.range,_=S.length,k=new Array(_),E=0;E<_;E++){var x=g(S[E]).toRgb();k[E]=[x.r,x.g,x.b,x.a]}var A,L=d.scale.linear().domain(y).range(k).clamp(!0),b=w.noNumericCheck,R=w.returnArray;return(A=b&&R?L:b?function(I){return h(L(I))}:R?function(I){return i(I)?L(I):g(I).isValid()?I:v.defaultLine}:function(I){return i(I)?h(L(I)):g(I).isValid()?I:v.defaultLine}).domain=L.domain,A.range=function(){return S},A}function h(m){var w={r:m[0],g:m[1],b:m[2],a:m[3]};return g(w).toRgbString()}T.exports={hasColorscale:function(m,w,y){var S=w?M.nestedProperty(m,w).get()||{}:m,_=S[y||"color"],k=!1;if(M.isArrayOrTypedArray(_)){for(var E=0;E<_.length;E++)if(i(_[E])){k=!0;break}}return M.isPlainObject(S)&&(k||S.showscale===!0||i(S.cmin)&&i(S.cmax)||f(S.colorscale)||M.isPlainObject(S.colorbar))},extractOpts:u,extractScale:o,flipScale:s,makeColorScaleFunc:c,makeColorScaleFuncFromTrace:function(m,w){return c(o(m),w)}}},21081:function(T,p,t){var d=t(63282),g=t(52075);T.exports={moduleType:"component",name:"colorscale",attributes:t(50693),layoutAttributes:t(72673),supplyLayoutDefaults:t(30959),handleDefaults:t(1586),crossTraceDefaults:t(33046),calc:t(78803),scales:d.scales,defaultScale:d.defaultScale,getScale:d.get,isValidScale:d.isValid,hasColorscale:g.hasColorscale,extractOpts:g.extractOpts,extractScale:g.extractScale,flipScale:g.flipScale,makeColorScaleFunc:g.makeColorScaleFunc,makeColorScaleFuncFromTrace:g.makeColorScaleFuncFromTrace}},72673:function(T,p,t){var d=t(1426).extendFlat,g=t(50693),i=t(63282).scales;T.exports={editType:"calc",colorscale:{editType:"calc",sequential:{valType:"colorscale",dflt:i.Reds,editType:"calc"},sequentialminus:{valType:"colorscale",dflt:i.Blues,editType:"calc"},diverging:{valType:"colorscale",dflt:i.RdBu,editType:"calc"}},coloraxis:d({_isSubplotObj:!0,editType:"calc"},g("",{colorAttr:"corresponding trace color array(s)",noColorAxis:!0,showScaleDflt:!0}))}},30959:function(T,p,t){var d=t(71828),g=t(44467),i=t(72673),M=t(1586);T.exports=function(v,f){function l(w,y){return d.coerce(v,f,i,w,y)}l("colorscale.sequential"),l("colorscale.sequentialminus"),l("colorscale.diverging");var a,u,o=f._colorAxes;function s(w,y){return d.coerce(a,u,i.coloraxis,w,y)}for(var c in o){var h=o[c];if(h[0])a=v[c]||{},(u=g.newContainer(f,c,"coloraxis"))._name=c,M(a,u,f,s,{prefix:"",cLetter:"c"});else{for(var m=0;m1.3333333333333333-f?v:f}},70461:function(T,p,t){var d=t(71828),g=[["sw-resize","s-resize","se-resize"],["w-resize","move","e-resize"],["nw-resize","n-resize","ne-resize"]];T.exports=function(i,M,v,f){return i=v==="left"?0:v==="center"?1:v==="right"?2:d.constrain(Math.floor(3*i),0,2),M=f==="bottom"?0:f==="middle"?1:f==="top"?2:d.constrain(Math.floor(3*M),0,2),g[M][i]}},64505:function(T,p){p.selectMode=function(t){return t==="lasso"||t==="select"},p.drawMode=function(t){return t==="drawclosedpath"||t==="drawopenpath"||t==="drawline"||t==="drawrect"||t==="drawcircle"},p.openMode=function(t){return t==="drawline"||t==="drawopenpath"},p.rectMode=function(t){return t==="select"||t==="drawline"||t==="drawrect"||t==="drawcircle"},p.freeMode=function(t){return t==="lasso"||t==="drawclosedpath"||t==="drawopenpath"},p.selectingOrDrawing=function(t){return p.freeMode(t)||p.rectMode(t)}},28569:function(T,p,t){var d=t(48956),g=t(57035),i=t(38520),M=t(71828).removeElement,v=t(85555),f=T.exports={};f.align=t(92807),f.getCursor=t(70461);var l=t(26041);function a(){var o=document.createElement("div");o.className="dragcover";var s=o.style;return s.position="fixed",s.left=0,s.right=0,s.top=0,s.bottom=0,s.zIndex=999999999,s.background="none",document.body.appendChild(o),o}function u(o){return d(o.changedTouches?o.changedTouches[0]:o,document.body)}f.unhover=l.wrapped,f.unhoverRaw=l.raw,f.init=function(o){var s,c,h,m,w,y,S,_,k=o.gd,E=1,x=k._context.doubleClickDelay,A=o.element;k._mouseDownTime||(k._mouseDownTime=0),A.style.pointerEvents="all",A.onmousedown=b,i?(A._ontouchstart&&A.removeEventListener("touchstart",A._ontouchstart),A._ontouchstart=b,A.addEventListener("touchstart",b,{passive:!1})):A.ontouchstart=b;var L=o.clampFn||function(O,z,F){return Math.abs(O)x&&(E=Math.max(E-1,1)),k._dragged)o.doneFn&&o.doneFn();else if(o.clickFn&&o.clickFn(E,y),!_){var z;try{z=new MouseEvent("click",O)}catch{var F=u(O);(z=document.createEvent("MouseEvents")).initMouseEvent("click",O.bubbles,O.cancelable,O.view,O.detail,O.screenX,O.screenY,F[0],F[1],O.ctrlKey,O.altKey,O.shiftKey,O.metaKey,O.button,O.relatedTarget)}S.dispatchEvent(z)}k._dragging=!1,k._dragged=!1}else k._dragged=!1}},f.coverSlip=a},26041:function(T,p,t){var d=t(11086),g=t(79990),i=t(24401).getGraphDiv,M=t(26675),v=T.exports={};v.wrapped=function(f,l,a){(f=i(f))._fullLayout&&g.clear(f._fullLayout._uid+M.HOVERID),v.raw(f,l,a)},v.raw=function(f,l){var a=f._fullLayout,u=f._hoverdata;l||(l={}),l.target&&!f._dragged&&d.triggerHandler(f,"plotly_beforehover",l)===!1||(a._hoverlayer.selectAll("g").remove(),a._hoverlayer.selectAll("line").remove(),a._hoverlayer.selectAll("circle").remove(),f._hoverdata=void 0,l.target&&u&&f.emit("plotly_unhover",{event:l,points:u}))}},79952:function(T,p){p.P={valType:"string",values:["solid","dot","dash","longdash","dashdot","longdashdot"],dflt:"solid",editType:"style"},p.u={shape:{valType:"enumerated",values:["","/","\\","x","-","|","+","."],dflt:"",arrayOk:!0,editType:"style"},fillmode:{valType:"enumerated",values:["replace","overlay"],dflt:"replace",editType:"style"},bgcolor:{valType:"color",arrayOk:!0,editType:"style"},fgcolor:{valType:"color",arrayOk:!0,editType:"style"},fgopacity:{valType:"number",editType:"style",min:0,max:1},size:{valType:"number",min:0,dflt:8,arrayOk:!0,editType:"style"},solidity:{valType:"number",min:0,max:1,dflt:.3,arrayOk:!0,editType:"style"},editType:"style"}},91424:function(T,p,t){var d=t(39898),g=t(71828),i=g.numberFormat,M=t(92770),v=t(84267),f=t(73972),l=t(7901),a=t(21081),u=g.strTranslate,o=t(63893),s=t(77922),c=t(18783).LINE_SPACING,h=t(37822).DESELECTDIM,m=t(34098),w=t(39984),y=t(23469).appendArrayPointValue,S=T.exports={};function _(_e,Me,Se){var Ce=Me.fillpattern,ae=Ce&&S.getPatternAttr(Ce.shape,0,"");if(ae){var fe=S.getPatternAttr(Ce.bgcolor,0,null),be=S.getPatternAttr(Ce.fgcolor,0,null),ke=Ce.fgopacity,Le=S.getPatternAttr(Ce.size,0,8),Be=S.getPatternAttr(Ce.solidity,0,.3),ze=Me.uid;S.pattern(_e,"point",Se,ze,ae,Le,Be,void 0,Ce.fillmode,fe,be,ke)}else Me.fillcolor&&_e.call(l.fill,Me.fillcolor)}S.font=function(_e,Me,Se,Ce){g.isPlainObject(Me)&&(Ce=Me.color,Se=Me.size,Me=Me.family),Me&&_e.style("font-family",Me),Se+1&&_e.style("font-size",Se+"px"),Ce&&_e.call(l.fill,Ce)},S.setPosition=function(_e,Me,Se){_e.attr("x",Me).attr("y",Se)},S.setSize=function(_e,Me,Se){_e.attr("width",Me).attr("height",Se)},S.setRect=function(_e,Me,Se,Ce,ae){_e.call(S.setPosition,Me,Se).call(S.setSize,Ce,ae)},S.translatePoint=function(_e,Me,Se,Ce){var ae=Se.c2p(_e.x),fe=Ce.c2p(_e.y);return!!(M(ae)&&M(fe)&&Me.node())&&(Me.node().nodeName==="text"?Me.attr("x",ae).attr("y",fe):Me.attr("transform",u(ae,fe)),!0)},S.translatePoints=function(_e,Me,Se){_e.each(function(Ce){var ae=d.select(this);S.translatePoint(Ce,ae,Me,Se)})},S.hideOutsideRangePoint=function(_e,Me,Se,Ce,ae,fe){Me.attr("display",Se.isPtWithinRange(_e,ae)&&Ce.isPtWithinRange(_e,fe)?null:"none")},S.hideOutsideRangePoints=function(_e,Me){if(Me._hasClipOnAxisFalse){var Se=Me.xaxis,Ce=Me.yaxis;_e.each(function(ae){var fe=ae[0].trace,be=fe.xcalendar,ke=fe.ycalendar,Le=f.traceIs(fe,"bar-like")?".bartext":".point,.textpoint";_e.selectAll(Le).each(function(Be){S.hideOutsideRangePoint(Be,d.select(this),Se,Ce,be,ke)})})}},S.crispRound=function(_e,Me,Se){return Me&&M(Me)?_e._context.staticPlot?Me:Me<1?1:Math.round(Me):Se||0},S.singleLineStyle=function(_e,Me,Se,Ce,ae){Me.style("fill","none");var fe=(((_e||[])[0]||{}).trace||{}).line||{},be=Se||fe.width||0,ke=ae||fe.dash||"";l.stroke(Me,Ce||fe.color),S.dashLine(Me,ke,be)},S.lineGroupStyle=function(_e,Me,Se,Ce){_e.style("fill","none").each(function(ae){var fe=(((ae||[])[0]||{}).trace||{}).line||{},be=Me||fe.width||0,ke=Ce||fe.dash||"";d.select(this).call(l.stroke,Se||fe.color).call(S.dashLine,ke,be)})},S.dashLine=function(_e,Me,Se){Se=+Se||0,Me=S.dashStyle(Me,Se),_e.style({"stroke-dasharray":Me,"stroke-width":Se+"px"})},S.dashStyle=function(_e,Me){Me=+Me||1;var Se=Math.max(Me,3);return _e==="solid"?_e="":_e==="dot"?_e=Se+"px,"+Se+"px":_e==="dash"?_e=3*Se+"px,"+3*Se+"px":_e==="longdash"?_e=5*Se+"px,"+5*Se+"px":_e==="dashdot"?_e=3*Se+"px,"+Se+"px,"+Se+"px,"+Se+"px":_e==="longdashdot"&&(_e=5*Se+"px,"+2*Se+"px,"+Se+"px,"+2*Se+"px"),_e},S.singleFillStyle=function(_e,Me){var Se=d.select(_e.node());_(_e,((Se.data()[0]||[])[0]||{}).trace||{},Me)},S.fillGroupStyle=function(_e,Me){_e.style("stroke-width",0).each(function(Se){var Ce=d.select(this);Se[0].trace&&_(Ce,Se[0].trace,Me)})};var k=t(90998);S.symbolNames=[],S.symbolFuncs=[],S.symbolBackOffs=[],S.symbolNeedLines={},S.symbolNoDot={},S.symbolNoFill={},S.symbolList=[],Object.keys(k).forEach(function(_e){var Me=k[_e],Se=Me.n;S.symbolList.push(Se,String(Se),_e,Se+100,String(Se+100),_e+"-open"),S.symbolNames[Se]=_e,S.symbolFuncs[Se]=Me.f,S.symbolBackOffs[Se]=Me.backoff||0,Me.needLine&&(S.symbolNeedLines[Se]=!0),Me.noDot?S.symbolNoDot[Se]=!0:S.symbolList.push(Se+200,String(Se+200),_e+"-dot",Se+300,String(Se+300),_e+"-open-dot"),Me.noFill&&(S.symbolNoFill[Se]=!0)});var E=S.symbolNames.length;function x(_e,Me,Se,Ce){var ae=_e%100;return S.symbolFuncs[ae](Me,Se,Ce)+(_e>=200?"M0,0.5L0.5,0L0,-0.5L-0.5,0Z":"")}S.symbolNumber=function(_e){if(M(_e))_e=+_e;else if(typeof _e=="string"){var Me=0;_e.indexOf("-open")>0&&(Me=100,_e=_e.replace("-open","")),_e.indexOf("-dot")>0&&(Me+=200,_e=_e.replace("-dot","")),(_e=S.symbolNames.indexOf(_e))>=0&&(_e+=Me)}return _e%100>=E||_e>=400?0:Math.floor(Math.max(_e,0))};var A={x1:1,x2:0,y1:0,y2:0},L={x1:0,x2:0,y1:1,y2:0},b=i("~f"),R={radial:{node:"radialGradient"},radialreversed:{node:"radialGradient",reversed:!0},horizontal:{node:"linearGradient",attrs:A},horizontalreversed:{node:"linearGradient",attrs:A,reversed:!0},vertical:{node:"linearGradient",attrs:L},verticalreversed:{node:"linearGradient",attrs:L,reversed:!0}};S.gradient=function(_e,Me,Se,Ce,ae,fe){for(var be=ae.length,ke=R[Ce],Le=new Array(be),Be=0;Be=100;var Be=Pe(_e,Se),ze=Q(_e,Se);Me.attr("d",x(Le,ke,Be,ze))}var je,ge,we,Ee=!1;if(_e.so)we=be.outlierwidth,ge=be.outliercolor,je=fe.outliercolor;else{var Ve=(be||{}).width;we=(_e.mlw+1||Ve+1||(_e.trace?(_e.trace.marker.line||{}).width:0)+1)-1||0,ge="mlc"in _e?_e.mlcc=Ce.lineScale(_e.mlc):g.isArrayOrTypedArray(be.color)?l.defaultLine:be.color,g.isArrayOrTypedArray(fe.color)&&(je=l.defaultLine,Ee=!0),je="mc"in _e?_e.mcc=Ce.markerScale(_e.mc):fe.color||"rgba(0,0,0,0)",Ce.selectedColorFn&&(je=Ce.selectedColorFn(_e))}if(_e.om)Me.call(l.stroke,je).style({"stroke-width":(we||1)+"px",fill:"none"});else{Me.style("stroke-width",(_e.isBlank?0:we)+"px");var $e=fe.gradient,Ye=_e.mgt;Ye?Ee=!0:Ye=$e&&$e.type,g.isArrayOrTypedArray(Ye)&&(Ye=Ye[0],R[Ye]||(Ye=0));var st=fe.pattern,ot=st&&S.getPatternAttr(st.shape,_e.i,"");if(Ye&&Ye!=="none"){var ht=_e.mgc;ht?Ee=!0:ht=$e.color;var bt=Se.uid;Ee&&(bt+="-"+_e.i),S.gradient(Me,ae,bt,Ye,[[0,ht],[1,je]],"fill")}else if(ot){var Et=S.getPatternAttr(st.bgcolor,_e.i,null),kt=S.getPatternAttr(st.fgcolor,_e.i,null),xt=st.fgopacity,Ft=S.getPatternAttr(st.size,_e.i,8),Ot=S.getPatternAttr(st.solidity,_e.i,.3),Bt=_e.mcc||g.isArrayOrTypedArray(st.shape)||g.isArrayOrTypedArray(st.bgcolor)||g.isArrayOrTypedArray(st.size)||g.isArrayOrTypedArray(st.solidity),qt=Se.uid;Bt&&(qt+="-"+_e.i),S.pattern(Me,"point",ae,qt,ot,Ft,Ot,_e.mcc,st.fillmode,Et,kt,xt)}else l.fill(Me,je);we&&l.stroke(Me,ge)}},S.makePointStyleFns=function(_e){var Me={},Se=_e.marker;return Me.markerScale=S.tryColorscale(Se,""),Me.lineScale=S.tryColorscale(Se,"line"),f.traceIs(_e,"symbols")&&(Me.ms2mrc=m.isBubble(_e)?w(_e):function(){return(Se.size||6)/2}),_e.selectedpoints&&g.extendFlat(Me,S.makeSelectedPointStyleFns(_e)),Me},S.makeSelectedPointStyleFns=function(_e){var Me={},Se=_e.selected||{},Ce=_e.unselected||{},ae=_e.marker||{},fe=Se.marker||{},be=Ce.marker||{},ke=ae.opacity,Le=fe.opacity,Be=be.opacity,ze=Le!==void 0,je=Be!==void 0;(g.isArrayOrTypedArray(ke)||ze||je)&&(Me.selectedOpacityFn=function(ht){var bt=ht.mo===void 0?ae.opacity:ht.mo;return ht.selected?ze?Le:bt:je?Be:h*bt});var ge=ae.color,we=fe.color,Ee=be.color;(we||Ee)&&(Me.selectedColorFn=function(ht){var bt=ht.mcc||ge;return ht.selected?we||bt:Ee||bt});var Ve=ae.size,$e=fe.size,Ye=be.size,st=$e!==void 0,ot=Ye!==void 0;return f.traceIs(_e,"symbols")&&(st||ot)&&(Me.selectedSizeFn=function(ht){var bt=ht.mrc||Ve/2;return ht.selected?st?$e/2:bt:ot?Ye/2:bt}),Me},S.makeSelectedTextStyleFns=function(_e){var Me={},Se=_e.selected||{},Ce=_e.unselected||{},ae=_e.textfont||{},fe=Se.textfont||{},be=Ce.textfont||{},ke=ae.color,Le=fe.color,Be=be.color;return Me.selectedTextColorFn=function(ze){var je=ze.tc||ke;return ze.selected?Le||je:Be||(Le?je:l.addOpacity(je,h))},Me},S.selectedPointStyle=function(_e,Me){if(_e.size()&&Me.selectedpoints){var Se=S.makeSelectedPointStyleFns(Me),Ce=Me.marker||{},ae=[];Se.selectedOpacityFn&&ae.push(function(fe,be){fe.style("opacity",Se.selectedOpacityFn(be))}),Se.selectedColorFn&&ae.push(function(fe,be){l.fill(fe,Se.selectedColorFn(be))}),Se.selectedSizeFn&&ae.push(function(fe,be){var ke=be.mx||Ce.symbol||0,Le=Se.selectedSizeFn(be);fe.attr("d",x(S.symbolNumber(ke),Le,Pe(be,Me),Q(be,Me))),be.mrc2=Le}),ae.length&&_e.each(function(fe){for(var be=d.select(this),ke=0;ke0?Se:0}function N(_e,Me,Se){return Se&&(_e=q(_e)),Me?j(_e[1]):W(_e[0])}function W(_e){var Me=d.round(_e,2);return I=Me,Me}function j(_e){var Me=d.round(_e,2);return O=Me,Me}function $(_e,Me,Se,Ce){var ae=_e[0]-Me[0],fe=_e[1]-Me[1],be=Se[0]-Me[0],ke=Se[1]-Me[1],Le=Math.pow(ae*ae+fe*fe,.25),Be=Math.pow(be*be+ke*ke,.25),ze=(Be*Be*ae-Le*Le*be)*Ce,je=(Be*Be*fe-Le*Le*ke)*Ce,ge=3*Be*(Le+Be),we=3*Le*(Le+Be);return[[W(Me[0]+(ge&&ze/ge)),j(Me[1]+(ge&&je/ge))],[W(Me[0]-(we&&ze/we)),j(Me[1]-(we&&je/we))]]}S.textPointStyle=function(_e,Me,Se){if(_e.size()){var Ce;if(Me.selectedpoints){var ae=S.makeSelectedTextStyleFns(Me);Ce=ae.selectedTextColorFn}var fe=Me.texttemplate,be=Se._fullLayout;_e.each(function(ke){var Le=d.select(this),Be=fe?g.extractOption(ke,Me,"txt","texttemplate"):g.extractOption(ke,Me,"tx","text");if(Be||Be===0){if(fe){var ze=Me._module.formatLabels,je=ze?ze(ke,Me,be):{},ge={};y(ge,Me,ke.i);var we=Me._meta||{};Be=g.texttemplateString(Be,je,be._d3locale,ge,ke,we)}var Ee=ke.tp||Me.textposition,Ve=B(ke,Me),$e=Ce?Ce(ke):ke.tc||Me.textfont.color;Le.call(S.font,ke.tf||Me.textfont.family,Ve,$e).text(Be).call(o.convertToTspans,Se).call(F,Ee,Ve,ke.mrc)}else Le.remove()})}},S.selectedTextStyle=function(_e,Me){if(_e.size()&&Me.selectedpoints){var Se=S.makeSelectedTextStyleFns(Me);_e.each(function(Ce){var ae=d.select(this),fe=Se.selectedTextColorFn(Ce),be=Ce.tp||Me.textposition,ke=B(Ce,Me);l.fill(ae,fe);var Le=f.traceIs(Me,"bar-like");F(ae,be,ke,Ce.mrc2||Ce.mrc,Le)})}},S.smoothopen=function(_e,Me){if(_e.length<3)return"M"+_e.join("L");var Se,Ce="M"+_e[0],ae=[];for(Se=1;Se<_e.length-1;Se++)ae.push($(_e[Se-1],_e[Se],_e[Se+1],Me));for(Ce+="Q"+ae[0][0]+" "+_e[1],Se=2;Se<_e.length-1;Se++)Ce+="C"+ae[Se-2][1]+" "+ae[Se-1][0]+" "+_e[Se];return Ce+"Q"+ae[_e.length-3][1]+" "+_e[_e.length-1]},S.smoothclosed=function(_e,Me){if(_e.length<3)return"M"+_e.join("L")+"Z";var Se,Ce="M"+_e[0],ae=_e.length-1,fe=[$(_e[ae],_e[0],_e[1],Me)];for(Se=1;Se=Le||ht>=ze&&ht<=Le)&&(bt<=je&&bt>=Be||bt>=je&&bt<=Be)&&(_e=[ht,bt])}return _e}S.steps=function(_e){var Me=U[_e]||G;return function(Se){for(var Ce="M"+W(Se[0][0])+","+j(Se[0][1]),ae=Se.length,fe=1;fe=1e4&&(S.savedBBoxes={},H=0),Se&&(S.savedBBoxes[Se]=we),H++,g.extendFlat({},we)},S.setClipUrl=function(_e,Me,Se){_e.attr("clip-path",te(Me,Se))},S.getTranslate=function(_e){var Me=(_e[_e.attr?"attr":"getAttribute"]("transform")||"").replace(/.*\btranslate\((-?\d*\.?\d*)[^-\d]*(-?\d*\.?\d*)[^\d].*/,function(Se,Ce,ae){return[Ce,ae].join(" ")}).split(" ");return{x:+Me[0]||0,y:+Me[1]||0}},S.setTranslate=function(_e,Me,Se){var Ce=_e.attr?"attr":"getAttribute",ae=_e.attr?"attr":"setAttribute",fe=_e[Ce]("transform")||"";return Me=Me||0,Se=Se||0,fe=fe.replace(/(\btranslate\(.*?\);?)/,"").trim(),fe=(fe+=u(Me,Se)).trim(),_e[ae]("transform",fe),fe},S.getScale=function(_e){var Me=(_e[_e.attr?"attr":"getAttribute"]("transform")||"").replace(/.*\bscale\((\d*\.?\d*)[^\d]*(\d*\.?\d*)[^\d].*/,function(Se,Ce,ae){return[Ce,ae].join(" ")}).split(" ");return{x:+Me[0]||1,y:+Me[1]||1}},S.setScale=function(_e,Me,Se){var Ce=_e.attr?"attr":"getAttribute",ae=_e.attr?"attr":"setAttribute",fe=_e[Ce]("transform")||"";return Me=Me||1,Se=Se||1,fe=fe.replace(/(\bscale\(.*?\);?)/,"").trim(),fe=(fe+="scale("+Me+","+Se+")").trim(),_e[ae]("transform",fe),fe};var Z=/\s*sc.*/;S.setPointGroupScale=function(_e,Me,Se){if(Me=Me||1,Se=Se||1,_e){var Ce=Me===1&&Se===1?"":"scale("+Me+","+Se+")";_e.each(function(){var ae=(this.getAttribute("transform")||"").replace(Z,"");ae=(ae+=Ce).trim(),this.setAttribute("transform",ae)})}};var X=/translate\([^)]*\)\s*$/;function Q(_e,Me){var Se;return _e&&(Se=_e.mf),Se===void 0&&(Se=Me.marker&&Me.marker.standoff||0),Me._geo||Me._xA?Se:-Se}S.setTextPointsScale=function(_e,Me,Se){_e&&_e.each(function(){var Ce,ae=d.select(this),fe=ae.select("text");if(fe.node()){var be=parseFloat(fe.attr("x")||0),ke=parseFloat(fe.attr("y")||0),Le=(ae.attr("transform")||"").match(X);Ce=Me===1&&Se===1?[]:[u(be,ke),"scale("+Me+","+Se+")",u(-be,-ke)],Le&&Ce.push(Le),ae.attr("transform",Ce.join(""))}})},S.getMarkerStandoff=Q;var re,ie,oe,ue,ce,ye,de=Math.atan2,me=Math.cos,pe=Math.sin;function xe(_e,Me){var Se=Me[0],Ce=Me[1];return[Se*me(_e)-Ce*pe(_e),Se*pe(_e)+Ce*me(_e)]}function Pe(_e,Me){var Se,Ce,ae=_e.ma;ae===void 0&&(ae=Me.marker.angle||0);var fe=Me.marker.angleref;if(fe==="previous"||fe==="north"){if(Me._geo){var be=Me._geo.project(_e.lonlat);Se=be[0],Ce=be[1]}else{var ke=Me._xA,Le=Me._yA;if(!ke||!Le)return 90;Se=ke.c2p(_e.x),Ce=Le.c2p(_e.y)}if(Me._geo){var Be,ze=_e.lonlat[0],je=_e.lonlat[1],ge=Me._geo.project([ze,je+1e-5]),we=Me._geo.project([ze+1e-5,je]),Ee=de(we[1]-Ce,we[0]-Se),Ve=de(ge[1]-Ce,ge[0]-Se);if(fe==="north")Be=ae/180*Math.PI;else if(fe==="previous"){var $e=ze/180*Math.PI,Ye=je/180*Math.PI,st=re/180*Math.PI,ot=ie/180*Math.PI,ht=st-$e,bt=me(ot)*pe(ht),Et=pe(ot)*me(Ye)-me(ot)*pe(Ye)*me(ht);Be=-de(bt,Et)-Math.PI,re=ze,ie=je}var kt=xe(Ee,[me(Be),0]),xt=xe(Ve,[pe(Be),0]);ae=de(kt[1]+xt[1],kt[0]+xt[0])/Math.PI*180,fe!=="previous"||ye===Me.uid&&_e.i===ce+1||(ae=null)}if(fe==="previous"&&!Me._geo)if(ye===Me.uid&&_e.i===ce+1&&M(Se)&&M(Ce)){var Ft=Se-oe,Ot=Ce-ue,Bt=Me.line&&Me.line.shape||"",qt=Bt.slice(Bt.length-1);qt==="h"&&(Ot=0),qt==="v"&&(Ft=0),ae+=de(Ot,Ft)/Math.PI*180+90}else ae=null}return oe=Se,ue=Ce,ce=_e.i,ye=Me.uid,ae}S.getMarkerAngle=Pe},90998:function(T,p,t){var d,g,i,M,v=t(95616),f=t(39898).round,l="M0,0Z",a=Math.sqrt(2),u=Math.sqrt(3),o=Math.PI,s=Math.cos,c=Math.sin;function h(w){return w===null}function m(w,y,S){if(!(w&&w%360!=0||y))return S;if(i===w&&M===y&&d===S)return g;function _(N,W){var j=s(N),$=c(N),U=W[0],G=W[1]+(y||0);return[U*j-G*$,U*$+G*j]}i=w,M=y,d=S;for(var k=w/180*o,E=0,x=0,A=v(S),L="",b=0;b0,c=v._context.staticPlot;f.each(function(h){var m,w=h[0].trace,y=w.error_x||{},S=w.error_y||{};w.ids&&(m=function(x){return x.id});var _=M.hasMarkers(w)&&w.marker.maxdisplayed>0;S.visible||y.visible||(h=[]);var k=d.select(this).selectAll("g.errorbar").data(h,m);if(k.exit().remove(),h.length){y.visible||k.selectAll("path.xerror").remove(),S.visible||k.selectAll("path.yerror").remove(),k.style("opacity",1);var E=k.enter().append("g").classed("errorbar",!0);s&&E.style("opacity",0).transition().duration(a.duration).style("opacity",1),i.setClipUrl(k,l.layerClipId,v),k.each(function(x){var A=d.select(this),L=function(F,B,N){var W={x:B.c2p(F.x),y:N.c2p(F.y)};return F.yh!==void 0&&(W.yh=N.c2p(F.yh),W.ys=N.c2p(F.ys),g(W.ys)||(W.noYS=!0,W.ys=N.c2p(F.ys,!0))),F.xh!==void 0&&(W.xh=B.c2p(F.xh),W.xs=B.c2p(F.xs),g(W.xs)||(W.noXS=!0,W.xs=B.c2p(F.xs,!0))),W}(x,u,o);if(!_||x.vis){var b,R=A.select("path.yerror");if(S.visible&&g(L.x)&&g(L.yh)&&g(L.ys)){var I=S.width;b="M"+(L.x-I)+","+L.yh+"h"+2*I+"m-"+I+",0V"+L.ys,L.noYS||(b+="m-"+I+",0h"+2*I),R.size()?s&&(R=R.transition().duration(a.duration).ease(a.easing)):R=A.append("path").style("vector-effect",c?"none":"non-scaling-stroke").classed("yerror",!0),R.attr("d",b)}else R.remove();var O=A.select("path.xerror");if(y.visible&&g(L.y)&&g(L.xh)&&g(L.xs)){var z=(y.copy_ystyle?S:y).width;b="M"+L.xh+","+(L.y-z)+"v"+2*z+"m0,-"+z+"H"+L.xs,L.noXS||(b+="m0,-"+z+"v"+2*z),O.size()?s&&(O=O.transition().duration(a.duration).ease(a.easing)):O=A.append("path").style("vector-effect",c?"none":"non-scaling-stroke").classed("xerror",!0),O.attr("d",b)}else O.remove()}})}})}},62662:function(T,p,t){var d=t(39898),g=t(7901);T.exports=function(i){i.each(function(M){var v=M[0].trace,f=v.error_y||{},l=v.error_x||{},a=d.select(this);a.selectAll("path.yerror").style("stroke-width",f.thickness+"px").call(g.stroke,f.color),l.copy_ystyle&&(l=f),a.selectAll("path.xerror").style("stroke-width",l.thickness+"px").call(g.stroke,l.color)})}},77914:function(T,p,t){var d=t(41940),g=t(528).hoverlabel,i=t(1426).extendFlat;T.exports={hoverlabel:{bgcolor:i({},g.bgcolor,{arrayOk:!0}),bordercolor:i({},g.bordercolor,{arrayOk:!0}),font:d({arrayOk:!0,editType:"none"}),align:i({},g.align,{arrayOk:!0}),namelength:i({},g.namelength,{arrayOk:!0}),editType:"none"}}},30732:function(T,p,t){var d=t(71828),g=t(73972);function i(M,v,f,l){l=l||d.identity,Array.isArray(M)&&(v[0][f]=l(M))}T.exports=function(M){var v=M.calcdata,f=M._fullLayout;function l(c){return function(h){return d.coerceHoverinfo({hoverinfo:h},{_module:c._module},f)}}for(var a=0;a=0&&u.indexae[0]._length||Je<0||Je>fe[0]._length)return c.unhoverRaw(ue,ce)}else Ke="xpx"in ce?ce.xpx:ae[0]._length/2,Je="ypx"in ce?ce.ypx:fe[0]._length/2;if(ce.pointerX=Ke+ae[0]._offset,ce.pointerY=Je+fe[0]._offset,we="xval"in ce?w.flat(pe,ce.xval):w.p2c(ae,Ke),Ee="yval"in ce?w.flat(pe,ce.yval):w.p2c(fe,Je),!g(we[0])||!g(Ee[0]))return M.warn("Fx.hover failed",ce,ue),c.unhoverRaw(ue,ce)}var ft=1/0;function Re(Kt,bn){for($e=0;$eFt&&(Ot.splice(0,Ft),ft=Ot[0].distance),Me&&ge!==0&&Ot.length===0){xt.distance=ge,xt.index=!1;var $n=st._module.hoverPoints(xt,Et,kt,"closest",{hoverLayer:xe._hoverlayer});if($n&&($n=$n.filter(function(Jt){return Jt.spikeDistance<=ge})),$n&&$n.length){var tr,mr=$n.filter(function(Jt){return Jt.xa.showspikes&&Jt.xa.spikesnap!=="hovered data"});if(mr.length){var nn=mr[0];g(nn.x0)&&g(nn.y0)&&(tr=Qe(nn),(!qt.vLinePoint||qt.vLinePoint.spikeDistance>tr.spikeDistance)&&(qt.vLinePoint=tr))}var Pn=$n.filter(function(Jt){return Jt.ya.showspikes&&Jt.ya.spikesnap!=="hovered data"});if(Pn.length){var jt=Pn[0];g(jt.x0)&&g(jt.y0)&&(tr=Qe(jt),(!qt.hLinePoint||qt.hLinePoint.spikeDistance>tr.spikeDistance)&&(qt.hLinePoint=tr))}}}}}function Ne(Kt,bn,Rn){for(var Ln,Un=null,Kn=1/0,$n=0;$n0&&Math.abs(Kt.distance)Yt-1;Wt--)xn(Ot[Wt]);Ot=Xt,It()}var un=ue._hoverdata,An=[],Yn=ne(ue),kn=te(ue);for(Ve=0;Ve1||Ot.length>1)||ze==="closest"&&Vt&&Ot.length>1,yr=s.combine(xe.plot_bgcolor||s.background,xe.paper_bgcolor),or=B(Ot,{gd:ue,hovermode:ze,rotateLabels:Sr,bgColor:yr,container:xe._hoverlayer,outerContainer:xe._paper.node(),commonLabelOpts:xe.hoverlabel,hoverdistance:xe.hoverdistance}),vr=or.hoverLabels;if(w.isUnifiedHover(ze)||(function(Kt,bn,Rn,Ln){var Un,Kn,$n,tr,mr,nn,Pn,jt=bn?"xa":"ya",Jt=bn?"ya":"xa",hn=0,zn=1,On=Kt.size(),En=new Array(On),mn=0,wn=Ln.minX,gn=Ln.maxX,yn=Ln.minY,Sn=Ln.maxY,Vn=function(Lr){return Lr*Rn._invScaleX},Xn=function(Lr){return Lr*Rn._invScaleY};function nr(Lr){var zr=Lr[0],gr=Lr[Lr.length-1];if(Kn=zr.pmin-zr.pos-zr.dp+zr.size,$n=gr.pos+gr.dp+gr.size-zr.pmax,Kn>.01){for(mr=Lr.length-1;mr>=0;mr--)Lr[mr].dp+=Kn;Un=!1}if(!($n<.01)){if(Kn<-.01){for(mr=Lr.length-1;mr>=0;mr--)Lr[mr].dp-=$n;Un=!1}if(Un){var Fr=0;for(tr=0;trzr.pmax&&Fr++;for(tr=Lr.length-1;tr>=0&&!(Fr<=0);tr--)(nn=Lr[tr]).pos>zr.pmax-1&&(nn.del=!0,Fr--);for(tr=0;tr=0;mr--)Lr[mr].dp-=$n;for(tr=Lr.length-1;tr>=0&&!(Fr<=0);tr--)(nn=Lr[tr]).pos+nn.dp+nn.size>zr.pmax&&(nn.del=!0,Fr--)}}}for(Kt.each(function(Lr){var zr=Lr[jt],gr=Lr[Jt],Fr=zr._id.charAt(0)==="x",ii=zr.range;mn===0&&ii&&ii[0]>ii[1]!==Fr&&(zn=-1);var ji=0,ea=Fr?Rn.width:Rn.height;if(Rn.hovermode==="x"||Rn.hovermode==="y"){var sa,uo,La=W(Lr,bn),Xi=Lr.anchor,Do=Xi==="end"?-1:1;if(Xi==="middle")uo=(sa=Lr.crossPos+(Fr?Xn(La.y-Lr.by/2):Vn(Lr.bx/2+Lr.tx2width/2)))+(Fr?Xn(Lr.by):Vn(Lr.bx));else if(Fr)uo=(sa=Lr.crossPos+Xn(b+La.y)-Xn(Lr.by/2-b))+Xn(Lr.by);else{var rs=Vn(Do*b+La.x),el=rs+Vn(Do*Lr.bx);sa=Lr.crossPos+Math.min(rs,el),uo=Lr.crossPos+Math.max(rs,el)}Fr?yn!==void 0&&Sn!==void 0&&Math.min(uo,Sn)-Math.max(sa,yn)>1&&(gr.side==="left"?(ji=gr._mainLinePosition,ea=Rn.width):ea=gr._mainLinePosition):wn!==void 0&&gn!==void 0&&Math.min(uo,gn)-Math.max(sa,wn)>1&&(gr.side==="top"?(ji=gr._mainLinePosition,ea=Rn.height):ea=gr._mainLinePosition)}En[mn++]=[{datum:Lr,traceIndex:Lr.trace.index,dp:0,pos:Lr.pos,posref:Lr.posref,size:Lr.by*(Fr?x:1)/2,pmin:ji,pmax:ea}]}),En.sort(function(Lr,zr){return Lr[0].posref-zr[0].posref||zn*(zr[0].traceIndex-Lr[0].traceIndex)});!Un&&hn<=On;){for(hn++,Un=!0,tr=0;tr.01&&cr.pmin===pr.pmin&&cr.pmax===pr.pmax){for(mr=hr.length-1;mr>=0;mr--)hr[mr].dp+=Kn;for(Qn.push.apply(Qn,hr),En.splice(tr+1,1),Pn=0,mr=Qn.length-1;mr>=0;mr--)Pn+=Qn[mr].dp;for($n=Pn/Qn.length,mr=Qn.length-1;mr>=0;mr--)Qn[mr].dp-=$n;Un=!1}else tr++}En.forEach(nr)}for(tr=En.length-1;tr>=0;tr--){var dr=En[tr];for(mr=dr.length-1;mr>=0;mr--){var br=dr[mr],Ir=br.datum;Ir.offset=br.dp,Ir.del=br.del}}}(vr,Sr,xe,or.commonLabelBoundingBox),j(vr,Sr,xe._invScaleX,xe._invScaleY)),me&&me.tagName){var _r=m.getComponentMethod("annotations","hasClickToShow")(ue,An);u(d.select(me),_r?"pointer":"")}me&&!de&&function(Kt,bn,Rn){if(!Rn||Rn.length!==Kt._hoverdata.length)return!0;for(var Ln=Rn.length-1;Ln>=0;Ln--){var Un=Rn[Ln],Kn=Kt._hoverdata[Ln];if(Un.curveNumber!==Kn.curveNumber||String(Un.pointNumber)!==String(Kn.pointNumber)||String(Un.pointNumbers)!==String(Kn.pointNumbers))return!0}return!1}(ue,0,un)&&(un&&ue.emit("plotly_unhover",{event:ce,points:un}),ue.emit("plotly_hover",{event:ce,points:ue._hoverdata,xaxes:ae,yaxes:fe,xvals:we,yvals:Ee}))})(X,Q,re,ie,oe)})},p.loneHover=function(X,Q){var re=!0;Array.isArray(X)||(re=!1,X=[X]);var ie=Q.gd,oe=ne(ie),ue=te(ie),ce=B(X.map(function(me){var pe=me._x0||me.x0||me.x||0,xe=me._x1||me.x1||me.x||0,Pe=me._y0||me.y0||me.y||0,_e=me._y1||me.y1||me.y||0,Me=me.eventData;if(Me){var Se=Math.min(pe,xe),Ce=Math.max(pe,xe),ae=Math.min(Pe,_e),fe=Math.max(Pe,_e),be=me.trace;if(m.traceIs(be,"gl3d")){var ke=ie._fullLayout[be.scene]._scene.container,Le=ke.offsetLeft,Be=ke.offsetTop;Se+=Le,Ce+=Le,ae+=Be,fe+=Be}Me.bbox={x0:Se+ue,x1:Ce+ue,y0:ae+oe,y1:fe+oe},Q.inOut_bbox&&Q.inOut_bbox.push(Me.bbox)}else Me=!1;return{color:me.color||s.defaultLine,x0:me.x0||me.x||0,x1:me.x1||me.x||0,y0:me.y0||me.y||0,y1:me.y1||me.y||0,xLabel:me.xLabel,yLabel:me.yLabel,zLabel:me.zLabel,text:me.text,name:me.name,idealAlign:me.idealAlign,borderColor:me.borderColor,fontFamily:me.fontFamily,fontSize:me.fontSize,fontColor:me.fontColor,nameLength:me.nameLength,textAlign:me.textAlign,trace:me.trace||{index:0,hoverinfo:""},xa:{_offset:0},ya:{_offset:0},index:0,hovertemplate:me.hovertemplate||!1,hovertemplateLabels:me.hovertemplateLabels||!1,eventData:Me}}),{gd:ie,hovermode:"closest",rotateLabels:!1,bgColor:Q.bgColor||s.background,container:d.select(Q.container),outerContainer:Q.outerContainer||Q.container}).hoverLabels,ye=0,de=0;return ce.sort(function(me,pe){return me.y0-pe.y0}).each(function(me,pe){var xe=me.y0-me.by/2;me.offset=xe-5([\s\S]*)<\/extra>/;function B(X,Q){var re=Q.gd,ie=re._fullLayout,oe=Q.hovermode,ue=Q.rotateLabels,ce=Q.bgColor,ye=Q.container,de=Q.outerContainer,me=Q.commonLabelOpts||{};if(X.length===0)return[[]];var pe=Q.fontFamily||y.HOVERFONT,xe=Q.fontSize||y.HOVERFONTSIZE,Pe=X[0],_e=Pe.xa,Me=Pe.ya,Se=oe.charAt(0),Ce=Se+"Label",ae=Pe[Ce];if(ae===void 0&&_e.type==="multicategory")for(var fe=0;feie.width-kn?(xn=ie.width-kn,Nt.attr("d","M"+(kn-b)+",0L"+kn+","+Yn+b+"v"+Yn+(2*R+An.height)+"H-"+kn+"V"+Yn+b+"H"+(kn-2*b)+"Z")):Nt.attr("d","M0,0L"+b+","+Yn+b+"H"+kn+"v"+Yn+(2*R+An.height)+"H-"+kn+"V"+Yn+b+"H-"+b+"Z"),$e.minX=xn-kn,$e.maxX=xn+kn,_e.side==="top"?($e.minY=un-(2*R+An.height),$e.maxY=un-R):($e.minY=un+R,$e.maxY=un+(2*R+An.height))}else{var sn,Tn,dn;Me.side==="right"?(sn="start",Tn=1,dn="",xn=_e._offset+_e._length):(sn="end",Tn=-1,dn="-",xn=_e._offset),un=Me._offset+(Pe.y0+Pe.y1)/2,Yt.attr("text-anchor",sn),Nt.attr("d","M0,0L"+dn+b+","+b+"V"+(R+An.height/2)+"h"+dn+(2*R+An.width)+"V-"+(R+An.height/2)+"H"+dn+b+"V-"+b+"Z"),$e.minY=un-(R+An.height/2),$e.maxY=un+(R+An.height/2),Me.side==="right"?($e.minX=xn+b,$e.maxX=xn+b+(2*R+An.width)):($e.minX=xn-b-(2*R+An.width),$e.maxX=xn-b);var pn,Dn=An.height/2,In=ke-An.top-Dn,jn="clip"+ie._uid+"commonlabel"+Me._id;if(xn=0?Je:qe+Re=0?qe:yt+Re=0?Vt:Ke+Ne=0?Ke:Pt+Ne=0,Rt.idealAlign!=="top"&&rr||!Sr?rr?(Dn+=jn/2,Rt.anchor="start"):Rt.anchor="middle":(Dn-=jn/2,Rt.anchor="end"),Rt.crossPos=Dn;else{if(Rt.pos=Dn,rr=pn+In/2+yr<=Le,Sr=pn-In/2-yr>=0,Rt.idealAlign!=="left"&&rr||!Sr)if(rr)pn+=In/2,Rt.anchor="start";else{Rt.anchor="middle";var or=yr/2,vr=pn+or-Le,_r=pn-or;vr>0&&(pn-=vr),_r<0&&(pn+=-_r)}else pn-=In/2,Rt.anchor="end";Rt.crossPos=pn}Yn.attr("text-anchor",Rt.anchor),sn&&kn.attr("text-anchor",Rt.anchor),Nt.attr("transform",v(pn,Dn)+(ue?f(k):""))}),{hoverLabels:wt,commonLabelBoundingBox:$e}}function N(X,Q,re,ie,oe,ue){var ce="",ye="";X.nameOverride!==void 0&&(X.name=X.nameOverride),X.name&&(X.trace._meta&&(X.name=M.templateString(X.name,X.trace._meta)),ce=q(X.name,X.nameLength));var de=re.charAt(0),me=de==="x"?"y":"x";X.zLabel!==void 0?(X.xLabel!==void 0&&(ye+="x: "+X.xLabel+"
"),X.yLabel!==void 0&&(ye+="y: "+X.yLabel+"
"),X.trace.type!=="choropleth"&&X.trace.type!=="choroplethmapbox"&&(ye+=(ye?"z: ":"")+X.zLabel)):Q&&X[de+"Label"]===oe?ye=X[me+"Label"]||"":X.xLabel===void 0?X.yLabel!==void 0&&X.trace.type!=="scattercarpet"&&(ye=X.yLabel):ye=X.yLabel===void 0?X.xLabel:"("+X.xLabel+", "+X.yLabel+")",!X.text&&X.text!==0||Array.isArray(X.text)||(ye+=(ye?"
":"")+X.text),X.extraText!==void 0&&(ye+=(ye?"
":"")+X.extraText),ue&&ye===""&&!X.hovertemplate&&(ce===""&&ue.remove(),ye=ce);var pe=X.hovertemplate||!1;if(pe){var xe=X.hovertemplateLabels||X;X[de+"Label"]!==oe&&(xe[de+"other"]=xe[de+"Val"],xe[de+"otherLabel"]=xe[de+"Label"]),ye=(ye=M.hovertemplateString(pe,xe,ie._d3locale,X.eventData[0]||{},X.trace._meta)).replace(F,function(Pe,_e){return ce=q(_e,X.nameLength),""})}return[ye,ce]}function W(X,Q){var re=0,ie=X.offset;return Q&&(ie*=-L,re=X.offset*A),{x:re,y:ie}}function j(X,Q,re,ie){var oe=function(ce){return ce*re},ue=function(ce){return ce*ie};X.each(function(ce){var ye=d.select(this);if(ce.del)return ye.remove();var de,me,pe,xe,Pe=ye.select("text.nums"),_e=ce.anchor,Me=_e==="end"?-1:1,Se=(xe=(pe=(me={start:1,end:-1,middle:0}[(de=ce).anchor])*(b+R))+me*(de.txwidth+R),de.anchor==="middle"&&(pe-=de.tx2width/2,xe+=de.txwidth/2+R),{alignShift:me,textShiftX:pe,text2ShiftX:xe}),Ce=W(ce,Q),ae=Ce.x,fe=Ce.y,be=_e==="middle";ye.select("path").attr("d",be?"M-"+oe(ce.bx/2+ce.tx2width/2)+","+ue(fe-ce.by/2)+"h"+oe(ce.bx)+"v"+ue(ce.by)+"h-"+oe(ce.bx)+"Z":"M0,0L"+oe(Me*b+ae)+","+ue(b+fe)+"v"+ue(ce.by/2-b)+"h"+oe(Me*ce.bx)+"v-"+ue(ce.by)+"H"+oe(Me*b+ae)+"V"+ue(fe-b)+"Z");var ke=ae+Se.textShiftX,Le=fe+ce.ty0-ce.by/2+R,Be=ce.textAlign||"auto";Be!=="auto"&&(Be==="left"&&_e!=="start"?(Pe.attr("text-anchor","start"),ke=be?-ce.bx/2-ce.tx2width/2+R:-ce.bx-R):Be==="right"&&_e!=="end"&&(Pe.attr("text-anchor","end"),ke=be?ce.bx/2-ce.tx2width/2-R:ce.bx+R)),Pe.call(a.positionText,oe(ke),ue(Le)),ce.tx2width&&(ye.select("text.name").call(a.positionText,oe(Se.text2ShiftX+Se.alignShift*R+ae),ue(fe+ce.ty0-ce.by/2+R)),ye.select("rect").call(o.setRect,oe(Se.text2ShiftX+(Se.alignShift-1)*ce.tx2width/2+ae),ue(fe-ce.by/2-1),oe(ce.tx2width),ue(ce.by+2)))})}function $(X,Q){var re=X.index,ie=X.trace||{},oe=X.cd[0],ue=X.cd[re]||{};function ce(Pe){return Pe||g(Pe)&&Pe===0}var ye=Array.isArray(re)?function(Pe,_e){var Me=M.castOption(oe,re,Pe);return ce(Me)?Me:M.extractOption({},ie,"",_e)}:function(Pe,_e){return M.extractOption(ue,ie,Pe,_e)};function de(Pe,_e,Me){var Se=ye(_e,Me);ce(Se)&&(X[Pe]=Se)}if(de("hoverinfo","hi","hoverinfo"),de("bgcolor","hbg","hoverlabel.bgcolor"),de("borderColor","hbc","hoverlabel.bordercolor"),de("fontFamily","htf","hoverlabel.font.family"),de("fontSize","hts","hoverlabel.font.size"),de("fontColor","htc","hoverlabel.font.color"),de("nameLength","hnl","hoverlabel.namelength"),de("textAlign","hta","hoverlabel.align"),X.posref=Q==="y"||Q==="closest"&&ie.orientation==="h"?X.xa._offset+(X.x0+X.x1)/2:X.ya._offset+(X.y0+X.y1)/2,X.x0=M.constrain(X.x0,0,X.xa._length),X.x1=M.constrain(X.x1,0,X.xa._length),X.y0=M.constrain(X.y0,0,X.ya._length),X.y1=M.constrain(X.y1,0,X.ya._length),X.xLabelVal!==void 0&&(X.xLabel="xLabel"in X?X.xLabel:h.hoverLabelText(X.xa,X.xLabelVal,ie.xhoverformat),X.xVal=X.xa.c2d(X.xLabelVal)),X.yLabelVal!==void 0&&(X.yLabel="yLabel"in X?X.yLabel:h.hoverLabelText(X.ya,X.yLabelVal,ie.yhoverformat),X.yVal=X.ya.c2d(X.yLabelVal)),X.zLabelVal!==void 0&&X.zLabel===void 0&&(X.zLabel=String(X.zLabelVal)),!(isNaN(X.xerr)||X.xa.type==="log"&&X.xerr<=0)){var me=h.tickText(X.xa,X.xa.c2l(X.xerr),"hover").text;X.xerrneg!==void 0?X.xLabel+=" +"+me+" / -"+h.tickText(X.xa,X.xa.c2l(X.xerrneg),"hover").text:X.xLabel+=" ± "+me,Q==="x"&&(X.distance+=1)}if(!(isNaN(X.yerr)||X.ya.type==="log"&&X.yerr<=0)){var pe=h.tickText(X.ya,X.ya.c2l(X.yerr),"hover").text;X.yerrneg!==void 0?X.yLabel+=" +"+pe+" / -"+h.tickText(X.ya,X.ya.c2l(X.yerrneg),"hover").text:X.yLabel+=" ± "+pe,Q==="y"&&(X.distance+=1)}var xe=X.hoverinfo||X.trace.hoverinfo;return xe&&xe!=="all"&&((xe=Array.isArray(xe)?xe:xe.split("+")).indexOf("x")===-1&&(X.xLabel=void 0),xe.indexOf("y")===-1&&(X.yLabel=void 0),xe.indexOf("z")===-1&&(X.zLabel=void 0),xe.indexOf("text")===-1&&(X.text=void 0),xe.indexOf("name")===-1&&(X.name=void 0)),X}function U(X,Q,re){var ie,oe,ue=re.container,ce=re.fullLayout,ye=ce._size,de=re.event,me=!!Q.hLinePoint,pe=!!Q.vLinePoint;if(ue.selectAll(".spikeline").remove(),pe||me){var xe=s.combine(ce.plot_bgcolor,ce.paper_bgcolor);if(me){var Pe,_e,Me=Q.hLinePoint;ie=Me&&Me.xa,(oe=Me&&Me.ya).spikesnap==="cursor"?(Pe=de.pointerX,_e=de.pointerY):(Pe=ie._offset+Me.x,_e=oe._offset+Me.y);var Se,Ce,ae=i.readability(Me.color,xe)<1.5?s.contrast(xe):Me.color,fe=oe.spikemode,be=oe.spikethickness,ke=oe.spikecolor||ae,Le=h.getPxPosition(X,oe);if(fe.indexOf("toaxis")!==-1||fe.indexOf("across")!==-1){if(fe.indexOf("toaxis")!==-1&&(Se=Le,Ce=Pe),fe.indexOf("across")!==-1){var Be=oe._counterDomainMin,ze=oe._counterDomainMax;oe.anchor==="free"&&(Be=Math.min(Be,oe.position),ze=Math.max(ze,oe.position)),Se=ye.l+Be*ye.w,Ce=ye.l+ze*ye.w}ue.insert("line",":first-child").attr({x1:Se,x2:Ce,y1:_e,y2:_e,"stroke-width":be,stroke:ke,"stroke-dasharray":o.dashStyle(oe.spikedash,be)}).classed("spikeline",!0).classed("crisp",!0),ue.insert("line",":first-child").attr({x1:Se,x2:Ce,y1:_e,y2:_e,"stroke-width":be+2,stroke:xe}).classed("spikeline",!0).classed("crisp",!0)}fe.indexOf("marker")!==-1&&ue.insert("circle",":first-child").attr({cx:Le+(oe.side!=="right"?be:-be),cy:_e,r:be,fill:ke}).classed("spikeline",!0)}if(pe){var je,ge,we=Q.vLinePoint;ie=we&&we.xa,oe=we&&we.ya,ie.spikesnap==="cursor"?(je=de.pointerX,ge=de.pointerY):(je=ie._offset+we.x,ge=oe._offset+we.y);var Ee,Ve,$e=i.readability(we.color,xe)<1.5?s.contrast(xe):we.color,Ye=ie.spikemode,st=ie.spikethickness,ot=ie.spikecolor||$e,ht=h.getPxPosition(X,ie);if(Ye.indexOf("toaxis")!==-1||Ye.indexOf("across")!==-1){if(Ye.indexOf("toaxis")!==-1&&(Ee=ht,Ve=ge),Ye.indexOf("across")!==-1){var bt=ie._counterDomainMin,Et=ie._counterDomainMax;ie.anchor==="free"&&(bt=Math.min(bt,ie.position),Et=Math.max(Et,ie.position)),Ee=ye.t+(1-Et)*ye.h,Ve=ye.t+(1-bt)*ye.h}ue.insert("line",":first-child").attr({x1:je,x2:je,y1:Ee,y2:Ve,"stroke-width":st,stroke:ot,"stroke-dasharray":o.dashStyle(ie.spikedash,st)}).classed("spikeline",!0).classed("crisp",!0),ue.insert("line",":first-child").attr({x1:je,x2:je,y1:Ee,y2:Ve,"stroke-width":st+2,stroke:xe}).classed("spikeline",!0).classed("crisp",!0)}Ye.indexOf("marker")!==-1&&ue.insert("circle",":first-child").attr({cx:je,cy:ht-(ie.side!=="top"?st:-st),r:st,fill:ot}).classed("spikeline",!0)}}}function G(X,Q){return!Q||Q.vLinePoint!==X._spikepoints.vLinePoint||Q.hLinePoint!==X._spikepoints.hLinePoint}function q(X,Q){return a.plainText(X||"",{len:Q,allowedTags:["br","sub","sup","b","i","em"]})}function H(X,Q,re){var ie=Q[X+"a"],oe=Q[X+"Val"],ue=Q.cd[0];if(ie.type==="category"||ie.type==="multicategory")oe=ie._categoriesMap[oe];else if(ie.type==="date"){var ce=Q.trace[X+"periodalignment"];if(ce){var ye=Q.cd[Q.index],de=ye[X+"Start"];de===void 0&&(de=ye[X]);var me=ye[X+"End"];me===void 0&&(me=ye[X]);var pe=me-de;ce==="end"?oe+=pe:ce==="middle"&&(oe+=pe/2)}oe=ie.d2c(oe)}return ue&&ue.t&&ue.t.posLetter===ie._id&&(re.boxmode!=="group"&&re.violinmode!=="group"||(oe+=ue.t.dPos)),oe}function ne(X){return X.offsetTop+X.clientTop}function te(X){return X.offsetLeft+X.clientLeft}function Z(X,Q){var re=X._fullLayout,ie=Q.getBoundingClientRect(),oe=ie.left,ue=ie.top,ce=oe+ie.width,ye=ue+ie.height,de=M.apply3DTransform(re._invTransform)(oe,ue),me=M.apply3DTransform(re._invTransform)(ce,ye),pe=de[0],xe=de[1],Pe=me[0],_e=me[1];return{x:pe,y:xe,width:Pe-pe,height:_e-xe,top:Math.min(xe,_e),left:Math.min(pe,Pe),right:Math.max(pe,Pe),bottom:Math.max(xe,_e)}}},38048:function(T,p,t){var d=t(71828),g=t(7901),i=t(23469).isUnifiedHover;T.exports=function(M,v,f,l){l=l||{};var a=v.legend;function u(o){l.font[o]||(l.font[o]=a?v.legend.font[o]:v.font[o])}v&&i(v.hovermode)&&(l.font||(l.font={}),u("size"),u("family"),u("color"),a?(l.bgcolor||(l.bgcolor=g.combine(v.legend.bgcolor,v.paper_bgcolor)),l.bordercolor||(l.bordercolor=v.legend.bordercolor)):l.bgcolor||(l.bgcolor=v.paper_bgcolor)),f("hoverlabel.bgcolor",l.bgcolor),f("hoverlabel.bordercolor",l.bordercolor),f("hoverlabel.namelength",l.namelength),d.coerceFont(f,"hoverlabel.font",l.font),f("hoverlabel.align",l.align)}},98212:function(T,p,t){var d=t(71828),g=t(528);T.exports=function(i,M){function v(f,l){return M[f]!==void 0?M[f]:d.coerce(i,M,g,f,l)}return v("clickmode"),v("hovermode")}},30211:function(T,p,t){var d=t(39898),g=t(71828),i=t(28569),M=t(23469),v=t(528),f=t(88335);T.exports={moduleType:"component",name:"fx",constants:t(26675),schema:{layout:v},attributes:t(77914),layoutAttributes:v,supplyLayoutGlobalDefaults:t(22774),supplyDefaults:t(54268),supplyLayoutDefaults:t(34938),calc:t(30732),getDistanceFunction:M.getDistanceFunction,getClosest:M.getClosest,inbox:M.inbox,quadrature:M.quadrature,appendArrayPointValue:M.appendArrayPointValue,castHoverOption:function(l,a,u){return g.castOption(l,a,"hoverlabel."+u)},castHoverinfo:function(l,a,u){return g.castOption(l,u,"hoverinfo",function(o){return g.coerceHoverinfo({hoverinfo:o},{_module:l._module},a)})},hover:f.hover,unhover:i.unhover,loneHover:f.loneHover,loneUnhover:function(l){var a=g.isD3Selection(l)?l:d.select(l);a.selectAll("g.hovertext").remove(),a.selectAll(".spikeline").remove()},click:t(75914)}},528:function(T,p,t){var d=t(26675),g=t(41940),i=g({editType:"none"});i.family.dflt=d.HOVERFONT,i.size.dflt=d.HOVERFONTSIZE,T.exports={clickmode:{valType:"flaglist",flags:["event","select"],dflt:"event",editType:"plot",extras:["none"]},dragmode:{valType:"enumerated",values:["zoom","pan","select","lasso","drawclosedpath","drawopenpath","drawline","drawrect","drawcircle","orbit","turntable",!1],dflt:"zoom",editType:"modebar"},hovermode:{valType:"enumerated",values:["x","y","closest",!1,"x unified","y unified"],dflt:"closest",editType:"modebar"},hoverdistance:{valType:"integer",min:-1,dflt:20,editType:"none"},spikedistance:{valType:"integer",min:-1,dflt:-1,editType:"none"},hoverlabel:{bgcolor:{valType:"color",editType:"none"},bordercolor:{valType:"color",editType:"none"},font:i,grouptitlefont:g({editType:"none"}),align:{valType:"enumerated",values:["left","right","auto"],dflt:"auto",editType:"none"},namelength:{valType:"integer",min:-1,dflt:15,editType:"none"},editType:"none"},selectdirection:{valType:"enumerated",values:["h","v","d","any"],dflt:"any",editType:"none"}}},34938:function(T,p,t){var d=t(71828),g=t(528),i=t(98212),M=t(38048);T.exports=function(v,f){function l(s,c){return d.coerce(v,f,g,s,c)}i(v,f)&&(l("hoverdistance"),l("spikedistance")),l("dragmode")==="select"&&l("selectdirection");var a=f._has("mapbox"),u=f._has("geo"),o=f._basePlotModules.length;f.dragmode==="zoom"&&((a||u)&&o===1||a&&u&&o===2)&&(f.dragmode="pan"),M(v,f,l),d.coerceFont(l,"hoverlabel.grouptitlefont",f.hoverlabel.font)}},22774:function(T,p,t){var d=t(71828),g=t(38048),i=t(528);T.exports=function(M,v){g(M,v,function(f,l){return d.coerce(M,v,i,f,l)})}},83312:function(T,p,t){var d=t(71828),g=t(30587).counter,i=t(27670).Y,M=t(85555).idRegex,v=t(44467),f={rows:{valType:"integer",min:1,editType:"plot"},roworder:{valType:"enumerated",values:["top to bottom","bottom to top"],dflt:"top to bottom",editType:"plot"},columns:{valType:"integer",min:1,editType:"plot"},subplots:{valType:"info_array",freeLength:!0,dimensions:2,items:{valType:"enumerated",values:[g("xy").toString(),""],editType:"plot"},editType:"plot"},xaxes:{valType:"info_array",freeLength:!0,items:{valType:"enumerated",values:[M.x.toString(),""],editType:"plot"},editType:"plot"},yaxes:{valType:"info_array",freeLength:!0,items:{valType:"enumerated",values:[M.y.toString(),""],editType:"plot"},editType:"plot"},pattern:{valType:"enumerated",values:["independent","coupled"],dflt:"coupled",editType:"plot"},xgap:{valType:"number",min:0,max:1,editType:"plot"},ygap:{valType:"number",min:0,max:1,editType:"plot"},domain:i({name:"grid",editType:"plot",noGridCell:!0},{}),xside:{valType:"enumerated",values:["bottom","bottom plot","top plot","top"],dflt:"bottom plot",editType:"plot"},yside:{valType:"enumerated",values:["left","left plot","right plot","right"],dflt:"left plot",editType:"plot"},editType:"plot"};function l(o,s,c){var h=s[c+"axes"],m=Object.keys((o._splomAxes||{})[c]||{});return Array.isArray(h)?h:m.length?m:void 0}function a(o,s,c,h,m,w){var y=s(o+"gap",c),S=s("domain."+o);s(o+"side",h);for(var _=new Array(m),k=S[0],E=(S[1]-k)/(m-y),x=E*(1-y),A=0;A1){S||_||k||F("pattern")==="independent"&&(S=!0),x._hasSubplotGrid=S;var b,R,I=F("roworder")==="top to bottom",O=S?.2:.1,z=S?.3:.1;E&&s._splomGridDflt&&(b=s._splomGridDflt.xside,R=s._splomGridDflt.yside),x._domains={x:a("x",F,O,b,L),y:a("y",F,z,R,A,I)}}else delete s.grid}function F(B,N){return d.coerce(c,x,f,B,N)}},contentDefaults:function(o,s){var c=s.grid;if(c&&c._domains){var h,m,w,y,S,_,k,E=o.grid||{},x=s._subplots,A=c._hasSubplotGrid,L=c.rows,b=c.columns,R=c.pattern==="independent",I=c._axisMap={};if(A){var O=E.subplots||[];_=c.subplots=new Array(L);var z=1;for(h=0;h1);if(R===!1&&(s.legend=void 0),(R!==!1||h.uirevision)&&(w("uirevision",s.uirevision),R!==!1)){w("borderwidth");var I,O,z,F=w("orientation")==="h";if(F?(I=0,d.getComponentMethod("rangeslider","isVisible")(o.xaxis)?(O=1.1,z="bottom"):(O=-.1,z="top")):(I=1.02,O=1,z="auto"),w("traceorder",L),l.isGrouped(s.legend)&&w("tracegroupgap"),w("entrywidth"),w("entrywidthmode"),w("itemsizing"),w("itemwidth"),w("itemclick"),w("itemdoubleclick"),w("groupclick"),w("x",I),w("xanchor"),w("y",O),w("yanchor",z),w("valign"),g.noneOrAll(h,m,["x","y"]),w("title.text")){w("title.side",F?"left":"top");var B=g.extendFlat({},y,{size:g.bigFont(y.size)});g.coerceFont(w,"title.font",B)}}}}T.exports=function(u,o,s){var c,h=["legend"];for(c=0;c1)}var ne=U.hiddenlabels||[];if(!(q||U.showlegend&&H.length))return j.selectAll("."+G).remove(),U._topdefs.select("#"+W).remove(),i.autoMargin(B,G);var te=g.ensureSingle(j,"g",G,function(ye){q||ye.attr("pointer-events","all")}),Z=g.ensureSingleById(U._topdefs,"clipPath",W,function(ye){ye.append("rect")}),X=g.ensureSingle(te,"rect","bg",function(ye){ye.attr("shape-rendering","crispEdges")});X.call(a.stroke,$.bordercolor).call(a.fill,$.bgcolor).style("stroke-width",$.borderwidth+"px");var Q=g.ensureSingle(te,"g","scrollbox"),re=$.title;if($._titleWidth=0,$._titleHeight=0,re.text){var ie=g.ensureSingle(Q,"text",G+"titletext");ie.attr("text-anchor","start").call(l.font,re.font).text(re.text),I(ie,Q,B,$,1)}else Q.selectAll("."+G+"titletext").remove();var oe=g.ensureSingle(te,"rect","scrollbar",function(ye){ye.attr(s.scrollBarEnterAttrs).call(a.fill,s.scrollBarColor)}),ue=Q.selectAll("g.groups").data(H);ue.enter().append("g").attr("class","groups"),ue.exit().remove();var ce=ue.selectAll("g.traces").data(g.identity);ce.enter().append("g").attr("class","traces"),ce.exit().remove(),ce.style("opacity",function(ye){var de=ye[0].trace;return M.traceIs(de,"pie-like")?ne.indexOf(ye[0].label)!==-1?.5:1:de.visible==="legendonly"?.5:1}).each(function(){d.select(this).call(L,B,$)}).call(S,B,$).each(function(){q||d.select(this).call(R,B,G)}),g.syncOrAsync([i.previousPromises,function(){return function(ye,de,me,pe){var xe=ye._fullLayout,Pe=F(pe);pe||(pe=xe[Pe]);var _e=xe._size,Me=_.isVertical(pe),Se=_.isGrouped(pe),Ce=pe.entrywidthmode==="fraction",ae=pe.borderwidth,fe=2*ae,be=s.itemGap,ke=pe.itemwidth+2*be,Le=2*(ae+be),Be=z(pe),ze=pe.y<0||pe.y===0&&Be==="top",je=pe.y>1||pe.y===1&&Be==="bottom",ge=pe.tracegroupgap,we={};pe._maxHeight=Math.max(ze||je?xe.height/2:_e.h,30);var Ee=0;pe._width=0,pe._height=0;var Ve=function(Re){var Ne=0,Qe=0,ut=Re.title.side;return ut&&(ut.indexOf("left")!==-1&&(Ne=Re._titleWidth),ut.indexOf("top")!==-1&&(Qe=Re._titleHeight)),[Ne,Qe]}(pe);if(Me)me.each(function(Re){var Ne=Re[0].height;l.setTranslate(this,ae+Ve[0],ae+Ve[1]+pe._height+Ne/2+be),pe._height+=Ne,pe._width=Math.max(pe._width,Re[0].width)}),Ee=ke+pe._width,pe._width+=be+ke+fe,pe._height+=Le,Se&&(de.each(function(Re,Ne){l.setTranslate(this,0,Ne*pe.tracegroupgap)}),pe._height+=(pe._lgroupsLength-1)*pe.tracegroupgap);else{var $e=O(pe),Ye=pe.x<0||pe.x===0&&$e==="right",st=pe.x>1||pe.x===1&&$e==="left",ot=je||ze,ht=xe.width/2;pe._maxWidth=Math.max(Ye?ot&&$e==="left"?_e.l+_e.w:ht:st?ot&&$e==="right"?_e.r+_e.w:ht:_e.w,2*ke);var bt=0,Et=0;me.each(function(Re){var Ne=x(Re,pe,ke);bt=Math.max(bt,Ne),Et+=Ne}),Ee=null;var kt=0;if(Se){var xt=0,Ft=0,Ot=0;de.each(function(){var Re=0,Ne=0;d.select(this).selectAll("g.traces").each(function(ut){var dt=x(ut,pe,ke),_t=ut[0].height;l.setTranslate(this,Ve[0],Ve[1]+ae+be+_t/2+Ne),Ne+=_t,Re=Math.max(Re,dt),we[ut[0].trace.legendgroup]=Re});var Qe=Re+be;Ft>0&&Qe+ae+Ft>pe._maxWidth?(kt=Math.max(kt,Ft),Ft=0,Ot+=xt+ge,xt=Ne):xt=Math.max(xt,Ne),l.setTranslate(this,Ft,Ot),Ft+=Qe}),pe._width=Math.max(kt,Ft)+ae,pe._height=Ot+xt+Le}else{var Bt=me.size(),qt=Et+fe+(Bt-1)*be=pe._maxWidth&&(kt=Math.max(kt,qe),Ke=0,Je+=Vt,pe._height+=Vt,Vt=0),l.setTranslate(this,Ve[0]+ae+Ke,Ve[1]+ae+Je+Ne/2+be),qe=Ke+Qe+be,Ke+=ut,Vt=Math.max(Vt,Ne)}),qt?(pe._width=Ke+fe,pe._height=Vt+Le):(pe._width=Math.max(kt,qe)+fe,pe._height+=Vt+Le)}}pe._width=Math.ceil(Math.max(pe._width+Ve[0],pe._titleWidth+2*(ae+s.titlePad))),pe._height=Math.ceil(Math.max(pe._height+Ve[1],pe._titleHeight+2*(ae+s.itemGap))),pe._effHeight=Math.min(pe._height,pe._maxHeight);var nt=ye._context.edits,ft=nt.legendText||nt.legendPosition;me.each(function(Re){var Ne=d.select(this).select("."+Pe+"toggle"),Qe=Re[0].height,ut=Re[0].trace.legendgroup,dt=x(Re,pe,ke);Se&&ut!==""&&(dt=we[ut]);var _t=ft?ke:Ee||dt;Me||Ce||(_t+=be/2),l.setRect(Ne,0,-Qe/2,_t,Qe)})}(B,ue,ce,$)},function(){var ye,de,me,pe,xe=U._size,Pe=$.borderwidth;if(!q){var _e=function(Ye,st){var ot=Ye._fullLayout[st],ht=O(ot),bt=z(ot);return i.autoMargin(Ye,st,{x:ot.x,y:ot.y,l:ot._width*m[ht],r:ot._width*w[ht],b:ot._effHeight*w[bt],t:ot._effHeight*m[bt]})}(B,G);if(_e)return;var Me=xe.l+xe.w*$.x-m[O($)]*$._width,Se=xe.t+xe.h*(1-$.y)-m[z($)]*$._effHeight;if(U.margin.autoexpand){var Ce=Me,ae=Se;Me=g.constrain(Me,0,U.width-$._width),Se=g.constrain(Se,0,U.height-$._effHeight),Me!==Ce&&g.log("Constrain "+G+".x to make legend fit inside graph"),Se!==ae&&g.log("Constrain "+G+".y to make legend fit inside graph")}l.setTranslate(te,Me,Se)}if(oe.on(".drag",null),te.on("wheel",null),q||$._height<=$._maxHeight||B._context.staticPlot){var fe=$._effHeight;q&&(fe=$._height),X.attr({width:$._width-Pe,height:fe-Pe,x:Pe/2,y:Pe/2}),l.setTranslate(Q,0,0),Z.select("rect").attr({width:$._width-2*Pe,height:fe-2*Pe,x:Pe,y:Pe}),l.setClipUrl(Q,W,B),l.setRect(oe,0,0,0,0),delete $._scrollY}else{var be,ke,Le,Be=Math.max(s.scrollBarMinHeight,$._effHeight*$._effHeight/$._height),ze=$._effHeight-Be-2*s.scrollBarMargin,je=$._height-$._effHeight,ge=ze/je,we=Math.min($._scrollY||0,je);X.attr({width:$._width-2*Pe+s.scrollBarWidth+s.scrollBarMargin,height:$._effHeight-Pe,x:Pe/2,y:Pe/2}),Z.select("rect").attr({width:$._width-2*Pe+s.scrollBarWidth+s.scrollBarMargin,height:$._effHeight-2*Pe,x:Pe,y:Pe+we}),l.setClipUrl(Q,W,B),$e(we,Be,ge),te.on("wheel",function(){$e(we=g.constrain($._scrollY+d.event.deltaY/ze*je,0,je),Be,ge),we!==0&&we!==je&&d.event.preventDefault()});var Ee=d.behavior.drag().on("dragstart",function(){var Ye=d.event.sourceEvent;be=Ye.type==="touchstart"?Ye.changedTouches[0].clientY:Ye.clientY,Le=we}).on("drag",function(){var Ye=d.event.sourceEvent;Ye.buttons===2||Ye.ctrlKey||(ke=Ye.type==="touchmove"?Ye.changedTouches[0].clientY:Ye.clientY,we=function(st,ot,ht){var bt=(ht-ot)/ge+st;return g.constrain(bt,0,je)}(Le,be,ke),$e(we,Be,ge))});oe.call(Ee);var Ve=d.behavior.drag().on("dragstart",function(){var Ye=d.event.sourceEvent;Ye.type==="touchstart"&&(be=Ye.changedTouches[0].clientY,Le=we)}).on("drag",function(){var Ye=d.event.sourceEvent;Ye.type==="touchmove"&&(ke=Ye.changedTouches[0].clientY,we=function(st,ot,ht){var bt=(ot-ht)/ge+st;return g.constrain(bt,0,je)}(Le,be,ke),$e(we,Be,ge))});Q.call(Ve)}function $e(Ye,st,ot){$._scrollY=B._fullLayout[G]._scrollY=Ye,l.setTranslate(Q,0,-Ye),l.setRect(oe,$._width,s.scrollBarMargin+Ye*ot,s.scrollBarWidth,st),Z.select("rect").attr("y",Pe+Ye)}B._context.edits.legendPosition&&(te.classed("cursor-move",!0),f.init({element:te.node(),gd:B,prepFn:function(){var Ye=l.getTranslate(te);me=Ye.x,pe=Ye.y},moveFn:function(Ye,st){var ot=me+Ye,ht=pe+st;l.setTranslate(te,ot,ht),ye=f.align(ot,$._width,xe.l,xe.l+xe.w,$.xanchor),de=f.align(ht+$._height,-$._height,xe.t+xe.h,xe.t,$.yanchor)},doneFn:function(){if(ye!==void 0&&de!==void 0){var Ye={};Ye[G+".x"]=ye,Ye[G+".y"]=de,M.call("_guiRelayout",B,Ye)}},clickFn:function(Ye,st){var ot=ue.selectAll("g.traces").filter(function(){var ht=this.getBoundingClientRect();return st.clientX>=ht.left&&st.clientX<=ht.right&&st.clientY>=ht.top&&st.clientY<=ht.bottom});ot.size()>0&&A(B,te,ot,Ye,st)}}))}],B)}}function x(B,N,W){var j=B[0],$=j.width,U=N.entrywidthmode,G=j.trace.legendwidth||N.entrywidth;return U==="fraction"?N._maxWidth*G:W+(G||$)}function A(B,N,W,j,$){var U=W.data()[0][0].trace,G={event:$,node:W.node(),curveNumber:U.index,expandedIndex:U._expandedIndex,data:B.data,layout:B.layout,frames:B._transitionData._frames,config:B._context,fullData:B._fullData,fullLayout:B._fullLayout};U._group&&(G.group=U._group),M.traceIs(U,"pie-like")&&(G.label=W.datum()[0].label),v.triggerHandler(B,"plotly_legendclick",G)!==!1&&(j===1?N._clickTimeout=setTimeout(function(){B._fullLayout&&o(W,B,j)},B._context.doubleClickDelay):j===2&&(N._clickTimeout&&clearTimeout(N._clickTimeout),B._legendMouseDownTime=0,v.triggerHandler(B,"plotly_legenddoubleclick",G)!==!1&&o(W,B,j)))}function L(B,N,W){var j,$,U=F(W),G=B.data()[0][0],q=G.trace,H=M.traceIs(q,"pie-like"),ne=!W._inHover&&N._context.edits.legendText&&!H,te=W._maxNameLength;G.groupTitle?(j=G.groupTitle.text,$=G.groupTitle.font):($=W.font,W.entries?j=G.text:(j=H?G.label:q.name,q._meta&&(j=g.templateString(j,q._meta))));var Z=g.ensureSingle(B,"text",U+"text");Z.attr("text-anchor","start").call(l.font,$).text(ne?b(j,te):j);var X=W.itemwidth+2*s.itemGap;u.positionText(Z,X,0),ne?Z.call(u.makeEditable,{gd:N,text:j}).call(I,B,N,W).on("edit",function(Q){this.text(b(Q,te)).call(I,B,N,W);var re=G.trace._fullInput||{},ie={};if(M.hasTransform(re,"groupby")){var oe=M.getTransformIndices(re,"groupby"),ue=oe[oe.length-1],ce=g.keyedContainer(re,"transforms["+ue+"].styles","target","value.name");ce.set(G.trace._group,Q),ie=ce.constructUpdate()}else ie.name=Q;return M.call("_guiRestyle",N,ie,q.index)}):I(Z,B,N,W)}function b(B,N){var W=Math.max(4,N);if(B&&B.trim().length>=W/2)return B;for(var j=W-(B=B||"").length;j>0;j--)B+=" ";return B}function R(B,N,W){var j,$=N._context.doubleClickDelay,U=1,G=g.ensureSingle(B,"rect",W+"toggle",function(q){N._context.staticPlot||q.style("cursor","pointer").attr("pointer-events","all"),q.call(a.fill,"rgba(0,0,0,0)")});N._context.staticPlot||(G.on("mousedown",function(){(j=new Date().getTime())-N._legendMouseDownTime<$?U+=1:(U=1,N._legendMouseDownTime=j)}),G.on("mouseup",function(){if(!N._dragged&&!N._editing){var q=N._fullLayout[W];new Date().getTime()-N._legendMouseDownTime>$&&(U=Math.max(U-1,1)),A(N,q,B,U,d.event)}}))}function I(B,N,W,j,$){j._inHover&&B.attr("data-notex",!0),u.convertToTspans(B,W,function(){(function(U,G,q,H){var ne=U.data()[0][0];if(q._inHover||!ne||ne.trace.showlegend){var te=U.select("g[class*=math-group]"),Z=te.node(),X=F(q);q||(q=G._fullLayout[X]);var Q,re,ie=q.borderwidth,oe=(H===1?q.title.font:ne.groupTitle?ne.groupTitle.font:q.font).size*h;if(Z){var ue=l.bBox(Z);Q=ue.height,re=ue.width,H===1?l.setTranslate(te,ie,ie+.75*Q):l.setTranslate(te,0,.25*Q)}else{var ce="."+X+(H===1?"title":"")+"text",ye=U.select(ce),de=u.lineCount(ye),me=ye.node();if(Q=oe*de,re=me?l.bBox(me).width:0,H===1)q.title.side==="left"&&(re+=2*s.itemGap),u.positionText(ye,ie+s.titlePad,ie+oe);else{var pe=2*s.itemGap+q.itemwidth;ne.groupTitle&&(pe=s.itemGap,re-=q.itemwidth),u.positionText(ye,pe,-oe*((de-1)/2-.3))}}H===1?(q._titleWidth=re,q._titleHeight=Q):(ne.lineHeight=oe,ne.height=Math.max(Q,16)+3,ne.width=re)}else U.remove()})(N,W,j,$)})}function O(B){return g.isRightAnchor(B)?"right":g.isCenterAnchor(B)?"center":"left"}function z(B){return g.isBottomAnchor(B)?"bottom":g.isMiddleAnchor(B)?"middle":"top"}function F(B){return B._id||"legend"}T.exports=function(B,N){if(N)E(B,N);else{var W=B._fullLayout,j=W._legends;W._infolayer.selectAll('[class^="legend"]').each(function(){var G=d.select(this),q=G.attr("class").split(" ")[0];q.match(k)&&j.indexOf(q)===-1&&G.remove()});for(var $=0;$z&&(O=z)}R[f][0]._groupMinRank=O,R[f][0]._preGroupSort=f}var F=function($,U){return $.trace.legendrank-U.trace.legendrank||$._preSort-U._preSort};for(R.forEach(function($,U){$[0]._preGroupSort=U}),R.sort(function($,U){return $[0]._groupMinRank-U[0]._groupMinRank||$[0]._preGroupSort-U[0]._preGroupSort}),f=0;fS?S:w}T.exports=function(w,y,S){var _=y._fullLayout;S||(S=_.legend);var k=S.itemsizing==="constant",E=S.itemwidth,x=(E+2*s.itemGap)/2,A=M(x,0),L=function(I,O,z,F){var B;if(I+1)B=I;else{if(!(O&&O.width>0))return 0;B=O.width}return k?F:Math.min(B,z)};function b(I,O,z){var F=I[0].trace,B=F.marker||{},N=B.line||{},W=z?F.visible&&F.type===z:g.traceIs(F,"bar"),j=d.select(O).select("g.legendpoints").selectAll("path.legend"+z).data(W?[I]:[]);j.enter().append("path").classed("legend"+z,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",A),j.exit().remove(),j.each(function($){var U=d.select(this),G=$[0],q=L(G.mlw,B.line,5,2);U.style("stroke-width",q+"px");var H=G.mcc;if(!S._inHover&&"mc"in G){var ne=l(B),te=ne.mid;te===void 0&&(te=(ne.max+ne.min)/2),H=v.tryColorscale(B,"")(te)}var Z=H||G.mc||B.color,X=B.pattern,Q=X&&v.getPatternAttr(X.shape,0,"");if(Q){var re=v.getPatternAttr(X.bgcolor,0,null),ie=v.getPatternAttr(X.fgcolor,0,null),oe=X.fgopacity,ue=m(X.size,8,10),ce=m(X.solidity,.5,1),ye="legend-"+F.uid;U.call(v.pattern,"legend",y,ye,Q,ue,ce,H,X.fillmode,re,ie,oe)}else U.call(f.fill,Z);q&&f.stroke(U,G.mlc||N.color)})}function R(I,O,z){var F=I[0],B=F.trace,N=z?B.visible&&B.type===z:g.traceIs(B,z),W=d.select(O).select("g.legendpoints").selectAll("path.legend"+z).data(N?[I]:[]);if(W.enter().append("path").classed("legend"+z,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",A),W.exit().remove(),W.size()){var j=(B.marker||{}).line,$=L(o(j.width,F.pts),j,5,2),U=i.minExtend(B,{marker:{line:{width:$}}});U.marker.line.color=j.color;var G=i.minExtend(F,{trace:U});u(W,G,U)}}w.each(function(I){var O=d.select(this),z=i.ensureSingle(O,"g","layers");z.style("opacity",I[0].trace.opacity);var F=S.valign,B=I[0].lineHeight,N=I[0].height;if(F!=="middle"&&B&&N){var W={top:1,bottom:-1}[F]*(.5*(B-N+3));z.attr("transform",M(0,W))}else z.attr("transform",null);z.selectAll("g.legendfill").data([I]).enter().append("g").classed("legendfill",!0),z.selectAll("g.legendlines").data([I]).enter().append("g").classed("legendlines",!0);var j=z.selectAll("g.legendsymbols").data([I]);j.enter().append("g").classed("legendsymbols",!0),j.selectAll("g.legendpoints").data([I]).enter().append("g").classed("legendpoints",!0)}).each(function(I){var O,z=I[0].trace,F=[];if(z.visible)switch(z.type){case"histogram2d":case"heatmap":F=[["M-15,-2V4H15V-2Z"]],O=!0;break;case"choropleth":case"choroplethmapbox":F=[["M-6,-6V6H6V-6Z"]],O=!0;break;case"densitymapbox":F=[["M-6,0 a6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0"]],O="radial";break;case"cone":F=[["M-6,2 A2,2 0 0,0 -6,6 V6L6,4Z"],["M-6,-6 A2,2 0 0,0 -6,-2 L6,-4Z"],["M-6,-2 A2,2 0 0,0 -6,2 L6,0Z"]],O=!1;break;case"streamtube":F=[["M-6,2 A2,2 0 0,0 -6,6 H6 A2,2 0 0,1 6,2 Z"],["M-6,-6 A2,2 0 0,0 -6,-2 H6 A2,2 0 0,1 6,-6 Z"],["M-6,-2 A2,2 0 0,0 -6,2 H6 A2,2 0 0,1 6,-2 Z"]],O=!1;break;case"surface":F=[["M-6,-6 A2,3 0 0,0 -6,0 H6 A2,3 0 0,1 6,-6 Z"],["M-6,1 A2,3 0 0,1 -6,6 H6 A2,3 0 0,0 6,0 Z"]],O=!0;break;case"mesh3d":F=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],O=!1;break;case"volume":F=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],O=!0;break;case"isosurface":F=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6 A12,24 0 0,0 6,-6 L0,6Z"]],O=!1}var B=d.select(this).select("g.legendpoints").selectAll("path.legend3dandfriends").data(F);B.enter().append("path").classed("legend3dandfriends",!0).attr("transform",A).style("stroke-miterlimit",1),B.exit().remove(),B.each(function(N,W){var j,$=d.select(this),U=l(z),G=U.colorscale,q=U.reversescale;if(G){if(!O){var H=G.length;j=W===0?G[q?H-1:0][1]:W===1?G[q?0:H-1][1]:G[Math.floor((H-1)/2)][1]}}else{var ne=z.vertexcolor||z.facecolor||z.color;j=i.isArrayOrTypedArray(ne)?ne[W]||ne[0]:ne}$.attr("d",N[0]),j?$.call(f.fill,j):$.call(function(te){if(te.size()){var Z="legendfill-"+z.uid;v.gradient(te,y,Z,c(q,O==="radial"),G,"fill")}})})}).each(function(I){var O=I[0].trace,z=O.type==="waterfall";if(I[0]._distinct&&z){var F=I[0].trace[I[0].dir].marker;return I[0].mc=F.color,I[0].mlw=F.line.width,I[0].mlc=F.line.color,b(I,this,"waterfall")}var B=[];O.visible&&z&&(B=I[0].hasTotals?[["increasing","M-6,-6V6H0Z"],["totals","M6,6H0L-6,-6H-0Z"],["decreasing","M6,6V-6H0Z"]]:[["increasing","M-6,-6V6H6Z"],["decreasing","M6,6V-6H-6Z"]]);var N=d.select(this).select("g.legendpoints").selectAll("path.legendwaterfall").data(B);N.enter().append("path").classed("legendwaterfall",!0).attr("transform",A).style("stroke-miterlimit",1),N.exit().remove(),N.each(function(W){var j=d.select(this),$=O[W[0]].marker,U=L(void 0,$.line,5,2);j.attr("d",W[1]).style("stroke-width",U+"px").call(f.fill,$.color),U&&j.call(f.stroke,$.line.color)})}).each(function(I){b(I,this,"funnel")}).each(function(I){b(I,this)}).each(function(I){var O=I[0].trace,z=d.select(this).select("g.legendpoints").selectAll("path.legendbox").data(O.visible&&g.traceIs(O,"box-violin")?[I]:[]);z.enter().append("path").classed("legendbox",!0).attr("d","M6,6H-6V-6H6Z").attr("transform",A),z.exit().remove(),z.each(function(){var F=d.select(this);if(O.boxpoints!=="all"&&O.points!=="all"||f.opacity(O.fillcolor)!==0||f.opacity((O.line||{}).color)!==0){var B=L(void 0,O.line,5,2);F.style("stroke-width",B+"px").call(f.fill,O.fillcolor),B&&f.stroke(F,O.line.color)}else{var N=i.minExtend(O,{marker:{size:k?12:i.constrain(O.marker.size,2,16),sizeref:1,sizemin:1,sizemode:"diameter"}});z.call(v.pointStyle,N,y)}})}).each(function(I){R(I,this,"funnelarea")}).each(function(I){R(I,this,"pie")}).each(function(I){var O,z,F=h(I),B=F.showFill,N=F.showLine,W=F.showGradientLine,j=F.showGradientFill,$=F.anyFill,U=F.anyLine,G=I[0],q=G.trace,H=l(q),ne=H.colorscale,te=H.reversescale,Z=a.hasMarkers(q)||!$?"M5,0":U?"M5,-2":"M5,-3",X=d.select(this),Q=X.select(".legendfill").selectAll("path").data(B||j?[I]:[]);if(Q.enter().append("path").classed("js-fill",!0),Q.exit().remove(),Q.attr("d",Z+"h"+E+"v6h-"+E+"z").call(function(oe){if(oe.size())if(B)v.fillGroupStyle(oe,y);else{var ue="legendfill-"+q.uid;v.gradient(oe,y,ue,c(te),ne,"fill")}}),N||W){var re=L(void 0,q.line,10,5);z=i.minExtend(q,{line:{width:re}}),O=[i.minExtend(G,{trace:z})]}var ie=X.select(".legendlines").selectAll("path").data(N||W?[O]:[]);ie.enter().append("path").classed("js-line",!0),ie.exit().remove(),ie.attr("d",Z+(W?"l"+E+",0.0001":"h"+E)).call(N?v.lineGroupStyle:function(oe){if(oe.size()){var ue="legendline-"+q.uid;v.lineGroupStyle(oe),v.gradient(oe,y,ue,c(te),ne,"stroke")}})}).each(function(I){var O,z,F=h(I),B=F.anyFill,N=F.anyLine,W=F.showLine,j=F.showMarker,$=I[0],U=$.trace,G=!j&&!N&&!B&&a.hasText(U);function q(ie,oe,ue,ce){var ye=i.nestedProperty(U,ie).get(),de=i.isArrayOrTypedArray(ye)&&oe?oe(ye):ye;if(k&&de&&ce!==void 0&&(de=ce),ue){if(deue[1])return ue[1]}return de}function H(ie){return $._distinct&&$.index&&ie[$.index]?ie[$.index]:ie[0]}if(j||G||W){var ne={},te={};if(j){ne.mc=q("marker.color",H),ne.mx=q("marker.symbol",H),ne.mo=q("marker.opacity",i.mean,[.2,1]),ne.mlc=q("marker.line.color",H),ne.mlw=q("marker.line.width",i.mean,[0,5],2),te.marker={sizeref:1,sizemin:1,sizemode:"diameter"};var Z=q("marker.size",i.mean,[2,16],12);ne.ms=Z,te.marker.size=Z}W&&(te.line={width:q("line.width",H,[0,10],5)}),G&&(ne.tx="Aa",ne.tp=q("textposition",H),ne.ts=10,ne.tc=q("textfont.color",H),ne.tf=q("textfont.family",H)),O=[i.minExtend($,ne)],(z=i.minExtend(U,te)).selectedpoints=null,z.texttemplate=null}var X=d.select(this).select("g.legendpoints"),Q=X.selectAll("path.scatterpts").data(j?O:[]);Q.enter().insert("path",":first-child").classed("scatterpts",!0).attr("transform",A),Q.exit().remove(),Q.call(v.pointStyle,z,y),j&&(O[0].mrc=3);var re=X.selectAll("g.pointtext").data(G?O:[]);re.enter().append("g").classed("pointtext",!0).append("text").attr("transform",A),re.exit().remove(),re.selectAll("text").call(v.textPointStyle,z,y)}).each(function(I){var O=I[0].trace,z=d.select(this).select("g.legendpoints").selectAll("path.legendcandle").data(O.visible&&O.type==="candlestick"?[I,I]:[]);z.enter().append("path").classed("legendcandle",!0).attr("d",function(F,B){return B?"M-15,0H-8M-8,6V-6H8Z":"M15,0H8M8,-6V6H-8Z"}).attr("transform",A).style("stroke-miterlimit",1),z.exit().remove(),z.each(function(F,B){var N=d.select(this),W=O[B?"increasing":"decreasing"],j=L(void 0,W.line,5,2);N.style("stroke-width",j+"px").call(f.fill,W.fillcolor),j&&f.stroke(N,W.line.color)})}).each(function(I){var O=I[0].trace,z=d.select(this).select("g.legendpoints").selectAll("path.legendohlc").data(O.visible&&O.type==="ohlc"?[I,I]:[]);z.enter().append("path").classed("legendohlc",!0).attr("d",function(F,B){return B?"M-15,0H0M-8,-6V0":"M15,0H0M8,6V0"}).attr("transform",A).style("stroke-miterlimit",1),z.exit().remove(),z.each(function(F,B){var N=d.select(this),W=O[B?"increasing":"decreasing"],j=L(void 0,W.line,5,2);N.style("fill","none").call(v.dashLine,W.line.dash,j),j&&f.stroke(N,W.line.color)})})}},42068:function(T,p,t){t(93348),T.exports={editType:"modebar",orientation:{valType:"enumerated",values:["v","h"],dflt:"h",editType:"modebar"},bgcolor:{valType:"color",editType:"modebar"},color:{valType:"color",editType:"modebar"},activecolor:{valType:"color",editType:"modebar"},uirevision:{valType:"any",editType:"none"},add:{valType:"string",arrayOk:!0,dflt:"",editType:"modebar"},remove:{valType:"string",arrayOk:!0,dflt:"",editType:"modebar"}}},26023:function(T,p,t){var d=t(73972),g=t(74875),i=t(41675),M=t(24255),v=t(34031).eraseActiveShape,f=t(71828),l=f._,a=T.exports={};function u(_,k){var E,x,A=k.currentTarget,L=A.getAttribute("data-attr"),b=A.getAttribute("data-val")||!0,R=_._fullLayout,I={},O=i.list(_,null,!0),z=R._cartesianSpikesEnabled;if(L==="zoom"){var F,B=b==="in"?.5:2,N=(1+B)/2,W=(1-B)/2;for(x=0;x1?(Z=["toggleHover"],X=["resetViews"]):I?(te=["zoomInGeo","zoomOutGeo"],Z=["hoverClosestGeo"],X=["resetGeo"]):R?(Z=["hoverClosest3d"],X=["resetCameraDefault3d","resetCameraLastSave3d"]):N?(te=["zoomInMapbox","zoomOutMapbox"],Z=["toggleHover"],X=["resetViewMapbox"]):F?Z=["hoverClosestGl2d"]:O?Z=["hoverClosestPie"]:$?(Z=["hoverClosestCartesian","hoverCompareCartesian"],X=["resetViewSankey"]):Z=["toggleHover"],b&&(Z=["toggleSpikelines","hoverClosestCartesian","hoverCompareCartesian"]),(function(ye){for(var de=0;de0)){var y=function(_,k,E){for(var x=E.filter(function(R){return k[R].anchor===_._id}),A=0,L=0;L=pe.max)de=oe[me+1];else if(ye=pe.pmax)de=oe[me+1];else if(yeme._length||ke+Ve<0)return;ge=be+Ve,we=ke+Ve;break;case Pe:if(Ee="col-resize",be+Ve>me._length)return;ge=be+Ve,we=ke;break;case _e:if(Ee="col-resize",ke+Ve<0)return;ge=be,we=ke+Ve;break;default:Ee="ew-resize",ge=fe,we=fe+Ve}if(we=0;F--){var B=k.append("path").attr(x).style("opacity",F?.1:A).call(M.stroke,b).call(M.fill,L).call(v.dashLine,F?"solid":I,F?4+R:R);if(c(B,m,S),O){var N=f(m.layout,"selections",S);B.style({cursor:"move"});var W={element:B.node(),plotinfo:_,gd:m,editHelpers:N,isActiveSelection:!0},j=d(E,m);g(j,B,W)}else B.style("pointer-events",F?"all":"none");z[F]=B}var $=z[0];z[1].node().addEventListener("click",function(){return function(U,G){if(o(U)){var q=+G.node().getAttribute("data-index");if(q>=0){if(q===U._fullLayout._activeSelectionIndex)return void h(U);U._fullLayout._activeSelectionIndex=q,U._fullLayout._deactivateSelection=h,u(U)}}}(m,$)})}(m._fullLayout._selectionLayer)}function c(m,w,y){var S=y.xref+y.yref;v.setClipUrl(m,"clip"+w._fullLayout._uid+S,w)}function h(m){o(m)&&m._fullLayout._activeSelectionIndex>=0&&(i(m),delete m._fullLayout._activeSelectionIndex,u(m))}T.exports={draw:u,drawOne:s,activateLastSelection:function(m){if(o(m)){var w=m._fullLayout.selections.length-1;m._fullLayout._activeSelectionIndex=w,m._fullLayout._deactivateSelection=h,u(m)}}}},53777:function(T,p,t){var d=t(79952).P,g=t(1426).extendFlat;T.exports={newselection:{mode:{valType:"enumerated",values:["immediate","gradual"],dflt:"immediate",editType:"none"},line:{color:{valType:"color",editType:"none"},width:{valType:"number",min:1,dflt:1,editType:"none"},dash:g({},d,{dflt:"dot",editType:"none"}),editType:"none"},editType:"none"},activeselection:{fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"none"},opacity:{valType:"number",min:0,max:1,dflt:.5,editType:"none"},editType:"none"}}},90849:function(T){T.exports=function(p,t,d){d("newselection.mode"),d("newselection.line.width")&&(d("newselection.line.color"),d("newselection.line.dash")),d("activeselection.fillcolor"),d("activeselection.opacity")}},35855:function(T,p,t){var d=t(64505).selectMode,g=t(51873).clearOutline,i=t(60165),M=i.readPaths,v=i.writePaths,f=i.fixDatesForPaths;T.exports=function(l,a){if(l.length){var u=l[0][0];if(u){var o=u.getAttribute("d"),s=a.gd,c=s._fullLayout.newselection,h=a.plotinfo,m=h.xaxis,w=h.yaxis,y=a.isActiveSelection,S=a.dragmode,_=(s.layout||{}).selections||[];if(!d(S)&&y!==void 0){var k=s._fullLayout._activeSelectionIndex;if(k<_.length)switch(s._fullLayout.selections[k].type){case"rect":S="select";break;case"path":S="lasso"}}var E,x=M(o,s,h,y),A={xref:m._id,yref:w._id,opacity:c.opacity,line:{color:c.line.color,width:c.line.width,dash:c.line.dash}};x.length===1&&(E=x[0]),E&&E.length===5&&S==="select"?(A.type="rect",A.x0=E[0][1],A.y0=E[0][2],A.x1=E[2][1],A.y1=E[2][2]):(A.type="path",m&&w&&f(x,m,w),A.path=v(x),E=null),g(s);for(var L=a.editHelpers,b=(L||{}).modifyItem,R=[],I=0;I<_.length;I++){var O=s._fullLayout.selections[I];if(O){if(R[I]=O._input,y!==void 0&&I===s._fullLayout._activeSelectionIndex){var z=A;switch(O.type){case"rect":b("x0",z.x0),b("x1",z.x1),b("y0",z.y0),b("y1",z.y1);break;case"path":b("path",z.path)}}}else R[I]=O}return y===void 0?(R.push(A),R):L?L.getUpdateObj():{}}}}},75549:function(T,p,t){var d=t(71828).strTranslate;function g(i,M){switch(i.type){case"log":return i.p2d(M);case"date":return i.p2r(M,0,i.calendar);default:return i.p2r(M)}}T.exports={p2r:g,r2p:function(i,M){switch(i.type){case"log":return i.d2p(M);case"date":return i.r2p(M,0,i.calendar);default:return i.r2p(M)}},axValue:function(i){var M=i._id.charAt(0)==="y"?1:0;return function(v){return g(i,v[M])}},getTransform:function(i){return d(i.xaxis._offset,i.yaxis._offset)}}},47322:function(T,p,t){var d=t(32485),g=t(3937);T.exports={moduleType:"component",name:"selections",layoutAttributes:t(8389),supplyLayoutDefaults:t(59402),supplyDrawNewSelectionDefaults:t(90849),includeBasePlot:t(76325)("selections"),draw:d.draw,drawOne:d.drawOne,reselect:g.reselect,prepSelect:g.prepSelect,clearOutline:g.clearOutline,clearSelectionsCache:g.clearSelectionsCache,selectOnClick:g.selectOnClick}},3937:function(T,p,t){var d=t(52142),g=t(38258),i=t(73972),M=t(91424).dashStyle,v=t(7901),f=t(30211),l=t(23469).makeEventData,a=t(64505),u=a.freeMode,o=a.rectMode,s=a.drawMode,c=a.openMode,h=a.selectMode,m=t(30477),w=t(21459),y=t(42359),S=t(51873).clearOutline,_=t(60165),k=_.handleEllipse,E=_.readPaths,x=t(90551),A=t(35855),L=t(32485).activateLastSelection,b=t(71828),R=b.sorterAsc,I=t(61082),O=t(79990),z=t(41675).getFromId,F=t(33306),B=t(61549).redrawReglTraces,N=t(34122),W=N.MINSELECT,j=I.filter,$=I.tester,U=t(75549),G=U.p2r,q=U.axValue,H=U.getTransform;function ne(ze){return ze.subplot!==void 0}function te(ze,je,ge,we,Ee,Ve,$e){var Ye,st,ot,ht,bt,Et,kt,xt,Ft,Ot=je._hoverdata,Bt=je._fullLayout.clickmode.indexOf("event")>-1,qt=[];if(function(nt){return nt&&Array.isArray(nt)&&nt[0].hoverOnBox!==!0}(Ot)){re(ze,je,Ve);var Vt=function(nt,ft){var Re,Ne,Qe=nt[0],ut=-1,dt=[];for(Ne=0;Ne0?function(nt,ft){var Re,Ne,Qe,ut=[];for(Qe=0;Qe0&&ut.push(Re);if(ut.length===1&&ut[0]===ft.searchInfo&&(Ne=ft.searchInfo.cd[0].trace).selectedpoints.length===ft.pointNumbers.length){for(Qe=0;Qe1||(Ne+=ft.selectedpoints.length)>1))return!1;return Ne===1}(Ye)&&(Et=ye(Vt))){for($e&&$e.remove(),Ft=0;Ft=0})(Ee)&&Ee._fullLayout._deactivateShape(Ee),function(bt){return bt._fullLayout._activeSelectionIndex>=0}(Ee)&&Ee._fullLayout._deactivateSelection(Ee);var Ve=Ee._fullLayout._zoomlayer,$e=s(ge),Ye=h(ge);if($e||Ye){var st,ot,ht=Ve.selectAll(".select-outline-"+we.id);ht&&Ee._fullLayout._outlining&&($e&&(st=x(ht,ze)),st&&i.call("_guiRelayout",Ee,{shapes:st}),Ye&&!ne(ze)&&(ot=A(ht,ze)),ot&&(Ee._fullLayout._noEmitSelectedAtStart=!0,i.call("_guiRelayout",Ee,{selections:ot}).then(function(){je&&L(Ee)})),Ee._fullLayout._outlining=!1)}we.selection={},we.selection.selectionDefs=ze.selectionDefs=[],we.selection.mergedPolygons=ze.mergedPolygons=[]}function oe(ze){return ze._id}function ue(ze,je,ge,we){if(!ze.calcdata)return[];var Ee,Ve,$e,Ye=[],st=je.map(oe),ot=ge.map(oe);for($e=0;$e0?we[0]:ge;return!!je.selectedpoints&&je.selectedpoints.indexOf(Ee)>-1}function de(ze,je,ge){var we,Ee;for(we=0;we-1&&je;if(!Ve&&je){var Tn=Ce(ze,!0);if(Tn.length){var dn=Tn[0].xref,pn=Tn[0].yref;if(dn&&pn){var Dn=be(Tn);ke([z(ze,dn,"x"),z(ze,pn,"y")])(kn,Dn)}}ze._fullLayout._noEmitSelectedAtStart?ze._fullLayout._noEmitSelectedAtStart=!1:sn&&Le(ze,kn),Et._reselect=!1}if(!Ve&&Et._deselect){var In=Et._deselect;(function(jn,Gn,qn){for(var lr=0;lr=0)kt._fullLayout._deactivateShape(kt);else if(!ot){var pn=xt.clickmode;O.done(An).then(function(){if(O.clear(An),Tn===2){for(Xt.remove(),Qe=0;Qe-1&&te(dn,kt,we.xaxes,we.yaxes,we.subplot,we,Xt),pn==="event"&&Le(kt,void 0);f.click(kt,dn)}).catch(b.error)}},we.doneFn=function(){un.remove(),O.done(An).then(function(){O.clear(An),!Ft&&Ne&&we.selectionDefs&&(Ne.subtract=Wt,we.selectionDefs.push(Ne),we.mergedPolygons.length=0,[].push.apply(we.mergedPolygons,Re)),(Ft||ot)&&ie(we,Ft),we.doneFnCompleted&&we.doneFnCompleted(Yn),ht&&Le(kt,dt)}).catch(b.error)}},clearOutline:S,clearSelectionsCache:ie,selectOnClick:te}},89827:function(T,p,t){var d=t(50215),g=t(41940),i=t(82196).line,M=t(79952).P,v=t(1426).extendFlat,f=t(44467).templatedArray,l=(t(24695),t(5386).R),a=t(37281);T.exports=f("shape",{visible:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},type:{valType:"enumerated",values:["circle","rect","path","line"],editType:"calc+arraydraw"},layer:{valType:"enumerated",values:["below","above"],dflt:"above",editType:"arraydraw"},xref:v({},d.xref,{}),xsizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",editType:"calc+arraydraw"},xanchor:{valType:"any",editType:"calc+arraydraw"},x0:{valType:"any",editType:"calc+arraydraw"},x1:{valType:"any",editType:"calc+arraydraw"},yref:v({},d.yref,{}),ysizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",editType:"calc+arraydraw"},yanchor:{valType:"any",editType:"calc+arraydraw"},y0:{valType:"any",editType:"calc+arraydraw"},y1:{valType:"any",editType:"calc+arraydraw"},path:{valType:"string",editType:"calc+arraydraw"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"arraydraw"},line:{color:v({},i.color,{editType:"arraydraw"}),width:v({},i.width,{editType:"calc+arraydraw"}),dash:v({},M,{editType:"arraydraw"}),editType:"calc+arraydraw"},fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},fillrule:{valType:"enumerated",values:["evenodd","nonzero"],dflt:"evenodd",editType:"arraydraw"},editable:{valType:"boolean",dflt:!1,editType:"calc+arraydraw"},label:{text:{valType:"string",dflt:"",editType:"arraydraw"},texttemplate:l({},{keys:Object.keys(a)}),font:g({editType:"calc+arraydraw",colorEditType:"arraydraw"}),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right","start","middle","end"],editType:"arraydraw"},textangle:{valType:"angle",dflt:"auto",editType:"calc+arraydraw"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto",editType:"calc+arraydraw"},yanchor:{valType:"enumerated",values:["top","middle","bottom"],editType:"calc+arraydraw"},padding:{valType:"number",dflt:3,min:0,editType:"arraydraw"},editType:"arraydraw"},editType:"arraydraw"})},5627:function(T,p,t){var d=t(71828),g=t(89298),i=t(21459),M=t(30477);function v(u){return l(u.line.width,u.xsizemode,u.x0,u.x1,u.path,!1)}function f(u){return l(u.line.width,u.ysizemode,u.y0,u.y1,u.path,!0)}function l(u,o,s,c,h,m){var w=u/2,y=m;if(o==="pixel"){var S=h?M.extractPathCoords(h,m?i.paramIsY:i.paramIsX):[s,c],_=d.aggNums(Math.max,null,S),k=d.aggNums(Math.min,null,S),E=k<0?Math.abs(k)+w:w,x=_>0?_+w:w;return{ppad:w,ppadplus:y?E:x,ppadminus:y?x:E}}return{ppad:w}}function a(u,o,s,c,h){var m=u.type==="category"||u.type==="multicategory"?u.r2c:u.d2c;if(o!==void 0)return[m(o),m(s)];if(c){var w,y,S,_,k=1/0,E=-1/0,x=c.match(i.segmentRE);for(u.type==="date"&&(m=M.decodeDate(m)),w=0;wE&&(E=_)));return E>=k?[k,E]:void 0}}T.exports=function(u){var o=u._fullLayout,s=d.filterVisible(o.shapes);if(s.length&&u._fullData.length)for(var c=0;c1&&(ye.length!==2||ye[1][0]!=="Z")&&(W===0&&(ye[0][0]="M"),A[N]=ye,O(),z())}}()}}function X(oe,ue){(function(ce,ye){if(A.length)for(var de=0;deSe?(fe=_e,Be="y0",be=Se,ze="y1"):(fe=Se,Be="y1",be=_e,ze="y0"),Je(Ne),ft(pe,de),function(Qe,ut,dt){var _t=ut.xref,It=ut.yref,Lt=M.getFromId(dt,_t),yt=M.getFromId(dt,It),Pt="";_t==="paper"||Lt.autorange||(Pt+=_t),It==="paper"||yt.autorange||(Pt+=It),u.setClipUrl(Qe,Pt?"clip"+dt._fullLayout._uid+Pt:null,dt)}(ye,de,ce),Ke.moveFn=Ee==="move"?qe:nt,Ke.altKey=Ne.altKey)},doneFn:function(){E(ce)||(c(ye),Re(pe),L(ye,ce,de),g.call("_guiRelayout",ce,xe.getUpdateObj()))},clickFn:function(){E(ce)||Re(pe)}};function Je(Ne){if(E(ce))Ee=null;else if(Ye)Ee=Ne.target.tagName==="path"?"move":Ne.target.attributes["data-line-point"].value==="start-point"?"resize-over-start-point":"resize-over-end-point";else{var Qe=Ke.element.getBoundingClientRect(),ut=Qe.right-Qe.left,dt=Qe.bottom-Qe.top,_t=Ne.clientX-Qe.left,It=Ne.clientY-Qe.top,Lt=!st&&ut>10&&dt>10&&!Ne.shiftKey?s.getCursor(_t/ut,1-It/dt):"move";c(ye,Lt),Ee=Lt.split("-")[0]}}function qe(Ne,Qe){if(de.type==="path"){var ut=function(It){return It},dt=ut,_t=ut;Ve?ot("xanchor",de.xanchor=Bt(Ce+Ne)):(dt=function(It){return Bt(Ft(It)+Ne)},bt&&bt.type==="date"&&(dt=w.encodeDate(dt))),$e?ot("yanchor",de.yanchor=qt(ae+Qe)):(_t=function(It){return qt(Ot(It)+Qe)},kt&&kt.type==="date"&&(_t=w.encodeDate(_t))),ot("path",de.path=R(we,dt,_t))}else Ve?ot("xanchor",de.xanchor=Bt(Ce+Ne)):(ot("x0",de.x0=Bt(Pe+Ne)),ot("x1",de.x1=Bt(Me+Ne))),$e?ot("yanchor",de.yanchor=qt(ae+Qe)):(ot("y0",de.y0=qt(_e+Qe)),ot("y1",de.y1=qt(Se+Qe)));ye.attr("d",y(ce,de)),ft(pe,de),b(ce,me,de,ht)}function nt(Ne,Qe){if(st){var ut=function(un){return un},dt=ut,_t=ut;Ve?ot("xanchor",de.xanchor=Bt(Ce+Ne)):(dt=function(un){return Bt(Ft(un)+Ne)},bt&&bt.type==="date"&&(dt=w.encodeDate(dt))),$e?ot("yanchor",de.yanchor=qt(ae+Qe)):(_t=function(un){return qt(Ot(un)+Qe)},kt&&kt.type==="date"&&(_t=w.encodeDate(_t))),ot("path",de.path=R(we,dt,_t))}else if(Ye){if(Ee==="resize-over-start-point"){var It=Pe+Ne,Lt=$e?_e-Qe:_e+Qe;ot("x0",de.x0=Ve?It:Bt(It)),ot("y0",de.y0=$e?Lt:qt(Lt))}else if(Ee==="resize-over-end-point"){var yt=Me+Ne,Pt=$e?Se-Qe:Se+Qe;ot("x1",de.x1=Ve?yt:Bt(yt)),ot("y1",de.y1=$e?Pt:qt(Pt))}}else{var wt=function(un){return Ee.indexOf(un)!==-1},Rt=wt("n"),Nt=wt("s"),Yt=wt("w"),Wt=wt("e"),Xt=Rt?fe+Qe:fe,Qt=Nt?be+Qe:be,rn=Yt?ke+Ne:ke,xn=Wt?Le+Ne:Le;$e&&(Rt&&(Xt=fe-Qe),Nt&&(Qt=be-Qe)),(!$e&&Qt-Xt>10||$e&&Xt-Qt>10)&&(ot(Be,de[Be]=$e?Xt:qt(Xt)),ot(ze,de[ze]=$e?Qt:qt(Qt))),xn-rn>10&&(ot(je,de[je]=Ve?rn:Bt(rn)),ot(ge,de[ge]=Ve?xn:Bt(xn)))}ye.attr("d",y(ce,de)),ft(pe,de),b(ce,me,de,ht)}function ft(Ne,Qe){(Ve||$e)&&function(){var ut=Qe.type!=="path",dt=Ne.selectAll(".visual-cue").data([0]);dt.enter().append("path").attr({fill:"#fff","fill-rule":"evenodd",stroke:"#000","stroke-width":1}).classed("visual-cue",!0);var _t=Ft(Ve?Qe.xanchor:i.midRange(ut?[Qe.x0,Qe.x1]:w.extractPathCoords(Qe.path,m.paramIsX))),It=Ot($e?Qe.yanchor:i.midRange(ut?[Qe.y0,Qe.y1]:w.extractPathCoords(Qe.path,m.paramIsY)));if(_t=w.roundPositionForSharpStrokeRendering(_t,1),It=w.roundPositionForSharpStrokeRendering(It,1),Ve&&$e){var Lt="M"+(_t-1-1)+","+(It-1-1)+"h-8v2h8 v8h2v-8 h8v-2h-8 v-8h-2 Z";dt.attr("d",Lt)}else if(Ve){var yt="M"+(_t-1-1)+","+(It-9-1)+"v18 h2 v-18 Z";dt.attr("d",yt)}else{var Pt="M"+(_t-9-1)+","+(It-1-1)+"h18 v2 h-18 Z";dt.attr("d",Pt)}}()}function Re(Ne){Ne.selectAll(".visual-cue").remove()}s.init(Ke),Vt.node().onmousemove=Je}(O,ie,B,z,j,Q):B.editable===!0&&ie.style("pointer-events",Z||a.opacity(q)*G<=.5?"stroke":"all");ie.node().addEventListener("click",function(){return function(ce,ye){if(x(ce)){var de=+ye.node().getAttribute("data-index");if(de>=0){if(de===ce._fullLayout._activeShapeIndex)return void I(ce);ce._fullLayout._activeShapeIndex=de,ce._fullLayout._deactivateShape=I,k(ce)}}}(O,ie)})}B._input&&B.visible!==!1&&(B.layer!=="below"?W(O._fullLayout._shapeUpperLayer):B.xref==="paper"||B.yref==="paper"?W(O._fullLayout._shapeLowerLayer):N._hadPlotinfo?W((N.mainplotinfo||N).shapelayer):W(O._fullLayout._shapeLowerLayer))}function L(O,z,F){var B=(F.xref+F.yref).replace(/paper/g,"").replace(/[xyz][1-9]* *domain/g,"");u.setClipUrl(O,B?"clip"+z._fullLayout._uid+B:null,z)}function b(O,z,F,B){if(B.selectAll(".shape-label").remove(),F.label.text||F.label.texttemplate){var N;if(F.label.texttemplate){var W={};if(F.type!=="path"){var j=M.getFromId(O,F.xref),$=M.getFromId(O,F.yref);for(var U in S){var G=S[U](F,j,$);G!==void 0&&(W[U]=G)}}N=i.texttemplateStringForShapes(F.label.texttemplate,{},O._fullLayout._d3locale,W)}else N=F.label.text;var q,H,ne,te,Z={"data-index":z},X=F.label.font,Q=B.append("g").attr(Z).classed("shape-label",!0).append("text").attr({"data-notex":1}).classed("shape-label-text",!0).text(N);if(F.path){var re=y(O,F),ie=v(re,O);q=1/0,ne=1/0,H=-1/0,te=-1/0;for(var oe=0;oe=Le?Be-je:je-Be,-180/Math.PI*Math.atan2(ge,we)}(q,ne,H,te):0),Q.call(function(Le){return Le.call(u.font,X).attr({}),h.convertToTspans(Le,O),Le});var ae=function(Le,Be,ze,je,ge,we,Ee){var Ve,$e,Ye,st,ot=ge.label.textposition,ht=ge.label.textangle,bt=ge.label.padding,Et=ge.type,kt=Math.PI/180*we,xt=Math.sin(kt),Ft=Math.cos(kt),Ot=ge.label.xanchor,Bt=ge.label.yanchor;if(Et==="line"){ot==="start"?(Ve=Le,$e=Be):ot==="end"?(Ve=ze,$e=je):(Ve=(Le+ze)/2,$e=(Be+je)/2),Ot==="auto"&&(Ot=ot==="start"?ht==="auto"?ze>Le?"left":zeLe?"right":zeLe?"right":zeLe?"left":ze=U||(j[N]?G=z(G):$[N]&&(G=F(G)),N++),G})})}function I(O){x(O)&&O._fullLayout._activeShapeIndex>=0&&(l(O),delete O._fullLayout._activeShapeIndex,k(O))}T.exports={draw:k,drawOne:A,eraseActiveShape:function(O){if(x(O)){l(O);var z=O._fullLayout._activeShapeIndex,F=(O.layout||{}).shapes||[];if(z0&&EZ&&(Q="X"),Q});return q>Z&&(X=X.replace(/[\s,]*X.*/,""),g.log("Ignoring extra params in segment "+G)),H+X})}(v,l,u);if(v.xsizemode==="pixel"){var E=l(v.xanchor);o=E+v.x0,s=E+v.x1}else o=l(v.x0),s=l(v.x1);if(v.ysizemode==="pixel"){var x=u(v.yanchor);c=x-v.y0,h=x-v.y1}else c=u(v.y0),h=u(v.y1);if(m==="line")return"M"+o+","+c+"L"+s+","+h;if(m==="rect")return"M"+o+","+c+"H"+s+"V"+h+"H"+o+"Z";var A=(o+s)/2,L=(c+h)/2,b=Math.abs(A-o),R=Math.abs(L-c),I="A"+b+","+R,O=A+b+","+L;return"M"+O+I+" 0 1,1 "+A+","+(L-R)+I+" 0 0,1 "+O+"Z"}},89853:function(T,p,t){var d=t(34031);T.exports={moduleType:"component",name:"shapes",layoutAttributes:t(89827),supplyLayoutDefaults:t(84726),supplyDrawNewShapeDefaults:t(45547),includeBasePlot:t(76325)("shapes"),calcAutorange:t(5627),draw:d.draw,drawOne:d.drawOne}},37281:function(T){function p(i,M){return M?M.d2l(i):i}function t(i,M){return M?M.l2d(i):i}function d(i,M){return p(i.x1,M)-p(i.x0,M)}function g(i,M,v){return p(i.y1,v)-p(i.y0,v)}T.exports={x0:function(i){return i.x0},x1:function(i){return i.x1},y0:function(i){return i.y0},y1:function(i){return i.y1},slope:function(i,M,v){return i.type!=="line"?void 0:g(i,0,v)/d(i,M)},dx:d,dy:g,width:function(i,M){return Math.abs(d(i,M))},height:function(i,M,v){return Math.abs(g(i,0,v))},length:function(i,M,v){return i.type!=="line"?void 0:Math.sqrt(Math.pow(d(i,M),2)+Math.pow(g(i,0,v),2))},xcenter:function(i,M){return t((p(i.x1,M)+p(i.x0,M))/2,M)},ycenter:function(i,M,v){return t((p(i.y1,v)+p(i.y0,v))/2,v)}}},75067:function(T,p,t){var d=t(41940),g=t(35025),i=t(1426).extendDeepAll,M=t(30962).overrideAll,v=t(85594),f=t(44467).templatedArray,l=t(98292),a=f("step",{visible:{valType:"boolean",dflt:!0},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle"},args:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},label:{valType:"string"},value:{valType:"string"},execute:{valType:"boolean",dflt:!0}});T.exports=M(f("slider",{visible:{valType:"boolean",dflt:!0},active:{valType:"number",min:0,dflt:0},steps:a,lenmode:{valType:"enumerated",values:["fraction","pixels"],dflt:"fraction"},len:{valType:"number",min:0,dflt:1},x:{valType:"number",min:-2,max:3,dflt:0},pad:i(g({editType:"arraydraw"}),{},{t:{dflt:20}}),xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left"},y:{valType:"number",min:-2,max:3,dflt:0},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top"},transition:{duration:{valType:"number",min:0,dflt:150},easing:{valType:"enumerated",values:v.transition.easing.values,dflt:"cubic-in-out"}},currentvalue:{visible:{valType:"boolean",dflt:!0},xanchor:{valType:"enumerated",values:["left","center","right"],dflt:"left"},offset:{valType:"number",dflt:10},prefix:{valType:"string"},suffix:{valType:"string"},font:d({})},font:d({}),activebgcolor:{valType:"color",dflt:l.gripBgActiveColor},bgcolor:{valType:"color",dflt:l.railBgColor},bordercolor:{valType:"color",dflt:l.railBorderColor},borderwidth:{valType:"number",min:0,dflt:l.railBorderWidth},ticklen:{valType:"number",min:0,dflt:l.tickLength},tickcolor:{valType:"color",dflt:l.tickColor},tickwidth:{valType:"number",min:0,dflt:1},minorticklen:{valType:"number",min:0,dflt:l.minorTickLength}}),"arraydraw","from-root")},98292:function(T){T.exports={name:"sliders",containerClassName:"slider-container",groupClassName:"slider-group",inputAreaClass:"slider-input-area",railRectClass:"slider-rail-rect",railTouchRectClass:"slider-rail-touch-rect",gripRectClass:"slider-grip-rect",tickRectClass:"slider-tick-rect",inputProxyClass:"slider-input-proxy",labelsClass:"slider-labels",labelGroupClass:"slider-label-group",labelClass:"slider-label",currentValueClass:"slider-current-value",railHeight:5,menuIndexAttrName:"slider-active-index",autoMarginIdRoot:"slider-",minWidth:30,minHeight:30,textPadX:40,arrowOffsetX:4,railRadius:2,railWidth:5,railBorder:4,railBorderWidth:1,railBorderColor:"#bec8d9",railBgColor:"#f8fafc",railInset:8,stepInset:10,gripRadius:10,gripWidth:20,gripHeight:20,gripBorder:20,gripBorderWidth:1,gripBorderColor:"#bec8d9",gripBgColor:"#f6f8fa",gripBgActiveColor:"#dbdde0",labelPadding:8,labelOffset:0,tickWidth:1,tickColor:"#333",tickOffset:25,tickLength:7,minorTickOffset:25,minorTickColor:"#333",minorTickLength:4,currentValuePadding:8,currentValueInset:0}},12343:function(T,p,t){var d=t(71828),g=t(85501),i=t(75067),M=t(98292).name,v=i.steps;function f(a,u,o){function s(y,S){return d.coerce(a,u,i,y,S)}for(var c=g(a,u,{name:"steps",handleItemDefaults:l}),h=0,m=0;m0&&(q=q.transition().duration(N.transition.duration).ease(N.transition.easing)),q.attr("transform",f(G-.5*u.gripWidth,N._dims.currentValueTotalHeight))}}function I(B,N){var W=B._dims;return W.inputAreaStart+u.stepInset+(W.inputAreaLength-2*u.stepInset)*Math.min(1,Math.max(0,N))}function O(B,N){var W=B._dims;return Math.min(1,Math.max(0,(N-u.stepInset-W.inputAreaStart)/(W.inputAreaLength-2*u.stepInset-2*W.inputAreaStart)))}function z(B,N,W){var j=W._dims,$=v.ensureSingle(B,"rect",u.railTouchRectClass,function(U){U.call(L,N,B,W).style("pointer-events","all")});$.attr({width:j.inputAreaLength,height:Math.max(j.inputAreaWidth,u.tickOffset+W.ticklen+j.labelHeight)}).call(i.fill,W.bgcolor).attr("opacity",0),M.setTranslate($,0,j.currentValueTotalHeight)}function F(B,N){var W=N._dims,j=W.inputAreaLength-2*u.railInset,$=v.ensureSingle(B,"rect",u.railRectClass);$.attr({width:j,height:u.railWidth,rx:u.railRadius,ry:u.railRadius,"shape-rendering":"crispEdges"}).call(i.stroke,N.bordercolor).call(i.fill,N.bgcolor).style("stroke-width",N.borderwidth+"px"),M.setTranslate($,u.railInset,.5*(W.inputAreaWidth-u.railWidth)+W.currentValueTotalHeight)}T.exports=function(B){var N=B._context.staticPlot,W=B._fullLayout,j=function(ne,te){for(var Z=ne[u.name],X=[],Q=0;Q0?[0]:[]);function U(ne){ne._commandObserver&&(ne._commandObserver.remove(),delete ne._commandObserver),g.autoMargin(B,m(ne))}if($.enter().append("g").classed(u.containerClassName,!0).style("cursor",N?null:"ew-resize"),$.exit().each(function(){d.select(this).selectAll("g."+u.groupClassName).each(U)}).remove(),j.length!==0){var G=$.selectAll("g."+u.groupClassName).data(j,w);G.enter().append("g").classed(u.groupClassName,!0),G.exit().each(U).remove();for(var q=0;q0||xe<0){var Se={left:[-Pe,0],right:[Pe,0],top:[0,-Pe],bottom:[0,Pe]}[x.side];X.attr("transform",f(Se[0],Se[1]))}}}return q.call(H),$&&(F?q.on(".opacity",null):(I=0,O=!0,q.text(k).on("mouseover.opacity",function(){d.select(this).transition().duration(o.SHOW_PLACEHOLDER).style("opacity",1)}).on("mouseout.opacity",function(){d.select(this).transition().duration(o.HIDE_PLACEHOLDER).style("opacity",0)})),q.call(u.makeEditable,{gd:h}).on("edit",function(Z){E!==void 0?M.call("_guiRestyle",h,_,Z,E):M.call("_guiRelayout",h,_,Z)}).on("cancel",function(){this.text(this.attr("data-unformatted")).call(H)}).on("input",function(Z){this.text(Z||" ").call(u.positionText,A.x,A.y)})),q.classed("js-placeholder",O),b}}},7163:function(T,p,t){var d=t(41940),g=t(22399),i=t(1426).extendFlat,M=t(30962).overrideAll,v=t(35025),f=t(44467).templatedArray,l=f("button",{visible:{valType:"boolean"},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle"},args:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},args2:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},label:{valType:"string",dflt:""},execute:{valType:"boolean",dflt:!0}});T.exports=M(f("updatemenu",{_arrayAttrRegexps:[/^updatemenus\[(0|[1-9][0-9]+)\]\.buttons/],visible:{valType:"boolean"},type:{valType:"enumerated",values:["dropdown","buttons"],dflt:"dropdown"},direction:{valType:"enumerated",values:["left","right","up","down"],dflt:"down"},active:{valType:"integer",min:-1,dflt:0},showactive:{valType:"boolean",dflt:!0},buttons:l,x:{valType:"number",min:-2,max:3,dflt:-.05},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"right"},y:{valType:"number",min:-2,max:3,dflt:1},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top"},pad:i(v({editType:"arraydraw"}),{}),font:d({}),bgcolor:{valType:"color"},bordercolor:{valType:"color",dflt:g.borderLine},borderwidth:{valType:"number",min:0,dflt:1,editType:"arraydraw"}}),"arraydraw","from-root")},75909:function(T){T.exports={name:"updatemenus",containerClassName:"updatemenu-container",headerGroupClassName:"updatemenu-header-group",headerClassName:"updatemenu-header",headerArrowClassName:"updatemenu-header-arrow",dropdownButtonGroupClassName:"updatemenu-dropdown-button-group",dropdownButtonClassName:"updatemenu-dropdown-button",buttonClassName:"updatemenu-button",itemRectClassName:"updatemenu-item-rect",itemTextClassName:"updatemenu-item-text",menuIndexAttrName:"updatemenu-active-index",autoMarginIdRoot:"updatemenu-",blankHeaderOpts:{label:" "},minWidth:30,minHeight:30,textPadX:24,arrowPadX:16,rx:2,ry:2,textOffsetX:12,textOffsetY:3,arrowOffsetX:4,gapButtonHeader:5,gapButton:2,activeColor:"#F4FAFF",hoverColor:"#F4FAFF",arrowSymbol:{left:"◄",right:"►",up:"▲",down:"▼"}}},64897:function(T,p,t){var d=t(71828),g=t(85501),i=t(7163),M=t(75909).name,v=i.buttons;function f(a,u,o){function s(c,h){return d.coerce(a,u,i,c,h)}s("visible",g(a,u,{name:"buttons",handleItemDefaults:l}).length>0)&&(s("active"),s("direction"),s("type"),s("showactive"),s("x"),s("y"),d.noneOrAll(a,u,["x","y"]),s("xanchor"),s("yanchor"),s("pad.t"),s("pad.r"),s("pad.b"),s("pad.l"),d.coerceFont(s,"font",o.font),s("bgcolor",o.paper_bgcolor),s("bordercolor"),s("borderwidth"))}function l(a,u){function o(s,c){return d.coerce(a,u,v,s,c)}o("visible",a.method==="skip"||Array.isArray(a.args))&&(o("method"),o("args"),o("args2"),o("label"),o("execute"))}T.exports=function(a,u){g(a,u,{name:M,handleItemDefaults:f})}},13689:function(T,p,t){var d=t(39898),g=t(74875),i=t(7901),M=t(91424),v=t(71828),f=t(63893),l=t(44467).arrayEditor,a=t(18783).LINE_SPACING,u=t(75909),o=t(25849);function s(I){return I._index}function c(I,O){return+I.attr(u.menuIndexAttrName)===O._index}function h(I,O,z,F,B,N,W,j){O.active=W,l(I.layout,u.name,O).applyUpdate("active",W),O.type==="buttons"?w(I,F,null,null,O):O.type==="dropdown"&&(B.attr(u.menuIndexAttrName,"-1"),m(I,F,B,N,O),j||w(I,F,B,N,O))}function m(I,O,z,F,B){var N=v.ensureSingle(O,"g",u.headerClassName,function(q){q.style("pointer-events","all")}),W=B._dims,j=B.active,$=B.buttons[j]||u.blankHeaderOpts,U={y:B.pad.t,yPad:0,x:B.pad.l,xPad:0,index:0},G={width:W.headerWidth,height:W.headerHeight};N.call(y,B,$,I).call(b,B,U,G),v.ensureSingle(O,"text",u.headerArrowClassName,function(q){q.attr("text-anchor","end").call(M.font,B.font).text(u.arrowSymbol[B.direction])}).attr({x:W.headerWidth-u.arrowOffsetX+B.pad.l,y:W.headerHeight/2+u.textOffsetY+B.pad.t}),N.on("click",function(){z.call(R,String(c(z,B)?-1:B._index)),w(I,O,z,F,B)}),N.on("mouseover",function(){N.call(E)}),N.on("mouseout",function(){N.call(x,B)}),M.setTranslate(O,W.lx,W.ly)}function w(I,O,z,F,B){z||(z=O).attr("pointer-events","all");var N=function(X){return+X.attr(u.menuIndexAttrName)==-1}(z)&&B.type!=="buttons"?[]:B.buttons,W=B.type==="dropdown"?u.dropdownButtonClassName:u.buttonClassName,j=z.selectAll("g."+W).data(v.filterVisible(N)),$=j.enter().append("g").classed(W,!0),U=j.exit();B.type==="dropdown"?($.attr("opacity","0").transition().attr("opacity","1"),U.transition().attr("opacity","0").remove()):U.remove();var G=0,q=0,H=B._dims,ne=["up","down"].indexOf(B.direction)!==-1;B.type==="dropdown"&&(ne?q=H.headerHeight+u.gapButtonHeader:G=H.headerWidth+u.gapButtonHeader),B.type==="dropdown"&&B.direction==="up"&&(q=-u.gapButtonHeader+u.gapButton-H.openHeight),B.type==="dropdown"&&B.direction==="left"&&(G=-u.gapButtonHeader+u.gapButton-H.openWidth);var te={x:H.lx+G+B.pad.l,y:H.ly+q+B.pad.t,yPad:u.gapButton,xPad:u.gapButton,index:0},Z={l:te.x+B.borderwidth,t:te.y+B.borderwidth};j.each(function(X,Q){var re=d.select(this);re.call(y,B,X,I).call(b,B,te),re.on("click",function(){d.event.defaultPrevented||(X.execute&&(X.args2&&B.active===Q?(h(I,B,0,O,z,F,-1),g.executeAPICommand(I,X.method,X.args2)):(h(I,B,0,O,z,F,Q),g.executeAPICommand(I,X.method,X.args))),I.emit("plotly_buttonclicked",{menu:B,button:X,active:B.active}))}),re.on("mouseover",function(){re.call(E)}),re.on("mouseout",function(){re.call(x,B),j.call(k,B)})}),j.call(k,B),ne?(Z.w=Math.max(H.openWidth,H.headerWidth),Z.h=te.y-Z.t):(Z.w=te.x-Z.l,Z.h=Math.max(H.openHeight,H.headerHeight)),Z.direction=B.direction,F&&(j.size()?function(X,Q,re,ie,oe,ue){var ce,ye,de,me=oe.direction,pe=me==="up"||me==="down",xe=oe._dims,Pe=oe.active;if(pe)for(ye=0,de=0;de0?[0]:[]);if(B.enter().append("g").classed(u.containerClassName,!0).style("cursor","pointer"),B.exit().each(function(){d.select(this).selectAll("g."+u.headerGroupClassName).each(F)}).remove(),z.length!==0){var N=B.selectAll("g."+u.headerGroupClassName).data(z,s);N.enter().append("g").classed(u.headerGroupClassName,!0);for(var W=v.ensureSingle(B,"g",u.dropdownButtonGroupClassName,function(q){q.style("pointer-events","all")}),j=0;jb,O=v.barLength+2*v.barPad,z=v.barWidth+2*v.barPad,F=y,B=_+k;B+z>s&&(B=s-z);var N=this.container.selectAll("rect.scrollbar-horizontal").data(I?[0]:[]);N.exit().on(".drag",null).remove(),N.enter().append("rect").classed("scrollbar-horizontal",!0).call(g.fill,v.barColor),I?(this.hbar=N.attr({rx:v.barRadius,ry:v.barRadius,x:F,y:B,width:O,height:z}),this._hbarXMin=F+O/2,this._hbarTranslateMax=b-O):(delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax);var W=k>R,j=v.barWidth+2*v.barPad,$=v.barLength+2*v.barPad,U=y+S,G=_;U+j>o&&(U=o-j);var q=this.container.selectAll("rect.scrollbar-vertical").data(W?[0]:[]);q.exit().on(".drag",null).remove(),q.enter().append("rect").classed("scrollbar-vertical",!0).call(g.fill,v.barColor),W?(this.vbar=q.attr({rx:v.barRadius,ry:v.barRadius,x:U,y:G,width:j,height:$}),this._vbarYMin=G+$/2,this._vbarTranslateMax=R-$):(delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax);var H=this.id,ne=c-.5,te=W?h+j+.5:h+.5,Z=m-.5,X=I?w+z+.5:w+.5,Q=u._topdefs.selectAll("#"+H).data(I||W?[0]:[]);if(Q.exit().remove(),Q.enter().append("clipPath").attr("id",H).append("rect"),I||W?(this._clipRect=Q.select("rect").attr({x:Math.floor(ne),y:Math.floor(Z),width:Math.ceil(te)-Math.floor(ne),height:Math.ceil(X)-Math.floor(Z)}),this.container.call(i.setClipUrl,H,this.gd),this.bg.attr({x:y,y:_,width:S,height:k})):(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(i.setClipUrl,null),delete this._clipRect),I||W){var re=d.behavior.drag().on("dragstart",function(){d.event.sourceEvent.preventDefault()}).on("drag",this._onBoxDrag.bind(this));this.container.on("wheel",null).on("wheel",this._onBoxWheel.bind(this)).on(".drag",null).call(re);var ie=d.behavior.drag().on("dragstart",function(){d.event.sourceEvent.preventDefault(),d.event.sourceEvent.stopPropagation()}).on("drag",this._onBarDrag.bind(this));I&&this.hbar.on(".drag",null).call(ie),W&&this.vbar.on(".drag",null).call(ie)}this.setTranslate(l,a)},v.prototype.disable=function(){(this.hbar||this.vbar)&&(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(i.setClipUrl,null),delete this._clipRect),this.hbar&&(this.hbar.on(".drag",null),this.hbar.remove(),delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax),this.vbar&&(this.vbar.on(".drag",null),this.vbar.remove(),delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax)},v.prototype._onBoxDrag=function(){var f=this.translateX,l=this.translateY;this.hbar&&(f-=d.event.dx),this.vbar&&(l-=d.event.dy),this.setTranslate(f,l)},v.prototype._onBoxWheel=function(){var f=this.translateX,l=this.translateY;this.hbar&&(f+=d.event.deltaY),this.vbar&&(l+=d.event.deltaY),this.setTranslate(f,l)},v.prototype._onBarDrag=function(){var f=this.translateX,l=this.translateY;if(this.hbar){var a=f+this._hbarXMin,u=a+this._hbarTranslateMax;f=(M.constrain(d.event.x,a,u)-a)/(u-a)*(this.position.w-this._box.w)}if(this.vbar){var o=l+this._vbarYMin,s=o+this._vbarTranslateMax;l=(M.constrain(d.event.y,o,s)-o)/(s-o)*(this.position.h-this._box.h)}this.setTranslate(f,l)},v.prototype.setTranslate=function(f,l){var a=this.position.w-this._box.w,u=this.position.h-this._box.h;if(f=M.constrain(f||0,0,a),l=M.constrain(l||0,0,u),this.translateX=f,this.translateY=l,this.container.call(i.setTranslate,this._box.l-this.position.l-f,this._box.t-this.position.t-l),this._clipRect&&this._clipRect.attr({x:Math.floor(this.position.l+f-.5),y:Math.floor(this.position.t+l-.5)}),this.hbar){var o=f/a;this.hbar.call(i.setTranslate,f+o*this._hbarTranslateMax,l)}if(this.vbar){var s=l/u;this.vbar.call(i.setTranslate,f,l+s*this._vbarTranslateMax)}}},18783:function(T){T.exports={FROM_BL:{left:0,center:.5,right:1,bottom:0,middle:.5,top:1},FROM_TL:{left:0,center:.5,right:1,bottom:1,middle:.5,top:0},FROM_BR:{left:1,center:.5,right:0,bottom:0,middle:.5,top:1},LINE_SPACING:1.3,CAP_SHIFT:.7,MID_SHIFT:.35,OPPOSITE_SIDE:{left:"right",right:"left",top:"bottom",bottom:"top"}}},24695:function(T){T.exports={axisRefDescription:function(p,t,d){return["If set to a",p,"axis id (e.g. *"+p+"* or","*"+p+"2*), the `"+p+"` position refers to a",p,"coordinate. If set to *paper*, the `"+p+"`","position refers to the distance from the",t,"of the plotting","area in normalized coordinates where *0* (*1*) corresponds to the",t,"("+d+"). If set to a",p,"axis ID followed by","*domain* (separated by a space), the position behaves like for","*paper*, but refers to the distance in fractions of the domain","length from the",t,"of the domain of that axis: e.g.,","*"+p+"2 domain* refers to the domain of the second",p," axis and a",p,"position of 0.5 refers to the","point between the",t,"and the",d,"of the domain of the","second",p,"axis."].join(" ")}}},22372:function(T){T.exports={INCREASING:{COLOR:"#3D9970",SYMBOL:"▲"},DECREASING:{COLOR:"#FF4136",SYMBOL:"▼"}}},31562:function(T){T.exports={FORMAT_LINK:"https://github.com/d3/d3-format/tree/v1.4.5#d3-format",DATE_FORMAT_LINK:"https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format"}},74808:function(T){T.exports={COMPARISON_OPS:["=","!=","<",">=",">","<="],COMPARISON_OPS2:["=","<",">=",">","<="],INTERVAL_OPS:["[]","()","[)","(]","][",")(","](",")["],SET_OPS:["{}","}{"],CONSTRAINT_REDUCTION:{"=":"=","<":"<","<=":"<",">":">",">=":">","[]":"[]","()":"[]","[)":"[]","(]":"[]","][":"][",")(":"][","](":"][",")[":"]["}}},29659:function(T){T.exports={solid:[[],0],dot:[[.5,1],200],dash:[[.5,1],50],longdash:[[.5,1],10],dashdot:[[.5,.625,.875,1],50],longdashdot:[[.5,.7,.8,1],10]}},87381:function(T){T.exports={circle:"●","circle-open":"○",square:"■","square-open":"□",diamond:"◆","diamond-open":"◇",cross:"+",x:"❌"}},37822:function(T){T.exports={SHOW_PLACEHOLDER:100,HIDE_PLACEHOLDER:1e3,DESELECTDIM:.2}},50606:function(T){T.exports={BADNUM:void 0,FP_SAFE:1e-4*Number.MAX_VALUE,ONEMAXYEAR:316224e5,ONEAVGYEAR:315576e5,ONEMINYEAR:31536e6,ONEMAXQUARTER:79488e5,ONEAVGQUARTER:78894e5,ONEMINQUARTER:76896e5,ONEMAXMONTH:26784e5,ONEAVGMONTH:26298e5,ONEMINMONTH:24192e5,ONEWEEK:6048e5,ONEDAY:864e5,ONEHOUR:36e5,ONEMIN:6e4,ONESEC:1e3,EPOCHJD:24405875e-1,ALMOST_EQUAL:.999999,LOG_CLIP:10,MINUS_SIGN:"−"}},77922:function(T,p){p.xmlns="http://www.w3.org/2000/xmlns/",p.svg="http://www.w3.org/2000/svg",p.xlink="http://www.w3.org/1999/xlink",p.svgAttrs={xmlns:p.svg,"xmlns:xlink":p.xlink}},8729:function(T,p,t){p.version=t(11506).version,t(7417),t(98847);for(var d=t(73972),g=p.register=d.register,i=t(10641),M=Object.keys(i),v=0;v",""," ",""," plotly-logomark"," "," "," "," "," "," "," "," "," "," "," "," "," ",""].join("")}}},99863:function(T,p){p.isLeftAnchor=function(t){return t.xanchor==="left"||t.xanchor==="auto"&&t.x<=.3333333333333333},p.isCenterAnchor=function(t){return t.xanchor==="center"||t.xanchor==="auto"&&t.x>.3333333333333333&&t.x<.6666666666666666},p.isRightAnchor=function(t){return t.xanchor==="right"||t.xanchor==="auto"&&t.x>=.6666666666666666},p.isTopAnchor=function(t){return t.yanchor==="top"||t.yanchor==="auto"&&t.y>=.6666666666666666},p.isMiddleAnchor=function(t){return t.yanchor==="middle"||t.yanchor==="auto"&&t.y>.3333333333333333&&t.y<.6666666666666666},p.isBottomAnchor=function(t){return t.yanchor==="bottom"||t.yanchor==="auto"&&t.y<=.3333333333333333}},26348:function(T,p,t){var d=t(64872),g=d.mod,i=d.modHalf,M=Math.PI,v=2*M;function f(o){return Math.abs(o[1]-o[0])>v-1e-14}function l(o,s){return i(s-o,v)}function a(o,s){if(f(s))return!0;var c,h;s[0](h=g(h,v))&&(h+=v);var m=g(o,v),w=m+v;return m>=c&&m<=h||w>=c&&w<=h}function u(o,s,c,h,m,w,y){m=m||0,w=w||0;var S,_,k,E,x,A=f([c,h]);function L(O,z){return[O*Math.cos(z)+m,w-O*Math.sin(z)]}A?(S=0,_=M,k=v):c=m&&o<=w);var m,w},pathArc:function(o,s,c,h,m){return u(null,o,s,c,h,m,0)},pathSector:function(o,s,c,h,m){return u(null,o,s,c,h,m,1)},pathAnnulus:function(o,s,c,h,m,w){return u(o,s,c,h,m,w,1)}}},73627:function(T,p){var t=Array.isArray,d=ArrayBuffer,g=DataView;function i(f){return d.isView(f)&&!(f instanceof g)}function M(f){return t(f)||i(f)}function v(f,l,a){if(M(f)){if(M(f[0])){for(var u=a,o=0;ow.max?h.set(m):h.set(+c)}},integer:{coerceFunction:function(c,h,m,w){c%1||!d(c)||w.min!==void 0&&cw.max?h.set(m):h.set(+c)}},string:{coerceFunction:function(c,h,m,w){if(typeof c!="string"){var y=typeof c=="number";w.strict!==!0&&y?h.set(String(c)):h.set(m)}else w.noBlank&&!c?h.set(m):h.set(c)}},color:{coerceFunction:function(c,h,m){g(c).isValid()?h.set(c):h.set(m)}},colorlist:{coerceFunction:function(c,h,m){Array.isArray(c)&&c.length&&c.every(function(w){return g(w).isValid()})?h.set(c):h.set(m)}},colorscale:{coerceFunction:function(c,h,m){h.set(M.get(c,m))}},angle:{coerceFunction:function(c,h,m){c==="auto"?h.set("auto"):d(c)?h.set(u(+c,360)):h.set(m)}},subplotid:{coerceFunction:function(c,h,m,w){var y=w.regex||a(m);typeof c=="string"&&y.test(c)?h.set(c):h.set(m)},validateFunction:function(c,h){var m=h.dflt;return c===m||typeof c=="string"&&!!a(m).test(c)}},flaglist:{coerceFunction:function(c,h,m,w){if((w.extras||[]).indexOf(c)===-1)if(typeof c=="string"){for(var y=c.split("+"),S=0;S=d&&N<=g?N:a}if(typeof N!="string"&&typeof N!="number")return a;N=String(N);var G=k(W),q=N.charAt(0);!G||q!=="G"&&q!=="g"||(N=N.substr(1),W="");var H=G&&W.substr(0,7)==="chinese",ne=N.match(H?S:y);if(!ne)return a;var te=ne[1],Z=ne[3]||"1",X=Number(ne[5]||1),Q=Number(ne[7]||0),re=Number(ne[9]||0),ie=Number(ne[11]||0);if(G){if(te.length===2)return a;var oe;te=Number(te);try{var ue=m.getComponentMethod("calendars","getCal")(W);if(H){var ce=Z.charAt(Z.length-1)==="i";Z=parseInt(Z,10),oe=ue.newDate(te,ue.toMonthIndex(te,Z,ce),X)}else oe=ue.newDate(te,Number(Z),X)}catch{return a}return oe?(oe.toJD()-h)*u+Q*o+re*s+ie*c:a}te=te.length===2?(Number(te)+2e3-_)%100+_:Number(te),Z-=1;var ye=new Date(Date.UTC(2e3,Z,X,Q,re));return ye.setUTCFullYear(te),ye.getUTCMonth()!==Z||ye.getUTCDate()!==X?a:ye.getTime()+ie*c},d=p.MIN_MS=p.dateTime2ms("-9999"),g=p.MAX_MS=p.dateTime2ms("9999-12-31 23:59:59.9999"),p.isDateTime=function(N,W){return p.dateTime2ms(N,W)!==a};var x=90*u,A=3*o,L=5*s;function b(N,W,j,$,U){if((W||j||$||U)&&(N+=" "+E(W,2)+":"+E(j,2),($||U)&&(N+=":"+E($,2),U))){for(var G=4;U%10==0;)G-=1,U/=10;N+="."+E(U,G)}return N}p.ms2DateTime=function(N,W,j){if(typeof N!="number"||!(N>=d&&N<=g))return a;W||(W=0);var $,U,G,q,H,ne,te=Math.floor(10*f(N+.05,1)),Z=Math.round(N-te/10);if(k(j)){var X=Math.floor(Z/u)+h,Q=Math.floor(f(N,u));try{$=m.getComponentMethod("calendars","getCal")(j).fromJD(X).formatDate("yyyy-mm-dd")}catch{$=w("G%Y-%m-%d")(new Date(Z))}if($.charAt(0)==="-")for(;$.length<11;)$="-0"+$.substr(1);else for(;$.length<10;)$="0"+$;U=W=d+u&&N<=g-u))return a;var W=Math.floor(10*f(N+.05,1)),j=new Date(Math.round(N-W/10));return b(i("%Y-%m-%d")(j),j.getHours(),j.getMinutes(),j.getSeconds(),10*j.getUTCMilliseconds()+W)},p.cleanDate=function(N,W,j){if(N===a)return W;if(p.isJSDate(N)||typeof N=="number"&&isFinite(N)){if(k(j))return v.error("JS Dates and milliseconds are incompatible with world calendars",N),W;if(!(N=p.ms2DateTimeLocal(+N))&&W!==void 0)return W}else if(!p.isDateTime(N,j))return v.error("unrecognized date",N),W;return N};var R=/%\d?f/g,I=/%h/g,O={1:"1",2:"1",3:"2",4:"2"};function z(N,W,j,$){N=N.replace(R,function(G){var q=Math.min(+G.charAt(1)||6,6);return(W/1e3%1+2).toFixed(q).substr(2).replace(/0+$/,"")||"0"});var U=new Date(Math.floor(W+.05));if(N=N.replace(I,function(){return O[j("%q")(U)]}),k($))try{N=m.getComponentMethod("calendars","worldCalFmt")(N,W,$)}catch{return"Invalid"}return j(N)(U)}var F=[59,59.9,59.99,59.999,59.9999];p.formatDate=function(N,W,j,$,U,G){if(U=k(U)&&U,!W)if(j==="y")W=G.year;else if(j==="m")W=G.month;else{if(j!=="d")return function(q,H){var ne=f(q+.05,u),te=E(Math.floor(ne/o),2)+":"+E(f(Math.floor(ne/s),60),2);if(H!=="M"){M(H)||(H=0);var Z=(100+Math.min(f(q/c,60),F[H])).toFixed(H).substr(1);H>0&&(Z=Z.replace(/0+$/,"").replace(/[\.]$/,"")),te+=":"+Z}return te}(N,j)+` -`+z(G.dayMonthYear,N,$,U);W=G.dayMonth+` -`+G.year}return z(W,N,$,U)};var B=3*u;p.incrementMonth=function(N,W,j){j=k(j)&&j;var $=f(N,u);if(N=Math.round(N-$),j)try{var U=Math.round(N/u)+h,G=m.getComponentMethod("calendars","getCal")(j),q=G.fromJD(U);return W%12?G.add(q,W,"m"):G.add(q,W/12,"y"),(q.toJD()-h)*u+$}catch{v.error("invalid ms "+N+" in calendar "+j)}var H=new Date(N+B);return H.setUTCMonth(H.getUTCMonth()+W)+$-B},p.findExactDates=function(N,W){for(var j,$,U=0,G=0,q=0,H=0,ne=k(W)&&m.getComponentMethod("calendars","getCal")(W),te=0;te0&&b[R+1][0]<0)return R;return null}switch(w=x==="RUS"||x==="FJI"?function(b){var R;if(L(b)===null)R=b;else for(R=new Array(b.length),_=0;_R?I[O++]=[b[_][0]+360,b[_][1]]:_===R?(I[O++]=b[_],I[O++]=[b[_][0],-90]):I[O++]=b[_];var z=o.tester(I);z.pts.pop(),A.push(z)}:function(b){A.push(o.tester(b))},k.type){case"MultiPolygon":for(y=0;yj&&(j=G,B=U)}else B=N;return M.default(B).geometry.coordinates}(z),I.fIn=b,I.fOut=z,k.push(z)}else l.log(["Location",I.loc,"does not have a valid GeoJSON geometry.","Traces with locationmode *geojson-id* only support","*Polygon* and *MultiPolygon* geometries."].join(" "))}delete _[R]}switch(y.type){case"FeatureCollection":var A=y.features;for(S=0;S100?(clearInterval(R),L("Unexpected error while fetching from "+x)):void b++},50)})}for(var k=0;k0&&(M.push(v),v=[])}return v.length>0&&M.push(v),M},p.makeLine=function(g){return g.length===1?{type:"LineString",coordinates:g[0]}:{type:"MultiLineString",coordinates:g}},p.makePolygon=function(g){if(g.length===1)return{type:"Polygon",coordinates:g};for(var i=new Array(g.length),M=0;M1||A<0||A>1?null:{x:l+w*A,y:a+_*A}}function f(l,a,u,o,s){var c=o*l+s*a;if(c<0)return o*o+s*s;if(c>u){var h=o-l,m=s-a;return h*h+m*m}var w=o*a-s*l;return w*w/u}p.segmentsIntersect=v,p.segmentDistance=function(l,a,u,o,s,c,h,m){if(v(l,a,u,o,s,c,h,m))return 0;var w=u-l,y=o-a,S=h-s,_=m-c,k=w*w+y*y,E=S*S+_*_,x=Math.min(f(w,y,k,s-l,c-a),f(w,y,k,h-l,m-a),f(S,_,E,l-s,a-c),f(S,_,E,u-s,o-c));return Math.sqrt(x)},p.getTextLocation=function(l,a,u,o){if(l===g&&o===i||(d={},g=l,i=o),d[u])return d[u];var s=l.getPointAtLength(M(u-o/2,a)),c=l.getPointAtLength(M(u+o/2,a)),h=Math.atan((c.y-s.y)/(c.x-s.x)),m=l.getPointAtLength(M(u,a)),w={x:(4*m.x+s.x+c.x)/6,y:(4*m.y+s.y+c.y)/6,theta:h};return d[u]=w,w},p.clearLocationCache=function(){g=null},p.getVisibleSegment=function(l,a,u){var o,s,c=a.left,h=a.right,m=a.top,w=a.bottom,y=0,S=l.getTotalLength(),_=S;function k(x){var A=l.getPointAtLength(x);x===0?o=A:x===S&&(s=A);var L=A.xh?A.x-h:0,b=A.yw?A.y-w:0;return Math.sqrt(L*L+b*b)}for(var E=k(y);E;){if((y+=E+u)>_)return;E=k(y)}for(E=k(_);E;){if(y>(_-=E+u))return;E=k(_)}return{min:y,max:_,len:_-y,total:S,isClosed:y===0&&_===S&&Math.abs(o.x-s.x)<.1&&Math.abs(o.y-s.y)<.1}},p.findPointOnPath=function(l,a,u,o){for(var s,c,h,m=(o=o||{}).pathLength||l.getTotalLength(),w=o.tolerance||.001,y=o.iterationLimit||30,S=l.getPointAtLength(0)[u]>l.getPointAtLength(m)[u]?-1:1,_=0,k=0,E=m;_0?E=s:k=s,_++}return c}},81697:function(T,p,t){var d=t(92770),g=t(84267),i=t(25075),M=t(21081),v=t(22399).defaultLine,f=t(73627).isArrayOrTypedArray,l=i(v);function a(s,c){var h=s;return h[3]*=c,h}function u(s){if(d(s))return l;var c=i(s);return c.length?c:l}function o(s){return d(s)?s:1}T.exports={formatColor:function(s,c,h){var m,w,y,S,_,k=s.color,E=f(k),x=f(c),A=M.extractOpts(s),L=[];if(m=A.colorscale!==void 0?M.makeColorScaleFuncFromTrace(s):u,w=E?function(R,I){return R[I]===void 0?l:i(m(R[I]))}:u,y=x?function(R,I){return R[I]===void 0?1:o(R[I])}:o,E||x)for(var b=0;b1?(d*p+d*t)/d:p+t,i=String(g).length;if(i>16){var M=String(t).length;if(i>=String(p).length+M){var v=parseFloat(g).toPrecision(12);v.indexOf("e+")===-1&&(g=+v)}}return g}},71828:function(T,p,t){var d=t(39898),g=t(84096).g0,i=t(60721).WU,M=t(92770),v=t(50606),f=v.FP_SAFE,l=-f,a=v.BADNUM,u=T.exports={};u.adjustFormat=function(Q){return!Q||/^\d[.]\df/.test(Q)||/[.]\d%/.test(Q)?Q:Q==="0.f"?"~f":/^\d%/.test(Q)?"~%":/^\ds/.test(Q)?"~s":!/^[~,.0$]/.test(Q)&&/[&fps]/.test(Q)?"~"+Q:Q};var o={};u.warnBadFormat=function(Q){var re=String(Q);o[re]||(o[re]=1,u.warn('encountered bad format: "'+re+'"'))},u.noFormat=function(Q){return String(Q)},u.numberFormat=function(Q){var re;try{re=i(u.adjustFormat(Q))}catch{return u.warnBadFormat(Q),u.noFormat}return re},u.nestedProperty=t(65487),u.keyedContainer=t(66636),u.relativeAttr=t(6962),u.isPlainObject=t(41965),u.toLogRange=t(58163),u.relinkPrivateKeys=t(51332);var s=t(73627);u.isTypedArray=s.isTypedArray,u.isArrayOrTypedArray=s.isArrayOrTypedArray,u.isArray1D=s.isArray1D,u.ensureArray=s.ensureArray,u.concat=s.concat,u.maxRowLength=s.maxRowLength,u.minRowLength=s.minRowLength;var c=t(64872);u.mod=c.mod,u.modHalf=c.modHalf;var h=t(96554);u.valObjectMeta=h.valObjectMeta,u.coerce=h.coerce,u.coerce2=h.coerce2,u.coerceFont=h.coerceFont,u.coercePattern=h.coercePattern,u.coerceHoverinfo=h.coerceHoverinfo,u.coerceSelectionMarkerOpacity=h.coerceSelectionMarkerOpacity,u.validate=h.validate;var m=t(41631);u.dateTime2ms=m.dateTime2ms,u.isDateTime=m.isDateTime,u.ms2DateTime=m.ms2DateTime,u.ms2DateTimeLocal=m.ms2DateTimeLocal,u.cleanDate=m.cleanDate,u.isJSDate=m.isJSDate,u.formatDate=m.formatDate,u.incrementMonth=m.incrementMonth,u.dateTick0=m.dateTick0,u.dfltRange=m.dfltRange,u.findExactDates=m.findExactDates,u.MIN_MS=m.MIN_MS,u.MAX_MS=m.MAX_MS;var w=t(65888);u.findBin=w.findBin,u.sorterAsc=w.sorterAsc,u.sorterDes=w.sorterDes,u.distinctVals=w.distinctVals,u.roundUp=w.roundUp,u.sort=w.sort,u.findIndexOfMin=w.findIndexOfMin,u.sortObjectKeys=t(78607);var y=t(80038);u.aggNums=y.aggNums,u.len=y.len,u.mean=y.mean,u.median=y.median,u.midRange=y.midRange,u.variance=y.variance,u.stdev=y.stdev,u.interp=y.interp;var S=t(35657);u.init2dArray=S.init2dArray,u.transposeRagged=S.transposeRagged,u.dot=S.dot,u.translationMatrix=S.translationMatrix,u.rotationMatrix=S.rotationMatrix,u.rotationXYMatrix=S.rotationXYMatrix,u.apply3DTransform=S.apply3DTransform,u.apply2DTransform=S.apply2DTransform,u.apply2DTransform2=S.apply2DTransform2,u.convertCssMatrix=S.convertCssMatrix,u.inverseTransformMatrix=S.inverseTransformMatrix;var _=t(26348);u.deg2rad=_.deg2rad,u.rad2deg=_.rad2deg,u.angleDelta=_.angleDelta,u.angleDist=_.angleDist,u.isFullCircle=_.isFullCircle,u.isAngleInsideSector=_.isAngleInsideSector,u.isPtInsideSector=_.isPtInsideSector,u.pathArc=_.pathArc,u.pathSector=_.pathSector,u.pathAnnulus=_.pathAnnulus;var k=t(99863);u.isLeftAnchor=k.isLeftAnchor,u.isCenterAnchor=k.isCenterAnchor,u.isRightAnchor=k.isRightAnchor,u.isTopAnchor=k.isTopAnchor,u.isMiddleAnchor=k.isMiddleAnchor,u.isBottomAnchor=k.isBottomAnchor;var E=t(87642);u.segmentsIntersect=E.segmentsIntersect,u.segmentDistance=E.segmentDistance,u.getTextLocation=E.getTextLocation,u.clearLocationCache=E.clearLocationCache,u.getVisibleSegment=E.getVisibleSegment,u.findPointOnPath=E.findPointOnPath;var x=t(1426);u.extendFlat=x.extendFlat,u.extendDeep=x.extendDeep,u.extendDeepAll=x.extendDeepAll,u.extendDeepNoArrays=x.extendDeepNoArrays;var A=t(47769);u.log=A.log,u.warn=A.warn,u.error=A.error;var L=t(30587);u.counterRegex=L.counter;var b=t(79990);u.throttle=b.throttle,u.throttleDone=b.done,u.clearThrottle=b.clear;var R=t(24401);function I(Q){var re={};for(var ie in Q)for(var oe=Q[ie],ue=0;uef||Q=re)&&M(Q)&&Q>=0&&Q%1==0},u.noop=t(64213),u.identity=t(23389),u.repeat=function(Q,re){for(var ie=new Array(re),oe=0;oeie?Math.max(ie,Math.min(re,Q)):Math.max(re,Math.min(ie,Q))},u.bBoxIntersect=function(Q,re,ie){return ie=ie||0,Q.left<=re.right+ie&&re.left<=Q.right+ie&&Q.top<=re.bottom+ie&&re.top<=Q.bottom+ie},u.simpleMap=function(Q,re,ie,oe,ue){for(var ce=Q.length,ye=new Array(ce),de=0;de=Math.pow(2,ie)?ue>10?(u.warn("randstr failed uniqueness"),me):Q(re,ie,oe,(ue||0)+1):me},u.OptionControl=function(Q,re){Q||(Q={}),re||(re="opt");var ie={optionList:[],_newoption:function(oe){oe[re]=Q,ie[oe.name]=oe,ie.optionList.push(oe)}};return ie["_"+re]=Q,ie},u.smooth=function(Q,re){if((re=Math.round(re)||0)<2)return Q;var ie,oe,ue,ce,ye=Q.length,de=2*ye,me=2*re-1,pe=new Array(me),xe=new Array(ye);for(ie=0;ie=de&&(ue-=de*Math.floor(ue/de)),ue<0?ue=-1-ue:ue>=ye&&(ue=de-1-ue),ce+=Q[ue]*pe[oe];xe[ie]=ce}return xe},u.syncOrAsync=function(Q,re,ie){var oe;function ue(){return u.syncOrAsync(Q,re,ie)}for(;Q.length;)if((oe=(0,Q.splice(0,1)[0])(re))&&oe.then)return oe.then(ue);return ie&&ie(re)},u.stripTrailingSlash=function(Q){return Q.substr(-1)==="/"?Q.substr(0,Q.length-1):Q},u.noneOrAll=function(Q,re,ie){if(Q){var oe,ue=!1,ce=!0;for(oe=0;oe0?ue:0})},u.fillArray=function(Q,re,ie,oe){if(oe=oe||u.identity,u.isArrayOrTypedArray(Q))for(var ue=0;ue1?ue+ye[1]:"";if(ce&&(ye.length>1||de.length>4||ie))for(;oe.test(de);)de=de.replace(oe,"$1"+ce+"$2");return de+me},u.TEMPLATE_STRING_REGEX=/%{([^\s%{}:]*)([:|\|][^}]*)?}/g;var W=/^\w*$/;u.templateString=function(Q,re){var ie={};return Q.replace(u.TEMPLATE_STRING_REGEX,function(oe,ue){var ce;return W.test(ue)?ce=re[ue]:(ie[ue]=ie[ue]||u.nestedProperty(re,ue).get,ce=ie[ue]()),u.isValidTextValue(ce)?ce:""})};var j={max:10,count:0,name:"hovertemplate"};u.hovertemplateString=function(){return ne.apply(j,arguments)};var $={max:10,count:0,name:"texttemplate"};u.texttemplateString=function(){return ne.apply($,arguments)};var U=/^(\S+)([\*\/])(-?\d+(\.\d+)?)$/;function G(Q){var re=Q.match(U);return re?{key:re[1],op:re[2],number:Number(re[3])}:{key:Q,op:null,number:null}}var q={max:10,count:0,name:"texttemplate",parseMultDiv:!0};u.texttemplateStringForShapes=function(){return ne.apply(q,arguments)};var H=/^[:|\|]/;function ne(Q,re,ie){var oe=this,ue=arguments;re||(re={});var ce={};return Q.replace(u.TEMPLATE_STRING_REGEX,function(ye,de,me){var pe=de==="_xother"||de==="_yother",xe=de==="_xother_"||de==="_yother_",Pe=de==="xother_"||de==="yother_",_e=de==="xother"||de==="yother"||pe||Pe||xe,Me=de;(pe||xe)&&(Me=Me.substring(1)),(Pe||xe)&&(Me=Me.substring(0,Me.length-1));var Se,Ce,ae,fe=null,be=null;if(oe.parseMultDiv){var ke=G(Me);Me=ke.key,fe=ke.op,be=ke.number}if(_e){if((Se=re[Me])===void 0)return""}else for(ae=3;ae=48&&ye<=57,pe=de>=48&&de<=57;if(me&&(oe=10*oe+ye-48),pe&&(ue=10*ue+de-48),!me||!pe){if(oe!==ue)return oe-ue;if(ye!==de)return ye-de}}return ue-oe};var te=2e9;u.seedPseudoRandom=function(){te=2e9},u.pseudoRandom=function(){var Q=te;return te=(69069*te+1)%4294967296,Math.abs(te-Q)<429496729?u.pseudoRandom():te/4294967296},u.fillText=function(Q,re,ie){var oe=Array.isArray(ie)?function(ye){ie.push(ye)}:function(ye){ie.text=ye},ue=u.extractOption(Q,re,"htx","hovertext");if(u.isValidTextValue(ue))return oe(ue);var ce=u.extractOption(Q,re,"tx","text");return u.isValidTextValue(ce)?oe(ce):void 0},u.isValidTextValue=function(Q){return Q||Q===0},u.formatPercent=function(Q,re){re=re||0;for(var ie=(Math.round(100*Q*Math.pow(10,re))*Math.pow(.1,re)).toFixed(re)+"%",oe=0;oe1&&(pe=1):pe=0,u.strTranslate(ue-pe*(ie+ye),ce-pe*(oe+de))+u.strScale(pe)+(me?"rotate("+me+(re?"":" "+ie+" "+oe)+")":"")},u.setTransormAndDisplay=function(Q,re){Q.attr("transform",u.getTextTransform(re)),Q.style("display",re.scale?null:"none")},u.ensureUniformFontSize=function(Q,re){var ie=u.extendFlat({},re);return ie.size=Math.max(re.size,Q._fullLayout.uniformtext.minsize||0),ie},u.join2=function(Q,re,ie){var oe=Q.length;return oe>1?Q.slice(0,-1).join(re)+ie+Q[oe-1]:Q.join(re)},u.bigFont=function(Q){return Math.round(1.2*Q)};var Z=u.getFirefoxVersion(),X=Z!==null&&Z<86;u.getPositionFromD3Event=function(){return X?[d.event.layerX,d.event.layerY]:[d.event.offsetX,d.event.offsetY]}},41965:function(T){T.exports=function(p){return window&&window.process&&window.process.versions?Object.prototype.toString.call(p)==="[object Object]":Object.prototype.toString.call(p)==="[object Object]"&&Object.getPrototypeOf(p).hasOwnProperty("hasOwnProperty")}},66636:function(T,p,t){var d=t(65487),g=/^\w*$/;T.exports=function(i,M,v,f){var l,a,u;v=v||"name",f=f||"value";var o={};M&&M.length?(u=d(i,M),a=u.get()):a=i,M=M||"";var s={};if(a)for(l=0;l2)return o[w]=2|o[w],h.set(m,null);if(c){for(l=w;l1){var v=["LOG:"];for(M=0;M1){var f=[];for(M=0;M"),"long")}},i.warn=function(){var M;if(d.logging>0){var v=["WARN:"];for(M=0;M0){var f=[];for(M=0;M"),"stick")}},i.error=function(){var M;if(d.logging>0){var v=["ERROR:"];for(M=0;M0){var f=[];for(M=0;M"),"stick")}}},77310:function(T,p,t){var d=t(39898);T.exports=function(g,i,M){var v=g.selectAll("g."+M.replace(/\s/g,".")).data(i,function(l){return l[0].trace.uid});v.exit().remove(),v.enter().append("g").attr("class",M),v.order();var f=g.classed("rangeplot")?"nodeRangePlot3":"node3";return v.each(function(l){l[0][f]=d.select(this)}),v}},35657:function(T,p,t){var d=t(79576);p.init2dArray=function(g,i){for(var M=new Array(g),v=0;vt/2?p-Math.round(p/t)*t:p}}},65487:function(T,p,t){var d=t(92770),g=t(73627).isArrayOrTypedArray;function i(o,s){return function(){var c,h,m,w,y,S=o;for(w=0;w/g),h=0;ha||_===g||_o||y&&s(w))}:function(w,y){var S=w[0],_=w[1];if(S===g||Sa||_===g||_o)return!1;var k,E,x,A,L,b=f.length,R=f[0][0],I=f[0][1],O=0;for(k=1;kMath.max(E,R)||_>Math.max(x,I)))if(_h||Math.abs(d(u,w))>l)return!0;return!1},i.filter=function(M,v){var f=[M[0]],l=0,a=0;function u(o){M.push(o);var s=f.length,c=l;f.splice(a+1);for(var h=c+1;h1&&u(M.pop()),{addPt:u,raw:M,filtered:f}}},79749:function(T,p,t){var d=t(58617),g=t(98580);T.exports=function(i,M,v){var f=i._fullLayout,l=!0;return f._glcanvas.each(function(a){if(a.regl)a.regl.preloadCachedCode(v);else if(!a.pick||f._has("parcoords")){try{a.regl=g({canvas:this,attributes:{antialias:!a.pick,preserveDrawingBuffer:!0},pixelRatio:i._context.plotGlPixelRatio||t.g.devicePixelRatio,extensions:M||[],cachedCode:v||{}})}catch{l=!1}a.regl||(l=!1),l&&this.addEventListener("webglcontextlost",function(u){i&&i.emit&&i.emit("plotly_webglcontextlost",{event:u,layer:a.key})},!1)}}),l||d({container:f._glcontainer.node()}),l}},45142:function(T,p,t){var d=t(92770),g=t(35791);T.exports=function(i){var M;if(typeof(M=i&&i.hasOwnProperty("userAgent")?i.userAgent:function(){var s;return typeof navigator<"u"&&(s=navigator.userAgent),s&&s.headers&&typeof s.headers["user-agent"]=="string"&&(s=s.headers["user-agent"]),s}())!="string")return!0;var v=g({ua:{headers:{"user-agent":M}},tablet:!0,featureDetect:!1});if(!v){for(var f=M.split(" "),l=1;l-1;a--){var u=f[a];if(u.substr(0,8)==="Version/"){var o=u.substr(8).split(".")[0];if(d(o)&&(o=+o),o>=13)return!0}}}return v}},75138:function(T){T.exports=function(p,t){if(t instanceof RegExp){for(var d=t.toString(),g=0;gg.queueLength&&(M.undoQueue.queue.shift(),M.undoQueue.index--))},startSequence:function(M){M.undoQueue=M.undoQueue||{index:0,queue:[],sequence:!1},M.undoQueue.sequence=!0,M.undoQueue.beginSequence=!0},stopSequence:function(M){M.undoQueue=M.undoQueue||{index:0,queue:[],sequence:!1},M.undoQueue.sequence=!1,M.undoQueue.beginSequence=!1},undo:function(M){var v,f;if(!(M.undoQueue===void 0||isNaN(M.undoQueue.index)||M.undoQueue.index<=0)){for(M.undoQueue.index--,v=M.undoQueue.queue[M.undoQueue.index],M.undoQueue.inSequence=!0,f=0;f=M.undoQueue.queue.length)){for(v=M.undoQueue.queue[M.undoQueue.index],M.undoQueue.inSequence=!0,f=0;fs}function u(o,s){return o>=s}p.findBin=function(o,s,c){if(d(s.start))return c?Math.ceil((o-s.start)/s.size-v)-1:Math.floor((o-s.start)/s.size+v);var h,m,w=0,y=s.length,S=0,_=y>1?(s[y-1]-s[0])/(y-1):1;for(m=_>=0?c?f:l:c?u:a,o+=_*v*(c?-1:1)*(_>=0?1:-1);w90&&g.log("Long binary search..."),w-1},p.sorterAsc=function(o,s){return o-s},p.sorterDes=function(o,s){return s-o},p.distinctVals=function(o){var s,c=o.slice();for(c.sort(p.sorterAsc),s=c.length-1;s>-1&&c[s]===M;s--);for(var h,m=c[s]-c[0]||1,w=m/(s||1)/1e4,y=[],S=0;S<=s;S++){var _=c[S],k=_-h;h===void 0?(y.push(_),h=_):k>w&&(m=Math.min(m,k),y.push(_),h=_)}return{vals:y,minDiff:m}},p.roundUp=function(o,s,c){for(var h,m=0,w=s.length-1,y=0,S=c?0:1,_=c?1:0,k=c?Math.ceil:Math.floor;m0&&(h=1),c&&h)return o.sort(s)}return h?o:o.reverse()},p.findIndexOfMin=function(o,s){s=s||i;for(var c,h=1/0,m=0;mv.length)&&(f=v.length),d(M)||(M=!1),g(v[0])){for(a=new Array(f),l=0;li.length-1)return i[i.length-1];var v=M%1;return v*i[Math.ceil(M)]+(1-v)*i[Math.floor(M)]}},78614:function(T,p,t){var d=t(25075);T.exports=function(g){return g?d(g):[0,0,0,1]}},63893:function(T,p,t){var d=t(39898),g=t(71828),i=g.strTranslate,M=t(77922),v=t(18783).LINE_SPACING,f=/([^$]*)([$]+[^$]*[$]+)([^$]*)/;p.convertToTspans=function(N,W,j){var $=N.text(),U=!N.attr("data-notex")&&W&&W._context.typesetMath&&typeof MathJax<"u"&&$.match(f),G=d.select(N.node().parentNode);if(!G.empty()){var q=N.attr("class")?N.attr("class").split(" ")[0]:"text";return q+="-math",G.selectAll("svg."+q).remove(),G.selectAll("g."+q+"-group").remove(),N.style("display",null).attr({"data-unformatted":$,"data-math":"N"}),U?(W&&W._promises||[]).push(new Promise(function(ne){N.style("display","none");var te=parseInt(N.node().style.fontSize,10),Z={fontSize:te};(function(X,Q,re){var ie,oe,ue,ce,ye=parseInt((MathJax.version||"").split(".")[0]);if(ye===2||ye===3){var de=function(){var pe="math-output-"+g.randstr({},64),xe=(ce=d.select("body").append("div").attr({id:pe}).style({visibility:"hidden",position:"absolute","font-size":Q.fontSize+"px"}).text(X.replace(l,"\\lt ").replace(a,"\\gt "))).node();return ye===2?MathJax.Hub.Typeset(xe):MathJax.typeset([xe])},me=function(){var pe=ce.select(ye===2?".MathJax_SVG":".MathJax"),xe=!pe.empty()&&ce.select("svg").node();if(xe){var Pe,_e=xe.getBoundingClientRect();Pe=ye===2?d.select("body").select("#MathJax_SVG_glyphs"):pe.select("defs"),re(pe,Pe,_e)}else g.log("There was an error in the tex syntax.",X),re();ce.remove()};ye===2?MathJax.Hub.Queue(function(){return oe=g.extendDeepAll({},MathJax.Hub.config),ue=MathJax.Hub.processSectionDelay,MathJax.Hub.processSectionDelay!==void 0&&(MathJax.Hub.processSectionDelay=0),MathJax.Hub.Config({messageStyle:"none",tex2jax:{inlineMath:u},displayAlign:"left"})},function(){if((ie=MathJax.Hub.config.menuSettings.renderer)!=="SVG")return MathJax.Hub.setRenderer("SVG")},de,me,function(){if(ie!=="SVG")return MathJax.Hub.setRenderer(ie)},function(){return ue!==void 0&&(MathJax.Hub.processSectionDelay=ue),MathJax.Hub.Config(oe)}):ye===3&&(oe=g.extendDeepAll({},MathJax.config),MathJax.config.tex||(MathJax.config.tex={}),MathJax.config.tex.inlineMath=u,(ie=MathJax.config.startup.output)!=="svg"&&(MathJax.config.startup.output="svg"),MathJax.startup.defaultReady(),MathJax.startup.promise.then(function(){de(),me(),ie!=="svg"&&(MathJax.config.startup.output=ie),MathJax.config=oe}))}else g.warn("No MathJax version:",MathJax.version)})(U[2],Z,function(X,Q,re){G.selectAll("svg."+q).remove(),G.selectAll("g."+q+"-group").remove();var ie=X&&X.select("svg");if(!ie||!ie.node())return H(),void ne();var oe=G.append("g").classed(q+"-group",!0).attr({"pointer-events":"none","data-unformatted":$,"data-math":"Y"});oe.node().appendChild(ie.node()),Q&&Q.node()&&ie.node().insertBefore(Q.node().cloneNode(!0),ie.node().firstChild);var ue=re.width,ce=re.height;ie.attr({class:q,height:ce,preserveAspectRatio:"xMinYMin meet"}).style({overflow:"visible","pointer-events":"none"});var ye=N.node().style.fill||"black",de=ie.select("g");de.attr({fill:ye,stroke:ye});var me=de.node().getBoundingClientRect(),pe=me.width,xe=me.height;(pe>ue||xe>ce)&&(ie.style("overflow","hidden"),pe=(me=ie.node().getBoundingClientRect()).width,xe=me.height);var Pe=+N.attr("x"),_e=+N.attr("y"),Me=-(te||N.node().getBoundingClientRect().height)/4;if(q[0]==="y")oe.attr({transform:"rotate("+[-90,Pe,_e]+")"+i(-pe/2,Me-xe/2)});else if(q[0]==="l")_e=Me-xe/2;else if(q[0]==="a"&&q.indexOf("atitle")!==0)Pe=0,_e=Me;else{var Se=N.attr("text-anchor");Pe-=pe*(Se==="middle"?.5:Se==="end"?1:0),_e=_e+Me-xe/2}ie.attr({x:Pe,y:_e}),j&&j.call(N,oe),ne(oe)})})):H(),N}function H(){G.empty()||(q=N.attr("class")+"-math",G.select("svg."+q).remove()),N.text("").style("white-space","pre");var ne=function(te,Z){Z=Z.replace(w," ");var X,Q=!1,re=[],ie=-1;function oe(){ie++;var be=document.createElementNS(M.svg,"tspan");d.select(be).attr({class:"line",dy:ie*v+"em"}),te.appendChild(be),X=be;var ke=re;if(re=[{node:be}],ke.length>1)for(var Le=1;Le doesnt match end tag <"+be+">. Pretending it did match.",Z),X=re[re.length-1].node}else g.log("Ignoring unexpected end tag .",Z)}_.test(Z)?oe():(X=te,re=[{node:te}]);for(var de=Z.split(y),me=0;me|>|>)/g,u=[["$","$"],["\\(","\\)"]],o={sup:"font-size:70%",sub:"font-size:70%",b:"font-weight:bold",i:"font-style:italic",a:"cursor:pointer",span:"",em:"font-style:italic;font-weight:bold"},s={sub:"0.3em",sup:"-0.6em"},c={sub:"-0.21em",sup:"0.42em"},h="​",m=["http:","https:","mailto:","",void 0,":"],w=p.NEWLINES=/(\r\n?|\n)/g,y=/(<[^<>]*>)/,S=/<(\/?)([^ >]*)(\s+(.*))?>/i,_=//i;p.BR_TAG_ALL=//gi;var k=/(^|[\s"'])style\s*=\s*("([^"]*);?"|'([^']*);?')/i,E=/(^|[\s"'])href\s*=\s*("([^"]*)"|'([^']*)')/i,x=/(^|[\s"'])target\s*=\s*("([^"\s]*)"|'([^'\s]*)')/i,A=/(^|[\s"'])popup\s*=\s*("([\w=,]*)"|'([\w=,]*)')/i;function L(N,W){if(!N)return null;var j=N.match(W),$=j&&(j[3]||j[4]);return $&&O($)}var b=/(^|;)\s*color:/;p.plainText=function(N,W){for(var j=(W=W||{}).len!==void 0&&W.len!==-1?W.len:1/0,$=W.allowedTags!==void 0?W.allowedTags:["br"],U=3,G=N.split(y),q=[],H="",ne=0,te=0;teU?q.push(Z.substr(0,ie-U)+"..."):q.push(Z.substr(0,ie));break}H=""}}return q.join("")};var R={mu:"μ",amp:"&",lt:"<",gt:">",nbsp:" ",times:"×",plusmn:"±",deg:"°"},I=/&(#\d+|#x[\da-fA-F]+|[a-z]+);/g;function O(N){return N.replace(I,function(W,j){return(j.charAt(0)==="#"?function($){if(!($>1114111)){var U=String.fromCodePoint;if(U)return U($);var G=String.fromCharCode;return $<=65535?G($):G(55232+($>>10),$%1024+56320)}}(j.charAt(1)==="x"?parseInt(j.substr(2),16):parseInt(j.substr(1),10)):R[j])||W})}function z(N){var W=encodeURI(decodeURI(N)),j=document.createElement("a"),$=document.createElement("a");j.href=N,$.href=W;var U=j.protocol,G=$.protocol;return m.indexOf(U)!==-1&&m.indexOf(G)!==-1?W:""}function F(N,W,j){var $,U,G,q=j.horizontalAlign,H=j.verticalAlign||"top",ne=N.node().getBoundingClientRect(),te=W.node().getBoundingClientRect();return U=H==="bottom"?function(){return ne.bottom-$.height}:H==="middle"?function(){return ne.top+(ne.height-$.height)/2}:function(){return ne.top},G=q==="right"?function(){return ne.right-$.width}:q==="center"?function(){return ne.left+(ne.width-$.width)/2}:function(){return ne.left},function(){$=this.node().getBoundingClientRect();var Z=G()-te.left,X=U()-te.top,Q=j.gd||{};if(j.gd){Q._fullLayout._calcInverseTransform(Q);var re=g.apply3DTransform(Q._fullLayout._invTransform)(Z,X);Z=re[0],X=re[1]}return this.style({top:X+"px",left:Z+"px","z-index":1e3}),this}}p.convertEntities=O,p.sanitizeHTML=function(N){N=N.replace(w," ");for(var W=document.createElement("p"),j=W,$=[],U=N.split(y),G=0;Gv.ts+i?a():v.timer=setTimeout(function(){a(),v.timer=null},i)},p.done=function(g){var i=t[g];return i&&i.timer?new Promise(function(M){var v=i.onDone;i.onDone=function(){v&&v(),M(),i.onDone=null}}):Promise.resolve()},p.clear=function(g){if(g)d(t[g]),delete t[g];else for(var i in t)p.clear(i)}},58163:function(T,p,t){var d=t(92770);T.exports=function(g,i){if(g>0)return Math.log(g)/Math.LN10;var M=Math.log(Math.min(i[0],i[1]))/Math.LN10;return d(M)||(M=Math.log(Math.max(i[0],i[1]))/Math.LN10-6),M}},90973:function(T,p,t){var d=T.exports={},g=t(78776).locationmodeToLayer,i=t(96892).zL;d.getTopojsonName=function(M){return[M.scope.replace(/ /g,"-"),"_",M.resolution.toString(),"m"].join("")},d.getTopojsonPath=function(M,v){return M+v+".json"},d.getTopojsonFeatures=function(M,v){var f=g[M.locationmode],l=v.objects[f];return i(v,l).features}},37815:function(T){T.exports={moduleType:"locale",name:"en-US",dictionary:{"Click to enter Colorscale title":"Click to enter Colorscale title"},format:{date:"%m/%d/%Y"}}},92177:function(T){T.exports={moduleType:"locale",name:"en",dictionary:{"Click to enter Colorscale title":"Click to enter Colourscale title"},format:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],periods:["AM","PM"],dateTime:"%a %b %e %X %Y",date:"%d/%m/%Y",time:"%H:%M:%S",decimal:".",thousands:",",grouping:[3],currency:["$",""],year:"%Y",month:"%b %Y",dayMonth:"%b %-d",dayMonthYear:"%b %-d, %Y"}}},14458:function(T,p,t){var d=t(73972);T.exports=function(g){for(var i,M,v=d.layoutArrayContainers,f=d.layoutArrayRegexes,l=g.split("[")[0],a=0;a0&&M.log("Clearing previous rejected promises from queue."),E._promises=[]},p.cleanLayout=function(E){var x,A;E||(E={}),E.xaxis1&&(E.xaxis||(E.xaxis=E.xaxis1),delete E.xaxis1),E.yaxis1&&(E.yaxis||(E.yaxis=E.yaxis1),delete E.yaxis1),E.scene1&&(E.scene||(E.scene=E.scene1),delete E.scene1);var L=(v.subplotsRegistry.cartesian||{}).attrRegex,b=(v.subplotsRegistry.polar||{}).attrRegex,R=(v.subplotsRegistry.ternary||{}).attrRegex,I=(v.subplotsRegistry.gl3d||{}).attrRegex,O=Object.keys(E);for(x=0;x3?(re.x=1.02,re.xanchor="left"):re.x<-2&&(re.x=-.02,re.xanchor="right"),re.y>3?(re.y=1.02,re.yanchor="bottom"):re.y<-2&&(re.y=-.02,re.yanchor="top")),c(E),E.dragmode==="rotate"&&(E.dragmode="orbit"),l.clean(E),E.template&&E.template.layout&&p.cleanLayout(E.template.layout),E},p.cleanData=function(E){for(var x=0;x0)return E.substr(0,x)}p.hasParent=function(E,x){for(var A=_(x);A;){if(A in E)return!0;A=_(A)}return!1};var k=["x","y","z"];p.clearAxisTypes=function(E,x,A){for(var L=0;L1&&i.warn("Full array edits are incompatible with other edits",h);var E=o[""][""];if(l(E))u.set(null);else{if(!Array.isArray(E))return i.warn("Unrecognized full array edit value",h,E),!0;u.set(E)}return!S&&(m(_,k),w(a),!0)}var x,A,L,b,R,I,O,z,F=Object.keys(o).map(Number).sort(M),B=u.get(),N=B||[],W=c(k,h).get(),j=[],$=-1,U=N.length;for(x=0;xN.length-(O?0:1))i.warn("index out of range",h,L);else if(I!==void 0)R.length>1&&i.warn("Insertion & removal are incompatible with edits to the same index.",h,L),l(I)?j.push(L):O?(I==="add"&&(I={}),N.splice(L,0,I),W&&W.splice(L,0,{})):i.warn("Unrecognized full object edit value",h,L,I),$===-1&&($=L);else for(A=0;A=0;x--)N.splice(j[x],1),W&&W.splice(j[x],1);if(N.length?B||u.set(N):u.set(null),S)return!1;if(m(_,k),y!==g){var G;if($===-1)G=F;else{for(U=Math.max(N.length,U),G=[],x=0;x=$);x++)G.push(L);for(x=$;x=ae.data.length||Le<-ae.data.length)throw new Error(be+" must be valid indices for gd.data.");if(fe.indexOf(Le,ke+1)>-1||Le>=0&&fe.indexOf(-ae.data.length+Le)>-1||Le<0&&fe.indexOf(ae.data.length+Le)>-1)throw new Error("each index in "+be+" must be unique.")}}function B(ae,fe,be){if(!Array.isArray(ae.data))throw new Error("gd.data must be an array.");if(fe===void 0)throw new Error("currentIndices is a required argument.");if(Array.isArray(fe)||(fe=[fe]),F(ae,fe,"currentIndices"),be===void 0||Array.isArray(be)||(be=[be]),be!==void 0&&F(ae,be,"newIndices"),be!==void 0&&fe.length!==be.length)throw new Error("current and new indices must be of equal length.")}function N(ae,fe,be,ke,Le){(function($e,Ye,st,ot){var ht=M.isPlainObject(ot);if(!Array.isArray($e.data))throw new Error("gd.data must be an array");if(!M.isPlainObject(Ye))throw new Error("update must be a key:value object");if(st===void 0)throw new Error("indices must be an integer or array of integers");for(var bt in F($e,st,"indices"),Ye){if(!Array.isArray(Ye[bt])||Ye[bt].length!==st.length)throw new Error("attribute "+bt+" must be an array of length equal to indices array length");if(ht&&(!(bt in ot)||!Array.isArray(ot[bt])||ot[bt].length!==Ye[bt].length))throw new Error("when maxPoints is set as a key:value object it must contain a 1:1 corrispondence with the keys and number of traces in the update object")}})(ae,fe,be,ke);for(var Be=function($e,Ye,st,ot){var ht,bt,Et,kt,xt,Ft=M.isPlainObject(ot),Ot=[];for(var Bt in Array.isArray(st)||(st=[st]),st=z(st,$e.data.length-1),Ye)for(var qt=0;qt-1&&be.indexOf("grouptitlefont")===-1?je(be,be.replace("titlefont","title.font")):be.indexOf("titleposition")>-1?je(be,be.replace("titleposition","title.position")):be.indexOf("titleside")>-1?je(be,be.replace("titleside","title.side")):be.indexOf("titleoffset")>-1&&je(be,be.replace("titleoffset","title.offset")):je(be,be.replace("title","title.text"));function je(ge,we){ae[we]=ae[ge],delete ae[ge]}}function ne(ae,fe,be){ae=M.getGraphDiv(ae),k.clearPromiseQueue(ae);var ke={};if(typeof fe=="string")ke[fe]=be;else{if(!M.isPlainObject(fe))return M.warn("Relayout fail.",fe,be),Promise.reject();ke=M.extendFlat({},fe)}Object.keys(ke).length&&(ae.changed=!0);var Le=ie(ae,ke),Be=Le.flags;Be.calc&&(ae.calcdata=void 0);var ze=[o.previousPromises];Be.layoutReplot?ze.push(E.layoutReplot):Object.keys(ke).length&&(te(ae,Be,Le)||o.supplyDefaults(ae),Be.legend&&ze.push(E.doLegend),Be.layoutstyle&&ze.push(E.layoutStyles),Be.axrange&&Z(ze,Le.rangesAltered),Be.ticks&&ze.push(E.doTicksRelayout),Be.modebar&&ze.push(E.doModeBar),Be.camera&&ze.push(E.doCamera),Be.colorbars&&ze.push(E.doColorBars),ze.push(b)),ze.push(o.rehover,o.redrag,o.reselect),l.add(ae,ne,[ae,Le.undoit],ne,[ae,Le.redoit]);var je=M.syncOrAsync(ze,ae);return je&&je.then||(je=Promise.resolve(ae)),je.then(function(){return ae.emit("plotly_relayout",Le.eventData),ae})}function te(ae,fe,be){var ke=ae._fullLayout;if(!fe.axrange)return!1;for(var Le in fe)if(Le!=="axrange"&&fe[Le])return!1;for(var Be in be.rangesAltered){var ze=s.id2name(Be),je=ae.layout[ze],ge=ke[ze];if(ge.autorange=je.autorange,je.range&&(ge.range=je.range.slice()),ge.cleanRange(),ge._matchGroup){for(var we in ge._matchGroup)if(we!==Be){var Ee=ke[s.id2name(we)];Ee.autorange=ge.autorange,Ee.range=ge.range.slice(),Ee._input.range=ge.range.slice()}}}return!0}function Z(ae,fe){var be=fe?function(ke){var Le=[];for(var Be in fe){var ze=s.getFromId(ke,Be);if(Le.push(Be),(ze.ticklabelposition||"").indexOf("inside")!==-1&&ze._anchorAxis&&Le.push(ze._anchorAxis._id),ze._matchGroup)for(var je in ze._matchGroup)fe[je]||Le.push(je)}return s.draw(ke,Le,{skipTitle:!0})}:function(ke){return s.draw(ke,"redraw")};ae.push(y,E.doAutoRangeAndConstraints,be,E.drawData,E.finalDraw)}var X=/^[xyz]axis[0-9]*\.range(\[[0|1]\])?$/,Q=/^[xyz]axis[0-9]*\.autorange$/,re=/^[xyz]axis[0-9]*\.domain(\[[0|1]\])?$/;function ie(ae,fe){var be,ke,Le,Be=ae.layout,ze=ae._fullLayout,je=ze._guiEditing,ge=U(ze._preGUI,je),we=Object.keys(fe),Ee=s.list(ae),Ve=M.extendDeepAll({},fe),$e={};for(H(fe),we=Object.keys(fe),ke=0;ke0&&typeof qt.parts[Ke]!="string";)Ke--;var Je=qt.parts[Ke],qe=qt.parts[Ke-1]+"."+Je,nt=qt.parts.slice(0,Ke).join("."),ft=v(ae.layout,nt).get(),Re=v(ze,nt).get(),Ne=qt.get();if(Vt!==void 0){bt[Bt]=Vt,Et[Bt]=Je==="reverse"?Vt:$(Ne);var Qe=u.getLayoutValObject(ze,qt.parts);if(Qe&&Qe.impliedEdits&&Vt!==null)for(var ut in Qe.impliedEdits)kt(M.relativeAttr(Bt,ut),Qe.impliedEdits[ut]);if(["width","height"].indexOf(Bt)!==-1)if(Vt){kt("autosize",null);var dt=Bt==="height"?"width":"height";kt(dt,ze[dt])}else ze[Bt]=ae._initialAutoSize[Bt];else if(Bt==="autosize")kt("width",Vt?null:ze.width),kt("height",Vt?null:ze.height);else if(qe.match(X))Ot(qe),v(ze,nt+"._inputRange").set(null);else if(qe.match(Q)){Ot(qe),v(ze,nt+"._inputRange").set(null);var _t=v(ze,nt).get();_t._inputDomain&&(_t._input.domain=_t._inputDomain.slice())}else qe.match(re)&&v(ze,nt+"._inputDomain").set(null);if(Je==="type"){xt=ft;var It=Re.type==="linear"&&Vt==="log",Lt=Re.type==="log"&&Vt==="linear";if(It||Lt){if(xt&&xt.range)if(Re.autorange)It&&(xt.range=xt.range[1]>xt.range[0]?[1,2]:[2,1]);else{var yt=xt.range[0],Pt=xt.range[1];It?(yt<=0&&Pt<=0&&kt(nt+".autorange",!0),yt<=0?yt=Pt/1e6:Pt<=0&&(Pt=yt/1e6),kt(nt+".range[0]",Math.log(yt)/Math.LN10),kt(nt+".range[1]",Math.log(Pt)/Math.LN10)):(kt(nt+".range[0]",Math.pow(10,yt)),kt(nt+".range[1]",Math.pow(10,Pt)))}else kt(nt+".autorange",!0);Array.isArray(ze._subplots.polar)&&ze._subplots.polar.length&&ze[qt.parts[0]]&&qt.parts[1]==="radialaxis"&&delete ze[qt.parts[0]]._subplot.viewInitial["radialaxis.range"],a.getComponentMethod("annotations","convertCoords")(ae,Re,Vt,kt),a.getComponentMethod("images","convertCoords")(ae,Re,Vt,kt)}else kt(nt+".autorange",!0),kt(nt+".range",null);v(ze,nt+"._inputRange").set(null)}else if(Je.match(A)){var wt=v(ze,Bt).get(),Rt=(Vt||{}).type;Rt&&Rt!=="-"||(Rt="linear"),a.getComponentMethod("annotations","convertCoords")(ae,wt,Rt,kt),a.getComponentMethod("images","convertCoords")(ae,wt,Rt,kt)}var Nt=_.containerArrayMatch(Bt);if(Nt){be=Nt.array,ke=Nt.index;var Yt=Nt.property,Wt=Qe||{editType:"calc"};ke!==""&&Yt===""&&(_.isAddVal(Vt)?Et[Bt]=null:_.isRemoveVal(Vt)?Et[Bt]=(v(Be,be).get()||[])[ke]:M.warn("unrecognized full object value",fe)),x.update(ht,Wt),$e[be]||($e[be]={});var Xt=$e[be][ke];Xt||(Xt=$e[be][ke]={}),Xt[Yt]=Vt,delete fe[Bt]}else Je==="reverse"?(ft.range?ft.range.reverse():(kt(nt+".autorange",!0),ft.range=[1,0]),Re.autorange?ht.calc=!0:ht.plot=!0):(Bt==="dragmode"&&(Vt===!1&&Ne!==!1||Vt!==!1&&Ne===!1)||ze._has("scatter-like")&&ze._has("regl")&&Bt==="dragmode"&&(Vt==="lasso"||Vt==="select")&&Ne!=="lasso"&&Ne!=="select"||ze._has("gl2d")?ht.plot=!0:Qe?x.update(ht,Qe):ht.calc=!0,qt.set(Vt))}}for(be in $e)_.applyContainerArrayChanges(ae,ge(Be,be),$e[be],ht,ge)||(ht.plot=!0);for(var Qt in Ft){var rn=(xt=s.getFromId(ae,Qt))&&xt._constraintGroup;if(rn)for(var xn in ht.calc=!0,rn)Ft[xn]||(s.getFromId(ae,xn)._constraintShrinkable=!0)}return(oe(ae)||fe.height||fe.width)&&(ht.plot=!0),(ht.plot||ht.calc)&&(ht.layoutReplot=!0),{flags:ht,rangesAltered:Ft,undoit:Et,redoit:bt,eventData:Ve}}function oe(ae){var fe=ae._fullLayout,be=fe.width,ke=fe.height;return ae.layout.autosize&&o.plotAutoSize(ae,ae.layout,fe),fe.width!==be||fe.height!==ke}function ue(ae,fe,be,ke){ae=M.getGraphDiv(ae),k.clearPromiseQueue(ae),M.isPlainObject(fe)||(fe={}),M.isPlainObject(be)||(be={}),Object.keys(fe).length&&(ae.changed=!0),Object.keys(be).length&&(ae.changed=!0);var Le=k.coerceTraceIndices(ae,ke),Be=q(ae,M.extendFlat({},fe),Le),ze=Be.flags,je=ie(ae,M.extendFlat({},be)),ge=je.flags;(ze.calc||ge.calc)&&(ae.calcdata=void 0),ze.clearAxisTypes&&k.clearAxisTypes(ae,Le,be);var we=[];ge.layoutReplot?we.push(E.layoutReplot):ze.fullReplot?we.push(p._doPlot):(we.push(o.previousPromises),te(ae,ge,je)||o.supplyDefaults(ae),ze.style&&we.push(E.doTraceStyle),(ze.colorbars||ge.colorbars)&&we.push(E.doColorBars),ge.legend&&we.push(E.doLegend),ge.layoutstyle&&we.push(E.layoutStyles),ge.axrange&&Z(we,je.rangesAltered),ge.ticks&&we.push(E.doTicksRelayout),ge.modebar&&we.push(E.doModeBar),ge.camera&&we.push(E.doCamera),we.push(b)),we.push(o.rehover,o.redrag,o.reselect),l.add(ae,ue,[ae,Be.undoit,je.undoit,Be.traces],ue,[ae,Be.redoit,je.redoit,Be.traces]);var Ee=M.syncOrAsync(we,ae);return Ee&&Ee.then||(Ee=Promise.resolve(ae)),Ee.then(function(){return ae.emit("plotly_update",{data:Be.eventData,layout:je.eventData}),ae})}function ce(ae){return function(fe){fe._fullLayout._guiEditing=!0;var be=ae.apply(null,arguments);return fe._fullLayout._guiEditing=!1,be}}var ye=[{pattern:/^hiddenlabels/,attr:"legend.uirevision"},{pattern:/^((x|y)axis\d*)\.((auto)?range|title\.text)/},{pattern:/axis\d*\.showspikes$/,attr:"modebar.uirevision"},{pattern:/(hover|drag)mode$/,attr:"modebar.uirevision"},{pattern:/^(scene\d*)\.camera/},{pattern:/^(geo\d*)\.(projection|center|fitbounds)/},{pattern:/^(ternary\d*\.[abc]axis)\.(min|title\.text)$/},{pattern:/^(polar\d*\.radialaxis)\.((auto)?range|angle|title\.text)/},{pattern:/^(polar\d*\.angularaxis)\.rotation/},{pattern:/^(mapbox\d*)\.(center|zoom|bearing|pitch)/},{pattern:/^legend\.(x|y)$/,attr:"editrevision"},{pattern:/^(shapes|annotations)/,attr:"editrevision"},{pattern:/^title\.text$/,attr:"editrevision"}],de=[{pattern:/^selectedpoints$/,attr:"selectionrevision"},{pattern:/(^|value\.)visible$/,attr:"legend.uirevision"},{pattern:/^dimensions\[\d+\]\.constraintrange/},{pattern:/^node\.(x|y|groups)/},{pattern:/^level$/},{pattern:/(^|value\.)name$/},{pattern:/colorbar\.title\.text$/},{pattern:/colorbar\.(x|y)$/,attr:"editrevision"}];function me(ae,fe){for(var be=0;be1;)if(ke.pop(),(be=v(fe,ke.join(".")+".uirevision").get())!==void 0)return be;return fe.uirevision}function xe(ae,fe){for(var be=0;be=Le.length?Le[0]:Le[we]:Le}function je(we){return Array.isArray(Be)?we>=Be.length?Be[0]:Be[we]:Be}function ge(we,Ee){var Ve=0;return function(){if(we&&++Ve===Ee)return we()}}return ke._frameWaitingCnt===void 0&&(ke._frameWaitingCnt=0),new Promise(function(we,Ee){function Ve(){ae.emit("plotly_animating"),ke._lastFrameAt=-1/0,ke._timeToNext=0,ke._runningTransitions=0,ke._currentFrame=null;var Bt=function(){ke._animationRaf=window.requestAnimationFrame(Bt),Date.now()-ke._lastFrameAt>ke._timeToNext&&function(){ke._currentFrame&&ke._currentFrame.onComplete&&ke._currentFrame.onComplete();var qt=ke._currentFrame=ke._frameQueue.shift();if(qt){var Vt=qt.name?qt.name.toString():null;ae._fullLayout._currentFrame=Vt,ke._lastFrameAt=Date.now(),ke._timeToNext=qt.frameOpts.duration,o.transition(ae,qt.frame.data,qt.frame.layout,k.coerceTraceIndices(ae,qt.frame.traces),qt.frameOpts,qt.transitionOpts).then(function(){qt.onComplete&&qt.onComplete()}),ae.emit("plotly_animatingframe",{name:Vt,frame:qt.frame,animation:{frame:qt.frameOpts,transition:qt.transitionOpts}})}else ae.emit("plotly_animated"),window.cancelAnimationFrame(ke._animationRaf),ke._animationRaf=null}()};Bt()}var $e,Ye,st=0;function ot(Bt){return Array.isArray(Le)?st>=Le.length?Bt.transitionOpts=Le[st]:Bt.transitionOpts=Le[0]:Bt.transitionOpts=Le,st++,Bt}var ht=[],bt=fe==null,Et=Array.isArray(fe);if(bt||Et||!M.isPlainObject(fe)){if(bt||["string","number"].indexOf(typeof fe)!==-1)for($e=0;$e0&&FtFt)&&Ot.push(Ye);ht=Ot}}ht.length>0?function(Bt){if(Bt.length!==0){for(var qt=0;qt=0;ke--)if(M.isPlainObject(fe[ke])){var $e=fe[ke].name,Ye=(ge[$e]||Ve[$e]||{}).name,st=fe[ke].name,ot=ge[Ye]||Ve[Ye];Ye&&st&&typeof st=="number"&&ot&&L<5&&(L++,M.warn('addFrames: overwriting frame "'+(ge[Ye]||Ve[Ye]).name+'" with a frame whose name of type "number" also equates to "'+Ye+'". This is valid but may potentially lead to unexpected behavior since all plotly.js frame names are stored internally as strings.'),L===5&&M.warn("addFrames: This API call has yielded too many of these warnings. For the rest of this call, further warnings about numeric frame names will be suppressed.")),Ve[$e]={name:$e},Ee.push({frame:o.supplyFrameDefaults(fe[ke]),index:be&&be[ke]!==void 0&&be[ke]!==null?be[ke]:we+ke})}Ee.sort(function(Bt,qt){return Bt.index>qt.index?-1:Bt.index=0;ke--){if(typeof(Le=Ee[ke].frame).name=="number"&&M.warn("Warning: addFrames accepts frames with numeric names, but the numbers areimplicitly cast to strings"),!Le.name)for(;ge[Le.name="frame "+ae._transitionData._counter++];);if(ge[Le.name]){for(Be=0;Be=0;be--)ke=fe[be],Be.push({type:"delete",index:ke}),ze.unshift({type:"insert",index:ke,value:Le[ke]});var je=o.modifyFrames,ge=o.modifyFrames,we=[ae,ze],Ee=[ae,Be];return l&&l.add(ae,je,we,ge,Ee),o.modifyFrames(ae,Be)},p.addTraces=function ae(fe,be,ke){fe=M.getGraphDiv(fe);var Le,Be,ze=[],je=p.deleteTraces,ge=ae,we=[fe,ze],Ee=[fe,be];for(function(Ve,$e,Ye){var st,ot;if(!Array.isArray(Ve.data))throw new Error("gd.data must be an array.");if($e===void 0)throw new Error("traces must be defined.");for(Array.isArray($e)||($e=[$e]),st=0;st<$e.length;st++)if(typeof(ot=$e[st])!="object"||Array.isArray(ot)||ot===null)throw new Error("all values in traces array must be non-array objects");if(Ye===void 0||Array.isArray(Ye)||(Ye=[Ye]),Ye!==void 0&&Ye.length!==$e.length)throw new Error("if indices is specified, traces.length must equal indices.length")}(fe,be,ke),Array.isArray(be)||(be=[be]),be=be.map(function(Ve){return M.extendFlat({},Ve)}),k.cleanData(be),Le=0;Le=0&&Ve<$e.length?$e.splice(0,$e.length-Ve):[];return[$e,Ye]}var ze=N(fe=M.getGraphDiv(fe),be,ke,Le,Be),je=p.redraw(fe),ge=[fe,ze.update,ke,ze.maxPoints];return l.add(fe,p.prependTraces,ge,ae,arguments),je},p.moveTraces=function ae(fe,be,ke){var Le,Be=[],ze=[],je=ae,ge=ae,we=[fe=M.getGraphDiv(fe),ke,be],Ee=[fe,be,ke];if(B(fe,be,ke),be=Array.isArray(be)?be:[be],ke===void 0)for(ke=[],Le=0;Le=0&&Ve<$e.length?$e.splice(Ve,$e.length):[];return[$e,Ye]}var ze=N(fe=M.getGraphDiv(fe),be,ke,Le,Be),je=p.redraw(fe),ge=[fe,ze.update,ke,ze.maxPoints];return l.add(fe,p.extendTraces,ge,ae,arguments),je},p.newPlot=function(ae,fe,be,ke){return ae=M.getGraphDiv(ae),o.cleanPlot([],{},ae._fullData||[],ae._fullLayout||{}),o.purge(ae),p._doPlot(ae,fe,be,ke)},p._doPlot=function(ae,fe,be,ke){var Le;if(ae=M.getGraphDiv(ae),f.init(ae),M.isPlainObject(fe)){var Be=fe;fe=Be.data,be=Be.layout,ke=Be.config,Le=Be.frames}if(f.triggerHandler(ae,"plotly_beforeplot",[fe,be,ke])===!1)return Promise.reject();fe||be||M.isPlotDiv(ae)||M.warn("Calling _doPlot as if redrawing but this container doesn't yet have a plot.",ae),O(ae,ke),be||(be={}),d.select(ae).classed("js-plotly-plot",!0),c.makeTester(),Array.isArray(ae._promises)||(ae._promises=[]);var ze=(ae.data||[]).length===0&&Array.isArray(fe);Array.isArray(fe)&&(k.cleanData(fe),ze?ae.data=fe:ae.data.push.apply(ae.data,fe),ae.empty=!1),ae.layout&&!ze||(ae.layout=k.cleanLayout(be)),o.supplyDefaults(ae);var je=ae._fullLayout,ge=je._has("cartesian");je._replotting=!0,(ze||je._shouldCreateBgLayer)&&(function(bt){var Et=d.select(bt),kt=bt._fullLayout;if(kt._calcInverseTransform=Ce,kt._calcInverseTransform(bt),kt._container=Et.selectAll(".plot-container").data([0]),kt._container.enter().insert("div",":first-child").classed("plot-container",!0).classed("plotly",!0),kt._paperdiv=kt._container.selectAll(".svg-container").data([0]),kt._paperdiv.enter().append("div").classed("user-select-none",!0).classed("svg-container",!0).style("position","relative"),kt._glcontainer=kt._paperdiv.selectAll(".gl-container").data([{}]),kt._glcontainer.enter().append("div").classed("gl-container",!0),kt._paperdiv.selectAll(".main-svg").remove(),kt._paperdiv.select(".modebar-container").remove(),kt._paper=kt._paperdiv.insert("svg",":first-child").classed("main-svg",!0),kt._toppaper=kt._paperdiv.append("svg").classed("main-svg",!0),kt._modebardiv=kt._paperdiv.append("div"),delete kt._modeBar,kt._hoverpaper=kt._paperdiv.append("svg").classed("main-svg",!0),!kt._uid){var xt={};d.selectAll("defs").each(function(){this.id&&(xt[this.id.split("-")[1]]=1)}),kt._uid=M.randstr(xt)}kt._paperdiv.selectAll(".main-svg").attr(w.svgAttrs),kt._defs=kt._paper.append("defs").attr("id","defs-"+kt._uid),kt._clips=kt._defs.append("g").classed("clips",!0),kt._topdefs=kt._toppaper.append("defs").attr("id","topdefs-"+kt._uid),kt._topclips=kt._topdefs.append("g").classed("clips",!0),kt._bgLayer=kt._paper.append("g").classed("bglayer",!0),kt._draggers=kt._paper.append("g").classed("draglayer",!0);var Ft=kt._paper.append("g").classed("layer-below",!0);kt._imageLowerLayer=Ft.append("g").classed("imagelayer",!0),kt._shapeLowerLayer=Ft.append("g").classed("shapelayer",!0),kt._cartesianlayer=kt._paper.append("g").classed("cartesianlayer",!0),kt._polarlayer=kt._paper.append("g").classed("polarlayer",!0),kt._smithlayer=kt._paper.append("g").classed("smithlayer",!0),kt._ternarylayer=kt._paper.append("g").classed("ternarylayer",!0),kt._geolayer=kt._paper.append("g").classed("geolayer",!0),kt._funnelarealayer=kt._paper.append("g").classed("funnelarealayer",!0),kt._pielayer=kt._paper.append("g").classed("pielayer",!0),kt._iciclelayer=kt._paper.append("g").classed("iciclelayer",!0),kt._treemaplayer=kt._paper.append("g").classed("treemaplayer",!0),kt._sunburstlayer=kt._paper.append("g").classed("sunburstlayer",!0),kt._indicatorlayer=kt._toppaper.append("g").classed("indicatorlayer",!0),kt._glimages=kt._paper.append("g").classed("glimages",!0);var Ot=kt._toppaper.append("g").classed("layer-above",!0);kt._imageUpperLayer=Ot.append("g").classed("imagelayer",!0),kt._shapeUpperLayer=Ot.append("g").classed("shapelayer",!0),kt._selectionLayer=kt._toppaper.append("g").classed("selectionlayer",!0),kt._infolayer=kt._toppaper.append("g").classed("infolayer",!0),kt._menulayer=kt._toppaper.append("g").classed("menulayer",!0),kt._zoomlayer=kt._toppaper.append("g").classed("zoomlayer",!0),kt._hoverlayer=kt._hoverpaper.append("g").classed("hoverlayer",!0),kt._modebardiv.classed("modebar-container",!0).style("position","absolute").style("top","0px").style("right","0px"),bt.emit("plotly_framework")}(ae),je._shouldCreateBgLayer&&delete je._shouldCreateBgLayer),c.initGradients(ae),c.initPatterns(ae),ze&&s.saveShowSpikeInitial(ae);var we=!ae.calcdata||ae.calcdata.length!==(ae._fullData||[]).length;we&&o.doCalcdata(ae);for(var Ee=0;Ee=F.length)return!1;if(b.dimensions===2){if(I++,R.length===I)return b;var B=R[I];if(!k(B))return!1;b=F[z][B]}else b=F[z]}else b=F}}return b}function k(b){return b===Math.round(b)&&b>=0}function E(){var b,R,I={};for(b in u(I,M),d.subplotsRegistry)if((R=d.subplotsRegistry[b]).layoutAttributes)if(Array.isArray(R.attr))for(var O=0;O=B.length)return!1;O=(I=(d.transformsRegistry[B[N].type]||{}).attributes)&&I[R[2]],F=3}else{var W=b._module;if(W||(W=(d.modules[b.type||i.type.dflt]||{})._module),!W)return!1;if(!(O=(I=W.attributes)&&I[z])){var j=W.basePlotModule;j&&j.attributes&&(O=j.attributes[z])}O||(O=i[z])}return _(O,R,F)},p.getLayoutValObject=function(b,R){var I=function(O,z){var F,B,N,W,j=O._basePlotModules;if(j){var $;for(F=0;F=u&&(a._input||{})._templateitemname;s&&(o=u);var c,h=l+"["+o+"]";function m(){c={},s&&(c[h]={},c[h].templateitemname=s)}function w(S,_){s?d.nestedProperty(c[h],S).set(_):c[h+"."+S]=_}function y(){var S=c;return m(),S}return m(),{modifyBase:function(S,_){c[S]=_},modifyItem:w,getUpdateObj:y,applyUpdate:function(S,_){S&&w(S,_);var k=y();for(var E in k)d.nestedProperty(f,E).set(k[E])}}}},61549:function(T,p,t){var d=t(39898),g=t(73972),i=t(74875),M=t(71828),v=t(63893),f=t(33306),l=t(7901),a=t(91424),u=t(92998),o=t(64168),s=t(89298),c=t(18783),h=t(99082),m=h.enforce,w=h.clean,y=t(71739).doAutoRange,S="start";function _(L,b,R){for(var I=0;I=L[1]||O[1]<=L[0])&&z[0]b[0])return!0}return!1}function k(L){var b,R,I,O,z,F,B=L._fullLayout,N=B._size,W=N.p,j=s.list(L,"",!0);if(B._paperdiv.style({width:L._context.responsive&&B.autosize&&!L._context._hasZeroWidth&&!L.layout.width?"100%":B.width+"px",height:L._context.responsive&&B.autosize&&!L._context._hasZeroHeight&&!L.layout.height?"100%":B.height+"px"}).selectAll(".main-svg").call(a.setSize,B.width,B.height),L._context.setBackground(L,B.paper_bgcolor),p.drawMainTitle(L),o.manage(L),!B._has("cartesian"))return i.previousPromises(L);function $(Ve,$e,Ye){var st=Ve._lw/2;return Ve._id.charAt(0)==="x"?$e?Ye==="top"?$e._offset-W-st:$e._offset+$e._length+W+st:N.t+N.h*(1-(Ve.position||0))+st%1:$e?Ye==="right"?$e._offset+$e._length+W+st:$e._offset-W-st:N.l+N.w*(Ve.position||0)+st%1}for(b=0;b.5?"t":"b",te=$._fullLayout.margin[ne],Z=0;return U.yref==="paper"?Z=G+U.pad.t+U.pad.b:U.yref==="container"&&(Z=function(X,Q,re,ie,oe){var ue=0;return re==="middle"&&(ue+=oe/2),X==="t"?(re==="top"&&(ue+=oe),ue+=ie-Q*ie):(re==="bottom"&&(ue+=oe),ue+=Q*ie),ue}(ne,q,H,$._fullLayout.height,G)+U.pad.t+U.pad.b),Z>te?Z:0}(L,R,W);j>0&&(function($,U,G,q){var H="title.automargin",ne=$._fullLayout.title,te=ne.y>.5?"t":"b",Z={x:ne.x,y:ne.y,t:0,b:0},X={};ne.yref==="paper"&&function(Q,re,ie,oe,ue){var ce=re.yref==="paper"?Q._fullLayout._size.h:Q._fullLayout.height,ye=M.isTopAnchor(re)?oe:oe-ue,de=ie==="b"?ce-ye:ye;return!(M.isTopAnchor(re)&&ie==="t"||M.isBottomAnchor(re)&&ie==="b")&&deN?A.push({code:"unused",traceType:I,templateCount:B,dataCount:N}):N>B&&A.push({code:"reused",traceType:I,templateCount:B,dataCount:N})}}else A.push({code:"data"});if(function W(j,$){for(var U in j)if(U.charAt(0)!=="_"){var G=j[U],q=h(j,U,$);g(G)?(Array.isArray(j)&&G._template===!1&&G.templateitemname&&A.push({code:"missing",path:q,templateitemname:G.templateitemname}),W(G,q)):Array.isArray(G)&&m(G)&&W(G,q)}}({data:b,layout:L},""),A.length)return A.map(w)}},403:function(T,p,t){var d=t(92770),g=t(72391),i=t(74875),M=t(71828),v=t(25095),f=t(5900),l=t(70942),a=t(11506).version,u={format:{valType:"enumerated",values:["png","jpeg","webp","svg","full-json"],dflt:"png"},width:{valType:"number",min:1},height:{valType:"number",min:1},scale:{valType:"number",min:0,dflt:1},setBackground:{valType:"any",dflt:!1},imageDataOnly:{valType:"boolean",dflt:!1}};T.exports=function(o,s){var c,h,m,w;function y(N){return!(N in s)||M.validate(s[N],u[N])}if(s=s||{},M.isPlainObject(o)?(c=o.data||[],h=o.layout||{},m=o.config||{},w={}):(o=M.getGraphDiv(o),c=M.extendDeep([],o.data),h=M.extendDeep({},o.layout),m=o._context,w=o._fullLayout||{}),!y("width")&&s.width!==null||!y("height")&&s.height!==null)throw new Error("Height and width should be pixel values.");if(!y("format"))throw new Error("Export format is not "+M.join2(u.format.values,", "," or ")+".");var S={};function _(N,W){return M.coerce(s,S,u,N,W)}var k=_("format"),E=_("width"),x=_("height"),A=_("scale"),L=_("setBackground"),b=_("imageDataOnly"),R=document.createElement("div");R.style.position="absolute",R.style.left="-5000px",document.body.appendChild(R);var I=M.extendFlat({},h);E?I.width=E:s.width===null&&d(w.width)&&(I.width=w.width),x?I.height=x:s.height===null&&d(w.height)&&(I.height=w.height);var O=M.extendFlat({},m,{_exportedPlot:!0,staticPlot:!0,setBackground:L}),z=v.getRedrawFunc(R);function F(){return new Promise(function(N){setTimeout(N,v.getDelay(R._fullLayout))})}function B(){return new Promise(function(N,W){var j=f(R,k,A),$=R._fullLayout.width,U=R._fullLayout.height;function G(){g.purge(R),document.body.removeChild(R)}if(k==="full-json"){var q=i.graphJson(R,!1,"keepdata","object",!0,!0);return q.version=a,q=JSON.stringify(q),G(),N(b?q:v.encodeJSON(q))}if(G(),k==="svg")return N(b?j:v.encodeSVG(j));var H=document.createElement("canvas");H.id=M.randstr(),l({format:k,width:$,height:U,scale:A,canvas:H,svg:j,promise:!0}).then(N).catch(W)})}return new Promise(function(N,W){g.newPlot(R,c,I,O).then(z).then(F).then(B).then(function(j){N(function($){return b?$.replace(v.IMAGE_URL_PREFIX,""):$}(j))}).catch(function(j){W(j)})})}},84936:function(T,p,t){var d=t(71828),g=t(74875),i=t(86281),M=t(72075).dfltConfig,v=d.isPlainObject,f=Array.isArray,l=d.isArrayOrTypedArray;function a(S,_,k,E,x,A){A=A||[];for(var L=Object.keys(S),b=0;bz.length&&E.push(c("unused",x,I.concat(z.length)));var $,U,G,q,H,ne=z.length,te=Array.isArray(j);if(te&&(ne=Math.min(ne,j.length)),F.dimensions===2)for(U=0;Uz[U].length&&E.push(c("unused",x,I.concat(U,z[U].length)));var Z=z[U].length;for($=0;$<(te?Math.min(Z,j[U].length):Z);$++)G=te?j[U][$]:j,q=O[U][$],H=z[U][$],d.validate(q,G)?H!==q&&H!==+q&&E.push(c("dynamic",x,I.concat(U,$),q,H)):E.push(c("value",x,I.concat(U,$),q))}else E.push(c("array",x,I.concat(U),O[U]));else for(U=0;U1&&A.push(c("object","layout"))),g.supplyDefaults(L);for(var b=L._fullData,R=k.length,I=0;I0&&Math.round(h)===h))return{vals:u};s=h}for(var m=l.calendar,w=o==="start",y=o==="end",S=f[a+"period0"],_=i(S,m)||0,k=[],E=[],x=[],A=u.length,L=0;LO;)I=M(I,-s,m);for(;I<=O;)I=M(I,s,m);R=M(I,-s,m)}else{for(I=_+(b=Math.round((O-_)/c))*c;I>O;)I-=c;for(;I<=O;)I+=c;R=I-c}k[L]=w?R:y?I:(R+I)/2,E[L]=R,x[L]=I}return{vals:k,starts:E,ends:x}}},89502:function(T){T.exports={xaxis:{valType:"subplotid",dflt:"x",editType:"calc+clearAxisTypes"},yaxis:{valType:"subplotid",dflt:"y",editType:"calc+clearAxisTypes"}}},71739:function(T,p,t){var d=t(39898),g=t(92770),i=t(71828),M=t(50606).FP_SAFE,v=t(73972),f=t(91424),l=t(41675),a=l.getFromId,u=l.isLinked;function o(E,x){var A,L,b=[],R=E._fullLayout,I=c(R,x,0),O=c(R,x,1),z=h(E,x),F=z.min,B=z.max;if(F.length===0||B.length===0)return i.simpleMap(x.range,x.r2l);var N=F[0].val,W=B[0].val;for(A=1;A0&&((ne=re-I(U)-O(G))>ie?te/ne>oe&&(q=U,H=G,oe=te/ne):te/re>oe&&(q={val:U.val,nopad:1},H={val:G.val,nopad:1},oe=te/re));if(N===W){var ue=N-1,ce=N+1;if(X)if(N===0)b=[0,1];else{var ye=(N>0?B:F).reduce(function(me,pe){return Math.max(me,O(pe))},0),de=N/(1-Math.min(.5,ye/re));b=N>0?[0,de]:[de,0]}else b=Q?[Math.max(0,ue),Math.max(1,ce)]:[ue,ce]}else X?(q.val>=0&&(q={val:0,nopad:1}),H.val<=0&&(H={val:0,nopad:1})):Q&&(q.val-oe*I(q)<0&&(q={val:0,nopad:1}),H.val<=0&&(H={val:1,nopad:1})),oe=(H.val-q.val-s(x,U.val,G.val))/(re-I(q)-O(H)),b=[q.val-oe*I(q),H.val+oe*O(H)];return j&&b.reverse(),i.simpleMap(b,x.l2r||Number)}function s(E,x,A){var L=0;if(E.rangebreaks)for(var b=E.locateBreaks(x,A),R=0;R=A&&(F.extrapad||!I)){O=!1;break}b(x,F.val)&&F.pad<=A&&(I||!F.extrapad)&&(E.splice(z,1),z--)}if(O){var B=R&&x===0;E.push({val:x,pad:B?0:A,extrapad:!B&&I})}}function S(E){return g(E)&&Math.abs(E)=x}T.exports={getAutoRange:o,makePadFn:c,doAutoRange:function(E,x,A){if(x.setScale(),x.autorange){x.range=A?A.slice():o(E,x),x._r=x.range.slice(),x._rl=i.simpleMap(x._r,x.r2l);var L=x._input,b={};b[x._attr+".range"]=x.range,b[x._attr+".autorange"]=x.autorange,v.call("_storeDirectGUIEdit",E.layout,E._fullLayout._preGUI,b),L.range=x.range.slice(),L.autorange=x.autorange}var R=x._anchorAxis;if(R&&R.rangeslider){var I=R.rangeslider[x._name];I&&I.rangemode==="auto"&&(I.range=o(E,x)),R._input.rangeslider[x._name]=i.extendFlat({},I)}},findExtremes:function(E,x,A){A||(A={}),E._m||E.setScale();var L,b,R,I,O,z,F,B,N,W=[],j=[],$=x.length,U=A.padded||!1,G=A.tozero&&(E.type==="linear"||E.type==="-"),q=E.type==="log",H=!1,ne=A.vpadLinearized||!1;function te(ce){if(Array.isArray(ce))return H=!0,function(de){return Math.max(Number(ce[de]||0),0)};var ye=Math.max(Number(ce||0),0);return function(){return ye}}var Z=te((E._m>0?A.ppadplus:A.ppadminus)||A.ppad||0),X=te((E._m>0?A.ppadminus:A.ppadplus)||A.ppad||0),Q=te(A.vpadplus||A.vpad),re=te(A.vpadminus||A.vpad);if(!H){if(B=1/0,N=-1/0,q)for(L=0;L<$;L++)(b=x[L])0&&(B=b),b>N&&b-M&&(B=b),b>N&&b=ue;L--)oe(L);return{min:W,max:j,opts:A}},concatExtremes:h}},89298:function(T,p,t){var d=t(39898),g=t(92770),i=t(74875),M=t(73972),v=t(71828),f=v.strTranslate,l=t(63893),a=t(92998),u=t(7901),o=t(91424),s=t(13838),c=t(66287),h=t(50606),m=h.ONEMAXYEAR,w=h.ONEAVGYEAR,y=h.ONEMINYEAR,S=h.ONEMAXQUARTER,_=h.ONEAVGQUARTER,k=h.ONEMINQUARTER,E=h.ONEMAXMONTH,x=h.ONEAVGMONTH,A=h.ONEMINMONTH,L=h.ONEWEEK,b=h.ONEDAY,R=b/2,I=h.ONEHOUR,O=h.ONEMIN,z=h.ONESEC,F=h.MINUS_SIGN,B=h.BADNUM,N={K:"zeroline"},W={K:"gridline",L:"path"},j={K:"minor-gridline",L:"path"},$={K:"tick",L:"path"},U={K:"tick",L:"text"},G={width:["x","r","l","xl","xr"],height:["y","t","b","yt","yb"],right:["r","xr"],left:["l","xl"],top:["t","yt"],bottom:["b","yb"]},q=t(18783),H=q.MID_SHIFT,ne=q.CAP_SHIFT,te=q.LINE_SPACING,Z=q.OPPOSITE_SIDE,X=T.exports={};X.setConvert=t(21994);var Q=t(4322),re=t(41675),ie=re.idSort,oe=re.isLinked;X.id2name=re.id2name,X.name2id=re.name2id,X.cleanId=re.cleanId,X.list=re.list,X.listIds=re.listIds,X.getFromId=re.getFromId,X.getFromTrace=re.getFromTrace;var ue=t(71739);function ce(Re){var Ne=1e-4*(Re[1]-Re[0]);return[Re[0]-Ne,Re[1]+Ne]}X.getAutoRange=ue.getAutoRange,X.findExtremes=ue.findExtremes,X.coerceRef=function(Re,Ne,Qe,ut,dt,_t){var It=ut.charAt(ut.length-1),Lt=Qe._fullLayout._subplots[It+"axis"],yt=ut+"ref",Pt={};return dt||(dt=Lt[0]||(typeof _t=="string"?_t:_t[0])),_t||(_t=dt),Lt=Lt.concat(Lt.map(function(wt){return wt+" domain"})),Pt[yt]={valType:"enumerated",values:Lt.concat(_t?typeof _t=="string"?[_t]:_t:[]),dflt:dt},v.coerce(Re,Ne,Pt,yt)},X.getRefType=function(Re){return Re===void 0?Re:Re==="paper"?"paper":Re==="pixel"?"pixel":/( domain)$/.test(Re)?"domain":"range"},X.coercePosition=function(Re,Ne,Qe,ut,dt,_t){var It,Lt;if(X.getRefType(ut)!=="range")It=v.ensureNumber,Lt=Qe(dt,_t);else{var yt=X.getFromId(Ne,ut);Lt=Qe(dt,_t=yt.fraction2r(_t)),It=yt.cleanPos}Re[dt]=It(Lt)},X.cleanPosition=function(Re,Ne,Qe){return(Qe==="paper"||Qe==="pixel"?v.ensureNumber:X.getFromId(Ne,Qe).cleanPos)(Re)},X.redrawComponents=function(Re,Ne){Ne=Ne||X.listIds(Re);var Qe=Re._fullLayout;function ut(dt,_t,It,Lt){for(var yt=M.getComponentMethod(dt,_t),Pt={},wt=0;wtQe&&wt2e-6||((Qe-Re._forceTick0)/Re._minDtick%1+1.000001)%1>2e-6)&&(Re._minDtick=0)):Re._minDtick=0},X.saveRangeInitial=function(Re,Ne){for(var Qe=X.list(Re,"",!0),ut=!1,dt=0;dt.3*Dn||dn(un)||dn(An))){var In=xn.dtick/2;Qt+=Qt+In.8){var kn=Number(xn.substr(1));Yn.exactYears>.8&&kn%12==0?Qt=X.tickIncrement(Qt,"M6","reverse")+1.5*b:Yn.exactMonths>.8?Qt=X.tickIncrement(Qt,"M1","reverse")+15.5*b:Qt-=R;var sn=X.tickIncrement(Qt,xn);if(sn<=un)return sn}return Qt}(Xt,Re,Wt,Lt,dt)),Yt=Xt;Yt<=yt;)Yt=X.tickIncrement(Yt,Wt,!1,dt);return{start:Ne.c2r(Xt,0,dt),end:Ne.c2r(Yt,0,dt),size:Wt,_dataSpan:yt-Lt}},X.prepMinorTicks=function(Re,Ne,Qe){if(!Ne.minor.dtick){delete Re.dtick;var ut,dt=Ne.dtick&&g(Ne._tmin);if(dt){var _t=X.tickIncrement(Ne._tmin,Ne.dtick,!0);ut=[Ne._tmin,.99*_t+.01*Ne._tmin]}else{var It=v.simpleMap(Ne.range,Ne.r2l);ut=[It[0],.8*It[0]+.2*It[1]]}if(Re.range=v.simpleMap(ut,Ne.l2r),Re._isMinor=!0,X.prepTicks(Re,Qe),dt){var Lt=g(Ne.dtick),yt=g(Re.dtick),Pt=Lt?Ne.dtick:+Ne.dtick.substring(1),wt=yt?Re.dtick:+Re.dtick.substring(1);Lt&&yt?pe(Pt,wt)?Pt===2*L&&wt===2*b&&(Re.dtick=L):Pt===2*L&&wt===3*b?Re.dtick=L:Pt!==L||(Ne._input.minor||{}).nticks?xe(Pt/wt,2.5)?Re.dtick=Pt/2:Re.dtick=Pt:Re.dtick=b:String(Ne.dtick).charAt(0)==="M"?yt?Re.dtick="M1":pe(Pt,wt)?Pt>=12&&wt===2&&(Re.dtick="M3"):Re.dtick=Ne.dtick:String(Re.dtick).charAt(0)==="L"?String(Ne.dtick).charAt(0)==="L"?pe(Pt,wt)||(Re.dtick=xe(Pt/wt,2.5)?Ne.dtick/2:Ne.dtick):Re.dtick="D1":Re.dtick==="D2"&&+Ne.dtick>1&&(Re.dtick=1)}Re.range=Ne.range}Ne.minor._tick0Init===void 0&&(Re.tick0=Ne.tick0)},X.prepTicks=function(Re,Ne){var Qe=v.simpleMap(Re.range,Re.r2l,void 0,void 0,Ne);if(Re.tickmode==="auto"||!Re.dtick){var ut,dt=Re.nticks;dt||(Re.type==="category"||Re.type==="multicategory"?(ut=Re.tickfont?v.bigFont(Re.tickfont.size||12):15,dt=Re._length/ut):(ut=Re._id.charAt(0)==="y"?40:80,dt=v.constrain(Re._length/ut,4,9)+1),Re._name==="radialaxis"&&(dt*=2)),Re.minor&&Re.minor.tickmode!=="array"||Re.tickmode==="array"&&(dt*=100),Re._roughDTick=Math.abs(Qe[1]-Qe[0])/dt,X.autoTicks(Re,Re._roughDTick),Re._minDtick>0&&Re.dtick<2*Re._minDtick&&(Re.dtick=Re._minDtick,Re.tick0=Re.l2r(Re._forceTick0))}Re.ticklabelmode==="period"&&function(_t){var It;function Lt(){return!(g(_t.dtick)||_t.dtick.charAt(0)!=="M")}var yt=Lt(),Pt=X.getTickFormat(_t);if(Pt){var wt=_t._dtickInit!==_t.dtick;/%[fLQsSMX]/.test(Pt)||(/%[HI]/.test(Pt)?(It=I,wt&&!yt&&_t.dtick=(rn?0:1);xn--){var un=!xn;xn?(Re._dtickInit=Re.dtick,Re._tick0Init=Re.tick0):(Re.minor._dtickInit=Re.minor.dtick,Re.minor._tick0Init=Re.minor.tick0);var An=xn?Re:v.extendFlat({},Re,Re.minor);if(un?X.prepMinorTicks(An,Re,Ne):X.prepTicks(An,Ne),An.tickmode!=="array")if(An.tickmode!=="sync"){var Yn=ce(yt),kn=Yn[0],sn=Yn[1],Tn=g(An.dtick),dn=dt==="log"&&!(Tn||An.dtick.charAt(0)==="L"),pn=X.tickFirst(An,Ne);if(xn){if(Re._tmin=pn,pn=sn:Gn<=sn;Gn=X.tickIncrement(Gn,qn,Pt,_t)){if(xn&&Dn++,An.rangebreaks&&!Pt){if(Gn=Rt)break}if(Xt.length>Nt||Gn===jn)break;jn=Gn;var lr={value:Gn};xn?(dn&&Gn!==(0|Gn)&&(lr.simpleLabel=!0),It>1&&Dn%It&&(lr.skipLabel=!0),Xt.push(lr)):(lr.minor=!0,Qt.push(lr))}}else Xt=[],Yt=Me(Re);else xn?(Xt=[],Yt=Se(Re)):(Qt=[],Wt=Se(Re))}if(rn&&!(Re.minor.ticks==="inside"&&Re.ticks==="outside"||Re.minor.ticks==="outside"&&Re.ticks==="inside")){for(var rr=Xt.map(function(Pn){return Pn.value}),Sr=[],yr=0;yr0?(On=hn-1,En=hn):(On=hn,En=hn);var mn,wn=Pn[On].value,gn=Pn[En].value,yn=Math.abs(gn-wn),Sn=Jt||yn,Vn=0;Sn>=y?Vn=yn>=y&&yn<=m?yn:w:Jt===_&&Sn>=k?Vn=yn>=k&&yn<=S?yn:_:Sn>=A?Vn=yn>=A&&yn<=E?yn:x:Jt===L&&Sn>=L?Vn=L:Sn>=b?Vn=b:Jt===R&&Sn>=R?Vn=R:Jt===I&&Sn>=I&&(Vn=I),Vn>=yn&&(Vn=yn,mn=!0);var Xn=zn+Vn;if(jt.rangebreaks&&Vn>0){for(var nr=0,Qn=0;Qn<84;Qn++){var hr=(Qn+.5)/84;jt.maskBreaks(zn*(1-hr)+hr*Xn)!==B&&nr++}(Vn*=nr/84)||(Pn[hn].drop=!0),mn&&yn>L&&(Vn=yn)}(Vn>0||hn===0)&&(Pn[hn].periodX=zn+Vn/2)}}(Xt,Re,Re._definedDelta),Re.rangebreaks){var bn=Re._id.charAt(0)==="y",Rn=1;Re.tickmode==="auto"&&(Rn=Re.tickfont?Re.tickfont.size:12);var Ln=NaN;for(Qe=Xt.length-1;Qe>-1;Qe--)if(Xt[Qe].drop)Xt.splice(Qe,1);else{Xt[Qe].value=Je(Xt[Qe].value,Re);var Un=Re.c2p(Xt[Qe].value);(bn?Ln>Un-Rn:LnRt||$nRt&&(Kn.periodX=Rt),$n10||ut.substr(5)!=="01-01"?Re._tickround="d":Re._tickround=+Ne.substr(1)%12==0?"y":"m";else if(Ne>=b&&dt<=10||Ne>=15*b)Re._tickround="d";else if(Ne>=O&&dt<=16||Ne>=I)Re._tickround="M";else if(Ne>=z&&dt<=19||Ne>=O)Re._tickround="S";else{var _t=Re.l2r(Qe+Ne).replace(/^-/,"").length;Re._tickround=Math.max(dt,_t)-20,Re._tickround<0&&(Re._tickround=4)}}else if(g(Ne)||Ne.charAt(0)==="L"){var It=Re.range.map(Re.r2d||Number);g(Ne)||(Ne=Number(Ne.substr(1))),Re._tickround=2-Math.floor(Math.log(Ne)/Math.LN10+.01);var Lt=Math.max(Math.abs(It[0]),Math.abs(It[1])),yt=Math.floor(Math.log(Lt)/Math.LN10+.01),Pt=Re.minexponent===void 0?3:Re.minexponent;Math.abs(yt)>Pt&&(Ee(Re.exponentformat)&&!Ve(yt)?Re._tickexponent=3*Math.round((yt-1)/3):Re._tickexponent=yt)}else Re._tickround=null}function ge(Re,Ne,Qe){var ut=Re.tickfont||{};return{x:Ne,dx:0,dy:0,text:Qe||"",fontSize:ut.size,font:ut.family,fontColor:ut.color}}X.autoTicks=function(Re,Ne,Qe){var ut;function dt(Rt){return Math.pow(Rt,Math.floor(Math.log(Ne)/Math.LN10))}if(Re.type==="date"){Re.tick0=v.dateTick0(Re.calendar,0);var _t=2*Ne;if(_t>w)Ne/=w,ut=dt(10),Re.dtick="M"+12*ze(Ne,ut,Ce);else if(_t>x)Ne/=x,Re.dtick="M"+ze(Ne,1,ae);else if(_t>b){if(Re.dtick=ze(Ne,b,Re._hasDayOfWeekBreaks?[1,2,7,14]:be),!Qe){var It=X.getTickFormat(Re),Lt=Re.ticklabelmode==="period";Lt&&(Re._rawTick0=Re.tick0),/%[uVW]/.test(It)?Re.tick0=v.dateTick0(Re.calendar,2):Re.tick0=v.dateTick0(Re.calendar,1),Lt&&(Re._dowTick0=Re.tick0)}}else _t>I?Re.dtick=ze(Ne,I,ae):_t>O?Re.dtick=ze(Ne,O,fe):_t>z?Re.dtick=ze(Ne,z,fe):(ut=dt(10),Re.dtick=ze(Ne,ut,Ce))}else if(Re.type==="log"){Re.tick0=0;var yt=v.simpleMap(Re.range,Re.r2l);if(Re._isMinor&&(Ne*=1.5),Ne>.7)Re.dtick=Math.ceil(Ne);else if(Math.abs(yt[1]-yt[0])<1){var Pt=1.5*Math.abs((yt[1]-yt[0])/Ne);Ne=Math.abs(Math.pow(10,yt[1])-Math.pow(10,yt[0]))/Pt,ut=dt(10),Re.dtick="L"+ze(Ne,ut,Ce)}else Re.dtick=Ne>.3?"D2":"D1"}else Re.type==="category"||Re.type==="multicategory"?(Re.tick0=0,Re.dtick=Math.ceil(Math.max(Ne,1))):Ke(Re)?(Re.tick0=0,ut=1,Re.dtick=ze(Ne,ut,Be)):(Re.tick0=0,ut=dt(10),Re.dtick=ze(Ne,ut,Ce));if(Re.dtick===0&&(Re.dtick=1),!g(Re.dtick)&&typeof Re.dtick!="string"){var wt=Re.dtick;throw Re.dtick=1,"ax.dtick error: "+String(wt)}},X.tickIncrement=function(Re,Ne,Qe,ut){var dt=Qe?-1:1;if(g(Ne))return v.increment(Re,dt*Ne);var _t=Ne.charAt(0),It=dt*Number(Ne.substr(1));if(_t==="M")return v.incrementMonth(Re,It,ut);if(_t==="L")return Math.log(Math.pow(10,Re)+It)/Math.LN10;if(_t==="D"){var Lt=Ne==="D2"?Le:ke,yt=Re+.01*dt,Pt=v.roundUp(v.mod(yt,1),Lt,Qe);return Math.floor(yt)+Math.log(d.round(Math.pow(10,Pt),1))/Math.LN10}throw"unrecognized dtick "+String(Ne)},X.tickFirst=function(Re,Ne){var Qe=Re.r2l||Number,ut=v.simpleMap(Re.range,Qe,void 0,void 0,Ne),dt=ut[1] ")}else Qt._prevDateHead=kn,sn+="
"+kn;rn.text=sn}(Re,_t,Qe,Lt):yt==="log"?function(Qt,rn,xn,un,An){var Yn=Qt.dtick,kn=rn.x,sn=Qt.tickformat,Tn=typeof Yn=="string"&&Yn.charAt(0);if(An==="never"&&(An=""),un&&Tn!=="L"&&(Yn="L3",Tn="L"),sn||Tn==="L")rn.text=$e(Math.pow(10,kn),Qt,An,un);else if(g(Yn)||Tn==="D"&&v.mod(kn+.01,1)<.1){var dn=Math.round(kn),pn=Math.abs(dn),Dn=Qt.exponentformat;Dn==="power"||Ee(Dn)&&Ve(dn)?(rn.text=dn===0?1:dn===1?"10":"10"+(dn>1?"":F)+pn+"",rn.fontSize*=1.25):(Dn==="e"||Dn==="E")&&pn>2?rn.text="1"+Dn+(dn>0?"+":F)+pn:(rn.text=$e(Math.pow(10,kn),Qt,"","fakehover"),Yn==="D1"&&Qt._id.charAt(0)==="y"&&(rn.dy-=rn.fontSize/6))}else{if(Tn!=="D")throw"unrecognized dtick "+String(Yn);rn.text=String(Math.round(Math.pow(10,v.mod(kn,1)))),rn.fontSize*=.75}if(Qt.dtick==="D1"){var In=String(rn.text).charAt(0);In!=="0"&&In!=="1"||(Qt._id.charAt(0)==="y"?rn.dx-=rn.fontSize/4:(rn.dy+=rn.fontSize/2,rn.dx+=(Qt.range[1]>Qt.range[0]?1:-1)*rn.fontSize*(kn<0?.5:.25)))}}(Re,_t,0,Lt,Yt):yt==="category"?function(Qt,rn){var xn=Qt._categories[Math.round(rn.x)];xn===void 0&&(xn=""),rn.text=String(xn)}(Re,_t):yt==="multicategory"?function(Qt,rn,xn){var un=Math.round(rn.x),An=Qt._categories[un]||[],Yn=An[1]===void 0?"":String(An[1]),kn=An[0]===void 0?"":String(An[0]);xn?rn.text=kn+" - "+Yn:(rn.text=Yn,rn.text2=kn)}(Re,_t,Qe):Ke(Re)?function(Qt,rn,xn,un,An){if(Qt.thetaunit!=="radians"||xn)rn.text=$e(rn.x,Qt,An,un);else{var Yn=rn.x/180;if(Yn===0)rn.text="0";else{var kn=function(Tn){function dn(jn,Gn){return Math.abs(jn-Gn)<=1e-6}var pn=function(jn){for(var Gn=1;!dn(Math.round(jn*Gn)/Gn,jn);)Gn*=10;return Gn}(Tn),Dn=Tn*pn,In=Math.abs(function jn(Gn,qn){return dn(qn,0)?Gn:jn(qn,Gn%qn)}(Dn,pn));return[Math.round(Dn/In),Math.round(pn/In)]}(Yn);if(kn[1]>=100)rn.text=$e(v.deg2rad(rn.x),Qt,An,un);else{var sn=rn.x<0;kn[1]===1?kn[0]===1?rn.text="π":rn.text=kn[0]+"π":rn.text=["",kn[0],"","⁄","",kn[1],"","π"].join(""),sn&&(rn.text=F+rn.text)}}}}(Re,_t,Qe,Lt,Yt):function(Qt,rn,xn,un,An){An==="never"?An="":Qt.showexponent==="all"&&Math.abs(rn.x/Qt.dtick)<1e-6&&(An="hide"),rn.text=$e(rn.x,Qt,An,un)}(Re,_t,0,Lt,Yt),ut||(Re.tickprefix&&!Nt(Re.showtickprefix)&&(_t.text=Re.tickprefix+_t.text),Re.ticksuffix&&!Nt(Re.showticksuffix)&&(_t.text+=Re.ticksuffix)),Re.labelalias&&Re.labelalias.hasOwnProperty(_t.text)){var Wt=Re.labelalias[_t.text];typeof Wt=="string"&&(_t.text=Wt)}if(Re.tickson==="boundaries"||Re.showdividers){var Xt=function(Qt){var rn=Re.l2p(Qt);return rn>=0&&rn<=Re._length?Qt:null};_t.xbnd=[Xt(_t.x-.5),Xt(_t.x+Re.dtick-.5)]}return _t},X.hoverLabelText=function(Re,Ne,Qe){Qe&&(Re=v.extendFlat({},Re,{hoverformat:Qe}));var ut=Array.isArray(Ne)?Ne[0]:Ne,dt=Array.isArray(Ne)?Ne[1]:void 0;if(dt!==void 0&&dt!==ut)return X.hoverLabelText(Re,ut,Qe)+" - "+X.hoverLabelText(Re,dt,Qe);var _t=Re.type==="log"&&ut<=0,It=X.tickText(Re,Re.c2l(_t?-ut:ut),"hover").text;return _t?ut===0?"0":F+It:It};var we=["f","p","n","μ","m","","k","M","G","T"];function Ee(Re){return Re==="SI"||Re==="B"}function Ve(Re){return Re>14||Re<-15}function $e(Re,Ne,Qe,ut){var dt=Re<0,_t=Ne._tickround,It=Qe||Ne.exponentformat||"B",Lt=Ne._tickexponent,yt=X.getTickFormat(Ne),Pt=Ne.separatethousands;if(ut){var wt={exponentformat:It,minexponent:Ne.minexponent,dtick:Ne.showexponent==="none"?Ne.dtick:g(Re)&&Math.abs(Re)||1,range:Ne.showexponent==="none"?Ne.range.map(Ne.r2d):[0,Re||1]};je(wt),_t=(Number(wt._tickround)||0)+4,Lt=wt._tickexponent,Ne.hoverformat&&(yt=Ne.hoverformat)}if(yt)return Ne._numFormat(yt)(Re).replace(/-/g,F);var Rt,Nt=Math.pow(10,-_t)/2;if(It==="none"&&(Lt=0),(Re=Math.abs(Re))"+Rt+"":It==="B"&&Lt===9?Re+="B":Ee(It)&&(Re+=we[Lt/3+5])),dt?F+Re:Re}function Ye(Re,Ne){if(Re){var Qe=Object.keys(G).reduce(function(ut,dt){return Ne.indexOf(dt)!==-1&&G[dt].forEach(function(_t){ut[_t]=1}),ut},{});Object.keys(Re).forEach(function(ut){Qe[ut]||(ut.length===1?Re[ut]=0:delete Re[ut])})}}function st(Re,Ne){for(var Qe=[],ut={},dt=0;dt1&&Qe=dt.min&&Re=0,rn=wt(Nt,Yt[1])<=0;return(Wt||Qt)&&(Xt||rn)}if(Re.tickformatstops&&Re.tickformatstops.length>0)switch(Re.type){case"date":case"linear":for(Ne=0;Ne=It(dt)))){Qe=ut;break}break;case"log":for(Ne=0;Ne=0&&dt.unshift(dt.splice(Pt,1).shift())}});var It={false:{left:0,right:0}};return v.syncOrAsync(dt.map(function(Lt){return function(){if(Lt){var yt=X.getFromId(Re,Lt);Qe||(Qe={}),Qe.axShifts=It,Qe.overlayingShiftedAx=_t;var Pt=X.drawOne(Re,yt,Qe);return yt._shiftPusher&&ft(yt,yt._fullDepth||0,It,!0),yt._r=yt.range.slice(),yt._rl=v.simpleMap(yt._r,yt.r2l),Pt}}}))},X.drawOne=function(Re,Ne,Qe){var ut,dt,_t,It=(Qe=Qe||{}).axShifts||{},Lt=Qe.overlayingShiftedAx||[];Ne.setScale();var yt=Re._fullLayout,Pt=Ne._id,wt=Pt.charAt(0),Rt=X.counterLetter(Pt),Nt=yt._plots[Ne._mainSubplot];if(Nt){if(Ne._shiftPusher=Ne.autoshift||Lt.indexOf(Ne._id)!==-1||Lt.indexOf(Ne.overlaying)!==-1,Ne._shiftPusher&Ne.anchor==="free"){var Yt=Ne.linewidth/2||0;Ne.ticks==="inside"&&(Yt+=Ne.ticklen),ft(Ne,Yt,It,!0),ft(Ne,Ne.shift||0,It,!1)}Qe.skipTitle===!0&&Ne._shift!==void 0||(Ne._shift=function(En,mn){return En.autoshift?mn[En.overlaying][En.side]:En.shift||0}(Ne,It));var Wt=Nt[wt+"axislayer"],Xt=Ne._mainLinePosition,Qt=Xt+=Ne._shift,rn=Ne._mainMirrorPosition,xn=Ne._vals=X.calcTicks(Ne),un=[Ne.mirror,Qt,rn].join("_");for(ut=0;ut0?En.bottom-Vn:0,Xn))));var nr=0,Qn=0;if(Ne._shiftPusher&&(nr=Math.max(Xn,En.height>0?yn==="l"?Vn-En.left:En.right-Vn:0),Ne.title.text!==yt._dfltTitle[wt]&&(Qn=(Ne._titleStandoff||0)+(Ne._titleScoot||0),yn==="l"&&(Qn+=bt(Ne))),Ne._fullDepth=Math.max(nr,Qn)),Ne.automargin){mn={x:0,y:0,r:0,l:0,t:0,b:0};var hr=[0,1],cr=typeof Ne._shift=="number"?Ne._shift:0;if(wt==="x"){if(yn==="b"?mn[yn]=Ne._depth:(mn[yn]=Ne._depth=Math.max(En.width>0?Vn-En.top:0,Xn),hr.reverse()),En.width>0){var pr=En.right-(Ne._offset+Ne._length);pr>0&&(mn.xr=1,mn.r=pr);var dr=Ne._offset-En.left;dr>0&&(mn.xl=0,mn.l=dr)}}else if(yn==="l"?(Ne._depth=Math.max(En.height>0?Vn-En.left:0,Xn),mn[yn]=Ne._depth-cr):(Ne._depth=Math.max(En.height>0?En.right-Vn:0,Xn),mn[yn]=Ne._depth+cr,hr.reverse()),En.height>0){var br=En.bottom-(Ne._offset+Ne._length);br>0&&(mn.yb=0,mn.b=br);var Ir=Ne._offset-En.top;Ir>0&&(mn.yt=1,mn.t=Ir)}mn[Rt]=Ne.anchor==="free"?Ne.position:Ne._anchorAxis.domain[hr[0]],Ne.title.text!==yt._dfltTitle[wt]&&(mn[yn]+=bt(Ne)+(Ne.title.standoff||0)),Ne.mirror&&Ne.anchor!=="free"&&((wn={x:0,y:0,r:0,l:0,t:0,b:0})[Sn]=Ne.linewidth,Ne.mirror&&Ne.mirror!==!0&&(wn[Sn]+=Xn),Ne.mirror===!0||Ne.mirror==="ticks"?wn[Rt]=Ne._anchorAxis.domain[hr[1]]:Ne.mirror!=="all"&&Ne.mirror!=="allticks"||(wn[Rt]=[Ne._counterDomainMin,Ne._counterDomainMax][hr[1]]))}zn&&(gn=M.getComponentMethod("rangeslider","autoMarginOpts")(Re,Ne)),typeof Ne.automargin=="string"&&(Ye(mn,Ne.automargin),Ye(wn,Ne.automargin)),i.autoMargin(Re,xt(Ne),mn),i.autoMargin(Re,Ft(Ne),wn),i.autoMargin(Re,Ot(Ne),gn)}),v.syncOrAsync(Jt)}}function On(En){var mn=Pt+(En||"tick");return An[mn]||(An[mn]=function(wn,gn){var yn,Sn,Vn,Xn;return wn._selections[gn].size()?(yn=1/0,Sn=-1/0,Vn=1/0,Xn=-1/0,wn._selections[gn].each(function(){var nr=kt(this),Qn=o.bBox(nr.node().parentNode);yn=Math.min(yn,Qn.top),Sn=Math.max(Sn,Qn.bottom),Vn=Math.min(Vn,Qn.left),Xn=Math.max(Xn,Qn.right)})):(yn=0,Sn=0,Vn=0,Xn=0),{top:yn,bottom:Sn,left:Vn,right:Xn,height:Sn-yn,width:Xn-Vn}}(Ne,mn)),An[mn]}},X.getTickSigns=function(Re,Ne){var Qe=Re._id.charAt(0),ut={x:"top",y:"right"}[Qe],dt=Re.side===ut?1:-1,_t=[-1,1,dt,-dt];return(Ne?(Re.minor||{}).ticks:Re.ticks)!=="inside"==(Qe==="x")&&(_t=_t.map(function(It){return-It})),Re.side&&_t.push({l:-1,t:-1,r:1,b:1}[Re.side.charAt(0)]),_t},X.makeTransTickFn=function(Re){return Re._id.charAt(0)==="x"?function(Ne){return f(Re._offset+Re.l2p(Ne.x),0)}:function(Ne){return f(0,Re._offset+Re.l2p(Ne.x))}},X.makeTransTickLabelFn=function(Re){var Ne=function(dt){var _t=dt.ticklabelposition||"",It=function(rn){return _t.indexOf(rn)!==-1},Lt=It("top"),yt=It("left"),Pt=It("right"),wt=It("bottom"),Rt=It("inside"),Nt=wt||yt||Lt||Pt;if(!Nt&&!Rt)return[0,0];var Yt=dt.side,Wt=Nt?(dt.tickwidth||0)/2:0,Xt=3,Qt=dt.tickfont?dt.tickfont.size:12;return(wt||Lt)&&(Wt+=Qt*ne,Xt+=(dt.linewidth||0)/2),(yt||Pt)&&(Wt+=(dt.linewidth||0)/2,Xt+=3),Rt&&Yt==="top"&&(Xt-=Qt*(1-ne)),(yt||Lt)&&(Wt=-Wt),Yt!=="bottom"&&Yt!=="right"||(Xt=-Xt),[Nt?Wt:0,Rt?Xt:0]}(Re),Qe=Ne[0],ut=Ne[1];return Re._id.charAt(0)==="x"?function(dt){return f(Qe+Re._offset+Re.l2p(ot(dt)),ut)}:function(dt){return f(ut,Qe+Re._offset+Re.l2p(ot(dt)))}},X.makeTickPath=function(Re,Ne,Qe,ut){ut||(ut={});var dt=ut.minor;if(dt&&!Re.minor)return"";var _t=ut.len!==void 0?ut.len:dt?Re.minor.ticklen:Re.ticklen,It=Re._id.charAt(0),Lt=(Re.linewidth||1)/2;return It==="x"?"M0,"+(Ne+Lt*Qe)+"v"+_t*Qe:"M"+(Ne+Lt*Qe)+",0h"+_t*Qe},X.makeLabelFns=function(Re,Ne,Qe){var ut=Re.ticklabelposition||"",dt=function(Dn){return ut.indexOf(Dn)!==-1},_t=dt("top"),It=dt("left"),Lt=dt("right"),yt=dt("bottom")||It||_t||Lt,Pt=dt("inside"),wt=ut==="inside"&&Re.ticks==="inside"||!Pt&&Re.ticks==="outside"&&Re.tickson!=="boundaries",Rt=0,Nt=0,Yt=wt?Re.ticklen:0;if(Pt?Yt*=-1:yt&&(Yt=0),wt&&(Rt+=Yt,Qe)){var Wt=v.deg2rad(Qe);Rt=Yt*Math.cos(Wt)+1,Nt=Yt*Math.sin(Wt)}Re.showticklabels&&(wt||Re.showline)&&(Rt+=.2*Re.tickfont.size);var Xt,Qt,rn,xn,un,An={labelStandoff:Rt+=(Re.linewidth||1)/2*(Pt?-1:1),labelShift:Nt},Yn=0,kn=Re.side,sn=Re._id.charAt(0),Tn=Re.tickangle;if(sn==="x")xn=(un=!Pt&&kn==="bottom"||Pt&&kn==="top")?1:-1,Pt&&(xn*=-1),Xt=Nt*xn,Qt=Ne+Rt*xn,rn=un?1:-.2,Math.abs(Tn)===90&&(Pt?rn+=H:rn=Tn===-90&&kn==="bottom"?ne:Tn===90&&kn==="top"?H:.5,Yn=H/2*(Tn/90)),An.xFn=function(Dn){return Dn.dx+Xt+Yn*Dn.fontSize},An.yFn=function(Dn){return Dn.dy+Qt+Dn.fontSize*rn},An.anchorFn=function(Dn,In){if(yt){if(It)return"end";if(Lt)return"start"}return g(In)&&In!==0&&In!==180?In*xn<0!==Pt?"end":"start":"middle"},An.heightFn=function(Dn,In,jn){return In<-60||In>60?-.5*jn:Re.side==="top"!==Pt?-jn:0};else if(sn==="y"){if(xn=(un=!Pt&&kn==="left"||Pt&&kn==="right")?1:-1,Pt&&(xn*=-1),Xt=Rt,Qt=Nt*xn,rn=0,Pt||Math.abs(Tn)!==90||(rn=Tn===-90&&kn==="left"||Tn===90&&kn==="right"?ne:.5),Pt){var dn=g(Tn)?+Tn:0;if(dn!==0){var pn=v.deg2rad(dn);Yn=Math.abs(Math.sin(pn))*ne*xn,rn=0}}An.xFn=function(Dn){return Dn.dx+Ne-(Xt+Dn.fontSize*rn)*xn+Yn*Dn.fontSize},An.yFn=function(Dn){return Dn.dy+Qt+Dn.fontSize*H},An.anchorFn=function(Dn,In){return g(In)&&Math.abs(In)===90?"middle":un?"end":"start"},An.heightFn=function(Dn,In,jn){return Re.side==="right"&&(In*=-1),In<-30?-jn:In<30?-.5*jn:0}}return An},X.drawTicks=function(Re,Ne,Qe){Qe=Qe||{};var ut=Ne._id+"tick",dt=[].concat(Ne.minor&&Ne.minor.ticks?Qe.vals.filter(function(It){return It.minor&&!It.noTick}):[]).concat(Ne.ticks?Qe.vals.filter(function(It){return!It.minor&&!It.noTick}):[]),_t=Qe.layer.selectAll("path."+ut).data(dt,ht);_t.exit().remove(),_t.enter().append("path").classed(ut,1).classed("ticks",1).classed("crisp",Qe.crisp!==!1).each(function(It){return u.stroke(d.select(this),It.minor?Ne.minor.tickcolor:Ne.tickcolor)}).style("stroke-width",function(It){return o.crispRound(Re,It.minor?Ne.minor.tickwidth:Ne.tickwidth,1)+"px"}).attr("d",Qe.path).style("display",null),nt(Ne,[$]),_t.attr("transform",Qe.transFn)},X.drawGrid=function(Re,Ne,Qe){if(Qe=Qe||{},Ne.tickmode!=="sync"){var ut=Ne._id+"grid",dt=Ne.minor&&Ne.minor.showgrid,_t=dt?Qe.vals.filter(function(rn){return rn.minor}):[],It=Ne.showgrid?Qe.vals.filter(function(rn){return!rn.minor}):[],Lt=Qe.counterAxis;if(Lt&&X.shouldShowZeroLine(Re,Ne,Lt))for(var yt=Ne.tickmode==="array",Pt=0;Pt=0;Wt--){var Xt=Wt?Nt:Yt;if(Xt){var Qt=Xt.selectAll("path."+ut).data(Wt?It:_t,ht);Qt.exit().remove(),Qt.enter().append("path").classed(ut,1).classed("crisp",Qe.crisp!==!1),Qt.attr("transform",Qe.transFn).attr("d",Qe.path).each(function(rn){return u.stroke(d.select(this),rn.minor?Ne.minor.gridcolor:Ne.gridcolor||"#ddd")}).style("stroke-dasharray",function(rn){return o.dashStyle(rn.minor?Ne.minor.griddash:Ne.griddash,rn.minor?Ne.minor.gridwidth:Ne.gridwidth)}).style("stroke-width",function(rn){return(rn.minor?Rt:Ne._gw)+"px"}).style("display",null),typeof Qe.path=="function"&&Qt.attr("d",Qe.path)}}nt(Ne,[W,j])}},X.drawZeroLine=function(Re,Ne,Qe){Qe=Qe||Qe;var ut=Ne._id+"zl",dt=X.shouldShowZeroLine(Re,Ne,Qe.counterAxis),_t=Qe.layer.selectAll("path."+ut).data(dt?[{x:0,id:Ne._id}]:[]);_t.exit().remove(),_t.enter().append("path").classed(ut,1).classed("zl",1).classed("crisp",Qe.crisp!==!1).each(function(){Qe.layer.selectAll("path").sort(function(It,Lt){return ie(It.id,Lt.id)})}),_t.attr("transform",Qe.transFn).attr("d",Qe.path).call(u.stroke,Ne.zerolinecolor||u.defaultLine).style("stroke-width",o.crispRound(Re,Ne.zerolinewidth,Ne._gw||1)+"px").style("display",null),nt(Ne,[N])},X.drawLabels=function(Re,Ne,Qe){Qe=Qe||{};var ut=Re._fullLayout,dt=Ne._id,_t=dt.charAt(0),It=Qe.cls||dt+"tick",Lt=Qe.vals.filter(function(xn){return xn.text}),yt=Qe.labelFns,Pt=Qe.secondary?0:Ne.tickangle,wt=(Ne._prevTickAngles||{})[It],Rt=Qe.layer.selectAll("g."+It).data(Ne.showticklabels?Lt:[],ht),Nt=[];function Yt(xn,un){xn.each(function(An){var Yn=d.select(this),kn=Yn.select(".text-math-group"),sn=yt.anchorFn(An,un),Tn=Qe.transFn.call(Yn.node(),An)+(g(un)&&+un!=0?" rotate("+un+","+yt.xFn(An)+","+(yt.yFn(An)-An.fontSize/2)+")":""),dn=l.lineCount(Yn),pn=te*An.fontSize,Dn=yt.heightFn(An,g(un)?+un:0,(dn-1)*pn);if(Dn&&(Tn+=f(0,Dn)),kn.empty()){var In=Yn.select("text");In.attr({transform:Tn,"text-anchor":sn}),In.style("opacity",1),Ne._adjustTickLabelsOverflow&&Ne._adjustTickLabelsOverflow()}else{var jn=o.bBox(kn.node()).width*{end:-.5,start:.5}[sn];kn.attr("transform",Tn+f(jn,0))}})}Rt.enter().append("g").classed(It,1).append("text").attr("text-anchor","middle").each(function(xn){var un=d.select(this),An=Re._promises.length;un.call(l.positionText,yt.xFn(xn),yt.yFn(xn)).call(o.font,xn.font,xn.fontSize,xn.fontColor).text(xn.text).call(l.convertToTspans,Re),Re._promises[An]?Nt.push(Re._promises.pop().then(function(){Yt(un,Pt)})):Yt(un,Pt)}),nt(Ne,[U]),Rt.exit().remove(),Qe.repositionOnUpdate&&Rt.each(function(xn){d.select(this).select("text").call(l.positionText,yt.xFn(xn),yt.yFn(xn))}),Ne._adjustTickLabelsOverflow=function(){var xn=Ne.ticklabeloverflow;if(xn&&xn!=="allow"){var un=xn.indexOf("hide")!==-1,An=Ne._id.charAt(0)==="x",Yn=0,kn=An?Re._fullLayout.width:Re._fullLayout.height;if(xn.indexOf("domain")!==-1){var sn=v.simpleMap(Ne.range,Ne.r2l);Yn=Ne.l2p(sn[0])+Ne._offset,kn=Ne.l2p(sn[1])+Ne._offset}var Tn=Math.min(Yn,kn),dn=Math.max(Yn,kn),pn=Ne.side,Dn=1/0,In=-1/0;for(var jn in Rt.each(function(lr){var rr=d.select(this);if(rr.select(".text-math-group").empty()){var Sr=o.bBox(rr.node()),yr=0;An?(Sr.right>dn||Sr.leftdn||Sr.top+(Ne.tickangle?0:lr.fontSize/4)Ne["_visibleLabelMin_"+sn._id]?qn.style("display","none"):dn.K!=="tick"||Tn||qn.style("display",null)})})})})},Yt(Rt,wt+1?wt:Pt);var Wt=null;Ne._selections&&(Ne._selections[It]=Rt);var Xt=[function(){return Nt.length&&Promise.all(Nt)}];Ne.automargin&&ut._redrawFromAutoMarginCount&&wt===90?(Wt=90,Xt.push(function(){Yt(Rt,wt)})):Xt.push(function(){if(Yt(Rt,Pt),Lt.length&&_t==="x"&&!g(Pt)&&(Ne.type!=="log"||String(Ne.dtick).charAt(0)!=="D")){Wt=0;var xn,un=0,An=[];if(Rt.each(function(rr){un=Math.max(un,rr.fontSize);var Sr=Ne.l2p(rr.x),yr=kt(this),or=o.bBox(yr.node());An.push({top:0,bottom:10,height:10,left:Sr-or.width/2,right:Sr+or.width/2+2,width:or.width+2})}),Ne.tickson!=="boundaries"&&!Ne.showdividers||Qe.secondary){var Yn=Lt.length,kn=Math.abs((Lt[Yn-1].x-Lt[0].x)*Ne._m)/(Yn-1),sn=Ne.ticklabelposition||"",Tn=function(rr){return sn.indexOf(rr)!==-1},dn=Tn("top"),pn=Tn("left"),Dn=Tn("right"),In=Tn("bottom")||pn||dn||Dn?(Ne.tickwidth||0)+6:0,jn=kn<2.5*un||Ne.type==="multicategory"||Ne._name==="realaxis";for(xn=0;xn1)for(Lt=1;Lt2*b}(h,s))return"date";var _=c.autotypenumbers!=="strict";return function(k,E){for(var x=k.length,A=u(x),L=0,b=0,R={},I=0;I2*L}(h,_)?"category":function(k,E){for(var x=k.length,A=0;A=2){var b,R,I="";if(L.length===2){for(b=0;b<2;b++)if(R=_(L[b])){I=m;break}}var O=A("pattern",I);if(O===m)for(b=0;b<2;b++)(R=_(L[b]))&&(E.bounds[b]=L[b]=R-1);if(O)for(b=0;b<2;b++)switch(R=L[b],O){case m:if(!d(R)||(R=+R)!==Math.floor(R)||R<0||R>=7)return void(E.enabled=!1);E.bounds[b]=L[b]=R;break;case w:if(!d(R)||(R=+R)<0||R>24)return void(E.enabled=!1);E.bounds[b]=L[b]=R}if(x.autorange===!1){var z=x.range;if(z[0]z[1])return void(E.enabled=!1)}else if(L[0]>z[0]&&L[1]l?1:-1:+(M.substr(1)||1)-+(v.substr(1)||1)},p.ref2id=function(M){return!!/^[xyz]/.test(M)&&M.split(" ")[0]},p.isLinked=function(M,v){return i(v,M._axisMatchGroups)||i(v,M._axisConstraintGroups)}},15258:function(T){T.exports=function(p,t,d,g){if(t.type==="category"){var i,M=p.categoryarray,v=Array.isArray(M)&&M.length>0;v&&(i="array");var f,l=d("categoryorder",i);l==="array"&&(f=d("categoryarray")),v||l!=="array"||(l=t.categoryorder="trace"),l==="trace"?t._initialCategories=[]:l==="array"?t._initialCategories=f.slice():(f=function(a,u){var o,s,c,h=u.dataAttr||a._id.charAt(0),m={};if(u.axData)o=u.axData;else for(o=[],s=0;sk?E.substr(k):x.substr(_))+A:E+x+y*S:A}function m(y,S){for(var _=S._size,k=_.h/_.w,E={},x=Object.keys(y),A=0;Al*F)||j){for(_=0;_Q&&ueZ&&(Z=ue);b/=(Z-te)/(2*X),te=x.l2r(te),Z=x.l2r(Z),x.range=x._input.range=q=0?Math.min(ue,.9):1/(1/Math.max(ue,-.3)+3.222))}function q(ue,ce,ye,de,me){return ue.append("path").attr("class","zoombox").style({fill:ce>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("transform",l(ye,de)).attr("d",me+"Z")}function H(ue,ce,ye){return ue.append("path").attr("class","zoombox-corners").style({fill:u.background,stroke:u.defaultLine,"stroke-width":1,opacity:0}).attr("transform",l(ce,ye)).attr("d","M0,0Z")}function ne(ue,ce,ye,de,me,pe){ue.attr("d",de+"M"+ye.l+","+ye.t+"v"+ye.h+"h"+ye.w+"v-"+ye.h+"h-"+ye.w+"Z"),te(ue,ce,me,pe)}function te(ue,ce,ye,de){ye||(ue.transition().style("fill",de>.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),ce.transition().style("opacity",1).duration(200))}function Z(ue){d.select(ue).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}function X(ue){B&&ue.data&&ue._context.showTips&&(g.notifier(g._(ue,"Double-click to zoom back out"),"long"),B=!1)}function Q(ue){var ce=Math.floor(Math.min(ue.b-ue.t,ue.r-ue.l,F)/2);return"M"+(ue.l-3.5)+","+(ue.t-.5+ce)+"h3v"+-ce+"h"+ce+"v-3h-"+(ce+3)+"ZM"+(ue.r+3.5)+","+(ue.t-.5+ce)+"h-3v"+-ce+"h"+-ce+"v-3h"+(ce+3)+"ZM"+(ue.r+3.5)+","+(ue.b+.5-ce)+"h-3v"+ce+"h"+-ce+"v3h"+(ce+3)+"ZM"+(ue.l-3.5)+","+(ue.b+.5-ce)+"h3v"+ce+"h"+ce+"v3h-"+(ce+3)+"Z"}function re(ue,ce,ye,de,me){for(var pe,xe,Pe,_e,Me=!1,Se={},Ce={},ae=(me||{}).xaHash,fe=(me||{}).yaHash,be=0;be=0)dn._fullLayout._deactivateShape(dn);else{var pn=dn._fullLayout.clickmode;if(Z(dn),sn!==2||Ft||rn(),xt)pn.indexOf("select")>-1&&R(Tn,dn,ae,fe,ce.id,dt),pn.indexOf("event")>-1&&s.click(dn,Tn,ce.id);else if(sn===1&&Ft){var Dn=xe?Me:_e,In=xe==="s"||Pe==="w"?0:1,jn=Dn._name+".range["+In+"]",Gn=function(rr,Sr){var yr,or=rr.range[Sr],vr=Math.abs(or-rr.range[1-Sr]);return rr.type==="date"?or:rr.type==="log"?(yr=Math.ceil(Math.max(0,-Math.log(vr)/Math.LN10))+3,i("."+yr+"g")(Math.pow(10,or))):(yr=Math.floor(Math.log(Math.abs(or))/Math.LN10)-Math.floor(Math.log(vr)/Math.LN10)+4,i("."+String(yr)+"g")(or))}(Dn,In),qn="left",lr="middle";if(Dn.fixedrange)return;xe?(lr=xe==="n"?"top":"bottom",Dn.side==="right"&&(qn="right")):Pe==="e"&&(qn="right"),dn._context.showAxisRangeEntryBoxes&&d.select(qt).call(a.makeEditable,{gd:dn,immediate:!0,background:dn._fullLayout.paper_bgcolor,text:String(Gn),fill:Dn.tickfont?Dn.tickfont.color:"#444",horizontalAlign:qn,verticalAlign:lr}).on("edit",function(rr){var Sr=Dn.d2r(rr);Sr!==void 0&&f.call("_guiRelayout",dn,jn,Sr)})}}}function Lt(sn,Tn){if(ue._transitioningWithDuration)return!1;var dn=Math.max(0,Math.min(Le,bt*sn+Vt)),pn=Math.max(0,Math.min(Be,Et*Tn+Ke)),Dn=Math.abs(dn-Vt),In=Math.abs(pn-Ke);function jn(){Re="",Je.r=Je.l,Je.t=Je.b,Qe.attr("d","M0,0Z")}if(Je.l=Math.min(Vt,dn),Je.r=Math.max(Vt,dn),Je.t=Math.min(Ke,pn),Je.b=Math.max(Ke,pn),ze.isSubplotConstrained)Dn>F||In>F?(Re="xy",Dn/Le>In/Be?(In=Dn*Be/Le,Ke>pn?Je.t=Ke-In:Je.b=Ke+In):(Dn=In*Le/Be,Vt>dn?Je.l=Vt-Dn:Je.r=Vt+Dn),Qe.attr("d",Q(Je))):jn();else if(je.isSubplotConstrained)if(Dn>F||In>F){Re="xy";var Gn=Math.min(Je.l/Le,(Be-Je.b)/Be),qn=Math.max(Je.r/Le,(Be-Je.t)/Be);Je.l=Gn*Le,Je.r=qn*Le,Je.b=(1-Gn)*Be,Je.t=(1-qn)*Be,Qe.attr("d",Q(Je))}else jn();else!we||In0){var lr;if(je.isSubplotConstrained||!ge&&we.length===1){for(lr=0;lrx[1]-.000244140625&&(M.domain=a),g.noneOrAll(i.domain,M.domain,a),M.tickmode==="sync"&&(M.tickmode="auto")}return v("layer"),M}},89426:function(T,p,t){var d=t(59652);T.exports=function(g,i,M,v,f){f||(f={});var l=f.tickSuffixDflt,a=d(g);M("tickprefix")&&M("showtickprefix",a),M("ticksuffix",l)&&M("showticksuffix",a)}},42449:function(T,p,t){var d=t(18783).FROM_BL;T.exports=function(g,i,M){M===void 0&&(M=d[g.constraintoward||"center"]);var v=[g.r2l(g.range[0]),g.r2l(g.range[1])],f=v[0]+(v[1]-v[0])*M;g.range=g._input.range=[g.l2r(f+(v[0]-f)*i),g.l2r(f+(v[1]-f)*i)],g.setScale()}},21994:function(T,p,t){var d=t(39898),g=t(84096).g0,i=t(71828),M=i.numberFormat,v=t(92770),f=i.cleanNumber,l=i.ms2DateTime,a=i.dateTime2ms,u=i.ensureNumber,o=i.isArrayOrTypedArray,s=t(50606),c=s.FP_SAFE,h=s.BADNUM,m=s.LOG_CLIP,w=s.ONEWEEK,y=s.ONEDAY,S=s.ONEHOUR,_=s.ONEMIN,k=s.ONESEC,E=t(41675),x=t(85555),A=x.HOUR_PATTERN,L=x.WEEKDAY_PATTERN;function b(I){return Math.pow(10,I)}function R(I){return I!=null}T.exports=function(I,O){O=O||{};var z=I._id||"x",F=z.charAt(0);function B(re,ie){if(re>0)return Math.log(re)/Math.LN10;if(re<=0&&ie&&I.range&&I.range.length===2){var oe=I.range[0],ue=I.range[1];return .5*(oe+ue-2*m*Math.abs(oe-ue))}return h}function N(re,ie,oe,ue){if((ue||{}).msUTC&&v(re))return+re;var ce=a(re,oe||I.calendar);if(ce===h){if(!v(re))return h;re=+re;var ye=Math.floor(10*i.mod(re+.05,1)),de=Math.round(re-ye/10);ce=a(new Date(de))+ye/10}return ce}function W(re,ie,oe){return l(re,ie,oe||I.calendar)}function j(re){return I._categories[Math.round(re)]}function $(re){if(R(re)){if(I._categoriesMap===void 0&&(I._categoriesMap={}),I._categoriesMap[re]!==void 0)return I._categoriesMap[re];I._categories.push(typeof re=="number"?String(re):re);var ie=I._categories.length-1;return I._categoriesMap[re]=ie,ie}return h}function U(re){if(I._categoriesMap)return I._categoriesMap[re]}function G(re){var ie=U(re);return ie!==void 0?ie:v(re)?+re:void 0}function q(re){return v(re)?+re:U(re)}function H(re,ie,oe){return d.round(oe+ie*re,2)}function ne(re,ie,oe){return(re-oe)/ie}var te=function(re){return v(re)?H(re,I._m,I._b):h},Z=function(re){return ne(re,I._m,I._b)};if(I.rangebreaks){var X=F==="y";te=function(re){if(!v(re))return h;var ie=I._rangebreaks.length;if(!ie)return H(re,I._m,I._b);var oe=X;I.range[0]>I.range[1]&&(oe=!oe);for(var ue=oe?-1:1,ce=ue*re,ye=0,de=0;depe)){ye=ce<(me+pe)/2?de:de+1;break}ye=de+1}var xe=I._B[ye]||0;return isFinite(xe)?H(re,I._m2,xe):0},Z=function(re){var ie=I._rangebreaks.length;if(!ie)return ne(re,I._m,I._b);for(var oe=0,ue=0;ueI._rangebreaks[ue].pmax&&(oe=ue+1);return ne(re,I._m2,I._B[oe])}}I.c2l=I.type==="log"?B:u,I.l2c=I.type==="log"?b:u,I.l2p=te,I.p2l=Z,I.c2p=I.type==="log"?function(re,ie){return te(B(re,ie))}:te,I.p2c=I.type==="log"?function(re){return b(Z(re))}:Z,["linear","-"].indexOf(I.type)!==-1?(I.d2r=I.r2d=I.d2c=I.r2c=I.d2l=I.r2l=f,I.c2d=I.c2r=I.l2d=I.l2r=u,I.d2p=I.r2p=function(re){return I.l2p(f(re))},I.p2d=I.p2r=Z,I.cleanPos=u):I.type==="log"?(I.d2r=I.d2l=function(re,ie){return B(f(re),ie)},I.r2d=I.r2c=function(re){return b(f(re))},I.d2c=I.r2l=f,I.c2d=I.l2r=u,I.c2r=B,I.l2d=b,I.d2p=function(re,ie){return I.l2p(I.d2r(re,ie))},I.p2d=function(re){return b(Z(re))},I.r2p=function(re){return I.l2p(f(re))},I.p2r=Z,I.cleanPos=u):I.type==="date"?(I.d2r=I.r2d=i.identity,I.d2c=I.r2c=I.d2l=I.r2l=N,I.c2d=I.c2r=I.l2d=I.l2r=W,I.d2p=I.r2p=function(re,ie,oe){return I.l2p(N(re,0,oe))},I.p2d=I.p2r=function(re,ie,oe){return W(Z(re),ie,oe)},I.cleanPos=function(re){return i.cleanDate(re,h,I.calendar)}):I.type==="category"?(I.d2c=I.d2l=$,I.r2d=I.c2d=I.l2d=j,I.d2r=I.d2l_noadd=G,I.r2c=function(re){var ie=q(re);return ie!==void 0?ie:I.fraction2r(.5)},I.l2r=I.c2r=u,I.r2l=q,I.d2p=function(re){return I.l2p(I.r2c(re))},I.p2d=function(re){return j(Z(re))},I.r2p=I.d2p,I.p2r=Z,I.cleanPos=function(re){return typeof re=="string"&&re!==""?re:u(re)}):I.type==="multicategory"&&(I.r2d=I.c2d=I.l2d=j,I.d2r=I.d2l_noadd=G,I.r2c=function(re){var ie=G(re);return ie!==void 0?ie:I.fraction2r(.5)},I.r2c_just_indices=U,I.l2r=I.c2r=u,I.r2l=G,I.d2p=function(re){return I.l2p(I.r2c(re))},I.p2d=function(re){return j(Z(re))},I.r2p=I.d2p,I.p2r=Z,I.cleanPos=function(re){return Array.isArray(re)||typeof re=="string"&&re!==""?re:u(re)},I.setupMultiCategory=function(re){var ie,oe,ue=I._traceIndices,ce=I._matchGroup;if(ce&&I._categories.length===0){for(var ye in ce)if(ye!==z){var de=O[E.id2name(ye)];ue=ue.concat(de._traceIndices)}}var me=[[0,{}],[0,{}]],pe=[];for(ie=0;iec&&(ce[oe]=c),ce[0]===ce[1]){var de=Math.max(1,Math.abs(1e-6*ce[0]));ce[0]-=de,ce[1]+=de}}else i.nestedProperty(I,re).set(ue)},I.setScale=function(re){var ie=O._size;if(I.overlaying){var oe=E.getFromId({_fullLayout:O},I.overlaying);I.domain=oe.domain}var ue=re&&I._r?"_r":"range",ce=I.calendar;I.cleanRange(ue);var ye,de,me=I.r2l(I[ue][0],ce),pe=I.r2l(I[ue][1],ce),xe=F==="y";if(xe?(I._offset=ie.t+(1-I.domain[1])*ie.h,I._length=ie.h*(I.domain[1]-I.domain[0]),I._m=I._length/(me-pe),I._b=-I._m*pe):(I._offset=ie.l+I.domain[0]*ie.w,I._length=ie.w*(I.domain[1]-I.domain[0]),I._m=I._length/(pe-me),I._b=-I._m*me),I._rangebreaks=[],I._lBreaks=0,I._m2=0,I._B=[],I.rangebreaks&&(I._rangebreaks=I.locateBreaks(Math.min(me,pe),Math.max(me,pe)),I._rangebreaks.length)){for(ye=0;yepe&&(Pe=!Pe),Pe&&I._rangebreaks.reverse();var _e=Pe?-1:1;for(I._m2=_e*I._length/(Math.abs(pe-me)-I._lBreaks),I._B.push(-I._m2*(xe?pe:me)),ye=0;yeue&&(ue+=7,ceue&&(ue+=24,ce=oe&&ce=oe&&re=je.min&&(keje.max&&(je.max=Le),Be=!1)}Be&&de.push({min:ke,max:Le})}};for(oe=0;oea.duration?(function(){for(var A={},L=0;L rect").call(M.setTranslate,0,0).call(M.setScale,1,1),_.plot.call(M.setTranslate,k._offset,E._offset).call(M.setScale,1,1);var x=_.plot.selectAll(".scatterlayer .trace");x.selectAll(".point").call(M.setPointGroupScale,1,1),x.selectAll(".textpoint").call(M.setTextPointsScale,1,1),x.call(M.hideOutsideRangePoints,_)}function S(_,k){var E=_.plotinfo,x=E.xaxis,A=E.yaxis,L=x._length,b=A._length,R=!!_.xr1,I=!!_.yr1,O=[];if(R){var z=i.simpleMap(_.xr0,x.r2l),F=i.simpleMap(_.xr1,x.r2l),B=z[1]-z[0],N=F[1]-F[0];O[0]=(z[0]*(1-k)+k*F[0]-z[0])/(z[1]-z[0])*L,O[2]=L*(1-k+k*N/B),x.range[0]=x.l2r(z[0]*(1-k)+k*F[0]),x.range[1]=x.l2r(z[1]*(1-k)+k*F[1])}else O[0]=0,O[2]=L;if(I){var W=i.simpleMap(_.yr0,A.r2l),j=i.simpleMap(_.yr1,A.r2l),$=W[1]-W[0],U=j[1]-j[0];O[1]=(W[1]*(1-k)+k*j[1]-W[1])/(W[0]-W[1])*b,O[3]=b*(1-k+k*U/$),A.range[0]=x.l2r(W[0]*(1-k)+k*j[0]),A.range[1]=A.l2r(W[1]*(1-k)+k*j[1])}else O[1]=0,O[3]=b;v.drawOne(f,x,{skipTitle:!0}),v.drawOne(f,A,{skipTitle:!0}),v.redrawComponents(f,[x._id,A._id]);var G=R?L/O[2]:1,q=I?b/O[3]:1,H=R?O[0]:0,ne=I?O[1]:0,te=R?O[0]/O[2]*L:0,Z=I?O[1]/O[3]*b:0,X=x._offset-te,Q=A._offset-Z;E.clipRect.call(M.setTranslate,H,ne).call(M.setScale,1/G,1/q),E.plot.call(M.setTranslate,X,Q).call(M.setScale,G,q),M.setPointGroupScale(E.zoomScalePts,1/G,1/q),M.setTextPointsScale(E.zoomScaleTxt,1/G,1/q)}v.redrawComponents(f)}},951:function(T,p,t){var d=t(73972).traceIs,g=t(4322);function i(v){return{v:"x",h:"y"}[v.orientation||"v"]}function M(v,f){var l=i(v),a=d(v,"box-violin"),u=d(v._fullInput||{},"candlestick");return a&&!u&&f===l&&v[l]===void 0&&v[l+"0"]===void 0}T.exports=function(v,f,l,a){l("autotypenumbers",a.autotypenumbersDflt),l("type",(a.splomStash||{}).type)==="-"&&(function(u,o){if(u.type==="-"){var s,c=u._id,h=c.charAt(0);c.indexOf("scene")!==-1&&(c=h);var m=function(A,L,b){for(var R=0;R0&&(I["_"+b+"axes"]||{})[L]||(I[b+"axis"]||b)===L&&(M(I,b)||(I[b]||[]).length||I[b+"0"]))return I}}(o,c,h);if(m)if(m.type!=="histogram"||h!=={v:"y",h:"x"}[m.orientation||"v"]){var w=h+"calendar",y=m[w],S={noMultiCategory:!d(m,"cartesian")||d(m,"noMultiCategory")};if(m.type==="box"&&m._hasPreCompStats&&h==={h:"x",v:"y"}[m.orientation||"v"]&&(S.noMultiCategory=!0),S.autotypenumbers=u.autotypenumbers,M(m,h)){var _=i(m),k=[];for(s=0;s0?".":"")+s;g.isPlainObject(c)?f(c,a,h,o+1):a(h,s,c)}})}p.manageCommandObserver=function(l,a,u,o){var s={},c=!0;a&&a._commandObserver&&(s=a._commandObserver),s.cache||(s.cache={}),s.lookupTable={};var h=p.hasSimpleAPICommandBindings(l,u,s.lookupTable);if(a&&a._commandObserver){if(h)return s;if(a._commandObserver.remove)return a._commandObserver.remove(),a._commandObserver=null,s}if(h){i(l,h,s.cache),s.check=function(){if(c){var y=i(l,h,s.cache);return y.changed&&o&&s.lookupTable[y.value]!==void 0&&(s.disable(),Promise.resolve(o({value:y.value,type:h.type,prop:h.prop,traces:h.traces,index:s.lookupTable[y.value]})).then(s.enable,s.enable)),y.changed}};for(var m=["plotly_relayout","plotly_redraw","plotly_restyle","plotly_update","plotly_animatingframe","plotly_afterplot"],w=0;w0&&N<0&&(N+=360);var $=(N-B)/4;return{type:"Polygon",coordinates:[[[B,W],[B,j],[B+$,j],[B+2*$,j],[B+3*$,j],[N,j],[N,W],[N-$,W],[N-2*$,W],[N-3*$,W],[B,W]]]}}T.exports=function(O){return new b(O)},R.plot=function(O,z,F,B){var N=this;if(B)return N.update(O,z,!0);N._geoCalcData=O,N._fullLayout=z;var W=z[this.id],j=[],$=!1;for(var U in E.layerNameToAdjective)if(U!=="frame"&&W["show"+U]){$=!0;break}for(var G=!1,q=0;q0&&j._module.calcGeoJSON(W,z)}if(!F){if(this.updateProjection(O,z))return;this.viewInitial&&this.scope===B.scope||this.saveViewInitial(B)}this.scope=B.scope,this.updateBaseLayers(z,B),this.updateDims(z,B),this.updateFx(z,B),c.generalUpdatePerTraceModule(this.graphDiv,this,O,B);var $=this.layers.frontplot.select(".scatterlayer");this.dataPoints.point=$.selectAll(".point"),this.dataPoints.text=$.selectAll("text"),this.dataPaths.line=$.selectAll(".js-line");var U=this.layers.backplot.select(".choroplethlayer");this.dataPaths.choropleth=U.selectAll("path"),this._render()},R.updateProjection=function(O,z){var F=this.graphDiv,B=z[this.id],N=z._size,W=B.domain,j=B.projection,$=B.lonaxis,U=B.lataxis,G=$._ax,q=U._ax,H=this.projection=function(Ce){var ae=Ce.projection,fe=ae.type,be=E.projNames[fe];be="geo"+l.titleCase(be);for(var ke=(g[be]||v[be])(),Le=Ce._isSatellite?180*Math.acos(1/ae.distance)/Math.PI:Ce._isClipped?E.lonaxisSpan[fe]/2:null,Be=["center","rotate","parallels","clipExtent"],ze=function(we){return we?ke:[]},je=0;jeLe*Math.PI/180}return!1},ke.getPath=function(){return i().projection(ke)},ke.getBounds=function(we){return ke.getPath().bounds(we)},ke.precision(E.precision),Ce._isSatellite&&ke.tilt(ae.tilt).distance(ae.distance),Le&&ke.clipAngle(Le-E.clipPad),ke}(B),ne=[[N.l+N.w*W.x[0],N.t+N.h*(1-W.y[1])],[N.l+N.w*W.x[1],N.t+N.h*(1-W.y[0])]],te=B.center||{},Z=j.rotation||{},X=$.range||[],Q=U.range||[];if(B.fitbounds){G._length=ne[1][0]-ne[0][0],q._length=ne[1][1]-ne[0][1],G.range=m(F,G),q.range=m(F,q);var re=(G.range[0]+G.range[1])/2,ie=(q.range[0]+q.range[1])/2;if(B._isScoped)te={lon:re,lat:ie};else if(B._isClipped){te={lon:re,lat:ie},Z={lon:re,lat:ie,roll:Z.roll};var oe=j.type,ue=E.lonaxisSpan[oe]/2||180,ce=E.lataxisSpan[oe]/2||90;X=[re-ue,re+ue],Q=[ie-ce,ie+ce]}else te={lon:re,lat:ie},Z={lon:re,lat:Z.lat,roll:Z.roll}}H.center([te.lon-Z.lon,te.lat-Z.lat]).rotate([-Z.lon,-Z.lat,Z.roll]).parallels(j.parallels);var ye=I(X,Q);H.fitExtent(ne,ye);var de=this.bounds=H.getBounds(ye),me=this.fitScale=H.scale(),pe=H.translate();if(B.fitbounds){var xe=H.getBounds(I(G.range,q.range)),Pe=Math.min((de[1][0]-de[0][0])/(xe[1][0]-xe[0][0]),(de[1][1]-de[0][1])/(xe[1][1]-xe[0][1]));isFinite(Pe)?H.scale(Pe*me):l.warn("Something went wrong during"+this.id+"fitbounds computations.")}else H.scale(j.scale*me);var _e=this.midPt=[(de[0][0]+de[1][0])/2,(de[0][1]+de[1][1])/2];if(H.translate([pe[0]+(_e[0]-pe[0]),pe[1]+(_e[1]-pe[1])]).clipExtent(de),B._isAlbersUsa){var Me=H([te.lon,te.lat]),Se=H.translate();H.translate([Se[0]-(Me[0]-Se[0]),Se[1]-(Me[1]-Se[1])])}},R.updateBaseLayers=function(O,z){var F=this,B=F.topojson,N=F.layers,W=F.basePaths;function j(H){return H==="lonaxis"||H==="lataxis"}function $(H){return!!E.lineLayers[H]}function U(H){return!!E.fillLayers[H]}var G=(this.hasChoropleth?E.layersForChoropleth:E.layers).filter(function(H){return $(H)||U(H)?z["show"+H]:!j(H)||z[H].showgrid}),q=F.framework.selectAll(".layer").data(G,String);q.exit().each(function(H){delete N[H],delete W[H],d.select(this).remove()}),q.enter().append("g").attr("class",function(H){return"layer "+H}).each(function(H){var ne=N[H]=d.select(this);H==="bg"?F.bgRect=ne.append("rect").style("pointer-events","all"):j(H)?W[H]=ne.append("path").style("fill","none"):H==="backplot"?ne.append("g").classed("choroplethlayer",!0):H==="frontplot"?ne.append("g").classed("scatterlayer",!0):$(H)?W[H]=ne.append("path").style("fill","none").style("stroke-miterlimit",2):U(H)&&(W[H]=ne.append("path").style("stroke","none"))}),q.order(),q.each(function(H){var ne=W[H],te=E.layerNameToAdjective[H];H==="frame"?ne.datum(E.sphereSVG):$(H)||U(H)?ne.datum(L(B,B.objects[H])):j(H)&&ne.datum(function(Z,X,Q){var re,ie,oe,ue=X[Z],ce=E.scopeDefaults[X.scope];Z==="lonaxis"?(re=ce.lonaxisRange,ie=ce.lataxisRange,oe=function(Se,Ce){return[Se,Ce]}):Z==="lataxis"&&(re=ce.lataxisRange,ie=ce.lonaxisRange,oe=function(Se,Ce){return[Ce,Se]});var ye={type:"linear",range:[re[0],re[1]-1e-6],tick0:ue.tick0,dtick:ue.dtick};h.setConvert(ye,Q);var de=h.calcTicks(ye);X.isScoped||Z!=="lonaxis"||de.pop();for(var me=de.length,pe=new Array(me),xe=0;xe-1&&_(d.event,B,[F.xaxis],[F.yaxis],F.id,$),j.indexOf("event")>-1&&s.click(B,d.event))})}function U(G){return F.projection.invert([G[0]+F.xaxis._offset,G[1]+F.yaxis._offset])}},R.makeFramework=function(){var O=this,z=O.graphDiv,F=z._fullLayout,B="clip"+F._uid+O.id;O.clipDef=F._clips.append("clipPath").attr("id",B),O.clipRect=O.clipDef.append("rect"),O.framework=d.select(O.container).append("g").attr("class","geo "+O.id).call(o.setClipUrl,B,z),O.project=function(N){var W=O.projection(N);return W?[W[0]-O.xaxis._offset,W[1]-O.yaxis._offset]:[null,null]},O.xaxis={_id:"x",c2p:function(N){return O.project(N)[0]}},O.yaxis={_id:"y",c2p:function(N){return O.project(N)[1]}},O.mockAxis={type:"linear",showexponent:"all",exponentformat:"B"},h.setConvert(O.mockAxis,F)},R.saveViewInitial=function(O){var z,F=O.center||{},B=O.projection,N=B.rotation||{};this.viewInitial={fitbounds:O.fitbounds,"projection.scale":B.scale},z=O._isScoped?{"center.lon":F.lon,"center.lat":F.lat}:O._isClipped?{"projection.rotation.lon":N.lon,"projection.rotation.lat":N.lat}:{"center.lon":F.lon,"center.lat":F.lat,"projection.rotation.lon":N.lon},l.extendFlat(this.viewInitial,z)},R.render=function(O){this._hasMarkerAngles&&O?this.plot(this._geoCalcData,this._fullLayout,[],!0):this._render()},R._render=function(){var O,z=this.projection,F=z.getPath();function B(W){var j=z(W.lonlat);return j?a(j[0],j[1]):null}function N(W){return z.isLonLatOverEdges(W.lonlat)?"none":null}for(O in this.basePaths)this.basePaths[O].attr("d",F);for(O in this.dataPaths)this.dataPaths[O].attr("d",function(W){return F(W.geojson)});for(O in this.dataPoints)this.dataPoints[O].attr("display",N).attr("transform",B)}},44622:function(T,p,t){var d=t(27659).AU,g=t(71828).counterRegex,i=t(69082),M="geo",v=g(M),f={};f.geo={valType:"subplotid",dflt:M,editType:"calc"},T.exports={attr:M,name:M,idRoot:M,idRegex:v,attrRegex:v,attributes:f,layoutAttributes:t(77519),supplyLayoutDefaults:t(82161),plot:function(l){for(var a=l._fullLayout,u=l.calcdata,o=a._subplots.geo,s=0;s0&&U<0&&(U+=360);var G,q,H,ne=($+U)/2;if(!S){var te=_?w.projRotate:[ne,0,0];G=o("projection.rotation.lon",te[0]),o("projection.rotation.lat",te[1]),o("projection.rotation.roll",te[2]),o("showcoastlines",!_&&L)&&(o("coastlinecolor"),o("coastlinewidth")),o("showocean",!!L&&void 0)&&o("oceancolor")}S?(q=-96.6,H=38.7):(q=_?ne:G,H=(j[0]+j[1])/2),o("center.lon",q),o("center.lat",H),k&&(o("projection.tilt"),o("projection.distance")),E&&o("projection.parallels",w.projParallels||[0,60]),o("projection.scale"),o("showland",!!L&&void 0)&&o("landcolor"),o("showlakes",!!L&&void 0)&&o("lakecolor"),o("showrivers",!!L&&void 0)&&(o("rivercolor"),o("riverwidth")),o("showcountries",_&&m!=="usa"&&L)&&(o("countrycolor"),o("countrywidth")),(m==="usa"||m==="north america"&&h===50)&&(o("showsubunits",L),o("subunitcolor"),o("subunitwidth")),_||o("showframe",L)&&(o("framecolor"),o("framewidth")),o("bgcolor"),o("fitbounds")&&(delete u.projection.scale,_?(delete u.center.lon,delete u.center.lat):x?(delete u.center.lon,delete u.center.lat,delete u.projection.rotation.lon,delete u.projection.rotation.lat,delete u.lonaxis.range,delete u.lataxis.range):(delete u.center.lon,delete u.center.lat,delete u.projection.rotation.lon))}T.exports=function(a,u,o){g(a,u,o,{type:"geo",attributes:v,handleDefaults:l,fullData:o,partition:"y"})}},74455:function(T,p,t){var d=t(39898),g=t(71828),i=t(73972),M=Math.PI/180,v=180/Math.PI,f={cursor:"pointer"},l={cursor:"auto"};function a(L,b){return d.behavior.zoom().translate(b.translate()).scale(b.scale())}function u(L,b,R){var I=L.id,O=L.graphDiv,z=O.layout,F=z[I],B=O._fullLayout,N=B[I],W={},j={};function $(U,G){W[I+"."+U]=g.nestedProperty(F,U).get(),i.call("_storeDirectGUIEdit",z,B._preGUI,W);var q=g.nestedProperty(N,U);q.get()!==G&&(q.set(G),g.nestedProperty(F,U).set(G),j[I+"."+U]=G)}R($),$("projection.scale",b.scale()/L.fitScale),$("fitbounds",!1),O.emit("plotly_relayout",j)}function o(L,b){var R=a(0,b);function I(O){var z=b.invert(L.midPt);O("center.lon",z[0]),O("center.lat",z[1])}return R.on("zoomstart",function(){d.select(this).style(f)}).on("zoom",function(){b.scale(d.event.scale).translate(d.event.translate),L.render(!0);var O=b.invert(L.midPt);L.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":b.scale()/L.fitScale,"geo.center.lon":O[0],"geo.center.lat":O[1]})}).on("zoomend",function(){d.select(this).style(l),u(L,b,I)}),R}function s(L,b){var R,I,O,z,F,B,N,W,j,$=a(0,b);function U(q){return b.invert(q)}function G(q){var H=b.rotate(),ne=b.invert(L.midPt);q("projection.rotation.lon",-H[0]),q("center.lon",ne[0]),q("center.lat",ne[1])}return $.on("zoomstart",function(){d.select(this).style(f),R=d.mouse(this),I=b.rotate(),O=b.translate(),z=I,F=U(R)}).on("zoom",function(){if(B=d.mouse(this),function(ne){var te=U(ne);if(!te)return!0;var Z=b(te);return Math.abs(Z[0]-ne[0])>2||Math.abs(Z[1]-ne[1])>2}(R))return $.scale(b.scale()),void $.translate(b.translate());b.scale(d.event.scale),b.translate([O[0],d.event.translate[1]]),F?U(B)&&(W=U(B),N=[z[0]+(W[0]-F[0]),I[1],I[2]],b.rotate(N),z=N):F=U(R=B),j=!0,L.render(!0);var q=b.rotate(),H=b.invert(L.midPt);L.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":b.scale()/L.fitScale,"geo.center.lon":H[0],"geo.center.lat":H[1],"geo.projection.rotation.lon":-q[0]})}).on("zoomend",function(){d.select(this).style(l),j&&u(L,b,G)}),$}function c(L,b){var R;b.rotate(),b.scale();var I=a(0,b),O=function($){for(var U=0,G=arguments.length,q=[];++UG?(z=(j>0?90:-90)-U,O=0):(z=Math.asin(j/G)*v-U,O=Math.sqrt(G*G-j*j));var q=180-z-2*U,H=(Math.atan2($,W)-Math.atan2(N,O))*v,ne=(Math.atan2($,W)-Math.atan2(N,-O))*v;return _(R[0],R[1],z,H)<=_(R[0],R[1],q,ne)?[z,H,R[2]]:[q,ne,R[2]]}function _(L,b,R,I){var O=k(R-L),z=k(I-b);return Math.sqrt(O*O+z*z)}function k(L){return(L%360+540)%360-180}function E(L,b,R){var I=R*M,O=L.slice(),z=b===0?1:0,F=b===2?1:2,B=Math.cos(I),N=Math.sin(I);return O[z]=L[z]*B-L[F]*N,O[F]=L[F]*B+L[z]*N,O}function x(L){return[Math.atan2(2*(L[0]*L[1]+L[2]*L[3]),1-2*(L[1]*L[1]+L[2]*L[2]))*v,Math.asin(Math.max(-1,Math.min(1,2*(L[0]*L[2]-L[3]*L[1]))))*v,Math.atan2(2*(L[0]*L[3]+L[1]*L[2]),1-2*(L[2]*L[2]+L[3]*L[3]))*v]}function A(L,b){for(var R=0,I=0,O=L.length;IMath.abs(S)?(o.boxEnd[1]=o.boxStart[1]+Math.abs(y)*F*(S>=0?1:-1),o.boxEnd[1]<_[1]?(o.boxEnd[1]=_[1],o.boxEnd[0]=o.boxStart[0]+(_[1]-o.boxStart[1])/Math.abs(F)):o.boxEnd[1]>_[3]&&(o.boxEnd[1]=_[3],o.boxEnd[0]=o.boxStart[0]+(_[3]-o.boxStart[1])/Math.abs(F))):(o.boxEnd[0]=o.boxStart[0]+Math.abs(S)/F*(y>=0?1:-1),o.boxEnd[0]<_[0]?(o.boxEnd[0]=_[0],o.boxEnd[1]=o.boxStart[1]+(_[0]-o.boxStart[0])*Math.abs(F)):o.boxEnd[0]>_[2]&&(o.boxEnd[0]=_[2],o.boxEnd[1]=o.boxStart[1]+(_[2]-o.boxStart[0])*Math.abs(F)))}}else o.boxEnabled?(y=o.boxStart[0]!==o.boxEnd[0],S=o.boxStart[1]!==o.boxEnd[1],y||S?(y&&(b(0,o.boxStart[0],o.boxEnd[0]),l.xaxis.autorange=!1),S&&(b(1,o.boxStart[1],o.boxEnd[1]),l.yaxis.autorange=!1),l.relayoutCallback()):l.glplot.setDirty(),o.boxEnabled=!1,o.boxInited=!1):o.boxInited&&(o.boxInited=!1);break;case"pan":o.boxEnabled=!1,o.boxInited=!1,h?(o.panning||(o.dragStart[0]=m,o.dragStart[1]=w),Math.abs(o.dragStart[0]-m).999&&(x="turntable"):x="turntable")}else x="turntable";c("dragmode",x),c("hovermode",h.getDfltFromLayout("hovermode"))}T.exports=function(o,s,c){var h=s._basePlotModules.length>1;M(o,s,c,{type:a,attributes:f,handleDefaults:u,fullLayout:s,font:s.font,fullData:c,getDfltFromLayout:function(m){if(!h)return d.validate(o[m],f[m])?o[m]:void 0},autotypenumbersDflt:s.autotypenumbers,paper_bgcolor:s.paper_bgcolor,calendar:s.calendar})}},65500:function(T,p,t){var d=t(77894),g=t(27670).Y,i=t(1426).extendFlat,M=t(71828).counterRegex;function v(f,l,a){return{x:{valType:"number",dflt:f,editType:"camera"},y:{valType:"number",dflt:l,editType:"camera"},z:{valType:"number",dflt:a,editType:"camera"},editType:"camera"}}T.exports={_arrayAttrRegexps:[M("scene",".annotations",!0)],bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"plot"},camera:{up:i(v(0,0,1),{}),center:i(v(0,0,0),{}),eye:i(v(1.25,1.25,1.25),{}),projection:{type:{valType:"enumerated",values:["perspective","orthographic"],dflt:"perspective",editType:"calc"},editType:"calc"},editType:"camera"},domain:g({name:"scene",editType:"plot"}),aspectmode:{valType:"enumerated",values:["auto","cube","data","manual"],dflt:"auto",editType:"plot",impliedEdits:{"aspectratio.x":void 0,"aspectratio.y":void 0,"aspectratio.z":void 0}},aspectratio:{x:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},y:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},z:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},editType:"plot",impliedEdits:{aspectmode:"manual"}},xaxis:d,yaxis:d,zaxis:d,dragmode:{valType:"enumerated",values:["orbit","turntable","zoom","pan",!1],editType:"plot"},hovermode:{valType:"enumerated",values:["closest",!1],dflt:"closest",editType:"modebar"},uirevision:{valType:"any",editType:"none"},editType:"plot",_deprecated:{cameraposition:{valType:"info_array",editType:"camera"}}}},13133:function(T,p,t){var d=t(78614),g=["xaxis","yaxis","zaxis"];function i(){this.enabled=[!0,!0,!0],this.colors=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.drawSides=[!0,!0,!0],this.lineWidth=[1,1,1]}i.prototype.merge=function(M){for(var v=0;v<3;++v){var f=M[g[v]];f.visible?(this.enabled[v]=f.showspikes,this.colors[v]=d(f.spikecolor),this.drawSides[v]=f.spikesides,this.lineWidth[v]=f.spikethickness):(this.enabled[v]=!1,this.drawSides[v]=!1)}},T.exports=function(M){var v=new i;return v.merge(M),v}},96085:function(T,p,t){T.exports=function(v){for(var f=v.axesOptions,l=v.glplot.axesPixels,a=v.fullSceneLayout,u=[[],[],[]],o=0;o<3;++o){var s=a[i[o]];if(s._length=(l[o].hi-l[o].lo)*l[o].pixelsPerDataUnit/v.dataScale[o],Math.abs(s._length)===1/0||isNaN(s._length))u[o]=[];else{s._input_range=s.range.slice(),s.range[0]=l[o].lo/v.dataScale[o],s.range[1]=l[o].hi/v.dataScale[o],s._m=1/(v.dataScale[o]*l[o].pixelsPerDataUnit),s.range[0]===s.range[1]&&(s.range[0]-=1,s.range[1]+=1);var c=s.tickmode;if(s.tickmode==="auto"){s.tickmode="linear";var h=s.nticks||g.constrain(s._length/40,4,9);d.autoTicks(s,Math.abs(s.range[1]-s.range[0])/h)}for(var m=d.calcTicks(s,{msUTC:!0}),w=0;w/g," "));u[o]=m,s.tickmode=c}}for(f.ticks=u,o=0;o<3;++o)for(M[o]=.5*(v.glplot.bounds[0][o]+v.glplot.bounds[1][o]),w=0;w<2;++w)f.bounds[w][o]=v.glplot.bounds[w][o];v.contourLevels=function(y){for(var S=new Array(3),_=0;_<3;++_){for(var k=y[_],E=new Array(k.length),x=0;xB.deltaY?1.1:.9090909090909091,W=R.glplot.getAspectratio();R.glplot.setAspectratio({x:N*W.x,y:N*W.y,z:N*W.z})}F(R)}},!!l&&{passive:!1}),R.glplot.canvas.addEventListener("mousemove",function(){if(R.fullSceneLayout.dragmode!==!1&&R.camera.mouseListener.buttons!==0){var B=z();R.graphDiv.emit("plotly_relayouting",B)}}),R.staticMode||R.glplot.canvas.addEventListener("webglcontextlost",function(B){I&&I.emit&&I.emit("plotly_webglcontextlost",{event:B,layer:R.id})},!1)),R.glplot.oncontextloss=function(){R.recoverContext()},R.glplot.onrender=function(){R.render()},!0},x.render=function(){var R,I=this,O=I.graphDiv,z=I.svgContainer,F=I.container.getBoundingClientRect();O._fullLayout._calcInverseTransform(O);var B=O._fullLayout._invScaleX,N=O._fullLayout._invScaleY,W=F.width*B,j=F.height*N;z.setAttributeNS(null,"viewBox","0 0 "+W+" "+j),z.setAttributeNS(null,"width",W),z.setAttributeNS(null,"height",j),_(I),I.glplot.axes.update(I.axesOptions);for(var $=Object.keys(I.traces),U=null,G=I.glplot.selection,q=0;q<$.length;++q)(R=I.traces[$[q]]).data.hoverinfo!=="skip"&&R.handlePick(G)&&(U=R),R.setContourLevels&&R.setContourLevels();function H(me,pe,xe){var Pe=I.fullSceneLayout[me+"axis"];return Pe.type!=="log"&&(pe=Pe.d2l(pe)),s.hoverLabelText(Pe,pe,xe)}if(U!==null){var ne=w(I.glplot.cameraParams,G.dataCoordinate);R=U.data;var te,Z=O._fullData[R.index],X=G.index,Q={xLabel:H("x",G.traceCoordinate[0],R.xhoverformat),yLabel:H("y",G.traceCoordinate[1],R.yhoverformat),zLabel:H("z",G.traceCoordinate[2],R.zhoverformat)},re=c.castHoverinfo(Z,I.fullLayout,X),ie=(re||"").split("+"),oe=re&&re==="all";Z.hovertemplate||oe||(ie.indexOf("x")===-1&&(Q.xLabel=void 0),ie.indexOf("y")===-1&&(Q.yLabel=void 0),ie.indexOf("z")===-1&&(Q.zLabel=void 0),ie.indexOf("text")===-1&&(G.textLabel=void 0),ie.indexOf("name")===-1&&(U.name=void 0));var ue=[];R.type==="cone"||R.type==="streamtube"?(Q.uLabel=H("x",G.traceCoordinate[3],R.uhoverformat),(oe||ie.indexOf("u")!==-1)&&ue.push("u: "+Q.uLabel),Q.vLabel=H("y",G.traceCoordinate[4],R.vhoverformat),(oe||ie.indexOf("v")!==-1)&&ue.push("v: "+Q.vLabel),Q.wLabel=H("z",G.traceCoordinate[5],R.whoverformat),(oe||ie.indexOf("w")!==-1)&&ue.push("w: "+Q.wLabel),Q.normLabel=G.traceCoordinate[6].toPrecision(3),(oe||ie.indexOf("norm")!==-1)&&ue.push("norm: "+Q.normLabel),R.type==="streamtube"&&(Q.divergenceLabel=G.traceCoordinate[7].toPrecision(3),(oe||ie.indexOf("divergence")!==-1)&&ue.push("divergence: "+Q.divergenceLabel)),G.textLabel&&ue.push(G.textLabel),te=ue.join("
")):R.type==="isosurface"||R.type==="volume"?(Q.valueLabel=s.hoverLabelText(I._mockAxis,I._mockAxis.d2l(G.traceCoordinate[3]),R.valuehoverformat),ue.push("value: "+Q.valueLabel),G.textLabel&&ue.push(G.textLabel),te=ue.join("
")):te=G.textLabel;var ce={x:G.traceCoordinate[0],y:G.traceCoordinate[1],z:G.traceCoordinate[2],data:Z._input,fullData:Z,curveNumber:Z.index,pointNumber:X};c.appendArrayPointValue(ce,Z,X),R._module.eventData&&(ce=Z._module.eventData(ce,G,Z,{},X));var ye={points:[ce]};if(I.fullSceneLayout.hovermode){var de=[];c.loneHover({trace:Z,x:(.5+.5*ne[0]/ne[3])*W,y:(.5-.5*ne[1]/ne[3])*j,xLabel:Q.xLabel,yLabel:Q.yLabel,zLabel:Q.zLabel,text:te,name:U.name,color:c.castHoverOption(Z,X,"bgcolor")||U.color,borderColor:c.castHoverOption(Z,X,"bordercolor"),fontFamily:c.castHoverOption(Z,X,"font.family"),fontSize:c.castHoverOption(Z,X,"font.size"),fontColor:c.castHoverOption(Z,X,"font.color"),nameLength:c.castHoverOption(Z,X,"namelength"),textAlign:c.castHoverOption(Z,X,"align"),hovertemplate:u.castOption(Z,X,"hovertemplate"),hovertemplateLabels:u.extendFlat({},ce,Q),eventData:[ce]},{container:z,gd:O,inOut_bbox:de}),ce.bbox=de[0]}G.distance<5&&(G.buttons||k)?O.emit("plotly_click",ye):O.emit("plotly_hover",ye),this.oldEventData=ye}else c.loneUnhover(z),this.oldEventData&&O.emit("plotly_unhover",this.oldEventData),this.oldEventData=void 0;I.drawAnnotations(I)},x.recoverContext=function(){var R=this;R.glplot.dispose();var I=function(){R.glplot.gl.isContextLost()?requestAnimationFrame(I):R.initializeGLPlot()?R.plot.apply(R,R.plotArgs):u.error("Catastrophic and unrecoverable WebGL error. Context lost.")};requestAnimationFrame(I)};var L=["xaxis","yaxis","zaxis"];function b(R,I,O){for(var z=R.fullSceneLayout,F=0;F<3;F++){var B=L[F],N=B.charAt(0),W=z[B],j=I[N],$=I[N+"calendar"],U=I["_"+N+"length"];if(u.isArrayOrTypedArray(j))for(var G,q=0;q<(U||j.length);q++)if(u.isArrayOrTypedArray(j[q]))for(var H=0;HZ[1][N])Z[0][N]=-1,Z[1][N]=1;else{var pe=Z[1][N]-Z[0][N];Z[0][N]-=pe/32,Z[1][N]+=pe/32}if(j.autorange==="reversed"){var xe=Z[0][N];Z[0][N]=Z[1][N],Z[1][N]=xe}}else{var Pe=j.range;Z[0][N]=j.r2l(Pe[0]),Z[1][N]=j.r2l(Pe[1])}Z[0][N]===Z[1][N]&&(Z[0][N]-=1,Z[1][N]+=1),X[N]=Z[1][N]-Z[0][N],z.glplot.setBounds(N,{min:Z[0][N]*H[N],max:Z[1][N]*H[N]})}var _e=U.aspectmode;if(_e==="cube")te=[1,1,1];else if(_e==="manual"){var Me=U.aspectratio;te=[Me.x,Me.y,Me.z]}else{if(_e!=="auto"&&_e!=="data")throw new Error("scene.js aspectRatio was not one of the enumerated types");var Se=[1,1,1];for(N=0;N<3;++N){var Ce=Q[$=(j=U[L[N]]).type];Se[N]=Math.pow(Ce.acc,1/Ce.count)/H[N]}te=_e==="data"||Math.max.apply(null,Se)/Math.min.apply(null,Se)<=4?Se:[1,1,1]}U.aspectratio.x=G.aspectratio.x=te[0],U.aspectratio.y=G.aspectratio.y=te[1],U.aspectratio.z=G.aspectratio.z=te[2],z.glplot.setAspectratio(U.aspectratio),z.viewInitial.aspectratio||(z.viewInitial.aspectratio={x:U.aspectratio.x,y:U.aspectratio.y,z:U.aspectratio.z}),z.viewInitial.aspectmode||(z.viewInitial.aspectmode=U.aspectmode);var ae=U.domain||null,fe=I._size||null;if(ae&&fe){var be=z.container.style;be.position="absolute",be.left=fe.l+ae.x[0]*fe.w+"px",be.top=fe.t+(1-ae.y[1])*fe.h+"px",be.width=fe.w*(ae.x[1]-ae.x[0])+"px",be.height=fe.h*(ae.y[1]-ae.y[0])+"px"}z.glplot.redraw()}},x.destroy=function(){var R=this;R.glplot&&(R.camera.mouseListener.enabled=!1,R.container.removeEventListener("wheel",R.camera.wheelListener),R.camera=null,R.glplot.dispose(),R.container.parentNode.removeChild(R.container),R.glplot=null)},x.getCamera=function(){var R,I=this;return I.camera.view.recalcMatrix(I.camera.view.lastT()),{up:{x:(R=I.camera).up[0],y:R.up[1],z:R.up[2]},center:{x:R.center[0],y:R.center[1],z:R.center[2]},eye:{x:R.eye[0],y:R.eye[1],z:R.eye[2]},projection:{type:R._ortho===!0?"orthographic":"perspective"}}},x.setViewport=function(R){var I,O=this,z=R.camera;O.camera.lookAt.apply(this,[[(I=z).eye.x,I.eye.y,I.eye.z],[I.center.x,I.center.y,I.center.z],[I.up.x,I.up.y,I.up.z]]),O.glplot.setAspectratio(R.aspectratio),z.projection.type==="orthographic"!==O.camera._ortho&&(O.glplot.redraw(),O.glplot.clearRGBA(),O.glplot.dispose(),O.initializeGLPlot())},x.isCameraChanged=function(R){var I=this.getCamera(),O=u.nestedProperty(R,this.id+".camera").get();function z(W,j,$,U){var G=["up","center","eye"],q=["x","y","z"];return j[G[$]]&&W[G[$]][q[U]]===j[G[$]][q[U]]}var F=!1;if(O===void 0)F=!0;else{for(var B=0;B<3;B++)for(var N=0;N<3;N++)if(!z(I,O,B,N)){F=!0;break}(!O.projection||I.projection&&I.projection.type!==O.projection.type)&&(F=!0)}return F},x.isAspectChanged=function(R){var I=this.glplot.getAspectratio(),O=u.nestedProperty(R,this.id+".aspectratio").get();return O===void 0||O.x!==I.x||O.y!==I.y||O.z!==I.z},x.saveLayout=function(R){var I,O,z,F,B,N,W=this,j=W.fullLayout,$=W.isCameraChanged(R),U=W.isAspectChanged(R),G=$||U;if(G){var q={};$&&(I=W.getCamera(),z=(O=u.nestedProperty(R,W.id+".camera")).get(),q[W.id+".camera"]=z),U&&(F=W.glplot.getAspectratio(),N=(B=u.nestedProperty(R,W.id+".aspectratio")).get(),q[W.id+".aspectratio"]=N),a.call("_storeDirectGUIEdit",R,j._preGUI,q),$&&(O.set(I),u.nestedProperty(j,W.id+".camera").set(I)),U&&(B.set(F),u.nestedProperty(j,W.id+".aspectratio").set(F),W.glplot.redraw())}return G},x.updateFx=function(R,I){var O=this,z=O.camera;if(z)if(R==="orbit")z.mode="orbit",z.keyBindingMode="rotate";else if(R==="turntable"){z.up=[0,0,1],z.mode="turntable",z.keyBindingMode="rotate";var F=O.graphDiv,B=F._fullLayout,N=O.fullSceneLayout.camera,W=N.up.x,j=N.up.y,$=N.up.z;if($/Math.sqrt(W*W+j*j+$*$)<.999){var U=O.id+".camera.up",G={x:0,y:0,z:1},q={};q[U]=G;var H=F.layout;a.call("_storeDirectGUIEdit",H,B._preGUI,q),N.up=G,u.nestedProperty(H,U).set(G)}}else z.keyBindingMode=R;O.fullSceneLayout.hovermode=I},x.toImage=function(R){var I=this;R||(R="png"),I.staticMode&&I.container.appendChild(d),I.glplot.redraw();var O=I.glplot.gl,z=O.drawingBufferWidth,F=O.drawingBufferHeight;O.bindFramebuffer(O.FRAMEBUFFER,null);var B=new Uint8Array(z*F*4);O.readPixels(0,0,z,F,O.RGBA,O.UNSIGNED_BYTE,B),function(U,G,q){for(var H=0,ne=q-1;H0)for(var X=255/Z,Q=0;Q<3;++Q)U[te+Q]=Math.min(X*U[te+Q],255)}}(B,z,F);var N=document.createElement("canvas");N.width=z,N.height=F;var W,j=N.getContext("2d",{willReadFrequently:!0}),$=j.createImageData(z,F);switch($.data.set(B),j.putImageData($,0,0),R){case"jpeg":W=N.toDataURL("image/jpeg");break;case"webp":W=N.toDataURL("image/webp");break;default:W=N.toDataURL("image/png")}return I.staticMode&&I.container.removeChild(d),W},x.setConvert=function(){for(var R=0;R<3;R++){var I=this.fullSceneLayout[L[R]];s.setConvert(I,this.fullLayout),I.setScale=u.noop}},x.make4thDimension=function(){var R=this,I=R.graphDiv._fullLayout;R._mockAxis={type:"linear",showexponent:"all",exponentformat:"B"},s.setConvert(R._mockAxis,I)},T.exports=E},90060:function(T){T.exports=function(p,t,d,g){g=g||p.length;for(var i=new Array(g),M=0;MOpenStreetMap contributors',i=['© Carto',g].join(" "),M=['Map tiles by Stamen Design','under CC BY 3.0',"|",'Data by OpenStreetMap contributors','under ODbL'].join(" "),v={"open-street-map":{id:"osm",version:8,sources:{"plotly-osm-tiles":{type:"raster",attribution:g,tiles:["https://a.tile.openstreetmap.org/{z}/{x}/{y}.png","https://b.tile.openstreetmap.org/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-osm-tiles",type:"raster",source:"plotly-osm-tiles",minzoom:0,maxzoom:22}]},"white-bg":{id:"white-bg",version:8,sources:{},layers:[{id:"white-bg",type:"background",paint:{"background-color":"#FFFFFF"},minzoom:0,maxzoom:22}]},"carto-positron":{id:"carto-positron",version:8,sources:{"plotly-carto-positron":{type:"raster",attribution:i,tiles:["https://cartodb-basemaps-c.global.ssl.fastly.net/light_all/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-carto-positron",type:"raster",source:"plotly-carto-positron",minzoom:0,maxzoom:22}]},"carto-darkmatter":{id:"carto-darkmatter",version:8,sources:{"plotly-carto-darkmatter":{type:"raster",attribution:i,tiles:["https://cartodb-basemaps-c.global.ssl.fastly.net/dark_all/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-carto-darkmatter",type:"raster",source:"plotly-carto-darkmatter",minzoom:0,maxzoom:22}]},"stamen-terrain":{id:"stamen-terrain",version:8,sources:{"plotly-stamen-terrain":{type:"raster",attribution:M,tiles:["https://stamen-tiles.a.ssl.fastly.net/terrain/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-terrain",type:"raster",source:"plotly-stamen-terrain",minzoom:0,maxzoom:22}]},"stamen-toner":{id:"stamen-toner",version:8,sources:{"plotly-stamen-toner":{type:"raster",attribution:M,tiles:["https://stamen-tiles.a.ssl.fastly.net/toner/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-toner",type:"raster",source:"plotly-stamen-toner",minzoom:0,maxzoom:22}]},"stamen-watercolor":{id:"stamen-watercolor",version:8,sources:{"plotly-stamen-watercolor":{type:"raster",attribution:['Map tiles by Stamen Design','under CC BY 3.0',"|",'Data by OpenStreetMap contributors','under CC BY SA'].join(" "),tiles:["https://stamen-tiles.a.ssl.fastly.net/watercolor/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-watercolor",type:"raster",source:"plotly-stamen-watercolor",minzoom:0,maxzoom:22}]}},f=d(v);T.exports={requiredVersion:"1.10.1",styleUrlPrefix:"mapbox://styles/mapbox/",styleUrlSuffix:"v9",styleValuesMapbox:["basic","streets","outdoors","light","dark","satellite","satellite-streets"],styleValueDflt:"basic",stylesNonMapbox:v,styleValuesNonMapbox:f,traceLayerPrefix:"plotly-trace-layer-",layoutLayerPrefix:"plotly-layout-layer-",wrongVersionErrorMsg:["Your custom plotly.js bundle is not using the correct mapbox-gl version","Please install mapbox-gl@1.10.1."].join(` -`),noAccessTokenErrorMsg:["Missing Mapbox access token.","Mapbox trace type require a Mapbox access token to be registered.","For example:"," Plotly.newPlot(gd, data, layout, { mapboxAccessToken: 'my-access-token' });","More info here: https://www.mapbox.com/help/define-access-token/"].join(` -`),missingStyleErrorMsg:["No valid mapbox style found, please set `mapbox.style` to one of:",f.join(", "),"or register a Mapbox access token to use a Mapbox-served style."].join(` -`),multipleTokensErrorMsg:["Set multiple mapbox access token across different mapbox subplot,","using first token found as mapbox-gl does not allow multipleaccess tokens on the same page."].join(` -`),mapOnErrorMsg:"Mapbox error.",mapboxLogo:{path0:"m 10.5,1.24 c -5.11,0 -9.25,4.15 -9.25,9.25 0,5.1 4.15,9.25 9.25,9.25 5.1,0 9.25,-4.15 9.25,-9.25 0,-5.11 -4.14,-9.25 -9.25,-9.25 z m 4.39,11.53 c -1.93,1.93 -4.78,2.31 -6.7,2.31 -0.7,0 -1.41,-0.05 -2.1,-0.16 0,0 -1.02,-5.64 2.14,-8.81 0.83,-0.83 1.95,-1.28 3.13,-1.28 1.27,0 2.49,0.51 3.39,1.42 1.84,1.84 1.89,4.75 0.14,6.52 z",path1:"M 10.5,-0.01 C 4.7,-0.01 0,4.7 0,10.49 c 0,5.79 4.7,10.5 10.5,10.5 5.8,0 10.5,-4.7 10.5,-10.5 C 20.99,4.7 16.3,-0.01 10.5,-0.01 Z m 0,19.75 c -5.11,0 -9.25,-4.15 -9.25,-9.25 0,-5.1 4.14,-9.26 9.25,-9.26 5.11,0 9.25,4.15 9.25,9.25 0,5.13 -4.14,9.26 -9.25,9.26 z",path2:"M 14.74,6.25 C 12.9,4.41 9.98,4.35 8.23,6.1 5.07,9.27 6.09,14.91 6.09,14.91 c 0,0 5.64,1.02 8.81,-2.14 C 16.64,11 16.59,8.09 14.74,6.25 Z m -2.27,4.09 -0.91,1.87 -0.9,-1.87 -1.86,-0.91 1.86,-0.9 0.9,-1.87 0.91,1.87 1.86,0.9 z",polygon:"11.56,12.21 10.66,10.34 8.8,9.43 10.66,8.53 11.56,6.66 12.47,8.53 14.33,9.43 12.47,10.34"},styleRules:{map:"overflow:hidden;position:relative;","missing-css":"display:none;",canary:"background-color:salmon;","ctrl-bottom-left":"position: absolute; pointer-events: none; z-index: 2; bottom: 0; left: 0;","ctrl-bottom-right":"position: absolute; pointer-events: none; z-index: 2; right: 0; bottom: 0;",ctrl:"clear: both; pointer-events: auto; transform: translate(0, 0);","ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-inner":"display: none;","ctrl-attrib.mapboxgl-compact:hover .mapboxgl-ctrl-attrib-inner":"display: block; margin-top:2px","ctrl-attrib.mapboxgl-compact:hover":"padding: 2px 24px 2px 4px; visibility: visible; margin-top: 6px;","ctrl-attrib.mapboxgl-compact::after":`content: ""; cursor: pointer; position: absolute; background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"%3E %3Cpath fill="%23333333" fill-rule="evenodd" d="M4,10a6,6 0 1,0 12,0a6,6 0 1,0 -12,0 M9,7a1,1 0 1,0 2,0a1,1 0 1,0 -2,0 M9,10a1,1 0 1,1 2,0l0,3a1,1 0 1,1 -2,0"/%3E %3C/svg%3E'); background-color: rgba(255, 255, 255, 0.5); width: 24px; height: 24px; box-sizing: border-box; border-radius: 12px;`,"ctrl-attrib.mapboxgl-compact":"min-height: 20px; padding: 0; margin: 10px; position: relative; background-color: #fff; border-radius: 3px 12px 12px 3px;","ctrl-bottom-right > .mapboxgl-ctrl-attrib.mapboxgl-compact::after":"bottom: 0; right: 0","ctrl-bottom-left > .mapboxgl-ctrl-attrib.mapboxgl-compact::after":"bottom: 0; left: 0","ctrl-bottom-left .mapboxgl-ctrl":"margin: 0 0 10px 10px; float: left;","ctrl-bottom-right .mapboxgl-ctrl":"margin: 0 10px 10px 0; float: right;","ctrl-attrib":"color: rgba(0, 0, 0, 0.75); text-decoration: none; font-size: 12px","ctrl-attrib a":"color: rgba(0, 0, 0, 0.75); text-decoration: none; font-size: 12px","ctrl-attrib a:hover":"color: inherit; text-decoration: underline;","ctrl-attrib .mapbox-improve-map":"font-weight: bold; margin-left: 2px;","attrib-empty":"display: none;","ctrl-logo":`display:block; width: 21px; height: 21px; background-image: url('data:image/svg+xml;charset=utf-8,%3C?xml version="1.0" encoding="utf-8"?%3E %3Csvg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 21 21" style="enable-background:new 0 0 21 21;" xml:space="preserve"%3E%3Cg transform="translate(0,0.01)"%3E%3Cpath d="m 10.5,1.24 c -5.11,0 -9.25,4.15 -9.25,9.25 0,5.1 4.15,9.25 9.25,9.25 5.1,0 9.25,-4.15 9.25,-9.25 0,-5.11 -4.14,-9.25 -9.25,-9.25 z m 4.39,11.53 c -1.93,1.93 -4.78,2.31 -6.7,2.31 -0.7,0 -1.41,-0.05 -2.1,-0.16 0,0 -1.02,-5.64 2.14,-8.81 0.83,-0.83 1.95,-1.28 3.13,-1.28 1.27,0 2.49,0.51 3.39,1.42 1.84,1.84 1.89,4.75 0.14,6.52 z" style="opacity:0.9;fill:%23ffffff;enable-background:new" class="st0"/%3E%3Cpath d="M 10.5,-0.01 C 4.7,-0.01 0,4.7 0,10.49 c 0,5.79 4.7,10.5 10.5,10.5 5.8,0 10.5,-4.7 10.5,-10.5 C 20.99,4.7 16.3,-0.01 10.5,-0.01 Z m 0,19.75 c -5.11,0 -9.25,-4.15 -9.25,-9.25 0,-5.1 4.14,-9.26 9.25,-9.26 5.11,0 9.25,4.15 9.25,9.25 0,5.13 -4.14,9.26 -9.25,9.26 z" style="opacity:0.35;enable-background:new" class="st1"/%3E%3Cpath d="M 14.74,6.25 C 12.9,4.41 9.98,4.35 8.23,6.1 5.07,9.27 6.09,14.91 6.09,14.91 c 0,0 5.64,1.02 8.81,-2.14 C 16.64,11 16.59,8.09 14.74,6.25 Z m -2.27,4.09 -0.91,1.87 -0.9,-1.87 -1.86,-0.91 1.86,-0.9 0.9,-1.87 0.91,1.87 1.86,0.9 z" style="opacity:0.35;enable-background:new" class="st1"/%3E%3Cpolygon points="11.56,12.21 10.66,10.34 8.8,9.43 10.66,8.53 11.56,6.66 12.47,8.53 14.33,9.43 12.47,10.34 " style="opacity:0.9;fill:%23ffffff;enable-background:new" class="st0"/%3E%3C/g%3E%3C/svg%3E')`}}},13056:function(T,p,t){var d=t(71828);T.exports=function(g,i){var M=g.split(" "),v=M[0],f=M[1],l=d.isArrayOrTypedArray(i)?d.mean(i):i,a=.5+l/100,u=1.5+l/100,o=["",""],s=[0,0];switch(v){case"top":o[0]="top",s[1]=-u;break;case"bottom":o[0]="bottom",s[1]=u}switch(f){case"left":o[1]="right",s[0]=-a;break;case"right":o[1]="left",s[0]=a}return{anchor:o[0]&&o[1]?o.join("-"):o[0]?o[0]:o[1]?o[1]:"center",offset:s}}},50101:function(T,p,t){var d=t(44517),g=t(71828),i=g.strTranslate,M=g.strScale,v=t(27659).AU,f=t(77922),l=t(39898),a=t(91424),u=t(63893),o=t(10481),s="mapbox",c=p.constants=t(77734);function h(m){return typeof m=="string"&&(c.styleValuesMapbox.indexOf(m)!==-1||m.indexOf("mapbox://")===0)}p.name=s,p.attr="subplot",p.idRoot=s,p.idRegex=p.attrRegex=g.counterRegex(s),p.attributes={subplot:{valType:"subplotid",dflt:"mapbox",editType:"calc"}},p.layoutAttributes=t(23585),p.supplyLayoutDefaults=t(77882),p.plot=function(m){var w=m._fullLayout,y=m.calcdata,S=w._subplots.mapbox;if(d.version!==c.requiredVersion)throw new Error(c.wrongVersionErrorMsg);var _=function(b,R){var I=b._fullLayout;if(b._context.mapboxAccessToken==="")return"";for(var O=[],z=[],F=!1,B=!1,N=0;N1&&g.warn(c.multipleTokensErrorMsg),O[0]):(z.length&&g.log(["Listed mapbox access token(s)",z.join(","),"but did not use a Mapbox map style, ignoring token(s)."].join(" ")),"")}(m,S);d.accessToken=_;for(var k=0;kz/2){var F=b.split("|").join("
");I.text(F).attr("data-unformatted",F).call(u.convertToTspans,m),O=a.bBox(I.node())}I.attr("transform",i(-3,8-O.height)),R.insert("rect",".static-attribution").attr({x:-O.width-6,y:-O.height-3,width:O.width+6,height:O.height+3,fill:"rgba(255, 255, 255, 0.75)"});var B=1;O.width+6>z&&(B=z/(O.width+6));var N=[S.l+S.w*E.x[1],S.t+S.h*(1-E.y[0])];R.attr("transform",i(N[0],N[1])+M(B))}},p.updateFx=function(m){for(var w=m._fullLayout,y=w._subplots.mapbox,S=0;S0){for(var s=0;s0}function a(u){var o={},s={};switch(u.type){case"circle":d.extendFlat(s,{"circle-radius":u.circle.radius,"circle-color":u.color,"circle-opacity":u.opacity});break;case"line":d.extendFlat(s,{"line-width":u.line.width,"line-color":u.color,"line-opacity":u.opacity,"line-dasharray":u.line.dash});break;case"fill":d.extendFlat(s,{"fill-color":u.color,"fill-outline-color":u.fill.outlinecolor,"fill-opacity":u.opacity});break;case"symbol":var c=u.symbol,h=i(c.textposition,c.iconsize);d.extendFlat(o,{"icon-image":c.icon+"-15","icon-size":c.iconsize/10,"text-field":c.text,"text-size":c.textfont.size,"text-anchor":h.anchor,"text-offset":h.offset,"symbol-placement":c.placement}),d.extendFlat(s,{"icon-color":u.color,"text-color":c.textfont.color,"text-opacity":u.opacity});break;case"raster":d.extendFlat(s,{"raster-fade-duration":0,"raster-opacity":u.opacity})}return{layout:o,paint:s}}f.update=function(u){this.visible?this.needsNewImage(u)?this.updateImage(u):this.needsNewSource(u)?(this.removeLayer(),this.updateSource(u),this.updateLayer(u)):this.needsNewLayer(u)?this.updateLayer(u):this.updateStyle(u):(this.updateSource(u),this.updateLayer(u)),this.visible=l(u)},f.needsNewImage=function(u){return this.subplot.map.getSource(this.idSource)&&this.sourceType==="image"&&u.sourcetype==="image"&&(this.source!==u.source||JSON.stringify(this.coordinates)!==JSON.stringify(u.coordinates))},f.needsNewSource=function(u){return this.sourceType!==u.sourcetype||JSON.stringify(this.source)!==JSON.stringify(u.source)||this.layerType!==u.type},f.needsNewLayer=function(u){return this.layerType!==u.type||this.below!==this.subplot.belowLookup["layout-"+this.index]},f.lookupBelow=function(){return this.subplot.belowLookup["layout-"+this.index]},f.updateImage=function(u){this.subplot.map.getSource(this.idSource).updateImage({url:u.source,coordinates:u.coordinates});var o=this.findFollowingMapboxLayerId(this.lookupBelow());o!==null&&this.subplot.map.moveLayer(this.idLayer,o)},f.updateSource=function(u){var o=this.subplot.map;if(o.getSource(this.idSource)&&o.removeSource(this.idSource),this.sourceType=u.sourcetype,this.source=u.source,l(u)){var s=function(c){var h,m=c.sourcetype,w=c.source,y={type:m};return m==="geojson"?h="data":m==="vector"?h=typeof w=="string"?"url":"tiles":m==="raster"?(h="tiles",y.tileSize=256):m==="image"&&(h="url",y.coordinates=c.coordinates),y[h]=w,c.sourceattribution&&(y.attribution=g(c.sourceattribution)),y}(u);o.addSource(this.idSource,s)}},f.findFollowingMapboxLayerId=function(u){if(u==="traces")for(var o=this.subplot.getMapLayers(),s=0;s1)for(R=0;R-1&&m(N.originalEvent,I,[R.xaxis],[R.yaxis],R.id,B),W.indexOf("event")>-1&&l.click(I,N.originalEvent)}}},_.updateFx=function(L){var b=this,R=b.map,I=b.gd;if(!b.isStatic){var O,z=L.dragmode;O=function(N,W){W.isRect?(N.range={})[b.id]=[B([W.xmin,W.ymin]),B([W.xmax,W.ymax])]:(N.lassoPoints={})[b.id]=W.map(B)};var F=b.dragOptions;b.dragOptions=g.extendDeep(F||{},{dragmode:L.dragmode,element:b.div,gd:I,plotinfo:{id:b.id,domain:L[b.id].domain,xaxis:b.xaxis,yaxis:b.yaxis,fillRangeItems:O},xaxes:[b.xaxis],yaxes:[b.yaxis],subplot:b.id}),R.off("click",b.onClickInPanHandler),o(z)||u(z)?(R.dragPan.disable(),R.on("zoomstart",b.clearOutline),b.dragOptions.prepFn=function(N,W,j){s(N,W,j,b.dragOptions,z)},f.init(b.dragOptions)):(R.dragPan.enable(),R.off("zoomstart",b.clearOutline),b.div.onmousedown=null,b.div.ontouchstart=null,b.div.removeEventListener("touchstart",b.div._ontouchstart),b.onClickInPanHandler=b.onClickInPanFn(b.dragOptions),R.on("click",b.onClickInPanHandler))}function B(N){var W=b.map.unproject(N);return[W.lng,W.lat]}},_.updateFramework=function(L){var b=L[this.id].domain,R=L._size,I=this.div.style;I.width=R.w*(b.x[1]-b.x[0])+"px",I.height=R.h*(b.y[1]-b.y[0])+"px",I.left=R.l+b.x[0]*R.w+"px",I.top=R.t+(1-b.y[1])*R.h+"px",this.xaxis._offset=R.l+b.x[0]*R.w,this.xaxis._length=R.w*(b.x[1]-b.x[0]),this.yaxis._offset=R.t+(1-b.y[1])*R.h,this.yaxis._length=R.h*(b.y[1]-b.y[0])},_.updateLayers=function(L){var b,R=L[this.id].layers,I=this.layerList;if(R.length!==I.length){for(b=0;b=G.width-20?(ne["text-anchor"]="start",ne.x=5):(ne["text-anchor"]="end",ne.x=G._paper.attr("width")-7),q.attr(ne);var te=q.select(".js-link-to-tool"),Z=q.select(".js-link-spacer"),X=q.select(".js-sourcelinks");U._context.showSources&&U._context.showSources(U),U._context.showLink&&function(Q,re){re.text("");var ie=re.append("a").attr({"xlink:xlink:href":"#",class:"link--impt link--embedview","font-weight":"bold"}).text(Q._context.linkText+" "+String.fromCharCode(187));if(Q._context.sendData)ie.on("click",function(){k.sendDataToCloud(Q)});else{var oe=window.location.pathname.split("/"),ue=window.location.search;ie.attr({"xlink:xlink:show":"new","xlink:xlink:href":"/"+oe[2].split(".")[0]+"/"+oe[1]+ue})}}(U,te),Z.text(te.text()&&X.text()?" - ":"")}},k.sendDataToCloud=function(U){var G=(window.PLOTLYENV||{}).BASE_URL||U._context.plotlyServerURL;if(G){U.emit("plotly_beforeexport");var q=d.select(U).append("div").attr("id","hiddenform").style("display","none"),H=q.append("form").attr({action:G+"/external",method:"post",target:"_blank"});return H.append("input").attr({type:"text",name:"data"}).node().value=k.graphJson(U,!1,"keepdata"),H.node().submit(),q.remove(),U.emit("plotly_afterexport"),!1}};var A=["days","shortDays","months","shortMonths","periods","dateTime","date","time","decimal","thousands","grouping","currency"],L=["year","month","dayMonth","dayMonthYear"];function b(U,G){var q=U._context.locale;q||(q="en-US");var H=!1,ne={};function te(oe){for(var ue=!0,ce=0;ce1&&Se.length>1){for(v.getComponentMethod("grid","sizeDefaults")(Z,te),ne=0;ne15&&Se.length>15&&te.shapes.length===0&&te.images.length===0,k.linkSubplots(Q,te,X,H),k.cleanPlot(Q,te,X,H);var ke=!(!H._has||!H._has("gl2d")),Le=!(!te._has||!te._has("gl2d")),Be=!(!H._has||!H._has("cartesian"))||ke,ze=!(!te._has||!te._has("cartesian"))||Le;Be&&!ze?H._bgLayer.remove():ze&&!Be&&(te._shouldCreateBgLayer=!0),H._zoomlayer&&!U._dragging&&c({_fullLayout:H}),function(Ee,Ve){var $e,Ye=[];Ve.meta&&($e=Ve._meta={meta:Ve.meta,layout:{meta:Ve.meta}});for(var st=0;st0){var re=1-2*Z;H=Math.round(re*H),ne=Math.round(re*ne)}}var ie=k.layoutAttributes.width.min,oe=k.layoutAttributes.height.min;H1,ce=!G.height&&Math.abs(q.height-ne)>1;(ce||ue)&&(ue&&(q.width=H),ce&&(q.height=ne)),U._initialAutoSize||(U._initialAutoSize={width:H,height:ne}),k.sanitizeMargins(q)},k.supplyLayoutModuleDefaults=function(U,G,q,H){var ne,te,Z,X=v.componentsRegistry,Q=G._basePlotModules,re=v.subplotsRegistry.cartesian;for(ne in X)(Z=X[ne]).includeBasePlot&&Z.includeBasePlot(U,G);for(var ie in Q.length||Q.push(re),G._has("cartesian")&&(v.getComponentMethod("grid","contentDefaults")(U,G),re.finalizeSubplots(U,G)),G._subplots)G._subplots[ie].sort(a.subplotSort);for(te=0;te1&&(q.l/=me,q.r/=me)}if(ue){var pe=(q.t+q.b)/ue;pe>1&&(q.t/=pe,q.b/=pe)}var xe=q.xl!==void 0?q.xl:q.x,Pe=q.xr!==void 0?q.xr:q.x,_e=q.yt!==void 0?q.yt:q.y,Me=q.yb!==void 0?q.yb:q.y;ce[G]={l:{val:xe,size:q.l+de},r:{val:Pe,size:q.r+de},b:{val:Me,size:q.b+de},t:{val:_e,size:q.t+de}},ye[G]=1}else delete ce[G],delete ye[G];if(!H._replotting)return k.doAutoMargin(U)}},k.doAutoMargin=function(U){var G=U._fullLayout,q=G.width,H=G.height;G._size||(G._size={}),F(G);var ne=G._size,te=G.margin,Z={t:0,b:0,l:0,r:0},X=a.extendFlat({},ne),Q=U._fullLayout._reservedMargin;for(var re in Q)for(var ie in Q[re]){var oe=Q[re][ie];Z[ie]=Math.max(Z[ie],oe)}var ue=te.l,ce=te.r,ye=te.t,de=te.b,me=G._pushmargin,pe=G._pushmarginIds,xe=G.minreducedwidth,Pe=G.minreducedheight;if(G.margin.autoexpand!==!1){for(var _e in me)pe[_e]||delete me[_e];for(var Me in me.base={l:{val:0,size:ue},r:{val:1,size:ce},t:{val:1,size:ye},b:{val:0,size:de}},me){var Se=me[Me].l||{},Ce=me[Me].b||{},ae=Se.val,fe=Se.size,be=Ce.val,ke=Ce.size,Le=q-Z.r-Z.l,Be=H-Z.t-Z.b;for(var ze in me){if(M(fe)&&me[ze].r){var je=me[ze].r.val,ge=me[ze].r.size;if(je>ae){var we=(fe*je+(ge-Le)*ae)/(je-ae),Ee=(ge*(1-ae)+(fe-Le)*(1-je))/(je-ae);we+Ee>ue+ce&&(ue=we,ce=Ee)}}if(M(ke)&&me[ze].t){var Ve=me[ze].t.val,$e=me[ze].t.size;if(Ve>be){var Ye=(ke*Ve+($e-Be)*be)/(Ve-be),st=($e*(1-be)+(ke-Be)*(1-Ve))/(Ve-be);Ye+st>de+ye&&(de=Ye,ye=st)}}}}}var ot=a.constrain(q-te.l-te.r,2,xe),ht=a.constrain(H-te.t-te.b,2,Pe),bt=Math.max(0,q-ot),Et=Math.max(0,H-ht);if(bt){var kt=(ue+ce)/bt;kt>1&&(ue/=kt,ce/=kt)}if(Et){var xt=(de+ye)/Et;xt>1&&(de/=xt,ye/=xt)}if(ne.l=Math.round(ue)+Z.l,ne.r=Math.round(ce)+Z.r,ne.t=Math.round(ye)+Z.t,ne.b=Math.round(de)+Z.b,ne.p=Math.round(te.pad),ne.w=Math.round(q)-ne.l-ne.r,ne.h=Math.round(H)-ne.t-ne.b,!G._replotting&&(k.didMarginChange(X,ne)||function(Ot){if("_redrawFromAutoMarginCount"in Ot._fullLayout)return!1;var Bt=s.list(Ot,"",!0);for(var qt in Bt)if(Bt[qt].autoshift||Bt[qt].shift)return!0;return!1}(U))){"_redrawFromAutoMarginCount"in G?G._redrawFromAutoMarginCount++:G._redrawFromAutoMarginCount=1;var Ft=3*(1+Object.keys(pe).length);if(G._redrawFromAutoMarginCount0&&(U._transitioningWithDuration=!0),U._transitionData._interruptCallbacks.push(function(){H=!0}),q.redraw&&U._transitionData._interruptCallbacks.push(function(){return v.call("redraw",U)}),U._transitionData._interruptCallbacks.push(function(){U.emit("plotly_transitioninterrupted",[])});var X=0,Q=0;function re(){return X++,function(){var ie;Q++,H||Q!==X||(ie=Z,U._transitionData&&(function(oe){if(oe)for(;oe.length;)oe.shift()}(U._transitionData._interruptCallbacks),Promise.resolve().then(function(){if(q.redraw)return v.call("redraw",U)}).then(function(){U._transitioning=!1,U._transitioningWithDuration=!1,U.emit("plotly_transitioned",[])}).then(ie)))}}q.runFn(re),setTimeout(re())})}],te=a.syncOrAsync(ne,U);return te&&te.then||(te=Promise.resolve()),te.then(function(){return U})}k.didMarginChange=function(U,G){for(var q=0;q1)return!0}return!1},k.graphJson=function(U,G,q,H,ne,te){(ne&&G&&!U._fullData||ne&&!G&&!U._fullLayout)&&k.supplyDefaults(U);var Z=ne?U._fullData:U.data,X=ne?U._fullLayout:U.layout,Q=(U._transitionData||{})._frames;function re(ue,ce){if(typeof ue=="function")return ce?"_function_":null;if(a.isPlainObject(ue)){var ye,de={};return Object.keys(ue).sort().forEach(function(me){if(["_","["].indexOf(me.charAt(0))===-1)if(typeof ue[me]!="function"){if(q==="keepdata"){if(me.substr(me.length-3)==="src")return}else if(q==="keepstream"){if(typeof(ye=ue[me+"src"])=="string"&&ye.indexOf(":")>0&&!a.isPlainObject(ue.stream))return}else if(q!=="keepall"&&typeof(ye=ue[me+"src"])=="string"&&ye.indexOf(":")>0)return;de[me]=re(ue[me],ce)}else ce&&(de[me]="_function")}),de}return Array.isArray(ue)?ue.map(function(me){return re(me,ce)}):a.isTypedArray(ue)?a.simpleMap(ue,a.identity):a.isJSDate(ue)?a.ms2DateTimeLocal(+ue):ue}var ie={data:(Z||[]).map(function(ue){var ce=re(ue);return G&&delete ce.fit,ce})};if(!G&&(ie.layout=re(X),ne)){var oe=X._size;ie.layout.computed={margin:{b:oe.b,l:oe.l,r:oe.r,t:oe.t}}}return Q&&(ie.frames=re(Q)),te&&(ie.config=re(U._context,!0)),H==="object"?ie:JSON.stringify(ie)},k.modifyFrames=function(U,G){var q,H,ne,te=U._transitionData._frames,Z=U._transitionData._frameHash;for(q=0;q=0;te--)if(Me[te].enabled){q._indexToPoints=Me[te]._indexToPoints;break}H&&H.calc&&(_e=H.calc(U,q))}Array.isArray(_e)&&_e[0]||(_e=[{x:o,y:o}]),_e[0].t||(_e[0].t={}),_e[0].trace=q,re[xe]=_e}}for(j(Z,X,Q),ne=0;ne1e-10?s:0}function o(s,c,h){c=c||0,h=h||0;for(var m=s.length,w=new Array(m),y=0;y0?y:1/0}),m=d.mod(h+1,c.length);return[c[h],c[m]]},findIntersectionXY:l,findXYatLength:function(s,c,h,m){var w=-c*h,y=c*c+1,S=2*(c*w-h),_=w*w+h*h-s*s,k=Math.sqrt(S*S-4*y*_),E=(-S+k)/(2*y),x=(-S-k)/(2*y);return[[E,c*E+w+m],[x,c*x+w+m]]},clampTiny:u,pathPolygon:function(s,c,h,m,w,y){return"M"+o(a(s,c,h,m),w,y).join("L")},pathPolygonAnnulus:function(s,c,h,m,w,y,S){var _,k;s=90||kt>90&&xt>=450?1:Ot<=0&&qt<=0?0:Math.max(Ot,qt),[kt<=180&&xt>=180||kt>180&&xt>=540?-1:Ft>=0&&Bt>=0?0:Math.min(Ft,Bt),kt<=270&&xt>=270||kt>270&&xt>=630?-1:Ot>=0&&qt>=0?0:Math.min(Ot,qt),xt>=360?1:Ft<=0&&Bt<=0?0:Math.max(Ft,Bt),ht]}(pe),ae=Ce[2]-Ce[0],fe=Ce[3]-Ce[1],be=me/de,ke=Math.abs(fe/ae);be>ke?(xe=de,Se=(me-(Pe=de*ke))/ie.h/2,_e=[ce[0],ce[1]],Me=[ye[0]+Se,ye[1]-Se]):(Pe=me,Se=(de-(xe=me/ke))/ie.w/2,_e=[ce[0]+Se,ce[1]-Se],Me=[ye[0],ye[1]]),Q.xLength2=xe,Q.yLength2=Pe,Q.xDomain2=_e,Q.yDomain2=Me;var Le,Be=Q.xOffset2=ie.l+ie.w*_e[0],ze=Q.yOffset2=ie.t+ie.h*(1-Me[1]),je=Q.radius=xe/ae,ge=Q.innerRadius=Q.getHole(X)*je,we=Q.cx=Be-je*Ce[0],Ee=Q.cy=ze+je*Ce[3],Ve=Q.cxx=we-Be,$e=Q.cyy=Ee-ze,Ye=oe.side;Ye==="counterclockwise"?(Le=Ye,Ye="top"):Ye==="clockwise"&&(Le=Ye,Ye="bottom"),Q.radialAxis=Q.mockAxis(Z,X,oe,{_id:"x",side:Ye,_trueSide:Le,domain:[ge/ie.w,je/ie.w]}),Q.angularAxis=Q.mockAxis(Z,X,ue,{side:"right",domain:[0,Math.PI],autorange:!1}),Q.doAutoRange(Z,X),Q.updateAngularAxis(Z,X),Q.updateRadialAxis(Z,X),Q.updateRadialAxisTitle(Z,X),Q.xaxis=Q.mockCartesianAxis(Z,X,{_id:"x",domain:_e}),Q.yaxis=Q.mockCartesianAxis(Z,X,{_id:"y",domain:Me});var st=Q.pathSubplot();Q.clipPaths.forTraces.select("path").attr("d",st).attr("transform",f(Ve,$e)),re.frontplot.attr("transform",f(Be,ze)).call(a.setClipUrl,Q._hasClipOnAxisFalse?null:Q.clipIds.forTraces,Q.gd),re.bg.attr("d",st).attr("transform",f(we,Ee)).call(l.fill,X.bgcolor)},q.mockAxis=function(Z,X,Q,re){var ie=M.extendFlat({},Q,re);return c(ie,X,Z),ie},q.mockCartesianAxis=function(Z,X,Q){var re=this,ie=re.isSmith,oe=Q._id,ue=M.extendFlat({type:"linear"},Q);s(ue,Z);var ce={x:[0,2],y:[1,3]};return ue.setRange=function(){var ye=re.sectorBBox,de=ce[oe],me=re.radialAxis._rl,pe=(me[1]-me[0])/(1-re.getHole(X));ue.range=[ye[de[0]]*pe,ye[de[1]]*pe]},ue.isPtWithinRange=oe!=="x"||ie?function(){return!0}:function(ye){return re.isPtInside(ye)},ue.setRange(),ue.setScale(),ue},q.doAutoRange=function(Z,X){var Q=this,re=Q.gd,ie=Q.radialAxis,oe=Q.getRadial(X);h(re,ie);var ue=ie.range;oe.range=ue.slice(),oe._input.range=ue.slice(),ie._rl=[ie.r2l(ue[0],null,"gregorian"),ie.r2l(ue[1],null,"gregorian")]},q.updateRadialAxis=function(Z,X){var Q=this,re=Q.gd,ie=Q.layers,oe=Q.radius,ue=Q.innerRadius,ce=Q.cx,ye=Q.cy,de=Q.getRadial(X),me=j(Q.getSector(X)[0],360),pe=Q.radialAxis,xe=ue90&&me<=270&&(pe.tickangle=180);var _e=Pe?function(ze){var je=N(Q,z([ze.x,0]));return f(je[0]-ce,je[1]-ye)}:function(ze){return f(pe.l2p(ze.x)+ue,0)},Me=Pe?function(ze){return B(Q,ze.x,-1/0,1/0)}:function(ze){return Q.pathArc(pe.r2p(ze.x)+ue)},Se=H(de);if(Q.radialTickLayout!==Se&&(ie["radial-axis"].selectAll(".xtick").remove(),Q.radialTickLayout=Se),xe){pe.setScale();var Ce=0,ae=Pe?(pe.tickvals||[]).filter(function(ze){return ze>=0}).map(function(ze){return o.tickText(pe,ze,!0,!1)}):o.calcTicks(pe),fe=Pe?ae:o.clipEnds(pe,ae),be=o.getTickSigns(pe)[2];Pe&&((pe.ticks==="top"&&pe.side==="bottom"||pe.ticks==="bottom"&&pe.side==="top")&&(be=-be),pe.ticks==="top"&&pe.side==="top"&&(Ce=-pe.ticklen),pe.ticks==="bottom"&&pe.side==="bottom"&&(Ce=pe.ticklen)),o.drawTicks(re,pe,{vals:ae,layer:ie["radial-axis"],path:o.makeTickPath(pe,0,be),transFn:_e,crisp:!1}),o.drawGrid(re,pe,{vals:fe,layer:ie["radial-grid"],path:Me,transFn:M.noop,crisp:!1}),o.drawLabels(re,pe,{vals:ae,layer:ie["radial-axis"],transFn:_e,labelFns:o.makeLabelFns(pe,Ce)})}var ke=Q.radialAxisAngle=Q.vangles?U(ne($(de.angle),Q.vangles)):de.angle,Le=f(ce,ye),Be=Le+v(-ke);te(ie["radial-axis"],xe&&(de.showticklabels||de.ticks),{transform:Be}),te(ie["radial-grid"],xe&&de.showgrid,{transform:Pe?"":Le}),te(ie["radial-line"].select("line"),xe&&de.showline,{x1:Pe?-oe:ue,y1:0,x2:oe,y2:0,transform:Be}).attr("stroke-width",de.linewidth).call(l.stroke,de.linecolor)},q.updateRadialAxisTitle=function(Z,X,Q){if(!this.isSmith){var re=this,ie=re.gd,oe=re.radius,ue=re.cx,ce=re.cy,ye=re.getRadial(X),de=re.id+"title",me=0;if(ye.title){var pe=a.bBox(re.layers["radial-axis"].node()).height,xe=ye.title.font.size,Pe=ye.side;me=Pe==="top"?xe:Pe==="counterclockwise"?-(pe+.4*xe):pe+.8*xe}var _e=Q!==void 0?Q:re.radialAxisAngle,Me=$(_e),Se=Math.cos(Me),Ce=Math.sin(Me),ae=ue+oe/2*Se+me*Ce,fe=ce-oe/2*Ce+me*Se;re.layers["radial-axis-title"]=S.draw(ie,de,{propContainer:ye,propName:re.id+".radialaxis.title",placeholder:W(ie,"Click to enter radial axis title"),attributes:{x:ae,y:fe,"text-anchor":"middle"},transform:{rotate:-_e}})}},q.updateAngularAxis=function(Z,X){var Q=this,re=Q.gd,ie=Q.layers,oe=Q.radius,ue=Q.innerRadius,ce=Q.cx,ye=Q.cy,de=Q.getAngular(X),me=Q.angularAxis,pe=Q.isSmith;pe||(Q.fillViewInitialKey("angularaxis.rotation",de.rotation),me.setGeometry(),me.setScale());var xe=pe?function(ze){var je=N(Q,z([0,ze.x]));return Math.atan2(je[0]-ce,je[1]-ye)-Math.PI/2}:function(ze){return me.t2g(ze.x)};me.type==="linear"&&me.thetaunit==="radians"&&(me.tick0=U(me.tick0),me.dtick=U(me.dtick));var Pe=function(ze){return f(ce+oe*Math.cos(ze),ye-oe*Math.sin(ze))},_e=pe?function(ze){var je=N(Q,z([0,ze.x]));return f(je[0],je[1])}:function(ze){return Pe(xe(ze))},Me=pe?function(ze){var je=N(Q,z([0,ze.x])),ge=Math.atan2(je[0]-ce,je[1]-ye)-Math.PI/2;return f(je[0],je[1])+v(-U(ge))}:function(ze){var je=xe(ze);return Pe(je)+v(-U(je))},Se=pe?function(ze){return F(Q,ze.x,0,1/0)}:function(ze){var je=xe(ze),ge=Math.cos(je),we=Math.sin(je);return"M"+[ce+ue*ge,ye-ue*we]+"L"+[ce+oe*ge,ye-oe*we]},Ce=o.makeLabelFns(me,0).labelStandoff,ae={xFn:function(ze){var je=xe(ze);return Math.cos(je)*Ce},yFn:function(ze){var je=xe(ze),ge=Math.sin(je)>0?.2:1;return-Math.sin(je)*(Ce+ze.fontSize*ge)+Math.abs(Math.cos(je))*(ze.fontSize*b)},anchorFn:function(ze){var je=xe(ze),ge=Math.cos(je);return Math.abs(ge)<.1?"middle":ge>0?"start":"end"},heightFn:function(ze,je,ge){var we=xe(ze);return-.5*(1+Math.sin(we))*ge}},fe=H(de);Q.angularTickLayout!==fe&&(ie["angular-axis"].selectAll("."+me._id+"tick").remove(),Q.angularTickLayout=fe);var be,ke=pe?[1/0].concat(me.tickvals||[]).map(function(ze){return o.tickText(me,ze,!0,!1)}):o.calcTicks(me);if(pe&&(ke[0].text="∞",ke[0].fontSize*=1.75),X.gridshape==="linear"?(be=ke.map(xe),M.angleDelta(be[0],be[1])<0&&(be=be.slice().reverse())):be=null,Q.vangles=be,me.type==="category"&&(ke=ke.filter(function(ze){return M.isAngleInsideSector(xe(ze),Q.sectorInRad)})),me.visible){var Le=me.ticks==="inside"?-1:1,Be=(me.linewidth||1)/2;o.drawTicks(re,me,{vals:ke,layer:ie["angular-axis"],path:"M"+Le*Be+",0h"+Le*me.ticklen,transFn:Me,crisp:!1}),o.drawGrid(re,me,{vals:ke,layer:ie["angular-grid"],path:Se,transFn:M.noop,crisp:!1}),o.drawLabels(re,me,{vals:ke,layer:ie["angular-axis"],repositionOnUpdate:!0,transFn:_e,labelFns:ae})}te(ie["angular-line"].select("path"),de.showline,{d:Q.pathSubplot(),transform:f(ce,ye)}).attr("stroke-width",de.linewidth).call(l.stroke,de.linecolor)},q.updateFx=function(Z,X){this.gd._context.staticPlot||(!this.isSmith&&(this.updateAngularDrag(Z),this.updateRadialDrag(Z,X,0),this.updateRadialDrag(Z,X,1)),this.updateHoverAndMainDrag(Z))},q.updateHoverAndMainDrag=function(Z){var X,Q,re=this,ie=re.isSmith,oe=re.gd,ue=re.layers,ce=Z._zoomlayer,ye=R.MINZOOM,de=R.OFFEDGE,me=re.radius,pe=re.innerRadius,xe=re.cx,Pe=re.cy,_e=re.cxx,Me=re.cyy,Se=re.sectorInRad,Ce=re.vangles,ae=re.radialAxis,fe=I.clampTiny,be=I.findXYatLength,ke=I.findEnclosingVertexAngles,Le=R.cornerHalfWidth,Be=R.cornerLen/2,ze=m.makeDragger(ue,"path","maindrag",Z.dragmode===!1?"none":"crosshair");d.select(ze).attr("d",re.pathSubplot()).attr("transform",f(xe,Pe)),ze.onmousemove=function(Re){y.hover(oe,Re,re.id),oe._fullLayout._lasthover=ze,oe._fullLayout._hoversubplot=re.id},ze.onmouseout=function(Re){oe._dragging||w.unhover(oe,Re)};var je,ge,we,Ee,Ve,$e,Ye,st,ot,ht={element:ze,gd:oe,subplot:re.id,plotinfo:{id:re.id,xaxis:re.xaxis,yaxis:re.yaxis},xaxes:[re.xaxis],yaxes:[re.yaxis]};function bt(Re,Ne){return Math.sqrt(Re*Re+Ne*Ne)}function Et(Re,Ne){return bt(Re-_e,Ne-Me)}function kt(Re,Ne){return Math.atan2(Me-Ne,Re-_e)}function xt(Re,Ne){return[Re*Math.cos(Ne),Re*Math.sin(-Ne)]}function Ft(Re,Ne){if(Re===0)return re.pathSector(2*Le);var Qe=Be/Re,ut=Ne-Qe,dt=Ne+Qe,_t=Math.max(0,Math.min(Re,me)),It=_t-Le,Lt=_t+Le;return"M"+xt(It,ut)+"A"+[It,It]+" 0,0,0 "+xt(It,dt)+"L"+xt(Lt,dt)+"A"+[Lt,Lt]+" 0,0,1 "+xt(Lt,ut)+"Z"}function Ot(Re,Ne,Qe){if(Re===0)return re.pathSector(2*Le);var ut,dt,_t=xt(Re,Ne),It=xt(Re,Qe),Lt=fe((_t[0]+It[0])/2),yt=fe((_t[1]+It[1])/2);if(Lt&&yt){var Pt=yt/Lt,wt=-1/Pt,Rt=be(Le,Pt,Lt,yt);ut=be(Be,wt,Rt[0][0],Rt[0][1]),dt=be(Be,wt,Rt[1][0],Rt[1][1])}else{var Nt,Yt;yt?(Nt=Be,Yt=Le):(Nt=Le,Yt=Be),ut=[[Lt-Nt,yt-Yt],[Lt+Nt,yt-Yt]],dt=[[Lt-Nt,yt+Yt],[Lt+Nt,yt+Yt]]}return"M"+ut.join("L")+"L"+dt.reverse().join("L")+"Z"}function Bt(Re,Ne){return Ne=Math.max(Math.min(Ne,me),pe),Reye?(Re-1&&Re===1&&k(Ne,oe,[re.xaxis],[re.yaxis],re.id,ht),Qe.indexOf("event")>-1&&y.click(oe,Ne,re.id)}ht.prepFn=function(Re,Ne,Qe){var ut=oe._fullLayout.dragmode,dt=ze.getBoundingClientRect();oe._fullLayout._calcInverseTransform(oe);var _t=oe._fullLayout._invTransform;X=oe._fullLayout._invScaleX,Q=oe._fullLayout._invScaleY;var It=M.apply3DTransform(_t)(Ne-dt.left,Qe-dt.top);if(je=It[0],ge=It[1],Ce){var Lt=I.findPolygonOffset(me,Se[0],Se[1],Ce);je+=_e+Lt[0],ge+=Me+Lt[1]}switch(ut){case"zoom":ht.clickFn=ft,ie||(ht.moveFn=Ce?Je:Vt,ht.doneFn=qe,function(){we=null,Ee=null,Ve=re.pathSubplot(),$e=!1;var yt=oe._fullLayout[re.id];Ye=g(yt.bgcolor).getLuminance(),(st=m.makeZoombox(ce,Ye,xe,Pe,Ve)).attr("fill-rule","evenodd"),ot=m.makeCorners(ce,xe,Pe),E(oe)}());break;case"select":case"lasso":_(Re,Ne,Qe,ht,ut)}},w.init(ht)},q.updateRadialDrag=function(Z,X,Q){var re=this,ie=re.gd,oe=re.layers,ue=re.radius,ce=re.innerRadius,ye=re.cx,de=re.cy,me=re.radialAxis,pe=R.radialDragBoxSize,xe=pe/2;if(me.visible){var Pe,_e,Me,Se=$(re.radialAxisAngle),Ce=me._rl,ae=Ce[0],fe=Ce[1],be=Ce[Q],ke=.75*(Ce[1]-Ce[0])/(1-re.getHole(X))/ue;Q?(Pe=ye+(ue+xe)*Math.cos(Se),_e=de-(ue+xe)*Math.sin(Se),Me="radialdrag"):(Pe=ye+(ce-xe)*Math.cos(Se),_e=de-(ce-xe)*Math.sin(Se),Me="radialdrag-inner");var Le,Be,ze,je=m.makeRectDragger(oe,Me,"crosshair",-xe,-xe,pe,pe),ge={element:je,gd:ie};Z.dragmode===!1&&(ge.dragmode=!1),te(d.select(je),me.visible&&ce0==(Q?ze>ae:zec?function(S){return S<=0}:function(S){return S>=0};a.c2g=function(S){var _=a.c2l(S)-s;return(y(_)?_:0)+w},a.g2c=function(S){return a.l2c(S+s-w)},a.g2p=function(S){return S*m},a.c2p=function(S){return a.g2p(a.c2g(S))}}})(v,f);break;case"angularaxis":(function(a,u){var o=a.type;if(o==="linear"){var s=a.d2c,c=a.c2d;a.d2c=function(h,m){return function(w,y){return y==="degrees"?i(w):w}(s(h),m)},a.c2d=function(h,m){return c(function(w,y){return y==="degrees"?M(w):w}(h,m))}}a.makeCalcdata=function(h,m){var w,y,S=h[m],_=h._length,k=function(b){return a.d2c(b,h.thetaunit)};if(S){if(d.isTypedArray(S)&&o==="linear"){if(_===S.length)return S;if(S.subarray)return S.subarray(0,_)}for(w=new Array(_),y=0;y<_;y++)w[y]=k(S[y])}else{var E=m+"0",x="d"+m,A=E in h?k(h[E]):0,L=h[x]?k(h[x]):(a.period||2*Math.PI)/_;for(w=new Array(_),y=0;y<_;y++)w[y]=A+y*L}return w},a.setGeometry=function(){var h,m,w,y,S=u.sector,_=S.map(i),k={clockwise:-1,counterclockwise:1}[a.direction],E=i(a.rotation),x=function(R){return k*R+E},A=function(R){return(R-E)/k};switch(o){case"linear":m=h=d.identity,y=i,w=M,a.range=d.isFullCircle(_)?[S[0],S[0]+360]:_.map(A).map(M);break;case"category":var L=a._categories.length,b=a.period?Math.max(a.period,L):L;b===0&&(b=1),m=y=function(R){return 2*R*Math.PI/b},h=w=function(R){return R*b/Math.PI/2},a.range=[0,b]}a.c2g=function(R){return x(m(R))},a.g2c=function(R){return h(A(R))},a.t2g=function(R){return x(y(R))},a.g2t=function(R){return w(A(R))}}})(v,f)}}},39779:function(T){T.exports={attr:"subplot",name:"smith",axisNames:["realaxis","imaginaryaxis"],axisName2dataArray:{imaginaryaxis:"imag",realaxis:"real"}}},23893:function(T){function p(i){return i<0?-1:i>0?1:0}function t(i){var M=i[0],v=i[1];if(!isFinite(M)||!isFinite(v))return[1,0];var f=(M+1)*(M+1)+v*v;return[(M*M+v*v-1)/f,2*v/f]}function d(i,M){var v=M[0],f=M[1];return[v*i.radius+i.cx,-f*i.radius+i.cy]}function g(i,M){return M*i.radius}T.exports={smith:t,reactanceArc:function(i,M,v,f){var l=d(i,t([v,M])),a=l[0],u=l[1],o=d(i,t([f,M])),s=o[0],c=o[1];if(M===0)return["M"+a+","+u,"L"+s+","+c].join(" ");var h=g(i,1/Math.abs(M));return["M"+a+","+u,"A"+h+","+h+" 0 0,"+(M<0?1:0)+" "+s+","+c].join(" ")},resistanceArc:function(i,M,v,f){var l=g(i,1/(M+1)),a=d(i,t([M,v])),u=a[0],o=a[1],s=d(i,t([M,f])),c=s[0],h=s[1];if(p(v)!==p(f)){var m=d(i,t([M,0]));return["M"+u+","+o,"A"+l+","+l+" 0 0,"+(00){for(var f=[],l=0;l=A&&(b.min=0,R.min=0,I.min=0,m.aaxis&&delete m.aaxis.min,m.baxis&&delete m.baxis.min,m.caxis&&delete m.caxis.min)}function h(m,w,y,S){var _=o[w._name];function k(R,I){return i.coerce(m,w,_,R,I)}k("uirevision",S.uirevision),w.type="linear";var E=k("color"),x=E!==_.color.dflt?E:y.font.color,A=w._name.charAt(0).toUpperCase(),L="Component "+A,b=k("title.text",L);w._hovertitle=b===L?b:A,i.coerceFont(k,"title.font",{family:y.font.family,size:i.bigFont(y.font.size),color:x}),k("min"),a(m,w,k,"linear"),f(m,w,k,"linear"),v(m,w,k,"linear"),l(m,w,k,{outerTicks:!0}),k("showticklabels")&&(i.coerceFont(k,"tickfont",{family:y.font.family,size:y.font.size,color:x}),k("tickangle"),k("tickformat")),u(m,w,k,{dfltColor:E,bgColor:y.bgColor,blend:60,showLine:!0,showGrid:!0,noZeroLine:!0,attributes:_}),k("hoverformat"),k("layer")}T.exports=function(m,w,y){M(m,w,y,{type:"ternary",attributes:o,handleDefaults:c,font:w.font,paper_bgcolor:w.paper_bgcolor})}},64380:function(T,p,t){var d=t(39898),g=t(84267),i=t(73972),M=t(71828),v=M.strTranslate,f=M._,l=t(7901),a=t(91424),u=t(21994),o=t(1426).extendFlat,s=t(74875),c=t(89298),h=t(28569),m=t(30211),w=t(64505),y=w.freeMode,S=w.rectMode,_=t(92998),k=t(47322).prepSelect,E=t(47322).selectOnClick,x=t(47322).clearOutline,A=t(47322).clearSelectionsCache,L=t(85555);function b(j,$){this.id=j.id,this.graphDiv=j.graphDiv,this.init($),this.makeFramework($),this.aTickLayout=null,this.bTickLayout=null,this.cTickLayout=null}T.exports=b;var R=b.prototype;R.init=function(j){this.container=j._ternarylayer,this.defs=j._defs,this.layoutId=j._uid,this.traceHash={},this.layers={}},R.plot=function(j,$){var U=this,G=$[U.id],q=$._size;U._hasClipOnAxisFalse=!1;for(var H=0;HI*ce?q=(H=ce)*I:H=(q=ue)/I,ne=ie*q/ue,te=oe*H/ce,U=$.l+$.w*Q-q/2,G=$.t+$.h*(1-re)-H/2,Z.x0=U,Z.y0=G,Z.w=q,Z.h=H,Z.sum=ye,Z.xaxis={type:"linear",range:[de+2*pe-ye,ye-de-2*me],domain:[Q-ne/2,Q+ne/2],_id:"x"},u(Z.xaxis,Z.graphDiv._fullLayout),Z.xaxis.setScale(),Z.xaxis.isPtWithinRange=function(Le){return Le.a>=Z.aaxis.range[0]&&Le.a<=Z.aaxis.range[1]&&Le.b>=Z.baxis.range[1]&&Le.b<=Z.baxis.range[0]&&Le.c>=Z.caxis.range[1]&&Le.c<=Z.caxis.range[0]},Z.yaxis={type:"linear",range:[de,ye-me-pe],domain:[re-te/2,re+te/2],_id:"y"},u(Z.yaxis,Z.graphDiv._fullLayout),Z.yaxis.setScale(),Z.yaxis.isPtWithinRange=function(){return!0};var xe=Z.yaxis.domain[0],Pe=Z.aaxis=o({},j.aaxis,{range:[de,ye-me-pe],side:"left",tickangle:(+j.aaxis.tickangle||0)-30,domain:[xe,xe+te*I],anchor:"free",position:0,_id:"y",_length:q});u(Pe,Z.graphDiv._fullLayout),Pe.setScale();var _e=Z.baxis=o({},j.baxis,{range:[ye-de-pe,me],side:"bottom",domain:Z.xaxis.domain,anchor:"free",position:0,_id:"x",_length:q});u(_e,Z.graphDiv._fullLayout),_e.setScale();var Me=Z.caxis=o({},j.caxis,{range:[ye-de-me,pe],side:"right",tickangle:(+j.caxis.tickangle||0)+30,domain:[xe,xe+te*I],anchor:"free",position:0,_id:"y",_length:q});u(Me,Z.graphDiv._fullLayout),Me.setScale();var Se="M"+U+","+(G+H)+"h"+q+"l-"+q/2+",-"+H+"Z";Z.clipDef.select("path").attr("d",Se),Z.layers.plotbg.select("path").attr("d",Se);var Ce="M0,"+H+"h"+q+"l-"+q/2+",-"+H+"Z";Z.clipDefRelative.select("path").attr("d",Ce);var ae=v(U,G);Z.plotContainer.selectAll(".scatterlayer,.maplayer").attr("transform",ae),Z.clipDefRelative.select("path").attr("transform",null);var fe=v(U-_e._offset,G+H);Z.layers.baxis.attr("transform",fe),Z.layers.bgrid.attr("transform",fe);var be=v(U+q/2,G)+"rotate(30)"+v(0,-Pe._offset);Z.layers.aaxis.attr("transform",be),Z.layers.agrid.attr("transform",be);var ke=v(U+q/2,G)+"rotate(-30)"+v(0,-Me._offset);Z.layers.caxis.attr("transform",ke),Z.layers.cgrid.attr("transform",ke),Z.drawAxes(!0),Z.layers.aline.select("path").attr("d",Pe.showline?"M"+U+","+(G+H)+"l"+q/2+",-"+H:"M0,0").call(l.stroke,Pe.linecolor||"#000").style("stroke-width",(Pe.linewidth||0)+"px"),Z.layers.bline.select("path").attr("d",_e.showline?"M"+U+","+(G+H)+"h"+q:"M0,0").call(l.stroke,_e.linecolor||"#000").style("stroke-width",(_e.linewidth||0)+"px"),Z.layers.cline.select("path").attr("d",Me.showline?"M"+(U+q/2)+","+G+"l"+q/2+","+H:"M0,0").call(l.stroke,Me.linecolor||"#000").style("stroke-width",(Me.linewidth||0)+"px"),Z.graphDiv._context.staticPlot||Z.initInteractions(),a.setClipUrl(Z.layers.frontplot,Z._hasClipOnAxisFalse?null:Z.clipId,Z.graphDiv)},R.drawAxes=function(j){var $=this,U=$.graphDiv,G=$.id.substr(7)+"title",q=$.layers,H=$.aaxis,ne=$.baxis,te=$.caxis;if($.drawAx(H),$.drawAx(ne),$.drawAx(te),j){var Z=Math.max(H.showticklabels?H.tickfont.size/2:0,(te.showticklabels?.75*te.tickfont.size:0)+(te.ticks==="outside"?.87*te.ticklen:0)),X=(ne.showticklabels?ne.tickfont.size:0)+(ne.ticks==="outside"?ne.ticklen:0)+3;q["a-title"]=_.draw(U,"a"+G,{propContainer:H,propName:$.id+".aaxis.title",placeholder:f(U,"Click to enter Component A title"),attributes:{x:$.x0+$.w/2,y:$.y0-H.title.font.size/3-Z,"text-anchor":"middle"}}),q["b-title"]=_.draw(U,"b"+G,{propContainer:ne,propName:$.id+".baxis.title",placeholder:f(U,"Click to enter Component B title"),attributes:{x:$.x0-X,y:$.y0+$.h+.83*ne.title.font.size+X,"text-anchor":"middle"}}),q["c-title"]=_.draw(U,"c"+G,{propContainer:te,propName:$.id+".caxis.title",placeholder:f(U,"Click to enter Component C title"),attributes:{x:$.x0+$.w+X,y:$.y0+$.h+.83*te.title.font.size+X,"text-anchor":"middle"}})}},R.drawAx=function(j){var $,U=this,G=U.graphDiv,q=j._name,H=q.charAt(0),ne=j._id,te=U.layers[q],Z=H+"tickLayout",X=($=j).ticks+String($.ticklen)+String($.showticklabels);U[Z]!==X&&(te.selectAll("."+ne+"tick").remove(),U[Z]=X),j.setScale();var Q=c.calcTicks(j),re=c.clipEnds(j,Q),ie=c.makeTransTickFn(j),oe=c.getTickSigns(j)[2],ue=M.deg2rad(30),ce=oe*(j.linewidth||1)/2,ye=oe*j.ticklen,de=U.w,me=U.h,pe=H==="b"?"M0,"+ce+"l"+Math.sin(ue)*ye+","+Math.cos(ue)*ye:"M"+ce+",0l"+Math.cos(ue)*ye+","+-Math.sin(ue)*ye,xe={a:"M0,0l"+me+",-"+de/2,b:"M0,0l-"+de/2+",-"+me,c:"M0,0l-"+me+","+de/2}[H];c.drawTicks(G,j,{vals:j.ticks==="inside"?re:Q,layer:te,path:pe,transFn:ie,crisp:!1}),c.drawGrid(G,j,{vals:re,layer:U.layers[H+"grid"],path:xe,transFn:ie,crisp:!1}),c.drawLabels(G,j,{vals:Q,layer:te,transFn:ie,labelFns:c.makeLabelFns(j,0,30)})};var O=L.MINZOOM/2+.87,z="m-0.87,.5h"+O+"v3h-"+(O+5.2)+"l"+(O/2+2.6)+",-"+(.87*O+4.5)+"l2.6,1.5l-"+O/2+","+.87*O+"Z",F="m0.87,.5h-"+O+"v3h"+(O+5.2)+"l-"+(O/2+2.6)+",-"+(.87*O+4.5)+"l-2.6,1.5l"+O/2+","+.87*O+"Z",B="m0,1l"+O/2+","+.87*O+"l2.6,-1.5l-"+(O/2+2.6)+",-"+(.87*O+4.5)+"l-"+(O/2+2.6)+","+(.87*O+4.5)+"l2.6,1.5l"+O/2+",-"+.87*O+"Z",N=!0;function W(j){d.select(j).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}R.clearOutline=function(){A(this.dragOptions),x(this.dragOptions.gd)},R.initInteractions=function(){var j,$,U,G,q,H,ne,te,Z,X,Q,re,ie=this,oe=ie.layers.plotbg.select("path").node(),ue=ie.graphDiv,ce=ue._fullLayout._zoomlayer;function ye(Ce){var ae={};return ae[ie.id+".aaxis.min"]=Ce.a,ae[ie.id+".baxis.min"]=Ce.b,ae[ie.id+".caxis.min"]=Ce.c,ae}function de(Ce,ae){var fe=ue._fullLayout.clickmode;W(ue),Ce===2&&(ue.emit("plotly_doubleclick",null),i.call("_guiRelayout",ue,ye({a:0,b:0,c:0}))),fe.indexOf("select")>-1&&Ce===1&&E(ae,ue,[ie.xaxis],[ie.yaxis],ie.id,ie.dragOptions),fe.indexOf("event")>-1&&m.click(ue,ae,ie.id)}function me(Ce,ae){return 1-ae/ie.h}function pe(Ce,ae){return 1-(Ce+(ie.h-ae)/Math.sqrt(3))/ie.w}function xe(Ce,ae){return(Ce-(ie.h-ae)/Math.sqrt(3))/ie.w}function Pe(Ce,ae){var fe=U+Ce*j,be=G+ae*$,ke=Math.max(0,Math.min(1,me(0,G),me(0,be))),Le=Math.max(0,Math.min(1,pe(U,G),pe(fe,be))),Be=Math.max(0,Math.min(1,xe(U,G),xe(fe,be))),ze=(ke/2+Be)*ie.w,je=(1-ke/2-Le)*ie.w,ge=(ze+je)/2,we=je-ze,Ee=(1-ke)*ie.h,Ve=Ee-we/I;we.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),re.transition().style("opacity",1).duration(200),X=!0),ue.emit("plotly_relayouting",ye(ne))}function _e(){W(ue),ne!==q&&(i.call("_guiRelayout",ue,ye(ne)),N&&ue.data&&ue._context.showTips&&(M.notifier(f(ue,"Double-click to zoom back out"),"long"),N=!1))}function Me(Ce,ae){var fe=Ce/ie.xaxis._m,be=ae/ie.yaxis._m,ke=[(ne={a:q.a-be,b:q.b+(fe+be)/2,c:q.c-(fe-be)/2}).a,ne.b,ne.c].sort(M.sorterAsc),Le=ke.indexOf(ne.a),Be=ke.indexOf(ne.b),ze=ke.indexOf(ne.c);ke[0]<0&&(ke[1]+ke[0]/2<0?(ke[2]+=ke[0]+ke[1],ke[0]=ke[1]=0):(ke[2]+=ke[0]/2,ke[1]+=ke[0]/2,ke[0]=0),ne={a:ke[Le],b:ke[Be],c:ke[ze]},ae=(q.a-ne.a)*ie.yaxis._m,Ce=(q.c-ne.c-q.b+ne.b)*ie.xaxis._m);var je=v(ie.x0+Ce,ie.y0+ae);ie.plotContainer.selectAll(".scatterlayer,.maplayer").attr("transform",je);var ge=v(-Ce,-ae);ie.clipDefRelative.select("path").attr("transform",ge),ie.aaxis.range=[ne.a,ie.sum-ne.b-ne.c],ie.baxis.range=[ie.sum-ne.a-ne.c,ne.b],ie.caxis.range=[ie.sum-ne.a-ne.b,ne.c],ie.drawAxes(!1),ie._hasClipOnAxisFalse&&ie.plotContainer.select(".scatterlayer").selectAll(".trace").call(a.hideOutsideRangePoints,ie),ue.emit("plotly_relayouting",ye(ne))}function Se(){i.call("_guiRelayout",ue,ye(ne))}this.dragOptions={element:oe,gd:ue,plotinfo:{id:ie.id,domain:ue._fullLayout[ie.id].domain,xaxis:ie.xaxis,yaxis:ie.yaxis},subplot:ie.id,prepFn:function(Ce,ae,fe){ie.dragOptions.xaxes=[ie.xaxis],ie.dragOptions.yaxes=[ie.yaxis],j=ue._fullLayout._invScaleX,$=ue._fullLayout._invScaleY;var be=ie.dragOptions.dragmode=ue._fullLayout.dragmode;y(be)?ie.dragOptions.minDrag=1:ie.dragOptions.minDrag=void 0,be==="zoom"?(ie.dragOptions.moveFn=Pe,ie.dragOptions.clickFn=de,ie.dragOptions.doneFn=_e,function(ke,Le,Be){var ze=oe.getBoundingClientRect();U=Le-ze.left,G=Be-ze.top,ue._fullLayout._calcInverseTransform(ue);var je=ue._fullLayout._invTransform,ge=M.apply3DTransform(je)(U,G);U=ge[0],G=ge[1],q={a:ie.aaxis.range[0],b:ie.baxis.range[1],c:ie.caxis.range[1]},ne=q,H=ie.aaxis.range[1]-q.a,te=g(ie.graphDiv._fullLayout[ie.id].bgcolor).getLuminance(),Z="M0,"+ie.h+"L"+ie.w/2+", 0L"+ie.w+","+ie.h+"Z",X=!1,Q=ce.append("path").attr("class","zoombox").attr("transform",v(ie.x0,ie.y0)).style({fill:te>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("d",Z),re=ce.append("path").attr("class","zoombox-corners").attr("transform",v(ie.x0,ie.y0)).style({fill:l.background,stroke:l.defaultLine,"stroke-width":1,opacity:0}).attr("d","M0,0Z"),ie.clearOutline(ue)}(0,ae,fe)):be==="pan"?(ie.dragOptions.moveFn=Me,ie.dragOptions.clickFn=de,ie.dragOptions.doneFn=Se,q={a:ie.aaxis.range[0],b:ie.baxis.range[1],c:ie.caxis.range[1]},ne=q,ie.clearOutline(ue)):(S(be)||y(be))&&k(Ce,ae,fe,ie.dragOptions,be)}},oe.onmousemove=function(Ce){m.hover(ue,Ce,ie.id),ue._fullLayout._lasthover=oe,ue._fullLayout._hoversubplot=ie.id},oe.onmouseout=function(Ce){ue._dragging||h.unhover(ue,Ce)},h.init(this.dragOptions)}},73972:function(T,p,t){var d=t(47769),g=t(64213),i=t(75138),M=t(41965),v=t(24401).addStyleRule,f=t(1426),l=t(9012),a=t(10820),u=f.extendFlat,o=f.extendDeepAll;function s(E){var x=E.name,A=E.categories,L=E.meta;if(p.modules[x])d.log("Type "+x+" already registered");else{p.subplotsRegistry[E.basePlotModule.name]||function(N){var W=N.name;if(p.subplotsRegistry[W])d.log("Plot type "+W+" already registered.");else for(var j in w(N),p.subplotsRegistry[W]=N,p.componentsRegistry)_(j,N.name)}(E.basePlotModule);for(var b={},R=0;R-1&&(h[w[a]].title={text:""});for(a=0;a")!==-1?"":R.html(O).text()});return R.remove(),I}(L)).replace(/&(?!\w+;|\#[0-9]+;| \#x[0-9A-F]+;)/g,"&")).replace(a,"'"),g.isIE()&&(L=(L=(L=L.replace(/"/gi,"'")).replace(/(\('#)([^']*)('\))/gi,'("#$2")')).replace(/(\\')/gi,'"')),L}},75341:function(T,p,t){var d=t(71828);T.exports=function(g,i){for(var M=0;MI+b||!d(R))}for(var z=0;za))return v}return f!==void 0?f:M.dflt},p.coerceColor=function(M,v,f){return g(v).isValid()?v:f!==void 0?f:M.dflt},p.coerceEnumerated=function(M,v,f){return M.coerceNumber&&(v=+v),M.values.indexOf(v)!==-1?v:f!==void 0?f:M.dflt},p.getValue=function(M,v){var f;return Array.isArray(M)?v0?ye+=de:y<0&&(ye-=de)}return ye}function te(ce){var ye=y,de=ce.b,me=ne(ce);return d.inbox(de-ye,me-ye,O+(me-ye)/(me-de)-1)}var Z=o[S+"a"],X=o[_+"a"];x=Math.abs(Z.r2c(Z.range[1])-Z.r2c(Z.range[0]));var Q=d.getDistanceFunction(h,k,E,function(ce){return(k(ce)+E(ce))/2});if(d.getClosest(A,Q,o),o.index!==!1&&A[o.index].p!==l){B||(U=function(ce){return Math.min(N(ce),ce.p-b.bargroupwidth/2)},G=function(ce){return Math.max(W(ce),ce.p+b.bargroupwidth/2)});var re=A[o.index],ie=L.base?re.b+re.s:re.s;o[_+"0"]=o[_+"1"]=X.c2p(re[_],!0),o[_+"LabelVal"]=ie;var oe=b.extents[b.extents.round(re.p)];o[S+"0"]=Z.c2p(R?U(re):oe[0],!0),o[S+"1"]=Z.c2p(R?G(re):oe[1],!0);var ue=re.orig_p!==void 0;return o[S+"LabelVal"]=ue?re.orig_p:re.p,o.labelLabel=f(Z,o[S+"LabelVal"],L[S+"hoverformat"]),o.valueLabel=f(X,o[_+"LabelVal"],L[_+"hoverformat"]),o.baseLabel=f(X,re.b,L[_+"hoverformat"]),o.spikeDistance=(function(ce){var ye=y,de=ce.b,me=ne(ce);return d.inbox(de-ye,me-ye,z+(me-ye)/(me-de)-1)}(re)+function(ce){return q(N(ce),W(ce),z)}(re))/2,o[S+"Spike"]=Z.c2p(re.p,!0),M(re,L,o),o.hovertemplate=L.hovertemplate,o}}function u(o,s){var c=s.mcc||o.marker.color,h=s.mlcc||o.marker.line.color,m=v(o,s);return i.opacity(c)?c:i.opacity(h)&&m?h:void 0}T.exports={hoverPoints:function(o,s,c,h,m){var w=a(o,s,c,h,m);if(w){var y=w.cd,S=y[0].trace,_=y[w.index];return w.color=u(S,_),g.getComponentMethod("errorbars","hoverInfo")(_,S,w),[w]}},hoverOnBars:a,getTraceColor:u}},60822:function(T,p,t){T.exports={attributes:t(1486),layoutAttributes:t(43641),supplyDefaults:t(90769).supplyDefaults,crossTraceDefaults:t(90769).crossTraceDefaults,supplyLayoutDefaults:t(13957),calc:t(92290),crossTraceCalc:t(11661).crossTraceCalc,colorbar:t(4898),arraysToCalcdata:t(75341),plot:t(17295).plot,style:t(16688).style,styleOnSelect:t(16688).styleOnSelect,hoverPoints:t(95423).hoverPoints,eventData:t(58065),selectPoints:t(81974),moduleType:"trace",name:"bar",basePlotModule:t(93612),categories:["bar-like","cartesian","svg","bar","oriented","errorBarsOK","showLegend","zoomScale"],animatable:!0,meta:{}}},43641:function(T){T.exports={barmode:{valType:"enumerated",values:["stack","group","overlay","relative"],dflt:"group",editType:"calc"},barnorm:{valType:"enumerated",values:["","fraction","percent"],dflt:"",editType:"calc"},bargap:{valType:"number",min:0,max:1,editType:"calc"},bargroupgap:{valType:"number",min:0,max:1,dflt:0,editType:"calc"}}},13957:function(T,p,t){var d=t(73972),g=t(89298),i=t(71828),M=t(43641);T.exports=function(v,f,l){function a(S,_){return i.coerce(v,f,M,S,_)}for(var u=!1,o=!1,s=!1,c={},h=a("barmode"),m=0;m0}function R(z){return z==="auto"?0:z}function I(z,F){var B=Math.PI/180*F,N=Math.abs(Math.sin(B)),W=Math.abs(Math.cos(B));return{x:z.width*W+z.height*N,y:z.width*N+z.height*W}}function O(z,F,B,N,W,j){var $=!!j.isHorizontal,U=!!j.constrained,G=j.angle||0,q=j.anchor||"end",H=q==="end",ne=q==="start",te=((j.leftToRight||0)+1)/2,Z=1-te,X=W.width,Q=W.height,re=Math.abs(F-z),ie=Math.abs(N-B),oe=re>2*k&&ie>2*k?k:0;re-=2*oe,ie-=2*oe;var ue=R(G);G!=="auto"||X<=re&&Q<=ie||!(X>re||Q>ie)||(X>ie||Q>re)&&X.01?Be:function(we,Ee,Ve){return Ve&&we===Ee?we:Math.abs(we-Ee)>=2?Be(we):we>Ee?Math.ceil(we):Math.floor(we)};Ce=ze(Ce,ae,oe),ae=ze(ae,Ce,oe),fe=ze(fe,be,!oe),be=ze(be,fe,!oe)}var je=L(i.ensureSingle(Me,"path"),G,W,j);if(je.style("vector-effect",q?"none":"non-scaling-stroke").attr("d",isNaN((ae-Ce)*(be-fe))||ke&&z._context.staticPlot?"M0,0Z":"M"+Ce+","+fe+"V"+be+"H"+ae+"V"+fe+"Z").call(f.setClipUrl,F.layerClipId,z),!G.uniformtext.mode&&ue){var ge=f.makePointStyleFns(Z);f.singlePointStyle(pe,je,Z,ge,z)}(function(we,Ee,Ve,$e,Ye,st,ot,ht,bt,Et,kt){var xt,Ft=Ee.xaxis,Ot=Ee.yaxis,Bt=we._fullLayout;function qt(Qt,rn,xn){return i.ensureSingle(Qt,"text").text(rn).attr({class:"bartext bartext-"+xt,"text-anchor":"middle","data-notex":1}).call(f.font,xn).call(M.convertToTspans,we)}var Vt=$e[0].trace,Ke=Vt.orientation==="h",Je=function(Qt,rn,xn,un,An){var Yn,kn=rn[0].trace;return Yn=kn.texttemplate?function(sn,Tn,dn,pn,Dn){var In=Tn[0].trace,jn=i.castOption(In,dn,"texttemplate");if(!jn)return"";var Gn,qn,lr,rr,Sr=In.type==="histogram",yr=In.type==="waterfall",or=In.type==="funnel",vr=In.orientation==="h";function _r($n){return a(rr,rr.c2l($n),!0).text}vr?(Gn="y",qn=Dn,lr="x",rr=pn):(Gn="x",qn=pn,lr="y",rr=Dn);var Kt,bn=Tn[dn],Rn={};Rn.label=bn.p,Rn.labelLabel=Rn[Gn+"Label"]=(Kt=bn.p,a(qn,qn.c2l(Kt),!0).text);var Ln=i.castOption(In,bn.i,"text");(Ln===0||Ln)&&(Rn.text=Ln),Rn.value=bn.s,Rn.valueLabel=Rn[lr+"Label"]=_r(bn.s);var Un={};_(Un,In,bn.i),(Sr||Un.x===void 0)&&(Un.x=vr?Rn.value:Rn.label),(Sr||Un.y===void 0)&&(Un.y=vr?Rn.label:Rn.value),(Sr||Un.xLabel===void 0)&&(Un.xLabel=vr?Rn.valueLabel:Rn.labelLabel),(Sr||Un.yLabel===void 0)&&(Un.yLabel=vr?Rn.labelLabel:Rn.valueLabel),yr&&(Rn.delta=+bn.rawS||bn.s,Rn.deltaLabel=_r(Rn.delta),Rn.final=bn.v,Rn.finalLabel=_r(Rn.final),Rn.initial=Rn.final-Rn.delta,Rn.initialLabel=_r(Rn.initial)),or&&(Rn.value=bn.s,Rn.valueLabel=_r(Rn.value),Rn.percentInitial=bn.begR,Rn.percentInitialLabel=i.formatPercent(bn.begR),Rn.percentPrevious=bn.difR,Rn.percentPreviousLabel=i.formatPercent(bn.difR),Rn.percentTotal=bn.sumR,Rn.percenTotalLabel=i.formatPercent(bn.sumR));var Kn=i.castOption(In,bn.i,"customdata");return Kn&&(Rn.customdata=Kn),i.texttemplateString(jn,Rn,sn._d3locale,Un,Rn,In._meta||{})}(Qt,rn,xn,un,An):kn.textinfo?function(sn,Tn,dn,pn){var Dn=sn[0].trace,In=Dn.orientation==="h",jn=Dn.type==="waterfall",Gn=Dn.type==="funnel";function qn(Kn){return a(In?dn:pn,+Kn,!0).text}var lr,rr,Sr=Dn.textinfo,yr=sn[Tn],or=Sr.split("+"),vr=[],_r=function(Kn){return or.indexOf(Kn)!==-1};if(_r("label")&&vr.push((rr=sn[Tn].p,a(In?pn:dn,rr,!0).text)),_r("text")&&((lr=i.castOption(Dn,yr.i,"text"))===0||lr)&&vr.push(lr),jn){var Kt=+yr.rawS||yr.s,bn=yr.v,Rn=bn-Kt;_r("initial")&&vr.push(qn(Rn)),_r("delta")&&vr.push(qn(Kt)),_r("final")&&vr.push(qn(bn))}if(Gn){_r("value")&&vr.push(qn(yr.s));var Ln=0;_r("percent initial")&&Ln++,_r("percent previous")&&Ln++,_r("percent total")&&Ln++;var Un=Ln>1;_r("percent initial")&&(lr=i.formatPercent(yr.begR),Un&&(lr+=" of initial"),vr.push(lr)),_r("percent previous")&&(lr=i.formatPercent(yr.difR),Un&&(lr+=" of previous"),vr.push(lr)),_r("percent total")&&(lr=i.formatPercent(yr.sumR),Un&&(lr+=" of total"),vr.push(lr))}return vr.join("
")}(rn,xn,un,An):h.getValue(kn.text,xn),h.coerceString(y,Yn)}(Bt,$e,Ye,Ft,Ot);xt=function(Qt,rn){var xn=h.getValue(Qt.textposition,rn);return h.coerceEnumerated(S,xn)}(Vt,Ye);var qe=Et.mode==="stack"||Et.mode==="relative",nt=$e[Ye],ft=!qe||nt._outmost;if(Je&&xt!=="none"&&(!nt.isBlank&&st!==ot&&ht!==bt||xt!=="auto"&&xt!=="inside")){var Re=Bt.font,Ne=c.getBarColor($e[Ye],Vt),Qe=c.getInsideTextFont(Vt,Ye,Re,Ne),ut=c.getOutsideTextFont(Vt,Ye,Re),dt=Ve.datum();Ke?Ft.type==="log"&&dt.s0<=0&&(st=Ft.range[0]0&&yt>0&&(Lt<=wt&&yt<=Rt||Lt<=Rt&&yt<=wt||(Ke?wt>=Lt*(Rt/yt):Rt>=yt*(wt/Lt)))?xt="inside":(xt="outside",_t.remove(),_t=null)):xt="inside"),!_t){var Nt=(_t=qt(Ve,Je,Pt=i.ensureUniformFontSize(we,xt==="outside"?ut:Qe))).attr("transform");if(_t.attr("transform",""),Lt=(It=f.bBox(_t.node())).width,yt=It.height,_t.attr("transform",Nt),Lt<=0||yt<=0)return void _t.remove()}var Yt,Wt=Vt.textangle;Yt=xt==="outside"?function(Qt,rn,xn,un,An,Yn){var kn,sn=!!Yn.isHorizontal,Tn=!!Yn.constrained,dn=Yn.angle||0,pn=An.width,Dn=An.height,In=Math.abs(rn-Qt),jn=Math.abs(un-xn);kn=sn?jn>2*k?k:0:In>2*k?k:0;var Gn=1;Tn&&(Gn=sn?Math.min(1,jn/Dn):Math.min(1,In/pn));var qn=R(dn),lr=I(An,qn),rr=(sn?lr.x:lr.y)/2,Sr=(An.left+An.right)/2,yr=(An.top+An.bottom)/2,or=(Qt+rn)/2,vr=(xn+un)/2,_r=0,Kt=0,bn=sn?A(rn,Qt):A(xn,un);return sn?(or=rn-bn*kn,_r=bn*rr):(vr=un+bn*kn,Kt=-bn*rr),{textX:Sr,textY:yr,targetX:or,targetY:vr,anchorX:_r,anchorY:Kt,scale:Gn,rotate:qn}}(st,ot,ht,bt,It,{isHorizontal:Ke,constrained:Vt.constraintext==="both"||Vt.constraintext==="outside",angle:Wt}):O(st,ot,ht,bt,It,{isHorizontal:Ke,constrained:Vt.constraintext==="both"||Vt.constraintext==="inside",angle:Wt,anchor:Vt.insidetextanchor}),Yt.fontSize=Pt.size,o(Vt.type==="histogram"?"bar":Vt.type,Yt,Bt),nt.transform=Yt;var Xt=L(_t,Bt,Et,kt);i.setTransormAndDisplay(Xt,Yt)}else Ve.select("text").remove()})(z,F,Me,ne,xe,Ce,ae,fe,be,W,j),F.layerClipId&&f.hideOutsideRangePoint(pe,Me.select("text"),$,U,Z.xcalendar,Z.ycalendar)});var me=Z.cliponaxis===!1;f.setClipUrl(te,me?null:F.layerClipId,z)});l.getComponentMethod("errorbars","plot")(z,H,F,W)},toMoveInsideBar:O}},81974:function(T){function p(t,d,g,i,M){var v=d.c2p(i?t.s0:t.p0,!0),f=d.c2p(i?t.s1:t.p1,!0),l=g.c2p(i?t.p0:t.s0,!0),a=g.c2p(i?t.p1:t.s1,!0);return M?[(v+f)/2,(l+a)/2]:i?[f,(l+a)/2]:[(v+f)/2,a]}T.exports=function(t,d){var g,i=t.cd,M=t.xaxis,v=t.yaxis,f=i[0].trace,l=f.type==="funnel",a=f.orientation==="h",u=[];if(d===!1)for(g=0;g1||L.bargap===0&&L.bargroupgap===0&&!b[0].trace.marker.line.width)&&d.select(this).attr("shape-rendering","crispEdges")}),x.selectAll("g.points").each(function(b){c(d.select(this),b[0].trace,E)}),v.getComponentMethod("errorbars","style")(x)},styleTextPoints:h,styleOnSelect:function(E,x,A){var L=x[0].trace;L.selectedpoints?function(b,R,I){i.selectedPointStyle(b.selectAll("path"),R),function(O,z,F){O.each(function(B){var N,W=d.select(this);if(B.selected){N=M.ensureUniformFontSize(F,m(W,B,z,F));var j=z.selected.textfont&&z.selected.textfont.color;j&&(N.color=j),i.font(W,N)}else i.selectedTextStyle(W,z)})}(b.selectAll("text"),R,I)}(A,L,E):(c(A,L,E),v.getComponentMethod("errorbars","style")(A))},getInsideTextFont:y,getOutsideTextFont:S,getBarColor:k,resizeText:f}},98340:function(T,p,t){var d=t(7901),g=t(52075).hasColorscale,i=t(1586),M=t(71828).coercePattern;T.exports=function(v,f,l,a,u){var o=l("marker.color",a),s=g(v,"marker");s&&i(v,f,u,l,{prefix:"marker.",cLetter:"c"}),l("marker.line.color",d.defaultLine),g(v,"marker.line")&&i(v,f,u,l,{prefix:"marker.line.",cLetter:"c"}),l("marker.line.width"),l("marker.opacity"),M(l,"marker.pattern",o,s),l("selected.marker.color"),l("unselected.marker.color")}},72597:function(T,p,t){var d=t(39898),g=t(71828);function i(M){return"_"+M+"Text_minsize"}T.exports={recordMinTextSize:function(M,v,f){if(f.uniformtext.mode){var l=i(M),a=f.uniformtext.minsize,u=v.scale*v.fontSize;v.hide=uh.range[1]&&(E+=Math.PI),d.getClosest(o,function(L){return y(k,E,[L.rp0,L.rp1],[L.thetag0,L.thetag1],w)?S+Math.min(1,Math.abs(L.thetag1-L.thetag0)/_)-1+(L.rp1-k)/(L.rp1-L.rp0)-1:1/0},l),l.index!==!1){var x=o[l.index];l.x0=l.x1=x.ct[0],l.y0=l.y1=x.ct[1];var A=g.extendFlat({},x,{r:x.s,theta:x.p});return M(x,s,l),v(A,s,c,l),l.hovertemplate=s.hovertemplate,l.color=i(s,x),l.xLabelVal=l.yLabelVal=void 0,x.s<0&&(l.idealAlign="left"),[l]}}},23381:function(T,p,t){T.exports={moduleType:"trace",name:"barpolar",basePlotModule:t(23580),categories:["polar","bar","showLegend"],attributes:t(55023),layoutAttributes:t(40151),supplyDefaults:t(6135),supplyLayoutDefaults:t(19860),calc:t(74692).calc,crossTraceCalc:t(74692).crossTraceCalc,plot:t(60173),colorbar:t(4898),formatLabels:t(98608),style:t(16688).style,styleOnSelect:t(16688).styleOnSelect,hoverPoints:t(27379),selectPoints:t(81974),meta:{}}},40151:function(T){T.exports={barmode:{valType:"enumerated",values:["stack","overlay"],dflt:"stack",editType:"calc"},bargap:{valType:"number",dflt:.1,min:0,max:1,editType:"calc"}}},19860:function(T,p,t){var d=t(71828),g=t(40151);T.exports=function(i,M,v){var f,l={};function a(s,c){return d.coerce(i[f]||{},M[f],g,s,c)}for(var u=0;u0?(L=x,b=A):(L=A,b=x);var R=[v.findEnclosingVertexAngles(L,y.vangles)[0],(L+b)/2,v.findEnclosingVertexAngles(b,y.vangles)[1]];return v.pathPolygonAnnulus(k,E,L,b,R,S,_)}:function(k,E,x,A){return i.pathAnnulus(k,E,x,A,S,_)}}(l),w=l.layers.frontplot.select("g.barlayer");i.makeTraceGroups(w,a,"trace bars").each(function(){var y=d.select(this),S=i.ensureSingle(y,"g","points").selectAll("g.point").data(i.identity);S.enter().append("g").style("vector-effect",u?"none":"non-scaling-stroke").style("stroke-miterlimit",2).classed("point",!0),S.exit().remove(),S.each(function(_){var k,E=d.select(this),x=_.rp0=c.c2p(_.s0),A=_.rp1=c.c2p(_.s1),L=_.thetag0=h.c2g(_.p0),b=_.thetag1=h.c2g(_.p1);if(g(x)&&g(A)&&g(L)&&g(b)&&x!==A&&L!==b){var R=c.c2g(_.s1),I=(L+b)/2;_.ct=[o.c2p(R*Math.cos(I)),s.c2p(R*Math.sin(I))],k=m(x,A,L,b)}else k="M0,0Z";i.ensureSingle(E,"path").attr("d",k)}),M.setClipUrl(y,l._hasClipOnAxisFalse?l.clipIds.forTraces:null,f)})}},53522:function(T,p,t){var d=t(82196),g=t(1486),i=t(22399),M=t(12663).axisHoverFormat,v=t(5386).fF,f=t(1426).extendFlat,l=d.marker,a=l.line;T.exports={y:{valType:"data_array",editType:"calc+clearAxisTypes"},x:{valType:"data_array",editType:"calc+clearAxisTypes"},x0:{valType:"any",editType:"calc+clearAxisTypes"},y0:{valType:"any",editType:"calc+clearAxisTypes"},dx:{valType:"number",editType:"calc"},dy:{valType:"number",editType:"calc"},xperiod:d.xperiod,yperiod:d.yperiod,xperiod0:d.xperiod0,yperiod0:d.yperiod0,xperiodalignment:d.xperiodalignment,yperiodalignment:d.yperiodalignment,xhoverformat:M("x"),yhoverformat:M("y"),name:{valType:"string",editType:"calc+clearAxisTypes"},q1:{valType:"data_array",editType:"calc+clearAxisTypes"},median:{valType:"data_array",editType:"calc+clearAxisTypes"},q3:{valType:"data_array",editType:"calc+clearAxisTypes"},lowerfence:{valType:"data_array",editType:"calc"},upperfence:{valType:"data_array",editType:"calc"},notched:{valType:"boolean",editType:"calc"},notchwidth:{valType:"number",min:0,max:.5,dflt:.25,editType:"calc"},notchspan:{valType:"data_array",editType:"calc"},boxpoints:{valType:"enumerated",values:["all","outliers","suspectedoutliers",!1],editType:"calc"},jitter:{valType:"number",min:0,max:1,editType:"calc"},pointpos:{valType:"number",min:-2,max:2,editType:"calc"},boxmean:{valType:"enumerated",values:[!0,"sd",!1],editType:"calc"},mean:{valType:"data_array",editType:"calc"},sd:{valType:"data_array",editType:"calc"},orientation:{valType:"enumerated",values:["v","h"],editType:"calc+clearAxisTypes"},quartilemethod:{valType:"enumerated",values:["linear","exclusive","inclusive"],dflt:"linear",editType:"calc"},width:{valType:"number",min:0,dflt:0,editType:"calc"},marker:{outliercolor:{valType:"color",dflt:"rgba(0, 0, 0, 0)",editType:"style"},symbol:f({},l.symbol,{arrayOk:!1,editType:"plot"}),opacity:f({},l.opacity,{arrayOk:!1,dflt:1,editType:"style"}),angle:f({},l.angle,{arrayOk:!1,editType:"calc"}),size:f({},l.size,{arrayOk:!1,editType:"calc"}),color:f({},l.color,{arrayOk:!1,editType:"style"}),line:{color:f({},a.color,{arrayOk:!1,dflt:i.defaultLine,editType:"style"}),width:f({},a.width,{arrayOk:!1,dflt:0,editType:"style"}),outliercolor:{valType:"color",editType:"style"},outlierwidth:{valType:"number",min:0,dflt:1,editType:"style"},editType:"style"},editType:"plot"},line:{color:{valType:"color",editType:"style"},width:{valType:"number",min:0,dflt:2,editType:"style"},editType:"plot"},fillcolor:d.fillcolor,whiskerwidth:{valType:"number",min:0,max:1,dflt:.5,editType:"calc"},offsetgroup:g.offsetgroup,alignmentgroup:g.alignmentgroup,selected:{marker:d.selected.marker,editType:"style"},unselected:{marker:d.unselected.marker,editType:"style"},text:f({},d.text,{}),hovertext:f({},d.hovertext,{}),hovertemplate:v({}),hoveron:{valType:"flaglist",flags:["boxes","points"],dflt:"boxes+points",editType:"style"}}},48518:function(T,p,t){var d=t(92770),g=t(89298),i=t(42973),M=t(71828),v=t(50606).BADNUM,f=M._;T.exports=function(y,S){var _,k,E,x,A,L,b,R=y._fullLayout,I=g.getFromId(y,S.xaxis||"x"),O=g.getFromId(y,S.yaxis||"y"),z=[],F=S.type==="violin"?"_numViolins":"_numBoxes";S.orientation==="h"?(E=I,x="x",A=O,L="y",b=!!S.yperiodalignment):(E=O,x="y",A=I,L="x",b=!!S.xperiodalignment);var B,N,W,j,$,U,G=function(Ee,Ve,$e,Ye){var st,ot=Ve+"0"in Ee;if(Ve in Ee||ot&&"d"+Ve in Ee){var ht=$e.makeCalcdata(Ee,Ve);return[i(Ee,$e,Ve,ht).vals,ht]}st=ot?Ee[Ve+"0"]:"name"in Ee&&($e.type==="category"||d(Ee.name)&&["linear","log"].indexOf($e.type)!==-1||M.isDateTime(Ee.name)&&$e.type==="date")?Ee.name:Ye;for(var bt=$e.type==="multicategory"?$e.r2c_just_indices(st):$e.d2c(st,0,Ee[Ve+"calendar"]),Et=Ee._length,kt=new Array(Et),xt=0;xtB.uf};if(S._hasPreCompStats){var Q=S[x],re=function(Ee){return E.d2c((S[Ee]||[])[_])},ie=1/0,oe=-1/0;for(_=0;_=B.q1&&B.q3>=B.med){var ce=re("lowerfence");B.lf=ce!==v&&ce<=B.q1?ce:s(B,W,j);var ye=re("upperfence");B.uf=ye!==v&&ye>=B.q3?ye:c(B,W,j);var de=re("mean");B.mean=de!==v?de:j?M.mean(W,j):(B.q1+B.q3)/2;var me=re("sd");B.sd=de!==v&&me>=0?me:j?M.stdev(W,j,B.mean):B.q3-B.q1,B.lo=h(B),B.uo=m(B);var pe=re("notchspan");pe=pe!==v&&pe>0?pe:w(B,j),B.ln=B.med-pe,B.un=B.med+pe;var xe=B.lf,Pe=B.uf;S.boxpoints&&W.length&&(xe=Math.min(xe,W[0]),Pe=Math.max(Pe,W[j-1])),S.notched&&(xe=Math.min(xe,B.ln),Pe=Math.max(Pe,B.un)),B.min=xe,B.max=Pe}else{var _e;M.warn(["Invalid input - make sure that q1 <= median <= q3","q1 = "+B.q1,"median = "+B.med,"q3 = "+B.q3].join(` -`)),_e=B.med!==v?B.med:B.q1!==v?B.q3!==v?(B.q1+B.q3)/2:B.q1:B.q3!==v?B.q3:0,B.med=_e,B.q1=B.q3=_e,B.lf=B.uf=_e,B.mean=B.sd=_e,B.ln=B.un=_e,B.min=B.max=_e}ie=Math.min(ie,B.min),oe=Math.max(oe,B.max),B.pts2=N.filter(X),z.push(B)}}S._extremes[E._id]=g.findExtremes(E,[ie,oe],{padded:!0})}else{var Me=E.makeCalcdata(S,x),Se=function(Ee,Ve){for(var $e=Ee.length,Ye=new Array($e+1),st=0;st<$e;st++)Ye[st]=Ee[st]-Ve;return Ye[$e]=Ee[$e-1]+Ve,Ye}(te,Z),Ce=te.length,ae=function(Ee){for(var Ve=new Array(Ee),$e=0;$e=0&&fe0){var je,ge;(B={}).pos=B[L]=te[_],N=B.pts=ae[_].sort(u),j=(W=B[x]=N.map(o)).length,B.min=W[0],B.max=W[j-1],B.mean=M.mean(W,j),B.sd=M.stdev(W,j,B.mean),B.med=M.interp(W,.5),j%2&&(Be||ze)?(Be?(je=W.slice(0,j/2),ge=W.slice(j/2+1)):ze&&(je=W.slice(0,j/2+1),ge=W.slice(j/2)),B.q1=M.interp(je,.5),B.q3=M.interp(ge,.5)):(B.q1=M.interp(W,.25),B.q3=M.interp(W,.75)),B.lf=s(B,W,j),B.uf=c(B,W,j),B.lo=h(B),B.uo=m(B);var we=w(B,j);B.ln=B.med-we,B.un=B.med+we,be=Math.min(be,B.ln),ke=Math.max(ke,B.un),B.pts2=N.filter(X),z.push(B)}S._extremes[E._id]=g.findExtremes(E,S.notched?Me.concat([be,ke]):Me,{padded:!0})}return function(Ee,Ve){if(M.isArrayOrTypedArray(Ve.selectedpoints))for(var $e=0;$e0?(z[0].t={num:R[F],dPos:Z,posLetter:L,valLetter:x,labels:{med:f(y,"median:"),min:f(y,"min:"),q1:f(y,"q1:"),q3:f(y,"q3:"),max:f(y,"max:"),mean:S.boxmean==="sd"?f(y,"mean ± σ:"):f(y,"mean:"),lf:f(y,"lower fence:"),uf:f(y,"upper fence:")}},R[F]++,z):[{t:{empty:!0}}]};var l={text:"tx",hovertext:"htx"};function a(y,S,_){for(var k in l)M.isArrayOrTypedArray(S[k])&&(Array.isArray(_)?M.isArrayOrTypedArray(S[k][_[0]])&&(y[l[k]]=S[k][_[0]][_[1]]):y[l[k]]=S[k][_])}function u(y,S){return y.v-S.v}function o(y){return y.v}function s(y,S,_){return _===0?y.q1:Math.min(y.q1,S[Math.min(M.findBin(2.5*y.q1-1.5*y.q3,S,!0)+1,_-1)])}function c(y,S,_){return _===0?y.q3:Math.max(y.q3,S[Math.max(M.findBin(2.5*y.q3-1.5*y.q1,S),0)])}function h(y){return 4*y.q1-3*y.q3}function m(y){return 4*y.q3-3*y.q1}function w(y,S){return S===0?0:1.57*(y.q3-y.q1)/Math.sqrt(S)}},37188:function(T,p,t){var d=t(89298),g=t(71828),i=t(99082).getAxisGroup,M=["v","h"];function v(f,l,a,u){var o,s,c,h=l.calcdata,m=l._fullLayout,w=u._id,y=w.charAt(0),S=[],_=0;for(o=0;o1,L=1-m[f+"gap"],b=1-m[f+"groupgap"];for(o=0;o0){var ue=N.pointpos,ce=N.jitter,ye=N.marker.size/2,de=0;ue+ce>=0&&((de=ie*(ue+ce))>F?(oe=!0,Q=ye,Z=de):de>ne&&(Q=ye,Z=F)),de<=F&&(Z=F);var me=0;ue-ce<=0&&((me=-ie*(ue-ce))>B?(oe=!0,re=ye,X=me):me>te&&(re=ye,X=B)),me<=B&&(X=B)}else Z=F,X=B;var pe=new Array(c.length);for(s=0;s0?(A="v",L=R>0?Math.min(O,I):Math.min(I)):R>0?(A="h",L=Math.min(O)):L=0;if(L){s._length=L;var j=c("orientation",A);s._hasPreCompStats?j==="v"&&R===0?(c("x0",0),c("dx",1)):j==="h"&&b===0&&(c("y0",0),c("dy",1)):j==="v"&&R===0?c("x0"):j==="h"&&b===0&&c("y0"),g.getComponentMethod("calendars","handleTraceDefaults")(o,s,["x","y"],h)}else s.visible=!1}function u(o,s,c,h){var m=h.prefix,w=d.coerce2(o,s,l,"marker.outliercolor"),y=c("marker.line.outliercolor"),S="outliers";s._hasPreCompStats?S="all":(w||y)&&(S="suspectedoutliers");var _=c(m+"points",S);_?(c("jitter",_==="all"?.3:0),c("pointpos",_==="all"?-1.5:0),c("marker.symbol"),c("marker.opacity"),c("marker.size"),c("marker.angle"),c("marker.color",s.line.color),c("marker.line.color"),c("marker.line.width"),_==="suspectedoutliers"&&(c("marker.line.outliercolor",s.marker.color),c("marker.line.outlierwidth")),c("selected.marker.color"),c("unselected.marker.color"),c("selected.marker.size"),c("unselected.marker.size"),c("text"),c("hovertext")):delete s.marker;var k=c("hoveron");k!=="all"&&k.indexOf("points")===-1||c("hovertemplate"),d.coerceSelectionMarkerOpacity(s,c)}T.exports={supplyDefaults:function(o,s,c,h){function m(x,A){return d.coerce(o,s,l,x,A)}if(a(o,s,m,h),s.visible!==!1){M(o,s,h,m),m("xhoverformat"),m("yhoverformat");var w=s._hasPreCompStats;w&&(m("lowerfence"),m("upperfence")),m("line.color",(o.marker||{}).color||c),m("line.width"),m("fillcolor",i.addOpacity(s.line.color,.5));var y=!1;if(w){var S=m("mean"),_=m("sd");S&&S.length&&(y=!0,_&&_.length&&(y="sd"))}m("boxmean",y),m("whiskerwidth"),m("width"),m("quartilemethod");var k=!1;if(w){var E=m("notchspan");E&&E.length&&(k=!0)}else d.validate(o.notchwidth,l.notchwidth)&&(k=!0);m("notched",k)&&m("notchwidth"),u(o,s,m,{prefix:"box"})}},crossTraceDefaults:function(o,s){var c,h;function m(S){return d.coerce(h._input,h,l,S)}for(var w=0;w_.lo&&(W.so=!0)}return x});S.enter().append("path").classed("point",!0),S.exit().remove(),S.call(i.translatePoints,s,c)}function f(l,a,u,o){var s,c,h=a.val,m=a.pos,w=!!m.rangebreaks,y=o.bPos,S=o.bPosPxOffset||0,_=u.boxmean||(u.meanline||{}).visible;Array.isArray(o.bdPos)?(s=o.bdPos[0],c=o.bdPos[1]):(s=o.bdPos,c=o.bdPos);var k=l.selectAll("path.mean").data(u.type==="box"&&u.boxmean||u.type==="violin"&&u.box.visible&&u.meanline.visible?g.identity:[]);k.enter().append("path").attr("class","mean").style({fill:"none","vector-effect":"non-scaling-stroke"}),k.exit().remove(),k.each(function(E){var x=m.c2l(E.pos+y,!0),A=m.l2p(x-s)+S,L=m.l2p(x+c)+S,b=w?(A+L)/2:m.l2p(x)+S,R=h.c2p(E.mean,!0),I=h.c2p(E.mean-E.sd,!0),O=h.c2p(E.mean+E.sd,!0);u.orientation==="h"?d.select(this).attr("d","M"+R+","+A+"V"+L+(_==="sd"?"m0,0L"+I+","+b+"L"+R+","+A+"L"+O+","+b+"Z":"")):d.select(this).attr("d","M"+A+","+R+"H"+L+(_==="sd"?"m0,0L"+b+","+I+"L"+A+","+R+"L"+b+","+O+"Z":""))})}T.exports={plot:function(l,a,u,o){var s=l._context.staticPlot,c=a.xaxis,h=a.yaxis;g.makeTraceGroups(o,u,"trace boxes").each(function(m){var w,y,S=d.select(this),_=m[0],k=_.t,E=_.trace;k.wdPos=k.bdPos*E.whiskerwidth,E.visible!==!0||k.empty?S.remove():(E.orientation==="h"?(w=h,y=c):(w=c,y=h),M(S,{pos:w,val:y},E,k,s),v(S,{x:c,y:h},E,k),f(S,{pos:w,val:y},E,k))})},plotBoxAndWhiskers:M,plotPoints:v,plotBoxMean:f}},24626:function(T){T.exports=function(p,t){var d,g,i=p.cd,M=p.xaxis,v=p.yaxis,f=[];if(t===!1)for(d=0;d=10)return null;for(var v=1/0,f=-1/0,l=i.length,a=0;a0?Math.floor:Math.ceil,j=B>0?Math.ceil:Math.floor,$=B>0?Math.min:Math.max,U=B>0?Math.max:Math.min,G=W(z+N),q=j(F-N),H=[[c=O(z)]];for(f=G;f*B=0;i--)M[u-i]=p[o][i],v[u-i]=t[o][i];for(f.push({x:M,y:v,bicubic:l}),i=o,M=[],v=[];i>=0;i--)M[o-i]=p[i][0],v[o-i]=t[i][0];return f.push({x:M,y:v,bicubic:a}),f}},20347:function(T,p,t){var d=t(89298),g=t(1426).extendFlat;T.exports=function(i,M,v){var f,l,a,u,o,s,c,h,m,w,y,S,_,k,E=i["_"+M],x=i[M+"axis"],A=x._gridlines=[],L=x._minorgridlines=[],b=x._boundarylines=[],R=i["_"+v],I=i[v+"axis"];x.tickmode==="array"&&(x.tickvals=E.slice());var O=i._xctrl,z=i._yctrl,F=O[0].length,B=O.length,N=i._a.length,W=i._b.length;d.prepTicks(x),x.tickmode==="array"&&delete x.tickvals;var j=x.smoothing?3:1;function $(G){var q,H,ne,te,Z,X,Q,re,ie,oe,ue,ce,ye=[],de=[],me={};if(M==="b")for(H=i.b2j(G),ne=Math.floor(Math.max(0,Math.min(W-2,H))),te=H-ne,me.length=W,me.crossLength=N,me.xy=function(pe){return i.evalxy([],pe,H)},me.dxy=function(pe,xe){return i.dxydi([],pe,ne,xe,te)},q=0;q0&&(ie=i.dxydi([],q-1,ne,0,te),ye.push(Z[0]+ie[0]/3),de.push(Z[1]+ie[1]/3),oe=i.dxydi([],q-1,ne,1,te),ye.push(re[0]-oe[0]/3),de.push(re[1]-oe[1]/3)),ye.push(re[0]),de.push(re[1]),Z=re;else for(q=i.a2i(G),X=Math.floor(Math.max(0,Math.min(N-2,q))),Q=q-X,me.length=N,me.crossLength=W,me.xy=function(pe){return i.evalxy([],q,pe)},me.dxy=function(pe,xe){return i.dxydj([],X,pe,Q,xe)},H=0;H0&&(ue=i.dxydj([],X,H-1,Q,0),ye.push(Z[0]+ue[0]/3),de.push(Z[1]+ue[1]/3),ce=i.dxydj([],X,H-1,Q,1),ye.push(re[0]-ce[0]/3),de.push(re[1]-ce[1]/3)),ye.push(re[0]),de.push(re[1]),Z=re;return me.axisLetter=M,me.axis=x,me.crossAxis=I,me.value=G,me.constvar=v,me.index=h,me.x=ye,me.y=de,me.smoothing=I.smoothing,me}function U(G){var q,H,ne,te,Z,X=[],Q=[],re={};if(re.length=E.length,re.crossLength=R.length,M==="b")for(ne=Math.max(0,Math.min(W-2,G)),Z=Math.min(1,Math.max(0,G-ne)),re.xy=function(ie){return i.evalxy([],ie,G)},re.dxy=function(ie,oe){return i.dxydi([],ie,ne,oe,Z)},q=0;qE.length-1||A.push(g(U(l),{color:x.gridcolor,width:x.gridwidth,dash:x.griddash}));for(h=s;hE.length-1||y<0||y>E.length-1))for(S=E[a],_=E[y],f=0;fE[E.length-1]||L.push(g($(w),{color:x.minorgridcolor,width:x.minorgridwidth,dash:x.minorgriddash}));x.startline&&b.push(g(U(0),{color:x.startlinecolor,width:x.startlinewidth})),x.endline&&b.push(g(U(E.length-1),{color:x.endlinecolor,width:x.endlinewidth}))}else{for(u=5e-15,s=(o=[Math.floor((E[E.length-1]-x.tick0)/x.dtick*(1+u)),Math.ceil((E[0]-x.tick0)/x.dtick/(1+u))].sort(function(G,q){return G-q}))[0],c=o[1],h=s;h<=c;h++)m=x.tick0+x.dtick*h,A.push(g($(m),{color:x.gridcolor,width:x.gridwidth,dash:x.griddash}));for(h=s-1;hE[E.length-1]||L.push(g($(w),{color:x.minorgridcolor,width:x.minorgridwidth,dash:x.minorgriddash}));x.startline&&b.push(g($(E[0]),{color:x.startlinecolor,width:x.startlinewidth})),x.endline&&b.push(g($(E[E.length-1]),{color:x.endlinecolor,width:x.endlinewidth}))}}},83311:function(T,p,t){var d=t(89298),g=t(1426).extendFlat;T.exports=function(i,M){var v,f,l,a=M._labels=[],u=M._gridlines;for(v=0;vi.length&&(g=g.slice(0,i.length)):g=[],v=0;v90&&(c-=180,l=-l),{angle:c,flip:l,p:p.c2p(g,t,d),offsetMultplier:a}}},89740:function(T,p,t){var d=t(39898),g=t(91424),i=t(27669),M=t(67961),v=t(11651),f=t(63893),l=t(71828),a=l.strRotate,u=l.strTranslate,o=t(18783);function s(y,S,_,k,E,x,A){var L="const-"+E+"-lines",b=_.selectAll("."+L).data(x);b.enter().append("path").classed(L,!0).style("vector-effect",A?"none":"non-scaling-stroke"),b.each(function(R){var I=R,O=I.x,z=I.y,F=i([],O,y.c2p),B=i([],z,S.c2p),N="M"+M(F,B,I.smoothing);d.select(this).attr("d",N).style("stroke-width",I.width).style("stroke",I.color).style("stroke-dasharray",g.dashStyle(I.dash,I.width)).style("fill","none")}),b.exit().remove()}function c(y,S,_,k,E,x,A,L){var b=x.selectAll("text."+L).data(A);b.enter().append("text").classed(L,!0);var R=0,I={};return b.each(function(O,z){var F;if(O.axis.tickangle==="auto")F=v(k,S,_,O.xy,O.dxy);else{var B=(O.axis.tickangle+180)*Math.PI/180;F=v(k,S,_,O.xy,[Math.cos(B),Math.sin(B)])}z||(I={angle:F.angle,flip:F.flip});var N=(O.endAnchor?-1:1)*F.flip,W=d.select(this).attr({"text-anchor":N>0?"start":"end","data-notex":1}).call(g.font,O.font).text(O.text).call(f.convertToTspans,y),j=g.bBox(this);W.attr("transform",u(F.p[0],F.p[1])+a(F.angle)+u(O.axis.labelpadding*N,.3*j.height)),R=Math.max(R,j.width+O.axis.labelpadding)}),b.exit().remove(),I.maxExtent=R,I}T.exports=function(y,S,_,k){var E=y._context.staticPlot,x=S.xaxis,A=S.yaxis,L=y._fullLayout._clips;l.makeTraceGroups(k,_,"trace").each(function(b){var R=d.select(this),I=b[0],O=I.trace,z=O.aaxis,F=O.baxis,B=l.ensureSingle(R,"g","minorlayer"),N=l.ensureSingle(R,"g","majorlayer"),W=l.ensureSingle(R,"g","boundarylayer"),j=l.ensureSingle(R,"g","labellayer");R.style("opacity",O.opacity),s(x,A,N,0,"a",z._gridlines,!0),s(x,A,N,0,"b",F._gridlines,!0),s(x,A,B,0,"a",z._minorgridlines,!0),s(x,A,B,0,"b",F._minorgridlines,!0),s(x,A,W,0,"a-boundary",z._boundarylines,E),s(x,A,W,0,"b-boundary",F._boundarylines,E);var $=c(y,x,A,O,0,j,z._labels,"a-label"),U=c(y,x,A,O,0,j,F._labels,"b-label");(function(G,q,H,ne,te,Z,X,Q){var re,ie,oe,ue,ce=l.aggNums(Math.min,null,H.a),ye=l.aggNums(Math.max,null,H.a),de=l.aggNums(Math.min,null,H.b),me=l.aggNums(Math.max,null,H.b);re=.5*(ce+ye),ie=de,oe=H.ab2xy(re,ie,!0),ue=H.dxyda_rough(re,ie),X.angle===void 0&&l.extendFlat(X,v(H,te,Z,oe,H.dxydb_rough(re,ie))),w(G,q,H,0,oe,ue,H.aaxis,te,Z,X,"a-title"),re=ce,ie=.5*(de+me),oe=H.ab2xy(re,ie,!0),ue=H.dxydb_rough(re,ie),Q.angle===void 0&&l.extendFlat(Q,v(H,te,Z,oe,H.dxyda_rough(re,ie))),w(G,q,H,0,oe,ue,H.baxis,te,Z,Q,"b-title")})(y,j,O,0,x,A,$,U),function(G,q,H,ne,te){var Z,X,Q,re,ie=H.select("#"+G._clipPathId);ie.size()||(ie=H.append("clipPath").classed("carpetclip",!0));var oe=l.ensureSingle(ie,"path","carpetboundary"),ue=q.clipsegments,ce=[];for(re=0;re90&&W<270,$=d.select(this);$.text(A.title.text).call(f.convertToTspans,y),j&&(F=(-f.lineCount($)+m)*h*N-F),$.attr("transform",u(B.p[0],B.p[1])+a(B.angle)+u(0,F)).attr("text-anchor","middle").call(g.font,A.title.font)}),z.exit().remove()}},11435:function(T,p,t){var d=t(35509),g=t(65888).findBin,i=t(45664),M=t(20349),v=t(54495),f=t(73057);T.exports=function(l){var a=l._a,u=l._b,o=a.length,s=u.length,c=l.aaxis,h=l.baxis,m=a[0],w=a[o-1],y=u[0],S=u[s-1],_=a[a.length-1]-a[0],k=u[u.length-1]-u[0],E=_*d.RELATIVE_CULL_TOLERANCE,x=k*d.RELATIVE_CULL_TOLERANCE;m-=E,w+=E,y-=x,S+=x,l.isVisible=function(A,L){return A>m&&Ay&&Lw||LS},l.setScale=function(){var A=l._x,L=l._y,b=i(l._xctrl,l._yctrl,A,L,c.smoothing,h.smoothing);l._xctrl=b[0],l._yctrl=b[1],l.evalxy=M([l._xctrl,l._yctrl],o,s,c.smoothing,h.smoothing),l.dxydi=v([l._xctrl,l._yctrl],c.smoothing,h.smoothing),l.dxydj=f([l._xctrl,l._yctrl],c.smoothing,h.smoothing)},l.i2a=function(A){var L=Math.max(0,Math.floor(A[0]),o-2),b=A[0]-L;return(1-b)*a[L]+b*a[L+1]},l.j2b=function(A){var L=Math.max(0,Math.floor(A[1]),o-2),b=A[1]-L;return(1-b)*u[L]+b*u[L+1]},l.ij2ab=function(A){return[l.i2a(A[0]),l.j2b(A[1])]},l.a2i=function(A){var L=Math.max(0,Math.min(g(A,a),o-2)),b=a[L],R=a[L+1];return Math.max(0,Math.min(o-1,L+(A-b)/(R-b)))},l.b2j=function(A){var L=Math.max(0,Math.min(g(A,u),s-2)),b=u[L],R=u[L+1];return Math.max(0,Math.min(s-1,L+(A-b)/(R-b)))},l.ab2ij=function(A){return[l.a2i(A[0]),l.b2j(A[1])]},l.i2c=function(A,L){return l.evalxy([],A,L)},l.ab2xy=function(A,L,b){if(!b&&(Aa[o-1]|Lu[s-1]))return[!1,!1];var R=l.a2i(A),I=l.b2j(L),O=l.evalxy([],R,I);if(b){var z,F,B,N,W=0,j=0,$=[];Aa[o-1]?(z=o-2,F=1,W=(A-a[o-1])/(a[o-1]-a[o-2])):F=R-(z=Math.max(0,Math.min(o-2,Math.floor(R)))),Lu[s-1]?(B=s-2,N=1,j=(L-u[s-1])/(u[s-1]-u[s-2])):N=I-(B=Math.max(0,Math.min(s-2,Math.floor(I)))),W&&(l.dxydi($,z,B,F,N),O[0]+=$[0]*W,O[1]+=$[1]*W),j&&(l.dxydj($,z,B,F,N),O[0]+=$[0]*j,O[1]+=$[1]*j)}return O},l.c2p=function(A,L,b){return[L.c2p(A[0]),b.c2p(A[1])]},l.p2x=function(A,L,b){return[L.p2c(A[0]),b.p2c(A[1])]},l.dadi=function(A){var L=Math.max(0,Math.min(a.length-2,A));return a[L+1]-a[L]},l.dbdj=function(A){var L=Math.max(0,Math.min(u.length-2,A));return u[L+1]-u[L]},l.dxyda=function(A,L,b,R){var I=l.dxydi(null,A,L,b,R),O=l.dadi(A,b);return[I[0]/O,I[1]/O]},l.dxydb=function(A,L,b,R){var I=l.dxydj(null,A,L,b,R),O=l.dbdj(L,R);return[I[0]/O,I[1]/O]},l.dxyda_rough=function(A,L,b){var R=_*(b||.1),I=l.ab2xy(A+R,L,!0),O=l.ab2xy(A-R,L,!0);return[.5*(I[0]-O[0])/R,.5*(I[1]-O[1])/R]},l.dxydb_rough=function(A,L,b){var R=k*(b||.1),I=l.ab2xy(A,L+R,!0),O=l.ab2xy(A,L-R,!0);return[.5*(I[0]-O[0])/R,.5*(I[1]-O[1])/R]},l.dpdx=function(A){return A._m},l.dpdy=function(A){return A._m}}},72505:function(T,p,t){var d=t(71828);T.exports=function(g,i,M){var v,f,l,a=[],u=[],o=g[0].length,s=g.length;function c(G,q){var H,ne=0,te=0;return G>0&&(H=g[q][G-1])!==void 0&&(te++,ne+=H),G0&&(H=g[q-1][G])!==void 0&&(te++,ne+=H),q0&&f0&&v1e-5);return d.log("Smoother converged to",R,"after",I,"iterations"),g}},19237:function(T,p,t){var d=t(71828).isArray1D;T.exports=function(g,i,M){var v=M("x"),f=v&&v.length,l=M("y"),a=l&&l.length;if(!f&&!a)return!1;if(i._cheater=!v,f&&!d(v)||a&&!d(l))i._length=null;else{var u=f?v.length:1/0;a&&(u=Math.min(u,l.length)),i.a&&i.a.length&&(u=Math.min(u,i.a.length)),i.b&&i.b.length&&(u=Math.min(u,i.b.length)),i._length=u}return!0}},69568:function(T,p,t){var d=t(5386).fF,g=t(19316),i=t(50693),M=t(9012),v=t(22399).defaultLine,f=t(1426).extendFlat,l=g.marker.line;T.exports=f({locations:{valType:"data_array",editType:"calc"},locationmode:g.locationmode,z:{valType:"data_array",editType:"calc"},geojson:f({},g.geojson,{}),featureidkey:g.featureidkey,text:f({},g.text,{}),hovertext:f({},g.hovertext,{}),marker:{line:{color:f({},l.color,{dflt:v}),width:f({},l.width,{dflt:1}),editType:"calc"},opacity:{valType:"number",arrayOk:!0,min:0,max:1,dflt:1,editType:"style"},editType:"calc"},selected:{marker:{opacity:g.selected.marker.opacity,editType:"plot"},editType:"plot"},unselected:{marker:{opacity:g.unselected.marker.opacity,editType:"plot"},editType:"plot"},hoverinfo:f({},M.hoverinfo,{editType:"calc",flags:["location","z","text","name"]}),hovertemplate:d(),showlegend:f({},M.showlegend,{dflt:!1})},i("",{cLetter:"z",editTypeOverride:"calc"}))},38675:function(T,p,t){var d=t(92770),g=t(50606).BADNUM,i=t(78803),M=t(75225),v=t(66279);function f(l){return l&&typeof l=="string"}T.exports=function(l,a){var u,o=a._length,s=new Array(o);u=a.geojson?function(y){return f(y)||d(y)}:f;for(var c=0;c")}}(M,c,l),[M]}},51319:function(T,p,t){T.exports={attributes:t(69568),supplyDefaults:t(61869),colorbar:t(61243),calc:t(38675),calcGeoJSON:t(99841).calcGeoJSON,plot:t(99841).plot,style:t(99636).style,styleOnSelect:t(99636).styleOnSelect,hoverPoints:t(42300),eventData:t(92069),selectPoints:t(81253),moduleType:"trace",name:"choropleth",basePlotModule:t(44622),categories:["geo","noOpacity","showLegend"],meta:{}}},99841:function(T,p,t){var d=t(39898),g=t(71828),i=t(41327),M=t(90973).getTopojsonFeatures,v=t(71739).findExtremes,f=t(99636).style;T.exports={calcGeoJSON:function(l,a){for(var u=l[0].trace,o=a[u.geo],s=o._subplot,c=u.locationmode,h=u._length,m=c==="geojson-id"?i.extractTraceFeature(l):M(u,s.topojson),w=[],y=[],S=0;S=0;M--){var v=i[M].id;if(typeof v=="string"&&v.indexOf("water")===0){for(var f=M+1;f=0;a--)f.removeLayer(l[a][1])},v.dispose=function(){var f=this.subplot.map;this._removeLayers(),f.removeSource(this.sourceId)},T.exports=function(f,l){var a=l[0].trace,u=new M(f,a.uid),o=u.sourceId,s=d(l),c=u.below=f.belowLookup["trace-"+a.uid];return f.map.addSource(o,{type:"geojson",data:s.geojson}),u._addLayers(s,c),l[0].trace._glTrace=u,u}},12674:function(T,p,t){var d=t(50693),g=t(12663).axisHoverFormat,i=t(5386).fF,M=t(2418),v=t(9012),f=t(1426).extendFlat,l={x:{valType:"data_array",editType:"calc+clearAxisTypes"},y:{valType:"data_array",editType:"calc+clearAxisTypes"},z:{valType:"data_array",editType:"calc+clearAxisTypes"},u:{valType:"data_array",editType:"calc"},v:{valType:"data_array",editType:"calc"},w:{valType:"data_array",editType:"calc"},sizemode:{valType:"enumerated",values:["scaled","absolute"],editType:"calc",dflt:"scaled"},sizeref:{valType:"number",editType:"calc",min:0},anchor:{valType:"enumerated",editType:"calc",values:["tip","tail","cm","center"],dflt:"cm"},text:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertemplate:i({editType:"calc"},{keys:["norm"]}),uhoverformat:g("u",1),vhoverformat:g("v",1),whoverformat:g("w",1),xhoverformat:g("x"),yhoverformat:g("y"),zhoverformat:g("z"),showlegend:f({},v.showlegend,{dflt:!1})};f(l,d("",{colorAttr:"u/v/w norm",showScaleDflt:!0,editTypeOverride:"calc"})),["opacity","lightposition","lighting"].forEach(function(a){l[a]=M[a]}),l.hoverinfo=f({},v.hoverinfo,{editType:"calc",flags:["x","y","z","u","v","w","norm","text","name"],dflt:"x+y+z+norm+text+name"}),l.transforms=void 0,T.exports=l},31371:function(T,p,t){var d=t(78803);T.exports=function(g,i){for(var M=i.u,v=i.v,f=i.w,l=Math.min(i.x.length,i.y.length,i.z.length,M.length,v.length,f.length),a=-1/0,u=1/0,o=0;ov.level||v.starts.length&&M===v.level)}break;case"constraint":if(g.prefixBoundary=!1,g.edgepaths.length)return;var f=g.x.length,l=g.y.length,a=-1/0,u=1/0;for(d=0;d":c>a&&(g.prefixBoundary=!0);break;case"<":(ca||g.starts.length&&s===u)&&(g.prefixBoundary=!0);break;case"][":o=Math.min(c[0],c[1]),s=Math.max(c[0],c[1]),oa&&(g.prefixBoundary=!0)}}}},90654:function(T,p,t){var d=t(21081),g=t(86068),i=t(53572);T.exports={min:"zmin",max:"zmax",calc:function(M,v,f){var l=v.contours,a=v.line,u=l.size||1,o=l.coloring,s=g(v,{isColorbar:!0});if(o==="heatmap"){var c=d.extractOpts(v);f._fillgradient=c.reversescale?d.flipScale(c.colorscale):c.colorscale,f._zrange=[c.min,c.max]}else o==="fill"&&(f._fillcolor=s);f._line={color:o==="lines"?s:a.color,width:l.showlines!==!1?a.width:0,dash:a.dash},f._levels={start:l.start,end:i(l),size:u}}}},36914:function(T){T.exports={BOTTOMSTART:[1,9,13,104,713],TOPSTART:[4,6,7,104,713],LEFTSTART:[8,12,14,208,1114],RIGHTSTART:[2,3,11,208,1114],NEWDELTA:[null,[-1,0],[0,-1],[-1,0],[1,0],null,[0,-1],[-1,0],[0,1],[0,1],null,[0,1],[1,0],[1,0],[0,-1]],CHOOSESADDLE:{104:[4,1],208:[2,8],713:[7,13],1114:[11,14]},SADDLEREMAINDER:{1:4,2:8,4:1,7:13,8:2,11:14,13:7,14:11},LABELDISTANCE:2,LABELINCREASE:10,LABELMIN:3,LABELMAX:10,LABELOPTIMIZER:{EDGECOST:1,ANGLECOST:1,NEIGHBORCOST:5,SAMELEVELFACTOR:10,SAMELEVELDISTANCE:5,MAXCOST:100,INITIALSEARCHPOINTS:10,ITERATIONS:5}}},83179:function(T,p,t){var d=t(92770),g=t(14523),i=t(7901),M=i.addOpacity,v=i.opacity,f=t(74808),l=f.CONSTRAINT_REDUCTION,a=f.COMPARISON_OPS2;T.exports=function(u,o,s,c,h,m){var w,y,S,_=o.contours,k=s("contours.operation");_._operation=l[k],function(E,x){var A;a.indexOf(x.operation)===-1?(E("contours.value",[0,1]),Array.isArray(x.value)?x.value.length>2?x.value=x.value.slice(2):x.length===0?x.value=[0,1]:x.length<2?(A=parseFloat(x.value[0]),x.value=[A,A+1]):x.value=[parseFloat(x.value[0]),parseFloat(x.value[1])]:d(x.value)&&(A=parseFloat(x.value),x.value=[A,A+1])):(E("contours.value",0),d(x.value)||(Array.isArray(x.value)?x.value=parseFloat(x.value[0]):x.value=0))}(s,_),k==="="?w=_.showlines=!0:(w=s("contours.showlines"),S=s("fillcolor",M((u.line||{}).color||h,.5))),w&&(y=s("line.color",S&&v(S)?M(o.fillcolor,1):h),s("line.width",2),s("line.dash")),s("line.smoothing"),g(s,c,y,m)}},64237:function(T,p,t){var d=t(74808),g=t(92770);function i(f,l){var a,u=Array.isArray(l);function o(s){return g(s)?+s:null}return d.COMPARISON_OPS2.indexOf(f)!==-1?a=o(u?l[0]:l):d.INTERVAL_OPS.indexOf(f)!==-1?a=u?[o(l[0]),o(l[1])]:[o(l),o(l)]:d.SET_OPS.indexOf(f)!==-1&&(a=u?l.map(o):[o(l)]),a}function M(f){return function(l){l=i(f,l);var a=Math.min(l[0],l[1]),u=Math.max(l[0],l[1]);return{start:a,end:u,size:u-a}}}function v(f){return function(l){return{start:l=i(f,l),end:1/0,size:1/0}}}T.exports={"[]":M("[]"),"][":M("]["),">":v(">"),"<":v("<"),"=":v("=")}},67217:function(T){T.exports=function(p,t,d,g){var i=g("contours.start"),M=g("contours.end"),v=i===!1||M===!1,f=d("contours.size");!(v?t.autocontour=!0:d("autocontour",!1))&&f||d("ncontours")}},84857:function(T,p,t){var d=t(71828);function g(i){return d.extendFlat({},i,{edgepaths:d.extendDeep([],i.edgepaths),paths:d.extendDeep([],i.paths),starts:d.extendDeep([],i.starts)})}T.exports=function(i,M){var v,f,l,a=function(s){return s.reverse()},u=function(s){return s};switch(M){case"=":case"<":return i;case">":for(i.length!==1&&d.warn("Contour data invalid for the specified inequality operation."),f=i[0],v=0;v1e3){d.warn("Too many contours, clipping at 1000",M);break}return u}},53572:function(T){T.exports=function(p){return p.end+p.size/1e6}},81696:function(T,p,t){var d=t(71828),g=t(36914);function i(f,l,a,u){return Math.abs(f[0]-l[0])20&&oe?ie===208||ie===1114?ce=ue[0]===0?1:-1:ye=ue[1]===0?1:-1:g.BOTTOMSTART.indexOf(ie)!==-1?ye=1:g.LEFTSTART.indexOf(ie)!==-1?ce=1:g.TOPSTART.indexOf(ie)!==-1?ye=-1:ce=-1,[ce,ye]}(h,a,l),w=[v(f,l,[-m[0],-m[1]])],y=f.z.length,S=f.z[0].length,_=l.slice(),k=m.slice();for(s=0;s<1e4;s++){if(h>20?(h=g.CHOOSESADDLE[h][(m[0]||m[1])<0?0:1],f.crossings[c]=g.SADDLEREMAINDER[h]):delete f.crossings[c],!(m=g.NEWDELTA[h])){d.log("Found bad marching index:",h,l,f.level);break}w.push(v(f,l,m)),l[0]+=m[0],l[1]+=m[1],c=l.join(","),i(w[w.length-1],w[w.length-2],u,o)&&w.pop();var E=m[0]&&(l[0]<0||l[0]>S-2)||m[1]&&(l[1]<0||l[1]>y-2);if(l[0]===_[0]&&l[1]===_[1]&&m[0]===k[0]&&m[1]===k[1]||a&&E)break;h=f.crossings[c]}s===1e4&&d.log("Infinite loop in contour?");var x,A,L,b,R,I,O,z,F,B,N,W,j,$,U,G=i(w[0],w[w.length-1],u,o),q=0,H=.2*f.smoothing,ne=[],te=0;for(s=1;s=te;s--)if((x=ne[s])=te&&x+ne[A]z&&F--,f.edgepaths[F]=N.concat(w,B));break}re||(f.edgepaths[z]=w.concat(B))}for(z=0;zi?0:1)+(M[0][1]>i?0:2)+(M[1][1]>i?0:4)+(M[1][0]>i?0:8);return v===5||v===10?i>(M[0][0]+M[0][1]+M[1][0]+M[1][1])/4?v===5?713:1114:v===5?104:208:v===15?0:v}T.exports=function(i){var M,v,f,l,a,u,o,s,c,h=i[0].z,m=h.length,w=h[0].length,y=m===2||w===2;for(v=0;v=0&&(A=U,b=R):Math.abs(x[1]-A[1])<.01?Math.abs(x[1]-U[1])<.01&&(U[0]-x[0])*(A[0]-U[0])>=0&&(A=U,b=R):g.log("endpt to newendpt is not vert. or horz.",x,A,U)}if(x=A,b>=0)break;z+="L"+A}if(b===k.edgepaths.length){g.log("unclosed perimeter path");break}F=b,(N=B.indexOf(F)===-1)&&(F=B[0],z+="Z")}for(F=0;FA.center?A.right-R:R-A.left)/(z+Math.abs(Math.sin(O)*b)),N=(I>A.middle?A.bottom-I:I-A.top)/(Math.abs(F)+Math.cos(O)*b);if(B<1||N<1)return 1/0;var W=w.EDGECOST*(1/(B-1)+1/(N-1));W+=w.ANGLECOST*O*O;for(var j=R-z,$=I-F,U=R+z,G=I+F,q=0;q2*w.MAXCOST)break;N&&(R/=2),I=(b=O-R/2)+1.5*R}if(B<=w.MAXCOST)return z},p.addLabelData=function(k,E,x,A){var L=E.fontSize,b=E.width+L/3,R=Math.max(0,E.height-L/3),I=k.x,O=k.y,z=k.theta,F=Math.sin(z),B=Math.cos(z),N=function(j,$){return[I+j*B-$*F,O+j*F+$*B]},W=[N(-b/2,-R/2),N(-b/2,R/2),N(b/2,R/2),N(b/2,-R/2)];x.push({text:E.text,x:I,y:O,dy:E.dy,theta:z,level:E.level,width:b,height:R}),A.push(W)},p.drawLabels=function(k,E,x,A,L){var b=k.selectAll("text").data(E,function(O){return O.text+","+O.x+","+O.y+","+O.theta});if(b.exit().remove(),b.enter().append("text").attr({"data-notex":1,"text-anchor":"middle"}).each(function(O){var z=O.x+Math.sin(O.theta)*O.dy,F=O.y-Math.cos(O.theta)*O.dy;d.select(this).text(O.text).attr({x:z,y:F,transform:"rotate("+180*O.theta/Math.PI+" "+z+" "+F+")"}).call(v.convertToTspans,x)}),L){for(var R="",I=0;If.end&&(f.start=f.end=(f.start+f.end)/2),M._input.contours||(M._input.contours={}),g.extendFlat(M._input.contours,{start:f.start,end:f.end,size:f.size}),M._input.autocontour=!0}else if(f.type!=="constraint"){var o,s=f.start,c=f.end,h=M._input.contours;s>c&&(f.start=h.start=c,c=f.end=h.end=s,s=f.start),f.size>0||(o=s===c?1:i(s,c,M.ncontours).dtick,h.size=f.size=o)}}},84426:function(T,p,t){var d=t(39898),g=t(91424),i=t(70035),M=t(86068);T.exports=function(v){var f=d.select(v).selectAll("g.contour");f.style("opacity",function(l){return l[0].trace.opacity}),f.each(function(l){var a=d.select(this),u=l[0].trace,o=u.contours,s=u.line,c=o.size||1,h=o.start,m=o.type==="constraint",w=!m&&o.coloring==="lines",y=!m&&o.coloring==="fill",S=w||y?M(u):null;a.selectAll("g.contourlevel").each(function(E){d.select(this).selectAll("path").call(g.lineGroupStyle,s.width,w?S(E.level):s.color,s.dash)});var _=o.labelfont;if(a.selectAll("g.contourlabels text").each(function(E){g.font(d.select(this),{family:_.family,size:_.size,color:_.color||(w?S(E.level):s.color)})}),m)a.selectAll("g.contourfill path").style("fill",u.fillcolor);else if(y){var k;a.selectAll("g.contourfill path").style("fill",function(E){return k===void 0&&(k=E.level),S(E.level+.5*c)}),k===void 0&&(k=h),a.selectAll("g.contourbg path").style("fill",S(k-.5*c))}}),i(v)}},8724:function(T,p,t){var d=t(1586),g=t(14523);T.exports=function(i,M,v,f,l){var a,u=v("contours.coloring"),o="";u==="fill"&&(a=v("contours.showlines")),a!==!1&&(u!=="lines"&&(o=v("line.color","#000")),v("line.width",.5),v("line.dash")),u!=="none"&&(i.showlegend!==!0&&(M.showlegend=!1),M._dfltShowLegend=!1,d(i,M,f,v,{prefix:"",cLetter:"z"})),v("line.smoothing"),g(v,f,o,l)}},88085:function(T,p,t){var d=t(21606),g=t(70600),i=t(50693),M=t(1426).extendFlat,v=g.contours;T.exports=M({carpet:{valType:"string",editType:"calc"},z:d.z,a:d.x,a0:d.x0,da:d.dx,b:d.y,b0:d.y0,db:d.dy,text:d.text,hovertext:d.hovertext,transpose:d.transpose,atype:d.xtype,btype:d.ytype,fillcolor:g.fillcolor,autocontour:g.autocontour,ncontours:g.ncontours,contours:{type:v.type,start:v.start,end:v.end,size:v.size,coloring:{valType:"enumerated",values:["fill","lines","none"],dflt:"fill",editType:"calc"},showlines:v.showlines,showlabels:v.showlabels,labelfont:v.labelfont,labelformat:v.labelformat,operation:v.operation,value:v.value,editType:"calc",impliedEdits:{autocontour:!1}},line:{color:g.line.color,width:g.line.width,dash:g.line.dash,smoothing:g.line.smoothing,editType:"plot"},transforms:void 0},i("",{cLetter:"z",autoColorDflt:!1}))},59885:function(T,p,t){var d=t(78803),g=t(71828),i=t(68296),M=t(4742),v=t(824),f=t(43907),l=t(70769),a=t(75005),u=t(22882),o=t(18670);T.exports=function(s,c){var h=c._carpetTrace=u(s,c);if(h&&h.visible&&h.visible!=="legendonly"){if(!c.a||!c.b){var m=s.data[h.index],w=s.data[c.index];w.a||(w.a=m.a),w.b||(w.b=m.b),a(w,c,c._defaultColor,s._fullLayout)}var y=function(S,_){var k,E,x,A,L,b,R,I=_._carpetTrace,O=I.aaxis,z=I.baxis;O._minDtick=0,z._minDtick=0,g.isArray1D(_.z)&&i(_,O,z,"a","b",["z"]),k=_._a=_._a||_.a,A=_._b=_._b||_.b,k=k?O.makeCalcdata(_,"_a"):[],A=A?z.makeCalcdata(_,"_b"):[],E=_.a0||0,x=_.da||1,L=_.b0||0,b=_.db||1,R=_._z=M(_._z||_.z,_.transpose),_._emptypoints=f(R),v(R,_._emptypoints);var F=g.maxRowLength(R),B=_.xtype==="scaled"?"":k,N=l(_,B,E,x,F,O),W=_.ytype==="scaled"?"":A,j={a:N,b:l(_,W,L,b,R.length,z),z:R};return _.contours.type==="levels"&&_.contours.coloring!=="none"&&d(S,_,{vals:R,containerStr:"",cLetter:"z"}),[j]}(s,c);return o(c,c._z),y}}},75005:function(T,p,t){var d=t(71828),g=t(67684),i=t(88085),M=t(83179),v=t(67217),f=t(8724);T.exports=function(l,a,u,o){function s(c,h){return d.coerce(l,a,i,c,h)}if(s("carpet"),l.a&&l.b){if(!g(l,a,s,o,"a","b"))return void(a.visible=!1);s("text"),s("contours.type")==="constraint"?M(l,a,s,o,u,{hasHover:!1}):(v(l,a,s,function(c){return d.coerce2(l,a,i,c)}),f(l,a,s,o,{hasHover:!1}))}else a._defaultColor=u,a._length=null}},93740:function(T,p,t){T.exports={attributes:t(88085),supplyDefaults:t(75005),colorbar:t(90654),calc:t(59885),plot:t(51048),style:t(84426),moduleType:"trace",name:"contourcarpet",basePlotModule:t(93612),categories:["cartesian","svg","carpet","contour","symbols","showLegend","hasLines","carpetDependent","noHover","noSortingByValue"],meta:{}}},51048:function(T,p,t){var d=t(39898),g=t(27669),i=t(67961),M=t(91424),v=t(71828),f=t(87678),l=t(81696),a=t(29854),u=t(36914),o=t(84857),s=t(87558),c=t(20083),h=t(22882),m=t(4536);function w(_,k,E){var x=_.getPointAtLength(k),A=_.getPointAtLength(E),L=A.x-x.x,b=A.y-x.y,R=Math.sqrt(L*L+b*b);return[L/R,b/R]}function y(_){var k=Math.sqrt(_[0]*_[0]+_[1]*_[1]);return[_[0]/k,_[1]/k]}function S(_,k){var E=Math.abs(_[0]*k[0]+_[1]*k[1]);return Math.sqrt(1-E*E)/E}T.exports=function(_,k,E,x){var A=k.xaxis,L=k.yaxis;v.makeTraceGroups(x,E,"contour").each(function(b){var R=d.select(this),I=b[0],O=I.trace,z=O._carpetTrace=h(_,O),F=_.calcdata[z.index][0];if(z.visible&&z.visible!=="legendonly"){var B=I.a,N=I.b,W=O.contours,j=s(W,k,I),$=W.type==="constraint",U=W._operation,G=$?U==="="?"lines":"fill":W.coloring,q=[[B[0],N[N.length-1]],[B[B.length-1],N[N.length-1]],[B[B.length-1],N[0]],[B[0],N[0]]];f(j);var H=1e-8*(B[B.length-1]-B[0]),ne=1e-8*(N[N.length-1]-N[0]);l(j,H,ne);var te,Z,X,Q,re=j;W.type==="constraint"&&(re=o(j,U)),function(ce,ye){var de,me,pe,xe,Pe,_e,Me,Se,Ce;for(de=0;de=0;Q--)te=F.clipsegments[Q],Z=g([],te.x,A.c2p),X=g([],te.y,L.c2p),Z.reverse(),X.reverse(),ie.push(i(Z,X,te.bicubic));var oe="M"+ie.join("L")+"Z";(function(ce,ye,de,me,pe,xe){var Pe,_e,Me,Se,Ce=v.ensureSingle(ce,"g","contourbg").selectAll("path").data(xe!=="fill"||pe?[]:[0]);Ce.enter().append("path"),Ce.exit().remove();var ae=[];for(Se=0;Se=0&&(st=ft,ht=bt):Math.abs(Ye[1]-st[1])=0&&(st=ft,ht=bt):v.log("endpt to newendpt is not vert. or horz.",Ye,st,ft)}if(ht>=0)break;kt+=qe(Ye,st),Ye=st}if(ht===Be.edgepaths.length){v.log("unclosed perimeter path");break}$e=ht,(Ft=xt.indexOf($e)===-1)&&($e=xt[0],kt+=qe(Ye,st)+"Z",Ye=null)}for($e=0;$eLt&&(Ke.max=Lt),Ke.len=Ke.max-Ke.min}function yt(Pt,wt){var Rt,Nt=0,Yt=.1;return(Math.abs(Pt[0]-Re)0?+m[s]:0),c.push({type:"Feature",geometry:{type:"Point",coordinates:_},properties:k})}}var x=M.extractOpts(a),A=x.reversescale?M.flipScale(x.colorscale):x.colorscale,L=A[0][1],b=["interpolate",["linear"],["heatmap-density"],0,i.opacity(L)<1?L:i.addOpacity(L,0)];for(s=1;s=0;l--)v.removeLayer(f[l][1])},M.dispose=function(){var v=this.subplot.map;this._removeLayers(),v.removeSource(this.sourceId)},T.exports=function(v,f){var l=f[0].trace,a=new i(v,l.uid),u=a.sourceId,o=d(f),s=a.below=v.belowLookup["trace-"+l.uid];return v.map.addSource(u,{type:"geojson",data:o.geojson}),a._addLayers(o,s),a}},49789:function(T,p,t){var d=t(71828);T.exports=function(g,i){for(var M=0;M"),u.color=function(k,E){var x=k.marker,A=E.mc||x.color,L=E.mlc||x.line.color,b=E.mlw||x.line.width;return d(A)?A:d(L)&&b?L:void 0}(s,h),[u]}}},51759:function(T,p,t){T.exports={attributes:t(1285),layoutAttributes:t(10440),supplyDefaults:t(26199).supplyDefaults,crossTraceDefaults:t(26199).crossTraceDefaults,supplyLayoutDefaults:t(93138),calc:t(9532),crossTraceCalc:t(8984),plot:t(80461),style:t(68266).style,hoverPoints:t(63341),eventData:t(34598),selectPoints:t(81974),moduleType:"trace",name:"funnel",basePlotModule:t(93612),categories:["bar-like","cartesian","svg","oriented","showLegend","zoomScale"],meta:{}}},10440:function(T){T.exports={funnelmode:{valType:"enumerated",values:["stack","group","overlay"],dflt:"stack",editType:"calc"},funnelgap:{valType:"number",min:0,max:1,editType:"calc"},funnelgroupgap:{valType:"number",min:0,max:1,dflt:0,editType:"calc"}}},93138:function(T,p,t){var d=t(71828),g=t(10440);T.exports=function(i,M,v){var f=!1;function l(o,s){return d.coerce(i,M,g,o,s)}for(var a=0;a path").each(function(w){if(!w.isBlank){var y=m.marker;d.select(this).call(i.fill,w.mc||y.color).call(i.stroke,w.mlc||y.line.color).call(g.dashLine,y.line.dash,w.mlw||y.line.width).style("opacity",m.selectedpoints&&!w.selected?M:1)}}),l(h,m,a),h.selectAll(".regions").each(function(){d.select(this).selectAll("path").style("stroke-width",0).call(i.fill,m.connector.fillcolor)}),h.selectAll(".lines").each(function(){var w=m.connector.line;g.lineGroupStyle(d.select(this).selectAll("path"),w.width,w.color,w.dash)})})}}},86807:function(T,p,t){var d=t(34e3),g=t(9012),i=t(27670).Y,M=t(5386).fF,v=t(5386).si,f=t(1426).extendFlat;T.exports={labels:d.labels,label0:d.label0,dlabel:d.dlabel,values:d.values,marker:{colors:d.marker.colors,line:{color:f({},d.marker.line.color,{dflt:null}),width:f({},d.marker.line.width,{dflt:1}),editType:"calc"},editType:"calc"},text:d.text,hovertext:d.hovertext,scalegroup:f({},d.scalegroup,{}),textinfo:f({},d.textinfo,{flags:["label","text","value","percent"]}),texttemplate:v({editType:"plot"},{keys:["label","color","value","text","percent"]}),hoverinfo:f({},g.hoverinfo,{flags:["label","text","value","percent","name"]}),hovertemplate:M({},{keys:["label","color","value","text","percent"]}),textposition:f({},d.textposition,{values:["inside","none"],dflt:"inside"}),textfont:d.textfont,insidetextfont:d.insidetextfont,title:{text:d.title.text,font:d.title.font,position:f({},d.title.position,{values:["top left","top center","top right"],dflt:"top center"}),editType:"plot"},domain:i({name:"funnelarea",trace:!0,editType:"calc"}),aspectratio:{valType:"number",min:0,dflt:1,editType:"plot"},baseratio:{valType:"number",min:0,max:1,dflt:.333,editType:"plot"}}},6452:function(T,p,t){var d=t(74875);p.name="funnelarea",p.plot=function(g,i,M,v){d.plotBasePlot(p.name,g,i,M,v)},p.clean=function(g,i,M,v){d.cleanBasePlot(p.name,g,i,M,v)}},89574:function(T,p,t){var d=t(32354);T.exports={calc:function(g,i){return d.calc(g,i)},crossTraceCalc:function(g){d.crossTraceCalc(g,{type:"funnelarea"})}}},86282:function(T,p,t){var d=t(71828),g=t(86807),i=t(27670).c,M=t(90769).handleText,v=t(37434).handleLabelsAndValues;T.exports=function(f,l,a,u){function o(k,E){return d.coerce(f,l,g,k,E)}var s=o("labels"),c=o("values"),h=v(s,c),m=h.len;if(l._hasLabels=h.hasLabels,l._hasValues=h.hasValues,!l._hasLabels&&l._hasValues&&(o("label0"),o("dlabel")),m){l._length=m,o("marker.line.width")&&o("marker.line.color",u.paper_bgcolor),o("marker.colors"),o("scalegroup");var w,y=o("text"),S=o("texttemplate");if(S||(w=o("textinfo",Array.isArray(y)?"text+percent":"percent")),o("hovertext"),o("hovertemplate"),S||w&&w!=="none"){var _=o("textposition");M(f,l,u,o,_,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1})}i(l,u,o),o("title.text")&&(o("title.position"),d.coerceFont(o,"title.font",u.font)),o("aspectratio"),o("baseratio")}else l.visible=!1}},10421:function(T,p,t){T.exports={moduleType:"trace",name:"funnelarea",basePlotModule:t(6452),categories:["pie-like","funnelarea","showLegend"],attributes:t(86807),layoutAttributes:t(80097),supplyDefaults:t(86282),supplyLayoutDefaults:t(57402),calc:t(89574).calc,crossTraceCalc:t(89574).crossTraceCalc,plot:t(79187),style:t(71858),styleOne:t(63463),meta:{}}},80097:function(T,p,t){var d=t(92774).hiddenlabels;T.exports={hiddenlabels:d,funnelareacolorway:{valType:"colorlist",editType:"calc"},extendfunnelareacolors:{valType:"boolean",dflt:!0,editType:"calc"}}},57402:function(T,p,t){var d=t(71828),g=t(80097);T.exports=function(i,M){function v(f,l){return d.coerce(i,M,g,f,l)}v("hiddenlabels"),v("funnelareacolorway",M.colorway),v("extendfunnelareacolors")}},79187:function(T,p,t){var d=t(39898),g=t(91424),i=t(71828),M=i.strScale,v=i.strTranslate,f=t(63893),l=t(17295).toMoveInsideBar,a=t(72597),u=a.recordMinTextSize,o=a.clearMinTextSize,s=t(53581),c=t(14575),h=c.attachFxHandlers,m=c.determineInsideTextFont,w=c.layoutAreas,y=c.prerenderTitles,S=c.positionTitleOutside,_=c.formatSliceLabel;function k(E,x){return"l"+(x[0]-E[0])+","+(x[1]-E[1])}T.exports=function(E,x){var A=E._context.staticPlot,L=E._fullLayout;o("funnelarea",L),y(x,E),w(x,L._size),i.makeTraceGroups(L._funnelarealayer,x,"trace").each(function(b){var R=d.select(this),I=b[0],O=I.trace;(function(z){if(z.length){var F=z[0],B=F.trace,N=B.aspectratio,W=B.baseratio;W>.999&&(W=.999);var j,$,U,G=Math.pow(W,2),q=F.vTotal,H=q,ne=q*G/(1-G)/q,te=[];for(te.push(Me()),$=z.length-1;$>-1;$--)if(!(U=z[$]).hidden){var Z=U.v/H;ne+=Z,te.push(Me())}var X=1/0,Q=-1/0;for($=0;$-1;$--)if(!(U=z[$]).hidden){var Pe=te[xe+=1][0],_e=te[xe][1];U.TL=[-Pe,_e],U.TR=[Pe,_e],U.BL=me,U.BR=pe,U.pxmid=(ye=U.TR,de=U.BR,[.5*(ye[0]+de[0]),.5*(ye[1]+de[1])]),me=U.TL,pe=U.TR}}function Me(){var Se,Ce={x:Se=Math.sqrt(ne),y:-Se};return[Ce.x,Ce.y]}})(b),R.each(function(){var z=d.select(this).selectAll("g.slice").data(b);z.enter().append("g").classed("slice",!0),z.exit().remove(),z.each(function(B,N){if(B.hidden)d.select(this).selectAll("path,g").remove();else{B.pointNumber=B.i,B.curveNumber=O.index;var W=I.cx,j=I.cy,$=d.select(this),U=$.selectAll("path.surface").data([B]);U.enter().append("path").classed("surface",!0).style({"pointer-events":A?"none":"all"}),$.call(h,E,b);var G="M"+(W+B.TR[0])+","+(j+B.TR[1])+k(B.TR,B.BR)+k(B.BR,B.BL)+k(B.BL,B.TL)+"Z";U.attr("d",G),_(E,B,I);var q=s.castOption(O.textposition,B.pts),H=$.selectAll("g.slicetext").data(B.text&&q!=="none"?[0]:[]);H.enter().append("g").classed("slicetext",!0),H.exit().remove(),H.each(function(){var ne=i.ensureSingle(d.select(this),"text","",function(ue){ue.attr("data-notex",1)}),te=i.ensureUniformFontSize(E,m(O,B,L.font));ne.text(B.text).attr({class:"slicetext",transform:"","text-anchor":"middle"}).call(g.font,te).call(f.convertToTspans,E);var Z,X,Q,re=g.bBox(ne.node()),ie=Math.min(B.BL[1],B.BR[1])+j,oe=Math.max(B.TL[1],B.TR[1])+j;X=Math.max(B.TL[0],B.BL[0])+W,Q=Math.min(B.TR[0],B.BR[0])+W,(Z=l(X,Q,ie,oe,re,{isHorizontal:!0,constrained:!0,angle:0,anchor:"middle"})).fontSize=te.size,u(O.type,Z,L),b[N].transform=Z,i.setTransormAndDisplay(ne,Z)})}});var F=d.select(this).selectAll("g.titletext").data(O.title.text?[0]:[]);F.enter().append("g").classed("titletext",!0),F.exit().remove(),F.each(function(){var B=i.ensureSingle(d.select(this),"text","",function(j){j.attr("data-notex",1)}),N=O.title.text;O._meta&&(N=i.templateString(N,O._meta)),B.text(N).attr({class:"titletext",transform:"","text-anchor":"middle"}).call(g.font,O.title.font).call(f.convertToTspans,E);var W=S(I,L._size);B.attr("transform",v(W.x,W.y)+M(Math.min(1,W.scale))+v(W.tx,W.ty))})})})}},71858:function(T,p,t){var d=t(39898),g=t(63463),i=t(72597).resizeText;T.exports=function(M){var v=M._fullLayout._funnelarealayer.selectAll(".trace");i(M,v,"funnelarea"),v.each(function(f){var l=f[0].trace,a=d.select(this);a.style({opacity:l.opacity}),a.selectAll("path.surface").each(function(u){d.select(this).call(g,u,l)})})}},21606:function(T,p,t){var d=t(82196),g=t(9012),i=t(41940),M=t(12663).axisHoverFormat,v=t(5386).fF,f=t(5386).si,l=t(50693),a=t(1426).extendFlat;T.exports=a({z:{valType:"data_array",editType:"calc"},x:a({},d.x,{impliedEdits:{xtype:"array"}}),x0:a({},d.x0,{impliedEdits:{xtype:"scaled"}}),dx:a({},d.dx,{impliedEdits:{xtype:"scaled"}}),y:a({},d.y,{impliedEdits:{ytype:"array"}}),y0:a({},d.y0,{impliedEdits:{ytype:"scaled"}}),dy:a({},d.dy,{impliedEdits:{ytype:"scaled"}}),xperiod:a({},d.xperiod,{impliedEdits:{xtype:"scaled"}}),yperiod:a({},d.yperiod,{impliedEdits:{ytype:"scaled"}}),xperiod0:a({},d.xperiod0,{impliedEdits:{xtype:"scaled"}}),yperiod0:a({},d.yperiod0,{impliedEdits:{ytype:"scaled"}}),xperiodalignment:a({},d.xperiodalignment,{impliedEdits:{xtype:"scaled"}}),yperiodalignment:a({},d.yperiodalignment,{impliedEdits:{ytype:"scaled"}}),text:{valType:"data_array",editType:"calc"},hovertext:{valType:"data_array",editType:"calc"},transpose:{valType:"boolean",dflt:!1,editType:"calc"},xtype:{valType:"enumerated",values:["array","scaled"],editType:"calc+clearAxisTypes"},ytype:{valType:"enumerated",values:["array","scaled"],editType:"calc+clearAxisTypes"},zsmooth:{valType:"enumerated",values:["fast","best",!1],dflt:!1,editType:"calc"},hoverongaps:{valType:"boolean",dflt:!0,editType:"none"},connectgaps:{valType:"boolean",editType:"calc"},xgap:{valType:"number",dflt:0,min:0,editType:"plot"},ygap:{valType:"number",dflt:0,min:0,editType:"plot"},xhoverformat:M("x"),yhoverformat:M("y"),zhoverformat:M("z",1),hovertemplate:v(),texttemplate:f({arrayOk:!1,editType:"plot"},{keys:["x","y","z","text"]}),textfont:i({editType:"plot",autoSize:!0,autoColor:!0,colorEditType:"style"}),showlegend:a({},g.showlegend,{dflt:!1})},{transforms:void 0},l("",{cLetter:"z",autoColorDflt:!1}))},90757:function(T,p,t){var d=t(73972),g=t(71828),i=t(89298),M=t(42973),v=t(17562),f=t(78803),l=t(68296),a=t(4742),u=t(824),o=t(43907),s=t(70769),c=t(50606).BADNUM;function h(m){for(var w=[],y=m.length,S=0;SG){$("x scale is not linear");break}}if(E.length&&W==="fast"){var q=(E[E.length-1]-E[0])/(E.length-1),H=Math.abs(q/100);for(R=0;RH){$("y scale is not linear");break}}}}var ne=g.maxRowLength(b),te=w.xtype==="scaled"?"":y,Z=s(w,te,S,_,ne,O),X=w.ytype==="scaled"?"":E,Q=s(w,X,x,A,b.length,z);N||(w._extremes[O._id]=i.findExtremes(O,Z),w._extremes[z._id]=i.findExtremes(z,Q));var re={x:Z,y:Q,z:b,text:w._text||w.text,hovertext:w._hovertext||w.hovertext};if(w.xperiodalignment&&k&&(re.orig_x=k),w.yperiodalignment&&L&&(re.orig_y=L),te&&te.length===Z.length-1&&(re.xCenter=te),X&&X.length===Q.length-1&&(re.yCenter=X),B&&(re.xRanges=I.xRanges,re.yRanges=I.yRanges,re.pts=I.pts),F||f(m,w,{vals:b,cLetter:"z"}),F&&w.contours&&w.contours.coloring==="heatmap"){var ie={type:w.type==="contour"?"heatmap":"histogram2d",xcalendar:w.xcalendar,ycalendar:w.ycalendar};re.xfill=s(ie,te,S,_,ne,O),re.yfill=s(ie,X,x,A,b.length,z)}return[re]}},4742:function(T,p,t){var d=t(92770),g=t(71828),i=t(50606).BADNUM;T.exports=function(M,v,f,l){var a,u,o,s,c,h;function m(E){if(d(E))return+E}if(v&&v.transpose){for(a=0,c=0;c=0;l--)(a=((c[[(M=(f=h[l])[0])-1,v=f[1]]]||y)[2]+(c[[M+1,v]]||y)[2]+(c[[M,v-1]]||y)[2]+(c[[M,v+1]]||y)[2])/20)&&(u[f]=[M,v,a],h.splice(l,1),o=!0);if(!o)throw"findEmpties iterated with no new neighbors";for(f in u)c[f]=u[f],s.push(u[f])}return s.sort(function(_,k){return k[2]-_[2]})}},46248:function(T,p,t){var d=t(30211),g=t(71828),i=t(89298),M=t(21081).extractOpts;T.exports=function(v,f,l,a,u){u||(u={});var o,s,c,h,m=u.isContour,w=v.cd[0],y=w.trace,S=v.xa,_=v.ya,k=w.x,E=w.y,x=w.z,A=w.xCenter,L=w.yCenter,b=w.zmask,R=y.zhoverformat,I=k,O=E;if(v.index!==!1){try{c=Math.round(v.index[1]),h=Math.round(v.index[0])}catch{return void g.error("Error hovering on heatmap, pointNumber must be [row,col], found:",v.index)}if(c<0||c>=x[0].length||h<0||h>x.length)return}else{if(d.inbox(f-k[0],f-k[k.length-1],0)>0||d.inbox(l-E[0],l-E[E.length-1],0)>0)return;if(m){var z;for(I=[2*k[0]-k[1]],z=1;zk&&(x=Math.max(x,Math.abs(v[u][o]-_)/(E-k))))}return x}T.exports=function(v,f){var l,a=1;for(M(v,f),l=0;l.01;l++)a=M(v,f,i(a));return a>.01&&d.log("interp2d didn't converge quickly",a),v}},58623:function(T,p,t){var d=t(71828);T.exports=function(g,i){g("texttemplate");var M=d.extendFlat({},i.font,{color:"auto",size:"auto"});d.coerceFont(g,"textfont",M)}},70769:function(T,p,t){var d=t(73972),g=t(71828).isArrayOrTypedArray;T.exports=function(i,M,v,f,l,a){var u,o,s,c=[],h=d.traceIs(i,"contour"),m=d.traceIs(i,"histogram"),w=d.traceIs(i,"gl2d");if(g(M)&&M.length>1&&!m&&a.type!=="category"){var y=M.length;if(!(y<=l))return h?M.slice(0,l):M.slice(0,l+1);if(h||w)c=M.slice(0,l);else if(l===1)c=[M[0]-.5,M[0]+.5];else{for(c=[1.5*M[0]-.5*M[1]],s=1;s0;)z=b.c2p(Z[W]),W--;for(z0;)N=R.c2p(X[W]),W--;if(NWt||Wt>R._length))for(j=wt;jQt||Qt>b._length)){var rn=a({x:Xt,y:Yt},q,E._fullLayout);rn.x=Xt,rn.y=Yt;var xn=G.z[W][j];xn===void 0?(rn.z="",rn.zLabel=""):(rn.z=xn,rn.zLabel=v.tickText(It,xn,"hover").text);var un=G.text&&G.text[W]&&G.text[W][j];un!==void 0&&un!==!1||(un=""),rn.text=un;var An=f.texttemplateString(dt,rn,E._fullLayout._d3locale,rn,q._meta||{});if(An){var Yn=An.split("
"),kn=Yn.length,sn=0;for($=0;$0&&(k=!0);for(var A=0;Af){var l=f-M[g];return M[g]=f,l}}return 0},max:function(g,i,M,v){var f=v[i];if(d(f)){if(f=Number(f),!d(M[g]))return M[g]=f,f;if(M[g]l?h>M?h>1.1*g?g:h>1.1*i?i:M:h>v?v:h>f?f:l:Math.pow(10,Math.floor(Math.log(h)/Math.LN10))}function s(h,m,w,y,S,_){if(y&&h>M){var k=c(m,S,_),E=c(w,S,_),x=h===g?0:1;return k[x]!==E[x]}return Math.floor(w/h)-Math.floor(m/h)>.1}function c(h,m,w){var y=m.c2d(h,g,w).split("-");return y[0]===""&&(y.unshift(),y[0]="-"+y[0]),y}T.exports=function(h,m,w,y,S){var _,k,E=-1.1*m,x=-.1*m,A=h-x,L=w[0],b=w[1],R=Math.min(u(L+x,L+A,y,S),u(b+x,b+A,y,S)),I=Math.min(u(L+E,L+x,y,S),u(b+E,b+x,y,S));if(R>I&&IM){var O=_===g?1:6,z=_===g?"M12":"M1";return function(F,B){var N=y.c2d(F,g,S),W=N.indexOf("-",O);W>0&&(N=N.substr(0,W));var j=y.d2c(N,0,S);if(jh.r2l(re)&&(oe=M.tickIncrement(oe,I.size,!0,k)),te.start=h.l2r(oe),Q||g.nestedProperty(c,L+".start").set(te.start)}var ue=I.end,ce=h.r2l(ne.end),ye=ce!==void 0;if((I.endFound||ye)&&ce!==h.r2l(ue)){var de=ye?ce:g.aggNums(Math.max,null,E);te.end=h.l2r(de),ye||g.nestedProperty(c,L+".start").set(te.end)}var me="autobin"+m;return c._input[me]===!1&&(c._input[L]=g.extendFlat({},c[L]||{}),delete c._input[me],delete c[me]),[te,E]}T.exports={calc:function(s,c){var h,m,w,y,S=[],_=[],k=c.orientation==="h",E=M.getFromId(s,k?c.yaxis:c.xaxis),x=k?"y":"x",A={x:"y",y:"x"}[x],L=c[x+"calendar"],b=c.cumulative,R=o(s,c,E,x),I=R[0],O=R[1],z=typeof I.size=="string",F=[],B=z?F:I,N=[],W=[],j=[],$=0,U=c.histnorm,G=c.histfunc,q=U.indexOf("density")!==-1;b.enabled&&q&&(U=U.replace(/ ?density$/,""),q=!1);var H,ne=G==="max"||G==="min"?null:0,te=f.count,Z=l[U],X=!1,Q=function(Ce){return E.r2c(Ce,0,L)};for(g.isArrayOrTypedArray(c[A])&&G!=="count"&&(H=c[A],X=G==="avg",te=f[G]),h=Q(I.start),w=Q(I.end)+(h-M.tickIncrement(h,I.size,!1,L))/1e6;h=0&&y=0;be--)ze(be);else if(ae==="increasing"){for(be=1;be=0;be--)Ce[be]+=Ce[be+1];fe==="exclude"&&(Ce.push(0),Ce.shift())}}(_,b.direction,b.currentbin);var xe=Math.min(S.length,_.length),Pe=[],_e=0,Me=xe-1;for(h=0;h=_e;h--)if(_[h]){Me=h;break}for(h=_e;h<=Me;h++)if(d(S[h])&&d(_[h])){var Se={p:S[h],s:_[h],b:0};b.enabled||(Se.pts=j[h],ce?Se.ph0=Se.ph1=j[h].length?O[j[h][0]]:S[h]:(c._computePh=!0,Se.ph0=oe(F[h]),Se.ph1=oe(F[h+1],!0))),Pe.push(Se)}return Pe.length===1&&(Pe[0].width1=M.tickIncrement(Pe[0].p,I.size,!1,L)-Pe[0].p),v(Pe,c),g.isArrayOrTypedArray(c.selectedpoints)&&g.tagSelected(Pe,c,me),Pe},calcAllAutoBins:o}},72406:function(T){T.exports={eventDataKeys:["binNumber"]}},82222:function(T,p,t){var d=t(71828),g=t(41675),i=t(73972).traceIs,M=t(26125),v=d.nestedProperty,f=t(99082).getAxisGroup,l=[{aStr:{x:"xbins.start",y:"ybins.start"},name:"start"},{aStr:{x:"xbins.end",y:"ybins.end"},name:"end"},{aStr:{x:"xbins.size",y:"ybins.size"},name:"size"},{aStr:{x:"nbinsx",y:"nbinsy"},name:"nbins"}],a=["x","y"];T.exports=function(u,o){var s,c,h,m,w,y,S,_=o._histogramBinOpts={},k=[],E={},x=[];function A(q,H){return d.coerce(s._input,s,s._module.attributes,q,H)}function L(q){return q.orientation==="v"?"x":"y"}function b(q,H,ne){var te=q.uid+"__"+ne;H||(H=te);var Z=function(ie,oe){return g.getFromTrace({_fullLayout:o},ie,oe).type}(q,ne),X=q[ne+"calendar"]||"",Q=_[H],re=!0;Q&&(Z===Q.axType&&X===Q.calendar?(re=!1,Q.traces.push(q),Q.dirs.push(ne)):(H=te,Z!==Q.axType&&d.warn(["Attempted to group the bins of trace",q.index,"set on a","type:"+Z,"axis","with bins on","type:"+Q.axType,"axis."].join(" ")),X!==Q.calendar&&d.warn(["Attempted to group the bins of trace",q.index,"set with a",X,"calendar","with bins",Q.calendar?"on a "+Q.calendar+" calendar":"w/o a set calendar"].join(" ")))),re&&(_[H]={traces:[q],dirs:[ne],axType:Z,calendar:q[ne+"calendar"]||""}),q["_"+ne+"bingroup"]=H}for(w=0;wF&&R.splice(F,R.length-F),z.length>F&&z.splice(F,z.length-F);var B=[],N=[],W=[],j=typeof b.size=="string",$=typeof O.size=="string",U=[],G=[],q=j?U:b,H=$?G:O,ne=0,te=[],Z=[],X=c.histnorm,Q=c.histfunc,re=X.indexOf("density")!==-1,ie=Q==="max"||Q==="min"?null:0,oe=i.count,ue=M[X],ce=!1,ye=[],de=[],me="z"in c?c.z:"marker"in c&&Array.isArray(c.marker.color)?c.marker.color:"";me&&Q!=="count"&&(ce=Q==="avg",oe=i[Q]);var pe=b.size,xe=x(b.start),Pe=x(b.end)+(xe-g.tickIncrement(xe,pe,!1,k))/1e6;for(h=xe;h=0&&w=0&&y-1,flipY:N.tiling.flip.indexOf("y")>-1,orientation:N.tiling.orientation,pad:{inner:N.tiling.pad},maxDepth:N._maxDepth}).descendants(),G=1/0,q=-1/0;U.forEach(function(X){var Q=X.depth;Q>=N._maxDepth?(X.x0=X.x1=(X.x0+X.x1)/2,X.y0=X.y1=(X.y0+X.y1)/2):(G=Math.min(G,Q),q=Math.max(q,Q))}),w=w.data(U,a.getPtId),N._maxVisibleLayers=isFinite(q)?q-G+1:0,w.enter().append("g").classed("slice",!0),R(w,s,{},[S,_],x),w.order();var H=null;if(b&&z){var ne=a.getPtId(z);w.each(function(X){H===null&&a.getPtId(X)===ne&&(H={x0:X.x0,x1:X.x1,y0:X.y0,y1:X.y1})})}var te=function(){return H||{x0:0,x1:S,y0:0,y1:_}},Z=w;return b&&(Z=Z.transition().each("end",function(){var X=d.select(this);a.setSliceCursor(X,c,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})})),Z.each(function(X){X._x0=k(X.x0),X._x1=k(X.x1),X._y0=E(X.y0),X._y1=E(X.y1),X._hoverX=k(X.x1-N.tiling.pad),X._hoverY=E($?X.y1-N.tiling.pad/2:X.y0+N.tiling.pad/2);var Q=d.select(this),re=g.ensureSingle(Q,"path","surface",function(ce){ce.style("pointer-events",F?"none":"all")});b?re.transition().attrTween("d",function(ce){var ye=I(ce,s,te(),[S,_],{orientation:N.tiling.orientation,flipX:N.tiling.flip.indexOf("x")>-1,flipY:N.tiling.flip.indexOf("y")>-1});return function(de){return x(ye(de))}}):re.attr("d",x),Q.call(u,m,c,h,{styleOne:f,eventDataKeys:l.eventDataKeys,transitionTime:l.CLICK_TRANSITION_TIME,transitionEasing:l.CLICK_TRANSITION_EASING}).call(a.setSliceCursor,c,{isTransitioning:c._transitioning}),re.call(f,X,N,{hovered:!1}),X.x0===X.x1||X.y0===X.y1?X._text="":X._text=o(X,m,N,h,B)||"";var ie=g.ensureSingle(Q,"g","slicetext"),oe=g.ensureSingle(ie,"text","",function(ce){ce.attr("data-notex",1)}),ue=g.ensureUniformFontSize(c,a.determineTextFont(N,X,B.font));oe.text(X._text||" ").classed("slicetext",!0).attr("text-anchor",j?"end":W?"start":"middle").call(i.font,ue).call(M.convertToTspans,c),X.textBB=i.bBox(oe.node()),X.transform=A(X,{fontSize:ue.size}),X.transform.fontSize=ue.size,b?oe.transition().attrTween("transform",function(ce){var ye=O(ce,s,te(),[S,_]);return function(de){return L(ye(de))}}):oe.attr("transform",L(X))}),H}},69816:function(T,p,t){T.exports={moduleType:"trace",name:"icicle",basePlotModule:t(96346),categories:[],animatable:!0,attributes:t(46291),layoutAttributes:t(92894),supplyDefaults:t(56524),supplyLayoutDefaults:t(21070),calc:t(46584).y,crossTraceCalc:t(46584).T,plot:t(85596),style:t(82454).style,colorbar:t(4898),meta:{}}},92894:function(T){T.exports={iciclecolorway:{valType:"colorlist",editType:"calc"},extendiciclecolors:{valType:"boolean",dflt:!0,editType:"calc"}}},21070:function(T,p,t){var d=t(71828),g=t(92894);T.exports=function(i,M){function v(f,l){return d.coerce(i,M,g,f,l)}v("iciclecolorway",M.colorway),v("extendiciclecolors")}},21538:function(T,p,t){var d=t(674),g=t(14102);T.exports=function(i,M,v){var f=v.flipX,l=v.flipY,a=v.orientation==="h",u=v.maxDepth,o=M[0],s=M[1];u&&(o=(i.height+1)*M[0]/Math.min(i.height+1,u),s=(i.height+1)*M[1]/Math.min(i.height+1,u));var c=d.partition().padding(v.pad.inner).size(a?[M[1],o]:[M[0],s])(i);return(a||f||l)&&g(c,M,{swapXY:a,flipX:f,flipY:l}),c}},85596:function(T,p,t){var d=t(80694),g=t(90666);T.exports=function(i,M,v,f){return d(i,M,v,f,{type:"icicle",drawDescendants:g})}},82454:function(T,p,t){var d=t(39898),g=t(7901),i=t(71828),M=t(72597).resizeText;function v(f,l,a){var u=l.data.data,o=!l.children,s=u.i,c=i.castOption(a,s,"marker.line.color")||g.defaultLine,h=i.castOption(a,s,"marker.line.width")||0;f.style("stroke-width",h).call(g.fill,u.color).call(g.stroke,c).style("opacity",o?a.leaf.opacity:null)}T.exports={style:function(f){var l=f._fullLayout._iciclelayer.selectAll(".trace");M(f,l,"icicle"),l.each(function(a){var u=d.select(this),o=a[0].trace;u.style("opacity",o.opacity),u.selectAll("path.surface").each(function(s){d.select(this).call(v,s,o)})})},styleOne:v}},17230:function(T,p,t){for(var d=t(9012),g=t(5386).fF,i=t(1426).extendFlat,M=t(51877).colormodel,v=["rgb","rgba","rgba256","hsl","hsla"],f=[],l=[],a=0;a0||d.inbox(f-l.y0,f-(l.y0+l.h*a.dy),0)>0)){var s,c=Math.floor((v-l.x0)/a.dx),h=Math.floor(Math.abs(f-l.y0)/a.dy);if(a._hasZ?s=l.z[h][c]:a._hasSource&&(s=a._canvas.el.getContext("2d",{willReadFrequently:!0}).getImageData(c,h,1,1).data),s){var m,w=l.hi||a.hoverinfo;if(w){var y=w.split("+");y.indexOf("all")!==-1&&(y=["color"]),y.indexOf("color")!==-1&&(m=!0)}var S,_=i.colormodel[a.colormodel],k=_.colormodel||a.colormodel,E=k.length,x=a._scaler(s),A=_.suffix,L=[];(a.hovertemplate||m)&&(L.push("["+[x[0]+A[0],x[1]+A[1],x[2]+A[2]].join(", ")),E===4&&L.push(", "+x[3]+A[3]),L.push("]"),L=L.join(""),M.extraText=k.toUpperCase()+": "+L),Array.isArray(a.hovertext)&&Array.isArray(a.hovertext[h])?S=a.hovertext[h][c]:Array.isArray(a.text)&&Array.isArray(a.text[h])&&(S=a.text[h][c]);var b=o.c2p(l.y0+(h+.5)*a.dy),R=l.x0+(c+.5)*a.dx,I=l.y0+(h+.5)*a.dy,O="["+s.slice(0,a.colormodel.length).join(", ")+"]";return[g.extendFlat(M,{index:[h,c],x0:u.c2p(l.x0+c*a.dx),x1:u.c2p(l.x0+(c+1)*a.dx),y0:b,y1:b,color:x,xVal:R,xLabelVal:R,yVal:I,yLabelVal:I,zLabelVal:O,text:S,hovertemplateLabels:{zLabel:O,colorLabel:L,"color[0]Label":x[0]+A[0],"color[1]Label":x[1]+A[1],"color[2]Label":x[2]+A[2],"color[3]Label":x[3]+A[3]}})]}}}},94507:function(T,p,t){T.exports={attributes:t(17230),supplyDefaults:t(13245),calc:t(71113),plot:t(60775),style:t(12826),hoverPoints:t(28749),eventData:t(30835),moduleType:"trace",name:"image",basePlotModule:t(93612),categories:["cartesian","svg","2dMap","noSortingByValue"],animatable:!1,meta:{}}},60775:function(T,p,t){var d=t(39898),g=t(71828),i=g.strTranslate,M=t(77922),v=t(51877),f=g.isIOS()||g.isSafari()||g.isIE();T.exports=function(l,a,u,o){var s=a.xaxis,c=a.yaxis,h=!(f||l._context._exportedPlot);g.makeTraceGroups(o,u,"im").each(function(m){var w=d.select(this),y=m[0],S=y.trace,_=(S.zsmooth==="fast"||S.zsmooth===!1&&h)&&!S._hasZ&&S._hasSource&&s.type==="linear"&&c.type==="linear";S._realImage=_;var k,E,x,A,L,b,R=y.z,I=y.x0,O=y.y0,z=y.w,F=y.h,B=S.dx,N=S.dy;for(b=0;k===void 0&&b0;)E=s.c2p(I+b*B),b--;for(b=0;A===void 0&&b0;)L=c.c2p(O+b*N),b--;Eq[0];if(H||ne){var te=k+W/2,Z=A+j/2;U+="transform:"+i(te+"px",Z+"px")+"scale("+(H?-1:1)+","+(ne?-1:1)+")"+i(-te+"px",-Z+"px")+";"}}$.attr("style",U);var X=new Promise(function(re){if(S._hasZ)re();else if(S._hasSource)if(S._canvas&&S._canvas.el.width===z&&S._canvas.el.height===F&&S._canvas.source===S.source)re();else{var ie=document.createElement("canvas");ie.width=z,ie.height=F;var oe=ie.getContext("2d",{willReadFrequently:!0});S._image=S._image||new Image;var ue=S._image;ue.onload=function(){oe.drawImage(ue,0,0),S._canvas={el:ie,source:S.source},re()},ue.setAttribute("src",S.source)}}).then(function(){var re,ie;if(S._hasZ)ie=Q(function(ue,ce){return R[ce][ue]}),re=ie.toDataURL("image/png");else if(S._hasSource)if(_)re=S.source;else{var oe=S._canvas.el.getContext("2d",{willReadFrequently:!0}).getImageData(0,0,z,F).data;ie=Q(function(ue,ce){var ye=4*(ce*z+ue);return[oe[ye],oe[ye+1],oe[ye+2],oe[ye+3]]}),re=ie.toDataURL("image/png")}$.attr({"xlink:href":re,height:j,width:W,x:k,y:A})});l._promises.push(X)}function Q(re){var ie=document.createElement("canvas");ie.width=W,ie.height=j;var oe,ue=ie.getContext("2d",{willReadFrequently:!0}),ce=function(Ce){return g.constrain(Math.round(s.c2p(I+Ce*B)-k),0,W)},ye=function(Ce){return g.constrain(Math.round(c.c2p(O+Ce*N)-A),0,j)},de=v.colormodel[S.colormodel],me=de.colormodel||S.colormodel,pe=de.fmt;for(b=0;b0}function x(I){I.each(function(O){y.stroke(d.select(this),O.line.color)}).each(function(O){y.fill(d.select(this),O.color)}).style("stroke-width",function(O){return O.line.width})}function A(I,O,z){var F=I._fullLayout,B=M.extendFlat({type:"linear",ticks:"outside",range:z,showline:!0},O),N={type:"linear",_id:"x"+O._id},W={letter:"x",font:F.font,noHover:!0,noTickson:!0};function j($,U){return M.coerce(B,N,w,$,U)}return h(B,N,j,W,F),m(B,N,j,W),N}function L(I,O,z){return[Math.min(O/I.width,z/I.height),I,O+"x"+z]}function b(I,O,z,F){var B=document.createElementNS("http://www.w3.org/2000/svg","text"),N=d.select(B);return N.text(I).attr("x",0).attr("y",0).attr("text-anchor",z).attr("data-unformatted",I).call(s.convertToTspans,F).call(u.font,O),u.bBox(N.node())}function R(I,O,z,F,B,N){var W="_cache"+O;I[W]&&I[W].key===B||(I[W]={key:B,value:z});var j=M.aggNums(N,null,[I[W].value,F],2);return I[W].value=j,j}T.exports=function(I,O,z,F){var B,N=I._fullLayout;E(z)&&F&&(B=F()),M.makeTraceGroups(N._indicatorlayer,O,"trace").each(function(W){var j,$,U,G,q,H=W[0].trace,ne=d.select(this),te=H._hasGauge,Z=H._isAngular,X=H._isBullet,Q=H.domain,re={w:N._size.w*(Q.x[1]-Q.x[0]),h:N._size.h*(Q.y[1]-Q.y[0]),l:N._size.l+N._size.w*Q.x[0],r:N._size.r+N._size.w*(1-Q.x[1]),t:N._size.t+N._size.h*(1-Q.y[1]),b:N._size.b+N._size.h*Q.y[0]},ie=re.l+re.w/2,oe=re.t+re.h/2,ue=Math.min(re.w/2,re.h),ce=o.innerRadius*ue,ye=H.align||"center";if($=oe,te){if(Z&&(j=ie,$=oe+ue/2,U=function(Se){return function(Ce,ae){return[ae/Math.sqrt(Ce.width/2*(Ce.width/2)+Ce.height*Ce.height),Ce,ae]}(Se,.9*ce)}),X){var de=o.bulletPadding,me=1-o.bulletNumberDomainSize+de;j=re.l+(me+(1-me)*_[ye])*re.w,U=function(Se){return L(Se,(o.bulletNumberDomainSize-de)*re.w,re.h)}}}else j=re.l+_[ye]*re.w,U=function(Se){return L(Se,re.w,re.h)};(function(Se,Ce,ae,fe){var be,ke,Le,Be=ae[0].trace,ze=fe.numbersX,je=fe.numbersY,ge=Be.align||"center",we=S[ge],Ee=fe.transitionOpts,Ve=fe.onComplete,$e=M.ensureSingle(Ce,"g","numbers"),Ye=[];Be._hasNumber&&Ye.push("number"),Be._hasDelta&&(Ye.push("delta"),Be.delta.position==="left"&&Ye.reverse());var st=$e.selectAll("text").data(Ye);function ot(Bt,qt,Vt,Ke){if(!Bt.match("s")||Vt>=0==Ke>=0||qt(Vt).slice(-1).match(k)||qt(Ke).slice(-1).match(k))return qt;var Je=Bt.slice().replace("s","f").replace(/\d+/,function(nt){return parseInt(nt)-1}),qe=A(Se,{tickformat:Je});return function(nt){return Math.abs(nt)<1?c.tickText(qe,nt).text:qt(nt)}}st.enter().append("text"),st.attr("text-anchor",function(){return we}).attr("class",function(Bt){return Bt}).attr("x",null).attr("y",null).attr("dx",null).attr("dy",null),st.exit().remove();var ht,bt=Be.mode+Be.align;if(Be._hasDelta&&(ht=function(){var Bt=A(Se,{tickformat:Be.delta.valueformat},Be._range);Bt.setScale(),c.prepTicks(Bt);var qt=function(Ne){return c.tickText(Bt,Ne).text},Vt=Be.delta.suffix,Ke=Be.delta.prefix,Je=function(Ne){return Be.delta.relative?Ne.relativeDelta:Ne.delta},qe=function(Ne,Qe){return Ne===0||typeof Ne!="number"||isNaN(Ne)?"-":(Ne>0?Be.delta.increasing.symbol:Be.delta.decreasing.symbol)+Ke+Qe(Ne)+Vt},nt=function(Ne){return Ne.delta>=0?Be.delta.increasing.color:Be.delta.decreasing.color};Be._deltaLastValue===void 0&&(Be._deltaLastValue=Je(ae[0]));var ft=$e.select("text.delta");function Re(){ft.text(qe(Je(ae[0]),qt)).call(y.fill,nt(ae[0])).call(s.convertToTspans,Se)}return ft.call(u.font,Be.delta.font).call(y.fill,nt({delta:Be._deltaLastValue})),E(Ee)?ft.transition().duration(Ee.duration).ease(Ee.easing).tween("text",function(){var Ne=d.select(this),Qe=Je(ae[0]),ut=Be._deltaLastValue,dt=ot(Be.delta.valueformat,qt,ut,Qe),_t=i(ut,Qe);return Be._deltaLastValue=Qe,function(It){Ne.text(qe(_t(It),dt)),Ne.call(y.fill,nt({delta:_t(It)}))}}).each("end",function(){Re(),Ve&&Ve()}).each("interrupt",function(){Re(),Ve&&Ve()}):Re(),ke=b(qe(Je(ae[0]),qt),Be.delta.font,we,Se),ft}(),bt+=Be.delta.position+Be.delta.font.size+Be.delta.font.family+Be.delta.valueformat,bt+=Be.delta.increasing.symbol+Be.delta.decreasing.symbol,Le=ke),Be._hasNumber&&(function(){var Bt=A(Se,{tickformat:Be.number.valueformat},Be._range);Bt.setScale(),c.prepTicks(Bt);var qt=function(nt){return c.tickText(Bt,nt).text},Vt=Be.number.suffix,Ke=Be.number.prefix,Je=$e.select("text.number");function qe(){var nt=typeof ae[0].y=="number"?Ke+qt(ae[0].y)+Vt:"-";Je.text(nt).call(u.font,Be.number.font).call(s.convertToTspans,Se)}E(Ee)?Je.transition().duration(Ee.duration).ease(Ee.easing).each("end",function(){qe(),Ve&&Ve()}).each("interrupt",function(){qe(),Ve&&Ve()}).attrTween("text",function(){var nt=d.select(this),ft=i(ae[0].lastY,ae[0].y);Be._lastValue=ae[0].y;var Re=ot(Be.number.valueformat,qt,ae[0].lastY,ae[0].y);return function(Ne){nt.text(Ke+Re(ft(Ne))+Vt)}}):qe(),be=b(Ke+qt(ae[0].y)+Vt,Be.number.font,we,Se)}(),bt+=Be.number.font.size+Be.number.font.family+Be.number.valueformat+Be.number.suffix+Be.number.prefix,Le=be),Be._hasDelta&&Be._hasNumber){var Et,kt,xt=[(be.left+be.right)/2,(be.top+be.bottom)/2],Ft=[(ke.left+ke.right)/2,(ke.top+ke.bottom)/2],Ot=.75*Be.delta.font.size;Be.delta.position==="left"&&(Et=R(Be,"deltaPos",0,-1*(be.width*_[Be.align]+ke.width*(1-_[Be.align])+Ot),bt,Math.min),kt=xt[1]-Ft[1],Le={width:be.width+ke.width+Ot,height:Math.max(be.height,ke.height),left:ke.left+Et,right:be.right,top:Math.min(be.top,ke.top+kt),bottom:Math.max(be.bottom,ke.bottom+kt)}),Be.delta.position==="right"&&(Et=R(Be,"deltaPos",0,be.width*(1-_[Be.align])+ke.width*_[Be.align]+Ot,bt,Math.max),kt=xt[1]-Ft[1],Le={width:be.width+ke.width+Ot,height:Math.max(be.height,ke.height),left:be.left,right:ke.right+Et,top:Math.min(be.top,ke.top+kt),bottom:Math.max(be.bottom,ke.bottom+kt)}),Be.delta.position==="bottom"&&(Et=null,kt=ke.height,Le={width:Math.max(be.width,ke.width),height:be.height+ke.height,left:Math.min(be.left,ke.left),right:Math.max(be.right,ke.right),top:be.bottom-be.height,bottom:be.bottom+ke.height}),Be.delta.position==="top"&&(Et=null,kt=be.top,Le={width:Math.max(be.width,ke.width),height:be.height+ke.height,left:Math.min(be.left,ke.left),right:Math.max(be.right,ke.right),top:be.bottom-be.height-ke.height,bottom:be.bottom}),ht.attr({dx:Et,dy:kt})}(Be._hasNumber||Be._hasDelta)&&$e.attr("transform",function(){var Bt=fe.numbersScaler(Le);bt+=Bt[2];var qt,Vt=R(Be,"numbersScale",1,Bt[0],bt,Math.min);Be._scaleNumbers||(Vt=1),qt=Be._isAngular?je-Vt*Le.bottom:je-Vt*(Le.top+Le.bottom)/2,Be._numbersTop=Vt*Le.top+qt;var Ke=Le[ge];ge==="center"&&(Ke=(Le.left+Le.right)/2);var Je=ze-Vt*Ke;return Je=R(Be,"numbersTranslate",0,Je,bt,Math.max),f(Je,qt)+v(Vt)})})(I,ne,W,{numbersX:j,numbersY:$,numbersScaler:U,transitionOpts:z,onComplete:B}),te&&(G={range:H.gauge.axis.range,color:H.gauge.bgcolor,line:{color:H.gauge.bordercolor,width:0},thickness:1},q={range:H.gauge.axis.range,color:"rgba(0, 0, 0, 0)",line:{color:H.gauge.bordercolor,width:H.gauge.borderwidth},thickness:1});var pe=ne.selectAll("g.angular").data(Z?W:[]);pe.exit().remove();var xe=ne.selectAll("g.angularaxis").data(Z?W:[]);xe.exit().remove(),Z&&function(Se,Ce,ae,fe){var be,ke,Le,Be,ze=ae[0].trace,je=fe.size,ge=fe.radius,we=fe.innerRadius,Ee=fe.gaugeBg,Ve=fe.gaugeOutline,$e=[je.l+je.w/2,je.t+je.h/2+ge/2],Ye=fe.gauge,st=fe.layer,ot=fe.transitionOpts,ht=fe.onComplete,bt=Math.PI/2;function Et(It){var Lt=ze.gauge.axis.range[0],yt=(It-Lt)/(ze.gauge.axis.range[1]-Lt)*Math.PI-bt;return yt<-bt?-bt:yt>bt?bt:yt}function kt(It){return d.svg.arc().innerRadius((we+ge)/2-It/2*(ge-we)).outerRadius((we+ge)/2+It/2*(ge-we)).startAngle(-bt)}function xt(It){It.attr("d",function(Lt){return kt(Lt.thickness).startAngle(Et(Lt.range[0])).endAngle(Et(Lt.range[1]))()})}Ye.enter().append("g").classed("angular",!0),Ye.attr("transform",f($e[0],$e[1])),st.enter().append("g").classed("angularaxis",!0).classed("crisp",!0),st.selectAll("g.xangularaxistick,path,text").remove(),(be=A(Se,ze.gauge.axis)).type="linear",be.range=ze.gauge.axis.range,be._id="xangularaxis",be.ticklabeloverflow="allow",be.setScale();var Ft=function(It){return(be.range[0]-It.x)/(be.range[1]-be.range[0])*Math.PI+Math.PI},Ot={},Bt=c.makeLabelFns(be,0).labelStandoff;Ot.xFn=function(It){var Lt=Ft(It);return Math.cos(Lt)*Bt},Ot.yFn=function(It){var Lt=Ft(It),yt=Math.sin(Lt)>0?.2:1;return-Math.sin(Lt)*(Bt+It.fontSize*yt)+Math.abs(Math.cos(Lt))*(It.fontSize*a)},Ot.anchorFn=function(It){var Lt=Ft(It),yt=Math.cos(Lt);return Math.abs(yt)<.1?"middle":yt>0?"start":"end"},Ot.heightFn=function(It,Lt,yt){var Pt=Ft(It);return-.5*(1+Math.sin(Pt))*yt};var qt=function(It){return f($e[0]+ge*Math.cos(It),$e[1]-ge*Math.sin(It))};if(Le=function(It){return qt(Ft(It))},ke=c.calcTicks(be),Be=c.getTickSigns(be)[2],be.visible){Be=be.ticks==="inside"?-1:1;var Vt=(be.linewidth||1)/2;c.drawTicks(Se,be,{vals:ke,layer:st,path:"M"+Be*Vt+",0h"+Be*be.ticklen,transFn:function(It){var Lt=Ft(It);return qt(Lt)+"rotate("+-l(Lt)+")"}}),c.drawLabels(Se,be,{vals:ke,layer:st,transFn:Le,labelFns:Ot})}var Ke=[Ee].concat(ze.gauge.steps),Je=Ye.selectAll("g.bg-arc").data(Ke);Je.enter().append("g").classed("bg-arc",!0).append("path"),Je.select("path").call(xt).call(x),Je.exit().remove();var qe=kt(ze.gauge.bar.thickness),nt=Ye.selectAll("g.value-arc").data([ze.gauge.bar]);nt.enter().append("g").classed("value-arc",!0).append("path");var ft,Re,Ne,Qe=nt.select("path");E(ot)?(Qe.transition().duration(ot.duration).ease(ot.easing).each("end",function(){ht&&ht()}).each("interrupt",function(){ht&&ht()}).attrTween("d",(ft=qe,Re=Et(ae[0].lastY),Ne=Et(ae[0].y),function(){var It=g(Re,Ne);return function(Lt){return ft.endAngle(It(Lt))()}})),ze._lastValue=ae[0].y):Qe.attr("d",typeof ae[0].y=="number"?qe.endAngle(Et(ae[0].y)):"M0,0Z"),Qe.call(x),nt.exit().remove(),Ke=[];var ut=ze.gauge.threshold.value;(ut||ut===0)&&Ke.push({range:[ut,ut],color:ze.gauge.threshold.color,line:{color:ze.gauge.threshold.line.color,width:ze.gauge.threshold.line.width},thickness:ze.gauge.threshold.thickness});var dt=Ye.selectAll("g.threshold-arc").data(Ke);dt.enter().append("g").classed("threshold-arc",!0).append("path"),dt.select("path").call(xt).call(x),dt.exit().remove();var _t=Ye.selectAll("g.gauge-outline").data([Ve]);_t.enter().append("g").classed("gauge-outline",!0).append("path"),_t.select("path").call(xt).call(x),_t.exit().remove()}(I,0,W,{radius:ue,innerRadius:ce,gauge:pe,layer:xe,size:re,gaugeBg:G,gaugeOutline:q,transitionOpts:z,onComplete:B});var Pe=ne.selectAll("g.bullet").data(X?W:[]);Pe.exit().remove();var _e=ne.selectAll("g.bulletaxis").data(X?W:[]);_e.exit().remove(),X&&function(Se,Ce,ae,fe){var be,ke,Le,Be,ze,je=ae[0].trace,ge=fe.gauge,we=fe.layer,Ee=fe.gaugeBg,Ve=fe.gaugeOutline,$e=fe.size,Ye=je.domain,st=fe.transitionOpts,ot=fe.onComplete;ge.enter().append("g").classed("bullet",!0),ge.attr("transform",f($e.l,$e.t)),we.enter().append("g").classed("bulletaxis",!0).classed("crisp",!0),we.selectAll("g.xbulletaxistick,path,text").remove();var ht=$e.h,bt=je.gauge.bar.thickness*ht,Et=Ye.x[0],kt=Ye.x[0]+(Ye.x[1]-Ye.x[0])*(je._hasNumber||je._hasDelta?1-o.bulletNumberDomainSize:1);function xt(Je){Je.attr("width",function(qe){return Math.max(0,be.c2p(qe.range[1])-be.c2p(qe.range[0]))}).attr("x",function(qe){return be.c2p(qe.range[0])}).attr("y",function(qe){return .5*(1-qe.thickness)*ht}).attr("height",function(qe){return qe.thickness*ht})}(be=A(Se,je.gauge.axis))._id="xbulletaxis",be.domain=[Et,kt],be.setScale(),ke=c.calcTicks(be),Le=c.makeTransTickFn(be),Be=c.getTickSigns(be)[2],ze=$e.t+$e.h,be.visible&&(c.drawTicks(Se,be,{vals:be.ticks==="inside"?c.clipEnds(be,ke):ke,layer:we,path:c.makeTickPath(be,ze,Be),transFn:Le}),c.drawLabels(Se,be,{vals:ke,layer:we,transFn:Le,labelFns:c.makeLabelFns(be,ze)}));var Ft=[Ee].concat(je.gauge.steps),Ot=ge.selectAll("g.bg-bullet").data(Ft);Ot.enter().append("g").classed("bg-bullet",!0).append("rect"),Ot.select("rect").call(xt).call(x),Ot.exit().remove();var Bt=ge.selectAll("g.value-bullet").data([je.gauge.bar]);Bt.enter().append("g").classed("value-bullet",!0).append("rect"),Bt.select("rect").attr("height",bt).attr("y",(ht-bt)/2).call(x),E(st)?Bt.select("rect").transition().duration(st.duration).ease(st.easing).each("end",function(){ot&&ot()}).each("interrupt",function(){ot&&ot()}).attr("width",Math.max(0,be.c2p(Math.min(je.gauge.axis.range[1],ae[0].y)))):Bt.select("rect").attr("width",typeof ae[0].y=="number"?Math.max(0,be.c2p(Math.min(je.gauge.axis.range[1],ae[0].y))):0),Bt.exit().remove();var qt=ae.filter(function(){return je.gauge.threshold.value||je.gauge.threshold.value===0}),Vt=ge.selectAll("g.threshold-bullet").data(qt);Vt.enter().append("g").classed("threshold-bullet",!0).append("line"),Vt.select("line").attr("x1",be.c2p(je.gauge.threshold.value)).attr("x2",be.c2p(je.gauge.threshold.value)).attr("y1",(1-je.gauge.threshold.thickness)/2*ht).attr("y2",(1-(1-je.gauge.threshold.thickness)/2)*ht).call(y.stroke,je.gauge.threshold.line.color).style("stroke-width",je.gauge.threshold.line.width),Vt.exit().remove();var Ke=ge.selectAll("g.gauge-outline").data([Ve]);Ke.enter().append("g").classed("gauge-outline",!0).append("rect"),Ke.select("rect").call(xt).call(x),Ke.exit().remove()}(I,0,W,{gauge:Pe,layer:_e,size:re,gaugeBg:G,gaugeOutline:q,transitionOpts:z,onComplete:B});var Me=ne.selectAll("text.title").data(W);Me.exit().remove(),Me.enter().append("text").classed("title",!0),Me.attr("text-anchor",function(){return X?S.right:S[H.title.align]}).text(H.title.text).call(u.font,H.title.font).call(s.convertToTspans,I),Me.attr("transform",function(){var Se,Ce=re.l+re.w*_[H.title.align],ae=o.titlePadding,fe=u.bBox(Me.node());return te?(Z&&(Se=H.gauge.axis.visible?u.bBox(xe.node()).top-ae-fe.bottom:re.t+re.h/2-ue/2-fe.bottom-ae),X&&(Se=$-(fe.top+fe.bottom)/2,Ce=re.l-o.bulletPadding*re.w)):Se=H._numbersTop-ae-fe.bottom,f(Ce,Se)})})}},16249:function(T,p,t){var d=t(50693),g=t(12663).axisHoverFormat,i=t(5386).fF,M=t(2418),v=t(9012),f=t(1426).extendFlat,l=t(30962).overrideAll,a=T.exports=l(f({x:{valType:"data_array"},y:{valType:"data_array"},z:{valType:"data_array"},value:{valType:"data_array"},isomin:{valType:"number"},isomax:{valType:"number"},surface:{show:{valType:"boolean",dflt:!0},count:{valType:"integer",dflt:2,min:1},fill:{valType:"number",min:0,max:1,dflt:1},pattern:{valType:"flaglist",flags:["A","B","C","D","E"],extras:["all","odd","even"],dflt:"all"}},spaceframe:{show:{valType:"boolean",dflt:!1},fill:{valType:"number",min:0,max:1,dflt:.15}},slices:{x:{show:{valType:"boolean",dflt:!1},locations:{valType:"data_array",dflt:[]},fill:{valType:"number",min:0,max:1,dflt:1}},y:{show:{valType:"boolean",dflt:!1},locations:{valType:"data_array",dflt:[]},fill:{valType:"number",min:0,max:1,dflt:1}},z:{show:{valType:"boolean",dflt:!1},locations:{valType:"data_array",dflt:[]},fill:{valType:"number",min:0,max:1,dflt:1}}},caps:{x:{show:{valType:"boolean",dflt:!0},fill:{valType:"number",min:0,max:1,dflt:1}},y:{show:{valType:"boolean",dflt:!0},fill:{valType:"number",min:0,max:1,dflt:1}},z:{show:{valType:"boolean",dflt:!0},fill:{valType:"number",min:0,max:1,dflt:1}}},text:{valType:"string",dflt:"",arrayOk:!0},hovertext:{valType:"string",dflt:"",arrayOk:!0},hovertemplate:i(),xhoverformat:g("x"),yhoverformat:g("y"),zhoverformat:g("z"),valuehoverformat:g("value",1),showlegend:f({},v.showlegend,{dflt:!1})},d("",{colorAttr:"`value`",showScaleDflt:!0,editTypeOverride:"calc"}),{opacity:M.opacity,lightposition:M.lightposition,lighting:M.lighting,flatshading:M.flatshading,contour:M.contour,hoverinfo:f({},v.hoverinfo)}),"calc","nested");a.flatshading.dflt=!0,a.lighting.facenormalsepsilon.dflt=0,a.x.editType=a.y.editType=a.z.editType=a.value.editType="calc+clearAxisTypes",a.transforms=void 0},56959:function(T,p,t){var d=t(78803),g=t(88489).processGrid,i=t(88489).filter;T.exports=function(M,v){v._len=Math.min(v.x.length,v.y.length,v.z.length,v.value.length),v._x=i(v.x,v._len),v._y=i(v.y,v._len),v._z=i(v.z,v._len),v._value=i(v.value,v._len);var f=g(v);v._gridFill=f.fill,v._Xs=f.Xs,v._Ys=f.Ys,v._Zs=f.Zs,v._len=f.len;for(var l=1/0,a=-1/0,u=0;u0;h--){var m=Math.min(c[h],c[h-1]),w=Math.max(c[h],c[h-1]);if(w>m&&m-1}function ie(je,ge){return je===null?ge:je}function oe(je,ge,we){ne();var Ee,Ve,$e,Ye=[ge],st=[we];if(_>=1)Ye=[ge],st=[we];else if(_>0){var ot=function(qt,Vt){var Ke=qt[0],Je=qt[1],qe=qt[2],nt=function(It,Lt,yt){for(var Pt=[],wt=0;wt-1?we[Et]:H(kt,xt,Ft);bt[Et]=Bt>-1?Bt:Z(kt,xt,Ft,ie(je,Ot))}Ee=bt[0],Ve=bt[1],$e=bt[2],s._meshI.push(Ee),s._meshJ.push(Ve),s._meshK.push($e),++R}}function ue(je,ge,we,Ee){var Ve=je[3];VeEe&&(Ve=Ee);for(var $e=(je[3]-Ve)/(je[3]-ge[3]+1e-9),Ye=[],st=0;st<4;st++)Ye[st]=(1-$e)*je[st]+$e*ge[st];return Ye}function ce(je,ge,we){return je>=ge&&je<=we}function ye(je){var ge=.001*(q-G);return je>=G-ge&&je<=q+ge}function de(je){for(var ge=[],we=0;we<4;we++){var Ee=je[we];ge.push([s._x[Ee],s._y[Ee],s._z[Ee],s._value[Ee]])}return ge}function me(je,ge,we,Ee,Ve,$e){$e||($e=1),we=[-1,-1,-1];var Ye=!1,st=[ce(ge[0][3],Ee,Ve),ce(ge[1][3],Ee,Ve),ce(ge[2][3],Ee,Ve)];if(!st[0]&&!st[1]&&!st[2])return!1;var ot=function(bt,Et,kt){return ye(Et[0][3])&&ye(Et[1][3])&&ye(Et[2][3])?(oe(bt,Et,kt),!0):$e<3&&me(bt,Et,kt,G,q,++$e)};if(st[0]&&st[1]&&st[2])return ot(je,ge,we)||Ye;var ht=!1;return[[0,1,2],[2,0,1],[1,2,0]].forEach(function(bt){if(st[bt[0]]&&st[bt[1]]&&!st[bt[2]]){var Et=ge[bt[0]],kt=ge[bt[1]],xt=ge[bt[2]],Ft=ue(xt,Et,Ee,Ve),Ot=ue(xt,kt,Ee,Ve);Ye=ot(je,[Ot,Ft,Et],[-1,-1,we[bt[0]]])||Ye,Ye=ot(je,[Et,kt,Ot],[we[bt[0]],we[bt[1]],-1])||Ye,ht=!0}}),ht||[[0,1,2],[1,2,0],[2,0,1]].forEach(function(bt){if(st[bt[0]]&&!st[bt[1]]&&!st[bt[2]]){var Et=ge[bt[0]],kt=ge[bt[1]],xt=ge[bt[2]],Ft=ue(kt,Et,Ee,Ve),Ot=ue(xt,Et,Ee,Ve);Ye=ot(je,[Ot,Ft,Et],[-1,-1,we[bt[0]]])||Ye,ht=!0}}),Ye}function pe(je,ge,we,Ee){var Ve=!1,$e=de(ge),Ye=[ce($e[0][3],we,Ee),ce($e[1][3],we,Ee),ce($e[2][3],we,Ee),ce($e[3][3],we,Ee)];if(!(Ye[0]||Ye[1]||Ye[2]||Ye[3]))return Ve;if(Ye[0]&&Ye[1]&&Ye[2]&&Ye[3])return b&&(Ve=function(ot,ht,bt){var Et=function(kt,xt,Ft){oe(ot,[ht[kt],ht[xt],ht[Ft]],[bt[kt],bt[xt],bt[Ft]])};Et(0,1,2),Et(3,0,1),Et(2,3,0),Et(1,2,3)}(je,$e,ge)||Ve),Ve;var st=!1;return[[0,1,2,3],[3,0,1,2],[2,3,0,1],[1,2,3,0]].forEach(function(ot){if(Ye[ot[0]]&&Ye[ot[1]]&&Ye[ot[2]]&&!Ye[ot[3]]){var ht=$e[ot[0]],bt=$e[ot[1]],Et=$e[ot[2]],kt=$e[ot[3]];if(b)Ve=oe(je,[ht,bt,Et],[ge[ot[0]],ge[ot[1]],ge[ot[2]]])||Ve;else{var xt=ue(kt,ht,we,Ee),Ft=ue(kt,bt,we,Ee),Ot=ue(kt,Et,we,Ee);Ve=oe(null,[xt,Ft,Ot],[-1,-1,-1])||Ve}st=!0}}),st||([[0,1,2,3],[1,2,3,0],[2,3,0,1],[3,0,1,2],[0,2,3,1],[1,3,2,0]].forEach(function(ot){if(Ye[ot[0]]&&Ye[ot[1]]&&!Ye[ot[2]]&&!Ye[ot[3]]){var ht=$e[ot[0]],bt=$e[ot[1]],Et=$e[ot[2]],kt=$e[ot[3]],xt=ue(Et,ht,we,Ee),Ft=ue(Et,bt,we,Ee),Ot=ue(kt,bt,we,Ee),Bt=ue(kt,ht,we,Ee);b?(Ve=oe(je,[ht,Bt,xt],[ge[ot[0]],-1,-1])||Ve,Ve=oe(je,[bt,Ft,Ot],[ge[ot[1]],-1,-1])||Ve):Ve=function(qt,Vt,Ke){var Je=function(qe,nt,ft){oe(null,[Vt[qe],Vt[nt],Vt[ft]],[Ke[qe],Ke[nt],Ke[ft]])};Je(0,1,2),Je(2,3,0)}(0,[xt,Ft,Ot,Bt],[-1,-1,-1,-1])||Ve,st=!0}}),st||[[0,1,2,3],[1,2,3,0],[2,3,0,1],[3,0,1,2]].forEach(function(ot){if(Ye[ot[0]]&&!Ye[ot[1]]&&!Ye[ot[2]]&&!Ye[ot[3]]){var ht=$e[ot[0]],bt=$e[ot[1]],Et=$e[ot[2]],kt=$e[ot[3]],xt=ue(bt,ht,we,Ee),Ft=ue(Et,ht,we,Ee),Ot=ue(kt,ht,we,Ee);b?(Ve=oe(je,[ht,xt,Ft],[ge[ot[0]],-1,-1])||Ve,Ve=oe(je,[ht,Ft,Ot],[ge[ot[0]],-1,-1])||Ve,Ve=oe(je,[ht,Ot,xt],[ge[ot[0]],-1,-1])||Ve):Ve=oe(null,[xt,Ft,Ot],[-1,-1,-1])||Ve,st=!0}})),Ve}function xe(je,ge,we,Ee,Ve,$e,Ye,st,ot,ht,bt){var Et=!1;return L&&(re(je,"A")&&(Et=pe(null,[ge,we,Ee,$e],ht,bt)||Et),re(je,"B")&&(Et=pe(null,[we,Ee,Ve,ot],ht,bt)||Et),re(je,"C")&&(Et=pe(null,[we,$e,Ye,ot],ht,bt)||Et),re(je,"D")&&(Et=pe(null,[Ee,$e,st,ot],ht,bt)||Et),re(je,"E")&&(Et=pe(null,[we,Ee,$e,ot],ht,bt)||Et)),b&&(Et=pe(je,[we,Ee,$e,ot],ht,bt)||Et),Et}function Pe(je,ge,we,Ee,Ve,$e,Ye,st){return[st[0]===!0||me(je,de([ge,we,Ee]),[ge,we,Ee],$e,Ye),st[1]===!0||me(je,de([Ee,Ve,ge]),[Ee,Ve,ge],$e,Ye)]}function _e(je,ge,we,Ee,Ve,$e,Ye,st,ot){return st?Pe(je,ge,we,Ve,Ee,$e,Ye,ot):Pe(je,we,Ve,Ee,ge,$e,Ye,ot)}function Me(je,ge,we,Ee,Ve,$e,Ye){var st,ot,ht,bt,Et=!1,kt=function(){Et=me(je,[st,ot,ht],[-1,-1,-1],Ve,$e)||Et,Et=me(je,[ht,bt,st],[-1,-1,-1],Ve,$e)||Et},xt=Ye[0],Ft=Ye[1],Ot=Ye[2];return xt&&(st=X(de([j(ge,we-0,Ee-0)])[0],de([j(ge-1,we-0,Ee-0)])[0],xt),ot=X(de([j(ge,we-0,Ee-1)])[0],de([j(ge-1,we-0,Ee-1)])[0],xt),ht=X(de([j(ge,we-1,Ee-1)])[0],de([j(ge-1,we-1,Ee-1)])[0],xt),bt=X(de([j(ge,we-1,Ee-0)])[0],de([j(ge-1,we-1,Ee-0)])[0],xt),kt()),Ft&&(st=X(de([j(ge-0,we,Ee-0)])[0],de([j(ge-0,we-1,Ee-0)])[0],Ft),ot=X(de([j(ge-0,we,Ee-1)])[0],de([j(ge-0,we-1,Ee-1)])[0],Ft),ht=X(de([j(ge-1,we,Ee-1)])[0],de([j(ge-1,we-1,Ee-1)])[0],Ft),bt=X(de([j(ge-1,we,Ee-0)])[0],de([j(ge-1,we-1,Ee-0)])[0],Ft),kt()),Ot&&(st=X(de([j(ge-0,we-0,Ee)])[0],de([j(ge-0,we-0,Ee-1)])[0],Ot),ot=X(de([j(ge-0,we-1,Ee)])[0],de([j(ge-0,we-1,Ee-1)])[0],Ot),ht=X(de([j(ge-1,we-1,Ee)])[0],de([j(ge-1,we-1,Ee-1)])[0],Ot),bt=X(de([j(ge-1,we-0,Ee)])[0],de([j(ge-1,we-0,Ee-1)])[0],Ot),kt()),Et}function Se(je,ge,we,Ee,Ve,$e,Ye,st,ot,ht,bt,Et){var kt=je;return Et?(L&&je==="even"&&(kt=null),xe(kt,ge,we,Ee,Ve,$e,Ye,st,ot,ht,bt)):(L&&je==="odd"&&(kt=null),xe(kt,ot,st,Ye,$e,Ve,Ee,we,ge,ht,bt))}function Ce(je,ge,we,Ee,Ve){for(var $e=[],Ye=0,st=0;stMath.abs($e-U)?[$,$e]:[$e,U];L=!0,be(ge,Ye[0],Ye[1]),L=!1}}var st=[[Math.min(G,U),Math.max(G,U)],[Math.min($,q),Math.max($,q)]];["x","y","z"].forEach(function(ot){for(var ht=[],bt=0;bt0&&(Bt.push(Ke.id),ot==="x"?qt.push([Ke.distRatio,0,0]):ot==="y"?qt.push([0,Ke.distRatio,0]):qt.push([0,0,Ke.distRatio]))}else Ot=ze(1,ot==="x"?F-1:ot==="y"?B-1:N-1);Bt.length>0&&(ht[Et]=ot==="x"?ke(je,Bt,kt,xt,qt,ht[Et]):ot==="y"?Le(je,Bt,kt,xt,qt,ht[Et]):Be(je,Bt,kt,xt,qt,ht[Et]),Et++),Ot.length>0&&(ht[Et]=ot==="x"?Ce(je,Ot,kt,xt,ht[Et]):ot==="y"?ae(je,Ot,kt,xt,ht[Et]):fe(je,Ot,kt,xt,ht[Et]),Et++)}var Je=s.caps[ot];Je.show&&Je.fill&&(Q(Je.fill),ht[Et]=ot==="x"?Ce(je,[0,F-1],kt,xt,ht[Et]):ot==="y"?ae(je,[0,B-1],kt,xt,ht[Et]):fe(je,[0,N-1],kt,xt,ht[Et]),Et++)}}),R===0&&te(),s._meshX=m,s._meshY=w,s._meshZ=y,s._meshIntensity=S,s._Xs=I,s._Ys=O,s._Zs=z}(),s}T.exports={findNearestOnAxis:f,generateIsoMeshes:o,createIsosurfaceTrace:function(s,c){var h=s.glplot.gl,m=d({gl:h}),w=new l(s,m,c.uid);return m._trace=w,w.update(c),s.glplot.add(m),w}}},82738:function(T,p,t){var d=t(71828),g=t(73972),i=t(16249),M=t(1586);function v(f,l,a,u,o){var s=o("isomin"),c=o("isomax");c!=null&&s!=null&&s>c&&(l.isomin=null,l.isomax=null);var h=o("x"),m=o("y"),w=o("z"),y=o("value");h&&h.length&&m&&m.length&&w&&w.length&&y&&y.length?(g.getComponentMethod("calendars","handleTraceDefaults")(f,l,["x","y","z"],u),o("valuehoverformat"),["x","y","z"].forEach(function(S){o(S+"hoverformat");var _="caps."+S;o(_+".show")&&o(_+".fill");var k="slices."+S;o(k+".show")&&(o(k+".fill"),o(k+".locations"))}),o("spaceframe.show")&&o("spaceframe.fill"),o("surface.show")&&(o("surface.count"),o("surface.fill"),o("surface.pattern")),o("contour.show")&&(o("contour.color"),o("contour.width")),["text","hovertext","hovertemplate","lighting.ambient","lighting.diffuse","lighting.specular","lighting.roughness","lighting.fresnel","lighting.vertexnormalsepsilon","lighting.facenormalsepsilon","lightposition.x","lightposition.y","lightposition.z","flatshading","opacity"].forEach(function(S){o(S)}),M(f,l,u,o,{prefix:"",cLetter:"c"}),l._length=null):l.visible=!1}T.exports={supplyDefaults:function(f,l,a,u){v(f,l,0,u,function(o,s){return d.coerce(f,l,i,o,s)})},supplyIsoDefaults:v}},64943:function(T,p,t){T.exports={attributes:t(16249),supplyDefaults:t(82738).supplyDefaults,calc:t(56959),colorbar:{min:"cmin",max:"cmax"},plot:t(22674).createIsosurfaceTrace,moduleType:"trace",name:"isosurface",basePlotModule:t(58547),categories:["gl3d","showLegend"],meta:{}}},2418:function(T,p,t){var d=t(50693),g=t(12663).axisHoverFormat,i=t(5386).fF,M=t(54532),v=t(9012),f=t(1426).extendFlat;T.exports=f({x:{valType:"data_array",editType:"calc+clearAxisTypes"},y:{valType:"data_array",editType:"calc+clearAxisTypes"},z:{valType:"data_array",editType:"calc+clearAxisTypes"},i:{valType:"data_array",editType:"calc"},j:{valType:"data_array",editType:"calc"},k:{valType:"data_array",editType:"calc"},text:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertemplate:i({editType:"calc"}),xhoverformat:g("x"),yhoverformat:g("y"),zhoverformat:g("z"),delaunayaxis:{valType:"enumerated",values:["x","y","z"],dflt:"z",editType:"calc"},alphahull:{valType:"number",dflt:-1,editType:"calc"},intensity:{valType:"data_array",editType:"calc"},intensitymode:{valType:"enumerated",values:["vertex","cell"],dflt:"vertex",editType:"calc"},color:{valType:"color",editType:"calc"},vertexcolor:{valType:"data_array",editType:"calc"},facecolor:{valType:"data_array",editType:"calc"},transforms:void 0},d("",{colorAttr:"`intensity`",showScaleDflt:!0,editTypeOverride:"calc"}),{opacity:M.opacity,flatshading:{valType:"boolean",dflt:!1,editType:"calc"},contour:{show:f({},M.contours.x.show,{}),color:M.contours.x.color,width:M.contours.x.width,editType:"calc"},lightposition:{x:f({},M.lightposition.x,{dflt:1e5}),y:f({},M.lightposition.y,{dflt:1e5}),z:f({},M.lightposition.z,{dflt:0}),editType:"calc"},lighting:f({vertexnormalsepsilon:{valType:"number",min:0,max:1,dflt:1e-12,editType:"calc"},facenormalsepsilon:{valType:"number",min:0,max:1,dflt:1e-6,editType:"calc"},editType:"calc"},M.lighting),hoverinfo:f({},v.hoverinfo,{editType:"calc"}),showlegend:f({},v.showlegend,{dflt:!1})})},82932:function(T,p,t){var d=t(78803);T.exports=function(g,i){i.intensity&&d(g,i,{vals:i.intensity,containerStr:"",cLetter:"c"})}},91134:function(T,p,t){var d=t(9330).gl_mesh3d,g=t(9330).delaunay_triangulate,i=t(9330).alpha_shape,M=t(9330).convex_hull,v=t(81697).parseColorScale,f=t(78614),l=t(21081).extractOpts,a=t(90060);function u(w,y,S){this.scene=w,this.uid=S,this.mesh=y,this.name="",this.color="#fff",this.data=null,this.showContour=!1}var o=u.prototype;function s(w){for(var y=[],S=w.length,_=0;_=y-.5)return!1;return!0}o.handlePick=function(w){if(w.object===this.mesh){var y=w.index=w.data.index;w.data._cellCenter?w.traceCoordinate=w.data.dataCoordinate:w.traceCoordinate=[this.data.x[y],this.data.y[y],this.data.z[y]];var S=this.data.hovertext||this.data.text;return Array.isArray(S)&&S[y]!==void 0?w.textLabel=S[y]:S&&(w.textLabel=S),!0}},o.update=function(w){var y=this.scene,S=y.fullSceneLayout;this.data=w;var _,k=w.x.length,E=a(c(S.xaxis,w.x,y.dataScale[0],w.xcalendar),c(S.yaxis,w.y,y.dataScale[1],w.ycalendar),c(S.zaxis,w.z,y.dataScale[2],w.zcalendar));if(w.i&&w.j&&w.k){if(w.i.length!==w.j.length||w.j.length!==w.k.length||!m(w.i,k)||!m(w.j,k)||!m(w.k,k))return;_=a(h(w.i),h(w.j),h(w.k))}else _=w.alphahull===0?M(E):w.alphahull>0?i(w.alphahull,E):function(b,R){for(var I=["x","y","z"].indexOf(b),O=[],z=R.length,F=0;Fx):E=F>I,x=F;var B=h(I,O,z,F);B.pos=R,B.yc=(I+F)/2,B.i=b,B.dir=E?"increasing":"decreasing",B.x=B.pos,B.y=[z,O],A&&(B.orig_p=o[b]),_&&(B.tx=u.text[b]),k&&(B.htx=u.hovertext[b]),L.push(B)}else L.push({pos:R,empty:!0})}return u._extremes[c._id]=i.findExtremes(c,d.concat(y,w),{padded:!0}),L.length&&(L[0].t={labels:{open:g(a,"open:")+" ",high:g(a,"high:")+" ",low:g(a,"low:")+" ",close:g(a,"close:")+" "}}),L}T.exports={calc:function(a,u){var o=i.getFromId(a,u.xaxis),s=i.getFromId(a,u.yaxis),c=function(S,_,k){var E=k._minDiff;if(!E){var x,A=S._fullData,L=[];for(E=1/0,x=0;x"+_.labels[O]+d.hoverLabelText(y,z,S.yhoverformat):((I=g.extendFlat({},E)).y0=I.y1=F,I.yLabelVal=z,I.yLabel=_.labels[O]+d.hoverLabelText(y,z,S.yhoverformat),I.name="",k.push(I),b[z]=I)}return k}function o(s,c,h,m){var w=s.cd,y=s.ya,S=w[0].trace,_=w[0].t,k=a(s,c,h,m);if(!k)return[];var E=w[k.index],x=k.index=E.i,A=E.dir;function L(B){return _.labels[B]+d.hoverLabelText(y,S[B][x],S.yhoverformat)}var b=E.hi||S.hoverinfo,R=b.split("+"),I=b==="all",O=I||R.indexOf("y")!==-1,z=I||R.indexOf("text")!==-1,F=O?[L("open"),L("high"),L("low"),L("close")+" "+l[A]]:[];return z&&v(E,S,F),k.extraText=F.join("
"),k.y0=k.y1=y.c2p(E.yc,!0),[k]}T.exports={hoverPoints:function(s,c,h,m){return s.cd[0].trace.hoverlabel.split?u(s,c,h,m):o(s,c,h,m)},hoverSplit:u,hoverOnPoints:o}},54186:function(T,p,t){T.exports={moduleType:"trace",name:"ohlc",basePlotModule:t(93612),categories:["cartesian","svg","showLegend"],meta:{},attributes:t(2522),supplyDefaults:t(16169),calc:t(3485).calc,plot:t(72314),style:t(53101),hoverPoints:t(66449).hoverPoints,selectPoints:t(67324)}},14555:function(T,p,t){var d=t(73972),g=t(71828);T.exports=function(i,M,v,f){var l=v("x"),a=v("open"),u=v("high"),o=v("low"),s=v("close");if(v("hoverlabel.split"),d.getComponentMethod("calendars","handleTraceDefaults")(i,M,["x"],f),a&&u&&o&&s){var c=Math.min(a.length,u.length,o.length,s.length);return l&&(c=Math.min(c,g.minRowLength(l))),M._length=c,c}}},72314:function(T,p,t){var d=t(39898),g=t(71828);T.exports=function(i,M,v,f){var l=M.yaxis,a=M.xaxis,u=!!a.rangebreaks;g.makeTraceGroups(f,v,"trace ohlc").each(function(o){var s=d.select(this),c=o[0],h=c.t;if(c.trace.visible!==!0||h.empty)s.remove();else{var m=h.tickLen,w=s.selectAll("path").data(g.identity);w.enter().append("path"),w.exit().remove(),w.attr("d",function(y){if(y.empty)return"M0,0Z";var S=a.c2p(y.pos-m,!0),_=a.c2p(y.pos+m,!0),k=u?(S+_)/2:a.c2p(y.pos,!0);return"M"+S+","+l.c2p(y.o,!0)+"H"+k+"M"+k+","+l.c2p(y.h,!0)+"V"+l.c2p(y.l,!0)+"M"+_+","+l.c2p(y.c,!0)+"H"+k})}})}},67324:function(T){T.exports=function(p,t){var d,g=p.cd,i=p.xaxis,M=p.yaxis,v=[],f=g[0].t.bPos||0;if(t===!1)for(d=0;d=Z.length||X[Z[Q]]!==void 0)return!1;X[Z[Q]]=!0}return!0}(te))for(ne=0;ne0;y&&(m="array");var S=s("categoryorder",m);S==="array"?(s("categoryarray"),s("ticktext")):(delete u.categoryarray,delete u.ticktext),y||S!=="array"||(o.categoryorder="trace")}}T.exports=function(u,o,s,c){function h(_,k){return d.coerce(u,o,f,_,k)}var m=v(u,o,{name:"dimensions",handleItemDefaults:a}),w=function(_,k,E,x,A){A("line.shape"),A("line.hovertemplate");var L=A("line.color",x.colorway[0]);if(g(_,"line")&&d.isArrayOrTypedArray(L)){if(L.length)return A("line.colorscale"),i(_,k,x,A,{prefix:"line.",cLetter:"c"}),L.length;k.line.color=E}return 1/0}(u,o,s,c,h);M(o,c,h),Array.isArray(m)&&m.length||(o.visible=!1),l(o,m,"values",w),h("hoveron"),h("hovertemplate"),h("arrangement"),h("bundlecolors"),h("sortpaths"),h("counts");var y={family:c.font.family,size:Math.round(c.font.size),color:c.font.color};d.coerceFont(h,"labelfont",y);var S={family:c.font.family,size:Math.round(c.font.size/1.2),color:c.font.color};d.coerceFont(h,"tickfont",S)}},94873:function(T,p,t){T.exports={attributes:t(99506),supplyDefaults:t(14647),calc:t(28699),plot:t(45784),colorbar:{container:"line",min:"cmin",max:"cmax"},moduleType:"trace",name:"parcats",basePlotModule:t(27677),categories:["noOpacity"],meta:{}}},45460:function(T,p,t){var d=t(39898),g=t(81684).k4,i=t(72391),M=t(30211),v=t(71828),f=v.strTranslate,l=t(91424),a=t(84267),u=t(63893);function o(te,Z,X,Q){var re=Z._context.staticPlot,ie=te.map(U.bind(0,Z,X)),oe=Q.selectAll("g.parcatslayer").data([null]);oe.enter().append("g").attr("class","parcatslayer").style("pointer-events",re?"none":"all");var ue=oe.selectAll("g.trace.parcats").data(ie,s),ce=ue.enter().append("g").attr("class","trace parcats");ue.attr("transform",function(Se){return f(Se.x,Se.y)}),ce.append("g").attr("class","paths");var ye=ue.select("g.paths").selectAll("path.path").data(function(Se){return Se.paths},s);ye.attr("fill",function(Se){return Se.model.color});var de=ye.enter().append("path").attr("class","path").attr("stroke-opacity",0).attr("fill",function(Se){return Se.model.color}).attr("fill-opacity",0);k(de),ye.attr("d",function(Se){return Se.svgD}),de.empty()||ye.sort(h),ye.exit().remove(),ye.on("mouseover",m).on("mouseout",w).on("click",_),ce.append("g").attr("class","dimensions");var me=ue.select("g.dimensions").selectAll("g.dimension").data(function(Se){return Se.dimensions},s);me.enter().append("g").attr("class","dimension"),me.attr("transform",function(Se){return f(Se.x,0)}),me.exit().remove();var pe=me.selectAll("g.category").data(function(Se){return Se.categories},s),xe=pe.enter().append("g").attr("class","category");pe.attr("transform",function(Se){return f(0,Se.y)}),xe.append("rect").attr("class","catrect").attr("pointer-events","none"),pe.select("rect.catrect").attr("fill","none").attr("width",function(Se){return Se.width}).attr("height",function(Se){return Se.height}),x(xe);var Pe=pe.selectAll("rect.bandrect").data(function(Se){return Se.bands},s);Pe.each(function(){v.raiseToTop(this)}),Pe.attr("fill",function(Se){return Se.color});var _e=Pe.enter().append("rect").attr("class","bandrect").attr("stroke-opacity",0).attr("fill",function(Se){return Se.color}).attr("fill-opacity",0);Pe.attr("fill",function(Se){return Se.color}).attr("width",function(Se){return Se.width}).attr("height",function(Se){return Se.height}).attr("y",function(Se){return Se.y}).attr("cursor",function(Se){return Se.parcatsViewModel.arrangement==="fixed"?"default":Se.parcatsViewModel.arrangement==="perpendicular"?"ns-resize":"move"}),A(_e),Pe.exit().remove(),xe.append("text").attr("class","catlabel").attr("pointer-events","none");var Me=Z._fullLayout.paper_bgcolor;pe.select("text.catlabel").attr("text-anchor",function(Se){return c(Se)?"start":"end"}).attr("alignment-baseline","middle").style("text-shadow",u.makeTextShadow(Me)).style("fill","rgb(0, 0, 0)").attr("x",function(Se){return c(Se)?Se.width+5:-5}).attr("y",function(Se){return Se.height/2}).text(function(Se){return Se.model.categoryLabel}).each(function(Se){l.font(d.select(this),Se.parcatsViewModel.categorylabelfont),u.convertToTspans(d.select(this),Z)}),xe.append("text").attr("class","dimlabel"),pe.select("text.dimlabel").attr("text-anchor","middle").attr("alignment-baseline","baseline").attr("cursor",function(Se){return Se.parcatsViewModel.arrangement==="fixed"?"default":"ew-resize"}).attr("x",function(Se){return Se.width/2}).attr("y",-5).text(function(Se,Ce){return Ce===0?Se.parcatsViewModel.model.dimensions[Se.model.dimensionInd].dimensionLabel:null}).each(function(Se){l.font(d.select(this),Se.parcatsViewModel.labelfont)}),pe.selectAll("rect.bandrect").on("mouseover",O).on("mouseout",z),pe.exit().remove(),me.call(d.behavior.drag().origin(function(Se){return{x:Se.x,y:0}}).on("dragstart",F).on("drag",B).on("dragend",N)),ue.each(function(Se){Se.traceSelection=d.select(this),Se.pathSelection=d.select(this).selectAll("g.paths").selectAll("path.path"),Se.dimensionSelection=d.select(this).selectAll("g.dimensions").selectAll("g.dimension")}),ue.exit().remove()}function s(te){return te.key}function c(te){var Z=te.parcatsViewModel.dimensions.length,X=te.parcatsViewModel.dimensions[Z-1].model.dimensionInd;return te.model.dimensionInd===X}function h(te,Z){return te.model.rawColor>Z.model.rawColor?1:te.model.rawColor"),ke=d.mouse(ue)[0];M.loneHover({trace:ce,x:Pe-de.left+me.left,y:_e-de.top+me.top,text:be,color:te.model.color,borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontSize:10,fontColor:Me,idealAlign:ke1&&me.displayInd===de.dimensions.length-1?(Q=ce.left,re="left"):(Q=ce.left+ce.width,re="right");var Pe=ye.model.count,_e=ye.model.categoryLabel,Me=Pe/ye.parcatsViewModel.model.count,Se={countLabel:Pe,categoryLabel:_e,probabilityLabel:Me.toFixed(3)},Ce=[];ye.parcatsViewModel.hoverinfoItems.indexOf("count")!==-1&&Ce.push(["Count:",Se.countLabel].join(" ")),ye.parcatsViewModel.hoverinfoItems.indexOf("probability")!==-1&&Ce.push(["P("+Se.categoryLabel+"):",Se.probabilityLabel].join(" "));var ae=Ce.join("
");return{trace:pe,x:ie*(Q-Z.left),y:oe*(xe-Z.top),text:ae,color:"lightgray",borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontSize:12,fontColor:"black",idealAlign:re,hovertemplate:pe.hovertemplate,hovertemplateLabels:Se,eventData:[{data:pe._input,fullData:pe,count:Pe,category:_e,probability:Me}]}}function O(te){if(!te.parcatsViewModel.dragDimension&&te.parcatsViewModel.hoverinfoItems.indexOf("skip")===-1){if(d.mouse(this)[1]<-1)return;var Z,X=te.parcatsViewModel.graphDiv,Q=X._fullLayout,re=Q._paperdiv.node().getBoundingClientRect(),ie=te.parcatsViewModel.hoveron,oe=this;ie==="color"?(function(ue){var ce=d.select(ue).datum(),ye=L(ce);E(ye),ye.each(function(){v.raiseToTop(this)}),d.select(ue.parentNode).selectAll("rect.bandrect").filter(function(de){return de.color===ce.color}).each(function(){v.raiseToTop(this),d.select(this).attr("stroke","black").attr("stroke-width",1.5)})}(oe),R(oe,"plotly_hover",d.event)):(function(ue){d.select(ue.parentNode).selectAll("rect.bandrect").each(function(ce){var ye=L(ce);E(ye),ye.each(function(){v.raiseToTop(this)})}),d.select(ue.parentNode).select("rect.catrect").attr("stroke","black").attr("stroke-width",2.5)}(oe),b(oe,"plotly_hover",d.event)),te.parcatsViewModel.hoverinfoItems.indexOf("none")===-1&&(ie==="category"?Z=I(X,re,oe):ie==="color"?Z=function(ue,ce,ye){ue._fullLayout._calcInverseTransform(ue);var de,me,pe=ue._fullLayout._invScaleX,xe=ue._fullLayout._invScaleY,Pe=ye.getBoundingClientRect(),_e=d.select(ye).datum(),Me=_e.categoryViewModel,Se=Me.parcatsViewModel,Ce=Se.model.dimensions[Me.model.dimensionInd],ae=Se.trace,fe=Pe.y+Pe.height/2;Se.dimensions.length>1&&Ce.displayInd===Se.dimensions.length-1?(de=Pe.left,me="left"):(de=Pe.left+Pe.width,me="right");var be=Me.model.categoryLabel,ke=_e.parcatsViewModel.model.count,Le=0;_e.categoryViewModel.bands.forEach(function(st){st.color===_e.color&&(Le+=st.count)});var Be=Me.model.count,ze=0;Se.pathSelection.each(function(st){st.model.color===_e.color&&(ze+=st.model.count)});var je=Le/ke,ge=Le/ze,we=Le/Be,Ee={countLabel:ke,categoryLabel:be,probabilityLabel:je.toFixed(3)},Ve=[];Me.parcatsViewModel.hoverinfoItems.indexOf("count")!==-1&&Ve.push(["Count:",Ee.countLabel].join(" ")),Me.parcatsViewModel.hoverinfoItems.indexOf("probability")!==-1&&(Ve.push("P(color ∩ "+be+"): "+Ee.probabilityLabel),Ve.push("P("+be+" | color): "+ge.toFixed(3)),Ve.push("P(color | "+be+"): "+we.toFixed(3)));var $e=Ve.join("
"),Ye=a.mostReadable(_e.color,["black","white"]);return{trace:ae,x:pe*(de-ce.left),y:xe*(fe-ce.top),text:$e,color:_e.color,borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontColor:Ye,fontSize:10,idealAlign:me,hovertemplate:ae.hovertemplate,hovertemplateLabels:Ee,eventData:[{data:ae._input,fullData:ae,category:be,count:ke,probability:je,categorycount:Be,colorcount:ze,bandcolorcount:Le}]}}(X,re,oe):ie==="dimension"&&(Z=function(ue,ce,ye){var de=[];return d.select(ye.parentNode.parentNode).selectAll("g.category").select("rect.catrect").each(function(){de.push(I(ue,ce,this))}),de}(X,re,oe)),Z&&M.loneHover(Z,{container:Q._hoverlayer.node(),outerContainer:Q._paper.node(),gd:X}))}}function z(te){var Z=te.parcatsViewModel;Z.dragDimension||(k(Z.pathSelection),x(Z.dimensionSelection.selectAll("g.category")),A(Z.dimensionSelection.selectAll("g.category").selectAll("rect.bandrect")),M.loneUnhover(Z.graphDiv._fullLayout._hoverlayer.node()),Z.pathSelection.sort(h),Z.hoverinfoItems.indexOf("skip")!==-1)||(te.parcatsViewModel.hoveron==="color"?R(this,"plotly_unhover",d.event):b(this,"plotly_unhover",d.event))}function F(te){te.parcatsViewModel.arrangement!=="fixed"&&(te.dragDimensionDisplayInd=te.model.displayInd,te.initialDragDimensionDisplayInds=te.parcatsViewModel.model.dimensions.map(function(Z){return Z.displayInd}),te.dragHasMoved=!1,te.dragCategoryDisplayInd=null,d.select(this).selectAll("g.category").select("rect.catrect").each(function(Z){var X=d.mouse(this)[0],Q=d.mouse(this)[1];-2<=X&&X<=Z.width+2&&-2<=Q&&Q<=Z.height+2&&(te.dragCategoryDisplayInd=Z.model.displayInd,te.initialDragCategoryDisplayInds=te.model.categories.map(function(re){return re.displayInd}),Z.model.dragY=Z.y,v.raiseToTop(this.parentNode),d.select(this.parentNode).selectAll("rect.bandrect").each(function(re){re.yde.y+de.height/2&&(ie.model.displayInd=de.model.displayInd,de.model.displayInd=ue),te.dragCategoryDisplayInd=ie.model.displayInd}if(te.dragCategoryDisplayInd===null||te.parcatsViewModel.arrangement==="freeform"){re.model.dragX=d.event.x;var me=te.parcatsViewModel.dimensions[X],pe=te.parcatsViewModel.dimensions[Q];me!==void 0&&re.model.dragXpe.x&&(re.model.displayInd=pe.model.displayInd,pe.model.displayInd=te.dragDimensionDisplayInd),te.dragDimensionDisplayInd=re.model.displayInd}H(te.parcatsViewModel),q(te.parcatsViewModel),$(te.parcatsViewModel),j(te.parcatsViewModel)}}function N(te){if(te.parcatsViewModel.arrangement!=="fixed"&&te.dragDimensionDisplayInd!==null){d.select(this).selectAll("text").attr("font-weight","normal");var Z={},X=W(te.parcatsViewModel),Q=te.parcatsViewModel.model.dimensions.map(function(de){return de.displayInd}),re=te.initialDragDimensionDisplayInds.some(function(de,me){return de!==Q[me]});re&&Q.forEach(function(de,me){var pe=te.parcatsViewModel.model.dimensions[me].containerInd;Z["dimensions["+pe+"].displayindex"]=de});var ie=!1;if(te.dragCategoryDisplayInd!==null){var oe=te.model.categories.map(function(de){return de.displayInd});if(ie=te.initialDragCategoryDisplayInds.some(function(de,me){return de!==oe[me]})){var ue=te.model.categories.slice().sort(function(de,me){return de.displayInd-me.displayInd}),ce=ue.map(function(de){return de.categoryValue}),ye=ue.map(function(de){return de.categoryLabel});Z["dimensions["+te.model.containerInd+"].categoryarray"]=[ce],Z["dimensions["+te.model.containerInd+"].ticktext"]=[ye],Z["dimensions["+te.model.containerInd+"].categoryorder"]="array"}}te.parcatsViewModel.hoverinfoItems.indexOf("skip")===-1&&!te.dragHasMoved&&te.potentialClickBand&&(te.parcatsViewModel.hoveron==="color"?R(te.potentialClickBand,"plotly_click",d.event.sourceEvent):b(te.potentialClickBand,"plotly_click",d.event.sourceEvent)),te.model.dragX=null,te.dragCategoryDisplayInd!==null&&(te.parcatsViewModel.dimensions[te.dragDimensionDisplayInd].categories[te.dragCategoryDisplayInd].model.dragY=null,te.dragCategoryDisplayInd=null),te.dragDimensionDisplayInd=null,te.parcatsViewModel.dragDimension=null,te.dragHasMoved=null,te.potentialClickBand=null,H(te.parcatsViewModel),q(te.parcatsViewModel),d.transition().duration(300).ease("cubic-in-out").each(function(){$(te.parcatsViewModel,!0),j(te.parcatsViewModel,!0)}).each("end",function(){(re||ie)&&i.restyle(te.parcatsViewModel.graphDiv,Z,[X])})}}function W(te){for(var Z,X=te.graphDiv._fullData,Q=0;Q=0;oe--)ye+="C"+ce[oe]+","+(Z[oe+1]+Q)+" "+ue[oe]+","+(Z[oe]+Q)+" "+(te[oe]+X[oe])+","+(Z[oe]+Q),ye+="l-"+X[oe]+",0 ";return ye+"Z"}function q(te){var Z=te.dimensions,X=te.model,Q=Z.map(function(Ee){return Ee.categories.map(function(Ve){return Ve.y})}),re=te.model.dimensions.map(function(Ee){return Ee.categories.map(function(Ve){return Ve.displayInd})}),ie=te.model.dimensions.map(function(Ee){return Ee.displayInd}),oe=te.dimensions.map(function(Ee){return Ee.model.dimensionInd}),ue=Z.map(function(Ee){return Ee.x}),ce=Z.map(function(Ee){return Ee.width}),ye=[];for(var de in X.paths)X.paths.hasOwnProperty(de)&&ye.push(X.paths[de]);function me(Ee){var Ve=Ee.categoryInds.map(function($e,Ye){return re[Ye][$e]});return oe.map(function($e){return Ve[$e]})}ye.sort(function(Ee,Ve){var $e=me(Ee),Ye=me(Ve);return te.sortpaths==="backward"&&($e.reverse(),Ye.reverse()),$e.push(Ee.valueInds[0]),Ye.push(Ve.valueInds[0]),te.bundlecolors&&($e.unshift(Ee.rawColor),Ye.unshift(Ve.rawColor)),$eYe?1:0});for(var pe=new Array(ye.length),xe=Z[0].model.count,Pe=Z[0].categories.map(function(Ee){return Ee.height}).reduce(function(Ee,Ve){return Ee+Ve}),_e=0;_e0?Pe*(Se.count/xe):0;for(var Ce,ae=new Array(Q.length),fe=0;fe1?(te.width-80-16)/(Q-1):0)*re;var ie,oe,ue,ce,ye,de=[],me=te.model.maxCats,pe=Z.categories.length,xe=Z.count,Pe=te.height-8*(me-1),_e=8*(me-pe)/2,Me=Z.categories.map(function(Se){return{displayInd:Se.displayInd,categoryInd:Se.categoryInd}});for(Me.sort(function(Se,Ce){return Se.displayInd-Ce.displayInd}),ye=0;ye0?oe.count/xe*Pe:0,ue={key:oe.valueInds[0],model:oe,width:16,height:ie,y:oe.dragY!==null?oe.dragY:_e,bands:[],parcatsViewModel:te},_e=_e+ie+8,de.push(ue);return{key:Z.dimensionInd,x:Z.dragX!==null?Z.dragX:X,y:0,width:16,model:Z,categories:de,parcatsViewModel:te,dragCategoryDisplayInd:null,dragDimensionDisplayInd:null,initialDragDimensionDisplayInds:null,initialDragCategoryDisplayInds:null,dragHasMoved:null,potentialClickBand:null}}T.exports=function(te,Z,X,Q){o(X,te,Q,Z)}},45784:function(T,p,t){var d=t(45460);T.exports=function(g,i,M,v){var f=g._fullLayout,l=f._paper,a=f._size;d(g,l,i,{width:a.w,height:a.h,margin:{t:a.t,r:a.r,b:a.b,l:a.l}},M,v)}},73362:function(T,p,t){var d=t(50693),g=t(13838),i=t(41940),M=t(27670).Y,v=t(1426).extendFlat,f=t(44467).templatedArray;T.exports={domain:M({name:"parcoords",trace:!0,editType:"plot"}),labelangle:{valType:"angle",dflt:0,editType:"plot"},labelside:{valType:"enumerated",values:["top","bottom"],dflt:"top",editType:"plot"},labelfont:i({editType:"plot"}),tickfont:i({editType:"plot"}),rangefont:i({editType:"plot"}),dimensions:f("dimension",{label:{valType:"string",editType:"plot"},tickvals:v({},g.tickvals,{editType:"plot"}),ticktext:v({},g.ticktext,{editType:"plot"}),tickformat:v({},g.tickformat,{editType:"plot"}),visible:{valType:"boolean",dflt:!0,editType:"plot"},range:{valType:"info_array",items:[{valType:"number",editType:"plot"},{valType:"number",editType:"plot"}],editType:"plot"},constraintrange:{valType:"info_array",freeLength:!0,dimensions:"1-2",items:[{valType:"any",editType:"plot"},{valType:"any",editType:"plot"}],editType:"plot"},multiselect:{valType:"boolean",dflt:!0,editType:"plot"},values:{valType:"data_array",editType:"calc"},editType:"calc"}),line:v({editType:"calc"},d("line",{colorscaleDflt:"Viridis",autoColorDflt:!1,editTypeOverride:"calc"})),unselected:{line:{color:{valType:"color",dflt:"#7f7f7f",editType:"plot"},opacity:{valType:"number",min:0,max:1,dflt:"auto",editType:"plot"},editType:"plot"},editType:"plot"}}},57920:function(T,p,t){var d=t(25706),g=t(39898),i=t(28984).keyFun,M=t(28984).repeat,v=t(71828).sorterAsc,f=t(71828).strTranslate,l=d.bar.snapRatio;function a(I,O){return I*(1-l)+O*l}var u=d.bar.snapClose;function o(I,O){return I*(1-u)+O*u}function s(I,O,z,F){if(function(ne,te){for(var Z=0;Z=te[Z][0]&&ne<=te[Z][1])return!0;return!1}(z,F))return z;var B=I?-1:1,N=0,W=O.length-1;if(B<0){var j=N;N=W,W=j}for(var $=O[N],U=$,G=N;B*GO){q=z;break}}if(B=U,isNaN(B)&&(B=isNaN(G)||isNaN(q)?isNaN(G)?q:G:O-$[G][1]<$[q][0]-O?G:q),!isNaN(B)){var ne=$[B],te=function(re,ie){var oe=d.bar.handleHeight;if(!(ie>re[1]+oe||ie=.9*re[1]+.1*re[0]?"n":ie<=.9*re[0]+.1*re[1]?"s":"ns"}(ne,O);te&&(N.interval=j[B],N.intervalPix=ne,N.region=te)}}if(I.ordinal&&!N.region){var Z=I.unitTickvals,X=I.unitToPaddedPx.invert(O);for(z=0;z=Q[0]&&X<=Q[1]){N.clickableOrdinalRange=Q;break}}}return N}function E(I,O){g.event.sourceEvent.stopPropagation();var z=O.height-g.mouse(I)[1]-2*d.verticalPadding,F=O.brush.svgBrush;F.wasDragged=!0,F._dragging=!0,F.grabbingBar?F.newExtent=[z-F.grabPoint,z+F.barLength-F.grabPoint].map(O.unitToPaddedPx.invert):F.newExtent=[F.startExtent,O.unitToPaddedPx.invert(z)].sort(v),O.brush.filterSpecified=!0,F.extent=F.stayingIntervals.concat([F.newExtent]),F.brushCallback(O),_(I.parentNode)}function x(I,O){var z=k(O,O.height-g.mouse(I)[1]-2*d.verticalPadding),F="crosshair";z.clickableOrdinalRange?F="pointer":z.region&&(F=z.region+"-resize"),g.select(document.body).style("cursor",F)}function A(I){I.on("mousemove",function(O){g.event.preventDefault(),O.parent.inBrushDrag||x(this,O)}).on("mouseleave",function(O){O.parent.inBrushDrag||y()}).call(g.behavior.drag().on("dragstart",function(O){(function(z,F){g.event.sourceEvent.stopPropagation();var B=F.height-g.mouse(z)[1]-2*d.verticalPadding,N=F.unitToPaddedPx.invert(B),W=F.brush,j=k(F,B),$=j.interval,U=W.svgBrush;if(U.wasDragged=!1,U.grabbingBar=j.region==="ns",U.grabbingBar){var G=$.map(F.unitToPaddedPx);U.grabPoint=B-G[0]-d.verticalPadding,U.barLength=G[1]-G[0]}U.clickableOrdinalRange=j.clickableOrdinalRange,U.stayingIntervals=F.multiselect&&W.filterSpecified?W.filter.getConsolidated():[],$&&(U.stayingIntervals=U.stayingIntervals.filter(function(q){return q[0]!==$[0]&&q[1]!==$[1]})),U.startExtent=j.region?$[j.region==="s"?1:0]:N,F.parent.inBrushDrag=!0,U.brushStartCallback()})(this,O)}).on("drag",function(O){E(this,O)}).on("dragend",function(O){(function(z,F){var B=F.brush,N=B.filter,W=B.svgBrush;W._dragging||(x(z,F),E(z,F),F.brush.svgBrush.wasDragged=!1),W._dragging=!1,g.event.sourceEvent.stopPropagation();var j=W.grabbingBar;if(W.grabbingBar=!1,W.grabLocation=void 0,F.parent.inBrushDrag=!1,y(),!W.wasDragged)return W.wasDragged=void 0,W.clickableOrdinalRange?B.filterSpecified&&F.multiselect?W.extent.push(W.clickableOrdinalRange):(W.extent=[W.clickableOrdinalRange],B.filterSpecified=!0):j?(W.extent=W.stayingIntervals,W.extent.length===0&&b(B)):b(B),W.brushCallback(F),_(z.parentNode),void W.brushEndCallback(B.filterSpecified?N.getConsolidated():[]);var $=function(){N.set(N.getConsolidated())};if(F.ordinal){var U=F.unitTickvals;U[U.length-1]W.newExtent[0];W.extent=W.stayingIntervals.concat(G?[W.newExtent]:[]),W.extent.length||b(B),W.brushCallback(F),G?_(z.parentNode,$):($(),_(z.parentNode))}else $();W.brushEndCallback(B.filterSpecified?N.getConsolidated():[])})(this,O)}))}function L(I,O){return I[0]-O[0]}function b(I){I.filterSpecified=!1,I.svgBrush.extent=[[-1/0,1/0]]}function R(I){for(var O,z=I.slice(),F=[],B=z.shift();B;){for(O=B.slice();(B=z.shift())&&B[0]<=O[1];)O[1]=Math.max(O[1],B[1]);F.push(O)}return F.length===1&&F[0][0]>F[0][1]&&(F=[]),F}T.exports={makeBrush:function(I,O,z,F,B,N){var W,j=function(){var $,U,G=[];return{set:function(q){(G=q.map(function(H){return H.slice().sort(v)}).sort(L)).length===1&&G[0][0]===-1/0&&G[0][1]===1/0&&(G=[[0,-1]]),$=R(G),U=G.reduce(function(H,ne){return[Math.min(H[0],ne[0]),Math.max(H[1],ne[1])]},[1/0,-1/0])},get:function(){return G.slice()},getConsolidated:function(){return $},getBounds:function(){return U}}}();return j.set(z),{filter:j,filterSpecified:O,svgBrush:{extent:[],brushStartCallback:F,brushCallback:(W=B,function($){var U=$.brush,G=function(H){return H.svgBrush.extent.map(function(ne){return ne.slice()})}(U),q=G.slice();U.filter.set(q),W()}),brushEndCallback:N}}},ensureAxisBrush:function(I,O,z){var F=I.selectAll("."+d.cn.axisBrush).data(M,i);F.enter().append("g").classed(d.cn.axisBrush,!0),function(B,N,W){var j=W._context.staticPlot,$=B.selectAll(".background").data(M);$.enter().append("rect").classed("background",!0).call(c).call(h).style("pointer-events",j?"none":"auto").attr("transform",f(0,d.verticalPadding)),$.call(A).attr("height",function(q){return q.height-d.verticalPadding});var U=B.selectAll(".highlight-shadow").data(M);U.enter().append("line").classed("highlight-shadow",!0).attr("x",-d.bar.width/2).attr("stroke-width",d.bar.width+d.bar.strokeWidth).attr("stroke",N).attr("opacity",d.bar.strokeOpacity).attr("stroke-linecap","butt"),U.attr("y1",function(q){return q.height}).call(S);var G=B.selectAll(".highlight").data(M);G.enter().append("line").classed("highlight",!0).attr("x",-d.bar.width/2).attr("stroke-width",d.bar.width-d.bar.strokeWidth).attr("stroke",d.bar.fillColor).attr("opacity",d.bar.fillOpacity).attr("stroke-linecap","butt"),G.attr("y1",function(q){return q.height}).call(S)}(F,O,z)},cleanRanges:function(I,O){if(Array.isArray(I[0])?(I=I.map(function(F){return F.sort(v)}),I=O.multiselect?R(I.sort(L)):[I[0]]):I=[I.sort(v)],O.tickvals){var z=O.tickvals.slice().sort(v);if(!(I=I.map(function(F){var B=[s(0,z,F[0],[]),s(1,z,F[1],[])];if(B[1]>B[0])return B}).filter(function(F){return F})).length)return}return I.length>1?I:I[0]}}},71791:function(T,p,t){T.exports={attributes:t(73362),supplyDefaults:t(3633),calc:t(24639),colorbar:{container:"line",min:"cmin",max:"cmax"},moduleType:"trace",name:"parcoords",basePlotModule:t(49351),categories:["gl","regl","noOpacity","noHover"],meta:{}}},49351:function(T,p,t){var d=t(39898),g=t(27659).a0,i=t(21341),M=t(77922);p.name="parcoords",p.plot=function(v){var f=g(v.calcdata,"parcoords")[0];f.length&&i(v,f)},p.clean=function(v,f,l,a){var u=a._has&&a._has("parcoords"),o=f._has&&f._has("parcoords");u&&!o&&(a._paperdiv.selectAll(".parcoords").remove(),a._glimages.selectAll("*").remove())},p.toSVG=function(v){var f=v._fullLayout._glimages,l=d.select(v).selectAll(".svg-container");l.filter(function(a,u){return u===l.size()-1}).selectAll(".gl-canvas-context, .gl-canvas-focus").each(function(){var a=this,u=a.toDataURL("image/png");f.append("svg:image").attr({xmlns:M.svg,"xlink:href":u,preserveAspectRatio:"none",x:0,y:0,width:a.style.width,height:a.style.height})}),window.setTimeout(function(){d.selectAll("#filterBarPattern").attr("id","filterBarPattern")},60)}},24639:function(T,p,t){var d=t(71828).isArrayOrTypedArray,g=t(21081),i=t(28984).wrap;T.exports=function(M,v){var f,l;return g.hasColorscale(v,"line")&&d(v.line.color)?(f=v.line.color,l=g.extractOpts(v.line).colorscale,g.calc(M,v,{vals:f,containerStr:"line",cLetter:"c"})):(f=function(a){for(var u=new Array(a),o=0;ou&&(d.log("parcoords traces support up to "+u+" dimensions at the moment"),S.splice(u));var _=v(c,h,{name:"dimensions",layout:w,handleItemDefaults:s}),k=function(x,A,L,b,R){var I=R("line.color",L);if(g(x,"line")&&d.isArrayOrTypedArray(I)){if(I.length)return R("line.colorscale"),i(x,A,b,R,{prefix:"line.",cLetter:"c"}),I.length;A.line.color=L}return 1/0}(c,h,m,w,y);M(h,w,y),Array.isArray(_)&&_.length||(h.visible=!1),o(h,_,"values",k);var E={family:w.font.family,size:Math.round(w.font.size/1.2),color:w.font.color};d.coerceFont(y,"labelfont",E),d.coerceFont(y,"tickfont",E),d.coerceFont(y,"rangefont",E),y("labelangle"),y("labelside"),y("unselected.line.color"),y("unselected.line.opacity")}},1602:function(T,p,t){var d=t(71828).isTypedArray;p.convertTypedArray=function(g){return d(g)?Array.prototype.slice.call(g):g},p.isOrdinal=function(g){return!!g.tickvals},p.isVisible=function(g){return g.visible||!("visible"in g)}},67618:function(T,p,t){var d=t(71791);d.plot=t(21341),T.exports=d},83398:function(T,p,t){var d=t(56068),g=d([`precision highp float; ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js -#define GLSLIFY 1 - -varying vec4 fragColor; - -attribute vec4 p01_04, p05_08, p09_12, p13_16, - p17_20, p21_24, p25_28, p29_32, - p33_36, p37_40, p41_44, p45_48, - p49_52, p53_56, p57_60, colors; - -uniform mat4 dim0A, dim1A, dim0B, dim1B, dim0C, dim1C, dim0D, dim1D, - loA, hiA, loB, hiB, loC, hiC, loD, hiD; - -uniform vec2 resolution, viewBoxPos, viewBoxSize; -uniform float maskHeight; -uniform float drwLayer; // 0: context, 1: focus, 2: pick -uniform vec4 contextColor; -uniform sampler2D maskTexture, palette; - -bool isPick = (drwLayer > 1.5); -bool isContext = (drwLayer < 0.5); - -const vec4 ZEROS = vec4(0.0, 0.0, 0.0, 0.0); -const vec4 UNITS = vec4(1.0, 1.0, 1.0, 1.0); - -float val(mat4 p, mat4 v) { - return dot(matrixCompMult(p, v) * UNITS, UNITS); -} - -float axisY(float ratio, mat4 A, mat4 B, mat4 C, mat4 D) { - float y1 = val(A, dim0A) + val(B, dim0B) + val(C, dim0C) + val(D, dim0D); - float y2 = val(A, dim1A) + val(B, dim1B) + val(C, dim1C) + val(D, dim1D); - return y1 * (1.0 - ratio) + y2 * ratio; -} - -int iMod(int a, int b) { - return a - b * (a / b); -} - -bool fOutside(float p, float lo, float hi) { - return (lo < hi) && (lo > p || p > hi); -} - -bool vOutside(vec4 p, vec4 lo, vec4 hi) { - return ( - fOutside(p[0], lo[0], hi[0]) || - fOutside(p[1], lo[1], hi[1]) || - fOutside(p[2], lo[2], hi[2]) || - fOutside(p[3], lo[3], hi[3]) - ); -} - -bool mOutside(mat4 p, mat4 lo, mat4 hi) { - return ( - vOutside(p[0], lo[0], hi[0]) || - vOutside(p[1], lo[1], hi[1]) || - vOutside(p[2], lo[2], hi[2]) || - vOutside(p[3], lo[3], hi[3]) - ); -} - -bool outsideBoundingBox(mat4 A, mat4 B, mat4 C, mat4 D) { - return mOutside(A, loA, hiA) || - mOutside(B, loB, hiB) || - mOutside(C, loC, hiC) || - mOutside(D, loD, hiD); -} - -bool outsideRasterMask(mat4 A, mat4 B, mat4 C, mat4 D) { - mat4 pnts[4]; - pnts[0] = A; - pnts[1] = B; - pnts[2] = C; - pnts[3] = D; - - for(int i = 0; i < 4; ++i) { - for(int j = 0; j < 4; ++j) { - for(int k = 0; k < 4; ++k) { - if(0 == iMod( - int(255.0 * texture2D(maskTexture, - vec2( - (float(i * 2 + j / 2) + 0.5) / 8.0, - (pnts[i][j][k] * (maskHeight - 1.0) + 1.0) / maskHeight - ))[3] - ) / int(pow(2.0, float(iMod(j * 4 + k, 8)))), - 2 - )) return true; - } - } - } - return false; -} - -vec4 position(bool isContext, float v, mat4 A, mat4 B, mat4 C, mat4 D) { - float x = 0.5 * sign(v) + 0.5; - float y = axisY(x, A, B, C, D); - float z = 1.0 - abs(v); - - z += isContext ? 0.0 : 2.0 * float( - outsideBoundingBox(A, B, C, D) || - outsideRasterMask(A, B, C, D) - ); - - return vec4( - 2.0 * (vec2(x, y) * viewBoxSize + viewBoxPos) / resolution - 1.0, - z, - 1.0 - ); -} - -void main() { - mat4 A = mat4(p01_04, p05_08, p09_12, p13_16); - mat4 B = mat4(p17_20, p21_24, p25_28, p29_32); - mat4 C = mat4(p33_36, p37_40, p41_44, p45_48); - mat4 D = mat4(p49_52, p53_56, p57_60, ZEROS); - - float v = colors[3]; - - gl_Position = position(isContext, v, A, B, C, D); - - fragColor = - isContext ? vec4(contextColor) : - isPick ? vec4(colors.rgb, 1.0) : texture2D(palette, vec2(abs(v), 0.5)); -} -`]),i=d([`precision highp float; -#define GLSLIFY 1 - -varying vec4 fragColor; - -void main() { - gl_FragColor = fragColor; -} -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js -`]),M=t(25706).maxDimensionCount,v=t(71828),f=new Uint8Array(4),l=new Uint8Array(4),a={shape:[256,1],format:"rgba",type:"uint8",mag:"nearest",min:"nearest"};function u(_,k,E,x,A){var L=_._gl;L.enable(L.SCISSOR_TEST),L.scissor(k,E,x,A),_.clear({color:[0,0,0,0],depth:1})}function o(_,k,E,x,A,L){var b=L.key;E.drawCompleted||(function(R){R.read({x:0,y:0,width:1,height:1,data:f})}(_),E.drawCompleted=!0),function R(I){var O=Math.min(x,A-I*x);I===0&&(window.cancelAnimationFrame(E.currentRafs[b]),delete E.currentRafs[b],u(_,L.scissorX,L.scissorY,L.scissorWidth,L.viewBoxSize[1])),E.clearOnly||(L.count=2*O,L.offset=2*I*x,k(L),I*x+O>>8*k)%256/255}function c(_,k,E){for(var x=new Array(8*k),A=0,L=0;Lie&&(ie=q[te].dim1.canvasX,X=te);Q===0&&u(O,0,0,E.canvasWidth,E.canvasHeight);var oe=function(Me){var Se,Ce,ae,fe=[[],[]];for(ae=0;ae<64;ae++){var be=!Me&&aeoe._length&&(Pe=Pe.slice(0,oe._length));var _e,Me=oe.tickvals;function Se(ke,Le){return{val:ke,text:_e[Le]}}function Ce(ke,Le){return ke.val-Le.val}if(Array.isArray(Me)&&Me.length){_e=oe.ticktext,Array.isArray(_e)&&_e.length?_e.length>Me.length?_e=_e.slice(0,Me.length):Me.length>_e.length&&(Me=Me.slice(0,_e.length)):_e=Me.map(i(oe.tickformat));for(var ae=1;ae=Be||we>=ze)return;var Ee=ke.lineLayer.readPixel(ge,ze-1-we),Ve=Ee[3]!==0,$e=Ve?Ee[2]+256*(Ee[1]+256*Ee[0]):null,Ye={x:ge,y:we,clientX:Le.clientX,clientY:Le.clientY,dataIndex:ke.model.key,curveNumber:$e};$e!==ye&&(Ve?q.hover(Ye):q.unhover&&q.unhover(Ye),ye=$e)}}),ce.style("opacity",function(ke){return ke.pick?0:1}),te.style("background","rgba(255, 255, 255, 0)");var de=te.selectAll("."+y.cn.parcoords).data(ue,h);de.exit().remove(),de.enter().append("g").classed(y.cn.parcoords,!0).style("shape-rendering","crispEdges").style("pointer-events","none"),de.attr("transform",function(ke){return l(ke.model.translateX,ke.model.translateY)});var me=de.selectAll("."+y.cn.parcoordsControlView).data(c,h);me.enter().append("g").classed(y.cn.parcoordsControlView,!0),me.attr("transform",function(ke){return l(ke.model.pad.l,ke.model.pad.t)});var pe=me.selectAll("."+y.cn.yAxis).data(function(ke){return ke.dimensions},h);pe.enter().append("g").classed(y.cn.yAxis,!0),me.each(function(ke){N(pe,ke,X)}),ce.each(function(ke){if(ke.viewModel){!ke.lineLayer||q?ke.lineLayer=_(this,ke):ke.lineLayer.update(ke),(ke.key||ke.key===0)&&(ke.viewModel[ke.key]=ke.lineLayer);var Le=!ke.context||q;ke.lineLayer.render(ke.viewModel.panels,Le)}}),pe.attr("transform",function(ke){return l(ke.xScale(ke.xIndex),0)}),pe.call(d.behavior.drag().origin(function(ke){return ke}).on("drag",function(ke){var Le=ke.parent;oe.linePickActive(!1),ke.x=Math.max(-y.overdrag,Math.min(ke.model.width+y.overdrag,d.event.x)),ke.canvasX=ke.x*ke.model.canvasPixelRatio,pe.sort(function(Be,ze){return Be.x-ze.x}).each(function(Be,ze){Be.xIndex=ze,Be.x=ke===Be?Be.x:Be.xScale(Be.xIndex),Be.canvasX=Be.x*Be.model.canvasPixelRatio}),N(pe,Le,X),pe.filter(function(Be){return Math.abs(ke.xIndex-Be.xIndex)!==0}).attr("transform",function(Be){return l(Be.xScale(Be.xIndex),0)}),d.select(this).attr("transform",l(ke.x,0)),pe.each(function(Be,ze,je){je===ke.parent.key&&(Le.dimensions[ze]=Be)}),Le.contextLayer&&Le.contextLayer.render(Le.panels,!1,!I(Le)),Le.focusLayer.render&&Le.focusLayer.render(Le.panels)}).on("dragend",function(ke){var Le=ke.parent;ke.x=ke.xScale(ke.xIndex),ke.canvasX=ke.x*ke.model.canvasPixelRatio,N(pe,Le,X),d.select(this).attr("transform",function(Be){return l(Be.x,0)}),Le.contextLayer&&Le.contextLayer.render(Le.panels,!1,!I(Le)),Le.focusLayer&&Le.focusLayer.render(Le.panels),Le.pickLayer&&Le.pickLayer.render(Le.panels,!0),oe.linePickActive(!0),q&&q.axesMoved&&q.axesMoved(Le.key,Le.dimensions.map(function(Be){return Be.crossfilterDimensionIndex}))})),pe.exit().remove();var xe=pe.selectAll("."+y.cn.axisOverlays).data(c,h);xe.enter().append("g").classed(y.cn.axisOverlays,!0),xe.selectAll("."+y.cn.axis).remove();var Pe=xe.selectAll("."+y.cn.axis).data(c,h);Pe.enter().append("g").classed(y.cn.axis,!0),Pe.each(function(ke){var Le=ke.model.height/ke.model.tickDistance,Be=ke.domainScale,ze=Be.domain();d.select(this).call(d.svg.axis().orient("left").tickSize(4).outerTickSize(2).ticks(Le,ke.tickFormat).tickValues(ke.ordinal?ze:null).tickFormat(function(je){return w.isOrdinal(ke)?je:W(ke.model.dimensions[ke.visibleIndex],je)}).scale(Be)),u.font(Pe.selectAll("text"),ke.model.tickFont)}),Pe.selectAll(".domain, .tick>line").attr("fill","none").attr("stroke","black").attr("stroke-opacity",.25).attr("stroke-width","1px"),Pe.selectAll("text").style("text-shadow",a.makeTextShadow(Q)).style("cursor","default");var _e=xe.selectAll("."+y.cn.axisHeading).data(c,h);_e.enter().append("g").classed(y.cn.axisHeading,!0);var Me=_e.selectAll("."+y.cn.axisTitle).data(c,h);Me.enter().append("text").classed(y.cn.axisTitle,!0).attr("text-anchor","middle").style("cursor","ew-resize").style("pointer-events",H?"none":"auto"),Me.text(function(ke){return ke.label}).each(function(ke){var Le=d.select(this);u.font(Le,ke.model.labelFont),a.convertToTspans(Le,$)}).attr("transform",function(ke){var Le=B(ke.model.labelAngle,ke.model.labelSide),Be=y.axisTitleOffset;return(Le.dir>0?"":l(0,2*Be+ke.model.height))+f(Le.degrees)+l(-Be*Le.dx,-Be*Le.dy)}).attr("text-anchor",function(ke){var Le=B(ke.model.labelAngle,ke.model.labelSide);return 2*Math.abs(Le.dx)>Math.abs(Le.dy)?Le.dir*Le.dx<0?"start":"end":"middle"});var Se=xe.selectAll("."+y.cn.axisExtent).data(c,h);Se.enter().append("g").classed(y.cn.axisExtent,!0);var Ce=Se.selectAll("."+y.cn.axisExtentTop).data(c,h);Ce.enter().append("g").classed(y.cn.axisExtentTop,!0),Ce.attr("transform",l(0,-y.axisExtentOffset));var ae=Ce.selectAll("."+y.cn.axisExtentTopText).data(c,h);ae.enter().append("text").classed(y.cn.axisExtentTopText,!0).call(F),ae.text(function(ke){return j(ke,!0)}).each(function(ke){u.font(d.select(this),ke.model.rangeFont)});var fe=Se.selectAll("."+y.cn.axisExtentBottom).data(c,h);fe.enter().append("g").classed(y.cn.axisExtentBottom,!0),fe.attr("transform",function(ke){return l(0,ke.model.height+y.axisExtentOffset)});var be=fe.selectAll("."+y.cn.axisExtentBottomText).data(c,h);be.enter().append("text").classed(y.cn.axisExtentBottomText,!0).attr("dy","0.75em").call(F),be.text(function(ke){return j(ke,!1)}).each(function(ke){u.font(d.select(this),ke.model.rangeFont)}),C.ensureAxisBrush(xe,Q,$)}},21341:function(T,p,t){var d=t(17171),g=t(79749),i=t(1602).isVisible,M={};function v(f,l,a){var u=l.indexOf(a),o=f.indexOf(u);return o===-1&&(o+=l.length),o}(T.exports=function(f,l){var a=f._fullLayout;if(g(f,[],M)){var u={},o={},s={},h={},c=a._size;l.forEach(function(m,w){var y=m[0].trace;s[w]=y.index;var C=h[w]=y._fullInput.index;u[w]=f.data[C].dimensions,o[w]=f.data[C].dimensions.slice()}),d(f,l,{width:c.w,height:c.h,margin:{t:c.t,r:c.r,b:c.b,l:c.l}},{filterChanged:function(m,w,y){var C=o[m][w],_=y.map(function(b){return b.slice()}),k="dimensions["+w+"].constraintrange",E=a._tracePreGUI[f._fullData[s[m]]._fullInput.uid];if(E[k]===void 0){var x=C.constraintrange;E[k]=x||null}var A=f._fullData[s[m]].dimensions[w];_.length?(_.length===1&&(_=_[0]),C.constraintrange=_,A.constraintrange=_.slice(),_=[_]):(delete C.constraintrange,delete A.constraintrange,_=null);var L={};L[k]=_,f.emit("plotly_restyle",[L,[h[m]]])},hover:function(m){f.emit("plotly_hover",m)},unhover:function(m){f.emit("plotly_unhover",m)},axesMoved:function(m,w){var y=function(C,_){return function(k,E){return v(C,_,k)-v(C,_,E)}}(w,o[m].filter(i));u[m].sort(y),o[m].filter(function(C){return!i(C)}).sort(function(C){return o[m].indexOf(C)}).forEach(function(C){u[m].splice(u[m].indexOf(C),1),u[m].splice(o[m].indexOf(C),0,C)}),f.emit("plotly_restyle",[{dimensions:[u[m]]},[h[m]]])}})}}).reglPrecompiled=M},34e3:function(T,p,t){var d=t(9012),g=t(27670).Y,i=t(41940),M=t(22399),v=t(5386).fF,f=t(5386).si,l=t(1426).extendFlat,a=i({editType:"plot",arrayOk:!0,colorEditType:"plot"});T.exports={labels:{valType:"data_array",editType:"calc"},label0:{valType:"number",dflt:0,editType:"calc"},dlabel:{valType:"number",dflt:1,editType:"calc"},values:{valType:"data_array",editType:"calc"},marker:{colors:{valType:"data_array",editType:"calc"},line:{color:{valType:"color",dflt:M.defaultLine,arrayOk:!0,editType:"style"},width:{valType:"number",min:0,dflt:0,arrayOk:!0,editType:"style"},editType:"calc"},editType:"calc"},text:{valType:"data_array",editType:"plot"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"style"},scalegroup:{valType:"string",dflt:"",editType:"calc"},textinfo:{valType:"flaglist",flags:["label","text","value","percent"],extras:["none"],editType:"calc"},hoverinfo:l({},d.hoverinfo,{flags:["label","text","value","percent","name"]}),hovertemplate:v({},{keys:["label","color","value","percent","text"]}),texttemplate:f({editType:"plot"},{keys:["label","color","value","percent","text"]}),textposition:{valType:"enumerated",values:["inside","outside","auto","none"],dflt:"auto",arrayOk:!0,editType:"plot"},textfont:l({},a,{}),insidetextorientation:{valType:"enumerated",values:["horizontal","radial","tangential","auto"],dflt:"auto",editType:"plot"},insidetextfont:l({},a,{}),outsidetextfont:l({},a,{}),automargin:{valType:"boolean",dflt:!1,editType:"plot"},title:{text:{valType:"string",dflt:"",editType:"plot"},font:l({},a,{}),position:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],editType:"plot"},editType:"plot"},domain:g({name:"pie",trace:!0,editType:"calc"}),hole:{valType:"number",min:0,max:1,dflt:0,editType:"calc"},sort:{valType:"boolean",dflt:!0,editType:"calc"},direction:{valType:"enumerated",values:["clockwise","counterclockwise"],dflt:"counterclockwise",editType:"calc"},rotation:{valType:"angle",dflt:0,editType:"calc"},pull:{valType:"number",min:0,max:1,dflt:0,arrayOk:!0,editType:"calc"},_deprecated:{title:{valType:"string",dflt:"",editType:"calc"},titlefont:l({},a,{}),titleposition:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],editType:"calc"}}}},13584:function(T,p,t){var d=t(74875);p.name="pie",p.plot=function(g,i,M,v){d.plotBasePlot(p.name,g,i,M,v)},p.clean=function(g,i,M,v){d.cleanBasePlot(p.name,g,i,M,v)}},32354:function(T,p,t){var d=t(92770),g=t(84267),i=t(7901),M={};function v(l){return function(a,u){return!!a&&!!(a=g(a)).isValid()&&(a=i.addOpacity(a,a.getAlpha()),l[u]||(l[u]=a),a)}}function f(l,a){var u,o=JSON.stringify(l),s=a[o];if(!s){for(s=l.slice(),u=0;u=0}),(a.type==="funnelarea"?A:a.sort)&&s.sort(function(O,z){return z.v-O.v}),s[0]&&(s[0].vTotal=x),s},crossTraceCalc:function(l,a){var u=(a||{}).type;u||(u="pie");var o=l._fullLayout,s=l.calcdata,h=o[u+"colorway"],c=o["_"+u+"colormap"];o["extend"+u+"colors"]&&(h=f(h,M));for(var m=0,w=0;w0){h=!0;break}}h||(s=0)}return{hasLabels:u,hasValues:o,len:s}}T.exports={handleLabelsAndValues:f,supplyDefaults:function(l,a,u,o){function s(E,x){return g.coerce(l,a,i,E,x)}var h=f(s("labels"),s("values")),c=h.len;if(a._hasLabels=h.hasLabels,a._hasValues=h.hasValues,!a._hasLabels&&a._hasValues&&(s("label0"),s("dlabel")),c){a._length=c,s("marker.line.width")&&s("marker.line.color"),s("marker.colors"),s("scalegroup");var m,w=s("text"),y=s("texttemplate");if(y||(m=s("textinfo",Array.isArray(w)?"text+percent":"percent")),s("hovertext"),s("hovertemplate"),y||m&&m!=="none"){var C=s("textposition");v(l,a,o,s,C,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),(Array.isArray(C)||C==="auto"||C==="outside")&&s("automargin"),(C==="inside"||C==="auto"||Array.isArray(C))&&s("insidetextorientation")}M(a,o,s);var _=s("hole");if(s("title.text")){var k=s("title.position",_?"middle center":"top center");_||k!=="middle center"||(a.title.position="top center"),g.coerceFont(s,"title.font",o.font)}s("sort"),s("direction"),s("rotation"),s("pull")}else a.visible=!1}}},20007:function(T,p,t){var d=t(23469).appendArrayMultiPointValues;T.exports=function(g,i){var M={curveNumber:i.index,pointNumbers:g.pts,data:i._input,fullData:i,label:g.label,color:g.color,value:g.v,percent:g.percent,text:g.text,bbox:g.bbox,v:g.v};return g.pts.length===1&&(M.pointNumber=M.i=g.pts[0]),d(M,i,g.pts),i.type==="funnelarea"&&(delete M.v,delete M.i),M}},53581:function(T,p,t){var d=t(71828);function g(i){return i.indexOf("e")!==-1?i.replace(/[.]?0+e/,"e"):i.indexOf(".")!==-1?i.replace(/[.]?0+$/,""):i}p.formatPiePercent=function(i,M){var v=g((100*i).toPrecision(3));return d.numSeparate(v,M)+"%"},p.formatPieValue=function(i,M){var v=g(i.toPrecision(10));return d.numSeparate(v,M)},p.getFirstFilled=function(i,M){if(Array.isArray(i))for(var v=0;v"),name:ie.hovertemplate||oe.indexOf("name")!==-1?ie.name:void 0,idealAlign:Q.pxmid[0]<0?"left":"right",color:m.castOption(xe.bgcolor,Q.pts)||Q.color,borderColor:m.castOption(xe.bordercolor,Q.pts),fontFamily:m.castOption(Pe.family,Q.pts),fontSize:m.castOption(Pe.size,Q.pts),fontColor:m.castOption(Pe.color,Q.pts),nameLength:m.castOption(xe.namelength,Q.pts),textAlign:m.castOption(xe.align,Q.pts),hovertemplate:m.castOption(ie.hovertemplate,Q.pts),hovertemplateLabels:Q,eventData:[w(Q,ie)]},{container:re._hoverlayer.node(),outerContainer:re._paper.node(),gd:G,inOut_bbox:_e}),Q.bbox=_e[0],Z._hasHoverLabel=!0}Z._hasHoverEvent=!0,G.emit("plotly_hover",{points:[w(Q,ie)],event:d.event})}}),U.on("mouseout",function(Q){var re=G._fullLayout,ie=G._fullData[Z.index],oe=d.select(this).datum();Z._hasHoverEvent&&(Q.originalEvent=d.event,G.emit("plotly_unhover",{points:[w(oe,ie)],event:d.event}),Z._hasHoverEvent=!1),Z._hasHoverLabel&&(i.loneUnhover(re._hoverlayer.node()),Z._hasHoverLabel=!1)}),U.on("click",function(Q){var re=G._fullLayout,ie=G._fullData[Z.index];G._dragging||re.hovermode===!1||(G._hoverdata=[w(Q,ie)],i.click(G,d.event))})}function _(U,G,q){var H=m.castOption(U.insidetextfont.color,G.pts);!H&&U._input.textfont&&(H=m.castOption(U._input.textfont.color,G.pts));var ne=m.castOption(U.insidetextfont.family,G.pts)||m.castOption(U.textfont.family,G.pts)||q.family,te=m.castOption(U.insidetextfont.size,G.pts)||m.castOption(U.textfont.size,G.pts)||q.size;return{color:H||M.contrast(G.color),family:ne,size:te}}function k(U,G){for(var q,H,ne=0;neBe&&Be>je||ze=-4;me-=2)pe(Math.PI*me,"tan");for(me=4;me>=-4;me-=2)pe(Math.PI*(me+1),"tan")}if(oe||ce){for(me=4;me>=-4;me-=2)pe(Math.PI*(me+1.5),"rad");for(me=4;me>=-4;me-=2)pe(Math.PI*(me+.5),"rad")}}if(X||ye||oe){var xe=Math.sqrt(U.width*U.width+U.height*U.height);if((te={scale:ne*H*2/xe,rCenter:1-ne,rotate:0}).textPosAngle=(G.startangle+G.stopangle)/2,te.scale>=1)return te;de.push(te)}(ye||ce)&&((te=x(U,H,Z,Q,re)).textPosAngle=(G.startangle+G.stopangle)/2,de.push(te)),(ye||ue)&&((te=A(U,H,Z,Q,re)).textPosAngle=(G.startangle+G.stopangle)/2,de.push(te));for(var Pe=0,_e=0,Me=0;Me=1)break}return de[Pe]}function x(U,G,q,H,ne){G=Math.max(0,G-2*c);var te=U.width/U.height,Z=R(te,H,G,q);return{scale:2*Z/U.height,rCenter:L(te,Z/G),rotate:b(ne)}}function A(U,G,q,H,ne){G=Math.max(0,G-2*c);var te=U.height/U.width,Z=R(te,H,G,q);return{scale:2*Z/U.width,rCenter:L(te,Z/G),rotate:b(ne+Math.PI/2)}}function L(U,G){return Math.cos(G)-U*G}function b(U){return(180/Math.PI*U+720)%180-90}function R(U,G,q,H){var ne=U+1/(2*Math.tan(G));return q*Math.min(1/(Math.sqrt(ne*ne+.5)+ne),H/(Math.sqrt(U*U+H/2)+U))}function I(U,G){return U.v!==G.vTotal||G.trace.hole?Math.min(1/(1+1/Math.sin(U.halfangle)),U.ring/2):1}function O(U,G){var q=G.pxmid[0],H=G.pxmid[1],ne=U.width/2,te=U.height/2;return q<0&&(ne*=-1),H<0&&(te*=-1),{scale:1,rCenter:1,rotate:0,x:ne+Math.abs(te)*(ne>0?1:-1)/2,y:te/(1+q*q/(H*H)),outside:!0}}function z(U,G){var q,H,ne,te=U.trace,Z={x:U.cx,y:U.cy},X={tx:0,ty:0};X.ty+=te.title.font.size,ne=B(te),te.title.position.indexOf("top")!==-1?(Z.y-=(1+ne)*U.r,X.ty-=U.titleBox.height):te.title.position.indexOf("bottom")!==-1&&(Z.y+=(1+ne)*U.r);var Q,re=U.r/((Q=U.trace.aspectratio)===void 0?1:Q),ie=G.w*(te.domain.x[1]-te.domain.x[0])/2;return te.title.position.indexOf("left")!==-1?(ie+=re,Z.x-=(1+ne)*re,X.tx+=U.titleBox.width/2):te.title.position.indexOf("center")!==-1?ie*=2:te.title.position.indexOf("right")!==-1&&(ie+=re,Z.x+=(1+ne)*re,X.tx-=U.titleBox.width/2),q=ie/U.titleBox.width,H=F(U,G)/U.titleBox.height,{x:Z.x,y:Z.y,scale:Math.min(q,H),tx:X.tx,ty:X.ty}}function F(U,G){var q=U.trace,H=G.h*(q.domain.y[1]-q.domain.y[0]);return Math.min(U.titleBox.height,H/2)}function B(U){var G,q=U.pull;if(!q)return 0;if(Array.isArray(q))for(q=0,G=0;Gq&&(q=U.pull[G]);return q}function N(U,G){for(var q=[],H=0;H1?Me=(_e=ce.r)/de.aspectratio:_e=(Me=ce.r)*de.aspectratio,Pe=(_e*=(1+de.baseratio)/2)*Me}pe=Math.min(pe,Pe/ce.vTotal)}for(ye=0;ye")}if(te){var me=f.castOption(ne,G.i,"texttemplate");if(me){var pe=function(Pe){return{label:Pe.label,value:Pe.v,valueLabel:m.formatPieValue(Pe.v,H.separators),percent:Pe.v/q.vTotal,percentLabel:m.formatPiePercent(Pe.v/q.vTotal,H.separators),color:Pe.color,text:Pe.text,customdata:f.castOption(ne,Pe.i,"customdata")}}(G),xe=m.getFirstFilled(ne.text,G.pts);(y(xe)||xe==="")&&(pe.text=xe),G.text=f.texttemplateString(me,pe,U._fullLayout._d3locale,pe,ne._meta||{})}else G.text=""}}function $(U,G){var q=U.rotate*Math.PI/180,H=Math.cos(q),ne=Math.sin(q),te=(G.left+G.right)/2,Z=(G.top+G.bottom)/2;U.textX=te*H-Z*ne,U.textY=te*ne+Z*H,U.noCenter=!0}T.exports={plot:function(U,G){var q=U._context.staticPlot,H=U._fullLayout,ne=H._size;h("pie",H),k(G,U),N(G,ne);var te=f.makeTraceGroups(H._pielayer,G,"trace").each(function(Z){var X=d.select(this),Q=Z[0],re=Q.trace;(function(ie){var oe,ue,ce,ye=ie[0],de=ye.r,me=ye.trace,pe=m.getRotationAngle(me.rotation),xe=2*Math.PI/ye.vTotal,Pe="px0",_e="px1";if(me.direction==="counterclockwise"){for(oe=0;oeye.vTotal/2?1:0,ue.halfangle=Math.PI*Math.min(ue.v/ye.vTotal,.5),ue.ring=1-me.hole,ue.rInscribed=I(ue,ye))})(Z),X.attr("stroke-linejoin","round"),X.each(function(){var ie=d.select(this).selectAll("g.slice").data(Z);ie.enter().append("g").classed("slice",!0),ie.exit().remove();var oe=[[[],[]],[[],[]]],ue=!1;ie.each(function(_e,Me){if(_e.hidden)d.select(this).selectAll("path,g").remove();else{_e.pointNumber=_e.i,_e.curveNumber=re.index,oe[_e.pxmid[1]<0?0:1][_e.pxmid[0]<0?0:1].push(_e);var Se=Q.cx,Ce=Q.cy,ae=d.select(this),fe=ae.selectAll("path.surface").data([_e]);if(fe.enter().append("path").classed("surface",!0).style({"pointer-events":q?"none":"all"}),ae.call(C,U,Z),re.pull){var be=+m.castOption(re.pull,_e.pts)||0;be>0&&(Se+=be*_e.pxmid[0],Ce+=be*_e.pxmid[1])}_e.cxFinal=Se,_e.cyFinal=Ce;var ke=re.hole;if(_e.v===Q.vTotal){var Le="M"+(Se+_e.px0[0])+","+(Ce+_e.px0[1])+we(_e.px0,_e.pxmid,!0,1)+we(_e.pxmid,_e.px0,!0,1)+"Z";ke?fe.attr("d","M"+(Se+ke*_e.px0[0])+","+(Ce+ke*_e.px0[1])+we(_e.px0,_e.pxmid,!1,ke)+we(_e.pxmid,_e.px0,!1,ke)+"Z"+Le):fe.attr("d",Le)}else{var Be=we(_e.px0,_e.px1,!0,1);if(ke){var ze=1-ke;fe.attr("d","M"+(Se+ke*_e.px1[0])+","+(Ce+ke*_e.px1[1])+we(_e.px1,_e.px0,!1,ke)+"l"+ze*_e.px0[0]+","+ze*_e.px0[1]+Be+"Z")}else fe.attr("d","M"+Se+","+Ce+"l"+_e.px0[0]+","+_e.px0[1]+Be+"Z")}j(U,_e,Q);var je=m.castOption(re.textposition,_e.pts),ge=ae.selectAll("g.slicetext").data(_e.text&&je!=="none"?[0]:[]);ge.enter().append("g").classed("slicetext",!0),ge.exit().remove(),ge.each(function(){var Ee=f.ensureSingle(d.select(this),"text","",function(Et){Et.attr("data-notex",1)}),Ve=f.ensureUniformFontSize(U,je==="outside"?function(Et,kt,xt){return{color:m.castOption(Et.outsidetextfont.color,kt.pts)||m.castOption(Et.textfont.color,kt.pts)||xt.color,family:m.castOption(Et.outsidetextfont.family,kt.pts)||m.castOption(Et.textfont.family,kt.pts)||xt.family,size:m.castOption(Et.outsidetextfont.size,kt.pts)||m.castOption(Et.textfont.size,kt.pts)||xt.size}}(re,_e,H.font):_(re,_e,H.font));Ee.text(_e.text).attr({class:"slicetext",transform:"","text-anchor":"middle"}).call(v.font,Ve).call(u.convertToTspans,U);var $e,Ye=v.bBox(Ee.node());if(je==="outside")$e=O(Ye,_e);else if($e=E(Ye,_e,Q),je==="auto"&&$e.scale<1){var st=f.ensureUniformFontSize(U,re.outsidetextfont);Ee.call(v.font,st),$e=O(Ye=v.bBox(Ee.node()),_e)}var ot=$e.textPosAngle,ht=ot===void 0?_e.pxmid:W(Q.r,ot);if($e.targetX=Se+ht[0]*$e.rCenter+($e.x||0),$e.targetY=Ce+ht[1]*$e.rCenter+($e.y||0),$($e,Ye),$e.outside){var bt=$e.targetY;_e.yLabelMin=bt-Ye.height/2,_e.yLabelMid=bt,_e.yLabelMax=bt+Ye.height/2,_e.labelExtraX=0,_e.labelExtraY=0,ue=!0}$e.fontSize=Ve.size,s(re.type,$e,H),Z[Me].transform=$e,f.setTransormAndDisplay(Ee,$e)})}function we(Ee,Ve,$e,Ye){var st=Ye*(Ve[0]-Ee[0]),ot=Ye*(Ve[1]-Ee[1]);return"a"+Ye*Q.r+","+Ye*Q.r+" 0 "+_e.largeArc+($e?" 1 ":" 0 ")+st+","+ot}});var ce=d.select(this).selectAll("g.titletext").data(re.title.text?[0]:[]);if(ce.enter().append("g").classed("titletext",!0),ce.exit().remove(),ce.each(function(){var _e,Me=f.ensureSingle(d.select(this),"text","",function(Ce){Ce.attr("data-notex",1)}),Se=re.title.text;re._meta&&(Se=f.templateString(Se,re._meta)),Me.text(Se).attr({class:"titletext",transform:"","text-anchor":"middle"}).call(v.font,re.title.font).call(u.convertToTspans,U),_e=re.title.position==="middle center"?function(Ce){var ae=Math.sqrt(Ce.titleBox.width*Ce.titleBox.width+Ce.titleBox.height*Ce.titleBox.height);return{x:Ce.cx,y:Ce.cy,scale:Ce.trace.hole*Ce.r*2/ae,tx:0,ty:-Ce.titleBox.height/2+Ce.trace.title.font.size}}(Q):z(Q,ne),Me.attr("transform",a(_e.x,_e.y)+l(Math.min(1,_e.scale))+a(_e.tx,_e.ty))}),ue&&function(_e,Me){var Se,Ce,ae,fe,be,ke,Le,Be,ze,je,ge,we,Ee;function Ve(ot,ht){return ot.pxmid[1]-ht.pxmid[1]}function $e(ot,ht){return ht.pxmid[1]-ot.pxmid[1]}function Ye(ot,ht){ht||(ht={});var bt,Et,kt,xt,Ft=ht.labelExtraY+(Ce?ht.yLabelMax:ht.yLabelMin),Ot=Ce?ot.yLabelMin:ot.yLabelMax,Bt=Ce?ot.yLabelMax:ot.yLabelMin,qt=ot.cyFinal+be(ot.px0[1],ot.px1[1]),Vt=Ft-Ot;if(Vt*Le>0&&(ot.labelExtraY=Vt),Array.isArray(Me.pull))for(Et=0;Et=(m.castOption(Me.pull,kt.pts)||0)||((ot.pxmid[1]-kt.pxmid[1])*Le>0?(Vt=kt.cyFinal+be(kt.px0[1],kt.px1[1])-Ot-ot.labelExtraY)*Le>0&&(ot.labelExtraY+=Vt):(Bt+ot.labelExtraY-qt)*Le>0&&(bt=3*ke*Math.abs(Et-je.indexOf(ot)),(xt=kt.cxFinal+fe(kt.px0[0],kt.px1[0])+bt-(ot.cxFinal+ot.pxmid[0])-ot.labelExtraX)*ke>0&&(ot.labelExtraX+=xt)))}for(Ce=0;Ce<2;Ce++)for(ae=Ce?Ve:$e,be=Ce?Math.max:Math.min,Le=Ce?1:-1,Se=0;Se<2;Se++){for(fe=Se?Math.max:Math.min,ke=Se?1:-1,(Be=_e[Ce][Se]).sort(ae),ze=_e[1-Ce][Se],je=ze.concat(Be),we=[],ge=0;geMath.abs(Be)?be+="l"+Be*Se.pxmid[0]/Se.pxmid[1]+","+Be+"H"+(fe+Se.labelExtraX+ke):be+="l"+Se.labelExtraX+","+Le+"v"+(Be-Le)+"h"+ke}else be+="V"+(Se.yLabelMid+Se.labelExtraY)+"h"+ke;f.ensureSingle(Ce,"path","textline").call(M.stroke,Me.outsidetextfont.color).attr({"stroke-width":Math.min(2,Me.outsidetextfont.size/8),d:be,fill:"none"})}else Ce.select("path.textline").remove()})}(ie,re),ue&&re.automargin){var ye=v.bBox(X.node()),de=re.domain,me=ne.w*(de.x[1]-de.x[0]),pe=ne.h*(de.y[1]-de.y[0]),xe=(.5*me-Q.r)/ne.w,Pe=(.5*pe-Q.r)/ne.h;g.autoMargin(U,"pie."+re.uid+".automargin",{xl:de.x[0]-xe,xr:de.x[1]+xe,yb:de.y[0]-Pe,yt:de.y[1]+Pe,l:Math.max(Q.cx-Q.r-ye.left,0),r:Math.max(ye.right-(Q.cx+Q.r),0),b:Math.max(ye.bottom-(Q.cy+Q.r),0),t:Math.max(Q.cy-Q.r-ye.top,0),pad:5})}})});setTimeout(function(){te.selectAll("tspan").each(function(){var Z=d.select(this);Z.attr("dy")&&Z.attr("dy",Z.attr("dy"))})},0)},formatSliceLabel:j,transformInsideText:E,determineInsideTextFont:_,positionTitleOutside:z,prerenderTitles:k,layoutAreas:N,attachFxHandlers:C,computeTransform:$}},68357:function(T,p,t){var d=t(39898),g=t(63463),i=t(72597).resizeText;T.exports=function(M){var v=M._fullLayout._pielayer.selectAll(".trace");i(M,v,"pie"),v.each(function(f){var l=f[0].trace,a=d.select(this);a.style({opacity:l.opacity}),a.selectAll("path.surface").each(function(u){d.select(this).call(g,u,l)})})}},63463:function(T,p,t){var d=t(7901),g=t(53581).castOption;T.exports=function(i,M,v){var f=v.marker.line,l=g(f.color,M.pts)||d.defaultLine,a=g(f.width,M.pts)||0;i.style("stroke-width",a).call(d.fill,M.color).call(d.stroke,l)}},10959:function(T,p,t){var d=t(82196);T.exports={x:d.x,y:d.y,xy:{valType:"data_array",editType:"calc"},indices:{valType:"data_array",editType:"calc"},xbounds:{valType:"data_array",editType:"calc"},ybounds:{valType:"data_array",editType:"calc"},text:d.text,marker:{color:{valType:"color",arrayOk:!1,editType:"calc"},opacity:{valType:"number",min:0,max:1,dflt:1,arrayOk:!1,editType:"calc"},blend:{valType:"boolean",dflt:null,editType:"calc"},sizemin:{valType:"number",min:.1,max:2,dflt:.5,editType:"calc"},sizemax:{valType:"number",min:.1,dflt:20,editType:"calc"},border:{color:{valType:"color",arrayOk:!1,editType:"calc"},arearatio:{valType:"number",min:0,max:1,dflt:0,editType:"calc"},editType:"calc"},editType:"calc"},transforms:void 0}},42743:function(T,p,t){var d=t(9330).gl_pointcloud2d,g=t(78614),i=t(71739).findExtremes,M=t(34603);function v(l,a){this.scene=l,this.uid=a,this.type="pointcloud",this.pickXData=[],this.pickYData=[],this.xData=[],this.yData=[],this.textLabels=[],this.color="rgb(0, 0, 0)",this.name="",this.hoverinfo="all",this.idToIndex=new Int32Array(0),this.bounds=[0,0,0,0],this.pointcloudOptions={positions:new Float32Array(0),idToIndex:this.idToIndex,sizemin:.5,sizemax:12,color:[0,0,0,1],areaRatio:1,borderColor:[0,0,0,1]},this.pointcloud=d(l.glplot,this.pointcloudOptions),this.pointcloud._trace=this}var f=v.prototype;f.handlePick=function(l){var a=this.idToIndex[l.pointId];return{trace:this,dataCoord:l.dataCoord,traceCoord:this.pickXYData?[this.pickXYData[2*a],this.pickXYData[2*a+1]]:[this.pickXData[a],this.pickYData[a]],textLabel:Array.isArray(this.textLabels)?this.textLabels[a]:this.textLabels,color:this.color,name:this.name,pointIndex:a,hoverinfo:this.hoverinfo}},f.update=function(l){this.index=l.index,this.textLabels=l.text,this.name=l.name,this.hoverinfo=l.hoverinfo,this.bounds=[1/0,1/0,-1/0,-1/0],this.updateFast(l),this.color=M(l,{})},f.updateFast=function(l){var a,u,o,s,h,c,m=this.xData=this.pickXData=l.x,w=this.yData=this.pickYData=l.y,y=this.pickXYData=l.xy,C=l.xbounds&&l.ybounds,_=l.indices,k=this.bounds;if(y){if(o=y,a=y.length>>>1,C)k[0]=l.xbounds[0],k[2]=l.xbounds[1],k[1]=l.ybounds[0],k[3]=l.ybounds[1];else for(c=0;ck[2]&&(k[2]=s),hk[3]&&(k[3]=h);if(_)u=_;else for(u=new Int32Array(a),c=0;ck[2]&&(k[2]=s),hk[3]&&(k[3]=h);this.idToIndex=u,this.pointcloudOptions.idToIndex=u,this.pointcloudOptions.positions=o;var E=g(l.marker.color),x=g(l.marker.border.color),A=l.opacity*l.marker.opacity;E[3]*=A,this.pointcloudOptions.color=E;var L=l.marker.blend;L===null&&(L=m.length<100||w.length<100),this.pointcloudOptions.blend=L,x[3]*=A,this.pointcloudOptions.borderColor=x;var b=l.marker.sizemin,R=Math.max(l.marker.sizemax,l.marker.sizemin);this.pointcloudOptions.sizeMin=b,this.pointcloudOptions.sizeMax=R,this.pointcloudOptions.areaRatio=l.marker.border.arearatio,this.pointcloud.update(this.pointcloudOptions);var I=this.scene.xaxis,O=this.scene.yaxis,z=R/2||.5;l._extremes[I._id]=i(I,[k[0],k[2]],{ppad:z}),l._extremes[O._id]=i(O,[k[1],k[3]],{ppad:z})},f.dispose=function(){this.pointcloud.dispose()},T.exports=function(l,a){var u=new v(l,a.uid);return u.update(a),u}},33876:function(T,p,t){var d=t(71828),g=t(10959);T.exports=function(i,M,v){function f(l,a){return d.coerce(i,M,g,l,a)}f("x"),f("y"),f("xbounds"),f("ybounds"),i.xy&&i.xy instanceof Float32Array&&(M.xy=i.xy),i.indices&&i.indices instanceof Int32Array&&(M.indices=i.indices),f("text"),f("marker.color",v),f("marker.opacity"),f("marker.blend"),f("marker.sizemin"),f("marker.sizemax"),f("marker.border.color",v),f("marker.border.arearatio"),M._length=null}},20593:function(T,p,t){T.exports={attributes:t(10959),supplyDefaults:t(33876),calc:t(36563),plot:t(42743),moduleType:"trace",name:"pointcloud",basePlotModule:t(4796),categories:["gl","gl2d","showLegend"],meta:{}}},39953:function(T,p,t){var d=t(41940),g=t(9012),i=t(22399),M=t(77914),v=t(27670).Y,f=t(5386).fF,l=t(50693),a=t(44467).templatedArray,u=t(12663).descriptionOnlyNumbers,o=t(1426).extendFlat,s=t(30962).overrideAll;(T.exports=s({hoverinfo:o({},g.hoverinfo,{flags:[],arrayOk:!1}),hoverlabel:M.hoverlabel,domain:v({name:"sankey",trace:!0}),orientation:{valType:"enumerated",values:["v","h"],dflt:"h"},valueformat:{valType:"string",dflt:".3s",description:u("value")},valuesuffix:{valType:"string",dflt:""},arrangement:{valType:"enumerated",values:["snap","perpendicular","freeform","fixed"],dflt:"snap"},textfont:d({}),customdata:void 0,node:{label:{valType:"data_array",dflt:[]},groups:{valType:"info_array",impliedEdits:{x:[],y:[]},dimensions:2,freeLength:!0,dflt:[],items:{valType:"number",editType:"calc"}},x:{valType:"data_array",dflt:[]},y:{valType:"data_array",dflt:[]},color:{valType:"color",arrayOk:!0},customdata:{valType:"data_array",editType:"calc"},line:{color:{valType:"color",dflt:i.defaultLine,arrayOk:!0},width:{valType:"number",min:0,dflt:.5,arrayOk:!0}},pad:{valType:"number",arrayOk:!1,min:0,dflt:20},thickness:{valType:"number",arrayOk:!1,min:1,dflt:20},hoverinfo:{valType:"enumerated",values:["all","none","skip"],dflt:"all"},hoverlabel:M.hoverlabel,hovertemplate:f({},{keys:["value","label"]})},link:{arrowlen:{valType:"number",min:0,dflt:0},label:{valType:"data_array",dflt:[]},color:{valType:"color",arrayOk:!0},customdata:{valType:"data_array",editType:"calc"},line:{color:{valType:"color",dflt:i.defaultLine,arrayOk:!0},width:{valType:"number",min:0,dflt:0,arrayOk:!0}},source:{valType:"data_array",dflt:[]},target:{valType:"data_array",dflt:[]},value:{valType:"data_array",dflt:[]},hoverinfo:{valType:"enumerated",values:["all","none","skip"],dflt:"all"},hoverlabel:M.hoverlabel,hovertemplate:f({},{keys:["value","label"]}),colorscales:a("concentrationscales",{editType:"calc",label:{valType:"string",editType:"calc",dflt:""},cmax:{valType:"number",editType:"calc",dflt:1},cmin:{valType:"number",editType:"calc",dflt:0},colorscale:o(l().colorscale,{dflt:[[0,"white"],[1,"black"]]})})}},"calc","nested")).transforms=void 0},75536:function(T,p,t){var d=t(30962).overrideAll,g=t(27659).a0,i=t(60436),M=t(528),v=t(6964),f=t(28569),l=t(47322).prepSelect,a=t(71828),u=t(73972),o="sankey";function s(h,c){var m=h._fullData[c],w=h._fullLayout,y=w.dragmode,C=w.dragmode==="pan"?"move":"crosshair",_=m._bgRect;if(_&&y!=="pan"&&y!=="zoom"){v(_,C);var k={_id:"x",c2p:a.identity,_offset:m._sankey.translateX,_length:m._sankey.width},E={_id:"y",c2p:a.identity,_offset:m._sankey.translateY,_length:m._sankey.height},x={gd:h,element:_.node(),plotinfo:{id:c,xaxis:k,yaxis:E,fillRangeItems:a.noop},subplot:c,xaxes:[k],yaxes:[E],doneFnCompleted:function(A){var L,b=h._fullData[c],R=b.node.groups.slice(),I=[];function O(N){for(var W=b._sankey.graph.nodes,j=0;jL&&(L=c.source[s]),c.target[s]>L&&(L=c.target[s]);var b,R=L+1;o.node._count=R;var I=o.node.groups,O={};for(s=0;s0&&v(j,R)&&v($,R)&&(!O.hasOwnProperty(j)||!O.hasOwnProperty($)||O[j]!==O[$])){O.hasOwnProperty($)&&($=O[$]),O.hasOwnProperty(j)&&(j=O[j]),$=+$,C[j=+j]=C[$]=!0;var U="";c.label&&c.label[s]&&(U=c.label[s]);var G=null;U&&_.hasOwnProperty(U)&&(G=_[U]),m.push({pointNumber:s,label:U,color:w?c.color[s]:c.color,customdata:y?c.customdata[s]:c.customdata,concentrationscale:G,source:j,target:$,value:+W}),N.source.push(j),N.target.push($)}}var q=R+I.length,H=M(h.color),ne=M(h.customdata),te=[];for(s=0;sR-1,childrenNodes:[],pointNumber:s,label:Z,color:H?h.color[s]:h.color,customdata:ne?h.customdata[s]:h.customdata})}var X=!1;return function(Q,re,ie){for(var oe=g.init2dArray(Q,0),ue=0;ue1})}(q,N.source,N.target)&&(X=!0),{circular:X,links:m,nodes:te,groups:I,groupLookup:O}}(a);return i({circular:u.circular,_nodes:u.nodes,_links:u.links,_groups:u.groups,_groupLookup:u.groupLookup})}},85247:function(T){T.exports={nodeTextOffsetHorizontal:4,nodeTextOffsetVertical:3,nodePadAcross:10,sankeyIterations:50,forceIterations:5,forceTicksPerFrame:10,duration:500,ease:"linear",cn:{sankey:"sankey",sankeyLinks:"sankey-links",sankeyLink:"sankey-link",sankeyNodeSet:"sankey-node-set",sankeyNode:"sankey-node",nodeRect:"node-rect",nodeLabel:"node-label"}}},26857:function(T,p,t){var d=t(71828),g=t(39953),i=t(7901),M=t(84267),v=t(27670).c,f=t(38048),l=t(44467),a=t(85501);function u(o,s){function h(c,m){return d.coerce(o,s,g.link.colorscales,c,m)}h("label"),h("cmin"),h("cmax"),h("colorscale")}T.exports=function(o,s,h,c){function m(R,I){return d.coerce(o,s,g,R,I)}var w=d.extendDeep(c.hoverlabel,o.hoverlabel),y=o.node,C=l.newContainer(s,"node");function _(R,I){return d.coerce(y,C,g.node,R,I)}_("label"),_("groups"),_("x"),_("y"),_("pad"),_("thickness"),_("line.color"),_("line.width"),_("hoverinfo",o.hoverinfo),f(y,C,_,w),_("hovertemplate");var k=c.colorway;_("color",C.label.map(function(R,I){return i.addOpacity(function(O){return k[O%k.length]}(I),.8)})),_("customdata");var E=o.link||{},x=l.newContainer(s,"link");function A(R,I){return d.coerce(E,x,g.link,R,I)}A("label"),A("arrowlen"),A("source"),A("target"),A("value"),A("line.color"),A("line.width"),A("hoverinfo",o.hoverinfo),f(E,x,A,w),A("hovertemplate");var L,b=M(c.paper_bgcolor).getLuminance()<.333?"rgba(255, 255, 255, 0.6)":"rgba(0, 0, 0, 0.2)";A("color",d.repeat(b,x.value.length)),A("customdata"),a(E,x,{name:"colorscales",handleItemDefaults:u}),v(s,c,m),m("orientation"),m("valueformat"),m("valuesuffix"),C.x.length&&C.y.length&&(L="freeform"),m("arrangement",L),d.coerceFont(m,"textfont",d.extendFlat({},c.font)),s._length=null}},29396:function(T,p,t){T.exports={attributes:t(39953),supplyDefaults:t(26857),calc:t(92930),plot:t(60436),moduleType:"trace",name:"sankey",basePlotModule:t(75536),selectPoints:t(84564),categories:["noOpacity"],meta:{}}},60436:function(T,p,t){var d=t(39898),g=t(71828),i=g.numberFormat,M=t(3393),v=t(30211),f=t(7901),l=t(85247).cn,a=g._;function u(E){return E!==""}function o(E,x){return E.filter(function(A){return A.key===x.traceId})}function s(E,x){d.select(E).select("path").style("fill-opacity",x),d.select(E).select("rect").style("fill-opacity",x)}function h(E){d.select(E).select("text.name").style("fill","black")}function c(E){return function(x){return E.node.sourceLinks.indexOf(x.link)!==-1||E.node.targetLinks.indexOf(x.link)!==-1}}function m(E){return function(x){return x.node.sourceLinks.indexOf(E.link)!==-1||x.node.targetLinks.indexOf(E.link)!==-1}}function w(E,x,A){x&&A&&o(A,x).selectAll("."+l.sankeyLink).filter(c(x)).call(C.bind(0,x,A,!1))}function y(E,x,A){x&&A&&o(A,x).selectAll("."+l.sankeyLink).filter(c(x)).call(_.bind(0,x,A,!1))}function C(E,x,A,L){var b=L.datum().link.label;L.style("fill-opacity",function(R){if(!R.link.concentrationscale)return .4}),b&&o(x,E).selectAll("."+l.sankeyLink).filter(function(R){return R.link.label===b}).style("fill-opacity",function(R){if(!R.link.concentrationscale)return .4}),A&&o(x,E).selectAll("."+l.sankeyNode).filter(m(E)).call(w)}function _(E,x,A,L){var b=L.datum().link.label;L.style("fill-opacity",function(R){return R.tinyColorAlpha}),b&&o(x,E).selectAll("."+l.sankeyLink).filter(function(R){return R.link.label===b}).style("fill-opacity",function(R){return R.tinyColorAlpha}),A&&o(x,E).selectAll(l.sankeyNode).filter(m(E)).call(y)}function k(E,x){var A=E.hoverlabel||{},L=g.nestedProperty(A,x).get();return!Array.isArray(L)&&L}T.exports=function(E,x){for(var A=E._fullLayout,L=A._paper,b=A._size,R=0;R"),color:k($,"bgcolor")||f.addOpacity(H.color,1),borderColor:k($,"bordercolor"),fontFamily:k($,"font.family"),fontSize:k($,"font.size"),fontColor:k($,"font.color"),nameLength:k($,"namelength"),textAlign:k($,"align"),idealAlign:d.event.x"),color:k($,"bgcolor")||j.tinyColorHue,borderColor:k($,"bordercolor"),fontFamily:k($,"font.family"),fontSize:k($,"font.size"),fontColor:k($,"font.color"),nameLength:k($,"namelength"),textAlign:k($,"align"),idealAlign:"left",hovertemplate:$.hovertemplate,hovertemplateLabels:Z,eventData:[j.node]},{container:A._hoverlayer.node(),outerContainer:A._paper.node(),gd:E});s(re,.85),h(re)}}},unhover:function(W,j,$){E._fullLayout.hovermode!==!1&&(d.select(W).call(y,j,$),j.node.trace.node.hoverinfo!=="skip"&&(j.node.fullData=j.node.trace,E.emit("plotly_unhover",{event:d.event,points:[j.node]})),v.loneUnhover(A._hoverlayer.node()))},select:function(W,j,$){var U=j.node;U.originalEvent=d.event,E._hoverdata=[U],d.select(W).call(y,j,$),v.click(E,{target:!0})}}})}},3393:function(T,p,t){var d=t(49887),g=t(81684).k4,i=t(39898),M=t(30838),v=t(86781),f=t(85247),l=t(84267),a=t(7901),u=t(91424),o=t(71828),s=o.strTranslate,h=o.strRotate,c=t(28984),m=c.keyFun,w=c.repeat,y=c.unwrap,C=t(63893),_=t(73972),k=t(18783),E=k.CAP_SHIFT,x=k.LINE_SPACING;function A(q,H,ne){var te,Z=y(H),X=Z.trace,Q=X.domain,re=X.orientation==="h",ie=X.node.pad,oe=X.node.thickness,ue=q.width*(Q.x[1]-Q.x[0]),ce=q.height*(Q.y[1]-Q.y[0]),ye=Z._nodes,de=Z._links,me=Z.circular;(te=me?v.sankeyCircular().circularLinkGap(0):M.sankey()).iterations(f.sankeyIterations).size(re?[ue,ce]:[ce,ue]).nodeWidth(oe).nodePadding(ie).nodeId(function(ke){return ke.pointNumber}).nodes(ye).links(de);var pe,xe,Pe,_e=te();for(var Me in te.nodePadding()we+oe&&(ge+=1,Le=Ee.x0),we=Ee.x0,je[ge]||(je[ge]=[]),je[ge].push(Ee),Be=Le-Ee.x0,Ee.x0+=Be,Ee.x1+=Be}return je}(ye=_e.nodes).forEach(function(ke){var Le,Be,ze,je=0,ge=ke.length;for(ke.sort(function(we,Ee){return we.y0-Ee.y0}),ze=0;ze=je||(Be=je-Le.y0)>1e-6&&(Le.y0+=Be,Le.y1+=Be),je=Le.y1+ie}),te.update(_e)}return{circular:me,key:ne,trace:X,guid:o.randstr(),horizontal:re,width:ue,height:ce,nodePad:X.node.pad,nodeLineColor:X.node.line.color,nodeLineWidth:X.node.line.width,linkLineColor:X.link.line.color,linkLineWidth:X.link.line.width,linkArrowLength:X.link.arrowlen,valueFormat:X.valueformat,valueSuffix:X.valuesuffix,textFont:X.textfont,translateX:Q.x[0]*q.width+q.margin.l,translateY:q.height-Q.y[1]*q.height+q.margin.t,dragParallel:re?ce:ue,dragPerpendicular:re?ue:ce,arrangement:X.arrangement,sankey:te,graph:_e,forceLayouts:{},interactionState:{dragInProgress:!1,hovered:!1}}}function L(q,H,ne){var te=l(H.color),Z=H.source.label+"|"+H.target.label+"__"+ne;return H.trace=q.trace,H.curveNumber=q.trace.index,{circular:q.circular,key:Z,traceId:q.key,pointNumber:H.pointNumber,link:H,tinyColorHue:a.tinyRGB(te),tinyColorAlpha:te.getAlpha(),linkPath:b,linkLineColor:q.linkLineColor,linkLineWidth:q.linkLineWidth,linkArrowLength:q.linkArrowLength,valueFormat:q.valueFormat,valueSuffix:q.valueSuffix,sankey:q.sankey,parent:q,interactionState:q.interactionState,flow:H.flow}}function b(){return function(q){var H=q.linkArrowLength;if(q.link.circular)return function(xe,Pe){var _e=xe.width/2,Me=xe.circularPathData;return xe.circularLinkType==="top"?"M "+(Me.targetX-Pe)+" "+(Me.targetY+_e)+" L"+(Me.rightInnerExtent-Pe)+" "+(Me.targetY+_e)+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightSmallArcRadius+_e)+" 0 0 1 "+(Me.rightFullExtent-_e-Pe)+" "+(Me.targetY-Me.rightSmallArcRadius)+"L"+(Me.rightFullExtent-_e-Pe)+" "+Me.verticalRightInnerExtent+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightLargeArcRadius+_e)+" 0 0 1 "+(Me.rightInnerExtent-Pe)+" "+(Me.verticalFullExtent-_e)+"L"+Me.leftInnerExtent+" "+(Me.verticalFullExtent-_e)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftLargeArcRadius+_e)+" 0 0 1 "+(Me.leftFullExtent+_e)+" "+Me.verticalLeftInnerExtent+"L"+(Me.leftFullExtent+_e)+" "+(Me.sourceY-Me.leftSmallArcRadius)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftSmallArcRadius+_e)+" 0 0 1 "+Me.leftInnerExtent+" "+(Me.sourceY+_e)+"L"+Me.sourceX+" "+(Me.sourceY+_e)+"L"+Me.sourceX+" "+(Me.sourceY-_e)+"L"+Me.leftInnerExtent+" "+(Me.sourceY-_e)+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftSmallArcRadius-_e)+" 0 0 0 "+(Me.leftFullExtent-_e)+" "+(Me.sourceY-Me.leftSmallArcRadius)+"L"+(Me.leftFullExtent-_e)+" "+Me.verticalLeftInnerExtent+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftLargeArcRadius-_e)+" 0 0 0 "+Me.leftInnerExtent+" "+(Me.verticalFullExtent+_e)+"L"+(Me.rightInnerExtent-Pe)+" "+(Me.verticalFullExtent+_e)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightLargeArcRadius-_e)+" 0 0 0 "+(Me.rightFullExtent+_e-Pe)+" "+Me.verticalRightInnerExtent+"L"+(Me.rightFullExtent+_e-Pe)+" "+(Me.targetY-Me.rightSmallArcRadius)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightSmallArcRadius-_e)+" 0 0 0 "+(Me.rightInnerExtent-Pe)+" "+(Me.targetY-_e)+"L"+(Me.targetX-Pe)+" "+(Me.targetY-_e)+(Pe>0?"L"+Me.targetX+" "+Me.targetY:"")+"Z":"M "+(Me.targetX-Pe)+" "+(Me.targetY-_e)+" L"+(Me.rightInnerExtent-Pe)+" "+(Me.targetY-_e)+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightSmallArcRadius+_e)+" 0 0 0 "+(Me.rightFullExtent-_e-Pe)+" "+(Me.targetY+Me.rightSmallArcRadius)+"L"+(Me.rightFullExtent-_e-Pe)+" "+Me.verticalRightInnerExtent+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightLargeArcRadius+_e)+" 0 0 0 "+(Me.rightInnerExtent-Pe)+" "+(Me.verticalFullExtent+_e)+"L"+Me.leftInnerExtent+" "+(Me.verticalFullExtent+_e)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftLargeArcRadius+_e)+" 0 0 0 "+(Me.leftFullExtent+_e)+" "+Me.verticalLeftInnerExtent+"L"+(Me.leftFullExtent+_e)+" "+(Me.sourceY+Me.leftSmallArcRadius)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftSmallArcRadius+_e)+" 0 0 0 "+Me.leftInnerExtent+" "+(Me.sourceY-_e)+"L"+Me.sourceX+" "+(Me.sourceY-_e)+"L"+Me.sourceX+" "+(Me.sourceY+_e)+"L"+Me.leftInnerExtent+" "+(Me.sourceY+_e)+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftSmallArcRadius-_e)+" 0 0 1 "+(Me.leftFullExtent-_e)+" "+(Me.sourceY+Me.leftSmallArcRadius)+"L"+(Me.leftFullExtent-_e)+" "+Me.verticalLeftInnerExtent+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftLargeArcRadius-_e)+" 0 0 1 "+Me.leftInnerExtent+" "+(Me.verticalFullExtent-_e)+"L"+(Me.rightInnerExtent-Pe)+" "+(Me.verticalFullExtent-_e)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightLargeArcRadius-_e)+" 0 0 1 "+(Me.rightFullExtent+_e-Pe)+" "+Me.verticalRightInnerExtent+"L"+(Me.rightFullExtent+_e-Pe)+" "+(Me.targetY+Me.rightSmallArcRadius)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightSmallArcRadius-_e)+" 0 0 1 "+(Me.rightInnerExtent-Pe)+" "+(Me.targetY+_e)+"L"+(Me.targetX-Pe)+" "+(Me.targetY+_e)+(Pe>0?"L"+Me.targetX+" "+Me.targetY:"")+"Z"}(q.link,H);var ne=Math.abs((q.link.target.x0-q.link.source.x1)/2);H>ne&&(H=ne);var te=q.link.source.x1,Z=q.link.target.x0-H,X=g(te,Z),Q=X(.5),re=X(.5),ie=q.link.y0-q.link.width/2,oe=q.link.y0+q.link.width/2,ue=q.link.y1-q.link.width/2,ce=q.link.y1+q.link.width/2,ye="M"+te+","+ie,de="C"+Q+","+ie+" "+re+","+ue+" "+Z+","+ue,me="C"+re+","+ce+" "+Q+","+oe+" "+te+","+oe,pe=H>0?"L"+(Z+H)+","+(ue+q.link.width/2):"";return ye+de+(pe+="L"+Z+","+ce)+me+"Z"}}function R(q,H){var ne=l(H.color),te=f.nodePadAcross,Z=q.nodePad/2;H.dx=H.x1-H.x0,H.dy=H.y1-H.y0;var X=H.dx,Q=Math.max(.5,H.dy),re="node_"+H.pointNumber;return H.group&&(re=o.randstr()),H.trace=q.trace,H.curveNumber=q.trace.index,{index:H.pointNumber,key:re,partOfGroup:H.partOfGroup||!1,group:H.group,traceId:q.key,trace:q.trace,node:H,nodePad:q.nodePad,nodeLineColor:q.nodeLineColor,nodeLineWidth:q.nodeLineWidth,textFont:q.textFont,size:q.horizontal?q.height:q.width,visibleWidth:Math.ceil(X),visibleHeight:Q,zoneX:-te,zoneY:-Z,zoneWidth:X+2*te,zoneHeight:Q+2*Z,labelY:q.horizontal?H.dy/2+1:H.dx/2+1,left:H.originalLayer===1,sizeAcross:q.width,forceLayouts:q.forceLayouts,horizontal:q.horizontal,darkBackground:ne.getBrightness()<=128,tinyColorHue:a.tinyRGB(ne),tinyColorAlpha:ne.getAlpha(),valueFormat:q.valueFormat,valueSuffix:q.valueSuffix,sankey:q.sankey,graph:q.graph,arrangement:q.arrangement,uniqueNodeLabelPathId:[q.guid,q.key,re].join("_"),interactionState:q.interactionState,figure:q}}function I(q){q.attr("transform",function(H){return s(H.node.x0.toFixed(3),H.node.y0.toFixed(3))})}function O(q){q.call(I)}function z(q,H){q.call(O),H.attr("d",b())}function F(q){q.attr("width",function(H){return H.node.x1-H.node.x0}).attr("height",function(H){return H.visibleHeight})}function B(q){return q.link.width>1||q.linkLineWidth>0}function N(q){return s(q.translateX,q.translateY)+(q.horizontal?"matrix(1 0 0 1 0 0)":"matrix(0 1 1 0 0 0)")}function W(q,H,ne){q.on(".basic",null).on("mouseover.basic",function(te){te.interactionState.dragInProgress||te.partOfGroup||(ne.hover(this,te,H),te.interactionState.hovered=[this,te])}).on("mousemove.basic",function(te){te.interactionState.dragInProgress||te.partOfGroup||(ne.follow(this,te),te.interactionState.hovered=[this,te])}).on("mouseout.basic",function(te){te.interactionState.dragInProgress||te.partOfGroup||(ne.unhover(this,te,H),te.interactionState.hovered=!1)}).on("click.basic",function(te){te.interactionState.hovered&&(ne.unhover(this,te,H),te.interactionState.hovered=!1),te.interactionState.dragInProgress||te.partOfGroup||ne.select(this,te,H)})}function j(q,H,ne,te){var Z=i.behavior.drag().origin(function(X){return{x:X.node.x0+X.visibleWidth/2,y:X.node.y0+X.visibleHeight/2}}).on("dragstart",function(X){if(X.arrangement!=="fixed"&&(o.ensureSingle(te._fullLayout._infolayer,"g","dragcover",function(re){te._fullLayout._dragCover=re}),o.raiseToTop(this),X.interactionState.dragInProgress=X.node,U(X.node),X.interactionState.hovered&&(ne.nodeEvents.unhover.apply(0,X.interactionState.hovered),X.interactionState.hovered=!1),X.arrangement==="snap")){var Q=X.traceId+"|"+X.key;X.forceLayouts[Q]?X.forceLayouts[Q].alpha(1):function(re,ie,oe,ue){(function(ye){for(var de=0;de0&&pe.forceLayouts[de].alpha(0)}}(0,ie,ce,oe)).stop()}(0,Q,X),function(re,ie,oe,ue,ce){window.requestAnimationFrame(function ye(){var de;for(de=0;de0)window.requestAnimationFrame(ye);else{var me=oe.node.originalX;oe.node.x0=me-oe.visibleWidth/2,oe.node.x1=me+oe.visibleWidth/2,$(oe,ce)}})}(q,H,X,Q,te)}}).on("drag",function(X){if(X.arrangement!=="fixed"){var Q=i.event.x,re=i.event.y;X.arrangement==="snap"?(X.node.x0=Q-X.visibleWidth/2,X.node.x1=Q+X.visibleWidth/2,X.node.y0=re-X.visibleHeight/2,X.node.y1=re+X.visibleHeight/2):(X.arrangement==="freeform"&&(X.node.x0=Q-X.visibleWidth/2,X.node.x1=Q+X.visibleWidth/2),re=Math.max(0,Math.min(X.size-X.visibleHeight/2,re)),X.node.y0=re-X.visibleHeight/2,X.node.y1=re+X.visibleHeight/2),U(X.node),X.arrangement!=="snap"&&(X.sankey.update(X.graph),z(q.filter(G(X)),H))}}).on("dragend",function(X){if(X.arrangement!=="fixed"){X.interactionState.dragInProgress=!1;for(var Q=0;Q_&&j[E].gap;)E--;for(A=j[E].s,k=j.length-1;k>E;k--)j[k].s=A;for(;_z[h]&&h=0;h--){var c=M[h];if(c.type==="scatter"&&c.xaxis===o.xaxis&&c.yaxis===o.yaxis){c.opacity=void 0;break}}}}}},17438:function(T,p,t){var d=t(71828),g=t(73972),i=t(82196),M=t(47581),v=t(34098),f=t(67513),l=t(73927),a=t(565),u=t(49508),o=t(11058),s=t(94039),h=t(82410),c=t(28908),m=t(71828).coercePattern;T.exports=function(w,y,C,_){function k(O,z){return d.coerce(w,y,i,O,z)}var E=f(w,y,_,k);if(E||(y.visible=!1),y.visible){l(w,y,_,k),k("xhoverformat"),k("yhoverformat");var x=a(w,y,_,k);_.scattermode==="group"&&y.orientation===void 0&&k("orientation","v");var A=!x&&E=Math.min(me,pe)&&w<=Math.max(me,pe)?0:1/0}var xe=Math.max(3,de.mrc||0),Pe=1-1/xe,_e=Math.abs(c.c2p(de.x)-w);return _e=Math.min(me,pe)&&y<=Math.max(me,pe)?0:1/0}var xe=Math.max(3,de.mrc||0),Pe=1-1/xe,_e=Math.abs(m.c2p(de.y)-y);return _ece!=(te=U[j][1])>=ce&&(q=U[j-1][0],H=U[j][0],te-ne&&(G=q+(H-q)*(ce-ne)/(te-ne),re=Math.min(re,G),ie=Math.max(ie,G)));re=Math.max(re,0),ie=Math.min(ie,c._length);var ye=v.defaultLine;return v.opacity(h.fillcolor)?ye=h.fillcolor:v.opacity((h.line||{}).color)&&(ye=h.line.color),d.extendFlat(l,{distance:l.maxHoverDistance,x0:re,x1:ie,y0:ce,y1:ce,color:ye,hovertemplate:!1}),delete l.index,h.text&&!Array.isArray(h.text)?l.text=String(h.text):l.text=h.name,[l]}}}},67368:function(T,p,t){var d=t(34098);T.exports={hasLines:d.hasLines,hasMarkers:d.hasMarkers,hasText:d.hasText,isBubble:d.isBubble,attributes:t(82196),layoutAttributes:t(21479),supplyDefaults:t(17438),crossTraceDefaults:t(34936),supplyLayoutDefaults:t(79334),calc:t(47761).calc,crossTraceCalc:t(72626),arraysToCalcdata:t(75225),plot:t(32663),colorbar:t(4898),formatLabels:t(8225),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(33720),selectPoints:t(98002),animatable:!0,moduleType:"trace",name:"scatter",basePlotModule:t(93612),categories:["cartesian","svg","symbols","errorBarsOK","showLegend","scatter-like","zoomScale"],meta:{}}},21479:function(T){T.exports={scattermode:{valType:"enumerated",values:["group","overlay"],dflt:"overlay",editType:"calc"},scattergap:{valType:"number",min:0,max:1,editType:"calc"}}},79334:function(T,p,t){var d=t(71828),g=t(21479);T.exports=function(i,M){var v,f=M.barmode==="group";M.scattermode==="group"&&(v=f?M.bargap:.2,d.coerce(i,M,g,"scattergap",v))}},11058:function(T,p,t){var d=t(71828).isArrayOrTypedArray,g=t(52075).hasColorscale,i=t(1586);T.exports=function(M,v,f,l,a,u){u||(u={});var o=(M.marker||{}).color;a("line.color",f),g(M,"line")?i(M,v,l,a,{prefix:"line.",cLetter:"c"}):a("line.color",!d(o)&&o||f),a("line.width"),u.noDash||a("line.dash"),u.backoff&&a("line.backoff")}},34621:function(T,p,t){var d=t(91424),g=t(50606),i=g.BADNUM,M=g.LOG_CLIP,v=M+.5,f=M-.5,l=t(71828),a=l.segmentsIntersect,u=l.constrain,o=t(47581);T.exports=function(s,h){var c,m,w,y,C,_,k,E,x,A,L,b,R,I,O,z,F,B,N=h.trace||{},W=h.xaxis,j=h.yaxis,$=W.type==="log",U=j.type==="log",G=W._length,q=j._length,H=h.backoff,ne=N.marker,te=h.connectGaps,Z=h.baseTolerance,X=h.shape,Q=X==="linear",re=N.fill&&N.fill!=="none",ie=[],oe=o.minTolerance,ue=s.length,ce=new Array(ue),ye=0;function de(Vt){var Ke=s[Vt];if(!Ke)return!1;var Je=h.linearized?W.l2p(Ke.x):W.c2p(Ke.x),qe=h.linearized?j.l2p(Ke.y):j.c2p(Ke.y);if(Je===i){if($&&(Je=W.c2p(Ke.x,!0)),Je===i)return!1;U&&qe===i&&(Je*=Math.abs(W._m*q*(W._m>0?v:f)/(j._m*G*(j._m>0?v:f)))),Je*=1e3}if(qe===i){if(U&&(qe=j.c2p(Ke.y,!0)),qe===i)return!1;qe*=1e3}return[Je,qe]}function me(Vt,Ke,Je,qe){var nt=Je-Vt,ft=qe-Ke,Re=.5-Vt,Ne=.5-Ke,Qe=nt*nt+ft*ft,ut=nt*Re+ft*Ne;if(ut>0&&utLe||Vt[1]ze)return[u(Vt[0],ke,Le),u(Vt[1],Be,ze)]}function we(Vt,Ke){return Vt[0]===Ke[0]&&(Vt[0]===ke||Vt[0]===Le)||Vt[1]===Ke[1]&&(Vt[1]===Be||Vt[1]===ze)||void 0}function Ee(Vt,Ke,Je){return function(qe,nt){var ft=ge(qe),Re=ge(nt),Ne=[];if(ft&&Re&&we(ft,Re))return Ne;ft&&Ne.push(ft),Re&&Ne.push(Re);var Qe=2*l.constrain((qe[Vt]+nt[Vt])/2,Ke,Je)-((ft||qe)[Vt]+(Re||nt)[Vt]);return Qe&&((ft&&Re?Qe>0==ft[Vt]>Re[Vt]?ft:Re:ft||Re)[Vt]+=Qe),Ne}}function Ve(Vt){var Ke=Vt[0],Je=Vt[1],qe=Ke===ce[ye-1][0],nt=Je===ce[ye-1][1];if(!qe||!nt)if(ye>1){var ft=Ke===ce[ye-2][0],Re=Je===ce[ye-2][1];qe&&(Ke===ke||Ke===Le)&&ft?Re?ye--:ce[ye-1]=Vt:nt&&(Je===Be||Je===ze)&&Re?ft?ye--:ce[ye-1]=Vt:ce[ye++]=Vt}else ce[ye++]=Vt}function $e(Vt){ce[ye-1][0]!==Vt[0]&&ce[ye-1][1]!==Vt[1]&&Ve([Me,Se]),Ve(Vt),Ce=null,Me=Se=0}X==="linear"||X==="spline"?fe=function(Vt,Ke){for(var Je=[],qe=0,nt=0;nt<4;nt++){var ft=je[nt],Re=a(Vt[0],Vt[1],Ke[0],Ke[1],ft[0],ft[1],ft[2],ft[3]);Re&&(!qe||Math.abs(Re.x-Je[0][0])>1||Math.abs(Re.y-Je[0][1])>1)&&(Re=[Re.x,Re.y],qe&&xe(Re,Vt)Le?Le:0,_e=Vt[1]ze?ze:0,Pe||_e){if(ye)if(Ce){var Ke=fe(Ce,Vt);Ke.length>1&&($e(Ke[0]),ce[ye++]=Ke[1])}else ae=fe(ce[ye-1],Vt)[0],ce[ye++]=ae;else ce[ye++]=[Pe||Vt[0],_e||Vt[1]];var Je=ce[ye-1];Pe&&_e&&(Je[0]!==Pe||Je[1]!==_e)?(Ce&&(Me!==Pe&&Se!==_e?Ve(Me&&Se?(qe=Ce,ft=(nt=Vt)[0]-qe[0],Re=(nt[1]-qe[1])/ft,(qe[1]*nt[0]-nt[1]*qe[0])/ft>0?[Re>0?ke:Le,ze]:[Re>0?Le:ke,Be]):[Me||Pe,Se||_e]):Me&&Se&&Ve([Me,Se])),Ve([Pe,_e])):Me-Pe&&Se-_e&&Ve([Pe||Me,_e||Se]),Ce=Vt,Me=Pe,Se=_e}else Ce&&$e(fe(Ce,Vt)[0]),ce[ye++]=Vt;var qe,nt,ft,Re}for(c=0;cpe(_,ot))break;w=_,(R=x[0]*E[0]+x[1]*E[1])>L?(L=R,y=_,k=!1):R=s.length||!_)break;st(_),m=_}}else st(y)}Ce&&Ve([Me||Ce[0],Se||Ce[1]]),ie.push(ce.slice(0,ye))}var ht=X.slice(X.length-1);if(H&&ht!=="h"&&ht!=="v"){for(var bt=!1,Et=-1,kt=[],xt=0;xt=0?l=h:(l=h=s,s++),l0?Math.max(u,f):0}}},4898:function(T){T.exports={container:"marker",min:"cmin",max:"cmax"}},49508:function(T,p,t){var d=t(7901),g=t(52075).hasColorscale,i=t(1586),M=t(34098);T.exports=function(v,f,l,a,u,o){var s=M.isBubble(v),h=(v.line||{}).color;o=o||{},h&&(l=h),u("marker.symbol"),u("marker.opacity",s?.7:1),u("marker.size"),o.noAngle||(u("marker.angle"),o.noAngleRef||u("marker.angleref"),o.noStandOff||u("marker.standoff")),u("marker.color",l),g(v,"marker")&&i(v,f,a,u,{prefix:"marker.",cLetter:"c"}),o.noSelect||(u("selected.marker.color"),u("unselected.marker.color"),u("selected.marker.size"),u("unselected.marker.size")),o.noLine||(u("marker.line.color",h&&!Array.isArray(h)&&f.marker.color!==h?h:s?d.background:d.defaultLine),g(v,"marker.line")&&i(v,f,a,u,{prefix:"marker.line.",cLetter:"c"}),u("marker.line.width",s?1:0)),s&&(u("marker.sizeref"),u("marker.sizemin"),u("marker.sizemode")),o.gradient&&u("marker.gradient.type")!=="none"&&u("marker.gradient.color")}},73927:function(T,p,t){var d=t(71828).dateTick0,g=t(50606).ONEWEEK;function i(M,v){return d(v,M%g==0?1:0)}T.exports=function(M,v,f,l,a){if(a||(a={x:!0,y:!0}),a.x){var u=l("xperiod");u&&(l("xperiod0",i(u,v.xcalendar)),l("xperiodalignment"))}if(a.y){var o=l("yperiod");o&&(l("yperiod0",i(o,v.ycalendar)),l("yperiodalignment"))}}},32663:function(T,p,t){var d=t(39898),g=t(73972),i=t(71828),M=i.ensureSingle,v=i.identity,f=t(91424),l=t(34098),a=t(34621),u=t(68687),o=t(61082).tester;function s(h,c,m,w,y,C,_){var k,E=h._context.staticPlot;(function(fe,be,ke,Le,Be){var ze=ke.xaxis,je=ke.yaxis,ge=d.extent(i.simpleMap(ze.range,ze.r2c)),we=d.extent(i.simpleMap(je.range,je.r2c)),Ee=Le[0].trace;if(l.hasMarkers(Ee)){var Ve=Ee.marker.maxdisplayed;if(Ve!==0){var $e=Le.filter(function(ht){return ht.x>=ge[0]&&ht.x<=ge[1]&&ht.y>=we[0]&&ht.y<=we[1]}),Ye=Math.ceil($e.length/Ve),st=0;Be.forEach(function(ht,bt){var Et=ht[0].trace;l.hasMarkers(Et)&&Et.marker.maxdisplayed>0&&bt0;function A(fe){return x?fe.transition():fe}var L=m.xaxis,b=m.yaxis,R=w[0].trace,I=R.line,O=d.select(C),z=M(O,"g","errorbars"),F=M(O,"g","lines"),B=M(O,"g","points"),N=M(O,"g","text");if(g.getComponentMethod("errorbars","plot")(h,z,m,_),R.visible===!0){var W,j;A(O).style("opacity",R.opacity);var $=R.fill.charAt(R.fill.length-1);$!=="x"&&$!=="y"&&($=""),w[0][m.isRangePlot?"nodeRangePlot3":"node3"]=O;var U,G,q="",H=[],ne=R._prevtrace;ne&&(q=ne._prevRevpath||"",j=ne._nextFill,H=ne._polygons);var te,Z,X,Q,re,ie,oe,ue="",ce="",ye=[],de=i.noop;if(W=R._ownFill,l.hasLines(R)||R.fill!=="none"){for(j&&j.datum(w),["hv","vh","hvh","vhv"].indexOf(I.shape)!==-1?(te=f.steps(I.shape),Z=f.steps(I.shape.split("").reverse().join(""))):te=Z=I.shape==="spline"?function(fe){var be=fe[fe.length-1];return fe.length>1&&fe[0][0]===be[0]&&fe[0][1]===be[1]?f.smoothclosed(fe.slice(1),I.smoothing):f.smoothopen(fe,I.smoothing)}:function(fe){return"M"+fe.join("L")},X=function(fe){return Z(fe.reverse())},ye=a(w,{xaxis:L,yaxis:b,trace:R,connectGaps:R.connectgaps,baseTolerance:Math.max(I.width||1,3)/4,shape:I.shape,backoff:I.backoff,simplify:I.simplify,fill:R.fill}),oe=R._polygons=new Array(ye.length),k=0;k0,A=u(h,c,m);(_=w.selectAll("g.trace").data(A,function(L){return L[0].trace.uid})).enter().append("g").attr("class",function(L){return"trace scatter trace"+L[0].trace.uid}).style("stroke-miterlimit",2),_.order(),function(L,b,R){b.each(function(I){var O=M(d.select(this),"g","fills");f.setClipUrl(O,R.layerClipId,L);var z=I[0].trace,F=[];z._ownfill&&F.push("_ownFill"),z._nexttrace&&F.push("_nextFill");var B=O.selectAll("g").data(F,v);B.enter().append("g"),B.exit().each(function(N){z[N]=null}).remove(),B.order().each(function(N){z[N]=M(d.select(this),"path","js-fill")})})}(h,_,c),x?(C&&(k=C()),d.transition().duration(y.duration).ease(y.easing).each("end",function(){k&&k()}).each("interrupt",function(){k&&k()}).each(function(){w.selectAll("g.trace").each(function(L,b){s(h,b,c,L,A,this,y)})})):_.each(function(L,b){s(h,b,c,L,A,this,y)}),E&&_.exit().remove(),w.selectAll("path:not([d])").remove()}},98002:function(T,p,t){var d=t(34098);T.exports=function(g,i){var M,v,f,l,a=g.cd,u=g.xaxis,o=g.yaxis,s=[],h=a[0].trace;if(!d.hasMarkers(h)&&!d.hasText(h))return[];if(i===!1)for(M=0;M0){var m=f.c2l(h);f._lowerLogErrorBound||(f._lowerLogErrorBound=m),f._lowerErrorBound=Math.min(f._lowerLogErrorBound,m)}}else a[u]=[-o[0]*v,o[1]*v]}return a}T.exports=function(i,M,v){var f=[g(i.x,i.error_x,M[0],v.xaxis),g(i.y,i.error_y,M[1],v.yaxis),g(i.z,i.error_z,M[2],v.zaxis)],l=function(c){for(var m=0;m-1?-1:b.indexOf("right")>-1?1:0}function _(b){return b==null?0:b.indexOf("top")>-1?-1:b.indexOf("bottom")>-1?1:0}function k(b,R){return R(4*b)}function E(b){return s[b]}function x(b,R,I,O,z){var F=null;if(f.isArrayOrTypedArray(b)){F=[];for(var B=0;B=0){var j=function($,U,G){var q,H=(G+1)%3,ne=(G+2)%3,te=[],Z=[];for(q=0;q<$.length;++q){var X=$[q];!isNaN(X[H])&&isFinite(X[H])&&!isNaN(X[ne])&&isFinite(X[ne])&&(te.push([X[H],X[ne]]),Z.push(q))}var Q=v(te);for(q=0;q=0&&h("surfacecolor",m||w);for(var y=["x","y","z"],C=0;C<3;++C){var _="projection."+y[C];h(_+".show")&&(h(_+".opacity"),h(_+".scale"))}var k=d.getComponentMethod("errorbars","supplyDefaults");k(a,u,m||w||o,{axis:"z"}),k(a,u,m||w||o,{axis:"y",inherit:"z"}),k(a,u,m||w||o,{axis:"x",inherit:"z"})}else u.visible=!1}},13551:function(T,p,t){T.exports={plot:t(58925),attributes:t(44542),markerSymbols:t(87381),supplyDefaults:t(21428),colorbar:[{container:"marker",min:"cmin",max:"cmax"},{container:"line",min:"cmin",max:"cmax"}],calc:t(36563),moduleType:"trace",name:"scatter3d",basePlotModule:t(58547),categories:["gl3d","symbols","showLegend","scatter-like"],meta:{}}},97001:function(T,p,t){var d=t(82196),g=t(9012),i=t(5386).fF,M=t(5386).si,v=t(50693),f=t(1426).extendFlat,l=d.marker,a=d.line,u=l.line;T.exports={carpet:{valType:"string",editType:"calc"},a:{valType:"data_array",editType:"calc"},b:{valType:"data_array",editType:"calc"},mode:f({},d.mode,{dflt:"markers"}),text:f({},d.text,{}),texttemplate:M({editType:"plot"},{keys:["a","b","text"]}),hovertext:f({},d.hovertext,{}),line:{color:a.color,width:a.width,dash:a.dash,backoff:a.backoff,shape:f({},a.shape,{values:["linear","spline"]}),smoothing:a.smoothing,editType:"calc"},connectgaps:d.connectgaps,fill:f({},d.fill,{values:["none","toself","tonext"],dflt:"none"}),fillcolor:d.fillcolor,marker:f({symbol:l.symbol,opacity:l.opacity,maxdisplayed:l.maxdisplayed,angle:l.angle,angleref:l.angleref,standoff:l.standoff,size:l.size,sizeref:l.sizeref,sizemin:l.sizemin,sizemode:l.sizemode,line:f({width:u.width,editType:"calc"},v("marker.line")),gradient:l.gradient,editType:"calc"},v("marker")),textfont:d.textfont,textposition:d.textposition,selected:d.selected,unselected:d.unselected,hoverinfo:f({},g.hoverinfo,{flags:["a","b","text","name"]}),hoveron:d.hoveron,hovertemplate:i()}},34618:function(T,p,t){var d=t(92770),g=t(36922),i=t(75225),M=t(66279),v=t(47761).calcMarkerSize,f=t(22882);T.exports=function(l,a){var u=a._carpetTrace=f(l,a);if(u&&u.visible&&u.visible!=="legendonly"){var o;a.xaxis=u.xaxis,a.yaxis=u.yaxis;var s,h,c=a._length,m=new Array(c),w=!1;for(o=0;o")}return l}function k(E,x){var A;A=E.labelprefix&&E.labelprefix.length>0?E.labelprefix.replace(/ = $/,""):E._hovertitle,C.push(A+": "+x.toFixed(3)+E.labelsuffix)}}},46858:function(T,p,t){T.exports={attributes:t(97001),supplyDefaults:t(98965),colorbar:t(4898),formatLabels:t(48953),calc:t(34618),plot:t(1913),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(22931),selectPoints:t(98002),eventData:t(16165),moduleType:"trace",name:"scattercarpet",basePlotModule:t(93612),categories:["svg","carpet","symbols","showLegend","carpetDependent","zoomScale"],meta:{}}},1913:function(T,p,t){var d=t(32663),g=t(89298),i=t(91424);T.exports=function(M,v,f,l){var a,u,o,s=f[0][0].carpet,h=g.getFromId(M,s.xaxis||"x"),c=g.getFromId(M,s.yaxis||"y"),m={xaxis:h,yaxis:c,plot:v.plot};for(a=0;a")}function j($){return $+"°"}}(o,y,f,u[0].t.labels),f.hovertemplate=o.hovertemplate,[f]}}},17988:function(T,p,t){T.exports={attributes:t(19316),supplyDefaults:t(10659),colorbar:t(4898),formatLabels:t(82719),calc:t(84622),calcGeoJSON:t(89171).calcGeoJSON,plot:t(89171).plot,style:t(33095),styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(14977),eventData:t(84084),selectPoints:t(20548),moduleType:"trace",name:"scattergeo",basePlotModule:t(44622),categories:["geo","symbols","showLegend","scatter-like"],meta:{}}},89171:function(T,p,t){var d=t(39898),g=t(71828),i=t(90973).getTopojsonFeatures,M=t(18214),v=t(41327),f=t(71739).findExtremes,l=t(50606).BADNUM,a=t(47761).calcMarkerSize,u=t(34098),o=t(33095);T.exports={calcGeoJSON:function(s,h){var c,m,w=s[0].trace,y=h[w.geo],C=y._subplot,_=w._length;if(Array.isArray(w.locations)){var k=w.locationmode,E=k==="geojson-id"?v.extractTraceFeature(s):i(w,C.topojson);for(c=0;c<_;c++){m=s[c];var x=k==="geojson-id"?m.fOut:v.locationToFeature(k,m.loc,E);m.lonlat=x?x.properties.ct:[l,l]}}var A,L,b={padded:!0};if(y.fitbounds==="geojson"&&w.locationmode==="geojson-id"){var R=v.computeBbox(v.getTraceGeojson(w));A=[R[0],R[2]],L=[R[1],R[3]]}else{for(A=new Array(_),L=new Array(_),c=0;c<_;c++)m=s[c],A[c]=m.lonlat[0],L[c]=m.lonlat[1];b.ppad=a(w,_)}w._extremes.lon=f(y.lonaxis._ax,A,b),w._extremes.lat=f(y.lataxis._ax,L,b)},plot:function(s,h,c){var m=h.layers.frontplot.select(".scatterlayer"),w=g.makeTraceGroups(m,c,"trace scattergeo");function y(C,_){C.lonlat[0]===l&&d.select(_).remove()}w.selectAll("*").remove(),w.each(function(C){var _=d.select(this),k=C[0].trace;if(u.hasLines(k)||k.fill!=="none"){var E=M.calcTraceToLineCoords(C),x=k.fill!=="none"?M.makePolygon(E):M.makeLine(E);_.selectAll("path.js-line").data([{geojson:x,trace:k}]).enter().append("path").classed("js-line",!0).style("stroke-miterlimit",2)}u.hasMarkers(k)&&_.selectAll("path.point").data(g.identity).enter().append("path").classed("point",!0).each(function(A){y(A,this)}),u.hasText(k)&&_.selectAll("g").data(g.identity).enter().append("g").append("text").each(function(A){y(A,this)}),o(s,C)})}}},20548:function(T,p,t){var d=t(34098),g=t(50606).BADNUM;T.exports=function(i,M){var v,f,l,a,u,o=i.cd,s=i.xaxis,h=i.yaxis,c=[],m=o[0].trace;if(!d.hasMarkers(m)&&!d.hasText(m))return[];if(M===!1)for(u=0;u=m,R=2*L,I={},O=E.makeCalcdata(C,"x"),z=x.makeCalcdata(C,"y"),F=v(C,E,"x",O),B=v(C,x,"y",z),N=F.vals,W=B.vals;C._x=N,C._y=W,C.xperiodalignment&&(C._origX=O,C._xStarts=F.starts,C._xEnds=F.ends),C.yperiodalignment&&(C._origY=z,C._yStarts=B.starts,C._yEnds=B.ends);var j=new Array(R),$=new Array(L);for(_=0;_1&&g.extendFlat(re.line,s.linePositions(H,te,Z)),re.errorX||re.errorY){var ie=s.errorBarPositions(H,te,Z,X,Q);re.errorX&&g.extendFlat(re.errorX,ie.x),re.errorY&&g.extendFlat(re.errorY,ie.y)}return re.text&&(g.extendFlat(re.text,{positions:Z},s.textPosition(H,te,re.text,re.marker)),g.extendFlat(re.textSel,{positions:Z},s.textPosition(H,te,re.text,re.markerSel)),g.extendFlat(re.textUnsel,{positions:Z},s.textPosition(H,te,re.text,re.markerUnsel))),re}(y,0,C,j,N,W),q=h(y,A);return u(k,C),b?G.marker&&(U=G.marker.sizeAvg||Math.max(G.marker.size,3)):U=l(C,L),a(y,C,E,x,N,W,U),G.errorX&&w(C,E,G.errorX),G.errorY&&w(C,x,G.errorY),G.fill&&!q.fill2d&&(q.fill2d=!0),G.marker&&!q.scatter2d&&(q.scatter2d=!0),G.line&&!q.line2d&&(q.line2d=!0),!G.errorX&&!G.errorY||q.error2d||(q.error2d=!0),G.text&&!q.glText&&(q.glText=!0),G.marker&&(G.marker.snap=L),q.lineOptions.push(G.line),q.errorXOptions.push(G.errorX),q.errorYOptions.push(G.errorY),q.fillOptions.push(G.fill),q.markerOptions.push(G.marker),q.markerSelectedOptions.push(G.markerSel),q.markerUnselectedOptions.push(G.markerUnsel),q.textOptions.push(G.text),q.textSelectedOptions.push(G.textSel),q.textUnselectedOptions.push(G.textUnsel),q.selectBatch.push([]),q.unselectBatch.push([]),I._scene=q,I.index=q.count,I.x=N,I.y=W,I.positions=j,q.count++,[{x:!1,y:!1,t:I,trace:C}]}},78232:function(T){T.exports={TOO_MANY_POINTS:1e5,SYMBOL_SDF_SIZE:200,SYMBOL_SIZE:20,SYMBOL_STROKE:1,DOT_RE:/-dot/,OPEN_RE:/-open/,DASHES:{solid:[1],dot:[1,1],dash:[4,1],longdash:[8,1],dashdot:[4,1,1,1],longdashdot:[8,1,1,1]}}},19635:function(T,p,t){var d=t(92770),g=t(82019),i=t(25075),M=t(73972),v=t(71828),f=t(91424),l=t(41675),a=t(81697).formatColor,u=t(34098),o=t(39984),s=t(68645),h=t(78232),c=t(37822).DESELECTDIM,m={start:1,left:1,end:-1,right:-1,middle:0,center:0,bottom:1,top:-1},w=t(23469).appendArrayPointValue;function y(O,z){var F,B=O._fullLayout,N=z._length,W=z.textfont,j=z.textposition,$=Array.isArray(j)?j:[j],U=W.color,G=W.size,q=W.family,H={},ne=O._context.plotGlPixelRatio,te=z.texttemplate;if(te){H.text=[];var Z=B._d3locale,X=Array.isArray(te),Q=X?Math.min(te.length,N):N,re=X?function(me){return te[me]}:function(){return te};for(F=0;Fh.TOO_MANY_POINTS||u.hasMarkers(z)?"rect":"round";if(G&&z.connectgaps){var H=B[0],ne=B[1];for(N=0;N1?U[N]:U[0]:U,te=Array.isArray(G)?G.length>1?G[N]:G[0]:G,Z=m[ne],X=m[te],Q=q?q/.8+1:0,re=-X*Q-.5*X;j.offset[N]=[Z*Q/H,re/H]}}return j}}},47148:function(T,p,t){var d=t(71828),g=t(73972),i=t(68645),M=t(42341),v=t(47581),f=t(34098),l=t(67513),a=t(73927),u=t(49508),o=t(11058),s=t(28908),h=t(82410);T.exports=function(c,m,w,y){function C(R,I){return d.coerce(c,m,M,R,I)}var _=!!c.marker&&i.isOpenSymbol(c.marker.symbol),k=f.isBubble(c),E=l(c,m,y,C);if(E){a(c,m,y,C),C("xhoverformat"),C("yhoverformat");var x=E100},p.isDotSymbol=function(g){return typeof g=="string"?d.DOT_RE.test(g):g>200}},20794:function(T,p,t){var d=t(73972),g=t(71828),i=t(34603);function M(v,f,l,a){var u=v.xa,o=v.ya,s=v.distance,h=v.dxy,c=v.index,m={pointNumber:c,x:f[c],y:l[c]};m.tx=Array.isArray(a.text)?a.text[c]:a.text,m.htx=Array.isArray(a.hovertext)?a.hovertext[c]:a.hovertext,m.data=Array.isArray(a.customdata)?a.customdata[c]:a.customdata,m.tp=Array.isArray(a.textposition)?a.textposition[c]:a.textposition;var w=a.textfont;w&&(m.ts=g.isArrayOrTypedArray(w.size)?w.size[c]:w.size,m.tc=Array.isArray(w.color)?w.color[c]:w.color,m.tf=Array.isArray(w.family)?w.family[c]:w.family);var y=a.marker;y&&(m.ms=g.isArrayOrTypedArray(y.size)?y.size[c]:y.size,m.mo=g.isArrayOrTypedArray(y.opacity)?y.opacity[c]:y.opacity,m.mx=g.isArrayOrTypedArray(y.symbol)?y.symbol[c]:y.symbol,m.ma=g.isArrayOrTypedArray(y.angle)?y.angle[c]:y.angle,m.mc=g.isArrayOrTypedArray(y.color)?y.color[c]:y.color);var C=y&&y.line;C&&(m.mlc=Array.isArray(C.color)?C.color[c]:C.color,m.mlw=g.isArrayOrTypedArray(C.width)?C.width[c]:C.width);var _=y&&y.gradient;_&&_.type!=="none"&&(m.mgt=Array.isArray(_.type)?_.type[c]:_.type,m.mgc=Array.isArray(_.color)?_.color[c]:_.color);var k=u.c2p(m.x,!0),E=o.c2p(m.y,!0),x=m.mrc||1,A=a.hoverlabel;A&&(m.hbg=Array.isArray(A.bgcolor)?A.bgcolor[c]:A.bgcolor,m.hbc=Array.isArray(A.bordercolor)?A.bordercolor[c]:A.bordercolor,m.hts=g.isArrayOrTypedArray(A.font.size)?A.font.size[c]:A.font.size,m.htc=Array.isArray(A.font.color)?A.font.color[c]:A.font.color,m.htf=Array.isArray(A.font.family)?A.font.family[c]:A.font.family,m.hnl=g.isArrayOrTypedArray(A.namelength)?A.namelength[c]:A.namelength);var L=a.hoverinfo;L&&(m.hi=Array.isArray(L)?L[c]:L);var b=a.hovertemplate;b&&(m.ht=Array.isArray(b)?b[c]:b);var R={};R[v.index]=m;var I=a._origX,O=a._origY,z=g.extendFlat({},v,{color:i(a,m),x0:k-x,x1:k+x,xLabelVal:I?I[c]:m.x,y0:E-x,y1:E+x,yLabelVal:O?O[c]:m.y,cd:R,distance:s,spikeDistance:h,hovertemplate:m.ht});return m.htx?z.text=m.htx:m.tx?z.text=m.tx:a.text&&(z.text=a.text),g.fillText(m,a,z),d.getComponentMethod("errorbars","hoverInfo")(m,a,z),z}T.exports={hoverPoints:function(v,f,l,a){var u,o,s,h,c,m,w,y,C,_,k=v.cd,E=k[0].t,x=k[0].trace,A=v.xa,L=v.ya,b=E.x,R=E.y,I=A.c2p(f),O=L.c2p(l),z=v.distance;if(E.tree){var F=A.p2c(I-z),B=A.p2c(I+z),N=L.p2c(O-z),W=L.p2c(O+z);u=a==="x"?E.tree.range(Math.min(F,B),Math.min(L._rl[0],L._rl[1]),Math.max(F,B),Math.max(L._rl[0],L._rl[1])):E.tree.range(Math.min(F,B),Math.min(N,W),Math.max(F,B),Math.max(N,W))}else u=E.ids;var j=z;if(a==="x"){var $=!!x.xperiodalignment,U=!!x.yperiodalignment;for(m=0;m=Math.min(G,q)&&I<=Math.max(G,q)?0:1/0}if(w=Math.min(H,ne)&&O<=Math.max(H,ne)?0:1/0}_=Math.sqrt(w*w+y*y),s=u[m]}}}else for(m=u.length-1;m>-1;m--)h=b[o=u[m]],c=R[o],w=A.c2p(h)-I,y=L.c2p(c)-O,(C=Math.sqrt(w*w+y*y))k.glText.length){var b=A-k.glText.length;for(y=0;yue&&(isNaN(oe[ce])||isNaN(oe[ce+1]));)ce-=2;ie.positions=oe.slice(ue,ce+2)}return ie}),k.line2d.update(k.lineOptions)),k.error2d){var I=(k.errorXOptions||[]).concat(k.errorYOptions||[]);k.error2d.update(I)}k.scatter2d&&k.scatter2d.update(k.markerOptions),k.fillOrder=v.repeat(null,A),k.fill2d&&(k.fillOptions=k.fillOptions.map(function(ie,oe){var ue=w[oe];if(ie&&ue&&ue[0]&&ue[0].trace){var ce,ye,de=ue[0],me=de.trace,pe=de.t,xe=k.lineOptions[oe],Pe=[];me._ownfill&&Pe.push(oe),me._nexttrace&&Pe.push(oe+1),Pe.length&&(k.fillOrder[oe]=Pe);var _e,Me,Se=[],Ce=xe&&xe.positions||pe.positions;if(me.fill==="tozeroy"){for(_e=0;_e_e&&isNaN(Ce[Me+1]);)Me-=2;Ce[_e+1]!==0&&(Se=[Ce[_e],0]),Se=Se.concat(Ce.slice(_e,Me+2)),Ce[Me+1]!==0&&(Se=Se.concat([Ce[Me],0]))}else if(me.fill==="tozerox"){for(_e=0;_e_e&&isNaN(Ce[Me]);)Me-=2;Ce[_e]!==0&&(Se=[0,Ce[_e+1]]),Se=Se.concat(Ce.slice(_e,Me+2)),Ce[Me]!==0&&(Se=Se.concat([0,Ce[Me+1]]))}else if(me.fill==="toself"||me.fill==="tonext"){for(Se=[],ce=0,ie.splitNull=!0,ye=0;ye-1;for(y=0;y")}function C(_){return _+"°"}}T.exports={hoverPoints:function(a,u,o){var s=a.cd,h=s[0].trace,c=a.xa,m=a.ya,w=a.subplot,y=[],C=f+h.uid+"-circle",_=h.cluster&&h.cluster.enabled;if(_){var k=w.map.queryRenderedFeatures(null,{layers:[C]});y=k.map(function(B){return B.id})}var E=360*(u>=0?Math.floor((u+180)/360):Math.ceil((u-180)/360)),x=u-E;if(d.getClosest(s,function(B){var N=B.lonlat;if(N[0]===v||_&&y.indexOf(B.i+1)===-1)return 1/0;var W=g.modHalf(N[0],360),j=N[1],$=w.project([W,j]),U=$.x-c.c2p([x,j]),G=$.y-m.c2p([W,o]),q=Math.max(3,B.mrc||0);return Math.max(Math.sqrt(U*U+G*G)-q,1-3/q)},a),a.index!==!1){var A=s[a.index],L=A.lonlat,b=[g.modHalf(L[0],360)+E,L[1]],R=c.c2p(b),I=m.c2p(b),O=A.mrc||1;a.x0=R-O,a.x1=R+O,a.y0=I-O,a.y1=I+O;var z={};z[h.subplot]={_subplot:w};var F=h._module.formatLabels(A,h,z);return a.lonLabel=F.lonLabel,a.latLabel=F.latLabel,a.color=i(h,A),a.extraText=l(h,A,s[0].t.labels),a.hovertemplate=h.hovertemplate,[a]}},getExtraText:l}},20467:function(T,p,t){T.exports={attributes:t(99181),supplyDefaults:t(76645),colorbar:t(4898),formatLabels:t(15636),calc:t(84622),plot:t(86951),hoverPoints:t(28178).hoverPoints,eventData:t(53353),selectPoints:t(86387),styleOnSelect:function(d,g){g&&g[0].trace._glTrace.update(g)},moduleType:"trace",name:"scattermapbox",basePlotModule:t(50101),categories:["mapbox","gl","symbols","showLegend","scatter-like"],meta:{}}},86951:function(T,p,t){var d=t(71828),g=t(15790),i=t(77734).traceLayerPrefix,M={cluster:["cluster","clusterCount","circle"],nonCluster:["fill","line","circle","symbol"]};function v(l,a,u,o){this.type="scattermapbox",this.subplot=l,this.uid=a,this.clusterEnabled=u,this.isHidden=o,this.sourceIds={fill:"source-"+a+"-fill",line:"source-"+a+"-line",circle:"source-"+a+"-circle",symbol:"source-"+a+"-symbol",cluster:"source-"+a+"-circle",clusterCount:"source-"+a+"-circle"},this.layerIds={fill:i+a+"-fill",line:i+a+"-line",circle:i+a+"-circle",symbol:i+a+"-symbol",cluster:i+a+"-cluster",clusterCount:i+a+"-cluster-count"},this.below=null}var f=v.prototype;f.addSource=function(l,a,u){var o={type:"geojson",data:a.geojson};u&&u.enabled&&d.extendFlat(o,{cluster:!0,clusterMaxZoom:u.maxzoom});var s=this.subplot.map.getSource(this.sourceIds[l]);s?s.setData(a.geojson):this.subplot.map.addSource(this.sourceIds[l],o)},f.setSourceData=function(l,a){this.subplot.map.getSource(this.sourceIds[l]).setData(a.geojson)},f.addLayer=function(l,a,u){var o={type:a.type,id:this.layerIds[l],source:this.sourceIds[l],layout:a.layout,paint:a.paint};a.filter&&(o.filter=a.filter);for(var s,h=this.layerIds[l],c=this.subplot.getMapLayers(),m=0;m=0;b--){var R=L[b];o.removeLayer(w.layerIds[R])}A||o.removeSource(w.sourceIds.circle)}(x):function(A){for(var L=M.nonCluster,b=L.length-1;b>=0;b--){var R=L[b];o.removeLayer(w.layerIds[R]),A||o.removeSource(w.sourceIds[R])}}(x)}function C(x){c?function(A){A||w.addSource("circle",s.circle,a.cluster);for(var L=M.cluster,b=0;b=0;u--){var o=a[u];l.removeLayer(this.layerIds[o]),l.removeSource(this.sourceIds[o])}},T.exports=function(l,a){var u,o,s,h=a[0].trace,c=h.cluster&&h.cluster.enabled,m=h.visible!==!0,w=new v(l,h.uid,c,m),y=g(l.gd,a),C=w.below=l.belowLookup["trace-"+h.uid];if(c)for(w.addSource("circle",y.circle,h.cluster),u=0;u")}}T.exports={hoverPoints:function(i,M,v,f){var l=d(i,M,v,f);if(l&&l[0].index!==!1){var a=l[0];if(a.index===void 0)return l;var u=i.subplot,o=a.cd[a.index],s=a.trace;if(u.isPtInside(o))return a.xLabelVal=void 0,a.yLabelVal=void 0,g(o,s,u,a),a.hovertemplate=s.hovertemplate,l}},makeHoverPointText:g}},91271:function(T,p,t){T.exports={moduleType:"trace",name:"scatterpolar",basePlotModule:t(23580),categories:["polar","symbols","showLegend","scatter-like"],attributes:t(81245),supplyDefaults:t(22184).supplyDefaults,colorbar:t(4898),formatLabels:t(98608),calc:t(26442),plot:t(45162),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(59150).hoverPoints,selectPoints:t(98002),meta:{}}},45162:function(T,p,t){var d=t(32663),g=t(50606).BADNUM;T.exports=function(i,M,v){for(var f=M.layers.frontplot.select("g.scatterlayer"),l=M.xaxis,a=M.yaxis,u={xaxis:l,yaxis:a,plot:M.framework,layerClipId:M._hasClipOnAxisFalse?M.clipIds.forTraces:null},o=M.radialAxis,s=M.angularAxis,h=0;h=l&&(A.marker.cluster=_.tree),A.marker&&(A.markerSel.positions=A.markerUnsel.positions=A.marker.positions=R),A.line&&R.length>1&&f.extendFlat(A.line,v.linePositions(a,C,R)),A.text&&(f.extendFlat(A.text,{positions:R},v.textPosition(a,C,A.text,A.marker)),f.extendFlat(A.textSel,{positions:R},v.textPosition(a,C,A.text,A.markerSel)),f.extendFlat(A.textUnsel,{positions:R},v.textPosition(a,C,A.text,A.markerUnsel))),A.fill&&!c.fill2d&&(c.fill2d=!0),A.marker&&!c.scatter2d&&(c.scatter2d=!0),A.line&&!c.line2d&&(c.line2d=!0),A.text&&!c.glText&&(c.glText=!0),c.lineOptions.push(A.line),c.fillOptions.push(A.fill),c.markerOptions.push(A.marker),c.markerSelectedOptions.push(A.markerSel),c.markerUnselectedOptions.push(A.markerUnsel),c.textOptions.push(A.text),c.textSelectedOptions.push(A.textSel),c.textUnselectedOptions.push(A.textUnsel),c.selectBatch.push([]),c.unselectBatch.push([]),_.x=I,_.y=O,_.rawx=I,_.rawy=O,_.r=E,_.theta=x,_.positions=R,_._scene=c,_.index=c.count,c.count++}}),i(a,u,o)}},T.exports.reglPrecompiled={}},48300:function(T,p,t){var d=t(5386).fF,g=t(5386).si,i=t(1426).extendFlat,M=t(82196),v=t(9012),f=M.line;T.exports={mode:M.mode,real:{valType:"data_array",editType:"calc+clearAxisTypes"},imag:{valType:"data_array",editType:"calc+clearAxisTypes"},text:M.text,texttemplate:g({editType:"plot"},{keys:["real","imag","text"]}),hovertext:M.hovertext,line:{color:f.color,width:f.width,dash:f.dash,backoff:f.backoff,shape:i({},f.shape,{values:["linear","spline"]}),smoothing:f.smoothing,editType:"calc"},connectgaps:M.connectgaps,marker:M.marker,cliponaxis:i({},M.cliponaxis,{dflt:!1}),textposition:M.textposition,textfont:M.textfont,fill:i({},M.fill,{values:["none","toself","tonext"],dflt:"none"}),fillcolor:M.fillcolor,hoverinfo:i({},v.hoverinfo,{flags:["real","imag","text","name"]}),hoveron:M.hoveron,hovertemplate:d(),selected:M.selected,unselected:M.unselected}},30621:function(T,p,t){var d=t(92770),g=t(50606).BADNUM,i=t(36922),M=t(75225),v=t(66279),f=t(47761).calcMarkerSize;T.exports=function(l,a){for(var u=l._fullLayout,o=a.subplot,s=u[o].realaxis,h=u[o].imaginaryaxis,c=s.makeCalcdata(a,"real"),m=h.makeCalcdata(a,"imag"),w=a._length,y=new Array(w),C=0;C")}}T.exports={hoverPoints:function(i,M,v,f){var l=d(i,M,v,f);if(l&&l[0].index!==!1){var a=l[0];if(a.index===void 0)return l;var u=i.subplot,o=a.cd[a.index],s=a.trace;if(u.isPtInside(o))return a.xLabelVal=void 0,a.yLabelVal=void 0,g(o,s,u,a),a.hovertemplate=s.hovertemplate,l}},makeHoverPointText:g}},85956:function(T,p,t){T.exports={moduleType:"trace",name:"scattersmith",basePlotModule:t(7504),categories:["smith","symbols","showLegend","scatter-like"],attributes:t(48300),supplyDefaults:t(65269),colorbar:t(4898),formatLabels:t(62047),calc:t(30621),plot:t(12480),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(11350).hoverPoints,selectPoints:t(98002),meta:{}}},12480:function(T,p,t){var d=t(32663),g=t(50606).BADNUM,i=t(23893).smith;T.exports=function(M,v,f){for(var l=v.layers.frontplot.select("g.scatterlayer"),a=v.xaxis,u=v.yaxis,o={xaxis:a,yaxis:u,plot:v.framework,layerClipId:v._hasClipOnAxisFalse?v.clipIds.forTraces:null},s=0;s"),l.hovertemplate=c.hovertemplate,f}function E(x,A){_.push(x._hovertitle+": "+A)}}},52979:function(T,p,t){T.exports={attributes:t(50413),supplyDefaults:t(46008),colorbar:t(4898),formatLabels:t(93645),calc:t(54337),plot:t(7507),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(47250),selectPoints:t(98002),eventData:t(4524),moduleType:"trace",name:"scatterternary",basePlotModule:t(61639),categories:["ternary","symbols","showLegend","scatter-like"],meta:{}}},7507:function(T,p,t){var d=t(32663);T.exports=function(g,i,M){var v=i.plotContainer;v.select(".scatterlayer").selectAll("*").remove();for(var f=i.xaxis,l=i.yaxis,a={xaxis:f,yaxis:l,plot:v,layerClipId:i._hasClipOnAxisFalse?i.clipIdRelative:null},u=i.layers.frontplot.select("g.scatterlayer"),o=0;oo?x.sizeAvg||Math.max(x.size,3):i(h,E),m=0;mR&&z||b-1,j=!0;if(M(x)||w.selectedpoints||W){var $=w._length;if(w.selectedpoints){C.selectBatch=w.selectedpoints;var U=w.selectedpoints,G={};for(o=0;o1&&(m=k[A-1],y=E[A-1],_=x[A-1]),l=0;lm?"-":"+")+"x")).replace("y",(w>y?"-":"+")+"y")).replace("z",(C>_?"-":"+")+"z");var j=function(){A=0,B=[],N=[],W=[]};(!A||A2?c.slice(1,m-1):m===2?[(c[0]+c[1])/2]:c}function s(c){var m=c.length;return m===1?[.5,.5]:[c[1]-c[0],c[m-1]-c[m-2]]}function h(c,m){var w=c.fullSceneLayout,y=c.dataScale,C=m._len,_={};function k(te,Z){var X=w[Z],Q=y[l[Z]];return i.simpleMap(te,function(re){return X.d2l(re)*Q})}if(_.vectors=f(k(m._u,"xaxis"),k(m._v,"yaxis"),k(m._w,"zaxis"),C),!C)return{positions:[],cells:[]};var E=k(m._Xs,"xaxis"),x=k(m._Ys,"yaxis"),A=k(m._Zs,"zaxis");if(_.meshgrid=[E,x,A],_.gridFill=m._gridFill,m._slen)_.startingPositions=f(k(m._startsX,"xaxis"),k(m._startsY,"yaxis"),k(m._startsZ,"zaxis"));else{for(var L=x[0],b=o(E),R=o(A),I=new Array(b.length*R.length),O=0,z=0;z=0};L?(w=Math.min(A.length,R.length),y=function(ue){return N(A[ue])&&W(ue)},C=function(ue){return String(A[ue])}):(w=Math.min(b.length,R.length),y=function(ue){return N(b[ue])&&W(ue)},C=function(ue){return String(b[ue])}),O&&(w=Math.min(w,I.length));for(var j=0;j1){for(var q=i.randstr(),H=0;H"),name:B||ne("name")?L.name:void 0,color:F("hoverlabel.bgcolor")||b.color,borderColor:F("hoverlabel.bordercolor"),fontFamily:F("hoverlabel.font.family"),fontSize:F("hoverlabel.font.size"),fontColor:F("hoverlabel.font.color"),nameLength:F("hoverlabel.namelength"),textAlign:F("hoverlabel.align"),hovertemplate:B,hovertemplateLabels:G,eventData:A};_&&(X.x0=j-E.rInscribed*E.rpx1,X.x1=j+E.rInscribed*E.rpx1,X.idealAlign=E.pxmid[0]<0?"left":"right"),k&&(X.x=j,X.idealAlign=j<0?"left":"right");var Q=[];M.loneHover(X,{container:x._hoverlayer.node(),outerContainer:x._paper.node(),gd:h,inOut_bbox:Q}),A[0].bbox=Q[0],y._hasHoverLabel=!0}if(k){var re=o.select("path.surface");m.styleOne(re,E,L,{hovered:!0})}y._hasHoverEvent=!0,h.emit("plotly_hover",{points:A||[u(E,L,m.eventDataKeys)],event:d.event})}}),o.on("mouseout",function(E){var x=h._fullLayout,A=h._fullData[y.index],L=d.select(this).datum();if(y._hasHoverEvent&&(E.originalEvent=d.event,h.emit("plotly_unhover",{points:[u(L,A,m.eventDataKeys)],event:d.event}),y._hasHoverEvent=!1),y._hasHoverLabel&&(M.loneUnhover(x._hoverlayer.node()),y._hasHoverLabel=!1),k){var b=o.select("path.surface");m.styleOne(b,L,A,{hovered:!1})}}),o.on("click",function(E){var x=h._fullLayout,A=h._fullData[y.index],L=_&&(l.isHierarchyRoot(E)||l.isLeaf(E)),b=l.getPtId(E),R=l.isEntry(E)?l.findEntryWithChild(C,b):l.findEntryWithLevel(C,b),I=l.getPtId(R),O={points:[u(E,A,m.eventDataKeys)],event:d.event};L||(O.nextLevel=I);var z=f.triggerHandler(h,"plotly_"+y.type+"click",O);if(z!==!1&&x.hovermode&&(h._hoverdata=[u(E,A,m.eventDataKeys)],M.click(h,d.event)),!L&&z!==!1&&!h._dragging&&!h._transitioning){g.call("_storeDirectGUIEdit",A,x._tracePreGUI[A.uid],{level:A.level});var F={data:[{level:I}],traces:[y.index]},B={frame:{redraw:!1,duration:m.transitionTime},transition:{duration:m.transitionTime,easing:m.transitionEasing},mode:"immediate",fromcurrent:!0};M.loneUnhover(x._hoverlayer.node()),g.call("animate",h,F,B)}})}},2791:function(T,p,t){var d=t(71828),g=t(7901),i=t(6964),M=t(53581);function v(f){return f.data.data.pid}p.findEntryWithLevel=function(f,l){var a;return l&&f.eachAfter(function(u){if(p.getPtId(u)===l)return a=u.copy()}),a||f},p.findEntryWithChild=function(f,l){var a;return f.eachAfter(function(u){for(var o=u.children||[],s=0;s0)},p.getMaxDepth=function(f){return f.maxdepth>=0?f.maxdepth:1/0},p.isHeader=function(f,l){return!(p.isLeaf(f)||f.depth===l._maxDepth-1)},p.getParent=function(f,l){return p.findEntryWithLevel(f,v(l))},p.listPath=function(f,l){var a=f.parent;if(!a)return[];var u=l?[a.data[l]]:[a];return p.listPath(a,l).concat(u)},p.getPath=function(f){return p.listPath(f,"label").join("/")+"/"},p.formatValue=M.formatPieValue,p.formatPercent=function(f,l){var a=d.formatPercent(f,0);return a==="0%"&&(a=M.formatPiePercent(f,l)),a}},87619:function(T,p,t){T.exports={moduleType:"trace",name:"sunburst",basePlotModule:t(66888),categories:[],animatable:!0,attributes:t(57564),layoutAttributes:t(2654),supplyDefaults:t(17094),supplyLayoutDefaults:t(57034),calc:t(52147).calc,crossTraceCalc:t(52147).crossTraceCalc,plot:t(24714).plot,style:t(29969).style,colorbar:t(4898),meta:{}}},2654:function(T){T.exports={sunburstcolorway:{valType:"colorlist",editType:"calc"},extendsunburstcolors:{valType:"boolean",dflt:!0,editType:"calc"}}},57034:function(T,p,t){var d=t(71828),g=t(2654);T.exports=function(i,M){function v(f,l){return d.coerce(i,M,g,f,l)}v("sunburstcolorway",M.colorway),v("extendsunburstcolors")}},24714:function(T,p,t){var d=t(39898),g=t(674),i=t(81684).sX,M=t(91424),v=t(71828),f=t(63893),l=t(72597),a=l.recordMinTextSize,u=l.clearMinTextSize,o=t(14575),s=t(53581).getRotationAngle,h=o.computeTransform,c=o.transformInsideText,m=t(29969).styleOne,w=t(16688).resizeText,y=t(83523),C=t(7055),_=t(2791);function k(x,A,L,b){var R=x._context.staticPlot,I=x._fullLayout,O=!I.uniformtext.mode&&_.hasTransition(b),z=d.select(L).selectAll("g.slice"),F=A[0],B=F.trace,N=F.hierarchy,W=_.findEntryWithLevel(N,B.level),j=_.getMaxDepth(B),$=I._size,U=B.domain,G=$.w*(U.x[1]-U.x[0]),q=$.h*(U.y[1]-U.y[0]),H=.5*Math.min(G,q),ne=F.cx=$.l+$.w*(U.x[1]+U.x[0])/2,te=F.cy=$.t+$.h*(1-U.y[0])-q/2;if(!W)return z.remove();var Z=null,X={};O&&z.each(function(Ce){X[_.getPtId(Ce)]={rpx0:Ce.rpx0,rpx1:Ce.rpx1,x0:Ce.x0,x1:Ce.x1,transform:Ce.transform},!Z&&_.isEntry(Ce)&&(Z=Ce)});var Q=function(Ce){return g.partition().size([2*Math.PI,Ce.height+1])(Ce)}(W).descendants(),re=W.height+1,ie=0,oe=j;F.hasMultipleRoots&&_.isHierarchyRoot(W)&&(Q=Q.slice(1),re-=1,ie=1,oe+=1),Q=Q.filter(function(Ce){return Ce.y1<=oe});var ue=s(B.rotation);ue&&Q.forEach(function(Ce){Ce.x0+=ue,Ce.x1+=ue});var ce=Math.min(re,j),ye=function(Ce){return(Ce-ie)/ce*H},de=function(Ce,ae){return[Ce*Math.cos(ae),-Ce*Math.sin(ae)]},me=function(Ce){return v.pathAnnulus(Ce.rpx0,Ce.rpx1,Ce.x0,Ce.x1,ne,te)},pe=function(Ce){return ne+E(Ce)[0]*(Ce.transform.rCenter||0)+(Ce.transform.x||0)},xe=function(Ce){return te+E(Ce)[1]*(Ce.transform.rCenter||0)+(Ce.transform.y||0)};(z=z.data(Q,_.getPtId)).enter().append("g").classed("slice",!0),O?z.exit().transition().each(function(){var Ce=d.select(this);Ce.select("path.surface").transition().attrTween("d",function(ae){var fe=function(be){var ke,Le=_.getPtId(be),Be=X[Le],ze=X[_.getPtId(W)];if(ze){var je=(be.x1>ze.x1?2*Math.PI:0)+ue;ke=be.rpx1Pe?2*Math.PI:0)+ue;Ee={x0:Ye,x1:Ye}}else Ee={rpx0:H,rpx1:H},v.extendFlat(Ee,Se(we));else Ee={rpx0:0,rpx1:0};else Ee={x0:ue,x1:ue};return i(Ee,$e)}(je);return function(we){return me(ge(we))}}):fe.attr("d",me),ae.call(y,W,x,A,{eventDataKeys:C.eventDataKeys,transitionTime:C.CLICK_TRANSITION_TIME,transitionEasing:C.CLICK_TRANSITION_EASING}).call(_.setSliceCursor,x,{hideOnRoot:!0,hideOnLeaves:!0,isTransitioning:x._transitioning}),fe.call(m,Ce,B);var be=v.ensureSingle(ae,"g","slicetext"),ke=v.ensureSingle(be,"text","",function(je){je.attr("data-notex",1)}),Le=v.ensureUniformFontSize(x,_.determineTextFont(B,Ce,I.font));ke.text(p.formatSliceLabel(Ce,W,B,A,I)).classed("slicetext",!0).attr("text-anchor","middle").call(M.font,Le).call(f.convertToTspans,x);var Be=M.bBox(ke.node());Ce.transform=c(Be,Ce,F),Ce.transform.targetX=pe(Ce),Ce.transform.targetY=xe(Ce);var ze=function(je,ge){var we=je.transform;return h(we,ge),we.fontSize=Le.size,a(B.type,we,I),v.getTextTransform(we)};O?ke.transition().attrTween("transform",function(je){var ge=function(we){var Ee,Ve=X[_.getPtId(we)],$e=we.transform;if(Ve)Ee=Ve;else if(Ee={rpx1:we.rpx1,transform:{textPosAngle:$e.textPosAngle,scale:0,rotate:$e.rotate,rCenter:$e.rCenter,x:$e.x,y:$e.y}},Z)if(we.parent)if(Pe){var Ye=we.x1>Pe?2*Math.PI:0;Ee.x0=Ee.x1=Ye}else v.extendFlat(Ee,Se(we));else Ee.x0=Ee.x1=ue;else Ee.x0=Ee.x1=ue;var st=i(Ee.transform.textPosAngle,we.transform.textPosAngle),ot=i(Ee.rpx1,we.rpx1),ht=i(Ee.x0,we.x0),bt=i(Ee.x1,we.x1),Et=i(Ee.transform.scale,$e.scale),kt=i(Ee.transform.rotate,$e.rotate),xt=$e.rCenter===0?3:Ee.transform.rCenter===0?1/3:1,Ft=i(Ee.transform.rCenter,$e.rCenter);return function(Ot){var Bt=ot(Ot),qt=ht(Ot),Vt=bt(Ot),Ke=function(qe){return Ft(Math.pow(qe,xt))}(Ot),Je={pxmid:de(Bt,(qt+Vt)/2),rpx1:Bt,transform:{textPosAngle:st(Ot),rCenter:Ke,x:$e.x,y:$e.y}};return a(B.type,$e,I),{transform:{targetX:pe(Je),targetY:xe(Je),scale:Et(Ot),rotate:kt(Ot),rCenter:Ke}}}}(je);return function(we){return ze(ge(we),Be)}}):ke.attr("transform",ze(Ce,Be))})}function E(x){return A=x.rpx1,L=x.transform.textPosAngle,[A*Math.sin(L),-A*Math.cos(L)];var A,L}p.plot=function(x,A,L,b){var R,I,O=x._fullLayout,z=O._sunburstlayer,F=!L,B=!O.uniformtext.mode&&_.hasTransition(L);u("sunburst",O),(R=z.selectAll("g.trace.sunburst").data(A,function(N){return N[0].trace.uid})).enter().append("g").classed("trace",!0).classed("sunburst",!0).attr("stroke-linejoin","round"),R.order(),B?(b&&(I=b()),d.transition().duration(L.duration).ease(L.easing).each("end",function(){I&&I()}).each("interrupt",function(){I&&I()}).each(function(){z.selectAll("g.trace").each(function(N){k(x,N,this,L)})})):(R.each(function(N){k(x,N,this,L)}),O.uniformtext.mode&&w(x,O._sunburstlayer.selectAll(".trace"),"sunburst")),F&&R.exit().remove()},p.formatSliceLabel=function(x,A,L,b,R){var I=L.texttemplate,O=L.textinfo;if(!(I||O&&O!=="none"))return"";var z=R.separators,F=b[0],B=x.data.data,N=F.hierarchy,W=_.isHierarchyRoot(x),j=_.getParent(N,x),$=_.getValue(x);if(!I){var U,G=O.split("+"),q=function(oe){return G.indexOf(oe)!==-1},H=[];if(q("label")&&B.label&&H.push(B.label),B.hasOwnProperty("v")&&q("value")&&H.push(_.formatValue(B.v,z)),!W){q("current path")&&H.push(_.getPath(x.data));var ne=0;q("percent parent")&&ne++,q("percent entry")&&ne++,q("percent root")&&ne++;var te=ne>1;if(ne){var Z,X=function(oe){U=_.formatPercent(Z,z),te&&(U+=" of "+oe),H.push(U)};q("percent parent")&&!W&&(Z=$/_.getValue(j),X("parent")),q("percent entry")&&(Z=$/_.getValue(A),X("entry")),q("percent root")&&(Z=$/_.getValue(N),X("root"))}}return q("text")&&(U=v.castOption(L,B.i,"text"),v.isValidTextValue(U)&&H.push(U)),H.join("
")}var Q=v.castOption(L,B.i,"texttemplate");if(!Q)return"";var re={};B.label&&(re.label=B.label),B.hasOwnProperty("v")&&(re.value=B.v,re.valueLabel=_.formatValue(B.v,z)),re.currentPath=_.getPath(x.data),W||(re.percentParent=$/_.getValue(j),re.percentParentLabel=_.formatPercent(re.percentParent,z),re.parent=_.getPtLabel(j)),re.percentEntry=$/_.getValue(A),re.percentEntryLabel=_.formatPercent(re.percentEntry,z),re.entry=_.getPtLabel(A),re.percentRoot=$/_.getValue(N),re.percentRootLabel=_.formatPercent(re.percentRoot,z),re.root=_.getPtLabel(N),B.hasOwnProperty("color")&&(re.color=B.color);var ie=v.castOption(L,B.i,"text");return(v.isValidTextValue(ie)||ie==="")&&(re.text=ie),re.customdata=v.castOption(L,B.i,"customdata"),v.texttemplateString(Q,re,R._d3locale,re,L._meta||{})}},29969:function(T,p,t){var d=t(39898),g=t(7901),i=t(71828),M=t(72597).resizeText;function v(f,l,a){var u=l.data.data,o=!l.children,s=u.i,h=i.castOption(a,s,"marker.line.color")||g.defaultLine,c=i.castOption(a,s,"marker.line.width")||0;f.style("stroke-width",c).call(g.fill,u.color).call(g.stroke,h).style("opacity",o?a.leaf.opacity:null)}T.exports={style:function(f){var l=f._fullLayout._sunburstlayer.selectAll(".trace");M(f,l,"sunburst"),l.each(function(a){var u=d.select(this),o=a[0].trace;u.style("opacity",o.opacity),u.selectAll("path.surface").each(function(s){d.select(this).call(v,s,o)})})},styleOne:v}},54532:function(T,p,t){var d=t(7901),g=t(50693),i=t(12663).axisHoverFormat,M=t(5386).fF,v=t(9012),f=t(1426).extendFlat,l=t(30962).overrideAll;function a(o){return{show:{valType:"boolean",dflt:!1},start:{valType:"number",dflt:null,editType:"plot"},end:{valType:"number",dflt:null,editType:"plot"},size:{valType:"number",dflt:null,min:0,editType:"plot"},project:{x:{valType:"boolean",dflt:!1},y:{valType:"boolean",dflt:!1},z:{valType:"boolean",dflt:!1}},color:{valType:"color",dflt:d.defaultLine},usecolormap:{valType:"boolean",dflt:!1},width:{valType:"number",min:1,max:16,dflt:2},highlight:{valType:"boolean",dflt:!0},highlightcolor:{valType:"color",dflt:d.defaultLine},highlightwidth:{valType:"number",min:1,max:16,dflt:2}}}var u=T.exports=l(f({z:{valType:"data_array"},x:{valType:"data_array"},y:{valType:"data_array"},text:{valType:"string",dflt:"",arrayOk:!0},hovertext:{valType:"string",dflt:"",arrayOk:!0},hovertemplate:M(),xhoverformat:i("x"),yhoverformat:i("y"),zhoverformat:i("z"),connectgaps:{valType:"boolean",dflt:!1,editType:"calc"},surfacecolor:{valType:"data_array"}},g("",{colorAttr:"z or surfacecolor",showScaleDflt:!0,autoColorDflt:!1,editTypeOverride:"calc"}),{contours:{x:a(),y:a(),z:a()},hidesurface:{valType:"boolean",dflt:!1},lightposition:{x:{valType:"number",min:-1e5,max:1e5,dflt:10},y:{valType:"number",min:-1e5,max:1e5,dflt:1e4},z:{valType:"number",min:-1e5,max:1e5,dflt:0}},lighting:{ambient:{valType:"number",min:0,max:1,dflt:.8},diffuse:{valType:"number",min:0,max:1,dflt:.8},specular:{valType:"number",min:0,max:2,dflt:.05},roughness:{valType:"number",min:0,max:1,dflt:.5},fresnel:{valType:"number",min:0,max:5,dflt:.2}},opacity:{valType:"number",min:0,max:1,dflt:1},opacityscale:{valType:"any",editType:"calc"},_deprecated:{zauto:f({},g.zauto,{}),zmin:f({},g.zmin,{}),zmax:f({},g.zmax,{})},hoverinfo:f({},v.hoverinfo),showlegend:f({},v.showlegend,{dflt:!1})}),"calc","nested");u.x.editType=u.y.editType=u.z.editType="calc+clearAxisTypes",u.transforms=void 0},18396:function(T,p,t){var d=t(78803);T.exports=function(g,i){i.surfacecolor?d(g,i,{vals:i.surfacecolor,containerStr:"",cLetter:"c"}):d(g,i,{vals:i.z,containerStr:"",cLetter:"c"})}},43768:function(T,p,t){var d=t(9330).gl_surface3d,g=t(9330).ndarray,i=t(9330).ndarray_linear_interpolate.d2,M=t(824),v=t(43907),f=t(71828).isArrayOrTypedArray,l=t(81697).parseColorScale,a=t(78614),u=t(21081).extractOpts;function o(L,b,R){this.scene=L,this.uid=R,this.surface=b,this.data=null,this.showContour=[!1,!1,!1],this.contourStart=[null,null,null],this.contourEnd=[null,null,null],this.contourSize=[0,0,0],this.minValues=[1/0,1/0,1/0],this.maxValues=[-1/0,-1/0,-1/0],this.dataScaleX=1,this.dataScaleY=1,this.refineData=!0,this.objectOffset=[0,0,0]}var s=o.prototype;s.getXat=function(L,b,R,I){var O=f(this.data.x)?f(this.data.x[0])?this.data.x[b][L]:this.data.x[L]:L;return R===void 0?O:I.d2l(O,0,R)},s.getYat=function(L,b,R,I){var O=f(this.data.y)?f(this.data.y[0])?this.data.y[b][L]:this.data.y[b]:b;return R===void 0?O:I.d2l(O,0,R)},s.getZat=function(L,b,R,I){var O=this.data.z[b][L];return O===null&&this.data.connectgaps&&this.data._interpolatedZ&&(O=this.data._interpolatedZ[b][L]),R===void 0?O:I.d2l(O,0,R)},s.handlePick=function(L){if(L.object===this.surface){var b=(L.data.index[0]-1)/this.dataScaleX-1,R=(L.data.index[1]-1)/this.dataScaleY-1,I=Math.max(Math.min(Math.round(b),this.data.z[0].length-1),0),O=Math.max(Math.min(Math.round(R),this.data._ylength-1),0);L.index=[I,O],L.traceCoordinate=[this.getXat(I,O),this.getYat(I,O),this.getZat(I,O)],L.dataCoordinate=[this.getXat(I,O,this.data.xcalendar,this.scene.fullSceneLayout.xaxis),this.getYat(I,O,this.data.ycalendar,this.scene.fullSceneLayout.yaxis),this.getZat(I,O,this.data.zcalendar,this.scene.fullSceneLayout.zaxis)];for(var z=0;z<3;z++)L.dataCoordinate[z]!=null&&(L.dataCoordinate[z]*=this.scene.dataScale[z]);var F=this.data.hovertext||this.data.text;return Array.isArray(F)&&F[O]&&F[O][I]!==void 0?L.textLabel=F[O][I]:L.textLabel=F||"",L.data.dataCoordinate=L.dataCoordinate.slice(),this.surface.highlight(L.data),this.scene.glplot.spikes.position=L.dataCoordinate,!0}};var h=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997,1009,1013,1019,1021,1031,1033,1039,1049,1051,1061,1063,1069,1087,1091,1093,1097,1103,1109,1117,1123,1129,1151,1153,1163,1171,1181,1187,1193,1201,1213,1217,1223,1229,1231,1237,1249,1259,1277,1279,1283,1289,1291,1297,1301,1303,1307,1319,1321,1327,1361,1367,1373,1381,1399,1409,1423,1427,1429,1433,1439,1447,1451,1453,1459,1471,1481,1483,1487,1489,1493,1499,1511,1523,1531,1543,1549,1553,1559,1567,1571,1579,1583,1597,1601,1607,1609,1613,1619,1621,1627,1637,1657,1663,1667,1669,1693,1697,1699,1709,1721,1723,1733,1741,1747,1753,1759,1777,1783,1787,1789,1801,1811,1823,1831,1847,1861,1867,1871,1873,1877,1879,1889,1901,1907,1913,1931,1933,1949,1951,1973,1979,1987,1993,1997,1999,2003,2011,2017,2027,2029,2039,2053,2063,2069,2081,2083,2087,2089,2099,2111,2113,2129,2131,2137,2141,2143,2153,2161,2179,2203,2207,2213,2221,2237,2239,2243,2251,2267,2269,2273,2281,2287,2293,2297,2309,2311,2333,2339,2341,2347,2351,2357,2371,2377,2381,2383,2389,2393,2399,2411,2417,2423,2437,2441,2447,2459,2467,2473,2477,2503,2521,2531,2539,2543,2549,2551,2557,2579,2591,2593,2609,2617,2621,2633,2647,2657,2659,2663,2671,2677,2683,2687,2689,2693,2699,2707,2711,2713,2719,2729,2731,2741,2749,2753,2767,2777,2789,2791,2797,2801,2803,2819,2833,2837,2843,2851,2857,2861,2879,2887,2897,2903,2909,2917,2927,2939,2953,2957,2963,2969,2971,2999];function c(L,b){if(L0){R=h[I];break}return R}function y(L,b){if(!(L<1||b<1)){for(var R=m(L),I=m(b),O=1,z=0;zk;)R--,R/=w(R),++R<_&&(R=k);var I=Math.round(R/L);return I>1?I:1},s.refineCoords=function(L){for(var b=this.dataScaleX,R=this.dataScaleY,I=L[0].shape[0],O=L[0].shape[1],z=0|Math.floor(L[0].shape[0]*b+1),F=0|Math.floor(L[0].shape[1]*R+1),B=1+I+1,N=1+O+1,W=g(new Float32Array(B*N),[B,N]),j=[1/b,0,0,0,1/R,0,0,0,1],$=0;$0&&this.contourStart[L]!==null&&this.contourEnd[L]!==null&&this.contourEnd[L]>this.contourStart[L]))for(O[L]=!0,b=this.contourStart[L];bO&&(this.minValues[b]=O),this.maxValues[b]",maxDimensionCount:60,overdrag:45,releaseTransitionDuration:120,releaseTransitionEase:"cubic-out",scrollbarCaptureWidth:18,scrollbarHideDelay:1e3,scrollbarHideDuration:1e3,scrollbarOffset:5,scrollbarWidth:8,transitionDuration:100,transitionEase:"cubic-out",uplift:5,wrapSpacer:" ",wrapSplitCharacter:" ",cn:{table:"table",tableControlView:"table-control-view",scrollBackground:"scroll-background",yColumn:"y-column",columnBlock:"column-block",scrollAreaClip:"scroll-area-clip",scrollAreaClipRect:"scroll-area-clip-rect",columnBoundary:"column-boundary",columnBoundaryClippath:"column-boundary-clippath",columnBoundaryRect:"column-boundary-rect",columnCells:"column-cells",columnCell:"column-cell",cellRect:"cell-rect",cellText:"cell-text",cellTextHolder:"cell-text-holder",scrollbarKit:"scrollbar-kit",scrollbar:"scrollbar",scrollbarSlider:"scrollbar-slider",scrollbarGlyph:"scrollbar-glyph",scrollbarCaptureZone:"scrollbar-capture-zone"}}},51018:function(T,p,t){var d=t(49850),g=t(1426).extendFlat,i=t(92770);function M(s){if(Array.isArray(s)){for(var h=0,c=0;c=h||E===s.length-1)&&(m[w]=C,C.key=k++,C.firstRowIndex=_,C.lastRowIndex=E,C={firstRowIndex:null,lastRowIndex:null,rows:[]},w+=y,_=E+1,y=0);return m}T.exports=function(s,h){var c=f(h.cells.values),m=function(W){return W.slice(h.header.values.length,W.length)},w=f(h.header.values);w.length&&!w[0].length&&(w[0]=[""],w=f(w));var y=w.concat(m(c).map(function(){return l((w[0]||[""]).length)})),C=h.domain,_=Math.floor(s._fullLayout._size.w*(C.x[1]-C.x[0])),k=Math.floor(s._fullLayout._size.h*(C.y[1]-C.y[0])),E=h.header.values.length?y[0].map(function(){return h.header.height}):[d.emptyHeaderHeight],x=c.length?c[0].map(function(){return h.cells.height}):[],A=E.reduce(v,0),L=o(x,k-A+d.uplift),b=u(o(E,A),[]),R=u(L,b),I={},O=h._fullInput.columnorder.concat(m(c.map(function(W,j){return j}))),z=y.map(function(W,j){var $=Array.isArray(h.columnwidth)?h.columnwidth[Math.min(j,h.columnwidth.length-1)]:h.columnwidth;return i($)?Number($):1}),F=z.reduce(v,0);z=z.map(function(W){return W/F*_});var B=Math.max(M(h.header.line.width),M(h.cells.line.width)),N={key:h.uid+s._context.staticPlot,translateX:C.x[0]*s._fullLayout._size.w,translateY:s._fullLayout._size.h*(1-C.y[1]),size:s._fullLayout._size,width:_,maxLineWidth:B,height:k,columnOrder:O,groupHeight:k,rowBlocks:R,headerRowBlocks:b,scrollY:0,cells:g({},h.cells,{values:c}),headerCells:g({},h.header,{values:y}),gdColumns:y.map(function(W){return W[0]}),gdColumnsOriginalOrder:y.map(function(W){return W[0]}),prevPages:[0,0],scrollbarState:{scrollbarScrollInProgress:!1},columns:y.map(function(W,j){var $=I[W];return I[W]=($||0)+1,{key:W+"__"+I[W],label:W,specIndex:j,xIndex:O[j],xScale:a,x:void 0,calcdata:void 0,columnWidth:z[j]}})};return N.columns.forEach(function(W){W.calcdata=N,W.x=a(W)}),N}},56269:function(T,p,t){var d=t(1426).extendFlat;p.splitToPanels=function(g){var i=[0,0],M=d({},g,{key:"header",type:"header",page:0,prevPages:i,currentRepaint:[null,null],dragHandle:!0,values:g.calcdata.headerCells.values[g.specIndex],rowBlocks:g.calcdata.headerRowBlocks,calcdata:d({},g.calcdata,{cells:g.calcdata.headerCells})});return[d({},g,{key:"cells1",type:"cells",page:0,prevPages:i,currentRepaint:[null,null],dragHandle:!1,values:g.calcdata.cells.values[g.specIndex],rowBlocks:g.calcdata.rowBlocks}),d({},g,{key:"cells2",type:"cells",page:1,prevPages:i,currentRepaint:[null,null],dragHandle:!1,values:g.calcdata.cells.values[g.specIndex],rowBlocks:g.calcdata.rowBlocks}),M]},p.splitToCells=function(g){var i=function(M){var v=M.rowBlocks[M.page],f=v?v.rows[0].rowIndex:0;return[f,v?f+v.rows.length:0]}(g);return(g.values||[]).slice(i[0],i[1]).map(function(M,v){return{keyWithinBlock:v+(typeof M=="string"&&M.match(/[<$&> ]/)?"_keybuster_"+Math.random():""),key:i[0]+v,column:g,calcdata:g.calcdata,page:g.page,rowBlocks:g.rowBlocks,value:M}})}},39754:function(T,p,t){var d=t(71828),g=t(44464),i=t(27670).c;T.exports=function(M,v,f,l){function a(u,o){return d.coerce(M,v,g,u,o)}i(v,l,a),a("columnwidth"),a("header.values"),a("header.format"),a("header.align"),a("header.prefix"),a("header.suffix"),a("header.height"),a("header.line.width"),a("header.line.color"),a("header.fill.color"),d.coerceFont(a,"header.font",d.extendFlat({},l.font)),function(u,o){for(var s=u.columnorder||[],h=u.header.values.length,c=s.slice(0,h),m=c.slice().sort(function(C,_){return C-_}),w=c.map(function(C){return m.indexOf(C)}),y=w.length;y/i),ue=!ie||oe;Z.mayHaveMarkup=ie&&re.match(/[<&>]/);var ce,ye=typeof(ce=re)=="string"&&ce.match(d.latexCheck);Z.latex=ye;var de,me,pe=ye?"":x(Z.calcdata.cells.prefix,X,Q)||"",xe=ye?"":x(Z.calcdata.cells.suffix,X,Q)||"",Pe=ye?null:x(Z.calcdata.cells.format,X,Q)||null,_e=pe+(Pe?i(Pe)(Z.value):Z.value)+xe;if(Z.wrappingNeeded=!Z.wrapped&&!ue&&!ye&&(de=E(_e)),Z.cellHeightMayIncrease=oe||ye||Z.mayHaveMarkup||(de===void 0?E(_e):de),Z.needsConvertToTspans=Z.mayHaveMarkup||Z.wrappingNeeded||Z.latex,Z.wrappingNeeded){var Me=(d.wrapSplitCharacter===" "?_e.replace(/me&&de.push(pe),me+=_e}return de}(Z,ie,re);oe.length===1&&(oe[0]===Z.length-1?oe.unshift(oe[0]-1):oe.push(oe[0]+1)),oe[0]%2&&oe.reverse(),H.each(function(ue,ce){ue.page=oe[ce],ue.scrollY=ie}),H.attr("transform",function(ue){var ce=j(ue.rowBlocks,ue.page)-ue.scrollY;return a(0,ce)}),q&&(z(q,ne,H,oe,te.prevPages,te,0),z(q,ne,H,oe,te.prevPages,te,1),C(ne,q))}}function O(q,H,ne,te){return function(Z){var X=Z.calcdata?Z.calcdata:Z,Q=H.filter(function(ue){return X.key===ue.key}),re=ne||X.scrollbarState.dragMultiplier,ie=X.scrollY;X.scrollY=te===void 0?X.scrollY+re*g.event.dy:te;var oe=Q.selectAll("."+d.cn.yColumn).selectAll("."+d.cn.columnBlock).filter(L);return I(q,oe,Q),X.scrollY===ie}}function z(q,H,ne,te,Z,X,Q){te[Q]!==Z[Q]&&(clearTimeout(X.currentRepaint[Q]),X.currentRepaint[Q]=setTimeout(function(){var re=ne.filter(function(ie,oe){return oe===Q&&te[oe]!==Z[oe]});_(q,H,re,ne),Z[Q]=te[Q]}))}function F(q,H,ne,te){return function(){var Z=g.select(H.parentNode);Z.each(function(X){var Q=X.fragments;Z.selectAll("tspan.line").each(function(me,pe){Q[pe].width=this.getComputedTextLength()});var re,ie,oe=Q[Q.length-1].width,ue=Q.slice(0,-1),ce=[],ye=0,de=X.column.columnWidth-2*d.cellPad;for(X.value="";ue.length;)ye+(ie=(re=ue.shift()).width+oe)>de&&(X.value+=ce.join(d.wrapSpacer)+d.lineBreaker,ce=[],ye=0),ce.push(re.text),ye+=ie;ye&&(X.value+=ce.join(d.wrapSpacer)),X.wrapped=!0}),Z.selectAll("tspan.line").remove(),k(Z.select("."+d.cn.cellText),ne,q,te),g.select(H.parentNode.parentNode).call(W)}}function B(q,H,ne,te,Z){return function(){if(!Z.settledY){var X=g.select(H.parentNode),Q=G(Z),re=Z.key-Q.firstRowIndex,ie=Q.rows[re].rowHeight,oe=Z.cellHeightMayIncrease?H.parentNode.getBoundingClientRect().height+2*d.cellPad:ie,ue=Math.max(oe,ie);ue-Q.rows[re].rowHeight&&(Q.rows[re].rowHeight=ue,q.selectAll("."+d.cn.columnCell).call(W),I(null,q.filter(L),0),C(ne,te,!0)),X.attr("transform",function(){var ce=this,ye=ce.parentNode.getBoundingClientRect(),de=g.select(ce.parentNode).select("."+d.cn.cellRect).node().getBoundingClientRect(),me=ce.transform.baseVal.consolidate(),pe=de.top-ye.top+(me?me.matrix.f:d.cellPad);return a(N(Z,g.select(ce.parentNode).select("."+d.cn.cellTextHolder).node().getBoundingClientRect().width),pe)}),Z.settledY=!0}}}function N(q,H){switch(q.align){case"left":default:return d.cellPad;case"right":return q.column.columnWidth-(H||0)-d.cellPad;case"center":return(q.column.columnWidth-(H||0))/2}}function W(q){q.attr("transform",function(H){var ne=H.rowBlocks[0].auxiliaryBlocks.reduce(function(Z,X){return Z+$(X,1/0)},0),te=$(G(H),H.key);return a(0,te+ne)}).selectAll("."+d.cn.cellRect).attr("height",function(H){return(ne=G(H),te=H.key,ne.rows[te-ne.firstRowIndex]).rowHeight;var ne,te})}function j(q,H){for(var ne=0,te=H-1;te>=0;te--)ne+=U(q[te]);return ne}function $(q,H){for(var ne=0,te=0;te","<","|","/","\\"],dflt:">",editType:"plot"},thickness:{valType:"number",min:12,editType:"plot"},textfont:a({},v.textfont,{}),editType:"calc"},text:v.text,textinfo:f.textinfo,texttemplate:g({editType:"plot"},{keys:l.eventDataKeys.concat(["label","value"])}),hovertext:v.hovertext,hoverinfo:f.hoverinfo,hovertemplate:d({},{keys:l.eventDataKeys}),textfont:v.textfont,insidetextfont:v.insidetextfont,outsidetextfont:a({},v.outsidetextfont,{}),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],dflt:"top left",editType:"plot"},sort:v.sort,root:f.root,domain:M({name:"treemap",trace:!0,editType:"calc"})}},78018:function(T,p,t){var d=t(74875);p.name="treemap",p.plot=function(g,i,M,v){d.plotBasePlot(p.name,g,i,M,v)},p.clean=function(g,i,M,v){d.cleanBasePlot(p.name,g,i,M,v)}},65039:function(T,p,t){var d=t(52147);p.y=function(g,i){return d.calc(g,i)},p.T=function(g){return d._runCrossTraceCalc("treemap",g)}},43473:function(T){T.exports={CLICK_TRANSITION_TIME:750,CLICK_TRANSITION_EASING:"poly",eventDataKeys:["currentPath","root","entry","percentRoot","percentEntry","percentParent"],gapWithPathbar:1}},91174:function(T,p,t){var d=t(71828),g=t(45802),i=t(7901),M=t(27670).c,v=t(90769).handleText,f=t(97313).TEXTPAD,l=t(21081),a=l.hasColorscale,u=l.handleDefaults;T.exports=function(o,s,h,c){function m(L,b){return d.coerce(o,s,g,L,b)}var w=m("labels"),y=m("parents");if(w&&w.length&&y&&y.length){var C=m("values");C&&C.length?m("branchvalues"):m("count"),m("level"),m("maxdepth"),m("tiling.packing")==="squarify"&&m("tiling.squarifyratio"),m("tiling.flip"),m("tiling.pad");var _=m("text");m("texttemplate"),s.texttemplate||m("textinfo",Array.isArray(_)?"text+label":"label"),m("hovertext"),m("hovertemplate");var k=m("pathbar.visible");v(o,s,c,m,"auto",{hasPathbar:k,moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),m("textposition");var E=s.textposition.indexOf("bottom")!==-1;m("marker.line.width")&&m("marker.line.color",c.paper_bgcolor);var x=m("marker.colors");(s._hasColorscale=a(o,"marker","colors")||(o.marker||{}).coloraxis)?u(o,s,c,m,{prefix:"marker.",cLetter:"c"}):m("marker.depthfade",!(x||[]).length);var A=2*s.textfont.size;m("marker.pad.t",E?A/4:A),m("marker.pad.l",A/4),m("marker.pad.r",A/4),m("marker.pad.b",E?A:A/4),m("marker.cornerradius"),s._hovered={marker:{line:{width:2,color:i.contrast(c.paper_bgcolor)}}},k&&(m("pathbar.thickness",s.pathbar.textfont.size+2*f),m("pathbar.side"),m("pathbar.edgeshape")),m("sort"),m("root.color"),M(s,c,m),s._length=null}else s.visible=!1}},80694:function(T,p,t){var d=t(39898),g=t(2791),i=t(72597).clearMinTextSize,M=t(16688).resizeText,v=t(46650);T.exports=function(f,l,a,u,o){var s,h,c=o.type,m=o.drawDescendants,w=f._fullLayout,y=w["_"+c+"layer"],C=!a;i(c,w),(s=y.selectAll("g.trace."+c).data(l,function(_){return _[0].trace.uid})).enter().append("g").classed("trace",!0).classed(c,!0),s.order(),!w.uniformtext.mode&&g.hasTransition(a)?(u&&(h=u()),d.transition().duration(a.duration).ease(a.easing).each("end",function(){h&&h()}).each("interrupt",function(){h&&h()}).each(function(){y.selectAll("g.trace").each(function(_){v(f,_,this,a,m)})})):(s.each(function(_){v(f,_,this,a,m)}),w.uniformtext.mode&&M(f,y.selectAll(".trace"),c)),C&&s.exit().remove()}},66209:function(T,p,t){var d=t(39898),g=t(71828),i=t(91424),M=t(63893),v=t(37210),f=t(96362).styleOne,l=t(43473),a=t(2791),u=t(83523),o=!0;T.exports=function(s,h,c,m,w){var y=w.barDifY,C=w.width,_=w.height,k=w.viewX,E=w.viewY,x=w.pathSlice,A=w.toMoveInsideSlice,L=w.strTransform,b=w.hasTransition,R=w.handleSlicesExit,I=w.makeUpdateSliceInterpolator,O=w.makeUpdateTextInterpolator,z={},F=s._context.staticPlot,B=s._fullLayout,N=h[0],W=N.trace,j=N.hierarchy,$=C/W._entryDepth,U=a.listPath(c.data,"id"),G=v(j.copy(),[C,_],{packing:"dice",pad:{inner:0,top:0,left:0,right:0,bottom:0}}).descendants();(G=G.filter(function(H){var ne=U.indexOf(H.data.id);return ne!==-1&&(H.x0=$*ne,H.x1=$*(ne+1),H.y0=y,H.y1=y+_,H.onPathbar=!0,!0)})).reverse(),(m=m.data(G,a.getPtId)).enter().append("g").classed("pathbar",!0),R(m,o,z,[C,_],x),m.order();var q=m;b&&(q=q.transition().each("end",function(){var H=d.select(this);a.setSliceCursor(H,s,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:!1})})),q.each(function(H){H._x0=k(H.x0),H._x1=k(H.x1),H._y0=E(H.y0),H._y1=E(H.y1),H._hoverX=k(H.x1-Math.min(C,_)/2),H._hoverY=E(H.y1-_/2);var ne=d.select(this),te=g.ensureSingle(ne,"path","surface",function(re){re.style("pointer-events",F?"none":"all")});b?te.transition().attrTween("d",function(re){var ie=I(re,o,z,[C,_]);return function(oe){return x(ie(oe))}}):te.attr("d",x),ne.call(u,c,s,h,{styleOne:f,eventDataKeys:l.eventDataKeys,transitionTime:l.CLICK_TRANSITION_TIME,transitionEasing:l.CLICK_TRANSITION_EASING}).call(a.setSliceCursor,s,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:s._transitioning}),te.call(f,H,W,{hovered:!1}),H._text=(a.getPtLabel(H)||"").split("
").join(" ")||"";var Z=g.ensureSingle(ne,"g","slicetext"),X=g.ensureSingle(Z,"text","",function(re){re.attr("data-notex",1)}),Q=g.ensureUniformFontSize(s,a.determineTextFont(W,H,B.font,{onPathbar:!0}));X.text(H._text||" ").classed("slicetext",!0).attr("text-anchor","start").call(i.font,Q).call(M.convertToTspans,s),H.textBB=i.bBox(X.node()),H.transform=A(H,{fontSize:Q.size,onPathbar:!0}),H.transform.fontSize=Q.size,b?X.transition().attrTween("transform",function(re){var ie=O(re,o,z,[C,_]);return function(oe){return L(ie(oe))}}):X.attr("transform",L(H))})}},52583:function(T,p,t){var d=t(39898),g=t(71828),i=t(91424),M=t(63893),v=t(37210),f=t(96362).styleOne,l=t(43473),a=t(2791),u=t(83523),o=t(24714).formatSliceLabel,s=!1;T.exports=function(h,c,m,w,y){var C=y.width,_=y.height,k=y.viewX,E=y.viewY,x=y.pathSlice,A=y.toMoveInsideSlice,L=y.strTransform,b=y.hasTransition,R=y.handleSlicesExit,I=y.makeUpdateSliceInterpolator,O=y.makeUpdateTextInterpolator,z=y.prevEntry,F=h._context.staticPlot,B=h._fullLayout,N=c[0].trace,W=N.textposition.indexOf("left")!==-1,j=N.textposition.indexOf("right")!==-1,$=N.textposition.indexOf("bottom")!==-1,U=!$&&!N.marker.pad.t||$&&!N.marker.pad.b,G=v(m,[C,_],{packing:N.tiling.packing,squarifyratio:N.tiling.squarifyratio,flipX:N.tiling.flip.indexOf("x")>-1,flipY:N.tiling.flip.indexOf("y")>-1,pad:{inner:N.tiling.pad,top:N.marker.pad.t,left:N.marker.pad.l,right:N.marker.pad.r,bottom:N.marker.pad.b}}).descendants(),q=1/0,H=-1/0;G.forEach(function(Q){var re=Q.depth;re>=N._maxDepth?(Q.x0=Q.x1=(Q.x0+Q.x1)/2,Q.y0=Q.y1=(Q.y0+Q.y1)/2):(q=Math.min(q,re),H=Math.max(H,re))}),w=w.data(G,a.getPtId),N._maxVisibleLayers=isFinite(H)?H-q+1:0,w.enter().append("g").classed("slice",!0),R(w,s,{},[C,_],x),w.order();var ne=null;if(b&&z){var te=a.getPtId(z);w.each(function(Q){ne===null&&a.getPtId(Q)===te&&(ne={x0:Q.x0,x1:Q.x1,y0:Q.y0,y1:Q.y1})})}var Z=function(){return ne||{x0:0,x1:C,y0:0,y1:_}},X=w;return b&&(X=X.transition().each("end",function(){var Q=d.select(this);a.setSliceCursor(Q,h,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})})),X.each(function(Q){var re=a.isHeader(Q,N);Q._x0=k(Q.x0),Q._x1=k(Q.x1),Q._y0=E(Q.y0),Q._y1=E(Q.y1),Q._hoverX=k(Q.x1-N.marker.pad.r),Q._hoverY=E($?Q.y1-N.marker.pad.b/2:Q.y0+N.marker.pad.t/2);var ie=d.select(this),oe=g.ensureSingle(ie,"path","surface",function(de){de.style("pointer-events",F?"none":"all")});b?oe.transition().attrTween("d",function(de){var me=I(de,s,Z(),[C,_]);return function(pe){return x(me(pe))}}):oe.attr("d",x),ie.call(u,m,h,c,{styleOne:f,eventDataKeys:l.eventDataKeys,transitionTime:l.CLICK_TRANSITION_TIME,transitionEasing:l.CLICK_TRANSITION_EASING}).call(a.setSliceCursor,h,{isTransitioning:h._transitioning}),oe.call(f,Q,N,{hovered:!1}),Q.x0===Q.x1||Q.y0===Q.y1?Q._text="":Q._text=re?U?"":a.getPtLabel(Q)||"":o(Q,m,N,c,B)||"";var ue=g.ensureSingle(ie,"g","slicetext"),ce=g.ensureSingle(ue,"text","",function(de){de.attr("data-notex",1)}),ye=g.ensureUniformFontSize(h,a.determineTextFont(N,Q,B.font));ce.text(Q._text||" ").classed("slicetext",!0).attr("text-anchor",j?"end":W||re?"start":"middle").call(i.font,ye).call(M.convertToTspans,h),Q.textBB=i.bBox(ce.node()),Q.transform=A(Q,{fontSize:ye.size,isHeader:re}),Q.transform.fontSize=ye.size,b?ce.transition().attrTween("transform",function(de){var me=O(de,s,Z(),[C,_]);return function(pe){return L(me(pe))}}):ce.attr("transform",L(Q))}),ne}},14102:function(T){T.exports=function p(t,d,g){var i;g.swapXY&&(i=t.x0,t.x0=t.y0,t.y0=i,i=t.x1,t.x1=t.y1,t.y1=i),g.flipX&&(i=t.x0,t.x0=d[0]-t.x1,t.x1=d[0]-i),g.flipY&&(i=t.y0,t.y0=d[1]-t.y1,t.y1=d[1]-i);var M=t.children;if(M)for(var v=0;v-1?N+$:-(j+$):0,G={x0:W,x1:W,y0:U,y1:U+j},q=function(ge,we,Ee){var Ve=_.tiling.pad,$e=function(ht){return ht-Ve<=we.x0},Ye=function(ht){return ht+Ve>=we.x1},st=function(ht){return ht-Ve<=we.y0},ot=function(ht){return ht+Ve>=we.y1};return ge.x0===we.x0&&ge.x1===we.x1&&ge.y0===we.y0&&ge.y1===we.y1?{x0:ge.x0,x1:ge.x1,y0:ge.y0,y1:ge.y1}:{x0:$e(ge.x0-Ve)?0:Ye(ge.x0-Ve)?Ee[0]:ge.x0,x1:$e(ge.x1+Ve)?0:Ye(ge.x1+Ve)?Ee[0]:ge.x1,y0:st(ge.y0-Ve)?0:ot(ge.y0-Ve)?Ee[1]:ge.y0,y1:st(ge.y1+Ve)?0:ot(ge.y1+Ve)?Ee[1]:ge.y1}},H=null,ne={},te={},Z=null,X=function(ge,we){return we?ne[o(ge)]:te[o(ge)]};C.hasMultipleRoots&&R&&O++,_._maxDepth=O,_._backgroundColor=y.paper_bgcolor,_._entryDepth=x.data.depth,_._atRootLevel=R;var Q=-B/2+z.l+z.w*(F.x[1]+F.x[0])/2,re=-N/2+z.t+z.h*(1-(F.y[1]+F.y[0])/2),ie=function(ge){return Q+ge},oe=function(ge){return re+ge},ue=oe(0),ce=ie(0),ye=function(ge){return ce+ge},de=function(ge){return ue+ge};function me(ge,we){return ge+","+we}var pe=ye(0),xe=function(ge){ge.x=Math.max(pe,ge.x)},Pe=_.pathbar.edgeshape,_e=_[k?"tiling":"marker"].pad,Me=function(ge){return _.textposition.indexOf(ge)!==-1},Se=Me("top"),Ce=Me("left"),ae=Me("right"),fe=Me("bottom"),be=function(ge,we){var Ee=ge.x0,Ve=ge.x1,$e=ge.y0,Ye=ge.y1,st=ge.textBB,ot=Se||we.isHeader&&!fe?"start":fe?"end":"middle",ht=Me("right"),bt=Me("left")||we.onPathbar?-1:ht?1:0;if(we.isHeader){if((Ee+=(k?_e:_e.l)-v)>=(Ve-=(k?_e:_e.r)-v)){var Et=(Ee+Ve)/2;Ee=Et,Ve=Et}var kt;fe?$e<(kt=Ye-(k?_e:_e.b))&&kt"?(ht.x-=Ye,bt.x-=Ye,Et.x-=Ye,kt.x-=Ye):Pe==="/"?(Et.x-=Ye,kt.x-=Ye,st.x-=Ye/2,ot.x-=Ye/2):Pe==="\\"?(ht.x-=Ye,bt.x-=Ye,st.x-=Ye/2,ot.x-=Ye/2):Pe==="<"&&(st.x-=Ye,ot.x-=Ye),xe(ht),xe(kt),xe(st),xe(bt),xe(Et),xe(ot),"M"+me(ht.x,ht.y)+"L"+me(bt.x,bt.y)+"L"+me(ot.x,ot.y)+"L"+me(Et.x,Et.y)+"L"+me(kt.x,kt.y)+"L"+me(st.x,st.y)+"Z"},toMoveInsideSlice:be,makeUpdateSliceInterpolator:Le,makeUpdateTextInterpolator:Be,handleSlicesExit:ze,hasTransition:I,strTransform:je}):L.remove()}},96362:function(T,p,t){var d=t(39898),g=t(7901),i=t(71828),M=t(2791),v=t(72597).resizeText;function f(l,a,u,o){var s,h,c=(o||{}).hovered,m=a.data.data,w=m.i,y=m.color,C=M.isHierarchyRoot(a),_=1;if(c)s=u._hovered.marker.line.color,h=u._hovered.marker.line.width;else if(C&&y===u.root.color)_=100,s="rgba(0,0,0,0)",h=0;else if(s=i.castOption(u,w,"marker.line.color")||g.defaultLine,h=i.castOption(u,w,"marker.line.width")||0,!u._hasColorscale&&!a.onPathbar){var k=u.marker.depthfade;if(k){var E,x=g.combine(g.addOpacity(u._backgroundColor,.75),y);if(k===!0){var A=M.getMaxDepth(u);E=isFinite(A)?M.isLeaf(a)?0:u._maxVisibleLayers-(a.data.depth-u._entryDepth):a.data.height+1}else E=a.data.depth-u._entryDepth,u._atRootLevel||E++;if(E>0)for(var L=0;L0){var x,A,L,b,R,I=f.xa,O=f.ya;w.orientation==="h"?(R=l,x="y",L=O,A="x",b=I):(R=a,x="x",L=I,A="y",b=O);var z=m[f.index];if(R>=z.span[0]&&R<=z.span[1]){var F=g.extendFlat({},f),B=b.c2p(R,!0),N=v.getKdeValue(z,w,R),W=v.getPositionOnKdePath(z,w,B),j=L._offset,$=L._length;F[x+"0"]=W[0],F[x+"1"]=W[1],F[A+"0"]=F[A+"1"]=B,F[A+"Label"]=A+": "+i.hoverLabelText(b,R,w[A+"hoverformat"])+", "+m[0].t.labels.kde+" "+N.toFixed(3);for(var U=0,G=0;G")),h.color=function(O,z){var F=O[z.dir].marker,B=F.color,N=F.line.color,W=F.line.width;return g(B)?B:g(N)&&W?N:void 0}(m,_),[h]}function I(O){return d(C,O,m[y+"hoverformat"])}}},19990:function(T,p,t){T.exports={attributes:t(43037),layoutAttributes:t(13494),supplyDefaults:t(83266).supplyDefaults,crossTraceDefaults:t(83266).crossTraceDefaults,supplyLayoutDefaults:t(5176),calc:t(52752),crossTraceCalc:t(70766),plot:t(30436),style:t(55750).style,hoverPoints:t(61326),eventData:t(58593),selectPoints:t(81974),moduleType:"trace",name:"waterfall",basePlotModule:t(93612),categories:["bar-like","cartesian","svg","oriented","showLegend","zoomScale"],meta:{}}},13494:function(T){T.exports={waterfallmode:{valType:"enumerated",values:["group","overlay"],dflt:"group",editType:"calc"},waterfallgap:{valType:"number",min:0,max:1,editType:"calc"},waterfallgroupgap:{valType:"number",min:0,max:1,dflt:0,editType:"calc"}}},5176:function(T,p,t){var d=t(71828),g=t(13494);T.exports=function(i,M,v){var f=!1;function l(o,s){return d.coerce(i,M,g,o,s)}for(var a=0;a0&&(N+=A?"M"+F[0]+","+B[1]+"V"+B[0]:"M"+F[1]+","+B[0]+"H"+F[0]),L!=="between"&&(I.isSum||O path").each(function(w){if(!w.isBlank){var y=m[w.dir].marker;d.select(this).call(i.fill,y.color).call(i.stroke,y.line.color).call(g.dashLine,y.line.dash,y.line.width).style("opacity",m.selectedpoints&&!w.selected?M:1)}}),l(c,m,a),c.selectAll(".lines").each(function(){var w=m.connector.line;g.lineGroupStyle(d.select(this).selectAll("path"),w.width,w.color,w.dash)})})}}},82887:function(T,p,t){var d=t(89298),g=t(71828),i=t(86281),M=t(79344).p,v=t(50606).BADNUM;p.moduleType="transform",p.name="aggregate";var f=p.attributes={enabled:{valType:"boolean",dflt:!0,editType:"calc"},groups:{valType:"string",strict:!0,noBlank:!0,arrayOk:!0,dflt:"x",editType:"calc"},aggregations:{_isLinkedToArray:"aggregation",target:{valType:"string",editType:"calc"},func:{valType:"enumerated",values:["count","sum","avg","median","mode","rms","stddev","min","max","first","last","change","range"],dflt:"first",editType:"calc"},funcmode:{valType:"enumerated",values:["sample","population"],dflt:"sample",editType:"calc"},enabled:{valType:"boolean",dflt:!0,editType:"calc"},editType:"calc"},editType:"calc"},l=f.aggregations;function a(h,c,m,w){if(w.enabled){for(var y=w.target,C=g.nestedProperty(c,y),_=C.get(),k=function(A,L){var b=A.func,R=L.d2c,I=L.c2d;switch(b){case"count":return u;case"first":return o;case"last":return s;case"sum":return function(O,z){for(var F=0,B=0;BB&&(B=$,N=j)}}return B?I(N):v};case"rms":return function(O,z){for(var F=0,B=0,N=0;N":return function(H){return q(H)>U};case">=":return function(H){return q(H)>=U};case"[]":return function(H){var ne=q(H);return ne>=U[0]&&ne<=U[1]};case"()":return function(H){var ne=q(H);return ne>U[0]&&ne=U[0]&&neU[0]&&ne<=U[1]};case"][":return function(H){var ne=q(H);return ne<=U[0]||ne>=U[1]};case")(":return function(H){var ne=q(H);return neU[1]};case"](":return function(H){var ne=q(H);return ne<=U[0]||ne>U[1]};case")[":return function(H){var ne=q(H);return ne=U[1]};case"{}":return function(H){return U.indexOf(q(H))!==-1};case"}{":return function(H){return U.indexOf(q(H))===-1}}}(s,i.getDataToCoordFunc(u,o,c,h),w),A={},L={},b=0;C?(k=function(z){A[z.astr]=d.extendDeep([],z.get()),z.set(new Array(m))},E=function(z,F){var B=A[z.astr][F];z.get()[F]=B}):(k=function(z){A[z.astr]=d.extendDeep([],z.get()),z.set([])},E=function(z,F){var B=A[z.astr][F];z.get().push(B)}),O(k);for(var R=M(o.transforms,s),I=0;I1?"%{group} (%{trace})":"%{group}");var h=f.styles,c=o.styles=[];if(h)for(u=0;uk)throw new RangeError('The value "'+ge+'" is invalid for option "size"');var we=new Uint8Array(ge);return Object.setPrototypeOf(we,x.prototype),we}function x(ge,we,Ee){if(typeof ge=="number"){if(typeof we=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return b(ge)}return A(ge,we,Ee)}function A(ge,we,Ee){if(typeof ge=="string")return function(Ye,st){if(typeof st=="string"&&st!==""||(st="utf8"),!x.isEncoding(st))throw new TypeError("Unknown encoding: "+st);var ot=0|z(Ye,st),ht=E(ot),bt=ht.write(Ye,st);return bt!==ot&&(ht=ht.slice(0,bt)),ht}(ge,we);if(ArrayBuffer.isView(ge))return function(Ye){if(ke(Ye,Uint8Array)){var st=new Uint8Array(Ye);return I(st.buffer,st.byteOffset,st.byteLength)}return R(Ye)}(ge);if(ge==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+w(ge));if(ke(ge,ArrayBuffer)||ge&&ke(ge.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(ke(ge,SharedArrayBuffer)||ge&&ke(ge.buffer,SharedArrayBuffer)))return I(ge,we,Ee);if(typeof ge=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var Ve=ge.valueOf&&ge.valueOf();if(Ve!=null&&Ve!==ge)return x.from(Ve,we,Ee);var $e=function(Ye){if(x.isBuffer(Ye)){var st=0|O(Ye.length),ot=E(st);return ot.length===0||Ye.copy(ot,0,0,st),ot}return Ye.length!==void 0?typeof Ye.length!="number"||Le(Ye.length)?E(0):R(Ye):Ye.type==="Buffer"&&Array.isArray(Ye.data)?R(Ye.data):void 0}(ge);if($e)return $e;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof ge[Symbol.toPrimitive]=="function")return x.from(ge[Symbol.toPrimitive]("string"),we,Ee);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+w(ge))}function L(ge){if(typeof ge!="number")throw new TypeError('"size" argument must be of type number');if(ge<0)throw new RangeError('The value "'+ge+'" is invalid for option "size"')}function b(ge){return L(ge),E(ge<0?0:0|O(ge))}function R(ge){for(var we=ge.length<0?0:0|O(ge.length),Ee=E(we),Ve=0;Ve=k)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+k.toString(16)+" bytes");return 0|ge}function z(ge,we){if(x.isBuffer(ge))return ge.length;if(ArrayBuffer.isView(ge)||ke(ge,ArrayBuffer))return ge.byteLength;if(typeof ge!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+w(ge));var Ee=ge.length,Ve=arguments.length>2&&arguments[2]===!0;if(!Ve&&Ee===0)return 0;for(var $e=!1;;)switch(we){case"ascii":case"latin1":case"binary":return Ee;case"utf8":case"utf-8":return ae(ge).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*Ee;case"hex":return Ee>>>1;case"base64":return fe(ge).length;default:if($e)return Ve?-1:ae(ge).length;we=(""+we).toLowerCase(),$e=!0}}function F(ge,we,Ee){var Ve=!1;if((we===void 0||we<0)&&(we=0),we>this.length||((Ee===void 0||Ee>this.length)&&(Ee=this.length),Ee<=0)||(Ee>>>=0)<=(we>>>=0))return"";for(ge||(ge="utf8");;)switch(ge){case"hex":return Q(this,we,Ee);case"utf8":case"utf-8":return ne(this,we,Ee);case"ascii":return Z(this,we,Ee);case"latin1":case"binary":return X(this,we,Ee);case"base64":return H(this,we,Ee);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return re(this,we,Ee);default:if(Ve)throw new TypeError("Unknown encoding: "+ge);ge=(ge+"").toLowerCase(),Ve=!0}}function B(ge,we,Ee){var Ve=ge[we];ge[we]=ge[Ee],ge[Ee]=Ve}function N(ge,we,Ee,Ve,$e){if(ge.length===0)return-1;if(typeof Ee=="string"?(Ve=Ee,Ee=0):Ee>2147483647?Ee=2147483647:Ee<-2147483648&&(Ee=-2147483648),Le(Ee=+Ee)&&(Ee=$e?0:ge.length-1),Ee<0&&(Ee=ge.length+Ee),Ee>=ge.length){if($e)return-1;Ee=ge.length-1}else if(Ee<0){if(!$e)return-1;Ee=0}if(typeof we=="string"&&(we=x.from(we,Ve)),x.isBuffer(we))return we.length===0?-1:W(ge,we,Ee,Ve,$e);if(typeof we=="number")return we&=255,typeof Uint8Array.prototype.indexOf=="function"?$e?Uint8Array.prototype.indexOf.call(ge,we,Ee):Uint8Array.prototype.lastIndexOf.call(ge,we,Ee):W(ge,[we],Ee,Ve,$e);throw new TypeError("val must be string, number or Buffer")}function W(ge,we,Ee,Ve,$e){var Ye,st=1,ot=ge.length,ht=we.length;if(Ve!==void 0&&((Ve=String(Ve).toLowerCase())==="ucs2"||Ve==="ucs-2"||Ve==="utf16le"||Ve==="utf-16le")){if(ge.length<2||we.length<2)return-1;st=2,ot/=2,ht/=2,Ee/=2}function bt(Ft,Ot){return st===1?Ft[Ot]:Ft.readUInt16BE(Ot*st)}if($e){var Et=-1;for(Ye=Ee;Yeot&&(Ee=ot-ht),Ye=Ee;Ye>=0;Ye--){for(var kt=!0,xt=0;xt$e&&(Ve=$e):Ve=$e;var Ye,st=we.length;for(Ve>st/2&&(Ve=st/2),Ye=0;Ye>8,ht=st%256,bt.push(ht),bt.push(ot);return bt}(we,ge.length-Ee),ge,Ee,Ve)}function H(ge,we,Ee){return we===0&&Ee===ge.length?y.fromByteArray(ge):y.fromByteArray(ge.slice(we,Ee))}function ne(ge,we,Ee){Ee=Math.min(ge.length,Ee);for(var Ve=[],$e=we;$e239?4:Ye>223?3:Ye>191?2:1;if($e+ot<=Ee){var ht=void 0,bt=void 0,Et=void 0,kt=void 0;switch(ot){case 1:Ye<128&&(st=Ye);break;case 2:(192&(ht=ge[$e+1]))==128&&(kt=(31&Ye)<<6|63&ht)>127&&(st=kt);break;case 3:ht=ge[$e+1],bt=ge[$e+2],(192&ht)==128&&(192&bt)==128&&(kt=(15&Ye)<<12|(63&ht)<<6|63&bt)>2047&&(kt<55296||kt>57343)&&(st=kt);break;case 4:ht=ge[$e+1],bt=ge[$e+2],Et=ge[$e+3],(192&ht)==128&&(192&bt)==128&&(192&Et)==128&&(kt=(15&Ye)<<18|(63&ht)<<12|(63&bt)<<6|63&Et)>65535&&kt<1114112&&(st=kt)}}st===null?(st=65533,ot=1):st>65535&&(st-=65536,Ve.push(st>>>10&1023|55296),st=56320|1023&st),Ve.push(st),$e+=ot}return function(xt){var Ft=xt.length;if(Ft<=te)return String.fromCharCode.apply(String,xt);for(var Ot="",Bt=0;Bt"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(x.prototype,"parent",{enumerable:!0,get:function(){if(x.isBuffer(this))return this.buffer}}),Object.defineProperty(x.prototype,"offset",{enumerable:!0,get:function(){if(x.isBuffer(this))return this.byteOffset}}),x.poolSize=8192,x.from=function(ge,we,Ee){return A(ge,we,Ee)},Object.setPrototypeOf(x.prototype,Uint8Array.prototype),Object.setPrototypeOf(x,Uint8Array),x.alloc=function(ge,we,Ee){return function(Ve,$e,Ye){return L(Ve),Ve<=0?E(Ve):$e!==void 0?typeof Ye=="string"?E(Ve).fill($e,Ye):E(Ve).fill($e):E(Ve)}(ge,we,Ee)},x.allocUnsafe=function(ge){return b(ge)},x.allocUnsafeSlow=function(ge){return b(ge)},x.isBuffer=function(ge){return ge!=null&&ge._isBuffer===!0&&ge!==x.prototype},x.compare=function(ge,we){if(ke(ge,Uint8Array)&&(ge=x.from(ge,ge.offset,ge.byteLength)),ke(we,Uint8Array)&&(we=x.from(we,we.offset,we.byteLength)),!x.isBuffer(ge)||!x.isBuffer(we))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ge===we)return 0;for(var Ee=ge.length,Ve=we.length,$e=0,Ye=Math.min(Ee,Ve);$eVe.length?(x.isBuffer(Ye)||(Ye=x.from(Ye)),Ye.copy(Ve,$e)):Uint8Array.prototype.set.call(Ve,Ye,$e);else{if(!x.isBuffer(Ye))throw new TypeError('"list" argument must be an Array of Buffers');Ye.copy(Ve,$e)}$e+=Ye.length}return Ve},x.byteLength=z,x.prototype._isBuffer=!0,x.prototype.swap16=function(){var ge=this.length;if(ge%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var we=0;wewe&&(ge+=" ... "),""},_&&(x.prototype[_]=x.prototype.inspect),x.prototype.compare=function(ge,we,Ee,Ve,$e){if(ke(ge,Uint8Array)&&(ge=x.from(ge,ge.offset,ge.byteLength)),!x.isBuffer(ge))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+w(ge));if(we===void 0&&(we=0),Ee===void 0&&(Ee=ge?ge.length:0),Ve===void 0&&(Ve=0),$e===void 0&&($e=this.length),we<0||Ee>ge.length||Ve<0||$e>this.length)throw new RangeError("out of range index");if(Ve>=$e&&we>=Ee)return 0;if(Ve>=$e)return-1;if(we>=Ee)return 1;if(this===ge)return 0;for(var Ye=($e>>>=0)-(Ve>>>=0),st=(Ee>>>=0)-(we>>>=0),ot=Math.min(Ye,st),ht=this.slice(Ve,$e),bt=ge.slice(we,Ee),Et=0;Et>>=0,isFinite(Ee)?(Ee>>>=0,Ve===void 0&&(Ve="utf8")):(Ve=Ee,Ee=void 0)}var $e=this.length-we;if((Ee===void 0||Ee>$e)&&(Ee=$e),ge.length>0&&(Ee<0||we<0)||we>this.length)throw new RangeError("Attempt to write outside buffer bounds");Ve||(Ve="utf8");for(var Ye=!1;;)switch(Ve){case"hex":return j(this,ge,we,Ee);case"utf8":case"utf-8":return $(this,ge,we,Ee);case"ascii":case"latin1":case"binary":return U(this,ge,we,Ee);case"base64":return G(this,ge,we,Ee);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return q(this,ge,we,Ee);default:if(Ye)throw new TypeError("Unknown encoding: "+Ve);Ve=(""+Ve).toLowerCase(),Ye=!0}},x.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var te=4096;function Z(ge,we,Ee){var Ve="";Ee=Math.min(ge.length,Ee);for(var $e=we;$eVe)&&(Ee=Ve);for(var $e="",Ye=we;YeEe)throw new RangeError("Trying to access beyond buffer length")}function oe(ge,we,Ee,Ve,$e,Ye){if(!x.isBuffer(ge))throw new TypeError('"buffer" argument must be a Buffer instance');if(we>$e||wege.length)throw new RangeError("Index out of range")}function ue(ge,we,Ee,Ve,$e){_e(we,Ve,$e,ge,Ee,7);var Ye=Number(we&BigInt(4294967295));ge[Ee++]=Ye,Ye>>=8,ge[Ee++]=Ye,Ye>>=8,ge[Ee++]=Ye,Ye>>=8,ge[Ee++]=Ye;var st=Number(we>>BigInt(32)&BigInt(4294967295));return ge[Ee++]=st,st>>=8,ge[Ee++]=st,st>>=8,ge[Ee++]=st,st>>=8,ge[Ee++]=st,Ee}function ce(ge,we,Ee,Ve,$e){_e(we,Ve,$e,ge,Ee,7);var Ye=Number(we&BigInt(4294967295));ge[Ee+7]=Ye,Ye>>=8,ge[Ee+6]=Ye,Ye>>=8,ge[Ee+5]=Ye,Ye>>=8,ge[Ee+4]=Ye;var st=Number(we>>BigInt(32)&BigInt(4294967295));return ge[Ee+3]=st,st>>=8,ge[Ee+2]=st,st>>=8,ge[Ee+1]=st,st>>=8,ge[Ee]=st,Ee+8}function ye(ge,we,Ee,Ve,$e,Ye){if(Ee+Ve>ge.length)throw new RangeError("Index out of range");if(Ee<0)throw new RangeError("Index out of range")}function de(ge,we,Ee,Ve,$e){return we=+we,Ee>>>=0,$e||ye(ge,0,Ee,4),C.write(ge,we,Ee,Ve,23,4),Ee+4}function me(ge,we,Ee,Ve,$e){return we=+we,Ee>>>=0,$e||ye(ge,0,Ee,8),C.write(ge,we,Ee,Ve,52,8),Ee+8}x.prototype.slice=function(ge,we){var Ee=this.length;(ge=~~ge)<0?(ge+=Ee)<0&&(ge=0):ge>Ee&&(ge=Ee),(we=we===void 0?Ee:~~we)<0?(we+=Ee)<0&&(we=0):we>Ee&&(we=Ee),we>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=this[ge],$e=1,Ye=0;++Ye>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=this[ge+--we],$e=1;we>0&&($e*=256);)Ve+=this[ge+--we]*$e;return Ve},x.prototype.readUint8=x.prototype.readUInt8=function(ge,we){return ge>>>=0,we||ie(ge,1,this.length),this[ge]},x.prototype.readUint16LE=x.prototype.readUInt16LE=function(ge,we){return ge>>>=0,we||ie(ge,2,this.length),this[ge]|this[ge+1]<<8},x.prototype.readUint16BE=x.prototype.readUInt16BE=function(ge,we){return ge>>>=0,we||ie(ge,2,this.length),this[ge]<<8|this[ge+1]},x.prototype.readUint32LE=x.prototype.readUInt32LE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),(this[ge]|this[ge+1]<<8|this[ge+2]<<16)+16777216*this[ge+3]},x.prototype.readUint32BE=x.prototype.readUInt32BE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),16777216*this[ge]+(this[ge+1]<<16|this[ge+2]<<8|this[ge+3])},x.prototype.readBigUInt64LE=ze(function(ge){Me(ge>>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=we+this[++ge]*Math.pow(2,8)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,24),$e=this[++ge]+this[++ge]*Math.pow(2,8)+this[++ge]*Math.pow(2,16)+Ee*Math.pow(2,24);return BigInt(Ve)+(BigInt($e)<>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=we*Math.pow(2,24)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,8)+this[++ge],$e=this[++ge]*Math.pow(2,24)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,8)+Ee;return(BigInt(Ve)<>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=this[ge],$e=1,Ye=0;++Ye=($e*=128)&&(Ve-=Math.pow(2,8*we)),Ve},x.prototype.readIntBE=function(ge,we,Ee){ge>>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=we,$e=1,Ye=this[ge+--Ve];Ve>0&&($e*=256);)Ye+=this[ge+--Ve]*$e;return Ye>=($e*=128)&&(Ye-=Math.pow(2,8*we)),Ye},x.prototype.readInt8=function(ge,we){return ge>>>=0,we||ie(ge,1,this.length),128&this[ge]?-1*(255-this[ge]+1):this[ge]},x.prototype.readInt16LE=function(ge,we){ge>>>=0,we||ie(ge,2,this.length);var Ee=this[ge]|this[ge+1]<<8;return 32768&Ee?4294901760|Ee:Ee},x.prototype.readInt16BE=function(ge,we){ge>>>=0,we||ie(ge,2,this.length);var Ee=this[ge+1]|this[ge]<<8;return 32768&Ee?4294901760|Ee:Ee},x.prototype.readInt32LE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),this[ge]|this[ge+1]<<8|this[ge+2]<<16|this[ge+3]<<24},x.prototype.readInt32BE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),this[ge]<<24|this[ge+1]<<16|this[ge+2]<<8|this[ge+3]},x.prototype.readBigInt64LE=ze(function(ge){Me(ge>>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=this[ge+4]+this[ge+5]*Math.pow(2,8)+this[ge+6]*Math.pow(2,16)+(Ee<<24);return(BigInt(Ve)<>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=(we<<24)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,8)+this[++ge];return(BigInt(Ve)<>>=0,we||ie(ge,4,this.length),C.read(this,ge,!0,23,4)},x.prototype.readFloatBE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),C.read(this,ge,!1,23,4)},x.prototype.readDoubleLE=function(ge,we){return ge>>>=0,we||ie(ge,8,this.length),C.read(this,ge,!0,52,8)},x.prototype.readDoubleBE=function(ge,we){return ge>>>=0,we||ie(ge,8,this.length),C.read(this,ge,!1,52,8)},x.prototype.writeUintLE=x.prototype.writeUIntLE=function(ge,we,Ee,Ve){ge=+ge,we>>>=0,Ee>>>=0,Ve||oe(this,ge,we,Ee,Math.pow(2,8*Ee)-1,0);var $e=1,Ye=0;for(this[we]=255≥++Ye>>=0,Ee>>>=0,Ve||oe(this,ge,we,Ee,Math.pow(2,8*Ee)-1,0);var $e=Ee-1,Ye=1;for(this[we+$e]=255≥--$e>=0&&(Ye*=256);)this[we+$e]=ge/Ye&255;return we+Ee},x.prototype.writeUint8=x.prototype.writeUInt8=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,1,255,0),this[we]=255&ge,we+1},x.prototype.writeUint16LE=x.prototype.writeUInt16LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,65535,0),this[we]=255&ge,this[we+1]=ge>>>8,we+2},x.prototype.writeUint16BE=x.prototype.writeUInt16BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,65535,0),this[we]=ge>>>8,this[we+1]=255&ge,we+2},x.prototype.writeUint32LE=x.prototype.writeUInt32LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,4294967295,0),this[we+3]=ge>>>24,this[we+2]=ge>>>16,this[we+1]=ge>>>8,this[we]=255&ge,we+4},x.prototype.writeUint32BE=x.prototype.writeUInt32BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,4294967295,0),this[we]=ge>>>24,this[we+1]=ge>>>16,this[we+2]=ge>>>8,this[we+3]=255&ge,we+4},x.prototype.writeBigUInt64LE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ue(this,ge,we,BigInt(0),BigInt("0xffffffffffffffff"))}),x.prototype.writeBigUInt64BE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ce(this,ge,we,BigInt(0),BigInt("0xffffffffffffffff"))}),x.prototype.writeIntLE=function(ge,we,Ee,Ve){if(ge=+ge,we>>>=0,!Ve){var $e=Math.pow(2,8*Ee-1);oe(this,ge,we,Ee,$e-1,-$e)}var Ye=0,st=1,ot=0;for(this[we]=255≥++Ye>0)-ot&255;return we+Ee},x.prototype.writeIntBE=function(ge,we,Ee,Ve){if(ge=+ge,we>>>=0,!Ve){var $e=Math.pow(2,8*Ee-1);oe(this,ge,we,Ee,$e-1,-$e)}var Ye=Ee-1,st=1,ot=0;for(this[we+Ye]=255≥--Ye>=0&&(st*=256);)ge<0&&ot===0&&this[we+Ye+1]!==0&&(ot=1),this[we+Ye]=(ge/st>>0)-ot&255;return we+Ee},x.prototype.writeInt8=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,1,127,-128),ge<0&&(ge=255+ge+1),this[we]=255&ge,we+1},x.prototype.writeInt16LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,32767,-32768),this[we]=255&ge,this[we+1]=ge>>>8,we+2},x.prototype.writeInt16BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,32767,-32768),this[we]=ge>>>8,this[we+1]=255&ge,we+2},x.prototype.writeInt32LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,2147483647,-2147483648),this[we]=255&ge,this[we+1]=ge>>>8,this[we+2]=ge>>>16,this[we+3]=ge>>>24,we+4},x.prototype.writeInt32BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,2147483647,-2147483648),ge<0&&(ge=4294967295+ge+1),this[we]=ge>>>24,this[we+1]=ge>>>16,this[we+2]=ge>>>8,this[we+3]=255&ge,we+4},x.prototype.writeBigInt64LE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ue(this,ge,we,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),x.prototype.writeBigInt64BE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ce(this,ge,we,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),x.prototype.writeFloatLE=function(ge,we,Ee){return de(this,ge,we,!0,Ee)},x.prototype.writeFloatBE=function(ge,we,Ee){return de(this,ge,we,!1,Ee)},x.prototype.writeDoubleLE=function(ge,we,Ee){return me(this,ge,we,!0,Ee)},x.prototype.writeDoubleBE=function(ge,we,Ee){return me(this,ge,we,!1,Ee)},x.prototype.copy=function(ge,we,Ee,Ve){if(!x.isBuffer(ge))throw new TypeError("argument should be a Buffer");if(Ee||(Ee=0),Ve||Ve===0||(Ve=this.length),we>=ge.length&&(we=ge.length),we||(we=0),Ve>0&&Ve=this.length)throw new RangeError("Index out of range");if(Ve<0)throw new RangeError("sourceEnd out of bounds");Ve>this.length&&(Ve=this.length),ge.length-we>>=0,Ee=Ee===void 0?this.length:Ee>>>0,ge||(ge=0),typeof ge=="number")for(Ye=we;Ye"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var Et,kt=m(st);if(ot){var xt=m(this).constructor;Et=Reflect.construct(kt,arguments,xt)}else Et=kt.apply(this,arguments);return h(this,Et)});function bt(){var Et;return u(this,bt),Et=ht.call(this),Object.defineProperty(c(Et),"message",{value:we.apply(c(Et),arguments),writable:!0,configurable:!0}),Et.name="".concat(Et.name," [").concat(ge,"]"),Et.stack,delete Et.name,Et}return $e=bt,(Ye=[{key:"code",get:function(){return ge},set:function(Et){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:Et,writable:!0})}},{key:"toString",value:function(){return"".concat(this.name," [").concat(ge,"]: ").concat(this.message)}}])&&o($e.prototype,Ye),Object.defineProperty($e,"prototype",{writable:!1}),bt}(Ee)}function Pe(ge){for(var we="",Ee=ge.length,Ve=ge[0]==="-"?1:0;Ee>=Ve+4;Ee-=3)we="_".concat(ge.slice(Ee-3,Ee)).concat(we);return"".concat(ge.slice(0,Ee)).concat(we)}function _e(ge,we,Ee,Ve,$e,Ye){if(ge>Ee||ge3?we===0||we===BigInt(0)?">= 0".concat(ot," and < 2").concat(ot," ** ").concat(8*(Ye+1)).concat(ot):">= -(2".concat(ot," ** ").concat(8*(Ye+1)-1).concat(ot,") and < 2 ** ")+"".concat(8*(Ye+1)-1).concat(ot):">= ".concat(we).concat(ot," and <= ").concat(Ee).concat(ot),new pe.ERR_OUT_OF_RANGE("value",st,ge)}(function(ht,bt,Et){Me(bt,"offset"),ht[bt]!==void 0&&ht[bt+Et]!==void 0||Se(bt,ht.length-(Et+1))})(Ve,$e,Ye)}function Me(ge,we){if(typeof ge!="number")throw new pe.ERR_INVALID_ARG_TYPE(we,"number",ge)}function Se(ge,we,Ee){throw Math.floor(ge)!==ge?(Me(ge,Ee),new pe.ERR_OUT_OF_RANGE(Ee||"offset","an integer",ge)):we<0?new pe.ERR_BUFFER_OUT_OF_BOUNDS:new pe.ERR_OUT_OF_RANGE(Ee||"offset",">= ".concat(Ee?1:0," and <= ").concat(we),ge)}xe("ERR_BUFFER_OUT_OF_BOUNDS",function(ge){return ge?"".concat(ge," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"},RangeError),xe("ERR_INVALID_ARG_TYPE",function(ge,we){return'The "'.concat(ge,'" argument must be of type number. Received type ').concat(w(we))},TypeError),xe("ERR_OUT_OF_RANGE",function(ge,we,Ee){var Ve='The value of "'.concat(ge,'" is out of range.'),$e=Ee;return Number.isInteger(Ee)&&Math.abs(Ee)>Math.pow(2,32)?$e=Pe(String(Ee)):typeof Ee=="bigint"&&($e=String(Ee),(Ee>Math.pow(BigInt(2),BigInt(32))||Ee<-Math.pow(BigInt(2),BigInt(32)))&&($e=Pe($e)),$e+="n"),Ve+" It must be ".concat(we,". Received ").concat($e)},RangeError);var Ce=/[^+/0-9A-Za-z-_]/g;function ae(ge,we){var Ee;we=we||1/0;for(var Ve=ge.length,$e=null,Ye=[],st=0;st55295&&Ee<57344){if(!$e){if(Ee>56319){(we-=3)>-1&&Ye.push(239,191,189);continue}if(st+1===Ve){(we-=3)>-1&&Ye.push(239,191,189);continue}$e=Ee;continue}if(Ee<56320){(we-=3)>-1&&Ye.push(239,191,189),$e=Ee;continue}Ee=65536+($e-55296<<10|Ee-56320)}else $e&&(we-=3)>-1&&Ye.push(239,191,189);if($e=null,Ee<128){if((we-=1)<0)break;Ye.push(Ee)}else if(Ee<2048){if((we-=2)<0)break;Ye.push(Ee>>6|192,63&Ee|128)}else if(Ee<65536){if((we-=3)<0)break;Ye.push(Ee>>12|224,Ee>>6&63|128,63&Ee|128)}else{if(!(Ee<1114112))throw new Error("Invalid code point");if((we-=4)<0)break;Ye.push(Ee>>18|240,Ee>>12&63|128,Ee>>6&63|128,63&Ee|128)}}return Ye}function fe(ge){return y.toByteArray(function(we){if((we=(we=we.split("=")[0]).trim().replace(Ce,"")).length<2)return"";for(;we.length%4!=0;)we+="=";return we}(ge))}function be(ge,we,Ee,Ve){var $e;for($e=0;$e=we.length||$e>=ge.length);++$e)we[$e+Ee]=ge[$e];return $e}function ke(ge,we){return ge instanceof we||ge!=null&&ge.constructor!=null&&ge.constructor.name!=null&&ge.constructor.name===we.name}function Le(ge){return ge!=ge}var Be=function(){for(var ge="0123456789abcdef",we=new Array(256),Ee=0;Ee<16;++Ee)for(var Ve=16*Ee,$e=0;$e<16;++$e)we[Ve+$e]=ge[Ee]+ge[$e];return we}();function ze(ge){return typeof BigInt>"u"?je:ge}function je(){throw new Error("BigInt not supported")}},2321:function(f){f.exports=o,f.exports.isMobile=o,f.exports.default=o;var l=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,a=/CrOS/,u=/android|ipad|playbook|silk/i;function o(s){s||(s={});var h=s.ua;if(h||typeof navigator>"u"||(h=navigator.userAgent),h&&h.headers&&typeof h.headers["user-agent"]=="string"&&(h=h.headers["user-agent"]),typeof h!="string")return!1;var c=l.test(h)&&!a.test(h)||!!s.tablet&&u.test(h);return!c&&s.tablet&&s.featureDetect&&navigator&&navigator.maxTouchPoints>1&&h.indexOf("Macintosh")!==-1&&h.indexOf("Safari")!==-1&&(c=!0),c}},3910:function(f,l){l.byteLength=function(y){var C=m(y),_=C[0],k=C[1];return 3*(_+k)/4-k},l.toByteArray=function(y){var C,_,k=m(y),E=k[0],x=k[1],A=new o(function(R,I,O){return 3*(I+O)/4-O}(0,E,x)),L=0,b=x>0?E-4:E;for(_=0;_>16&255,A[L++]=C>>8&255,A[L++]=255&C;return x===2&&(C=u[y.charCodeAt(_)]<<2|u[y.charCodeAt(_+1)]>>4,A[L++]=255&C),x===1&&(C=u[y.charCodeAt(_)]<<10|u[y.charCodeAt(_+1)]<<4|u[y.charCodeAt(_+2)]>>2,A[L++]=C>>8&255,A[L++]=255&C),A},l.fromByteArray=function(y){for(var C,_=y.length,k=_%3,E=[],x=16383,A=0,L=_-k;AL?L:A+x));return k===1?(C=y[_-1],E.push(a[C>>2]+a[C<<4&63]+"==")):k===2&&(C=(y[_-2]<<8)+y[_-1],E.push(a[C>>10]+a[C>>4&63]+a[C<<2&63]+"=")),E.join("")};for(var a=[],u=[],o=typeof Uint8Array<"u"?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h=0,c=s.length;h0)throw new Error("Invalid string. Length must be a multiple of 4");var _=y.indexOf("=");return _===-1&&(_=C),[_,_===C?0:4-_%4]}function w(y,C,_){for(var k,E,x=[],A=C;A<_;A+=3)k=(y[A]<<16&16711680)+(y[A+1]<<8&65280)+(255&y[A+2]),x.push(a[(E=k)>>18&63]+a[E>>12&63]+a[E>>6&63]+a[63&E]);return x.join("")}u["-".charCodeAt(0)]=62,u["_".charCodeAt(0)]=63},3187:function(f,l){l.read=function(a,u,o,s,h){var c,m,w=8*h-s-1,y=(1<>1,_=-7,k=o?h-1:0,E=o?-1:1,x=a[u+k];for(k+=E,c=x&(1<<-_)-1,x>>=-_,_+=w;_>0;c=256*c+a[u+k],k+=E,_-=8);for(m=c&(1<<-_)-1,c>>=-_,_+=s;_>0;m=256*m+a[u+k],k+=E,_-=8);if(c===0)c=1-C;else{if(c===y)return m?NaN:1/0*(x?-1:1);m+=Math.pow(2,s),c-=C}return(x?-1:1)*m*Math.pow(2,c-s)},l.write=function(a,u,o,s,h,c){var m,w,y,C=8*c-h-1,_=(1<>1,E=h===23?Math.pow(2,-24)-Math.pow(2,-77):0,x=s?0:c-1,A=s?1:-1,L=u<0||u===0&&1/u<0?1:0;for(u=Math.abs(u),isNaN(u)||u===1/0?(w=isNaN(u)?1:0,m=_):(m=Math.floor(Math.log(u)/Math.LN2),u*(y=Math.pow(2,-m))<1&&(m--,y*=2),(u+=m+k>=1?E/y:E*Math.pow(2,1-k))*y>=2&&(m++,y/=2),m+k>=_?(w=0,m=_):m+k>=1?(w=(u*y-1)*Math.pow(2,h),m+=k):(w=u*Math.pow(2,k-1)*Math.pow(2,h),m=0));h>=8;a[o+x]=255&w,x+=A,w/=256,h-=8);for(m=m<0;a[o+x]=255&m,x+=A,m/=256,C-=8);a[o+x-A]|=128*L}},1152:function(f,l,a){f.exports=function(m){var w=(m=m||{}).eye||[0,0,1],y=m.center||[0,0,0],C=m.up||[0,1,0],_=m.distanceLimits||[0,1/0],k=m.mode||"turntable",E=u(),x=o(),A=s();return E.setDistanceLimits(_[0],_[1]),E.lookAt(0,w,y,C),x.setDistanceLimits(_[0],_[1]),x.lookAt(0,w,y,C),A.setDistanceLimits(_[0],_[1]),A.lookAt(0,w,y,C),new h({turntable:E,orbit:x,matrix:A},k)};var u=a(3440),o=a(7774),s=a(9298);function h(m,w){this._controllerNames=Object.keys(m),this._controllerList=this._controllerNames.map(function(y){return m[y]}),this._mode=w,this._active=m[w],this._active||(this._mode="turntable",this._active=m.turntable),this.modes=this._controllerNames,this.computedMatrix=this._active.computedMatrix,this.computedEye=this._active.computedEye,this.computedUp=this._active.computedUp,this.computedCenter=this._active.computedCenter,this.computedRadius=this._active.computedRadius}var c=h.prototype;c.flush=function(m){for(var w=this._controllerList,y=0;y"u"?a(5346):WeakMap,o=a(5827),s=a(2944),h=new u;f.exports=function(c){var m=h.get(c),w=m&&(m._triangleBuffer.handle||m._triangleBuffer.buffer);if(!w||!c.isBuffer(w)){var y=o(c,new Float32Array([-1,-1,-1,4,4,-1]));(m=s(c,[{buffer:y,type:c.FLOAT,size:2}]))._triangleBuffer=y,h.set(c,m)}m.bind(),c.drawArrays(c.TRIANGLES,0,3),m.unbind()}},8008:function(f,l,a){var u=a(4930);f.exports=function(o,s,h){s=typeof s=="number"?s:1,h=h||": ";var c=o.split(/\r?\n/),m=String(c.length+s-1).length;return c.map(function(w,y){var C=y+s,_=String(C).length;return u(C,m-_)+h+w}).join(` -`)}},2153:function(f,l,a){f.exports=function(s){var h=s.length;if(h===0)return[];if(h===1)return[0];for(var c=s[0].length,m=[s[0]],w=[0],y=1;y0?_=_.ushln(E):E<0&&(k=k.ushln(-E)),c(_,k)}},234:function(f,l,a){var u=a(3218);f.exports=function(o){return Array.isArray(o)&&o.length===2&&u(o[0])&&u(o[1])}},4275:function(f,l,a){var u=a(1928);f.exports=function(o){return o.cmp(new u(0))}},9958:function(f,l,a){var u=a(4275);f.exports=function(o){var s=o.length,h=o.words,c=0;if(s===1)c=h[0];else if(s===2)c=h[0]+67108864*h[1];else for(var m=0;m20?52:c+32}},3218:function(f,l,a){a(1928),f.exports=function(u){return u&&typeof u=="object"&&!!u.words}},5514:function(f,l,a){var u=a(1928),o=a(8362);f.exports=function(s){var h=o.exponent(s);return h<52?new u(s):new u(s*Math.pow(2,52-h)).ushln(h-52)}},8524:function(f,l,a){var u=a(5514),o=a(4275);f.exports=function(s,h){var c=o(s),m=o(h);if(c===0)return[u(0),u(1)];if(m===0)return[u(0),u(0)];m<0&&(s=s.neg(),h=h.neg());var w=s.gcd(h);return w.cmpn(1)?[s.div(w),h.div(w)]:[s,h]}},2813:function(f,l,a){var u=a(1928);f.exports=function(o){return new u(o)}},3962:function(f,l,a){var u=a(8524);f.exports=function(o,s){return u(o[0].mul(s[0]),o[1].mul(s[1]))}},4951:function(f,l,a){var u=a(4275);f.exports=function(o){return u(o[0])*u(o[1])}},4354:function(f,l,a){var u=a(8524);f.exports=function(o,s){return u(o[0].mul(s[1]).sub(o[1].mul(s[0])),o[1].mul(s[1]))}},7999:function(f,l,a){var u=a(9958),o=a(1112);f.exports=function(s){var h=s[0],c=s[1];if(h.cmpn(0)===0)return 0;var m=h.abs().divmod(c.abs()),w=m.div,y=u(w),C=m.mod,_=h.negative!==c.negative?-1:1;if(C.cmpn(0)===0)return _*y;if(y){var k=o(y)+4,E=u(C.ushln(k).divRound(c));return _*(y+E*Math.pow(2,-k))}var x=c.bitLength()-C.bitLength()+53;return E=u(C.ushln(x).divRound(c)),x<1023?_*E*Math.pow(2,-x):_*(E*=Math.pow(2,-1023))*Math.pow(2,1023-x)}},5070:function(f){function l(c,m,w,y,C){for(var _=C+1;y<=C;){var k=y+C>>>1,E=c[k];(w!==void 0?w(E,m):E-m)>=0?(_=k,C=k-1):y=k+1}return _}function a(c,m,w,y,C){for(var _=C+1;y<=C;){var k=y+C>>>1,E=c[k];(w!==void 0?w(E,m):E-m)>0?(_=k,C=k-1):y=k+1}return _}function u(c,m,w,y,C){for(var _=y-1;y<=C;){var k=y+C>>>1,E=c[k];(w!==void 0?w(E,m):E-m)<0?(_=k,y=k+1):C=k-1}return _}function o(c,m,w,y,C){for(var _=y-1;y<=C;){var k=y+C>>>1,E=c[k];(w!==void 0?w(E,m):E-m)<=0?(_=k,y=k+1):C=k-1}return _}function s(c,m,w,y,C){for(;y<=C;){var _=y+C>>>1,k=c[_],E=w!==void 0?w(k,m):k-m;if(E===0)return _;E<=0?y=_+1:C=_-1}return-1}function h(c,m,w,y,C,_){return typeof w=="function"?_(c,m,w,y===void 0?0:0|y,C===void 0?c.length-1:0|C):_(c,m,void 0,w===void 0?0:0|w,y===void 0?c.length-1:0|y)}f.exports={ge:function(c,m,w,y,C){return h(c,m,w,y,C,l)},gt:function(c,m,w,y,C){return h(c,m,w,y,C,a)},lt:function(c,m,w,y,C){return h(c,m,w,y,C,u)},le:function(c,m,w,y,C){return h(c,m,w,y,C,o)},eq:function(c,m,w,y,C){return h(c,m,w,y,C,s)}}},2288:function(f,l){function a(o){var s=32;return(o&=-o)&&s--,65535&o&&(s-=16),16711935&o&&(s-=8),252645135&o&&(s-=4),858993459&o&&(s-=2),1431655765&o&&(s-=1),s}l.INT_BITS=32,l.INT_MAX=2147483647,l.INT_MIN=-2147483648,l.sign=function(o){return(o>0)-(o<0)},l.abs=function(o){var s=o>>31;return(o^s)-s},l.min=function(o,s){return s^(o^s)&-(o65535)<<4,s|=h=((o>>>=s)>255)<<3,s|=h=((o>>>=h)>15)<<2,(s|=h=((o>>>=h)>3)<<1)|(o>>>=h)>>1},l.log10=function(o){return o>=1e9?9:o>=1e8?8:o>=1e7?7:o>=1e6?6:o>=1e5?5:o>=1e4?4:o>=1e3?3:o>=100?2:o>=10?1:0},l.popCount=function(o){return 16843009*((o=(858993459&(o-=o>>>1&1431655765))+(o>>>2&858993459))+(o>>>4)&252645135)>>>24},l.countTrailingZeros=a,l.nextPow2=function(o){return o+=o===0,--o,o|=o>>>1,o|=o>>>2,o|=o>>>4,1+((o|=o>>>8)|o>>>16)},l.prevPow2=function(o){return o|=o>>>1,o|=o>>>2,o|=o>>>4,o|=o>>>8,(o|=o>>>16)-(o>>>1)},l.parity=function(o){return o^=o>>>16,o^=o>>>8,o^=o>>>4,27030>>>(o&=15)&1};var u=new Array(256);(function(o){for(var s=0;s<256;++s){var h=s,c=s,m=7;for(h>>>=1;h;h>>>=1)c<<=1,c|=1&h,--m;o[s]=c<>>8&255]<<16|u[o>>>16&255]<<8|u[o>>>24&255]},l.interleave2=function(o,s){return(o=1431655765&((o=858993459&((o=252645135&((o=16711935&((o&=65535)|o<<8))|o<<4))|o<<2))|o<<1))|(s=1431655765&((s=858993459&((s=252645135&((s=16711935&((s&=65535)|s<<8))|s<<4))|s<<2))|s<<1))<<1},l.deinterleave2=function(o,s){return(o=65535&((o=16711935&((o=252645135&((o=858993459&((o=o>>>s&1431655765)|o>>>1))|o>>>2))|o>>>4))|o>>>16))<<16>>16},l.interleave3=function(o,s,h){return o=1227133513&((o=3272356035&((o=251719695&((o=4278190335&((o&=1023)|o<<16))|o<<8))|o<<4))|o<<2),(o|=(s=1227133513&((s=3272356035&((s=251719695&((s=4278190335&((s&=1023)|s<<16))|s<<8))|s<<4))|s<<2))<<1)|(h=1227133513&((h=3272356035&((h=251719695&((h=4278190335&((h&=1023)|h<<16))|h<<8))|h<<4))|h<<2))<<2},l.deinterleave3=function(o,s){return(o=1023&((o=4278190335&((o=251719695&((o=3272356035&((o=o>>>s&1227133513)|o>>>2))|o>>>4))|o>>>8))|o>>>16))<<22>>22},l.nextCombination=function(o){var s=o|o-1;return s+1|(~s&-~s)-1>>>a(o)+1}},1928:function(f,l,a){(function(u,o){function s(j,$){if(!j)throw new Error($||"Assertion failed")}function h(j,$){j.super_=$;var U=function(){};U.prototype=$.prototype,j.prototype=new U,j.prototype.constructor=j}function c(j,$,U){if(c.isBN(j))return j;this.negative=0,this.words=null,this.length=0,this.red=null,j!==null&&($!=="le"&&$!=="be"||(U=$,$=10),this._init(j||0,$||10,U||"be"))}var m;typeof u=="object"?u.exports=c:o.BN=c,c.BN=c,c.wordSize=26;try{m=typeof window<"u"&&window.Buffer!==void 0?window.Buffer:a(6601).Buffer}catch{}function w(j,$){var U=j.charCodeAt($);return U>=65&&U<=70?U-55:U>=97&&U<=102?U-87:U-48&15}function y(j,$,U){var G=w(j,U);return U-1>=$&&(G|=w(j,U-1)<<4),G}function C(j,$,U,G){for(var q=0,H=Math.min(j.length,U),ne=$;ne=49?te-49+10:te>=17?te-17+10:te}return q}c.isBN=function(j){return j instanceof c||j!==null&&typeof j=="object"&&j.constructor.wordSize===c.wordSize&&Array.isArray(j.words)},c.max=function(j,$){return j.cmp($)>0?j:$},c.min=function(j,$){return j.cmp($)<0?j:$},c.prototype._init=function(j,$,U){if(typeof j=="number")return this._initNumber(j,$,U);if(typeof j=="object")return this._initArray(j,$,U);$==="hex"&&($=16),s($===(0|$)&&$>=2&&$<=36);var G=0;(j=j.toString().replace(/\s+/g,""))[0]==="-"&&(G++,this.negative=1),G=0;G-=3)H=j[G]|j[G-1]<<8|j[G-2]<<16,this.words[q]|=H<>>26-ne&67108863,(ne+=24)>=26&&(ne-=26,q++);else if(U==="le")for(G=0,q=0;G>>26-ne&67108863,(ne+=24)>=26&&(ne-=26,q++);return this.strip()},c.prototype._parseHex=function(j,$,U){this.length=Math.ceil((j.length-$)/6),this.words=new Array(this.length);for(var G=0;G=$;G-=2)q=y(j,$,G)<=18?(H-=18,ne+=1,this.words[ne]|=q>>>26):H+=8;else for(G=(j.length-$)%2==0?$+1:$;G=18?(H-=18,ne+=1,this.words[ne]|=q>>>26):H+=8;this.strip()},c.prototype._parseBase=function(j,$,U){this.words=[0],this.length=1;for(var G=0,q=1;q<=67108863;q*=$)G++;G--,q=q/$|0;for(var H=j.length-U,ne=H%G,te=Math.min(H,H-ne)+U,Z=0,X=U;X1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},c.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},c.prototype.inspect=function(){return(this.red?""};var _=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],k=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],E=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function x(j,$,U){U.negative=$.negative^j.negative;var G=j.length+$.length|0;U.length=G,G=G-1|0;var q=0|j.words[0],H=0|$.words[0],ne=q*H,te=67108863&ne,Z=ne/67108864|0;U.words[0]=te;for(var X=1;X>>26,re=67108863&Z,ie=Math.min(X,$.length-1),oe=Math.max(0,X-j.length+1);oe<=ie;oe++){var ue=X-oe|0;Q+=(ne=(q=0|j.words[ue])*(H=0|$.words[oe])+re)/67108864|0,re=67108863&ne}U.words[X]=0|re,Z=0|Q}return Z!==0?U.words[X]=0|Z:U.length--,U.strip()}c.prototype.toString=function(j,$){var U;if($=0|$||1,(j=j||10)===16||j==="hex"){U="";for(var G=0,q=0,H=0;H>>24-G&16777215)!=0||H!==this.length-1?_[6-te.length]+te+U:te+U,(G+=2)>=26&&(G-=26,H--)}for(q!==0&&(U=q.toString(16)+U);U.length%$!=0;)U="0"+U;return this.negative!==0&&(U="-"+U),U}if(j===(0|j)&&j>=2&&j<=36){var Z=k[j],X=E[j];U="";var Q=this.clone();for(Q.negative=0;!Q.isZero();){var re=Q.modn(X).toString(j);U=(Q=Q.idivn(X)).isZero()?re+U:_[Z-re.length]+re+U}for(this.isZero()&&(U="0"+U);U.length%$!=0;)U="0"+U;return this.negative!==0&&(U="-"+U),U}s(!1,"Base should be between 2 and 36")},c.prototype.toNumber=function(){var j=this.words[0];return this.length===2?j+=67108864*this.words[1]:this.length===3&&this.words[2]===1?j+=4503599627370496+67108864*this.words[1]:this.length>2&&s(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-j:j},c.prototype.toJSON=function(){return this.toString(16)},c.prototype.toBuffer=function(j,$){return s(m!==void 0),this.toArrayLike(m,j,$)},c.prototype.toArray=function(j,$){return this.toArrayLike(Array,j,$)},c.prototype.toArrayLike=function(j,$,U){var G=this.byteLength(),q=U||Math.max(1,G);s(G<=q,"byte array longer than desired length"),s(q>0,"Requested array length <= 0"),this.strip();var H,ne,te=$==="le",Z=new j(q),X=this.clone();if(te){for(ne=0;!X.isZero();ne++)H=X.andln(255),X.iushrn(8),Z[ne]=H;for(;ne=4096&&(U+=13,$>>>=13),$>=64&&(U+=7,$>>>=7),$>=8&&(U+=4,$>>>=4),$>=2&&(U+=2,$>>>=2),U+$},c.prototype._zeroBits=function(j){if(j===0)return 26;var $=j,U=0;return!(8191&$)&&(U+=13,$>>>=13),!(127&$)&&(U+=7,$>>>=7),!(15&$)&&(U+=4,$>>>=4),!(3&$)&&(U+=2,$>>>=2),!(1&$)&&U++,U},c.prototype.bitLength=function(){var j=this.words[this.length-1],$=this._countBits(j);return 26*(this.length-1)+$},c.prototype.zeroBits=function(){if(this.isZero())return 0;for(var j=0,$=0;$j.length?this.clone().ior(j):j.clone().ior(this)},c.prototype.uor=function(j){return this.length>j.length?this.clone().iuor(j):j.clone().iuor(this)},c.prototype.iuand=function(j){var $;$=this.length>j.length?j:this;for(var U=0;U<$.length;U++)this.words[U]=this.words[U]&j.words[U];return this.length=$.length,this.strip()},c.prototype.iand=function(j){return s((this.negative|j.negative)==0),this.iuand(j)},c.prototype.and=function(j){return this.length>j.length?this.clone().iand(j):j.clone().iand(this)},c.prototype.uand=function(j){return this.length>j.length?this.clone().iuand(j):j.clone().iuand(this)},c.prototype.iuxor=function(j){var $,U;this.length>j.length?($=this,U=j):($=j,U=this);for(var G=0;Gj.length?this.clone().ixor(j):j.clone().ixor(this)},c.prototype.uxor=function(j){return this.length>j.length?this.clone().iuxor(j):j.clone().iuxor(this)},c.prototype.inotn=function(j){s(typeof j=="number"&&j>=0);var $=0|Math.ceil(j/26),U=j%26;this._expand($),U>0&&$--;for(var G=0;G<$;G++)this.words[G]=67108863&~this.words[G];return U>0&&(this.words[G]=~this.words[G]&67108863>>26-U),this.strip()},c.prototype.notn=function(j){return this.clone().inotn(j)},c.prototype.setn=function(j,$){s(typeof j=="number"&&j>=0);var U=j/26|0,G=j%26;return this._expand(U+1),this.words[U]=$?this.words[U]|1<j.length?(U=this,G=j):(U=j,G=this);for(var q=0,H=0;H>>26;for(;q!==0&&H>>26;if(this.length=U.length,q!==0)this.words[this.length]=q,this.length++;else if(U!==this)for(;Hj.length?this.clone().iadd(j):j.clone().iadd(this)},c.prototype.isub=function(j){if(j.negative!==0){j.negative=0;var $=this.iadd(j);return j.negative=1,$._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(j),this.negative=1,this._normSign();var U,G,q=this.cmp(j);if(q===0)return this.negative=0,this.length=1,this.words[0]=0,this;q>0?(U=this,G=j):(U=j,G=this);for(var H=0,ne=0;ne>26,this.words[ne]=67108863&$;for(;H!==0&&ne>26,this.words[ne]=67108863&$;if(H===0&&ne>>13,oe=0|ne[1],ue=8191&oe,ce=oe>>>13,ye=0|ne[2],de=8191&ye,me=ye>>>13,pe=0|ne[3],xe=8191&pe,Pe=pe>>>13,_e=0|ne[4],Me=8191&_e,Se=_e>>>13,Ce=0|ne[5],ae=8191&Ce,fe=Ce>>>13,be=0|ne[6],ke=8191&be,Le=be>>>13,Be=0|ne[7],ze=8191&Be,je=Be>>>13,ge=0|ne[8],we=8191&ge,Ee=ge>>>13,Ve=0|ne[9],$e=8191&Ve,Ye=Ve>>>13,st=0|te[0],ot=8191&st,ht=st>>>13,bt=0|te[1],Et=8191&bt,kt=bt>>>13,xt=0|te[2],Ft=8191&xt,Ot=xt>>>13,Bt=0|te[3],qt=8191&Bt,Vt=Bt>>>13,Ke=0|te[4],Je=8191&Ke,qe=Ke>>>13,nt=0|te[5],ft=8191&nt,Re=nt>>>13,Ne=0|te[6],Qe=8191&Ne,ut=Ne>>>13,dt=0|te[7],_t=8191&dt,It=dt>>>13,Lt=0|te[8],yt=8191&Lt,Pt=Lt>>>13,wt=0|te[9],Rt=8191&wt,Nt=wt>>>13;U.negative=j.negative^$.negative,U.length=19;var Yt=(X+(G=Math.imul(re,ot))|0)+((8191&(q=(q=Math.imul(re,ht))+Math.imul(ie,ot)|0))<<13)|0;X=((H=Math.imul(ie,ht))+(q>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,G=Math.imul(ue,ot),q=(q=Math.imul(ue,ht))+Math.imul(ce,ot)|0,H=Math.imul(ce,ht);var Wt=(X+(G=G+Math.imul(re,Et)|0)|0)+((8191&(q=(q=q+Math.imul(re,kt)|0)+Math.imul(ie,Et)|0))<<13)|0;X=((H=H+Math.imul(ie,kt)|0)+(q>>>13)|0)+(Wt>>>26)|0,Wt&=67108863,G=Math.imul(de,ot),q=(q=Math.imul(de,ht))+Math.imul(me,ot)|0,H=Math.imul(me,ht),G=G+Math.imul(ue,Et)|0,q=(q=q+Math.imul(ue,kt)|0)+Math.imul(ce,Et)|0,H=H+Math.imul(ce,kt)|0;var Xt=(X+(G=G+Math.imul(re,Ft)|0)|0)+((8191&(q=(q=q+Math.imul(re,Ot)|0)+Math.imul(ie,Ft)|0))<<13)|0;X=((H=H+Math.imul(ie,Ot)|0)+(q>>>13)|0)+(Xt>>>26)|0,Xt&=67108863,G=Math.imul(xe,ot),q=(q=Math.imul(xe,ht))+Math.imul(Pe,ot)|0,H=Math.imul(Pe,ht),G=G+Math.imul(de,Et)|0,q=(q=q+Math.imul(de,kt)|0)+Math.imul(me,Et)|0,H=H+Math.imul(me,kt)|0,G=G+Math.imul(ue,Ft)|0,q=(q=q+Math.imul(ue,Ot)|0)+Math.imul(ce,Ft)|0,H=H+Math.imul(ce,Ot)|0;var Qt=(X+(G=G+Math.imul(re,qt)|0)|0)+((8191&(q=(q=q+Math.imul(re,Vt)|0)+Math.imul(ie,qt)|0))<<13)|0;X=((H=H+Math.imul(ie,Vt)|0)+(q>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,G=Math.imul(Me,ot),q=(q=Math.imul(Me,ht))+Math.imul(Se,ot)|0,H=Math.imul(Se,ht),G=G+Math.imul(xe,Et)|0,q=(q=q+Math.imul(xe,kt)|0)+Math.imul(Pe,Et)|0,H=H+Math.imul(Pe,kt)|0,G=G+Math.imul(de,Ft)|0,q=(q=q+Math.imul(de,Ot)|0)+Math.imul(me,Ft)|0,H=H+Math.imul(me,Ot)|0,G=G+Math.imul(ue,qt)|0,q=(q=q+Math.imul(ue,Vt)|0)+Math.imul(ce,qt)|0,H=H+Math.imul(ce,Vt)|0;var rn=(X+(G=G+Math.imul(re,Je)|0)|0)+((8191&(q=(q=q+Math.imul(re,qe)|0)+Math.imul(ie,Je)|0))<<13)|0;X=((H=H+Math.imul(ie,qe)|0)+(q>>>13)|0)+(rn>>>26)|0,rn&=67108863,G=Math.imul(ae,ot),q=(q=Math.imul(ae,ht))+Math.imul(fe,ot)|0,H=Math.imul(fe,ht),G=G+Math.imul(Me,Et)|0,q=(q=q+Math.imul(Me,kt)|0)+Math.imul(Se,Et)|0,H=H+Math.imul(Se,kt)|0,G=G+Math.imul(xe,Ft)|0,q=(q=q+Math.imul(xe,Ot)|0)+Math.imul(Pe,Ft)|0,H=H+Math.imul(Pe,Ot)|0,G=G+Math.imul(de,qt)|0,q=(q=q+Math.imul(de,Vt)|0)+Math.imul(me,qt)|0,H=H+Math.imul(me,Vt)|0,G=G+Math.imul(ue,Je)|0,q=(q=q+Math.imul(ue,qe)|0)+Math.imul(ce,Je)|0,H=H+Math.imul(ce,qe)|0;var xn=(X+(G=G+Math.imul(re,ft)|0)|0)+((8191&(q=(q=q+Math.imul(re,Re)|0)+Math.imul(ie,ft)|0))<<13)|0;X=((H=H+Math.imul(ie,Re)|0)+(q>>>13)|0)+(xn>>>26)|0,xn&=67108863,G=Math.imul(ke,ot),q=(q=Math.imul(ke,ht))+Math.imul(Le,ot)|0,H=Math.imul(Le,ht),G=G+Math.imul(ae,Et)|0,q=(q=q+Math.imul(ae,kt)|0)+Math.imul(fe,Et)|0,H=H+Math.imul(fe,kt)|0,G=G+Math.imul(Me,Ft)|0,q=(q=q+Math.imul(Me,Ot)|0)+Math.imul(Se,Ft)|0,H=H+Math.imul(Se,Ot)|0,G=G+Math.imul(xe,qt)|0,q=(q=q+Math.imul(xe,Vt)|0)+Math.imul(Pe,qt)|0,H=H+Math.imul(Pe,Vt)|0,G=G+Math.imul(de,Je)|0,q=(q=q+Math.imul(de,qe)|0)+Math.imul(me,Je)|0,H=H+Math.imul(me,qe)|0,G=G+Math.imul(ue,ft)|0,q=(q=q+Math.imul(ue,Re)|0)+Math.imul(ce,ft)|0,H=H+Math.imul(ce,Re)|0;var un=(X+(G=G+Math.imul(re,Qe)|0)|0)+((8191&(q=(q=q+Math.imul(re,ut)|0)+Math.imul(ie,Qe)|0))<<13)|0;X=((H=H+Math.imul(ie,ut)|0)+(q>>>13)|0)+(un>>>26)|0,un&=67108863,G=Math.imul(ze,ot),q=(q=Math.imul(ze,ht))+Math.imul(je,ot)|0,H=Math.imul(je,ht),G=G+Math.imul(ke,Et)|0,q=(q=q+Math.imul(ke,kt)|0)+Math.imul(Le,Et)|0,H=H+Math.imul(Le,kt)|0,G=G+Math.imul(ae,Ft)|0,q=(q=q+Math.imul(ae,Ot)|0)+Math.imul(fe,Ft)|0,H=H+Math.imul(fe,Ot)|0,G=G+Math.imul(Me,qt)|0,q=(q=q+Math.imul(Me,Vt)|0)+Math.imul(Se,qt)|0,H=H+Math.imul(Se,Vt)|0,G=G+Math.imul(xe,Je)|0,q=(q=q+Math.imul(xe,qe)|0)+Math.imul(Pe,Je)|0,H=H+Math.imul(Pe,qe)|0,G=G+Math.imul(de,ft)|0,q=(q=q+Math.imul(de,Re)|0)+Math.imul(me,ft)|0,H=H+Math.imul(me,Re)|0,G=G+Math.imul(ue,Qe)|0,q=(q=q+Math.imul(ue,ut)|0)+Math.imul(ce,Qe)|0,H=H+Math.imul(ce,ut)|0;var An=(X+(G=G+Math.imul(re,_t)|0)|0)+((8191&(q=(q=q+Math.imul(re,It)|0)+Math.imul(ie,_t)|0))<<13)|0;X=((H=H+Math.imul(ie,It)|0)+(q>>>13)|0)+(An>>>26)|0,An&=67108863,G=Math.imul(we,ot),q=(q=Math.imul(we,ht))+Math.imul(Ee,ot)|0,H=Math.imul(Ee,ht),G=G+Math.imul(ze,Et)|0,q=(q=q+Math.imul(ze,kt)|0)+Math.imul(je,Et)|0,H=H+Math.imul(je,kt)|0,G=G+Math.imul(ke,Ft)|0,q=(q=q+Math.imul(ke,Ot)|0)+Math.imul(Le,Ft)|0,H=H+Math.imul(Le,Ot)|0,G=G+Math.imul(ae,qt)|0,q=(q=q+Math.imul(ae,Vt)|0)+Math.imul(fe,qt)|0,H=H+Math.imul(fe,Vt)|0,G=G+Math.imul(Me,Je)|0,q=(q=q+Math.imul(Me,qe)|0)+Math.imul(Se,Je)|0,H=H+Math.imul(Se,qe)|0,G=G+Math.imul(xe,ft)|0,q=(q=q+Math.imul(xe,Re)|0)+Math.imul(Pe,ft)|0,H=H+Math.imul(Pe,Re)|0,G=G+Math.imul(de,Qe)|0,q=(q=q+Math.imul(de,ut)|0)+Math.imul(me,Qe)|0,H=H+Math.imul(me,ut)|0,G=G+Math.imul(ue,_t)|0,q=(q=q+Math.imul(ue,It)|0)+Math.imul(ce,_t)|0,H=H+Math.imul(ce,It)|0;var Yn=(X+(G=G+Math.imul(re,yt)|0)|0)+((8191&(q=(q=q+Math.imul(re,Pt)|0)+Math.imul(ie,yt)|0))<<13)|0;X=((H=H+Math.imul(ie,Pt)|0)+(q>>>13)|0)+(Yn>>>26)|0,Yn&=67108863,G=Math.imul($e,ot),q=(q=Math.imul($e,ht))+Math.imul(Ye,ot)|0,H=Math.imul(Ye,ht),G=G+Math.imul(we,Et)|0,q=(q=q+Math.imul(we,kt)|0)+Math.imul(Ee,Et)|0,H=H+Math.imul(Ee,kt)|0,G=G+Math.imul(ze,Ft)|0,q=(q=q+Math.imul(ze,Ot)|0)+Math.imul(je,Ft)|0,H=H+Math.imul(je,Ot)|0,G=G+Math.imul(ke,qt)|0,q=(q=q+Math.imul(ke,Vt)|0)+Math.imul(Le,qt)|0,H=H+Math.imul(Le,Vt)|0,G=G+Math.imul(ae,Je)|0,q=(q=q+Math.imul(ae,qe)|0)+Math.imul(fe,Je)|0,H=H+Math.imul(fe,qe)|0,G=G+Math.imul(Me,ft)|0,q=(q=q+Math.imul(Me,Re)|0)+Math.imul(Se,ft)|0,H=H+Math.imul(Se,Re)|0,G=G+Math.imul(xe,Qe)|0,q=(q=q+Math.imul(xe,ut)|0)+Math.imul(Pe,Qe)|0,H=H+Math.imul(Pe,ut)|0,G=G+Math.imul(de,_t)|0,q=(q=q+Math.imul(de,It)|0)+Math.imul(me,_t)|0,H=H+Math.imul(me,It)|0,G=G+Math.imul(ue,yt)|0,q=(q=q+Math.imul(ue,Pt)|0)+Math.imul(ce,yt)|0,H=H+Math.imul(ce,Pt)|0;var kn=(X+(G=G+Math.imul(re,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(re,Nt)|0)+Math.imul(ie,Rt)|0))<<13)|0;X=((H=H+Math.imul(ie,Nt)|0)+(q>>>13)|0)+(kn>>>26)|0,kn&=67108863,G=Math.imul($e,Et),q=(q=Math.imul($e,kt))+Math.imul(Ye,Et)|0,H=Math.imul(Ye,kt),G=G+Math.imul(we,Ft)|0,q=(q=q+Math.imul(we,Ot)|0)+Math.imul(Ee,Ft)|0,H=H+Math.imul(Ee,Ot)|0,G=G+Math.imul(ze,qt)|0,q=(q=q+Math.imul(ze,Vt)|0)+Math.imul(je,qt)|0,H=H+Math.imul(je,Vt)|0,G=G+Math.imul(ke,Je)|0,q=(q=q+Math.imul(ke,qe)|0)+Math.imul(Le,Je)|0,H=H+Math.imul(Le,qe)|0,G=G+Math.imul(ae,ft)|0,q=(q=q+Math.imul(ae,Re)|0)+Math.imul(fe,ft)|0,H=H+Math.imul(fe,Re)|0,G=G+Math.imul(Me,Qe)|0,q=(q=q+Math.imul(Me,ut)|0)+Math.imul(Se,Qe)|0,H=H+Math.imul(Se,ut)|0,G=G+Math.imul(xe,_t)|0,q=(q=q+Math.imul(xe,It)|0)+Math.imul(Pe,_t)|0,H=H+Math.imul(Pe,It)|0,G=G+Math.imul(de,yt)|0,q=(q=q+Math.imul(de,Pt)|0)+Math.imul(me,yt)|0,H=H+Math.imul(me,Pt)|0;var sn=(X+(G=G+Math.imul(ue,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(ue,Nt)|0)+Math.imul(ce,Rt)|0))<<13)|0;X=((H=H+Math.imul(ce,Nt)|0)+(q>>>13)|0)+(sn>>>26)|0,sn&=67108863,G=Math.imul($e,Ft),q=(q=Math.imul($e,Ot))+Math.imul(Ye,Ft)|0,H=Math.imul(Ye,Ot),G=G+Math.imul(we,qt)|0,q=(q=q+Math.imul(we,Vt)|0)+Math.imul(Ee,qt)|0,H=H+Math.imul(Ee,Vt)|0,G=G+Math.imul(ze,Je)|0,q=(q=q+Math.imul(ze,qe)|0)+Math.imul(je,Je)|0,H=H+Math.imul(je,qe)|0,G=G+Math.imul(ke,ft)|0,q=(q=q+Math.imul(ke,Re)|0)+Math.imul(Le,ft)|0,H=H+Math.imul(Le,Re)|0,G=G+Math.imul(ae,Qe)|0,q=(q=q+Math.imul(ae,ut)|0)+Math.imul(fe,Qe)|0,H=H+Math.imul(fe,ut)|0,G=G+Math.imul(Me,_t)|0,q=(q=q+Math.imul(Me,It)|0)+Math.imul(Se,_t)|0,H=H+Math.imul(Se,It)|0,G=G+Math.imul(xe,yt)|0,q=(q=q+Math.imul(xe,Pt)|0)+Math.imul(Pe,yt)|0,H=H+Math.imul(Pe,Pt)|0;var Tn=(X+(G=G+Math.imul(de,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(de,Nt)|0)+Math.imul(me,Rt)|0))<<13)|0;X=((H=H+Math.imul(me,Nt)|0)+(q>>>13)|0)+(Tn>>>26)|0,Tn&=67108863,G=Math.imul($e,qt),q=(q=Math.imul($e,Vt))+Math.imul(Ye,qt)|0,H=Math.imul(Ye,Vt),G=G+Math.imul(we,Je)|0,q=(q=q+Math.imul(we,qe)|0)+Math.imul(Ee,Je)|0,H=H+Math.imul(Ee,qe)|0,G=G+Math.imul(ze,ft)|0,q=(q=q+Math.imul(ze,Re)|0)+Math.imul(je,ft)|0,H=H+Math.imul(je,Re)|0,G=G+Math.imul(ke,Qe)|0,q=(q=q+Math.imul(ke,ut)|0)+Math.imul(Le,Qe)|0,H=H+Math.imul(Le,ut)|0,G=G+Math.imul(ae,_t)|0,q=(q=q+Math.imul(ae,It)|0)+Math.imul(fe,_t)|0,H=H+Math.imul(fe,It)|0,G=G+Math.imul(Me,yt)|0,q=(q=q+Math.imul(Me,Pt)|0)+Math.imul(Se,yt)|0,H=H+Math.imul(Se,Pt)|0;var dn=(X+(G=G+Math.imul(xe,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(xe,Nt)|0)+Math.imul(Pe,Rt)|0))<<13)|0;X=((H=H+Math.imul(Pe,Nt)|0)+(q>>>13)|0)+(dn>>>26)|0,dn&=67108863,G=Math.imul($e,Je),q=(q=Math.imul($e,qe))+Math.imul(Ye,Je)|0,H=Math.imul(Ye,qe),G=G+Math.imul(we,ft)|0,q=(q=q+Math.imul(we,Re)|0)+Math.imul(Ee,ft)|0,H=H+Math.imul(Ee,Re)|0,G=G+Math.imul(ze,Qe)|0,q=(q=q+Math.imul(ze,ut)|0)+Math.imul(je,Qe)|0,H=H+Math.imul(je,ut)|0,G=G+Math.imul(ke,_t)|0,q=(q=q+Math.imul(ke,It)|0)+Math.imul(Le,_t)|0,H=H+Math.imul(Le,It)|0,G=G+Math.imul(ae,yt)|0,q=(q=q+Math.imul(ae,Pt)|0)+Math.imul(fe,yt)|0,H=H+Math.imul(fe,Pt)|0;var pn=(X+(G=G+Math.imul(Me,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(Me,Nt)|0)+Math.imul(Se,Rt)|0))<<13)|0;X=((H=H+Math.imul(Se,Nt)|0)+(q>>>13)|0)+(pn>>>26)|0,pn&=67108863,G=Math.imul($e,ft),q=(q=Math.imul($e,Re))+Math.imul(Ye,ft)|0,H=Math.imul(Ye,Re),G=G+Math.imul(we,Qe)|0,q=(q=q+Math.imul(we,ut)|0)+Math.imul(Ee,Qe)|0,H=H+Math.imul(Ee,ut)|0,G=G+Math.imul(ze,_t)|0,q=(q=q+Math.imul(ze,It)|0)+Math.imul(je,_t)|0,H=H+Math.imul(je,It)|0,G=G+Math.imul(ke,yt)|0,q=(q=q+Math.imul(ke,Pt)|0)+Math.imul(Le,yt)|0,H=H+Math.imul(Le,Pt)|0;var Dn=(X+(G=G+Math.imul(ae,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(ae,Nt)|0)+Math.imul(fe,Rt)|0))<<13)|0;X=((H=H+Math.imul(fe,Nt)|0)+(q>>>13)|0)+(Dn>>>26)|0,Dn&=67108863,G=Math.imul($e,Qe),q=(q=Math.imul($e,ut))+Math.imul(Ye,Qe)|0,H=Math.imul(Ye,ut),G=G+Math.imul(we,_t)|0,q=(q=q+Math.imul(we,It)|0)+Math.imul(Ee,_t)|0,H=H+Math.imul(Ee,It)|0,G=G+Math.imul(ze,yt)|0,q=(q=q+Math.imul(ze,Pt)|0)+Math.imul(je,yt)|0,H=H+Math.imul(je,Pt)|0;var In=(X+(G=G+Math.imul(ke,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(ke,Nt)|0)+Math.imul(Le,Rt)|0))<<13)|0;X=((H=H+Math.imul(Le,Nt)|0)+(q>>>13)|0)+(In>>>26)|0,In&=67108863,G=Math.imul($e,_t),q=(q=Math.imul($e,It))+Math.imul(Ye,_t)|0,H=Math.imul(Ye,It),G=G+Math.imul(we,yt)|0,q=(q=q+Math.imul(we,Pt)|0)+Math.imul(Ee,yt)|0,H=H+Math.imul(Ee,Pt)|0;var jn=(X+(G=G+Math.imul(ze,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(ze,Nt)|0)+Math.imul(je,Rt)|0))<<13)|0;X=((H=H+Math.imul(je,Nt)|0)+(q>>>13)|0)+(jn>>>26)|0,jn&=67108863,G=Math.imul($e,yt),q=(q=Math.imul($e,Pt))+Math.imul(Ye,yt)|0,H=Math.imul(Ye,Pt);var Gn=(X+(G=G+Math.imul(we,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(we,Nt)|0)+Math.imul(Ee,Rt)|0))<<13)|0;X=((H=H+Math.imul(Ee,Nt)|0)+(q>>>13)|0)+(Gn>>>26)|0,Gn&=67108863;var qn=(X+(G=Math.imul($e,Rt))|0)+((8191&(q=(q=Math.imul($e,Nt))+Math.imul(Ye,Rt)|0))<<13)|0;return X=((H=Math.imul(Ye,Nt))+(q>>>13)|0)+(qn>>>26)|0,qn&=67108863,Z[0]=Yt,Z[1]=Wt,Z[2]=Xt,Z[3]=Qt,Z[4]=rn,Z[5]=xn,Z[6]=un,Z[7]=An,Z[8]=Yn,Z[9]=kn,Z[10]=sn,Z[11]=Tn,Z[12]=dn,Z[13]=pn,Z[14]=Dn,Z[15]=In,Z[16]=jn,Z[17]=Gn,Z[18]=qn,X!==0&&(Z[19]=X,U.length++),U};function L(j,$,U){return new b().mulp(j,$,U)}function b(j,$){this.x=j,this.y=$}Math.imul||(A=x),c.prototype.mulTo=function(j,$){var U,G=this.length+j.length;return U=this.length===10&&j.length===10?A(this,j,$):G<63?x(this,j,$):G<1024?function(q,H,ne){ne.negative=H.negative^q.negative,ne.length=q.length+H.length;for(var te=0,Z=0,X=0;X>>26)|0)>>>26,Q&=67108863}ne.words[X]=re,te=Q,Q=Z}return te!==0?ne.words[X]=te:ne.length--,ne.strip()}(this,j,$):L(this,j,$),U},b.prototype.makeRBT=function(j){for(var $=new Array(j),U=c.prototype._countBits(j)-1,G=0;G>=1;return G},b.prototype.permute=function(j,$,U,G,q,H){for(var ne=0;ne>>=1)q++;return 1<>>=13,U[2*H+1]=8191&q,q>>>=13;for(H=2*$;H>=26,$+=G/67108864|0,$+=q>>>26,this.words[U]=67108863&q}return $!==0&&(this.words[U]=$,this.length++),this},c.prototype.muln=function(j){return this.clone().imuln(j)},c.prototype.sqr=function(){return this.mul(this)},c.prototype.isqr=function(){return this.imul(this.clone())},c.prototype.pow=function(j){var $=function(H){for(var ne=new Array(H.bitLength()),te=0;te>>X}return ne}(j);if($.length===0)return new c(1);for(var U=this,G=0;G<$.length&&$[G]===0;G++,U=U.sqr());if(++G<$.length)for(var q=U.sqr();G<$.length;G++,q=q.sqr())$[G]!==0&&(U=U.mul(q));return U},c.prototype.iushln=function(j){s(typeof j=="number"&&j>=0);var $,U=j%26,G=(j-U)/26,q=67108863>>>26-U<<26-U;if(U!==0){var H=0;for($=0;$>>26-U}H&&(this.words[$]=H,this.length++)}if(G!==0){for($=this.length-1;$>=0;$--)this.words[$+G]=this.words[$];for($=0;$=0),G=$?($-$%26)/26:0;var q=j%26,H=Math.min((j-q)/26,this.length),ne=67108863^67108863>>>q<H)for(this.length-=H,Z=0;Z=0&&(X!==0||Z>=G);Z--){var Q=0|this.words[Z];this.words[Z]=X<<26-q|Q>>>q,X=Q&ne}return te&&X!==0&&(te.words[te.length++]=X),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},c.prototype.ishrn=function(j,$,U){return s(this.negative===0),this.iushrn(j,$,U)},c.prototype.shln=function(j){return this.clone().ishln(j)},c.prototype.ushln=function(j){return this.clone().iushln(j)},c.prototype.shrn=function(j){return this.clone().ishrn(j)},c.prototype.ushrn=function(j){return this.clone().iushrn(j)},c.prototype.testn=function(j){s(typeof j=="number"&&j>=0);var $=j%26,U=(j-$)/26,G=1<<$;return!(this.length<=U||!(this.words[U]&G))},c.prototype.imaskn=function(j){s(typeof j=="number"&&j>=0);var $=j%26,U=(j-$)/26;if(s(this.negative===0,"imaskn works only with positive numbers"),this.length<=U)return this;if($!==0&&U++,this.length=Math.min(U,this.length),$!==0){var G=67108863^67108863>>>$<<$;this.words[this.length-1]&=G}return this.strip()},c.prototype.maskn=function(j){return this.clone().imaskn(j)},c.prototype.iaddn=function(j){return s(typeof j=="number"),s(j<67108864),j<0?this.isubn(-j):this.negative!==0?this.length===1&&(0|this.words[0])=67108864;$++)this.words[$]-=67108864,$===this.length-1?this.words[$+1]=1:this.words[$+1]++;return this.length=Math.max(this.length,$+1),this},c.prototype.isubn=function(j){if(s(typeof j=="number"),s(j<67108864),j<0)return this.iaddn(-j);if(this.negative!==0)return this.negative=0,this.iaddn(j),this.negative=1,this;if(this.words[0]-=j,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var $=0;$>26)-(te/67108864|0),this.words[G+U]=67108863&q}for(;G>26,this.words[G+U]=67108863&q;if(ne===0)return this.strip();for(s(ne===-1),ne=0,G=0;G>26,this.words[G]=67108863&q;return this.negative=1,this.strip()},c.prototype._wordDiv=function(j,$){var U=(this.length,j.length),G=this.clone(),q=j,H=0|q.words[q.length-1];(U=26-this._countBits(H))!=0&&(q=q.ushln(U),G.iushln(U),H=0|q.words[q.length-1]);var ne,te=G.length-q.length;if($!=="mod"){(ne=new c(null)).length=te+1,ne.words=new Array(ne.length);for(var Z=0;Z=0;Q--){var re=67108864*(0|G.words[q.length+Q])+(0|G.words[q.length+Q-1]);for(re=Math.min(re/H|0,67108863),G._ishlnsubmul(q,re,Q);G.negative!==0;)re--,G.negative=0,G._ishlnsubmul(q,1,Q),G.isZero()||(G.negative^=1);ne&&(ne.words[Q]=re)}return ne&&ne.strip(),G.strip(),$!=="div"&&U!==0&&G.iushrn(U),{div:ne||null,mod:G}},c.prototype.divmod=function(j,$,U){return s(!j.isZero()),this.isZero()?{div:new c(0),mod:new c(0)}:this.negative!==0&&j.negative===0?(H=this.neg().divmod(j,$),$!=="mod"&&(G=H.div.neg()),$!=="div"&&(q=H.mod.neg(),U&&q.negative!==0&&q.iadd(j)),{div:G,mod:q}):this.negative===0&&j.negative!==0?(H=this.divmod(j.neg(),$),$!=="mod"&&(G=H.div.neg()),{div:G,mod:H.mod}):this.negative&j.negative?(H=this.neg().divmod(j.neg(),$),$!=="div"&&(q=H.mod.neg(),U&&q.negative!==0&&q.isub(j)),{div:H.div,mod:q}):j.length>this.length||this.cmp(j)<0?{div:new c(0),mod:this}:j.length===1?$==="div"?{div:this.divn(j.words[0]),mod:null}:$==="mod"?{div:null,mod:new c(this.modn(j.words[0]))}:{div:this.divn(j.words[0]),mod:new c(this.modn(j.words[0]))}:this._wordDiv(j,$);var G,q,H},c.prototype.div=function(j){return this.divmod(j,"div",!1).div},c.prototype.mod=function(j){return this.divmod(j,"mod",!1).mod},c.prototype.umod=function(j){return this.divmod(j,"mod",!0).mod},c.prototype.divRound=function(j){var $=this.divmod(j);if($.mod.isZero())return $.div;var U=$.div.negative!==0?$.mod.isub(j):$.mod,G=j.ushrn(1),q=j.andln(1),H=U.cmp(G);return H<0||q===1&&H===0?$.div:$.div.negative!==0?$.div.isubn(1):$.div.iaddn(1)},c.prototype.modn=function(j){s(j<=67108863);for(var $=67108864%j,U=0,G=this.length-1;G>=0;G--)U=($*U+(0|this.words[G]))%j;return U},c.prototype.idivn=function(j){s(j<=67108863);for(var $=0,U=this.length-1;U>=0;U--){var G=(0|this.words[U])+67108864*$;this.words[U]=G/j|0,$=G%j}return this.strip()},c.prototype.divn=function(j){return this.clone().idivn(j)},c.prototype.egcd=function(j){s(j.negative===0),s(!j.isZero());var $=this,U=j.clone();$=$.negative!==0?$.umod(j):$.clone();for(var G=new c(1),q=new c(0),H=new c(0),ne=new c(1),te=0;$.isEven()&&U.isEven();)$.iushrn(1),U.iushrn(1),++te;for(var Z=U.clone(),X=$.clone();!$.isZero();){for(var Q=0,re=1;!($.words[0]&re)&&Q<26;++Q,re<<=1);if(Q>0)for($.iushrn(Q);Q-- >0;)(G.isOdd()||q.isOdd())&&(G.iadd(Z),q.isub(X)),G.iushrn(1),q.iushrn(1);for(var ie=0,oe=1;!(U.words[0]&oe)&&ie<26;++ie,oe<<=1);if(ie>0)for(U.iushrn(ie);ie-- >0;)(H.isOdd()||ne.isOdd())&&(H.iadd(Z),ne.isub(X)),H.iushrn(1),ne.iushrn(1);$.cmp(U)>=0?($.isub(U),G.isub(H),q.isub(ne)):(U.isub($),H.isub(G),ne.isub(q))}return{a:H,b:ne,gcd:U.iushln(te)}},c.prototype._invmp=function(j){s(j.negative===0),s(!j.isZero());var $=this,U=j.clone();$=$.negative!==0?$.umod(j):$.clone();for(var G,q=new c(1),H=new c(0),ne=U.clone();$.cmpn(1)>0&&U.cmpn(1)>0;){for(var te=0,Z=1;!($.words[0]&Z)&&te<26;++te,Z<<=1);if(te>0)for($.iushrn(te);te-- >0;)q.isOdd()&&q.iadd(ne),q.iushrn(1);for(var X=0,Q=1;!(U.words[0]&Q)&&X<26;++X,Q<<=1);if(X>0)for(U.iushrn(X);X-- >0;)H.isOdd()&&H.iadd(ne),H.iushrn(1);$.cmp(U)>=0?($.isub(U),q.isub(H)):(U.isub($),H.isub(q))}return(G=$.cmpn(1)===0?q:H).cmpn(0)<0&&G.iadd(j),G},c.prototype.gcd=function(j){if(this.isZero())return j.abs();if(j.isZero())return this.abs();var $=this.clone(),U=j.clone();$.negative=0,U.negative=0;for(var G=0;$.isEven()&&U.isEven();G++)$.iushrn(1),U.iushrn(1);for(;;){for(;$.isEven();)$.iushrn(1);for(;U.isEven();)U.iushrn(1);var q=$.cmp(U);if(q<0){var H=$;$=U,U=H}else if(q===0||U.cmpn(1)===0)break;$.isub(U)}return U.iushln(G)},c.prototype.invm=function(j){return this.egcd(j).a.umod(j)},c.prototype.isEven=function(){return(1&this.words[0])==0},c.prototype.isOdd=function(){return(1&this.words[0])==1},c.prototype.andln=function(j){return this.words[0]&j},c.prototype.bincn=function(j){s(typeof j=="number");var $=j%26,U=(j-$)/26,G=1<<$;if(this.length<=U)return this._expand(U+1),this.words[U]|=G,this;for(var q=G,H=U;q!==0&&H>>26,ne&=67108863,this.words[H]=ne}return q!==0&&(this.words[H]=q,this.length++),this},c.prototype.isZero=function(){return this.length===1&&this.words[0]===0},c.prototype.cmpn=function(j){var $,U=j<0;if(this.negative!==0&&!U)return-1;if(this.negative===0&&U)return 1;if(this.strip(),this.length>1)$=1;else{U&&(j=-j),s(j<=67108863,"Number is too big");var G=0|this.words[0];$=G===j?0:Gj.length)return 1;if(this.length=0;U--){var G=0|this.words[U],q=0|j.words[U];if(G!==q){Gq&&($=1);break}}return $},c.prototype.gtn=function(j){return this.cmpn(j)===1},c.prototype.gt=function(j){return this.cmp(j)===1},c.prototype.gten=function(j){return this.cmpn(j)>=0},c.prototype.gte=function(j){return this.cmp(j)>=0},c.prototype.ltn=function(j){return this.cmpn(j)===-1},c.prototype.lt=function(j){return this.cmp(j)===-1},c.prototype.lten=function(j){return this.cmpn(j)<=0},c.prototype.lte=function(j){return this.cmp(j)<=0},c.prototype.eqn=function(j){return this.cmpn(j)===0},c.prototype.eq=function(j){return this.cmp(j)===0},c.red=function(j){return new N(j)},c.prototype.toRed=function(j){return s(!this.red,"Already a number in reduction context"),s(this.negative===0,"red works only with positives"),j.convertTo(this)._forceRed(j)},c.prototype.fromRed=function(){return s(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},c.prototype._forceRed=function(j){return this.red=j,this},c.prototype.forceRed=function(j){return s(!this.red,"Already a number in reduction context"),this._forceRed(j)},c.prototype.redAdd=function(j){return s(this.red,"redAdd works only with red numbers"),this.red.add(this,j)},c.prototype.redIAdd=function(j){return s(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,j)},c.prototype.redSub=function(j){return s(this.red,"redSub works only with red numbers"),this.red.sub(this,j)},c.prototype.redISub=function(j){return s(this.red,"redISub works only with red numbers"),this.red.isub(this,j)},c.prototype.redShl=function(j){return s(this.red,"redShl works only with red numbers"),this.red.shl(this,j)},c.prototype.redMul=function(j){return s(this.red,"redMul works only with red numbers"),this.red._verify2(this,j),this.red.mul(this,j)},c.prototype.redIMul=function(j){return s(this.red,"redMul works only with red numbers"),this.red._verify2(this,j),this.red.imul(this,j)},c.prototype.redSqr=function(){return s(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},c.prototype.redISqr=function(){return s(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},c.prototype.redSqrt=function(){return s(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},c.prototype.redInvm=function(){return s(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},c.prototype.redNeg=function(){return s(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},c.prototype.redPow=function(j){return s(this.red&&!j.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,j)};var R={k256:null,p224:null,p192:null,p25519:null};function I(j,$){this.name=j,this.p=new c($,16),this.n=this.p.bitLength(),this.k=new c(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function O(){I.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function z(){I.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function F(){I.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function B(){I.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function N(j){if(typeof j=="string"){var $=c._prime(j);this.m=$.p,this.prime=$}else s(j.gtn(1),"modulus must be greater than 1"),this.m=j,this.prime=null}function W(j){N.call(this,j),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new c(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}I.prototype._tmp=function(){var j=new c(null);return j.words=new Array(Math.ceil(this.n/13)),j},I.prototype.ireduce=function(j){var $,U=j;do this.split(U,this.tmp),$=(U=(U=this.imulK(U)).iadd(this.tmp)).bitLength();while($>this.n);var G=$0?U.isub(this.p):U.strip!==void 0?U.strip():U._strip(),U},I.prototype.split=function(j,$){j.iushrn(this.n,0,$)},I.prototype.imulK=function(j){return j.imul(this.k)},h(O,I),O.prototype.split=function(j,$){for(var U=4194303,G=Math.min(j.length,9),q=0;q>>22,H=ne}H>>>=22,j.words[q-10]=H,H===0&&j.length>10?j.length-=10:j.length-=9},O.prototype.imulK=function(j){j.words[j.length]=0,j.words[j.length+1]=0,j.length+=2;for(var $=0,U=0;U>>=26,j.words[U]=q,$=G}return $!==0&&(j.words[j.length++]=$),j},c._prime=function(j){if(R[j])return R[j];var $;if(j==="k256")$=new O;else if(j==="p224")$=new z;else if(j==="p192")$=new F;else{if(j!=="p25519")throw new Error("Unknown prime "+j);$=new B}return R[j]=$,$},N.prototype._verify1=function(j){s(j.negative===0,"red works only with positives"),s(j.red,"red works only with red numbers")},N.prototype._verify2=function(j,$){s((j.negative|$.negative)==0,"red works only with positives"),s(j.red&&j.red===$.red,"red works only with red numbers")},N.prototype.imod=function(j){return this.prime?this.prime.ireduce(j)._forceRed(this):j.umod(this.m)._forceRed(this)},N.prototype.neg=function(j){return j.isZero()?j.clone():this.m.sub(j)._forceRed(this)},N.prototype.add=function(j,$){this._verify2(j,$);var U=j.add($);return U.cmp(this.m)>=0&&U.isub(this.m),U._forceRed(this)},N.prototype.iadd=function(j,$){this._verify2(j,$);var U=j.iadd($);return U.cmp(this.m)>=0&&U.isub(this.m),U},N.prototype.sub=function(j,$){this._verify2(j,$);var U=j.sub($);return U.cmpn(0)<0&&U.iadd(this.m),U._forceRed(this)},N.prototype.isub=function(j,$){this._verify2(j,$);var U=j.isub($);return U.cmpn(0)<0&&U.iadd(this.m),U},N.prototype.shl=function(j,$){return this._verify1(j),this.imod(j.ushln($))},N.prototype.imul=function(j,$){return this._verify2(j,$),this.imod(j.imul($))},N.prototype.mul=function(j,$){return this._verify2(j,$),this.imod(j.mul($))},N.prototype.isqr=function(j){return this.imul(j,j.clone())},N.prototype.sqr=function(j){return this.mul(j,j)},N.prototype.sqrt=function(j){if(j.isZero())return j.clone();var $=this.m.andln(3);if(s($%2==1),$===3){var U=this.m.add(new c(1)).iushrn(2);return this.pow(j,U)}for(var G=this.m.subn(1),q=0;!G.isZero()&&G.andln(1)===0;)q++,G.iushrn(1);s(!G.isZero());var H=new c(1).toRed(this),ne=H.redNeg(),te=this.m.subn(1).iushrn(1),Z=this.m.bitLength();for(Z=new c(2*Z*Z).toRed(this);this.pow(Z,te).cmp(ne)!==0;)Z.redIAdd(ne);for(var X=this.pow(Z,G),Q=this.pow(j,G.addn(1).iushrn(1)),re=this.pow(j,G),ie=q;re.cmp(H)!==0;){for(var oe=re,ue=0;oe.cmp(H)!==0;ue++)oe=oe.redSqr();s(ue=0;G--){for(var Z=$.words[G],X=te-1;X>=0;X--){var Q=Z>>X&1;q!==U[0]&&(q=this.sqr(q)),Q!==0||H!==0?(H<<=1,H|=Q,(++ne==4||G===0&&X===0)&&(q=this.mul(q,U[H]),ne=0,H=0)):ne=0}te=26}return q},N.prototype.convertTo=function(j){var $=j.umod(this.m);return $===j?$.clone():$},N.prototype.convertFrom=function(j){var $=j.clone();return $.red=null,$},c.mont=function(j){return new W(j)},h(W,N),W.prototype.convertTo=function(j){return this.imod(j.ushln(this.shift))},W.prototype.convertFrom=function(j){var $=this.imod(j.mul(this.rinv));return $.red=null,$},W.prototype.imul=function(j,$){if(j.isZero()||$.isZero())return j.words[0]=0,j.length=1,j;var U=j.imul($),G=U.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),q=U.isub(G).iushrn(this.shift),H=q;return q.cmp(this.m)>=0?H=q.isub(this.m):q.cmpn(0)<0&&(H=q.iadd(this.m)),H._forceRed(this)},W.prototype.mul=function(j,$){if(j.isZero()||$.isZero())return new c(0)._forceRed(this);var U=j.mul($),G=U.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),q=U.isub(G).iushrn(this.shift),H=q;return q.cmp(this.m)>=0?H=q.isub(this.m):q.cmpn(0)<0&&(H=q.iadd(this.m)),H._forceRed(this)},W.prototype.invm=function(j){return this.imod(j._invmp(this.m).mul(this.r2))._forceRed(this)}})(f=a.nmd(f),this)},2692:function(f){f.exports=function(l){var a,u,o,s=l.length,h=0;for(a=0;a>>1;if(!(R<=0)){var I,O=o.mallocDouble(2*R*L),z=o.mallocInt32(L);if((L=m(k,R,O,z))>0){if(R===1&&A)s.init(L),I=s.sweepComplete(R,x,0,L,O,z,0,L,O,z);else{var F=o.mallocDouble(2*R*b),B=o.mallocInt32(b);(b=m(E,R,F,B))>0&&(s.init(L+b),I=R===1?s.sweepBipartite(R,x,0,L,O,z,0,b,F,B):h(R,x,A,L,O,z,b,F,B),o.free(F),o.free(B))}o.free(O),o.free(z)}return I}}}function y(k,E){u.push([k,E])}function C(k){return u=[],w(k,k,y,!0),u}function _(k,E){return u=[],w(k,E,y,!1),u}},7333:function(f,l){function a(u){return u?function(o,s,h,c,m,w,y,C,_,k,E){return m-c>_-C?function(x,A,L,b,R,I,O,z,F,B,N){for(var W=2*x,j=b,$=W*b;jk-_?c?function(A,L,b,R,I,O,z,F,B,N,W){for(var j=2*A,$=R,U=j*R;$0;){var te=6*(H-=1),Z=L[te],X=L[te+1],Q=L[te+2],re=L[te+3],ie=L[te+4],oe=L[te+5],ue=2*H,ce=b[ue],ye=b[ue+1],de=1&oe,me=!!(16&oe),pe=W,xe=j,Pe=U,_e=G;if(de&&(pe=U,xe=G,Pe=W,_e=j),!(2&oe&&(Q=k(z,Z,X,Q,pe,xe,ye),X>=Q)||4&oe&&(X=E(z,Z,X,Q,pe,xe,ce))>=Q)){var Me=Q-X,Se=ie-re;if(me){if(z*Me*(Me+Se)<4194304){if((q=m.scanComplete(z,Z,F,X,Q,pe,xe,re,ie,Pe,_e))!==void 0)return q;continue}}else{if(z*Math.min(Me,Se)<128){if((q=h(z,Z,F,de,X,Q,pe,xe,re,ie,Pe,_e))!==void 0)return q;continue}if(z*Me*Se<4194304){if((q=m.scanBipartite(z,Z,F,de,X,Q,pe,xe,re,ie,Pe,_e))!==void 0)return q;continue}}var Ce=C(z,Z,X,Q,pe,xe,ce,ye);if(X=p0)&&!(p1>=hi)"),_=y("lo===p0"),k=y("lo>>1,E=2*s,x=k,A=w[E*k+h];C<_;){if(_-C<8){o(s,h,C,_,w,y),A=w[E*k+h];break}var L=_-C,b=Math.random()*L+C|0,R=w[E*b+h],I=Math.random()*L+C|0,O=w[E*I+h],z=Math.random()*L+C|0,F=w[E*z+h];R<=O?F>=O?(x=I,A=O):R>=F?(x=b,A=R):(x=z,A=F):O>=F?(x=I,A=O):F>=R?(x=b,A=R):(x=z,A=F);for(var B=E*(_-1),N=E*x,W=0;Wc&&w[A+h]>E;--x,A-=C){for(var L=A,b=A+C,R=0;RE;++E,y+=w)if(h[y+k]===m)if(_===E)_+=1,C+=w;else{for(var x=0;w>x;++x){var A=h[y+x];h[y+x]=h[C],h[C++]=A}var L=c[E];c[E]=c[_],c[_++]=L}return _},"loE;++E,y+=w)if(h[y+k]x;++x){var A=h[y+x];h[y+x]=h[C],h[C++]=A}var L=c[E];c[E]=c[_],c[_++]=L}return _},"lo<=p0":function(a,u,o,s,h,c,m){for(var w=2*a,y=w*o,C=y,_=o,k=a+u,E=o;s>E;++E,y+=w)if(h[y+k]<=m)if(_===E)_+=1,C+=w;else{for(var x=0;w>x;++x){var A=h[y+x];h[y+x]=h[C],h[C++]=A}var L=c[E];c[E]=c[_],c[_++]=L}return _},"hi<=p0":function(a,u,o,s,h,c,m){for(var w=2*a,y=w*o,C=y,_=o,k=a+u,E=o;s>E;++E,y+=w)if(h[y+k]<=m)if(_===E)_+=1,C+=w;else{for(var x=0;w>x;++x){var A=h[y+x];h[y+x]=h[C],h[C++]=A}var L=c[E];c[E]=c[_],c[_++]=L}return _},"lox;++x,y+=w){var A=h[y+k],L=h[y+E];if(Ab;++b){var R=h[y+b];h[y+b]=h[C],h[C++]=R}var I=c[x];c[x]=c[_],c[_++]=I}}return _},"lo<=p0&&p0<=hi":function(a,u,o,s,h,c,m){for(var w=2*a,y=w*o,C=y,_=o,k=u,E=a+u,x=o;s>x;++x,y+=w){var A=h[y+k],L=h[y+E];if(A<=m&&m<=L)if(_===x)_+=1,C+=w;else{for(var b=0;w>b;++b){var R=h[y+b];h[y+b]=h[C],h[C++]=R}var I=c[x];c[x]=c[_],c[_++]=I}}return _},"!(lo>=p0)&&!(p1>=hi)":function(a,u,o,s,h,c,m,w){for(var y=2*a,C=y*o,_=C,k=o,E=u,x=a+u,A=o;s>A;++A,C+=y){var L=h[C+E],b=h[C+x];if(!(L>=m||w>=b))if(k===A)k+=1,_+=y;else{for(var R=0;y>R;++R){var I=h[C+R];h[C+R]=h[_],h[_++]=I}var O=c[A];c[A]=c[k],c[k++]=O}}return k}}},309:function(f){function l(w,y,C){for(var _=2*(w+1),k=w+1;k<=y;++k){for(var E=C[_++],x=C[_++],A=k,L=_-2;A-- >w;){var b=C[L-2],R=C[L-1];if(bC[y+1])}function c(w,y,C,_){var k=_[w*=2];return k>1,A=x-_,L=x+_,b=k,R=A,I=x,O=L,z=E,F=w+1,B=y-1,N=0;h(b,R,C)&&(N=b,b=R,R=N),h(O,z,C)&&(N=O,O=z,z=N),h(b,I,C)&&(N=b,b=I,I=N),h(R,I,C)&&(N=R,R=I,I=N),h(b,O,C)&&(N=b,b=O,O=N),h(I,O,C)&&(N=I,I=O,O=N),h(R,z,C)&&(N=R,R=z,z=N),h(R,I,C)&&(N=R,R=I,I=N),h(O,z,C)&&(N=O,O=z,z=N);for(var W=C[2*R],j=C[2*R+1],$=C[2*O],U=C[2*O+1],G=2*b,q=2*I,H=2*z,ne=2*k,te=2*x,Z=2*E,X=0;X<2;++X){var Q=C[G+X],re=C[q+X],ie=C[H+X];C[ne+X]=Q,C[te+X]=re,C[Z+X]=ie}u(A,w,C),u(L,y,C);for(var oe=F;oe<=B;++oe)if(c(oe,W,j,C))oe!==F&&a(oe,F,C),++F;else if(!c(oe,$,U,C))for(;;){if(c(B,$,U,C)){c(B,W,j,C)?(o(oe,F,B,C),++F,--B):(a(oe,B,C),--B);break}if(--B>>1;s(E,Z);var X=0,Q=0;for(q=0;q=h)x(y,C,Q--,re=re-h|0);else if(re>=0)x(m,w,X--,re);else if(re<=-268435456){re=-re-h|0;for(var ie=0;ie>>1;s(E,Z);var X=0,Q=0,re=0;for(q=0;q>1==E[2*q+3]>>1&&(oe=2,q+=1),ie<0){for(var ue=-(ie>>1)-1,ce=0;ce>1)-1,oe===0?x(m,w,X--,ue):oe===1?x(y,C,Q--,ue):oe===2&&x(_,k,re--,ue)}},scanBipartite:function(L,b,R,I,O,z,F,B,N,W,j,$){var U=0,G=2*L,q=b,H=b+L,ne=1,te=1;I?te=h:ne=h;for(var Z=O;Z>>1;s(E,ie);var oe=0;for(Z=0;Z=h?(ce=!I,X-=h):(ce=!!I,X-=1),ce)A(m,w,oe++,X);else{var ye=$[X],de=G*X,me=j[de+b+1],pe=j[de+b+1+L];e:for(var xe=0;xe>>1;s(E,X);var Q=0;for(H=0;H=h)m[Q++]=ne-h;else{var ie=j[ne-=1],oe=U*ne,ue=W[oe+b+1],ce=W[oe+b+1+L];e:for(var ye=0;ye=0;--ye)if(m[ye]===ne){for(xe=ye+1;xe0;){for(var A=c.pop(),L=(k=-1,E=-1,C=w[y=c.pop()],1);L=0||(h.flip(y,A),o(s,h,c,k,y,E),o(s,h,c,y,E,k),o(s,h,c,E,A,k),o(s,h,c,A,k,E))}}},7098:function(f,l,a){var u,o=a(5070);function s(c,m,w,y,C,_,k){this.cells=c,this.neighbor=m,this.flags=y,this.constraint=w,this.active=C,this.next=_,this.boundary=k}function h(c,m){return c[0]-m[0]||c[1]-m[1]||c[2]-m[2]}f.exports=function(c,m,w){var y=function(F,B){for(var N=F.cells(),W=N.length,j=0;j0||k.length>0;){for(;_.length>0;){var b=_.pop();if(E[b]!==-C){E[b]=C,x[b];for(var R=0;R<3;++R){var I=L[3*b+R];I>=0&&E[I]===0&&(A[3*b+R]?k.push(I):(_.push(I),E[I]=C))}}}var O=k;k=_,_=O,k.length=0,C=-C}var z=function(F,B,N){for(var W=0,j=0;j1&&o(x[z[F-2]],x[z[F-1]],A)>0;)k.push([z[F-1],z[F-2],L]),F-=1;z.length=F,z.push(L);var B=O.upperIds;for(F=B.length;F>1&&o(x[B[F-2]],x[B[F-1]],A)<0;)k.push([B[F-2],B[F-1],L]),F-=1;B.length=F,B.push(L)}}function y(k,E){var x;return(x=k.a[0]O[0]&&L.push(new h(O,I,2,b),new h(I,O,1,b))}L.sort(c);for(var z=L[0].a[0]-(1+Math.abs(L[0].a[0]))*Math.pow(2,-52),F=[new s([z,1],[z,0],-1,[],[])],B=[],N=(b=0,L.length);b=0}}(),s.removeTriangle=function(c,m,w){var y=this.stars;h(y[c],m,w),h(y[m],w,c),h(y[w],c,m)},s.addTriangle=function(c,m,w){var y=this.stars;y[c].push(m,w),y[m].push(w,c),y[w].push(c,m)},s.opposite=function(c,m){for(var w=this.stars[m],y=1,C=w.length;yI[2]?1:0)}function L(R,I,O){if(R.length!==0){if(I)for(var z=0;z=0;--H){var ue=$[ne=(_e=G[H])[0]],ce=ue[0],ye=ue[1],de=j[ce],me=j[ye];if((de[0]-me[0]||de[1]-me[1])<0){var pe=ce;ce=ye,ye=pe}ue[0]=ce;var xe,Pe=ue[1]=_e[1];for(q&&(xe=ue[2]);H>0&&G[H-1][0]===ne;){var _e,Me=(_e=G[--H])[1];q?$.push([Pe,Me,xe]):$.push([Pe,Me]),Pe=Me}q?$.push([Pe,ye,xe]):$.push([Pe,ye])}return te}(R,I,F,B,O),W=E(R,N);return L(I,W,O),!!W||F.length>0||B.length>0}},5528:function(f,l,a){f.exports=function(C,_,k,E){var x=c(_,C),A=c(E,k),L=y(x,A);if(h(L)===0)return null;var b=y(A,c(C,k)),R=o(b,L),I=w(x,R);return m(C,I)};var u=a(3962),o=a(9189),s=a(4354),h=a(4951),c=a(6695),m=a(7584),w=a(4469);function y(C,_){return s(u(C[0],_[1]),u(C[1],_[0]))}},5692:function(f){f.exports={jet:[{index:0,rgb:[0,0,131]},{index:.125,rgb:[0,60,170]},{index:.375,rgb:[5,255,255]},{index:.625,rgb:[255,255,0]},{index:.875,rgb:[250,0,0]},{index:1,rgb:[128,0,0]}],hsv:[{index:0,rgb:[255,0,0]},{index:.169,rgb:[253,255,2]},{index:.173,rgb:[247,255,2]},{index:.337,rgb:[0,252,4]},{index:.341,rgb:[0,252,10]},{index:.506,rgb:[1,249,255]},{index:.671,rgb:[2,0,253]},{index:.675,rgb:[8,0,253]},{index:.839,rgb:[255,0,251]},{index:.843,rgb:[255,0,245]},{index:1,rgb:[255,0,6]}],hot:[{index:0,rgb:[0,0,0]},{index:.3,rgb:[230,0,0]},{index:.6,rgb:[255,210,0]},{index:1,rgb:[255,255,255]}],spring:[{index:0,rgb:[255,0,255]},{index:1,rgb:[255,255,0]}],summer:[{index:0,rgb:[0,128,102]},{index:1,rgb:[255,255,102]}],autumn:[{index:0,rgb:[255,0,0]},{index:1,rgb:[255,255,0]}],winter:[{index:0,rgb:[0,0,255]},{index:1,rgb:[0,255,128]}],bone:[{index:0,rgb:[0,0,0]},{index:.376,rgb:[84,84,116]},{index:.753,rgb:[169,200,200]},{index:1,rgb:[255,255,255]}],copper:[{index:0,rgb:[0,0,0]},{index:.804,rgb:[255,160,102]},{index:1,rgb:[255,199,127]}],greys:[{index:0,rgb:[0,0,0]},{index:1,rgb:[255,255,255]}],yignbu:[{index:0,rgb:[8,29,88]},{index:.125,rgb:[37,52,148]},{index:.25,rgb:[34,94,168]},{index:.375,rgb:[29,145,192]},{index:.5,rgb:[65,182,196]},{index:.625,rgb:[127,205,187]},{index:.75,rgb:[199,233,180]},{index:.875,rgb:[237,248,217]},{index:1,rgb:[255,255,217]}],greens:[{index:0,rgb:[0,68,27]},{index:.125,rgb:[0,109,44]},{index:.25,rgb:[35,139,69]},{index:.375,rgb:[65,171,93]},{index:.5,rgb:[116,196,118]},{index:.625,rgb:[161,217,155]},{index:.75,rgb:[199,233,192]},{index:.875,rgb:[229,245,224]},{index:1,rgb:[247,252,245]}],yiorrd:[{index:0,rgb:[128,0,38]},{index:.125,rgb:[189,0,38]},{index:.25,rgb:[227,26,28]},{index:.375,rgb:[252,78,42]},{index:.5,rgb:[253,141,60]},{index:.625,rgb:[254,178,76]},{index:.75,rgb:[254,217,118]},{index:.875,rgb:[255,237,160]},{index:1,rgb:[255,255,204]}],bluered:[{index:0,rgb:[0,0,255]},{index:1,rgb:[255,0,0]}],rdbu:[{index:0,rgb:[5,10,172]},{index:.35,rgb:[106,137,247]},{index:.5,rgb:[190,190,190]},{index:.6,rgb:[220,170,132]},{index:.7,rgb:[230,145,90]},{index:1,rgb:[178,10,28]}],picnic:[{index:0,rgb:[0,0,255]},{index:.1,rgb:[51,153,255]},{index:.2,rgb:[102,204,255]},{index:.3,rgb:[153,204,255]},{index:.4,rgb:[204,204,255]},{index:.5,rgb:[255,255,255]},{index:.6,rgb:[255,204,255]},{index:.7,rgb:[255,153,255]},{index:.8,rgb:[255,102,204]},{index:.9,rgb:[255,102,102]},{index:1,rgb:[255,0,0]}],rainbow:[{index:0,rgb:[150,0,90]},{index:.125,rgb:[0,0,200]},{index:.25,rgb:[0,25,255]},{index:.375,rgb:[0,152,255]},{index:.5,rgb:[44,255,150]},{index:.625,rgb:[151,255,0]},{index:.75,rgb:[255,234,0]},{index:.875,rgb:[255,111,0]},{index:1,rgb:[255,0,0]}],portland:[{index:0,rgb:[12,51,131]},{index:.25,rgb:[10,136,186]},{index:.5,rgb:[242,211,56]},{index:.75,rgb:[242,143,56]},{index:1,rgb:[217,30,30]}],blackbody:[{index:0,rgb:[0,0,0]},{index:.2,rgb:[230,0,0]},{index:.4,rgb:[230,210,0]},{index:.7,rgb:[255,255,255]},{index:1,rgb:[160,200,255]}],earth:[{index:0,rgb:[0,0,130]},{index:.1,rgb:[0,180,180]},{index:.2,rgb:[40,210,40]},{index:.4,rgb:[230,230,50]},{index:.6,rgb:[120,70,20]},{index:1,rgb:[255,255,255]}],electric:[{index:0,rgb:[0,0,0]},{index:.15,rgb:[30,0,100]},{index:.4,rgb:[120,0,100]},{index:.6,rgb:[160,90,0]},{index:.8,rgb:[230,200,0]},{index:1,rgb:[255,250,220]}],alpha:[{index:0,rgb:[255,255,255,0]},{index:1,rgb:[255,255,255,1]}],viridis:[{index:0,rgb:[68,1,84]},{index:.13,rgb:[71,44,122]},{index:.25,rgb:[59,81,139]},{index:.38,rgb:[44,113,142]},{index:.5,rgb:[33,144,141]},{index:.63,rgb:[39,173,129]},{index:.75,rgb:[92,200,99]},{index:.88,rgb:[170,220,50]},{index:1,rgb:[253,231,37]}],inferno:[{index:0,rgb:[0,0,4]},{index:.13,rgb:[31,12,72]},{index:.25,rgb:[85,15,109]},{index:.38,rgb:[136,34,106]},{index:.5,rgb:[186,54,85]},{index:.63,rgb:[227,89,51]},{index:.75,rgb:[249,140,10]},{index:.88,rgb:[249,201,50]},{index:1,rgb:[252,255,164]}],magma:[{index:0,rgb:[0,0,4]},{index:.13,rgb:[28,16,68]},{index:.25,rgb:[79,18,123]},{index:.38,rgb:[129,37,129]},{index:.5,rgb:[181,54,122]},{index:.63,rgb:[229,80,100]},{index:.75,rgb:[251,135,97]},{index:.88,rgb:[254,194,135]},{index:1,rgb:[252,253,191]}],plasma:[{index:0,rgb:[13,8,135]},{index:.13,rgb:[75,3,161]},{index:.25,rgb:[125,3,168]},{index:.38,rgb:[168,34,150]},{index:.5,rgb:[203,70,121]},{index:.63,rgb:[229,107,93]},{index:.75,rgb:[248,148,65]},{index:.88,rgb:[253,195,40]},{index:1,rgb:[240,249,33]}],warm:[{index:0,rgb:[125,0,179]},{index:.13,rgb:[172,0,187]},{index:.25,rgb:[219,0,170]},{index:.38,rgb:[255,0,130]},{index:.5,rgb:[255,63,74]},{index:.63,rgb:[255,123,0]},{index:.75,rgb:[234,176,0]},{index:.88,rgb:[190,228,0]},{index:1,rgb:[147,255,0]}],cool:[{index:0,rgb:[125,0,179]},{index:.13,rgb:[116,0,218]},{index:.25,rgb:[98,74,237]},{index:.38,rgb:[68,146,231]},{index:.5,rgb:[0,204,197]},{index:.63,rgb:[0,247,146]},{index:.75,rgb:[0,255,88]},{index:.88,rgb:[40,255,8]},{index:1,rgb:[147,255,0]}],"rainbow-soft":[{index:0,rgb:[125,0,179]},{index:.1,rgb:[199,0,180]},{index:.2,rgb:[255,0,121]},{index:.3,rgb:[255,108,0]},{index:.4,rgb:[222,194,0]},{index:.5,rgb:[150,255,0]},{index:.6,rgb:[0,255,55]},{index:.7,rgb:[0,246,150]},{index:.8,rgb:[50,167,222]},{index:.9,rgb:[103,51,235]},{index:1,rgb:[124,0,186]}],bathymetry:[{index:0,rgb:[40,26,44]},{index:.13,rgb:[59,49,90]},{index:.25,rgb:[64,76,139]},{index:.38,rgb:[63,110,151]},{index:.5,rgb:[72,142,158]},{index:.63,rgb:[85,174,163]},{index:.75,rgb:[120,206,163]},{index:.88,rgb:[187,230,172]},{index:1,rgb:[253,254,204]}],cdom:[{index:0,rgb:[47,15,62]},{index:.13,rgb:[87,23,86]},{index:.25,rgb:[130,28,99]},{index:.38,rgb:[171,41,96]},{index:.5,rgb:[206,67,86]},{index:.63,rgb:[230,106,84]},{index:.75,rgb:[242,149,103]},{index:.88,rgb:[249,193,135]},{index:1,rgb:[254,237,176]}],chlorophyll:[{index:0,rgb:[18,36,20]},{index:.13,rgb:[25,63,41]},{index:.25,rgb:[24,91,59]},{index:.38,rgb:[13,119,72]},{index:.5,rgb:[18,148,80]},{index:.63,rgb:[80,173,89]},{index:.75,rgb:[132,196,122]},{index:.88,rgb:[175,221,162]},{index:1,rgb:[215,249,208]}],density:[{index:0,rgb:[54,14,36]},{index:.13,rgb:[89,23,80]},{index:.25,rgb:[110,45,132]},{index:.38,rgb:[120,77,178]},{index:.5,rgb:[120,113,213]},{index:.63,rgb:[115,151,228]},{index:.75,rgb:[134,185,227]},{index:.88,rgb:[177,214,227]},{index:1,rgb:[230,241,241]}],"freesurface-blue":[{index:0,rgb:[30,4,110]},{index:.13,rgb:[47,14,176]},{index:.25,rgb:[41,45,236]},{index:.38,rgb:[25,99,212]},{index:.5,rgb:[68,131,200]},{index:.63,rgb:[114,156,197]},{index:.75,rgb:[157,181,203]},{index:.88,rgb:[200,208,216]},{index:1,rgb:[241,237,236]}],"freesurface-red":[{index:0,rgb:[60,9,18]},{index:.13,rgb:[100,17,27]},{index:.25,rgb:[142,20,29]},{index:.38,rgb:[177,43,27]},{index:.5,rgb:[192,87,63]},{index:.63,rgb:[205,125,105]},{index:.75,rgb:[216,162,148]},{index:.88,rgb:[227,199,193]},{index:1,rgb:[241,237,236]}],oxygen:[{index:0,rgb:[64,5,5]},{index:.13,rgb:[106,6,15]},{index:.25,rgb:[144,26,7]},{index:.38,rgb:[168,64,3]},{index:.5,rgb:[188,100,4]},{index:.63,rgb:[206,136,11]},{index:.75,rgb:[220,174,25]},{index:.88,rgb:[231,215,44]},{index:1,rgb:[248,254,105]}],par:[{index:0,rgb:[51,20,24]},{index:.13,rgb:[90,32,35]},{index:.25,rgb:[129,44,34]},{index:.38,rgb:[159,68,25]},{index:.5,rgb:[182,99,19]},{index:.63,rgb:[199,134,22]},{index:.75,rgb:[212,171,35]},{index:.88,rgb:[221,210,54]},{index:1,rgb:[225,253,75]}],phase:[{index:0,rgb:[145,105,18]},{index:.13,rgb:[184,71,38]},{index:.25,rgb:[186,58,115]},{index:.38,rgb:[160,71,185]},{index:.5,rgb:[110,97,218]},{index:.63,rgb:[50,123,164]},{index:.75,rgb:[31,131,110]},{index:.88,rgb:[77,129,34]},{index:1,rgb:[145,105,18]}],salinity:[{index:0,rgb:[42,24,108]},{index:.13,rgb:[33,50,162]},{index:.25,rgb:[15,90,145]},{index:.38,rgb:[40,118,137]},{index:.5,rgb:[59,146,135]},{index:.63,rgb:[79,175,126]},{index:.75,rgb:[120,203,104]},{index:.88,rgb:[193,221,100]},{index:1,rgb:[253,239,154]}],temperature:[{index:0,rgb:[4,35,51]},{index:.13,rgb:[23,51,122]},{index:.25,rgb:[85,59,157]},{index:.38,rgb:[129,79,143]},{index:.5,rgb:[175,95,130]},{index:.63,rgb:[222,112,101]},{index:.75,rgb:[249,146,66]},{index:.88,rgb:[249,196,65]},{index:1,rgb:[232,250,91]}],turbidity:[{index:0,rgb:[34,31,27]},{index:.13,rgb:[65,50,41]},{index:.25,rgb:[98,69,52]},{index:.38,rgb:[131,89,57]},{index:.5,rgb:[161,112,59]},{index:.63,rgb:[185,140,66]},{index:.75,rgb:[202,174,88]},{index:.88,rgb:[216,209,126]},{index:1,rgb:[233,246,171]}],"velocity-blue":[{index:0,rgb:[17,32,64]},{index:.13,rgb:[35,52,116]},{index:.25,rgb:[29,81,156]},{index:.38,rgb:[31,113,162]},{index:.5,rgb:[50,144,169]},{index:.63,rgb:[87,173,176]},{index:.75,rgb:[149,196,189]},{index:.88,rgb:[203,221,211]},{index:1,rgb:[254,251,230]}],"velocity-green":[{index:0,rgb:[23,35,19]},{index:.13,rgb:[24,64,38]},{index:.25,rgb:[11,95,45]},{index:.38,rgb:[39,123,35]},{index:.5,rgb:[95,146,12]},{index:.63,rgb:[152,165,18]},{index:.75,rgb:[201,186,69]},{index:.88,rgb:[233,216,137]},{index:1,rgb:[255,253,205]}],cubehelix:[{index:0,rgb:[0,0,0]},{index:.07,rgb:[22,5,59]},{index:.13,rgb:[60,4,105]},{index:.2,rgb:[109,1,135]},{index:.27,rgb:[161,0,147]},{index:.33,rgb:[210,2,142]},{index:.4,rgb:[251,11,123]},{index:.47,rgb:[255,29,97]},{index:.53,rgb:[255,54,69]},{index:.6,rgb:[255,85,46]},{index:.67,rgb:[255,120,34]},{index:.73,rgb:[255,157,37]},{index:.8,rgb:[241,191,57]},{index:.87,rgb:[224,220,93]},{index:.93,rgb:[218,241,142]},{index:1,rgb:[227,253,198]}]}},9156:function(f,l,a){var u=a(5692),o=a(3578);function s(m){return[m[0]/255,m[1]/255,m[2]/255,m[3]]}function h(m){for(var w,y="#",C=0;C<3;++C)y+=("00"+(w=(w=m[C]).toString(16))).substr(w.length);return y}function c(m){return"rgba("+m.join(",")+")"}f.exports=function(m){var w,y,C,_,k,E,x,A,L,b;if(m||(m={}),A=(m.nshades||72)-1,x=m.format||"hex",(E=m.colormap)||(E="jet"),typeof E=="string"){if(E=E.toLowerCase(),!u[E])throw Error(E+" not a supported colorscale");k=u[E]}else{if(!Array.isArray(E))throw Error("unsupported colormap option",E);k=E.slice()}if(k.length>A+1)throw new Error(E+" map requires nshades to be at least size "+k.length);L=Array.isArray(m.alpha)?m.alpha.length!==2?[1,1]:m.alpha.slice():typeof m.alpha=="number"?[m.alpha,m.alpha]:[1,1],w=k.map(function(F){return Math.round(F.index*A)}),L[0]=Math.min(Math.max(L[0],0),1),L[1]=Math.min(Math.max(L[1],0),1);var R=k.map(function(F,B){var N=k[B].index,W=k[B].rgb.slice();return W.length===4&&W[3]>=0&&W[3]<=1||(W[3]=L[0]+(L[1]-L[0])*N),W}),I=[];for(b=0;b0||m(w,y,_)?-1:1:E===0?x>0||m(w,y,C)?1:-1:o(x-E)}var L=u(w,y,C);return L>0?k>0&&u(w,y,_)>0?1:-1:L<0?k>0||u(w,y,_)>0?1:-1:u(w,y,_)>0||m(w,y,C)?1:-1};var u=a(417),o=a(7538),s=a(87),h=a(2019),c=a(9662);function m(w,y,C){var _=s(w[0],-y[0]),k=s(w[1],-y[1]),E=s(C[0],-y[0]),x=s(C[1],-y[1]),A=c(h(_,E),h(k,x));return A[A.length-1]>=0}},7538:function(f){f.exports=function(l){return l<0?-1:l>0?1:0}},9209:function(f){f.exports=function(u,o){var s=u.length,h=u.length-o.length;if(h)return h;switch(s){case 0:return 0;case 1:return u[0]-o[0];case 2:return u[0]+u[1]-o[0]-o[1]||l(u[0],u[1])-l(o[0],o[1]);case 3:var c=u[0]+u[1],m=o[0]+o[1];if(h=c+u[2]-(m+o[2]))return h;var w=l(u[0],u[1]),y=l(o[0],o[1]);return l(w,u[2])-l(y,o[2])||l(w+u[2],c)-l(y+o[2],m);case 4:var C=u[0],_=u[1],k=u[2],E=u[3],x=o[0],A=o[1],L=o[2],b=o[3];return C+_+k+E-(x+A+L+b)||l(C,_,k,E)-l(x,A,L,b,x)||l(C+_,C+k,C+E,_+k,_+E,k+E)-l(x+A,x+L,x+b,A+L,A+b,L+b)||l(C+_+k,C+_+E,C+k+E,_+k+E)-l(x+A+L,x+A+b,x+L+b,A+L+b);default:for(var R=u.slice().sort(a),I=o.slice().sort(a),O=0;Ol[u][0]&&(u=o);return au?[[u],[a]]:[[a]]}},8722:function(f,l,a){f.exports=function(o){var s=u(o),h=s.length;if(h<=2)return[];for(var c=new Array(h),m=s[h-1],w=0;w=C[b]&&(L+=1);x[A]=L}}return y}(u(m,!0),c)}};var u=a(2183),o=a(2153)},9680:function(f){f.exports=function(l,a,u,o,s,h){var c=s-1,m=s*s,w=c*c,y=(1+2*s)*w,C=s*w,_=m*(3-2*s),k=m*c;if(l.length){h||(h=new Array(l.length));for(var E=l.length-1;E>=0;--E)h[E]=y*l[E]+C*a[E]+_*u[E]+k*o[E];return h}return y*l+C*a+_*u+k*o},f.exports.derivative=function(l,a,u,o,s,h){var c=6*s*s-6*s,m=3*s*s-4*s+1,w=-6*s*s+6*s,y=3*s*s-2*s;if(l.length){h||(h=new Array(l.length));for(var C=l.length-1;C>=0;--C)h[C]=c*l[C]+m*a[C]+w*u[C]+y*o[C];return h}return c*l+m*a+w*u[C]+y*o}},4419:function(f,l,a){var u=a(2183),o=a(1215);function s(c,m){this.point=c,this.index=m}function h(c,m){for(var w=c.point,y=m.point,C=w.length,_=0;_=2)return!1;N[j]=$}return!0}):B.filter(function(N){for(var W=0;W<=y;++W){var j=I[N[W]];if(j<0)return!1;N[W]=j}return!0}),1&y)for(k=0;k>>31},f.exports.exponent=function(s){return(f.exports.hi(s)<<1>>>21)-1023},f.exports.fraction=function(s){var h=f.exports.lo(s),c=f.exports.hi(s),m=1048575&c;return 2146435072&c&&(m+=1048576),[h,m]},f.exports.denormalized=function(s){return!(2146435072&f.exports.hi(s))}},3094:function(f){function l(a,u,o){var s=0|a[o];if(s<=0)return[];var h,c=new Array(s);if(o===a.length-1)for(h=0;h0)return function(o,s){var h,c;for(h=new Array(o),c=0;c=C-1){b=E.length-1;var I=w-y[C-1];for(R=0;R=C-1)for(var L=E.length-1,b=(y[C-1],0);b=0;--C)if(w[--y])return!1;return!0},c.jump=function(w){var y=this.lastT(),C=this.dimension;if(!(w0;--R)_.push(s(A[R-1],L[R-1],arguments[R])),k.push(0)}},c.push=function(w){var y=this.lastT(),C=this.dimension;if(!(w1e-6?1/x:0;this._time.push(w);for(var I=C;I>0;--I){var O=s(L[I-1],b[I-1],arguments[I]);_.push(O),k.push((O-_[E++])*R)}}},c.set=function(w){var y=this.dimension;if(!(w0;--A)C.push(s(E[A-1],x[A-1],arguments[A])),_.push(0)}},c.move=function(w){var y=this.lastT(),C=this.dimension;if(!(w<=y||arguments.length!==C+1)){var _=this._state,k=this._velocity,E=_.length-this.dimension,x=this.bounds,A=x[0],L=x[1],b=w-y,R=b>1e-6?1/b:0;this._time.push(w);for(var I=C;I>0;--I){var O=arguments[I];_.push(s(A[I-1],L[I-1],_[E++]+O)),k.push(O*R)}}},c.idle=function(w){var y=this.lastT();if(!(w=0;--R)_.push(s(A[R],L[R],_[E]+b*k[E])),k.push(0),E+=1}}},7080:function(f){function l(E,x,A,L,b,R){this._color=E,this.key=x,this.value=A,this.left=L,this.right=b,this._count=R}function a(E){return new l(E._color,E.key,E.value,E.left,E.right,E._count)}function u(E,x){return new l(E,x.key,x.value,x.left,x.right,x._count)}function o(E){E._count=1+(E.left?E.left._count:0)+(E.right?E.right._count:0)}function s(E,x){this._compare=E,this.root=x}f.exports=function(E){return new s(E||k,null)};var h=s.prototype;function c(E,x){var A;return x.left&&(A=c(E,x.left))?A:(A=E(x.key,x.value))||(x.right?c(E,x.right):void 0)}function m(E,x,A,L){if(x(E,L.key)<=0){var b;if(L.left&&(b=m(E,x,A,L.left))||(b=A(L.key,L.value)))return b}if(L.right)return m(E,x,A,L.right)}function w(E,x,A,L,b){var R,I=A(E,b.key),O=A(x,b.key);if(I<=0&&(b.left&&(R=w(E,x,A,L,b.left))||O>0&&(R=L(b.key,b.value))))return R;if(O>0&&b.right)return w(E,x,A,L,b.right)}function y(E,x){this.tree=E,this._stack=x}Object.defineProperty(h,"keys",{get:function(){var E=[];return this.forEach(function(x,A){E.push(x)}),E}}),Object.defineProperty(h,"values",{get:function(){var E=[];return this.forEach(function(x,A){E.push(A)}),E}}),Object.defineProperty(h,"length",{get:function(){return this.root?this.root._count:0}}),h.insert=function(E,x){for(var A=this._compare,L=this.root,b=[],R=[];L;){var I=A(E,L.key);b.push(L),R.push(I),L=I<=0?L.left:L.right}b.push(new l(0,E,x,null,null,1));for(var O=b.length-2;O>=0;--O)L=b[O],R[O]<=0?b[O]=new l(L._color,L.key,L.value,b[O+1],L.right,L._count+1):b[O]=new l(L._color,L.key,L.value,L.left,b[O+1],L._count+1);for(O=b.length-1;O>1;--O){var z=b[O-1];if(L=b[O],z._color===1||L._color===1)break;var F=b[O-2];if(F.left===z)if(z.left===L){if(!(B=F.right)||B._color!==0){F._color=0,F.left=z.right,z._color=1,z.right=F,b[O-2]=z,b[O-1]=L,o(F),o(z),O>=3&&((N=b[O-3]).left===F?N.left=z:N.right=z);break}z._color=1,F.right=u(1,B),F._color=0,O-=1}else{if(!(B=F.right)||B._color!==0){z.right=L.left,F._color=0,F.left=L.right,L._color=1,L.left=z,L.right=F,b[O-2]=L,b[O-1]=z,o(F),o(z),o(L),O>=3&&((N=b[O-3]).left===F?N.left=L:N.right=L);break}z._color=1,F.right=u(1,B),F._color=0,O-=1}else if(z.right===L){if(!(B=F.left)||B._color!==0){F._color=0,F.right=z.left,z._color=1,z.left=F,b[O-2]=z,b[O-1]=L,o(F),o(z),O>=3&&((N=b[O-3]).right===F?N.right=z:N.left=z);break}z._color=1,F.left=u(1,B),F._color=0,O-=1}else{var B;if(!(B=F.left)||B._color!==0){var N;z.left=L.right,F._color=0,F.right=L.left,L._color=1,L.right=z,L.left=F,b[O-2]=L,b[O-1]=z,o(F),o(z),o(L),O>=3&&((N=b[O-3]).right===F?N.right=L:N.left=L);break}z._color=1,F.left=u(1,B),F._color=0,O-=1}}return b[0]._color=1,new s(A,b[0])},h.forEach=function(E,x,A){if(this.root)switch(arguments.length){case 1:return c(E,this.root);case 2:return m(x,this._compare,E,this.root);case 3:return this._compare(x,A)>=0?void 0:w(x,A,this._compare,E,this.root)}},Object.defineProperty(h,"begin",{get:function(){for(var E=[],x=this.root;x;)E.push(x),x=x.left;return new y(this,E)}}),Object.defineProperty(h,"end",{get:function(){for(var E=[],x=this.root;x;)E.push(x),x=x.right;return new y(this,E)}}),h.at=function(E){if(E<0)return new y(this,[]);for(var x=this.root,A=[];;){if(A.push(x),x.left){if(E=x.right._count)break;x=x.right}return new y(this,[])},h.ge=function(E){for(var x=this._compare,A=this.root,L=[],b=0;A;){var R=x(E,A.key);L.push(A),R<=0&&(b=L.length),A=R<=0?A.left:A.right}return L.length=b,new y(this,L)},h.gt=function(E){for(var x=this._compare,A=this.root,L=[],b=0;A;){var R=x(E,A.key);L.push(A),R<0&&(b=L.length),A=R<0?A.left:A.right}return L.length=b,new y(this,L)},h.lt=function(E){for(var x=this._compare,A=this.root,L=[],b=0;A;){var R=x(E,A.key);L.push(A),R>0&&(b=L.length),A=R<=0?A.left:A.right}return L.length=b,new y(this,L)},h.le=function(E){for(var x=this._compare,A=this.root,L=[],b=0;A;){var R=x(E,A.key);L.push(A),R>=0&&(b=L.length),A=R<0?A.left:A.right}return L.length=b,new y(this,L)},h.find=function(E){for(var x=this._compare,A=this.root,L=[];A;){var b=x(E,A.key);if(L.push(A),b===0)return new y(this,L);A=b<=0?A.left:A.right}return new y(this,[])},h.remove=function(E){var x=this.find(E);return x?x.remove():this},h.get=function(E){for(var x=this._compare,A=this.root;A;){var L=x(E,A.key);if(L===0)return A.value;A=L<=0?A.left:A.right}};var C=y.prototype;function _(E,x){E.key=x.key,E.value=x.value,E.left=x.left,E.right=x.right,E._color=x._color,E._count=x._count}function k(E,x){return Ex?1:0}Object.defineProperty(C,"valid",{get:function(){return this._stack.length>0}}),Object.defineProperty(C,"node",{get:function(){return this._stack.length>0?this._stack[this._stack.length-1]:null},enumerable:!0}),C.clone=function(){return new y(this.tree,this._stack.slice())},C.remove=function(){var E=this._stack;if(E.length===0)return this.tree;var x=new Array(E.length),A=E[E.length-1];x[x.length-1]=new l(A._color,A.key,A.value,A.left,A.right,A._count);for(var L=E.length-2;L>=0;--L)(A=E[L]).left===E[L+1]?x[L]=new l(A._color,A.key,A.value,x[L+1],A.right,A._count):x[L]=new l(A._color,A.key,A.value,A.left,x[L+1],A._count);if((A=x[x.length-1]).left&&A.right){var b=x.length;for(A=A.left;A.right;)x.push(A),A=A.right;var R=x[b-1];for(x.push(new l(A._color,R.key,R.value,A.left,A.right,A._count)),x[b-1].key=A.key,x[b-1].value=A.value,L=x.length-2;L>=b;--L)A=x[L],x[L]=new l(A._color,A.key,A.value,A.left,x[L+1],A._count);x[b-1].left=x[b]}if((A=x[x.length-1])._color===0){var I=x[x.length-2];for(I.left===A?I.left=null:I.right===A&&(I.right=null),x.pop(),L=0;L=0;--j){if(F=z[j],j===0)return void(F._color=1);if((B=z[j-1]).left===F){if((N=B.right).right&&N.right._color===0)return W=(N=B.right=a(N)).right=a(N.right),B.right=N.left,N.left=B,N.right=W,N._color=B._color,F._color=1,B._color=1,W._color=1,o(B),o(N),j>1&&(($=z[j-2]).left===B?$.left=N:$.right=N),void(z[j-1]=N);if(N.left&&N.left._color===0)return W=(N=B.right=a(N)).left=a(N.left),B.right=W.left,N.left=W.right,W.left=B,W.right=N,W._color=B._color,B._color=1,N._color=1,F._color=1,o(B),o(N),o(W),j>1&&(($=z[j-2]).left===B?$.left=W:$.right=W),void(z[j-1]=W);if(N._color===1){if(B._color===0)return B._color=1,void(B.right=u(0,N));B.right=u(0,N);continue}N=a(N),B.right=N.left,N.left=B,N._color=B._color,B._color=0,o(B),o(N),j>1&&(($=z[j-2]).left===B?$.left=N:$.right=N),z[j-1]=N,z[j]=B,j+11&&(($=z[j-2]).right===B?$.right=N:$.left=N),void(z[j-1]=N);if(N.right&&N.right._color===0)return W=(N=B.left=a(N)).right=a(N.right),B.left=W.right,N.right=W.left,W.right=B,W.left=N,W._color=B._color,B._color=1,N._color=1,F._color=1,o(B),o(N),o(W),j>1&&(($=z[j-2]).right===B?$.right=W:$.left=W),void(z[j-1]=W);if(N._color===1){if(B._color===0)return B._color=1,void(B.left=u(0,N));B.left=u(0,N);continue}var $;N=a(N),B.left=N.right,N.right=B,N._color=B._color,B._color=0,o(B),o(N),j>1&&(($=z[j-2]).right===B?$.right=N:$.left=N),z[j-1]=N,z[j]=B,j+10)return this._stack[this._stack.length-1].key},enumerable:!0}),Object.defineProperty(C,"value",{get:function(){if(this._stack.length>0)return this._stack[this._stack.length-1].value},enumerable:!0}),Object.defineProperty(C,"index",{get:function(){var E=0,x=this._stack;if(x.length===0){var A=this.tree.root;return A?A._count:0}x[x.length-1].left&&(E=x[x.length-1].left._count);for(var L=x.length-2;L>=0;--L)x[L+1]===x[L].right&&(++E,x[L].left&&(E+=x[L].left._count));return E},enumerable:!0}),C.next=function(){var E=this._stack;if(E.length!==0){var x=E[E.length-1];if(x.right)for(x=x.right;x;)E.push(x),x=x.left;else for(E.pop();E.length>0&&E[E.length-1].right===x;)x=E[E.length-1],E.pop()}},Object.defineProperty(C,"hasNext",{get:function(){var E=this._stack;if(E.length===0)return!1;if(E[E.length-1].right)return!0;for(var x=E.length-1;x>0;--x)if(E[x-1].left===E[x])return!0;return!1}}),C.update=function(E){var x=this._stack;if(x.length===0)throw new Error("Can't update empty node!");var A=new Array(x.length),L=x[x.length-1];A[A.length-1]=new l(L._color,L.key,E,L.left,L.right,L._count);for(var b=x.length-2;b>=0;--b)(L=x[b]).left===x[b+1]?A[b]=new l(L._color,L.key,L.value,A[b+1],L.right,L._count):A[b]=new l(L._color,L.key,L.value,L.left,A[b+1],L._count);return new s(this.tree._compare,A[0])},C.prev=function(){var E=this._stack;if(E.length!==0){var x=E[E.length-1];if(x.left)for(x=x.left;x;)E.push(x),x=x.right;else for(E.pop();E.length>0&&E[E.length-1].left===x;)x=E[E.length-1],E.pop()}},Object.defineProperty(C,"hasPrev",{get:function(){var E=this._stack;if(E.length===0)return!1;if(E[E.length-1].left)return!0;for(var x=E.length-1;x>0;--x)if(E[x-1].right===E[x])return!0;return!1}})},7453:function(f,l,a){f.exports=function(I,O){var z=new y(I);return z.update(O),z};var u=a(9557),o=a(1681),s=a(1011),h=a(2864),c=a(8468),m=new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]);function w(I,O){return I[0]=O[0],I[1]=O[1],I[2]=O[2],I}function y(I){this.gl=I,this.pixelRatio=1,this.bounds=[[-10,-10,-10],[10,10,10]],this.ticks=[[],[],[]],this.autoTicks=!0,this.tickSpacing=[1,1,1],this.tickEnable=[!0,!0,!0],this.tickFont=["sans-serif","sans-serif","sans-serif"],this.tickSize=[12,12,12],this.tickAngle=[0,0,0],this.tickAlign=["auto","auto","auto"],this.tickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.tickPad=[10,10,10],this.lastCubeProps={cubeEdges:[0,0,0],axis:[0,0,0]},this.labels=["x","y","z"],this.labelEnable=[!0,!0,!0],this.labelFont="sans-serif",this.labelSize=[20,20,20],this.labelAngle=[0,0,0],this.labelAlign=["auto","auto","auto"],this.labelColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.labelPad=[10,10,10],this.lineEnable=[!0,!0,!0],this.lineMirror=[!1,!1,!1],this.lineWidth=[1,1,1],this.lineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.lineTickEnable=[!0,!0,!0],this.lineTickMirror=[!1,!1,!1],this.lineTickLength=[0,0,0],this.lineTickWidth=[1,1,1],this.lineTickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.gridEnable=[!0,!0,!0],this.gridWidth=[1,1,1],this.gridColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroEnable=[!0,!0,!0],this.zeroLineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroLineWidth=[2,2,2],this.backgroundEnable=[!1,!1,!1],this.backgroundColor=[[.8,.8,.8,.5],[.8,.8,.8,.5],[.8,.8,.8,.5]],this._firstInit=!0,this._text=null,this._lines=null,this._background=s(I)}var C=y.prototype;function _(){this.primalOffset=[0,0,0],this.primalMinor=[0,0,0],this.mirrorOffset=[0,0,0],this.mirrorMinor=[0,0,0]}C.update=function(I){function O(ne,te,Z){if(Z in I){var X,Q=I[Z],re=this[Z];(ne?Array.isArray(Q)&&Array.isArray(Q[0]):Array.isArray(Q))?this[Z]=X=[te(Q[0]),te(Q[1]),te(Q[2])]:this[Z]=X=[te(Q),te(Q),te(Q)];for(var ie=0;ie<3;++ie)if(X[ie]!==re[ie])return!0}return!1}I=I||{};var z,F=O.bind(this,!1,Number),B=O.bind(this,!1,Boolean),N=O.bind(this,!1,String),W=O.bind(this,!0,function(ne){if(Array.isArray(ne)){if(ne.length===3)return[+ne[0],+ne[1],+ne[2],1];if(ne.length===4)return[+ne[0],+ne[1],+ne[2],+ne[3]]}return[0,0,0,1]}),j=!1,$=!1;if("bounds"in I)for(var U=I.bounds,G=0;G<2;++G)for(var q=0;q<3;++q)U[G][q]!==this.bounds[G][q]&&($=!0),this.bounds[G][q]=U[G][q];if("ticks"in I)for(z=I.ticks,j=!0,this.autoTicks=!1,G=0;G<3;++G)this.tickSpacing[G]=0;else F("tickSpacing")&&(this.autoTicks=!0,$=!0);if(this._firstInit&&("ticks"in I||"tickSpacing"in I||(this.autoTicks=!0),$=!0,j=!0,this._firstInit=!1),$&&this.autoTicks&&(z=c.create(this.bounds,this.tickSpacing),j=!0),j){for(G=0;G<3;++G)z[G].sort(function(ne,te){return ne.x-te.x});c.equal(z,this.ticks)?j=!1:this.ticks=z}B("tickEnable"),N("tickFont")&&(j=!0),F("tickSize"),F("tickAngle"),F("tickPad"),W("tickColor");var H=N("labels");N("labelFont")&&(H=!0),B("labelEnable"),F("labelSize"),F("labelPad"),W("labelColor"),B("lineEnable"),B("lineMirror"),F("lineWidth"),W("lineColor"),B("lineTickEnable"),B("lineTickMirror"),F("lineTickLength"),F("lineTickWidth"),W("lineTickColor"),B("gridEnable"),F("gridWidth"),W("gridColor"),B("zeroEnable"),W("zeroLineColor"),F("zeroLineWidth"),B("backgroundEnable"),W("backgroundColor"),this._text?this._text&&(H||j)&&this._text.update(this.bounds,this.labels,this.labelFont,this.ticks,this.tickFont):this._text=u(this.gl,this.bounds,this.labels,this.labelFont,this.ticks,this.tickFont),this._lines&&j&&(this._lines.dispose(),this._lines=null),this._lines||(this._lines=o(this.gl,this.bounds,this.ticks))};var k=[new _,new _,new _];function E(I,O,z,F,B){for(var N=I.primalOffset,W=I.primalMinor,j=I.mirrorOffset,$=I.mirrorMinor,U=F[O],G=0;G<3;++G)if(O!==G){var q=N,H=j,ne=W,te=$;U&1<0?(ne[G]=-1,te[G]=0):(ne[G]=0,te[G]=1)}}var x=[0,0,0],A={model:m,view:m,projection:m,_ortho:!1};C.isOpaque=function(){return!0},C.isTransparent=function(){return!1},C.drawTransparent=function(I){};var L=[0,0,0],b=[0,0,0],R=[0,0,0];C.draw=function(I){I=I||A;for(var O=this.gl,z=I.model||m,F=I.view||m,B=I.projection||m,N=this.bounds,W=I._ortho||!1,j=h(z,F,B,N,W),$=j.cubeEdges,U=j.axis,G=F[12],q=F[13],H=F[14],ne=F[15],te=(W?2:1)*this.pixelRatio*(B[3]*G+B[7]*q+B[11]*H+B[15]*ne)/O.drawingBufferHeight,Z=0;Z<3;++Z)this.lastCubeProps.cubeEdges[Z]=$[Z],this.lastCubeProps.axis[Z]=U[Z];var X=k;for(Z=0;Z<3;++Z)E(k[Z],Z,this.bounds,$,U);O=this.gl;var Q,re,ie,oe=x;for(Z=0;Z<3;++Z)this.backgroundEnable[Z]?oe[Z]=U[Z]:oe[Z]=0;for(this._background.draw(z,F,B,N,oe,this.backgroundColor),this._lines.bind(z,F,B,this),Z=0;Z<3;++Z){var ue=[0,0,0];U[Z]>0?ue[Z]=N[1][Z]:ue[Z]=N[0][Z];for(var ce=0;ce<2;++ce){var ye=(Z+1+ce)%3,de=(Z+1+(1^ce))%3;this.gridEnable[ye]&&this._lines.drawGrid(ye,de,this.bounds,ue,this.gridColor[ye],this.gridWidth[ye]*this.pixelRatio)}for(ce=0;ce<2;++ce)ye=(Z+1+ce)%3,de=(Z+1+(1^ce))%3,this.zeroEnable[de]&&Math.min(N[0][de],N[1][de])<=0&&Math.max(N[0][de],N[1][de])>=0&&this._lines.drawZero(ye,de,this.bounds,ue,this.zeroLineColor[de],this.zeroLineWidth[de]*this.pixelRatio)}for(Z=0;Z<3;++Z){this.lineEnable[Z]&&this._lines.drawAxisLine(Z,this.bounds,X[Z].primalOffset,this.lineColor[Z],this.lineWidth[Z]*this.pixelRatio),this.lineMirror[Z]&&this._lines.drawAxisLine(Z,this.bounds,X[Z].mirrorOffset,this.lineColor[Z],this.lineWidth[Z]*this.pixelRatio);var me=w(L,X[Z].primalMinor),pe=w(b,X[Z].mirrorMinor),xe=this.lineTickLength;for(ce=0;ce<3;++ce){var Pe=te/z[5*ce];me[ce]*=xe[ce]*Pe,pe[ce]*=xe[ce]*Pe}this.lineTickEnable[Z]&&this._lines.drawAxisTicks(Z,X[Z].primalOffset,me,this.lineTickColor[Z],this.lineTickWidth[Z]*this.pixelRatio),this.lineTickMirror[Z]&&this._lines.drawAxisTicks(Z,X[Z].mirrorOffset,pe,this.lineTickColor[Z],this.lineTickWidth[Z]*this.pixelRatio)}function _e(be){(ie=[0,0,0])[be]=1}function Me(be,ke,Le){var Be=(be+1)%3,ze=(be+2)%3,je=ke[Be],ge=ke[ze],we=Le[Be],Ee=Le[ze];je>0&&Ee>0||je>0&&Ee<0||je<0&&Ee>0||je<0&&Ee<0?_e(Be):(ge>0&&we>0||ge>0&&we<0||ge<0&&we>0||ge<0&&we<0)&&_e(ze)}for(this._lines.unbind(),this._text.bind(z,F,B,this.pixelRatio),Z=0;Z<3;++Z){var Se=X[Z].primalMinor,Ce=X[Z].mirrorMinor,ae=w(R,X[Z].primalOffset);for(ce=0;ce<3;++ce)this.lineTickEnable[Z]&&(ae[ce]+=te*Se[ce]*Math.max(this.lineTickLength[ce],0)/z[5*ce]);var fe=[0,0,0];if(fe[Z]=1,this.tickEnable[Z]){for(this.tickAngle[Z]===-3600?(this.tickAngle[Z]=0,this.tickAlign[Z]="auto"):this.tickAlign[Z]=-1,re=1,(Q=[this.tickAlign[Z],.5,re])[0]==="auto"?Q[0]=0:Q[0]=parseInt(""+Q[0]),ie=[0,0,0],Me(Z,Se,Ce),ce=0;ce<3;++ce)ae[ce]+=te*Se[ce]*this.tickPad[ce]/z[5*ce];this._text.drawTicks(Z,this.tickSize[Z],this.tickAngle[Z],ae,this.tickColor[Z],fe,ie,Q)}if(this.labelEnable[Z]){for(re=0,ie=[0,0,0],this.labels[Z].length>4&&(_e(Z),re=1),(Q=[this.labelAlign[Z],.5,re])[0]==="auto"?Q[0]=0:Q[0]=parseInt(""+Q[0]),ce=0;ce<3;++ce)ae[ce]+=te*Se[ce]*this.labelPad[ce]/z[5*ce];ae[Z]+=.5*(N[0][Z]+N[1][Z]),this._text.drawLabel(Z,this.labelSize[Z],this.labelAngle[Z],ae,this.labelColor[Z],[0,0,0],ie,Q)}}this._text.unbind()},C.dispose=function(){this._text.dispose(),this._lines.dispose(),this._background.dispose(),this._lines=null,this._text=null,this._background=null,this.gl=null}},1011:function(f,l,a){f.exports=function(m){for(var w=[],y=[],C=0,_=0;_<3;++_)for(var k=(_+1)%3,E=(_+2)%3,x=[0,0,0],A=[0,0,0],L=-1;L<=1;L+=2){y.push(C,C+2,C+1,C+1,C+2,C+3),x[_]=L,A[_]=L;for(var b=-1;b<=1;b+=2){x[k]=b;for(var R=-1;R<=1;R+=2)x[E]=R,w.push(x[0],x[1],x[2],A[0],A[1],A[2]),C+=1}var I=k;k=E,E=I}var O=u(m,new Float32Array(w)),z=u(m,new Uint16Array(y),m.ELEMENT_ARRAY_BUFFER),F=o(m,[{buffer:O,type:m.FLOAT,size:3,offset:0,stride:24},{buffer:O,type:m.FLOAT,size:3,offset:12,stride:24}],z),B=s(m);return B.attributes.position.location=0,B.attributes.normal.location=1,new h(m,O,F,B)};var u=a(5827),o=a(2944),s=a(1943).bg;function h(m,w,y,C){this.gl=m,this.buffer=w,this.vao=y,this.shader=C}var c=h.prototype;c.draw=function(m,w,y,C,_,k){for(var E=!1,x=0;x<3;++x)E=E||_[x];if(E){var A=this.gl;A.enable(A.POLYGON_OFFSET_FILL),A.polygonOffset(1,2),this.shader.bind(),this.shader.uniforms={model:m,view:w,projection:y,bounds:C,enable:_,colors:k},this.vao.bind(),this.vao.draw(this.gl.TRIANGLES,36),this.vao.unbind(),A.disable(A.POLYGON_OFFSET_FILL)}},c.dispose=function(){this.vao.dispose(),this.buffer.dispose(),this.shader.dispose()}},2864:function(f,l,a){f.exports=function(b,R,I,O,z){o(c,R,b),o(c,I,c);for(var F=0,B=0;B<2;++B){y[2]=O[B][2];for(var N=0;N<2;++N){y[1]=O[N][1];for(var W=0;W<2;++W)y[0]=O[W][0],_(m[F],y,c),F+=1}}var j=-1;for(B=0;B<8;++B){for(var $=m[B][3],U=0;U<3;++U)w[B][U]=m[B][U]/$;z&&(w[B][2]*=-1),$<0&&(j<0||w[B][2]ne&&(j|=1<ne&&(j|=1<w[B][1])&&(ue=B);var ce=-1;for(B=0;B<3;++B)(de=ue^1<w[ye][0]&&(ye=de))}var me=x;me[0]=me[1]=me[2]=0,me[u.log2(ce^ue)]=ue&ce,me[u.log2(ue^ye)]=ue&ye;var pe=7^ye;pe===j||pe===oe?(pe=7^ce,me[u.log2(ye^pe)]=pe&ye):me[u.log2(ce^pe)]=pe&ce;var xe=A,Pe=j;for(G=0;G<3;++G)xe[G]=Pe&1<>>8*k)%256/255}function h(_,k,E){for(var x=new Array(8*k),A=0,L=0;Lie&&(ie=q[te].dim1.canvasX,X=te);Q===0&&u(O,0,0,E.canvasWidth,E.canvasHeight);var oe=function(Me){var Se,Ce,ae,fe=[[],[]];for(ae=0;ae<64;ae++){var be=!Me&&aeoe._length&&(Pe=Pe.slice(0,oe._length));var _e,Me=oe.tickvals;function Se(ke,Le){return{val:ke,text:_e[Le]}}function Ce(ke,Le){return ke.val-Le.val}if(Array.isArray(Me)&&Me.length){_e=oe.ticktext,Array.isArray(_e)&&_e.length?_e.length>Me.length?_e=_e.slice(0,Me.length):Me.length>_e.length&&(Me=Me.slice(0,_e.length)):_e=Me.map(i(oe.tickformat));for(var ae=1;ae=Be||we>=ze)return;var Ee=ke.lineLayer.readPixel(ge,ze-1-we),Ve=Ee[3]!==0,$e=Ve?Ee[2]+256*(Ee[1]+256*Ee[0]):null,Ye={x:ge,y:we,clientX:Le.clientX,clientY:Le.clientY,dataIndex:ke.model.key,curveNumber:$e};$e!==ye&&(Ve?q.hover(Ye):q.unhover&&q.unhover(Ye),ye=$e)}}),ce.style("opacity",function(ke){return ke.pick?0:1}),te.style("background","rgba(255, 255, 255, 0)");var de=te.selectAll("."+y.cn.parcoords).data(ue,c);de.exit().remove(),de.enter().append("g").classed(y.cn.parcoords,!0).style("shape-rendering","crispEdges").style("pointer-events","none"),de.attr("transform",function(ke){return l(ke.model.translateX,ke.model.translateY)});var me=de.selectAll("."+y.cn.parcoordsControlView).data(h,c);me.enter().append("g").classed(y.cn.parcoordsControlView,!0),me.attr("transform",function(ke){return l(ke.model.pad.l,ke.model.pad.t)});var pe=me.selectAll("."+y.cn.yAxis).data(function(ke){return ke.dimensions},c);pe.enter().append("g").classed(y.cn.yAxis,!0),me.each(function(ke){N(pe,ke,X)}),ce.each(function(ke){if(ke.viewModel){!ke.lineLayer||q?ke.lineLayer=_(this,ke):ke.lineLayer.update(ke),(ke.key||ke.key===0)&&(ke.viewModel[ke.key]=ke.lineLayer);var Le=!ke.context||q;ke.lineLayer.render(ke.viewModel.panels,Le)}}),pe.attr("transform",function(ke){return l(ke.xScale(ke.xIndex),0)}),pe.call(d.behavior.drag().origin(function(ke){return ke}).on("drag",function(ke){var Le=ke.parent;oe.linePickActive(!1),ke.x=Math.max(-y.overdrag,Math.min(ke.model.width+y.overdrag,d.event.x)),ke.canvasX=ke.x*ke.model.canvasPixelRatio,pe.sort(function(Be,ze){return Be.x-ze.x}).each(function(Be,ze){Be.xIndex=ze,Be.x=ke===Be?Be.x:Be.xScale(Be.xIndex),Be.canvasX=Be.x*Be.model.canvasPixelRatio}),N(pe,Le,X),pe.filter(function(Be){return Math.abs(ke.xIndex-Be.xIndex)!==0}).attr("transform",function(Be){return l(Be.xScale(Be.xIndex),0)}),d.select(this).attr("transform",l(ke.x,0)),pe.each(function(Be,ze,je){je===ke.parent.key&&(Le.dimensions[ze]=Be)}),Le.contextLayer&&Le.contextLayer.render(Le.panels,!1,!I(Le)),Le.focusLayer.render&&Le.focusLayer.render(Le.panels)}).on("dragend",function(ke){var Le=ke.parent;ke.x=ke.xScale(ke.xIndex),ke.canvasX=ke.x*ke.model.canvasPixelRatio,N(pe,Le,X),d.select(this).attr("transform",function(Be){return l(Be.x,0)}),Le.contextLayer&&Le.contextLayer.render(Le.panels,!1,!I(Le)),Le.focusLayer&&Le.focusLayer.render(Le.panels),Le.pickLayer&&Le.pickLayer.render(Le.panels,!0),oe.linePickActive(!0),q&&q.axesMoved&&q.axesMoved(Le.key,Le.dimensions.map(function(Be){return Be.crossfilterDimensionIndex}))})),pe.exit().remove();var xe=pe.selectAll("."+y.cn.axisOverlays).data(h,c);xe.enter().append("g").classed(y.cn.axisOverlays,!0),xe.selectAll("."+y.cn.axis).remove();var Pe=xe.selectAll("."+y.cn.axis).data(h,c);Pe.enter().append("g").classed(y.cn.axis,!0),Pe.each(function(ke){var Le=ke.model.height/ke.model.tickDistance,Be=ke.domainScale,ze=Be.domain();d.select(this).call(d.svg.axis().orient("left").tickSize(4).outerTickSize(2).ticks(Le,ke.tickFormat).tickValues(ke.ordinal?ze:null).tickFormat(function(je){return w.isOrdinal(ke)?je:W(ke.model.dimensions[ke.visibleIndex],je)}).scale(Be)),u.font(Pe.selectAll("text"),ke.model.tickFont)}),Pe.selectAll(".domain, .tick>line").attr("fill","none").attr("stroke","black").attr("stroke-opacity",.25).attr("stroke-width","1px"),Pe.selectAll("text").style("text-shadow",a.makeTextShadow(Q)).style("cursor","default");var _e=xe.selectAll("."+y.cn.axisHeading).data(h,c);_e.enter().append("g").classed(y.cn.axisHeading,!0);var Me=_e.selectAll("."+y.cn.axisTitle).data(h,c);Me.enter().append("text").classed(y.cn.axisTitle,!0).attr("text-anchor","middle").style("cursor","ew-resize").style("pointer-events",H?"none":"auto"),Me.text(function(ke){return ke.label}).each(function(ke){var Le=d.select(this);u.font(Le,ke.model.labelFont),a.convertToTspans(Le,$)}).attr("transform",function(ke){var Le=B(ke.model.labelAngle,ke.model.labelSide),Be=y.axisTitleOffset;return(Le.dir>0?"":l(0,2*Be+ke.model.height))+f(Le.degrees)+l(-Be*Le.dx,-Be*Le.dy)}).attr("text-anchor",function(ke){var Le=B(ke.model.labelAngle,ke.model.labelSide);return 2*Math.abs(Le.dx)>Math.abs(Le.dy)?Le.dir*Le.dx<0?"start":"end":"middle"});var Se=xe.selectAll("."+y.cn.axisExtent).data(h,c);Se.enter().append("g").classed(y.cn.axisExtent,!0);var Ce=Se.selectAll("."+y.cn.axisExtentTop).data(h,c);Ce.enter().append("g").classed(y.cn.axisExtentTop,!0),Ce.attr("transform",l(0,-y.axisExtentOffset));var ae=Ce.selectAll("."+y.cn.axisExtentTopText).data(h,c);ae.enter().append("text").classed(y.cn.axisExtentTopText,!0).call(F),ae.text(function(ke){return j(ke,!0)}).each(function(ke){u.font(d.select(this),ke.model.rangeFont)});var fe=Se.selectAll("."+y.cn.axisExtentBottom).data(h,c);fe.enter().append("g").classed(y.cn.axisExtentBottom,!0),fe.attr("transform",function(ke){return l(0,ke.model.height+y.axisExtentOffset)});var be=fe.selectAll("."+y.cn.axisExtentBottomText).data(h,c);be.enter().append("text").classed(y.cn.axisExtentBottomText,!0).attr("dy","0.75em").call(F),be.text(function(ke){return j(ke,!1)}).each(function(ke){u.font(d.select(this),ke.model.rangeFont)}),S.ensureAxisBrush(xe,Q,$)}},21341:function(T,p,t){var d=t(17171),g=t(79749),i=t(1602).isVisible,M={};function v(f,l,a){var u=l.indexOf(a),o=f.indexOf(u);return o===-1&&(o+=l.length),o}(T.exports=function(f,l){var a=f._fullLayout;if(g(f,[],M)){var u={},o={},s={},c={},h=a._size;l.forEach(function(m,w){var y=m[0].trace;s[w]=y.index;var S=c[w]=y._fullInput.index;u[w]=f.data[S].dimensions,o[w]=f.data[S].dimensions.slice()}),d(f,l,{width:h.w,height:h.h,margin:{t:h.t,r:h.r,b:h.b,l:h.l}},{filterChanged:function(m,w,y){var S=o[m][w],_=y.map(function(b){return b.slice()}),k="dimensions["+w+"].constraintrange",E=a._tracePreGUI[f._fullData[s[m]]._fullInput.uid];if(E[k]===void 0){var x=S.constraintrange;E[k]=x||null}var A=f._fullData[s[m]].dimensions[w];_.length?(_.length===1&&(_=_[0]),S.constraintrange=_,A.constraintrange=_.slice(),_=[_]):(delete S.constraintrange,delete A.constraintrange,_=null);var L={};L[k]=_,f.emit("plotly_restyle",[L,[c[m]]])},hover:function(m){f.emit("plotly_hover",m)},unhover:function(m){f.emit("plotly_unhover",m)},axesMoved:function(m,w){var y=function(S,_){return function(k,E){return v(S,_,k)-v(S,_,E)}}(w,o[m].filter(i));u[m].sort(y),o[m].filter(function(S){return!i(S)}).sort(function(S){return o[m].indexOf(S)}).forEach(function(S){u[m].splice(u[m].indexOf(S),1),u[m].splice(o[m].indexOf(S),0,S)}),f.emit("plotly_restyle",[{dimensions:[u[m]]},[c[m]]])}})}}).reglPrecompiled=M},34e3:function(T,p,t){var d=t(9012),g=t(27670).Y,i=t(41940),M=t(22399),v=t(5386).fF,f=t(5386).si,l=t(1426).extendFlat,a=i({editType:"plot",arrayOk:!0,colorEditType:"plot"});T.exports={labels:{valType:"data_array",editType:"calc"},label0:{valType:"number",dflt:0,editType:"calc"},dlabel:{valType:"number",dflt:1,editType:"calc"},values:{valType:"data_array",editType:"calc"},marker:{colors:{valType:"data_array",editType:"calc"},line:{color:{valType:"color",dflt:M.defaultLine,arrayOk:!0,editType:"style"},width:{valType:"number",min:0,dflt:0,arrayOk:!0,editType:"style"},editType:"calc"},editType:"calc"},text:{valType:"data_array",editType:"plot"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"style"},scalegroup:{valType:"string",dflt:"",editType:"calc"},textinfo:{valType:"flaglist",flags:["label","text","value","percent"],extras:["none"],editType:"calc"},hoverinfo:l({},d.hoverinfo,{flags:["label","text","value","percent","name"]}),hovertemplate:v({},{keys:["label","color","value","percent","text"]}),texttemplate:f({editType:"plot"},{keys:["label","color","value","percent","text"]}),textposition:{valType:"enumerated",values:["inside","outside","auto","none"],dflt:"auto",arrayOk:!0,editType:"plot"},textfont:l({},a,{}),insidetextorientation:{valType:"enumerated",values:["horizontal","radial","tangential","auto"],dflt:"auto",editType:"plot"},insidetextfont:l({},a,{}),outsidetextfont:l({},a,{}),automargin:{valType:"boolean",dflt:!1,editType:"plot"},title:{text:{valType:"string",dflt:"",editType:"plot"},font:l({},a,{}),position:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],editType:"plot"},editType:"plot"},domain:g({name:"pie",trace:!0,editType:"calc"}),hole:{valType:"number",min:0,max:1,dflt:0,editType:"calc"},sort:{valType:"boolean",dflt:!0,editType:"calc"},direction:{valType:"enumerated",values:["clockwise","counterclockwise"],dflt:"counterclockwise",editType:"calc"},rotation:{valType:"angle",dflt:0,editType:"calc"},pull:{valType:"number",min:0,max:1,dflt:0,arrayOk:!0,editType:"calc"},_deprecated:{title:{valType:"string",dflt:"",editType:"calc"},titlefont:l({},a,{}),titleposition:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],editType:"calc"}}}},13584:function(T,p,t){var d=t(74875);p.name="pie",p.plot=function(g,i,M,v){d.plotBasePlot(p.name,g,i,M,v)},p.clean=function(g,i,M,v){d.cleanBasePlot(p.name,g,i,M,v)}},32354:function(T,p,t){var d=t(92770),g=t(84267),i=t(7901),M={};function v(l){return function(a,u){return!!a&&!!(a=g(a)).isValid()&&(a=i.addOpacity(a,a.getAlpha()),l[u]||(l[u]=a),a)}}function f(l,a){var u,o=JSON.stringify(l),s=a[o];if(!s){for(s=l.slice(),u=0;u=0}),(a.type==="funnelarea"?A:a.sort)&&s.sort(function(O,z){return z.v-O.v}),s[0]&&(s[0].vTotal=x),s},crossTraceCalc:function(l,a){var u=(a||{}).type;u||(u="pie");var o=l._fullLayout,s=l.calcdata,c=o[u+"colorway"],h=o["_"+u+"colormap"];o["extend"+u+"colors"]&&(c=f(c,M));for(var m=0,w=0;w0){c=!0;break}}c||(s=0)}return{hasLabels:u,hasValues:o,len:s}}T.exports={handleLabelsAndValues:f,supplyDefaults:function(l,a,u,o){function s(E,x){return g.coerce(l,a,i,E,x)}var c=f(s("labels"),s("values")),h=c.len;if(a._hasLabels=c.hasLabels,a._hasValues=c.hasValues,!a._hasLabels&&a._hasValues&&(s("label0"),s("dlabel")),h){a._length=h,s("marker.line.width")&&s("marker.line.color"),s("marker.colors"),s("scalegroup");var m,w=s("text"),y=s("texttemplate");if(y||(m=s("textinfo",Array.isArray(w)?"text+percent":"percent")),s("hovertext"),s("hovertemplate"),y||m&&m!=="none"){var S=s("textposition");v(l,a,o,s,S,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),(Array.isArray(S)||S==="auto"||S==="outside")&&s("automargin"),(S==="inside"||S==="auto"||Array.isArray(S))&&s("insidetextorientation")}M(a,o,s);var _=s("hole");if(s("title.text")){var k=s("title.position",_?"middle center":"top center");_||k!=="middle center"||(a.title.position="top center"),g.coerceFont(s,"title.font",o.font)}s("sort"),s("direction"),s("rotation"),s("pull")}else a.visible=!1}}},20007:function(T,p,t){var d=t(23469).appendArrayMultiPointValues;T.exports=function(g,i){var M={curveNumber:i.index,pointNumbers:g.pts,data:i._input,fullData:i,label:g.label,color:g.color,value:g.v,percent:g.percent,text:g.text,bbox:g.bbox,v:g.v};return g.pts.length===1&&(M.pointNumber=M.i=g.pts[0]),d(M,i,g.pts),i.type==="funnelarea"&&(delete M.v,delete M.i),M}},53581:function(T,p,t){var d=t(71828);function g(i){return i.indexOf("e")!==-1?i.replace(/[.]?0+e/,"e"):i.indexOf(".")!==-1?i.replace(/[.]?0+$/,""):i}p.formatPiePercent=function(i,M){var v=g((100*i).toPrecision(3));return d.numSeparate(v,M)+"%"},p.formatPieValue=function(i,M){var v=g(i.toPrecision(10));return d.numSeparate(v,M)},p.getFirstFilled=function(i,M){if(Array.isArray(i))for(var v=0;v"),name:ie.hovertemplate||oe.indexOf("name")!==-1?ie.name:void 0,idealAlign:Q.pxmid[0]<0?"left":"right",color:m.castOption(xe.bgcolor,Q.pts)||Q.color,borderColor:m.castOption(xe.bordercolor,Q.pts),fontFamily:m.castOption(Pe.family,Q.pts),fontSize:m.castOption(Pe.size,Q.pts),fontColor:m.castOption(Pe.color,Q.pts),nameLength:m.castOption(xe.namelength,Q.pts),textAlign:m.castOption(xe.align,Q.pts),hovertemplate:m.castOption(ie.hovertemplate,Q.pts),hovertemplateLabels:Q,eventData:[w(Q,ie)]},{container:re._hoverlayer.node(),outerContainer:re._paper.node(),gd:G,inOut_bbox:_e}),Q.bbox=_e[0],Z._hasHoverLabel=!0}Z._hasHoverEvent=!0,G.emit("plotly_hover",{points:[w(Q,ie)],event:d.event})}}),U.on("mouseout",function(Q){var re=G._fullLayout,ie=G._fullData[Z.index],oe=d.select(this).datum();Z._hasHoverEvent&&(Q.originalEvent=d.event,G.emit("plotly_unhover",{points:[w(oe,ie)],event:d.event}),Z._hasHoverEvent=!1),Z._hasHoverLabel&&(i.loneUnhover(re._hoverlayer.node()),Z._hasHoverLabel=!1)}),U.on("click",function(Q){var re=G._fullLayout,ie=G._fullData[Z.index];G._dragging||re.hovermode===!1||(G._hoverdata=[w(Q,ie)],i.click(G,d.event))})}function _(U,G,q){var H=m.castOption(U.insidetextfont.color,G.pts);!H&&U._input.textfont&&(H=m.castOption(U._input.textfont.color,G.pts));var ne=m.castOption(U.insidetextfont.family,G.pts)||m.castOption(U.textfont.family,G.pts)||q.family,te=m.castOption(U.insidetextfont.size,G.pts)||m.castOption(U.textfont.size,G.pts)||q.size;return{color:H||M.contrast(G.color),family:ne,size:te}}function k(U,G){for(var q,H,ne=0;neBe&&Be>je||ze=-4;me-=2)pe(Math.PI*me,"tan");for(me=4;me>=-4;me-=2)pe(Math.PI*(me+1),"tan")}if(oe||ce){for(me=4;me>=-4;me-=2)pe(Math.PI*(me+1.5),"rad");for(me=4;me>=-4;me-=2)pe(Math.PI*(me+.5),"rad")}}if(X||ye||oe){var xe=Math.sqrt(U.width*U.width+U.height*U.height);if((te={scale:ne*H*2/xe,rCenter:1-ne,rotate:0}).textPosAngle=(G.startangle+G.stopangle)/2,te.scale>=1)return te;de.push(te)}(ye||ce)&&((te=x(U,H,Z,Q,re)).textPosAngle=(G.startangle+G.stopangle)/2,de.push(te)),(ye||ue)&&((te=A(U,H,Z,Q,re)).textPosAngle=(G.startangle+G.stopangle)/2,de.push(te));for(var Pe=0,_e=0,Me=0;Me=1)break}return de[Pe]}function x(U,G,q,H,ne){G=Math.max(0,G-2*h);var te=U.width/U.height,Z=R(te,H,G,q);return{scale:2*Z/U.height,rCenter:L(te,Z/G),rotate:b(ne)}}function A(U,G,q,H,ne){G=Math.max(0,G-2*h);var te=U.height/U.width,Z=R(te,H,G,q);return{scale:2*Z/U.width,rCenter:L(te,Z/G),rotate:b(ne+Math.PI/2)}}function L(U,G){return Math.cos(G)-U*G}function b(U){return(180/Math.PI*U+720)%180-90}function R(U,G,q,H){var ne=U+1/(2*Math.tan(G));return q*Math.min(1/(Math.sqrt(ne*ne+.5)+ne),H/(Math.sqrt(U*U+H/2)+U))}function I(U,G){return U.v!==G.vTotal||G.trace.hole?Math.min(1/(1+1/Math.sin(U.halfangle)),U.ring/2):1}function O(U,G){var q=G.pxmid[0],H=G.pxmid[1],ne=U.width/2,te=U.height/2;return q<0&&(ne*=-1),H<0&&(te*=-1),{scale:1,rCenter:1,rotate:0,x:ne+Math.abs(te)*(ne>0?1:-1)/2,y:te/(1+q*q/(H*H)),outside:!0}}function z(U,G){var q,H,ne,te=U.trace,Z={x:U.cx,y:U.cy},X={tx:0,ty:0};X.ty+=te.title.font.size,ne=B(te),te.title.position.indexOf("top")!==-1?(Z.y-=(1+ne)*U.r,X.ty-=U.titleBox.height):te.title.position.indexOf("bottom")!==-1&&(Z.y+=(1+ne)*U.r);var Q,re=U.r/((Q=U.trace.aspectratio)===void 0?1:Q),ie=G.w*(te.domain.x[1]-te.domain.x[0])/2;return te.title.position.indexOf("left")!==-1?(ie+=re,Z.x-=(1+ne)*re,X.tx+=U.titleBox.width/2):te.title.position.indexOf("center")!==-1?ie*=2:te.title.position.indexOf("right")!==-1&&(ie+=re,Z.x+=(1+ne)*re,X.tx-=U.titleBox.width/2),q=ie/U.titleBox.width,H=F(U,G)/U.titleBox.height,{x:Z.x,y:Z.y,scale:Math.min(q,H),tx:X.tx,ty:X.ty}}function F(U,G){var q=U.trace,H=G.h*(q.domain.y[1]-q.domain.y[0]);return Math.min(U.titleBox.height,H/2)}function B(U){var G,q=U.pull;if(!q)return 0;if(Array.isArray(q))for(q=0,G=0;Gq&&(q=U.pull[G]);return q}function N(U,G){for(var q=[],H=0;H1?Me=(_e=ce.r)/de.aspectratio:_e=(Me=ce.r)*de.aspectratio,Pe=(_e*=(1+de.baseratio)/2)*Me}pe=Math.min(pe,Pe/ce.vTotal)}for(ye=0;ye")}if(te){var me=f.castOption(ne,G.i,"texttemplate");if(me){var pe=function(Pe){return{label:Pe.label,value:Pe.v,valueLabel:m.formatPieValue(Pe.v,H.separators),percent:Pe.v/q.vTotal,percentLabel:m.formatPiePercent(Pe.v/q.vTotal,H.separators),color:Pe.color,text:Pe.text,customdata:f.castOption(ne,Pe.i,"customdata")}}(G),xe=m.getFirstFilled(ne.text,G.pts);(y(xe)||xe==="")&&(pe.text=xe),G.text=f.texttemplateString(me,pe,U._fullLayout._d3locale,pe,ne._meta||{})}else G.text=""}}function $(U,G){var q=U.rotate*Math.PI/180,H=Math.cos(q),ne=Math.sin(q),te=(G.left+G.right)/2,Z=(G.top+G.bottom)/2;U.textX=te*H-Z*ne,U.textY=te*ne+Z*H,U.noCenter=!0}T.exports={plot:function(U,G){var q=U._context.staticPlot,H=U._fullLayout,ne=H._size;c("pie",H),k(G,U),N(G,ne);var te=f.makeTraceGroups(H._pielayer,G,"trace").each(function(Z){var X=d.select(this),Q=Z[0],re=Q.trace;(function(ie){var oe,ue,ce,ye=ie[0],de=ye.r,me=ye.trace,pe=m.getRotationAngle(me.rotation),xe=2*Math.PI/ye.vTotal,Pe="px0",_e="px1";if(me.direction==="counterclockwise"){for(oe=0;oeye.vTotal/2?1:0,ue.halfangle=Math.PI*Math.min(ue.v/ye.vTotal,.5),ue.ring=1-me.hole,ue.rInscribed=I(ue,ye))})(Z),X.attr("stroke-linejoin","round"),X.each(function(){var ie=d.select(this).selectAll("g.slice").data(Z);ie.enter().append("g").classed("slice",!0),ie.exit().remove();var oe=[[[],[]],[[],[]]],ue=!1;ie.each(function(_e,Me){if(_e.hidden)d.select(this).selectAll("path,g").remove();else{_e.pointNumber=_e.i,_e.curveNumber=re.index,oe[_e.pxmid[1]<0?0:1][_e.pxmid[0]<0?0:1].push(_e);var Se=Q.cx,Ce=Q.cy,ae=d.select(this),fe=ae.selectAll("path.surface").data([_e]);if(fe.enter().append("path").classed("surface",!0).style({"pointer-events":q?"none":"all"}),ae.call(S,U,Z),re.pull){var be=+m.castOption(re.pull,_e.pts)||0;be>0&&(Se+=be*_e.pxmid[0],Ce+=be*_e.pxmid[1])}_e.cxFinal=Se,_e.cyFinal=Ce;var ke=re.hole;if(_e.v===Q.vTotal){var Le="M"+(Se+_e.px0[0])+","+(Ce+_e.px0[1])+we(_e.px0,_e.pxmid,!0,1)+we(_e.pxmid,_e.px0,!0,1)+"Z";ke?fe.attr("d","M"+(Se+ke*_e.px0[0])+","+(Ce+ke*_e.px0[1])+we(_e.px0,_e.pxmid,!1,ke)+we(_e.pxmid,_e.px0,!1,ke)+"Z"+Le):fe.attr("d",Le)}else{var Be=we(_e.px0,_e.px1,!0,1);if(ke){var ze=1-ke;fe.attr("d","M"+(Se+ke*_e.px1[0])+","+(Ce+ke*_e.px1[1])+we(_e.px1,_e.px0,!1,ke)+"l"+ze*_e.px0[0]+","+ze*_e.px0[1]+Be+"Z")}else fe.attr("d","M"+Se+","+Ce+"l"+_e.px0[0]+","+_e.px0[1]+Be+"Z")}j(U,_e,Q);var je=m.castOption(re.textposition,_e.pts),ge=ae.selectAll("g.slicetext").data(_e.text&&je!=="none"?[0]:[]);ge.enter().append("g").classed("slicetext",!0),ge.exit().remove(),ge.each(function(){var Ee=f.ensureSingle(d.select(this),"text","",function(Et){Et.attr("data-notex",1)}),Ve=f.ensureUniformFontSize(U,je==="outside"?function(Et,kt,xt){return{color:m.castOption(Et.outsidetextfont.color,kt.pts)||m.castOption(Et.textfont.color,kt.pts)||xt.color,family:m.castOption(Et.outsidetextfont.family,kt.pts)||m.castOption(Et.textfont.family,kt.pts)||xt.family,size:m.castOption(Et.outsidetextfont.size,kt.pts)||m.castOption(Et.textfont.size,kt.pts)||xt.size}}(re,_e,H.font):_(re,_e,H.font));Ee.text(_e.text).attr({class:"slicetext",transform:"","text-anchor":"middle"}).call(v.font,Ve).call(u.convertToTspans,U);var $e,Ye=v.bBox(Ee.node());if(je==="outside")$e=O(Ye,_e);else if($e=E(Ye,_e,Q),je==="auto"&&$e.scale<1){var st=f.ensureUniformFontSize(U,re.outsidetextfont);Ee.call(v.font,st),$e=O(Ye=v.bBox(Ee.node()),_e)}var ot=$e.textPosAngle,ht=ot===void 0?_e.pxmid:W(Q.r,ot);if($e.targetX=Se+ht[0]*$e.rCenter+($e.x||0),$e.targetY=Ce+ht[1]*$e.rCenter+($e.y||0),$($e,Ye),$e.outside){var bt=$e.targetY;_e.yLabelMin=bt-Ye.height/2,_e.yLabelMid=bt,_e.yLabelMax=bt+Ye.height/2,_e.labelExtraX=0,_e.labelExtraY=0,ue=!0}$e.fontSize=Ve.size,s(re.type,$e,H),Z[Me].transform=$e,f.setTransormAndDisplay(Ee,$e)})}function we(Ee,Ve,$e,Ye){var st=Ye*(Ve[0]-Ee[0]),ot=Ye*(Ve[1]-Ee[1]);return"a"+Ye*Q.r+","+Ye*Q.r+" 0 "+_e.largeArc+($e?" 1 ":" 0 ")+st+","+ot}});var ce=d.select(this).selectAll("g.titletext").data(re.title.text?[0]:[]);if(ce.enter().append("g").classed("titletext",!0),ce.exit().remove(),ce.each(function(){var _e,Me=f.ensureSingle(d.select(this),"text","",function(Ce){Ce.attr("data-notex",1)}),Se=re.title.text;re._meta&&(Se=f.templateString(Se,re._meta)),Me.text(Se).attr({class:"titletext",transform:"","text-anchor":"middle"}).call(v.font,re.title.font).call(u.convertToTspans,U),_e=re.title.position==="middle center"?function(Ce){var ae=Math.sqrt(Ce.titleBox.width*Ce.titleBox.width+Ce.titleBox.height*Ce.titleBox.height);return{x:Ce.cx,y:Ce.cy,scale:Ce.trace.hole*Ce.r*2/ae,tx:0,ty:-Ce.titleBox.height/2+Ce.trace.title.font.size}}(Q):z(Q,ne),Me.attr("transform",a(_e.x,_e.y)+l(Math.min(1,_e.scale))+a(_e.tx,_e.ty))}),ue&&function(_e,Me){var Se,Ce,ae,fe,be,ke,Le,Be,ze,je,ge,we,Ee;function Ve(ot,ht){return ot.pxmid[1]-ht.pxmid[1]}function $e(ot,ht){return ht.pxmid[1]-ot.pxmid[1]}function Ye(ot,ht){ht||(ht={});var bt,Et,kt,xt,Ft=ht.labelExtraY+(Ce?ht.yLabelMax:ht.yLabelMin),Ot=Ce?ot.yLabelMin:ot.yLabelMax,Bt=Ce?ot.yLabelMax:ot.yLabelMin,qt=ot.cyFinal+be(ot.px0[1],ot.px1[1]),Vt=Ft-Ot;if(Vt*Le>0&&(ot.labelExtraY=Vt),Array.isArray(Me.pull))for(Et=0;Et=(m.castOption(Me.pull,kt.pts)||0)||((ot.pxmid[1]-kt.pxmid[1])*Le>0?(Vt=kt.cyFinal+be(kt.px0[1],kt.px1[1])-Ot-ot.labelExtraY)*Le>0&&(ot.labelExtraY+=Vt):(Bt+ot.labelExtraY-qt)*Le>0&&(bt=3*ke*Math.abs(Et-je.indexOf(ot)),(xt=kt.cxFinal+fe(kt.px0[0],kt.px1[0])+bt-(ot.cxFinal+ot.pxmid[0])-ot.labelExtraX)*ke>0&&(ot.labelExtraX+=xt)))}for(Ce=0;Ce<2;Ce++)for(ae=Ce?Ve:$e,be=Ce?Math.max:Math.min,Le=Ce?1:-1,Se=0;Se<2;Se++){for(fe=Se?Math.max:Math.min,ke=Se?1:-1,(Be=_e[Ce][Se]).sort(ae),ze=_e[1-Ce][Se],je=ze.concat(Be),we=[],ge=0;geMath.abs(Be)?be+="l"+Be*Se.pxmid[0]/Se.pxmid[1]+","+Be+"H"+(fe+Se.labelExtraX+ke):be+="l"+Se.labelExtraX+","+Le+"v"+(Be-Le)+"h"+ke}else be+="V"+(Se.yLabelMid+Se.labelExtraY)+"h"+ke;f.ensureSingle(Ce,"path","textline").call(M.stroke,Me.outsidetextfont.color).attr({"stroke-width":Math.min(2,Me.outsidetextfont.size/8),d:be,fill:"none"})}else Ce.select("path.textline").remove()})}(ie,re),ue&&re.automargin){var ye=v.bBox(X.node()),de=re.domain,me=ne.w*(de.x[1]-de.x[0]),pe=ne.h*(de.y[1]-de.y[0]),xe=(.5*me-Q.r)/ne.w,Pe=(.5*pe-Q.r)/ne.h;g.autoMargin(U,"pie."+re.uid+".automargin",{xl:de.x[0]-xe,xr:de.x[1]+xe,yb:de.y[0]-Pe,yt:de.y[1]+Pe,l:Math.max(Q.cx-Q.r-ye.left,0),r:Math.max(ye.right-(Q.cx+Q.r),0),b:Math.max(ye.bottom-(Q.cy+Q.r),0),t:Math.max(Q.cy-Q.r-ye.top,0),pad:5})}})});setTimeout(function(){te.selectAll("tspan").each(function(){var Z=d.select(this);Z.attr("dy")&&Z.attr("dy",Z.attr("dy"))})},0)},formatSliceLabel:j,transformInsideText:E,determineInsideTextFont:_,positionTitleOutside:z,prerenderTitles:k,layoutAreas:N,attachFxHandlers:S,computeTransform:$}},68357:function(T,p,t){var d=t(39898),g=t(63463),i=t(72597).resizeText;T.exports=function(M){var v=M._fullLayout._pielayer.selectAll(".trace");i(M,v,"pie"),v.each(function(f){var l=f[0].trace,a=d.select(this);a.style({opacity:l.opacity}),a.selectAll("path.surface").each(function(u){d.select(this).call(g,u,l)})})}},63463:function(T,p,t){var d=t(7901),g=t(53581).castOption;T.exports=function(i,M,v){var f=v.marker.line,l=g(f.color,M.pts)||d.defaultLine,a=g(f.width,M.pts)||0;i.style("stroke-width",a).call(d.fill,M.color).call(d.stroke,l)}},10959:function(T,p,t){var d=t(82196);T.exports={x:d.x,y:d.y,xy:{valType:"data_array",editType:"calc"},indices:{valType:"data_array",editType:"calc"},xbounds:{valType:"data_array",editType:"calc"},ybounds:{valType:"data_array",editType:"calc"},text:d.text,marker:{color:{valType:"color",arrayOk:!1,editType:"calc"},opacity:{valType:"number",min:0,max:1,dflt:1,arrayOk:!1,editType:"calc"},blend:{valType:"boolean",dflt:null,editType:"calc"},sizemin:{valType:"number",min:.1,max:2,dflt:.5,editType:"calc"},sizemax:{valType:"number",min:.1,dflt:20,editType:"calc"},border:{color:{valType:"color",arrayOk:!1,editType:"calc"},arearatio:{valType:"number",min:0,max:1,dflt:0,editType:"calc"},editType:"calc"},editType:"calc"},transforms:void 0}},42743:function(T,p,t){var d=t(9330).gl_pointcloud2d,g=t(78614),i=t(71739).findExtremes,M=t(34603);function v(l,a){this.scene=l,this.uid=a,this.type="pointcloud",this.pickXData=[],this.pickYData=[],this.xData=[],this.yData=[],this.textLabels=[],this.color="rgb(0, 0, 0)",this.name="",this.hoverinfo="all",this.idToIndex=new Int32Array(0),this.bounds=[0,0,0,0],this.pointcloudOptions={positions:new Float32Array(0),idToIndex:this.idToIndex,sizemin:.5,sizemax:12,color:[0,0,0,1],areaRatio:1,borderColor:[0,0,0,1]},this.pointcloud=d(l.glplot,this.pointcloudOptions),this.pointcloud._trace=this}var f=v.prototype;f.handlePick=function(l){var a=this.idToIndex[l.pointId];return{trace:this,dataCoord:l.dataCoord,traceCoord:this.pickXYData?[this.pickXYData[2*a],this.pickXYData[2*a+1]]:[this.pickXData[a],this.pickYData[a]],textLabel:Array.isArray(this.textLabels)?this.textLabels[a]:this.textLabels,color:this.color,name:this.name,pointIndex:a,hoverinfo:this.hoverinfo}},f.update=function(l){this.index=l.index,this.textLabels=l.text,this.name=l.name,this.hoverinfo=l.hoverinfo,this.bounds=[1/0,1/0,-1/0,-1/0],this.updateFast(l),this.color=M(l,{})},f.updateFast=function(l){var a,u,o,s,c,h,m=this.xData=this.pickXData=l.x,w=this.yData=this.pickYData=l.y,y=this.pickXYData=l.xy,S=l.xbounds&&l.ybounds,_=l.indices,k=this.bounds;if(y){if(o=y,a=y.length>>>1,S)k[0]=l.xbounds[0],k[2]=l.xbounds[1],k[1]=l.ybounds[0],k[3]=l.ybounds[1];else for(h=0;hk[2]&&(k[2]=s),ck[3]&&(k[3]=c);if(_)u=_;else for(u=new Int32Array(a),h=0;hk[2]&&(k[2]=s),ck[3]&&(k[3]=c);this.idToIndex=u,this.pointcloudOptions.idToIndex=u,this.pointcloudOptions.positions=o;var E=g(l.marker.color),x=g(l.marker.border.color),A=l.opacity*l.marker.opacity;E[3]*=A,this.pointcloudOptions.color=E;var L=l.marker.blend;L===null&&(L=m.length<100||w.length<100),this.pointcloudOptions.blend=L,x[3]*=A,this.pointcloudOptions.borderColor=x;var b=l.marker.sizemin,R=Math.max(l.marker.sizemax,l.marker.sizemin);this.pointcloudOptions.sizeMin=b,this.pointcloudOptions.sizeMax=R,this.pointcloudOptions.areaRatio=l.marker.border.arearatio,this.pointcloud.update(this.pointcloudOptions);var I=this.scene.xaxis,O=this.scene.yaxis,z=R/2||.5;l._extremes[I._id]=i(I,[k[0],k[2]],{ppad:z}),l._extremes[O._id]=i(O,[k[1],k[3]],{ppad:z})},f.dispose=function(){this.pointcloud.dispose()},T.exports=function(l,a){var u=new v(l,a.uid);return u.update(a),u}},33876:function(T,p,t){var d=t(71828),g=t(10959);T.exports=function(i,M,v){function f(l,a){return d.coerce(i,M,g,l,a)}f("x"),f("y"),f("xbounds"),f("ybounds"),i.xy&&i.xy instanceof Float32Array&&(M.xy=i.xy),i.indices&&i.indices instanceof Int32Array&&(M.indices=i.indices),f("text"),f("marker.color",v),f("marker.opacity"),f("marker.blend"),f("marker.sizemin"),f("marker.sizemax"),f("marker.border.color",v),f("marker.border.arearatio"),M._length=null}},20593:function(T,p,t){T.exports={attributes:t(10959),supplyDefaults:t(33876),calc:t(36563),plot:t(42743),moduleType:"trace",name:"pointcloud",basePlotModule:t(4796),categories:["gl","gl2d","showLegend"],meta:{}}},39953:function(T,p,t){var d=t(41940),g=t(9012),i=t(22399),M=t(77914),v=t(27670).Y,f=t(5386).fF,l=t(50693),a=t(44467).templatedArray,u=t(12663).descriptionOnlyNumbers,o=t(1426).extendFlat,s=t(30962).overrideAll;(T.exports=s({hoverinfo:o({},g.hoverinfo,{flags:[],arrayOk:!1}),hoverlabel:M.hoverlabel,domain:v({name:"sankey",trace:!0}),orientation:{valType:"enumerated",values:["v","h"],dflt:"h"},valueformat:{valType:"string",dflt:".3s",description:u("value")},valuesuffix:{valType:"string",dflt:""},arrangement:{valType:"enumerated",values:["snap","perpendicular","freeform","fixed"],dflt:"snap"},textfont:d({}),customdata:void 0,node:{label:{valType:"data_array",dflt:[]},groups:{valType:"info_array",impliedEdits:{x:[],y:[]},dimensions:2,freeLength:!0,dflt:[],items:{valType:"number",editType:"calc"}},x:{valType:"data_array",dflt:[]},y:{valType:"data_array",dflt:[]},color:{valType:"color",arrayOk:!0},customdata:{valType:"data_array",editType:"calc"},line:{color:{valType:"color",dflt:i.defaultLine,arrayOk:!0},width:{valType:"number",min:0,dflt:.5,arrayOk:!0}},pad:{valType:"number",arrayOk:!1,min:0,dflt:20},thickness:{valType:"number",arrayOk:!1,min:1,dflt:20},hoverinfo:{valType:"enumerated",values:["all","none","skip"],dflt:"all"},hoverlabel:M.hoverlabel,hovertemplate:f({},{keys:["value","label"]})},link:{arrowlen:{valType:"number",min:0,dflt:0},label:{valType:"data_array",dflt:[]},color:{valType:"color",arrayOk:!0},customdata:{valType:"data_array",editType:"calc"},line:{color:{valType:"color",dflt:i.defaultLine,arrayOk:!0},width:{valType:"number",min:0,dflt:0,arrayOk:!0}},source:{valType:"data_array",dflt:[]},target:{valType:"data_array",dflt:[]},value:{valType:"data_array",dflt:[]},hoverinfo:{valType:"enumerated",values:["all","none","skip"],dflt:"all"},hoverlabel:M.hoverlabel,hovertemplate:f({},{keys:["value","label"]}),colorscales:a("concentrationscales",{editType:"calc",label:{valType:"string",editType:"calc",dflt:""},cmax:{valType:"number",editType:"calc",dflt:1},cmin:{valType:"number",editType:"calc",dflt:0},colorscale:o(l().colorscale,{dflt:[[0,"white"],[1,"black"]]})})}},"calc","nested")).transforms=void 0},75536:function(T,p,t){var d=t(30962).overrideAll,g=t(27659).a0,i=t(60436),M=t(528),v=t(6964),f=t(28569),l=t(47322).prepSelect,a=t(71828),u=t(73972),o="sankey";function s(c,h){var m=c._fullData[h],w=c._fullLayout,y=w.dragmode,S=w.dragmode==="pan"?"move":"crosshair",_=m._bgRect;if(_&&y!=="pan"&&y!=="zoom"){v(_,S);var k={_id:"x",c2p:a.identity,_offset:m._sankey.translateX,_length:m._sankey.width},E={_id:"y",c2p:a.identity,_offset:m._sankey.translateY,_length:m._sankey.height},x={gd:c,element:_.node(),plotinfo:{id:h,xaxis:k,yaxis:E,fillRangeItems:a.noop},subplot:h,xaxes:[k],yaxes:[E],doneFnCompleted:function(A){var L,b=c._fullData[h],R=b.node.groups.slice(),I=[];function O(N){for(var W=b._sankey.graph.nodes,j=0;jL&&(L=h.source[s]),h.target[s]>L&&(L=h.target[s]);var b,R=L+1;o.node._count=R;var I=o.node.groups,O={};for(s=0;s0&&v(j,R)&&v($,R)&&(!O.hasOwnProperty(j)||!O.hasOwnProperty($)||O[j]!==O[$])){O.hasOwnProperty($)&&($=O[$]),O.hasOwnProperty(j)&&(j=O[j]),$=+$,S[j=+j]=S[$]=!0;var U="";h.label&&h.label[s]&&(U=h.label[s]);var G=null;U&&_.hasOwnProperty(U)&&(G=_[U]),m.push({pointNumber:s,label:U,color:w?h.color[s]:h.color,customdata:y?h.customdata[s]:h.customdata,concentrationscale:G,source:j,target:$,value:+W}),N.source.push(j),N.target.push($)}}var q=R+I.length,H=M(c.color),ne=M(c.customdata),te=[];for(s=0;sR-1,childrenNodes:[],pointNumber:s,label:Z,color:H?c.color[s]:c.color,customdata:ne?c.customdata[s]:c.customdata})}var X=!1;return function(Q,re,ie){for(var oe=g.init2dArray(Q,0),ue=0;ue1})}(q,N.source,N.target)&&(X=!0),{circular:X,links:m,nodes:te,groups:I,groupLookup:O}}(a);return i({circular:u.circular,_nodes:u.nodes,_links:u.links,_groups:u.groups,_groupLookup:u.groupLookup})}},85247:function(T){T.exports={nodeTextOffsetHorizontal:4,nodeTextOffsetVertical:3,nodePadAcross:10,sankeyIterations:50,forceIterations:5,forceTicksPerFrame:10,duration:500,ease:"linear",cn:{sankey:"sankey",sankeyLinks:"sankey-links",sankeyLink:"sankey-link",sankeyNodeSet:"sankey-node-set",sankeyNode:"sankey-node",nodeRect:"node-rect",nodeLabel:"node-label"}}},26857:function(T,p,t){var d=t(71828),g=t(39953),i=t(7901),M=t(84267),v=t(27670).c,f=t(38048),l=t(44467),a=t(85501);function u(o,s){function c(h,m){return d.coerce(o,s,g.link.colorscales,h,m)}c("label"),c("cmin"),c("cmax"),c("colorscale")}T.exports=function(o,s,c,h){function m(R,I){return d.coerce(o,s,g,R,I)}var w=d.extendDeep(h.hoverlabel,o.hoverlabel),y=o.node,S=l.newContainer(s,"node");function _(R,I){return d.coerce(y,S,g.node,R,I)}_("label"),_("groups"),_("x"),_("y"),_("pad"),_("thickness"),_("line.color"),_("line.width"),_("hoverinfo",o.hoverinfo),f(y,S,_,w),_("hovertemplate");var k=h.colorway;_("color",S.label.map(function(R,I){return i.addOpacity(function(O){return k[O%k.length]}(I),.8)})),_("customdata");var E=o.link||{},x=l.newContainer(s,"link");function A(R,I){return d.coerce(E,x,g.link,R,I)}A("label"),A("arrowlen"),A("source"),A("target"),A("value"),A("line.color"),A("line.width"),A("hoverinfo",o.hoverinfo),f(E,x,A,w),A("hovertemplate");var L,b=M(h.paper_bgcolor).getLuminance()<.333?"rgba(255, 255, 255, 0.6)":"rgba(0, 0, 0, 0.2)";A("color",d.repeat(b,x.value.length)),A("customdata"),a(E,x,{name:"colorscales",handleItemDefaults:u}),v(s,h,m),m("orientation"),m("valueformat"),m("valuesuffix"),S.x.length&&S.y.length&&(L="freeform"),m("arrangement",L),d.coerceFont(m,"textfont",d.extendFlat({},h.font)),s._length=null}},29396:function(T,p,t){T.exports={attributes:t(39953),supplyDefaults:t(26857),calc:t(92930),plot:t(60436),moduleType:"trace",name:"sankey",basePlotModule:t(75536),selectPoints:t(84564),categories:["noOpacity"],meta:{}}},60436:function(T,p,t){var d=t(39898),g=t(71828),i=g.numberFormat,M=t(3393),v=t(30211),f=t(7901),l=t(85247).cn,a=g._;function u(E){return E!==""}function o(E,x){return E.filter(function(A){return A.key===x.traceId})}function s(E,x){d.select(E).select("path").style("fill-opacity",x),d.select(E).select("rect").style("fill-opacity",x)}function c(E){d.select(E).select("text.name").style("fill","black")}function h(E){return function(x){return E.node.sourceLinks.indexOf(x.link)!==-1||E.node.targetLinks.indexOf(x.link)!==-1}}function m(E){return function(x){return x.node.sourceLinks.indexOf(E.link)!==-1||x.node.targetLinks.indexOf(E.link)!==-1}}function w(E,x,A){x&&A&&o(A,x).selectAll("."+l.sankeyLink).filter(h(x)).call(S.bind(0,x,A,!1))}function y(E,x,A){x&&A&&o(A,x).selectAll("."+l.sankeyLink).filter(h(x)).call(_.bind(0,x,A,!1))}function S(E,x,A,L){var b=L.datum().link.label;L.style("fill-opacity",function(R){if(!R.link.concentrationscale)return .4}),b&&o(x,E).selectAll("."+l.sankeyLink).filter(function(R){return R.link.label===b}).style("fill-opacity",function(R){if(!R.link.concentrationscale)return .4}),A&&o(x,E).selectAll("."+l.sankeyNode).filter(m(E)).call(w)}function _(E,x,A,L){var b=L.datum().link.label;L.style("fill-opacity",function(R){return R.tinyColorAlpha}),b&&o(x,E).selectAll("."+l.sankeyLink).filter(function(R){return R.link.label===b}).style("fill-opacity",function(R){return R.tinyColorAlpha}),A&&o(x,E).selectAll(l.sankeyNode).filter(m(E)).call(y)}function k(E,x){var A=E.hoverlabel||{},L=g.nestedProperty(A,x).get();return!Array.isArray(L)&&L}T.exports=function(E,x){for(var A=E._fullLayout,L=A._paper,b=A._size,R=0;R"),color:k($,"bgcolor")||f.addOpacity(H.color,1),borderColor:k($,"bordercolor"),fontFamily:k($,"font.family"),fontSize:k($,"font.size"),fontColor:k($,"font.color"),nameLength:k($,"namelength"),textAlign:k($,"align"),idealAlign:d.event.x"),color:k($,"bgcolor")||j.tinyColorHue,borderColor:k($,"bordercolor"),fontFamily:k($,"font.family"),fontSize:k($,"font.size"),fontColor:k($,"font.color"),nameLength:k($,"namelength"),textAlign:k($,"align"),idealAlign:"left",hovertemplate:$.hovertemplate,hovertemplateLabels:Z,eventData:[j.node]},{container:A._hoverlayer.node(),outerContainer:A._paper.node(),gd:E});s(re,.85),c(re)}}},unhover:function(W,j,$){E._fullLayout.hovermode!==!1&&(d.select(W).call(y,j,$),j.node.trace.node.hoverinfo!=="skip"&&(j.node.fullData=j.node.trace,E.emit("plotly_unhover",{event:d.event,points:[j.node]})),v.loneUnhover(A._hoverlayer.node()))},select:function(W,j,$){var U=j.node;U.originalEvent=d.event,E._hoverdata=[U],d.select(W).call(y,j,$),v.click(E,{target:!0})}}})}},3393:function(T,p,t){var d=t(49887),g=t(81684).k4,i=t(39898),M=t(30838),v=t(86781),f=t(85247),l=t(84267),a=t(7901),u=t(91424),o=t(71828),s=o.strTranslate,c=o.strRotate,h=t(28984),m=h.keyFun,w=h.repeat,y=h.unwrap,S=t(63893),_=t(73972),k=t(18783),E=k.CAP_SHIFT,x=k.LINE_SPACING;function A(q,H,ne){var te,Z=y(H),X=Z.trace,Q=X.domain,re=X.orientation==="h",ie=X.node.pad,oe=X.node.thickness,ue=q.width*(Q.x[1]-Q.x[0]),ce=q.height*(Q.y[1]-Q.y[0]),ye=Z._nodes,de=Z._links,me=Z.circular;(te=me?v.sankeyCircular().circularLinkGap(0):M.sankey()).iterations(f.sankeyIterations).size(re?[ue,ce]:[ce,ue]).nodeWidth(oe).nodePadding(ie).nodeId(function(ke){return ke.pointNumber}).nodes(ye).links(de);var pe,xe,Pe,_e=te();for(var Me in te.nodePadding()we+oe&&(ge+=1,Le=Ee.x0),we=Ee.x0,je[ge]||(je[ge]=[]),je[ge].push(Ee),Be=Le-Ee.x0,Ee.x0+=Be,Ee.x1+=Be}return je}(ye=_e.nodes).forEach(function(ke){var Le,Be,ze,je=0,ge=ke.length;for(ke.sort(function(we,Ee){return we.y0-Ee.y0}),ze=0;ze=je||(Be=je-Le.y0)>1e-6&&(Le.y0+=Be,Le.y1+=Be),je=Le.y1+ie}),te.update(_e)}return{circular:me,key:ne,trace:X,guid:o.randstr(),horizontal:re,width:ue,height:ce,nodePad:X.node.pad,nodeLineColor:X.node.line.color,nodeLineWidth:X.node.line.width,linkLineColor:X.link.line.color,linkLineWidth:X.link.line.width,linkArrowLength:X.link.arrowlen,valueFormat:X.valueformat,valueSuffix:X.valuesuffix,textFont:X.textfont,translateX:Q.x[0]*q.width+q.margin.l,translateY:q.height-Q.y[1]*q.height+q.margin.t,dragParallel:re?ce:ue,dragPerpendicular:re?ue:ce,arrangement:X.arrangement,sankey:te,graph:_e,forceLayouts:{},interactionState:{dragInProgress:!1,hovered:!1}}}function L(q,H,ne){var te=l(H.color),Z=H.source.label+"|"+H.target.label+"__"+ne;return H.trace=q.trace,H.curveNumber=q.trace.index,{circular:q.circular,key:Z,traceId:q.key,pointNumber:H.pointNumber,link:H,tinyColorHue:a.tinyRGB(te),tinyColorAlpha:te.getAlpha(),linkPath:b,linkLineColor:q.linkLineColor,linkLineWidth:q.linkLineWidth,linkArrowLength:q.linkArrowLength,valueFormat:q.valueFormat,valueSuffix:q.valueSuffix,sankey:q.sankey,parent:q,interactionState:q.interactionState,flow:H.flow}}function b(){return function(q){var H=q.linkArrowLength;if(q.link.circular)return function(xe,Pe){var _e=xe.width/2,Me=xe.circularPathData;return xe.circularLinkType==="top"?"M "+(Me.targetX-Pe)+" "+(Me.targetY+_e)+" L"+(Me.rightInnerExtent-Pe)+" "+(Me.targetY+_e)+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightSmallArcRadius+_e)+" 0 0 1 "+(Me.rightFullExtent-_e-Pe)+" "+(Me.targetY-Me.rightSmallArcRadius)+"L"+(Me.rightFullExtent-_e-Pe)+" "+Me.verticalRightInnerExtent+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightLargeArcRadius+_e)+" 0 0 1 "+(Me.rightInnerExtent-Pe)+" "+(Me.verticalFullExtent-_e)+"L"+Me.leftInnerExtent+" "+(Me.verticalFullExtent-_e)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftLargeArcRadius+_e)+" 0 0 1 "+(Me.leftFullExtent+_e)+" "+Me.verticalLeftInnerExtent+"L"+(Me.leftFullExtent+_e)+" "+(Me.sourceY-Me.leftSmallArcRadius)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftSmallArcRadius+_e)+" 0 0 1 "+Me.leftInnerExtent+" "+(Me.sourceY+_e)+"L"+Me.sourceX+" "+(Me.sourceY+_e)+"L"+Me.sourceX+" "+(Me.sourceY-_e)+"L"+Me.leftInnerExtent+" "+(Me.sourceY-_e)+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftSmallArcRadius-_e)+" 0 0 0 "+(Me.leftFullExtent-_e)+" "+(Me.sourceY-Me.leftSmallArcRadius)+"L"+(Me.leftFullExtent-_e)+" "+Me.verticalLeftInnerExtent+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftLargeArcRadius-_e)+" 0 0 0 "+Me.leftInnerExtent+" "+(Me.verticalFullExtent+_e)+"L"+(Me.rightInnerExtent-Pe)+" "+(Me.verticalFullExtent+_e)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightLargeArcRadius-_e)+" 0 0 0 "+(Me.rightFullExtent+_e-Pe)+" "+Me.verticalRightInnerExtent+"L"+(Me.rightFullExtent+_e-Pe)+" "+(Me.targetY-Me.rightSmallArcRadius)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightSmallArcRadius-_e)+" 0 0 0 "+(Me.rightInnerExtent-Pe)+" "+(Me.targetY-_e)+"L"+(Me.targetX-Pe)+" "+(Me.targetY-_e)+(Pe>0?"L"+Me.targetX+" "+Me.targetY:"")+"Z":"M "+(Me.targetX-Pe)+" "+(Me.targetY-_e)+" L"+(Me.rightInnerExtent-Pe)+" "+(Me.targetY-_e)+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightSmallArcRadius+_e)+" 0 0 0 "+(Me.rightFullExtent-_e-Pe)+" "+(Me.targetY+Me.rightSmallArcRadius)+"L"+(Me.rightFullExtent-_e-Pe)+" "+Me.verticalRightInnerExtent+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightLargeArcRadius+_e)+" 0 0 0 "+(Me.rightInnerExtent-Pe)+" "+(Me.verticalFullExtent+_e)+"L"+Me.leftInnerExtent+" "+(Me.verticalFullExtent+_e)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftLargeArcRadius+_e)+" 0 0 0 "+(Me.leftFullExtent+_e)+" "+Me.verticalLeftInnerExtent+"L"+(Me.leftFullExtent+_e)+" "+(Me.sourceY+Me.leftSmallArcRadius)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftSmallArcRadius+_e)+" 0 0 0 "+Me.leftInnerExtent+" "+(Me.sourceY-_e)+"L"+Me.sourceX+" "+(Me.sourceY-_e)+"L"+Me.sourceX+" "+(Me.sourceY+_e)+"L"+Me.leftInnerExtent+" "+(Me.sourceY+_e)+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftSmallArcRadius-_e)+" 0 0 1 "+(Me.leftFullExtent-_e)+" "+(Me.sourceY+Me.leftSmallArcRadius)+"L"+(Me.leftFullExtent-_e)+" "+Me.verticalLeftInnerExtent+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftLargeArcRadius-_e)+" 0 0 1 "+Me.leftInnerExtent+" "+(Me.verticalFullExtent-_e)+"L"+(Me.rightInnerExtent-Pe)+" "+(Me.verticalFullExtent-_e)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightLargeArcRadius-_e)+" 0 0 1 "+(Me.rightFullExtent+_e-Pe)+" "+Me.verticalRightInnerExtent+"L"+(Me.rightFullExtent+_e-Pe)+" "+(Me.targetY+Me.rightSmallArcRadius)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightSmallArcRadius-_e)+" 0 0 1 "+(Me.rightInnerExtent-Pe)+" "+(Me.targetY+_e)+"L"+(Me.targetX-Pe)+" "+(Me.targetY+_e)+(Pe>0?"L"+Me.targetX+" "+Me.targetY:"")+"Z"}(q.link,H);var ne=Math.abs((q.link.target.x0-q.link.source.x1)/2);H>ne&&(H=ne);var te=q.link.source.x1,Z=q.link.target.x0-H,X=g(te,Z),Q=X(.5),re=X(.5),ie=q.link.y0-q.link.width/2,oe=q.link.y0+q.link.width/2,ue=q.link.y1-q.link.width/2,ce=q.link.y1+q.link.width/2,ye="M"+te+","+ie,de="C"+Q+","+ie+" "+re+","+ue+" "+Z+","+ue,me="C"+re+","+ce+" "+Q+","+oe+" "+te+","+oe,pe=H>0?"L"+(Z+H)+","+(ue+q.link.width/2):"";return ye+de+(pe+="L"+Z+","+ce)+me+"Z"}}function R(q,H){var ne=l(H.color),te=f.nodePadAcross,Z=q.nodePad/2;H.dx=H.x1-H.x0,H.dy=H.y1-H.y0;var X=H.dx,Q=Math.max(.5,H.dy),re="node_"+H.pointNumber;return H.group&&(re=o.randstr()),H.trace=q.trace,H.curveNumber=q.trace.index,{index:H.pointNumber,key:re,partOfGroup:H.partOfGroup||!1,group:H.group,traceId:q.key,trace:q.trace,node:H,nodePad:q.nodePad,nodeLineColor:q.nodeLineColor,nodeLineWidth:q.nodeLineWidth,textFont:q.textFont,size:q.horizontal?q.height:q.width,visibleWidth:Math.ceil(X),visibleHeight:Q,zoneX:-te,zoneY:-Z,zoneWidth:X+2*te,zoneHeight:Q+2*Z,labelY:q.horizontal?H.dy/2+1:H.dx/2+1,left:H.originalLayer===1,sizeAcross:q.width,forceLayouts:q.forceLayouts,horizontal:q.horizontal,darkBackground:ne.getBrightness()<=128,tinyColorHue:a.tinyRGB(ne),tinyColorAlpha:ne.getAlpha(),valueFormat:q.valueFormat,valueSuffix:q.valueSuffix,sankey:q.sankey,graph:q.graph,arrangement:q.arrangement,uniqueNodeLabelPathId:[q.guid,q.key,re].join("_"),interactionState:q.interactionState,figure:q}}function I(q){q.attr("transform",function(H){return s(H.node.x0.toFixed(3),H.node.y0.toFixed(3))})}function O(q){q.call(I)}function z(q,H){q.call(O),H.attr("d",b())}function F(q){q.attr("width",function(H){return H.node.x1-H.node.x0}).attr("height",function(H){return H.visibleHeight})}function B(q){return q.link.width>1||q.linkLineWidth>0}function N(q){return s(q.translateX,q.translateY)+(q.horizontal?"matrix(1 0 0 1 0 0)":"matrix(0 1 1 0 0 0)")}function W(q,H,ne){q.on(".basic",null).on("mouseover.basic",function(te){te.interactionState.dragInProgress||te.partOfGroup||(ne.hover(this,te,H),te.interactionState.hovered=[this,te])}).on("mousemove.basic",function(te){te.interactionState.dragInProgress||te.partOfGroup||(ne.follow(this,te),te.interactionState.hovered=[this,te])}).on("mouseout.basic",function(te){te.interactionState.dragInProgress||te.partOfGroup||(ne.unhover(this,te,H),te.interactionState.hovered=!1)}).on("click.basic",function(te){te.interactionState.hovered&&(ne.unhover(this,te,H),te.interactionState.hovered=!1),te.interactionState.dragInProgress||te.partOfGroup||ne.select(this,te,H)})}function j(q,H,ne,te){var Z=i.behavior.drag().origin(function(X){return{x:X.node.x0+X.visibleWidth/2,y:X.node.y0+X.visibleHeight/2}}).on("dragstart",function(X){if(X.arrangement!=="fixed"&&(o.ensureSingle(te._fullLayout._infolayer,"g","dragcover",function(re){te._fullLayout._dragCover=re}),o.raiseToTop(this),X.interactionState.dragInProgress=X.node,U(X.node),X.interactionState.hovered&&(ne.nodeEvents.unhover.apply(0,X.interactionState.hovered),X.interactionState.hovered=!1),X.arrangement==="snap")){var Q=X.traceId+"|"+X.key;X.forceLayouts[Q]?X.forceLayouts[Q].alpha(1):function(re,ie,oe,ue){(function(ye){for(var de=0;de0&&pe.forceLayouts[de].alpha(0)}}(0,ie,ce,oe)).stop()}(0,Q,X),function(re,ie,oe,ue,ce){window.requestAnimationFrame(function ye(){var de;for(de=0;de0)window.requestAnimationFrame(ye);else{var me=oe.node.originalX;oe.node.x0=me-oe.visibleWidth/2,oe.node.x1=me+oe.visibleWidth/2,$(oe,ce)}})}(q,H,X,Q,te)}}).on("drag",function(X){if(X.arrangement!=="fixed"){var Q=i.event.x,re=i.event.y;X.arrangement==="snap"?(X.node.x0=Q-X.visibleWidth/2,X.node.x1=Q+X.visibleWidth/2,X.node.y0=re-X.visibleHeight/2,X.node.y1=re+X.visibleHeight/2):(X.arrangement==="freeform"&&(X.node.x0=Q-X.visibleWidth/2,X.node.x1=Q+X.visibleWidth/2),re=Math.max(0,Math.min(X.size-X.visibleHeight/2,re)),X.node.y0=re-X.visibleHeight/2,X.node.y1=re+X.visibleHeight/2),U(X.node),X.arrangement!=="snap"&&(X.sankey.update(X.graph),z(q.filter(G(X)),H))}}).on("dragend",function(X){if(X.arrangement!=="fixed"){X.interactionState.dragInProgress=!1;for(var Q=0;Q_&&j[E].gap;)E--;for(A=j[E].s,k=j.length-1;k>E;k--)j[k].s=A;for(;_z[c]&&c=0;c--){var h=M[c];if(h.type==="scatter"&&h.xaxis===o.xaxis&&h.yaxis===o.yaxis){h.opacity=void 0;break}}}}}},17438:function(T,p,t){var d=t(71828),g=t(73972),i=t(82196),M=t(47581),v=t(34098),f=t(67513),l=t(73927),a=t(565),u=t(49508),o=t(11058),s=t(94039),c=t(82410),h=t(28908),m=t(71828).coercePattern;T.exports=function(w,y,S,_){function k(O,z){return d.coerce(w,y,i,O,z)}var E=f(w,y,_,k);if(E||(y.visible=!1),y.visible){l(w,y,_,k),k("xhoverformat"),k("yhoverformat");var x=a(w,y,_,k);_.scattermode==="group"&&y.orientation===void 0&&k("orientation","v");var A=!x&&E=Math.min(me,pe)&&w<=Math.max(me,pe)?0:1/0}var xe=Math.max(3,de.mrc||0),Pe=1-1/xe,_e=Math.abs(h.c2p(de.x)-w);return _e=Math.min(me,pe)&&y<=Math.max(me,pe)?0:1/0}var xe=Math.max(3,de.mrc||0),Pe=1-1/xe,_e=Math.abs(m.c2p(de.y)-y);return _ece!=(te=U[j][1])>=ce&&(q=U[j-1][0],H=U[j][0],te-ne&&(G=q+(H-q)*(ce-ne)/(te-ne),re=Math.min(re,G),ie=Math.max(ie,G)));re=Math.max(re,0),ie=Math.min(ie,h._length);var ye=v.defaultLine;return v.opacity(c.fillcolor)?ye=c.fillcolor:v.opacity((c.line||{}).color)&&(ye=c.line.color),d.extendFlat(l,{distance:l.maxHoverDistance,x0:re,x1:ie,y0:ce,y1:ce,color:ye,hovertemplate:!1}),delete l.index,c.text&&!Array.isArray(c.text)?l.text=String(c.text):l.text=c.name,[l]}}}},67368:function(T,p,t){var d=t(34098);T.exports={hasLines:d.hasLines,hasMarkers:d.hasMarkers,hasText:d.hasText,isBubble:d.isBubble,attributes:t(82196),layoutAttributes:t(21479),supplyDefaults:t(17438),crossTraceDefaults:t(34936),supplyLayoutDefaults:t(79334),calc:t(47761).calc,crossTraceCalc:t(72626),arraysToCalcdata:t(75225),plot:t(32663),colorbar:t(4898),formatLabels:t(8225),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(33720),selectPoints:t(98002),animatable:!0,moduleType:"trace",name:"scatter",basePlotModule:t(93612),categories:["cartesian","svg","symbols","errorBarsOK","showLegend","scatter-like","zoomScale"],meta:{}}},21479:function(T){T.exports={scattermode:{valType:"enumerated",values:["group","overlay"],dflt:"overlay",editType:"calc"},scattergap:{valType:"number",min:0,max:1,editType:"calc"}}},79334:function(T,p,t){var d=t(71828),g=t(21479);T.exports=function(i,M){var v,f=M.barmode==="group";M.scattermode==="group"&&(v=f?M.bargap:.2,d.coerce(i,M,g,"scattergap",v))}},11058:function(T,p,t){var d=t(71828).isArrayOrTypedArray,g=t(52075).hasColorscale,i=t(1586);T.exports=function(M,v,f,l,a,u){u||(u={});var o=(M.marker||{}).color;a("line.color",f),g(M,"line")?i(M,v,l,a,{prefix:"line.",cLetter:"c"}):a("line.color",!d(o)&&o||f),a("line.width"),u.noDash||a("line.dash"),u.backoff&&a("line.backoff")}},34621:function(T,p,t){var d=t(91424),g=t(50606),i=g.BADNUM,M=g.LOG_CLIP,v=M+.5,f=M-.5,l=t(71828),a=l.segmentsIntersect,u=l.constrain,o=t(47581);T.exports=function(s,c){var h,m,w,y,S,_,k,E,x,A,L,b,R,I,O,z,F,B,N=c.trace||{},W=c.xaxis,j=c.yaxis,$=W.type==="log",U=j.type==="log",G=W._length,q=j._length,H=c.backoff,ne=N.marker,te=c.connectGaps,Z=c.baseTolerance,X=c.shape,Q=X==="linear",re=N.fill&&N.fill!=="none",ie=[],oe=o.minTolerance,ue=s.length,ce=new Array(ue),ye=0;function de(Vt){var Ke=s[Vt];if(!Ke)return!1;var Je=c.linearized?W.l2p(Ke.x):W.c2p(Ke.x),qe=c.linearized?j.l2p(Ke.y):j.c2p(Ke.y);if(Je===i){if($&&(Je=W.c2p(Ke.x,!0)),Je===i)return!1;U&&qe===i&&(Je*=Math.abs(W._m*q*(W._m>0?v:f)/(j._m*G*(j._m>0?v:f)))),Je*=1e3}if(qe===i){if(U&&(qe=j.c2p(Ke.y,!0)),qe===i)return!1;qe*=1e3}return[Je,qe]}function me(Vt,Ke,Je,qe){var nt=Je-Vt,ft=qe-Ke,Re=.5-Vt,Ne=.5-Ke,Qe=nt*nt+ft*ft,ut=nt*Re+ft*Ne;if(ut>0&&utLe||Vt[1]ze)return[u(Vt[0],ke,Le),u(Vt[1],Be,ze)]}function we(Vt,Ke){return Vt[0]===Ke[0]&&(Vt[0]===ke||Vt[0]===Le)||Vt[1]===Ke[1]&&(Vt[1]===Be||Vt[1]===ze)||void 0}function Ee(Vt,Ke,Je){return function(qe,nt){var ft=ge(qe),Re=ge(nt),Ne=[];if(ft&&Re&&we(ft,Re))return Ne;ft&&Ne.push(ft),Re&&Ne.push(Re);var Qe=2*l.constrain((qe[Vt]+nt[Vt])/2,Ke,Je)-((ft||qe)[Vt]+(Re||nt)[Vt]);return Qe&&((ft&&Re?Qe>0==ft[Vt]>Re[Vt]?ft:Re:ft||Re)[Vt]+=Qe),Ne}}function Ve(Vt){var Ke=Vt[0],Je=Vt[1],qe=Ke===ce[ye-1][0],nt=Je===ce[ye-1][1];if(!qe||!nt)if(ye>1){var ft=Ke===ce[ye-2][0],Re=Je===ce[ye-2][1];qe&&(Ke===ke||Ke===Le)&&ft?Re?ye--:ce[ye-1]=Vt:nt&&(Je===Be||Je===ze)&&Re?ft?ye--:ce[ye-1]=Vt:ce[ye++]=Vt}else ce[ye++]=Vt}function $e(Vt){ce[ye-1][0]!==Vt[0]&&ce[ye-1][1]!==Vt[1]&&Ve([Me,Se]),Ve(Vt),Ce=null,Me=Se=0}X==="linear"||X==="spline"?fe=function(Vt,Ke){for(var Je=[],qe=0,nt=0;nt<4;nt++){var ft=je[nt],Re=a(Vt[0],Vt[1],Ke[0],Ke[1],ft[0],ft[1],ft[2],ft[3]);Re&&(!qe||Math.abs(Re.x-Je[0][0])>1||Math.abs(Re.y-Je[0][1])>1)&&(Re=[Re.x,Re.y],qe&&xe(Re,Vt)Le?Le:0,_e=Vt[1]ze?ze:0,Pe||_e){if(ye)if(Ce){var Ke=fe(Ce,Vt);Ke.length>1&&($e(Ke[0]),ce[ye++]=Ke[1])}else ae=fe(ce[ye-1],Vt)[0],ce[ye++]=ae;else ce[ye++]=[Pe||Vt[0],_e||Vt[1]];var Je=ce[ye-1];Pe&&_e&&(Je[0]!==Pe||Je[1]!==_e)?(Ce&&(Me!==Pe&&Se!==_e?Ve(Me&&Se?(qe=Ce,ft=(nt=Vt)[0]-qe[0],Re=(nt[1]-qe[1])/ft,(qe[1]*nt[0]-nt[1]*qe[0])/ft>0?[Re>0?ke:Le,ze]:[Re>0?Le:ke,Be]):[Me||Pe,Se||_e]):Me&&Se&&Ve([Me,Se])),Ve([Pe,_e])):Me-Pe&&Se-_e&&Ve([Pe||Me,_e||Se]),Ce=Vt,Me=Pe,Se=_e}else Ce&&$e(fe(Ce,Vt)[0]),ce[ye++]=Vt;var qe,nt,ft,Re}for(h=0;hpe(_,ot))break;w=_,(R=x[0]*E[0]+x[1]*E[1])>L?(L=R,y=_,k=!1):R=s.length||!_)break;st(_),m=_}}else st(y)}Ce&&Ve([Me||Ce[0],Se||Ce[1]]),ie.push(ce.slice(0,ye))}var ht=X.slice(X.length-1);if(H&&ht!=="h"&&ht!=="v"){for(var bt=!1,Et=-1,kt=[],xt=0;xt=0?l=c:(l=c=s,s++),l0?Math.max(u,f):0}}},4898:function(T){T.exports={container:"marker",min:"cmin",max:"cmax"}},49508:function(T,p,t){var d=t(7901),g=t(52075).hasColorscale,i=t(1586),M=t(34098);T.exports=function(v,f,l,a,u,o){var s=M.isBubble(v),c=(v.line||{}).color;o=o||{},c&&(l=c),u("marker.symbol"),u("marker.opacity",s?.7:1),u("marker.size"),o.noAngle||(u("marker.angle"),o.noAngleRef||u("marker.angleref"),o.noStandOff||u("marker.standoff")),u("marker.color",l),g(v,"marker")&&i(v,f,a,u,{prefix:"marker.",cLetter:"c"}),o.noSelect||(u("selected.marker.color"),u("unselected.marker.color"),u("selected.marker.size"),u("unselected.marker.size")),o.noLine||(u("marker.line.color",c&&!Array.isArray(c)&&f.marker.color!==c?c:s?d.background:d.defaultLine),g(v,"marker.line")&&i(v,f,a,u,{prefix:"marker.line.",cLetter:"c"}),u("marker.line.width",s?1:0)),s&&(u("marker.sizeref"),u("marker.sizemin"),u("marker.sizemode")),o.gradient&&u("marker.gradient.type")!=="none"&&u("marker.gradient.color")}},73927:function(T,p,t){var d=t(71828).dateTick0,g=t(50606).ONEWEEK;function i(M,v){return d(v,M%g==0?1:0)}T.exports=function(M,v,f,l,a){if(a||(a={x:!0,y:!0}),a.x){var u=l("xperiod");u&&(l("xperiod0",i(u,v.xcalendar)),l("xperiodalignment"))}if(a.y){var o=l("yperiod");o&&(l("yperiod0",i(o,v.ycalendar)),l("yperiodalignment"))}}},32663:function(T,p,t){var d=t(39898),g=t(73972),i=t(71828),M=i.ensureSingle,v=i.identity,f=t(91424),l=t(34098),a=t(34621),u=t(68687),o=t(61082).tester;function s(c,h,m,w,y,S,_){var k,E=c._context.staticPlot;(function(fe,be,ke,Le,Be){var ze=ke.xaxis,je=ke.yaxis,ge=d.extent(i.simpleMap(ze.range,ze.r2c)),we=d.extent(i.simpleMap(je.range,je.r2c)),Ee=Le[0].trace;if(l.hasMarkers(Ee)){var Ve=Ee.marker.maxdisplayed;if(Ve!==0){var $e=Le.filter(function(ht){return ht.x>=ge[0]&&ht.x<=ge[1]&&ht.y>=we[0]&&ht.y<=we[1]}),Ye=Math.ceil($e.length/Ve),st=0;Be.forEach(function(ht,bt){var Et=ht[0].trace;l.hasMarkers(Et)&&Et.marker.maxdisplayed>0&&bt0;function A(fe){return x?fe.transition():fe}var L=m.xaxis,b=m.yaxis,R=w[0].trace,I=R.line,O=d.select(S),z=M(O,"g","errorbars"),F=M(O,"g","lines"),B=M(O,"g","points"),N=M(O,"g","text");if(g.getComponentMethod("errorbars","plot")(c,z,m,_),R.visible===!0){var W,j;A(O).style("opacity",R.opacity);var $=R.fill.charAt(R.fill.length-1);$!=="x"&&$!=="y"&&($=""),w[0][m.isRangePlot?"nodeRangePlot3":"node3"]=O;var U,G,q="",H=[],ne=R._prevtrace;ne&&(q=ne._prevRevpath||"",j=ne._nextFill,H=ne._polygons);var te,Z,X,Q,re,ie,oe,ue="",ce="",ye=[],de=i.noop;if(W=R._ownFill,l.hasLines(R)||R.fill!=="none"){for(j&&j.datum(w),["hv","vh","hvh","vhv"].indexOf(I.shape)!==-1?(te=f.steps(I.shape),Z=f.steps(I.shape.split("").reverse().join(""))):te=Z=I.shape==="spline"?function(fe){var be=fe[fe.length-1];return fe.length>1&&fe[0][0]===be[0]&&fe[0][1]===be[1]?f.smoothclosed(fe.slice(1),I.smoothing):f.smoothopen(fe,I.smoothing)}:function(fe){return"M"+fe.join("L")},X=function(fe){return Z(fe.reverse())},ye=a(w,{xaxis:L,yaxis:b,trace:R,connectGaps:R.connectgaps,baseTolerance:Math.max(I.width||1,3)/4,shape:I.shape,backoff:I.backoff,simplify:I.simplify,fill:R.fill}),oe=R._polygons=new Array(ye.length),k=0;k0,A=u(c,h,m);(_=w.selectAll("g.trace").data(A,function(L){return L[0].trace.uid})).enter().append("g").attr("class",function(L){return"trace scatter trace"+L[0].trace.uid}).style("stroke-miterlimit",2),_.order(),function(L,b,R){b.each(function(I){var O=M(d.select(this),"g","fills");f.setClipUrl(O,R.layerClipId,L);var z=I[0].trace,F=[];z._ownfill&&F.push("_ownFill"),z._nexttrace&&F.push("_nextFill");var B=O.selectAll("g").data(F,v);B.enter().append("g"),B.exit().each(function(N){z[N]=null}).remove(),B.order().each(function(N){z[N]=M(d.select(this),"path","js-fill")})})}(c,_,h),x?(S&&(k=S()),d.transition().duration(y.duration).ease(y.easing).each("end",function(){k&&k()}).each("interrupt",function(){k&&k()}).each(function(){w.selectAll("g.trace").each(function(L,b){s(c,b,h,L,A,this,y)})})):_.each(function(L,b){s(c,b,h,L,A,this,y)}),E&&_.exit().remove(),w.selectAll("path:not([d])").remove()}},98002:function(T,p,t){var d=t(34098);T.exports=function(g,i){var M,v,f,l,a=g.cd,u=g.xaxis,o=g.yaxis,s=[],c=a[0].trace;if(!d.hasMarkers(c)&&!d.hasText(c))return[];if(i===!1)for(M=0;M0){var m=f.c2l(c);f._lowerLogErrorBound||(f._lowerLogErrorBound=m),f._lowerErrorBound=Math.min(f._lowerLogErrorBound,m)}}else a[u]=[-o[0]*v,o[1]*v]}return a}T.exports=function(i,M,v){var f=[g(i.x,i.error_x,M[0],v.xaxis),g(i.y,i.error_y,M[1],v.yaxis),g(i.z,i.error_z,M[2],v.zaxis)],l=function(h){for(var m=0;m-1?-1:b.indexOf("right")>-1?1:0}function _(b){return b==null?0:b.indexOf("top")>-1?-1:b.indexOf("bottom")>-1?1:0}function k(b,R){return R(4*b)}function E(b){return s[b]}function x(b,R,I,O,z){var F=null;if(f.isArrayOrTypedArray(b)){F=[];for(var B=0;B=0){var j=function($,U,G){var q,H=(G+1)%3,ne=(G+2)%3,te=[],Z=[];for(q=0;q<$.length;++q){var X=$[q];!isNaN(X[H])&&isFinite(X[H])&&!isNaN(X[ne])&&isFinite(X[ne])&&(te.push([X[H],X[ne]]),Z.push(q))}var Q=v(te);for(q=0;q=0&&c("surfacecolor",m||w);for(var y=["x","y","z"],S=0;S<3;++S){var _="projection."+y[S];c(_+".show")&&(c(_+".opacity"),c(_+".scale"))}var k=d.getComponentMethod("errorbars","supplyDefaults");k(a,u,m||w||o,{axis:"z"}),k(a,u,m||w||o,{axis:"y",inherit:"z"}),k(a,u,m||w||o,{axis:"x",inherit:"z"})}else u.visible=!1}},13551:function(T,p,t){T.exports={plot:t(58925),attributes:t(44542),markerSymbols:t(87381),supplyDefaults:t(21428),colorbar:[{container:"marker",min:"cmin",max:"cmax"},{container:"line",min:"cmin",max:"cmax"}],calc:t(36563),moduleType:"trace",name:"scatter3d",basePlotModule:t(58547),categories:["gl3d","symbols","showLegend","scatter-like"],meta:{}}},97001:function(T,p,t){var d=t(82196),g=t(9012),i=t(5386).fF,M=t(5386).si,v=t(50693),f=t(1426).extendFlat,l=d.marker,a=d.line,u=l.line;T.exports={carpet:{valType:"string",editType:"calc"},a:{valType:"data_array",editType:"calc"},b:{valType:"data_array",editType:"calc"},mode:f({},d.mode,{dflt:"markers"}),text:f({},d.text,{}),texttemplate:M({editType:"plot"},{keys:["a","b","text"]}),hovertext:f({},d.hovertext,{}),line:{color:a.color,width:a.width,dash:a.dash,backoff:a.backoff,shape:f({},a.shape,{values:["linear","spline"]}),smoothing:a.smoothing,editType:"calc"},connectgaps:d.connectgaps,fill:f({},d.fill,{values:["none","toself","tonext"],dflt:"none"}),fillcolor:d.fillcolor,marker:f({symbol:l.symbol,opacity:l.opacity,maxdisplayed:l.maxdisplayed,angle:l.angle,angleref:l.angleref,standoff:l.standoff,size:l.size,sizeref:l.sizeref,sizemin:l.sizemin,sizemode:l.sizemode,line:f({width:u.width,editType:"calc"},v("marker.line")),gradient:l.gradient,editType:"calc"},v("marker")),textfont:d.textfont,textposition:d.textposition,selected:d.selected,unselected:d.unselected,hoverinfo:f({},g.hoverinfo,{flags:["a","b","text","name"]}),hoveron:d.hoveron,hovertemplate:i()}},34618:function(T,p,t){var d=t(92770),g=t(36922),i=t(75225),M=t(66279),v=t(47761).calcMarkerSize,f=t(22882);T.exports=function(l,a){var u=a._carpetTrace=f(l,a);if(u&&u.visible&&u.visible!=="legendonly"){var o;a.xaxis=u.xaxis,a.yaxis=u.yaxis;var s,c,h=a._length,m=new Array(h),w=!1;for(o=0;o")}return l}function k(E,x){var A;A=E.labelprefix&&E.labelprefix.length>0?E.labelprefix.replace(/ = $/,""):E._hovertitle,S.push(A+": "+x.toFixed(3)+E.labelsuffix)}}},46858:function(T,p,t){T.exports={attributes:t(97001),supplyDefaults:t(98965),colorbar:t(4898),formatLabels:t(48953),calc:t(34618),plot:t(1913),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(22931),selectPoints:t(98002),eventData:t(16165),moduleType:"trace",name:"scattercarpet",basePlotModule:t(93612),categories:["svg","carpet","symbols","showLegend","carpetDependent","zoomScale"],meta:{}}},1913:function(T,p,t){var d=t(32663),g=t(89298),i=t(91424);T.exports=function(M,v,f,l){var a,u,o,s=f[0][0].carpet,c=g.getFromId(M,s.xaxis||"x"),h=g.getFromId(M,s.yaxis||"y"),m={xaxis:c,yaxis:h,plot:v.plot};for(a=0;a")}function j($){return $+"°"}}(o,y,f,u[0].t.labels),f.hovertemplate=o.hovertemplate,[f]}}},17988:function(T,p,t){T.exports={attributes:t(19316),supplyDefaults:t(10659),colorbar:t(4898),formatLabels:t(82719),calc:t(84622),calcGeoJSON:t(89171).calcGeoJSON,plot:t(89171).plot,style:t(33095),styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(14977),eventData:t(84084),selectPoints:t(20548),moduleType:"trace",name:"scattergeo",basePlotModule:t(44622),categories:["geo","symbols","showLegend","scatter-like"],meta:{}}},89171:function(T,p,t){var d=t(39898),g=t(71828),i=t(90973).getTopojsonFeatures,M=t(18214),v=t(41327),f=t(71739).findExtremes,l=t(50606).BADNUM,a=t(47761).calcMarkerSize,u=t(34098),o=t(33095);T.exports={calcGeoJSON:function(s,c){var h,m,w=s[0].trace,y=c[w.geo],S=y._subplot,_=w._length;if(Array.isArray(w.locations)){var k=w.locationmode,E=k==="geojson-id"?v.extractTraceFeature(s):i(w,S.topojson);for(h=0;h<_;h++){m=s[h];var x=k==="geojson-id"?m.fOut:v.locationToFeature(k,m.loc,E);m.lonlat=x?x.properties.ct:[l,l]}}var A,L,b={padded:!0};if(y.fitbounds==="geojson"&&w.locationmode==="geojson-id"){var R=v.computeBbox(v.getTraceGeojson(w));A=[R[0],R[2]],L=[R[1],R[3]]}else{for(A=new Array(_),L=new Array(_),h=0;h<_;h++)m=s[h],A[h]=m.lonlat[0],L[h]=m.lonlat[1];b.ppad=a(w,_)}w._extremes.lon=f(y.lonaxis._ax,A,b),w._extremes.lat=f(y.lataxis._ax,L,b)},plot:function(s,c,h){var m=c.layers.frontplot.select(".scatterlayer"),w=g.makeTraceGroups(m,h,"trace scattergeo");function y(S,_){S.lonlat[0]===l&&d.select(_).remove()}w.selectAll("*").remove(),w.each(function(S){var _=d.select(this),k=S[0].trace;if(u.hasLines(k)||k.fill!=="none"){var E=M.calcTraceToLineCoords(S),x=k.fill!=="none"?M.makePolygon(E):M.makeLine(E);_.selectAll("path.js-line").data([{geojson:x,trace:k}]).enter().append("path").classed("js-line",!0).style("stroke-miterlimit",2)}u.hasMarkers(k)&&_.selectAll("path.point").data(g.identity).enter().append("path").classed("point",!0).each(function(A){y(A,this)}),u.hasText(k)&&_.selectAll("g").data(g.identity).enter().append("g").append("text").each(function(A){y(A,this)}),o(s,S)})}}},20548:function(T,p,t){var d=t(34098),g=t(50606).BADNUM;T.exports=function(i,M){var v,f,l,a,u,o=i.cd,s=i.xaxis,c=i.yaxis,h=[],m=o[0].trace;if(!d.hasMarkers(m)&&!d.hasText(m))return[];if(M===!1)for(u=0;u=m,R=2*L,I={},O=E.makeCalcdata(S,"x"),z=x.makeCalcdata(S,"y"),F=v(S,E,"x",O),B=v(S,x,"y",z),N=F.vals,W=B.vals;S._x=N,S._y=W,S.xperiodalignment&&(S._origX=O,S._xStarts=F.starts,S._xEnds=F.ends),S.yperiodalignment&&(S._origY=z,S._yStarts=B.starts,S._yEnds=B.ends);var j=new Array(R),$=new Array(L);for(_=0;_1&&g.extendFlat(re.line,s.linePositions(H,te,Z)),re.errorX||re.errorY){var ie=s.errorBarPositions(H,te,Z,X,Q);re.errorX&&g.extendFlat(re.errorX,ie.x),re.errorY&&g.extendFlat(re.errorY,ie.y)}return re.text&&(g.extendFlat(re.text,{positions:Z},s.textPosition(H,te,re.text,re.marker)),g.extendFlat(re.textSel,{positions:Z},s.textPosition(H,te,re.text,re.markerSel)),g.extendFlat(re.textUnsel,{positions:Z},s.textPosition(H,te,re.text,re.markerUnsel))),re}(y,0,S,j,N,W),q=c(y,A);return u(k,S),b?G.marker&&(U=G.marker.sizeAvg||Math.max(G.marker.size,3)):U=l(S,L),a(y,S,E,x,N,W,U),G.errorX&&w(S,E,G.errorX),G.errorY&&w(S,x,G.errorY),G.fill&&!q.fill2d&&(q.fill2d=!0),G.marker&&!q.scatter2d&&(q.scatter2d=!0),G.line&&!q.line2d&&(q.line2d=!0),!G.errorX&&!G.errorY||q.error2d||(q.error2d=!0),G.text&&!q.glText&&(q.glText=!0),G.marker&&(G.marker.snap=L),q.lineOptions.push(G.line),q.errorXOptions.push(G.errorX),q.errorYOptions.push(G.errorY),q.fillOptions.push(G.fill),q.markerOptions.push(G.marker),q.markerSelectedOptions.push(G.markerSel),q.markerUnselectedOptions.push(G.markerUnsel),q.textOptions.push(G.text),q.textSelectedOptions.push(G.textSel),q.textUnselectedOptions.push(G.textUnsel),q.selectBatch.push([]),q.unselectBatch.push([]),I._scene=q,I.index=q.count,I.x=N,I.y=W,I.positions=j,q.count++,[{x:!1,y:!1,t:I,trace:S}]}},78232:function(T){T.exports={TOO_MANY_POINTS:1e5,SYMBOL_SDF_SIZE:200,SYMBOL_SIZE:20,SYMBOL_STROKE:1,DOT_RE:/-dot/,OPEN_RE:/-open/,DASHES:{solid:[1],dot:[1,1],dash:[4,1],longdash:[8,1],dashdot:[4,1,1,1],longdashdot:[8,1,1,1]}}},19635:function(T,p,t){var d=t(92770),g=t(82019),i=t(25075),M=t(73972),v=t(71828),f=t(91424),l=t(41675),a=t(81697).formatColor,u=t(34098),o=t(39984),s=t(68645),c=t(78232),h=t(37822).DESELECTDIM,m={start:1,left:1,end:-1,right:-1,middle:0,center:0,bottom:1,top:-1},w=t(23469).appendArrayPointValue;function y(O,z){var F,B=O._fullLayout,N=z._length,W=z.textfont,j=z.textposition,$=Array.isArray(j)?j:[j],U=W.color,G=W.size,q=W.family,H={},ne=O._context.plotGlPixelRatio,te=z.texttemplate;if(te){H.text=[];var Z=B._d3locale,X=Array.isArray(te),Q=X?Math.min(te.length,N):N,re=X?function(me){return te[me]}:function(){return te};for(F=0;Fc.TOO_MANY_POINTS||u.hasMarkers(z)?"rect":"round";if(G&&z.connectgaps){var H=B[0],ne=B[1];for(N=0;N1?U[N]:U[0]:U,te=Array.isArray(G)?G.length>1?G[N]:G[0]:G,Z=m[ne],X=m[te],Q=q?q/.8+1:0,re=-X*Q-.5*X;j.offset[N]=[Z*Q/H,re/H]}}return j}}},47148:function(T,p,t){var d=t(71828),g=t(73972),i=t(68645),M=t(42341),v=t(47581),f=t(34098),l=t(67513),a=t(73927),u=t(49508),o=t(11058),s=t(28908),c=t(82410);T.exports=function(h,m,w,y){function S(R,I){return d.coerce(h,m,M,R,I)}var _=!!h.marker&&i.isOpenSymbol(h.marker.symbol),k=f.isBubble(h),E=l(h,m,y,S);if(E){a(h,m,y,S),S("xhoverformat"),S("yhoverformat");var x=E100},p.isDotSymbol=function(g){return typeof g=="string"?d.DOT_RE.test(g):g>200}},20794:function(T,p,t){var d=t(73972),g=t(71828),i=t(34603);function M(v,f,l,a){var u=v.xa,o=v.ya,s=v.distance,c=v.dxy,h=v.index,m={pointNumber:h,x:f[h],y:l[h]};m.tx=Array.isArray(a.text)?a.text[h]:a.text,m.htx=Array.isArray(a.hovertext)?a.hovertext[h]:a.hovertext,m.data=Array.isArray(a.customdata)?a.customdata[h]:a.customdata,m.tp=Array.isArray(a.textposition)?a.textposition[h]:a.textposition;var w=a.textfont;w&&(m.ts=g.isArrayOrTypedArray(w.size)?w.size[h]:w.size,m.tc=Array.isArray(w.color)?w.color[h]:w.color,m.tf=Array.isArray(w.family)?w.family[h]:w.family);var y=a.marker;y&&(m.ms=g.isArrayOrTypedArray(y.size)?y.size[h]:y.size,m.mo=g.isArrayOrTypedArray(y.opacity)?y.opacity[h]:y.opacity,m.mx=g.isArrayOrTypedArray(y.symbol)?y.symbol[h]:y.symbol,m.ma=g.isArrayOrTypedArray(y.angle)?y.angle[h]:y.angle,m.mc=g.isArrayOrTypedArray(y.color)?y.color[h]:y.color);var S=y&&y.line;S&&(m.mlc=Array.isArray(S.color)?S.color[h]:S.color,m.mlw=g.isArrayOrTypedArray(S.width)?S.width[h]:S.width);var _=y&&y.gradient;_&&_.type!=="none"&&(m.mgt=Array.isArray(_.type)?_.type[h]:_.type,m.mgc=Array.isArray(_.color)?_.color[h]:_.color);var k=u.c2p(m.x,!0),E=o.c2p(m.y,!0),x=m.mrc||1,A=a.hoverlabel;A&&(m.hbg=Array.isArray(A.bgcolor)?A.bgcolor[h]:A.bgcolor,m.hbc=Array.isArray(A.bordercolor)?A.bordercolor[h]:A.bordercolor,m.hts=g.isArrayOrTypedArray(A.font.size)?A.font.size[h]:A.font.size,m.htc=Array.isArray(A.font.color)?A.font.color[h]:A.font.color,m.htf=Array.isArray(A.font.family)?A.font.family[h]:A.font.family,m.hnl=g.isArrayOrTypedArray(A.namelength)?A.namelength[h]:A.namelength);var L=a.hoverinfo;L&&(m.hi=Array.isArray(L)?L[h]:L);var b=a.hovertemplate;b&&(m.ht=Array.isArray(b)?b[h]:b);var R={};R[v.index]=m;var I=a._origX,O=a._origY,z=g.extendFlat({},v,{color:i(a,m),x0:k-x,x1:k+x,xLabelVal:I?I[h]:m.x,y0:E-x,y1:E+x,yLabelVal:O?O[h]:m.y,cd:R,distance:s,spikeDistance:c,hovertemplate:m.ht});return m.htx?z.text=m.htx:m.tx?z.text=m.tx:a.text&&(z.text=a.text),g.fillText(m,a,z),d.getComponentMethod("errorbars","hoverInfo")(m,a,z),z}T.exports={hoverPoints:function(v,f,l,a){var u,o,s,c,h,m,w,y,S,_,k=v.cd,E=k[0].t,x=k[0].trace,A=v.xa,L=v.ya,b=E.x,R=E.y,I=A.c2p(f),O=L.c2p(l),z=v.distance;if(E.tree){var F=A.p2c(I-z),B=A.p2c(I+z),N=L.p2c(O-z),W=L.p2c(O+z);u=a==="x"?E.tree.range(Math.min(F,B),Math.min(L._rl[0],L._rl[1]),Math.max(F,B),Math.max(L._rl[0],L._rl[1])):E.tree.range(Math.min(F,B),Math.min(N,W),Math.max(F,B),Math.max(N,W))}else u=E.ids;var j=z;if(a==="x"){var $=!!x.xperiodalignment,U=!!x.yperiodalignment;for(m=0;m=Math.min(G,q)&&I<=Math.max(G,q)?0:1/0}if(w=Math.min(H,ne)&&O<=Math.max(H,ne)?0:1/0}_=Math.sqrt(w*w+y*y),s=u[m]}}}else for(m=u.length-1;m>-1;m--)c=b[o=u[m]],h=R[o],w=A.c2p(c)-I,y=L.c2p(h)-O,(S=Math.sqrt(w*w+y*y))k.glText.length){var b=A-k.glText.length;for(y=0;yue&&(isNaN(oe[ce])||isNaN(oe[ce+1]));)ce-=2;ie.positions=oe.slice(ue,ce+2)}return ie}),k.line2d.update(k.lineOptions)),k.error2d){var I=(k.errorXOptions||[]).concat(k.errorYOptions||[]);k.error2d.update(I)}k.scatter2d&&k.scatter2d.update(k.markerOptions),k.fillOrder=v.repeat(null,A),k.fill2d&&(k.fillOptions=k.fillOptions.map(function(ie,oe){var ue=w[oe];if(ie&&ue&&ue[0]&&ue[0].trace){var ce,ye,de=ue[0],me=de.trace,pe=de.t,xe=k.lineOptions[oe],Pe=[];me._ownfill&&Pe.push(oe),me._nexttrace&&Pe.push(oe+1),Pe.length&&(k.fillOrder[oe]=Pe);var _e,Me,Se=[],Ce=xe&&xe.positions||pe.positions;if(me.fill==="tozeroy"){for(_e=0;_e_e&&isNaN(Ce[Me+1]);)Me-=2;Ce[_e+1]!==0&&(Se=[Ce[_e],0]),Se=Se.concat(Ce.slice(_e,Me+2)),Ce[Me+1]!==0&&(Se=Se.concat([Ce[Me],0]))}else if(me.fill==="tozerox"){for(_e=0;_e_e&&isNaN(Ce[Me]);)Me-=2;Ce[_e]!==0&&(Se=[0,Ce[_e+1]]),Se=Se.concat(Ce.slice(_e,Me+2)),Ce[Me]!==0&&(Se=Se.concat([0,Ce[Me+1]]))}else if(me.fill==="toself"||me.fill==="tonext"){for(Se=[],ce=0,ie.splitNull=!0,ye=0;ye-1;for(y=0;y")}function S(_){return _+"°"}}T.exports={hoverPoints:function(a,u,o){var s=a.cd,c=s[0].trace,h=a.xa,m=a.ya,w=a.subplot,y=[],S=f+c.uid+"-circle",_=c.cluster&&c.cluster.enabled;if(_){var k=w.map.queryRenderedFeatures(null,{layers:[S]});y=k.map(function(B){return B.id})}var E=360*(u>=0?Math.floor((u+180)/360):Math.ceil((u-180)/360)),x=u-E;if(d.getClosest(s,function(B){var N=B.lonlat;if(N[0]===v||_&&y.indexOf(B.i+1)===-1)return 1/0;var W=g.modHalf(N[0],360),j=N[1],$=w.project([W,j]),U=$.x-h.c2p([x,j]),G=$.y-m.c2p([W,o]),q=Math.max(3,B.mrc||0);return Math.max(Math.sqrt(U*U+G*G)-q,1-3/q)},a),a.index!==!1){var A=s[a.index],L=A.lonlat,b=[g.modHalf(L[0],360)+E,L[1]],R=h.c2p(b),I=m.c2p(b),O=A.mrc||1;a.x0=R-O,a.x1=R+O,a.y0=I-O,a.y1=I+O;var z={};z[c.subplot]={_subplot:w};var F=c._module.formatLabels(A,c,z);return a.lonLabel=F.lonLabel,a.latLabel=F.latLabel,a.color=i(c,A),a.extraText=l(c,A,s[0].t.labels),a.hovertemplate=c.hovertemplate,[a]}},getExtraText:l}},20467:function(T,p,t){T.exports={attributes:t(99181),supplyDefaults:t(76645),colorbar:t(4898),formatLabels:t(15636),calc:t(84622),plot:t(86951),hoverPoints:t(28178).hoverPoints,eventData:t(53353),selectPoints:t(86387),styleOnSelect:function(d,g){g&&g[0].trace._glTrace.update(g)},moduleType:"trace",name:"scattermapbox",basePlotModule:t(50101),categories:["mapbox","gl","symbols","showLegend","scatter-like"],meta:{}}},86951:function(T,p,t){var d=t(71828),g=t(15790),i=t(77734).traceLayerPrefix,M={cluster:["cluster","clusterCount","circle"],nonCluster:["fill","line","circle","symbol"]};function v(l,a,u,o){this.type="scattermapbox",this.subplot=l,this.uid=a,this.clusterEnabled=u,this.isHidden=o,this.sourceIds={fill:"source-"+a+"-fill",line:"source-"+a+"-line",circle:"source-"+a+"-circle",symbol:"source-"+a+"-symbol",cluster:"source-"+a+"-circle",clusterCount:"source-"+a+"-circle"},this.layerIds={fill:i+a+"-fill",line:i+a+"-line",circle:i+a+"-circle",symbol:i+a+"-symbol",cluster:i+a+"-cluster",clusterCount:i+a+"-cluster-count"},this.below=null}var f=v.prototype;f.addSource=function(l,a,u){var o={type:"geojson",data:a.geojson};u&&u.enabled&&d.extendFlat(o,{cluster:!0,clusterMaxZoom:u.maxzoom});var s=this.subplot.map.getSource(this.sourceIds[l]);s?s.setData(a.geojson):this.subplot.map.addSource(this.sourceIds[l],o)},f.setSourceData=function(l,a){this.subplot.map.getSource(this.sourceIds[l]).setData(a.geojson)},f.addLayer=function(l,a,u){var o={type:a.type,id:this.layerIds[l],source:this.sourceIds[l],layout:a.layout,paint:a.paint};a.filter&&(o.filter=a.filter);for(var s,c=this.layerIds[l],h=this.subplot.getMapLayers(),m=0;m=0;b--){var R=L[b];o.removeLayer(w.layerIds[R])}A||o.removeSource(w.sourceIds.circle)}(x):function(A){for(var L=M.nonCluster,b=L.length-1;b>=0;b--){var R=L[b];o.removeLayer(w.layerIds[R]),A||o.removeSource(w.sourceIds[R])}}(x)}function S(x){h?function(A){A||w.addSource("circle",s.circle,a.cluster);for(var L=M.cluster,b=0;b=0;u--){var o=a[u];l.removeLayer(this.layerIds[o]),l.removeSource(this.sourceIds[o])}},T.exports=function(l,a){var u,o,s,c=a[0].trace,h=c.cluster&&c.cluster.enabled,m=c.visible!==!0,w=new v(l,c.uid,h,m),y=g(l.gd,a),S=w.below=l.belowLookup["trace-"+c.uid];if(h)for(w.addSource("circle",y.circle,c.cluster),u=0;u")}}T.exports={hoverPoints:function(i,M,v,f){var l=d(i,M,v,f);if(l&&l[0].index!==!1){var a=l[0];if(a.index===void 0)return l;var u=i.subplot,o=a.cd[a.index],s=a.trace;if(u.isPtInside(o))return a.xLabelVal=void 0,a.yLabelVal=void 0,g(o,s,u,a),a.hovertemplate=s.hovertemplate,l}},makeHoverPointText:g}},91271:function(T,p,t){T.exports={moduleType:"trace",name:"scatterpolar",basePlotModule:t(23580),categories:["polar","symbols","showLegend","scatter-like"],attributes:t(81245),supplyDefaults:t(22184).supplyDefaults,colorbar:t(4898),formatLabels:t(98608),calc:t(26442),plot:t(45162),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(59150).hoverPoints,selectPoints:t(98002),meta:{}}},45162:function(T,p,t){var d=t(32663),g=t(50606).BADNUM;T.exports=function(i,M,v){for(var f=M.layers.frontplot.select("g.scatterlayer"),l=M.xaxis,a=M.yaxis,u={xaxis:l,yaxis:a,plot:M.framework,layerClipId:M._hasClipOnAxisFalse?M.clipIds.forTraces:null},o=M.radialAxis,s=M.angularAxis,c=0;c=l&&(A.marker.cluster=_.tree),A.marker&&(A.markerSel.positions=A.markerUnsel.positions=A.marker.positions=R),A.line&&R.length>1&&f.extendFlat(A.line,v.linePositions(a,S,R)),A.text&&(f.extendFlat(A.text,{positions:R},v.textPosition(a,S,A.text,A.marker)),f.extendFlat(A.textSel,{positions:R},v.textPosition(a,S,A.text,A.markerSel)),f.extendFlat(A.textUnsel,{positions:R},v.textPosition(a,S,A.text,A.markerUnsel))),A.fill&&!h.fill2d&&(h.fill2d=!0),A.marker&&!h.scatter2d&&(h.scatter2d=!0),A.line&&!h.line2d&&(h.line2d=!0),A.text&&!h.glText&&(h.glText=!0),h.lineOptions.push(A.line),h.fillOptions.push(A.fill),h.markerOptions.push(A.marker),h.markerSelectedOptions.push(A.markerSel),h.markerUnselectedOptions.push(A.markerUnsel),h.textOptions.push(A.text),h.textSelectedOptions.push(A.textSel),h.textUnselectedOptions.push(A.textUnsel),h.selectBatch.push([]),h.unselectBatch.push([]),_.x=I,_.y=O,_.rawx=I,_.rawy=O,_.r=E,_.theta=x,_.positions=R,_._scene=h,_.index=h.count,h.count++}}),i(a,u,o)}},T.exports.reglPrecompiled={}},48300:function(T,p,t){var d=t(5386).fF,g=t(5386).si,i=t(1426).extendFlat,M=t(82196),v=t(9012),f=M.line;T.exports={mode:M.mode,real:{valType:"data_array",editType:"calc+clearAxisTypes"},imag:{valType:"data_array",editType:"calc+clearAxisTypes"},text:M.text,texttemplate:g({editType:"plot"},{keys:["real","imag","text"]}),hovertext:M.hovertext,line:{color:f.color,width:f.width,dash:f.dash,backoff:f.backoff,shape:i({},f.shape,{values:["linear","spline"]}),smoothing:f.smoothing,editType:"calc"},connectgaps:M.connectgaps,marker:M.marker,cliponaxis:i({},M.cliponaxis,{dflt:!1}),textposition:M.textposition,textfont:M.textfont,fill:i({},M.fill,{values:["none","toself","tonext"],dflt:"none"}),fillcolor:M.fillcolor,hoverinfo:i({},v.hoverinfo,{flags:["real","imag","text","name"]}),hoveron:M.hoveron,hovertemplate:d(),selected:M.selected,unselected:M.unselected}},30621:function(T,p,t){var d=t(92770),g=t(50606).BADNUM,i=t(36922),M=t(75225),v=t(66279),f=t(47761).calcMarkerSize;T.exports=function(l,a){for(var u=l._fullLayout,o=a.subplot,s=u[o].realaxis,c=u[o].imaginaryaxis,h=s.makeCalcdata(a,"real"),m=c.makeCalcdata(a,"imag"),w=a._length,y=new Array(w),S=0;S")}}T.exports={hoverPoints:function(i,M,v,f){var l=d(i,M,v,f);if(l&&l[0].index!==!1){var a=l[0];if(a.index===void 0)return l;var u=i.subplot,o=a.cd[a.index],s=a.trace;if(u.isPtInside(o))return a.xLabelVal=void 0,a.yLabelVal=void 0,g(o,s,u,a),a.hovertemplate=s.hovertemplate,l}},makeHoverPointText:g}},85956:function(T,p,t){T.exports={moduleType:"trace",name:"scattersmith",basePlotModule:t(7504),categories:["smith","symbols","showLegend","scatter-like"],attributes:t(48300),supplyDefaults:t(65269),colorbar:t(4898),formatLabels:t(62047),calc:t(30621),plot:t(12480),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(11350).hoverPoints,selectPoints:t(98002),meta:{}}},12480:function(T,p,t){var d=t(32663),g=t(50606).BADNUM,i=t(23893).smith;T.exports=function(M,v,f){for(var l=v.layers.frontplot.select("g.scatterlayer"),a=v.xaxis,u=v.yaxis,o={xaxis:a,yaxis:u,plot:v.framework,layerClipId:v._hasClipOnAxisFalse?v.clipIds.forTraces:null},s=0;s"),l.hovertemplate=h.hovertemplate,f}function E(x,A){_.push(x._hovertitle+": "+A)}}},52979:function(T,p,t){T.exports={attributes:t(50413),supplyDefaults:t(46008),colorbar:t(4898),formatLabels:t(93645),calc:t(54337),plot:t(7507),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(47250),selectPoints:t(98002),eventData:t(4524),moduleType:"trace",name:"scatterternary",basePlotModule:t(61639),categories:["ternary","symbols","showLegend","scatter-like"],meta:{}}},7507:function(T,p,t){var d=t(32663);T.exports=function(g,i,M){var v=i.plotContainer;v.select(".scatterlayer").selectAll("*").remove();for(var f=i.xaxis,l=i.yaxis,a={xaxis:f,yaxis:l,plot:v,layerClipId:i._hasClipOnAxisFalse?i.clipIdRelative:null},u=i.layers.frontplot.select("g.scatterlayer"),o=0;oo?x.sizeAvg||Math.max(x.size,3):i(c,E),m=0;mR&&z||b-1,j=!0;if(M(x)||w.selectedpoints||W){var $=w._length;if(w.selectedpoints){S.selectBatch=w.selectedpoints;var U=w.selectedpoints,G={};for(o=0;o1&&(m=k[A-1],y=E[A-1],_=x[A-1]),l=0;lm?"-":"+")+"x")).replace("y",(w>y?"-":"+")+"y")).replace("z",(S>_?"-":"+")+"z");var j=function(){A=0,B=[],N=[],W=[]};(!A||A2?h.slice(1,m-1):m===2?[(h[0]+h[1])/2]:h}function s(h){var m=h.length;return m===1?[.5,.5]:[h[1]-h[0],h[m-1]-h[m-2]]}function c(h,m){var w=h.fullSceneLayout,y=h.dataScale,S=m._len,_={};function k(te,Z){var X=w[Z],Q=y[l[Z]];return i.simpleMap(te,function(re){return X.d2l(re)*Q})}if(_.vectors=f(k(m._u,"xaxis"),k(m._v,"yaxis"),k(m._w,"zaxis"),S),!S)return{positions:[],cells:[]};var E=k(m._Xs,"xaxis"),x=k(m._Ys,"yaxis"),A=k(m._Zs,"zaxis");if(_.meshgrid=[E,x,A],_.gridFill=m._gridFill,m._slen)_.startingPositions=f(k(m._startsX,"xaxis"),k(m._startsY,"yaxis"),k(m._startsZ,"zaxis"));else{for(var L=x[0],b=o(E),R=o(A),I=new Array(b.length*R.length),O=0,z=0;z=0};L?(w=Math.min(A.length,R.length),y=function(ue){return N(A[ue])&&W(ue)},S=function(ue){return String(A[ue])}):(w=Math.min(b.length,R.length),y=function(ue){return N(b[ue])&&W(ue)},S=function(ue){return String(b[ue])}),O&&(w=Math.min(w,I.length));for(var j=0;j1){for(var q=i.randstr(),H=0;H"),name:B||ne("name")?L.name:void 0,color:F("hoverlabel.bgcolor")||b.color,borderColor:F("hoverlabel.bordercolor"),fontFamily:F("hoverlabel.font.family"),fontSize:F("hoverlabel.font.size"),fontColor:F("hoverlabel.font.color"),nameLength:F("hoverlabel.namelength"),textAlign:F("hoverlabel.align"),hovertemplate:B,hovertemplateLabels:G,eventData:A};_&&(X.x0=j-E.rInscribed*E.rpx1,X.x1=j+E.rInscribed*E.rpx1,X.idealAlign=E.pxmid[0]<0?"left":"right"),k&&(X.x=j,X.idealAlign=j<0?"left":"right");var Q=[];M.loneHover(X,{container:x._hoverlayer.node(),outerContainer:x._paper.node(),gd:c,inOut_bbox:Q}),A[0].bbox=Q[0],y._hasHoverLabel=!0}if(k){var re=o.select("path.surface");m.styleOne(re,E,L,{hovered:!0})}y._hasHoverEvent=!0,c.emit("plotly_hover",{points:A||[u(E,L,m.eventDataKeys)],event:d.event})}}),o.on("mouseout",function(E){var x=c._fullLayout,A=c._fullData[y.index],L=d.select(this).datum();if(y._hasHoverEvent&&(E.originalEvent=d.event,c.emit("plotly_unhover",{points:[u(L,A,m.eventDataKeys)],event:d.event}),y._hasHoverEvent=!1),y._hasHoverLabel&&(M.loneUnhover(x._hoverlayer.node()),y._hasHoverLabel=!1),k){var b=o.select("path.surface");m.styleOne(b,L,A,{hovered:!1})}}),o.on("click",function(E){var x=c._fullLayout,A=c._fullData[y.index],L=_&&(l.isHierarchyRoot(E)||l.isLeaf(E)),b=l.getPtId(E),R=l.isEntry(E)?l.findEntryWithChild(S,b):l.findEntryWithLevel(S,b),I=l.getPtId(R),O={points:[u(E,A,m.eventDataKeys)],event:d.event};L||(O.nextLevel=I);var z=f.triggerHandler(c,"plotly_"+y.type+"click",O);if(z!==!1&&x.hovermode&&(c._hoverdata=[u(E,A,m.eventDataKeys)],M.click(c,d.event)),!L&&z!==!1&&!c._dragging&&!c._transitioning){g.call("_storeDirectGUIEdit",A,x._tracePreGUI[A.uid],{level:A.level});var F={data:[{level:I}],traces:[y.index]},B={frame:{redraw:!1,duration:m.transitionTime},transition:{duration:m.transitionTime,easing:m.transitionEasing},mode:"immediate",fromcurrent:!0};M.loneUnhover(x._hoverlayer.node()),g.call("animate",c,F,B)}})}},2791:function(T,p,t){var d=t(71828),g=t(7901),i=t(6964),M=t(53581);function v(f){return f.data.data.pid}p.findEntryWithLevel=function(f,l){var a;return l&&f.eachAfter(function(u){if(p.getPtId(u)===l)return a=u.copy()}),a||f},p.findEntryWithChild=function(f,l){var a;return f.eachAfter(function(u){for(var o=u.children||[],s=0;s0)},p.getMaxDepth=function(f){return f.maxdepth>=0?f.maxdepth:1/0},p.isHeader=function(f,l){return!(p.isLeaf(f)||f.depth===l._maxDepth-1)},p.getParent=function(f,l){return p.findEntryWithLevel(f,v(l))},p.listPath=function(f,l){var a=f.parent;if(!a)return[];var u=l?[a.data[l]]:[a];return p.listPath(a,l).concat(u)},p.getPath=function(f){return p.listPath(f,"label").join("/")+"/"},p.formatValue=M.formatPieValue,p.formatPercent=function(f,l){var a=d.formatPercent(f,0);return a==="0%"&&(a=M.formatPiePercent(f,l)),a}},87619:function(T,p,t){T.exports={moduleType:"trace",name:"sunburst",basePlotModule:t(66888),categories:[],animatable:!0,attributes:t(57564),layoutAttributes:t(2654),supplyDefaults:t(17094),supplyLayoutDefaults:t(57034),calc:t(52147).calc,crossTraceCalc:t(52147).crossTraceCalc,plot:t(24714).plot,style:t(29969).style,colorbar:t(4898),meta:{}}},2654:function(T){T.exports={sunburstcolorway:{valType:"colorlist",editType:"calc"},extendsunburstcolors:{valType:"boolean",dflt:!0,editType:"calc"}}},57034:function(T,p,t){var d=t(71828),g=t(2654);T.exports=function(i,M){function v(f,l){return d.coerce(i,M,g,f,l)}v("sunburstcolorway",M.colorway),v("extendsunburstcolors")}},24714:function(T,p,t){var d=t(39898),g=t(674),i=t(81684).sX,M=t(91424),v=t(71828),f=t(63893),l=t(72597),a=l.recordMinTextSize,u=l.clearMinTextSize,o=t(14575),s=t(53581).getRotationAngle,c=o.computeTransform,h=o.transformInsideText,m=t(29969).styleOne,w=t(16688).resizeText,y=t(83523),S=t(7055),_=t(2791);function k(x,A,L,b){var R=x._context.staticPlot,I=x._fullLayout,O=!I.uniformtext.mode&&_.hasTransition(b),z=d.select(L).selectAll("g.slice"),F=A[0],B=F.trace,N=F.hierarchy,W=_.findEntryWithLevel(N,B.level),j=_.getMaxDepth(B),$=I._size,U=B.domain,G=$.w*(U.x[1]-U.x[0]),q=$.h*(U.y[1]-U.y[0]),H=.5*Math.min(G,q),ne=F.cx=$.l+$.w*(U.x[1]+U.x[0])/2,te=F.cy=$.t+$.h*(1-U.y[0])-q/2;if(!W)return z.remove();var Z=null,X={};O&&z.each(function(Ce){X[_.getPtId(Ce)]={rpx0:Ce.rpx0,rpx1:Ce.rpx1,x0:Ce.x0,x1:Ce.x1,transform:Ce.transform},!Z&&_.isEntry(Ce)&&(Z=Ce)});var Q=function(Ce){return g.partition().size([2*Math.PI,Ce.height+1])(Ce)}(W).descendants(),re=W.height+1,ie=0,oe=j;F.hasMultipleRoots&&_.isHierarchyRoot(W)&&(Q=Q.slice(1),re-=1,ie=1,oe+=1),Q=Q.filter(function(Ce){return Ce.y1<=oe});var ue=s(B.rotation);ue&&Q.forEach(function(Ce){Ce.x0+=ue,Ce.x1+=ue});var ce=Math.min(re,j),ye=function(Ce){return(Ce-ie)/ce*H},de=function(Ce,ae){return[Ce*Math.cos(ae),-Ce*Math.sin(ae)]},me=function(Ce){return v.pathAnnulus(Ce.rpx0,Ce.rpx1,Ce.x0,Ce.x1,ne,te)},pe=function(Ce){return ne+E(Ce)[0]*(Ce.transform.rCenter||0)+(Ce.transform.x||0)},xe=function(Ce){return te+E(Ce)[1]*(Ce.transform.rCenter||0)+(Ce.transform.y||0)};(z=z.data(Q,_.getPtId)).enter().append("g").classed("slice",!0),O?z.exit().transition().each(function(){var Ce=d.select(this);Ce.select("path.surface").transition().attrTween("d",function(ae){var fe=function(be){var ke,Le=_.getPtId(be),Be=X[Le],ze=X[_.getPtId(W)];if(ze){var je=(be.x1>ze.x1?2*Math.PI:0)+ue;ke=be.rpx1Pe?2*Math.PI:0)+ue;Ee={x0:Ye,x1:Ye}}else Ee={rpx0:H,rpx1:H},v.extendFlat(Ee,Se(we));else Ee={rpx0:0,rpx1:0};else Ee={x0:ue,x1:ue};return i(Ee,$e)}(je);return function(we){return me(ge(we))}}):fe.attr("d",me),ae.call(y,W,x,A,{eventDataKeys:S.eventDataKeys,transitionTime:S.CLICK_TRANSITION_TIME,transitionEasing:S.CLICK_TRANSITION_EASING}).call(_.setSliceCursor,x,{hideOnRoot:!0,hideOnLeaves:!0,isTransitioning:x._transitioning}),fe.call(m,Ce,B);var be=v.ensureSingle(ae,"g","slicetext"),ke=v.ensureSingle(be,"text","",function(je){je.attr("data-notex",1)}),Le=v.ensureUniformFontSize(x,_.determineTextFont(B,Ce,I.font));ke.text(p.formatSliceLabel(Ce,W,B,A,I)).classed("slicetext",!0).attr("text-anchor","middle").call(M.font,Le).call(f.convertToTspans,x);var Be=M.bBox(ke.node());Ce.transform=h(Be,Ce,F),Ce.transform.targetX=pe(Ce),Ce.transform.targetY=xe(Ce);var ze=function(je,ge){var we=je.transform;return c(we,ge),we.fontSize=Le.size,a(B.type,we,I),v.getTextTransform(we)};O?ke.transition().attrTween("transform",function(je){var ge=function(we){var Ee,Ve=X[_.getPtId(we)],$e=we.transform;if(Ve)Ee=Ve;else if(Ee={rpx1:we.rpx1,transform:{textPosAngle:$e.textPosAngle,scale:0,rotate:$e.rotate,rCenter:$e.rCenter,x:$e.x,y:$e.y}},Z)if(we.parent)if(Pe){var Ye=we.x1>Pe?2*Math.PI:0;Ee.x0=Ee.x1=Ye}else v.extendFlat(Ee,Se(we));else Ee.x0=Ee.x1=ue;else Ee.x0=Ee.x1=ue;var st=i(Ee.transform.textPosAngle,we.transform.textPosAngle),ot=i(Ee.rpx1,we.rpx1),ht=i(Ee.x0,we.x0),bt=i(Ee.x1,we.x1),Et=i(Ee.transform.scale,$e.scale),kt=i(Ee.transform.rotate,$e.rotate),xt=$e.rCenter===0?3:Ee.transform.rCenter===0?1/3:1,Ft=i(Ee.transform.rCenter,$e.rCenter);return function(Ot){var Bt=ot(Ot),qt=ht(Ot),Vt=bt(Ot),Ke=function(qe){return Ft(Math.pow(qe,xt))}(Ot),Je={pxmid:de(Bt,(qt+Vt)/2),rpx1:Bt,transform:{textPosAngle:st(Ot),rCenter:Ke,x:$e.x,y:$e.y}};return a(B.type,$e,I),{transform:{targetX:pe(Je),targetY:xe(Je),scale:Et(Ot),rotate:kt(Ot),rCenter:Ke}}}}(je);return function(we){return ze(ge(we),Be)}}):ke.attr("transform",ze(Ce,Be))})}function E(x){return A=x.rpx1,L=x.transform.textPosAngle,[A*Math.sin(L),-A*Math.cos(L)];var A,L}p.plot=function(x,A,L,b){var R,I,O=x._fullLayout,z=O._sunburstlayer,F=!L,B=!O.uniformtext.mode&&_.hasTransition(L);u("sunburst",O),(R=z.selectAll("g.trace.sunburst").data(A,function(N){return N[0].trace.uid})).enter().append("g").classed("trace",!0).classed("sunburst",!0).attr("stroke-linejoin","round"),R.order(),B?(b&&(I=b()),d.transition().duration(L.duration).ease(L.easing).each("end",function(){I&&I()}).each("interrupt",function(){I&&I()}).each(function(){z.selectAll("g.trace").each(function(N){k(x,N,this,L)})})):(R.each(function(N){k(x,N,this,L)}),O.uniformtext.mode&&w(x,O._sunburstlayer.selectAll(".trace"),"sunburst")),F&&R.exit().remove()},p.formatSliceLabel=function(x,A,L,b,R){var I=L.texttemplate,O=L.textinfo;if(!(I||O&&O!=="none"))return"";var z=R.separators,F=b[0],B=x.data.data,N=F.hierarchy,W=_.isHierarchyRoot(x),j=_.getParent(N,x),$=_.getValue(x);if(!I){var U,G=O.split("+"),q=function(oe){return G.indexOf(oe)!==-1},H=[];if(q("label")&&B.label&&H.push(B.label),B.hasOwnProperty("v")&&q("value")&&H.push(_.formatValue(B.v,z)),!W){q("current path")&&H.push(_.getPath(x.data));var ne=0;q("percent parent")&&ne++,q("percent entry")&&ne++,q("percent root")&&ne++;var te=ne>1;if(ne){var Z,X=function(oe){U=_.formatPercent(Z,z),te&&(U+=" of "+oe),H.push(U)};q("percent parent")&&!W&&(Z=$/_.getValue(j),X("parent")),q("percent entry")&&(Z=$/_.getValue(A),X("entry")),q("percent root")&&(Z=$/_.getValue(N),X("root"))}}return q("text")&&(U=v.castOption(L,B.i,"text"),v.isValidTextValue(U)&&H.push(U)),H.join("
")}var Q=v.castOption(L,B.i,"texttemplate");if(!Q)return"";var re={};B.label&&(re.label=B.label),B.hasOwnProperty("v")&&(re.value=B.v,re.valueLabel=_.formatValue(B.v,z)),re.currentPath=_.getPath(x.data),W||(re.percentParent=$/_.getValue(j),re.percentParentLabel=_.formatPercent(re.percentParent,z),re.parent=_.getPtLabel(j)),re.percentEntry=$/_.getValue(A),re.percentEntryLabel=_.formatPercent(re.percentEntry,z),re.entry=_.getPtLabel(A),re.percentRoot=$/_.getValue(N),re.percentRootLabel=_.formatPercent(re.percentRoot,z),re.root=_.getPtLabel(N),B.hasOwnProperty("color")&&(re.color=B.color);var ie=v.castOption(L,B.i,"text");return(v.isValidTextValue(ie)||ie==="")&&(re.text=ie),re.customdata=v.castOption(L,B.i,"customdata"),v.texttemplateString(Q,re,R._d3locale,re,L._meta||{})}},29969:function(T,p,t){var d=t(39898),g=t(7901),i=t(71828),M=t(72597).resizeText;function v(f,l,a){var u=l.data.data,o=!l.children,s=u.i,c=i.castOption(a,s,"marker.line.color")||g.defaultLine,h=i.castOption(a,s,"marker.line.width")||0;f.style("stroke-width",h).call(g.fill,u.color).call(g.stroke,c).style("opacity",o?a.leaf.opacity:null)}T.exports={style:function(f){var l=f._fullLayout._sunburstlayer.selectAll(".trace");M(f,l,"sunburst"),l.each(function(a){var u=d.select(this),o=a[0].trace;u.style("opacity",o.opacity),u.selectAll("path.surface").each(function(s){d.select(this).call(v,s,o)})})},styleOne:v}},54532:function(T,p,t){var d=t(7901),g=t(50693),i=t(12663).axisHoverFormat,M=t(5386).fF,v=t(9012),f=t(1426).extendFlat,l=t(30962).overrideAll;function a(o){return{show:{valType:"boolean",dflt:!1},start:{valType:"number",dflt:null,editType:"plot"},end:{valType:"number",dflt:null,editType:"plot"},size:{valType:"number",dflt:null,min:0,editType:"plot"},project:{x:{valType:"boolean",dflt:!1},y:{valType:"boolean",dflt:!1},z:{valType:"boolean",dflt:!1}},color:{valType:"color",dflt:d.defaultLine},usecolormap:{valType:"boolean",dflt:!1},width:{valType:"number",min:1,max:16,dflt:2},highlight:{valType:"boolean",dflt:!0},highlightcolor:{valType:"color",dflt:d.defaultLine},highlightwidth:{valType:"number",min:1,max:16,dflt:2}}}var u=T.exports=l(f({z:{valType:"data_array"},x:{valType:"data_array"},y:{valType:"data_array"},text:{valType:"string",dflt:"",arrayOk:!0},hovertext:{valType:"string",dflt:"",arrayOk:!0},hovertemplate:M(),xhoverformat:i("x"),yhoverformat:i("y"),zhoverformat:i("z"),connectgaps:{valType:"boolean",dflt:!1,editType:"calc"},surfacecolor:{valType:"data_array"}},g("",{colorAttr:"z or surfacecolor",showScaleDflt:!0,autoColorDflt:!1,editTypeOverride:"calc"}),{contours:{x:a(),y:a(),z:a()},hidesurface:{valType:"boolean",dflt:!1},lightposition:{x:{valType:"number",min:-1e5,max:1e5,dflt:10},y:{valType:"number",min:-1e5,max:1e5,dflt:1e4},z:{valType:"number",min:-1e5,max:1e5,dflt:0}},lighting:{ambient:{valType:"number",min:0,max:1,dflt:.8},diffuse:{valType:"number",min:0,max:1,dflt:.8},specular:{valType:"number",min:0,max:2,dflt:.05},roughness:{valType:"number",min:0,max:1,dflt:.5},fresnel:{valType:"number",min:0,max:5,dflt:.2}},opacity:{valType:"number",min:0,max:1,dflt:1},opacityscale:{valType:"any",editType:"calc"},_deprecated:{zauto:f({},g.zauto,{}),zmin:f({},g.zmin,{}),zmax:f({},g.zmax,{})},hoverinfo:f({},v.hoverinfo),showlegend:f({},v.showlegend,{dflt:!1})}),"calc","nested");u.x.editType=u.y.editType=u.z.editType="calc+clearAxisTypes",u.transforms=void 0},18396:function(T,p,t){var d=t(78803);T.exports=function(g,i){i.surfacecolor?d(g,i,{vals:i.surfacecolor,containerStr:"",cLetter:"c"}):d(g,i,{vals:i.z,containerStr:"",cLetter:"c"})}},43768:function(T,p,t){var d=t(9330).gl_surface3d,g=t(9330).ndarray,i=t(9330).ndarray_linear_interpolate.d2,M=t(824),v=t(43907),f=t(71828).isArrayOrTypedArray,l=t(81697).parseColorScale,a=t(78614),u=t(21081).extractOpts;function o(L,b,R){this.scene=L,this.uid=R,this.surface=b,this.data=null,this.showContour=[!1,!1,!1],this.contourStart=[null,null,null],this.contourEnd=[null,null,null],this.contourSize=[0,0,0],this.minValues=[1/0,1/0,1/0],this.maxValues=[-1/0,-1/0,-1/0],this.dataScaleX=1,this.dataScaleY=1,this.refineData=!0,this.objectOffset=[0,0,0]}var s=o.prototype;s.getXat=function(L,b,R,I){var O=f(this.data.x)?f(this.data.x[0])?this.data.x[b][L]:this.data.x[L]:L;return R===void 0?O:I.d2l(O,0,R)},s.getYat=function(L,b,R,I){var O=f(this.data.y)?f(this.data.y[0])?this.data.y[b][L]:this.data.y[b]:b;return R===void 0?O:I.d2l(O,0,R)},s.getZat=function(L,b,R,I){var O=this.data.z[b][L];return O===null&&this.data.connectgaps&&this.data._interpolatedZ&&(O=this.data._interpolatedZ[b][L]),R===void 0?O:I.d2l(O,0,R)},s.handlePick=function(L){if(L.object===this.surface){var b=(L.data.index[0]-1)/this.dataScaleX-1,R=(L.data.index[1]-1)/this.dataScaleY-1,I=Math.max(Math.min(Math.round(b),this.data.z[0].length-1),0),O=Math.max(Math.min(Math.round(R),this.data._ylength-1),0);L.index=[I,O],L.traceCoordinate=[this.getXat(I,O),this.getYat(I,O),this.getZat(I,O)],L.dataCoordinate=[this.getXat(I,O,this.data.xcalendar,this.scene.fullSceneLayout.xaxis),this.getYat(I,O,this.data.ycalendar,this.scene.fullSceneLayout.yaxis),this.getZat(I,O,this.data.zcalendar,this.scene.fullSceneLayout.zaxis)];for(var z=0;z<3;z++)L.dataCoordinate[z]!=null&&(L.dataCoordinate[z]*=this.scene.dataScale[z]);var F=this.data.hovertext||this.data.text;return Array.isArray(F)&&F[O]&&F[O][I]!==void 0?L.textLabel=F[O][I]:L.textLabel=F||"",L.data.dataCoordinate=L.dataCoordinate.slice(),this.surface.highlight(L.data),this.scene.glplot.spikes.position=L.dataCoordinate,!0}};var c=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997,1009,1013,1019,1021,1031,1033,1039,1049,1051,1061,1063,1069,1087,1091,1093,1097,1103,1109,1117,1123,1129,1151,1153,1163,1171,1181,1187,1193,1201,1213,1217,1223,1229,1231,1237,1249,1259,1277,1279,1283,1289,1291,1297,1301,1303,1307,1319,1321,1327,1361,1367,1373,1381,1399,1409,1423,1427,1429,1433,1439,1447,1451,1453,1459,1471,1481,1483,1487,1489,1493,1499,1511,1523,1531,1543,1549,1553,1559,1567,1571,1579,1583,1597,1601,1607,1609,1613,1619,1621,1627,1637,1657,1663,1667,1669,1693,1697,1699,1709,1721,1723,1733,1741,1747,1753,1759,1777,1783,1787,1789,1801,1811,1823,1831,1847,1861,1867,1871,1873,1877,1879,1889,1901,1907,1913,1931,1933,1949,1951,1973,1979,1987,1993,1997,1999,2003,2011,2017,2027,2029,2039,2053,2063,2069,2081,2083,2087,2089,2099,2111,2113,2129,2131,2137,2141,2143,2153,2161,2179,2203,2207,2213,2221,2237,2239,2243,2251,2267,2269,2273,2281,2287,2293,2297,2309,2311,2333,2339,2341,2347,2351,2357,2371,2377,2381,2383,2389,2393,2399,2411,2417,2423,2437,2441,2447,2459,2467,2473,2477,2503,2521,2531,2539,2543,2549,2551,2557,2579,2591,2593,2609,2617,2621,2633,2647,2657,2659,2663,2671,2677,2683,2687,2689,2693,2699,2707,2711,2713,2719,2729,2731,2741,2749,2753,2767,2777,2789,2791,2797,2801,2803,2819,2833,2837,2843,2851,2857,2861,2879,2887,2897,2903,2909,2917,2927,2939,2953,2957,2963,2969,2971,2999];function h(L,b){if(L0){R=c[I];break}return R}function y(L,b){if(!(L<1||b<1)){for(var R=m(L),I=m(b),O=1,z=0;zk;)R--,R/=w(R),++R<_&&(R=k);var I=Math.round(R/L);return I>1?I:1},s.refineCoords=function(L){for(var b=this.dataScaleX,R=this.dataScaleY,I=L[0].shape[0],O=L[0].shape[1],z=0|Math.floor(L[0].shape[0]*b+1),F=0|Math.floor(L[0].shape[1]*R+1),B=1+I+1,N=1+O+1,W=g(new Float32Array(B*N),[B,N]),j=[1/b,0,0,0,1/R,0,0,0,1],$=0;$0&&this.contourStart[L]!==null&&this.contourEnd[L]!==null&&this.contourEnd[L]>this.contourStart[L]))for(O[L]=!0,b=this.contourStart[L];bO&&(this.minValues[b]=O),this.maxValues[b]",maxDimensionCount:60,overdrag:45,releaseTransitionDuration:120,releaseTransitionEase:"cubic-out",scrollbarCaptureWidth:18,scrollbarHideDelay:1e3,scrollbarHideDuration:1e3,scrollbarOffset:5,scrollbarWidth:8,transitionDuration:100,transitionEase:"cubic-out",uplift:5,wrapSpacer:" ",wrapSplitCharacter:" ",cn:{table:"table",tableControlView:"table-control-view",scrollBackground:"scroll-background",yColumn:"y-column",columnBlock:"column-block",scrollAreaClip:"scroll-area-clip",scrollAreaClipRect:"scroll-area-clip-rect",columnBoundary:"column-boundary",columnBoundaryClippath:"column-boundary-clippath",columnBoundaryRect:"column-boundary-rect",columnCells:"column-cells",columnCell:"column-cell",cellRect:"cell-rect",cellText:"cell-text",cellTextHolder:"cell-text-holder",scrollbarKit:"scrollbar-kit",scrollbar:"scrollbar",scrollbarSlider:"scrollbar-slider",scrollbarGlyph:"scrollbar-glyph",scrollbarCaptureZone:"scrollbar-capture-zone"}}},51018:function(T,p,t){var d=t(49850),g=t(1426).extendFlat,i=t(92770);function M(s){if(Array.isArray(s)){for(var c=0,h=0;h=c||E===s.length-1)&&(m[w]=S,S.key=k++,S.firstRowIndex=_,S.lastRowIndex=E,S={firstRowIndex:null,lastRowIndex:null,rows:[]},w+=y,_=E+1,y=0);return m}T.exports=function(s,c){var h=f(c.cells.values),m=function(W){return W.slice(c.header.values.length,W.length)},w=f(c.header.values);w.length&&!w[0].length&&(w[0]=[""],w=f(w));var y=w.concat(m(h).map(function(){return l((w[0]||[""]).length)})),S=c.domain,_=Math.floor(s._fullLayout._size.w*(S.x[1]-S.x[0])),k=Math.floor(s._fullLayout._size.h*(S.y[1]-S.y[0])),E=c.header.values.length?y[0].map(function(){return c.header.height}):[d.emptyHeaderHeight],x=h.length?h[0].map(function(){return c.cells.height}):[],A=E.reduce(v,0),L=o(x,k-A+d.uplift),b=u(o(E,A),[]),R=u(L,b),I={},O=c._fullInput.columnorder.concat(m(h.map(function(W,j){return j}))),z=y.map(function(W,j){var $=Array.isArray(c.columnwidth)?c.columnwidth[Math.min(j,c.columnwidth.length-1)]:c.columnwidth;return i($)?Number($):1}),F=z.reduce(v,0);z=z.map(function(W){return W/F*_});var B=Math.max(M(c.header.line.width),M(c.cells.line.width)),N={key:c.uid+s._context.staticPlot,translateX:S.x[0]*s._fullLayout._size.w,translateY:s._fullLayout._size.h*(1-S.y[1]),size:s._fullLayout._size,width:_,maxLineWidth:B,height:k,columnOrder:O,groupHeight:k,rowBlocks:R,headerRowBlocks:b,scrollY:0,cells:g({},c.cells,{values:h}),headerCells:g({},c.header,{values:y}),gdColumns:y.map(function(W){return W[0]}),gdColumnsOriginalOrder:y.map(function(W){return W[0]}),prevPages:[0,0],scrollbarState:{scrollbarScrollInProgress:!1},columns:y.map(function(W,j){var $=I[W];return I[W]=($||0)+1,{key:W+"__"+I[W],label:W,specIndex:j,xIndex:O[j],xScale:a,x:void 0,calcdata:void 0,columnWidth:z[j]}})};return N.columns.forEach(function(W){W.calcdata=N,W.x=a(W)}),N}},56269:function(T,p,t){var d=t(1426).extendFlat;p.splitToPanels=function(g){var i=[0,0],M=d({},g,{key:"header",type:"header",page:0,prevPages:i,currentRepaint:[null,null],dragHandle:!0,values:g.calcdata.headerCells.values[g.specIndex],rowBlocks:g.calcdata.headerRowBlocks,calcdata:d({},g.calcdata,{cells:g.calcdata.headerCells})});return[d({},g,{key:"cells1",type:"cells",page:0,prevPages:i,currentRepaint:[null,null],dragHandle:!1,values:g.calcdata.cells.values[g.specIndex],rowBlocks:g.calcdata.rowBlocks}),d({},g,{key:"cells2",type:"cells",page:1,prevPages:i,currentRepaint:[null,null],dragHandle:!1,values:g.calcdata.cells.values[g.specIndex],rowBlocks:g.calcdata.rowBlocks}),M]},p.splitToCells=function(g){var i=function(M){var v=M.rowBlocks[M.page],f=v?v.rows[0].rowIndex:0;return[f,v?f+v.rows.length:0]}(g);return(g.values||[]).slice(i[0],i[1]).map(function(M,v){return{keyWithinBlock:v+(typeof M=="string"&&M.match(/[<$&> ]/)?"_keybuster_"+Math.random():""),key:i[0]+v,column:g,calcdata:g.calcdata,page:g.page,rowBlocks:g.rowBlocks,value:M}})}},39754:function(T,p,t){var d=t(71828),g=t(44464),i=t(27670).c;T.exports=function(M,v,f,l){function a(u,o){return d.coerce(M,v,g,u,o)}i(v,l,a),a("columnwidth"),a("header.values"),a("header.format"),a("header.align"),a("header.prefix"),a("header.suffix"),a("header.height"),a("header.line.width"),a("header.line.color"),a("header.fill.color"),d.coerceFont(a,"header.font",d.extendFlat({},l.font)),function(u,o){for(var s=u.columnorder||[],c=u.header.values.length,h=s.slice(0,c),m=h.slice().sort(function(S,_){return S-_}),w=h.map(function(S){return m.indexOf(S)}),y=w.length;y/i),ue=!ie||oe;Z.mayHaveMarkup=ie&&re.match(/[<&>]/);var ce,ye=typeof(ce=re)=="string"&&ce.match(d.latexCheck);Z.latex=ye;var de,me,pe=ye?"":x(Z.calcdata.cells.prefix,X,Q)||"",xe=ye?"":x(Z.calcdata.cells.suffix,X,Q)||"",Pe=ye?null:x(Z.calcdata.cells.format,X,Q)||null,_e=pe+(Pe?i(Pe)(Z.value):Z.value)+xe;if(Z.wrappingNeeded=!Z.wrapped&&!ue&&!ye&&(de=E(_e)),Z.cellHeightMayIncrease=oe||ye||Z.mayHaveMarkup||(de===void 0?E(_e):de),Z.needsConvertToTspans=Z.mayHaveMarkup||Z.wrappingNeeded||Z.latex,Z.wrappingNeeded){var Me=(d.wrapSplitCharacter===" "?_e.replace(/
me&&de.push(pe),me+=_e}return de}(Z,ie,re);oe.length===1&&(oe[0]===Z.length-1?oe.unshift(oe[0]-1):oe.push(oe[0]+1)),oe[0]%2&&oe.reverse(),H.each(function(ue,ce){ue.page=oe[ce],ue.scrollY=ie}),H.attr("transform",function(ue){var ce=j(ue.rowBlocks,ue.page)-ue.scrollY;return a(0,ce)}),q&&(z(q,ne,H,oe,te.prevPages,te,0),z(q,ne,H,oe,te.prevPages,te,1),S(ne,q))}}function O(q,H,ne,te){return function(Z){var X=Z.calcdata?Z.calcdata:Z,Q=H.filter(function(ue){return X.key===ue.key}),re=ne||X.scrollbarState.dragMultiplier,ie=X.scrollY;X.scrollY=te===void 0?X.scrollY+re*g.event.dy:te;var oe=Q.selectAll("."+d.cn.yColumn).selectAll("."+d.cn.columnBlock).filter(L);return I(q,oe,Q),X.scrollY===ie}}function z(q,H,ne,te,Z,X,Q){te[Q]!==Z[Q]&&(clearTimeout(X.currentRepaint[Q]),X.currentRepaint[Q]=setTimeout(function(){var re=ne.filter(function(ie,oe){return oe===Q&&te[oe]!==Z[oe]});_(q,H,re,ne),Z[Q]=te[Q]}))}function F(q,H,ne,te){return function(){var Z=g.select(H.parentNode);Z.each(function(X){var Q=X.fragments;Z.selectAll("tspan.line").each(function(me,pe){Q[pe].width=this.getComputedTextLength()});var re,ie,oe=Q[Q.length-1].width,ue=Q.slice(0,-1),ce=[],ye=0,de=X.column.columnWidth-2*d.cellPad;for(X.value="";ue.length;)ye+(ie=(re=ue.shift()).width+oe)>de&&(X.value+=ce.join(d.wrapSpacer)+d.lineBreaker,ce=[],ye=0),ce.push(re.text),ye+=ie;ye&&(X.value+=ce.join(d.wrapSpacer)),X.wrapped=!0}),Z.selectAll("tspan.line").remove(),k(Z.select("."+d.cn.cellText),ne,q,te),g.select(H.parentNode.parentNode).call(W)}}function B(q,H,ne,te,Z){return function(){if(!Z.settledY){var X=g.select(H.parentNode),Q=G(Z),re=Z.key-Q.firstRowIndex,ie=Q.rows[re].rowHeight,oe=Z.cellHeightMayIncrease?H.parentNode.getBoundingClientRect().height+2*d.cellPad:ie,ue=Math.max(oe,ie);ue-Q.rows[re].rowHeight&&(Q.rows[re].rowHeight=ue,q.selectAll("."+d.cn.columnCell).call(W),I(null,q.filter(L),0),S(ne,te,!0)),X.attr("transform",function(){var ce=this,ye=ce.parentNode.getBoundingClientRect(),de=g.select(ce.parentNode).select("."+d.cn.cellRect).node().getBoundingClientRect(),me=ce.transform.baseVal.consolidate(),pe=de.top-ye.top+(me?me.matrix.f:d.cellPad);return a(N(Z,g.select(ce.parentNode).select("."+d.cn.cellTextHolder).node().getBoundingClientRect().width),pe)}),Z.settledY=!0}}}function N(q,H){switch(q.align){case"left":default:return d.cellPad;case"right":return q.column.columnWidth-(H||0)-d.cellPad;case"center":return(q.column.columnWidth-(H||0))/2}}function W(q){q.attr("transform",function(H){var ne=H.rowBlocks[0].auxiliaryBlocks.reduce(function(Z,X){return Z+$(X,1/0)},0),te=$(G(H),H.key);return a(0,te+ne)}).selectAll("."+d.cn.cellRect).attr("height",function(H){return(ne=G(H),te=H.key,ne.rows[te-ne.firstRowIndex]).rowHeight;var ne,te})}function j(q,H){for(var ne=0,te=H-1;te>=0;te--)ne+=U(q[te]);return ne}function $(q,H){for(var ne=0,te=0;te","<","|","/","\\"],dflt:">",editType:"plot"},thickness:{valType:"number",min:12,editType:"plot"},textfont:a({},v.textfont,{}),editType:"calc"},text:v.text,textinfo:f.textinfo,texttemplate:g({editType:"plot"},{keys:l.eventDataKeys.concat(["label","value"])}),hovertext:v.hovertext,hoverinfo:f.hoverinfo,hovertemplate:d({},{keys:l.eventDataKeys}),textfont:v.textfont,insidetextfont:v.insidetextfont,outsidetextfont:a({},v.outsidetextfont,{}),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],dflt:"top left",editType:"plot"},sort:v.sort,root:f.root,domain:M({name:"treemap",trace:!0,editType:"calc"})}},78018:function(T,p,t){var d=t(74875);p.name="treemap",p.plot=function(g,i,M,v){d.plotBasePlot(p.name,g,i,M,v)},p.clean=function(g,i,M,v){d.cleanBasePlot(p.name,g,i,M,v)}},65039:function(T,p,t){var d=t(52147);p.y=function(g,i){return d.calc(g,i)},p.T=function(g){return d._runCrossTraceCalc("treemap",g)}},43473:function(T){T.exports={CLICK_TRANSITION_TIME:750,CLICK_TRANSITION_EASING:"poly",eventDataKeys:["currentPath","root","entry","percentRoot","percentEntry","percentParent"],gapWithPathbar:1}},91174:function(T,p,t){var d=t(71828),g=t(45802),i=t(7901),M=t(27670).c,v=t(90769).handleText,f=t(97313).TEXTPAD,l=t(21081),a=l.hasColorscale,u=l.handleDefaults;T.exports=function(o,s,c,h){function m(L,b){return d.coerce(o,s,g,L,b)}var w=m("labels"),y=m("parents");if(w&&w.length&&y&&y.length){var S=m("values");S&&S.length?m("branchvalues"):m("count"),m("level"),m("maxdepth"),m("tiling.packing")==="squarify"&&m("tiling.squarifyratio"),m("tiling.flip"),m("tiling.pad");var _=m("text");m("texttemplate"),s.texttemplate||m("textinfo",Array.isArray(_)?"text+label":"label"),m("hovertext"),m("hovertemplate");var k=m("pathbar.visible");v(o,s,h,m,"auto",{hasPathbar:k,moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),m("textposition");var E=s.textposition.indexOf("bottom")!==-1;m("marker.line.width")&&m("marker.line.color",h.paper_bgcolor);var x=m("marker.colors");(s._hasColorscale=a(o,"marker","colors")||(o.marker||{}).coloraxis)?u(o,s,h,m,{prefix:"marker.",cLetter:"c"}):m("marker.depthfade",!(x||[]).length);var A=2*s.textfont.size;m("marker.pad.t",E?A/4:A),m("marker.pad.l",A/4),m("marker.pad.r",A/4),m("marker.pad.b",E?A:A/4),m("marker.cornerradius"),s._hovered={marker:{line:{width:2,color:i.contrast(h.paper_bgcolor)}}},k&&(m("pathbar.thickness",s.pathbar.textfont.size+2*f),m("pathbar.side"),m("pathbar.edgeshape")),m("sort"),m("root.color"),M(s,h,m),s._length=null}else s.visible=!1}},80694:function(T,p,t){var d=t(39898),g=t(2791),i=t(72597).clearMinTextSize,M=t(16688).resizeText,v=t(46650);T.exports=function(f,l,a,u,o){var s,c,h=o.type,m=o.drawDescendants,w=f._fullLayout,y=w["_"+h+"layer"],S=!a;i(h,w),(s=y.selectAll("g.trace."+h).data(l,function(_){return _[0].trace.uid})).enter().append("g").classed("trace",!0).classed(h,!0),s.order(),!w.uniformtext.mode&&g.hasTransition(a)?(u&&(c=u()),d.transition().duration(a.duration).ease(a.easing).each("end",function(){c&&c()}).each("interrupt",function(){c&&c()}).each(function(){y.selectAll("g.trace").each(function(_){v(f,_,this,a,m)})})):(s.each(function(_){v(f,_,this,a,m)}),w.uniformtext.mode&&M(f,y.selectAll(".trace"),h)),S&&s.exit().remove()}},66209:function(T,p,t){var d=t(39898),g=t(71828),i=t(91424),M=t(63893),v=t(37210),f=t(96362).styleOne,l=t(43473),a=t(2791),u=t(83523),o=!0;T.exports=function(s,c,h,m,w){var y=w.barDifY,S=w.width,_=w.height,k=w.viewX,E=w.viewY,x=w.pathSlice,A=w.toMoveInsideSlice,L=w.strTransform,b=w.hasTransition,R=w.handleSlicesExit,I=w.makeUpdateSliceInterpolator,O=w.makeUpdateTextInterpolator,z={},F=s._context.staticPlot,B=s._fullLayout,N=c[0],W=N.trace,j=N.hierarchy,$=S/W._entryDepth,U=a.listPath(h.data,"id"),G=v(j.copy(),[S,_],{packing:"dice",pad:{inner:0,top:0,left:0,right:0,bottom:0}}).descendants();(G=G.filter(function(H){var ne=U.indexOf(H.data.id);return ne!==-1&&(H.x0=$*ne,H.x1=$*(ne+1),H.y0=y,H.y1=y+_,H.onPathbar=!0,!0)})).reverse(),(m=m.data(G,a.getPtId)).enter().append("g").classed("pathbar",!0),R(m,o,z,[S,_],x),m.order();var q=m;b&&(q=q.transition().each("end",function(){var H=d.select(this);a.setSliceCursor(H,s,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:!1})})),q.each(function(H){H._x0=k(H.x0),H._x1=k(H.x1),H._y0=E(H.y0),H._y1=E(H.y1),H._hoverX=k(H.x1-Math.min(S,_)/2),H._hoverY=E(H.y1-_/2);var ne=d.select(this),te=g.ensureSingle(ne,"path","surface",function(re){re.style("pointer-events",F?"none":"all")});b?te.transition().attrTween("d",function(re){var ie=I(re,o,z,[S,_]);return function(oe){return x(ie(oe))}}):te.attr("d",x),ne.call(u,h,s,c,{styleOne:f,eventDataKeys:l.eventDataKeys,transitionTime:l.CLICK_TRANSITION_TIME,transitionEasing:l.CLICK_TRANSITION_EASING}).call(a.setSliceCursor,s,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:s._transitioning}),te.call(f,H,W,{hovered:!1}),H._text=(a.getPtLabel(H)||"").split("
").join(" ")||"";var Z=g.ensureSingle(ne,"g","slicetext"),X=g.ensureSingle(Z,"text","",function(re){re.attr("data-notex",1)}),Q=g.ensureUniformFontSize(s,a.determineTextFont(W,H,B.font,{onPathbar:!0}));X.text(H._text||" ").classed("slicetext",!0).attr("text-anchor","start").call(i.font,Q).call(M.convertToTspans,s),H.textBB=i.bBox(X.node()),H.transform=A(H,{fontSize:Q.size,onPathbar:!0}),H.transform.fontSize=Q.size,b?X.transition().attrTween("transform",function(re){var ie=O(re,o,z,[S,_]);return function(oe){return L(ie(oe))}}):X.attr("transform",L(H))})}},52583:function(T,p,t){var d=t(39898),g=t(71828),i=t(91424),M=t(63893),v=t(37210),f=t(96362).styleOne,l=t(43473),a=t(2791),u=t(83523),o=t(24714).formatSliceLabel,s=!1;T.exports=function(c,h,m,w,y){var S=y.width,_=y.height,k=y.viewX,E=y.viewY,x=y.pathSlice,A=y.toMoveInsideSlice,L=y.strTransform,b=y.hasTransition,R=y.handleSlicesExit,I=y.makeUpdateSliceInterpolator,O=y.makeUpdateTextInterpolator,z=y.prevEntry,F=c._context.staticPlot,B=c._fullLayout,N=h[0].trace,W=N.textposition.indexOf("left")!==-1,j=N.textposition.indexOf("right")!==-1,$=N.textposition.indexOf("bottom")!==-1,U=!$&&!N.marker.pad.t||$&&!N.marker.pad.b,G=v(m,[S,_],{packing:N.tiling.packing,squarifyratio:N.tiling.squarifyratio,flipX:N.tiling.flip.indexOf("x")>-1,flipY:N.tiling.flip.indexOf("y")>-1,pad:{inner:N.tiling.pad,top:N.marker.pad.t,left:N.marker.pad.l,right:N.marker.pad.r,bottom:N.marker.pad.b}}).descendants(),q=1/0,H=-1/0;G.forEach(function(Q){var re=Q.depth;re>=N._maxDepth?(Q.x0=Q.x1=(Q.x0+Q.x1)/2,Q.y0=Q.y1=(Q.y0+Q.y1)/2):(q=Math.min(q,re),H=Math.max(H,re))}),w=w.data(G,a.getPtId),N._maxVisibleLayers=isFinite(H)?H-q+1:0,w.enter().append("g").classed("slice",!0),R(w,s,{},[S,_],x),w.order();var ne=null;if(b&&z){var te=a.getPtId(z);w.each(function(Q){ne===null&&a.getPtId(Q)===te&&(ne={x0:Q.x0,x1:Q.x1,y0:Q.y0,y1:Q.y1})})}var Z=function(){return ne||{x0:0,x1:S,y0:0,y1:_}},X=w;return b&&(X=X.transition().each("end",function(){var Q=d.select(this);a.setSliceCursor(Q,c,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})})),X.each(function(Q){var re=a.isHeader(Q,N);Q._x0=k(Q.x0),Q._x1=k(Q.x1),Q._y0=E(Q.y0),Q._y1=E(Q.y1),Q._hoverX=k(Q.x1-N.marker.pad.r),Q._hoverY=E($?Q.y1-N.marker.pad.b/2:Q.y0+N.marker.pad.t/2);var ie=d.select(this),oe=g.ensureSingle(ie,"path","surface",function(de){de.style("pointer-events",F?"none":"all")});b?oe.transition().attrTween("d",function(de){var me=I(de,s,Z(),[S,_]);return function(pe){return x(me(pe))}}):oe.attr("d",x),ie.call(u,m,c,h,{styleOne:f,eventDataKeys:l.eventDataKeys,transitionTime:l.CLICK_TRANSITION_TIME,transitionEasing:l.CLICK_TRANSITION_EASING}).call(a.setSliceCursor,c,{isTransitioning:c._transitioning}),oe.call(f,Q,N,{hovered:!1}),Q.x0===Q.x1||Q.y0===Q.y1?Q._text="":Q._text=re?U?"":a.getPtLabel(Q)||"":o(Q,m,N,h,B)||"";var ue=g.ensureSingle(ie,"g","slicetext"),ce=g.ensureSingle(ue,"text","",function(de){de.attr("data-notex",1)}),ye=g.ensureUniformFontSize(c,a.determineTextFont(N,Q,B.font));ce.text(Q._text||" ").classed("slicetext",!0).attr("text-anchor",j?"end":W||re?"start":"middle").call(i.font,ye).call(M.convertToTspans,c),Q.textBB=i.bBox(ce.node()),Q.transform=A(Q,{fontSize:ye.size,isHeader:re}),Q.transform.fontSize=ye.size,b?ce.transition().attrTween("transform",function(de){var me=O(de,s,Z(),[S,_]);return function(pe){return L(me(pe))}}):ce.attr("transform",L(Q))}),ne}},14102:function(T){T.exports=function p(t,d,g){var i;g.swapXY&&(i=t.x0,t.x0=t.y0,t.y0=i,i=t.x1,t.x1=t.y1,t.y1=i),g.flipX&&(i=t.x0,t.x0=d[0]-t.x1,t.x1=d[0]-i),g.flipY&&(i=t.y0,t.y0=d[1]-t.y1,t.y1=d[1]-i);var M=t.children;if(M)for(var v=0;v-1?N+$:-(j+$):0,G={x0:W,x1:W,y0:U,y1:U+j},q=function(ge,we,Ee){var Ve=_.tiling.pad,$e=function(ht){return ht-Ve<=we.x0},Ye=function(ht){return ht+Ve>=we.x1},st=function(ht){return ht-Ve<=we.y0},ot=function(ht){return ht+Ve>=we.y1};return ge.x0===we.x0&&ge.x1===we.x1&&ge.y0===we.y0&&ge.y1===we.y1?{x0:ge.x0,x1:ge.x1,y0:ge.y0,y1:ge.y1}:{x0:$e(ge.x0-Ve)?0:Ye(ge.x0-Ve)?Ee[0]:ge.x0,x1:$e(ge.x1+Ve)?0:Ye(ge.x1+Ve)?Ee[0]:ge.x1,y0:st(ge.y0-Ve)?0:ot(ge.y0-Ve)?Ee[1]:ge.y0,y1:st(ge.y1+Ve)?0:ot(ge.y1+Ve)?Ee[1]:ge.y1}},H=null,ne={},te={},Z=null,X=function(ge,we){return we?ne[o(ge)]:te[o(ge)]};S.hasMultipleRoots&&R&&O++,_._maxDepth=O,_._backgroundColor=y.paper_bgcolor,_._entryDepth=x.data.depth,_._atRootLevel=R;var Q=-B/2+z.l+z.w*(F.x[1]+F.x[0])/2,re=-N/2+z.t+z.h*(1-(F.y[1]+F.y[0])/2),ie=function(ge){return Q+ge},oe=function(ge){return re+ge},ue=oe(0),ce=ie(0),ye=function(ge){return ce+ge},de=function(ge){return ue+ge};function me(ge,we){return ge+","+we}var pe=ye(0),xe=function(ge){ge.x=Math.max(pe,ge.x)},Pe=_.pathbar.edgeshape,_e=_[k?"tiling":"marker"].pad,Me=function(ge){return _.textposition.indexOf(ge)!==-1},Se=Me("top"),Ce=Me("left"),ae=Me("right"),fe=Me("bottom"),be=function(ge,we){var Ee=ge.x0,Ve=ge.x1,$e=ge.y0,Ye=ge.y1,st=ge.textBB,ot=Se||we.isHeader&&!fe?"start":fe?"end":"middle",ht=Me("right"),bt=Me("left")||we.onPathbar?-1:ht?1:0;if(we.isHeader){if((Ee+=(k?_e:_e.l)-v)>=(Ve-=(k?_e:_e.r)-v)){var Et=(Ee+Ve)/2;Ee=Et,Ve=Et}var kt;fe?$e<(kt=Ye-(k?_e:_e.b))&&kt"?(ht.x-=Ye,bt.x-=Ye,Et.x-=Ye,kt.x-=Ye):Pe==="/"?(Et.x-=Ye,kt.x-=Ye,st.x-=Ye/2,ot.x-=Ye/2):Pe==="\\"?(ht.x-=Ye,bt.x-=Ye,st.x-=Ye/2,ot.x-=Ye/2):Pe==="<"&&(st.x-=Ye,ot.x-=Ye),xe(ht),xe(kt),xe(st),xe(bt),xe(Et),xe(ot),"M"+me(ht.x,ht.y)+"L"+me(bt.x,bt.y)+"L"+me(ot.x,ot.y)+"L"+me(Et.x,Et.y)+"L"+me(kt.x,kt.y)+"L"+me(st.x,st.y)+"Z"},toMoveInsideSlice:be,makeUpdateSliceInterpolator:Le,makeUpdateTextInterpolator:Be,handleSlicesExit:ze,hasTransition:I,strTransform:je}):L.remove()}},96362:function(T,p,t){var d=t(39898),g=t(7901),i=t(71828),M=t(2791),v=t(72597).resizeText;function f(l,a,u,o){var s,c,h=(o||{}).hovered,m=a.data.data,w=m.i,y=m.color,S=M.isHierarchyRoot(a),_=1;if(h)s=u._hovered.marker.line.color,c=u._hovered.marker.line.width;else if(S&&y===u.root.color)_=100,s="rgba(0,0,0,0)",c=0;else if(s=i.castOption(u,w,"marker.line.color")||g.defaultLine,c=i.castOption(u,w,"marker.line.width")||0,!u._hasColorscale&&!a.onPathbar){var k=u.marker.depthfade;if(k){var E,x=g.combine(g.addOpacity(u._backgroundColor,.75),y);if(k===!0){var A=M.getMaxDepth(u);E=isFinite(A)?M.isLeaf(a)?0:u._maxVisibleLayers-(a.data.depth-u._entryDepth):a.data.height+1}else E=a.data.depth-u._entryDepth,u._atRootLevel||E++;if(E>0)for(var L=0;L0){var x,A,L,b,R,I=f.xa,O=f.ya;w.orientation==="h"?(R=l,x="y",L=O,A="x",b=I):(R=a,x="x",L=I,A="y",b=O);var z=m[f.index];if(R>=z.span[0]&&R<=z.span[1]){var F=g.extendFlat({},f),B=b.c2p(R,!0),N=v.getKdeValue(z,w,R),W=v.getPositionOnKdePath(z,w,B),j=L._offset,$=L._length;F[x+"0"]=W[0],F[x+"1"]=W[1],F[A+"0"]=F[A+"1"]=B,F[A+"Label"]=A+": "+i.hoverLabelText(b,R,w[A+"hoverformat"])+", "+m[0].t.labels.kde+" "+N.toFixed(3);for(var U=0,G=0;G")),c.color=function(O,z){var F=O[z.dir].marker,B=F.color,N=F.line.color,W=F.line.width;return g(B)?B:g(N)&&W?N:void 0}(m,_),[c]}function I(O){return d(S,O,m[y+"hoverformat"])}}},19990:function(T,p,t){T.exports={attributes:t(43037),layoutAttributes:t(13494),supplyDefaults:t(83266).supplyDefaults,crossTraceDefaults:t(83266).crossTraceDefaults,supplyLayoutDefaults:t(5176),calc:t(52752),crossTraceCalc:t(70766),plot:t(30436),style:t(55750).style,hoverPoints:t(61326),eventData:t(58593),selectPoints:t(81974),moduleType:"trace",name:"waterfall",basePlotModule:t(93612),categories:["bar-like","cartesian","svg","oriented","showLegend","zoomScale"],meta:{}}},13494:function(T){T.exports={waterfallmode:{valType:"enumerated",values:["group","overlay"],dflt:"group",editType:"calc"},waterfallgap:{valType:"number",min:0,max:1,editType:"calc"},waterfallgroupgap:{valType:"number",min:0,max:1,dflt:0,editType:"calc"}}},5176:function(T,p,t){var d=t(71828),g=t(13494);T.exports=function(i,M,v){var f=!1;function l(o,s){return d.coerce(i,M,g,o,s)}for(var a=0;a0&&(N+=A?"M"+F[0]+","+B[1]+"V"+B[0]:"M"+F[1]+","+B[0]+"H"+F[0]),L!=="between"&&(I.isSum||O path").each(function(w){if(!w.isBlank){var y=m[w.dir].marker;d.select(this).call(i.fill,y.color).call(i.stroke,y.line.color).call(g.dashLine,y.line.dash,y.line.width).style("opacity",m.selectedpoints&&!w.selected?M:1)}}),l(h,m,a),h.selectAll(".lines").each(function(){var w=m.connector.line;g.lineGroupStyle(d.select(this).selectAll("path"),w.width,w.color,w.dash)})})}}},82887:function(T,p,t){var d=t(89298),g=t(71828),i=t(86281),M=t(79344).p,v=t(50606).BADNUM;p.moduleType="transform",p.name="aggregate";var f=p.attributes={enabled:{valType:"boolean",dflt:!0,editType:"calc"},groups:{valType:"string",strict:!0,noBlank:!0,arrayOk:!0,dflt:"x",editType:"calc"},aggregations:{_isLinkedToArray:"aggregation",target:{valType:"string",editType:"calc"},func:{valType:"enumerated",values:["count","sum","avg","median","mode","rms","stddev","min","max","first","last","change","range"],dflt:"first",editType:"calc"},funcmode:{valType:"enumerated",values:["sample","population"],dflt:"sample",editType:"calc"},enabled:{valType:"boolean",dflt:!0,editType:"calc"},editType:"calc"},editType:"calc"},l=f.aggregations;function a(c,h,m,w){if(w.enabled){for(var y=w.target,S=g.nestedProperty(h,y),_=S.get(),k=function(A,L){var b=A.func,R=L.d2c,I=L.c2d;switch(b){case"count":return u;case"first":return o;case"last":return s;case"sum":return function(O,z){for(var F=0,B=0;BB&&(B=$,N=j)}}return B?I(N):v};case"rms":return function(O,z){for(var F=0,B=0,N=0;N":return function(H){return q(H)>U};case">=":return function(H){return q(H)>=U};case"[]":return function(H){var ne=q(H);return ne>=U[0]&&ne<=U[1]};case"()":return function(H){var ne=q(H);return ne>U[0]&&ne=U[0]&&neU[0]&&ne<=U[1]};case"][":return function(H){var ne=q(H);return ne<=U[0]||ne>=U[1]};case")(":return function(H){var ne=q(H);return neU[1]};case"](":return function(H){var ne=q(H);return ne<=U[0]||ne>U[1]};case")[":return function(H){var ne=q(H);return ne=U[1]};case"{}":return function(H){return U.indexOf(q(H))!==-1};case"}{":return function(H){return U.indexOf(q(H))===-1}}}(s,i.getDataToCoordFunc(u,o,h,c),w),A={},L={},b=0;S?(k=function(z){A[z.astr]=d.extendDeep([],z.get()),z.set(new Array(m))},E=function(z,F){var B=A[z.astr][F];z.get()[F]=B}):(k=function(z){A[z.astr]=d.extendDeep([],z.get()),z.set([])},E=function(z,F){var B=A[z.astr][F];z.get().push(B)}),O(k);for(var R=M(o.transforms,s),I=0;I1?"%{group} (%{trace})":"%{group}");var c=f.styles,h=o.styles=[];if(c)for(u=0;uk)throw new RangeError('The value "'+ge+'" is invalid for option "size"');var we=new Uint8Array(ge);return Object.setPrototypeOf(we,x.prototype),we}function x(ge,we,Ee){if(typeof ge=="number"){if(typeof we=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return b(ge)}return A(ge,we,Ee)}function A(ge,we,Ee){if(typeof ge=="string")return function(Ye,st){if(typeof st=="string"&&st!==""||(st="utf8"),!x.isEncoding(st))throw new TypeError("Unknown encoding: "+st);var ot=0|z(Ye,st),ht=E(ot),bt=ht.write(Ye,st);return bt!==ot&&(ht=ht.slice(0,bt)),ht}(ge,we);if(ArrayBuffer.isView(ge))return function(Ye){if(ke(Ye,Uint8Array)){var st=new Uint8Array(Ye);return I(st.buffer,st.byteOffset,st.byteLength)}return R(Ye)}(ge);if(ge==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+w(ge));if(ke(ge,ArrayBuffer)||ge&&ke(ge.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(ke(ge,SharedArrayBuffer)||ge&&ke(ge.buffer,SharedArrayBuffer)))return I(ge,we,Ee);if(typeof ge=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var Ve=ge.valueOf&&ge.valueOf();if(Ve!=null&&Ve!==ge)return x.from(Ve,we,Ee);var $e=function(Ye){if(x.isBuffer(Ye)){var st=0|O(Ye.length),ot=E(st);return ot.length===0||Ye.copy(ot,0,0,st),ot}return Ye.length!==void 0?typeof Ye.length!="number"||Le(Ye.length)?E(0):R(Ye):Ye.type==="Buffer"&&Array.isArray(Ye.data)?R(Ye.data):void 0}(ge);if($e)return $e;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof ge[Symbol.toPrimitive]=="function")return x.from(ge[Symbol.toPrimitive]("string"),we,Ee);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+w(ge))}function L(ge){if(typeof ge!="number")throw new TypeError('"size" argument must be of type number');if(ge<0)throw new RangeError('The value "'+ge+'" is invalid for option "size"')}function b(ge){return L(ge),E(ge<0?0:0|O(ge))}function R(ge){for(var we=ge.length<0?0:0|O(ge.length),Ee=E(we),Ve=0;Ve=k)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+k.toString(16)+" bytes");return 0|ge}function z(ge,we){if(x.isBuffer(ge))return ge.length;if(ArrayBuffer.isView(ge)||ke(ge,ArrayBuffer))return ge.byteLength;if(typeof ge!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+w(ge));var Ee=ge.length,Ve=arguments.length>2&&arguments[2]===!0;if(!Ve&&Ee===0)return 0;for(var $e=!1;;)switch(we){case"ascii":case"latin1":case"binary":return Ee;case"utf8":case"utf-8":return ae(ge).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*Ee;case"hex":return Ee>>>1;case"base64":return fe(ge).length;default:if($e)return Ve?-1:ae(ge).length;we=(""+we).toLowerCase(),$e=!0}}function F(ge,we,Ee){var Ve=!1;if((we===void 0||we<0)&&(we=0),we>this.length||((Ee===void 0||Ee>this.length)&&(Ee=this.length),Ee<=0)||(Ee>>>=0)<=(we>>>=0))return"";for(ge||(ge="utf8");;)switch(ge){case"hex":return Q(this,we,Ee);case"utf8":case"utf-8":return ne(this,we,Ee);case"ascii":return Z(this,we,Ee);case"latin1":case"binary":return X(this,we,Ee);case"base64":return H(this,we,Ee);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return re(this,we,Ee);default:if(Ve)throw new TypeError("Unknown encoding: "+ge);ge=(ge+"").toLowerCase(),Ve=!0}}function B(ge,we,Ee){var Ve=ge[we];ge[we]=ge[Ee],ge[Ee]=Ve}function N(ge,we,Ee,Ve,$e){if(ge.length===0)return-1;if(typeof Ee=="string"?(Ve=Ee,Ee=0):Ee>2147483647?Ee=2147483647:Ee<-2147483648&&(Ee=-2147483648),Le(Ee=+Ee)&&(Ee=$e?0:ge.length-1),Ee<0&&(Ee=ge.length+Ee),Ee>=ge.length){if($e)return-1;Ee=ge.length-1}else if(Ee<0){if(!$e)return-1;Ee=0}if(typeof we=="string"&&(we=x.from(we,Ve)),x.isBuffer(we))return we.length===0?-1:W(ge,we,Ee,Ve,$e);if(typeof we=="number")return we&=255,typeof Uint8Array.prototype.indexOf=="function"?$e?Uint8Array.prototype.indexOf.call(ge,we,Ee):Uint8Array.prototype.lastIndexOf.call(ge,we,Ee):W(ge,[we],Ee,Ve,$e);throw new TypeError("val must be string, number or Buffer")}function W(ge,we,Ee,Ve,$e){var Ye,st=1,ot=ge.length,ht=we.length;if(Ve!==void 0&&((Ve=String(Ve).toLowerCase())==="ucs2"||Ve==="ucs-2"||Ve==="utf16le"||Ve==="utf-16le")){if(ge.length<2||we.length<2)return-1;st=2,ot/=2,ht/=2,Ee/=2}function bt(Ft,Ot){return st===1?Ft[Ot]:Ft.readUInt16BE(Ot*st)}if($e){var Et=-1;for(Ye=Ee;Yeot&&(Ee=ot-ht),Ye=Ee;Ye>=0;Ye--){for(var kt=!0,xt=0;xt$e&&(Ve=$e):Ve=$e;var Ye,st=we.length;for(Ve>st/2&&(Ve=st/2),Ye=0;Ye>8,ht=st%256,bt.push(ht),bt.push(ot);return bt}(we,ge.length-Ee),ge,Ee,Ve)}function H(ge,we,Ee){return we===0&&Ee===ge.length?y.fromByteArray(ge):y.fromByteArray(ge.slice(we,Ee))}function ne(ge,we,Ee){Ee=Math.min(ge.length,Ee);for(var Ve=[],$e=we;$e239?4:Ye>223?3:Ye>191?2:1;if($e+ot<=Ee){var ht=void 0,bt=void 0,Et=void 0,kt=void 0;switch(ot){case 1:Ye<128&&(st=Ye);break;case 2:(192&(ht=ge[$e+1]))==128&&(kt=(31&Ye)<<6|63&ht)>127&&(st=kt);break;case 3:ht=ge[$e+1],bt=ge[$e+2],(192&ht)==128&&(192&bt)==128&&(kt=(15&Ye)<<12|(63&ht)<<6|63&bt)>2047&&(kt<55296||kt>57343)&&(st=kt);break;case 4:ht=ge[$e+1],bt=ge[$e+2],Et=ge[$e+3],(192&ht)==128&&(192&bt)==128&&(192&Et)==128&&(kt=(15&Ye)<<18|(63&ht)<<12|(63&bt)<<6|63&Et)>65535&&kt<1114112&&(st=kt)}}st===null?(st=65533,ot=1):st>65535&&(st-=65536,Ve.push(st>>>10&1023|55296),st=56320|1023&st),Ve.push(st),$e+=ot}return function(xt){var Ft=xt.length;if(Ft<=te)return String.fromCharCode.apply(String,xt);for(var Ot="",Bt=0;Bt"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(x.prototype,"parent",{enumerable:!0,get:function(){if(x.isBuffer(this))return this.buffer}}),Object.defineProperty(x.prototype,"offset",{enumerable:!0,get:function(){if(x.isBuffer(this))return this.byteOffset}}),x.poolSize=8192,x.from=function(ge,we,Ee){return A(ge,we,Ee)},Object.setPrototypeOf(x.prototype,Uint8Array.prototype),Object.setPrototypeOf(x,Uint8Array),x.alloc=function(ge,we,Ee){return function(Ve,$e,Ye){return L(Ve),Ve<=0?E(Ve):$e!==void 0?typeof Ye=="string"?E(Ve).fill($e,Ye):E(Ve).fill($e):E(Ve)}(ge,we,Ee)},x.allocUnsafe=function(ge){return b(ge)},x.allocUnsafeSlow=function(ge){return b(ge)},x.isBuffer=function(ge){return ge!=null&&ge._isBuffer===!0&&ge!==x.prototype},x.compare=function(ge,we){if(ke(ge,Uint8Array)&&(ge=x.from(ge,ge.offset,ge.byteLength)),ke(we,Uint8Array)&&(we=x.from(we,we.offset,we.byteLength)),!x.isBuffer(ge)||!x.isBuffer(we))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ge===we)return 0;for(var Ee=ge.length,Ve=we.length,$e=0,Ye=Math.min(Ee,Ve);$eVe.length?(x.isBuffer(Ye)||(Ye=x.from(Ye)),Ye.copy(Ve,$e)):Uint8Array.prototype.set.call(Ve,Ye,$e);else{if(!x.isBuffer(Ye))throw new TypeError('"list" argument must be an Array of Buffers');Ye.copy(Ve,$e)}$e+=Ye.length}return Ve},x.byteLength=z,x.prototype._isBuffer=!0,x.prototype.swap16=function(){var ge=this.length;if(ge%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var we=0;wewe&&(ge+=" ... "),""},_&&(x.prototype[_]=x.prototype.inspect),x.prototype.compare=function(ge,we,Ee,Ve,$e){if(ke(ge,Uint8Array)&&(ge=x.from(ge,ge.offset,ge.byteLength)),!x.isBuffer(ge))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+w(ge));if(we===void 0&&(we=0),Ee===void 0&&(Ee=ge?ge.length:0),Ve===void 0&&(Ve=0),$e===void 0&&($e=this.length),we<0||Ee>ge.length||Ve<0||$e>this.length)throw new RangeError("out of range index");if(Ve>=$e&&we>=Ee)return 0;if(Ve>=$e)return-1;if(we>=Ee)return 1;if(this===ge)return 0;for(var Ye=($e>>>=0)-(Ve>>>=0),st=(Ee>>>=0)-(we>>>=0),ot=Math.min(Ye,st),ht=this.slice(Ve,$e),bt=ge.slice(we,Ee),Et=0;Et>>=0,isFinite(Ee)?(Ee>>>=0,Ve===void 0&&(Ve="utf8")):(Ve=Ee,Ee=void 0)}var $e=this.length-we;if((Ee===void 0||Ee>$e)&&(Ee=$e),ge.length>0&&(Ee<0||we<0)||we>this.length)throw new RangeError("Attempt to write outside buffer bounds");Ve||(Ve="utf8");for(var Ye=!1;;)switch(Ve){case"hex":return j(this,ge,we,Ee);case"utf8":case"utf-8":return $(this,ge,we,Ee);case"ascii":case"latin1":case"binary":return U(this,ge,we,Ee);case"base64":return G(this,ge,we,Ee);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return q(this,ge,we,Ee);default:if(Ye)throw new TypeError("Unknown encoding: "+Ve);Ve=(""+Ve).toLowerCase(),Ye=!0}},x.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var te=4096;function Z(ge,we,Ee){var Ve="";Ee=Math.min(ge.length,Ee);for(var $e=we;$eVe)&&(Ee=Ve);for(var $e="",Ye=we;YeEe)throw new RangeError("Trying to access beyond buffer length")}function oe(ge,we,Ee,Ve,$e,Ye){if(!x.isBuffer(ge))throw new TypeError('"buffer" argument must be a Buffer instance');if(we>$e||wege.length)throw new RangeError("Index out of range")}function ue(ge,we,Ee,Ve,$e){_e(we,Ve,$e,ge,Ee,7);var Ye=Number(we&BigInt(4294967295));ge[Ee++]=Ye,Ye>>=8,ge[Ee++]=Ye,Ye>>=8,ge[Ee++]=Ye,Ye>>=8,ge[Ee++]=Ye;var st=Number(we>>BigInt(32)&BigInt(4294967295));return ge[Ee++]=st,st>>=8,ge[Ee++]=st,st>>=8,ge[Ee++]=st,st>>=8,ge[Ee++]=st,Ee}function ce(ge,we,Ee,Ve,$e){_e(we,Ve,$e,ge,Ee,7);var Ye=Number(we&BigInt(4294967295));ge[Ee+7]=Ye,Ye>>=8,ge[Ee+6]=Ye,Ye>>=8,ge[Ee+5]=Ye,Ye>>=8,ge[Ee+4]=Ye;var st=Number(we>>BigInt(32)&BigInt(4294967295));return ge[Ee+3]=st,st>>=8,ge[Ee+2]=st,st>>=8,ge[Ee+1]=st,st>>=8,ge[Ee]=st,Ee+8}function ye(ge,we,Ee,Ve,$e,Ye){if(Ee+Ve>ge.length)throw new RangeError("Index out of range");if(Ee<0)throw new RangeError("Index out of range")}function de(ge,we,Ee,Ve,$e){return we=+we,Ee>>>=0,$e||ye(ge,0,Ee,4),S.write(ge,we,Ee,Ve,23,4),Ee+4}function me(ge,we,Ee,Ve,$e){return we=+we,Ee>>>=0,$e||ye(ge,0,Ee,8),S.write(ge,we,Ee,Ve,52,8),Ee+8}x.prototype.slice=function(ge,we){var Ee=this.length;(ge=~~ge)<0?(ge+=Ee)<0&&(ge=0):ge>Ee&&(ge=Ee),(we=we===void 0?Ee:~~we)<0?(we+=Ee)<0&&(we=0):we>Ee&&(we=Ee),we>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=this[ge],$e=1,Ye=0;++Ye>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=this[ge+--we],$e=1;we>0&&($e*=256);)Ve+=this[ge+--we]*$e;return Ve},x.prototype.readUint8=x.prototype.readUInt8=function(ge,we){return ge>>>=0,we||ie(ge,1,this.length),this[ge]},x.prototype.readUint16LE=x.prototype.readUInt16LE=function(ge,we){return ge>>>=0,we||ie(ge,2,this.length),this[ge]|this[ge+1]<<8},x.prototype.readUint16BE=x.prototype.readUInt16BE=function(ge,we){return ge>>>=0,we||ie(ge,2,this.length),this[ge]<<8|this[ge+1]},x.prototype.readUint32LE=x.prototype.readUInt32LE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),(this[ge]|this[ge+1]<<8|this[ge+2]<<16)+16777216*this[ge+3]},x.prototype.readUint32BE=x.prototype.readUInt32BE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),16777216*this[ge]+(this[ge+1]<<16|this[ge+2]<<8|this[ge+3])},x.prototype.readBigUInt64LE=ze(function(ge){Me(ge>>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=we+this[++ge]*Math.pow(2,8)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,24),$e=this[++ge]+this[++ge]*Math.pow(2,8)+this[++ge]*Math.pow(2,16)+Ee*Math.pow(2,24);return BigInt(Ve)+(BigInt($e)<>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=we*Math.pow(2,24)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,8)+this[++ge],$e=this[++ge]*Math.pow(2,24)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,8)+Ee;return(BigInt(Ve)<>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=this[ge],$e=1,Ye=0;++Ye=($e*=128)&&(Ve-=Math.pow(2,8*we)),Ve},x.prototype.readIntBE=function(ge,we,Ee){ge>>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=we,$e=1,Ye=this[ge+--Ve];Ve>0&&($e*=256);)Ye+=this[ge+--Ve]*$e;return Ye>=($e*=128)&&(Ye-=Math.pow(2,8*we)),Ye},x.prototype.readInt8=function(ge,we){return ge>>>=0,we||ie(ge,1,this.length),128&this[ge]?-1*(255-this[ge]+1):this[ge]},x.prototype.readInt16LE=function(ge,we){ge>>>=0,we||ie(ge,2,this.length);var Ee=this[ge]|this[ge+1]<<8;return 32768&Ee?4294901760|Ee:Ee},x.prototype.readInt16BE=function(ge,we){ge>>>=0,we||ie(ge,2,this.length);var Ee=this[ge+1]|this[ge]<<8;return 32768&Ee?4294901760|Ee:Ee},x.prototype.readInt32LE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),this[ge]|this[ge+1]<<8|this[ge+2]<<16|this[ge+3]<<24},x.prototype.readInt32BE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),this[ge]<<24|this[ge+1]<<16|this[ge+2]<<8|this[ge+3]},x.prototype.readBigInt64LE=ze(function(ge){Me(ge>>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=this[ge+4]+this[ge+5]*Math.pow(2,8)+this[ge+6]*Math.pow(2,16)+(Ee<<24);return(BigInt(Ve)<>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=(we<<24)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,8)+this[++ge];return(BigInt(Ve)<>>=0,we||ie(ge,4,this.length),S.read(this,ge,!0,23,4)},x.prototype.readFloatBE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),S.read(this,ge,!1,23,4)},x.prototype.readDoubleLE=function(ge,we){return ge>>>=0,we||ie(ge,8,this.length),S.read(this,ge,!0,52,8)},x.prototype.readDoubleBE=function(ge,we){return ge>>>=0,we||ie(ge,8,this.length),S.read(this,ge,!1,52,8)},x.prototype.writeUintLE=x.prototype.writeUIntLE=function(ge,we,Ee,Ve){ge=+ge,we>>>=0,Ee>>>=0,Ve||oe(this,ge,we,Ee,Math.pow(2,8*Ee)-1,0);var $e=1,Ye=0;for(this[we]=255≥++Ye>>=0,Ee>>>=0,Ve||oe(this,ge,we,Ee,Math.pow(2,8*Ee)-1,0);var $e=Ee-1,Ye=1;for(this[we+$e]=255≥--$e>=0&&(Ye*=256);)this[we+$e]=ge/Ye&255;return we+Ee},x.prototype.writeUint8=x.prototype.writeUInt8=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,1,255,0),this[we]=255&ge,we+1},x.prototype.writeUint16LE=x.prototype.writeUInt16LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,65535,0),this[we]=255&ge,this[we+1]=ge>>>8,we+2},x.prototype.writeUint16BE=x.prototype.writeUInt16BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,65535,0),this[we]=ge>>>8,this[we+1]=255&ge,we+2},x.prototype.writeUint32LE=x.prototype.writeUInt32LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,4294967295,0),this[we+3]=ge>>>24,this[we+2]=ge>>>16,this[we+1]=ge>>>8,this[we]=255&ge,we+4},x.prototype.writeUint32BE=x.prototype.writeUInt32BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,4294967295,0),this[we]=ge>>>24,this[we+1]=ge>>>16,this[we+2]=ge>>>8,this[we+3]=255&ge,we+4},x.prototype.writeBigUInt64LE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ue(this,ge,we,BigInt(0),BigInt("0xffffffffffffffff"))}),x.prototype.writeBigUInt64BE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ce(this,ge,we,BigInt(0),BigInt("0xffffffffffffffff"))}),x.prototype.writeIntLE=function(ge,we,Ee,Ve){if(ge=+ge,we>>>=0,!Ve){var $e=Math.pow(2,8*Ee-1);oe(this,ge,we,Ee,$e-1,-$e)}var Ye=0,st=1,ot=0;for(this[we]=255≥++Ye>0)-ot&255;return we+Ee},x.prototype.writeIntBE=function(ge,we,Ee,Ve){if(ge=+ge,we>>>=0,!Ve){var $e=Math.pow(2,8*Ee-1);oe(this,ge,we,Ee,$e-1,-$e)}var Ye=Ee-1,st=1,ot=0;for(this[we+Ye]=255≥--Ye>=0&&(st*=256);)ge<0&&ot===0&&this[we+Ye+1]!==0&&(ot=1),this[we+Ye]=(ge/st>>0)-ot&255;return we+Ee},x.prototype.writeInt8=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,1,127,-128),ge<0&&(ge=255+ge+1),this[we]=255&ge,we+1},x.prototype.writeInt16LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,32767,-32768),this[we]=255&ge,this[we+1]=ge>>>8,we+2},x.prototype.writeInt16BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,32767,-32768),this[we]=ge>>>8,this[we+1]=255&ge,we+2},x.prototype.writeInt32LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,2147483647,-2147483648),this[we]=255&ge,this[we+1]=ge>>>8,this[we+2]=ge>>>16,this[we+3]=ge>>>24,we+4},x.prototype.writeInt32BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,2147483647,-2147483648),ge<0&&(ge=4294967295+ge+1),this[we]=ge>>>24,this[we+1]=ge>>>16,this[we+2]=ge>>>8,this[we+3]=255&ge,we+4},x.prototype.writeBigInt64LE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ue(this,ge,we,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),x.prototype.writeBigInt64BE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ce(this,ge,we,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),x.prototype.writeFloatLE=function(ge,we,Ee){return de(this,ge,we,!0,Ee)},x.prototype.writeFloatBE=function(ge,we,Ee){return de(this,ge,we,!1,Ee)},x.prototype.writeDoubleLE=function(ge,we,Ee){return me(this,ge,we,!0,Ee)},x.prototype.writeDoubleBE=function(ge,we,Ee){return me(this,ge,we,!1,Ee)},x.prototype.copy=function(ge,we,Ee,Ve){if(!x.isBuffer(ge))throw new TypeError("argument should be a Buffer");if(Ee||(Ee=0),Ve||Ve===0||(Ve=this.length),we>=ge.length&&(we=ge.length),we||(we=0),Ve>0&&Ve=this.length)throw new RangeError("Index out of range");if(Ve<0)throw new RangeError("sourceEnd out of bounds");Ve>this.length&&(Ve=this.length),ge.length-we>>=0,Ee=Ee===void 0?this.length:Ee>>>0,ge||(ge=0),typeof ge=="number")for(Ye=we;Ye"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var Et,kt=m(st);if(ot){var xt=m(this).constructor;Et=Reflect.construct(kt,arguments,xt)}else Et=kt.apply(this,arguments);return c(this,Et)});function bt(){var Et;return u(this,bt),Et=ht.call(this),Object.defineProperty(h(Et),"message",{value:we.apply(h(Et),arguments),writable:!0,configurable:!0}),Et.name="".concat(Et.name," [").concat(ge,"]"),Et.stack,delete Et.name,Et}return $e=bt,(Ye=[{key:"code",get:function(){return ge},set:function(Et){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:Et,writable:!0})}},{key:"toString",value:function(){return"".concat(this.name," [").concat(ge,"]: ").concat(this.message)}}])&&o($e.prototype,Ye),Object.defineProperty($e,"prototype",{writable:!1}),bt}(Ee)}function Pe(ge){for(var we="",Ee=ge.length,Ve=ge[0]==="-"?1:0;Ee>=Ve+4;Ee-=3)we="_".concat(ge.slice(Ee-3,Ee)).concat(we);return"".concat(ge.slice(0,Ee)).concat(we)}function _e(ge,we,Ee,Ve,$e,Ye){if(ge>Ee||ge3?we===0||we===BigInt(0)?">= 0".concat(ot," and < 2").concat(ot," ** ").concat(8*(Ye+1)).concat(ot):">= -(2".concat(ot," ** ").concat(8*(Ye+1)-1).concat(ot,") and < 2 ** ")+"".concat(8*(Ye+1)-1).concat(ot):">= ".concat(we).concat(ot," and <= ").concat(Ee).concat(ot),new pe.ERR_OUT_OF_RANGE("value",st,ge)}(function(ht,bt,Et){Me(bt,"offset"),ht[bt]!==void 0&&ht[bt+Et]!==void 0||Se(bt,ht.length-(Et+1))})(Ve,$e,Ye)}function Me(ge,we){if(typeof ge!="number")throw new pe.ERR_INVALID_ARG_TYPE(we,"number",ge)}function Se(ge,we,Ee){throw Math.floor(ge)!==ge?(Me(ge,Ee),new pe.ERR_OUT_OF_RANGE(Ee||"offset","an integer",ge)):we<0?new pe.ERR_BUFFER_OUT_OF_BOUNDS:new pe.ERR_OUT_OF_RANGE(Ee||"offset",">= ".concat(Ee?1:0," and <= ").concat(we),ge)}xe("ERR_BUFFER_OUT_OF_BOUNDS",function(ge){return ge?"".concat(ge," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"},RangeError),xe("ERR_INVALID_ARG_TYPE",function(ge,we){return'The "'.concat(ge,'" argument must be of type number. Received type ').concat(w(we))},TypeError),xe("ERR_OUT_OF_RANGE",function(ge,we,Ee){var Ve='The value of "'.concat(ge,'" is out of range.'),$e=Ee;return Number.isInteger(Ee)&&Math.abs(Ee)>Math.pow(2,32)?$e=Pe(String(Ee)):typeof Ee=="bigint"&&($e=String(Ee),(Ee>Math.pow(BigInt(2),BigInt(32))||Ee<-Math.pow(BigInt(2),BigInt(32)))&&($e=Pe($e)),$e+="n"),Ve+" It must be ".concat(we,". Received ").concat($e)},RangeError);var Ce=/[^+/0-9A-Za-z-_]/g;function ae(ge,we){var Ee;we=we||1/0;for(var Ve=ge.length,$e=null,Ye=[],st=0;st55295&&Ee<57344){if(!$e){if(Ee>56319){(we-=3)>-1&&Ye.push(239,191,189);continue}if(st+1===Ve){(we-=3)>-1&&Ye.push(239,191,189);continue}$e=Ee;continue}if(Ee<56320){(we-=3)>-1&&Ye.push(239,191,189),$e=Ee;continue}Ee=65536+($e-55296<<10|Ee-56320)}else $e&&(we-=3)>-1&&Ye.push(239,191,189);if($e=null,Ee<128){if((we-=1)<0)break;Ye.push(Ee)}else if(Ee<2048){if((we-=2)<0)break;Ye.push(Ee>>6|192,63&Ee|128)}else if(Ee<65536){if((we-=3)<0)break;Ye.push(Ee>>12|224,Ee>>6&63|128,63&Ee|128)}else{if(!(Ee<1114112))throw new Error("Invalid code point");if((we-=4)<0)break;Ye.push(Ee>>18|240,Ee>>12&63|128,Ee>>6&63|128,63&Ee|128)}}return Ye}function fe(ge){return y.toByteArray(function(we){if((we=(we=we.split("=")[0]).trim().replace(Ce,"")).length<2)return"";for(;we.length%4!=0;)we+="=";return we}(ge))}function be(ge,we,Ee,Ve){var $e;for($e=0;$e=we.length||$e>=ge.length);++$e)we[$e+Ee]=ge[$e];return $e}function ke(ge,we){return ge instanceof we||ge!=null&&ge.constructor!=null&&ge.constructor.name!=null&&ge.constructor.name===we.name}function Le(ge){return ge!=ge}var Be=function(){for(var ge="0123456789abcdef",we=new Array(256),Ee=0;Ee<16;++Ee)for(var Ve=16*Ee,$e=0;$e<16;++$e)we[Ve+$e]=ge[Ee]+ge[$e];return we}();function ze(ge){return typeof BigInt>"u"?je:ge}function je(){throw new Error("BigInt not supported")}},2321:function(f){f.exports=o,f.exports.isMobile=o,f.exports.default=o;var l=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,a=/CrOS/,u=/android|ipad|playbook|silk/i;function o(s){s||(s={});var c=s.ua;if(c||typeof navigator>"u"||(c=navigator.userAgent),c&&c.headers&&typeof c.headers["user-agent"]=="string"&&(c=c.headers["user-agent"]),typeof c!="string")return!1;var h=l.test(c)&&!a.test(c)||!!s.tablet&&u.test(c);return!h&&s.tablet&&s.featureDetect&&navigator&&navigator.maxTouchPoints>1&&c.indexOf("Macintosh")!==-1&&c.indexOf("Safari")!==-1&&(h=!0),h}},3910:function(f,l){l.byteLength=function(y){var S=m(y),_=S[0],k=S[1];return 3*(_+k)/4-k},l.toByteArray=function(y){var S,_,k=m(y),E=k[0],x=k[1],A=new o(function(R,I,O){return 3*(I+O)/4-O}(0,E,x)),L=0,b=x>0?E-4:E;for(_=0;_>16&255,A[L++]=S>>8&255,A[L++]=255&S;return x===2&&(S=u[y.charCodeAt(_)]<<2|u[y.charCodeAt(_+1)]>>4,A[L++]=255&S),x===1&&(S=u[y.charCodeAt(_)]<<10|u[y.charCodeAt(_+1)]<<4|u[y.charCodeAt(_+2)]>>2,A[L++]=S>>8&255,A[L++]=255&S),A},l.fromByteArray=function(y){for(var S,_=y.length,k=_%3,E=[],x=16383,A=0,L=_-k;AL?L:A+x));return k===1?(S=y[_-1],E.push(a[S>>2]+a[S<<4&63]+"==")):k===2&&(S=(y[_-2]<<8)+y[_-1],E.push(a[S>>10]+a[S>>4&63]+a[S<<2&63]+"=")),E.join("")};for(var a=[],u=[],o=typeof Uint8Array<"u"?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=0,h=s.length;c0)throw new Error("Invalid string. Length must be a multiple of 4");var _=y.indexOf("=");return _===-1&&(_=S),[_,_===S?0:4-_%4]}function w(y,S,_){for(var k,E,x=[],A=S;A<_;A+=3)k=(y[A]<<16&16711680)+(y[A+1]<<8&65280)+(255&y[A+2]),x.push(a[(E=k)>>18&63]+a[E>>12&63]+a[E>>6&63]+a[63&E]);return x.join("")}u["-".charCodeAt(0)]=62,u["_".charCodeAt(0)]=63},3187:function(f,l){l.read=function(a,u,o,s,c){var h,m,w=8*c-s-1,y=(1<>1,_=-7,k=o?c-1:0,E=o?-1:1,x=a[u+k];for(k+=E,h=x&(1<<-_)-1,x>>=-_,_+=w;_>0;h=256*h+a[u+k],k+=E,_-=8);for(m=h&(1<<-_)-1,h>>=-_,_+=s;_>0;m=256*m+a[u+k],k+=E,_-=8);if(h===0)h=1-S;else{if(h===y)return m?NaN:1/0*(x?-1:1);m+=Math.pow(2,s),h-=S}return(x?-1:1)*m*Math.pow(2,h-s)},l.write=function(a,u,o,s,c,h){var m,w,y,S=8*h-c-1,_=(1<>1,E=c===23?Math.pow(2,-24)-Math.pow(2,-77):0,x=s?0:h-1,A=s?1:-1,L=u<0||u===0&&1/u<0?1:0;for(u=Math.abs(u),isNaN(u)||u===1/0?(w=isNaN(u)?1:0,m=_):(m=Math.floor(Math.log(u)/Math.LN2),u*(y=Math.pow(2,-m))<1&&(m--,y*=2),(u+=m+k>=1?E/y:E*Math.pow(2,1-k))*y>=2&&(m++,y/=2),m+k>=_?(w=0,m=_):m+k>=1?(w=(u*y-1)*Math.pow(2,c),m+=k):(w=u*Math.pow(2,k-1)*Math.pow(2,c),m=0));c>=8;a[o+x]=255&w,x+=A,w/=256,c-=8);for(m=m<0;a[o+x]=255&m,x+=A,m/=256,S-=8);a[o+x-A]|=128*L}},1152:function(f,l,a){f.exports=function(m){var w=(m=m||{}).eye||[0,0,1],y=m.center||[0,0,0],S=m.up||[0,1,0],_=m.distanceLimits||[0,1/0],k=m.mode||"turntable",E=u(),x=o(),A=s();return E.setDistanceLimits(_[0],_[1]),E.lookAt(0,w,y,S),x.setDistanceLimits(_[0],_[1]),x.lookAt(0,w,y,S),A.setDistanceLimits(_[0],_[1]),A.lookAt(0,w,y,S),new c({turntable:E,orbit:x,matrix:A},k)};var u=a(3440),o=a(7774),s=a(9298);function c(m,w){this._controllerNames=Object.keys(m),this._controllerList=this._controllerNames.map(function(y){return m[y]}),this._mode=w,this._active=m[w],this._active||(this._mode="turntable",this._active=m.turntable),this.modes=this._controllerNames,this.computedMatrix=this._active.computedMatrix,this.computedEye=this._active.computedEye,this.computedUp=this._active.computedUp,this.computedCenter=this._active.computedCenter,this.computedRadius=this._active.computedRadius}var h=c.prototype;h.flush=function(m){for(var w=this._controllerList,y=0;y"u"?a(5346):WeakMap,o=a(5827),s=a(2944),c=new u;f.exports=function(h){var m=c.get(h),w=m&&(m._triangleBuffer.handle||m._triangleBuffer.buffer);if(!w||!h.isBuffer(w)){var y=o(h,new Float32Array([-1,-1,-1,4,4,-1]));(m=s(h,[{buffer:y,type:h.FLOAT,size:2}]))._triangleBuffer=y,c.set(h,m)}m.bind(),h.drawArrays(h.TRIANGLES,0,3),m.unbind()}},8008:function(f,l,a){var u=a(4930);f.exports=function(o,s,c){s=typeof s=="number"?s:1,c=c||": ";var h=o.split(/\r?\n/),m=String(h.length+s-1).length;return h.map(function(w,y){var S=y+s,_=String(S).length;return u(S,m-_)+c+w}).join(` -`)}},2153:function(f,l,a){f.exports=function(s){var c=s.length;if(c===0)return[];if(c===1)return[0];for(var h=s[0].length,m=[s[0]],w=[0],y=1;y0?_=_.ushln(E):E<0&&(k=k.ushln(-E)),h(_,k)}},234:function(f,l,a){var u=a(3218);f.exports=function(o){return Array.isArray(o)&&o.length===2&&u(o[0])&&u(o[1])}},4275:function(f,l,a){var u=a(1928);f.exports=function(o){return o.cmp(new u(0))}},9958:function(f,l,a){var u=a(4275);f.exports=function(o){var s=o.length,c=o.words,h=0;if(s===1)h=c[0];else if(s===2)h=c[0]+67108864*c[1];else for(var m=0;m20?52:h+32}},3218:function(f,l,a){a(1928),f.exports=function(u){return u&&typeof u=="object"&&!!u.words}},5514:function(f,l,a){var u=a(1928),o=a(8362);f.exports=function(s){var c=o.exponent(s);return c<52?new u(s):new u(s*Math.pow(2,52-c)).ushln(c-52)}},8524:function(f,l,a){var u=a(5514),o=a(4275);f.exports=function(s,c){var h=o(s),m=o(c);if(h===0)return[u(0),u(1)];if(m===0)return[u(0),u(0)];m<0&&(s=s.neg(),c=c.neg());var w=s.gcd(c);return w.cmpn(1)?[s.div(w),c.div(w)]:[s,c]}},2813:function(f,l,a){var u=a(1928);f.exports=function(o){return new u(o)}},3962:function(f,l,a){var u=a(8524);f.exports=function(o,s){return u(o[0].mul(s[0]),o[1].mul(s[1]))}},4951:function(f,l,a){var u=a(4275);f.exports=function(o){return u(o[0])*u(o[1])}},4354:function(f,l,a){var u=a(8524);f.exports=function(o,s){return u(o[0].mul(s[1]).sub(o[1].mul(s[0])),o[1].mul(s[1]))}},7999:function(f,l,a){var u=a(9958),o=a(1112);f.exports=function(s){var c=s[0],h=s[1];if(c.cmpn(0)===0)return 0;var m=c.abs().divmod(h.abs()),w=m.div,y=u(w),S=m.mod,_=c.negative!==h.negative?-1:1;if(S.cmpn(0)===0)return _*y;if(y){var k=o(y)+4,E=u(S.ushln(k).divRound(h));return _*(y+E*Math.pow(2,-k))}var x=h.bitLength()-S.bitLength()+53;return E=u(S.ushln(x).divRound(h)),x<1023?_*E*Math.pow(2,-x):_*(E*=Math.pow(2,-1023))*Math.pow(2,1023-x)}},5070:function(f){function l(h,m,w,y,S){for(var _=S+1;y<=S;){var k=y+S>>>1,E=h[k];(w!==void 0?w(E,m):E-m)>=0?(_=k,S=k-1):y=k+1}return _}function a(h,m,w,y,S){for(var _=S+1;y<=S;){var k=y+S>>>1,E=h[k];(w!==void 0?w(E,m):E-m)>0?(_=k,S=k-1):y=k+1}return _}function u(h,m,w,y,S){for(var _=y-1;y<=S;){var k=y+S>>>1,E=h[k];(w!==void 0?w(E,m):E-m)<0?(_=k,y=k+1):S=k-1}return _}function o(h,m,w,y,S){for(var _=y-1;y<=S;){var k=y+S>>>1,E=h[k];(w!==void 0?w(E,m):E-m)<=0?(_=k,y=k+1):S=k-1}return _}function s(h,m,w,y,S){for(;y<=S;){var _=y+S>>>1,k=h[_],E=w!==void 0?w(k,m):k-m;if(E===0)return _;E<=0?y=_+1:S=_-1}return-1}function c(h,m,w,y,S,_){return typeof w=="function"?_(h,m,w,y===void 0?0:0|y,S===void 0?h.length-1:0|S):_(h,m,void 0,w===void 0?0:0|w,y===void 0?h.length-1:0|y)}f.exports={ge:function(h,m,w,y,S){return c(h,m,w,y,S,l)},gt:function(h,m,w,y,S){return c(h,m,w,y,S,a)},lt:function(h,m,w,y,S){return c(h,m,w,y,S,u)},le:function(h,m,w,y,S){return c(h,m,w,y,S,o)},eq:function(h,m,w,y,S){return c(h,m,w,y,S,s)}}},2288:function(f,l){function a(o){var s=32;return(o&=-o)&&s--,65535&o&&(s-=16),16711935&o&&(s-=8),252645135&o&&(s-=4),858993459&o&&(s-=2),1431655765&o&&(s-=1),s}l.INT_BITS=32,l.INT_MAX=2147483647,l.INT_MIN=-2147483648,l.sign=function(o){return(o>0)-(o<0)},l.abs=function(o){var s=o>>31;return(o^s)-s},l.min=function(o,s){return s^(o^s)&-(o65535)<<4,s|=c=((o>>>=s)>255)<<3,s|=c=((o>>>=c)>15)<<2,(s|=c=((o>>>=c)>3)<<1)|(o>>>=c)>>1},l.log10=function(o){return o>=1e9?9:o>=1e8?8:o>=1e7?7:o>=1e6?6:o>=1e5?5:o>=1e4?4:o>=1e3?3:o>=100?2:o>=10?1:0},l.popCount=function(o){return 16843009*((o=(858993459&(o-=o>>>1&1431655765))+(o>>>2&858993459))+(o>>>4)&252645135)>>>24},l.countTrailingZeros=a,l.nextPow2=function(o){return o+=o===0,--o,o|=o>>>1,o|=o>>>2,o|=o>>>4,1+((o|=o>>>8)|o>>>16)},l.prevPow2=function(o){return o|=o>>>1,o|=o>>>2,o|=o>>>4,o|=o>>>8,(o|=o>>>16)-(o>>>1)},l.parity=function(o){return o^=o>>>16,o^=o>>>8,o^=o>>>4,27030>>>(o&=15)&1};var u=new Array(256);(function(o){for(var s=0;s<256;++s){var c=s,h=s,m=7;for(c>>>=1;c;c>>>=1)h<<=1,h|=1&c,--m;o[s]=h<>>8&255]<<16|u[o>>>16&255]<<8|u[o>>>24&255]},l.interleave2=function(o,s){return(o=1431655765&((o=858993459&((o=252645135&((o=16711935&((o&=65535)|o<<8))|o<<4))|o<<2))|o<<1))|(s=1431655765&((s=858993459&((s=252645135&((s=16711935&((s&=65535)|s<<8))|s<<4))|s<<2))|s<<1))<<1},l.deinterleave2=function(o,s){return(o=65535&((o=16711935&((o=252645135&((o=858993459&((o=o>>>s&1431655765)|o>>>1))|o>>>2))|o>>>4))|o>>>16))<<16>>16},l.interleave3=function(o,s,c){return o=1227133513&((o=3272356035&((o=251719695&((o=4278190335&((o&=1023)|o<<16))|o<<8))|o<<4))|o<<2),(o|=(s=1227133513&((s=3272356035&((s=251719695&((s=4278190335&((s&=1023)|s<<16))|s<<8))|s<<4))|s<<2))<<1)|(c=1227133513&((c=3272356035&((c=251719695&((c=4278190335&((c&=1023)|c<<16))|c<<8))|c<<4))|c<<2))<<2},l.deinterleave3=function(o,s){return(o=1023&((o=4278190335&((o=251719695&((o=3272356035&((o=o>>>s&1227133513)|o>>>2))|o>>>4))|o>>>8))|o>>>16))<<22>>22},l.nextCombination=function(o){var s=o|o-1;return s+1|(~s&-~s)-1>>>a(o)+1}},1928:function(f,l,a){(function(u,o){function s(j,$){if(!j)throw new Error($||"Assertion failed")}function c(j,$){j.super_=$;var U=function(){};U.prototype=$.prototype,j.prototype=new U,j.prototype.constructor=j}function h(j,$,U){if(h.isBN(j))return j;this.negative=0,this.words=null,this.length=0,this.red=null,j!==null&&($!=="le"&&$!=="be"||(U=$,$=10),this._init(j||0,$||10,U||"be"))}var m;typeof u=="object"?u.exports=h:o.BN=h,h.BN=h,h.wordSize=26;try{m=typeof window<"u"&&window.Buffer!==void 0?window.Buffer:a(6601).Buffer}catch{}function w(j,$){var U=j.charCodeAt($);return U>=65&&U<=70?U-55:U>=97&&U<=102?U-87:U-48&15}function y(j,$,U){var G=w(j,U);return U-1>=$&&(G|=w(j,U-1)<<4),G}function S(j,$,U,G){for(var q=0,H=Math.min(j.length,U),ne=$;ne=49?te-49+10:te>=17?te-17+10:te}return q}h.isBN=function(j){return j instanceof h||j!==null&&typeof j=="object"&&j.constructor.wordSize===h.wordSize&&Array.isArray(j.words)},h.max=function(j,$){return j.cmp($)>0?j:$},h.min=function(j,$){return j.cmp($)<0?j:$},h.prototype._init=function(j,$,U){if(typeof j=="number")return this._initNumber(j,$,U);if(typeof j=="object")return this._initArray(j,$,U);$==="hex"&&($=16),s($===(0|$)&&$>=2&&$<=36);var G=0;(j=j.toString().replace(/\s+/g,""))[0]==="-"&&(G++,this.negative=1),G=0;G-=3)H=j[G]|j[G-1]<<8|j[G-2]<<16,this.words[q]|=H<>>26-ne&67108863,(ne+=24)>=26&&(ne-=26,q++);else if(U==="le")for(G=0,q=0;G>>26-ne&67108863,(ne+=24)>=26&&(ne-=26,q++);return this.strip()},h.prototype._parseHex=function(j,$,U){this.length=Math.ceil((j.length-$)/6),this.words=new Array(this.length);for(var G=0;G=$;G-=2)q=y(j,$,G)<=18?(H-=18,ne+=1,this.words[ne]|=q>>>26):H+=8;else for(G=(j.length-$)%2==0?$+1:$;G=18?(H-=18,ne+=1,this.words[ne]|=q>>>26):H+=8;this.strip()},h.prototype._parseBase=function(j,$,U){this.words=[0],this.length=1;for(var G=0,q=1;q<=67108863;q*=$)G++;G--,q=q/$|0;for(var H=j.length-U,ne=H%G,te=Math.min(H,H-ne)+U,Z=0,X=U;X1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},h.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},h.prototype.inspect=function(){return(this.red?""};var _=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],k=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],E=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function x(j,$,U){U.negative=$.negative^j.negative;var G=j.length+$.length|0;U.length=G,G=G-1|0;var q=0|j.words[0],H=0|$.words[0],ne=q*H,te=67108863&ne,Z=ne/67108864|0;U.words[0]=te;for(var X=1;X>>26,re=67108863&Z,ie=Math.min(X,$.length-1),oe=Math.max(0,X-j.length+1);oe<=ie;oe++){var ue=X-oe|0;Q+=(ne=(q=0|j.words[ue])*(H=0|$.words[oe])+re)/67108864|0,re=67108863&ne}U.words[X]=0|re,Z=0|Q}return Z!==0?U.words[X]=0|Z:U.length--,U.strip()}h.prototype.toString=function(j,$){var U;if($=0|$||1,(j=j||10)===16||j==="hex"){U="";for(var G=0,q=0,H=0;H>>24-G&16777215)!=0||H!==this.length-1?_[6-te.length]+te+U:te+U,(G+=2)>=26&&(G-=26,H--)}for(q!==0&&(U=q.toString(16)+U);U.length%$!=0;)U="0"+U;return this.negative!==0&&(U="-"+U),U}if(j===(0|j)&&j>=2&&j<=36){var Z=k[j],X=E[j];U="";var Q=this.clone();for(Q.negative=0;!Q.isZero();){var re=Q.modn(X).toString(j);U=(Q=Q.idivn(X)).isZero()?re+U:_[Z-re.length]+re+U}for(this.isZero()&&(U="0"+U);U.length%$!=0;)U="0"+U;return this.negative!==0&&(U="-"+U),U}s(!1,"Base should be between 2 and 36")},h.prototype.toNumber=function(){var j=this.words[0];return this.length===2?j+=67108864*this.words[1]:this.length===3&&this.words[2]===1?j+=4503599627370496+67108864*this.words[1]:this.length>2&&s(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-j:j},h.prototype.toJSON=function(){return this.toString(16)},h.prototype.toBuffer=function(j,$){return s(m!==void 0),this.toArrayLike(m,j,$)},h.prototype.toArray=function(j,$){return this.toArrayLike(Array,j,$)},h.prototype.toArrayLike=function(j,$,U){var G=this.byteLength(),q=U||Math.max(1,G);s(G<=q,"byte array longer than desired length"),s(q>0,"Requested array length <= 0"),this.strip();var H,ne,te=$==="le",Z=new j(q),X=this.clone();if(te){for(ne=0;!X.isZero();ne++)H=X.andln(255),X.iushrn(8),Z[ne]=H;for(;ne=4096&&(U+=13,$>>>=13),$>=64&&(U+=7,$>>>=7),$>=8&&(U+=4,$>>>=4),$>=2&&(U+=2,$>>>=2),U+$},h.prototype._zeroBits=function(j){if(j===0)return 26;var $=j,U=0;return!(8191&$)&&(U+=13,$>>>=13),!(127&$)&&(U+=7,$>>>=7),!(15&$)&&(U+=4,$>>>=4),!(3&$)&&(U+=2,$>>>=2),!(1&$)&&U++,U},h.prototype.bitLength=function(){var j=this.words[this.length-1],$=this._countBits(j);return 26*(this.length-1)+$},h.prototype.zeroBits=function(){if(this.isZero())return 0;for(var j=0,$=0;$j.length?this.clone().ior(j):j.clone().ior(this)},h.prototype.uor=function(j){return this.length>j.length?this.clone().iuor(j):j.clone().iuor(this)},h.prototype.iuand=function(j){var $;$=this.length>j.length?j:this;for(var U=0;U<$.length;U++)this.words[U]=this.words[U]&j.words[U];return this.length=$.length,this.strip()},h.prototype.iand=function(j){return s((this.negative|j.negative)==0),this.iuand(j)},h.prototype.and=function(j){return this.length>j.length?this.clone().iand(j):j.clone().iand(this)},h.prototype.uand=function(j){return this.length>j.length?this.clone().iuand(j):j.clone().iuand(this)},h.prototype.iuxor=function(j){var $,U;this.length>j.length?($=this,U=j):($=j,U=this);for(var G=0;Gj.length?this.clone().ixor(j):j.clone().ixor(this)},h.prototype.uxor=function(j){return this.length>j.length?this.clone().iuxor(j):j.clone().iuxor(this)},h.prototype.inotn=function(j){s(typeof j=="number"&&j>=0);var $=0|Math.ceil(j/26),U=j%26;this._expand($),U>0&&$--;for(var G=0;G<$;G++)this.words[G]=67108863&~this.words[G];return U>0&&(this.words[G]=~this.words[G]&67108863>>26-U),this.strip()},h.prototype.notn=function(j){return this.clone().inotn(j)},h.prototype.setn=function(j,$){s(typeof j=="number"&&j>=0);var U=j/26|0,G=j%26;return this._expand(U+1),this.words[U]=$?this.words[U]|1<j.length?(U=this,G=j):(U=j,G=this);for(var q=0,H=0;H>>26;for(;q!==0&&H>>26;if(this.length=U.length,q!==0)this.words[this.length]=q,this.length++;else if(U!==this)for(;Hj.length?this.clone().iadd(j):j.clone().iadd(this)},h.prototype.isub=function(j){if(j.negative!==0){j.negative=0;var $=this.iadd(j);return j.negative=1,$._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(j),this.negative=1,this._normSign();var U,G,q=this.cmp(j);if(q===0)return this.negative=0,this.length=1,this.words[0]=0,this;q>0?(U=this,G=j):(U=j,G=this);for(var H=0,ne=0;ne>26,this.words[ne]=67108863&$;for(;H!==0&&ne>26,this.words[ne]=67108863&$;if(H===0&&ne>>13,oe=0|ne[1],ue=8191&oe,ce=oe>>>13,ye=0|ne[2],de=8191&ye,me=ye>>>13,pe=0|ne[3],xe=8191&pe,Pe=pe>>>13,_e=0|ne[4],Me=8191&_e,Se=_e>>>13,Ce=0|ne[5],ae=8191&Ce,fe=Ce>>>13,be=0|ne[6],ke=8191&be,Le=be>>>13,Be=0|ne[7],ze=8191&Be,je=Be>>>13,ge=0|ne[8],we=8191&ge,Ee=ge>>>13,Ve=0|ne[9],$e=8191&Ve,Ye=Ve>>>13,st=0|te[0],ot=8191&st,ht=st>>>13,bt=0|te[1],Et=8191&bt,kt=bt>>>13,xt=0|te[2],Ft=8191&xt,Ot=xt>>>13,Bt=0|te[3],qt=8191&Bt,Vt=Bt>>>13,Ke=0|te[4],Je=8191&Ke,qe=Ke>>>13,nt=0|te[5],ft=8191&nt,Re=nt>>>13,Ne=0|te[6],Qe=8191&Ne,ut=Ne>>>13,dt=0|te[7],_t=8191&dt,It=dt>>>13,Lt=0|te[8],yt=8191&Lt,Pt=Lt>>>13,wt=0|te[9],Rt=8191&wt,Nt=wt>>>13;U.negative=j.negative^$.negative,U.length=19;var Yt=(X+(G=Math.imul(re,ot))|0)+((8191&(q=(q=Math.imul(re,ht))+Math.imul(ie,ot)|0))<<13)|0;X=((H=Math.imul(ie,ht))+(q>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,G=Math.imul(ue,ot),q=(q=Math.imul(ue,ht))+Math.imul(ce,ot)|0,H=Math.imul(ce,ht);var Wt=(X+(G=G+Math.imul(re,Et)|0)|0)+((8191&(q=(q=q+Math.imul(re,kt)|0)+Math.imul(ie,Et)|0))<<13)|0;X=((H=H+Math.imul(ie,kt)|0)+(q>>>13)|0)+(Wt>>>26)|0,Wt&=67108863,G=Math.imul(de,ot),q=(q=Math.imul(de,ht))+Math.imul(me,ot)|0,H=Math.imul(me,ht),G=G+Math.imul(ue,Et)|0,q=(q=q+Math.imul(ue,kt)|0)+Math.imul(ce,Et)|0,H=H+Math.imul(ce,kt)|0;var Xt=(X+(G=G+Math.imul(re,Ft)|0)|0)+((8191&(q=(q=q+Math.imul(re,Ot)|0)+Math.imul(ie,Ft)|0))<<13)|0;X=((H=H+Math.imul(ie,Ot)|0)+(q>>>13)|0)+(Xt>>>26)|0,Xt&=67108863,G=Math.imul(xe,ot),q=(q=Math.imul(xe,ht))+Math.imul(Pe,ot)|0,H=Math.imul(Pe,ht),G=G+Math.imul(de,Et)|0,q=(q=q+Math.imul(de,kt)|0)+Math.imul(me,Et)|0,H=H+Math.imul(me,kt)|0,G=G+Math.imul(ue,Ft)|0,q=(q=q+Math.imul(ue,Ot)|0)+Math.imul(ce,Ft)|0,H=H+Math.imul(ce,Ot)|0;var Qt=(X+(G=G+Math.imul(re,qt)|0)|0)+((8191&(q=(q=q+Math.imul(re,Vt)|0)+Math.imul(ie,qt)|0))<<13)|0;X=((H=H+Math.imul(ie,Vt)|0)+(q>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,G=Math.imul(Me,ot),q=(q=Math.imul(Me,ht))+Math.imul(Se,ot)|0,H=Math.imul(Se,ht),G=G+Math.imul(xe,Et)|0,q=(q=q+Math.imul(xe,kt)|0)+Math.imul(Pe,Et)|0,H=H+Math.imul(Pe,kt)|0,G=G+Math.imul(de,Ft)|0,q=(q=q+Math.imul(de,Ot)|0)+Math.imul(me,Ft)|0,H=H+Math.imul(me,Ot)|0,G=G+Math.imul(ue,qt)|0,q=(q=q+Math.imul(ue,Vt)|0)+Math.imul(ce,qt)|0,H=H+Math.imul(ce,Vt)|0;var rn=(X+(G=G+Math.imul(re,Je)|0)|0)+((8191&(q=(q=q+Math.imul(re,qe)|0)+Math.imul(ie,Je)|0))<<13)|0;X=((H=H+Math.imul(ie,qe)|0)+(q>>>13)|0)+(rn>>>26)|0,rn&=67108863,G=Math.imul(ae,ot),q=(q=Math.imul(ae,ht))+Math.imul(fe,ot)|0,H=Math.imul(fe,ht),G=G+Math.imul(Me,Et)|0,q=(q=q+Math.imul(Me,kt)|0)+Math.imul(Se,Et)|0,H=H+Math.imul(Se,kt)|0,G=G+Math.imul(xe,Ft)|0,q=(q=q+Math.imul(xe,Ot)|0)+Math.imul(Pe,Ft)|0,H=H+Math.imul(Pe,Ot)|0,G=G+Math.imul(de,qt)|0,q=(q=q+Math.imul(de,Vt)|0)+Math.imul(me,qt)|0,H=H+Math.imul(me,Vt)|0,G=G+Math.imul(ue,Je)|0,q=(q=q+Math.imul(ue,qe)|0)+Math.imul(ce,Je)|0,H=H+Math.imul(ce,qe)|0;var xn=(X+(G=G+Math.imul(re,ft)|0)|0)+((8191&(q=(q=q+Math.imul(re,Re)|0)+Math.imul(ie,ft)|0))<<13)|0;X=((H=H+Math.imul(ie,Re)|0)+(q>>>13)|0)+(xn>>>26)|0,xn&=67108863,G=Math.imul(ke,ot),q=(q=Math.imul(ke,ht))+Math.imul(Le,ot)|0,H=Math.imul(Le,ht),G=G+Math.imul(ae,Et)|0,q=(q=q+Math.imul(ae,kt)|0)+Math.imul(fe,Et)|0,H=H+Math.imul(fe,kt)|0,G=G+Math.imul(Me,Ft)|0,q=(q=q+Math.imul(Me,Ot)|0)+Math.imul(Se,Ft)|0,H=H+Math.imul(Se,Ot)|0,G=G+Math.imul(xe,qt)|0,q=(q=q+Math.imul(xe,Vt)|0)+Math.imul(Pe,qt)|0,H=H+Math.imul(Pe,Vt)|0,G=G+Math.imul(de,Je)|0,q=(q=q+Math.imul(de,qe)|0)+Math.imul(me,Je)|0,H=H+Math.imul(me,qe)|0,G=G+Math.imul(ue,ft)|0,q=(q=q+Math.imul(ue,Re)|0)+Math.imul(ce,ft)|0,H=H+Math.imul(ce,Re)|0;var un=(X+(G=G+Math.imul(re,Qe)|0)|0)+((8191&(q=(q=q+Math.imul(re,ut)|0)+Math.imul(ie,Qe)|0))<<13)|0;X=((H=H+Math.imul(ie,ut)|0)+(q>>>13)|0)+(un>>>26)|0,un&=67108863,G=Math.imul(ze,ot),q=(q=Math.imul(ze,ht))+Math.imul(je,ot)|0,H=Math.imul(je,ht),G=G+Math.imul(ke,Et)|0,q=(q=q+Math.imul(ke,kt)|0)+Math.imul(Le,Et)|0,H=H+Math.imul(Le,kt)|0,G=G+Math.imul(ae,Ft)|0,q=(q=q+Math.imul(ae,Ot)|0)+Math.imul(fe,Ft)|0,H=H+Math.imul(fe,Ot)|0,G=G+Math.imul(Me,qt)|0,q=(q=q+Math.imul(Me,Vt)|0)+Math.imul(Se,qt)|0,H=H+Math.imul(Se,Vt)|0,G=G+Math.imul(xe,Je)|0,q=(q=q+Math.imul(xe,qe)|0)+Math.imul(Pe,Je)|0,H=H+Math.imul(Pe,qe)|0,G=G+Math.imul(de,ft)|0,q=(q=q+Math.imul(de,Re)|0)+Math.imul(me,ft)|0,H=H+Math.imul(me,Re)|0,G=G+Math.imul(ue,Qe)|0,q=(q=q+Math.imul(ue,ut)|0)+Math.imul(ce,Qe)|0,H=H+Math.imul(ce,ut)|0;var An=(X+(G=G+Math.imul(re,_t)|0)|0)+((8191&(q=(q=q+Math.imul(re,It)|0)+Math.imul(ie,_t)|0))<<13)|0;X=((H=H+Math.imul(ie,It)|0)+(q>>>13)|0)+(An>>>26)|0,An&=67108863,G=Math.imul(we,ot),q=(q=Math.imul(we,ht))+Math.imul(Ee,ot)|0,H=Math.imul(Ee,ht),G=G+Math.imul(ze,Et)|0,q=(q=q+Math.imul(ze,kt)|0)+Math.imul(je,Et)|0,H=H+Math.imul(je,kt)|0,G=G+Math.imul(ke,Ft)|0,q=(q=q+Math.imul(ke,Ot)|0)+Math.imul(Le,Ft)|0,H=H+Math.imul(Le,Ot)|0,G=G+Math.imul(ae,qt)|0,q=(q=q+Math.imul(ae,Vt)|0)+Math.imul(fe,qt)|0,H=H+Math.imul(fe,Vt)|0,G=G+Math.imul(Me,Je)|0,q=(q=q+Math.imul(Me,qe)|0)+Math.imul(Se,Je)|0,H=H+Math.imul(Se,qe)|0,G=G+Math.imul(xe,ft)|0,q=(q=q+Math.imul(xe,Re)|0)+Math.imul(Pe,ft)|0,H=H+Math.imul(Pe,Re)|0,G=G+Math.imul(de,Qe)|0,q=(q=q+Math.imul(de,ut)|0)+Math.imul(me,Qe)|0,H=H+Math.imul(me,ut)|0,G=G+Math.imul(ue,_t)|0,q=(q=q+Math.imul(ue,It)|0)+Math.imul(ce,_t)|0,H=H+Math.imul(ce,It)|0;var Yn=(X+(G=G+Math.imul(re,yt)|0)|0)+((8191&(q=(q=q+Math.imul(re,Pt)|0)+Math.imul(ie,yt)|0))<<13)|0;X=((H=H+Math.imul(ie,Pt)|0)+(q>>>13)|0)+(Yn>>>26)|0,Yn&=67108863,G=Math.imul($e,ot),q=(q=Math.imul($e,ht))+Math.imul(Ye,ot)|0,H=Math.imul(Ye,ht),G=G+Math.imul(we,Et)|0,q=(q=q+Math.imul(we,kt)|0)+Math.imul(Ee,Et)|0,H=H+Math.imul(Ee,kt)|0,G=G+Math.imul(ze,Ft)|0,q=(q=q+Math.imul(ze,Ot)|0)+Math.imul(je,Ft)|0,H=H+Math.imul(je,Ot)|0,G=G+Math.imul(ke,qt)|0,q=(q=q+Math.imul(ke,Vt)|0)+Math.imul(Le,qt)|0,H=H+Math.imul(Le,Vt)|0,G=G+Math.imul(ae,Je)|0,q=(q=q+Math.imul(ae,qe)|0)+Math.imul(fe,Je)|0,H=H+Math.imul(fe,qe)|0,G=G+Math.imul(Me,ft)|0,q=(q=q+Math.imul(Me,Re)|0)+Math.imul(Se,ft)|0,H=H+Math.imul(Se,Re)|0,G=G+Math.imul(xe,Qe)|0,q=(q=q+Math.imul(xe,ut)|0)+Math.imul(Pe,Qe)|0,H=H+Math.imul(Pe,ut)|0,G=G+Math.imul(de,_t)|0,q=(q=q+Math.imul(de,It)|0)+Math.imul(me,_t)|0,H=H+Math.imul(me,It)|0,G=G+Math.imul(ue,yt)|0,q=(q=q+Math.imul(ue,Pt)|0)+Math.imul(ce,yt)|0,H=H+Math.imul(ce,Pt)|0;var kn=(X+(G=G+Math.imul(re,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(re,Nt)|0)+Math.imul(ie,Rt)|0))<<13)|0;X=((H=H+Math.imul(ie,Nt)|0)+(q>>>13)|0)+(kn>>>26)|0,kn&=67108863,G=Math.imul($e,Et),q=(q=Math.imul($e,kt))+Math.imul(Ye,Et)|0,H=Math.imul(Ye,kt),G=G+Math.imul(we,Ft)|0,q=(q=q+Math.imul(we,Ot)|0)+Math.imul(Ee,Ft)|0,H=H+Math.imul(Ee,Ot)|0,G=G+Math.imul(ze,qt)|0,q=(q=q+Math.imul(ze,Vt)|0)+Math.imul(je,qt)|0,H=H+Math.imul(je,Vt)|0,G=G+Math.imul(ke,Je)|0,q=(q=q+Math.imul(ke,qe)|0)+Math.imul(Le,Je)|0,H=H+Math.imul(Le,qe)|0,G=G+Math.imul(ae,ft)|0,q=(q=q+Math.imul(ae,Re)|0)+Math.imul(fe,ft)|0,H=H+Math.imul(fe,Re)|0,G=G+Math.imul(Me,Qe)|0,q=(q=q+Math.imul(Me,ut)|0)+Math.imul(Se,Qe)|0,H=H+Math.imul(Se,ut)|0,G=G+Math.imul(xe,_t)|0,q=(q=q+Math.imul(xe,It)|0)+Math.imul(Pe,_t)|0,H=H+Math.imul(Pe,It)|0,G=G+Math.imul(de,yt)|0,q=(q=q+Math.imul(de,Pt)|0)+Math.imul(me,yt)|0,H=H+Math.imul(me,Pt)|0;var sn=(X+(G=G+Math.imul(ue,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(ue,Nt)|0)+Math.imul(ce,Rt)|0))<<13)|0;X=((H=H+Math.imul(ce,Nt)|0)+(q>>>13)|0)+(sn>>>26)|0,sn&=67108863,G=Math.imul($e,Ft),q=(q=Math.imul($e,Ot))+Math.imul(Ye,Ft)|0,H=Math.imul(Ye,Ot),G=G+Math.imul(we,qt)|0,q=(q=q+Math.imul(we,Vt)|0)+Math.imul(Ee,qt)|0,H=H+Math.imul(Ee,Vt)|0,G=G+Math.imul(ze,Je)|0,q=(q=q+Math.imul(ze,qe)|0)+Math.imul(je,Je)|0,H=H+Math.imul(je,qe)|0,G=G+Math.imul(ke,ft)|0,q=(q=q+Math.imul(ke,Re)|0)+Math.imul(Le,ft)|0,H=H+Math.imul(Le,Re)|0,G=G+Math.imul(ae,Qe)|0,q=(q=q+Math.imul(ae,ut)|0)+Math.imul(fe,Qe)|0,H=H+Math.imul(fe,ut)|0,G=G+Math.imul(Me,_t)|0,q=(q=q+Math.imul(Me,It)|0)+Math.imul(Se,_t)|0,H=H+Math.imul(Se,It)|0,G=G+Math.imul(xe,yt)|0,q=(q=q+Math.imul(xe,Pt)|0)+Math.imul(Pe,yt)|0,H=H+Math.imul(Pe,Pt)|0;var Tn=(X+(G=G+Math.imul(de,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(de,Nt)|0)+Math.imul(me,Rt)|0))<<13)|0;X=((H=H+Math.imul(me,Nt)|0)+(q>>>13)|0)+(Tn>>>26)|0,Tn&=67108863,G=Math.imul($e,qt),q=(q=Math.imul($e,Vt))+Math.imul(Ye,qt)|0,H=Math.imul(Ye,Vt),G=G+Math.imul(we,Je)|0,q=(q=q+Math.imul(we,qe)|0)+Math.imul(Ee,Je)|0,H=H+Math.imul(Ee,qe)|0,G=G+Math.imul(ze,ft)|0,q=(q=q+Math.imul(ze,Re)|0)+Math.imul(je,ft)|0,H=H+Math.imul(je,Re)|0,G=G+Math.imul(ke,Qe)|0,q=(q=q+Math.imul(ke,ut)|0)+Math.imul(Le,Qe)|0,H=H+Math.imul(Le,ut)|0,G=G+Math.imul(ae,_t)|0,q=(q=q+Math.imul(ae,It)|0)+Math.imul(fe,_t)|0,H=H+Math.imul(fe,It)|0,G=G+Math.imul(Me,yt)|0,q=(q=q+Math.imul(Me,Pt)|0)+Math.imul(Se,yt)|0,H=H+Math.imul(Se,Pt)|0;var dn=(X+(G=G+Math.imul(xe,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(xe,Nt)|0)+Math.imul(Pe,Rt)|0))<<13)|0;X=((H=H+Math.imul(Pe,Nt)|0)+(q>>>13)|0)+(dn>>>26)|0,dn&=67108863,G=Math.imul($e,Je),q=(q=Math.imul($e,qe))+Math.imul(Ye,Je)|0,H=Math.imul(Ye,qe),G=G+Math.imul(we,ft)|0,q=(q=q+Math.imul(we,Re)|0)+Math.imul(Ee,ft)|0,H=H+Math.imul(Ee,Re)|0,G=G+Math.imul(ze,Qe)|0,q=(q=q+Math.imul(ze,ut)|0)+Math.imul(je,Qe)|0,H=H+Math.imul(je,ut)|0,G=G+Math.imul(ke,_t)|0,q=(q=q+Math.imul(ke,It)|0)+Math.imul(Le,_t)|0,H=H+Math.imul(Le,It)|0,G=G+Math.imul(ae,yt)|0,q=(q=q+Math.imul(ae,Pt)|0)+Math.imul(fe,yt)|0,H=H+Math.imul(fe,Pt)|0;var pn=(X+(G=G+Math.imul(Me,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(Me,Nt)|0)+Math.imul(Se,Rt)|0))<<13)|0;X=((H=H+Math.imul(Se,Nt)|0)+(q>>>13)|0)+(pn>>>26)|0,pn&=67108863,G=Math.imul($e,ft),q=(q=Math.imul($e,Re))+Math.imul(Ye,ft)|0,H=Math.imul(Ye,Re),G=G+Math.imul(we,Qe)|0,q=(q=q+Math.imul(we,ut)|0)+Math.imul(Ee,Qe)|0,H=H+Math.imul(Ee,ut)|0,G=G+Math.imul(ze,_t)|0,q=(q=q+Math.imul(ze,It)|0)+Math.imul(je,_t)|0,H=H+Math.imul(je,It)|0,G=G+Math.imul(ke,yt)|0,q=(q=q+Math.imul(ke,Pt)|0)+Math.imul(Le,yt)|0,H=H+Math.imul(Le,Pt)|0;var Dn=(X+(G=G+Math.imul(ae,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(ae,Nt)|0)+Math.imul(fe,Rt)|0))<<13)|0;X=((H=H+Math.imul(fe,Nt)|0)+(q>>>13)|0)+(Dn>>>26)|0,Dn&=67108863,G=Math.imul($e,Qe),q=(q=Math.imul($e,ut))+Math.imul(Ye,Qe)|0,H=Math.imul(Ye,ut),G=G+Math.imul(we,_t)|0,q=(q=q+Math.imul(we,It)|0)+Math.imul(Ee,_t)|0,H=H+Math.imul(Ee,It)|0,G=G+Math.imul(ze,yt)|0,q=(q=q+Math.imul(ze,Pt)|0)+Math.imul(je,yt)|0,H=H+Math.imul(je,Pt)|0;var In=(X+(G=G+Math.imul(ke,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(ke,Nt)|0)+Math.imul(Le,Rt)|0))<<13)|0;X=((H=H+Math.imul(Le,Nt)|0)+(q>>>13)|0)+(In>>>26)|0,In&=67108863,G=Math.imul($e,_t),q=(q=Math.imul($e,It))+Math.imul(Ye,_t)|0,H=Math.imul(Ye,It),G=G+Math.imul(we,yt)|0,q=(q=q+Math.imul(we,Pt)|0)+Math.imul(Ee,yt)|0,H=H+Math.imul(Ee,Pt)|0;var jn=(X+(G=G+Math.imul(ze,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(ze,Nt)|0)+Math.imul(je,Rt)|0))<<13)|0;X=((H=H+Math.imul(je,Nt)|0)+(q>>>13)|0)+(jn>>>26)|0,jn&=67108863,G=Math.imul($e,yt),q=(q=Math.imul($e,Pt))+Math.imul(Ye,yt)|0,H=Math.imul(Ye,Pt);var Gn=(X+(G=G+Math.imul(we,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(we,Nt)|0)+Math.imul(Ee,Rt)|0))<<13)|0;X=((H=H+Math.imul(Ee,Nt)|0)+(q>>>13)|0)+(Gn>>>26)|0,Gn&=67108863;var qn=(X+(G=Math.imul($e,Rt))|0)+((8191&(q=(q=Math.imul($e,Nt))+Math.imul(Ye,Rt)|0))<<13)|0;return X=((H=Math.imul(Ye,Nt))+(q>>>13)|0)+(qn>>>26)|0,qn&=67108863,Z[0]=Yt,Z[1]=Wt,Z[2]=Xt,Z[3]=Qt,Z[4]=rn,Z[5]=xn,Z[6]=un,Z[7]=An,Z[8]=Yn,Z[9]=kn,Z[10]=sn,Z[11]=Tn,Z[12]=dn,Z[13]=pn,Z[14]=Dn,Z[15]=In,Z[16]=jn,Z[17]=Gn,Z[18]=qn,X!==0&&(Z[19]=X,U.length++),U};function L(j,$,U){return new b().mulp(j,$,U)}function b(j,$){this.x=j,this.y=$}Math.imul||(A=x),h.prototype.mulTo=function(j,$){var U,G=this.length+j.length;return U=this.length===10&&j.length===10?A(this,j,$):G<63?x(this,j,$):G<1024?function(q,H,ne){ne.negative=H.negative^q.negative,ne.length=q.length+H.length;for(var te=0,Z=0,X=0;X>>26)|0)>>>26,Q&=67108863}ne.words[X]=re,te=Q,Q=Z}return te!==0?ne.words[X]=te:ne.length--,ne.strip()}(this,j,$):L(this,j,$),U},b.prototype.makeRBT=function(j){for(var $=new Array(j),U=h.prototype._countBits(j)-1,G=0;G>=1;return G},b.prototype.permute=function(j,$,U,G,q,H){for(var ne=0;ne>>=1)q++;return 1<>>=13,U[2*H+1]=8191&q,q>>>=13;for(H=2*$;H>=26,$+=G/67108864|0,$+=q>>>26,this.words[U]=67108863&q}return $!==0&&(this.words[U]=$,this.length++),this},h.prototype.muln=function(j){return this.clone().imuln(j)},h.prototype.sqr=function(){return this.mul(this)},h.prototype.isqr=function(){return this.imul(this.clone())},h.prototype.pow=function(j){var $=function(H){for(var ne=new Array(H.bitLength()),te=0;te>>X}return ne}(j);if($.length===0)return new h(1);for(var U=this,G=0;G<$.length&&$[G]===0;G++,U=U.sqr());if(++G<$.length)for(var q=U.sqr();G<$.length;G++,q=q.sqr())$[G]!==0&&(U=U.mul(q));return U},h.prototype.iushln=function(j){s(typeof j=="number"&&j>=0);var $,U=j%26,G=(j-U)/26,q=67108863>>>26-U<<26-U;if(U!==0){var H=0;for($=0;$>>26-U}H&&(this.words[$]=H,this.length++)}if(G!==0){for($=this.length-1;$>=0;$--)this.words[$+G]=this.words[$];for($=0;$=0),G=$?($-$%26)/26:0;var q=j%26,H=Math.min((j-q)/26,this.length),ne=67108863^67108863>>>q<H)for(this.length-=H,Z=0;Z=0&&(X!==0||Z>=G);Z--){var Q=0|this.words[Z];this.words[Z]=X<<26-q|Q>>>q,X=Q&ne}return te&&X!==0&&(te.words[te.length++]=X),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},h.prototype.ishrn=function(j,$,U){return s(this.negative===0),this.iushrn(j,$,U)},h.prototype.shln=function(j){return this.clone().ishln(j)},h.prototype.ushln=function(j){return this.clone().iushln(j)},h.prototype.shrn=function(j){return this.clone().ishrn(j)},h.prototype.ushrn=function(j){return this.clone().iushrn(j)},h.prototype.testn=function(j){s(typeof j=="number"&&j>=0);var $=j%26,U=(j-$)/26,G=1<<$;return!(this.length<=U||!(this.words[U]&G))},h.prototype.imaskn=function(j){s(typeof j=="number"&&j>=0);var $=j%26,U=(j-$)/26;if(s(this.negative===0,"imaskn works only with positive numbers"),this.length<=U)return this;if($!==0&&U++,this.length=Math.min(U,this.length),$!==0){var G=67108863^67108863>>>$<<$;this.words[this.length-1]&=G}return this.strip()},h.prototype.maskn=function(j){return this.clone().imaskn(j)},h.prototype.iaddn=function(j){return s(typeof j=="number"),s(j<67108864),j<0?this.isubn(-j):this.negative!==0?this.length===1&&(0|this.words[0])=67108864;$++)this.words[$]-=67108864,$===this.length-1?this.words[$+1]=1:this.words[$+1]++;return this.length=Math.max(this.length,$+1),this},h.prototype.isubn=function(j){if(s(typeof j=="number"),s(j<67108864),j<0)return this.iaddn(-j);if(this.negative!==0)return this.negative=0,this.iaddn(j),this.negative=1,this;if(this.words[0]-=j,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var $=0;$>26)-(te/67108864|0),this.words[G+U]=67108863&q}for(;G>26,this.words[G+U]=67108863&q;if(ne===0)return this.strip();for(s(ne===-1),ne=0,G=0;G>26,this.words[G]=67108863&q;return this.negative=1,this.strip()},h.prototype._wordDiv=function(j,$){var U=(this.length,j.length),G=this.clone(),q=j,H=0|q.words[q.length-1];(U=26-this._countBits(H))!=0&&(q=q.ushln(U),G.iushln(U),H=0|q.words[q.length-1]);var ne,te=G.length-q.length;if($!=="mod"){(ne=new h(null)).length=te+1,ne.words=new Array(ne.length);for(var Z=0;Z=0;Q--){var re=67108864*(0|G.words[q.length+Q])+(0|G.words[q.length+Q-1]);for(re=Math.min(re/H|0,67108863),G._ishlnsubmul(q,re,Q);G.negative!==0;)re--,G.negative=0,G._ishlnsubmul(q,1,Q),G.isZero()||(G.negative^=1);ne&&(ne.words[Q]=re)}return ne&&ne.strip(),G.strip(),$!=="div"&&U!==0&&G.iushrn(U),{div:ne||null,mod:G}},h.prototype.divmod=function(j,$,U){return s(!j.isZero()),this.isZero()?{div:new h(0),mod:new h(0)}:this.negative!==0&&j.negative===0?(H=this.neg().divmod(j,$),$!=="mod"&&(G=H.div.neg()),$!=="div"&&(q=H.mod.neg(),U&&q.negative!==0&&q.iadd(j)),{div:G,mod:q}):this.negative===0&&j.negative!==0?(H=this.divmod(j.neg(),$),$!=="mod"&&(G=H.div.neg()),{div:G,mod:H.mod}):this.negative&j.negative?(H=this.neg().divmod(j.neg(),$),$!=="div"&&(q=H.mod.neg(),U&&q.negative!==0&&q.isub(j)),{div:H.div,mod:q}):j.length>this.length||this.cmp(j)<0?{div:new h(0),mod:this}:j.length===1?$==="div"?{div:this.divn(j.words[0]),mod:null}:$==="mod"?{div:null,mod:new h(this.modn(j.words[0]))}:{div:this.divn(j.words[0]),mod:new h(this.modn(j.words[0]))}:this._wordDiv(j,$);var G,q,H},h.prototype.div=function(j){return this.divmod(j,"div",!1).div},h.prototype.mod=function(j){return this.divmod(j,"mod",!1).mod},h.prototype.umod=function(j){return this.divmod(j,"mod",!0).mod},h.prototype.divRound=function(j){var $=this.divmod(j);if($.mod.isZero())return $.div;var U=$.div.negative!==0?$.mod.isub(j):$.mod,G=j.ushrn(1),q=j.andln(1),H=U.cmp(G);return H<0||q===1&&H===0?$.div:$.div.negative!==0?$.div.isubn(1):$.div.iaddn(1)},h.prototype.modn=function(j){s(j<=67108863);for(var $=67108864%j,U=0,G=this.length-1;G>=0;G--)U=($*U+(0|this.words[G]))%j;return U},h.prototype.idivn=function(j){s(j<=67108863);for(var $=0,U=this.length-1;U>=0;U--){var G=(0|this.words[U])+67108864*$;this.words[U]=G/j|0,$=G%j}return this.strip()},h.prototype.divn=function(j){return this.clone().idivn(j)},h.prototype.egcd=function(j){s(j.negative===0),s(!j.isZero());var $=this,U=j.clone();$=$.negative!==0?$.umod(j):$.clone();for(var G=new h(1),q=new h(0),H=new h(0),ne=new h(1),te=0;$.isEven()&&U.isEven();)$.iushrn(1),U.iushrn(1),++te;for(var Z=U.clone(),X=$.clone();!$.isZero();){for(var Q=0,re=1;!($.words[0]&re)&&Q<26;++Q,re<<=1);if(Q>0)for($.iushrn(Q);Q-- >0;)(G.isOdd()||q.isOdd())&&(G.iadd(Z),q.isub(X)),G.iushrn(1),q.iushrn(1);for(var ie=0,oe=1;!(U.words[0]&oe)&&ie<26;++ie,oe<<=1);if(ie>0)for(U.iushrn(ie);ie-- >0;)(H.isOdd()||ne.isOdd())&&(H.iadd(Z),ne.isub(X)),H.iushrn(1),ne.iushrn(1);$.cmp(U)>=0?($.isub(U),G.isub(H),q.isub(ne)):(U.isub($),H.isub(G),ne.isub(q))}return{a:H,b:ne,gcd:U.iushln(te)}},h.prototype._invmp=function(j){s(j.negative===0),s(!j.isZero());var $=this,U=j.clone();$=$.negative!==0?$.umod(j):$.clone();for(var G,q=new h(1),H=new h(0),ne=U.clone();$.cmpn(1)>0&&U.cmpn(1)>0;){for(var te=0,Z=1;!($.words[0]&Z)&&te<26;++te,Z<<=1);if(te>0)for($.iushrn(te);te-- >0;)q.isOdd()&&q.iadd(ne),q.iushrn(1);for(var X=0,Q=1;!(U.words[0]&Q)&&X<26;++X,Q<<=1);if(X>0)for(U.iushrn(X);X-- >0;)H.isOdd()&&H.iadd(ne),H.iushrn(1);$.cmp(U)>=0?($.isub(U),q.isub(H)):(U.isub($),H.isub(q))}return(G=$.cmpn(1)===0?q:H).cmpn(0)<0&&G.iadd(j),G},h.prototype.gcd=function(j){if(this.isZero())return j.abs();if(j.isZero())return this.abs();var $=this.clone(),U=j.clone();$.negative=0,U.negative=0;for(var G=0;$.isEven()&&U.isEven();G++)$.iushrn(1),U.iushrn(1);for(;;){for(;$.isEven();)$.iushrn(1);for(;U.isEven();)U.iushrn(1);var q=$.cmp(U);if(q<0){var H=$;$=U,U=H}else if(q===0||U.cmpn(1)===0)break;$.isub(U)}return U.iushln(G)},h.prototype.invm=function(j){return this.egcd(j).a.umod(j)},h.prototype.isEven=function(){return(1&this.words[0])==0},h.prototype.isOdd=function(){return(1&this.words[0])==1},h.prototype.andln=function(j){return this.words[0]&j},h.prototype.bincn=function(j){s(typeof j=="number");var $=j%26,U=(j-$)/26,G=1<<$;if(this.length<=U)return this._expand(U+1),this.words[U]|=G,this;for(var q=G,H=U;q!==0&&H>>26,ne&=67108863,this.words[H]=ne}return q!==0&&(this.words[H]=q,this.length++),this},h.prototype.isZero=function(){return this.length===1&&this.words[0]===0},h.prototype.cmpn=function(j){var $,U=j<0;if(this.negative!==0&&!U)return-1;if(this.negative===0&&U)return 1;if(this.strip(),this.length>1)$=1;else{U&&(j=-j),s(j<=67108863,"Number is too big");var G=0|this.words[0];$=G===j?0:Gj.length)return 1;if(this.length=0;U--){var G=0|this.words[U],q=0|j.words[U];if(G!==q){Gq&&($=1);break}}return $},h.prototype.gtn=function(j){return this.cmpn(j)===1},h.prototype.gt=function(j){return this.cmp(j)===1},h.prototype.gten=function(j){return this.cmpn(j)>=0},h.prototype.gte=function(j){return this.cmp(j)>=0},h.prototype.ltn=function(j){return this.cmpn(j)===-1},h.prototype.lt=function(j){return this.cmp(j)===-1},h.prototype.lten=function(j){return this.cmpn(j)<=0},h.prototype.lte=function(j){return this.cmp(j)<=0},h.prototype.eqn=function(j){return this.cmpn(j)===0},h.prototype.eq=function(j){return this.cmp(j)===0},h.red=function(j){return new N(j)},h.prototype.toRed=function(j){return s(!this.red,"Already a number in reduction context"),s(this.negative===0,"red works only with positives"),j.convertTo(this)._forceRed(j)},h.prototype.fromRed=function(){return s(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},h.prototype._forceRed=function(j){return this.red=j,this},h.prototype.forceRed=function(j){return s(!this.red,"Already a number in reduction context"),this._forceRed(j)},h.prototype.redAdd=function(j){return s(this.red,"redAdd works only with red numbers"),this.red.add(this,j)},h.prototype.redIAdd=function(j){return s(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,j)},h.prototype.redSub=function(j){return s(this.red,"redSub works only with red numbers"),this.red.sub(this,j)},h.prototype.redISub=function(j){return s(this.red,"redISub works only with red numbers"),this.red.isub(this,j)},h.prototype.redShl=function(j){return s(this.red,"redShl works only with red numbers"),this.red.shl(this,j)},h.prototype.redMul=function(j){return s(this.red,"redMul works only with red numbers"),this.red._verify2(this,j),this.red.mul(this,j)},h.prototype.redIMul=function(j){return s(this.red,"redMul works only with red numbers"),this.red._verify2(this,j),this.red.imul(this,j)},h.prototype.redSqr=function(){return s(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},h.prototype.redISqr=function(){return s(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},h.prototype.redSqrt=function(){return s(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},h.prototype.redInvm=function(){return s(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},h.prototype.redNeg=function(){return s(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},h.prototype.redPow=function(j){return s(this.red&&!j.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,j)};var R={k256:null,p224:null,p192:null,p25519:null};function I(j,$){this.name=j,this.p=new h($,16),this.n=this.p.bitLength(),this.k=new h(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function O(){I.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function z(){I.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function F(){I.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function B(){I.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function N(j){if(typeof j=="string"){var $=h._prime(j);this.m=$.p,this.prime=$}else s(j.gtn(1),"modulus must be greater than 1"),this.m=j,this.prime=null}function W(j){N.call(this,j),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new h(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}I.prototype._tmp=function(){var j=new h(null);return j.words=new Array(Math.ceil(this.n/13)),j},I.prototype.ireduce=function(j){var $,U=j;do this.split(U,this.tmp),$=(U=(U=this.imulK(U)).iadd(this.tmp)).bitLength();while($>this.n);var G=$0?U.isub(this.p):U.strip!==void 0?U.strip():U._strip(),U},I.prototype.split=function(j,$){j.iushrn(this.n,0,$)},I.prototype.imulK=function(j){return j.imul(this.k)},c(O,I),O.prototype.split=function(j,$){for(var U=4194303,G=Math.min(j.length,9),q=0;q>>22,H=ne}H>>>=22,j.words[q-10]=H,H===0&&j.length>10?j.length-=10:j.length-=9},O.prototype.imulK=function(j){j.words[j.length]=0,j.words[j.length+1]=0,j.length+=2;for(var $=0,U=0;U>>=26,j.words[U]=q,$=G}return $!==0&&(j.words[j.length++]=$),j},h._prime=function(j){if(R[j])return R[j];var $;if(j==="k256")$=new O;else if(j==="p224")$=new z;else if(j==="p192")$=new F;else{if(j!=="p25519")throw new Error("Unknown prime "+j);$=new B}return R[j]=$,$},N.prototype._verify1=function(j){s(j.negative===0,"red works only with positives"),s(j.red,"red works only with red numbers")},N.prototype._verify2=function(j,$){s((j.negative|$.negative)==0,"red works only with positives"),s(j.red&&j.red===$.red,"red works only with red numbers")},N.prototype.imod=function(j){return this.prime?this.prime.ireduce(j)._forceRed(this):j.umod(this.m)._forceRed(this)},N.prototype.neg=function(j){return j.isZero()?j.clone():this.m.sub(j)._forceRed(this)},N.prototype.add=function(j,$){this._verify2(j,$);var U=j.add($);return U.cmp(this.m)>=0&&U.isub(this.m),U._forceRed(this)},N.prototype.iadd=function(j,$){this._verify2(j,$);var U=j.iadd($);return U.cmp(this.m)>=0&&U.isub(this.m),U},N.prototype.sub=function(j,$){this._verify2(j,$);var U=j.sub($);return U.cmpn(0)<0&&U.iadd(this.m),U._forceRed(this)},N.prototype.isub=function(j,$){this._verify2(j,$);var U=j.isub($);return U.cmpn(0)<0&&U.iadd(this.m),U},N.prototype.shl=function(j,$){return this._verify1(j),this.imod(j.ushln($))},N.prototype.imul=function(j,$){return this._verify2(j,$),this.imod(j.imul($))},N.prototype.mul=function(j,$){return this._verify2(j,$),this.imod(j.mul($))},N.prototype.isqr=function(j){return this.imul(j,j.clone())},N.prototype.sqr=function(j){return this.mul(j,j)},N.prototype.sqrt=function(j){if(j.isZero())return j.clone();var $=this.m.andln(3);if(s($%2==1),$===3){var U=this.m.add(new h(1)).iushrn(2);return this.pow(j,U)}for(var G=this.m.subn(1),q=0;!G.isZero()&&G.andln(1)===0;)q++,G.iushrn(1);s(!G.isZero());var H=new h(1).toRed(this),ne=H.redNeg(),te=this.m.subn(1).iushrn(1),Z=this.m.bitLength();for(Z=new h(2*Z*Z).toRed(this);this.pow(Z,te).cmp(ne)!==0;)Z.redIAdd(ne);for(var X=this.pow(Z,G),Q=this.pow(j,G.addn(1).iushrn(1)),re=this.pow(j,G),ie=q;re.cmp(H)!==0;){for(var oe=re,ue=0;oe.cmp(H)!==0;ue++)oe=oe.redSqr();s(ue=0;G--){for(var Z=$.words[G],X=te-1;X>=0;X--){var Q=Z>>X&1;q!==U[0]&&(q=this.sqr(q)),Q!==0||H!==0?(H<<=1,H|=Q,(++ne==4||G===0&&X===0)&&(q=this.mul(q,U[H]),ne=0,H=0)):ne=0}te=26}return q},N.prototype.convertTo=function(j){var $=j.umod(this.m);return $===j?$.clone():$},N.prototype.convertFrom=function(j){var $=j.clone();return $.red=null,$},h.mont=function(j){return new W(j)},c(W,N),W.prototype.convertTo=function(j){return this.imod(j.ushln(this.shift))},W.prototype.convertFrom=function(j){var $=this.imod(j.mul(this.rinv));return $.red=null,$},W.prototype.imul=function(j,$){if(j.isZero()||$.isZero())return j.words[0]=0,j.length=1,j;var U=j.imul($),G=U.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),q=U.isub(G).iushrn(this.shift),H=q;return q.cmp(this.m)>=0?H=q.isub(this.m):q.cmpn(0)<0&&(H=q.iadd(this.m)),H._forceRed(this)},W.prototype.mul=function(j,$){if(j.isZero()||$.isZero())return new h(0)._forceRed(this);var U=j.mul($),G=U.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),q=U.isub(G).iushrn(this.shift),H=q;return q.cmp(this.m)>=0?H=q.isub(this.m):q.cmpn(0)<0&&(H=q.iadd(this.m)),H._forceRed(this)},W.prototype.invm=function(j){return this.imod(j._invmp(this.m).mul(this.r2))._forceRed(this)}})(f=a.nmd(f),this)},2692:function(f){f.exports=function(l){var a,u,o,s=l.length,c=0;for(a=0;a>>1;if(!(R<=0)){var I,O=o.mallocDouble(2*R*L),z=o.mallocInt32(L);if((L=m(k,R,O,z))>0){if(R===1&&A)s.init(L),I=s.sweepComplete(R,x,0,L,O,z,0,L,O,z);else{var F=o.mallocDouble(2*R*b),B=o.mallocInt32(b);(b=m(E,R,F,B))>0&&(s.init(L+b),I=R===1?s.sweepBipartite(R,x,0,L,O,z,0,b,F,B):c(R,x,A,L,O,z,b,F,B),o.free(F),o.free(B))}o.free(O),o.free(z)}return I}}}function y(k,E){u.push([k,E])}function S(k){return u=[],w(k,k,y,!0),u}function _(k,E){return u=[],w(k,E,y,!1),u}},7333:function(f,l){function a(u){return u?function(o,s,c,h,m,w,y,S,_,k,E){return m-h>_-S?function(x,A,L,b,R,I,O,z,F,B,N){for(var W=2*x,j=b,$=W*b;jk-_?h?function(A,L,b,R,I,O,z,F,B,N,W){for(var j=2*A,$=R,U=j*R;$0;){var te=6*(H-=1),Z=L[te],X=L[te+1],Q=L[te+2],re=L[te+3],ie=L[te+4],oe=L[te+5],ue=2*H,ce=b[ue],ye=b[ue+1],de=1&oe,me=!!(16&oe),pe=W,xe=j,Pe=U,_e=G;if(de&&(pe=U,xe=G,Pe=W,_e=j),!(2&oe&&(Q=k(z,Z,X,Q,pe,xe,ye),X>=Q)||4&oe&&(X=E(z,Z,X,Q,pe,xe,ce))>=Q)){var Me=Q-X,Se=ie-re;if(me){if(z*Me*(Me+Se)<4194304){if((q=m.scanComplete(z,Z,F,X,Q,pe,xe,re,ie,Pe,_e))!==void 0)return q;continue}}else{if(z*Math.min(Me,Se)<128){if((q=c(z,Z,F,de,X,Q,pe,xe,re,ie,Pe,_e))!==void 0)return q;continue}if(z*Me*Se<4194304){if((q=m.scanBipartite(z,Z,F,de,X,Q,pe,xe,re,ie,Pe,_e))!==void 0)return q;continue}}var Ce=S(z,Z,X,Q,pe,xe,ce,ye);if(X=p0)&&!(p1>=hi)"),_=y("lo===p0"),k=y("lo>>1,E=2*s,x=k,A=w[E*k+c];S<_;){if(_-S<8){o(s,c,S,_,w,y),A=w[E*k+c];break}var L=_-S,b=Math.random()*L+S|0,R=w[E*b+c],I=Math.random()*L+S|0,O=w[E*I+c],z=Math.random()*L+S|0,F=w[E*z+c];R<=O?F>=O?(x=I,A=O):R>=F?(x=b,A=R):(x=z,A=F):O>=F?(x=I,A=O):F>=R?(x=b,A=R):(x=z,A=F);for(var B=E*(_-1),N=E*x,W=0;Wh&&w[A+c]>E;--x,A-=S){for(var L=A,b=A+S,R=0;RE;++E,y+=w)if(c[y+k]===m)if(_===E)_+=1,S+=w;else{for(var x=0;w>x;++x){var A=c[y+x];c[y+x]=c[S],c[S++]=A}var L=h[E];h[E]=h[_],h[_++]=L}return _},"loE;++E,y+=w)if(c[y+k]x;++x){var A=c[y+x];c[y+x]=c[S],c[S++]=A}var L=h[E];h[E]=h[_],h[_++]=L}return _},"lo<=p0":function(a,u,o,s,c,h,m){for(var w=2*a,y=w*o,S=y,_=o,k=a+u,E=o;s>E;++E,y+=w)if(c[y+k]<=m)if(_===E)_+=1,S+=w;else{for(var x=0;w>x;++x){var A=c[y+x];c[y+x]=c[S],c[S++]=A}var L=h[E];h[E]=h[_],h[_++]=L}return _},"hi<=p0":function(a,u,o,s,c,h,m){for(var w=2*a,y=w*o,S=y,_=o,k=a+u,E=o;s>E;++E,y+=w)if(c[y+k]<=m)if(_===E)_+=1,S+=w;else{for(var x=0;w>x;++x){var A=c[y+x];c[y+x]=c[S],c[S++]=A}var L=h[E];h[E]=h[_],h[_++]=L}return _},"lox;++x,y+=w){var A=c[y+k],L=c[y+E];if(Ab;++b){var R=c[y+b];c[y+b]=c[S],c[S++]=R}var I=h[x];h[x]=h[_],h[_++]=I}}return _},"lo<=p0&&p0<=hi":function(a,u,o,s,c,h,m){for(var w=2*a,y=w*o,S=y,_=o,k=u,E=a+u,x=o;s>x;++x,y+=w){var A=c[y+k],L=c[y+E];if(A<=m&&m<=L)if(_===x)_+=1,S+=w;else{for(var b=0;w>b;++b){var R=c[y+b];c[y+b]=c[S],c[S++]=R}var I=h[x];h[x]=h[_],h[_++]=I}}return _},"!(lo>=p0)&&!(p1>=hi)":function(a,u,o,s,c,h,m,w){for(var y=2*a,S=y*o,_=S,k=o,E=u,x=a+u,A=o;s>A;++A,S+=y){var L=c[S+E],b=c[S+x];if(!(L>=m||w>=b))if(k===A)k+=1,_+=y;else{for(var R=0;y>R;++R){var I=c[S+R];c[S+R]=c[_],c[_++]=I}var O=h[A];h[A]=h[k],h[k++]=O}}return k}}},309:function(f){function l(w,y,S){for(var _=2*(w+1),k=w+1;k<=y;++k){for(var E=S[_++],x=S[_++],A=k,L=_-2;A-- >w;){var b=S[L-2],R=S[L-1];if(bS[y+1])}function h(w,y,S,_){var k=_[w*=2];return k>1,A=x-_,L=x+_,b=k,R=A,I=x,O=L,z=E,F=w+1,B=y-1,N=0;c(b,R,S)&&(N=b,b=R,R=N),c(O,z,S)&&(N=O,O=z,z=N),c(b,I,S)&&(N=b,b=I,I=N),c(R,I,S)&&(N=R,R=I,I=N),c(b,O,S)&&(N=b,b=O,O=N),c(I,O,S)&&(N=I,I=O,O=N),c(R,z,S)&&(N=R,R=z,z=N),c(R,I,S)&&(N=R,R=I,I=N),c(O,z,S)&&(N=O,O=z,z=N);for(var W=S[2*R],j=S[2*R+1],$=S[2*O],U=S[2*O+1],G=2*b,q=2*I,H=2*z,ne=2*k,te=2*x,Z=2*E,X=0;X<2;++X){var Q=S[G+X],re=S[q+X],ie=S[H+X];S[ne+X]=Q,S[te+X]=re,S[Z+X]=ie}u(A,w,S),u(L,y,S);for(var oe=F;oe<=B;++oe)if(h(oe,W,j,S))oe!==F&&a(oe,F,S),++F;else if(!h(oe,$,U,S))for(;;){if(h(B,$,U,S)){h(B,W,j,S)?(o(oe,F,B,S),++F,--B):(a(oe,B,S),--B);break}if(--B>>1;s(E,Z);var X=0,Q=0;for(q=0;q=c)x(y,S,Q--,re=re-c|0);else if(re>=0)x(m,w,X--,re);else if(re<=-268435456){re=-re-c|0;for(var ie=0;ie>>1;s(E,Z);var X=0,Q=0,re=0;for(q=0;q>1==E[2*q+3]>>1&&(oe=2,q+=1),ie<0){for(var ue=-(ie>>1)-1,ce=0;ce>1)-1,oe===0?x(m,w,X--,ue):oe===1?x(y,S,Q--,ue):oe===2&&x(_,k,re--,ue)}},scanBipartite:function(L,b,R,I,O,z,F,B,N,W,j,$){var U=0,G=2*L,q=b,H=b+L,ne=1,te=1;I?te=c:ne=c;for(var Z=O;Z>>1;s(E,ie);var oe=0;for(Z=0;Z=c?(ce=!I,X-=c):(ce=!!I,X-=1),ce)A(m,w,oe++,X);else{var ye=$[X],de=G*X,me=j[de+b+1],pe=j[de+b+1+L];e:for(var xe=0;xe>>1;s(E,X);var Q=0;for(H=0;H=c)m[Q++]=ne-c;else{var ie=j[ne-=1],oe=U*ne,ue=W[oe+b+1],ce=W[oe+b+1+L];e:for(var ye=0;ye=0;--ye)if(m[ye]===ne){for(xe=ye+1;xe0;){for(var A=h.pop(),L=(k=-1,E=-1,S=w[y=h.pop()],1);L=0||(c.flip(y,A),o(s,c,h,k,y,E),o(s,c,h,y,E,k),o(s,c,h,E,A,k),o(s,c,h,A,k,E))}}},7098:function(f,l,a){var u,o=a(5070);function s(h,m,w,y,S,_,k){this.cells=h,this.neighbor=m,this.flags=y,this.constraint=w,this.active=S,this.next=_,this.boundary=k}function c(h,m){return h[0]-m[0]||h[1]-m[1]||h[2]-m[2]}f.exports=function(h,m,w){var y=function(F,B){for(var N=F.cells(),W=N.length,j=0;j0||k.length>0;){for(;_.length>0;){var b=_.pop();if(E[b]!==-S){E[b]=S,x[b];for(var R=0;R<3;++R){var I=L[3*b+R];I>=0&&E[I]===0&&(A[3*b+R]?k.push(I):(_.push(I),E[I]=S))}}}var O=k;k=_,_=O,k.length=0,S=-S}var z=function(F,B,N){for(var W=0,j=0;j1&&o(x[z[F-2]],x[z[F-1]],A)>0;)k.push([z[F-1],z[F-2],L]),F-=1;z.length=F,z.push(L);var B=O.upperIds;for(F=B.length;F>1&&o(x[B[F-2]],x[B[F-1]],A)<0;)k.push([B[F-2],B[F-1],L]),F-=1;B.length=F,B.push(L)}}function y(k,E){var x;return(x=k.a[0]O[0]&&L.push(new c(O,I,2,b),new c(I,O,1,b))}L.sort(h);for(var z=L[0].a[0]-(1+Math.abs(L[0].a[0]))*Math.pow(2,-52),F=[new s([z,1],[z,0],-1,[],[])],B=[],N=(b=0,L.length);b=0}}(),s.removeTriangle=function(h,m,w){var y=this.stars;c(y[h],m,w),c(y[m],w,h),c(y[w],h,m)},s.addTriangle=function(h,m,w){var y=this.stars;y[h].push(m,w),y[m].push(w,h),y[w].push(h,m)},s.opposite=function(h,m){for(var w=this.stars[m],y=1,S=w.length;yI[2]?1:0)}function L(R,I,O){if(R.length!==0){if(I)for(var z=0;z=0;--H){var ue=$[ne=(_e=G[H])[0]],ce=ue[0],ye=ue[1],de=j[ce],me=j[ye];if((de[0]-me[0]||de[1]-me[1])<0){var pe=ce;ce=ye,ye=pe}ue[0]=ce;var xe,Pe=ue[1]=_e[1];for(q&&(xe=ue[2]);H>0&&G[H-1][0]===ne;){var _e,Me=(_e=G[--H])[1];q?$.push([Pe,Me,xe]):$.push([Pe,Me]),Pe=Me}q?$.push([Pe,ye,xe]):$.push([Pe,ye])}return te}(R,I,F,B,O),W=E(R,N);return L(I,W,O),!!W||F.length>0||B.length>0}},5528:function(f,l,a){f.exports=function(S,_,k,E){var x=h(_,S),A=h(E,k),L=y(x,A);if(c(L)===0)return null;var b=y(A,h(S,k)),R=o(b,L),I=w(x,R);return m(S,I)};var u=a(3962),o=a(9189),s=a(4354),c=a(4951),h=a(6695),m=a(7584),w=a(4469);function y(S,_){return s(u(S[0],_[1]),u(S[1],_[0]))}},5692:function(f){f.exports={jet:[{index:0,rgb:[0,0,131]},{index:.125,rgb:[0,60,170]},{index:.375,rgb:[5,255,255]},{index:.625,rgb:[255,255,0]},{index:.875,rgb:[250,0,0]},{index:1,rgb:[128,0,0]}],hsv:[{index:0,rgb:[255,0,0]},{index:.169,rgb:[253,255,2]},{index:.173,rgb:[247,255,2]},{index:.337,rgb:[0,252,4]},{index:.341,rgb:[0,252,10]},{index:.506,rgb:[1,249,255]},{index:.671,rgb:[2,0,253]},{index:.675,rgb:[8,0,253]},{index:.839,rgb:[255,0,251]},{index:.843,rgb:[255,0,245]},{index:1,rgb:[255,0,6]}],hot:[{index:0,rgb:[0,0,0]},{index:.3,rgb:[230,0,0]},{index:.6,rgb:[255,210,0]},{index:1,rgb:[255,255,255]}],spring:[{index:0,rgb:[255,0,255]},{index:1,rgb:[255,255,0]}],summer:[{index:0,rgb:[0,128,102]},{index:1,rgb:[255,255,102]}],autumn:[{index:0,rgb:[255,0,0]},{index:1,rgb:[255,255,0]}],winter:[{index:0,rgb:[0,0,255]},{index:1,rgb:[0,255,128]}],bone:[{index:0,rgb:[0,0,0]},{index:.376,rgb:[84,84,116]},{index:.753,rgb:[169,200,200]},{index:1,rgb:[255,255,255]}],copper:[{index:0,rgb:[0,0,0]},{index:.804,rgb:[255,160,102]},{index:1,rgb:[255,199,127]}],greys:[{index:0,rgb:[0,0,0]},{index:1,rgb:[255,255,255]}],yignbu:[{index:0,rgb:[8,29,88]},{index:.125,rgb:[37,52,148]},{index:.25,rgb:[34,94,168]},{index:.375,rgb:[29,145,192]},{index:.5,rgb:[65,182,196]},{index:.625,rgb:[127,205,187]},{index:.75,rgb:[199,233,180]},{index:.875,rgb:[237,248,217]},{index:1,rgb:[255,255,217]}],greens:[{index:0,rgb:[0,68,27]},{index:.125,rgb:[0,109,44]},{index:.25,rgb:[35,139,69]},{index:.375,rgb:[65,171,93]},{index:.5,rgb:[116,196,118]},{index:.625,rgb:[161,217,155]},{index:.75,rgb:[199,233,192]},{index:.875,rgb:[229,245,224]},{index:1,rgb:[247,252,245]}],yiorrd:[{index:0,rgb:[128,0,38]},{index:.125,rgb:[189,0,38]},{index:.25,rgb:[227,26,28]},{index:.375,rgb:[252,78,42]},{index:.5,rgb:[253,141,60]},{index:.625,rgb:[254,178,76]},{index:.75,rgb:[254,217,118]},{index:.875,rgb:[255,237,160]},{index:1,rgb:[255,255,204]}],bluered:[{index:0,rgb:[0,0,255]},{index:1,rgb:[255,0,0]}],rdbu:[{index:0,rgb:[5,10,172]},{index:.35,rgb:[106,137,247]},{index:.5,rgb:[190,190,190]},{index:.6,rgb:[220,170,132]},{index:.7,rgb:[230,145,90]},{index:1,rgb:[178,10,28]}],picnic:[{index:0,rgb:[0,0,255]},{index:.1,rgb:[51,153,255]},{index:.2,rgb:[102,204,255]},{index:.3,rgb:[153,204,255]},{index:.4,rgb:[204,204,255]},{index:.5,rgb:[255,255,255]},{index:.6,rgb:[255,204,255]},{index:.7,rgb:[255,153,255]},{index:.8,rgb:[255,102,204]},{index:.9,rgb:[255,102,102]},{index:1,rgb:[255,0,0]}],rainbow:[{index:0,rgb:[150,0,90]},{index:.125,rgb:[0,0,200]},{index:.25,rgb:[0,25,255]},{index:.375,rgb:[0,152,255]},{index:.5,rgb:[44,255,150]},{index:.625,rgb:[151,255,0]},{index:.75,rgb:[255,234,0]},{index:.875,rgb:[255,111,0]},{index:1,rgb:[255,0,0]}],portland:[{index:0,rgb:[12,51,131]},{index:.25,rgb:[10,136,186]},{index:.5,rgb:[242,211,56]},{index:.75,rgb:[242,143,56]},{index:1,rgb:[217,30,30]}],blackbody:[{index:0,rgb:[0,0,0]},{index:.2,rgb:[230,0,0]},{index:.4,rgb:[230,210,0]},{index:.7,rgb:[255,255,255]},{index:1,rgb:[160,200,255]}],earth:[{index:0,rgb:[0,0,130]},{index:.1,rgb:[0,180,180]},{index:.2,rgb:[40,210,40]},{index:.4,rgb:[230,230,50]},{index:.6,rgb:[120,70,20]},{index:1,rgb:[255,255,255]}],electric:[{index:0,rgb:[0,0,0]},{index:.15,rgb:[30,0,100]},{index:.4,rgb:[120,0,100]},{index:.6,rgb:[160,90,0]},{index:.8,rgb:[230,200,0]},{index:1,rgb:[255,250,220]}],alpha:[{index:0,rgb:[255,255,255,0]},{index:1,rgb:[255,255,255,1]}],viridis:[{index:0,rgb:[68,1,84]},{index:.13,rgb:[71,44,122]},{index:.25,rgb:[59,81,139]},{index:.38,rgb:[44,113,142]},{index:.5,rgb:[33,144,141]},{index:.63,rgb:[39,173,129]},{index:.75,rgb:[92,200,99]},{index:.88,rgb:[170,220,50]},{index:1,rgb:[253,231,37]}],inferno:[{index:0,rgb:[0,0,4]},{index:.13,rgb:[31,12,72]},{index:.25,rgb:[85,15,109]},{index:.38,rgb:[136,34,106]},{index:.5,rgb:[186,54,85]},{index:.63,rgb:[227,89,51]},{index:.75,rgb:[249,140,10]},{index:.88,rgb:[249,201,50]},{index:1,rgb:[252,255,164]}],magma:[{index:0,rgb:[0,0,4]},{index:.13,rgb:[28,16,68]},{index:.25,rgb:[79,18,123]},{index:.38,rgb:[129,37,129]},{index:.5,rgb:[181,54,122]},{index:.63,rgb:[229,80,100]},{index:.75,rgb:[251,135,97]},{index:.88,rgb:[254,194,135]},{index:1,rgb:[252,253,191]}],plasma:[{index:0,rgb:[13,8,135]},{index:.13,rgb:[75,3,161]},{index:.25,rgb:[125,3,168]},{index:.38,rgb:[168,34,150]},{index:.5,rgb:[203,70,121]},{index:.63,rgb:[229,107,93]},{index:.75,rgb:[248,148,65]},{index:.88,rgb:[253,195,40]},{index:1,rgb:[240,249,33]}],warm:[{index:0,rgb:[125,0,179]},{index:.13,rgb:[172,0,187]},{index:.25,rgb:[219,0,170]},{index:.38,rgb:[255,0,130]},{index:.5,rgb:[255,63,74]},{index:.63,rgb:[255,123,0]},{index:.75,rgb:[234,176,0]},{index:.88,rgb:[190,228,0]},{index:1,rgb:[147,255,0]}],cool:[{index:0,rgb:[125,0,179]},{index:.13,rgb:[116,0,218]},{index:.25,rgb:[98,74,237]},{index:.38,rgb:[68,146,231]},{index:.5,rgb:[0,204,197]},{index:.63,rgb:[0,247,146]},{index:.75,rgb:[0,255,88]},{index:.88,rgb:[40,255,8]},{index:1,rgb:[147,255,0]}],"rainbow-soft":[{index:0,rgb:[125,0,179]},{index:.1,rgb:[199,0,180]},{index:.2,rgb:[255,0,121]},{index:.3,rgb:[255,108,0]},{index:.4,rgb:[222,194,0]},{index:.5,rgb:[150,255,0]},{index:.6,rgb:[0,255,55]},{index:.7,rgb:[0,246,150]},{index:.8,rgb:[50,167,222]},{index:.9,rgb:[103,51,235]},{index:1,rgb:[124,0,186]}],bathymetry:[{index:0,rgb:[40,26,44]},{index:.13,rgb:[59,49,90]},{index:.25,rgb:[64,76,139]},{index:.38,rgb:[63,110,151]},{index:.5,rgb:[72,142,158]},{index:.63,rgb:[85,174,163]},{index:.75,rgb:[120,206,163]},{index:.88,rgb:[187,230,172]},{index:1,rgb:[253,254,204]}],cdom:[{index:0,rgb:[47,15,62]},{index:.13,rgb:[87,23,86]},{index:.25,rgb:[130,28,99]},{index:.38,rgb:[171,41,96]},{index:.5,rgb:[206,67,86]},{index:.63,rgb:[230,106,84]},{index:.75,rgb:[242,149,103]},{index:.88,rgb:[249,193,135]},{index:1,rgb:[254,237,176]}],chlorophyll:[{index:0,rgb:[18,36,20]},{index:.13,rgb:[25,63,41]},{index:.25,rgb:[24,91,59]},{index:.38,rgb:[13,119,72]},{index:.5,rgb:[18,148,80]},{index:.63,rgb:[80,173,89]},{index:.75,rgb:[132,196,122]},{index:.88,rgb:[175,221,162]},{index:1,rgb:[215,249,208]}],density:[{index:0,rgb:[54,14,36]},{index:.13,rgb:[89,23,80]},{index:.25,rgb:[110,45,132]},{index:.38,rgb:[120,77,178]},{index:.5,rgb:[120,113,213]},{index:.63,rgb:[115,151,228]},{index:.75,rgb:[134,185,227]},{index:.88,rgb:[177,214,227]},{index:1,rgb:[230,241,241]}],"freesurface-blue":[{index:0,rgb:[30,4,110]},{index:.13,rgb:[47,14,176]},{index:.25,rgb:[41,45,236]},{index:.38,rgb:[25,99,212]},{index:.5,rgb:[68,131,200]},{index:.63,rgb:[114,156,197]},{index:.75,rgb:[157,181,203]},{index:.88,rgb:[200,208,216]},{index:1,rgb:[241,237,236]}],"freesurface-red":[{index:0,rgb:[60,9,18]},{index:.13,rgb:[100,17,27]},{index:.25,rgb:[142,20,29]},{index:.38,rgb:[177,43,27]},{index:.5,rgb:[192,87,63]},{index:.63,rgb:[205,125,105]},{index:.75,rgb:[216,162,148]},{index:.88,rgb:[227,199,193]},{index:1,rgb:[241,237,236]}],oxygen:[{index:0,rgb:[64,5,5]},{index:.13,rgb:[106,6,15]},{index:.25,rgb:[144,26,7]},{index:.38,rgb:[168,64,3]},{index:.5,rgb:[188,100,4]},{index:.63,rgb:[206,136,11]},{index:.75,rgb:[220,174,25]},{index:.88,rgb:[231,215,44]},{index:1,rgb:[248,254,105]}],par:[{index:0,rgb:[51,20,24]},{index:.13,rgb:[90,32,35]},{index:.25,rgb:[129,44,34]},{index:.38,rgb:[159,68,25]},{index:.5,rgb:[182,99,19]},{index:.63,rgb:[199,134,22]},{index:.75,rgb:[212,171,35]},{index:.88,rgb:[221,210,54]},{index:1,rgb:[225,253,75]}],phase:[{index:0,rgb:[145,105,18]},{index:.13,rgb:[184,71,38]},{index:.25,rgb:[186,58,115]},{index:.38,rgb:[160,71,185]},{index:.5,rgb:[110,97,218]},{index:.63,rgb:[50,123,164]},{index:.75,rgb:[31,131,110]},{index:.88,rgb:[77,129,34]},{index:1,rgb:[145,105,18]}],salinity:[{index:0,rgb:[42,24,108]},{index:.13,rgb:[33,50,162]},{index:.25,rgb:[15,90,145]},{index:.38,rgb:[40,118,137]},{index:.5,rgb:[59,146,135]},{index:.63,rgb:[79,175,126]},{index:.75,rgb:[120,203,104]},{index:.88,rgb:[193,221,100]},{index:1,rgb:[253,239,154]}],temperature:[{index:0,rgb:[4,35,51]},{index:.13,rgb:[23,51,122]},{index:.25,rgb:[85,59,157]},{index:.38,rgb:[129,79,143]},{index:.5,rgb:[175,95,130]},{index:.63,rgb:[222,112,101]},{index:.75,rgb:[249,146,66]},{index:.88,rgb:[249,196,65]},{index:1,rgb:[232,250,91]}],turbidity:[{index:0,rgb:[34,31,27]},{index:.13,rgb:[65,50,41]},{index:.25,rgb:[98,69,52]},{index:.38,rgb:[131,89,57]},{index:.5,rgb:[161,112,59]},{index:.63,rgb:[185,140,66]},{index:.75,rgb:[202,174,88]},{index:.88,rgb:[216,209,126]},{index:1,rgb:[233,246,171]}],"velocity-blue":[{index:0,rgb:[17,32,64]},{index:.13,rgb:[35,52,116]},{index:.25,rgb:[29,81,156]},{index:.38,rgb:[31,113,162]},{index:.5,rgb:[50,144,169]},{index:.63,rgb:[87,173,176]},{index:.75,rgb:[149,196,189]},{index:.88,rgb:[203,221,211]},{index:1,rgb:[254,251,230]}],"velocity-green":[{index:0,rgb:[23,35,19]},{index:.13,rgb:[24,64,38]},{index:.25,rgb:[11,95,45]},{index:.38,rgb:[39,123,35]},{index:.5,rgb:[95,146,12]},{index:.63,rgb:[152,165,18]},{index:.75,rgb:[201,186,69]},{index:.88,rgb:[233,216,137]},{index:1,rgb:[255,253,205]}],cubehelix:[{index:0,rgb:[0,0,0]},{index:.07,rgb:[22,5,59]},{index:.13,rgb:[60,4,105]},{index:.2,rgb:[109,1,135]},{index:.27,rgb:[161,0,147]},{index:.33,rgb:[210,2,142]},{index:.4,rgb:[251,11,123]},{index:.47,rgb:[255,29,97]},{index:.53,rgb:[255,54,69]},{index:.6,rgb:[255,85,46]},{index:.67,rgb:[255,120,34]},{index:.73,rgb:[255,157,37]},{index:.8,rgb:[241,191,57]},{index:.87,rgb:[224,220,93]},{index:.93,rgb:[218,241,142]},{index:1,rgb:[227,253,198]}]}},9156:function(f,l,a){var u=a(5692),o=a(3578);function s(m){return[m[0]/255,m[1]/255,m[2]/255,m[3]]}function c(m){for(var w,y="#",S=0;S<3;++S)y+=("00"+(w=(w=m[S]).toString(16))).substr(w.length);return y}function h(m){return"rgba("+m.join(",")+")"}f.exports=function(m){var w,y,S,_,k,E,x,A,L,b;if(m||(m={}),A=(m.nshades||72)-1,x=m.format||"hex",(E=m.colormap)||(E="jet"),typeof E=="string"){if(E=E.toLowerCase(),!u[E])throw Error(E+" not a supported colorscale");k=u[E]}else{if(!Array.isArray(E))throw Error("unsupported colormap option",E);k=E.slice()}if(k.length>A+1)throw new Error(E+" map requires nshades to be at least size "+k.length);L=Array.isArray(m.alpha)?m.alpha.length!==2?[1,1]:m.alpha.slice():typeof m.alpha=="number"?[m.alpha,m.alpha]:[1,1],w=k.map(function(F){return Math.round(F.index*A)}),L[0]=Math.min(Math.max(L[0],0),1),L[1]=Math.min(Math.max(L[1],0),1);var R=k.map(function(F,B){var N=k[B].index,W=k[B].rgb.slice();return W.length===4&&W[3]>=0&&W[3]<=1||(W[3]=L[0]+(L[1]-L[0])*N),W}),I=[];for(b=0;b0||m(w,y,_)?-1:1:E===0?x>0||m(w,y,S)?1:-1:o(x-E)}var L=u(w,y,S);return L>0?k>0&&u(w,y,_)>0?1:-1:L<0?k>0||u(w,y,_)>0?1:-1:u(w,y,_)>0||m(w,y,S)?1:-1};var u=a(417),o=a(7538),s=a(87),c=a(2019),h=a(9662);function m(w,y,S){var _=s(w[0],-y[0]),k=s(w[1],-y[1]),E=s(S[0],-y[0]),x=s(S[1],-y[1]),A=h(c(_,E),c(k,x));return A[A.length-1]>=0}},7538:function(f){f.exports=function(l){return l<0?-1:l>0?1:0}},9209:function(f){f.exports=function(u,o){var s=u.length,c=u.length-o.length;if(c)return c;switch(s){case 0:return 0;case 1:return u[0]-o[0];case 2:return u[0]+u[1]-o[0]-o[1]||l(u[0],u[1])-l(o[0],o[1]);case 3:var h=u[0]+u[1],m=o[0]+o[1];if(c=h+u[2]-(m+o[2]))return c;var w=l(u[0],u[1]),y=l(o[0],o[1]);return l(w,u[2])-l(y,o[2])||l(w+u[2],h)-l(y+o[2],m);case 4:var S=u[0],_=u[1],k=u[2],E=u[3],x=o[0],A=o[1],L=o[2],b=o[3];return S+_+k+E-(x+A+L+b)||l(S,_,k,E)-l(x,A,L,b,x)||l(S+_,S+k,S+E,_+k,_+E,k+E)-l(x+A,x+L,x+b,A+L,A+b,L+b)||l(S+_+k,S+_+E,S+k+E,_+k+E)-l(x+A+L,x+A+b,x+L+b,A+L+b);default:for(var R=u.slice().sort(a),I=o.slice().sort(a),O=0;Ol[u][0]&&(u=o);return au?[[u],[a]]:[[a]]}},8722:function(f,l,a){f.exports=function(o){var s=u(o),c=s.length;if(c<=2)return[];for(var h=new Array(c),m=s[c-1],w=0;w=S[b]&&(L+=1);x[A]=L}}return y}(u(m,!0),h)}};var u=a(2183),o=a(2153)},9680:function(f){f.exports=function(l,a,u,o,s,c){var h=s-1,m=s*s,w=h*h,y=(1+2*s)*w,S=s*w,_=m*(3-2*s),k=m*h;if(l.length){c||(c=new Array(l.length));for(var E=l.length-1;E>=0;--E)c[E]=y*l[E]+S*a[E]+_*u[E]+k*o[E];return c}return y*l+S*a+_*u+k*o},f.exports.derivative=function(l,a,u,o,s,c){var h=6*s*s-6*s,m=3*s*s-4*s+1,w=-6*s*s+6*s,y=3*s*s-2*s;if(l.length){c||(c=new Array(l.length));for(var S=l.length-1;S>=0;--S)c[S]=h*l[S]+m*a[S]+w*u[S]+y*o[S];return c}return h*l+m*a+w*u[S]+y*o}},4419:function(f,l,a){var u=a(2183),o=a(1215);function s(h,m){this.point=h,this.index=m}function c(h,m){for(var w=h.point,y=m.point,S=w.length,_=0;_=2)return!1;N[j]=$}return!0}):B.filter(function(N){for(var W=0;W<=y;++W){var j=I[N[W]];if(j<0)return!1;N[W]=j}return!0}),1&y)for(k=0;k>>31},f.exports.exponent=function(s){return(f.exports.hi(s)<<1>>>21)-1023},f.exports.fraction=function(s){var c=f.exports.lo(s),h=f.exports.hi(s),m=1048575&h;return 2146435072&h&&(m+=1048576),[c,m]},f.exports.denormalized=function(s){return!(2146435072&f.exports.hi(s))}},3094:function(f){function l(a,u,o){var s=0|a[o];if(s<=0)return[];var c,h=new Array(s);if(o===a.length-1)for(c=0;c0)return function(o,s){var c,h;for(c=new Array(o),h=0;h=S-1){b=E.length-1;var I=w-y[S-1];for(R=0;R=S-1)for(var L=E.length-1,b=(y[S-1],0);b=0;--S)if(w[--y])return!1;return!0},h.jump=function(w){var y=this.lastT(),S=this.dimension;if(!(w0;--R)_.push(s(A[R-1],L[R-1],arguments[R])),k.push(0)}},h.push=function(w){var y=this.lastT(),S=this.dimension;if(!(w1e-6?1/x:0;this._time.push(w);for(var I=S;I>0;--I){var O=s(L[I-1],b[I-1],arguments[I]);_.push(O),k.push((O-_[E++])*R)}}},h.set=function(w){var y=this.dimension;if(!(w0;--A)S.push(s(E[A-1],x[A-1],arguments[A])),_.push(0)}},h.move=function(w){var y=this.lastT(),S=this.dimension;if(!(w<=y||arguments.length!==S+1)){var _=this._state,k=this._velocity,E=_.length-this.dimension,x=this.bounds,A=x[0],L=x[1],b=w-y,R=b>1e-6?1/b:0;this._time.push(w);for(var I=S;I>0;--I){var O=arguments[I];_.push(s(A[I-1],L[I-1],_[E++]+O)),k.push(O*R)}}},h.idle=function(w){var y=this.lastT();if(!(w=0;--R)_.push(s(A[R],L[R],_[E]+b*k[E])),k.push(0),E+=1}}},7080:function(f){function l(E,x,A,L,b,R){this._color=E,this.key=x,this.value=A,this.left=L,this.right=b,this._count=R}function a(E){return new l(E._color,E.key,E.value,E.left,E.right,E._count)}function u(E,x){return new l(E,x.key,x.value,x.left,x.right,x._count)}function o(E){E._count=1+(E.left?E.left._count:0)+(E.right?E.right._count:0)}function s(E,x){this._compare=E,this.root=x}f.exports=function(E){return new s(E||k,null)};var c=s.prototype;function h(E,x){var A;return x.left&&(A=h(E,x.left))?A:(A=E(x.key,x.value))||(x.right?h(E,x.right):void 0)}function m(E,x,A,L){if(x(E,L.key)<=0){var b;if(L.left&&(b=m(E,x,A,L.left))||(b=A(L.key,L.value)))return b}if(L.right)return m(E,x,A,L.right)}function w(E,x,A,L,b){var R,I=A(E,b.key),O=A(x,b.key);if(I<=0&&(b.left&&(R=w(E,x,A,L,b.left))||O>0&&(R=L(b.key,b.value))))return R;if(O>0&&b.right)return w(E,x,A,L,b.right)}function y(E,x){this.tree=E,this._stack=x}Object.defineProperty(c,"keys",{get:function(){var E=[];return this.forEach(function(x,A){E.push(x)}),E}}),Object.defineProperty(c,"values",{get:function(){var E=[];return this.forEach(function(x,A){E.push(A)}),E}}),Object.defineProperty(c,"length",{get:function(){return this.root?this.root._count:0}}),c.insert=function(E,x){for(var A=this._compare,L=this.root,b=[],R=[];L;){var I=A(E,L.key);b.push(L),R.push(I),L=I<=0?L.left:L.right}b.push(new l(0,E,x,null,null,1));for(var O=b.length-2;O>=0;--O)L=b[O],R[O]<=0?b[O]=new l(L._color,L.key,L.value,b[O+1],L.right,L._count+1):b[O]=new l(L._color,L.key,L.value,L.left,b[O+1],L._count+1);for(O=b.length-1;O>1;--O){var z=b[O-1];if(L=b[O],z._color===1||L._color===1)break;var F=b[O-2];if(F.left===z)if(z.left===L){if(!(B=F.right)||B._color!==0){F._color=0,F.left=z.right,z._color=1,z.right=F,b[O-2]=z,b[O-1]=L,o(F),o(z),O>=3&&((N=b[O-3]).left===F?N.left=z:N.right=z);break}z._color=1,F.right=u(1,B),F._color=0,O-=1}else{if(!(B=F.right)||B._color!==0){z.right=L.left,F._color=0,F.left=L.right,L._color=1,L.left=z,L.right=F,b[O-2]=L,b[O-1]=z,o(F),o(z),o(L),O>=3&&((N=b[O-3]).left===F?N.left=L:N.right=L);break}z._color=1,F.right=u(1,B),F._color=0,O-=1}else if(z.right===L){if(!(B=F.left)||B._color!==0){F._color=0,F.right=z.left,z._color=1,z.left=F,b[O-2]=z,b[O-1]=L,o(F),o(z),O>=3&&((N=b[O-3]).right===F?N.right=z:N.left=z);break}z._color=1,F.left=u(1,B),F._color=0,O-=1}else{var B;if(!(B=F.left)||B._color!==0){var N;z.left=L.right,F._color=0,F.right=L.left,L._color=1,L.right=z,L.left=F,b[O-2]=L,b[O-1]=z,o(F),o(z),o(L),O>=3&&((N=b[O-3]).right===F?N.right=L:N.left=L);break}z._color=1,F.left=u(1,B),F._color=0,O-=1}}return b[0]._color=1,new s(A,b[0])},c.forEach=function(E,x,A){if(this.root)switch(arguments.length){case 1:return h(E,this.root);case 2:return m(x,this._compare,E,this.root);case 3:return this._compare(x,A)>=0?void 0:w(x,A,this._compare,E,this.root)}},Object.defineProperty(c,"begin",{get:function(){for(var E=[],x=this.root;x;)E.push(x),x=x.left;return new y(this,E)}}),Object.defineProperty(c,"end",{get:function(){for(var E=[],x=this.root;x;)E.push(x),x=x.right;return new y(this,E)}}),c.at=function(E){if(E<0)return new y(this,[]);for(var x=this.root,A=[];;){if(A.push(x),x.left){if(E=x.right._count)break;x=x.right}return new y(this,[])},c.ge=function(E){for(var x=this._compare,A=this.root,L=[],b=0;A;){var R=x(E,A.key);L.push(A),R<=0&&(b=L.length),A=R<=0?A.left:A.right}return L.length=b,new y(this,L)},c.gt=function(E){for(var x=this._compare,A=this.root,L=[],b=0;A;){var R=x(E,A.key);L.push(A),R<0&&(b=L.length),A=R<0?A.left:A.right}return L.length=b,new y(this,L)},c.lt=function(E){for(var x=this._compare,A=this.root,L=[],b=0;A;){var R=x(E,A.key);L.push(A),R>0&&(b=L.length),A=R<=0?A.left:A.right}return L.length=b,new y(this,L)},c.le=function(E){for(var x=this._compare,A=this.root,L=[],b=0;A;){var R=x(E,A.key);L.push(A),R>=0&&(b=L.length),A=R<0?A.left:A.right}return L.length=b,new y(this,L)},c.find=function(E){for(var x=this._compare,A=this.root,L=[];A;){var b=x(E,A.key);if(L.push(A),b===0)return new y(this,L);A=b<=0?A.left:A.right}return new y(this,[])},c.remove=function(E){var x=this.find(E);return x?x.remove():this},c.get=function(E){for(var x=this._compare,A=this.root;A;){var L=x(E,A.key);if(L===0)return A.value;A=L<=0?A.left:A.right}};var S=y.prototype;function _(E,x){E.key=x.key,E.value=x.value,E.left=x.left,E.right=x.right,E._color=x._color,E._count=x._count}function k(E,x){return Ex?1:0}Object.defineProperty(S,"valid",{get:function(){return this._stack.length>0}}),Object.defineProperty(S,"node",{get:function(){return this._stack.length>0?this._stack[this._stack.length-1]:null},enumerable:!0}),S.clone=function(){return new y(this.tree,this._stack.slice())},S.remove=function(){var E=this._stack;if(E.length===0)return this.tree;var x=new Array(E.length),A=E[E.length-1];x[x.length-1]=new l(A._color,A.key,A.value,A.left,A.right,A._count);for(var L=E.length-2;L>=0;--L)(A=E[L]).left===E[L+1]?x[L]=new l(A._color,A.key,A.value,x[L+1],A.right,A._count):x[L]=new l(A._color,A.key,A.value,A.left,x[L+1],A._count);if((A=x[x.length-1]).left&&A.right){var b=x.length;for(A=A.left;A.right;)x.push(A),A=A.right;var R=x[b-1];for(x.push(new l(A._color,R.key,R.value,A.left,A.right,A._count)),x[b-1].key=A.key,x[b-1].value=A.value,L=x.length-2;L>=b;--L)A=x[L],x[L]=new l(A._color,A.key,A.value,A.left,x[L+1],A._count);x[b-1].left=x[b]}if((A=x[x.length-1])._color===0){var I=x[x.length-2];for(I.left===A?I.left=null:I.right===A&&(I.right=null),x.pop(),L=0;L=0;--j){if(F=z[j],j===0)return void(F._color=1);if((B=z[j-1]).left===F){if((N=B.right).right&&N.right._color===0)return W=(N=B.right=a(N)).right=a(N.right),B.right=N.left,N.left=B,N.right=W,N._color=B._color,F._color=1,B._color=1,W._color=1,o(B),o(N),j>1&&(($=z[j-2]).left===B?$.left=N:$.right=N),void(z[j-1]=N);if(N.left&&N.left._color===0)return W=(N=B.right=a(N)).left=a(N.left),B.right=W.left,N.left=W.right,W.left=B,W.right=N,W._color=B._color,B._color=1,N._color=1,F._color=1,o(B),o(N),o(W),j>1&&(($=z[j-2]).left===B?$.left=W:$.right=W),void(z[j-1]=W);if(N._color===1){if(B._color===0)return B._color=1,void(B.right=u(0,N));B.right=u(0,N);continue}N=a(N),B.right=N.left,N.left=B,N._color=B._color,B._color=0,o(B),o(N),j>1&&(($=z[j-2]).left===B?$.left=N:$.right=N),z[j-1]=N,z[j]=B,j+11&&(($=z[j-2]).right===B?$.right=N:$.left=N),void(z[j-1]=N);if(N.right&&N.right._color===0)return W=(N=B.left=a(N)).right=a(N.right),B.left=W.right,N.right=W.left,W.right=B,W.left=N,W._color=B._color,B._color=1,N._color=1,F._color=1,o(B),o(N),o(W),j>1&&(($=z[j-2]).right===B?$.right=W:$.left=W),void(z[j-1]=W);if(N._color===1){if(B._color===0)return B._color=1,void(B.left=u(0,N));B.left=u(0,N);continue}var $;N=a(N),B.left=N.right,N.right=B,N._color=B._color,B._color=0,o(B),o(N),j>1&&(($=z[j-2]).right===B?$.right=N:$.left=N),z[j-1]=N,z[j]=B,j+10)return this._stack[this._stack.length-1].key},enumerable:!0}),Object.defineProperty(S,"value",{get:function(){if(this._stack.length>0)return this._stack[this._stack.length-1].value},enumerable:!0}),Object.defineProperty(S,"index",{get:function(){var E=0,x=this._stack;if(x.length===0){var A=this.tree.root;return A?A._count:0}x[x.length-1].left&&(E=x[x.length-1].left._count);for(var L=x.length-2;L>=0;--L)x[L+1]===x[L].right&&(++E,x[L].left&&(E+=x[L].left._count));return E},enumerable:!0}),S.next=function(){var E=this._stack;if(E.length!==0){var x=E[E.length-1];if(x.right)for(x=x.right;x;)E.push(x),x=x.left;else for(E.pop();E.length>0&&E[E.length-1].right===x;)x=E[E.length-1],E.pop()}},Object.defineProperty(S,"hasNext",{get:function(){var E=this._stack;if(E.length===0)return!1;if(E[E.length-1].right)return!0;for(var x=E.length-1;x>0;--x)if(E[x-1].left===E[x])return!0;return!1}}),S.update=function(E){var x=this._stack;if(x.length===0)throw new Error("Can't update empty node!");var A=new Array(x.length),L=x[x.length-1];A[A.length-1]=new l(L._color,L.key,E,L.left,L.right,L._count);for(var b=x.length-2;b>=0;--b)(L=x[b]).left===x[b+1]?A[b]=new l(L._color,L.key,L.value,A[b+1],L.right,L._count):A[b]=new l(L._color,L.key,L.value,L.left,A[b+1],L._count);return new s(this.tree._compare,A[0])},S.prev=function(){var E=this._stack;if(E.length!==0){var x=E[E.length-1];if(x.left)for(x=x.left;x;)E.push(x),x=x.right;else for(E.pop();E.length>0&&E[E.length-1].left===x;)x=E[E.length-1],E.pop()}},Object.defineProperty(S,"hasPrev",{get:function(){var E=this._stack;if(E.length===0)return!1;if(E[E.length-1].left)return!0;for(var x=E.length-1;x>0;--x)if(E[x-1].right===E[x])return!0;return!1}})},7453:function(f,l,a){f.exports=function(I,O){var z=new y(I);return z.update(O),z};var u=a(9557),o=a(1681),s=a(1011),c=a(2864),h=a(8468),m=new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]);function w(I,O){return I[0]=O[0],I[1]=O[1],I[2]=O[2],I}function y(I){this.gl=I,this.pixelRatio=1,this.bounds=[[-10,-10,-10],[10,10,10]],this.ticks=[[],[],[]],this.autoTicks=!0,this.tickSpacing=[1,1,1],this.tickEnable=[!0,!0,!0],this.tickFont=["sans-serif","sans-serif","sans-serif"],this.tickSize=[12,12,12],this.tickAngle=[0,0,0],this.tickAlign=["auto","auto","auto"],this.tickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.tickPad=[10,10,10],this.lastCubeProps={cubeEdges:[0,0,0],axis:[0,0,0]},this.labels=["x","y","z"],this.labelEnable=[!0,!0,!0],this.labelFont="sans-serif",this.labelSize=[20,20,20],this.labelAngle=[0,0,0],this.labelAlign=["auto","auto","auto"],this.labelColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.labelPad=[10,10,10],this.lineEnable=[!0,!0,!0],this.lineMirror=[!1,!1,!1],this.lineWidth=[1,1,1],this.lineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.lineTickEnable=[!0,!0,!0],this.lineTickMirror=[!1,!1,!1],this.lineTickLength=[0,0,0],this.lineTickWidth=[1,1,1],this.lineTickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.gridEnable=[!0,!0,!0],this.gridWidth=[1,1,1],this.gridColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroEnable=[!0,!0,!0],this.zeroLineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroLineWidth=[2,2,2],this.backgroundEnable=[!1,!1,!1],this.backgroundColor=[[.8,.8,.8,.5],[.8,.8,.8,.5],[.8,.8,.8,.5]],this._firstInit=!0,this._text=null,this._lines=null,this._background=s(I)}var S=y.prototype;function _(){this.primalOffset=[0,0,0],this.primalMinor=[0,0,0],this.mirrorOffset=[0,0,0],this.mirrorMinor=[0,0,0]}S.update=function(I){function O(ne,te,Z){if(Z in I){var X,Q=I[Z],re=this[Z];(ne?Array.isArray(Q)&&Array.isArray(Q[0]):Array.isArray(Q))?this[Z]=X=[te(Q[0]),te(Q[1]),te(Q[2])]:this[Z]=X=[te(Q),te(Q),te(Q)];for(var ie=0;ie<3;++ie)if(X[ie]!==re[ie])return!0}return!1}I=I||{};var z,F=O.bind(this,!1,Number),B=O.bind(this,!1,Boolean),N=O.bind(this,!1,String),W=O.bind(this,!0,function(ne){if(Array.isArray(ne)){if(ne.length===3)return[+ne[0],+ne[1],+ne[2],1];if(ne.length===4)return[+ne[0],+ne[1],+ne[2],+ne[3]]}return[0,0,0,1]}),j=!1,$=!1;if("bounds"in I)for(var U=I.bounds,G=0;G<2;++G)for(var q=0;q<3;++q)U[G][q]!==this.bounds[G][q]&&($=!0),this.bounds[G][q]=U[G][q];if("ticks"in I)for(z=I.ticks,j=!0,this.autoTicks=!1,G=0;G<3;++G)this.tickSpacing[G]=0;else F("tickSpacing")&&(this.autoTicks=!0,$=!0);if(this._firstInit&&("ticks"in I||"tickSpacing"in I||(this.autoTicks=!0),$=!0,j=!0,this._firstInit=!1),$&&this.autoTicks&&(z=h.create(this.bounds,this.tickSpacing),j=!0),j){for(G=0;G<3;++G)z[G].sort(function(ne,te){return ne.x-te.x});h.equal(z,this.ticks)?j=!1:this.ticks=z}B("tickEnable"),N("tickFont")&&(j=!0),F("tickSize"),F("tickAngle"),F("tickPad"),W("tickColor");var H=N("labels");N("labelFont")&&(H=!0),B("labelEnable"),F("labelSize"),F("labelPad"),W("labelColor"),B("lineEnable"),B("lineMirror"),F("lineWidth"),W("lineColor"),B("lineTickEnable"),B("lineTickMirror"),F("lineTickLength"),F("lineTickWidth"),W("lineTickColor"),B("gridEnable"),F("gridWidth"),W("gridColor"),B("zeroEnable"),W("zeroLineColor"),F("zeroLineWidth"),B("backgroundEnable"),W("backgroundColor"),this._text?this._text&&(H||j)&&this._text.update(this.bounds,this.labels,this.labelFont,this.ticks,this.tickFont):this._text=u(this.gl,this.bounds,this.labels,this.labelFont,this.ticks,this.tickFont),this._lines&&j&&(this._lines.dispose(),this._lines=null),this._lines||(this._lines=o(this.gl,this.bounds,this.ticks))};var k=[new _,new _,new _];function E(I,O,z,F,B){for(var N=I.primalOffset,W=I.primalMinor,j=I.mirrorOffset,$=I.mirrorMinor,U=F[O],G=0;G<3;++G)if(O!==G){var q=N,H=j,ne=W,te=$;U&1<0?(ne[G]=-1,te[G]=0):(ne[G]=0,te[G]=1)}}var x=[0,0,0],A={model:m,view:m,projection:m,_ortho:!1};S.isOpaque=function(){return!0},S.isTransparent=function(){return!1},S.drawTransparent=function(I){};var L=[0,0,0],b=[0,0,0],R=[0,0,0];S.draw=function(I){I=I||A;for(var O=this.gl,z=I.model||m,F=I.view||m,B=I.projection||m,N=this.bounds,W=I._ortho||!1,j=c(z,F,B,N,W),$=j.cubeEdges,U=j.axis,G=F[12],q=F[13],H=F[14],ne=F[15],te=(W?2:1)*this.pixelRatio*(B[3]*G+B[7]*q+B[11]*H+B[15]*ne)/O.drawingBufferHeight,Z=0;Z<3;++Z)this.lastCubeProps.cubeEdges[Z]=$[Z],this.lastCubeProps.axis[Z]=U[Z];var X=k;for(Z=0;Z<3;++Z)E(k[Z],Z,this.bounds,$,U);O=this.gl;var Q,re,ie,oe=x;for(Z=0;Z<3;++Z)this.backgroundEnable[Z]?oe[Z]=U[Z]:oe[Z]=0;for(this._background.draw(z,F,B,N,oe,this.backgroundColor),this._lines.bind(z,F,B,this),Z=0;Z<3;++Z){var ue=[0,0,0];U[Z]>0?ue[Z]=N[1][Z]:ue[Z]=N[0][Z];for(var ce=0;ce<2;++ce){var ye=(Z+1+ce)%3,de=(Z+1+(1^ce))%3;this.gridEnable[ye]&&this._lines.drawGrid(ye,de,this.bounds,ue,this.gridColor[ye],this.gridWidth[ye]*this.pixelRatio)}for(ce=0;ce<2;++ce)ye=(Z+1+ce)%3,de=(Z+1+(1^ce))%3,this.zeroEnable[de]&&Math.min(N[0][de],N[1][de])<=0&&Math.max(N[0][de],N[1][de])>=0&&this._lines.drawZero(ye,de,this.bounds,ue,this.zeroLineColor[de],this.zeroLineWidth[de]*this.pixelRatio)}for(Z=0;Z<3;++Z){this.lineEnable[Z]&&this._lines.drawAxisLine(Z,this.bounds,X[Z].primalOffset,this.lineColor[Z],this.lineWidth[Z]*this.pixelRatio),this.lineMirror[Z]&&this._lines.drawAxisLine(Z,this.bounds,X[Z].mirrorOffset,this.lineColor[Z],this.lineWidth[Z]*this.pixelRatio);var me=w(L,X[Z].primalMinor),pe=w(b,X[Z].mirrorMinor),xe=this.lineTickLength;for(ce=0;ce<3;++ce){var Pe=te/z[5*ce];me[ce]*=xe[ce]*Pe,pe[ce]*=xe[ce]*Pe}this.lineTickEnable[Z]&&this._lines.drawAxisTicks(Z,X[Z].primalOffset,me,this.lineTickColor[Z],this.lineTickWidth[Z]*this.pixelRatio),this.lineTickMirror[Z]&&this._lines.drawAxisTicks(Z,X[Z].mirrorOffset,pe,this.lineTickColor[Z],this.lineTickWidth[Z]*this.pixelRatio)}function _e(be){(ie=[0,0,0])[be]=1}function Me(be,ke,Le){var Be=(be+1)%3,ze=(be+2)%3,je=ke[Be],ge=ke[ze],we=Le[Be],Ee=Le[ze];je>0&&Ee>0||je>0&&Ee<0||je<0&&Ee>0||je<0&&Ee<0?_e(Be):(ge>0&&we>0||ge>0&&we<0||ge<0&&we>0||ge<0&&we<0)&&_e(ze)}for(this._lines.unbind(),this._text.bind(z,F,B,this.pixelRatio),Z=0;Z<3;++Z){var Se=X[Z].primalMinor,Ce=X[Z].mirrorMinor,ae=w(R,X[Z].primalOffset);for(ce=0;ce<3;++ce)this.lineTickEnable[Z]&&(ae[ce]+=te*Se[ce]*Math.max(this.lineTickLength[ce],0)/z[5*ce]);var fe=[0,0,0];if(fe[Z]=1,this.tickEnable[Z]){for(this.tickAngle[Z]===-3600?(this.tickAngle[Z]=0,this.tickAlign[Z]="auto"):this.tickAlign[Z]=-1,re=1,(Q=[this.tickAlign[Z],.5,re])[0]==="auto"?Q[0]=0:Q[0]=parseInt(""+Q[0]),ie=[0,0,0],Me(Z,Se,Ce),ce=0;ce<3;++ce)ae[ce]+=te*Se[ce]*this.tickPad[ce]/z[5*ce];this._text.drawTicks(Z,this.tickSize[Z],this.tickAngle[Z],ae,this.tickColor[Z],fe,ie,Q)}if(this.labelEnable[Z]){for(re=0,ie=[0,0,0],this.labels[Z].length>4&&(_e(Z),re=1),(Q=[this.labelAlign[Z],.5,re])[0]==="auto"?Q[0]=0:Q[0]=parseInt(""+Q[0]),ce=0;ce<3;++ce)ae[ce]+=te*Se[ce]*this.labelPad[ce]/z[5*ce];ae[Z]+=.5*(N[0][Z]+N[1][Z]),this._text.drawLabel(Z,this.labelSize[Z],this.labelAngle[Z],ae,this.labelColor[Z],[0,0,0],ie,Q)}}this._text.unbind()},S.dispose=function(){this._text.dispose(),this._lines.dispose(),this._background.dispose(),this._lines=null,this._text=null,this._background=null,this.gl=null}},1011:function(f,l,a){f.exports=function(m){for(var w=[],y=[],S=0,_=0;_<3;++_)for(var k=(_+1)%3,E=(_+2)%3,x=[0,0,0],A=[0,0,0],L=-1;L<=1;L+=2){y.push(S,S+2,S+1,S+1,S+2,S+3),x[_]=L,A[_]=L;for(var b=-1;b<=1;b+=2){x[k]=b;for(var R=-1;R<=1;R+=2)x[E]=R,w.push(x[0],x[1],x[2],A[0],A[1],A[2]),S+=1}var I=k;k=E,E=I}var O=u(m,new Float32Array(w)),z=u(m,new Uint16Array(y),m.ELEMENT_ARRAY_BUFFER),F=o(m,[{buffer:O,type:m.FLOAT,size:3,offset:0,stride:24},{buffer:O,type:m.FLOAT,size:3,offset:12,stride:24}],z),B=s(m);return B.attributes.position.location=0,B.attributes.normal.location=1,new c(m,O,F,B)};var u=a(5827),o=a(2944),s=a(1943).bg;function c(m,w,y,S){this.gl=m,this.buffer=w,this.vao=y,this.shader=S}var h=c.prototype;h.draw=function(m,w,y,S,_,k){for(var E=!1,x=0;x<3;++x)E=E||_[x];if(E){var A=this.gl;A.enable(A.POLYGON_OFFSET_FILL),A.polygonOffset(1,2),this.shader.bind(),this.shader.uniforms={model:m,view:w,projection:y,bounds:S,enable:_,colors:k},this.vao.bind(),this.vao.draw(this.gl.TRIANGLES,36),this.vao.unbind(),A.disable(A.POLYGON_OFFSET_FILL)}},h.dispose=function(){this.vao.dispose(),this.buffer.dispose(),this.shader.dispose()}},2864:function(f,l,a){f.exports=function(b,R,I,O,z){o(h,R,b),o(h,I,h);for(var F=0,B=0;B<2;++B){y[2]=O[B][2];for(var N=0;N<2;++N){y[1]=O[N][1];for(var W=0;W<2;++W)y[0]=O[W][0],_(m[F],y,h),F+=1}}var j=-1;for(B=0;B<8;++B){for(var $=m[B][3],U=0;U<3;++U)w[B][U]=m[B][U]/$;z&&(w[B][2]*=-1),$<0&&(j<0||w[B][2]ne&&(j|=1<ne&&(j|=1<w[B][1])&&(ue=B);var ce=-1;for(B=0;B<3;++B)(de=ue^1<w[ye][0]&&(ye=de))}var me=x;me[0]=me[1]=me[2]=0,me[u.log2(ce^ue)]=ue&ce,me[u.log2(ue^ye)]=ue&ye;var pe=7^ye;pe===j||pe===oe?(pe=7^ce,me[u.log2(ye^pe)]=pe&ye):me[u.log2(ce^pe)]=pe&ce;var xe=A,Pe=j;for(G=0;G<3;++G)xe[G]=Pe&1<>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js -#define GLSLIFY 1 - -attribute vec3 position; - -uniform mat4 model, view, projection; -uniform vec3 offset, majorAxis, minorAxis, screenAxis; -uniform float lineWidth; -uniform vec2 screenShape; - -vec3 project(vec3 p) { - vec4 pp = projection * view * model * vec4(p, 1.0); - return pp.xyz / max(pp.w, 0.0001); -} - -void main() { - vec3 major = position.x * majorAxis; - vec3 minor = position.y * minorAxis; - - vec3 vPosition = major + minor + offset; - vec3 pPosition = project(vPosition); - vec3 offset = project(vPosition + screenAxis * position.z); - - vec2 screen = normalize((offset - pPosition).xy * screenShape) / screenShape; - - gl_Position = vec4(pPosition + vec3(0.5 * screen * lineWidth, 0), 1.0); -} -`]),h=u([`precision highp float; -#define GLSLIFY 1 - -uniform vec4 color; -void main() { - gl_FragColor = color; -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js -}`]);l.j=function(C){return o(C,s,h,null,[{name:"position",type:"vec3"}])};var c=u([`precision highp float; -======== -}`]);l.j=function(S){return o(S,s,c,null,[{name:"position",type:"vec3"}])};var h=u([`precision highp float; ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js -#define GLSLIFY 1 - -attribute vec3 position; - -uniform mat4 model, view, projection; -uniform vec3 offset, axis, alignDir, alignOpt; -uniform float scale, angle, pixelScale; -uniform vec2 resolution; - -vec3 project(vec3 p) { - vec4 pp = projection * view * model * vec4(p, 1.0); - return pp.xyz / max(pp.w, 0.0001); -} - -float computeViewAngle(vec3 a, vec3 b) { - vec3 A = project(a); - vec3 B = project(b); - - return atan( - (B.y - A.y) * resolution.y, - (B.x - A.x) * resolution.x - ); -} - -const float PI = 3.141592; -const float TWO_PI = 2.0 * PI; -const float HALF_PI = 0.5 * PI; -const float ONE_AND_HALF_PI = 1.5 * PI; - -int option = int(floor(alignOpt.x + 0.001)); -float hv_ratio = alignOpt.y; -bool enableAlign = (alignOpt.z != 0.0); - -float mod_angle(float a) { - return mod(a, PI); -} - -float positive_angle(float a) { - return mod_angle((a < 0.0) ? - a + TWO_PI : - a - ); -} - -float look_upwards(float a) { - float b = positive_angle(a); - return ((b > HALF_PI) && (b <= ONE_AND_HALF_PI)) ? - b - PI : - b; -} - -float look_horizontal_or_vertical(float a, float ratio) { - // ratio controls the ratio between being horizontal to (vertical + horizontal) - // if ratio is set to 0.5 then it is 50%, 50%. - // when using a higher ratio e.g. 0.75 the result would - // likely be more horizontal than vertical. - - float b = positive_angle(a); - - return - (b < ( ratio) * HALF_PI) ? 0.0 : - (b < (2.0 - ratio) * HALF_PI) ? -HALF_PI : - (b < (2.0 + ratio) * HALF_PI) ? 0.0 : - (b < (4.0 - ratio) * HALF_PI) ? HALF_PI : - 0.0; -} - -float roundTo(float a, float b) { - return float(b * floor((a + 0.5 * b) / b)); -} - -float look_round_n_directions(float a, int n) { - float b = positive_angle(a); - float div = TWO_PI / float(n); - float c = roundTo(b, div); - return look_upwards(c); -} - -float applyAlignOption(float rawAngle, float delta) { - return - (option > 2) ? look_round_n_directions(rawAngle + delta, option) : // option 3-n: round to n directions - (option == 2) ? look_horizontal_or_vertical(rawAngle + delta, hv_ratio) : // horizontal or vertical - (option == 1) ? rawAngle + delta : // use free angle, and flip to align with one direction of the axis - (option == 0) ? look_upwards(rawAngle) : // use free angle, and stay upwards - (option ==-1) ? 0.0 : // useful for backward compatibility, all texts remains horizontal - rawAngle; // otherwise return back raw input angle -} - -bool isAxisTitle = (axis.x == 0.0) && - (axis.y == 0.0) && - (axis.z == 0.0); - -void main() { - //Compute world offset - float axisDistance = position.z; - vec3 dataPosition = axisDistance * axis + offset; - - float beta = angle; // i.e. user defined attributes for each tick - - float axisAngle; - float clipAngle; - float flip; - - if (enableAlign) { - axisAngle = (isAxisTitle) ? HALF_PI : - computeViewAngle(dataPosition, dataPosition + axis); - clipAngle = computeViewAngle(dataPosition, dataPosition + alignDir); - - axisAngle += (sin(axisAngle) < 0.0) ? PI : 0.0; - clipAngle += (sin(clipAngle) < 0.0) ? PI : 0.0; - - flip = (dot(vec2(cos(axisAngle), sin(axisAngle)), - vec2(sin(clipAngle),-cos(clipAngle))) > 0.0) ? 1.0 : 0.0; - - beta += applyAlignOption(clipAngle, flip * PI); - } - - //Compute plane offset - vec2 planeCoord = position.xy * pixelScale; - - mat2 planeXform = scale * mat2( - cos(beta), sin(beta), - -sin(beta), cos(beta) - ); - - vec2 viewOffset = 2.0 * planeXform * planeCoord / resolution; - - //Compute clip position - vec3 clipPosition = project(dataPosition); - - //Apply text offset in clip coordinates - clipPosition += vec3(viewOffset, 0.0); - - //Done - gl_Position = vec4(clipPosition, 1.0); -}`]),m=u([`precision highp float; -#define GLSLIFY 1 - -uniform vec4 color; -void main() { - gl_FragColor = color; -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js -}`]);l.f=function(C){return o(C,c,m,null,[{name:"position",type:"vec3"}])};var w=u([`precision highp float; -======== -}`]);l.f=function(S){return o(S,h,m,null,[{name:"position",type:"vec3"}])};var w=u([`precision highp float; ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js -#define GLSLIFY 1 - -attribute vec3 position; -attribute vec3 normal; - -uniform mat4 model, view, projection; -uniform vec3 enable; -uniform vec3 bounds[2]; - -varying vec3 colorChannel; - -void main() { - - vec3 signAxis = sign(bounds[1] - bounds[0]); - - vec3 realNormal = signAxis * normal; - - if(dot(realNormal, enable) > 0.0) { - vec3 minRange = min(bounds[0], bounds[1]); - vec3 maxRange = max(bounds[0], bounds[1]); - vec3 nPosition = mix(minRange, maxRange, 0.5 * (position + 1.0)); - gl_Position = projection * view * model * vec4(nPosition, 1.0); - } else { - gl_Position = vec4(0,0,0,0); - } - - colorChannel = abs(realNormal); -}`]),y=u([`precision highp float; -#define GLSLIFY 1 - -uniform vec4 colors[3]; - -varying vec3 colorChannel; - -void main() { - gl_FragColor = colorChannel.x * colors[0] + - colorChannel.y * colors[1] + - colorChannel.z * colors[2]; -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js -}`]);l.bg=function(C){return o(C,w,y,null,[{name:"position",type:"vec3"},{name:"normal",type:"vec3"}])}},9557:function(f,l,a){f.exports=function(_,k,E,x,A,L){var b=u(_),R=o(_,[{buffer:b,size:3}]),I=h(_);I.attributes.position.location=0;var O=new w(_,I,b,R);return O.update(k,E,x,A,L),O};var u=a(5827),o=a(2944),s=a(875),h=a(1943).f,c=window||g.global||{},m=c.__TEXT_CACHE||{};function w(_,k,E,x){this.gl=_,this.shader=k,this.buffer=E,this.vao=x,this.tickOffset=this.tickCount=this.labelOffset=this.labelCount=null}c.__TEXT_CACHE={};var y=w.prototype,C=[0,0];y.bind=function(_,k,E,x){this.vao.bind(),this.shader.bind();var A=this.shader.uniforms;A.model=_,A.view=k,A.projection=E,A.pixelScale=x,C[0]=this.gl.drawingBufferWidth,C[1]=this.gl.drawingBufferHeight,this.shader.uniforms.resolution=C},y.unbind=function(){this.vao.unbind()},y.update=function(_,k,E,x,A){var L=[];function b(W,j,$,U,G,q){var H=m[$];H||(H=m[$]={});var ne=H[j];ne||(ne=H[j]=function(ce,ye){try{return s(ce,ye)}catch(de){return console.warn('error vectorizing text:"'+ce+'" error:',de),{cells:[],positions:[]}}}(j,{triangles:!0,font:$,textAlign:"center",textBaseline:"middle",lineSpacing:G,styletags:q}));for(var te=(U||12)/12,Z=ne.positions,X=ne.cells,Q=0,re=X.length;Q=0;--oe){var ue=Z[ie[oe]];L.push(te*ue[0],-te*ue[1],W)}}for(var R=[0,0,0],I=[0,0,0],O=[0,0,0],z=[0,0,0],F={breaklines:!0,bolds:!0,italics:!0,subscripts:!0,superscripts:!0},B=0;B<3;++B){O[B]=L.length/3|0,b(.5*(_[0][B]+_[1][B]),k[B],E[B],12,1.25,F),z[B]=(L.length/3|0)-O[B],R[B]=L.length/3|0;for(var N=0;N=0&&(c=s.length-h-1);var m=Math.pow(10,c),w=Math.round(u*o*m),y=w+"";if(y.indexOf("e")>=0)return y;var C=w/m,_=w%m;w<0?(C=0|-Math.ceil(C),_=0|-_):(C=0|Math.floor(C),_|=0);var k=""+C;if(w<0&&(k="-"+k),c){for(var E=""+_;E.length=u[0][h];--m)c.push({x:m*o[h],text:a(o[h],m)});s.push(c)}return s},l.equal=function(u,o){for(var s=0;s<3;++s){if(u[s].length!==o[s].length)return!1;for(var h=0;hk)throw new Error("gl-buffer: If resizing buffer, must not specify offset");return C.bufferSubData(_,A,x),k}function y(C,_){for(var k=u.malloc(C.length,_),E=C.length,x=0;x=0;--I){if(b[I]!==R)return!1;R*=L[I]}return!0}(C.shape,C.stride))C.offset===0&&C.data.length===C.shape[0]?this.length=w(this.gl,this.type,this.length,this.usage,C.data,_):this.length=w(this.gl,this.type,this.length,this.usage,C.data.subarray(C.offset,C.shape[0]),_);else{var E=u.malloc(C.size,k),x=s(E,C.shape);o.assign(x,C),this.length=w(this.gl,this.type,this.length,this.usage,_<0?E:E.subarray(0,C.size),_),u.free(E)}}else if(Array.isArray(C)){var A;A=this.type===this.gl.ELEMENT_ARRAY_BUFFER?y(C,"uint16"):y(C,"float32"),this.length=w(this.gl,this.type,this.length,this.usage,_<0?A:A.subarray(0,C.length),_),u.free(A)}else if(typeof C=="object"&&typeof C.length=="number")this.length=w(this.gl,this.type,this.length,this.usage,C,_);else{if(typeof C!="number"&&C!==void 0)throw new Error("gl-buffer: Invalid data type");if(_>=0)throw new Error("gl-buffer: Cannot specify offset when resizing buffer");(C|=0)<=0&&(C=1),this.gl.bufferData(this.type,0|C,this.usage),this.length=C}},f.exports=function(C,_,k,E){if(k=k||C.ARRAY_BUFFER,E=E||C.DYNAMIC_DRAW,k!==C.ARRAY_BUFFER&&k!==C.ELEMENT_ARRAY_BUFFER)throw new Error("gl-buffer: Invalid type for webgl buffer, must be either gl.ARRAY_BUFFER or gl.ELEMENT_ARRAY_BUFFER");if(E!==C.DYNAMIC_DRAW&&E!==C.STATIC_DRAW&&E!==C.STREAM_DRAW)throw new Error("gl-buffer: Invalid usage for buffer, must be either gl.DYNAMIC_DRAW, gl.STATIC_DRAW or gl.STREAM_DRAW");var x=C.createBuffer(),A=new c(C,k,x,0,E);return A.update(_),A}},1140:function(f,l,a){var u=a(2858);f.exports=function(s,h){var c=s.positions,m=s.vectors,w={positions:[],vertexIntensity:[],vertexIntensityBounds:s.vertexIntensityBounds,vectors:[],cells:[],coneOffset:s.coneOffset,colormap:s.colormap};if(s.positions.length===0)return h&&(h[0]=[0,0,0],h[1]=[0,0,0]),w;for(var y=0,C=1/0,_=-1/0,k=1/0,E=-1/0,x=1/0,A=-1/0,L=null,b=null,R=[],I=1/0,O=!1,z=0;zy&&(y=u.length(B)),z){var N=2*u.distance(L,F)/(u.length(b)+u.length(B));N?(I=Math.min(I,N),O=!1):O=!0}O||(L=F,b=B),R.push(B)}var W=[C,k,x],j=[_,E,A];h&&(h[0]=W,h[1]=j),y===0&&(y=1);var $=1/y;isFinite(I)||(I=1),w.vectorScale=I;var U=s.coneSize||.5;s.absoluteConeSize&&(U=s.absoluteConeSize*$),w.coneScale=U,z=0;for(var G=0;z=1},k.isTransparent=function(){return this.opacity<1},k.pickSlots=1,k.setPickBase=function(A){this.pickId=A},k.update=function(A){A=A||{};var L=this.gl;this.dirty=!0,"lightPosition"in A&&(this.lightPosition=A.lightPosition),"opacity"in A&&(this.opacity=A.opacity),"ambient"in A&&(this.ambientLight=A.ambient),"diffuse"in A&&(this.diffuseLight=A.diffuse),"specular"in A&&(this.specularLight=A.specular),"roughness"in A&&(this.roughness=A.roughness),"fresnel"in A&&(this.fresnel=A.fresnel),A.tubeScale!==void 0&&(this.tubeScale=A.tubeScale),A.vectorScale!==void 0&&(this.vectorScale=A.vectorScale),A.coneScale!==void 0&&(this.coneScale=A.coneScale),A.coneOffset!==void 0&&(this.coneOffset=A.coneOffset),A.colormap&&(this.texture.shape=[256,256],this.texture.minFilter=L.LINEAR_MIPMAP_LINEAR,this.texture.magFilter=L.LINEAR,this.texture.setPixels(function(ue){for(var ce=y({colormap:ue,nshades:256,format:"rgba"}),ye=new Uint8Array(1024),de=0;de<256;++de){for(var me=ce[de],pe=0;pe<3;++pe)ye[4*de+pe]=me[pe];ye[4*de+3]=255*me[3]}return w(ye,[256,256,4],[4,0,1])}(A.colormap)),this.texture.generateMipmap());var b=A.cells,R=A.positions,I=A.vectors;if(R&&b&&I){var O=[],z=[],F=[],B=[],N=[];this.cells=b,this.positions=R,this.vectors=I;var W=A.meshColor||[1,1,1,1],j=A.vertexIntensity,$=1/0,U=-1/0;if(j)if(A.vertexIntensityBounds)$=+A.vertexIntensityBounds[0],U=+A.vertexIntensityBounds[1];else for(var G=0;G0){var $=this.triShader;$.bind(),$.uniforms=F,this.triangleVAO.bind(),L.drawArrays(L.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind()}},k.drawPick=function(A){A=A||{};for(var L=this.gl,b=A.model||C,R=A.view||C,I=A.projection||C,O=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],z=0;z<3;++z)O[0][z]=Math.max(O[0][z],this.clipBounds[0][z]),O[1][z]=Math.min(O[1][z],this.clipBounds[1][z]);this._model=[].slice.call(b),this._view=[].slice.call(R),this._projection=[].slice.call(I),this._resolution=[L.drawingBufferWidth,L.drawingBufferHeight];var F={model:b,view:R,projection:I,clipBounds:O,tubeScale:this.tubeScale,vectorScale:this.vectorScale,coneScale:this.coneScale,coneOffset:this.coneOffset,pickId:this.pickId/255},B=this.pickShader;B.bind(),B.uniforms=F,this.triangleCount>0&&(this.triangleVAO.bind(),L.drawArrays(L.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind())},k.pick=function(A){if(!A||A.id!==this.pickId)return null;var L=A.value[0]+256*A.value[1]+65536*A.value[2],b=this.cells[L],R=this.positions[b[1]].slice(0,3),I={position:R,dataCoordinate:R,index:Math.floor(b[1]/48)};return this.traceType==="cone"?I.index=Math.floor(b[1]/48):this.traceType==="streamtube"&&(I.intensity=this.intensity[b[1]],I.velocity=this.vectors[b[1]].slice(0,3),I.divergence=this.vectors[b[1]][3],I.index=L),I},k.dispose=function(){this.texture.dispose(),this.triShader.dispose(),this.pickShader.dispose(),this.triangleVAO.dispose(),this.trianglePositions.dispose(),this.triangleVectors.dispose(),this.triangleColors.dispose(),this.triangleUVs.dispose(),this.triangleIds.dispose()},f.exports=function(A,L,b){var R=b.shaders;arguments.length===1&&(A=(L=A).gl);var I=E(A,R),O=x(A,R),z=h(A,w(new Uint8Array([255,255,255,255]),[1,1,4]));z.generateMipmap(),z.minFilter=A.LINEAR_MIPMAP_LINEAR,z.magFilter=A.LINEAR;var F=o(A),B=o(A),N=o(A),W=o(A),j=o(A),$=s(A,[{buffer:F,type:A.FLOAT,size:4},{buffer:j,type:A.UNSIGNED_BYTE,size:4,normalized:!0},{buffer:N,type:A.FLOAT,size:4},{buffer:W,type:A.FLOAT,size:2},{buffer:B,type:A.FLOAT,size:4}]),U=new _(A,z,I,O,F,B,j,N,W,$,b.traceType||"cone");return U.update(L),U}},7234:function(f,l,a){var u=a(6832),o=u([`precision highp float; -======== -}`]);l.bg=function(S){return o(S,w,y,null,[{name:"position",type:"vec3"},{name:"normal",type:"vec3"}])}},9557:function(f,l,a){f.exports=function(_,k,E,x,A,L){var b=u(_),R=o(_,[{buffer:b,size:3}]),I=c(_);I.attributes.position.location=0;var O=new w(_,I,b,R);return O.update(k,E,x,A,L),O};var u=a(5827),o=a(2944),s=a(875),c=a(1943).f,h=window||g.global||{},m=h.__TEXT_CACHE||{};function w(_,k,E,x){this.gl=_,this.shader=k,this.buffer=E,this.vao=x,this.tickOffset=this.tickCount=this.labelOffset=this.labelCount=null}h.__TEXT_CACHE={};var y=w.prototype,S=[0,0];y.bind=function(_,k,E,x){this.vao.bind(),this.shader.bind();var A=this.shader.uniforms;A.model=_,A.view=k,A.projection=E,A.pixelScale=x,S[0]=this.gl.drawingBufferWidth,S[1]=this.gl.drawingBufferHeight,this.shader.uniforms.resolution=S},y.unbind=function(){this.vao.unbind()},y.update=function(_,k,E,x,A){var L=[];function b(W,j,$,U,G,q){var H=m[$];H||(H=m[$]={});var ne=H[j];ne||(ne=H[j]=function(ce,ye){try{return s(ce,ye)}catch(de){return console.warn('error vectorizing text:"'+ce+'" error:',de),{cells:[],positions:[]}}}(j,{triangles:!0,font:$,textAlign:"center",textBaseline:"middle",lineSpacing:G,styletags:q}));for(var te=(U||12)/12,Z=ne.positions,X=ne.cells,Q=0,re=X.length;Q=0;--oe){var ue=Z[ie[oe]];L.push(te*ue[0],-te*ue[1],W)}}for(var R=[0,0,0],I=[0,0,0],O=[0,0,0],z=[0,0,0],F={breaklines:!0,bolds:!0,italics:!0,subscripts:!0,superscripts:!0},B=0;B<3;++B){O[B]=L.length/3|0,b(.5*(_[0][B]+_[1][B]),k[B],E[B],12,1.25,F),z[B]=(L.length/3|0)-O[B],R[B]=L.length/3|0;for(var N=0;N=0&&(h=s.length-c-1);var m=Math.pow(10,h),w=Math.round(u*o*m),y=w+"";if(y.indexOf("e")>=0)return y;var S=w/m,_=w%m;w<0?(S=0|-Math.ceil(S),_=0|-_):(S=0|Math.floor(S),_|=0);var k=""+S;if(w<0&&(k="-"+k),h){for(var E=""+_;E.length=u[0][c];--m)h.push({x:m*o[c],text:a(o[c],m)});s.push(h)}return s},l.equal=function(u,o){for(var s=0;s<3;++s){if(u[s].length!==o[s].length)return!1;for(var c=0;ck)throw new Error("gl-buffer: If resizing buffer, must not specify offset");return S.bufferSubData(_,A,x),k}function y(S,_){for(var k=u.malloc(S.length,_),E=S.length,x=0;x=0;--I){if(b[I]!==R)return!1;R*=L[I]}return!0}(S.shape,S.stride))S.offset===0&&S.data.length===S.shape[0]?this.length=w(this.gl,this.type,this.length,this.usage,S.data,_):this.length=w(this.gl,this.type,this.length,this.usage,S.data.subarray(S.offset,S.shape[0]),_);else{var E=u.malloc(S.size,k),x=s(E,S.shape);o.assign(x,S),this.length=w(this.gl,this.type,this.length,this.usage,_<0?E:E.subarray(0,S.size),_),u.free(E)}}else if(Array.isArray(S)){var A;A=this.type===this.gl.ELEMENT_ARRAY_BUFFER?y(S,"uint16"):y(S,"float32"),this.length=w(this.gl,this.type,this.length,this.usage,_<0?A:A.subarray(0,S.length),_),u.free(A)}else if(typeof S=="object"&&typeof S.length=="number")this.length=w(this.gl,this.type,this.length,this.usage,S,_);else{if(typeof S!="number"&&S!==void 0)throw new Error("gl-buffer: Invalid data type");if(_>=0)throw new Error("gl-buffer: Cannot specify offset when resizing buffer");(S|=0)<=0&&(S=1),this.gl.bufferData(this.type,0|S,this.usage),this.length=S}},f.exports=function(S,_,k,E){if(k=k||S.ARRAY_BUFFER,E=E||S.DYNAMIC_DRAW,k!==S.ARRAY_BUFFER&&k!==S.ELEMENT_ARRAY_BUFFER)throw new Error("gl-buffer: Invalid type for webgl buffer, must be either gl.ARRAY_BUFFER or gl.ELEMENT_ARRAY_BUFFER");if(E!==S.DYNAMIC_DRAW&&E!==S.STATIC_DRAW&&E!==S.STREAM_DRAW)throw new Error("gl-buffer: Invalid usage for buffer, must be either gl.DYNAMIC_DRAW, gl.STATIC_DRAW or gl.STREAM_DRAW");var x=S.createBuffer(),A=new h(S,k,x,0,E);return A.update(_),A}},1140:function(f,l,a){var u=a(2858);f.exports=function(s,c){var h=s.positions,m=s.vectors,w={positions:[],vertexIntensity:[],vertexIntensityBounds:s.vertexIntensityBounds,vectors:[],cells:[],coneOffset:s.coneOffset,colormap:s.colormap};if(s.positions.length===0)return c&&(c[0]=[0,0,0],c[1]=[0,0,0]),w;for(var y=0,S=1/0,_=-1/0,k=1/0,E=-1/0,x=1/0,A=-1/0,L=null,b=null,R=[],I=1/0,O=!1,z=0;zy&&(y=u.length(B)),z){var N=2*u.distance(L,F)/(u.length(b)+u.length(B));N?(I=Math.min(I,N),O=!1):O=!0}O||(L=F,b=B),R.push(B)}var W=[S,k,x],j=[_,E,A];c&&(c[0]=W,c[1]=j),y===0&&(y=1);var $=1/y;isFinite(I)||(I=1),w.vectorScale=I;var U=s.coneSize||.5;s.absoluteConeSize&&(U=s.absoluteConeSize*$),w.coneScale=U,z=0;for(var G=0;z=1},k.isTransparent=function(){return this.opacity<1},k.pickSlots=1,k.setPickBase=function(A){this.pickId=A},k.update=function(A){A=A||{};var L=this.gl;this.dirty=!0,"lightPosition"in A&&(this.lightPosition=A.lightPosition),"opacity"in A&&(this.opacity=A.opacity),"ambient"in A&&(this.ambientLight=A.ambient),"diffuse"in A&&(this.diffuseLight=A.diffuse),"specular"in A&&(this.specularLight=A.specular),"roughness"in A&&(this.roughness=A.roughness),"fresnel"in A&&(this.fresnel=A.fresnel),A.tubeScale!==void 0&&(this.tubeScale=A.tubeScale),A.vectorScale!==void 0&&(this.vectorScale=A.vectorScale),A.coneScale!==void 0&&(this.coneScale=A.coneScale),A.coneOffset!==void 0&&(this.coneOffset=A.coneOffset),A.colormap&&(this.texture.shape=[256,256],this.texture.minFilter=L.LINEAR_MIPMAP_LINEAR,this.texture.magFilter=L.LINEAR,this.texture.setPixels(function(ue){for(var ce=y({colormap:ue,nshades:256,format:"rgba"}),ye=new Uint8Array(1024),de=0;de<256;++de){for(var me=ce[de],pe=0;pe<3;++pe)ye[4*de+pe]=me[pe];ye[4*de+3]=255*me[3]}return w(ye,[256,256,4],[4,0,1])}(A.colormap)),this.texture.generateMipmap());var b=A.cells,R=A.positions,I=A.vectors;if(R&&b&&I){var O=[],z=[],F=[],B=[],N=[];this.cells=b,this.positions=R,this.vectors=I;var W=A.meshColor||[1,1,1,1],j=A.vertexIntensity,$=1/0,U=-1/0;if(j)if(A.vertexIntensityBounds)$=+A.vertexIntensityBounds[0],U=+A.vertexIntensityBounds[1];else for(var G=0;G0){var $=this.triShader;$.bind(),$.uniforms=F,this.triangleVAO.bind(),L.drawArrays(L.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind()}},k.drawPick=function(A){A=A||{};for(var L=this.gl,b=A.model||S,R=A.view||S,I=A.projection||S,O=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],z=0;z<3;++z)O[0][z]=Math.max(O[0][z],this.clipBounds[0][z]),O[1][z]=Math.min(O[1][z],this.clipBounds[1][z]);this._model=[].slice.call(b),this._view=[].slice.call(R),this._projection=[].slice.call(I),this._resolution=[L.drawingBufferWidth,L.drawingBufferHeight];var F={model:b,view:R,projection:I,clipBounds:O,tubeScale:this.tubeScale,vectorScale:this.vectorScale,coneScale:this.coneScale,coneOffset:this.coneOffset,pickId:this.pickId/255},B=this.pickShader;B.bind(),B.uniforms=F,this.triangleCount>0&&(this.triangleVAO.bind(),L.drawArrays(L.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind())},k.pick=function(A){if(!A||A.id!==this.pickId)return null;var L=A.value[0]+256*A.value[1]+65536*A.value[2],b=this.cells[L],R=this.positions[b[1]].slice(0,3),I={position:R,dataCoordinate:R,index:Math.floor(b[1]/48)};return this.traceType==="cone"?I.index=Math.floor(b[1]/48):this.traceType==="streamtube"&&(I.intensity=this.intensity[b[1]],I.velocity=this.vectors[b[1]].slice(0,3),I.divergence=this.vectors[b[1]][3],I.index=L),I},k.dispose=function(){this.texture.dispose(),this.triShader.dispose(),this.pickShader.dispose(),this.triangleVAO.dispose(),this.trianglePositions.dispose(),this.triangleVectors.dispose(),this.triangleColors.dispose(),this.triangleUVs.dispose(),this.triangleIds.dispose()},f.exports=function(A,L,b){var R=b.shaders;arguments.length===1&&(A=(L=A).gl);var I=E(A,R),O=x(A,R),z=c(A,w(new Uint8Array([255,255,255,255]),[1,1,4]));z.generateMipmap(),z.minFilter=A.LINEAR_MIPMAP_LINEAR,z.magFilter=A.LINEAR;var F=o(A),B=o(A),N=o(A),W=o(A),j=o(A),$=s(A,[{buffer:F,type:A.FLOAT,size:4},{buffer:j,type:A.UNSIGNED_BYTE,size:4,normalized:!0},{buffer:N,type:A.FLOAT,size:4},{buffer:W,type:A.FLOAT,size:2},{buffer:B,type:A.FLOAT,size:4}]),U=new _(A,z,I,O,F,B,j,N,W,$,b.traceType||"cone");return U.update(L),U}},7234:function(f,l,a){var u=a(6832),o=u([`precision highp float; ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js - -precision highp float; -#define GLSLIFY 1 - -vec3 getOrthogonalVector(vec3 v) { - // Return up-vector for only-z vector. - // Return ax + by + cz = 0, a point that lies on the plane that has v as a normal and that isn't (0,0,0). - // From the above if-statement we have ||a|| > 0 U ||b|| > 0. - // Assign z = 0, x = -b, y = a: - // a*-b + b*a + c*0 = -ba + ba + 0 = 0 - if (v.x*v.x > v.z*v.z || v.y*v.y > v.z*v.z) { - return normalize(vec3(-v.y, v.x, 0.0)); - } else { - return normalize(vec3(0.0, v.z, -v.y)); - } -} - -// Calculate the cone vertex and normal at the given index. -// -// The returned vertex is for a cone with its top at origin and height of 1.0, -// pointing in the direction of the vector attribute. -// -// Each cone is made up of a top vertex, a center base vertex and base perimeter vertices. -// These vertices are used to make up the triangles of the cone by the following: -// segment + 0 top vertex -// segment + 1 perimeter vertex a+1 -// segment + 2 perimeter vertex a -// segment + 3 center base vertex -// segment + 4 perimeter vertex a -// segment + 5 perimeter vertex a+1 -// Where segment is the number of the radial segment * 6 and a is the angle at that radial segment. -// To go from index to segment, floor(index / 6) -// To go from segment to angle, 2*pi * (segment/segmentCount) -// To go from index to segment index, index - (segment*6) -// -vec3 getConePosition(vec3 d, float rawIndex, float coneOffset, out vec3 normal) { - - const float segmentCount = 8.0; - - float index = rawIndex - floor(rawIndex / - (segmentCount * 6.0)) * - (segmentCount * 6.0); - - float segment = floor(0.001 + index/6.0); - float segmentIndex = index - (segment*6.0); - - normal = -normalize(d); - - if (segmentIndex > 2.99 && segmentIndex < 3.01) { - return mix(vec3(0.0), -d, coneOffset); - } - - float nextAngle = ( - (segmentIndex > 0.99 && segmentIndex < 1.01) || - (segmentIndex > 4.99 && segmentIndex < 5.01) - ) ? 1.0 : 0.0; - float angle = 2.0 * 3.14159 * ((segment + nextAngle) / segmentCount); - - vec3 v1 = mix(d, vec3(0.0), coneOffset); - vec3 v2 = v1 - d; - - vec3 u = getOrthogonalVector(d); - vec3 v = normalize(cross(u, d)); - - vec3 x = u * cos(angle) * length(d)*0.25; - vec3 y = v * sin(angle) * length(d)*0.25; - vec3 v3 = v2 + x + y; - if (segmentIndex < 3.0) { - vec3 tx = u * sin(angle); - vec3 ty = v * -cos(angle); - vec3 tangent = tx + ty; - normal = normalize(cross(v3 - v1, tangent)); - } - - if (segmentIndex == 0.0) { - return mix(d, vec3(0.0), coneOffset); - } - return v3; -} - -attribute vec3 vector; -attribute vec4 color, position; -attribute vec2 uv; - -uniform float vectorScale, coneScale, coneOffset; -uniform mat4 model, view, projection, inverseModel; -uniform vec3 eyePosition, lightPosition; - -varying vec3 f_normal, f_lightDirection, f_eyeDirection, f_data, f_position; -varying vec4 f_color; -varying vec2 f_uv; - -void main() { - // Scale the vector magnitude to stay constant with - // model & view changes. - vec3 normal; - vec3 XYZ = getConePosition(mat3(model) * ((vectorScale * coneScale) * vector), position.w, coneOffset, normal); - vec4 conePosition = model * vec4(position.xyz, 1.0) + vec4(XYZ, 0.0); - - //Lighting geometry parameters - vec4 cameraCoordinate = view * conePosition; - cameraCoordinate.xyz /= cameraCoordinate.w; - f_lightDirection = lightPosition - cameraCoordinate.xyz; - f_eyeDirection = eyePosition - cameraCoordinate.xyz; - f_normal = normalize((vec4(normal, 0.0) * inverseModel).xyz); - - // vec4 m_position = model * vec4(conePosition, 1.0); - vec4 t_position = view * conePosition; - gl_Position = projection * t_position; - - f_color = color; - f_data = conePosition.xyz; - f_position = position.xyz; - f_uv = uv; -} -`]),s=u([`#extension GL_OES_standard_derivatives : enable - -precision highp float; -#define GLSLIFY 1 - -float beckmannDistribution(float x, float roughness) { - float NdotH = max(x, 0.0001); - float cos2Alpha = NdotH * NdotH; - float tan2Alpha = (cos2Alpha - 1.0) / cos2Alpha; - float roughness2 = roughness * roughness; - float denom = 3.141592653589793 * roughness2 * cos2Alpha * cos2Alpha; - return exp(tan2Alpha / roughness2) / denom; -} - -float cookTorranceSpecular( - vec3 lightDirection, - vec3 viewDirection, - vec3 surfaceNormal, - float roughness, - float fresnel) { - - float VdotN = max(dot(viewDirection, surfaceNormal), 0.0); - float LdotN = max(dot(lightDirection, surfaceNormal), 0.0); - - //Half angle vector - vec3 H = normalize(lightDirection + viewDirection); - - //Geometric term - float NdotH = max(dot(surfaceNormal, H), 0.0); - float VdotH = max(dot(viewDirection, H), 0.000001); - float LdotH = max(dot(lightDirection, H), 0.000001); - float G1 = (2.0 * NdotH * VdotN) / VdotH; - float G2 = (2.0 * NdotH * LdotN) / LdotH; - float G = min(1.0, min(G1, G2)); - - //Distribution term - float D = beckmannDistribution(NdotH, roughness); - - //Fresnel term - float F = pow(1.0 - VdotN, fresnel); - - //Multiply terms and done - return G * F * D / max(3.14159265 * VdotN, 0.000001); -} - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -uniform vec3 clipBounds[2]; -uniform float roughness, fresnel, kambient, kdiffuse, kspecular, opacity; -uniform sampler2D texture; - -varying vec3 f_normal, f_lightDirection, f_eyeDirection, f_data, f_position; -varying vec4 f_color; -varying vec2 f_uv; - -void main() { - if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard; - vec3 N = normalize(f_normal); - vec3 L = normalize(f_lightDirection); - vec3 V = normalize(f_eyeDirection); - - if(gl_FrontFacing) { - N = -N; - } - - float specular = min(1.0, max(0.0, cookTorranceSpecular(L, V, N, roughness, fresnel))); - float diffuse = min(kambient + kdiffuse * max(dot(N, L), 0.0), 1.0); - - vec4 surfaceColor = f_color * texture2D(texture, f_uv); - vec4 litColor = surfaceColor.a * vec4(diffuse * surfaceColor.rgb + kspecular * vec3(1,1,1) * specular, 1.0); - - gl_FragColor = litColor * opacity; -} -`]),h=u([`precision highp float; - -precision highp float; -#define GLSLIFY 1 - -vec3 getOrthogonalVector(vec3 v) { - // Return up-vector for only-z vector. - // Return ax + by + cz = 0, a point that lies on the plane that has v as a normal and that isn't (0,0,0). - // From the above if-statement we have ||a|| > 0 U ||b|| > 0. - // Assign z = 0, x = -b, y = a: - // a*-b + b*a + c*0 = -ba + ba + 0 = 0 - if (v.x*v.x > v.z*v.z || v.y*v.y > v.z*v.z) { - return normalize(vec3(-v.y, v.x, 0.0)); - } else { - return normalize(vec3(0.0, v.z, -v.y)); - } -} - -// Calculate the cone vertex and normal at the given index. -// -// The returned vertex is for a cone with its top at origin and height of 1.0, -// pointing in the direction of the vector attribute. -// -// Each cone is made up of a top vertex, a center base vertex and base perimeter vertices. -// These vertices are used to make up the triangles of the cone by the following: -// segment + 0 top vertex -// segment + 1 perimeter vertex a+1 -// segment + 2 perimeter vertex a -// segment + 3 center base vertex -// segment + 4 perimeter vertex a -// segment + 5 perimeter vertex a+1 -// Where segment is the number of the radial segment * 6 and a is the angle at that radial segment. -// To go from index to segment, floor(index / 6) -// To go from segment to angle, 2*pi * (segment/segmentCount) -// To go from index to segment index, index - (segment*6) -// -vec3 getConePosition(vec3 d, float rawIndex, float coneOffset, out vec3 normal) { - - const float segmentCount = 8.0; - - float index = rawIndex - floor(rawIndex / - (segmentCount * 6.0)) * - (segmentCount * 6.0); - - float segment = floor(0.001 + index/6.0); - float segmentIndex = index - (segment*6.0); - - normal = -normalize(d); - - if (segmentIndex > 2.99 && segmentIndex < 3.01) { - return mix(vec3(0.0), -d, coneOffset); - } - - float nextAngle = ( - (segmentIndex > 0.99 && segmentIndex < 1.01) || - (segmentIndex > 4.99 && segmentIndex < 5.01) - ) ? 1.0 : 0.0; - float angle = 2.0 * 3.14159 * ((segment + nextAngle) / segmentCount); - - vec3 v1 = mix(d, vec3(0.0), coneOffset); - vec3 v2 = v1 - d; - - vec3 u = getOrthogonalVector(d); - vec3 v = normalize(cross(u, d)); - - vec3 x = u * cos(angle) * length(d)*0.25; - vec3 y = v * sin(angle) * length(d)*0.25; - vec3 v3 = v2 + x + y; - if (segmentIndex < 3.0) { - vec3 tx = u * sin(angle); - vec3 ty = v * -cos(angle); - vec3 tangent = tx + ty; - normal = normalize(cross(v3 - v1, tangent)); - } - - if (segmentIndex == 0.0) { - return mix(d, vec3(0.0), coneOffset); - } - return v3; -} - -attribute vec4 vector; -attribute vec4 position; -attribute vec4 id; - -uniform mat4 model, view, projection; -uniform float vectorScale, coneScale, coneOffset; - -varying vec3 f_position; -varying vec4 f_id; - -void main() { - vec3 normal; - vec3 XYZ = getConePosition(mat3(model) * ((vectorScale * coneScale) * vector.xyz), position.w, coneOffset, normal); - vec4 conePosition = model * vec4(position.xyz, 1.0) + vec4(XYZ, 0.0); - gl_Position = projection * view * conePosition; - f_id = id; - f_position = position.xyz; -} -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js -`]),c=u([`precision highp float; -======== -`]),h=u([`precision highp float; ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js -#define GLSLIFY 1 - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -uniform vec3 clipBounds[2]; -uniform float pickId; - -varying vec3 f_position; -varying vec4 f_id; - -void main() { - if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard; - - gl_FragColor = vec4(pickId, f_id.xyz); -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js -}`]);l.meshShader={vertex:o,fragment:s,attributes:[{name:"position",type:"vec4"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"},{name:"vector",type:"vec3"}]},l.pickShader={vertex:h,fragment:c,attributes:[{name:"position",type:"vec4"},{name:"id",type:"vec4"},{name:"vector",type:"vec3"}]}},1950:function(f){f.exports={0:"NONE",1:"ONE",2:"LINE_LOOP",3:"LINE_STRIP",4:"TRIANGLES",5:"TRIANGLE_STRIP",6:"TRIANGLE_FAN",256:"DEPTH_BUFFER_BIT",512:"NEVER",513:"LESS",514:"EQUAL",515:"LEQUAL",516:"GREATER",517:"NOTEQUAL",518:"GEQUAL",519:"ALWAYS",768:"SRC_COLOR",769:"ONE_MINUS_SRC_COLOR",770:"SRC_ALPHA",771:"ONE_MINUS_SRC_ALPHA",772:"DST_ALPHA",773:"ONE_MINUS_DST_ALPHA",774:"DST_COLOR",775:"ONE_MINUS_DST_COLOR",776:"SRC_ALPHA_SATURATE",1024:"STENCIL_BUFFER_BIT",1028:"FRONT",1029:"BACK",1032:"FRONT_AND_BACK",1280:"INVALID_ENUM",1281:"INVALID_VALUE",1282:"INVALID_OPERATION",1285:"OUT_OF_MEMORY",1286:"INVALID_FRAMEBUFFER_OPERATION",2304:"CW",2305:"CCW",2849:"LINE_WIDTH",2884:"CULL_FACE",2885:"CULL_FACE_MODE",2886:"FRONT_FACE",2928:"DEPTH_RANGE",2929:"DEPTH_TEST",2930:"DEPTH_WRITEMASK",2931:"DEPTH_CLEAR_VALUE",2932:"DEPTH_FUNC",2960:"STENCIL_TEST",2961:"STENCIL_CLEAR_VALUE",2962:"STENCIL_FUNC",2963:"STENCIL_VALUE_MASK",2964:"STENCIL_FAIL",2965:"STENCIL_PASS_DEPTH_FAIL",2966:"STENCIL_PASS_DEPTH_PASS",2967:"STENCIL_REF",2968:"STENCIL_WRITEMASK",2978:"VIEWPORT",3024:"DITHER",3042:"BLEND",3088:"SCISSOR_BOX",3089:"SCISSOR_TEST",3106:"COLOR_CLEAR_VALUE",3107:"COLOR_WRITEMASK",3317:"UNPACK_ALIGNMENT",3333:"PACK_ALIGNMENT",3379:"MAX_TEXTURE_SIZE",3386:"MAX_VIEWPORT_DIMS",3408:"SUBPIXEL_BITS",3410:"RED_BITS",3411:"GREEN_BITS",3412:"BLUE_BITS",3413:"ALPHA_BITS",3414:"DEPTH_BITS",3415:"STENCIL_BITS",3553:"TEXTURE_2D",4352:"DONT_CARE",4353:"FASTEST",4354:"NICEST",5120:"BYTE",5121:"UNSIGNED_BYTE",5122:"SHORT",5123:"UNSIGNED_SHORT",5124:"INT",5125:"UNSIGNED_INT",5126:"FLOAT",5386:"INVERT",5890:"TEXTURE",6401:"STENCIL_INDEX",6402:"DEPTH_COMPONENT",6406:"ALPHA",6407:"RGB",6408:"RGBA",6409:"LUMINANCE",6410:"LUMINANCE_ALPHA",7680:"KEEP",7681:"REPLACE",7682:"INCR",7683:"DECR",7936:"VENDOR",7937:"RENDERER",7938:"VERSION",9728:"NEAREST",9729:"LINEAR",9984:"NEAREST_MIPMAP_NEAREST",9985:"LINEAR_MIPMAP_NEAREST",9986:"NEAREST_MIPMAP_LINEAR",9987:"LINEAR_MIPMAP_LINEAR",10240:"TEXTURE_MAG_FILTER",10241:"TEXTURE_MIN_FILTER",10242:"TEXTURE_WRAP_S",10243:"TEXTURE_WRAP_T",10497:"REPEAT",10752:"POLYGON_OFFSET_UNITS",16384:"COLOR_BUFFER_BIT",32769:"CONSTANT_COLOR",32770:"ONE_MINUS_CONSTANT_COLOR",32771:"CONSTANT_ALPHA",32772:"ONE_MINUS_CONSTANT_ALPHA",32773:"BLEND_COLOR",32774:"FUNC_ADD",32777:"BLEND_EQUATION_RGB",32778:"FUNC_SUBTRACT",32779:"FUNC_REVERSE_SUBTRACT",32819:"UNSIGNED_SHORT_4_4_4_4",32820:"UNSIGNED_SHORT_5_5_5_1",32823:"POLYGON_OFFSET_FILL",32824:"POLYGON_OFFSET_FACTOR",32854:"RGBA4",32855:"RGB5_A1",32873:"TEXTURE_BINDING_2D",32926:"SAMPLE_ALPHA_TO_COVERAGE",32928:"SAMPLE_COVERAGE",32936:"SAMPLE_BUFFERS",32937:"SAMPLES",32938:"SAMPLE_COVERAGE_VALUE",32939:"SAMPLE_COVERAGE_INVERT",32968:"BLEND_DST_RGB",32969:"BLEND_SRC_RGB",32970:"BLEND_DST_ALPHA",32971:"BLEND_SRC_ALPHA",33071:"CLAMP_TO_EDGE",33170:"GENERATE_MIPMAP_HINT",33189:"DEPTH_COMPONENT16",33306:"DEPTH_STENCIL_ATTACHMENT",33635:"UNSIGNED_SHORT_5_6_5",33648:"MIRRORED_REPEAT",33901:"ALIASED_POINT_SIZE_RANGE",33902:"ALIASED_LINE_WIDTH_RANGE",33984:"TEXTURE0",33985:"TEXTURE1",33986:"TEXTURE2",33987:"TEXTURE3",33988:"TEXTURE4",33989:"TEXTURE5",33990:"TEXTURE6",33991:"TEXTURE7",33992:"TEXTURE8",33993:"TEXTURE9",33994:"TEXTURE10",33995:"TEXTURE11",33996:"TEXTURE12",33997:"TEXTURE13",33998:"TEXTURE14",33999:"TEXTURE15",34e3:"TEXTURE16",34001:"TEXTURE17",34002:"TEXTURE18",34003:"TEXTURE19",34004:"TEXTURE20",34005:"TEXTURE21",34006:"TEXTURE22",34007:"TEXTURE23",34008:"TEXTURE24",34009:"TEXTURE25",34010:"TEXTURE26",34011:"TEXTURE27",34012:"TEXTURE28",34013:"TEXTURE29",34014:"TEXTURE30",34015:"TEXTURE31",34016:"ACTIVE_TEXTURE",34024:"MAX_RENDERBUFFER_SIZE",34041:"DEPTH_STENCIL",34055:"INCR_WRAP",34056:"DECR_WRAP",34067:"TEXTURE_CUBE_MAP",34068:"TEXTURE_BINDING_CUBE_MAP",34069:"TEXTURE_CUBE_MAP_POSITIVE_X",34070:"TEXTURE_CUBE_MAP_NEGATIVE_X",34071:"TEXTURE_CUBE_MAP_POSITIVE_Y",34072:"TEXTURE_CUBE_MAP_NEGATIVE_Y",34073:"TEXTURE_CUBE_MAP_POSITIVE_Z",34074:"TEXTURE_CUBE_MAP_NEGATIVE_Z",34076:"MAX_CUBE_MAP_TEXTURE_SIZE",34338:"VERTEX_ATTRIB_ARRAY_ENABLED",34339:"VERTEX_ATTRIB_ARRAY_SIZE",34340:"VERTEX_ATTRIB_ARRAY_STRIDE",34341:"VERTEX_ATTRIB_ARRAY_TYPE",34342:"CURRENT_VERTEX_ATTRIB",34373:"VERTEX_ATTRIB_ARRAY_POINTER",34466:"NUM_COMPRESSED_TEXTURE_FORMATS",34467:"COMPRESSED_TEXTURE_FORMATS",34660:"BUFFER_SIZE",34661:"BUFFER_USAGE",34816:"STENCIL_BACK_FUNC",34817:"STENCIL_BACK_FAIL",34818:"STENCIL_BACK_PASS_DEPTH_FAIL",34819:"STENCIL_BACK_PASS_DEPTH_PASS",34877:"BLEND_EQUATION_ALPHA",34921:"MAX_VERTEX_ATTRIBS",34922:"VERTEX_ATTRIB_ARRAY_NORMALIZED",34930:"MAX_TEXTURE_IMAGE_UNITS",34962:"ARRAY_BUFFER",34963:"ELEMENT_ARRAY_BUFFER",34964:"ARRAY_BUFFER_BINDING",34965:"ELEMENT_ARRAY_BUFFER_BINDING",34975:"VERTEX_ATTRIB_ARRAY_BUFFER_BINDING",35040:"STREAM_DRAW",35044:"STATIC_DRAW",35048:"DYNAMIC_DRAW",35632:"FRAGMENT_SHADER",35633:"VERTEX_SHADER",35660:"MAX_VERTEX_TEXTURE_IMAGE_UNITS",35661:"MAX_COMBINED_TEXTURE_IMAGE_UNITS",35663:"SHADER_TYPE",35664:"FLOAT_VEC2",35665:"FLOAT_VEC3",35666:"FLOAT_VEC4",35667:"INT_VEC2",35668:"INT_VEC3",35669:"INT_VEC4",35670:"BOOL",35671:"BOOL_VEC2",35672:"BOOL_VEC3",35673:"BOOL_VEC4",35674:"FLOAT_MAT2",35675:"FLOAT_MAT3",35676:"FLOAT_MAT4",35678:"SAMPLER_2D",35680:"SAMPLER_CUBE",35712:"DELETE_STATUS",35713:"COMPILE_STATUS",35714:"LINK_STATUS",35715:"VALIDATE_STATUS",35716:"INFO_LOG_LENGTH",35717:"ATTACHED_SHADERS",35718:"ACTIVE_UNIFORMS",35719:"ACTIVE_UNIFORM_MAX_LENGTH",35720:"SHADER_SOURCE_LENGTH",35721:"ACTIVE_ATTRIBUTES",35722:"ACTIVE_ATTRIBUTE_MAX_LENGTH",35724:"SHADING_LANGUAGE_VERSION",35725:"CURRENT_PROGRAM",36003:"STENCIL_BACK_REF",36004:"STENCIL_BACK_VALUE_MASK",36005:"STENCIL_BACK_WRITEMASK",36006:"FRAMEBUFFER_BINDING",36007:"RENDERBUFFER_BINDING",36048:"FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE",36049:"FRAMEBUFFER_ATTACHMENT_OBJECT_NAME",36050:"FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL",36051:"FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE",36053:"FRAMEBUFFER_COMPLETE",36054:"FRAMEBUFFER_INCOMPLETE_ATTACHMENT",36055:"FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT",36057:"FRAMEBUFFER_INCOMPLETE_DIMENSIONS",36061:"FRAMEBUFFER_UNSUPPORTED",36064:"COLOR_ATTACHMENT0",36096:"DEPTH_ATTACHMENT",36128:"STENCIL_ATTACHMENT",36160:"FRAMEBUFFER",36161:"RENDERBUFFER",36162:"RENDERBUFFER_WIDTH",36163:"RENDERBUFFER_HEIGHT",36164:"RENDERBUFFER_INTERNAL_FORMAT",36168:"STENCIL_INDEX8",36176:"RENDERBUFFER_RED_SIZE",36177:"RENDERBUFFER_GREEN_SIZE",36178:"RENDERBUFFER_BLUE_SIZE",36179:"RENDERBUFFER_ALPHA_SIZE",36180:"RENDERBUFFER_DEPTH_SIZE",36181:"RENDERBUFFER_STENCIL_SIZE",36194:"RGB565",36336:"LOW_FLOAT",36337:"MEDIUM_FLOAT",36338:"HIGH_FLOAT",36339:"LOW_INT",36340:"MEDIUM_INT",36341:"HIGH_INT",36346:"SHADER_COMPILER",36347:"MAX_VERTEX_UNIFORM_VECTORS",36348:"MAX_VARYING_VECTORS",36349:"MAX_FRAGMENT_UNIFORM_VECTORS",37440:"UNPACK_FLIP_Y_WEBGL",37441:"UNPACK_PREMULTIPLY_ALPHA_WEBGL",37442:"CONTEXT_LOST_WEBGL",37443:"UNPACK_COLORSPACE_CONVERSION_WEBGL",37444:"BROWSER_DEFAULT_WEBGL"}},6603:function(f,l,a){var u=a(1950);f.exports=function(o){return u[o]}},3110:function(f,l,a){f.exports=function(_){var k=_.gl,E=u(k),x=o(k,[{buffer:E,type:k.FLOAT,size:3,offset:0,stride:40},{buffer:E,type:k.FLOAT,size:4,offset:12,stride:40},{buffer:E,type:k.FLOAT,size:3,offset:28,stride:40}]),A=s(k);A.attributes.position.location=0,A.attributes.color.location=1,A.attributes.offset.location=2;var L=new c(k,E,x,A);return L.update(_),L};var u=a(5827),o=a(2944),s=a(7667),h=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function c(_,k,E,x){this.gl=_,this.shader=x,this.buffer=k,this.vao=E,this.pixelRatio=1,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.lineWidth=[1,1,1],this.capSize=[10,10,10],this.lineCount=[0,0,0],this.lineOffset=[0,0,0],this.opacity=1,this.hasAlpha=!1}var m=c.prototype;function w(_,k){for(var E=0;E<3;++E)_[0][E]=Math.min(_[0][E],k[E]),_[1][E]=Math.max(_[1][E],k[E])}m.isOpaque=function(){return!this.hasAlpha},m.isTransparent=function(){return this.hasAlpha},m.drawTransparent=m.draw=function(_){var k=this.gl,E=this.shader.uniforms;this.shader.bind();var x=E.view=_.view||h,A=E.projection=_.projection||h;E.model=_.model||h,E.clipBounds=this.clipBounds,E.opacity=this.opacity;var L=x[12],b=x[13],R=x[14],I=x[15],O=(_._ortho?2:1)*this.pixelRatio*(A[3]*L+A[7]*b+A[11]*R+A[15]*I)/k.drawingBufferHeight;this.vao.bind();for(var z=0;z<3;++z)k.lineWidth(this.lineWidth[z]*this.pixelRatio),E.capSize=this.capSize[z]*O,this.lineCount[z]&&k.drawArrays(k.LINES,this.lineOffset[z],this.lineCount[z]);this.vao.unbind()};var y=function(){for(var _=new Array(3),k=0;k<3;++k){for(var E=[],x=1;x<=2;++x)for(var A=-1;A<=1;A+=2){var L=[0,0,0];L[(x+k)%3]=A,E.push(L)}_[k]=E}return _}();function C(_,k,E,x){for(var A=y[x],L=0;L0&&((F=O.slice())[R]+=B[1][R],A.push(O[0],O[1],O[2],N[0],N[1],N[2],N[3],0,0,0,F[0],F[1],F[2],N[0],N[1],N[2],N[3],0,0,0),w(this.bounds,F),b+=2+C(A,F,N,R)))}this.lineCount[R]=b-this.lineOffset[R]}this.buffer.update(A)}},m.dispose=function(){this.shader.dispose(),this.buffer.dispose(),this.vao.dispose()}},7667:function(f,l,a){var u=a(6832),o=a(5158),s=u([`precision highp float; -======== -}`]);l.meshShader={vertex:o,fragment:s,attributes:[{name:"position",type:"vec4"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"},{name:"vector",type:"vec3"}]},l.pickShader={vertex:c,fragment:h,attributes:[{name:"position",type:"vec4"},{name:"id",type:"vec4"},{name:"vector",type:"vec3"}]}},1950:function(f){f.exports={0:"NONE",1:"ONE",2:"LINE_LOOP",3:"LINE_STRIP",4:"TRIANGLES",5:"TRIANGLE_STRIP",6:"TRIANGLE_FAN",256:"DEPTH_BUFFER_BIT",512:"NEVER",513:"LESS",514:"EQUAL",515:"LEQUAL",516:"GREATER",517:"NOTEQUAL",518:"GEQUAL",519:"ALWAYS",768:"SRC_COLOR",769:"ONE_MINUS_SRC_COLOR",770:"SRC_ALPHA",771:"ONE_MINUS_SRC_ALPHA",772:"DST_ALPHA",773:"ONE_MINUS_DST_ALPHA",774:"DST_COLOR",775:"ONE_MINUS_DST_COLOR",776:"SRC_ALPHA_SATURATE",1024:"STENCIL_BUFFER_BIT",1028:"FRONT",1029:"BACK",1032:"FRONT_AND_BACK",1280:"INVALID_ENUM",1281:"INVALID_VALUE",1282:"INVALID_OPERATION",1285:"OUT_OF_MEMORY",1286:"INVALID_FRAMEBUFFER_OPERATION",2304:"CW",2305:"CCW",2849:"LINE_WIDTH",2884:"CULL_FACE",2885:"CULL_FACE_MODE",2886:"FRONT_FACE",2928:"DEPTH_RANGE",2929:"DEPTH_TEST",2930:"DEPTH_WRITEMASK",2931:"DEPTH_CLEAR_VALUE",2932:"DEPTH_FUNC",2960:"STENCIL_TEST",2961:"STENCIL_CLEAR_VALUE",2962:"STENCIL_FUNC",2963:"STENCIL_VALUE_MASK",2964:"STENCIL_FAIL",2965:"STENCIL_PASS_DEPTH_FAIL",2966:"STENCIL_PASS_DEPTH_PASS",2967:"STENCIL_REF",2968:"STENCIL_WRITEMASK",2978:"VIEWPORT",3024:"DITHER",3042:"BLEND",3088:"SCISSOR_BOX",3089:"SCISSOR_TEST",3106:"COLOR_CLEAR_VALUE",3107:"COLOR_WRITEMASK",3317:"UNPACK_ALIGNMENT",3333:"PACK_ALIGNMENT",3379:"MAX_TEXTURE_SIZE",3386:"MAX_VIEWPORT_DIMS",3408:"SUBPIXEL_BITS",3410:"RED_BITS",3411:"GREEN_BITS",3412:"BLUE_BITS",3413:"ALPHA_BITS",3414:"DEPTH_BITS",3415:"STENCIL_BITS",3553:"TEXTURE_2D",4352:"DONT_CARE",4353:"FASTEST",4354:"NICEST",5120:"BYTE",5121:"UNSIGNED_BYTE",5122:"SHORT",5123:"UNSIGNED_SHORT",5124:"INT",5125:"UNSIGNED_INT",5126:"FLOAT",5386:"INVERT",5890:"TEXTURE",6401:"STENCIL_INDEX",6402:"DEPTH_COMPONENT",6406:"ALPHA",6407:"RGB",6408:"RGBA",6409:"LUMINANCE",6410:"LUMINANCE_ALPHA",7680:"KEEP",7681:"REPLACE",7682:"INCR",7683:"DECR",7936:"VENDOR",7937:"RENDERER",7938:"VERSION",9728:"NEAREST",9729:"LINEAR",9984:"NEAREST_MIPMAP_NEAREST",9985:"LINEAR_MIPMAP_NEAREST",9986:"NEAREST_MIPMAP_LINEAR",9987:"LINEAR_MIPMAP_LINEAR",10240:"TEXTURE_MAG_FILTER",10241:"TEXTURE_MIN_FILTER",10242:"TEXTURE_WRAP_S",10243:"TEXTURE_WRAP_T",10497:"REPEAT",10752:"POLYGON_OFFSET_UNITS",16384:"COLOR_BUFFER_BIT",32769:"CONSTANT_COLOR",32770:"ONE_MINUS_CONSTANT_COLOR",32771:"CONSTANT_ALPHA",32772:"ONE_MINUS_CONSTANT_ALPHA",32773:"BLEND_COLOR",32774:"FUNC_ADD",32777:"BLEND_EQUATION_RGB",32778:"FUNC_SUBTRACT",32779:"FUNC_REVERSE_SUBTRACT",32819:"UNSIGNED_SHORT_4_4_4_4",32820:"UNSIGNED_SHORT_5_5_5_1",32823:"POLYGON_OFFSET_FILL",32824:"POLYGON_OFFSET_FACTOR",32854:"RGBA4",32855:"RGB5_A1",32873:"TEXTURE_BINDING_2D",32926:"SAMPLE_ALPHA_TO_COVERAGE",32928:"SAMPLE_COVERAGE",32936:"SAMPLE_BUFFERS",32937:"SAMPLES",32938:"SAMPLE_COVERAGE_VALUE",32939:"SAMPLE_COVERAGE_INVERT",32968:"BLEND_DST_RGB",32969:"BLEND_SRC_RGB",32970:"BLEND_DST_ALPHA",32971:"BLEND_SRC_ALPHA",33071:"CLAMP_TO_EDGE",33170:"GENERATE_MIPMAP_HINT",33189:"DEPTH_COMPONENT16",33306:"DEPTH_STENCIL_ATTACHMENT",33635:"UNSIGNED_SHORT_5_6_5",33648:"MIRRORED_REPEAT",33901:"ALIASED_POINT_SIZE_RANGE",33902:"ALIASED_LINE_WIDTH_RANGE",33984:"TEXTURE0",33985:"TEXTURE1",33986:"TEXTURE2",33987:"TEXTURE3",33988:"TEXTURE4",33989:"TEXTURE5",33990:"TEXTURE6",33991:"TEXTURE7",33992:"TEXTURE8",33993:"TEXTURE9",33994:"TEXTURE10",33995:"TEXTURE11",33996:"TEXTURE12",33997:"TEXTURE13",33998:"TEXTURE14",33999:"TEXTURE15",34e3:"TEXTURE16",34001:"TEXTURE17",34002:"TEXTURE18",34003:"TEXTURE19",34004:"TEXTURE20",34005:"TEXTURE21",34006:"TEXTURE22",34007:"TEXTURE23",34008:"TEXTURE24",34009:"TEXTURE25",34010:"TEXTURE26",34011:"TEXTURE27",34012:"TEXTURE28",34013:"TEXTURE29",34014:"TEXTURE30",34015:"TEXTURE31",34016:"ACTIVE_TEXTURE",34024:"MAX_RENDERBUFFER_SIZE",34041:"DEPTH_STENCIL",34055:"INCR_WRAP",34056:"DECR_WRAP",34067:"TEXTURE_CUBE_MAP",34068:"TEXTURE_BINDING_CUBE_MAP",34069:"TEXTURE_CUBE_MAP_POSITIVE_X",34070:"TEXTURE_CUBE_MAP_NEGATIVE_X",34071:"TEXTURE_CUBE_MAP_POSITIVE_Y",34072:"TEXTURE_CUBE_MAP_NEGATIVE_Y",34073:"TEXTURE_CUBE_MAP_POSITIVE_Z",34074:"TEXTURE_CUBE_MAP_NEGATIVE_Z",34076:"MAX_CUBE_MAP_TEXTURE_SIZE",34338:"VERTEX_ATTRIB_ARRAY_ENABLED",34339:"VERTEX_ATTRIB_ARRAY_SIZE",34340:"VERTEX_ATTRIB_ARRAY_STRIDE",34341:"VERTEX_ATTRIB_ARRAY_TYPE",34342:"CURRENT_VERTEX_ATTRIB",34373:"VERTEX_ATTRIB_ARRAY_POINTER",34466:"NUM_COMPRESSED_TEXTURE_FORMATS",34467:"COMPRESSED_TEXTURE_FORMATS",34660:"BUFFER_SIZE",34661:"BUFFER_USAGE",34816:"STENCIL_BACK_FUNC",34817:"STENCIL_BACK_FAIL",34818:"STENCIL_BACK_PASS_DEPTH_FAIL",34819:"STENCIL_BACK_PASS_DEPTH_PASS",34877:"BLEND_EQUATION_ALPHA",34921:"MAX_VERTEX_ATTRIBS",34922:"VERTEX_ATTRIB_ARRAY_NORMALIZED",34930:"MAX_TEXTURE_IMAGE_UNITS",34962:"ARRAY_BUFFER",34963:"ELEMENT_ARRAY_BUFFER",34964:"ARRAY_BUFFER_BINDING",34965:"ELEMENT_ARRAY_BUFFER_BINDING",34975:"VERTEX_ATTRIB_ARRAY_BUFFER_BINDING",35040:"STREAM_DRAW",35044:"STATIC_DRAW",35048:"DYNAMIC_DRAW",35632:"FRAGMENT_SHADER",35633:"VERTEX_SHADER",35660:"MAX_VERTEX_TEXTURE_IMAGE_UNITS",35661:"MAX_COMBINED_TEXTURE_IMAGE_UNITS",35663:"SHADER_TYPE",35664:"FLOAT_VEC2",35665:"FLOAT_VEC3",35666:"FLOAT_VEC4",35667:"INT_VEC2",35668:"INT_VEC3",35669:"INT_VEC4",35670:"BOOL",35671:"BOOL_VEC2",35672:"BOOL_VEC3",35673:"BOOL_VEC4",35674:"FLOAT_MAT2",35675:"FLOAT_MAT3",35676:"FLOAT_MAT4",35678:"SAMPLER_2D",35680:"SAMPLER_CUBE",35712:"DELETE_STATUS",35713:"COMPILE_STATUS",35714:"LINK_STATUS",35715:"VALIDATE_STATUS",35716:"INFO_LOG_LENGTH",35717:"ATTACHED_SHADERS",35718:"ACTIVE_UNIFORMS",35719:"ACTIVE_UNIFORM_MAX_LENGTH",35720:"SHADER_SOURCE_LENGTH",35721:"ACTIVE_ATTRIBUTES",35722:"ACTIVE_ATTRIBUTE_MAX_LENGTH",35724:"SHADING_LANGUAGE_VERSION",35725:"CURRENT_PROGRAM",36003:"STENCIL_BACK_REF",36004:"STENCIL_BACK_VALUE_MASK",36005:"STENCIL_BACK_WRITEMASK",36006:"FRAMEBUFFER_BINDING",36007:"RENDERBUFFER_BINDING",36048:"FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE",36049:"FRAMEBUFFER_ATTACHMENT_OBJECT_NAME",36050:"FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL",36051:"FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE",36053:"FRAMEBUFFER_COMPLETE",36054:"FRAMEBUFFER_INCOMPLETE_ATTACHMENT",36055:"FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT",36057:"FRAMEBUFFER_INCOMPLETE_DIMENSIONS",36061:"FRAMEBUFFER_UNSUPPORTED",36064:"COLOR_ATTACHMENT0",36096:"DEPTH_ATTACHMENT",36128:"STENCIL_ATTACHMENT",36160:"FRAMEBUFFER",36161:"RENDERBUFFER",36162:"RENDERBUFFER_WIDTH",36163:"RENDERBUFFER_HEIGHT",36164:"RENDERBUFFER_INTERNAL_FORMAT",36168:"STENCIL_INDEX8",36176:"RENDERBUFFER_RED_SIZE",36177:"RENDERBUFFER_GREEN_SIZE",36178:"RENDERBUFFER_BLUE_SIZE",36179:"RENDERBUFFER_ALPHA_SIZE",36180:"RENDERBUFFER_DEPTH_SIZE",36181:"RENDERBUFFER_STENCIL_SIZE",36194:"RGB565",36336:"LOW_FLOAT",36337:"MEDIUM_FLOAT",36338:"HIGH_FLOAT",36339:"LOW_INT",36340:"MEDIUM_INT",36341:"HIGH_INT",36346:"SHADER_COMPILER",36347:"MAX_VERTEX_UNIFORM_VECTORS",36348:"MAX_VARYING_VECTORS",36349:"MAX_FRAGMENT_UNIFORM_VECTORS",37440:"UNPACK_FLIP_Y_WEBGL",37441:"UNPACK_PREMULTIPLY_ALPHA_WEBGL",37442:"CONTEXT_LOST_WEBGL",37443:"UNPACK_COLORSPACE_CONVERSION_WEBGL",37444:"BROWSER_DEFAULT_WEBGL"}},6603:function(f,l,a){var u=a(1950);f.exports=function(o){return u[o]}},3110:function(f,l,a){f.exports=function(_){var k=_.gl,E=u(k),x=o(k,[{buffer:E,type:k.FLOAT,size:3,offset:0,stride:40},{buffer:E,type:k.FLOAT,size:4,offset:12,stride:40},{buffer:E,type:k.FLOAT,size:3,offset:28,stride:40}]),A=s(k);A.attributes.position.location=0,A.attributes.color.location=1,A.attributes.offset.location=2;var L=new h(k,E,x,A);return L.update(_),L};var u=a(5827),o=a(2944),s=a(7667),c=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function h(_,k,E,x){this.gl=_,this.shader=x,this.buffer=k,this.vao=E,this.pixelRatio=1,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.lineWidth=[1,1,1],this.capSize=[10,10,10],this.lineCount=[0,0,0],this.lineOffset=[0,0,0],this.opacity=1,this.hasAlpha=!1}var m=h.prototype;function w(_,k){for(var E=0;E<3;++E)_[0][E]=Math.min(_[0][E],k[E]),_[1][E]=Math.max(_[1][E],k[E])}m.isOpaque=function(){return!this.hasAlpha},m.isTransparent=function(){return this.hasAlpha},m.drawTransparent=m.draw=function(_){var k=this.gl,E=this.shader.uniforms;this.shader.bind();var x=E.view=_.view||c,A=E.projection=_.projection||c;E.model=_.model||c,E.clipBounds=this.clipBounds,E.opacity=this.opacity;var L=x[12],b=x[13],R=x[14],I=x[15],O=(_._ortho?2:1)*this.pixelRatio*(A[3]*L+A[7]*b+A[11]*R+A[15]*I)/k.drawingBufferHeight;this.vao.bind();for(var z=0;z<3;++z)k.lineWidth(this.lineWidth[z]*this.pixelRatio),E.capSize=this.capSize[z]*O,this.lineCount[z]&&k.drawArrays(k.LINES,this.lineOffset[z],this.lineCount[z]);this.vao.unbind()};var y=function(){for(var _=new Array(3),k=0;k<3;++k){for(var E=[],x=1;x<=2;++x)for(var A=-1;A<=1;A+=2){var L=[0,0,0];L[(x+k)%3]=A,E.push(L)}_[k]=E}return _}();function S(_,k,E,x){for(var A=y[x],L=0;L0&&((F=O.slice())[R]+=B[1][R],A.push(O[0],O[1],O[2],N[0],N[1],N[2],N[3],0,0,0,F[0],F[1],F[2],N[0],N[1],N[2],N[3],0,0,0),w(this.bounds,F),b+=2+S(A,F,N,R)))}this.lineCount[R]=b-this.lineOffset[R]}this.buffer.update(A)}},m.dispose=function(){this.shader.dispose(),this.buffer.dispose(),this.vao.dispose()}},7667:function(f,l,a){var u=a(6832),o=a(5158),s=u([`precision highp float; ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js -#define GLSLIFY 1 - -attribute vec3 position, offset; -attribute vec4 color; -uniform mat4 model, view, projection; -uniform float capSize; -varying vec4 fragColor; -varying vec3 fragPosition; - -void main() { - vec4 worldPosition = model * vec4(position, 1.0); - worldPosition = (worldPosition / worldPosition.w) + vec4(capSize * offset, 0.0); - gl_Position = projection * view * worldPosition; - fragColor = color; - fragPosition = position; -}`]),h=u([`precision highp float; -#define GLSLIFY 1 - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -uniform vec3 clipBounds[2]; -uniform float opacity; -varying vec3 fragPosition; -varying vec4 fragColor; - -void main() { - if ( - outOfRange(clipBounds[0], clipBounds[1], fragPosition) || - fragColor.a * opacity == 0. - ) discard; - - gl_FragColor = opacity * fragColor; -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js -}`]);f.exports=function(c){return o(c,s,h,null,[{name:"position",type:"vec3"},{name:"color",type:"vec4"},{name:"offset",type:"vec3"}])}},4234:function(f,l,a){var u=a(8931);f.exports=function(L,b,R,I){o||(o=L.FRAMEBUFFER_UNSUPPORTED,s=L.FRAMEBUFFER_INCOMPLETE_ATTACHMENT,h=L.FRAMEBUFFER_INCOMPLETE_DIMENSIONS,c=L.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT);var O=L.getExtension("WEBGL_draw_buffers");if(!m&&O&&function($,U){var G=$.getParameter(U.MAX_COLOR_ATTACHMENTS_WEBGL);m=new Array(G+1);for(var q=0;q<=G;++q){for(var H=new Array(G),ne=0;nez||R<0||R>z)throw new Error("gl-fbo: Parameters are too large for FBO");var F=1;if("color"in(I=I||{})){if((F=Math.max(0|I.color,0))<0)throw new Error("gl-fbo: Must specify a nonnegative number of colors");if(F>1){if(!O)throw new Error("gl-fbo: Multiple draw buffer extension not supported");if(F>L.getParameter(O.MAX_COLOR_ATTACHMENTS_WEBGL))throw new Error("gl-fbo: Context does not support "+F+" draw buffers")}}var B=L.UNSIGNED_BYTE,N=L.getExtension("OES_texture_float");if(I.float&&F>0){if(!N)throw new Error("gl-fbo: Context does not support floating point textures");B=L.FLOAT}else I.preferFloat&&F>0&&N&&(B=L.FLOAT);var W=!0;"depth"in I&&(W=!!I.depth);var j=!1;return"stencil"in I&&(j=!!I.stencil),new E(L,b,R,B,F,W,j,O)};var o,s,h,c,m=null;function w(L){return[L.getParameter(L.FRAMEBUFFER_BINDING),L.getParameter(L.RENDERBUFFER_BINDING),L.getParameter(L.TEXTURE_BINDING_2D)]}function y(L,b){L.bindFramebuffer(L.FRAMEBUFFER,b[0]),L.bindRenderbuffer(L.RENDERBUFFER,b[1]),L.bindTexture(L.TEXTURE_2D,b[2])}function C(L){switch(L){case o:throw new Error("gl-fbo: Framebuffer unsupported");case s:throw new Error("gl-fbo: Framebuffer incomplete attachment");case h:throw new Error("gl-fbo: Framebuffer incomplete dimensions");case c:throw new Error("gl-fbo: Framebuffer incomplete missing attachment");default:throw new Error("gl-fbo: Framebuffer failed for unspecified reason")}}function _(L,b,R,I,O,z){if(!I)return null;var F=u(L,b,R,O,I);return F.magFilter=L.NEAREST,F.minFilter=L.NEAREST,F.mipSamples=1,F.bind(),L.framebufferTexture2D(L.FRAMEBUFFER,z,L.TEXTURE_2D,F.handle,0),F}function k(L,b,R,I,O){var z=L.createRenderbuffer();return L.bindRenderbuffer(L.RENDERBUFFER,z),L.renderbufferStorage(L.RENDERBUFFER,I,b,R),L.framebufferRenderbuffer(L.FRAMEBUFFER,O,L.RENDERBUFFER,z),z}function E(L,b,R,I,O,z,F,B){this.gl=L,this._shape=[0|b,0|R],this._destroyed=!1,this._ext=B,this.color=new Array(O);for(var N=0;N1&&Z.drawBuffersWEBGL(m[te]);var oe=G.getExtension("WEBGL_depth_texture");oe?X?$.depth=_(G,H,ne,oe.UNSIGNED_INT_24_8_WEBGL,G.DEPTH_STENCIL,G.DEPTH_STENCIL_ATTACHMENT):Q&&($.depth=_(G,H,ne,G.UNSIGNED_SHORT,G.DEPTH_COMPONENT,G.DEPTH_ATTACHMENT)):Q&&X?$._depth_rb=k(G,H,ne,G.DEPTH_STENCIL,G.DEPTH_STENCIL_ATTACHMENT):Q?$._depth_rb=k(G,H,ne,G.DEPTH_COMPONENT16,G.DEPTH_ATTACHMENT):X&&($._depth_rb=k(G,H,ne,G.STENCIL_INDEX,G.STENCIL_ATTACHMENT));var ue=G.checkFramebufferStatus(G.FRAMEBUFFER);if(ue!==G.FRAMEBUFFER_COMPLETE){for($._destroyed=!0,G.bindFramebuffer(G.FRAMEBUFFER,null),G.deleteFramebuffer($.handle),$.handle=null,$.depth&&($.depth.dispose(),$.depth=null),$._depth_rb&&(G.deleteRenderbuffer($._depth_rb),$._depth_rb=null),ie=0;ie<$.color.length;++ie)$.color[ie].dispose(),$.color[ie]=null;$._color_rb&&(G.deleteRenderbuffer($._color_rb),$._color_rb=null),y(G,U),C(ue)}y(G,U)}(this)}var x=E.prototype;function A(L,b,R){if(L._destroyed)throw new Error("gl-fbo: Can't resize destroyed FBO");if(L._shape[0]!==b||L._shape[1]!==R){var I=L.gl,O=I.getParameter(I.MAX_RENDERBUFFER_SIZE);if(b<0||b>O||R<0||R>O)throw new Error("gl-fbo: Can't resize FBO, invalid dimensions");L._shape[0]=b,L._shape[1]=R;for(var z=w(I),F=0;F>8*W&255;this.pickOffset=x,L.bind();var j=L.uniforms;j.viewTransform=k,j.pickOffset=E,j.shape=this.shape;var $=L.attributes;return this.positionBuffer.bind(),$.position.pointer(),this.weightBuffer.bind(),$.weight.pointer(I.UNSIGNED_BYTE,!1),this.idBuffer.bind(),$.pickId.pointer(I.UNSIGNED_BYTE,!1),I.drawArrays(I.TRIANGLES,0,R),x+this.shape[0]*this.shape[1]}}}(),C.pick=function(k,E,x){var A=this.pickOffset,L=this.shape[0]*this.shape[1];if(x=A+L)return null;var b=x-A,R=this.xData,I=this.yData;return{object:this,pointId:b,dataCoord:[R[b%this.shape[0]],I[b/this.shape[0]|0]]}},C.update=function(k){var E=(k=k||{}).shape||[0,0],x=k.x||o(E[0]),A=k.y||o(E[1]),L=k.z||new Float32Array(E[0]*E[1]),b=k.zsmooth!==!1;this.xData=x,this.yData=A;var R,I,O,z,F=k.colorLevels||[0],B=k.colorValues||[0,0,0,1],N=F.length,W=this.bounds;b?(R=W[0]=x[0],I=W[1]=A[0],O=W[2]=x[x.length-1],z=W[3]=A[A.length-1]):(R=W[0]=x[0]+(x[1]-x[0])/2,I=W[1]=A[0]+(A[1]-A[0])/2,O=W[2]=x[x.length-1]+(x[x.length-1]-x[x.length-2])/2,z=W[3]=A[A.length-1]+(A[A.length-1]-A[A.length-2])/2);var j=1/(O-R),$=1/(z-I),U=E[0],G=E[1];this.shape=[U,G];var q=(b?(U-1)*(G-1):U*G)*(_.length>>>1);this.numVertices=q;for(var H=s.mallocUint8(4*q),ne=s.mallocFloat32(2*q),te=s.mallocUint8(2*q),Z=s.mallocUint32(q),X=0,Q=b?U-1:U,re=b?G-1:G,ie=0;iez||R<0||R>z)throw new Error("gl-fbo: Parameters are too large for FBO");var F=1;if("color"in(I=I||{})){if((F=Math.max(0|I.color,0))<0)throw new Error("gl-fbo: Must specify a nonnegative number of colors");if(F>1){if(!O)throw new Error("gl-fbo: Multiple draw buffer extension not supported");if(F>L.getParameter(O.MAX_COLOR_ATTACHMENTS_WEBGL))throw new Error("gl-fbo: Context does not support "+F+" draw buffers")}}var B=L.UNSIGNED_BYTE,N=L.getExtension("OES_texture_float");if(I.float&&F>0){if(!N)throw new Error("gl-fbo: Context does not support floating point textures");B=L.FLOAT}else I.preferFloat&&F>0&&N&&(B=L.FLOAT);var W=!0;"depth"in I&&(W=!!I.depth);var j=!1;return"stencil"in I&&(j=!!I.stencil),new E(L,b,R,B,F,W,j,O)};var o,s,c,h,m=null;function w(L){return[L.getParameter(L.FRAMEBUFFER_BINDING),L.getParameter(L.RENDERBUFFER_BINDING),L.getParameter(L.TEXTURE_BINDING_2D)]}function y(L,b){L.bindFramebuffer(L.FRAMEBUFFER,b[0]),L.bindRenderbuffer(L.RENDERBUFFER,b[1]),L.bindTexture(L.TEXTURE_2D,b[2])}function S(L){switch(L){case o:throw new Error("gl-fbo: Framebuffer unsupported");case s:throw new Error("gl-fbo: Framebuffer incomplete attachment");case c:throw new Error("gl-fbo: Framebuffer incomplete dimensions");case h:throw new Error("gl-fbo: Framebuffer incomplete missing attachment");default:throw new Error("gl-fbo: Framebuffer failed for unspecified reason")}}function _(L,b,R,I,O,z){if(!I)return null;var F=u(L,b,R,O,I);return F.magFilter=L.NEAREST,F.minFilter=L.NEAREST,F.mipSamples=1,F.bind(),L.framebufferTexture2D(L.FRAMEBUFFER,z,L.TEXTURE_2D,F.handle,0),F}function k(L,b,R,I,O){var z=L.createRenderbuffer();return L.bindRenderbuffer(L.RENDERBUFFER,z),L.renderbufferStorage(L.RENDERBUFFER,I,b,R),L.framebufferRenderbuffer(L.FRAMEBUFFER,O,L.RENDERBUFFER,z),z}function E(L,b,R,I,O,z,F,B){this.gl=L,this._shape=[0|b,0|R],this._destroyed=!1,this._ext=B,this.color=new Array(O);for(var N=0;N1&&Z.drawBuffersWEBGL(m[te]);var oe=G.getExtension("WEBGL_depth_texture");oe?X?$.depth=_(G,H,ne,oe.UNSIGNED_INT_24_8_WEBGL,G.DEPTH_STENCIL,G.DEPTH_STENCIL_ATTACHMENT):Q&&($.depth=_(G,H,ne,G.UNSIGNED_SHORT,G.DEPTH_COMPONENT,G.DEPTH_ATTACHMENT)):Q&&X?$._depth_rb=k(G,H,ne,G.DEPTH_STENCIL,G.DEPTH_STENCIL_ATTACHMENT):Q?$._depth_rb=k(G,H,ne,G.DEPTH_COMPONENT16,G.DEPTH_ATTACHMENT):X&&($._depth_rb=k(G,H,ne,G.STENCIL_INDEX,G.STENCIL_ATTACHMENT));var ue=G.checkFramebufferStatus(G.FRAMEBUFFER);if(ue!==G.FRAMEBUFFER_COMPLETE){for($._destroyed=!0,G.bindFramebuffer(G.FRAMEBUFFER,null),G.deleteFramebuffer($.handle),$.handle=null,$.depth&&($.depth.dispose(),$.depth=null),$._depth_rb&&(G.deleteRenderbuffer($._depth_rb),$._depth_rb=null),ie=0;ie<$.color.length;++ie)$.color[ie].dispose(),$.color[ie]=null;$._color_rb&&(G.deleteRenderbuffer($._color_rb),$._color_rb=null),y(G,U),S(ue)}y(G,U)}(this)}var x=E.prototype;function A(L,b,R){if(L._destroyed)throw new Error("gl-fbo: Can't resize destroyed FBO");if(L._shape[0]!==b||L._shape[1]!==R){var I=L.gl,O=I.getParameter(I.MAX_RENDERBUFFER_SIZE);if(b<0||b>O||R<0||R>O)throw new Error("gl-fbo: Can't resize FBO, invalid dimensions");L._shape[0]=b,L._shape[1]=R;for(var z=w(I),F=0;F>8*W&255;this.pickOffset=x,L.bind();var j=L.uniforms;j.viewTransform=k,j.pickOffset=E,j.shape=this.shape;var $=L.attributes;return this.positionBuffer.bind(),$.position.pointer(),this.weightBuffer.bind(),$.weight.pointer(I.UNSIGNED_BYTE,!1),this.idBuffer.bind(),$.pickId.pointer(I.UNSIGNED_BYTE,!1),I.drawArrays(I.TRIANGLES,0,R),x+this.shape[0]*this.shape[1]}}}(),S.pick=function(k,E,x){var A=this.pickOffset,L=this.shape[0]*this.shape[1];if(x=A+L)return null;var b=x-A,R=this.xData,I=this.yData;return{object:this,pointId:b,dataCoord:[R[b%this.shape[0]],I[b/this.shape[0]|0]]}},S.update=function(k){var E=(k=k||{}).shape||[0,0],x=k.x||o(E[0]),A=k.y||o(E[1]),L=k.z||new Float32Array(E[0]*E[1]),b=k.zsmooth!==!1;this.xData=x,this.yData=A;var R,I,O,z,F=k.colorLevels||[0],B=k.colorValues||[0,0,0,1],N=F.length,W=this.bounds;b?(R=W[0]=x[0],I=W[1]=A[0],O=W[2]=x[x.length-1],z=W[3]=A[A.length-1]):(R=W[0]=x[0]+(x[1]-x[0])/2,I=W[1]=A[0]+(A[1]-A[0])/2,O=W[2]=x[x.length-1]+(x[x.length-1]-x[x.length-2])/2,z=W[3]=A[A.length-1]+(A[A.length-1]-A[A.length-2])/2);var j=1/(O-R),$=1/(z-I),U=E[0],G=E[1];this.shape=[U,G];var q=(b?(U-1)*(G-1):U*G)*(_.length>>>1);this.numVertices=q;for(var H=s.mallocUint8(4*q),ne=s.mallocFloat32(2*q),te=s.mallocUint8(2*q),Z=s.mallocUint32(q),X=0,Q=b?U-1:U,re=b?G-1:G,ie=0;ie>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js -#define GLSLIFY 1 -varying vec4 fragColor; -void main() { - gl_FragColor = vec4(fragColor.rgb * fragColor.a, fragColor.a); -} -`]),vertex:u([`precision mediump float; -#define GLSLIFY 1 - -attribute vec2 position; -attribute vec4 color; -attribute vec2 weight; - -uniform vec2 shape; -uniform mat3 viewTransform; - -varying vec4 fragColor; - -void main() { - vec3 vPosition = viewTransform * vec3( position + (weight-.5)/(shape-1.) , 1.0); - fragColor = color; - gl_Position = vec4(vPosition.xy, 0, vPosition.z); -} -`]),pickFragment:u([`precision mediump float; -#define GLSLIFY 1 - -varying vec4 fragId; -varying vec2 vWeight; - -uniform vec2 shape; -uniform vec4 pickOffset; - -void main() { - vec2 d = step(.5, vWeight); - vec4 id = fragId + pickOffset; - id.x += d.x + d.y*shape.x; - - id.y += floor(id.x / 256.0); - id.x -= floor(id.x / 256.0) * 256.0; - - id.z += floor(id.y / 256.0); - id.y -= floor(id.y / 256.0) * 256.0; - - id.w += floor(id.z / 256.0); - id.z -= floor(id.z / 256.0) * 256.0; - - gl_FragColor = id/255.; -} -`]),pickVertex:u([`precision mediump float; -#define GLSLIFY 1 - -attribute vec2 position; -attribute vec4 pickId; -attribute vec2 weight; - -uniform vec2 shape; -uniform mat3 viewTransform; - -varying vec4 fragId; -varying vec2 vWeight; - -void main() { - vWeight = weight; - - fragId = pickId; - - vec3 vPosition = viewTransform * vec3( position + (weight-.5)/(shape-1.) , 1.0); - gl_Position = vec4(vPosition.xy, 0, vPosition.z); -} -`])}},248:function(f,l,a){var u=a(6832),o=a(5158),s=u([`precision highp float; -#define GLSLIFY 1 - -attribute vec3 position, nextPosition; -attribute float arcLength, lineWidth; -attribute vec4 color; - -uniform vec2 screenShape; -uniform float pixelRatio; -uniform mat4 model, view, projection; - -varying vec4 fragColor; -varying vec3 worldPosition; -varying float pixelArcLength; - -vec4 project(vec3 p) { - return projection * view * model * vec4(p, 1.0); -} - -void main() { - vec4 startPoint = project(position); - vec4 endPoint = project(nextPosition); - - vec2 A = startPoint.xy / startPoint.w; - vec2 B = endPoint.xy / endPoint.w; - - float clipAngle = atan( - (B.y - A.y) * screenShape.y, - (B.x - A.x) * screenShape.x - ); - - vec2 offset = 0.5 * pixelRatio * lineWidth * vec2( - sin(clipAngle), - -cos(clipAngle) - ) / screenShape; - - gl_Position = vec4(startPoint.xy + startPoint.w * offset, startPoint.zw); - - worldPosition = position; - pixelArcLength = arcLength; - fragColor = color; -} -`]),h=u([`precision highp float; -#define GLSLIFY 1 - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -uniform vec3 clipBounds[2]; -uniform sampler2D dashTexture; -uniform float dashScale; -uniform float opacity; - -varying vec3 worldPosition; -varying float pixelArcLength; -varying vec4 fragColor; - -void main() { - if ( - outOfRange(clipBounds[0], clipBounds[1], worldPosition) || - fragColor.a * opacity == 0. - ) discard; - - float dashWeight = texture2D(dashTexture, vec2(dashScale * pixelArcLength, 0)).r; - if(dashWeight < 0.5) { - discard; - } - gl_FragColor = fragColor * opacity; -} -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js -`]),c=u([`precision highp float; -======== -`]),h=u([`precision highp float; ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js -#define GLSLIFY 1 - -#define FLOAT_MAX 1.70141184e38 -#define FLOAT_MIN 1.17549435e-38 - -// https://github.com/mikolalysenko/glsl-read-float/blob/master/index.glsl -vec4 packFloat(float v) { - float av = abs(v); - - //Handle special cases - if(av < FLOAT_MIN) { - return vec4(0.0, 0.0, 0.0, 0.0); - } else if(v > FLOAT_MAX) { - return vec4(127.0, 128.0, 0.0, 0.0) / 255.0; - } else if(v < -FLOAT_MAX) { - return vec4(255.0, 128.0, 0.0, 0.0) / 255.0; - } - - vec4 c = vec4(0,0,0,0); - - //Compute exponent and mantissa - float e = floor(log2(av)); - float m = av * pow(2.0, -e) - 1.0; - - //Unpack mantissa - c[1] = floor(128.0 * m); - m -= c[1] / 128.0; - c[2] = floor(32768.0 * m); - m -= c[2] / 32768.0; - c[3] = floor(8388608.0 * m); - - //Unpack exponent - float ebias = e + 127.0; - c[0] = floor(ebias / 2.0); - ebias -= c[0] * 2.0; - c[1] += floor(ebias) * 128.0; - - //Unpack sign bit - c[0] += 128.0 * step(0.0, -v); - - //Scale back to range - return c / 255.0; -} - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -uniform float pickId; -uniform vec3 clipBounds[2]; - -varying vec3 worldPosition; -varying float pixelArcLength; -varying vec4 fragColor; - -void main() { - if (outOfRange(clipBounds[0], clipBounds[1], worldPosition)) discard; - - gl_FragColor = vec4(pickId/255.0, packFloat(pixelArcLength).xyz); -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js -}`]),m=[{name:"position",type:"vec3"},{name:"nextPosition",type:"vec3"},{name:"arcLength",type:"float"},{name:"lineWidth",type:"float"},{name:"color",type:"vec4"}];l.createShader=function(w){return o(w,s,h,null,m)},l.createPickShader=function(w){return o(w,s,c,null,m)}},6086:function(f,l,a){f.exports=function(R){var I=R.gl||R.scene&&R.scene.gl,O=C(I);O.attributes.position.location=0,O.attributes.nextPosition.location=1,O.attributes.arcLength.location=2,O.attributes.lineWidth.location=3,O.attributes.color.location=4;var z=_(I);z.attributes.position.location=0,z.attributes.nextPosition.location=1,z.attributes.arcLength.location=2,z.attributes.lineWidth.location=3,z.attributes.color.location=4;for(var F=u(I),B=o(I,[{buffer:F,size:3,offset:0,stride:48},{buffer:F,size:3,offset:12,stride:48},{buffer:F,size:1,offset:24,stride:48},{buffer:F,size:1,offset:28,stride:48},{buffer:F,size:4,offset:32,stride:48}]),N=w(new Array(1024),[256,1,4]),W=0;W<1024;++W)N.data[W]=255;var j=s(I,N);j.wrap=I.REPEAT;var $=new L(I,O,z,F,B,j);return $.update(R),$};var u=a(5827),o=a(2944),s=a(8931),h=new Uint8Array(4),c=new Float32Array(h.buffer),m=a(5070),w=a(5050),y=a(248),C=y.createShader,_=y.createPickShader,k=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function E(R,I){for(var O=0,z=0;z<3;++z){var F=R[z]-I[z];O+=F*F}return Math.sqrt(O)}function x(R){for(var I=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],O=0;O<3;++O)I[0][O]=Math.max(R[0][O],I[0][O]),I[1][O]=Math.min(R[1][O],I[1][O]);return I}function A(R,I,O,z){this.arcLength=R,this.position=I,this.index=O,this.dataCoordinate=z}function L(R,I,O,z,F,B){this.gl=R,this.shader=I,this.pickShader=O,this.buffer=z,this.vao=F,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.points=[],this.arcLength=[],this.vertexCount=0,this.bounds=[[0,0,0],[0,0,0]],this.pickId=0,this.lineWidth=1,this.texture=B,this.dashScale=1,this.opacity=1,this.hasAlpha=!1,this.dirty=!0,this.pixelRatio=1}var b=L.prototype;b.isTransparent=function(){return this.hasAlpha},b.isOpaque=function(){return!this.hasAlpha},b.pickSlots=1,b.setPickBase=function(R){this.pickId=R},b.drawTransparent=b.draw=function(R){if(this.vertexCount){var I=this.gl,O=this.shader,z=this.vao;O.bind(),O.uniforms={model:R.model||k,view:R.view||k,projection:R.projection||k,clipBounds:x(this.clipBounds),dashTexture:this.texture.bind(),dashScale:this.dashScale/this.arcLength[this.arcLength.length-1],opacity:this.opacity,screenShape:[I.drawingBufferWidth,I.drawingBufferHeight],pixelRatio:this.pixelRatio},z.bind(),z.draw(I.TRIANGLE_STRIP,this.vertexCount),z.unbind()}},b.drawPick=function(R){if(this.vertexCount){var I=this.gl,O=this.pickShader,z=this.vao;O.bind(),O.uniforms={model:R.model||k,view:R.view||k,projection:R.projection||k,pickId:this.pickId,clipBounds:x(this.clipBounds),screenShape:[I.drawingBufferWidth,I.drawingBufferHeight],pixelRatio:this.pixelRatio},z.bind(),z.draw(I.TRIANGLE_STRIP,this.vertexCount),z.unbind()}},b.update=function(R){var I,O;this.dirty=!0;var z=!!R.connectGaps;"dashScale"in R&&(this.dashScale=R.dashScale),this.hasAlpha=!1,"opacity"in R&&(this.opacity=+R.opacity,this.opacity<1&&(this.hasAlpha=!0));var F=[],B=[],N=[],W=0,j=0,$=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],U=R.position||R.positions;if(U){var G=R.color||R.colors||[0,0,0,1],q=R.lineWidth||1,H=!1;e:for(I=1;I0){for(var re=0;re<24;++re)F.push(F[F.length-12]);j+=2,H=!0}continue e}$[0][O]=Math.min($[0][O],X[O],Q[O]),$[1][O]=Math.max($[1][O],X[O],Q[O])}Array.isArray(G[0])?(ne=G.length>I-1?G[I-1]:G.length>0?G[G.length-1]:[0,0,0,1],te=G.length>I?G[I]:G.length>0?G[G.length-1]:[0,0,0,1]):ne=te=G,ne.length===3&&(ne=[ne[0],ne[1],ne[2],1]),te.length===3&&(te=[te[0],te[1],te[2],1]),!this.hasAlpha&&ne[3]<1&&(this.hasAlpha=!0),Z=Array.isArray(q)?q.length>I-1?q[I-1]:q.length>0?q[q.length-1]:[0,0,0,1]:q;var ie=W;if(W+=E(X,Q),H){for(O=0;O<2;++O)F.push(X[0],X[1],X[2],Q[0],Q[1],Q[2],ie,Z,ne[0],ne[1],ne[2],ne[3]);j+=2,H=!1}F.push(X[0],X[1],X[2],Q[0],Q[1],Q[2],ie,Z,ne[0],ne[1],ne[2],ne[3],X[0],X[1],X[2],Q[0],Q[1],Q[2],ie,-Z,ne[0],ne[1],ne[2],ne[3],Q[0],Q[1],Q[2],X[0],X[1],X[2],W,-Z,te[0],te[1],te[2],te[3],Q[0],Q[1],Q[2],X[0],X[1],X[2],W,Z,te[0],te[1],te[2],te[3]),j+=4}}if(this.buffer.update(F),B.push(W),N.push(U[U.length-1].slice()),this.bounds=$,this.vertexCount=j,this.points=N,this.arcLength=B,"dashes"in R){var oe=R.dashes.slice();for(oe.unshift(0),I=1;I1.0001)return null;O+=I[x]}return Math.abs(O-1)>.001?null:[A,c(m,I),I]}},2056:function(f,l,a){var u=a(6832),o=u([`precision highp float; -======== -}`]),m=[{name:"position",type:"vec3"},{name:"nextPosition",type:"vec3"},{name:"arcLength",type:"float"},{name:"lineWidth",type:"float"},{name:"color",type:"vec4"}];l.createShader=function(w){return o(w,s,c,null,m)},l.createPickShader=function(w){return o(w,s,h,null,m)}},6086:function(f,l,a){f.exports=function(R){var I=R.gl||R.scene&&R.scene.gl,O=S(I);O.attributes.position.location=0,O.attributes.nextPosition.location=1,O.attributes.arcLength.location=2,O.attributes.lineWidth.location=3,O.attributes.color.location=4;var z=_(I);z.attributes.position.location=0,z.attributes.nextPosition.location=1,z.attributes.arcLength.location=2,z.attributes.lineWidth.location=3,z.attributes.color.location=4;for(var F=u(I),B=o(I,[{buffer:F,size:3,offset:0,stride:48},{buffer:F,size:3,offset:12,stride:48},{buffer:F,size:1,offset:24,stride:48},{buffer:F,size:1,offset:28,stride:48},{buffer:F,size:4,offset:32,stride:48}]),N=w(new Array(1024),[256,1,4]),W=0;W<1024;++W)N.data[W]=255;var j=s(I,N);j.wrap=I.REPEAT;var $=new L(I,O,z,F,B,j);return $.update(R),$};var u=a(5827),o=a(2944),s=a(8931),c=new Uint8Array(4),h=new Float32Array(c.buffer),m=a(5070),w=a(5050),y=a(248),S=y.createShader,_=y.createPickShader,k=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function E(R,I){for(var O=0,z=0;z<3;++z){var F=R[z]-I[z];O+=F*F}return Math.sqrt(O)}function x(R){for(var I=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],O=0;O<3;++O)I[0][O]=Math.max(R[0][O],I[0][O]),I[1][O]=Math.min(R[1][O],I[1][O]);return I}function A(R,I,O,z){this.arcLength=R,this.position=I,this.index=O,this.dataCoordinate=z}function L(R,I,O,z,F,B){this.gl=R,this.shader=I,this.pickShader=O,this.buffer=z,this.vao=F,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.points=[],this.arcLength=[],this.vertexCount=0,this.bounds=[[0,0,0],[0,0,0]],this.pickId=0,this.lineWidth=1,this.texture=B,this.dashScale=1,this.opacity=1,this.hasAlpha=!1,this.dirty=!0,this.pixelRatio=1}var b=L.prototype;b.isTransparent=function(){return this.hasAlpha},b.isOpaque=function(){return!this.hasAlpha},b.pickSlots=1,b.setPickBase=function(R){this.pickId=R},b.drawTransparent=b.draw=function(R){if(this.vertexCount){var I=this.gl,O=this.shader,z=this.vao;O.bind(),O.uniforms={model:R.model||k,view:R.view||k,projection:R.projection||k,clipBounds:x(this.clipBounds),dashTexture:this.texture.bind(),dashScale:this.dashScale/this.arcLength[this.arcLength.length-1],opacity:this.opacity,screenShape:[I.drawingBufferWidth,I.drawingBufferHeight],pixelRatio:this.pixelRatio},z.bind(),z.draw(I.TRIANGLE_STRIP,this.vertexCount),z.unbind()}},b.drawPick=function(R){if(this.vertexCount){var I=this.gl,O=this.pickShader,z=this.vao;O.bind(),O.uniforms={model:R.model||k,view:R.view||k,projection:R.projection||k,pickId:this.pickId,clipBounds:x(this.clipBounds),screenShape:[I.drawingBufferWidth,I.drawingBufferHeight],pixelRatio:this.pixelRatio},z.bind(),z.draw(I.TRIANGLE_STRIP,this.vertexCount),z.unbind()}},b.update=function(R){var I,O;this.dirty=!0;var z=!!R.connectGaps;"dashScale"in R&&(this.dashScale=R.dashScale),this.hasAlpha=!1,"opacity"in R&&(this.opacity=+R.opacity,this.opacity<1&&(this.hasAlpha=!0));var F=[],B=[],N=[],W=0,j=0,$=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],U=R.position||R.positions;if(U){var G=R.color||R.colors||[0,0,0,1],q=R.lineWidth||1,H=!1;e:for(I=1;I0){for(var re=0;re<24;++re)F.push(F[F.length-12]);j+=2,H=!0}continue e}$[0][O]=Math.min($[0][O],X[O],Q[O]),$[1][O]=Math.max($[1][O],X[O],Q[O])}Array.isArray(G[0])?(ne=G.length>I-1?G[I-1]:G.length>0?G[G.length-1]:[0,0,0,1],te=G.length>I?G[I]:G.length>0?G[G.length-1]:[0,0,0,1]):ne=te=G,ne.length===3&&(ne=[ne[0],ne[1],ne[2],1]),te.length===3&&(te=[te[0],te[1],te[2],1]),!this.hasAlpha&&ne[3]<1&&(this.hasAlpha=!0),Z=Array.isArray(q)?q.length>I-1?q[I-1]:q.length>0?q[q.length-1]:[0,0,0,1]:q;var ie=W;if(W+=E(X,Q),H){for(O=0;O<2;++O)F.push(X[0],X[1],X[2],Q[0],Q[1],Q[2],ie,Z,ne[0],ne[1],ne[2],ne[3]);j+=2,H=!1}F.push(X[0],X[1],X[2],Q[0],Q[1],Q[2],ie,Z,ne[0],ne[1],ne[2],ne[3],X[0],X[1],X[2],Q[0],Q[1],Q[2],ie,-Z,ne[0],ne[1],ne[2],ne[3],Q[0],Q[1],Q[2],X[0],X[1],X[2],W,-Z,te[0],te[1],te[2],te[3],Q[0],Q[1],Q[2],X[0],X[1],X[2],W,Z,te[0],te[1],te[2],te[3]),j+=4}}if(this.buffer.update(F),B.push(W),N.push(U[U.length-1].slice()),this.bounds=$,this.vertexCount=j,this.points=N,this.arcLength=B,"dashes"in R){var oe=R.dashes.slice();for(oe.unshift(0),I=1;I1.0001)return null;O+=I[x]}return Math.abs(O-1)>.001?null:[A,h(m,I),I]}},2056:function(f,l,a){var u=a(6832),o=u([`precision highp float; ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js -#define GLSLIFY 1 - -attribute vec3 position, normal; -attribute vec4 color; -attribute vec2 uv; - -uniform mat4 model - , view - , projection - , inverseModel; -uniform vec3 eyePosition - , lightPosition; - -varying vec3 f_normal - , f_lightDirection - , f_eyeDirection - , f_data; -varying vec4 f_color; -varying vec2 f_uv; - -vec4 project(vec3 p) { - return projection * view * model * vec4(p, 1.0); -} - -void main() { - gl_Position = project(position); - - //Lighting geometry parameters - vec4 cameraCoordinate = view * vec4(position , 1.0); - cameraCoordinate.xyz /= cameraCoordinate.w; - f_lightDirection = lightPosition - cameraCoordinate.xyz; - f_eyeDirection = eyePosition - cameraCoordinate.xyz; - f_normal = normalize((vec4(normal, 0.0) * inverseModel).xyz); - - f_color = color; - f_data = position; - f_uv = uv; -} -`]),s=u([`#extension GL_OES_standard_derivatives : enable - -precision highp float; -#define GLSLIFY 1 - -float beckmannDistribution(float x, float roughness) { - float NdotH = max(x, 0.0001); - float cos2Alpha = NdotH * NdotH; - float tan2Alpha = (cos2Alpha - 1.0) / cos2Alpha; - float roughness2 = roughness * roughness; - float denom = 3.141592653589793 * roughness2 * cos2Alpha * cos2Alpha; - return exp(tan2Alpha / roughness2) / denom; -} - -float cookTorranceSpecular( - vec3 lightDirection, - vec3 viewDirection, - vec3 surfaceNormal, - float roughness, - float fresnel) { - - float VdotN = max(dot(viewDirection, surfaceNormal), 0.0); - float LdotN = max(dot(lightDirection, surfaceNormal), 0.0); - - //Half angle vector - vec3 H = normalize(lightDirection + viewDirection); - - //Geometric term - float NdotH = max(dot(surfaceNormal, H), 0.0); - float VdotH = max(dot(viewDirection, H), 0.000001); - float LdotH = max(dot(lightDirection, H), 0.000001); - float G1 = (2.0 * NdotH * VdotN) / VdotH; - float G2 = (2.0 * NdotH * LdotN) / LdotH; - float G = min(1.0, min(G1, G2)); - - //Distribution term - float D = beckmannDistribution(NdotH, roughness); - - //Fresnel term - float F = pow(1.0 - VdotN, fresnel); - - //Multiply terms and done - return G * F * D / max(3.14159265 * VdotN, 0.000001); -} - -//#pragma glslify: beckmann = require(glsl-specular-beckmann) // used in gl-surface3d - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -uniform vec3 clipBounds[2]; -uniform float roughness - , fresnel - , kambient - , kdiffuse - , kspecular; -uniform sampler2D texture; - -varying vec3 f_normal - , f_lightDirection - , f_eyeDirection - , f_data; -varying vec4 f_color; -varying vec2 f_uv; - -void main() { - if (f_color.a == 0.0 || - outOfRange(clipBounds[0], clipBounds[1], f_data) - ) discard; - - vec3 N = normalize(f_normal); - vec3 L = normalize(f_lightDirection); - vec3 V = normalize(f_eyeDirection); - - if(gl_FrontFacing) { - N = -N; - } - - float specular = min(1.0, max(0.0, cookTorranceSpecular(L, V, N, roughness, fresnel))); - //float specular = max(0.0, beckmann(L, V, N, roughness)); // used in gl-surface3d - - float diffuse = min(kambient + kdiffuse * max(dot(N, L), 0.0), 1.0); - - vec4 surfaceColor = vec4(f_color.rgb, 1.0) * texture2D(texture, f_uv); - vec4 litColor = surfaceColor.a * vec4(diffuse * surfaceColor.rgb + kspecular * vec3(1,1,1) * specular, 1.0); - - gl_FragColor = litColor * f_color.a; -} -`]),h=u([`precision highp float; -#define GLSLIFY 1 - -attribute vec3 position; -attribute vec4 color; -attribute vec2 uv; - -uniform mat4 model, view, projection; - -varying vec4 f_color; -varying vec3 f_data; -varying vec2 f_uv; - -void main() { - gl_Position = projection * view * model * vec4(position, 1.0); - f_color = color; - f_data = position; - f_uv = uv; -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js -}`]),c=u([`precision highp float; -======== -}`]),h=u([`precision highp float; ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js -#define GLSLIFY 1 - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -uniform vec3 clipBounds[2]; -uniform sampler2D texture; -uniform float opacity; - -varying vec4 f_color; -varying vec3 f_data; -varying vec2 f_uv; - -void main() { - if (outOfRange(clipBounds[0], clipBounds[1], f_data)) discard; - - gl_FragColor = f_color * texture2D(texture, f_uv) * opacity; -}`]),m=u([`precision highp float; -#define GLSLIFY 1 - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -attribute vec3 position; -attribute vec4 color; -attribute vec2 uv; -attribute float pointSize; - -uniform mat4 model, view, projection; -uniform vec3 clipBounds[2]; - -varying vec4 f_color; -varying vec2 f_uv; - -void main() { - if (outOfRange(clipBounds[0], clipBounds[1], position)) { - - gl_Position = vec4(0.0, 0.0 ,0.0 ,0.0); - } else { - gl_Position = projection * view * model * vec4(position, 1.0); - } - gl_PointSize = pointSize; - f_color = color; - f_uv = uv; -}`]),w=u([`precision highp float; -#define GLSLIFY 1 - -uniform sampler2D texture; -uniform float opacity; - -varying vec4 f_color; -varying vec2 f_uv; - -void main() { - vec2 pointR = gl_PointCoord.xy - vec2(0.5, 0.5); - if(dot(pointR, pointR) > 0.25) { - discard; - } - gl_FragColor = f_color * texture2D(texture, f_uv) * opacity; -}`]),y=u([`precision highp float; -#define GLSLIFY 1 - -attribute vec3 position; -attribute vec4 id; - -uniform mat4 model, view, projection; - -varying vec3 f_position; -varying vec4 f_id; - -void main() { - gl_Position = projection * view * model * vec4(position, 1.0); - f_id = id; - f_position = position; -}`]),C=u([`precision highp float; -#define GLSLIFY 1 - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -uniform vec3 clipBounds[2]; -uniform float pickId; - -varying vec3 f_position; -varying vec4 f_id; - -void main() { - if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard; - - gl_FragColor = vec4(pickId, f_id.xyz); -}`]),_=u([`precision highp float; -#define GLSLIFY 1 - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -attribute vec3 position; -attribute float pointSize; -attribute vec4 id; - -uniform mat4 model, view, projection; -uniform vec3 clipBounds[2]; - -varying vec3 f_position; -varying vec4 f_id; - -void main() { - if (outOfRange(clipBounds[0], clipBounds[1], position)) { - - gl_Position = vec4(0.0, 0.0, 0.0, 0.0); - } else { - gl_Position = projection * view * model * vec4(position, 1.0); - gl_PointSize = pointSize; - } - f_id = id; - f_position = position; -}`]),k=u([`precision highp float; -#define GLSLIFY 1 - -attribute vec3 position; - -uniform mat4 model, view, projection; - -void main() { - gl_Position = projection * view * model * vec4(position, 1.0); -}`]),E=u([`precision highp float; -#define GLSLIFY 1 - -uniform vec3 contourColor; - -void main() { - gl_FragColor = vec4(contourColor, 1.0); -} -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js -`]);l.meshShader={vertex:o,fragment:s,attributes:[{name:"position",type:"vec3"},{name:"normal",type:"vec3"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"}]},l.wireShader={vertex:h,fragment:c,attributes:[{name:"position",type:"vec3"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"}]},l.pointShader={vertex:m,fragment:w,attributes:[{name:"position",type:"vec3"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"},{name:"pointSize",type:"float"}]},l.pickShader={vertex:y,fragment:C,attributes:[{name:"position",type:"vec3"},{name:"id",type:"vec4"}]},l.pointPickShader={vertex:_,fragment:C,attributes:[{name:"position",type:"vec3"},{name:"pointSize",type:"float"},{name:"id",type:"vec4"}]},l.contourShader={vertex:k,fragment:E,attributes:[{name:"position",type:"vec3"}]}},8116:function(f,l,a){var u=a(5158),o=a(5827),s=a(2944),h=a(8931),c=a(115),m=a(104),w=a(7437),y=a(5050),C=a(9156),_=a(7212),k=a(5306),E=a(2056),x=a(4340),A=E.meshShader,L=E.wireShader,b=E.pointShader,R=E.pickShader,I=E.pointPickShader,O=E.contourShader,z=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function F(H,ne,te,Z,X,Q,re,ie,oe,ue,ce,ye,de,me,pe,xe,Pe,_e,Me,Se,Ce,ae,fe,be,ke,Le,Be){this.gl=H,this.pixelRatio=1,this.cells=[],this.positions=[],this.intensity=[],this.texture=ne,this.dirty=!0,this.triShader=te,this.lineShader=Z,this.pointShader=X,this.pickShader=Q,this.pointPickShader=re,this.contourShader=ie,this.trianglePositions=oe,this.triangleColors=ce,this.triangleNormals=de,this.triangleUVs=ye,this.triangleIds=ue,this.triangleVAO=me,this.triangleCount=0,this.lineWidth=1,this.edgePositions=pe,this.edgeColors=Pe,this.edgeUVs=_e,this.edgeIds=xe,this.edgeVAO=Me,this.edgeCount=0,this.pointPositions=Se,this.pointColors=ae,this.pointUVs=fe,this.pointSizes=be,this.pointIds=Ce,this.pointVAO=ke,this.pointCount=0,this.contourLineWidth=1,this.contourPositions=Le,this.contourVAO=Be,this.contourCount=0,this.contourColor=[0,0,0],this.contourEnable=!0,this.pickVertex=!0,this.pickId=1,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.lightPosition=[1e5,1e5,0],this.ambientLight=.8,this.diffuseLight=.8,this.specularLight=2,this.roughness=.5,this.fresnel=1.5,this.opacity=1,this.hasAlpha=!1,this.opacityscale=!1,this._model=z,this._view=z,this._projection=z,this._resolution=[1,1]}var B=F.prototype;function N(H,ne){if(!ne||!ne.length)return 1;for(var te=0;teH&&te>0){var Z=(ne[te][0]-H)/(ne[te][0]-ne[te-1][0]);return ne[te][1]*(1-Z)+Z*ne[te-1][1]}}return 1}function W(H){var ne=u(H,A.vertex,A.fragment);return ne.attributes.position.location=0,ne.attributes.color.location=2,ne.attributes.uv.location=3,ne.attributes.normal.location=4,ne}function j(H){var ne=u(H,L.vertex,L.fragment);return ne.attributes.position.location=0,ne.attributes.color.location=2,ne.attributes.uv.location=3,ne}function $(H){var ne=u(H,b.vertex,b.fragment);return ne.attributes.position.location=0,ne.attributes.color.location=2,ne.attributes.uv.location=3,ne.attributes.pointSize.location=4,ne}function U(H){var ne=u(H,R.vertex,R.fragment);return ne.attributes.position.location=0,ne.attributes.id.location=1,ne}function G(H){var ne=u(H,I.vertex,I.fragment);return ne.attributes.position.location=0,ne.attributes.id.location=1,ne.attributes.pointSize.location=4,ne}function q(H){var ne=u(H,O.vertex,O.fragment);return ne.attributes.position.location=0,ne}B.isOpaque=function(){return!this.hasAlpha},B.isTransparent=function(){return this.hasAlpha},B.pickSlots=1,B.setPickBase=function(H){this.pickId=H},B.highlight=function(H){if(H&&this.contourEnable){for(var ne=_(this.cells,this.intensity,H.intensity),te=ne.cells,Z=ne.vertexIds,X=ne.vertexWeights,Q=te.length,re=k.mallocFloat32(6*Q),ie=0,oe=0;oe0&&((ue=this.triShader).bind(),ue.uniforms=ie,this.triangleVAO.bind(),ne.drawArrays(ne.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind()),this.edgeCount>0&&this.lineWidth>0&&((ue=this.lineShader).bind(),ue.uniforms=ie,this.edgeVAO.bind(),ne.lineWidth(this.lineWidth*this.pixelRatio),ne.drawArrays(ne.LINES,0,2*this.edgeCount),this.edgeVAO.unbind()),this.pointCount>0&&((ue=this.pointShader).bind(),ue.uniforms=ie,this.pointVAO.bind(),ne.drawArrays(ne.POINTS,0,this.pointCount),this.pointVAO.unbind()),this.contourEnable&&this.contourCount>0&&this.contourLineWidth>0&&((ue=this.contourShader).bind(),ue.uniforms=ie,this.contourVAO.bind(),ne.drawArrays(ne.LINES,0,this.contourCount),this.contourVAO.unbind())},B.drawPick=function(H){H=H||{};for(var ne=this.gl,te=H.model||z,Z=H.view||z,X=H.projection||z,Q=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],re=0;re<3;++re)Q[0][re]=Math.max(Q[0][re],this.clipBounds[0][re]),Q[1][re]=Math.min(Q[1][re],this.clipBounds[1][re]);this._model=[].slice.call(te),this._view=[].slice.call(Z),this._projection=[].slice.call(X),this._resolution=[ne.drawingBufferWidth,ne.drawingBufferHeight];var ie,oe={model:te,view:Z,projection:X,clipBounds:Q,pickId:this.pickId/255};(ie=this.pickShader).bind(),ie.uniforms=oe,this.triangleCount>0&&(this.triangleVAO.bind(),ne.drawArrays(ne.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind()),this.edgeCount>0&&(this.edgeVAO.bind(),ne.lineWidth(this.lineWidth*this.pixelRatio),ne.drawArrays(ne.LINES,0,2*this.edgeCount),this.edgeVAO.unbind()),this.pointCount>0&&((ie=this.pointPickShader).bind(),ie.uniforms=oe,this.pointVAO.bind(),ne.drawArrays(ne.POINTS,0,this.pointCount),this.pointVAO.unbind())},B.pick=function(H){if(!H||H.id!==this.pickId)return null;for(var ne=H.value[0]+256*H.value[1]+65536*H.value[2],te=this.cells[ne],Z=this.positions,X=new Array(te.length),Q=0;QH&&te>0){var Z=(ne[te][0]-H)/(ne[te][0]-ne[te-1][0]);return ne[te][1]*(1-Z)+Z*ne[te-1][1]}}return 1}function W(H){var ne=u(H,A.vertex,A.fragment);return ne.attributes.position.location=0,ne.attributes.color.location=2,ne.attributes.uv.location=3,ne.attributes.normal.location=4,ne}function j(H){var ne=u(H,L.vertex,L.fragment);return ne.attributes.position.location=0,ne.attributes.color.location=2,ne.attributes.uv.location=3,ne}function $(H){var ne=u(H,b.vertex,b.fragment);return ne.attributes.position.location=0,ne.attributes.color.location=2,ne.attributes.uv.location=3,ne.attributes.pointSize.location=4,ne}function U(H){var ne=u(H,R.vertex,R.fragment);return ne.attributes.position.location=0,ne.attributes.id.location=1,ne}function G(H){var ne=u(H,I.vertex,I.fragment);return ne.attributes.position.location=0,ne.attributes.id.location=1,ne.attributes.pointSize.location=4,ne}function q(H){var ne=u(H,O.vertex,O.fragment);return ne.attributes.position.location=0,ne}B.isOpaque=function(){return!this.hasAlpha},B.isTransparent=function(){return this.hasAlpha},B.pickSlots=1,B.setPickBase=function(H){this.pickId=H},B.highlight=function(H){if(H&&this.contourEnable){for(var ne=_(this.cells,this.intensity,H.intensity),te=ne.cells,Z=ne.vertexIds,X=ne.vertexWeights,Q=te.length,re=k.mallocFloat32(6*Q),ie=0,oe=0;oe0&&((ue=this.triShader).bind(),ue.uniforms=ie,this.triangleVAO.bind(),ne.drawArrays(ne.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind()),this.edgeCount>0&&this.lineWidth>0&&((ue=this.lineShader).bind(),ue.uniforms=ie,this.edgeVAO.bind(),ne.lineWidth(this.lineWidth*this.pixelRatio),ne.drawArrays(ne.LINES,0,2*this.edgeCount),this.edgeVAO.unbind()),this.pointCount>0&&((ue=this.pointShader).bind(),ue.uniforms=ie,this.pointVAO.bind(),ne.drawArrays(ne.POINTS,0,this.pointCount),this.pointVAO.unbind()),this.contourEnable&&this.contourCount>0&&this.contourLineWidth>0&&((ue=this.contourShader).bind(),ue.uniforms=ie,this.contourVAO.bind(),ne.drawArrays(ne.LINES,0,this.contourCount),this.contourVAO.unbind())},B.drawPick=function(H){H=H||{};for(var ne=this.gl,te=H.model||z,Z=H.view||z,X=H.projection||z,Q=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],re=0;re<3;++re)Q[0][re]=Math.max(Q[0][re],this.clipBounds[0][re]),Q[1][re]=Math.min(Q[1][re],this.clipBounds[1][re]);this._model=[].slice.call(te),this._view=[].slice.call(Z),this._projection=[].slice.call(X),this._resolution=[ne.drawingBufferWidth,ne.drawingBufferHeight];var ie,oe={model:te,view:Z,projection:X,clipBounds:Q,pickId:this.pickId/255};(ie=this.pickShader).bind(),ie.uniforms=oe,this.triangleCount>0&&(this.triangleVAO.bind(),ne.drawArrays(ne.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind()),this.edgeCount>0&&(this.edgeVAO.bind(),ne.lineWidth(this.lineWidth*this.pixelRatio),ne.drawArrays(ne.LINES,0,2*this.edgeCount),this.edgeVAO.unbind()),this.pointCount>0&&((ie=this.pointPickShader).bind(),ie.uniforms=oe,this.pointVAO.bind(),ne.drawArrays(ne.POINTS,0,this.pointCount),this.pointVAO.unbind())},B.pick=function(H){if(!H||H.id!==this.pickId)return null;for(var ne=H.value[0]+256*H.value[1]+65536*H.value[2],te=this.cells[ne],Z=this.positions,X=new Array(te.length),Q=0;Q>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js -#define GLSLIFY 1 -uniform vec4 color; -void main() { - gl_FragColor = vec4(color.xyz * color.w, color.w); -} -`]);f.exports={lineVert:u([`precision mediump float; -#define GLSLIFY 1 - -attribute vec2 coord; - -uniform vec4 screenBox; -uniform vec2 start, end; -uniform float width; - -vec2 perp(vec2 v) { - return vec2(v.y, -v.x); -} - -vec2 screen(vec2 v) { - return 2.0 * (v - screenBox.xy) / (screenBox.zw - screenBox.xy) - 1.0; -} - -void main() { - vec2 delta = normalize(perp(start - end)); - vec2 offset = mix(start, end, 0.5 * (coord.y+1.0)); - gl_Position = vec4(screen(offset + 0.5 * width * delta * coord.x), 0, 1); -} -`]),lineFrag:o,textVert:u([`#define GLSLIFY 1 -attribute vec3 textCoordinate; - -uniform vec2 dataScale, dataShift, dataAxis, screenOffset, textScale; -uniform float angle; - -void main() { - float dataOffset = textCoordinate.z; - vec2 glyphOffset = textCoordinate.xy; - mat2 glyphMatrix = mat2(cos(angle), sin(angle), -sin(angle), cos(angle)); - vec2 screenCoordinate = dataAxis * (dataScale * dataOffset + dataShift) + - glyphMatrix * glyphOffset * textScale + screenOffset; - gl_Position = vec4(screenCoordinate, 0, 1); -} -`]),textFrag:o,gridVert:u([`precision mediump float; -#define GLSLIFY 1 - -attribute vec3 dataCoord; - -uniform vec2 dataAxis, dataShift, dataScale; -uniform float lineWidth; - -void main() { - vec2 pos = dataAxis * (dataScale * dataCoord.x + dataShift); - pos += 10.0 * dataCoord.y * vec2(dataAxis.y, -dataAxis.x) + dataCoord.z * lineWidth; - gl_Position = vec4(pos, 0, 1); -} -`]),gridFrag:o,boxVert:u([`precision mediump float; -#define GLSLIFY 1 - -attribute vec2 coord; - -uniform vec4 screenBox; -uniform vec2 lo, hi; - -vec2 screen(vec2 v) { - return 2.0 * (v - screenBox.xy) / (screenBox.zw - screenBox.xy) - 1.0; -} - -void main() { - gl_Position = vec4(screen(mix(lo, hi, coord)), 0, 1); -} -`]),tickVert:u([`precision mediump float; -#define GLSLIFY 1 - -attribute vec3 dataCoord; - -uniform vec2 dataAxis, dataShift, dataScale, screenOffset, tickScale; - -void main() { - vec2 pos = dataAxis * (dataScale * dataCoord.x + dataShift); - gl_Position = vec4(pos + tickScale*dataCoord.yz + screenOffset, 0, 1); -} -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js -`])}},5613:function(f,l,a){f.exports=function(A){var L=A.gl;return new m(A,u(L),o(L,c.textVert,c.textFrag))};var u=a(5827),o=a(5158),s=a(6946),h=a(5070),c=a(2709);function m(A,L,b){this.plot=A,this.vbo=L,this.shader=b,this.tickOffset=[[],[]],this.tickX=[[],[]],this.labelOffset=[0,0],this.labelCount=[0,0]}var w,y,C,_,k,E,x=m.prototype;x.drawTicks=(w=[0,0],y=[0,0],C=[0,0],function(A){var L=this.plot,b=this.shader,R=this.tickX[A],I=this.tickOffset[A],O=L.gl,z=L.viewBox,F=L.dataBox,B=L.screenBox,N=L.pixelRatio,W=L.tickEnable,j=L.tickPad,$=L.tickColor,U=L.tickAngle,G=L.labelEnable,q=L.labelPad,H=L.labelColor,ne=L.labelAngle,te=this.labelOffset[A],Z=this.labelCount[A],X=h.lt(R,F[A]),Q=h.le(R,F[A+2]);w[0]=w[1]=0,w[A]=1,y[A]=(z[2+A]+z[A])/(B[2+A]-B[A])-1;var re=2/B[2+(1^A)]-B[1^A];y[1^A]=re*z[1^A]-1,W[A]&&(y[1^A]-=re*N*j[A],XI[X]&&(b.uniforms.dataAxis=w,b.uniforms.screenOffset=y,b.uniforms.color=$[A],b.uniforms.angle=U[A],O.drawArrays(O.TRIANGLES,I[X],I[Q]-I[X]))),G[A]&&Z&&(y[1^A]-=re*N*q[A],b.uniforms.dataAxis=C,b.uniforms.screenOffset=y,b.uniforms.color=H[A],b.uniforms.angle=ne[A],O.drawArrays(O.TRIANGLES,te,Z)),y[1^A]=re*z[2+(1^A)]-1,W[A+2]&&(y[1^A]+=re*N*j[A+2],XI[X]&&(b.uniforms.dataAxis=w,b.uniforms.screenOffset=y,b.uniforms.color=$[A+2],b.uniforms.angle=U[A+2],O.drawArrays(O.TRIANGLES,I[X],I[Q]-I[X]))),G[A+2]&&Z&&(y[1^A]+=re*N*q[A+2],b.uniforms.dataAxis=C,b.uniforms.screenOffset=y,b.uniforms.color=H[A+2],b.uniforms.angle=ne[A+2],O.drawArrays(O.TRIANGLES,te,Z))}),x.drawTitle=function(){var A=[0,0],L=[0,0];return function(){var b=this.plot,R=this.shader,I=b.gl,O=b.screenBox,z=b.titleCenter,F=b.titleAngle,B=b.titleColor,N=b.pixelRatio;if(this.titleCount){for(var W=0;W<2;++W)L[W]=2*(z[W]*N-O[W])/(O[2+W]-O[W])-1;R.bind(),R.uniforms.dataAxis=A,R.uniforms.screenOffset=L,R.uniforms.angle=F,R.uniforms.color=B,I.drawArrays(I.TRIANGLES,this.titleOffset,this.titleCount)}}}(),x.bind=(_=[0,0],k=[0,0],E=[0,0],function(){var A=this.plot,L=this.shader,b=A._tickBounds,R=A.dataBox,I=A.screenBox,O=A.viewBox;L.bind();for(var z=0;z<2;++z){var F=b[z],B=b[z+2]-F,N=.5*(R[z+2]+R[z]),W=R[z+2]-R[z],j=O[z],$=O[z+2]-j,U=I[z],G=I[z+2]-U;k[z]=2*B/W*$/G,_[z]=2*(F-N)/W*$/G}E[1]=2*A.pixelRatio/(I[3]-I[1]),E[0]=E[1]*(I[3]-I[1])/(I[2]-I[0]),L.uniforms.dataScale=k,L.uniforms.dataShift=_,L.uniforms.textScale=E,this.vbo.bind(),L.attributes.textCoordinate.pointer()}),x.update=function(A){var L,b,R,I,O,z=[],F=A.ticks,B=A.bounds;for(O=0;O<2;++O){var N=[Math.floor(z.length/3)],W=[-1/0],j=F[O];for(L=0;L=0){var j=k[W]-x[W]*(k[W+2]-k[W])/(x[W+2]-x[W]);W===0?b.drawLine(j,k[1],j,k[3],N[W],B[W]):b.drawLine(k[0],j,k[2],j,N[W],B[W])}}for(W=0;W=0;--_)this.objects[_].dispose();for(this.objects.length=0,_=this.overlays.length-1;_>=0;--_)this.overlays[_].dispose();this.overlays.length=0,this.gl=null},w.addObject=function(_){this.objects.indexOf(_)<0&&(this.objects.push(_),this.setDirty())},w.removeObject=function(_){for(var k=this.objects,E=0;EMath.abs(I))_.rotate(F,0,0,-R*O*Math.PI*L.rotateSpeed/window.innerWidth);else if(!L._ortho){var B=-L.zoomSpeed*z*I/window.innerHeight*(F-_.lastT())/20;_.pan(F,0,0,E*(Math.exp(B)-1))}}},!0)},L.enableMouseListeners(),L};var u=a(8161),o=a(1152),s=a(6145),h=a(6475),c=a(2565),m=a(5233)},8245:function(f,l,a){var u=a(6832),o=a(5158),s=u([`precision mediump float; -======== -`])}},5613:function(f,l,a){f.exports=function(A){var L=A.gl;return new m(A,u(L),o(L,h.textVert,h.textFrag))};var u=a(5827),o=a(5158),s=a(6946),c=a(5070),h=a(2709);function m(A,L,b){this.plot=A,this.vbo=L,this.shader=b,this.tickOffset=[[],[]],this.tickX=[[],[]],this.labelOffset=[0,0],this.labelCount=[0,0]}var w,y,S,_,k,E,x=m.prototype;x.drawTicks=(w=[0,0],y=[0,0],S=[0,0],function(A){var L=this.plot,b=this.shader,R=this.tickX[A],I=this.tickOffset[A],O=L.gl,z=L.viewBox,F=L.dataBox,B=L.screenBox,N=L.pixelRatio,W=L.tickEnable,j=L.tickPad,$=L.tickColor,U=L.tickAngle,G=L.labelEnable,q=L.labelPad,H=L.labelColor,ne=L.labelAngle,te=this.labelOffset[A],Z=this.labelCount[A],X=c.lt(R,F[A]),Q=c.le(R,F[A+2]);w[0]=w[1]=0,w[A]=1,y[A]=(z[2+A]+z[A])/(B[2+A]-B[A])-1;var re=2/B[2+(1^A)]-B[1^A];y[1^A]=re*z[1^A]-1,W[A]&&(y[1^A]-=re*N*j[A],XI[X]&&(b.uniforms.dataAxis=w,b.uniforms.screenOffset=y,b.uniforms.color=$[A],b.uniforms.angle=U[A],O.drawArrays(O.TRIANGLES,I[X],I[Q]-I[X]))),G[A]&&Z&&(y[1^A]-=re*N*q[A],b.uniforms.dataAxis=S,b.uniforms.screenOffset=y,b.uniforms.color=H[A],b.uniforms.angle=ne[A],O.drawArrays(O.TRIANGLES,te,Z)),y[1^A]=re*z[2+(1^A)]-1,W[A+2]&&(y[1^A]+=re*N*j[A+2],XI[X]&&(b.uniforms.dataAxis=w,b.uniforms.screenOffset=y,b.uniforms.color=$[A+2],b.uniforms.angle=U[A+2],O.drawArrays(O.TRIANGLES,I[X],I[Q]-I[X]))),G[A+2]&&Z&&(y[1^A]+=re*N*q[A+2],b.uniforms.dataAxis=S,b.uniforms.screenOffset=y,b.uniforms.color=H[A+2],b.uniforms.angle=ne[A+2],O.drawArrays(O.TRIANGLES,te,Z))}),x.drawTitle=function(){var A=[0,0],L=[0,0];return function(){var b=this.plot,R=this.shader,I=b.gl,O=b.screenBox,z=b.titleCenter,F=b.titleAngle,B=b.titleColor,N=b.pixelRatio;if(this.titleCount){for(var W=0;W<2;++W)L[W]=2*(z[W]*N-O[W])/(O[2+W]-O[W])-1;R.bind(),R.uniforms.dataAxis=A,R.uniforms.screenOffset=L,R.uniforms.angle=F,R.uniforms.color=B,I.drawArrays(I.TRIANGLES,this.titleOffset,this.titleCount)}}}(),x.bind=(_=[0,0],k=[0,0],E=[0,0],function(){var A=this.plot,L=this.shader,b=A._tickBounds,R=A.dataBox,I=A.screenBox,O=A.viewBox;L.bind();for(var z=0;z<2;++z){var F=b[z],B=b[z+2]-F,N=.5*(R[z+2]+R[z]),W=R[z+2]-R[z],j=O[z],$=O[z+2]-j,U=I[z],G=I[z+2]-U;k[z]=2*B/W*$/G,_[z]=2*(F-N)/W*$/G}E[1]=2*A.pixelRatio/(I[3]-I[1]),E[0]=E[1]*(I[3]-I[1])/(I[2]-I[0]),L.uniforms.dataScale=k,L.uniforms.dataShift=_,L.uniforms.textScale=E,this.vbo.bind(),L.attributes.textCoordinate.pointer()}),x.update=function(A){var L,b,R,I,O,z=[],F=A.ticks,B=A.bounds;for(O=0;O<2;++O){var N=[Math.floor(z.length/3)],W=[-1/0],j=F[O];for(L=0;L=0){var j=k[W]-x[W]*(k[W+2]-k[W])/(x[W+2]-x[W]);W===0?b.drawLine(j,k[1],j,k[3],N[W],B[W]):b.drawLine(k[0],j,k[2],j,N[W],B[W])}}for(W=0;W=0;--_)this.objects[_].dispose();for(this.objects.length=0,_=this.overlays.length-1;_>=0;--_)this.overlays[_].dispose();this.overlays.length=0,this.gl=null},w.addObject=function(_){this.objects.indexOf(_)<0&&(this.objects.push(_),this.setDirty())},w.removeObject=function(_){for(var k=this.objects,E=0;EMath.abs(I))_.rotate(F,0,0,-R*O*Math.PI*L.rotateSpeed/window.innerWidth);else if(!L._ortho){var B=-L.zoomSpeed*z*I/window.innerHeight*(F-_.lastT())/20;_.pan(F,0,0,E*(Math.exp(B)-1))}}},!0)},L.enableMouseListeners(),L};var u=a(8161),o=a(1152),s=a(6145),c=a(6475),h=a(2565),m=a(5233)},8245:function(f,l,a){var u=a(6832),o=a(5158),s=u([`precision mediump float; ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js -#define GLSLIFY 1 -attribute vec2 position; -varying vec2 uv; -void main() { - uv = position; - gl_Position = vec4(position, 0, 1); -}`]),h=u([`precision mediump float; -#define GLSLIFY 1 - -uniform sampler2D accumBuffer; -varying vec2 uv; - -void main() { - vec4 accum = texture2D(accumBuffer, 0.5 * (uv + 1.0)); - gl_FragColor = min(vec4(1,1,1,1), accum); -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js -}`]);f.exports=function(c){return o(c,s,h,null,[{name:"position",type:"vec2"}])}},1059:function(f,l,a){var u=a(4296),o=a(7453),s=a(2771),h=a(6496),c=a(2611),m=a(4234),w=a(8126),y=a(6145),C=a(1120),_=a(5268),k=a(8245),E=a(2321)({tablet:!0,featureDetect:!0});function x(){this.mouse=[-1,-1],this.screen=null,this.distance=1/0,this.index=null,this.dataCoordinate=null,this.dataPosition=null,this.object=null,this.data=null}function A(b){var R=Math.round(Math.log(Math.abs(b))/Math.log(10));if(R<0){var I=Math.round(Math.pow(10,-R));return Math.ceil(b*I)/I}return R>0?(I=Math.round(Math.pow(10,R)),Math.ceil(b/I)*I):Math.ceil(b)}function L(b){return typeof b!="boolean"||b}f.exports={createScene:function(b){(b=b||{}).camera=b.camera||{};var R=b.canvas;R||(R=document.createElement("canvas"),b.container?b.container.appendChild(R):document.body.appendChild(R));var I=b.gl;if(I||(b.glOptions&&(E=!!b.glOptions.preserveDrawingBuffer),I=function(Pe,_e){var Me=null;try{(Me=Pe.getContext("webgl",_e))||(Me=Pe.getContext("experimental-webgl",_e))}catch{return null}return Me}(R,b.glOptions||{premultipliedAlpha:!0,antialias:!0,preserveDrawingBuffer:E})),!I)throw new Error("webgl not supported");var O=b.bounds||[[-10,-10,-10],[10,10,10]],z=new x,F=m(I,I.drawingBufferWidth,I.drawingBufferHeight,{preferFloat:!E}),B=k(I),N=b.cameraObject&&b.cameraObject._ortho===!0||b.camera.projection&&b.camera.projection.type==="orthographic"||!1,W={eye:b.camera.eye||[2,0,0],center:b.camera.center||[0,0,0],up:b.camera.up||[0,1,0],zoomMin:b.camera.zoomMax||.1,zoomMax:b.camera.zoomMin||100,mode:b.camera.mode||"turntable",_ortho:N},j=b.axes||{},$=o(I,j);$.enable=!j.disable;var U=b.spikes||{},G=h(I,U),q=[],H=[],ne=[],te=[],Z=!0,X=!0,Q={view:null,projection:new Array(16),model:new Array(16),_ortho:!1},re=(X=!0,[I.drawingBufferWidth,I.drawingBufferHeight]),ie=b.cameraObject||u(R,W),oe={gl:I,contextLost:!1,pixelRatio:b.pixelRatio||1,canvas:R,selection:z,camera:ie,axes:$,axesPixels:null,spikes:G,bounds:O,objects:q,shape:re,aspect:b.aspectRatio||[1,1,1],pickRadius:b.pickRadius||10,zNear:b.zNear||.01,zFar:b.zFar||1e3,fovy:b.fovy||Math.PI/4,clearColor:b.clearColor||[0,0,0,0],autoResize:L(b.autoResize),autoBounds:L(b.autoBounds),autoScale:!!b.autoScale,autoCenter:L(b.autoCenter),clipToBounds:L(b.clipToBounds),snapToData:!!b.snapToData,onselect:b.onselect||null,onrender:b.onrender||null,onclick:b.onclick||null,cameraParams:Q,oncontextloss:null,mouseListener:null,_stopped:!1,getAspectratio:function(){return{x:this.aspect[0],y:this.aspect[1],z:this.aspect[2]}},setAspectratio:function(Pe){this.aspect[0]=Pe.x,this.aspect[1]=Pe.y,this.aspect[2]=Pe.z,X=!0},setBounds:function(Pe,_e){this.bounds[0][Pe]=_e.min,this.bounds[1][Pe]=_e.max},setClearColor:function(Pe){this.clearColor=Pe},clearRGBA:function(){this.gl.clearColor(this.clearColor[0],this.clearColor[1],this.clearColor[2],this.clearColor[3]),this.gl.clear(this.gl.COLOR_BUFFER_BIT|this.gl.DEPTH_BUFFER_BIT)}},ue=[I.drawingBufferWidth/oe.pixelRatio|0,I.drawingBufferHeight/oe.pixelRatio|0];function ce(){if(!oe._stopped&&oe.autoResize){var Pe=R.parentNode,_e=1,Me=1;Pe&&Pe!==document.body?(_e=Pe.clientWidth,Me=Pe.clientHeight):(_e=window.innerWidth,Me=window.innerHeight);var Se=0|Math.ceil(_e*oe.pixelRatio),Ce=0|Math.ceil(Me*oe.pixelRatio);if(Se!==R.width||Ce!==R.height){R.width=Se,R.height=Ce;var ae=R.style;ae.position=ae.position||"absolute",ae.left="0px",ae.top="0px",ae.width=_e+"px",ae.height=Me+"px",Z=!0}}}function ye(){for(var Pe=q.length,_e=te.length,Me=0;Me<_e;++Me)ne[Me]=0;e:for(Me=0;Me0&&ne[_e-1]===0;)ne.pop(),te.pop().dispose()}function de(){if(oe.contextLost)return!0;I.isContextLost()&&(oe.contextLost=!0,oe.mouseListener.enabled=!1,oe.selection.object=null,oe.oncontextloss&&oe.oncontextloss())}oe.autoResize&&ce(),window.addEventListener("resize",ce),oe.update=function(Pe){oe._stopped||(Z=!0,X=!0)},oe.add=function(Pe){oe._stopped||(Pe.axes=$,q.push(Pe),H.push(-1),Z=!0,X=!0,ye())},oe.remove=function(Pe){if(!oe._stopped){var _e=q.indexOf(Pe);_e<0||(q.splice(_e,1),H.pop(),Z=!0,X=!0,ye())}},oe.dispose=function(){if(!oe._stopped&&(oe._stopped=!0,window.removeEventListener("resize",ce),R.removeEventListener("webglcontextlost",de),oe.mouseListener.enabled=!1,!oe.contextLost)){$.dispose(),G.dispose();for(var Pe=0;Pez.distance)continue;for(var Le=0;Le0?(I=Math.round(Math.pow(10,R)),Math.ceil(b/I)*I):Math.ceil(b)}function L(b){return typeof b!="boolean"||b}f.exports={createScene:function(b){(b=b||{}).camera=b.camera||{};var R=b.canvas;R||(R=document.createElement("canvas"),b.container?b.container.appendChild(R):document.body.appendChild(R));var I=b.gl;if(I||(b.glOptions&&(E=!!b.glOptions.preserveDrawingBuffer),I=function(Pe,_e){var Me=null;try{(Me=Pe.getContext("webgl",_e))||(Me=Pe.getContext("experimental-webgl",_e))}catch{return null}return Me}(R,b.glOptions||{premultipliedAlpha:!0,antialias:!0,preserveDrawingBuffer:E})),!I)throw new Error("webgl not supported");var O=b.bounds||[[-10,-10,-10],[10,10,10]],z=new x,F=m(I,I.drawingBufferWidth,I.drawingBufferHeight,{preferFloat:!E}),B=k(I),N=b.cameraObject&&b.cameraObject._ortho===!0||b.camera.projection&&b.camera.projection.type==="orthographic"||!1,W={eye:b.camera.eye||[2,0,0],center:b.camera.center||[0,0,0],up:b.camera.up||[0,1,0],zoomMin:b.camera.zoomMax||.1,zoomMax:b.camera.zoomMin||100,mode:b.camera.mode||"turntable",_ortho:N},j=b.axes||{},$=o(I,j);$.enable=!j.disable;var U=b.spikes||{},G=c(I,U),q=[],H=[],ne=[],te=[],Z=!0,X=!0,Q={view:null,projection:new Array(16),model:new Array(16),_ortho:!1},re=(X=!0,[I.drawingBufferWidth,I.drawingBufferHeight]),ie=b.cameraObject||u(R,W),oe={gl:I,contextLost:!1,pixelRatio:b.pixelRatio||1,canvas:R,selection:z,camera:ie,axes:$,axesPixels:null,spikes:G,bounds:O,objects:q,shape:re,aspect:b.aspectRatio||[1,1,1],pickRadius:b.pickRadius||10,zNear:b.zNear||.01,zFar:b.zFar||1e3,fovy:b.fovy||Math.PI/4,clearColor:b.clearColor||[0,0,0,0],autoResize:L(b.autoResize),autoBounds:L(b.autoBounds),autoScale:!!b.autoScale,autoCenter:L(b.autoCenter),clipToBounds:L(b.clipToBounds),snapToData:!!b.snapToData,onselect:b.onselect||null,onrender:b.onrender||null,onclick:b.onclick||null,cameraParams:Q,oncontextloss:null,mouseListener:null,_stopped:!1,getAspectratio:function(){return{x:this.aspect[0],y:this.aspect[1],z:this.aspect[2]}},setAspectratio:function(Pe){this.aspect[0]=Pe.x,this.aspect[1]=Pe.y,this.aspect[2]=Pe.z,X=!0},setBounds:function(Pe,_e){this.bounds[0][Pe]=_e.min,this.bounds[1][Pe]=_e.max},setClearColor:function(Pe){this.clearColor=Pe},clearRGBA:function(){this.gl.clearColor(this.clearColor[0],this.clearColor[1],this.clearColor[2],this.clearColor[3]),this.gl.clear(this.gl.COLOR_BUFFER_BIT|this.gl.DEPTH_BUFFER_BIT)}},ue=[I.drawingBufferWidth/oe.pixelRatio|0,I.drawingBufferHeight/oe.pixelRatio|0];function ce(){if(!oe._stopped&&oe.autoResize){var Pe=R.parentNode,_e=1,Me=1;Pe&&Pe!==document.body?(_e=Pe.clientWidth,Me=Pe.clientHeight):(_e=window.innerWidth,Me=window.innerHeight);var Se=0|Math.ceil(_e*oe.pixelRatio),Ce=0|Math.ceil(Me*oe.pixelRatio);if(Se!==R.width||Ce!==R.height){R.width=Se,R.height=Ce;var ae=R.style;ae.position=ae.position||"absolute",ae.left="0px",ae.top="0px",ae.width=_e+"px",ae.height=Me+"px",Z=!0}}}function ye(){for(var Pe=q.length,_e=te.length,Me=0;Me<_e;++Me)ne[Me]=0;e:for(Me=0;Me0&&ne[_e-1]===0;)ne.pop(),te.pop().dispose()}function de(){if(oe.contextLost)return!0;I.isContextLost()&&(oe.contextLost=!0,oe.mouseListener.enabled=!1,oe.selection.object=null,oe.oncontextloss&&oe.oncontextloss())}oe.autoResize&&ce(),window.addEventListener("resize",ce),oe.update=function(Pe){oe._stopped||(Z=!0,X=!0)},oe.add=function(Pe){oe._stopped||(Pe.axes=$,q.push(Pe),H.push(-1),Z=!0,X=!0,ye())},oe.remove=function(Pe){if(!oe._stopped){var _e=q.indexOf(Pe);_e<0||(q.splice(_e,1),H.pop(),Z=!0,X=!0,ye())}},oe.dispose=function(){if(!oe._stopped&&(oe._stopped=!0,window.removeEventListener("resize",ce),R.removeEventListener("webglcontextlost",de),oe.mouseListener.enabled=!1,!oe.contextLost)){$.dispose(),G.dispose();for(var Pe=0;Pez.distance)continue;for(var Le=0;Le>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js -#define GLSLIFY 1 - -attribute vec2 position; - -uniform mat3 matrix; -uniform float pointSize; -uniform float pointCloud; - -highp float rand(vec2 co) { - highp float a = 12.9898; - highp float b = 78.233; - highp float c = 43758.5453; - highp float d = dot(co.xy, vec2(a, b)); - highp float e = mod(d, 3.14); - return fract(sin(e) * c); -} - -void main() { - vec3 hgPosition = matrix * vec3(position, 1); - gl_Position = vec4(hgPosition.xy, 0, hgPosition.z); - // if we don't jitter the point size a bit, overall point cloud - // saturation 'jumps' on zooming, which is disturbing and confusing - gl_PointSize = pointSize * ((19.5 + rand(position)) / 20.0); - if(pointCloud != 0.0) { // pointCloud is truthy - // get the same square surface as circle would be - gl_PointSize *= 0.886; - } -}`]),l.pointFragment=u([`precision mediump float; -#define GLSLIFY 1 - -uniform vec4 color, borderColor; -uniform float centerFraction; -uniform float pointCloud; - -void main() { - float radius; - vec4 baseColor; - if(pointCloud != 0.0) { // pointCloud is truthy - if(centerFraction == 1.0) { - gl_FragColor = color; - } else { - gl_FragColor = mix(borderColor, color, centerFraction); - } - } else { - radius = length(2.0 * gl_PointCoord.xy - 1.0); - if(radius > 1.0) { - discard; - } - baseColor = mix(borderColor, color, step(radius, centerFraction)); - gl_FragColor = vec4(baseColor.rgb * baseColor.a, baseColor.a); - } -} -`]),l.pickVertex=u([`precision mediump float; -#define GLSLIFY 1 - -attribute vec2 position; -attribute vec4 pickId; - -uniform mat3 matrix; -uniform float pointSize; -uniform vec4 pickOffset; - -varying vec4 fragId; - -void main() { - vec3 hgPosition = matrix * vec3(position, 1); - gl_Position = vec4(hgPosition.xy, 0, hgPosition.z); - gl_PointSize = pointSize; - - vec4 id = pickId + pickOffset; - id.y += floor(id.x / 256.0); - id.x -= floor(id.x / 256.0) * 256.0; - - id.z += floor(id.y / 256.0); - id.y -= floor(id.y / 256.0) * 256.0; - - id.w += floor(id.z / 256.0); - id.z -= floor(id.z / 256.0) * 256.0; - - fragId = id; -} -`]),l.pickFragment=u([`precision mediump float; -#define GLSLIFY 1 - -varying vec4 fragId; - -void main() { - float radius = length(2.0 * gl_PointCoord.xy - 1.0); - if(radius > 1.0) { - discard; - } - gl_FragColor = fragId / 255.0; -} -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js -`])},8271:function(f,l,a){var u=a(5158),o=a(5827),s=a(5306),h=a(8023);function c(C,_,k,E,x){this.plot=C,this.offsetBuffer=_,this.pickBuffer=k,this.shader=E,this.pickShader=x,this.sizeMin=.5,this.sizeMinCap=2,this.sizeMax=20,this.areaRatio=1,this.pointCount=0,this.color=[1,0,0,1],this.borderColor=[0,0,0,1],this.blend=!1,this.pickOffset=0,this.points=null}f.exports=function(C,_){var k=C.gl,E=new c(C,o(k),o(k),u(k,h.pointVertex,h.pointFragment),u(k,h.pickVertex,h.pickFragment));return E.update(_),C.addObject(E),E};var m,w,y=c.prototype;y.dispose=function(){this.shader.dispose(),this.pickShader.dispose(),this.offsetBuffer.dispose(),this.pickBuffer.dispose(),this.plot.removeObject(this)},y.update=function(C){var _;function k(I,O){return I in C?C[I]:O}C=C||{},this.sizeMin=k("sizeMin",.5),this.sizeMax=k("sizeMax",20),this.color=k("color",[1,0,0,1]).slice(),this.areaRatio=k("areaRatio",1),this.borderColor=k("borderColor",[0,0,0,1]).slice(),this.blend=k("blend",!1);var E=C.positions.length>>>1,x=C.positions instanceof Float32Array,A=C.idToIndex instanceof Int32Array&&C.idToIndex.length>=E,L=C.positions,b=x?L:s.mallocFloat32(L.length),R=A?C.idToIndex:s.mallocInt32(E);if(x||b.set(L),!A)for(b.set(L),_=0;_>>1;for(B=0;B=F[0]&&j<=F[2]&&$>=F[1]&&$<=F[3]&&N++}return N}(this.points,x),R=this.plot.pickPixelRatio*Math.max(Math.min(this.sizeMinCap,this.sizeMin),Math.min(this.sizeMax,this.sizeMax/Math.pow(b,.33333)));m[0]=2/A,m[4]=2/L,m[6]=-2*x[0]/A-1,m[7]=-2*x[1]/L-1,this.offsetBuffer.bind(),k.bind(),k.attributes.position.pointer(),k.uniforms.matrix=m,k.uniforms.color=this.color,k.uniforms.borderColor=this.borderColor,k.uniforms.pointCloud=R<5,k.uniforms.pointSize=R,k.uniforms.centerFraction=Math.min(1,Math.max(0,Math.sqrt(1-this.areaRatio))),_&&(w[0]=255&C,w[1]=C>>8&255,w[2]=C>>16&255,w[3]=C>>24&255,this.pickBuffer.bind(),k.attributes.pickId.pointer(E.UNSIGNED_BYTE),k.uniforms.pickOffset=w,this.pickOffset=C);var I=E.getParameter(E.BLEND),O=E.getParameter(E.DITHER);return I&&!this.blend&&E.disable(E.BLEND),O&&E.disable(E.DITHER),E.drawArrays(E.POINTS,0,this.pointCount),I&&!this.blend&&E.enable(E.BLEND),O&&E.enable(E.DITHER),C+this.pointCount}),y.draw=y.unifiedDraw,y.drawPick=y.unifiedDraw,y.pick=function(C,_,k){var E=this.pickOffset,x=this.pointCount;if(k=E+x)return null;var A=k-E,L=this.points;return{object:this,pointId:A,dataCoord:[L[2*A],L[2*A+1]]}}},6093:function(f){f.exports=function(l,a,u,o){var s,h,c,m,w,y=a[0],C=a[1],_=a[2],k=a[3],E=u[0],x=u[1],A=u[2],L=u[3];return(h=y*E+C*x+_*A+k*L)<0&&(h=-h,E=-E,x=-x,A=-A,L=-L),1-h>1e-6?(s=Math.acos(h),c=Math.sin(s),m=Math.sin((1-o)*s)/c,w=Math.sin(o*s)/c):(m=1-o,w=o),l[0]=m*y+w*E,l[1]=m*C+w*x,l[2]=m*_+w*A,l[3]=m*k+w*L,l}},8240:function(f){f.exports=function(l){return l||l===0?l.toString():""}},4123:function(f,l,a){var u=a(875);f.exports=function(s,h,c){var m=o[h];if(m||(m=o[h]={}),s in m)return m[s];var w={textAlign:"center",textBaseline:"middle",lineHeight:1,font:h,lineSpacing:1.25,styletags:{breaklines:!0,bolds:!0,italics:!0,subscripts:!0,superscripts:!0},triangles:!0},y=u(s,w);w.triangles=!1;var C,_,k=u(s,w);if(c&&c!==1){for(C=0;C>>1,x=S.positions instanceof Float32Array,A=S.idToIndex instanceof Int32Array&&S.idToIndex.length>=E,L=S.positions,b=x?L:s.mallocFloat32(L.length),R=A?S.idToIndex:s.mallocInt32(E);if(x||b.set(L),!A)for(b.set(L),_=0;_>>1;for(B=0;B=F[0]&&j<=F[2]&&$>=F[1]&&$<=F[3]&&N++}return N}(this.points,x),R=this.plot.pickPixelRatio*Math.max(Math.min(this.sizeMinCap,this.sizeMin),Math.min(this.sizeMax,this.sizeMax/Math.pow(b,.33333)));m[0]=2/A,m[4]=2/L,m[6]=-2*x[0]/A-1,m[7]=-2*x[1]/L-1,this.offsetBuffer.bind(),k.bind(),k.attributes.position.pointer(),k.uniforms.matrix=m,k.uniforms.color=this.color,k.uniforms.borderColor=this.borderColor,k.uniforms.pointCloud=R<5,k.uniforms.pointSize=R,k.uniforms.centerFraction=Math.min(1,Math.max(0,Math.sqrt(1-this.areaRatio))),_&&(w[0]=255&S,w[1]=S>>8&255,w[2]=S>>16&255,w[3]=S>>24&255,this.pickBuffer.bind(),k.attributes.pickId.pointer(E.UNSIGNED_BYTE),k.uniforms.pickOffset=w,this.pickOffset=S);var I=E.getParameter(E.BLEND),O=E.getParameter(E.DITHER);return I&&!this.blend&&E.disable(E.BLEND),O&&E.disable(E.DITHER),E.drawArrays(E.POINTS,0,this.pointCount),I&&!this.blend&&E.enable(E.BLEND),O&&E.enable(E.DITHER),S+this.pointCount}),y.draw=y.unifiedDraw,y.drawPick=y.unifiedDraw,y.pick=function(S,_,k){var E=this.pickOffset,x=this.pointCount;if(k=E+x)return null;var A=k-E,L=this.points;return{object:this,pointId:A,dataCoord:[L[2*A],L[2*A+1]]}}},6093:function(f){f.exports=function(l,a,u,o){var s,c,h,m,w,y=a[0],S=a[1],_=a[2],k=a[3],E=u[0],x=u[1],A=u[2],L=u[3];return(c=y*E+S*x+_*A+k*L)<0&&(c=-c,E=-E,x=-x,A=-A,L=-L),1-c>1e-6?(s=Math.acos(c),h=Math.sin(s),m=Math.sin((1-o)*s)/h,w=Math.sin(o*s)/h):(m=1-o,w=o),l[0]=m*y+w*E,l[1]=m*S+w*x,l[2]=m*_+w*A,l[3]=m*k+w*L,l}},8240:function(f){f.exports=function(l){return l||l===0?l.toString():""}},4123:function(f,l,a){var u=a(875);f.exports=function(s,c,h){var m=o[c];if(m||(m=o[c]={}),s in m)return m[s];var w={textAlign:"center",textBaseline:"middle",lineHeight:1,font:c,lineSpacing:1.25,styletags:{breaklines:!0,bolds:!0,italics:!0,subscripts:!0,superscripts:!0},triangles:!0},y=u(s,w);w.triangles=!1;var S,_,k=u(s,w);if(h&&h!==1){for(S=0;S>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js -#define GLSLIFY 1 - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -attribute vec3 position; -attribute vec4 color; -attribute vec2 glyph; -attribute vec4 id; - -uniform vec4 highlightId; -uniform float highlightScale; -uniform mat4 model, view, projection; -uniform vec3 clipBounds[2]; - -varying vec4 interpColor; -varying vec4 pickId; -varying vec3 dataCoordinate; - -void main() { - if (outOfRange(clipBounds[0], clipBounds[1], position)) { - - gl_Position = vec4(0,0,0,0); - } else { - float scale = 1.0; - if(distance(highlightId, id) < 0.0001) { - scale = highlightScale; - } - - vec4 worldPosition = model * vec4(position, 1); - vec4 viewPosition = view * worldPosition; - viewPosition = viewPosition / viewPosition.w; - vec4 clipPosition = projection * (viewPosition + scale * vec4(glyph.x, -glyph.y, 0, 0)); - - gl_Position = clipPosition; - interpColor = color; - pickId = id; - dataCoordinate = position; - } -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js -}`]),h=o([`precision highp float; -======== -}`]),c=o([`precision highp float; ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js -#define GLSLIFY 1 - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -attribute vec3 position; -attribute vec4 color; -attribute vec2 glyph; -attribute vec4 id; - -uniform mat4 model, view, projection; -uniform vec2 screenSize; -uniform vec3 clipBounds[2]; -uniform float highlightScale, pixelRatio; -uniform vec4 highlightId; - -varying vec4 interpColor; -varying vec4 pickId; -varying vec3 dataCoordinate; - -void main() { - if (outOfRange(clipBounds[0], clipBounds[1], position)) { - - gl_Position = vec4(0,0,0,0); - } else { - float scale = pixelRatio; - if(distance(highlightId.bgr, id.bgr) < 0.001) { - scale *= highlightScale; - } - - vec4 worldPosition = model * vec4(position, 1.0); - vec4 viewPosition = view * worldPosition; - vec4 clipPosition = projection * viewPosition; - clipPosition /= clipPosition.w; - - gl_Position = clipPosition + vec4(screenSize * scale * vec2(glyph.x, -glyph.y), 0.0, 0.0); - interpColor = color; - pickId = id; - dataCoordinate = position; - } -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js -}`]),c=o([`precision highp float; -======== -}`]),h=o([`precision highp float; ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js -#define GLSLIFY 1 - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -attribute vec3 position; -attribute vec4 color; -attribute vec2 glyph; -attribute vec4 id; - -uniform float highlightScale; -uniform vec4 highlightId; -uniform vec3 axes[2]; -uniform mat4 model, view, projection; -uniform vec2 screenSize; -uniform vec3 clipBounds[2]; -uniform float scale, pixelRatio; - -varying vec4 interpColor; -varying vec4 pickId; -varying vec3 dataCoordinate; - -void main() { - if (outOfRange(clipBounds[0], clipBounds[1], position)) { - - gl_Position = vec4(0,0,0,0); - } else { - float lscale = pixelRatio * scale; - if(distance(highlightId, id) < 0.0001) { - lscale *= highlightScale; - } - - vec4 clipCenter = projection * view * model * vec4(position, 1); - vec3 dataPosition = position + 0.5*lscale*(axes[0] * glyph.x + axes[1] * glyph.y) * clipCenter.w * screenSize.y; - vec4 clipPosition = projection * view * model * vec4(dataPosition, 1); - - gl_Position = clipPosition; - interpColor = color; - pickId = id; - dataCoordinate = dataPosition; - } -} -`]),m=o([`precision highp float; -#define GLSLIFY 1 - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -uniform vec3 fragClipBounds[2]; -uniform float opacity; - -varying vec4 interpColor; -varying vec3 dataCoordinate; - -void main() { - if ( - outOfRange(fragClipBounds[0], fragClipBounds[1], dataCoordinate) || - interpColor.a * opacity == 0. - ) discard; - gl_FragColor = interpColor * opacity; -} -`]),w=o([`precision highp float; -#define GLSLIFY 1 - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -uniform vec3 fragClipBounds[2]; -uniform float pickGroup; - -varying vec4 pickId; -varying vec3 dataCoordinate; - -void main() { - if (outOfRange(fragClipBounds[0], fragClipBounds[1], dataCoordinate)) discard; - - gl_FragColor = vec4(pickGroup, pickId.bgr); -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js -}`]),y=[{name:"position",type:"vec3"},{name:"color",type:"vec4"},{name:"glyph",type:"vec2"},{name:"id",type:"vec4"}],C={vertex:s,fragment:m,attributes:y},_={vertex:h,fragment:m,attributes:y},k={vertex:c,fragment:m,attributes:y},E={vertex:s,fragment:w,attributes:y},x={vertex:h,fragment:w,attributes:y},A={vertex:c,fragment:w,attributes:y};function L(b,R){var I=u(b,R),O=I.attributes;return O.position.location=0,O.color.location=1,O.glyph.location=2,O.id.location=3,I}l.createPerspective=function(b){return L(b,C)},l.createOrtho=function(b){return L(b,_)},l.createProject=function(b){return L(b,k)},l.createPickPerspective=function(b){return L(b,E)},l.createPickOrtho=function(b){return L(b,x)},l.createPickProject=function(b){return L(b,A)}},2182:function(f,l,a){var u=a(3596),o=a(5827),s=a(2944),h=a(5306),c=a(104),m=a(9282),w=a(4123),y=a(8240),C=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function _(H,ne){var te=H[0],Z=H[1],X=H[2],Q=H[3];return H[0]=ne[0]*te+ne[4]*Z+ne[8]*X+ne[12]*Q,H[1]=ne[1]*te+ne[5]*Z+ne[9]*X+ne[13]*Q,H[2]=ne[2]*te+ne[6]*Z+ne[10]*X+ne[14]*Q,H[3]=ne[3]*te+ne[7]*Z+ne[11]*X+ne[15]*Q,H}function k(H,ne,te,Z){return _(Z,Z),_(Z,Z),_(Z,Z)}function E(H,ne){this.index=H,this.dataCoordinate=this.position=ne}function x(H){return H===!0||H>1?1:H}function A(H,ne,te,Z,X,Q,re,ie,oe,ue,ce,ye){this.gl=H,this.pixelRatio=1,this.shader=ne,this.orthoShader=te,this.projectShader=Z,this.pointBuffer=X,this.colorBuffer=Q,this.glyphBuffer=re,this.idBuffer=ie,this.vao=oe,this.vertexCount=0,this.lineVertexCount=0,this.opacity=1,this.hasAlpha=!1,this.lineWidth=0,this.projectScale=[.6666666666666666,.6666666666666666,.6666666666666666],this.projectOpacity=[1,1,1],this.projectHasAlpha=!1,this.pickId=0,this.pickPerspectiveShader=ue,this.pickOrthoShader=ce,this.pickProjectShader=ye,this.points=[],this._selectResult=new E(0,[0,0,0]),this.useOrtho=!0,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.axesProject=[!0,!0,!0],this.axesBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.highlightId=[1,1,1,1],this.highlightScale=2,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.dirty=!0}f.exports=function(H){var ne=H.gl,te=m.createPerspective(ne),Z=m.createOrtho(ne),X=m.createProject(ne),Q=m.createPickPerspective(ne),re=m.createPickOrtho(ne),ie=m.createPickProject(ne),oe=o(ne),ue=o(ne),ce=o(ne),ye=o(ne),de=new A(ne,te,Z,X,oe,ue,ce,ye,s(ne,[{buffer:oe,size:3,type:ne.FLOAT},{buffer:ue,size:4,type:ne.FLOAT},{buffer:ce,size:2,type:ne.FLOAT},{buffer:ye,size:4,type:ne.UNSIGNED_BYTE,normalized:!0}]),Q,re,ie);return de.update(H),de};var L=A.prototype;L.pickSlots=1,L.setPickBase=function(H){this.pickId=H},L.isTransparent=function(){if(this.hasAlpha)return!0;for(var H=0;H<3;++H)if(this.axesProject[H]&&this.projectHasAlpha)return!0;return!1},L.isOpaque=function(){if(!this.hasAlpha)return!0;for(var H=0;H<3;++H)if(this.axesProject[H]&&!this.projectHasAlpha)return!0;return!1};var b=[0,0],R=[0,0,0],I=[0,0,0],O=[0,0,0,1],z=[0,0,0,1],F=C.slice(),B=[0,0,0],N=[[0,0,0],[0,0,0]];function W(H){return H[0]=H[1]=H[2]=0,H}function j(H,ne){return H[0]=ne[0],H[1]=ne[1],H[2]=ne[2],H[3]=1,H}function $(H,ne,te,Z){return H[0]=ne[0],H[1]=ne[1],H[2]=ne[2],H[te]=Z,H}var U=[[-1e8,-1e8,-1e8],[1e8,1e8,1e8]];function G(H,ne,te,Z,X,Q,re){var ie=te.gl;if((Q===te.projectHasAlpha||re)&&function(ue,ce,ye,de){var me,pe=ce.axesProject,xe=ce.gl,Pe=ue.uniforms,_e=ye.model||C,Me=ye.view||C,Se=ye.projection||C,Ce=ce.axesBounds,ae=function(st){for(var ot=N,ht=0;ht<2;++ht)for(var bt=0;bt<3;++bt)ot[ht][bt]=Math.max(Math.min(st[ht][bt],1e8),-1e8);return ot}(ce.clipBounds);me=ce.axes&&ce.axes.lastCubeProps?ce.axes.lastCubeProps.axis:[1,1,1],b[0]=2/xe.drawingBufferWidth,b[1]=2/xe.drawingBufferHeight,ue.bind(),Pe.view=Me,Pe.projection=Se,Pe.screenSize=b,Pe.highlightId=ce.highlightId,Pe.highlightScale=ce.highlightScale,Pe.clipBounds=ae,Pe.pickGroup=ce.pickId/255,Pe.pixelRatio=de;for(var fe=0;fe<3;++fe)if(pe[fe]){Pe.scale=ce.projectScale[fe],Pe.opacity=ce.projectOpacity[fe];for(var be=F,ke=0;ke<16;++ke)be[ke]=0;for(ke=0;ke<4;++ke)be[5*ke]=1;be[5*fe]=0,me[fe]<0?be[12+fe]=Ce[0][fe]:be[12+fe]=Ce[1][fe],c(be,_e,be),Pe.model=be;var Le=(fe+1)%3,Be=(fe+2)%3,ze=W(R),je=W(I);ze[Le]=1,je[Be]=1;var ge=k(0,0,0,j(O,ze)),we=k(0,0,0,j(z,je));if(Math.abs(ge[1])>Math.abs(we[1])){var Ee=ge;ge=we,we=Ee,Ee=ze,ze=je,je=Ee;var Ve=Le;Le=Be,Be=Ve}ge[0]<0&&(ze[Le]=-1),we[1]>0&&(je[Be]=-1);var $e=0,Ye=0;for(ke=0;ke<4;++ke)$e+=Math.pow(_e[4*Le+ke],2),Ye+=Math.pow(_e[4*Be+ke],2);ze[Le]/=Math.sqrt($e),je[Be]/=Math.sqrt(Ye),Pe.axes[0]=ze,Pe.axes[1]=je,Pe.fragClipBounds[0]=$(B,ae[0],fe,-1e8),Pe.fragClipBounds[1]=$(B,ae[1],fe,1e8),ce.vao.bind(),ce.vao.draw(xe.TRIANGLES,ce.vertexCount),ce.lineWidth>0&&(xe.lineWidth(ce.lineWidth*de),ce.vao.draw(xe.LINES,ce.lineVertexCount,ce.vertexCount)),ce.vao.unbind()}}(ne,te,Z,X),Q===te.hasAlpha||re){H.bind();var oe=H.uniforms;oe.model=Z.model||C,oe.view=Z.view||C,oe.projection=Z.projection||C,b[0]=2/ie.drawingBufferWidth,b[1]=2/ie.drawingBufferHeight,oe.screenSize=b,oe.highlightId=te.highlightId,oe.highlightScale=te.highlightScale,oe.fragClipBounds=U,oe.clipBounds=te.axes.bounds,oe.opacity=te.opacity,oe.pickGroup=te.pickId/255,oe.pixelRatio=X,te.vao.bind(),te.vao.draw(ie.TRIANGLES,te.vertexCount),te.lineWidth>0&&(ie.lineWidth(te.lineWidth*X),te.vao.draw(ie.LINES,te.lineVertexCount,te.vertexCount)),te.vao.unbind()}}function q(H,ne,te,Z){var X;X=Array.isArray(H)?ne=this.pointCount||ne<0)return null;var te=this.points[ne],Z=this._selectResult;Z.index=ne;for(var X=0;X<3;++X)Z.position[X]=Z.dataCoordinate[X]=te[X];return Z},L.highlight=function(H){if(H){var ne=H.index,te=255&ne,Z=ne>>8&255,X=ne>>16&255;this.highlightId=[te/255,Z/255,X/255,0]}else this.highlightId=[1,1,1,1]},L.update=function(H){if("perspective"in(H=H||{})&&(this.useOrtho=!H.perspective),"orthographic"in H&&(this.useOrtho=!!H.orthographic),"lineWidth"in H&&(this.lineWidth=H.lineWidth),"project"in H)if(Array.isArray(H.project))this.axesProject=H.project;else{var ne=!!H.project;this.axesProject=[ne,ne,ne]}if("projectScale"in H)if(Array.isArray(H.projectScale))this.projectScale=H.projectScale.slice();else{var te=+H.projectScale;this.projectScale=[te,te,te]}if(this.projectHasAlpha=!1,"projectOpacity"in H){Array.isArray(H.projectOpacity)?this.projectOpacity=H.projectOpacity.slice():(te=+H.projectOpacity,this.projectOpacity=[te,te,te]);for(var Z=0;Z<3;++Z)this.projectOpacity[Z]=x(this.projectOpacity[Z]),this.projectOpacity[Z]<1&&(this.projectHasAlpha=!0)}this.hasAlpha=!1,"opacity"in H&&(this.opacity=x(H.opacity),this.opacity<1&&(this.hasAlpha=!0)),this.dirty=!0;var X,Q,re=H.position,ie=H.font||"normal",oe=H.alignment||[0,0];if(oe.length===2)X=oe[0],Q=oe[1];else for(X=[],Q=[],Z=0;Z0){var we=0,Ee=_e,Ve=[0,0,0,1],$e=[0,0,0,1],Ye=Array.isArray(de)&&Array.isArray(de[0]),st=Array.isArray(xe)&&Array.isArray(xe[0]);e:for(Z=0;Z0?1-ke[0][0]:Ot<0?1+ke[1][0]:1,Bt*=Bt>0?1-ke[0][1]:Bt<0?1+ke[1][1]:1],Vt=fe.cells||[],Ke=fe.positions||[];for(ae=0;ae1?1:H}function A(H,ne,te,Z,X,Q,re,ie,oe,ue,ce,ye){this.gl=H,this.pixelRatio=1,this.shader=ne,this.orthoShader=te,this.projectShader=Z,this.pointBuffer=X,this.colorBuffer=Q,this.glyphBuffer=re,this.idBuffer=ie,this.vao=oe,this.vertexCount=0,this.lineVertexCount=0,this.opacity=1,this.hasAlpha=!1,this.lineWidth=0,this.projectScale=[.6666666666666666,.6666666666666666,.6666666666666666],this.projectOpacity=[1,1,1],this.projectHasAlpha=!1,this.pickId=0,this.pickPerspectiveShader=ue,this.pickOrthoShader=ce,this.pickProjectShader=ye,this.points=[],this._selectResult=new E(0,[0,0,0]),this.useOrtho=!0,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.axesProject=[!0,!0,!0],this.axesBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.highlightId=[1,1,1,1],this.highlightScale=2,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.dirty=!0}f.exports=function(H){var ne=H.gl,te=m.createPerspective(ne),Z=m.createOrtho(ne),X=m.createProject(ne),Q=m.createPickPerspective(ne),re=m.createPickOrtho(ne),ie=m.createPickProject(ne),oe=o(ne),ue=o(ne),ce=o(ne),ye=o(ne),de=new A(ne,te,Z,X,oe,ue,ce,ye,s(ne,[{buffer:oe,size:3,type:ne.FLOAT},{buffer:ue,size:4,type:ne.FLOAT},{buffer:ce,size:2,type:ne.FLOAT},{buffer:ye,size:4,type:ne.UNSIGNED_BYTE,normalized:!0}]),Q,re,ie);return de.update(H),de};var L=A.prototype;L.pickSlots=1,L.setPickBase=function(H){this.pickId=H},L.isTransparent=function(){if(this.hasAlpha)return!0;for(var H=0;H<3;++H)if(this.axesProject[H]&&this.projectHasAlpha)return!0;return!1},L.isOpaque=function(){if(!this.hasAlpha)return!0;for(var H=0;H<3;++H)if(this.axesProject[H]&&!this.projectHasAlpha)return!0;return!1};var b=[0,0],R=[0,0,0],I=[0,0,0],O=[0,0,0,1],z=[0,0,0,1],F=S.slice(),B=[0,0,0],N=[[0,0,0],[0,0,0]];function W(H){return H[0]=H[1]=H[2]=0,H}function j(H,ne){return H[0]=ne[0],H[1]=ne[1],H[2]=ne[2],H[3]=1,H}function $(H,ne,te,Z){return H[0]=ne[0],H[1]=ne[1],H[2]=ne[2],H[te]=Z,H}var U=[[-1e8,-1e8,-1e8],[1e8,1e8,1e8]];function G(H,ne,te,Z,X,Q,re){var ie=te.gl;if((Q===te.projectHasAlpha||re)&&function(ue,ce,ye,de){var me,pe=ce.axesProject,xe=ce.gl,Pe=ue.uniforms,_e=ye.model||S,Me=ye.view||S,Se=ye.projection||S,Ce=ce.axesBounds,ae=function(st){for(var ot=N,ht=0;ht<2;++ht)for(var bt=0;bt<3;++bt)ot[ht][bt]=Math.max(Math.min(st[ht][bt],1e8),-1e8);return ot}(ce.clipBounds);me=ce.axes&&ce.axes.lastCubeProps?ce.axes.lastCubeProps.axis:[1,1,1],b[0]=2/xe.drawingBufferWidth,b[1]=2/xe.drawingBufferHeight,ue.bind(),Pe.view=Me,Pe.projection=Se,Pe.screenSize=b,Pe.highlightId=ce.highlightId,Pe.highlightScale=ce.highlightScale,Pe.clipBounds=ae,Pe.pickGroup=ce.pickId/255,Pe.pixelRatio=de;for(var fe=0;fe<3;++fe)if(pe[fe]){Pe.scale=ce.projectScale[fe],Pe.opacity=ce.projectOpacity[fe];for(var be=F,ke=0;ke<16;++ke)be[ke]=0;for(ke=0;ke<4;++ke)be[5*ke]=1;be[5*fe]=0,me[fe]<0?be[12+fe]=Ce[0][fe]:be[12+fe]=Ce[1][fe],h(be,_e,be),Pe.model=be;var Le=(fe+1)%3,Be=(fe+2)%3,ze=W(R),je=W(I);ze[Le]=1,je[Be]=1;var ge=k(0,0,0,j(O,ze)),we=k(0,0,0,j(z,je));if(Math.abs(ge[1])>Math.abs(we[1])){var Ee=ge;ge=we,we=Ee,Ee=ze,ze=je,je=Ee;var Ve=Le;Le=Be,Be=Ve}ge[0]<0&&(ze[Le]=-1),we[1]>0&&(je[Be]=-1);var $e=0,Ye=0;for(ke=0;ke<4;++ke)$e+=Math.pow(_e[4*Le+ke],2),Ye+=Math.pow(_e[4*Be+ke],2);ze[Le]/=Math.sqrt($e),je[Be]/=Math.sqrt(Ye),Pe.axes[0]=ze,Pe.axes[1]=je,Pe.fragClipBounds[0]=$(B,ae[0],fe,-1e8),Pe.fragClipBounds[1]=$(B,ae[1],fe,1e8),ce.vao.bind(),ce.vao.draw(xe.TRIANGLES,ce.vertexCount),ce.lineWidth>0&&(xe.lineWidth(ce.lineWidth*de),ce.vao.draw(xe.LINES,ce.lineVertexCount,ce.vertexCount)),ce.vao.unbind()}}(ne,te,Z,X),Q===te.hasAlpha||re){H.bind();var oe=H.uniforms;oe.model=Z.model||S,oe.view=Z.view||S,oe.projection=Z.projection||S,b[0]=2/ie.drawingBufferWidth,b[1]=2/ie.drawingBufferHeight,oe.screenSize=b,oe.highlightId=te.highlightId,oe.highlightScale=te.highlightScale,oe.fragClipBounds=U,oe.clipBounds=te.axes.bounds,oe.opacity=te.opacity,oe.pickGroup=te.pickId/255,oe.pixelRatio=X,te.vao.bind(),te.vao.draw(ie.TRIANGLES,te.vertexCount),te.lineWidth>0&&(ie.lineWidth(te.lineWidth*X),te.vao.draw(ie.LINES,te.lineVertexCount,te.vertexCount)),te.vao.unbind()}}function q(H,ne,te,Z){var X;X=Array.isArray(H)?ne=this.pointCount||ne<0)return null;var te=this.points[ne],Z=this._selectResult;Z.index=ne;for(var X=0;X<3;++X)Z.position[X]=Z.dataCoordinate[X]=te[X];return Z},L.highlight=function(H){if(H){var ne=H.index,te=255&ne,Z=ne>>8&255,X=ne>>16&255;this.highlightId=[te/255,Z/255,X/255,0]}else this.highlightId=[1,1,1,1]},L.update=function(H){if("perspective"in(H=H||{})&&(this.useOrtho=!H.perspective),"orthographic"in H&&(this.useOrtho=!!H.orthographic),"lineWidth"in H&&(this.lineWidth=H.lineWidth),"project"in H)if(Array.isArray(H.project))this.axesProject=H.project;else{var ne=!!H.project;this.axesProject=[ne,ne,ne]}if("projectScale"in H)if(Array.isArray(H.projectScale))this.projectScale=H.projectScale.slice();else{var te=+H.projectScale;this.projectScale=[te,te,te]}if(this.projectHasAlpha=!1,"projectOpacity"in H){Array.isArray(H.projectOpacity)?this.projectOpacity=H.projectOpacity.slice():(te=+H.projectOpacity,this.projectOpacity=[te,te,te]);for(var Z=0;Z<3;++Z)this.projectOpacity[Z]=x(this.projectOpacity[Z]),this.projectOpacity[Z]<1&&(this.projectHasAlpha=!0)}this.hasAlpha=!1,"opacity"in H&&(this.opacity=x(H.opacity),this.opacity<1&&(this.hasAlpha=!0)),this.dirty=!0;var X,Q,re=H.position,ie=H.font||"normal",oe=H.alignment||[0,0];if(oe.length===2)X=oe[0],Q=oe[1];else for(X=[],Q=[],Z=0;Z0){var we=0,Ee=_e,Ve=[0,0,0,1],$e=[0,0,0,1],Ye=Array.isArray(de)&&Array.isArray(de[0]),st=Array.isArray(xe)&&Array.isArray(xe[0]);e:for(Z=0;Z0?1-ke[0][0]:Ot<0?1+ke[1][0]:1,Bt*=Bt>0?1-ke[0][1]:Bt<0?1+ke[1][1]:1],Vt=fe.cells||[],Ke=fe.positions||[];for(ae=0;ae>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js -#define GLSLIFY 1 - -attribute vec2 vertex; - -uniform vec2 cornerA, cornerB; - -void main() { - gl_Position = vec4(mix(cornerA, cornerB, vertex), 0, 1); -} -`]),l.boxFragment=u([`precision mediump float; -#define GLSLIFY 1 - -uniform vec4 color; - -void main() { - gl_FragColor = color; -} -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js -`])},6623:function(f,l,a){var u=a(5158),o=a(5827),s=a(1884);function h(m,w,y){this.plot=m,this.boxBuffer=w,this.boxShader=y,this.enabled=!0,this.selectBox=[1/0,1/0,-1/0,-1/0],this.borderColor=[0,0,0,1],this.innerFill=!1,this.innerColor=[0,0,0,.25],this.outerFill=!0,this.outerColor=[0,0,0,.5],this.borderWidth=10}f.exports=function(m,w){var y=m.gl,C=new h(m,o(y,[0,0,0,1,1,0,1,1]),u(y,s.boxVertex,s.boxFragment));return C.update(w),m.addOverlay(C),C};var c=h.prototype;c.draw=function(){if(this.enabled){var m=this.plot,w=this.selectBox,y=this.borderWidth,C=(this.innerFill,this.innerColor),_=(this.outerFill,this.outerColor),k=this.borderColor,E=m.box,x=m.screenBox,A=m.dataBox,L=m.viewBox,b=m.pixelRatio,R=(w[0]-A[0])*(L[2]-L[0])/(A[2]-A[0])+L[0],I=(w[1]-A[1])*(L[3]-L[1])/(A[3]-A[1])+L[1],O=(w[2]-A[0])*(L[2]-L[0])/(A[2]-A[0])+L[0],z=(w[3]-A[1])*(L[3]-L[1])/(A[3]-A[1])+L[1];if(R=Math.max(R,L[0]),I=Math.max(I,L[1]),O=Math.min(O,L[2]),z=Math.min(z,L[3]),!(O0){var N=y*b;E.drawBox(R-N,I-N,O+N,I+N,k),E.drawBox(R-N,z-N,O+N,z+N,k),E.drawBox(R-N,I-N,R+N,z+N,k),E.drawBox(O-N,I-N,O+N,z+N,k)}}}},c.update=function(m){m=m||{},this.innerFill=!!m.innerFill,this.outerFill=!!m.outerFill,this.innerColor=(m.innerColor||[0,0,0,.5]).slice(),this.outerColor=(m.outerColor||[0,0,0,.5]).slice(),this.borderColor=(m.borderColor||[0,0,0,1]).slice(),this.borderWidth=m.borderWidth||0,this.selectBox=(m.selectBox||this.selectBox).slice()},c.dispose=function(){this.boxBuffer.dispose(),this.boxShader.dispose(),this.plot.removeOverlay(this)}},2611:function(f,l,a){f.exports=function(y,C){var _=C[0],k=C[1];return new m(y,u(y,_,k,{}),o.mallocUint8(_*k*4))};var u=a(4234),o=a(5306),s=a(5050),h=a(2288).nextPow2;function c(y,C,_,k,E){this.coord=[y,C],this.id=_,this.value=k,this.distance=E}function m(y,C,_){this.gl=y,this.fbo=C,this.buffer=_,this._readTimeout=null;var k=this;this._readCallback=function(){k.gl&&(C.bind(),y.readPixels(0,0,C.shape[0],C.shape[1],y.RGBA,y.UNSIGNED_BYTE,k.buffer),k._readTimeout=null)}}var w=m.prototype;Object.defineProperty(w,"shape",{get:function(){return this.gl?this.fbo.shape.slice():[0,0]},set:function(y){if(this.gl){this.fbo.shape=y;var C=this.fbo.shape[0],_=this.fbo.shape[1];if(_*C*4>this.buffer.length){o.free(this.buffer);for(var k=this.buffer=o.mallocUint8(h(_*C*4)),E=0;E<_*C*4;++E)k[E]=255}return y}}}),w.begin=function(){var y=this.gl;this.shape,y&&(this.fbo.bind(),y.clearColor(1,1,1,1),y.clear(y.COLOR_BUFFER_BIT|y.DEPTH_BUFFER_BIT))},w.end=function(){var y=this.gl;y&&(y.bindFramebuffer(y.FRAMEBUFFER,null),this._readTimeout||clearTimeout(this._readTimeout),this._readTimeout=setTimeout(this._readCallback,1))},w.query=function(y,C,_){if(!this.gl)return null;var k=this.fbo.shape.slice();y|=0,C|=0,typeof _!="number"&&(_=1);var E=0|Math.min(Math.max(y-_,0),k[0]),x=0|Math.min(Math.max(y+_,0),k[0]),A=0|Math.min(Math.max(C-_,0),k[1]),L=0|Math.min(Math.max(C+_,0),k[1]);if(x<=E||L<=A)return null;var b=[x-E,L-A],R=s(this.buffer,[b[0],b[1],4],[4,4*k[0],1],4*(E+k[0]*A)),I=function(F,B,N){for(var W=1e8,j=-1,$=-1,U=F.shape[0],G=F.shape[1],q=0;qE)for(_=E;_k)for(_=k;_=0){for(var $=0|j.type.charAt(j.type.length-1),U=new Array($),G=0;G<$;++G)U[G]=W.length,N.push(j.name+"["+G+"]"),typeof j.location=="number"?W.push(j.location+G):Array.isArray(j.location)&&j.location.length===$&&typeof j.location[G]=="number"?W.push(0|j.location[G]):W.push(-1);B.push({name:j.name,type:j.type,locations:U})}else B.push({name:j.name,type:j.type,locations:[W.length]}),N.push(j.name),typeof j.location=="number"?W.push(0|j.location):W.push(-1)}var q=0;for(F=0;F=0;)q+=1;W[F]=q}var H=new Array(E.length);function ne(){L.program=h.program(b,L._vref,L._fref,N,W);for(var te=0;te=0){if((I=b.charCodeAt(b.length-1)-48)<2||I>4)throw new u("","Invalid data type for attribute "+L+": "+b);c(w,y,R[0],_,I,k,L)}else{if(!(b.indexOf("mat")>=0))throw new u("","Unknown data type for attribute "+L+": "+b);var I;if((I=b.charCodeAt(b.length-1)-48)<2||I>4)throw new u("","Invalid data type for attribute "+L+": "+b);m(w,y,R,_,I,k,L)}}}return k};var u=a(9068);function o(w,y,C,_,k,E){this._gl=w,this._wrapper=y,this._index=C,this._locations=_,this._dimension=k,this._constFunc=E}var s=o.prototype;s.pointer=function(w,y,C,_){var k=this,E=k._gl,x=k._locations[k._index];E.vertexAttribPointer(x,k._dimension,w||E.FLOAT,!!y,C||0,_||0),E.enableVertexAttribArray(x)},s.set=function(w,y,C,_){return this._constFunc(this._locations[this._index],w,y,C,_)},Object.defineProperty(s,"location",{get:function(){return this._locations[this._index]},set:function(w){return w!==this._locations[this._index]&&(this._locations[this._index]=0|w,this._wrapper.program=null),0|w}});var h=[function(w,y,C){return C.length===void 0?w.vertexAttrib1f(y,C):w.vertexAttrib1fv(y,C)},function(w,y,C,_){return C.length===void 0?w.vertexAttrib2f(y,C,_):w.vertexAttrib2fv(y,C)},function(w,y,C,_,k){return C.length===void 0?w.vertexAttrib3f(y,C,_,k):w.vertexAttrib3fv(y,C)},function(w,y,C,_,k,E){return C.length===void 0?w.vertexAttrib4f(y,C,_,k,E):w.vertexAttrib4fv(y,C)}];function c(w,y,C,_,k,E,x){var A=h[k],L=new o(w,y,C,_,k,A);Object.defineProperty(E,x,{set:function(b){return w.disableVertexAttribArray(_[C]),A(w,_[C],b),b},get:function(){return L},enumerable:!0})}function m(w,y,C,_,k,E,x){for(var A=new Array(k),L=new Array(k),b=0;b4)throw new o("","Invalid uniform dimension type for matrix "+name+": "+U);c["uniformMatrix"+$+"fv"](y[z],!1,F);break}throw new o("","Unknown uniform data type for "+name+": "+U)}if(($=U.charCodeAt(U.length-1)-48)<2||$>4)throw new o("","Invalid data type");switch(U.charAt(0)){case"b":case"i":c["uniform"+$+"iv"](y[z],F);break;case"v":c["uniform"+$+"fv"](y[z],F);break;default:throw new o("","Unrecognized data type for vector "+name+": "+U)}}}}}}function _(A,L){if(typeof L!="object")return[[A,L]];var b=[];for(var R in L){var I=L[R],O=A;parseInt(R)+""===R?O+="["+R+"]":O+="."+R,typeof I=="object"?b.push.apply(b,_(O,I)):b.push([O,I])}return b}function k(A,L,b){if(typeof b=="object"){var R=E(b);Object.defineProperty(A,L,{get:s(R),set:C(b),enumerable:!0,configurable:!1})}else y[b]?Object.defineProperty(A,L,{get:(I=b,function(O,z,F){return O.getUniform(z.program,F[I])}),set:C(b),enumerable:!0,configurable:!1}):A[L]=function(O){switch(O){case"bool":return!1;case"int":case"sampler2D":case"samplerCube":case"float":return 0;default:var z=O.indexOf("vec");if(0<=z&&z<=1&&O.length===4+z){if((F=O.charCodeAt(O.length-1)-48)<2||F>4)throw new o("","Invalid data type");return O.charAt(0)==="b"?h(F,!1):h(F,0)}if(O.indexOf("mat")===0&&O.length===4){var F;if((F=O.charCodeAt(O.length-1)-48)<2||F>4)throw new o("","Invalid uniform dimension type for matrix "+name+": "+O);return h(F*F,0)}throw new o("","Unknown uniform data type for "+name+": "+O)}}(w[b].type);var I}function E(A){var L;if(Array.isArray(A)){L=new Array(A.length);for(var b=0;b1){m[0]in h||(h[m[0]]=[]),h=h[m[0]];for(var w=1;w1)for(var _=0;_"u"?a(4037):WeakMap),h=0;function c(C,_,k,E,x,A,L){this.id=C,this.src=_,this.type=k,this.shader=E,this.count=A,this.programs=[],this.cache=L}function m(C){this.gl=C,this.shaders=[{},{}],this.programs={}}c.prototype.dispose=function(){if(--this.count==0){for(var C=this.cache,_=C.gl,k=this.programs,E=0,x=k.length;E0){var N=y*b;E.drawBox(R-N,I-N,O+N,I+N,k),E.drawBox(R-N,z-N,O+N,z+N,k),E.drawBox(R-N,I-N,R+N,z+N,k),E.drawBox(O-N,I-N,O+N,z+N,k)}}}},h.update=function(m){m=m||{},this.innerFill=!!m.innerFill,this.outerFill=!!m.outerFill,this.innerColor=(m.innerColor||[0,0,0,.5]).slice(),this.outerColor=(m.outerColor||[0,0,0,.5]).slice(),this.borderColor=(m.borderColor||[0,0,0,1]).slice(),this.borderWidth=m.borderWidth||0,this.selectBox=(m.selectBox||this.selectBox).slice()},h.dispose=function(){this.boxBuffer.dispose(),this.boxShader.dispose(),this.plot.removeOverlay(this)}},2611:function(f,l,a){f.exports=function(y,S){var _=S[0],k=S[1];return new m(y,u(y,_,k,{}),o.mallocUint8(_*k*4))};var u=a(4234),o=a(5306),s=a(5050),c=a(2288).nextPow2;function h(y,S,_,k,E){this.coord=[y,S],this.id=_,this.value=k,this.distance=E}function m(y,S,_){this.gl=y,this.fbo=S,this.buffer=_,this._readTimeout=null;var k=this;this._readCallback=function(){k.gl&&(S.bind(),y.readPixels(0,0,S.shape[0],S.shape[1],y.RGBA,y.UNSIGNED_BYTE,k.buffer),k._readTimeout=null)}}var w=m.prototype;Object.defineProperty(w,"shape",{get:function(){return this.gl?this.fbo.shape.slice():[0,0]},set:function(y){if(this.gl){this.fbo.shape=y;var S=this.fbo.shape[0],_=this.fbo.shape[1];if(_*S*4>this.buffer.length){o.free(this.buffer);for(var k=this.buffer=o.mallocUint8(c(_*S*4)),E=0;E<_*S*4;++E)k[E]=255}return y}}}),w.begin=function(){var y=this.gl;this.shape,y&&(this.fbo.bind(),y.clearColor(1,1,1,1),y.clear(y.COLOR_BUFFER_BIT|y.DEPTH_BUFFER_BIT))},w.end=function(){var y=this.gl;y&&(y.bindFramebuffer(y.FRAMEBUFFER,null),this._readTimeout||clearTimeout(this._readTimeout),this._readTimeout=setTimeout(this._readCallback,1))},w.query=function(y,S,_){if(!this.gl)return null;var k=this.fbo.shape.slice();y|=0,S|=0,typeof _!="number"&&(_=1);var E=0|Math.min(Math.max(y-_,0),k[0]),x=0|Math.min(Math.max(y+_,0),k[0]),A=0|Math.min(Math.max(S-_,0),k[1]),L=0|Math.min(Math.max(S+_,0),k[1]);if(x<=E||L<=A)return null;var b=[x-E,L-A],R=s(this.buffer,[b[0],b[1],4],[4,4*k[0],1],4*(E+k[0]*A)),I=function(F,B,N){for(var W=1e8,j=-1,$=-1,U=F.shape[0],G=F.shape[1],q=0;qE)for(_=E;_k)for(_=k;_=0){for(var $=0|j.type.charAt(j.type.length-1),U=new Array($),G=0;G<$;++G)U[G]=W.length,N.push(j.name+"["+G+"]"),typeof j.location=="number"?W.push(j.location+G):Array.isArray(j.location)&&j.location.length===$&&typeof j.location[G]=="number"?W.push(0|j.location[G]):W.push(-1);B.push({name:j.name,type:j.type,locations:U})}else B.push({name:j.name,type:j.type,locations:[W.length]}),N.push(j.name),typeof j.location=="number"?W.push(0|j.location):W.push(-1)}var q=0;for(F=0;F=0;)q+=1;W[F]=q}var H=new Array(E.length);function ne(){L.program=c.program(b,L._vref,L._fref,N,W);for(var te=0;te=0){if((I=b.charCodeAt(b.length-1)-48)<2||I>4)throw new u("","Invalid data type for attribute "+L+": "+b);h(w,y,R[0],_,I,k,L)}else{if(!(b.indexOf("mat")>=0))throw new u("","Unknown data type for attribute "+L+": "+b);var I;if((I=b.charCodeAt(b.length-1)-48)<2||I>4)throw new u("","Invalid data type for attribute "+L+": "+b);m(w,y,R,_,I,k,L)}}}return k};var u=a(9068);function o(w,y,S,_,k,E){this._gl=w,this._wrapper=y,this._index=S,this._locations=_,this._dimension=k,this._constFunc=E}var s=o.prototype;s.pointer=function(w,y,S,_){var k=this,E=k._gl,x=k._locations[k._index];E.vertexAttribPointer(x,k._dimension,w||E.FLOAT,!!y,S||0,_||0),E.enableVertexAttribArray(x)},s.set=function(w,y,S,_){return this._constFunc(this._locations[this._index],w,y,S,_)},Object.defineProperty(s,"location",{get:function(){return this._locations[this._index]},set:function(w){return w!==this._locations[this._index]&&(this._locations[this._index]=0|w,this._wrapper.program=null),0|w}});var c=[function(w,y,S){return S.length===void 0?w.vertexAttrib1f(y,S):w.vertexAttrib1fv(y,S)},function(w,y,S,_){return S.length===void 0?w.vertexAttrib2f(y,S,_):w.vertexAttrib2fv(y,S)},function(w,y,S,_,k){return S.length===void 0?w.vertexAttrib3f(y,S,_,k):w.vertexAttrib3fv(y,S)},function(w,y,S,_,k,E){return S.length===void 0?w.vertexAttrib4f(y,S,_,k,E):w.vertexAttrib4fv(y,S)}];function h(w,y,S,_,k,E,x){var A=c[k],L=new o(w,y,S,_,k,A);Object.defineProperty(E,x,{set:function(b){return w.disableVertexAttribArray(_[S]),A(w,_[S],b),b},get:function(){return L},enumerable:!0})}function m(w,y,S,_,k,E,x){for(var A=new Array(k),L=new Array(k),b=0;b4)throw new o("","Invalid uniform dimension type for matrix "+name+": "+U);h["uniformMatrix"+$+"fv"](y[z],!1,F);break}throw new o("","Unknown uniform data type for "+name+": "+U)}if(($=U.charCodeAt(U.length-1)-48)<2||$>4)throw new o("","Invalid data type");switch(U.charAt(0)){case"b":case"i":h["uniform"+$+"iv"](y[z],F);break;case"v":h["uniform"+$+"fv"](y[z],F);break;default:throw new o("","Unrecognized data type for vector "+name+": "+U)}}}}}}function _(A,L){if(typeof L!="object")return[[A,L]];var b=[];for(var R in L){var I=L[R],O=A;parseInt(R)+""===R?O+="["+R+"]":O+="."+R,typeof I=="object"?b.push.apply(b,_(O,I)):b.push([O,I])}return b}function k(A,L,b){if(typeof b=="object"){var R=E(b);Object.defineProperty(A,L,{get:s(R),set:S(b),enumerable:!0,configurable:!1})}else y[b]?Object.defineProperty(A,L,{get:(I=b,function(O,z,F){return O.getUniform(z.program,F[I])}),set:S(b),enumerable:!0,configurable:!1}):A[L]=function(O){switch(O){case"bool":return!1;case"int":case"sampler2D":case"samplerCube":case"float":return 0;default:var z=O.indexOf("vec");if(0<=z&&z<=1&&O.length===4+z){if((F=O.charCodeAt(O.length-1)-48)<2||F>4)throw new o("","Invalid data type");return O.charAt(0)==="b"?c(F,!1):c(F,0)}if(O.indexOf("mat")===0&&O.length===4){var F;if((F=O.charCodeAt(O.length-1)-48)<2||F>4)throw new o("","Invalid uniform dimension type for matrix "+name+": "+O);return c(F*F,0)}throw new o("","Unknown uniform data type for "+name+": "+O)}}(w[b].type);var I}function E(A){var L;if(Array.isArray(A)){L=new Array(A.length);for(var b=0;b1){m[0]in c||(c[m[0]]=[]),c=c[m[0]];for(var w=1;w1)for(var _=0;_"u"?a(4037):WeakMap),c=0;function h(S,_,k,E,x,A,L){this.id=S,this.src=_,this.type=k,this.shader=E,this.count=A,this.programs=[],this.cache=L}function m(S){this.gl=S,this.shaders=[{},{}],this.programs={}}h.prototype.dispose=function(){if(--this.count==0){for(var S=this.cache,_=S.gl,k=this.programs,E=0,x=k.length;E>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js -#define GLSLIFY 1 - -attribute vec3 position, color; -attribute float weight; - -uniform mat4 model, view, projection; -uniform vec3 coordinates[3]; -uniform vec4 colors[3]; -uniform vec2 screenShape; -uniform float lineWidth; - -varying vec4 fragColor; - -void main() { - vec3 vertexPosition = mix(coordinates[0], - mix(coordinates[2], coordinates[1], 0.5 * (position + 1.0)), abs(position)); - - vec4 clipPos = projection * view * model * vec4(vertexPosition, 1.0); - vec2 clipOffset = (projection * view * model * vec4(color, 0.0)).xy; - vec2 delta = weight * clipOffset * screenShape; - vec2 lineOffset = normalize(vec2(delta.y, -delta.x)) / screenShape; - - gl_Position = vec4(clipPos.xy + clipPos.w * 0.5 * lineWidth * lineOffset, clipPos.z, clipPos.w); - fragColor = color.x * colors[0] + color.y * colors[1] + color.z * colors[2]; -} -`]),h=u([`precision mediump float; -#define GLSLIFY 1 - -varying vec4 fragColor; - -void main() { - gl_FragColor = fragColor; -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js -}`]);f.exports=function(c){return o(c,s,h,null,[{name:"position",type:"vec3"},{name:"color",type:"vec3"},{name:"weight",type:"float"}])}},6496:function(f,l,a){var u=a(5827),o=a(2944),s=a(3540);f.exports=function(_,k){var E=[];function x(I,O,z,F,B,N){var W=[I,O,z,0,0,0,1];W[F+3]=1,W[F]=B,E.push.apply(E,W),W[6]=-1,E.push.apply(E,W),W[F]=N,E.push.apply(E,W),E.push.apply(E,W),W[6]=1,E.push.apply(E,W),W[F]=B,E.push.apply(E,W)}x(0,0,0,0,0,1),x(0,0,0,1,0,1),x(0,0,0,2,0,1),x(1,0,0,1,-1,1),x(1,0,0,2,-1,1),x(0,1,0,0,-1,1),x(0,1,0,2,-1,1),x(0,0,1,0,-1,1),x(0,0,1,1,-1,1);var A=u(_,E),L=o(_,[{type:_.FLOAT,buffer:A,size:3,offset:0,stride:28},{type:_.FLOAT,buffer:A,size:3,offset:12,stride:28},{type:_.FLOAT,buffer:A,size:1,offset:24,stride:28}]),b=s(_);b.attributes.position.location=0,b.attributes.color.location=1,b.attributes.weight.location=2;var R=new c(_,A,L,b);return R.update(k),R};var h=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function c(_,k,E,x){this.gl=_,this.buffer=k,this.vao=E,this.shader=x,this.pixelRatio=1,this.bounds=[[-1e3,-1e3,-1e3],[1e3,1e3,1e3]],this.position=[0,0,0],this.lineWidth=[2,2,2],this.colors=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.enabled=[!0,!0,!0],this.drawSides=[!0,!0,!0],this.axes=null}var m=c.prototype,w=[0,0,0],y=[0,0,0],C=[0,0];m.isTransparent=function(){return!1},m.drawTransparent=function(_){},m.draw=function(_){var k=this.gl,E=this.vao,x=this.shader;E.bind(),x.bind();var A,L=_.model||h,b=_.view||h,R=_.projection||h;this.axes&&(A=this.axes.lastCubeProps.axis);for(var I=w,O=y,z=0;z<3;++z)A&&A[z]<0?(I[z]=this.bounds[0][z],O[z]=this.bounds[1][z]):(I[z]=this.bounds[1][z],O[z]=this.bounds[0][z]);for(C[0]=k.drawingBufferWidth,C[1]=k.drawingBufferHeight,x.uniforms.model=L,x.uniforms.view=b,x.uniforms.projection=R,x.uniforms.coordinates=[this.position,I,O],x.uniforms.colors=this.colors,x.uniforms.screenShape=C,z=0;z<3;++z)x.uniforms.lineWidth=this.lineWidth[z]*this.pixelRatio,this.enabled[z]&&(E.draw(k.TRIANGLES,6,6*z),this.drawSides[z]&&E.draw(k.TRIANGLES,12,18+12*z));E.unbind()},m.update=function(_){_&&("bounds"in _&&(this.bounds=_.bounds),"position"in _&&(this.position=_.position),"lineWidth"in _&&(this.lineWidth=_.lineWidth),"colors"in _&&(this.colors=_.colors),"enabled"in _&&(this.enabled=_.enabled),"drawSides"in _&&(this.drawSides=_.drawSides))},m.dispose=function(){this.vao.dispose(),this.buffer.dispose(),this.shader.dispose()}},9578:function(f,l,a){var u=a(6832),o=u([`precision highp float; -======== -}`]);f.exports=function(h){return o(h,s,c,null,[{name:"position",type:"vec3"},{name:"color",type:"vec3"},{name:"weight",type:"float"}])}},6496:function(f,l,a){var u=a(5827),o=a(2944),s=a(3540);f.exports=function(_,k){var E=[];function x(I,O,z,F,B,N){var W=[I,O,z,0,0,0,1];W[F+3]=1,W[F]=B,E.push.apply(E,W),W[6]=-1,E.push.apply(E,W),W[F]=N,E.push.apply(E,W),E.push.apply(E,W),W[6]=1,E.push.apply(E,W),W[F]=B,E.push.apply(E,W)}x(0,0,0,0,0,1),x(0,0,0,1,0,1),x(0,0,0,2,0,1),x(1,0,0,1,-1,1),x(1,0,0,2,-1,1),x(0,1,0,0,-1,1),x(0,1,0,2,-1,1),x(0,0,1,0,-1,1),x(0,0,1,1,-1,1);var A=u(_,E),L=o(_,[{type:_.FLOAT,buffer:A,size:3,offset:0,stride:28},{type:_.FLOAT,buffer:A,size:3,offset:12,stride:28},{type:_.FLOAT,buffer:A,size:1,offset:24,stride:28}]),b=s(_);b.attributes.position.location=0,b.attributes.color.location=1,b.attributes.weight.location=2;var R=new h(_,A,L,b);return R.update(k),R};var c=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function h(_,k,E,x){this.gl=_,this.buffer=k,this.vao=E,this.shader=x,this.pixelRatio=1,this.bounds=[[-1e3,-1e3,-1e3],[1e3,1e3,1e3]],this.position=[0,0,0],this.lineWidth=[2,2,2],this.colors=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.enabled=[!0,!0,!0],this.drawSides=[!0,!0,!0],this.axes=null}var m=h.prototype,w=[0,0,0],y=[0,0,0],S=[0,0];m.isTransparent=function(){return!1},m.drawTransparent=function(_){},m.draw=function(_){var k=this.gl,E=this.vao,x=this.shader;E.bind(),x.bind();var A,L=_.model||c,b=_.view||c,R=_.projection||c;this.axes&&(A=this.axes.lastCubeProps.axis);for(var I=w,O=y,z=0;z<3;++z)A&&A[z]<0?(I[z]=this.bounds[0][z],O[z]=this.bounds[1][z]):(I[z]=this.bounds[1][z],O[z]=this.bounds[0][z]);for(S[0]=k.drawingBufferWidth,S[1]=k.drawingBufferHeight,x.uniforms.model=L,x.uniforms.view=b,x.uniforms.projection=R,x.uniforms.coordinates=[this.position,I,O],x.uniforms.colors=this.colors,x.uniforms.screenShape=S,z=0;z<3;++z)x.uniforms.lineWidth=this.lineWidth[z]*this.pixelRatio,this.enabled[z]&&(E.draw(k.TRIANGLES,6,6*z),this.drawSides[z]&&E.draw(k.TRIANGLES,12,18+12*z));E.unbind()},m.update=function(_){_&&("bounds"in _&&(this.bounds=_.bounds),"position"in _&&(this.position=_.position),"lineWidth"in _&&(this.lineWidth=_.lineWidth),"colors"in _&&(this.colors=_.colors),"enabled"in _&&(this.enabled=_.enabled),"drawSides"in _&&(this.drawSides=_.drawSides))},m.dispose=function(){this.vao.dispose(),this.buffer.dispose(),this.shader.dispose()}},9578:function(f,l,a){var u=a(6832),o=u([`precision highp float; ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js - -precision highp float; -#define GLSLIFY 1 - -vec3 getOrthogonalVector(vec3 v) { - // Return up-vector for only-z vector. - // Return ax + by + cz = 0, a point that lies on the plane that has v as a normal and that isn't (0,0,0). - // From the above if-statement we have ||a|| > 0 U ||b|| > 0. - // Assign z = 0, x = -b, y = a: - // a*-b + b*a + c*0 = -ba + ba + 0 = 0 - if (v.x*v.x > v.z*v.z || v.y*v.y > v.z*v.z) { - return normalize(vec3(-v.y, v.x, 0.0)); - } else { - return normalize(vec3(0.0, v.z, -v.y)); - } -} - -// Calculate the tube vertex and normal at the given index. -// -// The returned vertex is for a tube ring with its center at origin, radius of length(d), pointing in the direction of d. -// -// Each tube segment is made up of a ring of vertices. -// These vertices are used to make up the triangles of the tube by connecting them together in the vertex array. -// The indexes of tube segments run from 0 to 8. -// -vec3 getTubePosition(vec3 d, float index, out vec3 normal) { - float segmentCount = 8.0; - - float angle = 2.0 * 3.14159 * (index / segmentCount); - - vec3 u = getOrthogonalVector(d); - vec3 v = normalize(cross(u, d)); - - vec3 x = u * cos(angle) * length(d); - vec3 y = v * sin(angle) * length(d); - vec3 v3 = x + y; - - normal = normalize(v3); - - return v3; -} - -attribute vec4 vector; -attribute vec4 color, position; -attribute vec2 uv; - -uniform float vectorScale, tubeScale; -uniform mat4 model, view, projection, inverseModel; -uniform vec3 eyePosition, lightPosition; - -varying vec3 f_normal, f_lightDirection, f_eyeDirection, f_data, f_position; -varying vec4 f_color; -varying vec2 f_uv; - -void main() { - // Scale the vector magnitude to stay constant with - // model & view changes. - vec3 normal; - vec3 XYZ = getTubePosition(mat3(model) * (tubeScale * vector.w * normalize(vector.xyz)), position.w, normal); - vec4 tubePosition = model * vec4(position.xyz, 1.0) + vec4(XYZ, 0.0); - - //Lighting geometry parameters - vec4 cameraCoordinate = view * tubePosition; - cameraCoordinate.xyz /= cameraCoordinate.w; - f_lightDirection = lightPosition - cameraCoordinate.xyz; - f_eyeDirection = eyePosition - cameraCoordinate.xyz; - f_normal = normalize((vec4(normal, 0.0) * inverseModel).xyz); - - // vec4 m_position = model * vec4(tubePosition, 1.0); - vec4 t_position = view * tubePosition; - gl_Position = projection * t_position; - - f_color = color; - f_data = tubePosition.xyz; - f_position = position.xyz; - f_uv = uv; -} -`]),s=u([`#extension GL_OES_standard_derivatives : enable - -precision highp float; -#define GLSLIFY 1 - -float beckmannDistribution(float x, float roughness) { - float NdotH = max(x, 0.0001); - float cos2Alpha = NdotH * NdotH; - float tan2Alpha = (cos2Alpha - 1.0) / cos2Alpha; - float roughness2 = roughness * roughness; - float denom = 3.141592653589793 * roughness2 * cos2Alpha * cos2Alpha; - return exp(tan2Alpha / roughness2) / denom; -} - -float cookTorranceSpecular( - vec3 lightDirection, - vec3 viewDirection, - vec3 surfaceNormal, - float roughness, - float fresnel) { - - float VdotN = max(dot(viewDirection, surfaceNormal), 0.0); - float LdotN = max(dot(lightDirection, surfaceNormal), 0.0); - - //Half angle vector - vec3 H = normalize(lightDirection + viewDirection); - - //Geometric term - float NdotH = max(dot(surfaceNormal, H), 0.0); - float VdotH = max(dot(viewDirection, H), 0.000001); - float LdotH = max(dot(lightDirection, H), 0.000001); - float G1 = (2.0 * NdotH * VdotN) / VdotH; - float G2 = (2.0 * NdotH * LdotN) / LdotH; - float G = min(1.0, min(G1, G2)); - - //Distribution term - float D = beckmannDistribution(NdotH, roughness); - - //Fresnel term - float F = pow(1.0 - VdotN, fresnel); - - //Multiply terms and done - return G * F * D / max(3.14159265 * VdotN, 0.000001); -} - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -uniform vec3 clipBounds[2]; -uniform float roughness, fresnel, kambient, kdiffuse, kspecular, opacity; -uniform sampler2D texture; - -varying vec3 f_normal, f_lightDirection, f_eyeDirection, f_data, f_position; -varying vec4 f_color; -varying vec2 f_uv; - -void main() { - if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard; - vec3 N = normalize(f_normal); - vec3 L = normalize(f_lightDirection); - vec3 V = normalize(f_eyeDirection); - - if(gl_FrontFacing) { - N = -N; - } - - float specular = min(1.0, max(0.0, cookTorranceSpecular(L, V, N, roughness, fresnel))); - float diffuse = min(kambient + kdiffuse * max(dot(N, L), 0.0), 1.0); - - vec4 surfaceColor = f_color * texture2D(texture, f_uv); - vec4 litColor = surfaceColor.a * vec4(diffuse * surfaceColor.rgb + kspecular * vec3(1,1,1) * specular, 1.0); - - gl_FragColor = litColor * opacity; -} -`]),h=u([`precision highp float; - -precision highp float; -#define GLSLIFY 1 - -vec3 getOrthogonalVector(vec3 v) { - // Return up-vector for only-z vector. - // Return ax + by + cz = 0, a point that lies on the plane that has v as a normal and that isn't (0,0,0). - // From the above if-statement we have ||a|| > 0 U ||b|| > 0. - // Assign z = 0, x = -b, y = a: - // a*-b + b*a + c*0 = -ba + ba + 0 = 0 - if (v.x*v.x > v.z*v.z || v.y*v.y > v.z*v.z) { - return normalize(vec3(-v.y, v.x, 0.0)); - } else { - return normalize(vec3(0.0, v.z, -v.y)); - } -} - -// Calculate the tube vertex and normal at the given index. -// -// The returned vertex is for a tube ring with its center at origin, radius of length(d), pointing in the direction of d. -// -// Each tube segment is made up of a ring of vertices. -// These vertices are used to make up the triangles of the tube by connecting them together in the vertex array. -// The indexes of tube segments run from 0 to 8. -// -vec3 getTubePosition(vec3 d, float index, out vec3 normal) { - float segmentCount = 8.0; - - float angle = 2.0 * 3.14159 * (index / segmentCount); - - vec3 u = getOrthogonalVector(d); - vec3 v = normalize(cross(u, d)); - - vec3 x = u * cos(angle) * length(d); - vec3 y = v * sin(angle) * length(d); - vec3 v3 = x + y; - - normal = normalize(v3); - - return v3; -} - -attribute vec4 vector; -attribute vec4 position; -attribute vec4 id; - -uniform mat4 model, view, projection; -uniform float tubeScale; - -varying vec3 f_position; -varying vec4 f_id; - -void main() { - vec3 normal; - vec3 XYZ = getTubePosition(mat3(model) * (tubeScale * vector.w * normalize(vector.xyz)), position.w, normal); - vec4 tubePosition = model * vec4(position.xyz, 1.0) + vec4(XYZ, 0.0); - - gl_Position = projection * view * tubePosition; - f_id = id; - f_position = position.xyz; -} -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js -`]),c=u([`precision highp float; -======== -`]),h=u([`precision highp float; ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js -#define GLSLIFY 1 - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -uniform vec3 clipBounds[2]; -uniform float pickId; - -varying vec3 f_position; -varying vec4 f_id; - -void main() { - if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard; - - gl_FragColor = vec4(pickId, f_id.xyz); -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js -}`]);l.meshShader={vertex:o,fragment:s,attributes:[{name:"position",type:"vec4"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"},{name:"vector",type:"vec4"}]},l.pickShader={vertex:h,fragment:c,attributes:[{name:"position",type:"vec4"},{name:"id",type:"vec4"},{name:"vector",type:"vec4"}]}},7307:function(f,l,a){var u=a(2858),o=a(4020),s=["xyz","xzy","yxz","yzx","zxy","zyx"],h=function(C,_){var k,E=C.length;for(k=0;k_)return k-1}return k},c=function(C,_,k){return C<_?_:C>k?k:C},m=function(C){var _=1/0;C.sort(function(A,L){return A-L});for(var k=C.length,E=1;Eke-1||Ee>Le-1||Ve>Be-1)return u.create();var $e,Ye,st,ot,ht,bt,Et=Ce[0][ze],kt=Ce[0][we],xt=Ce[1][je],Ft=Ce[1][Ee],Ot=Ce[2][ge],Bt=(ae-Et)/(kt-Et),qt=(fe-xt)/(Ft-xt),Vt=(be-Ot)/(Ce[2][Ve]-Ot);switch(isFinite(Bt)||(Bt=.5),isFinite(qt)||(qt=.5),isFinite(Vt)||(Vt=.5),Me.reversedX&&(ze=ke-1-ze,we=ke-1-we),Me.reversedY&&(je=Le-1-je,Ee=Le-1-Ee),Me.reversedZ&&(ge=Be-1-ge,Ve=Be-1-Ve),Me.filled){case 5:ht=ge,bt=Ve,st=je*Be,ot=Ee*Be,$e=ze*Be*Le,Ye=we*Be*Le;break;case 4:ht=ge,bt=Ve,$e=ze*Be,Ye=we*Be,st=je*Be*ke,ot=Ee*Be*ke;break;case 3:st=je,ot=Ee,ht=ge*Le,bt=Ve*Le,$e=ze*Le*Be,Ye=we*Le*Be;break;case 2:st=je,ot=Ee,$e=ze*Le,Ye=we*Le,ht=ge*Le*ke,bt=Ve*Le*ke;break;case 1:$e=ze,Ye=we,ht=ge*ke,bt=Ve*ke,st=je*ke*Be,ot=Ee*ke*Be;break;default:$e=ze,Ye=we,st=je*ke,ot=Ee*ke,ht=ge*ke*Le,bt=Ve*ke*Le}var Ke=Se[$e+st+ht],Je=Se[$e+st+bt],qe=Se[$e+ot+ht],nt=Se[$e+ot+bt],ft=Se[Ye+st+ht],Re=Se[Ye+st+bt],Ne=Se[Ye+ot+ht],Qe=Se[Ye+ot+bt],ut=u.create(),dt=u.create(),_t=u.create(),It=u.create();u.lerp(ut,Ke,ft,Bt),u.lerp(dt,Je,Re,Bt),u.lerp(_t,qe,Ne,Bt),u.lerp(It,nt,Qe,Bt);var Lt=u.create(),yt=u.create();u.lerp(Lt,ut,_t,qt),u.lerp(yt,dt,It,qt);var Pt=u.create();return u.lerp(Pt,Lt,yt,Vt),Pt}(xe,C,b)},I=C.getDivergence||function(xe,Pe){var _e=u.create(),Me=1e-4;u.add(_e,xe,[Me,0,0]);var Se=R(_e);u.subtract(Se,Se,Pe),u.scale(Se,Se,1/Me),u.add(_e,xe,[0,Me,0]);var Ce=R(_e);u.subtract(Ce,Ce,Pe),u.scale(Ce,Ce,1/Me),u.add(_e,xe,[0,0,Me]);var ae=R(_e);return u.subtract(ae,ae,Pe),u.scale(ae,ae,1/Me),u.add(_e,Se,Ce),u.add(_e,_e,ae),_e},O=[],z=_[0][0],F=_[0][1],B=_[0][2],N=_[1][0],W=_[1][1],j=_[1][2],$=function(xe){var Pe=xe[0],_e=xe[1],Me=xe[2];return!(PeN||_eW||Mej)},U=10*u.distance(_[0],_[1])/E,G=U*U,q=1,H=0,ne=k.length;ne>1&&(q=function(xe){for(var Pe=[],_e=[],Me=[],Se={},Ce={},ae={},fe=xe.length,be=0;beH&&(H=ce),oe.push(ce),O.push({points:X,velocities:Q,divergences:oe});for(var ye=0;ye<100*E&&X.lengthG&&u.scale(de,de,U/Math.sqrt(me)),u.add(de,de,Z),re=R(de),u.squaredDistance(ie,de)-G>-1e-4*G&&(X.push(de),ie=de,Q.push(re),ue=I(de,re),ce=u.length(ue),isFinite(ce)&&ce>H&&(H=ce),oe.push(ce)),Z=de}}var pe=function(xe,Pe,_e,Me){for(var Se=0,Ce=0;Ce0)for(ut=0;ut<8;ut++){var dt=(ut+1)%8;xt.push(Bt[ut],qt[ut],qt[dt],qt[dt],Bt[dt],Bt[ut]),Ot.push(nt,qe,qe,qe,nt,nt),Vt.push(Ke,Je,Je,Je,Ke,Ke);var _t=xt.length;Ft.push([_t-6,_t-5,_t-4],[_t-3,_t-2,_t-1])}var It=Bt;Bt=qt,qt=It;var Lt=nt;nt=qe,qe=Lt;var yt=Ke;Ke=Je,Je=yt}return{positions:xt,cells:Ft,vectors:Ot,vertexIntensity:Vt}}($e,_e,Me,Se)}),ke=[],Le=[],Be=[],ze=[];for(Ce=0;Ce_)return k-1}return k},h=function(S,_,k){return S<_?_:S>k?k:S},m=function(S){var _=1/0;S.sort(function(A,L){return A-L});for(var k=S.length,E=1;Eke-1||Ee>Le-1||Ve>Be-1)return u.create();var $e,Ye,st,ot,ht,bt,Et=Ce[0][ze],kt=Ce[0][we],xt=Ce[1][je],Ft=Ce[1][Ee],Ot=Ce[2][ge],Bt=(ae-Et)/(kt-Et),qt=(fe-xt)/(Ft-xt),Vt=(be-Ot)/(Ce[2][Ve]-Ot);switch(isFinite(Bt)||(Bt=.5),isFinite(qt)||(qt=.5),isFinite(Vt)||(Vt=.5),Me.reversedX&&(ze=ke-1-ze,we=ke-1-we),Me.reversedY&&(je=Le-1-je,Ee=Le-1-Ee),Me.reversedZ&&(ge=Be-1-ge,Ve=Be-1-Ve),Me.filled){case 5:ht=ge,bt=Ve,st=je*Be,ot=Ee*Be,$e=ze*Be*Le,Ye=we*Be*Le;break;case 4:ht=ge,bt=Ve,$e=ze*Be,Ye=we*Be,st=je*Be*ke,ot=Ee*Be*ke;break;case 3:st=je,ot=Ee,ht=ge*Le,bt=Ve*Le,$e=ze*Le*Be,Ye=we*Le*Be;break;case 2:st=je,ot=Ee,$e=ze*Le,Ye=we*Le,ht=ge*Le*ke,bt=Ve*Le*ke;break;case 1:$e=ze,Ye=we,ht=ge*ke,bt=Ve*ke,st=je*ke*Be,ot=Ee*ke*Be;break;default:$e=ze,Ye=we,st=je*ke,ot=Ee*ke,ht=ge*ke*Le,bt=Ve*ke*Le}var Ke=Se[$e+st+ht],Je=Se[$e+st+bt],qe=Se[$e+ot+ht],nt=Se[$e+ot+bt],ft=Se[Ye+st+ht],Re=Se[Ye+st+bt],Ne=Se[Ye+ot+ht],Qe=Se[Ye+ot+bt],ut=u.create(),dt=u.create(),_t=u.create(),It=u.create();u.lerp(ut,Ke,ft,Bt),u.lerp(dt,Je,Re,Bt),u.lerp(_t,qe,Ne,Bt),u.lerp(It,nt,Qe,Bt);var Lt=u.create(),yt=u.create();u.lerp(Lt,ut,_t,qt),u.lerp(yt,dt,It,qt);var Pt=u.create();return u.lerp(Pt,Lt,yt,Vt),Pt}(xe,S,b)},I=S.getDivergence||function(xe,Pe){var _e=u.create(),Me=1e-4;u.add(_e,xe,[Me,0,0]);var Se=R(_e);u.subtract(Se,Se,Pe),u.scale(Se,Se,1/Me),u.add(_e,xe,[0,Me,0]);var Ce=R(_e);u.subtract(Ce,Ce,Pe),u.scale(Ce,Ce,1/Me),u.add(_e,xe,[0,0,Me]);var ae=R(_e);return u.subtract(ae,ae,Pe),u.scale(ae,ae,1/Me),u.add(_e,Se,Ce),u.add(_e,_e,ae),_e},O=[],z=_[0][0],F=_[0][1],B=_[0][2],N=_[1][0],W=_[1][1],j=_[1][2],$=function(xe){var Pe=xe[0],_e=xe[1],Me=xe[2];return!(PeN||_eW||Mej)},U=10*u.distance(_[0],_[1])/E,G=U*U,q=1,H=0,ne=k.length;ne>1&&(q=function(xe){for(var Pe=[],_e=[],Me=[],Se={},Ce={},ae={},fe=xe.length,be=0;beH&&(H=ce),oe.push(ce),O.push({points:X,velocities:Q,divergences:oe});for(var ye=0;ye<100*E&&X.lengthG&&u.scale(de,de,U/Math.sqrt(me)),u.add(de,de,Z),re=R(de),u.squaredDistance(ie,de)-G>-1e-4*G&&(X.push(de),ie=de,Q.push(re),ue=I(de,re),ce=u.length(ue),isFinite(ce)&&ce>H&&(H=ce),oe.push(ce)),Z=de}}var pe=function(xe,Pe,_e,Me){for(var Se=0,Ce=0;Ce0)for(ut=0;ut<8;ut++){var dt=(ut+1)%8;xt.push(Bt[ut],qt[ut],qt[dt],qt[dt],Bt[dt],Bt[ut]),Ot.push(nt,qe,qe,qe,nt,nt),Vt.push(Ke,Je,Je,Je,Ke,Ke);var _t=xt.length;Ft.push([_t-6,_t-5,_t-4],[_t-3,_t-2,_t-1])}var It=Bt;Bt=qt,qt=It;var Lt=nt;nt=qe,qe=Lt;var yt=Ke;Ke=Je,Je=yt}return{positions:xt,cells:Ft,vectors:Ot,vertexIntensity:Vt}}($e,_e,Me,Se)}),ke=[],Le=[],Be=[],ze=[];for(Ce=0;Ce>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js -#define GLSLIFY 1 - -attribute vec4 uv; -attribute vec3 f; -attribute vec3 normal; - -uniform vec3 objectOffset; -uniform mat4 model, view, projection, inverseModel; -uniform vec3 lightPosition, eyePosition; -uniform sampler2D colormap; - -varying float value, kill; -varying vec3 worldCoordinate; -varying vec2 planeCoordinate; -varying vec3 lightDirection, eyeDirection, surfaceNormal; -varying vec4 vColor; - -void main() { - vec3 localCoordinate = vec3(uv.zw, f.x); - worldCoordinate = objectOffset + localCoordinate; - vec4 worldPosition = model * vec4(worldCoordinate, 1.0); - vec4 clipPosition = projection * view * worldPosition; - gl_Position = clipPosition; - kill = f.y; - value = f.z; - planeCoordinate = uv.xy; - - vColor = texture2D(colormap, vec2(value, value)); - - //Lighting geometry parameters - vec4 cameraCoordinate = view * worldPosition; - cameraCoordinate.xyz /= cameraCoordinate.w; - lightDirection = lightPosition - cameraCoordinate.xyz; - eyeDirection = eyePosition - cameraCoordinate.xyz; - surfaceNormal = normalize((vec4(normal,0) * inverseModel).xyz); -} -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js -`]),h=o([`precision highp float; -======== -`]),c=o([`precision highp float; ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js -#define GLSLIFY 1 - -float beckmannDistribution(float x, float roughness) { - float NdotH = max(x, 0.0001); - float cos2Alpha = NdotH * NdotH; - float tan2Alpha = (cos2Alpha - 1.0) / cos2Alpha; - float roughness2 = roughness * roughness; - float denom = 3.141592653589793 * roughness2 * cos2Alpha * cos2Alpha; - return exp(tan2Alpha / roughness2) / denom; -} - -float beckmannSpecular( - vec3 lightDirection, - vec3 viewDirection, - vec3 surfaceNormal, - float roughness) { - return beckmannDistribution(dot(surfaceNormal, normalize(lightDirection + viewDirection)), roughness); -} - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -uniform vec3 lowerBound, upperBound; -uniform float contourTint; -uniform vec4 contourColor; -uniform sampler2D colormap; -uniform vec3 clipBounds[2]; -uniform float roughness, fresnel, kambient, kdiffuse, kspecular, opacity; -uniform float vertexColor; - -varying float value, kill; -varying vec3 worldCoordinate; -varying vec3 lightDirection, eyeDirection, surfaceNormal; -varying vec4 vColor; - -void main() { - if ( - kill > 0.0 || - vColor.a == 0.0 || - outOfRange(clipBounds[0], clipBounds[1], worldCoordinate) - ) discard; - - vec3 N = normalize(surfaceNormal); - vec3 V = normalize(eyeDirection); - vec3 L = normalize(lightDirection); - - if(gl_FrontFacing) { - N = -N; - } - - float specular = max(beckmannSpecular(L, V, N, roughness), 0.); - float diffuse = min(kambient + kdiffuse * max(dot(N, L), 0.0), 1.0); - - //decide how to interpolate color — in vertex or in fragment - vec4 surfaceColor = - step(vertexColor, .5) * texture2D(colormap, vec2(value, value)) + - step(.5, vertexColor) * vColor; - - vec4 litColor = surfaceColor.a * vec4(diffuse * surfaceColor.rgb + kspecular * vec3(1,1,1) * specular, 1.0); - - gl_FragColor = mix(litColor, contourColor, contourTint) * opacity; -} -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js -`]),c=o([`precision highp float; -======== -`]),h=o([`precision highp float; ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js -#define GLSLIFY 1 - -attribute vec4 uv; -attribute float f; - -uniform vec3 objectOffset; -uniform mat3 permutation; -uniform mat4 model, view, projection; -uniform float height, zOffset; -uniform sampler2D colormap; - -varying float value, kill; -varying vec3 worldCoordinate; -varying vec2 planeCoordinate; -varying vec3 lightDirection, eyeDirection, surfaceNormal; -varying vec4 vColor; - -void main() { - vec3 dataCoordinate = permutation * vec3(uv.xy, height); - worldCoordinate = objectOffset + dataCoordinate; - vec4 worldPosition = model * vec4(worldCoordinate, 1.0); - - vec4 clipPosition = projection * view * worldPosition; - clipPosition.z += zOffset; - - gl_Position = clipPosition; - value = f + objectOffset.z; - kill = -1.0; - planeCoordinate = uv.zw; - - vColor = texture2D(colormap, vec2(value, value)); - - //Don't do lighting for contours - surfaceNormal = vec3(1,0,0); - eyeDirection = vec3(0,1,0); - lightDirection = vec3(0,0,1); -} -`]),m=o([`precision highp float; -#define GLSLIFY 1 - -bool outOfRange(float a, float b, float p) { - return ((p > max(a, b)) || - (p < min(a, b))); -} - -bool outOfRange(vec2 a, vec2 b, vec2 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y)); -} - -bool outOfRange(vec3 a, vec3 b, vec3 p) { - return (outOfRange(a.x, b.x, p.x) || - outOfRange(a.y, b.y, p.y) || - outOfRange(a.z, b.z, p.z)); -} - -bool outOfRange(vec4 a, vec4 b, vec4 p) { - return outOfRange(a.xyz, b.xyz, p.xyz); -} - -uniform vec2 shape; -uniform vec3 clipBounds[2]; -uniform float pickId; - -varying float value, kill; -varying vec3 worldCoordinate; -varying vec2 planeCoordinate; -varying vec3 surfaceNormal; - -vec2 splitFloat(float v) { - float vh = 255.0 * v; - float upper = floor(vh); - float lower = fract(vh); - return vec2(upper / 255.0, floor(lower * 16.0) / 16.0); -} - -void main() { - if ((kill > 0.0) || - (outOfRange(clipBounds[0], clipBounds[1], worldCoordinate))) discard; - - vec2 ux = splitFloat(planeCoordinate.x / shape.x); - vec2 uy = splitFloat(planeCoordinate.y / shape.y); - gl_FragColor = vec4(pickId, ux.x, uy.x, ux.y + (uy.y/16.0)); -} -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js -`]);l.createShader=function(w){var y=u(w,s,h,null,[{name:"uv",type:"vec4"},{name:"f",type:"vec3"},{name:"normal",type:"vec3"}]);return y.attributes.uv.location=0,y.attributes.f.location=1,y.attributes.normal.location=2,y},l.createPickShader=function(w){var y=u(w,s,m,null,[{name:"uv",type:"vec4"},{name:"f",type:"vec3"},{name:"normal",type:"vec3"}]);return y.attributes.uv.location=0,y.attributes.f.location=1,y.attributes.normal.location=2,y},l.createContourShader=function(w){var y=u(w,c,h,null,[{name:"uv",type:"vec4"},{name:"f",type:"float"}]);return y.attributes.uv.location=0,y.attributes.f.location=1,y},l.createPickContourShader=function(w){var y=u(w,c,m,null,[{name:"uv",type:"vec4"},{name:"f",type:"float"}]);return y.attributes.uv.location=0,y.attributes.f.location=1,y}},3754:function(f,l,a){f.exports=function(ie){var oe=ie.gl,ue=b(oe),ce=I(oe),ye=R(oe),de=O(oe),me=o(oe),pe=s(oe,[{buffer:me,size:4,stride:40,offset:0},{buffer:me,size:3,stride:40,offset:16},{buffer:me,size:3,stride:40,offset:28}]),xe=o(oe),Pe=s(oe,[{buffer:xe,size:4,stride:20,offset:0},{buffer:xe,size:1,stride:20,offset:16}]),_e=o(oe),Me=s(oe,[{buffer:_e,size:2,type:oe.FLOAT}]),Se=h(oe,1,256,oe.RGBA,oe.UNSIGNED_BYTE);Se.minFilter=oe.LINEAR,Se.magFilter=oe.LINEAR;var Ce=new W(oe,[0,0],[[0,0,0],[0,0,0]],ue,ce,me,pe,Se,ye,de,xe,Pe,_e,Me,[0,0,0]),ae={levels:[[],[],[]]};for(var fe in ie)ae[fe]=ie[fe];return ae.colormap=ae.colormap||"jet",Ce.update(ae),Ce};var u=a(2288),o=a(5827),s=a(2944),h=a(8931),c=a(5306),m=a(9156),w=a(7498),y=a(7382),C=a(5050),_=a(4162),k=a(104),E=a(7437),x=a(5070),A=a(9144),L=a(9054),b=L.createShader,R=L.createContourShader,I=L.createPickShader,O=L.createPickContourShader,z=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],F=[[0,0],[0,1],[1,0],[1,1],[1,0],[0,1]],B=[[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0]];function N(ie,oe,ue,ce,ye){this.position=ie,this.index=oe,this.uv=ue,this.level=ce,this.dataCoordinate=ye}function W(ie,oe,ue,ce,ye,de,me,pe,xe,Pe,_e,Me,Se,Ce,ae){this.gl=ie,this.shape=oe,this.bounds=ue,this.objectOffset=ae,this.intensityBounds=[],this._shader=ce,this._pickShader=ye,this._coordinateBuffer=de,this._vao=me,this._colorMap=pe,this._contourShader=xe,this._contourPickShader=Pe,this._contourBuffer=_e,this._contourVAO=Me,this._contourOffsets=[[],[],[]],this._contourCounts=[[],[],[]],this._vertexCount=0,this._pickResult=new N([0,0,0],[0,0],[0,0],[0,0,0],[0,0,0]),this._dynamicBuffer=Se,this._dynamicVAO=Ce,this._dynamicOffsets=[0,0,0],this._dynamicCounts=[0,0,0],this.contourWidth=[1,1,1],this.contourLevels=[[1],[1],[1]],this.contourTint=[0,0,0],this.contourColor=[[.5,.5,.5,1],[.5,.5,.5,1],[.5,.5,.5,1]],this.showContour=!0,this.showSurface=!0,this.enableHighlight=[!0,!0,!0],this.highlightColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.highlightTint=[1,1,1],this.highlightLevel=[-1,-1,-1],this.enableDynamic=[!0,!0,!0],this.dynamicLevel=[NaN,NaN,NaN],this.dynamicColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.dynamicTint=[1,1,1],this.dynamicWidth=[1,1,1],this.axesBounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.surfaceProject=[!1,!1,!1],this.contourProject=[[!1,!1,!1],[!1,!1,!1],[!1,!1,!1]],this.colorBounds=[!1,!1],this._field=[C(c.mallocFloat(1024),[0,0]),C(c.mallocFloat(1024),[0,0]),C(c.mallocFloat(1024),[0,0])],this.pickId=1,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.snapToData=!1,this.pixelRatio=1,this.opacity=1,this.lightPosition=[10,1e4,0],this.ambientLight=.8,this.diffuseLight=.8,this.specularLight=2,this.roughness=.5,this.fresnel=1.5,this.vertexColor=0,this.dirty=!0}(function(){for(var ie=0;ie<3;++ie){var oe=B[ie],ue=(ie+2)%3;oe[(ie+1)%3+0]=1,oe[ue+3]=1,oe[ie+6]=1}})();var j=W.prototype;j.genColormap=function(ie,oe){var ue=!1,ce=y([m({colormap:ie,nshades:256,format:"rgba"}).map(function(ye,de){var me=oe?function(pe,xe){if(!xe||!xe.length)return 1;for(var Pe=0;Pepe&&Pe>0){var _e=(xe[Pe][0]-pe)/(xe[Pe][0]-xe[Pe-1][0]);return xe[Pe][1]*(1-_e)+_e*xe[Pe-1][1]}}return 1}(de/255,oe):ye[3];return me<1&&(ue=!0),[ye[0],ye[1],ye[2],255*me]})]);return w.divseq(ce,255),this.hasAlphaScale=ue,ce},j.isTransparent=function(){return this.opacity<1||this.hasAlphaScale},j.isOpaque=function(){return!this.isTransparent()},j.pickSlots=1,j.setPickBase=function(ie){this.pickId=ie};var $=[0,0,0],U={showSurface:!1,showContour:!1,projections:[z.slice(),z.slice(),z.slice()],clipBounds:[[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]]]};function G(ie,oe){var ue,ce,ye,de=oe.axes&&oe.axes.lastCubeProps.axis||$,me=oe.showSurface,pe=oe.showContour;for(ue=0;ue<3;++ue)for(me=me||oe.surfaceProject[ue],ce=0;ce<3;++ce)pe=pe||oe.contourProject[ue][ce];for(ue=0;ue<3;++ue){var xe=U.projections[ue];for(ce=0;ce<16;++ce)xe[ce]=0;for(ce=0;ce<4;++ce)xe[5*ce]=1;xe[5*ue]=0,xe[12+ue]=oe.axesBounds[+(de[ue]>0)][ue],k(xe,ie.model,xe);var Pe=U.clipBounds[ue];for(ye=0;ye<2;++ye)for(ce=0;ce<3;++ce)Pe[ye][ce]=ie.clipBounds[ye][ce];Pe[0][ue]=-1e8,Pe[1][ue]=1e8}return U.showSurface=me,U.showContour=pe,U}var q={model:z,view:z,projection:z,inverseModel:z.slice(),lowerBound:[0,0,0],upperBound:[0,0,0],colorMap:0,clipBounds:[[0,0,0],[0,0,0]],height:0,contourTint:0,contourColor:[0,0,0,1],permutation:[1,0,0,0,1,0,0,0,1],zOffset:-1e-4,objectOffset:[0,0,0],kambient:1,kdiffuse:1,kspecular:1,lightPosition:[1e3,1e3,1e3],eyePosition:[0,0,0],roughness:1,fresnel:1,opacity:1,vertexColor:0},H=z.slice(),ne=[1,0,0,0,1,0,0,0,1];function te(ie,oe){ie=ie||{};var ue=this.gl;ue.disable(ue.CULL_FACE),this._colorMap.bind(0);var ce=q;ce.model=ie.model||z,ce.view=ie.view||z,ce.projection=ie.projection||z,ce.lowerBound=[this.bounds[0][0],this.bounds[0][1],this.colorBounds[0]||this.bounds[0][2]],ce.upperBound=[this.bounds[1][0],this.bounds[1][1],this.colorBounds[1]||this.bounds[1][2]],ce.objectOffset=this.objectOffset,ce.contourColor=this.contourColor[0],ce.inverseModel=E(ce.inverseModel,ce.model);for(var ye=0;ye<2;++ye)for(var de=ce.clipBounds[ye],me=0;me<3;++me)de[me]=Math.min(Math.max(this.clipBounds[ye][me],-1e8),1e8);ce.kambient=this.ambientLight,ce.kdiffuse=this.diffuseLight,ce.kspecular=this.specularLight,ce.roughness=this.roughness,ce.fresnel=this.fresnel,ce.opacity=this.opacity,ce.height=0,ce.permutation=ne,ce.vertexColor=this.vertexColor;var pe=H;for(k(pe,ce.view,ce.model),k(pe,ce.projection,pe),E(pe,pe),ye=0;ye<3;++ye)ce.eyePosition[ye]=pe[12+ye]/pe[15];var xe=pe[15];for(ye=0;ye<3;++ye)xe+=this.lightPosition[ye]*pe[4*ye+3];for(ye=0;ye<3;++ye){var Pe=pe[12+ye];for(me=0;me<3;++me)Pe+=pe[4*me+ye]*this.lightPosition[me];ce.lightPosition[ye]=Pe/xe}var _e=G(ce,this);if(_e.showSurface){for(this._shader.bind(),this._shader.uniforms=ce,this._vao.bind(),this.showSurface&&this._vertexCount&&this._vao.draw(ue.TRIANGLES,this._vertexCount),ye=0;ye<3;++ye)this.surfaceProject[ye]&&this.vertexCount&&(this._shader.uniforms.model=_e.projections[ye],this._shader.uniforms.clipBounds=_e.clipBounds[ye],this._vao.draw(ue.TRIANGLES,this._vertexCount));this._vao.unbind()}if(_e.showContour){var Me=this._contourShader;ce.kambient=1,ce.kdiffuse=0,ce.kspecular=0,ce.opacity=1,Me.bind(),Me.uniforms=ce;var Se=this._contourVAO;for(Se.bind(),ye=0;ye<3;++ye)for(Me.uniforms.permutation=B[ye],ue.lineWidth(this.contourWidth[ye]*this.pixelRatio),me=0;me>4)/16)/255,ye=Math.floor(ce),de=ce-ye,me=oe[1]*(ie.value[1]+(15&ie.value[2])/16)/255,pe=Math.floor(me),xe=me-pe;ye+=1,pe+=1;var Pe=ue.position;Pe[0]=Pe[1]=Pe[2]=0;for(var _e=0;_e<2;++_e)for(var Me=_e?de:1-de,Se=0;Se<2;++Se)for(var Ce=ye+_e,ae=pe+Se,fe=Me*(Se?xe:1-xe),be=0;be<3;++be)Pe[be]+=this._field[be].get(Ce,ae)*fe;for(var ke=this._pickResult.level,Le=0;Le<3;++Le)if(ke[Le]=x.le(this.contourLevels[Le],Pe[Le]),ke[Le]<0)this.contourLevels[Le].length>0&&(ke[Le]=0);else if(ke[Le]Math.abs(ze-Pe[Le])&&(ke[Le]+=1)}for(ue.index[0]=de<.5?ye:ye+1,ue.index[1]=xe<.5?pe:pe+1,ue.uv[0]=ce/oe[0],ue.uv[1]=me/oe[1],be=0;be<3;++be)ue.dataCoordinate[be]=this._field[be].get(ue.index[0],ue.index[1]);return ue},j.padField=function(ie,oe){var ue=oe.shape.slice(),ce=ie.shape.slice();w.assign(ie.lo(1,1).hi(ue[0],ue[1]),oe),w.assign(ie.lo(1).hi(ue[0],1),oe.hi(ue[0],1)),w.assign(ie.lo(1,ce[1]-1).hi(ue[0],1),oe.lo(0,ue[1]-1).hi(ue[0],1)),w.assign(ie.lo(0,1).hi(1,ue[1]),oe.hi(1)),w.assign(ie.lo(ce[0]-1,1).hi(1,ue[1]),oe.lo(ue[0]-1)),ie.set(0,0,oe.get(0,0)),ie.set(0,ce[1]-1,oe.get(0,ue[1]-1)),ie.set(ce[0]-1,0,oe.get(ue[0]-1,0)),ie.set(ce[0]-1,ce[1]-1,oe.get(ue[0]-1,ue[1]-1))},j.update=function(ie){ie=ie||{},this.objectOffset=ie.objectOffset||this.objectOffset,this.dirty=!0,"contourWidth"in ie&&(this.contourWidth=X(ie.contourWidth,Number)),"showContour"in ie&&(this.showContour=X(ie.showContour,Boolean)),"showSurface"in ie&&(this.showSurface=!!ie.showSurface),"contourTint"in ie&&(this.contourTint=X(ie.contourTint,Boolean)),"contourColor"in ie&&(this.contourColor=re(ie.contourColor)),"contourProject"in ie&&(this.contourProject=X(ie.contourProject,function(kn){return X(kn,Boolean)})),"surfaceProject"in ie&&(this.surfaceProject=ie.surfaceProject),"dynamicColor"in ie&&(this.dynamicColor=re(ie.dynamicColor)),"dynamicTint"in ie&&(this.dynamicTint=X(ie.dynamicTint,Number)),"dynamicWidth"in ie&&(this.dynamicWidth=X(ie.dynamicWidth,Number)),"opacity"in ie&&(this.opacity=ie.opacity),"opacityscale"in ie&&(this.opacityscale=ie.opacityscale),"colorBounds"in ie&&(this.colorBounds=ie.colorBounds),"vertexColor"in ie&&(this.vertexColor=ie.vertexColor?1:0),"colormap"in ie&&this._colorMap.setPixels(this.genColormap(ie.colormap,this.opacityscale));var oe=ie.field||ie.coords&&ie.coords[2]||null,ue=!1;if(oe||(oe=this._field[2].shape[0]||this._field[2].shape[2]?this._field[2].lo(1,1).hi(this._field[2].shape[0]-2,this._field[2].shape[1]-2):this._field[2].hi(0,0)),"field"in ie||"coords"in ie){var ce=(oe.shape[0]+2)*(oe.shape[1]+2);ce>this._field[2].data.length&&(c.freeFloat(this._field[2].data),this._field[2].data=c.mallocFloat(u.nextPow2(ce))),this._field[2]=C(this._field[2].data,[oe.shape[0]+2,oe.shape[1]+2]),this.padField(this._field[2],oe),this.shape=oe.shape.slice();for(var ye=this.shape,de=0;de<2;++de)this._field[2].size>this._field[de].data.length&&(c.freeFloat(this._field[de].data),this._field[de].data=c.mallocFloat(this._field[2].size)),this._field[de]=C(this._field[de].data,[ye[0]+2,ye[1]+2]);if(ie.coords){var me=ie.coords;if(!Array.isArray(me)||me.length!==3)throw new Error("gl-surface: invalid coordinates for x/y");for(de=0;de<2;++de){var pe=me[de];for(Se=0;Se<2;++Se)if(pe.shape[Se]!==ye[Se])throw new Error("gl-surface: coords have incorrect shape");this.padField(this._field[de],pe)}}else if(ie.ticks){var xe=ie.ticks;if(!Array.isArray(xe)||xe.length!==2)throw new Error("gl-surface: invalid ticks");for(de=0;de<2;++de){var Pe=xe[de];if((Array.isArray(Pe)||Pe.length)&&(Pe=C(Pe)),Pe.shape[0]!==ye[de])throw new Error("gl-surface: invalid tick length");var _e=C(Pe.data,ye);_e.stride[de]=Pe.stride[0],_e.stride[1^de]=0,this.padField(this._field[de],_e)}}else{for(de=0;de<2;++de){var Me=[0,0];Me[de]=1,this._field[de]=C(this._field[de].data,[ye[0]+2,ye[1]+2],Me,0)}this._field[0].set(0,0,0);for(var Se=0;Se0){for(var An=0;An<5;++An)ft.pop();kt-=1}continue e}ft.push(dt[0],dt[1],Lt[0],Lt[1],dt[2]),kt+=1}}ut.push(kt)}this._contourOffsets[Re]=Qe,this._contourCounts[Re]=ut}var Yn=c.mallocFloat(ft.length);for(de=0;deB||z<0||z>B)throw new Error("gl-texture2d: Invalid texture size");return I._shape=[O,z],I.bind(),F.texImage2D(F.TEXTURE_2D,0,I.format,O,z,0,I.format,I.type,null),I._mipLevels=[0],I}function k(I,O,z,F,B,N){this.gl=I,this.handle=O,this.format=B,this.type=N,this._shape=[z,F],this._mipLevels=[0],this._magFilter=I.NEAREST,this._minFilter=I.NEAREST,this._wrapS=I.CLAMP_TO_EDGE,this._wrapT=I.CLAMP_TO_EDGE,this._anisoSamples=1;var W=this,j=[this._wrapS,this._wrapT];Object.defineProperties(j,[{get:function(){return W._wrapS},set:function(U){return W.wrapS=U}},{get:function(){return W._wrapT},set:function(U){return W.wrapT=U}}]),this._wrapVector=j;var $=[this._shape[0],this._shape[1]];Object.defineProperties($,[{get:function(){return W._shape[0]},set:function(U){return W.width=U}},{get:function(){return W._shape[1]},set:function(U){return W.height=U}}]),this._shapeVector=$}var E=k.prototype;function x(I,O){return I.length===3?O[2]===1&&O[1]===I[0]*I[2]&&O[0]===I[2]:O[0]===1&&O[1]===I[0]}function A(I){var O=I.createTexture();return I.bindTexture(I.TEXTURE_2D,O),I.texParameteri(I.TEXTURE_2D,I.TEXTURE_MIN_FILTER,I.NEAREST),I.texParameteri(I.TEXTURE_2D,I.TEXTURE_MAG_FILTER,I.NEAREST),I.texParameteri(I.TEXTURE_2D,I.TEXTURE_WRAP_S,I.CLAMP_TO_EDGE),I.texParameteri(I.TEXTURE_2D,I.TEXTURE_WRAP_T,I.CLAMP_TO_EDGE),O}function L(I,O,z,F,B){var N=I.getParameter(I.MAX_TEXTURE_SIZE);if(O<0||O>N||z<0||z>N)throw new Error("gl-texture2d: Invalid texture shape");if(B===I.FLOAT&&!I.getExtension("OES_texture_float"))throw new Error("gl-texture2d: Floating point textures not supported on this platform");var W=A(I);return I.texImage2D(I.TEXTURE_2D,0,F,O,z,0,F,B,null),new k(I,W,O,z,F,B)}function b(I,O,z,F,B,N){var W=A(I);return I.texImage2D(I.TEXTURE_2D,0,B,B,N,O),new k(I,W,z,F,B,N)}function R(I,O){var z=O.dtype,F=O.shape.slice(),B=I.getParameter(I.MAX_TEXTURE_SIZE);if(F[0]<0||F[0]>B||F[1]<0||F[1]>B)throw new Error("gl-texture2d: Invalid texture size");var N=x(F,O.stride.slice()),W=0;z==="float32"?W=I.FLOAT:z==="float64"?(W=I.FLOAT,N=!1,z="float32"):z==="uint8"?W=I.UNSIGNED_BYTE:(W=I.UNSIGNED_BYTE,N=!1,z="uint8");var j,$,U=0;if(F.length===2)U=I.LUMINANCE,F=[F[0],F[1],1],O=u(O.data,F,[O.stride[0],O.stride[1],1],O.offset);else{if(F.length!==3)throw new Error("gl-texture2d: Invalid shape for texture");if(F[2]===1)U=I.ALPHA;else if(F[2]===2)U=I.LUMINANCE_ALPHA;else if(F[2]===3)U=I.RGB;else{if(F[2]!==4)throw new Error("gl-texture2d: Invalid shape for pixel coords");U=I.RGBA}}W!==I.FLOAT||I.getExtension("OES_texture_float")||(W=I.UNSIGNED_BYTE,N=!1);var G=O.size;if(N)j=O.offset===0&&O.data.length===G?O.data:O.data.subarray(O.offset,O.offset+G);else{var q=[F[2],F[2]*F[0],1];$=s.malloc(G,z);var H=u($,F,q,0);z!=="float32"&&z!=="float64"||W!==I.UNSIGNED_BYTE?o.assign(H,O):C(H,O),j=$.subarray(0,G)}var ne=A(I);return I.texImage2D(I.TEXTURE_2D,0,U,F[0],F[1],0,U,W,j),N||s.free($),new k(I,ne,F[0],F[1],U,W)}Object.defineProperties(E,{minFilter:{get:function(){return this._minFilter},set:function(I){this.bind();var O=this.gl;if(this.type===O.FLOAT&&h.indexOf(I)>=0&&(O.getExtension("OES_texture_float_linear")||(I=O.NEAREST)),c.indexOf(I)<0)throw new Error("gl-texture2d: Unknown filter mode "+I);return O.texParameteri(O.TEXTURE_2D,O.TEXTURE_MIN_FILTER,I),this._minFilter=I}},magFilter:{get:function(){return this._magFilter},set:function(I){this.bind();var O=this.gl;if(this.type===O.FLOAT&&h.indexOf(I)>=0&&(O.getExtension("OES_texture_float_linear")||(I=O.NEAREST)),c.indexOf(I)<0)throw new Error("gl-texture2d: Unknown filter mode "+I);return O.texParameteri(O.TEXTURE_2D,O.TEXTURE_MAG_FILTER,I),this._magFilter=I}},mipSamples:{get:function(){return this._anisoSamples},set:function(I){var O=this._anisoSamples;if(this._anisoSamples=0|Math.max(I,1),O!==this._anisoSamples){var z=this.gl.getExtension("EXT_texture_filter_anisotropic");z&&this.gl.texParameterf(this.gl.TEXTURE_2D,z.TEXTURE_MAX_ANISOTROPY_EXT,this._anisoSamples)}return this._anisoSamples}},wrapS:{get:function(){return this._wrapS},set:function(I){if(this.bind(),m.indexOf(I)<0)throw new Error("gl-texture2d: Unknown wrap mode "+I);return this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_S,I),this._wrapS=I}},wrapT:{get:function(){return this._wrapT},set:function(I){if(this.bind(),m.indexOf(I)<0)throw new Error("gl-texture2d: Unknown wrap mode "+I);return this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_T,I),this._wrapT=I}},wrap:{get:function(){return this._wrapVector},set:function(I){if(Array.isArray(I)||(I=[I,I]),I.length!==2)throw new Error("gl-texture2d: Must specify wrap mode for rows and columns");for(var O=0;O<2;++O)if(m.indexOf(I[O])<0)throw new Error("gl-texture2d: Unknown wrap mode "+I);this._wrapS=I[0],this._wrapT=I[1];var z=this.gl;return this.bind(),z.texParameteri(z.TEXTURE_2D,z.TEXTURE_WRAP_S,this._wrapS),z.texParameteri(z.TEXTURE_2D,z.TEXTURE_WRAP_T,this._wrapT),I}},shape:{get:function(){return this._shapeVector},set:function(I){if(Array.isArray(I)){if(I.length!==2)throw new Error("gl-texture2d: Invalid texture shape")}else I=[0|I,0|I];return _(this,0|I[0],0|I[1]),[0|I[0],0|I[1]]}},width:{get:function(){return this._shape[0]},set:function(I){return _(this,I|=0,this._shape[1]),I}},height:{get:function(){return this._shape[1]},set:function(I){return I|=0,_(this,this._shape[0],I),I}}}),E.bind=function(I){var O=this.gl;return I!==void 0&&O.activeTexture(O.TEXTURE0+(0|I)),O.bindTexture(O.TEXTURE_2D,this.handle),I!==void 0?0|I:O.getParameter(O.ACTIVE_TEXTURE)-O.TEXTURE0},E.dispose=function(){this.gl.deleteTexture(this.handle)},E.generateMipmap=function(){this.bind(),this.gl.generateMipmap(this.gl.TEXTURE_2D);for(var I=Math.min(this._shape[0],this._shape[1]),O=0;I>0;++O,I>>>=1)this._mipLevels.indexOf(O)<0&&this._mipLevels.push(O)},E.setPixels=function(I,O,z,F){var B=this.gl;this.bind(),Array.isArray(O)?(F=z,z=0|O[1],O=0|O[0]):(O=O||0,z=z||0),F=F||0;var N=y(I)?I:I.raw;if(N)this._mipLevels.indexOf(F)<0?(B.texImage2D(B.TEXTURE_2D,0,this.format,this.format,this.type,N),this._mipLevels.push(F)):B.texSubImage2D(B.TEXTURE_2D,F,O,z,this.format,this.type,N);else{if(!(I.shape&&I.stride&&I.data))throw new Error("gl-texture2d: Unsupported data type");if(I.shape.length<2||O+I.shape[1]>this._shape[1]>>>F||z+I.shape[0]>this._shape[0]>>>F||O<0||z<0)throw new Error("gl-texture2d: Texture dimensions are out of bounds");(function(W,j,$,U,G,q,H,ne){var te=ne.dtype,Z=ne.shape.slice();if(Z.length<2||Z.length>3)throw new Error("gl-texture2d: Invalid ndarray, must be 2d or 3d");var X=0,Q=0,re=x(Z,ne.stride.slice());if(te==="float32"?X=W.FLOAT:te==="float64"?(X=W.FLOAT,re=!1,te="float32"):te==="uint8"?X=W.UNSIGNED_BYTE:(X=W.UNSIGNED_BYTE,re=!1,te="uint8"),Z.length===2)Q=W.LUMINANCE,Z=[Z[0],Z[1],1],ne=u(ne.data,Z,[ne.stride[0],ne.stride[1],1],ne.offset);else{if(Z.length!==3)throw new Error("gl-texture2d: Invalid shape for texture");if(Z[2]===1)Q=W.ALPHA;else if(Z[2]===2)Q=W.LUMINANCE_ALPHA;else if(Z[2]===3)Q=W.RGB;else{if(Z[2]!==4)throw new Error("gl-texture2d: Invalid shape for pixel coords");Q=W.RGBA}Z[2]}if(Q!==W.LUMINANCE&&Q!==W.ALPHA||G!==W.LUMINANCE&&G!==W.ALPHA||(Q=G),Q!==G)throw new Error("gl-texture2d: Incompatible texture format for setPixels");var ie=ne.size,oe=H.indexOf(U)<0;if(oe&&H.push(U),X===q&&re)ne.offset===0&&ne.data.length===ie?oe?W.texImage2D(W.TEXTURE_2D,U,G,Z[0],Z[1],0,G,q,ne.data):W.texSubImage2D(W.TEXTURE_2D,U,j,$,Z[0],Z[1],G,q,ne.data):oe?W.texImage2D(W.TEXTURE_2D,U,G,Z[0],Z[1],0,G,q,ne.data.subarray(ne.offset,ne.offset+ie)):W.texSubImage2D(W.TEXTURE_2D,U,j,$,Z[0],Z[1],G,q,ne.data.subarray(ne.offset,ne.offset+ie));else{var ue;ue=q===W.FLOAT?s.mallocFloat32(ie):s.mallocUint8(ie);var ce=u(ue,Z,[Z[2],Z[2]*Z[0],1]);X===W.FLOAT&&q===W.UNSIGNED_BYTE?C(ce,ne):o.assign(ce,ne),oe?W.texImage2D(W.TEXTURE_2D,U,G,Z[0],Z[1],0,G,q,ue.subarray(0,ie)):W.texSubImage2D(W.TEXTURE_2D,U,j,$,Z[0],Z[1],G,q,ue.subarray(0,ie)),q===W.FLOAT?s.freeFloat32(ue):s.freeUint8(ue)}})(B,O,z,F,this.format,this.type,this._mipLevels,I)}}},3056:function(f){f.exports=function(l,a,u){a?a.bind():l.bindBuffer(l.ELEMENT_ARRAY_BUFFER,null);var o=0|l.getParameter(l.MAX_VERTEX_ATTRIBS);if(u){if(u.length>o)throw new Error("gl-vao: Too many vertex attributes");for(var s=0;s1?0:Math.acos(y)};var u=a(5415),o=a(899),s=a(9305)},8827:function(f){f.exports=function(l,a){return l[0]=Math.ceil(a[0]),l[1]=Math.ceil(a[1]),l[2]=Math.ceil(a[2]),l}},7622:function(f){f.exports=function(l){var a=new Float32Array(3);return a[0]=l[0],a[1]=l[1],a[2]=l[2],a}},8782:function(f){f.exports=function(l,a){return l[0]=a[0],l[1]=a[1],l[2]=a[2],l}},8501:function(f){f.exports=function(){var l=new Float32Array(3);return l[0]=0,l[1]=0,l[2]=0,l}},903:function(f){f.exports=function(l,a,u){var o=a[0],s=a[1],h=a[2],c=u[0],m=u[1],w=u[2];return l[0]=s*w-h*m,l[1]=h*c-o*w,l[2]=o*m-s*c,l}},5981:function(f,l,a){f.exports=a(8288)},8288:function(f){f.exports=function(l,a){var u=a[0]-l[0],o=a[1]-l[1],s=a[2]-l[2];return Math.sqrt(u*u+o*o+s*s)}},8629:function(f,l,a){f.exports=a(7979)},7979:function(f){f.exports=function(l,a,u){return l[0]=a[0]/u[0],l[1]=a[1]/u[1],l[2]=a[2]/u[2],l}},9305:function(f){f.exports=function(l,a){return l[0]*a[0]+l[1]*a[1]+l[2]*a[2]}},154:function(f){f.exports=1e-6},4932:function(f,l,a){f.exports=function(o,s){var h=o[0],c=o[1],m=o[2],w=s[0],y=s[1],C=s[2];return Math.abs(h-w)<=u*Math.max(1,Math.abs(h),Math.abs(w))&&Math.abs(c-y)<=u*Math.max(1,Math.abs(c),Math.abs(y))&&Math.abs(m-C)<=u*Math.max(1,Math.abs(m),Math.abs(C))};var u=a(154)},5777:function(f){f.exports=function(l,a){return l[0]===a[0]&&l[1]===a[1]&&l[2]===a[2]}},3306:function(f){f.exports=function(l,a){return l[0]=Math.floor(a[0]),l[1]=Math.floor(a[1]),l[2]=Math.floor(a[2]),l}},7447:function(f,l,a){f.exports=function(o,s,h,c,m,w){var y,C;for(s||(s=3),h||(h=0),C=c?Math.min(c*s+h,o.length):o.length,y=h;y0&&(h=1/Math.sqrt(h),l[0]=a[0]*h,l[1]=a[1]*h,l[2]=a[2]*h),l}},6660:function(f){f.exports=function(l,a){a=a||1;var u=2*Math.random()*Math.PI,o=2*Math.random()-1,s=Math.sqrt(1-o*o)*a;return l[0]=Math.cos(u)*s,l[1]=Math.sin(u)*s,l[2]=o*a,l}},392:function(f){f.exports=function(l,a,u,o){var s=u[1],h=u[2],c=a[1]-s,m=a[2]-h,w=Math.sin(o),y=Math.cos(o);return l[0]=a[0],l[1]=s+c*y-m*w,l[2]=h+c*w+m*y,l}},3222:function(f){f.exports=function(l,a,u,o){var s=u[0],h=u[2],c=a[0]-s,m=a[2]-h,w=Math.sin(o),y=Math.cos(o);return l[0]=s+m*w+c*y,l[1]=a[1],l[2]=h+m*y-c*w,l}},3388:function(f){f.exports=function(l,a,u,o){var s=u[0],h=u[1],c=a[0]-s,m=a[1]-h,w=Math.sin(o),y=Math.cos(o);return l[0]=s+c*y-m*w,l[1]=h+c*w+m*y,l[2]=a[2],l}},1624:function(f){f.exports=function(l,a){return l[0]=Math.round(a[0]),l[1]=Math.round(a[1]),l[2]=Math.round(a[2]),l}},5685:function(f){f.exports=function(l,a,u){return l[0]=a[0]*u,l[1]=a[1]*u,l[2]=a[2]*u,l}},6722:function(f){f.exports=function(l,a,u,o){return l[0]=a[0]+u[0]*o,l[1]=a[1]+u[1]*o,l[2]=a[2]+u[2]*o,l}},831:function(f){f.exports=function(l,a,u,o){return l[0]=a,l[1]=u,l[2]=o,l}},5294:function(f,l,a){f.exports=a(6403)},3303:function(f,l,a){f.exports=a(4337)},6403:function(f){f.exports=function(l,a){var u=a[0]-l[0],o=a[1]-l[1],s=a[2]-l[2];return u*u+o*o+s*s}},4337:function(f){f.exports=function(l){var a=l[0],u=l[1],o=l[2];return a*a+u*u+o*o}},8921:function(f,l,a){f.exports=a(911)},911:function(f){f.exports=function(l,a,u){return l[0]=a[0]-u[0],l[1]=a[1]-u[1],l[2]=a[2]-u[2],l}},9908:function(f){f.exports=function(l,a,u){var o=a[0],s=a[1],h=a[2];return l[0]=o*u[0]+s*u[3]+h*u[6],l[1]=o*u[1]+s*u[4]+h*u[7],l[2]=o*u[2]+s*u[5]+h*u[8],l}},3255:function(f){f.exports=function(l,a,u){var o=a[0],s=a[1],h=a[2],c=u[3]*o+u[7]*s+u[11]*h+u[15];return c=c||1,l[0]=(u[0]*o+u[4]*s+u[8]*h+u[12])/c,l[1]=(u[1]*o+u[5]*s+u[9]*h+u[13])/c,l[2]=(u[2]*o+u[6]*s+u[10]*h+u[14])/c,l}},6568:function(f){f.exports=function(l,a,u){var o=a[0],s=a[1],h=a[2],c=u[0],m=u[1],w=u[2],y=u[3],C=y*o+m*h-w*s,_=y*s+w*o-c*h,k=y*h+c*s-m*o,E=-c*o-m*s-w*h;return l[0]=C*y+E*-c+_*-w-k*-m,l[1]=_*y+E*-m+k*-c-C*-w,l[2]=k*y+E*-w+C*-m-_*-c,l}},3433:function(f){f.exports=function(l,a,u){return l[0]=a[0]+u[0],l[1]=a[1]+u[1],l[2]=a[2]+u[2],l[3]=a[3]+u[3],l}},1413:function(f){f.exports=function(l){var a=new Float32Array(4);return a[0]=l[0],a[1]=l[1],a[2]=l[2],a[3]=l[3],a}},3470:function(f){f.exports=function(l,a){return l[0]=a[0],l[1]=a[1],l[2]=a[2],l[3]=a[3],l}},5313:function(f){f.exports=function(){var l=new Float32Array(4);return l[0]=0,l[1]=0,l[2]=0,l[3]=0,l}},5446:function(f){f.exports=function(l,a){var u=a[0]-l[0],o=a[1]-l[1],s=a[2]-l[2],h=a[3]-l[3];return Math.sqrt(u*u+o*o+s*s+h*h)}},205:function(f){f.exports=function(l,a,u){return l[0]=a[0]/u[0],l[1]=a[1]/u[1],l[2]=a[2]/u[2],l[3]=a[3]/u[3],l}},4242:function(f){f.exports=function(l,a){return l[0]*a[0]+l[1]*a[1]+l[2]*a[2]+l[3]*a[3]}},5680:function(f){f.exports=function(l,a,u,o){var s=new Float32Array(4);return s[0]=l,s[1]=a,s[2]=u,s[3]=o,s}},4020:function(f,l,a){f.exports={create:a(5313),clone:a(1413),fromValues:a(5680),copy:a(3470),set:a(6453),add:a(3433),subtract:a(2705),multiply:a(746),divide:a(205),min:a(2170),max:a(3030),scale:a(5510),scaleAndAdd:a(4224),distance:a(5446),squaredDistance:a(1542),length:a(8177),squaredLength:a(9037),negate:a(6459),inverse:a(8057),normalize:a(381),dot:a(4242),lerp:a(8746),random:a(3770),transformMat4:a(6342),transformQuat:a(5022)}},8057:function(f){f.exports=function(l,a){return l[0]=1/a[0],l[1]=1/a[1],l[2]=1/a[2],l[3]=1/a[3],l}},8177:function(f){f.exports=function(l){var a=l[0],u=l[1],o=l[2],s=l[3];return Math.sqrt(a*a+u*u+o*o+s*s)}},8746:function(f){f.exports=function(l,a,u,o){var s=a[0],h=a[1],c=a[2],m=a[3];return l[0]=s+o*(u[0]-s),l[1]=h+o*(u[1]-h),l[2]=c+o*(u[2]-c),l[3]=m+o*(u[3]-m),l}},3030:function(f){f.exports=function(l,a,u){return l[0]=Math.max(a[0],u[0]),l[1]=Math.max(a[1],u[1]),l[2]=Math.max(a[2],u[2]),l[3]=Math.max(a[3],u[3]),l}},2170:function(f){f.exports=function(l,a,u){return l[0]=Math.min(a[0],u[0]),l[1]=Math.min(a[1],u[1]),l[2]=Math.min(a[2],u[2]),l[3]=Math.min(a[3],u[3]),l}},746:function(f){f.exports=function(l,a,u){return l[0]=a[0]*u[0],l[1]=a[1]*u[1],l[2]=a[2]*u[2],l[3]=a[3]*u[3],l}},6459:function(f){f.exports=function(l,a){return l[0]=-a[0],l[1]=-a[1],l[2]=-a[2],l[3]=-a[3],l}},381:function(f){f.exports=function(l,a){var u=a[0],o=a[1],s=a[2],h=a[3],c=u*u+o*o+s*s+h*h;return c>0&&(c=1/Math.sqrt(c),l[0]=u*c,l[1]=o*c,l[2]=s*c,l[3]=h*c),l}},3770:function(f,l,a){var u=a(381),o=a(5510);f.exports=function(s,h){return h=h||1,s[0]=Math.random(),s[1]=Math.random(),s[2]=Math.random(),s[3]=Math.random(),u(s,s),o(s,s,h),s}},5510:function(f){f.exports=function(l,a,u){return l[0]=a[0]*u,l[1]=a[1]*u,l[2]=a[2]*u,l[3]=a[3]*u,l}},4224:function(f){f.exports=function(l,a,u,o){return l[0]=a[0]+u[0]*o,l[1]=a[1]+u[1]*o,l[2]=a[2]+u[2]*o,l[3]=a[3]+u[3]*o,l}},6453:function(f){f.exports=function(l,a,u,o,s){return l[0]=a,l[1]=u,l[2]=o,l[3]=s,l}},1542:function(f){f.exports=function(l,a){var u=a[0]-l[0],o=a[1]-l[1],s=a[2]-l[2],h=a[3]-l[3];return u*u+o*o+s*s+h*h}},9037:function(f){f.exports=function(l){var a=l[0],u=l[1],o=l[2],s=l[3];return a*a+u*u+o*o+s*s}},2705:function(f){f.exports=function(l,a,u){return l[0]=a[0]-u[0],l[1]=a[1]-u[1],l[2]=a[2]-u[2],l[3]=a[3]-u[3],l}},6342:function(f){f.exports=function(l,a,u){var o=a[0],s=a[1],h=a[2],c=a[3];return l[0]=u[0]*o+u[4]*s+u[8]*h+u[12]*c,l[1]=u[1]*o+u[5]*s+u[9]*h+u[13]*c,l[2]=u[2]*o+u[6]*s+u[10]*h+u[14]*c,l[3]=u[3]*o+u[7]*s+u[11]*h+u[15]*c,l}},5022:function(f){f.exports=function(l,a,u){var o=a[0],s=a[1],h=a[2],c=u[0],m=u[1],w=u[2],y=u[3],C=y*o+m*h-w*s,_=y*s+w*o-c*h,k=y*h+c*s-m*o,E=-c*o-m*s-w*h;return l[0]=C*y+E*-c+_*-w-k*-m,l[1]=_*y+E*-m+k*-c-C*-w,l[2]=k*y+E*-w+C*-m-_*-c,l[3]=a[3],l}},9365:function(f,l,a){var u=a(8096),o=a(7896);f.exports=function(s){for(var h=Array.isArray(s)?s:u(s),c=0;c0)continue;ye=ue.slice(0,1).join("")}return G(ye),z+=ye.length,(b=b.slice(ye.length)).length}}function Q(){return/[^a-fA-F0-9]/.test(_)?(G(b.join("")),L=m,x):(b.push(_),k=_,x+1)}function re(){return _==="."||/[eE]/.test(_)?(b.push(_),L=5,k=_,x+1):_==="x"&&b.length===1&&b[0]==="0"?(L=11,b.push(_),k=_,x+1):/[^\d]/.test(_)?(G(b.join("")),L=m,x):(b.push(_),k=_,x+1)}function ie(){return _==="f"&&(b.push(_),k=_,x+=1),/[eE]/.test(_)?(b.push(_),k=_,x+1):(_!=="-"&&_!=="+"||!/[eE]/.test(k))&&/[^\d]/.test(_)?(G(b.join("")),L=m,x):(b.push(_),k=_,x+1)}function oe(){if(/[^\d\w_]/.test(_)){var ue=b.join("");return L=U[ue]?8:$[ue]?7:6,G(b.join("")),L=m,x}return b.push(_),k=_,x+1}};var u=a(399),o=a(9746),s=a(9525),h=a(9458),c=a(3585),m=999,w=9999,y=["block-comment","line-comment","preprocessor","operator","integer","float","ident","builtin","keyword","whitespace","eof","integer"]},3585:function(f,l,a){var u=a(9525);u=u.slice().filter(function(o){return!/^(gl\_|texture)/.test(o)}),f.exports=u.concat(["gl_VertexID","gl_InstanceID","gl_Position","gl_PointSize","gl_FragCoord","gl_FrontFacing","gl_FragDepth","gl_PointCoord","gl_MaxVertexAttribs","gl_MaxVertexUniformVectors","gl_MaxVertexOutputVectors","gl_MaxFragmentInputVectors","gl_MaxVertexTextureImageUnits","gl_MaxCombinedTextureImageUnits","gl_MaxTextureImageUnits","gl_MaxFragmentUniformVectors","gl_MaxDrawBuffers","gl_MinProgramTexelOffset","gl_MaxProgramTexelOffset","gl_DepthRangeParameters","gl_DepthRange","trunc","round","roundEven","isnan","isinf","floatBitsToInt","floatBitsToUint","intBitsToFloat","uintBitsToFloat","packSnorm2x16","unpackSnorm2x16","packUnorm2x16","unpackUnorm2x16","packHalf2x16","unpackHalf2x16","outerProduct","transpose","determinant","inverse","texture","textureSize","textureProj","textureLod","textureOffset","texelFetch","texelFetchOffset","textureProjOffset","textureLodOffset","textureProjLod","textureProjLodOffset","textureGrad","textureGradOffset","textureProjGrad","textureProjGradOffset"])},9525:function(f){f.exports=["abs","acos","all","any","asin","atan","ceil","clamp","cos","cross","dFdx","dFdy","degrees","distance","dot","equal","exp","exp2","faceforward","floor","fract","gl_BackColor","gl_BackLightModelProduct","gl_BackLightProduct","gl_BackMaterial","gl_BackSecondaryColor","gl_ClipPlane","gl_ClipVertex","gl_Color","gl_DepthRange","gl_DepthRangeParameters","gl_EyePlaneQ","gl_EyePlaneR","gl_EyePlaneS","gl_EyePlaneT","gl_Fog","gl_FogCoord","gl_FogFragCoord","gl_FogParameters","gl_FragColor","gl_FragCoord","gl_FragData","gl_FragDepth","gl_FragDepthEXT","gl_FrontColor","gl_FrontFacing","gl_FrontLightModelProduct","gl_FrontLightProduct","gl_FrontMaterial","gl_FrontSecondaryColor","gl_LightModel","gl_LightModelParameters","gl_LightModelProducts","gl_LightProducts","gl_LightSource","gl_LightSourceParameters","gl_MaterialParameters","gl_MaxClipPlanes","gl_MaxCombinedTextureImageUnits","gl_MaxDrawBuffers","gl_MaxFragmentUniformComponents","gl_MaxLights","gl_MaxTextureCoords","gl_MaxTextureImageUnits","gl_MaxTextureUnits","gl_MaxVaryingFloats","gl_MaxVertexAttribs","gl_MaxVertexTextureImageUnits","gl_MaxVertexUniformComponents","gl_ModelViewMatrix","gl_ModelViewMatrixInverse","gl_ModelViewMatrixInverseTranspose","gl_ModelViewMatrixTranspose","gl_ModelViewProjectionMatrix","gl_ModelViewProjectionMatrixInverse","gl_ModelViewProjectionMatrixInverseTranspose","gl_ModelViewProjectionMatrixTranspose","gl_MultiTexCoord0","gl_MultiTexCoord1","gl_MultiTexCoord2","gl_MultiTexCoord3","gl_MultiTexCoord4","gl_MultiTexCoord5","gl_MultiTexCoord6","gl_MultiTexCoord7","gl_Normal","gl_NormalMatrix","gl_NormalScale","gl_ObjectPlaneQ","gl_ObjectPlaneR","gl_ObjectPlaneS","gl_ObjectPlaneT","gl_Point","gl_PointCoord","gl_PointParameters","gl_PointSize","gl_Position","gl_ProjectionMatrix","gl_ProjectionMatrixInverse","gl_ProjectionMatrixInverseTranspose","gl_ProjectionMatrixTranspose","gl_SecondaryColor","gl_TexCoord","gl_TextureEnvColor","gl_TextureMatrix","gl_TextureMatrixInverse","gl_TextureMatrixInverseTranspose","gl_TextureMatrixTranspose","gl_Vertex","greaterThan","greaterThanEqual","inversesqrt","length","lessThan","lessThanEqual","log","log2","matrixCompMult","max","min","mix","mod","normalize","not","notEqual","pow","radians","reflect","refract","sign","sin","smoothstep","sqrt","step","tan","texture2D","texture2DLod","texture2DProj","texture2DProjLod","textureCube","textureCubeLod","texture2DLodEXT","texture2DProjLodEXT","textureCubeLodEXT","texture2DGradEXT","texture2DProjGradEXT","textureCubeGradEXT"]},9458:function(f,l,a){var u=a(399);f.exports=u.slice().concat(["layout","centroid","smooth","case","mat2x2","mat2x3","mat2x4","mat3x2","mat3x3","mat3x4","mat4x2","mat4x3","mat4x4","uvec2","uvec3","uvec4","samplerCubeShadow","sampler2DArray","sampler2DArrayShadow","isampler2D","isampler3D","isamplerCube","isampler2DArray","usampler2D","usampler3D","usamplerCube","usampler2DArray","coherent","restrict","readonly","writeonly","resource","atomic_uint","noperspective","patch","sample","subroutine","common","partition","active","filter","image1D","image2D","image3D","imageCube","iimage1D","iimage2D","iimage3D","iimageCube","uimage1D","uimage2D","uimage3D","uimageCube","image1DArray","image2DArray","iimage1DArray","iimage2DArray","uimage1DArray","uimage2DArray","image1DShadow","image2DShadow","image1DArrayShadow","image2DArrayShadow","imageBuffer","iimageBuffer","uimageBuffer","sampler1DArray","sampler1DArrayShadow","isampler1D","isampler1DArray","usampler1D","usampler1DArray","isampler2DRect","usampler2DRect","samplerBuffer","isamplerBuffer","usamplerBuffer","sampler2DMS","isampler2DMS","usampler2DMS","sampler2DMSArray","isampler2DMSArray","usampler2DMSArray"])},399:function(f){f.exports=["precision","highp","mediump","lowp","attribute","const","uniform","varying","break","continue","do","for","while","if","else","in","out","inout","float","int","uint","void","bool","true","false","discard","return","mat2","mat3","mat4","vec2","vec3","vec4","ivec2","ivec3","ivec4","bvec2","bvec3","bvec4","sampler1D","sampler2D","sampler3D","samplerCube","sampler1DShadow","sampler2DShadow","struct","asm","class","union","enum","typedef","template","this","packed","goto","switch","default","inline","noinline","volatile","public","static","extern","external","interface","long","short","double","half","fixed","unsigned","input","output","hvec2","hvec3","hvec4","dvec2","dvec3","dvec4","fvec2","fvec3","fvec4","sampler2DRect","sampler3DRect","sampler2DRectShadow","sizeof","cast","namespace","using"]},9746:function(f){f.exports=["<<=",">>=","++","--","<<",">>","<=",">=","==","!=","&&","||","+=","-=","*=","/=","%=","&=","^^","^=","|=","(",")","[","]",".","!","~","*","/","%","+","-","<",">","&","^","|","?",":","=",",",";","{","}"]},8096:function(f,l,a){var u=a(3193);f.exports=function(o,s){var h=u(s),c=[];return(c=c.concat(h(o))).concat(h(null))}},6832:function(f){f.exports=function(l){typeof l=="string"&&(l=[l]);for(var a=[].slice.call(arguments,1),u=[],o=0;o0;)for(var b=(C=L.pop()).adjacent,R=0;R<=k;++R){var I=b[R];if(I.boundary&&!(I.lastVisited<=-E)){for(var O=I.vertices,z=0;z<=k;++z){var F=O[z];x[z]=F<0?_:A[F]}var B=this.orient();if(B>0)return I;I.lastVisited=-E,B===0&&L.push(I)}}return null},y.walk=function(C,_){var k=this.vertices.length-1,E=this.dimension,x=this.vertices,A=this.tuple,L=_?this.interior.length*Math.random()|0:this.interior.length-1,b=this.interior[L];e:for(;!b.boundary;){for(var R=b.vertices,I=b.adjacent,O=0;O<=E;++O)A[O]=x[R[O]];for(b.lastVisited=k,O=0;O<=E;++O){var z=I[O];if(!(z.lastVisited>=k)){var F=A[O];A[O]=C;var B=this.orient();if(A[O]=F,B<0){b=z;continue e}z.boundary?z.lastVisited=-k:z.lastVisited=k}}return}return b},y.addPeaks=function(C,_){var k=this.vertices.length-1,E=this.dimension,x=this.vertices,A=this.tuple,L=this.interior,b=this.simplices,R=[_];_.lastVisited=k,_.vertices[_.vertices.indexOf(-1)]=k,_.boundary=!1,L.push(_);for(var I=[];R.length>0;){var O=(_=R.pop()).vertices,z=_.adjacent,F=O.indexOf(k);if(!(F<0)){for(var B=0;B<=E;++B)if(B!==F){var N=z[B];if(N.boundary&&!(N.lastVisited>=k)){var W=N.vertices;if(N.lastVisited!==-k){for(var j=0,$=0;$<=E;++$)W[$]<0?(j=$,A[$]=C):A[$]=x[W[$]];if(this.orient()>0){W[j]=k,N.boundary=!1,L.push(N),R.push(N),N.lastVisited=k;continue}N.lastVisited=-k}var U=N.adjacent,G=O.slice(),q=z.slice(),H=new s(G,q,!0);b.push(H);var ne=U.indexOf(_);if(!(ne<0))for(U[ne]=H,q[F]=N,G[B]=-1,q[B]=_,z[B]=H,H.flip(),$=0;$<=E;++$){var te=G[$];if(!(te<0||te===k)){for(var Z=new Array(E-1),X=0,Q=0;Q<=E;++Q){var re=G[Q];re<0||Q===$||(Z[X++]=re)}I.push(new h(Z,H,$))}}}}}}for(I.sort(c),B=0;B+1=0?L[R++]=b[O]:I=1&O;if(I===(1&C)){var z=L[0];L[0]=L[1],L[1]=z}_.push(L)}}return _}},9014:function(f,l,a){var u=a(5070);function o(R,I,O,z,F){this.mid=R,this.left=I,this.right=O,this.leftPoints=z,this.rightPoints=F,this.count=(I?I.count:0)+(O?O.count:0)+z.length}f.exports=function(R){return R&&R.length!==0?new L(A(R)):new L(null)};var s=o.prototype;function h(R,I){R.mid=I.mid,R.left=I.left,R.right=I.right,R.leftPoints=I.leftPoints,R.rightPoints=I.rightPoints,R.count=I.count}function c(R,I){var O=A(I);R.mid=O.mid,R.left=O.left,R.right=O.right,R.leftPoints=O.leftPoints,R.rightPoints=O.rightPoints,R.count=O.count}function m(R,I){var O=R.intervals([]);O.push(I),c(R,O)}function w(R,I){var O=R.intervals([]),z=O.indexOf(I);return z<0?0:(O.splice(z,1),c(R,O),1)}function y(R,I,O){for(var z=0;z=0&&R[z][1]>=I;--z){var F=O(R[z]);if(F)return F}}function _(R,I){for(var O=0;O>1],F=[],B=[],N=[];for(O=0;O3*(I+1)?m(this,R):this.left.insert(R):this.left=A([R]);else if(R[0]>this.mid)this.right?4*(this.right.count+1)>3*(I+1)?m(this,R):this.right.insert(R):this.right=A([R]);else{var O=u.ge(this.leftPoints,R,E),z=u.ge(this.rightPoints,R,x);this.leftPoints.splice(O,0,R),this.rightPoints.splice(z,0,R)}},s.remove=function(R){var I=this.count-this.leftPoints;if(R[1]3*(I-1)?w(this,R):(B=this.left.remove(R))===2?(this.left=null,this.count-=1,1):(B===1&&(this.count-=1),B):0;if(R[0]>this.mid)return this.right?4*(this.left?this.left.count:0)>3*(I-1)?w(this,R):(B=this.right.remove(R))===2?(this.right=null,this.count-=1,1):(B===1&&(this.count-=1),B):0;if(this.count===1)return this.leftPoints[0]===R?2:0;if(this.leftPoints.length===1&&this.leftPoints[0]===R){if(this.left&&this.right){for(var O=this,z=this.left;z.right;)O=z,z=z.right;if(O===this)z.right=this.right;else{var F=this.left,B=this.right;O.count-=z.count,O.right=z.left,z.left=F,z.right=B}h(this,z),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?h(this,this.left):h(this,this.right);return 1}for(F=u.ge(this.leftPoints,R,E);Fthis.mid?this.right&&(O=this.right.queryPoint(R,I))?O:C(this.rightPoints,R,I):_(this.leftPoints,I);var O},s.queryInterval=function(R,I,O){var z;return Rthis.mid&&this.right&&(z=this.right.queryInterval(R,I,O))?z:Ithis.mid?C(this.rightPoints,R,O):_(this.leftPoints,O)};var b=L.prototype;b.insert=function(R){this.root?this.root.insert(R):this.root=new o(R[0],null,null,[R],[R])},b.remove=function(R){if(this.root){var I=this.root.remove(R);return I===2&&(this.root=null),I!==0}return!1},b.queryPoint=function(R,I){if(this.root)return this.root.queryPoint(R,I)},b.queryInterval=function(R,I,O){if(R<=I&&this.root)return this.root.queryInterval(R,I,O)},Object.defineProperty(b,"count",{get:function(){return this.root?this.root.count:0}}),Object.defineProperty(b,"intervals",{get:function(){return this.root?this.root.intervals([]):[]}})},9560:function(f){f.exports=function(l){for(var a=new Array(l),u=0;u13)&&a!==32&&a!==133&&a!==160&&a!==5760&&a!==6158&&(a<8192||a>8205)&&a!==8232&&a!==8233&&a!==8239&&a!==8287&&a!==8288&&a!==12288&&a!==65279)return!1;return!0}},3578:function(f){f.exports=function(l,a,u){return l*(1-u)+a*u}},7191:function(f,l,a){var u=a(4690),o=a(9823),s=a(7332),h=a(7787),c=a(7437),m=a(2142),w={length:a(4693),normalize:a(899),dot:a(9305),cross:a(903)},y=o(),C=o(),_=[0,0,0,0],k=[[0,0,0],[0,0,0],[0,0,0]],E=[0,0,0];function x(A,L,b,R,I){A[0]=L[0]*R+b[0]*I,A[1]=L[1]*R+b[1]*I,A[2]=L[2]*R+b[2]*I}f.exports=function(A,L,b,R,I,O){if(L||(L=[0,0,0]),b||(b=[0,0,0]),R||(R=[0,0,0]),I||(I=[0,0,0,1]),O||(O=[0,0,0,1]),!u(y,A)||(s(C,y),C[3]=0,C[7]=0,C[11]=0,C[15]=1,Math.abs(h(C)<1e-8)))return!1;var z,F,B,N,W,j,$,U=y[3],G=y[7],q=y[11],H=y[12],ne=y[13],te=y[14],Z=y[15];if(U!==0||G!==0||q!==0){if(_[0]=U,_[1]=G,_[2]=q,_[3]=Z,!c(C,C))return!1;m(C,C),z=I,B=C,N=(F=_)[0],W=F[1],j=F[2],$=F[3],z[0]=B[0]*N+B[4]*W+B[8]*j+B[12]*$,z[1]=B[1]*N+B[5]*W+B[9]*j+B[13]*$,z[2]=B[2]*N+B[6]*W+B[10]*j+B[14]*$,z[3]=B[3]*N+B[7]*W+B[11]*j+B[15]*$}else I[0]=I[1]=I[2]=0,I[3]=1;if(L[0]=H,L[1]=ne,L[2]=te,function(Q,re){Q[0][0]=re[0],Q[0][1]=re[1],Q[0][2]=re[2],Q[1][0]=re[4],Q[1][1]=re[5],Q[1][2]=re[6],Q[2][0]=re[8],Q[2][1]=re[9],Q[2][2]=re[10]}(k,y),b[0]=w.length(k[0]),w.normalize(k[0],k[0]),R[0]=w.dot(k[0],k[1]),x(k[1],k[1],k[0],1,-R[0]),b[1]=w.length(k[1]),w.normalize(k[1],k[1]),R[0]/=b[1],R[1]=w.dot(k[0],k[2]),x(k[2],k[2],k[0],1,-R[1]),R[2]=w.dot(k[1],k[2]),x(k[2],k[2],k[1],1,-R[2]),b[2]=w.length(k[2]),w.normalize(k[2],k[2]),R[1]/=b[2],R[2]/=b[2],w.cross(E,k[1],k[2]),w.dot(k[0],E)<0)for(var X=0;X<3;X++)b[X]*=-1,k[X][0]*=-1,k[X][1]*=-1,k[X][2]*=-1;return O[0]=.5*Math.sqrt(Math.max(1+k[0][0]-k[1][1]-k[2][2],0)),O[1]=.5*Math.sqrt(Math.max(1-k[0][0]+k[1][1]-k[2][2],0)),O[2]=.5*Math.sqrt(Math.max(1-k[0][0]-k[1][1]+k[2][2],0)),O[3]=.5*Math.sqrt(Math.max(1+k[0][0]+k[1][1]+k[2][2],0)),k[2][1]>k[1][2]&&(O[0]=-O[0]),k[0][2]>k[2][0]&&(O[1]=-O[1]),k[1][0]>k[0][1]&&(O[2]=-O[2]),!0}},4690:function(f){f.exports=function(l,a){var u=a[15];if(u===0)return!1;for(var o=1/u,s=0;s<16;s++)l[s]=a[s]*o;return!0}},7649:function(f,l,a){var u=a(1868),o=a(1102),s=a(7191),h=a(7787),c=a(1116),m=C(),w=C(),y=C();function C(){return{translate:_(),scale:_(1),skew:_(),perspective:[0,0,0,1],quaternion:[0,0,0,1]}}function _(k){return[k||0,k||0,k||0]}f.exports=function(k,E,x,A){if(h(E)===0||h(x)===0)return!1;var L=s(E,m.translate,m.scale,m.skew,m.perspective,m.quaternion),b=s(x,w.translate,w.scale,w.skew,w.perspective,w.quaternion);return!(!L||!b||(u(y.translate,m.translate,w.translate,A),u(y.skew,m.skew,w.skew,A),u(y.scale,m.scale,w.scale,A),u(y.perspective,m.perspective,w.perspective,A),c(y.quaternion,m.quaternion,w.quaternion,A),o(k,y.translate,y.scale,y.skew,y.perspective,y.quaternion),0))}},1102:function(f,l,a){var u={identity:a(9947),translate:a(998),multiply:a(104),create:a(9823),scale:a(3668),fromRotationTranslation:a(7280)},o=(u.create(),u.create());f.exports=function(s,h,c,m,w,y){return u.identity(s),u.fromRotationTranslation(s,y,h),s[3]=w[0],s[7]=w[1],s[11]=w[2],s[15]=w[3],u.identity(o),m[2]!==0&&(o[9]=m[2],u.multiply(s,s,o)),m[1]!==0&&(o[9]=0,o[8]=m[1],u.multiply(s,s,o)),m[0]!==0&&(o[8]=0,o[4]=m[0],u.multiply(s,s,o)),u.scale(s,s,c),s}},9298:function(f,l,a){var u=a(5070),o=a(7649),s=a(7437),h=a(6109),c=a(7115),m=a(5240),w=a(3012),y=a(998),C=(a(3668),a(899)),_=[0,0,0];function k(A){this._components=A.slice(),this._time=[0],this.prevMatrix=A.slice(),this.nextMatrix=A.slice(),this.computedMatrix=A.slice(),this.computedInverse=A.slice(),this.computedEye=[0,0,0],this.computedUp=[0,0,0],this.computedCenter=[0,0,0],this.computedRadius=[0],this._limits=[-1/0,1/0]}f.exports=function(A){return new k((A=A||{}).matrix||[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1])};var E=k.prototype;E.recalcMatrix=function(A){var L=this._time,b=u.le(L,A),R=this.computedMatrix;if(!(b<0)){var I=this._components;if(b===L.length-1)for(var O=16*b,z=0;z<16;++z)R[z]=I[O++];else{var F=L[b+1]-L[b],B=(O=16*b,this.prevMatrix),N=!0;for(z=0;z<16;++z)B[z]=I[O++];var W=this.nextMatrix;for(z=0;z<16;++z)W[z]=I[O++],N=N&&B[z]===W[z];if(F<1e-6||N)for(z=0;z<16;++z)R[z]=B[z];else o(R,B,W,(A-L[b])/F)}var j=this.computedUp;j[0]=R[1],j[1]=R[5],j[2]=R[9],C(j,j);var $=this.computedInverse;s($,R);var U=this.computedEye,G=$[15];U[0]=$[12]/G,U[1]=$[13]/G,U[2]=$[14]/G;var q=this.computedCenter,H=Math.exp(this.computedRadius[0]);for(z=0;z<3;++z)q[z]=U[z]-R[2+4*z]*H}},E.idle=function(A){if(!(A1&&u(o[w[k-2]],o[w[k-1]],_)<=0;)k-=1,w.pop();for(w.push(C),k=y.length;k>1&&u(o[y[k-2]],o[y[k-1]],_)>=0;)k-=1,y.pop();y.push(C)}h=new Array(y.length+w.length-2);for(var E=0,x=(c=0,w.length);c0;--A)h[E++]=y[A];return h};var u=a(417)[3]},6145:function(f,l,a){f.exports=function(o,s){s||(s=o,o=window);var h=0,c=0,m=0,w={shift:!1,alt:!1,control:!1,meta:!1},y=!1;function C(O){var z=!1;return"altKey"in O&&(z=z||O.altKey!==w.alt,w.alt=!!O.altKey),"shiftKey"in O&&(z=z||O.shiftKey!==w.shift,w.shift=!!O.shiftKey),"ctrlKey"in O&&(z=z||O.ctrlKey!==w.control,w.control=!!O.ctrlKey),"metaKey"in O&&(z=z||O.metaKey!==w.meta,w.meta=!!O.metaKey),z}function _(O,z){var F=u.x(z),B=u.y(z);"buttons"in z&&(O=0|z.buttons),(O!==h||F!==c||B!==m||C(z))&&(h=0|O,c=F||0,m=B||0,s&&s(h,c,m,w))}function k(O){_(0,O)}function E(){(h||c||m||w.shift||w.alt||w.meta||w.control)&&(c=m=0,h=0,w.shift=w.alt=w.control=w.meta=!1,s&&s(0,0,0,w))}function x(O){C(O)&&s&&s(h,c,m,w)}function A(O){u.buttons(O)===0?_(0,O):_(h,O)}function L(O){_(h|u.buttons(O),O)}function b(O){_(h&~u.buttons(O),O)}function R(){y||(y=!0,o.addEventListener("mousemove",A),o.addEventListener("mousedown",L),o.addEventListener("mouseup",b),o.addEventListener("mouseleave",k),o.addEventListener("mouseenter",k),o.addEventListener("mouseout",k),o.addEventListener("mouseover",k),o.addEventListener("blur",E),o.addEventListener("keyup",x),o.addEventListener("keydown",x),o.addEventListener("keypress",x),o!==window&&(window.addEventListener("blur",E),window.addEventListener("keyup",x),window.addEventListener("keydown",x),window.addEventListener("keypress",x)))}R();var I={element:o};return Object.defineProperties(I,{enabled:{get:function(){return y},set:function(O){O?R():y&&(y=!1,o.removeEventListener("mousemove",A),o.removeEventListener("mousedown",L),o.removeEventListener("mouseup",b),o.removeEventListener("mouseleave",k),o.removeEventListener("mouseenter",k),o.removeEventListener("mouseout",k),o.removeEventListener("mouseover",k),o.removeEventListener("blur",E),o.removeEventListener("keyup",x),o.removeEventListener("keydown",x),o.removeEventListener("keypress",x),o!==window&&(window.removeEventListener("blur",E),window.removeEventListener("keyup",x),window.removeEventListener("keydown",x),window.removeEventListener("keypress",x)))},enumerable:!0},buttons:{get:function(){return h},enumerable:!0},x:{get:function(){return c},enumerable:!0},y:{get:function(){return m},enumerable:!0},mods:{get:function(){return w},enumerable:!0}}),I};var u=a(4110)},2565:function(f){var l={left:0,top:0};f.exports=function(a,u,o){u=u||a.currentTarget||a.srcElement,Array.isArray(o)||(o=[0,0]);var s,h=a.clientX||0,c=a.clientY||0,m=(s=u)===window||s===document||s===document.body?l:s.getBoundingClientRect();return o[0]=h-m.left,o[1]=c-m.top,o}},4110:function(f,l){function a(u){return u.target||u.srcElement||window}l.buttons=function(u){if(typeof u=="object"){if("buttons"in u)return u.buttons;if("which"in u){if((o=u.which)===2)return 4;if(o===3)return 2;if(o>0)return 1<=0)return 1< 0"),typeof s.vertex!="function"&&h("Must specify vertex creation function"),typeof s.cell!="function"&&h("Must specify cell creation function"),typeof s.phase!="function"&&h("Must specify phase function");for(var w=s.getters||[],y=new Array(m),C=0;C=0?y[C]=!0:y[C]=!1;return function(_,k,E,x,A,L){var b=[L,A].join(",");return(0,o[b])(_,k,E,u.mallocUint32,u.freeUint32)}(s.vertex,s.cell,s.phase,0,c,y)};var o={"false,0,1":function(s,h,c,m,w){return function(y,C,_,k){var E,x=0|y.shape[0],A=0|y.shape[1],L=y.data,b=0|y.offset,R=0|y.stride[0],I=0|y.stride[1],O=b,z=0|-R,F=0,B=0|-I,N=0,W=-R-I|0,j=0,$=0|R,U=I-R*x|0,G=0,q=0,H=0,ne=2*x|0,te=m(ne),Z=m(ne),X=0,Q=0,re=-1,ie=-1,oe=0,ue=0|-x,ce=0|x,ye=0,de=-x-1|0,me=x-1|0,pe=0,xe=0,Pe=0;for(G=0;G0){if(q=1,te[X++]=c(L[O],C,_,k),O+=$,x>0)for(G=1,E=L[O],Q=te[X]=c(E,C,_,k),oe=te[X+re],ye=te[X+ue],pe=te[X+de],Q===oe&&Q===ye&&Q===pe||(F=L[O+z],N=L[O+B],j=L[O+W],s(G,q,E,F,N,j,Q,oe,ye,pe,C,_,k),xe=Z[X]=H++),X+=1,O+=$,G=2;G0)for(G=1,E=L[O],Q=te[X]=c(E,C,_,k),oe=te[X+re],ye=te[X+ue],pe=te[X+de],Q===oe&&Q===ye&&Q===pe||(F=L[O+z],N=L[O+B],j=L[O+W],s(G,q,E,F,N,j,Q,oe,ye,pe,C,_,k),xe=Z[X]=H++,pe!==ye&&h(Z[X+ue],xe,N,j,ye,pe,C,_,k)),X+=1,O+=$,G=2;G0){if(G=1,te[X++]=c(L[O],C,_,k),O+=$,A>0)for(q=1,E=L[O],Q=te[X]=c(E,C,_,k),ye=te[X+ue],oe=te[X+re],pe=te[X+de],Q===ye&&Q===oe&&Q===pe||(F=L[O+z],N=L[O+B],j=L[O+W],s(G,q,E,F,N,j,Q,ye,oe,pe,C,_,k),xe=Z[X]=H++),X+=1,O+=$,q=2;q0)for(q=1,E=L[O],Q=te[X]=c(E,C,_,k),ye=te[X+ue],oe=te[X+re],pe=te[X+de],Q===ye&&Q===oe&&Q===pe||(F=L[O+z],N=L[O+B],j=L[O+W],s(G,q,E,F,N,j,Q,ye,oe,pe,C,_,k),xe=Z[X]=H++,pe!==ye&&h(Z[X+ue],xe,j,F,pe,ye,C,_,k)),X+=1,O+=$,q=2;q2&&O[1]>2&&b(I.pick(-1,-1).lo(1,1).hi(O[0]-2,O[1]-2),R.pick(-1,-1,0).lo(1,1).hi(O[0]-2,O[1]-2),R.pick(-1,-1,1).lo(1,1).hi(O[0]-2,O[1]-2)),O[1]>2&&(L(I.pick(0,-1).lo(1).hi(O[1]-2),R.pick(0,-1,1).lo(1).hi(O[1]-2)),A(R.pick(0,-1,0).lo(1).hi(O[1]-2))),O[1]>2&&(L(I.pick(O[0]-1,-1).lo(1).hi(O[1]-2),R.pick(O[0]-1,-1,1).lo(1).hi(O[1]-2)),A(R.pick(O[0]-1,-1,0).lo(1).hi(O[1]-2))),O[0]>2&&(L(I.pick(-1,0).lo(1).hi(O[0]-2),R.pick(-1,0,0).lo(1).hi(O[0]-2)),A(R.pick(-1,0,1).lo(1).hi(O[0]-2))),O[0]>2&&(L(I.pick(-1,O[1]-1).lo(1).hi(O[0]-2),R.pick(-1,O[1]-1,0).lo(1).hi(O[0]-2)),A(R.pick(-1,O[1]-1,1).lo(1).hi(O[0]-2))),R.set(0,0,0,0),R.set(0,0,1,0),R.set(O[0]-1,0,0,0),R.set(O[0]-1,0,1,0),R.set(0,O[1]-1,0,0),R.set(0,O[1]-1,1,0),R.set(O[0]-1,O[1]-1,0,0),R.set(O[0]-1,O[1]-1,1,0),R}}f.exports=function(x,A,L){return Array.isArray(L)||(L=u(A.dimension,typeof L=="string"?L:"clamp")),A.size===0?x:A.dimension===0?(x.set(0),x):function(b){var R=b.join();if(F=y[R])return F;for(var I=b.length,O=[C,_],z=1;z<=I;++z)O.push(k(z));var F=E.apply(void 0,O);return y[R]=F,F}(L)(x,A)}},3581:function(f){function l(s,h){var c=Math.floor(h),m=h-c,w=0<=c&&c0;){W<64?(x=W,W=0):(x=64,W-=64);for(var j=0|c[1];j>0;){j<64?(A=j,j=0):(A=64,j-=64),y=B+W*b+j*R,k=N+W*O+j*z;var $=0,U=0,G=0,q=I,H=b-L*I,ne=R-x*b,te=F,Z=O-L*F,X=z-x*O;for(G=0;G0;){z<64?(x=z,z=0):(x=64,z-=64);for(var F=0|c[0];F>0;){F<64?(E=F,F=0):(E=64,F-=64),y=I+z*L+F*A,k=O+z*R+F*b;var B=0,N=0,W=L,j=A-x*L,$=R,U=b-x*R;for(N=0;N0;){N<64?(A=N,N=0):(A=64,N-=64);for(var W=0|c[0];W>0;){W<64?(E=W,W=0):(E=64,W-=64);for(var j=0|c[1];j>0;){j<64?(x=j,j=0):(x=64,j-=64),y=F+N*R+W*L+j*b,k=B+N*z+W*I+j*O;var $=0,U=0,G=0,q=R,H=L-A*R,ne=b-E*L,te=z,Z=I-A*z,X=O-E*I;for(G=0;Gy;){N=0,W=F-E;t:for(B=0;B$)break t;W+=R,N+=I}for(N=F,W=F-E,B=0;B>1,Ce=Se-Pe,ae=Se+Pe,fe=_e,be=Ce,ke=Se,Le=ae,Be=Me,ze=_+1,je=k-1,ge=!0,we=0,Ee=0,Ve=0,$e=R,Ye=w($e),st=w($e);ne=A*fe,te=A*be,xe=x;e:for(H=0;H0){B=fe,fe=be,be=B;break e}if(Ve<0)break e;xe+=O}ne=A*Le,te=A*Be,xe=x;e:for(H=0;H0){B=Le,Le=Be,Be=B;break e}if(Ve<0)break e;xe+=O}ne=A*fe,te=A*ke,xe=x;e:for(H=0;H0){B=fe,fe=ke,ke=B;break e}if(Ve<0)break e;xe+=O}ne=A*be,te=A*ke,xe=x;e:for(H=0;H0){B=be,be=ke,ke=B;break e}if(Ve<0)break e;xe+=O}ne=A*fe,te=A*Le,xe=x;e:for(H=0;H0){B=fe,fe=Le,Le=B;break e}if(Ve<0)break e;xe+=O}ne=A*ke,te=A*Le,xe=x;e:for(H=0;H0){B=ke,ke=Le,Le=B;break e}if(Ve<0)break e;xe+=O}ne=A*be,te=A*Be,xe=x;e:for(H=0;H0){B=be,be=Be,Be=B;break e}if(Ve<0)break e;xe+=O}ne=A*be,te=A*ke,xe=x;e:for(H=0;H0){B=be,be=ke,ke=B;break e}if(Ve<0)break e;xe+=O}ne=A*Le,te=A*Be,xe=x;e:for(H=0;H0){B=Le,Le=Be,Be=B;break e}if(Ve<0)break e;xe+=O}for(ne=A*fe,te=A*be,Z=A*ke,X=A*Le,Q=A*Be,re=A*_e,ie=A*Se,oe=A*Me,pe=0,xe=x,H=0;H0)){if(Ve<0){for(ne=A*$,te=A*ze,Z=A*je,xe=x,H=0;H0)for(;;){for(U=x+je*A,pe=0,H=0;H0)){for(U=x+je*A,pe=0,H=0;HMe){e:for(;;){for(U=x+ze*A,pe=0,xe=x,H=0;H1&&L?R(A,L[0],L[1]):R(A)}(m,w,_);return C(_,k)}},8729:function(f,l,a){var u=a(8139),o={};f.exports=function(s){var h=s.order,c=s.dtype,m=[h,c].join(":"),w=o[m];return w||(o[m]=w=u(h,c)),w(s),s}},5050:function(f,l,a){var u=a(4780),o=typeof Float64Array<"u";function s(y,C){return y[0]-C[0]}function h(){var y,C=this.stride,_=new Array(C.length);for(y=0;y<_.length;++y)_[y]=[Math.abs(C[y]),y];_.sort(s);var k=new Array(_.length);for(y=0;y=0&&(A+=R*(L=0|x),b-=L),new k(this.data,b,R,A)},E.step=function(x){var A=this.shape[0],L=this.stride[0],b=this.offset,R=0,I=Math.ceil;return typeof x=="number"&&((R=0|x)<0?(b+=L*(A-1),A=I(-A/R)):A=I(A/R),L*=R),new k(this.data,A,L,b)},E.transpose=function(x){x=x===void 0?0:0|x;var A=this.shape,L=this.stride;return new k(this.data,A[x],L[x],this.offset)},E.pick=function(x){var A=[],L=[],b=this.offset;return typeof x=="number"&&x>=0?b=b+this.stride[0]*x|0:(A.push(this.shape[0]),L.push(this.stride[0])),(0,C[A.length+1])(this.data,A,L,b)},function(x,A,L,b){return new k(x,A[0],L[0],b)}},2:function(y,C,_){function k(x,A,L,b,R,I){this.data=x,this.shape=[A,L],this.stride=[b,R],this.offset=0|I}var E=k.prototype;return E.dtype=y,E.dimension=2,Object.defineProperty(E,"size",{get:function(){return this.shape[0]*this.shape[1]}}),Object.defineProperty(E,"order",{get:function(){return Math.abs(this.stride[0])>Math.abs(this.stride[1])?[1,0]:[0,1]}}),E.set=function(x,A,L){return y==="generic"?this.data.set(this.offset+this.stride[0]*x+this.stride[1]*A,L):this.data[this.offset+this.stride[0]*x+this.stride[1]*A]=L},E.get=function(x,A){return y==="generic"?this.data.get(this.offset+this.stride[0]*x+this.stride[1]*A):this.data[this.offset+this.stride[0]*x+this.stride[1]*A]},E.index=function(x,A){return this.offset+this.stride[0]*x+this.stride[1]*A},E.hi=function(x,A){return new k(this.data,typeof x!="number"||x<0?this.shape[0]:0|x,typeof A!="number"||A<0?this.shape[1]:0|A,this.stride[0],this.stride[1],this.offset)},E.lo=function(x,A){var L=this.offset,b=0,R=this.shape[0],I=this.shape[1],O=this.stride[0],z=this.stride[1];return typeof x=="number"&&x>=0&&(L+=O*(b=0|x),R-=b),typeof A=="number"&&A>=0&&(L+=z*(b=0|A),I-=b),new k(this.data,R,I,O,z,L)},E.step=function(x,A){var L=this.shape[0],b=this.shape[1],R=this.stride[0],I=this.stride[1],O=this.offset,z=0,F=Math.ceil;return typeof x=="number"&&((z=0|x)<0?(O+=R*(L-1),L=F(-L/z)):L=F(L/z),R*=z),typeof A=="number"&&((z=0|A)<0?(O+=I*(b-1),b=F(-b/z)):b=F(b/z),I*=z),new k(this.data,L,b,R,I,O)},E.transpose=function(x,A){x=x===void 0?0:0|x,A=A===void 0?1:0|A;var L=this.shape,b=this.stride;return new k(this.data,L[x],L[A],b[x],b[A],this.offset)},E.pick=function(x,A){var L=[],b=[],R=this.offset;return typeof x=="number"&&x>=0?R=R+this.stride[0]*x|0:(L.push(this.shape[0]),b.push(this.stride[0])),typeof A=="number"&&A>=0?R=R+this.stride[1]*A|0:(L.push(this.shape[1]),b.push(this.stride[1])),(0,C[L.length+1])(this.data,L,b,R)},function(x,A,L,b){return new k(x,A[0],A[1],L[0],L[1],b)}},3:function(y,C,_){function k(x,A,L,b,R,I,O,z){this.data=x,this.shape=[A,L,b],this.stride=[R,I,O],this.offset=0|z}var E=k.prototype;return E.dtype=y,E.dimension=3,Object.defineProperty(E,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]}}),Object.defineProperty(E,"order",{get:function(){var x=Math.abs(this.stride[0]),A=Math.abs(this.stride[1]),L=Math.abs(this.stride[2]);return x>A?A>L?[2,1,0]:x>L?[1,2,0]:[1,0,2]:x>L?[2,0,1]:L>A?[0,1,2]:[0,2,1]}}),E.set=function(x,A,L,b){return y==="generic"?this.data.set(this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L,b):this.data[this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L]=b},E.get=function(x,A,L){return y==="generic"?this.data.get(this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L):this.data[this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L]},E.index=function(x,A,L){return this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L},E.hi=function(x,A,L){return new k(this.data,typeof x!="number"||x<0?this.shape[0]:0|x,typeof A!="number"||A<0?this.shape[1]:0|A,typeof L!="number"||L<0?this.shape[2]:0|L,this.stride[0],this.stride[1],this.stride[2],this.offset)},E.lo=function(x,A,L){var b=this.offset,R=0,I=this.shape[0],O=this.shape[1],z=this.shape[2],F=this.stride[0],B=this.stride[1],N=this.stride[2];return typeof x=="number"&&x>=0&&(b+=F*(R=0|x),I-=R),typeof A=="number"&&A>=0&&(b+=B*(R=0|A),O-=R),typeof L=="number"&&L>=0&&(b+=N*(R=0|L),z-=R),new k(this.data,I,O,z,F,B,N,b)},E.step=function(x,A,L){var b=this.shape[0],R=this.shape[1],I=this.shape[2],O=this.stride[0],z=this.stride[1],F=this.stride[2],B=this.offset,N=0,W=Math.ceil;return typeof x=="number"&&((N=0|x)<0?(B+=O*(b-1),b=W(-b/N)):b=W(b/N),O*=N),typeof A=="number"&&((N=0|A)<0?(B+=z*(R-1),R=W(-R/N)):R=W(R/N),z*=N),typeof L=="number"&&((N=0|L)<0?(B+=F*(I-1),I=W(-I/N)):I=W(I/N),F*=N),new k(this.data,b,R,I,O,z,F,B)},E.transpose=function(x,A,L){x=x===void 0?0:0|x,A=A===void 0?1:0|A,L=L===void 0?2:0|L;var b=this.shape,R=this.stride;return new k(this.data,b[x],b[A],b[L],R[x],R[A],R[L],this.offset)},E.pick=function(x,A,L){var b=[],R=[],I=this.offset;return typeof x=="number"&&x>=0?I=I+this.stride[0]*x|0:(b.push(this.shape[0]),R.push(this.stride[0])),typeof A=="number"&&A>=0?I=I+this.stride[1]*A|0:(b.push(this.shape[1]),R.push(this.stride[1])),typeof L=="number"&&L>=0?I=I+this.stride[2]*L|0:(b.push(this.shape[2]),R.push(this.stride[2])),(0,C[b.length+1])(this.data,b,R,I)},function(x,A,L,b){return new k(x,A[0],A[1],A[2],L[0],L[1],L[2],b)}},4:function(y,C,_){function k(x,A,L,b,R,I,O,z,F,B){this.data=x,this.shape=[A,L,b,R],this.stride=[I,O,z,F],this.offset=0|B}var E=k.prototype;return E.dtype=y,E.dimension=4,Object.defineProperty(E,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]*this.shape[3]}}),Object.defineProperty(E,"order",{get:_}),E.set=function(x,A,L,b,R){return y==="generic"?this.data.set(this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b,R):this.data[this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b]=R},E.get=function(x,A,L,b){return y==="generic"?this.data.get(this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b):this.data[this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b]},E.index=function(x,A,L,b){return this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b},E.hi=function(x,A,L,b){return new k(this.data,typeof x!="number"||x<0?this.shape[0]:0|x,typeof A!="number"||A<0?this.shape[1]:0|A,typeof L!="number"||L<0?this.shape[2]:0|L,typeof b!="number"||b<0?this.shape[3]:0|b,this.stride[0],this.stride[1],this.stride[2],this.stride[3],this.offset)},E.lo=function(x,A,L,b){var R=this.offset,I=0,O=this.shape[0],z=this.shape[1],F=this.shape[2],B=this.shape[3],N=this.stride[0],W=this.stride[1],j=this.stride[2],$=this.stride[3];return typeof x=="number"&&x>=0&&(R+=N*(I=0|x),O-=I),typeof A=="number"&&A>=0&&(R+=W*(I=0|A),z-=I),typeof L=="number"&&L>=0&&(R+=j*(I=0|L),F-=I),typeof b=="number"&&b>=0&&(R+=$*(I=0|b),B-=I),new k(this.data,O,z,F,B,N,W,j,$,R)},E.step=function(x,A,L,b){var R=this.shape[0],I=this.shape[1],O=this.shape[2],z=this.shape[3],F=this.stride[0],B=this.stride[1],N=this.stride[2],W=this.stride[3],j=this.offset,$=0,U=Math.ceil;return typeof x=="number"&&(($=0|x)<0?(j+=F*(R-1),R=U(-R/$)):R=U(R/$),F*=$),typeof A=="number"&&(($=0|A)<0?(j+=B*(I-1),I=U(-I/$)):I=U(I/$),B*=$),typeof L=="number"&&(($=0|L)<0?(j+=N*(O-1),O=U(-O/$)):O=U(O/$),N*=$),typeof b=="number"&&(($=0|b)<0?(j+=W*(z-1),z=U(-z/$)):z=U(z/$),W*=$),new k(this.data,R,I,O,z,F,B,N,W,j)},E.transpose=function(x,A,L,b){x=x===void 0?0:0|x,A=A===void 0?1:0|A,L=L===void 0?2:0|L,b=b===void 0?3:0|b;var R=this.shape,I=this.stride;return new k(this.data,R[x],R[A],R[L],R[b],I[x],I[A],I[L],I[b],this.offset)},E.pick=function(x,A,L,b){var R=[],I=[],O=this.offset;return typeof x=="number"&&x>=0?O=O+this.stride[0]*x|0:(R.push(this.shape[0]),I.push(this.stride[0])),typeof A=="number"&&A>=0?O=O+this.stride[1]*A|0:(R.push(this.shape[1]),I.push(this.stride[1])),typeof L=="number"&&L>=0?O=O+this.stride[2]*L|0:(R.push(this.shape[2]),I.push(this.stride[2])),typeof b=="number"&&b>=0?O=O+this.stride[3]*b|0:(R.push(this.shape[3]),I.push(this.stride[3])),(0,C[R.length+1])(this.data,R,I,O)},function(x,A,L,b){return new k(x,A[0],A[1],A[2],A[3],L[0],L[1],L[2],L[3],b)}},5:function(y,C,_){function k(x,A,L,b,R,I,O,z,F,B,N,W){this.data=x,this.shape=[A,L,b,R,I],this.stride=[O,z,F,B,N],this.offset=0|W}var E=k.prototype;return E.dtype=y,E.dimension=5,Object.defineProperty(E,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]*this.shape[3]*this.shape[4]}}),Object.defineProperty(E,"order",{get:_}),E.set=function(x,A,L,b,R,I){return y==="generic"?this.data.set(this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*R,I):this.data[this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*R]=I},E.get=function(x,A,L,b,R){return y==="generic"?this.data.get(this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*R):this.data[this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*R]},E.index=function(x,A,L,b,R){return this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*R},E.hi=function(x,A,L,b,R){return new k(this.data,typeof x!="number"||x<0?this.shape[0]:0|x,typeof A!="number"||A<0?this.shape[1]:0|A,typeof L!="number"||L<0?this.shape[2]:0|L,typeof b!="number"||b<0?this.shape[3]:0|b,typeof R!="number"||R<0?this.shape[4]:0|R,this.stride[0],this.stride[1],this.stride[2],this.stride[3],this.stride[4],this.offset)},E.lo=function(x,A,L,b,R){var I=this.offset,O=0,z=this.shape[0],F=this.shape[1],B=this.shape[2],N=this.shape[3],W=this.shape[4],j=this.stride[0],$=this.stride[1],U=this.stride[2],G=this.stride[3],q=this.stride[4];return typeof x=="number"&&x>=0&&(I+=j*(O=0|x),z-=O),typeof A=="number"&&A>=0&&(I+=$*(O=0|A),F-=O),typeof L=="number"&&L>=0&&(I+=U*(O=0|L),B-=O),typeof b=="number"&&b>=0&&(I+=G*(O=0|b),N-=O),typeof R=="number"&&R>=0&&(I+=q*(O=0|R),W-=O),new k(this.data,z,F,B,N,W,j,$,U,G,q,I)},E.step=function(x,A,L,b,R){var I=this.shape[0],O=this.shape[1],z=this.shape[2],F=this.shape[3],B=this.shape[4],N=this.stride[0],W=this.stride[1],j=this.stride[2],$=this.stride[3],U=this.stride[4],G=this.offset,q=0,H=Math.ceil;return typeof x=="number"&&((q=0|x)<0?(G+=N*(I-1),I=H(-I/q)):I=H(I/q),N*=q),typeof A=="number"&&((q=0|A)<0?(G+=W*(O-1),O=H(-O/q)):O=H(O/q),W*=q),typeof L=="number"&&((q=0|L)<0?(G+=j*(z-1),z=H(-z/q)):z=H(z/q),j*=q),typeof b=="number"&&((q=0|b)<0?(G+=$*(F-1),F=H(-F/q)):F=H(F/q),$*=q),typeof R=="number"&&((q=0|R)<0?(G+=U*(B-1),B=H(-B/q)):B=H(B/q),U*=q),new k(this.data,I,O,z,F,B,N,W,j,$,U,G)},E.transpose=function(x,A,L,b,R){x=x===void 0?0:0|x,A=A===void 0?1:0|A,L=L===void 0?2:0|L,b=b===void 0?3:0|b,R=R===void 0?4:0|R;var I=this.shape,O=this.stride;return new k(this.data,I[x],I[A],I[L],I[b],I[R],O[x],O[A],O[L],O[b],O[R],this.offset)},E.pick=function(x,A,L,b,R){var I=[],O=[],z=this.offset;return typeof x=="number"&&x>=0?z=z+this.stride[0]*x|0:(I.push(this.shape[0]),O.push(this.stride[0])),typeof A=="number"&&A>=0?z=z+this.stride[1]*A|0:(I.push(this.shape[1]),O.push(this.stride[1])),typeof L=="number"&&L>=0?z=z+this.stride[2]*L|0:(I.push(this.shape[2]),O.push(this.stride[2])),typeof b=="number"&&b>=0?z=z+this.stride[3]*b|0:(I.push(this.shape[3]),O.push(this.stride[3])),typeof R=="number"&&R>=0?z=z+this.stride[4]*R|0:(I.push(this.shape[4]),O.push(this.stride[4])),(0,C[I.length+1])(this.data,I,O,z)},function(x,A,L,b){return new k(x,A[0],A[1],A[2],A[3],A[4],L[0],L[1],L[2],L[3],L[4],b)}}};function m(y,C){var _=C===-1?"T":String(C),k=c[_];return C===-1?k(y):C===0?k(y,w[y][0]):k(y,w[y],h)}var w={generic:[],buffer:[],array:[],float32:[],float64:[],int8:[],int16:[],int32:[],uint8_clamped:[],uint8:[],uint16:[],uint32:[],bigint64:[],biguint64:[]};f.exports=function(y,C,_,k){if(y===void 0)return(0,w.array[0])([]);typeof y=="number"&&(y=[y]),C===void 0&&(C=[y.length]);var E=C.length;if(_===void 0){_=new Array(E);for(var x=E-1,A=1;x>=0;--x)_[x]=A,A*=C[x]}if(k===void 0)for(k=0,x=0;x>>0;f.exports=function(h,c){if(isNaN(h)||isNaN(c))return NaN;if(h===c)return h;if(h===0)return c<0?-o:o;var m=u.hi(h),w=u.lo(h);return c>h==h>0?w===s?(m+=1,w=0):w+=1:w===0?(w=s,m-=1):w-=1,u.pack(w,m)}},115:function(f,l){l.vertexNormals=function(a,u,o){for(var s=u.length,h=new Array(s),c=o===void 0?1e-6:o,m=0;mc){var z=h[C],F=1/Math.sqrt(b*I);for(O=0;O<3;++O){var B=(O+1)%3,N=(O+2)%3;z[O]+=F*(R[B]*L[N]-R[N]*L[B])}}}for(m=0;mc)for(F=1/Math.sqrt(W),O=0;O<3;++O)z[O]*=F;else for(O=0;O<3;++O)z[O]=0}return h},l.faceNormals=function(a,u,o){for(var s=a.length,h=new Array(s),c=o===void 0?1e-6:o,m=0;mc?1/Math.sqrt(x):0,C=0;C<3;++C)E[C]*=x;h[m]=E}return h}},567:function(f){f.exports=function(l,a,u,o,s,h,c,m,w,y){var C=a+h+y;if(_>0){var _=Math.sqrt(C+1);l[0]=.5*(c-w)/_,l[1]=.5*(m-o)/_,l[2]=.5*(u-h)/_,l[3]=.5*_}else{var k=Math.max(a,h,y);_=Math.sqrt(2*k-C+1),a>=k?(l[0]=.5*_,l[1]=.5*(s+u)/_,l[2]=.5*(m+o)/_,l[3]=.5*(c-w)/_):h>=k?(l[0]=.5*(u+s)/_,l[1]=.5*_,l[2]=.5*(w+c)/_,l[3]=.5*(m-o)/_):(l[0]=.5*(o+m)/_,l[1]=.5*(c+w)/_,l[2]=.5*_,l[3]=.5*(u-s)/_)}return l}},7774:function(f,l,a){f.exports=function(k){var E=(k=k||{}).center||[0,0,0],x=k.rotation||[0,0,0,1],A=k.radius||1;E=[].slice.call(E,0,3),y(x=[].slice.call(x,0,4),x);var L=new C(x,E,Math.log(A));return L.setDistanceLimits(k.zoomMin,k.zoomMax),("eye"in k||"up"in k)&&L.lookAt(0,k.eye,k.center,k.up),L};var u=a(8444),o=a(3012),s=a(5950),h=a(7437),c=a(567);function m(k,E,x){return Math.sqrt(Math.pow(k,2)+Math.pow(E,2)+Math.pow(x,2))}function w(k,E,x,A){return Math.sqrt(Math.pow(k,2)+Math.pow(E,2)+Math.pow(x,2)+Math.pow(A,2))}function y(k,E){var x=E[0],A=E[1],L=E[2],b=E[3],R=w(x,A,L,b);R>1e-6?(k[0]=x/R,k[1]=A/R,k[2]=L/R,k[3]=b/R):(k[0]=k[1]=k[2]=0,k[3]=1)}function C(k,E,x){this.radius=u([x]),this.center=u(E),this.rotation=u(k),this.computedRadius=this.radius.curve(0),this.computedCenter=this.center.curve(0),this.computedRotation=this.rotation.curve(0),this.computedUp=[.1,0,0],this.computedEye=[.1,0,0],this.computedMatrix=[.1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this.recalcMatrix(0)}var _=C.prototype;_.lastT=function(){return Math.max(this.radius.lastT(),this.center.lastT(),this.rotation.lastT())},_.recalcMatrix=function(k){this.radius.curve(k),this.center.curve(k),this.rotation.curve(k);var E=this.computedRotation;y(E,E);var x=this.computedMatrix;s(x,E);var A=this.computedCenter,L=this.computedEye,b=this.computedUp,R=Math.exp(this.computedRadius[0]);L[0]=A[0]+R*x[2],L[1]=A[1]+R*x[6],L[2]=A[2]+R*x[10],b[0]=x[1],b[1]=x[5],b[2]=x[9];for(var I=0;I<3;++I){for(var O=0,z=0;z<3;++z)O+=x[I+4*z]*L[z];x[12+I]=-O}},_.getMatrix=function(k,E){this.recalcMatrix(k);var x=this.computedMatrix;if(E){for(var A=0;A<16;++A)E[A]=x[A];return E}return x},_.idle=function(k){this.center.idle(k),this.radius.idle(k),this.rotation.idle(k)},_.flush=function(k){this.center.flush(k),this.radius.flush(k),this.rotation.flush(k)},_.pan=function(k,E,x,A){E=E||0,x=x||0,A=A||0,this.recalcMatrix(k);var L=this.computedMatrix,b=L[1],R=L[5],I=L[9],O=m(b,R,I);b/=O,R/=O,I/=O;var z=L[0],F=L[4],B=L[8],N=z*b+F*R+B*I,W=m(z-=b*N,F-=R*N,B-=I*N);z/=W,F/=W,B/=W,L[2],L[6],L[10];var j=z*E+b*x,$=F*E+R*x,U=B*E+I*x;this.center.move(k,j,$,U);var G=Math.exp(this.computedRadius[0]);G=Math.max(1e-4,G+A),this.radius.set(k,Math.log(G))},_.rotate=function(k,E,x,A){this.recalcMatrix(k),E=E||0,x=x||0;var L=this.computedMatrix,b=L[0],R=L[4],I=L[8],O=L[1],z=L[5],F=L[9],B=L[2],N=L[6],W=L[10],j=E*b+x*O,$=E*R+x*z,U=E*I+x*F,G=-(N*U-W*$),q=-(W*j-B*U),H=-(B*$-N*j),ne=Math.sqrt(Math.max(0,1-Math.pow(G,2)-Math.pow(q,2)-Math.pow(H,2))),te=w(G,q,H,ne);te>1e-6?(G/=te,q/=te,H/=te,ne/=te):(G=q=H=0,ne=1);var Z=this.computedRotation,X=Z[0],Q=Z[1],re=Z[2],ie=Z[3],oe=X*ne+ie*G+Q*H-re*q,ue=Q*ne+ie*q+re*G-X*H,ce=re*ne+ie*H+X*q-Q*G,ye=ie*ne-X*G-Q*q-re*H;if(A){G=B,q=N,H=W;var de=Math.sin(A)/m(G,q,H);G*=de,q*=de,H*=de,ye=ye*(ne=Math.cos(E))-(oe=oe*ne+ye*G+ue*H-ce*q)*G-(ue=ue*ne+ye*q+ce*G-oe*H)*q-(ce=ce*ne+ye*H+oe*q-ue*G)*H}var me=w(oe,ue,ce,ye);me>1e-6?(oe/=me,ue/=me,ce/=me,ye/=me):(oe=ue=ce=0,ye=1),this.rotation.set(k,oe,ue,ce,ye)},_.lookAt=function(k,E,x,A){this.recalcMatrix(k),x=x||this.computedCenter,E=E||this.computedEye,A=A||this.computedUp;var L=this.computedMatrix;o(L,E,x,A);var b=this.computedRotation;c(b,L[0],L[1],L[2],L[4],L[5],L[6],L[8],L[9],L[10]),y(b,b),this.rotation.set(k,b[0],b[1],b[2],b[3]);for(var R=0,I=0;I<3;++I)R+=Math.pow(x[I]-E[I],2);this.radius.set(k,.5*Math.log(Math.max(R,1e-6))),this.center.set(k,x[0],x[1],x[2])},_.translate=function(k,E,x,A){this.center.move(k,E||0,x||0,A||0)},_.setMatrix=function(k,E){var x=this.computedRotation;c(x,E[0],E[1],E[2],E[4],E[5],E[6],E[8],E[9],E[10]),y(x,x),this.rotation.set(k,x[0],x[1],x[2],x[3]);var A=this.computedMatrix;h(A,E);var L=A[15];if(Math.abs(L)>1e-6){var b=A[12]/L,R=A[13]/L,I=A[14]/L;this.recalcMatrix(k);var O=Math.exp(this.computedRadius[0]);this.center.set(k,b-A[2]*O,R-A[6]*O,I-A[10]*O),this.radius.idle(k)}else this.center.idle(k),this.radius.idle(k)},_.setDistance=function(k,E){E>0&&this.radius.set(k,Math.log(E))},_.setDistanceLimits=function(k,E){k=k>0?Math.log(k):-1/0,E=E>0?Math.log(E):1/0,E=Math.max(E,k),this.radius.bounds[0][0]=k,this.radius.bounds[1][0]=E},_.getDistanceLimits=function(k){var E=this.radius.bounds;return k?(k[0]=Math.exp(E[0][0]),k[1]=Math.exp(E[1][0]),k):[Math.exp(E[0][0]),Math.exp(E[1][0])]},_.toJSON=function(){return this.recalcMatrix(this.lastT()),{center:this.computedCenter.slice(),rotation:this.computedRotation.slice(),distance:Math.log(this.computedRadius[0]),zoomMin:this.radius.bounds[0][0],zoomMax:this.radius.bounds[1][0]}},_.fromJSON=function(k){var E=this.lastT(),x=k.center;x&&this.center.set(E,x[0],x[1],x[2]);var A=k.rotation;A&&this.rotation.set(E,A[0],A[1],A[2],A[3]);var L=k.distance;L&&L>0&&this.radius.set(E,Math.log(L)),this.setDistanceLimits(k.zoomMin,k.zoomMax)}},4930:function(f,l,a){var u=a(6184);f.exports=function(o,s,h){return u(h=h!==void 0?h+"":" ",s)+o}},4405:function(f){f.exports=function(l,a){a||(a=[0,""]),l=String(l);var u=parseFloat(l,10);return a[0]=u,a[1]=l.match(/[\d.\-\+]*\s*(.*)/)[1]||"",a}},4166:function(f,l,a){f.exports=function(o,s){for(var h=0|s.length,c=o.length,m=[new Array(h),new Array(h)],w=0;w0){z=m[N][I][0],B=N;break}F=z[1^B];for(var W=0;W<2;++W)for(var j=m[W][I],$=0;$0&&(z=U,F=G,B=W)}return O||z&&_(z,B),F}function E(R,I){var O=m[I][R][0],z=[R];_(O,I);for(var F=O[1^I];;){for(;F!==R;)z.push(F),F=k(z[z.length-2],F,!1);if(m[0][R].length+m[1][R].length===0)break;var B=z[z.length-1],N=R,W=z[1],j=k(B,N,!0);if(u(s[B],s[N],s[W],s[j])<0)break;z.push(R),F=k(B,N)}return z}function x(R,I){return I[1]===I[I.length-1]}for(w=0;w0;){m[0][w].length;var b=E(w,A);x(0,b)?L.push.apply(L,b):(L.length>0&&C.push(L),L=b)}L.length>0&&C.push(L)}return C};var u=a(9398)},3959:function(f,l,a){f.exports=function(o,s){for(var h=u(o,s.length),c=new Array(s.length),m=new Array(s.length),w=[],y=0;y0;){var _=w.pop();c[_]=!1;var k=h[_];for(y=0;y0})).length,R=new Array(b),I=new Array(b);for(A=0;A0;){var ue=ie.pop(),ce=q[ue];m(ce,function(Pe,_e){return Pe-_e});var ye,de=ce.length,me=oe[ue];if(me===0){var pe=L[ue];ye=[pe]}for(A=0;A=0||(oe[xe]=1^me,ie.push(xe),me===0&&(re(pe=L[xe])||(pe.reverse(),ye.push(pe))))}me===0&&k.push(ye)}return k};var u=a(8348),o=a(4166),s=a(211),h=a(9660),c=a(9662),m=a(1215),w=a(3959);function y(C,_){for(var k=new Array(C),E=0;E0&&N[j]===W[0]))return 1;$=B[j-1]}for(var U=1;$;){var G=$.key,q=u(W,G[0],G[1]);if(G[0][0]0))return 0;U=-1,$=$.right}else if(q>0)$=$.left;else{if(!(q<0))return 0;U=1,$=$.right}}return U}}(z.slabs,z.coordinates);return k.length===0?F:function(B,N){return function(W){return B(W[0],W[1])?0:N(W)}}(m(k),F)};var u=a(417)[3],o=a(4385),s=a(9014),h=a(5070);function c(){return!0}function m(y){for(var C={},_=0;_=y?(N=1,R=y+2*k+x):R=k*(N=-k/y)+x):(N=0,E>=0?(W=0,R=x):-E>=_?(W=1,R=_+2*E+x):R=E*(W=-E/_)+x);else if(W<0)W=0,k>=0?(N=0,R=x):-k>=y?(N=1,R=y+2*k+x):R=k*(N=-k/y)+x;else{var j=1/B;R=(N*=j)*(y*N+C*(W*=j)+2*k)+W*(C*N+_*W+2*E)+x}else N<0?(O=_+E)>(I=C+k)?(z=O-I)>=(F=y-2*C+_)?(N=1,W=0,R=y+2*k+x):R=(N=z/F)*(y*N+C*(W=1-N)+2*k)+W*(C*N+_*W+2*E)+x:(N=0,O<=0?(W=1,R=_+2*E+x):E>=0?(W=0,R=x):R=E*(W=-E/_)+x):W<0?(O=y+k)>(I=C+E)?(z=O-I)>=(F=y-2*C+_)?(W=1,N=0,R=_+2*E+x):R=(N=1-(W=z/F))*(y*N+C*W+2*k)+W*(C*N+_*W+2*E)+x:(W=0,O<=0?(N=1,R=y+2*k+x):k>=0?(N=0,R=x):R=k*(N=-k/y)+x):(z=_+E-C-k)<=0?(N=0,W=1,R=_+2*E+x):z>=(F=y-2*C+_)?(N=1,W=0,R=y+2*k+x):R=(N=z/F)*(y*N+C*(W=1-N)+2*k)+W*(C*N+_*W+2*E)+x;var $=1-N-W;for(w=0;w0){var _=h[m-1];if(u(y,_)===0&&s(_)!==C){m-=1;continue}}h[m++]=y}}return h.length=m,h}},6184:function(f){var l,a="";f.exports=function(u,o){if(typeof u!="string")throw new TypeError("expected a string");if(o===1)return u;if(o===2)return u+u;var s=u.length*o;if(l!==u||l===void 0)l=u,a="";else if(a.length>=s)return a.substr(0,s);for(;s>a.length&&o>1;)1&o&&(a+=u),o>>=1,u+=u;return a=(a+=u).substr(0,s)}},8161:function(f,l,a){f.exports=a.g.performance&&a.g.performance.now?function(){return performance.now()}:Date.now||function(){return+new Date}},402:function(f){f.exports=function(l){for(var a=l.length,u=l[l.length-1],o=a,s=a-2;s>=0;--s){var h=u,c=l[s];(w=c-((u=h+c)-h))&&(l[--o]=u,u=w)}var m=0;for(s=o;s0){if(O<=0)return z;R=I+O}else{if(!(I<0)||O>=0)return z;R=-(I+O)}var F=33306690738754716e-32*R;return z>=F||z<=-F?z:C(A,L,b)},function(A,L,b,R){var I=A[0]-R[0],O=L[0]-R[0],z=b[0]-R[0],F=A[1]-R[1],B=L[1]-R[1],N=b[1]-R[1],W=A[2]-R[2],j=L[2]-R[2],$=b[2]-R[2],U=O*N,G=z*B,q=z*F,H=I*N,ne=I*B,te=O*F,Z=W*(U-G)+j*(q-H)+$*(ne-te),X=7771561172376103e-31*((Math.abs(U)+Math.abs(G))*Math.abs(W)+(Math.abs(q)+Math.abs(H))*Math.abs(j)+(Math.abs(ne)+Math.abs(te))*Math.abs($));return Z>X||-Z>X?Z:_(A,L,b,R)}];function E(A){var L=k[A.length];return L||(L=k[A.length]=y(A.length)),L.apply(void 0,A)}function x(A,L,b,R,I,O,z){return function(F,B,N,W,j){switch(arguments.length){case 0:case 1:return 0;case 2:return R(F,B);case 3:return I(F,B,N);case 4:return O(F,B,N,W);case 5:return z(F,B,N,W,j)}for(var $=new Array(arguments.length),U=0;U0&&w>0||m<0&&w<0)return!1;var y=u(h,o,s),C=u(c,o,s);return!(y>0&&C>0||y<0&&C<0)&&(m!==0||w!==0||y!==0||C!==0||function(_,k,E,x){for(var A=0;A<2;++A){var L=_[A],b=k[A],R=Math.min(L,b),I=Math.max(L,b),O=E[A],z=x[A],F=Math.min(O,z);if(Math.max(O,z)=o?(s=_,(w+=1)=o?(s=_,(w+=1)>1,_=o[2*C+1];if(_===m)return C;m<_?y=C:w=C+1}return w}return function(u,o,s,h){for(var c=u.length,m=[],w=0;w>1,_=o[2*C+1];if(_===m)return C;m<_?y=C:w=C+1}return w}return function(u,o,s,h){for(var c=u.length,m=[],w=0;w>1,_=o[2*C+1];if(_===m)return C;m<_?y=C:w=C+1}return w}return function(u,o,s,h){for(var c=u.length,m=[],w=0;w0)-(o<0)},l.abs=function(o){var s=o>>31;return(o^s)-s},l.min=function(o,s){return s^(o^s)&-(o65535)<<4,s|=h=((o>>>=s)>255)<<3,s|=h=((o>>>=h)>15)<<2,(s|=h=((o>>>=h)>3)<<1)|(o>>>=h)>>1},l.log10=function(o){return o>=1e9?9:o>=1e8?8:o>=1e7?7:o>=1e6?6:o>=1e5?5:o>=1e4?4:o>=1e3?3:o>=100?2:o>=10?1:0},l.popCount=function(o){return 16843009*((o=(858993459&(o-=o>>>1&1431655765))+(o>>>2&858993459))+(o>>>4)&252645135)>>>24},l.countTrailingZeros=a,l.nextPow2=function(o){return o+=o===0,--o,o|=o>>>1,o|=o>>>2,o|=o>>>4,1+((o|=o>>>8)|o>>>16)},l.prevPow2=function(o){return o|=o>>>1,o|=o>>>2,o|=o>>>4,o|=o>>>8,(o|=o>>>16)-(o>>>1)},l.parity=function(o){return o^=o>>>16,o^=o>>>8,o^=o>>>4,27030>>>(o&=15)&1};var u=new Array(256);(function(o){for(var s=0;s<256;++s){var h=s,c=s,m=7;for(h>>>=1;h;h>>>=1)c<<=1,c|=1&h,--m;o[s]=c<>>8&255]<<16|u[o>>>16&255]<<8|u[o>>>24&255]},l.interleave2=function(o,s){return(o=1431655765&((o=858993459&((o=252645135&((o=16711935&((o&=65535)|o<<8))|o<<4))|o<<2))|o<<1))|(s=1431655765&((s=858993459&((s=252645135&((s=16711935&((s&=65535)|s<<8))|s<<4))|s<<2))|s<<1))<<1},l.deinterleave2=function(o,s){return(o=65535&((o=16711935&((o=252645135&((o=858993459&((o=o>>>s&1431655765)|o>>>1))|o>>>2))|o>>>4))|o>>>16))<<16>>16},l.interleave3=function(o,s,h){return o=1227133513&((o=3272356035&((o=251719695&((o=4278190335&((o&=1023)|o<<16))|o<<8))|o<<4))|o<<2),(o|=(s=1227133513&((s=3272356035&((s=251719695&((s=4278190335&((s&=1023)|s<<16))|s<<8))|s<<4))|s<<2))<<1)|(h=1227133513&((h=3272356035&((h=251719695&((h=4278190335&((h&=1023)|h<<16))|h<<8))|h<<4))|h<<2))<<2},l.deinterleave3=function(o,s){return(o=1023&((o=4278190335&((o=251719695&((o=3272356035&((o=o>>>s&1227133513)|o>>>2))|o>>>4))|o>>>8))|o>>>16))<<22>>22},l.nextCombination=function(o){var s=o|o-1;return s+1|(~s&-~s)-1>>>a(o)+1}},6656:function(f,l,a){var u=a(9392),o=a(9521);function s(_,k){var E=_.length,x=_.length-k.length,A=Math.min;if(x)return x;switch(E){case 0:return 0;case 1:return _[0]-k[0];case 2:return(R=_[0]+_[1]-k[0]-k[1])||A(_[0],_[1])-A(k[0],k[1]);case 3:var L=_[0]+_[1],b=k[0]+k[1];if(R=L+_[2]-(b+k[2]))return R;var R,I=A(_[0],_[1]),O=A(k[0],k[1]);return(R=A(I,_[2])-A(O,k[2]))||A(I+_[2],L)-A(O+k[2],b);default:var z=_.slice(0);z.sort();var F=k.slice(0);F.sort();for(var B=0;B>1,b=s(_[L],k);b<=0?(b===0&&(A=L),E=L+1):b>0&&(x=L-1)}return A}function y(_,k){for(var E=new Array(_.length),x=0,A=E.length;x=_.length||s(_[N],L)!==0););}return E}function C(_,k){if(k<0)return[];for(var E=[],x=(1<>>O&1&&I.push(A[O]);k.push(I)}return c(k)},l.skeleton=C,l.boundary=function(_){for(var k=[],E=0,x=_.length;E>1:(te>>1)-1}function z(te){for(var Z=I(te);;){var X=Z,Q=2*te+1,re=2*(te+1),ie=te;if(Q0;){var X=O(te);if(!(X>=0&&Z0){var te=j[0];return R(0,U-1),U-=1,z(0),te}return-1}function N(te,Z){var X=j[te];return _[X]===Z?te:(_[X]=-1/0,F(te),B(),_[X]=Z,F((U+=1)-1))}function W(te){if(!k[te]){k[te]=!0;var Z=y[te],X=C[te];y[X]>=0&&(y[X]=Z),C[Z]>=0&&(C[Z]=X),$[Z]>=0&&N($[Z],b(Z)),$[X]>=0&&N($[X],b(X))}}var j=[],$=new Array(m);for(E=0;E>1;E>=0;--E)z(E);for(;;){var G=B();if(G<0||_[G]>c)break;W(G)}var q=[];for(E=0;E=0&&X>=0&&Z!==X){var Q=$[Z],re=$[X];Q!==re&&ne.push([Q,re])}}),o.unique(o.normalize(ne)),{positions:q,edges:ne}};var u=a(417),o=a(6656)},6638:function(f,l,a){f.exports=function(s,h){var c,m,w,y;if(h[0][0]h[1][0]))return o(h,s);c=h[1],m=h[0]}if(s[0][0]s[1][0]))return-o(s,h);w=s[1],y=s[0]}var C=u(c,m,y),_=u(c,m,w);if(C<0){if(_<=0)return C}else if(C>0){if(_>=0)return C}else if(_)return _;if(C=u(y,w,m),_=u(y,w,c),C<0){if(_<=0)return C}else if(C>0){if(_>=0)return C}else if(_)return _;return m[0]-y[0]};var u=a(417);function o(s,h){var c,m,w,y;if(h[0][0]h[1][0])){var C=Math.min(s[0][1],s[1][1]),_=Math.max(s[0][1],s[1][1]),k=Math.min(h[0][1],h[1][1]),E=Math.max(h[0][1],h[1][1]);return _E?C-E:_-E}c=h[1],m=h[0]}s[0][1]0)if(k[0]!==L[1][0])E=_,_=_.right;else{if(R=w(_.right,k))return R;_=_.left}else{if(k[0]!==L[1][0])return _;var R;if(R=w(_.right,k))return R;_=_.left}}return E}function y(_,k,E,x){this.y=_,this.index=k,this.start=E,this.closed=x}function C(_,k,E,x){this.x=_,this.segment=k,this.create=E,this.index=x}c.prototype.castUp=function(_){var k=u.le(this.coordinates,_[0]);if(k<0)return-1;this.slabs[k];var E=w(this.slabs[k],_),x=-1;if(E&&(x=E.value),this.coordinates[k]===_[0]){var A=null;if(E&&(A=E.key),k>0){var L=w(this.slabs[k-1],_);L&&(A?h(L.key,A)>0&&(A=L.key,x=L.value):(x=L.value,A=L.key))}var b=this.horizontal[k];if(b.length>0){var R=u.ge(b,_[1],m);if(R=b.length)return x;I=b[R]}}if(I.start)if(A){var O=s(A[0],A[1],[_[0],I.y]);A[0][0]>A[1][0]&&(O=-O),O>0&&(x=I.index)}else x=I.index;else I.y!==_[1]&&(x=I.index)}}}return x}},4670:function(f,l,a){var u=a(9130),o=a(9662);function s(c,m){var w=o(u(c,m),[m[m.length-1]]);return w[w.length-1]}function h(c,m,w,y){var C=-m/(y-m);C<0?C=0:C>1&&(C=1);for(var _=1-C,k=c.length,E=new Array(k),x=0;x0||C>0&&x<0){var A=h(_,x,k,C);w.push(A),y.push(A.slice())}x<0?y.push(k.slice()):x>0?w.push(k.slice()):(w.push(k.slice()),y.push(k.slice())),C=x}return{positive:w,negative:y}},f.exports.positive=function(c,m){for(var w=[],y=s(c[c.length-1],m),C=c[c.length-1],_=c[0],k=0;k0||y>0&&E<0)&&w.push(h(C,E,_,y)),E>=0&&w.push(_.slice()),y=E}return w},f.exports.negative=function(c,m){for(var w=[],y=s(c[c.length-1],m),C=c[c.length-1],_=c[0],k=0;k0||y>0&&E<0)&&w.push(h(C,E,_,y)),E<=0&&w.push(_.slice()),y=E}return w}},8974:function(f,l,a){var u;(function(){var o={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function s(y){return c(w(y),arguments)}function h(y,C){return s.apply(null,[y].concat(C||[]))}function c(y,C){var _,k,E,x,A,L,b,R,I,O=1,z=y.length,F="";for(k=0;k=0),x.type){case"b":_=parseInt(_,10).toString(2);break;case"c":_=String.fromCharCode(parseInt(_,10));break;case"d":case"i":_=parseInt(_,10);break;case"j":_=JSON.stringify(_,null,x.width?parseInt(x.width):0);break;case"e":_=x.precision?parseFloat(_).toExponential(x.precision):parseFloat(_).toExponential();break;case"f":_=x.precision?parseFloat(_).toFixed(x.precision):parseFloat(_);break;case"g":_=x.precision?String(Number(_.toPrecision(x.precision))):parseFloat(_);break;case"o":_=(parseInt(_,10)>>>0).toString(8);break;case"s":_=String(_),_=x.precision?_.substring(0,x.precision):_;break;case"t":_=String(!!_),_=x.precision?_.substring(0,x.precision):_;break;case"T":_=Object.prototype.toString.call(_).slice(8,-1).toLowerCase(),_=x.precision?_.substring(0,x.precision):_;break;case"u":_=parseInt(_,10)>>>0;break;case"v":_=_.valueOf(),_=x.precision?_.substring(0,x.precision):_;break;case"x":_=(parseInt(_,10)>>>0).toString(16);break;case"X":_=(parseInt(_,10)>>>0).toString(16).toUpperCase()}o.json.test(x.type)?F+=_:(!o.number.test(x.type)||R&&!x.sign?I="":(I=R?"+":"-",_=_.toString().replace(o.sign,"")),L=x.pad_char?x.pad_char==="0"?"0":x.pad_char.charAt(1):" ",b=x.width-(I+_).length,A=x.width&&b>0?L.repeat(b):"",F+=x.align?I+_+A:L==="0"?I+A+_:A+I+_)}return F}var m=Object.create(null);function w(y){if(m[y])return m[y];for(var C,_=y,k=[],E=0;_;){if((C=o.text.exec(_))!==null)k.push(C[0]);else if((C=o.modulo.exec(_))!==null)k.push("%");else{if((C=o.placeholder.exec(_))===null)throw new SyntaxError("[sprintf] unexpected placeholder");if(C[2]){E|=1;var x=[],A=C[2],L=[];if((L=o.key.exec(A))===null)throw new SyntaxError("[sprintf] failed to parse named argument key");for(x.push(L[1]);(A=A.substring(L[0].length))!=="";)if((L=o.key_access.exec(A))!==null)x.push(L[1]);else{if((L=o.index_access.exec(A))===null)throw new SyntaxError("[sprintf] failed to parse named argument key");x.push(L[1])}C[2]=x}else E|=2;if(E===3)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");k.push({placeholder:C[0],param_no:C[1],keys:C[2],sign:C[3],pad_char:C[4],align:C[5],width:C[6],precision:C[7],type:C[8]})}_=_.substring(C[0].length)}return m[y]=k}l.sprintf=s,l.vsprintf=h,typeof window<"u"&&(window.sprintf=s,window.vsprintf=h,(u=(function(){return{sprintf:s,vsprintf:h}}).call(l,a,l,f))===void 0||(f.exports=u))})()},4162:function(f,l,a){f.exports=function(c,m){if(c.dimension<=0)return{positions:[],cells:[]};if(c.dimension===1)return function(C,_){for(var k=o(C,_),E=k.length,x=new Array(E),A=new Array(E),L=0;LE|0},vertex:function(C,_,k,E,x,A,L,b,R,I,O,z,F){var B=(L<<0)+(b<<1)+(R<<2)+(I<<3)|0;if(B!==0&&B!==15)switch(B){case 0:case 15:O.push([C-.5,_-.5]);break;case 1:O.push([C-.25-.25*(E+k-2*F)/(k-E),_-.25-.25*(x+k-2*F)/(k-x)]);break;case 2:O.push([C-.75-.25*(-E-k+2*F)/(E-k),_-.25-.25*(A+E-2*F)/(E-A)]);break;case 3:O.push([C-.5,_-.5-.5*(x+k+A+E-4*F)/(k-x+E-A)]);break;case 4:O.push([C-.25-.25*(A+x-2*F)/(x-A),_-.75-.25*(-x-k+2*F)/(x-k)]);break;case 5:O.push([C-.5-.5*(E+k+A+x-4*F)/(k-E+x-A),_-.5]);break;case 6:O.push([C-.5-.25*(-E-k+A+x)/(E-k+x-A),_-.5-.25*(-x-k+A+E)/(x-k+E-A)]);break;case 7:O.push([C-.75-.25*(A+x-2*F)/(x-A),_-.75-.25*(A+E-2*F)/(E-A)]);break;case 8:O.push([C-.75-.25*(-A-x+2*F)/(A-x),_-.75-.25*(-A-E+2*F)/(A-E)]);break;case 9:O.push([C-.5-.25*(E+k+-A-x)/(k-E+A-x),_-.5-.25*(x+k+-A-E)/(k-x+A-E)]);break;case 10:O.push([C-.5-.5*(-E-k-A-x+4*F)/(E-k+A-x),_-.5]);break;case 11:O.push([C-.25-.25*(-A-x+2*F)/(A-x),_-.75-.25*(x+k-2*F)/(k-x)]);break;case 12:O.push([C-.5,_-.5-.5*(-x-k-A-E+4*F)/(x-k+A-E)]);break;case 13:O.push([C-.75-.25*(E+k-2*F)/(k-E),_-.25-.25*(-A-E+2*F)/(A-E)]);break;case 14:O.push([C-.25-.25*(-E-k+2*F)/(E-k),_-.25-.25*(-x-k+2*F)/(x-k)])}},cell:function(C,_,k,E,x,A,L,b,R){x?b.push([C,_]):b.push([_,C])}});return function(C,_){var k=[],E=[];return y(C,k,E,_),{positions:k,cells:E}}}},h={}},6946:function(f,l,a){f.exports=function h(c,m,w){w=w||{};var y=s[c];y||(y=s[c]={" ":{data:new Float32Array(0),shape:.2}});var C=y[m];if(!C)if(m.length<=1||!/\d/.test(m))C=y[m]=function(z){for(var F=z.cells,B=z.positions,N=new Float32Array(6*F.length),W=0,j=0,$=0;$0&&(x+=.02);var L=new Float32Array(E),b=0,R=-.5*x;for(A=0;AMath.max(L,b)?R[2]=1:L>Math.max(A,b)?R[0]=1:R[1]=1;for(var I=0,O=0,z=0;z<3;++z)I+=x[z]*x[z],O+=R[z]*x[z];for(z=0;z<3;++z)R[z]-=O/I*x[z];return c(R,R),R}function _(x,A,L,b,R,I,O,z){this.center=u(L),this.up=u(b),this.right=u(R),this.radius=u([I]),this.angle=u([O,z]),this.angle.bounds=[[-1/0,-Math.PI/2],[1/0,Math.PI/2]],this.setDistanceLimits(x,A),this.computedCenter=this.center.curve(0),this.computedUp=this.up.curve(0),this.computedRight=this.right.curve(0),this.computedRadius=this.radius.curve(0),this.computedAngle=this.angle.curve(0),this.computedToward=[0,0,0],this.computedEye=[0,0,0],this.computedMatrix=new Array(16);for(var F=0;F<16;++F)this.computedMatrix[F]=.5;this.recalcMatrix(0)}var k=_.prototype;k.setDistanceLimits=function(x,A){x=x>0?Math.log(x):-1/0,A=A>0?Math.log(A):1/0,A=Math.max(A,x),this.radius.bounds[0][0]=x,this.radius.bounds[1][0]=A},k.getDistanceLimits=function(x){var A=this.radius.bounds[0];return x?(x[0]=Math.exp(A[0][0]),x[1]=Math.exp(A[1][0]),x):[Math.exp(A[0][0]),Math.exp(A[1][0])]},k.recalcMatrix=function(x){this.center.curve(x),this.up.curve(x),this.right.curve(x),this.radius.curve(x),this.angle.curve(x);for(var A=this.computedUp,L=this.computedRight,b=0,R=0,I=0;I<3;++I)R+=A[I]*L[I],b+=A[I]*A[I];var O=Math.sqrt(b),z=0;for(I=0;I<3;++I)L[I]-=A[I]*R/b,z+=L[I]*L[I],A[I]/=O;var F=Math.sqrt(z);for(I=0;I<3;++I)L[I]/=F;var B=this.computedToward;h(B,A,L),c(B,B);var N=Math.exp(this.computedRadius[0]),W=this.computedAngle[0],j=this.computedAngle[1],$=Math.cos(W),U=Math.sin(W),G=Math.cos(j),q=Math.sin(j),H=this.computedCenter,ne=$*G,te=U*G,Z=q,X=-$*q,Q=-U*q,re=G,ie=this.computedEye,oe=this.computedMatrix;for(I=0;I<3;++I){var ue=ne*L[I]+te*B[I]+Z*A[I];oe[4*I+1]=X*L[I]+Q*B[I]+re*A[I],oe[4*I+2]=ue,oe[4*I+3]=0}var ce=oe[1],ye=oe[5],de=oe[9],me=oe[2],pe=oe[6],xe=oe[10],Pe=ye*xe-de*pe,_e=de*me-ce*xe,Me=ce*pe-ye*me,Se=w(Pe,_e,Me);for(Pe/=Se,_e/=Se,Me/=Se,oe[0]=Pe,oe[4]=_e,oe[8]=Me,I=0;I<3;++I)ie[I]=H[I]+oe[2+4*I]*N;for(I=0;I<3;++I){z=0;for(var Ce=0;Ce<3;++Ce)z+=oe[I+4*Ce]*ie[Ce];oe[12+I]=-z}oe[15]=1},k.getMatrix=function(x,A){this.recalcMatrix(x);var L=this.computedMatrix;if(A){for(var b=0;b<16;++b)A[b]=L[b];return A}return L};var E=[0,0,0];k.rotate=function(x,A,L,b){if(this.angle.move(x,A,L),b){this.recalcMatrix(x);var R=this.computedMatrix;E[0]=R[2],E[1]=R[6],E[2]=R[10];for(var I=this.computedUp,O=this.computedRight,z=this.computedToward,F=0;F<3;++F)R[4*F]=I[F],R[4*F+1]=O[F],R[4*F+2]=z[F];for(s(R,R,b,E),F=0;F<3;++F)I[F]=R[4*F],O[F]=R[4*F+1];this.up.set(x,I[0],I[1],I[2]),this.right.set(x,O[0],O[1],O[2])}},k.pan=function(x,A,L,b){A=A||0,L=L||0,b=b||0,this.recalcMatrix(x);var R=this.computedMatrix,I=(Math.exp(this.computedRadius[0]),R[1]),O=R[5],z=R[9],F=w(I,O,z);I/=F,O/=F,z/=F;var B=R[0],N=R[4],W=R[8],j=B*I+N*O+W*z,$=w(B-=I*j,N-=O*j,W-=z*j),U=(B/=$)*A+I*L,G=(N/=$)*A+O*L,q=(W/=$)*A+z*L;this.center.move(x,U,G,q);var H=Math.exp(this.computedRadius[0]);H=Math.max(1e-4,H+b),this.radius.set(x,Math.log(H))},k.translate=function(x,A,L,b){this.center.move(x,A||0,L||0,b||0)},k.setMatrix=function(x,A,L,b){var R=1;typeof L=="number"&&(R=0|L),(R<0||R>3)&&(R=1);var I=(R+2)%3;A||(this.recalcMatrix(x),A=this.computedMatrix);var O=A[R],z=A[R+4],F=A[R+8];if(b){var B=Math.abs(O),N=Math.abs(z),W=Math.abs(F),j=Math.max(B,N,W);B===j?(O=O<0?-1:1,z=F=0):W===j?(F=F<0?-1:1,O=z=0):(z=z<0?-1:1,O=F=0)}else{var $=w(O,z,F);O/=$,z/=$,F/=$}var U,G,q=A[I],H=A[I+4],ne=A[I+8],te=q*O+H*z+ne*F,Z=w(q-=O*te,H-=z*te,ne-=F*te),X=z*(ne/=Z)-F*(H/=Z),Q=F*(q/=Z)-O*ne,re=O*H-z*q,ie=w(X,Q,re);if(X/=ie,Q/=ie,re/=ie,this.center.jump(x,ke,Le,Be),this.radius.idle(x),this.up.jump(x,O,z,F),this.right.jump(x,q,H,ne),R===2){var oe=A[1],ue=A[5],ce=A[9],ye=oe*q+ue*H+ce*ne,de=oe*X+ue*Q+ce*re;U=Pe<0?-Math.PI/2:Math.PI/2,G=Math.atan2(de,ye)}else{var me=A[2],pe=A[6],xe=A[10],Pe=me*O+pe*z+xe*F,_e=me*q+pe*H+xe*ne,Me=me*X+pe*Q+xe*re;U=Math.asin(y(Pe)),G=Math.atan2(Me,_e)}this.angle.jump(x,G,U),this.recalcMatrix(x);var Se=A[2],Ce=A[6],ae=A[10],fe=this.computedMatrix;o(fe,A);var be=fe[15],ke=fe[12]/be,Le=fe[13]/be,Be=fe[14]/be,ze=Math.exp(this.computedRadius[0]);this.center.jump(x,ke-Se*ze,Le-Ce*ze,Be-ae*ze)},k.lastT=function(){return Math.max(this.center.lastT(),this.up.lastT(),this.right.lastT(),this.radius.lastT(),this.angle.lastT())},k.idle=function(x){this.center.idle(x),this.up.idle(x),this.right.idle(x),this.radius.idle(x),this.angle.idle(x)},k.flush=function(x){this.center.flush(x),this.up.flush(x),this.right.flush(x),this.radius.flush(x),this.angle.flush(x)},k.setDistance=function(x,A){A>0&&this.radius.set(x,Math.log(A))},k.lookAt=function(x,A,L,b){this.recalcMatrix(x),A=A||this.computedEye,L=L||this.computedCenter;var R=(b=b||this.computedUp)[0],I=b[1],O=b[2],z=w(R,I,O);if(!(z<1e-6)){R/=z,I/=z,O/=z;var F=A[0]-L[0],B=A[1]-L[1],N=A[2]-L[2],W=w(F,B,N);if(!(W<1e-6)){F/=W,B/=W,N/=W;var j=this.computedRight,$=j[0],U=j[1],G=j[2],q=R*$+I*U+O*G,H=w($-=q*R,U-=q*I,G-=q*O);if(!(H<.01&&(H=w($=I*N-O*B,U=O*F-R*N,G=R*B-I*F))<1e-6)){$/=H,U/=H,G/=H,this.up.set(x,R,I,O),this.right.set(x,$,U,G),this.center.set(x,L[0],L[1],L[2]),this.radius.set(x,Math.log(W));var ne=I*G-O*U,te=O*$-R*G,Z=R*U-I*$,X=w(ne,te,Z),Q=R*F+I*B+O*N,re=$*F+U*B+G*N,ie=(ne/=X)*F+(te/=X)*B+(Z/=X)*N,oe=Math.asin(y(Q)),ue=Math.atan2(ie,re),ce=this.angle._state,ye=ce[ce.length-1],de=ce[ce.length-2];ye%=2*Math.PI;var me=Math.abs(ye+2*Math.PI-ue),pe=Math.abs(ye-ue),xe=Math.abs(ye-2*Math.PI-ue);me0?U.pop():new ArrayBuffer(j)}function E(j){return new Uint8Array(k(j),0,j)}function x(j){return new Uint16Array(k(2*j),0,j)}function A(j){return new Uint32Array(k(4*j),0,j)}function L(j){return new Int8Array(k(j),0,j)}function b(j){return new Int16Array(k(2*j),0,j)}function R(j){return new Int32Array(k(4*j),0,j)}function I(j){return new Float32Array(k(4*j),0,j)}function O(j){return new Float64Array(k(8*j),0,j)}function z(j){return h?new Uint8ClampedArray(k(j),0,j):E(j)}function F(j){return c?new BigUint64Array(k(8*j),0,j):null}function B(j){return m?new BigInt64Array(k(8*j),0,j):null}function N(j){return new DataView(k(j),0,j)}function W(j){j=u.nextPow2(j);var $=u.log2(j),U=C[$];return U.length>0?U.pop():new s(j)}l.free=function(j){if(s.isBuffer(j))C[u.log2(j.length)].push(j);else{if(Object.prototype.toString.call(j)!=="[object ArrayBuffer]"&&(j=j.buffer),!j)return;var $=j.length||j.byteLength,U=0|u.log2($);y[U].push(j)}},l.freeUint8=l.freeUint16=l.freeUint32=l.freeBigUint64=l.freeInt8=l.freeInt16=l.freeInt32=l.freeBigInt64=l.freeFloat32=l.freeFloat=l.freeFloat64=l.freeDouble=l.freeUint8Clamped=l.freeDataView=function(j){_(j.buffer)},l.freeArrayBuffer=_,l.freeBuffer=function(j){C[u.log2(j.length)].push(j)},l.malloc=function(j,$){if($===void 0||$==="arraybuffer")return k(j);switch($){case"uint8":return E(j);case"uint16":return x(j);case"uint32":return A(j);case"int8":return L(j);case"int16":return b(j);case"int32":return R(j);case"float":case"float32":return I(j);case"double":case"float64":return O(j);case"uint8_clamped":return z(j);case"bigint64":return B(j);case"biguint64":return F(j);case"buffer":return W(j);case"data":case"dataview":return N(j);default:return null}return null},l.mallocArrayBuffer=k,l.mallocUint8=E,l.mallocUint16=x,l.mallocUint32=A,l.mallocInt8=L,l.mallocInt16=b,l.mallocInt32=R,l.mallocFloat32=l.mallocFloat=I,l.mallocFloat64=l.mallocDouble=O,l.mallocUint8Clamped=z,l.mallocBigUint64=F,l.mallocBigInt64=B,l.mallocDataView=N,l.mallocBuffer=W,l.clearCache=function(){for(var j=0;j<32;++j)w.UINT8[j].length=0,w.UINT16[j].length=0,w.UINT32[j].length=0,w.INT8[j].length=0,w.INT16[j].length=0,w.INT32[j].length=0,w.FLOAT[j].length=0,w.DOUBLE[j].length=0,w.BIGUINT64[j].length=0,w.BIGINT64[j].length=0,w.UINT8C[j].length=0,y[j].length=0,C[j].length=0}},1731:function(f){function l(u){this.roots=new Array(u),this.ranks=new Array(u);for(var o=0;o0&&(R=b.size),b.lineSpacing&&b.lineSpacing>0&&(I=b.lineSpacing),b.styletags&&b.styletags.breaklines&&(O.breaklines=!!b.styletags.breaklines),b.styletags&&b.styletags.bolds&&(O.bolds=!!b.styletags.bolds),b.styletags&&b.styletags.italics&&(O.italics=!!b.styletags.italics),b.styletags&&b.styletags.subscripts&&(O.subscripts=!!b.styletags.subscripts),b.styletags&&b.styletags.superscripts&&(O.superscripts=!!b.styletags.superscripts)),L.font=[b.fontStyle,b.fontVariant,b.fontWeight,R+"px",b.font].filter(function(z){return z}).join(" "),L.textAlign="start",L.textBaseline="alphabetic",L.direction="ltr",E(function(z,F,B,N,W,j){B=B.replace(/\n/g,""),B=j.breaklines===!0?B.replace(/\/g,` -`):B.replace(/\/g," ");var $="",U=[];for(ne=0;ne-1?parseInt(fe[1+Le]):0,je=Be>-1?parseInt(be[1+Be]):0;ze!==je&&(ke=ke.replace(xe(),"?px "),X*=Math.pow(.75,je-ze),ke=ke.replace("?px ",xe())),Z+=.25*ie*(je-ze)}if(j.superscripts===!0){var ge=fe.indexOf("+"),we=be.indexOf("+"),Ee=ge>-1?parseInt(fe[1+ge]):0,Ve=we>-1?parseInt(be[1+we]):0;Ee!==Ve&&(ke=ke.replace(xe(),"?px "),X*=Math.pow(.75,Ve-Ee),ke=ke.replace("?px ",xe())),Z-=.25*ie*(Ve-Ee)}if(j.bolds===!0){var $e=fe.indexOf(w)>-1,Ye=be.indexOf(w)>-1;!$e&&Ye&&(ke=st?ke.replace("italic ","italic bold "):"bold "+ke),$e&&!Ye&&(ke=ke.replace("bold ",""))}if(j.italics===!0){var st=fe.indexOf(y)>-1,ot=be.indexOf(y)>-1;!st&&ot&&(ke="italic "+ke),st&&!ot&&(ke=ke.replace("italic ",""))}F.font=ke}for(H=0;H",I="",O=R.length,z=I.length,F=A[0]==="+"||A[0]==="-",B=0,N=-z;B>-1&&(B=L.indexOf(R,B))!==-1&&(N=L.indexOf(I,B+O))!==-1&&!(N<=B);){for(var W=B;W=N)b[W]=null,L=L.substr(0,W)+" "+L.substr(W+1);else if(b[W]!==null){var j=b[W].indexOf(A[0]);j===-1?b[W]+=A:F&&(b[W]=b[W].substr(0,j+1)+(1+parseInt(b[W][j+1]))+b[W].substr(j+2))}var $=B+O,U=L.substr($,N-$).indexOf(R);B=U!==-1?U:N+z}return b}function _(x,A){var L=u(x,128);return A?s(L.cells,L.positions,.25):{edges:L.cells,positions:L.positions}}function k(x,A,L,b){var R=_(x,b),I=function(H,ne,te){for(var Z=ne.textAlign||"start",X=ne.textBaseline||"alphabetic",Q=[1<<30,1<<30],re=[0,0],ie=H.length,oe=0;oe"u"||!ses.ok||ses.ok()){typeof ses<"u"&&(ses.weakMapPermitHostObjects=A);var l=!1;if(typeof WeakMap=="function"){var a=WeakMap;if(!(typeof navigator<"u"&&/Firefox/.test(navigator.userAgent))){var u=new a,o=Object.freeze({});if(u.set(o,1),u.get(o)===1)return void(f.exports=WeakMap);l=!0}}var s=Object.getOwnPropertyNames,h=Object.defineProperty,c=Object.isExtensible,m="weakmap:",w="weakmap:ident:"+Math.random()+"___";if(typeof crypto<"u"&&typeof crypto.getRandomValues=="function"&&typeof ArrayBuffer=="function"&&typeof Uint8Array=="function"){var y=new ArrayBuffer(25),C=new Uint8Array(y);crypto.getRandomValues(C),w="weakmap:rand:"+Array.prototype.map.call(C,function(O){return(O%36).toString(36)}).join("")+"___"}if(h(Object,"getOwnPropertyNames",{value:function(O){return s(O).filter(L)}}),"getPropertyNames"in Object){var _=Object.getPropertyNames;h(Object,"getPropertyNames",{value:function(O){return _(O).filter(L)}})}(function(){var O=Object.freeze;h(Object,"freeze",{value:function(B){return b(B),O(B)}});var z=Object.seal;h(Object,"seal",{value:function(B){return b(B),z(B)}});var F=Object.preventExtensions;h(Object,"preventExtensions",{value:function(B){return b(B),F(B)}})})();var k=!1,E=0,x=function(){this instanceof x||I();var O=[],z=[],F=E++;return Object.create(x.prototype,{get___:{value:R(function(B,N){var W,j=b(B);return j?F in j?j[F]:N:(W=O.indexOf(B))>=0?z[W]:N})},has___:{value:R(function(B){var N=b(B);return N?F in N:O.indexOf(B)>=0})},set___:{value:R(function(B,N){var W,j=b(B);return j?j[F]=N:(W=O.indexOf(B))>=0?z[W]=N:(W=O.length,z[W]=N,O[W]=B),this})},delete___:{value:R(function(B){var N,W,j=b(B);return j?F in j&&delete j[F]:!((N=O.indexOf(B))<0||(W=O.length-1,O[N]=void 0,z[N]=z[W],O[N]=O[W],O.length=W,z.length=W,0))})}})};x.prototype=Object.create(Object.prototype,{get:{value:function(O,z){return this.get___(O,z)},writable:!0,configurable:!0},has:{value:function(O){return this.has___(O)},writable:!0,configurable:!0},set:{value:function(O,z){return this.set___(O,z)},writable:!0,configurable:!0},delete:{value:function(O){return this.delete___(O)},writable:!0,configurable:!0}}),typeof a=="function"?function(){function O(){this instanceof x||I();var z,F=new a,B=void 0,N=!1;return z=l?function(W,j){return F.set(W,j),F.has(W)||(B||(B=new x),B.set(W,j)),this}:function(W,j){if(N)try{F.set(W,j)}catch{B||(B=new x),B.set___(W,j)}else F.set(W,j);return this},Object.create(x.prototype,{get___:{value:R(function(W,j){return B?F.has(W)?F.get(W):B.get___(W,j):F.get(W,j)})},has___:{value:R(function(W){return F.has(W)||!!B&&B.has___(W)})},set___:{value:R(z)},delete___:{value:R(function(W){var j=!!F.delete(W);return B&&B.delete___(W)||j})},permitHostObjects___:{value:R(function(W){if(W!==A)throw new Error("bogus call to permitHostObjects___");N=!0})}})}l&&typeof Proxy<"u"&&(Proxy=void 0),O.prototype=x.prototype,f.exports=O,Object.defineProperty(WeakMap.prototype,"constructor",{value:WeakMap,enumerable:!1,configurable:!0,writable:!0})}():(typeof Proxy<"u"&&(Proxy=void 0),f.exports=x)}function A(O){O.permitHostObjects___&&O.permitHostObjects___(A)}function L(O){return!(O.substr(0,m.length)==m&&O.substr(O.length-3)==="___")}function b(O){if(O!==Object(O))throw new TypeError("Not an object: "+O);var z=O[w];if(z&&z.key===O)return z;if(c(O)){z={key:O};try{return h(O,w,{value:z,writable:!1,enumerable:!1,configurable:!1}),z}catch{return}}}function R(O){return O.prototype=null,Object.freeze(O)}function I(){k||typeof console>"u"||(k=!0,console.warn("WeakMap should be invoked as new WeakMap(), not WeakMap(). This will be an error in the future."))}})()},9222:function(f,l,a){var u=a(7178);f.exports=function(){var o={};return function(s){if((typeof s!="object"||s===null)&&typeof s!="function")throw new Error("Weakmap-shim: Key must be object");var h=s.valueOf(o);return h&&h.identity===o?h:u(s,o)}}},7178:function(f){f.exports=function(l,a){var u={identity:a},o=l.valueOf;return Object.defineProperty(l,"valueOf",{value:function(s){return s!==a?o.apply(this,arguments):u},writable:!0}),u}},4037:function(f,l,a){var u=a(9222);f.exports=function(){var o=u();return{get:function(s,h){var c=o(s);return c.hasOwnProperty("value")?c.value:h},set:function(s,h){return o(s).value=h,this},has:function(s){return"value"in o(s)},delete:function(s){return delete o(s).value}}}},6183:function(f){f.exports=function(l){var a={};return function(u,o,s){var h=u.dtype,c=u.order,m=[h,c.join()].join(),w=a[m];return w||(a[m]=w=l([h,c])),w(u.shape.slice(0),u.data,u.stride,0|u.offset,o,s)}}((function(){return function(l,a,u,o,s,h){var c=l[0],m=u[0],w=[0],y=m;o|=0;var C=0,_=m;for(C=0;C=0!=E>=0&&s.push(w[0]+.5+.5*(k+E)/(k-E)),o+=_,++w[0]}}}).bind(void 0,{funcName:"zeroCrossings"}))},9584:function(f,l,a){f.exports=function(o,s){var h=[];return s=+s||0,u(o.hi(o.shape[0]-1),h,s),h};var u=a(6183)},6601:function(){}},M={};function v(f){var l=M[f];if(l!==void 0)return l.exports;var a=M[f]={id:f,loaded:!1,exports:{}};return i[f].call(a.exports,a,a.exports,v),a.loaded=!0,a.exports}return v.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),v.nmd=function(f){return f.paths=[],f.children||(f.children=[]),f},v(7386)}()},T.exports=d()},12856:function(T,p,t){function d(ae,fe){if(!(ae instanceof fe))throw new TypeError("Cannot call a class as a function")}function g(ae,fe){for(var be=0;bes)throw new RangeError('The value "'+ae+'" is invalid for option "size"');var fe=new Uint8Array(ae);return Object.setPrototypeOf(fe,c.prototype),fe}function c(ae,fe,be){if(typeof ae=="number"){if(typeof fe=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return y(ae)}return m(ae,fe,be)}function m(ae,fe,be){if(typeof ae=="string")return function(Be,ze){if(typeof ze=="string"&&ze!==""||(ze="utf8"),!c.isEncoding(ze))throw new TypeError("Unknown encoding: "+ze);var je=0|E(Be,ze),ge=h(je),we=ge.write(Be,ze);return we!==je&&(ge=ge.slice(0,we)),ge}(ae,fe);if(ArrayBuffer.isView(ae))return function(Be){if(Pe(Be,Uint8Array)){var ze=new Uint8Array(Be);return _(ze.buffer,ze.byteOffset,ze.byteLength)}return C(Be)}(ae);if(ae==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+l(ae));if(Pe(ae,ArrayBuffer)||ae&&Pe(ae.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Pe(ae,SharedArrayBuffer)||ae&&Pe(ae.buffer,SharedArrayBuffer)))return _(ae,fe,be);if(typeof ae=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var ke=ae.valueOf&&ae.valueOf();if(ke!=null&&ke!==ae)return c.from(ke,fe,be);var Le=function(Be){if(c.isBuffer(Be)){var ze=0|k(Be.length),je=h(ze);return je.length===0||Be.copy(je,0,0,ze),je}return Be.length!==void 0?typeof Be.length!="number"||_e(Be.length)?h(0):C(Be):Be.type==="Buffer"&&Array.isArray(Be.data)?C(Be.data):void 0}(ae);if(Le)return Le;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof ae[Symbol.toPrimitive]=="function")return c.from(ae[Symbol.toPrimitive]("string"),fe,be);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+l(ae))}function w(ae){if(typeof ae!="number")throw new TypeError('"size" argument must be of type number');if(ae<0)throw new RangeError('The value "'+ae+'" is invalid for option "size"')}function y(ae){return w(ae),h(ae<0?0:0|k(ae))}function C(ae){for(var fe=ae.length<0?0:0|k(ae.length),be=h(fe),ke=0;ke=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|ae}function E(ae,fe){if(c.isBuffer(ae))return ae.length;if(ArrayBuffer.isView(ae)||Pe(ae,ArrayBuffer))return ae.byteLength;if(typeof ae!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+l(ae));var be=ae.length,ke=arguments.length>2&&arguments[2]===!0;if(!ke&&be===0)return 0;for(var Le=!1;;)switch(fe){case"ascii":case"latin1":case"binary":return be;case"utf8":case"utf-8":return me(ae).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*be;case"hex":return be>>>1;case"base64":return pe(ae).length;default:if(Le)return ke?-1:me(ae).length;fe=(""+fe).toLowerCase(),Le=!0}}function x(ae,fe,be){var ke=!1;if((fe===void 0||fe<0)&&(fe=0),fe>this.length||((be===void 0||be>this.length)&&(be=this.length),be<=0)||(be>>>=0)<=(fe>>>=0))return"";for(ae||(ae="utf8");;)switch(ae){case"hex":return U(this,fe,be);case"utf8":case"utf-8":return N(this,fe,be);case"ascii":return j(this,fe,be);case"latin1":case"binary":return $(this,fe,be);case"base64":return B(this,fe,be);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return G(this,fe,be);default:if(ke)throw new TypeError("Unknown encoding: "+ae);ae=(ae+"").toLowerCase(),ke=!0}}function A(ae,fe,be){var ke=ae[fe];ae[fe]=ae[be],ae[be]=ke}function L(ae,fe,be,ke,Le){if(ae.length===0)return-1;if(typeof be=="string"?(ke=be,be=0):be>2147483647?be=2147483647:be<-2147483648&&(be=-2147483648),_e(be=+be)&&(be=Le?0:ae.length-1),be<0&&(be=ae.length+be),be>=ae.length){if(Le)return-1;be=ae.length-1}else if(be<0){if(!Le)return-1;be=0}if(typeof fe=="string"&&(fe=c.from(fe,ke)),c.isBuffer(fe))return fe.length===0?-1:b(ae,fe,be,ke,Le);if(typeof fe=="number")return fe&=255,typeof Uint8Array.prototype.indexOf=="function"?Le?Uint8Array.prototype.indexOf.call(ae,fe,be):Uint8Array.prototype.lastIndexOf.call(ae,fe,be):b(ae,[fe],be,ke,Le);throw new TypeError("val must be string, number or Buffer")}function b(ae,fe,be,ke,Le){var Be,ze=1,je=ae.length,ge=fe.length;if(ke!==void 0&&((ke=String(ke).toLowerCase())==="ucs2"||ke==="ucs-2"||ke==="utf16le"||ke==="utf-16le")){if(ae.length<2||fe.length<2)return-1;ze=2,je/=2,ge/=2,be/=2}function we(Ye,st){return ze===1?Ye[st]:Ye.readUInt16BE(st*ze)}if(Le){var Ee=-1;for(Be=be;Beje&&(be=je-ge),Be=be;Be>=0;Be--){for(var Ve=!0,$e=0;$eLe&&(ke=Le):ke=Le;var Be,ze=fe.length;for(ke>ze/2&&(ke=ze/2),Be=0;Be>8,ge=ze%256,we.push(ge),we.push(je);return we}(fe,ae.length-be),ae,be,ke)}function B(ae,fe,be){return fe===0&&be===ae.length?a.fromByteArray(ae):a.fromByteArray(ae.slice(fe,be))}function N(ae,fe,be){be=Math.min(ae.length,be);for(var ke=[],Le=fe;Le239?4:Be>223?3:Be>191?2:1;if(Le+je<=be){var ge=void 0,we=void 0,Ee=void 0,Ve=void 0;switch(je){case 1:Be<128&&(ze=Be);break;case 2:(192&(ge=ae[Le+1]))==128&&(Ve=(31&Be)<<6|63&ge)>127&&(ze=Ve);break;case 3:ge=ae[Le+1],we=ae[Le+2],(192&ge)==128&&(192&we)==128&&(Ve=(15&Be)<<12|(63&ge)<<6|63&we)>2047&&(Ve<55296||Ve>57343)&&(ze=Ve);break;case 4:ge=ae[Le+1],we=ae[Le+2],Ee=ae[Le+3],(192&ge)==128&&(192&we)==128&&(192&Ee)==128&&(Ve=(15&Be)<<18|(63&ge)<<12|(63&we)<<6|63&Ee)>65535&&Ve<1114112&&(ze=Ve)}}ze===null?(ze=65533,je=1):ze>65535&&(ze-=65536,ke.push(ze>>>10&1023|55296),ze=56320|1023&ze),ke.push(ze),Le+=je}return function($e){var Ye=$e.length;if(Ye<=W)return String.fromCharCode.apply(String,$e);for(var st="",ot=0;ot"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.buffer}}),Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.byteOffset}}),c.poolSize=8192,c.from=function(ae,fe,be){return m(ae,fe,be)},Object.setPrototypeOf(c.prototype,Uint8Array.prototype),Object.setPrototypeOf(c,Uint8Array),c.alloc=function(ae,fe,be){return function(ke,Le,Be){return w(ke),ke<=0?h(ke):Le!==void 0?typeof Be=="string"?h(ke).fill(Le,Be):h(ke).fill(Le):h(ke)}(ae,fe,be)},c.allocUnsafe=function(ae){return y(ae)},c.allocUnsafeSlow=function(ae){return y(ae)},c.isBuffer=function(ae){return ae!=null&&ae._isBuffer===!0&&ae!==c.prototype},c.compare=function(ae,fe){if(Pe(ae,Uint8Array)&&(ae=c.from(ae,ae.offset,ae.byteLength)),Pe(fe,Uint8Array)&&(fe=c.from(fe,fe.offset,fe.byteLength)),!c.isBuffer(ae)||!c.isBuffer(fe))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ae===fe)return 0;for(var be=ae.length,ke=fe.length,Le=0,Be=Math.min(be,ke);Leke.length?(c.isBuffer(Be)||(Be=c.from(Be)),Be.copy(ke,Le)):Uint8Array.prototype.set.call(ke,Be,Le);else{if(!c.isBuffer(Be))throw new TypeError('"list" argument must be an Array of Buffers');Be.copy(ke,Le)}Le+=Be.length}return ke},c.byteLength=E,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var ae=this.length;if(ae%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var fe=0;fefe&&(ae+=" ... "),""},o&&(c.prototype[o]=c.prototype.inspect),c.prototype.compare=function(ae,fe,be,ke,Le){if(Pe(ae,Uint8Array)&&(ae=c.from(ae,ae.offset,ae.byteLength)),!c.isBuffer(ae))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+l(ae));if(fe===void 0&&(fe=0),be===void 0&&(be=ae?ae.length:0),ke===void 0&&(ke=0),Le===void 0&&(Le=this.length),fe<0||be>ae.length||ke<0||Le>this.length)throw new RangeError("out of range index");if(ke>=Le&&fe>=be)return 0;if(ke>=Le)return-1;if(fe>=be)return 1;if(this===ae)return 0;for(var Be=(Le>>>=0)-(ke>>>=0),ze=(be>>>=0)-(fe>>>=0),je=Math.min(Be,ze),ge=this.slice(ke,Le),we=ae.slice(fe,be),Ee=0;Ee>>=0,isFinite(be)?(be>>>=0,ke===void 0&&(ke="utf8")):(ke=be,be=void 0)}var Le=this.length-fe;if((be===void 0||be>Le)&&(be=Le),ae.length>0&&(be<0||fe<0)||fe>this.length)throw new RangeError("Attempt to write outside buffer bounds");ke||(ke="utf8");for(var Be=!1;;)switch(ke){case"hex":return R(this,ae,fe,be);case"utf8":case"utf-8":return I(this,ae,fe,be);case"ascii":case"latin1":case"binary":return O(this,ae,fe,be);case"base64":return z(this,ae,fe,be);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F(this,ae,fe,be);default:if(Be)throw new TypeError("Unknown encoding: "+ke);ke=(""+ke).toLowerCase(),Be=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var W=4096;function j(ae,fe,be){var ke="";be=Math.min(ae.length,be);for(var Le=fe;Leke)&&(be=ke);for(var Le="",Be=fe;Bebe)throw new RangeError("Trying to access beyond buffer length")}function H(ae,fe,be,ke,Le,Be){if(!c.isBuffer(ae))throw new TypeError('"buffer" argument must be a Buffer instance');if(fe>Le||feae.length)throw new RangeError("Index out of range")}function ne(ae,fe,be,ke,Le){ue(fe,ke,Le,ae,be,7);var Be=Number(fe&BigInt(4294967295));ae[be++]=Be,Be>>=8,ae[be++]=Be,Be>>=8,ae[be++]=Be,Be>>=8,ae[be++]=Be;var ze=Number(fe>>BigInt(32)&BigInt(4294967295));return ae[be++]=ze,ze>>=8,ae[be++]=ze,ze>>=8,ae[be++]=ze,ze>>=8,ae[be++]=ze,be}function te(ae,fe,be,ke,Le){ue(fe,ke,Le,ae,be,7);var Be=Number(fe&BigInt(4294967295));ae[be+7]=Be,Be>>=8,ae[be+6]=Be,Be>>=8,ae[be+5]=Be,Be>>=8,ae[be+4]=Be;var ze=Number(fe>>BigInt(32)&BigInt(4294967295));return ae[be+3]=ze,ze>>=8,ae[be+2]=ze,ze>>=8,ae[be+1]=ze,ze>>=8,ae[be]=ze,be+8}function Z(ae,fe,be,ke,Le,Be){if(be+ke>ae.length)throw new RangeError("Index out of range");if(be<0)throw new RangeError("Index out of range")}function X(ae,fe,be,ke,Le){return fe=+fe,be>>>=0,Le||Z(ae,0,be,4),u.write(ae,fe,be,ke,23,4),be+4}function Q(ae,fe,be,ke,Le){return fe=+fe,be>>>=0,Le||Z(ae,0,be,8),u.write(ae,fe,be,ke,52,8),be+8}c.prototype.slice=function(ae,fe){var be=this.length;(ae=~~ae)<0?(ae+=be)<0&&(ae=0):ae>be&&(ae=be),(fe=fe===void 0?be:~~fe)<0?(fe+=be)<0&&(fe=0):fe>be&&(fe=be),fe>>=0,fe>>>=0,be||q(ae,fe,this.length);for(var ke=this[ae],Le=1,Be=0;++Be>>=0,fe>>>=0,be||q(ae,fe,this.length);for(var ke=this[ae+--fe],Le=1;fe>0&&(Le*=256);)ke+=this[ae+--fe]*Le;return ke},c.prototype.readUint8=c.prototype.readUInt8=function(ae,fe){return ae>>>=0,fe||q(ae,1,this.length),this[ae]},c.prototype.readUint16LE=c.prototype.readUInt16LE=function(ae,fe){return ae>>>=0,fe||q(ae,2,this.length),this[ae]|this[ae+1]<<8},c.prototype.readUint16BE=c.prototype.readUInt16BE=function(ae,fe){return ae>>>=0,fe||q(ae,2,this.length),this[ae]<<8|this[ae+1]},c.prototype.readUint32LE=c.prototype.readUInt32LE=function(ae,fe){return ae>>>=0,fe||q(ae,4,this.length),(this[ae]|this[ae+1]<<8|this[ae+2]<<16)+16777216*this[ae+3]},c.prototype.readUint32BE=c.prototype.readUInt32BE=function(ae,fe){return ae>>>=0,fe||q(ae,4,this.length),16777216*this[ae]+(this[ae+1]<<16|this[ae+2]<<8|this[ae+3])},c.prototype.readBigUInt64LE=Se(function(ae){ce(ae>>>=0,"offset");var fe=this[ae],be=this[ae+7];fe!==void 0&&be!==void 0||ye(ae,this.length-8);var ke=fe+this[++ae]*Math.pow(2,8)+this[++ae]*Math.pow(2,16)+this[++ae]*Math.pow(2,24),Le=this[++ae]+this[++ae]*Math.pow(2,8)+this[++ae]*Math.pow(2,16)+be*Math.pow(2,24);return BigInt(ke)+(BigInt(Le)<>>=0,"offset");var fe=this[ae],be=this[ae+7];fe!==void 0&&be!==void 0||ye(ae,this.length-8);var ke=fe*Math.pow(2,24)+this[++ae]*Math.pow(2,16)+this[++ae]*Math.pow(2,8)+this[++ae],Le=this[++ae]*Math.pow(2,24)+this[++ae]*Math.pow(2,16)+this[++ae]*Math.pow(2,8)+be;return(BigInt(ke)<>>=0,fe>>>=0,be||q(ae,fe,this.length);for(var ke=this[ae],Le=1,Be=0;++Be=(Le*=128)&&(ke-=Math.pow(2,8*fe)),ke},c.prototype.readIntBE=function(ae,fe,be){ae>>>=0,fe>>>=0,be||q(ae,fe,this.length);for(var ke=fe,Le=1,Be=this[ae+--ke];ke>0&&(Le*=256);)Be+=this[ae+--ke]*Le;return Be>=(Le*=128)&&(Be-=Math.pow(2,8*fe)),Be},c.prototype.readInt8=function(ae,fe){return ae>>>=0,fe||q(ae,1,this.length),128&this[ae]?-1*(255-this[ae]+1):this[ae]},c.prototype.readInt16LE=function(ae,fe){ae>>>=0,fe||q(ae,2,this.length);var be=this[ae]|this[ae+1]<<8;return 32768&be?4294901760|be:be},c.prototype.readInt16BE=function(ae,fe){ae>>>=0,fe||q(ae,2,this.length);var be=this[ae+1]|this[ae]<<8;return 32768&be?4294901760|be:be},c.prototype.readInt32LE=function(ae,fe){return ae>>>=0,fe||q(ae,4,this.length),this[ae]|this[ae+1]<<8|this[ae+2]<<16|this[ae+3]<<24},c.prototype.readInt32BE=function(ae,fe){return ae>>>=0,fe||q(ae,4,this.length),this[ae]<<24|this[ae+1]<<16|this[ae+2]<<8|this[ae+3]},c.prototype.readBigInt64LE=Se(function(ae){ce(ae>>>=0,"offset");var fe=this[ae],be=this[ae+7];fe!==void 0&&be!==void 0||ye(ae,this.length-8);var ke=this[ae+4]+this[ae+5]*Math.pow(2,8)+this[ae+6]*Math.pow(2,16)+(be<<24);return(BigInt(ke)<>>=0,"offset");var fe=this[ae],be=this[ae+7];fe!==void 0&&be!==void 0||ye(ae,this.length-8);var ke=(fe<<24)+this[++ae]*Math.pow(2,16)+this[++ae]*Math.pow(2,8)+this[++ae];return(BigInt(ke)<>>=0,fe||q(ae,4,this.length),u.read(this,ae,!0,23,4)},c.prototype.readFloatBE=function(ae,fe){return ae>>>=0,fe||q(ae,4,this.length),u.read(this,ae,!1,23,4)},c.prototype.readDoubleLE=function(ae,fe){return ae>>>=0,fe||q(ae,8,this.length),u.read(this,ae,!0,52,8)},c.prototype.readDoubleBE=function(ae,fe){return ae>>>=0,fe||q(ae,8,this.length),u.read(this,ae,!1,52,8)},c.prototype.writeUintLE=c.prototype.writeUIntLE=function(ae,fe,be,ke){ae=+ae,fe>>>=0,be>>>=0,ke||H(this,ae,fe,be,Math.pow(2,8*be)-1,0);var Le=1,Be=0;for(this[fe]=255&ae;++Be>>=0,be>>>=0,ke||H(this,ae,fe,be,Math.pow(2,8*be)-1,0);var Le=be-1,Be=1;for(this[fe+Le]=255&ae;--Le>=0&&(Be*=256);)this[fe+Le]=ae/Be&255;return fe+be},c.prototype.writeUint8=c.prototype.writeUInt8=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,1,255,0),this[fe]=255&ae,fe+1},c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,2,65535,0),this[fe]=255&ae,this[fe+1]=ae>>>8,fe+2},c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,2,65535,0),this[fe]=ae>>>8,this[fe+1]=255&ae,fe+2},c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,4,4294967295,0),this[fe+3]=ae>>>24,this[fe+2]=ae>>>16,this[fe+1]=ae>>>8,this[fe]=255&ae,fe+4},c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,4,4294967295,0),this[fe]=ae>>>24,this[fe+1]=ae>>>16,this[fe+2]=ae>>>8,this[fe+3]=255&ae,fe+4},c.prototype.writeBigUInt64LE=Se(function(ae){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ne(this,ae,fe,BigInt(0),BigInt("0xffffffffffffffff"))}),c.prototype.writeBigUInt64BE=Se(function(ae){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return te(this,ae,fe,BigInt(0),BigInt("0xffffffffffffffff"))}),c.prototype.writeIntLE=function(ae,fe,be,ke){if(ae=+ae,fe>>>=0,!ke){var Le=Math.pow(2,8*be-1);H(this,ae,fe,be,Le-1,-Le)}var Be=0,ze=1,je=0;for(this[fe]=255&ae;++Be>0)-je&255;return fe+be},c.prototype.writeIntBE=function(ae,fe,be,ke){if(ae=+ae,fe>>>=0,!ke){var Le=Math.pow(2,8*be-1);H(this,ae,fe,be,Le-1,-Le)}var Be=be-1,ze=1,je=0;for(this[fe+Be]=255&ae;--Be>=0&&(ze*=256);)ae<0&&je===0&&this[fe+Be+1]!==0&&(je=1),this[fe+Be]=(ae/ze>>0)-je&255;return fe+be},c.prototype.writeInt8=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,1,127,-128),ae<0&&(ae=255+ae+1),this[fe]=255&ae,fe+1},c.prototype.writeInt16LE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,2,32767,-32768),this[fe]=255&ae,this[fe+1]=ae>>>8,fe+2},c.prototype.writeInt16BE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,2,32767,-32768),this[fe]=ae>>>8,this[fe+1]=255&ae,fe+2},c.prototype.writeInt32LE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,4,2147483647,-2147483648),this[fe]=255&ae,this[fe+1]=ae>>>8,this[fe+2]=ae>>>16,this[fe+3]=ae>>>24,fe+4},c.prototype.writeInt32BE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,4,2147483647,-2147483648),ae<0&&(ae=4294967295+ae+1),this[fe]=ae>>>24,this[fe+1]=ae>>>16,this[fe+2]=ae>>>8,this[fe+3]=255&ae,fe+4},c.prototype.writeBigInt64LE=Se(function(ae){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ne(this,ae,fe,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),c.prototype.writeBigInt64BE=Se(function(ae){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return te(this,ae,fe,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),c.prototype.writeFloatLE=function(ae,fe,be){return X(this,ae,fe,!0,be)},c.prototype.writeFloatBE=function(ae,fe,be){return X(this,ae,fe,!1,be)},c.prototype.writeDoubleLE=function(ae,fe,be){return Q(this,ae,fe,!0,be)},c.prototype.writeDoubleBE=function(ae,fe,be){return Q(this,ae,fe,!1,be)},c.prototype.copy=function(ae,fe,be,ke){if(!c.isBuffer(ae))throw new TypeError("argument should be a Buffer");if(be||(be=0),ke||ke===0||(ke=this.length),fe>=ae.length&&(fe=ae.length),fe||(fe=0),ke>0&&ke=this.length)throw new RangeError("Index out of range");if(ke<0)throw new RangeError("sourceEnd out of bounds");ke>this.length&&(ke=this.length),ae.length-fe>>=0,be=be===void 0?this.length:be>>>0,ae||(ae=0),typeof ae=="number")for(Be=fe;Be"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var Ee,Ve=f(ze);if(je){var $e=f(this).constructor;Ee=Reflect.construct(Ve,arguments,$e)}else Ee=Ve.apply(this,arguments);return M(this,Ee)});function we(){var Ee;return d(this,we),Ee=ge.call(this),Object.defineProperty(v(Ee),"message",{value:fe.apply(v(Ee),arguments),writable:!0,configurable:!0}),Ee.name="".concat(Ee.name," [").concat(ae,"]"),Ee.stack,delete Ee.name,Ee}return Le=we,(Be=[{key:"code",get:function(){return ae},set:function(Ee){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:Ee,writable:!0})}},{key:"toString",value:function(){return"".concat(this.name," [").concat(ae,"]: ").concat(this.message)}}])&&g(Le.prototype,Be),Object.defineProperty(Le,"prototype",{writable:!1}),we}(be)}function oe(ae){for(var fe="",be=ae.length,ke=ae[0]==="-"?1:0;be>=ke+4;be-=3)fe="_".concat(ae.slice(be-3,be)).concat(fe);return"".concat(ae.slice(0,be)).concat(fe)}function ue(ae,fe,be,ke,Le,Be){if(ae>be||ae3?fe===0||fe===BigInt(0)?">= 0".concat(je," and < 2").concat(je," ** ").concat(8*(Be+1)).concat(je):">= -(2".concat(je," ** ").concat(8*(Be+1)-1).concat(je,") and < 2 ** ")+"".concat(8*(Be+1)-1).concat(je):">= ".concat(fe).concat(je," and <= ").concat(be).concat(je),new re.ERR_OUT_OF_RANGE("value",ze,ae)}(function(ge,we,Ee){ce(we,"offset"),ge[we]!==void 0&&ge[we+Ee]!==void 0||ye(we,ge.length-(Ee+1))})(ke,Le,Be)}function ce(ae,fe){if(typeof ae!="number")throw new re.ERR_INVALID_ARG_TYPE(fe,"number",ae)}function ye(ae,fe,be){throw Math.floor(ae)!==ae?(ce(ae,be),new re.ERR_OUT_OF_RANGE(be||"offset","an integer",ae)):fe<0?new re.ERR_BUFFER_OUT_OF_BOUNDS:new re.ERR_OUT_OF_RANGE(be||"offset",">= ".concat(be?1:0," and <= ").concat(fe),ae)}ie("ERR_BUFFER_OUT_OF_BOUNDS",function(ae){return ae?"".concat(ae," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"},RangeError),ie("ERR_INVALID_ARG_TYPE",function(ae,fe){return'The "'.concat(ae,'" argument must be of type number. Received type ').concat(l(fe))},TypeError),ie("ERR_OUT_OF_RANGE",function(ae,fe,be){var ke='The value of "'.concat(ae,'" is out of range.'),Le=be;return Number.isInteger(be)&&Math.abs(be)>Math.pow(2,32)?Le=oe(String(be)):typeof be=="bigint"&&(Le=String(be),(be>Math.pow(BigInt(2),BigInt(32))||be<-Math.pow(BigInt(2),BigInt(32)))&&(Le=oe(Le)),Le+="n"),ke+" It must be ".concat(fe,". Received ").concat(Le)},RangeError);var de=/[^+/0-9A-Za-z-_]/g;function me(ae,fe){var be;fe=fe||1/0;for(var ke=ae.length,Le=null,Be=[],ze=0;ze55295&&be<57344){if(!Le){if(be>56319){(fe-=3)>-1&&Be.push(239,191,189);continue}if(ze+1===ke){(fe-=3)>-1&&Be.push(239,191,189);continue}Le=be;continue}if(be<56320){(fe-=3)>-1&&Be.push(239,191,189),Le=be;continue}be=65536+(Le-55296<<10|be-56320)}else Le&&(fe-=3)>-1&&Be.push(239,191,189);if(Le=null,be<128){if((fe-=1)<0)break;Be.push(be)}else if(be<2048){if((fe-=2)<0)break;Be.push(be>>6|192,63&be|128)}else if(be<65536){if((fe-=3)<0)break;Be.push(be>>12|224,be>>6&63|128,63&be|128)}else{if(!(be<1114112))throw new Error("Invalid code point");if((fe-=4)<0)break;Be.push(be>>18|240,be>>12&63|128,be>>6&63|128,63&be|128)}}return Be}function pe(ae){return a.toByteArray(function(fe){if((fe=(fe=fe.split("=")[0]).trim().replace(de,"")).length<2)return"";for(;fe.length%4!=0;)fe+="=";return fe}(ae))}function xe(ae,fe,be,ke){var Le;for(Le=0;Le=fe.length||Le>=ae.length);++Le)fe[Le+be]=ae[Le];return Le}function Pe(ae,fe){return ae instanceof fe||ae!=null&&ae.constructor!=null&&ae.constructor.name!=null&&ae.constructor.name===fe.name}function _e(ae){return ae!=ae}var Me=function(){for(var ae="0123456789abcdef",fe=new Array(256),be=0;be<16;++be)for(var ke=16*be,Le=0;Le<16;++Le)fe[ke+Le]=ae[be]+ae[Le];return fe}();function Se(ae){return typeof BigInt>"u"?Ce:ae}function Ce(){throw new Error("BigInt not supported")}},35791:function(T){T.exports=g,T.exports.isMobile=g,T.exports.default=g;var p=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,t=/CrOS/,d=/android|ipad|playbook|silk/i;function g(i){i||(i={});var M=i.ua;if(M||typeof navigator>"u"||(M=navigator.userAgent),M&&M.headers&&typeof M.headers["user-agent"]=="string"&&(M=M.headers["user-agent"]),typeof M!="string")return!1;var v=p.test(M)&&!t.test(M)||!!i.tablet&&d.test(M);return!v&&i.tablet&&i.featureDetect&&navigator&&navigator.maxTouchPoints>1&&M.indexOf("Macintosh")!==-1&&M.indexOf("Safari")!==-1&&(v=!0),v}},86781:function(T,p,t){t.r(p),t.d(p,{sankeyCenter:function(){return o},sankeyCircular:function(){return O},sankeyJustify:function(){return u},sankeyLeft:function(){return l},sankeyRight:function(){return a}});var d=t(33064),g=t(15140),i=t(45879),M=t(2502),v=t.n(M);function f(pe){return pe.target.depth}function l(pe){return pe.depth}function a(pe,xe){return xe-1-pe.height}function u(pe,xe){return pe.sourceLinks.length?pe.depth:xe-1}function o(pe){return pe.targetLinks.length?pe.depth:pe.sourceLinks.length?(0,d.VV)(pe.sourceLinks,f)-1:0}function s(pe){return function(){return pe}}var h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(pe){return typeof pe}:function(pe){return pe&&typeof Symbol=="function"&&pe.constructor===Symbol&&pe!==Symbol.prototype?"symbol":typeof pe};function c(pe,xe){return w(pe.source,xe.source)||pe.index-xe.index}function m(pe,xe){return w(pe.target,xe.target)||pe.index-xe.index}function w(pe,xe){return pe.partOfCycle===xe.partOfCycle?pe.y0-xe.y0:pe.circularLinkType==="top"||xe.circularLinkType==="bottom"?-1:1}function y(pe){return pe.value}function C(pe){return(pe.y0+pe.y1)/2}function _(pe){return C(pe.source)}function k(pe){return C(pe.target)}function E(pe){return pe.index}function x(pe){return pe.nodes}function A(pe){return pe.links}function L(pe,xe){var Pe=pe.get(xe);if(!Pe)throw new Error("missing: "+xe);return Pe}function b(pe,xe){return xe(pe)}var R=25,I=10;function O(){var pe,xe,Pe=0,_e=0,Me=1,Se=1,Ce=24,ae=E,fe=u,be=x,ke=A,Le=32,Be=2,ze=null;function je(){var Ye={nodes:be.apply(null,arguments),links:ke.apply(null,arguments)};ge(Ye),z(Ye,0,ze),we(Ye),Ee(Ye),F(Ye,ae),Ve(Ye,Le,ae),$e(Ye);for(var st=4,ot=0;ot0?Je+R+I:Je,bottom:qe=qe>0?qe+R+I:qe,left:ft=ft>0?ft+R+I:ft,right:nt=nt>0?nt+R+I:nt}}(Ye),Vt=function(Ke,Je){var qe=(0,d.Fp)(Ke.nodes,function(Qe){return Qe.column}),nt=Me-Pe,ft=Se-_e,Re=nt/(nt+Je.right+Je.left),Ne=ft/(ft+Je.top+Je.bottom);return Pe=Pe*Re+Je.left,Me=Je.right==0?Me:Me*Re,_e=_e*Ne+Je.top,Se*=Ne,Ke.nodes.forEach(function(Qe){Qe.x0=Pe+Qe.column*((Me-Pe-Ce)/qe),Qe.x1=Qe.x0+Ce}),Ne}(Ye,qt);Bt*=Vt,Ye.links.forEach(function(Ke){Ke.width=Ke.value*Bt}),ht.forEach(function(Ke){var Je=Ke.length;Ke.forEach(function(qe,nt){qe.depth==ht.length-1&&Je==1||qe.depth==0&&Je==1?(qe.y0=Se/2-qe.value*Bt,qe.y1=qe.y0+qe.value*Bt):qe.partOfCycle?N(qe,Ft)==0?(qe.y0=Se/2+nt,qe.y1=qe.y0+qe.value*Bt):qe.circularLinkType=="top"?(qe.y0=_e+nt,qe.y1=qe.y0+qe.value*Bt):(qe.y0=Se-qe.value*Bt-nt,qe.y1=qe.y0+qe.value*Bt):qt.top==0||qt.bottom==0?(qe.y0=(Se-_e)/Je*nt,qe.y1=qe.y0+qe.value*Bt):(qe.y0=(Se-_e)/2-Je/2+nt,qe.y1=qe.y0+qe.value*Bt)})})})(ot),xt();for(var bt=1,Et=st;Et>0;--Et)kt(bt*=.99,ot),xt();function kt(Ft,Ot){var Bt=ht.length;ht.forEach(function(qt){var Vt=qt.length,Ke=qt[0].depth;qt.forEach(function(Je){var qe;if((Je.sourceLinks.length||Je.targetLinks.length)&&!(Je.partOfCycle&&N(Je,Ot)>0))if(Ke==0&&Vt==1)qe=Je.y1-Je.y0,Je.y0=Se/2-qe/2,Je.y1=Se/2+qe/2;else if(Ke==Bt-1&&Vt==1)qe=Je.y1-Je.y0,Je.y0=Se/2-qe/2,Je.y1=Se/2+qe/2;else{var nt=(0,d.J6)(Je.sourceLinks,k),ft=(0,d.J6)(Je.targetLinks,_),Re=((nt&&ft?(nt+ft)/2:nt||ft)-C(Je))*Ft;Je.y0+=Re,Je.y1+=Re}})})}function xt(){ht.forEach(function(Ft){var Ot,Bt,qt,Vt=_e,Ke=Ft.length;for(Ft.sort(w),qt=0;qt0&&(Ot.y0+=Bt,Ot.y1+=Bt),Vt=Ot.y1+pe;if((Bt=Vt-pe-Se)>0)for(Vt=Ot.y0-=Bt,Ot.y1-=Bt,qt=Ke-2;qt>=0;--qt)(Bt=(Ot=Ft[qt]).y1+pe-Vt)>0&&(Ot.y0-=Bt,Ot.y1-=Bt),Vt=Ot.y0})}}function $e(Ye){Ye.nodes.forEach(function(st){st.sourceLinks.sort(m),st.targetLinks.sort(c)}),Ye.nodes.forEach(function(st){var ot=st.y0,ht=ot,bt=st.y1,Et=bt;st.sourceLinks.forEach(function(kt){kt.circular?(kt.y0=bt-kt.width/2,bt-=kt.width):(kt.y0=ot+kt.width/2,ot+=kt.width)}),st.targetLinks.forEach(function(kt){kt.circular?(kt.y1=Et-kt.width/2,Et-=kt.width):(kt.y1=ht+kt.width/2,ht+=kt.width)})})}return je.nodeId=function(Ye){return arguments.length?(ae=typeof Ye=="function"?Ye:s(Ye),je):ae},je.nodeAlign=function(Ye){return arguments.length?(fe=typeof Ye=="function"?Ye:s(Ye),je):fe},je.nodeWidth=function(Ye){return arguments.length?(Ce=+Ye,je):Ce},je.nodePadding=function(Ye){return arguments.length?(pe=+Ye,je):pe},je.nodes=function(Ye){return arguments.length?(be=typeof Ye=="function"?Ye:s(Ye),je):be},je.links=function(Ye){return arguments.length?(ke=typeof Ye=="function"?Ye:s(Ye),je):ke},je.size=function(Ye){return arguments.length?(Pe=_e=0,Me=+Ye[0],Se=+Ye[1],je):[Me-Pe,Se-_e]},je.extent=function(Ye){return arguments.length?(Pe=+Ye[0][0],Me=+Ye[1][0],_e=+Ye[0][1],Se=+Ye[1][1],je):[[Pe,_e],[Me,Se]]},je.iterations=function(Ye){return arguments.length?(Le=+Ye,je):Le},je.circularLinkGap=function(Ye){return arguments.length?(Be=+Ye,je):Be},je.nodePaddingRatio=function(Ye){return arguments.length?(xe=+Ye,je):xe},je.sortNodes=function(Ye){return arguments.length?(ze=Ye,je):ze},je.update=function(Ye){return F(Ye,ae),$e(Ye),Ye.links.forEach(function(st){st.circular&&(st.circularLinkType=st.y0+st.y11||Me>1)}function j(pe,xe,Pe){return pe.sort(U),pe.forEach(function(_e,Me){var Se,Ce,ae=0;if(de(_e,Pe)&&W(_e))_e.circularPathData.verticalBuffer=ae+_e.width/2;else{for(var fe=0;feCe.source.column)){var be=pe[fe].circularPathData.verticalBuffer+pe[fe].width/2+xe;ae=be>ae?be:ae}_e.circularPathData.verticalBuffer=ae+_e.width/2}}),pe}function $(pe,xe,Pe,_e){var Me=(0,d.VV)(pe.links,function(Se){return Se.source.y0});pe.links.forEach(function(Se){Se.circular&&(Se.circularPathData={})}),j(pe.links.filter(function(Se){return Se.circularLinkType=="top"}),xe,_e),j(pe.links.filter(function(Se){return Se.circularLinkType=="bottom"}),xe,_e),pe.links.forEach(function(Se){if(Se.circular){if(Se.circularPathData.arcRadius=Se.width+I,Se.circularPathData.leftNodeBuffer=5,Se.circularPathData.rightNodeBuffer=5,Se.circularPathData.sourceWidth=Se.source.x1-Se.source.x0,Se.circularPathData.sourceX=Se.source.x0+Se.circularPathData.sourceWidth,Se.circularPathData.targetX=Se.target.x0,Se.circularPathData.sourceY=Se.y0,Se.circularPathData.targetY=Se.y1,de(Se,_e)&&W(Se))Se.circularPathData.leftSmallArcRadius=I+Se.width/2,Se.circularPathData.leftLargeArcRadius=I+Se.width/2,Se.circularPathData.rightSmallArcRadius=I+Se.width/2,Se.circularPathData.rightLargeArcRadius=I+Se.width/2,Se.circularLinkType=="bottom"?(Se.circularPathData.verticalFullExtent=Se.source.y1+R+Se.circularPathData.verticalBuffer,Se.circularPathData.verticalLeftInnerExtent=Se.circularPathData.verticalFullExtent-Se.circularPathData.leftLargeArcRadius,Se.circularPathData.verticalRightInnerExtent=Se.circularPathData.verticalFullExtent-Se.circularPathData.rightLargeArcRadius):(Se.circularPathData.verticalFullExtent=Se.source.y0-R-Se.circularPathData.verticalBuffer,Se.circularPathData.verticalLeftInnerExtent=Se.circularPathData.verticalFullExtent+Se.circularPathData.leftLargeArcRadius,Se.circularPathData.verticalRightInnerExtent=Se.circularPathData.verticalFullExtent+Se.circularPathData.rightLargeArcRadius);else{var Ce=Se.source.column,ae=Se.circularLinkType,fe=pe.links.filter(function(Le){return Le.source.column==Ce&&Le.circularLinkType==ae});Se.circularLinkType=="bottom"?fe.sort(q):fe.sort(G);var be=0;fe.forEach(function(Le,Be){Le.circularLinkID==Se.circularLinkID&&(Se.circularPathData.leftSmallArcRadius=I+Se.width/2+be,Se.circularPathData.leftLargeArcRadius=I+Se.width/2+Be*xe+be),be+=Le.width}),Ce=Se.target.column,fe=pe.links.filter(function(Le){return Le.target.column==Ce&&Le.circularLinkType==ae}),Se.circularLinkType=="bottom"?fe.sort(ne):fe.sort(H),be=0,fe.forEach(function(Le,Be){Le.circularLinkID==Se.circularLinkID&&(Se.circularPathData.rightSmallArcRadius=I+Se.width/2+be,Se.circularPathData.rightLargeArcRadius=I+Se.width/2+Be*xe+be),be+=Le.width}),Se.circularLinkType=="bottom"?(Se.circularPathData.verticalFullExtent=Math.max(Pe,Se.source.y1,Se.target.y1)+R+Se.circularPathData.verticalBuffer,Se.circularPathData.verticalLeftInnerExtent=Se.circularPathData.verticalFullExtent-Se.circularPathData.leftLargeArcRadius,Se.circularPathData.verticalRightInnerExtent=Se.circularPathData.verticalFullExtent-Se.circularPathData.rightLargeArcRadius):(Se.circularPathData.verticalFullExtent=Me-R-Se.circularPathData.verticalBuffer,Se.circularPathData.verticalLeftInnerExtent=Se.circularPathData.verticalFullExtent+Se.circularPathData.leftLargeArcRadius,Se.circularPathData.verticalRightInnerExtent=Se.circularPathData.verticalFullExtent+Se.circularPathData.rightLargeArcRadius)}Se.circularPathData.leftInnerExtent=Se.circularPathData.sourceX+Se.circularPathData.leftNodeBuffer,Se.circularPathData.rightInnerExtent=Se.circularPathData.targetX-Se.circularPathData.rightNodeBuffer,Se.circularPathData.leftFullExtent=Se.circularPathData.sourceX+Se.circularPathData.leftLargeArcRadius+Se.circularPathData.leftNodeBuffer,Se.circularPathData.rightFullExtent=Se.circularPathData.targetX-Se.circularPathData.rightLargeArcRadius-Se.circularPathData.rightNodeBuffer}if(Se.circular)Se.path=function(Le){return Le.circularLinkType=="top"?"M"+Le.circularPathData.sourceX+" "+Le.circularPathData.sourceY+" L"+Le.circularPathData.leftInnerExtent+" "+Le.circularPathData.sourceY+" A"+Le.circularPathData.leftLargeArcRadius+" "+Le.circularPathData.leftSmallArcRadius+" 0 0 0 "+Le.circularPathData.leftFullExtent+" "+(Le.circularPathData.sourceY-Le.circularPathData.leftSmallArcRadius)+" L"+Le.circularPathData.leftFullExtent+" "+Le.circularPathData.verticalLeftInnerExtent+" A"+Le.circularPathData.leftLargeArcRadius+" "+Le.circularPathData.leftLargeArcRadius+" 0 0 0 "+Le.circularPathData.leftInnerExtent+" "+Le.circularPathData.verticalFullExtent+" L"+Le.circularPathData.rightInnerExtent+" "+Le.circularPathData.verticalFullExtent+" A"+Le.circularPathData.rightLargeArcRadius+" "+Le.circularPathData.rightLargeArcRadius+" 0 0 0 "+Le.circularPathData.rightFullExtent+" "+Le.circularPathData.verticalRightInnerExtent+" L"+Le.circularPathData.rightFullExtent+" "+(Le.circularPathData.targetY-Le.circularPathData.rightSmallArcRadius)+" A"+Le.circularPathData.rightLargeArcRadius+" "+Le.circularPathData.rightSmallArcRadius+" 0 0 0 "+Le.circularPathData.rightInnerExtent+" "+Le.circularPathData.targetY+" L"+Le.circularPathData.targetX+" "+Le.circularPathData.targetY:"M"+Le.circularPathData.sourceX+" "+Le.circularPathData.sourceY+" L"+Le.circularPathData.leftInnerExtent+" "+Le.circularPathData.sourceY+" A"+Le.circularPathData.leftLargeArcRadius+" "+Le.circularPathData.leftSmallArcRadius+" 0 0 1 "+Le.circularPathData.leftFullExtent+" "+(Le.circularPathData.sourceY+Le.circularPathData.leftSmallArcRadius)+" L"+Le.circularPathData.leftFullExtent+" "+Le.circularPathData.verticalLeftInnerExtent+" A"+Le.circularPathData.leftLargeArcRadius+" "+Le.circularPathData.leftLargeArcRadius+" 0 0 1 "+Le.circularPathData.leftInnerExtent+" "+Le.circularPathData.verticalFullExtent+" L"+Le.circularPathData.rightInnerExtent+" "+Le.circularPathData.verticalFullExtent+" A"+Le.circularPathData.rightLargeArcRadius+" "+Le.circularPathData.rightLargeArcRadius+" 0 0 1 "+Le.circularPathData.rightFullExtent+" "+Le.circularPathData.verticalRightInnerExtent+" L"+Le.circularPathData.rightFullExtent+" "+(Le.circularPathData.targetY+Le.circularPathData.rightSmallArcRadius)+" A"+Le.circularPathData.rightLargeArcRadius+" "+Le.circularPathData.rightSmallArcRadius+" 0 0 1 "+Le.circularPathData.rightInnerExtent+" "+Le.circularPathData.targetY+" L"+Le.circularPathData.targetX+" "+Le.circularPathData.targetY}(Se);else{var ke=(0,i.h5)().source(function(Le){return[Le.source.x0+(Le.source.x1-Le.source.x0),Le.y0]}).target(function(Le){return[Le.target.x0,Le.y1]});Se.path=ke(Se)}})}function U(pe,xe){return te(pe)==te(xe)?pe.circularLinkType=="bottom"?q(pe,xe):G(pe,xe):te(xe)-te(pe)}function G(pe,xe){return pe.y0-xe.y0}function q(pe,xe){return xe.y0-pe.y0}function H(pe,xe){return pe.y1-xe.y1}function ne(pe,xe){return xe.y1-pe.y1}function te(pe){return pe.target.column-pe.source.column}function Z(pe){return pe.target.x0-pe.source.x1}function X(pe,xe){var Pe=B(pe),_e=Z(xe)/Math.tan(Pe);return ye(pe)=="up"?pe.y1+_e:pe.y1-_e}function Q(pe,xe){var Pe=B(pe),_e=Z(xe)/Math.tan(Pe);return ye(pe)=="up"?pe.y1-_e:pe.y1+_e}function re(pe,xe,Pe,_e){pe.links.forEach(function(Me){if(!Me.circular&&Me.target.column-Me.source.column>1){var Se=Me.source.column+1,Ce=Me.target.column-1,ae=1,fe=Ce-Se+1;for(ae=1;Se<=Ce;Se++,ae++)pe.nodes.forEach(function(be){if(be.column==Se){var ke,Le=ae/(fe+1),Be=Math.pow(1-Le,3),ze=3*Le*Math.pow(1-Le,2),je=3*Math.pow(Le,2)*(1-Le),ge=Math.pow(Le,3),we=Be*Me.y0+ze*Me.y0+je*Me.y1+ge*Me.y1,Ee=we-Me.width/2,Ve=we+Me.width/2;Ee>be.y0&&Eest.y0&&Ye.y0st.y0&&Ye.y1st.y1)&&ie($e,ke,xe,Pe)})):(Ve>be.y0&&Vebe.y1)&&(ke=Ve-be.y0+10,be=ie(be,ke,xe,Pe),pe.nodes.forEach(function($e){b($e,_e)!=b(be,_e)&&$e.column==be.column&&$e.y0be.y1&&ie($e,ke,xe,Pe)}))}})}})}function ie(pe,xe,Pe,_e){return pe.y0+xe>=Pe&&pe.y1+xe<=_e&&(pe.y0=pe.y0+xe,pe.y1=pe.y1+xe,pe.targetLinks.forEach(function(Me){Me.y1=Me.y1+xe}),pe.sourceLinks.forEach(function(Me){Me.y0=Me.y0+xe})),pe}function oe(pe,xe,Pe,_e){pe.nodes.forEach(function(Me){_e&&Me.y+(Me.y1-Me.y0)>xe&&(Me.y=Me.y-(Me.y+(Me.y1-Me.y0)-xe));var Se=pe.links.filter(function(fe){return b(fe.source,Pe)==b(Me,Pe)}),Ce=Se.length;Ce>1&&Se.sort(function(fe,be){if(!fe.circular&&!be.circular){if(fe.target.column==be.target.column||!ce(fe,be))return fe.y1-be.y1;if(fe.target.column>be.target.column){var ke=Q(be,fe);return fe.y1-ke}if(be.target.column>fe.target.column)return Q(fe,be)-be.y1}return fe.circular&&!be.circular?fe.circularLinkType=="top"?-1:1:be.circular&&!fe.circular?be.circularLinkType=="top"?1:-1:fe.circular&&be.circular?fe.circularLinkType===be.circularLinkType&&fe.circularLinkType=="top"?fe.target.column===be.target.column?fe.target.y1-be.target.y1:be.target.column-fe.target.column:fe.circularLinkType===be.circularLinkType&&fe.circularLinkType=="bottom"?fe.target.column===be.target.column?be.target.y1-fe.target.y1:fe.target.column-be.target.column:fe.circularLinkType=="top"?-1:1:void 0});var ae=Me.y0;Se.forEach(function(fe){fe.y0=ae+fe.width/2,ae+=fe.width}),Se.forEach(function(fe,be){if(fe.circularLinkType=="bottom"){for(var ke=be+1,Le=0;ke1&&Me.sort(function(ae,fe){if(!ae.circular&&!fe.circular){if(ae.source.column==fe.source.column||!ce(ae,fe))return ae.y0-fe.y0;if(fe.source.column0?"up":"down"}function de(pe,xe){return b(pe.source,xe)==b(pe.target,xe)}function me(pe,xe,Pe){var _e=pe.nodes,Me=pe.links,Se=!1,Ce=!1;if(Me.forEach(function(be){be.circularLinkType=="top"?Se=!0:be.circularLinkType=="bottom"&&(Ce=!0)}),Se==0||Ce==0){var ae=(0,d.VV)(_e,function(be){return be.y0}),fe=(Pe-xe)/((0,d.Fp)(_e,function(be){return be.y1})-ae);_e.forEach(function(be){var ke=(be.y1-be.y0)*fe;be.y0=(be.y0-ae)*fe,be.y1=be.y0+ke}),Me.forEach(function(be){be.y0=(be.y0-ae)*fe,be.y1=(be.y1-ae)*fe,be.width=be.width*fe})}}},30838:function(T,p,t){t.r(p),t.d(p,{sankey:function(){return E},sankeyCenter:function(){return l},sankeyJustify:function(){return f},sankeyLeft:function(){return M},sankeyLinkHorizontal:function(){return b},sankeyRight:function(){return v}});var d=t(33064),g=t(15140);function i(R){return R.target.depth}function M(R){return R.depth}function v(R,I){return I-1-R.height}function f(R,I){return R.sourceLinks.length?R.depth:I-1}function l(R){return R.targetLinks.length?R.depth:R.sourceLinks.length?(0,d.VV)(R.sourceLinks,i)-1:0}function a(R){return function(){return R}}function u(R,I){return s(R.source,I.source)||R.index-I.index}function o(R,I){return s(R.target,I.target)||R.index-I.index}function s(R,I){return R.y0-I.y0}function h(R){return R.value}function c(R){return(R.y0+R.y1)/2}function m(R){return c(R.source)*R.value}function w(R){return c(R.target)*R.value}function y(R){return R.index}function C(R){return R.nodes}function _(R){return R.links}function k(R,I){var O=R.get(I);if(!O)throw new Error("missing: "+I);return O}function E(){var R=0,I=0,O=1,z=1,F=24,B=8,N=y,W=f,j=C,$=_,U=32;function G(){var X={nodes:j.apply(null,arguments),links:$.apply(null,arguments)};return q(X),H(X),ne(X),te(X),Z(X),X}function q(X){X.nodes.forEach(function(re,ie){re.index=ie,re.sourceLinks=[],re.targetLinks=[]});var Q=(0,g.UI)(X.nodes,N);X.links.forEach(function(re,ie){re.index=ie;var oe=re.source,ue=re.target;typeof oe!="object"&&(oe=re.source=k(Q,oe)),typeof ue!="object"&&(ue=re.target=k(Q,ue)),oe.sourceLinks.push(re),ue.targetLinks.push(re)})}function H(X){X.nodes.forEach(function(Q){Q.value=Math.max((0,d.Sm)(Q.sourceLinks,h),(0,d.Sm)(Q.targetLinks,h))})}function ne(X){var Q,re,ie;for(Q=X.nodes,re=[],ie=0;Q.length;++ie,Q=re,re=[])Q.forEach(function(ue){ue.depth=ie,ue.sourceLinks.forEach(function(ce){re.indexOf(ce.target)<0&&re.push(ce.target)})});for(Q=X.nodes,re=[],ie=0;Q.length;++ie,Q=re,re=[])Q.forEach(function(ue){ue.height=ie,ue.targetLinks.forEach(function(ce){re.indexOf(ce.source)<0&&re.push(ce.source)})});var oe=(O-R-F)/(ie-1);X.nodes.forEach(function(ue){ue.x1=(ue.x0=R+Math.max(0,Math.min(ie-1,Math.floor(W.call(null,ue,ie))))*oe)+F})}function te(X){var Q=(0,g.b1)().key(function(ye){return ye.x0}).sortKeys(d.j2).entries(X.nodes).map(function(ye){return ye.values});(function(){var ye=(0,d.Fp)(Q,function(pe){return pe.length}),de=.6666666666666666*(z-I)/(ye-1);B>de&&(B=de);var me=(0,d.VV)(Q,function(pe){return(z-I-(pe.length-1)*B)/(0,d.Sm)(pe,h)});Q.forEach(function(pe){pe.forEach(function(xe,Pe){xe.y1=(xe.y0=Pe)+xe.value*me})}),X.links.forEach(function(pe){pe.width=pe.value*me})})(),ce();for(var re=1,ie=U;ie>0;--ie)ue(re*=.99),ce(),oe(re),ce();function oe(ye){Q.forEach(function(de){de.forEach(function(me){if(me.targetLinks.length){var pe=((0,d.Sm)(me.targetLinks,m)/(0,d.Sm)(me.targetLinks,h)-c(me))*ye;me.y0+=pe,me.y1+=pe}})})}function ue(ye){Q.slice().reverse().forEach(function(de){de.forEach(function(me){if(me.sourceLinks.length){var pe=((0,d.Sm)(me.sourceLinks,w)/(0,d.Sm)(me.sourceLinks,h)-c(me))*ye;me.y0+=pe,me.y1+=pe}})})}function ce(){Q.forEach(function(ye){var de,me,pe,xe=I,Pe=ye.length;for(ye.sort(s),pe=0;pe0&&(de.y0+=me,de.y1+=me),xe=de.y1+B;if((me=xe-B-z)>0)for(xe=de.y0-=me,de.y1-=me,pe=Pe-2;pe>=0;--pe)(me=(de=ye[pe]).y1+B-xe)>0&&(de.y0-=me,de.y1-=me),xe=de.y0})}}function Z(X){X.nodes.forEach(function(Q){Q.sourceLinks.sort(o),Q.targetLinks.sort(u)}),X.nodes.forEach(function(Q){var re=Q.y0,ie=re;Q.sourceLinks.forEach(function(oe){oe.y0=re+oe.width/2,re+=oe.width}),Q.targetLinks.forEach(function(oe){oe.y1=ie+oe.width/2,ie+=oe.width})})}return G.update=function(X){return Z(X),X},G.nodeId=function(X){return arguments.length?(N=typeof X=="function"?X:a(X),G):N},G.nodeAlign=function(X){return arguments.length?(W=typeof X=="function"?X:a(X),G):W},G.nodeWidth=function(X){return arguments.length?(F=+X,G):F},G.nodePadding=function(X){return arguments.length?(B=+X,G):B},G.nodes=function(X){return arguments.length?(j=typeof X=="function"?X:a(X),G):j},G.links=function(X){return arguments.length?($=typeof X=="function"?X:a(X),G):$},G.size=function(X){return arguments.length?(R=I=0,O=+X[0],z=+X[1],G):[O-R,z-I]},G.extent=function(X){return arguments.length?(R=+X[0][0],O=+X[1][0],I=+X[0][1],z=+X[1][1],G):[[R,I],[O,z]]},G.iterations=function(X){return arguments.length?(U=+X,G):U},G}var x=t(45879);function A(R){return[R.source.x1,R.y0]}function L(R){return[R.target.x0,R.y1]}function b(){return(0,x.h5)().source(A).target(L)}},39898:function(T,p,t){var d,g;(function(){var i={version:"3.8.0"},M=[].slice,v=function(se){return M.call(se)},f=self.document;function l(se){return se&&(se.ownerDocument||se.document||se).documentElement}function a(se){return se&&(se.ownerDocument&&se.ownerDocument.defaultView||se.document&&se||se.defaultView)}if(f)try{v(f.documentElement.childNodes)[0].nodeType}catch{v=function(ve){for(var Ie=ve.length,Fe=new Array(Ie);Ie--;)Fe[Ie]=ve[Ie];return Fe}}if(Date.now||(Date.now=function(){return+new Date}),f)try{f.createElement("DIV").style.setProperty("opacity",0,"")}catch{var u=this.Element.prototype,o=u.setAttribute,s=u.setAttributeNS,h=this.CSSStyleDeclaration.prototype,c=h.setProperty;u.setAttribute=function(ve,Ie){o.call(this,ve,Ie+"")},u.setAttributeNS=function(ve,Ie,Fe){s.call(this,ve,Ie,Fe+"")},h.setProperty=function(ve,Ie,Fe){c.call(this,ve,Ie+"",Fe)}}function m(se,ve){return seve?1:se>=ve?0:NaN}function w(se){return se===null?NaN:+se}function y(se){return!isNaN(se)}function C(se){return{left:function(ve,Ie,Fe,Ue){for(arguments.length<3&&(Fe=0),arguments.length<4&&(Ue=ve.length);Fe>>1;se(ve[We],Ie)<0?Fe=We+1:Ue=We}return Fe},right:function(ve,Ie,Fe,Ue){for(arguments.length<3&&(Fe=0),arguments.length<4&&(Ue=ve.length);Fe>>1;se(ve[We],Ie)>0?Ue=We:Fe=We+1}return Fe}}}i.ascending=m,i.descending=function(se,ve){return vese?1:ve>=se?0:NaN},i.min=function(se,ve){var Ie,Fe,Ue=-1,We=se.length;if(arguments.length===1){for(;++Ue=Fe){Ie=Fe;break}for(;++UeFe&&(Ie=Fe)}else{for(;++Ue=Fe){Ie=Fe;break}for(;++UeFe&&(Ie=Fe)}return Ie},i.max=function(se,ve){var Ie,Fe,Ue=-1,We=se.length;if(arguments.length===1){for(;++Ue=Fe){Ie=Fe;break}for(;++UeIe&&(Ie=Fe)}else{for(;++Ue=Fe){Ie=Fe;break}for(;++UeIe&&(Ie=Fe)}return Ie},i.extent=function(se,ve){var Ie,Fe,Ue,We=-1,Xe=se.length;if(arguments.length===1){for(;++We=Fe){Ie=Ue=Fe;break}for(;++WeFe&&(Ie=Fe),Ue=Fe){Ie=Ue=Fe;break}for(;++WeFe&&(Ie=Fe),Ue1)return Xe/(lt-1)},i.deviation=function(){var se=i.variance.apply(this,arguments);return se&&Math.sqrt(se)};var _=C(m);function k(se){return se.length}i.bisectLeft=_.left,i.bisect=i.bisectRight=_.right,i.bisector=function(se){return C(se.length===1?function(ve,Ie){return m(se(ve),Ie)}:se)},i.shuffle=function(se,ve,Ie){(We=arguments.length)<3&&(Ie=se.length,We<2&&(ve=0));for(var Fe,Ue,We=Ie-ve;We;)Ue=Math.random()*We--|0,Fe=se[We+ve],se[We+ve]=se[Ue+ve],se[Ue+ve]=Fe;return se},i.permute=function(se,ve){for(var Ie=ve.length,Fe=new Array(Ie);Ie--;)Fe[Ie]=se[ve[Ie]];return Fe},i.pairs=function(se){for(var ve=0,Ie=se.length-1,Fe=se[0],Ue=new Array(Ie<0?0:Ie);ve=0;)for(ve=(Fe=se[Ue]).length;--ve>=0;)Ie[--Xe]=Fe[ve];return Ie};var E=Math.abs;function x(se){for(var ve=1;se*ve%1;)ve*=10;return ve}function A(se,ve){for(var Ie in ve)Object.defineProperty(se.prototype,Ie,{value:ve[Ie],enumerable:!1})}function L(){this._=Object.create(null)}function b(se){return(se+="")=="__proto__"||se[0]==="\0"?"\0"+se:se}function R(se){return(se+="")[0]==="\0"?se.slice(1):se}function I(se){return b(se)in this._}function O(se){return(se=b(se))in this._&&delete this._[se]}function z(){var se=[];for(var ve in this._)se.push(R(ve));return se}function F(){var se=0;for(var ve in this._)++se;return se}function B(){for(var se in this._)return!1;return!0}function N(){this._=Object.create(null)}function W(se){return se}function j(se,ve,Ie){return function(){var Fe=Ie.apply(ve,arguments);return Fe===ve?se:Fe}}function $(se,ve){if(ve in se)return ve;ve=ve.charAt(0).toUpperCase()+ve.slice(1);for(var Ie=0,Fe=U.length;Ieve;)Ue.push(Fe/We);else for(;(Fe=se+Ie*++Xe)=Fe.length)return ve?ve.call(Ie,lt):se?lt.sort(se):lt;for(var zt,Ut,Ht,en,vn=-1,tn=lt.length,ln=Fe[mt++],an=new L;++vn=Fe.length)return tt;var mt=[],zt=Ue[lt++];return tt.forEach(function(Ut,Ht){mt.push({key:Ut,values:Xe(Ht,lt)})}),zt?mt.sort(function(Ut,Ht){return zt(Ut.key,Ht.key)}):mt}return Ie.map=function(tt,lt){return We(lt,tt,0)},Ie.entries=function(tt){return Xe(We(i.map,tt,0),0)},Ie.key=function(tt){return Fe.push(tt),Ie},Ie.sortKeys=function(tt){return Ue[Fe.length-1]=tt,Ie},Ie.sortValues=function(tt){return se=tt,Ie},Ie.rollup=function(tt){return ve=tt,Ie},Ie},i.set=function(se){var ve=new N;if(se)for(var Ie=0,Fe=se.length;Ie=0&&(Fe=se.slice(Ie+1),se=se.slice(0,Ie)),se)return arguments.length<2?this[se].on(Fe):this[se].on(Fe,ve);if(arguments.length===2){if(ve==null)for(se in this)this.hasOwnProperty(se)&&this[se].on(Fe,null);return this}},i.event=null,i.requote=function(se){return se.replace(X,"\\$&")};var X=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,Q={}.__proto__?function(se,ve){se.__proto__=ve}:function(se,ve){for(var Ie in ve)se[Ie]=ve[Ie]};function re(se){return Q(se,ce),se}var ie=function(se,ve){return ve.querySelector(se)},oe=function(se,ve){return ve.querySelectorAll(se)},ue=function(se,ve){var Ie=se.matches||se[$(se,"matchesSelector")];return ue=function(Fe,Ue){return Ie.call(Fe,Ue)},ue(se,ve)};typeof Sizzle=="function"&&(ie=function(se,ve){return Sizzle(se,ve)[0]||null},oe=Sizzle,ue=Sizzle.matchesSelector),i.selection=function(){return i.select(f.documentElement)};var ce=i.selection.prototype=[];function ye(se){return typeof se=="function"?se:function(){return ie(se,this)}}function de(se){return typeof se=="function"?se:function(){return oe(se,this)}}ce.select=function(se){var ve,Ie,Fe,Ue,We=[];se=ye(se);for(var Xe=-1,tt=this.length;++Xe=0&&(Ie=se.slice(0,ve))!=="xmlns"&&(se=se.slice(ve+1)),pe.hasOwnProperty(Ie)?{space:pe[Ie],local:se}:se}},ce.attr=function(se,ve){if(arguments.length<2){if(typeof se=="string"){var Ie=this.node();return(se=i.ns.qualify(se)).local?Ie.getAttributeNS(se.space,se.local):Ie.getAttribute(se)}for(ve in se)this.each(xe(ve,se[ve]));return this}return this.each(xe(se,ve))},ce.classed=function(se,ve){if(arguments.length<2){if(typeof se=="string"){var Ie=this.node(),Fe=(se=Me(se)).length,Ue=-1;if(ve=Ie.classList){for(;++Ue=0;)(Ie=Fe[Ue])&&(We&&We!==Ie.nextSibling&&We.parentNode.insertBefore(Ie,We),We=Ie);return this},ce.sort=function(se){se=ze.apply(this,arguments);for(var ve=-1,Ie=this.length;++ve=ve&&(ve=Ue+1);!(Xe=tt[ve])&&++ve0&&(se=se.slice(0,Ue));var Xe=$e.get(se);function tt(){var lt=this[Fe];lt&&(this.removeEventListener(se,lt,lt.$),delete this[Fe])}return Xe&&(se=Xe,We=st),Ue?ve?function(){var lt=We(ve,v(arguments));tt.call(this),this.addEventListener(se,this[Fe]=lt,lt.$=Ie),lt._=ve}:tt:ve?G:function(){var lt,mt=new RegExp("^__on([^.]+)"+i.requote(se)+"$");for(var zt in this)if(lt=zt.match(mt)){var Ut=this[zt];this.removeEventListener(lt[1],Ut,Ut.$),delete this[zt]}}}i.selection.enter=ge,i.selection.enter.prototype=we,we.append=ce.append,we.empty=ce.empty,we.node=ce.node,we.call=ce.call,we.size=ce.size,we.select=function(se){for(var ve,Ie,Fe,Ue,We,Xe=[],tt=-1,lt=this.length;++tt1?Vt:se<-1?-Vt:Math.asin(se)}function nt(se){return((se=Math.exp(se))+1/se)/2}var ft=Math.SQRT2;i.interpolateZoom=function(se,ve){var Ie,Fe,Ue=se[0],We=se[1],Xe=se[2],tt=ve[0],lt=ve[1],mt=ve[2],zt=tt-Ue,Ut=lt-We,Ht=zt*zt+Ut*Ut;if(Ht<1e-12)Fe=Math.log(mt/Xe)/ft,Ie=function(Cn){return[Ue+Cn*zt,We+Cn*Ut,Xe*Math.exp(ft*Cn*Fe)]};else{var en=Math.sqrt(Ht),vn=(mt*mt-Xe*Xe+4*Ht)/(2*Xe*2*en),tn=(mt*mt-Xe*Xe-4*Ht)/(2*mt*2*en),ln=Math.log(Math.sqrt(vn*vn+1)-vn),an=Math.log(Math.sqrt(tn*tn+1)-tn);Fe=(an-ln)/ft,Ie=function(Cn){var _n,on=Cn*Fe,Fn=nt(ln),Hn=Xe/(2*en)*(Fn*(_n=ft*on+ln,((_n=Math.exp(2*_n))-1)/(_n+1))-function(ir){return((ir=Math.exp(ir))-1/ir)/2}(ln));return[Ue+Hn*zt,We+Hn*Ut,Xe*Fn/nt(ft*on+ln)]}}return Ie.duration=1e3*Fe,Ie},i.behavior.zoom=function(){var se,ve,Ie,Fe,Ue,We,Xe,tt,lt,mt={x:0,y:0,k:1},zt=[960,500],Ut=Qe,Ht=250,en=0,vn="mousedown.zoom",tn="mousemove.zoom",ln="mouseup.zoom",an="touchstart.zoom",Cn=Z(_n,"zoomstart","zoom","zoomend");function _n(wr){wr.on(vn,kr).on(Ne+".zoom",fi).on("dblclick.zoom",di).on(an,jr)}function on(wr){return[(wr[0]-mt.x)/mt.k,(wr[1]-mt.y)/mt.k]}function Fn(wr){mt.k=Math.max(Ut[0],Math.min(Ut[1],wr))}function Hn(wr,Ur){Ur=function(oi){return[oi[0]*mt.k+mt.x,oi[1]*mt.k+mt.y]}(Ur),mt.x+=wr[0]-Ur[0],mt.y+=wr[1]-Ur[1]}function ir(wr,Ur,oi,ai){wr.__chart__={x:mt.x,y:mt.y,k:mt.k},Fn(Math.pow(2,ai)),Hn(ve=Ur,oi),wr=i.select(wr),Ht>0&&(wr=wr.transition().duration(Ht)),wr.call(_n.event)}function ar(){Xe&&Xe.domain(We.range().map(function(wr){return(wr-mt.x)/mt.k}).map(We.invert)),lt&<.domain(tt.range().map(function(wr){return(wr-mt.y)/mt.k}).map(tt.invert))}function Mr(wr){en++||wr({type:"zoomstart"})}function Er(wr){ar(),wr({type:"zoom",scale:mt.k,translate:[mt.x,mt.y]})}function xr(wr){--en||(wr({type:"zoomend"}),ve=null)}function kr(){var wr=this,Ur=Cn.of(wr,arguments),oi=0,ai=i.select(a(wr)).on(tn,Ni).on(ln,ta),Ii=on(i.mouse(wr)),vi=bt(wr);function Ni(){oi=1,Hn(i.mouse(wr),Ii),Er(Ur)}function ta(){ai.on(tn,null).on(ln,null),vi(oi),xr(Ur)}la.call(wr),Mr(Ur)}function jr(){var wr,Ur=this,oi=Cn.of(Ur,arguments),ai={},Ii=0,vi=".zoom-"+i.event.changedTouches[0].identifier,Ni="touchmove"+vi,ta="touchend"+vi,pa=[],ua=i.select(Ur),Qi=bt(Ur);function na(){var Za=i.touches(Ur);return wr=mt.k,Za.forEach(function(li){li.identifier in ai&&(ai[li.identifier]=on(li))}),Za}function ca(){var Za=i.event.target;i.select(Za).on(Ni,Ia).on(ta,zl),pa.push(Za);for(var li=i.event.changedTouches,fo=0,_o=li.length;fo<_o;++fo)ai[li[fo].identifier]=null;var Aa=na(),Ps=Date.now();if(Aa.length===1){if(Ps-Ue<500){var Ri=Aa[0];ir(Ur,Ri,ai[Ri.identifier],Math.floor(Math.log(mt.k)/Math.LN2)+1),ne()}Ue=Ps}else if(Aa.length>1){Ri=Aa[0];var Xa=Aa[1],jo=Ri[0]-Xa[0],Kc=Ri[1]-Xa[1];Ii=jo*jo+Kc*Kc}}function Ia(){var Za,li,fo,_o,Aa=i.touches(Ur);la.call(Ur);for(var Ps=0,Ri=Aa.length;Ps360?tt-=360:tt<0&&(tt+=360),tt<60?Fe+(Ue-Fe)*tt/60:tt<180?Ue:tt<240?Fe+(Ue-Fe)*(240-tt)/60:Fe}(Xe))}return se=isNaN(se)?0:(se%=360)<0?se+360:se,ve=isNaN(ve)||ve<0?0:ve>1?1:ve,Fe=2*(Ie=Ie<0?0:Ie>1?1:Ie)-(Ue=Ie<=.5?Ie*(1+ve):Ie+ve-Ie*ve),new An(We(se+120),We(se),We(se-120))}function Lt(se,ve,Ie){return this instanceof Lt?(this.h=+se,this.c=+ve,void(this.l=+Ie)):arguments.length<2?se instanceof Lt?new Lt(se.h,se.c,se.l):Qt(se instanceof wt?se.l:(se=Dn((se=i.rgb(se)).r,se.g,se.b)).l,se.a,se.b):new Lt(se,ve,Ie)}_t.brighter=function(se){return se=Math.pow(.7,arguments.length?se:1),new dt(this.h,this.s,this.l/se)},_t.darker=function(se){return se=Math.pow(.7,arguments.length?se:1),new dt(this.h,this.s,se*this.l)},_t.rgb=function(){return It(this.h,this.s,this.l)},i.hcl=Lt;var yt=Lt.prototype=new ut;function Pt(se,ve,Ie){return isNaN(se)&&(se=0),isNaN(ve)&&(ve=0),new wt(Ie,Math.cos(se*=Ke)*ve,Math.sin(se)*ve)}function wt(se,ve,Ie){return this instanceof wt?(this.l=+se,this.a=+ve,void(this.b=+Ie)):arguments.length<2?se instanceof wt?new wt(se.l,se.a,se.b):se instanceof Lt?Pt(se.h,se.c,se.l):Dn((se=An(se)).r,se.g,se.b):new wt(se,ve,Ie)}yt.brighter=function(se){return new Lt(this.h,this.c,Math.min(100,this.l+Rt*(arguments.length?se:1)))},yt.darker=function(se){return new Lt(this.h,this.c,Math.max(0,this.l-Rt*(arguments.length?se:1)))},yt.rgb=function(){return Pt(this.h,this.c,this.l).rgb()},i.lab=wt;var Rt=18,Nt=.95047,Yt=1.08883,Wt=wt.prototype=new ut;function Xt(se,ve,Ie){var Fe=(se+16)/116,Ue=Fe+ve/500,We=Fe-Ie/200;return new An(un(3.2404542*(Ue=rn(Ue)*Nt)-1.5371385*(Fe=1*rn(Fe))-.4985314*(We=rn(We)*Yt)),un(-.969266*Ue+1.8760108*Fe+.041556*We),un(.0556434*Ue-.2040259*Fe+1.0572252*We))}function Qt(se,ve,Ie){return se>0?new Lt(Math.atan2(Ie,ve)*Je,Math.sqrt(ve*ve+Ie*Ie),se):new Lt(NaN,NaN,se)}function rn(se){return se>.206893034?se*se*se:(se-.13793103448275862)/7.787037}function xn(se){return se>.008856?Math.pow(se,.3333333333333333):7.787037*se+.13793103448275862}function un(se){return Math.round(255*(se<=.00304?12.92*se:1.055*Math.pow(se,.4166666666666667)-.055))}function An(se,ve,Ie){return this instanceof An?(this.r=~~se,this.g=~~ve,void(this.b=~~Ie)):arguments.length<2?se instanceof An?new An(se.r,se.g,se.b):dn(""+se,An,It):new An(se,ve,Ie)}function Yn(se){return new An(se>>16,se>>8&255,255&se)}function kn(se){return Yn(se)+""}Wt.brighter=function(se){return new wt(Math.min(100,this.l+Rt*(arguments.length?se:1)),this.a,this.b)},Wt.darker=function(se){return new wt(Math.max(0,this.l-Rt*(arguments.length?se:1)),this.a,this.b)},Wt.rgb=function(){return Xt(this.l,this.a,this.b)},i.rgb=An;var sn=An.prototype=new ut;function Tn(se){return se<16?"0"+Math.max(0,se).toString(16):Math.min(255,se).toString(16)}function dn(se,ve,Ie){var Fe,Ue,We,Xe=0,tt=0,lt=0;if(Fe=/([a-z]+)\((.*)\)/.exec(se=se.toLowerCase()))switch(Ue=Fe[2].split(","),Fe[1]){case"hsl":return Ie(parseFloat(Ue[0]),parseFloat(Ue[1])/100,parseFloat(Ue[2])/100);case"rgb":return ve(jn(Ue[0]),jn(Ue[1]),jn(Ue[2]))}return(We=Gn.get(se))?ve(We.r,We.g,We.b):(se==null||se.charAt(0)!=="#"||isNaN(We=parseInt(se.slice(1),16))||(se.length===4?(Xe=(3840&We)>>4,Xe|=Xe>>4,tt=240&We,tt|=tt>>4,lt=15&We,lt|=lt<<4):se.length===7&&(Xe=(16711680&We)>>16,tt=(65280&We)>>8,lt=255&We)),ve(Xe,tt,lt))}function pn(se,ve,Ie){var Fe,Ue,We=Math.min(se/=255,ve/=255,Ie/=255),Xe=Math.max(se,ve,Ie),tt=Xe-We,lt=(Xe+We)/2;return tt?(Ue=lt<.5?tt/(Xe+We):tt/(2-Xe-We),Fe=se==Xe?(ve-Ie)/tt+(ve0&<<1?0:Fe),new dt(Fe,Ue,lt)}function Dn(se,ve,Ie){var Fe=xn((.4124564*(se=In(se))+.3575761*(ve=In(ve))+.1804375*(Ie=In(Ie)))/Nt),Ue=xn((.2126729*se+.7151522*ve+.072175*Ie)/1);return wt(116*Ue-16,500*(Fe-Ue),200*(Ue-xn((.0193339*se+.119192*ve+.9503041*Ie)/Yt)))}function In(se){return(se/=255)<=.04045?se/12.92:Math.pow((se+.055)/1.055,2.4)}function jn(se){var ve=parseFloat(se);return se.charAt(se.length-1)==="%"?Math.round(2.55*ve):ve}sn.brighter=function(se){se=Math.pow(.7,arguments.length?se:1);var ve=this.r,Ie=this.g,Fe=this.b,Ue=30;return ve||Ie||Fe?(ve&&ve=200&&Ut<300||Ut===304){try{zt=Ie.call(Ue,tt)}catch(Ht){return void We.error.call(Ue,Ht)}We.load.call(Ue,zt)}else We.error.call(Ue,tt)}return self.XDomainRequest&&!("withCredentials"in tt)&&/^(http(s)?:)?\/\//.test(se)&&(tt=new XDomainRequest),"onload"in tt?tt.onload=tt.onerror=mt:tt.onreadystatechange=function(){tt.readyState>3&&mt()},tt.onprogress=function(zt){var Ut=i.event;i.event=zt;try{We.progress.call(Ue,tt)}finally{i.event=Ut}},Ue.header=function(zt,Ut){return zt=(zt+"").toLowerCase(),arguments.length<2?Xe[zt]:(Ut==null?delete Xe[zt]:Xe[zt]=Ut+"",Ue)},Ue.mimeType=function(zt){return arguments.length?(ve=zt==null?null:zt+"",Ue):ve},Ue.responseType=function(zt){return arguments.length?(lt=zt,Ue):lt},Ue.response=function(zt){return Ie=zt,Ue},["get","post"].forEach(function(zt){Ue[zt]=function(){return Ue.send.apply(Ue,[zt].concat(v(arguments)))}}),Ue.send=function(zt,Ut,Ht){if(arguments.length===2&&typeof Ut=="function"&&(Ht=Ut,Ut=null),tt.open(zt,se,!0),ve==null||"accept"in Xe||(Xe.accept=ve+",*/*"),tt.setRequestHeader)for(var en in Xe)tt.setRequestHeader(en,Xe[en]);return ve!=null&&tt.overrideMimeType&&tt.overrideMimeType(ve),lt!=null&&(tt.responseType=lt),Ht!=null&&Ue.on("error",Ht).on("load",function(vn){Ht(null,vn)}),We.beforesend.call(Ue,tt),tt.send(Ut??null),Ue},Ue.abort=function(){return tt.abort(),Ue},i.rebind(Ue,We,"on"),Fe==null?Ue:Ue.get(function(zt){return zt.length===1?function(Ut,Ht){zt(Ut==null?Ht:null)}:zt}(Fe))}Gn.forEach(function(se,ve){Gn.set(se,Yn(ve))}),i.functor=qn,i.xhr=lr(W),i.dsv=function(se,ve){var Ie=new RegExp('["'+se+` -]`),Fe=se.charCodeAt(0);function Ue(mt,zt,Ut){arguments.length<3&&(Ut=zt,zt=null);var Ht=rr(mt,ve,zt==null?We:Xe(zt),Ut);return Ht.row=function(en){return arguments.length?Ht.response((zt=en)==null?We:Xe(en)):zt},Ht}function We(mt){return Ue.parse(mt.responseText)}function Xe(mt){return function(zt){return Ue.parse(zt.responseText,mt)}}function tt(mt){return mt.map(lt).join(se)}function lt(mt){return Ie.test(mt)?'"'+mt.replace(/\"/g,'""')+'"':mt}return Ue.parse=function(mt,zt){var Ut;return Ue.parseRows(mt,function(Ht,en){if(Ut)return Ut(Ht,en-1);var vn=function(tn){for(var ln={},an=Ht.length,Cn=0;Cn=ln)return vn;if(Ht)return Ht=!1,en;var Fn=an;if(mt.charCodeAt(Fn)===34){for(var Hn=Fn;Hn++24?(isFinite(ve)&&(clearTimeout(vr),vr=setTimeout(bn,ve)),or=0):(or=1,_r(bn))}function Rn(){for(var se=Date.now(),ve=Sr;ve;)se>=ve.t&&ve.c(se-ve.t)&&(ve.c=null),ve=ve.n;return se}function Ln(){for(var se,ve=Sr,Ie=1/0;ve;)ve.c?(ve.t1&&(ve=se[We[Xe-2]],Ie=se[We[Xe-1]],Fe=se[tt],(Ie[0]-ve[0])*(Fe[1]-ve[1])-(Ie[1]-ve[1])*(Fe[0]-ve[0])<=0);)--Xe;We[Xe++]=tt}return We.slice(0,Xe)}function tr(se,ve){return se[0]-ve[0]||se[1]-ve[1]}i.timer=function(){Kt.apply(this,arguments)},i.timer.flush=function(){Rn(),Ln()},i.round=function(se,ve){return ve?Math.round(se*(ve=Math.pow(10,ve)))/ve:Math.round(se)},i.geom={},i.geom.hull=function(se){var ve=Un,Ie=Kn;if(arguments.length)return Fe(se);function Fe(Ue){if(Ue.length<3)return[];var We,Xe=qn(ve),tt=qn(Ie),lt=Ue.length,mt=[],zt=[];for(We=0;We=0;--We)tn.push(Ue[mt[Ut[We]][2]]);for(We=+en;WeFt)tt=tt.L;else{if(!((Ue=We-Qn(tt,Xe))>Ft)){Fe>-Ft?(ve=tt.P,Ie=tt):Ue>-Ft?(ve=tt,Ie=tt.N):ve=Ie=tt;break}if(!tt.R){ve=tt;break}tt=tt.R}var lt=yn(se);if(zn.insert(ve,lt),ve||Ie){if(ve===Ie)return br(ve),Ie=yn(ve.site),zn.insert(lt,Ie),lt.edge=Ie.edge=zr(ve.site,lt.site),dr(ve),void dr(Ie);if(Ie){br(ve),br(Ie);var mt=ve.site,zt=mt.x,Ut=mt.y,Ht=se.x-zt,en=se.y-Ut,vn=Ie.site,tn=vn.x-zt,ln=vn.y-Ut,an=2*(Ht*ln-en*tn),Cn=Ht*Ht+en*en,_n=tn*tn+ln*ln,on={x:(ln*Cn-en*_n)/an+zt,y:(Ht*_n-tn*Cn)/an+Ut};gr(Ie.edge,mt,vn,on),lt.edge=zr(mt,se,null,on),Ie.edge=zr(se,vn,null,on),dr(ve),dr(Ie)}else lt.edge=zr(ve.site,lt.site)}}function nr(se,ve){var Ie=se.site,Fe=Ie.x,Ue=Ie.y,We=Ue-ve;if(!We)return Fe;var Xe=se.P;if(!Xe)return-1/0;var tt=(Ie=Xe.site).x,lt=Ie.y,mt=lt-ve;if(!mt)return tt;var zt=tt-Fe,Ut=1/We-1/mt,Ht=zt/mt;return Ut?(-Ht+Math.sqrt(Ht*Ht-2*Ut*(zt*zt/(-2*mt)-lt+mt/2+Ue-We/2)))/Ut+Fe:(Fe+tt)/2}function Qn(se,ve){var Ie=se.N;if(Ie)return nr(Ie,ve);var Fe=se.site;return Fe.y===ve?Fe.x:1/0}function hr(se){this.site=se,this.edges=[]}function cr(se,ve){return ve.angle-se.angle}function pr(){ji(this),this.x=this.y=this.arc=this.site=this.cy=null}function dr(se){var ve=se.P,Ie=se.N;if(ve&&Ie){var Fe=ve.site,Ue=se.site,We=Ie.site;if(Fe!==We){var Xe=Ue.x,tt=Ue.y,lt=Fe.x-Xe,mt=Fe.y-tt,zt=We.x-Xe,Ut=2*(lt*(ln=We.y-tt)-mt*zt);if(!(Ut>=-1e-12)){var Ht=lt*lt+mt*mt,en=zt*zt+ln*ln,vn=(ln*Ht-mt*en)/Ut,tn=(lt*en-zt*Ht)/Ut,ln=tn+tt,an=wn.pop()||new pr;an.arc=se,an.site=Ue,an.x=vn+Xe,an.y=ln+Math.sqrt(vn*vn+tn*tn),an.cy=ln,se.circle=an;for(var Cn=null,_n=En._;_n;)if(an.y<_n.y||an.y===_n.y&&an.x<=_n.x){if(!_n.L){Cn=_n.P;break}_n=_n.L}else{if(!_n.R){Cn=_n;break}_n=_n.R}En.insert(Cn,an),Cn||(On=an)}}}}function br(se){var ve=se.circle;ve&&(ve.P||(On=ve.N),En.remove(ve),wn.push(ve),ji(ve),se.circle=null)}function Rr(se,ve){var Ie=se.b;if(Ie)return!0;var Fe,Ue,We=se.a,Xe=ve[0][0],tt=ve[1][0],lt=ve[0][1],mt=ve[1][1],zt=se.l,Ut=se.r,Ht=zt.x,en=zt.y,vn=Ut.x,tn=Ut.y,ln=(Ht+vn)/2,an=(en+tn)/2;if(tn===en){if(ln=tt)return;if(Ht>vn){if(We){if(We.y>=mt)return}else We={x:ln,y:lt};Ie={x:ln,y:mt}}else{if(We){if(We.y1)if(Ht>vn){if(We){if(We.y>=mt)return}else We={x:(lt-Ue)/Fe,y:lt};Ie={x:(mt-Ue)/Fe,y:mt}}else{if(We){if(We.y=tt)return}else We={x:Xe,y:Fe*Xe+Ue};Ie={x:tt,y:Fe*tt+Ue}}else{if(We){if(We.x0)){if(an/=ar,ar<0){if(an0){if(an>ir)return;an>Hn&&(Hn=an)}if(an=Ut-on,ar||!(an<0)){if(an/=ar,ar<0){if(an>ir)return;an>Hn&&(Hn=an)}else if(ar>0){if(an0)){if(an/=Mr,Mr<0){if(an0){if(an>ir)return;an>Hn&&(Hn=an)}if(an=Ht-Fn,Mr||!(an<0)){if(an/=Mr,Mr<0){if(an>ir)return;an>Hn&&(Hn=an)}else if(Mr>0){if(an0&&(ln.a={x:on+Hn*ar,y:Fn+Hn*Mr}),ir<1&&(ln.b={x:on+ir*ar,y:Fn+ir*Mr}),ln}}}}}),tn=en.length;tn--;)(!Rr(lt=en[tn],tt)||!vn(lt)||E(lt.a.x-lt.b.x)Ft||E(Ut-mt)>Ft)&&(vn.splice(en,0,new Fr((ar=Ht.site,Mr=an,Er=E(zt-Cn)Ft?{x:Cn,y:E(lt-Cn)Ft?{x:E(mt-Fn)Ft?{x:_n,y:E(lt-_n)Ft?{x:E(mt-on)=zt&&an.x<=Ht&&an.y>=Ut&&an.y<=en?[[zt,en],[Ht,en],[Ht,Ut],[zt,Ut]]:[]).point=lt[tn]}),mt}function tt(lt){return lt.map(function(mt,zt){return{x:Math.round(Fe(mt,zt)/Ft)*Ft,y:Math.round(Ue(mt,zt)/Ft)*Ft,i:zt}})}return Xe.links=function(lt){return La(tt(lt)).edges.filter(function(mt){return mt.l&&mt.r}).map(function(mt){return{source:lt[mt.l.i],target:lt[mt.r.i]}})},Xe.triangles=function(lt){var mt=[];return La(tt(lt)).cells.forEach(function(zt,Ut){for(var Ht,en,vn,tn,ln=zt.site,an=zt.edges.sort(cr),Cn=-1,_n=an.length,on=an[_n-1].edge,Fn=on.l===ln?on.r:on.l;++Cn<_n;)Ht=Fn,Fn=(on=an[Cn].edge).l===ln?on.r:on.l,UtWe||Ht>Xe||en=Hn)<<1|ve>=Fn,ar=ir+4;irWe&&(Ue=ve.slice(We,Ue),tt[Xe]?tt[Xe]+=Ue:tt[++Xe]=Ue),(Ie=Ie[0])===(Fe=Fe[0])?tt[Xe]?tt[Xe]+=Fe:tt[++Xe]=Fe:(tt[++Xe]=null,lt.push({i:Xe,x:is(Ie,Fe)})),We=hc.lastIndex;return Wean&&(an=zt.x),zt.y>Cn&&(Cn=zt.y),Ut.push(zt.x),Ht.push(zt.y);else for(en=0;enan&&(an=Fn),Hn>Cn&&(Cn=Hn),Ut.push(Fn),Ht.push(Hn)}var ir=an-tn,ar=Cn-ln;function Mr(kr,jr,fi,di,wr,Ur,oi,ai){if(!isNaN(fi)&&!isNaN(di))if(kr.leaf){var Ii=kr.x,vi=kr.y;if(Ii!=null)if(E(Ii-fi)+E(vi-di)<.01)Er(kr,jr,fi,di,wr,Ur,oi,ai);else{var Ni=kr.point;kr.x=kr.y=kr.point=null,Er(kr,Ni,Ii,vi,wr,Ur,oi,ai),Er(kr,jr,fi,di,wr,Ur,oi,ai)}else kr.x=fi,kr.y=di,kr.point=jr}else Er(kr,jr,fi,di,wr,Ur,oi,ai)}function Er(kr,jr,fi,di,wr,Ur,oi,ai){var Ii=.5*(wr+oi),vi=.5*(Ur+ai),Ni=fi>=Ii,ta=di>=vi,pa=ta<<1|Ni;kr.leaf=!1,Ni?wr=Ii:oi=Ii,ta?Ur=vi:ai=vi,Mr(kr=kr.nodes[pa]||(kr.nodes[pa]={leaf:!0,nodes:[],point:null,x:null,y:null}),jr,fi,di,wr,Ur,oi,ai)}ir>ar?Cn=ln+ir:an=tn+ar;var xr={leaf:!0,nodes:[],point:null,x:null,y:null,add:function(kr){Mr(xr,kr,+_n(kr,++en),+on(kr,en),tn,ln,an,Cn)},visit:function(kr){Cu(kr,xr,tn,ln,an,Cn)},find:function(kr){return gf(xr,kr[0],kr[1],tn,ln,an,Cn)}};if(en=-1,ve==null){for(;++en=0&&!(Ie=i.interpolators[Fe](se,ve)););return Ie}function as(se,ve){var Ie,Fe=[],Ue=[],We=se.length,Xe=ve.length,tt=Math.min(se.length,ve.length);for(Ie=0;Ie=1?1:se(ve)}}function Es(se){return function(ve){return 1-se(1-ve)}}function js(se){return function(ve){return .5*(ve<.5?se(2*ve):2-se(2-2*ve))}}function fc(se){return se*se}function vf(se){return se*se*se}function tl(se){if(se<=0)return 0;if(se>=1)return 1;var ve=se*se,Ie=ve*se;return 4*(se<.5?Ie:3*(se-ve)+Ie-.75)}function yf(se){return 1-Math.cos(se*Vt)}function bf(se){return Math.pow(2,10*(se-1))}function id(se){return 1-Math.sqrt(1-se*se)}function Sh(se){return se<.36363636363636365?7.5625*se*se:se<.7272727272727273?7.5625*(se-=.5454545454545454)*se+.75:se<.9090909090909091?7.5625*(se-=.8181818181818182)*se+.9375:7.5625*(se-=.9545454545454546)*se+.984375}function xf(se,ve){return ve-=se,function(Ie){return Math.round(se+ve*Ie)}}function Ch(se){var ve,Ie,Fe,Ue=[se.a,se.b],We=[se.c,se.d],Xe=rl(Ue),tt=nl(Ue,We),lt=rl(((ve=We)[0]+=(Fe=-tt)*(Ie=Ue)[0],ve[1]+=Fe*Ie[1],ve))||0;Ue[0]*We[1]=0?se.slice(0,ve):se,Fe=ve>=0?se.slice(ve+1):"in";return Ie=Ui.get(Ie)||Al,ps((Fe=Sl.get(Fe)||W)(Ie.apply(null,M.call(arguments,1))))},i.interpolateHcl=function(se,ve){se=i.hcl(se),ve=i.hcl(ve);var Ie=se.h,Fe=se.c,Ue=se.l,We=ve.h-Ie,Xe=ve.c-Fe,tt=ve.l-Ue;return isNaN(Xe)&&(Xe=0,Fe=isNaN(Fe)?ve.c:Fe),isNaN(We)?(We=0,Ie=isNaN(Ie)?ve.h:Ie):We>180?We-=360:We<-180&&(We+=360),function(lt){return Pt(Ie+We*lt,Fe+Xe*lt,Ue+tt*lt)+""}},i.interpolateHsl=function(se,ve){se=i.hsl(se),ve=i.hsl(ve);var Ie=se.h,Fe=se.s,Ue=se.l,We=ve.h-Ie,Xe=ve.s-Fe,tt=ve.l-Ue;return isNaN(Xe)&&(Xe=0,Fe=isNaN(Fe)?ve.s:Fe),isNaN(We)?(We=0,Ie=isNaN(Ie)?ve.h:Ie):We>180?We-=360:We<-180&&(We+=360),function(lt){return It(Ie+We*lt,Fe+Xe*lt,Ue+tt*lt)+""}},i.interpolateLab=function(se,ve){se=i.lab(se),ve=i.lab(ve);var Ie=se.l,Fe=se.a,Ue=se.b,We=ve.l-Ie,Xe=ve.a-Fe,tt=ve.b-Ue;return function(lt){return Xt(Ie+We*lt,Fe+Xe*lt,Ue+tt*lt)+""}},i.interpolateRound=xf,i.transform=function(se){var ve=f.createElementNS(i.ns.prefix.svg,"g");return(i.transform=function(Ie){if(Ie!=null){ve.setAttribute("transform",Ie);var Fe=ve.transform.baseVal.consolidate()}return new Ch(Fe?Fe.matrix:Lu)})(se)},Ch.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var Lu={a:1,b:0,c:0,d:1,e:0,f:0};function il(se){return se.length?se.pop()+",":""}function Eh(se,ve){var Ie=[],Fe=[];return se=i.transform(se),ve=i.transform(ve),function(Ue,We,Xe,tt){if(Ue[0]!==We[0]||Ue[1]!==We[1]){var lt=Xe.push("translate(",null,",",null,")");tt.push({i:lt-4,x:is(Ue[0],We[0])},{i:lt-2,x:is(Ue[1],We[1])})}else(We[0]||We[1])&&Xe.push("translate("+We+")")}(se.translate,ve.translate,Ie,Fe),function(Ue,We,Xe,tt){Ue!==We?(Ue-We>180?We+=360:We-Ue>180&&(Ue+=360),tt.push({i:Xe.push(il(Xe)+"rotate(",null,")")-2,x:is(Ue,We)})):We&&Xe.push(il(Xe)+"rotate("+We+")")}(se.rotate,ve.rotate,Ie,Fe),function(Ue,We,Xe,tt){Ue!==We?tt.push({i:Xe.push(il(Xe)+"skewX(",null,")")-2,x:is(Ue,We)}):We&&Xe.push(il(Xe)+"skewX("+We+")")}(se.skew,ve.skew,Ie,Fe),function(Ue,We,Xe,tt){if(Ue[0]!==We[0]||Ue[1]!==We[1]){var lt=Xe.push(il(Xe)+"scale(",null,",",null,")");tt.push({i:lt-4,x:is(Ue[0],We[0])},{i:lt-2,x:is(Ue[1],We[1])})}else We[0]===1&&We[1]===1||Xe.push(il(Xe)+"scale("+We+")")}(se.scale,ve.scale,Ie,Fe),se=ve=null,function(Ue){for(var We,Xe=-1,tt=Fe.length;++Xe0?Ie=on:(se.c=null,se.t=NaN,se=null,tt.end({type:"end",alpha:Ie=0})):on>0&&(tt.start({type:"start",alpha:Ie=on}),se=Kt(Xe.tick)),Xe):Ie},Xe.start=function(){var on,Fn,Hn,ir=ln.length,ar=an.length,Mr=lt[0],Er=lt[1];for(on=0;on=0;)Ie.push(Ue[Fe])}function ms(se,ve){for(var Ie=[se],Fe=[];(se=Ie.pop())!=null;)if(Fe.push(se),(We=se.children)&&(Ue=We.length))for(var Ue,We,Xe=-1;++Xe=0;)Xe.push(zt=mt[lt]),zt.parent=We,zt.depth=We.depth+1;Ie&&(We.value=0),We.children=mt}else Ie&&(We.value=+Ie.call(Fe,We,We.depth)||0),delete We.children;return ms(Ue,function(Ut){var Ht,en;se&&(Ht=Ut.children)&&Ht.sort(se),Ie&&(en=Ut.parent)&&(en.value+=Ut.value)}),tt}return Fe.sort=function(Ue){return arguments.length?(se=Ue,Fe):se},Fe.children=function(Ue){return arguments.length?(ve=Ue,Fe):ve},Fe.value=function(Ue){return arguments.length?(Ie=Ue,Fe):Ie},Fe.revalue=function(Ue){return Ie&&(Ru(Ue,function(We){We.children&&(We.value=0)}),ms(Ue,function(We){var Xe;We.children||(We.value=+Ie.call(Fe,We,We.depth)||0),(Xe=We.parent)&&(Xe.value+=We.value)})),Ue},Fe},i.layout.partition=function(){var se=i.layout.hierarchy(),ve=[1,1];function Ie(We,Xe,tt,lt){var mt=We.children;if(We.x=Xe,We.y=We.depth*lt,We.dx=tt,We.dy=lt,mt&&(zt=mt.length)){var zt,Ut,Ht,en=-1;for(tt=We.value?tt/We.value:0;++entt&&(tt=Fe),Xe.push(Fe)}for(Ie=0;IeUe&&(Fe=Ie,Ue=ve);return Fe}function Ll(se){return se.reduce(Hc,0)}function Hc(se,ve){return se+ve[1]}function xc(se,ve){return Ph(se,Math.ceil(Math.log(ve.length)/Math.LN2+1))}function Ph(se,ve){for(var Ie=-1,Fe=+se[0],Ue=(se[1]-Fe)/ve,We=[];++Ie<=ve;)We[Ie]=Ue*Ie+Fe;return We}function _c(se){return[i.min(se),i.max(se)]}function Du(se,ve){return se.value-ve.value}function ru(se,ve){var Ie=se._pack_next;se._pack_next=ve,ve._pack_prev=se,ve._pack_next=Ie,Ie._pack_prev=ve}function iu(se,ve){se._pack_next=ve,ve._pack_prev=se}function Ki(se,ve){var Ie=ve.x-se.x,Fe=ve.y-se.y,Ue=se.r+ve.r;return .999*Ue*Ue>Ie*Ie+Fe*Fe}function Il(se){if((ve=se.children)&&(lt=ve.length)){var ve,Ie,Fe,Ue,We,Xe,tt,lt,mt=1/0,zt=-1/0,Ut=1/0,Ht=-1/0;if(ve.forEach(Rl),(Ie=ve[0]).x=-Ie.r,Ie.y=0,_n(Ie),lt>1&&((Fe=ve[1]).x=Fe.r,Fe.y=0,_n(Fe),lt>2))for(Bi(Ie,Fe,Ue=ve[2]),_n(Ue),ru(Ie,Ue),Ie._pack_prev=Ue,ru(Ue,Fe),Fe=Ie._pack_next,We=3;We0)for(Xe=-1;++Xe=Ut[0]&<<=Ut[1]&&((tt=mt[i.bisect(Ht,lt,1,vn)-1]).y+=tn,tt.push(We[Xe]));return mt}return Ue.value=function(We){return arguments.length?(ve=We,Ue):ve},Ue.range=function(We){return arguments.length?(Ie=qn(We),Ue):Ie},Ue.bins=function(We){return arguments.length?(Fe=typeof We=="number"?function(Xe){return Ph(Xe,We)}:qn(We),Ue):Fe},Ue.frequency=function(We){return arguments.length?(se=!!We,Ue):se},Ue},i.layout.pack=function(){var se,ve=i.layout.hierarchy().sort(Du),Ie=0,Fe=[1,1];function Ue(We,Xe){var tt=ve.call(this,We,Xe),lt=tt[0],mt=Fe[0],zt=Fe[1],Ut=se==null?Math.sqrt:typeof se=="function"?se:function(){return se};if(lt.x=lt.y=0,ms(lt,function(en){en.r=+Ut(en.value)}),ms(lt,Il),Ie){var Ht=Ie*(se?1:Math.max(2*lt.r/mt,2*lt.r/zt))/2;ms(lt,function(en){en.r+=Ht}),ms(lt,Il),ms(lt,function(en){en.r-=Ht})}return Oi(lt,mt/2,zt/2,se?1:1/Math.max(2*lt.r/mt,2*lt.r/zt)),tt}return Ue.size=function(We){return arguments.length?(Fe=We,Ue):Fe},Ue.radius=function(We){return arguments.length?(se=We==null||typeof We=="function"?We:+We,Ue):se},Ue.padding=function(We){return arguments.length?(Ie=+We,Ue):Ie},eu(Ue,ve)},i.layout.tree=function(){var se=i.layout.hierarchy().sort(null).value(null),ve=ol,Ie=[1,1],Fe=null;function Ue(lt,mt){var zt=se.call(this,lt,mt),Ut=zt[0],Ht=function(_n){for(var on,Fn={A:null,children:[_n]},Hn=[Fn];(on=Hn.pop())!=null;)for(var ir,ar=on.children,Mr=0,Er=ar.length;Mrvn.x&&(vn=_n),_n.depth>tn.depth&&(tn=_n)});var ln=ve(en,vn)/2-en.x,an=Ie[0]/(vn.x+ve(vn,en)/2+ln),Cn=Ie[1]/(tn.depth||1);Ru(Ut,function(_n){_n.x=(_n.x+ln)*an,_n.y=_n.depth*Cn})}return zt}function We(lt){var mt=lt.children,zt=lt.parent.children,Ut=lt.i?zt[lt.i-1]:null;if(mt.length){(function(en){for(var vn,tn=0,ln=0,an=en.children,Cn=an.length;--Cn>=0;)(vn=an[Cn]).z+=tn,vn.m+=tn,tn+=vn.s+(ln+=vn.c)})(lt);var Ht=(mt[0].z+mt[mt.length-1].z)/2;Ut?(lt.z=Ut.z+ve(lt._,Ut._),lt.m=lt.z-Ht):lt.z=Ht}else Ut&&(lt.z=Ut.z+ve(lt._,Ut._));lt.parent.A=function(en,vn,tn){if(vn){for(var ln,an=en,Cn=en,_n=vn,on=an.parent.children[0],Fn=an.m,Hn=Cn.m,ir=_n.m,ar=on.m;_n=Gc(_n),an=Us(an),_n&&an;)on=Us(on),(Cn=Gc(Cn)).a=en,(ln=_n.z+ir-an.z-Fn+ve(_n._,an._))>0&&(Oh(au(_n,en,tn),en,ln),Fn+=ln,Hn+=ln),ir+=_n.m,Fn+=an.m,ar+=on.m,Hn+=Cn.m;_n&&!Gc(Cn)&&(Cn.t=_n,Cn.m+=ir-Hn),an&&!Us(on)&&(on.t=an,on.m+=Fn-ar,tn=en)}return tn}(lt,Ut,lt.parent.A||zt[0])}function Xe(lt){lt._.x=lt.z+lt.parent.m,lt.m+=lt.parent.m}function tt(lt){lt.x*=Ie[0],lt.y=lt.depth*Ie[1]}return Ue.separation=function(lt){return arguments.length?(ve=lt,Ue):ve},Ue.size=function(lt){return arguments.length?(Fe=(Ie=lt)==null?tt:null,Ue):Fe?null:Ie},Ue.nodeSize=function(lt){return arguments.length?(Fe=(Ie=lt)==null?null:tt,Ue):Fe?Ie:null},eu(Ue,se)},i.layout.cluster=function(){var se=i.layout.hierarchy().sort(null).value(null),ve=ol,Ie=[1,1],Fe=!1;function Ue(We,Xe){var tt,lt=se.call(this,We,Xe),mt=lt[0],zt=0;ms(mt,function(tn){var ln=tn.children;ln&&ln.length?(tn.x=function(an){return an.reduce(function(Cn,_n){return Cn+_n.x},0)/an.length}(ln),tn.y=function(an){return 1+i.max(an,function(Cn){return Cn.y})}(ln)):(tn.x=tt?zt+=ve(tn,tt):0,tn.y=0,tt=tn)});var Ut=Dh(mt),Ht=ou(mt),en=Ut.x-ve(Ut,Ht)/2,vn=Ht.x+ve(Ht,Ut)/2;return ms(mt,Fe?function(tn){tn.x=(tn.x-mt.x)*Ie[0],tn.y=(mt.y-tn.y)*Ie[1]}:function(tn){tn.x=(tn.x-en)/(vn-en)*Ie[0],tn.y=(1-(mt.y?tn.y/mt.y:1))*Ie[1]}),lt}return Ue.separation=function(We){return arguments.length?(ve=We,Ue):ve},Ue.size=function(We){return arguments.length?(Fe=(Ie=We)==null,Ue):Fe?null:Ie},Ue.nodeSize=function(We){return arguments.length?(Fe=(Ie=We)!=null,Ue):Fe?Ie:null},eu(Ue,se)},i.layout.treemap=function(){var se,ve=i.layout.hierarchy(),Ie=Math.round,Fe=[1,1],Ue=null,We=sl,Xe=!1,tt="squarify",lt=.5*(1+Math.sqrt(5));function mt(tn,ln){for(var an,Cn,_n=-1,on=tn.length;++_n0;)Fn.push(an=Hn[_n-1]),Fn.area+=an.area,tt!=="squarify"||(Cn=Ht(Fn,ar))<=ir?(Hn.pop(),ir=Cn):(Fn.area-=Fn.pop().area,en(Fn,ar,on,!1),ar=Math.min(on.dx,on.dy),Fn.length=Fn.area=0,ir=1/0);Fn.length&&(en(Fn,ar,on,!0),Fn.length=Fn.area=0),ln.forEach(zt)}}function Ut(tn){var ln=tn.children;if(ln&&ln.length){var an,Cn=We(tn),_n=ln.slice(),on=[];for(mt(_n,Cn.dx*Cn.dy/tn.value),on.area=0;an=_n.pop();)on.push(an),on.area+=an.area,an.z!=null&&(en(on,an.z?Cn.dx:Cn.dy,Cn,!_n.length),on.length=on.area=0);ln.forEach(Ut)}}function Ht(tn,ln){for(var an,Cn=tn.area,_n=0,on=1/0,Fn=-1,Hn=tn.length;++Fn_n&&(_n=an));return ln*=ln,(Cn*=Cn)?Math.max(ln*_n*lt/Cn,Cn/(ln*on*lt)):1/0}function en(tn,ln,an,Cn){var _n,on=-1,Fn=tn.length,Hn=an.x,ir=an.y,ar=ln?Ie(tn.area/ln):0;if(ln==an.dx){for((Cn||ar>an.dy)&&(ar=an.dy);++onan.dx)&&(ar=an.dx);++on1);return se+ve*Fe*Math.sqrt(-2*Math.log(We)/We)}},logNormal:function(){var se=i.random.normal.apply(i,arguments);return function(){return Math.exp(se())}},bates:function(se){var ve=i.random.irwinHall(se);return function(){return ve()/se}},irwinHall:function(se){return function(){for(var ve=0,Ie=0;Ie2?ho:lu,mt=Fe?Jl:Lh;return Ue=lt(se,ve,mt,Ie),We=lt(ve,se,mt,Yo),tt}function tt(lt){return Ue(lt)}return tt.invert=function(lt){return We(lt)},tt.domain=function(lt){return arguments.length?(se=lt.map(Number),Xe()):se},tt.range=function(lt){return arguments.length?(ve=lt,Xe()):ve},tt.rangeRound=function(lt){return tt.range(lt).interpolate(xf)},tt.clamp=function(lt){return arguments.length?(Fe=lt,Xe()):Fe},tt.interpolate=function(lt){return arguments.length?(Ie=lt,Xe()):Ie},tt.ticks=function(lt){return $o(se,lt)},tt.tickFormat=function(lt,mt){return d3_scale_linearTickFormat(se,lt,mt)},tt.nice=function(lt){return vs(se,lt),Xe()},tt.copy=function(){return zo(se,ve,Ie,Fe)},Xe()}function Pl(se,ve){return i.rebind(se,ve,"range","rangeRound","interpolate","clamp")}function vs(se,ve){return Ha(se,mo($a(se,ve)[2])),Ha(se,mo($a(se,ve)[2])),se}function $a(se,ve){ve==null&&(ve=10);var Ie=da(se),Fe=Ie[1]-Ie[0],Ue=Math.pow(10,Math.floor(Math.log(Fe/ve)/Math.LN10)),We=ve/Fe*Ue;return We<=.15?Ue*=10:We<=.35?Ue*=5:We<=.75&&(Ue*=2),Ie[0]=Math.ceil(Ie[0]/Ue)*Ue,Ie[1]=Math.floor(Ie[1]/Ue)*Ue+.5*Ue,Ie[2]=Ue,Ie}function $o(se,ve){return i.range.apply(i,$a(se,ve))}function qc(se,ve,Ie,Fe){function Ue(tt){return(Ie?Math.log(tt<0?0:tt):-Math.log(tt>0?0:-tt))/Math.log(ve)}function We(tt){return Ie?Math.pow(ve,tt):-Math.pow(ve,-tt)}function Xe(tt){return se(Ue(tt))}return Xe.invert=function(tt){return We(se.invert(tt))},Xe.domain=function(tt){return arguments.length?(Ie=tt[0]>=0,se.domain((Fe=tt.map(Number)).map(Ue)),Xe):Fe},Xe.base=function(tt){return arguments.length?(ve=+tt,se.domain(Fe.map(Ue)),Xe):ve},Xe.nice=function(){var tt=Ha(Fe.map(Ue),Ie?Math:Wc);return se.domain(tt),Fe=tt.map(We),Xe},Xe.ticks=function(){var tt=da(Fe),lt=[],mt=tt[0],zt=tt[1],Ut=Math.floor(Ue(mt)),Ht=Math.ceil(Ue(zt)),en=ve%1?2:ve;if(isFinite(Ht-Ut)){if(Ie){for(;Ut0;vn--)lt.push(We(Ut)*vn);for(Ut=0;lt[Ut]zt;Ht--);lt=lt.slice(Ut,Ht)}return lt},Xe.copy=function(){return qc(se.copy(),ve,Ie,Fe)},Pl(Xe,se)}i.scale.linear=function(){return zo([0,1],[0,1],Yo,!1)},i.scale.log=function(){return qc(i.scale.linear().domain([0,1]),10,!0,[1,10])};var Wc={floor:function(se){return-Math.ceil(-se)},ceil:function(se){return-Math.floor(-se)}};function Lo(se,ve,Ie){var Fe=Dr(ve),Ue=Dr(1/ve);function We(Xe){return se(Fe(Xe))}return We.invert=function(Xe){return Ue(se.invert(Xe))},We.domain=function(Xe){return arguments.length?(se.domain((Ie=Xe.map(Number)).map(Fe)),We):Ie},We.ticks=function(Xe){return $o(Ie,Xe)},We.tickFormat=function(Xe,tt){return d3_scale_linearTickFormat(Ie,Xe,tt)},We.nice=function(Xe){return We.domain(vs(Ie,Xe))},We.exponent=function(Xe){return arguments.length?(Fe=Dr(ve=Xe),Ue=Dr(1/ve),se.domain(Ie.map(Fe)),We):ve},We.copy=function(){return Lo(se.copy(),ve,Ie)},Pl(We,se)}function Dr(se){return function(ve){return ve<0?-Math.pow(-ve,se):Math.pow(ve,se)}}function uu(se,ve){var Ie,Fe,Ue;function We(tt){return Fe[((Ie.get(tt)||(ve.t==="range"?Ie.set(tt,se.push(tt)):NaN))-1)%Fe.length]}function Xe(tt,lt){return i.range(se.length).map(function(mt){return tt+lt*mt})}return We.domain=function(tt){if(!arguments.length)return se;se=[],Ie=new L;for(var lt,mt=-1,zt=tt.length;++mt0?Ie[We-1]:se[0],WeHt?0:1;if(zt=qt)return lt(zt,vn)+(mt?lt(mt,1-vn):"")+"Z";var tn,ln,an,Cn,_n,on,Fn,Hn,ir,ar,Mr,Er,xr=0,kr=0,jr=[];if((Cn=(+Xe.apply(this,arguments)||0)/2)&&(an=Fe===wc?Math.sqrt(mt*mt+zt*zt):+Fe.apply(this,arguments),vn||(kr*=-1),zt&&(kr=qe(an/zt*Math.sin(Cn))),mt&&(xr=qe(an/mt*Math.sin(Cn)))),zt){_n=zt*Math.cos(Ut+kr),on=zt*Math.sin(Ut+kr),Fn=zt*Math.cos(Ht-kr),Hn=zt*Math.sin(Ht-kr);var fi=Math.abs(Ht-Ut-2*kr)<=Ot?0:1;if(kr&&Ls(_n,on,Fn,Hn)===vn^fi){var di=(Ut+Ht)/2;_n=zt*Math.cos(di),on=zt*Math.sin(di),Fn=Hn=null}}else _n=on=0;if(mt){ir=mt*Math.cos(Ht-xr),ar=mt*Math.sin(Ht-xr),Mr=mt*Math.cos(Ut+xr),Er=mt*Math.sin(Ut+xr);var wr=Math.abs(Ut-Ht+2*xr)<=Ot?0:1;if(xr&&Ls(ir,ar,Mr,Er)===1-vn^wr){var Ur=(Ut+Ht)/2;ir=mt*Math.cos(Ur),ar=mt*Math.sin(Ur),Mr=Er=null}}else ir=ar=0;if(en>Ft&&(tn=Math.min(Math.abs(zt-mt)/2,+Ie.apply(this,arguments)))>.001){ln=mt0?0:1}function bs(se,ve,Ie,Fe,Ue){var We=se[0]-ve[0],Xe=se[1]-ve[1],tt=(Ue?Fe:-Fe)/Math.sqrt(We*We+Xe*Xe),lt=tt*Xe,mt=-tt*We,zt=se[0]+lt,Ut=se[1]+mt,Ht=ve[0]+lt,en=ve[1]+mt,vn=(zt+Ht)/2,tn=(Ut+en)/2,ln=Ht-zt,an=en-Ut,Cn=ln*ln+an*an,_n=Ie-Fe,on=zt*en-Ht*Ut,Fn=(an<0?-1:1)*Math.sqrt(Math.max(0,_n*_n*Cn-on*on)),Hn=(on*an-ln*Fn)/Cn,ir=(-on*ln-an*Fn)/Cn,ar=(on*an+ln*Fn)/Cn,Mr=(-on*ln+an*Fn)/Cn,Er=Hn-vn,xr=ir-tn,kr=ar-vn,jr=Mr-tn;return Er*Er+xr*xr>kr*kr+jr*jr&&(Hn=ar,ir=Mr),[[Hn-lt,ir-mt],[Hn*Ie/_n,ir*Ie/_n]]}function hu(){return!0}function yo(se){var ve=Un,Ie=Kn,Fe=hu,Ue=$i,We=Ue.key,Xe=.7;function tt(lt){var mt,zt=[],Ut=[],Ht=-1,en=lt.length,vn=qn(ve),tn=qn(Ie);function ln(){zt.push("M",Ue(se(Ut),Xe))}for(;++Ht1&&Ue.push("H",Fe[0]),Ue.join("")},"step-before":os,"step-after":_s,basis:Wi,"basis-open":function(se){if(se.length<4)return $i(se);for(var ve,Ie=[],Fe=-1,Ue=se.length,We=[0],Xe=[0];++Fe<3;)ve=se[Fe],We.push(ve[0]),Xe.push(ve[1]);for(Ie.push(no(qs,We)+","+no(qs,Xe)),--Fe;++Fe9&&(We=3*Ie/Math.sqrt(We),tt[lt]=We*Fe,tt[lt+1]=We*Ue);for(lt=-1;++lt<=mt;)We=(ve[Math.min(mt,lt+1)][0]-ve[Math.max(0,lt-1)][0])/(6*(1+tt[lt]*tt[lt])),Xe.push([We||0,tt[lt]*We||0]);return Xe}(se))}});function $i(se){return se.length>1?se.join("L"):se+"Z"}function Tc(se){return se.join("L")+"Z"}function os(se){for(var ve=0,Ie=se.length,Fe=se[0],Ue=[Fe[0],",",Fe[1]];++ve1){tt=ve[1],We=se[lt],lt++,Fe+="C"+(Ue[0]+Xe[0])+","+(Ue[1]+Xe[1])+","+(We[0]-tt[0])+","+(We[1]-tt[1])+","+We[0]+","+We[1];for(var mt=2;mtOt)+",1 "+zt}function lt(mt,zt,Ut,Ht){return"Q 0,0 "+Ht}return We.radius=function(mt){return arguments.length?(Ie=qn(mt),We):Ie},We.source=function(mt){return arguments.length?(se=qn(mt),We):se},We.target=function(mt){return arguments.length?(ve=qn(mt),We):ve},We.startAngle=function(mt){return arguments.length?(Fe=qn(mt),We):Fe},We.endAngle=function(mt){return arguments.length?(Ue=qn(mt),We):Ue},We},i.svg.diagonal=function(){var se=Hr,ve=ni,Ie=cl;function Fe(Ue,We){var Xe=se.call(this,Ue,We),tt=ve.call(this,Ue,We),lt=(Xe.y+tt.y)/2,mt=[Xe,{x:Xe.x,y:lt},{x:tt.x,y:lt},tt];return"M"+(mt=mt.map(Ie))[0]+"C"+mt[1]+" "+mt[2]+" "+mt[3]}return Fe.source=function(Ue){return arguments.length?(se=qn(Ue),Fe):se},Fe.target=function(Ue){return arguments.length?(ve=qn(Ue),Fe):ve},Fe.projection=function(Ue){return arguments.length?(Ie=Ue,Fe):Ie},Fe},i.svg.diagonal.radial=function(){var se=i.svg.diagonal(),ve=cl,Ie=se.projection;return se.projection=function(Fe){return arguments.length?Ie(Rs(ve=Fe)):ve},se},i.svg.symbol=function(){var se=Zc,ve=xo;function Ie(Fe,Ue){return(ju.get(se.call(this,Fe,Ue))||Vo)(ve.call(this,Fe,Ue))}return Ie.type=function(Fe){return arguments.length?(se=qn(Fe),Ie):se},Ie.size=function(Fe){return arguments.length?(ve=qn(Fe),Ie):ve},Ie};var ju=i.map({circle:Vo,cross:function(se){var ve=Math.sqrt(se/5)/2;return"M"+-3*ve+","+-ve+"H"+-ve+"V"+-3*ve+"H"+ve+"V"+-ve+"H"+3*ve+"V"+ve+"H"+ve+"V"+3*ve+"H"+-ve+"V"+ve+"H"+-3*ve+"Z"},diamond:function(se){var ve=Math.sqrt(se/(2*Ji)),Ie=ve*Ji;return"M0,"+-ve+"L"+Ie+",0 0,"+ve+" "+-Ie+",0Z"},square:function(se){var ve=Math.sqrt(se)/2;return"M"+-ve+","+-ve+"L"+ve+","+-ve+" "+ve+","+ve+" "+-ve+","+ve+"Z"},"triangle-down":function(se){var ve=Math.sqrt(se/hl),Ie=ve*hl/2;return"M0,"+Ie+"L"+ve+","+-Ie+" "+-ve+","+-Ie+"Z"},"triangle-up":function(se){var ve=Math.sqrt(se/hl),Ie=ve*hl/2;return"M0,"+-Ie+"L"+ve+","+Ie+" "+-ve+","+Ie+"Z"}});i.svg.symbolTypes=ju.keys();var hl=Math.sqrt(3),Ji=Math.tan(30*Ke);ce.transition=function(se){for(var ve,Ie,Fe=rt||++St,Ue=ee(se),We=[],Xe=ct||{time:Date.now(),ease:tl,delay:0,duration:250},tt=-1,lt=this.length;++tt0;)mt[--an].call(se,ln);if(tn>=1)return Ut.event&&Ut.event.end.call(se,se.__data__,ve),--zt.count?delete zt[Fe]:delete se[Ie],1}Ut||(We=Ue.time,Xe=Kt(function(vn){var tn=Ut.delay;if(Xe.t=tn+We,tn<=vn)return Ht(vn-tn);Xe.c=Ht},0,We),Ut=zt[Fe]={tween:new L,time:We,timer:Xe,delay:Ue.delay,duration:Ue.duration,ease:Ue.ease,index:ve},Ue=null,++zt.count)}vt.call=ce.call,vt.empty=ce.empty,vt.node=ce.node,vt.size=ce.size,i.transition=function(se,ve){return se&&se.transition?rt?se.transition(ve):se:i.selection().transition(se)},i.transition.prototype=vt,vt.select=function(se){var ve,Ie,Fe,Ue=this.id,We=this.namespace,Xe=[];se=ye(se);for(var tt=-1,lt=this.length;++ttrect,.s>rect").attr("width",We[1]-We[0])}function en(tn){tn.select(".extent").attr("y",Xe[0]),tn.selectAll(".extent,.e>rect,.w>rect").attr("height",Xe[1]-Xe[0])}function vn(){var tn,ln,an=this,Cn=i.select(i.event.target),_n=Ie.of(an,arguments),on=i.select(an),Fn=Cn.datum(),Hn=!/^(n|s)$/.test(Fn)&&Fe,ir=!/^(e|w)$/.test(Fn)&&Ue,ar=Cn.classed("extent"),Mr=bt(an),Er=i.mouse(an),xr=i.select(a(an)).on("keydown.brush",fi).on("keyup.brush",di);if(i.event.changedTouches?xr.on("touchmove.brush",wr).on("touchend.brush",oi):xr.on("mousemove.brush",wr).on("mouseup.brush",oi),on.interrupt().selectAll("*").interrupt(),ar)Er[0]=We[0]-Er[0],Er[1]=Xe[0]-Er[1];else if(Fn){var kr=+/w$/.test(Fn),jr=+/^n/.test(Fn);ln=[We[1-kr]-Er[0],Xe[1-jr]-Er[1]],Er[0]=We[kr],Er[1]=Xe[jr]}else i.event.altKey&&(tn=Er.slice());function fi(){i.event.keyCode==32&&(ar||(tn=null,Er[0]-=We[1],Er[1]-=Xe[1],ar=2),ne())}function di(){i.event.keyCode==32&&ar==2&&(Er[0]+=We[1],Er[1]+=Xe[1],ar=0,ne())}function wr(){var ai=i.mouse(an),Ii=!1;ln&&(ai[0]+=ln[0],ai[1]+=ln[1]),ar||(i.event.altKey?(tn||(tn=[(We[0]+We[1])/2,(Xe[0]+Xe[1])/2]),Er[0]=We[+(ai[0]>>1;c.dtype||(c.dtype="array"),typeof c.dtype=="string"?y=new(u(c.dtype))(_):c.dtype&&(y=c.dtype,Array.isArray(y)&&(y.length=_));for(var k=0;k<_;++k)y[k]=k;var E=[],x=[],A=[],L=[];(function W(j,$,U,G,q,H){if(!G.length)return null;var ne=E[q]||(E[q]=[]),te=A[q]||(A[q]=[]),Z=x[q]||(x[q]=[]),X=ne.length;if(++q>m||H>1073741824){for(var Q=0;Qpe+Pe||ie>xe+Pe||oe=ce||Me===Se)){var Ce=E[_e];Se===void 0&&(Se=Ce.length);for(var ae=Me;ae=ne&&be<=Z&&ke>=te&&ke<=X&&ye.push(fe)}var Le=x[_e],Be=Le[4*Me+0],ze=Le[4*Me+1],je=Le[4*Me+2],ge=Le[4*Me+3],we=me(Le,Me+1),Ee=.5*Pe,Ve=_e+1;de(pe,xe,Ee,Ve,Be,ze||je||ge||we),de(pe,xe+Ee,Ee,Ve,ze,je||ge||we),de(pe+Ee,xe,Ee,Ve,je,ge||we),de(pe+Ee,xe+Ee,Ee,Ve,ge,we)}}function me(pe,xe){for(var Pe=null,_e=0;Pe===null;)if(Pe=pe[4*xe+_e],++_e>pe.length)return null;return Pe}return de(0,0,1,0,0,1),ye},y;function B(W,j,$,U,G){for(var q=[],H=0;H0){l+=Math.abs(M(f[0]));for(var a=1;a2){for(h=0;h=0))throw new Error("precision must be a positive number");var m=Math.pow(10,c||0);return Math.round(h*m)/m},p.radiansToLength=a,p.lengthToRadians=u,p.lengthToDegrees=function(h,c){return o(u(h,c))},p.bearingToAzimuth=function(h){var c=h%360;return c<0&&(c+=360),c},p.radiansToDegrees=o,p.degreesToRadians=function(h){return h%360*Math.PI/180},p.convertLength=function(h,c,m){if(c===void 0&&(c="kilometers"),m===void 0&&(m="kilometers"),!(h>=0))throw new Error("length must be a positive number");return a(u(h,c),m)},p.convertArea=function(h,c,m){if(c===void 0&&(c="meters"),m===void 0&&(m="kilometers"),!(h>=0))throw new Error("area must be a positive number");var w=p.areaFactors[c];if(!w)throw new Error("invalid original units");var y=p.areaFactors[m];if(!y)throw new Error("invalid final units");return h/w*y},p.isNumber=s,p.isObject=function(h){return!!h&&h.constructor===Object},p.validateBBox=function(h){if(!h)throw new Error("bbox is required");if(!Array.isArray(h))throw new Error("bbox must be an Array");if(h.length!==4&&h.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");h.forEach(function(c){if(!s(c))throw new Error("bbox must only contain numbers")})},p.validateId=function(h){if(!h)throw new Error("id is required");if(["string","number"].indexOf(typeof h)===-1)throw new Error("id must be a number or a string")}},60302:function(T,p,t){Object.defineProperty(p,"__esModule",{value:!0});var d=t(23132);function g(u,o,s){if(u!==null)for(var h,c,m,w,y,C,_,k,E=0,x=0,A=u.type,L=A==="FeatureCollection",b=A==="Feature",R=L?u.features.length:1,I=0;IC||L>_||b>k)return y=E,C=h,_=L,k=b,void(m=0);var R=d.lineString([y,E],s.properties);if(o(R,h,c,b,m)===!1)return!1;m++,y=E})!==!1&&void 0}}})}function a(u,o){if(!u)throw new Error("geojson is required");f(u,function(s,h,c){if(s.geometry!==null){var m=s.geometry.type,w=s.geometry.coordinates;switch(m){case"LineString":if(o(s,h,c,0,0)===!1)return!1;break;case"Polygon":for(var y=0;yv[0]&&(M[0]=v[0]),M[1]>v[1]&&(M[1]=v[1]),M[2]=0))throw new Error("precision must be a positive number");var m=Math.pow(10,c||0);return Math.round(h*m)/m},p.radiansToLength=a,p.lengthToRadians=u,p.lengthToDegrees=function(h,c){return o(u(h,c))},p.bearingToAzimuth=function(h){var c=h%360;return c<0&&(c+=360),c},p.radiansToDegrees=o,p.degreesToRadians=function(h){return h%360*Math.PI/180},p.convertLength=function(h,c,m){if(c===void 0&&(c="kilometers"),m===void 0&&(m="kilometers"),!(h>=0))throw new Error("length must be a positive number");return a(u(h,c),m)},p.convertArea=function(h,c,m){if(c===void 0&&(c="meters"),m===void 0&&(m="kilometers"),!(h>=0))throw new Error("area must be a positive number");var w=p.areaFactors[c];if(!w)throw new Error("invalid original units");var y=p.areaFactors[m];if(!y)throw new Error("invalid final units");return h/w*y},p.isNumber=s,p.isObject=function(h){return!!h&&h.constructor===Object},p.validateBBox=function(h){if(!h)throw new Error("bbox is required");if(!Array.isArray(h))throw new Error("bbox must be an Array");if(h.length!==4&&h.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");h.forEach(function(c){if(!s(c))throw new Error("bbox must only contain numbers")})},p.validateId=function(h){if(!h)throw new Error("id is required");if(["string","number"].indexOf(typeof h)===-1)throw new Error("id must be a number or a string")}},27138:function(T,p,t){Object.defineProperty(p,"__esModule",{value:!0});var d=t(94228);function g(u,o,s){if(u!==null)for(var h,c,m,w,y,C,_,k,E=0,x=0,A=u.type,L=A==="FeatureCollection",b=A==="Feature",R=L?u.features.length:1,I=0;IC||L>_||b>k)return y=E,C=h,_=L,k=b,void(m=0);var R=d.lineString([y,E],s.properties);if(o(R,h,c,b,m)===!1)return!1;m++,y=E})!==!1&&void 0}}})}function a(u,o){if(!u)throw new Error("geojson is required");f(u,function(s,h,c){if(s.geometry!==null){var m=s.geometry.type,w=s.geometry.coordinates;switch(m){case"LineString":if(o(s,h,c,0,0)===!1)return!1;break;case"Polygon":for(var y=0;y=0))throw new Error("precision must be a positive number");var m=Math.pow(10,c||0);return Math.round(h*m)/m},p.radiansToLength=a,p.lengthToRadians=u,p.lengthToDegrees=function(h,c){return o(u(h,c))},p.bearingToAzimuth=function(h){var c=h%360;return c<0&&(c+=360),c},p.radiansToDegrees=o,p.degreesToRadians=function(h){return h%360*Math.PI/180},p.convertLength=function(h,c,m){if(c===void 0&&(c="kilometers"),m===void 0&&(m="kilometers"),!(h>=0))throw new Error("length must be a positive number");return a(u(h,c),m)},p.convertArea=function(h,c,m){if(c===void 0&&(c="meters"),m===void 0&&(m="kilometers"),!(h>=0))throw new Error("area must be a positive number");var w=p.areaFactors[c];if(!w)throw new Error("invalid original units");var y=p.areaFactors[m];if(!y)throw new Error("invalid final units");return h/w*y},p.isNumber=s,p.isObject=function(h){return!!h&&h.constructor===Object},p.validateBBox=function(h){if(!h)throw new Error("bbox is required");if(!Array.isArray(h))throw new Error("bbox must be an Array");if(h.length!==4&&h.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");h.forEach(function(c){if(!s(c))throw new Error("bbox must only contain numbers")})},p.validateId=function(h){if(!h)throw new Error("id is required");if(["string","number"].indexOf(typeof h)===-1)throw new Error("id must be a number or a string")},p.radians2degrees=function(){throw new Error("method has been renamed to `radiansToDegrees`")},p.degrees2radians=function(){throw new Error("method has been renamed to `degreesToRadians`")},p.distanceToDegrees=function(){throw new Error("method has been renamed to `lengthToDegrees`")},p.distanceToRadians=function(){throw new Error("method has been renamed to `lengthToRadians`")},p.radiansToDistance=function(){throw new Error("method has been renamed to `radiansToLength`")},p.bearingToAngle=function(){throw new Error("method has been renamed to `bearingToAzimuth`")},p.convertDistance=function(){throw new Error("method has been renamed to `convertLength`")}},88553:function(T,p,t){Object.defineProperty(p,"__esModule",{value:!0});var d=t(64182);function g(u,o,s){if(u!==null)for(var h,c,m,w,y,C,_,k,E=0,x=0,A=u.type,L=A==="FeatureCollection",b=A==="Feature",R=L?u.features.length:1,I=0;IC||L>_||b>k)return y=E,C=h,_=L,k=b,void(m=0);var R=d.lineString([y,E],s.properties);if(o(R,h,c,b,m)===!1)return!1;m++,y=E})!==!1&&void 0}}})}function a(u,o){if(!u)throw new Error("geojson is required");f(u,function(s,h,c){if(s.geometry!==null){var m=s.geometry.type,w=s.geometry.coordinates;switch(m){case"LineString":if(o(s,h,c,0,0)===!1)return!1;break;case"Polygon":for(var y=0;yi&&(i=p[v]),p[v]1?G-1:0),H=1;H1?G-1:0),H=1;H1?G-1:0),H=1;H1?G-1:0),H=1;Hpe&&Pe>0){var _e=(xe[Pe][0]-pe)/(xe[Pe][0]-xe[Pe-1][0]);return xe[Pe][1]*(1-_e)+_e*xe[Pe-1][1]}}return 1}(de/255,oe):ye[3];return me<1&&(ue=!0),[ye[0],ye[1],ye[2],255*me]})]);return w.divseq(ce,255),this.hasAlphaScale=ue,ce},j.isTransparent=function(){return this.opacity<1||this.hasAlphaScale},j.isOpaque=function(){return!this.isTransparent()},j.pickSlots=1,j.setPickBase=function(ie){this.pickId=ie};var $=[0,0,0],U={showSurface:!1,showContour:!1,projections:[z.slice(),z.slice(),z.slice()],clipBounds:[[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]]]};function G(ie,oe){var ue,ce,ye,de=oe.axes&&oe.axes.lastCubeProps.axis||$,me=oe.showSurface,pe=oe.showContour;for(ue=0;ue<3;++ue)for(me=me||oe.surfaceProject[ue],ce=0;ce<3;++ce)pe=pe||oe.contourProject[ue][ce];for(ue=0;ue<3;++ue){var xe=U.projections[ue];for(ce=0;ce<16;++ce)xe[ce]=0;for(ce=0;ce<4;++ce)xe[5*ce]=1;xe[5*ue]=0,xe[12+ue]=oe.axesBounds[+(de[ue]>0)][ue],k(xe,ie.model,xe);var Pe=U.clipBounds[ue];for(ye=0;ye<2;++ye)for(ce=0;ce<3;++ce)Pe[ye][ce]=ie.clipBounds[ye][ce];Pe[0][ue]=-1e8,Pe[1][ue]=1e8}return U.showSurface=me,U.showContour=pe,U}var q={model:z,view:z,projection:z,inverseModel:z.slice(),lowerBound:[0,0,0],upperBound:[0,0,0],colorMap:0,clipBounds:[[0,0,0],[0,0,0]],height:0,contourTint:0,contourColor:[0,0,0,1],permutation:[1,0,0,0,1,0,0,0,1],zOffset:-1e-4,objectOffset:[0,0,0],kambient:1,kdiffuse:1,kspecular:1,lightPosition:[1e3,1e3,1e3],eyePosition:[0,0,0],roughness:1,fresnel:1,opacity:1,vertexColor:0},H=z.slice(),ne=[1,0,0,0,1,0,0,0,1];function te(ie,oe){ie=ie||{};var ue=this.gl;ue.disable(ue.CULL_FACE),this._colorMap.bind(0);var ce=q;ce.model=ie.model||z,ce.view=ie.view||z,ce.projection=ie.projection||z,ce.lowerBound=[this.bounds[0][0],this.bounds[0][1],this.colorBounds[0]||this.bounds[0][2]],ce.upperBound=[this.bounds[1][0],this.bounds[1][1],this.colorBounds[1]||this.bounds[1][2]],ce.objectOffset=this.objectOffset,ce.contourColor=this.contourColor[0],ce.inverseModel=E(ce.inverseModel,ce.model);for(var ye=0;ye<2;++ye)for(var de=ce.clipBounds[ye],me=0;me<3;++me)de[me]=Math.min(Math.max(this.clipBounds[ye][me],-1e8),1e8);ce.kambient=this.ambientLight,ce.kdiffuse=this.diffuseLight,ce.kspecular=this.specularLight,ce.roughness=this.roughness,ce.fresnel=this.fresnel,ce.opacity=this.opacity,ce.height=0,ce.permutation=ne,ce.vertexColor=this.vertexColor;var pe=H;for(k(pe,ce.view,ce.model),k(pe,ce.projection,pe),E(pe,pe),ye=0;ye<3;++ye)ce.eyePosition[ye]=pe[12+ye]/pe[15];var xe=pe[15];for(ye=0;ye<3;++ye)xe+=this.lightPosition[ye]*pe[4*ye+3];for(ye=0;ye<3;++ye){var Pe=pe[12+ye];for(me=0;me<3;++me)Pe+=pe[4*me+ye]*this.lightPosition[me];ce.lightPosition[ye]=Pe/xe}var _e=G(ce,this);if(_e.showSurface){for(this._shader.bind(),this._shader.uniforms=ce,this._vao.bind(),this.showSurface&&this._vertexCount&&this._vao.draw(ue.TRIANGLES,this._vertexCount),ye=0;ye<3;++ye)this.surfaceProject[ye]&&this.vertexCount&&(this._shader.uniforms.model=_e.projections[ye],this._shader.uniforms.clipBounds=_e.clipBounds[ye],this._vao.draw(ue.TRIANGLES,this._vertexCount));this._vao.unbind()}if(_e.showContour){var Me=this._contourShader;ce.kambient=1,ce.kdiffuse=0,ce.kspecular=0,ce.opacity=1,Me.bind(),Me.uniforms=ce;var Se=this._contourVAO;for(Se.bind(),ye=0;ye<3;++ye)for(Me.uniforms.permutation=B[ye],ue.lineWidth(this.contourWidth[ye]*this.pixelRatio),me=0;me>4)/16)/255,ye=Math.floor(ce),de=ce-ye,me=oe[1]*(ie.value[1]+(15&ie.value[2])/16)/255,pe=Math.floor(me),xe=me-pe;ye+=1,pe+=1;var Pe=ue.position;Pe[0]=Pe[1]=Pe[2]=0;for(var _e=0;_e<2;++_e)for(var Me=_e?de:1-de,Se=0;Se<2;++Se)for(var Ce=ye+_e,ae=pe+Se,fe=Me*(Se?xe:1-xe),be=0;be<3;++be)Pe[be]+=this._field[be].get(Ce,ae)*fe;for(var ke=this._pickResult.level,Le=0;Le<3;++Le)if(ke[Le]=x.le(this.contourLevels[Le],Pe[Le]),ke[Le]<0)this.contourLevels[Le].length>0&&(ke[Le]=0);else if(ke[Le]Math.abs(ze-Pe[Le])&&(ke[Le]+=1)}for(ue.index[0]=de<.5?ye:ye+1,ue.index[1]=xe<.5?pe:pe+1,ue.uv[0]=ce/oe[0],ue.uv[1]=me/oe[1],be=0;be<3;++be)ue.dataCoordinate[be]=this._field[be].get(ue.index[0],ue.index[1]);return ue},j.padField=function(ie,oe){var ue=oe.shape.slice(),ce=ie.shape.slice();w.assign(ie.lo(1,1).hi(ue[0],ue[1]),oe),w.assign(ie.lo(1).hi(ue[0],1),oe.hi(ue[0],1)),w.assign(ie.lo(1,ce[1]-1).hi(ue[0],1),oe.lo(0,ue[1]-1).hi(ue[0],1)),w.assign(ie.lo(0,1).hi(1,ue[1]),oe.hi(1)),w.assign(ie.lo(ce[0]-1,1).hi(1,ue[1]),oe.lo(ue[0]-1)),ie.set(0,0,oe.get(0,0)),ie.set(0,ce[1]-1,oe.get(0,ue[1]-1)),ie.set(ce[0]-1,0,oe.get(ue[0]-1,0)),ie.set(ce[0]-1,ce[1]-1,oe.get(ue[0]-1,ue[1]-1))},j.update=function(ie){ie=ie||{},this.objectOffset=ie.objectOffset||this.objectOffset,this.dirty=!0,"contourWidth"in ie&&(this.contourWidth=X(ie.contourWidth,Number)),"showContour"in ie&&(this.showContour=X(ie.showContour,Boolean)),"showSurface"in ie&&(this.showSurface=!!ie.showSurface),"contourTint"in ie&&(this.contourTint=X(ie.contourTint,Boolean)),"contourColor"in ie&&(this.contourColor=re(ie.contourColor)),"contourProject"in ie&&(this.contourProject=X(ie.contourProject,function(kn){return X(kn,Boolean)})),"surfaceProject"in ie&&(this.surfaceProject=ie.surfaceProject),"dynamicColor"in ie&&(this.dynamicColor=re(ie.dynamicColor)),"dynamicTint"in ie&&(this.dynamicTint=X(ie.dynamicTint,Number)),"dynamicWidth"in ie&&(this.dynamicWidth=X(ie.dynamicWidth,Number)),"opacity"in ie&&(this.opacity=ie.opacity),"opacityscale"in ie&&(this.opacityscale=ie.opacityscale),"colorBounds"in ie&&(this.colorBounds=ie.colorBounds),"vertexColor"in ie&&(this.vertexColor=ie.vertexColor?1:0),"colormap"in ie&&this._colorMap.setPixels(this.genColormap(ie.colormap,this.opacityscale));var oe=ie.field||ie.coords&&ie.coords[2]||null,ue=!1;if(oe||(oe=this._field[2].shape[0]||this._field[2].shape[2]?this._field[2].lo(1,1).hi(this._field[2].shape[0]-2,this._field[2].shape[1]-2):this._field[2].hi(0,0)),"field"in ie||"coords"in ie){var ce=(oe.shape[0]+2)*(oe.shape[1]+2);ce>this._field[2].data.length&&(h.freeFloat(this._field[2].data),this._field[2].data=h.mallocFloat(u.nextPow2(ce))),this._field[2]=S(this._field[2].data,[oe.shape[0]+2,oe.shape[1]+2]),this.padField(this._field[2],oe),this.shape=oe.shape.slice();for(var ye=this.shape,de=0;de<2;++de)this._field[2].size>this._field[de].data.length&&(h.freeFloat(this._field[de].data),this._field[de].data=h.mallocFloat(this._field[2].size)),this._field[de]=S(this._field[de].data,[ye[0]+2,ye[1]+2]);if(ie.coords){var me=ie.coords;if(!Array.isArray(me)||me.length!==3)throw new Error("gl-surface: invalid coordinates for x/y");for(de=0;de<2;++de){var pe=me[de];for(Se=0;Se<2;++Se)if(pe.shape[Se]!==ye[Se])throw new Error("gl-surface: coords have incorrect shape");this.padField(this._field[de],pe)}}else if(ie.ticks){var xe=ie.ticks;if(!Array.isArray(xe)||xe.length!==2)throw new Error("gl-surface: invalid ticks");for(de=0;de<2;++de){var Pe=xe[de];if((Array.isArray(Pe)||Pe.length)&&(Pe=S(Pe)),Pe.shape[0]!==ye[de])throw new Error("gl-surface: invalid tick length");var _e=S(Pe.data,ye);_e.stride[de]=Pe.stride[0],_e.stride[1^de]=0,this.padField(this._field[de],_e)}}else{for(de=0;de<2;++de){var Me=[0,0];Me[de]=1,this._field[de]=S(this._field[de].data,[ye[0]+2,ye[1]+2],Me,0)}this._field[0].set(0,0,0);for(var Se=0;Se0){for(var An=0;An<5;++An)ft.pop();kt-=1}continue e}ft.push(dt[0],dt[1],Lt[0],Lt[1],dt[2]),kt+=1}}ut.push(kt)}this._contourOffsets[Re]=Qe,this._contourCounts[Re]=ut}var Yn=h.mallocFloat(ft.length);for(de=0;deB||z<0||z>B)throw new Error("gl-texture2d: Invalid texture size");return I._shape=[O,z],I.bind(),F.texImage2D(F.TEXTURE_2D,0,I.format,O,z,0,I.format,I.type,null),I._mipLevels=[0],I}function k(I,O,z,F,B,N){this.gl=I,this.handle=O,this.format=B,this.type=N,this._shape=[z,F],this._mipLevels=[0],this._magFilter=I.NEAREST,this._minFilter=I.NEAREST,this._wrapS=I.CLAMP_TO_EDGE,this._wrapT=I.CLAMP_TO_EDGE,this._anisoSamples=1;var W=this,j=[this._wrapS,this._wrapT];Object.defineProperties(j,[{get:function(){return W._wrapS},set:function(U){return W.wrapS=U}},{get:function(){return W._wrapT},set:function(U){return W.wrapT=U}}]),this._wrapVector=j;var $=[this._shape[0],this._shape[1]];Object.defineProperties($,[{get:function(){return W._shape[0]},set:function(U){return W.width=U}},{get:function(){return W._shape[1]},set:function(U){return W.height=U}}]),this._shapeVector=$}var E=k.prototype;function x(I,O){return I.length===3?O[2]===1&&O[1]===I[0]*I[2]&&O[0]===I[2]:O[0]===1&&O[1]===I[0]}function A(I){var O=I.createTexture();return I.bindTexture(I.TEXTURE_2D,O),I.texParameteri(I.TEXTURE_2D,I.TEXTURE_MIN_FILTER,I.NEAREST),I.texParameteri(I.TEXTURE_2D,I.TEXTURE_MAG_FILTER,I.NEAREST),I.texParameteri(I.TEXTURE_2D,I.TEXTURE_WRAP_S,I.CLAMP_TO_EDGE),I.texParameteri(I.TEXTURE_2D,I.TEXTURE_WRAP_T,I.CLAMP_TO_EDGE),O}function L(I,O,z,F,B){var N=I.getParameter(I.MAX_TEXTURE_SIZE);if(O<0||O>N||z<0||z>N)throw new Error("gl-texture2d: Invalid texture shape");if(B===I.FLOAT&&!I.getExtension("OES_texture_float"))throw new Error("gl-texture2d: Floating point textures not supported on this platform");var W=A(I);return I.texImage2D(I.TEXTURE_2D,0,F,O,z,0,F,B,null),new k(I,W,O,z,F,B)}function b(I,O,z,F,B,N){var W=A(I);return I.texImage2D(I.TEXTURE_2D,0,B,B,N,O),new k(I,W,z,F,B,N)}function R(I,O){var z=O.dtype,F=O.shape.slice(),B=I.getParameter(I.MAX_TEXTURE_SIZE);if(F[0]<0||F[0]>B||F[1]<0||F[1]>B)throw new Error("gl-texture2d: Invalid texture size");var N=x(F,O.stride.slice()),W=0;z==="float32"?W=I.FLOAT:z==="float64"?(W=I.FLOAT,N=!1,z="float32"):z==="uint8"?W=I.UNSIGNED_BYTE:(W=I.UNSIGNED_BYTE,N=!1,z="uint8");var j,$,U=0;if(F.length===2)U=I.LUMINANCE,F=[F[0],F[1],1],O=u(O.data,F,[O.stride[0],O.stride[1],1],O.offset);else{if(F.length!==3)throw new Error("gl-texture2d: Invalid shape for texture");if(F[2]===1)U=I.ALPHA;else if(F[2]===2)U=I.LUMINANCE_ALPHA;else if(F[2]===3)U=I.RGB;else{if(F[2]!==4)throw new Error("gl-texture2d: Invalid shape for pixel coords");U=I.RGBA}}W!==I.FLOAT||I.getExtension("OES_texture_float")||(W=I.UNSIGNED_BYTE,N=!1);var G=O.size;if(N)j=O.offset===0&&O.data.length===G?O.data:O.data.subarray(O.offset,O.offset+G);else{var q=[F[2],F[2]*F[0],1];$=s.malloc(G,z);var H=u($,F,q,0);z!=="float32"&&z!=="float64"||W!==I.UNSIGNED_BYTE?o.assign(H,O):S(H,O),j=$.subarray(0,G)}var ne=A(I);return I.texImage2D(I.TEXTURE_2D,0,U,F[0],F[1],0,U,W,j),N||s.free($),new k(I,ne,F[0],F[1],U,W)}Object.defineProperties(E,{minFilter:{get:function(){return this._minFilter},set:function(I){this.bind();var O=this.gl;if(this.type===O.FLOAT&&c.indexOf(I)>=0&&(O.getExtension("OES_texture_float_linear")||(I=O.NEAREST)),h.indexOf(I)<0)throw new Error("gl-texture2d: Unknown filter mode "+I);return O.texParameteri(O.TEXTURE_2D,O.TEXTURE_MIN_FILTER,I),this._minFilter=I}},magFilter:{get:function(){return this._magFilter},set:function(I){this.bind();var O=this.gl;if(this.type===O.FLOAT&&c.indexOf(I)>=0&&(O.getExtension("OES_texture_float_linear")||(I=O.NEAREST)),h.indexOf(I)<0)throw new Error("gl-texture2d: Unknown filter mode "+I);return O.texParameteri(O.TEXTURE_2D,O.TEXTURE_MAG_FILTER,I),this._magFilter=I}},mipSamples:{get:function(){return this._anisoSamples},set:function(I){var O=this._anisoSamples;if(this._anisoSamples=0|Math.max(I,1),O!==this._anisoSamples){var z=this.gl.getExtension("EXT_texture_filter_anisotropic");z&&this.gl.texParameterf(this.gl.TEXTURE_2D,z.TEXTURE_MAX_ANISOTROPY_EXT,this._anisoSamples)}return this._anisoSamples}},wrapS:{get:function(){return this._wrapS},set:function(I){if(this.bind(),m.indexOf(I)<0)throw new Error("gl-texture2d: Unknown wrap mode "+I);return this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_S,I),this._wrapS=I}},wrapT:{get:function(){return this._wrapT},set:function(I){if(this.bind(),m.indexOf(I)<0)throw new Error("gl-texture2d: Unknown wrap mode "+I);return this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_T,I),this._wrapT=I}},wrap:{get:function(){return this._wrapVector},set:function(I){if(Array.isArray(I)||(I=[I,I]),I.length!==2)throw new Error("gl-texture2d: Must specify wrap mode for rows and columns");for(var O=0;O<2;++O)if(m.indexOf(I[O])<0)throw new Error("gl-texture2d: Unknown wrap mode "+I);this._wrapS=I[0],this._wrapT=I[1];var z=this.gl;return this.bind(),z.texParameteri(z.TEXTURE_2D,z.TEXTURE_WRAP_S,this._wrapS),z.texParameteri(z.TEXTURE_2D,z.TEXTURE_WRAP_T,this._wrapT),I}},shape:{get:function(){return this._shapeVector},set:function(I){if(Array.isArray(I)){if(I.length!==2)throw new Error("gl-texture2d: Invalid texture shape")}else I=[0|I,0|I];return _(this,0|I[0],0|I[1]),[0|I[0],0|I[1]]}},width:{get:function(){return this._shape[0]},set:function(I){return _(this,I|=0,this._shape[1]),I}},height:{get:function(){return this._shape[1]},set:function(I){return I|=0,_(this,this._shape[0],I),I}}}),E.bind=function(I){var O=this.gl;return I!==void 0&&O.activeTexture(O.TEXTURE0+(0|I)),O.bindTexture(O.TEXTURE_2D,this.handle),I!==void 0?0|I:O.getParameter(O.ACTIVE_TEXTURE)-O.TEXTURE0},E.dispose=function(){this.gl.deleteTexture(this.handle)},E.generateMipmap=function(){this.bind(),this.gl.generateMipmap(this.gl.TEXTURE_2D);for(var I=Math.min(this._shape[0],this._shape[1]),O=0;I>0;++O,I>>>=1)this._mipLevels.indexOf(O)<0&&this._mipLevels.push(O)},E.setPixels=function(I,O,z,F){var B=this.gl;this.bind(),Array.isArray(O)?(F=z,z=0|O[1],O=0|O[0]):(O=O||0,z=z||0),F=F||0;var N=y(I)?I:I.raw;if(N)this._mipLevels.indexOf(F)<0?(B.texImage2D(B.TEXTURE_2D,0,this.format,this.format,this.type,N),this._mipLevels.push(F)):B.texSubImage2D(B.TEXTURE_2D,F,O,z,this.format,this.type,N);else{if(!(I.shape&&I.stride&&I.data))throw new Error("gl-texture2d: Unsupported data type");if(I.shape.length<2||O+I.shape[1]>this._shape[1]>>>F||z+I.shape[0]>this._shape[0]>>>F||O<0||z<0)throw new Error("gl-texture2d: Texture dimensions are out of bounds");(function(W,j,$,U,G,q,H,ne){var te=ne.dtype,Z=ne.shape.slice();if(Z.length<2||Z.length>3)throw new Error("gl-texture2d: Invalid ndarray, must be 2d or 3d");var X=0,Q=0,re=x(Z,ne.stride.slice());if(te==="float32"?X=W.FLOAT:te==="float64"?(X=W.FLOAT,re=!1,te="float32"):te==="uint8"?X=W.UNSIGNED_BYTE:(X=W.UNSIGNED_BYTE,re=!1,te="uint8"),Z.length===2)Q=W.LUMINANCE,Z=[Z[0],Z[1],1],ne=u(ne.data,Z,[ne.stride[0],ne.stride[1],1],ne.offset);else{if(Z.length!==3)throw new Error("gl-texture2d: Invalid shape for texture");if(Z[2]===1)Q=W.ALPHA;else if(Z[2]===2)Q=W.LUMINANCE_ALPHA;else if(Z[2]===3)Q=W.RGB;else{if(Z[2]!==4)throw new Error("gl-texture2d: Invalid shape for pixel coords");Q=W.RGBA}Z[2]}if(Q!==W.LUMINANCE&&Q!==W.ALPHA||G!==W.LUMINANCE&&G!==W.ALPHA||(Q=G),Q!==G)throw new Error("gl-texture2d: Incompatible texture format for setPixels");var ie=ne.size,oe=H.indexOf(U)<0;if(oe&&H.push(U),X===q&&re)ne.offset===0&&ne.data.length===ie?oe?W.texImage2D(W.TEXTURE_2D,U,G,Z[0],Z[1],0,G,q,ne.data):W.texSubImage2D(W.TEXTURE_2D,U,j,$,Z[0],Z[1],G,q,ne.data):oe?W.texImage2D(W.TEXTURE_2D,U,G,Z[0],Z[1],0,G,q,ne.data.subarray(ne.offset,ne.offset+ie)):W.texSubImage2D(W.TEXTURE_2D,U,j,$,Z[0],Z[1],G,q,ne.data.subarray(ne.offset,ne.offset+ie));else{var ue;ue=q===W.FLOAT?s.mallocFloat32(ie):s.mallocUint8(ie);var ce=u(ue,Z,[Z[2],Z[2]*Z[0],1]);X===W.FLOAT&&q===W.UNSIGNED_BYTE?S(ce,ne):o.assign(ce,ne),oe?W.texImage2D(W.TEXTURE_2D,U,G,Z[0],Z[1],0,G,q,ue.subarray(0,ie)):W.texSubImage2D(W.TEXTURE_2D,U,j,$,Z[0],Z[1],G,q,ue.subarray(0,ie)),q===W.FLOAT?s.freeFloat32(ue):s.freeUint8(ue)}})(B,O,z,F,this.format,this.type,this._mipLevels,I)}}},3056:function(f){f.exports=function(l,a,u){a?a.bind():l.bindBuffer(l.ELEMENT_ARRAY_BUFFER,null);var o=0|l.getParameter(l.MAX_VERTEX_ATTRIBS);if(u){if(u.length>o)throw new Error("gl-vao: Too many vertex attributes");for(var s=0;s1?0:Math.acos(y)};var u=a(5415),o=a(899),s=a(9305)},8827:function(f){f.exports=function(l,a){return l[0]=Math.ceil(a[0]),l[1]=Math.ceil(a[1]),l[2]=Math.ceil(a[2]),l}},7622:function(f){f.exports=function(l){var a=new Float32Array(3);return a[0]=l[0],a[1]=l[1],a[2]=l[2],a}},8782:function(f){f.exports=function(l,a){return l[0]=a[0],l[1]=a[1],l[2]=a[2],l}},8501:function(f){f.exports=function(){var l=new Float32Array(3);return l[0]=0,l[1]=0,l[2]=0,l}},903:function(f){f.exports=function(l,a,u){var o=a[0],s=a[1],c=a[2],h=u[0],m=u[1],w=u[2];return l[0]=s*w-c*m,l[1]=c*h-o*w,l[2]=o*m-s*h,l}},5981:function(f,l,a){f.exports=a(8288)},8288:function(f){f.exports=function(l,a){var u=a[0]-l[0],o=a[1]-l[1],s=a[2]-l[2];return Math.sqrt(u*u+o*o+s*s)}},8629:function(f,l,a){f.exports=a(7979)},7979:function(f){f.exports=function(l,a,u){return l[0]=a[0]/u[0],l[1]=a[1]/u[1],l[2]=a[2]/u[2],l}},9305:function(f){f.exports=function(l,a){return l[0]*a[0]+l[1]*a[1]+l[2]*a[2]}},154:function(f){f.exports=1e-6},4932:function(f,l,a){f.exports=function(o,s){var c=o[0],h=o[1],m=o[2],w=s[0],y=s[1],S=s[2];return Math.abs(c-w)<=u*Math.max(1,Math.abs(c),Math.abs(w))&&Math.abs(h-y)<=u*Math.max(1,Math.abs(h),Math.abs(y))&&Math.abs(m-S)<=u*Math.max(1,Math.abs(m),Math.abs(S))};var u=a(154)},5777:function(f){f.exports=function(l,a){return l[0]===a[0]&&l[1]===a[1]&&l[2]===a[2]}},3306:function(f){f.exports=function(l,a){return l[0]=Math.floor(a[0]),l[1]=Math.floor(a[1]),l[2]=Math.floor(a[2]),l}},7447:function(f,l,a){f.exports=function(o,s,c,h,m,w){var y,S;for(s||(s=3),c||(c=0),S=h?Math.min(h*s+c,o.length):o.length,y=c;y0&&(c=1/Math.sqrt(c),l[0]=a[0]*c,l[1]=a[1]*c,l[2]=a[2]*c),l}},6660:function(f){f.exports=function(l,a){a=a||1;var u=2*Math.random()*Math.PI,o=2*Math.random()-1,s=Math.sqrt(1-o*o)*a;return l[0]=Math.cos(u)*s,l[1]=Math.sin(u)*s,l[2]=o*a,l}},392:function(f){f.exports=function(l,a,u,o){var s=u[1],c=u[2],h=a[1]-s,m=a[2]-c,w=Math.sin(o),y=Math.cos(o);return l[0]=a[0],l[1]=s+h*y-m*w,l[2]=c+h*w+m*y,l}},3222:function(f){f.exports=function(l,a,u,o){var s=u[0],c=u[2],h=a[0]-s,m=a[2]-c,w=Math.sin(o),y=Math.cos(o);return l[0]=s+m*w+h*y,l[1]=a[1],l[2]=c+m*y-h*w,l}},3388:function(f){f.exports=function(l,a,u,o){var s=u[0],c=u[1],h=a[0]-s,m=a[1]-c,w=Math.sin(o),y=Math.cos(o);return l[0]=s+h*y-m*w,l[1]=c+h*w+m*y,l[2]=a[2],l}},1624:function(f){f.exports=function(l,a){return l[0]=Math.round(a[0]),l[1]=Math.round(a[1]),l[2]=Math.round(a[2]),l}},5685:function(f){f.exports=function(l,a,u){return l[0]=a[0]*u,l[1]=a[1]*u,l[2]=a[2]*u,l}},6722:function(f){f.exports=function(l,a,u,o){return l[0]=a[0]+u[0]*o,l[1]=a[1]+u[1]*o,l[2]=a[2]+u[2]*o,l}},831:function(f){f.exports=function(l,a,u,o){return l[0]=a,l[1]=u,l[2]=o,l}},5294:function(f,l,a){f.exports=a(6403)},3303:function(f,l,a){f.exports=a(4337)},6403:function(f){f.exports=function(l,a){var u=a[0]-l[0],o=a[1]-l[1],s=a[2]-l[2];return u*u+o*o+s*s}},4337:function(f){f.exports=function(l){var a=l[0],u=l[1],o=l[2];return a*a+u*u+o*o}},8921:function(f,l,a){f.exports=a(911)},911:function(f){f.exports=function(l,a,u){return l[0]=a[0]-u[0],l[1]=a[1]-u[1],l[2]=a[2]-u[2],l}},9908:function(f){f.exports=function(l,a,u){var o=a[0],s=a[1],c=a[2];return l[0]=o*u[0]+s*u[3]+c*u[6],l[1]=o*u[1]+s*u[4]+c*u[7],l[2]=o*u[2]+s*u[5]+c*u[8],l}},3255:function(f){f.exports=function(l,a,u){var o=a[0],s=a[1],c=a[2],h=u[3]*o+u[7]*s+u[11]*c+u[15];return h=h||1,l[0]=(u[0]*o+u[4]*s+u[8]*c+u[12])/h,l[1]=(u[1]*o+u[5]*s+u[9]*c+u[13])/h,l[2]=(u[2]*o+u[6]*s+u[10]*c+u[14])/h,l}},6568:function(f){f.exports=function(l,a,u){var o=a[0],s=a[1],c=a[2],h=u[0],m=u[1],w=u[2],y=u[3],S=y*o+m*c-w*s,_=y*s+w*o-h*c,k=y*c+h*s-m*o,E=-h*o-m*s-w*c;return l[0]=S*y+E*-h+_*-w-k*-m,l[1]=_*y+E*-m+k*-h-S*-w,l[2]=k*y+E*-w+S*-m-_*-h,l}},3433:function(f){f.exports=function(l,a,u){return l[0]=a[0]+u[0],l[1]=a[1]+u[1],l[2]=a[2]+u[2],l[3]=a[3]+u[3],l}},1413:function(f){f.exports=function(l){var a=new Float32Array(4);return a[0]=l[0],a[1]=l[1],a[2]=l[2],a[3]=l[3],a}},3470:function(f){f.exports=function(l,a){return l[0]=a[0],l[1]=a[1],l[2]=a[2],l[3]=a[3],l}},5313:function(f){f.exports=function(){var l=new Float32Array(4);return l[0]=0,l[1]=0,l[2]=0,l[3]=0,l}},5446:function(f){f.exports=function(l,a){var u=a[0]-l[0],o=a[1]-l[1],s=a[2]-l[2],c=a[3]-l[3];return Math.sqrt(u*u+o*o+s*s+c*c)}},205:function(f){f.exports=function(l,a,u){return l[0]=a[0]/u[0],l[1]=a[1]/u[1],l[2]=a[2]/u[2],l[3]=a[3]/u[3],l}},4242:function(f){f.exports=function(l,a){return l[0]*a[0]+l[1]*a[1]+l[2]*a[2]+l[3]*a[3]}},5680:function(f){f.exports=function(l,a,u,o){var s=new Float32Array(4);return s[0]=l,s[1]=a,s[2]=u,s[3]=o,s}},4020:function(f,l,a){f.exports={create:a(5313),clone:a(1413),fromValues:a(5680),copy:a(3470),set:a(6453),add:a(3433),subtract:a(2705),multiply:a(746),divide:a(205),min:a(2170),max:a(3030),scale:a(5510),scaleAndAdd:a(4224),distance:a(5446),squaredDistance:a(1542),length:a(8177),squaredLength:a(9037),negate:a(6459),inverse:a(8057),normalize:a(381),dot:a(4242),lerp:a(8746),random:a(3770),transformMat4:a(6342),transformQuat:a(5022)}},8057:function(f){f.exports=function(l,a){return l[0]=1/a[0],l[1]=1/a[1],l[2]=1/a[2],l[3]=1/a[3],l}},8177:function(f){f.exports=function(l){var a=l[0],u=l[1],o=l[2],s=l[3];return Math.sqrt(a*a+u*u+o*o+s*s)}},8746:function(f){f.exports=function(l,a,u,o){var s=a[0],c=a[1],h=a[2],m=a[3];return l[0]=s+o*(u[0]-s),l[1]=c+o*(u[1]-c),l[2]=h+o*(u[2]-h),l[3]=m+o*(u[3]-m),l}},3030:function(f){f.exports=function(l,a,u){return l[0]=Math.max(a[0],u[0]),l[1]=Math.max(a[1],u[1]),l[2]=Math.max(a[2],u[2]),l[3]=Math.max(a[3],u[3]),l}},2170:function(f){f.exports=function(l,a,u){return l[0]=Math.min(a[0],u[0]),l[1]=Math.min(a[1],u[1]),l[2]=Math.min(a[2],u[2]),l[3]=Math.min(a[3],u[3]),l}},746:function(f){f.exports=function(l,a,u){return l[0]=a[0]*u[0],l[1]=a[1]*u[1],l[2]=a[2]*u[2],l[3]=a[3]*u[3],l}},6459:function(f){f.exports=function(l,a){return l[0]=-a[0],l[1]=-a[1],l[2]=-a[2],l[3]=-a[3],l}},381:function(f){f.exports=function(l,a){var u=a[0],o=a[1],s=a[2],c=a[3],h=u*u+o*o+s*s+c*c;return h>0&&(h=1/Math.sqrt(h),l[0]=u*h,l[1]=o*h,l[2]=s*h,l[3]=c*h),l}},3770:function(f,l,a){var u=a(381),o=a(5510);f.exports=function(s,c){return c=c||1,s[0]=Math.random(),s[1]=Math.random(),s[2]=Math.random(),s[3]=Math.random(),u(s,s),o(s,s,c),s}},5510:function(f){f.exports=function(l,a,u){return l[0]=a[0]*u,l[1]=a[1]*u,l[2]=a[2]*u,l[3]=a[3]*u,l}},4224:function(f){f.exports=function(l,a,u,o){return l[0]=a[0]+u[0]*o,l[1]=a[1]+u[1]*o,l[2]=a[2]+u[2]*o,l[3]=a[3]+u[3]*o,l}},6453:function(f){f.exports=function(l,a,u,o,s){return l[0]=a,l[1]=u,l[2]=o,l[3]=s,l}},1542:function(f){f.exports=function(l,a){var u=a[0]-l[0],o=a[1]-l[1],s=a[2]-l[2],c=a[3]-l[3];return u*u+o*o+s*s+c*c}},9037:function(f){f.exports=function(l){var a=l[0],u=l[1],o=l[2],s=l[3];return a*a+u*u+o*o+s*s}},2705:function(f){f.exports=function(l,a,u){return l[0]=a[0]-u[0],l[1]=a[1]-u[1],l[2]=a[2]-u[2],l[3]=a[3]-u[3],l}},6342:function(f){f.exports=function(l,a,u){var o=a[0],s=a[1],c=a[2],h=a[3];return l[0]=u[0]*o+u[4]*s+u[8]*c+u[12]*h,l[1]=u[1]*o+u[5]*s+u[9]*c+u[13]*h,l[2]=u[2]*o+u[6]*s+u[10]*c+u[14]*h,l[3]=u[3]*o+u[7]*s+u[11]*c+u[15]*h,l}},5022:function(f){f.exports=function(l,a,u){var o=a[0],s=a[1],c=a[2],h=u[0],m=u[1],w=u[2],y=u[3],S=y*o+m*c-w*s,_=y*s+w*o-h*c,k=y*c+h*s-m*o,E=-h*o-m*s-w*c;return l[0]=S*y+E*-h+_*-w-k*-m,l[1]=_*y+E*-m+k*-h-S*-w,l[2]=k*y+E*-w+S*-m-_*-h,l[3]=a[3],l}},9365:function(f,l,a){var u=a(8096),o=a(7896);f.exports=function(s){for(var c=Array.isArray(s)?s:u(s),h=0;h0)continue;ye=ue.slice(0,1).join("")}return G(ye),z+=ye.length,(b=b.slice(ye.length)).length}}function Q(){return/[^a-fA-F0-9]/.test(_)?(G(b.join("")),L=m,x):(b.push(_),k=_,x+1)}function re(){return _==="."||/[eE]/.test(_)?(b.push(_),L=5,k=_,x+1):_==="x"&&b.length===1&&b[0]==="0"?(L=11,b.push(_),k=_,x+1):/[^\d]/.test(_)?(G(b.join("")),L=m,x):(b.push(_),k=_,x+1)}function ie(){return _==="f"&&(b.push(_),k=_,x+=1),/[eE]/.test(_)?(b.push(_),k=_,x+1):(_!=="-"&&_!=="+"||!/[eE]/.test(k))&&/[^\d]/.test(_)?(G(b.join("")),L=m,x):(b.push(_),k=_,x+1)}function oe(){if(/[^\d\w_]/.test(_)){var ue=b.join("");return L=U[ue]?8:$[ue]?7:6,G(b.join("")),L=m,x}return b.push(_),k=_,x+1}};var u=a(399),o=a(9746),s=a(9525),c=a(9458),h=a(3585),m=999,w=9999,y=["block-comment","line-comment","preprocessor","operator","integer","float","ident","builtin","keyword","whitespace","eof","integer"]},3585:function(f,l,a){var u=a(9525);u=u.slice().filter(function(o){return!/^(gl\_|texture)/.test(o)}),f.exports=u.concat(["gl_VertexID","gl_InstanceID","gl_Position","gl_PointSize","gl_FragCoord","gl_FrontFacing","gl_FragDepth","gl_PointCoord","gl_MaxVertexAttribs","gl_MaxVertexUniformVectors","gl_MaxVertexOutputVectors","gl_MaxFragmentInputVectors","gl_MaxVertexTextureImageUnits","gl_MaxCombinedTextureImageUnits","gl_MaxTextureImageUnits","gl_MaxFragmentUniformVectors","gl_MaxDrawBuffers","gl_MinProgramTexelOffset","gl_MaxProgramTexelOffset","gl_DepthRangeParameters","gl_DepthRange","trunc","round","roundEven","isnan","isinf","floatBitsToInt","floatBitsToUint","intBitsToFloat","uintBitsToFloat","packSnorm2x16","unpackSnorm2x16","packUnorm2x16","unpackUnorm2x16","packHalf2x16","unpackHalf2x16","outerProduct","transpose","determinant","inverse","texture","textureSize","textureProj","textureLod","textureOffset","texelFetch","texelFetchOffset","textureProjOffset","textureLodOffset","textureProjLod","textureProjLodOffset","textureGrad","textureGradOffset","textureProjGrad","textureProjGradOffset"])},9525:function(f){f.exports=["abs","acos","all","any","asin","atan","ceil","clamp","cos","cross","dFdx","dFdy","degrees","distance","dot","equal","exp","exp2","faceforward","floor","fract","gl_BackColor","gl_BackLightModelProduct","gl_BackLightProduct","gl_BackMaterial","gl_BackSecondaryColor","gl_ClipPlane","gl_ClipVertex","gl_Color","gl_DepthRange","gl_DepthRangeParameters","gl_EyePlaneQ","gl_EyePlaneR","gl_EyePlaneS","gl_EyePlaneT","gl_Fog","gl_FogCoord","gl_FogFragCoord","gl_FogParameters","gl_FragColor","gl_FragCoord","gl_FragData","gl_FragDepth","gl_FragDepthEXT","gl_FrontColor","gl_FrontFacing","gl_FrontLightModelProduct","gl_FrontLightProduct","gl_FrontMaterial","gl_FrontSecondaryColor","gl_LightModel","gl_LightModelParameters","gl_LightModelProducts","gl_LightProducts","gl_LightSource","gl_LightSourceParameters","gl_MaterialParameters","gl_MaxClipPlanes","gl_MaxCombinedTextureImageUnits","gl_MaxDrawBuffers","gl_MaxFragmentUniformComponents","gl_MaxLights","gl_MaxTextureCoords","gl_MaxTextureImageUnits","gl_MaxTextureUnits","gl_MaxVaryingFloats","gl_MaxVertexAttribs","gl_MaxVertexTextureImageUnits","gl_MaxVertexUniformComponents","gl_ModelViewMatrix","gl_ModelViewMatrixInverse","gl_ModelViewMatrixInverseTranspose","gl_ModelViewMatrixTranspose","gl_ModelViewProjectionMatrix","gl_ModelViewProjectionMatrixInverse","gl_ModelViewProjectionMatrixInverseTranspose","gl_ModelViewProjectionMatrixTranspose","gl_MultiTexCoord0","gl_MultiTexCoord1","gl_MultiTexCoord2","gl_MultiTexCoord3","gl_MultiTexCoord4","gl_MultiTexCoord5","gl_MultiTexCoord6","gl_MultiTexCoord7","gl_Normal","gl_NormalMatrix","gl_NormalScale","gl_ObjectPlaneQ","gl_ObjectPlaneR","gl_ObjectPlaneS","gl_ObjectPlaneT","gl_Point","gl_PointCoord","gl_PointParameters","gl_PointSize","gl_Position","gl_ProjectionMatrix","gl_ProjectionMatrixInverse","gl_ProjectionMatrixInverseTranspose","gl_ProjectionMatrixTranspose","gl_SecondaryColor","gl_TexCoord","gl_TextureEnvColor","gl_TextureMatrix","gl_TextureMatrixInverse","gl_TextureMatrixInverseTranspose","gl_TextureMatrixTranspose","gl_Vertex","greaterThan","greaterThanEqual","inversesqrt","length","lessThan","lessThanEqual","log","log2","matrixCompMult","max","min","mix","mod","normalize","not","notEqual","pow","radians","reflect","refract","sign","sin","smoothstep","sqrt","step","tan","texture2D","texture2DLod","texture2DProj","texture2DProjLod","textureCube","textureCubeLod","texture2DLodEXT","texture2DProjLodEXT","textureCubeLodEXT","texture2DGradEXT","texture2DProjGradEXT","textureCubeGradEXT"]},9458:function(f,l,a){var u=a(399);f.exports=u.slice().concat(["layout","centroid","smooth","case","mat2x2","mat2x3","mat2x4","mat3x2","mat3x3","mat3x4","mat4x2","mat4x3","mat4x4","uvec2","uvec3","uvec4","samplerCubeShadow","sampler2DArray","sampler2DArrayShadow","isampler2D","isampler3D","isamplerCube","isampler2DArray","usampler2D","usampler3D","usamplerCube","usampler2DArray","coherent","restrict","readonly","writeonly","resource","atomic_uint","noperspective","patch","sample","subroutine","common","partition","active","filter","image1D","image2D","image3D","imageCube","iimage1D","iimage2D","iimage3D","iimageCube","uimage1D","uimage2D","uimage3D","uimageCube","image1DArray","image2DArray","iimage1DArray","iimage2DArray","uimage1DArray","uimage2DArray","image1DShadow","image2DShadow","image1DArrayShadow","image2DArrayShadow","imageBuffer","iimageBuffer","uimageBuffer","sampler1DArray","sampler1DArrayShadow","isampler1D","isampler1DArray","usampler1D","usampler1DArray","isampler2DRect","usampler2DRect","samplerBuffer","isamplerBuffer","usamplerBuffer","sampler2DMS","isampler2DMS","usampler2DMS","sampler2DMSArray","isampler2DMSArray","usampler2DMSArray"])},399:function(f){f.exports=["precision","highp","mediump","lowp","attribute","const","uniform","varying","break","continue","do","for","while","if","else","in","out","inout","float","int","uint","void","bool","true","false","discard","return","mat2","mat3","mat4","vec2","vec3","vec4","ivec2","ivec3","ivec4","bvec2","bvec3","bvec4","sampler1D","sampler2D","sampler3D","samplerCube","sampler1DShadow","sampler2DShadow","struct","asm","class","union","enum","typedef","template","this","packed","goto","switch","default","inline","noinline","volatile","public","static","extern","external","interface","long","short","double","half","fixed","unsigned","input","output","hvec2","hvec3","hvec4","dvec2","dvec3","dvec4","fvec2","fvec3","fvec4","sampler2DRect","sampler3DRect","sampler2DRectShadow","sizeof","cast","namespace","using"]},9746:function(f){f.exports=["<<=",">>=","++","--","<<",">>","<=",">=","==","!=","&&","||","+=","-=","*=","/=","%=","&=","^^","^=","|=","(",")","[","]",".","!","~","*","/","%","+","-","<",">","&","^","|","?",":","=",",",";","{","}"]},8096:function(f,l,a){var u=a(3193);f.exports=function(o,s){var c=u(s),h=[];return(h=h.concat(c(o))).concat(c(null))}},6832:function(f){f.exports=function(l){typeof l=="string"&&(l=[l]);for(var a=[].slice.call(arguments,1),u=[],o=0;o0;)for(var b=(S=L.pop()).adjacent,R=0;R<=k;++R){var I=b[R];if(I.boundary&&!(I.lastVisited<=-E)){for(var O=I.vertices,z=0;z<=k;++z){var F=O[z];x[z]=F<0?_:A[F]}var B=this.orient();if(B>0)return I;I.lastVisited=-E,B===0&&L.push(I)}}return null},y.walk=function(S,_){var k=this.vertices.length-1,E=this.dimension,x=this.vertices,A=this.tuple,L=_?this.interior.length*Math.random()|0:this.interior.length-1,b=this.interior[L];e:for(;!b.boundary;){for(var R=b.vertices,I=b.adjacent,O=0;O<=E;++O)A[O]=x[R[O]];for(b.lastVisited=k,O=0;O<=E;++O){var z=I[O];if(!(z.lastVisited>=k)){var F=A[O];A[O]=S;var B=this.orient();if(A[O]=F,B<0){b=z;continue e}z.boundary?z.lastVisited=-k:z.lastVisited=k}}return}return b},y.addPeaks=function(S,_){var k=this.vertices.length-1,E=this.dimension,x=this.vertices,A=this.tuple,L=this.interior,b=this.simplices,R=[_];_.lastVisited=k,_.vertices[_.vertices.indexOf(-1)]=k,_.boundary=!1,L.push(_);for(var I=[];R.length>0;){var O=(_=R.pop()).vertices,z=_.adjacent,F=O.indexOf(k);if(!(F<0)){for(var B=0;B<=E;++B)if(B!==F){var N=z[B];if(N.boundary&&!(N.lastVisited>=k)){var W=N.vertices;if(N.lastVisited!==-k){for(var j=0,$=0;$<=E;++$)W[$]<0?(j=$,A[$]=S):A[$]=x[W[$]];if(this.orient()>0){W[j]=k,N.boundary=!1,L.push(N),R.push(N),N.lastVisited=k;continue}N.lastVisited=-k}var U=N.adjacent,G=O.slice(),q=z.slice(),H=new s(G,q,!0);b.push(H);var ne=U.indexOf(_);if(!(ne<0))for(U[ne]=H,q[F]=N,G[B]=-1,q[B]=_,z[B]=H,H.flip(),$=0;$<=E;++$){var te=G[$];if(!(te<0||te===k)){for(var Z=new Array(E-1),X=0,Q=0;Q<=E;++Q){var re=G[Q];re<0||Q===$||(Z[X++]=re)}I.push(new c(Z,H,$))}}}}}}for(I.sort(h),B=0;B+1=0?L[R++]=b[O]:I=1&O;if(I===(1&S)){var z=L[0];L[0]=L[1],L[1]=z}_.push(L)}}return _}},9014:function(f,l,a){var u=a(5070);function o(R,I,O,z,F){this.mid=R,this.left=I,this.right=O,this.leftPoints=z,this.rightPoints=F,this.count=(I?I.count:0)+(O?O.count:0)+z.length}f.exports=function(R){return R&&R.length!==0?new L(A(R)):new L(null)};var s=o.prototype;function c(R,I){R.mid=I.mid,R.left=I.left,R.right=I.right,R.leftPoints=I.leftPoints,R.rightPoints=I.rightPoints,R.count=I.count}function h(R,I){var O=A(I);R.mid=O.mid,R.left=O.left,R.right=O.right,R.leftPoints=O.leftPoints,R.rightPoints=O.rightPoints,R.count=O.count}function m(R,I){var O=R.intervals([]);O.push(I),h(R,O)}function w(R,I){var O=R.intervals([]),z=O.indexOf(I);return z<0?0:(O.splice(z,1),h(R,O),1)}function y(R,I,O){for(var z=0;z=0&&R[z][1]>=I;--z){var F=O(R[z]);if(F)return F}}function _(R,I){for(var O=0;O>1],F=[],B=[],N=[];for(O=0;O3*(I+1)?m(this,R):this.left.insert(R):this.left=A([R]);else if(R[0]>this.mid)this.right?4*(this.right.count+1)>3*(I+1)?m(this,R):this.right.insert(R):this.right=A([R]);else{var O=u.ge(this.leftPoints,R,E),z=u.ge(this.rightPoints,R,x);this.leftPoints.splice(O,0,R),this.rightPoints.splice(z,0,R)}},s.remove=function(R){var I=this.count-this.leftPoints;if(R[1]3*(I-1)?w(this,R):(B=this.left.remove(R))===2?(this.left=null,this.count-=1,1):(B===1&&(this.count-=1),B):0;if(R[0]>this.mid)return this.right?4*(this.left?this.left.count:0)>3*(I-1)?w(this,R):(B=this.right.remove(R))===2?(this.right=null,this.count-=1,1):(B===1&&(this.count-=1),B):0;if(this.count===1)return this.leftPoints[0]===R?2:0;if(this.leftPoints.length===1&&this.leftPoints[0]===R){if(this.left&&this.right){for(var O=this,z=this.left;z.right;)O=z,z=z.right;if(O===this)z.right=this.right;else{var F=this.left,B=this.right;O.count-=z.count,O.right=z.left,z.left=F,z.right=B}c(this,z),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?c(this,this.left):c(this,this.right);return 1}for(F=u.ge(this.leftPoints,R,E);Fthis.mid?this.right&&(O=this.right.queryPoint(R,I))?O:S(this.rightPoints,R,I):_(this.leftPoints,I);var O},s.queryInterval=function(R,I,O){var z;return Rthis.mid&&this.right&&(z=this.right.queryInterval(R,I,O))?z:Ithis.mid?S(this.rightPoints,R,O):_(this.leftPoints,O)};var b=L.prototype;b.insert=function(R){this.root?this.root.insert(R):this.root=new o(R[0],null,null,[R],[R])},b.remove=function(R){if(this.root){var I=this.root.remove(R);return I===2&&(this.root=null),I!==0}return!1},b.queryPoint=function(R,I){if(this.root)return this.root.queryPoint(R,I)},b.queryInterval=function(R,I,O){if(R<=I&&this.root)return this.root.queryInterval(R,I,O)},Object.defineProperty(b,"count",{get:function(){return this.root?this.root.count:0}}),Object.defineProperty(b,"intervals",{get:function(){return this.root?this.root.intervals([]):[]}})},9560:function(f){f.exports=function(l){for(var a=new Array(l),u=0;u13)&&a!==32&&a!==133&&a!==160&&a!==5760&&a!==6158&&(a<8192||a>8205)&&a!==8232&&a!==8233&&a!==8239&&a!==8287&&a!==8288&&a!==12288&&a!==65279)return!1;return!0}},3578:function(f){f.exports=function(l,a,u){return l*(1-u)+a*u}},7191:function(f,l,a){var u=a(4690),o=a(9823),s=a(7332),c=a(7787),h=a(7437),m=a(2142),w={length:a(4693),normalize:a(899),dot:a(9305),cross:a(903)},y=o(),S=o(),_=[0,0,0,0],k=[[0,0,0],[0,0,0],[0,0,0]],E=[0,0,0];function x(A,L,b,R,I){A[0]=L[0]*R+b[0]*I,A[1]=L[1]*R+b[1]*I,A[2]=L[2]*R+b[2]*I}f.exports=function(A,L,b,R,I,O){if(L||(L=[0,0,0]),b||(b=[0,0,0]),R||(R=[0,0,0]),I||(I=[0,0,0,1]),O||(O=[0,0,0,1]),!u(y,A)||(s(S,y),S[3]=0,S[7]=0,S[11]=0,S[15]=1,Math.abs(c(S)<1e-8)))return!1;var z,F,B,N,W,j,$,U=y[3],G=y[7],q=y[11],H=y[12],ne=y[13],te=y[14],Z=y[15];if(U!==0||G!==0||q!==0){if(_[0]=U,_[1]=G,_[2]=q,_[3]=Z,!h(S,S))return!1;m(S,S),z=I,B=S,N=(F=_)[0],W=F[1],j=F[2],$=F[3],z[0]=B[0]*N+B[4]*W+B[8]*j+B[12]*$,z[1]=B[1]*N+B[5]*W+B[9]*j+B[13]*$,z[2]=B[2]*N+B[6]*W+B[10]*j+B[14]*$,z[3]=B[3]*N+B[7]*W+B[11]*j+B[15]*$}else I[0]=I[1]=I[2]=0,I[3]=1;if(L[0]=H,L[1]=ne,L[2]=te,function(Q,re){Q[0][0]=re[0],Q[0][1]=re[1],Q[0][2]=re[2],Q[1][0]=re[4],Q[1][1]=re[5],Q[1][2]=re[6],Q[2][0]=re[8],Q[2][1]=re[9],Q[2][2]=re[10]}(k,y),b[0]=w.length(k[0]),w.normalize(k[0],k[0]),R[0]=w.dot(k[0],k[1]),x(k[1],k[1],k[0],1,-R[0]),b[1]=w.length(k[1]),w.normalize(k[1],k[1]),R[0]/=b[1],R[1]=w.dot(k[0],k[2]),x(k[2],k[2],k[0],1,-R[1]),R[2]=w.dot(k[1],k[2]),x(k[2],k[2],k[1],1,-R[2]),b[2]=w.length(k[2]),w.normalize(k[2],k[2]),R[1]/=b[2],R[2]/=b[2],w.cross(E,k[1],k[2]),w.dot(k[0],E)<0)for(var X=0;X<3;X++)b[X]*=-1,k[X][0]*=-1,k[X][1]*=-1,k[X][2]*=-1;return O[0]=.5*Math.sqrt(Math.max(1+k[0][0]-k[1][1]-k[2][2],0)),O[1]=.5*Math.sqrt(Math.max(1-k[0][0]+k[1][1]-k[2][2],0)),O[2]=.5*Math.sqrt(Math.max(1-k[0][0]-k[1][1]+k[2][2],0)),O[3]=.5*Math.sqrt(Math.max(1+k[0][0]+k[1][1]+k[2][2],0)),k[2][1]>k[1][2]&&(O[0]=-O[0]),k[0][2]>k[2][0]&&(O[1]=-O[1]),k[1][0]>k[0][1]&&(O[2]=-O[2]),!0}},4690:function(f){f.exports=function(l,a){var u=a[15];if(u===0)return!1;for(var o=1/u,s=0;s<16;s++)l[s]=a[s]*o;return!0}},7649:function(f,l,a){var u=a(1868),o=a(1102),s=a(7191),c=a(7787),h=a(1116),m=S(),w=S(),y=S();function S(){return{translate:_(),scale:_(1),skew:_(),perspective:[0,0,0,1],quaternion:[0,0,0,1]}}function _(k){return[k||0,k||0,k||0]}f.exports=function(k,E,x,A){if(c(E)===0||c(x)===0)return!1;var L=s(E,m.translate,m.scale,m.skew,m.perspective,m.quaternion),b=s(x,w.translate,w.scale,w.skew,w.perspective,w.quaternion);return!(!L||!b||(u(y.translate,m.translate,w.translate,A),u(y.skew,m.skew,w.skew,A),u(y.scale,m.scale,w.scale,A),u(y.perspective,m.perspective,w.perspective,A),h(y.quaternion,m.quaternion,w.quaternion,A),o(k,y.translate,y.scale,y.skew,y.perspective,y.quaternion),0))}},1102:function(f,l,a){var u={identity:a(9947),translate:a(998),multiply:a(104),create:a(9823),scale:a(3668),fromRotationTranslation:a(7280)},o=(u.create(),u.create());f.exports=function(s,c,h,m,w,y){return u.identity(s),u.fromRotationTranslation(s,y,c),s[3]=w[0],s[7]=w[1],s[11]=w[2],s[15]=w[3],u.identity(o),m[2]!==0&&(o[9]=m[2],u.multiply(s,s,o)),m[1]!==0&&(o[9]=0,o[8]=m[1],u.multiply(s,s,o)),m[0]!==0&&(o[8]=0,o[4]=m[0],u.multiply(s,s,o)),u.scale(s,s,h),s}},9298:function(f,l,a){var u=a(5070),o=a(7649),s=a(7437),c=a(6109),h=a(7115),m=a(5240),w=a(3012),y=a(998),S=(a(3668),a(899)),_=[0,0,0];function k(A){this._components=A.slice(),this._time=[0],this.prevMatrix=A.slice(),this.nextMatrix=A.slice(),this.computedMatrix=A.slice(),this.computedInverse=A.slice(),this.computedEye=[0,0,0],this.computedUp=[0,0,0],this.computedCenter=[0,0,0],this.computedRadius=[0],this._limits=[-1/0,1/0]}f.exports=function(A){return new k((A=A||{}).matrix||[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1])};var E=k.prototype;E.recalcMatrix=function(A){var L=this._time,b=u.le(L,A),R=this.computedMatrix;if(!(b<0)){var I=this._components;if(b===L.length-1)for(var O=16*b,z=0;z<16;++z)R[z]=I[O++];else{var F=L[b+1]-L[b],B=(O=16*b,this.prevMatrix),N=!0;for(z=0;z<16;++z)B[z]=I[O++];var W=this.nextMatrix;for(z=0;z<16;++z)W[z]=I[O++],N=N&&B[z]===W[z];if(F<1e-6||N)for(z=0;z<16;++z)R[z]=B[z];else o(R,B,W,(A-L[b])/F)}var j=this.computedUp;j[0]=R[1],j[1]=R[5],j[2]=R[9],S(j,j);var $=this.computedInverse;s($,R);var U=this.computedEye,G=$[15];U[0]=$[12]/G,U[1]=$[13]/G,U[2]=$[14]/G;var q=this.computedCenter,H=Math.exp(this.computedRadius[0]);for(z=0;z<3;++z)q[z]=U[z]-R[2+4*z]*H}},E.idle=function(A){if(!(A1&&u(o[w[k-2]],o[w[k-1]],_)<=0;)k-=1,w.pop();for(w.push(S),k=y.length;k>1&&u(o[y[k-2]],o[y[k-1]],_)>=0;)k-=1,y.pop();y.push(S)}c=new Array(y.length+w.length-2);for(var E=0,x=(h=0,w.length);h0;--A)c[E++]=y[A];return c};var u=a(417)[3]},6145:function(f,l,a){f.exports=function(o,s){s||(s=o,o=window);var c=0,h=0,m=0,w={shift:!1,alt:!1,control:!1,meta:!1},y=!1;function S(O){var z=!1;return"altKey"in O&&(z=z||O.altKey!==w.alt,w.alt=!!O.altKey),"shiftKey"in O&&(z=z||O.shiftKey!==w.shift,w.shift=!!O.shiftKey),"ctrlKey"in O&&(z=z||O.ctrlKey!==w.control,w.control=!!O.ctrlKey),"metaKey"in O&&(z=z||O.metaKey!==w.meta,w.meta=!!O.metaKey),z}function _(O,z){var F=u.x(z),B=u.y(z);"buttons"in z&&(O=0|z.buttons),(O!==c||F!==h||B!==m||S(z))&&(c=0|O,h=F||0,m=B||0,s&&s(c,h,m,w))}function k(O){_(0,O)}function E(){(c||h||m||w.shift||w.alt||w.meta||w.control)&&(h=m=0,c=0,w.shift=w.alt=w.control=w.meta=!1,s&&s(0,0,0,w))}function x(O){S(O)&&s&&s(c,h,m,w)}function A(O){u.buttons(O)===0?_(0,O):_(c,O)}function L(O){_(c|u.buttons(O),O)}function b(O){_(c&~u.buttons(O),O)}function R(){y||(y=!0,o.addEventListener("mousemove",A),o.addEventListener("mousedown",L),o.addEventListener("mouseup",b),o.addEventListener("mouseleave",k),o.addEventListener("mouseenter",k),o.addEventListener("mouseout",k),o.addEventListener("mouseover",k),o.addEventListener("blur",E),o.addEventListener("keyup",x),o.addEventListener("keydown",x),o.addEventListener("keypress",x),o!==window&&(window.addEventListener("blur",E),window.addEventListener("keyup",x),window.addEventListener("keydown",x),window.addEventListener("keypress",x)))}R();var I={element:o};return Object.defineProperties(I,{enabled:{get:function(){return y},set:function(O){O?R():y&&(y=!1,o.removeEventListener("mousemove",A),o.removeEventListener("mousedown",L),o.removeEventListener("mouseup",b),o.removeEventListener("mouseleave",k),o.removeEventListener("mouseenter",k),o.removeEventListener("mouseout",k),o.removeEventListener("mouseover",k),o.removeEventListener("blur",E),o.removeEventListener("keyup",x),o.removeEventListener("keydown",x),o.removeEventListener("keypress",x),o!==window&&(window.removeEventListener("blur",E),window.removeEventListener("keyup",x),window.removeEventListener("keydown",x),window.removeEventListener("keypress",x)))},enumerable:!0},buttons:{get:function(){return c},enumerable:!0},x:{get:function(){return h},enumerable:!0},y:{get:function(){return m},enumerable:!0},mods:{get:function(){return w},enumerable:!0}}),I};var u=a(4110)},2565:function(f){var l={left:0,top:0};f.exports=function(a,u,o){u=u||a.currentTarget||a.srcElement,Array.isArray(o)||(o=[0,0]);var s,c=a.clientX||0,h=a.clientY||0,m=(s=u)===window||s===document||s===document.body?l:s.getBoundingClientRect();return o[0]=c-m.left,o[1]=h-m.top,o}},4110:function(f,l){function a(u){return u.target||u.srcElement||window}l.buttons=function(u){if(typeof u=="object"){if("buttons"in u)return u.buttons;if("which"in u){if((o=u.which)===2)return 4;if(o===3)return 2;if(o>0)return 1<=0)return 1< 0"),typeof s.vertex!="function"&&c("Must specify vertex creation function"),typeof s.cell!="function"&&c("Must specify cell creation function"),typeof s.phase!="function"&&c("Must specify phase function");for(var w=s.getters||[],y=new Array(m),S=0;S=0?y[S]=!0:y[S]=!1;return function(_,k,E,x,A,L){var b=[L,A].join(",");return(0,o[b])(_,k,E,u.mallocUint32,u.freeUint32)}(s.vertex,s.cell,s.phase,0,h,y)};var o={"false,0,1":function(s,c,h,m,w){return function(y,S,_,k){var E,x=0|y.shape[0],A=0|y.shape[1],L=y.data,b=0|y.offset,R=0|y.stride[0],I=0|y.stride[1],O=b,z=0|-R,F=0,B=0|-I,N=0,W=-R-I|0,j=0,$=0|R,U=I-R*x|0,G=0,q=0,H=0,ne=2*x|0,te=m(ne),Z=m(ne),X=0,Q=0,re=-1,ie=-1,oe=0,ue=0|-x,ce=0|x,ye=0,de=-x-1|0,me=x-1|0,pe=0,xe=0,Pe=0;for(G=0;G0){if(q=1,te[X++]=h(L[O],S,_,k),O+=$,x>0)for(G=1,E=L[O],Q=te[X]=h(E,S,_,k),oe=te[X+re],ye=te[X+ue],pe=te[X+de],Q===oe&&Q===ye&&Q===pe||(F=L[O+z],N=L[O+B],j=L[O+W],s(G,q,E,F,N,j,Q,oe,ye,pe,S,_,k),xe=Z[X]=H++),X+=1,O+=$,G=2;G0)for(G=1,E=L[O],Q=te[X]=h(E,S,_,k),oe=te[X+re],ye=te[X+ue],pe=te[X+de],Q===oe&&Q===ye&&Q===pe||(F=L[O+z],N=L[O+B],j=L[O+W],s(G,q,E,F,N,j,Q,oe,ye,pe,S,_,k),xe=Z[X]=H++,pe!==ye&&c(Z[X+ue],xe,N,j,ye,pe,S,_,k)),X+=1,O+=$,G=2;G0){if(G=1,te[X++]=h(L[O],S,_,k),O+=$,A>0)for(q=1,E=L[O],Q=te[X]=h(E,S,_,k),ye=te[X+ue],oe=te[X+re],pe=te[X+de],Q===ye&&Q===oe&&Q===pe||(F=L[O+z],N=L[O+B],j=L[O+W],s(G,q,E,F,N,j,Q,ye,oe,pe,S,_,k),xe=Z[X]=H++),X+=1,O+=$,q=2;q0)for(q=1,E=L[O],Q=te[X]=h(E,S,_,k),ye=te[X+ue],oe=te[X+re],pe=te[X+de],Q===ye&&Q===oe&&Q===pe||(F=L[O+z],N=L[O+B],j=L[O+W],s(G,q,E,F,N,j,Q,ye,oe,pe,S,_,k),xe=Z[X]=H++,pe!==ye&&c(Z[X+ue],xe,j,F,pe,ye,S,_,k)),X+=1,O+=$,q=2;q2&&O[1]>2&&b(I.pick(-1,-1).lo(1,1).hi(O[0]-2,O[1]-2),R.pick(-1,-1,0).lo(1,1).hi(O[0]-2,O[1]-2),R.pick(-1,-1,1).lo(1,1).hi(O[0]-2,O[1]-2)),O[1]>2&&(L(I.pick(0,-1).lo(1).hi(O[1]-2),R.pick(0,-1,1).lo(1).hi(O[1]-2)),A(R.pick(0,-1,0).lo(1).hi(O[1]-2))),O[1]>2&&(L(I.pick(O[0]-1,-1).lo(1).hi(O[1]-2),R.pick(O[0]-1,-1,1).lo(1).hi(O[1]-2)),A(R.pick(O[0]-1,-1,0).lo(1).hi(O[1]-2))),O[0]>2&&(L(I.pick(-1,0).lo(1).hi(O[0]-2),R.pick(-1,0,0).lo(1).hi(O[0]-2)),A(R.pick(-1,0,1).lo(1).hi(O[0]-2))),O[0]>2&&(L(I.pick(-1,O[1]-1).lo(1).hi(O[0]-2),R.pick(-1,O[1]-1,0).lo(1).hi(O[0]-2)),A(R.pick(-1,O[1]-1,1).lo(1).hi(O[0]-2))),R.set(0,0,0,0),R.set(0,0,1,0),R.set(O[0]-1,0,0,0),R.set(O[0]-1,0,1,0),R.set(0,O[1]-1,0,0),R.set(0,O[1]-1,1,0),R.set(O[0]-1,O[1]-1,0,0),R.set(O[0]-1,O[1]-1,1,0),R}}f.exports=function(x,A,L){return Array.isArray(L)||(L=u(A.dimension,typeof L=="string"?L:"clamp")),A.size===0?x:A.dimension===0?(x.set(0),x):function(b){var R=b.join();if(F=y[R])return F;for(var I=b.length,O=[S,_],z=1;z<=I;++z)O.push(k(z));var F=E.apply(void 0,O);return y[R]=F,F}(L)(x,A)}},3581:function(f){function l(s,c){var h=Math.floor(c),m=c-h,w=0<=h&&h0;){W<64?(x=W,W=0):(x=64,W-=64);for(var j=0|h[1];j>0;){j<64?(A=j,j=0):(A=64,j-=64),y=B+W*b+j*R,k=N+W*O+j*z;var $=0,U=0,G=0,q=I,H=b-L*I,ne=R-x*b,te=F,Z=O-L*F,X=z-x*O;for(G=0;G0;){z<64?(x=z,z=0):(x=64,z-=64);for(var F=0|h[0];F>0;){F<64?(E=F,F=0):(E=64,F-=64),y=I+z*L+F*A,k=O+z*R+F*b;var B=0,N=0,W=L,j=A-x*L,$=R,U=b-x*R;for(N=0;N0;){N<64?(A=N,N=0):(A=64,N-=64);for(var W=0|h[0];W>0;){W<64?(E=W,W=0):(E=64,W-=64);for(var j=0|h[1];j>0;){j<64?(x=j,j=0):(x=64,j-=64),y=F+N*R+W*L+j*b,k=B+N*z+W*I+j*O;var $=0,U=0,G=0,q=R,H=L-A*R,ne=b-E*L,te=z,Z=I-A*z,X=O-E*I;for(G=0;Gy;){N=0,W=F-E;t:for(B=0;B$)break t;W+=R,N+=I}for(N=F,W=F-E,B=0;B>1,Ce=Se-Pe,ae=Se+Pe,fe=_e,be=Ce,ke=Se,Le=ae,Be=Me,ze=_+1,je=k-1,ge=!0,we=0,Ee=0,Ve=0,$e=R,Ye=w($e),st=w($e);ne=A*fe,te=A*be,xe=x;e:for(H=0;H0){B=fe,fe=be,be=B;break e}if(Ve<0)break e;xe+=O}ne=A*Le,te=A*Be,xe=x;e:for(H=0;H0){B=Le,Le=Be,Be=B;break e}if(Ve<0)break e;xe+=O}ne=A*fe,te=A*ke,xe=x;e:for(H=0;H0){B=fe,fe=ke,ke=B;break e}if(Ve<0)break e;xe+=O}ne=A*be,te=A*ke,xe=x;e:for(H=0;H0){B=be,be=ke,ke=B;break e}if(Ve<0)break e;xe+=O}ne=A*fe,te=A*Le,xe=x;e:for(H=0;H0){B=fe,fe=Le,Le=B;break e}if(Ve<0)break e;xe+=O}ne=A*ke,te=A*Le,xe=x;e:for(H=0;H0){B=ke,ke=Le,Le=B;break e}if(Ve<0)break e;xe+=O}ne=A*be,te=A*Be,xe=x;e:for(H=0;H0){B=be,be=Be,Be=B;break e}if(Ve<0)break e;xe+=O}ne=A*be,te=A*ke,xe=x;e:for(H=0;H0){B=be,be=ke,ke=B;break e}if(Ve<0)break e;xe+=O}ne=A*Le,te=A*Be,xe=x;e:for(H=0;H0){B=Le,Le=Be,Be=B;break e}if(Ve<0)break e;xe+=O}for(ne=A*fe,te=A*be,Z=A*ke,X=A*Le,Q=A*Be,re=A*_e,ie=A*Se,oe=A*Me,pe=0,xe=x,H=0;H0)){if(Ve<0){for(ne=A*$,te=A*ze,Z=A*je,xe=x,H=0;H0)for(;;){for(U=x+je*A,pe=0,H=0;H0)){for(U=x+je*A,pe=0,H=0;HMe){e:for(;;){for(U=x+ze*A,pe=0,xe=x,H=0;H1&&L?R(A,L[0],L[1]):R(A)}(m,w,_);return S(_,k)}},8729:function(f,l,a){var u=a(8139),o={};f.exports=function(s){var c=s.order,h=s.dtype,m=[c,h].join(":"),w=o[m];return w||(o[m]=w=u(c,h)),w(s),s}},5050:function(f,l,a){var u=a(4780),o=typeof Float64Array<"u";function s(y,S){return y[0]-S[0]}function c(){var y,S=this.stride,_=new Array(S.length);for(y=0;y<_.length;++y)_[y]=[Math.abs(S[y]),y];_.sort(s);var k=new Array(_.length);for(y=0;y=0&&(A+=R*(L=0|x),b-=L),new k(this.data,b,R,A)},E.step=function(x){var A=this.shape[0],L=this.stride[0],b=this.offset,R=0,I=Math.ceil;return typeof x=="number"&&((R=0|x)<0?(b+=L*(A-1),A=I(-A/R)):A=I(A/R),L*=R),new k(this.data,A,L,b)},E.transpose=function(x){x=x===void 0?0:0|x;var A=this.shape,L=this.stride;return new k(this.data,A[x],L[x],this.offset)},E.pick=function(x){var A=[],L=[],b=this.offset;return typeof x=="number"&&x>=0?b=b+this.stride[0]*x|0:(A.push(this.shape[0]),L.push(this.stride[0])),(0,S[A.length+1])(this.data,A,L,b)},function(x,A,L,b){return new k(x,A[0],L[0],b)}},2:function(y,S,_){function k(x,A,L,b,R,I){this.data=x,this.shape=[A,L],this.stride=[b,R],this.offset=0|I}var E=k.prototype;return E.dtype=y,E.dimension=2,Object.defineProperty(E,"size",{get:function(){return this.shape[0]*this.shape[1]}}),Object.defineProperty(E,"order",{get:function(){return Math.abs(this.stride[0])>Math.abs(this.stride[1])?[1,0]:[0,1]}}),E.set=function(x,A,L){return y==="generic"?this.data.set(this.offset+this.stride[0]*x+this.stride[1]*A,L):this.data[this.offset+this.stride[0]*x+this.stride[1]*A]=L},E.get=function(x,A){return y==="generic"?this.data.get(this.offset+this.stride[0]*x+this.stride[1]*A):this.data[this.offset+this.stride[0]*x+this.stride[1]*A]},E.index=function(x,A){return this.offset+this.stride[0]*x+this.stride[1]*A},E.hi=function(x,A){return new k(this.data,typeof x!="number"||x<0?this.shape[0]:0|x,typeof A!="number"||A<0?this.shape[1]:0|A,this.stride[0],this.stride[1],this.offset)},E.lo=function(x,A){var L=this.offset,b=0,R=this.shape[0],I=this.shape[1],O=this.stride[0],z=this.stride[1];return typeof x=="number"&&x>=0&&(L+=O*(b=0|x),R-=b),typeof A=="number"&&A>=0&&(L+=z*(b=0|A),I-=b),new k(this.data,R,I,O,z,L)},E.step=function(x,A){var L=this.shape[0],b=this.shape[1],R=this.stride[0],I=this.stride[1],O=this.offset,z=0,F=Math.ceil;return typeof x=="number"&&((z=0|x)<0?(O+=R*(L-1),L=F(-L/z)):L=F(L/z),R*=z),typeof A=="number"&&((z=0|A)<0?(O+=I*(b-1),b=F(-b/z)):b=F(b/z),I*=z),new k(this.data,L,b,R,I,O)},E.transpose=function(x,A){x=x===void 0?0:0|x,A=A===void 0?1:0|A;var L=this.shape,b=this.stride;return new k(this.data,L[x],L[A],b[x],b[A],this.offset)},E.pick=function(x,A){var L=[],b=[],R=this.offset;return typeof x=="number"&&x>=0?R=R+this.stride[0]*x|0:(L.push(this.shape[0]),b.push(this.stride[0])),typeof A=="number"&&A>=0?R=R+this.stride[1]*A|0:(L.push(this.shape[1]),b.push(this.stride[1])),(0,S[L.length+1])(this.data,L,b,R)},function(x,A,L,b){return new k(x,A[0],A[1],L[0],L[1],b)}},3:function(y,S,_){function k(x,A,L,b,R,I,O,z){this.data=x,this.shape=[A,L,b],this.stride=[R,I,O],this.offset=0|z}var E=k.prototype;return E.dtype=y,E.dimension=3,Object.defineProperty(E,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]}}),Object.defineProperty(E,"order",{get:function(){var x=Math.abs(this.stride[0]),A=Math.abs(this.stride[1]),L=Math.abs(this.stride[2]);return x>A?A>L?[2,1,0]:x>L?[1,2,0]:[1,0,2]:x>L?[2,0,1]:L>A?[0,1,2]:[0,2,1]}}),E.set=function(x,A,L,b){return y==="generic"?this.data.set(this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L,b):this.data[this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L]=b},E.get=function(x,A,L){return y==="generic"?this.data.get(this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L):this.data[this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L]},E.index=function(x,A,L){return this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L},E.hi=function(x,A,L){return new k(this.data,typeof x!="number"||x<0?this.shape[0]:0|x,typeof A!="number"||A<0?this.shape[1]:0|A,typeof L!="number"||L<0?this.shape[2]:0|L,this.stride[0],this.stride[1],this.stride[2],this.offset)},E.lo=function(x,A,L){var b=this.offset,R=0,I=this.shape[0],O=this.shape[1],z=this.shape[2],F=this.stride[0],B=this.stride[1],N=this.stride[2];return typeof x=="number"&&x>=0&&(b+=F*(R=0|x),I-=R),typeof A=="number"&&A>=0&&(b+=B*(R=0|A),O-=R),typeof L=="number"&&L>=0&&(b+=N*(R=0|L),z-=R),new k(this.data,I,O,z,F,B,N,b)},E.step=function(x,A,L){var b=this.shape[0],R=this.shape[1],I=this.shape[2],O=this.stride[0],z=this.stride[1],F=this.stride[2],B=this.offset,N=0,W=Math.ceil;return typeof x=="number"&&((N=0|x)<0?(B+=O*(b-1),b=W(-b/N)):b=W(b/N),O*=N),typeof A=="number"&&((N=0|A)<0?(B+=z*(R-1),R=W(-R/N)):R=W(R/N),z*=N),typeof L=="number"&&((N=0|L)<0?(B+=F*(I-1),I=W(-I/N)):I=W(I/N),F*=N),new k(this.data,b,R,I,O,z,F,B)},E.transpose=function(x,A,L){x=x===void 0?0:0|x,A=A===void 0?1:0|A,L=L===void 0?2:0|L;var b=this.shape,R=this.stride;return new k(this.data,b[x],b[A],b[L],R[x],R[A],R[L],this.offset)},E.pick=function(x,A,L){var b=[],R=[],I=this.offset;return typeof x=="number"&&x>=0?I=I+this.stride[0]*x|0:(b.push(this.shape[0]),R.push(this.stride[0])),typeof A=="number"&&A>=0?I=I+this.stride[1]*A|0:(b.push(this.shape[1]),R.push(this.stride[1])),typeof L=="number"&&L>=0?I=I+this.stride[2]*L|0:(b.push(this.shape[2]),R.push(this.stride[2])),(0,S[b.length+1])(this.data,b,R,I)},function(x,A,L,b){return new k(x,A[0],A[1],A[2],L[0],L[1],L[2],b)}},4:function(y,S,_){function k(x,A,L,b,R,I,O,z,F,B){this.data=x,this.shape=[A,L,b,R],this.stride=[I,O,z,F],this.offset=0|B}var E=k.prototype;return E.dtype=y,E.dimension=4,Object.defineProperty(E,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]*this.shape[3]}}),Object.defineProperty(E,"order",{get:_}),E.set=function(x,A,L,b,R){return y==="generic"?this.data.set(this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b,R):this.data[this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b]=R},E.get=function(x,A,L,b){return y==="generic"?this.data.get(this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b):this.data[this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b]},E.index=function(x,A,L,b){return this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b},E.hi=function(x,A,L,b){return new k(this.data,typeof x!="number"||x<0?this.shape[0]:0|x,typeof A!="number"||A<0?this.shape[1]:0|A,typeof L!="number"||L<0?this.shape[2]:0|L,typeof b!="number"||b<0?this.shape[3]:0|b,this.stride[0],this.stride[1],this.stride[2],this.stride[3],this.offset)},E.lo=function(x,A,L,b){var R=this.offset,I=0,O=this.shape[0],z=this.shape[1],F=this.shape[2],B=this.shape[3],N=this.stride[0],W=this.stride[1],j=this.stride[2],$=this.stride[3];return typeof x=="number"&&x>=0&&(R+=N*(I=0|x),O-=I),typeof A=="number"&&A>=0&&(R+=W*(I=0|A),z-=I),typeof L=="number"&&L>=0&&(R+=j*(I=0|L),F-=I),typeof b=="number"&&b>=0&&(R+=$*(I=0|b),B-=I),new k(this.data,O,z,F,B,N,W,j,$,R)},E.step=function(x,A,L,b){var R=this.shape[0],I=this.shape[1],O=this.shape[2],z=this.shape[3],F=this.stride[0],B=this.stride[1],N=this.stride[2],W=this.stride[3],j=this.offset,$=0,U=Math.ceil;return typeof x=="number"&&(($=0|x)<0?(j+=F*(R-1),R=U(-R/$)):R=U(R/$),F*=$),typeof A=="number"&&(($=0|A)<0?(j+=B*(I-1),I=U(-I/$)):I=U(I/$),B*=$),typeof L=="number"&&(($=0|L)<0?(j+=N*(O-1),O=U(-O/$)):O=U(O/$),N*=$),typeof b=="number"&&(($=0|b)<0?(j+=W*(z-1),z=U(-z/$)):z=U(z/$),W*=$),new k(this.data,R,I,O,z,F,B,N,W,j)},E.transpose=function(x,A,L,b){x=x===void 0?0:0|x,A=A===void 0?1:0|A,L=L===void 0?2:0|L,b=b===void 0?3:0|b;var R=this.shape,I=this.stride;return new k(this.data,R[x],R[A],R[L],R[b],I[x],I[A],I[L],I[b],this.offset)},E.pick=function(x,A,L,b){var R=[],I=[],O=this.offset;return typeof x=="number"&&x>=0?O=O+this.stride[0]*x|0:(R.push(this.shape[0]),I.push(this.stride[0])),typeof A=="number"&&A>=0?O=O+this.stride[1]*A|0:(R.push(this.shape[1]),I.push(this.stride[1])),typeof L=="number"&&L>=0?O=O+this.stride[2]*L|0:(R.push(this.shape[2]),I.push(this.stride[2])),typeof b=="number"&&b>=0?O=O+this.stride[3]*b|0:(R.push(this.shape[3]),I.push(this.stride[3])),(0,S[R.length+1])(this.data,R,I,O)},function(x,A,L,b){return new k(x,A[0],A[1],A[2],A[3],L[0],L[1],L[2],L[3],b)}},5:function(y,S,_){function k(x,A,L,b,R,I,O,z,F,B,N,W){this.data=x,this.shape=[A,L,b,R,I],this.stride=[O,z,F,B,N],this.offset=0|W}var E=k.prototype;return E.dtype=y,E.dimension=5,Object.defineProperty(E,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]*this.shape[3]*this.shape[4]}}),Object.defineProperty(E,"order",{get:_}),E.set=function(x,A,L,b,R,I){return y==="generic"?this.data.set(this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*R,I):this.data[this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*R]=I},E.get=function(x,A,L,b,R){return y==="generic"?this.data.get(this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*R):this.data[this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*R]},E.index=function(x,A,L,b,R){return this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*R},E.hi=function(x,A,L,b,R){return new k(this.data,typeof x!="number"||x<0?this.shape[0]:0|x,typeof A!="number"||A<0?this.shape[1]:0|A,typeof L!="number"||L<0?this.shape[2]:0|L,typeof b!="number"||b<0?this.shape[3]:0|b,typeof R!="number"||R<0?this.shape[4]:0|R,this.stride[0],this.stride[1],this.stride[2],this.stride[3],this.stride[4],this.offset)},E.lo=function(x,A,L,b,R){var I=this.offset,O=0,z=this.shape[0],F=this.shape[1],B=this.shape[2],N=this.shape[3],W=this.shape[4],j=this.stride[0],$=this.stride[1],U=this.stride[2],G=this.stride[3],q=this.stride[4];return typeof x=="number"&&x>=0&&(I+=j*(O=0|x),z-=O),typeof A=="number"&&A>=0&&(I+=$*(O=0|A),F-=O),typeof L=="number"&&L>=0&&(I+=U*(O=0|L),B-=O),typeof b=="number"&&b>=0&&(I+=G*(O=0|b),N-=O),typeof R=="number"&&R>=0&&(I+=q*(O=0|R),W-=O),new k(this.data,z,F,B,N,W,j,$,U,G,q,I)},E.step=function(x,A,L,b,R){var I=this.shape[0],O=this.shape[1],z=this.shape[2],F=this.shape[3],B=this.shape[4],N=this.stride[0],W=this.stride[1],j=this.stride[2],$=this.stride[3],U=this.stride[4],G=this.offset,q=0,H=Math.ceil;return typeof x=="number"&&((q=0|x)<0?(G+=N*(I-1),I=H(-I/q)):I=H(I/q),N*=q),typeof A=="number"&&((q=0|A)<0?(G+=W*(O-1),O=H(-O/q)):O=H(O/q),W*=q),typeof L=="number"&&((q=0|L)<0?(G+=j*(z-1),z=H(-z/q)):z=H(z/q),j*=q),typeof b=="number"&&((q=0|b)<0?(G+=$*(F-1),F=H(-F/q)):F=H(F/q),$*=q),typeof R=="number"&&((q=0|R)<0?(G+=U*(B-1),B=H(-B/q)):B=H(B/q),U*=q),new k(this.data,I,O,z,F,B,N,W,j,$,U,G)},E.transpose=function(x,A,L,b,R){x=x===void 0?0:0|x,A=A===void 0?1:0|A,L=L===void 0?2:0|L,b=b===void 0?3:0|b,R=R===void 0?4:0|R;var I=this.shape,O=this.stride;return new k(this.data,I[x],I[A],I[L],I[b],I[R],O[x],O[A],O[L],O[b],O[R],this.offset)},E.pick=function(x,A,L,b,R){var I=[],O=[],z=this.offset;return typeof x=="number"&&x>=0?z=z+this.stride[0]*x|0:(I.push(this.shape[0]),O.push(this.stride[0])),typeof A=="number"&&A>=0?z=z+this.stride[1]*A|0:(I.push(this.shape[1]),O.push(this.stride[1])),typeof L=="number"&&L>=0?z=z+this.stride[2]*L|0:(I.push(this.shape[2]),O.push(this.stride[2])),typeof b=="number"&&b>=0?z=z+this.stride[3]*b|0:(I.push(this.shape[3]),O.push(this.stride[3])),typeof R=="number"&&R>=0?z=z+this.stride[4]*R|0:(I.push(this.shape[4]),O.push(this.stride[4])),(0,S[I.length+1])(this.data,I,O,z)},function(x,A,L,b){return new k(x,A[0],A[1],A[2],A[3],A[4],L[0],L[1],L[2],L[3],L[4],b)}}};function m(y,S){var _=S===-1?"T":String(S),k=h[_];return S===-1?k(y):S===0?k(y,w[y][0]):k(y,w[y],c)}var w={generic:[],buffer:[],array:[],float32:[],float64:[],int8:[],int16:[],int32:[],uint8_clamped:[],uint8:[],uint16:[],uint32:[],bigint64:[],biguint64:[]};f.exports=function(y,S,_,k){if(y===void 0)return(0,w.array[0])([]);typeof y=="number"&&(y=[y]),S===void 0&&(S=[y.length]);var E=S.length;if(_===void 0){_=new Array(E);for(var x=E-1,A=1;x>=0;--x)_[x]=A,A*=S[x]}if(k===void 0)for(k=0,x=0;x>>0;f.exports=function(c,h){if(isNaN(c)||isNaN(h))return NaN;if(c===h)return c;if(c===0)return h<0?-o:o;var m=u.hi(c),w=u.lo(c);return h>c==c>0?w===s?(m+=1,w=0):w+=1:w===0?(w=s,m-=1):w-=1,u.pack(w,m)}},115:function(f,l){l.vertexNormals=function(a,u,o){for(var s=u.length,c=new Array(s),h=o===void 0?1e-6:o,m=0;mh){var z=c[S],F=1/Math.sqrt(b*I);for(O=0;O<3;++O){var B=(O+1)%3,N=(O+2)%3;z[O]+=F*(R[B]*L[N]-R[N]*L[B])}}}for(m=0;mh)for(F=1/Math.sqrt(W),O=0;O<3;++O)z[O]*=F;else for(O=0;O<3;++O)z[O]=0}return c},l.faceNormals=function(a,u,o){for(var s=a.length,c=new Array(s),h=o===void 0?1e-6:o,m=0;mh?1/Math.sqrt(x):0,S=0;S<3;++S)E[S]*=x;c[m]=E}return c}},567:function(f){f.exports=function(l,a,u,o,s,c,h,m,w,y){var S=a+c+y;if(_>0){var _=Math.sqrt(S+1);l[0]=.5*(h-w)/_,l[1]=.5*(m-o)/_,l[2]=.5*(u-c)/_,l[3]=.5*_}else{var k=Math.max(a,c,y);_=Math.sqrt(2*k-S+1),a>=k?(l[0]=.5*_,l[1]=.5*(s+u)/_,l[2]=.5*(m+o)/_,l[3]=.5*(h-w)/_):c>=k?(l[0]=.5*(u+s)/_,l[1]=.5*_,l[2]=.5*(w+h)/_,l[3]=.5*(m-o)/_):(l[0]=.5*(o+m)/_,l[1]=.5*(h+w)/_,l[2]=.5*_,l[3]=.5*(u-s)/_)}return l}},7774:function(f,l,a){f.exports=function(k){var E=(k=k||{}).center||[0,0,0],x=k.rotation||[0,0,0,1],A=k.radius||1;E=[].slice.call(E,0,3),y(x=[].slice.call(x,0,4),x);var L=new S(x,E,Math.log(A));return L.setDistanceLimits(k.zoomMin,k.zoomMax),("eye"in k||"up"in k)&&L.lookAt(0,k.eye,k.center,k.up),L};var u=a(8444),o=a(3012),s=a(5950),c=a(7437),h=a(567);function m(k,E,x){return Math.sqrt(Math.pow(k,2)+Math.pow(E,2)+Math.pow(x,2))}function w(k,E,x,A){return Math.sqrt(Math.pow(k,2)+Math.pow(E,2)+Math.pow(x,2)+Math.pow(A,2))}function y(k,E){var x=E[0],A=E[1],L=E[2],b=E[3],R=w(x,A,L,b);R>1e-6?(k[0]=x/R,k[1]=A/R,k[2]=L/R,k[3]=b/R):(k[0]=k[1]=k[2]=0,k[3]=1)}function S(k,E,x){this.radius=u([x]),this.center=u(E),this.rotation=u(k),this.computedRadius=this.radius.curve(0),this.computedCenter=this.center.curve(0),this.computedRotation=this.rotation.curve(0),this.computedUp=[.1,0,0],this.computedEye=[.1,0,0],this.computedMatrix=[.1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this.recalcMatrix(0)}var _=S.prototype;_.lastT=function(){return Math.max(this.radius.lastT(),this.center.lastT(),this.rotation.lastT())},_.recalcMatrix=function(k){this.radius.curve(k),this.center.curve(k),this.rotation.curve(k);var E=this.computedRotation;y(E,E);var x=this.computedMatrix;s(x,E);var A=this.computedCenter,L=this.computedEye,b=this.computedUp,R=Math.exp(this.computedRadius[0]);L[0]=A[0]+R*x[2],L[1]=A[1]+R*x[6],L[2]=A[2]+R*x[10],b[0]=x[1],b[1]=x[5],b[2]=x[9];for(var I=0;I<3;++I){for(var O=0,z=0;z<3;++z)O+=x[I+4*z]*L[z];x[12+I]=-O}},_.getMatrix=function(k,E){this.recalcMatrix(k);var x=this.computedMatrix;if(E){for(var A=0;A<16;++A)E[A]=x[A];return E}return x},_.idle=function(k){this.center.idle(k),this.radius.idle(k),this.rotation.idle(k)},_.flush=function(k){this.center.flush(k),this.radius.flush(k),this.rotation.flush(k)},_.pan=function(k,E,x,A){E=E||0,x=x||0,A=A||0,this.recalcMatrix(k);var L=this.computedMatrix,b=L[1],R=L[5],I=L[9],O=m(b,R,I);b/=O,R/=O,I/=O;var z=L[0],F=L[4],B=L[8],N=z*b+F*R+B*I,W=m(z-=b*N,F-=R*N,B-=I*N);z/=W,F/=W,B/=W,L[2],L[6],L[10];var j=z*E+b*x,$=F*E+R*x,U=B*E+I*x;this.center.move(k,j,$,U);var G=Math.exp(this.computedRadius[0]);G=Math.max(1e-4,G+A),this.radius.set(k,Math.log(G))},_.rotate=function(k,E,x,A){this.recalcMatrix(k),E=E||0,x=x||0;var L=this.computedMatrix,b=L[0],R=L[4],I=L[8],O=L[1],z=L[5],F=L[9],B=L[2],N=L[6],W=L[10],j=E*b+x*O,$=E*R+x*z,U=E*I+x*F,G=-(N*U-W*$),q=-(W*j-B*U),H=-(B*$-N*j),ne=Math.sqrt(Math.max(0,1-Math.pow(G,2)-Math.pow(q,2)-Math.pow(H,2))),te=w(G,q,H,ne);te>1e-6?(G/=te,q/=te,H/=te,ne/=te):(G=q=H=0,ne=1);var Z=this.computedRotation,X=Z[0],Q=Z[1],re=Z[2],ie=Z[3],oe=X*ne+ie*G+Q*H-re*q,ue=Q*ne+ie*q+re*G-X*H,ce=re*ne+ie*H+X*q-Q*G,ye=ie*ne-X*G-Q*q-re*H;if(A){G=B,q=N,H=W;var de=Math.sin(A)/m(G,q,H);G*=de,q*=de,H*=de,ye=ye*(ne=Math.cos(E))-(oe=oe*ne+ye*G+ue*H-ce*q)*G-(ue=ue*ne+ye*q+ce*G-oe*H)*q-(ce=ce*ne+ye*H+oe*q-ue*G)*H}var me=w(oe,ue,ce,ye);me>1e-6?(oe/=me,ue/=me,ce/=me,ye/=me):(oe=ue=ce=0,ye=1),this.rotation.set(k,oe,ue,ce,ye)},_.lookAt=function(k,E,x,A){this.recalcMatrix(k),x=x||this.computedCenter,E=E||this.computedEye,A=A||this.computedUp;var L=this.computedMatrix;o(L,E,x,A);var b=this.computedRotation;h(b,L[0],L[1],L[2],L[4],L[5],L[6],L[8],L[9],L[10]),y(b,b),this.rotation.set(k,b[0],b[1],b[2],b[3]);for(var R=0,I=0;I<3;++I)R+=Math.pow(x[I]-E[I],2);this.radius.set(k,.5*Math.log(Math.max(R,1e-6))),this.center.set(k,x[0],x[1],x[2])},_.translate=function(k,E,x,A){this.center.move(k,E||0,x||0,A||0)},_.setMatrix=function(k,E){var x=this.computedRotation;h(x,E[0],E[1],E[2],E[4],E[5],E[6],E[8],E[9],E[10]),y(x,x),this.rotation.set(k,x[0],x[1],x[2],x[3]);var A=this.computedMatrix;c(A,E);var L=A[15];if(Math.abs(L)>1e-6){var b=A[12]/L,R=A[13]/L,I=A[14]/L;this.recalcMatrix(k);var O=Math.exp(this.computedRadius[0]);this.center.set(k,b-A[2]*O,R-A[6]*O,I-A[10]*O),this.radius.idle(k)}else this.center.idle(k),this.radius.idle(k)},_.setDistance=function(k,E){E>0&&this.radius.set(k,Math.log(E))},_.setDistanceLimits=function(k,E){k=k>0?Math.log(k):-1/0,E=E>0?Math.log(E):1/0,E=Math.max(E,k),this.radius.bounds[0][0]=k,this.radius.bounds[1][0]=E},_.getDistanceLimits=function(k){var E=this.radius.bounds;return k?(k[0]=Math.exp(E[0][0]),k[1]=Math.exp(E[1][0]),k):[Math.exp(E[0][0]),Math.exp(E[1][0])]},_.toJSON=function(){return this.recalcMatrix(this.lastT()),{center:this.computedCenter.slice(),rotation:this.computedRotation.slice(),distance:Math.log(this.computedRadius[0]),zoomMin:this.radius.bounds[0][0],zoomMax:this.radius.bounds[1][0]}},_.fromJSON=function(k){var E=this.lastT(),x=k.center;x&&this.center.set(E,x[0],x[1],x[2]);var A=k.rotation;A&&this.rotation.set(E,A[0],A[1],A[2],A[3]);var L=k.distance;L&&L>0&&this.radius.set(E,Math.log(L)),this.setDistanceLimits(k.zoomMin,k.zoomMax)}},4930:function(f,l,a){var u=a(6184);f.exports=function(o,s,c){return u(c=c!==void 0?c+"":" ",s)+o}},4405:function(f){f.exports=function(l,a){a||(a=[0,""]),l=String(l);var u=parseFloat(l,10);return a[0]=u,a[1]=l.match(/[\d.\-\+]*\s*(.*)/)[1]||"",a}},4166:function(f,l,a){f.exports=function(o,s){for(var c=0|s.length,h=o.length,m=[new Array(c),new Array(c)],w=0;w0){z=m[N][I][0],B=N;break}F=z[1^B];for(var W=0;W<2;++W)for(var j=m[W][I],$=0;$0&&(z=U,F=G,B=W)}return O||z&&_(z,B),F}function E(R,I){var O=m[I][R][0],z=[R];_(O,I);for(var F=O[1^I];;){for(;F!==R;)z.push(F),F=k(z[z.length-2],F,!1);if(m[0][R].length+m[1][R].length===0)break;var B=z[z.length-1],N=R,W=z[1],j=k(B,N,!0);if(u(s[B],s[N],s[W],s[j])<0)break;z.push(R),F=k(B,N)}return z}function x(R,I){return I[1]===I[I.length-1]}for(w=0;w0;){m[0][w].length;var b=E(w,A);x(0,b)?L.push.apply(L,b):(L.length>0&&S.push(L),L=b)}L.length>0&&S.push(L)}return S};var u=a(9398)},3959:function(f,l,a){f.exports=function(o,s){for(var c=u(o,s.length),h=new Array(s.length),m=new Array(s.length),w=[],y=0;y0;){var _=w.pop();h[_]=!1;var k=c[_];for(y=0;y0})).length,R=new Array(b),I=new Array(b);for(A=0;A0;){var ue=ie.pop(),ce=q[ue];m(ce,function(Pe,_e){return Pe-_e});var ye,de=ce.length,me=oe[ue];if(me===0){var pe=L[ue];ye=[pe]}for(A=0;A=0||(oe[xe]=1^me,ie.push(xe),me===0&&(re(pe=L[xe])||(pe.reverse(),ye.push(pe))))}me===0&&k.push(ye)}return k};var u=a(8348),o=a(4166),s=a(211),c=a(9660),h=a(9662),m=a(1215),w=a(3959);function y(S,_){for(var k=new Array(S),E=0;E0&&N[j]===W[0]))return 1;$=B[j-1]}for(var U=1;$;){var G=$.key,q=u(W,G[0],G[1]);if(G[0][0]0))return 0;U=-1,$=$.right}else if(q>0)$=$.left;else{if(!(q<0))return 0;U=1,$=$.right}}return U}}(z.slabs,z.coordinates);return k.length===0?F:function(B,N){return function(W){return B(W[0],W[1])?0:N(W)}}(m(k),F)};var u=a(417)[3],o=a(4385),s=a(9014),c=a(5070);function h(){return!0}function m(y){for(var S={},_=0;_=y?(N=1,R=y+2*k+x):R=k*(N=-k/y)+x):(N=0,E>=0?(W=0,R=x):-E>=_?(W=1,R=_+2*E+x):R=E*(W=-E/_)+x);else if(W<0)W=0,k>=0?(N=0,R=x):-k>=y?(N=1,R=y+2*k+x):R=k*(N=-k/y)+x;else{var j=1/B;R=(N*=j)*(y*N+S*(W*=j)+2*k)+W*(S*N+_*W+2*E)+x}else N<0?(O=_+E)>(I=S+k)?(z=O-I)>=(F=y-2*S+_)?(N=1,W=0,R=y+2*k+x):R=(N=z/F)*(y*N+S*(W=1-N)+2*k)+W*(S*N+_*W+2*E)+x:(N=0,O<=0?(W=1,R=_+2*E+x):E>=0?(W=0,R=x):R=E*(W=-E/_)+x):W<0?(O=y+k)>(I=S+E)?(z=O-I)>=(F=y-2*S+_)?(W=1,N=0,R=_+2*E+x):R=(N=1-(W=z/F))*(y*N+S*W+2*k)+W*(S*N+_*W+2*E)+x:(W=0,O<=0?(N=1,R=y+2*k+x):k>=0?(N=0,R=x):R=k*(N=-k/y)+x):(z=_+E-S-k)<=0?(N=0,W=1,R=_+2*E+x):z>=(F=y-2*S+_)?(N=1,W=0,R=y+2*k+x):R=(N=z/F)*(y*N+S*(W=1-N)+2*k)+W*(S*N+_*W+2*E)+x;var $=1-N-W;for(w=0;w0){var _=c[m-1];if(u(y,_)===0&&s(_)!==S){m-=1;continue}}c[m++]=y}}return c.length=m,c}},6184:function(f){var l,a="";f.exports=function(u,o){if(typeof u!="string")throw new TypeError("expected a string");if(o===1)return u;if(o===2)return u+u;var s=u.length*o;if(l!==u||l===void 0)l=u,a="";else if(a.length>=s)return a.substr(0,s);for(;s>a.length&&o>1;)1&o&&(a+=u),o>>=1,u+=u;return a=(a+=u).substr(0,s)}},8161:function(f,l,a){f.exports=a.g.performance&&a.g.performance.now?function(){return performance.now()}:Date.now||function(){return+new Date}},402:function(f){f.exports=function(l){for(var a=l.length,u=l[l.length-1],o=a,s=a-2;s>=0;--s){var c=u,h=l[s];(w=h-((u=c+h)-c))&&(l[--o]=u,u=w)}var m=0;for(s=o;s0){if(O<=0)return z;R=I+O}else{if(!(I<0)||O>=0)return z;R=-(I+O)}var F=33306690738754716e-32*R;return z>=F||z<=-F?z:S(A,L,b)},function(A,L,b,R){var I=A[0]-R[0],O=L[0]-R[0],z=b[0]-R[0],F=A[1]-R[1],B=L[1]-R[1],N=b[1]-R[1],W=A[2]-R[2],j=L[2]-R[2],$=b[2]-R[2],U=O*N,G=z*B,q=z*F,H=I*N,ne=I*B,te=O*F,Z=W*(U-G)+j*(q-H)+$*(ne-te),X=7771561172376103e-31*((Math.abs(U)+Math.abs(G))*Math.abs(W)+(Math.abs(q)+Math.abs(H))*Math.abs(j)+(Math.abs(ne)+Math.abs(te))*Math.abs($));return Z>X||-Z>X?Z:_(A,L,b,R)}];function E(A){var L=k[A.length];return L||(L=k[A.length]=y(A.length)),L.apply(void 0,A)}function x(A,L,b,R,I,O,z){return function(F,B,N,W,j){switch(arguments.length){case 0:case 1:return 0;case 2:return R(F,B);case 3:return I(F,B,N);case 4:return O(F,B,N,W);case 5:return z(F,B,N,W,j)}for(var $=new Array(arguments.length),U=0;U0&&w>0||m<0&&w<0)return!1;var y=u(c,o,s),S=u(h,o,s);return!(y>0&&S>0||y<0&&S<0)&&(m!==0||w!==0||y!==0||S!==0||function(_,k,E,x){for(var A=0;A<2;++A){var L=_[A],b=k[A],R=Math.min(L,b),I=Math.max(L,b),O=E[A],z=x[A],F=Math.min(O,z);if(Math.max(O,z)=o?(s=_,(w+=1)=o?(s=_,(w+=1)>1,_=o[2*S+1];if(_===m)return S;m<_?y=S:w=S+1}return w}return function(u,o,s,c){for(var h=u.length,m=[],w=0;w>1,_=o[2*S+1];if(_===m)return S;m<_?y=S:w=S+1}return w}return function(u,o,s,c){for(var h=u.length,m=[],w=0;w>1,_=o[2*S+1];if(_===m)return S;m<_?y=S:w=S+1}return w}return function(u,o,s,c){for(var h=u.length,m=[],w=0;w0)-(o<0)},l.abs=function(o){var s=o>>31;return(o^s)-s},l.min=function(o,s){return s^(o^s)&-(o65535)<<4,s|=c=((o>>>=s)>255)<<3,s|=c=((o>>>=c)>15)<<2,(s|=c=((o>>>=c)>3)<<1)|(o>>>=c)>>1},l.log10=function(o){return o>=1e9?9:o>=1e8?8:o>=1e7?7:o>=1e6?6:o>=1e5?5:o>=1e4?4:o>=1e3?3:o>=100?2:o>=10?1:0},l.popCount=function(o){return 16843009*((o=(858993459&(o-=o>>>1&1431655765))+(o>>>2&858993459))+(o>>>4)&252645135)>>>24},l.countTrailingZeros=a,l.nextPow2=function(o){return o+=o===0,--o,o|=o>>>1,o|=o>>>2,o|=o>>>4,1+((o|=o>>>8)|o>>>16)},l.prevPow2=function(o){return o|=o>>>1,o|=o>>>2,o|=o>>>4,o|=o>>>8,(o|=o>>>16)-(o>>>1)},l.parity=function(o){return o^=o>>>16,o^=o>>>8,o^=o>>>4,27030>>>(o&=15)&1};var u=new Array(256);(function(o){for(var s=0;s<256;++s){var c=s,h=s,m=7;for(c>>>=1;c;c>>>=1)h<<=1,h|=1&c,--m;o[s]=h<>>8&255]<<16|u[o>>>16&255]<<8|u[o>>>24&255]},l.interleave2=function(o,s){return(o=1431655765&((o=858993459&((o=252645135&((o=16711935&((o&=65535)|o<<8))|o<<4))|o<<2))|o<<1))|(s=1431655765&((s=858993459&((s=252645135&((s=16711935&((s&=65535)|s<<8))|s<<4))|s<<2))|s<<1))<<1},l.deinterleave2=function(o,s){return(o=65535&((o=16711935&((o=252645135&((o=858993459&((o=o>>>s&1431655765)|o>>>1))|o>>>2))|o>>>4))|o>>>16))<<16>>16},l.interleave3=function(o,s,c){return o=1227133513&((o=3272356035&((o=251719695&((o=4278190335&((o&=1023)|o<<16))|o<<8))|o<<4))|o<<2),(o|=(s=1227133513&((s=3272356035&((s=251719695&((s=4278190335&((s&=1023)|s<<16))|s<<8))|s<<4))|s<<2))<<1)|(c=1227133513&((c=3272356035&((c=251719695&((c=4278190335&((c&=1023)|c<<16))|c<<8))|c<<4))|c<<2))<<2},l.deinterleave3=function(o,s){return(o=1023&((o=4278190335&((o=251719695&((o=3272356035&((o=o>>>s&1227133513)|o>>>2))|o>>>4))|o>>>8))|o>>>16))<<22>>22},l.nextCombination=function(o){var s=o|o-1;return s+1|(~s&-~s)-1>>>a(o)+1}},6656:function(f,l,a){var u=a(9392),o=a(9521);function s(_,k){var E=_.length,x=_.length-k.length,A=Math.min;if(x)return x;switch(E){case 0:return 0;case 1:return _[0]-k[0];case 2:return(R=_[0]+_[1]-k[0]-k[1])||A(_[0],_[1])-A(k[0],k[1]);case 3:var L=_[0]+_[1],b=k[0]+k[1];if(R=L+_[2]-(b+k[2]))return R;var R,I=A(_[0],_[1]),O=A(k[0],k[1]);return(R=A(I,_[2])-A(O,k[2]))||A(I+_[2],L)-A(O+k[2],b);default:var z=_.slice(0);z.sort();var F=k.slice(0);F.sort();for(var B=0;B>1,b=s(_[L],k);b<=0?(b===0&&(A=L),E=L+1):b>0&&(x=L-1)}return A}function y(_,k){for(var E=new Array(_.length),x=0,A=E.length;x=_.length||s(_[N],L)!==0););}return E}function S(_,k){if(k<0)return[];for(var E=[],x=(1<>>O&1&&I.push(A[O]);k.push(I)}return h(k)},l.skeleton=S,l.boundary=function(_){for(var k=[],E=0,x=_.length;E>1:(te>>1)-1}function z(te){for(var Z=I(te);;){var X=Z,Q=2*te+1,re=2*(te+1),ie=te;if(Q0;){var X=O(te);if(!(X>=0&&Z0){var te=j[0];return R(0,U-1),U-=1,z(0),te}return-1}function N(te,Z){var X=j[te];return _[X]===Z?te:(_[X]=-1/0,F(te),B(),_[X]=Z,F((U+=1)-1))}function W(te){if(!k[te]){k[te]=!0;var Z=y[te],X=S[te];y[X]>=0&&(y[X]=Z),S[Z]>=0&&(S[Z]=X),$[Z]>=0&&N($[Z],b(Z)),$[X]>=0&&N($[X],b(X))}}var j=[],$=new Array(m);for(E=0;E>1;E>=0;--E)z(E);for(;;){var G=B();if(G<0||_[G]>h)break;W(G)}var q=[];for(E=0;E=0&&X>=0&&Z!==X){var Q=$[Z],re=$[X];Q!==re&&ne.push([Q,re])}}),o.unique(o.normalize(ne)),{positions:q,edges:ne}};var u=a(417),o=a(6656)},6638:function(f,l,a){f.exports=function(s,c){var h,m,w,y;if(c[0][0]c[1][0]))return o(c,s);h=c[1],m=c[0]}if(s[0][0]s[1][0]))return-o(s,c);w=s[1],y=s[0]}var S=u(h,m,y),_=u(h,m,w);if(S<0){if(_<=0)return S}else if(S>0){if(_>=0)return S}else if(_)return _;if(S=u(y,w,m),_=u(y,w,h),S<0){if(_<=0)return S}else if(S>0){if(_>=0)return S}else if(_)return _;return m[0]-y[0]};var u=a(417);function o(s,c){var h,m,w,y;if(c[0][0]c[1][0])){var S=Math.min(s[0][1],s[1][1]),_=Math.max(s[0][1],s[1][1]),k=Math.min(c[0][1],c[1][1]),E=Math.max(c[0][1],c[1][1]);return _E?S-E:_-E}h=c[1],m=c[0]}s[0][1]0)if(k[0]!==L[1][0])E=_,_=_.right;else{if(R=w(_.right,k))return R;_=_.left}else{if(k[0]!==L[1][0])return _;var R;if(R=w(_.right,k))return R;_=_.left}}return E}function y(_,k,E,x){this.y=_,this.index=k,this.start=E,this.closed=x}function S(_,k,E,x){this.x=_,this.segment=k,this.create=E,this.index=x}h.prototype.castUp=function(_){var k=u.le(this.coordinates,_[0]);if(k<0)return-1;this.slabs[k];var E=w(this.slabs[k],_),x=-1;if(E&&(x=E.value),this.coordinates[k]===_[0]){var A=null;if(E&&(A=E.key),k>0){var L=w(this.slabs[k-1],_);L&&(A?c(L.key,A)>0&&(A=L.key,x=L.value):(x=L.value,A=L.key))}var b=this.horizontal[k];if(b.length>0){var R=u.ge(b,_[1],m);if(R=b.length)return x;I=b[R]}}if(I.start)if(A){var O=s(A[0],A[1],[_[0],I.y]);A[0][0]>A[1][0]&&(O=-O),O>0&&(x=I.index)}else x=I.index;else I.y!==_[1]&&(x=I.index)}}}return x}},4670:function(f,l,a){var u=a(9130),o=a(9662);function s(h,m){var w=o(u(h,m),[m[m.length-1]]);return w[w.length-1]}function c(h,m,w,y){var S=-m/(y-m);S<0?S=0:S>1&&(S=1);for(var _=1-S,k=h.length,E=new Array(k),x=0;x0||S>0&&x<0){var A=c(_,x,k,S);w.push(A),y.push(A.slice())}x<0?y.push(k.slice()):x>0?w.push(k.slice()):(w.push(k.slice()),y.push(k.slice())),S=x}return{positive:w,negative:y}},f.exports.positive=function(h,m){for(var w=[],y=s(h[h.length-1],m),S=h[h.length-1],_=h[0],k=0;k0||y>0&&E<0)&&w.push(c(S,E,_,y)),E>=0&&w.push(_.slice()),y=E}return w},f.exports.negative=function(h,m){for(var w=[],y=s(h[h.length-1],m),S=h[h.length-1],_=h[0],k=0;k0||y>0&&E<0)&&w.push(c(S,E,_,y)),E<=0&&w.push(_.slice()),y=E}return w}},8974:function(f,l,a){var u;(function(){var o={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function s(y){return h(w(y),arguments)}function c(y,S){return s.apply(null,[y].concat(S||[]))}function h(y,S){var _,k,E,x,A,L,b,R,I,O=1,z=y.length,F="";for(k=0;k=0),x.type){case"b":_=parseInt(_,10).toString(2);break;case"c":_=String.fromCharCode(parseInt(_,10));break;case"d":case"i":_=parseInt(_,10);break;case"j":_=JSON.stringify(_,null,x.width?parseInt(x.width):0);break;case"e":_=x.precision?parseFloat(_).toExponential(x.precision):parseFloat(_).toExponential();break;case"f":_=x.precision?parseFloat(_).toFixed(x.precision):parseFloat(_);break;case"g":_=x.precision?String(Number(_.toPrecision(x.precision))):parseFloat(_);break;case"o":_=(parseInt(_,10)>>>0).toString(8);break;case"s":_=String(_),_=x.precision?_.substring(0,x.precision):_;break;case"t":_=String(!!_),_=x.precision?_.substring(0,x.precision):_;break;case"T":_=Object.prototype.toString.call(_).slice(8,-1).toLowerCase(),_=x.precision?_.substring(0,x.precision):_;break;case"u":_=parseInt(_,10)>>>0;break;case"v":_=_.valueOf(),_=x.precision?_.substring(0,x.precision):_;break;case"x":_=(parseInt(_,10)>>>0).toString(16);break;case"X":_=(parseInt(_,10)>>>0).toString(16).toUpperCase()}o.json.test(x.type)?F+=_:(!o.number.test(x.type)||R&&!x.sign?I="":(I=R?"+":"-",_=_.toString().replace(o.sign,"")),L=x.pad_char?x.pad_char==="0"?"0":x.pad_char.charAt(1):" ",b=x.width-(I+_).length,A=x.width&&b>0?L.repeat(b):"",F+=x.align?I+_+A:L==="0"?I+A+_:A+I+_)}return F}var m=Object.create(null);function w(y){if(m[y])return m[y];for(var S,_=y,k=[],E=0;_;){if((S=o.text.exec(_))!==null)k.push(S[0]);else if((S=o.modulo.exec(_))!==null)k.push("%");else{if((S=o.placeholder.exec(_))===null)throw new SyntaxError("[sprintf] unexpected placeholder");if(S[2]){E|=1;var x=[],A=S[2],L=[];if((L=o.key.exec(A))===null)throw new SyntaxError("[sprintf] failed to parse named argument key");for(x.push(L[1]);(A=A.substring(L[0].length))!=="";)if((L=o.key_access.exec(A))!==null)x.push(L[1]);else{if((L=o.index_access.exec(A))===null)throw new SyntaxError("[sprintf] failed to parse named argument key");x.push(L[1])}S[2]=x}else E|=2;if(E===3)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");k.push({placeholder:S[0],param_no:S[1],keys:S[2],sign:S[3],pad_char:S[4],align:S[5],width:S[6],precision:S[7],type:S[8]})}_=_.substring(S[0].length)}return m[y]=k}l.sprintf=s,l.vsprintf=c,typeof window<"u"&&(window.sprintf=s,window.vsprintf=c,(u=(function(){return{sprintf:s,vsprintf:c}}).call(l,a,l,f))===void 0||(f.exports=u))})()},4162:function(f,l,a){f.exports=function(h,m){if(h.dimension<=0)return{positions:[],cells:[]};if(h.dimension===1)return function(S,_){for(var k=o(S,_),E=k.length,x=new Array(E),A=new Array(E),L=0;LE|0},vertex:function(S,_,k,E,x,A,L,b,R,I,O,z,F){var B=(L<<0)+(b<<1)+(R<<2)+(I<<3)|0;if(B!==0&&B!==15)switch(B){case 0:case 15:O.push([S-.5,_-.5]);break;case 1:O.push([S-.25-.25*(E+k-2*F)/(k-E),_-.25-.25*(x+k-2*F)/(k-x)]);break;case 2:O.push([S-.75-.25*(-E-k+2*F)/(E-k),_-.25-.25*(A+E-2*F)/(E-A)]);break;case 3:O.push([S-.5,_-.5-.5*(x+k+A+E-4*F)/(k-x+E-A)]);break;case 4:O.push([S-.25-.25*(A+x-2*F)/(x-A),_-.75-.25*(-x-k+2*F)/(x-k)]);break;case 5:O.push([S-.5-.5*(E+k+A+x-4*F)/(k-E+x-A),_-.5]);break;case 6:O.push([S-.5-.25*(-E-k+A+x)/(E-k+x-A),_-.5-.25*(-x-k+A+E)/(x-k+E-A)]);break;case 7:O.push([S-.75-.25*(A+x-2*F)/(x-A),_-.75-.25*(A+E-2*F)/(E-A)]);break;case 8:O.push([S-.75-.25*(-A-x+2*F)/(A-x),_-.75-.25*(-A-E+2*F)/(A-E)]);break;case 9:O.push([S-.5-.25*(E+k+-A-x)/(k-E+A-x),_-.5-.25*(x+k+-A-E)/(k-x+A-E)]);break;case 10:O.push([S-.5-.5*(-E-k-A-x+4*F)/(E-k+A-x),_-.5]);break;case 11:O.push([S-.25-.25*(-A-x+2*F)/(A-x),_-.75-.25*(x+k-2*F)/(k-x)]);break;case 12:O.push([S-.5,_-.5-.5*(-x-k-A-E+4*F)/(x-k+A-E)]);break;case 13:O.push([S-.75-.25*(E+k-2*F)/(k-E),_-.25-.25*(-A-E+2*F)/(A-E)]);break;case 14:O.push([S-.25-.25*(-E-k+2*F)/(E-k),_-.25-.25*(-x-k+2*F)/(x-k)])}},cell:function(S,_,k,E,x,A,L,b,R){x?b.push([S,_]):b.push([_,S])}});return function(S,_){var k=[],E=[];return y(S,k,E,_),{positions:k,cells:E}}}},c={}},6946:function(f,l,a){f.exports=function c(h,m,w){w=w||{};var y=s[h];y||(y=s[h]={" ":{data:new Float32Array(0),shape:.2}});var S=y[m];if(!S)if(m.length<=1||!/\d/.test(m))S=y[m]=function(z){for(var F=z.cells,B=z.positions,N=new Float32Array(6*F.length),W=0,j=0,$=0;$0&&(x+=.02);var L=new Float32Array(E),b=0,R=-.5*x;for(A=0;AMath.max(L,b)?R[2]=1:L>Math.max(A,b)?R[0]=1:R[1]=1;for(var I=0,O=0,z=0;z<3;++z)I+=x[z]*x[z],O+=R[z]*x[z];for(z=0;z<3;++z)R[z]-=O/I*x[z];return h(R,R),R}function _(x,A,L,b,R,I,O,z){this.center=u(L),this.up=u(b),this.right=u(R),this.radius=u([I]),this.angle=u([O,z]),this.angle.bounds=[[-1/0,-Math.PI/2],[1/0,Math.PI/2]],this.setDistanceLimits(x,A),this.computedCenter=this.center.curve(0),this.computedUp=this.up.curve(0),this.computedRight=this.right.curve(0),this.computedRadius=this.radius.curve(0),this.computedAngle=this.angle.curve(0),this.computedToward=[0,0,0],this.computedEye=[0,0,0],this.computedMatrix=new Array(16);for(var F=0;F<16;++F)this.computedMatrix[F]=.5;this.recalcMatrix(0)}var k=_.prototype;k.setDistanceLimits=function(x,A){x=x>0?Math.log(x):-1/0,A=A>0?Math.log(A):1/0,A=Math.max(A,x),this.radius.bounds[0][0]=x,this.radius.bounds[1][0]=A},k.getDistanceLimits=function(x){var A=this.radius.bounds[0];return x?(x[0]=Math.exp(A[0][0]),x[1]=Math.exp(A[1][0]),x):[Math.exp(A[0][0]),Math.exp(A[1][0])]},k.recalcMatrix=function(x){this.center.curve(x),this.up.curve(x),this.right.curve(x),this.radius.curve(x),this.angle.curve(x);for(var A=this.computedUp,L=this.computedRight,b=0,R=0,I=0;I<3;++I)R+=A[I]*L[I],b+=A[I]*A[I];var O=Math.sqrt(b),z=0;for(I=0;I<3;++I)L[I]-=A[I]*R/b,z+=L[I]*L[I],A[I]/=O;var F=Math.sqrt(z);for(I=0;I<3;++I)L[I]/=F;var B=this.computedToward;c(B,A,L),h(B,B);var N=Math.exp(this.computedRadius[0]),W=this.computedAngle[0],j=this.computedAngle[1],$=Math.cos(W),U=Math.sin(W),G=Math.cos(j),q=Math.sin(j),H=this.computedCenter,ne=$*G,te=U*G,Z=q,X=-$*q,Q=-U*q,re=G,ie=this.computedEye,oe=this.computedMatrix;for(I=0;I<3;++I){var ue=ne*L[I]+te*B[I]+Z*A[I];oe[4*I+1]=X*L[I]+Q*B[I]+re*A[I],oe[4*I+2]=ue,oe[4*I+3]=0}var ce=oe[1],ye=oe[5],de=oe[9],me=oe[2],pe=oe[6],xe=oe[10],Pe=ye*xe-de*pe,_e=de*me-ce*xe,Me=ce*pe-ye*me,Se=w(Pe,_e,Me);for(Pe/=Se,_e/=Se,Me/=Se,oe[0]=Pe,oe[4]=_e,oe[8]=Me,I=0;I<3;++I)ie[I]=H[I]+oe[2+4*I]*N;for(I=0;I<3;++I){z=0;for(var Ce=0;Ce<3;++Ce)z+=oe[I+4*Ce]*ie[Ce];oe[12+I]=-z}oe[15]=1},k.getMatrix=function(x,A){this.recalcMatrix(x);var L=this.computedMatrix;if(A){for(var b=0;b<16;++b)A[b]=L[b];return A}return L};var E=[0,0,0];k.rotate=function(x,A,L,b){if(this.angle.move(x,A,L),b){this.recalcMatrix(x);var R=this.computedMatrix;E[0]=R[2],E[1]=R[6],E[2]=R[10];for(var I=this.computedUp,O=this.computedRight,z=this.computedToward,F=0;F<3;++F)R[4*F]=I[F],R[4*F+1]=O[F],R[4*F+2]=z[F];for(s(R,R,b,E),F=0;F<3;++F)I[F]=R[4*F],O[F]=R[4*F+1];this.up.set(x,I[0],I[1],I[2]),this.right.set(x,O[0],O[1],O[2])}},k.pan=function(x,A,L,b){A=A||0,L=L||0,b=b||0,this.recalcMatrix(x);var R=this.computedMatrix,I=(Math.exp(this.computedRadius[0]),R[1]),O=R[5],z=R[9],F=w(I,O,z);I/=F,O/=F,z/=F;var B=R[0],N=R[4],W=R[8],j=B*I+N*O+W*z,$=w(B-=I*j,N-=O*j,W-=z*j),U=(B/=$)*A+I*L,G=(N/=$)*A+O*L,q=(W/=$)*A+z*L;this.center.move(x,U,G,q);var H=Math.exp(this.computedRadius[0]);H=Math.max(1e-4,H+b),this.radius.set(x,Math.log(H))},k.translate=function(x,A,L,b){this.center.move(x,A||0,L||0,b||0)},k.setMatrix=function(x,A,L,b){var R=1;typeof L=="number"&&(R=0|L),(R<0||R>3)&&(R=1);var I=(R+2)%3;A||(this.recalcMatrix(x),A=this.computedMatrix);var O=A[R],z=A[R+4],F=A[R+8];if(b){var B=Math.abs(O),N=Math.abs(z),W=Math.abs(F),j=Math.max(B,N,W);B===j?(O=O<0?-1:1,z=F=0):W===j?(F=F<0?-1:1,O=z=0):(z=z<0?-1:1,O=F=0)}else{var $=w(O,z,F);O/=$,z/=$,F/=$}var U,G,q=A[I],H=A[I+4],ne=A[I+8],te=q*O+H*z+ne*F,Z=w(q-=O*te,H-=z*te,ne-=F*te),X=z*(ne/=Z)-F*(H/=Z),Q=F*(q/=Z)-O*ne,re=O*H-z*q,ie=w(X,Q,re);if(X/=ie,Q/=ie,re/=ie,this.center.jump(x,ke,Le,Be),this.radius.idle(x),this.up.jump(x,O,z,F),this.right.jump(x,q,H,ne),R===2){var oe=A[1],ue=A[5],ce=A[9],ye=oe*q+ue*H+ce*ne,de=oe*X+ue*Q+ce*re;U=Pe<0?-Math.PI/2:Math.PI/2,G=Math.atan2(de,ye)}else{var me=A[2],pe=A[6],xe=A[10],Pe=me*O+pe*z+xe*F,_e=me*q+pe*H+xe*ne,Me=me*X+pe*Q+xe*re;U=Math.asin(y(Pe)),G=Math.atan2(Me,_e)}this.angle.jump(x,G,U),this.recalcMatrix(x);var Se=A[2],Ce=A[6],ae=A[10],fe=this.computedMatrix;o(fe,A);var be=fe[15],ke=fe[12]/be,Le=fe[13]/be,Be=fe[14]/be,ze=Math.exp(this.computedRadius[0]);this.center.jump(x,ke-Se*ze,Le-Ce*ze,Be-ae*ze)},k.lastT=function(){return Math.max(this.center.lastT(),this.up.lastT(),this.right.lastT(),this.radius.lastT(),this.angle.lastT())},k.idle=function(x){this.center.idle(x),this.up.idle(x),this.right.idle(x),this.radius.idle(x),this.angle.idle(x)},k.flush=function(x){this.center.flush(x),this.up.flush(x),this.right.flush(x),this.radius.flush(x),this.angle.flush(x)},k.setDistance=function(x,A){A>0&&this.radius.set(x,Math.log(A))},k.lookAt=function(x,A,L,b){this.recalcMatrix(x),A=A||this.computedEye,L=L||this.computedCenter;var R=(b=b||this.computedUp)[0],I=b[1],O=b[2],z=w(R,I,O);if(!(z<1e-6)){R/=z,I/=z,O/=z;var F=A[0]-L[0],B=A[1]-L[1],N=A[2]-L[2],W=w(F,B,N);if(!(W<1e-6)){F/=W,B/=W,N/=W;var j=this.computedRight,$=j[0],U=j[1],G=j[2],q=R*$+I*U+O*G,H=w($-=q*R,U-=q*I,G-=q*O);if(!(H<.01&&(H=w($=I*N-O*B,U=O*F-R*N,G=R*B-I*F))<1e-6)){$/=H,U/=H,G/=H,this.up.set(x,R,I,O),this.right.set(x,$,U,G),this.center.set(x,L[0],L[1],L[2]),this.radius.set(x,Math.log(W));var ne=I*G-O*U,te=O*$-R*G,Z=R*U-I*$,X=w(ne,te,Z),Q=R*F+I*B+O*N,re=$*F+U*B+G*N,ie=(ne/=X)*F+(te/=X)*B+(Z/=X)*N,oe=Math.asin(y(Q)),ue=Math.atan2(ie,re),ce=this.angle._state,ye=ce[ce.length-1],de=ce[ce.length-2];ye%=2*Math.PI;var me=Math.abs(ye+2*Math.PI-ue),pe=Math.abs(ye-ue),xe=Math.abs(ye-2*Math.PI-ue);me0?U.pop():new ArrayBuffer(j)}function E(j){return new Uint8Array(k(j),0,j)}function x(j){return new Uint16Array(k(2*j),0,j)}function A(j){return new Uint32Array(k(4*j),0,j)}function L(j){return new Int8Array(k(j),0,j)}function b(j){return new Int16Array(k(2*j),0,j)}function R(j){return new Int32Array(k(4*j),0,j)}function I(j){return new Float32Array(k(4*j),0,j)}function O(j){return new Float64Array(k(8*j),0,j)}function z(j){return c?new Uint8ClampedArray(k(j),0,j):E(j)}function F(j){return h?new BigUint64Array(k(8*j),0,j):null}function B(j){return m?new BigInt64Array(k(8*j),0,j):null}function N(j){return new DataView(k(j),0,j)}function W(j){j=u.nextPow2(j);var $=u.log2(j),U=S[$];return U.length>0?U.pop():new s(j)}l.free=function(j){if(s.isBuffer(j))S[u.log2(j.length)].push(j);else{if(Object.prototype.toString.call(j)!=="[object ArrayBuffer]"&&(j=j.buffer),!j)return;var $=j.length||j.byteLength,U=0|u.log2($);y[U].push(j)}},l.freeUint8=l.freeUint16=l.freeUint32=l.freeBigUint64=l.freeInt8=l.freeInt16=l.freeInt32=l.freeBigInt64=l.freeFloat32=l.freeFloat=l.freeFloat64=l.freeDouble=l.freeUint8Clamped=l.freeDataView=function(j){_(j.buffer)},l.freeArrayBuffer=_,l.freeBuffer=function(j){S[u.log2(j.length)].push(j)},l.malloc=function(j,$){if($===void 0||$==="arraybuffer")return k(j);switch($){case"uint8":return E(j);case"uint16":return x(j);case"uint32":return A(j);case"int8":return L(j);case"int16":return b(j);case"int32":return R(j);case"float":case"float32":return I(j);case"double":case"float64":return O(j);case"uint8_clamped":return z(j);case"bigint64":return B(j);case"biguint64":return F(j);case"buffer":return W(j);case"data":case"dataview":return N(j);default:return null}return null},l.mallocArrayBuffer=k,l.mallocUint8=E,l.mallocUint16=x,l.mallocUint32=A,l.mallocInt8=L,l.mallocInt16=b,l.mallocInt32=R,l.mallocFloat32=l.mallocFloat=I,l.mallocFloat64=l.mallocDouble=O,l.mallocUint8Clamped=z,l.mallocBigUint64=F,l.mallocBigInt64=B,l.mallocDataView=N,l.mallocBuffer=W,l.clearCache=function(){for(var j=0;j<32;++j)w.UINT8[j].length=0,w.UINT16[j].length=0,w.UINT32[j].length=0,w.INT8[j].length=0,w.INT16[j].length=0,w.INT32[j].length=0,w.FLOAT[j].length=0,w.DOUBLE[j].length=0,w.BIGUINT64[j].length=0,w.BIGINT64[j].length=0,w.UINT8C[j].length=0,y[j].length=0,S[j].length=0}},1731:function(f){function l(u){this.roots=new Array(u),this.ranks=new Array(u);for(var o=0;o0&&(R=b.size),b.lineSpacing&&b.lineSpacing>0&&(I=b.lineSpacing),b.styletags&&b.styletags.breaklines&&(O.breaklines=!!b.styletags.breaklines),b.styletags&&b.styletags.bolds&&(O.bolds=!!b.styletags.bolds),b.styletags&&b.styletags.italics&&(O.italics=!!b.styletags.italics),b.styletags&&b.styletags.subscripts&&(O.subscripts=!!b.styletags.subscripts),b.styletags&&b.styletags.superscripts&&(O.superscripts=!!b.styletags.superscripts)),L.font=[b.fontStyle,b.fontVariant,b.fontWeight,R+"px",b.font].filter(function(z){return z}).join(" "),L.textAlign="start",L.textBaseline="alphabetic",L.direction="ltr",E(function(z,F,B,N,W,j){B=B.replace(/\n/g,""),B=j.breaklines===!0?B.replace(/\/g,` -`):B.replace(/\/g," ");var $="",U=[];for(ne=0;ne-1?parseInt(fe[1+Le]):0,je=Be>-1?parseInt(be[1+Be]):0;ze!==je&&(ke=ke.replace(xe(),"?px "),X*=Math.pow(.75,je-ze),ke=ke.replace("?px ",xe())),Z+=.25*ie*(je-ze)}if(j.superscripts===!0){var ge=fe.indexOf("+"),we=be.indexOf("+"),Ee=ge>-1?parseInt(fe[1+ge]):0,Ve=we>-1?parseInt(be[1+we]):0;Ee!==Ve&&(ke=ke.replace(xe(),"?px "),X*=Math.pow(.75,Ve-Ee),ke=ke.replace("?px ",xe())),Z-=.25*ie*(Ve-Ee)}if(j.bolds===!0){var $e=fe.indexOf(w)>-1,Ye=be.indexOf(w)>-1;!$e&&Ye&&(ke=st?ke.replace("italic ","italic bold "):"bold "+ke),$e&&!Ye&&(ke=ke.replace("bold ",""))}if(j.italics===!0){var st=fe.indexOf(y)>-1,ot=be.indexOf(y)>-1;!st&&ot&&(ke="italic "+ke),st&&!ot&&(ke=ke.replace("italic ",""))}F.font=ke}for(H=0;H",I="",O=R.length,z=I.length,F=A[0]==="+"||A[0]==="-",B=0,N=-z;B>-1&&(B=L.indexOf(R,B))!==-1&&(N=L.indexOf(I,B+O))!==-1&&!(N<=B);){for(var W=B;W=N)b[W]=null,L=L.substr(0,W)+" "+L.substr(W+1);else if(b[W]!==null){var j=b[W].indexOf(A[0]);j===-1?b[W]+=A:F&&(b[W]=b[W].substr(0,j+1)+(1+parseInt(b[W][j+1]))+b[W].substr(j+2))}var $=B+O,U=L.substr($,N-$).indexOf(R);B=U!==-1?U:N+z}return b}function _(x,A){var L=u(x,128);return A?s(L.cells,L.positions,.25):{edges:L.cells,positions:L.positions}}function k(x,A,L,b){var R=_(x,b),I=function(H,ne,te){for(var Z=ne.textAlign||"start",X=ne.textBaseline||"alphabetic",Q=[1<<30,1<<30],re=[0,0],ie=H.length,oe=0;oe"u"||!ses.ok||ses.ok()){typeof ses<"u"&&(ses.weakMapPermitHostObjects=A);var l=!1;if(typeof WeakMap=="function"){var a=WeakMap;if(!(typeof navigator<"u"&&/Firefox/.test(navigator.userAgent))){var u=new a,o=Object.freeze({});if(u.set(o,1),u.get(o)===1)return void(f.exports=WeakMap);l=!0}}var s=Object.getOwnPropertyNames,c=Object.defineProperty,h=Object.isExtensible,m="weakmap:",w="weakmap:ident:"+Math.random()+"___";if(typeof crypto<"u"&&typeof crypto.getRandomValues=="function"&&typeof ArrayBuffer=="function"&&typeof Uint8Array=="function"){var y=new ArrayBuffer(25),S=new Uint8Array(y);crypto.getRandomValues(S),w="weakmap:rand:"+Array.prototype.map.call(S,function(O){return(O%36).toString(36)}).join("")+"___"}if(c(Object,"getOwnPropertyNames",{value:function(O){return s(O).filter(L)}}),"getPropertyNames"in Object){var _=Object.getPropertyNames;c(Object,"getPropertyNames",{value:function(O){return _(O).filter(L)}})}(function(){var O=Object.freeze;c(Object,"freeze",{value:function(B){return b(B),O(B)}});var z=Object.seal;c(Object,"seal",{value:function(B){return b(B),z(B)}});var F=Object.preventExtensions;c(Object,"preventExtensions",{value:function(B){return b(B),F(B)}})})();var k=!1,E=0,x=function(){this instanceof x||I();var O=[],z=[],F=E++;return Object.create(x.prototype,{get___:{value:R(function(B,N){var W,j=b(B);return j?F in j?j[F]:N:(W=O.indexOf(B))>=0?z[W]:N})},has___:{value:R(function(B){var N=b(B);return N?F in N:O.indexOf(B)>=0})},set___:{value:R(function(B,N){var W,j=b(B);return j?j[F]=N:(W=O.indexOf(B))>=0?z[W]=N:(W=O.length,z[W]=N,O[W]=B),this})},delete___:{value:R(function(B){var N,W,j=b(B);return j?F in j&&delete j[F]:!((N=O.indexOf(B))<0||(W=O.length-1,O[N]=void 0,z[N]=z[W],O[N]=O[W],O.length=W,z.length=W,0))})}})};x.prototype=Object.create(Object.prototype,{get:{value:function(O,z){return this.get___(O,z)},writable:!0,configurable:!0},has:{value:function(O){return this.has___(O)},writable:!0,configurable:!0},set:{value:function(O,z){return this.set___(O,z)},writable:!0,configurable:!0},delete:{value:function(O){return this.delete___(O)},writable:!0,configurable:!0}}),typeof a=="function"?function(){function O(){this instanceof x||I();var z,F=new a,B=void 0,N=!1;return z=l?function(W,j){return F.set(W,j),F.has(W)||(B||(B=new x),B.set(W,j)),this}:function(W,j){if(N)try{F.set(W,j)}catch{B||(B=new x),B.set___(W,j)}else F.set(W,j);return this},Object.create(x.prototype,{get___:{value:R(function(W,j){return B?F.has(W)?F.get(W):B.get___(W,j):F.get(W,j)})},has___:{value:R(function(W){return F.has(W)||!!B&&B.has___(W)})},set___:{value:R(z)},delete___:{value:R(function(W){var j=!!F.delete(W);return B&&B.delete___(W)||j})},permitHostObjects___:{value:R(function(W){if(W!==A)throw new Error("bogus call to permitHostObjects___");N=!0})}})}l&&typeof Proxy<"u"&&(Proxy=void 0),O.prototype=x.prototype,f.exports=O,Object.defineProperty(WeakMap.prototype,"constructor",{value:WeakMap,enumerable:!1,configurable:!0,writable:!0})}():(typeof Proxy<"u"&&(Proxy=void 0),f.exports=x)}function A(O){O.permitHostObjects___&&O.permitHostObjects___(A)}function L(O){return!(O.substr(0,m.length)==m&&O.substr(O.length-3)==="___")}function b(O){if(O!==Object(O))throw new TypeError("Not an object: "+O);var z=O[w];if(z&&z.key===O)return z;if(h(O)){z={key:O};try{return c(O,w,{value:z,writable:!1,enumerable:!1,configurable:!1}),z}catch{return}}}function R(O){return O.prototype=null,Object.freeze(O)}function I(){k||typeof console>"u"||(k=!0,console.warn("WeakMap should be invoked as new WeakMap(), not WeakMap(). This will be an error in the future."))}})()},9222:function(f,l,a){var u=a(7178);f.exports=function(){var o={};return function(s){if((typeof s!="object"||s===null)&&typeof s!="function")throw new Error("Weakmap-shim: Key must be object");var c=s.valueOf(o);return c&&c.identity===o?c:u(s,o)}}},7178:function(f){f.exports=function(l,a){var u={identity:a},o=l.valueOf;return Object.defineProperty(l,"valueOf",{value:function(s){return s!==a?o.apply(this,arguments):u},writable:!0}),u}},4037:function(f,l,a){var u=a(9222);f.exports=function(){var o=u();return{get:function(s,c){var h=o(s);return h.hasOwnProperty("value")?h.value:c},set:function(s,c){return o(s).value=c,this},has:function(s){return"value"in o(s)},delete:function(s){return delete o(s).value}}}},6183:function(f){f.exports=function(l){var a={};return function(u,o,s){var c=u.dtype,h=u.order,m=[c,h.join()].join(),w=a[m];return w||(a[m]=w=l([c,h])),w(u.shape.slice(0),u.data,u.stride,0|u.offset,o,s)}}((function(){return function(l,a,u,o,s,c){var h=l[0],m=u[0],w=[0],y=m;o|=0;var S=0,_=m;for(S=0;S=0!=E>=0&&s.push(w[0]+.5+.5*(k+E)/(k-E)),o+=_,++w[0]}}}).bind(void 0,{funcName:"zeroCrossings"}))},9584:function(f,l,a){f.exports=function(o,s){var c=[];return s=+s||0,u(o.hi(o.shape[0]-1),c,s),c};var u=a(6183)},6601:function(){}},M={};function v(f){var l=M[f];if(l!==void 0)return l.exports;var a=M[f]={id:f,loaded:!1,exports:{}};return i[f].call(a.exports,a,a.exports,v),a.loaded=!0,a.exports}return v.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),v.nmd=function(f){return f.paths=[],f.children||(f.children=[]),f},v(7386)}()},T.exports=d()},12856:function(T,p,t){function d(ae,fe){if(!(ae instanceof fe))throw new TypeError("Cannot call a class as a function")}function g(ae,fe){for(var be=0;bes)throw new RangeError('The value "'+ae+'" is invalid for option "size"');var fe=new Uint8Array(ae);return Object.setPrototypeOf(fe,h.prototype),fe}function h(ae,fe,be){if(typeof ae=="number"){if(typeof fe=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return y(ae)}return m(ae,fe,be)}function m(ae,fe,be){if(typeof ae=="string")return function(Be,ze){if(typeof ze=="string"&&ze!==""||(ze="utf8"),!h.isEncoding(ze))throw new TypeError("Unknown encoding: "+ze);var je=0|E(Be,ze),ge=c(je),we=ge.write(Be,ze);return we!==je&&(ge=ge.slice(0,we)),ge}(ae,fe);if(ArrayBuffer.isView(ae))return function(Be){if(Pe(Be,Uint8Array)){var ze=new Uint8Array(Be);return _(ze.buffer,ze.byteOffset,ze.byteLength)}return S(Be)}(ae);if(ae==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+l(ae));if(Pe(ae,ArrayBuffer)||ae&&Pe(ae.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Pe(ae,SharedArrayBuffer)||ae&&Pe(ae.buffer,SharedArrayBuffer)))return _(ae,fe,be);if(typeof ae=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var ke=ae.valueOf&&ae.valueOf();if(ke!=null&&ke!==ae)return h.from(ke,fe,be);var Le=function(Be){if(h.isBuffer(Be)){var ze=0|k(Be.length),je=c(ze);return je.length===0||Be.copy(je,0,0,ze),je}return Be.length!==void 0?typeof Be.length!="number"||_e(Be.length)?c(0):S(Be):Be.type==="Buffer"&&Array.isArray(Be.data)?S(Be.data):void 0}(ae);if(Le)return Le;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof ae[Symbol.toPrimitive]=="function")return h.from(ae[Symbol.toPrimitive]("string"),fe,be);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+l(ae))}function w(ae){if(typeof ae!="number")throw new TypeError('"size" argument must be of type number');if(ae<0)throw new RangeError('The value "'+ae+'" is invalid for option "size"')}function y(ae){return w(ae),c(ae<0?0:0|k(ae))}function S(ae){for(var fe=ae.length<0?0:0|k(ae.length),be=c(fe),ke=0;ke=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|ae}function E(ae,fe){if(h.isBuffer(ae))return ae.length;if(ArrayBuffer.isView(ae)||Pe(ae,ArrayBuffer))return ae.byteLength;if(typeof ae!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+l(ae));var be=ae.length,ke=arguments.length>2&&arguments[2]===!0;if(!ke&&be===0)return 0;for(var Le=!1;;)switch(fe){case"ascii":case"latin1":case"binary":return be;case"utf8":case"utf-8":return me(ae).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*be;case"hex":return be>>>1;case"base64":return pe(ae).length;default:if(Le)return ke?-1:me(ae).length;fe=(""+fe).toLowerCase(),Le=!0}}function x(ae,fe,be){var ke=!1;if((fe===void 0||fe<0)&&(fe=0),fe>this.length||((be===void 0||be>this.length)&&(be=this.length),be<=0)||(be>>>=0)<=(fe>>>=0))return"";for(ae||(ae="utf8");;)switch(ae){case"hex":return U(this,fe,be);case"utf8":case"utf-8":return N(this,fe,be);case"ascii":return j(this,fe,be);case"latin1":case"binary":return $(this,fe,be);case"base64":return B(this,fe,be);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return G(this,fe,be);default:if(ke)throw new TypeError("Unknown encoding: "+ae);ae=(ae+"").toLowerCase(),ke=!0}}function A(ae,fe,be){var ke=ae[fe];ae[fe]=ae[be],ae[be]=ke}function L(ae,fe,be,ke,Le){if(ae.length===0)return-1;if(typeof be=="string"?(ke=be,be=0):be>2147483647?be=2147483647:be<-2147483648&&(be=-2147483648),_e(be=+be)&&(be=Le?0:ae.length-1),be<0&&(be=ae.length+be),be>=ae.length){if(Le)return-1;be=ae.length-1}else if(be<0){if(!Le)return-1;be=0}if(typeof fe=="string"&&(fe=h.from(fe,ke)),h.isBuffer(fe))return fe.length===0?-1:b(ae,fe,be,ke,Le);if(typeof fe=="number")return fe&=255,typeof Uint8Array.prototype.indexOf=="function"?Le?Uint8Array.prototype.indexOf.call(ae,fe,be):Uint8Array.prototype.lastIndexOf.call(ae,fe,be):b(ae,[fe],be,ke,Le);throw new TypeError("val must be string, number or Buffer")}function b(ae,fe,be,ke,Le){var Be,ze=1,je=ae.length,ge=fe.length;if(ke!==void 0&&((ke=String(ke).toLowerCase())==="ucs2"||ke==="ucs-2"||ke==="utf16le"||ke==="utf-16le")){if(ae.length<2||fe.length<2)return-1;ze=2,je/=2,ge/=2,be/=2}function we(Ye,st){return ze===1?Ye[st]:Ye.readUInt16BE(st*ze)}if(Le){var Ee=-1;for(Be=be;Beje&&(be=je-ge),Be=be;Be>=0;Be--){for(var Ve=!0,$e=0;$eLe&&(ke=Le):ke=Le;var Be,ze=fe.length;for(ke>ze/2&&(ke=ze/2),Be=0;Be>8,ge=ze%256,we.push(ge),we.push(je);return we}(fe,ae.length-be),ae,be,ke)}function B(ae,fe,be){return fe===0&&be===ae.length?a.fromByteArray(ae):a.fromByteArray(ae.slice(fe,be))}function N(ae,fe,be){be=Math.min(ae.length,be);for(var ke=[],Le=fe;Le239?4:Be>223?3:Be>191?2:1;if(Le+je<=be){var ge=void 0,we=void 0,Ee=void 0,Ve=void 0;switch(je){case 1:Be<128&&(ze=Be);break;case 2:(192&(ge=ae[Le+1]))==128&&(Ve=(31&Be)<<6|63&ge)>127&&(ze=Ve);break;case 3:ge=ae[Le+1],we=ae[Le+2],(192&ge)==128&&(192&we)==128&&(Ve=(15&Be)<<12|(63&ge)<<6|63&we)>2047&&(Ve<55296||Ve>57343)&&(ze=Ve);break;case 4:ge=ae[Le+1],we=ae[Le+2],Ee=ae[Le+3],(192&ge)==128&&(192&we)==128&&(192&Ee)==128&&(Ve=(15&Be)<<18|(63&ge)<<12|(63&we)<<6|63&Ee)>65535&&Ve<1114112&&(ze=Ve)}}ze===null?(ze=65533,je=1):ze>65535&&(ze-=65536,ke.push(ze>>>10&1023|55296),ze=56320|1023&ze),ke.push(ze),Le+=je}return function($e){var Ye=$e.length;if(Ye<=W)return String.fromCharCode.apply(String,$e);for(var st="",ot=0;ot"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(h.prototype,"parent",{enumerable:!0,get:function(){if(h.isBuffer(this))return this.buffer}}),Object.defineProperty(h.prototype,"offset",{enumerable:!0,get:function(){if(h.isBuffer(this))return this.byteOffset}}),h.poolSize=8192,h.from=function(ae,fe,be){return m(ae,fe,be)},Object.setPrototypeOf(h.prototype,Uint8Array.prototype),Object.setPrototypeOf(h,Uint8Array),h.alloc=function(ae,fe,be){return function(ke,Le,Be){return w(ke),ke<=0?c(ke):Le!==void 0?typeof Be=="string"?c(ke).fill(Le,Be):c(ke).fill(Le):c(ke)}(ae,fe,be)},h.allocUnsafe=function(ae){return y(ae)},h.allocUnsafeSlow=function(ae){return y(ae)},h.isBuffer=function(ae){return ae!=null&&ae._isBuffer===!0&&ae!==h.prototype},h.compare=function(ae,fe){if(Pe(ae,Uint8Array)&&(ae=h.from(ae,ae.offset,ae.byteLength)),Pe(fe,Uint8Array)&&(fe=h.from(fe,fe.offset,fe.byteLength)),!h.isBuffer(ae)||!h.isBuffer(fe))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ae===fe)return 0;for(var be=ae.length,ke=fe.length,Le=0,Be=Math.min(be,ke);Leke.length?(h.isBuffer(Be)||(Be=h.from(Be)),Be.copy(ke,Le)):Uint8Array.prototype.set.call(ke,Be,Le);else{if(!h.isBuffer(Be))throw new TypeError('"list" argument must be an Array of Buffers');Be.copy(ke,Le)}Le+=Be.length}return ke},h.byteLength=E,h.prototype._isBuffer=!0,h.prototype.swap16=function(){var ae=this.length;if(ae%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var fe=0;fefe&&(ae+=" ... "),""},o&&(h.prototype[o]=h.prototype.inspect),h.prototype.compare=function(ae,fe,be,ke,Le){if(Pe(ae,Uint8Array)&&(ae=h.from(ae,ae.offset,ae.byteLength)),!h.isBuffer(ae))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+l(ae));if(fe===void 0&&(fe=0),be===void 0&&(be=ae?ae.length:0),ke===void 0&&(ke=0),Le===void 0&&(Le=this.length),fe<0||be>ae.length||ke<0||Le>this.length)throw new RangeError("out of range index");if(ke>=Le&&fe>=be)return 0;if(ke>=Le)return-1;if(fe>=be)return 1;if(this===ae)return 0;for(var Be=(Le>>>=0)-(ke>>>=0),ze=(be>>>=0)-(fe>>>=0),je=Math.min(Be,ze),ge=this.slice(ke,Le),we=ae.slice(fe,be),Ee=0;Ee>>=0,isFinite(be)?(be>>>=0,ke===void 0&&(ke="utf8")):(ke=be,be=void 0)}var Le=this.length-fe;if((be===void 0||be>Le)&&(be=Le),ae.length>0&&(be<0||fe<0)||fe>this.length)throw new RangeError("Attempt to write outside buffer bounds");ke||(ke="utf8");for(var Be=!1;;)switch(ke){case"hex":return R(this,ae,fe,be);case"utf8":case"utf-8":return I(this,ae,fe,be);case"ascii":case"latin1":case"binary":return O(this,ae,fe,be);case"base64":return z(this,ae,fe,be);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F(this,ae,fe,be);default:if(Be)throw new TypeError("Unknown encoding: "+ke);ke=(""+ke).toLowerCase(),Be=!0}},h.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var W=4096;function j(ae,fe,be){var ke="";be=Math.min(ae.length,be);for(var Le=fe;Leke)&&(be=ke);for(var Le="",Be=fe;Bebe)throw new RangeError("Trying to access beyond buffer length")}function H(ae,fe,be,ke,Le,Be){if(!h.isBuffer(ae))throw new TypeError('"buffer" argument must be a Buffer instance');if(fe>Le||feae.length)throw new RangeError("Index out of range")}function ne(ae,fe,be,ke,Le){ue(fe,ke,Le,ae,be,7);var Be=Number(fe&BigInt(4294967295));ae[be++]=Be,Be>>=8,ae[be++]=Be,Be>>=8,ae[be++]=Be,Be>>=8,ae[be++]=Be;var ze=Number(fe>>BigInt(32)&BigInt(4294967295));return ae[be++]=ze,ze>>=8,ae[be++]=ze,ze>>=8,ae[be++]=ze,ze>>=8,ae[be++]=ze,be}function te(ae,fe,be,ke,Le){ue(fe,ke,Le,ae,be,7);var Be=Number(fe&BigInt(4294967295));ae[be+7]=Be,Be>>=8,ae[be+6]=Be,Be>>=8,ae[be+5]=Be,Be>>=8,ae[be+4]=Be;var ze=Number(fe>>BigInt(32)&BigInt(4294967295));return ae[be+3]=ze,ze>>=8,ae[be+2]=ze,ze>>=8,ae[be+1]=ze,ze>>=8,ae[be]=ze,be+8}function Z(ae,fe,be,ke,Le,Be){if(be+ke>ae.length)throw new RangeError("Index out of range");if(be<0)throw new RangeError("Index out of range")}function X(ae,fe,be,ke,Le){return fe=+fe,be>>>=0,Le||Z(ae,0,be,4),u.write(ae,fe,be,ke,23,4),be+4}function Q(ae,fe,be,ke,Le){return fe=+fe,be>>>=0,Le||Z(ae,0,be,8),u.write(ae,fe,be,ke,52,8),be+8}h.prototype.slice=function(ae,fe){var be=this.length;(ae=~~ae)<0?(ae+=be)<0&&(ae=0):ae>be&&(ae=be),(fe=fe===void 0?be:~~fe)<0?(fe+=be)<0&&(fe=0):fe>be&&(fe=be),fe>>=0,fe>>>=0,be||q(ae,fe,this.length);for(var ke=this[ae],Le=1,Be=0;++Be>>=0,fe>>>=0,be||q(ae,fe,this.length);for(var ke=this[ae+--fe],Le=1;fe>0&&(Le*=256);)ke+=this[ae+--fe]*Le;return ke},h.prototype.readUint8=h.prototype.readUInt8=function(ae,fe){return ae>>>=0,fe||q(ae,1,this.length),this[ae]},h.prototype.readUint16LE=h.prototype.readUInt16LE=function(ae,fe){return ae>>>=0,fe||q(ae,2,this.length),this[ae]|this[ae+1]<<8},h.prototype.readUint16BE=h.prototype.readUInt16BE=function(ae,fe){return ae>>>=0,fe||q(ae,2,this.length),this[ae]<<8|this[ae+1]},h.prototype.readUint32LE=h.prototype.readUInt32LE=function(ae,fe){return ae>>>=0,fe||q(ae,4,this.length),(this[ae]|this[ae+1]<<8|this[ae+2]<<16)+16777216*this[ae+3]},h.prototype.readUint32BE=h.prototype.readUInt32BE=function(ae,fe){return ae>>>=0,fe||q(ae,4,this.length),16777216*this[ae]+(this[ae+1]<<16|this[ae+2]<<8|this[ae+3])},h.prototype.readBigUInt64LE=Se(function(ae){ce(ae>>>=0,"offset");var fe=this[ae],be=this[ae+7];fe!==void 0&&be!==void 0||ye(ae,this.length-8);var ke=fe+this[++ae]*Math.pow(2,8)+this[++ae]*Math.pow(2,16)+this[++ae]*Math.pow(2,24),Le=this[++ae]+this[++ae]*Math.pow(2,8)+this[++ae]*Math.pow(2,16)+be*Math.pow(2,24);return BigInt(ke)+(BigInt(Le)<>>=0,"offset");var fe=this[ae],be=this[ae+7];fe!==void 0&&be!==void 0||ye(ae,this.length-8);var ke=fe*Math.pow(2,24)+this[++ae]*Math.pow(2,16)+this[++ae]*Math.pow(2,8)+this[++ae],Le=this[++ae]*Math.pow(2,24)+this[++ae]*Math.pow(2,16)+this[++ae]*Math.pow(2,8)+be;return(BigInt(ke)<>>=0,fe>>>=0,be||q(ae,fe,this.length);for(var ke=this[ae],Le=1,Be=0;++Be=(Le*=128)&&(ke-=Math.pow(2,8*fe)),ke},h.prototype.readIntBE=function(ae,fe,be){ae>>>=0,fe>>>=0,be||q(ae,fe,this.length);for(var ke=fe,Le=1,Be=this[ae+--ke];ke>0&&(Le*=256);)Be+=this[ae+--ke]*Le;return Be>=(Le*=128)&&(Be-=Math.pow(2,8*fe)),Be},h.prototype.readInt8=function(ae,fe){return ae>>>=0,fe||q(ae,1,this.length),128&this[ae]?-1*(255-this[ae]+1):this[ae]},h.prototype.readInt16LE=function(ae,fe){ae>>>=0,fe||q(ae,2,this.length);var be=this[ae]|this[ae+1]<<8;return 32768&be?4294901760|be:be},h.prototype.readInt16BE=function(ae,fe){ae>>>=0,fe||q(ae,2,this.length);var be=this[ae+1]|this[ae]<<8;return 32768&be?4294901760|be:be},h.prototype.readInt32LE=function(ae,fe){return ae>>>=0,fe||q(ae,4,this.length),this[ae]|this[ae+1]<<8|this[ae+2]<<16|this[ae+3]<<24},h.prototype.readInt32BE=function(ae,fe){return ae>>>=0,fe||q(ae,4,this.length),this[ae]<<24|this[ae+1]<<16|this[ae+2]<<8|this[ae+3]},h.prototype.readBigInt64LE=Se(function(ae){ce(ae>>>=0,"offset");var fe=this[ae],be=this[ae+7];fe!==void 0&&be!==void 0||ye(ae,this.length-8);var ke=this[ae+4]+this[ae+5]*Math.pow(2,8)+this[ae+6]*Math.pow(2,16)+(be<<24);return(BigInt(ke)<>>=0,"offset");var fe=this[ae],be=this[ae+7];fe!==void 0&&be!==void 0||ye(ae,this.length-8);var ke=(fe<<24)+this[++ae]*Math.pow(2,16)+this[++ae]*Math.pow(2,8)+this[++ae];return(BigInt(ke)<>>=0,fe||q(ae,4,this.length),u.read(this,ae,!0,23,4)},h.prototype.readFloatBE=function(ae,fe){return ae>>>=0,fe||q(ae,4,this.length),u.read(this,ae,!1,23,4)},h.prototype.readDoubleLE=function(ae,fe){return ae>>>=0,fe||q(ae,8,this.length),u.read(this,ae,!0,52,8)},h.prototype.readDoubleBE=function(ae,fe){return ae>>>=0,fe||q(ae,8,this.length),u.read(this,ae,!1,52,8)},h.prototype.writeUintLE=h.prototype.writeUIntLE=function(ae,fe,be,ke){ae=+ae,fe>>>=0,be>>>=0,ke||H(this,ae,fe,be,Math.pow(2,8*be)-1,0);var Le=1,Be=0;for(this[fe]=255&ae;++Be>>=0,be>>>=0,ke||H(this,ae,fe,be,Math.pow(2,8*be)-1,0);var Le=be-1,Be=1;for(this[fe+Le]=255&ae;--Le>=0&&(Be*=256);)this[fe+Le]=ae/Be&255;return fe+be},h.prototype.writeUint8=h.prototype.writeUInt8=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,1,255,0),this[fe]=255&ae,fe+1},h.prototype.writeUint16LE=h.prototype.writeUInt16LE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,2,65535,0),this[fe]=255&ae,this[fe+1]=ae>>>8,fe+2},h.prototype.writeUint16BE=h.prototype.writeUInt16BE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,2,65535,0),this[fe]=ae>>>8,this[fe+1]=255&ae,fe+2},h.prototype.writeUint32LE=h.prototype.writeUInt32LE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,4,4294967295,0),this[fe+3]=ae>>>24,this[fe+2]=ae>>>16,this[fe+1]=ae>>>8,this[fe]=255&ae,fe+4},h.prototype.writeUint32BE=h.prototype.writeUInt32BE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,4,4294967295,0),this[fe]=ae>>>24,this[fe+1]=ae>>>16,this[fe+2]=ae>>>8,this[fe+3]=255&ae,fe+4},h.prototype.writeBigUInt64LE=Se(function(ae){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ne(this,ae,fe,BigInt(0),BigInt("0xffffffffffffffff"))}),h.prototype.writeBigUInt64BE=Se(function(ae){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return te(this,ae,fe,BigInt(0),BigInt("0xffffffffffffffff"))}),h.prototype.writeIntLE=function(ae,fe,be,ke){if(ae=+ae,fe>>>=0,!ke){var Le=Math.pow(2,8*be-1);H(this,ae,fe,be,Le-1,-Le)}var Be=0,ze=1,je=0;for(this[fe]=255&ae;++Be>0)-je&255;return fe+be},h.prototype.writeIntBE=function(ae,fe,be,ke){if(ae=+ae,fe>>>=0,!ke){var Le=Math.pow(2,8*be-1);H(this,ae,fe,be,Le-1,-Le)}var Be=be-1,ze=1,je=0;for(this[fe+Be]=255&ae;--Be>=0&&(ze*=256);)ae<0&&je===0&&this[fe+Be+1]!==0&&(je=1),this[fe+Be]=(ae/ze>>0)-je&255;return fe+be},h.prototype.writeInt8=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,1,127,-128),ae<0&&(ae=255+ae+1),this[fe]=255&ae,fe+1},h.prototype.writeInt16LE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,2,32767,-32768),this[fe]=255&ae,this[fe+1]=ae>>>8,fe+2},h.prototype.writeInt16BE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,2,32767,-32768),this[fe]=ae>>>8,this[fe+1]=255&ae,fe+2},h.prototype.writeInt32LE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,4,2147483647,-2147483648),this[fe]=255&ae,this[fe+1]=ae>>>8,this[fe+2]=ae>>>16,this[fe+3]=ae>>>24,fe+4},h.prototype.writeInt32BE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,4,2147483647,-2147483648),ae<0&&(ae=4294967295+ae+1),this[fe]=ae>>>24,this[fe+1]=ae>>>16,this[fe+2]=ae>>>8,this[fe+3]=255&ae,fe+4},h.prototype.writeBigInt64LE=Se(function(ae){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ne(this,ae,fe,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),h.prototype.writeBigInt64BE=Se(function(ae){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return te(this,ae,fe,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),h.prototype.writeFloatLE=function(ae,fe,be){return X(this,ae,fe,!0,be)},h.prototype.writeFloatBE=function(ae,fe,be){return X(this,ae,fe,!1,be)},h.prototype.writeDoubleLE=function(ae,fe,be){return Q(this,ae,fe,!0,be)},h.prototype.writeDoubleBE=function(ae,fe,be){return Q(this,ae,fe,!1,be)},h.prototype.copy=function(ae,fe,be,ke){if(!h.isBuffer(ae))throw new TypeError("argument should be a Buffer");if(be||(be=0),ke||ke===0||(ke=this.length),fe>=ae.length&&(fe=ae.length),fe||(fe=0),ke>0&&ke=this.length)throw new RangeError("Index out of range");if(ke<0)throw new RangeError("sourceEnd out of bounds");ke>this.length&&(ke=this.length),ae.length-fe>>=0,be=be===void 0?this.length:be>>>0,ae||(ae=0),typeof ae=="number")for(Be=fe;Be"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var Ee,Ve=f(ze);if(je){var $e=f(this).constructor;Ee=Reflect.construct(Ve,arguments,$e)}else Ee=Ve.apply(this,arguments);return M(this,Ee)});function we(){var Ee;return d(this,we),Ee=ge.call(this),Object.defineProperty(v(Ee),"message",{value:fe.apply(v(Ee),arguments),writable:!0,configurable:!0}),Ee.name="".concat(Ee.name," [").concat(ae,"]"),Ee.stack,delete Ee.name,Ee}return Le=we,(Be=[{key:"code",get:function(){return ae},set:function(Ee){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:Ee,writable:!0})}},{key:"toString",value:function(){return"".concat(this.name," [").concat(ae,"]: ").concat(this.message)}}])&&g(Le.prototype,Be),Object.defineProperty(Le,"prototype",{writable:!1}),we}(be)}function oe(ae){for(var fe="",be=ae.length,ke=ae[0]==="-"?1:0;be>=ke+4;be-=3)fe="_".concat(ae.slice(be-3,be)).concat(fe);return"".concat(ae.slice(0,be)).concat(fe)}function ue(ae,fe,be,ke,Le,Be){if(ae>be||ae3?fe===0||fe===BigInt(0)?">= 0".concat(je," and < 2").concat(je," ** ").concat(8*(Be+1)).concat(je):">= -(2".concat(je," ** ").concat(8*(Be+1)-1).concat(je,") and < 2 ** ")+"".concat(8*(Be+1)-1).concat(je):">= ".concat(fe).concat(je," and <= ").concat(be).concat(je),new re.ERR_OUT_OF_RANGE("value",ze,ae)}(function(ge,we,Ee){ce(we,"offset"),ge[we]!==void 0&&ge[we+Ee]!==void 0||ye(we,ge.length-(Ee+1))})(ke,Le,Be)}function ce(ae,fe){if(typeof ae!="number")throw new re.ERR_INVALID_ARG_TYPE(fe,"number",ae)}function ye(ae,fe,be){throw Math.floor(ae)!==ae?(ce(ae,be),new re.ERR_OUT_OF_RANGE(be||"offset","an integer",ae)):fe<0?new re.ERR_BUFFER_OUT_OF_BOUNDS:new re.ERR_OUT_OF_RANGE(be||"offset",">= ".concat(be?1:0," and <= ").concat(fe),ae)}ie("ERR_BUFFER_OUT_OF_BOUNDS",function(ae){return ae?"".concat(ae," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"},RangeError),ie("ERR_INVALID_ARG_TYPE",function(ae,fe){return'The "'.concat(ae,'" argument must be of type number. Received type ').concat(l(fe))},TypeError),ie("ERR_OUT_OF_RANGE",function(ae,fe,be){var ke='The value of "'.concat(ae,'" is out of range.'),Le=be;return Number.isInteger(be)&&Math.abs(be)>Math.pow(2,32)?Le=oe(String(be)):typeof be=="bigint"&&(Le=String(be),(be>Math.pow(BigInt(2),BigInt(32))||be<-Math.pow(BigInt(2),BigInt(32)))&&(Le=oe(Le)),Le+="n"),ke+" It must be ".concat(fe,". Received ").concat(Le)},RangeError);var de=/[^+/0-9A-Za-z-_]/g;function me(ae,fe){var be;fe=fe||1/0;for(var ke=ae.length,Le=null,Be=[],ze=0;ze55295&&be<57344){if(!Le){if(be>56319){(fe-=3)>-1&&Be.push(239,191,189);continue}if(ze+1===ke){(fe-=3)>-1&&Be.push(239,191,189);continue}Le=be;continue}if(be<56320){(fe-=3)>-1&&Be.push(239,191,189),Le=be;continue}be=65536+(Le-55296<<10|be-56320)}else Le&&(fe-=3)>-1&&Be.push(239,191,189);if(Le=null,be<128){if((fe-=1)<0)break;Be.push(be)}else if(be<2048){if((fe-=2)<0)break;Be.push(be>>6|192,63&be|128)}else if(be<65536){if((fe-=3)<0)break;Be.push(be>>12|224,be>>6&63|128,63&be|128)}else{if(!(be<1114112))throw new Error("Invalid code point");if((fe-=4)<0)break;Be.push(be>>18|240,be>>12&63|128,be>>6&63|128,63&be|128)}}return Be}function pe(ae){return a.toByteArray(function(fe){if((fe=(fe=fe.split("=")[0]).trim().replace(de,"")).length<2)return"";for(;fe.length%4!=0;)fe+="=";return fe}(ae))}function xe(ae,fe,be,ke){var Le;for(Le=0;Le=fe.length||Le>=ae.length);++Le)fe[Le+be]=ae[Le];return Le}function Pe(ae,fe){return ae instanceof fe||ae!=null&&ae.constructor!=null&&ae.constructor.name!=null&&ae.constructor.name===fe.name}function _e(ae){return ae!=ae}var Me=function(){for(var ae="0123456789abcdef",fe=new Array(256),be=0;be<16;++be)for(var ke=16*be,Le=0;Le<16;++Le)fe[ke+Le]=ae[be]+ae[Le];return fe}();function Se(ae){return typeof BigInt>"u"?Ce:ae}function Ce(){throw new Error("BigInt not supported")}},35791:function(T){T.exports=g,T.exports.isMobile=g,T.exports.default=g;var p=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,t=/CrOS/,d=/android|ipad|playbook|silk/i;function g(i){i||(i={});var M=i.ua;if(M||typeof navigator>"u"||(M=navigator.userAgent),M&&M.headers&&typeof M.headers["user-agent"]=="string"&&(M=M.headers["user-agent"]),typeof M!="string")return!1;var v=p.test(M)&&!t.test(M)||!!i.tablet&&d.test(M);return!v&&i.tablet&&i.featureDetect&&navigator&&navigator.maxTouchPoints>1&&M.indexOf("Macintosh")!==-1&&M.indexOf("Safari")!==-1&&(v=!0),v}},86781:function(T,p,t){t.r(p),t.d(p,{sankeyCenter:function(){return o},sankeyCircular:function(){return O},sankeyJustify:function(){return u},sankeyLeft:function(){return l},sankeyRight:function(){return a}});var d=t(33064),g=t(15140),i=t(45879),M=t(2502),v=t.n(M);function f(pe){return pe.target.depth}function l(pe){return pe.depth}function a(pe,xe){return xe-1-pe.height}function u(pe,xe){return pe.sourceLinks.length?pe.depth:xe-1}function o(pe){return pe.targetLinks.length?pe.depth:pe.sourceLinks.length?(0,d.VV)(pe.sourceLinks,f)-1:0}function s(pe){return function(){return pe}}var c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(pe){return typeof pe}:function(pe){return pe&&typeof Symbol=="function"&&pe.constructor===Symbol&&pe!==Symbol.prototype?"symbol":typeof pe};function h(pe,xe){return w(pe.source,xe.source)||pe.index-xe.index}function m(pe,xe){return w(pe.target,xe.target)||pe.index-xe.index}function w(pe,xe){return pe.partOfCycle===xe.partOfCycle?pe.y0-xe.y0:pe.circularLinkType==="top"||xe.circularLinkType==="bottom"?-1:1}function y(pe){return pe.value}function S(pe){return(pe.y0+pe.y1)/2}function _(pe){return S(pe.source)}function k(pe){return S(pe.target)}function E(pe){return pe.index}function x(pe){return pe.nodes}function A(pe){return pe.links}function L(pe,xe){var Pe=pe.get(xe);if(!Pe)throw new Error("missing: "+xe);return Pe}function b(pe,xe){return xe(pe)}var R=25,I=10;function O(){var pe,xe,Pe=0,_e=0,Me=1,Se=1,Ce=24,ae=E,fe=u,be=x,ke=A,Le=32,Be=2,ze=null;function je(){var Ye={nodes:be.apply(null,arguments),links:ke.apply(null,arguments)};ge(Ye),z(Ye,0,ze),we(Ye),Ee(Ye),F(Ye,ae),Ve(Ye,Le,ae),$e(Ye);for(var st=4,ot=0;ot0?Je+R+I:Je,bottom:qe=qe>0?qe+R+I:qe,left:ft=ft>0?ft+R+I:ft,right:nt=nt>0?nt+R+I:nt}}(Ye),Vt=function(Ke,Je){var qe=(0,d.Fp)(Ke.nodes,function(Qe){return Qe.column}),nt=Me-Pe,ft=Se-_e,Re=nt/(nt+Je.right+Je.left),Ne=ft/(ft+Je.top+Je.bottom);return Pe=Pe*Re+Je.left,Me=Je.right==0?Me:Me*Re,_e=_e*Ne+Je.top,Se*=Ne,Ke.nodes.forEach(function(Qe){Qe.x0=Pe+Qe.column*((Me-Pe-Ce)/qe),Qe.x1=Qe.x0+Ce}),Ne}(Ye,qt);Bt*=Vt,Ye.links.forEach(function(Ke){Ke.width=Ke.value*Bt}),ht.forEach(function(Ke){var Je=Ke.length;Ke.forEach(function(qe,nt){qe.depth==ht.length-1&&Je==1||qe.depth==0&&Je==1?(qe.y0=Se/2-qe.value*Bt,qe.y1=qe.y0+qe.value*Bt):qe.partOfCycle?N(qe,Ft)==0?(qe.y0=Se/2+nt,qe.y1=qe.y0+qe.value*Bt):qe.circularLinkType=="top"?(qe.y0=_e+nt,qe.y1=qe.y0+qe.value*Bt):(qe.y0=Se-qe.value*Bt-nt,qe.y1=qe.y0+qe.value*Bt):qt.top==0||qt.bottom==0?(qe.y0=(Se-_e)/Je*nt,qe.y1=qe.y0+qe.value*Bt):(qe.y0=(Se-_e)/2-Je/2+nt,qe.y1=qe.y0+qe.value*Bt)})})})(ot),xt();for(var bt=1,Et=st;Et>0;--Et)kt(bt*=.99,ot),xt();function kt(Ft,Ot){var Bt=ht.length;ht.forEach(function(qt){var Vt=qt.length,Ke=qt[0].depth;qt.forEach(function(Je){var qe;if((Je.sourceLinks.length||Je.targetLinks.length)&&!(Je.partOfCycle&&N(Je,Ot)>0))if(Ke==0&&Vt==1)qe=Je.y1-Je.y0,Je.y0=Se/2-qe/2,Je.y1=Se/2+qe/2;else if(Ke==Bt-1&&Vt==1)qe=Je.y1-Je.y0,Je.y0=Se/2-qe/2,Je.y1=Se/2+qe/2;else{var nt=(0,d.J6)(Je.sourceLinks,k),ft=(0,d.J6)(Je.targetLinks,_),Re=((nt&&ft?(nt+ft)/2:nt||ft)-S(Je))*Ft;Je.y0+=Re,Je.y1+=Re}})})}function xt(){ht.forEach(function(Ft){var Ot,Bt,qt,Vt=_e,Ke=Ft.length;for(Ft.sort(w),qt=0;qt0&&(Ot.y0+=Bt,Ot.y1+=Bt),Vt=Ot.y1+pe;if((Bt=Vt-pe-Se)>0)for(Vt=Ot.y0-=Bt,Ot.y1-=Bt,qt=Ke-2;qt>=0;--qt)(Bt=(Ot=Ft[qt]).y1+pe-Vt)>0&&(Ot.y0-=Bt,Ot.y1-=Bt),Vt=Ot.y0})}}function $e(Ye){Ye.nodes.forEach(function(st){st.sourceLinks.sort(m),st.targetLinks.sort(h)}),Ye.nodes.forEach(function(st){var ot=st.y0,ht=ot,bt=st.y1,Et=bt;st.sourceLinks.forEach(function(kt){kt.circular?(kt.y0=bt-kt.width/2,bt-=kt.width):(kt.y0=ot+kt.width/2,ot+=kt.width)}),st.targetLinks.forEach(function(kt){kt.circular?(kt.y1=Et-kt.width/2,Et-=kt.width):(kt.y1=ht+kt.width/2,ht+=kt.width)})})}return je.nodeId=function(Ye){return arguments.length?(ae=typeof Ye=="function"?Ye:s(Ye),je):ae},je.nodeAlign=function(Ye){return arguments.length?(fe=typeof Ye=="function"?Ye:s(Ye),je):fe},je.nodeWidth=function(Ye){return arguments.length?(Ce=+Ye,je):Ce},je.nodePadding=function(Ye){return arguments.length?(pe=+Ye,je):pe},je.nodes=function(Ye){return arguments.length?(be=typeof Ye=="function"?Ye:s(Ye),je):be},je.links=function(Ye){return arguments.length?(ke=typeof Ye=="function"?Ye:s(Ye),je):ke},je.size=function(Ye){return arguments.length?(Pe=_e=0,Me=+Ye[0],Se=+Ye[1],je):[Me-Pe,Se-_e]},je.extent=function(Ye){return arguments.length?(Pe=+Ye[0][0],Me=+Ye[1][0],_e=+Ye[0][1],Se=+Ye[1][1],je):[[Pe,_e],[Me,Se]]},je.iterations=function(Ye){return arguments.length?(Le=+Ye,je):Le},je.circularLinkGap=function(Ye){return arguments.length?(Be=+Ye,je):Be},je.nodePaddingRatio=function(Ye){return arguments.length?(xe=+Ye,je):xe},je.sortNodes=function(Ye){return arguments.length?(ze=Ye,je):ze},je.update=function(Ye){return F(Ye,ae),$e(Ye),Ye.links.forEach(function(st){st.circular&&(st.circularLinkType=st.y0+st.y11||Me>1)}function j(pe,xe,Pe){return pe.sort(U),pe.forEach(function(_e,Me){var Se,Ce,ae=0;if(de(_e,Pe)&&W(_e))_e.circularPathData.verticalBuffer=ae+_e.width/2;else{for(var fe=0;feCe.source.column)){var be=pe[fe].circularPathData.verticalBuffer+pe[fe].width/2+xe;ae=be>ae?be:ae}_e.circularPathData.verticalBuffer=ae+_e.width/2}}),pe}function $(pe,xe,Pe,_e){var Me=(0,d.VV)(pe.links,function(Se){return Se.source.y0});pe.links.forEach(function(Se){Se.circular&&(Se.circularPathData={})}),j(pe.links.filter(function(Se){return Se.circularLinkType=="top"}),xe,_e),j(pe.links.filter(function(Se){return Se.circularLinkType=="bottom"}),xe,_e),pe.links.forEach(function(Se){if(Se.circular){if(Se.circularPathData.arcRadius=Se.width+I,Se.circularPathData.leftNodeBuffer=5,Se.circularPathData.rightNodeBuffer=5,Se.circularPathData.sourceWidth=Se.source.x1-Se.source.x0,Se.circularPathData.sourceX=Se.source.x0+Se.circularPathData.sourceWidth,Se.circularPathData.targetX=Se.target.x0,Se.circularPathData.sourceY=Se.y0,Se.circularPathData.targetY=Se.y1,de(Se,_e)&&W(Se))Se.circularPathData.leftSmallArcRadius=I+Se.width/2,Se.circularPathData.leftLargeArcRadius=I+Se.width/2,Se.circularPathData.rightSmallArcRadius=I+Se.width/2,Se.circularPathData.rightLargeArcRadius=I+Se.width/2,Se.circularLinkType=="bottom"?(Se.circularPathData.verticalFullExtent=Se.source.y1+R+Se.circularPathData.verticalBuffer,Se.circularPathData.verticalLeftInnerExtent=Se.circularPathData.verticalFullExtent-Se.circularPathData.leftLargeArcRadius,Se.circularPathData.verticalRightInnerExtent=Se.circularPathData.verticalFullExtent-Se.circularPathData.rightLargeArcRadius):(Se.circularPathData.verticalFullExtent=Se.source.y0-R-Se.circularPathData.verticalBuffer,Se.circularPathData.verticalLeftInnerExtent=Se.circularPathData.verticalFullExtent+Se.circularPathData.leftLargeArcRadius,Se.circularPathData.verticalRightInnerExtent=Se.circularPathData.verticalFullExtent+Se.circularPathData.rightLargeArcRadius);else{var Ce=Se.source.column,ae=Se.circularLinkType,fe=pe.links.filter(function(Le){return Le.source.column==Ce&&Le.circularLinkType==ae});Se.circularLinkType=="bottom"?fe.sort(q):fe.sort(G);var be=0;fe.forEach(function(Le,Be){Le.circularLinkID==Se.circularLinkID&&(Se.circularPathData.leftSmallArcRadius=I+Se.width/2+be,Se.circularPathData.leftLargeArcRadius=I+Se.width/2+Be*xe+be),be+=Le.width}),Ce=Se.target.column,fe=pe.links.filter(function(Le){return Le.target.column==Ce&&Le.circularLinkType==ae}),Se.circularLinkType=="bottom"?fe.sort(ne):fe.sort(H),be=0,fe.forEach(function(Le,Be){Le.circularLinkID==Se.circularLinkID&&(Se.circularPathData.rightSmallArcRadius=I+Se.width/2+be,Se.circularPathData.rightLargeArcRadius=I+Se.width/2+Be*xe+be),be+=Le.width}),Se.circularLinkType=="bottom"?(Se.circularPathData.verticalFullExtent=Math.max(Pe,Se.source.y1,Se.target.y1)+R+Se.circularPathData.verticalBuffer,Se.circularPathData.verticalLeftInnerExtent=Se.circularPathData.verticalFullExtent-Se.circularPathData.leftLargeArcRadius,Se.circularPathData.verticalRightInnerExtent=Se.circularPathData.verticalFullExtent-Se.circularPathData.rightLargeArcRadius):(Se.circularPathData.verticalFullExtent=Me-R-Se.circularPathData.verticalBuffer,Se.circularPathData.verticalLeftInnerExtent=Se.circularPathData.verticalFullExtent+Se.circularPathData.leftLargeArcRadius,Se.circularPathData.verticalRightInnerExtent=Se.circularPathData.verticalFullExtent+Se.circularPathData.rightLargeArcRadius)}Se.circularPathData.leftInnerExtent=Se.circularPathData.sourceX+Se.circularPathData.leftNodeBuffer,Se.circularPathData.rightInnerExtent=Se.circularPathData.targetX-Se.circularPathData.rightNodeBuffer,Se.circularPathData.leftFullExtent=Se.circularPathData.sourceX+Se.circularPathData.leftLargeArcRadius+Se.circularPathData.leftNodeBuffer,Se.circularPathData.rightFullExtent=Se.circularPathData.targetX-Se.circularPathData.rightLargeArcRadius-Se.circularPathData.rightNodeBuffer}if(Se.circular)Se.path=function(Le){return Le.circularLinkType=="top"?"M"+Le.circularPathData.sourceX+" "+Le.circularPathData.sourceY+" L"+Le.circularPathData.leftInnerExtent+" "+Le.circularPathData.sourceY+" A"+Le.circularPathData.leftLargeArcRadius+" "+Le.circularPathData.leftSmallArcRadius+" 0 0 0 "+Le.circularPathData.leftFullExtent+" "+(Le.circularPathData.sourceY-Le.circularPathData.leftSmallArcRadius)+" L"+Le.circularPathData.leftFullExtent+" "+Le.circularPathData.verticalLeftInnerExtent+" A"+Le.circularPathData.leftLargeArcRadius+" "+Le.circularPathData.leftLargeArcRadius+" 0 0 0 "+Le.circularPathData.leftInnerExtent+" "+Le.circularPathData.verticalFullExtent+" L"+Le.circularPathData.rightInnerExtent+" "+Le.circularPathData.verticalFullExtent+" A"+Le.circularPathData.rightLargeArcRadius+" "+Le.circularPathData.rightLargeArcRadius+" 0 0 0 "+Le.circularPathData.rightFullExtent+" "+Le.circularPathData.verticalRightInnerExtent+" L"+Le.circularPathData.rightFullExtent+" "+(Le.circularPathData.targetY-Le.circularPathData.rightSmallArcRadius)+" A"+Le.circularPathData.rightLargeArcRadius+" "+Le.circularPathData.rightSmallArcRadius+" 0 0 0 "+Le.circularPathData.rightInnerExtent+" "+Le.circularPathData.targetY+" L"+Le.circularPathData.targetX+" "+Le.circularPathData.targetY:"M"+Le.circularPathData.sourceX+" "+Le.circularPathData.sourceY+" L"+Le.circularPathData.leftInnerExtent+" "+Le.circularPathData.sourceY+" A"+Le.circularPathData.leftLargeArcRadius+" "+Le.circularPathData.leftSmallArcRadius+" 0 0 1 "+Le.circularPathData.leftFullExtent+" "+(Le.circularPathData.sourceY+Le.circularPathData.leftSmallArcRadius)+" L"+Le.circularPathData.leftFullExtent+" "+Le.circularPathData.verticalLeftInnerExtent+" A"+Le.circularPathData.leftLargeArcRadius+" "+Le.circularPathData.leftLargeArcRadius+" 0 0 1 "+Le.circularPathData.leftInnerExtent+" "+Le.circularPathData.verticalFullExtent+" L"+Le.circularPathData.rightInnerExtent+" "+Le.circularPathData.verticalFullExtent+" A"+Le.circularPathData.rightLargeArcRadius+" "+Le.circularPathData.rightLargeArcRadius+" 0 0 1 "+Le.circularPathData.rightFullExtent+" "+Le.circularPathData.verticalRightInnerExtent+" L"+Le.circularPathData.rightFullExtent+" "+(Le.circularPathData.targetY+Le.circularPathData.rightSmallArcRadius)+" A"+Le.circularPathData.rightLargeArcRadius+" "+Le.circularPathData.rightSmallArcRadius+" 0 0 1 "+Le.circularPathData.rightInnerExtent+" "+Le.circularPathData.targetY+" L"+Le.circularPathData.targetX+" "+Le.circularPathData.targetY}(Se);else{var ke=(0,i.h5)().source(function(Le){return[Le.source.x0+(Le.source.x1-Le.source.x0),Le.y0]}).target(function(Le){return[Le.target.x0,Le.y1]});Se.path=ke(Se)}})}function U(pe,xe){return te(pe)==te(xe)?pe.circularLinkType=="bottom"?q(pe,xe):G(pe,xe):te(xe)-te(pe)}function G(pe,xe){return pe.y0-xe.y0}function q(pe,xe){return xe.y0-pe.y0}function H(pe,xe){return pe.y1-xe.y1}function ne(pe,xe){return xe.y1-pe.y1}function te(pe){return pe.target.column-pe.source.column}function Z(pe){return pe.target.x0-pe.source.x1}function X(pe,xe){var Pe=B(pe),_e=Z(xe)/Math.tan(Pe);return ye(pe)=="up"?pe.y1+_e:pe.y1-_e}function Q(pe,xe){var Pe=B(pe),_e=Z(xe)/Math.tan(Pe);return ye(pe)=="up"?pe.y1-_e:pe.y1+_e}function re(pe,xe,Pe,_e){pe.links.forEach(function(Me){if(!Me.circular&&Me.target.column-Me.source.column>1){var Se=Me.source.column+1,Ce=Me.target.column-1,ae=1,fe=Ce-Se+1;for(ae=1;Se<=Ce;Se++,ae++)pe.nodes.forEach(function(be){if(be.column==Se){var ke,Le=ae/(fe+1),Be=Math.pow(1-Le,3),ze=3*Le*Math.pow(1-Le,2),je=3*Math.pow(Le,2)*(1-Le),ge=Math.pow(Le,3),we=Be*Me.y0+ze*Me.y0+je*Me.y1+ge*Me.y1,Ee=we-Me.width/2,Ve=we+Me.width/2;Ee>be.y0&&Eest.y0&&Ye.y0st.y0&&Ye.y1st.y1)&&ie($e,ke,xe,Pe)})):(Ve>be.y0&&Vebe.y1)&&(ke=Ve-be.y0+10,be=ie(be,ke,xe,Pe),pe.nodes.forEach(function($e){b($e,_e)!=b(be,_e)&&$e.column==be.column&&$e.y0be.y1&&ie($e,ke,xe,Pe)}))}})}})}function ie(pe,xe,Pe,_e){return pe.y0+xe>=Pe&&pe.y1+xe<=_e&&(pe.y0=pe.y0+xe,pe.y1=pe.y1+xe,pe.targetLinks.forEach(function(Me){Me.y1=Me.y1+xe}),pe.sourceLinks.forEach(function(Me){Me.y0=Me.y0+xe})),pe}function oe(pe,xe,Pe,_e){pe.nodes.forEach(function(Me){_e&&Me.y+(Me.y1-Me.y0)>xe&&(Me.y=Me.y-(Me.y+(Me.y1-Me.y0)-xe));var Se=pe.links.filter(function(fe){return b(fe.source,Pe)==b(Me,Pe)}),Ce=Se.length;Ce>1&&Se.sort(function(fe,be){if(!fe.circular&&!be.circular){if(fe.target.column==be.target.column||!ce(fe,be))return fe.y1-be.y1;if(fe.target.column>be.target.column){var ke=Q(be,fe);return fe.y1-ke}if(be.target.column>fe.target.column)return Q(fe,be)-be.y1}return fe.circular&&!be.circular?fe.circularLinkType=="top"?-1:1:be.circular&&!fe.circular?be.circularLinkType=="top"?1:-1:fe.circular&&be.circular?fe.circularLinkType===be.circularLinkType&&fe.circularLinkType=="top"?fe.target.column===be.target.column?fe.target.y1-be.target.y1:be.target.column-fe.target.column:fe.circularLinkType===be.circularLinkType&&fe.circularLinkType=="bottom"?fe.target.column===be.target.column?be.target.y1-fe.target.y1:fe.target.column-be.target.column:fe.circularLinkType=="top"?-1:1:void 0});var ae=Me.y0;Se.forEach(function(fe){fe.y0=ae+fe.width/2,ae+=fe.width}),Se.forEach(function(fe,be){if(fe.circularLinkType=="bottom"){for(var ke=be+1,Le=0;ke1&&Me.sort(function(ae,fe){if(!ae.circular&&!fe.circular){if(ae.source.column==fe.source.column||!ce(ae,fe))return ae.y0-fe.y0;if(fe.source.column0?"up":"down"}function de(pe,xe){return b(pe.source,xe)==b(pe.target,xe)}function me(pe,xe,Pe){var _e=pe.nodes,Me=pe.links,Se=!1,Ce=!1;if(Me.forEach(function(be){be.circularLinkType=="top"?Se=!0:be.circularLinkType=="bottom"&&(Ce=!0)}),Se==0||Ce==0){var ae=(0,d.VV)(_e,function(be){return be.y0}),fe=(Pe-xe)/((0,d.Fp)(_e,function(be){return be.y1})-ae);_e.forEach(function(be){var ke=(be.y1-be.y0)*fe;be.y0=(be.y0-ae)*fe,be.y1=be.y0+ke}),Me.forEach(function(be){be.y0=(be.y0-ae)*fe,be.y1=(be.y1-ae)*fe,be.width=be.width*fe})}}},30838:function(T,p,t){t.r(p),t.d(p,{sankey:function(){return E},sankeyCenter:function(){return l},sankeyJustify:function(){return f},sankeyLeft:function(){return M},sankeyLinkHorizontal:function(){return b},sankeyRight:function(){return v}});var d=t(33064),g=t(15140);function i(R){return R.target.depth}function M(R){return R.depth}function v(R,I){return I-1-R.height}function f(R,I){return R.sourceLinks.length?R.depth:I-1}function l(R){return R.targetLinks.length?R.depth:R.sourceLinks.length?(0,d.VV)(R.sourceLinks,i)-1:0}function a(R){return function(){return R}}function u(R,I){return s(R.source,I.source)||R.index-I.index}function o(R,I){return s(R.target,I.target)||R.index-I.index}function s(R,I){return R.y0-I.y0}function c(R){return R.value}function h(R){return(R.y0+R.y1)/2}function m(R){return h(R.source)*R.value}function w(R){return h(R.target)*R.value}function y(R){return R.index}function S(R){return R.nodes}function _(R){return R.links}function k(R,I){var O=R.get(I);if(!O)throw new Error("missing: "+I);return O}function E(){var R=0,I=0,O=1,z=1,F=24,B=8,N=y,W=f,j=S,$=_,U=32;function G(){var X={nodes:j.apply(null,arguments),links:$.apply(null,arguments)};return q(X),H(X),ne(X),te(X),Z(X),X}function q(X){X.nodes.forEach(function(re,ie){re.index=ie,re.sourceLinks=[],re.targetLinks=[]});var Q=(0,g.UI)(X.nodes,N);X.links.forEach(function(re,ie){re.index=ie;var oe=re.source,ue=re.target;typeof oe!="object"&&(oe=re.source=k(Q,oe)),typeof ue!="object"&&(ue=re.target=k(Q,ue)),oe.sourceLinks.push(re),ue.targetLinks.push(re)})}function H(X){X.nodes.forEach(function(Q){Q.value=Math.max((0,d.Sm)(Q.sourceLinks,c),(0,d.Sm)(Q.targetLinks,c))})}function ne(X){var Q,re,ie;for(Q=X.nodes,re=[],ie=0;Q.length;++ie,Q=re,re=[])Q.forEach(function(ue){ue.depth=ie,ue.sourceLinks.forEach(function(ce){re.indexOf(ce.target)<0&&re.push(ce.target)})});for(Q=X.nodes,re=[],ie=0;Q.length;++ie,Q=re,re=[])Q.forEach(function(ue){ue.height=ie,ue.targetLinks.forEach(function(ce){re.indexOf(ce.source)<0&&re.push(ce.source)})});var oe=(O-R-F)/(ie-1);X.nodes.forEach(function(ue){ue.x1=(ue.x0=R+Math.max(0,Math.min(ie-1,Math.floor(W.call(null,ue,ie))))*oe)+F})}function te(X){var Q=(0,g.b1)().key(function(ye){return ye.x0}).sortKeys(d.j2).entries(X.nodes).map(function(ye){return ye.values});(function(){var ye=(0,d.Fp)(Q,function(pe){return pe.length}),de=.6666666666666666*(z-I)/(ye-1);B>de&&(B=de);var me=(0,d.VV)(Q,function(pe){return(z-I-(pe.length-1)*B)/(0,d.Sm)(pe,c)});Q.forEach(function(pe){pe.forEach(function(xe,Pe){xe.y1=(xe.y0=Pe)+xe.value*me})}),X.links.forEach(function(pe){pe.width=pe.value*me})})(),ce();for(var re=1,ie=U;ie>0;--ie)ue(re*=.99),ce(),oe(re),ce();function oe(ye){Q.forEach(function(de){de.forEach(function(me){if(me.targetLinks.length){var pe=((0,d.Sm)(me.targetLinks,m)/(0,d.Sm)(me.targetLinks,c)-h(me))*ye;me.y0+=pe,me.y1+=pe}})})}function ue(ye){Q.slice().reverse().forEach(function(de){de.forEach(function(me){if(me.sourceLinks.length){var pe=((0,d.Sm)(me.sourceLinks,w)/(0,d.Sm)(me.sourceLinks,c)-h(me))*ye;me.y0+=pe,me.y1+=pe}})})}function ce(){Q.forEach(function(ye){var de,me,pe,xe=I,Pe=ye.length;for(ye.sort(s),pe=0;pe0&&(de.y0+=me,de.y1+=me),xe=de.y1+B;if((me=xe-B-z)>0)for(xe=de.y0-=me,de.y1-=me,pe=Pe-2;pe>=0;--pe)(me=(de=ye[pe]).y1+B-xe)>0&&(de.y0-=me,de.y1-=me),xe=de.y0})}}function Z(X){X.nodes.forEach(function(Q){Q.sourceLinks.sort(o),Q.targetLinks.sort(u)}),X.nodes.forEach(function(Q){var re=Q.y0,ie=re;Q.sourceLinks.forEach(function(oe){oe.y0=re+oe.width/2,re+=oe.width}),Q.targetLinks.forEach(function(oe){oe.y1=ie+oe.width/2,ie+=oe.width})})}return G.update=function(X){return Z(X),X},G.nodeId=function(X){return arguments.length?(N=typeof X=="function"?X:a(X),G):N},G.nodeAlign=function(X){return arguments.length?(W=typeof X=="function"?X:a(X),G):W},G.nodeWidth=function(X){return arguments.length?(F=+X,G):F},G.nodePadding=function(X){return arguments.length?(B=+X,G):B},G.nodes=function(X){return arguments.length?(j=typeof X=="function"?X:a(X),G):j},G.links=function(X){return arguments.length?($=typeof X=="function"?X:a(X),G):$},G.size=function(X){return arguments.length?(R=I=0,O=+X[0],z=+X[1],G):[O-R,z-I]},G.extent=function(X){return arguments.length?(R=+X[0][0],O=+X[1][0],I=+X[0][1],z=+X[1][1],G):[[R,I],[O,z]]},G.iterations=function(X){return arguments.length?(U=+X,G):U},G}var x=t(45879);function A(R){return[R.source.x1,R.y0]}function L(R){return[R.target.x0,R.y1]}function b(){return(0,x.h5)().source(A).target(L)}},39898:function(T,p,t){var d,g;(function(){var i={version:"3.8.0"},M=[].slice,v=function(se){return M.call(se)},f=self.document;function l(se){return se&&(se.ownerDocument||se.document||se).documentElement}function a(se){return se&&(se.ownerDocument&&se.ownerDocument.defaultView||se.document&&se||se.defaultView)}if(f)try{v(f.documentElement.childNodes)[0].nodeType}catch{v=function(ve){for(var Ie=ve.length,Fe=new Array(Ie);Ie--;)Fe[Ie]=ve[Ie];return Fe}}if(Date.now||(Date.now=function(){return+new Date}),f)try{f.createElement("DIV").style.setProperty("opacity",0,"")}catch{var u=this.Element.prototype,o=u.setAttribute,s=u.setAttributeNS,c=this.CSSStyleDeclaration.prototype,h=c.setProperty;u.setAttribute=function(ve,Ie){o.call(this,ve,Ie+"")},u.setAttributeNS=function(ve,Ie,Fe){s.call(this,ve,Ie,Fe+"")},c.setProperty=function(ve,Ie,Fe){h.call(this,ve,Ie+"",Fe)}}function m(se,ve){return seve?1:se>=ve?0:NaN}function w(se){return se===null?NaN:+se}function y(se){return!isNaN(se)}function S(se){return{left:function(ve,Ie,Fe,Ue){for(arguments.length<3&&(Fe=0),arguments.length<4&&(Ue=ve.length);Fe>>1;se(ve[We],Ie)<0?Fe=We+1:Ue=We}return Fe},right:function(ve,Ie,Fe,Ue){for(arguments.length<3&&(Fe=0),arguments.length<4&&(Ue=ve.length);Fe>>1;se(ve[We],Ie)>0?Ue=We:Fe=We+1}return Fe}}}i.ascending=m,i.descending=function(se,ve){return vese?1:ve>=se?0:NaN},i.min=function(se,ve){var Ie,Fe,Ue=-1,We=se.length;if(arguments.length===1){for(;++Ue=Fe){Ie=Fe;break}for(;++UeFe&&(Ie=Fe)}else{for(;++Ue=Fe){Ie=Fe;break}for(;++UeFe&&(Ie=Fe)}return Ie},i.max=function(se,ve){var Ie,Fe,Ue=-1,We=se.length;if(arguments.length===1){for(;++Ue=Fe){Ie=Fe;break}for(;++UeIe&&(Ie=Fe)}else{for(;++Ue=Fe){Ie=Fe;break}for(;++UeIe&&(Ie=Fe)}return Ie},i.extent=function(se,ve){var Ie,Fe,Ue,We=-1,Xe=se.length;if(arguments.length===1){for(;++We=Fe){Ie=Ue=Fe;break}for(;++WeFe&&(Ie=Fe),Ue=Fe){Ie=Ue=Fe;break}for(;++WeFe&&(Ie=Fe),Ue1)return Xe/(lt-1)},i.deviation=function(){var se=i.variance.apply(this,arguments);return se&&Math.sqrt(se)};var _=S(m);function k(se){return se.length}i.bisectLeft=_.left,i.bisect=i.bisectRight=_.right,i.bisector=function(se){return S(se.length===1?function(ve,Ie){return m(se(ve),Ie)}:se)},i.shuffle=function(se,ve,Ie){(We=arguments.length)<3&&(Ie=se.length,We<2&&(ve=0));for(var Fe,Ue,We=Ie-ve;We;)Ue=Math.random()*We--|0,Fe=se[We+ve],se[We+ve]=se[Ue+ve],se[Ue+ve]=Fe;return se},i.permute=function(se,ve){for(var Ie=ve.length,Fe=new Array(Ie);Ie--;)Fe[Ie]=se[ve[Ie]];return Fe},i.pairs=function(se){for(var ve=0,Ie=se.length-1,Fe=se[0],Ue=new Array(Ie<0?0:Ie);ve=0;)for(ve=(Fe=se[Ue]).length;--ve>=0;)Ie[--Xe]=Fe[ve];return Ie};var E=Math.abs;function x(se){for(var ve=1;se*ve%1;)ve*=10;return ve}function A(se,ve){for(var Ie in ve)Object.defineProperty(se.prototype,Ie,{value:ve[Ie],enumerable:!1})}function L(){this._=Object.create(null)}function b(se){return(se+="")=="__proto__"||se[0]==="\0"?"\0"+se:se}function R(se){return(se+="")[0]==="\0"?se.slice(1):se}function I(se){return b(se)in this._}function O(se){return(se=b(se))in this._&&delete this._[se]}function z(){var se=[];for(var ve in this._)se.push(R(ve));return se}function F(){var se=0;for(var ve in this._)++se;return se}function B(){for(var se in this._)return!1;return!0}function N(){this._=Object.create(null)}function W(se){return se}function j(se,ve,Ie){return function(){var Fe=Ie.apply(ve,arguments);return Fe===ve?se:Fe}}function $(se,ve){if(ve in se)return ve;ve=ve.charAt(0).toUpperCase()+ve.slice(1);for(var Ie=0,Fe=U.length;Ieve;)Ue.push(Fe/We);else for(;(Fe=se+Ie*++Xe)=Fe.length)return ve?ve.call(Ie,lt):se?lt.sort(se):lt;for(var zt,Ut,Ht,en,vn=-1,tn=lt.length,ln=Fe[mt++],an=new L;++vn=Fe.length)return tt;var mt=[],zt=Ue[lt++];return tt.forEach(function(Ut,Ht){mt.push({key:Ut,values:Xe(Ht,lt)})}),zt?mt.sort(function(Ut,Ht){return zt(Ut.key,Ht.key)}):mt}return Ie.map=function(tt,lt){return We(lt,tt,0)},Ie.entries=function(tt){return Xe(We(i.map,tt,0),0)},Ie.key=function(tt){return Fe.push(tt),Ie},Ie.sortKeys=function(tt){return Ue[Fe.length-1]=tt,Ie},Ie.sortValues=function(tt){return se=tt,Ie},Ie.rollup=function(tt){return ve=tt,Ie},Ie},i.set=function(se){var ve=new N;if(se)for(var Ie=0,Fe=se.length;Ie=0&&(Fe=se.slice(Ie+1),se=se.slice(0,Ie)),se)return arguments.length<2?this[se].on(Fe):this[se].on(Fe,ve);if(arguments.length===2){if(ve==null)for(se in this)this.hasOwnProperty(se)&&this[se].on(Fe,null);return this}},i.event=null,i.requote=function(se){return se.replace(X,"\\$&")};var X=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,Q={}.__proto__?function(se,ve){se.__proto__=ve}:function(se,ve){for(var Ie in ve)se[Ie]=ve[Ie]};function re(se){return Q(se,ce),se}var ie=function(se,ve){return ve.querySelector(se)},oe=function(se,ve){return ve.querySelectorAll(se)},ue=function(se,ve){var Ie=se.matches||se[$(se,"matchesSelector")];return ue=function(Fe,Ue){return Ie.call(Fe,Ue)},ue(se,ve)};typeof Sizzle=="function"&&(ie=function(se,ve){return Sizzle(se,ve)[0]||null},oe=Sizzle,ue=Sizzle.matchesSelector),i.selection=function(){return i.select(f.documentElement)};var ce=i.selection.prototype=[];function ye(se){return typeof se=="function"?se:function(){return ie(se,this)}}function de(se){return typeof se=="function"?se:function(){return oe(se,this)}}ce.select=function(se){var ve,Ie,Fe,Ue,We=[];se=ye(se);for(var Xe=-1,tt=this.length;++Xe=0&&(Ie=se.slice(0,ve))!=="xmlns"&&(se=se.slice(ve+1)),pe.hasOwnProperty(Ie)?{space:pe[Ie],local:se}:se}},ce.attr=function(se,ve){if(arguments.length<2){if(typeof se=="string"){var Ie=this.node();return(se=i.ns.qualify(se)).local?Ie.getAttributeNS(se.space,se.local):Ie.getAttribute(se)}for(ve in se)this.each(xe(ve,se[ve]));return this}return this.each(xe(se,ve))},ce.classed=function(se,ve){if(arguments.length<2){if(typeof se=="string"){var Ie=this.node(),Fe=(se=Me(se)).length,Ue=-1;if(ve=Ie.classList){for(;++Ue=0;)(Ie=Fe[Ue])&&(We&&We!==Ie.nextSibling&&We.parentNode.insertBefore(Ie,We),We=Ie);return this},ce.sort=function(se){se=ze.apply(this,arguments);for(var ve=-1,Ie=this.length;++ve=ve&&(ve=Ue+1);!(Xe=tt[ve])&&++ve0&&(se=se.slice(0,Ue));var Xe=$e.get(se);function tt(){var lt=this[Fe];lt&&(this.removeEventListener(se,lt,lt.$),delete this[Fe])}return Xe&&(se=Xe,We=st),Ue?ve?function(){var lt=We(ve,v(arguments));tt.call(this),this.addEventListener(se,this[Fe]=lt,lt.$=Ie),lt._=ve}:tt:ve?G:function(){var lt,mt=new RegExp("^__on([^.]+)"+i.requote(se)+"$");for(var zt in this)if(lt=zt.match(mt)){var Ut=this[zt];this.removeEventListener(lt[1],Ut,Ut.$),delete this[zt]}}}i.selection.enter=ge,i.selection.enter.prototype=we,we.append=ce.append,we.empty=ce.empty,we.node=ce.node,we.call=ce.call,we.size=ce.size,we.select=function(se){for(var ve,Ie,Fe,Ue,We,Xe=[],tt=-1,lt=this.length;++tt1?Vt:se<-1?-Vt:Math.asin(se)}function nt(se){return((se=Math.exp(se))+1/se)/2}var ft=Math.SQRT2;i.interpolateZoom=function(se,ve){var Ie,Fe,Ue=se[0],We=se[1],Xe=se[2],tt=ve[0],lt=ve[1],mt=ve[2],zt=tt-Ue,Ut=lt-We,Ht=zt*zt+Ut*Ut;if(Ht<1e-12)Fe=Math.log(mt/Xe)/ft,Ie=function(Cn){return[Ue+Cn*zt,We+Cn*Ut,Xe*Math.exp(ft*Cn*Fe)]};else{var en=Math.sqrt(Ht),vn=(mt*mt-Xe*Xe+4*Ht)/(2*Xe*2*en),tn=(mt*mt-Xe*Xe-4*Ht)/(2*mt*2*en),ln=Math.log(Math.sqrt(vn*vn+1)-vn),an=Math.log(Math.sqrt(tn*tn+1)-tn);Fe=(an-ln)/ft,Ie=function(Cn){var _n,on=Cn*Fe,Fn=nt(ln),Hn=Xe/(2*en)*(Fn*(_n=ft*on+ln,((_n=Math.exp(2*_n))-1)/(_n+1))-function(ir){return((ir=Math.exp(ir))-1/ir)/2}(ln));return[Ue+Hn*zt,We+Hn*Ut,Xe*Fn/nt(ft*on+ln)]}}return Ie.duration=1e3*Fe,Ie},i.behavior.zoom=function(){var se,ve,Ie,Fe,Ue,We,Xe,tt,lt,mt={x:0,y:0,k:1},zt=[960,500],Ut=Qe,Ht=250,en=0,vn="mousedown.zoom",tn="mousemove.zoom",ln="mouseup.zoom",an="touchstart.zoom",Cn=Z(_n,"zoomstart","zoom","zoomend");function _n(wr){wr.on(vn,kr).on(Ne+".zoom",fi).on("dblclick.zoom",di).on(an,jr)}function on(wr){return[(wr[0]-mt.x)/mt.k,(wr[1]-mt.y)/mt.k]}function Fn(wr){mt.k=Math.max(Ut[0],Math.min(Ut[1],wr))}function Hn(wr,Ur){Ur=function(oi){return[oi[0]*mt.k+mt.x,oi[1]*mt.k+mt.y]}(Ur),mt.x+=wr[0]-Ur[0],mt.y+=wr[1]-Ur[1]}function ir(wr,Ur,oi,ai){wr.__chart__={x:mt.x,y:mt.y,k:mt.k},Fn(Math.pow(2,ai)),Hn(ve=Ur,oi),wr=i.select(wr),Ht>0&&(wr=wr.transition().duration(Ht)),wr.call(_n.event)}function ar(){Xe&&Xe.domain(We.range().map(function(wr){return(wr-mt.x)/mt.k}).map(We.invert)),lt&<.domain(tt.range().map(function(wr){return(wr-mt.y)/mt.k}).map(tt.invert))}function Mr(wr){en++||wr({type:"zoomstart"})}function Er(wr){ar(),wr({type:"zoom",scale:mt.k,translate:[mt.x,mt.y]})}function xr(wr){--en||(wr({type:"zoomend"}),ve=null)}function kr(){var wr=this,Ur=Cn.of(wr,arguments),oi=0,ai=i.select(a(wr)).on(tn,Ni).on(ln,ta),Ii=on(i.mouse(wr)),vi=bt(wr);function Ni(){oi=1,Hn(i.mouse(wr),Ii),Er(Ur)}function ta(){ai.on(tn,null).on(ln,null),vi(oi),xr(Ur)}la.call(wr),Mr(Ur)}function jr(){var wr,Ur=this,oi=Cn.of(Ur,arguments),ai={},Ii=0,vi=".zoom-"+i.event.changedTouches[0].identifier,Ni="touchmove"+vi,ta="touchend"+vi,pa=[],ua=i.select(Ur),Qi=bt(Ur);function na(){var Za=i.touches(Ur);return wr=mt.k,Za.forEach(function(li){li.identifier in ai&&(ai[li.identifier]=on(li))}),Za}function ca(){var Za=i.event.target;i.select(Za).on(Ni,Ia).on(ta,Dl),pa.push(Za);for(var li=i.event.changedTouches,ho=0,_o=li.length;ho<_o;++ho)ai[li[ho].identifier]=null;var Aa=na(),Ps=Date.now();if(Aa.length===1){if(Ps-Ue<500){var Ri=Aa[0];ir(Ur,Ri,ai[Ri.identifier],Math.floor(Math.log(mt.k)/Math.LN2)+1),ne()}Ue=Ps}else if(Aa.length>1){Ri=Aa[0];var Xa=Aa[1],jo=Ri[0]-Xa[0],Kc=Ri[1]-Xa[1];Ii=jo*jo+Kc*Kc}}function Ia(){var Za,li,ho,_o,Aa=i.touches(Ur);la.call(Ur);for(var Ps=0,Ri=Aa.length;Ps360?tt-=360:tt<0&&(tt+=360),tt<60?Fe+(Ue-Fe)*tt/60:tt<180?Ue:tt<240?Fe+(Ue-Fe)*(240-tt)/60:Fe}(Xe))}return se=isNaN(se)?0:(se%=360)<0?se+360:se,ve=isNaN(ve)||ve<0?0:ve>1?1:ve,Fe=2*(Ie=Ie<0?0:Ie>1?1:Ie)-(Ue=Ie<=.5?Ie*(1+ve):Ie+ve-Ie*ve),new An(We(se+120),We(se),We(se-120))}function Lt(se,ve,Ie){return this instanceof Lt?(this.h=+se,this.c=+ve,void(this.l=+Ie)):arguments.length<2?se instanceof Lt?new Lt(se.h,se.c,se.l):Qt(se instanceof wt?se.l:(se=Dn((se=i.rgb(se)).r,se.g,se.b)).l,se.a,se.b):new Lt(se,ve,Ie)}_t.brighter=function(se){return se=Math.pow(.7,arguments.length?se:1),new dt(this.h,this.s,this.l/se)},_t.darker=function(se){return se=Math.pow(.7,arguments.length?se:1),new dt(this.h,this.s,se*this.l)},_t.rgb=function(){return It(this.h,this.s,this.l)},i.hcl=Lt;var yt=Lt.prototype=new ut;function Pt(se,ve,Ie){return isNaN(se)&&(se=0),isNaN(ve)&&(ve=0),new wt(Ie,Math.cos(se*=Ke)*ve,Math.sin(se)*ve)}function wt(se,ve,Ie){return this instanceof wt?(this.l=+se,this.a=+ve,void(this.b=+Ie)):arguments.length<2?se instanceof wt?new wt(se.l,se.a,se.b):se instanceof Lt?Pt(se.h,se.c,se.l):Dn((se=An(se)).r,se.g,se.b):new wt(se,ve,Ie)}yt.brighter=function(se){return new Lt(this.h,this.c,Math.min(100,this.l+Rt*(arguments.length?se:1)))},yt.darker=function(se){return new Lt(this.h,this.c,Math.max(0,this.l-Rt*(arguments.length?se:1)))},yt.rgb=function(){return Pt(this.h,this.c,this.l).rgb()},i.lab=wt;var Rt=18,Nt=.95047,Yt=1.08883,Wt=wt.prototype=new ut;function Xt(se,ve,Ie){var Fe=(se+16)/116,Ue=Fe+ve/500,We=Fe-Ie/200;return new An(un(3.2404542*(Ue=rn(Ue)*Nt)-1.5371385*(Fe=1*rn(Fe))-.4985314*(We=rn(We)*Yt)),un(-.969266*Ue+1.8760108*Fe+.041556*We),un(.0556434*Ue-.2040259*Fe+1.0572252*We))}function Qt(se,ve,Ie){return se>0?new Lt(Math.atan2(Ie,ve)*Je,Math.sqrt(ve*ve+Ie*Ie),se):new Lt(NaN,NaN,se)}function rn(se){return se>.206893034?se*se*se:(se-.13793103448275862)/7.787037}function xn(se){return se>.008856?Math.pow(se,.3333333333333333):7.787037*se+.13793103448275862}function un(se){return Math.round(255*(se<=.00304?12.92*se:1.055*Math.pow(se,.4166666666666667)-.055))}function An(se,ve,Ie){return this instanceof An?(this.r=~~se,this.g=~~ve,void(this.b=~~Ie)):arguments.length<2?se instanceof An?new An(se.r,se.g,se.b):dn(""+se,An,It):new An(se,ve,Ie)}function Yn(se){return new An(se>>16,se>>8&255,255&se)}function kn(se){return Yn(se)+""}Wt.brighter=function(se){return new wt(Math.min(100,this.l+Rt*(arguments.length?se:1)),this.a,this.b)},Wt.darker=function(se){return new wt(Math.max(0,this.l-Rt*(arguments.length?se:1)),this.a,this.b)},Wt.rgb=function(){return Xt(this.l,this.a,this.b)},i.rgb=An;var sn=An.prototype=new ut;function Tn(se){return se<16?"0"+Math.max(0,se).toString(16):Math.min(255,se).toString(16)}function dn(se,ve,Ie){var Fe,Ue,We,Xe=0,tt=0,lt=0;if(Fe=/([a-z]+)\((.*)\)/.exec(se=se.toLowerCase()))switch(Ue=Fe[2].split(","),Fe[1]){case"hsl":return Ie(parseFloat(Ue[0]),parseFloat(Ue[1])/100,parseFloat(Ue[2])/100);case"rgb":return ve(jn(Ue[0]),jn(Ue[1]),jn(Ue[2]))}return(We=Gn.get(se))?ve(We.r,We.g,We.b):(se==null||se.charAt(0)!=="#"||isNaN(We=parseInt(se.slice(1),16))||(se.length===4?(Xe=(3840&We)>>4,Xe|=Xe>>4,tt=240&We,tt|=tt>>4,lt=15&We,lt|=lt<<4):se.length===7&&(Xe=(16711680&We)>>16,tt=(65280&We)>>8,lt=255&We)),ve(Xe,tt,lt))}function pn(se,ve,Ie){var Fe,Ue,We=Math.min(se/=255,ve/=255,Ie/=255),Xe=Math.max(se,ve,Ie),tt=Xe-We,lt=(Xe+We)/2;return tt?(Ue=lt<.5?tt/(Xe+We):tt/(2-Xe-We),Fe=se==Xe?(ve-Ie)/tt+(ve0&<<1?0:Fe),new dt(Fe,Ue,lt)}function Dn(se,ve,Ie){var Fe=xn((.4124564*(se=In(se))+.3575761*(ve=In(ve))+.1804375*(Ie=In(Ie)))/Nt),Ue=xn((.2126729*se+.7151522*ve+.072175*Ie)/1);return wt(116*Ue-16,500*(Fe-Ue),200*(Ue-xn((.0193339*se+.119192*ve+.9503041*Ie)/Yt)))}function In(se){return(se/=255)<=.04045?se/12.92:Math.pow((se+.055)/1.055,2.4)}function jn(se){var ve=parseFloat(se);return se.charAt(se.length-1)==="%"?Math.round(2.55*ve):ve}sn.brighter=function(se){se=Math.pow(.7,arguments.length?se:1);var ve=this.r,Ie=this.g,Fe=this.b,Ue=30;return ve||Ie||Fe?(ve&&ve=200&&Ut<300||Ut===304){try{zt=Ie.call(Ue,tt)}catch(Ht){return void We.error.call(Ue,Ht)}We.load.call(Ue,zt)}else We.error.call(Ue,tt)}return self.XDomainRequest&&!("withCredentials"in tt)&&/^(http(s)?:)?\/\//.test(se)&&(tt=new XDomainRequest),"onload"in tt?tt.onload=tt.onerror=mt:tt.onreadystatechange=function(){tt.readyState>3&&mt()},tt.onprogress=function(zt){var Ut=i.event;i.event=zt;try{We.progress.call(Ue,tt)}finally{i.event=Ut}},Ue.header=function(zt,Ut){return zt=(zt+"").toLowerCase(),arguments.length<2?Xe[zt]:(Ut==null?delete Xe[zt]:Xe[zt]=Ut+"",Ue)},Ue.mimeType=function(zt){return arguments.length?(ve=zt==null?null:zt+"",Ue):ve},Ue.responseType=function(zt){return arguments.length?(lt=zt,Ue):lt},Ue.response=function(zt){return Ie=zt,Ue},["get","post"].forEach(function(zt){Ue[zt]=function(){return Ue.send.apply(Ue,[zt].concat(v(arguments)))}}),Ue.send=function(zt,Ut,Ht){if(arguments.length===2&&typeof Ut=="function"&&(Ht=Ut,Ut=null),tt.open(zt,se,!0),ve==null||"accept"in Xe||(Xe.accept=ve+",*/*"),tt.setRequestHeader)for(var en in Xe)tt.setRequestHeader(en,Xe[en]);return ve!=null&&tt.overrideMimeType&&tt.overrideMimeType(ve),lt!=null&&(tt.responseType=lt),Ht!=null&&Ue.on("error",Ht).on("load",function(vn){Ht(null,vn)}),We.beforesend.call(Ue,tt),tt.send(Ut??null),Ue},Ue.abort=function(){return tt.abort(),Ue},i.rebind(Ue,We,"on"),Fe==null?Ue:Ue.get(function(zt){return zt.length===1?function(Ut,Ht){zt(Ut==null?Ht:null)}:zt}(Fe))}Gn.forEach(function(se,ve){Gn.set(se,Yn(ve))}),i.functor=qn,i.xhr=lr(W),i.dsv=function(se,ve){var Ie=new RegExp('["'+se+` -]`),Fe=se.charCodeAt(0);function Ue(mt,zt,Ut){arguments.length<3&&(Ut=zt,zt=null);var Ht=rr(mt,ve,zt==null?We:Xe(zt),Ut);return Ht.row=function(en){return arguments.length?Ht.response((zt=en)==null?We:Xe(en)):zt},Ht}function We(mt){return Ue.parse(mt.responseText)}function Xe(mt){return function(zt){return Ue.parse(zt.responseText,mt)}}function tt(mt){return mt.map(lt).join(se)}function lt(mt){return Ie.test(mt)?'"'+mt.replace(/\"/g,'""')+'"':mt}return Ue.parse=function(mt,zt){var Ut;return Ue.parseRows(mt,function(Ht,en){if(Ut)return Ut(Ht,en-1);var vn=function(tn){for(var ln={},an=Ht.length,Cn=0;Cn=ln)return vn;if(Ht)return Ht=!1,en;var Fn=an;if(mt.charCodeAt(Fn)===34){for(var Hn=Fn;Hn++24?(isFinite(ve)&&(clearTimeout(vr),vr=setTimeout(bn,ve)),or=0):(or=1,_r(bn))}function Rn(){for(var se=Date.now(),ve=Sr;ve;)se>=ve.t&&ve.c(se-ve.t)&&(ve.c=null),ve=ve.n;return se}function Ln(){for(var se,ve=Sr,Ie=1/0;ve;)ve.c?(ve.t1&&(ve=se[We[Xe-2]],Ie=se[We[Xe-1]],Fe=se[tt],(Ie[0]-ve[0])*(Fe[1]-ve[1])-(Ie[1]-ve[1])*(Fe[0]-ve[0])<=0);)--Xe;We[Xe++]=tt}return We.slice(0,Xe)}function tr(se,ve){return se[0]-ve[0]||se[1]-ve[1]}i.timer=function(){Kt.apply(this,arguments)},i.timer.flush=function(){Rn(),Ln()},i.round=function(se,ve){return ve?Math.round(se*(ve=Math.pow(10,ve)))/ve:Math.round(se)},i.geom={},i.geom.hull=function(se){var ve=Un,Ie=Kn;if(arguments.length)return Fe(se);function Fe(Ue){if(Ue.length<3)return[];var We,Xe=qn(ve),tt=qn(Ie),lt=Ue.length,mt=[],zt=[];for(We=0;We=0;--We)tn.push(Ue[mt[Ut[We]][2]]);for(We=+en;WeFt)tt=tt.L;else{if(!((Ue=We-Qn(tt,Xe))>Ft)){Fe>-Ft?(ve=tt.P,Ie=tt):Ue>-Ft?(ve=tt,Ie=tt.N):ve=Ie=tt;break}if(!tt.R){ve=tt;break}tt=tt.R}var lt=yn(se);if(zn.insert(ve,lt),ve||Ie){if(ve===Ie)return br(ve),Ie=yn(ve.site),zn.insert(lt,Ie),lt.edge=Ie.edge=zr(ve.site,lt.site),dr(ve),void dr(Ie);if(Ie){br(ve),br(Ie);var mt=ve.site,zt=mt.x,Ut=mt.y,Ht=se.x-zt,en=se.y-Ut,vn=Ie.site,tn=vn.x-zt,ln=vn.y-Ut,an=2*(Ht*ln-en*tn),Cn=Ht*Ht+en*en,_n=tn*tn+ln*ln,on={x:(ln*Cn-en*_n)/an+zt,y:(Ht*_n-tn*Cn)/an+Ut};gr(Ie.edge,mt,vn,on),lt.edge=zr(mt,se,null,on),Ie.edge=zr(se,vn,null,on),dr(ve),dr(Ie)}else lt.edge=zr(ve.site,lt.site)}}function nr(se,ve){var Ie=se.site,Fe=Ie.x,Ue=Ie.y,We=Ue-ve;if(!We)return Fe;var Xe=se.P;if(!Xe)return-1/0;var tt=(Ie=Xe.site).x,lt=Ie.y,mt=lt-ve;if(!mt)return tt;var zt=tt-Fe,Ut=1/We-1/mt,Ht=zt/mt;return Ut?(-Ht+Math.sqrt(Ht*Ht-2*Ut*(zt*zt/(-2*mt)-lt+mt/2+Ue-We/2)))/Ut+Fe:(Fe+tt)/2}function Qn(se,ve){var Ie=se.N;if(Ie)return nr(Ie,ve);var Fe=se.site;return Fe.y===ve?Fe.x:1/0}function hr(se){this.site=se,this.edges=[]}function cr(se,ve){return ve.angle-se.angle}function pr(){ji(this),this.x=this.y=this.arc=this.site=this.cy=null}function dr(se){var ve=se.P,Ie=se.N;if(ve&&Ie){var Fe=ve.site,Ue=se.site,We=Ie.site;if(Fe!==We){var Xe=Ue.x,tt=Ue.y,lt=Fe.x-Xe,mt=Fe.y-tt,zt=We.x-Xe,Ut=2*(lt*(ln=We.y-tt)-mt*zt);if(!(Ut>=-1e-12)){var Ht=lt*lt+mt*mt,en=zt*zt+ln*ln,vn=(ln*Ht-mt*en)/Ut,tn=(lt*en-zt*Ht)/Ut,ln=tn+tt,an=wn.pop()||new pr;an.arc=se,an.site=Ue,an.x=vn+Xe,an.y=ln+Math.sqrt(vn*vn+tn*tn),an.cy=ln,se.circle=an;for(var Cn=null,_n=En._;_n;)if(an.y<_n.y||an.y===_n.y&&an.x<=_n.x){if(!_n.L){Cn=_n.P;break}_n=_n.L}else{if(!_n.R){Cn=_n;break}_n=_n.R}En.insert(Cn,an),Cn||(On=an)}}}}function br(se){var ve=se.circle;ve&&(ve.P||(On=ve.N),En.remove(ve),wn.push(ve),ji(ve),se.circle=null)}function Ir(se,ve){var Ie=se.b;if(Ie)return!0;var Fe,Ue,We=se.a,Xe=ve[0][0],tt=ve[1][0],lt=ve[0][1],mt=ve[1][1],zt=se.l,Ut=se.r,Ht=zt.x,en=zt.y,vn=Ut.x,tn=Ut.y,ln=(Ht+vn)/2,an=(en+tn)/2;if(tn===en){if(ln=tt)return;if(Ht>vn){if(We){if(We.y>=mt)return}else We={x:ln,y:lt};Ie={x:ln,y:mt}}else{if(We){if(We.y1)if(Ht>vn){if(We){if(We.y>=mt)return}else We={x:(lt-Ue)/Fe,y:lt};Ie={x:(mt-Ue)/Fe,y:mt}}else{if(We){if(We.y=tt)return}else We={x:Xe,y:Fe*Xe+Ue};Ie={x:tt,y:Fe*tt+Ue}}else{if(We){if(We.x0)){if(an/=ar,ar<0){if(an0){if(an>ir)return;an>Hn&&(Hn=an)}if(an=Ut-on,ar||!(an<0)){if(an/=ar,ar<0){if(an>ir)return;an>Hn&&(Hn=an)}else if(ar>0){if(an0)){if(an/=Mr,Mr<0){if(an0){if(an>ir)return;an>Hn&&(Hn=an)}if(an=Ht-Fn,Mr||!(an<0)){if(an/=Mr,Mr<0){if(an>ir)return;an>Hn&&(Hn=an)}else if(Mr>0){if(an0&&(ln.a={x:on+Hn*ar,y:Fn+Hn*Mr}),ir<1&&(ln.b={x:on+ir*ar,y:Fn+ir*Mr}),ln}}}}}),tn=en.length;tn--;)(!Ir(lt=en[tn],tt)||!vn(lt)||E(lt.a.x-lt.b.x)Ft||E(Ut-mt)>Ft)&&(vn.splice(en,0,new Fr((ar=Ht.site,Mr=an,Er=E(zt-Cn)Ft?{x:Cn,y:E(lt-Cn)Ft?{x:E(mt-Fn)Ft?{x:_n,y:E(lt-_n)Ft?{x:E(mt-on)=zt&&an.x<=Ht&&an.y>=Ut&&an.y<=en?[[zt,en],[Ht,en],[Ht,Ut],[zt,Ut]]:[]).point=lt[tn]}),mt}function tt(lt){return lt.map(function(mt,zt){return{x:Math.round(Fe(mt,zt)/Ft)*Ft,y:Math.round(Ue(mt,zt)/Ft)*Ft,i:zt}})}return Xe.links=function(lt){return La(tt(lt)).edges.filter(function(mt){return mt.l&&mt.r}).map(function(mt){return{source:lt[mt.l.i],target:lt[mt.r.i]}})},Xe.triangles=function(lt){var mt=[];return La(tt(lt)).cells.forEach(function(zt,Ut){for(var Ht,en,vn,tn,ln=zt.site,an=zt.edges.sort(cr),Cn=-1,_n=an.length,on=an[_n-1].edge,Fn=on.l===ln?on.r:on.l;++Cn<_n;)Ht=Fn,Fn=(on=an[Cn].edge).l===ln?on.r:on.l,UtWe||Ht>Xe||en=Hn)<<1|ve>=Fn,ar=ir+4;irWe&&(Ue=ve.slice(We,Ue),tt[Xe]?tt[Xe]+=Ue:tt[++Xe]=Ue),(Ie=Ie[0])===(Fe=Fe[0])?tt[Xe]?tt[Xe]+=Fe:tt[++Xe]=Fe:(tt[++Xe]=null,lt.push({i:Xe,x:is(Ie,Fe)})),We=hc.lastIndex;return Wean&&(an=zt.x),zt.y>Cn&&(Cn=zt.y),Ut.push(zt.x),Ht.push(zt.y);else for(en=0;enan&&(an=Fn),Hn>Cn&&(Cn=Hn),Ut.push(Fn),Ht.push(Hn)}var ir=an-tn,ar=Cn-ln;function Mr(kr,jr,fi,di,wr,Ur,oi,ai){if(!isNaN(fi)&&!isNaN(di))if(kr.leaf){var Ii=kr.x,vi=kr.y;if(Ii!=null)if(E(Ii-fi)+E(vi-di)<.01)Er(kr,jr,fi,di,wr,Ur,oi,ai);else{var Ni=kr.point;kr.x=kr.y=kr.point=null,Er(kr,Ni,Ii,vi,wr,Ur,oi,ai),Er(kr,jr,fi,di,wr,Ur,oi,ai)}else kr.x=fi,kr.y=di,kr.point=jr}else Er(kr,jr,fi,di,wr,Ur,oi,ai)}function Er(kr,jr,fi,di,wr,Ur,oi,ai){var Ii=.5*(wr+oi),vi=.5*(Ur+ai),Ni=fi>=Ii,ta=di>=vi,pa=ta<<1|Ni;kr.leaf=!1,Ni?wr=Ii:oi=Ii,ta?Ur=vi:ai=vi,Mr(kr=kr.nodes[pa]||(kr.nodes[pa]={leaf:!0,nodes:[],point:null,x:null,y:null}),jr,fi,di,wr,Ur,oi,ai)}ir>ar?Cn=ln+ir:an=tn+ar;var xr={leaf:!0,nodes:[],point:null,x:null,y:null,add:function(kr){Mr(xr,kr,+_n(kr,++en),+on(kr,en),tn,ln,an,Cn)},visit:function(kr){Cu(kr,xr,tn,ln,an,Cn)},find:function(kr){return gf(xr,kr[0],kr[1],tn,ln,an,Cn)}};if(en=-1,ve==null){for(;++en=0&&!(Ie=i.interpolators[Fe](se,ve)););return Ie}function as(se,ve){var Ie,Fe=[],Ue=[],We=se.length,Xe=ve.length,tt=Math.min(se.length,ve.length);for(Ie=0;Ie=1?1:se(ve)}}function Es(se){return function(ve){return 1-se(1-ve)}}function js(se){return function(ve){return .5*(ve<.5?se(2*ve):2-se(2-2*ve))}}function fc(se){return se*se}function vf(se){return se*se*se}function tl(se){if(se<=0)return 0;if(se>=1)return 1;var ve=se*se,Ie=ve*se;return 4*(se<.5?Ie:3*(se-ve)+Ie-.75)}function yf(se){return 1-Math.cos(se*Vt)}function bf(se){return Math.pow(2,10*(se-1))}function id(se){return 1-Math.sqrt(1-se*se)}function Sh(se){return se<.36363636363636365?7.5625*se*se:se<.7272727272727273?7.5625*(se-=.5454545454545454)*se+.75:se<.9090909090909091?7.5625*(se-=.8181818181818182)*se+.9375:7.5625*(se-=.9545454545454546)*se+.984375}function xf(se,ve){return ve-=se,function(Ie){return Math.round(se+ve*Ie)}}function Ch(se){var ve,Ie,Fe,Ue=[se.a,se.b],We=[se.c,se.d],Xe=rl(Ue),tt=nl(Ue,We),lt=rl(((ve=We)[0]+=(Fe=-tt)*(Ie=Ue)[0],ve[1]+=Fe*Ie[1],ve))||0;Ue[0]*We[1]=0?se.slice(0,ve):se,Fe=ve>=0?se.slice(ve+1):"in";return Ie=Ui.get(Ie)||Ml,ps((Fe=Al.get(Fe)||W)(Ie.apply(null,M.call(arguments,1))))},i.interpolateHcl=function(se,ve){se=i.hcl(se),ve=i.hcl(ve);var Ie=se.h,Fe=se.c,Ue=se.l,We=ve.h-Ie,Xe=ve.c-Fe,tt=ve.l-Ue;return isNaN(Xe)&&(Xe=0,Fe=isNaN(Fe)?ve.c:Fe),isNaN(We)?(We=0,Ie=isNaN(Ie)?ve.h:Ie):We>180?We-=360:We<-180&&(We+=360),function(lt){return Pt(Ie+We*lt,Fe+Xe*lt,Ue+tt*lt)+""}},i.interpolateHsl=function(se,ve){se=i.hsl(se),ve=i.hsl(ve);var Ie=se.h,Fe=se.s,Ue=se.l,We=ve.h-Ie,Xe=ve.s-Fe,tt=ve.l-Ue;return isNaN(Xe)&&(Xe=0,Fe=isNaN(Fe)?ve.s:Fe),isNaN(We)?(We=0,Ie=isNaN(Ie)?ve.h:Ie):We>180?We-=360:We<-180&&(We+=360),function(lt){return It(Ie+We*lt,Fe+Xe*lt,Ue+tt*lt)+""}},i.interpolateLab=function(se,ve){se=i.lab(se),ve=i.lab(ve);var Ie=se.l,Fe=se.a,Ue=se.b,We=ve.l-Ie,Xe=ve.a-Fe,tt=ve.b-Ue;return function(lt){return Xt(Ie+We*lt,Fe+Xe*lt,Ue+tt*lt)+""}},i.interpolateRound=xf,i.transform=function(se){var ve=f.createElementNS(i.ns.prefix.svg,"g");return(i.transform=function(Ie){if(Ie!=null){ve.setAttribute("transform",Ie);var Fe=ve.transform.baseVal.consolidate()}return new Ch(Fe?Fe.matrix:Lu)})(se)},Ch.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var Lu={a:1,b:0,c:0,d:1,e:0,f:0};function il(se){return se.length?se.pop()+",":""}function Eh(se,ve){var Ie=[],Fe=[];return se=i.transform(se),ve=i.transform(ve),function(Ue,We,Xe,tt){if(Ue[0]!==We[0]||Ue[1]!==We[1]){var lt=Xe.push("translate(",null,",",null,")");tt.push({i:lt-4,x:is(Ue[0],We[0])},{i:lt-2,x:is(Ue[1],We[1])})}else(We[0]||We[1])&&Xe.push("translate("+We+")")}(se.translate,ve.translate,Ie,Fe),function(Ue,We,Xe,tt){Ue!==We?(Ue-We>180?We+=360:We-Ue>180&&(Ue+=360),tt.push({i:Xe.push(il(Xe)+"rotate(",null,")")-2,x:is(Ue,We)})):We&&Xe.push(il(Xe)+"rotate("+We+")")}(se.rotate,ve.rotate,Ie,Fe),function(Ue,We,Xe,tt){Ue!==We?tt.push({i:Xe.push(il(Xe)+"skewX(",null,")")-2,x:is(Ue,We)}):We&&Xe.push(il(Xe)+"skewX("+We+")")}(se.skew,ve.skew,Ie,Fe),function(Ue,We,Xe,tt){if(Ue[0]!==We[0]||Ue[1]!==We[1]){var lt=Xe.push(il(Xe)+"scale(",null,",",null,")");tt.push({i:lt-4,x:is(Ue[0],We[0])},{i:lt-2,x:is(Ue[1],We[1])})}else We[0]===1&&We[1]===1||Xe.push(il(Xe)+"scale("+We+")")}(se.scale,ve.scale,Ie,Fe),se=ve=null,function(Ue){for(var We,Xe=-1,tt=Fe.length;++Xe0?Ie=on:(se.c=null,se.t=NaN,se=null,tt.end({type:"end",alpha:Ie=0})):on>0&&(tt.start({type:"start",alpha:Ie=on}),se=Kt(Xe.tick)),Xe):Ie},Xe.start=function(){var on,Fn,Hn,ir=ln.length,ar=an.length,Mr=lt[0],Er=lt[1];for(on=0;on=0;)Ie.push(Ue[Fe])}function ms(se,ve){for(var Ie=[se],Fe=[];(se=Ie.pop())!=null;)if(Fe.push(se),(We=se.children)&&(Ue=We.length))for(var Ue,We,Xe=-1;++Xe=0;)Xe.push(zt=mt[lt]),zt.parent=We,zt.depth=We.depth+1;Ie&&(We.value=0),We.children=mt}else Ie&&(We.value=+Ie.call(Fe,We,We.depth)||0),delete We.children;return ms(Ue,function(Ut){var Ht,en;se&&(Ht=Ut.children)&&Ht.sort(se),Ie&&(en=Ut.parent)&&(en.value+=Ut.value)}),tt}return Fe.sort=function(Ue){return arguments.length?(se=Ue,Fe):se},Fe.children=function(Ue){return arguments.length?(ve=Ue,Fe):ve},Fe.value=function(Ue){return arguments.length?(Ie=Ue,Fe):Ie},Fe.revalue=function(Ue){return Ie&&(Ru(Ue,function(We){We.children&&(We.value=0)}),ms(Ue,function(We){var Xe;We.children||(We.value=+Ie.call(Fe,We,We.depth)||0),(Xe=We.parent)&&(Xe.value+=We.value)})),Ue},Fe},i.layout.partition=function(){var se=i.layout.hierarchy(),ve=[1,1];function Ie(We,Xe,tt,lt){var mt=We.children;if(We.x=Xe,We.y=We.depth*lt,We.dx=tt,We.dy=lt,mt&&(zt=mt.length)){var zt,Ut,Ht,en=-1;for(tt=We.value?tt/We.value:0;++entt&&(tt=Fe),Xe.push(Fe)}for(Ie=0;IeUe&&(Fe=Ie,Ue=ve);return Fe}function El(se){return se.reduce(Hc,0)}function Hc(se,ve){return se+ve[1]}function xc(se,ve){return Ph(se,Math.ceil(Math.log(ve.length)/Math.LN2+1))}function Ph(se,ve){for(var Ie=-1,Fe=+se[0],Ue=(se[1]-Fe)/ve,We=[];++Ie<=ve;)We[Ie]=Ue*Ie+Fe;return We}function _c(se){return[i.min(se),i.max(se)]}function Du(se,ve){return se.value-ve.value}function ru(se,ve){var Ie=se._pack_next;se._pack_next=ve,ve._pack_prev=se,ve._pack_next=Ie,Ie._pack_prev=ve}function iu(se,ve){se._pack_next=ve,ve._pack_prev=se}function Ki(se,ve){var Ie=ve.x-se.x,Fe=ve.y-se.y,Ue=se.r+ve.r;return .999*Ue*Ue>Ie*Ie+Fe*Fe}function Ll(se){if((ve=se.children)&&(lt=ve.length)){var ve,Ie,Fe,Ue,We,Xe,tt,lt,mt=1/0,zt=-1/0,Ut=1/0,Ht=-1/0;if(ve.forEach(Il),(Ie=ve[0]).x=-Ie.r,Ie.y=0,_n(Ie),lt>1&&((Fe=ve[1]).x=Fe.r,Fe.y=0,_n(Fe),lt>2))for(Bi(Ie,Fe,Ue=ve[2]),_n(Ue),ru(Ie,Ue),Ie._pack_prev=Ue,ru(Ue,Fe),Fe=Ie._pack_next,We=3;We0)for(Xe=-1;++Xe=Ut[0]&<<=Ut[1]&&((tt=mt[i.bisect(Ht,lt,1,vn)-1]).y+=tn,tt.push(We[Xe]));return mt}return Ue.value=function(We){return arguments.length?(ve=We,Ue):ve},Ue.range=function(We){return arguments.length?(Ie=qn(We),Ue):Ie},Ue.bins=function(We){return arguments.length?(Fe=typeof We=="number"?function(Xe){return Ph(Xe,We)}:qn(We),Ue):Fe},Ue.frequency=function(We){return arguments.length?(se=!!We,Ue):se},Ue},i.layout.pack=function(){var se,ve=i.layout.hierarchy().sort(Du),Ie=0,Fe=[1,1];function Ue(We,Xe){var tt=ve.call(this,We,Xe),lt=tt[0],mt=Fe[0],zt=Fe[1],Ut=se==null?Math.sqrt:typeof se=="function"?se:function(){return se};if(lt.x=lt.y=0,ms(lt,function(en){en.r=+Ut(en.value)}),ms(lt,Ll),Ie){var Ht=Ie*(se?1:Math.max(2*lt.r/mt,2*lt.r/zt))/2;ms(lt,function(en){en.r+=Ht}),ms(lt,Ll),ms(lt,function(en){en.r-=Ht})}return Oi(lt,mt/2,zt/2,se?1:1/Math.max(2*lt.r/mt,2*lt.r/zt)),tt}return Ue.size=function(We){return arguments.length?(Fe=We,Ue):Fe},Ue.radius=function(We){return arguments.length?(se=We==null||typeof We=="function"?We:+We,Ue):se},Ue.padding=function(We){return arguments.length?(Ie=+We,Ue):Ie},eu(Ue,ve)},i.layout.tree=function(){var se=i.layout.hierarchy().sort(null).value(null),ve=ol,Ie=[1,1],Fe=null;function Ue(lt,mt){var zt=se.call(this,lt,mt),Ut=zt[0],Ht=function(_n){for(var on,Fn={A:null,children:[_n]},Hn=[Fn];(on=Hn.pop())!=null;)for(var ir,ar=on.children,Mr=0,Er=ar.length;Mrvn.x&&(vn=_n),_n.depth>tn.depth&&(tn=_n)});var ln=ve(en,vn)/2-en.x,an=Ie[0]/(vn.x+ve(vn,en)/2+ln),Cn=Ie[1]/(tn.depth||1);Ru(Ut,function(_n){_n.x=(_n.x+ln)*an,_n.y=_n.depth*Cn})}return zt}function We(lt){var mt=lt.children,zt=lt.parent.children,Ut=lt.i?zt[lt.i-1]:null;if(mt.length){(function(en){for(var vn,tn=0,ln=0,an=en.children,Cn=an.length;--Cn>=0;)(vn=an[Cn]).z+=tn,vn.m+=tn,tn+=vn.s+(ln+=vn.c)})(lt);var Ht=(mt[0].z+mt[mt.length-1].z)/2;Ut?(lt.z=Ut.z+ve(lt._,Ut._),lt.m=lt.z-Ht):lt.z=Ht}else Ut&&(lt.z=Ut.z+ve(lt._,Ut._));lt.parent.A=function(en,vn,tn){if(vn){for(var ln,an=en,Cn=en,_n=vn,on=an.parent.children[0],Fn=an.m,Hn=Cn.m,ir=_n.m,ar=on.m;_n=Gc(_n),an=Us(an),_n&&an;)on=Us(on),(Cn=Gc(Cn)).a=en,(ln=_n.z+ir-an.z-Fn+ve(_n._,an._))>0&&(Oh(au(_n,en,tn),en,ln),Fn+=ln,Hn+=ln),ir+=_n.m,Fn+=an.m,ar+=on.m,Hn+=Cn.m;_n&&!Gc(Cn)&&(Cn.t=_n,Cn.m+=ir-Hn),an&&!Us(on)&&(on.t=an,on.m+=Fn-ar,tn=en)}return tn}(lt,Ut,lt.parent.A||zt[0])}function Xe(lt){lt._.x=lt.z+lt.parent.m,lt.m+=lt.parent.m}function tt(lt){lt.x*=Ie[0],lt.y=lt.depth*Ie[1]}return Ue.separation=function(lt){return arguments.length?(ve=lt,Ue):ve},Ue.size=function(lt){return arguments.length?(Fe=(Ie=lt)==null?tt:null,Ue):Fe?null:Ie},Ue.nodeSize=function(lt){return arguments.length?(Fe=(Ie=lt)==null?null:tt,Ue):Fe?Ie:null},eu(Ue,se)},i.layout.cluster=function(){var se=i.layout.hierarchy().sort(null).value(null),ve=ol,Ie=[1,1],Fe=!1;function Ue(We,Xe){var tt,lt=se.call(this,We,Xe),mt=lt[0],zt=0;ms(mt,function(tn){var ln=tn.children;ln&&ln.length?(tn.x=function(an){return an.reduce(function(Cn,_n){return Cn+_n.x},0)/an.length}(ln),tn.y=function(an){return 1+i.max(an,function(Cn){return Cn.y})}(ln)):(tn.x=tt?zt+=ve(tn,tt):0,tn.y=0,tt=tn)});var Ut=Dh(mt),Ht=ou(mt),en=Ut.x-ve(Ut,Ht)/2,vn=Ht.x+ve(Ht,Ut)/2;return ms(mt,Fe?function(tn){tn.x=(tn.x-mt.x)*Ie[0],tn.y=(mt.y-tn.y)*Ie[1]}:function(tn){tn.x=(tn.x-en)/(vn-en)*Ie[0],tn.y=(1-(mt.y?tn.y/mt.y:1))*Ie[1]}),lt}return Ue.separation=function(We){return arguments.length?(ve=We,Ue):ve},Ue.size=function(We){return arguments.length?(Fe=(Ie=We)==null,Ue):Fe?null:Ie},Ue.nodeSize=function(We){return arguments.length?(Fe=(Ie=We)!=null,Ue):Fe?Ie:null},eu(Ue,se)},i.layout.treemap=function(){var se,ve=i.layout.hierarchy(),Ie=Math.round,Fe=[1,1],Ue=null,We=sl,Xe=!1,tt="squarify",lt=.5*(1+Math.sqrt(5));function mt(tn,ln){for(var an,Cn,_n=-1,on=tn.length;++_n0;)Fn.push(an=Hn[_n-1]),Fn.area+=an.area,tt!=="squarify"||(Cn=Ht(Fn,ar))<=ir?(Hn.pop(),ir=Cn):(Fn.area-=Fn.pop().area,en(Fn,ar,on,!1),ar=Math.min(on.dx,on.dy),Fn.length=Fn.area=0,ir=1/0);Fn.length&&(en(Fn,ar,on,!0),Fn.length=Fn.area=0),ln.forEach(zt)}}function Ut(tn){var ln=tn.children;if(ln&&ln.length){var an,Cn=We(tn),_n=ln.slice(),on=[];for(mt(_n,Cn.dx*Cn.dy/tn.value),on.area=0;an=_n.pop();)on.push(an),on.area+=an.area,an.z!=null&&(en(on,an.z?Cn.dx:Cn.dy,Cn,!_n.length),on.length=on.area=0);ln.forEach(Ut)}}function Ht(tn,ln){for(var an,Cn=tn.area,_n=0,on=1/0,Fn=-1,Hn=tn.length;++Fn_n&&(_n=an));return ln*=ln,(Cn*=Cn)?Math.max(ln*_n*lt/Cn,Cn/(ln*on*lt)):1/0}function en(tn,ln,an,Cn){var _n,on=-1,Fn=tn.length,Hn=an.x,ir=an.y,ar=ln?Ie(tn.area/ln):0;if(ln==an.dx){for((Cn||ar>an.dy)&&(ar=an.dy);++onan.dx)&&(ar=an.dx);++on1);return se+ve*Fe*Math.sqrt(-2*Math.log(We)/We)}},logNormal:function(){var se=i.random.normal.apply(i,arguments);return function(){return Math.exp(se())}},bates:function(se){var ve=i.random.irwinHall(se);return function(){return ve()/se}},irwinHall:function(se){return function(){for(var ve=0,Ie=0;Ie2?co:lu,mt=Fe?Jl:Lh;return Ue=lt(se,ve,mt,Ie),We=lt(ve,se,mt,Yo),tt}function tt(lt){return Ue(lt)}return tt.invert=function(lt){return We(lt)},tt.domain=function(lt){return arguments.length?(se=lt.map(Number),Xe()):se},tt.range=function(lt){return arguments.length?(ve=lt,Xe()):ve},tt.rangeRound=function(lt){return tt.range(lt).interpolate(xf)},tt.clamp=function(lt){return arguments.length?(Fe=lt,Xe()):Fe},tt.interpolate=function(lt){return arguments.length?(Ie=lt,Xe()):Ie},tt.ticks=function(lt){return $o(se,lt)},tt.tickFormat=function(lt,mt){return d3_scale_linearTickFormat(se,lt,mt)},tt.nice=function(lt){return vs(se,lt),Xe()},tt.copy=function(){return zo(se,ve,Ie,Fe)},Xe()}function Rl(se,ve){return i.rebind(se,ve,"range","rangeRound","interpolate","clamp")}function vs(se,ve){return Ha(se,mo($a(se,ve)[2])),Ha(se,mo($a(se,ve)[2])),se}function $a(se,ve){ve==null&&(ve=10);var Ie=da(se),Fe=Ie[1]-Ie[0],Ue=Math.pow(10,Math.floor(Math.log(Fe/ve)/Math.LN10)),We=ve/Fe*Ue;return We<=.15?Ue*=10:We<=.35?Ue*=5:We<=.75&&(Ue*=2),Ie[0]=Math.ceil(Ie[0]/Ue)*Ue,Ie[1]=Math.floor(Ie[1]/Ue)*Ue+.5*Ue,Ie[2]=Ue,Ie}function $o(se,ve){return i.range.apply(i,$a(se,ve))}function qc(se,ve,Ie,Fe){function Ue(tt){return(Ie?Math.log(tt<0?0:tt):-Math.log(tt>0?0:-tt))/Math.log(ve)}function We(tt){return Ie?Math.pow(ve,tt):-Math.pow(ve,-tt)}function Xe(tt){return se(Ue(tt))}return Xe.invert=function(tt){return We(se.invert(tt))},Xe.domain=function(tt){return arguments.length?(Ie=tt[0]>=0,se.domain((Fe=tt.map(Number)).map(Ue)),Xe):Fe},Xe.base=function(tt){return arguments.length?(ve=+tt,se.domain(Fe.map(Ue)),Xe):ve},Xe.nice=function(){var tt=Ha(Fe.map(Ue),Ie?Math:Wc);return se.domain(tt),Fe=tt.map(We),Xe},Xe.ticks=function(){var tt=da(Fe),lt=[],mt=tt[0],zt=tt[1],Ut=Math.floor(Ue(mt)),Ht=Math.ceil(Ue(zt)),en=ve%1?2:ve;if(isFinite(Ht-Ut)){if(Ie){for(;Ut0;vn--)lt.push(We(Ut)*vn);for(Ut=0;lt[Ut]zt;Ht--);lt=lt.slice(Ut,Ht)}return lt},Xe.copy=function(){return qc(se.copy(),ve,Ie,Fe)},Rl(Xe,se)}i.scale.linear=function(){return zo([0,1],[0,1],Yo,!1)},i.scale.log=function(){return qc(i.scale.linear().domain([0,1]),10,!0,[1,10])};var Wc={floor:function(se){return-Math.ceil(-se)},ceil:function(se){return-Math.floor(-se)}};function Lo(se,ve,Ie){var Fe=Dr(ve),Ue=Dr(1/ve);function We(Xe){return se(Fe(Xe))}return We.invert=function(Xe){return Ue(se.invert(Xe))},We.domain=function(Xe){return arguments.length?(se.domain((Ie=Xe.map(Number)).map(Fe)),We):Ie},We.ticks=function(Xe){return $o(Ie,Xe)},We.tickFormat=function(Xe,tt){return d3_scale_linearTickFormat(Ie,Xe,tt)},We.nice=function(Xe){return We.domain(vs(Ie,Xe))},We.exponent=function(Xe){return arguments.length?(Fe=Dr(ve=Xe),Ue=Dr(1/ve),se.domain(Ie.map(Fe)),We):ve},We.copy=function(){return Lo(se.copy(),ve,Ie)},Rl(We,se)}function Dr(se){return function(ve){return ve<0?-Math.pow(-ve,se):Math.pow(ve,se)}}function uu(se,ve){var Ie,Fe,Ue;function We(tt){return Fe[((Ie.get(tt)||(ve.t==="range"?Ie.set(tt,se.push(tt)):NaN))-1)%Fe.length]}function Xe(tt,lt){return i.range(se.length).map(function(mt){return tt+lt*mt})}return We.domain=function(tt){if(!arguments.length)return se;se=[],Ie=new L;for(var lt,mt=-1,zt=tt.length;++mt0?Ie[We-1]:se[0],WeHt?0:1;if(zt=qt)return lt(zt,vn)+(mt?lt(mt,1-vn):"")+"Z";var tn,ln,an,Cn,_n,on,Fn,Hn,ir,ar,Mr,Er,xr=0,kr=0,jr=[];if((Cn=(+Xe.apply(this,arguments)||0)/2)&&(an=Fe===wc?Math.sqrt(mt*mt+zt*zt):+Fe.apply(this,arguments),vn||(kr*=-1),zt&&(kr=qe(an/zt*Math.sin(Cn))),mt&&(xr=qe(an/mt*Math.sin(Cn)))),zt){_n=zt*Math.cos(Ut+kr),on=zt*Math.sin(Ut+kr),Fn=zt*Math.cos(Ht-kr),Hn=zt*Math.sin(Ht-kr);var fi=Math.abs(Ht-Ut-2*kr)<=Ot?0:1;if(kr&&Ls(_n,on,Fn,Hn)===vn^fi){var di=(Ut+Ht)/2;_n=zt*Math.cos(di),on=zt*Math.sin(di),Fn=Hn=null}}else _n=on=0;if(mt){ir=mt*Math.cos(Ht-xr),ar=mt*Math.sin(Ht-xr),Mr=mt*Math.cos(Ut+xr),Er=mt*Math.sin(Ut+xr);var wr=Math.abs(Ut-Ht+2*xr)<=Ot?0:1;if(xr&&Ls(ir,ar,Mr,Er)===1-vn^wr){var Ur=(Ut+Ht)/2;ir=mt*Math.cos(Ur),ar=mt*Math.sin(Ur),Mr=Er=null}}else ir=ar=0;if(en>Ft&&(tn=Math.min(Math.abs(zt-mt)/2,+Ie.apply(this,arguments)))>.001){ln=mt0?0:1}function bs(se,ve,Ie,Fe,Ue){var We=se[0]-ve[0],Xe=se[1]-ve[1],tt=(Ue?Fe:-Fe)/Math.sqrt(We*We+Xe*Xe),lt=tt*Xe,mt=-tt*We,zt=se[0]+lt,Ut=se[1]+mt,Ht=ve[0]+lt,en=ve[1]+mt,vn=(zt+Ht)/2,tn=(Ut+en)/2,ln=Ht-zt,an=en-Ut,Cn=ln*ln+an*an,_n=Ie-Fe,on=zt*en-Ht*Ut,Fn=(an<0?-1:1)*Math.sqrt(Math.max(0,_n*_n*Cn-on*on)),Hn=(on*an-ln*Fn)/Cn,ir=(-on*ln-an*Fn)/Cn,ar=(on*an+ln*Fn)/Cn,Mr=(-on*ln+an*Fn)/Cn,Er=Hn-vn,xr=ir-tn,kr=ar-vn,jr=Mr-tn;return Er*Er+xr*xr>kr*kr+jr*jr&&(Hn=ar,ir=Mr),[[Hn-lt,ir-mt],[Hn*Ie/_n,ir*Ie/_n]]}function hu(){return!0}function yo(se){var ve=Un,Ie=Kn,Fe=hu,Ue=Yi,We=Ue.key,Xe=.7;function tt(lt){var mt,zt=[],Ut=[],Ht=-1,en=lt.length,vn=qn(ve),tn=qn(Ie);function ln(){zt.push("M",Ue(se(Ut),Xe))}for(;++Ht1&&Ue.push("H",Fe[0]),Ue.join("")},"step-before":os,"step-after":_s,basis:Wi,"basis-open":function(se){if(se.length<4)return Yi(se);for(var ve,Ie=[],Fe=-1,Ue=se.length,We=[0],Xe=[0];++Fe<3;)ve=se[Fe],We.push(ve[0]),Xe.push(ve[1]);for(Ie.push(no(qs,We)+","+no(qs,Xe)),--Fe;++Fe9&&(We=3*Ie/Math.sqrt(We),tt[lt]=We*Fe,tt[lt+1]=We*Ue);for(lt=-1;++lt<=mt;)We=(ve[Math.min(mt,lt+1)][0]-ve[Math.max(0,lt-1)][0])/(6*(1+tt[lt]*tt[lt])),Xe.push([We||0,tt[lt]*We||0]);return Xe}(se))}});function Yi(se){return se.length>1?se.join("L"):se+"Z"}function Tc(se){return se.join("L")+"Z"}function os(se){for(var ve=0,Ie=se.length,Fe=se[0],Ue=[Fe[0],",",Fe[1]];++ve1){tt=ve[1],We=se[lt],lt++,Fe+="C"+(Ue[0]+Xe[0])+","+(Ue[1]+Xe[1])+","+(We[0]-tt[0])+","+(We[1]-tt[1])+","+We[0]+","+We[1];for(var mt=2;mtOt)+",1 "+zt}function lt(mt,zt,Ut,Ht){return"Q 0,0 "+Ht}return We.radius=function(mt){return arguments.length?(Ie=qn(mt),We):Ie},We.source=function(mt){return arguments.length?(se=qn(mt),We):se},We.target=function(mt){return arguments.length?(ve=qn(mt),We):ve},We.startAngle=function(mt){return arguments.length?(Fe=qn(mt),We):Fe},We.endAngle=function(mt){return arguments.length?(Ue=qn(mt),We):Ue},We},i.svg.diagonal=function(){var se=Hr,ve=ni,Ie=cl;function Fe(Ue,We){var Xe=se.call(this,Ue,We),tt=ve.call(this,Ue,We),lt=(Xe.y+tt.y)/2,mt=[Xe,{x:Xe.x,y:lt},{x:tt.x,y:lt},tt];return"M"+(mt=mt.map(Ie))[0]+"C"+mt[1]+" "+mt[2]+" "+mt[3]}return Fe.source=function(Ue){return arguments.length?(se=qn(Ue),Fe):se},Fe.target=function(Ue){return arguments.length?(ve=qn(Ue),Fe):ve},Fe.projection=function(Ue){return arguments.length?(Ie=Ue,Fe):Ie},Fe},i.svg.diagonal.radial=function(){var se=i.svg.diagonal(),ve=cl,Ie=se.projection;return se.projection=function(Fe){return arguments.length?Ie(Rs(ve=Fe)):ve},se},i.svg.symbol=function(){var se=Zc,ve=xo;function Ie(Fe,Ue){return(ju.get(se.call(this,Fe,Ue))||Vo)(ve.call(this,Fe,Ue))}return Ie.type=function(Fe){return arguments.length?(se=qn(Fe),Ie):se},Ie.size=function(Fe){return arguments.length?(ve=qn(Fe),Ie):ve},Ie};var ju=i.map({circle:Vo,cross:function(se){var ve=Math.sqrt(se/5)/2;return"M"+-3*ve+","+-ve+"H"+-ve+"V"+-3*ve+"H"+ve+"V"+-ve+"H"+3*ve+"V"+ve+"H"+ve+"V"+3*ve+"H"+-ve+"V"+ve+"H"+-3*ve+"Z"},diamond:function(se){var ve=Math.sqrt(se/(2*Ji)),Ie=ve*Ji;return"M0,"+-ve+"L"+Ie+",0 0,"+ve+" "+-Ie+",0Z"},square:function(se){var ve=Math.sqrt(se)/2;return"M"+-ve+","+-ve+"L"+ve+","+-ve+" "+ve+","+ve+" "+-ve+","+ve+"Z"},"triangle-down":function(se){var ve=Math.sqrt(se/hl),Ie=ve*hl/2;return"M0,"+Ie+"L"+ve+","+-Ie+" "+-ve+","+-Ie+"Z"},"triangle-up":function(se){var ve=Math.sqrt(se/hl),Ie=ve*hl/2;return"M0,"+-Ie+"L"+ve+","+Ie+" "+-ve+","+Ie+"Z"}});i.svg.symbolTypes=ju.keys();var hl=Math.sqrt(3),Ji=Math.tan(30*Ke);ce.transition=function(se){for(var ve,Ie,Fe=rt||++St,Ue=ee(se),We=[],Xe=ct||{time:Date.now(),ease:tl,delay:0,duration:250},tt=-1,lt=this.length;++tt0;)mt[--an].call(se,ln);if(tn>=1)return Ut.event&&Ut.event.end.call(se,se.__data__,ve),--zt.count?delete zt[Fe]:delete se[Ie],1}Ut||(We=Ue.time,Xe=Kt(function(vn){var tn=Ut.delay;if(Xe.t=tn+We,tn<=vn)return Ht(vn-tn);Xe.c=Ht},0,We),Ut=zt[Fe]={tween:new L,time:We,timer:Xe,delay:Ue.delay,duration:Ue.duration,ease:Ue.ease,index:ve},Ue=null,++zt.count)}vt.call=ce.call,vt.empty=ce.empty,vt.node=ce.node,vt.size=ce.size,i.transition=function(se,ve){return se&&se.transition?rt?se.transition(ve):se:i.selection().transition(se)},i.transition.prototype=vt,vt.select=function(se){var ve,Ie,Fe,Ue=this.id,We=this.namespace,Xe=[];se=ye(se);for(var tt=-1,lt=this.length;++ttrect,.s>rect").attr("width",We[1]-We[0])}function en(tn){tn.select(".extent").attr("y",Xe[0]),tn.selectAll(".extent,.e>rect,.w>rect").attr("height",Xe[1]-Xe[0])}function vn(){var tn,ln,an=this,Cn=i.select(i.event.target),_n=Ie.of(an,arguments),on=i.select(an),Fn=Cn.datum(),Hn=!/^(n|s)$/.test(Fn)&&Fe,ir=!/^(e|w)$/.test(Fn)&&Ue,ar=Cn.classed("extent"),Mr=bt(an),Er=i.mouse(an),xr=i.select(a(an)).on("keydown.brush",fi).on("keyup.brush",di);if(i.event.changedTouches?xr.on("touchmove.brush",wr).on("touchend.brush",oi):xr.on("mousemove.brush",wr).on("mouseup.brush",oi),on.interrupt().selectAll("*").interrupt(),ar)Er[0]=We[0]-Er[0],Er[1]=Xe[0]-Er[1];else if(Fn){var kr=+/w$/.test(Fn),jr=+/^n/.test(Fn);ln=[We[1-kr]-Er[0],Xe[1-jr]-Er[1]],Er[0]=We[kr],Er[1]=Xe[jr]}else i.event.altKey&&(tn=Er.slice());function fi(){i.event.keyCode==32&&(ar||(tn=null,Er[0]-=We[1],Er[1]-=Xe[1],ar=2),ne())}function di(){i.event.keyCode==32&&ar==2&&(Er[0]+=We[1],Er[1]+=Xe[1],ar=0,ne())}function wr(){var ai=i.mouse(an),Ii=!1;ln&&(ai[0]+=ln[0],ai[1]+=ln[1]),ar||(i.event.altKey?(tn||(tn=[(We[0]+We[1])/2,(Xe[0]+Xe[1])/2]),Er[0]=We[+(ai[0]>>1;h.dtype||(h.dtype="array"),typeof h.dtype=="string"?y=new(u(h.dtype))(_):h.dtype&&(y=h.dtype,Array.isArray(y)&&(y.length=_));for(var k=0;k<_;++k)y[k]=k;var E=[],x=[],A=[],L=[];(function W(j,$,U,G,q,H){if(!G.length)return null;var ne=E[q]||(E[q]=[]),te=A[q]||(A[q]=[]),Z=x[q]||(x[q]=[]),X=ne.length;if(++q>m||H>1073741824){for(var Q=0;Qpe+Pe||ie>xe+Pe||oe=ce||Me===Se)){var Ce=E[_e];Se===void 0&&(Se=Ce.length);for(var ae=Me;ae=ne&&be<=Z&&ke>=te&&ke<=X&&ye.push(fe)}var Le=x[_e],Be=Le[4*Me+0],ze=Le[4*Me+1],je=Le[4*Me+2],ge=Le[4*Me+3],we=me(Le,Me+1),Ee=.5*Pe,Ve=_e+1;de(pe,xe,Ee,Ve,Be,ze||je||ge||we),de(pe,xe+Ee,Ee,Ve,ze,je||ge||we),de(pe+Ee,xe,Ee,Ve,je,ge||we),de(pe+Ee,xe+Ee,Ee,Ve,ge,we)}}function me(pe,xe){for(var Pe=null,_e=0;Pe===null;)if(Pe=pe[4*xe+_e],++_e>pe.length)return null;return Pe}return de(0,0,1,0,0,1),ye},y;function B(W,j,$,U,G){for(var q=[],H=0;H0){l+=Math.abs(M(f[0]));for(var a=1;a2){for(c=0;c=0))throw new Error("precision must be a positive number");var m=Math.pow(10,h||0);return Math.round(c*m)/m},p.radiansToLength=a,p.lengthToRadians=u,p.lengthToDegrees=function(c,h){return o(u(c,h))},p.bearingToAzimuth=function(c){var h=c%360;return h<0&&(h+=360),h},p.radiansToDegrees=o,p.degreesToRadians=function(c){return c%360*Math.PI/180},p.convertLength=function(c,h,m){if(h===void 0&&(h="kilometers"),m===void 0&&(m="kilometers"),!(c>=0))throw new Error("length must be a positive number");return a(u(c,h),m)},p.convertArea=function(c,h,m){if(h===void 0&&(h="meters"),m===void 0&&(m="kilometers"),!(c>=0))throw new Error("area must be a positive number");var w=p.areaFactors[h];if(!w)throw new Error("invalid original units");var y=p.areaFactors[m];if(!y)throw new Error("invalid final units");return c/w*y},p.isNumber=s,p.isObject=function(c){return!!c&&c.constructor===Object},p.validateBBox=function(c){if(!c)throw new Error("bbox is required");if(!Array.isArray(c))throw new Error("bbox must be an Array");if(c.length!==4&&c.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");c.forEach(function(h){if(!s(h))throw new Error("bbox must only contain numbers")})},p.validateId=function(c){if(!c)throw new Error("id is required");if(["string","number"].indexOf(typeof c)===-1)throw new Error("id must be a number or a string")}},60302:function(T,p,t){Object.defineProperty(p,"__esModule",{value:!0});var d=t(23132);function g(u,o,s){if(u!==null)for(var c,h,m,w,y,S,_,k,E=0,x=0,A=u.type,L=A==="FeatureCollection",b=A==="Feature",R=L?u.features.length:1,I=0;IS||L>_||b>k)return y=E,S=c,_=L,k=b,void(m=0);var R=d.lineString([y,E],s.properties);if(o(R,c,h,b,m)===!1)return!1;m++,y=E})!==!1&&void 0}}})}function a(u,o){if(!u)throw new Error("geojson is required");f(u,function(s,c,h){if(s.geometry!==null){var m=s.geometry.type,w=s.geometry.coordinates;switch(m){case"LineString":if(o(s,c,h,0,0)===!1)return!1;break;case"Polygon":for(var y=0;yv[0]&&(M[0]=v[0]),M[1]>v[1]&&(M[1]=v[1]),M[2]=0))throw new Error("precision must be a positive number");var m=Math.pow(10,h||0);return Math.round(c*m)/m},p.radiansToLength=a,p.lengthToRadians=u,p.lengthToDegrees=function(c,h){return o(u(c,h))},p.bearingToAzimuth=function(c){var h=c%360;return h<0&&(h+=360),h},p.radiansToDegrees=o,p.degreesToRadians=function(c){return c%360*Math.PI/180},p.convertLength=function(c,h,m){if(h===void 0&&(h="kilometers"),m===void 0&&(m="kilometers"),!(c>=0))throw new Error("length must be a positive number");return a(u(c,h),m)},p.convertArea=function(c,h,m){if(h===void 0&&(h="meters"),m===void 0&&(m="kilometers"),!(c>=0))throw new Error("area must be a positive number");var w=p.areaFactors[h];if(!w)throw new Error("invalid original units");var y=p.areaFactors[m];if(!y)throw new Error("invalid final units");return c/w*y},p.isNumber=s,p.isObject=function(c){return!!c&&c.constructor===Object},p.validateBBox=function(c){if(!c)throw new Error("bbox is required");if(!Array.isArray(c))throw new Error("bbox must be an Array");if(c.length!==4&&c.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");c.forEach(function(h){if(!s(h))throw new Error("bbox must only contain numbers")})},p.validateId=function(c){if(!c)throw new Error("id is required");if(["string","number"].indexOf(typeof c)===-1)throw new Error("id must be a number or a string")}},27138:function(T,p,t){Object.defineProperty(p,"__esModule",{value:!0});var d=t(94228);function g(u,o,s){if(u!==null)for(var c,h,m,w,y,S,_,k,E=0,x=0,A=u.type,L=A==="FeatureCollection",b=A==="Feature",R=L?u.features.length:1,I=0;IS||L>_||b>k)return y=E,S=c,_=L,k=b,void(m=0);var R=d.lineString([y,E],s.properties);if(o(R,c,h,b,m)===!1)return!1;m++,y=E})!==!1&&void 0}}})}function a(u,o){if(!u)throw new Error("geojson is required");f(u,function(s,c,h){if(s.geometry!==null){var m=s.geometry.type,w=s.geometry.coordinates;switch(m){case"LineString":if(o(s,c,h,0,0)===!1)return!1;break;case"Polygon":for(var y=0;y=0))throw new Error("precision must be a positive number");var m=Math.pow(10,h||0);return Math.round(c*m)/m},p.radiansToLength=a,p.lengthToRadians=u,p.lengthToDegrees=function(c,h){return o(u(c,h))},p.bearingToAzimuth=function(c){var h=c%360;return h<0&&(h+=360),h},p.radiansToDegrees=o,p.degreesToRadians=function(c){return c%360*Math.PI/180},p.convertLength=function(c,h,m){if(h===void 0&&(h="kilometers"),m===void 0&&(m="kilometers"),!(c>=0))throw new Error("length must be a positive number");return a(u(c,h),m)},p.convertArea=function(c,h,m){if(h===void 0&&(h="meters"),m===void 0&&(m="kilometers"),!(c>=0))throw new Error("area must be a positive number");var w=p.areaFactors[h];if(!w)throw new Error("invalid original units");var y=p.areaFactors[m];if(!y)throw new Error("invalid final units");return c/w*y},p.isNumber=s,p.isObject=function(c){return!!c&&c.constructor===Object},p.validateBBox=function(c){if(!c)throw new Error("bbox is required");if(!Array.isArray(c))throw new Error("bbox must be an Array");if(c.length!==4&&c.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");c.forEach(function(h){if(!s(h))throw new Error("bbox must only contain numbers")})},p.validateId=function(c){if(!c)throw new Error("id is required");if(["string","number"].indexOf(typeof c)===-1)throw new Error("id must be a number or a string")},p.radians2degrees=function(){throw new Error("method has been renamed to `radiansToDegrees`")},p.degrees2radians=function(){throw new Error("method has been renamed to `degreesToRadians`")},p.distanceToDegrees=function(){throw new Error("method has been renamed to `lengthToDegrees`")},p.distanceToRadians=function(){throw new Error("method has been renamed to `lengthToRadians`")},p.radiansToDistance=function(){throw new Error("method has been renamed to `radiansToLength`")},p.bearingToAngle=function(){throw new Error("method has been renamed to `bearingToAzimuth`")},p.convertDistance=function(){throw new Error("method has been renamed to `convertLength`")}},88553:function(T,p,t){Object.defineProperty(p,"__esModule",{value:!0});var d=t(64182);function g(u,o,s){if(u!==null)for(var c,h,m,w,y,S,_,k,E=0,x=0,A=u.type,L=A==="FeatureCollection",b=A==="Feature",R=L?u.features.length:1,I=0;IS||L>_||b>k)return y=E,S=c,_=L,k=b,void(m=0);var R=d.lineString([y,E],s.properties);if(o(R,c,h,b,m)===!1)return!1;m++,y=E})!==!1&&void 0}}})}function a(u,o){if(!u)throw new Error("geojson is required");f(u,function(s,c,h){if(s.geometry!==null){var m=s.geometry.type,w=s.geometry.coordinates;switch(m){case"LineString":if(o(s,c,h,0,0)===!1)return!1;break;case"Polygon":for(var y=0;yi&&(i=p[v]),p[v]1?G-1:0),H=1;H1?G-1:0),H=1;H1?G-1:0),H=1;H1?G-1:0),H=1;H>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js -`);ne.shift();for(var te=q.stack.split(` -`),Z=0;Z"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function a(L,b,R){return a=l()?Reflect.construct:function(I,O,z){var F=[null];F.push.apply(F,O);var B=new(Function.bind.apply(I,F));return z&&u(B,z.prototype),B},a.apply(null,arguments)}function u(L,b){return u=Object.setPrototypeOf||function(R,I){return R.__proto__=I,R},u(L,b)}function o(L){return o=Object.setPrototypeOf?Object.getPrototypeOf:function(b){return b.__proto__||Object.getPrototypeOf(b)},o(L)}function s(L){return s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(b){return typeof b}:function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},s(L)}var h=t(43827).inspect,c=t(79616).codes.ERR_INVALID_ARG_TYPE;function m(L,b,R){return(R===void 0||R>L.length)&&(R=L.length),L.substring(R-b.length,R)===b}var w="",y="",C="",_="",k={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function E(L){var b=Object.keys(L),R=Object.create(Object.getPrototypeOf(L));return b.forEach(function(I){R[I]=L[I]}),Object.defineProperty(R,"message",{value:L.message}),R}function x(L){return h(L,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}var A=function(L){function b(O){var z;if(function(te,Z){if(!(te instanceof Z))throw new TypeError("Cannot call a class as a function")}(this,b),s(O)!=="object"||O===null)throw new c("options","Object",O);var F=O.message,B=O.operator,N=O.stackStartFn,W=O.actual,j=O.expected,$=Error.stackTraceLimit;if(Error.stackTraceLimit=0,F!=null)z=M(this,o(b).call(this,String(F)));else if(d.stderr&&d.stderr.isTTY&&(d.stderr&&d.stderr.getColorDepth&&d.stderr.getColorDepth()!==1?(w="\x1B[34m",y="\x1B[32m",_="\x1B[39m",C="\x1B[31m"):(w="",y="",_="",C="")),s(W)==="object"&&W!==null&&s(j)==="object"&&j!==null&&"stack"in W&&W instanceof Error&&"stack"in j&&j instanceof Error&&(W=E(W),j=E(j)),B==="deepStrictEqual"||B==="strictEqual")z=M(this,o(b).call(this,function(te,Z,X){var Q="",re="",ie=0,oe="",ue=!1,ce=x(te),ye=ce.split(` -======== -`))}throw q}},E.strict=y(j,E,{equal:E.strictEqual,deepEqual:E.deepStrictEqual,notEqual:E.notStrictEqual,notDeepEqual:E.notDeepStrictEqual}),E.strict.strict=E.strict},73894:function(T,p,t){var d=t(90386);function g(L,b,R){return b in L?Object.defineProperty(L,b,{value:R,enumerable:!0,configurable:!0,writable:!0}):L[b]=R,L}function i(L,b){for(var R=0;R"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function a(L,b,R){return a=l()?Reflect.construct:function(I,O,z){var F=[null];F.push.apply(F,O);var B=new(Function.bind.apply(I,F));return z&&u(B,z.prototype),B},a.apply(null,arguments)}function u(L,b){return u=Object.setPrototypeOf||function(R,I){return R.__proto__=I,R},u(L,b)}function o(L){return o=Object.setPrototypeOf?Object.getPrototypeOf:function(b){return b.__proto__||Object.getPrototypeOf(b)},o(L)}function s(L){return s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(b){return typeof b}:function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},s(L)}var c=t(43827).inspect,h=t(79616).codes.ERR_INVALID_ARG_TYPE;function m(L,b,R){return(R===void 0||R>L.length)&&(R=L.length),L.substring(R-b.length,R)===b}var w="",y="",S="",_="",k={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function E(L){var b=Object.keys(L),R=Object.create(Object.getPrototypeOf(L));return b.forEach(function(I){R[I]=L[I]}),Object.defineProperty(R,"message",{value:L.message}),R}function x(L){return c(L,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}var A=function(L){function b(O){var z;if(function(te,Z){if(!(te instanceof Z))throw new TypeError("Cannot call a class as a function")}(this,b),s(O)!=="object"||O===null)throw new h("options","Object",O);var F=O.message,B=O.operator,N=O.stackStartFn,W=O.actual,j=O.expected,$=Error.stackTraceLimit;if(Error.stackTraceLimit=0,F!=null)z=M(this,o(b).call(this,String(F)));else if(d.stderr&&d.stderr.isTTY&&(d.stderr&&d.stderr.getColorDepth&&d.stderr.getColorDepth()!==1?(w="\x1B[34m",y="\x1B[32m",_="\x1B[39m",S="\x1B[31m"):(w="",y="",_="",S="")),s(W)==="object"&&W!==null&&s(j)==="object"&&j!==null&&"stack"in W&&W instanceof Error&&"stack"in j&&j instanceof Error&&(W=E(W),j=E(j)),B==="deepStrictEqual"||B==="strictEqual")z=M(this,o(b).call(this,function(te,Z,X){var Q="",re="",ie=0,oe="",ue=!1,ce=x(te),ye=ce.split(` ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js -`),de=x(Z).split(` -`),me=0,pe="";if(X==="strictEqual"&&s(te)==="object"&&s(Z)==="object"&&te!==null&&Z!==null&&(X="strictEqualObject"),ye.length===1&&de.length===1&&ye[0]!==de[0]){var xe=ye[0].length+de[0].length;if(xe<=10){if(!(s(te)==="object"&&te!==null||s(Z)==="object"&&Z!==null||te===0&&Z===0))return"".concat(k[X],` - -`)+"".concat(ye[0]," !== ").concat(de[0],` -`)}else if(X!=="strictEqualObject"&&xe<(d.stderr&&d.stderr.isTTY?d.stderr.columns:80)){for(;ye[0][me]===de[0][me];)me++;me>2&&(pe=` - `.concat(function(ze,je){if(je=Math.floor(je),ze.length==0||je==0)return"";var ge=ze.length*je;for(je=Math.floor(Math.log(je)/Math.log(2));je;)ze+=ze,je--;return ze+ze.substring(0,ge-ze.length)}(" ",me),"^"),me=0)}}for(var Pe=ye[ye.length-1],_e=de[de.length-1];Pe===_e&&(me++<2?oe=` - `.concat(Pe).concat(oe):Q=Pe,ye.pop(),de.pop(),ye.length!==0&&de.length!==0);)Pe=ye[ye.length-1],_e=de[de.length-1];var Me=Math.max(ye.length,de.length);if(Me===0){var Se=ce.split(` -`);if(Se.length>30)for(Se[26]="".concat(w,"...").concat(_);Se.length>27;)Se.pop();return"".concat(k.notIdentical,` - -`).concat(Se.join(` -`),` -`)}me>3&&(oe=` -`.concat(w,"...").concat(_).concat(oe),ue=!0),Q!==""&&(oe=` - `.concat(Q).concat(oe),Q="");var Ce=0,ae=k[X]+` -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js -`.concat(y,"+ actual").concat(_," ").concat(C,"- expected").concat(_),fe=" ".concat(w,"...").concat(_," Lines skipped");for(me=0;me1&&me>2&&(be>4?(re+=` -`.concat(w,"...").concat(_),ue=!0):be>3&&(re+=` - `.concat(de[me-2]),Ce++),re+=` - `.concat(de[me-1]),Ce++),ie=me,Q+=` -`.concat(C,"-").concat(_," ").concat(de[me]),Ce++;else if(de.length1&&me>2&&(be>4?(re+=` -======== -`.concat(y,"+ actual").concat(_," ").concat(S,"- expected").concat(_),fe=" ".concat(w,"...").concat(_," Lines skipped");for(me=0;me1&&me>2&&(be>4?(re+=` -`.concat(w,"...").concat(_),ue=!0):be>3&&(re+=` - `.concat(de[me-2]),Ce++),re+=` - `.concat(de[me-1]),Ce++),ie=me,Q+=` -`.concat(S,"-").concat(_," ").concat(de[me]),Ce++;else if(de.length1&&me>2&&(be>4?(re+=` ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js -`.concat(w,"...").concat(_),ue=!0):be>3&&(re+=` - `.concat(ye[me-2]),Ce++),re+=` - `.concat(ye[me-1]),Ce++),ie=me,re+=` -`.concat(y,"+").concat(_," ").concat(ye[me]),Ce++;else{var ke=de[me],Le=ye[me],Be=Le!==ke&&(!m(Le,",")||Le.slice(0,-1)!==ke);Be&&m(ke,",")&&ke.slice(0,-1)===Le&&(Be=!1,Le+=","),Be?(be>1&&me>2&&(be>4?(re+=` -`.concat(w,"...").concat(_),ue=!0):be>3&&(re+=` - `.concat(ye[me-2]),Ce++),re+=` - `.concat(ye[me-1]),Ce++),ie=me,re+=` -`.concat(y,"+").concat(_," ").concat(Le),Q+=` -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js -`.concat(C,"-").concat(_," ").concat(ke),Ce+=2):(re+=Q,Q="",be!==1&&me!==0||(re+=` -======== -`.concat(S,"-").concat(_," ").concat(ke),Ce+=2):(re+=Q,Q="",be!==1&&me!==0||(re+=` ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js - `.concat(Le),Ce++))}if(Ce>20&&me30)for(G[26]="".concat(w,"...").concat(_);G.length>27;)G.pop();z=G.length===1?M(this,o(b).call(this,"".concat(U," ").concat(G[0]))):M(this,o(b).call(this,"".concat(U,` - -`).concat(G.join(` -`),` -`)))}else{var q=x(W),H="",ne=k[B];B==="notDeepEqual"||B==="notEqual"?(q="".concat(k[B],` - -`).concat(q)).length>1024&&(q="".concat(q.slice(0,1021),"...")):(H="".concat(x(j)),q.length>512&&(q="".concat(q.slice(0,509),"...")),H.length>512&&(H="".concat(H.slice(0,509),"...")),B==="deepEqual"||B==="equal"?q="".concat(ne,` - -`).concat(q,` - -should equal - -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js -`):H=" ".concat(B," ").concat(H)),z=M(this,o(b).call(this,"".concat(q).concat(H)))}return Error.stackTraceLimit=$,z.generatedMessage=!F,Object.defineProperty(v(z),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),z.code="ERR_ASSERTION",z.actual=W,z.expected=j,z.operator=B,Error.captureStackTrace&&Error.captureStackTrace(v(z),N),z.stack,z.name="AssertionError",M(z)}var R,I;return function(O,z){if(typeof z!="function"&&z!==null)throw new TypeError("Super expression must either be null or a function");O.prototype=Object.create(z&&z.prototype,{constructor:{value:O,writable:!0,configurable:!0}}),z&&u(O,z)}(b,L),R=b,I=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:h.custom,value:function(O,z){return h(this,function(F){for(var B=1;B2?"one of ".concat(o," ").concat(u.slice(0,s-1).join(", "),", or ")+u[s-1]:s===2?"one of ".concat(o," ").concat(u[0]," or ").concat(u[1]):"of ".concat(o," ").concat(u[0])}return"of ".concat(o," ").concat(String(u))}l("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),l("ERR_INVALID_ARG_TYPE",function(u,o,s){var h,c,m,w,y;if(M===void 0&&(M=t(32791)),M(typeof u=="string","'name' must be a string"),typeof o=="string"&&(c="not ",o.substr(0,c.length)===c)?(h="must not be",o=o.replace(/^not /,"")):h="must be",function(_,k,E){return(E===void 0||E>_.length)&&(E=_.length),_.substring(E-k.length,E)===k}(u," argument"))m="The ".concat(u," ").concat(h," ").concat(a(o,"type"));else{var C=(typeof y!="number"&&(y=0),y+1>(w=u).length||w.indexOf(".",y)===-1?"argument":"property");m='The "'.concat(u,'" ').concat(C," ").concat(h," ").concat(a(o,"type"))}return m+". Received type ".concat(d(s))},TypeError),l("ERR_INVALID_ARG_VALUE",function(u,o){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";v===void 0&&(v=t(43827));var h=v.inspect(o);return h.length>128&&(h="".concat(h.slice(0,128),"...")),"The argument '".concat(u,"' ").concat(s,". Received ").concat(h)},TypeError),l("ERR_INVALID_RETURN_VALUE",function(u,o,s){var h;return h=s&&s.constructor&&s.constructor.name?"instance of ".concat(s.constructor.name):"type ".concat(d(s)),"Expected ".concat(u,' to be returned from the "').concat(o,'"')+" function but got ".concat(h,".")},TypeError),l("ERR_MISSING_ARGS",function(){for(var u=arguments.length,o=new Array(u),s=0;s0,"At least one arg needs to be specified");var h="The ",c=o.length;switch(o=o.map(function(m){return'"'.concat(m,'"')}),c){case 1:h+="".concat(o[0]," argument");break;case 2:h+="".concat(o[0]," and ").concat(o[1]," arguments");break;default:h+=o.slice(0,c-1).join(", "),h+=", and ".concat(o[c-1]," arguments")}return"".concat(h," must be specified")},TypeError),T.exports.codes=f},74061:function(T,p,t){function d(Z,X){return function(Q){if(Array.isArray(Q))return Q}(Z)||function(Q,re){var ie=[],oe=!0,ue=!1,ce=void 0;try{for(var ye,de=Q[Symbol.iterator]();!(oe=(ye=de.next()).done)&&(ie.push(ye.value),!re||ie.length!==re);oe=!0);}catch(me){ue=!0,ce=me}finally{try{oe||de.return==null||de.return()}finally{if(ue)throw ce}}return ie}(Z,X)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function g(Z){return g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(X){return typeof X}:function(X){return X&&typeof Symbol=="function"&&X.constructor===Symbol&&X!==Symbol.prototype?"symbol":typeof X},g(Z)}var i=/a/g.flags!==void 0,M=function(Z){var X=[];return Z.forEach(function(Q){return X.push(Q)}),X},v=function(Z){var X=[];return Z.forEach(function(Q,re){return X.push([re,Q])}),X},f=Object.is?Object.is:t(64003),l=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},a=Number.isNaN?Number.isNaN:t(15567);function u(Z){return Z.call.bind(Z)}var o=u(Object.prototype.hasOwnProperty),s=u(Object.prototype.propertyIsEnumerable),h=u(Object.prototype.toString),c=t(43827).types,m=c.isAnyArrayBuffer,w=c.isArrayBufferView,y=c.isDate,C=c.isMap,_=c.isRegExp,k=c.isSet,E=c.isNativeError,x=c.isBoxedPrimitive,A=c.isNumberObject,L=c.isStringObject,b=c.isBooleanObject,R=c.isBigIntObject,I=c.isSymbolObject,O=c.isFloat32Array,z=c.isFloat64Array;function F(Z){if(Z.length===0||Z.length>10)return!0;for(var X=0;X57)return!0}return Z.length===10&&Z>=Math.pow(2,32)}function B(Z){return Object.keys(Z).filter(F).concat(l(Z).filter(Object.prototype.propertyIsEnumerable.bind(Z)))}function N(Z,X){if(Z===X)return 0;for(var Q=Z.length,re=X.length,ie=0,oe=Math.min(Q,re);ie0?h-4:h;for(o=0;o>16&255,m[w++]=u>>8&255,m[w++]=255&u;return c===2&&(u=d[a.charCodeAt(o)]<<2|d[a.charCodeAt(o+1)]>>4,m[w++]=255&u),c===1&&(u=d[a.charCodeAt(o)]<<10|d[a.charCodeAt(o+1)]<<4|d[a.charCodeAt(o+2)]>>2,m[w++]=u>>8&255,m[w++]=255&u),m},p.fromByteArray=function(a){for(var u,o=a.length,s=o%3,h=[],c=16383,m=0,w=o-s;mw?w:m+c));return s===1?(u=a[o-1],h.push(t[u>>2]+t[u<<4&63]+"==")):s===2&&(u=(a[o-2]<<8)+a[o-1],h.push(t[u>>10]+t[u>>4&63]+t[u<<2&63]+"=")),h.join("")};for(var t=[],d=[],g=typeof Uint8Array<"u"?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",M=0,v=i.length;M0)throw new Error("Invalid string. Length must be a multiple of 4");var o=a.indexOf("=");return o===-1&&(o=u),[o,o===u?0:4-o%4]}function l(a,u,o){for(var s,h,c=[],m=u;m>18&63]+t[h>>12&63]+t[h>>6&63]+t[63&h]);return c.join("")}d["-".charCodeAt(0)]=62,d["_".charCodeAt(0)]=63},91358:function(T){function p(v,f,l,a,u){for(var o=u+1;a<=u;){var s=a+u>>>1,h=v[s];(l!==void 0?l(h,f):h-f)>=0?(o=s,u=s-1):a=s+1}return o}function t(v,f,l,a,u){for(var o=u+1;a<=u;){var s=a+u>>>1,h=v[s];(l!==void 0?l(h,f):h-f)>0?(o=s,u=s-1):a=s+1}return o}function d(v,f,l,a,u){for(var o=a-1;a<=u;){var s=a+u>>>1,h=v[s];(l!==void 0?l(h,f):h-f)<0?(o=s,a=s+1):u=s-1}return o}function g(v,f,l,a,u){for(var o=a-1;a<=u;){var s=a+u>>>1,h=v[s];(l!==void 0?l(h,f):h-f)<=0?(o=s,a=s+1):u=s-1}return o}function i(v,f,l,a,u){for(;a<=u;){var o=a+u>>>1,s=v[o],h=l!==void 0?l(s,f):s-f;if(h===0)return o;h<=0?a=o+1:u=o-1}return-1}function M(v,f,l,a,u,o){return typeof l=="function"?o(v,f,l,a===void 0?0:0|a,u===void 0?v.length-1:0|u):o(v,f,void 0,l===void 0?0:0|l,a===void 0?v.length-1:0|a)}T.exports={ge:function(v,f,l,a,u){return M(v,f,l,a,u,p)},gt:function(v,f,l,a,u){return M(v,f,l,a,u,t)},lt:function(v,f,l,a,u){return M(v,f,l,a,u,d)},le:function(v,f,l,a,u){return M(v,f,l,a,u,g)},eq:function(v,f,l,a,u){return M(v,f,l,a,u,i)}}},13547:function(T,p){function t(g){var i=32;return(g&=-g)&&i--,65535&g&&(i-=16),16711935&g&&(i-=8),252645135&g&&(i-=4),858993459&g&&(i-=2),1431655765&g&&(i-=1),i}p.INT_BITS=32,p.INT_MAX=2147483647,p.INT_MIN=-2147483648,p.sign=function(g){return(g>0)-(g<0)},p.abs=function(g){var i=g>>31;return(g^i)-i},p.min=function(g,i){return i^(g^i)&-(g65535)<<4,i|=M=((g>>>=i)>255)<<3,i|=M=((g>>>=M)>15)<<2,(i|=M=((g>>>=M)>3)<<1)|(g>>>=M)>>1},p.log10=function(g){return g>=1e9?9:g>=1e8?8:g>=1e7?7:g>=1e6?6:g>=1e5?5:g>=1e4?4:g>=1e3?3:g>=100?2:g>=10?1:0},p.popCount=function(g){return 16843009*((g=(858993459&(g-=g>>>1&1431655765))+(g>>>2&858993459))+(g>>>4)&252645135)>>>24},p.countTrailingZeros=t,p.nextPow2=function(g){return g+=g===0,--g,g|=g>>>1,g|=g>>>2,g|=g>>>4,g|=g>>>8,1+(g|=g>>>16)},p.prevPow2=function(g){return g|=g>>>1,g|=g>>>2,g|=g>>>4,g|=g>>>8,(g|=g>>>16)-(g>>>1)},p.parity=function(g){return g^=g>>>16,g^=g>>>8,g^=g>>>4,27030>>>(g&=15)&1};var d=new Array(256);(function(g){for(var i=0;i<256;++i){var M=i,v=i,f=7;for(M>>>=1;M;M>>>=1)v<<=1,v|=1&M,--f;g[i]=v<>>8&255]<<16|d[g>>>16&255]<<8|d[g>>>24&255]},p.interleave2=function(g,i){return(g=1431655765&((g=858993459&((g=252645135&((g=16711935&((g&=65535)|g<<8))|g<<4))|g<<2))|g<<1))|(i=1431655765&((i=858993459&((i=252645135&((i=16711935&((i&=65535)|i<<8))|i<<4))|i<<2))|i<<1))<<1},p.deinterleave2=function(g,i){return(g=65535&((g=16711935&((g=252645135&((g=858993459&((g=g>>>i&1431655765)|g>>>1))|g>>>2))|g>>>4))|g>>>16))<<16>>16},p.interleave3=function(g,i,M){return g=1227133513&((g=3272356035&((g=251719695&((g=4278190335&((g&=1023)|g<<16))|g<<8))|g<<4))|g<<2),(g|=(i=1227133513&((i=3272356035&((i=251719695&((i=4278190335&((i&=1023)|i<<16))|i<<8))|i<<4))|i<<2))<<1)|(M=1227133513&((M=3272356035&((M=251719695&((M=4278190335&((M&=1023)|M<<16))|M<<8))|M<<4))|M<<2))<<2},p.deinterleave3=function(g,i){return(g=1023&((g=4278190335&((g=251719695&((g=3272356035&((g=g>>>i&1227133513)|g>>>2))|g>>>4))|g>>>8))|g>>>16))<<22>>22},p.nextCombination=function(g){var i=g|g-1;return i+1|(~i&-~i)-1>>>t(g)+1}},44781:function(T,p,t){var d=t(53435);T.exports=function(v,f){f||(f={});var l,a,u,o,s,h,c,m,w,y,C,_=f.cutoff==null?.25:f.cutoff,k=f.radius==null?8:f.radius,E=f.channel||0;if(ArrayBuffer.isView(v)||Array.isArray(v)){if(!f.width||!f.height)throw Error("For raw data width and height should be provided by options");l=f.width,a=f.height,o=v,h=f.stride?f.stride:Math.floor(v.length/l/a)}else window.HTMLCanvasElement&&v instanceof window.HTMLCanvasElement?(c=(m=v).getContext("2d"),l=m.width,a=m.height,o=(w=c.getImageData(0,0,l,a)).data,h=4):window.CanvasRenderingContext2D&&v instanceof window.CanvasRenderingContext2D?(c=v,l=(m=v.canvas).width,a=m.height,o=(w=c.getImageData(0,0,l,a)).data,h=4):window.ImageData&&v instanceof window.ImageData&&(w=v,l=v.width,a=v.height,o=w.data,h=4);if(u=Math.max(l,a),window.Uint8ClampedArray&&o instanceof window.Uint8ClampedArray||window.Uint8Array&&o instanceof window.Uint8Array)for(s=o,o=Array(l*a),y=0,C=s.length;y-1?g(f):f}},68222:function(T,p,t){var d=t(77575),g=t(68318),i=g("%Function.prototype.apply%"),M=g("%Function.prototype.call%"),v=g("%Reflect.apply%",!0)||d.call(M,i),f=g("%Object.getOwnPropertyDescriptor%",!0),l=g("%Object.defineProperty%",!0),a=g("%Math.max%");if(l)try{l({},"a",{value:1})}catch{l=null}T.exports=function(o){var s=v(d,M,arguments);if(f&&l){var h=f(s,"length");h.configurable&&l(s,"length",{value:1+a(0,o.length-(arguments.length-1))})}return s};var u=function(){return v(d,i,arguments)};l?l(T.exports,"apply",{value:u}):T.exports.apply=u},53435:function(T){T.exports=function(p,t,d){return td?d:p:pt?t:p}},6475:function(T,p,t){var d=t(53435);function g(i,M){M==null&&(M=!0);var v=i[0],f=i[1],l=i[2],a=i[3];return a==null&&(a=M?1:255),M&&(v*=255,f*=255,l*=255,a*=255),16777216*(v=255&d(v,0,255))+((f=255&d(f,0,255))<<16)+((l=255&d(l,0,255))<<8)+(255&d(a,0,255))}T.exports=g,T.exports.to=g,T.exports.from=function(i,M){var v=(i=+i)>>>24,f=(16711680&i)>>>16,l=(65280&i)>>>8,a=255&i;return M===!1?[v,f,l,a]:[v/255,f/255,l/255,a/255]}},76857:function(T){T.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},25075:function(T,p,t){var d=t(36652),g=t(53435),i=t(90660);T.exports=function(M,v){v!=="float"&&v||(v="array"),v==="uint"&&(v="uint8"),v==="uint_clamped"&&(v="uint8_clamped");var f=new(i(v))(4),l=v!=="uint8"&&v!=="uint8_clamped";return M.length&&typeof M!="string"||((M=d(M))[0]/=255,M[1]/=255,M[2]/=255),function(a){return a instanceof Uint8Array||a instanceof Uint8ClampedArray||!!(Array.isArray(a)&&(a[0]>1||a[0]===0)&&(a[1]>1||a[1]===0)&&(a[2]>1||a[2]===0)&&(!a[3]||a[3]>1))}(M)?(f[0]=M[0],f[1]=M[1],f[2]=M[2],f[3]=M[3]!=null?M[3]:255,l&&(f[0]/=255,f[1]/=255,f[2]/=255,f[3]/=255),f):(l?(f[0]=M[0],f[1]=M[1],f[2]=M[2],f[3]=M[3]!=null?M[3]:1):(f[0]=g(Math.floor(255*M[0]),0,255),f[1]=g(Math.floor(255*M[1]),0,255),f[2]=g(Math.floor(255*M[2]),0,255),f[3]=M[3]==null?255:g(Math.floor(255*M[3]),0,255)),f)}},90736:function(T,p,t){var d=t(76857),g=t(10973),i=t(46775);T.exports=function(v){var f,l,a=[],u=1;if(typeof v=="string")if(d[v])a=d[v].slice(),l="rgb";else if(v==="transparent")u=0,l="rgb",a=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(v)){var o=(c=v.slice(1)).length;u=1,o<=4?(a=[parseInt(c[0]+c[0],16),parseInt(c[1]+c[1],16),parseInt(c[2]+c[2],16)],o===4&&(u=parseInt(c[3]+c[3],16)/255)):(a=[parseInt(c[0]+c[1],16),parseInt(c[2]+c[3],16),parseInt(c[4]+c[5],16)],o===8&&(u=parseInt(c[6]+c[7],16)/255)),a[0]||(a[0]=0),a[1]||(a[1]=0),a[2]||(a[2]=0),l="rgb"}else if(f=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(v)){var s=f[1],h=s==="rgb",c=s.replace(/a$/,"");l=c,o=c==="cmyk"?4:c==="gray"?1:3,a=f[2].trim().split(/\s*,\s*/).map(function(w,y){if(/%$/.test(w))return y===o?parseFloat(w)/100:c==="rgb"?255*parseFloat(w)/100:parseFloat(w);if(c[y]==="h"){if(/deg$/.test(w))return parseFloat(w);if(M[w]!==void 0)return M[w]}return parseFloat(w)}),s===c&&a.push(1),u=h||a[o]===void 0?1:a[o],a=a.slice(0,o)}else v.length>10&&/[0-9](?:\s|\/)/.test(v)&&(a=v.match(/([0-9]+)/g).map(function(w){return parseFloat(w)}),l=v.match(/([a-z])/gi).join("").toLowerCase());else if(isNaN(v))if(g(v)){var m=i(v.r,v.red,v.R,null);m!==null?(l="rgb",a=[m,i(v.g,v.green,v.G),i(v.b,v.blue,v.B)]):(l="hsl",a=[i(v.h,v.hue,v.H),i(v.s,v.saturation,v.S),i(v.l,v.lightness,v.L,v.b,v.brightness)]),u=i(v.a,v.alpha,v.opacity,1),v.opacity!=null&&(u/=100)}else(Array.isArray(v)||t.g.ArrayBuffer&&ArrayBuffer.isView&&ArrayBuffer.isView(v))&&(a=[v[0],v[1],v[2]],l="rgb",u=v.length===4?v[3]:1);else l="rgb",a=[v>>>16,(65280&v)>>>8,255&v];return{space:l,values:a,alpha:u}};var M={red:0,orange:60,yellow:120,green:180,blue:240,purple:300}},36652:function(T,p,t){var d=t(90736),g=t(80009),i=t(53435);T.exports=function(M){var v,f=d(M);return f.space?((v=Array(3))[0]=i(f.values[0],0,255),v[1]=i(f.values[1],0,255),v[2]=i(f.values[2],0,255),f.space[0]==="h"&&(v=g.rgb(v)),v.push(i(f.alpha,0,1)),v):[]}},80009:function(T,p,t){var d=t(6866);T.exports={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(g){var i,M,v,f,l,a=g[0]/360,u=g[1]/100,o=g[2]/100;if(u===0)return[l=255*o,l,l];i=2*o-(M=o<.5?o*(1+u):o+u-o*u),f=[0,0,0];for(var s=0;s<3;s++)(v=a+.3333333333333333*-(s-1))<0?v++:v>1&&v--,l=6*v<1?i+6*(M-i)*v:2*v<1?M:3*v<2?i+(M-i)*(.6666666666666666-v)*6:i,f[s]=255*l;return f}},d.hsl=function(g){var i,M,v=g[0]/255,f=g[1]/255,l=g[2]/255,a=Math.min(v,f,l),u=Math.max(v,f,l),o=u-a;return u===a?i=0:v===u?i=(f-l)/o:f===u?i=2+(l-v)/o:l===u&&(i=4+(v-f)/o),(i=Math.min(60*i,360))<0&&(i+=360),M=(a+u)/2,[i,100*(u===a?0:M<=.5?o/(u+a):o/(2-u-a)),100*M]}},6866:function(T){T.exports={name:"rgb",min:[0,0,0],max:[255,255,255],channel:["red","green","blue"],alias:["RGB"]}},24138:function(T){T.exports={AFG:"afghan",ALA:"\\b\\wland",ALB:"albania",DZA:"algeria",ASM:"^(?=.*americ).*samoa",AND:"andorra",AGO:"angola",AIA:"anguill?a",ATA:"antarctica",ATG:"antigua",ARG:"argentin",ARM:"armenia",ABW:"^(?!.*bonaire).*\\baruba",AUS:"australia",AUT:"^(?!.*hungary).*austria|\\baustri.*\\bemp",AZE:"azerbaijan",BHS:"bahamas",BHR:"bahrain",BGD:"bangladesh|^(?=.*east).*paki?stan",BRB:"barbados",BLR:"belarus|byelo",BEL:"^(?!.*luxem).*belgium",BLZ:"belize|^(?=.*british).*honduras",BEN:"benin|dahome",BMU:"bermuda",BTN:"bhutan",BOL:"bolivia",BES:"^(?=.*bonaire).*eustatius|^(?=.*carib).*netherlands|\\bbes.?islands",BIH:"herzegovina|bosnia",BWA:"botswana|bechuana",BVT:"bouvet",BRA:"brazil",IOT:"british.?indian.?ocean",BRN:"brunei",BGR:"bulgaria",BFA:"burkina|\\bfaso|upper.?volta",BDI:"burundi",CPV:"verde",KHM:"cambodia|kampuchea|khmer",CMR:"cameroon",CAN:"canada",CYM:"cayman",CAF:"\\bcentral.african.republic",TCD:"\\bchad",CHL:"\\bchile",CHN:"^(?!.*\\bmac)(?!.*\\bhong)(?!.*\\btai)(?!.*\\brep).*china|^(?=.*peo)(?=.*rep).*china",CXR:"christmas",CCK:"\\bcocos|keeling",COL:"colombia",COM:"comoro",COG:"^(?!.*\\bdem)(?!.*\\bd[\\.]?r)(?!.*kinshasa)(?!.*zaire)(?!.*belg)(?!.*l.opoldville)(?!.*free).*\\bcongo",COK:"\\bcook",CRI:"costa.?rica",CIV:"ivoire|ivory",HRV:"croatia",CUB:"\\bcuba",CUW:"^(?!.*bonaire).*\\bcura(c|ç)ao",CYP:"cyprus",CSK:"czechoslovakia",CZE:"^(?=.*rep).*czech|czechia|bohemia",COD:"\\bdem.*congo|congo.*\\bdem|congo.*\\bd[\\.]?r|\\bd[\\.]?r.*congo|belgian.?congo|congo.?free.?state|kinshasa|zaire|l.opoldville|drc|droc|rdc",DNK:"denmark",DJI:"djibouti",DMA:"dominica(?!n)",DOM:"dominican.rep",ECU:"ecuador",EGY:"egypt",SLV:"el.?salvador",GNQ:"guine.*eq|eq.*guine|^(?=.*span).*guinea",ERI:"eritrea",EST:"estonia",ETH:"ethiopia|abyssinia",FLK:"falkland|malvinas",FRO:"faroe|faeroe",FJI:"fiji",FIN:"finland",FRA:"^(?!.*\\bdep)(?!.*martinique).*france|french.?republic|\\bgaul",GUF:"^(?=.*french).*guiana",PYF:"french.?polynesia|tahiti",ATF:"french.?southern",GAB:"gabon",GMB:"gambia",GEO:"^(?!.*south).*georgia",DDR:"german.?democratic.?republic|democratic.?republic.*germany|east.germany",DEU:"^(?!.*east).*germany|^(?=.*\\bfed.*\\brep).*german",GHA:"ghana|gold.?coast",GIB:"gibraltar",GRC:"greece|hellenic|hellas",GRL:"greenland",GRD:"grenada",GLP:"guadeloupe",GUM:"\\bguam",GTM:"guatemala",GGY:"guernsey",GIN:"^(?!.*eq)(?!.*span)(?!.*bissau)(?!.*portu)(?!.*new).*guinea",GNB:"bissau|^(?=.*portu).*guinea",GUY:"guyana|british.?guiana",HTI:"haiti",HMD:"heard.*mcdonald",VAT:"holy.?see|vatican|papal.?st",HND:"^(?!.*brit).*honduras",HKG:"hong.?kong",HUN:"^(?!.*austr).*hungary",ISL:"iceland",IND:"india(?!.*ocea)",IDN:"indonesia",IRN:"\\biran|persia",IRQ:"\\biraq|mesopotamia",IRL:"(^ireland)|(^republic.*ireland)",IMN:"^(?=.*isle).*\\bman",ISR:"israel",ITA:"italy",JAM:"jamaica",JPN:"japan",JEY:"jersey",JOR:"jordan",KAZ:"kazak",KEN:"kenya|british.?east.?africa|east.?africa.?prot",KIR:"kiribati",PRK:"^(?=.*democrat|people|north|d.*p.*.r).*\\bkorea|dprk|korea.*(d.*p.*r)",KWT:"kuwait",KGZ:"kyrgyz|kirghiz",LAO:"\\blaos?\\b",LVA:"latvia",LBN:"lebanon",LSO:"lesotho|basuto",LBR:"liberia",LBY:"libya",LIE:"liechtenstein",LTU:"lithuania",LUX:"^(?!.*belg).*luxem",MAC:"maca(o|u)",MDG:"madagascar|malagasy",MWI:"malawi|nyasa",MYS:"malaysia",MDV:"maldive",MLI:"\\bmali\\b",MLT:"\\bmalta",MHL:"marshall",MTQ:"martinique",MRT:"mauritania",MUS:"mauritius",MYT:"\\bmayotte",MEX:"\\bmexic",FSM:"fed.*micronesia|micronesia.*fed",MCO:"monaco",MNG:"mongolia",MNE:"^(?!.*serbia).*montenegro",MSR:"montserrat",MAR:"morocco|\\bmaroc",MOZ:"mozambique",MMR:"myanmar|burma",NAM:"namibia",NRU:"nauru",NPL:"nepal",NLD:"^(?!.*\\bant)(?!.*\\bcarib).*netherlands",ANT:"^(?=.*\\bant).*(nether|dutch)",NCL:"new.?caledonia",NZL:"new.?zealand",NIC:"nicaragua",NER:"\\bniger(?!ia)",NGA:"nigeria",NIU:"niue",NFK:"norfolk",MNP:"mariana",NOR:"norway",OMN:"\\boman|trucial",PAK:"^(?!.*east).*paki?stan",PLW:"palau",PSE:"palestin|\\bgaza|west.?bank",PAN:"panama",PNG:"papua|new.?guinea",PRY:"paraguay",PER:"peru",PHL:"philippines",PCN:"pitcairn",POL:"poland",PRT:"portugal",PRI:"puerto.?rico",QAT:"qatar",KOR:"^(?!.*d.*p.*r)(?!.*democrat)(?!.*people)(?!.*north).*\\bkorea(?!.*d.*p.*r)",MDA:"moldov|b(a|e)ssarabia",REU:"r(e|é)union",ROU:"r(o|u|ou)mania",RUS:"\\brussia|soviet.?union|u\\.?s\\.?s\\.?r|socialist.?republics",RWA:"rwanda",BLM:"barth(e|é)lemy",SHN:"helena",KNA:"kitts|\\bnevis",LCA:"\\blucia",MAF:"^(?=.*collectivity).*martin|^(?=.*france).*martin(?!ique)|^(?=.*french).*martin(?!ique)",SPM:"miquelon",VCT:"vincent",WSM:"^(?!.*amer).*samoa",SMR:"san.?marino",STP:"\\bs(a|ã)o.?tom(e|é)",SAU:"\\bsa\\w*.?arabia",SEN:"senegal",SRB:"^(?!.*monte).*serbia",SYC:"seychell",SLE:"sierra",SGP:"singapore",SXM:"^(?!.*martin)(?!.*saba).*maarten",SVK:"^(?!.*cze).*slovak",SVN:"slovenia",SLB:"solomon",SOM:"somali",ZAF:"south.africa|s\\\\..?africa",SGS:"south.?georgia|sandwich",SSD:"\\bs\\w*.?sudan",ESP:"spain",LKA:"sri.?lanka|ceylon",SDN:"^(?!.*\\bs(?!u)).*sudan",SUR:"surinam|dutch.?guiana",SJM:"svalbard",SWZ:"swaziland",SWE:"sweden",CHE:"switz|swiss",SYR:"syria",TWN:"taiwan|taipei|formosa|^(?!.*peo)(?=.*rep).*china",TJK:"tajik",THA:"thailand|\\bsiam",MKD:"macedonia|fyrom",TLS:"^(?=.*leste).*timor|^(?=.*east).*timor",TGO:"togo",TKL:"tokelau",TON:"tonga",TTO:"trinidad|tobago",TUN:"tunisia",TUR:"turkey",TKM:"turkmen",TCA:"turks",TUV:"tuvalu",UGA:"uganda",UKR:"ukrain",ARE:"emirates|^u\\.?a\\.?e\\.?$|united.?arab.?em",GBR:"united.?kingdom|britain|^u\\.?k\\.?$",TZA:"tanzania",USA:"united.?states\\b(?!.*islands)|\\bu\\.?s\\.?a\\.?\\b|^\\s*u\\.?s\\.?\\b(?!.*islands)",UMI:"minor.?outlying.?is",URY:"uruguay",UZB:"uzbek",VUT:"vanuatu|new.?hebrides",VEN:"venezuela",VNM:"^(?!.*republic).*viet.?nam|^(?=.*socialist).*viet.?nam",VGB:"^(?=.*\\bu\\.?\\s?k).*virgin|^(?=.*brit).*virgin|^(?=.*kingdom).*virgin",VIR:"^(?=.*\\bu\\.?\\s?s).*virgin|^(?=.*states).*virgin",WLF:"futuna|wallis",ESH:"western.sahara",YEM:"^(?!.*arab)(?!.*north)(?!.*sana)(?!.*peo)(?!.*dem)(?!.*south)(?!.*aden)(?!.*\\bp\\.?d\\.?r).*yemen",YMD:"^(?=.*peo).*yemen|^(?!.*rep)(?=.*dem).*yemen|^(?=.*south).*yemen|^(?=.*aden).*yemen|^(?=.*\\bp\\.?d\\.?r).*yemen",YUG:"yugoslavia",ZMB:"zambia|northern.?rhodesia",EAZ:"zanzibar",ZWE:"zimbabwe|^(?!.*northern).*rhodesia"}},72791:function(T,p,t){T.exports={parse:t(41004),stringify:t(53313)}},63625:function(T,p,t){var d=t(40402);T.exports={isSize:function(g){return/^[\d\.]/.test(g)||g.indexOf("/")!==-1||d.indexOf(g)!==-1}}},41004:function(T,p,t){var d=t(90448),g=t(38732),i=t(41901),M=t(15659),v=t(96209),f=t(83794),l=t(99011),a=t(63625).isSize;T.exports=o;var u=o.cache={};function o(h){if(typeof h!="string")throw new Error("Font argument must be a string.");if(u[h])return u[h];if(h==="")throw new Error("Cannot parse an empty string.");if(i.indexOf(h)!==-1)return u[h]={system:h};for(var c,m={style:"normal",variant:"normal",weight:"normal",stretch:"normal",lineHeight:"normal",size:"1rem",family:["serif"]},w=l(h,/\s+/);c=w.shift();){if(g.indexOf(c)!==-1)return["style","variant","weight","stretch"].forEach(function(C){m[C]=c}),u[h]=m;if(v.indexOf(c)===-1)if(c!=="normal"&&c!=="small-caps")if(f.indexOf(c)===-1){if(M.indexOf(c)===-1){if(a(c)){var y=l(c,"/");if(m.size=y[0],y[1]!=null?m.lineHeight=s(y[1]):w[0]==="/"&&(w.shift(),m.lineHeight=s(w.shift())),!w.length)throw new Error("Missing required font-family.");return m.family=l(w.join(" "),/\s*,\s*/).map(d),u[h]=m}throw new Error("Unknown or unsupported font token: "+c)}m.weight=c}else m.stretch=c;else m.variant=c;else m.style=c}throw new Error("Missing required font-size.")}function s(h){var c=parseFloat(h);return c.toString()===h?c:h}},53313:function(T,p,t){var d=t(71299),g=t(63625).isSize,i=h(t(38732)),M=h(t(41901)),v=h(t(15659)),f=h(t(96209)),l=h(t(83794)),a={normal:1,"small-caps":1},u={serif:1,"sans-serif":1,monospace:1,cursive:1,fantasy:1,"system-ui":1},o="serif";function s(c,m){if(c&&!m[c]&&!i[c])throw Error("Unknown keyword `"+c+"`");return c}function h(c){for(var m={},w=0;wh?1:s>=h?0:NaN}t.d(p,{j2:function(){return d},Fp:function(){return M},J6:function(){return f},TS:function(){return l},VV:function(){return a},w6:function(){return u},Sm:function(){return o}}),(g=d).length===1&&(i=g,g=function(s,h){return d(i(s),h)});var g,i;function M(s,h){var c,m,w=s.length,y=-1;if(h==null){for(;++y=c)for(m=c;++ym&&(m=c)}else for(;++y=c)for(m=c;++ym&&(m=c);return m}function v(s){return s===null?NaN:+s}function f(s,h){var c,m=s.length,w=m,y=-1,C=0;if(h==null)for(;++y=0;)for(h=(m=s[w]).length;--h>=0;)c[--C]=m[h];return c}function a(s,h){var c,m,w=s.length,y=-1;if(h==null){for(;++y=c)for(m=c;++yc&&(m=c)}else for(;++y=c)for(m=c;++yc&&(m=c);return m}function u(s,h,c){s=+s,h=+h,c=(w=arguments.length)<2?(h=s,s=0,1):w<3?1:+c;for(var m=-1,w=0|Math.max(0,Math.ceil((h-s)/c)),y=new Array(w);++m=w.length)return h!=null&&k.sort(h),c!=null?c(k):k;for(var L,b,R,I=-1,O=k.length,z=w[E++],F=M(),B=x();++Iw.length)return k;var x,A=y[E-1];return c!=null&&E>=w.length?x=k.entries():(x=[],k.each(function(L,b){x.push({key:b,values:_(L,E)})})),A!=null?x.sort(function(L,b){return A(L.key,b.key)}):x}return m={object:function(k){return C(k,0,f,l)},map:function(k){return C(k,0,a,u)},entries:function(k){return _(C(k,0,a,u),0)},key:function(k){return w.push(k),m},sortKeys:function(k){return y[w.length-1]=k,m},sortValues:function(k){return h=k,m},rollup:function(k){return c=k,m}}}function f(){return{}}function l(h,c,m){h[c]=m}function a(){return M()}function u(h,c,m){h.set(c,m)}function o(){}var s=M.prototype;o.prototype={constructor:o,has:s.has,add:function(h){return this[d+(h+="")]=h,this},remove:s.remove,clear:s.clear,values:s.keys,size:s.size,empty:s.empty,each:s.each}},49887:function(T,p,t){function d(me,pe){var xe;function Pe(){var _e,Me,Se=xe.length,Ce=0,ae=0;for(_e=0;_e=(Me=(je+we)/2))?je=Me:we=Me,(be=xe>=(Se=(ge+Ee)/2))?ge=Se:Ee=Se,_e=Be,!(Be=Be[ke=be<<1|fe]))return _e[ke]=ze,me;if(Ce=+me._x.call(null,Be.data),ae=+me._y.call(null,Be.data),pe===Ce&&xe===ae)return ze.next=Be,_e?_e[ke]=ze:me._root=ze,me;do _e=_e?_e[ke]=new Array(4):me._root=new Array(4),(fe=pe>=(Me=(je+we)/2))?je=Me:we=Me,(be=xe>=(Se=(ge+Ee)/2))?ge=Se:Ee=Se;while((ke=be<<1|fe)==(Le=(ae>=Se)<<1|Ce>=Me));return _e[Le]=Be,_e[ke]=ze,me}function v(me,pe,xe,Pe,_e){this.node=me,this.x0=pe,this.y0=xe,this.x1=Pe,this.y1=_e}function f(me){return me[0]}function l(me){return me[1]}function a(me,pe,xe){var Pe=new u(pe??f,xe??l,NaN,NaN,NaN,NaN);return me==null?Pe:Pe.addAll(me)}function u(me,pe,xe,Pe,_e,Me){this._x=me,this._y=pe,this._x0=xe,this._y0=Pe,this._x1=_e,this._y1=Me,this._root=void 0}function o(me){for(var pe={data:me.data},xe=pe;me=me.next;)xe=xe.next={data:me.data};return pe}t.r(p),t.d(p,{forceCenter:function(){return d},forceCollide:function(){return m},forceLink:function(){return _},forceManyBody:function(){return ue},forceRadial:function(){return ce},forceSimulation:function(){return oe},forceX:function(){return ye},forceY:function(){return de}});var s=a.prototype=u.prototype;function h(me){return me.x+me.vx}function c(me){return me.y+me.vy}function m(me){var pe,xe,Pe=1,_e=1;function Me(){for(var ae,fe,be,ke,Le,Be,ze,je=pe.length,ge=0;ge<_e;++ge)for(fe=a(pe,h,c).visitAfter(Se),ae=0;aeke+bt||YeLe+bt||stbe.index){var Et=ke-ot.x-ot.vx,kt=Le-ot.y-ot.vy,xt=Et*Et+kt*kt;xtae.r&&(ae.r=ae[fe].r)}function Ce(){if(pe){var ae,fe,be=pe.length;for(xe=new Array(be),ae=0;aebe&&(be=Pe),_eke&&(ke=_e));if(ae>be||fe>ke)return this;for(this.cover(ae,fe).cover(be,ke),xe=0;xeme||me>=_e||Pe>pe||pe>=Me;)switch(Ce=(peLe||(Me=ae.y0)>Be||(Se=ae.x1)=we)<<1|me>=ge)&&(ae=ze[ze.length-1],ze[ze.length-1]=ze[ze.length-1-fe],ze[ze.length-1-fe]=ae)}else{var Ee=me-+this._x.call(null,je.data),Ve=pe-+this._y.call(null,je.data),$e=Ee*Ee+Ve*Ve;if($e=(Ce=(ze+ge)/2))?ze=Ce:ge=Ce,(be=Se>=(ae=(je+we)/2))?je=ae:we=ae,pe=Be,!(Be=Be[ke=be<<1|fe]))return this;if(!Be.length)break;(pe[ke+1&3]||pe[ke+2&3]||pe[ke+3&3])&&(xe=pe,Le=ke)}for(;Be.data!==me;)if(Pe=Be,!(Be=Be.next))return this;return(_e=Be.next)&&delete Be.next,Pe?(_e?Pe.next=_e:delete Pe.next,this):pe?(_e?pe[ke]=_e:delete pe[ke],(Be=pe[0]||pe[1]||pe[2]||pe[3])&&Be===(pe[3]||pe[2]||pe[1]||pe[0])&&!Be.length&&(xe?xe[Le]=Be:this._root=Be),this):(this._root=_e,this)},s.removeAll=function(me){for(var pe=0,xe=me.length;pe=0&&(Pe=xe.slice(_e+1),xe=xe.slice(0,_e)),xe&&!pe.hasOwnProperty(xe))throw new Error("unknown type: "+xe);return{type:xe,name:Pe}})}function L(me,pe){for(var xe,Pe=0,_e=me.length;Pe<_e;++Pe)if((xe=me[Pe]).name===pe)return xe.value}function b(me,pe,xe){for(var Pe=0,_e=me.length;Pe<_e;++Pe)if(me[Pe].name===pe){me[Pe]=k,me=me.slice(0,Pe).concat(me.slice(Pe+1));break}return xe!=null&&me.push({name:pe,value:xe}),me}x.prototype=E.prototype={constructor:x,on:function(me,pe){var xe,Pe=this._,_e=A(me+"",Pe),Me=-1,Se=_e.length;if(!(arguments.length<2)){if(pe!=null&&typeof pe!="function")throw new Error("invalid callback: "+pe);for(;++Me0)for(var xe,Pe,_e=new Array(xe),Me=0;Me=0&&pe._call.call(null,me),pe=pe._next;--z})()}finally{z=0,function(){for(var me,pe,xe=R,Pe=1/0;xe;)xe._call?(Pe>xe._time&&(Pe=xe._time),me=xe,xe=xe._next):(pe=xe._next,xe._next=null,xe=me?me._next=pe:R=pe);I=me,X(Pe)}(),W=0}}function Z(){var me=$.now(),pe=me-N;pe>1e3&&(j-=pe,N=me)}function X(me){z||(F&&(F=clearTimeout(F)),me-W>24?(me<1/0&&(F=setTimeout(te,me-$.now()-j)),B&&(B=clearInterval(B))):(B||(N=$.now(),B=setInterval(Z,1e3)),z=1,U(te)))}function Q(me){return me.x}function re(me){return me.y}H.prototype=ne.prototype={constructor:H,restart:function(me,pe,xe){if(typeof me!="function")throw new TypeError("callback is not a function");xe=(xe==null?G():+xe)+(pe==null?0:+pe),this._next||I===this||(I?I._next=this:R=this,I=this),this._call=me,this._time=xe,X()},stop:function(){this._call&&(this._call=null,this._time=1/0,X())}};var ie=Math.PI*(3-Math.sqrt(5));function oe(me){var pe,xe=1,Pe=.001,_e=1-Math.pow(Pe,1/300),Me=0,Se=.6,Ce=(0,w.UI)(),ae=ne(be),fe=O("tick","end");function be(){ke(),fe.call("tick",pe),xe1?(je==null?Ce.remove(ze):Ce.set(ze,Be(je)),pe):Ce.get(ze)},find:function(ze,je,ge){var we,Ee,Ve,$e,Ye,st=0,ot=me.length;for(ge==null?ge=1/0:ge*=ge,st=0;st1?(fe.on(ze,je),pe):fe.on(ze)}}}function ue(){var me,pe,xe,Pe,_e=g(-30),Me=1,Se=1/0,Ce=.81;function ae(Le){var Be,ze=me.length,je=a(me,Q,re).visitAfter(be);for(xe=Le,Be=0;Be=Se)){(Le.data!==pe||Le.next)&&(ge===0&&(Ve+=(ge=i())*ge),we===0&&(Ve+=(we=i())*we),Ve1?C[0]+C.slice(2):C,+m.slice(y+1)]}t.d(p,{WU:function(){return o},FF:function(){return c}});var g,i=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function M(m){if(!(w=i.exec(m)))throw new Error("invalid format: "+m);var w;return new v({fill:w[1],align:w[2],sign:w[3],symbol:w[4],zero:w[5],width:w[6],comma:w[7],precision:w[8]&&w[8].slice(1),trim:w[9],type:w[10]})}function v(m){this.fill=m.fill===void 0?" ":m.fill+"",this.align=m.align===void 0?">":m.align+"",this.sign=m.sign===void 0?"-":m.sign+"",this.symbol=m.symbol===void 0?"":m.symbol+"",this.zero=!!m.zero,this.width=m.width===void 0?void 0:+m.width,this.comma=!!m.comma,this.precision=m.precision===void 0?void 0:+m.precision,this.trim=!!m.trim,this.type=m.type===void 0?"":m.type+""}function f(m,w){var y=d(m,w);if(!y)return m+"";var C=y[0],_=y[1];return _<0?"0."+new Array(-_).join("0")+C:C.length>_+1?C.slice(0,_+1)+"."+C.slice(_+1):C+new Array(_-C.length+2).join("0")}M.prototype=v.prototype,v.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,0|this.width))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var l={"%":function(m,w){return(100*m).toFixed(w)},b:function(m){return Math.round(m).toString(2)},c:function(m){return m+""},d:function(m){return Math.abs(m=Math.round(m))>=1e21?m.toLocaleString("en").replace(/,/g,""):m.toString(10)},e:function(m,w){return m.toExponential(w)},f:function(m,w){return m.toFixed(w)},g:function(m,w){return m.toPrecision(w)},o:function(m){return Math.round(m).toString(8)},p:function(m,w){return f(100*m,w)},r:f,s:function(m,w){var y=d(m,w);if(!y)return m+"";var C=y[0],_=y[1],k=_-(g=3*Math.max(-8,Math.min(8,Math.floor(_/3))))+1,E=C.length;return k===E?C:k>E?C+new Array(k-E+1).join("0"):k>0?C.slice(0,k)+"."+C.slice(k):"0."+new Array(1-k).join("0")+d(m,Math.max(0,w+k-1))[0]},X:function(m){return Math.round(m).toString(16).toUpperCase()},x:function(m){return Math.round(m).toString(16)}};function a(m){return m}var u,o,s=Array.prototype.map,h=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function c(m){var w,y,C=m.grouping===void 0||m.thousands===void 0?a:(w=s.call(m.grouping,Number),y=m.thousands+"",function(I,O){for(var z=I.length,F=[],B=0,N=w[0],W=0;z>0&&N>0&&(W+N+1>O&&(N=Math.max(1,O-W)),F.push(I.substring(z-=N,z+N)),!((W+=N+1)>O));)N=w[B=(B+1)%w.length];return F.reverse().join(y)}),_=m.currency===void 0?"":m.currency[0]+"",k=m.currency===void 0?"":m.currency[1]+"",E=m.decimal===void 0?".":m.decimal+"",x=m.numerals===void 0?a:function(I){return function(O){return O.replace(/[0-9]/g,function(z){return I[+z]})}}(s.call(m.numerals,String)),A=m.percent===void 0?"%":m.percent+"",L=m.minus===void 0?"-":m.minus+"",b=m.nan===void 0?"NaN":m.nan+"";function R(I){var O=(I=M(I)).fill,z=I.align,F=I.sign,B=I.symbol,N=I.zero,W=I.width,j=I.comma,$=I.precision,U=I.trim,G=I.type;G==="n"?(j=!0,G="g"):l[G]||($===void 0&&($=12),U=!0,G="g"),(N||O==="0"&&z==="=")&&(N=!0,O="0",z="=");var q=B==="$"?_:B==="#"&&/[boxX]/.test(G)?"0"+G.toLowerCase():"",H=B==="$"?k:/[%p]/.test(G)?A:"",ne=l[G],te=/[defgprs%]/.test(G);function Z(X){var Q,re,ie,oe=q,ue=H;if(G==="c")ue=ne(X)+ue,X="";else{var ce=(X=+X)<0||1/X<0;if(X=isNaN(X)?b:ne(Math.abs(X),$),U&&(X=function(me){e:for(var pe,xe=me.length,Pe=1,_e=-1;Pe0&&(_e=0)}return _e>0?me.slice(0,_e)+me.slice(pe+1):me}(X)),ce&&+X==0&&F!=="+"&&(ce=!1),oe=(ce?F==="("?F:L:F==="-"||F==="("?"":F)+oe,ue=(G==="s"?h[8+g/3]:"")+ue+(ce&&F==="("?")":""),te){for(Q=-1,re=X.length;++Q(ie=X.charCodeAt(Q))||ie>57){ue=(ie===46?E+X.slice(Q+1):X.slice(Q))+ue,X=X.slice(0,Q);break}}}j&&!N&&(X=C(X,1/0));var ye=oe.length+X.length+ue.length,de=ye>1)+oe+X+ue+de.slice(ye);break;default:X=de+oe+X+ue}return x(X)}return $=$===void 0?6:/[gprs]/.test(G)?Math.max(1,Math.min(21,$)):Math.max(0,Math.min(20,$)),Z.toString=function(){return I+""},Z}return{format:R,formatPrefix:function(I,O){var z,F=R(((I=M(I)).type="f",I)),B=3*Math.max(-8,Math.min(8,Math.floor((z=O,((z=d(Math.abs(z)))?z[1]:NaN)/3)))),N=Math.pow(10,-B),W=h[8+B/3];return function(j){return F(N*j)+W}}}}u=c({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),o=u.format,u.formatPrefix},65704:function(T,p,t){t.r(p),t.d(p,{geoAiry:function(){return j},geoAiryRaw:function(){return W},geoAitoff:function(){return U},geoAitoffRaw:function(){return $},geoArmadillo:function(){return q},geoArmadilloRaw:function(){return G},geoAugust:function(){return ne},geoAugustRaw:function(){return H},geoBaker:function(){return Q},geoBakerRaw:function(){return X},geoBerghaus:function(){return oe},geoBerghausRaw:function(){return ie},geoBertin1953:function(){return Pe},geoBertin1953Raw:function(){return xe},geoBoggs:function(){return ke},geoBoggsRaw:function(){return be},geoBonne:function(){return ge},geoBonneRaw:function(){return je},geoBottomley:function(){return Ee},geoBottomleyRaw:function(){return we},geoBromley:function(){return $e},geoBromleyRaw:function(){return Ve},geoChamberlin:function(){return Ft},geoChamberlinAfrica:function(){return xt},geoChamberlinRaw:function(){return Et},geoCollignon:function(){return Bt},geoCollignonRaw:function(){return Ot},geoCraig:function(){return Vt},geoCraigRaw:function(){return qt},geoCraster:function(){return qe},geoCrasterRaw:function(){return Je},geoCylindricalEqualArea:function(){return ft},geoCylindricalEqualAreaRaw:function(){return nt},geoCylindricalStereographic:function(){return Ne},geoCylindricalStereographicRaw:function(){return Re},geoEckert1:function(){return ut},geoEckert1Raw:function(){return Qe},geoEckert2:function(){return _t},geoEckert2Raw:function(){return dt},geoEckert3:function(){return Lt},geoEckert3Raw:function(){return It},geoEckert4:function(){return Pt},geoEckert4Raw:function(){return yt},geoEckert5:function(){return Rt},geoEckert5Raw:function(){return wt},geoEckert6:function(){return Yt},geoEckert6Raw:function(){return Nt},geoEisenlohr:function(){return Qt},geoEisenlohrRaw:function(){return Xt},geoFahey:function(){return un},geoFaheyRaw:function(){return xn},geoFoucaut:function(){return Yn},geoFoucautRaw:function(){return An},geoFoucautSinusoidal:function(){return sn},geoFoucautSinusoidalRaw:function(){return kn},geoGilbert:function(){return In},geoGingery:function(){return lr},geoGingeryRaw:function(){return jn},geoGinzburg4:function(){return yr},geoGinzburg4Raw:function(){return Sr},geoGinzburg5:function(){return vr},geoGinzburg5Raw:function(){return or},geoGinzburg6:function(){return Kt},geoGinzburg6Raw:function(){return _r},geoGinzburg8:function(){return Rn},geoGinzburg8Raw:function(){return bn},geoGinzburg9:function(){return Un},geoGinzburg9Raw:function(){return Ln},geoGringorten:function(){return tr},geoGringortenQuincuncial:function(){return qc},geoGringortenRaw:function(){return $n},geoGuyou:function(){return jt},geoGuyouRaw:function(){return Pn},geoHammer:function(){return de},geoHammerRaw:function(){return ce},geoHammerRetroazimuthal:function(){return On},geoHammerRetroazimuthalRaw:function(){return hn},geoHealpix:function(){return nr},geoHealpixRaw:function(){return yn},geoHill:function(){return hr},geoHillRaw:function(){return Qn},geoHomolosine:function(){return Lr},geoHomolosineRaw:function(){return Rr},geoHufnagel:function(){return gr},geoHufnagelRaw:function(){return zr},geoHyperelliptical:function(){return ea},geoHyperellipticalRaw:function(){return ji},geoInterrupt:function(){return Xi},geoInterruptedBoggs:function(){return rs},geoInterruptedHomolosine:function(){return Cu},geoInterruptedMollweide:function(){return Mh},geoInterruptedMollweideHemispheres:function(){return is},geoInterruptedQuarticAuthalic:function(){return nu},geoInterruptedSinuMollweide:function(){return Ya},geoInterruptedSinusoidal:function(){return Yo},geoKavrayskiy7:function(){return Al},geoKavrayskiy7Raw:function(){return as},geoLagrange:function(){return Sl},geoLagrangeRaw:function(){return Ui},geoLarrivee:function(){return js},geoLarriveeRaw:function(){return Es},geoLaskowski:function(){return vf},geoLaskowskiRaw:function(){return fc},geoLittrow:function(){return yf},geoLittrowRaw:function(){return tl},geoLoximuthal:function(){return id},geoLoximuthalRaw:function(){return bf},geoMiller:function(){return xf},geoMillerRaw:function(){return Sh},geoModifiedStereographic:function(){return Ql},geoModifiedStereographicAlaska:function(){return Lh},geoModifiedStereographicGs48:function(){return Jl},geoModifiedStereographicGs50:function(){return jc},geoModifiedStereographicLee:function(){return Iu},geoModifiedStereographicMiller:function(){return Cl},geoModifiedStereographicRaw:function(){return Ch},geoMollweide:function(){return Ce},geoMollweideRaw:function(){return Se},geoMtFlatPolarParabolic:function(){return ad},geoMtFlatPolarParabolicRaw:function(){return El},geoMtFlatPolarQuartic:function(){return dc},geoMtFlatPolarQuarticRaw:function(){return Uc},geoMtFlatPolarSinusoidal:function(){return Ru},geoMtFlatPolarSinusoidalRaw:function(){return eu},geoNaturalEarth:function(){return ms.Z},geoNaturalEarth2:function(){return pc},geoNaturalEarth2Raw:function(){return Ih},geoNaturalEarthRaw:function(){return ms.K},geoNellHammer:function(){return mc},geoNellHammerRaw:function(){return Pu},geoNicolosi:function(){return gc},geoNicolosiRaw:function(){return Ou},geoPatterson:function(){return Hc},geoPattersonRaw:function(){return Ll},geoPeirceQuincuncial:function(){return Wc},geoPierceQuincuncial:function(){return Wc},geoPolyconic:function(){return Ph},geoPolyconicRaw:function(){return xc},geoPolyhedral:function(){return Il},geoPolyhedralButterfly:function(){return Gc},geoPolyhedralCollignon:function(){return Dh},geoPolyhedralWaterman:function(){return ou},geoProject:function(){return lu},geoQuantize:function(){return Lo},geoQuincuncial:function(){return $o},geoRectangularPolyconic:function(){return uu},geoRectangularPolyconicRaw:function(){return Dr},geoRobinson:function(){return zu},geoRobinsonRaw:function(){return Yc},geoSatellite:function(){return Bu},geoSatelliteRaw:function(){return Fu},geoSinuMollweide:function(){return br},geoSinuMollweideRaw:function(){return dr},geoSinusoidal:function(){return ze},geoSinusoidalRaw:function(){return Be},geoStitch:function(){return hu},geoTimes:function(){return xs},geoTimesRaw:function(){return yo},geoTwoPointAzimuthal:function(){return _s},geoTwoPointAzimuthalRaw:function(){return Tc},geoTwoPointAzimuthalUsa:function(){return os},geoTwoPointEquidistant:function(){return Wi},geoTwoPointEquidistantRaw:function(){return Gs},geoTwoPointEquidistantUsa:function(){return Bo},geoVanDerGrinten:function(){return Is},geoVanDerGrinten2:function(){return qs},geoVanDerGrinten2Raw:function(){return No},geoVanDerGrinten3:function(){return ul},geoVanDerGrinten3Raw:function(){return Dl},geoVanDerGrinten4:function(){return ws},geoVanDerGrinten4Raw:function(){return bo},geoVanDerGrintenRaw:function(){return no},geoWagner:function(){return ni},geoWagner4:function(){return Zc},geoWagner4Raw:function(){return xo},geoWagner6:function(){return ju},geoWagner6Raw:function(){return Vo},geoWagner7:function(){return Vu},geoWagnerRaw:function(){return Hr},geoWiechel:function(){return Ji},geoWiechelRaw:function(){return hl},geoWinkel3:function(){return Xc},geoWinkel3Raw:function(){return la}});var d=t(15002),g=Math.abs,i=Math.atan,M=Math.atan2,v=Math.cos,f=Math.exp,l=Math.floor,a=Math.log,u=Math.max,o=Math.min,s=Math.pow,h=Math.round,c=Math.sign||function(et){return et>0?1:et<0?-1:0},m=Math.sin,w=Math.tan,y=1e-6,C=1e-12,_=Math.PI,k=_/2,E=_/4,x=Math.SQRT1_2,A=F(2),L=F(_),b=2*_,R=180/_,I=_/180;function O(et){return et>1?k:et<-1?-k:Math.asin(et)}function z(et){return et>1?0:et<-1?_:Math.acos(et)}function F(et){return et>0?Math.sqrt(et):0}function B(et){return(f(et)-f(-et))/2}function N(et){return(f(et)+f(-et))/2}function W(et){var rt=w(et/2),ct=2*a(v(et/2))/(rt*rt);function vt(St,Mt){var Y=v(St),ee=v(Mt),K=m(Mt),le=ee*Y,Te=-((1-le?a((1+le)/2)/(1-le):-.5)+ct/(1+le));return[Te*ee*m(St),Te*K]}return vt.invert=function(St,Mt){var Y,ee=F(St*St+Mt*Mt),K=-et/2,le=50;if(!ee)return[0,0];do{var Te=K/2,De=v(Te),He=m(Te),Ze=He/De,at=-a(g(De));K-=Y=(2/Ze*at-ct*Ze-ee)/(-at/(He*He)+1-ct/(2*De*De))*(De<0?.7:1)}while(g(Y)>y&&--le>0);var Tt=m(K);return[M(St*Tt,ee*v(K)),O(Mt*Tt/ee)]},vt}function j(){var et=k,rt=(0,d.r)(W),ct=rt(et);return ct.radius=function(vt){return arguments.length?rt(et=vt*I):et*R},ct.scale(179.976).clipAngle(147)}function $(et,rt){var ct=v(rt),vt=function(St){return St?St/Math.sin(St):1}(z(ct*v(et/=2)));return[2*ct*m(et)*vt,m(rt)*vt]}function U(){return(0,d.Z)($).scale(152.63)}function G(et){var rt=m(et),ct=v(et),vt=et>=0?1:-1,St=w(vt*et),Mt=(1+rt-ct)/2;function Y(ee,K){var le=v(K),Te=v(ee/=2);return[(1+le)*m(ee),(vt*K>-M(Te,St)-.001?0:10*-vt)+Mt+m(K)*ct-(1+le)*rt*Te]}return Y.invert=function(ee,K){var le=0,Te=0,De=50;do{var He=v(le),Ze=m(le),at=v(Te),Tt=m(Te),At=1+at,se=At*Ze-ee,ve=Mt+Tt*ct-At*rt*He-K,Ie=At*He/2,Fe=-Ze*Tt,Ue=rt*At*Ze/2,We=ct*at+rt*He*Tt,Xe=Fe*Ue-We*Ie,tt=(ve*Fe-se*We)/Xe/2,lt=(se*Ue-ve*Ie)/Xe;g(lt)>2&&(lt/=2),le-=tt,Te-=lt}while((g(tt)>y||g(lt)>y)&&--De>0);return vt*Te>-M(v(le),St)-.001?[2*le,Te]:null},Y}function q(){var et=20*I,rt=et>=0?1:-1,ct=w(rt*et),vt=(0,d.r)(G),St=vt(et),Mt=St.stream;return St.parallel=function(Y){return arguments.length?(ct=w((rt=(et=Y*I)>=0?1:-1)*et),vt(et)):et*R},St.stream=function(Y){var ee=St.rotate(),K=Mt(Y),le=(St.rotate([0,0]),Mt(Y)),Te=St.precision();return St.rotate(ee),K.sphere=function(){le.polygonStart(),le.lineStart();for(var De=-180*rt;rt*De<180;De+=90*rt)le.point(De,90*rt);if(et)for(;rt*(De-=3*rt*Te)>=-180;)le.point(De,rt*-M(v(De*I/2),ct)*R);le.lineEnd(),le.polygonEnd()},K},St.scale(218.695).center([0,28.0974])}function H(et,rt){var ct=w(rt/2),vt=F(1-ct*ct),St=1+vt*v(et/=2),Mt=m(et)*vt/St,Y=ct/St,ee=Mt*Mt,K=Y*Y;return[1.3333333333333333*Mt*(3+ee-3*K),1.3333333333333333*Y*(3+3*ee-K)]}function ne(){return(0,d.Z)(H).scale(66.1603)}$.invert=function(et,rt){if(!(et*et+4*rt*rt>_*_+y)){var ct=et,vt=rt,St=25;do{var Mt,Y=m(ct),ee=m(ct/2),K=v(ct/2),le=m(vt),Te=v(vt),De=m(2*vt),He=le*le,Ze=Te*Te,at=ee*ee,Tt=1-Ze*K*K,At=Tt?z(Te*K)*F(Mt=1/Tt):Mt=0,se=2*At*Te*ee-et,ve=At*le-rt,Ie=Mt*(Ze*at+At*Te*K*He),Fe=Mt*(.5*Y*De-2*At*le*ee),Ue=.25*Mt*(De*ee-At*le*Ze*Y),We=Mt*(He*K+At*at*Te),Xe=Fe*Ue-We*Ie;if(!Xe)break;var tt=(ve*Fe-se*We)/Xe,lt=(se*Ue-ve*Ie)/Xe;ct-=tt,vt-=lt}while((g(tt)>y||g(lt)>y)&&--St>0);return[ct,vt]}},H.invert=function(et,rt){if(rt*=.375,!(et*=.375)&&g(rt)>1)return null;var ct=1+et*et+rt*rt,vt=F((ct-F(ct*ct-4*rt*rt))/2),St=O(vt)/3,Mt=vt?function(le){return a(le+F(le*le-1))}(g(rt/vt))/3:function(le){return a(le+F(le*le+1))}(g(et))/3,Y=v(St),ee=N(Mt),K=ee*ee-Y*Y;return[2*c(et)*M(B(Mt)*Y,.25-K),2*c(rt)*M(ee*m(St),.25+K)]};var te=F(8),Z=a(1+A);function X(et,rt){var ct=g(rt);return ctC&&--Mt>0);return[et/(v(St)*(te-1/m(St))),c(rt)*St]};var re=t(17889);function ie(et){var rt=2*_/et;function ct(vt,St){var Mt=(0,re.N)(vt,St);if(g(vt)>k){var Y=M(Mt[1],Mt[0]),ee=F(Mt[0]*Mt[0]+Mt[1]*Mt[1]),K=rt*h((Y-k)/rt)+k,le=M(m(Y-=K),2-v(Y));Y=K+O(_/ee*m(le))-le,Mt[0]=ee*v(Y),Mt[1]=ee*m(Y)}return Mt}return ct.invert=function(vt,St){var Mt=F(vt*vt+St*St);if(Mt>k){var Y=M(St,vt),ee=rt*h((Y-k)/rt)+k,K=Y>ee?-1:1,le=Mt*v(ee-Y),Te=1/w(K*z((le-_)/F(_*(_-2*le)+Mt*Mt)));Y=ee+2*i((Te+K*F(Te*Te-3))/3),vt=Mt*v(Y),St=Mt*m(Y)}return re.N.invert(vt,St)},ct}function oe(){var et=5,rt=(0,d.r)(ie),ct=rt(et),vt=ct.stream,St=.01,Mt=-v(St*I),Y=m(St*I);return ct.lobes=function(ee){return arguments.length?rt(et=+ee):et},ct.stream=function(ee){var K=ct.rotate(),le=vt(ee),Te=(ct.rotate([0,0]),vt(ee));return ct.rotate(K),le.sphere=function(){Te.polygonStart(),Te.lineStart();for(var De=0,He=360/et,Ze=2*_/et,at=90-180/et,Tt=k;De0&&g(vt)>y);return Y<0?NaN:ct}function pe(et,rt,ct){return rt===void 0&&(rt=40),ct===void 0&&(ct=C),function(vt,St,Mt,Y){var ee,K,le;Mt=Mt===void 0?0:+Mt,Y=Y===void 0?0:+Y;for(var Te=0;Teee)Mt-=K/=2,Y-=le/=2;else{ee=at;var Tt=(Mt>0?-1:1)*ct,At=(Y>0?-1:1)*ct,se=et(Mt+Tt,Y),ve=et(Mt,Y+At),Ie=(se[0]-De[0])/Tt,Fe=(se[1]-De[1])/Tt,Ue=(ve[0]-De[0])/At,We=(ve[1]-De[1])/At,Xe=We*Ie-Fe*Ue,tt=(g(Xe)<.5?.5:1)/Xe;if(Mt+=K=(Ze*Ue-He*We)*tt,Y+=le=(He*Fe-Ze*Ie)*tt,g(K)0&&(Mt[1]*=1+Y/1.5*Mt[0]*Mt[0]),Mt}return rt.invert=pe(rt),rt}function Pe(){return(0,d.Z)(xe()).rotate([-16.5,-42]).scale(176.57).center([7.93,.09])}function _e(et,rt){var ct,vt=et*m(rt),St=30;do rt-=ct=(rt+m(rt)-vt)/(1+v(rt));while(g(ct)>y&&--St>0);return rt/2}function Me(et,rt,ct){function vt(St,Mt){return[et*St*v(Mt=_e(ct,Mt)),rt*m(Mt)]}return vt.invert=function(St,Mt){return Mt=O(Mt/rt),[St/(et*v(Mt)),O((2*Mt+m(2*Mt))/ct)]},vt}ye.invert=function(et,rt){var ct=2*O(rt/2);return[et*v(ct/2)/v(ct),ct]};var Se=Me(A/k,A,_);function Ce(){return(0,d.Z)(Se).scale(169.529)}var ae=2.00276,fe=1.11072;function be(et,rt){var ct=_e(_,rt);return[ae*et/(1/v(rt)+fe/v(ct)),(rt+A*m(ct))/ae]}function ke(){return(0,d.Z)(be).scale(160.857)}function Le(et){var rt=0,ct=(0,d.r)(et),vt=ct(rt);return vt.parallel=function(St){return arguments.length?ct(rt=St*I):rt*R},vt}function Be(et,rt){return[et*v(rt),rt]}function ze(){return(0,d.Z)(Be).scale(152.63)}function je(et){if(!et)return Be;var rt=1/w(et);function ct(vt,St){var Mt=rt+et-St,Y=Mt&&vt*v(St)/Mt;return[Mt*m(Y),rt-Mt*v(Y)]}return ct.invert=function(vt,St){var Mt=F(vt*vt+(St=rt-St)*St),Y=rt+et-Mt;return[Mt/v(Y)*M(vt,St),Y]},ct}function ge(){return Le(je).scale(123.082).center([0,26.1441]).parallel(45)}function we(et){function rt(ct,vt){var St=k-vt,Mt=St&&ct*et*m(St)/St;return[St*m(Mt)/et,k-St*v(Mt)]}return rt.invert=function(ct,vt){var St=ct*et,Mt=k-vt,Y=F(St*St+Mt*Mt),ee=M(St,Mt);return[(Y?Y/m(Y):1)*ee/et,k-Y]},rt}function Ee(){var et=.5,rt=(0,d.r)(we),ct=rt(et);return ct.fraction=function(vt){return arguments.length?rt(et=+vt):et},ct.scale(158.837)}be.invert=function(et,rt){var ct,vt,St=ae*rt,Mt=rt<0?-E:E,Y=25;do vt=St-A*m(Mt),Mt-=ct=(m(2*Mt)+2*Mt-_*m(vt))/(2*v(2*Mt)+2+_*v(vt)*A*v(Mt));while(g(ct)>y&&--Y>0);return vt=St-A*m(Mt),[et*(1/v(vt)+fe/v(Mt))/ae,vt]},Be.invert=function(et,rt){return[et/v(rt),rt]};var Ve=Me(1,4/_,_);function $e(){return(0,d.Z)(Ve).scale(152.63)}var Ye=t(66624),st=t(49386);function ot(et,rt,ct,vt,St,Mt){var Y,ee=v(Mt);if(g(et)>1||g(Mt)>1)Y=z(ct*St+rt*vt*ee);else{var K=m(et/2),le=m(Mt/2);Y=2*O(F(K*K+rt*vt*le*le))}return g(Y)>y?[Y,M(vt*m(Mt),rt*St-ct*vt*ee)]:[0,0]}function ht(et,rt,ct){return z((et*et+rt*rt-ct*ct)/(2*et*rt))}function bt(et){return et-2*_*l((et+_)/(2*_))}function Et(et,rt,ct){for(var vt,St=[[et[0],et[1],m(et[1]),v(et[1])],[rt[0],rt[1],m(rt[1]),v(rt[1])],[ct[0],ct[1],m(ct[1]),v(ct[1])]],Mt=St[2],Y=0;Y<3;++Y,Mt=vt)vt=St[Y],Mt.v=ot(vt[1]-Mt[1],Mt[3],Mt[2],vt[3],vt[2],vt[0]-Mt[0]),Mt.point=[0,0];var ee=ht(St[0].v[0],St[2].v[0],St[1].v[0]),K=ht(St[0].v[0],St[1].v[0],St[2].v[0]),le=_-ee;St[2].point[1]=0,St[0].point[0]=-(St[1].point[0]=St[0].v[0]/2);var Te=[St[2].point[0]=St[0].point[0]+St[2].v[0]*v(ee),2*(St[0].point[1]=St[1].point[1]=St[2].v[0]*m(ee))];return function(De,He){var Ze,at=m(He),Tt=v(He),At=new Array(3);for(Ze=0;Ze<3;++Ze){var se=St[Ze];if(At[Ze]=ot(He-se[1],se[3],se[2],Tt,at,De-se[0]),!At[Ze][0])return se.point;At[Ze][1]=bt(At[Ze][1]-se.v[1])}var ve=Te.slice();for(Ze=0;Ze<3;++Ze){var Ie=Ze==2?0:Ze+1,Fe=ht(St[Ze].v[0],At[Ze][0],At[Ie][0]);At[Ze][1]<0&&(Fe=-Fe),Ze?Ze==1?(Fe=K-Fe,ve[0]-=At[Ze][0]*v(Fe),ve[1]-=At[Ze][0]*m(Fe)):(Fe=le-Fe,ve[0]+=At[Ze][0]*v(Fe),ve[1]+=At[Ze][0]*m(Fe)):(ve[0]+=At[Ze][0]*v(Fe),ve[1]-=At[Ze][0]*m(Fe))}return ve[0]/=3,ve[1]/=3,ve}}function kt(et){return et[0]*=I,et[1]*=I,et}function xt(){return Ft([0,22],[45,22],[22.5,-22]).scale(380).center([22.5,2])}function Ft(et,rt,ct){var vt=(0,Ye.Z)({type:"MultiPoint",coordinates:[et,rt,ct]}),St=[-vt[0],-vt[1]],Mt=(0,st.Z)(St),Y=Et(kt(Mt(et)),kt(Mt(rt)),kt(Mt(ct)));Y.invert=pe(Y);var ee=(0,d.Z)(Y).rotate(St),K=ee.center;return delete ee.rotate,ee.center=function(le){return arguments.length?K(Mt(le)):Mt.invert(K())},ee.clipAngle(90)}function Ot(et,rt){var ct=F(1-m(rt));return[2/L*et*ct,L*(1-ct)]}function Bt(){return(0,d.Z)(Ot).scale(95.6464).center([0,30])}function qt(et){var rt=w(et);function ct(vt,St){return[vt,(vt?vt/m(vt):1)*(m(St)*v(vt)-rt*v(St))]}return ct.invert=rt?function(vt,St){vt&&(St*=m(vt)/vt);var Mt=v(vt);return[vt,2*M(F(Mt*Mt+rt*rt-St*St)-Mt,rt-St)]}:function(vt,St){return[vt,O(vt?St*w(vt)/vt:St)]},ct}function Vt(){return Le(qt).scale(249.828).clipAngle(90)}Ot.invert=function(et,rt){var ct=(ct=rt/L-1)*ct;return[ct>0?et*F(_/ct)/2:0,O(1-ct)]};var Ke=F(3);function Je(et,rt){return[Ke*et*(2*v(2*rt/3)-1)/L,Ke*L*m(rt/3)]}function qe(){return(0,d.Z)(Je).scale(156.19)}function nt(et){var rt=v(et);function ct(vt,St){return[vt*rt,m(St)/rt]}return ct.invert=function(vt,St){return[vt/rt,O(St*rt)]},ct}function ft(){return Le(nt).parallel(38.58).scale(195.044)}function Re(et){var rt=v(et);function ct(vt,St){return[vt*rt,(1+rt)*w(St/2)]}return ct.invert=function(vt,St){return[vt/rt,2*i(St/(1+rt))]},ct}function Ne(){return Le(Re).scale(124.75)}function Qe(et,rt){var ct=F(8/(3*_));return[ct*et*(1-g(rt)/_),ct*rt]}function ut(){return(0,d.Z)(Qe).scale(165.664)}function dt(et,rt){var ct=F(4-3*m(g(rt)));return[2/F(6*_)*et*ct,c(rt)*F(2*_/3)*(2-ct)]}function _t(){return(0,d.Z)(dt).scale(165.664)}function It(et,rt){var ct=F(_*(4+_));return[2/ct*et*(1+F(1-4*rt*rt/(_*_))),4/ct*rt]}function Lt(){return(0,d.Z)(It).scale(180.739)}function yt(et,rt){var ct=(2+k)*m(rt);rt/=2;for(var vt=0,St=1/0;vt<10&&g(St)>y;vt++){var Mt=v(rt);rt-=St=(rt+m(rt)*(Mt+2)-ct)/(2*Mt*(1+Mt))}return[2/F(_*(4+_))*et*(1+v(rt)),2*F(_/(4+_))*m(rt)]}function Pt(){return(0,d.Z)(yt).scale(180.739)}function wt(et,rt){return[et*(1+v(rt))/F(2+_),2*rt/F(2+_)]}function Rt(){return(0,d.Z)(wt).scale(173.044)}function Nt(et,rt){for(var ct=(1+k)*m(rt),vt=0,St=1/0;vt<10&&g(St)>y;vt++)rt-=St=(rt+m(rt)-ct)/(1+v(rt));return ct=F(2+_),[et*(1+v(rt))/ct,2*rt/ct]}function Yt(){return(0,d.Z)(Nt).scale(173.044)}Je.invert=function(et,rt){var ct=3*O(rt/(Ke*L));return[L*et/(Ke*(2*v(2*ct/3)-1)),ct]},Qe.invert=function(et,rt){var ct=F(8/(3*_)),vt=rt/ct;return[et/(ct*(1-g(vt)/_)),vt]},dt.invert=function(et,rt){var ct=2-g(rt)/F(2*_/3);return[et*F(6*_)/(2*ct),c(rt)*O((4-ct*ct)/3)]},It.invert=function(et,rt){var ct=F(_*(4+_))/2;return[et*ct/(1+F(1-rt*rt*(4+_)/(4*_))),rt*ct/2]},yt.invert=function(et,rt){var ct=rt*F((4+_)/_)/2,vt=O(ct),St=v(vt);return[et/(2/F(_*(4+_))*(1+St)),O((vt+ct*(St+2))/(2+k))]},wt.invert=function(et,rt){var ct=F(2+_),vt=rt*ct/2;return[ct*et/(1+v(vt)),vt]},Nt.invert=function(et,rt){var ct=1+k,vt=F(ct/2);return[2*et*vt/(1+v(rt*=vt)),O((rt+m(rt))/ct)]};var Wt=3+2*A;function Xt(et,rt){var ct=m(et/=2),vt=v(et),St=F(v(rt)),Mt=v(rt/=2),Y=m(rt)/(Mt+A*vt*St),ee=F(2/(1+Y*Y)),K=F((A*Mt+(vt+ct)*St)/(A*Mt+(vt-ct)*St));return[Wt*(ee*(K-1/K)-2*a(K)),Wt*(ee*Y*(K+1/K)-2*i(Y))]}function Qt(){return(0,d.Z)(Xt).scale(62.5271)}Xt.invert=function(et,rt){if(!(ct=H.invert(et/1.2,1.065*rt)))return null;var ct,vt=ct[0],St=ct[1],Mt=20;et/=Wt,rt/=Wt;do{var Y=vt/2,ee=St/2,K=m(Y),le=v(Y),Te=m(ee),De=v(ee),He=v(St),Ze=F(He),at=Te/(De+A*le*Ze),Tt=at*at,At=F(2/(1+Tt)),se=(A*De+(le+K)*Ze)/(A*De+(le-K)*Ze),ve=F(se),Ie=ve-1/ve,Fe=ve+1/ve,Ue=At*Ie-2*a(ve)-et,We=At*at*Fe-2*i(at)-rt,Xe=Te&&x*Ze*K*Tt/Te,tt=(A*le*De+Ze)/(2*(De+A*le*Ze)*(De+A*le*Ze)*Ze),lt=-.5*at*At*At*At,mt=lt*Xe,zt=lt*tt,Ut=(Ut=2*De+A*Ze*(le-K))*Ut*ve,Ht=(A*le*De*Ze+He)/Ut,en=-A*K*Te/(Ze*Ut),vn=Ie*mt-2*Ht/ve+At*(Ht+Ht/se),tn=Ie*zt-2*en/ve+At*(en+en/se),ln=at*Fe*mt-2*Xe/(1+Tt)+At*Fe*Xe+At*at*(Ht-Ht/se),an=at*Fe*zt-2*tt/(1+Tt)+At*Fe*tt+At*at*(en-en/se),Cn=tn*ln-an*vn;if(!Cn)break;var _n=(We*tn-Ue*an)/Cn,on=(Ue*ln-We*vn)/Cn;vt-=_n,St=u(-k,o(k,St-on))}while((g(_n)>y||g(on)>y)&&--Mt>0);return g(g(St)-k)vt){var De=F(Te),He=M(le,K),Ze=ct*h(He/ct),at=He-Ze,Tt=et*v(at),At=(et*m(at)-at*m(Tt))/(k-Tt),se=Gn(at,At),ve=(_-et)/qn(se,Tt,_);K=De;var Ie,Fe=50;do K-=Ie=(et+qn(se,Tt,K)*ve-De)/(se(K)*ve);while(g(Ie)>y&&--Fe>0);le=at*m(K),Kvt){var K=F(ee),le=M(Y,Mt),Te=ct*h(le/ct),De=le-Te;Mt=K*v(De),Y=K*m(De);for(var He=Mt-k,Ze=m(Mt),at=Y/Ze,Tt=Mty||g(He)>y)&&--Tt>0);return[Ze,at]},K}var Sr=rr(2.8284,-1.6988,.75432,-.18071,1.76003,-.38914,.042555);function yr(){return(0,d.Z)(Sr).scale(149.995)}var or=rr(2.583819,-.835827,.170354,-.038094,1.543313,-.411435,.082742);function vr(){return(0,d.Z)(or).scale(153.93)}var _r=rr(5/6*_,-.62636,-.0344,0,1.3493,-.05524,0,.045);function Kt(){return(0,d.Z)(_r).scale(130.945)}function bn(et,rt){var ct=et*et,vt=rt*rt;return[et*(1-.162388*vt)*(.87-952426e-9*ct*ct),rt*(1+vt/12)]}function Rn(){return(0,d.Z)(bn).scale(131.747)}bn.invert=function(et,rt){var ct,vt=et,St=rt,Mt=50;do{var Y=St*St;St-=ct=(St*(1+Y/12)-rt)/(1+Y/4)}while(g(ct)>y&&--Mt>0);Mt=50,et/=1-.162388*Y;do{var ee=(ee=vt*vt)*ee;vt-=ct=(vt*(.87-952426e-9*ee)-et)/(.87-.00476213*ee)}while(g(ct)>y&&--Mt>0);return[vt,St]};var Ln=rr(2.6516,-.76534,.19123,-.047094,1.36289,-.13965,.031762);function Un(){return(0,d.Z)(Ln).scale(131.087)}function Kn(et){var rt=et(k,0)[0]-et(-k,0)[0];function ct(vt,St){var Mt=vt>0?-.5:.5,Y=et(vt+Mt*_,St);return Y[0]-=Mt*rt,Y}return et.invert&&(ct.invert=function(vt,St){var Mt=vt>0?-.5:.5,Y=et.invert(vt+Mt*rt,St),ee=Y[0]-Mt*_;return ee<-_?ee+=2*_:ee>_&&(ee-=2*_),Y[0]=ee,Y}),ct}function $n(et,rt){var ct=c(et),vt=c(rt),St=v(rt),Mt=v(et)*St,Y=m(et)*St,ee=m(vt*rt);et=g(M(Y,ee)),rt=O(Mt),g(et-k)>y&&(et%=k);var K=function(le,Te){if(Te===k)return[0,0];var De,He,Ze=m(Te),at=Ze*Ze,Tt=at*at,At=1+Tt,se=1+3*Tt,ve=1-Tt,Ie=O(1/F(At)),Fe=ve+at*At*Ie,Ue=(1-Ze)/Fe,We=F(Ue),Xe=Ue*At,tt=F(Xe),lt=We*ve;if(le===0)return[0,-(lt+at*tt)];var mt,zt=v(Te),Ut=1/zt,Ht=2*Ze*zt,en=(-Fe*zt-(-3*at+Ie*se)*Ht*(1-Ze))/(Fe*Fe),vn=-Ut*Ht,tn=-Ut*(at*At*en+Ue*se*Ht),ln=-2*Ut*(ve*(.5*en/We)-2*at*We*Ht),an=4*le/_;if(le>.222*_||Te<_/4&&le>.175*_){if(De=(lt+at*F(Xe*(1+Tt)-lt*lt))/(1+Tt),le>_/4)return[De,De];var Cn=De,_n=.5*De;De=.5*(_n+Cn),He=50;do{var on=De*(ln+vn*F(Xe-De*De))+tn*O(De/tt)-an;if(!on)break;on<0?_n=De:Cn=De,De=.5*(_n+Cn)}while(g(Cn-_n)>y&&--He>0)}else{De=y,He=25;do{var Fn=De*De,Hn=F(Xe-Fn),ir=ln+vn*Hn,ar=De*ir+tn*O(De/tt)-an;De-=mt=Hn?ar/(ir+(tn-vn*Fn)/Hn):0}while(g(mt)>y&&--He>0)}return[De,-lt-at*F(Xe-De*De)]}(et>_/4?k-et:et,rt);return et>_/4&&(ee=K[0],K[0]=-K[1],K[1]=-ee),K[0]*=ct,K[1]*=-vt,K}function tr(){return(0,d.Z)(Kn($n)).scale(239.75)}function mr(et,rt){var ct,vt,St,Mt,Y,ee;if(rt=.999999)return ct=(1-rt)/4,St=1/(vt=N(et)),[(Mt=((ee=f(2*(ee=et)))-1)/(ee+1))+ct*((Y=vt*B(et))-et)/(vt*vt),St-ct*Mt*St*(Y-et),St+ct*Mt*St*(Y+et),2*i(f(et))-k+ct*(Y-et)/vt];var K=[1,0,0,0,0,0,0,0,0],le=[F(rt),0,0,0,0,0,0,0,0],Te=0;for(vt=F(1-rt),Y=1;g(le[Te]/K[Te])>y&&Te<8;)ct=K[Te++],le[Te]=(ct-vt)/2,K[Te]=(ct+vt)/2,vt=F(ct*vt),Y*=2;St=Y*K[Te]*et;do St=(O(Mt=le[Te]*m(vt=St)/K[Te])+St)/2;while(--Te);return[m(St),Mt=v(St),Mt/v(St-vt),St]}function nn(et,rt){if(!rt)return et;if(rt===1)return a(w(et/2+E));for(var ct=1,vt=F(1-rt),St=F(rt),Mt=0;g(St)>y;Mt++){if(et%_){var Y=i(vt*w(et)/ct);Y<0&&(Y+=_),et+=Y+~~(et/_)*_}else et+=et;St=(ct+vt)/2,vt=F(ct*vt),St=((ct=St)-vt)/2}return et/(s(2,Mt)*ct)}function Pn(et,rt){var ct=(A-1)/(A+1),vt=F(1-ct*ct),St=nn(k,vt*vt),Mt=a(w(_/4+g(rt)/2)),Y=f(-1*Mt)/F(ct),ee=function(le,Te){var De=le*le,He=Te+1,Ze=1-De-Te*Te;return[.5*((le>=0?k:-k)-M(Ze,2*le)),-.25*a(Ze*Ze+4*De)+.5*a(He*He+De)]}(Y*v(-1*et),Y*m(-1*et)),K=function(le,Te,De){var He=g(le),Ze=B(g(Te));if(He){var at=1/m(He),Tt=1/(w(He)*w(He)),At=-(Tt+De*(Ze*Ze*at*at)-1+De),se=(-At+F(At*At-(De-1)*Tt*4))/2;return[nn(i(1/F(se)),De)*c(le),nn(i(F((se/Tt-1)/De)),1-De)*c(Te)]}return[0,nn(i(Ze),1-De)*c(Te)]}(ee[0],ee[1],vt*vt);return[-K[1],(rt>=0?1:-1)*(.5*St-K[0])]}function jt(){return(0,d.Z)(Kn(Pn)).scale(151.496)}$n.invert=function(et,rt){g(et)>1&&(et=2*c(et)-et),g(rt)>1&&(rt=2*c(rt)-rt);var ct=c(et),vt=c(rt),St=-ct*et,Mt=-vt*rt,Y=Mt/St<1,ee=function(De,He){for(var Ze=0,at=1,Tt=.5,At=50;;){var se=Tt*Tt,ve=F(Tt),Ie=O(1/F(1+se)),Fe=1-se+Tt*(1+se)*Ie,Ue=(1-ve)/Fe,We=F(Ue),Xe=Ue*(1+se),tt=We*(1-se),lt=F(Xe-De*De),mt=He+tt+Tt*lt;if(g(at-Ze)0?Ze=Tt:at=Tt,Tt=.5*(Ze+at)}if(!At)return null;var zt=O(ve),Ut=v(zt),Ht=1/Ut,en=2*ve*Ut,vn=(-Fe*Ut-(-3*Tt+Ie*(1+3*se))*en*(1-ve))/(Fe*Fe);return[_/4*(De*(-2*Ht*(.5*vn/We*(1-se)-2*Tt*We*en)+-Ht*en*lt)+-Ht*(Tt*(1+se)*vn+Ue*(1+3*se)*en)*O(De/F(Xe))),zt]}(Y?Mt:St,Y?St:Mt),K=ee[0],le=ee[1],Te=v(le);return Y&&(K=-k-K),[ct*(M(m(K)*Te,-m(le))+_),vt*O(v(K)*Te)]},Pn.invert=function(et,rt){var ct,vt,St,Mt,Y,ee,K=(A-1)/(A+1),le=F(1-K*K),Te=(vt=-et,St=le*le,(ct=.5*nn(k,le*le)-rt)?(Mt=mr(ct,St),vt?(ee=(Y=mr(vt,1-St))[1]*Y[1]+St*Mt[0]*Mt[0]*Y[0]*Y[0],[[Mt[0]*Y[2]/ee,Mt[1]*Mt[2]*Y[0]*Y[1]/ee],[Mt[1]*Y[1]/ee,-Mt[0]*Mt[2]*Y[0]*Y[2]/ee],[Mt[2]*Y[1]*Y[2]/ee,-St*Mt[0]*Mt[1]*Y[0]/ee]]):[[Mt[0],0],[Mt[1],0],[Mt[2],0]]):[[0,(Y=mr(vt,1-St))[0]/Y[1]],[1/Y[1],0],[Y[2]/Y[1],0]]),De=function(He,Ze){var at=Ze[0]*Ze[0]+Ze[1]*Ze[1];return[(He[0]*Ze[0]+He[1]*Ze[1])/at,(He[1]*Ze[0]-He[0]*Ze[1])/at]}(Te[0],Te[1]);return[M(De[1],De[0])/-1,2*i(f(-.5*a(K*De[0]*De[0]+K*De[1]*De[1])))-k]};var Jt=t(7613);function hn(et){var rt=m(et),ct=v(et),vt=zn(et);function St(Mt,Y){var ee=vt(Mt,Y);Mt=ee[0],Y=ee[1];var K=m(Y),le=v(Y),Te=v(Mt),De=z(rt*K+ct*le*Te),He=m(De),Ze=g(He)>y?De/He:1;return[Ze*ct*m(Mt),(g(Mt)>k?Ze:-Ze)*(rt*le-ct*K*Te)]}return vt.invert=zn(-et),St.invert=function(Mt,Y){var ee=F(Mt*Mt+Y*Y),K=-m(ee),le=v(ee),Te=ee*le,De=-Y*K,He=ee*rt,Ze=F(Te*Te+De*De-He*He),at=M(Te*He+De*Ze,De*He-Te*Ze),Tt=(ee>k?-1:1)*M(Mt*K,ee*v(at)*le+Y*m(at)*K);return vt.invert(Tt,at)},St}function zn(et){var rt=m(et),ct=v(et);return function(vt,St){var Mt=v(St),Y=v(vt)*Mt,ee=m(vt)*Mt,K=m(St);return[M(ee,Y*ct-K*rt),O(K*ct+Y*rt)]}}function On(){var et=0,rt=(0,d.r)(hn),ct=rt(et),vt=ct.rotate,St=ct.stream,Mt=(0,Jt.Z)();return ct.parallel=function(Y){if(!arguments.length)return et*R;var ee=ct.rotate();return rt(et=Y*I).rotate(ee)},ct.rotate=function(Y){return arguments.length?(vt.call(ct,[Y[0],Y[1]-et*R]),Mt.center([-Y[0],-Y[1]]),ct):((Y=vt.call(ct))[1]+=et*R,Y)},ct.stream=function(Y){return(Y=St(Y)).sphere=function(){Y.polygonStart();var ee,K=Mt.radius(89.99)().coordinates[0],le=K.length-1,Te=-1;for(Y.lineStart();++Te=0;)Y.point((ee=K[Te])[0],ee[1]);Y.lineEnd(),Y.polygonEnd()},Y},ct.scale(79.4187).parallel(45).clipAngle(179.999)}var En=t(33064),mn=t(72736),wn=O(1-1/3)*R,gn=nt(0);function yn(et){var rt=wn*I,ct=Ot(_,rt)[0]-Ot(-_,rt)[0],vt=gn(0,rt)[1],St=Ot(0,rt)[1],Mt=L-St,Y=b/et,ee=4/b,K=vt+Mt*Mt*4/b;function le(Te,De){var He,Ze=g(De);if(Ze>rt){var at=o(et-1,u(0,l((Te+_)/Y)));(He=Ot(Te+=_*(et-1)/et-at*Y,Ze))[0]=He[0]*b/ct-b*(et-1)/(2*et)+at*b/et,He[1]=vt+4*(He[1]-St)*Mt/b,De<0&&(He[1]=-He[1])}else He=gn(Te,De);return He[0]*=ee,He[1]/=K,He}return le.invert=function(Te,De){Te/=ee;var He=g(De*=K);if(He>vt){var Ze=o(et-1,u(0,l((Te+_)/Y)));Te=(Te+_*(et-1)/et-Ze*Y)*ct/b;var at=Ot.invert(Te,.25*(He-vt)*b/Mt+St);return at[0]-=_*(et-1)/et-Ze*Y,De<0&&(at[1]=-at[1]),at}return gn.invert(Te,De)},le}function Sn(et,rt){return[et,1&rt?89.999999:wn]}function Vn(et,rt){return[et,1&rt?-89.999999:-wn]}function Xn(et){return[.999999*et[0],et[1]]}function nr(){var et=4,rt=(0,d.r)(yn),ct=rt(et),vt=ct.stream;return ct.lobes=function(St){return arguments.length?rt(et=+St):et},ct.stream=function(St){var Mt=ct.rotate(),Y=vt(St),ee=(ct.rotate([0,0]),vt(St));return ct.rotate(Mt),Y.sphere=function(){var K,le;(0,mn.Z)((K=180/et,le=[].concat((0,En.w6)(-180,180+K/2,K).map(Sn),(0,En.w6)(180,-180-K/2,-K).map(Vn)),{type:"Polygon",coordinates:[K===180?le.map(Xn):le]}),ee)},Y},ct.scale(239.75)}function Qn(et){var rt,ct=1+et,vt=O(m(1/ct)),St=2*F(_/(rt=_+4*vt*ct)),Mt=.5*St*(ct+F(et*(2+et))),Y=et*et,ee=ct*ct;function K(le,Te){var De,He,Ze=1-m(Te);if(Ze&&Ze<2){var at,Tt=k-Te,At=25;do{var se=m(Tt),ve=v(Tt),Ie=vt+M(se,ct-ve),Fe=1+ee-2*ct*ve;Tt-=at=(Tt-Y*vt-ct*se+Fe*Ie-.5*Ze*rt)/(2*ct*se*Ie)}while(g(at)>C&&--At>0);De=St*F(Fe),He=le*Ie/_}else De=St*(et+Ze),He=le*vt/_;return[De*m(He),Mt-De*v(He)]}return K.invert=function(le,Te){var De=le*le+(Te-=Mt)*Te,He=(1+ee-De/(St*St))/(2*ct),Ze=z(He),at=m(Ze),Tt=vt+M(at,ct-He);return[O(le/F(De))*_/Tt,O(1-2*(Ze-Y*vt-ct*at+(1+ee-2*ct*He)*Tt)/rt)]},K}function hr(){var et=1,rt=(0,d.r)(Qn),ct=rt(et);return ct.ratio=function(vt){return arguments.length?rt(et=+vt):et},ct.scale(167.774).center([0,18.67])}var cr=.7109889596207567,pr=.0528035274542;function dr(et,rt){return rt>-cr?((et=Se(et,rt))[1]+=pr,et):Be(et,rt)}function br(){return(0,d.Z)(dr).rotate([-20,-55]).scale(164.263).center([0,-5.4036])}function Rr(et,rt){return g(rt)>cr?((et=Se(et,rt))[1]-=rt>0?pr:-pr,et):Be(et,rt)}function Lr(){return(0,d.Z)(Rr).scale(152.63)}function zr(et,rt,ct,vt){var St=F(4*_/(2*ct+(1+et-rt/2)*m(2*ct)+(et+rt)/2*m(4*ct)+rt/2*m(6*ct))),Mt=F(vt*m(ct)*F((1+et*v(2*ct)+rt*v(4*ct))/(1+et+rt))),Y=ct*K(1);function ee(De){return F(1+et*v(2*De)+rt*v(4*De))}function K(De){var He=De*ct;return(2*He+(1+et-rt/2)*m(2*He)+(et+rt)/2*m(4*He)+rt/2*m(6*He))/ct}function le(De){return ee(De)*m(De)}var Te=function(De,He){var Ze=ct*me(K,Y*m(He)/ct,He/_);isNaN(Ze)&&(Ze=ct*c(He));var at=St*ee(Ze);return[at*Mt*De/_*v(Ze),at/Mt*m(Ze)]};return Te.invert=function(De,He){var Ze=me(le,He*Mt/St);return[De*_/(v(Ze)*St*Mt*ee(Ze)),O(ct*K(Ze/ct)/Y)]},ct===0&&(St=F(vt/_),(Te=function(De,He){return[De*St,m(He)/St]}).invert=function(De,He){return[De/St,O(He*St)]}),Te}function gr(){var et=1,rt=0,ct=45*I,vt=2,St=(0,d.r)(zr),Mt=St(et,rt,ct,vt);return Mt.a=function(Y){return arguments.length?St(et=+Y,rt,ct,vt):et},Mt.b=function(Y){return arguments.length?St(et,rt=+Y,ct,vt):rt},Mt.psiMax=function(Y){return arguments.length?St(et,rt,ct=+Y*I,vt):ct*R},Mt.ratio=function(Y){return arguments.length?St(et,rt,ct,vt=+Y):vt},Mt.scale(180.739)}function Fr(et,rt,ct,vt,St,Mt,Y,ee,K,le,Te){if(Te.nanEncountered)return NaN;var De,He,Ze,at,Tt,At,se,ve,Ie,Fe;if(He=et(rt+.25*(De=ct-rt)),Ze=et(ct-.25*De),isNaN(He))Te.nanEncountered=!0;else{if(!isNaN(Ze))return Fe=((At=(at=De*(vt+4*He+St)/12)+(Tt=De*(St+4*Ze+Mt)/12))-Y)/15,le>K?(Te.maxDepthCount++,At+Fe):Math.abs(Fe)Ze?Tt=At:at=At,At=at+Tt>>1;while(At>at);var se=K[At+1]-K[At];return se&&(se=(Ze-K[At+1])/se),(At+1+se)/Y}var De=2*Te(1)/_*Mt/ct,He=function(Ze,at){var Tt=Te(g(m(at))),At=vt(Tt)*Ze;return Tt/=De,[At,at>=0?Tt:-Tt]};return He.invert=function(Ze,at){var Tt;return g(at*=De)<1&&(Tt=c(at)*O(St(g(at))*Mt)),[Ze/vt(g(at)),Tt]},He}function ea(){var et=0,rt=2.5,ct=1.183136,vt=(0,d.r)(ji),St=vt(et,rt,ct);return St.alpha=function(Mt){return arguments.length?vt(et=+Mt,rt,ct):et},St.k=function(Mt){return arguments.length?vt(et,rt=+Mt,ct):rt},St.gamma=function(Mt){return arguments.length?vt(et,rt,ct=+Mt):ct},St.scale(152.63)}function sa(et,rt){return g(et[0]-rt[0])=0;--ee)ct=(rt=et[1][ee])[0][0],vt=rt[0][1],St=rt[1][1],Mt=rt[2][0],Y=rt[2][1],K.push(co([[Mt-y,Y-y],[Mt-y,St+y],[ct+y,St+y],[ct+y,vt-y]],30));return{type:"Polygon",coordinates:[(0,En.TS)(K)]}}function Xi(et,rt,ct){var vt,St;function Mt(K,le){for(var Te=le<0?-1:1,De=rt[+(le<0)],He=0,Ze=De.length-1;HeDe[He][2][0];++He);var at=et(K-De[He][1][0],le);return at[0]+=et(De[He][1][0],Te*le>Te*De[He][0][1]?De[He][0][1]:le)[0],at}ct?Mt.invert=ct(Mt):et.invert&&(Mt.invert=function(K,le){for(var Te=St[+(le<0)],De=rt[+(le<0)],He=0,Ze=Te.length;HeTt&&(De=at,at=Tt,Tt=De),[[He,at],[Ze,Tt]]})}),Y):rt.map(function(le){return le.map(function(Te){return[[Te[0][0]*R,Te[0][1]*R],[Te[1][0]*R,Te[1][1]*R],[Te[2][0]*R,Te[2][1]*R]]})})},rt!=null&&Y.lobes(rt),Y}dr.invert=function(et,rt){return rt>-cr?Se.invert(et,rt-pr):Be.invert(et,rt)},Rr.invert=function(et,rt){return g(rt)>cr?Se.invert(et,rt+(rt>0?pr:-pr)):Be.invert(et,rt)};var Do=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function rs(){return Xi(be,Do).scale(160.857)}var el=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function Cu(){return Xi(Rr,el).scale(152.63)}var gf=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function Mh(){return Xi(Se,gf).scale(169.529)}var Eu=[[[[-180,0],[-90,90],[0,0]],[[0,0],[90,90],[180,0]]],[[[-180,0],[-90,-90],[0,0]],[[0,0],[90,-90],[180,0]]]];function is(){return Xi(Se,Eu).scale(169.529).rotate([20,0])}var Ah=[[[[-180,35],[-30,90],[0,35]],[[0,35],[30,90],[180,35]]],[[[-180,-10],[-102,-90],[-65,-10]],[[-65,-10],[5,-90],[77,-10]],[[77,-10],[103,-90],[180,-10]]]];function Ya(){return Xi(dr,Ah,pe).rotate([-20,-55]).scale(164.263).center([0,-5.4036])}var hc=[[[[-180,0],[-110,90],[-40,0]],[[-40,0],[0,90],[40,0]],[[40,0],[110,90],[180,0]]],[[[-180,0],[-110,-90],[-40,0]],[[-40,0],[0,-90],[40,0]],[[40,0],[110,-90],[180,0]]]];function Yo(){return Xi(Be,hc).scale(152.63).rotate([-20,0])}function as(et,rt){return[3/b*et*F(_*_/3-rt*rt),rt]}function Al(){return(0,d.Z)(as).scale(158.837)}function Ui(et){function rt(ct,vt){if(g(g(vt)-k)2)return null;var Mt=(ct/=2)*ct,Y=(vt/=2)*vt,ee=2*vt/(1+Mt+Y);return ee=s((1+ee)/(1-ee),1/et),[M(2*ct,1-Mt-Y)/et,O((ee-1)/(ee+1))]},rt}function Sl(){var et=.5,rt=(0,d.r)(Ui),ct=rt(et);return ct.spacing=function(vt){return arguments.length?rt(et=+vt):et},ct.scale(124.75)}as.invert=function(et,rt){return[b/3*et/F(_*_/3-rt*rt),rt]};var ps=_/A;function Es(et,rt){return[et*(1+F(v(rt)))/2,rt/(v(rt/2)*v(et/6))]}function js(){return(0,d.Z)(Es).scale(97.2672)}function fc(et,rt){var ct=et*et,vt=rt*rt;return[et*(.975534+vt*(-.0143059*ct-.119161+-.0547009*vt)),rt*(1.00384+ct*(.0802894+-.02855*vt+199025e-9*ct)+vt*(.0998909+-.0491032*vt))]}function vf(){return(0,d.Z)(fc).scale(139.98)}function tl(et,rt){return[m(et)/v(rt),w(rt)*v(et)]}function yf(){return(0,d.Z)(tl).scale(144.049).clipAngle(89.999)}function bf(et){var rt=v(et),ct=w(E+et/2);function vt(St,Mt){var Y=Mt-et,ee=g(Y)=0;)He=(De=et[Te])[0]+K*(Mt=He)-le*Ze,Ze=De[1]+K*Ze+le*Mt;return[He=K*(Mt=He)-le*Ze,Ze=K*Ze+le*Mt]}return ct.invert=function(vt,St){var Mt=20,Y=vt,ee=St;do{for(var K,le=rt,Te=et[le],De=Te[0],He=Te[1],Ze=0,at=0;--le>=0;)Ze=De+Y*(K=Ze)-ee*at,at=He+Y*at+ee*K,De=(Te=et[le])[0]+Y*(K=De)-ee*He,He=Te[1]+Y*He+ee*K;var Tt,At,se=(Ze=De+Y*(K=Ze)-ee*at)*Ze+(at=He+Y*at+ee*K)*at;Y-=Tt=((De=Y*(K=De)-ee*He-vt)*Ze+(He=Y*He+ee*K-St)*at)/se,ee-=At=(He*Ze-De*at)/se}while(g(Tt)+g(At)>1e-12&&--Mt>0);if(Mt){var ve=F(Y*Y+ee*ee),Ie=2*i(.5*ve),Fe=m(Ie);return[M(Y*Fe,ve*v(Ie)),ve?O(ee*Fe/ve):0]}},ct}Es.invert=function(et,rt){var ct=g(et),vt=g(rt),St=y,Mt=k;vty||g(At)>y)&&--St>0);return St&&[ct,vt]},tl.invert=function(et,rt){var ct=et*et,vt=rt*rt+1,St=ct+vt,Mt=et?x*F((St-F(St*St-4*ct))/ct):1/F(vt);return[O(et*Mt),c(rt)*z(Mt)]},Sh.invert=function(et,rt){return[et,2.5*i(f(.8*rt))-.625*_]};var nl=[[.9972523,0],[.0052513,-.0041175],[.0074606,.0048125],[-.0153783,-.1968253],[.0636871,-.1408027],[.3660976,-.2937382]],rl=[[.98879,0],[0,0],[-.050909,0],[0,0],[.075528,0]],Lu=[[.984299,0],[.0211642,.0037608],[-.1036018,-.0575102],[-.0329095,-.0320119],[.0499471,.1223335],[.026046,.0899805],[7388e-7,-.1435792],[.0075848,-.1334108],[-.0216473,.0776645],[-.0225161,.0853673]],il=[[.9245,0],[0,0],[.01943,0]],Eh=[[.721316,0],[0,0],[-.00881625,-.00617325]];function Lh(){return Ql(nl,[152,-64]).scale(1400).center([-160.908,62.4864]).clipAngle(30).angle(7.8)}function Jl(){return Ql(rl,[95,-38]).scale(1e3).clipAngle(55).center([-96.5563,38.8675])}function jc(){return Ql(Lu,[120,-45]).scale(359.513).clipAngle(55).center([-117.474,53.0628])}function Cl(){return Ql(il,[-20,-18]).scale(209.091).center([20,16.7214]).clipAngle(82)}function Iu(){return Ql(Eh,[165,10]).scale(250).clipAngle(130).center([-165,-10])}function Ql(et,rt){var ct=(0,d.Z)(Ch(et)).rotate(rt).clipAngle(90),vt=(0,st.Z)(rt),St=ct.center;return delete ct.rotate,ct.center=function(Mt){return arguments.length?St(vt(Mt)):vt.invert(St())},ct}var al=F(6),Hi=F(7);function El(et,rt){var ct=O(7*m(rt)/(3*al));return[al*et*(2*v(2*ct/3)-1)/Hi,9*m(ct/3)/Hi]}function ad(){return(0,d.Z)(El).scale(164.859)}function Uc(et,rt){for(var ct,vt=(1+x)*m(rt),St=rt,Mt=0;Mt<25&&(St-=ct=(m(St/2)+m(St)-vt)/(.5*v(St/2)+v(St)),!(g(ct)C&&--ee>0);return[et/(.84719-.13063*(vt=Y*Y)+(Mt=vt*(St=vt*vt))*Mt*(.05494*vt-.04515-.02326*St+.00331*Mt)),Y]},Pu.invert=function(et,rt){for(var ct=rt/2,vt=0,St=1/0;vt<10&&g(St)>y;++vt){var Mt=v(rt/2);rt-=St=(rt-w(rt/2)-ct)/(1-.5/(Mt*Mt))}return[2*et/(1+v(rt)),rt]};var tu=[[[[-180,0],[-90,90],[0,0]],[[0,0],[90,90],[180,0]]],[[[-180,0],[-90,-90],[0,0]],[[0,0],[90,-90],[180,0]]]];function nu(){return Xi(ce(1/0),tu).rotate([20,0]).scale(152.63)}function Ou(et,rt){var ct=m(rt),vt=v(rt),St=c(et);if(et===0||g(rt)===k)return[0,rt];if(rt===0)return[et,0];if(g(et)===k)return[et*vt,k*ct];var Mt=_/(2*et)-2*et/_,Y=2*rt/_,ee=(1-Y*Y)/(ct-Y),K=Mt*Mt,le=ee*ee,Te=1+K/le,De=1+le/K,He=(Mt*ct/ee-Mt/2)/Te,Ze=(le*ct/K+ee/2)/De,at=Ze*Ze-(le*ct*ct/K+ee*ct-1)/De;return[k*(He+F(He*He+vt*vt/Te)*St),k*(Ze+F(at<0?0:at)*c(-rt*Mt)*St)]}function gc(){return(0,d.Z)(Ou).scale(127.267)}Ou.invert=function(et,rt){var ct=(et/=k)*et,vt=ct+(rt/=k)*rt,St=_*_;return[et?(vt-1+F((1-vt)*(1-vt)+4*ct))/(2*et)*k:0,me(function(Mt){return vt*(_*m(Mt)-2*Mt)*_+4*Mt*Mt*(rt-m(Mt))+2*_*Mt-St*rt},0)]};var vc=1.0148,gs=.23185,yc=-.14499,bc=.02406,Rh=1.790857183;function Ll(et,rt){var ct=rt*rt;return[et,rt*(vc+ct*ct*(gs+ct*(yc+bc*ct)))]}function Hc(){return(0,d.Z)(Ll).scale(139.319)}function xc(et,rt){if(g(rt)Rh?rt=Rh:rt<-1.790857183&&(rt=-1.790857183);var ct,vt=rt;do{var St=vt*vt;vt-=ct=(vt*(vc+St*St*(gs+St*(yc+bc*St)))-rt)/(1.0148+St*St*(1.1592500000000001+St*(.21654*St-1.01493)))}while(g(ct)>y);return[et,vt]},xc.invert=function(et,rt){if(g(rt)y&&--Mt>0);return Y=w(St),[(g(rt)=0;)if(tt=We[Ut],Xe[0]===tt[0]&&Xe[1]===tt[1]){if(mt)return[mt,Xe];mt=Xe}}}(K.face,le.face),De=(Tt=Te.map(le.project),At=Te.map(K.project),se=iu(Tt[1],Tt[0]),ve=iu(At[1],At[0]),Ie=function(Ue,We){return M(Ue[0]*We[1]-Ue[1]*We[0],Ue[0]*We[0]+Ue[1]*We[1])}(se,ve),Fe=Ki(se)/Ki(ve),ru([1,0,Tt[0][0],0,1,Tt[0][1]],ru([Fe,0,0,0,Fe,0],ru([v(Ie),m(Ie),0,-m(Ie),v(Ie),0],[1,0,-At[0][0],0,1,-At[0][1]]))));K.transform=le.transform?ru(le.transform,De):De;for(var He=le.edges,Ze=0,at=He.length;Ze0?[-vt[0],0]:[180-vt[0],180])};var rt=Us.map(function(ct){return{face:ct,project:et(ct)}});return[-1,0,0,1,0,1,4,5].forEach(function(ct,vt){var St=rt[ct];St&&(St.children||(St.children=[])).push(rt[vt])}),Il(rt[0],function(ct,vt){return rt[ct<-_/2?vt<0?6:4:ct<0?vt<0?2:0:ct<_/2?vt<0?3:1:vt<0?7:5]}).angle(-30).scale(121.906).center([0,48.5904])}function ou(et){et=et||function(Mt){var Y=Mt.length===6?(0,Ye.Z)({type:"MultiPoint",coordinates:Mt}):Mt[0];return(0,Bi.Z)().scale(1).translate([0,0]).rotate([-Y[0],-Y[1]])};var rt=Us.map(function(Mt){for(var Y,ee=Mt.map(da),K=ee.length,le=ee[K-1],Te=[],De=0;DeK^ve>K&&ee<(se-at)*(K-Tt)/(ve-Tt)+at&&(le=!le)}return le}(St[0],vt))return St.push(ct),!0})||et.push([ct])}),zo=[],et.length?et.length>1?{type:"MultiPolygon",coordinates:et}:{type:"Polygon",coordinates:et[0]}:null}};function $o(et){var rt=et(k,0)[0]-et(-k,0)[0];function ct(vt,St){var Mt=g(vt)0?vt-_:vt+_,St),ee=(Y[0]-Y[1])*x,K=(Y[0]+Y[1])*x;if(Mt)return[ee,K];var le=rt*x,Te=ee>0^K>0?-1:1;return[Te*ee-c(K)*le,Te*K-c(ee)*le]}return et.invert&&(ct.invert=function(vt,St){var Mt=(vt+St)*x,Y=(St-vt)*x,ee=g(Mt)<.5*rt&&g(Y)<.5*rt;if(!ee){var K=rt*x,le=Mt>0^Y>0?-1:1,Te=-le*vt+(Y>0?1:-1)*K,De=-le*St+(Mt>0?1:-1)*K;Mt=(-Te-De)*x,Y=(Te-De)*x}var He=et.invert(Mt,Y);return ee||(He[0]+=Mt>0?_:-_),He}),(0,d.Z)(ct).rotate([-90,-90,45]).clipAngle(179.999)}function qc(){return $o($n).scale(176.423)}function Wc(){return $o(Pn).scale(111.48)}function Lo(et,rt){if(!(0<=(rt=+rt)&&rt<=20))throw new Error("invalid digits");function ct(le){var Te=le.length,De=2,He=new Array(Te);for(He[0]=+le[0].toFixed(rt),He[1]=+le[1].toFixed(rt);De2||Ze[0]!=Te[0]||Ze[1]!=Te[1])&&(De.push(Ze),Te=Ze)}return De.length===1&&le.length>1&&De.push(ct(le[le.length-1])),De}function Mt(le){return le.map(St)}function Y(le){if(le==null)return le;var Te;switch(le.type){case"GeometryCollection":Te={type:"GeometryCollection",geometries:le.geometries.map(Y)};break;case"Point":Te={type:"Point",coordinates:ct(le.coordinates)};break;case"MultiPoint":Te={type:le.type,coordinates:vt(le.coordinates)};break;case"LineString":Te={type:le.type,coordinates:St(le.coordinates)};break;case"MultiLineString":case"Polygon":Te={type:le.type,coordinates:Mt(le.coordinates)};break;case"MultiPolygon":Te={type:"MultiPolygon",coordinates:le.coordinates.map(Mt)};break;default:return le}return le.bbox!=null&&(Te.bbox=le.bbox),Te}function ee(le){var Te={type:"Feature",properties:le.properties,geometry:Y(le.geometry)};return le.id!=null&&(Te.id=le.id),le.bbox!=null&&(Te.bbox=le.bbox),Te}if(et!=null)switch(et.type){case"Feature":return ee(et);case"FeatureCollection":var K={type:"FeatureCollection",features:et.features.map(ee)};return et.bbox!=null&&(K.bbox=et.bbox),K;default:return Y(et)}return et}function Dr(et){var rt=m(et);function ct(vt,St){var Mt=rt?w(vt*rt/2)/rt:vt/2;if(!St)return[2*Mt,-et];var Y=2*i(Mt*m(St)),ee=1/w(St);return[m(Y)*ee,St+(1-v(Y))*ee-et]}return ct.invert=function(vt,St){if(g(St+=et)y&&--K>0);var He=vt*(le=w(ee)),Ze=w(g(St)0?k:-k)*(le+Mt*(De-ee)/2+Mt*Mt*(De-2*le+ee)/2)]}function zu(){return(0,d.Z)(Yc).scale(152.63)}function Fu(et,rt){var ct=function(Y){function ee(K,le){var Te=v(le),De=(Y-1)/(Y-Te*v(K));return[De*Te*m(K),De*m(le)]}return ee.invert=function(K,le){var Te=K*K+le*le,De=F(Te),He=(Y-F(1-Te*(Y+1)/(Y-1)))/((Y-1)/De+De/(Y-1));return[M(K*He,De*F(1-He*He)),De?O(le*He/De):0]},ee}(et);if(!rt)return ct;var vt=v(rt),St=m(rt);function Mt(Y,ee){var K=ct(Y,ee),le=K[1],Te=le*St/(et-1)+vt;return[K[0]*vt/Te,le/Te]}return Mt.invert=function(Y,ee){var K=(et-1)/(et-1-ee*St);return ct.invert(K*Y,K*ee*vt)},Mt}function Bu(){var et=2,rt=0,ct=(0,d.r)(Fu),vt=ct(et,rt);return vt.distance=function(St){return arguments.length?ct(et=+St,rt):et},vt.tilt=function(St){return arguments.length?ct(et,rt=St*I):rt*R},vt.scale(432.147).clipAngle(z(1/et)*R-1e-6)}Fo.forEach(function(et){et[1]*=1.0144}),Yc.invert=function(et,rt){var ct=rt/k,vt=90*ct,St=o(18,g(vt/5)),Mt=u(0,l(St));do{var Y=Fo[Mt][1],ee=Fo[Mt+1][1],K=Fo[o(19,Mt+2)][1],le=K-Y,Te=K-2*ee+Y,De=2*(g(ct)-ee)/le,He=Te/le,Ze=De*(1-He*De*(1-2*He*De));if(Ze>=0||Mt===1){vt=(rt>=0?5:-5)*(Ze+St);var at,Tt=50;do Ze=(St=o(18,g(vt)/5))-(Mt=l(St)),Y=Fo[Mt][1],ee=Fo[Mt+1][1],K=Fo[o(19,Mt+2)][1],vt-=(at=(rt>=0?k:-k)*(ee+Ze*(K-Y)/2+Ze*Ze*(K-2*ee+Y)/2)-rt)*R;while(g(at)>C&&--Tt>0);break}}while(--Mt>=0);var At=Fo[Mt][0],se=Fo[Mt+1][0],ve=Fo[o(19,Mt+2)][0];return[et/(se+Ze*(ve-At)/2+Ze*Ze*(ve-2*se+At)/2),vt*I]};var Br=-179.9999,Nu=179.9999,ys=-89.9999,$c=89.9999;function wc(et){return et.length>0}function vo(et){return et===-90||et===90?[0,et]:[-180,(rt=et,Math.floor(1e4*rt)/1e4)];var rt}function cu(et){var rt=et[0],ct=et[1],vt=!1;return rt<=Br?(rt=-180,vt=!0):rt>=Nu&&(rt=180,vt=!0),ct<=ys?(ct=-90,vt=!0):ct>=$c&&(ct=90,vt=!0),vt?[rt,ct]:et}function ll(et){return et.map(cu)}function Zo(et,rt,ct){for(var vt=0,St=et.length;vt=Nu||Te<=ys||Te>=$c){Mt[Y]=cu(K);for(var De=Y+1;DeBr&&Zeys&&at<$c)break}if(De===Y+1)continue;if(Y){var Tt={index:-1,polygon:rt,ring:Mt.slice(0,Y+1)};Tt.ring[Tt.ring.length-1]=vo(Te),ct[ct.length-1]=Tt}else ct.pop();if(De>=ee)break;ct.push({index:-1,polygon:rt,ring:Mt=Mt.slice(De-1)}),Mt[0]=vo(Mt[0][1]),Y=-1,ee=Mt.length}}}}function Ol(et){var rt,ct,vt,St,Mt,Y,ee=et.length,K={},le={};for(rt=0;rt0?_-ee:ee)*R],le=(0,d.Z)(et(Y)).rotate(K),Te=(0,st.Z)(K),De=le.center;return delete le.rotate,le.center=function(He){return arguments.length?De(Te(He)):Te.invert(De())},le.clipAngle(90)}function Tc(et){var rt=v(et);function ct(vt,St){var Mt=(0,Bi.M)(vt,St);return Mt[0]*=rt,Mt}return ct.invert=function(vt,St){return Bi.M.invert(vt/rt,St)},ct}function os(){return _s([-158,21.5],[-77,39]).clipAngle(60).scale(400)}function _s(et,rt){return $i(Tc,et,rt)}function Gs(et){if(!(et*=2))return re.N;var rt=-et/2,ct=-rt,vt=et*et,St=w(ct),Mt=.5/m(ct);function Y(ee,K){var le=z(v(K)*v(ee-rt)),Te=z(v(K)*v(ee-ct));return[((le*=le)-(Te*=Te))/(2*et),(K<0?-1:1)*F(4*vt*Te-(vt-le+Te)*(vt-le+Te))/(2*et)]}return Y.invert=function(ee,K){var le,Te,De=K*K,He=v(F(De+(le=ee+rt)*le)),Ze=v(F(De+(le=ee+ct)*le));return[M(Te=He-Ze,le=(He+Ze)*St),(K<0?-1:1)*z(F(le*le+Te*Te)*Mt)]},Y}function Bo(){return Wi([-158,21.5],[-77,39]).clipAngle(130).scale(122.571)}function Wi(et,rt){return $i(Gs,et,rt)}function no(et,rt){if(g(rt)y&&--ee>0);return[c(et)*(F(St*St+4)+St)*_/4,k*Y]};var cl=4*_+3*F(3),Rs=2*F(2*_*F(3)/cl),xo=Me(Rs*F(3)/_,Rs,cl/6);function Zc(){return(0,d.Z)(xo).scale(176.84)}function Vo(et,rt){return[et*F(1-3*rt*rt/(_*_)),rt]}function ju(){return(0,d.Z)(Vo).scale(152.63)}function hl(et,rt){var ct=v(rt),vt=v(et)*ct,St=1-vt,Mt=v(et=M(m(et)*ct,-m(rt))),Y=m(et);return[Y*(ct=F(1-vt*vt))-Mt*St,-Mt*ct-Y*St]}function Ji(){return(0,d.Z)(hl).rotate([0,-90,45]).scale(124.75).clipAngle(179.999)}function la(et,rt){var ct=$(et,rt);return[(ct[0]+et/k)/2,(ct[1]+rt)/2]}function Xc(){return(0,d.Z)(la).scale(158.837)}Vo.invert=function(et,rt){return[et/F(1-3*rt*rt/(_*_)),rt]},hl.invert=function(et,rt){var ct=(et*et+rt*rt)/-2,vt=F(-ct*(2+ct)),St=rt*ct+et*vt,Mt=et*ct-rt*vt,Y=F(Mt*Mt+St*St);return[M(vt*St,Y*(1+ct)),Y?-O(vt*Mt/Y):0]},la.invert=function(et,rt){var ct=et,vt=rt,St=25;do{var Mt,Y=v(vt),ee=m(vt),K=m(2*vt),le=ee*ee,Te=Y*Y,De=m(ct),He=v(ct/2),Ze=m(ct/2),at=Ze*Ze,Tt=1-Te*He*He,At=Tt?z(Y*He)*F(Mt=1/Tt):Mt=0,se=.5*(2*At*Y*Ze+ct/k)-et,ve=.5*(At*ee+vt)-rt,Ie=.5*Mt*(Te*at+At*Y*He*le)+.5/k,Fe=Mt*(De*K/4-At*ee*Ze),Ue=.125*Mt*(K*Ze-At*ee*Te*De),We=.5*Mt*(le*He+At*at*Y)+.5,Xe=Fe*Ue-We*Ie,tt=(ve*Fe-se*We)/Xe,lt=(se*Ue-ve*Ie)/Xe;ct-=tt,vt-=lt}while((g(tt)>y||g(lt)>y)&&--St>0);return[ct,vt]}},33940:function(T,p,t){function d(){return new g}function g(){this.reset()}t.d(p,{Z:function(){return d}}),g.prototype={constructor:g,reset:function(){this.s=this.t=0},add:function(v){M(i,v,this.t),M(this,i.s,this.s),this.s?this.t+=i.t:this.s=i.t},valueOf:function(){return this.s}};var i=new g;function M(v,f,l){var a=v.s=f+l,u=a-f,o=a-u;v.t=f-o+(l-u)}},97860:function(T,p,t){t.d(p,{L9:function(){return o},ZP:function(){return C},gL:function(){return h}});var d,g,i,M,v,f=t(33940),l=t(39695),a=t(73182),u=t(72736),o=(0,f.Z)(),s=(0,f.Z)(),h={point:a.Z,lineStart:a.Z,lineEnd:a.Z,polygonStart:function(){o.reset(),h.lineStart=c,h.lineEnd=m},polygonEnd:function(){var _=+o;s.add(_<0?l.BZ+_:_),this.lineStart=this.lineEnd=this.point=a.Z},sphere:function(){s.add(l.BZ)}};function c(){h.point=w}function m(){y(d,g)}function w(_,k){h.point=y,d=_,g=k,_*=l.uR,k*=l.uR,i=_,M=(0,l.mC)(k=k/2+l.pu),v=(0,l.O$)(k)}function y(_,k){_*=l.uR,k=(k*=l.uR)/2+l.pu;var E=_-i,x=E>=0?1:-1,A=x*E,L=(0,l.mC)(k),b=(0,l.O$)(k),R=v*b,I=M*L+R*(0,l.mC)(A),O=R*x*(0,l.O$)(A);o.add((0,l.fv)(O,I)),i=_,M=L,v=b}function C(_){return s.reset(),(0,u.Z)(_,h),2*s}},77338:function(T,p,t){t.d(p,{Z:function(){return z}});var d,g,i,M,v,f,l,a,u,o,s=t(33940),h=t(97860),c=t(7620),m=t(39695),w=t(72736),y=(0,s.Z)(),C={point:_,lineStart:E,lineEnd:x,polygonStart:function(){C.point=A,C.lineStart=L,C.lineEnd=b,y.reset(),h.gL.polygonStart()},polygonEnd:function(){h.gL.polygonEnd(),C.point=_,C.lineStart=E,C.lineEnd=x,h.L9<0?(d=-(i=180),g=-(M=90)):y>m.Ho?M=90:y<-m.Ho&&(g=-90),o[0]=d,o[1]=i},sphere:function(){d=-(i=180),g=-(M=90)}};function _(F,B){u.push(o=[d=F,i=F]),BM&&(M=B)}function k(F,B){var N=(0,c.Og)([F*m.uR,B*m.uR]);if(a){var W=(0,c.T5)(a,N),j=[W[1],-W[0],0],$=(0,c.T5)(j,W);(0,c.iJ)($),$=(0,c.Y1)($);var U,G=F-v,q=G>0?1:-1,H=$[0]*m.RW*q,ne=(0,m.Wn)(G)>180;ne^(q*vM&&(M=U):ne^(q*v<(H=(H+360)%360-180)&&HM&&(M=B)),ne?FR(d,i)&&(i=F):R(F,i)>R(d,i)&&(d=F):i>=d?(Fi&&(i=F)):F>v?R(d,F)>R(d,i)&&(i=F):R(F,i)>R(d,i)&&(d=F)}else u.push(o=[d=F,i=F]);BM&&(M=B),a=N,v=F}function E(){C.point=k}function x(){o[0]=d,o[1]=i,C.point=_,a=null}function A(F,B){if(a){var N=F-v;y.add((0,m.Wn)(N)>180?N+(N>0?360:-360):N)}else f=F,l=B;h.gL.point(F,B),k(F,B)}function L(){h.gL.lineStart()}function b(){A(f,l),h.gL.lineEnd(),(0,m.Wn)(y)>m.Ho&&(d=-(i=180)),o[0]=d,o[1]=i,a=null}function R(F,B){return(B-=F)<0?B+360:B}function I(F,B){return F[0]-B[0]}function O(F,B){return F[0]<=F[1]?F[0]<=B&&B<=F[1]:BR(W[0],W[1])&&(W[1]=j[1]),R(j[0],W[1])>R(W[0],W[1])&&(W[0]=j[0])):$.push(W=j);for(U=-1/0,B=0,W=$[N=$.length-1];B<=N;W=j,++B)j=$[B],(G=R(W[1],j[0]))>U&&(U=G,d=j[0],i=W[1])}return u=o=null,d===1/0||g===1/0?[[NaN,NaN],[NaN,NaN]]:[[d,g],[i,M]]}},7620:function(T,p,t){t.d(p,{Og:function(){return i},T:function(){return l},T5:function(){return v},Y1:function(){return g},iJ:function(){return a},j9:function(){return M},s0:function(){return f}});var d=t(39695);function g(u){return[(0,d.fv)(u[1],u[0]),(0,d.ZR)(u[2])]}function i(u){var o=u[0],s=u[1],h=(0,d.mC)(s);return[h*(0,d.mC)(o),h*(0,d.O$)(o),(0,d.O$)(s)]}function M(u,o){return u[0]*o[0]+u[1]*o[1]+u[2]*o[2]}function v(u,o){return[u[1]*o[2]-u[2]*o[1],u[2]*o[0]-u[0]*o[2],u[0]*o[1]-u[1]*o[0]]}function f(u,o){u[0]+=o[0],u[1]+=o[1],u[2]+=o[2]}function l(u,o){return[u[0]*o,u[1]*o,u[2]*o]}function a(u){var o=(0,d._b)(u[0]*u[0]+u[1]*u[1]+u[2]*u[2]);u[0]/=o,u[1]/=o,u[2]/=o}},66624:function(T,p,t){t.d(p,{Z:function(){return N}});var d,g,i,M,v,f,l,a,u,o,s,h,c,m,w,y,C=t(39695),_=t(73182),k=t(72736),E={sphere:_.Z,point:x,lineStart:L,lineEnd:I,polygonStart:function(){E.lineStart=O,E.lineEnd=z},polygonEnd:function(){E.lineStart=L,E.lineEnd=I}};function x(W,j){W*=C.uR,j*=C.uR;var $=(0,C.mC)(j);A($*(0,C.mC)(W),$*(0,C.O$)(W),(0,C.O$)(j))}function A(W,j,$){++d,i+=(W-i)/d,M+=(j-M)/d,v+=($-v)/d}function L(){E.point=b}function b(W,j){W*=C.uR,j*=C.uR;var $=(0,C.mC)(j);m=$*(0,C.mC)(W),w=$*(0,C.O$)(W),y=(0,C.O$)(j),E.point=R,A(m,w,y)}function R(W,j){W*=C.uR,j*=C.uR;var $=(0,C.mC)(j),U=$*(0,C.mC)(W),G=$*(0,C.O$)(W),q=(0,C.O$)(j),H=(0,C.fv)((0,C._b)((H=w*q-y*G)*H+(H=y*U-m*q)*H+(H=m*G-w*U)*H),m*U+w*G+y*q);g+=H,f+=H*(m+(m=U)),l+=H*(w+(w=G)),a+=H*(y+(y=q)),A(m,w,y)}function I(){E.point=x}function O(){E.point=F}function z(){B(h,c),E.point=x}function F(W,j){h=W,c=j,W*=C.uR,j*=C.uR,E.point=B;var $=(0,C.mC)(j);m=$*(0,C.mC)(W),w=$*(0,C.O$)(W),y=(0,C.O$)(j),A(m,w,y)}function B(W,j){W*=C.uR,j*=C.uR;var $=(0,C.mC)(j),U=$*(0,C.mC)(W),G=$*(0,C.O$)(W),q=(0,C.O$)(j),H=w*q-y*G,ne=y*U-m*q,te=m*G-w*U,Z=(0,C._b)(H*H+ne*ne+te*te),X=(0,C.ZR)(Z),Q=Z&&-X/Z;u+=Q*H,o+=Q*ne,s+=Q*te,g+=X,f+=X*(m+(m=U)),l+=X*(w+(w=G)),a+=X*(y+(y=q)),A(m,w,y)}function N(W){d=g=i=M=v=f=l=a=u=o=s=0,(0,k.Z)(W,E);var j=u,$=o,U=s,G=j*j+$*$+U*U;return G0?hc)&&(h+=s*i.BZ));for(var C,_=h;s>0?_>c:_0?g.pi:-g.pi,s=(0,g.Wn)(a-v);(0,g.Wn)(s-g.pi)0?g.ou:-g.ou),i.point(l,f),i.lineEnd(),i.lineStart(),i.point(o,f),i.point(a,f),M=0):l!==o&&s>=g.pi&&((0,g.Wn)(v-l)g.Ho?(0,g.z4)(((0,g.O$)(c)*(C=(0,g.mC)(w))*(0,g.O$)(m)-(0,g.O$)(w)*(y=(0,g.mC)(c))*(0,g.O$)(h))/(y*C*_)):(c+w)/2}(v,f,a,u),i.point(l,f),i.lineEnd(),i.lineStart(),i.point(o,f),M=0),i.point(v=a,f=u),l=o},lineEnd:function(){i.lineEnd(),v=f=NaN},clean:function(){return 2-M}}},function(i,M,v,f){var l;if(i==null)l=v*g.ou,f.point(-g.pi,l),f.point(0,l),f.point(g.pi,l),f.point(g.pi,0),f.point(g.pi,-l),f.point(0,-l),f.point(-g.pi,-l),f.point(-g.pi,0),f.point(-g.pi,l);else if((0,g.Wn)(i[0]-M[0])>g.Ho){var a=i[0]1&&M.push(M.pop().concat(M.shift()))},result:function(){var v=M;return M=[],i=null,v}}}},1457:function(T,p,t){t.d(p,{Z:function(){return f}});var d=t(7620),g=t(7613),i=t(39695),M=t(67108),v=t(97023);function f(l){var a=(0,i.mC)(l),u=6*i.uR,o=a>0,s=(0,i.Wn)(a)>i.Ho;function h(w,y){return(0,i.mC)(w)*(0,i.mC)(y)>a}function c(w,y,C){var _=(0,d.Og)(w),k=(0,d.Og)(y),E=[1,0,0],x=(0,d.T5)(_,k),A=(0,d.j9)(x,x),L=x[0],b=A-L*L;if(!b)return!C&&w;var R=a*A/b,I=-a*L/b,O=(0,d.T5)(E,x),z=(0,d.T)(E,R),F=(0,d.T)(x,I);(0,d.s0)(z,F);var B=O,N=(0,d.j9)(z,B),W=(0,d.j9)(B,B),j=N*N-W*((0,d.j9)(z,z)-1);if(!(j<0)){var $=(0,i._b)(j),U=(0,d.T)(B,(-N-$)/W);if((0,d.s0)(U,z),U=(0,d.Y1)(U),!C)return U;var G,q=w[0],H=y[0],ne=w[1],te=y[1];H0^U[1]<((0,i.Wn)(U[0]-q)i.pi^(q<=U[0]&&U[0]<=H)){var Q=(0,d.T)(B,(-N+$)/W);return(0,d.s0)(Q,z),[U,(0,d.Y1)(Q)]}}}function m(w,y){var C=o?l:i.pi-l,_=0;return w<-C?_|=1:w>C&&(_|=2),y<-C?_|=4:y>C&&(_|=8),_}return(0,v.Z)(h,function(w){var y,C,_,k,E;return{lineStart:function(){k=_=!1,E=1},point:function(x,A){var L,b=[x,A],R=h(x,A),I=o?R?0:m(x,A):R?m(x+(x<0?i.pi:-i.pi),A):0;if(!y&&(k=_=R)&&w.lineStart(),R!==_&&(!(L=c(y,b))||(0,M.Z)(y,L)||(0,M.Z)(b,L))&&(b[2]=1),R!==_)E=0,R?(w.lineStart(),L=c(b,y),w.point(L[0],L[1])):(L=c(y,b),w.point(L[0],L[1],2),w.lineEnd()),y=L;else if(s&&y&&o^R){var O;I&C||!(O=c(b,y,!0))||(E=0,o?(w.lineStart(),w.point(O[0][0],O[0][1]),w.point(O[1][0],O[1][1]),w.lineEnd()):(w.point(O[1][0],O[1][1]),w.lineEnd(),w.lineStart(),w.point(O[0][0],O[0][1],3)))}!R||y&&(0,M.Z)(y,b)||w.point(b[0],b[1]),y=b,_=R,C=I},lineEnd:function(){_&&w.lineEnd(),y=null},clean:function(){return E|(k&&_)<<1}}},function(w,y,C,_){(0,g.m)(_,l,u,C,w,y)},o?[0,-l]:[-i.pi,l-i.pi])}},97023:function(T,p,t){t.d(p,{Z:function(){return f}});var d=t(85272),g=t(46225),i=t(39695),M=t(23071),v=t(33064);function f(u,o,s,h){return function(c){var m,w,y,C=o(c),_=(0,d.Z)(),k=o(_),E=!1,x={point:A,lineStart:b,lineEnd:R,polygonStart:function(){x.point=I,x.lineStart=O,x.lineEnd=z,w=[],m=[]},polygonEnd:function(){x.point=A,x.lineStart=b,x.lineEnd=R,w=(0,v.TS)(w);var F=(0,M.Z)(m,h);w.length?(E||(c.polygonStart(),E=!0),(0,g.Z)(w,a,F,s,c)):F&&(E||(c.polygonStart(),E=!0),c.lineStart(),s(null,null,1,c),c.lineEnd()),E&&(c.polygonEnd(),E=!1),w=m=null},sphere:function(){c.polygonStart(),c.lineStart(),s(null,null,1,c),c.lineEnd(),c.polygonEnd()}};function A(F,B){u(F,B)&&c.point(F,B)}function L(F,B){C.point(F,B)}function b(){x.point=L,C.lineStart()}function R(){x.point=A,C.lineEnd()}function I(F,B){y.push([F,B]),k.point(F,B)}function O(){k.lineStart(),y=[]}function z(){I(y[0][0],y[0][1]),k.lineEnd();var F,B,N,W,j=k.clean(),$=_.result(),U=$.length;if(y.pop(),m.push(y),y=null,U)if(1&j){if((B=(N=$[0]).length-1)>0){for(E||(c.polygonStart(),E=!0),c.lineStart(),F=0;F1&&2&j&&$.push($.pop().concat($.shift())),w.push($.filter(l))}return x}}function l(u){return u.length>1}function a(u,o){return((u=u.x)[0]<0?u[1]-i.ou-i.Ho:i.ou-u[1])-((o=o.x)[0]<0?o[1]-i.ou-i.Ho:i.ou-o[1])}},87605:function(T,p,t){t.d(p,{Z:function(){return l}});var d=t(39695),g=t(85272),i=t(46225),M=t(33064),v=1e9,f=-v;function l(a,u,o,s){function h(C,_){return a<=C&&C<=o&&u<=_&&_<=s}function c(C,_,k,E){var x=0,A=0;if(C==null||(x=m(C,k))!==(A=m(_,k))||y(C,_)<0^k>0)do E.point(x===0||x===3?a:o,x>1?s:u);while((x=(x+k+4)%4)!==A);else E.point(_[0],_[1])}function m(C,_){return(0,d.Wn)(C[0]-a)0?0:3:(0,d.Wn)(C[0]-o)0?2:1:(0,d.Wn)(C[1]-u)0?1:0:_>0?3:2}function w(C,_){return y(C.x,_.x)}function y(C,_){var k=m(C,1),E=m(_,1);return k!==E?k-E:k===0?_[1]-C[1]:k===1?C[0]-_[0]:k===2?C[1]-_[1]:_[0]-C[0]}return function(C){var _,k,E,x,A,L,b,R,I,O,z,F=C,B=(0,g.Z)(),N={point:W,lineStart:function(){N.point=j,k&&k.push(E=[]),O=!0,I=!1,b=R=NaN},lineEnd:function(){_&&(j(x,A),L&&I&&B.rejoin(),_.push(B.result())),N.point=W,I&&F.lineEnd()},polygonStart:function(){F=B,_=[],k=[],z=!0},polygonEnd:function(){var $=function(){for(var q=0,H=0,ne=k.length;Hs&&(oe-te)*(s-Z)>(ue-Z)*(a-te)&&++q:ue<=s&&(oe-te)*(s-Z)<(ue-Z)*(a-te)&&--q;return q}(),U=z&&$,G=(_=(0,M.TS)(_)).length;(U||G)&&(C.polygonStart(),U&&(C.lineStart(),c(null,null,1,C),C.lineEnd()),G&&(0,i.Z)(_,w,$,c,C),C.polygonEnd()),F=C,_=k=E=null}};function W($,U){h($,U)&&F.point($,U)}function j($,U){var G=h($,U);if(k&&E.push([$,U]),O)x=$,A=U,L=G,O=!1,G&&(F.lineStart(),F.point($,U));else if(G&&I)F.point($,U);else{var q=[b=Math.max(f,Math.min(v,b)),R=Math.max(f,Math.min(v,R))],H=[$=Math.max(f,Math.min(v,$)),U=Math.max(f,Math.min(v,U))];(function(ne,te,Z,X,Q,re){var ie,oe=ne[0],ue=ne[1],ce=0,ye=1,de=te[0]-oe,me=te[1]-ue;if(ie=Z-oe,de||!(ie>0)){if(ie/=de,de<0){if(ie0){if(ie>ye)return;ie>ce&&(ce=ie)}if(ie=Q-oe,de||!(ie<0)){if(ie/=de,de<0){if(ie>ye)return;ie>ce&&(ce=ie)}else if(de>0){if(ie0)){if(ie/=me,me<0){if(ie0){if(ie>ye)return;ie>ce&&(ce=ie)}if(ie=re-ue,me||!(ie<0)){if(ie/=me,me<0){if(ie>ye)return;ie>ce&&(ce=ie)}else if(me>0){if(ie0&&(ne[0]=oe+ce*de,ne[1]=ue+ce*me),ye<1&&(te[0]=oe+ye*de,te[1]=ue+ye*me),!0}}}}})(q,H,a,u,o,s)?(I||(F.lineStart(),F.point(q[0],q[1])),F.point(H[0],H[1]),G||F.lineEnd(),z=!1):G&&(F.lineStart(),F.point($,U),z=!1)}b=$,R=U,I=G}return N}}},46225:function(T,p,t){t.d(p,{Z:function(){return M}});var d=t(67108),g=t(39695);function i(f,l,a,u){this.x=f,this.z=l,this.o=a,this.e=u,this.v=!1,this.n=this.p=null}function M(f,l,a,u,o){var s,h,c=[],m=[];if(f.forEach(function(E){if(!((x=E.length-1)<=0)){var x,A,L=E[0],b=E[x];if((0,d.Z)(L,b)){if(!L[2]&&!b[2]){for(o.lineStart(),s=0;s=0;--s)o.point((y=w[s])[0],y[1]);else u(_.x,_.p.x,-1,o);_=_.p}w=(_=_.o).z,k=!k}while(!_.v);o.lineEnd()}}}function v(f){if(l=f.length){for(var l,a,u=0,o=f[0];++u0&&(Un=R(Kt[Kn],Kt[Kn-1]))>0&&Rn<=Un&&Ln<=Un&&(Rn+Ln-Un)*(1-Math.pow((Rn-Ln)/Un,2))m.Ho}).map(mr)).concat((0,U.w6)((0,m.mD)(Kn/hn)*hn,Un,hn).filter(function(gn){return(0,m.Wn)(gn%On)>m.Ho}).map(nn))}return mn.lines=function(){return wn().map(function(gn){return{type:"LineString",coordinates:gn}})},mn.outline=function(){return{type:"Polygon",coordinates:[Pn(Ln).concat(jt($n).slice(1),Pn(Rn).reverse().slice(1),jt(tr).reverse().slice(1))]}},mn.extent=function(gn){return arguments.length?mn.extentMajor(gn).extentMinor(gn):mn.extentMinor()},mn.extentMajor=function(gn){return arguments.length?(Ln=+gn[0][0],Rn=+gn[1][0],tr=+gn[0][1],$n=+gn[1][1],Ln>Rn&&(gn=Ln,Ln=Rn,Rn=gn),tr>$n&&(gn=tr,tr=$n,$n=gn),mn.precision(En)):[[Ln,tr],[Rn,$n]]},mn.extentMinor=function(gn){return arguments.length?(bn=+gn[0][0],Kt=+gn[1][0],Kn=+gn[0][1],Un=+gn[1][1],bn>Kt&&(gn=bn,bn=Kt,Kt=gn),Kn>Un&&(gn=Kn,Kn=Un,Un=gn),mn.precision(En)):[[bn,Kn],[Kt,Un]]},mn.step=function(gn){return arguments.length?mn.stepMajor(gn).stepMinor(gn):mn.stepMinor()},mn.stepMajor=function(gn){return arguments.length?(zn=+gn[0],On=+gn[1],mn):[zn,On]},mn.stepMinor=function(gn){return arguments.length?(Jt=+gn[0],hn=+gn[1],mn):[Jt,hn]},mn.precision=function(gn){return arguments.length?(En=+gn,mr=G(Kn,Un,90),nn=q(bn,Kt,En),Pn=G(tr,$n,90),jt=q(Ln,Rn,En),mn):En},mn.extentMajor([[-180,-90+m.Ho],[180,90-m.Ho]]).extentMinor([[-180,-80-m.Ho],[180,80+m.Ho]])}function ne(){return H()()}var te,Z,X,Q,re=t(83074),ie=t(8593),oe=(0,c.Z)(),ue=(0,c.Z)(),ce={point:w.Z,lineStart:w.Z,lineEnd:w.Z,polygonStart:function(){ce.lineStart=ye,ce.lineEnd=pe},polygonEnd:function(){ce.lineStart=ce.lineEnd=ce.point=w.Z,oe.add((0,m.Wn)(ue)),ue.reset()},result:function(){var Kt=oe/2;return oe.reset(),Kt}};function ye(){ce.point=de}function de(Kt,bn){ce.point=me,te=X=Kt,Z=Q=bn}function me(Kt,bn){ue.add(Q*Kt-X*bn),X=Kt,Q=bn}function pe(){me(te,Z)}var xe,Pe,_e,Me,Se=ce,Ce=t(3559),ae=0,fe=0,be=0,ke=0,Le=0,Be=0,ze=0,je=0,ge=0,we={point:Ee,lineStart:Ve,lineEnd:st,polygonStart:function(){we.lineStart=ot,we.lineEnd=ht},polygonEnd:function(){we.point=Ee,we.lineStart=Ve,we.lineEnd=st},result:function(){var Kt=ge?[ze/ge,je/ge]:Be?[ke/Be,Le/Be]:be?[ae/be,fe/be]:[NaN,NaN];return ae=fe=be=ke=Le=Be=ze=je=ge=0,Kt}};function Ee(Kt,bn){ae+=Kt,fe+=bn,++be}function Ve(){we.point=$e}function $e(Kt,bn){we.point=Ye,Ee(_e=Kt,Me=bn)}function Ye(Kt,bn){var Rn=Kt-_e,Ln=bn-Me,Un=(0,m._b)(Rn*Rn+Ln*Ln);ke+=Un*(_e+Kt)/2,Le+=Un*(Me+bn)/2,Be+=Un,Ee(_e=Kt,Me=bn)}function st(){we.point=Ee}function ot(){we.point=bt}function ht(){Et(xe,Pe)}function bt(Kt,bn){we.point=Et,Ee(xe=_e=Kt,Pe=Me=bn)}function Et(Kt,bn){var Rn=Kt-_e,Ln=bn-Me,Un=(0,m._b)(Rn*Rn+Ln*Ln);ke+=Un*(_e+Kt)/2,Le+=Un*(Me+bn)/2,Be+=Un,ze+=(Un=Me*Kt-_e*bn)*(_e+Kt),je+=Un*(Me+bn),ge+=3*Un,Ee(_e=Kt,Me=bn)}var kt=we;function xt(Kt){this._context=Kt}xt.prototype={_radius:4.5,pointRadius:function(Kt){return this._radius=Kt,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._context.closePath(),this._point=NaN},point:function(Kt,bn){switch(this._point){case 0:this._context.moveTo(Kt,bn),this._point=1;break;case 1:this._context.lineTo(Kt,bn);break;default:this._context.moveTo(Kt+this._radius,bn),this._context.arc(Kt,bn,this._radius,0,m.BZ)}},result:w.Z};var Ft,Ot,Bt,qt,Vt,Ke=(0,c.Z)(),Je={point:w.Z,lineStart:function(){Je.point=qe},lineEnd:function(){Ft&&nt(Ot,Bt),Je.point=w.Z},polygonStart:function(){Ft=!0},polygonEnd:function(){Ft=null},result:function(){var Kt=+Ke;return Ke.reset(),Kt}};function qe(Kt,bn){Je.point=nt,Ot=qt=Kt,Bt=Vt=bn}function nt(Kt,bn){qt-=Kt,Vt-=bn,Ke.add((0,m._b)(qt*qt+Vt*Vt)),qt=Kt,Vt=bn}var ft=Je;function Re(){this._string=[]}function Ne(Kt){return"m0,"+Kt+"a"+Kt+","+Kt+" 0 1,1 0,"+-2*Kt+"a"+Kt+","+Kt+" 0 1,1 0,"+2*Kt+"z"}function Qe(Kt,bn){var Rn,Ln,Un=4.5;function Kn($n){return $n&&(typeof Un=="function"&&Ln.pointRadius(+Un.apply(this,arguments)),(0,y.Z)($n,Rn(Ln))),Ln.result()}return Kn.area=function($n){return(0,y.Z)($n,Rn(Se)),Se.result()},Kn.measure=function($n){return(0,y.Z)($n,Rn(ft)),ft.result()},Kn.bounds=function($n){return(0,y.Z)($n,Rn(Ce.Z)),Ce.Z.result()},Kn.centroid=function($n){return(0,y.Z)($n,Rn(kt)),kt.result()},Kn.projection=function($n){return arguments.length?(Rn=$n==null?(Kt=null,ie.Z):(Kt=$n).stream,Kn):Kt},Kn.context=function($n){return arguments.length?(Ln=$n==null?(bn=null,new Re):new xt(bn=$n),typeof Un!="function"&&Ln.pointRadius(Un),Kn):bn},Kn.pointRadius=function($n){return arguments.length?(Un=typeof $n=="function"?$n:(Ln.pointRadius(+$n),+$n),Kn):Un},Kn.projection(Kt).context(bn)}Re.prototype={_radius:4.5,_circle:Ne(4.5),pointRadius:function(Kt){return(Kt=+Kt)!==this._radius&&(this._radius=Kt,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._string.push("Z"),this._point=NaN},point:function(Kt,bn){switch(this._point){case 0:this._string.push("M",Kt,",",bn),this._point=1;break;case 1:this._string.push("L",Kt,",",bn);break;default:this._circle==null&&(this._circle=Ne(this._radius)),this._string.push("M",Kt,",",bn,this._circle)}},result:function(){if(this._string.length){var Kt=this._string.join("");return this._string=[],Kt}return null}};var ut=t(15002);function dt(Kt){var bn=0,Rn=m.pi/3,Ln=(0,ut.r)(Kt),Un=Ln(bn,Rn);return Un.parallels=function(Kn){return arguments.length?Ln(bn=Kn[0]*m.uR,Rn=Kn[1]*m.uR):[bn*m.RW,Rn*m.RW]},Un}function _t(Kt,bn){var Rn=(0,m.O$)(Kt),Ln=(Rn+(0,m.O$)(bn))/2;if((0,m.Wn)(Ln)=.12&&En<.234&&On>=-.425&&On<-.214?tr:En>=.166&&En<.234&&On>=-.214&&On<-.115?mr:$n).invert(Jt)},Pn.stream=function(Jt){return Kt&&bn===Jt?Kt:(hn=[$n.stream(bn=Jt),tr.stream(Jt),mr.stream(Jt)],zn=hn.length,Kt={point:function(On,En){for(var mn=-1;++mn0?tr<-m.ou+m.Ho&&(tr=-m.ou+m.Ho):tr>m.ou-m.Ho&&(tr=m.ou-m.Ho);var mr=Un/(0,m.sQ)(Qt(tr),Ln);return[mr*(0,m.O$)(Ln*$n),Un-mr*(0,m.mC)(Ln*$n)]}return Kn.invert=function($n,tr){var mr=Un-tr,nn=(0,m.Xx)(Ln)*(0,m._b)($n*$n+mr*mr),Pn=(0,m.fv)($n,(0,m.Wn)(mr))*(0,m.Xx)(mr);return mr*Ln<0&&(Pn-=m.pi*(0,m.Xx)($n)*(0,m.Xx)(mr)),[Pn/Ln,2*(0,m.z4)((0,m.sQ)(Un/nn,1/Ln))-m.ou]},Kn}function xn(){return dt(rn).scale(109.5).parallels([30,30])}Yt.invert=function(Kt,bn){return[Kt,2*(0,m.z4)((0,m.Qq)(bn))-m.ou]};var un=t(97492);function An(Kt,bn){var Rn=(0,m.mC)(Kt),Ln=Kt===bn?(0,m.O$)(Kt):(Rn-(0,m.mC)(bn))/(bn-Kt),Un=Rn/Ln+Kt;if((0,m.Wn)(Ln)2?Ln[2]+90:90]):[(Ln=Rn())[0],Ln[1],Ln[2]-90]},Rn([0,0,90]).scale(159.155)}yr.invert=(0,Sr.O)(function(Kt){return 2*(0,m.z4)(Kt)}),vr.invert=function(Kt,bn){return[-bn,2*(0,m.z4)((0,m.Qq)(Kt))-m.ou]}},83074:function(T,p,t){t.d(p,{Z:function(){return g}});var d=t(39695);function g(i,M){var v=i[0]*d.uR,f=i[1]*d.uR,l=M[0]*d.uR,a=M[1]*d.uR,u=(0,d.mC)(f),o=(0,d.O$)(f),s=(0,d.mC)(a),h=(0,d.O$)(a),c=u*(0,d.mC)(v),m=u*(0,d.O$)(v),w=s*(0,d.mC)(l),y=s*(0,d.O$)(l),C=2*(0,d.ZR)((0,d._b)((0,d.Jy)(a-f)+u*s*(0,d.Jy)(l-v))),_=(0,d.O$)(C),k=C?function(E){var x=(0,d.O$)(E*=C)/_,A=(0,d.O$)(C-E)/_,L=A*c+x*w,b=A*m+x*y,R=A*o+x*h;return[(0,d.fv)(b,L)*d.RW,(0,d.fv)(R,(0,d._b)(L*L+b*b))*d.RW]}:function(){return[v*d.RW,f*d.RW]};return k.distance=C,k}},39695:function(T,p,t){t.d(p,{BZ:function(){return f},Ho:function(){return d},Jy:function(){return L},Kh:function(){return x},O$:function(){return C},OR:function(){return E},Qq:function(){return m},RW:function(){return l},Wn:function(){return u},Xx:function(){return _},ZR:function(){return A},_b:function(){return k},aW:function(){return g},cM:function(){return w},fv:function(){return s},mC:function(){return h},mD:function(){return c},ou:function(){return M},pi:function(){return i},pu:function(){return v},sQ:function(){return y},uR:function(){return a},z4:function(){return o}});var d=1e-6,g=1e-12,i=Math.PI,M=i/2,v=i/4,f=2*i,l=180/i,a=i/180,u=Math.abs,o=Math.atan,s=Math.atan2,h=Math.cos,c=Math.ceil,m=Math.exp,w=Math.log,y=Math.pow,C=Math.sin,_=Math.sign||function(b){return b>0?1:b<0?-1:0},k=Math.sqrt,E=Math.tan;function x(b){return b>1?0:b<-1?i:Math.acos(b)}function A(b){return b>1?M:b<-1?-M:Math.asin(b)}function L(b){return(b=C(b/2))*b}},73182:function(T,p,t){function d(){}t.d(p,{Z:function(){return d}})},3559:function(T,p,t){var d=t(73182),g=1/0,i=g,M=-g,v=M,f={point:function(l,a){lM&&(M=l),av&&(v=a)},lineStart:d.Z,lineEnd:d.Z,polygonStart:d.Z,polygonEnd:d.Z,result:function(){var l=[[g,i],[M,v]];return M=v=-(i=g=1/0),l}};p.Z=f},67108:function(T,p,t){t.d(p,{Z:function(){return g}});var d=t(39695);function g(i,M){return(0,d.Wn)(i[0]-M[0])=0?1:-1,W=N*B,j=W>i.pi,$=A*z;if(M.add((0,i.fv)($*N*(0,i.O$)(W),L*F+$*(0,i.mC)(W))),c+=j?B+N*i.BZ:B,j^E>=u^I>=u){var U=(0,g.T5)((0,g.Og)(k),(0,g.Og)(R));(0,g.iJ)(U);var G=(0,g.T5)(h,U);(0,g.iJ)(G);var q=(j^B>=0?-1:1)*(0,i.ZR)(G[2]);(o>q||o===q&&(U[0]||U[1]))&&(m+=j^B>=0?1:-1)}}return(c<-i.Ho||c4*x&&U--){var te=I+W,Z=O+j,X=z+$,Q=(0,f._b)(te*te+Z*Z+X*X),re=(0,f.ZR)(X/=Q),ie=(0,f.Wn)((0,f.Wn)(X)-1)x||(0,f.Wn)((q*ye+H*de)/ne-.5)>.3||I*W+O*j+z*$2?ye[2]%360*f.uR:0,ue()):[$*f.RW,U*f.RW,G*f.RW]},ie.angle=function(ye){return arguments.length?(q=ye%360*f.uR,ue()):q*f.RW},ie.reflectX=function(ye){return arguments.length?(H=ye?-1:1,ue()):H<0},ie.reflectY=function(ye){return arguments.length?(ne=ye?-1:1,ue()):ne<0},ie.precision=function(ye){return arguments.length?(b=h(R,re=ye*ye),ce()):(0,f._b)(re)},ie.fitExtent=function(ye,de){return(0,u.qg)(ie,ye,de)},ie.fitSize=function(ye,de){return(0,u.mF)(ie,ye,de)},ie.fitWidth=function(ye,de){return(0,u.V6)(ie,ye,de)},ie.fitHeight=function(ye,de){return(0,u.rf)(ie,ye,de)},function(){return k=_.apply(this,arguments),ie.invert=k.invert&&oe,ue()}}},26867:function(T,p,t){t.d(p,{K:function(){return i},Z:function(){return M}});var d=t(15002),g=t(39695);function i(v,f){var l=f*f,a=l*l;return[v*(.8707-.131979*l+a*(a*(.003971*l-.001529*a)-.013791)),f*(1.007226+l*(.015085+a*(.028874*l-.044475-.005916*a)))]}function M(){return(0,d.Z)(i).scale(175.295)}i.invert=function(v,f){var l,a=f,u=25;do{var o=a*a,s=o*o;a-=l=(a*(1.007226+o*(.015085+s*(.028874*o-.044475-.005916*s)))-f)/(1.007226+o*(.045255+s*(.259866*o-.311325-.06507600000000001*s)))}while((0,g.Wn)(l)>g.Ho&&--u>0);return[v/(.8707+(o=a*a)*(o*(o*o*o*(.003971-.001529*o)-.013791)-.131979)),a]}},57962:function(T,p,t){t.d(p,{I:function(){return M},Z:function(){return v}});var d=t(39695),g=t(25382),i=t(15002);function M(f,l){return[(0,d.mC)(l)*(0,d.O$)(f),(0,d.O$)(l)]}function v(){return(0,i.Z)(M).scale(249.5).clipAngle(90+d.Ho)}M.invert=(0,g.O)(d.ZR)},49386:function(T,p,t){t.d(p,{I:function(){return M},Z:function(){return a}});var d=t(96059),g=t(39695);function i(u,o){return[(0,g.Wn)(u)>g.pi?u+Math.round(-u/g.BZ)*g.BZ:u,o]}function M(u,o,s){return(u%=g.BZ)?o||s?(0,d.Z)(f(u),l(o,s)):f(u):o||s?l(o,s):i}function v(u){return function(o,s){return[(o+=u)>g.pi?o-g.BZ:o<-g.pi?o+g.BZ:o,s]}}function f(u){var o=v(u);return o.invert=v(-u),o}function l(u,o){var s=(0,g.mC)(u),h=(0,g.O$)(u),c=(0,g.mC)(o),m=(0,g.O$)(o);function w(y,C){var _=(0,g.mC)(C),k=(0,g.mC)(y)*_,E=(0,g.O$)(y)*_,x=(0,g.O$)(C),A=x*s+k*h;return[(0,g.fv)(E*c-A*m,k*s-x*h),(0,g.ZR)(A*c+E*m)]}return w.invert=function(y,C){var _=(0,g.mC)(C),k=(0,g.mC)(y)*_,E=(0,g.O$)(y)*_,x=(0,g.O$)(C),A=x*c-E*m;return[(0,g.fv)(E*c+x*m,k*s+A*h),(0,g.ZR)(A*s-k*h)]},w}function a(u){function o(s){return(s=u(s[0]*g.uR,s[1]*g.uR))[0]*=g.RW,s[1]*=g.RW,s}return u=M(u[0]*g.uR,u[1]*g.uR,u.length>2?u[2]*g.uR:0),o.invert=function(s){return(s=u.invert(s[0]*g.uR,s[1]*g.uR))[0]*=g.RW,s[1]*=g.RW,s},o}i.invert=i},72736:function(T,p,t){function d(l,a){l&&i.hasOwnProperty(l.type)&&i[l.type](l,a)}t.d(p,{Z:function(){return f}});var g={Feature:function(l,a){d(l.geometry,a)},FeatureCollection:function(l,a){for(var u=l.features,o=-1,s=u.length;++o=0;)ae+=fe[be].value;else ae=1;Ce.value=ae}function f(Ce,ae){var fe,be,ke,Le,Be,ze=new o(Ce),je=+Ce.value&&(ze.value=Ce.value),ge=[ze];for(ae==null&&(ae=l);fe=ge.pop();)if(je&&(fe.value=+fe.data.value),(ke=ae(fe.data))&&(Be=ke.length))for(fe.children=new Array(Be),Le=Be-1;Le>=0;--Le)ge.push(be=fe.children[Le]=new o(ke[Le])),be.parent=fe,be.depth=fe.depth+1;return ze.eachBefore(u)}function l(Ce){return Ce.children}function a(Ce){Ce.data=Ce.data.data}function u(Ce){var ae=0;do Ce.height=ae;while((Ce=Ce.parent)&&Ce.height<++ae)}function o(Ce){this.data=Ce,this.depth=this.height=0,this.parent=null}t.r(p),t.d(p,{cluster:function(){return M},hierarchy:function(){return f},pack:function(){return N},packEnclose:function(){return h},packSiblings:function(){return R},partition:function(){return q},stratify:function(){return X},tree:function(){return ye},treemap:function(){return Pe},treemapBinary:function(){return _e},treemapDice:function(){return G},treemapResquarify:function(){return Se},treemapSlice:function(){return de},treemapSliceDice:function(){return Me},treemapSquarify:function(){return xe}}),o.prototype=f.prototype={constructor:o,count:function(){return this.eachAfter(v)},each:function(Ce){var ae,fe,be,ke,Le=this,Be=[Le];do for(ae=Be.reverse(),Be=[];Le=ae.pop();)if(Ce(Le),fe=Le.children)for(be=0,ke=fe.length;be=0;--fe)ke.push(ae[fe]);return this},sum:function(Ce){return this.eachAfter(function(ae){for(var fe=+Ce(ae.data)||0,be=ae.children,ke=be&&be.length;--ke>=0;)fe+=be[ke].value;ae.value=fe})},sort:function(Ce){return this.eachBefore(function(ae){ae.children&&ae.children.sort(Ce)})},path:function(Ce){for(var ae=this,fe=function(Le,Be){if(Le===Be)return Le;var ze=Le.ancestors(),je=Be.ancestors(),ge=null;for(Le=ze.pop(),Be=je.pop();Le===Be;)ge=Le,Le=ze.pop(),Be=je.pop();return ge}(ae,Ce),be=[ae];ae!==fe;)ae=ae.parent,be.push(ae);for(var ke=be.length;Ce!==fe;)be.splice(ke,0,Ce),Ce=Ce.parent;return be},ancestors:function(){for(var Ce=this,ae=[Ce];Ce=Ce.parent;)ae.push(Ce);return ae},descendants:function(){var Ce=[];return this.each(function(ae){Ce.push(ae)}),Ce},leaves:function(){var Ce=[];return this.eachBefore(function(ae){ae.children||Ce.push(ae)}),Ce},links:function(){var Ce=this,ae=[];return Ce.each(function(fe){fe!==Ce&&ae.push({source:fe.parent,target:fe})}),ae},copy:function(){return f(this).eachBefore(a)}};var s=Array.prototype.slice;function h(Ce){for(var ae,fe,be=0,ke=(Ce=function(Be){for(var ze,je,ge=Be.length;ge;)je=Math.random()*ge--|0,ze=Be[ge],Be[ge]=Be[je],Be[je]=ze;return Be}(s.call(Ce))).length,Le=[];be0&&fe*fe>be*be+ke*ke}function y(Ce,ae){for(var fe=0;fe(Be*=Be)?(be=(ge+Be-ke)/(2*ge),Le=Math.sqrt(Math.max(0,Be/ge-be*be)),fe.x=Ce.x-be*ze-Le*je,fe.y=Ce.y-be*je+Le*ze):(be=(ge+ke-Be)/(2*ge),Le=Math.sqrt(Math.max(0,ke/ge-be*be)),fe.x=ae.x+be*ze-Le*je,fe.y=ae.y+be*je+Le*ze)):(fe.x=ae.x+fe.r,fe.y=ae.y)}function x(Ce,ae){var fe=Ce.r+ae.r-1e-6,be=ae.x-Ce.x,ke=ae.y-Ce.y;return fe>0&&fe*fe>be*be+ke*ke}function A(Ce){var ae=Ce._,fe=Ce.next._,be=ae.r+fe.r,ke=(ae.x*fe.r+fe.x*ae.r)/be,Le=(ae.y*fe.r+fe.y*ae.r)/be;return ke*ke+Le*Le}function L(Ce){this._=Ce,this.next=null,this.previous=null}function b(Ce){if(!(ke=Ce.length))return 0;var ae,fe,be,ke,Le,Be,ze,je,ge,we,Ee;if((ae=Ce[0]).x=0,ae.y=0,!(ke>1))return ae.r;if(fe=Ce[1],ae.x=-fe.r,fe.x=ae.r,fe.y=0,!(ke>2))return ae.r+fe.r;E(fe,ae,be=Ce[2]),ae=new L(ae),fe=new L(fe),be=new L(be),ae.next=be.previous=fe,fe.next=ae.previous=be,be.next=fe.previous=ae;e:for(ze=3;ze0)throw new Error("cycle");return Be}return fe.id=function(be){return arguments.length?(Ce=O(be),fe):Ce},fe.parentId=function(be){return arguments.length?(ae=O(be),fe):ae},fe}function Q(Ce,ae){return Ce.parent===ae.parent?1:2}function re(Ce){var ae=Ce.children;return ae?ae[0]:Ce.t}function ie(Ce){var ae=Ce.children;return ae?ae[ae.length-1]:Ce.t}function oe(Ce,ae,fe){var be=fe/(ae.i-Ce.i);ae.c-=be,ae.s+=fe,Ce.c+=be,ae.z+=fe,ae.m+=fe}function ue(Ce,ae,fe){return Ce.a.parent===ae.parent?Ce.a:fe}function ce(Ce,ae){this._=Ce,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=ae}function ye(){var Ce=Q,ae=1,fe=1,be=null;function ke(je){var ge=function(ht){for(var bt,Et,kt,xt,Ft,Ot=new ce(ht,0),Bt=[Ot];bt=Bt.pop();)if(kt=bt._.children)for(bt.children=new Array(Ft=kt.length),xt=Ft-1;xt>=0;--xt)Bt.push(Et=bt.children[xt]=new ce(kt[xt],xt)),Et.parent=bt;return(Ot.parent=new ce(null,0)).children=[Ot],Ot}(je);if(ge.eachAfter(Le),ge.parent.m=-ge.z,ge.eachBefore(Be),be)je.eachBefore(ze);else{var we=je,Ee=je,Ve=je;je.eachBefore(function(ht){ht.xEe.x&&(Ee=ht),ht.depth>Ve.depth&&(Ve=ht)});var $e=we===Ee?1:Ce(we,Ee)/2,Ye=$e-we.x,st=ae/(Ee.x+$e+Ye),ot=fe/(Ve.depth||1);je.eachBefore(function(ht){ht.x=(ht.x+Ye)*st,ht.y=ht.depth*ot})}return je}function Le(je){var ge=je.children,we=je.parent.children,Ee=je.i?we[je.i-1]:null;if(ge){(function($e){for(var Ye,st=0,ot=0,ht=$e.children,bt=ht.length;--bt>=0;)(Ye=ht[bt]).z+=st,Ye.m+=st,st+=Ye.s+(ot+=Ye.c)})(je);var Ve=(ge[0].z+ge[ge.length-1].z)/2;Ee?(je.z=Ee.z+Ce(je._,Ee._),je.m=je.z-Ve):je.z=Ve}else Ee&&(je.z=Ee.z+Ce(je._,Ee._));je.parent.A=function($e,Ye,st){if(Ye){for(var ot,ht=$e,bt=$e,Et=Ye,kt=ht.parent.children[0],xt=ht.m,Ft=bt.m,Ot=Et.m,Bt=kt.m;Et=ie(Et),ht=re(ht),Et&&ht;)kt=re(kt),(bt=ie(bt)).a=$e,(ot=Et.z+Ot-ht.z-xt+Ce(Et._,ht._))>0&&(oe(ue(Et,$e,st),$e,ot),xt+=ot,Ft+=ot),Ot+=Et.m,xt+=ht.m,Bt+=kt.m,Ft+=bt.m;Et&&!ie(bt)&&(bt.t=Et,bt.m+=Ot-Ft),ht&&!re(kt)&&(kt.t=ht,kt.m+=xt-Bt,st=$e)}return st}(je,Ee,je.parent.A||we[0])}function Be(je){je._.x=je.z+je.parent.m,je.m+=je.parent.m}function ze(je){je.x*=ae,je.y=je.depth*fe}return ke.separation=function(je){return arguments.length?(Ce=je,ke):Ce},ke.size=function(je){return arguments.length?(be=!1,ae=+je[0],fe=+je[1],ke):be?null:[ae,fe]},ke.nodeSize=function(je){return arguments.length?(be=!0,ae=+je[0],fe=+je[1],ke):be?[ae,fe]:null},ke}function de(Ce,ae,fe,be,ke){for(var Le,Be=Ce.children,ze=-1,je=Be.length,ge=Ce.value&&(ke-fe)/Ce.value;++zeVe&&(Ve=ze),ot=we*we*st,($e=Math.max(Ve/ot,ot/Ee))>Ye){we-=ze;break}Ye=$e}ht.push(Be={value:we,dice:je1?be:1)},fe}(me);function Pe(){var Ce=xe,ae=!1,fe=1,be=1,ke=[0],Le=z,Be=z,ze=z,je=z,ge=z;function we(Ve){return Ve.x0=Ve.y0=0,Ve.x1=fe,Ve.y1=be,Ve.eachBefore(Ee),ke=[0],ae&&Ve.eachBefore(U),Ve}function Ee(Ve){var $e=ke[Ve.depth],Ye=Ve.x0+$e,st=Ve.y0+$e,ot=Ve.x1-$e,ht=Ve.y1-$e;ot=Ve-1){var bt=ze[Ee];return bt.x0=Ye,bt.y0=st,bt.x1=ot,void(bt.y1=ht)}for(var Et=ge[Ee],kt=$e/2+Et,xt=Ee+1,Ft=Ve-1;xt>>1;ge[Ot]ht-st){var Vt=(Ye*qt+ot*Bt)/$e;we(Ee,xt,Bt,Ye,st,Vt,ht),we(xt,Ve,qt,Vt,st,ot,ht)}else{var Ke=(st*qt+ht*Bt)/$e;we(Ee,xt,Bt,Ye,st,ot,Ke),we(xt,Ve,qt,Ye,Ke,ot,ht)}})(0,je,Ce.value,ae,fe,be,ke)}function Me(Ce,ae,fe,be,ke){(1&Ce.depth?de:G)(Ce,ae,fe,be,ke)}var Se=function Ce(ae){function fe(be,ke,Le,Be,ze){if((je=be._squarify)&&je.ratio===ae)for(var je,ge,we,Ee,Ve,$e=-1,Ye=je.length,st=be.value;++$e1?be:1)},fe}(me)},45879:function(T,p,t){t.d(p,{h5:function(){return w}});var d=Math.PI,g=2*d,i=1e-6,M=g-i;function v(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function f(){return new v}v.prototype=f.prototype={constructor:v,moveTo:function(y,C){this._+="M"+(this._x0=this._x1=+y)+","+(this._y0=this._y1=+C)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(y,C){this._+="L"+(this._x1=+y)+","+(this._y1=+C)},quadraticCurveTo:function(y,C,_,k){this._+="Q"+ +y+","+ +C+","+(this._x1=+_)+","+(this._y1=+k)},bezierCurveTo:function(y,C,_,k,E,x){this._+="C"+ +y+","+ +C+","+ +_+","+ +k+","+(this._x1=+E)+","+(this._y1=+x)},arcTo:function(y,C,_,k,E){y=+y,C=+C,_=+_,k=+k,E=+E;var x=this._x1,A=this._y1,L=_-y,b=k-C,R=x-y,I=A-C,O=R*R+I*I;if(E<0)throw new Error("negative radius: "+E);if(this._x1===null)this._+="M"+(this._x1=y)+","+(this._y1=C);else if(O>i)if(Math.abs(I*L-b*R)>i&&E){var z=_-x,F=k-A,B=L*L+b*b,N=z*z+F*F,W=Math.sqrt(B),j=Math.sqrt(O),$=E*Math.tan((d-Math.acos((B+O-N)/(2*W*j)))/2),U=$/j,G=$/W;Math.abs(U-1)>i&&(this._+="L"+(y+U*R)+","+(C+U*I)),this._+="A"+E+","+E+",0,0,"+ +(I*z>R*F)+","+(this._x1=y+G*L)+","+(this._y1=C+G*b)}else this._+="L"+(this._x1=y)+","+(this._y1=C)},arc:function(y,C,_,k,E,x){y=+y,C=+C,x=!!x;var A=(_=+_)*Math.cos(k),L=_*Math.sin(k),b=y+A,R=C+L,I=1^x,O=x?k-E:E-k;if(_<0)throw new Error("negative radius: "+_);this._x1===null?this._+="M"+b+","+R:(Math.abs(this._x1-b)>i||Math.abs(this._y1-R)>i)&&(this._+="L"+b+","+R),_&&(O<0&&(O=O%g+g),O>M?this._+="A"+_+","+_+",0,1,"+I+","+(y-A)+","+(C-L)+"A"+_+","+_+",0,1,"+I+","+(this._x1=b)+","+(this._y1=R):O>i&&(this._+="A"+_+","+_+",0,"+ +(O>=d)+","+I+","+(this._x1=y+_*Math.cos(E))+","+(this._y1=C+_*Math.sin(E))))},rect:function(y,C,_,k){this._+="M"+(this._x0=this._x1=+y)+","+(this._y0=this._y1=+C)+"h"+ +_+"v"+ +k+"h"+-_+"Z"},toString:function(){return this._}};var l=f,a=Array.prototype.slice;function u(y){return function(){return y}}function o(y){return y[0]}function s(y){return y[1]}function h(y){return y.source}function c(y){return y.target}function m(y,C,_,k,E){y.moveTo(C,_),y.bezierCurveTo(C=(C+k)/2,_,C,E,k,E)}function w(){return function(y){var C=h,_=c,k=o,E=s,x=null;function A(){var L,b=a.call(arguments),R=C.apply(this,b),I=_.apply(this,b);if(x||(x=L=l()),y(x,+k.apply(this,(b[0]=R,b)),+E.apply(this,b),+k.apply(this,(b[0]=I,b)),+E.apply(this,b)),L)return x=null,L+""||null}return A.source=function(L){return arguments.length?(C=L,A):C},A.target=function(L){return arguments.length?(_=L,A):_},A.x=function(L){return arguments.length?(k=typeof L=="function"?L:u(+L),A):k},A.y=function(L){return arguments.length?(E=typeof L=="function"?L:u(+L),A):E},A.context=function(L){return arguments.length?(x=L??null,A):x},A}(m)}},84096:function(T,p,t){t.d(p,{i$:function(){return h},Dq:function(){return o},g0:function(){return c}});var d=t(58176),g=t(48480),i=t(59879),M=t(82301),v=t(34823),f=t(79791);function l(xt){if(0<=xt.y&&xt.y<100){var Ft=new Date(-1,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L);return Ft.setFullYear(xt.y),Ft}return new Date(xt.y,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L)}function a(xt){if(0<=xt.y&&xt.y<100){var Ft=new Date(Date.UTC(-1,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L));return Ft.setUTCFullYear(xt.y),Ft}return new Date(Date.UTC(xt.y,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L))}function u(xt,Ft,Ot){return{y:xt,m:Ft,d:Ot,H:0,M:0,S:0,L:0}}function o(xt){var Ft=xt.dateTime,Ot=xt.date,Bt=xt.time,qt=xt.periods,Vt=xt.days,Ke=xt.shortDays,Je=xt.months,qe=xt.shortMonths,nt=E(qt),ft=x(qt),Re=E(Vt),Ne=x(Vt),Qe=E(Ke),ut=x(Ke),dt=E(Je),_t=x(Je),It=E(qe),Lt=x(qe),yt={a:function(Wt){return Ke[Wt.getDay()]},A:function(Wt){return Vt[Wt.getDay()]},b:function(Wt){return qe[Wt.getMonth()]},B:function(Wt){return Je[Wt.getMonth()]},c:null,d:X,e:X,f:ue,H:Q,I:re,j:ie,L:oe,m:ce,M:ye,p:function(Wt){return qt[+(Wt.getHours()>=12)]},q:function(Wt){return 1+~~(Wt.getMonth()/3)},Q:Et,s:kt,S:de,u:me,U:pe,V:xe,w:Pe,W:_e,x:null,X:null,y:Me,Y:Se,Z:Ce,"%":bt},Pt={a:function(Wt){return Ke[Wt.getUTCDay()]},A:function(Wt){return Vt[Wt.getUTCDay()]},b:function(Wt){return qe[Wt.getUTCMonth()]},B:function(Wt){return Je[Wt.getUTCMonth()]},c:null,d:ae,e:ae,f:Be,H:fe,I:be,j:ke,L:Le,m:ze,M:je,p:function(Wt){return qt[+(Wt.getUTCHours()>=12)]},q:function(Wt){return 1+~~(Wt.getUTCMonth()/3)},Q:Et,s:kt,S:ge,u:we,U:Ee,V:Ve,w:$e,W:Ye,x:null,X:null,y:st,Y:ot,Z:ht,"%":bt},wt={a:function(Wt,Xt,Qt){var rn=Qe.exec(Xt.slice(Qt));return rn?(Wt.w=ut[rn[0].toLowerCase()],Qt+rn[0].length):-1},A:function(Wt,Xt,Qt){var rn=Re.exec(Xt.slice(Qt));return rn?(Wt.w=Ne[rn[0].toLowerCase()],Qt+rn[0].length):-1},b:function(Wt,Xt,Qt){var rn=It.exec(Xt.slice(Qt));return rn?(Wt.m=Lt[rn[0].toLowerCase()],Qt+rn[0].length):-1},B:function(Wt,Xt,Qt){var rn=dt.exec(Xt.slice(Qt));return rn?(Wt.m=_t[rn[0].toLowerCase()],Qt+rn[0].length):-1},c:function(Wt,Xt,Qt){return Yt(Wt,Ft,Xt,Qt)},d:W,e:W,f:H,H:$,I:$,j,L:q,m:N,M:U,p:function(Wt,Xt,Qt){var rn=nt.exec(Xt.slice(Qt));return rn?(Wt.p=ft[rn[0].toLowerCase()],Qt+rn[0].length):-1},q:B,Q:te,s:Z,S:G,u:L,U:b,V:R,w:A,W:I,x:function(Wt,Xt,Qt){return Yt(Wt,Ot,Xt,Qt)},X:function(Wt,Xt,Qt){return Yt(Wt,Bt,Xt,Qt)},y:z,Y:O,Z:F,"%":ne};function Rt(Wt,Xt){return function(Qt){var rn,xn,un,An=[],Yn=-1,kn=0,sn=Wt.length;for(Qt instanceof Date||(Qt=new Date(+Qt));++Yn53)return null;"w"in un||(un.w=1),"Z"in un?(xn=(rn=a(u(un.y,0,1))).getUTCDay(),rn=xn>4||xn===0?d.l6.ceil(rn):(0,d.l6)(rn),rn=g.Z.offset(rn,7*(un.V-1)),un.y=rn.getUTCFullYear(),un.m=rn.getUTCMonth(),un.d=rn.getUTCDate()+(un.w+6)%7):(xn=(rn=l(u(un.y,0,1))).getDay(),rn=xn>4||xn===0?i.wA.ceil(rn):(0,i.wA)(rn),rn=M.Z.offset(rn,7*(un.V-1)),un.y=rn.getFullYear(),un.m=rn.getMonth(),un.d=rn.getDate()+(un.w+6)%7)}else("W"in un||"U"in un)&&("w"in un||(un.w="u"in un?un.u%7:"W"in un?1:0),xn="Z"in un?a(u(un.y,0,1)).getUTCDay():l(u(un.y,0,1)).getDay(),un.m=0,un.d="W"in un?(un.w+6)%7+7*un.W-(xn+5)%7:un.w+7*un.U-(xn+6)%7);return"Z"in un?(un.H+=un.Z/100|0,un.M+=un.Z%100,a(un)):l(un)}}function Yt(Wt,Xt,Qt,rn){for(var xn,un,An=0,Yn=Xt.length,kn=Qt.length;An=kn)return-1;if((xn=Xt.charCodeAt(An++))===37){if(xn=Xt.charAt(An++),!(un=wt[xn in m?Xt.charAt(An++):xn])||(rn=un(Wt,Qt,rn))<0)return-1}else if(xn!=Qt.charCodeAt(rn++))return-1}return rn}return yt.x=Rt(Ot,yt),yt.X=Rt(Bt,yt),yt.c=Rt(Ft,yt),Pt.x=Rt(Ot,Pt),Pt.X=Rt(Bt,Pt),Pt.c=Rt(Ft,Pt),{format:function(Wt){var Xt=Rt(Wt+="",yt);return Xt.toString=function(){return Wt},Xt},parse:function(Wt){var Xt=Nt(Wt+="",!1);return Xt.toString=function(){return Wt},Xt},utcFormat:function(Wt){var Xt=Rt(Wt+="",Pt);return Xt.toString=function(){return Wt},Xt},utcParse:function(Wt){var Xt=Nt(Wt+="",!0);return Xt.toString=function(){return Wt},Xt}}}var s,h,c,m={"-":"",_:" ",0:"0"},w=/^\s*\d+/,y=/^%/,C=/[\\^$*+?|[\]().{}]/g;function _(xt,Ft,Ot){var Bt=xt<0?"-":"",qt=(Bt?-xt:xt)+"",Vt=qt.length;return Bt+(Vt68?1900:2e3),Ot+Bt[0].length):-1}function F(xt,Ft,Ot){var Bt=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(Ft.slice(Ot,Ot+6));return Bt?(xt.Z=Bt[1]?0:-(Bt[2]+(Bt[3]||"00")),Ot+Bt[0].length):-1}function B(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+1));return Bt?(xt.q=3*Bt[0]-3,Ot+Bt[0].length):-1}function N(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+2));return Bt?(xt.m=Bt[0]-1,Ot+Bt[0].length):-1}function W(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+2));return Bt?(xt.d=+Bt[0],Ot+Bt[0].length):-1}function j(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+3));return Bt?(xt.m=0,xt.d=+Bt[0],Ot+Bt[0].length):-1}function $(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+2));return Bt?(xt.H=+Bt[0],Ot+Bt[0].length):-1}function U(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+2));return Bt?(xt.M=+Bt[0],Ot+Bt[0].length):-1}function G(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+2));return Bt?(xt.S=+Bt[0],Ot+Bt[0].length):-1}function q(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+3));return Bt?(xt.L=+Bt[0],Ot+Bt[0].length):-1}function H(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+6));return Bt?(xt.L=Math.floor(Bt[0]/1e3),Ot+Bt[0].length):-1}function ne(xt,Ft,Ot){var Bt=y.exec(Ft.slice(Ot,Ot+1));return Bt?Ot+Bt[0].length:-1}function te(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot));return Bt?(xt.Q=+Bt[0],Ot+Bt[0].length):-1}function Z(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot));return Bt?(xt.s=+Bt[0],Ot+Bt[0].length):-1}function X(xt,Ft){return _(xt.getDate(),Ft,2)}function Q(xt,Ft){return _(xt.getHours(),Ft,2)}function re(xt,Ft){return _(xt.getHours()%12||12,Ft,2)}function ie(xt,Ft){return _(1+M.Z.count((0,v.Z)(xt),xt),Ft,3)}function oe(xt,Ft){return _(xt.getMilliseconds(),Ft,3)}function ue(xt,Ft){return oe(xt,Ft)+"000"}function ce(xt,Ft){return _(xt.getMonth()+1,Ft,2)}function ye(xt,Ft){return _(xt.getMinutes(),Ft,2)}function de(xt,Ft){return _(xt.getSeconds(),Ft,2)}function me(xt){var Ft=xt.getDay();return Ft===0?7:Ft}function pe(xt,Ft){return _(i.OM.count((0,v.Z)(xt)-1,xt),Ft,2)}function xe(xt,Ft){var Ot=xt.getDay();return xt=Ot>=4||Ot===0?(0,i.bL)(xt):i.bL.ceil(xt),_(i.bL.count((0,v.Z)(xt),xt)+((0,v.Z)(xt).getDay()===4),Ft,2)}function Pe(xt){return xt.getDay()}function _e(xt,Ft){return _(i.wA.count((0,v.Z)(xt)-1,xt),Ft,2)}function Me(xt,Ft){return _(xt.getFullYear()%100,Ft,2)}function Se(xt,Ft){return _(xt.getFullYear()%1e4,Ft,4)}function Ce(xt){var Ft=xt.getTimezoneOffset();return(Ft>0?"-":(Ft*=-1,"+"))+_(Ft/60|0,"0",2)+_(Ft%60,"0",2)}function ae(xt,Ft){return _(xt.getUTCDate(),Ft,2)}function fe(xt,Ft){return _(xt.getUTCHours(),Ft,2)}function be(xt,Ft){return _(xt.getUTCHours()%12||12,Ft,2)}function ke(xt,Ft){return _(1+g.Z.count((0,f.Z)(xt),xt),Ft,3)}function Le(xt,Ft){return _(xt.getUTCMilliseconds(),Ft,3)}function Be(xt,Ft){return Le(xt,Ft)+"000"}function ze(xt,Ft){return _(xt.getUTCMonth()+1,Ft,2)}function je(xt,Ft){return _(xt.getUTCMinutes(),Ft,2)}function ge(xt,Ft){return _(xt.getUTCSeconds(),Ft,2)}function we(xt){var Ft=xt.getUTCDay();return Ft===0?7:Ft}function Ee(xt,Ft){return _(d.Ox.count((0,f.Z)(xt)-1,xt),Ft,2)}function Ve(xt,Ft){var Ot=xt.getUTCDay();return xt=Ot>=4||Ot===0?(0,d.hB)(xt):d.hB.ceil(xt),_(d.hB.count((0,f.Z)(xt),xt)+((0,f.Z)(xt).getUTCDay()===4),Ft,2)}function $e(xt){return xt.getUTCDay()}function Ye(xt,Ft){return _(d.l6.count((0,f.Z)(xt)-1,xt),Ft,2)}function st(xt,Ft){return _(xt.getUTCFullYear()%100,Ft,2)}function ot(xt,Ft){return _(xt.getUTCFullYear()%1e4,Ft,4)}function ht(){return"+0000"}function bt(){return"%"}function Et(xt){return+xt}function kt(xt){return Math.floor(+xt/1e3)}s=o({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),h=s.format,s.parse,c=s.utcFormat,s.utcParse},82301:function(T,p,t){t.d(p,{a:function(){return M}});var d=t(30052),g=t(54263),i=(0,d.Z)(function(v){v.setHours(0,0,0,0)},function(v,f){v.setDate(v.getDate()+f)},function(v,f){return(f-v-(f.getTimezoneOffset()-v.getTimezoneOffset())*g.yB)/g.UD},function(v){return v.getDate()-1});p.Z=i;var M=i.range},54263:function(T,p,t){t.d(p,{UD:function(){return M},Y2:function(){return i},Ym:function(){return d},iM:function(){return v},yB:function(){return g}});var d=1e3,g=6e4,i=36e5,M=864e5,v=6048e5},81041:function(T,p,t){t.r(p),t.d(p,{timeDay:function(){return w.Z},timeDays:function(){return w.a},timeFriday:function(){return y.mC},timeFridays:function(){return y.b$},timeHour:function(){return c},timeHours:function(){return m},timeInterval:function(){return d.Z},timeMillisecond:function(){return i},timeMilliseconds:function(){return M},timeMinute:function(){return o},timeMinutes:function(){return s},timeMonday:function(){return y.wA},timeMondays:function(){return y.bJ},timeMonth:function(){return _},timeMonths:function(){return k},timeSaturday:function(){return y.EY},timeSaturdays:function(){return y.Ff},timeSecond:function(){return l},timeSeconds:function(){return a},timeSunday:function(){return y.OM},timeSundays:function(){return y.vm},timeThursday:function(){return y.bL},timeThursdays:function(){return y.$t},timeTuesday:function(){return y.sy},timeTuesdays:function(){return y.aU},timeWednesday:function(){return y.zg},timeWednesdays:function(){return y.Ld},timeWeek:function(){return y.OM},timeWeeks:function(){return y.vm},timeYear:function(){return E.Z},timeYears:function(){return E.g},utcDay:function(){return O.Z},utcDays:function(){return O.y},utcFriday:function(){return z.QQ},utcFridays:function(){return z.fz},utcHour:function(){return R},utcHours:function(){return I},utcMillisecond:function(){return i},utcMilliseconds:function(){return M},utcMinute:function(){return A},utcMinutes:function(){return L},utcMonday:function(){return z.l6},utcMondays:function(){return z.$3},utcMonth:function(){return B},utcMonths:function(){return N},utcSaturday:function(){return z.g4},utcSaturdays:function(){return z.Q_},utcSecond:function(){return l},utcSeconds:function(){return a},utcSunday:function(){return z.Ox},utcSundays:function(){return z.SU},utcThursday:function(){return z.hB},utcThursdays:function(){return z.xj},utcTuesday:function(){return z.J1},utcTuesdays:function(){return z.DK},utcWednesday:function(){return z.b3},utcWednesdays:function(){return z.uy},utcWeek:function(){return z.Ox},utcWeeks:function(){return z.SU},utcYear:function(){return W.Z},utcYears:function(){return W.D}});var d=t(30052),g=(0,d.Z)(function(){},function(j,$){j.setTime(+j+$)},function(j,$){return $-j});g.every=function(j){return j=Math.floor(j),isFinite(j)&&j>0?j>1?(0,d.Z)(function($){$.setTime(Math.floor($/j)*j)},function($,U){$.setTime(+$+U*j)},function($,U){return(U-$)/j}):g:null};var i=g,M=g.range,v=t(54263),f=(0,d.Z)(function(j){j.setTime(j-j.getMilliseconds())},function(j,$){j.setTime(+j+$*v.Ym)},function(j,$){return($-j)/v.Ym},function(j){return j.getUTCSeconds()}),l=f,a=f.range,u=(0,d.Z)(function(j){j.setTime(j-j.getMilliseconds()-j.getSeconds()*v.Ym)},function(j,$){j.setTime(+j+$*v.yB)},function(j,$){return($-j)/v.yB},function(j){return j.getMinutes()}),o=u,s=u.range,h=(0,d.Z)(function(j){j.setTime(j-j.getMilliseconds()-j.getSeconds()*v.Ym-j.getMinutes()*v.yB)},function(j,$){j.setTime(+j+$*v.Y2)},function(j,$){return($-j)/v.Y2},function(j){return j.getHours()}),c=h,m=h.range,w=t(82301),y=t(59879),C=(0,d.Z)(function(j){j.setDate(1),j.setHours(0,0,0,0)},function(j,$){j.setMonth(j.getMonth()+$)},function(j,$){return $.getMonth()-j.getMonth()+12*($.getFullYear()-j.getFullYear())},function(j){return j.getMonth()}),_=C,k=C.range,E=t(34823),x=(0,d.Z)(function(j){j.setUTCSeconds(0,0)},function(j,$){j.setTime(+j+$*v.yB)},function(j,$){return($-j)/v.yB},function(j){return j.getUTCMinutes()}),A=x,L=x.range,b=(0,d.Z)(function(j){j.setUTCMinutes(0,0,0)},function(j,$){j.setTime(+j+$*v.Y2)},function(j,$){return($-j)/v.Y2},function(j){return j.getUTCHours()}),R=b,I=b.range,O=t(48480),z=t(58176),F=(0,d.Z)(function(j){j.setUTCDate(1),j.setUTCHours(0,0,0,0)},function(j,$){j.setUTCMonth(j.getUTCMonth()+$)},function(j,$){return $.getUTCMonth()-j.getUTCMonth()+12*($.getUTCFullYear()-j.getUTCFullYear())},function(j){return j.getUTCMonth()}),B=F,N=F.range,W=t(79791)},30052:function(T,p,t){t.d(p,{Z:function(){return i}});var d=new Date,g=new Date;function i(M,v,f,l){function a(u){return M(u=arguments.length===0?new Date:new Date(+u)),u}return a.floor=function(u){return M(u=new Date(+u)),u},a.ceil=function(u){return M(u=new Date(u-1)),v(u,1),M(u),u},a.round=function(u){var o=a(u),s=a.ceil(u);return u-o0))return c;do c.push(h=new Date(+u)),v(u,s),M(u);while(h=o)for(;M(o),!u(o);)o.setTime(o-1)},function(o,s){if(o>=o)if(s<0)for(;++s<=0;)for(;v(o,-1),!u(o););else for(;--s>=0;)for(;v(o,1),!u(o););})},f&&(a.count=function(u,o){return d.setTime(+u),g.setTime(+o),M(d),M(g),Math.floor(f(d,g))},a.every=function(u){return u=Math.floor(u),isFinite(u)&&u>0?u>1?a.filter(l?function(o){return l(o)%u==0}:function(o){return a.count(0,o)%u==0}):a:null}),a}},48480:function(T,p,t){t.d(p,{y:function(){return M}});var d=t(30052),g=t(54263),i=(0,d.Z)(function(v){v.setUTCHours(0,0,0,0)},function(v,f){v.setUTCDate(v.getUTCDate()+f)},function(v,f){return(f-v)/g.UD},function(v){return v.getUTCDate()-1});p.Z=i;var M=i.range},58176:function(T,p,t){t.d(p,{$3:function(){return h},DK:function(){return c},J1:function(){return f},Ox:function(){return M},QQ:function(){return u},Q_:function(){return C},SU:function(){return s},b3:function(){return l},fz:function(){return y},g4:function(){return o},hB:function(){return a},l6:function(){return v},uy:function(){return m},xj:function(){return w}});var d=t(30052),g=t(54263);function i(_){return(0,d.Z)(function(k){k.setUTCDate(k.getUTCDate()-(k.getUTCDay()+7-_)%7),k.setUTCHours(0,0,0,0)},function(k,E){k.setUTCDate(k.getUTCDate()+7*E)},function(k,E){return(E-k)/g.iM})}var M=i(0),v=i(1),f=i(2),l=i(3),a=i(4),u=i(5),o=i(6),s=M.range,h=v.range,c=f.range,m=l.range,w=a.range,y=u.range,C=o.range},79791:function(T,p,t){t.d(p,{D:function(){return i}});var d=t(30052),g=(0,d.Z)(function(M){M.setUTCMonth(0,1),M.setUTCHours(0,0,0,0)},function(M,v){M.setUTCFullYear(M.getUTCFullYear()+v)},function(M,v){return v.getUTCFullYear()-M.getUTCFullYear()},function(M){return M.getUTCFullYear()});g.every=function(M){return isFinite(M=Math.floor(M))&&M>0?(0,d.Z)(function(v){v.setUTCFullYear(Math.floor(v.getUTCFullYear()/M)*M),v.setUTCMonth(0,1),v.setUTCHours(0,0,0,0)},function(v,f){v.setUTCFullYear(v.getUTCFullYear()+f*M)}):null},p.Z=g;var i=g.range},59879:function(T,p,t){t.d(p,{$t:function(){return w},EY:function(){return o},Ff:function(){return C},Ld:function(){return m},OM:function(){return M},aU:function(){return c},b$:function(){return y},bJ:function(){return h},bL:function(){return a},mC:function(){return u},sy:function(){return f},vm:function(){return s},wA:function(){return v},zg:function(){return l}});var d=t(30052),g=t(54263);function i(_){return(0,d.Z)(function(k){k.setDate(k.getDate()-(k.getDay()+7-_)%7),k.setHours(0,0,0,0)},function(k,E){k.setDate(k.getDate()+7*E)},function(k,E){return(E-k-(E.getTimezoneOffset()-k.getTimezoneOffset())*g.yB)/g.iM})}var M=i(0),v=i(1),f=i(2),l=i(3),a=i(4),u=i(5),o=i(6),s=M.range,h=v.range,c=f.range,m=l.range,w=a.range,y=u.range,C=o.range},34823:function(T,p,t){t.d(p,{g:function(){return i}});var d=t(30052),g=(0,d.Z)(function(M){M.setMonth(0,1),M.setHours(0,0,0,0)},function(M,v){M.setFullYear(M.getFullYear()+v)},function(M,v){return v.getFullYear()-M.getFullYear()},function(M){return M.getFullYear()});g.every=function(M){return isFinite(M=Math.floor(M))&&M>0?(0,d.Z)(function(v){v.setFullYear(Math.floor(v.getFullYear()/M)*M),v.setMonth(0,1),v.setHours(0,0,0,0)},function(v,f){v.setFullYear(v.getFullYear()+f*M)}):null},p.Z=g;var i=g.range},17045:function(T,p,t){var d=t(8709),g=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",i=Object.prototype.toString,M=Array.prototype.concat,v=Object.defineProperty,f=t(55622)(),l=v&&f,a=function(o,s,h,c){if(s in o){if(c===!0){if(o[s]===h)return}else if(typeof(m=c)!="function"||i.call(m)!=="[object Function]"||!c())return}var m;l?v(o,s,{configurable:!0,enumerable:!1,value:h,writable:!0}):o[s]=h},u=function(o,s){var h=arguments.length>2?arguments[2]:{},c=d(s);g&&(c=M.call(c,Object.getOwnPropertySymbols(s)));for(var m=0;ml*a){var c=(h-s)/l;f[o]=1e3*c}}return f}function g(i){for(var M=[],v=i[0];v<=i[1];v++)for(var f=String.fromCharCode(v),l=i[0];l0)return function(g,i){var M,v;for(M=new Array(g),v=0;v80*O){z=B=R[0],F=N=R[1];for(var ne=O;neB&&(B=W),j>N&&(N=j);$=($=Math.max(B-z,N-F))!==0?1/$:0}return g(q,H,O,z,F,$),H}function t(R,I,O,z,F){var B,N;if(F===b(R,I,O,z)>0)for(B=I;B=I;B-=z)N=x(B,R[B],R[B+1],N);return N&&w(N,N.next)&&(A(N),N=N.next),N}function d(R,I){if(!R)return R;I||(I=R);var O,z=R;do if(O=!1,z.steiner||!w(z,z.next)&&m(z.prev,z,z.next)!==0)z=z.next;else{if(A(z),(z=I=z.prev)===z.next)break;O=!0}while(O||z!==I);return I}function g(R,I,O,z,F,B,N){if(R){!N&&B&&function(U,G,q,H){var ne=U;do ne.z===null&&(ne.z=o(ne.x,ne.y,G,q,H)),ne.prevZ=ne.prev,ne.nextZ=ne.next,ne=ne.next;while(ne!==U);ne.prevZ.nextZ=null,ne.prevZ=null,function(te){var Z,X,Q,re,ie,oe,ue,ce,ye=1;do{for(X=te,te=null,ie=null,oe=0;X;){for(oe++,Q=X,ue=0,Z=0;Z0||ce>0&&Q;)ue!==0&&(ce===0||!Q||X.z<=Q.z)?(re=X,X=X.nextZ,ue--):(re=Q,Q=Q.nextZ,ce--),ie?ie.nextZ=re:te=re,re.prevZ=ie,ie=re;X=Q}ie.nextZ=null,ye*=2}while(oe>1)}(ne)}(R,z,F,B);for(var W,j,$=R;R.prev!==R.next;)if(W=R.prev,j=R.next,B?M(R,z,F,B):i(R))I.push(W.i/O),I.push(R.i/O),I.push(j.i/O),A(R),R=j.next,$=j.next;else if((R=j)===$){N?N===1?g(R=v(d(R),I,O),I,O,z,F,B,2):N===2&&f(R,I,O,z,F,B):g(d(R),I,O,z,F,B,1);break}}}function i(R){var I=R.prev,O=R,z=R.next;if(m(I,O,z)>=0)return!1;for(var F=R.next.next;F!==R.prev;){if(h(I.x,I.y,O.x,O.y,z.x,z.y,F.x,F.y)&&m(F.prev,F,F.next)>=0)return!1;F=F.next}return!0}function M(R,I,O,z){var F=R.prev,B=R,N=R.next;if(m(F,B,N)>=0)return!1;for(var W=F.xB.x?F.x>N.x?F.x:N.x:B.x>N.x?B.x:N.x,U=F.y>B.y?F.y>N.y?F.y:N.y:B.y>N.y?B.y:N.y,G=o(W,j,I,O,z),q=o($,U,I,O,z),H=R.prevZ,ne=R.nextZ;H&&H.z>=G&&ne&&ne.z<=q;){if(H!==R.prev&&H!==R.next&&h(F.x,F.y,B.x,B.y,N.x,N.y,H.x,H.y)&&m(H.prev,H,H.next)>=0||(H=H.prevZ,ne!==R.prev&&ne!==R.next&&h(F.x,F.y,B.x,B.y,N.x,N.y,ne.x,ne.y)&&m(ne.prev,ne,ne.next)>=0))return!1;ne=ne.nextZ}for(;H&&H.z>=G;){if(H!==R.prev&&H!==R.next&&h(F.x,F.y,B.x,B.y,N.x,N.y,H.x,H.y)&&m(H.prev,H,H.next)>=0)return!1;H=H.prevZ}for(;ne&&ne.z<=q;){if(ne!==R.prev&&ne!==R.next&&h(F.x,F.y,B.x,B.y,N.x,N.y,ne.x,ne.y)&&m(ne.prev,ne,ne.next)>=0)return!1;ne=ne.nextZ}return!0}function v(R,I,O){var z=R;do{var F=z.prev,B=z.next.next;!w(F,B)&&y(F,z,z.next,B)&&k(F,B)&&k(B,F)&&(I.push(F.i/O),I.push(z.i/O),I.push(B.i/O),A(z),A(z.next),z=R=B),z=z.next}while(z!==R);return d(z)}function f(R,I,O,z,F,B){var N=R;do{for(var W=N.next.next;W!==N.prev;){if(N.i!==W.i&&c(N,W)){var j=E(N,W);return N=d(N,N.next),j=d(j,j.next),g(N,I,O,z,F,B),void g(j,I,O,z,F,B)}W=W.next}N=N.next}while(N!==R)}function l(R,I){return R.x-I.x}function a(R,I){if(I=function(z,F){var B,N=F,W=z.x,j=z.y,$=-1/0;do{if(j<=N.y&&j>=N.next.y&&N.next.y!==N.y){var U=N.x+(j-N.y)*(N.next.x-N.x)/(N.next.y-N.y);if(U<=W&&U>$){if($=U,U===W){if(j===N.y)return N;if(j===N.next.y)return N.next}B=N.x=N.x&&N.x>=H&&W!==N.x&&h(jB.x||N.x===B.x&&u(B,N)))&&(B=N,te=G)),N=N.next;while(N!==q);return B}(R,I),I){var O=E(I,R);d(I,I.next),d(O,O.next)}}function u(R,I){return m(R.prev,R,I.prev)<0&&m(I.next,R,R.next)<0}function o(R,I,O,z,F){return(R=1431655765&((R=858993459&((R=252645135&((R=16711935&((R=32767*(R-O)*F)|R<<8))|R<<4))|R<<2))|R<<1))|(I=1431655765&((I=858993459&((I=252645135&((I=16711935&((I=32767*(I-z)*F)|I<<8))|I<<4))|I<<2))|I<<1))<<1}function s(R){var I=R,O=R;do(I.x=0&&(R-N)*(z-W)-(O-N)*(I-W)>=0&&(O-N)*(B-W)-(F-N)*(z-W)>=0}function c(R,I){return R.next.i!==I.i&&R.prev.i!==I.i&&!function(O,z){var F=O;do{if(F.i!==O.i&&F.next.i!==O.i&&F.i!==z.i&&F.next.i!==z.i&&y(F,F.next,O,z))return!0;F=F.next}while(F!==O);return!1}(R,I)&&(k(R,I)&&k(I,R)&&function(O,z){var F=O,B=!1,N=(O.x+z.x)/2,W=(O.y+z.y)/2;do F.y>W!=F.next.y>W&&F.next.y!==F.y&&N<(F.next.x-F.x)*(W-F.y)/(F.next.y-F.y)+F.x&&(B=!B),F=F.next;while(F!==O);return B}(R,I)&&(m(R.prev,R,I.prev)||m(R,I.prev,I))||w(R,I)&&m(R.prev,R,R.next)>0&&m(I.prev,I,I.next)>0)}function m(R,I,O){return(I.y-R.y)*(O.x-I.x)-(I.x-R.x)*(O.y-I.y)}function w(R,I){return R.x===I.x&&R.y===I.y}function y(R,I,O,z){var F=_(m(R,I,O)),B=_(m(R,I,z)),N=_(m(O,z,R)),W=_(m(O,z,I));return F!==B&&N!==W||!(F!==0||!C(R,O,I))||!(B!==0||!C(R,z,I))||!(N!==0||!C(O,R,z))||!(W!==0||!C(O,I,z))}function C(R,I,O){return I.x<=Math.max(R.x,O.x)&&I.x>=Math.min(R.x,O.x)&&I.y<=Math.max(R.y,O.y)&&I.y>=Math.min(R.y,O.y)}function _(R){return R>0?1:R<0?-1:0}function k(R,I){return m(R.prev,R,R.next)<0?m(R,I,R.next)>=0&&m(R,R.prev,I)>=0:m(R,I,R.prev)<0||m(R,R.next,I)<0}function E(R,I){var O=new L(R.i,R.x,R.y),z=new L(I.i,I.x,I.y),F=R.next,B=I.prev;return R.next=I,I.prev=R,O.next=F,F.prev=O,z.next=O,O.prev=z,B.next=z,z.prev=B,z}function x(R,I,O,z){var F=new L(R,I,O);return z?(F.next=z.next,F.prev=z,z.next.prev=F,z.next=F):(F.prev=F,F.next=F),F}function A(R){R.next.prev=R.prev,R.prev.next=R.next,R.prevZ&&(R.prevZ.nextZ=R.nextZ),R.nextZ&&(R.nextZ.prevZ=R.prevZ)}function L(R,I,O){this.i=R,this.x=I,this.y=O,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function b(R,I,O,z){for(var F=0,B=I,N=O-z;B0&&(z+=R[F-1].length,O.holes.push(z))}return O}},2502:function(T,p,t){var d=t(68664);T.exports=function(g,i){var M,v=[],f=[],l=[],a={},u=[];function o(k){l[k]=!1,a.hasOwnProperty(k)&&Object.keys(a[k]).forEach(function(E){delete a[k][E],l[E]&&o(E)})}function s(k){var E,x,A=!1;for(f.push(k),l[k]=!0,E=0;E=O})})(k);for(var E,x=d(g).components.filter(function(O){return O.length>1}),A=1/0,L=0;L=55296&&k<=56319&&(L+=c[++w]),L=b?o.call(b,R,L,y):L,m?(s.value=L,h(C,y,s)):C[y]=L,++y;_=y}}if(_===void 0)for(_=M(c.length),m&&(C=new m(_)),w=0;w<_;++w)L=b?o.call(b,R,c[w],w):c[w],m?(s.value=L,h(C,w,s)):C[w]=L;return m&&(s.value=null,C.length=_),C}},73051:function(T){var p=Object.prototype.toString,t=p.call(function(){return arguments}());T.exports=function(d){return p.call(d)===t}},33717:function(T){var p=Object.prototype.toString,t=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);T.exports=function(d){return typeof d=="function"&&t(p.call(d))}},52345:function(T){T.exports=function(){}},9953:function(T,p,t){T.exports=t(90436)()?Math.sign:t(6069)},90436:function(T){T.exports=function(){var p=Math.sign;return typeof p=="function"&&p(10)===1&&p(-20)===-1}},6069:function(T){T.exports=function(p){return p=Number(p),isNaN(p)||p===0?p:p>0?1:-1}},56247:function(T,p,t){var d=t(9953),g=Math.abs,i=Math.floor;T.exports=function(M){return isNaN(M)?0:(M=Number(M))!==0&&isFinite(M)?d(M)*i(g(M)):M}},35976:function(T,p,t){var d=t(56247),g=Math.max;T.exports=function(i){return g(0,d(i))}},67260:function(T,p,t){var d=t(78513),g=t(36672),i=Function.prototype.bind,M=Function.prototype.call,v=Object.keys,f=Object.prototype.propertyIsEnumerable;T.exports=function(l,a){return function(u,o){var s,h=arguments[2],c=arguments[3];return u=Object(g(u)),d(o),s=v(u),c&&s.sort(typeof c=="function"?i.call(c,u):void 0),typeof l!="function"&&(l=s[l]),M.call(l,s,function(m,w){return f.call(u,m)?M.call(o,h,u[m],m,u,w):a})}}},95879:function(T,p,t){T.exports=t(73583)()?Object.assign:t(34205)},73583:function(T){T.exports=function(){var p,t=Object.assign;return typeof t=="function"&&(t(p={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),p.foo+p.bar+p.trzy==="razdwatrzy")}},34205:function(T,p,t){var d=t(68700),g=t(36672),i=Math.max;T.exports=function(M,v){var f,l,a,u=i(arguments.length,2);for(M=Object(g(M)),a=function(o){try{M[o]=v[o]}catch(s){f||(f=s)}},l=1;l-1}},87963:function(T){var p=Object.prototype.toString,t=p.call("");T.exports=function(d){return typeof d=="string"||d&&typeof d=="object"&&(d instanceof String||p.call(d)===t)||!1}},43043:function(T){var p=Object.create(null),t=Math.random;T.exports=function(){var d;do d=t().toString(36).slice(2);while(p[d]);return d}},32411:function(T,p,t){var d,g=t(1496),i=t(66741),M=t(62072),v=t(8260),f=t(95426),l=Object.defineProperty;d=T.exports=function(a,u){if(!(this instanceof d))throw new TypeError("Constructor requires 'new'");f.call(this,a),u=u?i.call(u,"key+value")?"key+value":i.call(u,"key")?"key":"value":"value",l(this,"__kind__",M("",u))},g&&g(d,f),delete d.prototype.constructor,d.prototype=Object.create(f.prototype,{_resolve:M(function(a){return this.__kind__==="value"?this.__list__[a]:this.__kind__==="key+value"?[a,this.__list__[a]]:a})}),l(d.prototype,v.toStringTag,M("c","Array Iterator"))},27515:function(T,p,t){var d=t(73051),g=t(78513),i=t(87963),M=t(66661),v=Array.isArray,f=Function.prototype.call,l=Array.prototype.some;T.exports=function(a,u){var o,s,h,c,m,w,y,C,_=arguments[2];if(v(a)||d(a)?o="array":i(a)?o="string":a=M(a),g(u),h=function(){c=!0},o!=="array")if(o!=="string")for(s=a.next();!s.done;){if(f.call(u,_,s.value,h),c)return;s=a.next()}else for(w=a.length,m=0;m=55296&&C<=56319&&(y+=a[++m]),f.call(u,_,y,h),!c);++m);else l.call(a,function(k){return f.call(u,_,k,h),c})}},66661:function(T,p,t){var d=t(73051),g=t(87963),i=t(32411),M=t(259),v=t(58095),f=t(8260).iterator;T.exports=function(l){return typeof v(l)[f]=="function"?l[f]():d(l)?new i(l):g(l)?new M(l):new i(l)}},95426:function(T,p,t){var d,g=t(16134),i=t(95879),M=t(78513),v=t(36672),f=t(62072),l=t(55174),a=t(8260),u=Object.defineProperty,o=Object.defineProperties;T.exports=d=function(s,h){if(!(this instanceof d))throw new TypeError("Constructor requires 'new'");o(this,{__list__:f("w",v(s)),__context__:f("w",h),__nextIndex__:f("w",0)}),h&&(M(h.on),h.on("_add",this._onAdd),h.on("_delete",this._onDelete),h.on("_clear",this._onClear))},delete d.prototype.constructor,o(d.prototype,i({_next:f(function(){var s;if(this.__list__)return this.__redo__&&(s=this.__redo__.shift())!==void 0?s:this.__nextIndex__=this.__nextIndex__||(++this.__nextIndex__,this.__redo__?(this.__redo__.forEach(function(h,c){h>=s&&(this.__redo__[c]=++h)},this),this.__redo__.push(s)):u(this,"__redo__",f("c",[s])))}),_onDelete:f(function(s){var h;s>=this.__nextIndex__||(--this.__nextIndex__,this.__redo__&&((h=this.__redo__.indexOf(s))!==-1&&this.__redo__.splice(h,1),this.__redo__.forEach(function(c,m){c>s&&(this.__redo__[m]=--c)},this)))}),_onClear:f(function(){this.__redo__&&g.call(this.__redo__),this.__nextIndex__=0})}))),u(d.prototype,a.iterator,f(function(){return this}))},35940:function(T,p,t){var d=t(73051),g=t(95296),i=t(87963),M=t(8260).iterator,v=Array.isArray;T.exports=function(f){return!(!g(f)||!v(f)&&!i(f)&&!d(f)&&typeof f[M]!="function")}},259:function(T,p,t){var d,g=t(1496),i=t(62072),M=t(8260),v=t(95426),f=Object.defineProperty;d=T.exports=function(l){if(!(this instanceof d))throw new TypeError("Constructor requires 'new'");l=String(l),v.call(this,l),f(this,"__length__",i("",l.length))},g&&g(d,v),delete d.prototype.constructor,d.prototype=Object.create(v.prototype,{_next:i(function(){if(this.__list__)return this.__nextIndex__=55296&&a<=56319?u+this.__list__[this.__nextIndex__++]:u})}),f(d.prototype,M.toStringTag,i("c","String Iterator"))},58095:function(T,p,t){var d=t(35940);T.exports=function(g){if(!d(g))throw new TypeError(g+" is not iterable");return g}},73523:function(T){function p(t,d){if(t==null)throw new TypeError("Cannot convert first argument to object");for(var g=Object(t),i=1;i0&&E.length>_&&!E.warned){E.warned=!0;var A=new Error("Possible EventEmitter memory leak detected. "+E.length+" "+String(w)+" listeners added. Use emitter.setMaxListeners() to increase limit");A.name="MaxListenersExceededWarning",A.emitter=m,A.type=w,A.count=E.length,x=A,console&&console.warn&&console.warn(x)}return m}function a(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function u(m,w,y){var C={fired:!1,wrapFn:void 0,target:m,type:w,listener:y},_=a.bind(C);return _.listener=y,C.wrapFn=_,_}function o(m,w,y){var C=m._events;if(C===void 0)return[];var _=C[w];return _===void 0?[]:typeof _=="function"?y?[_.listener||_]:[_]:y?function(k){for(var E=new Array(k.length),x=0;x0&&(k=w[0]),k instanceof Error)throw k;var E=new Error("Unhandled error."+(k?" ("+k.message+")":""));throw E.context=k,E}var x=_[m];if(x===void 0)return!1;if(typeof x=="function")d(x,this,w);else{var A=x.length,L=h(x,A);for(y=0;y=0;k--)if(y[k]===w||y[k].listener===w){E=y[k].listener,_=k;break}if(_<0)return this;_===0?y.shift():function(x,A){for(;A+1=0;C--)this.removeListener(m,w[C]);return this},i.prototype.listeners=function(m){return o(this,m,!0)},i.prototype.rawListeners=function(m){return o(this,m,!1)},i.listenerCount=function(m,w){return typeof m.listenerCount=="function"?m.listenerCount(w):s.call(m,w)},i.prototype.listenerCount=s,i.prototype.eventNames=function(){return this._eventsCount>0?p(this._events):[]}},60774:function(T){var p=function(){if(typeof self=="object"&&self)return self;if(typeof window=="object"&&window)return window;throw new Error("Unable to resolve global `this`")};T.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch{return p()}try{return __global__||p()}finally{delete Object.prototype.__global__}}()},94908:function(T,p,t){T.exports=t(51152)()?globalThis:t(60774)},51152:function(T){T.exports=function(){return typeof globalThis=="object"&&!!globalThis&&globalThis.Array===Array}},92770:function(T,p,t){var d=t(18546);T.exports=function(g){var i=typeof g;if(i==="string"){var M=g;if((g=+g)==0&&d(M))return!1}else if(i!=="number")return!1;return g-g<1}},30120:function(T,p,t){var d=t(90660);T.exports=function(g,i,M){if(!g)throw new TypeError("must specify data as first parameter");if(M=0|+(M||0),Array.isArray(g)&&g[0]&&typeof g[0][0]=="number"){var v,f,l,a,u=g[0].length,o=g.length*u;i&&typeof i!="string"||(i=new(d(i||"float32"))(o+M));var s=i.length-M;if(o!==s)throw new Error("source length "+o+" ("+u+"x"+g.length+") does not match destination length "+s);for(v=0,l=M;vM[0]-l[0]/2&&(c=l[0]/2,m+=l[1]);return v}},32879:function(T){function p(i,M){M||(M={}),(typeof i=="string"||Array.isArray(i))&&(M.family=i);var v=Array.isArray(M.family)?M.family.join(", "):M.family;if(!v)throw Error("`family` must be defined");var f=M.size||M.fontSize||M.em||48,l=M.weight||M.fontWeight||"",a=(i=[M.style||M.fontStyle||"",l,f].join(" ")+"px "+v,M.origin||"top");if(p.cache[v]&&f<=p.cache[v].em)return t(p.cache[v],a);var u=M.canvas||p.canvas,o=u.getContext("2d"),s={upper:M.upper!==void 0?M.upper:"H",lower:M.lower!==void 0?M.lower:"x",descent:M.descent!==void 0?M.descent:"p",ascent:M.ascent!==void 0?M.ascent:"h",tittle:M.tittle!==void 0?M.tittle:"i",overshoot:M.overshoot!==void 0?M.overshoot:"O"},h=Math.ceil(1.5*f);u.height=h,u.width=.5*h,o.font=i;var c="H",m={top:0};o.clearRect(0,0,h,h),o.textBaseline="top",o.fillStyle="black",o.fillText(c,0,0);var w=d(o.getImageData(0,0,h,h));o.clearRect(0,0,h,h),o.textBaseline="bottom",o.fillText(c,0,h);var y=d(o.getImageData(0,0,h,h));m.lineHeight=m.bottom=h-y+w,o.clearRect(0,0,h,h),o.textBaseline="alphabetic",o.fillText(c,0,h);var C=h-d(o.getImageData(0,0,h,h))-1+w;m.baseline=m.alphabetic=C,o.clearRect(0,0,h,h),o.textBaseline="middle",o.fillText(c,0,.5*h);var _=d(o.getImageData(0,0,h,h));m.median=m.middle=h-_-1+w-.5*h,o.clearRect(0,0,h,h),o.textBaseline="hanging",o.fillText(c,0,.5*h);var k=d(o.getImageData(0,0,h,h));m.hanging=h-k-1+w-.5*h,o.clearRect(0,0,h,h),o.textBaseline="ideographic",o.fillText(c,0,h);var E=d(o.getImageData(0,0,h,h));if(m.ideographic=h-E-1+w,s.upper&&(o.clearRect(0,0,h,h),o.textBaseline="top",o.fillText(s.upper,0,0),m.upper=d(o.getImageData(0,0,h,h)),m.capHeight=m.baseline-m.upper),s.lower&&(o.clearRect(0,0,h,h),o.textBaseline="top",o.fillText(s.lower,0,0),m.lower=d(o.getImageData(0,0,h,h)),m.xHeight=m.baseline-m.lower),s.tittle&&(o.clearRect(0,0,h,h),o.textBaseline="top",o.fillText(s.tittle,0,0),m.tittle=d(o.getImageData(0,0,h,h))),s.ascent&&(o.clearRect(0,0,h,h),o.textBaseline="top",o.fillText(s.ascent,0,0),m.ascent=d(o.getImageData(0,0,h,h))),s.descent&&(o.clearRect(0,0,h,h),o.textBaseline="top",o.fillText(s.descent,0,0),m.descent=g(o.getImageData(0,0,h,h))),s.overshoot){o.clearRect(0,0,h,h),o.textBaseline="top",o.fillText(s.overshoot,0,0);var x=g(o.getImageData(0,0,h,h));m.overshoot=x-C}for(var A in m)m[A]/=f;return m.em=f,p.cache[v]=m,t(m,a)}function t(i,M){var v={};for(var f in typeof M=="string"&&(M=i[M]),i)f!=="em"&&(v[f]=i[f]-M);return v}function d(i){for(var M=i.height,v=i.data,f=3;f0;f-=4)if(v[f]!==0)return Math.floor(.25*(f-3)/M)}T.exports=p,p.canvas=document.createElement("canvas"),p.cache={}},31353:function(T,p,t){var d=t(85395),g=Object.prototype.toString,i=Object.prototype.hasOwnProperty,M=function(l,a,u){for(var o=0,s=l.length;o=3&&(o=u),g.call(l)==="[object Array]"?M(l,a,o):typeof l=="string"?v(l,a,o):f(l,a,o)}},73047:function(T){var p="Function.prototype.bind called on incompatible ",t=Array.prototype.slice,d=Object.prototype.toString,g="[object Function]";T.exports=function(i){var M=this;if(typeof M!="function"||d.call(M)!==g)throw new TypeError(p+M);for(var v,f=t.call(arguments,1),l=function(){if(this instanceof v){var h=M.apply(this,f.concat(t.call(arguments)));return Object(h)===h?h:this}return M.apply(i,f.concat(t.call(arguments)))},a=Math.max(0,M.length-f.length),u=[],o=0;o"u"&&!t.canvas)return null;var d=t.canvas||document.createElement("canvas");typeof t.width=="number"&&(d.width=t.width),typeof t.height=="number"&&(d.height=t.height);var g,i=t;try{var M=[p];p.indexOf("webgl")===0&&M.push("experimental-"+p);for(var v=0;v"u"?d:o(Uint8Array),c={"%AggregateError%":typeof AggregateError>"u"?d:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?d:ArrayBuffer,"%ArrayIteratorPrototype%":u?o([][Symbol.iterator]()):d,"%AsyncFromSyncIteratorPrototype%":d,"%AsyncFunction%":s,"%AsyncGenerator%":s,"%AsyncGeneratorFunction%":s,"%AsyncIteratorPrototype%":s,"%Atomics%":typeof Atomics>"u"?d:Atomics,"%BigInt%":typeof BigInt>"u"?d:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?d:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?d:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?d:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?d:Float32Array,"%Float64Array%":typeof Float64Array>"u"?d:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?d:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":s,"%Int8Array%":typeof Int8Array>"u"?d:Int8Array,"%Int16Array%":typeof Int16Array>"u"?d:Int16Array,"%Int32Array%":typeof Int32Array>"u"?d:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":u?o(o([][Symbol.iterator]())):d,"%JSON%":typeof JSON=="object"?JSON:d,"%Map%":typeof Map>"u"?d:Map,"%MapIteratorPrototype%":typeof Map<"u"&&u?o(new Map()[Symbol.iterator]()):d,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?d:Promise,"%Proxy%":typeof Proxy>"u"?d:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?d:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?d:Set,"%SetIteratorPrototype%":typeof Set<"u"&&u?o(new Set()[Symbol.iterator]()):d,"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?d:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":u?o(""[Symbol.iterator]()):d,"%Symbol%":u?Symbol:d,"%SyntaxError%":g,"%ThrowTypeError%":a,"%TypedArray%":h,"%TypeError%":M,"%Uint8Array%":typeof Uint8Array>"u"?d:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?d:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?d:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?d:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?d:WeakMap,"%WeakRef%":typeof WeakRef>"u"?d:WeakRef,"%WeakSet%":typeof WeakSet>"u"?d:WeakSet};try{null.error}catch(z){var m=o(o(z));c["%Error.prototype%"]=m}var w=function z(F){var B;if(F==="%AsyncFunction%")B=v("async function () {}");else if(F==="%GeneratorFunction%")B=v("function* () {}");else if(F==="%AsyncGeneratorFunction%")B=v("async function* () {}");else if(F==="%AsyncGenerator%"){var N=z("%AsyncGeneratorFunction%");N&&(B=N.prototype)}else if(F==="%AsyncIteratorPrototype%"){var W=z("%AsyncGenerator%");W&&(B=o(W.prototype))}return c[F]=B,B},y={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},C=t(77575),_=t(35065),k=C.call(Function.call,Array.prototype.concat),E=C.call(Function.apply,Array.prototype.splice),x=C.call(Function.call,String.prototype.replace),A=C.call(Function.call,String.prototype.slice),L=C.call(Function.call,RegExp.prototype.exec),b=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,R=/\\(\\)?/g,I=function(z){var F=A(z,0,1),B=A(z,-1);if(F==="%"&&B!=="%")throw new g("invalid intrinsic syntax, expected closing `%`");if(B==="%"&&F!=="%")throw new g("invalid intrinsic syntax, expected opening `%`");var N=[];return x(z,b,function(W,j,$,U){N[N.length]=$?x(U,R,"$1"):j||W}),N},O=function(z,F){var B,N=z;if(_(y,N)&&(N="%"+(B=y[N])[0]+"%"),_(c,N)){var W=c[N];if(W===s&&(W=w(N)),W===void 0&&!F)throw new M("intrinsic "+z+" exists, but is not available. Please file an issue!");return{alias:B,name:N,value:W}}throw new g("intrinsic "+z+" does not exist!")};T.exports=function(z,F){if(typeof z!="string"||z.length===0)throw new M("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof F!="boolean")throw new M('"allowMissing" argument must be a boolean');if(L(/^%?[^%]*%?$/,z)===null)throw new g("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var B=I(z),N=B.length>0?B[0]:"",W=O("%"+N+"%",F),j=W.name,$=W.value,U=!1,G=W.alias;G&&(N=G[0],E(B,k([0,1],G)));for(var q=1,H=!0;q=B.length){var X=f($,ne);$=(H=!!X)&&"get"in X&&!("originalValue"in X.get)?X.get:$[ne]}else H=_($,ne),$=$[ne];H&&!U&&(c[j]=$)}}return $}},85400:function(T){T.exports=function(p,t){var d=t[0],g=t[1],i=t[2],M=t[3],v=t[4],f=t[5],l=t[6],a=t[7],u=t[8],o=t[9],s=t[10],h=t[11],c=t[12],m=t[13],w=t[14],y=t[15];return p[0]=f*(s*y-h*w)-o*(l*y-a*w)+m*(l*h-a*s),p[1]=-(g*(s*y-h*w)-o*(i*y-M*w)+m*(i*h-M*s)),p[2]=g*(l*y-a*w)-f*(i*y-M*w)+m*(i*a-M*l),p[3]=-(g*(l*h-a*s)-f*(i*h-M*s)+o*(i*a-M*l)),p[4]=-(v*(s*y-h*w)-u*(l*y-a*w)+c*(l*h-a*s)),p[5]=d*(s*y-h*w)-u*(i*y-M*w)+c*(i*h-M*s),p[6]=-(d*(l*y-a*w)-v*(i*y-M*w)+c*(i*a-M*l)),p[7]=d*(l*h-a*s)-v*(i*h-M*s)+u*(i*a-M*l),p[8]=v*(o*y-h*m)-u*(f*y-a*m)+c*(f*h-a*o),p[9]=-(d*(o*y-h*m)-u*(g*y-M*m)+c*(g*h-M*o)),p[10]=d*(f*y-a*m)-v*(g*y-M*m)+c*(g*a-M*f),p[11]=-(d*(f*h-a*o)-v*(g*h-M*o)+u*(g*a-M*f)),p[12]=-(v*(o*w-s*m)-u*(f*w-l*m)+c*(f*s-l*o)),p[13]=d*(o*w-s*m)-u*(g*w-i*m)+c*(g*s-i*o),p[14]=-(d*(f*w-l*m)-v*(g*w-i*m)+c*(g*l-i*f)),p[15]=d*(f*s-l*o)-v*(g*s-i*o)+u*(g*l-i*f),p}},42331:function(T){T.exports=function(p){var t=new Float32Array(16);return t[0]=p[0],t[1]=p[1],t[2]=p[2],t[3]=p[3],t[4]=p[4],t[5]=p[5],t[6]=p[6],t[7]=p[7],t[8]=p[8],t[9]=p[9],t[10]=p[10],t[11]=p[11],t[12]=p[12],t[13]=p[13],t[14]=p[14],t[15]=p[15],t}},31042:function(T){T.exports=function(p,t){return p[0]=t[0],p[1]=t[1],p[2]=t[2],p[3]=t[3],p[4]=t[4],p[5]=t[5],p[6]=t[6],p[7]=t[7],p[8]=t[8],p[9]=t[9],p[10]=t[10],p[11]=t[11],p[12]=t[12],p[13]=t[13],p[14]=t[14],p[15]=t[15],p}},11902:function(T){T.exports=function(){var p=new Float32Array(16);return p[0]=1,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=1,p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=1,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},89887:function(T){T.exports=function(p){var t=p[0],d=p[1],g=p[2],i=p[3],M=p[4],v=p[5],f=p[6],l=p[7],a=p[8],u=p[9],o=p[10],s=p[11],h=p[12],c=p[13],m=p[14],w=p[15];return(t*v-d*M)*(o*w-s*m)-(t*f-g*M)*(u*w-s*c)+(t*l-i*M)*(u*m-o*c)+(d*f-g*v)*(a*w-s*h)-(d*l-i*v)*(a*m-o*h)+(g*l-i*f)*(a*c-u*h)}},27812:function(T){T.exports=function(p,t){var d=t[0],g=t[1],i=t[2],M=t[3],v=d+d,f=g+g,l=i+i,a=d*v,u=g*v,o=g*f,s=i*v,h=i*f,c=i*l,m=M*v,w=M*f,y=M*l;return p[0]=1-o-c,p[1]=u+y,p[2]=s-w,p[3]=0,p[4]=u-y,p[5]=1-a-c,p[6]=h+m,p[7]=0,p[8]=s+w,p[9]=h-m,p[10]=1-a-o,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},34045:function(T){T.exports=function(p,t,d){var g,i,M,v=d[0],f=d[1],l=d[2],a=Math.sqrt(v*v+f*f+l*l);return Math.abs(a)<1e-6?null:(v*=a=1/a,f*=a,l*=a,g=Math.sin(t),M=1-(i=Math.cos(t)),p[0]=v*v*M+i,p[1]=f*v*M+l*g,p[2]=l*v*M-f*g,p[3]=0,p[4]=v*f*M-l*g,p[5]=f*f*M+i,p[6]=l*f*M+v*g,p[7]=0,p[8]=v*l*M+f*g,p[9]=f*l*M-v*g,p[10]=l*l*M+i,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p)}},45973:function(T){T.exports=function(p,t,d){var g=t[0],i=t[1],M=t[2],v=t[3],f=g+g,l=i+i,a=M+M,u=g*f,o=g*l,s=g*a,h=i*l,c=i*a,m=M*a,w=v*f,y=v*l,C=v*a;return p[0]=1-(h+m),p[1]=o+C,p[2]=s-y,p[3]=0,p[4]=o-C,p[5]=1-(u+m),p[6]=c+w,p[7]=0,p[8]=s+y,p[9]=c-w,p[10]=1-(u+h),p[11]=0,p[12]=d[0],p[13]=d[1],p[14]=d[2],p[15]=1,p}},81472:function(T){T.exports=function(p,t){return p[0]=t[0],p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=t[1],p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=t[2],p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},14669:function(T){T.exports=function(p,t){return p[0]=1,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=1,p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=1,p[11]=0,p[12]=t[0],p[13]=t[1],p[14]=t[2],p[15]=1,p}},75262:function(T){T.exports=function(p,t){var d=Math.sin(t),g=Math.cos(t);return p[0]=1,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=g,p[6]=d,p[7]=0,p[8]=0,p[9]=-d,p[10]=g,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},331:function(T){T.exports=function(p,t){var d=Math.sin(t),g=Math.cos(t);return p[0]=g,p[1]=0,p[2]=-d,p[3]=0,p[4]=0,p[5]=1,p[6]=0,p[7]=0,p[8]=d,p[9]=0,p[10]=g,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},11049:function(T){T.exports=function(p,t){var d=Math.sin(t),g=Math.cos(t);return p[0]=g,p[1]=d,p[2]=0,p[3]=0,p[4]=-d,p[5]=g,p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=1,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},75195:function(T){T.exports=function(p,t,d,g,i,M,v){var f=1/(d-t),l=1/(i-g),a=1/(M-v);return p[0]=2*M*f,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=2*M*l,p[6]=0,p[7]=0,p[8]=(d+t)*f,p[9]=(i+g)*l,p[10]=(v+M)*a,p[11]=-1,p[12]=0,p[13]=0,p[14]=v*M*2*a,p[15]=0,p}},71551:function(T){T.exports=function(p){return p[0]=1,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=1,p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=1,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},79576:function(T,p,t){T.exports={create:t(11902),clone:t(42331),copy:t(31042),identity:t(71551),transpose:t(88654),invert:t(95874),adjoint:t(85400),determinant:t(89887),multiply:t(91362),translate:t(31283),scale:t(10789),rotate:t(65074),rotateX:t(35545),rotateY:t(94918),rotateZ:t(15692),fromRotation:t(34045),fromRotationTranslation:t(45973),fromScaling:t(81472),fromTranslation:t(14669),fromXRotation:t(75262),fromYRotation:t(331),fromZRotation:t(11049),fromQuat:t(27812),frustum:t(75195),perspective:t(7864),perspectiveFromFieldOfView:t(35279),ortho:t(60378),lookAt:t(65551),str:t(6726)}},95874:function(T){T.exports=function(p,t){var d=t[0],g=t[1],i=t[2],M=t[3],v=t[4],f=t[5],l=t[6],a=t[7],u=t[8],o=t[9],s=t[10],h=t[11],c=t[12],m=t[13],w=t[14],y=t[15],C=d*f-g*v,_=d*l-i*v,k=d*a-M*v,E=g*l-i*f,x=g*a-M*f,A=i*a-M*l,L=u*m-o*c,b=u*w-s*c,R=u*y-h*c,I=o*w-s*m,O=o*y-h*m,z=s*y-h*w,F=C*z-_*O+k*I+E*R-x*b+A*L;return F?(F=1/F,p[0]=(f*z-l*O+a*I)*F,p[1]=(i*O-g*z-M*I)*F,p[2]=(m*A-w*x+y*E)*F,p[3]=(s*x-o*A-h*E)*F,p[4]=(l*R-v*z-a*b)*F,p[5]=(d*z-i*R+M*b)*F,p[6]=(w*k-c*A-y*_)*F,p[7]=(u*A-s*k+h*_)*F,p[8]=(v*O-f*R+a*L)*F,p[9]=(g*R-d*O-M*L)*F,p[10]=(c*x-m*k+y*C)*F,p[11]=(o*k-u*x-h*C)*F,p[12]=(f*b-v*I-l*L)*F,p[13]=(d*I-g*b+i*L)*F,p[14]=(m*_-c*E-w*C)*F,p[15]=(u*E-o*_+s*C)*F,p):null}},65551:function(T,p,t){var d=t(71551);T.exports=function(g,i,M,v){var f,l,a,u,o,s,h,c,m,w,y=i[0],C=i[1],_=i[2],k=v[0],E=v[1],x=v[2],A=M[0],L=M[1],b=M[2];return Math.abs(y-A)<1e-6&&Math.abs(C-L)<1e-6&&Math.abs(_-b)<1e-6?d(g):(h=y-A,c=C-L,m=_-b,f=E*(m*=w=1/Math.sqrt(h*h+c*c+m*m))-x*(c*=w),l=x*(h*=w)-k*m,a=k*c-E*h,(w=Math.sqrt(f*f+l*l+a*a))?(f*=w=1/w,l*=w,a*=w):(f=0,l=0,a=0),u=c*a-m*l,o=m*f-h*a,s=h*l-c*f,(w=Math.sqrt(u*u+o*o+s*s))?(u*=w=1/w,o*=w,s*=w):(u=0,o=0,s=0),g[0]=f,g[1]=u,g[2]=h,g[3]=0,g[4]=l,g[5]=o,g[6]=c,g[7]=0,g[8]=a,g[9]=s,g[10]=m,g[11]=0,g[12]=-(f*y+l*C+a*_),g[13]=-(u*y+o*C+s*_),g[14]=-(h*y+c*C+m*_),g[15]=1,g)}},91362:function(T){T.exports=function(p,t,d){var g=t[0],i=t[1],M=t[2],v=t[3],f=t[4],l=t[5],a=t[6],u=t[7],o=t[8],s=t[9],h=t[10],c=t[11],m=t[12],w=t[13],y=t[14],C=t[15],_=d[0],k=d[1],E=d[2],x=d[3];return p[0]=_*g+k*f+E*o+x*m,p[1]=_*i+k*l+E*s+x*w,p[2]=_*M+k*a+E*h+x*y,p[3]=_*v+k*u+E*c+x*C,_=d[4],k=d[5],E=d[6],x=d[7],p[4]=_*g+k*f+E*o+x*m,p[5]=_*i+k*l+E*s+x*w,p[6]=_*M+k*a+E*h+x*y,p[7]=_*v+k*u+E*c+x*C,_=d[8],k=d[9],E=d[10],x=d[11],p[8]=_*g+k*f+E*o+x*m,p[9]=_*i+k*l+E*s+x*w,p[10]=_*M+k*a+E*h+x*y,p[11]=_*v+k*u+E*c+x*C,_=d[12],k=d[13],E=d[14],x=d[15],p[12]=_*g+k*f+E*o+x*m,p[13]=_*i+k*l+E*s+x*w,p[14]=_*M+k*a+E*h+x*y,p[15]=_*v+k*u+E*c+x*C,p}},60378:function(T){T.exports=function(p,t,d,g,i,M,v){var f=1/(t-d),l=1/(g-i),a=1/(M-v);return p[0]=-2*f,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=-2*l,p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=2*a,p[11]=0,p[12]=(t+d)*f,p[13]=(i+g)*l,p[14]=(v+M)*a,p[15]=1,p}},7864:function(T){T.exports=function(p,t,d,g,i){var M=1/Math.tan(t/2),v=1/(g-i);return p[0]=M/d,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=M,p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=(i+g)*v,p[11]=-1,p[12]=0,p[13]=0,p[14]=2*i*g*v,p[15]=0,p}},35279:function(T){T.exports=function(p,t,d,g){var i=Math.tan(t.upDegrees*Math.PI/180),M=Math.tan(t.downDegrees*Math.PI/180),v=Math.tan(t.leftDegrees*Math.PI/180),f=Math.tan(t.rightDegrees*Math.PI/180),l=2/(v+f),a=2/(i+M);return p[0]=l,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=a,p[6]=0,p[7]=0,p[8]=-(v-f)*l*.5,p[9]=(i-M)*a*.5,p[10]=g/(d-g),p[11]=-1,p[12]=0,p[13]=0,p[14]=g*d/(d-g),p[15]=0,p}},65074:function(T){T.exports=function(p,t,d,g){var i,M,v,f,l,a,u,o,s,h,c,m,w,y,C,_,k,E,x,A,L,b,R,I,O=g[0],z=g[1],F=g[2],B=Math.sqrt(O*O+z*z+F*F);return Math.abs(B)<1e-6?null:(O*=B=1/B,z*=B,F*=B,i=Math.sin(d),v=1-(M=Math.cos(d)),f=t[0],l=t[1],a=t[2],u=t[3],o=t[4],s=t[5],h=t[6],c=t[7],m=t[8],w=t[9],y=t[10],C=t[11],_=O*O*v+M,k=z*O*v+F*i,E=F*O*v-z*i,x=O*z*v-F*i,A=z*z*v+M,L=F*z*v+O*i,b=O*F*v+z*i,R=z*F*v-O*i,I=F*F*v+M,p[0]=f*_+o*k+m*E,p[1]=l*_+s*k+w*E,p[2]=a*_+h*k+y*E,p[3]=u*_+c*k+C*E,p[4]=f*x+o*A+m*L,p[5]=l*x+s*A+w*L,p[6]=a*x+h*A+y*L,p[7]=u*x+c*A+C*L,p[8]=f*b+o*R+m*I,p[9]=l*b+s*R+w*I,p[10]=a*b+h*R+y*I,p[11]=u*b+c*R+C*I,t!==p&&(p[12]=t[12],p[13]=t[13],p[14]=t[14],p[15]=t[15]),p)}},35545:function(T){T.exports=function(p,t,d){var g=Math.sin(d),i=Math.cos(d),M=t[4],v=t[5],f=t[6],l=t[7],a=t[8],u=t[9],o=t[10],s=t[11];return t!==p&&(p[0]=t[0],p[1]=t[1],p[2]=t[2],p[3]=t[3],p[12]=t[12],p[13]=t[13],p[14]=t[14],p[15]=t[15]),p[4]=M*i+a*g,p[5]=v*i+u*g,p[6]=f*i+o*g,p[7]=l*i+s*g,p[8]=a*i-M*g,p[9]=u*i-v*g,p[10]=o*i-f*g,p[11]=s*i-l*g,p}},94918:function(T){T.exports=function(p,t,d){var g=Math.sin(d),i=Math.cos(d),M=t[0],v=t[1],f=t[2],l=t[3],a=t[8],u=t[9],o=t[10],s=t[11];return t!==p&&(p[4]=t[4],p[5]=t[5],p[6]=t[6],p[7]=t[7],p[12]=t[12],p[13]=t[13],p[14]=t[14],p[15]=t[15]),p[0]=M*i-a*g,p[1]=v*i-u*g,p[2]=f*i-o*g,p[3]=l*i-s*g,p[8]=M*g+a*i,p[9]=v*g+u*i,p[10]=f*g+o*i,p[11]=l*g+s*i,p}},15692:function(T){T.exports=function(p,t,d){var g=Math.sin(d),i=Math.cos(d),M=t[0],v=t[1],f=t[2],l=t[3],a=t[4],u=t[5],o=t[6],s=t[7];return t!==p&&(p[8]=t[8],p[9]=t[9],p[10]=t[10],p[11]=t[11],p[12]=t[12],p[13]=t[13],p[14]=t[14],p[15]=t[15]),p[0]=M*i+a*g,p[1]=v*i+u*g,p[2]=f*i+o*g,p[3]=l*i+s*g,p[4]=a*i-M*g,p[5]=u*i-v*g,p[6]=o*i-f*g,p[7]=s*i-l*g,p}},10789:function(T){T.exports=function(p,t,d){var g=d[0],i=d[1],M=d[2];return p[0]=t[0]*g,p[1]=t[1]*g,p[2]=t[2]*g,p[3]=t[3]*g,p[4]=t[4]*i,p[5]=t[5]*i,p[6]=t[6]*i,p[7]=t[7]*i,p[8]=t[8]*M,p[9]=t[9]*M,p[10]=t[10]*M,p[11]=t[11]*M,p[12]=t[12],p[13]=t[13],p[14]=t[14],p[15]=t[15],p}},6726:function(T){T.exports=function(p){return"mat4("+p[0]+", "+p[1]+", "+p[2]+", "+p[3]+", "+p[4]+", "+p[5]+", "+p[6]+", "+p[7]+", "+p[8]+", "+p[9]+", "+p[10]+", "+p[11]+", "+p[12]+", "+p[13]+", "+p[14]+", "+p[15]+")"}},31283:function(T){T.exports=function(p,t,d){var g,i,M,v,f,l,a,u,o,s,h,c,m=d[0],w=d[1],y=d[2];return t===p?(p[12]=t[0]*m+t[4]*w+t[8]*y+t[12],p[13]=t[1]*m+t[5]*w+t[9]*y+t[13],p[14]=t[2]*m+t[6]*w+t[10]*y+t[14],p[15]=t[3]*m+t[7]*w+t[11]*y+t[15]):(g=t[0],i=t[1],M=t[2],v=t[3],f=t[4],l=t[5],a=t[6],u=t[7],o=t[8],s=t[9],h=t[10],c=t[11],p[0]=g,p[1]=i,p[2]=M,p[3]=v,p[4]=f,p[5]=l,p[6]=a,p[7]=u,p[8]=o,p[9]=s,p[10]=h,p[11]=c,p[12]=g*m+f*w+o*y+t[12],p[13]=i*m+l*w+s*y+t[13],p[14]=M*m+a*w+h*y+t[14],p[15]=v*m+u*w+c*y+t[15]),p}},88654:function(T){T.exports=function(p,t){if(p===t){var d=t[1],g=t[2],i=t[3],M=t[6],v=t[7],f=t[11];p[1]=t[4],p[2]=t[8],p[3]=t[12],p[4]=d,p[6]=t[9],p[7]=t[13],p[8]=g,p[9]=M,p[11]=t[14],p[12]=i,p[13]=v,p[14]=f}else p[0]=t[0],p[1]=t[4],p[2]=t[8],p[3]=t[12],p[4]=t[1],p[5]=t[5],p[6]=t[9],p[7]=t[13],p[8]=t[2],p[9]=t[6],p[10]=t[10],p[11]=t[14],p[12]=t[3],p[13]=t[7],p[14]=t[11],p[15]=t[15];return p}},42505:function(T,p,t){var d=t(72791),g=t(71299),i=t(98580),M=t(12018),v=t(83522),f=t(25075),l=t(68016),a=t(58404),u=t(18863),o=t(10973),s=t(25677),h=t(75686),c=t(53545),m=t(56131),w=t(32879),y=t(30120),C=t(13547).nextPow2,_=new v,k=!1;if(document.body){var E=document.body.appendChild(document.createElement("div"));E.style.font="italic small-caps bold condensed 16px/2 cursive",getComputedStyle(E).fontStretch&&(k=!0),document.body.removeChild(E)}var x=function(A){(function(L){return typeof L=="function"&&L._gl&&L.prop&&L.texture&&L.buffer})(A)?(A={regl:A},this.gl=A.regl._gl):this.gl=M(A),this.shader=_.get(this.gl),this.shader?this.regl=this.shader.regl:this.regl=A.regl||i({gl:this.gl}),this.charBuffer=this.regl.buffer({type:"uint8",usage:"stream"}),this.sizeBuffer=this.regl.buffer({type:"float",usage:"stream"}),this.shader||(this.shader=this.createShader(),_.set(this.gl,this.shader)),this.batch=[],this.fontSize=[],this.font=[],this.fontAtlas=[],this.draw=this.shader.draw.bind(this),this.render=function(){this.regl._refresh(),this.draw(this.batch)},this.canvas=this.gl.canvas,this.update(o(A)?A:{})};x.prototype.createShader=function(){var A=this.regl,L=A({blend:{enable:!0,color:[0,0,0,1],func:{srcRGB:"src alpha",dstRGB:"one minus src alpha",srcAlpha:"one minus dst alpha",dstAlpha:"one"}},stencil:{enable:!1},depth:{enable:!1},count:A.prop("count"),offset:A.prop("offset"),attributes:{charOffset:{offset:4,stride:8,buffer:A.this("sizeBuffer")},width:{offset:0,stride:8,buffer:A.this("sizeBuffer")},char:A.this("charBuffer"),position:A.this("position")},uniforms:{atlasSize:function(b,R){return[R.atlas.width,R.atlas.height]},atlasDim:function(b,R){return[R.atlas.cols,R.atlas.rows]},atlas:function(b,R){return R.atlas.texture},charStep:function(b,R){return R.atlas.step},em:function(b,R){return R.atlas.em},color:A.prop("color"),opacity:A.prop("opacity"),viewport:A.this("viewportArray"),scale:A.this("scale"),align:A.prop("align"),baseline:A.prop("baseline"),translate:A.this("translate"),positionOffset:A.prop("positionOffset")},primitive:"points",viewport:A.this("viewport"),vert:` -======== -`):H=" ".concat(B," ").concat(H)),z=M(this,o(b).call(this,"".concat(q).concat(H)))}return Error.stackTraceLimit=$,z.generatedMessage=!F,Object.defineProperty(v(z),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),z.code="ERR_ASSERTION",z.actual=W,z.expected=j,z.operator=B,Error.captureStackTrace&&Error.captureStackTrace(v(z),N),z.stack,z.name="AssertionError",M(z)}var R,I;return function(O,z){if(typeof z!="function"&&z!==null)throw new TypeError("Super expression must either be null or a function");O.prototype=Object.create(z&&z.prototype,{constructor:{value:O,writable:!0,configurable:!0}}),z&&u(O,z)}(b,L),R=b,I=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:c.custom,value:function(O,z){return c(this,function(F){for(var B=1;B2?"one of ".concat(o," ").concat(u.slice(0,s-1).join(", "),", or ")+u[s-1]:s===2?"one of ".concat(o," ").concat(u[0]," or ").concat(u[1]):"of ".concat(o," ").concat(u[0])}return"of ".concat(o," ").concat(String(u))}l("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),l("ERR_INVALID_ARG_TYPE",function(u,o,s){var c,h,m,w,y;if(M===void 0&&(M=t(32791)),M(typeof u=="string","'name' must be a string"),typeof o=="string"&&(h="not ",o.substr(0,h.length)===h)?(c="must not be",o=o.replace(/^not /,"")):c="must be",function(_,k,E){return(E===void 0||E>_.length)&&(E=_.length),_.substring(E-k.length,E)===k}(u," argument"))m="The ".concat(u," ").concat(c," ").concat(a(o,"type"));else{var S=(typeof y!="number"&&(y=0),y+1>(w=u).length||w.indexOf(".",y)===-1?"argument":"property");m='The "'.concat(u,'" ').concat(S," ").concat(c," ").concat(a(o,"type"))}return m+". Received type ".concat(d(s))},TypeError),l("ERR_INVALID_ARG_VALUE",function(u,o){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";v===void 0&&(v=t(43827));var c=v.inspect(o);return c.length>128&&(c="".concat(c.slice(0,128),"...")),"The argument '".concat(u,"' ").concat(s,". Received ").concat(c)},TypeError),l("ERR_INVALID_RETURN_VALUE",function(u,o,s){var c;return c=s&&s.constructor&&s.constructor.name?"instance of ".concat(s.constructor.name):"type ".concat(d(s)),"Expected ".concat(u,' to be returned from the "').concat(o,'"')+" function but got ".concat(c,".")},TypeError),l("ERR_MISSING_ARGS",function(){for(var u=arguments.length,o=new Array(u),s=0;s0,"At least one arg needs to be specified");var c="The ",h=o.length;switch(o=o.map(function(m){return'"'.concat(m,'"')}),h){case 1:c+="".concat(o[0]," argument");break;case 2:c+="".concat(o[0]," and ").concat(o[1]," arguments");break;default:c+=o.slice(0,h-1).join(", "),c+=", and ".concat(o[h-1]," arguments")}return"".concat(c," must be specified")},TypeError),T.exports.codes=f},74061:function(T,p,t){function d(Z,X){return function(Q){if(Array.isArray(Q))return Q}(Z)||function(Q,re){var ie=[],oe=!0,ue=!1,ce=void 0;try{for(var ye,de=Q[Symbol.iterator]();!(oe=(ye=de.next()).done)&&(ie.push(ye.value),!re||ie.length!==re);oe=!0);}catch(me){ue=!0,ce=me}finally{try{oe||de.return==null||de.return()}finally{if(ue)throw ce}}return ie}(Z,X)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function g(Z){return g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(X){return typeof X}:function(X){return X&&typeof Symbol=="function"&&X.constructor===Symbol&&X!==Symbol.prototype?"symbol":typeof X},g(Z)}var i=/a/g.flags!==void 0,M=function(Z){var X=[];return Z.forEach(function(Q){return X.push(Q)}),X},v=function(Z){var X=[];return Z.forEach(function(Q,re){return X.push([re,Q])}),X},f=Object.is?Object.is:t(64003),l=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},a=Number.isNaN?Number.isNaN:t(15567);function u(Z){return Z.call.bind(Z)}var o=u(Object.prototype.hasOwnProperty),s=u(Object.prototype.propertyIsEnumerable),c=u(Object.prototype.toString),h=t(43827).types,m=h.isAnyArrayBuffer,w=h.isArrayBufferView,y=h.isDate,S=h.isMap,_=h.isRegExp,k=h.isSet,E=h.isNativeError,x=h.isBoxedPrimitive,A=h.isNumberObject,L=h.isStringObject,b=h.isBooleanObject,R=h.isBigIntObject,I=h.isSymbolObject,O=h.isFloat32Array,z=h.isFloat64Array;function F(Z){if(Z.length===0||Z.length>10)return!0;for(var X=0;X57)return!0}return Z.length===10&&Z>=Math.pow(2,32)}function B(Z){return Object.keys(Z).filter(F).concat(l(Z).filter(Object.prototype.propertyIsEnumerable.bind(Z)))}function N(Z,X){if(Z===X)return 0;for(var Q=Z.length,re=X.length,ie=0,oe=Math.min(Q,re);ie0?c-4:c;for(o=0;o>16&255,m[w++]=u>>8&255,m[w++]=255&u;return h===2&&(u=d[a.charCodeAt(o)]<<2|d[a.charCodeAt(o+1)]>>4,m[w++]=255&u),h===1&&(u=d[a.charCodeAt(o)]<<10|d[a.charCodeAt(o+1)]<<4|d[a.charCodeAt(o+2)]>>2,m[w++]=u>>8&255,m[w++]=255&u),m},p.fromByteArray=function(a){for(var u,o=a.length,s=o%3,c=[],h=16383,m=0,w=o-s;mw?w:m+h));return s===1?(u=a[o-1],c.push(t[u>>2]+t[u<<4&63]+"==")):s===2&&(u=(a[o-2]<<8)+a[o-1],c.push(t[u>>10]+t[u>>4&63]+t[u<<2&63]+"=")),c.join("")};for(var t=[],d=[],g=typeof Uint8Array<"u"?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",M=0,v=i.length;M0)throw new Error("Invalid string. Length must be a multiple of 4");var o=a.indexOf("=");return o===-1&&(o=u),[o,o===u?0:4-o%4]}function l(a,u,o){for(var s,c,h=[],m=u;m>18&63]+t[c>>12&63]+t[c>>6&63]+t[63&c]);return h.join("")}d["-".charCodeAt(0)]=62,d["_".charCodeAt(0)]=63},91358:function(T){function p(v,f,l,a,u){for(var o=u+1;a<=u;){var s=a+u>>>1,c=v[s];(l!==void 0?l(c,f):c-f)>=0?(o=s,u=s-1):a=s+1}return o}function t(v,f,l,a,u){for(var o=u+1;a<=u;){var s=a+u>>>1,c=v[s];(l!==void 0?l(c,f):c-f)>0?(o=s,u=s-1):a=s+1}return o}function d(v,f,l,a,u){for(var o=a-1;a<=u;){var s=a+u>>>1,c=v[s];(l!==void 0?l(c,f):c-f)<0?(o=s,a=s+1):u=s-1}return o}function g(v,f,l,a,u){for(var o=a-1;a<=u;){var s=a+u>>>1,c=v[s];(l!==void 0?l(c,f):c-f)<=0?(o=s,a=s+1):u=s-1}return o}function i(v,f,l,a,u){for(;a<=u;){var o=a+u>>>1,s=v[o],c=l!==void 0?l(s,f):s-f;if(c===0)return o;c<=0?a=o+1:u=o-1}return-1}function M(v,f,l,a,u,o){return typeof l=="function"?o(v,f,l,a===void 0?0:0|a,u===void 0?v.length-1:0|u):o(v,f,void 0,l===void 0?0:0|l,a===void 0?v.length-1:0|a)}T.exports={ge:function(v,f,l,a,u){return M(v,f,l,a,u,p)},gt:function(v,f,l,a,u){return M(v,f,l,a,u,t)},lt:function(v,f,l,a,u){return M(v,f,l,a,u,d)},le:function(v,f,l,a,u){return M(v,f,l,a,u,g)},eq:function(v,f,l,a,u){return M(v,f,l,a,u,i)}}},13547:function(T,p){function t(g){var i=32;return(g&=-g)&&i--,65535&g&&(i-=16),16711935&g&&(i-=8),252645135&g&&(i-=4),858993459&g&&(i-=2),1431655765&g&&(i-=1),i}p.INT_BITS=32,p.INT_MAX=2147483647,p.INT_MIN=-2147483648,p.sign=function(g){return(g>0)-(g<0)},p.abs=function(g){var i=g>>31;return(g^i)-i},p.min=function(g,i){return i^(g^i)&-(g65535)<<4,i|=M=((g>>>=i)>255)<<3,i|=M=((g>>>=M)>15)<<2,(i|=M=((g>>>=M)>3)<<1)|(g>>>=M)>>1},p.log10=function(g){return g>=1e9?9:g>=1e8?8:g>=1e7?7:g>=1e6?6:g>=1e5?5:g>=1e4?4:g>=1e3?3:g>=100?2:g>=10?1:0},p.popCount=function(g){return 16843009*((g=(858993459&(g-=g>>>1&1431655765))+(g>>>2&858993459))+(g>>>4)&252645135)>>>24},p.countTrailingZeros=t,p.nextPow2=function(g){return g+=g===0,--g,g|=g>>>1,g|=g>>>2,g|=g>>>4,g|=g>>>8,1+(g|=g>>>16)},p.prevPow2=function(g){return g|=g>>>1,g|=g>>>2,g|=g>>>4,g|=g>>>8,(g|=g>>>16)-(g>>>1)},p.parity=function(g){return g^=g>>>16,g^=g>>>8,g^=g>>>4,27030>>>(g&=15)&1};var d=new Array(256);(function(g){for(var i=0;i<256;++i){var M=i,v=i,f=7;for(M>>>=1;M;M>>>=1)v<<=1,v|=1&M,--f;g[i]=v<>>8&255]<<16|d[g>>>16&255]<<8|d[g>>>24&255]},p.interleave2=function(g,i){return(g=1431655765&((g=858993459&((g=252645135&((g=16711935&((g&=65535)|g<<8))|g<<4))|g<<2))|g<<1))|(i=1431655765&((i=858993459&((i=252645135&((i=16711935&((i&=65535)|i<<8))|i<<4))|i<<2))|i<<1))<<1},p.deinterleave2=function(g,i){return(g=65535&((g=16711935&((g=252645135&((g=858993459&((g=g>>>i&1431655765)|g>>>1))|g>>>2))|g>>>4))|g>>>16))<<16>>16},p.interleave3=function(g,i,M){return g=1227133513&((g=3272356035&((g=251719695&((g=4278190335&((g&=1023)|g<<16))|g<<8))|g<<4))|g<<2),(g|=(i=1227133513&((i=3272356035&((i=251719695&((i=4278190335&((i&=1023)|i<<16))|i<<8))|i<<4))|i<<2))<<1)|(M=1227133513&((M=3272356035&((M=251719695&((M=4278190335&((M&=1023)|M<<16))|M<<8))|M<<4))|M<<2))<<2},p.deinterleave3=function(g,i){return(g=1023&((g=4278190335&((g=251719695&((g=3272356035&((g=g>>>i&1227133513)|g>>>2))|g>>>4))|g>>>8))|g>>>16))<<22>>22},p.nextCombination=function(g){var i=g|g-1;return i+1|(~i&-~i)-1>>>t(g)+1}},44781:function(T,p,t){var d=t(53435);T.exports=function(v,f){f||(f={});var l,a,u,o,s,c,h,m,w,y,S,_=f.cutoff==null?.25:f.cutoff,k=f.radius==null?8:f.radius,E=f.channel||0;if(ArrayBuffer.isView(v)||Array.isArray(v)){if(!f.width||!f.height)throw Error("For raw data width and height should be provided by options");l=f.width,a=f.height,o=v,c=f.stride?f.stride:Math.floor(v.length/l/a)}else window.HTMLCanvasElement&&v instanceof window.HTMLCanvasElement?(h=(m=v).getContext("2d"),l=m.width,a=m.height,o=(w=h.getImageData(0,0,l,a)).data,c=4):window.CanvasRenderingContext2D&&v instanceof window.CanvasRenderingContext2D?(h=v,l=(m=v.canvas).width,a=m.height,o=(w=h.getImageData(0,0,l,a)).data,c=4):window.ImageData&&v instanceof window.ImageData&&(w=v,l=v.width,a=v.height,o=w.data,c=4);if(u=Math.max(l,a),window.Uint8ClampedArray&&o instanceof window.Uint8ClampedArray||window.Uint8Array&&o instanceof window.Uint8Array)for(s=o,o=Array(l*a),y=0,S=s.length;y-1?g(f):f}},68222:function(T,p,t){var d=t(77575),g=t(68318),i=g("%Function.prototype.apply%"),M=g("%Function.prototype.call%"),v=g("%Reflect.apply%",!0)||d.call(M,i),f=g("%Object.getOwnPropertyDescriptor%",!0),l=g("%Object.defineProperty%",!0),a=g("%Math.max%");if(l)try{l({},"a",{value:1})}catch{l=null}T.exports=function(o){var s=v(d,M,arguments);if(f&&l){var c=f(s,"length");c.configurable&&l(s,"length",{value:1+a(0,o.length-(arguments.length-1))})}return s};var u=function(){return v(d,i,arguments)};l?l(T.exports,"apply",{value:u}):T.exports.apply=u},53435:function(T){T.exports=function(p,t,d){return td?d:p:pt?t:p}},6475:function(T,p,t){var d=t(53435);function g(i,M){M==null&&(M=!0);var v=i[0],f=i[1],l=i[2],a=i[3];return a==null&&(a=M?1:255),M&&(v*=255,f*=255,l*=255,a*=255),16777216*(v=255&d(v,0,255))+((f=255&d(f,0,255))<<16)+((l=255&d(l,0,255))<<8)+(255&d(a,0,255))}T.exports=g,T.exports.to=g,T.exports.from=function(i,M){var v=(i=+i)>>>24,f=(16711680&i)>>>16,l=(65280&i)>>>8,a=255&i;return M===!1?[v,f,l,a]:[v/255,f/255,l/255,a/255]}},76857:function(T){T.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},25075:function(T,p,t){var d=t(36652),g=t(53435),i=t(90660);T.exports=function(M,v){v!=="float"&&v||(v="array"),v==="uint"&&(v="uint8"),v==="uint_clamped"&&(v="uint8_clamped");var f=new(i(v))(4),l=v!=="uint8"&&v!=="uint8_clamped";return M.length&&typeof M!="string"||((M=d(M))[0]/=255,M[1]/=255,M[2]/=255),function(a){return a instanceof Uint8Array||a instanceof Uint8ClampedArray||!!(Array.isArray(a)&&(a[0]>1||a[0]===0)&&(a[1]>1||a[1]===0)&&(a[2]>1||a[2]===0)&&(!a[3]||a[3]>1))}(M)?(f[0]=M[0],f[1]=M[1],f[2]=M[2],f[3]=M[3]!=null?M[3]:255,l&&(f[0]/=255,f[1]/=255,f[2]/=255,f[3]/=255),f):(l?(f[0]=M[0],f[1]=M[1],f[2]=M[2],f[3]=M[3]!=null?M[3]:1):(f[0]=g(Math.floor(255*M[0]),0,255),f[1]=g(Math.floor(255*M[1]),0,255),f[2]=g(Math.floor(255*M[2]),0,255),f[3]=M[3]==null?255:g(Math.floor(255*M[3]),0,255)),f)}},90736:function(T,p,t){var d=t(76857),g=t(10973),i=t(46775);T.exports=function(v){var f,l,a=[],u=1;if(typeof v=="string")if(d[v])a=d[v].slice(),l="rgb";else if(v==="transparent")u=0,l="rgb",a=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(v)){var o=(h=v.slice(1)).length;u=1,o<=4?(a=[parseInt(h[0]+h[0],16),parseInt(h[1]+h[1],16),parseInt(h[2]+h[2],16)],o===4&&(u=parseInt(h[3]+h[3],16)/255)):(a=[parseInt(h[0]+h[1],16),parseInt(h[2]+h[3],16),parseInt(h[4]+h[5],16)],o===8&&(u=parseInt(h[6]+h[7],16)/255)),a[0]||(a[0]=0),a[1]||(a[1]=0),a[2]||(a[2]=0),l="rgb"}else if(f=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(v)){var s=f[1],c=s==="rgb",h=s.replace(/a$/,"");l=h,o=h==="cmyk"?4:h==="gray"?1:3,a=f[2].trim().split(/\s*,\s*/).map(function(w,y){if(/%$/.test(w))return y===o?parseFloat(w)/100:h==="rgb"?255*parseFloat(w)/100:parseFloat(w);if(h[y]==="h"){if(/deg$/.test(w))return parseFloat(w);if(M[w]!==void 0)return M[w]}return parseFloat(w)}),s===h&&a.push(1),u=c||a[o]===void 0?1:a[o],a=a.slice(0,o)}else v.length>10&&/[0-9](?:\s|\/)/.test(v)&&(a=v.match(/([0-9]+)/g).map(function(w){return parseFloat(w)}),l=v.match(/([a-z])/gi).join("").toLowerCase());else if(isNaN(v))if(g(v)){var m=i(v.r,v.red,v.R,null);m!==null?(l="rgb",a=[m,i(v.g,v.green,v.G),i(v.b,v.blue,v.B)]):(l="hsl",a=[i(v.h,v.hue,v.H),i(v.s,v.saturation,v.S),i(v.l,v.lightness,v.L,v.b,v.brightness)]),u=i(v.a,v.alpha,v.opacity,1),v.opacity!=null&&(u/=100)}else(Array.isArray(v)||t.g.ArrayBuffer&&ArrayBuffer.isView&&ArrayBuffer.isView(v))&&(a=[v[0],v[1],v[2]],l="rgb",u=v.length===4?v[3]:1);else l="rgb",a=[v>>>16,(65280&v)>>>8,255&v];return{space:l,values:a,alpha:u}};var M={red:0,orange:60,yellow:120,green:180,blue:240,purple:300}},36652:function(T,p,t){var d=t(90736),g=t(80009),i=t(53435);T.exports=function(M){var v,f=d(M);return f.space?((v=Array(3))[0]=i(f.values[0],0,255),v[1]=i(f.values[1],0,255),v[2]=i(f.values[2],0,255),f.space[0]==="h"&&(v=g.rgb(v)),v.push(i(f.alpha,0,1)),v):[]}},80009:function(T,p,t){var d=t(6866);T.exports={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(g){var i,M,v,f,l,a=g[0]/360,u=g[1]/100,o=g[2]/100;if(u===0)return[l=255*o,l,l];i=2*o-(M=o<.5?o*(1+u):o+u-o*u),f=[0,0,0];for(var s=0;s<3;s++)(v=a+.3333333333333333*-(s-1))<0?v++:v>1&&v--,l=6*v<1?i+6*(M-i)*v:2*v<1?M:3*v<2?i+(M-i)*(.6666666666666666-v)*6:i,f[s]=255*l;return f}},d.hsl=function(g){var i,M,v=g[0]/255,f=g[1]/255,l=g[2]/255,a=Math.min(v,f,l),u=Math.max(v,f,l),o=u-a;return u===a?i=0:v===u?i=(f-l)/o:f===u?i=2+(l-v)/o:l===u&&(i=4+(v-f)/o),(i=Math.min(60*i,360))<0&&(i+=360),M=(a+u)/2,[i,100*(u===a?0:M<=.5?o/(u+a):o/(2-u-a)),100*M]}},6866:function(T){T.exports={name:"rgb",min:[0,0,0],max:[255,255,255],channel:["red","green","blue"],alias:["RGB"]}},24138:function(T){T.exports={AFG:"afghan",ALA:"\\b\\wland",ALB:"albania",DZA:"algeria",ASM:"^(?=.*americ).*samoa",AND:"andorra",AGO:"angola",AIA:"anguill?a",ATA:"antarctica",ATG:"antigua",ARG:"argentin",ARM:"armenia",ABW:"^(?!.*bonaire).*\\baruba",AUS:"australia",AUT:"^(?!.*hungary).*austria|\\baustri.*\\bemp",AZE:"azerbaijan",BHS:"bahamas",BHR:"bahrain",BGD:"bangladesh|^(?=.*east).*paki?stan",BRB:"barbados",BLR:"belarus|byelo",BEL:"^(?!.*luxem).*belgium",BLZ:"belize|^(?=.*british).*honduras",BEN:"benin|dahome",BMU:"bermuda",BTN:"bhutan",BOL:"bolivia",BES:"^(?=.*bonaire).*eustatius|^(?=.*carib).*netherlands|\\bbes.?islands",BIH:"herzegovina|bosnia",BWA:"botswana|bechuana",BVT:"bouvet",BRA:"brazil",IOT:"british.?indian.?ocean",BRN:"brunei",BGR:"bulgaria",BFA:"burkina|\\bfaso|upper.?volta",BDI:"burundi",CPV:"verde",KHM:"cambodia|kampuchea|khmer",CMR:"cameroon",CAN:"canada",CYM:"cayman",CAF:"\\bcentral.african.republic",TCD:"\\bchad",CHL:"\\bchile",CHN:"^(?!.*\\bmac)(?!.*\\bhong)(?!.*\\btai)(?!.*\\brep).*china|^(?=.*peo)(?=.*rep).*china",CXR:"christmas",CCK:"\\bcocos|keeling",COL:"colombia",COM:"comoro",COG:"^(?!.*\\bdem)(?!.*\\bd[\\.]?r)(?!.*kinshasa)(?!.*zaire)(?!.*belg)(?!.*l.opoldville)(?!.*free).*\\bcongo",COK:"\\bcook",CRI:"costa.?rica",CIV:"ivoire|ivory",HRV:"croatia",CUB:"\\bcuba",CUW:"^(?!.*bonaire).*\\bcura(c|ç)ao",CYP:"cyprus",CSK:"czechoslovakia",CZE:"^(?=.*rep).*czech|czechia|bohemia",COD:"\\bdem.*congo|congo.*\\bdem|congo.*\\bd[\\.]?r|\\bd[\\.]?r.*congo|belgian.?congo|congo.?free.?state|kinshasa|zaire|l.opoldville|drc|droc|rdc",DNK:"denmark",DJI:"djibouti",DMA:"dominica(?!n)",DOM:"dominican.rep",ECU:"ecuador",EGY:"egypt",SLV:"el.?salvador",GNQ:"guine.*eq|eq.*guine|^(?=.*span).*guinea",ERI:"eritrea",EST:"estonia",ETH:"ethiopia|abyssinia",FLK:"falkland|malvinas",FRO:"faroe|faeroe",FJI:"fiji",FIN:"finland",FRA:"^(?!.*\\bdep)(?!.*martinique).*france|french.?republic|\\bgaul",GUF:"^(?=.*french).*guiana",PYF:"french.?polynesia|tahiti",ATF:"french.?southern",GAB:"gabon",GMB:"gambia",GEO:"^(?!.*south).*georgia",DDR:"german.?democratic.?republic|democratic.?republic.*germany|east.germany",DEU:"^(?!.*east).*germany|^(?=.*\\bfed.*\\brep).*german",GHA:"ghana|gold.?coast",GIB:"gibraltar",GRC:"greece|hellenic|hellas",GRL:"greenland",GRD:"grenada",GLP:"guadeloupe",GUM:"\\bguam",GTM:"guatemala",GGY:"guernsey",GIN:"^(?!.*eq)(?!.*span)(?!.*bissau)(?!.*portu)(?!.*new).*guinea",GNB:"bissau|^(?=.*portu).*guinea",GUY:"guyana|british.?guiana",HTI:"haiti",HMD:"heard.*mcdonald",VAT:"holy.?see|vatican|papal.?st",HND:"^(?!.*brit).*honduras",HKG:"hong.?kong",HUN:"^(?!.*austr).*hungary",ISL:"iceland",IND:"india(?!.*ocea)",IDN:"indonesia",IRN:"\\biran|persia",IRQ:"\\biraq|mesopotamia",IRL:"(^ireland)|(^republic.*ireland)",IMN:"^(?=.*isle).*\\bman",ISR:"israel",ITA:"italy",JAM:"jamaica",JPN:"japan",JEY:"jersey",JOR:"jordan",KAZ:"kazak",KEN:"kenya|british.?east.?africa|east.?africa.?prot",KIR:"kiribati",PRK:"^(?=.*democrat|people|north|d.*p.*.r).*\\bkorea|dprk|korea.*(d.*p.*r)",KWT:"kuwait",KGZ:"kyrgyz|kirghiz",LAO:"\\blaos?\\b",LVA:"latvia",LBN:"lebanon",LSO:"lesotho|basuto",LBR:"liberia",LBY:"libya",LIE:"liechtenstein",LTU:"lithuania",LUX:"^(?!.*belg).*luxem",MAC:"maca(o|u)",MDG:"madagascar|malagasy",MWI:"malawi|nyasa",MYS:"malaysia",MDV:"maldive",MLI:"\\bmali\\b",MLT:"\\bmalta",MHL:"marshall",MTQ:"martinique",MRT:"mauritania",MUS:"mauritius",MYT:"\\bmayotte",MEX:"\\bmexic",FSM:"fed.*micronesia|micronesia.*fed",MCO:"monaco",MNG:"mongolia",MNE:"^(?!.*serbia).*montenegro",MSR:"montserrat",MAR:"morocco|\\bmaroc",MOZ:"mozambique",MMR:"myanmar|burma",NAM:"namibia",NRU:"nauru",NPL:"nepal",NLD:"^(?!.*\\bant)(?!.*\\bcarib).*netherlands",ANT:"^(?=.*\\bant).*(nether|dutch)",NCL:"new.?caledonia",NZL:"new.?zealand",NIC:"nicaragua",NER:"\\bniger(?!ia)",NGA:"nigeria",NIU:"niue",NFK:"norfolk",MNP:"mariana",NOR:"norway",OMN:"\\boman|trucial",PAK:"^(?!.*east).*paki?stan",PLW:"palau",PSE:"palestin|\\bgaza|west.?bank",PAN:"panama",PNG:"papua|new.?guinea",PRY:"paraguay",PER:"peru",PHL:"philippines",PCN:"pitcairn",POL:"poland",PRT:"portugal",PRI:"puerto.?rico",QAT:"qatar",KOR:"^(?!.*d.*p.*r)(?!.*democrat)(?!.*people)(?!.*north).*\\bkorea(?!.*d.*p.*r)",MDA:"moldov|b(a|e)ssarabia",REU:"r(e|é)union",ROU:"r(o|u|ou)mania",RUS:"\\brussia|soviet.?union|u\\.?s\\.?s\\.?r|socialist.?republics",RWA:"rwanda",BLM:"barth(e|é)lemy",SHN:"helena",KNA:"kitts|\\bnevis",LCA:"\\blucia",MAF:"^(?=.*collectivity).*martin|^(?=.*france).*martin(?!ique)|^(?=.*french).*martin(?!ique)",SPM:"miquelon",VCT:"vincent",WSM:"^(?!.*amer).*samoa",SMR:"san.?marino",STP:"\\bs(a|ã)o.?tom(e|é)",SAU:"\\bsa\\w*.?arabia",SEN:"senegal",SRB:"^(?!.*monte).*serbia",SYC:"seychell",SLE:"sierra",SGP:"singapore",SXM:"^(?!.*martin)(?!.*saba).*maarten",SVK:"^(?!.*cze).*slovak",SVN:"slovenia",SLB:"solomon",SOM:"somali",ZAF:"south.africa|s\\\\..?africa",SGS:"south.?georgia|sandwich",SSD:"\\bs\\w*.?sudan",ESP:"spain",LKA:"sri.?lanka|ceylon",SDN:"^(?!.*\\bs(?!u)).*sudan",SUR:"surinam|dutch.?guiana",SJM:"svalbard",SWZ:"swaziland",SWE:"sweden",CHE:"switz|swiss",SYR:"syria",TWN:"taiwan|taipei|formosa|^(?!.*peo)(?=.*rep).*china",TJK:"tajik",THA:"thailand|\\bsiam",MKD:"macedonia|fyrom",TLS:"^(?=.*leste).*timor|^(?=.*east).*timor",TGO:"togo",TKL:"tokelau",TON:"tonga",TTO:"trinidad|tobago",TUN:"tunisia",TUR:"turkey",TKM:"turkmen",TCA:"turks",TUV:"tuvalu",UGA:"uganda",UKR:"ukrain",ARE:"emirates|^u\\.?a\\.?e\\.?$|united.?arab.?em",GBR:"united.?kingdom|britain|^u\\.?k\\.?$",TZA:"tanzania",USA:"united.?states\\b(?!.*islands)|\\bu\\.?s\\.?a\\.?\\b|^\\s*u\\.?s\\.?\\b(?!.*islands)",UMI:"minor.?outlying.?is",URY:"uruguay",UZB:"uzbek",VUT:"vanuatu|new.?hebrides",VEN:"venezuela",VNM:"^(?!.*republic).*viet.?nam|^(?=.*socialist).*viet.?nam",VGB:"^(?=.*\\bu\\.?\\s?k).*virgin|^(?=.*brit).*virgin|^(?=.*kingdom).*virgin",VIR:"^(?=.*\\bu\\.?\\s?s).*virgin|^(?=.*states).*virgin",WLF:"futuna|wallis",ESH:"western.sahara",YEM:"^(?!.*arab)(?!.*north)(?!.*sana)(?!.*peo)(?!.*dem)(?!.*south)(?!.*aden)(?!.*\\bp\\.?d\\.?r).*yemen",YMD:"^(?=.*peo).*yemen|^(?!.*rep)(?=.*dem).*yemen|^(?=.*south).*yemen|^(?=.*aden).*yemen|^(?=.*\\bp\\.?d\\.?r).*yemen",YUG:"yugoslavia",ZMB:"zambia|northern.?rhodesia",EAZ:"zanzibar",ZWE:"zimbabwe|^(?!.*northern).*rhodesia"}},72791:function(T,p,t){T.exports={parse:t(41004),stringify:t(53313)}},63625:function(T,p,t){var d=t(40402);T.exports={isSize:function(g){return/^[\d\.]/.test(g)||g.indexOf("/")!==-1||d.indexOf(g)!==-1}}},41004:function(T,p,t){var d=t(90448),g=t(38732),i=t(41901),M=t(15659),v=t(96209),f=t(83794),l=t(99011),a=t(63625).isSize;T.exports=o;var u=o.cache={};function o(c){if(typeof c!="string")throw new Error("Font argument must be a string.");if(u[c])return u[c];if(c==="")throw new Error("Cannot parse an empty string.");if(i.indexOf(c)!==-1)return u[c]={system:c};for(var h,m={style:"normal",variant:"normal",weight:"normal",stretch:"normal",lineHeight:"normal",size:"1rem",family:["serif"]},w=l(c,/\s+/);h=w.shift();){if(g.indexOf(h)!==-1)return["style","variant","weight","stretch"].forEach(function(S){m[S]=h}),u[c]=m;if(v.indexOf(h)===-1)if(h!=="normal"&&h!=="small-caps")if(f.indexOf(h)===-1){if(M.indexOf(h)===-1){if(a(h)){var y=l(h,"/");if(m.size=y[0],y[1]!=null?m.lineHeight=s(y[1]):w[0]==="/"&&(w.shift(),m.lineHeight=s(w.shift())),!w.length)throw new Error("Missing required font-family.");return m.family=l(w.join(" "),/\s*,\s*/).map(d),u[c]=m}throw new Error("Unknown or unsupported font token: "+h)}m.weight=h}else m.stretch=h;else m.variant=h;else m.style=h}throw new Error("Missing required font-size.")}function s(c){var h=parseFloat(c);return h.toString()===c?h:c}},53313:function(T,p,t){var d=t(71299),g=t(63625).isSize,i=c(t(38732)),M=c(t(41901)),v=c(t(15659)),f=c(t(96209)),l=c(t(83794)),a={normal:1,"small-caps":1},u={serif:1,"sans-serif":1,monospace:1,cursive:1,fantasy:1,"system-ui":1},o="serif";function s(h,m){if(h&&!m[h]&&!i[h])throw Error("Unknown keyword `"+h+"`");return h}function c(h){for(var m={},w=0;wc?1:s>=c?0:NaN}t.d(p,{j2:function(){return d},Fp:function(){return M},J6:function(){return f},TS:function(){return l},VV:function(){return a},w6:function(){return u},Sm:function(){return o}}),(g=d).length===1&&(i=g,g=function(s,c){return d(i(s),c)});var g,i;function M(s,c){var h,m,w=s.length,y=-1;if(c==null){for(;++y=h)for(m=h;++ym&&(m=h)}else for(;++y=h)for(m=h;++ym&&(m=h);return m}function v(s){return s===null?NaN:+s}function f(s,c){var h,m=s.length,w=m,y=-1,S=0;if(c==null)for(;++y=0;)for(c=(m=s[w]).length;--c>=0;)h[--S]=m[c];return h}function a(s,c){var h,m,w=s.length,y=-1;if(c==null){for(;++y=h)for(m=h;++yh&&(m=h)}else for(;++y=h)for(m=h;++yh&&(m=h);return m}function u(s,c,h){s=+s,c=+c,h=(w=arguments.length)<2?(c=s,s=0,1):w<3?1:+h;for(var m=-1,w=0|Math.max(0,Math.ceil((c-s)/h)),y=new Array(w);++m=w.length)return c!=null&&k.sort(c),h!=null?h(k):k;for(var L,b,R,I=-1,O=k.length,z=w[E++],F=M(),B=x();++Iw.length)return k;var x,A=y[E-1];return h!=null&&E>=w.length?x=k.entries():(x=[],k.each(function(L,b){x.push({key:b,values:_(L,E)})})),A!=null?x.sort(function(L,b){return A(L.key,b.key)}):x}return m={object:function(k){return S(k,0,f,l)},map:function(k){return S(k,0,a,u)},entries:function(k){return _(S(k,0,a,u),0)},key:function(k){return w.push(k),m},sortKeys:function(k){return y[w.length-1]=k,m},sortValues:function(k){return c=k,m},rollup:function(k){return h=k,m}}}function f(){return{}}function l(c,h,m){c[h]=m}function a(){return M()}function u(c,h,m){c.set(h,m)}function o(){}var s=M.prototype;o.prototype={constructor:o,has:s.has,add:function(c){return this[d+(c+="")]=c,this},remove:s.remove,clear:s.clear,values:s.keys,size:s.size,empty:s.empty,each:s.each}},49887:function(T,p,t){function d(me,pe){var xe;function Pe(){var _e,Me,Se=xe.length,Ce=0,ae=0;for(_e=0;_e=(Me=(je+we)/2))?je=Me:we=Me,(be=xe>=(Se=(ge+Ee)/2))?ge=Se:Ee=Se,_e=Be,!(Be=Be[ke=be<<1|fe]))return _e[ke]=ze,me;if(Ce=+me._x.call(null,Be.data),ae=+me._y.call(null,Be.data),pe===Ce&&xe===ae)return ze.next=Be,_e?_e[ke]=ze:me._root=ze,me;do _e=_e?_e[ke]=new Array(4):me._root=new Array(4),(fe=pe>=(Me=(je+we)/2))?je=Me:we=Me,(be=xe>=(Se=(ge+Ee)/2))?ge=Se:Ee=Se;while((ke=be<<1|fe)==(Le=(ae>=Se)<<1|Ce>=Me));return _e[Le]=Be,_e[ke]=ze,me}function v(me,pe,xe,Pe,_e){this.node=me,this.x0=pe,this.y0=xe,this.x1=Pe,this.y1=_e}function f(me){return me[0]}function l(me){return me[1]}function a(me,pe,xe){var Pe=new u(pe??f,xe??l,NaN,NaN,NaN,NaN);return me==null?Pe:Pe.addAll(me)}function u(me,pe,xe,Pe,_e,Me){this._x=me,this._y=pe,this._x0=xe,this._y0=Pe,this._x1=_e,this._y1=Me,this._root=void 0}function o(me){for(var pe={data:me.data},xe=pe;me=me.next;)xe=xe.next={data:me.data};return pe}t.r(p),t.d(p,{forceCenter:function(){return d},forceCollide:function(){return m},forceLink:function(){return _},forceManyBody:function(){return ue},forceRadial:function(){return ce},forceSimulation:function(){return oe},forceX:function(){return ye},forceY:function(){return de}});var s=a.prototype=u.prototype;function c(me){return me.x+me.vx}function h(me){return me.y+me.vy}function m(me){var pe,xe,Pe=1,_e=1;function Me(){for(var ae,fe,be,ke,Le,Be,ze,je=pe.length,ge=0;ge<_e;++ge)for(fe=a(pe,c,h).visitAfter(Se),ae=0;aeke+bt||YeLe+bt||stbe.index){var Et=ke-ot.x-ot.vx,kt=Le-ot.y-ot.vy,xt=Et*Et+kt*kt;xtae.r&&(ae.r=ae[fe].r)}function Ce(){if(pe){var ae,fe,be=pe.length;for(xe=new Array(be),ae=0;aebe&&(be=Pe),_eke&&(ke=_e));if(ae>be||fe>ke)return this;for(this.cover(ae,fe).cover(be,ke),xe=0;xeme||me>=_e||Pe>pe||pe>=Me;)switch(Ce=(peLe||(Me=ae.y0)>Be||(Se=ae.x1)=we)<<1|me>=ge)&&(ae=ze[ze.length-1],ze[ze.length-1]=ze[ze.length-1-fe],ze[ze.length-1-fe]=ae)}else{var Ee=me-+this._x.call(null,je.data),Ve=pe-+this._y.call(null,je.data),$e=Ee*Ee+Ve*Ve;if($e=(Ce=(ze+ge)/2))?ze=Ce:ge=Ce,(be=Se>=(ae=(je+we)/2))?je=ae:we=ae,pe=Be,!(Be=Be[ke=be<<1|fe]))return this;if(!Be.length)break;(pe[ke+1&3]||pe[ke+2&3]||pe[ke+3&3])&&(xe=pe,Le=ke)}for(;Be.data!==me;)if(Pe=Be,!(Be=Be.next))return this;return(_e=Be.next)&&delete Be.next,Pe?(_e?Pe.next=_e:delete Pe.next,this):pe?(_e?pe[ke]=_e:delete pe[ke],(Be=pe[0]||pe[1]||pe[2]||pe[3])&&Be===(pe[3]||pe[2]||pe[1]||pe[0])&&!Be.length&&(xe?xe[Le]=Be:this._root=Be),this):(this._root=_e,this)},s.removeAll=function(me){for(var pe=0,xe=me.length;pe=0&&(Pe=xe.slice(_e+1),xe=xe.slice(0,_e)),xe&&!pe.hasOwnProperty(xe))throw new Error("unknown type: "+xe);return{type:xe,name:Pe}})}function L(me,pe){for(var xe,Pe=0,_e=me.length;Pe<_e;++Pe)if((xe=me[Pe]).name===pe)return xe.value}function b(me,pe,xe){for(var Pe=0,_e=me.length;Pe<_e;++Pe)if(me[Pe].name===pe){me[Pe]=k,me=me.slice(0,Pe).concat(me.slice(Pe+1));break}return xe!=null&&me.push({name:pe,value:xe}),me}x.prototype=E.prototype={constructor:x,on:function(me,pe){var xe,Pe=this._,_e=A(me+"",Pe),Me=-1,Se=_e.length;if(!(arguments.length<2)){if(pe!=null&&typeof pe!="function")throw new Error("invalid callback: "+pe);for(;++Me0)for(var xe,Pe,_e=new Array(xe),Me=0;Me=0&&pe._call.call(null,me),pe=pe._next;--z})()}finally{z=0,function(){for(var me,pe,xe=R,Pe=1/0;xe;)xe._call?(Pe>xe._time&&(Pe=xe._time),me=xe,xe=xe._next):(pe=xe._next,xe._next=null,xe=me?me._next=pe:R=pe);I=me,X(Pe)}(),W=0}}function Z(){var me=$.now(),pe=me-N;pe>1e3&&(j-=pe,N=me)}function X(me){z||(F&&(F=clearTimeout(F)),me-W>24?(me<1/0&&(F=setTimeout(te,me-$.now()-j)),B&&(B=clearInterval(B))):(B||(N=$.now(),B=setInterval(Z,1e3)),z=1,U(te)))}function Q(me){return me.x}function re(me){return me.y}H.prototype=ne.prototype={constructor:H,restart:function(me,pe,xe){if(typeof me!="function")throw new TypeError("callback is not a function");xe=(xe==null?G():+xe)+(pe==null?0:+pe),this._next||I===this||(I?I._next=this:R=this,I=this),this._call=me,this._time=xe,X()},stop:function(){this._call&&(this._call=null,this._time=1/0,X())}};var ie=Math.PI*(3-Math.sqrt(5));function oe(me){var pe,xe=1,Pe=.001,_e=1-Math.pow(Pe,1/300),Me=0,Se=.6,Ce=(0,w.UI)(),ae=ne(be),fe=O("tick","end");function be(){ke(),fe.call("tick",pe),xe1?(je==null?Ce.remove(ze):Ce.set(ze,Be(je)),pe):Ce.get(ze)},find:function(ze,je,ge){var we,Ee,Ve,$e,Ye,st=0,ot=me.length;for(ge==null?ge=1/0:ge*=ge,st=0;st1?(fe.on(ze,je),pe):fe.on(ze)}}}function ue(){var me,pe,xe,Pe,_e=g(-30),Me=1,Se=1/0,Ce=.81;function ae(Le){var Be,ze=me.length,je=a(me,Q,re).visitAfter(be);for(xe=Le,Be=0;Be=Se)){(Le.data!==pe||Le.next)&&(ge===0&&(Ve+=(ge=i())*ge),we===0&&(Ve+=(we=i())*we),Ve1?S[0]+S.slice(2):S,+m.slice(y+1)]}t.d(p,{WU:function(){return o},FF:function(){return h}});var g,i=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function M(m){if(!(w=i.exec(m)))throw new Error("invalid format: "+m);var w;return new v({fill:w[1],align:w[2],sign:w[3],symbol:w[4],zero:w[5],width:w[6],comma:w[7],precision:w[8]&&w[8].slice(1),trim:w[9],type:w[10]})}function v(m){this.fill=m.fill===void 0?" ":m.fill+"",this.align=m.align===void 0?">":m.align+"",this.sign=m.sign===void 0?"-":m.sign+"",this.symbol=m.symbol===void 0?"":m.symbol+"",this.zero=!!m.zero,this.width=m.width===void 0?void 0:+m.width,this.comma=!!m.comma,this.precision=m.precision===void 0?void 0:+m.precision,this.trim=!!m.trim,this.type=m.type===void 0?"":m.type+""}function f(m,w){var y=d(m,w);if(!y)return m+"";var S=y[0],_=y[1];return _<0?"0."+new Array(-_).join("0")+S:S.length>_+1?S.slice(0,_+1)+"."+S.slice(_+1):S+new Array(_-S.length+2).join("0")}M.prototype=v.prototype,v.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,0|this.width))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var l={"%":function(m,w){return(100*m).toFixed(w)},b:function(m){return Math.round(m).toString(2)},c:function(m){return m+""},d:function(m){return Math.abs(m=Math.round(m))>=1e21?m.toLocaleString("en").replace(/,/g,""):m.toString(10)},e:function(m,w){return m.toExponential(w)},f:function(m,w){return m.toFixed(w)},g:function(m,w){return m.toPrecision(w)},o:function(m){return Math.round(m).toString(8)},p:function(m,w){return f(100*m,w)},r:f,s:function(m,w){var y=d(m,w);if(!y)return m+"";var S=y[0],_=y[1],k=_-(g=3*Math.max(-8,Math.min(8,Math.floor(_/3))))+1,E=S.length;return k===E?S:k>E?S+new Array(k-E+1).join("0"):k>0?S.slice(0,k)+"."+S.slice(k):"0."+new Array(1-k).join("0")+d(m,Math.max(0,w+k-1))[0]},X:function(m){return Math.round(m).toString(16).toUpperCase()},x:function(m){return Math.round(m).toString(16)}};function a(m){return m}var u,o,s=Array.prototype.map,c=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function h(m){var w,y,S=m.grouping===void 0||m.thousands===void 0?a:(w=s.call(m.grouping,Number),y=m.thousands+"",function(I,O){for(var z=I.length,F=[],B=0,N=w[0],W=0;z>0&&N>0&&(W+N+1>O&&(N=Math.max(1,O-W)),F.push(I.substring(z-=N,z+N)),!((W+=N+1)>O));)N=w[B=(B+1)%w.length];return F.reverse().join(y)}),_=m.currency===void 0?"":m.currency[0]+"",k=m.currency===void 0?"":m.currency[1]+"",E=m.decimal===void 0?".":m.decimal+"",x=m.numerals===void 0?a:function(I){return function(O){return O.replace(/[0-9]/g,function(z){return I[+z]})}}(s.call(m.numerals,String)),A=m.percent===void 0?"%":m.percent+"",L=m.minus===void 0?"-":m.minus+"",b=m.nan===void 0?"NaN":m.nan+"";function R(I){var O=(I=M(I)).fill,z=I.align,F=I.sign,B=I.symbol,N=I.zero,W=I.width,j=I.comma,$=I.precision,U=I.trim,G=I.type;G==="n"?(j=!0,G="g"):l[G]||($===void 0&&($=12),U=!0,G="g"),(N||O==="0"&&z==="=")&&(N=!0,O="0",z="=");var q=B==="$"?_:B==="#"&&/[boxX]/.test(G)?"0"+G.toLowerCase():"",H=B==="$"?k:/[%p]/.test(G)?A:"",ne=l[G],te=/[defgprs%]/.test(G);function Z(X){var Q,re,ie,oe=q,ue=H;if(G==="c")ue=ne(X)+ue,X="";else{var ce=(X=+X)<0||1/X<0;if(X=isNaN(X)?b:ne(Math.abs(X),$),U&&(X=function(me){e:for(var pe,xe=me.length,Pe=1,_e=-1;Pe0&&(_e=0)}return _e>0?me.slice(0,_e)+me.slice(pe+1):me}(X)),ce&&+X==0&&F!=="+"&&(ce=!1),oe=(ce?F==="("?F:L:F==="-"||F==="("?"":F)+oe,ue=(G==="s"?c[8+g/3]:"")+ue+(ce&&F==="("?")":""),te){for(Q=-1,re=X.length;++Q(ie=X.charCodeAt(Q))||ie>57){ue=(ie===46?E+X.slice(Q+1):X.slice(Q))+ue,X=X.slice(0,Q);break}}}j&&!N&&(X=S(X,1/0));var ye=oe.length+X.length+ue.length,de=ye>1)+oe+X+ue+de.slice(ye);break;default:X=de+oe+X+ue}return x(X)}return $=$===void 0?6:/[gprs]/.test(G)?Math.max(1,Math.min(21,$)):Math.max(0,Math.min(20,$)),Z.toString=function(){return I+""},Z}return{format:R,formatPrefix:function(I,O){var z,F=R(((I=M(I)).type="f",I)),B=3*Math.max(-8,Math.min(8,Math.floor((z=O,((z=d(Math.abs(z)))?z[1]:NaN)/3)))),N=Math.pow(10,-B),W=c[8+B/3];return function(j){return F(N*j)+W}}}}u=h({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),o=u.format,u.formatPrefix},65704:function(T,p,t){t.r(p),t.d(p,{geoAiry:function(){return j},geoAiryRaw:function(){return W},geoAitoff:function(){return U},geoAitoffRaw:function(){return $},geoArmadillo:function(){return q},geoArmadilloRaw:function(){return G},geoAugust:function(){return ne},geoAugustRaw:function(){return H},geoBaker:function(){return Q},geoBakerRaw:function(){return X},geoBerghaus:function(){return oe},geoBerghausRaw:function(){return ie},geoBertin1953:function(){return Pe},geoBertin1953Raw:function(){return xe},geoBoggs:function(){return ke},geoBoggsRaw:function(){return be},geoBonne:function(){return ge},geoBonneRaw:function(){return je},geoBottomley:function(){return Ee},geoBottomleyRaw:function(){return we},geoBromley:function(){return $e},geoBromleyRaw:function(){return Ve},geoChamberlin:function(){return Ft},geoChamberlinAfrica:function(){return xt},geoChamberlinRaw:function(){return Et},geoCollignon:function(){return Bt},geoCollignonRaw:function(){return Ot},geoCraig:function(){return Vt},geoCraigRaw:function(){return qt},geoCraster:function(){return qe},geoCrasterRaw:function(){return Je},geoCylindricalEqualArea:function(){return ft},geoCylindricalEqualAreaRaw:function(){return nt},geoCylindricalStereographic:function(){return Ne},geoCylindricalStereographicRaw:function(){return Re},geoEckert1:function(){return ut},geoEckert1Raw:function(){return Qe},geoEckert2:function(){return _t},geoEckert2Raw:function(){return dt},geoEckert3:function(){return Lt},geoEckert3Raw:function(){return It},geoEckert4:function(){return Pt},geoEckert4Raw:function(){return yt},geoEckert5:function(){return Rt},geoEckert5Raw:function(){return wt},geoEckert6:function(){return Yt},geoEckert6Raw:function(){return Nt},geoEisenlohr:function(){return Qt},geoEisenlohrRaw:function(){return Xt},geoFahey:function(){return un},geoFaheyRaw:function(){return xn},geoFoucaut:function(){return Yn},geoFoucautRaw:function(){return An},geoFoucautSinusoidal:function(){return sn},geoFoucautSinusoidalRaw:function(){return kn},geoGilbert:function(){return In},geoGingery:function(){return lr},geoGingeryRaw:function(){return jn},geoGinzburg4:function(){return yr},geoGinzburg4Raw:function(){return Sr},geoGinzburg5:function(){return vr},geoGinzburg5Raw:function(){return or},geoGinzburg6:function(){return Kt},geoGinzburg6Raw:function(){return _r},geoGinzburg8:function(){return Rn},geoGinzburg8Raw:function(){return bn},geoGinzburg9:function(){return Un},geoGinzburg9Raw:function(){return Ln},geoGringorten:function(){return tr},geoGringortenQuincuncial:function(){return qc},geoGringortenRaw:function(){return $n},geoGuyou:function(){return jt},geoGuyouRaw:function(){return Pn},geoHammer:function(){return de},geoHammerRaw:function(){return ce},geoHammerRetroazimuthal:function(){return On},geoHammerRetroazimuthalRaw:function(){return hn},geoHealpix:function(){return nr},geoHealpixRaw:function(){return yn},geoHill:function(){return hr},geoHillRaw:function(){return Qn},geoHomolosine:function(){return Lr},geoHomolosineRaw:function(){return Ir},geoHufnagel:function(){return gr},geoHufnagelRaw:function(){return zr},geoHyperelliptical:function(){return ea},geoHyperellipticalRaw:function(){return ji},geoInterrupt:function(){return Xi},geoInterruptedBoggs:function(){return rs},geoInterruptedHomolosine:function(){return Cu},geoInterruptedMollweide:function(){return Mh},geoInterruptedMollweideHemispheres:function(){return is},geoInterruptedQuarticAuthalic:function(){return nu},geoInterruptedSinuMollweide:function(){return Ya},geoInterruptedSinusoidal:function(){return Yo},geoKavrayskiy7:function(){return Ml},geoKavrayskiy7Raw:function(){return as},geoLagrange:function(){return Al},geoLagrangeRaw:function(){return Ui},geoLarrivee:function(){return js},geoLarriveeRaw:function(){return Es},geoLaskowski:function(){return vf},geoLaskowskiRaw:function(){return fc},geoLittrow:function(){return yf},geoLittrowRaw:function(){return tl},geoLoximuthal:function(){return id},geoLoximuthalRaw:function(){return bf},geoMiller:function(){return xf},geoMillerRaw:function(){return Sh},geoModifiedStereographic:function(){return Ql},geoModifiedStereographicAlaska:function(){return Lh},geoModifiedStereographicGs48:function(){return Jl},geoModifiedStereographicGs50:function(){return jc},geoModifiedStereographicLee:function(){return Iu},geoModifiedStereographicMiller:function(){return Sl},geoModifiedStereographicRaw:function(){return Ch},geoMollweide:function(){return Ce},geoMollweideRaw:function(){return Se},geoMtFlatPolarParabolic:function(){return ad},geoMtFlatPolarParabolicRaw:function(){return Cl},geoMtFlatPolarQuartic:function(){return dc},geoMtFlatPolarQuarticRaw:function(){return Uc},geoMtFlatPolarSinusoidal:function(){return Ru},geoMtFlatPolarSinusoidalRaw:function(){return eu},geoNaturalEarth:function(){return ms.Z},geoNaturalEarth2:function(){return pc},geoNaturalEarth2Raw:function(){return Ih},geoNaturalEarthRaw:function(){return ms.K},geoNellHammer:function(){return mc},geoNellHammerRaw:function(){return Pu},geoNicolosi:function(){return gc},geoNicolosiRaw:function(){return Ou},geoPatterson:function(){return Hc},geoPattersonRaw:function(){return El},geoPeirceQuincuncial:function(){return Wc},geoPierceQuincuncial:function(){return Wc},geoPolyconic:function(){return Ph},geoPolyconicRaw:function(){return xc},geoPolyhedral:function(){return Ll},geoPolyhedralButterfly:function(){return Gc},geoPolyhedralCollignon:function(){return Dh},geoPolyhedralWaterman:function(){return ou},geoProject:function(){return lu},geoQuantize:function(){return Lo},geoQuincuncial:function(){return $o},geoRectangularPolyconic:function(){return uu},geoRectangularPolyconicRaw:function(){return Dr},geoRobinson:function(){return zu},geoRobinsonRaw:function(){return Yc},geoSatellite:function(){return Bu},geoSatelliteRaw:function(){return Fu},geoSinuMollweide:function(){return br},geoSinuMollweideRaw:function(){return dr},geoSinusoidal:function(){return ze},geoSinusoidalRaw:function(){return Be},geoStitch:function(){return hu},geoTimes:function(){return xs},geoTimesRaw:function(){return yo},geoTwoPointAzimuthal:function(){return _s},geoTwoPointAzimuthalRaw:function(){return Tc},geoTwoPointAzimuthalUsa:function(){return os},geoTwoPointEquidistant:function(){return Wi},geoTwoPointEquidistantRaw:function(){return Gs},geoTwoPointEquidistantUsa:function(){return Bo},geoVanDerGrinten:function(){return Is},geoVanDerGrinten2:function(){return qs},geoVanDerGrinten2Raw:function(){return No},geoVanDerGrinten3:function(){return ul},geoVanDerGrinten3Raw:function(){return Ol},geoVanDerGrinten4:function(){return ws},geoVanDerGrinten4Raw:function(){return bo},geoVanDerGrintenRaw:function(){return no},geoWagner:function(){return ni},geoWagner4:function(){return Zc},geoWagner4Raw:function(){return xo},geoWagner6:function(){return ju},geoWagner6Raw:function(){return Vo},geoWagner7:function(){return Vu},geoWagnerRaw:function(){return Hr},geoWiechel:function(){return Ji},geoWiechelRaw:function(){return hl},geoWinkel3:function(){return Xc},geoWinkel3Raw:function(){return la}});var d=t(15002),g=Math.abs,i=Math.atan,M=Math.atan2,v=Math.cos,f=Math.exp,l=Math.floor,a=Math.log,u=Math.max,o=Math.min,s=Math.pow,c=Math.round,h=Math.sign||function(et){return et>0?1:et<0?-1:0},m=Math.sin,w=Math.tan,y=1e-6,S=1e-12,_=Math.PI,k=_/2,E=_/4,x=Math.SQRT1_2,A=F(2),L=F(_),b=2*_,R=180/_,I=_/180;function O(et){return et>1?k:et<-1?-k:Math.asin(et)}function z(et){return et>1?0:et<-1?_:Math.acos(et)}function F(et){return et>0?Math.sqrt(et):0}function B(et){return(f(et)-f(-et))/2}function N(et){return(f(et)+f(-et))/2}function W(et){var rt=w(et/2),ct=2*a(v(et/2))/(rt*rt);function vt(St,Mt){var Y=v(St),ee=v(Mt),K=m(Mt),le=ee*Y,Te=-((1-le?a((1+le)/2)/(1-le):-.5)+ct/(1+le));return[Te*ee*m(St),Te*K]}return vt.invert=function(St,Mt){var Y,ee=F(St*St+Mt*Mt),K=-et/2,le=50;if(!ee)return[0,0];do{var Te=K/2,De=v(Te),He=m(Te),Ze=He/De,at=-a(g(De));K-=Y=(2/Ze*at-ct*Ze-ee)/(-at/(He*He)+1-ct/(2*De*De))*(De<0?.7:1)}while(g(Y)>y&&--le>0);var Tt=m(K);return[M(St*Tt,ee*v(K)),O(Mt*Tt/ee)]},vt}function j(){var et=k,rt=(0,d.r)(W),ct=rt(et);return ct.radius=function(vt){return arguments.length?rt(et=vt*I):et*R},ct.scale(179.976).clipAngle(147)}function $(et,rt){var ct=v(rt),vt=function(St){return St?St/Math.sin(St):1}(z(ct*v(et/=2)));return[2*ct*m(et)*vt,m(rt)*vt]}function U(){return(0,d.Z)($).scale(152.63)}function G(et){var rt=m(et),ct=v(et),vt=et>=0?1:-1,St=w(vt*et),Mt=(1+rt-ct)/2;function Y(ee,K){var le=v(K),Te=v(ee/=2);return[(1+le)*m(ee),(vt*K>-M(Te,St)-.001?0:10*-vt)+Mt+m(K)*ct-(1+le)*rt*Te]}return Y.invert=function(ee,K){var le=0,Te=0,De=50;do{var He=v(le),Ze=m(le),at=v(Te),Tt=m(Te),At=1+at,se=At*Ze-ee,ve=Mt+Tt*ct-At*rt*He-K,Ie=At*He/2,Fe=-Ze*Tt,Ue=rt*At*Ze/2,We=ct*at+rt*He*Tt,Xe=Fe*Ue-We*Ie,tt=(ve*Fe-se*We)/Xe/2,lt=(se*Ue-ve*Ie)/Xe;g(lt)>2&&(lt/=2),le-=tt,Te-=lt}while((g(tt)>y||g(lt)>y)&&--De>0);return vt*Te>-M(v(le),St)-.001?[2*le,Te]:null},Y}function q(){var et=20*I,rt=et>=0?1:-1,ct=w(rt*et),vt=(0,d.r)(G),St=vt(et),Mt=St.stream;return St.parallel=function(Y){return arguments.length?(ct=w((rt=(et=Y*I)>=0?1:-1)*et),vt(et)):et*R},St.stream=function(Y){var ee=St.rotate(),K=Mt(Y),le=(St.rotate([0,0]),Mt(Y)),Te=St.precision();return St.rotate(ee),K.sphere=function(){le.polygonStart(),le.lineStart();for(var De=-180*rt;rt*De<180;De+=90*rt)le.point(De,90*rt);if(et)for(;rt*(De-=3*rt*Te)>=-180;)le.point(De,rt*-M(v(De*I/2),ct)*R);le.lineEnd(),le.polygonEnd()},K},St.scale(218.695).center([0,28.0974])}function H(et,rt){var ct=w(rt/2),vt=F(1-ct*ct),St=1+vt*v(et/=2),Mt=m(et)*vt/St,Y=ct/St,ee=Mt*Mt,K=Y*Y;return[1.3333333333333333*Mt*(3+ee-3*K),1.3333333333333333*Y*(3+3*ee-K)]}function ne(){return(0,d.Z)(H).scale(66.1603)}$.invert=function(et,rt){if(!(et*et+4*rt*rt>_*_+y)){var ct=et,vt=rt,St=25;do{var Mt,Y=m(ct),ee=m(ct/2),K=v(ct/2),le=m(vt),Te=v(vt),De=m(2*vt),He=le*le,Ze=Te*Te,at=ee*ee,Tt=1-Ze*K*K,At=Tt?z(Te*K)*F(Mt=1/Tt):Mt=0,se=2*At*Te*ee-et,ve=At*le-rt,Ie=Mt*(Ze*at+At*Te*K*He),Fe=Mt*(.5*Y*De-2*At*le*ee),Ue=.25*Mt*(De*ee-At*le*Ze*Y),We=Mt*(He*K+At*at*Te),Xe=Fe*Ue-We*Ie;if(!Xe)break;var tt=(ve*Fe-se*We)/Xe,lt=(se*Ue-ve*Ie)/Xe;ct-=tt,vt-=lt}while((g(tt)>y||g(lt)>y)&&--St>0);return[ct,vt]}},H.invert=function(et,rt){if(rt*=.375,!(et*=.375)&&g(rt)>1)return null;var ct=1+et*et+rt*rt,vt=F((ct-F(ct*ct-4*rt*rt))/2),St=O(vt)/3,Mt=vt?function(le){return a(le+F(le*le-1))}(g(rt/vt))/3:function(le){return a(le+F(le*le+1))}(g(et))/3,Y=v(St),ee=N(Mt),K=ee*ee-Y*Y;return[2*h(et)*M(B(Mt)*Y,.25-K),2*h(rt)*M(ee*m(St),.25+K)]};var te=F(8),Z=a(1+A);function X(et,rt){var ct=g(rt);return ctS&&--Mt>0);return[et/(v(St)*(te-1/m(St))),h(rt)*St]};var re=t(17889);function ie(et){var rt=2*_/et;function ct(vt,St){var Mt=(0,re.N)(vt,St);if(g(vt)>k){var Y=M(Mt[1],Mt[0]),ee=F(Mt[0]*Mt[0]+Mt[1]*Mt[1]),K=rt*c((Y-k)/rt)+k,le=M(m(Y-=K),2-v(Y));Y=K+O(_/ee*m(le))-le,Mt[0]=ee*v(Y),Mt[1]=ee*m(Y)}return Mt}return ct.invert=function(vt,St){var Mt=F(vt*vt+St*St);if(Mt>k){var Y=M(St,vt),ee=rt*c((Y-k)/rt)+k,K=Y>ee?-1:1,le=Mt*v(ee-Y),Te=1/w(K*z((le-_)/F(_*(_-2*le)+Mt*Mt)));Y=ee+2*i((Te+K*F(Te*Te-3))/3),vt=Mt*v(Y),St=Mt*m(Y)}return re.N.invert(vt,St)},ct}function oe(){var et=5,rt=(0,d.r)(ie),ct=rt(et),vt=ct.stream,St=.01,Mt=-v(St*I),Y=m(St*I);return ct.lobes=function(ee){return arguments.length?rt(et=+ee):et},ct.stream=function(ee){var K=ct.rotate(),le=vt(ee),Te=(ct.rotate([0,0]),vt(ee));return ct.rotate(K),le.sphere=function(){Te.polygonStart(),Te.lineStart();for(var De=0,He=360/et,Ze=2*_/et,at=90-180/et,Tt=k;De0&&g(vt)>y);return Y<0?NaN:ct}function pe(et,rt,ct){return rt===void 0&&(rt=40),ct===void 0&&(ct=S),function(vt,St,Mt,Y){var ee,K,le;Mt=Mt===void 0?0:+Mt,Y=Y===void 0?0:+Y;for(var Te=0;Teee)Mt-=K/=2,Y-=le/=2;else{ee=at;var Tt=(Mt>0?-1:1)*ct,At=(Y>0?-1:1)*ct,se=et(Mt+Tt,Y),ve=et(Mt,Y+At),Ie=(se[0]-De[0])/Tt,Fe=(se[1]-De[1])/Tt,Ue=(ve[0]-De[0])/At,We=(ve[1]-De[1])/At,Xe=We*Ie-Fe*Ue,tt=(g(Xe)<.5?.5:1)/Xe;if(Mt+=K=(Ze*Ue-He*We)*tt,Y+=le=(He*Fe-Ze*Ie)*tt,g(K)0&&(Mt[1]*=1+Y/1.5*Mt[0]*Mt[0]),Mt}return rt.invert=pe(rt),rt}function Pe(){return(0,d.Z)(xe()).rotate([-16.5,-42]).scale(176.57).center([7.93,.09])}function _e(et,rt){var ct,vt=et*m(rt),St=30;do rt-=ct=(rt+m(rt)-vt)/(1+v(rt));while(g(ct)>y&&--St>0);return rt/2}function Me(et,rt,ct){function vt(St,Mt){return[et*St*v(Mt=_e(ct,Mt)),rt*m(Mt)]}return vt.invert=function(St,Mt){return Mt=O(Mt/rt),[St/(et*v(Mt)),O((2*Mt+m(2*Mt))/ct)]},vt}ye.invert=function(et,rt){var ct=2*O(rt/2);return[et*v(ct/2)/v(ct),ct]};var Se=Me(A/k,A,_);function Ce(){return(0,d.Z)(Se).scale(169.529)}var ae=2.00276,fe=1.11072;function be(et,rt){var ct=_e(_,rt);return[ae*et/(1/v(rt)+fe/v(ct)),(rt+A*m(ct))/ae]}function ke(){return(0,d.Z)(be).scale(160.857)}function Le(et){var rt=0,ct=(0,d.r)(et),vt=ct(rt);return vt.parallel=function(St){return arguments.length?ct(rt=St*I):rt*R},vt}function Be(et,rt){return[et*v(rt),rt]}function ze(){return(0,d.Z)(Be).scale(152.63)}function je(et){if(!et)return Be;var rt=1/w(et);function ct(vt,St){var Mt=rt+et-St,Y=Mt&&vt*v(St)/Mt;return[Mt*m(Y),rt-Mt*v(Y)]}return ct.invert=function(vt,St){var Mt=F(vt*vt+(St=rt-St)*St),Y=rt+et-Mt;return[Mt/v(Y)*M(vt,St),Y]},ct}function ge(){return Le(je).scale(123.082).center([0,26.1441]).parallel(45)}function we(et){function rt(ct,vt){var St=k-vt,Mt=St&&ct*et*m(St)/St;return[St*m(Mt)/et,k-St*v(Mt)]}return rt.invert=function(ct,vt){var St=ct*et,Mt=k-vt,Y=F(St*St+Mt*Mt),ee=M(St,Mt);return[(Y?Y/m(Y):1)*ee/et,k-Y]},rt}function Ee(){var et=.5,rt=(0,d.r)(we),ct=rt(et);return ct.fraction=function(vt){return arguments.length?rt(et=+vt):et},ct.scale(158.837)}be.invert=function(et,rt){var ct,vt,St=ae*rt,Mt=rt<0?-E:E,Y=25;do vt=St-A*m(Mt),Mt-=ct=(m(2*Mt)+2*Mt-_*m(vt))/(2*v(2*Mt)+2+_*v(vt)*A*v(Mt));while(g(ct)>y&&--Y>0);return vt=St-A*m(Mt),[et*(1/v(vt)+fe/v(Mt))/ae,vt]},Be.invert=function(et,rt){return[et/v(rt),rt]};var Ve=Me(1,4/_,_);function $e(){return(0,d.Z)(Ve).scale(152.63)}var Ye=t(66624),st=t(49386);function ot(et,rt,ct,vt,St,Mt){var Y,ee=v(Mt);if(g(et)>1||g(Mt)>1)Y=z(ct*St+rt*vt*ee);else{var K=m(et/2),le=m(Mt/2);Y=2*O(F(K*K+rt*vt*le*le))}return g(Y)>y?[Y,M(vt*m(Mt),rt*St-ct*vt*ee)]:[0,0]}function ht(et,rt,ct){return z((et*et+rt*rt-ct*ct)/(2*et*rt))}function bt(et){return et-2*_*l((et+_)/(2*_))}function Et(et,rt,ct){for(var vt,St=[[et[0],et[1],m(et[1]),v(et[1])],[rt[0],rt[1],m(rt[1]),v(rt[1])],[ct[0],ct[1],m(ct[1]),v(ct[1])]],Mt=St[2],Y=0;Y<3;++Y,Mt=vt)vt=St[Y],Mt.v=ot(vt[1]-Mt[1],Mt[3],Mt[2],vt[3],vt[2],vt[0]-Mt[0]),Mt.point=[0,0];var ee=ht(St[0].v[0],St[2].v[0],St[1].v[0]),K=ht(St[0].v[0],St[1].v[0],St[2].v[0]),le=_-ee;St[2].point[1]=0,St[0].point[0]=-(St[1].point[0]=St[0].v[0]/2);var Te=[St[2].point[0]=St[0].point[0]+St[2].v[0]*v(ee),2*(St[0].point[1]=St[1].point[1]=St[2].v[0]*m(ee))];return function(De,He){var Ze,at=m(He),Tt=v(He),At=new Array(3);for(Ze=0;Ze<3;++Ze){var se=St[Ze];if(At[Ze]=ot(He-se[1],se[3],se[2],Tt,at,De-se[0]),!At[Ze][0])return se.point;At[Ze][1]=bt(At[Ze][1]-se.v[1])}var ve=Te.slice();for(Ze=0;Ze<3;++Ze){var Ie=Ze==2?0:Ze+1,Fe=ht(St[Ze].v[0],At[Ze][0],At[Ie][0]);At[Ze][1]<0&&(Fe=-Fe),Ze?Ze==1?(Fe=K-Fe,ve[0]-=At[Ze][0]*v(Fe),ve[1]-=At[Ze][0]*m(Fe)):(Fe=le-Fe,ve[0]+=At[Ze][0]*v(Fe),ve[1]+=At[Ze][0]*m(Fe)):(ve[0]+=At[Ze][0]*v(Fe),ve[1]-=At[Ze][0]*m(Fe))}return ve[0]/=3,ve[1]/=3,ve}}function kt(et){return et[0]*=I,et[1]*=I,et}function xt(){return Ft([0,22],[45,22],[22.5,-22]).scale(380).center([22.5,2])}function Ft(et,rt,ct){var vt=(0,Ye.Z)({type:"MultiPoint",coordinates:[et,rt,ct]}),St=[-vt[0],-vt[1]],Mt=(0,st.Z)(St),Y=Et(kt(Mt(et)),kt(Mt(rt)),kt(Mt(ct)));Y.invert=pe(Y);var ee=(0,d.Z)(Y).rotate(St),K=ee.center;return delete ee.rotate,ee.center=function(le){return arguments.length?K(Mt(le)):Mt.invert(K())},ee.clipAngle(90)}function Ot(et,rt){var ct=F(1-m(rt));return[2/L*et*ct,L*(1-ct)]}function Bt(){return(0,d.Z)(Ot).scale(95.6464).center([0,30])}function qt(et){var rt=w(et);function ct(vt,St){return[vt,(vt?vt/m(vt):1)*(m(St)*v(vt)-rt*v(St))]}return ct.invert=rt?function(vt,St){vt&&(St*=m(vt)/vt);var Mt=v(vt);return[vt,2*M(F(Mt*Mt+rt*rt-St*St)-Mt,rt-St)]}:function(vt,St){return[vt,O(vt?St*w(vt)/vt:St)]},ct}function Vt(){return Le(qt).scale(249.828).clipAngle(90)}Ot.invert=function(et,rt){var ct=(ct=rt/L-1)*ct;return[ct>0?et*F(_/ct)/2:0,O(1-ct)]};var Ke=F(3);function Je(et,rt){return[Ke*et*(2*v(2*rt/3)-1)/L,Ke*L*m(rt/3)]}function qe(){return(0,d.Z)(Je).scale(156.19)}function nt(et){var rt=v(et);function ct(vt,St){return[vt*rt,m(St)/rt]}return ct.invert=function(vt,St){return[vt/rt,O(St*rt)]},ct}function ft(){return Le(nt).parallel(38.58).scale(195.044)}function Re(et){var rt=v(et);function ct(vt,St){return[vt*rt,(1+rt)*w(St/2)]}return ct.invert=function(vt,St){return[vt/rt,2*i(St/(1+rt))]},ct}function Ne(){return Le(Re).scale(124.75)}function Qe(et,rt){var ct=F(8/(3*_));return[ct*et*(1-g(rt)/_),ct*rt]}function ut(){return(0,d.Z)(Qe).scale(165.664)}function dt(et,rt){var ct=F(4-3*m(g(rt)));return[2/F(6*_)*et*ct,h(rt)*F(2*_/3)*(2-ct)]}function _t(){return(0,d.Z)(dt).scale(165.664)}function It(et,rt){var ct=F(_*(4+_));return[2/ct*et*(1+F(1-4*rt*rt/(_*_))),4/ct*rt]}function Lt(){return(0,d.Z)(It).scale(180.739)}function yt(et,rt){var ct=(2+k)*m(rt);rt/=2;for(var vt=0,St=1/0;vt<10&&g(St)>y;vt++){var Mt=v(rt);rt-=St=(rt+m(rt)*(Mt+2)-ct)/(2*Mt*(1+Mt))}return[2/F(_*(4+_))*et*(1+v(rt)),2*F(_/(4+_))*m(rt)]}function Pt(){return(0,d.Z)(yt).scale(180.739)}function wt(et,rt){return[et*(1+v(rt))/F(2+_),2*rt/F(2+_)]}function Rt(){return(0,d.Z)(wt).scale(173.044)}function Nt(et,rt){for(var ct=(1+k)*m(rt),vt=0,St=1/0;vt<10&&g(St)>y;vt++)rt-=St=(rt+m(rt)-ct)/(1+v(rt));return ct=F(2+_),[et*(1+v(rt))/ct,2*rt/ct]}function Yt(){return(0,d.Z)(Nt).scale(173.044)}Je.invert=function(et,rt){var ct=3*O(rt/(Ke*L));return[L*et/(Ke*(2*v(2*ct/3)-1)),ct]},Qe.invert=function(et,rt){var ct=F(8/(3*_)),vt=rt/ct;return[et/(ct*(1-g(vt)/_)),vt]},dt.invert=function(et,rt){var ct=2-g(rt)/F(2*_/3);return[et*F(6*_)/(2*ct),h(rt)*O((4-ct*ct)/3)]},It.invert=function(et,rt){var ct=F(_*(4+_))/2;return[et*ct/(1+F(1-rt*rt*(4+_)/(4*_))),rt*ct/2]},yt.invert=function(et,rt){var ct=rt*F((4+_)/_)/2,vt=O(ct),St=v(vt);return[et/(2/F(_*(4+_))*(1+St)),O((vt+ct*(St+2))/(2+k))]},wt.invert=function(et,rt){var ct=F(2+_),vt=rt*ct/2;return[ct*et/(1+v(vt)),vt]},Nt.invert=function(et,rt){var ct=1+k,vt=F(ct/2);return[2*et*vt/(1+v(rt*=vt)),O((rt+m(rt))/ct)]};var Wt=3+2*A;function Xt(et,rt){var ct=m(et/=2),vt=v(et),St=F(v(rt)),Mt=v(rt/=2),Y=m(rt)/(Mt+A*vt*St),ee=F(2/(1+Y*Y)),K=F((A*Mt+(vt+ct)*St)/(A*Mt+(vt-ct)*St));return[Wt*(ee*(K-1/K)-2*a(K)),Wt*(ee*Y*(K+1/K)-2*i(Y))]}function Qt(){return(0,d.Z)(Xt).scale(62.5271)}Xt.invert=function(et,rt){if(!(ct=H.invert(et/1.2,1.065*rt)))return null;var ct,vt=ct[0],St=ct[1],Mt=20;et/=Wt,rt/=Wt;do{var Y=vt/2,ee=St/2,K=m(Y),le=v(Y),Te=m(ee),De=v(ee),He=v(St),Ze=F(He),at=Te/(De+A*le*Ze),Tt=at*at,At=F(2/(1+Tt)),se=(A*De+(le+K)*Ze)/(A*De+(le-K)*Ze),ve=F(se),Ie=ve-1/ve,Fe=ve+1/ve,Ue=At*Ie-2*a(ve)-et,We=At*at*Fe-2*i(at)-rt,Xe=Te&&x*Ze*K*Tt/Te,tt=(A*le*De+Ze)/(2*(De+A*le*Ze)*(De+A*le*Ze)*Ze),lt=-.5*at*At*At*At,mt=lt*Xe,zt=lt*tt,Ut=(Ut=2*De+A*Ze*(le-K))*Ut*ve,Ht=(A*le*De*Ze+He)/Ut,en=-A*K*Te/(Ze*Ut),vn=Ie*mt-2*Ht/ve+At*(Ht+Ht/se),tn=Ie*zt-2*en/ve+At*(en+en/se),ln=at*Fe*mt-2*Xe/(1+Tt)+At*Fe*Xe+At*at*(Ht-Ht/se),an=at*Fe*zt-2*tt/(1+Tt)+At*Fe*tt+At*at*(en-en/se),Cn=tn*ln-an*vn;if(!Cn)break;var _n=(We*tn-Ue*an)/Cn,on=(Ue*ln-We*vn)/Cn;vt-=_n,St=u(-k,o(k,St-on))}while((g(_n)>y||g(on)>y)&&--Mt>0);return g(g(St)-k)vt){var De=F(Te),He=M(le,K),Ze=ct*c(He/ct),at=He-Ze,Tt=et*v(at),At=(et*m(at)-at*m(Tt))/(k-Tt),se=Gn(at,At),ve=(_-et)/qn(se,Tt,_);K=De;var Ie,Fe=50;do K-=Ie=(et+qn(se,Tt,K)*ve-De)/(se(K)*ve);while(g(Ie)>y&&--Fe>0);le=at*m(K),Kvt){var K=F(ee),le=M(Y,Mt),Te=ct*c(le/ct),De=le-Te;Mt=K*v(De),Y=K*m(De);for(var He=Mt-k,Ze=m(Mt),at=Y/Ze,Tt=Mty||g(He)>y)&&--Tt>0);return[Ze,at]},K}var Sr=rr(2.8284,-1.6988,.75432,-.18071,1.76003,-.38914,.042555);function yr(){return(0,d.Z)(Sr).scale(149.995)}var or=rr(2.583819,-.835827,.170354,-.038094,1.543313,-.411435,.082742);function vr(){return(0,d.Z)(or).scale(153.93)}var _r=rr(5/6*_,-.62636,-.0344,0,1.3493,-.05524,0,.045);function Kt(){return(0,d.Z)(_r).scale(130.945)}function bn(et,rt){var ct=et*et,vt=rt*rt;return[et*(1-.162388*vt)*(.87-952426e-9*ct*ct),rt*(1+vt/12)]}function Rn(){return(0,d.Z)(bn).scale(131.747)}bn.invert=function(et,rt){var ct,vt=et,St=rt,Mt=50;do{var Y=St*St;St-=ct=(St*(1+Y/12)-rt)/(1+Y/4)}while(g(ct)>y&&--Mt>0);Mt=50,et/=1-.162388*Y;do{var ee=(ee=vt*vt)*ee;vt-=ct=(vt*(.87-952426e-9*ee)-et)/(.87-.00476213*ee)}while(g(ct)>y&&--Mt>0);return[vt,St]};var Ln=rr(2.6516,-.76534,.19123,-.047094,1.36289,-.13965,.031762);function Un(){return(0,d.Z)(Ln).scale(131.087)}function Kn(et){var rt=et(k,0)[0]-et(-k,0)[0];function ct(vt,St){var Mt=vt>0?-.5:.5,Y=et(vt+Mt*_,St);return Y[0]-=Mt*rt,Y}return et.invert&&(ct.invert=function(vt,St){var Mt=vt>0?-.5:.5,Y=et.invert(vt+Mt*rt,St),ee=Y[0]-Mt*_;return ee<-_?ee+=2*_:ee>_&&(ee-=2*_),Y[0]=ee,Y}),ct}function $n(et,rt){var ct=h(et),vt=h(rt),St=v(rt),Mt=v(et)*St,Y=m(et)*St,ee=m(vt*rt);et=g(M(Y,ee)),rt=O(Mt),g(et-k)>y&&(et%=k);var K=function(le,Te){if(Te===k)return[0,0];var De,He,Ze=m(Te),at=Ze*Ze,Tt=at*at,At=1+Tt,se=1+3*Tt,ve=1-Tt,Ie=O(1/F(At)),Fe=ve+at*At*Ie,Ue=(1-Ze)/Fe,We=F(Ue),Xe=Ue*At,tt=F(Xe),lt=We*ve;if(le===0)return[0,-(lt+at*tt)];var mt,zt=v(Te),Ut=1/zt,Ht=2*Ze*zt,en=(-Fe*zt-(-3*at+Ie*se)*Ht*(1-Ze))/(Fe*Fe),vn=-Ut*Ht,tn=-Ut*(at*At*en+Ue*se*Ht),ln=-2*Ut*(ve*(.5*en/We)-2*at*We*Ht),an=4*le/_;if(le>.222*_||Te<_/4&&le>.175*_){if(De=(lt+at*F(Xe*(1+Tt)-lt*lt))/(1+Tt),le>_/4)return[De,De];var Cn=De,_n=.5*De;De=.5*(_n+Cn),He=50;do{var on=De*(ln+vn*F(Xe-De*De))+tn*O(De/tt)-an;if(!on)break;on<0?_n=De:Cn=De,De=.5*(_n+Cn)}while(g(Cn-_n)>y&&--He>0)}else{De=y,He=25;do{var Fn=De*De,Hn=F(Xe-Fn),ir=ln+vn*Hn,ar=De*ir+tn*O(De/tt)-an;De-=mt=Hn?ar/(ir+(tn-vn*Fn)/Hn):0}while(g(mt)>y&&--He>0)}return[De,-lt-at*F(Xe-De*De)]}(et>_/4?k-et:et,rt);return et>_/4&&(ee=K[0],K[0]=-K[1],K[1]=-ee),K[0]*=ct,K[1]*=-vt,K}function tr(){return(0,d.Z)(Kn($n)).scale(239.75)}function mr(et,rt){var ct,vt,St,Mt,Y,ee;if(rt=.999999)return ct=(1-rt)/4,St=1/(vt=N(et)),[(Mt=((ee=f(2*(ee=et)))-1)/(ee+1))+ct*((Y=vt*B(et))-et)/(vt*vt),St-ct*Mt*St*(Y-et),St+ct*Mt*St*(Y+et),2*i(f(et))-k+ct*(Y-et)/vt];var K=[1,0,0,0,0,0,0,0,0],le=[F(rt),0,0,0,0,0,0,0,0],Te=0;for(vt=F(1-rt),Y=1;g(le[Te]/K[Te])>y&&Te<8;)ct=K[Te++],le[Te]=(ct-vt)/2,K[Te]=(ct+vt)/2,vt=F(ct*vt),Y*=2;St=Y*K[Te]*et;do St=(O(Mt=le[Te]*m(vt=St)/K[Te])+St)/2;while(--Te);return[m(St),Mt=v(St),Mt/v(St-vt),St]}function nn(et,rt){if(!rt)return et;if(rt===1)return a(w(et/2+E));for(var ct=1,vt=F(1-rt),St=F(rt),Mt=0;g(St)>y;Mt++){if(et%_){var Y=i(vt*w(et)/ct);Y<0&&(Y+=_),et+=Y+~~(et/_)*_}else et+=et;St=(ct+vt)/2,vt=F(ct*vt),St=((ct=St)-vt)/2}return et/(s(2,Mt)*ct)}function Pn(et,rt){var ct=(A-1)/(A+1),vt=F(1-ct*ct),St=nn(k,vt*vt),Mt=a(w(_/4+g(rt)/2)),Y=f(-1*Mt)/F(ct),ee=function(le,Te){var De=le*le,He=Te+1,Ze=1-De-Te*Te;return[.5*((le>=0?k:-k)-M(Ze,2*le)),-.25*a(Ze*Ze+4*De)+.5*a(He*He+De)]}(Y*v(-1*et),Y*m(-1*et)),K=function(le,Te,De){var He=g(le),Ze=B(g(Te));if(He){var at=1/m(He),Tt=1/(w(He)*w(He)),At=-(Tt+De*(Ze*Ze*at*at)-1+De),se=(-At+F(At*At-(De-1)*Tt*4))/2;return[nn(i(1/F(se)),De)*h(le),nn(i(F((se/Tt-1)/De)),1-De)*h(Te)]}return[0,nn(i(Ze),1-De)*h(Te)]}(ee[0],ee[1],vt*vt);return[-K[1],(rt>=0?1:-1)*(.5*St-K[0])]}function jt(){return(0,d.Z)(Kn(Pn)).scale(151.496)}$n.invert=function(et,rt){g(et)>1&&(et=2*h(et)-et),g(rt)>1&&(rt=2*h(rt)-rt);var ct=h(et),vt=h(rt),St=-ct*et,Mt=-vt*rt,Y=Mt/St<1,ee=function(De,He){for(var Ze=0,at=1,Tt=.5,At=50;;){var se=Tt*Tt,ve=F(Tt),Ie=O(1/F(1+se)),Fe=1-se+Tt*(1+se)*Ie,Ue=(1-ve)/Fe,We=F(Ue),Xe=Ue*(1+se),tt=We*(1-se),lt=F(Xe-De*De),mt=He+tt+Tt*lt;if(g(at-Ze)0?Ze=Tt:at=Tt,Tt=.5*(Ze+at)}if(!At)return null;var zt=O(ve),Ut=v(zt),Ht=1/Ut,en=2*ve*Ut,vn=(-Fe*Ut-(-3*Tt+Ie*(1+3*se))*en*(1-ve))/(Fe*Fe);return[_/4*(De*(-2*Ht*(.5*vn/We*(1-se)-2*Tt*We*en)+-Ht*en*lt)+-Ht*(Tt*(1+se)*vn+Ue*(1+3*se)*en)*O(De/F(Xe))),zt]}(Y?Mt:St,Y?St:Mt),K=ee[0],le=ee[1],Te=v(le);return Y&&(K=-k-K),[ct*(M(m(K)*Te,-m(le))+_),vt*O(v(K)*Te)]},Pn.invert=function(et,rt){var ct,vt,St,Mt,Y,ee,K=(A-1)/(A+1),le=F(1-K*K),Te=(vt=-et,St=le*le,(ct=.5*nn(k,le*le)-rt)?(Mt=mr(ct,St),vt?(ee=(Y=mr(vt,1-St))[1]*Y[1]+St*Mt[0]*Mt[0]*Y[0]*Y[0],[[Mt[0]*Y[2]/ee,Mt[1]*Mt[2]*Y[0]*Y[1]/ee],[Mt[1]*Y[1]/ee,-Mt[0]*Mt[2]*Y[0]*Y[2]/ee],[Mt[2]*Y[1]*Y[2]/ee,-St*Mt[0]*Mt[1]*Y[0]/ee]]):[[Mt[0],0],[Mt[1],0],[Mt[2],0]]):[[0,(Y=mr(vt,1-St))[0]/Y[1]],[1/Y[1],0],[Y[2]/Y[1],0]]),De=function(He,Ze){var at=Ze[0]*Ze[0]+Ze[1]*Ze[1];return[(He[0]*Ze[0]+He[1]*Ze[1])/at,(He[1]*Ze[0]-He[0]*Ze[1])/at]}(Te[0],Te[1]);return[M(De[1],De[0])/-1,2*i(f(-.5*a(K*De[0]*De[0]+K*De[1]*De[1])))-k]};var Jt=t(7613);function hn(et){var rt=m(et),ct=v(et),vt=zn(et);function St(Mt,Y){var ee=vt(Mt,Y);Mt=ee[0],Y=ee[1];var K=m(Y),le=v(Y),Te=v(Mt),De=z(rt*K+ct*le*Te),He=m(De),Ze=g(He)>y?De/He:1;return[Ze*ct*m(Mt),(g(Mt)>k?Ze:-Ze)*(rt*le-ct*K*Te)]}return vt.invert=zn(-et),St.invert=function(Mt,Y){var ee=F(Mt*Mt+Y*Y),K=-m(ee),le=v(ee),Te=ee*le,De=-Y*K,He=ee*rt,Ze=F(Te*Te+De*De-He*He),at=M(Te*He+De*Ze,De*He-Te*Ze),Tt=(ee>k?-1:1)*M(Mt*K,ee*v(at)*le+Y*m(at)*K);return vt.invert(Tt,at)},St}function zn(et){var rt=m(et),ct=v(et);return function(vt,St){var Mt=v(St),Y=v(vt)*Mt,ee=m(vt)*Mt,K=m(St);return[M(ee,Y*ct-K*rt),O(K*ct+Y*rt)]}}function On(){var et=0,rt=(0,d.r)(hn),ct=rt(et),vt=ct.rotate,St=ct.stream,Mt=(0,Jt.Z)();return ct.parallel=function(Y){if(!arguments.length)return et*R;var ee=ct.rotate();return rt(et=Y*I).rotate(ee)},ct.rotate=function(Y){return arguments.length?(vt.call(ct,[Y[0],Y[1]-et*R]),Mt.center([-Y[0],-Y[1]]),ct):((Y=vt.call(ct))[1]+=et*R,Y)},ct.stream=function(Y){return(Y=St(Y)).sphere=function(){Y.polygonStart();var ee,K=Mt.radius(89.99)().coordinates[0],le=K.length-1,Te=-1;for(Y.lineStart();++Te=0;)Y.point((ee=K[Te])[0],ee[1]);Y.lineEnd(),Y.polygonEnd()},Y},ct.scale(79.4187).parallel(45).clipAngle(179.999)}var En=t(33064),mn=t(72736),wn=O(1-1/3)*R,gn=nt(0);function yn(et){var rt=wn*I,ct=Ot(_,rt)[0]-Ot(-_,rt)[0],vt=gn(0,rt)[1],St=Ot(0,rt)[1],Mt=L-St,Y=b/et,ee=4/b,K=vt+Mt*Mt*4/b;function le(Te,De){var He,Ze=g(De);if(Ze>rt){var at=o(et-1,u(0,l((Te+_)/Y)));(He=Ot(Te+=_*(et-1)/et-at*Y,Ze))[0]=He[0]*b/ct-b*(et-1)/(2*et)+at*b/et,He[1]=vt+4*(He[1]-St)*Mt/b,De<0&&(He[1]=-He[1])}else He=gn(Te,De);return He[0]*=ee,He[1]/=K,He}return le.invert=function(Te,De){Te/=ee;var He=g(De*=K);if(He>vt){var Ze=o(et-1,u(0,l((Te+_)/Y)));Te=(Te+_*(et-1)/et-Ze*Y)*ct/b;var at=Ot.invert(Te,.25*(He-vt)*b/Mt+St);return at[0]-=_*(et-1)/et-Ze*Y,De<0&&(at[1]=-at[1]),at}return gn.invert(Te,De)},le}function Sn(et,rt){return[et,1&rt?89.999999:wn]}function Vn(et,rt){return[et,1&rt?-89.999999:-wn]}function Xn(et){return[.999999*et[0],et[1]]}function nr(){var et=4,rt=(0,d.r)(yn),ct=rt(et),vt=ct.stream;return ct.lobes=function(St){return arguments.length?rt(et=+St):et},ct.stream=function(St){var Mt=ct.rotate(),Y=vt(St),ee=(ct.rotate([0,0]),vt(St));return ct.rotate(Mt),Y.sphere=function(){var K,le;(0,mn.Z)((K=180/et,le=[].concat((0,En.w6)(-180,180+K/2,K).map(Sn),(0,En.w6)(180,-180-K/2,-K).map(Vn)),{type:"Polygon",coordinates:[K===180?le.map(Xn):le]}),ee)},Y},ct.scale(239.75)}function Qn(et){var rt,ct=1+et,vt=O(m(1/ct)),St=2*F(_/(rt=_+4*vt*ct)),Mt=.5*St*(ct+F(et*(2+et))),Y=et*et,ee=ct*ct;function K(le,Te){var De,He,Ze=1-m(Te);if(Ze&&Ze<2){var at,Tt=k-Te,At=25;do{var se=m(Tt),ve=v(Tt),Ie=vt+M(se,ct-ve),Fe=1+ee-2*ct*ve;Tt-=at=(Tt-Y*vt-ct*se+Fe*Ie-.5*Ze*rt)/(2*ct*se*Ie)}while(g(at)>S&&--At>0);De=St*F(Fe),He=le*Ie/_}else De=St*(et+Ze),He=le*vt/_;return[De*m(He),Mt-De*v(He)]}return K.invert=function(le,Te){var De=le*le+(Te-=Mt)*Te,He=(1+ee-De/(St*St))/(2*ct),Ze=z(He),at=m(Ze),Tt=vt+M(at,ct-He);return[O(le/F(De))*_/Tt,O(1-2*(Ze-Y*vt-ct*at+(1+ee-2*ct*He)*Tt)/rt)]},K}function hr(){var et=1,rt=(0,d.r)(Qn),ct=rt(et);return ct.ratio=function(vt){return arguments.length?rt(et=+vt):et},ct.scale(167.774).center([0,18.67])}var cr=.7109889596207567,pr=.0528035274542;function dr(et,rt){return rt>-cr?((et=Se(et,rt))[1]+=pr,et):Be(et,rt)}function br(){return(0,d.Z)(dr).rotate([-20,-55]).scale(164.263).center([0,-5.4036])}function Ir(et,rt){return g(rt)>cr?((et=Se(et,rt))[1]-=rt>0?pr:-pr,et):Be(et,rt)}function Lr(){return(0,d.Z)(Ir).scale(152.63)}function zr(et,rt,ct,vt){var St=F(4*_/(2*ct+(1+et-rt/2)*m(2*ct)+(et+rt)/2*m(4*ct)+rt/2*m(6*ct))),Mt=F(vt*m(ct)*F((1+et*v(2*ct)+rt*v(4*ct))/(1+et+rt))),Y=ct*K(1);function ee(De){return F(1+et*v(2*De)+rt*v(4*De))}function K(De){var He=De*ct;return(2*He+(1+et-rt/2)*m(2*He)+(et+rt)/2*m(4*He)+rt/2*m(6*He))/ct}function le(De){return ee(De)*m(De)}var Te=function(De,He){var Ze=ct*me(K,Y*m(He)/ct,He/_);isNaN(Ze)&&(Ze=ct*h(He));var at=St*ee(Ze);return[at*Mt*De/_*v(Ze),at/Mt*m(Ze)]};return Te.invert=function(De,He){var Ze=me(le,He*Mt/St);return[De*_/(v(Ze)*St*Mt*ee(Ze)),O(ct*K(Ze/ct)/Y)]},ct===0&&(St=F(vt/_),(Te=function(De,He){return[De*St,m(He)/St]}).invert=function(De,He){return[De/St,O(He*St)]}),Te}function gr(){var et=1,rt=0,ct=45*I,vt=2,St=(0,d.r)(zr),Mt=St(et,rt,ct,vt);return Mt.a=function(Y){return arguments.length?St(et=+Y,rt,ct,vt):et},Mt.b=function(Y){return arguments.length?St(et,rt=+Y,ct,vt):rt},Mt.psiMax=function(Y){return arguments.length?St(et,rt,ct=+Y*I,vt):ct*R},Mt.ratio=function(Y){return arguments.length?St(et,rt,ct,vt=+Y):vt},Mt.scale(180.739)}function Fr(et,rt,ct,vt,St,Mt,Y,ee,K,le,Te){if(Te.nanEncountered)return NaN;var De,He,Ze,at,Tt,At,se,ve,Ie,Fe;if(He=et(rt+.25*(De=ct-rt)),Ze=et(ct-.25*De),isNaN(He))Te.nanEncountered=!0;else{if(!isNaN(Ze))return Fe=((At=(at=De*(vt+4*He+St)/12)+(Tt=De*(St+4*Ze+Mt)/12))-Y)/15,le>K?(Te.maxDepthCount++,At+Fe):Math.abs(Fe)Ze?Tt=At:at=At,At=at+Tt>>1;while(At>at);var se=K[At+1]-K[At];return se&&(se=(Ze-K[At+1])/se),(At+1+se)/Y}var De=2*Te(1)/_*Mt/ct,He=function(Ze,at){var Tt=Te(g(m(at))),At=vt(Tt)*Ze;return Tt/=De,[At,at>=0?Tt:-Tt]};return He.invert=function(Ze,at){var Tt;return g(at*=De)<1&&(Tt=h(at)*O(St(g(at))*Mt)),[Ze/vt(g(at)),Tt]},He}function ea(){var et=0,rt=2.5,ct=1.183136,vt=(0,d.r)(ji),St=vt(et,rt,ct);return St.alpha=function(Mt){return arguments.length?vt(et=+Mt,rt,ct):et},St.k=function(Mt){return arguments.length?vt(et,rt=+Mt,ct):rt},St.gamma=function(Mt){return arguments.length?vt(et,rt,ct=+Mt):ct},St.scale(152.63)}function sa(et,rt){return g(et[0]-rt[0])=0;--ee)ct=(rt=et[1][ee])[0][0],vt=rt[0][1],St=rt[1][1],Mt=rt[2][0],Y=rt[2][1],K.push(uo([[Mt-y,Y-y],[Mt-y,St+y],[ct+y,St+y],[ct+y,vt-y]],30));return{type:"Polygon",coordinates:[(0,En.TS)(K)]}}function Xi(et,rt,ct){var vt,St;function Mt(K,le){for(var Te=le<0?-1:1,De=rt[+(le<0)],He=0,Ze=De.length-1;HeDe[He][2][0];++He);var at=et(K-De[He][1][0],le);return at[0]+=et(De[He][1][0],Te*le>Te*De[He][0][1]?De[He][0][1]:le)[0],at}ct?Mt.invert=ct(Mt):et.invert&&(Mt.invert=function(K,le){for(var Te=St[+(le<0)],De=rt[+(le<0)],He=0,Ze=Te.length;HeTt&&(De=at,at=Tt,Tt=De),[[He,at],[Ze,Tt]]})}),Y):rt.map(function(le){return le.map(function(Te){return[[Te[0][0]*R,Te[0][1]*R],[Te[1][0]*R,Te[1][1]*R],[Te[2][0]*R,Te[2][1]*R]]})})},rt!=null&&Y.lobes(rt),Y}dr.invert=function(et,rt){return rt>-cr?Se.invert(et,rt-pr):Be.invert(et,rt)},Ir.invert=function(et,rt){return g(rt)>cr?Se.invert(et,rt+(rt>0?pr:-pr)):Be.invert(et,rt)};var Do=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function rs(){return Xi(be,Do).scale(160.857)}var el=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function Cu(){return Xi(Ir,el).scale(152.63)}var gf=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function Mh(){return Xi(Se,gf).scale(169.529)}var Eu=[[[[-180,0],[-90,90],[0,0]],[[0,0],[90,90],[180,0]]],[[[-180,0],[-90,-90],[0,0]],[[0,0],[90,-90],[180,0]]]];function is(){return Xi(Se,Eu).scale(169.529).rotate([20,0])}var Ah=[[[[-180,35],[-30,90],[0,35]],[[0,35],[30,90],[180,35]]],[[[-180,-10],[-102,-90],[-65,-10]],[[-65,-10],[5,-90],[77,-10]],[[77,-10],[103,-90],[180,-10]]]];function Ya(){return Xi(dr,Ah,pe).rotate([-20,-55]).scale(164.263).center([0,-5.4036])}var hc=[[[[-180,0],[-110,90],[-40,0]],[[-40,0],[0,90],[40,0]],[[40,0],[110,90],[180,0]]],[[[-180,0],[-110,-90],[-40,0]],[[-40,0],[0,-90],[40,0]],[[40,0],[110,-90],[180,0]]]];function Yo(){return Xi(Be,hc).scale(152.63).rotate([-20,0])}function as(et,rt){return[3/b*et*F(_*_/3-rt*rt),rt]}function Ml(){return(0,d.Z)(as).scale(158.837)}function Ui(et){function rt(ct,vt){if(g(g(vt)-k)2)return null;var Mt=(ct/=2)*ct,Y=(vt/=2)*vt,ee=2*vt/(1+Mt+Y);return ee=s((1+ee)/(1-ee),1/et),[M(2*ct,1-Mt-Y)/et,O((ee-1)/(ee+1))]},rt}function Al(){var et=.5,rt=(0,d.r)(Ui),ct=rt(et);return ct.spacing=function(vt){return arguments.length?rt(et=+vt):et},ct.scale(124.75)}as.invert=function(et,rt){return[b/3*et/F(_*_/3-rt*rt),rt]};var ps=_/A;function Es(et,rt){return[et*(1+F(v(rt)))/2,rt/(v(rt/2)*v(et/6))]}function js(){return(0,d.Z)(Es).scale(97.2672)}function fc(et,rt){var ct=et*et,vt=rt*rt;return[et*(.975534+vt*(-.0143059*ct-.119161+-.0547009*vt)),rt*(1.00384+ct*(.0802894+-.02855*vt+199025e-9*ct)+vt*(.0998909+-.0491032*vt))]}function vf(){return(0,d.Z)(fc).scale(139.98)}function tl(et,rt){return[m(et)/v(rt),w(rt)*v(et)]}function yf(){return(0,d.Z)(tl).scale(144.049).clipAngle(89.999)}function bf(et){var rt=v(et),ct=w(E+et/2);function vt(St,Mt){var Y=Mt-et,ee=g(Y)=0;)He=(De=et[Te])[0]+K*(Mt=He)-le*Ze,Ze=De[1]+K*Ze+le*Mt;return[He=K*(Mt=He)-le*Ze,Ze=K*Ze+le*Mt]}return ct.invert=function(vt,St){var Mt=20,Y=vt,ee=St;do{for(var K,le=rt,Te=et[le],De=Te[0],He=Te[1],Ze=0,at=0;--le>=0;)Ze=De+Y*(K=Ze)-ee*at,at=He+Y*at+ee*K,De=(Te=et[le])[0]+Y*(K=De)-ee*He,He=Te[1]+Y*He+ee*K;var Tt,At,se=(Ze=De+Y*(K=Ze)-ee*at)*Ze+(at=He+Y*at+ee*K)*at;Y-=Tt=((De=Y*(K=De)-ee*He-vt)*Ze+(He=Y*He+ee*K-St)*at)/se,ee-=At=(He*Ze-De*at)/se}while(g(Tt)+g(At)>1e-12&&--Mt>0);if(Mt){var ve=F(Y*Y+ee*ee),Ie=2*i(.5*ve),Fe=m(Ie);return[M(Y*Fe,ve*v(Ie)),ve?O(ee*Fe/ve):0]}},ct}Es.invert=function(et,rt){var ct=g(et),vt=g(rt),St=y,Mt=k;vty||g(At)>y)&&--St>0);return St&&[ct,vt]},tl.invert=function(et,rt){var ct=et*et,vt=rt*rt+1,St=ct+vt,Mt=et?x*F((St-F(St*St-4*ct))/ct):1/F(vt);return[O(et*Mt),h(rt)*z(Mt)]},Sh.invert=function(et,rt){return[et,2.5*i(f(.8*rt))-.625*_]};var nl=[[.9972523,0],[.0052513,-.0041175],[.0074606,.0048125],[-.0153783,-.1968253],[.0636871,-.1408027],[.3660976,-.2937382]],rl=[[.98879,0],[0,0],[-.050909,0],[0,0],[.075528,0]],Lu=[[.984299,0],[.0211642,.0037608],[-.1036018,-.0575102],[-.0329095,-.0320119],[.0499471,.1223335],[.026046,.0899805],[7388e-7,-.1435792],[.0075848,-.1334108],[-.0216473,.0776645],[-.0225161,.0853673]],il=[[.9245,0],[0,0],[.01943,0]],Eh=[[.721316,0],[0,0],[-.00881625,-.00617325]];function Lh(){return Ql(nl,[152,-64]).scale(1400).center([-160.908,62.4864]).clipAngle(30).angle(7.8)}function Jl(){return Ql(rl,[95,-38]).scale(1e3).clipAngle(55).center([-96.5563,38.8675])}function jc(){return Ql(Lu,[120,-45]).scale(359.513).clipAngle(55).center([-117.474,53.0628])}function Sl(){return Ql(il,[-20,-18]).scale(209.091).center([20,16.7214]).clipAngle(82)}function Iu(){return Ql(Eh,[165,10]).scale(250).clipAngle(130).center([-165,-10])}function Ql(et,rt){var ct=(0,d.Z)(Ch(et)).rotate(rt).clipAngle(90),vt=(0,st.Z)(rt),St=ct.center;return delete ct.rotate,ct.center=function(Mt){return arguments.length?St(vt(Mt)):vt.invert(St())},ct}var al=F(6),Hi=F(7);function Cl(et,rt){var ct=O(7*m(rt)/(3*al));return[al*et*(2*v(2*ct/3)-1)/Hi,9*m(ct/3)/Hi]}function ad(){return(0,d.Z)(Cl).scale(164.859)}function Uc(et,rt){for(var ct,vt=(1+x)*m(rt),St=rt,Mt=0;Mt<25&&(St-=ct=(m(St/2)+m(St)-vt)/(.5*v(St/2)+v(St)),!(g(ct)S&&--ee>0);return[et/(.84719-.13063*(vt=Y*Y)+(Mt=vt*(St=vt*vt))*Mt*(.05494*vt-.04515-.02326*St+.00331*Mt)),Y]},Pu.invert=function(et,rt){for(var ct=rt/2,vt=0,St=1/0;vt<10&&g(St)>y;++vt){var Mt=v(rt/2);rt-=St=(rt-w(rt/2)-ct)/(1-.5/(Mt*Mt))}return[2*et/(1+v(rt)),rt]};var tu=[[[[-180,0],[-90,90],[0,0]],[[0,0],[90,90],[180,0]]],[[[-180,0],[-90,-90],[0,0]],[[0,0],[90,-90],[180,0]]]];function nu(){return Xi(ce(1/0),tu).rotate([20,0]).scale(152.63)}function Ou(et,rt){var ct=m(rt),vt=v(rt),St=h(et);if(et===0||g(rt)===k)return[0,rt];if(rt===0)return[et,0];if(g(et)===k)return[et*vt,k*ct];var Mt=_/(2*et)-2*et/_,Y=2*rt/_,ee=(1-Y*Y)/(ct-Y),K=Mt*Mt,le=ee*ee,Te=1+K/le,De=1+le/K,He=(Mt*ct/ee-Mt/2)/Te,Ze=(le*ct/K+ee/2)/De,at=Ze*Ze-(le*ct*ct/K+ee*ct-1)/De;return[k*(He+F(He*He+vt*vt/Te)*St),k*(Ze+F(at<0?0:at)*h(-rt*Mt)*St)]}function gc(){return(0,d.Z)(Ou).scale(127.267)}Ou.invert=function(et,rt){var ct=(et/=k)*et,vt=ct+(rt/=k)*rt,St=_*_;return[et?(vt-1+F((1-vt)*(1-vt)+4*ct))/(2*et)*k:0,me(function(Mt){return vt*(_*m(Mt)-2*Mt)*_+4*Mt*Mt*(rt-m(Mt))+2*_*Mt-St*rt},0)]};var vc=1.0148,gs=.23185,yc=-.14499,bc=.02406,Rh=1.790857183;function El(et,rt){var ct=rt*rt;return[et,rt*(vc+ct*ct*(gs+ct*(yc+bc*ct)))]}function Hc(){return(0,d.Z)(El).scale(139.319)}function xc(et,rt){if(g(rt)Rh?rt=Rh:rt<-1.790857183&&(rt=-1.790857183);var ct,vt=rt;do{var St=vt*vt;vt-=ct=(vt*(vc+St*St*(gs+St*(yc+bc*St)))-rt)/(1.0148+St*St*(1.1592500000000001+St*(.21654*St-1.01493)))}while(g(ct)>y);return[et,vt]},xc.invert=function(et,rt){if(g(rt)y&&--Mt>0);return Y=w(St),[(g(rt)=0;)if(tt=We[Ut],Xe[0]===tt[0]&&Xe[1]===tt[1]){if(mt)return[mt,Xe];mt=Xe}}}(K.face,le.face),De=(Tt=Te.map(le.project),At=Te.map(K.project),se=iu(Tt[1],Tt[0]),ve=iu(At[1],At[0]),Ie=function(Ue,We){return M(Ue[0]*We[1]-Ue[1]*We[0],Ue[0]*We[0]+Ue[1]*We[1])}(se,ve),Fe=Ki(se)/Ki(ve),ru([1,0,Tt[0][0],0,1,Tt[0][1]],ru([Fe,0,0,0,Fe,0],ru([v(Ie),m(Ie),0,-m(Ie),v(Ie),0],[1,0,-At[0][0],0,1,-At[0][1]]))));K.transform=le.transform?ru(le.transform,De):De;for(var He=le.edges,Ze=0,at=He.length;Ze0?[-vt[0],0]:[180-vt[0],180])};var rt=Us.map(function(ct){return{face:ct,project:et(ct)}});return[-1,0,0,1,0,1,4,5].forEach(function(ct,vt){var St=rt[ct];St&&(St.children||(St.children=[])).push(rt[vt])}),Ll(rt[0],function(ct,vt){return rt[ct<-_/2?vt<0?6:4:ct<0?vt<0?2:0:ct<_/2?vt<0?3:1:vt<0?7:5]}).angle(-30).scale(121.906).center([0,48.5904])}function ou(et){et=et||function(Mt){var Y=Mt.length===6?(0,Ye.Z)({type:"MultiPoint",coordinates:Mt}):Mt[0];return(0,Bi.Z)().scale(1).translate([0,0]).rotate([-Y[0],-Y[1]])};var rt=Us.map(function(Mt){for(var Y,ee=Mt.map(da),K=ee.length,le=ee[K-1],Te=[],De=0;DeK^ve>K&&ee<(se-at)*(K-Tt)/(ve-Tt)+at&&(le=!le)}return le}(St[0],vt))return St.push(ct),!0})||et.push([ct])}),zo=[],et.length?et.length>1?{type:"MultiPolygon",coordinates:et}:{type:"Polygon",coordinates:et[0]}:null}};function $o(et){var rt=et(k,0)[0]-et(-k,0)[0];function ct(vt,St){var Mt=g(vt)0?vt-_:vt+_,St),ee=(Y[0]-Y[1])*x,K=(Y[0]+Y[1])*x;if(Mt)return[ee,K];var le=rt*x,Te=ee>0^K>0?-1:1;return[Te*ee-h(K)*le,Te*K-h(ee)*le]}return et.invert&&(ct.invert=function(vt,St){var Mt=(vt+St)*x,Y=(St-vt)*x,ee=g(Mt)<.5*rt&&g(Y)<.5*rt;if(!ee){var K=rt*x,le=Mt>0^Y>0?-1:1,Te=-le*vt+(Y>0?1:-1)*K,De=-le*St+(Mt>0?1:-1)*K;Mt=(-Te-De)*x,Y=(Te-De)*x}var He=et.invert(Mt,Y);return ee||(He[0]+=Mt>0?_:-_),He}),(0,d.Z)(ct).rotate([-90,-90,45]).clipAngle(179.999)}function qc(){return $o($n).scale(176.423)}function Wc(){return $o(Pn).scale(111.48)}function Lo(et,rt){if(!(0<=(rt=+rt)&&rt<=20))throw new Error("invalid digits");function ct(le){var Te=le.length,De=2,He=new Array(Te);for(He[0]=+le[0].toFixed(rt),He[1]=+le[1].toFixed(rt);De2||Ze[0]!=Te[0]||Ze[1]!=Te[1])&&(De.push(Ze),Te=Ze)}return De.length===1&&le.length>1&&De.push(ct(le[le.length-1])),De}function Mt(le){return le.map(St)}function Y(le){if(le==null)return le;var Te;switch(le.type){case"GeometryCollection":Te={type:"GeometryCollection",geometries:le.geometries.map(Y)};break;case"Point":Te={type:"Point",coordinates:ct(le.coordinates)};break;case"MultiPoint":Te={type:le.type,coordinates:vt(le.coordinates)};break;case"LineString":Te={type:le.type,coordinates:St(le.coordinates)};break;case"MultiLineString":case"Polygon":Te={type:le.type,coordinates:Mt(le.coordinates)};break;case"MultiPolygon":Te={type:"MultiPolygon",coordinates:le.coordinates.map(Mt)};break;default:return le}return le.bbox!=null&&(Te.bbox=le.bbox),Te}function ee(le){var Te={type:"Feature",properties:le.properties,geometry:Y(le.geometry)};return le.id!=null&&(Te.id=le.id),le.bbox!=null&&(Te.bbox=le.bbox),Te}if(et!=null)switch(et.type){case"Feature":return ee(et);case"FeatureCollection":var K={type:"FeatureCollection",features:et.features.map(ee)};return et.bbox!=null&&(K.bbox=et.bbox),K;default:return Y(et)}return et}function Dr(et){var rt=m(et);function ct(vt,St){var Mt=rt?w(vt*rt/2)/rt:vt/2;if(!St)return[2*Mt,-et];var Y=2*i(Mt*m(St)),ee=1/w(St);return[m(Y)*ee,St+(1-v(Y))*ee-et]}return ct.invert=function(vt,St){if(g(St+=et)y&&--K>0);var He=vt*(le=w(ee)),Ze=w(g(St)0?k:-k)*(le+Mt*(De-ee)/2+Mt*Mt*(De-2*le+ee)/2)]}function zu(){return(0,d.Z)(Yc).scale(152.63)}function Fu(et,rt){var ct=function(Y){function ee(K,le){var Te=v(le),De=(Y-1)/(Y-Te*v(K));return[De*Te*m(K),De*m(le)]}return ee.invert=function(K,le){var Te=K*K+le*le,De=F(Te),He=(Y-F(1-Te*(Y+1)/(Y-1)))/((Y-1)/De+De/(Y-1));return[M(K*He,De*F(1-He*He)),De?O(le*He/De):0]},ee}(et);if(!rt)return ct;var vt=v(rt),St=m(rt);function Mt(Y,ee){var K=ct(Y,ee),le=K[1],Te=le*St/(et-1)+vt;return[K[0]*vt/Te,le/Te]}return Mt.invert=function(Y,ee){var K=(et-1)/(et-1-ee*St);return ct.invert(K*Y,K*ee*vt)},Mt}function Bu(){var et=2,rt=0,ct=(0,d.r)(Fu),vt=ct(et,rt);return vt.distance=function(St){return arguments.length?ct(et=+St,rt):et},vt.tilt=function(St){return arguments.length?ct(et,rt=St*I):rt*R},vt.scale(432.147).clipAngle(z(1/et)*R-1e-6)}Fo.forEach(function(et){et[1]*=1.0144}),Yc.invert=function(et,rt){var ct=rt/k,vt=90*ct,St=o(18,g(vt/5)),Mt=u(0,l(St));do{var Y=Fo[Mt][1],ee=Fo[Mt+1][1],K=Fo[o(19,Mt+2)][1],le=K-Y,Te=K-2*ee+Y,De=2*(g(ct)-ee)/le,He=Te/le,Ze=De*(1-He*De*(1-2*He*De));if(Ze>=0||Mt===1){vt=(rt>=0?5:-5)*(Ze+St);var at,Tt=50;do Ze=(St=o(18,g(vt)/5))-(Mt=l(St)),Y=Fo[Mt][1],ee=Fo[Mt+1][1],K=Fo[o(19,Mt+2)][1],vt-=(at=(rt>=0?k:-k)*(ee+Ze*(K-Y)/2+Ze*Ze*(K-2*ee+Y)/2)-rt)*R;while(g(at)>S&&--Tt>0);break}}while(--Mt>=0);var At=Fo[Mt][0],se=Fo[Mt+1][0],ve=Fo[o(19,Mt+2)][0];return[et/(se+Ze*(ve-At)/2+Ze*Ze*(ve-2*se+At)/2),vt*I]};var Br=-179.9999,Nu=179.9999,ys=-89.9999,$c=89.9999;function wc(et){return et.length>0}function vo(et){return et===-90||et===90?[0,et]:[-180,(rt=et,Math.floor(1e4*rt)/1e4)];var rt}function cu(et){var rt=et[0],ct=et[1],vt=!1;return rt<=Br?(rt=-180,vt=!0):rt>=Nu&&(rt=180,vt=!0),ct<=ys?(ct=-90,vt=!0):ct>=$c&&(ct=90,vt=!0),vt?[rt,ct]:et}function ll(et){return et.map(cu)}function Zo(et,rt,ct){for(var vt=0,St=et.length;vt=Nu||Te<=ys||Te>=$c){Mt[Y]=cu(K);for(var De=Y+1;DeBr&&Zeys&&at<$c)break}if(De===Y+1)continue;if(Y){var Tt={index:-1,polygon:rt,ring:Mt.slice(0,Y+1)};Tt.ring[Tt.ring.length-1]=vo(Te),ct[ct.length-1]=Tt}else ct.pop();if(De>=ee)break;ct.push({index:-1,polygon:rt,ring:Mt=Mt.slice(De-1)}),Mt[0]=vo(Mt[0][1]),Y=-1,ee=Mt.length}}}}function Pl(et){var rt,ct,vt,St,Mt,Y,ee=et.length,K={},le={};for(rt=0;rt0?_-ee:ee)*R],le=(0,d.Z)(et(Y)).rotate(K),Te=(0,st.Z)(K),De=le.center;return delete le.rotate,le.center=function(He){return arguments.length?De(Te(He)):Te.invert(De())},le.clipAngle(90)}function Tc(et){var rt=v(et);function ct(vt,St){var Mt=(0,Bi.M)(vt,St);return Mt[0]*=rt,Mt}return ct.invert=function(vt,St){return Bi.M.invert(vt/rt,St)},ct}function os(){return _s([-158,21.5],[-77,39]).clipAngle(60).scale(400)}function _s(et,rt){return Yi(Tc,et,rt)}function Gs(et){if(!(et*=2))return re.N;var rt=-et/2,ct=-rt,vt=et*et,St=w(ct),Mt=.5/m(ct);function Y(ee,K){var le=z(v(K)*v(ee-rt)),Te=z(v(K)*v(ee-ct));return[((le*=le)-(Te*=Te))/(2*et),(K<0?-1:1)*F(4*vt*Te-(vt-le+Te)*(vt-le+Te))/(2*et)]}return Y.invert=function(ee,K){var le,Te,De=K*K,He=v(F(De+(le=ee+rt)*le)),Ze=v(F(De+(le=ee+ct)*le));return[M(Te=He-Ze,le=(He+Ze)*St),(K<0?-1:1)*z(F(le*le+Te*Te)*Mt)]},Y}function Bo(){return Wi([-158,21.5],[-77,39]).clipAngle(130).scale(122.571)}function Wi(et,rt){return Yi(Gs,et,rt)}function no(et,rt){if(g(rt)y&&--ee>0);return[h(et)*(F(St*St+4)+St)*_/4,k*Y]};var cl=4*_+3*F(3),Rs=2*F(2*_*F(3)/cl),xo=Me(Rs*F(3)/_,Rs,cl/6);function Zc(){return(0,d.Z)(xo).scale(176.84)}function Vo(et,rt){return[et*F(1-3*rt*rt/(_*_)),rt]}function ju(){return(0,d.Z)(Vo).scale(152.63)}function hl(et,rt){var ct=v(rt),vt=v(et)*ct,St=1-vt,Mt=v(et=M(m(et)*ct,-m(rt))),Y=m(et);return[Y*(ct=F(1-vt*vt))-Mt*St,-Mt*ct-Y*St]}function Ji(){return(0,d.Z)(hl).rotate([0,-90,45]).scale(124.75).clipAngle(179.999)}function la(et,rt){var ct=$(et,rt);return[(ct[0]+et/k)/2,(ct[1]+rt)/2]}function Xc(){return(0,d.Z)(la).scale(158.837)}Vo.invert=function(et,rt){return[et/F(1-3*rt*rt/(_*_)),rt]},hl.invert=function(et,rt){var ct=(et*et+rt*rt)/-2,vt=F(-ct*(2+ct)),St=rt*ct+et*vt,Mt=et*ct-rt*vt,Y=F(Mt*Mt+St*St);return[M(vt*St,Y*(1+ct)),Y?-O(vt*Mt/Y):0]},la.invert=function(et,rt){var ct=et,vt=rt,St=25;do{var Mt,Y=v(vt),ee=m(vt),K=m(2*vt),le=ee*ee,Te=Y*Y,De=m(ct),He=v(ct/2),Ze=m(ct/2),at=Ze*Ze,Tt=1-Te*He*He,At=Tt?z(Y*He)*F(Mt=1/Tt):Mt=0,se=.5*(2*At*Y*Ze+ct/k)-et,ve=.5*(At*ee+vt)-rt,Ie=.5*Mt*(Te*at+At*Y*He*le)+.5/k,Fe=Mt*(De*K/4-At*ee*Ze),Ue=.125*Mt*(K*Ze-At*ee*Te*De),We=.5*Mt*(le*He+At*at*Y)+.5,Xe=Fe*Ue-We*Ie,tt=(ve*Fe-se*We)/Xe,lt=(se*Ue-ve*Ie)/Xe;ct-=tt,vt-=lt}while((g(tt)>y||g(lt)>y)&&--St>0);return[ct,vt]}},33940:function(T,p,t){function d(){return new g}function g(){this.reset()}t.d(p,{Z:function(){return d}}),g.prototype={constructor:g,reset:function(){this.s=this.t=0},add:function(v){M(i,v,this.t),M(this,i.s,this.s),this.s?this.t+=i.t:this.s=i.t},valueOf:function(){return this.s}};var i=new g;function M(v,f,l){var a=v.s=f+l,u=a-f,o=a-u;v.t=f-o+(l-u)}},97860:function(T,p,t){t.d(p,{L9:function(){return o},ZP:function(){return S},gL:function(){return c}});var d,g,i,M,v,f=t(33940),l=t(39695),a=t(73182),u=t(72736),o=(0,f.Z)(),s=(0,f.Z)(),c={point:a.Z,lineStart:a.Z,lineEnd:a.Z,polygonStart:function(){o.reset(),c.lineStart=h,c.lineEnd=m},polygonEnd:function(){var _=+o;s.add(_<0?l.BZ+_:_),this.lineStart=this.lineEnd=this.point=a.Z},sphere:function(){s.add(l.BZ)}};function h(){c.point=w}function m(){y(d,g)}function w(_,k){c.point=y,d=_,g=k,_*=l.uR,k*=l.uR,i=_,M=(0,l.mC)(k=k/2+l.pu),v=(0,l.O$)(k)}function y(_,k){_*=l.uR,k=(k*=l.uR)/2+l.pu;var E=_-i,x=E>=0?1:-1,A=x*E,L=(0,l.mC)(k),b=(0,l.O$)(k),R=v*b,I=M*L+R*(0,l.mC)(A),O=R*x*(0,l.O$)(A);o.add((0,l.fv)(O,I)),i=_,M=L,v=b}function S(_){return s.reset(),(0,u.Z)(_,c),2*s}},77338:function(T,p,t){t.d(p,{Z:function(){return z}});var d,g,i,M,v,f,l,a,u,o,s=t(33940),c=t(97860),h=t(7620),m=t(39695),w=t(72736),y=(0,s.Z)(),S={point:_,lineStart:E,lineEnd:x,polygonStart:function(){S.point=A,S.lineStart=L,S.lineEnd=b,y.reset(),c.gL.polygonStart()},polygonEnd:function(){c.gL.polygonEnd(),S.point=_,S.lineStart=E,S.lineEnd=x,c.L9<0?(d=-(i=180),g=-(M=90)):y>m.Ho?M=90:y<-m.Ho&&(g=-90),o[0]=d,o[1]=i},sphere:function(){d=-(i=180),g=-(M=90)}};function _(F,B){u.push(o=[d=F,i=F]),BM&&(M=B)}function k(F,B){var N=(0,h.Og)([F*m.uR,B*m.uR]);if(a){var W=(0,h.T5)(a,N),j=[W[1],-W[0],0],$=(0,h.T5)(j,W);(0,h.iJ)($),$=(0,h.Y1)($);var U,G=F-v,q=G>0?1:-1,H=$[0]*m.RW*q,ne=(0,m.Wn)(G)>180;ne^(q*vM&&(M=U):ne^(q*v<(H=(H+360)%360-180)&&HM&&(M=B)),ne?FR(d,i)&&(i=F):R(F,i)>R(d,i)&&(d=F):i>=d?(Fi&&(i=F)):F>v?R(d,F)>R(d,i)&&(i=F):R(F,i)>R(d,i)&&(d=F)}else u.push(o=[d=F,i=F]);BM&&(M=B),a=N,v=F}function E(){S.point=k}function x(){o[0]=d,o[1]=i,S.point=_,a=null}function A(F,B){if(a){var N=F-v;y.add((0,m.Wn)(N)>180?N+(N>0?360:-360):N)}else f=F,l=B;c.gL.point(F,B),k(F,B)}function L(){c.gL.lineStart()}function b(){A(f,l),c.gL.lineEnd(),(0,m.Wn)(y)>m.Ho&&(d=-(i=180)),o[0]=d,o[1]=i,a=null}function R(F,B){return(B-=F)<0?B+360:B}function I(F,B){return F[0]-B[0]}function O(F,B){return F[0]<=F[1]?F[0]<=B&&B<=F[1]:BR(W[0],W[1])&&(W[1]=j[1]),R(j[0],W[1])>R(W[0],W[1])&&(W[0]=j[0])):$.push(W=j);for(U=-1/0,B=0,W=$[N=$.length-1];B<=N;W=j,++B)j=$[B],(G=R(W[1],j[0]))>U&&(U=G,d=j[0],i=W[1])}return u=o=null,d===1/0||g===1/0?[[NaN,NaN],[NaN,NaN]]:[[d,g],[i,M]]}},7620:function(T,p,t){t.d(p,{Og:function(){return i},T:function(){return l},T5:function(){return v},Y1:function(){return g},iJ:function(){return a},j9:function(){return M},s0:function(){return f}});var d=t(39695);function g(u){return[(0,d.fv)(u[1],u[0]),(0,d.ZR)(u[2])]}function i(u){var o=u[0],s=u[1],c=(0,d.mC)(s);return[c*(0,d.mC)(o),c*(0,d.O$)(o),(0,d.O$)(s)]}function M(u,o){return u[0]*o[0]+u[1]*o[1]+u[2]*o[2]}function v(u,o){return[u[1]*o[2]-u[2]*o[1],u[2]*o[0]-u[0]*o[2],u[0]*o[1]-u[1]*o[0]]}function f(u,o){u[0]+=o[0],u[1]+=o[1],u[2]+=o[2]}function l(u,o){return[u[0]*o,u[1]*o,u[2]*o]}function a(u){var o=(0,d._b)(u[0]*u[0]+u[1]*u[1]+u[2]*u[2]);u[0]/=o,u[1]/=o,u[2]/=o}},66624:function(T,p,t){t.d(p,{Z:function(){return N}});var d,g,i,M,v,f,l,a,u,o,s,c,h,m,w,y,S=t(39695),_=t(73182),k=t(72736),E={sphere:_.Z,point:x,lineStart:L,lineEnd:I,polygonStart:function(){E.lineStart=O,E.lineEnd=z},polygonEnd:function(){E.lineStart=L,E.lineEnd=I}};function x(W,j){W*=S.uR,j*=S.uR;var $=(0,S.mC)(j);A($*(0,S.mC)(W),$*(0,S.O$)(W),(0,S.O$)(j))}function A(W,j,$){++d,i+=(W-i)/d,M+=(j-M)/d,v+=($-v)/d}function L(){E.point=b}function b(W,j){W*=S.uR,j*=S.uR;var $=(0,S.mC)(j);m=$*(0,S.mC)(W),w=$*(0,S.O$)(W),y=(0,S.O$)(j),E.point=R,A(m,w,y)}function R(W,j){W*=S.uR,j*=S.uR;var $=(0,S.mC)(j),U=$*(0,S.mC)(W),G=$*(0,S.O$)(W),q=(0,S.O$)(j),H=(0,S.fv)((0,S._b)((H=w*q-y*G)*H+(H=y*U-m*q)*H+(H=m*G-w*U)*H),m*U+w*G+y*q);g+=H,f+=H*(m+(m=U)),l+=H*(w+(w=G)),a+=H*(y+(y=q)),A(m,w,y)}function I(){E.point=x}function O(){E.point=F}function z(){B(c,h),E.point=x}function F(W,j){c=W,h=j,W*=S.uR,j*=S.uR,E.point=B;var $=(0,S.mC)(j);m=$*(0,S.mC)(W),w=$*(0,S.O$)(W),y=(0,S.O$)(j),A(m,w,y)}function B(W,j){W*=S.uR,j*=S.uR;var $=(0,S.mC)(j),U=$*(0,S.mC)(W),G=$*(0,S.O$)(W),q=(0,S.O$)(j),H=w*q-y*G,ne=y*U-m*q,te=m*G-w*U,Z=(0,S._b)(H*H+ne*ne+te*te),X=(0,S.ZR)(Z),Q=Z&&-X/Z;u+=Q*H,o+=Q*ne,s+=Q*te,g+=X,f+=X*(m+(m=U)),l+=X*(w+(w=G)),a+=X*(y+(y=q)),A(m,w,y)}function N(W){d=g=i=M=v=f=l=a=u=o=s=0,(0,k.Z)(W,E);var j=u,$=o,U=s,G=j*j+$*$+U*U;return G0?ch)&&(c+=s*i.BZ));for(var S,_=c;s>0?_>h:_0?g.pi:-g.pi,s=(0,g.Wn)(a-v);(0,g.Wn)(s-g.pi)0?g.ou:-g.ou),i.point(l,f),i.lineEnd(),i.lineStart(),i.point(o,f),i.point(a,f),M=0):l!==o&&s>=g.pi&&((0,g.Wn)(v-l)g.Ho?(0,g.z4)(((0,g.O$)(h)*(S=(0,g.mC)(w))*(0,g.O$)(m)-(0,g.O$)(w)*(y=(0,g.mC)(h))*(0,g.O$)(c))/(y*S*_)):(h+w)/2}(v,f,a,u),i.point(l,f),i.lineEnd(),i.lineStart(),i.point(o,f),M=0),i.point(v=a,f=u),l=o},lineEnd:function(){i.lineEnd(),v=f=NaN},clean:function(){return 2-M}}},function(i,M,v,f){var l;if(i==null)l=v*g.ou,f.point(-g.pi,l),f.point(0,l),f.point(g.pi,l),f.point(g.pi,0),f.point(g.pi,-l),f.point(0,-l),f.point(-g.pi,-l),f.point(-g.pi,0),f.point(-g.pi,l);else if((0,g.Wn)(i[0]-M[0])>g.Ho){var a=i[0]1&&M.push(M.pop().concat(M.shift()))},result:function(){var v=M;return M=[],i=null,v}}}},1457:function(T,p,t){t.d(p,{Z:function(){return f}});var d=t(7620),g=t(7613),i=t(39695),M=t(67108),v=t(97023);function f(l){var a=(0,i.mC)(l),u=6*i.uR,o=a>0,s=(0,i.Wn)(a)>i.Ho;function c(w,y){return(0,i.mC)(w)*(0,i.mC)(y)>a}function h(w,y,S){var _=(0,d.Og)(w),k=(0,d.Og)(y),E=[1,0,0],x=(0,d.T5)(_,k),A=(0,d.j9)(x,x),L=x[0],b=A-L*L;if(!b)return!S&&w;var R=a*A/b,I=-a*L/b,O=(0,d.T5)(E,x),z=(0,d.T)(E,R),F=(0,d.T)(x,I);(0,d.s0)(z,F);var B=O,N=(0,d.j9)(z,B),W=(0,d.j9)(B,B),j=N*N-W*((0,d.j9)(z,z)-1);if(!(j<0)){var $=(0,i._b)(j),U=(0,d.T)(B,(-N-$)/W);if((0,d.s0)(U,z),U=(0,d.Y1)(U),!S)return U;var G,q=w[0],H=y[0],ne=w[1],te=y[1];H0^U[1]<((0,i.Wn)(U[0]-q)i.pi^(q<=U[0]&&U[0]<=H)){var Q=(0,d.T)(B,(-N+$)/W);return(0,d.s0)(Q,z),[U,(0,d.Y1)(Q)]}}}function m(w,y){var S=o?l:i.pi-l,_=0;return w<-S?_|=1:w>S&&(_|=2),y<-S?_|=4:y>S&&(_|=8),_}return(0,v.Z)(c,function(w){var y,S,_,k,E;return{lineStart:function(){k=_=!1,E=1},point:function(x,A){var L,b=[x,A],R=c(x,A),I=o?R?0:m(x,A):R?m(x+(x<0?i.pi:-i.pi),A):0;if(!y&&(k=_=R)&&w.lineStart(),R!==_&&(!(L=h(y,b))||(0,M.Z)(y,L)||(0,M.Z)(b,L))&&(b[2]=1),R!==_)E=0,R?(w.lineStart(),L=h(b,y),w.point(L[0],L[1])):(L=h(y,b),w.point(L[0],L[1],2),w.lineEnd()),y=L;else if(s&&y&&o^R){var O;I&S||!(O=h(b,y,!0))||(E=0,o?(w.lineStart(),w.point(O[0][0],O[0][1]),w.point(O[1][0],O[1][1]),w.lineEnd()):(w.point(O[1][0],O[1][1]),w.lineEnd(),w.lineStart(),w.point(O[0][0],O[0][1],3)))}!R||y&&(0,M.Z)(y,b)||w.point(b[0],b[1]),y=b,_=R,S=I},lineEnd:function(){_&&w.lineEnd(),y=null},clean:function(){return E|(k&&_)<<1}}},function(w,y,S,_){(0,g.m)(_,l,u,S,w,y)},o?[0,-l]:[-i.pi,l-i.pi])}},97023:function(T,p,t){t.d(p,{Z:function(){return f}});var d=t(85272),g=t(46225),i=t(39695),M=t(23071),v=t(33064);function f(u,o,s,c){return function(h){var m,w,y,S=o(h),_=(0,d.Z)(),k=o(_),E=!1,x={point:A,lineStart:b,lineEnd:R,polygonStart:function(){x.point=I,x.lineStart=O,x.lineEnd=z,w=[],m=[]},polygonEnd:function(){x.point=A,x.lineStart=b,x.lineEnd=R,w=(0,v.TS)(w);var F=(0,M.Z)(m,c);w.length?(E||(h.polygonStart(),E=!0),(0,g.Z)(w,a,F,s,h)):F&&(E||(h.polygonStart(),E=!0),h.lineStart(),s(null,null,1,h),h.lineEnd()),E&&(h.polygonEnd(),E=!1),w=m=null},sphere:function(){h.polygonStart(),h.lineStart(),s(null,null,1,h),h.lineEnd(),h.polygonEnd()}};function A(F,B){u(F,B)&&h.point(F,B)}function L(F,B){S.point(F,B)}function b(){x.point=L,S.lineStart()}function R(){x.point=A,S.lineEnd()}function I(F,B){y.push([F,B]),k.point(F,B)}function O(){k.lineStart(),y=[]}function z(){I(y[0][0],y[0][1]),k.lineEnd();var F,B,N,W,j=k.clean(),$=_.result(),U=$.length;if(y.pop(),m.push(y),y=null,U)if(1&j){if((B=(N=$[0]).length-1)>0){for(E||(h.polygonStart(),E=!0),h.lineStart(),F=0;F1&&2&j&&$.push($.pop().concat($.shift())),w.push($.filter(l))}return x}}function l(u){return u.length>1}function a(u,o){return((u=u.x)[0]<0?u[1]-i.ou-i.Ho:i.ou-u[1])-((o=o.x)[0]<0?o[1]-i.ou-i.Ho:i.ou-o[1])}},87605:function(T,p,t){t.d(p,{Z:function(){return l}});var d=t(39695),g=t(85272),i=t(46225),M=t(33064),v=1e9,f=-v;function l(a,u,o,s){function c(S,_){return a<=S&&S<=o&&u<=_&&_<=s}function h(S,_,k,E){var x=0,A=0;if(S==null||(x=m(S,k))!==(A=m(_,k))||y(S,_)<0^k>0)do E.point(x===0||x===3?a:o,x>1?s:u);while((x=(x+k+4)%4)!==A);else E.point(_[0],_[1])}function m(S,_){return(0,d.Wn)(S[0]-a)0?0:3:(0,d.Wn)(S[0]-o)0?2:1:(0,d.Wn)(S[1]-u)0?1:0:_>0?3:2}function w(S,_){return y(S.x,_.x)}function y(S,_){var k=m(S,1),E=m(_,1);return k!==E?k-E:k===0?_[1]-S[1]:k===1?S[0]-_[0]:k===2?S[1]-_[1]:_[0]-S[0]}return function(S){var _,k,E,x,A,L,b,R,I,O,z,F=S,B=(0,g.Z)(),N={point:W,lineStart:function(){N.point=j,k&&k.push(E=[]),O=!0,I=!1,b=R=NaN},lineEnd:function(){_&&(j(x,A),L&&I&&B.rejoin(),_.push(B.result())),N.point=W,I&&F.lineEnd()},polygonStart:function(){F=B,_=[],k=[],z=!0},polygonEnd:function(){var $=function(){for(var q=0,H=0,ne=k.length;Hs&&(oe-te)*(s-Z)>(ue-Z)*(a-te)&&++q:ue<=s&&(oe-te)*(s-Z)<(ue-Z)*(a-te)&&--q;return q}(),U=z&&$,G=(_=(0,M.TS)(_)).length;(U||G)&&(S.polygonStart(),U&&(S.lineStart(),h(null,null,1,S),S.lineEnd()),G&&(0,i.Z)(_,w,$,h,S),S.polygonEnd()),F=S,_=k=E=null}};function W($,U){c($,U)&&F.point($,U)}function j($,U){var G=c($,U);if(k&&E.push([$,U]),O)x=$,A=U,L=G,O=!1,G&&(F.lineStart(),F.point($,U));else if(G&&I)F.point($,U);else{var q=[b=Math.max(f,Math.min(v,b)),R=Math.max(f,Math.min(v,R))],H=[$=Math.max(f,Math.min(v,$)),U=Math.max(f,Math.min(v,U))];(function(ne,te,Z,X,Q,re){var ie,oe=ne[0],ue=ne[1],ce=0,ye=1,de=te[0]-oe,me=te[1]-ue;if(ie=Z-oe,de||!(ie>0)){if(ie/=de,de<0){if(ie0){if(ie>ye)return;ie>ce&&(ce=ie)}if(ie=Q-oe,de||!(ie<0)){if(ie/=de,de<0){if(ie>ye)return;ie>ce&&(ce=ie)}else if(de>0){if(ie0)){if(ie/=me,me<0){if(ie0){if(ie>ye)return;ie>ce&&(ce=ie)}if(ie=re-ue,me||!(ie<0)){if(ie/=me,me<0){if(ie>ye)return;ie>ce&&(ce=ie)}else if(me>0){if(ie0&&(ne[0]=oe+ce*de,ne[1]=ue+ce*me),ye<1&&(te[0]=oe+ye*de,te[1]=ue+ye*me),!0}}}}})(q,H,a,u,o,s)?(I||(F.lineStart(),F.point(q[0],q[1])),F.point(H[0],H[1]),G||F.lineEnd(),z=!1):G&&(F.lineStart(),F.point($,U),z=!1)}b=$,R=U,I=G}return N}}},46225:function(T,p,t){t.d(p,{Z:function(){return M}});var d=t(67108),g=t(39695);function i(f,l,a,u){this.x=f,this.z=l,this.o=a,this.e=u,this.v=!1,this.n=this.p=null}function M(f,l,a,u,o){var s,c,h=[],m=[];if(f.forEach(function(E){if(!((x=E.length-1)<=0)){var x,A,L=E[0],b=E[x];if((0,d.Z)(L,b)){if(!L[2]&&!b[2]){for(o.lineStart(),s=0;s=0;--s)o.point((y=w[s])[0],y[1]);else u(_.x,_.p.x,-1,o);_=_.p}w=(_=_.o).z,k=!k}while(!_.v);o.lineEnd()}}}function v(f){if(l=f.length){for(var l,a,u=0,o=f[0];++u0&&(Un=R(Kt[Kn],Kt[Kn-1]))>0&&Rn<=Un&&Ln<=Un&&(Rn+Ln-Un)*(1-Math.pow((Rn-Ln)/Un,2))m.Ho}).map(mr)).concat((0,U.w6)((0,m.mD)(Kn/hn)*hn,Un,hn).filter(function(gn){return(0,m.Wn)(gn%On)>m.Ho}).map(nn))}return mn.lines=function(){return wn().map(function(gn){return{type:"LineString",coordinates:gn}})},mn.outline=function(){return{type:"Polygon",coordinates:[Pn(Ln).concat(jt($n).slice(1),Pn(Rn).reverse().slice(1),jt(tr).reverse().slice(1))]}},mn.extent=function(gn){return arguments.length?mn.extentMajor(gn).extentMinor(gn):mn.extentMinor()},mn.extentMajor=function(gn){return arguments.length?(Ln=+gn[0][0],Rn=+gn[1][0],tr=+gn[0][1],$n=+gn[1][1],Ln>Rn&&(gn=Ln,Ln=Rn,Rn=gn),tr>$n&&(gn=tr,tr=$n,$n=gn),mn.precision(En)):[[Ln,tr],[Rn,$n]]},mn.extentMinor=function(gn){return arguments.length?(bn=+gn[0][0],Kt=+gn[1][0],Kn=+gn[0][1],Un=+gn[1][1],bn>Kt&&(gn=bn,bn=Kt,Kt=gn),Kn>Un&&(gn=Kn,Kn=Un,Un=gn),mn.precision(En)):[[bn,Kn],[Kt,Un]]},mn.step=function(gn){return arguments.length?mn.stepMajor(gn).stepMinor(gn):mn.stepMinor()},mn.stepMajor=function(gn){return arguments.length?(zn=+gn[0],On=+gn[1],mn):[zn,On]},mn.stepMinor=function(gn){return arguments.length?(Jt=+gn[0],hn=+gn[1],mn):[Jt,hn]},mn.precision=function(gn){return arguments.length?(En=+gn,mr=G(Kn,Un,90),nn=q(bn,Kt,En),Pn=G(tr,$n,90),jt=q(Ln,Rn,En),mn):En},mn.extentMajor([[-180,-90+m.Ho],[180,90-m.Ho]]).extentMinor([[-180,-80-m.Ho],[180,80+m.Ho]])}function ne(){return H()()}var te,Z,X,Q,re=t(83074),ie=t(8593),oe=(0,h.Z)(),ue=(0,h.Z)(),ce={point:w.Z,lineStart:w.Z,lineEnd:w.Z,polygonStart:function(){ce.lineStart=ye,ce.lineEnd=pe},polygonEnd:function(){ce.lineStart=ce.lineEnd=ce.point=w.Z,oe.add((0,m.Wn)(ue)),ue.reset()},result:function(){var Kt=oe/2;return oe.reset(),Kt}};function ye(){ce.point=de}function de(Kt,bn){ce.point=me,te=X=Kt,Z=Q=bn}function me(Kt,bn){ue.add(Q*Kt-X*bn),X=Kt,Q=bn}function pe(){me(te,Z)}var xe,Pe,_e,Me,Se=ce,Ce=t(3559),ae=0,fe=0,be=0,ke=0,Le=0,Be=0,ze=0,je=0,ge=0,we={point:Ee,lineStart:Ve,lineEnd:st,polygonStart:function(){we.lineStart=ot,we.lineEnd=ht},polygonEnd:function(){we.point=Ee,we.lineStart=Ve,we.lineEnd=st},result:function(){var Kt=ge?[ze/ge,je/ge]:Be?[ke/Be,Le/Be]:be?[ae/be,fe/be]:[NaN,NaN];return ae=fe=be=ke=Le=Be=ze=je=ge=0,Kt}};function Ee(Kt,bn){ae+=Kt,fe+=bn,++be}function Ve(){we.point=$e}function $e(Kt,bn){we.point=Ye,Ee(_e=Kt,Me=bn)}function Ye(Kt,bn){var Rn=Kt-_e,Ln=bn-Me,Un=(0,m._b)(Rn*Rn+Ln*Ln);ke+=Un*(_e+Kt)/2,Le+=Un*(Me+bn)/2,Be+=Un,Ee(_e=Kt,Me=bn)}function st(){we.point=Ee}function ot(){we.point=bt}function ht(){Et(xe,Pe)}function bt(Kt,bn){we.point=Et,Ee(xe=_e=Kt,Pe=Me=bn)}function Et(Kt,bn){var Rn=Kt-_e,Ln=bn-Me,Un=(0,m._b)(Rn*Rn+Ln*Ln);ke+=Un*(_e+Kt)/2,Le+=Un*(Me+bn)/2,Be+=Un,ze+=(Un=Me*Kt-_e*bn)*(_e+Kt),je+=Un*(Me+bn),ge+=3*Un,Ee(_e=Kt,Me=bn)}var kt=we;function xt(Kt){this._context=Kt}xt.prototype={_radius:4.5,pointRadius:function(Kt){return this._radius=Kt,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._context.closePath(),this._point=NaN},point:function(Kt,bn){switch(this._point){case 0:this._context.moveTo(Kt,bn),this._point=1;break;case 1:this._context.lineTo(Kt,bn);break;default:this._context.moveTo(Kt+this._radius,bn),this._context.arc(Kt,bn,this._radius,0,m.BZ)}},result:w.Z};var Ft,Ot,Bt,qt,Vt,Ke=(0,h.Z)(),Je={point:w.Z,lineStart:function(){Je.point=qe},lineEnd:function(){Ft&&nt(Ot,Bt),Je.point=w.Z},polygonStart:function(){Ft=!0},polygonEnd:function(){Ft=null},result:function(){var Kt=+Ke;return Ke.reset(),Kt}};function qe(Kt,bn){Je.point=nt,Ot=qt=Kt,Bt=Vt=bn}function nt(Kt,bn){qt-=Kt,Vt-=bn,Ke.add((0,m._b)(qt*qt+Vt*Vt)),qt=Kt,Vt=bn}var ft=Je;function Re(){this._string=[]}function Ne(Kt){return"m0,"+Kt+"a"+Kt+","+Kt+" 0 1,1 0,"+-2*Kt+"a"+Kt+","+Kt+" 0 1,1 0,"+2*Kt+"z"}function Qe(Kt,bn){var Rn,Ln,Un=4.5;function Kn($n){return $n&&(typeof Un=="function"&&Ln.pointRadius(+Un.apply(this,arguments)),(0,y.Z)($n,Rn(Ln))),Ln.result()}return Kn.area=function($n){return(0,y.Z)($n,Rn(Se)),Se.result()},Kn.measure=function($n){return(0,y.Z)($n,Rn(ft)),ft.result()},Kn.bounds=function($n){return(0,y.Z)($n,Rn(Ce.Z)),Ce.Z.result()},Kn.centroid=function($n){return(0,y.Z)($n,Rn(kt)),kt.result()},Kn.projection=function($n){return arguments.length?(Rn=$n==null?(Kt=null,ie.Z):(Kt=$n).stream,Kn):Kt},Kn.context=function($n){return arguments.length?(Ln=$n==null?(bn=null,new Re):new xt(bn=$n),typeof Un!="function"&&Ln.pointRadius(Un),Kn):bn},Kn.pointRadius=function($n){return arguments.length?(Un=typeof $n=="function"?$n:(Ln.pointRadius(+$n),+$n),Kn):Un},Kn.projection(Kt).context(bn)}Re.prototype={_radius:4.5,_circle:Ne(4.5),pointRadius:function(Kt){return(Kt=+Kt)!==this._radius&&(this._radius=Kt,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._string.push("Z"),this._point=NaN},point:function(Kt,bn){switch(this._point){case 0:this._string.push("M",Kt,",",bn),this._point=1;break;case 1:this._string.push("L",Kt,",",bn);break;default:this._circle==null&&(this._circle=Ne(this._radius)),this._string.push("M",Kt,",",bn,this._circle)}},result:function(){if(this._string.length){var Kt=this._string.join("");return this._string=[],Kt}return null}};var ut=t(15002);function dt(Kt){var bn=0,Rn=m.pi/3,Ln=(0,ut.r)(Kt),Un=Ln(bn,Rn);return Un.parallels=function(Kn){return arguments.length?Ln(bn=Kn[0]*m.uR,Rn=Kn[1]*m.uR):[bn*m.RW,Rn*m.RW]},Un}function _t(Kt,bn){var Rn=(0,m.O$)(Kt),Ln=(Rn+(0,m.O$)(bn))/2;if((0,m.Wn)(Ln)=.12&&En<.234&&On>=-.425&&On<-.214?tr:En>=.166&&En<.234&&On>=-.214&&On<-.115?mr:$n).invert(Jt)},Pn.stream=function(Jt){return Kt&&bn===Jt?Kt:(hn=[$n.stream(bn=Jt),tr.stream(Jt),mr.stream(Jt)],zn=hn.length,Kt={point:function(On,En){for(var mn=-1;++mn0?tr<-m.ou+m.Ho&&(tr=-m.ou+m.Ho):tr>m.ou-m.Ho&&(tr=m.ou-m.Ho);var mr=Un/(0,m.sQ)(Qt(tr),Ln);return[mr*(0,m.O$)(Ln*$n),Un-mr*(0,m.mC)(Ln*$n)]}return Kn.invert=function($n,tr){var mr=Un-tr,nn=(0,m.Xx)(Ln)*(0,m._b)($n*$n+mr*mr),Pn=(0,m.fv)($n,(0,m.Wn)(mr))*(0,m.Xx)(mr);return mr*Ln<0&&(Pn-=m.pi*(0,m.Xx)($n)*(0,m.Xx)(mr)),[Pn/Ln,2*(0,m.z4)((0,m.sQ)(Un/nn,1/Ln))-m.ou]},Kn}function xn(){return dt(rn).scale(109.5).parallels([30,30])}Yt.invert=function(Kt,bn){return[Kt,2*(0,m.z4)((0,m.Qq)(bn))-m.ou]};var un=t(97492);function An(Kt,bn){var Rn=(0,m.mC)(Kt),Ln=Kt===bn?(0,m.O$)(Kt):(Rn-(0,m.mC)(bn))/(bn-Kt),Un=Rn/Ln+Kt;if((0,m.Wn)(Ln)2?Ln[2]+90:90]):[(Ln=Rn())[0],Ln[1],Ln[2]-90]},Rn([0,0,90]).scale(159.155)}yr.invert=(0,Sr.O)(function(Kt){return 2*(0,m.z4)(Kt)}),vr.invert=function(Kt,bn){return[-bn,2*(0,m.z4)((0,m.Qq)(Kt))-m.ou]}},83074:function(T,p,t){t.d(p,{Z:function(){return g}});var d=t(39695);function g(i,M){var v=i[0]*d.uR,f=i[1]*d.uR,l=M[0]*d.uR,a=M[1]*d.uR,u=(0,d.mC)(f),o=(0,d.O$)(f),s=(0,d.mC)(a),c=(0,d.O$)(a),h=u*(0,d.mC)(v),m=u*(0,d.O$)(v),w=s*(0,d.mC)(l),y=s*(0,d.O$)(l),S=2*(0,d.ZR)((0,d._b)((0,d.Jy)(a-f)+u*s*(0,d.Jy)(l-v))),_=(0,d.O$)(S),k=S?function(E){var x=(0,d.O$)(E*=S)/_,A=(0,d.O$)(S-E)/_,L=A*h+x*w,b=A*m+x*y,R=A*o+x*c;return[(0,d.fv)(b,L)*d.RW,(0,d.fv)(R,(0,d._b)(L*L+b*b))*d.RW]}:function(){return[v*d.RW,f*d.RW]};return k.distance=S,k}},39695:function(T,p,t){t.d(p,{BZ:function(){return f},Ho:function(){return d},Jy:function(){return L},Kh:function(){return x},O$:function(){return S},OR:function(){return E},Qq:function(){return m},RW:function(){return l},Wn:function(){return u},Xx:function(){return _},ZR:function(){return A},_b:function(){return k},aW:function(){return g},cM:function(){return w},fv:function(){return s},mC:function(){return c},mD:function(){return h},ou:function(){return M},pi:function(){return i},pu:function(){return v},sQ:function(){return y},uR:function(){return a},z4:function(){return o}});var d=1e-6,g=1e-12,i=Math.PI,M=i/2,v=i/4,f=2*i,l=180/i,a=i/180,u=Math.abs,o=Math.atan,s=Math.atan2,c=Math.cos,h=Math.ceil,m=Math.exp,w=Math.log,y=Math.pow,S=Math.sin,_=Math.sign||function(b){return b>0?1:b<0?-1:0},k=Math.sqrt,E=Math.tan;function x(b){return b>1?0:b<-1?i:Math.acos(b)}function A(b){return b>1?M:b<-1?-M:Math.asin(b)}function L(b){return(b=S(b/2))*b}},73182:function(T,p,t){function d(){}t.d(p,{Z:function(){return d}})},3559:function(T,p,t){var d=t(73182),g=1/0,i=g,M=-g,v=M,f={point:function(l,a){lM&&(M=l),av&&(v=a)},lineStart:d.Z,lineEnd:d.Z,polygonStart:d.Z,polygonEnd:d.Z,result:function(){var l=[[g,i],[M,v]];return M=v=-(i=g=1/0),l}};p.Z=f},67108:function(T,p,t){t.d(p,{Z:function(){return g}});var d=t(39695);function g(i,M){return(0,d.Wn)(i[0]-M[0])=0?1:-1,W=N*B,j=W>i.pi,$=A*z;if(M.add((0,i.fv)($*N*(0,i.O$)(W),L*F+$*(0,i.mC)(W))),h+=j?B+N*i.BZ:B,j^E>=u^I>=u){var U=(0,g.T5)((0,g.Og)(k),(0,g.Og)(R));(0,g.iJ)(U);var G=(0,g.T5)(c,U);(0,g.iJ)(G);var q=(j^B>=0?-1:1)*(0,i.ZR)(G[2]);(o>q||o===q&&(U[0]||U[1]))&&(m+=j^B>=0?1:-1)}}return(h<-i.Ho||h4*x&&U--){var te=I+W,Z=O+j,X=z+$,Q=(0,f._b)(te*te+Z*Z+X*X),re=(0,f.ZR)(X/=Q),ie=(0,f.Wn)((0,f.Wn)(X)-1)x||(0,f.Wn)((q*ye+H*de)/ne-.5)>.3||I*W+O*j+z*$2?ye[2]%360*f.uR:0,ue()):[$*f.RW,U*f.RW,G*f.RW]},ie.angle=function(ye){return arguments.length?(q=ye%360*f.uR,ue()):q*f.RW},ie.reflectX=function(ye){return arguments.length?(H=ye?-1:1,ue()):H<0},ie.reflectY=function(ye){return arguments.length?(ne=ye?-1:1,ue()):ne<0},ie.precision=function(ye){return arguments.length?(b=c(R,re=ye*ye),ce()):(0,f._b)(re)},ie.fitExtent=function(ye,de){return(0,u.qg)(ie,ye,de)},ie.fitSize=function(ye,de){return(0,u.mF)(ie,ye,de)},ie.fitWidth=function(ye,de){return(0,u.V6)(ie,ye,de)},ie.fitHeight=function(ye,de){return(0,u.rf)(ie,ye,de)},function(){return k=_.apply(this,arguments),ie.invert=k.invert&&oe,ue()}}},26867:function(T,p,t){t.d(p,{K:function(){return i},Z:function(){return M}});var d=t(15002),g=t(39695);function i(v,f){var l=f*f,a=l*l;return[v*(.8707-.131979*l+a*(a*(.003971*l-.001529*a)-.013791)),f*(1.007226+l*(.015085+a*(.028874*l-.044475-.005916*a)))]}function M(){return(0,d.Z)(i).scale(175.295)}i.invert=function(v,f){var l,a=f,u=25;do{var o=a*a,s=o*o;a-=l=(a*(1.007226+o*(.015085+s*(.028874*o-.044475-.005916*s)))-f)/(1.007226+o*(.045255+s*(.259866*o-.311325-.06507600000000001*s)))}while((0,g.Wn)(l)>g.Ho&&--u>0);return[v/(.8707+(o=a*a)*(o*(o*o*o*(.003971-.001529*o)-.013791)-.131979)),a]}},57962:function(T,p,t){t.d(p,{I:function(){return M},Z:function(){return v}});var d=t(39695),g=t(25382),i=t(15002);function M(f,l){return[(0,d.mC)(l)*(0,d.O$)(f),(0,d.O$)(l)]}function v(){return(0,i.Z)(M).scale(249.5).clipAngle(90+d.Ho)}M.invert=(0,g.O)(d.ZR)},49386:function(T,p,t){t.d(p,{I:function(){return M},Z:function(){return a}});var d=t(96059),g=t(39695);function i(u,o){return[(0,g.Wn)(u)>g.pi?u+Math.round(-u/g.BZ)*g.BZ:u,o]}function M(u,o,s){return(u%=g.BZ)?o||s?(0,d.Z)(f(u),l(o,s)):f(u):o||s?l(o,s):i}function v(u){return function(o,s){return[(o+=u)>g.pi?o-g.BZ:o<-g.pi?o+g.BZ:o,s]}}function f(u){var o=v(u);return o.invert=v(-u),o}function l(u,o){var s=(0,g.mC)(u),c=(0,g.O$)(u),h=(0,g.mC)(o),m=(0,g.O$)(o);function w(y,S){var _=(0,g.mC)(S),k=(0,g.mC)(y)*_,E=(0,g.O$)(y)*_,x=(0,g.O$)(S),A=x*s+k*c;return[(0,g.fv)(E*h-A*m,k*s-x*c),(0,g.ZR)(A*h+E*m)]}return w.invert=function(y,S){var _=(0,g.mC)(S),k=(0,g.mC)(y)*_,E=(0,g.O$)(y)*_,x=(0,g.O$)(S),A=x*h-E*m;return[(0,g.fv)(E*h+x*m,k*s+A*c),(0,g.ZR)(A*s-k*c)]},w}function a(u){function o(s){return(s=u(s[0]*g.uR,s[1]*g.uR))[0]*=g.RW,s[1]*=g.RW,s}return u=M(u[0]*g.uR,u[1]*g.uR,u.length>2?u[2]*g.uR:0),o.invert=function(s){return(s=u.invert(s[0]*g.uR,s[1]*g.uR))[0]*=g.RW,s[1]*=g.RW,s},o}i.invert=i},72736:function(T,p,t){function d(l,a){l&&i.hasOwnProperty(l.type)&&i[l.type](l,a)}t.d(p,{Z:function(){return f}});var g={Feature:function(l,a){d(l.geometry,a)},FeatureCollection:function(l,a){for(var u=l.features,o=-1,s=u.length;++o=0;)ae+=fe[be].value;else ae=1;Ce.value=ae}function f(Ce,ae){var fe,be,ke,Le,Be,ze=new o(Ce),je=+Ce.value&&(ze.value=Ce.value),ge=[ze];for(ae==null&&(ae=l);fe=ge.pop();)if(je&&(fe.value=+fe.data.value),(ke=ae(fe.data))&&(Be=ke.length))for(fe.children=new Array(Be),Le=Be-1;Le>=0;--Le)ge.push(be=fe.children[Le]=new o(ke[Le])),be.parent=fe,be.depth=fe.depth+1;return ze.eachBefore(u)}function l(Ce){return Ce.children}function a(Ce){Ce.data=Ce.data.data}function u(Ce){var ae=0;do Ce.height=ae;while((Ce=Ce.parent)&&Ce.height<++ae)}function o(Ce){this.data=Ce,this.depth=this.height=0,this.parent=null}t.r(p),t.d(p,{cluster:function(){return M},hierarchy:function(){return f},pack:function(){return N},packEnclose:function(){return c},packSiblings:function(){return R},partition:function(){return q},stratify:function(){return X},tree:function(){return ye},treemap:function(){return Pe},treemapBinary:function(){return _e},treemapDice:function(){return G},treemapResquarify:function(){return Se},treemapSlice:function(){return de},treemapSliceDice:function(){return Me},treemapSquarify:function(){return xe}}),o.prototype=f.prototype={constructor:o,count:function(){return this.eachAfter(v)},each:function(Ce){var ae,fe,be,ke,Le=this,Be=[Le];do for(ae=Be.reverse(),Be=[];Le=ae.pop();)if(Ce(Le),fe=Le.children)for(be=0,ke=fe.length;be=0;--fe)ke.push(ae[fe]);return this},sum:function(Ce){return this.eachAfter(function(ae){for(var fe=+Ce(ae.data)||0,be=ae.children,ke=be&&be.length;--ke>=0;)fe+=be[ke].value;ae.value=fe})},sort:function(Ce){return this.eachBefore(function(ae){ae.children&&ae.children.sort(Ce)})},path:function(Ce){for(var ae=this,fe=function(Le,Be){if(Le===Be)return Le;var ze=Le.ancestors(),je=Be.ancestors(),ge=null;for(Le=ze.pop(),Be=je.pop();Le===Be;)ge=Le,Le=ze.pop(),Be=je.pop();return ge}(ae,Ce),be=[ae];ae!==fe;)ae=ae.parent,be.push(ae);for(var ke=be.length;Ce!==fe;)be.splice(ke,0,Ce),Ce=Ce.parent;return be},ancestors:function(){for(var Ce=this,ae=[Ce];Ce=Ce.parent;)ae.push(Ce);return ae},descendants:function(){var Ce=[];return this.each(function(ae){Ce.push(ae)}),Ce},leaves:function(){var Ce=[];return this.eachBefore(function(ae){ae.children||Ce.push(ae)}),Ce},links:function(){var Ce=this,ae=[];return Ce.each(function(fe){fe!==Ce&&ae.push({source:fe.parent,target:fe})}),ae},copy:function(){return f(this).eachBefore(a)}};var s=Array.prototype.slice;function c(Ce){for(var ae,fe,be=0,ke=(Ce=function(Be){for(var ze,je,ge=Be.length;ge;)je=Math.random()*ge--|0,ze=Be[ge],Be[ge]=Be[je],Be[je]=ze;return Be}(s.call(Ce))).length,Le=[];be0&&fe*fe>be*be+ke*ke}function y(Ce,ae){for(var fe=0;fe(Be*=Be)?(be=(ge+Be-ke)/(2*ge),Le=Math.sqrt(Math.max(0,Be/ge-be*be)),fe.x=Ce.x-be*ze-Le*je,fe.y=Ce.y-be*je+Le*ze):(be=(ge+ke-Be)/(2*ge),Le=Math.sqrt(Math.max(0,ke/ge-be*be)),fe.x=ae.x+be*ze-Le*je,fe.y=ae.y+be*je+Le*ze)):(fe.x=ae.x+fe.r,fe.y=ae.y)}function x(Ce,ae){var fe=Ce.r+ae.r-1e-6,be=ae.x-Ce.x,ke=ae.y-Ce.y;return fe>0&&fe*fe>be*be+ke*ke}function A(Ce){var ae=Ce._,fe=Ce.next._,be=ae.r+fe.r,ke=(ae.x*fe.r+fe.x*ae.r)/be,Le=(ae.y*fe.r+fe.y*ae.r)/be;return ke*ke+Le*Le}function L(Ce){this._=Ce,this.next=null,this.previous=null}function b(Ce){if(!(ke=Ce.length))return 0;var ae,fe,be,ke,Le,Be,ze,je,ge,we,Ee;if((ae=Ce[0]).x=0,ae.y=0,!(ke>1))return ae.r;if(fe=Ce[1],ae.x=-fe.r,fe.x=ae.r,fe.y=0,!(ke>2))return ae.r+fe.r;E(fe,ae,be=Ce[2]),ae=new L(ae),fe=new L(fe),be=new L(be),ae.next=be.previous=fe,fe.next=ae.previous=be,be.next=fe.previous=ae;e:for(ze=3;ze0)throw new Error("cycle");return Be}return fe.id=function(be){return arguments.length?(Ce=O(be),fe):Ce},fe.parentId=function(be){return arguments.length?(ae=O(be),fe):ae},fe}function Q(Ce,ae){return Ce.parent===ae.parent?1:2}function re(Ce){var ae=Ce.children;return ae?ae[0]:Ce.t}function ie(Ce){var ae=Ce.children;return ae?ae[ae.length-1]:Ce.t}function oe(Ce,ae,fe){var be=fe/(ae.i-Ce.i);ae.c-=be,ae.s+=fe,Ce.c+=be,ae.z+=fe,ae.m+=fe}function ue(Ce,ae,fe){return Ce.a.parent===ae.parent?Ce.a:fe}function ce(Ce,ae){this._=Ce,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=ae}function ye(){var Ce=Q,ae=1,fe=1,be=null;function ke(je){var ge=function(ht){for(var bt,Et,kt,xt,Ft,Ot=new ce(ht,0),Bt=[Ot];bt=Bt.pop();)if(kt=bt._.children)for(bt.children=new Array(Ft=kt.length),xt=Ft-1;xt>=0;--xt)Bt.push(Et=bt.children[xt]=new ce(kt[xt],xt)),Et.parent=bt;return(Ot.parent=new ce(null,0)).children=[Ot],Ot}(je);if(ge.eachAfter(Le),ge.parent.m=-ge.z,ge.eachBefore(Be),be)je.eachBefore(ze);else{var we=je,Ee=je,Ve=je;je.eachBefore(function(ht){ht.xEe.x&&(Ee=ht),ht.depth>Ve.depth&&(Ve=ht)});var $e=we===Ee?1:Ce(we,Ee)/2,Ye=$e-we.x,st=ae/(Ee.x+$e+Ye),ot=fe/(Ve.depth||1);je.eachBefore(function(ht){ht.x=(ht.x+Ye)*st,ht.y=ht.depth*ot})}return je}function Le(je){var ge=je.children,we=je.parent.children,Ee=je.i?we[je.i-1]:null;if(ge){(function($e){for(var Ye,st=0,ot=0,ht=$e.children,bt=ht.length;--bt>=0;)(Ye=ht[bt]).z+=st,Ye.m+=st,st+=Ye.s+(ot+=Ye.c)})(je);var Ve=(ge[0].z+ge[ge.length-1].z)/2;Ee?(je.z=Ee.z+Ce(je._,Ee._),je.m=je.z-Ve):je.z=Ve}else Ee&&(je.z=Ee.z+Ce(je._,Ee._));je.parent.A=function($e,Ye,st){if(Ye){for(var ot,ht=$e,bt=$e,Et=Ye,kt=ht.parent.children[0],xt=ht.m,Ft=bt.m,Ot=Et.m,Bt=kt.m;Et=ie(Et),ht=re(ht),Et&&ht;)kt=re(kt),(bt=ie(bt)).a=$e,(ot=Et.z+Ot-ht.z-xt+Ce(Et._,ht._))>0&&(oe(ue(Et,$e,st),$e,ot),xt+=ot,Ft+=ot),Ot+=Et.m,xt+=ht.m,Bt+=kt.m,Ft+=bt.m;Et&&!ie(bt)&&(bt.t=Et,bt.m+=Ot-Ft),ht&&!re(kt)&&(kt.t=ht,kt.m+=xt-Bt,st=$e)}return st}(je,Ee,je.parent.A||we[0])}function Be(je){je._.x=je.z+je.parent.m,je.m+=je.parent.m}function ze(je){je.x*=ae,je.y=je.depth*fe}return ke.separation=function(je){return arguments.length?(Ce=je,ke):Ce},ke.size=function(je){return arguments.length?(be=!1,ae=+je[0],fe=+je[1],ke):be?null:[ae,fe]},ke.nodeSize=function(je){return arguments.length?(be=!0,ae=+je[0],fe=+je[1],ke):be?[ae,fe]:null},ke}function de(Ce,ae,fe,be,ke){for(var Le,Be=Ce.children,ze=-1,je=Be.length,ge=Ce.value&&(ke-fe)/Ce.value;++zeVe&&(Ve=ze),ot=we*we*st,($e=Math.max(Ve/ot,ot/Ee))>Ye){we-=ze;break}Ye=$e}ht.push(Be={value:we,dice:je1?be:1)},fe}(me);function Pe(){var Ce=xe,ae=!1,fe=1,be=1,ke=[0],Le=z,Be=z,ze=z,je=z,ge=z;function we(Ve){return Ve.x0=Ve.y0=0,Ve.x1=fe,Ve.y1=be,Ve.eachBefore(Ee),ke=[0],ae&&Ve.eachBefore(U),Ve}function Ee(Ve){var $e=ke[Ve.depth],Ye=Ve.x0+$e,st=Ve.y0+$e,ot=Ve.x1-$e,ht=Ve.y1-$e;ot=Ve-1){var bt=ze[Ee];return bt.x0=Ye,bt.y0=st,bt.x1=ot,void(bt.y1=ht)}for(var Et=ge[Ee],kt=$e/2+Et,xt=Ee+1,Ft=Ve-1;xt>>1;ge[Ot]ht-st){var Vt=(Ye*qt+ot*Bt)/$e;we(Ee,xt,Bt,Ye,st,Vt,ht),we(xt,Ve,qt,Vt,st,ot,ht)}else{var Ke=(st*qt+ht*Bt)/$e;we(Ee,xt,Bt,Ye,st,ot,Ke),we(xt,Ve,qt,Ye,Ke,ot,ht)}})(0,je,Ce.value,ae,fe,be,ke)}function Me(Ce,ae,fe,be,ke){(1&Ce.depth?de:G)(Ce,ae,fe,be,ke)}var Se=function Ce(ae){function fe(be,ke,Le,Be,ze){if((je=be._squarify)&&je.ratio===ae)for(var je,ge,we,Ee,Ve,$e=-1,Ye=je.length,st=be.value;++$e1?be:1)},fe}(me)},45879:function(T,p,t){t.d(p,{h5:function(){return w}});var d=Math.PI,g=2*d,i=1e-6,M=g-i;function v(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function f(){return new v}v.prototype=f.prototype={constructor:v,moveTo:function(y,S){this._+="M"+(this._x0=this._x1=+y)+","+(this._y0=this._y1=+S)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(y,S){this._+="L"+(this._x1=+y)+","+(this._y1=+S)},quadraticCurveTo:function(y,S,_,k){this._+="Q"+ +y+","+ +S+","+(this._x1=+_)+","+(this._y1=+k)},bezierCurveTo:function(y,S,_,k,E,x){this._+="C"+ +y+","+ +S+","+ +_+","+ +k+","+(this._x1=+E)+","+(this._y1=+x)},arcTo:function(y,S,_,k,E){y=+y,S=+S,_=+_,k=+k,E=+E;var x=this._x1,A=this._y1,L=_-y,b=k-S,R=x-y,I=A-S,O=R*R+I*I;if(E<0)throw new Error("negative radius: "+E);if(this._x1===null)this._+="M"+(this._x1=y)+","+(this._y1=S);else if(O>i)if(Math.abs(I*L-b*R)>i&&E){var z=_-x,F=k-A,B=L*L+b*b,N=z*z+F*F,W=Math.sqrt(B),j=Math.sqrt(O),$=E*Math.tan((d-Math.acos((B+O-N)/(2*W*j)))/2),U=$/j,G=$/W;Math.abs(U-1)>i&&(this._+="L"+(y+U*R)+","+(S+U*I)),this._+="A"+E+","+E+",0,0,"+ +(I*z>R*F)+","+(this._x1=y+G*L)+","+(this._y1=S+G*b)}else this._+="L"+(this._x1=y)+","+(this._y1=S)},arc:function(y,S,_,k,E,x){y=+y,S=+S,x=!!x;var A=(_=+_)*Math.cos(k),L=_*Math.sin(k),b=y+A,R=S+L,I=1^x,O=x?k-E:E-k;if(_<0)throw new Error("negative radius: "+_);this._x1===null?this._+="M"+b+","+R:(Math.abs(this._x1-b)>i||Math.abs(this._y1-R)>i)&&(this._+="L"+b+","+R),_&&(O<0&&(O=O%g+g),O>M?this._+="A"+_+","+_+",0,1,"+I+","+(y-A)+","+(S-L)+"A"+_+","+_+",0,1,"+I+","+(this._x1=b)+","+(this._y1=R):O>i&&(this._+="A"+_+","+_+",0,"+ +(O>=d)+","+I+","+(this._x1=y+_*Math.cos(E))+","+(this._y1=S+_*Math.sin(E))))},rect:function(y,S,_,k){this._+="M"+(this._x0=this._x1=+y)+","+(this._y0=this._y1=+S)+"h"+ +_+"v"+ +k+"h"+-_+"Z"},toString:function(){return this._}};var l=f,a=Array.prototype.slice;function u(y){return function(){return y}}function o(y){return y[0]}function s(y){return y[1]}function c(y){return y.source}function h(y){return y.target}function m(y,S,_,k,E){y.moveTo(S,_),y.bezierCurveTo(S=(S+k)/2,_,S,E,k,E)}function w(){return function(y){var S=c,_=h,k=o,E=s,x=null;function A(){var L,b=a.call(arguments),R=S.apply(this,b),I=_.apply(this,b);if(x||(x=L=l()),y(x,+k.apply(this,(b[0]=R,b)),+E.apply(this,b),+k.apply(this,(b[0]=I,b)),+E.apply(this,b)),L)return x=null,L+""||null}return A.source=function(L){return arguments.length?(S=L,A):S},A.target=function(L){return arguments.length?(_=L,A):_},A.x=function(L){return arguments.length?(k=typeof L=="function"?L:u(+L),A):k},A.y=function(L){return arguments.length?(E=typeof L=="function"?L:u(+L),A):E},A.context=function(L){return arguments.length?(x=L??null,A):x},A}(m)}},84096:function(T,p,t){t.d(p,{i$:function(){return c},Dq:function(){return o},g0:function(){return h}});var d=t(58176),g=t(48480),i=t(59879),M=t(82301),v=t(34823),f=t(79791);function l(xt){if(0<=xt.y&&xt.y<100){var Ft=new Date(-1,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L);return Ft.setFullYear(xt.y),Ft}return new Date(xt.y,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L)}function a(xt){if(0<=xt.y&&xt.y<100){var Ft=new Date(Date.UTC(-1,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L));return Ft.setUTCFullYear(xt.y),Ft}return new Date(Date.UTC(xt.y,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L))}function u(xt,Ft,Ot){return{y:xt,m:Ft,d:Ot,H:0,M:0,S:0,L:0}}function o(xt){var Ft=xt.dateTime,Ot=xt.date,Bt=xt.time,qt=xt.periods,Vt=xt.days,Ke=xt.shortDays,Je=xt.months,qe=xt.shortMonths,nt=E(qt),ft=x(qt),Re=E(Vt),Ne=x(Vt),Qe=E(Ke),ut=x(Ke),dt=E(Je),_t=x(Je),It=E(qe),Lt=x(qe),yt={a:function(Wt){return Ke[Wt.getDay()]},A:function(Wt){return Vt[Wt.getDay()]},b:function(Wt){return qe[Wt.getMonth()]},B:function(Wt){return Je[Wt.getMonth()]},c:null,d:X,e:X,f:ue,H:Q,I:re,j:ie,L:oe,m:ce,M:ye,p:function(Wt){return qt[+(Wt.getHours()>=12)]},q:function(Wt){return 1+~~(Wt.getMonth()/3)},Q:Et,s:kt,S:de,u:me,U:pe,V:xe,w:Pe,W:_e,x:null,X:null,y:Me,Y:Se,Z:Ce,"%":bt},Pt={a:function(Wt){return Ke[Wt.getUTCDay()]},A:function(Wt){return Vt[Wt.getUTCDay()]},b:function(Wt){return qe[Wt.getUTCMonth()]},B:function(Wt){return Je[Wt.getUTCMonth()]},c:null,d:ae,e:ae,f:Be,H:fe,I:be,j:ke,L:Le,m:ze,M:je,p:function(Wt){return qt[+(Wt.getUTCHours()>=12)]},q:function(Wt){return 1+~~(Wt.getUTCMonth()/3)},Q:Et,s:kt,S:ge,u:we,U:Ee,V:Ve,w:$e,W:Ye,x:null,X:null,y:st,Y:ot,Z:ht,"%":bt},wt={a:function(Wt,Xt,Qt){var rn=Qe.exec(Xt.slice(Qt));return rn?(Wt.w=ut[rn[0].toLowerCase()],Qt+rn[0].length):-1},A:function(Wt,Xt,Qt){var rn=Re.exec(Xt.slice(Qt));return rn?(Wt.w=Ne[rn[0].toLowerCase()],Qt+rn[0].length):-1},b:function(Wt,Xt,Qt){var rn=It.exec(Xt.slice(Qt));return rn?(Wt.m=Lt[rn[0].toLowerCase()],Qt+rn[0].length):-1},B:function(Wt,Xt,Qt){var rn=dt.exec(Xt.slice(Qt));return rn?(Wt.m=_t[rn[0].toLowerCase()],Qt+rn[0].length):-1},c:function(Wt,Xt,Qt){return Yt(Wt,Ft,Xt,Qt)},d:W,e:W,f:H,H:$,I:$,j,L:q,m:N,M:U,p:function(Wt,Xt,Qt){var rn=nt.exec(Xt.slice(Qt));return rn?(Wt.p=ft[rn[0].toLowerCase()],Qt+rn[0].length):-1},q:B,Q:te,s:Z,S:G,u:L,U:b,V:R,w:A,W:I,x:function(Wt,Xt,Qt){return Yt(Wt,Ot,Xt,Qt)},X:function(Wt,Xt,Qt){return Yt(Wt,Bt,Xt,Qt)},y:z,Y:O,Z:F,"%":ne};function Rt(Wt,Xt){return function(Qt){var rn,xn,un,An=[],Yn=-1,kn=0,sn=Wt.length;for(Qt instanceof Date||(Qt=new Date(+Qt));++Yn53)return null;"w"in un||(un.w=1),"Z"in un?(xn=(rn=a(u(un.y,0,1))).getUTCDay(),rn=xn>4||xn===0?d.l6.ceil(rn):(0,d.l6)(rn),rn=g.Z.offset(rn,7*(un.V-1)),un.y=rn.getUTCFullYear(),un.m=rn.getUTCMonth(),un.d=rn.getUTCDate()+(un.w+6)%7):(xn=(rn=l(u(un.y,0,1))).getDay(),rn=xn>4||xn===0?i.wA.ceil(rn):(0,i.wA)(rn),rn=M.Z.offset(rn,7*(un.V-1)),un.y=rn.getFullYear(),un.m=rn.getMonth(),un.d=rn.getDate()+(un.w+6)%7)}else("W"in un||"U"in un)&&("w"in un||(un.w="u"in un?un.u%7:"W"in un?1:0),xn="Z"in un?a(u(un.y,0,1)).getUTCDay():l(u(un.y,0,1)).getDay(),un.m=0,un.d="W"in un?(un.w+6)%7+7*un.W-(xn+5)%7:un.w+7*un.U-(xn+6)%7);return"Z"in un?(un.H+=un.Z/100|0,un.M+=un.Z%100,a(un)):l(un)}}function Yt(Wt,Xt,Qt,rn){for(var xn,un,An=0,Yn=Xt.length,kn=Qt.length;An=kn)return-1;if((xn=Xt.charCodeAt(An++))===37){if(xn=Xt.charAt(An++),!(un=wt[xn in m?Xt.charAt(An++):xn])||(rn=un(Wt,Qt,rn))<0)return-1}else if(xn!=Qt.charCodeAt(rn++))return-1}return rn}return yt.x=Rt(Ot,yt),yt.X=Rt(Bt,yt),yt.c=Rt(Ft,yt),Pt.x=Rt(Ot,Pt),Pt.X=Rt(Bt,Pt),Pt.c=Rt(Ft,Pt),{format:function(Wt){var Xt=Rt(Wt+="",yt);return Xt.toString=function(){return Wt},Xt},parse:function(Wt){var Xt=Nt(Wt+="",!1);return Xt.toString=function(){return Wt},Xt},utcFormat:function(Wt){var Xt=Rt(Wt+="",Pt);return Xt.toString=function(){return Wt},Xt},utcParse:function(Wt){var Xt=Nt(Wt+="",!0);return Xt.toString=function(){return Wt},Xt}}}var s,c,h,m={"-":"",_:" ",0:"0"},w=/^\s*\d+/,y=/^%/,S=/[\\^$*+?|[\]().{}]/g;function _(xt,Ft,Ot){var Bt=xt<0?"-":"",qt=(Bt?-xt:xt)+"",Vt=qt.length;return Bt+(Vt68?1900:2e3),Ot+Bt[0].length):-1}function F(xt,Ft,Ot){var Bt=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(Ft.slice(Ot,Ot+6));return Bt?(xt.Z=Bt[1]?0:-(Bt[2]+(Bt[3]||"00")),Ot+Bt[0].length):-1}function B(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+1));return Bt?(xt.q=3*Bt[0]-3,Ot+Bt[0].length):-1}function N(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+2));return Bt?(xt.m=Bt[0]-1,Ot+Bt[0].length):-1}function W(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+2));return Bt?(xt.d=+Bt[0],Ot+Bt[0].length):-1}function j(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+3));return Bt?(xt.m=0,xt.d=+Bt[0],Ot+Bt[0].length):-1}function $(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+2));return Bt?(xt.H=+Bt[0],Ot+Bt[0].length):-1}function U(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+2));return Bt?(xt.M=+Bt[0],Ot+Bt[0].length):-1}function G(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+2));return Bt?(xt.S=+Bt[0],Ot+Bt[0].length):-1}function q(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+3));return Bt?(xt.L=+Bt[0],Ot+Bt[0].length):-1}function H(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+6));return Bt?(xt.L=Math.floor(Bt[0]/1e3),Ot+Bt[0].length):-1}function ne(xt,Ft,Ot){var Bt=y.exec(Ft.slice(Ot,Ot+1));return Bt?Ot+Bt[0].length:-1}function te(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot));return Bt?(xt.Q=+Bt[0],Ot+Bt[0].length):-1}function Z(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot));return Bt?(xt.s=+Bt[0],Ot+Bt[0].length):-1}function X(xt,Ft){return _(xt.getDate(),Ft,2)}function Q(xt,Ft){return _(xt.getHours(),Ft,2)}function re(xt,Ft){return _(xt.getHours()%12||12,Ft,2)}function ie(xt,Ft){return _(1+M.Z.count((0,v.Z)(xt),xt),Ft,3)}function oe(xt,Ft){return _(xt.getMilliseconds(),Ft,3)}function ue(xt,Ft){return oe(xt,Ft)+"000"}function ce(xt,Ft){return _(xt.getMonth()+1,Ft,2)}function ye(xt,Ft){return _(xt.getMinutes(),Ft,2)}function de(xt,Ft){return _(xt.getSeconds(),Ft,2)}function me(xt){var Ft=xt.getDay();return Ft===0?7:Ft}function pe(xt,Ft){return _(i.OM.count((0,v.Z)(xt)-1,xt),Ft,2)}function xe(xt,Ft){var Ot=xt.getDay();return xt=Ot>=4||Ot===0?(0,i.bL)(xt):i.bL.ceil(xt),_(i.bL.count((0,v.Z)(xt),xt)+((0,v.Z)(xt).getDay()===4),Ft,2)}function Pe(xt){return xt.getDay()}function _e(xt,Ft){return _(i.wA.count((0,v.Z)(xt)-1,xt),Ft,2)}function Me(xt,Ft){return _(xt.getFullYear()%100,Ft,2)}function Se(xt,Ft){return _(xt.getFullYear()%1e4,Ft,4)}function Ce(xt){var Ft=xt.getTimezoneOffset();return(Ft>0?"-":(Ft*=-1,"+"))+_(Ft/60|0,"0",2)+_(Ft%60,"0",2)}function ae(xt,Ft){return _(xt.getUTCDate(),Ft,2)}function fe(xt,Ft){return _(xt.getUTCHours(),Ft,2)}function be(xt,Ft){return _(xt.getUTCHours()%12||12,Ft,2)}function ke(xt,Ft){return _(1+g.Z.count((0,f.Z)(xt),xt),Ft,3)}function Le(xt,Ft){return _(xt.getUTCMilliseconds(),Ft,3)}function Be(xt,Ft){return Le(xt,Ft)+"000"}function ze(xt,Ft){return _(xt.getUTCMonth()+1,Ft,2)}function je(xt,Ft){return _(xt.getUTCMinutes(),Ft,2)}function ge(xt,Ft){return _(xt.getUTCSeconds(),Ft,2)}function we(xt){var Ft=xt.getUTCDay();return Ft===0?7:Ft}function Ee(xt,Ft){return _(d.Ox.count((0,f.Z)(xt)-1,xt),Ft,2)}function Ve(xt,Ft){var Ot=xt.getUTCDay();return xt=Ot>=4||Ot===0?(0,d.hB)(xt):d.hB.ceil(xt),_(d.hB.count((0,f.Z)(xt),xt)+((0,f.Z)(xt).getUTCDay()===4),Ft,2)}function $e(xt){return xt.getUTCDay()}function Ye(xt,Ft){return _(d.l6.count((0,f.Z)(xt)-1,xt),Ft,2)}function st(xt,Ft){return _(xt.getUTCFullYear()%100,Ft,2)}function ot(xt,Ft){return _(xt.getUTCFullYear()%1e4,Ft,4)}function ht(){return"+0000"}function bt(){return"%"}function Et(xt){return+xt}function kt(xt){return Math.floor(+xt/1e3)}s=o({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),c=s.format,s.parse,h=s.utcFormat,s.utcParse},82301:function(T,p,t){t.d(p,{a:function(){return M}});var d=t(30052),g=t(54263),i=(0,d.Z)(function(v){v.setHours(0,0,0,0)},function(v,f){v.setDate(v.getDate()+f)},function(v,f){return(f-v-(f.getTimezoneOffset()-v.getTimezoneOffset())*g.yB)/g.UD},function(v){return v.getDate()-1});p.Z=i;var M=i.range},54263:function(T,p,t){t.d(p,{UD:function(){return M},Y2:function(){return i},Ym:function(){return d},iM:function(){return v},yB:function(){return g}});var d=1e3,g=6e4,i=36e5,M=864e5,v=6048e5},81041:function(T,p,t){t.r(p),t.d(p,{timeDay:function(){return w.Z},timeDays:function(){return w.a},timeFriday:function(){return y.mC},timeFridays:function(){return y.b$},timeHour:function(){return h},timeHours:function(){return m},timeInterval:function(){return d.Z},timeMillisecond:function(){return i},timeMilliseconds:function(){return M},timeMinute:function(){return o},timeMinutes:function(){return s},timeMonday:function(){return y.wA},timeMondays:function(){return y.bJ},timeMonth:function(){return _},timeMonths:function(){return k},timeSaturday:function(){return y.EY},timeSaturdays:function(){return y.Ff},timeSecond:function(){return l},timeSeconds:function(){return a},timeSunday:function(){return y.OM},timeSundays:function(){return y.vm},timeThursday:function(){return y.bL},timeThursdays:function(){return y.$t},timeTuesday:function(){return y.sy},timeTuesdays:function(){return y.aU},timeWednesday:function(){return y.zg},timeWednesdays:function(){return y.Ld},timeWeek:function(){return y.OM},timeWeeks:function(){return y.vm},timeYear:function(){return E.Z},timeYears:function(){return E.g},utcDay:function(){return O.Z},utcDays:function(){return O.y},utcFriday:function(){return z.QQ},utcFridays:function(){return z.fz},utcHour:function(){return R},utcHours:function(){return I},utcMillisecond:function(){return i},utcMilliseconds:function(){return M},utcMinute:function(){return A},utcMinutes:function(){return L},utcMonday:function(){return z.l6},utcMondays:function(){return z.$3},utcMonth:function(){return B},utcMonths:function(){return N},utcSaturday:function(){return z.g4},utcSaturdays:function(){return z.Q_},utcSecond:function(){return l},utcSeconds:function(){return a},utcSunday:function(){return z.Ox},utcSundays:function(){return z.SU},utcThursday:function(){return z.hB},utcThursdays:function(){return z.xj},utcTuesday:function(){return z.J1},utcTuesdays:function(){return z.DK},utcWednesday:function(){return z.b3},utcWednesdays:function(){return z.uy},utcWeek:function(){return z.Ox},utcWeeks:function(){return z.SU},utcYear:function(){return W.Z},utcYears:function(){return W.D}});var d=t(30052),g=(0,d.Z)(function(){},function(j,$){j.setTime(+j+$)},function(j,$){return $-j});g.every=function(j){return j=Math.floor(j),isFinite(j)&&j>0?j>1?(0,d.Z)(function($){$.setTime(Math.floor($/j)*j)},function($,U){$.setTime(+$+U*j)},function($,U){return(U-$)/j}):g:null};var i=g,M=g.range,v=t(54263),f=(0,d.Z)(function(j){j.setTime(j-j.getMilliseconds())},function(j,$){j.setTime(+j+$*v.Ym)},function(j,$){return($-j)/v.Ym},function(j){return j.getUTCSeconds()}),l=f,a=f.range,u=(0,d.Z)(function(j){j.setTime(j-j.getMilliseconds()-j.getSeconds()*v.Ym)},function(j,$){j.setTime(+j+$*v.yB)},function(j,$){return($-j)/v.yB},function(j){return j.getMinutes()}),o=u,s=u.range,c=(0,d.Z)(function(j){j.setTime(j-j.getMilliseconds()-j.getSeconds()*v.Ym-j.getMinutes()*v.yB)},function(j,$){j.setTime(+j+$*v.Y2)},function(j,$){return($-j)/v.Y2},function(j){return j.getHours()}),h=c,m=c.range,w=t(82301),y=t(59879),S=(0,d.Z)(function(j){j.setDate(1),j.setHours(0,0,0,0)},function(j,$){j.setMonth(j.getMonth()+$)},function(j,$){return $.getMonth()-j.getMonth()+12*($.getFullYear()-j.getFullYear())},function(j){return j.getMonth()}),_=S,k=S.range,E=t(34823),x=(0,d.Z)(function(j){j.setUTCSeconds(0,0)},function(j,$){j.setTime(+j+$*v.yB)},function(j,$){return($-j)/v.yB},function(j){return j.getUTCMinutes()}),A=x,L=x.range,b=(0,d.Z)(function(j){j.setUTCMinutes(0,0,0)},function(j,$){j.setTime(+j+$*v.Y2)},function(j,$){return($-j)/v.Y2},function(j){return j.getUTCHours()}),R=b,I=b.range,O=t(48480),z=t(58176),F=(0,d.Z)(function(j){j.setUTCDate(1),j.setUTCHours(0,0,0,0)},function(j,$){j.setUTCMonth(j.getUTCMonth()+$)},function(j,$){return $.getUTCMonth()-j.getUTCMonth()+12*($.getUTCFullYear()-j.getUTCFullYear())},function(j){return j.getUTCMonth()}),B=F,N=F.range,W=t(79791)},30052:function(T,p,t){t.d(p,{Z:function(){return i}});var d=new Date,g=new Date;function i(M,v,f,l){function a(u){return M(u=arguments.length===0?new Date:new Date(+u)),u}return a.floor=function(u){return M(u=new Date(+u)),u},a.ceil=function(u){return M(u=new Date(u-1)),v(u,1),M(u),u},a.round=function(u){var o=a(u),s=a.ceil(u);return u-o0))return h;do h.push(c=new Date(+u)),v(u,s),M(u);while(c=o)for(;M(o),!u(o);)o.setTime(o-1)},function(o,s){if(o>=o)if(s<0)for(;++s<=0;)for(;v(o,-1),!u(o););else for(;--s>=0;)for(;v(o,1),!u(o););})},f&&(a.count=function(u,o){return d.setTime(+u),g.setTime(+o),M(d),M(g),Math.floor(f(d,g))},a.every=function(u){return u=Math.floor(u),isFinite(u)&&u>0?u>1?a.filter(l?function(o){return l(o)%u==0}:function(o){return a.count(0,o)%u==0}):a:null}),a}},48480:function(T,p,t){t.d(p,{y:function(){return M}});var d=t(30052),g=t(54263),i=(0,d.Z)(function(v){v.setUTCHours(0,0,0,0)},function(v,f){v.setUTCDate(v.getUTCDate()+f)},function(v,f){return(f-v)/g.UD},function(v){return v.getUTCDate()-1});p.Z=i;var M=i.range},58176:function(T,p,t){t.d(p,{$3:function(){return c},DK:function(){return h},J1:function(){return f},Ox:function(){return M},QQ:function(){return u},Q_:function(){return S},SU:function(){return s},b3:function(){return l},fz:function(){return y},g4:function(){return o},hB:function(){return a},l6:function(){return v},uy:function(){return m},xj:function(){return w}});var d=t(30052),g=t(54263);function i(_){return(0,d.Z)(function(k){k.setUTCDate(k.getUTCDate()-(k.getUTCDay()+7-_)%7),k.setUTCHours(0,0,0,0)},function(k,E){k.setUTCDate(k.getUTCDate()+7*E)},function(k,E){return(E-k)/g.iM})}var M=i(0),v=i(1),f=i(2),l=i(3),a=i(4),u=i(5),o=i(6),s=M.range,c=v.range,h=f.range,m=l.range,w=a.range,y=u.range,S=o.range},79791:function(T,p,t){t.d(p,{D:function(){return i}});var d=t(30052),g=(0,d.Z)(function(M){M.setUTCMonth(0,1),M.setUTCHours(0,0,0,0)},function(M,v){M.setUTCFullYear(M.getUTCFullYear()+v)},function(M,v){return v.getUTCFullYear()-M.getUTCFullYear()},function(M){return M.getUTCFullYear()});g.every=function(M){return isFinite(M=Math.floor(M))&&M>0?(0,d.Z)(function(v){v.setUTCFullYear(Math.floor(v.getUTCFullYear()/M)*M),v.setUTCMonth(0,1),v.setUTCHours(0,0,0,0)},function(v,f){v.setUTCFullYear(v.getUTCFullYear()+f*M)}):null},p.Z=g;var i=g.range},59879:function(T,p,t){t.d(p,{$t:function(){return w},EY:function(){return o},Ff:function(){return S},Ld:function(){return m},OM:function(){return M},aU:function(){return h},b$:function(){return y},bJ:function(){return c},bL:function(){return a},mC:function(){return u},sy:function(){return f},vm:function(){return s},wA:function(){return v},zg:function(){return l}});var d=t(30052),g=t(54263);function i(_){return(0,d.Z)(function(k){k.setDate(k.getDate()-(k.getDay()+7-_)%7),k.setHours(0,0,0,0)},function(k,E){k.setDate(k.getDate()+7*E)},function(k,E){return(E-k-(E.getTimezoneOffset()-k.getTimezoneOffset())*g.yB)/g.iM})}var M=i(0),v=i(1),f=i(2),l=i(3),a=i(4),u=i(5),o=i(6),s=M.range,c=v.range,h=f.range,m=l.range,w=a.range,y=u.range,S=o.range},34823:function(T,p,t){t.d(p,{g:function(){return i}});var d=t(30052),g=(0,d.Z)(function(M){M.setMonth(0,1),M.setHours(0,0,0,0)},function(M,v){M.setFullYear(M.getFullYear()+v)},function(M,v){return v.getFullYear()-M.getFullYear()},function(M){return M.getFullYear()});g.every=function(M){return isFinite(M=Math.floor(M))&&M>0?(0,d.Z)(function(v){v.setFullYear(Math.floor(v.getFullYear()/M)*M),v.setMonth(0,1),v.setHours(0,0,0,0)},function(v,f){v.setFullYear(v.getFullYear()+f*M)}):null},p.Z=g;var i=g.range},17045:function(T,p,t){var d=t(8709),g=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",i=Object.prototype.toString,M=Array.prototype.concat,v=Object.defineProperty,f=t(55622)(),l=v&&f,a=function(o,s,c,h){if(s in o){if(h===!0){if(o[s]===c)return}else if(typeof(m=h)!="function"||i.call(m)!=="[object Function]"||!h())return}var m;l?v(o,s,{configurable:!0,enumerable:!1,value:c,writable:!0}):o[s]=c},u=function(o,s){var c=arguments.length>2?arguments[2]:{},h=d(s);g&&(h=M.call(h,Object.getOwnPropertySymbols(s)));for(var m=0;ml*a){var h=(c-s)/l;f[o]=1e3*h}}return f}function g(i){for(var M=[],v=i[0];v<=i[1];v++)for(var f=String.fromCharCode(v),l=i[0];l0)return function(g,i){var M,v;for(M=new Array(g),v=0;v80*O){z=B=R[0],F=N=R[1];for(var ne=O;neB&&(B=W),j>N&&(N=j);$=($=Math.max(B-z,N-F))!==0?1/$:0}return g(q,H,O,z,F,$),H}function t(R,I,O,z,F){var B,N;if(F===b(R,I,O,z)>0)for(B=I;B=I;B-=z)N=x(B,R[B],R[B+1],N);return N&&w(N,N.next)&&(A(N),N=N.next),N}function d(R,I){if(!R)return R;I||(I=R);var O,z=R;do if(O=!1,z.steiner||!w(z,z.next)&&m(z.prev,z,z.next)!==0)z=z.next;else{if(A(z),(z=I=z.prev)===z.next)break;O=!0}while(O||z!==I);return I}function g(R,I,O,z,F,B,N){if(R){!N&&B&&function(U,G,q,H){var ne=U;do ne.z===null&&(ne.z=o(ne.x,ne.y,G,q,H)),ne.prevZ=ne.prev,ne.nextZ=ne.next,ne=ne.next;while(ne!==U);ne.prevZ.nextZ=null,ne.prevZ=null,function(te){var Z,X,Q,re,ie,oe,ue,ce,ye=1;do{for(X=te,te=null,ie=null,oe=0;X;){for(oe++,Q=X,ue=0,Z=0;Z0||ce>0&&Q;)ue!==0&&(ce===0||!Q||X.z<=Q.z)?(re=X,X=X.nextZ,ue--):(re=Q,Q=Q.nextZ,ce--),ie?ie.nextZ=re:te=re,re.prevZ=ie,ie=re;X=Q}ie.nextZ=null,ye*=2}while(oe>1)}(ne)}(R,z,F,B);for(var W,j,$=R;R.prev!==R.next;)if(W=R.prev,j=R.next,B?M(R,z,F,B):i(R))I.push(W.i/O),I.push(R.i/O),I.push(j.i/O),A(R),R=j.next,$=j.next;else if((R=j)===$){N?N===1?g(R=v(d(R),I,O),I,O,z,F,B,2):N===2&&f(R,I,O,z,F,B):g(d(R),I,O,z,F,B,1);break}}}function i(R){var I=R.prev,O=R,z=R.next;if(m(I,O,z)>=0)return!1;for(var F=R.next.next;F!==R.prev;){if(c(I.x,I.y,O.x,O.y,z.x,z.y,F.x,F.y)&&m(F.prev,F,F.next)>=0)return!1;F=F.next}return!0}function M(R,I,O,z){var F=R.prev,B=R,N=R.next;if(m(F,B,N)>=0)return!1;for(var W=F.xB.x?F.x>N.x?F.x:N.x:B.x>N.x?B.x:N.x,U=F.y>B.y?F.y>N.y?F.y:N.y:B.y>N.y?B.y:N.y,G=o(W,j,I,O,z),q=o($,U,I,O,z),H=R.prevZ,ne=R.nextZ;H&&H.z>=G&&ne&&ne.z<=q;){if(H!==R.prev&&H!==R.next&&c(F.x,F.y,B.x,B.y,N.x,N.y,H.x,H.y)&&m(H.prev,H,H.next)>=0||(H=H.prevZ,ne!==R.prev&&ne!==R.next&&c(F.x,F.y,B.x,B.y,N.x,N.y,ne.x,ne.y)&&m(ne.prev,ne,ne.next)>=0))return!1;ne=ne.nextZ}for(;H&&H.z>=G;){if(H!==R.prev&&H!==R.next&&c(F.x,F.y,B.x,B.y,N.x,N.y,H.x,H.y)&&m(H.prev,H,H.next)>=0)return!1;H=H.prevZ}for(;ne&&ne.z<=q;){if(ne!==R.prev&&ne!==R.next&&c(F.x,F.y,B.x,B.y,N.x,N.y,ne.x,ne.y)&&m(ne.prev,ne,ne.next)>=0)return!1;ne=ne.nextZ}return!0}function v(R,I,O){var z=R;do{var F=z.prev,B=z.next.next;!w(F,B)&&y(F,z,z.next,B)&&k(F,B)&&k(B,F)&&(I.push(F.i/O),I.push(z.i/O),I.push(B.i/O),A(z),A(z.next),z=R=B),z=z.next}while(z!==R);return d(z)}function f(R,I,O,z,F,B){var N=R;do{for(var W=N.next.next;W!==N.prev;){if(N.i!==W.i&&h(N,W)){var j=E(N,W);return N=d(N,N.next),j=d(j,j.next),g(N,I,O,z,F,B),void g(j,I,O,z,F,B)}W=W.next}N=N.next}while(N!==R)}function l(R,I){return R.x-I.x}function a(R,I){if(I=function(z,F){var B,N=F,W=z.x,j=z.y,$=-1/0;do{if(j<=N.y&&j>=N.next.y&&N.next.y!==N.y){var U=N.x+(j-N.y)*(N.next.x-N.x)/(N.next.y-N.y);if(U<=W&&U>$){if($=U,U===W){if(j===N.y)return N;if(j===N.next.y)return N.next}B=N.x=N.x&&N.x>=H&&W!==N.x&&c(jB.x||N.x===B.x&&u(B,N)))&&(B=N,te=G)),N=N.next;while(N!==q);return B}(R,I),I){var O=E(I,R);d(I,I.next),d(O,O.next)}}function u(R,I){return m(R.prev,R,I.prev)<0&&m(I.next,R,R.next)<0}function o(R,I,O,z,F){return(R=1431655765&((R=858993459&((R=252645135&((R=16711935&((R=32767*(R-O)*F)|R<<8))|R<<4))|R<<2))|R<<1))|(I=1431655765&((I=858993459&((I=252645135&((I=16711935&((I=32767*(I-z)*F)|I<<8))|I<<4))|I<<2))|I<<1))<<1}function s(R){var I=R,O=R;do(I.x=0&&(R-N)*(z-W)-(O-N)*(I-W)>=0&&(O-N)*(B-W)-(F-N)*(z-W)>=0}function h(R,I){return R.next.i!==I.i&&R.prev.i!==I.i&&!function(O,z){var F=O;do{if(F.i!==O.i&&F.next.i!==O.i&&F.i!==z.i&&F.next.i!==z.i&&y(F,F.next,O,z))return!0;F=F.next}while(F!==O);return!1}(R,I)&&(k(R,I)&&k(I,R)&&function(O,z){var F=O,B=!1,N=(O.x+z.x)/2,W=(O.y+z.y)/2;do F.y>W!=F.next.y>W&&F.next.y!==F.y&&N<(F.next.x-F.x)*(W-F.y)/(F.next.y-F.y)+F.x&&(B=!B),F=F.next;while(F!==O);return B}(R,I)&&(m(R.prev,R,I.prev)||m(R,I.prev,I))||w(R,I)&&m(R.prev,R,R.next)>0&&m(I.prev,I,I.next)>0)}function m(R,I,O){return(I.y-R.y)*(O.x-I.x)-(I.x-R.x)*(O.y-I.y)}function w(R,I){return R.x===I.x&&R.y===I.y}function y(R,I,O,z){var F=_(m(R,I,O)),B=_(m(R,I,z)),N=_(m(O,z,R)),W=_(m(O,z,I));return F!==B&&N!==W||!(F!==0||!S(R,O,I))||!(B!==0||!S(R,z,I))||!(N!==0||!S(O,R,z))||!(W!==0||!S(O,I,z))}function S(R,I,O){return I.x<=Math.max(R.x,O.x)&&I.x>=Math.min(R.x,O.x)&&I.y<=Math.max(R.y,O.y)&&I.y>=Math.min(R.y,O.y)}function _(R){return R>0?1:R<0?-1:0}function k(R,I){return m(R.prev,R,R.next)<0?m(R,I,R.next)>=0&&m(R,R.prev,I)>=0:m(R,I,R.prev)<0||m(R,R.next,I)<0}function E(R,I){var O=new L(R.i,R.x,R.y),z=new L(I.i,I.x,I.y),F=R.next,B=I.prev;return R.next=I,I.prev=R,O.next=F,F.prev=O,z.next=O,O.prev=z,B.next=z,z.prev=B,z}function x(R,I,O,z){var F=new L(R,I,O);return z?(F.next=z.next,F.prev=z,z.next.prev=F,z.next=F):(F.prev=F,F.next=F),F}function A(R){R.next.prev=R.prev,R.prev.next=R.next,R.prevZ&&(R.prevZ.nextZ=R.nextZ),R.nextZ&&(R.nextZ.prevZ=R.prevZ)}function L(R,I,O){this.i=R,this.x=I,this.y=O,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function b(R,I,O,z){for(var F=0,B=I,N=O-z;B0&&(z+=R[F-1].length,O.holes.push(z))}return O}},2502:function(T,p,t){var d=t(68664);T.exports=function(g,i){var M,v=[],f=[],l=[],a={},u=[];function o(k){l[k]=!1,a.hasOwnProperty(k)&&Object.keys(a[k]).forEach(function(E){delete a[k][E],l[E]&&o(E)})}function s(k){var E,x,A=!1;for(f.push(k),l[k]=!0,E=0;E=O})})(k);for(var E,x=d(g).components.filter(function(O){return O.length>1}),A=1/0,L=0;L=55296&&k<=56319&&(L+=h[++w]),L=b?o.call(b,R,L,y):L,m?(s.value=L,c(S,y,s)):S[y]=L,++y;_=y}}if(_===void 0)for(_=M(h.length),m&&(S=new m(_)),w=0;w<_;++w)L=b?o.call(b,R,h[w],w):h[w],m?(s.value=L,c(S,w,s)):S[w]=L;return m&&(s.value=null,S.length=_),S}},73051:function(T){var p=Object.prototype.toString,t=p.call(function(){return arguments}());T.exports=function(d){return p.call(d)===t}},33717:function(T){var p=Object.prototype.toString,t=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);T.exports=function(d){return typeof d=="function"&&t(p.call(d))}},52345:function(T){T.exports=function(){}},9953:function(T,p,t){T.exports=t(90436)()?Math.sign:t(6069)},90436:function(T){T.exports=function(){var p=Math.sign;return typeof p=="function"&&p(10)===1&&p(-20)===-1}},6069:function(T){T.exports=function(p){return p=Number(p),isNaN(p)||p===0?p:p>0?1:-1}},56247:function(T,p,t){var d=t(9953),g=Math.abs,i=Math.floor;T.exports=function(M){return isNaN(M)?0:(M=Number(M))!==0&&isFinite(M)?d(M)*i(g(M)):M}},35976:function(T,p,t){var d=t(56247),g=Math.max;T.exports=function(i){return g(0,d(i))}},67260:function(T,p,t){var d=t(78513),g=t(36672),i=Function.prototype.bind,M=Function.prototype.call,v=Object.keys,f=Object.prototype.propertyIsEnumerable;T.exports=function(l,a){return function(u,o){var s,c=arguments[2],h=arguments[3];return u=Object(g(u)),d(o),s=v(u),h&&s.sort(typeof h=="function"?i.call(h,u):void 0),typeof l!="function"&&(l=s[l]),M.call(l,s,function(m,w){return f.call(u,m)?M.call(o,c,u[m],m,u,w):a})}}},95879:function(T,p,t){T.exports=t(73583)()?Object.assign:t(34205)},73583:function(T){T.exports=function(){var p,t=Object.assign;return typeof t=="function"&&(t(p={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),p.foo+p.bar+p.trzy==="razdwatrzy")}},34205:function(T,p,t){var d=t(68700),g=t(36672),i=Math.max;T.exports=function(M,v){var f,l,a,u=i(arguments.length,2);for(M=Object(g(M)),a=function(o){try{M[o]=v[o]}catch(s){f||(f=s)}},l=1;l-1}},87963:function(T){var p=Object.prototype.toString,t=p.call("");T.exports=function(d){return typeof d=="string"||d&&typeof d=="object"&&(d instanceof String||p.call(d)===t)||!1}},43043:function(T){var p=Object.create(null),t=Math.random;T.exports=function(){var d;do d=t().toString(36).slice(2);while(p[d]);return d}},32411:function(T,p,t){var d,g=t(1496),i=t(66741),M=t(62072),v=t(8260),f=t(95426),l=Object.defineProperty;d=T.exports=function(a,u){if(!(this instanceof d))throw new TypeError("Constructor requires 'new'");f.call(this,a),u=u?i.call(u,"key+value")?"key+value":i.call(u,"key")?"key":"value":"value",l(this,"__kind__",M("",u))},g&&g(d,f),delete d.prototype.constructor,d.prototype=Object.create(f.prototype,{_resolve:M(function(a){return this.__kind__==="value"?this.__list__[a]:this.__kind__==="key+value"?[a,this.__list__[a]]:a})}),l(d.prototype,v.toStringTag,M("c","Array Iterator"))},27515:function(T,p,t){var d=t(73051),g=t(78513),i=t(87963),M=t(66661),v=Array.isArray,f=Function.prototype.call,l=Array.prototype.some;T.exports=function(a,u){var o,s,c,h,m,w,y,S,_=arguments[2];if(v(a)||d(a)?o="array":i(a)?o="string":a=M(a),g(u),c=function(){h=!0},o!=="array")if(o!=="string")for(s=a.next();!s.done;){if(f.call(u,_,s.value,c),h)return;s=a.next()}else for(w=a.length,m=0;m=55296&&S<=56319&&(y+=a[++m]),f.call(u,_,y,c),!h);++m);else l.call(a,function(k){return f.call(u,_,k,c),h})}},66661:function(T,p,t){var d=t(73051),g=t(87963),i=t(32411),M=t(259),v=t(58095),f=t(8260).iterator;T.exports=function(l){return typeof v(l)[f]=="function"?l[f]():d(l)?new i(l):g(l)?new M(l):new i(l)}},95426:function(T,p,t){var d,g=t(16134),i=t(95879),M=t(78513),v=t(36672),f=t(62072),l=t(55174),a=t(8260),u=Object.defineProperty,o=Object.defineProperties;T.exports=d=function(s,c){if(!(this instanceof d))throw new TypeError("Constructor requires 'new'");o(this,{__list__:f("w",v(s)),__context__:f("w",c),__nextIndex__:f("w",0)}),c&&(M(c.on),c.on("_add",this._onAdd),c.on("_delete",this._onDelete),c.on("_clear",this._onClear))},delete d.prototype.constructor,o(d.prototype,i({_next:f(function(){var s;if(this.__list__)return this.__redo__&&(s=this.__redo__.shift())!==void 0?s:this.__nextIndex__=this.__nextIndex__||(++this.__nextIndex__,this.__redo__?(this.__redo__.forEach(function(c,h){c>=s&&(this.__redo__[h]=++c)},this),this.__redo__.push(s)):u(this,"__redo__",f("c",[s])))}),_onDelete:f(function(s){var c;s>=this.__nextIndex__||(--this.__nextIndex__,this.__redo__&&((c=this.__redo__.indexOf(s))!==-1&&this.__redo__.splice(c,1),this.__redo__.forEach(function(h,m){h>s&&(this.__redo__[m]=--h)},this)))}),_onClear:f(function(){this.__redo__&&g.call(this.__redo__),this.__nextIndex__=0})}))),u(d.prototype,a.iterator,f(function(){return this}))},35940:function(T,p,t){var d=t(73051),g=t(95296),i=t(87963),M=t(8260).iterator,v=Array.isArray;T.exports=function(f){return!(!g(f)||!v(f)&&!i(f)&&!d(f)&&typeof f[M]!="function")}},259:function(T,p,t){var d,g=t(1496),i=t(62072),M=t(8260),v=t(95426),f=Object.defineProperty;d=T.exports=function(l){if(!(this instanceof d))throw new TypeError("Constructor requires 'new'");l=String(l),v.call(this,l),f(this,"__length__",i("",l.length))},g&&g(d,v),delete d.prototype.constructor,d.prototype=Object.create(v.prototype,{_next:i(function(){if(this.__list__)return this.__nextIndex__=55296&&a<=56319?u+this.__list__[this.__nextIndex__++]:u})}),f(d.prototype,M.toStringTag,i("c","String Iterator"))},58095:function(T,p,t){var d=t(35940);T.exports=function(g){if(!d(g))throw new TypeError(g+" is not iterable");return g}},73523:function(T){function p(t,d){if(t==null)throw new TypeError("Cannot convert first argument to object");for(var g=Object(t),i=1;i0&&E.length>_&&!E.warned){E.warned=!0;var A=new Error("Possible EventEmitter memory leak detected. "+E.length+" "+String(w)+" listeners added. Use emitter.setMaxListeners() to increase limit");A.name="MaxListenersExceededWarning",A.emitter=m,A.type=w,A.count=E.length,x=A,console&&console.warn&&console.warn(x)}return m}function a(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function u(m,w,y){var S={fired:!1,wrapFn:void 0,target:m,type:w,listener:y},_=a.bind(S);return _.listener=y,S.wrapFn=_,_}function o(m,w,y){var S=m._events;if(S===void 0)return[];var _=S[w];return _===void 0?[]:typeof _=="function"?y?[_.listener||_]:[_]:y?function(k){for(var E=new Array(k.length),x=0;x0&&(k=w[0]),k instanceof Error)throw k;var E=new Error("Unhandled error."+(k?" ("+k.message+")":""));throw E.context=k,E}var x=_[m];if(x===void 0)return!1;if(typeof x=="function")d(x,this,w);else{var A=x.length,L=c(x,A);for(y=0;y=0;k--)if(y[k]===w||y[k].listener===w){E=y[k].listener,_=k;break}if(_<0)return this;_===0?y.shift():function(x,A){for(;A+1=0;S--)this.removeListener(m,w[S]);return this},i.prototype.listeners=function(m){return o(this,m,!0)},i.prototype.rawListeners=function(m){return o(this,m,!1)},i.listenerCount=function(m,w){return typeof m.listenerCount=="function"?m.listenerCount(w):s.call(m,w)},i.prototype.listenerCount=s,i.prototype.eventNames=function(){return this._eventsCount>0?p(this._events):[]}},60774:function(T){var p=function(){if(typeof self=="object"&&self)return self;if(typeof window=="object"&&window)return window;throw new Error("Unable to resolve global `this`")};T.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch{return p()}try{return __global__||p()}finally{delete Object.prototype.__global__}}()},94908:function(T,p,t){T.exports=t(51152)()?globalThis:t(60774)},51152:function(T){T.exports=function(){return typeof globalThis=="object"&&!!globalThis&&globalThis.Array===Array}},92770:function(T,p,t){var d=t(18546);T.exports=function(g){var i=typeof g;if(i==="string"){var M=g;if((g=+g)==0&&d(M))return!1}else if(i!=="number")return!1;return g-g<1}},30120:function(T,p,t){var d=t(90660);T.exports=function(g,i,M){if(!g)throw new TypeError("must specify data as first parameter");if(M=0|+(M||0),Array.isArray(g)&&g[0]&&typeof g[0][0]=="number"){var v,f,l,a,u=g[0].length,o=g.length*u;i&&typeof i!="string"||(i=new(d(i||"float32"))(o+M));var s=i.length-M;if(o!==s)throw new Error("source length "+o+" ("+u+"x"+g.length+") does not match destination length "+s);for(v=0,l=M;vM[0]-l[0]/2&&(h=l[0]/2,m+=l[1]);return v}},32879:function(T){function p(i,M){M||(M={}),(typeof i=="string"||Array.isArray(i))&&(M.family=i);var v=Array.isArray(M.family)?M.family.join(", "):M.family;if(!v)throw Error("`family` must be defined");var f=M.size||M.fontSize||M.em||48,l=M.weight||M.fontWeight||"",a=(i=[M.style||M.fontStyle||"",l,f].join(" ")+"px "+v,M.origin||"top");if(p.cache[v]&&f<=p.cache[v].em)return t(p.cache[v],a);var u=M.canvas||p.canvas,o=u.getContext("2d"),s={upper:M.upper!==void 0?M.upper:"H",lower:M.lower!==void 0?M.lower:"x",descent:M.descent!==void 0?M.descent:"p",ascent:M.ascent!==void 0?M.ascent:"h",tittle:M.tittle!==void 0?M.tittle:"i",overshoot:M.overshoot!==void 0?M.overshoot:"O"},c=Math.ceil(1.5*f);u.height=c,u.width=.5*c,o.font=i;var h="H",m={top:0};o.clearRect(0,0,c,c),o.textBaseline="top",o.fillStyle="black",o.fillText(h,0,0);var w=d(o.getImageData(0,0,c,c));o.clearRect(0,0,c,c),o.textBaseline="bottom",o.fillText(h,0,c);var y=d(o.getImageData(0,0,c,c));m.lineHeight=m.bottom=c-y+w,o.clearRect(0,0,c,c),o.textBaseline="alphabetic",o.fillText(h,0,c);var S=c-d(o.getImageData(0,0,c,c))-1+w;m.baseline=m.alphabetic=S,o.clearRect(0,0,c,c),o.textBaseline="middle",o.fillText(h,0,.5*c);var _=d(o.getImageData(0,0,c,c));m.median=m.middle=c-_-1+w-.5*c,o.clearRect(0,0,c,c),o.textBaseline="hanging",o.fillText(h,0,.5*c);var k=d(o.getImageData(0,0,c,c));m.hanging=c-k-1+w-.5*c,o.clearRect(0,0,c,c),o.textBaseline="ideographic",o.fillText(h,0,c);var E=d(o.getImageData(0,0,c,c));if(m.ideographic=c-E-1+w,s.upper&&(o.clearRect(0,0,c,c),o.textBaseline="top",o.fillText(s.upper,0,0),m.upper=d(o.getImageData(0,0,c,c)),m.capHeight=m.baseline-m.upper),s.lower&&(o.clearRect(0,0,c,c),o.textBaseline="top",o.fillText(s.lower,0,0),m.lower=d(o.getImageData(0,0,c,c)),m.xHeight=m.baseline-m.lower),s.tittle&&(o.clearRect(0,0,c,c),o.textBaseline="top",o.fillText(s.tittle,0,0),m.tittle=d(o.getImageData(0,0,c,c))),s.ascent&&(o.clearRect(0,0,c,c),o.textBaseline="top",o.fillText(s.ascent,0,0),m.ascent=d(o.getImageData(0,0,c,c))),s.descent&&(o.clearRect(0,0,c,c),o.textBaseline="top",o.fillText(s.descent,0,0),m.descent=g(o.getImageData(0,0,c,c))),s.overshoot){o.clearRect(0,0,c,c),o.textBaseline="top",o.fillText(s.overshoot,0,0);var x=g(o.getImageData(0,0,c,c));m.overshoot=x-S}for(var A in m)m[A]/=f;return m.em=f,p.cache[v]=m,t(m,a)}function t(i,M){var v={};for(var f in typeof M=="string"&&(M=i[M]),i)f!=="em"&&(v[f]=i[f]-M);return v}function d(i){for(var M=i.height,v=i.data,f=3;f0;f-=4)if(v[f]!==0)return Math.floor(.25*(f-3)/M)}T.exports=p,p.canvas=document.createElement("canvas"),p.cache={}},31353:function(T,p,t){var d=t(85395),g=Object.prototype.toString,i=Object.prototype.hasOwnProperty,M=function(l,a,u){for(var o=0,s=l.length;o=3&&(o=u),g.call(l)==="[object Array]"?M(l,a,o):typeof l=="string"?v(l,a,o):f(l,a,o)}},73047:function(T){var p="Function.prototype.bind called on incompatible ",t=Array.prototype.slice,d=Object.prototype.toString,g="[object Function]";T.exports=function(i){var M=this;if(typeof M!="function"||d.call(M)!==g)throw new TypeError(p+M);for(var v,f=t.call(arguments,1),l=function(){if(this instanceof v){var c=M.apply(this,f.concat(t.call(arguments)));return Object(c)===c?c:this}return M.apply(i,f.concat(t.call(arguments)))},a=Math.max(0,M.length-f.length),u=[],o=0;o"u"&&!t.canvas)return null;var d=t.canvas||document.createElement("canvas");typeof t.width=="number"&&(d.width=t.width),typeof t.height=="number"&&(d.height=t.height);var g,i=t;try{var M=[p];p.indexOf("webgl")===0&&M.push("experimental-"+p);for(var v=0;v"u"?d:o(Uint8Array),h={"%AggregateError%":typeof AggregateError>"u"?d:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?d:ArrayBuffer,"%ArrayIteratorPrototype%":u?o([][Symbol.iterator]()):d,"%AsyncFromSyncIteratorPrototype%":d,"%AsyncFunction%":s,"%AsyncGenerator%":s,"%AsyncGeneratorFunction%":s,"%AsyncIteratorPrototype%":s,"%Atomics%":typeof Atomics>"u"?d:Atomics,"%BigInt%":typeof BigInt>"u"?d:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?d:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?d:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?d:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?d:Float32Array,"%Float64Array%":typeof Float64Array>"u"?d:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?d:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":s,"%Int8Array%":typeof Int8Array>"u"?d:Int8Array,"%Int16Array%":typeof Int16Array>"u"?d:Int16Array,"%Int32Array%":typeof Int32Array>"u"?d:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":u?o(o([][Symbol.iterator]())):d,"%JSON%":typeof JSON=="object"?JSON:d,"%Map%":typeof Map>"u"?d:Map,"%MapIteratorPrototype%":typeof Map<"u"&&u?o(new Map()[Symbol.iterator]()):d,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?d:Promise,"%Proxy%":typeof Proxy>"u"?d:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?d:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?d:Set,"%SetIteratorPrototype%":typeof Set<"u"&&u?o(new Set()[Symbol.iterator]()):d,"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?d:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":u?o(""[Symbol.iterator]()):d,"%Symbol%":u?Symbol:d,"%SyntaxError%":g,"%ThrowTypeError%":a,"%TypedArray%":c,"%TypeError%":M,"%Uint8Array%":typeof Uint8Array>"u"?d:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?d:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?d:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?d:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?d:WeakMap,"%WeakRef%":typeof WeakRef>"u"?d:WeakRef,"%WeakSet%":typeof WeakSet>"u"?d:WeakSet};try{null.error}catch(z){var m=o(o(z));h["%Error.prototype%"]=m}var w=function z(F){var B;if(F==="%AsyncFunction%")B=v("async function () {}");else if(F==="%GeneratorFunction%")B=v("function* () {}");else if(F==="%AsyncGeneratorFunction%")B=v("async function* () {}");else if(F==="%AsyncGenerator%"){var N=z("%AsyncGeneratorFunction%");N&&(B=N.prototype)}else if(F==="%AsyncIteratorPrototype%"){var W=z("%AsyncGenerator%");W&&(B=o(W.prototype))}return h[F]=B,B},y={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},S=t(77575),_=t(35065),k=S.call(Function.call,Array.prototype.concat),E=S.call(Function.apply,Array.prototype.splice),x=S.call(Function.call,String.prototype.replace),A=S.call(Function.call,String.prototype.slice),L=S.call(Function.call,RegExp.prototype.exec),b=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,R=/\\(\\)?/g,I=function(z){var F=A(z,0,1),B=A(z,-1);if(F==="%"&&B!=="%")throw new g("invalid intrinsic syntax, expected closing `%`");if(B==="%"&&F!=="%")throw new g("invalid intrinsic syntax, expected opening `%`");var N=[];return x(z,b,function(W,j,$,U){N[N.length]=$?x(U,R,"$1"):j||W}),N},O=function(z,F){var B,N=z;if(_(y,N)&&(N="%"+(B=y[N])[0]+"%"),_(h,N)){var W=h[N];if(W===s&&(W=w(N)),W===void 0&&!F)throw new M("intrinsic "+z+" exists, but is not available. Please file an issue!");return{alias:B,name:N,value:W}}throw new g("intrinsic "+z+" does not exist!")};T.exports=function(z,F){if(typeof z!="string"||z.length===0)throw new M("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof F!="boolean")throw new M('"allowMissing" argument must be a boolean');if(L(/^%?[^%]*%?$/,z)===null)throw new g("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var B=I(z),N=B.length>0?B[0]:"",W=O("%"+N+"%",F),j=W.name,$=W.value,U=!1,G=W.alias;G&&(N=G[0],E(B,k([0,1],G)));for(var q=1,H=!0;q=B.length){var X=f($,ne);$=(H=!!X)&&"get"in X&&!("originalValue"in X.get)?X.get:$[ne]}else H=_($,ne),$=$[ne];H&&!U&&(h[j]=$)}}return $}},85400:function(T){T.exports=function(p,t){var d=t[0],g=t[1],i=t[2],M=t[3],v=t[4],f=t[5],l=t[6],a=t[7],u=t[8],o=t[9],s=t[10],c=t[11],h=t[12],m=t[13],w=t[14],y=t[15];return p[0]=f*(s*y-c*w)-o*(l*y-a*w)+m*(l*c-a*s),p[1]=-(g*(s*y-c*w)-o*(i*y-M*w)+m*(i*c-M*s)),p[2]=g*(l*y-a*w)-f*(i*y-M*w)+m*(i*a-M*l),p[3]=-(g*(l*c-a*s)-f*(i*c-M*s)+o*(i*a-M*l)),p[4]=-(v*(s*y-c*w)-u*(l*y-a*w)+h*(l*c-a*s)),p[5]=d*(s*y-c*w)-u*(i*y-M*w)+h*(i*c-M*s),p[6]=-(d*(l*y-a*w)-v*(i*y-M*w)+h*(i*a-M*l)),p[7]=d*(l*c-a*s)-v*(i*c-M*s)+u*(i*a-M*l),p[8]=v*(o*y-c*m)-u*(f*y-a*m)+h*(f*c-a*o),p[9]=-(d*(o*y-c*m)-u*(g*y-M*m)+h*(g*c-M*o)),p[10]=d*(f*y-a*m)-v*(g*y-M*m)+h*(g*a-M*f),p[11]=-(d*(f*c-a*o)-v*(g*c-M*o)+u*(g*a-M*f)),p[12]=-(v*(o*w-s*m)-u*(f*w-l*m)+h*(f*s-l*o)),p[13]=d*(o*w-s*m)-u*(g*w-i*m)+h*(g*s-i*o),p[14]=-(d*(f*w-l*m)-v*(g*w-i*m)+h*(g*l-i*f)),p[15]=d*(f*s-l*o)-v*(g*s-i*o)+u*(g*l-i*f),p}},42331:function(T){T.exports=function(p){var t=new Float32Array(16);return t[0]=p[0],t[1]=p[1],t[2]=p[2],t[3]=p[3],t[4]=p[4],t[5]=p[5],t[6]=p[6],t[7]=p[7],t[8]=p[8],t[9]=p[9],t[10]=p[10],t[11]=p[11],t[12]=p[12],t[13]=p[13],t[14]=p[14],t[15]=p[15],t}},31042:function(T){T.exports=function(p,t){return p[0]=t[0],p[1]=t[1],p[2]=t[2],p[3]=t[3],p[4]=t[4],p[5]=t[5],p[6]=t[6],p[7]=t[7],p[8]=t[8],p[9]=t[9],p[10]=t[10],p[11]=t[11],p[12]=t[12],p[13]=t[13],p[14]=t[14],p[15]=t[15],p}},11902:function(T){T.exports=function(){var p=new Float32Array(16);return p[0]=1,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=1,p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=1,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},89887:function(T){T.exports=function(p){var t=p[0],d=p[1],g=p[2],i=p[3],M=p[4],v=p[5],f=p[6],l=p[7],a=p[8],u=p[9],o=p[10],s=p[11],c=p[12],h=p[13],m=p[14],w=p[15];return(t*v-d*M)*(o*w-s*m)-(t*f-g*M)*(u*w-s*h)+(t*l-i*M)*(u*m-o*h)+(d*f-g*v)*(a*w-s*c)-(d*l-i*v)*(a*m-o*c)+(g*l-i*f)*(a*h-u*c)}},27812:function(T){T.exports=function(p,t){var d=t[0],g=t[1],i=t[2],M=t[3],v=d+d,f=g+g,l=i+i,a=d*v,u=g*v,o=g*f,s=i*v,c=i*f,h=i*l,m=M*v,w=M*f,y=M*l;return p[0]=1-o-h,p[1]=u+y,p[2]=s-w,p[3]=0,p[4]=u-y,p[5]=1-a-h,p[6]=c+m,p[7]=0,p[8]=s+w,p[9]=c-m,p[10]=1-a-o,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},34045:function(T){T.exports=function(p,t,d){var g,i,M,v=d[0],f=d[1],l=d[2],a=Math.sqrt(v*v+f*f+l*l);return Math.abs(a)<1e-6?null:(v*=a=1/a,f*=a,l*=a,g=Math.sin(t),M=1-(i=Math.cos(t)),p[0]=v*v*M+i,p[1]=f*v*M+l*g,p[2]=l*v*M-f*g,p[3]=0,p[4]=v*f*M-l*g,p[5]=f*f*M+i,p[6]=l*f*M+v*g,p[7]=0,p[8]=v*l*M+f*g,p[9]=f*l*M-v*g,p[10]=l*l*M+i,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p)}},45973:function(T){T.exports=function(p,t,d){var g=t[0],i=t[1],M=t[2],v=t[3],f=g+g,l=i+i,a=M+M,u=g*f,o=g*l,s=g*a,c=i*l,h=i*a,m=M*a,w=v*f,y=v*l,S=v*a;return p[0]=1-(c+m),p[1]=o+S,p[2]=s-y,p[3]=0,p[4]=o-S,p[5]=1-(u+m),p[6]=h+w,p[7]=0,p[8]=s+y,p[9]=h-w,p[10]=1-(u+c),p[11]=0,p[12]=d[0],p[13]=d[1],p[14]=d[2],p[15]=1,p}},81472:function(T){T.exports=function(p,t){return p[0]=t[0],p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=t[1],p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=t[2],p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},14669:function(T){T.exports=function(p,t){return p[0]=1,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=1,p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=1,p[11]=0,p[12]=t[0],p[13]=t[1],p[14]=t[2],p[15]=1,p}},75262:function(T){T.exports=function(p,t){var d=Math.sin(t),g=Math.cos(t);return p[0]=1,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=g,p[6]=d,p[7]=0,p[8]=0,p[9]=-d,p[10]=g,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},331:function(T){T.exports=function(p,t){var d=Math.sin(t),g=Math.cos(t);return p[0]=g,p[1]=0,p[2]=-d,p[3]=0,p[4]=0,p[5]=1,p[6]=0,p[7]=0,p[8]=d,p[9]=0,p[10]=g,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},11049:function(T){T.exports=function(p,t){var d=Math.sin(t),g=Math.cos(t);return p[0]=g,p[1]=d,p[2]=0,p[3]=0,p[4]=-d,p[5]=g,p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=1,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},75195:function(T){T.exports=function(p,t,d,g,i,M,v){var f=1/(d-t),l=1/(i-g),a=1/(M-v);return p[0]=2*M*f,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=2*M*l,p[6]=0,p[7]=0,p[8]=(d+t)*f,p[9]=(i+g)*l,p[10]=(v+M)*a,p[11]=-1,p[12]=0,p[13]=0,p[14]=v*M*2*a,p[15]=0,p}},71551:function(T){T.exports=function(p){return p[0]=1,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=1,p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=1,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},79576:function(T,p,t){T.exports={create:t(11902),clone:t(42331),copy:t(31042),identity:t(71551),transpose:t(88654),invert:t(95874),adjoint:t(85400),determinant:t(89887),multiply:t(91362),translate:t(31283),scale:t(10789),rotate:t(65074),rotateX:t(35545),rotateY:t(94918),rotateZ:t(15692),fromRotation:t(34045),fromRotationTranslation:t(45973),fromScaling:t(81472),fromTranslation:t(14669),fromXRotation:t(75262),fromYRotation:t(331),fromZRotation:t(11049),fromQuat:t(27812),frustum:t(75195),perspective:t(7864),perspectiveFromFieldOfView:t(35279),ortho:t(60378),lookAt:t(65551),str:t(6726)}},95874:function(T){T.exports=function(p,t){var d=t[0],g=t[1],i=t[2],M=t[3],v=t[4],f=t[5],l=t[6],a=t[7],u=t[8],o=t[9],s=t[10],c=t[11],h=t[12],m=t[13],w=t[14],y=t[15],S=d*f-g*v,_=d*l-i*v,k=d*a-M*v,E=g*l-i*f,x=g*a-M*f,A=i*a-M*l,L=u*m-o*h,b=u*w-s*h,R=u*y-c*h,I=o*w-s*m,O=o*y-c*m,z=s*y-c*w,F=S*z-_*O+k*I+E*R-x*b+A*L;return F?(F=1/F,p[0]=(f*z-l*O+a*I)*F,p[1]=(i*O-g*z-M*I)*F,p[2]=(m*A-w*x+y*E)*F,p[3]=(s*x-o*A-c*E)*F,p[4]=(l*R-v*z-a*b)*F,p[5]=(d*z-i*R+M*b)*F,p[6]=(w*k-h*A-y*_)*F,p[7]=(u*A-s*k+c*_)*F,p[8]=(v*O-f*R+a*L)*F,p[9]=(g*R-d*O-M*L)*F,p[10]=(h*x-m*k+y*S)*F,p[11]=(o*k-u*x-c*S)*F,p[12]=(f*b-v*I-l*L)*F,p[13]=(d*I-g*b+i*L)*F,p[14]=(m*_-h*E-w*S)*F,p[15]=(u*E-o*_+s*S)*F,p):null}},65551:function(T,p,t){var d=t(71551);T.exports=function(g,i,M,v){var f,l,a,u,o,s,c,h,m,w,y=i[0],S=i[1],_=i[2],k=v[0],E=v[1],x=v[2],A=M[0],L=M[1],b=M[2];return Math.abs(y-A)<1e-6&&Math.abs(S-L)<1e-6&&Math.abs(_-b)<1e-6?d(g):(c=y-A,h=S-L,m=_-b,f=E*(m*=w=1/Math.sqrt(c*c+h*h+m*m))-x*(h*=w),l=x*(c*=w)-k*m,a=k*h-E*c,(w=Math.sqrt(f*f+l*l+a*a))?(f*=w=1/w,l*=w,a*=w):(f=0,l=0,a=0),u=h*a-m*l,o=m*f-c*a,s=c*l-h*f,(w=Math.sqrt(u*u+o*o+s*s))?(u*=w=1/w,o*=w,s*=w):(u=0,o=0,s=0),g[0]=f,g[1]=u,g[2]=c,g[3]=0,g[4]=l,g[5]=o,g[6]=h,g[7]=0,g[8]=a,g[9]=s,g[10]=m,g[11]=0,g[12]=-(f*y+l*S+a*_),g[13]=-(u*y+o*S+s*_),g[14]=-(c*y+h*S+m*_),g[15]=1,g)}},91362:function(T){T.exports=function(p,t,d){var g=t[0],i=t[1],M=t[2],v=t[3],f=t[4],l=t[5],a=t[6],u=t[7],o=t[8],s=t[9],c=t[10],h=t[11],m=t[12],w=t[13],y=t[14],S=t[15],_=d[0],k=d[1],E=d[2],x=d[3];return p[0]=_*g+k*f+E*o+x*m,p[1]=_*i+k*l+E*s+x*w,p[2]=_*M+k*a+E*c+x*y,p[3]=_*v+k*u+E*h+x*S,_=d[4],k=d[5],E=d[6],x=d[7],p[4]=_*g+k*f+E*o+x*m,p[5]=_*i+k*l+E*s+x*w,p[6]=_*M+k*a+E*c+x*y,p[7]=_*v+k*u+E*h+x*S,_=d[8],k=d[9],E=d[10],x=d[11],p[8]=_*g+k*f+E*o+x*m,p[9]=_*i+k*l+E*s+x*w,p[10]=_*M+k*a+E*c+x*y,p[11]=_*v+k*u+E*h+x*S,_=d[12],k=d[13],E=d[14],x=d[15],p[12]=_*g+k*f+E*o+x*m,p[13]=_*i+k*l+E*s+x*w,p[14]=_*M+k*a+E*c+x*y,p[15]=_*v+k*u+E*h+x*S,p}},60378:function(T){T.exports=function(p,t,d,g,i,M,v){var f=1/(t-d),l=1/(g-i),a=1/(M-v);return p[0]=-2*f,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=-2*l,p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=2*a,p[11]=0,p[12]=(t+d)*f,p[13]=(i+g)*l,p[14]=(v+M)*a,p[15]=1,p}},7864:function(T){T.exports=function(p,t,d,g,i){var M=1/Math.tan(t/2),v=1/(g-i);return p[0]=M/d,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=M,p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=(i+g)*v,p[11]=-1,p[12]=0,p[13]=0,p[14]=2*i*g*v,p[15]=0,p}},35279:function(T){T.exports=function(p,t,d,g){var i=Math.tan(t.upDegrees*Math.PI/180),M=Math.tan(t.downDegrees*Math.PI/180),v=Math.tan(t.leftDegrees*Math.PI/180),f=Math.tan(t.rightDegrees*Math.PI/180),l=2/(v+f),a=2/(i+M);return p[0]=l,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=a,p[6]=0,p[7]=0,p[8]=-(v-f)*l*.5,p[9]=(i-M)*a*.5,p[10]=g/(d-g),p[11]=-1,p[12]=0,p[13]=0,p[14]=g*d/(d-g),p[15]=0,p}},65074:function(T){T.exports=function(p,t,d,g){var i,M,v,f,l,a,u,o,s,c,h,m,w,y,S,_,k,E,x,A,L,b,R,I,O=g[0],z=g[1],F=g[2],B=Math.sqrt(O*O+z*z+F*F);return Math.abs(B)<1e-6?null:(O*=B=1/B,z*=B,F*=B,i=Math.sin(d),v=1-(M=Math.cos(d)),f=t[0],l=t[1],a=t[2],u=t[3],o=t[4],s=t[5],c=t[6],h=t[7],m=t[8],w=t[9],y=t[10],S=t[11],_=O*O*v+M,k=z*O*v+F*i,E=F*O*v-z*i,x=O*z*v-F*i,A=z*z*v+M,L=F*z*v+O*i,b=O*F*v+z*i,R=z*F*v-O*i,I=F*F*v+M,p[0]=f*_+o*k+m*E,p[1]=l*_+s*k+w*E,p[2]=a*_+c*k+y*E,p[3]=u*_+h*k+S*E,p[4]=f*x+o*A+m*L,p[5]=l*x+s*A+w*L,p[6]=a*x+c*A+y*L,p[7]=u*x+h*A+S*L,p[8]=f*b+o*R+m*I,p[9]=l*b+s*R+w*I,p[10]=a*b+c*R+y*I,p[11]=u*b+h*R+S*I,t!==p&&(p[12]=t[12],p[13]=t[13],p[14]=t[14],p[15]=t[15]),p)}},35545:function(T){T.exports=function(p,t,d){var g=Math.sin(d),i=Math.cos(d),M=t[4],v=t[5],f=t[6],l=t[7],a=t[8],u=t[9],o=t[10],s=t[11];return t!==p&&(p[0]=t[0],p[1]=t[1],p[2]=t[2],p[3]=t[3],p[12]=t[12],p[13]=t[13],p[14]=t[14],p[15]=t[15]),p[4]=M*i+a*g,p[5]=v*i+u*g,p[6]=f*i+o*g,p[7]=l*i+s*g,p[8]=a*i-M*g,p[9]=u*i-v*g,p[10]=o*i-f*g,p[11]=s*i-l*g,p}},94918:function(T){T.exports=function(p,t,d){var g=Math.sin(d),i=Math.cos(d),M=t[0],v=t[1],f=t[2],l=t[3],a=t[8],u=t[9],o=t[10],s=t[11];return t!==p&&(p[4]=t[4],p[5]=t[5],p[6]=t[6],p[7]=t[7],p[12]=t[12],p[13]=t[13],p[14]=t[14],p[15]=t[15]),p[0]=M*i-a*g,p[1]=v*i-u*g,p[2]=f*i-o*g,p[3]=l*i-s*g,p[8]=M*g+a*i,p[9]=v*g+u*i,p[10]=f*g+o*i,p[11]=l*g+s*i,p}},15692:function(T){T.exports=function(p,t,d){var g=Math.sin(d),i=Math.cos(d),M=t[0],v=t[1],f=t[2],l=t[3],a=t[4],u=t[5],o=t[6],s=t[7];return t!==p&&(p[8]=t[8],p[9]=t[9],p[10]=t[10],p[11]=t[11],p[12]=t[12],p[13]=t[13],p[14]=t[14],p[15]=t[15]),p[0]=M*i+a*g,p[1]=v*i+u*g,p[2]=f*i+o*g,p[3]=l*i+s*g,p[4]=a*i-M*g,p[5]=u*i-v*g,p[6]=o*i-f*g,p[7]=s*i-l*g,p}},10789:function(T){T.exports=function(p,t,d){var g=d[0],i=d[1],M=d[2];return p[0]=t[0]*g,p[1]=t[1]*g,p[2]=t[2]*g,p[3]=t[3]*g,p[4]=t[4]*i,p[5]=t[5]*i,p[6]=t[6]*i,p[7]=t[7]*i,p[8]=t[8]*M,p[9]=t[9]*M,p[10]=t[10]*M,p[11]=t[11]*M,p[12]=t[12],p[13]=t[13],p[14]=t[14],p[15]=t[15],p}},6726:function(T){T.exports=function(p){return"mat4("+p[0]+", "+p[1]+", "+p[2]+", "+p[3]+", "+p[4]+", "+p[5]+", "+p[6]+", "+p[7]+", "+p[8]+", "+p[9]+", "+p[10]+", "+p[11]+", "+p[12]+", "+p[13]+", "+p[14]+", "+p[15]+")"}},31283:function(T){T.exports=function(p,t,d){var g,i,M,v,f,l,a,u,o,s,c,h,m=d[0],w=d[1],y=d[2];return t===p?(p[12]=t[0]*m+t[4]*w+t[8]*y+t[12],p[13]=t[1]*m+t[5]*w+t[9]*y+t[13],p[14]=t[2]*m+t[6]*w+t[10]*y+t[14],p[15]=t[3]*m+t[7]*w+t[11]*y+t[15]):(g=t[0],i=t[1],M=t[2],v=t[3],f=t[4],l=t[5],a=t[6],u=t[7],o=t[8],s=t[9],c=t[10],h=t[11],p[0]=g,p[1]=i,p[2]=M,p[3]=v,p[4]=f,p[5]=l,p[6]=a,p[7]=u,p[8]=o,p[9]=s,p[10]=c,p[11]=h,p[12]=g*m+f*w+o*y+t[12],p[13]=i*m+l*w+s*y+t[13],p[14]=M*m+a*w+c*y+t[14],p[15]=v*m+u*w+h*y+t[15]),p}},88654:function(T){T.exports=function(p,t){if(p===t){var d=t[1],g=t[2],i=t[3],M=t[6],v=t[7],f=t[11];p[1]=t[4],p[2]=t[8],p[3]=t[12],p[4]=d,p[6]=t[9],p[7]=t[13],p[8]=g,p[9]=M,p[11]=t[14],p[12]=i,p[13]=v,p[14]=f}else p[0]=t[0],p[1]=t[4],p[2]=t[8],p[3]=t[12],p[4]=t[1],p[5]=t[5],p[6]=t[9],p[7]=t[13],p[8]=t[2],p[9]=t[6],p[10]=t[10],p[11]=t[14],p[12]=t[3],p[13]=t[7],p[14]=t[11],p[15]=t[15];return p}},42505:function(T,p,t){var d=t(72791),g=t(71299),i=t(98580),M=t(12018),v=t(83522),f=t(25075),l=t(68016),a=t(58404),u=t(18863),o=t(10973),s=t(25677),c=t(75686),h=t(53545),m=t(56131),w=t(32879),y=t(30120),S=t(13547).nextPow2,_=new v,k=!1;if(document.body){var E=document.body.appendChild(document.createElement("div"));E.style.font="italic small-caps bold condensed 16px/2 cursive",getComputedStyle(E).fontStretch&&(k=!0),document.body.removeChild(E)}var x=function(A){(function(L){return typeof L=="function"&&L._gl&&L.prop&&L.texture&&L.buffer})(A)?(A={regl:A},this.gl=A.regl._gl):this.gl=M(A),this.shader=_.get(this.gl),this.shader?this.regl=this.shader.regl:this.regl=A.regl||i({gl:this.gl}),this.charBuffer=this.regl.buffer({type:"uint8",usage:"stream"}),this.sizeBuffer=this.regl.buffer({type:"float",usage:"stream"}),this.shader||(this.shader=this.createShader(),_.set(this.gl,this.shader)),this.batch=[],this.fontSize=[],this.font=[],this.fontAtlas=[],this.draw=this.shader.draw.bind(this),this.render=function(){this.regl._refresh(),this.draw(this.batch)},this.canvas=this.gl.canvas,this.update(o(A)?A:{})};x.prototype.createShader=function(){var A=this.regl,L=A({blend:{enable:!0,color:[0,0,0,1],func:{srcRGB:"src alpha",dstRGB:"one minus src alpha",srcAlpha:"one minus dst alpha",dstAlpha:"one"}},stencil:{enable:!1},depth:{enable:!1},count:A.prop("count"),offset:A.prop("offset"),attributes:{charOffset:{offset:4,stride:8,buffer:A.this("sizeBuffer")},width:{offset:0,stride:8,buffer:A.this("sizeBuffer")},char:A.this("charBuffer"),position:A.this("position")},uniforms:{atlasSize:function(b,R){return[R.atlas.width,R.atlas.height]},atlasDim:function(b,R){return[R.atlas.cols,R.atlas.rows]},atlas:function(b,R){return R.atlas.texture},charStep:function(b,R){return R.atlas.step},em:function(b,R){return R.atlas.em},color:A.prop("color"),opacity:A.prop("opacity"),viewport:A.this("viewportArray"),scale:A.this("scale"),align:A.prop("align"),baseline:A.prop("baseline"),translate:A.this("translate"),positionOffset:A.prop("positionOffset")},primitive:"points",viewport:A.this("viewport"),vert:` ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js - precision highp float; - attribute float width, charOffset, char; - attribute vec2 position; - uniform float fontSize, charStep, em, align, baseline; - uniform vec4 viewport; - uniform vec4 color; - uniform vec2 atlasSize, atlasDim, scale, translate, positionOffset; - varying vec2 charCoord, charId; - varying float charWidth; - varying vec4 fontColor; - void main () { - vec2 offset = floor(em * (vec2(align + charOffset, baseline) - + vec2(positionOffset.x, -positionOffset.y))) - / (viewport.zw * scale.xy); - - vec2 position = (position + translate) * scale; - position += offset * scale; - - charCoord = position * viewport.zw + viewport.xy; - - gl_Position = vec4(position * 2. - 1., 0, 1); - - gl_PointSize = charStep; - - charId.x = mod(char, atlasDim.x); - charId.y = floor(char / atlasDim.x); - - charWidth = width * em; - - fontColor = color / 255.; - }`,frag:` - precision highp float; - uniform float fontSize, charStep, opacity; - uniform vec2 atlasSize; - uniform vec4 viewport; - uniform sampler2D atlas; - varying vec4 fontColor; - varying vec2 charCoord, charId; - varying float charWidth; - - float lightness(vec4 color) { - return color.r * 0.299 + color.g * 0.587 + color.b * 0.114; - } - - void main () { - vec2 uv = gl_FragCoord.xy - charCoord + charStep * .5; - float halfCharStep = floor(charStep * .5 + .5); - - // invert y and shift by 1px (FF expecially needs that) - uv.y = charStep - uv.y; - - // ignore points outside of character bounding box - float halfCharWidth = ceil(charWidth * .5); - if (floor(uv.x) > halfCharStep + halfCharWidth || - floor(uv.x) < halfCharStep - halfCharWidth) return; - - uv += charId * charStep; - uv = uv / atlasSize; - - vec4 color = fontColor; - vec4 mask = texture2D(atlas, uv); - - float maskY = lightness(mask); - // float colorY = lightness(color); - color.a *= maskY; - color.a *= opacity; - - // color.a += .1; - - // antialiasing, see yiq color space y-channel formula - // color.rgb += (1. - color.rgb) * (1. - mask.rgb); - - gl_FragColor = color; -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js - }`});return{regl:A,draw:L,atlas:{}}},x.prototype.update=function(A){var L=this;if(typeof A=="string")A={text:A};else if(!A)return;(A=g(A,{position:"position positions coord coords coordinates",font:"font fontFace fontface typeface cssFont css-font family fontFamily",fontSize:"fontSize fontsize size font-size",text:"text texts chars characters value values symbols",align:"align alignment textAlign textbaseline",baseline:"baseline textBaseline textbaseline",direction:"dir direction textDirection",color:"color colour fill fill-color fillColor textColor textcolor",kerning:"kerning kern",range:"range dataBox",viewport:"vp viewport viewBox viewbox viewPort",opacity:"opacity alpha transparency visible visibility opaque",offset:"offset positionOffset padding shift indent indentation"},!0)).opacity!=null&&(Array.isArray(A.opacity)?this.opacity=A.opacity.map(function(ae){return parseFloat(ae)}):this.opacity=parseFloat(A.opacity)),A.viewport!=null&&(this.viewport=u(A.viewport),this.viewportArray=[this.viewport.x,this.viewport.y,this.viewport.width,this.viewport.height]),this.viewport==null&&(this.viewport={x:0,y:0,width:this.gl.drawingBufferWidth,height:this.gl.drawingBufferHeight},this.viewportArray=[this.viewport.x,this.viewport.y,this.viewport.width,this.viewport.height]),A.kerning!=null&&(this.kerning=A.kerning),A.offset!=null&&(typeof A.offset=="number"&&(A.offset=[A.offset,0]),this.positionOffset=y(A.offset)),A.direction&&(this.direction=A.direction),A.range&&(this.range=A.range,this.scale=[1/(A.range[2]-A.range[0]),1/(A.range[3]-A.range[1])],this.translate=[-A.range[0],-A.range[1]]),A.scale&&(this.scale=A.scale),A.translate&&(this.translate=A.translate),this.scale||(this.scale=[1/this.viewport.width,1/this.viewport.height]),this.translate||(this.translate=[0,0]),this.font.length||A.font||(A.font=x.baseFontSize+"px sans-serif");var b,R=!1,I=!1;if(A.font&&(Array.isArray(A.font)?A.font:[A.font]).forEach(function(ae,fe){if(typeof ae=="string")try{ae=d.parse(ae)}catch{ae=d.parse(x.baseFontSize+"px "+ae)}else ae=d.parse(d.stringify(ae));var be=d.stringify({size:x.baseFontSize,family:ae.family,stretch:k?ae.stretch:void 0,variant:ae.variant,weight:ae.weight,style:ae.style}),ke=s(ae.size),Le=Math.round(ke[0]*h(ke[1]));if(Le!==L.fontSize[fe]&&(I=!0,L.fontSize[fe]=Le),!(L.font[fe]&&be==L.font[fe].baseString||(R=!0,L.font[fe]=x.fonts[be],L.font[fe]))){var Be=ae.family.join(", "),ze=[ae.style];ae.style!=ae.variant&&ze.push(ae.variant),ae.variant!=ae.weight&&ze.push(ae.weight),k&&ae.weight!=ae.stretch&&ze.push(ae.stretch),L.font[fe]={baseString:be,family:Be,weight:ae.weight,stretch:ae.stretch,style:ae.style,variant:ae.variant,width:{},kerning:{},metrics:w(Be,{origin:"top",fontSize:x.baseFontSize,fontStyle:ze.join(" ")})},x.fonts[be]=L.font[fe]}}),(R||I)&&this.font.forEach(function(ae,fe){var be=d.stringify({size:L.fontSize[fe],family:ae.family,stretch:k?ae.stretch:void 0,variant:ae.variant,weight:ae.weight,style:ae.style});if(L.fontAtlas[fe]=L.shader.atlas[be],!L.fontAtlas[fe]){var ke=ae.metrics;L.shader.atlas[be]=L.fontAtlas[fe]={fontString:be,step:2*Math.ceil(L.fontSize[fe]*ke.bottom*.5),em:L.fontSize[fe],cols:0,rows:0,height:0,width:0,chars:[],ids:{},texture:L.regl.texture()}}A.text==null&&(A.text=L.text)}),typeof A.text=="string"&&A.position&&A.position.length>2){for(var O=Array(.5*A.position.length),z=0;z2){for(var B=!A.position[0].length,N=a.mallocFloat(2*this.count),W=0,j=0;W1?L.align[fe]:L.align[0]:L.align;if(typeof be=="number")return be;switch(be){case"right":case"end":return-ae;case"center":case"centre":case"middle":return .5*-ae}return 0})),this.baseline==null&&A.baseline==null&&(A.baseline=0),A.baseline!=null&&(this.baseline=A.baseline,Array.isArray(this.baseline)||(this.baseline=[this.baseline]),this.baselineOffset=this.baseline.map(function(ae,fe){var be=(L.font[fe]||L.font[0]).metrics,ke=0;return ke+=.5*be.bottom,-1*(ke+=typeof ae=="number"?ae-be.baseline:-be[ae])})),A.color!=null)if(A.color||(A.color="transparent"),typeof A.color!="string"&&isNaN(A.color)){var me;if(typeof A.color[0]=="number"&&A.color.length>this.counts.length){var pe=A.color.length;me=a.mallocUint8(pe);for(var xe=(A.color.subarray||A.color.slice).bind(A.color),Pe=0;Pe4||this.baselineOffset.length>1||this.align&&this.align.length>1||this.fontAtlas.length>1||this.positionOffset.length>2){var Se=Math.max(.5*this.position.length||0,.25*this.color.length||0,this.baselineOffset.length||0,this.alignOffset.length||0,this.font.length||0,this.opacity.length||0,.5*this.positionOffset.length||0);this.batch=Array(Se);for(var Ce=0;Ce1?this.counts[Ce]:this.counts[0],offset:this.textOffsets.length>1?this.textOffsets[Ce]:this.textOffsets[0],color:this.color?this.color.length<=4?this.color:this.color.subarray(4*Ce,4*Ce+4):[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[Ce]:this.opacity,baseline:this.baselineOffset[Ce]!=null?this.baselineOffset[Ce]:this.baselineOffset[0],align:this.align?this.alignOffset[Ce]!=null?this.alignOffset[Ce]:this.alignOffset[0]:0,atlas:this.fontAtlas[Ce]||this.fontAtlas[0],positionOffset:this.positionOffset.length>2?this.positionOffset.subarray(2*Ce,2*Ce+2):this.positionOffset}}else this.count?this.batch=[{count:this.count,offset:0,color:this.color||[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[0]:this.opacity,baseline:this.baselineOffset[0],align:this.alignOffset?this.alignOffset[0]:0,atlas:this.fontAtlas[0],positionOffset:this.positionOffset}]:this.batch=[]},x.prototype.destroy=function(){},x.prototype.kerning=!0,x.prototype.position={constant:new Float32Array(2)},x.prototype.translate=null,x.prototype.scale=null,x.prototype.font=null,x.prototype.text="",x.prototype.positionOffset=[0,0],x.prototype.opacity=1,x.prototype.color=new Uint8Array([0,0,0,255]),x.prototype.alignOffset=[0,0],x.maxAtlasSize=1024,x.atlasCanvas=document.createElement("canvas"),x.atlasContext=x.atlasCanvas.getContext("2d",{alpha:!1}),x.baseFontSize=64,x.fonts={},T.exports=x},12018:function(T,p,t){var d=t(71299);function g(v){if(v.container)if(v.container==document.body)document.body.style.width||(v.canvas.width=v.width||v.pixelRatio*t.g.innerWidth),document.body.style.height||(v.canvas.height=v.height||v.pixelRatio*t.g.innerHeight);else{var f=v.container.getBoundingClientRect();v.canvas.width=v.width||f.right-f.left,v.canvas.height=v.height||f.bottom-f.top}}function i(v){return typeof v.getContext=="function"&&"width"in v&&"height"in v}function M(){var v=document.createElement("canvas");return v.style.position="absolute",v.style.top=0,v.style.left=0,v}T.exports=function(v){var f;if(v?typeof v=="string"&&(v={container:v}):v={},(v=i(v)||typeof(f=v).nodeName=="string"&&typeof f.appendChild=="function"&&typeof f.getBoundingClientRect=="function"?{container:v}:function(a){return typeof a.drawArrays=="function"||typeof a.drawElements=="function"}(v)?{gl:v}:d(v,{container:"container target element el canvas holder parent parentNode wrapper use ref root node",gl:"gl context webgl glContext",attrs:"attributes attrs contextAttributes",pixelRatio:"pixelRatio pxRatio px ratio pxratio pixelratio",width:"w width",height:"h height"},!0)).pixelRatio||(v.pixelRatio=t.g.pixelRatio||1),v.gl)return v.gl;if(v.canvas&&(v.container=v.canvas.parentNode),v.container){if(typeof v.container=="string"){var l=document.querySelector(v.container);if(!l)throw Error("Element "+v.container+" is not found");v.container=l}i(v.container)?(v.canvas=v.container,v.container=v.canvas.parentNode):v.canvas||(v.canvas=M(),v.container.appendChild(v.canvas),g(v))}else if(!v.canvas){if(typeof document>"u")throw Error("Not DOM environment. Use headless-gl.");v.container=document.body||document.documentElement,v.canvas=M(),v.container.appendChild(v.canvas),g(v)}return v.gl||["webgl","experimental-webgl","webgl-experimental"].some(function(a){try{v.gl=v.canvas.getContext(a,v.attrs)}catch{}return v.gl}),v.gl}},56068:function(T){T.exports=function(p){typeof p=="string"&&(p=[p]);for(var t=[].slice.call(arguments,1),d=[],g=0;g>1,o=-7,s=g?M-1:0,h=g?-1:1,c=t[d+s];for(s+=h,v=c&(1<<-o)-1,c>>=-o,o+=l;o>0;v=256*v+t[d+s],s+=h,o-=8);for(f=v&(1<<-o)-1,v>>=-o,o+=i;o>0;f=256*f+t[d+s],s+=h,o-=8);if(v===0)v=1-u;else{if(v===a)return f?NaN:1/0*(c?-1:1);f+=Math.pow(2,i),v-=u}return(c?-1:1)*f*Math.pow(2,v-i)},p.write=function(t,d,g,i,M,v){var f,l,a,u=8*v-M-1,o=(1<>1,h=M===23?Math.pow(2,-24)-Math.pow(2,-77):0,c=i?0:v-1,m=i?1:-1,w=d<0||d===0&&1/d<0?1:0;for(d=Math.abs(d),isNaN(d)||d===1/0?(l=isNaN(d)?1:0,f=o):(f=Math.floor(Math.log(d)/Math.LN2),d*(a=Math.pow(2,-f))<1&&(f--,a*=2),(d+=f+s>=1?h/a:h*Math.pow(2,1-s))*a>=2&&(f++,a/=2),f+s>=o?(l=0,f=o):f+s>=1?(l=(d*a-1)*Math.pow(2,M),f+=s):(l=d*Math.pow(2,s-1)*Math.pow(2,M),f=0));M>=8;t[g+c]=255&l,c+=m,l/=256,M-=8);for(f=f<0;t[g+c]=255&f,c+=m,f/=256,u-=8);t[g+c-m]|=128*w}},42018:function(T){typeof Object.create=="function"?T.exports=function(p,t){t&&(p.super_=t,p.prototype=Object.create(t.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}))}:T.exports=function(p,t){if(t){p.super_=t;var d=function(){};d.prototype=t.prototype,p.prototype=new d,p.prototype.constructor=p}}},47216:function(T,p,t){var d=t(84543)(),g=t(6614)("Object.prototype.toString"),i=function(f){return!(d&&f&&typeof f=="object"&&Symbol.toStringTag in f)&&g(f)==="[object Arguments]"},M=function(f){return!!i(f)||f!==null&&typeof f=="object"&&typeof f.length=="number"&&f.length>=0&&g(f)!=="[object Array]"&&g(f.callee)==="[object Function]"},v=function(){return i(arguments)}();i.isLegacyArguments=M,T.exports=v?i:M},54404:function(T){T.exports=!0},85395:function(T){var p,t,d=Function.prototype.toString,g=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply;if(typeof g=="function"&&typeof Object.defineProperty=="function")try{p=Object.defineProperty({},"length",{get:function(){throw t}}),t={},g(function(){throw 42},null,p)}catch(s){s!==t&&(g=null)}else g=null;var i=/^\s*class\b/,M=function(s){try{var h=d.call(s);return i.test(h)}catch{return!1}},v=function(s){try{return!M(s)&&(d.call(s),!0)}catch{return!1}},f=Object.prototype.toString,l=typeof Symbol=="function"&&!!Symbol.toStringTag,a=!(0 in[,]),u=function(){return!1};if(typeof document=="object"){var o=document.all;f.call(o)===f.call(document.all)&&(u=function(s){if((a||!s)&&(s===void 0||typeof s=="object"))try{var h=f.call(s);return(h==="[object HTMLAllCollection]"||h==="[object HTML document.all class]"||h==="[object HTMLCollection]"||h==="[object Object]")&&s("")==null}catch{}return!1})}T.exports=g?function(s){if(u(s))return!0;if(!s||typeof s!="function"&&typeof s!="object")return!1;try{g(s,null,p)}catch(h){if(h!==t)return!1}return!M(s)&&v(s)}:function(s){if(u(s))return!0;if(!s||typeof s!="function"&&typeof s!="object")return!1;if(l)return v(s);if(M(s))return!1;var h=f.call(s);return!(h!=="[object Function]"&&h!=="[object GeneratorFunction]"&&!/^\[object HTML/.test(h))&&v(s)}},65481:function(T,p,t){var d,g=Object.prototype.toString,i=Function.prototype.toString,M=/^\s*(?:function)?\*/,v=t(84543)(),f=Object.getPrototypeOf;T.exports=function(l){if(typeof l!="function")return!1;if(M.test(i.call(l)))return!0;if(!v)return g.call(l)==="[object GeneratorFunction]";if(!f)return!1;if(d===void 0){var a=function(){if(!v)return!1;try{return Function("return function*() {}")()}catch{}}();d=!!a&&f(a)}return f(l)===d}},62683:function(T){T.exports=typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||/Trident\//.test(navigator.appVersion))},64274:function(T){T.exports=function(p){return p!=p}},15567:function(T,p,t){var d=t(68222),g=t(17045),i=t(64274),M=t(14922),v=t(22442),f=d(M(),Number);g(f,{getPolyfill:M,implementation:i,shim:v}),T.exports=f},14922:function(T,p,t){var d=t(64274);T.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:d}},22442:function(T,p,t){var d=t(17045),g=t(14922);T.exports=function(){var i=g();return d(Number,{isNaN:i},{isNaN:function(){return Number.isNaN!==i}}),i}},64941:function(T){T.exports=function(p){var t=typeof p;return p!==null&&(t==="object"||t==="function")}},10973:function(T){var p=Object.prototype.toString;T.exports=function(t){var d;return p.call(t)==="[object Object]"&&((d=Object.getPrototypeOf(t))===null||d===Object.getPrototypeOf({}))}},18546:function(T){T.exports=function(p){for(var t,d=p.length,g=0;g13)&&t!==32&&t!==133&&t!==160&&t!==5760&&t!==6158&&(t<8192||t>8205)&&t!==8232&&t!==8233&&t!==8239&&t!==8287&&t!==8288&&t!==12288&&t!==65279)return!1;return!0}},89546:function(T){T.exports=function(p){return typeof p=="string"&&(p=p.trim(),!!(/^[mzlhvcsqta]\s*[-+.0-9][^mlhvzcsqta]+/i.test(p)&&/[\dz]$/i.test(p)&&p.length>4))}},9187:function(T,p,t){var d=t(31353),g=t(72077),i=t(6614),M=i("Object.prototype.toString"),v=t(84543)(),f=t(40383),l=typeof globalThis>"u"?t.g:globalThis,a=g(),u=i("Array.prototype.indexOf",!0)||function(c,m){for(var w=0;w-1}return!!f&&function(w){var y=!1;return d(s,function(C,_){if(!y)try{y=C.call(w)===_}catch{}}),y}(c)}},44517:function(T){T.exports=function(){var p,t,d;function g(i,M){if(p)if(t){var v="var sharedChunk = {}; ("+p+")(sharedChunk); ("+t+")(sharedChunk);",f={};p(f),(d=M(f)).workerUrl=window.URL.createObjectURL(new Blob([v],{type:"text/javascript"}))}else t=M;else p=M}return g(0,function(i){function M(P,V){return P(V={exports:{}},V.exports),V.exports}var v="1.10.1",f=l;function l(P,V,J,he){this.cx=3*P,this.bx=3*(J-P)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*V,this.by=3*(he-V)-this.cy,this.ay=1-this.cy-this.by,this.p1x=P,this.p1y=he,this.p2x=J,this.p2y=he}l.prototype.sampleCurveX=function(P){return((this.ax*P+this.bx)*P+this.cx)*P},l.prototype.sampleCurveY=function(P){return((this.ay*P+this.by)*P+this.cy)*P},l.prototype.sampleCurveDerivativeX=function(P){return(3*this.ax*P+2*this.bx)*P+this.cx},l.prototype.solveCurveX=function(P,V){var J,he,Ae,Oe,Ge;for(V===void 0&&(V=1e-6),Ae=P,Ge=0;Ge<8;Ge++){if(Oe=this.sampleCurveX(Ae)-P,Math.abs(Oe)(he=1))return he;for(;JOe?J=Ae:he=Ae,Ae=.5*(he-J)+J}return Ae},l.prototype.solve=function(P,V){return this.sampleCurveY(this.solveCurveX(P,V))};var a=u;function u(P,V){this.x=P,this.y=V}function o(P,V,J,he){var Ae=new f(P,V,J,he);return function(Oe){return Ae.solve(Oe)}}u.prototype={clone:function(){return new u(this.x,this.y)},add:function(P){return this.clone()._add(P)},sub:function(P){return this.clone()._sub(P)},multByPoint:function(P){return this.clone()._multByPoint(P)},divByPoint:function(P){return this.clone()._divByPoint(P)},mult:function(P){return this.clone()._mult(P)},div:function(P){return this.clone()._div(P)},rotate:function(P){return this.clone()._rotate(P)},rotateAround:function(P,V){return this.clone()._rotateAround(P,V)},matMult:function(P){return this.clone()._matMult(P)},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(P){return this.x===P.x&&this.y===P.y},dist:function(P){return Math.sqrt(this.distSqr(P))},distSqr:function(P){var V=P.x-this.x,J=P.y-this.y;return V*V+J*J},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(P){return Math.atan2(this.y-P.y,this.x-P.x)},angleWith:function(P){return this.angleWithSep(P.x,P.y)},angleWithSep:function(P,V){return Math.atan2(this.x*V-this.y*P,this.x*P+this.y*V)},_matMult:function(P){var V=P[0]*this.x+P[1]*this.y,J=P[2]*this.x+P[3]*this.y;return this.x=V,this.y=J,this},_add:function(P){return this.x+=P.x,this.y+=P.y,this},_sub:function(P){return this.x-=P.x,this.y-=P.y,this},_mult:function(P){return this.x*=P,this.y*=P,this},_div:function(P){return this.x/=P,this.y/=P,this},_multByPoint:function(P){return this.x*=P.x,this.y*=P.y,this},_divByPoint:function(P){return this.x/=P.x,this.y/=P.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var P=this.y;return this.y=this.x,this.x=-P,this},_rotate:function(P){var V=Math.cos(P),J=Math.sin(P),he=V*this.x-J*this.y,Ae=J*this.x+V*this.y;return this.x=he,this.y=Ae,this},_rotateAround:function(P,V){var J=Math.cos(P),he=Math.sin(P),Ae=V.x+J*(this.x-V.x)-he*(this.y-V.y),Oe=V.y+he*(this.x-V.x)+J*(this.y-V.y);return this.x=Ae,this.y=Oe,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},u.convert=function(P){return P instanceof u?P:Array.isArray(P)?new u(P[0],P[1]):P};var s=o(.25,.1,.25,1);function h(P,V,J){return Math.min(J,Math.max(V,P))}function c(P,V,J){var he=J-V,Ae=((P-V)%he+he)%he+V;return Ae===V?J:Ae}function m(P){for(var V=[],J=arguments.length-1;J-- >0;)V[J]=arguments[J+1];for(var he=0,Ae=V;he>V/4).toString(16):([1e7]+-[1e3]+-4e3+-8e3+-1e11).replace(/[018]/g,P)}()}function _(P){return!!P&&/^[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(P)}function k(P,V){P.forEach(function(J){V[J]&&(V[J]=V[J].bind(V))})}function E(P,V){return P.indexOf(V,P.length-V.length)!==-1}function x(P,V,J){var he={};for(var Ae in P)he[Ae]=V.call(J||this,P[Ae],Ae,P);return he}function A(P,V,J){var he={};for(var Ae in P)V.call(J||this,P[Ae],Ae,P)&&(he[Ae]=P[Ae]);return he}function L(P){return Array.isArray(P)?P.map(L):typeof P=="object"&&P?x(P,L):P}var b={};function R(P){b[P]||(typeof console<"u"&&console.warn(P),b[P]=!0)}function I(P,V,J){return(J.y-P.y)*(V.x-P.x)>(V.y-P.y)*(J.x-P.x)}function O(P){for(var V=0,J=0,he=P.length,Ae=he-1,Oe=void 0,Ge=void 0;J@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g,function(he,Ae,Oe,Ge){var it=Oe||Ge;return V[Ae]=!it||it.toLowerCase(),""}),V["max-age"]){var J=parseInt(V["max-age"],10);isNaN(J)?delete V["max-age"]:V["max-age"]=J}return V}var B=null;function N(P){if(B==null){var V=P.navigator?P.navigator.userAgent:null;B=!!P.safari||!(!V||!(/\b(iPad|iPhone|iPod)\b/.test(V)||V.match("Safari")&&!V.match("Chrome")))}return B}function W(P){try{var V=self[P];return V.setItem("_mapbox_test_",1),V.removeItem("_mapbox_test_"),!0}catch{return!1}}var j,$,U,G,q=self.performance&&self.performance.now?self.performance.now.bind(self.performance):Date.now.bind(Date),H=self.requestAnimationFrame||self.mozRequestAnimationFrame||self.webkitRequestAnimationFrame||self.msRequestAnimationFrame,ne=self.cancelAnimationFrame||self.mozCancelAnimationFrame||self.webkitCancelAnimationFrame||self.msCancelAnimationFrame,te={now:q,frame:function(P){var V=H(P);return{cancel:function(){return ne(V)}}},getImageData:function(P,V){V===void 0&&(V=0);var J=self.document.createElement("canvas"),he=J.getContext("2d");if(!he)throw new Error("failed to create canvas 2d context");return J.width=P.width,J.height=P.height,he.drawImage(P,0,0,P.width,P.height),he.getImageData(-V,-V,P.width+2*V,P.height+2*V)},resolveURL:function(P){return j||(j=self.document.createElement("a")),j.href=P,j.href},hardwareConcurrency:self.navigator.hardwareConcurrency||4,get devicePixelRatio(){return self.devicePixelRatio},get prefersReducedMotion(){return!!self.matchMedia&&($==null&&($=self.matchMedia("(prefers-reduced-motion: reduce)")),$.matches)}},Z={API_URL:"https://api.mapbox.com",get EVENTS_URL(){return this.API_URL?this.API_URL.indexOf("https://api.mapbox.cn")===0?"https://events.mapbox.cn/events/v2":this.API_URL.indexOf("https://api.mapbox.com")===0?"https://events.mapbox.com/events/v2":null:null},FEEDBACK_URL:"https://apps.mapbox.com/feedback",REQUIRE_ACCESS_TOKEN:!0,ACCESS_TOKEN:null,MAX_PARALLEL_IMAGE_REQUESTS:16},X={supported:!1,testSupport:function(P){!Q&&G&&(re?ie(P):U=P)}},Q=!1,re=!1;function ie(P){var V=P.createTexture();P.bindTexture(P.TEXTURE_2D,V);try{if(P.texImage2D(P.TEXTURE_2D,0,P.RGBA,P.RGBA,P.UNSIGNED_BYTE,G),P.isContextLost())return;X.supported=!0}catch{}P.deleteTexture(V),Q=!0}self.document&&((G=self.document.createElement("img")).onload=function(){U&&ie(U),U=null,re=!0},G.onerror=function(){Q=!0,U=null},G.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA=");var oe="01",ue=function(P,V){this._transformRequestFn=P,this._customAccessToken=V,this._createSkuToken()};function ce(P){return P.indexOf("mapbox:")===0}ue.prototype._createSkuToken=function(){var P=function(){for(var V="",J=0;J<10;J++)V+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[Math.floor(62*Math.random())];return{token:["1",oe,V].join(""),tokenExpiresAt:Date.now()+432e5}}();this._skuToken=P.token,this._skuTokenExpiresAt=P.tokenExpiresAt},ue.prototype._isSkuTokenExpired=function(){return Date.now()>this._skuTokenExpiresAt},ue.prototype.transformRequest=function(P,V){return this._transformRequestFn&&this._transformRequestFn(P,V)||{url:P}},ue.prototype.normalizeStyleURL=function(P,V){if(!ce(P))return P;var J=pe(P);return J.path="/styles/v1"+J.path,this._makeAPIURL(J,this._customAccessToken||V)},ue.prototype.normalizeGlyphsURL=function(P,V){if(!ce(P))return P;var J=pe(P);return J.path="/fonts/v1"+J.path,this._makeAPIURL(J,this._customAccessToken||V)},ue.prototype.normalizeSourceURL=function(P,V){if(!ce(P))return P;var J=pe(P);return J.path="/v4/"+J.authority+".json",J.params.push("secure"),this._makeAPIURL(J,this._customAccessToken||V)},ue.prototype.normalizeSpriteURL=function(P,V,J,he){var Ae=pe(P);return ce(P)?(Ae.path="/styles/v1"+Ae.path+"/sprite"+V+J,this._makeAPIURL(Ae,this._customAccessToken||he)):(Ae.path+=""+V+J,xe(Ae))},ue.prototype.normalizeTileURL=function(P,V){if(this._isSkuTokenExpired()&&this._createSkuToken(),P&&!ce(P))return P;var J=pe(P),he=te.devicePixelRatio>=2||V===512?"@2x":"",Ae=X.supported?".webp":"$1";J.path=J.path.replace(/(\.(png|jpg)\d*)(?=$)/,""+he+Ae),J.path=J.path.replace(/^.+\/v4\//,"/"),J.path="/v4"+J.path;var Oe=this._customAccessToken||function(Ge){for(var it=0,pt=Ge;it=1&&self.localStorage.setItem(V,JSON.stringify(this.eventData))}catch{R("Unable to write to LocalStorage")}},Me.prototype.processRequests=function(P){},Me.prototype.postEvent=function(P,V,J,he){var Ae=this;if(Z.EVENTS_URL){var Oe=pe(Z.EVENTS_URL);Oe.params.push("access_token="+(he||Z.ACCESS_TOKEN||""));var Ge={event:this.type,created:new Date(P).toISOString(),sdkIdentifier:"mapbox-gl-js",sdkVersion:v,skuId:oe,userId:this.anonId},it=V?m(Ge,V):Ge,pt={url:xe(Oe),headers:{"Content-Type":"text/plain"},body:JSON.stringify([it])};this.pendingRequest=Ot(pt,function(Ct){Ae.pendingRequest=null,J(Ct),Ae.saveEventData(),Ae.processRequests(he)})}},Me.prototype.queueRequest=function(P,V){this.queue.push(P),this.processRequests(V)};var Se,Ce,ae=function(P){function V(){P.call(this,"map.load"),this.success={},this.skuToken=""}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.postMapLoadEvent=function(J,he,Ae,Oe){this.skuToken=Ae,(Z.EVENTS_URL&&Oe||Z.ACCESS_TOKEN&&Array.isArray(J)&&J.some(function(Ge){return ce(Ge)||de(Ge)}))&&this.queueRequest({id:he,timestamp:Date.now()},Oe)},V.prototype.processRequests=function(J){var he=this;if(!this.pendingRequest&&this.queue.length!==0){var Ae=this.queue.shift(),Oe=Ae.id,Ge=Ae.timestamp;Oe&&this.success[Oe]||(this.anonId||this.fetchEventData(),_(this.anonId)||(this.anonId=C()),this.postEvent(Ge,{skuToken:this.skuToken},function(it){it||Oe&&(he.success[Oe]=!0)},J))}},V}(Me),fe=function(P){function V(J){P.call(this,"appUserTurnstile"),this._customAccessToken=J}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.postTurnstileEvent=function(J,he){Z.EVENTS_URL&&Z.ACCESS_TOKEN&&Array.isArray(J)&&J.some(function(Ae){return ce(Ae)||de(Ae)})&&this.queueRequest(Date.now(),he)},V.prototype.processRequests=function(J){var he=this;if(!this.pendingRequest&&this.queue.length!==0){this.anonId&&this.eventData.lastSuccess&&this.eventData.tokenU||this.fetchEventData();var Ae=_e(Z.ACCESS_TOKEN),Oe=Ae?Ae.u:Z.ACCESS_TOKEN,Ge=Oe!==this.eventData.tokenU;_(this.anonId)||(this.anonId=C(),Ge=!0);var it=this.queue.shift();if(this.eventData.lastSuccess){var pt=new Date(this.eventData.lastSuccess),Ct=new Date(it),Dt=(it-this.eventData.lastSuccess)/864e5;Ge=Ge||Dt>=1||Dt<-1||pt.getDate()!==Ct.getDate()}else Ge=!0;if(!Ge)return this.processRequests();this.postEvent(it,{"enabled.telemetry":!1},function(Gt){Gt||(he.eventData.lastSuccess=it,he.eventData.tokenU=Oe)},J)}},V}(Me),be=new fe,ke=be.postTurnstileEvent.bind(be),Le=new ae,Be=Le.postMapLoadEvent.bind(Le),ze="mapbox-tiles",je=500,ge=50;function we(){self.caches&&!Se&&(Se=self.caches.open(ze))}function Ee(P,V,J){if(we(),Se){var he={status:V.status,statusText:V.statusText,headers:new self.Headers};V.headers.forEach(function(Oe,Ge){return he.headers.set(Ge,Oe)});var Ae=F(V.headers.get("Cache-Control")||"");Ae["no-store"]||(Ae["max-age"]&&he.headers.set("Expires",new Date(J+1e3*Ae["max-age"]).toUTCString()),new Date(he.headers.get("Expires")).getTime()-J<42e4||function(Oe,Ge){if(Ce===void 0)try{new Response(new ReadableStream),Ce=!0}catch{Ce=!1}Ce?Ge(Oe.body):Oe.blob().then(Ge)}(V,function(Oe){var Ge=new self.Response(Oe,he);we(),Se&&Se.then(function(it){return it.put(Ve(P.url),Ge)}).catch(function(it){return R(it.message)})}))}}function Ve(P){var V=P.indexOf("?");return V<0?P:P.slice(0,V)}function $e(P,V){if(we(),!Se)return V(null);var J=Ve(P.url);Se.then(function(he){he.match(J).then(function(Ae){var Oe=function(Ge){if(!Ge)return!1;var it=new Date(Ge.headers.get("Expires")||0),pt=F(Ge.headers.get("Cache-Control")||"");return it>Date.now()&&!pt["no-cache"]}(Ae);he.delete(J),Oe&&he.put(J,Ae.clone()),V(null,Ae,Oe)}).catch(V)}).catch(V)}var Ye,st=1/0;function ot(){return Ye==null&&(Ye=self.OffscreenCanvas&&new self.OffscreenCanvas(1,1).getContext("2d")&&typeof self.createImageBitmap=="function"),Ye}var ht={Unknown:"Unknown",Style:"Style",Source:"Source",Tile:"Tile",Glyphs:"Glyphs",SpriteImage:"SpriteImage",SpriteJSON:"SpriteJSON",Image:"Image"};typeof Object.freeze=="function"&&Object.freeze(ht);var bt=function(P){function V(J,he,Ae){he===401&&de(Ae)&&(J+=": you may have provided an invalid Mapbox access token. See https://www.mapbox.com/api-documentation/#access-tokens-and-token-scopes"),P.call(this,J),this.status=he,this.url=Ae,this.name=this.constructor.name,this.message=J}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.toString=function(){return this.name+": "+this.message+" ("+this.status+"): "+this.url},V}(Error),Et=z()?function(){return self.worker&&self.worker.referrer}:function(){return(self.location.protocol==="blob:"?self.parent:self).location.href};function kt(P,V){var J,he=new self.AbortController,Ae=new self.Request(P.url,{method:P.method||"GET",body:P.body,credentials:P.credentials,headers:P.headers,referrer:Et(),signal:he.signal}),Oe=!1,Ge=!1,it=(J=Ae.url).indexOf("sku=")>0&&de(J);P.type==="json"&&Ae.headers.set("Accept","application/json");var pt=function(Dt,Gt,Zt){if(!Ge){if(Dt&&Dt.message!=="SecurityError"&&R(Dt),Gt&&Zt)return Ct(Gt);var $t=Date.now();self.fetch(Ae).then(function(fn){if(fn.ok){var Mn=it?fn.clone():null;return Ct(fn,Mn,$t)}return V(new bt(fn.statusText,fn.status,P.url))}).catch(function(fn){fn.code!==20&&V(new Error(fn.message))})}},Ct=function(Dt,Gt,Zt){(P.type==="arrayBuffer"?Dt.arrayBuffer():P.type==="json"?Dt.json():Dt.text()).then(function($t){Ge||(Gt&&Zt&&Ee(Ae,Gt,Zt),Oe=!0,V(null,$t,Dt.headers.get("Cache-Control"),Dt.headers.get("Expires")))}).catch(function($t){Ge||V(new Error($t.message))})};return it?$e(Ae,pt):pt(null,null),{cancel:function(){Ge=!0,Oe||he.abort()}}}var xt=function(P,V){if(J=P.url,!(/^file:/.test(J)||/^file:/.test(Et())&&!/^\w+:/.test(J))){if(self.fetch&&self.Request&&self.AbortController&&self.Request.prototype.hasOwnProperty("signal"))return kt(P,V);if(z()&&self.worker&&self.worker.actor)return self.worker.actor.send("getResource",P,V,void 0,!0)}var J;return function(he,Ae){var Oe=new self.XMLHttpRequest;for(var Ge in Oe.open(he.method||"GET",he.url,!0),he.type==="arrayBuffer"&&(Oe.responseType="arraybuffer"),he.headers)Oe.setRequestHeader(Ge,he.headers[Ge]);return he.type==="json"&&(Oe.responseType="text",Oe.setRequestHeader("Accept","application/json")),Oe.withCredentials=he.credentials==="include",Oe.onerror=function(){Ae(new Error(Oe.statusText))},Oe.onload=function(){if((Oe.status>=200&&Oe.status<300||Oe.status===0)&&Oe.response!==null){var it=Oe.response;if(he.type==="json")try{it=JSON.parse(Oe.response)}catch(pt){return Ae(pt)}Ae(null,it,Oe.getResponseHeader("Cache-Control"),Oe.getResponseHeader("Expires"))}else Ae(new bt(Oe.statusText,Oe.status,he.url))},Oe.send(he.body),{cancel:function(){return Oe.abort()}}}(P,V)},Ft=function(P,V){return xt(m(P,{type:"arrayBuffer"}),V)},Ot=function(P,V){return xt(m(P,{method:"POST"}),V)},Bt,qt;Bt=[],qt=0;var Vt=function(P,V){if(X.supported&&(P.headers||(P.headers={}),P.headers.accept="image/webp,*/*"),qt>=Z.MAX_PARALLEL_IMAGE_REQUESTS){var J={requestParameters:P,callback:V,cancelled:!1,cancel:function(){this.cancelled=!0}};return Bt.push(J),J}qt++;var he=!1,Ae=function(){if(!he)for(he=!0,qt--;Bt.length&&qt0||this._oneTimeListeners&&this._oneTimeListeners[P]&&this._oneTimeListeners[P].length>0||this._eventedParent&&this._eventedParent.listens(P)},ft.prototype.setEventedParent=function(P,V){return this._eventedParent=P,this._eventedParentData=V,this};var Re={$version:8,$root:{version:{required:!0,type:"enum",values:[8]},name:{type:"string"},metadata:{type:"*"},center:{type:"array",value:"number"},zoom:{type:"number"},bearing:{type:"number",default:0,period:360,units:"degrees"},pitch:{type:"number",default:0,units:"degrees"},light:{type:"light"},sources:{required:!0,type:"sources"},sprite:{type:"string"},glyphs:{type:"string"},transition:{type:"transition"},layers:{required:!0,type:"array",value:"layer"}},sources:{"*":{type:"source"}},source:["source_vector","source_raster","source_raster_dem","source_geojson","source_video","source_image"],source_vector:{type:{required:!0,type:"enum",values:{vector:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},attribution:{type:"string"},promoteId:{type:"promoteId"},"*":{type:"*"}},source_raster:{type:{required:!0,type:"enum",values:{raster:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},attribution:{type:"string"},"*":{type:"*"}},source_raster_dem:{type:{required:!0,type:"enum",values:{"raster-dem":{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},attribution:{type:"string"},encoding:{type:"enum",values:{terrarium:{},mapbox:{}},default:"mapbox"},"*":{type:"*"}},source_geojson:{type:{required:!0,type:"enum",values:{geojson:{}}},data:{type:"*"},maxzoom:{type:"number",default:18},attribution:{type:"string"},buffer:{type:"number",default:128,maximum:512,minimum:0},tolerance:{type:"number",default:.375},cluster:{type:"boolean",default:!1},clusterRadius:{type:"number",default:50,minimum:0},clusterMaxZoom:{type:"number"},clusterProperties:{type:"*"},lineMetrics:{type:"boolean",default:!1},generateId:{type:"boolean",default:!1},promoteId:{type:"promoteId"}},source_video:{type:{required:!0,type:"enum",values:{video:{}}},urls:{required:!0,type:"array",value:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},source_image:{type:{required:!0,type:"enum",values:{image:{}}},url:{required:!0,type:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},layer:{id:{type:"string",required:!0},type:{type:"enum",values:{fill:{},line:{},symbol:{},circle:{},heatmap:{},"fill-extrusion":{},raster:{},hillshade:{},background:{}},required:!0},metadata:{type:"*"},source:{type:"string"},"source-layer":{type:"string"},minzoom:{type:"number",minimum:0,maximum:24},maxzoom:{type:"number",minimum:0,maximum:24},filter:{type:"filter"},layout:{type:"layout"},paint:{type:"paint"}},layout:["layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_hillshade","layout_background"],layout_background:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_fill:{"fill-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_circle:{"circle-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_heatmap:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},"layout_fill-extrusion":{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_line:{"line-cap":{type:"enum",values:{butt:{},round:{},square:{}},default:"butt",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-join":{type:"enum",values:{bevel:{},round:{},miter:{}},default:"miter",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{type:"number",default:2,requires:[{"line-join":"miter"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-round-limit":{type:"number",default:1.05,requires:[{"line-join":"round"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_symbol:{"symbol-placement":{type:"enum",values:{point:{},line:{},"line-center":{}},default:"point",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-spacing":{type:"number",default:250,minimum:1,units:"pixels",requires:[{"symbol-placement":"line"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{type:"boolean",default:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"symbol-z-order":{type:"enum",values:{auto:{},"viewport-y":{},source:{}},default:"auto",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-optional":{type:"boolean",default:!1,requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-size":{type:"number",default:1,minimum:0,units:"factor of the original icon size",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit":{type:"enum",values:{none:{},width:{},height:{},both:{}},default:"none",requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-text-fit-padding":{type:"array",value:"number",length:4,default:[0,0,0,0],units:"pixels",requires:["icon-image","text-field",{"icon-text-fit":["both","width","height"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-image":{type:"resolvedImage",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-keep-upright":{type:"boolean",default:!1,requires:["icon-image",{"icon-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-offset":{type:"array",value:"number",length:2,default:[0,0],requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-field":{type:"formatted",default:"",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-font":{type:"array",value:"string",default:["Open Sans Regular","Arial Unicode MS Regular"],requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-size":{type:"number",default:16,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-width":{type:"number",default:10,minimum:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{type:"number",default:1.2,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-letter-spacing":{type:"number",default:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-justify":{type:"enum",values:{auto:{},left:{},center:{},right:{}},default:"center",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-radial-offset":{type:"number",units:"ems",default:0,requires:["text-field"],"property-type":"data-driven",expression:{interpolated:!0,parameters:["zoom","feature"]}},"text-variable-anchor":{type:"array",value:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["text-field",{"!":"text-variable-anchor"}],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{type:"number",default:45,units:"degrees",requires:["text-field",{"symbol-placement":["line","line-center"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-writing-mode":{type:"array",value:"enum",values:{horizontal:{},vertical:{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-keep-upright":{type:"boolean",default:!0,requires:["text-field",{"text-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-transform":{type:"enum",values:{none:{},uppercase:{},lowercase:{}},default:"none",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-offset":{type:"array",value:"number",units:"ems",length:2,default:[0,0],requires:["text-field",{"!":"text-radial-offset"}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-optional":{type:"boolean",default:!1,requires:["text-field","icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_raster:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_hillshade:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},filter:{type:"array",value:"*"},filter_operator:{type:"enum",values:{"==":{},"!=":{},">":{},">=":{},"<":{},"<=":{},in:{},"!in":{},all:{},any:{},none:{},has:{},"!has":{},within:{}}},geometry_type:{type:"enum",values:{Point:{},LineString:{},Polygon:{}}},function:{expression:{type:"expression"},stops:{type:"array",value:"function_stop"},base:{type:"number",default:1,minimum:0},property:{type:"string",default:"$zoom"},type:{type:"enum",values:{identity:{},exponential:{},interval:{},categorical:{}},default:"exponential"},colorSpace:{type:"enum",values:{rgb:{},lab:{},hcl:{}},default:"rgb"},default:{type:"*",required:!1}},function_stop:{type:"array",minimum:0,maximum:24,value:["number","color"],length:2},expression:{type:"array",value:"*",minimum:1},expression_name:{type:"enum",values:{let:{group:"Variable binding"},var:{group:"Variable binding"},literal:{group:"Types"},array:{group:"Types"},at:{group:"Lookup"},in:{group:"Lookup"},"index-of":{group:"Lookup"},slice:{group:"Lookup"},case:{group:"Decision"},match:{group:"Decision"},coalesce:{group:"Decision"},step:{group:"Ramps, scales, curves"},interpolate:{group:"Ramps, scales, curves"},"interpolate-hcl":{group:"Ramps, scales, curves"},"interpolate-lab":{group:"Ramps, scales, curves"},ln2:{group:"Math"},pi:{group:"Math"},e:{group:"Math"},typeof:{group:"Types"},string:{group:"Types"},number:{group:"Types"},boolean:{group:"Types"},object:{group:"Types"},collator:{group:"Types"},format:{group:"Types"},image:{group:"Types"},"number-format":{group:"Types"},"to-string":{group:"Types"},"to-number":{group:"Types"},"to-boolean":{group:"Types"},"to-rgba":{group:"Color"},"to-color":{group:"Types"},rgb:{group:"Color"},rgba:{group:"Color"},get:{group:"Lookup"},has:{group:"Lookup"},length:{group:"Lookup"},properties:{group:"Feature data"},"feature-state":{group:"Feature data"},"geometry-type":{group:"Feature data"},id:{group:"Feature data"},zoom:{group:"Zoom"},"heatmap-density":{group:"Heatmap"},"line-progress":{group:"Feature data"},accumulated:{group:"Feature data"},"+":{group:"Math"},"*":{group:"Math"},"-":{group:"Math"},"/":{group:"Math"},"%":{group:"Math"},"^":{group:"Math"},sqrt:{group:"Math"},log10:{group:"Math"},ln:{group:"Math"},log2:{group:"Math"},sin:{group:"Math"},cos:{group:"Math"},tan:{group:"Math"},asin:{group:"Math"},acos:{group:"Math"},atan:{group:"Math"},min:{group:"Math"},max:{group:"Math"},round:{group:"Math"},abs:{group:"Math"},ceil:{group:"Math"},floor:{group:"Math"},distance:{group:"Math"},"==":{group:"Decision"},"!=":{group:"Decision"},">":{group:"Decision"},"<":{group:"Decision"},">=":{group:"Decision"},"<=":{group:"Decision"},all:{group:"Decision"},any:{group:"Decision"},"!":{group:"Decision"},within:{group:"Decision"},"is-supported-script":{group:"String"},upcase:{group:"String"},downcase:{group:"String"},concat:{group:"String"},"resolved-locale":{group:"String"}}},light:{anchor:{type:"enum",default:"viewport",values:{map:{},viewport:{}},"property-type":"data-constant",transition:!1,expression:{interpolated:!1,parameters:["zoom"]}},position:{type:"array",default:[1.15,210,30],length:3,value:"number","property-type":"data-constant",transition:!0,expression:{interpolated:!0,parameters:["zoom"]}},color:{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},intensity:{type:"number","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0}},paint:["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_background"],paint_fill:{"fill-antialias":{type:"boolean",default:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-outline-color":{type:"color",transition:!0,requires:[{"!":"fill-pattern"},{"fill-antialias":!0}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"}},"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-extrusion-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",transition:!0,requires:["fill-extrusion-height"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,transition:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_line:{"line-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"line-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["line-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-width":{type:"number",default:1,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-gap-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-offset":{type:"number",default:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-dasharray":{type:"array",value:"number",minimum:0,transition:!0,units:"line widths",requires:[{"!":"line-pattern"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"line-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"line-gradient":{type:"color",transition:!1,requires:[{"!":"line-dasharray"},{"!":"line-pattern"},{source:"geojson",has:{lineMetrics:!0}}],expression:{interpolated:!0,parameters:["line-progress"]},"property-type":"color-ramp"}},paint_circle:{"circle-radius":{type:"number",default:5,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-blur":{type:"number",default:0,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["circle-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{type:"enum",values:{map:{},viewport:{}},default:"map",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"}},paint_heatmap:{"heatmap-radius":{type:"number",default:30,minimum:1,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-weight":{type:"number",default:1,minimum:0,transition:!1,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-intensity":{type:"number",default:1,minimum:0,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"heatmap-color":{type:"color",default:["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",.1,"royalblue",.3,"cyan",.5,"lime",.7,"yellow",1,"red"],transition:!1,expression:{interpolated:!0,parameters:["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_symbol:{"icon-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-color":{type:"color",default:"#000000",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["icon-image","icon-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-color":{type:"color",default:"#000000",transition:!0,overridable:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["text-field","text-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_raster:{"raster-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-hue-rotate":{type:"number",default:0,period:360,transition:!0,units:"degrees",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{type:"number",default:0,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-saturation":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-contrast":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-resampling":{type:"enum",values:{linear:{},nearest:{}},default:"linear",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"raster-fade-duration":{type:"number",default:300,minimum:0,transition:!1,units:"milliseconds",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_hillshade:{"hillshade-illumination-direction":{type:"number",default:335,minimum:0,maximum:359,transition:!1,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-illumination-anchor":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-exaggeration":{type:"number",default:.5,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-highlight-color":{type:"color",default:"#FFFFFF",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-accent-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_background:{"background-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"background-pattern"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"background-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"background-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},transition:{duration:{type:"number",default:300,minimum:0,units:"milliseconds"},delay:{type:"number",default:0,minimum:0,units:"milliseconds"}},"property-type":{"data-driven":{type:"property-type"},"cross-faded":{type:"property-type"},"cross-faded-data-driven":{type:"property-type"},"color-ramp":{type:"property-type"},"data-constant":{type:"property-type"},constant:{type:"property-type"}},promoteId:{"*":{type:"string"}}},Ne=function(P,V,J,he){this.message=(P?P+": ":"")+J,he&&(this.identifier=he),V!=null&&V.__line__&&(this.line=V.__line__)};function Qe(P){var V=P.key,J=P.value;return J?[new Ne(V,J,"constants have been deprecated as of v8")]:[]}function ut(P){for(var V=[],J=arguments.length-1;J-- >0;)V[J]=arguments[J+1];for(var he=0,Ae=V;he":P.itemType.kind==="value"?"array":"array<"+V+">"}return P.kind}var An=[yt,Pt,wt,Rt,Nt,Qt,Yt,xn(Wt),rn];function Yn(P,V){if(V.kind==="error")return null;if(P.kind==="array"){if(V.kind==="array"&&(V.N===0&&V.itemType.kind==="value"||!Yn(P.itemType,V.itemType))&&(typeof P.N!="number"||P.N===V.N))return null}else{if(P.kind===V.kind)return null;if(P.kind==="value"){for(var J=0,he=An;J255?255:pt}function Ae(pt){return pt<0?0:pt>1?1:pt}function Oe(pt){return pt[pt.length-1]==="%"?he(parseFloat(pt)/100*255):he(parseInt(pt))}function Ge(pt){return pt[pt.length-1]==="%"?Ae(parseFloat(pt)/100):Ae(parseFloat(pt))}function it(pt,Ct,Dt){return Dt<0?Dt+=1:Dt>1&&(Dt-=1),6*Dt<1?pt+(Ct-pt)*Dt*6:2*Dt<1?Ct:3*Dt<2?pt+(Ct-pt)*(2/3-Dt)*6:pt}try{V.parseCSSColor=function(pt){var Ct,Dt=pt.replace(/ /g,"").toLowerCase();if(Dt in J)return J[Dt].slice();if(Dt[0]==="#")return Dt.length===4?(Ct=parseInt(Dt.substr(1),16))>=0&&Ct<=4095?[(3840&Ct)>>4|(3840&Ct)>>8,240&Ct|(240&Ct)>>4,15&Ct|(15&Ct)<<4,1]:null:Dt.length===7&&(Ct=parseInt(Dt.substr(1),16))>=0&&Ct<=16777215?[(16711680&Ct)>>16,(65280&Ct)>>8,255&Ct,1]:null;var Gt=Dt.indexOf("("),Zt=Dt.indexOf(")");if(Gt!==-1&&Zt+1===Dt.length){var $t=Dt.substr(0,Gt),fn=Dt.substr(Gt+1,Zt-(Gt+1)).split(","),Mn=1;switch($t){case"rgba":if(fn.length!==4)return null;Mn=Ge(fn.pop());case"rgb":return fn.length!==3?null:[Oe(fn[0]),Oe(fn[1]),Oe(fn[2]),Mn];case"hsla":if(fn.length!==4)return null;Mn=Ge(fn.pop());case"hsl":if(fn.length!==3)return null;var Nn=(parseFloat(fn[0])%360+360)%360/360,Bn=Ge(fn[1]),Wn=Ge(fn[2]),Zn=Wn<=.5?Wn*(Bn+1):Wn+Bn-Wn*Bn,er=2*Wn-Zn;return[he(255*it(er,Zn,Nn+1/3)),he(255*it(er,Zn,Nn)),he(255*it(er,Zn,Nn-1/3)),Mn];default:return null}}return null}}catch{}}),dn=Tn.parseCSSColor,pn=function(P,V,J,he){he===void 0&&(he=1),this.r=P,this.g=V,this.b=J,this.a=he};pn.parse=function(P){if(P){if(P instanceof pn)return P;if(typeof P=="string"){var V=dn(P);if(V)return new pn(V[0]/255*V[3],V[1]/255*V[3],V[2]/255*V[3],V[3])}}},pn.prototype.toString=function(){var P=this.toArray(),V=P[0],J=P[1],he=P[2],Ae=P[3];return"rgba("+Math.round(V)+","+Math.round(J)+","+Math.round(he)+","+Ae+")"},pn.prototype.toArray=function(){var P=this,V=P.r,J=P.g,he=P.b,Ae=P.a;return Ae===0?[0,0,0,0]:[255*V/Ae,255*J/Ae,255*he/Ae,Ae]},pn.black=new pn(0,0,0,1),pn.white=new pn(1,1,1,1),pn.transparent=new pn(0,0,0,0),pn.red=new pn(1,0,0,1);var Dn=function(P,V,J){this.sensitivity=P?V?"variant":"case":V?"accent":"base",this.locale=J,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"})};Dn.prototype.compare=function(P,V){return this.collator.compare(P,V)},Dn.prototype.resolvedLocale=function(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale};var In=function(P,V,J,he,Ae){this.text=P,this.image=V,this.scale=J,this.fontStack=he,this.textColor=Ae},jn=function(P){this.sections=P};jn.fromString=function(P){return new jn([new In(P,null,null,null,null)])},jn.prototype.isEmpty=function(){return this.sections.length===0||!this.sections.some(function(P){return P.text.length!==0||P.image&&P.image.name.length!==0})},jn.factory=function(P){return P instanceof jn?P:jn.fromString(P)},jn.prototype.toString=function(){return this.sections.length===0?"":this.sections.map(function(P){return P.text}).join("")},jn.prototype.serialize=function(){for(var P=["format"],V=0,J=this.sections;V=0&&P<=255&&typeof V=="number"&&V>=0&&V<=255&&typeof J=="number"&&J>=0&&J<=255?he===void 0||typeof he=="number"&&he>=0&&he<=1?null:"Invalid rgba value ["+[P,V,J,he].join(", ")+"]: 'a' must be between 0 and 1.":"Invalid rgba value ["+(typeof he=="number"?[P,V,J,he]:[P,V,J]).join(", ")+"]: 'r', 'g', and 'b' must be between 0 and 255."}function lr(P){if(P===null||typeof P=="string"||typeof P=="boolean"||typeof P=="number"||P instanceof pn||P instanceof Dn||P instanceof jn||P instanceof Gn)return!0;if(Array.isArray(P)){for(var V=0,J=P;V2){var it=P[1];if(typeof it!="string"||!(it in vr)||it==="object")return V.error('The item type argument of "array" must be one of string, number, boolean',1);Oe=vr[it],he++}else Oe=Wt;if(P.length>3){if(P[2]!==null&&(typeof P[2]!="number"||P[2]<0||P[2]!==Math.floor(P[2])))return V.error('The length argument to "array" must be a positive integer literal',2);Ge=P[2],he++}J=xn(Oe,Ge)}else J=vr[Ae];for(var pt=[];he1)&&V.push(he)}}return V.concat(this.args.map(function(Ae){return Ae.serialize()}))};var Kt=function(P){this.type=Qt,this.sections=P};Kt.parse=function(P,V){if(P.length<2)return V.error("Expected at least one argument.");var J=P[1];if(!Array.isArray(J)&&typeof J=="object")return V.error("First argument must be an image or text section.");for(var he=[],Ae=!1,Oe=1;Oe<=P.length-1;++Oe){var Ge=P[Oe];if(Ae&&typeof Ge=="object"&&!Array.isArray(Ge)){Ae=!1;var it=null;if(Ge["font-scale"]&&!(it=V.parse(Ge["font-scale"],1,Pt)))return null;var pt=null;if(Ge["text-font"]&&!(pt=V.parse(Ge["text-font"],1,xn(wt))))return null;var Ct=null;if(Ge["text-color"]&&!(Ct=V.parse(Ge["text-color"],1,Nt)))return null;var Dt=he[he.length-1];Dt.scale=it,Dt.font=pt,Dt.textColor=Ct}else{var Gt=V.parse(P[Oe],1,Wt);if(!Gt)return null;var Zt=Gt.type.kind;if(Zt!=="string"&&Zt!=="value"&&Zt!=="null"&&Zt!=="resolvedImage")return V.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");Ae=!0,he.push({content:Gt,scale:null,font:null,textColor:null})}}return new Kt(he)},Kt.prototype.evaluate=function(P){return new jn(this.sections.map(function(V){var J=V.content.evaluate(P);return rr(J)===rn?new In("",J,null,null,null):new In(Sr(J),null,V.scale?V.scale.evaluate(P):null,V.font?V.font.evaluate(P).join(","):null,V.textColor?V.textColor.evaluate(P):null)}))},Kt.prototype.eachChild=function(P){for(var V=0,J=this.sections;V-1),J},bn.prototype.eachChild=function(P){P(this.input)},bn.prototype.outputDefined=function(){return!1},bn.prototype.serialize=function(){return["image",this.input.serialize()]};var Rn={"to-boolean":Rt,"to-color":Nt,"to-number":Pt,"to-string":wt},Ln=function(P,V){this.type=P,this.args=V};Ln.parse=function(P,V){if(P.length<2)return V.error("Expected at least one argument.");var J=P[0];if((J==="to-boolean"||J==="to-string")&&P.length!==2)return V.error("Expected one argument.");for(var he=Rn[J],Ae=[],Oe=1;Oe4?"Invalid rbga value "+JSON.stringify(V)+": expected an array containing either three or four numeric values.":qn(V[0],V[1],V[2],V[3])))return new pn(V[0]/255,V[1]/255,V[2]/255,V[3])}throw new or(J||"Could not parse color from value '"+(typeof V=="string"?V:String(JSON.stringify(V)))+"'")}if(this.type.kind==="number"){for(var Ge=null,it=0,pt=this.args;it=V[2]||P[1]<=V[1]||P[3]>=V[3])}function jt(P,V){var J,he=(180+P[0])/360,Ae=(J=P[1],(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+J*Math.PI/360)))/360),Oe=Math.pow(2,V.z);return[Math.round(he*Oe*mr),Math.round(Ae*Oe*mr)]}function Jt(P,V,J){return V[1]>P[1]!=J[1]>P[1]&&P[0]<(J[0]-V[0])*(P[1]-V[1])/(J[1]-V[1])+V[0]}function hn(P,V){for(var J=!1,he=0,Ae=V.length;he0&&Gt<0||Dt<0&&Gt>0}function En(P,V,J){for(var he=0,Ae=J;heJ[2]){var Ae=.5*he,Oe=P[0]-J[0]>Ae?-he:J[0]-P[0]>Ae?he:0;Oe===0&&(Oe=P[0]-J[2]>Ae?-he:J[2]-P[0]>Ae?he:0),P[0]+=Oe}nn(V,P)}function Vn(P,V,J,he){for(var Ae=Math.pow(2,he.z)*mr,Oe=[he.x*mr,he.y*mr],Ge=[],it=0,pt=P;it=0)return!1;var J=!0;return P.eachChild(function(he){J&&!cr(he,V)&&(J=!1)}),J}nr.parse=function(P,V){if(P.length!==2)return V.error("'within' expression requires exactly one argument, but found "+(P.length-1)+" instead.");if(lr(P[1])){var J=P[1];if(J.type==="FeatureCollection")for(var he=0;heV))throw new or("Input is not a number.");Ge=it-1}return 0}dr.prototype.parse=function(P,V,J,he,Ae){return Ae===void 0&&(Ae={}),V?this.concat(V,J,he)._parse(P,Ae):this._parse(P,Ae)},dr.prototype._parse=function(P,V){function J(Ct,Dt,Gt){return Gt==="assert"?new _r(Dt,[Ct]):Gt==="coerce"?new Ln(Dt,[Ct]):Ct}if(P!==null&&typeof P!="string"&&typeof P!="boolean"&&typeof P!="number"||(P=["literal",P]),Array.isArray(P)){if(P.length===0)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');var he=P[0];if(typeof he!="string")return this.error("Expression name must be a string, but found "+typeof he+' instead. If you wanted a literal array, use ["literal", [...]].',0),null;var Ae=this.registry[he];if(Ae){var Oe=Ae.parse(P,this);if(!Oe)return null;if(this.expectedType){var Ge=this.expectedType,it=Oe.type;if(Ge.kind!=="string"&&Ge.kind!=="number"&&Ge.kind!=="boolean"&&Ge.kind!=="object"&&Ge.kind!=="array"||it.kind!=="value")if(Ge.kind!=="color"&&Ge.kind!=="formatted"&&Ge.kind!=="resolvedImage"||it.kind!=="value"&&it.kind!=="string"){if(this.checkSubtype(Ge,it))return null}else Oe=J(Oe,Ge,V.typeAnnotation||"coerce");else Oe=J(Oe,Ge,V.typeAnnotation||"assert")}if(!(Oe instanceof yr)&&Oe.type.kind!=="resolvedImage"&&br(Oe)){var pt=new Kn;try{Oe=new yr(Oe.type,Oe.evaluate(pt))}catch(Ct){return this.error(Ct.message),null}}return Oe}return this.error('Unknown expression "'+he+'". If you wanted a literal array, use ["literal", [...]].',0)}return P===void 0?this.error("'undefined' value invalid. Use null instead."):typeof P=="object"?this.error('Bare objects invalid. Use ["literal", {...}] instead.'):this.error("Expected an array, but found "+typeof P+" instead.")},dr.prototype.concat=function(P,V,J){var he=typeof P=="number"?this.path.concat(P):this.path,Ae=J?this.scope.concat(J):this.scope;return new dr(this.registry,he,V||null,Ae,this.errors)},dr.prototype.error=function(P){for(var V=[],J=arguments.length-1;J-- >0;)V[J]=arguments[J+1];var he=""+this.key+V.map(function(Ae){return"["+Ae+"]"}).join("");this.errors.push(new It(he,P))},dr.prototype.checkSubtype=function(P,V){var J=Yn(P,V);return J&&this.error(J),J};var Lr=function(P,V,J){this.type=P,this.input=V,this.labels=[],this.outputs=[];for(var he=0,Ae=J;he=Ge)return V.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',pt);var Dt=V.parse(it,Ct,Ae);if(!Dt)return null;Ae=Ae||Dt.type,he.push([Ge,Dt])}return new Lr(Ae,J,he)},Lr.prototype.evaluate=function(P){var V=this.labels,J=this.outputs;if(V.length===1)return J[0].evaluate(P);var he=this.input.evaluate(P);if(he<=V[0])return J[0].evaluate(P);var Ae=V.length;return he>=V[Ae-1]?J[Ae-1].evaluate(P):J[Rr(V,he)].evaluate(P)},Lr.prototype.eachChild=function(P){P(this.input);for(var V=0,J=this.outputs;V0&&P.push(this.labels[V]),P.push(this.outputs[V].serialize());return P};var gr=Object.freeze({__proto__:null,number:zr,color:function(P,V,J){return new pn(zr(P.r,V.r,J),zr(P.g,V.g,J),zr(P.b,V.b,J),zr(P.a,V.a,J))},array:function(P,V,J){return P.map(function(he,Ae){return zr(he,V[Ae],J)})}}),Fr=.95047,ii=1.08883,ji=4/29,ea=6/29,sa=3*ea*ea,co=Math.PI/180,La=180/Math.PI;function Xi(P){return P>.008856451679035631?Math.pow(P,.3333333333333333):P/sa+ji}function Do(P){return P>ea?P*P*P:sa*(P-ji)}function rs(P){return 255*(P<=.0031308?12.92*P:1.055*Math.pow(P,.4166666666666667)-.055)}function el(P){return(P/=255)<=.04045?P/12.92:Math.pow((P+.055)/1.055,2.4)}function Cu(P){var V=el(P.r),J=el(P.g),he=el(P.b),Ae=Xi((.4124564*V+.3575761*J+.1804375*he)/Fr),Oe=Xi((.2126729*V+.7151522*J+.072175*he)/1);return{l:116*Oe-16,a:500*(Ae-Oe),b:200*(Oe-Xi((.0193339*V+.119192*J+.9503041*he)/ii)),alpha:P.a}}function gf(P){var V=(P.l+16)/116,J=isNaN(P.a)?V:V+P.a/500,he=isNaN(P.b)?V:V-P.b/200;return V=1*Do(V),J=Fr*Do(J),he=ii*Do(he),new pn(rs(3.2404542*J-1.5371385*V-.4985314*he),rs(-.969266*J+1.8760108*V+.041556*he),rs(.0556434*J-.2040259*V+1.0572252*he),P.alpha)}function Mh(P,V,J){var he=V-P;return P+J*(he>180||he<-180?he-360*Math.round(he/360):he)}var Eu={forward:Cu,reverse:gf,interpolate:function(P,V,J){return{l:zr(P.l,V.l,J),a:zr(P.a,V.a,J),b:zr(P.b,V.b,J),alpha:zr(P.alpha,V.alpha,J)}}},is={forward:function(P){var V=Cu(P),J=V.l,he=V.a,Ae=V.b,Oe=Math.atan2(Ae,he)*La;return{h:Oe<0?Oe+360:Oe,c:Math.sqrt(he*he+Ae*Ae),l:J,alpha:P.a}},reverse:function(P){var V=P.h*co,J=P.c;return gf({l:P.l,a:Math.cos(V)*J,b:Math.sin(V)*J,alpha:P.alpha})},interpolate:function(P,V,J){return{h:Mh(P.h,V.h,J),c:zr(P.c,V.c,J),l:zr(P.l,V.l,J),alpha:zr(P.alpha,V.alpha,J)}}},Ah=Object.freeze({__proto__:null,lab:Eu,hcl:is}),Ya=function(P,V,J,he,Ae){this.type=P,this.operator=V,this.interpolation=J,this.input=he,this.labels=[],this.outputs=[];for(var Oe=0,Ge=Ae;Oe1}))return V.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);he={name:"cubic-bezier",controlPoints:it}}if(P.length-1<4)return V.error("Expected at least 4 arguments, but found only "+(P.length-1)+".");if((P.length-1)%2!=0)return V.error("Expected an even number of arguments.");if(!(Ae=V.parse(Ae,2,Pt)))return null;var pt=[],Ct=null;J==="interpolate-hcl"||J==="interpolate-lab"?Ct=Nt:V.expectedType&&V.expectedType.kind!=="value"&&(Ct=V.expectedType);for(var Dt=0;Dt=Gt)return V.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',$t);var Mn=V.parse(Zt,fn,Ct);if(!Mn)return null;Ct=Ct||Mn.type,pt.push([Gt,Mn])}return Ct.kind==="number"||Ct.kind==="color"||Ct.kind==="array"&&Ct.itemType.kind==="number"&&typeof Ct.N=="number"?new Ya(Ct,J,he,Ae,pt):V.error("Type "+un(Ct)+" is not interpolatable.")},Ya.prototype.evaluate=function(P){var V=this.labels,J=this.outputs;if(V.length===1)return J[0].evaluate(P);var he=this.input.evaluate(P);if(he<=V[0])return J[0].evaluate(P);var Ae=V.length;if(he>=V[Ae-1])return J[Ae-1].evaluate(P);var Oe=Rr(V,he),Ge=V[Oe],it=V[Oe+1],pt=Ya.interpolationFactor(this.interpolation,he,Ge,it),Ct=J[Oe].evaluate(P),Dt=J[Oe+1].evaluate(P);return this.operator==="interpolate"?gr[this.type.kind.toLowerCase()](Ct,Dt,pt):this.operator==="interpolate-hcl"?is.reverse(is.interpolate(is.forward(Ct),is.forward(Dt),pt)):Eu.reverse(Eu.interpolate(Eu.forward(Ct),Eu.forward(Dt),pt))},Ya.prototype.eachChild=function(P){P(this.input);for(var V=0,J=this.outputs;V=J.length)throw new or("Array index out of bounds: "+V+" > "+(J.length-1)+".");if(V!==Math.floor(V))throw new or("Array index must be an integer, but found "+V+" instead.");return J[V]},Al.prototype.eachChild=function(P){P(this.index),P(this.input)},Al.prototype.outputDefined=function(){return!1},Al.prototype.serialize=function(){return["at",this.index.serialize(),this.input.serialize()]};var Ui=function(P,V){this.type=Rt,this.needle=P,this.haystack=V};Ui.parse=function(P,V){if(P.length!==3)return V.error("Expected 2 arguments, but found "+(P.length-1)+" instead.");var J=V.parse(P[1],1,Wt),he=V.parse(P[2],2,Wt);return J&&he?kn(J.type,[Rt,wt,Pt,yt,Wt])?new Ui(J,he):V.error("Expected first argument to be of type boolean, string, number or null, but found "+un(J.type)+" instead"):null},Ui.prototype.evaluate=function(P){var V=this.needle.evaluate(P),J=this.haystack.evaluate(P);if(!J)return!1;if(!sn(V,["boolean","string","number","null"]))throw new or("Expected first argument to be of type boolean, string, number or null, but found "+un(rr(V))+" instead.");if(!sn(J,["string","array"]))throw new or("Expected second argument to be of type array or string, but found "+un(rr(J))+" instead.");return J.indexOf(V)>=0},Ui.prototype.eachChild=function(P){P(this.needle),P(this.haystack)},Ui.prototype.outputDefined=function(){return!0},Ui.prototype.serialize=function(){return["in",this.needle.serialize(),this.haystack.serialize()]};var Sl=function(P,V,J){this.type=Pt,this.needle=P,this.haystack=V,this.fromIndex=J};Sl.parse=function(P,V){if(P.length<=2||P.length>=5)return V.error("Expected 3 or 4 arguments, but found "+(P.length-1)+" instead.");var J=V.parse(P[1],1,Wt),he=V.parse(P[2],2,Wt);if(!J||!he)return null;if(!kn(J.type,[Rt,wt,Pt,yt,Wt]))return V.error("Expected first argument to be of type boolean, string, number or null, but found "+un(J.type)+" instead");if(P.length===4){var Ae=V.parse(P[3],3,Pt);return Ae?new Sl(J,he,Ae):null}return new Sl(J,he)},Sl.prototype.evaluate=function(P){var V=this.needle.evaluate(P),J=this.haystack.evaluate(P);if(!sn(V,["boolean","string","number","null"]))throw new or("Expected first argument to be of type boolean, string, number or null, but found "+un(rr(V))+" instead.");if(!sn(J,["string","array"]))throw new or("Expected second argument to be of type array or string, but found "+un(rr(J))+" instead.");if(this.fromIndex){var he=this.fromIndex.evaluate(P);return J.indexOf(V,he)}return J.indexOf(V)},Sl.prototype.eachChild=function(P){P(this.needle),P(this.haystack),this.fromIndex&&P(this.fromIndex)},Sl.prototype.outputDefined=function(){return!1},Sl.prototype.serialize=function(){if(this.fromIndex!=null&&this.fromIndex!==void 0){var P=this.fromIndex.serialize();return["index-of",this.needle.serialize(),this.haystack.serialize(),P]}return["index-of",this.needle.serialize(),this.haystack.serialize()]};var ps=function(P,V,J,he,Ae,Oe){this.inputType=P,this.type=V,this.input=J,this.cases=he,this.outputs=Ae,this.otherwise=Oe};ps.parse=function(P,V){if(P.length<5)return V.error("Expected at least 4 arguments, but found only "+(P.length-1)+".");if(P.length%2!=1)return V.error("Expected an even number of arguments.");var J,he;V.expectedType&&V.expectedType.kind!=="value"&&(he=V.expectedType);for(var Ae={},Oe=[],Ge=2;GeNumber.MAX_SAFE_INTEGER)return Ct.error("Branch labels must be integers no larger than "+Number.MAX_SAFE_INTEGER+".");if(typeof Zt=="number"&&Math.floor(Zt)!==Zt)return Ct.error("Numeric branch labels must be integer values.");if(J){if(Ct.checkSubtype(J,rr(Zt)))return null}else J=rr(Zt);if(Ae[String(Zt)]!==void 0)return Ct.error("Branch labels must be unique.");Ae[String(Zt)]=Oe.length}var $t=V.parse(pt,Ge,he);if(!$t)return null;he=he||$t.type,Oe.push($t)}var fn=V.parse(P[1],1,Wt);if(!fn)return null;var Mn=V.parse(P[P.length-1],P.length-1,he);return Mn?fn.type.kind!=="value"&&V.concat(1).checkSubtype(J,fn.type)?null:new ps(J,he,fn,Ae,Oe,Mn):null},ps.prototype.evaluate=function(P){var V=this.input.evaluate(P);return(rr(V)===this.inputType&&this.outputs[this.cases[V]]||this.otherwise).evaluate(P)},ps.prototype.eachChild=function(P){P(this.input),this.outputs.forEach(P),P(this.otherwise)},ps.prototype.outputDefined=function(){return this.outputs.every(function(P){return P.outputDefined()})&&this.otherwise.outputDefined()},ps.prototype.serialize=function(){for(var P=this,V=["match",this.input.serialize()],J=[],he={},Ae=0,Oe=Object.keys(this.cases).sort();Ae=5)return V.error("Expected 3 or 4 arguments, but found "+(P.length-1)+" instead.");var J=V.parse(P[1],1,Wt),he=V.parse(P[2],2,Pt);if(!J||!he)return null;if(!kn(J.type,[xn(Wt),wt,Wt]))return V.error("Expected first argument to be of type array or string, but found "+un(J.type)+" instead");if(P.length===4){var Ae=V.parse(P[3],3,Pt);return Ae?new js(J.type,J,he,Ae):null}return new js(J.type,J,he)},js.prototype.evaluate=function(P){var V=this.input.evaluate(P),J=this.beginIndex.evaluate(P);if(!sn(V,["string","array"]))throw new or("Expected first argument to be of type array or string, but found "+un(rr(V))+" instead.");if(this.endIndex){var he=this.endIndex.evaluate(P);return V.slice(J,he)}return V.slice(J)},js.prototype.eachChild=function(P){P(this.input),P(this.beginIndex),this.endIndex&&P(this.endIndex)},js.prototype.outputDefined=function(){return!1},js.prototype.serialize=function(){if(this.endIndex!=null&&this.endIndex!==void 0){var P=this.endIndex.serialize();return["slice",this.input.serialize(),this.beginIndex.serialize(),P]}return["slice",this.input.serialize(),this.beginIndex.serialize()]};var yf=tl("==",function(P,V,J){return V===J},vf),bf=tl("!=",function(P,V,J){return V!==J},function(P,V,J,he){return!vf(0,V,J,he)}),id=tl("<",function(P,V,J){return V",function(P,V,J){return V>J},function(P,V,J,he){return he.compare(V,J)>0}),xf=tl("<=",function(P,V,J){return V<=J},function(P,V,J,he){return he.compare(V,J)<=0}),Ch=tl(">=",function(P,V,J){return V>=J},function(P,V,J,he){return he.compare(V,J)>=0}),nl=function(P,V,J,he,Ae){this.type=wt,this.number=P,this.locale=V,this.currency=J,this.minFractionDigits=he,this.maxFractionDigits=Ae};nl.parse=function(P,V){if(P.length!==3)return V.error("Expected two arguments.");var J=V.parse(P[1],1,Pt);if(!J)return null;var he=P[2];if(typeof he!="object"||Array.isArray(he))return V.error("NumberFormat options argument must be an object.");var Ae=null;if(he.locale&&!(Ae=V.parse(he.locale,1,wt)))return null;var Oe=null;if(he.currency&&!(Oe=V.parse(he.currency,1,wt)))return null;var Ge=null;if(he["min-fraction-digits"]&&!(Ge=V.parse(he["min-fraction-digits"],1,Pt)))return null;var it=null;return he["max-fraction-digits"]&&!(it=V.parse(he["max-fraction-digits"],1,Pt))?null:new nl(J,Ae,Oe,Ge,it)},nl.prototype.evaluate=function(P){return new Intl.NumberFormat(this.locale?this.locale.evaluate(P):[],{style:this.currency?"currency":"decimal",currency:this.currency?this.currency.evaluate(P):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(P):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(P):void 0}).format(this.number.evaluate(P))},nl.prototype.eachChild=function(P){P(this.number),this.locale&&P(this.locale),this.currency&&P(this.currency),this.minFractionDigits&&P(this.minFractionDigits),this.maxFractionDigits&&P(this.maxFractionDigits)},nl.prototype.outputDefined=function(){return!1},nl.prototype.serialize=function(){var P={};return this.locale&&(P.locale=this.locale.serialize()),this.currency&&(P.currency=this.currency.serialize()),this.minFractionDigits&&(P["min-fraction-digits"]=this.minFractionDigits.serialize()),this.maxFractionDigits&&(P["max-fraction-digits"]=this.maxFractionDigits.serialize()),["number-format",this.number.serialize(),P]};var rl=function(P){this.type=Pt,this.input=P};rl.parse=function(P,V){if(P.length!==2)return V.error("Expected 1 argument, but found "+(P.length-1)+" instead.");var J=V.parse(P[1],1);return J?J.type.kind!=="array"&&J.type.kind!=="string"&&J.type.kind!=="value"?V.error("Expected argument of type string or array, but found "+un(J.type)+" instead."):new rl(J):null},rl.prototype.evaluate=function(P){var V=this.input.evaluate(P);if(typeof V=="string"||Array.isArray(V))return V.length;throw new or("Expected value to be of type string or array, but found "+un(rr(V))+" instead.")},rl.prototype.eachChild=function(P){P(this.input)},rl.prototype.outputDefined=function(){return!1},rl.prototype.serialize=function(){var P=["length"];return this.eachChild(function(V){P.push(V.serialize())}),P};var Lu={"==":yf,"!=":bf,">":Sh,"<":id,">=":Ch,"<=":xf,array:_r,at:Al,boolean:_r,case:Es,coalesce:Yo,collator:tr,format:Kt,image:bn,in:Ui,"index-of":Sl,interpolate:Ya,"interpolate-hcl":Ya,"interpolate-lab":Ya,length:rl,let:as,literal:yr,match:ps,number:_r,"number-format":nl,object:_r,slice:js,step:Lr,string:_r,"to-boolean":Ln,"to-color":Ln,"to-number":Ln,"to-string":Ln,var:pr,within:nr};function il(P,V){var J=V[0],he=V[1],Ae=V[2],Oe=V[3];J=J.evaluate(P),he=he.evaluate(P),Ae=Ae.evaluate(P);var Ge=Oe?Oe.evaluate(P):1,it=qn(J,he,Ae,Ge);if(it)throw new or(it);return new pn(J/255*Ge,he/255*Ge,Ae/255*Ge,Ge)}function Eh(P,V){return P in V}function Lh(P,V){var J=V[P];return J===void 0?null:J}function Jl(P){return{type:P}}function jc(P){return{result:"success",value:P}}function Cl(P){return{result:"error",value:P}}function Iu(P){return P["property-type"]==="data-driven"||P["property-type"]==="cross-faded-data-driven"}function Ql(P){return!!P.expression&&P.expression.parameters.indexOf("zoom")>-1}function al(P){return!!P.expression&&P.expression.interpolated}function Hi(P){return P instanceof Number?"number":P instanceof String?"string":P instanceof Boolean?"boolean":Array.isArray(P)?"array":P===null?"null":typeof P}function El(P){return typeof P=="object"&&P!==null&&!Array.isArray(P)}function ad(P){return P}function Uc(P,V){var J,he,Ae,Oe=V.type==="color",Ge=P.stops&&typeof P.stops[0][0]=="object",it=Ge||P.property!==void 0,pt=Ge||!it,Ct=P.type||(al(V)?"exponential":"interval");if(Oe&&((P=ut({},P)).stops&&(P.stops=P.stops.map(function(Tr){return[Tr[0],pn.parse(Tr[1])]})),P.default?P.default=pn.parse(P.default):P.default=pn.parse(V.default)),P.colorSpace&&P.colorSpace!=="rgb"&&!Ah[P.colorSpace])throw new Error("Unknown color space: "+P.colorSpace);if(Ct==="exponential")J=ms;else if(Ct==="interval")J=Ru;else if(Ct==="categorical"){J=eu,he=Object.create(null);for(var Dt=0,Gt=P.stops;Dt=P.stops[he-1][0])return P.stops[he-1][1];var Ae=Rr(P.stops.map(function(Oe){return Oe[0]}),J);return P.stops[Ae][1]}function ms(P,V,J){var he=P.base!==void 0?P.base:1;if(Hi(J)!=="number")return dc(P.default,V.default);var Ae=P.stops.length;if(Ae===1||J<=P.stops[0][0])return P.stops[0][1];if(J>=P.stops[Ae-1][0])return P.stops[Ae-1][1];var Oe=Rr(P.stops.map(function(Gt){return Gt[0]}),J),Ge=function(Gt,Zt,$t,fn){var Mn=fn-$t,Nn=Gt-$t;return Mn===0?0:Zt===1?Nn/Mn:(Math.pow(Zt,Nn)-1)/(Math.pow(Zt,Mn)-1)}(J,he,P.stops[Oe][0],P.stops[Oe+1][0]),it=P.stops[Oe][1],pt=P.stops[Oe+1][1],Ct=gr[V.type]||ad;if(P.colorSpace&&P.colorSpace!=="rgb"){var Dt=Ah[P.colorSpace];Ct=function(Gt,Zt){return Dt.reverse(Dt.interpolate(Dt.forward(Gt),Dt.forward(Zt),Ge))}}return typeof it.evaluate=="function"?{evaluate:function(){for(var Gt=[],Zt=arguments.length;Zt--;)Gt[Zt]=arguments[Zt];var $t=it.evaluate.apply(void 0,Gt),fn=pt.evaluate.apply(void 0,Gt);if($t!==void 0&&fn!==void 0)return Ct($t,fn,Ge)}}:Ct(it,pt,Ge)}function Ih(P,V,J){return V.type==="color"?J=pn.parse(J):V.type==="formatted"?J=jn.fromString(J.toString()):V.type==="resolvedImage"?J=Gn.fromString(J.toString()):Hi(J)===V.type||V.type==="enum"&&V.values[J]||(J=void 0),dc(J,P.default,V.default)}$n.register(Lu,{error:[{kind:"error"},[wt],function(P,V){var J=V[0];throw new or(J.evaluate(P))}],typeof:[wt,[Wt],function(P,V){return un(rr(V[0].evaluate(P)))}],"to-rgba":[xn(Pt,4),[Nt],function(P,V){return V[0].evaluate(P).toArray()}],rgb:[Nt,[Pt,Pt,Pt],il],rgba:[Nt,[Pt,Pt,Pt,Pt],il],has:{type:Rt,overloads:[[[wt],function(P,V){return Eh(V[0].evaluate(P),P.properties())}],[[wt,Yt],function(P,V){var J=V[0],he=V[1];return Eh(J.evaluate(P),he.evaluate(P))}]]},get:{type:Wt,overloads:[[[wt],function(P,V){return Lh(V[0].evaluate(P),P.properties())}],[[wt,Yt],function(P,V){var J=V[0],he=V[1];return Lh(J.evaluate(P),he.evaluate(P))}]]},"feature-state":[Wt,[wt],function(P,V){return Lh(V[0].evaluate(P),P.featureState||{})}],properties:[Yt,[],function(P){return P.properties()}],"geometry-type":[wt,[],function(P){return P.geometryType()}],id:[Wt,[],function(P){return P.id()}],zoom:[Pt,[],function(P){return P.globals.zoom}],"heatmap-density":[Pt,[],function(P){return P.globals.heatmapDensity||0}],"line-progress":[Pt,[],function(P){return P.globals.lineProgress||0}],accumulated:[Wt,[],function(P){return P.globals.accumulated===void 0?null:P.globals.accumulated}],"+":[Pt,Jl(Pt),function(P,V){for(var J=0,he=0,Ae=V;he":[Rt,[wt,Wt],function(P,V){var J=V[0],he=V[1],Ae=P.properties()[J.value],Oe=he.value;return typeof Ae==typeof Oe&&Ae>Oe}],"filter-id->":[Rt,[Wt],function(P,V){var J=V[0],he=P.id(),Ae=J.value;return typeof he==typeof Ae&&he>Ae}],"filter-<=":[Rt,[wt,Wt],function(P,V){var J=V[0],he=V[1],Ae=P.properties()[J.value],Oe=he.value;return typeof Ae==typeof Oe&&Ae<=Oe}],"filter-id-<=":[Rt,[Wt],function(P,V){var J=V[0],he=P.id(),Ae=J.value;return typeof he==typeof Ae&&he<=Ae}],"filter->=":[Rt,[wt,Wt],function(P,V){var J=V[0],he=V[1],Ae=P.properties()[J.value],Oe=he.value;return typeof Ae==typeof Oe&&Ae>=Oe}],"filter-id->=":[Rt,[Wt],function(P,V){var J=V[0],he=P.id(),Ae=J.value;return typeof he==typeof Ae&&he>=Ae}],"filter-has":[Rt,[Wt],function(P,V){return V[0].value in P.properties()}],"filter-has-id":[Rt,[],function(P){return P.id()!==null&&P.id()!==void 0}],"filter-type-in":[Rt,[xn(wt)],function(P,V){return V[0].value.indexOf(P.geometryType())>=0}],"filter-id-in":[Rt,[xn(Wt)],function(P,V){return V[0].value.indexOf(P.id())>=0}],"filter-in-small":[Rt,[wt,xn(Wt)],function(P,V){var J=V[0];return V[1].value.indexOf(P.properties()[J.value])>=0}],"filter-in-large":[Rt,[wt,xn(Wt)],function(P,V){var J=V[0],he=V[1];return function(Ae,Oe,Ge,it){for(;Ge<=it;){var pt=Ge+it>>1;if(Oe[pt]===Ae)return!0;Oe[pt]>Ae?it=pt-1:Ge=pt+1}return!1}(P.properties()[J.value],he.value,0,he.value.length-1)}],all:{type:Rt,overloads:[[[Rt,Rt],function(P,V){var J=V[0],he=V[1];return J.evaluate(P)&&he.evaluate(P)}],[Jl(Rt),function(P,V){for(var J=0,he=V;J0&&typeof P[0]=="string"&&P[0]in Lu}function mc(P,V){var J=new dr(Lu,[],V?function(Ae){var Oe={color:Nt,string:wt,number:Pt,enum:wt,boolean:Rt,formatted:Qt,resolvedImage:rn};return Ae.type==="array"?xn(Oe[Ae.value]||Wt,Ae.length):Oe[Ae.type]}(V):void 0),he=J.parse(P,void 0,void 0,void 0,V&&V.type==="string"?{typeAnnotation:"coerce"}:void 0);return he?jc(new pc(he,V)):Cl(J.errors)}pc.prototype.evaluateWithoutErrorHandling=function(P,V,J,he,Ae,Oe){return this._evaluator.globals=P,this._evaluator.feature=V,this._evaluator.featureState=J,this._evaluator.canonical=he,this._evaluator.availableImages=Ae||null,this._evaluator.formattedSection=Oe,this.expression.evaluate(this._evaluator)},pc.prototype.evaluate=function(P,V,J,he,Ae,Oe){this._evaluator.globals=P,this._evaluator.feature=V||null,this._evaluator.featureState=J||null,this._evaluator.canonical=he,this._evaluator.availableImages=Ae||null,this._evaluator.formattedSection=Oe||null;try{var Ge=this.expression.evaluate(this._evaluator);if(Ge==null||typeof Ge=="number"&&Ge!=Ge)return this._defaultValue;if(this._enumValues&&!(Ge in this._enumValues))throw new or("Expected value to be one of "+Object.keys(this._enumValues).map(function(it){return JSON.stringify(it)}).join(", ")+", but found "+JSON.stringify(Ge)+" instead.");return Ge}catch(it){return this._warningHistory[it.message]||(this._warningHistory[it.message]=!0,typeof console<"u"&&console.warn(it.message)),this._defaultValue}};var tu=function(P,V){this.kind=P,this._styleExpression=V,this.isStateDependent=P!=="constant"&&!hr(V.expression)};tu.prototype.evaluateWithoutErrorHandling=function(P,V,J,he,Ae,Oe){return this._styleExpression.evaluateWithoutErrorHandling(P,V,J,he,Ae,Oe)},tu.prototype.evaluate=function(P,V,J,he,Ae,Oe){return this._styleExpression.evaluate(P,V,J,he,Ae,Oe)};var nu=function(P,V,J,he){this.kind=P,this.zoomStops=J,this._styleExpression=V,this.isStateDependent=P!=="camera"&&!hr(V.expression),this.interpolationType=he};function Ou(P,V){if((P=mc(P,V)).result==="error")return P;var J=P.value.expression,he=Qn(J);if(!he&&!Iu(V))return Cl([new It("","data expressions not supported")]);var Ae=cr(J,["zoom"]);if(!Ae&&!Ql(V))return Cl([new It("","zoom expressions not supported")]);var Oe=vc(J);if(!Oe&&!Ae)return Cl([new It("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')]);if(Oe instanceof It)return Cl([Oe]);if(Oe instanceof Ya&&!al(V))return Cl([new It("",'"interpolate" expressions cannot be used with this property')]);if(!Oe)return jc(new tu(he?"constant":"source",P.value));var Ge=Oe instanceof Ya?Oe.interpolation:void 0;return jc(new nu(he?"camera":"composite",P.value,Oe.labels,Ge))}nu.prototype.evaluateWithoutErrorHandling=function(P,V,J,he,Ae,Oe){return this._styleExpression.evaluateWithoutErrorHandling(P,V,J,he,Ae,Oe)},nu.prototype.evaluate=function(P,V,J,he,Ae,Oe){return this._styleExpression.evaluate(P,V,J,he,Ae,Oe)},nu.prototype.interpolationFactor=function(P,V,J){return this.interpolationType?Ya.interpolationFactor(this.interpolationType,P,V,J):0};var gc=function(P,V){this._parameters=P,this._specification=V,ut(this,Uc(this._parameters,this._specification))};function vc(P){var V=null;if(P instanceof as)V=vc(P.result);else if(P instanceof Yo)for(var J=0,he=P.args;Jhe.maximum?[new Ne(V,J,J+" is greater than the maximum value "+he.maximum)]:[]}function Rh(P){var V,J,he,Ae=P.valueSpec,Oe=dt(P.value.type),Ge={},it=Oe!=="categorical"&&P.value.property===void 0,pt=!it,Ct=Hi(P.value.stops)==="array"&&Hi(P.value.stops[0])==="array"&&Hi(P.value.stops[0][0])==="object",Dt=gs({key:P.key,value:P.value,valueSpec:P.styleSpec.function,style:P.style,styleSpec:P.styleSpec,objectElementValidators:{stops:function($t){if(Oe==="identity")return[new Ne($t.key,$t.value,'identity function may not have a "stops" property')];var fn=[],Mn=$t.value;return fn=fn.concat(yc({key:$t.key,value:Mn,valueSpec:$t.valueSpec,style:$t.style,styleSpec:$t.styleSpec,arrayElementValidator:Gt})),Hi(Mn)==="array"&&Mn.length===0&&fn.push(new Ne($t.key,Mn,"array must have at least one stop")),fn},default:function($t){return da({key:$t.key,value:$t.value,valueSpec:Ae,style:$t.style,styleSpec:$t.styleSpec})}}});return Oe==="identity"&&it&&Dt.push(new Ne(P.key,P.value,'missing required property "property"')),Oe==="identity"||P.value.stops||Dt.push(new Ne(P.key,P.value,'missing required property "stops"')),Oe==="exponential"&&P.valueSpec.expression&&!al(P.valueSpec)&&Dt.push(new Ne(P.key,P.value,"exponential functions not supported")),P.styleSpec.$version>=8&&(pt&&!Iu(P.valueSpec)?Dt.push(new Ne(P.key,P.value,"property functions not supported")):it&&!Ql(P.valueSpec)&&Dt.push(new Ne(P.key,P.value,"zoom functions not supported"))),Oe!=="categorical"&&!Ct||P.value.property!==void 0||Dt.push(new Ne(P.key,P.value,'"property" property is required')),Dt;function Gt($t){var fn=[],Mn=$t.value,Nn=$t.key;if(Hi(Mn)!=="array")return[new Ne(Nn,Mn,"array expected, "+Hi(Mn)+" found")];if(Mn.length!==2)return[new Ne(Nn,Mn,"array length 2 expected, length "+Mn.length+" found")];if(Ct){if(Hi(Mn[0])!=="object")return[new Ne(Nn,Mn,"object expected, "+Hi(Mn[0])+" found")];if(Mn[0].zoom===void 0)return[new Ne(Nn,Mn,"object stop key must have zoom")];if(Mn[0].value===void 0)return[new Ne(Nn,Mn,"object stop key must have value")];if(he&&he>dt(Mn[0].zoom))return[new Ne(Nn,Mn[0].zoom,"stop zoom values must appear in ascending order")];dt(Mn[0].zoom)!==he&&(he=dt(Mn[0].zoom),J=void 0,Ge={}),fn=fn.concat(gs({key:Nn+"[0]",value:Mn[0],valueSpec:{zoom:{}},style:$t.style,styleSpec:$t.styleSpec,objectElementValidators:{zoom:bc,value:Zt}}))}else fn=fn.concat(Zt({key:Nn+"[0]",value:Mn[0],valueSpec:{},style:$t.style,styleSpec:$t.styleSpec},Mn));return Pu(_t(Mn[1]))?fn.concat([new Ne(Nn+"[1]",Mn[1],"expressions are not allowed in function stops.")]):fn.concat(da({key:Nn+"[1]",value:Mn[1],valueSpec:Ae,style:$t.style,styleSpec:$t.styleSpec}))}function Zt($t,fn){var Mn=Hi($t.value),Nn=dt($t.value),Bn=$t.value!==null?$t.value:fn;if(V){if(Mn!==V)return[new Ne($t.key,Bn,Mn+" stop domain type must match previous stop domain type "+V)]}else V=Mn;if(Mn!=="number"&&Mn!=="string"&&Mn!=="boolean")return[new Ne($t.key,Bn,"stop domain value must be a number, string, or boolean")];if(Mn!=="number"&&Oe!=="categorical"){var Wn="number expected, "+Mn+" found";return Iu(Ae)&&Oe===void 0&&(Wn+='\nIf you intended to use a categorical function, specify `"type": "categorical"`.'),[new Ne($t.key,Bn,Wn)]}return Oe!=="categorical"||Mn!=="number"||isFinite(Nn)&&Math.floor(Nn)===Nn?Oe!=="categorical"&&Mn==="number"&&J!==void 0&&Nn=2&&P[1]!=="$id"&&P[1]!=="$type";case"in":return P.length>=3&&(typeof P[1]!="string"||Array.isArray(P[2]));case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return P.length!==3||Array.isArray(P[1])||Array.isArray(P[2]);case"any":case"all":for(var V=0,J=P.slice(1);VV?1:0}function ru(P){if(!Array.isArray(P))return!1;if(P[0]==="within")return!0;for(var V=1;V"||J==="<="||J===">="?Ki(P[1],P[2],J):J==="any"?(V=P.slice(1),["any"].concat(V.map(iu))):J==="all"?["all"].concat(P.slice(1).map(iu)):J==="none"?["all"].concat(P.slice(1).map(iu).map(po)):J==="in"?Il(P[1],P.slice(2)):J==="!in"?po(Il(P[1],P.slice(2))):J==="has"?Rl(P[1]):J==="!has"?po(Rl(P[1])):J!=="within"||P}function Ki(P,V,J){switch(P){case"$type":return["filter-type-"+J,V];case"$id":return["filter-id-"+J,V];default:return["filter-"+J,P,V]}}function Il(P,V){if(V.length===0)return!1;switch(P){case"$type":return["filter-type-in",["literal",V]];case"$id":return["filter-id-in",["literal",V]];default:return V.length>200&&!V.some(function(J){return typeof J!=typeof V[0]})?["filter-in-large",P,["literal",V.sort(Du)]]:["filter-in-small",P,["literal",V]]}}function Rl(P){switch(P){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",P]}}function po(P){return["!",P]}function Oi(P){return xc(_t(P.value))?Ll(ut({},P,{expressionContext:"filter",valueSpec:{value:"boolean"}})):Bi(P)}function Bi(P){var V=P.value,J=P.key;if(Hi(V)!=="array")return[new Ne(J,V,"array expected, "+Hi(V)+" found")];var he,Ae=P.styleSpec,Oe=[];if(V.length<1)return[new Ne(J,V,"filter array must have at least 1 element")];switch(Oe=Oe.concat(Hc({key:J+"[0]",value:V[0],valueSpec:Ae.filter_operator,style:P.style,styleSpec:P.styleSpec})),dt(V[0])){case"<":case"<=":case">":case">=":V.length>=2&&dt(V[1])==="$type"&&Oe.push(new Ne(J,V,'"$type" cannot be use with operator "'+V[0]+'"'));case"==":case"!=":V.length!==3&&Oe.push(new Ne(J,V,'filter array for operator "'+V[0]+'" must have 3 elements'));case"in":case"!in":V.length>=2&&(he=Hi(V[1]))!=="string"&&Oe.push(new Ne(J+"[1]",V[1],"string expected, "+he+" found"));for(var Ge=2;Ge=Dt[$t+0]&&he>=Dt[$t+1])?(Ge[Zt]=!0,Oe.push(Ct[Zt])):Ge[Zt]=!1}}},$o.prototype._forEachCell=function(P,V,J,he,Ae,Oe,Ge,it){for(var pt=this._convertToCellCoord(P),Ct=this._convertToCellCoord(V),Dt=this._convertToCellCoord(J),Gt=this._convertToCellCoord(he),Zt=pt;Zt<=Dt;Zt++)for(var $t=Ct;$t<=Gt;$t++){var fn=this.d*$t+Zt;if((!it||it(this._convertFromCellCoord(Zt),this._convertFromCellCoord($t),this._convertFromCellCoord(Zt+1),this._convertFromCellCoord($t+1)))&&Ae.call(this,P,V,J,he,fn,Oe,Ge,it))return}},$o.prototype._convertFromCellCoord=function(P){return(P-this.padding)/this.scale},$o.prototype._convertToCellCoord=function(P){return Math.max(0,Math.min(this.d-1,Math.floor(P*this.scale)+this.padding))},$o.prototype.toArrayBuffer=function(){if(this.arrayBuffer)return this.arrayBuffer;for(var P=this.cells,V=3+this.cells.length+1+1,J=0,he=0;he=0)){var Gt=P[Dt];Ct[Dt]=Lo[pt].shallow.indexOf(Dt)>=0?Gt:zu(Gt,V)}P instanceof Error&&(Ct.message=P.message)}if(Ct.$name)throw new Error("$name property is reserved for worker serialization logic.");return pt!=="Object"&&(Ct.$name=pt),Ct}throw new Error("can't serialize object of type "+typeof P)}function Fu(P){if(P==null||typeof P=="boolean"||typeof P=="number"||typeof P=="string"||P instanceof Boolean||P instanceof Number||P instanceof String||P instanceof Date||P instanceof RegExp||Fo(P)||Yc(P)||ArrayBuffer.isView(P)||P instanceof qc)return P;if(Array.isArray(P))return P.map(Fu);if(typeof P=="object"){var V=P.$name||"Object",J=Lo[V].klass;if(!J)throw new Error("can't deserialize unregistered class "+V);if(J.deserialize)return J.deserialize(P);for(var he=Object.create(J.prototype),Ae=0,Oe=Object.keys(P);Ae=0?it:Fu(it)}}return he}throw new Error("can't deserialize object of type "+typeof P)}var Bu=function(){this.first=!0};Bu.prototype.update=function(P,V){var J=Math.floor(P);return this.first?(this.first=!1,this.lastIntegerZoom=J,this.lastIntegerZoomTime=0,this.lastZoom=P,this.lastFloorZoom=J,!0):(this.lastFloorZoom>J?(this.lastIntegerZoom=J+1,this.lastIntegerZoomTime=V):this.lastFloorZoom=128&&P<=255},Arabic:function(P){return P>=1536&&P<=1791},"Arabic Supplement":function(P){return P>=1872&&P<=1919},"Arabic Extended-A":function(P){return P>=2208&&P<=2303},"Hangul Jamo":function(P){return P>=4352&&P<=4607},"Unified Canadian Aboriginal Syllabics":function(P){return P>=5120&&P<=5759},Khmer:function(P){return P>=6016&&P<=6143},"Unified Canadian Aboriginal Syllabics Extended":function(P){return P>=6320&&P<=6399},"General Punctuation":function(P){return P>=8192&&P<=8303},"Letterlike Symbols":function(P){return P>=8448&&P<=8527},"Number Forms":function(P){return P>=8528&&P<=8591},"Miscellaneous Technical":function(P){return P>=8960&&P<=9215},"Control Pictures":function(P){return P>=9216&&P<=9279},"Optical Character Recognition":function(P){return P>=9280&&P<=9311},"Enclosed Alphanumerics":function(P){return P>=9312&&P<=9471},"Geometric Shapes":function(P){return P>=9632&&P<=9727},"Miscellaneous Symbols":function(P){return P>=9728&&P<=9983},"Miscellaneous Symbols and Arrows":function(P){return P>=11008&&P<=11263},"CJK Radicals Supplement":function(P){return P>=11904&&P<=12031},"Kangxi Radicals":function(P){return P>=12032&&P<=12255},"Ideographic Description Characters":function(P){return P>=12272&&P<=12287},"CJK Symbols and Punctuation":function(P){return P>=12288&&P<=12351},Hiragana:function(P){return P>=12352&&P<=12447},Katakana:function(P){return P>=12448&&P<=12543},Bopomofo:function(P){return P>=12544&&P<=12591},"Hangul Compatibility Jamo":function(P){return P>=12592&&P<=12687},Kanbun:function(P){return P>=12688&&P<=12703},"Bopomofo Extended":function(P){return P>=12704&&P<=12735},"CJK Strokes":function(P){return P>=12736&&P<=12783},"Katakana Phonetic Extensions":function(P){return P>=12784&&P<=12799},"Enclosed CJK Letters and Months":function(P){return P>=12800&&P<=13055},"CJK Compatibility":function(P){return P>=13056&&P<=13311},"CJK Unified Ideographs Extension A":function(P){return P>=13312&&P<=19903},"Yijing Hexagram Symbols":function(P){return P>=19904&&P<=19967},"CJK Unified Ideographs":function(P){return P>=19968&&P<=40959},"Yi Syllables":function(P){return P>=40960&&P<=42127},"Yi Radicals":function(P){return P>=42128&&P<=42191},"Hangul Jamo Extended-A":function(P){return P>=43360&&P<=43391},"Hangul Syllables":function(P){return P>=44032&&P<=55215},"Hangul Jamo Extended-B":function(P){return P>=55216&&P<=55295},"Private Use Area":function(P){return P>=57344&&P<=63743},"CJK Compatibility Ideographs":function(P){return P>=63744&&P<=64255},"Arabic Presentation Forms-A":function(P){return P>=64336&&P<=65023},"Vertical Forms":function(P){return P>=65040&&P<=65055},"CJK Compatibility Forms":function(P){return P>=65072&&P<=65103},"Small Form Variants":function(P){return P>=65104&&P<=65135},"Arabic Presentation Forms-B":function(P){return P>=65136&&P<=65279},"Halfwidth and Fullwidth Forms":function(P){return P>=65280&&P<=65519}};function Nu(P){for(var V=0,J=P;V=65097&&P<=65103)||Br["CJK Compatibility Ideographs"](P)||Br["CJK Compatibility"](P)||Br["CJK Radicals Supplement"](P)||Br["CJK Strokes"](P)||!(!Br["CJK Symbols and Punctuation"](P)||P>=12296&&P<=12305||P>=12308&&P<=12319||P===12336)||Br["CJK Unified Ideographs Extension A"](P)||Br["CJK Unified Ideographs"](P)||Br["Enclosed CJK Letters and Months"](P)||Br["Hangul Compatibility Jamo"](P)||Br["Hangul Jamo Extended-A"](P)||Br["Hangul Jamo Extended-B"](P)||Br["Hangul Jamo"](P)||Br["Hangul Syllables"](P)||Br.Hiragana(P)||Br["Ideographic Description Characters"](P)||Br.Kanbun(P)||Br["Kangxi Radicals"](P)||Br["Katakana Phonetic Extensions"](P)||Br.Katakana(P)&&P!==12540||!(!Br["Halfwidth and Fullwidth Forms"](P)||P===65288||P===65289||P===65293||P>=65306&&P<=65310||P===65339||P===65341||P===65343||P>=65371&&P<=65503||P===65507||P>=65512&&P<=65519)||!(!Br["Small Form Variants"](P)||P>=65112&&P<=65118||P>=65123&&P<=65126)||Br["Unified Canadian Aboriginal Syllabics"](P)||Br["Unified Canadian Aboriginal Syllabics Extended"](P)||Br["Vertical Forms"](P)||Br["Yijing Hexagram Symbols"](P)||Br["Yi Syllables"](P)||Br["Yi Radicals"](P))))}function $c(P){return!(ys(P)||function(V){return!!(Br["Latin-1 Supplement"](V)&&(V===167||V===169||V===174||V===177||V===188||V===189||V===190||V===215||V===247)||Br["General Punctuation"](V)&&(V===8214||V===8224||V===8225||V===8240||V===8241||V===8251||V===8252||V===8258||V===8263||V===8264||V===8265||V===8273)||Br["Letterlike Symbols"](V)||Br["Number Forms"](V)||Br["Miscellaneous Technical"](V)&&(V>=8960&&V<=8967||V>=8972&&V<=8991||V>=8996&&V<=9e3||V===9003||V>=9085&&V<=9114||V>=9150&&V<=9165||V===9167||V>=9169&&V<=9179||V>=9186&&V<=9215)||Br["Control Pictures"](V)&&V!==9251||Br["Optical Character Recognition"](V)||Br["Enclosed Alphanumerics"](V)||Br["Geometric Shapes"](V)||Br["Miscellaneous Symbols"](V)&&!(V>=9754&&V<=9759)||Br["Miscellaneous Symbols and Arrows"](V)&&(V>=11026&&V<=11055||V>=11088&&V<=11097||V>=11192&&V<=11243)||Br["CJK Symbols and Punctuation"](V)||Br.Katakana(V)||Br["Private Use Area"](V)||Br["CJK Compatibility Forms"](V)||Br["Small Form Variants"](V)||Br["Halfwidth and Fullwidth Forms"](V)||V===8734||V===8756||V===8757||V>=9984&&V<=10087||V>=10102&&V<=10131||V===65532||V===65533)}(P))}function wc(P){return Br.Arabic(P)||Br["Arabic Supplement"](P)||Br["Arabic Extended-A"](P)||Br["Arabic Presentation Forms-A"](P)||Br["Arabic Presentation Forms-B"](P)}function vo(P){return P>=1424&&P<=2303||Br["Arabic Presentation Forms-A"](P)||Br["Arabic Presentation Forms-B"](P)}function cu(P,V){return!(!V&&vo(P)||P>=2304&&P<=3583||P>=3840&&P<=4255||Br.Khmer(P))}function ll(P){for(var V=0,J=P;V-1&&(yo=bs),hu&&hu(P)};function Tc(){os.fire(new qe("pluginStateChange",{pluginStatus:yo,pluginURL:xs}))}var os=new ft,_s=function(){return yo},Gs=function(){if(yo!==Zo||!xs)throw new Error("rtl-text-plugin cannot be downloaded unless a pluginURL is specified");yo=Ol,Tc(),xs&&Ft({url:xs},function(P){P?$i(P):(yo=Ls,Tc())})},Bo={applyArabicShaping:null,processBidirectionalText:null,processStyledBidirectionalText:null,isLoaded:function(){return yo===Ls||Bo.applyArabicShaping!=null},isLoading:function(){return yo===Ol},setState:function(P){yo=P.pluginStatus,xs=P.pluginURL},isParsed:function(){return Bo.applyArabicShaping!=null&&Bo.processBidirectionalText!=null&&Bo.processStyledBidirectionalText!=null},getPluginURL:function(){return xs}},Wi=function(P,V){this.zoom=P,V?(this.now=V.now,this.fadeDuration=V.fadeDuration,this.zoomHistory=V.zoomHistory,this.transition=V.transition):(this.now=0,this.fadeDuration=0,this.zoomHistory=new Bu,this.transition={})};Wi.prototype.isSupportedScript=function(P){return function(V,J){for(var he=0,Ae=V;hethis.zoomHistory.lastIntegerZoom?{fromScale:2,toScale:1,t:V+(1-V)*J}:{fromScale:.5,toScale:1,t:1-(1-J)*V}};var no=function(P,V){this.property=P,this.value=V,this.expression=function(J,he){if(El(J))return new gc(J,he);if(Pu(J)){var Ae=Ou(J,he);if(Ae.result==="error")throw new Error(Ae.value.map(function(Ge){return Ge.key+": "+Ge.message}).join(", "));return Ae.value}var Oe=J;return typeof J=="string"&&he.type==="color"&&(Oe=pn.parse(J)),{kind:"constant",evaluate:function(){return Oe}}}(V===void 0?P.specification.default:V,P.specification)};no.prototype.isDataDriven=function(){return this.expression.kind==="source"||this.expression.kind==="composite"},no.prototype.possiblyEvaluate=function(P,V,J){return this.property.possiblyEvaluate(this,P,V,J)};var Is=function(P){this.property=P,this.value=new no(P,void 0)};Is.prototype.transitioned=function(P,V){return new qs(this.property,this.value,V,m({},P.transition,this.transition),P.now)},Is.prototype.untransitioned=function(){return new qs(this.property,this.value,null,{},0)};var No=function(P){this._properties=P,this._values=Object.create(P.defaultTransitionablePropertyValues)};No.prototype.getValue=function(P){return L(this._values[P].value.value)},No.prototype.setValue=function(P,V){this._values.hasOwnProperty(P)||(this._values[P]=new Is(this._values[P].property)),this._values[P].value=new no(this._values[P].property,V===null?void 0:L(V))},No.prototype.getTransition=function(P){return L(this._values[P].transition)},No.prototype.setTransition=function(P,V){this._values.hasOwnProperty(P)||(this._values[P]=new Is(this._values[P].property)),this._values[P].transition=L(V)||void 0},No.prototype.serialize=function(){for(var P={},V=0,J=Object.keys(this._values);Vthis.end)return this.prior=null,Ae;if(this.value.isDataDriven())return this.prior=null,Ae;if(he=1)return 1;var pt=it*it,Ct=pt*it;return 4*(it<.5?Ct:3*(it-pt)+Ct-.75)}(Ge))}return Ae};var Dl=function(P){this._properties=P,this._values=Object.create(P.defaultTransitioningPropertyValues)};Dl.prototype.possiblyEvaluate=function(P,V,J){for(var he=new ws(this._properties),Ae=0,Oe=Object.keys(this._values);AeOe.zoomHistory.lastIntegerZoom?{from:J,to:he}:{from:Ae,to:he}},V.prototype.interpolate=function(J){return J},V}(ni),cl=function(P){this.specification=P};cl.prototype.possiblyEvaluate=function(P,V,J,he){if(P.value!==void 0){if(P.expression.kind==="constant"){var Ae=P.expression.evaluate(V,null,{},J,he);return this._calculate(Ae,Ae,Ae,V)}return this._calculate(P.expression.evaluate(new Wi(Math.floor(V.zoom-1),V)),P.expression.evaluate(new Wi(Math.floor(V.zoom),V)),P.expression.evaluate(new Wi(Math.floor(V.zoom+1),V)),V)}},cl.prototype._calculate=function(P,V,J,he){return he.zoom>he.zoomHistory.lastIntegerZoom?{from:P,to:V}:{from:J,to:V}},cl.prototype.interpolate=function(P){return P};var Rs=function(P){this.specification=P};Rs.prototype.possiblyEvaluate=function(P,V,J,he){return!!P.expression.evaluate(V,null,{},J,he)},Rs.prototype.interpolate=function(){return!1};var xo=function(P){for(var V in this.properties=P,this.defaultPropertyValues={},this.defaultTransitionablePropertyValues={},this.defaultTransitioningPropertyValues={},this.defaultPossiblyEvaluatedValues={},this.overridableProperties=[],P){var J=P[V];J.specification.overridable&&this.overridableProperties.push(V);var he=this.defaultPropertyValues[V]=new no(J,void 0),Ae=this.defaultTransitionablePropertyValues[V]=new Is(J);this.defaultTransitioningPropertyValues[V]=Ae.untransitioned(),this.defaultPossiblyEvaluatedValues[V]=he.possiblyEvaluate({})}};Dr("DataDrivenProperty",ni),Dr("DataConstantProperty",Hr),Dr("CrossFadedDataDrivenProperty",Vu),Dr("CrossFadedProperty",cl),Dr("ColorRampProperty",Rs);var Zc="-transition",Vo=function(P){function V(J,he){if(P.call(this),this.id=J.id,this.type=J.type,this._featureFilter={filter:function(){return!0},needGeometry:!1},J.type!=="custom"&&(this.metadata=J.metadata,this.minzoom=J.minzoom,this.maxzoom=J.maxzoom,J.type!=="background"&&(this.source=J.source,this.sourceLayer=J["source-layer"],this.filter=J.filter),he.layout&&(this._unevaluatedLayout=new ul(he.layout)),he.paint)){for(var Ae in this._transitionablePaint=new No(he.paint),J.paint)this.setPaintProperty(Ae,J.paint[Ae],{validate:!1});for(var Oe in J.layout)this.setLayoutProperty(Oe,J.layout[Oe],{validate:!1});this._transitioningPaint=this._transitionablePaint.untransitioned(),this.paint=new ws(he.paint)}}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.getCrossfadeParameters=function(){return this._crossfadeParameters},V.prototype.getLayoutProperty=function(J){return J==="visibility"?this.visibility:this._unevaluatedLayout.getValue(J)},V.prototype.setLayoutProperty=function(J,he,Ae){if(Ae===void 0&&(Ae={}),he!=null){var Oe="layers."+this.id+".layout."+J;if(this._validate(Pl,Oe,J,he,Ae))return}J!=="visibility"?this._unevaluatedLayout.setValue(J,he):this.visibility=he},V.prototype.getPaintProperty=function(J){return E(J,Zc)?this._transitionablePaint.getTransition(J.slice(0,-Zc.length)):this._transitionablePaint.getValue(J)},V.prototype.setPaintProperty=function(J,he,Ae){if(Ae===void 0&&(Ae={}),he!=null){var Oe="layers."+this.id+".paint."+J;if(this._validate(zo,Oe,J,he,Ae))return!1}if(E(J,Zc))return this._transitionablePaint.setTransition(J.slice(0,-Zc.length),he||void 0),!1;var Ge=this._transitionablePaint._values[J],it=Ge.property.specification["property-type"]==="cross-faded-data-driven",pt=Ge.value.isDataDriven(),Ct=Ge.value;this._transitionablePaint.setValue(J,he),this._handleSpecialPaintPropertyUpdate(J);var Dt=this._transitionablePaint._values[J].value;return Dt.isDataDriven()||pt||it||this._handleOverridablePaintPropertyUpdate(J,Ct,Dt)},V.prototype._handleSpecialPaintPropertyUpdate=function(J){},V.prototype._handleOverridablePaintPropertyUpdate=function(J,he,Ae){return!1},V.prototype.isHidden=function(J){return!!(this.minzoom&&J=this.maxzoom)||this.visibility==="none"},V.prototype.updateTransitions=function(J){this._transitioningPaint=this._transitionablePaint.transitioned(J,this._transitioningPaint)},V.prototype.hasTransition=function(){return this._transitioningPaint.hasTransition()},V.prototype.recalculate=function(J,he){J.getCrossfadeParameters&&(this._crossfadeParameters=J.getCrossfadeParameters()),this._unevaluatedLayout&&(this.layout=this._unevaluatedLayout.possiblyEvaluate(J,void 0,he)),this.paint=this._transitioningPaint.possiblyEvaluate(J,void 0,he)},V.prototype.serialize=function(){var J={id:this.id,type:this.type,source:this.source,"source-layer":this.sourceLayer,metadata:this.metadata,minzoom:this.minzoom,maxzoom:this.maxzoom,filter:this.filter,layout:this._unevaluatedLayout&&this._unevaluatedLayout.serialize(),paint:this._transitionablePaint&&this._transitionablePaint.serialize()};return this.visibility&&(J.layout=J.layout||{},J.layout.visibility=this.visibility),A(J,function(he,Ae){return!(he===void 0||Ae==="layout"&&!Object.keys(he).length||Ae==="paint"&&!Object.keys(he).length)})},V.prototype._validate=function(J,he,Ae,Oe,Ge){return Ge===void 0&&(Ge={}),(!Ge||Ge.validate!==!1)&&vs(this,J.call(go,{key:he,layerType:this.type,objectKey:Ae,value:Oe,styleSpec:Re,style:{glyphs:!0,sprite:!0}}))},V.prototype.is3D=function(){return!1},V.prototype.isTileClipped=function(){return!1},V.prototype.hasOffscreenPass=function(){return!1},V.prototype.resize=function(){},V.prototype.isStateDependent=function(){for(var J in this.paint._values){var he=this.paint.get(J);if(he instanceof bo&&Iu(he.property.specification)&&(he.value.kind==="source"||he.value.kind==="composite")&&he.value.isStateDependent)return!0}return!1},V}(ft),ju={Int8:Int8Array,Uint8:Uint8Array,Int16:Int16Array,Uint16:Uint16Array,Int32:Int32Array,Uint32:Uint32Array,Float32:Float32Array},hl=function(P,V){this._structArray=P,this._pos1=V*this.size,this._pos2=this._pos1/2,this._pos4=this._pos1/4,this._pos8=this._pos1/8},Ji=function(){this.isTransferred=!1,this.capacity=-1,this.resize(0)};function la(P,V){V===void 0&&(V=1);var J=0,he=0;return{members:P.map(function(Ae){var Oe,Ge=(Oe=Ae.type,ju[Oe].BYTES_PER_ELEMENT),it=J=Xc(J,Math.max(V,Ge)),pt=Ae.components||1;return he=Math.max(he,Ge),J+=Ge*pt,{name:Ae.name,type:Ae.type,components:pt,offset:it}}),size:Xc(J,Math.max(he,V)),alignment:V}}function Xc(P,V){return Math.ceil(P/V)*V}Ji.serialize=function(P,V){return P._trim(),V&&(P.isTransferred=!0,V.push(P.arrayBuffer)),{length:P.length,arrayBuffer:P.arrayBuffer}},Ji.deserialize=function(P){var V=Object.create(this.prototype);return V.arrayBuffer=P.arrayBuffer,V.length=P.length,V.capacity=P.arrayBuffer.byteLength/V.bytesPerElement,V._refreshViews(),V},Ji.prototype._trim=function(){this.length!==this.capacity&&(this.capacity=this.length,this.arrayBuffer=this.arrayBuffer.slice(0,this.length*this.bytesPerElement),this._refreshViews())},Ji.prototype.clear=function(){this.length=0},Ji.prototype.resize=function(P){this.reserve(P),this.length=P},Ji.prototype.reserve=function(P){if(P>this.capacity){this.capacity=Math.max(P,Math.floor(5*this.capacity),128),this.arrayBuffer=new ArrayBuffer(this.capacity*this.bytesPerElement);var V=this.uint8;this._refreshViews(),V&&this.uint8.set(V)}},Ji.prototype._refreshViews=function(){throw new Error("_refreshViews() must be implemented by each concrete StructArray layout")};var et=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he){var Ae=this.length;return this.resize(Ae+1),this.emplace(Ae,J,he)},V.prototype.emplace=function(J,he,Ae){var Oe=2*J;return this.int16[Oe+0]=he,this.int16[Oe+1]=Ae,J},V}(Ji);et.prototype.bytesPerElement=4,Dr("StructArrayLayout2i4",et);var rt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe){var Ge=this.length;return this.resize(Ge+1),this.emplace(Ge,J,he,Ae,Oe)},V.prototype.emplace=function(J,he,Ae,Oe,Ge){var it=4*J;return this.int16[it+0]=he,this.int16[it+1]=Ae,this.int16[it+2]=Oe,this.int16[it+3]=Ge,J},V}(Ji);rt.prototype.bytesPerElement=8,Dr("StructArrayLayout4i8",rt);var ct=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it){var pt=this.length;return this.resize(pt+1),this.emplace(pt,J,he,Ae,Oe,Ge,it)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt){var Ct=6*J;return this.int16[Ct+0]=he,this.int16[Ct+1]=Ae,this.int16[Ct+2]=Oe,this.int16[Ct+3]=Ge,this.int16[Ct+4]=it,this.int16[Ct+5]=pt,J},V}(Ji);ct.prototype.bytesPerElement=12,Dr("StructArrayLayout2i4i12",ct);var vt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it){var pt=this.length;return this.resize(pt+1),this.emplace(pt,J,he,Ae,Oe,Ge,it)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt){var Ct=4*J,Dt=8*J;return this.int16[Ct+0]=he,this.int16[Ct+1]=Ae,this.uint8[Dt+4]=Oe,this.uint8[Dt+5]=Ge,this.uint8[Dt+6]=it,this.uint8[Dt+7]=pt,J},V}(Ji);vt.prototype.bytesPerElement=8,Dr("StructArrayLayout2i4ub8",vt);var St=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt){var Zt=this.length;return this.resize(Zt+1),this.emplace(Zt,J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt){var $t=9*J,fn=18*J;return this.uint16[$t+0]=he,this.uint16[$t+1]=Ae,this.uint16[$t+2]=Oe,this.uint16[$t+3]=Ge,this.uint16[$t+4]=it,this.uint16[$t+5]=pt,this.uint16[$t+6]=Ct,this.uint16[$t+7]=Dt,this.uint8[fn+16]=Gt,this.uint8[fn+17]=Zt,J},V}(Ji);St.prototype.bytesPerElement=18,Dr("StructArrayLayout8ui2ub18",St);var Mt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t){var fn=this.length;return this.resize(fn+1),this.emplace(fn,J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn){var Mn=12*J;return this.int16[Mn+0]=he,this.int16[Mn+1]=Ae,this.int16[Mn+2]=Oe,this.int16[Mn+3]=Ge,this.uint16[Mn+4]=it,this.uint16[Mn+5]=pt,this.uint16[Mn+6]=Ct,this.uint16[Mn+7]=Dt,this.int16[Mn+8]=Gt,this.int16[Mn+9]=Zt,this.int16[Mn+10]=$t,this.int16[Mn+11]=fn,J},V}(Ji);Mt.prototype.bytesPerElement=24,Dr("StructArrayLayout4i4ui4i24",Mt);var Y=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae){var Oe=this.length;return this.resize(Oe+1),this.emplace(Oe,J,he,Ae)},V.prototype.emplace=function(J,he,Ae,Oe){var Ge=3*J;return this.float32[Ge+0]=he,this.float32[Ge+1]=Ae,this.float32[Ge+2]=Oe,J},V}(Ji);Y.prototype.bytesPerElement=12,Dr("StructArrayLayout3f12",Y);var ee=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J){var he=this.length;return this.resize(he+1),this.emplace(he,J)},V.prototype.emplace=function(J,he){var Ae=1*J;return this.uint32[Ae+0]=he,J},V}(Ji);ee.prototype.bytesPerElement=4,Dr("StructArrayLayout1ul4",ee);var K=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt){var Gt=this.length;return this.resize(Gt+1),this.emplace(Gt,J,he,Ae,Oe,Ge,it,pt,Ct,Dt)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt){var Zt=10*J,$t=5*J;return this.int16[Zt+0]=he,this.int16[Zt+1]=Ae,this.int16[Zt+2]=Oe,this.int16[Zt+3]=Ge,this.int16[Zt+4]=it,this.int16[Zt+5]=pt,this.uint32[$t+3]=Ct,this.uint16[Zt+8]=Dt,this.uint16[Zt+9]=Gt,J},V}(Ji);K.prototype.bytesPerElement=20,Dr("StructArrayLayout6i1ul2ui20",K);var le=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it){var pt=this.length;return this.resize(pt+1),this.emplace(pt,J,he,Ae,Oe,Ge,it)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt){var Ct=6*J;return this.int16[Ct+0]=he,this.int16[Ct+1]=Ae,this.int16[Ct+2]=Oe,this.int16[Ct+3]=Ge,this.int16[Ct+4]=it,this.int16[Ct+5]=pt,J},V}(Ji);le.prototype.bytesPerElement=12,Dr("StructArrayLayout2i2i2i12",le);var Te=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge){var it=this.length;return this.resize(it+1),this.emplace(it,J,he,Ae,Oe,Ge)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it){var pt=4*J,Ct=8*J;return this.float32[pt+0]=he,this.float32[pt+1]=Ae,this.float32[pt+2]=Oe,this.int16[Ct+6]=Ge,this.int16[Ct+7]=it,J},V}(Ji);Te.prototype.bytesPerElement=16,Dr("StructArrayLayout2f1f2i16",Te);var De=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe){var Ge=this.length;return this.resize(Ge+1),this.emplace(Ge,J,he,Ae,Oe)},V.prototype.emplace=function(J,he,Ae,Oe,Ge){var it=12*J,pt=3*J;return this.uint8[it+0]=he,this.uint8[it+1]=Ae,this.float32[pt+1]=Oe,this.float32[pt+2]=Ge,J},V}(Ji);De.prototype.bytesPerElement=12,Dr("StructArrayLayout2ub2f12",De);var He=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae){var Oe=this.length;return this.resize(Oe+1),this.emplace(Oe,J,he,Ae)},V.prototype.emplace=function(J,he,Ae,Oe){var Ge=3*J;return this.uint16[Ge+0]=he,this.uint16[Ge+1]=Ae,this.uint16[Ge+2]=Oe,J},V}(Ji);He.prototype.bytesPerElement=6,Dr("StructArrayLayout3ui6",He);var Ze=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn,Mn,Nn,Bn,Wn){var Zn=this.length;return this.resize(Zn+1),this.emplace(Zn,J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn,Mn,Nn,Bn,Wn)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn,Mn,Nn,Bn,Wn,Zn){var er=24*J,sr=12*J,fr=48*J;return this.int16[er+0]=he,this.int16[er+1]=Ae,this.uint16[er+2]=Oe,this.uint16[er+3]=Ge,this.uint32[sr+2]=it,this.uint32[sr+3]=pt,this.uint32[sr+4]=Ct,this.uint16[er+10]=Dt,this.uint16[er+11]=Gt,this.uint16[er+12]=Zt,this.float32[sr+7]=$t,this.float32[sr+8]=fn,this.uint8[fr+36]=Mn,this.uint8[fr+37]=Nn,this.uint8[fr+38]=Bn,this.uint32[sr+10]=Wn,this.int16[er+22]=Zn,J},V}(Ji);Ze.prototype.bytesPerElement=48,Dr("StructArrayLayout2i2ui3ul3ui2f3ub1ul1i48",Ze);var at=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn,Mn,Nn,Bn,Wn,Zn,er,sr,fr,Pr,Tr,Nr,Xr,hi,Jr,ui){var ri=this.length;return this.resize(ri+1),this.emplace(ri,J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn,Mn,Nn,Bn,Wn,Zn,er,sr,fr,Pr,Tr,Nr,Xr,hi,Jr,ui)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn,Mn,Nn,Bn,Wn,Zn,er,sr,fr,Pr,Tr,Nr,Xr,hi,Jr,ui,ri){var Kr=34*J,Di=17*J;return this.int16[Kr+0]=he,this.int16[Kr+1]=Ae,this.int16[Kr+2]=Oe,this.int16[Kr+3]=Ge,this.int16[Kr+4]=it,this.int16[Kr+5]=pt,this.int16[Kr+6]=Ct,this.int16[Kr+7]=Dt,this.uint16[Kr+8]=Gt,this.uint16[Kr+9]=Zt,this.uint16[Kr+10]=$t,this.uint16[Kr+11]=fn,this.uint16[Kr+12]=Mn,this.uint16[Kr+13]=Nn,this.uint16[Kr+14]=Bn,this.uint16[Kr+15]=Wn,this.uint16[Kr+16]=Zn,this.uint16[Kr+17]=er,this.uint16[Kr+18]=sr,this.uint16[Kr+19]=fr,this.uint16[Kr+20]=Pr,this.uint16[Kr+21]=Tr,this.uint16[Kr+22]=Nr,this.uint32[Di+12]=Xr,this.float32[Di+13]=hi,this.float32[Di+14]=Jr,this.float32[Di+15]=ui,this.float32[Di+16]=ri,J},V}(Ji);at.prototype.bytesPerElement=68,Dr("StructArrayLayout8i15ui1ul4f68",at);var Tt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J){var he=this.length;return this.resize(he+1),this.emplace(he,J)},V.prototype.emplace=function(J,he){var Ae=1*J;return this.float32[Ae+0]=he,J},V}(Ji);Tt.prototype.bytesPerElement=4,Dr("StructArrayLayout1f4",Tt);var At=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae){var Oe=this.length;return this.resize(Oe+1),this.emplace(Oe,J,he,Ae)},V.prototype.emplace=function(J,he,Ae,Oe){var Ge=3*J;return this.int16[Ge+0]=he,this.int16[Ge+1]=Ae,this.int16[Ge+2]=Oe,J},V}(Ji);At.prototype.bytesPerElement=6,Dr("StructArrayLayout3i6",At);var se=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae){var Oe=this.length;return this.resize(Oe+1),this.emplace(Oe,J,he,Ae)},V.prototype.emplace=function(J,he,Ae,Oe){var Ge=2*J,it=4*J;return this.uint32[Ge+0]=he,this.uint16[it+2]=Ae,this.uint16[it+3]=Oe,J},V}(Ji);se.prototype.bytesPerElement=8,Dr("StructArrayLayout1ul2ui8",se);var ve=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he){var Ae=this.length;return this.resize(Ae+1),this.emplace(Ae,J,he)},V.prototype.emplace=function(J,he,Ae){var Oe=2*J;return this.uint16[Oe+0]=he,this.uint16[Oe+1]=Ae,J},V}(Ji);ve.prototype.bytesPerElement=4,Dr("StructArrayLayout2ui4",ve);var Ie=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J){var he=this.length;return this.resize(he+1),this.emplace(he,J)},V.prototype.emplace=function(J,he){var Ae=1*J;return this.uint16[Ae+0]=he,J},V}(Ji);Ie.prototype.bytesPerElement=2,Dr("StructArrayLayout1ui2",Ie);var Fe=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he){var Ae=this.length;return this.resize(Ae+1),this.emplace(Ae,J,he)},V.prototype.emplace=function(J,he,Ae){var Oe=2*J;return this.float32[Oe+0]=he,this.float32[Oe+1]=Ae,J},V}(Ji);Fe.prototype.bytesPerElement=8,Dr("StructArrayLayout2f8",Fe);var Ue=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe){var Ge=this.length;return this.resize(Ge+1),this.emplace(Ge,J,he,Ae,Oe)},V.prototype.emplace=function(J,he,Ae,Oe,Ge){var it=4*J;return this.float32[it+0]=he,this.float32[it+1]=Ae,this.float32[it+2]=Oe,this.float32[it+3]=Ge,J},V}(Ji);Ue.prototype.bytesPerElement=16,Dr("StructArrayLayout4f16",Ue);var We=function(P){function V(){P.apply(this,arguments)}P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V;var J={anchorPointX:{configurable:!0},anchorPointY:{configurable:!0},x1:{configurable:!0},y1:{configurable:!0},x2:{configurable:!0},y2:{configurable:!0},featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0},anchorPoint:{configurable:!0}};return J.anchorPointX.get=function(){return this._structArray.int16[this._pos2+0]},J.anchorPointY.get=function(){return this._structArray.int16[this._pos2+1]},J.x1.get=function(){return this._structArray.int16[this._pos2+2]},J.y1.get=function(){return this._structArray.int16[this._pos2+3]},J.x2.get=function(){return this._structArray.int16[this._pos2+4]},J.y2.get=function(){return this._structArray.int16[this._pos2+5]},J.featureIndex.get=function(){return this._structArray.uint32[this._pos4+3]},J.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+8]},J.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+9]},J.anchorPoint.get=function(){return new a(this.anchorPointX,this.anchorPointY)},Object.defineProperties(V.prototype,J),V}(hl);We.prototype.size=20;var Xe=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new We(this,J)},V}(K);Dr("CollisionBoxArray",Xe);var tt=function(P){function V(){P.apply(this,arguments)}P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V;var J={anchorX:{configurable:!0},anchorY:{configurable:!0},glyphStartIndex:{configurable:!0},numGlyphs:{configurable:!0},vertexStartIndex:{configurable:!0},lineStartIndex:{configurable:!0},lineLength:{configurable:!0},segment:{configurable:!0},lowerSize:{configurable:!0},upperSize:{configurable:!0},lineOffsetX:{configurable:!0},lineOffsetY:{configurable:!0},writingMode:{configurable:!0},placedOrientation:{configurable:!0},hidden:{configurable:!0},crossTileID:{configurable:!0},associatedIconIndex:{configurable:!0}};return J.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},J.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},J.glyphStartIndex.get=function(){return this._structArray.uint16[this._pos2+2]},J.numGlyphs.get=function(){return this._structArray.uint16[this._pos2+3]},J.vertexStartIndex.get=function(){return this._structArray.uint32[this._pos4+2]},J.lineStartIndex.get=function(){return this._structArray.uint32[this._pos4+3]},J.lineLength.get=function(){return this._structArray.uint32[this._pos4+4]},J.segment.get=function(){return this._structArray.uint16[this._pos2+10]},J.lowerSize.get=function(){return this._structArray.uint16[this._pos2+11]},J.upperSize.get=function(){return this._structArray.uint16[this._pos2+12]},J.lineOffsetX.get=function(){return this._structArray.float32[this._pos4+7]},J.lineOffsetY.get=function(){return this._structArray.float32[this._pos4+8]},J.writingMode.get=function(){return this._structArray.uint8[this._pos1+36]},J.placedOrientation.get=function(){return this._structArray.uint8[this._pos1+37]},J.placedOrientation.set=function(he){this._structArray.uint8[this._pos1+37]=he},J.hidden.get=function(){return this._structArray.uint8[this._pos1+38]},J.hidden.set=function(he){this._structArray.uint8[this._pos1+38]=he},J.crossTileID.get=function(){return this._structArray.uint32[this._pos4+10]},J.crossTileID.set=function(he){this._structArray.uint32[this._pos4+10]=he},J.associatedIconIndex.get=function(){return this._structArray.int16[this._pos2+22]},Object.defineProperties(V.prototype,J),V}(hl);tt.prototype.size=48;var lt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new tt(this,J)},V}(Ze);Dr("PlacedSymbolArray",lt);var mt=function(P){function V(){P.apply(this,arguments)}P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V;var J={anchorX:{configurable:!0},anchorY:{configurable:!0},rightJustifiedTextSymbolIndex:{configurable:!0},centerJustifiedTextSymbolIndex:{configurable:!0},leftJustifiedTextSymbolIndex:{configurable:!0},verticalPlacedTextSymbolIndex:{configurable:!0},placedIconSymbolIndex:{configurable:!0},verticalPlacedIconSymbolIndex:{configurable:!0},key:{configurable:!0},textBoxStartIndex:{configurable:!0},textBoxEndIndex:{configurable:!0},verticalTextBoxStartIndex:{configurable:!0},verticalTextBoxEndIndex:{configurable:!0},iconBoxStartIndex:{configurable:!0},iconBoxEndIndex:{configurable:!0},verticalIconBoxStartIndex:{configurable:!0},verticalIconBoxEndIndex:{configurable:!0},featureIndex:{configurable:!0},numHorizontalGlyphVertices:{configurable:!0},numVerticalGlyphVertices:{configurable:!0},numIconVertices:{configurable:!0},numVerticalIconVertices:{configurable:!0},useRuntimeCollisionCircles:{configurable:!0},crossTileID:{configurable:!0},textBoxScale:{configurable:!0},textOffset0:{configurable:!0},textOffset1:{configurable:!0},collisionCircleDiameter:{configurable:!0}};return J.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},J.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},J.rightJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+2]},J.centerJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+3]},J.leftJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+4]},J.verticalPlacedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+5]},J.placedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+6]},J.verticalPlacedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+7]},J.key.get=function(){return this._structArray.uint16[this._pos2+8]},J.textBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+9]},J.textBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+10]},J.verticalTextBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+11]},J.verticalTextBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+12]},J.iconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+13]},J.iconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+14]},J.verticalIconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+15]},J.verticalIconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+16]},J.featureIndex.get=function(){return this._structArray.uint16[this._pos2+17]},J.numHorizontalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+18]},J.numVerticalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+19]},J.numIconVertices.get=function(){return this._structArray.uint16[this._pos2+20]},J.numVerticalIconVertices.get=function(){return this._structArray.uint16[this._pos2+21]},J.useRuntimeCollisionCircles.get=function(){return this._structArray.uint16[this._pos2+22]},J.crossTileID.get=function(){return this._structArray.uint32[this._pos4+12]},J.crossTileID.set=function(he){this._structArray.uint32[this._pos4+12]=he},J.textBoxScale.get=function(){return this._structArray.float32[this._pos4+13]},J.textOffset0.get=function(){return this._structArray.float32[this._pos4+14]},J.textOffset1.get=function(){return this._structArray.float32[this._pos4+15]},J.collisionCircleDiameter.get=function(){return this._structArray.float32[this._pos4+16]},Object.defineProperties(V.prototype,J),V}(hl);mt.prototype.size=68;var zt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new mt(this,J)},V}(at);Dr("SymbolInstanceArray",zt);var Ut=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.getoffsetX=function(J){return this.float32[1*J+0]},V}(Tt);Dr("GlyphOffsetArray",Ut);var Ht=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.getx=function(J){return this.int16[3*J+0]},V.prototype.gety=function(J){return this.int16[3*J+1]},V.prototype.gettileUnitDistanceFromAnchor=function(J){return this.int16[3*J+2]},V}(At);Dr("SymbolLineVertexArray",Ht);var en=function(P){function V(){P.apply(this,arguments)}P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V;var J={featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0}};return J.featureIndex.get=function(){return this._structArray.uint32[this._pos4+0]},J.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+2]},J.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+3]},Object.defineProperties(V.prototype,J),V}(hl);en.prototype.size=8;var vn=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new en(this,J)},V}(se);Dr("FeatureIndexArray",vn);var tn=la([{name:"a_pos",components:2,type:"Int16"}],4).members,ln=function(P){P===void 0&&(P=[]),this.segments=P};function an(P,V){return 256*(P=h(Math.floor(P),0,255))+h(Math.floor(V),0,255)}ln.prototype.prepareSegment=function(P,V,J,he){var Ae=this.segments[this.segments.length-1];return P>ln.MAX_VERTEX_ARRAY_LENGTH&&R("Max vertices per segment is "+ln.MAX_VERTEX_ARRAY_LENGTH+": bucket requested "+P),(!Ae||Ae.vertexLength+P>ln.MAX_VERTEX_ARRAY_LENGTH||Ae.sortKey!==he)&&(Ae={vertexOffset:V.length,primitiveOffset:J.length,vertexLength:0,primitiveLength:0},he!==void 0&&(Ae.sortKey=he),this.segments.push(Ae)),Ae},ln.prototype.get=function(){return this.segments},ln.prototype.destroy=function(){for(var P=0,V=this.segments;P>>16)*it&65535)<<16)&4294967295)<<15|Ct>>>17))*pt+(((Ct>>>16)*pt&65535)<<16)&4294967295)<<13|Oe>>>19))+((5*(Oe>>>16)&65535)<<16)&4294967295))+((58964+(Ge>>>16)&65535)<<16);switch(Ct=0,he){case 3:Ct^=(255&V.charCodeAt(Dt+2))<<16;case 2:Ct^=(255&V.charCodeAt(Dt+1))<<8;case 1:Oe^=Ct=(65535&(Ct=(Ct=(65535&(Ct^=255&V.charCodeAt(Dt)))*it+(((Ct>>>16)*it&65535)<<16)&4294967295)<<15|Ct>>>17))*pt+(((Ct>>>16)*pt&65535)<<16)&4294967295}return Oe^=V.length,Oe=2246822507*(65535&(Oe^=Oe>>>16))+((2246822507*(Oe>>>16)&65535)<<16)&4294967295,Oe=3266489909*(65535&(Oe^=Oe>>>13))+((3266489909*(Oe>>>16)&65535)<<16)&4294967295,(Oe^=Oe>>>16)>>>0}}),on=M(function(P){P.exports=function(V,J){for(var he,Ae=V.length,Oe=J^Ae,Ge=0;Ae>=4;)he=1540483477*(65535&(he=255&V.charCodeAt(Ge)|(255&V.charCodeAt(++Ge))<<8|(255&V.charCodeAt(++Ge))<<16|(255&V.charCodeAt(++Ge))<<24))+((1540483477*(he>>>16)&65535)<<16),Oe=1540483477*(65535&Oe)+((1540483477*(Oe>>>16)&65535)<<16)^(he=1540483477*(65535&(he^=he>>>24))+((1540483477*(he>>>16)&65535)<<16)),Ae-=4,++Ge;switch(Ae){case 3:Oe^=(255&V.charCodeAt(Ge+2))<<16;case 2:Oe^=(255&V.charCodeAt(Ge+1))<<8;case 1:Oe=1540483477*(65535&(Oe^=255&V.charCodeAt(Ge)))+((1540483477*(Oe>>>16)&65535)<<16)}return Oe=1540483477*(65535&(Oe^=Oe>>>13))+((1540483477*(Oe>>>16)&65535)<<16),(Oe^=Oe>>>15)>>>0}}),Fn=_n,Hn=_n,ir=on;Fn.murmur3=Hn,Fn.murmur2=ir;var ar=function(){this.ids=[],this.positions=[],this.indexed=!1};ar.prototype.add=function(P,V,J,he){this.ids.push(Er(P)),this.positions.push(V,J,he)},ar.prototype.getPositions=function(P){for(var V=Er(P),J=0,he=this.ids.length-1;J>1;this.ids[Ae]>=V?he=Ae:J=Ae+1}for(var Oe=[];this.ids[J]===V;){var Ge=this.positions[3*J],it=this.positions[3*J+1],pt=this.positions[3*J+2];Oe.push({index:Ge,start:it,end:pt}),J++}return Oe},ar.serialize=function(P,V){var J=new Float64Array(P.ids),he=new Uint32Array(P.positions);return xr(J,he,0,J.length-1),V&&V.push(J.buffer,he.buffer),{ids:J,positions:he}},ar.deserialize=function(P){var V=new ar;return V.ids=P.ids,V.positions=P.positions,V.indexed=!0,V};var Mr=Math.pow(2,53)-1;function Er(P){var V=+P;return!isNaN(V)&&V<=Mr?V:Fn(String(P))}function xr(P,V,J,he){for(;J>1],Oe=J-1,Ge=he+1;;){do Oe++;while(P[Oe]Ae);if(Oe>=Ge)break;kr(P,Oe,Ge),kr(V,3*Oe,3*Ge),kr(V,3*Oe+1,3*Ge+1),kr(V,3*Oe+2,3*Ge+2)}Ge-J_o.max||Ge.y<_o.min||Ge.y>_o.max)&&(R("Geometry exceeds allowed extent, reduce your vector tile buffer size"),Ge.x=h(Ge.x,_o.min,_o.max),Ge.y=h(Ge.y,_o.min,_o.max))}return J}function Ps(P,V,J,he,Ae){P.emplaceBack(2*V+(he+1)/2,2*J+(Ae+1)/2)}var Ri=function(P){this.zoom=P.zoom,this.overscaling=P.overscaling,this.layers=P.layers,this.layerIds=this.layers.map(function(V){return V.id}),this.index=P.index,this.hasPattern=!1,this.layoutVertexArray=new et,this.indexArray=new He,this.segments=new ln,this.programConfigurations=new Ia(tn,P.layers,P.zoom),this.stateDependentLayerIds=this.layers.filter(function(V){return V.isStateDependent()}).map(function(V){return V.id})};function Xa(P,V){for(var J=0;J1){if(L0(P,V))return!0;for(var he=0;he1?P.distSqr(J):P.distSqr(J.sub(V)._mult(Ae)._add(V))}function od(P,V){for(var J,he,Ae,Oe=!1,Ge=0;GeV.y!=Ae.y>V.y&&V.x<(Ae.x-he.x)*(V.y-he.y)/(Ae.y-he.y)+he.x&&(Oe=!Oe);return Oe}function wf(P,V){for(var J=!1,he=0,Ae=P.length-1;heV.y!=Ge.y>V.y&&V.x<(Ge.x-Oe.x)*(V.y-Oe.y)/(Ge.y-Oe.y)+Oe.x&&(J=!J)}return J}function p1(P,V,J){var he=J[0],Ae=J[2];if(P.xAe.x&&V.x>Ae.x||P.yAe.y&&V.y>Ae.y)return!1;var Oe=I(P,V,J[0]);return Oe!==I(P,V,J[1])||Oe!==I(P,V,J[2])||Oe!==I(P,V,J[3])}function zh(P,V,J){var he=V.paint.get(P).value;return he.kind==="constant"?he.value:J.programConfigurations.get(V.id).getMaxValue(P)}function dg(P){return Math.sqrt(P[0]*P[0]+P[1]*P[1])}function pg(P,V,J,he,Ae){if(!V[0]&&!V[1])return P;var Oe=a.convert(V)._mult(Ae);J==="viewport"&&Oe._rotate(-he);for(var Ge=[],it=0;it=li||Dt<0||Dt>=li)){var Gt=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray,P.sortKey),Zt=Gt.vertexLength;Ps(this.layoutVertexArray,Ct,Dt,-1,-1),Ps(this.layoutVertexArray,Ct,Dt,1,-1),Ps(this.layoutVertexArray,Ct,Dt,1,1),Ps(this.layoutVertexArray,Ct,Dt,-1,1),this.indexArray.emplaceBack(Zt,Zt+1,Zt+2),this.indexArray.emplaceBack(Zt,Zt+3,Zt+2),Gt.vertexLength+=4,Gt.primitiveLength+=2}}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,P,J,{},he)},Dr("CircleBucket",Ri,{omit:["layers"]});var TS=new xo({"circle-sort-key":new ni(Re.layout_circle["circle-sort-key"])}),kS={paint:new xo({"circle-radius":new ni(Re.paint_circle["circle-radius"]),"circle-color":new ni(Re.paint_circle["circle-color"]),"circle-blur":new ni(Re.paint_circle["circle-blur"]),"circle-opacity":new ni(Re.paint_circle["circle-opacity"]),"circle-translate":new Hr(Re.paint_circle["circle-translate"]),"circle-translate-anchor":new Hr(Re.paint_circle["circle-translate-anchor"]),"circle-pitch-scale":new Hr(Re.paint_circle["circle-pitch-scale"]),"circle-pitch-alignment":new Hr(Re.paint_circle["circle-pitch-alignment"]),"circle-stroke-width":new ni(Re.paint_circle["circle-stroke-width"]),"circle-stroke-color":new ni(Re.paint_circle["circle-stroke-color"]),"circle-stroke-opacity":new ni(Re.paint_circle["circle-stroke-opacity"])}),layout:TS},Fl=typeof Float32Array<"u"?Float32Array:Array;function m1(P){return P[0]=1,P[1]=0,P[2]=0,P[3]=0,P[4]=0,P[5]=1,P[6]=0,P[7]=0,P[8]=0,P[9]=0,P[10]=1,P[11]=0,P[12]=0,P[13]=0,P[14]=0,P[15]=1,P}function L_(P,V,J){var he=V[0],Ae=V[1],Oe=V[2],Ge=V[3],it=V[4],pt=V[5],Ct=V[6],Dt=V[7],Gt=V[8],Zt=V[9],$t=V[10],fn=V[11],Mn=V[12],Nn=V[13],Bn=V[14],Wn=V[15],Zn=J[0],er=J[1],sr=J[2],fr=J[3];return P[0]=Zn*he+er*it+sr*Gt+fr*Mn,P[1]=Zn*Ae+er*pt+sr*Zt+fr*Nn,P[2]=Zn*Oe+er*Ct+sr*$t+fr*Bn,P[3]=Zn*Ge+er*Dt+sr*fn+fr*Wn,Zn=J[4],er=J[5],sr=J[6],fr=J[7],P[4]=Zn*he+er*it+sr*Gt+fr*Mn,P[5]=Zn*Ae+er*pt+sr*Zt+fr*Nn,P[6]=Zn*Oe+er*Ct+sr*$t+fr*Bn,P[7]=Zn*Ge+er*Dt+sr*fn+fr*Wn,Zn=J[8],er=J[9],sr=J[10],fr=J[11],P[8]=Zn*he+er*it+sr*Gt+fr*Mn,P[9]=Zn*Ae+er*pt+sr*Zt+fr*Nn,P[10]=Zn*Oe+er*Ct+sr*$t+fr*Bn,P[11]=Zn*Ge+er*Dt+sr*fn+fr*Wn,Zn=J[12],er=J[13],sr=J[14],fr=J[15],P[12]=Zn*he+er*it+sr*Gt+fr*Mn,P[13]=Zn*Ae+er*pt+sr*Zt+fr*Nn,P[14]=Zn*Oe+er*Ct+sr*$t+fr*Bn,P[15]=Zn*Ge+er*Dt+sr*fn+fr*Wn,P}Math.hypot||(Math.hypot=function(){for(var P=arguments,V=0,J=arguments.length;J--;)V+=P[J]*P[J];return Math.sqrt(V)});var MS=L_,mg,AS=function(P,V,J){return P[0]=V[0]-J[0],P[1]=V[1]-J[1],P[2]=V[2]-J[2],P};function gg(P,V,J){var he=V[0],Ae=V[1],Oe=V[2],Ge=V[3];return P[0]=J[0]*he+J[4]*Ae+J[8]*Oe+J[12]*Ge,P[1]=J[1]*he+J[5]*Ae+J[9]*Oe+J[13]*Ge,P[2]=J[2]*he+J[6]*Ae+J[10]*Oe+J[14]*Ge,P[3]=J[3]*he+J[7]*Ae+J[11]*Oe+J[15]*Ge,P}mg=new Fl(3),Fl!=Float32Array&&(mg[0]=0,mg[1]=0,mg[2]=0),function(){var P=new Fl(4);Fl!=Float32Array&&(P[0]=0,P[1]=0,P[2]=0,P[3]=0)}();var SS=function(P){var V=P[0],J=P[1];return V*V+J*J},CS=(function(){var P=new Fl(2);Fl!=Float32Array&&(P[0]=0,P[1]=0)}(),function(P){function V(J){P.call(this,J,kS)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.createBucket=function(J){return new Ri(J)},V.prototype.queryRadius=function(J){var he=J;return zh("circle-radius",this,he)+zh("circle-stroke-width",this,he)+dg(this.paint.get("circle-translate"))},V.prototype.queryIntersectsFeature=function(J,he,Ae,Oe,Ge,it,pt,Ct){for(var Dt=pg(J,this.paint.get("circle-translate"),this.paint.get("circle-translate-anchor"),it.angle,pt),Gt=this.paint.get("circle-radius").evaluate(he,Ae)+this.paint.get("circle-stroke-width").evaluate(he,Ae),Zt=this.paint.get("circle-pitch-alignment")==="map",$t=Zt?Dt:function(Pr,Tr){return Pr.map(function(Nr){return I_(Nr,Tr)})}(Dt,Ct),fn=Zt?Gt*pt:Gt,Mn=0,Nn=Oe;MnP.width||Ae.height>P.height||J.x>P.width-Ae.width||J.y>P.height-Ae.height)throw new RangeError("out of range source coordinates for image copy");if(Ae.width>V.width||Ae.height>V.height||he.x>V.width-Ae.width||he.y>V.height-Ae.height)throw new RangeError("out of range destination coordinates for image copy");for(var Ge=P.data,it=V.data,pt=0;pt80*J){he=Oe=P[0],Ae=Ge=P[1];for(var fn=J;fnOe&&(Oe=it),pt>Ge&&(Ge=pt);Ct=(Ct=Math.max(Oe-he,Ge-Ae))!==0?1/Ct:0}return I0(Zt,$t,J,he,Ae,Ct),$t}function z_(P,V,J,he,Ae){var Oe,Ge;if(Ae===_1(P,V,J,he)>0)for(Oe=V;Oe=V;Oe-=he)Ge=N_(Oe,P[Oe],P[Oe+1],Ge);return Ge&&yg(Ge,Ge.next)&&(P0(Ge),Ge=Ge.next),Ge}function Tf(P,V){if(!P)return P;V||(V=P);var J,he=P;do if(J=!1,he.steiner||!yg(he,he.next)&&wo(he.prev,he,he.next)!==0)he=he.next;else{if(P0(he),(he=V=he.prev)===he.next)break;J=!0}while(J||he!==V);return V}function I0(P,V,J,he,Ae,Oe,Ge){if(P){!Ge&&Oe&&function(Dt,Gt,Zt,$t){var fn=Dt;do fn.z===null&&(fn.z=b1(fn.x,fn.y,Gt,Zt,$t)),fn.prevZ=fn.prev,fn.nextZ=fn.next,fn=fn.next;while(fn!==Dt);fn.prevZ.nextZ=null,fn.prevZ=null,function(Mn){var Nn,Bn,Wn,Zn,er,sr,fr,Pr,Tr=1;do{for(Bn=Mn,Mn=null,er=null,sr=0;Bn;){for(sr++,Wn=Bn,fr=0,Nn=0;Nn0||Pr>0&&Wn;)fr!==0&&(Pr===0||!Wn||Bn.z<=Wn.z)?(Zn=Bn,Bn=Bn.nextZ,fr--):(Zn=Wn,Wn=Wn.nextZ,Pr--),er?er.nextZ=Zn:Mn=Zn,Zn.prevZ=er,er=Zn;Bn=Wn}er.nextZ=null,Tr*=2}while(sr>1)}(fn)}(P,he,Ae,Oe);for(var it,pt,Ct=P;P.prev!==P.next;)if(it=P.prev,pt=P.next,Oe?DS(P,he,Ae,Oe):OS(P))V.push(it.i/J),V.push(P.i/J),V.push(pt.i/J),P0(P),P=pt.next,Ct=pt.next;else if((P=pt)===Ct){Ge?Ge===1?I0(P=zS(Tf(P),V,J),V,J,he,Ae,Oe,2):Ge===2&&FS(P,V,J,he,Ae,Oe):I0(Tf(P),V,J,he,Ae,Oe,1);break}}}function OS(P){var V=P.prev,J=P,he=P.next;if(wo(V,J,he)>=0)return!1;for(var Ae=P.next.next;Ae!==P.prev;){if(ap(V.x,V.y,J.x,J.y,he.x,he.y,Ae.x,Ae.y)&&wo(Ae.prev,Ae,Ae.next)>=0)return!1;Ae=Ae.next}return!0}function DS(P,V,J,he){var Ae=P.prev,Oe=P,Ge=P.next;if(wo(Ae,Oe,Ge)>=0)return!1;for(var it=Ae.xOe.x?Ae.x>Ge.x?Ae.x:Ge.x:Oe.x>Ge.x?Oe.x:Ge.x,Dt=Ae.y>Oe.y?Ae.y>Ge.y?Ae.y:Ge.y:Oe.y>Ge.y?Oe.y:Ge.y,Gt=b1(it,pt,V,J,he),Zt=b1(Ct,Dt,V,J,he),$t=P.prevZ,fn=P.nextZ;$t&&$t.z>=Gt&&fn&&fn.z<=Zt;){if($t!==P.prev&&$t!==P.next&&ap(Ae.x,Ae.y,Oe.x,Oe.y,Ge.x,Ge.y,$t.x,$t.y)&&wo($t.prev,$t,$t.next)>=0||($t=$t.prevZ,fn!==P.prev&&fn!==P.next&&ap(Ae.x,Ae.y,Oe.x,Oe.y,Ge.x,Ge.y,fn.x,fn.y)&&wo(fn.prev,fn,fn.next)>=0))return!1;fn=fn.nextZ}for(;$t&&$t.z>=Gt;){if($t!==P.prev&&$t!==P.next&&ap(Ae.x,Ae.y,Oe.x,Oe.y,Ge.x,Ge.y,$t.x,$t.y)&&wo($t.prev,$t,$t.next)>=0)return!1;$t=$t.prevZ}for(;fn&&fn.z<=Zt;){if(fn!==P.prev&&fn!==P.next&&ap(Ae.x,Ae.y,Oe.x,Oe.y,Ge.x,Ge.y,fn.x,fn.y)&&wo(fn.prev,fn,fn.next)>=0)return!1;fn=fn.nextZ}return!0}function zS(P,V,J){var he=P;do{var Ae=he.prev,Oe=he.next.next;!yg(Ae,Oe)&&F_(Ae,he,he.next,Oe)&&R0(Ae,Oe)&&R0(Oe,Ae)&&(V.push(Ae.i/J),V.push(he.i/J),V.push(Oe.i/J),P0(he),P0(he.next),he=P=Oe),he=he.next}while(he!==P);return Tf(he)}function FS(P,V,J,he,Ae,Oe){var Ge=P;do{for(var it=Ge.next.next;it!==Ge.prev;){if(Ge.i!==it.i&&US(Ge,it)){var pt=B_(Ge,it);return Ge=Tf(Ge,Ge.next),pt=Tf(pt,pt.next),I0(Ge,V,J,he,Ae,Oe),void I0(pt,V,J,he,Ae,Oe)}it=it.next}Ge=Ge.next}while(Ge!==P)}function BS(P,V){return P.x-V.x}function NS(P,V){if(V=function(he,Ae){var Oe,Ge=Ae,it=he.x,pt=he.y,Ct=-1/0;do{if(pt<=Ge.y&&pt>=Ge.next.y&&Ge.next.y!==Ge.y){var Dt=Ge.x+(pt-Ge.y)*(Ge.next.x-Ge.x)/(Ge.next.y-Ge.y);if(Dt<=it&&Dt>Ct){if(Ct=Dt,Dt===it){if(pt===Ge.y)return Ge;if(pt===Ge.next.y)return Ge.next}Oe=Ge.x=Ge.x&&Ge.x>=$t&&it!==Ge.x&&ap(ptOe.x||Ge.x===Oe.x&&VS(Oe,Ge)))&&(Oe=Ge,Mn=Gt)),Ge=Ge.next;while(Ge!==Zt);return Oe}(P,V)){var J=B_(V,P);Tf(V,V.next),Tf(J,J.next)}}function VS(P,V){return wo(P.prev,P,V.prev)<0&&wo(V.next,P,P.next)<0}function b1(P,V,J,he,Ae){return(P=1431655765&((P=858993459&((P=252645135&((P=16711935&((P=32767*(P-J)*Ae)|P<<8))|P<<4))|P<<2))|P<<1))|(V=1431655765&((V=858993459&((V=252645135&((V=16711935&((V=32767*(V-he)*Ae)|V<<8))|V<<4))|V<<2))|V<<1))<<1}function jS(P){var V=P,J=P;do(V.x=0&&(P-Ge)*(he-it)-(J-Ge)*(V-it)>=0&&(J-Ge)*(Oe-it)-(Ae-Ge)*(he-it)>=0}function US(P,V){return P.next.i!==V.i&&P.prev.i!==V.i&&!function(J,he){var Ae=J;do{if(Ae.i!==J.i&&Ae.next.i!==J.i&&Ae.i!==he.i&&Ae.next.i!==he.i&&F_(Ae,Ae.next,J,he))return!0;Ae=Ae.next}while(Ae!==J);return!1}(P,V)&&(R0(P,V)&&R0(V,P)&&function(J,he){var Ae=J,Oe=!1,Ge=(J.x+he.x)/2,it=(J.y+he.y)/2;do Ae.y>it!=Ae.next.y>it&&Ae.next.y!==Ae.y&&Ge<(Ae.next.x-Ae.x)*(it-Ae.y)/(Ae.next.y-Ae.y)+Ae.x&&(Oe=!Oe),Ae=Ae.next;while(Ae!==J);return Oe}(P,V)&&(wo(P.prev,P,V.prev)||wo(P,V.prev,V))||yg(P,V)&&wo(P.prev,P,P.next)>0&&wo(V.prev,V,V.next)>0)}function wo(P,V,J){return(V.y-P.y)*(J.x-V.x)-(V.x-P.x)*(J.y-V.y)}function yg(P,V){return P.x===V.x&&P.y===V.y}function F_(P,V,J,he){var Ae=xg(wo(P,V,J)),Oe=xg(wo(P,V,he)),Ge=xg(wo(J,he,P)),it=xg(wo(J,he,V));return Ae!==Oe&&Ge!==it||!(Ae!==0||!bg(P,J,V))||!(Oe!==0||!bg(P,he,V))||!(Ge!==0||!bg(J,P,he))||!(it!==0||!bg(J,V,he))}function bg(P,V,J){return V.x<=Math.max(P.x,J.x)&&V.x>=Math.min(P.x,J.x)&&V.y<=Math.max(P.y,J.y)&&V.y>=Math.min(P.y,J.y)}function xg(P){return P>0?1:P<0?-1:0}function R0(P,V){return wo(P.prev,P,P.next)<0?wo(P,V,P.next)>=0&&wo(P,P.prev,V)>=0:wo(P,V,P.prev)<0||wo(P,P.next,V)<0}function B_(P,V){var J=new x1(P.i,P.x,P.y),he=new x1(V.i,V.x,V.y),Ae=P.next,Oe=V.prev;return P.next=V,V.prev=P,J.next=Ae,Ae.prev=J,he.next=J,J.prev=he,Oe.next=he,he.prev=Oe,he}function N_(P,V,J,he){var Ae=new x1(P,V,J);return he?(Ae.next=he.next,Ae.prev=he,he.next.prev=Ae,he.next=Ae):(Ae.prev=Ae,Ae.next=Ae),Ae}function P0(P){P.next.prev=P.prev,P.prev.next=P.next,P.prevZ&&(P.prevZ.nextZ=P.nextZ),P.nextZ&&(P.nextZ.prevZ=P.prevZ)}function x1(P,V,J){this.i=P,this.x=V,this.y=J,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function _1(P,V,J,he){for(var Ae=0,Oe=V,Ge=J-he;OeJ;){if(he-J>600){var Oe=he-J+1,Ge=V-J+1,it=Math.log(Oe),pt=.5*Math.exp(2*it/3),Ct=.5*Math.sqrt(it*pt*(Oe-pt)/Oe)*(Ge-Oe/2<0?-1:1);V_(P,V,Math.max(J,Math.floor(V-Ge*pt/Oe+Ct)),Math.min(he,Math.floor(V+(Oe-Ge)*pt/Oe+Ct)),Ae)}var Dt=P[V],Gt=J,Zt=he;for(O0(P,J,V),Ae(P[he],Dt)>0&&O0(P,J,he);Gt0;)Zt--}Ae(P[J],Dt)===0?O0(P,J,Zt):O0(P,++Zt,he),Zt<=V&&(J=Zt+1),V<=Zt&&(he=Zt-1)}}function O0(P,V,J){var he=P[V];P[V]=P[J],P[J]=he}function GS(P,V){return PV?1:0}function w1(P,V){var J=P.length;if(J<=1)return[P];for(var he,Ae,Oe=[],Ge=0;Ge1)for(var pt=0;pt0&&(he+=P[Ae-1].length,J.holes.push(he))}return J},y1.default=PS;var kc=function(P){this.zoom=P.zoom,this.overscaling=P.overscaling,this.layers=P.layers,this.layerIds=this.layers.map(function(V){return V.id}),this.index=P.index,this.hasPattern=!1,this.patternFeatures=[],this.layoutVertexArray=new et,this.indexArray=new He,this.indexArray2=new ve,this.programConfigurations=new Ia(D_,P.layers,P.zoom),this.segments=new ln,this.segments2=new ln,this.stateDependentLayerIds=this.layers.filter(function(V){return V.isStateDependent()}).map(function(V){return V.id})};kc.prototype.populate=function(P,V,J){this.hasPattern=T1("fill",this.layers,V);for(var he=this.layers[0].layout.get("fill-sort-key"),Ae=[],Oe=0,Ge=P;Oe>3}if(Ae--,he===1||he===2)Oe+=P.readSVarint(),Ge+=P.readSVarint(),he===1&&(V&&it.push(V),V=[]),V.push(new a(Oe,Ge));else{if(he!==7)throw new Error("unknown command "+he);V&&V.push(V[0].clone())}}return V&&it.push(V),it},op.prototype.bbox=function(){var P=this._pbf;P.pos=this._geometry;for(var V=P.readVarint()+P.pos,J=1,he=0,Ae=0,Oe=0,Ge=1/0,it=-1/0,pt=1/0,Ct=-1/0;P.pos>3}if(he--,J===1||J===2)(Ae+=P.readSVarint())it&&(it=Ae),(Oe+=P.readSVarint())Ct&&(Ct=Oe);else if(J!==7)throw new Error("unknown command "+J)}return[Ge,pt,it,Ct]},op.prototype.toGeoJSON=function(P,V,J){var he,Ae,Oe=this.extent*Math.pow(2,J),Ge=this.extent*P,it=this.extent*V,pt=this.loadGeometry(),Ct=op.types[this.type];function Dt($t){for(var fn=0;fn<$t.length;fn++){var Mn=$t[fn],Nn=180-360*(Mn.y+it)/Oe;$t[fn]=[360*(Mn.x+Ge)/Oe-180,360/Math.PI*Math.atan(Math.exp(Nn*Math.PI/180))-90]}}switch(this.type){case 1:var Gt=[];for(he=0;he>3;Ae=Ge===1?he.readString():Ge===2?he.readFloat():Ge===3?he.readDouble():Ge===4?he.readVarint64():Ge===5?he.readVarint():Ge===6?he.readSVarint():Ge===7?he.readBoolean():null}return Ae}(J))}function JS(P,V,J){if(P===3){var he=new H_(J,J.readVarint()+J.pos);he.length&&(V[he.name]=he)}}G_.prototype.feature=function(P){if(P<0||P>=this._features.length)throw new Error("feature index out of bounds");this._pbf.pos=this._features[P];var V=this._pbf.readVarint()+this._pbf.pos;return new U_(this._pbf,V,this.extent,this._keys,this._values)};var sp={VectorTile:function(P,V){this.layers=P.readFields(JS,{},V)},VectorTileFeature:U_,VectorTileLayer:H_},QS=sp.VectorTileFeature.types,M1=Math.pow(2,13);function D0(P,V,J,he,Ae,Oe,Ge,it){P.emplaceBack(V,J,2*Math.floor(he*M1)+Ge,Ae*M1*2,Oe*M1*2,Math.round(it))}var Mc=function(P){this.zoom=P.zoom,this.overscaling=P.overscaling,this.layers=P.layers,this.layerIds=this.layers.map(function(V){return V.id}),this.index=P.index,this.hasPattern=!1,this.layoutVertexArray=new ct,this.indexArray=new He,this.programConfigurations=new Ia(j_,P.layers,P.zoom),this.segments=new ln,this.stateDependentLayerIds=this.layers.filter(function(V){return V.isStateDependent()}).map(function(V){return V.id})};function eC(P,V){return P.x===V.x&&(P.x<0||P.x>li)||P.y===V.y&&(P.y<0||P.y>li)}Mc.prototype.populate=function(P,V,J){this.features=[],this.hasPattern=T1("fill-extrusion",this.layers,V);for(var he=0,Ae=P;heli})||Di.every(function(pi){return pi.y<0})||Di.every(function(pi){return pi.y>li})))for(var Mn=0,Nn=0;Nn=1){var Wn=fn[Nn-1];if(!eC(Bn,Wn)){Gt.vertexLength+4>ln.MAX_VERTEX_ARRAY_LENGTH&&(Gt=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray));var Zn=Bn.sub(Wn)._perp()._unit(),er=Wn.dist(Bn);Mn+er>32768&&(Mn=0),D0(this.layoutVertexArray,Bn.x,Bn.y,Zn.x,Zn.y,0,0,Mn),D0(this.layoutVertexArray,Bn.x,Bn.y,Zn.x,Zn.y,0,1,Mn),Mn+=er,D0(this.layoutVertexArray,Wn.x,Wn.y,Zn.x,Zn.y,0,0,Mn),D0(this.layoutVertexArray,Wn.x,Wn.y,Zn.x,Zn.y,0,1,Mn);var sr=Gt.vertexLength;this.indexArray.emplaceBack(sr,sr+2,sr+1),this.indexArray.emplaceBack(sr+1,sr+2,sr+3),Gt.vertexLength+=4,Gt.primitiveLength+=2}}}}if(Gt.vertexLength+pt>ln.MAX_VERTEX_ARRAY_LENGTH&&(Gt=this.segments.prepareSegment(pt,this.layoutVertexArray,this.indexArray)),QS[P.type]==="Polygon"){for(var fr=[],Pr=[],Tr=Gt.vertexLength,Nr=0,Xr=it;Nr=2&&P[pt-1].equals(P[pt-2]);)pt--;for(var Ct=0;Ct0;if(Pr&&Bn>Ct){var Nr=Dt.dist($t);if(Nr>2*Gt){var Xr=Dt.sub(Dt.sub($t)._mult(Gt/Nr)._round());this.updateDistance($t,Xr),this.addCurrentVertex(Xr,Mn,0,0,Zt),$t=Xr}}var hi=$t&&fn,Jr=hi?J:it?"butt":he;if(hi&&Jr==="round"&&(srAe&&(Jr="bevel"),Jr==="bevel"&&(sr>2&&(Jr="flipbevel"),sr100)Wn=Nn.mult(-1);else{var ui=sr*Mn.add(Nn).mag()/Mn.sub(Nn).mag();Wn._perp()._mult(ui*(Tr?-1:1))}this.addCurrentVertex(Dt,Wn,0,0,Zt),this.addCurrentVertex(Dt,Wn.mult(-1),0,0,Zt)}else if(Jr==="bevel"||Jr==="fakeround"){var ri=-Math.sqrt(sr*sr-1),Kr=Tr?ri:0,Di=Tr?0:ri;if($t&&this.addCurrentVertex(Dt,Mn,Kr,Di,Zt),Jr==="fakeround")for(var pi=Math.round(180*fr/Math.PI/20),va=1;va2*Gt){var ya=Dt.add(fn.sub(Dt)._mult(Gt/Pa)._round());this.updateDistance(Dt,ya),this.addCurrentVertex(ya,Nn,0,0,Zt),Dt=ya}}}}},Ys.prototype.addCurrentVertex=function(P,V,J,he,Ae,Oe){Oe===void 0&&(Oe=!1);var Ge=V.x+V.y*J,it=V.y-V.x*J,pt=-V.x+V.y*he,Ct=-V.y-V.x*he;this.addHalfVertex(P,Ge,it,Oe,!1,J,Ae),this.addHalfVertex(P,pt,Ct,Oe,!0,-he,Ae),this.distance>Y_/2&&this.totalDistance===0&&(this.distance=0,this.addCurrentVertex(P,V,J,he,Ae,Oe))},Ys.prototype.addHalfVertex=function(P,V,J,he,Ae,Oe,Ge){var it=P.x,pt=P.y,Ct=.5*this.scaledDistance;this.layoutVertexArray.emplaceBack((it<<1)+(he?1:0),(pt<<1)+(Ae?1:0),Math.round(63*V)+128,Math.round(63*J)+128,1+(Oe===0?0:Oe<0?-1:1)|(63&Ct)<<2,Ct>>6);var Dt=Ge.vertexLength++;this.e1>=0&&this.e2>=0&&(this.indexArray.emplaceBack(this.e1,this.e2,Dt),Ge.primitiveLength++),Ae?this.e2=Dt:this.e1=Dt},Ys.prototype.updateScaledDistance=function(){this.scaledDistance=this.totalDistance>0?(this.clipStart+(this.clipEnd-this.clipStart)*this.distance/this.totalDistance)*(Y_-1):this.distance},Ys.prototype.updateDistance=function(P,V){this.distance+=P.dist(V),this.updateScaledDistance()},Dr("LineBucket",Ys,{omit:["layers","patternFeatures"]});var aC=new xo({"line-cap":new Hr(Re.layout_line["line-cap"]),"line-join":new ni(Re.layout_line["line-join"]),"line-miter-limit":new Hr(Re.layout_line["line-miter-limit"]),"line-round-limit":new Hr(Re.layout_line["line-round-limit"]),"line-sort-key":new ni(Re.layout_line["line-sort-key"])}),$_={paint:new xo({"line-opacity":new ni(Re.paint_line["line-opacity"]),"line-color":new ni(Re.paint_line["line-color"]),"line-translate":new Hr(Re.paint_line["line-translate"]),"line-translate-anchor":new Hr(Re.paint_line["line-translate-anchor"]),"line-width":new ni(Re.paint_line["line-width"]),"line-gap-width":new ni(Re.paint_line["line-gap-width"]),"line-offset":new ni(Re.paint_line["line-offset"]),"line-blur":new ni(Re.paint_line["line-blur"]),"line-dasharray":new cl(Re.paint_line["line-dasharray"]),"line-pattern":new Vu(Re.paint_line["line-pattern"]),"line-gradient":new Rs(Re.paint_line["line-gradient"])}),layout:aC},oC=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.possiblyEvaluate=function(J,he){return he=new Wi(Math.floor(he.zoom),{now:he.now,fadeDuration:he.fadeDuration,zoomHistory:he.zoomHistory,transition:he.transition}),P.prototype.possiblyEvaluate.call(this,J,he)},V.prototype.evaluate=function(J,he,Ae,Oe){return he=m({},he,{zoom:Math.floor(he.zoom)}),P.prototype.evaluate.call(this,J,he,Ae,Oe)},V}(ni),Z_=new oC($_.paint.properties["line-width"].specification);Z_.useIntegerZoom=!0;var sC=function(P){function V(J){P.call(this,J,$_)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._handleSpecialPaintPropertyUpdate=function(J){J==="line-gradient"&&this._updateGradient()},V.prototype._updateGradient=function(){var J=this._transitionablePaint._values["line-gradient"].value.expression;this.gradient=O_(J,"lineProgress"),this.gradientTexture=null},V.prototype.recalculate=function(J,he){P.prototype.recalculate.call(this,J,he),this.paint._values["line-floorwidth"]=Z_.possiblyEvaluate(this._transitioningPaint._values["line-width"].value,J)},V.prototype.createBucket=function(J){return new Ys(J)},V.prototype.queryRadius=function(J){var he=J,Ae=X_(zh("line-width",this,he),zh("line-gap-width",this,he)),Oe=zh("line-offset",this,he);return Ae/2+Math.abs(Oe)+dg(this.paint.get("line-translate"))},V.prototype.queryIntersectsFeature=function(J,he,Ae,Oe,Ge,it,pt){var Ct=pg(J,this.paint.get("line-translate"),this.paint.get("line-translate-anchor"),it.angle,pt),Dt=pt/2*X_(this.paint.get("line-width").evaluate(he,Ae),this.paint.get("line-gap-width").evaluate(he,Ae)),Gt=this.paint.get("line-offset").evaluate(he,Ae);return Gt&&(Oe=function(Zt,$t){for(var fn=[],Mn=new a(0,0),Nn=0;Nn=3){for(var Bn=0;Bn0?V+2*P:P}var A1=la([{name:"a_pos_offset",components:4,type:"Int16"},{name:"a_data",components:4,type:"Uint16"},{name:"a_pixeloffset",components:4,type:"Int16"}],4),lC=la([{name:"a_projected_pos",components:3,type:"Float32"}],4),uC=(la([{name:"a_fade_opacity",components:1,type:"Uint32"}],4),la([{name:"a_placed",components:2,type:"Uint8"},{name:"a_shift",components:2,type:"Float32"}])),K_=(la([{type:"Int16",name:"anchorPointX"},{type:"Int16",name:"anchorPointY"},{type:"Int16",name:"x1"},{type:"Int16",name:"y1"},{type:"Int16",name:"x2"},{type:"Int16",name:"y2"},{type:"Uint32",name:"featureIndex"},{type:"Uint16",name:"sourceLayerIndex"},{type:"Uint16",name:"bucketIndex"}]),la([{name:"a_pos",components:2,type:"Int16"},{name:"a_anchor_pos",components:2,type:"Int16"},{name:"a_extrude",components:2,type:"Int16"}],4)),cC=la([{name:"a_pos",components:2,type:"Float32"},{name:"a_radius",components:1,type:"Float32"},{name:"a_flags",components:2,type:"Int16"}],4);function hC(P,V,J){return P.sections.forEach(function(he){he.text=function(Ae,Oe,Ge){var it=Oe.layout.get("text-transform").evaluate(Ge,{});return it==="uppercase"?Ae=Ae.toLocaleUpperCase():it==="lowercase"&&(Ae=Ae.toLocaleLowerCase()),Bo.applyArabicShaping&&(Ae=Bo.applyArabicShaping(Ae)),Ae}(he.text,V,J)}),P}la([{name:"triangle",components:3,type:"Uint16"}]),la([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Uint16",name:"glyphStartIndex"},{type:"Uint16",name:"numGlyphs"},{type:"Uint32",name:"vertexStartIndex"},{type:"Uint32",name:"lineStartIndex"},{type:"Uint32",name:"lineLength"},{type:"Uint16",name:"segment"},{type:"Uint16",name:"lowerSize"},{type:"Uint16",name:"upperSize"},{type:"Float32",name:"lineOffsetX"},{type:"Float32",name:"lineOffsetY"},{type:"Uint8",name:"writingMode"},{type:"Uint8",name:"placedOrientation"},{type:"Uint8",name:"hidden"},{type:"Uint32",name:"crossTileID"},{type:"Int16",name:"associatedIconIndex"}]),la([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Int16",name:"rightJustifiedTextSymbolIndex"},{type:"Int16",name:"centerJustifiedTextSymbolIndex"},{type:"Int16",name:"leftJustifiedTextSymbolIndex"},{type:"Int16",name:"verticalPlacedTextSymbolIndex"},{type:"Int16",name:"placedIconSymbolIndex"},{type:"Int16",name:"verticalPlacedIconSymbolIndex"},{type:"Uint16",name:"key"},{type:"Uint16",name:"textBoxStartIndex"},{type:"Uint16",name:"textBoxEndIndex"},{type:"Uint16",name:"verticalTextBoxStartIndex"},{type:"Uint16",name:"verticalTextBoxEndIndex"},{type:"Uint16",name:"iconBoxStartIndex"},{type:"Uint16",name:"iconBoxEndIndex"},{type:"Uint16",name:"verticalIconBoxStartIndex"},{type:"Uint16",name:"verticalIconBoxEndIndex"},{type:"Uint16",name:"featureIndex"},{type:"Uint16",name:"numHorizontalGlyphVertices"},{type:"Uint16",name:"numVerticalGlyphVertices"},{type:"Uint16",name:"numIconVertices"},{type:"Uint16",name:"numVerticalIconVertices"},{type:"Uint16",name:"useRuntimeCollisionCircles"},{type:"Uint32",name:"crossTileID"},{type:"Float32",name:"textBoxScale"},{type:"Float32",components:2,name:"textOffset"},{type:"Float32",name:"collisionCircleDiameter"}]),la([{type:"Float32",name:"offsetX"}]),la([{type:"Int16",name:"x"},{type:"Int16",name:"y"},{type:"Int16",name:"tileUnitDistanceFromAnchor"}]);var F0={"!":"︕","#":"#",$:"$","%":"%","&":"&","(":"︵",")":"︶","*":"*","+":"+",",":"︐","-":"︲",".":"・","/":"/",":":"︓",";":"︔","<":"︿","=":"=",">":"﹀","?":"︖","@":"@","[":"﹇","\\":"\","]":"﹈","^":"^",_:"︳","`":"`","{":"︷","|":"―","}":"︸","~":"~","¢":"¢","£":"£","¥":"¥","¦":"¦","¬":"¬","¯":" ̄","–":"︲","—":"︱","‘":"﹃","’":"﹄","“":"﹁","”":"﹂","…":"︙","‧":"・","₩":"₩","、":"︑","。":"︒","〈":"︿","〉":"﹀","《":"︽","》":"︾","「":"﹁","」":"﹂","『":"﹃","』":"﹄","【":"︻","】":"︼","〔":"︹","〕":"︺","〖":"︗","〗":"︘","!":"︕","(":"︵",")":"︶",",":"︐","-":"︲",".":"・",":":"︓",";":"︔","<":"︿",">":"﹀","?":"︖","[":"﹇","]":"﹈","_":"︳","{":"︷","|":"―","}":"︸","⦅":"︵","⦆":"︶","。":"︒","「":"﹁","」":"﹂"},ss=24,J_=function(P,V,J,he,Ae){var Oe,Ge,it=8*Ae-he-1,pt=(1<>1,Dt=-7,Gt=J?Ae-1:0,Zt=J?-1:1,$t=P[V+Gt];for(Gt+=Zt,Oe=$t&(1<<-Dt)-1,$t>>=-Dt,Dt+=it;Dt>0;Oe=256*Oe+P[V+Gt],Gt+=Zt,Dt-=8);for(Ge=Oe&(1<<-Dt)-1,Oe>>=-Dt,Dt+=he;Dt>0;Ge=256*Ge+P[V+Gt],Gt+=Zt,Dt-=8);if(Oe===0)Oe=1-Ct;else{if(Oe===pt)return Ge?NaN:1/0*($t?-1:1);Ge+=Math.pow(2,he),Oe-=Ct}return($t?-1:1)*Ge*Math.pow(2,Oe-he)},Q_=function(P,V,J,he,Ae,Oe){var Ge,it,pt,Ct=8*Oe-Ae-1,Dt=(1<>1,Zt=Ae===23?Math.pow(2,-24)-Math.pow(2,-77):0,$t=he?0:Oe-1,fn=he?1:-1,Mn=V<0||V===0&&1/V<0?1:0;for(V=Math.abs(V),isNaN(V)||V===1/0?(it=isNaN(V)?1:0,Ge=Dt):(Ge=Math.floor(Math.log(V)/Math.LN2),V*(pt=Math.pow(2,-Ge))<1&&(Ge--,pt*=2),(V+=Ge+Gt>=1?Zt/pt:Zt*Math.pow(2,1-Gt))*pt>=2&&(Ge++,pt/=2),Ge+Gt>=Dt?(it=0,Ge=Dt):Ge+Gt>=1?(it=(V*pt-1)*Math.pow(2,Ae),Ge+=Gt):(it=V*Math.pow(2,Gt-1)*Math.pow(2,Ae),Ge=0));Ae>=8;P[J+$t]=255&it,$t+=fn,it/=256,Ae-=8);for(Ge=Ge<0;P[J+$t]=255&Ge,$t+=fn,Ge/=256,Ct-=8);P[J+$t-fn]|=128*Mn},_g=ba;function ba(P){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(P)?P:new Uint8Array(P||0),this.pos=0,this.type=0,this.length=this.buf.length}ba.Varint=0,ba.Fixed64=1,ba.Bytes=2,ba.Fixed32=5;var S1=4294967296,ew=1/S1,tw=typeof TextDecoder>"u"?null:new TextDecoder("utf8");function Fh(P){return P.type===ba.Bytes?P.readVarint()+P.pos:P.pos+1}function lp(P,V,J){return J?4294967296*V+(P>>>0):4294967296*(V>>>0)+(P>>>0)}function nw(P,V,J){var he=V<=16383?1:V<=2097151?2:V<=268435455?3:Math.floor(Math.log(V)/(7*Math.LN2));J.realloc(he);for(var Ae=J.pos-1;Ae>=P;Ae--)J.buf[Ae+he]=J.buf[Ae]}function fC(P,V){for(var J=0;J>>8,P[J+2]=V>>>16,P[J+3]=V>>>24}function rw(P,V){return(P[V]|P[V+1]<<8|P[V+2]<<16)+(P[V+3]<<24)}ba.prototype={destroy:function(){this.buf=null},readFields:function(P,V,J){for(J=J||this.length;this.pos>3,Oe=this.pos;this.type=7&he,P(Ae,V,this),this.pos===Oe&&this.skip(he)}return V},readMessage:function(P,V){return this.readFields(P,V,this.readVarint()+this.pos)},readFixed32:function(){var P=wg(this.buf,this.pos);return this.pos+=4,P},readSFixed32:function(){var P=rw(this.buf,this.pos);return this.pos+=4,P},readFixed64:function(){var P=wg(this.buf,this.pos)+wg(this.buf,this.pos+4)*S1;return this.pos+=8,P},readSFixed64:function(){var P=wg(this.buf,this.pos)+rw(this.buf,this.pos+4)*S1;return this.pos+=8,P},readFloat:function(){var P=J_(this.buf,this.pos,!0,23,4);return this.pos+=4,P},readDouble:function(){var P=J_(this.buf,this.pos,!0,52,8);return this.pos+=8,P},readVarint:function(P){var V,J,he=this.buf;return V=127&(J=he[this.pos++]),J<128?V:(V|=(127&(J=he[this.pos++]))<<7,J<128?V:(V|=(127&(J=he[this.pos++]))<<14,J<128?V:(V|=(127&(J=he[this.pos++]))<<21,J<128?V:function(Ae,Oe,Ge){var it,pt,Ct=Ge.buf;if(it=(112&(pt=Ct[Ge.pos++]))>>4,pt<128||(it|=(127&(pt=Ct[Ge.pos++]))<<3,pt<128)||(it|=(127&(pt=Ct[Ge.pos++]))<<10,pt<128)||(it|=(127&(pt=Ct[Ge.pos++]))<<17,pt<128)||(it|=(127&(pt=Ct[Ge.pos++]))<<24,pt<128)||(it|=(1&(pt=Ct[Ge.pos++]))<<31,pt<128))return lp(Ae,it,Oe);throw new Error("Expected varint not more than 10 bytes")}(V|=(15&(J=he[this.pos]))<<28,P,this))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var P=this.readVarint();return P%2==1?(P+1)/-2:P/2},readBoolean:function(){return!!this.readVarint()},readString:function(){var P=this.readVarint()+this.pos,V=this.pos;return this.pos=P,P-V>=12&&tw?function(J,he,Ae){return tw.decode(J.subarray(he,Ae))}(this.buf,V,P):function(J,he,Ae){for(var Oe="",Ge=he;Ge239?4:Dt>223?3:Dt>191?2:1;if(Ge+Zt>Ae)break;Zt===1?Dt<128&&(Gt=Dt):Zt===2?(192&(it=J[Ge+1]))==128&&(Gt=(31&Dt)<<6|63&it)<=127&&(Gt=null):Zt===3?(it=J[Ge+1],pt=J[Ge+2],(192&it)==128&&(192&pt)==128&&((Gt=(15&Dt)<<12|(63&it)<<6|63&pt)<=2047||Gt>=55296&&Gt<=57343)&&(Gt=null)):Zt===4&&(it=J[Ge+1],pt=J[Ge+2],Ct=J[Ge+3],(192&it)==128&&(192&pt)==128&&(192&Ct)==128&&((Gt=(15&Dt)<<18|(63&it)<<12|(63&pt)<<6|63&Ct)<=65535||Gt>=1114112)&&(Gt=null)),Gt===null?(Gt=65533,Zt=1):Gt>65535&&(Gt-=65536,Oe+=String.fromCharCode(Gt>>>10&1023|55296),Gt=56320|1023&Gt),Oe+=String.fromCharCode(Gt),Ge+=Zt}return Oe}(this.buf,V,P)},readBytes:function(){var P=this.readVarint()+this.pos,V=this.buf.subarray(this.pos,P);return this.pos=P,V},readPackedVarint:function(P,V){if(this.type!==ba.Bytes)return P.push(this.readVarint(V));var J=Fh(this);for(P=P||[];this.pos127;);else if(V===ba.Bytes)this.pos=this.readVarint()+this.pos;else if(V===ba.Fixed32)this.pos+=4;else{if(V!==ba.Fixed64)throw new Error("Unimplemented type: "+V);this.pos+=8}},writeTag:function(P,V){this.writeVarint(P<<3|V)},realloc:function(P){for(var V=this.length||16;V268435455||P<0?function(V,J){var he,Ae;if(V>=0?(he=V%4294967296|0,Ae=V/4294967296|0):(Ae=~(-V/4294967296),4294967295^(he=~(-V%4294967296))?he=he+1|0:(he=0,Ae=Ae+1|0)),V>=18446744073709552e3||V<-18446744073709552e3)throw new Error("Given varint doesn't fit into 10 bytes");J.realloc(10),function(Oe,Ge,it){it.buf[it.pos++]=127&Oe|128,Oe>>>=7,it.buf[it.pos++]=127&Oe|128,Oe>>>=7,it.buf[it.pos++]=127&Oe|128,Oe>>>=7,it.buf[it.pos++]=127&Oe|128,Oe>>>=7,it.buf[it.pos]=127&Oe}(he,0,J),function(Oe,Ge){var it=(7&Oe)<<4;Ge.buf[Ge.pos++]|=it|((Oe>>>=3)?128:0),Oe&&(Ge.buf[Ge.pos++]=127&Oe|((Oe>>>=7)?128:0),Oe&&(Ge.buf[Ge.pos++]=127&Oe|((Oe>>>=7)?128:0),Oe&&(Ge.buf[Ge.pos++]=127&Oe|((Oe>>>=7)?128:0),Oe&&(Ge.buf[Ge.pos++]=127&Oe|((Oe>>>=7)?128:0),Oe&&(Ge.buf[Ge.pos++]=127&Oe)))))}(Ae,J)}(P,this):(this.realloc(4),this.buf[this.pos++]=127&P|(P>127?128:0),P<=127||(this.buf[this.pos++]=127&(P>>>=7)|(P>127?128:0),P<=127||(this.buf[this.pos++]=127&(P>>>=7)|(P>127?128:0),P<=127||(this.buf[this.pos++]=P>>>7&127))))},writeSVarint:function(P){this.writeVarint(P<0?2*-P-1:2*P)},writeBoolean:function(P){this.writeVarint(!!P)},writeString:function(P){P=String(P),this.realloc(4*P.length),this.pos++;var V=this.pos;this.pos=function(he,Ae,Oe){for(var Ge,it,pt=0;pt55295&&Ge<57344){if(!it){Ge>56319||pt+1===Ae.length?(he[Oe++]=239,he[Oe++]=191,he[Oe++]=189):it=Ge;continue}if(Ge<56320){he[Oe++]=239,he[Oe++]=191,he[Oe++]=189,it=Ge;continue}Ge=it-55296<<10|Ge-56320|65536,it=null}else it&&(he[Oe++]=239,he[Oe++]=191,he[Oe++]=189,it=null);Ge<128?he[Oe++]=Ge:(Ge<2048?he[Oe++]=Ge>>6|192:(Ge<65536?he[Oe++]=Ge>>12|224:(he[Oe++]=Ge>>18|240,he[Oe++]=Ge>>12&63|128),he[Oe++]=Ge>>6&63|128),he[Oe++]=63&Ge|128)}return Oe}(this.buf,P,this.pos);var J=this.pos-V;J>=128&&nw(V,J,this),this.pos=V-1,this.writeVarint(J),this.pos+=J},writeFloat:function(P){this.realloc(4),Q_(this.buf,P,this.pos,!0,23,4),this.pos+=4},writeDouble:function(P){this.realloc(8),Q_(this.buf,P,this.pos,!0,52,8),this.pos+=8},writeBytes:function(P){var V=P.length;this.writeVarint(V),this.realloc(V);for(var J=0;J=128&&nw(J,he,this),this.pos=J-1,this.writeVarint(he),this.pos+=he},writeMessage:function(P,V,J){this.writeTag(P,ba.Bytes),this.writeRawMessage(V,J)},writePackedVarint:function(P,V){V.length&&this.writeMessage(P,fC,V)},writePackedSVarint:function(P,V){V.length&&this.writeMessage(P,dC,V)},writePackedBoolean:function(P,V){V.length&&this.writeMessage(P,gC,V)},writePackedFloat:function(P,V){V.length&&this.writeMessage(P,pC,V)},writePackedDouble:function(P,V){V.length&&this.writeMessage(P,mC,V)},writePackedFixed32:function(P,V){V.length&&this.writeMessage(P,vC,V)},writePackedSFixed32:function(P,V){V.length&&this.writeMessage(P,yC,V)},writePackedFixed64:function(P,V){V.length&&this.writeMessage(P,bC,V)},writePackedSFixed64:function(P,V){V.length&&this.writeMessage(P,xC,V)},writeBytesField:function(P,V){this.writeTag(P,ba.Bytes),this.writeBytes(V)},writeFixed32Field:function(P,V){this.writeTag(P,ba.Fixed32),this.writeFixed32(V)},writeSFixed32Field:function(P,V){this.writeTag(P,ba.Fixed32),this.writeSFixed32(V)},writeFixed64Field:function(P,V){this.writeTag(P,ba.Fixed64),this.writeFixed64(V)},writeSFixed64Field:function(P,V){this.writeTag(P,ba.Fixed64),this.writeSFixed64(V)},writeVarintField:function(P,V){this.writeTag(P,ba.Varint),this.writeVarint(V)},writeSVarintField:function(P,V){this.writeTag(P,ba.Varint),this.writeSVarint(V)},writeStringField:function(P,V){this.writeTag(P,ba.Bytes),this.writeString(V)},writeFloatField:function(P,V){this.writeTag(P,ba.Fixed32),this.writeFloat(V)},writeDoubleField:function(P,V){this.writeTag(P,ba.Fixed64),this.writeDouble(V)},writeBooleanField:function(P,V){this.writeVarintField(P,!!V)}};function _C(P,V,J){P===1&&J.readMessage(wC,V)}function wC(P,V,J){if(P===3){var he=J.readMessage(TC,{}),Ae=he.id,Oe=he.bitmap,Ge=he.width,it=he.height,pt=he.left,Ct=he.top,Dt=he.advance;V.push({id:Ae,bitmap:new sd({width:Ge+6,height:it+6},Oe),metrics:{width:Ge,height:it,left:pt,top:Ct,advance:Dt}})}}function TC(P,V,J){P===1?V.id=J.readVarint():P===2?V.bitmap=J.readBytes():P===3?V.width=J.readVarint():P===4?V.height=J.readVarint():P===5?V.left=J.readSVarint():P===6?V.top=J.readSVarint():P===7&&(V.advance=J.readVarint())}function iw(P){for(var V=0,J=0,he=0,Ae=P;he=0;Zt--){var $t=Ge[Zt];if(!(Gt.w>$t.w||Gt.h>$t.h)){if(Gt.x=$t.x,Gt.y=$t.y,pt=Math.max(pt,Gt.y+Gt.h),it=Math.max(it,Gt.x+Gt.w),Gt.w===$t.w&&Gt.h===$t.h){var fn=Ge.pop();Zt0&&hd>Ga&&(Ga=hd)}else{var Dg=pi[Zi.fontStack],fd=Dg&&Dg[Ds];if(fd&&fd.rect)Ac=fd.rect,ks=fd.metrics;else{var zg=Di[Zi.fontStack],U0=zg&&zg[Ds];if(!U0)continue;ks=U0.metrics}dl=(mi-Zi.scale)*ss}Sc?(Kr.verticalizable=!0,ma.push({glyph:Ds,imageName:Vh,x:Ho,y:ls+dl,vertical:Sc,scale:Zi.scale,fontStack:Zi.fontStack,sectionIndex:Ja,metrics:ks,rect:Ac}),Ho+=qo*Zi.scale+ya):(ma.push({glyph:Ds,imageName:Vh,x:Ho,y:ls+dl,vertical:Sc,scale:Zi.scale,fontStack:Zi.fontStack,sectionIndex:Ja,metrics:ks,rect:Ac}),Ho+=ks.advance*Zi.scale+ya)}if(ma.length!==0){var B1=Ho-ya;Xo=Math.max(B1,Xo),MC(ma,0,ma.length-1,Ko,Ga)}Ho=0;var Fg=fa*mi+Ga;Ka.lineOffset=Math.max(Ga,Gi),ls+=Fg,Os=Math.max(Fg,Os),++Io}else ls+=fa,++Io}var yp=ls-kg,Bg=E1(xa),Ng=Bg.horizontalAlign,H0=Bg.verticalAlign;(function(N1,G0,dd,bp,Vg,jg,xp,Ug,Hg){var q0=(G0-dd)*Vg,W0=0;W0=jg!==xp?-Ug*bp-kg:(-bp*Hg+.5)*xp;for(var pd=0,Y0=N1;pd=0&&he>=P&&Ag[this.text.charCodeAt(he)];he--)J--;this.text=this.text.substring(P,J),this.sectionIndex=this.sectionIndex.slice(P,J)},Ts.prototype.substring=function(P,V){var J=new Ts;return J.text=this.text.substring(P,V),J.sectionIndex=this.sectionIndex.slice(P,V),J.sections=this.sections,J},Ts.prototype.toString=function(){return this.text},Ts.prototype.getMaxScale=function(){var P=this;return this.sectionIndex.reduce(function(V,J){return Math.max(V,P.sections[J].scale)},0)},Ts.prototype.addTextSection=function(P,V){this.text+=P.text,this.sections.push(cp.forText(P.scale,P.fontStack||V));for(var J=this.sections.length-1,he=0;he=63743?null:++this.imageSectionID:(this.imageSectionID=57344,this.imageSectionID)};var Ag={9:!0,10:!0,11:!0,12:!0,13:!0,32:!0},fl={};function aw(P,V,J,he,Ae,Oe){if(V.imageName){var Ge=he[V.imageName];return Ge?Ge.displaySize[0]*V.scale*ss/Oe+Ae:0}var it=J[V.fontStack],pt=it&&it[P];return pt?pt.metrics.advance*V.scale+Ae:0}function ow(P,V,J,he){var Ae=Math.pow(P-V,2);return he?P=0,Dt=0,Gt=0;Gt-J/2;){if(--Ge<0)return!1;it-=P[Ge].dist(Oe),Oe=P[Ge]}it+=P[Ge].dist(P[Ge+1]),Ge++;for(var pt=[],Ct=0;ithe;)Ct-=pt.shift().angleDelta;if(Ct>Ae)return!1;Ge++,it+=Gt.dist(Zt)}return!0}function dw(P){for(var V=0,J=0;JCt){var fn=(Ct-pt)/$t,Mn=zr(Gt.x,Zt.x,fn),Nn=zr(Gt.y,Zt.y,fn),Bn=new hp(Mn,Nn,Zt.angleTo(Gt),Dt);return Bn._round(),!Ge||fw(P,Bn,it,Ge,V)?Bn:void 0}pt+=$t}}function CC(P,V,J,he,Ae,Oe,Ge,it,pt){var Ct=pw(he,Oe,Ge),Dt=mw(he,Ae),Gt=Dt*Ge,Zt=P[0].x===0||P[0].x===pt||P[0].y===0||P[0].y===pt;return V-Gt=0&&er=0&&sr=0&&Zt+Ct<=Dt){var fr=new hp(er,sr,Wn,fn);fr._round(),he&&!fw(P,fr,Oe,he,Ae)||$t.push(fr)}}Gt+=Bn}return it||$t.length||Ge||($t=gw(P,Gt/2,J,he,Ae,Oe,Ge,!0,pt)),$t}function vw(P,V,J,he,Ae){for(var Oe=[],Ge=0;Ge=he&&Gt.x>=he||(Dt.x>=he?Dt=new a(he,Dt.y+(Gt.y-Dt.y)*((he-Dt.x)/(Gt.x-Dt.x)))._round():Gt.x>=he&&(Gt=new a(he,Dt.y+(Gt.y-Dt.y)*((he-Dt.x)/(Gt.x-Dt.x)))._round()),Dt.y>=Ae&&Gt.y>=Ae||(Dt.y>=Ae?Dt=new a(Dt.x+(Gt.x-Dt.x)*((Ae-Dt.y)/(Gt.y-Dt.y)),Ae)._round():Gt.y>=Ae&&(Gt=new a(Dt.x+(Gt.x-Dt.x)*((Ae-Dt.y)/(Gt.y-Dt.y)),Ae)._round()),pt&&Dt.equals(pt[pt.length-1])||(pt=[Dt],Oe.push(pt)),pt.push(Gt)))))}return Oe}function yw(P,V,J,he){var Ae=[],Oe=P.image,Ge=Oe.pixelRatio,it=Oe.paddedRect.w-2,pt=Oe.paddedRect.h-2,Ct=P.right-P.left,Dt=P.bottom-P.top,Gt=Oe.stretchX||[[0,it]],Zt=Oe.stretchY||[[0,pt]],$t=function(fa,xa){return fa+xa[1]-xa[0]},fn=Gt.reduce($t,0),Mn=Zt.reduce($t,0),Nn=it-fn,Bn=pt-Mn,Wn=0,Zn=fn,er=0,sr=Mn,fr=0,Pr=Nn,Tr=0,Nr=Bn;if(Oe.content&&he){var Xr=Oe.content;Wn=Sg(Gt,0,Xr[0]),er=Sg(Zt,0,Xr[1]),Zn=Sg(Gt,Xr[0],Xr[2]),sr=Sg(Zt,Xr[1],Xr[3]),fr=Xr[0]-Wn,Tr=Xr[1]-er,Pr=Xr[2]-Xr[0]-Zn,Nr=Xr[3]-Xr[1]-sr}var hi=function(fa,xa,Sa,Pa){var ya=Cg(fa.stretch-Wn,Zn,Ct,P.left),Mo=Eg(fa.fixed-fr,Pr,fa.stretch,fn),Va=Cg(xa.stretch-er,sr,Dt,P.top),Ho=Eg(xa.fixed-Tr,Nr,xa.stretch,Mn),ls=Cg(Sa.stretch-Wn,Zn,Ct,P.left),Xo=Eg(Sa.fixed-fr,Pr,Sa.stretch,fn),Os=Cg(Pa.stretch-er,sr,Dt,P.top),Ko=Eg(Pa.fixed-Tr,Nr,Pa.stretch,Mn),Io=new a(ya,Va),Jo=new a(ls,Va),Go=new a(ls,Os),Ro=new a(ya,Os),mi=new a(Mo/Ge,Ho/Ge),Gi=new a(Xo/Ge,Ko/Ge),Ka=V*Math.PI/180;if(Ka){var ma=Math.sin(Ka),Ga=Math.cos(Ka),Oa=[Ga,-ma,ma,Ga];Io._matMult(Oa),Jo._matMult(Oa),Ro._matMult(Oa),Go._matMult(Oa)}var Zi=fa.stretch+fa.fixed,Ja=Sa.stretch+Sa.fixed,Ds=xa.stretch+xa.fixed,dl=Pa.stretch+Pa.fixed;return{tl:Io,tr:Jo,bl:Ro,br:Go,tex:{x:Oe.paddedRect.x+1+Zi,y:Oe.paddedRect.y+1+Ds,w:Ja-Zi,h:dl-Ds},writingMode:void 0,glyphOffset:[0,0],sectionIndex:0,pixelOffsetTL:mi,pixelOffsetBR:Gi,minFontScaleX:Pr/Ge/Ct,minFontScaleY:Nr/Ge/Dt,isSDF:J}};if(he&&(Oe.stretchX||Oe.stretchY))for(var Jr=bw(Gt,Nn,fn),ui=bw(Zt,Bn,Mn),ri=0;ri0&&($t=Math.max(10,$t),this.circleDiameter=$t)}else{var fn=Oe.top*Ge-it,Mn=Oe.bottom*Ge+it,Nn=Oe.left*Ge-it,Bn=Oe.right*Ge+it,Wn=Oe.collisionPadding;if(Wn&&(Nn-=Wn[0]*Ge,fn-=Wn[1]*Ge,Bn+=Wn[2]*Ge,Mn+=Wn[3]*Ge),Ct){var Zn=new a(Nn,fn),er=new a(Bn,fn),sr=new a(Nn,Mn),fr=new a(Bn,Mn),Pr=Ct*Math.PI/180;Zn._rotate(Pr),er._rotate(Pr),sr._rotate(Pr),fr._rotate(Pr),Nn=Math.min(Zn.x,er.x,sr.x,fr.x),Bn=Math.max(Zn.x,er.x,sr.x,fr.x),fn=Math.min(Zn.y,er.y,sr.y,fr.y),Mn=Math.max(Zn.y,er.y,sr.y,fr.y)}P.emplaceBack(V.x,V.y,Nn,fn,Bn,Mn,J,he,Ae)}this.boxEndIndex=P.length},fp=function(P,V){if(P===void 0&&(P=[]),V===void 0&&(V=EC),this.data=P,this.length=this.data.length,this.compare=V,this.length>0)for(var J=(this.length>>1)-1;J>=0;J--)this._down(J)};function EC(P,V){return PV?1:0}function LC(P,V,J){V===void 0&&(V=1),J===void 0&&(J=!1);for(var he=1/0,Ae=1/0,Oe=-1/0,Ge=-1/0,it=P[0],pt=0;ptOe)&&(Oe=Ct.x),(!pt||Ct.y>Ge)&&(Ge=Ct.y)}var Dt=Oe-he,Gt=Ge-Ae,Zt=Math.min(Dt,Gt),$t=Zt/2,fn=new fp([],IC);if(Zt===0)return new a(he,Ae);for(var Mn=he;MnBn.d||!Bn.d)&&(Bn=Zn,J&&console.log("found best %d after %d probes",Math.round(1e4*Zn.d)/1e4,Wn)),Zn.max-Bn.d<=V||($t=Zn.h/2,fn.push(new dp(Zn.p.x-$t,Zn.p.y-$t,$t,P)),fn.push(new dp(Zn.p.x+$t,Zn.p.y-$t,$t,P)),fn.push(new dp(Zn.p.x-$t,Zn.p.y+$t,$t,P)),fn.push(new dp(Zn.p.x+$t,Zn.p.y+$t,$t,P)),Wn+=4)}return J&&(console.log("num probes: "+Wn),console.log("best distance: "+Bn.d)),Bn.p}function IC(P,V){return V.max-P.max}function dp(P,V,J,he){this.p=new a(P,V),this.h=J,this.d=function(Ae,Oe){for(var Ge=!1,it=1/0,pt=0;ptAe.y!=fn.y>Ae.y&&Ae.x<(fn.x-$t.x)*(Ae.y-$t.y)/(fn.y-$t.y)+$t.x&&(Ge=!Ge),it=Math.min(it,fg(Ae,$t,fn))}return(Ge?1:-1)*Math.sqrt(it)}(this.p,he),this.max=this.d+this.h*Math.SQRT2}fp.prototype.push=function(P){this.data.push(P),this.length++,this._up(this.length-1)},fp.prototype.pop=function(){if(this.length!==0){var P=this.data[0],V=this.data.pop();return this.length--,this.length>0&&(this.data[0]=V,this._down(0)),P}},fp.prototype.peek=function(){return this.data[0]},fp.prototype._up=function(P){for(var V=this.data,J=this.compare,he=V[P];P>0;){var Ae=P-1>>1,Oe=V[Ae];if(J(he,Oe)>=0)break;V[P]=Oe,P=Ae}V[P]=he},fp.prototype._down=function(P){for(var V=this.data,J=this.compare,he=this.length>>1,Ae=V[P];P=0)break;V[P]=Ge,P=Oe}V[P]=Ae};var I1=Number.POSITIVE_INFINITY;function xw(P,V){return V[1]!==I1?function(J,he,Ae){var Oe=0,Ge=0;switch(he=Math.abs(he),Ae=Math.abs(Ae),J){case"top-right":case"top-left":case"top":Ge=Ae-7;break;case"bottom-right":case"bottom-left":case"bottom":Ge=7-Ae}switch(J){case"top-right":case"bottom-right":case"right":Oe=-he;break;case"top-left":case"bottom-left":case"left":Oe=he}return[Oe,Ge]}(P,V[0],V[1]):function(J,he){var Ae=0,Oe=0;he<0&&(he=0);var Ge=he/Math.sqrt(2);switch(J){case"top-right":case"top-left":Oe=Ge-7;break;case"bottom-right":case"bottom-left":Oe=7-Ge;break;case"bottom":Oe=7-he;break;case"top":Oe=he-7}switch(J){case"top-right":case"bottom-right":Ae=-Ge;break;case"top-left":case"bottom-left":Ae=Ge;break;case"left":Ae=he;break;case"right":Ae=-he}return[Ae,Oe]}(P,V[0])}function R1(P){switch(P){case"right":case"top-right":case"bottom-right":return"right";case"left":case"top-left":case"bottom-left":return"left"}return"center"}var kf=32640;function _w(P,V,J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn){var Mn=function(er,sr,fr,Pr,Tr,Nr,Xr,hi){for(var Jr=Pr.layout.get("text-rotate").evaluate(Nr,{})*Math.PI/180,ui=[],ri=0,Kr=sr.positionedLines;rikf&&R(P.layerIds[0]+': Value for "text-size" is >= 255. Reduce your "text-size".'):Nn.kind==="composite"&&((Bn=[Jc*$t.compositeTextSizes[0].evaluate(Ge,{},fn),Jc*$t.compositeTextSizes[1].evaluate(Ge,{},fn)])[0]>kf||Bn[1]>kf)&&R(P.layerIds[0]+': Value for "text-size" is >= 255. Reduce your "text-size".'),P.addSymbols(P.text,Mn,Bn,it,Oe,Ge,Ct,V,pt.lineStartIndex,pt.lineLength,Zt,fn);for(var Wn=0,Zn=Dt;Wn=0;Ge--)if(he.dist(Oe[Ge])0)&&(Oe.value.kind!=="constant"||Oe.value.value.length>0),Ct=it.value.kind!=="constant"||!!it.value.value||Object.keys(it.parameters).length>0,Dt=Ae.get("symbol-sort-key");if(this.features=[],pt||Ct){for(var Gt=V.iconDependencies,Zt=V.glyphDependencies,$t=V.availableImages,fn=new Wi(this.zoom),Mn=0,Nn=P;Mn=0;for(var pi=0,va=Tr.sections;pi=0;it--)Oe[it]={x:V[it].x,y:V[it].y,tileUnitDistanceFromAnchor:Ae},it>0&&(Ae+=V[it-1].dist(V[it]));for(var pt=0;pt0},ha.prototype.hasIconData=function(){return this.icon.segments.get().length>0},ha.prototype.hasDebugData=function(){return this.textCollisionBox&&this.iconCollisionBox},ha.prototype.hasTextCollisionBoxData=function(){return this.hasDebugData()&&this.textCollisionBox.segments.get().length>0},ha.prototype.hasIconCollisionBoxData=function(){return this.hasDebugData()&&this.iconCollisionBox.segments.get().length>0},ha.prototype.addIndicesForPlacedSymbol=function(P,V){for(var J=P.placedSymbolArray.get(V),he=J.vertexStartIndex+4*J.numGlyphs,Ae=J.vertexStartIndex;Ae1||this.icon.segments.get().length>1)){this.symbolInstanceIndexes=this.getSortedSymbolIndexes(P),this.sortedAngle=P,this.text.indexArray.clear(),this.icon.indexArray.clear(),this.featureSortOrder=[];for(var J=0,he=this.symbolInstanceIndexes;J=0&&pt.indexOf(Ge)===it&&V.addIndicesForPlacedSymbol(V.text,Ge)}),Oe.verticalPlacedTextSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.text,Oe.verticalPlacedTextSymbolIndex),Oe.placedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,Oe.placedIconSymbolIndex),Oe.verticalPlacedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,Oe.verticalPlacedIconSymbolIndex)}this.text.indexBuffer&&this.text.indexBuffer.updateData(this.text.indexArray),this.icon.indexBuffer&&this.icon.indexBuffer.updateData(this.icon.indexArray)}},Dr("SymbolBucket",ha,{omit:["layers","collisionBoxArray","features","compareText"]}),ha.MAX_GLYPHS=65535,ha.addDynamicAttributes=P1;var zC=new xo({"symbol-placement":new Hr(Re.layout_symbol["symbol-placement"]),"symbol-spacing":new Hr(Re.layout_symbol["symbol-spacing"]),"symbol-avoid-edges":new Hr(Re.layout_symbol["symbol-avoid-edges"]),"symbol-sort-key":new ni(Re.layout_symbol["symbol-sort-key"]),"symbol-z-order":new Hr(Re.layout_symbol["symbol-z-order"]),"icon-allow-overlap":new Hr(Re.layout_symbol["icon-allow-overlap"]),"icon-ignore-placement":new Hr(Re.layout_symbol["icon-ignore-placement"]),"icon-optional":new Hr(Re.layout_symbol["icon-optional"]),"icon-rotation-alignment":new Hr(Re.layout_symbol["icon-rotation-alignment"]),"icon-size":new ni(Re.layout_symbol["icon-size"]),"icon-text-fit":new Hr(Re.layout_symbol["icon-text-fit"]),"icon-text-fit-padding":new Hr(Re.layout_symbol["icon-text-fit-padding"]),"icon-image":new ni(Re.layout_symbol["icon-image"]),"icon-rotate":new ni(Re.layout_symbol["icon-rotate"]),"icon-padding":new Hr(Re.layout_symbol["icon-padding"]),"icon-keep-upright":new Hr(Re.layout_symbol["icon-keep-upright"]),"icon-offset":new ni(Re.layout_symbol["icon-offset"]),"icon-anchor":new ni(Re.layout_symbol["icon-anchor"]),"icon-pitch-alignment":new Hr(Re.layout_symbol["icon-pitch-alignment"]),"text-pitch-alignment":new Hr(Re.layout_symbol["text-pitch-alignment"]),"text-rotation-alignment":new Hr(Re.layout_symbol["text-rotation-alignment"]),"text-field":new ni(Re.layout_symbol["text-field"]),"text-font":new ni(Re.layout_symbol["text-font"]),"text-size":new ni(Re.layout_symbol["text-size"]),"text-max-width":new ni(Re.layout_symbol["text-max-width"]),"text-line-height":new Hr(Re.layout_symbol["text-line-height"]),"text-letter-spacing":new ni(Re.layout_symbol["text-letter-spacing"]),"text-justify":new ni(Re.layout_symbol["text-justify"]),"text-radial-offset":new ni(Re.layout_symbol["text-radial-offset"]),"text-variable-anchor":new Hr(Re.layout_symbol["text-variable-anchor"]),"text-anchor":new ni(Re.layout_symbol["text-anchor"]),"text-max-angle":new Hr(Re.layout_symbol["text-max-angle"]),"text-writing-mode":new Hr(Re.layout_symbol["text-writing-mode"]),"text-rotate":new ni(Re.layout_symbol["text-rotate"]),"text-padding":new Hr(Re.layout_symbol["text-padding"]),"text-keep-upright":new Hr(Re.layout_symbol["text-keep-upright"]),"text-transform":new ni(Re.layout_symbol["text-transform"]),"text-offset":new ni(Re.layout_symbol["text-offset"]),"text-allow-overlap":new Hr(Re.layout_symbol["text-allow-overlap"]),"text-ignore-placement":new Hr(Re.layout_symbol["text-ignore-placement"]),"text-optional":new Hr(Re.layout_symbol["text-optional"])}),O1={paint:new xo({"icon-opacity":new ni(Re.paint_symbol["icon-opacity"]),"icon-color":new ni(Re.paint_symbol["icon-color"]),"icon-halo-color":new ni(Re.paint_symbol["icon-halo-color"]),"icon-halo-width":new ni(Re.paint_symbol["icon-halo-width"]),"icon-halo-blur":new ni(Re.paint_symbol["icon-halo-blur"]),"icon-translate":new Hr(Re.paint_symbol["icon-translate"]),"icon-translate-anchor":new Hr(Re.paint_symbol["icon-translate-anchor"]),"text-opacity":new ni(Re.paint_symbol["text-opacity"]),"text-color":new ni(Re.paint_symbol["text-color"],{runtimeType:Nt,getOverride:function(P){return P.textColor},hasOverride:function(P){return!!P.textColor}}),"text-halo-color":new ni(Re.paint_symbol["text-halo-color"]),"text-halo-width":new ni(Re.paint_symbol["text-halo-width"]),"text-halo-blur":new ni(Re.paint_symbol["text-halo-blur"]),"text-translate":new Hr(Re.paint_symbol["text-translate"]),"text-translate-anchor":new Hr(Re.paint_symbol["text-translate-anchor"])}),layout:zC},mp=function(P){this.type=P.property.overrides?P.property.overrides.runtimeType:yt,this.defaultValue=P};mp.prototype.evaluate=function(P){if(P.formattedSection){var V=this.defaultValue.property.overrides;if(V&&V.hasOverride(P.formattedSection))return V.getOverride(P.formattedSection)}return P.feature&&P.featureState?this.defaultValue.evaluate(P.feature,P.featureState):this.defaultValue.property.specification.default},mp.prototype.eachChild=function(P){this.defaultValue.isConstant()||P(this.defaultValue.value._styleExpression.expression)},mp.prototype.outputDefined=function(){return!1},mp.prototype.serialize=function(){return null},Dr("FormatSectionOverride",mp,{omit:["defaultValue"]});var FC=function(P){function V(J){P.call(this,J,O1)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.recalculate=function(J,he){if(P.prototype.recalculate.call(this,J,he),this.layout.get("icon-rotation-alignment")==="auto"&&(this.layout.get("symbol-placement")!=="point"?this.layout._values["icon-rotation-alignment"]="map":this.layout._values["icon-rotation-alignment"]="viewport"),this.layout.get("text-rotation-alignment")==="auto"&&(this.layout.get("symbol-placement")!=="point"?this.layout._values["text-rotation-alignment"]="map":this.layout._values["text-rotation-alignment"]="viewport"),this.layout.get("text-pitch-alignment")==="auto"&&(this.layout._values["text-pitch-alignment"]=this.layout.get("text-rotation-alignment")),this.layout.get("icon-pitch-alignment")==="auto"&&(this.layout._values["icon-pitch-alignment"]=this.layout.get("icon-rotation-alignment")),this.layout.get("symbol-placement")==="point"){var Ae=this.layout.get("text-writing-mode");if(Ae){for(var Oe=[],Ge=0,it=Ae;Ge",targetMapId:he,sourceMapId:Oe.mapId})}}},gp.prototype.receive=function(P){var V=P.data,J=V.id;if(J&&(!V.targetMapId||this.mapId===V.targetMapId))if(V.type===""){delete this.tasks[J];var he=this.cancelCallbacks[J];delete this.cancelCallbacks[J],he&&he()}else z()||V.mustQueue?(this.tasks[J]=V,this.taskQueue.push(J),this.invoker.trigger()):this.processTask(J,V)},gp.prototype.process=function(){if(this.taskQueue.length){var P=this.taskQueue.shift(),V=this.tasks[P];delete this.tasks[P],this.taskQueue.length&&this.invoker.trigger(),V&&this.processTask(P,V)}},gp.prototype.processTask=function(P,V){var J=this;if(V.type===""){var he=this.callbacks[P];delete this.callbacks[P],he&&(V.error?he(Fu(V.error)):he(null,Fu(V.data)))}else{var Ae=!1,Oe=N(this.globalScope)?void 0:[],Ge=V.hasCallback?function(Dt,Gt){Ae=!0,delete J.cancelCallbacks[P],J.target.postMessage({id:P,type:"",sourceMapId:J.mapId,error:Dt?zu(Dt):null,data:zu(Gt,Oe)},Oe)}:function(Dt){Ae=!0},it=null,pt=Fu(V.data);if(this.parent[V.type])it=this.parent[V.type](V.sourceMapId,pt,Ge);else if(this.parent.getWorkerSource){var Ct=V.type.split(".");it=this.parent.getWorkerSource(V.sourceMapId,Ct[0],pt.source)[Ct[1]](pt,Ge)}else Ge(new Error("Could not find function "+V.type));!Ae&&it&&it.cancel&&(this.cancelCallbacks[P]=it.cancel)}},gp.prototype.remove=function(){this.invoker.remove(),this.target.removeEventListener("message",this.receive,!1)};var To=function(P,V){P&&(V?this.setSouthWest(P).setNorthEast(V):P.length===4?this.setSouthWest([P[0],P[1]]).setNorthEast([P[2],P[3]]):this.setSouthWest(P[0]).setNorthEast(P[1]))};To.prototype.setNorthEast=function(P){return this._ne=P instanceof Ra?new Ra(P.lng,P.lat):Ra.convert(P),this},To.prototype.setSouthWest=function(P){return this._sw=P instanceof Ra?new Ra(P.lng,P.lat):Ra.convert(P),this},To.prototype.extend=function(P){var V,J,he=this._sw,Ae=this._ne;if(P instanceof Ra)V=P,J=P;else{if(!(P instanceof To)){if(Array.isArray(P)){if(P.length===4||P.every(Array.isArray)){var Oe=P;return this.extend(To.convert(Oe))}var Ge=P;return this.extend(Ra.convert(Ge))}return this}if(V=P._sw,J=P._ne,!V||!J)return this}return he||Ae?(he.lng=Math.min(V.lng,he.lng),he.lat=Math.min(V.lat,he.lat),Ae.lng=Math.max(J.lng,Ae.lng),Ae.lat=Math.max(J.lat,Ae.lat)):(this._sw=new Ra(V.lng,V.lat),this._ne=new Ra(J.lng,J.lat)),this},To.prototype.getCenter=function(){return new Ra((this._sw.lng+this._ne.lng)/2,(this._sw.lat+this._ne.lat)/2)},To.prototype.getSouthWest=function(){return this._sw},To.prototype.getNorthEast=function(){return this._ne},To.prototype.getNorthWest=function(){return new Ra(this.getWest(),this.getNorth())},To.prototype.getSouthEast=function(){return new Ra(this.getEast(),this.getSouth())},To.prototype.getWest=function(){return this._sw.lng},To.prototype.getSouth=function(){return this._sw.lat},To.prototype.getEast=function(){return this._ne.lng},To.prototype.getNorth=function(){return this._ne.lat},To.prototype.toArray=function(){return[this._sw.toArray(),this._ne.toArray()]},To.prototype.toString=function(){return"LngLatBounds("+this._sw.toString()+", "+this._ne.toString()+")"},To.prototype.isEmpty=function(){return!(this._sw&&this._ne)},To.prototype.contains=function(P){var V=Ra.convert(P),J=V.lng,he=V.lat,Ae=this._sw.lat<=he&&he<=this._ne.lat,Oe=this._sw.lng<=J&&J<=this._ne.lng;return this._sw.lng>this._ne.lng&&(Oe=this._sw.lng>=J&&J>=this._ne.lng),Ae&&Oe},To.convert=function(P){return!P||P instanceof To?P:new To(P)};var Cw=63710088e-1,Ra=function(P,V){if(isNaN(P)||isNaN(V))throw new Error("Invalid LngLat object: ("+P+", "+V+")");if(this.lng=+P,this.lat=+V,this.lat>90||this.lat<-90)throw new Error("Invalid LngLat latitude value: must be between -90 and 90")};Ra.prototype.wrap=function(){return new Ra(c(this.lng,-180,180),this.lat)},Ra.prototype.toArray=function(){return[this.lng,this.lat]},Ra.prototype.toString=function(){return"LngLat("+this.lng+", "+this.lat+")"},Ra.prototype.distanceTo=function(P){var V=Math.PI/180,J=this.lat*V,he=P.lat*V,Ae=Math.sin(J)*Math.sin(he)+Math.cos(J)*Math.cos(he)*Math.cos((P.lng-this.lng)*V);return Cw*Math.acos(Math.min(Ae,1))},Ra.prototype.toBounds=function(P){P===void 0&&(P=0);var V=360*P/40075017,J=V/Math.cos(Math.PI/180*this.lat);return new To(new Ra(this.lng-J,this.lat-V),new Ra(this.lng+J,this.lat+V))},Ra.convert=function(P){if(P instanceof Ra)return P;if(Array.isArray(P)&&(P.length===2||P.length===3))return new Ra(Number(P[0]),Number(P[1]));if(!Array.isArray(P)&&typeof P=="object"&&P!==null)return new Ra(Number("lng"in P?P.lng:P.lon),Number(P.lat));throw new Error("`LngLatLike` argument must be specified as a LngLat instance, an object {lng: , lat: }, an object {lon: , lat: }, or an array of [, ]")};var Ew=2*Math.PI*Cw;function Lw(P){return Ew*Math.cos(P*Math.PI/180)}function Iw(P){return(180+P)/360}function Rw(P){return(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+P*Math.PI/360)))/360}function Pw(P,V){return P/Lw(V)}function z1(P){var V=180-360*P;return 360/Math.PI*Math.atan(Math.exp(V*Math.PI/180))-90}var ud=function(P,V,J){J===void 0&&(J=0),this.x=+P,this.y=+V,this.z=+J};ud.fromLngLat=function(P,V){V===void 0&&(V=0);var J=Ra.convert(P);return new ud(Iw(J.lng),Rw(J.lat),Pw(V,J.lat))},ud.prototype.toLngLat=function(){return new Ra(360*this.x-180,z1(this.y))},ud.prototype.toAltitude=function(){return P=this.z,V=this.y,P*Lw(z1(V));var P,V},ud.prototype.meterInMercatorCoordinateUnits=function(){return 1/Ew*(P=z1(this.y),1/Math.cos(P*Math.PI/180));var P};var cd=function(P,V,J){this.z=P,this.x=V,this.y=J,this.key=j0(0,P,P,V,J)};cd.prototype.equals=function(P){return this.z===P.z&&this.x===P.x&&this.y===P.y},cd.prototype.url=function(P,V){var J,he,Ae,Oe,Ge,it=(J=this.x,he=this.y,Ae=this.z,Oe=Sw(256*J,256*(he=Math.pow(2,Ae)-he-1),Ae),Ge=Sw(256*(J+1),256*(he+1),Ae),Oe[0]+","+Oe[1]+","+Ge[0]+","+Ge[1]),pt=function(Ct,Dt,Gt){for(var Zt,$t="",fn=Ct;fn>0;fn--)$t+=(Dt&(Zt=1<this.canonical.z?new ko(P,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y):new ko(P,this.wrap,P,this.canonical.x>>V,this.canonical.y>>V)},ko.prototype.calculateScaledKey=function(P,V){var J=this.canonical.z-P;return P>this.canonical.z?j0(this.wrap*+V,P,this.canonical.z,this.canonical.x,this.canonical.y):j0(this.wrap*+V,P,P,this.canonical.x>>J,this.canonical.y>>J)},ko.prototype.isChildOf=function(P){if(P.wrap!==this.wrap)return!1;var V=this.canonical.z-P.canonical.z;return P.overscaledZ===0||P.overscaledZ>V&&P.canonical.y===this.canonical.y>>V},ko.prototype.children=function(P){if(this.overscaledZ>=P)return[new ko(this.overscaledZ+1,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)];var V=this.canonical.z+1,J=2*this.canonical.x,he=2*this.canonical.y;return[new ko(V,this.wrap,V,J,he),new ko(V,this.wrap,V,J+1,he),new ko(V,this.wrap,V,J,he+1),new ko(V,this.wrap,V,J+1,he+1)]},ko.prototype.isLessThan=function(P){return this.wrapP.wrap)&&(this.overscaledZP.overscaledZ)&&(this.canonical.xP.canonical.x)&&this.canonical.y=this.dim+1||V<-1||V>=this.dim+1)throw new RangeError("out of range source coordinates for DEM data");return(V+1)*this.stride+(P+1)},Bh.prototype._unpackMapbox=function(P,V,J){return(256*P*256+256*V+J)/10-1e4},Bh.prototype._unpackTerrarium=function(P,V,J){return 256*P+V+J/256-32768},Bh.prototype.getPixels=function(){return new Ws({width:this.stride,height:this.stride},new Uint8Array(this.data.buffer))},Bh.prototype.backfillBorder=function(P,V,J){if(this.dim!==P.dim)throw new Error("dem dimension mismatch");var he=V*this.dim,Ae=V*this.dim+this.dim,Oe=J*this.dim,Ge=J*this.dim+this.dim;switch(V){case-1:he=Ae-1;break;case 1:Ae=he+1}switch(J){case-1:Oe=Ge-1;break;case 1:Ge=Oe+1}for(var it=-V*this.dim,pt=-J*this.dim,Ct=Oe;Ct=0&&Dt[3]>=0&&it.insert(Ge,Dt[0],Dt[1],Dt[2],Dt[3])}},Nh.prototype.loadVTLayers=function(){return this.vtLayers||(this.vtLayers=new sp.VectorTile(new _g(this.rawTileData)).layers,this.sourceLayerCoder=new Pg(this.vtLayers?Object.keys(this.vtLayers).sort():["_geojsonTileLayer"])),this.vtLayers},Nh.prototype.query=function(P,V,J,he){var Ae=this;this.loadVTLayers();for(var Oe=P.params||{},Ge=li/P.tileSize/P.scale,it=_c(Oe.filter),pt=P.queryGeometry,Ct=P.queryPadding*Ge,Dt=zw(pt),Gt=this.grid.query(Dt.minX-Ct,Dt.minY-Ct,Dt.maxX+Ct,Dt.maxY+Ct),Zt=zw(P.cameraQueryGeometry),$t=0,fn=this.grid3D.query(Zt.minX-Ct,Zt.minY-Ct,Zt.maxX+Ct,Zt.maxY+Ct,function(er,sr,fr,Pr){return function(Tr,Nr,Xr,hi,Jr){for(var ui=0,ri=Tr;ui=Kr.x&&Jr>=Kr.y)return!0}var Di=[new a(Nr,Xr),new a(Nr,Jr),new a(hi,Jr),new a(hi,Xr)];if(Tr.length>2){for(var pi=0,va=Di;pi=0)return!0;return!1}(Oe,Gt)){var Zt=this.sourceLayerCoder.decode(J),$t=this.vtLayers[Zt].feature(he);if(Ae.filter(new Wi(this.tileID.overscaledZ),$t))for(var fn=this.getId($t,Zt),Mn=0;Mnhe)Ae=!1;else if(V)if(this.expirationTimege&&(P.getActor().send("enforceCacheSizeLimit",je),st=0)},i.clamp=h,i.clearTileCache=function(P){var V=self.caches.delete(ze);P&&V.catch(P).then(function(){return P()})},i.clipLine=vw,i.clone=function(P){var V=new Fl(16);return V[0]=P[0],V[1]=P[1],V[2]=P[2],V[3]=P[3],V[4]=P[4],V[5]=P[5],V[6]=P[6],V[7]=P[7],V[8]=P[8],V[9]=P[9],V[10]=P[10],V[11]=P[11],V[12]=P[12],V[13]=P[13],V[14]=P[14],V[15]=P[15],V},i.clone$1=L,i.clone$2=function(P){var V=new Fl(3);return V[0]=P[0],V[1]=P[1],V[2]=P[2],V},i.collisionCircleLayout=cC,i.config=Z,i.create=function(){var P=new Fl(16);return Fl!=Float32Array&&(P[1]=0,P[2]=0,P[3]=0,P[4]=0,P[6]=0,P[7]=0,P[8]=0,P[9]=0,P[11]=0,P[12]=0,P[13]=0,P[14]=0),P[0]=1,P[5]=1,P[10]=1,P[15]=1,P},i.create$1=function(){var P=new Fl(9);return Fl!=Float32Array&&(P[1]=0,P[2]=0,P[3]=0,P[5]=0,P[6]=0,P[7]=0),P[0]=1,P[4]=1,P[8]=1,P},i.create$2=function(){var P=new Fl(4);return Fl!=Float32Array&&(P[1]=0,P[2]=0),P[0]=1,P[3]=1,P},i.createCommonjsModule=M,i.createExpression=mc,i.createLayout=la,i.createStyleLayer=function(P){return P.type==="custom"?new UC(P):new HC[P.type](P)},i.cross=function(P,V,J){var he=V[0],Ae=V[1],Oe=V[2],Ge=J[0],it=J[1],pt=J[2];return P[0]=Ae*pt-Oe*it,P[1]=Oe*Ge-he*pt,P[2]=he*it-Ae*Ge,P},i.deepEqual=function P(V,J){if(Array.isArray(V)){if(!Array.isArray(J)||V.length!==J.length)return!1;for(var he=0;he0&&(Oe=1/Math.sqrt(Oe)),P[0]=V[0]*Oe,P[1]=V[1]*Oe,P[2]=V[2]*Oe,P},i.number=zr,i.offscreenCanvasSupported=ot,i.ortho=function(P,V,J,he,Ae,Oe,Ge){var it=1/(V-J),pt=1/(he-Ae),Ct=1/(Oe-Ge);return P[0]=-2*it,P[1]=0,P[2]=0,P[3]=0,P[4]=0,P[5]=-2*pt,P[6]=0,P[7]=0,P[8]=0,P[9]=0,P[10]=2*Ct,P[11]=0,P[12]=(V+J)*it,P[13]=(Ae+he)*pt,P[14]=(Ge+Oe)*Ct,P[15]=1,P},i.parseGlyphPBF=function(P){return new _g(P).readFields(_C,[])},i.pbf=_g,i.performSymbolLayout=function(P,V,J,he,Ae,Oe,Ge){P.createArrays();var it=512*P.overscaling;P.tilePixelRatio=li/it,P.compareText={},P.iconsNeedLinear=!1;var pt=P.layers[0].layout,Ct=P.layers[0]._unevaluatedLayout._values,Dt={};if(P.textSizeData.kind==="composite"){var Gt=P.textSizeData,Zt=Gt.minZoom,$t=Gt.maxZoom;Dt.compositeTextSizes=[Ct["text-size"].possiblyEvaluate(new Wi(Zt),Ge),Ct["text-size"].possiblyEvaluate(new Wi($t),Ge)]}if(P.iconSizeData.kind==="composite"){var fn=P.iconSizeData,Mn=fn.minZoom,Nn=fn.maxZoom;Dt.compositeIconSizes=[Ct["icon-size"].possiblyEvaluate(new Wi(Mn),Ge),Ct["icon-size"].possiblyEvaluate(new Wi(Nn),Ge)]}Dt.layoutTextSize=Ct["text-size"].possiblyEvaluate(new Wi(P.zoom+1),Ge),Dt.layoutIconSize=Ct["icon-size"].possiblyEvaluate(new Wi(P.zoom+1),Ge),Dt.textMaxSize=Ct["text-size"].possiblyEvaluate(new Wi(18));for(var Bn=pt.get("text-line-height")*ss,Wn=pt.get("text-rotation-alignment")==="map"&&pt.get("symbol-placement")!=="point",Zn=pt.get("text-keep-upright"),er=pt.get("text-size"),sr=function(){var Tr=Pr[fr],Nr=pt.get("text-font").evaluate(Tr,{},Ge).join(","),Xr=er.evaluate(Tr,{},Ge),hi=Dt.layoutTextSize.evaluate(Tr,{},Ge),Jr=Dt.layoutIconSize.evaluate(Tr,{},Ge),ui={horizontal:{},vertical:void 0},ri=Tr.text,Kr=[0,0];if(ri){var Di=ri.toString(),pi=pt.get("text-letter-spacing").evaluate(Tr,{},Ge)*ss,va=function(mi){for(var Gi=0,Ka=mi;Gi=li||X0.y<0||X0.y>=li||function(ro,Cc,WC,Af,q1,Uw,Gg,Qc,qg,K0,Wg,Yg,W1,Hw,J0,Gw,qw,Ww,Yw,$w,Nl,$g,Zw,eh,YC){var Xw,gd,_p,wp,Tp,kp=ro.addToLineVertexArray(Cc,WC),Kw=0,Jw=0,Qw=0,e3=0,Y1=-1,$1=-1,jh={},t3=Fn(""),Z1=0,X1=0;if(Qc._unevaluatedLayout.getValue("text-radial-offset")===void 0?(Z1=(Xw=Qc.layout.get("text-offset").evaluate(Nl,{},eh).map(function(em){return em*ss}))[0],X1=Xw[1]):(Z1=Qc.layout.get("text-radial-offset").evaluate(Nl,{},eh)*ss,X1=I1),ro.allowVerticalPlacement&&Af.vertical){var n3=Qc.layout.get("text-rotate").evaluate(Nl,{},eh)+90,$C=Af.vertical;wp=new Lg(qg,Cc,K0,Wg,Yg,$C,W1,Hw,J0,n3),Gg&&(Tp=new Lg(qg,Cc,K0,Wg,Yg,Gg,qw,Ww,J0,n3))}if(q1){var K1=Qc.layout.get("icon-rotate").evaluate(Nl,{}),r3=Qc.layout.get("icon-text-fit")!=="none",i3=yw(q1,K1,Zw,r3),J1=Gg?yw(Gg,K1,Zw,r3):void 0;_p=new Lg(qg,Cc,K0,Wg,Yg,q1,qw,Ww,!1,K1),Kw=4*i3.length;var a3=ro.iconSizeData,Q0=null;a3.kind==="source"?(Q0=[Jc*Qc.layout.get("icon-size").evaluate(Nl,{})])[0]>kf&&R(ro.layerIds[0]+': Value for "icon-size" is >= 255. Reduce your "icon-size".'):a3.kind==="composite"&&((Q0=[Jc*$g.compositeIconSizes[0].evaluate(Nl,{},eh),Jc*$g.compositeIconSizes[1].evaluate(Nl,{},eh)])[0]>kf||Q0[1]>kf)&&R(ro.layerIds[0]+': Value for "icon-size" is >= 255. Reduce your "icon-size".'),ro.addSymbols(ro.icon,i3,Q0,$w,Yw,Nl,!1,Cc,kp.lineStartIndex,kp.lineLength,-1,eh),Y1=ro.icon.placedSymbolArray.length-1,J1&&(Jw=4*J1.length,ro.addSymbols(ro.icon,J1,Q0,$w,Yw,Nl,Bl.vertical,Cc,kp.lineStartIndex,kp.lineLength,-1,eh),$1=ro.icon.placedSymbolArray.length-1)}for(var o3 in Af.horizontal){var Zg=Af.horizontal[o3];if(!gd){t3=Fn(Zg.text);var ZC=Qc.layout.get("text-rotate").evaluate(Nl,{},eh);gd=new Lg(qg,Cc,K0,Wg,Yg,Zg,W1,Hw,J0,ZC)}var s3=Zg.positionedLines.length===1;if(Qw+=_w(ro,Cc,Zg,Uw,Qc,J0,Nl,Gw,kp,Af.vertical?Bl.horizontal:Bl.horizontalOnly,s3?Object.keys(Af.horizontal):[o3],jh,Y1,$g,eh),s3)break}Af.vertical&&(e3+=_w(ro,Cc,Af.vertical,Uw,Qc,J0,Nl,Gw,kp,Bl.vertical,["vertical"],jh,$1,$g,eh));var XC=gd?gd.boxStartIndex:ro.collisionBoxArray.length,KC=gd?gd.boxEndIndex:ro.collisionBoxArray.length,JC=wp?wp.boxStartIndex:ro.collisionBoxArray.length,QC=wp?wp.boxEndIndex:ro.collisionBoxArray.length,e8=_p?_p.boxStartIndex:ro.collisionBoxArray.length,t8=_p?_p.boxEndIndex:ro.collisionBoxArray.length,n8=Tp?Tp.boxStartIndex:ro.collisionBoxArray.length,r8=Tp?Tp.boxEndIndex:ro.collisionBoxArray.length,th=-1,Xg=function(em,u3){return em&&em.circleDiameter?Math.max(em.circleDiameter,u3):u3};th=Xg(gd,th),th=Xg(wp,th),th=Xg(_p,th);var l3=(th=Xg(Tp,th))>-1?1:0;l3&&(th*=YC/ss),ro.glyphOffsetArray.length>=ha.MAX_GLYPHS&&R("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"),Nl.sortKey!==void 0&&ro.addToSortKeyRanges(ro.symbolInstances.length,Nl.sortKey),ro.symbolInstances.emplaceBack(Cc.x,Cc.y,jh.right>=0?jh.right:-1,jh.center>=0?jh.center:-1,jh.left>=0?jh.left:-1,jh.vertical||-1,Y1,$1,t3,XC,KC,JC,QC,e8,t8,n8,r8,K0,Qw,e3,Kw,Jw,l3,0,W1,Z1,X1,th)}(mi,X0,qC,Ka,ma,Ga,Vh,mi.layers[0],mi.collisionBoxArray,Gi.index,Gi.sourceLayerIndex,mi.index,Dg,B1,Bg,Ds,zg,Fg,Ng,Sc,Gi,Oa,dl,ks,Zi)};if(H0==="line")for(var bp=0,Vg=vw(Gi.geometry,0,0,li,li);bp1){var Y0=SC(pd,yp,Ka.vertical||Uu,ma,Hu,fd);Y0&&dd(pd,Y0)}}else if(Gi.type==="Polygon")for(var md=0,$0=w1(Gi.geometry,0);md<$0.length;md+=1){var Z0=$0[md],Bw=LC(Z0,16);dd(Z0[0],new hp(Bw.x,Bw.y,0))}else if(Gi.type==="LineString")for(var V1=0,Nw=Gi.geometry;V1=An.maxzoom||An.visibility!=="none"&&(u(un,this.zoom,qe),(Lt[An.id]=An.createBucket({index:Qe.bucketLayerIDs.length,layers:un,zoom:this.zoom,pixelRatio:this.pixelRatio,overscaling:this.overscaling,collisionBoxArray:this.collisionBoxArray,sourceLayerIndex:Nt,sourceID:this.source})).populate(Yt,yt,this.tileID.canonical),Qe.bucketLayerIDs.push(un.map(function(dn){return dn.id})))}}}var Yn=i.mapObject(yt.glyphDependencies,function(dn){return Object.keys(dn).map(Number)});Object.keys(Yn).length?nt.send("getGlyphs",{uid:this.uid,stacks:Yn},function(dn,pn){ut||(ut=dn,dt=pn,Tn.call(Re))}):dt={};var kn=Object.keys(yt.iconDependencies);kn.length?nt.send("getImages",{icons:kn,source:this.source,tileID:this.tileID,type:"icons"},function(dn,pn){ut||(ut=dn,_t=pn,Tn.call(Re))}):_t={};var sn=Object.keys(yt.patternDependencies);function Tn(){if(ut)return ft(ut);if(dt&&_t&&It){var dn=new l(dt),pn=new i.ImageAtlas(_t,It);for(var Dn in Lt){var In=Lt[Dn];In instanceof i.SymbolBucket?(u(In.layers,this.zoom,qe),i.performSymbolLayout(In,dt,dn.positions,_t,pn.iconPositions,this.showCollisionBoxes,this.tileID.canonical)):In.hasPattern&&(In instanceof i.LineBucket||In instanceof i.FillBucket||In instanceof i.FillExtrusionBucket)&&(u(In.layers,this.zoom,qe),In.addFeatures(yt,this.tileID.canonical,pn.patternPositions))}this.status="done",ft(null,{buckets:i.values(Lt).filter(function(jn){return!jn.isEmpty()}),featureIndex:Qe,collisionBoxArray:this.collisionBoxArray,glyphAtlasImage:dn.image,imageAtlas:pn,glyphMap:this.returnDependencies?dt:null,iconMap:this.returnDependencies?_t:null,glyphPositions:this.returnDependencies?dn.positions:null})}}sn.length?nt.send("getImages",{icons:sn,source:this.source,tileID:this.tileID,type:"patterns"},function(dn,pn){ut||(ut=dn,It=pn,Tn.call(Re))}):It={},Tn.call(this)};var s=function(Ke,Je,qe,nt){this.actor=Ke,this.layerIndex=Je,this.availableImages=qe,this.loadVectorData=nt||o,this.loading={},this.loaded={}};s.prototype.loadTile=function(Ke,Je){var qe=this,nt=Ke.uid;this.loading||(this.loading={});var ft=!!(Ke&&Ke.request&&Ke.request.collectResourceTiming)&&new i.RequestPerformance(Ke.request),Re=this.loading[nt]=new a(Ke);Re.abort=this.loadVectorData(Ke,function(Ne,Qe){if(delete qe.loading[nt],Ne||!Qe)return Re.status="done",qe.loaded[nt]=Re,Je(Ne);var ut=Qe.rawData,dt={};Qe.expires&&(dt.expires=Qe.expires),Qe.cacheControl&&(dt.cacheControl=Qe.cacheControl);var _t={};if(ft){var It=ft.finish();It&&(_t.resourceTiming=JSON.parse(JSON.stringify(It)))}Re.vectorTile=Qe.vectorTile,Re.parse(Qe.vectorTile,qe.layerIndex,qe.availableImages,qe.actor,function(Lt,yt){if(Lt||!yt)return Je(Lt);Je(null,i.extend({rawTileData:ut.slice(0)},yt,dt,_t))}),qe.loaded=qe.loaded||{},qe.loaded[nt]=Re})},s.prototype.reloadTile=function(Ke,Je){var qe=this,nt=this.loaded,ft=Ke.uid,Re=this;if(nt&&nt[ft]){var Ne=nt[ft];Ne.showCollisionBoxes=Ke.showCollisionBoxes;var Qe=function(ut,dt){var _t=Ne.reloadCallback;_t&&(delete Ne.reloadCallback,Ne.parse(Ne.vectorTile,Re.layerIndex,qe.availableImages,Re.actor,_t)),Je(ut,dt)};Ne.status==="parsing"?Ne.reloadCallback=Qe:Ne.status==="done"&&(Ne.vectorTile?Ne.parse(Ne.vectorTile,this.layerIndex,this.availableImages,this.actor,Qe):Qe())}},s.prototype.abortTile=function(Ke,Je){var qe=this.loading,nt=Ke.uid;qe&&qe[nt]&&qe[nt].abort&&(qe[nt].abort(),delete qe[nt]),Je()},s.prototype.removeTile=function(Ke,Je){var qe=this.loaded,nt=Ke.uid;qe&&qe[nt]&&delete qe[nt],Je()};var h=i.window.ImageBitmap,c=function(){this.loaded={}};c.prototype.loadTile=function(Ke,Je){var qe=Ke.uid,nt=Ke.encoding,ft=Ke.rawImageData,Re=h&&ft instanceof h?this.getImageData(ft):ft,Ne=new i.DEMData(qe,Re,nt);this.loaded=this.loaded||{},this.loaded[qe]=Ne,Je(null,Ne)},c.prototype.getImageData=function(Ke){this.offscreenCanvas&&this.offscreenCanvasContext||(this.offscreenCanvas=new OffscreenCanvas(Ke.width,Ke.height),this.offscreenCanvasContext=this.offscreenCanvas.getContext("2d")),this.offscreenCanvas.width=Ke.width,this.offscreenCanvas.height=Ke.height,this.offscreenCanvasContext.drawImage(Ke,0,0,Ke.width,Ke.height);var Je=this.offscreenCanvasContext.getImageData(-1,-1,Ke.width+2,Ke.height+2);return this.offscreenCanvasContext.clearRect(0,0,this.offscreenCanvas.width,this.offscreenCanvas.height),new i.RGBAImage({width:Je.width,height:Je.height},Je.data)},c.prototype.removeTile=function(Ke){var Je=this.loaded,qe=Ke.uid;Je&&Je[qe]&&delete Je[qe]};var m=function Ke(Je,qe){var nt,ft=Je&&Je.type;if(ft==="FeatureCollection")for(nt=0;nt=0!=!!Je&&Ke.reverse()}var C=i.vectorTile.VectorTileFeature.prototype.toGeoJSON,_=function(Ke){this._feature=Ke,this.extent=i.EXTENT,this.type=Ke.type,this.properties=Ke.tags,"id"in Ke&&!isNaN(Ke.id)&&(this.id=parseInt(Ke.id,10))};_.prototype.loadGeometry=function(){if(this._feature.type===1){for(var Ke=[],Je=0,qe=this._feature.geometry;Je>31}function $(Ke,Je){for(var qe=Ke.loadGeometry(),nt=Ke.type,ft=0,Re=0,Ne=qe.length,Qe=0;Qe>1;q(Ke,Je,Ne,nt,ft,Re%2),G(Ke,Je,qe,nt,Ne-1,Re+1),G(Ke,Je,qe,Ne+1,ft,Re+1)}}function q(Ke,Je,qe,nt,ft,Re){for(;ft>nt;){if(ft-nt>600){var Ne=ft-nt+1,Qe=qe-nt+1,ut=Math.log(Ne),dt=.5*Math.exp(2*ut/3),_t=.5*Math.sqrt(ut*dt*(Ne-dt)/Ne)*(Qe-Ne/2<0?-1:1);q(Ke,Je,qe,Math.max(nt,Math.floor(qe-Qe*dt/Ne+_t)),Math.min(ft,Math.floor(qe+(Ne-Qe)*dt/Ne+_t)),Re)}var It=Je[2*qe+Re],Lt=nt,yt=ft;for(H(Ke,Je,nt,qe),Je[2*ft+Re]>It&&H(Ke,Je,nt,ft);LtIt;)yt--}Je[2*nt+Re]===It?H(Ke,Je,nt,yt):H(Ke,Je,++yt,ft),yt<=qe&&(nt=yt+1),qe<=yt&&(ft=yt-1)}}function H(Ke,Je,qe,nt){ne(Ke,qe,nt),ne(Je,2*qe,2*nt),ne(Je,2*qe+1,2*nt+1)}function ne(Ke,Je,qe){var nt=Ke[Je];Ke[Je]=Ke[qe],Ke[qe]=nt}function te(Ke,Je,qe,nt){var ft=Ke-qe,Re=Je-nt;return ft*ft+Re*Re}b.fromVectorTileJs=R,b.fromGeojsonVt=I,b.GeoJSONWrapper=O;var Z=function(Ke){return Ke[0]},X=function(Ke){return Ke[1]},Q=function(Ke,Je,qe,nt,ft){Je===void 0&&(Je=Z),qe===void 0&&(qe=X),nt===void 0&&(nt=64),ft===void 0&&(ft=Float64Array),this.nodeSize=nt,this.points=Ke;for(var Re=Ke.length<65536?Uint16Array:Uint32Array,Ne=this.ids=new Re(Ke.length),Qe=this.coords=new ft(2*Ke.length),ut=0;ut=Ne&&It<=ut&&Lt>=Qe&&Lt<=dt&&Pt.push(ft[Yt]);else{var Wt=Math.floor((Nt+Rt)/2);It=Re[2*Wt],Lt=Re[2*Wt+1],It>=Ne&&It<=ut&&Lt>=Qe&&Lt<=dt&&Pt.push(ft[Wt]);var Xt=(wt+1)%2;(wt===0?Ne<=It:Qe<=Lt)&&(yt.push(Nt),yt.push(Wt-1),yt.push(Xt)),(wt===0?ut>=It:dt>=Lt)&&(yt.push(Wt+1),yt.push(Rt),yt.push(Xt))}}return Pt}(this.ids,this.coords,Ke,Je,qe,nt,this.nodeSize)},Q.prototype.within=function(Ke,Je,qe){return function(nt,ft,Re,Ne,Qe,ut){for(var dt=[0,nt.length-1,0],_t=[],It=Qe*Qe;dt.length;){var Lt=dt.pop(),yt=dt.pop(),Pt=dt.pop();if(yt-Pt<=ut)for(var wt=Pt;wt<=yt;wt++)te(ft[2*wt],ft[2*wt+1],Re,Ne)<=It&&_t.push(nt[wt]);else{var Rt=Math.floor((Pt+yt)/2),Nt=ft[2*Rt],Yt=ft[2*Rt+1];te(Nt,Yt,Re,Ne)<=It&&_t.push(nt[Rt]);var Wt=(Lt+1)%2;(Lt===0?Re-Qe<=Nt:Ne-Qe<=Yt)&&(dt.push(Pt),dt.push(Rt-1),dt.push(Wt)),(Lt===0?Re+Qe>=Nt:Ne+Qe>=Yt)&&(dt.push(Rt+1),dt.push(yt),dt.push(Wt))}}return _t}(this.ids,this.coords,Ke,Je,qe,this.nodeSize)};var re={minZoom:0,maxZoom:16,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:function(Ke){return Ke}},ie=function(Ke){this.options=pe(Object.create(re),Ke),this.trees=new Array(this.options.maxZoom+1)};function oe(Ke,Je,qe,nt,ft){return{x:Ke,y:Je,zoom:1/0,id:qe,parentId:-1,numPoints:nt,properties:ft}}function ue(Ke,Je){var qe=Ke.geometry.coordinates,nt=qe[0],ft=qe[1];return{x:de(nt),y:me(ft),zoom:1/0,index:Je,parentId:-1}}function ce(Ke){return{type:"Feature",id:Ke.id,properties:ye(Ke),geometry:{type:"Point",coordinates:[(nt=Ke.x,360*(nt-.5)),(Je=Ke.y,qe=(180-360*Je)*Math.PI/180,360*Math.atan(Math.exp(qe))/Math.PI-90)]}};var Je,qe,nt}function ye(Ke){var Je=Ke.numPoints,qe=Je>=1e4?Math.round(Je/1e3)+"k":Je>=1e3?Math.round(Je/100)/10+"k":Je;return pe(pe({},Ke.properties),{cluster:!0,cluster_id:Ke.id,point_count:Je,point_count_abbreviated:qe})}function de(Ke){return Ke/360+.5}function me(Ke){var Je=Math.sin(Ke*Math.PI/180),qe=.5-.25*Math.log((1+Je)/(1-Je))/Math.PI;return qe<0?0:qe>1?1:qe}function pe(Ke,Je){for(var qe in Je)Ke[qe]=Je[qe];return Ke}function xe(Ke){return Ke.x}function Pe(Ke){return Ke.y}function _e(Ke,Je,qe,nt){for(var ft,Re=nt,Ne=qe-Je>>1,Qe=qe-Je,ut=Ke[Je],dt=Ke[Je+1],_t=Ke[qe],It=Ke[qe+1],Lt=Je+3;LtRe)ft=Lt,Re=yt;else if(yt===Re){var Pt=Math.abs(Lt-Ne);Ptnt&&(ft-Je>3&&_e(Ke,Je,ft,nt),Ke[ft+2]=Re,qe-ft>3&&_e(Ke,ft,qe,nt))}function Me(Ke,Je,qe,nt,ft,Re){var Ne=ft-qe,Qe=Re-nt;if(Ne!==0||Qe!==0){var ut=((Ke-qe)*Ne+(Je-nt)*Qe)/(Ne*Ne+Qe*Qe);ut>1?(qe=ft,nt=Re):ut>0&&(qe+=Ne*ut,nt+=Qe*ut)}return(Ne=Ke-qe)*Ne+(Qe=Je-nt)*Qe}function Se(Ke,Je,qe,nt){var ft={id:Ke===void 0?null:Ke,type:Je,geometry:qe,tags:nt,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};return function(Re){var Ne=Re.geometry,Qe=Re.type;if(Qe==="Point"||Qe==="MultiPoint"||Qe==="LineString")Ce(Re,Ne);else if(Qe==="Polygon"||Qe==="MultiLineString")for(var ut=0;ut0&&(Ne+=nt?(ft*dt-ut*Re)/2:Math.sqrt(Math.pow(ut-ft,2)+Math.pow(dt-Re,2))),ft=ut,Re=dt}var _t=Je.length-3;Je[2]=1,_e(Je,0,_t,qe),Je[_t+2]=1,Je.size=Math.abs(Ne),Je.start=0,Je.end=Je.size}function ke(Ke,Je,qe,nt){for(var ft=0;ft1?1:qe}function ze(Ke,Je,qe,nt,ft,Re,Ne,Qe){if(nt/=Je,Re>=(qe/=Je)&&Ne=nt)return null;for(var ut=[],dt=0;dt=qe&&Pt=nt)){var wt=[];if(Lt==="Point"||Lt==="MultiPoint")je(It,wt,qe,nt,ft);else if(Lt==="LineString")ge(It,wt,qe,nt,ft,!1,Qe.lineMetrics);else if(Lt==="MultiLineString")Ee(It,wt,qe,nt,ft,!1);else if(Lt==="Polygon")Ee(It,wt,qe,nt,ft,!0);else if(Lt==="MultiPolygon")for(var Rt=0;Rt=qe&&Ne<=nt&&(Je.push(Ke[Re]),Je.push(Ke[Re+1]),Je.push(Ke[Re+2]))}}function ge(Ke,Je,qe,nt,ft,Re,Ne){for(var Qe,ut,dt=we(Ke),_t=ft===0?$e:Ye,It=Ke.start,Lt=0;Ltqe&&(ut=_t(dt,yt,Pt,Rt,Nt,qe),Ne&&(dt.start=It+Qe*ut)):Yt>nt?Wt=qe&&(ut=_t(dt,yt,Pt,Rt,Nt,qe),Xt=!0),Wt>nt&&Yt<=nt&&(ut=_t(dt,yt,Pt,Rt,Nt,nt),Xt=!0),!Re&&Xt&&(Ne&&(dt.end=It+Qe*ut),Je.push(dt),dt=we(Ke)),Ne&&(It+=Qe)}var Qt=Ke.length-3;yt=Ke[Qt],Pt=Ke[Qt+1],wt=Ke[Qt+2],(Yt=ft===0?yt:Pt)>=qe&&Yt<=nt&&Ve(dt,yt,Pt,wt),Qt=dt.length-3,Re&&Qt>=3&&(dt[Qt]!==dt[0]||dt[Qt+1]!==dt[1])&&Ve(dt,dt[0],dt[1],dt[2]),dt.length&&Je.push(dt)}function we(Ke){var Je=[];return Je.size=Ke.size,Je.start=Ke.start,Je.end=Ke.end,Je}function Ee(Ke,Je,qe,nt,ft,Re){for(var Ne=0;NeNe.maxX&&(Ne.maxX=_t),It>Ne.maxY&&(Ne.maxY=It)}return Ne}function kt(Ke,Je,qe,nt){var ft=Je.geometry,Re=Je.type,Ne=[];if(Re==="Point"||Re==="MultiPoint")for(var Qe=0;Qe0&&Je.size<(ft?Ne:nt))qe.numPoints+=Je.length/3;else{for(var Qe=[],ut=0;utNe)&&(qe.numSimplified++,Qe.push(Je[ut]),Qe.push(Je[ut+1])),qe.numPoints++;ft&&function(dt,_t){for(var It=0,Lt=0,yt=dt.length,Pt=yt-2;Lt0===_t)for(Lt=0,yt=dt.length;Lt24)throw new Error("maxZoom should be in the 0-24 range");if(Je.promoteId&&Je.generateId)throw new Error("promoteId and generateId cannot be used together.");var nt=function(ft,Re){var Ne=[];if(ft.type==="FeatureCollection")for(var Qe=0;Qe=nt;dt--){var _t=+Date.now();Qe=this._cluster(Qe,dt),this.trees[dt]=new Q(Qe,xe,Pe,Re,Float32Array),qe&&console.log("z%d: %d clusters in %dms",dt,Qe.length,+Date.now()-_t)}return qe&&console.timeEnd("total time"),this},ie.prototype.getClusters=function(Ke,Je){var qe=((Ke[0]+180)%360+360)%360-180,nt=Math.max(-90,Math.min(90,Ke[1])),ft=Ke[2]===180?180:((Ke[2]+180)%360+360)%360-180,Re=Math.max(-90,Math.min(90,Ke[3]));if(Ke[2]-Ke[0]>=360)qe=-180,ft=180;else if(qe>ft){var Ne=this.getClusters([qe,nt,180,Re],Je),Qe=this.getClusters([-180,nt,ft,Re],Je);return Ne.concat(Qe)}for(var ut=this.trees[this._limitZoom(Je)],dt=[],_t=0,It=ut.range(de(qe),me(Re),de(ft),me(nt));_t1?this._map(dt,!0):null,Rt=(ut<<5)+(Je+1)+this.points.length,Nt=0,Yt=It;Nt>5},ie.prototype._getOriginZoom=function(Ke){return(Ke-this.points.length)%32},ie.prototype._map=function(Ke,Je){if(Ke.numPoints)return Je?pe({},Ke.properties):Ke.properties;var qe=this.points[Ke.index].properties,nt=this.options.map(qe);return Je&&nt===qe?pe({},nt):nt},Ft.prototype.options={maxZoom:14,indexMaxZoom:5,indexMaxPoints:1e5,tolerance:3,extent:4096,buffer:64,lineMetrics:!1,promoteId:null,generateId:!1,debug:0},Ft.prototype.splitTile=function(Ke,Je,qe,nt,ft,Re,Ne){for(var Qe=[Ke,Je,qe,nt],ut=this.options,dt=ut.debug;Qe.length;){nt=Qe.pop(),qe=Qe.pop(),Je=Qe.pop(),Ke=Qe.pop();var _t=1<1&&console.time("creation"),Lt=this.tiles[It]=Et(Ke,Je,qe,nt,ut),this.tileCoords.push({z:Je,x:qe,y:nt}),dt)){dt>1&&(console.log("tile z%d-%d-%d (features: %d, points: %d, simplified: %d)",Je,qe,nt,Lt.numFeatures,Lt.numPoints,Lt.numSimplified),console.timeEnd("creation"));var yt="z"+Je;this.stats[yt]=(this.stats[yt]||0)+1,this.total++}if(Lt.source=Ke,ft){if(Je===ut.maxZoom||Je===ft)continue;var Pt=1<1&&console.time("clipping");var wt,Rt,Nt,Yt,Wt,Xt,Qt=.5*ut.buffer/ut.extent,rn=.5-Qt,xn=.5+Qt,un=1+Qt;wt=Rt=Nt=Yt=null,Wt=ze(Ke,_t,qe-Qt,qe+xn,0,Lt.minX,Lt.maxX,ut),Xt=ze(Ke,_t,qe+rn,qe+un,0,Lt.minX,Lt.maxX,ut),Ke=null,Wt&&(wt=ze(Wt,_t,nt-Qt,nt+xn,1,Lt.minY,Lt.maxY,ut),Rt=ze(Wt,_t,nt+rn,nt+un,1,Lt.minY,Lt.maxY,ut),Wt=null),Xt&&(Nt=ze(Xt,_t,nt-Qt,nt+xn,1,Lt.minY,Lt.maxY,ut),Yt=ze(Xt,_t,nt+rn,nt+un,1,Lt.minY,Lt.maxY,ut),Xt=null),dt>1&&console.timeEnd("clipping"),Qe.push(wt||[],Je+1,2*qe,2*nt),Qe.push(Rt||[],Je+1,2*qe,2*nt+1),Qe.push(Nt||[],Je+1,2*qe+1,2*nt),Qe.push(Yt||[],Je+1,2*qe+1,2*nt+1)}}},Ft.prototype.getTile=function(Ke,Je,qe){var nt=this.options,ft=nt.extent,Re=nt.debug;if(Ke<0||Ke>24)return null;var Ne=1<1&&console.log("drilling down to z%d-%d-%d",Ke,Je,qe);for(var ut,dt=Ke,_t=Je,It=qe;!ut&&dt>0;)dt--,_t=Math.floor(_t/2),It=Math.floor(It/2),ut=this.tiles[Ot(dt,_t,It)];return ut&&ut.source?(Re>1&&console.log("found parent tile z%d-%d-%d",dt,_t,It),Re>1&&console.time("drilling down"),this.splitTile(ut.source,dt,_t,It,Ke,Je,qe),Re>1&&console.timeEnd("drilling down"),this.tiles[Qe]?ht(this.tiles[Qe],ft):null):null};var qt=function(Ke){function Je(qe,nt,ft,Re){Ke.call(this,qe,nt,ft,Bt),Re&&(this.loadGeoJSON=Re)}return Ke&&(Je.__proto__=Ke),Je.prototype=Object.create(Ke&&Ke.prototype),Je.prototype.constructor=Je,Je.prototype.loadData=function(qe,nt){this._pendingCallback&&this._pendingCallback(null,{abandoned:!0}),this._pendingCallback=nt,this._pendingLoadDataParams=qe,this._state&&this._state!=="Idle"?this._state="NeedsLoadData":(this._state="Coalescing",this._loadData())},Je.prototype._loadData=function(){var qe=this;if(this._pendingCallback&&this._pendingLoadDataParams){var nt=this._pendingCallback,ft=this._pendingLoadDataParams;delete this._pendingCallback,delete this._pendingLoadDataParams;var Re=!!(ft&&ft.request&&ft.request.collectResourceTiming)&&new i.RequestPerformance(ft.request);this.loadGeoJSON(ft,function(Ne,Qe){if(Ne||!Qe)return nt(Ne);if(typeof Qe!="object")return nt(new Error("Input data given to '"+ft.source+"' is not a valid GeoJSON object."));m(Qe,!0);try{qe._geoJSONIndex=ft.cluster?new ie(function(_t){var It=_t.superclusterOptions,Lt=_t.clusterProperties;if(!Lt||!It)return It;for(var yt={},Pt={},wt={accumulated:null,zoom:0},Rt={properties:null},Nt=Object.keys(Lt),Yt=0,Wt=Nt;Yt=0?0:Y.button},v.remove=function(Y){Y.parentNode&&Y.parentNode.removeChild(Y)};var w=function(Y){function ee(){Y.call(this),this.images={},this.updatedImages={},this.callbackDispatchedThisFrame={},this.loaded=!1,this.requestors=[],this.patterns={},this.atlasImage=new i.RGBAImage({width:1,height:1}),this.dirty=!0}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee.prototype.isLoaded=function(){return this.loaded},ee.prototype.setLoaded=function(K){if(this.loaded!==K&&(this.loaded=K,K)){for(var le=0,Te=this.requestors;le=0?1.2:1))}function E(Y,ee,K,le,Te,De,He){for(var Ze=0;Ze65535)Tt(new Error("glyphs > 65535 not supported"));else if(ve.ranges[Fe])Tt(null,{stack:At,id:se,glyph:Ie});else{var Ue=ve.requests[Fe];Ue||(Ue=ve.requests[Fe]=[],A.loadGlyphRange(At,Fe,K.url,K.requestManager,function(We,Xe){if(Xe){for(var tt in Xe)K._doesCharSupportLocalGlyph(+tt)||(ve.glyphs[+tt]=Xe[+tt]);ve.ranges[Fe]=!0}for(var lt=0,mt=Ue;lt1&&(at=Y[++Ze]);var At=Math.abs(Tt-at.left),se=Math.abs(Tt-at.right),ve=Math.min(At,se),Ie=void 0,Fe=Te/K*(le+1);if(at.isDash){var Ue=le-Math.abs(Fe);Ie=Math.sqrt(ve*ve+Ue*Ue)}else Ie=le-Math.sqrt(ve*ve+Fe*Fe);this.data[He+Tt]=Math.max(0,Math.min(255,Ie+128))}},O.prototype.addRegularDash=function(Y){for(var ee=Y.length-1;ee>=0;--ee){var K=Y[ee],le=Y[ee+1];K.zeroLength?Y.splice(ee,1):le&&le.isDash===K.isDash&&(le.left=K.left,Y.splice(ee,1))}var Te=Y[0],De=Y[Y.length-1];Te.isDash===De.isDash&&(Te.left=De.left-this.width,De.right=Te.right+this.width);for(var He=this.width*this.nextRow,Ze=0,at=Y[Ze],Tt=0;Tt1&&(at=Y[++Ze]);var At=Math.abs(Tt-at.left),se=Math.abs(Tt-at.right),ve=Math.min(At,se),Ie=at.isDash?ve:-ve;this.data[He+Tt]=Math.max(0,Math.min(255,Ie+128))}},O.prototype.addDash=function(Y,ee){var K=ee?7:0,le=2*K+1;if(this.nextRow+le>this.height)return i.warnOnce("LineAtlas out of space"),null;for(var Te=0,De=0;De=K&&Y.x=le&&Y.y0&&(Tt[new i.OverscaledTileID(K.overscaledZ,He,le.z,De,le.y-1).key]={backfilled:!1},Tt[new i.OverscaledTileID(K.overscaledZ,K.wrap,le.z,le.x,le.y-1).key]={backfilled:!1},Tt[new i.OverscaledTileID(K.overscaledZ,at,le.z,Ze,le.y-1).key]={backfilled:!1}),le.y+10&&(Te.resourceTiming=K._resourceTiming,K._resourceTiming=[]),K.fire(new i.Event("data",Te))}})},ee.prototype.onAdd=function(K){this.map=K,this.load()},ee.prototype.setData=function(K){var le=this;return this._data=K,this.fire(new i.Event("dataloading",{dataType:"source"})),this._updateWorkerData(function(Te){if(Te)le.fire(new i.ErrorEvent(Te));else{var De={dataType:"source",sourceDataType:"content"};le._collectResourceTiming&&le._resourceTiming&&le._resourceTiming.length>0&&(De.resourceTiming=le._resourceTiming,le._resourceTiming=[]),le.fire(new i.Event("data",De))}}),this},ee.prototype.getClusterExpansionZoom=function(K,le){return this.actor.send("geojson.getClusterExpansionZoom",{clusterId:K,source:this.id},le),this},ee.prototype.getClusterChildren=function(K,le){return this.actor.send("geojson.getClusterChildren",{clusterId:K,source:this.id},le),this},ee.prototype.getClusterLeaves=function(K,le,Te,De){return this.actor.send("geojson.getClusterLeaves",{source:this.id,clusterId:K,limit:le,offset:Te},De),this},ee.prototype._updateWorkerData=function(K){var le=this;this._loaded=!1;var Te=i.extend({},this.workerOptions),De=this._data;typeof De=="string"?(Te.request=this.map._requestManager.transformRequest(i.browser.resolveURL(De),i.ResourceType.Source),Te.request.collectResourceTiming=this._collectResourceTiming):Te.data=JSON.stringify(De),this.actor.send(this.type+".loadData",Te,function(He,Ze){le._removed||Ze&&Ze.abandoned||(le._loaded=!0,Ze&&Ze.resourceTiming&&Ze.resourceTiming[le.id]&&(le._resourceTiming=Ze.resourceTiming[le.id].slice(0)),le.actor.send(le.type+".coalesce",{source:Te.source},null),K(He))})},ee.prototype.loaded=function(){return this._loaded},ee.prototype.loadTile=function(K,le){var Te=this,De=K.actor?"reloadTile":"loadTile";K.actor=this.actor;var He={type:this.type,uid:K.uid,tileID:K.tileID,zoom:K.tileID.overscaledZ,maxZoom:this.maxzoom,tileSize:this.tileSize,source:this.id,pixelRatio:i.browser.devicePixelRatio,showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId};K.request=this.actor.send(De,He,function(Ze,at){return delete K.request,K.unloadVectorData(),K.aborted?le(null):Ze?le(Ze):(K.loadVectorData(at,Te.map.painter,De==="reloadTile"),le(null))})},ee.prototype.abortTile=function(K){K.request&&(K.request.cancel(),delete K.request),K.aborted=!0},ee.prototype.unloadTile=function(K){K.unloadVectorData(),this.actor.send("removeTile",{uid:K.uid,type:this.type,source:this.id})},ee.prototype.onRemove=function(){this._removed=!0,this.actor.send("removeSource",{type:this.type,source:this.id})},ee.prototype.serialize=function(){return i.extend({},this._options,{type:this.type,data:this._data})},ee.prototype.hasTransition=function(){return!1},ee}(i.Evented),U=i.createLayout([{name:"a_pos",type:"Int16",components:2},{name:"a_texture_pos",type:"Int16",components:2}]),G=function(Y){function ee(K,le,Te,De){Y.call(this),this.id=K,this.dispatcher=Te,this.coordinates=le.coordinates,this.type="image",this.minzoom=0,this.maxzoom=22,this.tileSize=512,this.tiles={},this._loaded=!1,this.setEventedParent(De),this.options=le}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee.prototype.load=function(K,le){var Te=this;this._loaded=!1,this.fire(new i.Event("dataloading",{dataType:"source"})),this.url=this.options.url,i.getImage(this.map._requestManager.transformRequest(this.url,i.ResourceType.Image),function(De,He){Te._loaded=!0,De?Te.fire(new i.ErrorEvent(De)):He&&(Te.image=He,K&&(Te.coordinates=K),le&&le(),Te._finishLoading())})},ee.prototype.loaded=function(){return this._loaded},ee.prototype.updateImage=function(K){var le=this;return this.image&&K.url?(this.options.url=K.url,this.load(K.coordinates,function(){le.texture=null}),this):this},ee.prototype._finishLoading=function(){this.map&&(this.setCoordinates(this.coordinates),this.fire(new i.Event("data",{dataType:"source",sourceDataType:"metadata"})))},ee.prototype.onAdd=function(K){this.map=K,this.load()},ee.prototype.setCoordinates=function(K){var le=this;this.coordinates=K;var Te=K.map(i.MercatorCoordinate.fromLngLat);this.tileID=function(He){for(var Ze=1/0,at=1/0,Tt=-1/0,At=-1/0,se=0,ve=He;sele.end(0)?this.fire(new i.ErrorEvent(new i.ValidationError("sources."+this.id,null,"Playback for this video can be set only between the "+le.start(0)+" and "+le.end(0)+"-second mark."))):this.video.currentTime=K}},ee.prototype.getVideo=function(){return this.video},ee.prototype.onAdd=function(K){this.map||(this.map=K,this.load(),this.video&&(this.video.play(),this.setCoordinates(this.coordinates)))},ee.prototype.prepare=function(){if(!(Object.keys(this.tiles).length===0||this.video.readyState<2)){var K=this.map.painter.context,le=K.gl;for(var Te in this.boundsBuffer||(this.boundsBuffer=K.createVertexBuffer(this._boundsArray,U.members)),this.boundsSegments||(this.boundsSegments=i.SegmentVector.simpleSegment(0,0,4,2)),this.texture?this.video.paused||(this.texture.bind(le.LINEAR,le.CLAMP_TO_EDGE),le.texSubImage2D(le.TEXTURE_2D,0,0,0,le.RGBA,le.UNSIGNED_BYTE,this.video)):(this.texture=new i.Texture(K,this.video,le.RGBA),this.texture.bind(le.LINEAR,le.CLAMP_TO_EDGE)),this.tiles){var De=this.tiles[Te];De.state!=="loaded"&&(De.state="loaded",De.texture=this.texture)}}},ee.prototype.serialize=function(){return{type:"video",urls:this.urls,coordinates:this.coordinates}},ee.prototype.hasTransition=function(){return this.video&&!this.video.paused},ee}(G),H=function(Y){function ee(K,le,Te,De){Y.call(this,K,le,Te,De),le.coordinates?Array.isArray(le.coordinates)&&le.coordinates.length===4&&!le.coordinates.some(function(He){return!Array.isArray(He)||He.length!==2||He.some(function(Ze){return typeof Ze!="number"})})||this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'"coordinates" property must be an array of 4 longitude/latitude array pairs'))):this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'missing required property "coordinates"'))),le.animate&&typeof le.animate!="boolean"&&this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'optional "animate" property must be a boolean value'))),le.canvas?typeof le.canvas=="string"||le.canvas instanceof i.window.HTMLCanvasElement||this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'"canvas" must be either a string representing the ID of the canvas element from which to read, or an HTMLCanvasElement instance'))):this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'missing required property "canvas"'))),this.options=le,this.animate=le.animate===void 0||le.animate}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee.prototype.load=function(){this._loaded=!0,this.canvas||(this.canvas=this.options.canvas instanceof i.window.HTMLCanvasElement?this.options.canvas:i.window.document.getElementById(this.options.canvas)),this.width=this.canvas.width,this.height=this.canvas.height,this._hasInvalidDimensions()?this.fire(new i.ErrorEvent(new Error("Canvas dimensions cannot be less than or equal to zero."))):(this.play=function(){this._playing=!0,this.map.triggerRepaint()},this.pause=function(){this._playing&&(this.prepare(),this._playing=!1)},this._finishLoading())},ee.prototype.getCanvas=function(){return this.canvas},ee.prototype.onAdd=function(K){this.map=K,this.load(),this.canvas&&this.animate&&this.play()},ee.prototype.onRemove=function(){this.pause()},ee.prototype.prepare=function(){var K=!1;if(this.canvas.width!==this.width&&(this.width=this.canvas.width,K=!0),this.canvas.height!==this.height&&(this.height=this.canvas.height,K=!0),!this._hasInvalidDimensions()&&Object.keys(this.tiles).length!==0){var le=this.map.painter.context,Te=le.gl;for(var De in this.boundsBuffer||(this.boundsBuffer=le.createVertexBuffer(this._boundsArray,U.members)),this.boundsSegments||(this.boundsSegments=i.SegmentVector.simpleSegment(0,0,4,2)),this.texture?(K||this._playing)&&this.texture.update(this.canvas,{premultiply:!0}):this.texture=new i.Texture(le,this.canvas,Te.RGBA,{premultiply:!0}),this.tiles){var He=this.tiles[De];He.state!=="loaded"&&(He.state="loaded",He.texture=this.texture)}}},ee.prototype.serialize=function(){return{type:"canvas",coordinates:this.coordinates}},ee.prototype.hasTransition=function(){return this._playing},ee.prototype._hasInvalidDimensions=function(){for(var K=0,le=[this.canvas.width,this.canvas.height];Kthis.max){var He=this._getAndRemoveByKey(this.order[0]);He&&this.onRemove(He)}return this},Q.prototype.has=function(Y){return Y.wrapped().key in this.data},Q.prototype.getAndRemove=function(Y){return this.has(Y)?this._getAndRemoveByKey(Y.wrapped().key):null},Q.prototype._getAndRemoveByKey=function(Y){var ee=this.data[Y].shift();return ee.timeout&&clearTimeout(ee.timeout),this.data[Y].length===0&&delete this.data[Y],this.order.splice(this.order.indexOf(Y),1),ee.value},Q.prototype.getByKey=function(Y){var ee=this.data[Y];return ee?ee[0].value:null},Q.prototype.get=function(Y){return this.has(Y)?this.data[Y.wrapped().key][0].value:null},Q.prototype.remove=function(Y,ee){if(!this.has(Y))return this;var K=Y.wrapped().key,le=ee===void 0?0:this.data[K].indexOf(ee),Te=this.data[K][le];return this.data[K].splice(le,1),Te.timeout&&clearTimeout(Te.timeout),this.data[K].length===0&&delete this.data[K],this.onRemove(Te.value),this.order.splice(this.order.indexOf(K),1),this},Q.prototype.setMaxSize=function(Y){for(this.max=Y;this.order.length>this.max;){var ee=this._getAndRemoveByKey(this.order[0]);ee&&this.onRemove(ee)}return this},Q.prototype.filter=function(Y){var ee=[];for(var K in this.data)for(var le=0,Te=this.data[K];le1||(Math.abs(At)>1&&(Math.abs(At+ve)===1?At+=ve:Math.abs(At-ve)===1&&(At-=ve)),Tt.dem&&at.dem&&(at.dem.backfillBorder(Tt.dem,At,se),at.neighboringTiles&&at.neighboringTiles[Ie]&&(at.neighboringTiles[Ie].backfilled=!0)))}},ee.prototype.getTile=function(K){return this.getTileByID(K.key)},ee.prototype.getTileByID=function(K){return this._tiles[K]},ee.prototype._retainLoadedChildren=function(K,le,Te,De){for(var He in this._tiles){var Ze=this._tiles[He];if(!(De[He]||!Ze.hasData()||Ze.tileID.overscaledZ<=le||Ze.tileID.overscaledZ>Te)){for(var at=Ze.tileID;Ze&&Ze.tileID.overscaledZ>le+1;){var Tt=Ze.tileID.scaledTo(Ze.tileID.overscaledZ-1);(Ze=this._tiles[Tt.key])&&Ze.hasData()&&(at=Tt)}for(var At=at;At.overscaledZ>le;)if(K[(At=At.scaledTo(At.overscaledZ-1)).key]){De[at.key]=at;break}}}},ee.prototype.findLoadedParent=function(K,le){if(K.key in this._loadedParentTiles){var Te=this._loadedParentTiles[K.key];return Te&&Te.tileID.overscaledZ>=le?Te:null}for(var De=K.overscaledZ-1;De>=le;De--){var He=K.scaledTo(De),Ze=this._getLoadedTile(He);if(Ze)return Ze}},ee.prototype._getLoadedTile=function(K){var le=this._tiles[K.key];return le&&le.hasData()?le:this._cache.getByKey(K.wrapped().key)},ee.prototype.updateCacheSize=function(K){var le=(Math.ceil(K.width/this._source.tileSize)+1)*(Math.ceil(K.height/this._source.tileSize)+1),Te=Math.floor(5*le),De=typeof this._maxTileCacheSize=="number"?Math.min(this._maxTileCacheSize,Te):Te;this._cache.setMaxSize(De)},ee.prototype.handleWrapJump=function(K){var le=(K-(this._prevLng===void 0?K:this._prevLng))/360,Te=Math.round(le);if(this._prevLng=K,Te){var De={};for(var He in this._tiles){var Ze=this._tiles[He];Ze.tileID=Ze.tileID.unwrapTo(Ze.tileID.wrap+Te),De[Ze.tileID.key]=Ze}for(var at in this._tiles=De,this._timers)clearTimeout(this._timers[at]),delete this._timers[at];for(var Tt in this._tiles){var At=this._tiles[Tt];this._setTileReloadTimer(Tt,At)}}},ee.prototype.update=function(K){var le=this;if(this.transform=K,this._sourceLoaded&&!this._paused){var Te;this.updateCacheSize(K),this.handleWrapJump(this.transform.center.lng),this._coveredTiles={},this.used?this._source.tileID?Te=K.getVisibleUnwrappedCoordinates(this._source.tileID).map(function(Ht){return new i.OverscaledTileID(Ht.canonical.z,Ht.wrap,Ht.canonical.z,Ht.canonical.x,Ht.canonical.y)}):(Te=K.coveringTiles({tileSize:this._source.tileSize,minzoom:this._source.minzoom,maxzoom:this._source.maxzoom,roundZoom:this._source.roundZoom,reparseOverscaled:this._source.reparseOverscaled}),this._source.hasTile&&(Te=Te.filter(function(Ht){return le._source.hasTile(Ht)}))):Te=[];var De=K.coveringZoomLevel(this._source),He=Math.max(De-ee.maxOverzooming,this._source.minzoom),Ze=Math.max(De+ee.maxUnderzooming,this._source.minzoom),at=this._updateRetainedTiles(Te,De);if(Ne(this._source.type)){for(var Tt={},At={},se=0,ve=Object.keys(at);sethis._source.maxzoom){var Xe=Ue.children(this._source.maxzoom)[0],tt=this.getTile(Xe);if(tt&&tt.hasData()){Te[Xe.key]=Xe;continue}}else{var lt=Ue.children(this._source.maxzoom);if(Te[lt[0].key]&&Te[lt[1].key]&&Te[lt[2].key]&&Te[lt[3].key])continue}for(var mt=We.wasRequested(),zt=Ue.overscaledZ-1;zt>=He;--zt){var Ut=Ue.scaledTo(zt);if(De[Ut.key]||(De[Ut.key]=!0,!(We=this.getTile(Ut))&&mt&&(We=this._addTile(Ut)),We&&(Te[Ut.key]=Ut,mt=We.wasRequested(),We.hasData())))break}}}return Te},ee.prototype._updateLoadedParentTileCache=function(){for(var K in this._loadedParentTiles={},this._tiles){for(var le=[],Te=void 0,De=this._tiles[K].tileID;De.overscaledZ>0;){if(De.key in this._loadedParentTiles){Te=this._loadedParentTiles[De.key];break}le.push(De.key);var He=De.scaledTo(De.overscaledZ-1);if(Te=this._getLoadedTile(He))break;De=He}for(var Ze=0,at=le;Ze0||(le.hasData()&&le.state!=="reloading"?this._cache.add(le.tileID,le,le.getExpiryTimeout()):(le.aborted=!0,this._abortTile(le),this._unloadTile(le))))},ee.prototype.clearTiles=function(){for(var K in this._shouldReloadOnResume=!1,this._paused=!1,this._tiles)this._removeTile(K);this._cache.reset()},ee.prototype.tilesIn=function(K,le,Te){var De=this,He=[],Ze=this.transform;if(!Ze)return He;for(var at=Te?Ze.getCameraQueryGeometry(K):K,Tt=K.map(function(zt){return Ze.pointCoordinate(zt)}),At=at.map(function(zt){return Ze.pointCoordinate(zt)}),se=this.getIds(),ve=1/0,Ie=1/0,Fe=-1/0,Ue=-1/0,We=0,Xe=At;We=0&&tn[1].y+vn>=0){var ln=Tt.map(function(Cn){return Ht.getTilePoint(Cn)}),an=At.map(function(Cn){return Ht.getTilePoint(Cn)});He.push({tile:Ut,tileID:Ht,queryGeometry:ln,cameraQueryGeometry:an,scale:en})}}},mt=0;mt=i.browser.now())return!0}return!1},ee.prototype.setFeatureState=function(K,le,Te){K=K||"_geojsonTileLayer",this._state.updateState(K,le,Te)},ee.prototype.removeFeatureState=function(K,le,Te){K=K||"_geojsonTileLayer",this._state.removeFeatureState(K,le,Te)},ee.prototype.getFeatureState=function(K,le){return K=K||"_geojsonTileLayer",this._state.getState(K,le)},ee.prototype.setDependencies=function(K,le,Te){var De=this._tiles[K];De&&De.setDependencies(le,Te)},ee.prototype.reloadTilesForDependencies=function(K,le){for(var Te in this._tiles)this._tiles[Te].hasDependency(K,le)&&this._reloadTile(Te,"reloading");this._cache.filter(function(De){return!De.hasDependency(K,le)})},ee}(i.Evented);function Re(Y,ee){var K=Math.abs(2*Y.wrap)-+(Y.wrap<0),le=Math.abs(2*ee.wrap)-+(ee.wrap<0);return Y.overscaledZ-ee.overscaledZ||le-K||ee.canonical.y-Y.canonical.y||ee.canonical.x-Y.canonical.x}function Ne(Y){return Y==="raster"||Y==="image"||Y==="video"}function Qe(){return new i.window.Worker(Mt.workerUrl)}ft.maxOverzooming=10,ft.maxUnderzooming=3;var ut="mapboxgl_preloaded_worker_pool",dt=function(){this.active={}};dt.prototype.acquire=function(Y){if(!this.workers)for(this.workers=[];this.workers.length0?(le-De)/He:0;return this.points[Te].mult(1-Ze).add(this.points[ee].mult(Ze))};var An=function(Y,ee,K){var le=this.boxCells=[],Te=this.circleCells=[];this.xCellCount=Math.ceil(Y/K),this.yCellCount=Math.ceil(ee/K);for(var De=0;De=-ee[0]&&K<=ee[0]&&le>=-ee[1]&&le<=ee[1]}function pn(Y,ee,K,le,Te,De,He,Ze){var at=le?Y.textSizeData:Y.iconSizeData,Tt=i.evaluateSizeForZoom(at,K.transform.zoom),At=[256/K.width*2+1,256/K.height*2+1],se=le?Y.text.dynamicLayoutVertexArray:Y.icon.dynamicLayoutVertexArray;se.clear();for(var ve=Y.lineVertexArray,Ie=le?Y.text.placedSymbolArray:Y.icon.placedSymbolArray,Fe=K.transform.width/K.transform.height,Ue=!1,We=0;WeMath.abs(K.x-ee.x)*le?{useVertical:!0}:(Y===i.WritingMode.vertical?ee.yK.x)?{needsFlipping:!0}:null}function jn(Y,ee,K,le,Te,De,He,Ze,at,Tt,At,se,ve,Ie){var Fe,Ue=ee/24,We=Y.lineOffsetX*Ue,Xe=Y.lineOffsetY*Ue;if(Y.numGlyphs>1){var tt=Y.glyphStartIndex+Y.numGlyphs,lt=Y.lineStartIndex,mt=Y.lineStartIndex+Y.lineLength,zt=Dn(Ue,Ze,We,Xe,K,At,se,Y,at,De,ve);if(!zt)return{notEnoughRoom:!0};var Ut=sn(zt.first.point,He).point,Ht=sn(zt.last.point,He).point;if(le&&!K){var en=In(Y.writingMode,Ut,Ht,Ie);if(en)return en}Fe=[zt.first];for(var vn=Y.glyphStartIndex+1;vn0?Cn.point:Gn(se,an,tn,1,Te),on=In(Y.writingMode,tn,_n,Ie);if(on)return on}var Fn=qn(Ue*Ze.getoffsetX(Y.glyphStartIndex),We,Xe,K,At,se,Y.segment,Y.lineStartIndex,Y.lineStartIndex+Y.lineLength,at,De,ve);if(!Fn)return{notEnoughRoom:!0};Fe=[Fn]}for(var Hn=0,ir=Fe;Hn0?1:-1,Fe=0;le&&(Ie*=-1,Fe=Math.PI),Ie<0&&(Fe+=Math.PI);for(var Ue=Ie>0?Ze+He:Ze+He+1,We=Te,Xe=Te,tt=0,lt=0,mt=Math.abs(ve),zt=[];tt+lt<=mt;){if((Ue+=Ie)=at)return null;if(Xe=We,zt.push(We),(We=se[Ue])===void 0){var Ut=new i.Point(Tt.getx(Ue),Tt.gety(Ue)),Ht=sn(Ut,At);if(Ht.signedDistanceFromCamera>0)We=se[Ue]=Ht.point;else{var en=Ue-Ie;We=Gn(tt===0?De:new i.Point(Tt.getx(en),Tt.gety(en)),Ut,Xe,mt-tt+1,At)}}tt+=lt,lt=Xe.dist(We)}var vn=(mt-tt)/lt,tn=We.sub(Xe),ln=tn.mult(vn)._add(Xe);ln._add(tn._unit()._perp()._mult(K*Ie));var an=Fe+Math.atan2(We.y-Xe.y,We.x-Xe.x);return zt.push(ln),{point:ln,angle:an,path:zt}}An.prototype.keysLength=function(){return this.boxKeys.length+this.circleKeys.length},An.prototype.insert=function(Y,ee,K,le,Te){this._forEachCell(ee,K,le,Te,this._insertBoxCell,this.boxUid++),this.boxKeys.push(Y),this.bboxes.push(ee),this.bboxes.push(K),this.bboxes.push(le),this.bboxes.push(Te)},An.prototype.insertCircle=function(Y,ee,K,le){this._forEachCell(ee-le,K-le,ee+le,K+le,this._insertCircleCell,this.circleUid++),this.circleKeys.push(Y),this.circles.push(ee),this.circles.push(K),this.circles.push(le)},An.prototype._insertBoxCell=function(Y,ee,K,le,Te,De){this.boxCells[Te].push(De)},An.prototype._insertCircleCell=function(Y,ee,K,le,Te,De){this.circleCells[Te].push(De)},An.prototype._query=function(Y,ee,K,le,Te,De){if(K<0||Y>this.width||le<0||ee>this.height)return!Te&&[];var He=[];if(Y<=0&&ee<=0&&this.width<=K&&this.height<=le){if(Te)return!0;for(var Ze=0;Ze0:He},An.prototype._queryCircle=function(Y,ee,K,le,Te){var De=Y-K,He=Y+K,Ze=ee-K,at=ee+K;if(He<0||De>this.width||at<0||Ze>this.height)return!le&&[];var Tt=[],At={hitTest:le,circle:{x:Y,y:ee,radius:K},seenUids:{box:{},circle:{}}};return this._forEachCell(De,Ze,He,at,this._queryCellCircle,Tt,At,Te),le?Tt.length>0:Tt},An.prototype.query=function(Y,ee,K,le,Te){return this._query(Y,ee,K,le,!1,Te)},An.prototype.hitTest=function(Y,ee,K,le,Te){return this._query(Y,ee,K,le,!0,Te)},An.prototype.hitTestCircle=function(Y,ee,K,le){return this._queryCircle(Y,ee,K,!0,le)},An.prototype._queryCell=function(Y,ee,K,le,Te,De,He,Ze){var at=He.seenUids,Tt=this.boxCells[Te];if(Tt!==null)for(var At=this.bboxes,se=0,ve=Tt;se=At[Fe+0]&&le>=At[Fe+1]&&(!Ze||Ze(this.boxKeys[Ie]))){if(He.hitTest)return De.push(!0),!0;De.push({key:this.boxKeys[Ie],x1:At[Fe],y1:At[Fe+1],x2:At[Fe+2],y2:At[Fe+3]})}}}var Ue=this.circleCells[Te];if(Ue!==null)for(var We=this.circles,Xe=0,tt=Ue;XeHe*He+Ze*Ze},An.prototype._circleAndRectCollide=function(Y,ee,K,le,Te,De,He){var Ze=(De-le)/2,at=Math.abs(Y-(le+Ze));if(at>Ze+K)return!1;var Tt=(He-Te)/2,At=Math.abs(ee-(Te+Tt));if(At>Tt+K)return!1;if(at<=Ze||At<=Tt)return!0;var se=at-Ze,ve=At-Tt;return se*se+ve*ve<=K*K};var lr=new Float32Array([-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0]);function rr(Y,ee){for(var K=0;K=1;_n--)Cn.push(ln.path[_n]);for(var on=1;on0){for(var ar=Cn[0].clone(),Mr=Cn[0].clone(),Er=1;Er=en.x&&Mr.x<=vn.x&&ar.y>=en.y&&Mr.y<=vn.y?[Cn]:Mr.xvn.x||Mr.yvn.y?[]:i.clipLine([Cn],en.x,en.y,vn.x,vn.y)}for(var xr=0,kr=ir;xr=this.screenRightBoundary||lethis.screenBottomBoundary},or.prototype.isInsideGrid=function(Y,ee,K,le){return K>=0&&Y=0&&ee0?(this.prevPlacement&&this.prevPlacement.variableOffsets[se.crossTileID]&&this.prevPlacement.placements[se.crossTileID]&&this.prevPlacement.placements[se.crossTileID].text&&(Ue=this.prevPlacement.variableOffsets[se.crossTileID].anchor),this.variableOffsets[se.crossTileID]={textOffset:We,width:K,height:le,anchor:Y,textBoxScale:Te,prevAnchor:Ue},this.markUsedJustification(ve,Y,se,Ie),ve.allowVerticalPlacement&&(this.markUsedOrientation(ve,Ie,se),this.placedOrientations[se.crossTileID]=Ie),{shift:Xe,placedGlyphBoxes:tt}):void 0},tr.prototype.placeLayerBucketPart=function(Y,ee,K){var le=this,Te=Y.parameters,De=Te.bucket,He=Te.layout,Ze=Te.posMatrix,at=Te.textLabelPlaneMatrix,Tt=Te.labelToScreenMatrix,At=Te.textPixelRatio,se=Te.holdingForFade,ve=Te.collisionBoxArray,Ie=Te.partiallyEvaluatedTextSize,Fe=Te.collisionGroup,Ue=He.get("text-optional"),We=He.get("icon-optional"),Xe=He.get("text-allow-overlap"),tt=He.get("icon-allow-overlap"),lt=He.get("text-rotation-alignment")==="map",mt=He.get("text-pitch-alignment")==="map",zt=He.get("icon-text-fit")!=="none",Ut=He.get("symbol-z-order")==="viewport-y",Ht=Xe&&(tt||!De.hasIconData()||We),en=tt&&(Xe||!De.hasTextData()||Ue);!De.collisionArrays&&ve&&De.deserializeCollisionBoxes(ve);var vn=function(on,Fn){if(!ee[on.crossTileID])if(se)le.placements[on.crossTileID]=new bn(!1,!1,!1);else{var Hn,ir=!1,ar=!1,Mr=!0,Er=null,xr={box:null,offscreen:null},kr={box:null,offscreen:null},jr=null,fi=null,di=0,wr=0,Ur=0;Fn.textFeatureIndex?di=Fn.textFeatureIndex:on.useRuntimeCollisionCircles&&(di=on.featureIndex),Fn.verticalTextFeatureIndex&&(wr=Fn.verticalTextFeatureIndex);var oi=Fn.textBox;if(oi){var ai=function(Ri){var Xa=i.WritingMode.horizontal;if(De.allowVerticalPlacement&&!Ri&&le.prevPlacement){var jo=le.prevPlacement.placedOrientations[on.crossTileID];jo&&(le.placedOrientations[on.crossTileID]=jo,Xa=jo,le.markUsedOrientation(De,Xa,on))}return Xa},Ii=function(Ri,Xa){if(De.allowVerticalPlacement&&on.numVerticalGlyphVertices>0&&Fn.verticalTextBox)for(var jo=0,Kc=De.writingModes;jo0&&(vi=vi.filter(function(Ri){return Ri!==Ni.anchor})).unshift(Ni.anchor)}var ta=function(Ri,Xa,jo){for(var Kc=Ri.x2-Ri.x1,f1=Ri.y2-Ri.y1,L0=on.textBoxScale,d1=zt&&!tt?Xa:null,_f={box:[],offscreen:!1},fg=Xe?2*vi.length:vi.length,od=0;od=vi.length,zh=le.attemptAnchorPlacement(wf,Ri,Kc,f1,L0,lt,mt,At,Ze,Fe,p1,on,De,jo,d1);if(zh&&(_f=zh.placedGlyphBoxes)&&_f.box&&_f.box.length){ir=!0,Er=zh.shift;break}}return _f};Ii(function(){return ta(oi,Fn.iconBox,i.WritingMode.horizontal)},function(){var Ri=Fn.verticalTextBox,Xa=xr&&xr.box&&xr.box.length;return De.allowVerticalPlacement&&!Xa&&on.numVerticalGlyphVertices>0&&Ri?ta(Ri,Fn.verticalIconBox,i.WritingMode.vertical):{box:null,offscreen:null}}),xr&&(ir=xr.box,Mr=xr.offscreen);var pa=ai(xr&&xr.box);if(!ir&&le.prevPlacement){var ua=le.prevPlacement.variableOffsets[on.crossTileID];ua&&(le.variableOffsets[on.crossTileID]=ua,le.markUsedJustification(De,ua.anchor,on,pa))}}else{var Qi=function(Ri,Xa){var jo=le.collisionIndex.placeCollisionBox(Ri,Xe,At,Ze,Fe.predicate);return jo&&jo.box&&jo.box.length&&(le.markUsedOrientation(De,Xa,on),le.placedOrientations[on.crossTileID]=Xa),jo};Ii(function(){return Qi(oi,i.WritingMode.horizontal)},function(){var Ri=Fn.verticalTextBox;return De.allowVerticalPlacement&&on.numVerticalGlyphVertices>0&&Ri?Qi(Ri,i.WritingMode.vertical):{box:null,offscreen:null}}),ai(xr&&xr.box&&xr.box.length)}}if(ir=(Hn=xr)&&Hn.box&&Hn.box.length>0,Mr=Hn&&Hn.offscreen,on.useRuntimeCollisionCircles){var na=De.text.placedSymbolArray.get(on.centerJustifiedTextSymbolIndex),ca=i.evaluateSizeForFeature(De.textSizeData,Ie,na),Ia=He.get("text-padding"),zl=on.collisionCircleDiameter;jr=le.collisionIndex.placeCollisionCircles(Xe,na,De.lineVertexArray,De.glyphOffsetArray,ca,Ze,at,Tt,K,mt,Fe.predicate,zl,Ia),ir=Xe||jr.circles.length>0&&!jr.collisionDetected,Mr=Mr&&jr.offscreen}if(Fn.iconFeatureIndex&&(Ur=Fn.iconFeatureIndex),Fn.iconBox){var Za=function(Ri){var Xa=zt&&Er?$n(Ri,Er.x,Er.y,lt,mt,le.transform.angle):Ri;return le.collisionIndex.placeCollisionBox(Xa,tt,At,Ze,Fe.predicate)};ar=kr&&kr.box&&kr.box.length&&Fn.verticalIconBox?(fi=Za(Fn.verticalIconBox)).box.length>0:(fi=Za(Fn.iconBox)).box.length>0,Mr=Mr&&fi.offscreen}var li=Ue||on.numHorizontalGlyphVertices===0&&on.numVerticalGlyphVertices===0,fo=We||on.numIconVertices===0;if(li||fo?fo?li||(ar=ar&&ir):ir=ar&&ir:ar=ir=ar&&ir,ir&&Hn&&Hn.box&&(kr&&kr.box&&wr?le.collisionIndex.insertCollisionBox(Hn.box,He.get("text-ignore-placement"),De.bucketInstanceId,wr,Fe.ID):le.collisionIndex.insertCollisionBox(Hn.box,He.get("text-ignore-placement"),De.bucketInstanceId,di,Fe.ID)),ar&&fi&&le.collisionIndex.insertCollisionBox(fi.box,He.get("icon-ignore-placement"),De.bucketInstanceId,Ur,Fe.ID),jr&&(ir&&le.collisionIndex.insertCollisionCircles(jr.circles,He.get("text-ignore-placement"),De.bucketInstanceId,di,Fe.ID),K)){var _o=De.bucketInstanceId,Aa=le.collisionCircleArrays[_o];Aa===void 0&&(Aa=le.collisionCircleArrays[_o]=new Rn);for(var Ps=0;Ps=0;--ln){var an=tn[ln];vn(De.symbolInstances.get(an),De.collisionArrays[an])}else for(var Cn=Y.symbolInstanceStart;Cn=0&&(Y.text.placedSymbolArray.get(at).crossTileID=Te>=0&&at!==Te?0:K.crossTileID)}},tr.prototype.markUsedOrientation=function(Y,ee,K){for(var le=ee===i.WritingMode.horizontal||ee===i.WritingMode.horizontalOnly?ee:0,Te=ee===i.WritingMode.vertical?ee:0,De=0,He=[K.leftJustifiedTextSymbolIndex,K.centerJustifiedTextSymbolIndex,K.rightJustifiedTextSymbolIndex];De0||mt>0,vn=tt.numIconVertices>0,tn=le.placedOrientations[tt.crossTileID],ln=tn===i.WritingMode.vertical,an=tn===i.WritingMode.horizontal||tn===i.WritingMode.horizontalOnly;if(en){var Cn=En(Ht.text),_n=ln?mn:Cn;Ie(Y.text,lt,_n);var on=an?mn:Cn;Ie(Y.text,mt,on);var Fn=Ht.text.isHidden();[tt.rightJustifiedTextSymbolIndex,tt.centerJustifiedTextSymbolIndex,tt.leftJustifiedTextSymbolIndex].forEach(function(Ur){Ur>=0&&(Y.text.placedSymbolArray.get(Ur).hidden=Fn||ln?1:0)}),tt.verticalPlacedTextSymbolIndex>=0&&(Y.text.placedSymbolArray.get(tt.verticalPlacedTextSymbolIndex).hidden=Fn||an?1:0);var Hn=le.variableOffsets[tt.crossTileID];Hn&&le.markUsedJustification(Y,Hn.anchor,tt,tn);var ir=le.placedOrientations[tt.crossTileID];ir&&(le.markUsedJustification(Y,"left",tt,ir),le.markUsedOrientation(Y,ir,tt))}if(vn){var ar=En(Ht.icon),Mr=!(se&&tt.verticalPlacedIconSymbolIndex&&ln);if(tt.placedIconSymbolIndex>=0){var Er=Mr?ar:mn;Ie(Y.icon,tt.numIconVertices,Er),Y.icon.placedSymbolArray.get(tt.placedIconSymbolIndex).hidden=Ht.icon.isHidden()}if(tt.verticalPlacedIconSymbolIndex>=0){var xr=Mr?mn:ar;Ie(Y.icon,tt.numVerticalIconVertices,xr),Y.icon.placedSymbolArray.get(tt.verticalPlacedIconSymbolIndex).hidden=Ht.icon.isHidden()}}if(Y.hasIconCollisionBoxData()||Y.hasTextCollisionBoxData()){var kr=Y.collisionArrays[Xe];if(kr){var jr=new i.Point(0,0);if(kr.textBox||kr.verticalTextBox){var fi=!0;if(at){var di=le.variableOffsets[zt];di?(jr=Kn(di.anchor,di.width,di.height,di.textOffset,di.textBoxScale),Tt&&jr._rotate(At?le.transform.angle:-le.transform.angle)):fi=!1}kr.textBox&&mr(Y.textCollisionBox.collisionVertexArray,Ht.text.placed,!fi||ln,jr.x,jr.y),kr.verticalTextBox&&mr(Y.textCollisionBox.collisionVertexArray,Ht.text.placed,!fi||an,jr.x,jr.y)}var wr=!!(!an&&kr.verticalIconBox);kr.iconBox&&mr(Y.iconCollisionBox.collisionVertexArray,Ht.icon.placed,wr,se?jr.x:0,se?jr.y:0),kr.verticalIconBox&&mr(Y.iconCollisionBox.collisionVertexArray,Ht.icon.placed,!wr,se?jr.x:0,se?jr.y:0)}}},Ue=0;UeY},tr.prototype.setStale=function(){this.stale=!0};var nn=Math.pow(2,25),Pn=Math.pow(2,24),jt=Math.pow(2,17),Jt=Math.pow(2,16),hn=Math.pow(2,9),zn=Math.pow(2,8),On=Math.pow(2,1);function En(Y){if(Y.opacity===0&&!Y.placed)return 0;if(Y.opacity===1&&Y.placed)return 4294967295;var ee=Y.placed?1:0,K=Math.floor(127*Y.opacity);return K*nn+ee*Pn+K*jt+ee*Jt+K*hn+ee*zn+K*On+ee}var mn=0,wn=function(Y){this._sortAcrossTiles=Y.layout.get("symbol-z-order")!=="viewport-y"&&Y.layout.get("symbol-sort-key").constantOr(1)!==void 0,this._currentTileIndex=0,this._currentPartIndex=0,this._seenCrossTileIDs={},this._bucketParts=[]};wn.prototype.continuePlacement=function(Y,ee,K,le,Te){for(var De=this._bucketParts;this._currentTileIndex2};this._currentPlacementIndex>=0;){var He=ee[Y[this._currentPlacementIndex]],Ze=this.placement.collisionIndex.transform.zoom;if(He.type==="symbol"&&(!He.minzoom||He.minzoom<=Ze)&&(!He.maxzoom||He.maxzoom>Ze)){if(this._inProgressLayer||(this._inProgressLayer=new wn(He)),this._inProgressLayer.continuePlacement(K[He.source],this.placement,this._showCollisionBoxes,He,De))return;delete this._inProgressLayer}this._currentPlacementIndex--}this._done=!0},gn.prototype.commit=function(Y){return this.placement.commit(Y),this.placement};var yn=512/i.EXTENT/2,Sn=function(Y,ee,K){this.tileID=Y,this.indexedSymbolInstances={},this.bucketInstanceId=K;for(var le=0;leY.overscaledZ)for(var Ze in He){var at=He[Ze];at.tileID.isChildOf(Y)&&at.findMatches(ee.symbolInstances,Y,Te)}else{var Tt=He[Y.scaledTo(Number(De)).key];Tt&&Tt.findMatches(ee.symbolInstances,Y,Te)}}for(var At=0;At1?"@2x":"",se=i.getJSON(De.transformRequest(De.normalizeSpriteURL(Te,At,".json"),i.ResourceType.SpriteJSON),function(Fe,Ue){se=null,Tt||(Tt=Fe,Ze=Ue,Ie())}),ve=i.getImage(De.transformRequest(De.normalizeSpriteURL(Te,At,".png"),i.ResourceType.SpriteImage),function(Fe,Ue){ve=null,Tt||(Tt=Fe,at=Ue,Ie())});function Ie(){if(Tt)He(Tt);else if(Ze&&at){var Fe=i.browser.getImageData(at),Ue={};for(var We in Ze){var Xe=Ze[We],tt=Xe.width,lt=Xe.height,mt=Xe.x,zt=Xe.y,Ut=Xe.sdf,Ht=Xe.pixelRatio,en=Xe.stretchX,vn=Xe.stretchY,tn=Xe.content,ln=new i.RGBAImage({width:tt,height:lt});i.RGBAImage.copy(Fe,ln,{x:mt,y:zt},{x:0,y:0},{width:tt,height:lt}),Ue[We]={data:ln,pixelRatio:Ht,sdf:Ut,stretchX:en,stretchY:vn,content:tn}}He(null,Ue)}}return{cancel:function(){se&&(se.cancel(),se=null),ve&&(ve.cancel(),ve=null)}}}(K,this.map._requestManager,function(Te,De){if(le._spriteRequest=null,Te)le.fire(new i.ErrorEvent(Te));else if(De)for(var He in De)le.imageManager.addImage(He,De[He]);le.imageManager.setLoaded(!0),le._availableImages=le.imageManager.listImages(),le.dispatcher.broadcast("setImages",le._availableImages),le.fire(new i.Event("data",{dataType:"style"}))})},ee.prototype._validateLayer=function(K){var le=this.sourceCaches[K.source];if(le){var Te=K.sourceLayer;if(Te){var De=le.getSource();(De.type==="geojson"||De.vectorLayerIds&&De.vectorLayerIds.indexOf(Te)===-1)&&this.fire(new i.ErrorEvent(new Error('Source layer "'+Te+'" does not exist on source "'+De.id+'" as specified by style layer "'+K.id+'"')))}}},ee.prototype.loaded=function(){if(!this._loaded||Object.keys(this._updatedSources).length)return!1;for(var K in this.sourceCaches)if(!this.sourceCaches[K].loaded())return!1;return!!this.imageManager.isLoaded()},ee.prototype._serializeLayers=function(K){for(var le=[],Te=0,De=K;Te0)throw new Error("Unimplemented: "+De.map(function(He){return He.command}).join(", ")+".");return Te.forEach(function(He){He.command!=="setTransition"&&le[He.command].apply(le,He.args)}),this.stylesheet=K,!0},ee.prototype.addImage=function(K,le){if(this.getImage(K))return this.fire(new i.ErrorEvent(new Error("An image with this name already exists.")));this.imageManager.addImage(K,le),this._availableImages=this.imageManager.listImages(),this._changedImages[K]=!0,this._changed=!0,this.fire(new i.Event("data",{dataType:"style"}))},ee.prototype.updateImage=function(K,le){this.imageManager.updateImage(K,le)},ee.prototype.getImage=function(K){return this.imageManager.getImage(K)},ee.prototype.removeImage=function(K){if(!this.getImage(K))return this.fire(new i.ErrorEvent(new Error("No image with this name exists.")));this.imageManager.removeImage(K),this._availableImages=this.imageManager.listImages(),this._changedImages[K]=!0,this._changed=!0,this.fire(new i.Event("data",{dataType:"style"}))},ee.prototype.listImages=function(){return this._checkLoaded(),this.imageManager.listImages()},ee.prototype.addSource=function(K,le,Te){var De=this;if(Te===void 0&&(Te={}),this._checkLoaded(),this.sourceCaches[K]!==void 0)throw new Error("There is already a source with this ID");if(!le.type)throw new Error("The type property must be defined, but the only the following properties were given: "+Object.keys(le).join(", ")+".");if(!(["vector","raster","geojson","video","image"].indexOf(le.type)>=0&&this._validate(i.validateStyle.source,"sources."+K,le,null,Te))){this.map&&this.map._collectResourceTiming&&(le.collectResourceTiming=!0);var He=this.sourceCaches[K]=new ft(K,le,this.dispatcher);He.style=this,He.setEventedParent(this,function(){return{isSourceLoaded:De.loaded(),source:He.serialize(),sourceId:K}}),He.onAdd(this.map),this._changed=!0}},ee.prototype.removeSource=function(K){if(this._checkLoaded(),this.sourceCaches[K]===void 0)throw new Error("There is no source with this ID");for(var le in this._layers)if(this._layers[le].source===K)return this.fire(new i.ErrorEvent(new Error('Source "'+K+'" cannot be removed while layer "'+le+'" is using it.')));var Te=this.sourceCaches[K];delete this.sourceCaches[K],delete this._updatedSources[K],Te.fire(new i.Event("data",{sourceDataType:"metadata",dataType:"source",sourceId:K})),Te.setEventedParent(null),Te.clearTiles(),Te.onRemove&&Te.onRemove(this.map),this._changed=!0},ee.prototype.setGeoJSONSourceData=function(K,le){this._checkLoaded(),this.sourceCaches[K].getSource().setData(le),this._changed=!0},ee.prototype.getSource=function(K){return this.sourceCaches[K]&&this.sourceCaches[K].getSource()},ee.prototype.addLayer=function(K,le,Te){Te===void 0&&(Te={}),this._checkLoaded();var De=K.id;if(this.getLayer(De))this.fire(new i.ErrorEvent(new Error('Layer with id "'+De+'" already exists on this map')));else{var He;if(K.type==="custom"){if(Qn(this,i.validateCustomStyleLayer(K)))return;He=i.createStyleLayer(K)}else{if(typeof K.source=="object"&&(this.addSource(De,K.source),K=i.clone$1(K),K=i.extend(K,{source:De})),this._validate(i.validateStyle.layer,"layers."+De,K,{arrayIndex:-1},Te))return;He=i.createStyleLayer(K),this._validateLayer(He),He.setEventedParent(this,{layer:{id:De}}),this._serializedLayers[He.id]=He.serialize()}var Ze=le?this._order.indexOf(le):this._order.length;if(le&&Ze===-1)this.fire(new i.ErrorEvent(new Error('Layer with id "'+le+'" does not exist on this map.')));else{if(this._order.splice(Ze,0,De),this._layerOrderChanged=!0,this._layers[De]=He,this._removedLayers[De]&&He.source&&He.type!=="custom"){var at=this._removedLayers[De];delete this._removedLayers[De],at.type!==He.type?this._updatedSources[He.source]="clear":(this._updatedSources[He.source]="reload",this.sourceCaches[He.source].pause())}this._updateLayer(He),He.onAdd&&He.onAdd(this.map)}}},ee.prototype.moveLayer=function(K,le){if(this._checkLoaded(),this._changed=!0,this._layers[K]){if(K!==le){var Te=this._order.indexOf(K);this._order.splice(Te,1);var De=le?this._order.indexOf(le):this._order.length;le&&De===-1?this.fire(new i.ErrorEvent(new Error('Layer with id "'+le+'" does not exist on this map.'))):(this._order.splice(De,0,K),this._layerOrderChanged=!0)}}else this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be moved.")))},ee.prototype.removeLayer=function(K){this._checkLoaded();var le=this._layers[K];if(le){le.setEventedParent(null);var Te=this._order.indexOf(K);this._order.splice(Te,1),this._layerOrderChanged=!0,this._changed=!0,this._removedLayers[K]=le,delete this._layers[K],delete this._serializedLayers[K],delete this._updatedLayers[K],delete this._updatedPaintProps[K],le.onRemove&&le.onRemove(this.map)}else this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be removed.")))},ee.prototype.getLayer=function(K){return this._layers[K]},ee.prototype.hasLayer=function(K){return K in this._layers},ee.prototype.setLayerZoomRange=function(K,le,Te){this._checkLoaded();var De=this.getLayer(K);De?De.minzoom===le&&De.maxzoom===Te||(le!=null&&(De.minzoom=le),Te!=null&&(De.maxzoom=Te),this._updateLayer(De)):this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot have zoom extent.")))},ee.prototype.setFilter=function(K,le,Te){Te===void 0&&(Te={}),this._checkLoaded();var De=this.getLayer(K);if(De){if(!i.deepEqual(De.filter,le))return le==null?(De.filter=void 0,void this._updateLayer(De)):void(this._validate(i.validateStyle.filter,"layers."+De.id+".filter",le,null,Te)||(De.filter=i.clone$1(le),this._updateLayer(De)))}else this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be filtered.")))},ee.prototype.getFilter=function(K){return i.clone$1(this.getLayer(K).filter)},ee.prototype.setLayoutProperty=function(K,le,Te,De){De===void 0&&(De={}),this._checkLoaded();var He=this.getLayer(K);He?i.deepEqual(He.getLayoutProperty(le),Te)||(He.setLayoutProperty(le,Te,De),this._updateLayer(He)):this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be styled.")))},ee.prototype.getLayoutProperty=function(K,le){var Te=this.getLayer(K);if(Te)return Te.getLayoutProperty(le);this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style.")))},ee.prototype.setPaintProperty=function(K,le,Te,De){De===void 0&&(De={}),this._checkLoaded();var He=this.getLayer(K);He?i.deepEqual(He.getPaintProperty(le),Te)||(He.setPaintProperty(le,Te,De)&&this._updateLayer(He),this._changed=!0,this._updatedPaintProps[K]=!0):this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be styled.")))},ee.prototype.getPaintProperty=function(K,le){return this.getLayer(K).getPaintProperty(le)},ee.prototype.setFeatureState=function(K,le){this._checkLoaded();var Te=K.source,De=K.sourceLayer,He=this.sourceCaches[Te];if(He!==void 0){var Ze=He.getSource().type;Ze==="geojson"&&De?this.fire(new i.ErrorEvent(new Error("GeoJSON sources cannot have a sourceLayer parameter."))):Ze!=="vector"||De?(K.id===void 0&&this.fire(new i.ErrorEvent(new Error("The feature id parameter must be provided."))),He.setFeatureState(De,K.id,le)):this.fire(new i.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new i.ErrorEvent(new Error("The source '"+Te+"' does not exist in the map's style.")))},ee.prototype.removeFeatureState=function(K,le){this._checkLoaded();var Te=K.source,De=this.sourceCaches[Te];if(De!==void 0){var He=De.getSource().type,Ze=He==="vector"?K.sourceLayer:void 0;He!=="vector"||Ze?le&&typeof K.id!="string"&&typeof K.id!="number"?this.fire(new i.ErrorEvent(new Error("A feature id is requred to remove its specific state property."))):De.removeFeatureState(Ze,K.id,le):this.fire(new i.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new i.ErrorEvent(new Error("The source '"+Te+"' does not exist in the map's style.")))},ee.prototype.getFeatureState=function(K){this._checkLoaded();var le=K.source,Te=K.sourceLayer,De=this.sourceCaches[le];if(De!==void 0){if(De.getSource().type!=="vector"||Te)return K.id===void 0&&this.fire(new i.ErrorEvent(new Error("The feature id parameter must be provided."))),De.getFeatureState(Te,K.id);this.fire(new i.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new i.ErrorEvent(new Error("The source '"+le+"' does not exist in the map's style.")))},ee.prototype.getTransition=function(){return i.extend({duration:300,delay:0},this.stylesheet&&this.stylesheet.transition)},ee.prototype.serialize=function(){return i.filterObject({version:this.stylesheet.version,name:this.stylesheet.name,metadata:this.stylesheet.metadata,light:this.stylesheet.light,center:this.stylesheet.center,zoom:this.stylesheet.zoom,bearing:this.stylesheet.bearing,pitch:this.stylesheet.pitch,sprite:this.stylesheet.sprite,glyphs:this.stylesheet.glyphs,transition:this.stylesheet.transition,sources:i.mapObject(this.sourceCaches,function(K){return K.serialize()}),layers:this._serializeLayers(this._order)},function(K){return K!==void 0})},ee.prototype._updateLayer=function(K){this._updatedLayers[K.id]=!0,K.source&&!this._updatedSources[K.source]&&this.sourceCaches[K.source].getSource().type!=="raster"&&(this._updatedSources[K.source]="reload",this.sourceCaches[K.source].pause()),this._changed=!0},ee.prototype._flattenAndSortRenderedFeatures=function(K){for(var le=this,Te=function(tn){return le._layers[tn].type==="fill-extrusion"},De={},He=[],Ze=this._order.length-1;Ze>=0;Ze--){var at=this._order[Ze];if(Te(at)){De[at]=Ze;for(var Tt=0,At=K;Tt=0;We--){var Xe=this._order[We];if(Te(Xe))for(var tt=He.length-1;tt>=0;tt--){var lt=He[tt].feature;if(De[lt.layer.id]2){for(var O=Array(.5*A.position.length),z=0;z2){for(var B=!A.position[0].length,N=a.mallocFloat(2*this.count),W=0,j=0;W1?L.align[fe]:L.align[0]:L.align;if(typeof be=="number")return be;switch(be){case"right":case"end":return-ae;case"center":case"centre":case"middle":return .5*-ae}return 0})),this.baseline==null&&A.baseline==null&&(A.baseline=0),A.baseline!=null&&(this.baseline=A.baseline,Array.isArray(this.baseline)||(this.baseline=[this.baseline]),this.baselineOffset=this.baseline.map(function(ae,fe){var be=(L.font[fe]||L.font[0]).metrics,ke=0;return ke+=.5*be.bottom,-1*(ke+=typeof ae=="number"?ae-be.baseline:-be[ae])})),A.color!=null)if(A.color||(A.color="transparent"),typeof A.color!="string"&&isNaN(A.color)){var me;if(typeof A.color[0]=="number"&&A.color.length>this.counts.length){var pe=A.color.length;me=a.mallocUint8(pe);for(var xe=(A.color.subarray||A.color.slice).bind(A.color),Pe=0;Pe4||this.baselineOffset.length>1||this.align&&this.align.length>1||this.fontAtlas.length>1||this.positionOffset.length>2){var Se=Math.max(.5*this.position.length||0,.25*this.color.length||0,this.baselineOffset.length||0,this.alignOffset.length||0,this.font.length||0,this.opacity.length||0,.5*this.positionOffset.length||0);this.batch=Array(Se);for(var Ce=0;Ce1?this.counts[Ce]:this.counts[0],offset:this.textOffsets.length>1?this.textOffsets[Ce]:this.textOffsets[0],color:this.color?this.color.length<=4?this.color:this.color.subarray(4*Ce,4*Ce+4):[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[Ce]:this.opacity,baseline:this.baselineOffset[Ce]!=null?this.baselineOffset[Ce]:this.baselineOffset[0],align:this.align?this.alignOffset[Ce]!=null?this.alignOffset[Ce]:this.alignOffset[0]:0,atlas:this.fontAtlas[Ce]||this.fontAtlas[0],positionOffset:this.positionOffset.length>2?this.positionOffset.subarray(2*Ce,2*Ce+2):this.positionOffset}}else this.count?this.batch=[{count:this.count,offset:0,color:this.color||[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[0]:this.opacity,baseline:this.baselineOffset[0],align:this.alignOffset?this.alignOffset[0]:0,atlas:this.fontAtlas[0],positionOffset:this.positionOffset}]:this.batch=[]},x.prototype.destroy=function(){},x.prototype.kerning=!0,x.prototype.position={constant:new Float32Array(2)},x.prototype.translate=null,x.prototype.scale=null,x.prototype.font=null,x.prototype.text="",x.prototype.positionOffset=[0,0],x.prototype.opacity=1,x.prototype.color=new Uint8Array([0,0,0,255]),x.prototype.alignOffset=[0,0],x.maxAtlasSize=1024,x.atlasCanvas=document.createElement("canvas"),x.atlasContext=x.atlasCanvas.getContext("2d",{alpha:!1}),x.baseFontSize=64,x.fonts={},T.exports=x},12018:function(T,p,t){var d=t(71299);function g(v){if(v.container)if(v.container==document.body)document.body.style.width||(v.canvas.width=v.width||v.pixelRatio*t.g.innerWidth),document.body.style.height||(v.canvas.height=v.height||v.pixelRatio*t.g.innerHeight);else{var f=v.container.getBoundingClientRect();v.canvas.width=v.width||f.right-f.left,v.canvas.height=v.height||f.bottom-f.top}}function i(v){return typeof v.getContext=="function"&&"width"in v&&"height"in v}function M(){var v=document.createElement("canvas");return v.style.position="absolute",v.style.top=0,v.style.left=0,v}T.exports=function(v){var f;if(v?typeof v=="string"&&(v={container:v}):v={},(v=i(v)||typeof(f=v).nodeName=="string"&&typeof f.appendChild=="function"&&typeof f.getBoundingClientRect=="function"?{container:v}:function(a){return typeof a.drawArrays=="function"||typeof a.drawElements=="function"}(v)?{gl:v}:d(v,{container:"container target element el canvas holder parent parentNode wrapper use ref root node",gl:"gl context webgl glContext",attrs:"attributes attrs contextAttributes",pixelRatio:"pixelRatio pxRatio px ratio pxratio pixelratio",width:"w width",height:"h height"},!0)).pixelRatio||(v.pixelRatio=t.g.pixelRatio||1),v.gl)return v.gl;if(v.canvas&&(v.container=v.canvas.parentNode),v.container){if(typeof v.container=="string"){var l=document.querySelector(v.container);if(!l)throw Error("Element "+v.container+" is not found");v.container=l}i(v.container)?(v.canvas=v.container,v.container=v.canvas.parentNode):v.canvas||(v.canvas=M(),v.container.appendChild(v.canvas),g(v))}else if(!v.canvas){if(typeof document>"u")throw Error("Not DOM environment. Use headless-gl.");v.container=document.body||document.documentElement,v.canvas=M(),v.container.appendChild(v.canvas),g(v)}return v.gl||["webgl","experimental-webgl","webgl-experimental"].some(function(a){try{v.gl=v.canvas.getContext(a,v.attrs)}catch{}return v.gl}),v.gl}},56068:function(T){T.exports=function(p){typeof p=="string"&&(p=[p]);for(var t=[].slice.call(arguments,1),d=[],g=0;g>1,o=-7,s=g?M-1:0,c=g?-1:1,h=t[d+s];for(s+=c,v=h&(1<<-o)-1,h>>=-o,o+=l;o>0;v=256*v+t[d+s],s+=c,o-=8);for(f=v&(1<<-o)-1,v>>=-o,o+=i;o>0;f=256*f+t[d+s],s+=c,o-=8);if(v===0)v=1-u;else{if(v===a)return f?NaN:1/0*(h?-1:1);f+=Math.pow(2,i),v-=u}return(h?-1:1)*f*Math.pow(2,v-i)},p.write=function(t,d,g,i,M,v){var f,l,a,u=8*v-M-1,o=(1<>1,c=M===23?Math.pow(2,-24)-Math.pow(2,-77):0,h=i?0:v-1,m=i?1:-1,w=d<0||d===0&&1/d<0?1:0;for(d=Math.abs(d),isNaN(d)||d===1/0?(l=isNaN(d)?1:0,f=o):(f=Math.floor(Math.log(d)/Math.LN2),d*(a=Math.pow(2,-f))<1&&(f--,a*=2),(d+=f+s>=1?c/a:c*Math.pow(2,1-s))*a>=2&&(f++,a/=2),f+s>=o?(l=0,f=o):f+s>=1?(l=(d*a-1)*Math.pow(2,M),f+=s):(l=d*Math.pow(2,s-1)*Math.pow(2,M),f=0));M>=8;t[g+h]=255&l,h+=m,l/=256,M-=8);for(f=f<0;t[g+h]=255&f,h+=m,f/=256,u-=8);t[g+h-m]|=128*w}},42018:function(T){typeof Object.create=="function"?T.exports=function(p,t){t&&(p.super_=t,p.prototype=Object.create(t.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}))}:T.exports=function(p,t){if(t){p.super_=t;var d=function(){};d.prototype=t.prototype,p.prototype=new d,p.prototype.constructor=p}}},47216:function(T,p,t){var d=t(84543)(),g=t(6614)("Object.prototype.toString"),i=function(f){return!(d&&f&&typeof f=="object"&&Symbol.toStringTag in f)&&g(f)==="[object Arguments]"},M=function(f){return!!i(f)||f!==null&&typeof f=="object"&&typeof f.length=="number"&&f.length>=0&&g(f)!=="[object Array]"&&g(f.callee)==="[object Function]"},v=function(){return i(arguments)}();i.isLegacyArguments=M,T.exports=v?i:M},54404:function(T){T.exports=!0},85395:function(T){var p,t,d=Function.prototype.toString,g=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply;if(typeof g=="function"&&typeof Object.defineProperty=="function")try{p=Object.defineProperty({},"length",{get:function(){throw t}}),t={},g(function(){throw 42},null,p)}catch(s){s!==t&&(g=null)}else g=null;var i=/^\s*class\b/,M=function(s){try{var c=d.call(s);return i.test(c)}catch{return!1}},v=function(s){try{return!M(s)&&(d.call(s),!0)}catch{return!1}},f=Object.prototype.toString,l=typeof Symbol=="function"&&!!Symbol.toStringTag,a=!(0 in[,]),u=function(){return!1};if(typeof document=="object"){var o=document.all;f.call(o)===f.call(document.all)&&(u=function(s){if((a||!s)&&(s===void 0||typeof s=="object"))try{var c=f.call(s);return(c==="[object HTMLAllCollection]"||c==="[object HTML document.all class]"||c==="[object HTMLCollection]"||c==="[object Object]")&&s("")==null}catch{}return!1})}T.exports=g?function(s){if(u(s))return!0;if(!s||typeof s!="function"&&typeof s!="object")return!1;try{g(s,null,p)}catch(c){if(c!==t)return!1}return!M(s)&&v(s)}:function(s){if(u(s))return!0;if(!s||typeof s!="function"&&typeof s!="object")return!1;if(l)return v(s);if(M(s))return!1;var c=f.call(s);return!(c!=="[object Function]"&&c!=="[object GeneratorFunction]"&&!/^\[object HTML/.test(c))&&v(s)}},65481:function(T,p,t){var d,g=Object.prototype.toString,i=Function.prototype.toString,M=/^\s*(?:function)?\*/,v=t(84543)(),f=Object.getPrototypeOf;T.exports=function(l){if(typeof l!="function")return!1;if(M.test(i.call(l)))return!0;if(!v)return g.call(l)==="[object GeneratorFunction]";if(!f)return!1;if(d===void 0){var a=function(){if(!v)return!1;try{return Function("return function*() {}")()}catch{}}();d=!!a&&f(a)}return f(l)===d}},62683:function(T){T.exports=typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||/Trident\//.test(navigator.appVersion))},64274:function(T){T.exports=function(p){return p!=p}},15567:function(T,p,t){var d=t(68222),g=t(17045),i=t(64274),M=t(14922),v=t(22442),f=d(M(),Number);g(f,{getPolyfill:M,implementation:i,shim:v}),T.exports=f},14922:function(T,p,t){var d=t(64274);T.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:d}},22442:function(T,p,t){var d=t(17045),g=t(14922);T.exports=function(){var i=g();return d(Number,{isNaN:i},{isNaN:function(){return Number.isNaN!==i}}),i}},64941:function(T){T.exports=function(p){var t=typeof p;return p!==null&&(t==="object"||t==="function")}},10973:function(T){var p=Object.prototype.toString;T.exports=function(t){var d;return p.call(t)==="[object Object]"&&((d=Object.getPrototypeOf(t))===null||d===Object.getPrototypeOf({}))}},18546:function(T){T.exports=function(p){for(var t,d=p.length,g=0;g13)&&t!==32&&t!==133&&t!==160&&t!==5760&&t!==6158&&(t<8192||t>8205)&&t!==8232&&t!==8233&&t!==8239&&t!==8287&&t!==8288&&t!==12288&&t!==65279)return!1;return!0}},89546:function(T){T.exports=function(p){return typeof p=="string"&&(p=p.trim(),!!(/^[mzlhvcsqta]\s*[-+.0-9][^mlhvzcsqta]+/i.test(p)&&/[\dz]$/i.test(p)&&p.length>4))}},9187:function(T,p,t){var d=t(31353),g=t(72077),i=t(6614),M=i("Object.prototype.toString"),v=t(84543)(),f=t(40383),l=typeof globalThis>"u"?t.g:globalThis,a=g(),u=i("Array.prototype.indexOf",!0)||function(h,m){for(var w=0;w-1}return!!f&&function(w){var y=!1;return d(s,function(S,_){if(!y)try{y=S.call(w)===_}catch{}}),y}(h)}},44517:function(T){T.exports=function(){var p,t,d;function g(i,M){if(p)if(t){var v="var sharedChunk = {}; ("+p+")(sharedChunk); ("+t+")(sharedChunk);",f={};p(f),(d=M(f)).workerUrl=window.URL.createObjectURL(new Blob([v],{type:"text/javascript"}))}else t=M;else p=M}return g(0,function(i){function M(P,V){return P(V={exports:{}},V.exports),V.exports}var v="1.10.1",f=l;function l(P,V,J,he){this.cx=3*P,this.bx=3*(J-P)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*V,this.by=3*(he-V)-this.cy,this.ay=1-this.cy-this.by,this.p1x=P,this.p1y=he,this.p2x=J,this.p2y=he}l.prototype.sampleCurveX=function(P){return((this.ax*P+this.bx)*P+this.cx)*P},l.prototype.sampleCurveY=function(P){return((this.ay*P+this.by)*P+this.cy)*P},l.prototype.sampleCurveDerivativeX=function(P){return(3*this.ax*P+2*this.bx)*P+this.cx},l.prototype.solveCurveX=function(P,V){var J,he,Ae,Oe,Ge;for(V===void 0&&(V=1e-6),Ae=P,Ge=0;Ge<8;Ge++){if(Oe=this.sampleCurveX(Ae)-P,Math.abs(Oe)(he=1))return he;for(;JOe?J=Ae:he=Ae,Ae=.5*(he-J)+J}return Ae},l.prototype.solve=function(P,V){return this.sampleCurveY(this.solveCurveX(P,V))};var a=u;function u(P,V){this.x=P,this.y=V}function o(P,V,J,he){var Ae=new f(P,V,J,he);return function(Oe){return Ae.solve(Oe)}}u.prototype={clone:function(){return new u(this.x,this.y)},add:function(P){return this.clone()._add(P)},sub:function(P){return this.clone()._sub(P)},multByPoint:function(P){return this.clone()._multByPoint(P)},divByPoint:function(P){return this.clone()._divByPoint(P)},mult:function(P){return this.clone()._mult(P)},div:function(P){return this.clone()._div(P)},rotate:function(P){return this.clone()._rotate(P)},rotateAround:function(P,V){return this.clone()._rotateAround(P,V)},matMult:function(P){return this.clone()._matMult(P)},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(P){return this.x===P.x&&this.y===P.y},dist:function(P){return Math.sqrt(this.distSqr(P))},distSqr:function(P){var V=P.x-this.x,J=P.y-this.y;return V*V+J*J},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(P){return Math.atan2(this.y-P.y,this.x-P.x)},angleWith:function(P){return this.angleWithSep(P.x,P.y)},angleWithSep:function(P,V){return Math.atan2(this.x*V-this.y*P,this.x*P+this.y*V)},_matMult:function(P){var V=P[0]*this.x+P[1]*this.y,J=P[2]*this.x+P[3]*this.y;return this.x=V,this.y=J,this},_add:function(P){return this.x+=P.x,this.y+=P.y,this},_sub:function(P){return this.x-=P.x,this.y-=P.y,this},_mult:function(P){return this.x*=P,this.y*=P,this},_div:function(P){return this.x/=P,this.y/=P,this},_multByPoint:function(P){return this.x*=P.x,this.y*=P.y,this},_divByPoint:function(P){return this.x/=P.x,this.y/=P.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var P=this.y;return this.y=this.x,this.x=-P,this},_rotate:function(P){var V=Math.cos(P),J=Math.sin(P),he=V*this.x-J*this.y,Ae=J*this.x+V*this.y;return this.x=he,this.y=Ae,this},_rotateAround:function(P,V){var J=Math.cos(P),he=Math.sin(P),Ae=V.x+J*(this.x-V.x)-he*(this.y-V.y),Oe=V.y+he*(this.x-V.x)+J*(this.y-V.y);return this.x=Ae,this.y=Oe,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},u.convert=function(P){return P instanceof u?P:Array.isArray(P)?new u(P[0],P[1]):P};var s=o(.25,.1,.25,1);function c(P,V,J){return Math.min(J,Math.max(V,P))}function h(P,V,J){var he=J-V,Ae=((P-V)%he+he)%he+V;return Ae===V?J:Ae}function m(P){for(var V=[],J=arguments.length-1;J-- >0;)V[J]=arguments[J+1];for(var he=0,Ae=V;he>V/4).toString(16):([1e7]+-[1e3]+-4e3+-8e3+-1e11).replace(/[018]/g,P)}()}function _(P){return!!P&&/^[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(P)}function k(P,V){P.forEach(function(J){V[J]&&(V[J]=V[J].bind(V))})}function E(P,V){return P.indexOf(V,P.length-V.length)!==-1}function x(P,V,J){var he={};for(var Ae in P)he[Ae]=V.call(J||this,P[Ae],Ae,P);return he}function A(P,V,J){var he={};for(var Ae in P)V.call(J||this,P[Ae],Ae,P)&&(he[Ae]=P[Ae]);return he}function L(P){return Array.isArray(P)?P.map(L):typeof P=="object"&&P?x(P,L):P}var b={};function R(P){b[P]||(typeof console<"u"&&console.warn(P),b[P]=!0)}function I(P,V,J){return(J.y-P.y)*(V.x-P.x)>(V.y-P.y)*(J.x-P.x)}function O(P){for(var V=0,J=0,he=P.length,Ae=he-1,Oe=void 0,Ge=void 0;J@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g,function(he,Ae,Oe,Ge){var it=Oe||Ge;return V[Ae]=!it||it.toLowerCase(),""}),V["max-age"]){var J=parseInt(V["max-age"],10);isNaN(J)?delete V["max-age"]:V["max-age"]=J}return V}var B=null;function N(P){if(B==null){var V=P.navigator?P.navigator.userAgent:null;B=!!P.safari||!(!V||!(/\b(iPad|iPhone|iPod)\b/.test(V)||V.match("Safari")&&!V.match("Chrome")))}return B}function W(P){try{var V=self[P];return V.setItem("_mapbox_test_",1),V.removeItem("_mapbox_test_"),!0}catch{return!1}}var j,$,U,G,q=self.performance&&self.performance.now?self.performance.now.bind(self.performance):Date.now.bind(Date),H=self.requestAnimationFrame||self.mozRequestAnimationFrame||self.webkitRequestAnimationFrame||self.msRequestAnimationFrame,ne=self.cancelAnimationFrame||self.mozCancelAnimationFrame||self.webkitCancelAnimationFrame||self.msCancelAnimationFrame,te={now:q,frame:function(P){var V=H(P);return{cancel:function(){return ne(V)}}},getImageData:function(P,V){V===void 0&&(V=0);var J=self.document.createElement("canvas"),he=J.getContext("2d");if(!he)throw new Error("failed to create canvas 2d context");return J.width=P.width,J.height=P.height,he.drawImage(P,0,0,P.width,P.height),he.getImageData(-V,-V,P.width+2*V,P.height+2*V)},resolveURL:function(P){return j||(j=self.document.createElement("a")),j.href=P,j.href},hardwareConcurrency:self.navigator.hardwareConcurrency||4,get devicePixelRatio(){return self.devicePixelRatio},get prefersReducedMotion(){return!!self.matchMedia&&($==null&&($=self.matchMedia("(prefers-reduced-motion: reduce)")),$.matches)}},Z={API_URL:"https://api.mapbox.com",get EVENTS_URL(){return this.API_URL?this.API_URL.indexOf("https://api.mapbox.cn")===0?"https://events.mapbox.cn/events/v2":this.API_URL.indexOf("https://api.mapbox.com")===0?"https://events.mapbox.com/events/v2":null:null},FEEDBACK_URL:"https://apps.mapbox.com/feedback",REQUIRE_ACCESS_TOKEN:!0,ACCESS_TOKEN:null,MAX_PARALLEL_IMAGE_REQUESTS:16},X={supported:!1,testSupport:function(P){!Q&&G&&(re?ie(P):U=P)}},Q=!1,re=!1;function ie(P){var V=P.createTexture();P.bindTexture(P.TEXTURE_2D,V);try{if(P.texImage2D(P.TEXTURE_2D,0,P.RGBA,P.RGBA,P.UNSIGNED_BYTE,G),P.isContextLost())return;X.supported=!0}catch{}P.deleteTexture(V),Q=!0}self.document&&((G=self.document.createElement("img")).onload=function(){U&&ie(U),U=null,re=!0},G.onerror=function(){Q=!0,U=null},G.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA=");var oe="01",ue=function(P,V){this._transformRequestFn=P,this._customAccessToken=V,this._createSkuToken()};function ce(P){return P.indexOf("mapbox:")===0}ue.prototype._createSkuToken=function(){var P=function(){for(var V="",J=0;J<10;J++)V+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[Math.floor(62*Math.random())];return{token:["1",oe,V].join(""),tokenExpiresAt:Date.now()+432e5}}();this._skuToken=P.token,this._skuTokenExpiresAt=P.tokenExpiresAt},ue.prototype._isSkuTokenExpired=function(){return Date.now()>this._skuTokenExpiresAt},ue.prototype.transformRequest=function(P,V){return this._transformRequestFn&&this._transformRequestFn(P,V)||{url:P}},ue.prototype.normalizeStyleURL=function(P,V){if(!ce(P))return P;var J=pe(P);return J.path="/styles/v1"+J.path,this._makeAPIURL(J,this._customAccessToken||V)},ue.prototype.normalizeGlyphsURL=function(P,V){if(!ce(P))return P;var J=pe(P);return J.path="/fonts/v1"+J.path,this._makeAPIURL(J,this._customAccessToken||V)},ue.prototype.normalizeSourceURL=function(P,V){if(!ce(P))return P;var J=pe(P);return J.path="/v4/"+J.authority+".json",J.params.push("secure"),this._makeAPIURL(J,this._customAccessToken||V)},ue.prototype.normalizeSpriteURL=function(P,V,J,he){var Ae=pe(P);return ce(P)?(Ae.path="/styles/v1"+Ae.path+"/sprite"+V+J,this._makeAPIURL(Ae,this._customAccessToken||he)):(Ae.path+=""+V+J,xe(Ae))},ue.prototype.normalizeTileURL=function(P,V){if(this._isSkuTokenExpired()&&this._createSkuToken(),P&&!ce(P))return P;var J=pe(P),he=te.devicePixelRatio>=2||V===512?"@2x":"",Ae=X.supported?".webp":"$1";J.path=J.path.replace(/(\.(png|jpg)\d*)(?=$)/,""+he+Ae),J.path=J.path.replace(/^.+\/v4\//,"/"),J.path="/v4"+J.path;var Oe=this._customAccessToken||function(Ge){for(var it=0,pt=Ge;it=1&&self.localStorage.setItem(V,JSON.stringify(this.eventData))}catch{R("Unable to write to LocalStorage")}},Me.prototype.processRequests=function(P){},Me.prototype.postEvent=function(P,V,J,he){var Ae=this;if(Z.EVENTS_URL){var Oe=pe(Z.EVENTS_URL);Oe.params.push("access_token="+(he||Z.ACCESS_TOKEN||""));var Ge={event:this.type,created:new Date(P).toISOString(),sdkIdentifier:"mapbox-gl-js",sdkVersion:v,skuId:oe,userId:this.anonId},it=V?m(Ge,V):Ge,pt={url:xe(Oe),headers:{"Content-Type":"text/plain"},body:JSON.stringify([it])};this.pendingRequest=Ot(pt,function(Ct){Ae.pendingRequest=null,J(Ct),Ae.saveEventData(),Ae.processRequests(he)})}},Me.prototype.queueRequest=function(P,V){this.queue.push(P),this.processRequests(V)};var Se,Ce,ae=function(P){function V(){P.call(this,"map.load"),this.success={},this.skuToken=""}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.postMapLoadEvent=function(J,he,Ae,Oe){this.skuToken=Ae,(Z.EVENTS_URL&&Oe||Z.ACCESS_TOKEN&&Array.isArray(J)&&J.some(function(Ge){return ce(Ge)||de(Ge)}))&&this.queueRequest({id:he,timestamp:Date.now()},Oe)},V.prototype.processRequests=function(J){var he=this;if(!this.pendingRequest&&this.queue.length!==0){var Ae=this.queue.shift(),Oe=Ae.id,Ge=Ae.timestamp;Oe&&this.success[Oe]||(this.anonId||this.fetchEventData(),_(this.anonId)||(this.anonId=S()),this.postEvent(Ge,{skuToken:this.skuToken},function(it){it||Oe&&(he.success[Oe]=!0)},J))}},V}(Me),fe=function(P){function V(J){P.call(this,"appUserTurnstile"),this._customAccessToken=J}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.postTurnstileEvent=function(J,he){Z.EVENTS_URL&&Z.ACCESS_TOKEN&&Array.isArray(J)&&J.some(function(Ae){return ce(Ae)||de(Ae)})&&this.queueRequest(Date.now(),he)},V.prototype.processRequests=function(J){var he=this;if(!this.pendingRequest&&this.queue.length!==0){this.anonId&&this.eventData.lastSuccess&&this.eventData.tokenU||this.fetchEventData();var Ae=_e(Z.ACCESS_TOKEN),Oe=Ae?Ae.u:Z.ACCESS_TOKEN,Ge=Oe!==this.eventData.tokenU;_(this.anonId)||(this.anonId=S(),Ge=!0);var it=this.queue.shift();if(this.eventData.lastSuccess){var pt=new Date(this.eventData.lastSuccess),Ct=new Date(it),Dt=(it-this.eventData.lastSuccess)/864e5;Ge=Ge||Dt>=1||Dt<-1||pt.getDate()!==Ct.getDate()}else Ge=!0;if(!Ge)return this.processRequests();this.postEvent(it,{"enabled.telemetry":!1},function(Gt){Gt||(he.eventData.lastSuccess=it,he.eventData.tokenU=Oe)},J)}},V}(Me),be=new fe,ke=be.postTurnstileEvent.bind(be),Le=new ae,Be=Le.postMapLoadEvent.bind(Le),ze="mapbox-tiles",je=500,ge=50;function we(){self.caches&&!Se&&(Se=self.caches.open(ze))}function Ee(P,V,J){if(we(),Se){var he={status:V.status,statusText:V.statusText,headers:new self.Headers};V.headers.forEach(function(Oe,Ge){return he.headers.set(Ge,Oe)});var Ae=F(V.headers.get("Cache-Control")||"");Ae["no-store"]||(Ae["max-age"]&&he.headers.set("Expires",new Date(J+1e3*Ae["max-age"]).toUTCString()),new Date(he.headers.get("Expires")).getTime()-J<42e4||function(Oe,Ge){if(Ce===void 0)try{new Response(new ReadableStream),Ce=!0}catch{Ce=!1}Ce?Ge(Oe.body):Oe.blob().then(Ge)}(V,function(Oe){var Ge=new self.Response(Oe,he);we(),Se&&Se.then(function(it){return it.put(Ve(P.url),Ge)}).catch(function(it){return R(it.message)})}))}}function Ve(P){var V=P.indexOf("?");return V<0?P:P.slice(0,V)}function $e(P,V){if(we(),!Se)return V(null);var J=Ve(P.url);Se.then(function(he){he.match(J).then(function(Ae){var Oe=function(Ge){if(!Ge)return!1;var it=new Date(Ge.headers.get("Expires")||0),pt=F(Ge.headers.get("Cache-Control")||"");return it>Date.now()&&!pt["no-cache"]}(Ae);he.delete(J),Oe&&he.put(J,Ae.clone()),V(null,Ae,Oe)}).catch(V)}).catch(V)}var Ye,st=1/0;function ot(){return Ye==null&&(Ye=self.OffscreenCanvas&&new self.OffscreenCanvas(1,1).getContext("2d")&&typeof self.createImageBitmap=="function"),Ye}var ht={Unknown:"Unknown",Style:"Style",Source:"Source",Tile:"Tile",Glyphs:"Glyphs",SpriteImage:"SpriteImage",SpriteJSON:"SpriteJSON",Image:"Image"};typeof Object.freeze=="function"&&Object.freeze(ht);var bt=function(P){function V(J,he,Ae){he===401&&de(Ae)&&(J+=": you may have provided an invalid Mapbox access token. See https://www.mapbox.com/api-documentation/#access-tokens-and-token-scopes"),P.call(this,J),this.status=he,this.url=Ae,this.name=this.constructor.name,this.message=J}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.toString=function(){return this.name+": "+this.message+" ("+this.status+"): "+this.url},V}(Error),Et=z()?function(){return self.worker&&self.worker.referrer}:function(){return(self.location.protocol==="blob:"?self.parent:self).location.href};function kt(P,V){var J,he=new self.AbortController,Ae=new self.Request(P.url,{method:P.method||"GET",body:P.body,credentials:P.credentials,headers:P.headers,referrer:Et(),signal:he.signal}),Oe=!1,Ge=!1,it=(J=Ae.url).indexOf("sku=")>0&&de(J);P.type==="json"&&Ae.headers.set("Accept","application/json");var pt=function(Dt,Gt,Zt){if(!Ge){if(Dt&&Dt.message!=="SecurityError"&&R(Dt),Gt&&Zt)return Ct(Gt);var $t=Date.now();self.fetch(Ae).then(function(fn){if(fn.ok){var Mn=it?fn.clone():null;return Ct(fn,Mn,$t)}return V(new bt(fn.statusText,fn.status,P.url))}).catch(function(fn){fn.code!==20&&V(new Error(fn.message))})}},Ct=function(Dt,Gt,Zt){(P.type==="arrayBuffer"?Dt.arrayBuffer():P.type==="json"?Dt.json():Dt.text()).then(function($t){Ge||(Gt&&Zt&&Ee(Ae,Gt,Zt),Oe=!0,V(null,$t,Dt.headers.get("Cache-Control"),Dt.headers.get("Expires")))}).catch(function($t){Ge||V(new Error($t.message))})};return it?$e(Ae,pt):pt(null,null),{cancel:function(){Ge=!0,Oe||he.abort()}}}var xt=function(P,V){if(J=P.url,!(/^file:/.test(J)||/^file:/.test(Et())&&!/^\w+:/.test(J))){if(self.fetch&&self.Request&&self.AbortController&&self.Request.prototype.hasOwnProperty("signal"))return kt(P,V);if(z()&&self.worker&&self.worker.actor)return self.worker.actor.send("getResource",P,V,void 0,!0)}var J;return function(he,Ae){var Oe=new self.XMLHttpRequest;for(var Ge in Oe.open(he.method||"GET",he.url,!0),he.type==="arrayBuffer"&&(Oe.responseType="arraybuffer"),he.headers)Oe.setRequestHeader(Ge,he.headers[Ge]);return he.type==="json"&&(Oe.responseType="text",Oe.setRequestHeader("Accept","application/json")),Oe.withCredentials=he.credentials==="include",Oe.onerror=function(){Ae(new Error(Oe.statusText))},Oe.onload=function(){if((Oe.status>=200&&Oe.status<300||Oe.status===0)&&Oe.response!==null){var it=Oe.response;if(he.type==="json")try{it=JSON.parse(Oe.response)}catch(pt){return Ae(pt)}Ae(null,it,Oe.getResponseHeader("Cache-Control"),Oe.getResponseHeader("Expires"))}else Ae(new bt(Oe.statusText,Oe.status,he.url))},Oe.send(he.body),{cancel:function(){return Oe.abort()}}}(P,V)},Ft=function(P,V){return xt(m(P,{type:"arrayBuffer"}),V)},Ot=function(P,V){return xt(m(P,{method:"POST"}),V)},Bt,qt;Bt=[],qt=0;var Vt=function(P,V){if(X.supported&&(P.headers||(P.headers={}),P.headers.accept="image/webp,*/*"),qt>=Z.MAX_PARALLEL_IMAGE_REQUESTS){var J={requestParameters:P,callback:V,cancelled:!1,cancel:function(){this.cancelled=!0}};return Bt.push(J),J}qt++;var he=!1,Ae=function(){if(!he)for(he=!0,qt--;Bt.length&&qt0||this._oneTimeListeners&&this._oneTimeListeners[P]&&this._oneTimeListeners[P].length>0||this._eventedParent&&this._eventedParent.listens(P)},ft.prototype.setEventedParent=function(P,V){return this._eventedParent=P,this._eventedParentData=V,this};var Re={$version:8,$root:{version:{required:!0,type:"enum",values:[8]},name:{type:"string"},metadata:{type:"*"},center:{type:"array",value:"number"},zoom:{type:"number"},bearing:{type:"number",default:0,period:360,units:"degrees"},pitch:{type:"number",default:0,units:"degrees"},light:{type:"light"},sources:{required:!0,type:"sources"},sprite:{type:"string"},glyphs:{type:"string"},transition:{type:"transition"},layers:{required:!0,type:"array",value:"layer"}},sources:{"*":{type:"source"}},source:["source_vector","source_raster","source_raster_dem","source_geojson","source_video","source_image"],source_vector:{type:{required:!0,type:"enum",values:{vector:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},attribution:{type:"string"},promoteId:{type:"promoteId"},"*":{type:"*"}},source_raster:{type:{required:!0,type:"enum",values:{raster:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},attribution:{type:"string"},"*":{type:"*"}},source_raster_dem:{type:{required:!0,type:"enum",values:{"raster-dem":{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},attribution:{type:"string"},encoding:{type:"enum",values:{terrarium:{},mapbox:{}},default:"mapbox"},"*":{type:"*"}},source_geojson:{type:{required:!0,type:"enum",values:{geojson:{}}},data:{type:"*"},maxzoom:{type:"number",default:18},attribution:{type:"string"},buffer:{type:"number",default:128,maximum:512,minimum:0},tolerance:{type:"number",default:.375},cluster:{type:"boolean",default:!1},clusterRadius:{type:"number",default:50,minimum:0},clusterMaxZoom:{type:"number"},clusterProperties:{type:"*"},lineMetrics:{type:"boolean",default:!1},generateId:{type:"boolean",default:!1},promoteId:{type:"promoteId"}},source_video:{type:{required:!0,type:"enum",values:{video:{}}},urls:{required:!0,type:"array",value:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},source_image:{type:{required:!0,type:"enum",values:{image:{}}},url:{required:!0,type:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},layer:{id:{type:"string",required:!0},type:{type:"enum",values:{fill:{},line:{},symbol:{},circle:{},heatmap:{},"fill-extrusion":{},raster:{},hillshade:{},background:{}},required:!0},metadata:{type:"*"},source:{type:"string"},"source-layer":{type:"string"},minzoom:{type:"number",minimum:0,maximum:24},maxzoom:{type:"number",minimum:0,maximum:24},filter:{type:"filter"},layout:{type:"layout"},paint:{type:"paint"}},layout:["layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_hillshade","layout_background"],layout_background:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_fill:{"fill-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_circle:{"circle-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_heatmap:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},"layout_fill-extrusion":{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_line:{"line-cap":{type:"enum",values:{butt:{},round:{},square:{}},default:"butt",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-join":{type:"enum",values:{bevel:{},round:{},miter:{}},default:"miter",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{type:"number",default:2,requires:[{"line-join":"miter"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-round-limit":{type:"number",default:1.05,requires:[{"line-join":"round"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_symbol:{"symbol-placement":{type:"enum",values:{point:{},line:{},"line-center":{}},default:"point",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-spacing":{type:"number",default:250,minimum:1,units:"pixels",requires:[{"symbol-placement":"line"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{type:"boolean",default:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"symbol-z-order":{type:"enum",values:{auto:{},"viewport-y":{},source:{}},default:"auto",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-optional":{type:"boolean",default:!1,requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-size":{type:"number",default:1,minimum:0,units:"factor of the original icon size",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit":{type:"enum",values:{none:{},width:{},height:{},both:{}},default:"none",requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-text-fit-padding":{type:"array",value:"number",length:4,default:[0,0,0,0],units:"pixels",requires:["icon-image","text-field",{"icon-text-fit":["both","width","height"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-image":{type:"resolvedImage",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-keep-upright":{type:"boolean",default:!1,requires:["icon-image",{"icon-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-offset":{type:"array",value:"number",length:2,default:[0,0],requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-field":{type:"formatted",default:"",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-font":{type:"array",value:"string",default:["Open Sans Regular","Arial Unicode MS Regular"],requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-size":{type:"number",default:16,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-width":{type:"number",default:10,minimum:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{type:"number",default:1.2,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-letter-spacing":{type:"number",default:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-justify":{type:"enum",values:{auto:{},left:{},center:{},right:{}},default:"center",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-radial-offset":{type:"number",units:"ems",default:0,requires:["text-field"],"property-type":"data-driven",expression:{interpolated:!0,parameters:["zoom","feature"]}},"text-variable-anchor":{type:"array",value:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["text-field",{"!":"text-variable-anchor"}],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{type:"number",default:45,units:"degrees",requires:["text-field",{"symbol-placement":["line","line-center"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-writing-mode":{type:"array",value:"enum",values:{horizontal:{},vertical:{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-keep-upright":{type:"boolean",default:!0,requires:["text-field",{"text-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-transform":{type:"enum",values:{none:{},uppercase:{},lowercase:{}},default:"none",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-offset":{type:"array",value:"number",units:"ems",length:2,default:[0,0],requires:["text-field",{"!":"text-radial-offset"}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-optional":{type:"boolean",default:!1,requires:["text-field","icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_raster:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_hillshade:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},filter:{type:"array",value:"*"},filter_operator:{type:"enum",values:{"==":{},"!=":{},">":{},">=":{},"<":{},"<=":{},in:{},"!in":{},all:{},any:{},none:{},has:{},"!has":{},within:{}}},geometry_type:{type:"enum",values:{Point:{},LineString:{},Polygon:{}}},function:{expression:{type:"expression"},stops:{type:"array",value:"function_stop"},base:{type:"number",default:1,minimum:0},property:{type:"string",default:"$zoom"},type:{type:"enum",values:{identity:{},exponential:{},interval:{},categorical:{}},default:"exponential"},colorSpace:{type:"enum",values:{rgb:{},lab:{},hcl:{}},default:"rgb"},default:{type:"*",required:!1}},function_stop:{type:"array",minimum:0,maximum:24,value:["number","color"],length:2},expression:{type:"array",value:"*",minimum:1},expression_name:{type:"enum",values:{let:{group:"Variable binding"},var:{group:"Variable binding"},literal:{group:"Types"},array:{group:"Types"},at:{group:"Lookup"},in:{group:"Lookup"},"index-of":{group:"Lookup"},slice:{group:"Lookup"},case:{group:"Decision"},match:{group:"Decision"},coalesce:{group:"Decision"},step:{group:"Ramps, scales, curves"},interpolate:{group:"Ramps, scales, curves"},"interpolate-hcl":{group:"Ramps, scales, curves"},"interpolate-lab":{group:"Ramps, scales, curves"},ln2:{group:"Math"},pi:{group:"Math"},e:{group:"Math"},typeof:{group:"Types"},string:{group:"Types"},number:{group:"Types"},boolean:{group:"Types"},object:{group:"Types"},collator:{group:"Types"},format:{group:"Types"},image:{group:"Types"},"number-format":{group:"Types"},"to-string":{group:"Types"},"to-number":{group:"Types"},"to-boolean":{group:"Types"},"to-rgba":{group:"Color"},"to-color":{group:"Types"},rgb:{group:"Color"},rgba:{group:"Color"},get:{group:"Lookup"},has:{group:"Lookup"},length:{group:"Lookup"},properties:{group:"Feature data"},"feature-state":{group:"Feature data"},"geometry-type":{group:"Feature data"},id:{group:"Feature data"},zoom:{group:"Zoom"},"heatmap-density":{group:"Heatmap"},"line-progress":{group:"Feature data"},accumulated:{group:"Feature data"},"+":{group:"Math"},"*":{group:"Math"},"-":{group:"Math"},"/":{group:"Math"},"%":{group:"Math"},"^":{group:"Math"},sqrt:{group:"Math"},log10:{group:"Math"},ln:{group:"Math"},log2:{group:"Math"},sin:{group:"Math"},cos:{group:"Math"},tan:{group:"Math"},asin:{group:"Math"},acos:{group:"Math"},atan:{group:"Math"},min:{group:"Math"},max:{group:"Math"},round:{group:"Math"},abs:{group:"Math"},ceil:{group:"Math"},floor:{group:"Math"},distance:{group:"Math"},"==":{group:"Decision"},"!=":{group:"Decision"},">":{group:"Decision"},"<":{group:"Decision"},">=":{group:"Decision"},"<=":{group:"Decision"},all:{group:"Decision"},any:{group:"Decision"},"!":{group:"Decision"},within:{group:"Decision"},"is-supported-script":{group:"String"},upcase:{group:"String"},downcase:{group:"String"},concat:{group:"String"},"resolved-locale":{group:"String"}}},light:{anchor:{type:"enum",default:"viewport",values:{map:{},viewport:{}},"property-type":"data-constant",transition:!1,expression:{interpolated:!1,parameters:["zoom"]}},position:{type:"array",default:[1.15,210,30],length:3,value:"number","property-type":"data-constant",transition:!0,expression:{interpolated:!0,parameters:["zoom"]}},color:{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},intensity:{type:"number","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0}},paint:["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_background"],paint_fill:{"fill-antialias":{type:"boolean",default:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-outline-color":{type:"color",transition:!0,requires:[{"!":"fill-pattern"},{"fill-antialias":!0}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"}},"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-extrusion-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",transition:!0,requires:["fill-extrusion-height"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,transition:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_line:{"line-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"line-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["line-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-width":{type:"number",default:1,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-gap-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-offset":{type:"number",default:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-dasharray":{type:"array",value:"number",minimum:0,transition:!0,units:"line widths",requires:[{"!":"line-pattern"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"line-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"line-gradient":{type:"color",transition:!1,requires:[{"!":"line-dasharray"},{"!":"line-pattern"},{source:"geojson",has:{lineMetrics:!0}}],expression:{interpolated:!0,parameters:["line-progress"]},"property-type":"color-ramp"}},paint_circle:{"circle-radius":{type:"number",default:5,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-blur":{type:"number",default:0,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["circle-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{type:"enum",values:{map:{},viewport:{}},default:"map",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"}},paint_heatmap:{"heatmap-radius":{type:"number",default:30,minimum:1,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-weight":{type:"number",default:1,minimum:0,transition:!1,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-intensity":{type:"number",default:1,minimum:0,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"heatmap-color":{type:"color",default:["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",.1,"royalblue",.3,"cyan",.5,"lime",.7,"yellow",1,"red"],transition:!1,expression:{interpolated:!0,parameters:["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_symbol:{"icon-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-color":{type:"color",default:"#000000",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["icon-image","icon-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-color":{type:"color",default:"#000000",transition:!0,overridable:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["text-field","text-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_raster:{"raster-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-hue-rotate":{type:"number",default:0,period:360,transition:!0,units:"degrees",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{type:"number",default:0,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-saturation":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-contrast":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-resampling":{type:"enum",values:{linear:{},nearest:{}},default:"linear",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"raster-fade-duration":{type:"number",default:300,minimum:0,transition:!1,units:"milliseconds",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_hillshade:{"hillshade-illumination-direction":{type:"number",default:335,minimum:0,maximum:359,transition:!1,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-illumination-anchor":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-exaggeration":{type:"number",default:.5,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-highlight-color":{type:"color",default:"#FFFFFF",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-accent-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_background:{"background-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"background-pattern"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"background-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"background-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},transition:{duration:{type:"number",default:300,minimum:0,units:"milliseconds"},delay:{type:"number",default:0,minimum:0,units:"milliseconds"}},"property-type":{"data-driven":{type:"property-type"},"cross-faded":{type:"property-type"},"cross-faded-data-driven":{type:"property-type"},"color-ramp":{type:"property-type"},"data-constant":{type:"property-type"},constant:{type:"property-type"}},promoteId:{"*":{type:"string"}}},Ne=function(P,V,J,he){this.message=(P?P+": ":"")+J,he&&(this.identifier=he),V!=null&&V.__line__&&(this.line=V.__line__)};function Qe(P){var V=P.key,J=P.value;return J?[new Ne(V,J,"constants have been deprecated as of v8")]:[]}function ut(P){for(var V=[],J=arguments.length-1;J-- >0;)V[J]=arguments[J+1];for(var he=0,Ae=V;he":P.itemType.kind==="value"?"array":"array<"+V+">"}return P.kind}var An=[yt,Pt,wt,Rt,Nt,Qt,Yt,xn(Wt),rn];function Yn(P,V){if(V.kind==="error")return null;if(P.kind==="array"){if(V.kind==="array"&&(V.N===0&&V.itemType.kind==="value"||!Yn(P.itemType,V.itemType))&&(typeof P.N!="number"||P.N===V.N))return null}else{if(P.kind===V.kind)return null;if(P.kind==="value"){for(var J=0,he=An;J255?255:pt}function Ae(pt){return pt<0?0:pt>1?1:pt}function Oe(pt){return pt[pt.length-1]==="%"?he(parseFloat(pt)/100*255):he(parseInt(pt))}function Ge(pt){return pt[pt.length-1]==="%"?Ae(parseFloat(pt)/100):Ae(parseFloat(pt))}function it(pt,Ct,Dt){return Dt<0?Dt+=1:Dt>1&&(Dt-=1),6*Dt<1?pt+(Ct-pt)*Dt*6:2*Dt<1?Ct:3*Dt<2?pt+(Ct-pt)*(2/3-Dt)*6:pt}try{V.parseCSSColor=function(pt){var Ct,Dt=pt.replace(/ /g,"").toLowerCase();if(Dt in J)return J[Dt].slice();if(Dt[0]==="#")return Dt.length===4?(Ct=parseInt(Dt.substr(1),16))>=0&&Ct<=4095?[(3840&Ct)>>4|(3840&Ct)>>8,240&Ct|(240&Ct)>>4,15&Ct|(15&Ct)<<4,1]:null:Dt.length===7&&(Ct=parseInt(Dt.substr(1),16))>=0&&Ct<=16777215?[(16711680&Ct)>>16,(65280&Ct)>>8,255&Ct,1]:null;var Gt=Dt.indexOf("("),Zt=Dt.indexOf(")");if(Gt!==-1&&Zt+1===Dt.length){var $t=Dt.substr(0,Gt),fn=Dt.substr(Gt+1,Zt-(Gt+1)).split(","),Mn=1;switch($t){case"rgba":if(fn.length!==4)return null;Mn=Ge(fn.pop());case"rgb":return fn.length!==3?null:[Oe(fn[0]),Oe(fn[1]),Oe(fn[2]),Mn];case"hsla":if(fn.length!==4)return null;Mn=Ge(fn.pop());case"hsl":if(fn.length!==3)return null;var Nn=(parseFloat(fn[0])%360+360)%360/360,Bn=Ge(fn[1]),Wn=Ge(fn[2]),Zn=Wn<=.5?Wn*(Bn+1):Wn+Bn-Wn*Bn,er=2*Wn-Zn;return[he(255*it(er,Zn,Nn+1/3)),he(255*it(er,Zn,Nn)),he(255*it(er,Zn,Nn-1/3)),Mn];default:return null}}return null}}catch{}}),dn=Tn.parseCSSColor,pn=function(P,V,J,he){he===void 0&&(he=1),this.r=P,this.g=V,this.b=J,this.a=he};pn.parse=function(P){if(P){if(P instanceof pn)return P;if(typeof P=="string"){var V=dn(P);if(V)return new pn(V[0]/255*V[3],V[1]/255*V[3],V[2]/255*V[3],V[3])}}},pn.prototype.toString=function(){var P=this.toArray(),V=P[0],J=P[1],he=P[2],Ae=P[3];return"rgba("+Math.round(V)+","+Math.round(J)+","+Math.round(he)+","+Ae+")"},pn.prototype.toArray=function(){var P=this,V=P.r,J=P.g,he=P.b,Ae=P.a;return Ae===0?[0,0,0,0]:[255*V/Ae,255*J/Ae,255*he/Ae,Ae]},pn.black=new pn(0,0,0,1),pn.white=new pn(1,1,1,1),pn.transparent=new pn(0,0,0,0),pn.red=new pn(1,0,0,1);var Dn=function(P,V,J){this.sensitivity=P?V?"variant":"case":V?"accent":"base",this.locale=J,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"})};Dn.prototype.compare=function(P,V){return this.collator.compare(P,V)},Dn.prototype.resolvedLocale=function(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale};var In=function(P,V,J,he,Ae){this.text=P,this.image=V,this.scale=J,this.fontStack=he,this.textColor=Ae},jn=function(P){this.sections=P};jn.fromString=function(P){return new jn([new In(P,null,null,null,null)])},jn.prototype.isEmpty=function(){return this.sections.length===0||!this.sections.some(function(P){return P.text.length!==0||P.image&&P.image.name.length!==0})},jn.factory=function(P){return P instanceof jn?P:jn.fromString(P)},jn.prototype.toString=function(){return this.sections.length===0?"":this.sections.map(function(P){return P.text}).join("")},jn.prototype.serialize=function(){for(var P=["format"],V=0,J=this.sections;V=0&&P<=255&&typeof V=="number"&&V>=0&&V<=255&&typeof J=="number"&&J>=0&&J<=255?he===void 0||typeof he=="number"&&he>=0&&he<=1?null:"Invalid rgba value ["+[P,V,J,he].join(", ")+"]: 'a' must be between 0 and 1.":"Invalid rgba value ["+(typeof he=="number"?[P,V,J,he]:[P,V,J]).join(", ")+"]: 'r', 'g', and 'b' must be between 0 and 255."}function lr(P){if(P===null||typeof P=="string"||typeof P=="boolean"||typeof P=="number"||P instanceof pn||P instanceof Dn||P instanceof jn||P instanceof Gn)return!0;if(Array.isArray(P)){for(var V=0,J=P;V2){var it=P[1];if(typeof it!="string"||!(it in vr)||it==="object")return V.error('The item type argument of "array" must be one of string, number, boolean',1);Oe=vr[it],he++}else Oe=Wt;if(P.length>3){if(P[2]!==null&&(typeof P[2]!="number"||P[2]<0||P[2]!==Math.floor(P[2])))return V.error('The length argument to "array" must be a positive integer literal',2);Ge=P[2],he++}J=xn(Oe,Ge)}else J=vr[Ae];for(var pt=[];he1)&&V.push(he)}}return V.concat(this.args.map(function(Ae){return Ae.serialize()}))};var Kt=function(P){this.type=Qt,this.sections=P};Kt.parse=function(P,V){if(P.length<2)return V.error("Expected at least one argument.");var J=P[1];if(!Array.isArray(J)&&typeof J=="object")return V.error("First argument must be an image or text section.");for(var he=[],Ae=!1,Oe=1;Oe<=P.length-1;++Oe){var Ge=P[Oe];if(Ae&&typeof Ge=="object"&&!Array.isArray(Ge)){Ae=!1;var it=null;if(Ge["font-scale"]&&!(it=V.parse(Ge["font-scale"],1,Pt)))return null;var pt=null;if(Ge["text-font"]&&!(pt=V.parse(Ge["text-font"],1,xn(wt))))return null;var Ct=null;if(Ge["text-color"]&&!(Ct=V.parse(Ge["text-color"],1,Nt)))return null;var Dt=he[he.length-1];Dt.scale=it,Dt.font=pt,Dt.textColor=Ct}else{var Gt=V.parse(P[Oe],1,Wt);if(!Gt)return null;var Zt=Gt.type.kind;if(Zt!=="string"&&Zt!=="value"&&Zt!=="null"&&Zt!=="resolvedImage")return V.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");Ae=!0,he.push({content:Gt,scale:null,font:null,textColor:null})}}return new Kt(he)},Kt.prototype.evaluate=function(P){return new jn(this.sections.map(function(V){var J=V.content.evaluate(P);return rr(J)===rn?new In("",J,null,null,null):new In(Sr(J),null,V.scale?V.scale.evaluate(P):null,V.font?V.font.evaluate(P).join(","):null,V.textColor?V.textColor.evaluate(P):null)}))},Kt.prototype.eachChild=function(P){for(var V=0,J=this.sections;V-1),J},bn.prototype.eachChild=function(P){P(this.input)},bn.prototype.outputDefined=function(){return!1},bn.prototype.serialize=function(){return["image",this.input.serialize()]};var Rn={"to-boolean":Rt,"to-color":Nt,"to-number":Pt,"to-string":wt},Ln=function(P,V){this.type=P,this.args=V};Ln.parse=function(P,V){if(P.length<2)return V.error("Expected at least one argument.");var J=P[0];if((J==="to-boolean"||J==="to-string")&&P.length!==2)return V.error("Expected one argument.");for(var he=Rn[J],Ae=[],Oe=1;Oe4?"Invalid rbga value "+JSON.stringify(V)+": expected an array containing either three or four numeric values.":qn(V[0],V[1],V[2],V[3])))return new pn(V[0]/255,V[1]/255,V[2]/255,V[3])}throw new or(J||"Could not parse color from value '"+(typeof V=="string"?V:String(JSON.stringify(V)))+"'")}if(this.type.kind==="number"){for(var Ge=null,it=0,pt=this.args;it=V[2]||P[1]<=V[1]||P[3]>=V[3])}function jt(P,V){var J,he=(180+P[0])/360,Ae=(J=P[1],(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+J*Math.PI/360)))/360),Oe=Math.pow(2,V.z);return[Math.round(he*Oe*mr),Math.round(Ae*Oe*mr)]}function Jt(P,V,J){return V[1]>P[1]!=J[1]>P[1]&&P[0]<(J[0]-V[0])*(P[1]-V[1])/(J[1]-V[1])+V[0]}function hn(P,V){for(var J=!1,he=0,Ae=V.length;he0&&Gt<0||Dt<0&&Gt>0}function En(P,V,J){for(var he=0,Ae=J;heJ[2]){var Ae=.5*he,Oe=P[0]-J[0]>Ae?-he:J[0]-P[0]>Ae?he:0;Oe===0&&(Oe=P[0]-J[2]>Ae?-he:J[2]-P[0]>Ae?he:0),P[0]+=Oe}nn(V,P)}function Vn(P,V,J,he){for(var Ae=Math.pow(2,he.z)*mr,Oe=[he.x*mr,he.y*mr],Ge=[],it=0,pt=P;it=0)return!1;var J=!0;return P.eachChild(function(he){J&&!cr(he,V)&&(J=!1)}),J}nr.parse=function(P,V){if(P.length!==2)return V.error("'within' expression requires exactly one argument, but found "+(P.length-1)+" instead.");if(lr(P[1])){var J=P[1];if(J.type==="FeatureCollection")for(var he=0;heV))throw new or("Input is not a number.");Ge=it-1}return 0}dr.prototype.parse=function(P,V,J,he,Ae){return Ae===void 0&&(Ae={}),V?this.concat(V,J,he)._parse(P,Ae):this._parse(P,Ae)},dr.prototype._parse=function(P,V){function J(Ct,Dt,Gt){return Gt==="assert"?new _r(Dt,[Ct]):Gt==="coerce"?new Ln(Dt,[Ct]):Ct}if(P!==null&&typeof P!="string"&&typeof P!="boolean"&&typeof P!="number"||(P=["literal",P]),Array.isArray(P)){if(P.length===0)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');var he=P[0];if(typeof he!="string")return this.error("Expression name must be a string, but found "+typeof he+' instead. If you wanted a literal array, use ["literal", [...]].',0),null;var Ae=this.registry[he];if(Ae){var Oe=Ae.parse(P,this);if(!Oe)return null;if(this.expectedType){var Ge=this.expectedType,it=Oe.type;if(Ge.kind!=="string"&&Ge.kind!=="number"&&Ge.kind!=="boolean"&&Ge.kind!=="object"&&Ge.kind!=="array"||it.kind!=="value")if(Ge.kind!=="color"&&Ge.kind!=="formatted"&&Ge.kind!=="resolvedImage"||it.kind!=="value"&&it.kind!=="string"){if(this.checkSubtype(Ge,it))return null}else Oe=J(Oe,Ge,V.typeAnnotation||"coerce");else Oe=J(Oe,Ge,V.typeAnnotation||"assert")}if(!(Oe instanceof yr)&&Oe.type.kind!=="resolvedImage"&&br(Oe)){var pt=new Kn;try{Oe=new yr(Oe.type,Oe.evaluate(pt))}catch(Ct){return this.error(Ct.message),null}}return Oe}return this.error('Unknown expression "'+he+'". If you wanted a literal array, use ["literal", [...]].',0)}return P===void 0?this.error("'undefined' value invalid. Use null instead."):typeof P=="object"?this.error('Bare objects invalid. Use ["literal", {...}] instead.'):this.error("Expected an array, but found "+typeof P+" instead.")},dr.prototype.concat=function(P,V,J){var he=typeof P=="number"?this.path.concat(P):this.path,Ae=J?this.scope.concat(J):this.scope;return new dr(this.registry,he,V||null,Ae,this.errors)},dr.prototype.error=function(P){for(var V=[],J=arguments.length-1;J-- >0;)V[J]=arguments[J+1];var he=""+this.key+V.map(function(Ae){return"["+Ae+"]"}).join("");this.errors.push(new It(he,P))},dr.prototype.checkSubtype=function(P,V){var J=Yn(P,V);return J&&this.error(J),J};var Lr=function(P,V,J){this.type=P,this.input=V,this.labels=[],this.outputs=[];for(var he=0,Ae=J;he=Ge)return V.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',pt);var Dt=V.parse(it,Ct,Ae);if(!Dt)return null;Ae=Ae||Dt.type,he.push([Ge,Dt])}return new Lr(Ae,J,he)},Lr.prototype.evaluate=function(P){var V=this.labels,J=this.outputs;if(V.length===1)return J[0].evaluate(P);var he=this.input.evaluate(P);if(he<=V[0])return J[0].evaluate(P);var Ae=V.length;return he>=V[Ae-1]?J[Ae-1].evaluate(P):J[Ir(V,he)].evaluate(P)},Lr.prototype.eachChild=function(P){P(this.input);for(var V=0,J=this.outputs;V0&&P.push(this.labels[V]),P.push(this.outputs[V].serialize());return P};var gr=Object.freeze({__proto__:null,number:zr,color:function(P,V,J){return new pn(zr(P.r,V.r,J),zr(P.g,V.g,J),zr(P.b,V.b,J),zr(P.a,V.a,J))},array:function(P,V,J){return P.map(function(he,Ae){return zr(he,V[Ae],J)})}}),Fr=.95047,ii=1.08883,ji=4/29,ea=6/29,sa=3*ea*ea,uo=Math.PI/180,La=180/Math.PI;function Xi(P){return P>.008856451679035631?Math.pow(P,.3333333333333333):P/sa+ji}function Do(P){return P>ea?P*P*P:sa*(P-ji)}function rs(P){return 255*(P<=.0031308?12.92*P:1.055*Math.pow(P,.4166666666666667)-.055)}function el(P){return(P/=255)<=.04045?P/12.92:Math.pow((P+.055)/1.055,2.4)}function Cu(P){var V=el(P.r),J=el(P.g),he=el(P.b),Ae=Xi((.4124564*V+.3575761*J+.1804375*he)/Fr),Oe=Xi((.2126729*V+.7151522*J+.072175*he)/1);return{l:116*Oe-16,a:500*(Ae-Oe),b:200*(Oe-Xi((.0193339*V+.119192*J+.9503041*he)/ii)),alpha:P.a}}function gf(P){var V=(P.l+16)/116,J=isNaN(P.a)?V:V+P.a/500,he=isNaN(P.b)?V:V-P.b/200;return V=1*Do(V),J=Fr*Do(J),he=ii*Do(he),new pn(rs(3.2404542*J-1.5371385*V-.4985314*he),rs(-.969266*J+1.8760108*V+.041556*he),rs(.0556434*J-.2040259*V+1.0572252*he),P.alpha)}function Mh(P,V,J){var he=V-P;return P+J*(he>180||he<-180?he-360*Math.round(he/360):he)}var Eu={forward:Cu,reverse:gf,interpolate:function(P,V,J){return{l:zr(P.l,V.l,J),a:zr(P.a,V.a,J),b:zr(P.b,V.b,J),alpha:zr(P.alpha,V.alpha,J)}}},is={forward:function(P){var V=Cu(P),J=V.l,he=V.a,Ae=V.b,Oe=Math.atan2(Ae,he)*La;return{h:Oe<0?Oe+360:Oe,c:Math.sqrt(he*he+Ae*Ae),l:J,alpha:P.a}},reverse:function(P){var V=P.h*uo,J=P.c;return gf({l:P.l,a:Math.cos(V)*J,b:Math.sin(V)*J,alpha:P.alpha})},interpolate:function(P,V,J){return{h:Mh(P.h,V.h,J),c:zr(P.c,V.c,J),l:zr(P.l,V.l,J),alpha:zr(P.alpha,V.alpha,J)}}},Ah=Object.freeze({__proto__:null,lab:Eu,hcl:is}),Ya=function(P,V,J,he,Ae){this.type=P,this.operator=V,this.interpolation=J,this.input=he,this.labels=[],this.outputs=[];for(var Oe=0,Ge=Ae;Oe1}))return V.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);he={name:"cubic-bezier",controlPoints:it}}if(P.length-1<4)return V.error("Expected at least 4 arguments, but found only "+(P.length-1)+".");if((P.length-1)%2!=0)return V.error("Expected an even number of arguments.");if(!(Ae=V.parse(Ae,2,Pt)))return null;var pt=[],Ct=null;J==="interpolate-hcl"||J==="interpolate-lab"?Ct=Nt:V.expectedType&&V.expectedType.kind!=="value"&&(Ct=V.expectedType);for(var Dt=0;Dt=Gt)return V.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',$t);var Mn=V.parse(Zt,fn,Ct);if(!Mn)return null;Ct=Ct||Mn.type,pt.push([Gt,Mn])}return Ct.kind==="number"||Ct.kind==="color"||Ct.kind==="array"&&Ct.itemType.kind==="number"&&typeof Ct.N=="number"?new Ya(Ct,J,he,Ae,pt):V.error("Type "+un(Ct)+" is not interpolatable.")},Ya.prototype.evaluate=function(P){var V=this.labels,J=this.outputs;if(V.length===1)return J[0].evaluate(P);var he=this.input.evaluate(P);if(he<=V[0])return J[0].evaluate(P);var Ae=V.length;if(he>=V[Ae-1])return J[Ae-1].evaluate(P);var Oe=Ir(V,he),Ge=V[Oe],it=V[Oe+1],pt=Ya.interpolationFactor(this.interpolation,he,Ge,it),Ct=J[Oe].evaluate(P),Dt=J[Oe+1].evaluate(P);return this.operator==="interpolate"?gr[this.type.kind.toLowerCase()](Ct,Dt,pt):this.operator==="interpolate-hcl"?is.reverse(is.interpolate(is.forward(Ct),is.forward(Dt),pt)):Eu.reverse(Eu.interpolate(Eu.forward(Ct),Eu.forward(Dt),pt))},Ya.prototype.eachChild=function(P){P(this.input);for(var V=0,J=this.outputs;V=J.length)throw new or("Array index out of bounds: "+V+" > "+(J.length-1)+".");if(V!==Math.floor(V))throw new or("Array index must be an integer, but found "+V+" instead.");return J[V]},Ml.prototype.eachChild=function(P){P(this.index),P(this.input)},Ml.prototype.outputDefined=function(){return!1},Ml.prototype.serialize=function(){return["at",this.index.serialize(),this.input.serialize()]};var Ui=function(P,V){this.type=Rt,this.needle=P,this.haystack=V};Ui.parse=function(P,V){if(P.length!==3)return V.error("Expected 2 arguments, but found "+(P.length-1)+" instead.");var J=V.parse(P[1],1,Wt),he=V.parse(P[2],2,Wt);return J&&he?kn(J.type,[Rt,wt,Pt,yt,Wt])?new Ui(J,he):V.error("Expected first argument to be of type boolean, string, number or null, but found "+un(J.type)+" instead"):null},Ui.prototype.evaluate=function(P){var V=this.needle.evaluate(P),J=this.haystack.evaluate(P);if(!J)return!1;if(!sn(V,["boolean","string","number","null"]))throw new or("Expected first argument to be of type boolean, string, number or null, but found "+un(rr(V))+" instead.");if(!sn(J,["string","array"]))throw new or("Expected second argument to be of type array or string, but found "+un(rr(J))+" instead.");return J.indexOf(V)>=0},Ui.prototype.eachChild=function(P){P(this.needle),P(this.haystack)},Ui.prototype.outputDefined=function(){return!0},Ui.prototype.serialize=function(){return["in",this.needle.serialize(),this.haystack.serialize()]};var Al=function(P,V,J){this.type=Pt,this.needle=P,this.haystack=V,this.fromIndex=J};Al.parse=function(P,V){if(P.length<=2||P.length>=5)return V.error("Expected 3 or 4 arguments, but found "+(P.length-1)+" instead.");var J=V.parse(P[1],1,Wt),he=V.parse(P[2],2,Wt);if(!J||!he)return null;if(!kn(J.type,[Rt,wt,Pt,yt,Wt]))return V.error("Expected first argument to be of type boolean, string, number or null, but found "+un(J.type)+" instead");if(P.length===4){var Ae=V.parse(P[3],3,Pt);return Ae?new Al(J,he,Ae):null}return new Al(J,he)},Al.prototype.evaluate=function(P){var V=this.needle.evaluate(P),J=this.haystack.evaluate(P);if(!sn(V,["boolean","string","number","null"]))throw new or("Expected first argument to be of type boolean, string, number or null, but found "+un(rr(V))+" instead.");if(!sn(J,["string","array"]))throw new or("Expected second argument to be of type array or string, but found "+un(rr(J))+" instead.");if(this.fromIndex){var he=this.fromIndex.evaluate(P);return J.indexOf(V,he)}return J.indexOf(V)},Al.prototype.eachChild=function(P){P(this.needle),P(this.haystack),this.fromIndex&&P(this.fromIndex)},Al.prototype.outputDefined=function(){return!1},Al.prototype.serialize=function(){if(this.fromIndex!=null&&this.fromIndex!==void 0){var P=this.fromIndex.serialize();return["index-of",this.needle.serialize(),this.haystack.serialize(),P]}return["index-of",this.needle.serialize(),this.haystack.serialize()]};var ps=function(P,V,J,he,Ae,Oe){this.inputType=P,this.type=V,this.input=J,this.cases=he,this.outputs=Ae,this.otherwise=Oe};ps.parse=function(P,V){if(P.length<5)return V.error("Expected at least 4 arguments, but found only "+(P.length-1)+".");if(P.length%2!=1)return V.error("Expected an even number of arguments.");var J,he;V.expectedType&&V.expectedType.kind!=="value"&&(he=V.expectedType);for(var Ae={},Oe=[],Ge=2;GeNumber.MAX_SAFE_INTEGER)return Ct.error("Branch labels must be integers no larger than "+Number.MAX_SAFE_INTEGER+".");if(typeof Zt=="number"&&Math.floor(Zt)!==Zt)return Ct.error("Numeric branch labels must be integer values.");if(J){if(Ct.checkSubtype(J,rr(Zt)))return null}else J=rr(Zt);if(Ae[String(Zt)]!==void 0)return Ct.error("Branch labels must be unique.");Ae[String(Zt)]=Oe.length}var $t=V.parse(pt,Ge,he);if(!$t)return null;he=he||$t.type,Oe.push($t)}var fn=V.parse(P[1],1,Wt);if(!fn)return null;var Mn=V.parse(P[P.length-1],P.length-1,he);return Mn?fn.type.kind!=="value"&&V.concat(1).checkSubtype(J,fn.type)?null:new ps(J,he,fn,Ae,Oe,Mn):null},ps.prototype.evaluate=function(P){var V=this.input.evaluate(P);return(rr(V)===this.inputType&&this.outputs[this.cases[V]]||this.otherwise).evaluate(P)},ps.prototype.eachChild=function(P){P(this.input),this.outputs.forEach(P),P(this.otherwise)},ps.prototype.outputDefined=function(){return this.outputs.every(function(P){return P.outputDefined()})&&this.otherwise.outputDefined()},ps.prototype.serialize=function(){for(var P=this,V=["match",this.input.serialize()],J=[],he={},Ae=0,Oe=Object.keys(this.cases).sort();Ae=5)return V.error("Expected 3 or 4 arguments, but found "+(P.length-1)+" instead.");var J=V.parse(P[1],1,Wt),he=V.parse(P[2],2,Pt);if(!J||!he)return null;if(!kn(J.type,[xn(Wt),wt,Wt]))return V.error("Expected first argument to be of type array or string, but found "+un(J.type)+" instead");if(P.length===4){var Ae=V.parse(P[3],3,Pt);return Ae?new js(J.type,J,he,Ae):null}return new js(J.type,J,he)},js.prototype.evaluate=function(P){var V=this.input.evaluate(P),J=this.beginIndex.evaluate(P);if(!sn(V,["string","array"]))throw new or("Expected first argument to be of type array or string, but found "+un(rr(V))+" instead.");if(this.endIndex){var he=this.endIndex.evaluate(P);return V.slice(J,he)}return V.slice(J)},js.prototype.eachChild=function(P){P(this.input),P(this.beginIndex),this.endIndex&&P(this.endIndex)},js.prototype.outputDefined=function(){return!1},js.prototype.serialize=function(){if(this.endIndex!=null&&this.endIndex!==void 0){var P=this.endIndex.serialize();return["slice",this.input.serialize(),this.beginIndex.serialize(),P]}return["slice",this.input.serialize(),this.beginIndex.serialize()]};var yf=tl("==",function(P,V,J){return V===J},vf),bf=tl("!=",function(P,V,J){return V!==J},function(P,V,J,he){return!vf(0,V,J,he)}),id=tl("<",function(P,V,J){return V",function(P,V,J){return V>J},function(P,V,J,he){return he.compare(V,J)>0}),xf=tl("<=",function(P,V,J){return V<=J},function(P,V,J,he){return he.compare(V,J)<=0}),Ch=tl(">=",function(P,V,J){return V>=J},function(P,V,J,he){return he.compare(V,J)>=0}),nl=function(P,V,J,he,Ae){this.type=wt,this.number=P,this.locale=V,this.currency=J,this.minFractionDigits=he,this.maxFractionDigits=Ae};nl.parse=function(P,V){if(P.length!==3)return V.error("Expected two arguments.");var J=V.parse(P[1],1,Pt);if(!J)return null;var he=P[2];if(typeof he!="object"||Array.isArray(he))return V.error("NumberFormat options argument must be an object.");var Ae=null;if(he.locale&&!(Ae=V.parse(he.locale,1,wt)))return null;var Oe=null;if(he.currency&&!(Oe=V.parse(he.currency,1,wt)))return null;var Ge=null;if(he["min-fraction-digits"]&&!(Ge=V.parse(he["min-fraction-digits"],1,Pt)))return null;var it=null;return he["max-fraction-digits"]&&!(it=V.parse(he["max-fraction-digits"],1,Pt))?null:new nl(J,Ae,Oe,Ge,it)},nl.prototype.evaluate=function(P){return new Intl.NumberFormat(this.locale?this.locale.evaluate(P):[],{style:this.currency?"currency":"decimal",currency:this.currency?this.currency.evaluate(P):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(P):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(P):void 0}).format(this.number.evaluate(P))},nl.prototype.eachChild=function(P){P(this.number),this.locale&&P(this.locale),this.currency&&P(this.currency),this.minFractionDigits&&P(this.minFractionDigits),this.maxFractionDigits&&P(this.maxFractionDigits)},nl.prototype.outputDefined=function(){return!1},nl.prototype.serialize=function(){var P={};return this.locale&&(P.locale=this.locale.serialize()),this.currency&&(P.currency=this.currency.serialize()),this.minFractionDigits&&(P["min-fraction-digits"]=this.minFractionDigits.serialize()),this.maxFractionDigits&&(P["max-fraction-digits"]=this.maxFractionDigits.serialize()),["number-format",this.number.serialize(),P]};var rl=function(P){this.type=Pt,this.input=P};rl.parse=function(P,V){if(P.length!==2)return V.error("Expected 1 argument, but found "+(P.length-1)+" instead.");var J=V.parse(P[1],1);return J?J.type.kind!=="array"&&J.type.kind!=="string"&&J.type.kind!=="value"?V.error("Expected argument of type string or array, but found "+un(J.type)+" instead."):new rl(J):null},rl.prototype.evaluate=function(P){var V=this.input.evaluate(P);if(typeof V=="string"||Array.isArray(V))return V.length;throw new or("Expected value to be of type string or array, but found "+un(rr(V))+" instead.")},rl.prototype.eachChild=function(P){P(this.input)},rl.prototype.outputDefined=function(){return!1},rl.prototype.serialize=function(){var P=["length"];return this.eachChild(function(V){P.push(V.serialize())}),P};var Lu={"==":yf,"!=":bf,">":Sh,"<":id,">=":Ch,"<=":xf,array:_r,at:Ml,boolean:_r,case:Es,coalesce:Yo,collator:tr,format:Kt,image:bn,in:Ui,"index-of":Al,interpolate:Ya,"interpolate-hcl":Ya,"interpolate-lab":Ya,length:rl,let:as,literal:yr,match:ps,number:_r,"number-format":nl,object:_r,slice:js,step:Lr,string:_r,"to-boolean":Ln,"to-color":Ln,"to-number":Ln,"to-string":Ln,var:pr,within:nr};function il(P,V){var J=V[0],he=V[1],Ae=V[2],Oe=V[3];J=J.evaluate(P),he=he.evaluate(P),Ae=Ae.evaluate(P);var Ge=Oe?Oe.evaluate(P):1,it=qn(J,he,Ae,Ge);if(it)throw new or(it);return new pn(J/255*Ge,he/255*Ge,Ae/255*Ge,Ge)}function Eh(P,V){return P in V}function Lh(P,V){var J=V[P];return J===void 0?null:J}function Jl(P){return{type:P}}function jc(P){return{result:"success",value:P}}function Sl(P){return{result:"error",value:P}}function Iu(P){return P["property-type"]==="data-driven"||P["property-type"]==="cross-faded-data-driven"}function Ql(P){return!!P.expression&&P.expression.parameters.indexOf("zoom")>-1}function al(P){return!!P.expression&&P.expression.interpolated}function Hi(P){return P instanceof Number?"number":P instanceof String?"string":P instanceof Boolean?"boolean":Array.isArray(P)?"array":P===null?"null":typeof P}function Cl(P){return typeof P=="object"&&P!==null&&!Array.isArray(P)}function ad(P){return P}function Uc(P,V){var J,he,Ae,Oe=V.type==="color",Ge=P.stops&&typeof P.stops[0][0]=="object",it=Ge||P.property!==void 0,pt=Ge||!it,Ct=P.type||(al(V)?"exponential":"interval");if(Oe&&((P=ut({},P)).stops&&(P.stops=P.stops.map(function(Tr){return[Tr[0],pn.parse(Tr[1])]})),P.default?P.default=pn.parse(P.default):P.default=pn.parse(V.default)),P.colorSpace&&P.colorSpace!=="rgb"&&!Ah[P.colorSpace])throw new Error("Unknown color space: "+P.colorSpace);if(Ct==="exponential")J=ms;else if(Ct==="interval")J=Ru;else if(Ct==="categorical"){J=eu,he=Object.create(null);for(var Dt=0,Gt=P.stops;Dt=P.stops[he-1][0])return P.stops[he-1][1];var Ae=Ir(P.stops.map(function(Oe){return Oe[0]}),J);return P.stops[Ae][1]}function ms(P,V,J){var he=P.base!==void 0?P.base:1;if(Hi(J)!=="number")return dc(P.default,V.default);var Ae=P.stops.length;if(Ae===1||J<=P.stops[0][0])return P.stops[0][1];if(J>=P.stops[Ae-1][0])return P.stops[Ae-1][1];var Oe=Ir(P.stops.map(function(Gt){return Gt[0]}),J),Ge=function(Gt,Zt,$t,fn){var Mn=fn-$t,Nn=Gt-$t;return Mn===0?0:Zt===1?Nn/Mn:(Math.pow(Zt,Nn)-1)/(Math.pow(Zt,Mn)-1)}(J,he,P.stops[Oe][0],P.stops[Oe+1][0]),it=P.stops[Oe][1],pt=P.stops[Oe+1][1],Ct=gr[V.type]||ad;if(P.colorSpace&&P.colorSpace!=="rgb"){var Dt=Ah[P.colorSpace];Ct=function(Gt,Zt){return Dt.reverse(Dt.interpolate(Dt.forward(Gt),Dt.forward(Zt),Ge))}}return typeof it.evaluate=="function"?{evaluate:function(){for(var Gt=[],Zt=arguments.length;Zt--;)Gt[Zt]=arguments[Zt];var $t=it.evaluate.apply(void 0,Gt),fn=pt.evaluate.apply(void 0,Gt);if($t!==void 0&&fn!==void 0)return Ct($t,fn,Ge)}}:Ct(it,pt,Ge)}function Ih(P,V,J){return V.type==="color"?J=pn.parse(J):V.type==="formatted"?J=jn.fromString(J.toString()):V.type==="resolvedImage"?J=Gn.fromString(J.toString()):Hi(J)===V.type||V.type==="enum"&&V.values[J]||(J=void 0),dc(J,P.default,V.default)}$n.register(Lu,{error:[{kind:"error"},[wt],function(P,V){var J=V[0];throw new or(J.evaluate(P))}],typeof:[wt,[Wt],function(P,V){return un(rr(V[0].evaluate(P)))}],"to-rgba":[xn(Pt,4),[Nt],function(P,V){return V[0].evaluate(P).toArray()}],rgb:[Nt,[Pt,Pt,Pt],il],rgba:[Nt,[Pt,Pt,Pt,Pt],il],has:{type:Rt,overloads:[[[wt],function(P,V){return Eh(V[0].evaluate(P),P.properties())}],[[wt,Yt],function(P,V){var J=V[0],he=V[1];return Eh(J.evaluate(P),he.evaluate(P))}]]},get:{type:Wt,overloads:[[[wt],function(P,V){return Lh(V[0].evaluate(P),P.properties())}],[[wt,Yt],function(P,V){var J=V[0],he=V[1];return Lh(J.evaluate(P),he.evaluate(P))}]]},"feature-state":[Wt,[wt],function(P,V){return Lh(V[0].evaluate(P),P.featureState||{})}],properties:[Yt,[],function(P){return P.properties()}],"geometry-type":[wt,[],function(P){return P.geometryType()}],id:[Wt,[],function(P){return P.id()}],zoom:[Pt,[],function(P){return P.globals.zoom}],"heatmap-density":[Pt,[],function(P){return P.globals.heatmapDensity||0}],"line-progress":[Pt,[],function(P){return P.globals.lineProgress||0}],accumulated:[Wt,[],function(P){return P.globals.accumulated===void 0?null:P.globals.accumulated}],"+":[Pt,Jl(Pt),function(P,V){for(var J=0,he=0,Ae=V;he":[Rt,[wt,Wt],function(P,V){var J=V[0],he=V[1],Ae=P.properties()[J.value],Oe=he.value;return typeof Ae==typeof Oe&&Ae>Oe}],"filter-id->":[Rt,[Wt],function(P,V){var J=V[0],he=P.id(),Ae=J.value;return typeof he==typeof Ae&&he>Ae}],"filter-<=":[Rt,[wt,Wt],function(P,V){var J=V[0],he=V[1],Ae=P.properties()[J.value],Oe=he.value;return typeof Ae==typeof Oe&&Ae<=Oe}],"filter-id-<=":[Rt,[Wt],function(P,V){var J=V[0],he=P.id(),Ae=J.value;return typeof he==typeof Ae&&he<=Ae}],"filter->=":[Rt,[wt,Wt],function(P,V){var J=V[0],he=V[1],Ae=P.properties()[J.value],Oe=he.value;return typeof Ae==typeof Oe&&Ae>=Oe}],"filter-id->=":[Rt,[Wt],function(P,V){var J=V[0],he=P.id(),Ae=J.value;return typeof he==typeof Ae&&he>=Ae}],"filter-has":[Rt,[Wt],function(P,V){return V[0].value in P.properties()}],"filter-has-id":[Rt,[],function(P){return P.id()!==null&&P.id()!==void 0}],"filter-type-in":[Rt,[xn(wt)],function(P,V){return V[0].value.indexOf(P.geometryType())>=0}],"filter-id-in":[Rt,[xn(Wt)],function(P,V){return V[0].value.indexOf(P.id())>=0}],"filter-in-small":[Rt,[wt,xn(Wt)],function(P,V){var J=V[0];return V[1].value.indexOf(P.properties()[J.value])>=0}],"filter-in-large":[Rt,[wt,xn(Wt)],function(P,V){var J=V[0],he=V[1];return function(Ae,Oe,Ge,it){for(;Ge<=it;){var pt=Ge+it>>1;if(Oe[pt]===Ae)return!0;Oe[pt]>Ae?it=pt-1:Ge=pt+1}return!1}(P.properties()[J.value],he.value,0,he.value.length-1)}],all:{type:Rt,overloads:[[[Rt,Rt],function(P,V){var J=V[0],he=V[1];return J.evaluate(P)&&he.evaluate(P)}],[Jl(Rt),function(P,V){for(var J=0,he=V;J0&&typeof P[0]=="string"&&P[0]in Lu}function mc(P,V){var J=new dr(Lu,[],V?function(Ae){var Oe={color:Nt,string:wt,number:Pt,enum:wt,boolean:Rt,formatted:Qt,resolvedImage:rn};return Ae.type==="array"?xn(Oe[Ae.value]||Wt,Ae.length):Oe[Ae.type]}(V):void 0),he=J.parse(P,void 0,void 0,void 0,V&&V.type==="string"?{typeAnnotation:"coerce"}:void 0);return he?jc(new pc(he,V)):Sl(J.errors)}pc.prototype.evaluateWithoutErrorHandling=function(P,V,J,he,Ae,Oe){return this._evaluator.globals=P,this._evaluator.feature=V,this._evaluator.featureState=J,this._evaluator.canonical=he,this._evaluator.availableImages=Ae||null,this._evaluator.formattedSection=Oe,this.expression.evaluate(this._evaluator)},pc.prototype.evaluate=function(P,V,J,he,Ae,Oe){this._evaluator.globals=P,this._evaluator.feature=V||null,this._evaluator.featureState=J||null,this._evaluator.canonical=he,this._evaluator.availableImages=Ae||null,this._evaluator.formattedSection=Oe||null;try{var Ge=this.expression.evaluate(this._evaluator);if(Ge==null||typeof Ge=="number"&&Ge!=Ge)return this._defaultValue;if(this._enumValues&&!(Ge in this._enumValues))throw new or("Expected value to be one of "+Object.keys(this._enumValues).map(function(it){return JSON.stringify(it)}).join(", ")+", but found "+JSON.stringify(Ge)+" instead.");return Ge}catch(it){return this._warningHistory[it.message]||(this._warningHistory[it.message]=!0,typeof console<"u"&&console.warn(it.message)),this._defaultValue}};var tu=function(P,V){this.kind=P,this._styleExpression=V,this.isStateDependent=P!=="constant"&&!hr(V.expression)};tu.prototype.evaluateWithoutErrorHandling=function(P,V,J,he,Ae,Oe){return this._styleExpression.evaluateWithoutErrorHandling(P,V,J,he,Ae,Oe)},tu.prototype.evaluate=function(P,V,J,he,Ae,Oe){return this._styleExpression.evaluate(P,V,J,he,Ae,Oe)};var nu=function(P,V,J,he){this.kind=P,this.zoomStops=J,this._styleExpression=V,this.isStateDependent=P!=="camera"&&!hr(V.expression),this.interpolationType=he};function Ou(P,V){if((P=mc(P,V)).result==="error")return P;var J=P.value.expression,he=Qn(J);if(!he&&!Iu(V))return Sl([new It("","data expressions not supported")]);var Ae=cr(J,["zoom"]);if(!Ae&&!Ql(V))return Sl([new It("","zoom expressions not supported")]);var Oe=vc(J);if(!Oe&&!Ae)return Sl([new It("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')]);if(Oe instanceof It)return Sl([Oe]);if(Oe instanceof Ya&&!al(V))return Sl([new It("",'"interpolate" expressions cannot be used with this property')]);if(!Oe)return jc(new tu(he?"constant":"source",P.value));var Ge=Oe instanceof Ya?Oe.interpolation:void 0;return jc(new nu(he?"camera":"composite",P.value,Oe.labels,Ge))}nu.prototype.evaluateWithoutErrorHandling=function(P,V,J,he,Ae,Oe){return this._styleExpression.evaluateWithoutErrorHandling(P,V,J,he,Ae,Oe)},nu.prototype.evaluate=function(P,V,J,he,Ae,Oe){return this._styleExpression.evaluate(P,V,J,he,Ae,Oe)},nu.prototype.interpolationFactor=function(P,V,J){return this.interpolationType?Ya.interpolationFactor(this.interpolationType,P,V,J):0};var gc=function(P,V){this._parameters=P,this._specification=V,ut(this,Uc(this._parameters,this._specification))};function vc(P){var V=null;if(P instanceof as)V=vc(P.result);else if(P instanceof Yo)for(var J=0,he=P.args;Jhe.maximum?[new Ne(V,J,J+" is greater than the maximum value "+he.maximum)]:[]}function Rh(P){var V,J,he,Ae=P.valueSpec,Oe=dt(P.value.type),Ge={},it=Oe!=="categorical"&&P.value.property===void 0,pt=!it,Ct=Hi(P.value.stops)==="array"&&Hi(P.value.stops[0])==="array"&&Hi(P.value.stops[0][0])==="object",Dt=gs({key:P.key,value:P.value,valueSpec:P.styleSpec.function,style:P.style,styleSpec:P.styleSpec,objectElementValidators:{stops:function($t){if(Oe==="identity")return[new Ne($t.key,$t.value,'identity function may not have a "stops" property')];var fn=[],Mn=$t.value;return fn=fn.concat(yc({key:$t.key,value:Mn,valueSpec:$t.valueSpec,style:$t.style,styleSpec:$t.styleSpec,arrayElementValidator:Gt})),Hi(Mn)==="array"&&Mn.length===0&&fn.push(new Ne($t.key,Mn,"array must have at least one stop")),fn},default:function($t){return da({key:$t.key,value:$t.value,valueSpec:Ae,style:$t.style,styleSpec:$t.styleSpec})}}});return Oe==="identity"&&it&&Dt.push(new Ne(P.key,P.value,'missing required property "property"')),Oe==="identity"||P.value.stops||Dt.push(new Ne(P.key,P.value,'missing required property "stops"')),Oe==="exponential"&&P.valueSpec.expression&&!al(P.valueSpec)&&Dt.push(new Ne(P.key,P.value,"exponential functions not supported")),P.styleSpec.$version>=8&&(pt&&!Iu(P.valueSpec)?Dt.push(new Ne(P.key,P.value,"property functions not supported")):it&&!Ql(P.valueSpec)&&Dt.push(new Ne(P.key,P.value,"zoom functions not supported"))),Oe!=="categorical"&&!Ct||P.value.property!==void 0||Dt.push(new Ne(P.key,P.value,'"property" property is required')),Dt;function Gt($t){var fn=[],Mn=$t.value,Nn=$t.key;if(Hi(Mn)!=="array")return[new Ne(Nn,Mn,"array expected, "+Hi(Mn)+" found")];if(Mn.length!==2)return[new Ne(Nn,Mn,"array length 2 expected, length "+Mn.length+" found")];if(Ct){if(Hi(Mn[0])!=="object")return[new Ne(Nn,Mn,"object expected, "+Hi(Mn[0])+" found")];if(Mn[0].zoom===void 0)return[new Ne(Nn,Mn,"object stop key must have zoom")];if(Mn[0].value===void 0)return[new Ne(Nn,Mn,"object stop key must have value")];if(he&&he>dt(Mn[0].zoom))return[new Ne(Nn,Mn[0].zoom,"stop zoom values must appear in ascending order")];dt(Mn[0].zoom)!==he&&(he=dt(Mn[0].zoom),J=void 0,Ge={}),fn=fn.concat(gs({key:Nn+"[0]",value:Mn[0],valueSpec:{zoom:{}},style:$t.style,styleSpec:$t.styleSpec,objectElementValidators:{zoom:bc,value:Zt}}))}else fn=fn.concat(Zt({key:Nn+"[0]",value:Mn[0],valueSpec:{},style:$t.style,styleSpec:$t.styleSpec},Mn));return Pu(_t(Mn[1]))?fn.concat([new Ne(Nn+"[1]",Mn[1],"expressions are not allowed in function stops.")]):fn.concat(da({key:Nn+"[1]",value:Mn[1],valueSpec:Ae,style:$t.style,styleSpec:$t.styleSpec}))}function Zt($t,fn){var Mn=Hi($t.value),Nn=dt($t.value),Bn=$t.value!==null?$t.value:fn;if(V){if(Mn!==V)return[new Ne($t.key,Bn,Mn+" stop domain type must match previous stop domain type "+V)]}else V=Mn;if(Mn!=="number"&&Mn!=="string"&&Mn!=="boolean")return[new Ne($t.key,Bn,"stop domain value must be a number, string, or boolean")];if(Mn!=="number"&&Oe!=="categorical"){var Wn="number expected, "+Mn+" found";return Iu(Ae)&&Oe===void 0&&(Wn+='\nIf you intended to use a categorical function, specify `"type": "categorical"`.'),[new Ne($t.key,Bn,Wn)]}return Oe!=="categorical"||Mn!=="number"||isFinite(Nn)&&Math.floor(Nn)===Nn?Oe!=="categorical"&&Mn==="number"&&J!==void 0&&Nn=2&&P[1]!=="$id"&&P[1]!=="$type";case"in":return P.length>=3&&(typeof P[1]!="string"||Array.isArray(P[2]));case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return P.length!==3||Array.isArray(P[1])||Array.isArray(P[2]);case"any":case"all":for(var V=0,J=P.slice(1);VV?1:0}function ru(P){if(!Array.isArray(P))return!1;if(P[0]==="within")return!0;for(var V=1;V"||J==="<="||J===">="?Ki(P[1],P[2],J):J==="any"?(V=P.slice(1),["any"].concat(V.map(iu))):J==="all"?["all"].concat(P.slice(1).map(iu)):J==="none"?["all"].concat(P.slice(1).map(iu).map(po)):J==="in"?Ll(P[1],P.slice(2)):J==="!in"?po(Ll(P[1],P.slice(2))):J==="has"?Il(P[1]):J==="!has"?po(Il(P[1])):J!=="within"||P}function Ki(P,V,J){switch(P){case"$type":return["filter-type-"+J,V];case"$id":return["filter-id-"+J,V];default:return["filter-"+J,P,V]}}function Ll(P,V){if(V.length===0)return!1;switch(P){case"$type":return["filter-type-in",["literal",V]];case"$id":return["filter-id-in",["literal",V]];default:return V.length>200&&!V.some(function(J){return typeof J!=typeof V[0]})?["filter-in-large",P,["literal",V.sort(Du)]]:["filter-in-small",P,["literal",V]]}}function Il(P){switch(P){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",P]}}function po(P){return["!",P]}function Oi(P){return xc(_t(P.value))?El(ut({},P,{expressionContext:"filter",valueSpec:{value:"boolean"}})):Bi(P)}function Bi(P){var V=P.value,J=P.key;if(Hi(V)!=="array")return[new Ne(J,V,"array expected, "+Hi(V)+" found")];var he,Ae=P.styleSpec,Oe=[];if(V.length<1)return[new Ne(J,V,"filter array must have at least 1 element")];switch(Oe=Oe.concat(Hc({key:J+"[0]",value:V[0],valueSpec:Ae.filter_operator,style:P.style,styleSpec:P.styleSpec})),dt(V[0])){case"<":case"<=":case">":case">=":V.length>=2&&dt(V[1])==="$type"&&Oe.push(new Ne(J,V,'"$type" cannot be use with operator "'+V[0]+'"'));case"==":case"!=":V.length!==3&&Oe.push(new Ne(J,V,'filter array for operator "'+V[0]+'" must have 3 elements'));case"in":case"!in":V.length>=2&&(he=Hi(V[1]))!=="string"&&Oe.push(new Ne(J+"[1]",V[1],"string expected, "+he+" found"));for(var Ge=2;Ge=Dt[$t+0]&&he>=Dt[$t+1])?(Ge[Zt]=!0,Oe.push(Ct[Zt])):Ge[Zt]=!1}}},$o.prototype._forEachCell=function(P,V,J,he,Ae,Oe,Ge,it){for(var pt=this._convertToCellCoord(P),Ct=this._convertToCellCoord(V),Dt=this._convertToCellCoord(J),Gt=this._convertToCellCoord(he),Zt=pt;Zt<=Dt;Zt++)for(var $t=Ct;$t<=Gt;$t++){var fn=this.d*$t+Zt;if((!it||it(this._convertFromCellCoord(Zt),this._convertFromCellCoord($t),this._convertFromCellCoord(Zt+1),this._convertFromCellCoord($t+1)))&&Ae.call(this,P,V,J,he,fn,Oe,Ge,it))return}},$o.prototype._convertFromCellCoord=function(P){return(P-this.padding)/this.scale},$o.prototype._convertToCellCoord=function(P){return Math.max(0,Math.min(this.d-1,Math.floor(P*this.scale)+this.padding))},$o.prototype.toArrayBuffer=function(){if(this.arrayBuffer)return this.arrayBuffer;for(var P=this.cells,V=3+this.cells.length+1+1,J=0,he=0;he=0)){var Gt=P[Dt];Ct[Dt]=Lo[pt].shallow.indexOf(Dt)>=0?Gt:zu(Gt,V)}P instanceof Error&&(Ct.message=P.message)}if(Ct.$name)throw new Error("$name property is reserved for worker serialization logic.");return pt!=="Object"&&(Ct.$name=pt),Ct}throw new Error("can't serialize object of type "+typeof P)}function Fu(P){if(P==null||typeof P=="boolean"||typeof P=="number"||typeof P=="string"||P instanceof Boolean||P instanceof Number||P instanceof String||P instanceof Date||P instanceof RegExp||Fo(P)||Yc(P)||ArrayBuffer.isView(P)||P instanceof qc)return P;if(Array.isArray(P))return P.map(Fu);if(typeof P=="object"){var V=P.$name||"Object",J=Lo[V].klass;if(!J)throw new Error("can't deserialize unregistered class "+V);if(J.deserialize)return J.deserialize(P);for(var he=Object.create(J.prototype),Ae=0,Oe=Object.keys(P);Ae=0?it:Fu(it)}}return he}throw new Error("can't deserialize object of type "+typeof P)}var Bu=function(){this.first=!0};Bu.prototype.update=function(P,V){var J=Math.floor(P);return this.first?(this.first=!1,this.lastIntegerZoom=J,this.lastIntegerZoomTime=0,this.lastZoom=P,this.lastFloorZoom=J,!0):(this.lastFloorZoom>J?(this.lastIntegerZoom=J+1,this.lastIntegerZoomTime=V):this.lastFloorZoom=128&&P<=255},Arabic:function(P){return P>=1536&&P<=1791},"Arabic Supplement":function(P){return P>=1872&&P<=1919},"Arabic Extended-A":function(P){return P>=2208&&P<=2303},"Hangul Jamo":function(P){return P>=4352&&P<=4607},"Unified Canadian Aboriginal Syllabics":function(P){return P>=5120&&P<=5759},Khmer:function(P){return P>=6016&&P<=6143},"Unified Canadian Aboriginal Syllabics Extended":function(P){return P>=6320&&P<=6399},"General Punctuation":function(P){return P>=8192&&P<=8303},"Letterlike Symbols":function(P){return P>=8448&&P<=8527},"Number Forms":function(P){return P>=8528&&P<=8591},"Miscellaneous Technical":function(P){return P>=8960&&P<=9215},"Control Pictures":function(P){return P>=9216&&P<=9279},"Optical Character Recognition":function(P){return P>=9280&&P<=9311},"Enclosed Alphanumerics":function(P){return P>=9312&&P<=9471},"Geometric Shapes":function(P){return P>=9632&&P<=9727},"Miscellaneous Symbols":function(P){return P>=9728&&P<=9983},"Miscellaneous Symbols and Arrows":function(P){return P>=11008&&P<=11263},"CJK Radicals Supplement":function(P){return P>=11904&&P<=12031},"Kangxi Radicals":function(P){return P>=12032&&P<=12255},"Ideographic Description Characters":function(P){return P>=12272&&P<=12287},"CJK Symbols and Punctuation":function(P){return P>=12288&&P<=12351},Hiragana:function(P){return P>=12352&&P<=12447},Katakana:function(P){return P>=12448&&P<=12543},Bopomofo:function(P){return P>=12544&&P<=12591},"Hangul Compatibility Jamo":function(P){return P>=12592&&P<=12687},Kanbun:function(P){return P>=12688&&P<=12703},"Bopomofo Extended":function(P){return P>=12704&&P<=12735},"CJK Strokes":function(P){return P>=12736&&P<=12783},"Katakana Phonetic Extensions":function(P){return P>=12784&&P<=12799},"Enclosed CJK Letters and Months":function(P){return P>=12800&&P<=13055},"CJK Compatibility":function(P){return P>=13056&&P<=13311},"CJK Unified Ideographs Extension A":function(P){return P>=13312&&P<=19903},"Yijing Hexagram Symbols":function(P){return P>=19904&&P<=19967},"CJK Unified Ideographs":function(P){return P>=19968&&P<=40959},"Yi Syllables":function(P){return P>=40960&&P<=42127},"Yi Radicals":function(P){return P>=42128&&P<=42191},"Hangul Jamo Extended-A":function(P){return P>=43360&&P<=43391},"Hangul Syllables":function(P){return P>=44032&&P<=55215},"Hangul Jamo Extended-B":function(P){return P>=55216&&P<=55295},"Private Use Area":function(P){return P>=57344&&P<=63743},"CJK Compatibility Ideographs":function(P){return P>=63744&&P<=64255},"Arabic Presentation Forms-A":function(P){return P>=64336&&P<=65023},"Vertical Forms":function(P){return P>=65040&&P<=65055},"CJK Compatibility Forms":function(P){return P>=65072&&P<=65103},"Small Form Variants":function(P){return P>=65104&&P<=65135},"Arabic Presentation Forms-B":function(P){return P>=65136&&P<=65279},"Halfwidth and Fullwidth Forms":function(P){return P>=65280&&P<=65519}};function Nu(P){for(var V=0,J=P;V=65097&&P<=65103)||Br["CJK Compatibility Ideographs"](P)||Br["CJK Compatibility"](P)||Br["CJK Radicals Supplement"](P)||Br["CJK Strokes"](P)||!(!Br["CJK Symbols and Punctuation"](P)||P>=12296&&P<=12305||P>=12308&&P<=12319||P===12336)||Br["CJK Unified Ideographs Extension A"](P)||Br["CJK Unified Ideographs"](P)||Br["Enclosed CJK Letters and Months"](P)||Br["Hangul Compatibility Jamo"](P)||Br["Hangul Jamo Extended-A"](P)||Br["Hangul Jamo Extended-B"](P)||Br["Hangul Jamo"](P)||Br["Hangul Syllables"](P)||Br.Hiragana(P)||Br["Ideographic Description Characters"](P)||Br.Kanbun(P)||Br["Kangxi Radicals"](P)||Br["Katakana Phonetic Extensions"](P)||Br.Katakana(P)&&P!==12540||!(!Br["Halfwidth and Fullwidth Forms"](P)||P===65288||P===65289||P===65293||P>=65306&&P<=65310||P===65339||P===65341||P===65343||P>=65371&&P<=65503||P===65507||P>=65512&&P<=65519)||!(!Br["Small Form Variants"](P)||P>=65112&&P<=65118||P>=65123&&P<=65126)||Br["Unified Canadian Aboriginal Syllabics"](P)||Br["Unified Canadian Aboriginal Syllabics Extended"](P)||Br["Vertical Forms"](P)||Br["Yijing Hexagram Symbols"](P)||Br["Yi Syllables"](P)||Br["Yi Radicals"](P))))}function $c(P){return!(ys(P)||function(V){return!!(Br["Latin-1 Supplement"](V)&&(V===167||V===169||V===174||V===177||V===188||V===189||V===190||V===215||V===247)||Br["General Punctuation"](V)&&(V===8214||V===8224||V===8225||V===8240||V===8241||V===8251||V===8252||V===8258||V===8263||V===8264||V===8265||V===8273)||Br["Letterlike Symbols"](V)||Br["Number Forms"](V)||Br["Miscellaneous Technical"](V)&&(V>=8960&&V<=8967||V>=8972&&V<=8991||V>=8996&&V<=9e3||V===9003||V>=9085&&V<=9114||V>=9150&&V<=9165||V===9167||V>=9169&&V<=9179||V>=9186&&V<=9215)||Br["Control Pictures"](V)&&V!==9251||Br["Optical Character Recognition"](V)||Br["Enclosed Alphanumerics"](V)||Br["Geometric Shapes"](V)||Br["Miscellaneous Symbols"](V)&&!(V>=9754&&V<=9759)||Br["Miscellaneous Symbols and Arrows"](V)&&(V>=11026&&V<=11055||V>=11088&&V<=11097||V>=11192&&V<=11243)||Br["CJK Symbols and Punctuation"](V)||Br.Katakana(V)||Br["Private Use Area"](V)||Br["CJK Compatibility Forms"](V)||Br["Small Form Variants"](V)||Br["Halfwidth and Fullwidth Forms"](V)||V===8734||V===8756||V===8757||V>=9984&&V<=10087||V>=10102&&V<=10131||V===65532||V===65533)}(P))}function wc(P){return Br.Arabic(P)||Br["Arabic Supplement"](P)||Br["Arabic Extended-A"](P)||Br["Arabic Presentation Forms-A"](P)||Br["Arabic Presentation Forms-B"](P)}function vo(P){return P>=1424&&P<=2303||Br["Arabic Presentation Forms-A"](P)||Br["Arabic Presentation Forms-B"](P)}function cu(P,V){return!(!V&&vo(P)||P>=2304&&P<=3583||P>=3840&&P<=4255||Br.Khmer(P))}function ll(P){for(var V=0,J=P;V-1&&(yo=bs),hu&&hu(P)};function Tc(){os.fire(new qe("pluginStateChange",{pluginStatus:yo,pluginURL:xs}))}var os=new ft,_s=function(){return yo},Gs=function(){if(yo!==Zo||!xs)throw new Error("rtl-text-plugin cannot be downloaded unless a pluginURL is specified");yo=Pl,Tc(),xs&&Ft({url:xs},function(P){P?Yi(P):(yo=Ls,Tc())})},Bo={applyArabicShaping:null,processBidirectionalText:null,processStyledBidirectionalText:null,isLoaded:function(){return yo===Ls||Bo.applyArabicShaping!=null},isLoading:function(){return yo===Pl},setState:function(P){yo=P.pluginStatus,xs=P.pluginURL},isParsed:function(){return Bo.applyArabicShaping!=null&&Bo.processBidirectionalText!=null&&Bo.processStyledBidirectionalText!=null},getPluginURL:function(){return xs}},Wi=function(P,V){this.zoom=P,V?(this.now=V.now,this.fadeDuration=V.fadeDuration,this.zoomHistory=V.zoomHistory,this.transition=V.transition):(this.now=0,this.fadeDuration=0,this.zoomHistory=new Bu,this.transition={})};Wi.prototype.isSupportedScript=function(P){return function(V,J){for(var he=0,Ae=V;hethis.zoomHistory.lastIntegerZoom?{fromScale:2,toScale:1,t:V+(1-V)*J}:{fromScale:.5,toScale:1,t:1-(1-J)*V}};var no=function(P,V){this.property=P,this.value=V,this.expression=function(J,he){if(Cl(J))return new gc(J,he);if(Pu(J)){var Ae=Ou(J,he);if(Ae.result==="error")throw new Error(Ae.value.map(function(Ge){return Ge.key+": "+Ge.message}).join(", "));return Ae.value}var Oe=J;return typeof J=="string"&&he.type==="color"&&(Oe=pn.parse(J)),{kind:"constant",evaluate:function(){return Oe}}}(V===void 0?P.specification.default:V,P.specification)};no.prototype.isDataDriven=function(){return this.expression.kind==="source"||this.expression.kind==="composite"},no.prototype.possiblyEvaluate=function(P,V,J){return this.property.possiblyEvaluate(this,P,V,J)};var Is=function(P){this.property=P,this.value=new no(P,void 0)};Is.prototype.transitioned=function(P,V){return new qs(this.property,this.value,V,m({},P.transition,this.transition),P.now)},Is.prototype.untransitioned=function(){return new qs(this.property,this.value,null,{},0)};var No=function(P){this._properties=P,this._values=Object.create(P.defaultTransitionablePropertyValues)};No.prototype.getValue=function(P){return L(this._values[P].value.value)},No.prototype.setValue=function(P,V){this._values.hasOwnProperty(P)||(this._values[P]=new Is(this._values[P].property)),this._values[P].value=new no(this._values[P].property,V===null?void 0:L(V))},No.prototype.getTransition=function(P){return L(this._values[P].transition)},No.prototype.setTransition=function(P,V){this._values.hasOwnProperty(P)||(this._values[P]=new Is(this._values[P].property)),this._values[P].transition=L(V)||void 0},No.prototype.serialize=function(){for(var P={},V=0,J=Object.keys(this._values);Vthis.end)return this.prior=null,Ae;if(this.value.isDataDriven())return this.prior=null,Ae;if(he=1)return 1;var pt=it*it,Ct=pt*it;return 4*(it<.5?Ct:3*(it-pt)+Ct-.75)}(Ge))}return Ae};var Ol=function(P){this._properties=P,this._values=Object.create(P.defaultTransitioningPropertyValues)};Ol.prototype.possiblyEvaluate=function(P,V,J){for(var he=new ws(this._properties),Ae=0,Oe=Object.keys(this._values);AeOe.zoomHistory.lastIntegerZoom?{from:J,to:he}:{from:Ae,to:he}},V.prototype.interpolate=function(J){return J},V}(ni),cl=function(P){this.specification=P};cl.prototype.possiblyEvaluate=function(P,V,J,he){if(P.value!==void 0){if(P.expression.kind==="constant"){var Ae=P.expression.evaluate(V,null,{},J,he);return this._calculate(Ae,Ae,Ae,V)}return this._calculate(P.expression.evaluate(new Wi(Math.floor(V.zoom-1),V)),P.expression.evaluate(new Wi(Math.floor(V.zoom),V)),P.expression.evaluate(new Wi(Math.floor(V.zoom+1),V)),V)}},cl.prototype._calculate=function(P,V,J,he){return he.zoom>he.zoomHistory.lastIntegerZoom?{from:P,to:V}:{from:J,to:V}},cl.prototype.interpolate=function(P){return P};var Rs=function(P){this.specification=P};Rs.prototype.possiblyEvaluate=function(P,V,J,he){return!!P.expression.evaluate(V,null,{},J,he)},Rs.prototype.interpolate=function(){return!1};var xo=function(P){for(var V in this.properties=P,this.defaultPropertyValues={},this.defaultTransitionablePropertyValues={},this.defaultTransitioningPropertyValues={},this.defaultPossiblyEvaluatedValues={},this.overridableProperties=[],P){var J=P[V];J.specification.overridable&&this.overridableProperties.push(V);var he=this.defaultPropertyValues[V]=new no(J,void 0),Ae=this.defaultTransitionablePropertyValues[V]=new Is(J);this.defaultTransitioningPropertyValues[V]=Ae.untransitioned(),this.defaultPossiblyEvaluatedValues[V]=he.possiblyEvaluate({})}};Dr("DataDrivenProperty",ni),Dr("DataConstantProperty",Hr),Dr("CrossFadedDataDrivenProperty",Vu),Dr("CrossFadedProperty",cl),Dr("ColorRampProperty",Rs);var Zc="-transition",Vo=function(P){function V(J,he){if(P.call(this),this.id=J.id,this.type=J.type,this._featureFilter={filter:function(){return!0},needGeometry:!1},J.type!=="custom"&&(this.metadata=J.metadata,this.minzoom=J.minzoom,this.maxzoom=J.maxzoom,J.type!=="background"&&(this.source=J.source,this.sourceLayer=J["source-layer"],this.filter=J.filter),he.layout&&(this._unevaluatedLayout=new ul(he.layout)),he.paint)){for(var Ae in this._transitionablePaint=new No(he.paint),J.paint)this.setPaintProperty(Ae,J.paint[Ae],{validate:!1});for(var Oe in J.layout)this.setLayoutProperty(Oe,J.layout[Oe],{validate:!1});this._transitioningPaint=this._transitionablePaint.untransitioned(),this.paint=new ws(he.paint)}}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.getCrossfadeParameters=function(){return this._crossfadeParameters},V.prototype.getLayoutProperty=function(J){return J==="visibility"?this.visibility:this._unevaluatedLayout.getValue(J)},V.prototype.setLayoutProperty=function(J,he,Ae){if(Ae===void 0&&(Ae={}),he!=null){var Oe="layers."+this.id+".layout."+J;if(this._validate(Rl,Oe,J,he,Ae))return}J!=="visibility"?this._unevaluatedLayout.setValue(J,he):this.visibility=he},V.prototype.getPaintProperty=function(J){return E(J,Zc)?this._transitionablePaint.getTransition(J.slice(0,-Zc.length)):this._transitionablePaint.getValue(J)},V.prototype.setPaintProperty=function(J,he,Ae){if(Ae===void 0&&(Ae={}),he!=null){var Oe="layers."+this.id+".paint."+J;if(this._validate(zo,Oe,J,he,Ae))return!1}if(E(J,Zc))return this._transitionablePaint.setTransition(J.slice(0,-Zc.length),he||void 0),!1;var Ge=this._transitionablePaint._values[J],it=Ge.property.specification["property-type"]==="cross-faded-data-driven",pt=Ge.value.isDataDriven(),Ct=Ge.value;this._transitionablePaint.setValue(J,he),this._handleSpecialPaintPropertyUpdate(J);var Dt=this._transitionablePaint._values[J].value;return Dt.isDataDriven()||pt||it||this._handleOverridablePaintPropertyUpdate(J,Ct,Dt)},V.prototype._handleSpecialPaintPropertyUpdate=function(J){},V.prototype._handleOverridablePaintPropertyUpdate=function(J,he,Ae){return!1},V.prototype.isHidden=function(J){return!!(this.minzoom&&J=this.maxzoom)||this.visibility==="none"},V.prototype.updateTransitions=function(J){this._transitioningPaint=this._transitionablePaint.transitioned(J,this._transitioningPaint)},V.prototype.hasTransition=function(){return this._transitioningPaint.hasTransition()},V.prototype.recalculate=function(J,he){J.getCrossfadeParameters&&(this._crossfadeParameters=J.getCrossfadeParameters()),this._unevaluatedLayout&&(this.layout=this._unevaluatedLayout.possiblyEvaluate(J,void 0,he)),this.paint=this._transitioningPaint.possiblyEvaluate(J,void 0,he)},V.prototype.serialize=function(){var J={id:this.id,type:this.type,source:this.source,"source-layer":this.sourceLayer,metadata:this.metadata,minzoom:this.minzoom,maxzoom:this.maxzoom,filter:this.filter,layout:this._unevaluatedLayout&&this._unevaluatedLayout.serialize(),paint:this._transitionablePaint&&this._transitionablePaint.serialize()};return this.visibility&&(J.layout=J.layout||{},J.layout.visibility=this.visibility),A(J,function(he,Ae){return!(he===void 0||Ae==="layout"&&!Object.keys(he).length||Ae==="paint"&&!Object.keys(he).length)})},V.prototype._validate=function(J,he,Ae,Oe,Ge){return Ge===void 0&&(Ge={}),(!Ge||Ge.validate!==!1)&&vs(this,J.call(go,{key:he,layerType:this.type,objectKey:Ae,value:Oe,styleSpec:Re,style:{glyphs:!0,sprite:!0}}))},V.prototype.is3D=function(){return!1},V.prototype.isTileClipped=function(){return!1},V.prototype.hasOffscreenPass=function(){return!1},V.prototype.resize=function(){},V.prototype.isStateDependent=function(){for(var J in this.paint._values){var he=this.paint.get(J);if(he instanceof bo&&Iu(he.property.specification)&&(he.value.kind==="source"||he.value.kind==="composite")&&he.value.isStateDependent)return!0}return!1},V}(ft),ju={Int8:Int8Array,Uint8:Uint8Array,Int16:Int16Array,Uint16:Uint16Array,Int32:Int32Array,Uint32:Uint32Array,Float32:Float32Array},hl=function(P,V){this._structArray=P,this._pos1=V*this.size,this._pos2=this._pos1/2,this._pos4=this._pos1/4,this._pos8=this._pos1/8},Ji=function(){this.isTransferred=!1,this.capacity=-1,this.resize(0)};function la(P,V){V===void 0&&(V=1);var J=0,he=0;return{members:P.map(function(Ae){var Oe,Ge=(Oe=Ae.type,ju[Oe].BYTES_PER_ELEMENT),it=J=Xc(J,Math.max(V,Ge)),pt=Ae.components||1;return he=Math.max(he,Ge),J+=Ge*pt,{name:Ae.name,type:Ae.type,components:pt,offset:it}}),size:Xc(J,Math.max(he,V)),alignment:V}}function Xc(P,V){return Math.ceil(P/V)*V}Ji.serialize=function(P,V){return P._trim(),V&&(P.isTransferred=!0,V.push(P.arrayBuffer)),{length:P.length,arrayBuffer:P.arrayBuffer}},Ji.deserialize=function(P){var V=Object.create(this.prototype);return V.arrayBuffer=P.arrayBuffer,V.length=P.length,V.capacity=P.arrayBuffer.byteLength/V.bytesPerElement,V._refreshViews(),V},Ji.prototype._trim=function(){this.length!==this.capacity&&(this.capacity=this.length,this.arrayBuffer=this.arrayBuffer.slice(0,this.length*this.bytesPerElement),this._refreshViews())},Ji.prototype.clear=function(){this.length=0},Ji.prototype.resize=function(P){this.reserve(P),this.length=P},Ji.prototype.reserve=function(P){if(P>this.capacity){this.capacity=Math.max(P,Math.floor(5*this.capacity),128),this.arrayBuffer=new ArrayBuffer(this.capacity*this.bytesPerElement);var V=this.uint8;this._refreshViews(),V&&this.uint8.set(V)}},Ji.prototype._refreshViews=function(){throw new Error("_refreshViews() must be implemented by each concrete StructArray layout")};var et=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he){var Ae=this.length;return this.resize(Ae+1),this.emplace(Ae,J,he)},V.prototype.emplace=function(J,he,Ae){var Oe=2*J;return this.int16[Oe+0]=he,this.int16[Oe+1]=Ae,J},V}(Ji);et.prototype.bytesPerElement=4,Dr("StructArrayLayout2i4",et);var rt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe){var Ge=this.length;return this.resize(Ge+1),this.emplace(Ge,J,he,Ae,Oe)},V.prototype.emplace=function(J,he,Ae,Oe,Ge){var it=4*J;return this.int16[it+0]=he,this.int16[it+1]=Ae,this.int16[it+2]=Oe,this.int16[it+3]=Ge,J},V}(Ji);rt.prototype.bytesPerElement=8,Dr("StructArrayLayout4i8",rt);var ct=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it){var pt=this.length;return this.resize(pt+1),this.emplace(pt,J,he,Ae,Oe,Ge,it)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt){var Ct=6*J;return this.int16[Ct+0]=he,this.int16[Ct+1]=Ae,this.int16[Ct+2]=Oe,this.int16[Ct+3]=Ge,this.int16[Ct+4]=it,this.int16[Ct+5]=pt,J},V}(Ji);ct.prototype.bytesPerElement=12,Dr("StructArrayLayout2i4i12",ct);var vt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it){var pt=this.length;return this.resize(pt+1),this.emplace(pt,J,he,Ae,Oe,Ge,it)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt){var Ct=4*J,Dt=8*J;return this.int16[Ct+0]=he,this.int16[Ct+1]=Ae,this.uint8[Dt+4]=Oe,this.uint8[Dt+5]=Ge,this.uint8[Dt+6]=it,this.uint8[Dt+7]=pt,J},V}(Ji);vt.prototype.bytesPerElement=8,Dr("StructArrayLayout2i4ub8",vt);var St=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt){var Zt=this.length;return this.resize(Zt+1),this.emplace(Zt,J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt){var $t=9*J,fn=18*J;return this.uint16[$t+0]=he,this.uint16[$t+1]=Ae,this.uint16[$t+2]=Oe,this.uint16[$t+3]=Ge,this.uint16[$t+4]=it,this.uint16[$t+5]=pt,this.uint16[$t+6]=Ct,this.uint16[$t+7]=Dt,this.uint8[fn+16]=Gt,this.uint8[fn+17]=Zt,J},V}(Ji);St.prototype.bytesPerElement=18,Dr("StructArrayLayout8ui2ub18",St);var Mt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t){var fn=this.length;return this.resize(fn+1),this.emplace(fn,J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn){var Mn=12*J;return this.int16[Mn+0]=he,this.int16[Mn+1]=Ae,this.int16[Mn+2]=Oe,this.int16[Mn+3]=Ge,this.uint16[Mn+4]=it,this.uint16[Mn+5]=pt,this.uint16[Mn+6]=Ct,this.uint16[Mn+7]=Dt,this.int16[Mn+8]=Gt,this.int16[Mn+9]=Zt,this.int16[Mn+10]=$t,this.int16[Mn+11]=fn,J},V}(Ji);Mt.prototype.bytesPerElement=24,Dr("StructArrayLayout4i4ui4i24",Mt);var Y=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae){var Oe=this.length;return this.resize(Oe+1),this.emplace(Oe,J,he,Ae)},V.prototype.emplace=function(J,he,Ae,Oe){var Ge=3*J;return this.float32[Ge+0]=he,this.float32[Ge+1]=Ae,this.float32[Ge+2]=Oe,J},V}(Ji);Y.prototype.bytesPerElement=12,Dr("StructArrayLayout3f12",Y);var ee=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J){var he=this.length;return this.resize(he+1),this.emplace(he,J)},V.prototype.emplace=function(J,he){var Ae=1*J;return this.uint32[Ae+0]=he,J},V}(Ji);ee.prototype.bytesPerElement=4,Dr("StructArrayLayout1ul4",ee);var K=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt){var Gt=this.length;return this.resize(Gt+1),this.emplace(Gt,J,he,Ae,Oe,Ge,it,pt,Ct,Dt)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt){var Zt=10*J,$t=5*J;return this.int16[Zt+0]=he,this.int16[Zt+1]=Ae,this.int16[Zt+2]=Oe,this.int16[Zt+3]=Ge,this.int16[Zt+4]=it,this.int16[Zt+5]=pt,this.uint32[$t+3]=Ct,this.uint16[Zt+8]=Dt,this.uint16[Zt+9]=Gt,J},V}(Ji);K.prototype.bytesPerElement=20,Dr("StructArrayLayout6i1ul2ui20",K);var le=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it){var pt=this.length;return this.resize(pt+1),this.emplace(pt,J,he,Ae,Oe,Ge,it)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt){var Ct=6*J;return this.int16[Ct+0]=he,this.int16[Ct+1]=Ae,this.int16[Ct+2]=Oe,this.int16[Ct+3]=Ge,this.int16[Ct+4]=it,this.int16[Ct+5]=pt,J},V}(Ji);le.prototype.bytesPerElement=12,Dr("StructArrayLayout2i2i2i12",le);var Te=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge){var it=this.length;return this.resize(it+1),this.emplace(it,J,he,Ae,Oe,Ge)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it){var pt=4*J,Ct=8*J;return this.float32[pt+0]=he,this.float32[pt+1]=Ae,this.float32[pt+2]=Oe,this.int16[Ct+6]=Ge,this.int16[Ct+7]=it,J},V}(Ji);Te.prototype.bytesPerElement=16,Dr("StructArrayLayout2f1f2i16",Te);var De=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe){var Ge=this.length;return this.resize(Ge+1),this.emplace(Ge,J,he,Ae,Oe)},V.prototype.emplace=function(J,he,Ae,Oe,Ge){var it=12*J,pt=3*J;return this.uint8[it+0]=he,this.uint8[it+1]=Ae,this.float32[pt+1]=Oe,this.float32[pt+2]=Ge,J},V}(Ji);De.prototype.bytesPerElement=12,Dr("StructArrayLayout2ub2f12",De);var He=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae){var Oe=this.length;return this.resize(Oe+1),this.emplace(Oe,J,he,Ae)},V.prototype.emplace=function(J,he,Ae,Oe){var Ge=3*J;return this.uint16[Ge+0]=he,this.uint16[Ge+1]=Ae,this.uint16[Ge+2]=Oe,J},V}(Ji);He.prototype.bytesPerElement=6,Dr("StructArrayLayout3ui6",He);var Ze=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn,Mn,Nn,Bn,Wn){var Zn=this.length;return this.resize(Zn+1),this.emplace(Zn,J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn,Mn,Nn,Bn,Wn)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn,Mn,Nn,Bn,Wn,Zn){var er=24*J,sr=12*J,fr=48*J;return this.int16[er+0]=he,this.int16[er+1]=Ae,this.uint16[er+2]=Oe,this.uint16[er+3]=Ge,this.uint32[sr+2]=it,this.uint32[sr+3]=pt,this.uint32[sr+4]=Ct,this.uint16[er+10]=Dt,this.uint16[er+11]=Gt,this.uint16[er+12]=Zt,this.float32[sr+7]=$t,this.float32[sr+8]=fn,this.uint8[fr+36]=Mn,this.uint8[fr+37]=Nn,this.uint8[fr+38]=Bn,this.uint32[sr+10]=Wn,this.int16[er+22]=Zn,J},V}(Ji);Ze.prototype.bytesPerElement=48,Dr("StructArrayLayout2i2ui3ul3ui2f3ub1ul1i48",Ze);var at=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn,Mn,Nn,Bn,Wn,Zn,er,sr,fr,Pr,Tr,Nr,Xr,hi,Jr,ui){var ri=this.length;return this.resize(ri+1),this.emplace(ri,J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn,Mn,Nn,Bn,Wn,Zn,er,sr,fr,Pr,Tr,Nr,Xr,hi,Jr,ui)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn,Mn,Nn,Bn,Wn,Zn,er,sr,fr,Pr,Tr,Nr,Xr,hi,Jr,ui,ri){var Kr=34*J,Di=17*J;return this.int16[Kr+0]=he,this.int16[Kr+1]=Ae,this.int16[Kr+2]=Oe,this.int16[Kr+3]=Ge,this.int16[Kr+4]=it,this.int16[Kr+5]=pt,this.int16[Kr+6]=Ct,this.int16[Kr+7]=Dt,this.uint16[Kr+8]=Gt,this.uint16[Kr+9]=Zt,this.uint16[Kr+10]=$t,this.uint16[Kr+11]=fn,this.uint16[Kr+12]=Mn,this.uint16[Kr+13]=Nn,this.uint16[Kr+14]=Bn,this.uint16[Kr+15]=Wn,this.uint16[Kr+16]=Zn,this.uint16[Kr+17]=er,this.uint16[Kr+18]=sr,this.uint16[Kr+19]=fr,this.uint16[Kr+20]=Pr,this.uint16[Kr+21]=Tr,this.uint16[Kr+22]=Nr,this.uint32[Di+12]=Xr,this.float32[Di+13]=hi,this.float32[Di+14]=Jr,this.float32[Di+15]=ui,this.float32[Di+16]=ri,J},V}(Ji);at.prototype.bytesPerElement=68,Dr("StructArrayLayout8i15ui1ul4f68",at);var Tt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J){var he=this.length;return this.resize(he+1),this.emplace(he,J)},V.prototype.emplace=function(J,he){var Ae=1*J;return this.float32[Ae+0]=he,J},V}(Ji);Tt.prototype.bytesPerElement=4,Dr("StructArrayLayout1f4",Tt);var At=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae){var Oe=this.length;return this.resize(Oe+1),this.emplace(Oe,J,he,Ae)},V.prototype.emplace=function(J,he,Ae,Oe){var Ge=3*J;return this.int16[Ge+0]=he,this.int16[Ge+1]=Ae,this.int16[Ge+2]=Oe,J},V}(Ji);At.prototype.bytesPerElement=6,Dr("StructArrayLayout3i6",At);var se=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae){var Oe=this.length;return this.resize(Oe+1),this.emplace(Oe,J,he,Ae)},V.prototype.emplace=function(J,he,Ae,Oe){var Ge=2*J,it=4*J;return this.uint32[Ge+0]=he,this.uint16[it+2]=Ae,this.uint16[it+3]=Oe,J},V}(Ji);se.prototype.bytesPerElement=8,Dr("StructArrayLayout1ul2ui8",se);var ve=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he){var Ae=this.length;return this.resize(Ae+1),this.emplace(Ae,J,he)},V.prototype.emplace=function(J,he,Ae){var Oe=2*J;return this.uint16[Oe+0]=he,this.uint16[Oe+1]=Ae,J},V}(Ji);ve.prototype.bytesPerElement=4,Dr("StructArrayLayout2ui4",ve);var Ie=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J){var he=this.length;return this.resize(he+1),this.emplace(he,J)},V.prototype.emplace=function(J,he){var Ae=1*J;return this.uint16[Ae+0]=he,J},V}(Ji);Ie.prototype.bytesPerElement=2,Dr("StructArrayLayout1ui2",Ie);var Fe=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he){var Ae=this.length;return this.resize(Ae+1),this.emplace(Ae,J,he)},V.prototype.emplace=function(J,he,Ae){var Oe=2*J;return this.float32[Oe+0]=he,this.float32[Oe+1]=Ae,J},V}(Ji);Fe.prototype.bytesPerElement=8,Dr("StructArrayLayout2f8",Fe);var Ue=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe){var Ge=this.length;return this.resize(Ge+1),this.emplace(Ge,J,he,Ae,Oe)},V.prototype.emplace=function(J,he,Ae,Oe,Ge){var it=4*J;return this.float32[it+0]=he,this.float32[it+1]=Ae,this.float32[it+2]=Oe,this.float32[it+3]=Ge,J},V}(Ji);Ue.prototype.bytesPerElement=16,Dr("StructArrayLayout4f16",Ue);var We=function(P){function V(){P.apply(this,arguments)}P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V;var J={anchorPointX:{configurable:!0},anchorPointY:{configurable:!0},x1:{configurable:!0},y1:{configurable:!0},x2:{configurable:!0},y2:{configurable:!0},featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0},anchorPoint:{configurable:!0}};return J.anchorPointX.get=function(){return this._structArray.int16[this._pos2+0]},J.anchorPointY.get=function(){return this._structArray.int16[this._pos2+1]},J.x1.get=function(){return this._structArray.int16[this._pos2+2]},J.y1.get=function(){return this._structArray.int16[this._pos2+3]},J.x2.get=function(){return this._structArray.int16[this._pos2+4]},J.y2.get=function(){return this._structArray.int16[this._pos2+5]},J.featureIndex.get=function(){return this._structArray.uint32[this._pos4+3]},J.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+8]},J.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+9]},J.anchorPoint.get=function(){return new a(this.anchorPointX,this.anchorPointY)},Object.defineProperties(V.prototype,J),V}(hl);We.prototype.size=20;var Xe=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new We(this,J)},V}(K);Dr("CollisionBoxArray",Xe);var tt=function(P){function V(){P.apply(this,arguments)}P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V;var J={anchorX:{configurable:!0},anchorY:{configurable:!0},glyphStartIndex:{configurable:!0},numGlyphs:{configurable:!0},vertexStartIndex:{configurable:!0},lineStartIndex:{configurable:!0},lineLength:{configurable:!0},segment:{configurable:!0},lowerSize:{configurable:!0},upperSize:{configurable:!0},lineOffsetX:{configurable:!0},lineOffsetY:{configurable:!0},writingMode:{configurable:!0},placedOrientation:{configurable:!0},hidden:{configurable:!0},crossTileID:{configurable:!0},associatedIconIndex:{configurable:!0}};return J.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},J.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},J.glyphStartIndex.get=function(){return this._structArray.uint16[this._pos2+2]},J.numGlyphs.get=function(){return this._structArray.uint16[this._pos2+3]},J.vertexStartIndex.get=function(){return this._structArray.uint32[this._pos4+2]},J.lineStartIndex.get=function(){return this._structArray.uint32[this._pos4+3]},J.lineLength.get=function(){return this._structArray.uint32[this._pos4+4]},J.segment.get=function(){return this._structArray.uint16[this._pos2+10]},J.lowerSize.get=function(){return this._structArray.uint16[this._pos2+11]},J.upperSize.get=function(){return this._structArray.uint16[this._pos2+12]},J.lineOffsetX.get=function(){return this._structArray.float32[this._pos4+7]},J.lineOffsetY.get=function(){return this._structArray.float32[this._pos4+8]},J.writingMode.get=function(){return this._structArray.uint8[this._pos1+36]},J.placedOrientation.get=function(){return this._structArray.uint8[this._pos1+37]},J.placedOrientation.set=function(he){this._structArray.uint8[this._pos1+37]=he},J.hidden.get=function(){return this._structArray.uint8[this._pos1+38]},J.hidden.set=function(he){this._structArray.uint8[this._pos1+38]=he},J.crossTileID.get=function(){return this._structArray.uint32[this._pos4+10]},J.crossTileID.set=function(he){this._structArray.uint32[this._pos4+10]=he},J.associatedIconIndex.get=function(){return this._structArray.int16[this._pos2+22]},Object.defineProperties(V.prototype,J),V}(hl);tt.prototype.size=48;var lt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new tt(this,J)},V}(Ze);Dr("PlacedSymbolArray",lt);var mt=function(P){function V(){P.apply(this,arguments)}P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V;var J={anchorX:{configurable:!0},anchorY:{configurable:!0},rightJustifiedTextSymbolIndex:{configurable:!0},centerJustifiedTextSymbolIndex:{configurable:!0},leftJustifiedTextSymbolIndex:{configurable:!0},verticalPlacedTextSymbolIndex:{configurable:!0},placedIconSymbolIndex:{configurable:!0},verticalPlacedIconSymbolIndex:{configurable:!0},key:{configurable:!0},textBoxStartIndex:{configurable:!0},textBoxEndIndex:{configurable:!0},verticalTextBoxStartIndex:{configurable:!0},verticalTextBoxEndIndex:{configurable:!0},iconBoxStartIndex:{configurable:!0},iconBoxEndIndex:{configurable:!0},verticalIconBoxStartIndex:{configurable:!0},verticalIconBoxEndIndex:{configurable:!0},featureIndex:{configurable:!0},numHorizontalGlyphVertices:{configurable:!0},numVerticalGlyphVertices:{configurable:!0},numIconVertices:{configurable:!0},numVerticalIconVertices:{configurable:!0},useRuntimeCollisionCircles:{configurable:!0},crossTileID:{configurable:!0},textBoxScale:{configurable:!0},textOffset0:{configurable:!0},textOffset1:{configurable:!0},collisionCircleDiameter:{configurable:!0}};return J.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},J.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},J.rightJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+2]},J.centerJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+3]},J.leftJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+4]},J.verticalPlacedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+5]},J.placedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+6]},J.verticalPlacedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+7]},J.key.get=function(){return this._structArray.uint16[this._pos2+8]},J.textBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+9]},J.textBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+10]},J.verticalTextBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+11]},J.verticalTextBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+12]},J.iconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+13]},J.iconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+14]},J.verticalIconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+15]},J.verticalIconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+16]},J.featureIndex.get=function(){return this._structArray.uint16[this._pos2+17]},J.numHorizontalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+18]},J.numVerticalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+19]},J.numIconVertices.get=function(){return this._structArray.uint16[this._pos2+20]},J.numVerticalIconVertices.get=function(){return this._structArray.uint16[this._pos2+21]},J.useRuntimeCollisionCircles.get=function(){return this._structArray.uint16[this._pos2+22]},J.crossTileID.get=function(){return this._structArray.uint32[this._pos4+12]},J.crossTileID.set=function(he){this._structArray.uint32[this._pos4+12]=he},J.textBoxScale.get=function(){return this._structArray.float32[this._pos4+13]},J.textOffset0.get=function(){return this._structArray.float32[this._pos4+14]},J.textOffset1.get=function(){return this._structArray.float32[this._pos4+15]},J.collisionCircleDiameter.get=function(){return this._structArray.float32[this._pos4+16]},Object.defineProperties(V.prototype,J),V}(hl);mt.prototype.size=68;var zt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new mt(this,J)},V}(at);Dr("SymbolInstanceArray",zt);var Ut=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.getoffsetX=function(J){return this.float32[1*J+0]},V}(Tt);Dr("GlyphOffsetArray",Ut);var Ht=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.getx=function(J){return this.int16[3*J+0]},V.prototype.gety=function(J){return this.int16[3*J+1]},V.prototype.gettileUnitDistanceFromAnchor=function(J){return this.int16[3*J+2]},V}(At);Dr("SymbolLineVertexArray",Ht);var en=function(P){function V(){P.apply(this,arguments)}P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V;var J={featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0}};return J.featureIndex.get=function(){return this._structArray.uint32[this._pos4+0]},J.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+2]},J.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+3]},Object.defineProperties(V.prototype,J),V}(hl);en.prototype.size=8;var vn=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new en(this,J)},V}(se);Dr("FeatureIndexArray",vn);var tn=la([{name:"a_pos",components:2,type:"Int16"}],4).members,ln=function(P){P===void 0&&(P=[]),this.segments=P};function an(P,V){return 256*(P=c(Math.floor(P),0,255))+c(Math.floor(V),0,255)}ln.prototype.prepareSegment=function(P,V,J,he){var Ae=this.segments[this.segments.length-1];return P>ln.MAX_VERTEX_ARRAY_LENGTH&&R("Max vertices per segment is "+ln.MAX_VERTEX_ARRAY_LENGTH+": bucket requested "+P),(!Ae||Ae.vertexLength+P>ln.MAX_VERTEX_ARRAY_LENGTH||Ae.sortKey!==he)&&(Ae={vertexOffset:V.length,primitiveOffset:J.length,vertexLength:0,primitiveLength:0},he!==void 0&&(Ae.sortKey=he),this.segments.push(Ae)),Ae},ln.prototype.get=function(){return this.segments},ln.prototype.destroy=function(){for(var P=0,V=this.segments;P>>16)*it&65535)<<16)&4294967295)<<15|Ct>>>17))*pt+(((Ct>>>16)*pt&65535)<<16)&4294967295)<<13|Oe>>>19))+((5*(Oe>>>16)&65535)<<16)&4294967295))+((58964+(Ge>>>16)&65535)<<16);switch(Ct=0,he){case 3:Ct^=(255&V.charCodeAt(Dt+2))<<16;case 2:Ct^=(255&V.charCodeAt(Dt+1))<<8;case 1:Oe^=Ct=(65535&(Ct=(Ct=(65535&(Ct^=255&V.charCodeAt(Dt)))*it+(((Ct>>>16)*it&65535)<<16)&4294967295)<<15|Ct>>>17))*pt+(((Ct>>>16)*pt&65535)<<16)&4294967295}return Oe^=V.length,Oe=2246822507*(65535&(Oe^=Oe>>>16))+((2246822507*(Oe>>>16)&65535)<<16)&4294967295,Oe=3266489909*(65535&(Oe^=Oe>>>13))+((3266489909*(Oe>>>16)&65535)<<16)&4294967295,(Oe^=Oe>>>16)>>>0}}),on=M(function(P){P.exports=function(V,J){for(var he,Ae=V.length,Oe=J^Ae,Ge=0;Ae>=4;)he=1540483477*(65535&(he=255&V.charCodeAt(Ge)|(255&V.charCodeAt(++Ge))<<8|(255&V.charCodeAt(++Ge))<<16|(255&V.charCodeAt(++Ge))<<24))+((1540483477*(he>>>16)&65535)<<16),Oe=1540483477*(65535&Oe)+((1540483477*(Oe>>>16)&65535)<<16)^(he=1540483477*(65535&(he^=he>>>24))+((1540483477*(he>>>16)&65535)<<16)),Ae-=4,++Ge;switch(Ae){case 3:Oe^=(255&V.charCodeAt(Ge+2))<<16;case 2:Oe^=(255&V.charCodeAt(Ge+1))<<8;case 1:Oe=1540483477*(65535&(Oe^=255&V.charCodeAt(Ge)))+((1540483477*(Oe>>>16)&65535)<<16)}return Oe=1540483477*(65535&(Oe^=Oe>>>13))+((1540483477*(Oe>>>16)&65535)<<16),(Oe^=Oe>>>15)>>>0}}),Fn=_n,Hn=_n,ir=on;Fn.murmur3=Hn,Fn.murmur2=ir;var ar=function(){this.ids=[],this.positions=[],this.indexed=!1};ar.prototype.add=function(P,V,J,he){this.ids.push(Er(P)),this.positions.push(V,J,he)},ar.prototype.getPositions=function(P){for(var V=Er(P),J=0,he=this.ids.length-1;J>1;this.ids[Ae]>=V?he=Ae:J=Ae+1}for(var Oe=[];this.ids[J]===V;){var Ge=this.positions[3*J],it=this.positions[3*J+1],pt=this.positions[3*J+2];Oe.push({index:Ge,start:it,end:pt}),J++}return Oe},ar.serialize=function(P,V){var J=new Float64Array(P.ids),he=new Uint32Array(P.positions);return xr(J,he,0,J.length-1),V&&V.push(J.buffer,he.buffer),{ids:J,positions:he}},ar.deserialize=function(P){var V=new ar;return V.ids=P.ids,V.positions=P.positions,V.indexed=!0,V};var Mr=Math.pow(2,53)-1;function Er(P){var V=+P;return!isNaN(V)&&V<=Mr?V:Fn(String(P))}function xr(P,V,J,he){for(;J>1],Oe=J-1,Ge=he+1;;){do Oe++;while(P[Oe]Ae);if(Oe>=Ge)break;kr(P,Oe,Ge),kr(V,3*Oe,3*Ge),kr(V,3*Oe+1,3*Ge+1),kr(V,3*Oe+2,3*Ge+2)}Ge-J_o.max||Ge.y<_o.min||Ge.y>_o.max)&&(R("Geometry exceeds allowed extent, reduce your vector tile buffer size"),Ge.x=c(Ge.x,_o.min,_o.max),Ge.y=c(Ge.y,_o.min,_o.max))}return J}function Ps(P,V,J,he,Ae){P.emplaceBack(2*V+(he+1)/2,2*J+(Ae+1)/2)}var Ri=function(P){this.zoom=P.zoom,this.overscaling=P.overscaling,this.layers=P.layers,this.layerIds=this.layers.map(function(V){return V.id}),this.index=P.index,this.hasPattern=!1,this.layoutVertexArray=new et,this.indexArray=new He,this.segments=new ln,this.programConfigurations=new Ia(tn,P.layers,P.zoom),this.stateDependentLayerIds=this.layers.filter(function(V){return V.isStateDependent()}).map(function(V){return V.id})};function Xa(P,V){for(var J=0;J1){if(L0(P,V))return!0;for(var he=0;he1?P.distSqr(J):P.distSqr(J.sub(V)._mult(Ae)._add(V))}function od(P,V){for(var J,he,Ae,Oe=!1,Ge=0;GeV.y!=Ae.y>V.y&&V.x<(Ae.x-he.x)*(V.y-he.y)/(Ae.y-he.y)+he.x&&(Oe=!Oe);return Oe}function wf(P,V){for(var J=!1,he=0,Ae=P.length-1;heV.y!=Ge.y>V.y&&V.x<(Ge.x-Oe.x)*(V.y-Oe.y)/(Ge.y-Oe.y)+Oe.x&&(J=!J)}return J}function p1(P,V,J){var he=J[0],Ae=J[2];if(P.xAe.x&&V.x>Ae.x||P.yAe.y&&V.y>Ae.y)return!1;var Oe=I(P,V,J[0]);return Oe!==I(P,V,J[1])||Oe!==I(P,V,J[2])||Oe!==I(P,V,J[3])}function zh(P,V,J){var he=V.paint.get(P).value;return he.kind==="constant"?he.value:J.programConfigurations.get(V.id).getMaxValue(P)}function dg(P){return Math.sqrt(P[0]*P[0]+P[1]*P[1])}function pg(P,V,J,he,Ae){if(!V[0]&&!V[1])return P;var Oe=a.convert(V)._mult(Ae);J==="viewport"&&Oe._rotate(-he);for(var Ge=[],it=0;it=li||Dt<0||Dt>=li)){var Gt=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray,P.sortKey),Zt=Gt.vertexLength;Ps(this.layoutVertexArray,Ct,Dt,-1,-1),Ps(this.layoutVertexArray,Ct,Dt,1,-1),Ps(this.layoutVertexArray,Ct,Dt,1,1),Ps(this.layoutVertexArray,Ct,Dt,-1,1),this.indexArray.emplaceBack(Zt,Zt+1,Zt+2),this.indexArray.emplaceBack(Zt,Zt+3,Zt+2),Gt.vertexLength+=4,Gt.primitiveLength+=2}}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,P,J,{},he)},Dr("CircleBucket",Ri,{omit:["layers"]});var TS=new xo({"circle-sort-key":new ni(Re.layout_circle["circle-sort-key"])}),kS={paint:new xo({"circle-radius":new ni(Re.paint_circle["circle-radius"]),"circle-color":new ni(Re.paint_circle["circle-color"]),"circle-blur":new ni(Re.paint_circle["circle-blur"]),"circle-opacity":new ni(Re.paint_circle["circle-opacity"]),"circle-translate":new Hr(Re.paint_circle["circle-translate"]),"circle-translate-anchor":new Hr(Re.paint_circle["circle-translate-anchor"]),"circle-pitch-scale":new Hr(Re.paint_circle["circle-pitch-scale"]),"circle-pitch-alignment":new Hr(Re.paint_circle["circle-pitch-alignment"]),"circle-stroke-width":new ni(Re.paint_circle["circle-stroke-width"]),"circle-stroke-color":new ni(Re.paint_circle["circle-stroke-color"]),"circle-stroke-opacity":new ni(Re.paint_circle["circle-stroke-opacity"])}),layout:TS},zl=typeof Float32Array<"u"?Float32Array:Array;function m1(P){return P[0]=1,P[1]=0,P[2]=0,P[3]=0,P[4]=0,P[5]=1,P[6]=0,P[7]=0,P[8]=0,P[9]=0,P[10]=1,P[11]=0,P[12]=0,P[13]=0,P[14]=0,P[15]=1,P}function L_(P,V,J){var he=V[0],Ae=V[1],Oe=V[2],Ge=V[3],it=V[4],pt=V[5],Ct=V[6],Dt=V[7],Gt=V[8],Zt=V[9],$t=V[10],fn=V[11],Mn=V[12],Nn=V[13],Bn=V[14],Wn=V[15],Zn=J[0],er=J[1],sr=J[2],fr=J[3];return P[0]=Zn*he+er*it+sr*Gt+fr*Mn,P[1]=Zn*Ae+er*pt+sr*Zt+fr*Nn,P[2]=Zn*Oe+er*Ct+sr*$t+fr*Bn,P[3]=Zn*Ge+er*Dt+sr*fn+fr*Wn,Zn=J[4],er=J[5],sr=J[6],fr=J[7],P[4]=Zn*he+er*it+sr*Gt+fr*Mn,P[5]=Zn*Ae+er*pt+sr*Zt+fr*Nn,P[6]=Zn*Oe+er*Ct+sr*$t+fr*Bn,P[7]=Zn*Ge+er*Dt+sr*fn+fr*Wn,Zn=J[8],er=J[9],sr=J[10],fr=J[11],P[8]=Zn*he+er*it+sr*Gt+fr*Mn,P[9]=Zn*Ae+er*pt+sr*Zt+fr*Nn,P[10]=Zn*Oe+er*Ct+sr*$t+fr*Bn,P[11]=Zn*Ge+er*Dt+sr*fn+fr*Wn,Zn=J[12],er=J[13],sr=J[14],fr=J[15],P[12]=Zn*he+er*it+sr*Gt+fr*Mn,P[13]=Zn*Ae+er*pt+sr*Zt+fr*Nn,P[14]=Zn*Oe+er*Ct+sr*$t+fr*Bn,P[15]=Zn*Ge+er*Dt+sr*fn+fr*Wn,P}Math.hypot||(Math.hypot=function(){for(var P=arguments,V=0,J=arguments.length;J--;)V+=P[J]*P[J];return Math.sqrt(V)});var MS=L_,mg,AS=function(P,V,J){return P[0]=V[0]-J[0],P[1]=V[1]-J[1],P[2]=V[2]-J[2],P};function gg(P,V,J){var he=V[0],Ae=V[1],Oe=V[2],Ge=V[3];return P[0]=J[0]*he+J[4]*Ae+J[8]*Oe+J[12]*Ge,P[1]=J[1]*he+J[5]*Ae+J[9]*Oe+J[13]*Ge,P[2]=J[2]*he+J[6]*Ae+J[10]*Oe+J[14]*Ge,P[3]=J[3]*he+J[7]*Ae+J[11]*Oe+J[15]*Ge,P}mg=new zl(3),zl!=Float32Array&&(mg[0]=0,mg[1]=0,mg[2]=0),function(){var P=new zl(4);zl!=Float32Array&&(P[0]=0,P[1]=0,P[2]=0,P[3]=0)}();var SS=function(P){var V=P[0],J=P[1];return V*V+J*J},CS=(function(){var P=new zl(2);zl!=Float32Array&&(P[0]=0,P[1]=0)}(),function(P){function V(J){P.call(this,J,kS)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.createBucket=function(J){return new Ri(J)},V.prototype.queryRadius=function(J){var he=J;return zh("circle-radius",this,he)+zh("circle-stroke-width",this,he)+dg(this.paint.get("circle-translate"))},V.prototype.queryIntersectsFeature=function(J,he,Ae,Oe,Ge,it,pt,Ct){for(var Dt=pg(J,this.paint.get("circle-translate"),this.paint.get("circle-translate-anchor"),it.angle,pt),Gt=this.paint.get("circle-radius").evaluate(he,Ae)+this.paint.get("circle-stroke-width").evaluate(he,Ae),Zt=this.paint.get("circle-pitch-alignment")==="map",$t=Zt?Dt:function(Pr,Tr){return Pr.map(function(Nr){return I_(Nr,Tr)})}(Dt,Ct),fn=Zt?Gt*pt:Gt,Mn=0,Nn=Oe;MnP.width||Ae.height>P.height||J.x>P.width-Ae.width||J.y>P.height-Ae.height)throw new RangeError("out of range source coordinates for image copy");if(Ae.width>V.width||Ae.height>V.height||he.x>V.width-Ae.width||he.y>V.height-Ae.height)throw new RangeError("out of range destination coordinates for image copy");for(var Ge=P.data,it=V.data,pt=0;pt80*J){he=Oe=P[0],Ae=Ge=P[1];for(var fn=J;fnOe&&(Oe=it),pt>Ge&&(Ge=pt);Ct=(Ct=Math.max(Oe-he,Ge-Ae))!==0?1/Ct:0}return I0(Zt,$t,J,he,Ae,Ct),$t}function z_(P,V,J,he,Ae){var Oe,Ge;if(Ae===_1(P,V,J,he)>0)for(Oe=V;Oe=V;Oe-=he)Ge=N_(Oe,P[Oe],P[Oe+1],Ge);return Ge&&yg(Ge,Ge.next)&&(P0(Ge),Ge=Ge.next),Ge}function Tf(P,V){if(!P)return P;V||(V=P);var J,he=P;do if(J=!1,he.steiner||!yg(he,he.next)&&wo(he.prev,he,he.next)!==0)he=he.next;else{if(P0(he),(he=V=he.prev)===he.next)break;J=!0}while(J||he!==V);return V}function I0(P,V,J,he,Ae,Oe,Ge){if(P){!Ge&&Oe&&function(Dt,Gt,Zt,$t){var fn=Dt;do fn.z===null&&(fn.z=b1(fn.x,fn.y,Gt,Zt,$t)),fn.prevZ=fn.prev,fn.nextZ=fn.next,fn=fn.next;while(fn!==Dt);fn.prevZ.nextZ=null,fn.prevZ=null,function(Mn){var Nn,Bn,Wn,Zn,er,sr,fr,Pr,Tr=1;do{for(Bn=Mn,Mn=null,er=null,sr=0;Bn;){for(sr++,Wn=Bn,fr=0,Nn=0;Nn0||Pr>0&&Wn;)fr!==0&&(Pr===0||!Wn||Bn.z<=Wn.z)?(Zn=Bn,Bn=Bn.nextZ,fr--):(Zn=Wn,Wn=Wn.nextZ,Pr--),er?er.nextZ=Zn:Mn=Zn,Zn.prevZ=er,er=Zn;Bn=Wn}er.nextZ=null,Tr*=2}while(sr>1)}(fn)}(P,he,Ae,Oe);for(var it,pt,Ct=P;P.prev!==P.next;)if(it=P.prev,pt=P.next,Oe?DS(P,he,Ae,Oe):OS(P))V.push(it.i/J),V.push(P.i/J),V.push(pt.i/J),P0(P),P=pt.next,Ct=pt.next;else if((P=pt)===Ct){Ge?Ge===1?I0(P=zS(Tf(P),V,J),V,J,he,Ae,Oe,2):Ge===2&&FS(P,V,J,he,Ae,Oe):I0(Tf(P),V,J,he,Ae,Oe,1);break}}}function OS(P){var V=P.prev,J=P,he=P.next;if(wo(V,J,he)>=0)return!1;for(var Ae=P.next.next;Ae!==P.prev;){if(ap(V.x,V.y,J.x,J.y,he.x,he.y,Ae.x,Ae.y)&&wo(Ae.prev,Ae,Ae.next)>=0)return!1;Ae=Ae.next}return!0}function DS(P,V,J,he){var Ae=P.prev,Oe=P,Ge=P.next;if(wo(Ae,Oe,Ge)>=0)return!1;for(var it=Ae.xOe.x?Ae.x>Ge.x?Ae.x:Ge.x:Oe.x>Ge.x?Oe.x:Ge.x,Dt=Ae.y>Oe.y?Ae.y>Ge.y?Ae.y:Ge.y:Oe.y>Ge.y?Oe.y:Ge.y,Gt=b1(it,pt,V,J,he),Zt=b1(Ct,Dt,V,J,he),$t=P.prevZ,fn=P.nextZ;$t&&$t.z>=Gt&&fn&&fn.z<=Zt;){if($t!==P.prev&&$t!==P.next&&ap(Ae.x,Ae.y,Oe.x,Oe.y,Ge.x,Ge.y,$t.x,$t.y)&&wo($t.prev,$t,$t.next)>=0||($t=$t.prevZ,fn!==P.prev&&fn!==P.next&&ap(Ae.x,Ae.y,Oe.x,Oe.y,Ge.x,Ge.y,fn.x,fn.y)&&wo(fn.prev,fn,fn.next)>=0))return!1;fn=fn.nextZ}for(;$t&&$t.z>=Gt;){if($t!==P.prev&&$t!==P.next&&ap(Ae.x,Ae.y,Oe.x,Oe.y,Ge.x,Ge.y,$t.x,$t.y)&&wo($t.prev,$t,$t.next)>=0)return!1;$t=$t.prevZ}for(;fn&&fn.z<=Zt;){if(fn!==P.prev&&fn!==P.next&&ap(Ae.x,Ae.y,Oe.x,Oe.y,Ge.x,Ge.y,fn.x,fn.y)&&wo(fn.prev,fn,fn.next)>=0)return!1;fn=fn.nextZ}return!0}function zS(P,V,J){var he=P;do{var Ae=he.prev,Oe=he.next.next;!yg(Ae,Oe)&&F_(Ae,he,he.next,Oe)&&R0(Ae,Oe)&&R0(Oe,Ae)&&(V.push(Ae.i/J),V.push(he.i/J),V.push(Oe.i/J),P0(he),P0(he.next),he=P=Oe),he=he.next}while(he!==P);return Tf(he)}function FS(P,V,J,he,Ae,Oe){var Ge=P;do{for(var it=Ge.next.next;it!==Ge.prev;){if(Ge.i!==it.i&&US(Ge,it)){var pt=B_(Ge,it);return Ge=Tf(Ge,Ge.next),pt=Tf(pt,pt.next),I0(Ge,V,J,he,Ae,Oe),void I0(pt,V,J,he,Ae,Oe)}it=it.next}Ge=Ge.next}while(Ge!==P)}function BS(P,V){return P.x-V.x}function NS(P,V){if(V=function(he,Ae){var Oe,Ge=Ae,it=he.x,pt=he.y,Ct=-1/0;do{if(pt<=Ge.y&&pt>=Ge.next.y&&Ge.next.y!==Ge.y){var Dt=Ge.x+(pt-Ge.y)*(Ge.next.x-Ge.x)/(Ge.next.y-Ge.y);if(Dt<=it&&Dt>Ct){if(Ct=Dt,Dt===it){if(pt===Ge.y)return Ge;if(pt===Ge.next.y)return Ge.next}Oe=Ge.x=Ge.x&&Ge.x>=$t&&it!==Ge.x&&ap(ptOe.x||Ge.x===Oe.x&&VS(Oe,Ge)))&&(Oe=Ge,Mn=Gt)),Ge=Ge.next;while(Ge!==Zt);return Oe}(P,V)){var J=B_(V,P);Tf(V,V.next),Tf(J,J.next)}}function VS(P,V){return wo(P.prev,P,V.prev)<0&&wo(V.next,P,P.next)<0}function b1(P,V,J,he,Ae){return(P=1431655765&((P=858993459&((P=252645135&((P=16711935&((P=32767*(P-J)*Ae)|P<<8))|P<<4))|P<<2))|P<<1))|(V=1431655765&((V=858993459&((V=252645135&((V=16711935&((V=32767*(V-he)*Ae)|V<<8))|V<<4))|V<<2))|V<<1))<<1}function jS(P){var V=P,J=P;do(V.x=0&&(P-Ge)*(he-it)-(J-Ge)*(V-it)>=0&&(J-Ge)*(Oe-it)-(Ae-Ge)*(he-it)>=0}function US(P,V){return P.next.i!==V.i&&P.prev.i!==V.i&&!function(J,he){var Ae=J;do{if(Ae.i!==J.i&&Ae.next.i!==J.i&&Ae.i!==he.i&&Ae.next.i!==he.i&&F_(Ae,Ae.next,J,he))return!0;Ae=Ae.next}while(Ae!==J);return!1}(P,V)&&(R0(P,V)&&R0(V,P)&&function(J,he){var Ae=J,Oe=!1,Ge=(J.x+he.x)/2,it=(J.y+he.y)/2;do Ae.y>it!=Ae.next.y>it&&Ae.next.y!==Ae.y&&Ge<(Ae.next.x-Ae.x)*(it-Ae.y)/(Ae.next.y-Ae.y)+Ae.x&&(Oe=!Oe),Ae=Ae.next;while(Ae!==J);return Oe}(P,V)&&(wo(P.prev,P,V.prev)||wo(P,V.prev,V))||yg(P,V)&&wo(P.prev,P,P.next)>0&&wo(V.prev,V,V.next)>0)}function wo(P,V,J){return(V.y-P.y)*(J.x-V.x)-(V.x-P.x)*(J.y-V.y)}function yg(P,V){return P.x===V.x&&P.y===V.y}function F_(P,V,J,he){var Ae=xg(wo(P,V,J)),Oe=xg(wo(P,V,he)),Ge=xg(wo(J,he,P)),it=xg(wo(J,he,V));return Ae!==Oe&&Ge!==it||!(Ae!==0||!bg(P,J,V))||!(Oe!==0||!bg(P,he,V))||!(Ge!==0||!bg(J,P,he))||!(it!==0||!bg(J,V,he))}function bg(P,V,J){return V.x<=Math.max(P.x,J.x)&&V.x>=Math.min(P.x,J.x)&&V.y<=Math.max(P.y,J.y)&&V.y>=Math.min(P.y,J.y)}function xg(P){return P>0?1:P<0?-1:0}function R0(P,V){return wo(P.prev,P,P.next)<0?wo(P,V,P.next)>=0&&wo(P,P.prev,V)>=0:wo(P,V,P.prev)<0||wo(P,P.next,V)<0}function B_(P,V){var J=new x1(P.i,P.x,P.y),he=new x1(V.i,V.x,V.y),Ae=P.next,Oe=V.prev;return P.next=V,V.prev=P,J.next=Ae,Ae.prev=J,he.next=J,J.prev=he,Oe.next=he,he.prev=Oe,he}function N_(P,V,J,he){var Ae=new x1(P,V,J);return he?(Ae.next=he.next,Ae.prev=he,he.next.prev=Ae,he.next=Ae):(Ae.prev=Ae,Ae.next=Ae),Ae}function P0(P){P.next.prev=P.prev,P.prev.next=P.next,P.prevZ&&(P.prevZ.nextZ=P.nextZ),P.nextZ&&(P.nextZ.prevZ=P.prevZ)}function x1(P,V,J){this.i=P,this.x=V,this.y=J,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function _1(P,V,J,he){for(var Ae=0,Oe=V,Ge=J-he;OeJ;){if(he-J>600){var Oe=he-J+1,Ge=V-J+1,it=Math.log(Oe),pt=.5*Math.exp(2*it/3),Ct=.5*Math.sqrt(it*pt*(Oe-pt)/Oe)*(Ge-Oe/2<0?-1:1);V_(P,V,Math.max(J,Math.floor(V-Ge*pt/Oe+Ct)),Math.min(he,Math.floor(V+(Oe-Ge)*pt/Oe+Ct)),Ae)}var Dt=P[V],Gt=J,Zt=he;for(O0(P,J,V),Ae(P[he],Dt)>0&&O0(P,J,he);Gt0;)Zt--}Ae(P[J],Dt)===0?O0(P,J,Zt):O0(P,++Zt,he),Zt<=V&&(J=Zt+1),V<=Zt&&(he=Zt-1)}}function O0(P,V,J){var he=P[V];P[V]=P[J],P[J]=he}function GS(P,V){return PV?1:0}function w1(P,V){var J=P.length;if(J<=1)return[P];for(var he,Ae,Oe=[],Ge=0;Ge1)for(var pt=0;pt0&&(he+=P[Ae-1].length,J.holes.push(he))}return J},y1.default=PS;var kc=function(P){this.zoom=P.zoom,this.overscaling=P.overscaling,this.layers=P.layers,this.layerIds=this.layers.map(function(V){return V.id}),this.index=P.index,this.hasPattern=!1,this.patternFeatures=[],this.layoutVertexArray=new et,this.indexArray=new He,this.indexArray2=new ve,this.programConfigurations=new Ia(D_,P.layers,P.zoom),this.segments=new ln,this.segments2=new ln,this.stateDependentLayerIds=this.layers.filter(function(V){return V.isStateDependent()}).map(function(V){return V.id})};kc.prototype.populate=function(P,V,J){this.hasPattern=T1("fill",this.layers,V);for(var he=this.layers[0].layout.get("fill-sort-key"),Ae=[],Oe=0,Ge=P;Oe>3}if(Ae--,he===1||he===2)Oe+=P.readSVarint(),Ge+=P.readSVarint(),he===1&&(V&&it.push(V),V=[]),V.push(new a(Oe,Ge));else{if(he!==7)throw new Error("unknown command "+he);V&&V.push(V[0].clone())}}return V&&it.push(V),it},op.prototype.bbox=function(){var P=this._pbf;P.pos=this._geometry;for(var V=P.readVarint()+P.pos,J=1,he=0,Ae=0,Oe=0,Ge=1/0,it=-1/0,pt=1/0,Ct=-1/0;P.pos>3}if(he--,J===1||J===2)(Ae+=P.readSVarint())it&&(it=Ae),(Oe+=P.readSVarint())Ct&&(Ct=Oe);else if(J!==7)throw new Error("unknown command "+J)}return[Ge,pt,it,Ct]},op.prototype.toGeoJSON=function(P,V,J){var he,Ae,Oe=this.extent*Math.pow(2,J),Ge=this.extent*P,it=this.extent*V,pt=this.loadGeometry(),Ct=op.types[this.type];function Dt($t){for(var fn=0;fn<$t.length;fn++){var Mn=$t[fn],Nn=180-360*(Mn.y+it)/Oe;$t[fn]=[360*(Mn.x+Ge)/Oe-180,360/Math.PI*Math.atan(Math.exp(Nn*Math.PI/180))-90]}}switch(this.type){case 1:var Gt=[];for(he=0;he>3;Ae=Ge===1?he.readString():Ge===2?he.readFloat():Ge===3?he.readDouble():Ge===4?he.readVarint64():Ge===5?he.readVarint():Ge===6?he.readSVarint():Ge===7?he.readBoolean():null}return Ae}(J))}function JS(P,V,J){if(P===3){var he=new H_(J,J.readVarint()+J.pos);he.length&&(V[he.name]=he)}}G_.prototype.feature=function(P){if(P<0||P>=this._features.length)throw new Error("feature index out of bounds");this._pbf.pos=this._features[P];var V=this._pbf.readVarint()+this._pbf.pos;return new U_(this._pbf,V,this.extent,this._keys,this._values)};var sp={VectorTile:function(P,V){this.layers=P.readFields(JS,{},V)},VectorTileFeature:U_,VectorTileLayer:H_},QS=sp.VectorTileFeature.types,M1=Math.pow(2,13);function D0(P,V,J,he,Ae,Oe,Ge,it){P.emplaceBack(V,J,2*Math.floor(he*M1)+Ge,Ae*M1*2,Oe*M1*2,Math.round(it))}var Mc=function(P){this.zoom=P.zoom,this.overscaling=P.overscaling,this.layers=P.layers,this.layerIds=this.layers.map(function(V){return V.id}),this.index=P.index,this.hasPattern=!1,this.layoutVertexArray=new ct,this.indexArray=new He,this.programConfigurations=new Ia(j_,P.layers,P.zoom),this.segments=new ln,this.stateDependentLayerIds=this.layers.filter(function(V){return V.isStateDependent()}).map(function(V){return V.id})};function eC(P,V){return P.x===V.x&&(P.x<0||P.x>li)||P.y===V.y&&(P.y<0||P.y>li)}Mc.prototype.populate=function(P,V,J){this.features=[],this.hasPattern=T1("fill-extrusion",this.layers,V);for(var he=0,Ae=P;heli})||Di.every(function(pi){return pi.y<0})||Di.every(function(pi){return pi.y>li})))for(var Mn=0,Nn=0;Nn=1){var Wn=fn[Nn-1];if(!eC(Bn,Wn)){Gt.vertexLength+4>ln.MAX_VERTEX_ARRAY_LENGTH&&(Gt=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray));var Zn=Bn.sub(Wn)._perp()._unit(),er=Wn.dist(Bn);Mn+er>32768&&(Mn=0),D0(this.layoutVertexArray,Bn.x,Bn.y,Zn.x,Zn.y,0,0,Mn),D0(this.layoutVertexArray,Bn.x,Bn.y,Zn.x,Zn.y,0,1,Mn),Mn+=er,D0(this.layoutVertexArray,Wn.x,Wn.y,Zn.x,Zn.y,0,0,Mn),D0(this.layoutVertexArray,Wn.x,Wn.y,Zn.x,Zn.y,0,1,Mn);var sr=Gt.vertexLength;this.indexArray.emplaceBack(sr,sr+2,sr+1),this.indexArray.emplaceBack(sr+1,sr+2,sr+3),Gt.vertexLength+=4,Gt.primitiveLength+=2}}}}if(Gt.vertexLength+pt>ln.MAX_VERTEX_ARRAY_LENGTH&&(Gt=this.segments.prepareSegment(pt,this.layoutVertexArray,this.indexArray)),QS[P.type]==="Polygon"){for(var fr=[],Pr=[],Tr=Gt.vertexLength,Nr=0,Xr=it;Nr=2&&P[pt-1].equals(P[pt-2]);)pt--;for(var Ct=0;Ct0;if(Pr&&Bn>Ct){var Nr=Dt.dist($t);if(Nr>2*Gt){var Xr=Dt.sub(Dt.sub($t)._mult(Gt/Nr)._round());this.updateDistance($t,Xr),this.addCurrentVertex(Xr,Mn,0,0,Zt),$t=Xr}}var hi=$t&&fn,Jr=hi?J:it?"butt":he;if(hi&&Jr==="round"&&(srAe&&(Jr="bevel"),Jr==="bevel"&&(sr>2&&(Jr="flipbevel"),sr100)Wn=Nn.mult(-1);else{var ui=sr*Mn.add(Nn).mag()/Mn.sub(Nn).mag();Wn._perp()._mult(ui*(Tr?-1:1))}this.addCurrentVertex(Dt,Wn,0,0,Zt),this.addCurrentVertex(Dt,Wn.mult(-1),0,0,Zt)}else if(Jr==="bevel"||Jr==="fakeround"){var ri=-Math.sqrt(sr*sr-1),Kr=Tr?ri:0,Di=Tr?0:ri;if($t&&this.addCurrentVertex(Dt,Mn,Kr,Di,Zt),Jr==="fakeround")for(var pi=Math.round(180*fr/Math.PI/20),va=1;va2*Gt){var ya=Dt.add(fn.sub(Dt)._mult(Gt/Pa)._round());this.updateDistance(Dt,ya),this.addCurrentVertex(ya,Nn,0,0,Zt),Dt=ya}}}}},Ys.prototype.addCurrentVertex=function(P,V,J,he,Ae,Oe){Oe===void 0&&(Oe=!1);var Ge=V.x+V.y*J,it=V.y-V.x*J,pt=-V.x+V.y*he,Ct=-V.y-V.x*he;this.addHalfVertex(P,Ge,it,Oe,!1,J,Ae),this.addHalfVertex(P,pt,Ct,Oe,!0,-he,Ae),this.distance>Y_/2&&this.totalDistance===0&&(this.distance=0,this.addCurrentVertex(P,V,J,he,Ae,Oe))},Ys.prototype.addHalfVertex=function(P,V,J,he,Ae,Oe,Ge){var it=P.x,pt=P.y,Ct=.5*this.scaledDistance;this.layoutVertexArray.emplaceBack((it<<1)+(he?1:0),(pt<<1)+(Ae?1:0),Math.round(63*V)+128,Math.round(63*J)+128,1+(Oe===0?0:Oe<0?-1:1)|(63&Ct)<<2,Ct>>6);var Dt=Ge.vertexLength++;this.e1>=0&&this.e2>=0&&(this.indexArray.emplaceBack(this.e1,this.e2,Dt),Ge.primitiveLength++),Ae?this.e2=Dt:this.e1=Dt},Ys.prototype.updateScaledDistance=function(){this.scaledDistance=this.totalDistance>0?(this.clipStart+(this.clipEnd-this.clipStart)*this.distance/this.totalDistance)*(Y_-1):this.distance},Ys.prototype.updateDistance=function(P,V){this.distance+=P.dist(V),this.updateScaledDistance()},Dr("LineBucket",Ys,{omit:["layers","patternFeatures"]});var aC=new xo({"line-cap":new Hr(Re.layout_line["line-cap"]),"line-join":new ni(Re.layout_line["line-join"]),"line-miter-limit":new Hr(Re.layout_line["line-miter-limit"]),"line-round-limit":new Hr(Re.layout_line["line-round-limit"]),"line-sort-key":new ni(Re.layout_line["line-sort-key"])}),$_={paint:new xo({"line-opacity":new ni(Re.paint_line["line-opacity"]),"line-color":new ni(Re.paint_line["line-color"]),"line-translate":new Hr(Re.paint_line["line-translate"]),"line-translate-anchor":new Hr(Re.paint_line["line-translate-anchor"]),"line-width":new ni(Re.paint_line["line-width"]),"line-gap-width":new ni(Re.paint_line["line-gap-width"]),"line-offset":new ni(Re.paint_line["line-offset"]),"line-blur":new ni(Re.paint_line["line-blur"]),"line-dasharray":new cl(Re.paint_line["line-dasharray"]),"line-pattern":new Vu(Re.paint_line["line-pattern"]),"line-gradient":new Rs(Re.paint_line["line-gradient"])}),layout:aC},oC=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.possiblyEvaluate=function(J,he){return he=new Wi(Math.floor(he.zoom),{now:he.now,fadeDuration:he.fadeDuration,zoomHistory:he.zoomHistory,transition:he.transition}),P.prototype.possiblyEvaluate.call(this,J,he)},V.prototype.evaluate=function(J,he,Ae,Oe){return he=m({},he,{zoom:Math.floor(he.zoom)}),P.prototype.evaluate.call(this,J,he,Ae,Oe)},V}(ni),Z_=new oC($_.paint.properties["line-width"].specification);Z_.useIntegerZoom=!0;var sC=function(P){function V(J){P.call(this,J,$_)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._handleSpecialPaintPropertyUpdate=function(J){J==="line-gradient"&&this._updateGradient()},V.prototype._updateGradient=function(){var J=this._transitionablePaint._values["line-gradient"].value.expression;this.gradient=O_(J,"lineProgress"),this.gradientTexture=null},V.prototype.recalculate=function(J,he){P.prototype.recalculate.call(this,J,he),this.paint._values["line-floorwidth"]=Z_.possiblyEvaluate(this._transitioningPaint._values["line-width"].value,J)},V.prototype.createBucket=function(J){return new Ys(J)},V.prototype.queryRadius=function(J){var he=J,Ae=X_(zh("line-width",this,he),zh("line-gap-width",this,he)),Oe=zh("line-offset",this,he);return Ae/2+Math.abs(Oe)+dg(this.paint.get("line-translate"))},V.prototype.queryIntersectsFeature=function(J,he,Ae,Oe,Ge,it,pt){var Ct=pg(J,this.paint.get("line-translate"),this.paint.get("line-translate-anchor"),it.angle,pt),Dt=pt/2*X_(this.paint.get("line-width").evaluate(he,Ae),this.paint.get("line-gap-width").evaluate(he,Ae)),Gt=this.paint.get("line-offset").evaluate(he,Ae);return Gt&&(Oe=function(Zt,$t){for(var fn=[],Mn=new a(0,0),Nn=0;Nn=3){for(var Bn=0;Bn0?V+2*P:P}var A1=la([{name:"a_pos_offset",components:4,type:"Int16"},{name:"a_data",components:4,type:"Uint16"},{name:"a_pixeloffset",components:4,type:"Int16"}],4),lC=la([{name:"a_projected_pos",components:3,type:"Float32"}],4),uC=(la([{name:"a_fade_opacity",components:1,type:"Uint32"}],4),la([{name:"a_placed",components:2,type:"Uint8"},{name:"a_shift",components:2,type:"Float32"}])),K_=(la([{type:"Int16",name:"anchorPointX"},{type:"Int16",name:"anchorPointY"},{type:"Int16",name:"x1"},{type:"Int16",name:"y1"},{type:"Int16",name:"x2"},{type:"Int16",name:"y2"},{type:"Uint32",name:"featureIndex"},{type:"Uint16",name:"sourceLayerIndex"},{type:"Uint16",name:"bucketIndex"}]),la([{name:"a_pos",components:2,type:"Int16"},{name:"a_anchor_pos",components:2,type:"Int16"},{name:"a_extrude",components:2,type:"Int16"}],4)),cC=la([{name:"a_pos",components:2,type:"Float32"},{name:"a_radius",components:1,type:"Float32"},{name:"a_flags",components:2,type:"Int16"}],4);function hC(P,V,J){return P.sections.forEach(function(he){he.text=function(Ae,Oe,Ge){var it=Oe.layout.get("text-transform").evaluate(Ge,{});return it==="uppercase"?Ae=Ae.toLocaleUpperCase():it==="lowercase"&&(Ae=Ae.toLocaleLowerCase()),Bo.applyArabicShaping&&(Ae=Bo.applyArabicShaping(Ae)),Ae}(he.text,V,J)}),P}la([{name:"triangle",components:3,type:"Uint16"}]),la([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Uint16",name:"glyphStartIndex"},{type:"Uint16",name:"numGlyphs"},{type:"Uint32",name:"vertexStartIndex"},{type:"Uint32",name:"lineStartIndex"},{type:"Uint32",name:"lineLength"},{type:"Uint16",name:"segment"},{type:"Uint16",name:"lowerSize"},{type:"Uint16",name:"upperSize"},{type:"Float32",name:"lineOffsetX"},{type:"Float32",name:"lineOffsetY"},{type:"Uint8",name:"writingMode"},{type:"Uint8",name:"placedOrientation"},{type:"Uint8",name:"hidden"},{type:"Uint32",name:"crossTileID"},{type:"Int16",name:"associatedIconIndex"}]),la([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Int16",name:"rightJustifiedTextSymbolIndex"},{type:"Int16",name:"centerJustifiedTextSymbolIndex"},{type:"Int16",name:"leftJustifiedTextSymbolIndex"},{type:"Int16",name:"verticalPlacedTextSymbolIndex"},{type:"Int16",name:"placedIconSymbolIndex"},{type:"Int16",name:"verticalPlacedIconSymbolIndex"},{type:"Uint16",name:"key"},{type:"Uint16",name:"textBoxStartIndex"},{type:"Uint16",name:"textBoxEndIndex"},{type:"Uint16",name:"verticalTextBoxStartIndex"},{type:"Uint16",name:"verticalTextBoxEndIndex"},{type:"Uint16",name:"iconBoxStartIndex"},{type:"Uint16",name:"iconBoxEndIndex"},{type:"Uint16",name:"verticalIconBoxStartIndex"},{type:"Uint16",name:"verticalIconBoxEndIndex"},{type:"Uint16",name:"featureIndex"},{type:"Uint16",name:"numHorizontalGlyphVertices"},{type:"Uint16",name:"numVerticalGlyphVertices"},{type:"Uint16",name:"numIconVertices"},{type:"Uint16",name:"numVerticalIconVertices"},{type:"Uint16",name:"useRuntimeCollisionCircles"},{type:"Uint32",name:"crossTileID"},{type:"Float32",name:"textBoxScale"},{type:"Float32",components:2,name:"textOffset"},{type:"Float32",name:"collisionCircleDiameter"}]),la([{type:"Float32",name:"offsetX"}]),la([{type:"Int16",name:"x"},{type:"Int16",name:"y"},{type:"Int16",name:"tileUnitDistanceFromAnchor"}]);var F0={"!":"︕","#":"#",$:"$","%":"%","&":"&","(":"︵",")":"︶","*":"*","+":"+",",":"︐","-":"︲",".":"・","/":"/",":":"︓",";":"︔","<":"︿","=":"=",">":"﹀","?":"︖","@":"@","[":"﹇","\\":"\","]":"﹈","^":"^",_:"︳","`":"`","{":"︷","|":"―","}":"︸","~":"~","¢":"¢","£":"£","¥":"¥","¦":"¦","¬":"¬","¯":" ̄","–":"︲","—":"︱","‘":"﹃","’":"﹄","“":"﹁","”":"﹂","…":"︙","‧":"・","₩":"₩","、":"︑","。":"︒","〈":"︿","〉":"﹀","《":"︽","》":"︾","「":"﹁","」":"﹂","『":"﹃","』":"﹄","【":"︻","】":"︼","〔":"︹","〕":"︺","〖":"︗","〗":"︘","!":"︕","(":"︵",")":"︶",",":"︐","-":"︲",".":"・",":":"︓",";":"︔","<":"︿",">":"﹀","?":"︖","[":"﹇","]":"﹈","_":"︳","{":"︷","|":"―","}":"︸","⦅":"︵","⦆":"︶","。":"︒","「":"﹁","」":"﹂"},ss=24,J_=function(P,V,J,he,Ae){var Oe,Ge,it=8*Ae-he-1,pt=(1<>1,Dt=-7,Gt=J?Ae-1:0,Zt=J?-1:1,$t=P[V+Gt];for(Gt+=Zt,Oe=$t&(1<<-Dt)-1,$t>>=-Dt,Dt+=it;Dt>0;Oe=256*Oe+P[V+Gt],Gt+=Zt,Dt-=8);for(Ge=Oe&(1<<-Dt)-1,Oe>>=-Dt,Dt+=he;Dt>0;Ge=256*Ge+P[V+Gt],Gt+=Zt,Dt-=8);if(Oe===0)Oe=1-Ct;else{if(Oe===pt)return Ge?NaN:1/0*($t?-1:1);Ge+=Math.pow(2,he),Oe-=Ct}return($t?-1:1)*Ge*Math.pow(2,Oe-he)},Q_=function(P,V,J,he,Ae,Oe){var Ge,it,pt,Ct=8*Oe-Ae-1,Dt=(1<>1,Zt=Ae===23?Math.pow(2,-24)-Math.pow(2,-77):0,$t=he?0:Oe-1,fn=he?1:-1,Mn=V<0||V===0&&1/V<0?1:0;for(V=Math.abs(V),isNaN(V)||V===1/0?(it=isNaN(V)?1:0,Ge=Dt):(Ge=Math.floor(Math.log(V)/Math.LN2),V*(pt=Math.pow(2,-Ge))<1&&(Ge--,pt*=2),(V+=Ge+Gt>=1?Zt/pt:Zt*Math.pow(2,1-Gt))*pt>=2&&(Ge++,pt/=2),Ge+Gt>=Dt?(it=0,Ge=Dt):Ge+Gt>=1?(it=(V*pt-1)*Math.pow(2,Ae),Ge+=Gt):(it=V*Math.pow(2,Gt-1)*Math.pow(2,Ae),Ge=0));Ae>=8;P[J+$t]=255&it,$t+=fn,it/=256,Ae-=8);for(Ge=Ge<0;P[J+$t]=255&Ge,$t+=fn,Ge/=256,Ct-=8);P[J+$t-fn]|=128*Mn},_g=ba;function ba(P){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(P)?P:new Uint8Array(P||0),this.pos=0,this.type=0,this.length=this.buf.length}ba.Varint=0,ba.Fixed64=1,ba.Bytes=2,ba.Fixed32=5;var S1=4294967296,ew=1/S1,tw=typeof TextDecoder>"u"?null:new TextDecoder("utf8");function Fh(P){return P.type===ba.Bytes?P.readVarint()+P.pos:P.pos+1}function lp(P,V,J){return J?4294967296*V+(P>>>0):4294967296*(V>>>0)+(P>>>0)}function nw(P,V,J){var he=V<=16383?1:V<=2097151?2:V<=268435455?3:Math.floor(Math.log(V)/(7*Math.LN2));J.realloc(he);for(var Ae=J.pos-1;Ae>=P;Ae--)J.buf[Ae+he]=J.buf[Ae]}function fC(P,V){for(var J=0;J>>8,P[J+2]=V>>>16,P[J+3]=V>>>24}function rw(P,V){return(P[V]|P[V+1]<<8|P[V+2]<<16)+(P[V+3]<<24)}ba.prototype={destroy:function(){this.buf=null},readFields:function(P,V,J){for(J=J||this.length;this.pos>3,Oe=this.pos;this.type=7&he,P(Ae,V,this),this.pos===Oe&&this.skip(he)}return V},readMessage:function(P,V){return this.readFields(P,V,this.readVarint()+this.pos)},readFixed32:function(){var P=wg(this.buf,this.pos);return this.pos+=4,P},readSFixed32:function(){var P=rw(this.buf,this.pos);return this.pos+=4,P},readFixed64:function(){var P=wg(this.buf,this.pos)+wg(this.buf,this.pos+4)*S1;return this.pos+=8,P},readSFixed64:function(){var P=wg(this.buf,this.pos)+rw(this.buf,this.pos+4)*S1;return this.pos+=8,P},readFloat:function(){var P=J_(this.buf,this.pos,!0,23,4);return this.pos+=4,P},readDouble:function(){var P=J_(this.buf,this.pos,!0,52,8);return this.pos+=8,P},readVarint:function(P){var V,J,he=this.buf;return V=127&(J=he[this.pos++]),J<128?V:(V|=(127&(J=he[this.pos++]))<<7,J<128?V:(V|=(127&(J=he[this.pos++]))<<14,J<128?V:(V|=(127&(J=he[this.pos++]))<<21,J<128?V:function(Ae,Oe,Ge){var it,pt,Ct=Ge.buf;if(it=(112&(pt=Ct[Ge.pos++]))>>4,pt<128||(it|=(127&(pt=Ct[Ge.pos++]))<<3,pt<128)||(it|=(127&(pt=Ct[Ge.pos++]))<<10,pt<128)||(it|=(127&(pt=Ct[Ge.pos++]))<<17,pt<128)||(it|=(127&(pt=Ct[Ge.pos++]))<<24,pt<128)||(it|=(1&(pt=Ct[Ge.pos++]))<<31,pt<128))return lp(Ae,it,Oe);throw new Error("Expected varint not more than 10 bytes")}(V|=(15&(J=he[this.pos]))<<28,P,this))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var P=this.readVarint();return P%2==1?(P+1)/-2:P/2},readBoolean:function(){return!!this.readVarint()},readString:function(){var P=this.readVarint()+this.pos,V=this.pos;return this.pos=P,P-V>=12&&tw?function(J,he,Ae){return tw.decode(J.subarray(he,Ae))}(this.buf,V,P):function(J,he,Ae){for(var Oe="",Ge=he;Ge239?4:Dt>223?3:Dt>191?2:1;if(Ge+Zt>Ae)break;Zt===1?Dt<128&&(Gt=Dt):Zt===2?(192&(it=J[Ge+1]))==128&&(Gt=(31&Dt)<<6|63&it)<=127&&(Gt=null):Zt===3?(it=J[Ge+1],pt=J[Ge+2],(192&it)==128&&(192&pt)==128&&((Gt=(15&Dt)<<12|(63&it)<<6|63&pt)<=2047||Gt>=55296&&Gt<=57343)&&(Gt=null)):Zt===4&&(it=J[Ge+1],pt=J[Ge+2],Ct=J[Ge+3],(192&it)==128&&(192&pt)==128&&(192&Ct)==128&&((Gt=(15&Dt)<<18|(63&it)<<12|(63&pt)<<6|63&Ct)<=65535||Gt>=1114112)&&(Gt=null)),Gt===null?(Gt=65533,Zt=1):Gt>65535&&(Gt-=65536,Oe+=String.fromCharCode(Gt>>>10&1023|55296),Gt=56320|1023&Gt),Oe+=String.fromCharCode(Gt),Ge+=Zt}return Oe}(this.buf,V,P)},readBytes:function(){var P=this.readVarint()+this.pos,V=this.buf.subarray(this.pos,P);return this.pos=P,V},readPackedVarint:function(P,V){if(this.type!==ba.Bytes)return P.push(this.readVarint(V));var J=Fh(this);for(P=P||[];this.pos127;);else if(V===ba.Bytes)this.pos=this.readVarint()+this.pos;else if(V===ba.Fixed32)this.pos+=4;else{if(V!==ba.Fixed64)throw new Error("Unimplemented type: "+V);this.pos+=8}},writeTag:function(P,V){this.writeVarint(P<<3|V)},realloc:function(P){for(var V=this.length||16;V268435455||P<0?function(V,J){var he,Ae;if(V>=0?(he=V%4294967296|0,Ae=V/4294967296|0):(Ae=~(-V/4294967296),4294967295^(he=~(-V%4294967296))?he=he+1|0:(he=0,Ae=Ae+1|0)),V>=18446744073709552e3||V<-18446744073709552e3)throw new Error("Given varint doesn't fit into 10 bytes");J.realloc(10),function(Oe,Ge,it){it.buf[it.pos++]=127&Oe|128,Oe>>>=7,it.buf[it.pos++]=127&Oe|128,Oe>>>=7,it.buf[it.pos++]=127&Oe|128,Oe>>>=7,it.buf[it.pos++]=127&Oe|128,Oe>>>=7,it.buf[it.pos]=127&Oe}(he,0,J),function(Oe,Ge){var it=(7&Oe)<<4;Ge.buf[Ge.pos++]|=it|((Oe>>>=3)?128:0),Oe&&(Ge.buf[Ge.pos++]=127&Oe|((Oe>>>=7)?128:0),Oe&&(Ge.buf[Ge.pos++]=127&Oe|((Oe>>>=7)?128:0),Oe&&(Ge.buf[Ge.pos++]=127&Oe|((Oe>>>=7)?128:0),Oe&&(Ge.buf[Ge.pos++]=127&Oe|((Oe>>>=7)?128:0),Oe&&(Ge.buf[Ge.pos++]=127&Oe)))))}(Ae,J)}(P,this):(this.realloc(4),this.buf[this.pos++]=127&P|(P>127?128:0),P<=127||(this.buf[this.pos++]=127&(P>>>=7)|(P>127?128:0),P<=127||(this.buf[this.pos++]=127&(P>>>=7)|(P>127?128:0),P<=127||(this.buf[this.pos++]=P>>>7&127))))},writeSVarint:function(P){this.writeVarint(P<0?2*-P-1:2*P)},writeBoolean:function(P){this.writeVarint(!!P)},writeString:function(P){P=String(P),this.realloc(4*P.length),this.pos++;var V=this.pos;this.pos=function(he,Ae,Oe){for(var Ge,it,pt=0;pt55295&&Ge<57344){if(!it){Ge>56319||pt+1===Ae.length?(he[Oe++]=239,he[Oe++]=191,he[Oe++]=189):it=Ge;continue}if(Ge<56320){he[Oe++]=239,he[Oe++]=191,he[Oe++]=189,it=Ge;continue}Ge=it-55296<<10|Ge-56320|65536,it=null}else it&&(he[Oe++]=239,he[Oe++]=191,he[Oe++]=189,it=null);Ge<128?he[Oe++]=Ge:(Ge<2048?he[Oe++]=Ge>>6|192:(Ge<65536?he[Oe++]=Ge>>12|224:(he[Oe++]=Ge>>18|240,he[Oe++]=Ge>>12&63|128),he[Oe++]=Ge>>6&63|128),he[Oe++]=63&Ge|128)}return Oe}(this.buf,P,this.pos);var J=this.pos-V;J>=128&&nw(V,J,this),this.pos=V-1,this.writeVarint(J),this.pos+=J},writeFloat:function(P){this.realloc(4),Q_(this.buf,P,this.pos,!0,23,4),this.pos+=4},writeDouble:function(P){this.realloc(8),Q_(this.buf,P,this.pos,!0,52,8),this.pos+=8},writeBytes:function(P){var V=P.length;this.writeVarint(V),this.realloc(V);for(var J=0;J=128&&nw(J,he,this),this.pos=J-1,this.writeVarint(he),this.pos+=he},writeMessage:function(P,V,J){this.writeTag(P,ba.Bytes),this.writeRawMessage(V,J)},writePackedVarint:function(P,V){V.length&&this.writeMessage(P,fC,V)},writePackedSVarint:function(P,V){V.length&&this.writeMessage(P,dC,V)},writePackedBoolean:function(P,V){V.length&&this.writeMessage(P,gC,V)},writePackedFloat:function(P,V){V.length&&this.writeMessage(P,pC,V)},writePackedDouble:function(P,V){V.length&&this.writeMessage(P,mC,V)},writePackedFixed32:function(P,V){V.length&&this.writeMessage(P,vC,V)},writePackedSFixed32:function(P,V){V.length&&this.writeMessage(P,yC,V)},writePackedFixed64:function(P,V){V.length&&this.writeMessage(P,bC,V)},writePackedSFixed64:function(P,V){V.length&&this.writeMessage(P,xC,V)},writeBytesField:function(P,V){this.writeTag(P,ba.Bytes),this.writeBytes(V)},writeFixed32Field:function(P,V){this.writeTag(P,ba.Fixed32),this.writeFixed32(V)},writeSFixed32Field:function(P,V){this.writeTag(P,ba.Fixed32),this.writeSFixed32(V)},writeFixed64Field:function(P,V){this.writeTag(P,ba.Fixed64),this.writeFixed64(V)},writeSFixed64Field:function(P,V){this.writeTag(P,ba.Fixed64),this.writeSFixed64(V)},writeVarintField:function(P,V){this.writeTag(P,ba.Varint),this.writeVarint(V)},writeSVarintField:function(P,V){this.writeTag(P,ba.Varint),this.writeSVarint(V)},writeStringField:function(P,V){this.writeTag(P,ba.Bytes),this.writeString(V)},writeFloatField:function(P,V){this.writeTag(P,ba.Fixed32),this.writeFloat(V)},writeDoubleField:function(P,V){this.writeTag(P,ba.Fixed64),this.writeDouble(V)},writeBooleanField:function(P,V){this.writeVarintField(P,!!V)}};function _C(P,V,J){P===1&&J.readMessage(wC,V)}function wC(P,V,J){if(P===3){var he=J.readMessage(TC,{}),Ae=he.id,Oe=he.bitmap,Ge=he.width,it=he.height,pt=he.left,Ct=he.top,Dt=he.advance;V.push({id:Ae,bitmap:new sd({width:Ge+6,height:it+6},Oe),metrics:{width:Ge,height:it,left:pt,top:Ct,advance:Dt}})}}function TC(P,V,J){P===1?V.id=J.readVarint():P===2?V.bitmap=J.readBytes():P===3?V.width=J.readVarint():P===4?V.height=J.readVarint():P===5?V.left=J.readSVarint():P===6?V.top=J.readSVarint():P===7&&(V.advance=J.readVarint())}function iw(P){for(var V=0,J=0,he=0,Ae=P;he=0;Zt--){var $t=Ge[Zt];if(!(Gt.w>$t.w||Gt.h>$t.h)){if(Gt.x=$t.x,Gt.y=$t.y,pt=Math.max(pt,Gt.y+Gt.h),it=Math.max(it,Gt.x+Gt.w),Gt.w===$t.w&&Gt.h===$t.h){var fn=Ge.pop();Zt0&&hd>Ga&&(Ga=hd)}else{var Dg=pi[$i.fontStack],fd=Dg&&Dg[Ds];if(fd&&fd.rect)Ac=fd.rect,ks=fd.metrics;else{var zg=Di[$i.fontStack],U0=zg&&zg[Ds];if(!U0)continue;ks=U0.metrics}dl=(mi-$i.scale)*ss}Sc?(Kr.verticalizable=!0,ma.push({glyph:Ds,imageName:Vh,x:Ho,y:ls+dl,vertical:Sc,scale:$i.scale,fontStack:$i.fontStack,sectionIndex:Ja,metrics:ks,rect:Ac}),Ho+=qo*$i.scale+ya):(ma.push({glyph:Ds,imageName:Vh,x:Ho,y:ls+dl,vertical:Sc,scale:$i.scale,fontStack:$i.fontStack,sectionIndex:Ja,metrics:ks,rect:Ac}),Ho+=ks.advance*$i.scale+ya)}if(ma.length!==0){var B1=Ho-ya;Xo=Math.max(B1,Xo),MC(ma,0,ma.length-1,Ko,Ga)}Ho=0;var Fg=fa*mi+Ga;Ka.lineOffset=Math.max(Ga,Gi),ls+=Fg,Os=Math.max(Fg,Os),++Io}else ls+=fa,++Io}var yp=ls-kg,Bg=E1(xa),Ng=Bg.horizontalAlign,H0=Bg.verticalAlign;(function(N1,G0,dd,bp,Vg,jg,xp,Ug,Hg){var q0=(G0-dd)*Vg,W0=0;W0=jg!==xp?-Ug*bp-kg:(-bp*Hg+.5)*xp;for(var pd=0,Y0=N1;pd=0&&he>=P&&Ag[this.text.charCodeAt(he)];he--)J--;this.text=this.text.substring(P,J),this.sectionIndex=this.sectionIndex.slice(P,J)},Ts.prototype.substring=function(P,V){var J=new Ts;return J.text=this.text.substring(P,V),J.sectionIndex=this.sectionIndex.slice(P,V),J.sections=this.sections,J},Ts.prototype.toString=function(){return this.text},Ts.prototype.getMaxScale=function(){var P=this;return this.sectionIndex.reduce(function(V,J){return Math.max(V,P.sections[J].scale)},0)},Ts.prototype.addTextSection=function(P,V){this.text+=P.text,this.sections.push(cp.forText(P.scale,P.fontStack||V));for(var J=this.sections.length-1,he=0;he=63743?null:++this.imageSectionID:(this.imageSectionID=57344,this.imageSectionID)};var Ag={9:!0,10:!0,11:!0,12:!0,13:!0,32:!0},fl={};function aw(P,V,J,he,Ae,Oe){if(V.imageName){var Ge=he[V.imageName];return Ge?Ge.displaySize[0]*V.scale*ss/Oe+Ae:0}var it=J[V.fontStack],pt=it&&it[P];return pt?pt.metrics.advance*V.scale+Ae:0}function ow(P,V,J,he){var Ae=Math.pow(P-V,2);return he?P=0,Dt=0,Gt=0;Gt-J/2;){if(--Ge<0)return!1;it-=P[Ge].dist(Oe),Oe=P[Ge]}it+=P[Ge].dist(P[Ge+1]),Ge++;for(var pt=[],Ct=0;ithe;)Ct-=pt.shift().angleDelta;if(Ct>Ae)return!1;Ge++,it+=Gt.dist(Zt)}return!0}function dw(P){for(var V=0,J=0;JCt){var fn=(Ct-pt)/$t,Mn=zr(Gt.x,Zt.x,fn),Nn=zr(Gt.y,Zt.y,fn),Bn=new hp(Mn,Nn,Zt.angleTo(Gt),Dt);return Bn._round(),!Ge||fw(P,Bn,it,Ge,V)?Bn:void 0}pt+=$t}}function CC(P,V,J,he,Ae,Oe,Ge,it,pt){var Ct=pw(he,Oe,Ge),Dt=mw(he,Ae),Gt=Dt*Ge,Zt=P[0].x===0||P[0].x===pt||P[0].y===0||P[0].y===pt;return V-Gt=0&&er=0&&sr=0&&Zt+Ct<=Dt){var fr=new hp(er,sr,Wn,fn);fr._round(),he&&!fw(P,fr,Oe,he,Ae)||$t.push(fr)}}Gt+=Bn}return it||$t.length||Ge||($t=gw(P,Gt/2,J,he,Ae,Oe,Ge,!0,pt)),$t}function vw(P,V,J,he,Ae){for(var Oe=[],Ge=0;Ge=he&&Gt.x>=he||(Dt.x>=he?Dt=new a(he,Dt.y+(Gt.y-Dt.y)*((he-Dt.x)/(Gt.x-Dt.x)))._round():Gt.x>=he&&(Gt=new a(he,Dt.y+(Gt.y-Dt.y)*((he-Dt.x)/(Gt.x-Dt.x)))._round()),Dt.y>=Ae&&Gt.y>=Ae||(Dt.y>=Ae?Dt=new a(Dt.x+(Gt.x-Dt.x)*((Ae-Dt.y)/(Gt.y-Dt.y)),Ae)._round():Gt.y>=Ae&&(Gt=new a(Dt.x+(Gt.x-Dt.x)*((Ae-Dt.y)/(Gt.y-Dt.y)),Ae)._round()),pt&&Dt.equals(pt[pt.length-1])||(pt=[Dt],Oe.push(pt)),pt.push(Gt)))))}return Oe}function yw(P,V,J,he){var Ae=[],Oe=P.image,Ge=Oe.pixelRatio,it=Oe.paddedRect.w-2,pt=Oe.paddedRect.h-2,Ct=P.right-P.left,Dt=P.bottom-P.top,Gt=Oe.stretchX||[[0,it]],Zt=Oe.stretchY||[[0,pt]],$t=function(fa,xa){return fa+xa[1]-xa[0]},fn=Gt.reduce($t,0),Mn=Zt.reduce($t,0),Nn=it-fn,Bn=pt-Mn,Wn=0,Zn=fn,er=0,sr=Mn,fr=0,Pr=Nn,Tr=0,Nr=Bn;if(Oe.content&&he){var Xr=Oe.content;Wn=Sg(Gt,0,Xr[0]),er=Sg(Zt,0,Xr[1]),Zn=Sg(Gt,Xr[0],Xr[2]),sr=Sg(Zt,Xr[1],Xr[3]),fr=Xr[0]-Wn,Tr=Xr[1]-er,Pr=Xr[2]-Xr[0]-Zn,Nr=Xr[3]-Xr[1]-sr}var hi=function(fa,xa,Sa,Pa){var ya=Cg(fa.stretch-Wn,Zn,Ct,P.left),Mo=Eg(fa.fixed-fr,Pr,fa.stretch,fn),Va=Cg(xa.stretch-er,sr,Dt,P.top),Ho=Eg(xa.fixed-Tr,Nr,xa.stretch,Mn),ls=Cg(Sa.stretch-Wn,Zn,Ct,P.left),Xo=Eg(Sa.fixed-fr,Pr,Sa.stretch,fn),Os=Cg(Pa.stretch-er,sr,Dt,P.top),Ko=Eg(Pa.fixed-Tr,Nr,Pa.stretch,Mn),Io=new a(ya,Va),Jo=new a(ls,Va),Go=new a(ls,Os),Ro=new a(ya,Os),mi=new a(Mo/Ge,Ho/Ge),Gi=new a(Xo/Ge,Ko/Ge),Ka=V*Math.PI/180;if(Ka){var ma=Math.sin(Ka),Ga=Math.cos(Ka),Oa=[Ga,-ma,ma,Ga];Io._matMult(Oa),Jo._matMult(Oa),Ro._matMult(Oa),Go._matMult(Oa)}var $i=fa.stretch+fa.fixed,Ja=Sa.stretch+Sa.fixed,Ds=xa.stretch+xa.fixed,dl=Pa.stretch+Pa.fixed;return{tl:Io,tr:Jo,bl:Ro,br:Go,tex:{x:Oe.paddedRect.x+1+$i,y:Oe.paddedRect.y+1+Ds,w:Ja-$i,h:dl-Ds},writingMode:void 0,glyphOffset:[0,0],sectionIndex:0,pixelOffsetTL:mi,pixelOffsetBR:Gi,minFontScaleX:Pr/Ge/Ct,minFontScaleY:Nr/Ge/Dt,isSDF:J}};if(he&&(Oe.stretchX||Oe.stretchY))for(var Jr=bw(Gt,Nn,fn),ui=bw(Zt,Bn,Mn),ri=0;ri0&&($t=Math.max(10,$t),this.circleDiameter=$t)}else{var fn=Oe.top*Ge-it,Mn=Oe.bottom*Ge+it,Nn=Oe.left*Ge-it,Bn=Oe.right*Ge+it,Wn=Oe.collisionPadding;if(Wn&&(Nn-=Wn[0]*Ge,fn-=Wn[1]*Ge,Bn+=Wn[2]*Ge,Mn+=Wn[3]*Ge),Ct){var Zn=new a(Nn,fn),er=new a(Bn,fn),sr=new a(Nn,Mn),fr=new a(Bn,Mn),Pr=Ct*Math.PI/180;Zn._rotate(Pr),er._rotate(Pr),sr._rotate(Pr),fr._rotate(Pr),Nn=Math.min(Zn.x,er.x,sr.x,fr.x),Bn=Math.max(Zn.x,er.x,sr.x,fr.x),fn=Math.min(Zn.y,er.y,sr.y,fr.y),Mn=Math.max(Zn.y,er.y,sr.y,fr.y)}P.emplaceBack(V.x,V.y,Nn,fn,Bn,Mn,J,he,Ae)}this.boxEndIndex=P.length},fp=function(P,V){if(P===void 0&&(P=[]),V===void 0&&(V=EC),this.data=P,this.length=this.data.length,this.compare=V,this.length>0)for(var J=(this.length>>1)-1;J>=0;J--)this._down(J)};function EC(P,V){return PV?1:0}function LC(P,V,J){V===void 0&&(V=1),J===void 0&&(J=!1);for(var he=1/0,Ae=1/0,Oe=-1/0,Ge=-1/0,it=P[0],pt=0;ptOe)&&(Oe=Ct.x),(!pt||Ct.y>Ge)&&(Ge=Ct.y)}var Dt=Oe-he,Gt=Ge-Ae,Zt=Math.min(Dt,Gt),$t=Zt/2,fn=new fp([],IC);if(Zt===0)return new a(he,Ae);for(var Mn=he;MnBn.d||!Bn.d)&&(Bn=Zn,J&&console.log("found best %d after %d probes",Math.round(1e4*Zn.d)/1e4,Wn)),Zn.max-Bn.d<=V||($t=Zn.h/2,fn.push(new dp(Zn.p.x-$t,Zn.p.y-$t,$t,P)),fn.push(new dp(Zn.p.x+$t,Zn.p.y-$t,$t,P)),fn.push(new dp(Zn.p.x-$t,Zn.p.y+$t,$t,P)),fn.push(new dp(Zn.p.x+$t,Zn.p.y+$t,$t,P)),Wn+=4)}return J&&(console.log("num probes: "+Wn),console.log("best distance: "+Bn.d)),Bn.p}function IC(P,V){return V.max-P.max}function dp(P,V,J,he){this.p=new a(P,V),this.h=J,this.d=function(Ae,Oe){for(var Ge=!1,it=1/0,pt=0;ptAe.y!=fn.y>Ae.y&&Ae.x<(fn.x-$t.x)*(Ae.y-$t.y)/(fn.y-$t.y)+$t.x&&(Ge=!Ge),it=Math.min(it,fg(Ae,$t,fn))}return(Ge?1:-1)*Math.sqrt(it)}(this.p,he),this.max=this.d+this.h*Math.SQRT2}fp.prototype.push=function(P){this.data.push(P),this.length++,this._up(this.length-1)},fp.prototype.pop=function(){if(this.length!==0){var P=this.data[0],V=this.data.pop();return this.length--,this.length>0&&(this.data[0]=V,this._down(0)),P}},fp.prototype.peek=function(){return this.data[0]},fp.prototype._up=function(P){for(var V=this.data,J=this.compare,he=V[P];P>0;){var Ae=P-1>>1,Oe=V[Ae];if(J(he,Oe)>=0)break;V[P]=Oe,P=Ae}V[P]=he},fp.prototype._down=function(P){for(var V=this.data,J=this.compare,he=this.length>>1,Ae=V[P];P=0)break;V[P]=Ge,P=Oe}V[P]=Ae};var I1=Number.POSITIVE_INFINITY;function xw(P,V){return V[1]!==I1?function(J,he,Ae){var Oe=0,Ge=0;switch(he=Math.abs(he),Ae=Math.abs(Ae),J){case"top-right":case"top-left":case"top":Ge=Ae-7;break;case"bottom-right":case"bottom-left":case"bottom":Ge=7-Ae}switch(J){case"top-right":case"bottom-right":case"right":Oe=-he;break;case"top-left":case"bottom-left":case"left":Oe=he}return[Oe,Ge]}(P,V[0],V[1]):function(J,he){var Ae=0,Oe=0;he<0&&(he=0);var Ge=he/Math.sqrt(2);switch(J){case"top-right":case"top-left":Oe=Ge-7;break;case"bottom-right":case"bottom-left":Oe=7-Ge;break;case"bottom":Oe=7-he;break;case"top":Oe=he-7}switch(J){case"top-right":case"bottom-right":Ae=-Ge;break;case"top-left":case"bottom-left":Ae=Ge;break;case"left":Ae=he;break;case"right":Ae=-he}return[Ae,Oe]}(P,V[0])}function R1(P){switch(P){case"right":case"top-right":case"bottom-right":return"right";case"left":case"top-left":case"bottom-left":return"left"}return"center"}var kf=32640;function _w(P,V,J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn){var Mn=function(er,sr,fr,Pr,Tr,Nr,Xr,hi){for(var Jr=Pr.layout.get("text-rotate").evaluate(Nr,{})*Math.PI/180,ui=[],ri=0,Kr=sr.positionedLines;rikf&&R(P.layerIds[0]+': Value for "text-size" is >= 255. Reduce your "text-size".'):Nn.kind==="composite"&&((Bn=[Jc*$t.compositeTextSizes[0].evaluate(Ge,{},fn),Jc*$t.compositeTextSizes[1].evaluate(Ge,{},fn)])[0]>kf||Bn[1]>kf)&&R(P.layerIds[0]+': Value for "text-size" is >= 255. Reduce your "text-size".'),P.addSymbols(P.text,Mn,Bn,it,Oe,Ge,Ct,V,pt.lineStartIndex,pt.lineLength,Zt,fn);for(var Wn=0,Zn=Dt;Wn=0;Ge--)if(he.dist(Oe[Ge])0)&&(Oe.value.kind!=="constant"||Oe.value.value.length>0),Ct=it.value.kind!=="constant"||!!it.value.value||Object.keys(it.parameters).length>0,Dt=Ae.get("symbol-sort-key");if(this.features=[],pt||Ct){for(var Gt=V.iconDependencies,Zt=V.glyphDependencies,$t=V.availableImages,fn=new Wi(this.zoom),Mn=0,Nn=P;Mn=0;for(var pi=0,va=Tr.sections;pi=0;it--)Oe[it]={x:V[it].x,y:V[it].y,tileUnitDistanceFromAnchor:Ae},it>0&&(Ae+=V[it-1].dist(V[it]));for(var pt=0;pt0},ha.prototype.hasIconData=function(){return this.icon.segments.get().length>0},ha.prototype.hasDebugData=function(){return this.textCollisionBox&&this.iconCollisionBox},ha.prototype.hasTextCollisionBoxData=function(){return this.hasDebugData()&&this.textCollisionBox.segments.get().length>0},ha.prototype.hasIconCollisionBoxData=function(){return this.hasDebugData()&&this.iconCollisionBox.segments.get().length>0},ha.prototype.addIndicesForPlacedSymbol=function(P,V){for(var J=P.placedSymbolArray.get(V),he=J.vertexStartIndex+4*J.numGlyphs,Ae=J.vertexStartIndex;Ae1||this.icon.segments.get().length>1)){this.symbolInstanceIndexes=this.getSortedSymbolIndexes(P),this.sortedAngle=P,this.text.indexArray.clear(),this.icon.indexArray.clear(),this.featureSortOrder=[];for(var J=0,he=this.symbolInstanceIndexes;J=0&&pt.indexOf(Ge)===it&&V.addIndicesForPlacedSymbol(V.text,Ge)}),Oe.verticalPlacedTextSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.text,Oe.verticalPlacedTextSymbolIndex),Oe.placedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,Oe.placedIconSymbolIndex),Oe.verticalPlacedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,Oe.verticalPlacedIconSymbolIndex)}this.text.indexBuffer&&this.text.indexBuffer.updateData(this.text.indexArray),this.icon.indexBuffer&&this.icon.indexBuffer.updateData(this.icon.indexArray)}},Dr("SymbolBucket",ha,{omit:["layers","collisionBoxArray","features","compareText"]}),ha.MAX_GLYPHS=65535,ha.addDynamicAttributes=P1;var zC=new xo({"symbol-placement":new Hr(Re.layout_symbol["symbol-placement"]),"symbol-spacing":new Hr(Re.layout_symbol["symbol-spacing"]),"symbol-avoid-edges":new Hr(Re.layout_symbol["symbol-avoid-edges"]),"symbol-sort-key":new ni(Re.layout_symbol["symbol-sort-key"]),"symbol-z-order":new Hr(Re.layout_symbol["symbol-z-order"]),"icon-allow-overlap":new Hr(Re.layout_symbol["icon-allow-overlap"]),"icon-ignore-placement":new Hr(Re.layout_symbol["icon-ignore-placement"]),"icon-optional":new Hr(Re.layout_symbol["icon-optional"]),"icon-rotation-alignment":new Hr(Re.layout_symbol["icon-rotation-alignment"]),"icon-size":new ni(Re.layout_symbol["icon-size"]),"icon-text-fit":new Hr(Re.layout_symbol["icon-text-fit"]),"icon-text-fit-padding":new Hr(Re.layout_symbol["icon-text-fit-padding"]),"icon-image":new ni(Re.layout_symbol["icon-image"]),"icon-rotate":new ni(Re.layout_symbol["icon-rotate"]),"icon-padding":new Hr(Re.layout_symbol["icon-padding"]),"icon-keep-upright":new Hr(Re.layout_symbol["icon-keep-upright"]),"icon-offset":new ni(Re.layout_symbol["icon-offset"]),"icon-anchor":new ni(Re.layout_symbol["icon-anchor"]),"icon-pitch-alignment":new Hr(Re.layout_symbol["icon-pitch-alignment"]),"text-pitch-alignment":new Hr(Re.layout_symbol["text-pitch-alignment"]),"text-rotation-alignment":new Hr(Re.layout_symbol["text-rotation-alignment"]),"text-field":new ni(Re.layout_symbol["text-field"]),"text-font":new ni(Re.layout_symbol["text-font"]),"text-size":new ni(Re.layout_symbol["text-size"]),"text-max-width":new ni(Re.layout_symbol["text-max-width"]),"text-line-height":new Hr(Re.layout_symbol["text-line-height"]),"text-letter-spacing":new ni(Re.layout_symbol["text-letter-spacing"]),"text-justify":new ni(Re.layout_symbol["text-justify"]),"text-radial-offset":new ni(Re.layout_symbol["text-radial-offset"]),"text-variable-anchor":new Hr(Re.layout_symbol["text-variable-anchor"]),"text-anchor":new ni(Re.layout_symbol["text-anchor"]),"text-max-angle":new Hr(Re.layout_symbol["text-max-angle"]),"text-writing-mode":new Hr(Re.layout_symbol["text-writing-mode"]),"text-rotate":new ni(Re.layout_symbol["text-rotate"]),"text-padding":new Hr(Re.layout_symbol["text-padding"]),"text-keep-upright":new Hr(Re.layout_symbol["text-keep-upright"]),"text-transform":new ni(Re.layout_symbol["text-transform"]),"text-offset":new ni(Re.layout_symbol["text-offset"]),"text-allow-overlap":new Hr(Re.layout_symbol["text-allow-overlap"]),"text-ignore-placement":new Hr(Re.layout_symbol["text-ignore-placement"]),"text-optional":new Hr(Re.layout_symbol["text-optional"])}),O1={paint:new xo({"icon-opacity":new ni(Re.paint_symbol["icon-opacity"]),"icon-color":new ni(Re.paint_symbol["icon-color"]),"icon-halo-color":new ni(Re.paint_symbol["icon-halo-color"]),"icon-halo-width":new ni(Re.paint_symbol["icon-halo-width"]),"icon-halo-blur":new ni(Re.paint_symbol["icon-halo-blur"]),"icon-translate":new Hr(Re.paint_symbol["icon-translate"]),"icon-translate-anchor":new Hr(Re.paint_symbol["icon-translate-anchor"]),"text-opacity":new ni(Re.paint_symbol["text-opacity"]),"text-color":new ni(Re.paint_symbol["text-color"],{runtimeType:Nt,getOverride:function(P){return P.textColor},hasOverride:function(P){return!!P.textColor}}),"text-halo-color":new ni(Re.paint_symbol["text-halo-color"]),"text-halo-width":new ni(Re.paint_symbol["text-halo-width"]),"text-halo-blur":new ni(Re.paint_symbol["text-halo-blur"]),"text-translate":new Hr(Re.paint_symbol["text-translate"]),"text-translate-anchor":new Hr(Re.paint_symbol["text-translate-anchor"])}),layout:zC},mp=function(P){this.type=P.property.overrides?P.property.overrides.runtimeType:yt,this.defaultValue=P};mp.prototype.evaluate=function(P){if(P.formattedSection){var V=this.defaultValue.property.overrides;if(V&&V.hasOverride(P.formattedSection))return V.getOverride(P.formattedSection)}return P.feature&&P.featureState?this.defaultValue.evaluate(P.feature,P.featureState):this.defaultValue.property.specification.default},mp.prototype.eachChild=function(P){this.defaultValue.isConstant()||P(this.defaultValue.value._styleExpression.expression)},mp.prototype.outputDefined=function(){return!1},mp.prototype.serialize=function(){return null},Dr("FormatSectionOverride",mp,{omit:["defaultValue"]});var FC=function(P){function V(J){P.call(this,J,O1)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.recalculate=function(J,he){if(P.prototype.recalculate.call(this,J,he),this.layout.get("icon-rotation-alignment")==="auto"&&(this.layout.get("symbol-placement")!=="point"?this.layout._values["icon-rotation-alignment"]="map":this.layout._values["icon-rotation-alignment"]="viewport"),this.layout.get("text-rotation-alignment")==="auto"&&(this.layout.get("symbol-placement")!=="point"?this.layout._values["text-rotation-alignment"]="map":this.layout._values["text-rotation-alignment"]="viewport"),this.layout.get("text-pitch-alignment")==="auto"&&(this.layout._values["text-pitch-alignment"]=this.layout.get("text-rotation-alignment")),this.layout.get("icon-pitch-alignment")==="auto"&&(this.layout._values["icon-pitch-alignment"]=this.layout.get("icon-rotation-alignment")),this.layout.get("symbol-placement")==="point"){var Ae=this.layout.get("text-writing-mode");if(Ae){for(var Oe=[],Ge=0,it=Ae;Ge",targetMapId:he,sourceMapId:Oe.mapId})}}},gp.prototype.receive=function(P){var V=P.data,J=V.id;if(J&&(!V.targetMapId||this.mapId===V.targetMapId))if(V.type===""){delete this.tasks[J];var he=this.cancelCallbacks[J];delete this.cancelCallbacks[J],he&&he()}else z()||V.mustQueue?(this.tasks[J]=V,this.taskQueue.push(J),this.invoker.trigger()):this.processTask(J,V)},gp.prototype.process=function(){if(this.taskQueue.length){var P=this.taskQueue.shift(),V=this.tasks[P];delete this.tasks[P],this.taskQueue.length&&this.invoker.trigger(),V&&this.processTask(P,V)}},gp.prototype.processTask=function(P,V){var J=this;if(V.type===""){var he=this.callbacks[P];delete this.callbacks[P],he&&(V.error?he(Fu(V.error)):he(null,Fu(V.data)))}else{var Ae=!1,Oe=N(this.globalScope)?void 0:[],Ge=V.hasCallback?function(Dt,Gt){Ae=!0,delete J.cancelCallbacks[P],J.target.postMessage({id:P,type:"",sourceMapId:J.mapId,error:Dt?zu(Dt):null,data:zu(Gt,Oe)},Oe)}:function(Dt){Ae=!0},it=null,pt=Fu(V.data);if(this.parent[V.type])it=this.parent[V.type](V.sourceMapId,pt,Ge);else if(this.parent.getWorkerSource){var Ct=V.type.split(".");it=this.parent.getWorkerSource(V.sourceMapId,Ct[0],pt.source)[Ct[1]](pt,Ge)}else Ge(new Error("Could not find function "+V.type));!Ae&&it&&it.cancel&&(this.cancelCallbacks[P]=it.cancel)}},gp.prototype.remove=function(){this.invoker.remove(),this.target.removeEventListener("message",this.receive,!1)};var To=function(P,V){P&&(V?this.setSouthWest(P).setNorthEast(V):P.length===4?this.setSouthWest([P[0],P[1]]).setNorthEast([P[2],P[3]]):this.setSouthWest(P[0]).setNorthEast(P[1]))};To.prototype.setNorthEast=function(P){return this._ne=P instanceof Ra?new Ra(P.lng,P.lat):Ra.convert(P),this},To.prototype.setSouthWest=function(P){return this._sw=P instanceof Ra?new Ra(P.lng,P.lat):Ra.convert(P),this},To.prototype.extend=function(P){var V,J,he=this._sw,Ae=this._ne;if(P instanceof Ra)V=P,J=P;else{if(!(P instanceof To)){if(Array.isArray(P)){if(P.length===4||P.every(Array.isArray)){var Oe=P;return this.extend(To.convert(Oe))}var Ge=P;return this.extend(Ra.convert(Ge))}return this}if(V=P._sw,J=P._ne,!V||!J)return this}return he||Ae?(he.lng=Math.min(V.lng,he.lng),he.lat=Math.min(V.lat,he.lat),Ae.lng=Math.max(J.lng,Ae.lng),Ae.lat=Math.max(J.lat,Ae.lat)):(this._sw=new Ra(V.lng,V.lat),this._ne=new Ra(J.lng,J.lat)),this},To.prototype.getCenter=function(){return new Ra((this._sw.lng+this._ne.lng)/2,(this._sw.lat+this._ne.lat)/2)},To.prototype.getSouthWest=function(){return this._sw},To.prototype.getNorthEast=function(){return this._ne},To.prototype.getNorthWest=function(){return new Ra(this.getWest(),this.getNorth())},To.prototype.getSouthEast=function(){return new Ra(this.getEast(),this.getSouth())},To.prototype.getWest=function(){return this._sw.lng},To.prototype.getSouth=function(){return this._sw.lat},To.prototype.getEast=function(){return this._ne.lng},To.prototype.getNorth=function(){return this._ne.lat},To.prototype.toArray=function(){return[this._sw.toArray(),this._ne.toArray()]},To.prototype.toString=function(){return"LngLatBounds("+this._sw.toString()+", "+this._ne.toString()+")"},To.prototype.isEmpty=function(){return!(this._sw&&this._ne)},To.prototype.contains=function(P){var V=Ra.convert(P),J=V.lng,he=V.lat,Ae=this._sw.lat<=he&&he<=this._ne.lat,Oe=this._sw.lng<=J&&J<=this._ne.lng;return this._sw.lng>this._ne.lng&&(Oe=this._sw.lng>=J&&J>=this._ne.lng),Ae&&Oe},To.convert=function(P){return!P||P instanceof To?P:new To(P)};var Cw=63710088e-1,Ra=function(P,V){if(isNaN(P)||isNaN(V))throw new Error("Invalid LngLat object: ("+P+", "+V+")");if(this.lng=+P,this.lat=+V,this.lat>90||this.lat<-90)throw new Error("Invalid LngLat latitude value: must be between -90 and 90")};Ra.prototype.wrap=function(){return new Ra(h(this.lng,-180,180),this.lat)},Ra.prototype.toArray=function(){return[this.lng,this.lat]},Ra.prototype.toString=function(){return"LngLat("+this.lng+", "+this.lat+")"},Ra.prototype.distanceTo=function(P){var V=Math.PI/180,J=this.lat*V,he=P.lat*V,Ae=Math.sin(J)*Math.sin(he)+Math.cos(J)*Math.cos(he)*Math.cos((P.lng-this.lng)*V);return Cw*Math.acos(Math.min(Ae,1))},Ra.prototype.toBounds=function(P){P===void 0&&(P=0);var V=360*P/40075017,J=V/Math.cos(Math.PI/180*this.lat);return new To(new Ra(this.lng-J,this.lat-V),new Ra(this.lng+J,this.lat+V))},Ra.convert=function(P){if(P instanceof Ra)return P;if(Array.isArray(P)&&(P.length===2||P.length===3))return new Ra(Number(P[0]),Number(P[1]));if(!Array.isArray(P)&&typeof P=="object"&&P!==null)return new Ra(Number("lng"in P?P.lng:P.lon),Number(P.lat));throw new Error("`LngLatLike` argument must be specified as a LngLat instance, an object {lng: , lat: }, an object {lon: , lat: }, or an array of [, ]")};var Ew=2*Math.PI*Cw;function Lw(P){return Ew*Math.cos(P*Math.PI/180)}function Iw(P){return(180+P)/360}function Rw(P){return(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+P*Math.PI/360)))/360}function Pw(P,V){return P/Lw(V)}function z1(P){var V=180-360*P;return 360/Math.PI*Math.atan(Math.exp(V*Math.PI/180))-90}var ud=function(P,V,J){J===void 0&&(J=0),this.x=+P,this.y=+V,this.z=+J};ud.fromLngLat=function(P,V){V===void 0&&(V=0);var J=Ra.convert(P);return new ud(Iw(J.lng),Rw(J.lat),Pw(V,J.lat))},ud.prototype.toLngLat=function(){return new Ra(360*this.x-180,z1(this.y))},ud.prototype.toAltitude=function(){return P=this.z,V=this.y,P*Lw(z1(V));var P,V},ud.prototype.meterInMercatorCoordinateUnits=function(){return 1/Ew*(P=z1(this.y),1/Math.cos(P*Math.PI/180));var P};var cd=function(P,V,J){this.z=P,this.x=V,this.y=J,this.key=j0(0,P,P,V,J)};cd.prototype.equals=function(P){return this.z===P.z&&this.x===P.x&&this.y===P.y},cd.prototype.url=function(P,V){var J,he,Ae,Oe,Ge,it=(J=this.x,he=this.y,Ae=this.z,Oe=Sw(256*J,256*(he=Math.pow(2,Ae)-he-1),Ae),Ge=Sw(256*(J+1),256*(he+1),Ae),Oe[0]+","+Oe[1]+","+Ge[0]+","+Ge[1]),pt=function(Ct,Dt,Gt){for(var Zt,$t="",fn=Ct;fn>0;fn--)$t+=(Dt&(Zt=1<this.canonical.z?new ko(P,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y):new ko(P,this.wrap,P,this.canonical.x>>V,this.canonical.y>>V)},ko.prototype.calculateScaledKey=function(P,V){var J=this.canonical.z-P;return P>this.canonical.z?j0(this.wrap*+V,P,this.canonical.z,this.canonical.x,this.canonical.y):j0(this.wrap*+V,P,P,this.canonical.x>>J,this.canonical.y>>J)},ko.prototype.isChildOf=function(P){if(P.wrap!==this.wrap)return!1;var V=this.canonical.z-P.canonical.z;return P.overscaledZ===0||P.overscaledZ>V&&P.canonical.y===this.canonical.y>>V},ko.prototype.children=function(P){if(this.overscaledZ>=P)return[new ko(this.overscaledZ+1,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)];var V=this.canonical.z+1,J=2*this.canonical.x,he=2*this.canonical.y;return[new ko(V,this.wrap,V,J,he),new ko(V,this.wrap,V,J+1,he),new ko(V,this.wrap,V,J,he+1),new ko(V,this.wrap,V,J+1,he+1)]},ko.prototype.isLessThan=function(P){return this.wrapP.wrap)&&(this.overscaledZP.overscaledZ)&&(this.canonical.xP.canonical.x)&&this.canonical.y=this.dim+1||V<-1||V>=this.dim+1)throw new RangeError("out of range source coordinates for DEM data");return(V+1)*this.stride+(P+1)},Bh.prototype._unpackMapbox=function(P,V,J){return(256*P*256+256*V+J)/10-1e4},Bh.prototype._unpackTerrarium=function(P,V,J){return 256*P+V+J/256-32768},Bh.prototype.getPixels=function(){return new Ws({width:this.stride,height:this.stride},new Uint8Array(this.data.buffer))},Bh.prototype.backfillBorder=function(P,V,J){if(this.dim!==P.dim)throw new Error("dem dimension mismatch");var he=V*this.dim,Ae=V*this.dim+this.dim,Oe=J*this.dim,Ge=J*this.dim+this.dim;switch(V){case-1:he=Ae-1;break;case 1:Ae=he+1}switch(J){case-1:Oe=Ge-1;break;case 1:Ge=Oe+1}for(var it=-V*this.dim,pt=-J*this.dim,Ct=Oe;Ct=0&&Dt[3]>=0&&it.insert(Ge,Dt[0],Dt[1],Dt[2],Dt[3])}},Nh.prototype.loadVTLayers=function(){return this.vtLayers||(this.vtLayers=new sp.VectorTile(new _g(this.rawTileData)).layers,this.sourceLayerCoder=new Pg(this.vtLayers?Object.keys(this.vtLayers).sort():["_geojsonTileLayer"])),this.vtLayers},Nh.prototype.query=function(P,V,J,he){var Ae=this;this.loadVTLayers();for(var Oe=P.params||{},Ge=li/P.tileSize/P.scale,it=_c(Oe.filter),pt=P.queryGeometry,Ct=P.queryPadding*Ge,Dt=zw(pt),Gt=this.grid.query(Dt.minX-Ct,Dt.minY-Ct,Dt.maxX+Ct,Dt.maxY+Ct),Zt=zw(P.cameraQueryGeometry),$t=0,fn=this.grid3D.query(Zt.minX-Ct,Zt.minY-Ct,Zt.maxX+Ct,Zt.maxY+Ct,function(er,sr,fr,Pr){return function(Tr,Nr,Xr,hi,Jr){for(var ui=0,ri=Tr;ui=Kr.x&&Jr>=Kr.y)return!0}var Di=[new a(Nr,Xr),new a(Nr,Jr),new a(hi,Jr),new a(hi,Xr)];if(Tr.length>2){for(var pi=0,va=Di;pi=0)return!0;return!1}(Oe,Gt)){var Zt=this.sourceLayerCoder.decode(J),$t=this.vtLayers[Zt].feature(he);if(Ae.filter(new Wi(this.tileID.overscaledZ),$t))for(var fn=this.getId($t,Zt),Mn=0;Mnhe)Ae=!1;else if(V)if(this.expirationTimege&&(P.getActor().send("enforceCacheSizeLimit",je),st=0)},i.clamp=c,i.clearTileCache=function(P){var V=self.caches.delete(ze);P&&V.catch(P).then(function(){return P()})},i.clipLine=vw,i.clone=function(P){var V=new zl(16);return V[0]=P[0],V[1]=P[1],V[2]=P[2],V[3]=P[3],V[4]=P[4],V[5]=P[5],V[6]=P[6],V[7]=P[7],V[8]=P[8],V[9]=P[9],V[10]=P[10],V[11]=P[11],V[12]=P[12],V[13]=P[13],V[14]=P[14],V[15]=P[15],V},i.clone$1=L,i.clone$2=function(P){var V=new zl(3);return V[0]=P[0],V[1]=P[1],V[2]=P[2],V},i.collisionCircleLayout=cC,i.config=Z,i.create=function(){var P=new zl(16);return zl!=Float32Array&&(P[1]=0,P[2]=0,P[3]=0,P[4]=0,P[6]=0,P[7]=0,P[8]=0,P[9]=0,P[11]=0,P[12]=0,P[13]=0,P[14]=0),P[0]=1,P[5]=1,P[10]=1,P[15]=1,P},i.create$1=function(){var P=new zl(9);return zl!=Float32Array&&(P[1]=0,P[2]=0,P[3]=0,P[5]=0,P[6]=0,P[7]=0),P[0]=1,P[4]=1,P[8]=1,P},i.create$2=function(){var P=new zl(4);return zl!=Float32Array&&(P[1]=0,P[2]=0),P[0]=1,P[3]=1,P},i.createCommonjsModule=M,i.createExpression=mc,i.createLayout=la,i.createStyleLayer=function(P){return P.type==="custom"?new UC(P):new HC[P.type](P)},i.cross=function(P,V,J){var he=V[0],Ae=V[1],Oe=V[2],Ge=J[0],it=J[1],pt=J[2];return P[0]=Ae*pt-Oe*it,P[1]=Oe*Ge-he*pt,P[2]=he*it-Ae*Ge,P},i.deepEqual=function P(V,J){if(Array.isArray(V)){if(!Array.isArray(J)||V.length!==J.length)return!1;for(var he=0;he0&&(Oe=1/Math.sqrt(Oe)),P[0]=V[0]*Oe,P[1]=V[1]*Oe,P[2]=V[2]*Oe,P},i.number=zr,i.offscreenCanvasSupported=ot,i.ortho=function(P,V,J,he,Ae,Oe,Ge){var it=1/(V-J),pt=1/(he-Ae),Ct=1/(Oe-Ge);return P[0]=-2*it,P[1]=0,P[2]=0,P[3]=0,P[4]=0,P[5]=-2*pt,P[6]=0,P[7]=0,P[8]=0,P[9]=0,P[10]=2*Ct,P[11]=0,P[12]=(V+J)*it,P[13]=(Ae+he)*pt,P[14]=(Ge+Oe)*Ct,P[15]=1,P},i.parseGlyphPBF=function(P){return new _g(P).readFields(_C,[])},i.pbf=_g,i.performSymbolLayout=function(P,V,J,he,Ae,Oe,Ge){P.createArrays();var it=512*P.overscaling;P.tilePixelRatio=li/it,P.compareText={},P.iconsNeedLinear=!1;var pt=P.layers[0].layout,Ct=P.layers[0]._unevaluatedLayout._values,Dt={};if(P.textSizeData.kind==="composite"){var Gt=P.textSizeData,Zt=Gt.minZoom,$t=Gt.maxZoom;Dt.compositeTextSizes=[Ct["text-size"].possiblyEvaluate(new Wi(Zt),Ge),Ct["text-size"].possiblyEvaluate(new Wi($t),Ge)]}if(P.iconSizeData.kind==="composite"){var fn=P.iconSizeData,Mn=fn.minZoom,Nn=fn.maxZoom;Dt.compositeIconSizes=[Ct["icon-size"].possiblyEvaluate(new Wi(Mn),Ge),Ct["icon-size"].possiblyEvaluate(new Wi(Nn),Ge)]}Dt.layoutTextSize=Ct["text-size"].possiblyEvaluate(new Wi(P.zoom+1),Ge),Dt.layoutIconSize=Ct["icon-size"].possiblyEvaluate(new Wi(P.zoom+1),Ge),Dt.textMaxSize=Ct["text-size"].possiblyEvaluate(new Wi(18));for(var Bn=pt.get("text-line-height")*ss,Wn=pt.get("text-rotation-alignment")==="map"&&pt.get("symbol-placement")!=="point",Zn=pt.get("text-keep-upright"),er=pt.get("text-size"),sr=function(){var Tr=Pr[fr],Nr=pt.get("text-font").evaluate(Tr,{},Ge).join(","),Xr=er.evaluate(Tr,{},Ge),hi=Dt.layoutTextSize.evaluate(Tr,{},Ge),Jr=Dt.layoutIconSize.evaluate(Tr,{},Ge),ui={horizontal:{},vertical:void 0},ri=Tr.text,Kr=[0,0];if(ri){var Di=ri.toString(),pi=pt.get("text-letter-spacing").evaluate(Tr,{},Ge)*ss,va=function(mi){for(var Gi=0,Ka=mi;Gi=li||X0.y<0||X0.y>=li||function(ro,Cc,WC,Af,q1,Uw,Gg,Qc,qg,K0,Wg,Yg,W1,Hw,J0,Gw,qw,Ww,Yw,$w,Bl,$g,Zw,eh,YC){var Xw,gd,_p,wp,Tp,kp=ro.addToLineVertexArray(Cc,WC),Kw=0,Jw=0,Qw=0,e3=0,Y1=-1,$1=-1,jh={},t3=Fn(""),Z1=0,X1=0;if(Qc._unevaluatedLayout.getValue("text-radial-offset")===void 0?(Z1=(Xw=Qc.layout.get("text-offset").evaluate(Bl,{},eh).map(function(em){return em*ss}))[0],X1=Xw[1]):(Z1=Qc.layout.get("text-radial-offset").evaluate(Bl,{},eh)*ss,X1=I1),ro.allowVerticalPlacement&&Af.vertical){var n3=Qc.layout.get("text-rotate").evaluate(Bl,{},eh)+90,$C=Af.vertical;wp=new Lg(qg,Cc,K0,Wg,Yg,$C,W1,Hw,J0,n3),Gg&&(Tp=new Lg(qg,Cc,K0,Wg,Yg,Gg,qw,Ww,J0,n3))}if(q1){var K1=Qc.layout.get("icon-rotate").evaluate(Bl,{}),r3=Qc.layout.get("icon-text-fit")!=="none",i3=yw(q1,K1,Zw,r3),J1=Gg?yw(Gg,K1,Zw,r3):void 0;_p=new Lg(qg,Cc,K0,Wg,Yg,q1,qw,Ww,!1,K1),Kw=4*i3.length;var a3=ro.iconSizeData,Q0=null;a3.kind==="source"?(Q0=[Jc*Qc.layout.get("icon-size").evaluate(Bl,{})])[0]>kf&&R(ro.layerIds[0]+': Value for "icon-size" is >= 255. Reduce your "icon-size".'):a3.kind==="composite"&&((Q0=[Jc*$g.compositeIconSizes[0].evaluate(Bl,{},eh),Jc*$g.compositeIconSizes[1].evaluate(Bl,{},eh)])[0]>kf||Q0[1]>kf)&&R(ro.layerIds[0]+': Value for "icon-size" is >= 255. Reduce your "icon-size".'),ro.addSymbols(ro.icon,i3,Q0,$w,Yw,Bl,!1,Cc,kp.lineStartIndex,kp.lineLength,-1,eh),Y1=ro.icon.placedSymbolArray.length-1,J1&&(Jw=4*J1.length,ro.addSymbols(ro.icon,J1,Q0,$w,Yw,Bl,Fl.vertical,Cc,kp.lineStartIndex,kp.lineLength,-1,eh),$1=ro.icon.placedSymbolArray.length-1)}for(var o3 in Af.horizontal){var Zg=Af.horizontal[o3];if(!gd){t3=Fn(Zg.text);var ZC=Qc.layout.get("text-rotate").evaluate(Bl,{},eh);gd=new Lg(qg,Cc,K0,Wg,Yg,Zg,W1,Hw,J0,ZC)}var s3=Zg.positionedLines.length===1;if(Qw+=_w(ro,Cc,Zg,Uw,Qc,J0,Bl,Gw,kp,Af.vertical?Fl.horizontal:Fl.horizontalOnly,s3?Object.keys(Af.horizontal):[o3],jh,Y1,$g,eh),s3)break}Af.vertical&&(e3+=_w(ro,Cc,Af.vertical,Uw,Qc,J0,Bl,Gw,kp,Fl.vertical,["vertical"],jh,$1,$g,eh));var XC=gd?gd.boxStartIndex:ro.collisionBoxArray.length,KC=gd?gd.boxEndIndex:ro.collisionBoxArray.length,JC=wp?wp.boxStartIndex:ro.collisionBoxArray.length,QC=wp?wp.boxEndIndex:ro.collisionBoxArray.length,e8=_p?_p.boxStartIndex:ro.collisionBoxArray.length,t8=_p?_p.boxEndIndex:ro.collisionBoxArray.length,n8=Tp?Tp.boxStartIndex:ro.collisionBoxArray.length,r8=Tp?Tp.boxEndIndex:ro.collisionBoxArray.length,th=-1,Xg=function(em,u3){return em&&em.circleDiameter?Math.max(em.circleDiameter,u3):u3};th=Xg(gd,th),th=Xg(wp,th),th=Xg(_p,th);var l3=(th=Xg(Tp,th))>-1?1:0;l3&&(th*=YC/ss),ro.glyphOffsetArray.length>=ha.MAX_GLYPHS&&R("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"),Bl.sortKey!==void 0&&ro.addToSortKeyRanges(ro.symbolInstances.length,Bl.sortKey),ro.symbolInstances.emplaceBack(Cc.x,Cc.y,jh.right>=0?jh.right:-1,jh.center>=0?jh.center:-1,jh.left>=0?jh.left:-1,jh.vertical||-1,Y1,$1,t3,XC,KC,JC,QC,e8,t8,n8,r8,K0,Qw,e3,Kw,Jw,l3,0,W1,Z1,X1,th)}(mi,X0,qC,Ka,ma,Ga,Vh,mi.layers[0],mi.collisionBoxArray,Gi.index,Gi.sourceLayerIndex,mi.index,Dg,B1,Bg,Ds,zg,Fg,Ng,Sc,Gi,Oa,dl,ks,$i)};if(H0==="line")for(var bp=0,Vg=vw(Gi.geometry,0,0,li,li);bp1){var Y0=SC(pd,yp,Ka.vertical||Uu,ma,Hu,fd);Y0&&dd(pd,Y0)}}else if(Gi.type==="Polygon")for(var md=0,$0=w1(Gi.geometry,0);md<$0.length;md+=1){var Z0=$0[md],Bw=LC(Z0,16);dd(Z0[0],new hp(Bw.x,Bw.y,0))}else if(Gi.type==="LineString")for(var V1=0,Nw=Gi.geometry;V1=An.maxzoom||An.visibility!=="none"&&(u(un,this.zoom,qe),(Lt[An.id]=An.createBucket({index:Qe.bucketLayerIDs.length,layers:un,zoom:this.zoom,pixelRatio:this.pixelRatio,overscaling:this.overscaling,collisionBoxArray:this.collisionBoxArray,sourceLayerIndex:Nt,sourceID:this.source})).populate(Yt,yt,this.tileID.canonical),Qe.bucketLayerIDs.push(un.map(function(dn){return dn.id})))}}}var Yn=i.mapObject(yt.glyphDependencies,function(dn){return Object.keys(dn).map(Number)});Object.keys(Yn).length?nt.send("getGlyphs",{uid:this.uid,stacks:Yn},function(dn,pn){ut||(ut=dn,dt=pn,Tn.call(Re))}):dt={};var kn=Object.keys(yt.iconDependencies);kn.length?nt.send("getImages",{icons:kn,source:this.source,tileID:this.tileID,type:"icons"},function(dn,pn){ut||(ut=dn,_t=pn,Tn.call(Re))}):_t={};var sn=Object.keys(yt.patternDependencies);function Tn(){if(ut)return ft(ut);if(dt&&_t&&It){var dn=new l(dt),pn=new i.ImageAtlas(_t,It);for(var Dn in Lt){var In=Lt[Dn];In instanceof i.SymbolBucket?(u(In.layers,this.zoom,qe),i.performSymbolLayout(In,dt,dn.positions,_t,pn.iconPositions,this.showCollisionBoxes,this.tileID.canonical)):In.hasPattern&&(In instanceof i.LineBucket||In instanceof i.FillBucket||In instanceof i.FillExtrusionBucket)&&(u(In.layers,this.zoom,qe),In.addFeatures(yt,this.tileID.canonical,pn.patternPositions))}this.status="done",ft(null,{buckets:i.values(Lt).filter(function(jn){return!jn.isEmpty()}),featureIndex:Qe,collisionBoxArray:this.collisionBoxArray,glyphAtlasImage:dn.image,imageAtlas:pn,glyphMap:this.returnDependencies?dt:null,iconMap:this.returnDependencies?_t:null,glyphPositions:this.returnDependencies?dn.positions:null})}}sn.length?nt.send("getImages",{icons:sn,source:this.source,tileID:this.tileID,type:"patterns"},function(dn,pn){ut||(ut=dn,It=pn,Tn.call(Re))}):It={},Tn.call(this)};var s=function(Ke,Je,qe,nt){this.actor=Ke,this.layerIndex=Je,this.availableImages=qe,this.loadVectorData=nt||o,this.loading={},this.loaded={}};s.prototype.loadTile=function(Ke,Je){var qe=this,nt=Ke.uid;this.loading||(this.loading={});var ft=!!(Ke&&Ke.request&&Ke.request.collectResourceTiming)&&new i.RequestPerformance(Ke.request),Re=this.loading[nt]=new a(Ke);Re.abort=this.loadVectorData(Ke,function(Ne,Qe){if(delete qe.loading[nt],Ne||!Qe)return Re.status="done",qe.loaded[nt]=Re,Je(Ne);var ut=Qe.rawData,dt={};Qe.expires&&(dt.expires=Qe.expires),Qe.cacheControl&&(dt.cacheControl=Qe.cacheControl);var _t={};if(ft){var It=ft.finish();It&&(_t.resourceTiming=JSON.parse(JSON.stringify(It)))}Re.vectorTile=Qe.vectorTile,Re.parse(Qe.vectorTile,qe.layerIndex,qe.availableImages,qe.actor,function(Lt,yt){if(Lt||!yt)return Je(Lt);Je(null,i.extend({rawTileData:ut.slice(0)},yt,dt,_t))}),qe.loaded=qe.loaded||{},qe.loaded[nt]=Re})},s.prototype.reloadTile=function(Ke,Je){var qe=this,nt=this.loaded,ft=Ke.uid,Re=this;if(nt&&nt[ft]){var Ne=nt[ft];Ne.showCollisionBoxes=Ke.showCollisionBoxes;var Qe=function(ut,dt){var _t=Ne.reloadCallback;_t&&(delete Ne.reloadCallback,Ne.parse(Ne.vectorTile,Re.layerIndex,qe.availableImages,Re.actor,_t)),Je(ut,dt)};Ne.status==="parsing"?Ne.reloadCallback=Qe:Ne.status==="done"&&(Ne.vectorTile?Ne.parse(Ne.vectorTile,this.layerIndex,this.availableImages,this.actor,Qe):Qe())}},s.prototype.abortTile=function(Ke,Je){var qe=this.loading,nt=Ke.uid;qe&&qe[nt]&&qe[nt].abort&&(qe[nt].abort(),delete qe[nt]),Je()},s.prototype.removeTile=function(Ke,Je){var qe=this.loaded,nt=Ke.uid;qe&&qe[nt]&&delete qe[nt],Je()};var c=i.window.ImageBitmap,h=function(){this.loaded={}};h.prototype.loadTile=function(Ke,Je){var qe=Ke.uid,nt=Ke.encoding,ft=Ke.rawImageData,Re=c&&ft instanceof c?this.getImageData(ft):ft,Ne=new i.DEMData(qe,Re,nt);this.loaded=this.loaded||{},this.loaded[qe]=Ne,Je(null,Ne)},h.prototype.getImageData=function(Ke){this.offscreenCanvas&&this.offscreenCanvasContext||(this.offscreenCanvas=new OffscreenCanvas(Ke.width,Ke.height),this.offscreenCanvasContext=this.offscreenCanvas.getContext("2d")),this.offscreenCanvas.width=Ke.width,this.offscreenCanvas.height=Ke.height,this.offscreenCanvasContext.drawImage(Ke,0,0,Ke.width,Ke.height);var Je=this.offscreenCanvasContext.getImageData(-1,-1,Ke.width+2,Ke.height+2);return this.offscreenCanvasContext.clearRect(0,0,this.offscreenCanvas.width,this.offscreenCanvas.height),new i.RGBAImage({width:Je.width,height:Je.height},Je.data)},h.prototype.removeTile=function(Ke){var Je=this.loaded,qe=Ke.uid;Je&&Je[qe]&&delete Je[qe]};var m=function Ke(Je,qe){var nt,ft=Je&&Je.type;if(ft==="FeatureCollection")for(nt=0;nt=0!=!!Je&&Ke.reverse()}var S=i.vectorTile.VectorTileFeature.prototype.toGeoJSON,_=function(Ke){this._feature=Ke,this.extent=i.EXTENT,this.type=Ke.type,this.properties=Ke.tags,"id"in Ke&&!isNaN(Ke.id)&&(this.id=parseInt(Ke.id,10))};_.prototype.loadGeometry=function(){if(this._feature.type===1){for(var Ke=[],Je=0,qe=this._feature.geometry;Je>31}function $(Ke,Je){for(var qe=Ke.loadGeometry(),nt=Ke.type,ft=0,Re=0,Ne=qe.length,Qe=0;Qe>1;q(Ke,Je,Ne,nt,ft,Re%2),G(Ke,Je,qe,nt,Ne-1,Re+1),G(Ke,Je,qe,Ne+1,ft,Re+1)}}function q(Ke,Je,qe,nt,ft,Re){for(;ft>nt;){if(ft-nt>600){var Ne=ft-nt+1,Qe=qe-nt+1,ut=Math.log(Ne),dt=.5*Math.exp(2*ut/3),_t=.5*Math.sqrt(ut*dt*(Ne-dt)/Ne)*(Qe-Ne/2<0?-1:1);q(Ke,Je,qe,Math.max(nt,Math.floor(qe-Qe*dt/Ne+_t)),Math.min(ft,Math.floor(qe+(Ne-Qe)*dt/Ne+_t)),Re)}var It=Je[2*qe+Re],Lt=nt,yt=ft;for(H(Ke,Je,nt,qe),Je[2*ft+Re]>It&&H(Ke,Je,nt,ft);LtIt;)yt--}Je[2*nt+Re]===It?H(Ke,Je,nt,yt):H(Ke,Je,++yt,ft),yt<=qe&&(nt=yt+1),qe<=yt&&(ft=yt-1)}}function H(Ke,Je,qe,nt){ne(Ke,qe,nt),ne(Je,2*qe,2*nt),ne(Je,2*qe+1,2*nt+1)}function ne(Ke,Je,qe){var nt=Ke[Je];Ke[Je]=Ke[qe],Ke[qe]=nt}function te(Ke,Je,qe,nt){var ft=Ke-qe,Re=Je-nt;return ft*ft+Re*Re}b.fromVectorTileJs=R,b.fromGeojsonVt=I,b.GeoJSONWrapper=O;var Z=function(Ke){return Ke[0]},X=function(Ke){return Ke[1]},Q=function(Ke,Je,qe,nt,ft){Je===void 0&&(Je=Z),qe===void 0&&(qe=X),nt===void 0&&(nt=64),ft===void 0&&(ft=Float64Array),this.nodeSize=nt,this.points=Ke;for(var Re=Ke.length<65536?Uint16Array:Uint32Array,Ne=this.ids=new Re(Ke.length),Qe=this.coords=new ft(2*Ke.length),ut=0;ut=Ne&&It<=ut&&Lt>=Qe&&Lt<=dt&&Pt.push(ft[Yt]);else{var Wt=Math.floor((Nt+Rt)/2);It=Re[2*Wt],Lt=Re[2*Wt+1],It>=Ne&&It<=ut&&Lt>=Qe&&Lt<=dt&&Pt.push(ft[Wt]);var Xt=(wt+1)%2;(wt===0?Ne<=It:Qe<=Lt)&&(yt.push(Nt),yt.push(Wt-1),yt.push(Xt)),(wt===0?ut>=It:dt>=Lt)&&(yt.push(Wt+1),yt.push(Rt),yt.push(Xt))}}return Pt}(this.ids,this.coords,Ke,Je,qe,nt,this.nodeSize)},Q.prototype.within=function(Ke,Je,qe){return function(nt,ft,Re,Ne,Qe,ut){for(var dt=[0,nt.length-1,0],_t=[],It=Qe*Qe;dt.length;){var Lt=dt.pop(),yt=dt.pop(),Pt=dt.pop();if(yt-Pt<=ut)for(var wt=Pt;wt<=yt;wt++)te(ft[2*wt],ft[2*wt+1],Re,Ne)<=It&&_t.push(nt[wt]);else{var Rt=Math.floor((Pt+yt)/2),Nt=ft[2*Rt],Yt=ft[2*Rt+1];te(Nt,Yt,Re,Ne)<=It&&_t.push(nt[Rt]);var Wt=(Lt+1)%2;(Lt===0?Re-Qe<=Nt:Ne-Qe<=Yt)&&(dt.push(Pt),dt.push(Rt-1),dt.push(Wt)),(Lt===0?Re+Qe>=Nt:Ne+Qe>=Yt)&&(dt.push(Rt+1),dt.push(yt),dt.push(Wt))}}return _t}(this.ids,this.coords,Ke,Je,qe,this.nodeSize)};var re={minZoom:0,maxZoom:16,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:function(Ke){return Ke}},ie=function(Ke){this.options=pe(Object.create(re),Ke),this.trees=new Array(this.options.maxZoom+1)};function oe(Ke,Je,qe,nt,ft){return{x:Ke,y:Je,zoom:1/0,id:qe,parentId:-1,numPoints:nt,properties:ft}}function ue(Ke,Je){var qe=Ke.geometry.coordinates,nt=qe[0],ft=qe[1];return{x:de(nt),y:me(ft),zoom:1/0,index:Je,parentId:-1}}function ce(Ke){return{type:"Feature",id:Ke.id,properties:ye(Ke),geometry:{type:"Point",coordinates:[(nt=Ke.x,360*(nt-.5)),(Je=Ke.y,qe=(180-360*Je)*Math.PI/180,360*Math.atan(Math.exp(qe))/Math.PI-90)]}};var Je,qe,nt}function ye(Ke){var Je=Ke.numPoints,qe=Je>=1e4?Math.round(Je/1e3)+"k":Je>=1e3?Math.round(Je/100)/10+"k":Je;return pe(pe({},Ke.properties),{cluster:!0,cluster_id:Ke.id,point_count:Je,point_count_abbreviated:qe})}function de(Ke){return Ke/360+.5}function me(Ke){var Je=Math.sin(Ke*Math.PI/180),qe=.5-.25*Math.log((1+Je)/(1-Je))/Math.PI;return qe<0?0:qe>1?1:qe}function pe(Ke,Je){for(var qe in Je)Ke[qe]=Je[qe];return Ke}function xe(Ke){return Ke.x}function Pe(Ke){return Ke.y}function _e(Ke,Je,qe,nt){for(var ft,Re=nt,Ne=qe-Je>>1,Qe=qe-Je,ut=Ke[Je],dt=Ke[Je+1],_t=Ke[qe],It=Ke[qe+1],Lt=Je+3;LtRe)ft=Lt,Re=yt;else if(yt===Re){var Pt=Math.abs(Lt-Ne);Ptnt&&(ft-Je>3&&_e(Ke,Je,ft,nt),Ke[ft+2]=Re,qe-ft>3&&_e(Ke,ft,qe,nt))}function Me(Ke,Je,qe,nt,ft,Re){var Ne=ft-qe,Qe=Re-nt;if(Ne!==0||Qe!==0){var ut=((Ke-qe)*Ne+(Je-nt)*Qe)/(Ne*Ne+Qe*Qe);ut>1?(qe=ft,nt=Re):ut>0&&(qe+=Ne*ut,nt+=Qe*ut)}return(Ne=Ke-qe)*Ne+(Qe=Je-nt)*Qe}function Se(Ke,Je,qe,nt){var ft={id:Ke===void 0?null:Ke,type:Je,geometry:qe,tags:nt,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};return function(Re){var Ne=Re.geometry,Qe=Re.type;if(Qe==="Point"||Qe==="MultiPoint"||Qe==="LineString")Ce(Re,Ne);else if(Qe==="Polygon"||Qe==="MultiLineString")for(var ut=0;ut0&&(Ne+=nt?(ft*dt-ut*Re)/2:Math.sqrt(Math.pow(ut-ft,2)+Math.pow(dt-Re,2))),ft=ut,Re=dt}var _t=Je.length-3;Je[2]=1,_e(Je,0,_t,qe),Je[_t+2]=1,Je.size=Math.abs(Ne),Je.start=0,Je.end=Je.size}function ke(Ke,Je,qe,nt){for(var ft=0;ft1?1:qe}function ze(Ke,Je,qe,nt,ft,Re,Ne,Qe){if(nt/=Je,Re>=(qe/=Je)&&Ne=nt)return null;for(var ut=[],dt=0;dt=qe&&Pt=nt)){var wt=[];if(Lt==="Point"||Lt==="MultiPoint")je(It,wt,qe,nt,ft);else if(Lt==="LineString")ge(It,wt,qe,nt,ft,!1,Qe.lineMetrics);else if(Lt==="MultiLineString")Ee(It,wt,qe,nt,ft,!1);else if(Lt==="Polygon")Ee(It,wt,qe,nt,ft,!0);else if(Lt==="MultiPolygon")for(var Rt=0;Rt=qe&&Ne<=nt&&(Je.push(Ke[Re]),Je.push(Ke[Re+1]),Je.push(Ke[Re+2]))}}function ge(Ke,Je,qe,nt,ft,Re,Ne){for(var Qe,ut,dt=we(Ke),_t=ft===0?$e:Ye,It=Ke.start,Lt=0;Ltqe&&(ut=_t(dt,yt,Pt,Rt,Nt,qe),Ne&&(dt.start=It+Qe*ut)):Yt>nt?Wt=qe&&(ut=_t(dt,yt,Pt,Rt,Nt,qe),Xt=!0),Wt>nt&&Yt<=nt&&(ut=_t(dt,yt,Pt,Rt,Nt,nt),Xt=!0),!Re&&Xt&&(Ne&&(dt.end=It+Qe*ut),Je.push(dt),dt=we(Ke)),Ne&&(It+=Qe)}var Qt=Ke.length-3;yt=Ke[Qt],Pt=Ke[Qt+1],wt=Ke[Qt+2],(Yt=ft===0?yt:Pt)>=qe&&Yt<=nt&&Ve(dt,yt,Pt,wt),Qt=dt.length-3,Re&&Qt>=3&&(dt[Qt]!==dt[0]||dt[Qt+1]!==dt[1])&&Ve(dt,dt[0],dt[1],dt[2]),dt.length&&Je.push(dt)}function we(Ke){var Je=[];return Je.size=Ke.size,Je.start=Ke.start,Je.end=Ke.end,Je}function Ee(Ke,Je,qe,nt,ft,Re){for(var Ne=0;NeNe.maxX&&(Ne.maxX=_t),It>Ne.maxY&&(Ne.maxY=It)}return Ne}function kt(Ke,Je,qe,nt){var ft=Je.geometry,Re=Je.type,Ne=[];if(Re==="Point"||Re==="MultiPoint")for(var Qe=0;Qe0&&Je.size<(ft?Ne:nt))qe.numPoints+=Je.length/3;else{for(var Qe=[],ut=0;utNe)&&(qe.numSimplified++,Qe.push(Je[ut]),Qe.push(Je[ut+1])),qe.numPoints++;ft&&function(dt,_t){for(var It=0,Lt=0,yt=dt.length,Pt=yt-2;Lt0===_t)for(Lt=0,yt=dt.length;Lt24)throw new Error("maxZoom should be in the 0-24 range");if(Je.promoteId&&Je.generateId)throw new Error("promoteId and generateId cannot be used together.");var nt=function(ft,Re){var Ne=[];if(ft.type==="FeatureCollection")for(var Qe=0;Qe=nt;dt--){var _t=+Date.now();Qe=this._cluster(Qe,dt),this.trees[dt]=new Q(Qe,xe,Pe,Re,Float32Array),qe&&console.log("z%d: %d clusters in %dms",dt,Qe.length,+Date.now()-_t)}return qe&&console.timeEnd("total time"),this},ie.prototype.getClusters=function(Ke,Je){var qe=((Ke[0]+180)%360+360)%360-180,nt=Math.max(-90,Math.min(90,Ke[1])),ft=Ke[2]===180?180:((Ke[2]+180)%360+360)%360-180,Re=Math.max(-90,Math.min(90,Ke[3]));if(Ke[2]-Ke[0]>=360)qe=-180,ft=180;else if(qe>ft){var Ne=this.getClusters([qe,nt,180,Re],Je),Qe=this.getClusters([-180,nt,ft,Re],Je);return Ne.concat(Qe)}for(var ut=this.trees[this._limitZoom(Je)],dt=[],_t=0,It=ut.range(de(qe),me(Re),de(ft),me(nt));_t1?this._map(dt,!0):null,Rt=(ut<<5)+(Je+1)+this.points.length,Nt=0,Yt=It;Nt>5},ie.prototype._getOriginZoom=function(Ke){return(Ke-this.points.length)%32},ie.prototype._map=function(Ke,Je){if(Ke.numPoints)return Je?pe({},Ke.properties):Ke.properties;var qe=this.points[Ke.index].properties,nt=this.options.map(qe);return Je&&nt===qe?pe({},nt):nt},Ft.prototype.options={maxZoom:14,indexMaxZoom:5,indexMaxPoints:1e5,tolerance:3,extent:4096,buffer:64,lineMetrics:!1,promoteId:null,generateId:!1,debug:0},Ft.prototype.splitTile=function(Ke,Je,qe,nt,ft,Re,Ne){for(var Qe=[Ke,Je,qe,nt],ut=this.options,dt=ut.debug;Qe.length;){nt=Qe.pop(),qe=Qe.pop(),Je=Qe.pop(),Ke=Qe.pop();var _t=1<1&&console.time("creation"),Lt=this.tiles[It]=Et(Ke,Je,qe,nt,ut),this.tileCoords.push({z:Je,x:qe,y:nt}),dt)){dt>1&&(console.log("tile z%d-%d-%d (features: %d, points: %d, simplified: %d)",Je,qe,nt,Lt.numFeatures,Lt.numPoints,Lt.numSimplified),console.timeEnd("creation"));var yt="z"+Je;this.stats[yt]=(this.stats[yt]||0)+1,this.total++}if(Lt.source=Ke,ft){if(Je===ut.maxZoom||Je===ft)continue;var Pt=1<1&&console.time("clipping");var wt,Rt,Nt,Yt,Wt,Xt,Qt=.5*ut.buffer/ut.extent,rn=.5-Qt,xn=.5+Qt,un=1+Qt;wt=Rt=Nt=Yt=null,Wt=ze(Ke,_t,qe-Qt,qe+xn,0,Lt.minX,Lt.maxX,ut),Xt=ze(Ke,_t,qe+rn,qe+un,0,Lt.minX,Lt.maxX,ut),Ke=null,Wt&&(wt=ze(Wt,_t,nt-Qt,nt+xn,1,Lt.minY,Lt.maxY,ut),Rt=ze(Wt,_t,nt+rn,nt+un,1,Lt.minY,Lt.maxY,ut),Wt=null),Xt&&(Nt=ze(Xt,_t,nt-Qt,nt+xn,1,Lt.minY,Lt.maxY,ut),Yt=ze(Xt,_t,nt+rn,nt+un,1,Lt.minY,Lt.maxY,ut),Xt=null),dt>1&&console.timeEnd("clipping"),Qe.push(wt||[],Je+1,2*qe,2*nt),Qe.push(Rt||[],Je+1,2*qe,2*nt+1),Qe.push(Nt||[],Je+1,2*qe+1,2*nt),Qe.push(Yt||[],Je+1,2*qe+1,2*nt+1)}}},Ft.prototype.getTile=function(Ke,Je,qe){var nt=this.options,ft=nt.extent,Re=nt.debug;if(Ke<0||Ke>24)return null;var Ne=1<1&&console.log("drilling down to z%d-%d-%d",Ke,Je,qe);for(var ut,dt=Ke,_t=Je,It=qe;!ut&&dt>0;)dt--,_t=Math.floor(_t/2),It=Math.floor(It/2),ut=this.tiles[Ot(dt,_t,It)];return ut&&ut.source?(Re>1&&console.log("found parent tile z%d-%d-%d",dt,_t,It),Re>1&&console.time("drilling down"),this.splitTile(ut.source,dt,_t,It,Ke,Je,qe),Re>1&&console.timeEnd("drilling down"),this.tiles[Qe]?ht(this.tiles[Qe],ft):null):null};var qt=function(Ke){function Je(qe,nt,ft,Re){Ke.call(this,qe,nt,ft,Bt),Re&&(this.loadGeoJSON=Re)}return Ke&&(Je.__proto__=Ke),Je.prototype=Object.create(Ke&&Ke.prototype),Je.prototype.constructor=Je,Je.prototype.loadData=function(qe,nt){this._pendingCallback&&this._pendingCallback(null,{abandoned:!0}),this._pendingCallback=nt,this._pendingLoadDataParams=qe,this._state&&this._state!=="Idle"?this._state="NeedsLoadData":(this._state="Coalescing",this._loadData())},Je.prototype._loadData=function(){var qe=this;if(this._pendingCallback&&this._pendingLoadDataParams){var nt=this._pendingCallback,ft=this._pendingLoadDataParams;delete this._pendingCallback,delete this._pendingLoadDataParams;var Re=!!(ft&&ft.request&&ft.request.collectResourceTiming)&&new i.RequestPerformance(ft.request);this.loadGeoJSON(ft,function(Ne,Qe){if(Ne||!Qe)return nt(Ne);if(typeof Qe!="object")return nt(new Error("Input data given to '"+ft.source+"' is not a valid GeoJSON object."));m(Qe,!0);try{qe._geoJSONIndex=ft.cluster?new ie(function(_t){var It=_t.superclusterOptions,Lt=_t.clusterProperties;if(!Lt||!It)return It;for(var yt={},Pt={},wt={accumulated:null,zoom:0},Rt={properties:null},Nt=Object.keys(Lt),Yt=0,Wt=Nt;Yt=0?0:Y.button},v.remove=function(Y){Y.parentNode&&Y.parentNode.removeChild(Y)};var w=function(Y){function ee(){Y.call(this),this.images={},this.updatedImages={},this.callbackDispatchedThisFrame={},this.loaded=!1,this.requestors=[],this.patterns={},this.atlasImage=new i.RGBAImage({width:1,height:1}),this.dirty=!0}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee.prototype.isLoaded=function(){return this.loaded},ee.prototype.setLoaded=function(K){if(this.loaded!==K&&(this.loaded=K,K)){for(var le=0,Te=this.requestors;le=0?1.2:1))}function E(Y,ee,K,le,Te,De,He){for(var Ze=0;Ze65535)Tt(new Error("glyphs > 65535 not supported"));else if(ve.ranges[Fe])Tt(null,{stack:At,id:se,glyph:Ie});else{var Ue=ve.requests[Fe];Ue||(Ue=ve.requests[Fe]=[],A.loadGlyphRange(At,Fe,K.url,K.requestManager,function(We,Xe){if(Xe){for(var tt in Xe)K._doesCharSupportLocalGlyph(+tt)||(ve.glyphs[+tt]=Xe[+tt]);ve.ranges[Fe]=!0}for(var lt=0,mt=Ue;lt1&&(at=Y[++Ze]);var At=Math.abs(Tt-at.left),se=Math.abs(Tt-at.right),ve=Math.min(At,se),Ie=void 0,Fe=Te/K*(le+1);if(at.isDash){var Ue=le-Math.abs(Fe);Ie=Math.sqrt(ve*ve+Ue*Ue)}else Ie=le-Math.sqrt(ve*ve+Fe*Fe);this.data[He+Tt]=Math.max(0,Math.min(255,Ie+128))}},O.prototype.addRegularDash=function(Y){for(var ee=Y.length-1;ee>=0;--ee){var K=Y[ee],le=Y[ee+1];K.zeroLength?Y.splice(ee,1):le&&le.isDash===K.isDash&&(le.left=K.left,Y.splice(ee,1))}var Te=Y[0],De=Y[Y.length-1];Te.isDash===De.isDash&&(Te.left=De.left-this.width,De.right=Te.right+this.width);for(var He=this.width*this.nextRow,Ze=0,at=Y[Ze],Tt=0;Tt1&&(at=Y[++Ze]);var At=Math.abs(Tt-at.left),se=Math.abs(Tt-at.right),ve=Math.min(At,se),Ie=at.isDash?ve:-ve;this.data[He+Tt]=Math.max(0,Math.min(255,Ie+128))}},O.prototype.addDash=function(Y,ee){var K=ee?7:0,le=2*K+1;if(this.nextRow+le>this.height)return i.warnOnce("LineAtlas out of space"),null;for(var Te=0,De=0;De=K&&Y.x=le&&Y.y0&&(Tt[new i.OverscaledTileID(K.overscaledZ,He,le.z,De,le.y-1).key]={backfilled:!1},Tt[new i.OverscaledTileID(K.overscaledZ,K.wrap,le.z,le.x,le.y-1).key]={backfilled:!1},Tt[new i.OverscaledTileID(K.overscaledZ,at,le.z,Ze,le.y-1).key]={backfilled:!1}),le.y+10&&(Te.resourceTiming=K._resourceTiming,K._resourceTiming=[]),K.fire(new i.Event("data",Te))}})},ee.prototype.onAdd=function(K){this.map=K,this.load()},ee.prototype.setData=function(K){var le=this;return this._data=K,this.fire(new i.Event("dataloading",{dataType:"source"})),this._updateWorkerData(function(Te){if(Te)le.fire(new i.ErrorEvent(Te));else{var De={dataType:"source",sourceDataType:"content"};le._collectResourceTiming&&le._resourceTiming&&le._resourceTiming.length>0&&(De.resourceTiming=le._resourceTiming,le._resourceTiming=[]),le.fire(new i.Event("data",De))}}),this},ee.prototype.getClusterExpansionZoom=function(K,le){return this.actor.send("geojson.getClusterExpansionZoom",{clusterId:K,source:this.id},le),this},ee.prototype.getClusterChildren=function(K,le){return this.actor.send("geojson.getClusterChildren",{clusterId:K,source:this.id},le),this},ee.prototype.getClusterLeaves=function(K,le,Te,De){return this.actor.send("geojson.getClusterLeaves",{source:this.id,clusterId:K,limit:le,offset:Te},De),this},ee.prototype._updateWorkerData=function(K){var le=this;this._loaded=!1;var Te=i.extend({},this.workerOptions),De=this._data;typeof De=="string"?(Te.request=this.map._requestManager.transformRequest(i.browser.resolveURL(De),i.ResourceType.Source),Te.request.collectResourceTiming=this._collectResourceTiming):Te.data=JSON.stringify(De),this.actor.send(this.type+".loadData",Te,function(He,Ze){le._removed||Ze&&Ze.abandoned||(le._loaded=!0,Ze&&Ze.resourceTiming&&Ze.resourceTiming[le.id]&&(le._resourceTiming=Ze.resourceTiming[le.id].slice(0)),le.actor.send(le.type+".coalesce",{source:Te.source},null),K(He))})},ee.prototype.loaded=function(){return this._loaded},ee.prototype.loadTile=function(K,le){var Te=this,De=K.actor?"reloadTile":"loadTile";K.actor=this.actor;var He={type:this.type,uid:K.uid,tileID:K.tileID,zoom:K.tileID.overscaledZ,maxZoom:this.maxzoom,tileSize:this.tileSize,source:this.id,pixelRatio:i.browser.devicePixelRatio,showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId};K.request=this.actor.send(De,He,function(Ze,at){return delete K.request,K.unloadVectorData(),K.aborted?le(null):Ze?le(Ze):(K.loadVectorData(at,Te.map.painter,De==="reloadTile"),le(null))})},ee.prototype.abortTile=function(K){K.request&&(K.request.cancel(),delete K.request),K.aborted=!0},ee.prototype.unloadTile=function(K){K.unloadVectorData(),this.actor.send("removeTile",{uid:K.uid,type:this.type,source:this.id})},ee.prototype.onRemove=function(){this._removed=!0,this.actor.send("removeSource",{type:this.type,source:this.id})},ee.prototype.serialize=function(){return i.extend({},this._options,{type:this.type,data:this._data})},ee.prototype.hasTransition=function(){return!1},ee}(i.Evented),U=i.createLayout([{name:"a_pos",type:"Int16",components:2},{name:"a_texture_pos",type:"Int16",components:2}]),G=function(Y){function ee(K,le,Te,De){Y.call(this),this.id=K,this.dispatcher=Te,this.coordinates=le.coordinates,this.type="image",this.minzoom=0,this.maxzoom=22,this.tileSize=512,this.tiles={},this._loaded=!1,this.setEventedParent(De),this.options=le}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee.prototype.load=function(K,le){var Te=this;this._loaded=!1,this.fire(new i.Event("dataloading",{dataType:"source"})),this.url=this.options.url,i.getImage(this.map._requestManager.transformRequest(this.url,i.ResourceType.Image),function(De,He){Te._loaded=!0,De?Te.fire(new i.ErrorEvent(De)):He&&(Te.image=He,K&&(Te.coordinates=K),le&&le(),Te._finishLoading())})},ee.prototype.loaded=function(){return this._loaded},ee.prototype.updateImage=function(K){var le=this;return this.image&&K.url?(this.options.url=K.url,this.load(K.coordinates,function(){le.texture=null}),this):this},ee.prototype._finishLoading=function(){this.map&&(this.setCoordinates(this.coordinates),this.fire(new i.Event("data",{dataType:"source",sourceDataType:"metadata"})))},ee.prototype.onAdd=function(K){this.map=K,this.load()},ee.prototype.setCoordinates=function(K){var le=this;this.coordinates=K;var Te=K.map(i.MercatorCoordinate.fromLngLat);this.tileID=function(He){for(var Ze=1/0,at=1/0,Tt=-1/0,At=-1/0,se=0,ve=He;sele.end(0)?this.fire(new i.ErrorEvent(new i.ValidationError("sources."+this.id,null,"Playback for this video can be set only between the "+le.start(0)+" and "+le.end(0)+"-second mark."))):this.video.currentTime=K}},ee.prototype.getVideo=function(){return this.video},ee.prototype.onAdd=function(K){this.map||(this.map=K,this.load(),this.video&&(this.video.play(),this.setCoordinates(this.coordinates)))},ee.prototype.prepare=function(){if(!(Object.keys(this.tiles).length===0||this.video.readyState<2)){var K=this.map.painter.context,le=K.gl;for(var Te in this.boundsBuffer||(this.boundsBuffer=K.createVertexBuffer(this._boundsArray,U.members)),this.boundsSegments||(this.boundsSegments=i.SegmentVector.simpleSegment(0,0,4,2)),this.texture?this.video.paused||(this.texture.bind(le.LINEAR,le.CLAMP_TO_EDGE),le.texSubImage2D(le.TEXTURE_2D,0,0,0,le.RGBA,le.UNSIGNED_BYTE,this.video)):(this.texture=new i.Texture(K,this.video,le.RGBA),this.texture.bind(le.LINEAR,le.CLAMP_TO_EDGE)),this.tiles){var De=this.tiles[Te];De.state!=="loaded"&&(De.state="loaded",De.texture=this.texture)}}},ee.prototype.serialize=function(){return{type:"video",urls:this.urls,coordinates:this.coordinates}},ee.prototype.hasTransition=function(){return this.video&&!this.video.paused},ee}(G),H=function(Y){function ee(K,le,Te,De){Y.call(this,K,le,Te,De),le.coordinates?Array.isArray(le.coordinates)&&le.coordinates.length===4&&!le.coordinates.some(function(He){return!Array.isArray(He)||He.length!==2||He.some(function(Ze){return typeof Ze!="number"})})||this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'"coordinates" property must be an array of 4 longitude/latitude array pairs'))):this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'missing required property "coordinates"'))),le.animate&&typeof le.animate!="boolean"&&this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'optional "animate" property must be a boolean value'))),le.canvas?typeof le.canvas=="string"||le.canvas instanceof i.window.HTMLCanvasElement||this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'"canvas" must be either a string representing the ID of the canvas element from which to read, or an HTMLCanvasElement instance'))):this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'missing required property "canvas"'))),this.options=le,this.animate=le.animate===void 0||le.animate}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee.prototype.load=function(){this._loaded=!0,this.canvas||(this.canvas=this.options.canvas instanceof i.window.HTMLCanvasElement?this.options.canvas:i.window.document.getElementById(this.options.canvas)),this.width=this.canvas.width,this.height=this.canvas.height,this._hasInvalidDimensions()?this.fire(new i.ErrorEvent(new Error("Canvas dimensions cannot be less than or equal to zero."))):(this.play=function(){this._playing=!0,this.map.triggerRepaint()},this.pause=function(){this._playing&&(this.prepare(),this._playing=!1)},this._finishLoading())},ee.prototype.getCanvas=function(){return this.canvas},ee.prototype.onAdd=function(K){this.map=K,this.load(),this.canvas&&this.animate&&this.play()},ee.prototype.onRemove=function(){this.pause()},ee.prototype.prepare=function(){var K=!1;if(this.canvas.width!==this.width&&(this.width=this.canvas.width,K=!0),this.canvas.height!==this.height&&(this.height=this.canvas.height,K=!0),!this._hasInvalidDimensions()&&Object.keys(this.tiles).length!==0){var le=this.map.painter.context,Te=le.gl;for(var De in this.boundsBuffer||(this.boundsBuffer=le.createVertexBuffer(this._boundsArray,U.members)),this.boundsSegments||(this.boundsSegments=i.SegmentVector.simpleSegment(0,0,4,2)),this.texture?(K||this._playing)&&this.texture.update(this.canvas,{premultiply:!0}):this.texture=new i.Texture(le,this.canvas,Te.RGBA,{premultiply:!0}),this.tiles){var He=this.tiles[De];He.state!=="loaded"&&(He.state="loaded",He.texture=this.texture)}}},ee.prototype.serialize=function(){return{type:"canvas",coordinates:this.coordinates}},ee.prototype.hasTransition=function(){return this._playing},ee.prototype._hasInvalidDimensions=function(){for(var K=0,le=[this.canvas.width,this.canvas.height];Kthis.max){var He=this._getAndRemoveByKey(this.order[0]);He&&this.onRemove(He)}return this},Q.prototype.has=function(Y){return Y.wrapped().key in this.data},Q.prototype.getAndRemove=function(Y){return this.has(Y)?this._getAndRemoveByKey(Y.wrapped().key):null},Q.prototype._getAndRemoveByKey=function(Y){var ee=this.data[Y].shift();return ee.timeout&&clearTimeout(ee.timeout),this.data[Y].length===0&&delete this.data[Y],this.order.splice(this.order.indexOf(Y),1),ee.value},Q.prototype.getByKey=function(Y){var ee=this.data[Y];return ee?ee[0].value:null},Q.prototype.get=function(Y){return this.has(Y)?this.data[Y.wrapped().key][0].value:null},Q.prototype.remove=function(Y,ee){if(!this.has(Y))return this;var K=Y.wrapped().key,le=ee===void 0?0:this.data[K].indexOf(ee),Te=this.data[K][le];return this.data[K].splice(le,1),Te.timeout&&clearTimeout(Te.timeout),this.data[K].length===0&&delete this.data[K],this.onRemove(Te.value),this.order.splice(this.order.indexOf(K),1),this},Q.prototype.setMaxSize=function(Y){for(this.max=Y;this.order.length>this.max;){var ee=this._getAndRemoveByKey(this.order[0]);ee&&this.onRemove(ee)}return this},Q.prototype.filter=function(Y){var ee=[];for(var K in this.data)for(var le=0,Te=this.data[K];le1||(Math.abs(At)>1&&(Math.abs(At+ve)===1?At+=ve:Math.abs(At-ve)===1&&(At-=ve)),Tt.dem&&at.dem&&(at.dem.backfillBorder(Tt.dem,At,se),at.neighboringTiles&&at.neighboringTiles[Ie]&&(at.neighboringTiles[Ie].backfilled=!0)))}},ee.prototype.getTile=function(K){return this.getTileByID(K.key)},ee.prototype.getTileByID=function(K){return this._tiles[K]},ee.prototype._retainLoadedChildren=function(K,le,Te,De){for(var He in this._tiles){var Ze=this._tiles[He];if(!(De[He]||!Ze.hasData()||Ze.tileID.overscaledZ<=le||Ze.tileID.overscaledZ>Te)){for(var at=Ze.tileID;Ze&&Ze.tileID.overscaledZ>le+1;){var Tt=Ze.tileID.scaledTo(Ze.tileID.overscaledZ-1);(Ze=this._tiles[Tt.key])&&Ze.hasData()&&(at=Tt)}for(var At=at;At.overscaledZ>le;)if(K[(At=At.scaledTo(At.overscaledZ-1)).key]){De[at.key]=at;break}}}},ee.prototype.findLoadedParent=function(K,le){if(K.key in this._loadedParentTiles){var Te=this._loadedParentTiles[K.key];return Te&&Te.tileID.overscaledZ>=le?Te:null}for(var De=K.overscaledZ-1;De>=le;De--){var He=K.scaledTo(De),Ze=this._getLoadedTile(He);if(Ze)return Ze}},ee.prototype._getLoadedTile=function(K){var le=this._tiles[K.key];return le&&le.hasData()?le:this._cache.getByKey(K.wrapped().key)},ee.prototype.updateCacheSize=function(K){var le=(Math.ceil(K.width/this._source.tileSize)+1)*(Math.ceil(K.height/this._source.tileSize)+1),Te=Math.floor(5*le),De=typeof this._maxTileCacheSize=="number"?Math.min(this._maxTileCacheSize,Te):Te;this._cache.setMaxSize(De)},ee.prototype.handleWrapJump=function(K){var le=(K-(this._prevLng===void 0?K:this._prevLng))/360,Te=Math.round(le);if(this._prevLng=K,Te){var De={};for(var He in this._tiles){var Ze=this._tiles[He];Ze.tileID=Ze.tileID.unwrapTo(Ze.tileID.wrap+Te),De[Ze.tileID.key]=Ze}for(var at in this._tiles=De,this._timers)clearTimeout(this._timers[at]),delete this._timers[at];for(var Tt in this._tiles){var At=this._tiles[Tt];this._setTileReloadTimer(Tt,At)}}},ee.prototype.update=function(K){var le=this;if(this.transform=K,this._sourceLoaded&&!this._paused){var Te;this.updateCacheSize(K),this.handleWrapJump(this.transform.center.lng),this._coveredTiles={},this.used?this._source.tileID?Te=K.getVisibleUnwrappedCoordinates(this._source.tileID).map(function(Ht){return new i.OverscaledTileID(Ht.canonical.z,Ht.wrap,Ht.canonical.z,Ht.canonical.x,Ht.canonical.y)}):(Te=K.coveringTiles({tileSize:this._source.tileSize,minzoom:this._source.minzoom,maxzoom:this._source.maxzoom,roundZoom:this._source.roundZoom,reparseOverscaled:this._source.reparseOverscaled}),this._source.hasTile&&(Te=Te.filter(function(Ht){return le._source.hasTile(Ht)}))):Te=[];var De=K.coveringZoomLevel(this._source),He=Math.max(De-ee.maxOverzooming,this._source.minzoom),Ze=Math.max(De+ee.maxUnderzooming,this._source.minzoom),at=this._updateRetainedTiles(Te,De);if(Ne(this._source.type)){for(var Tt={},At={},se=0,ve=Object.keys(at);sethis._source.maxzoom){var Xe=Ue.children(this._source.maxzoom)[0],tt=this.getTile(Xe);if(tt&&tt.hasData()){Te[Xe.key]=Xe;continue}}else{var lt=Ue.children(this._source.maxzoom);if(Te[lt[0].key]&&Te[lt[1].key]&&Te[lt[2].key]&&Te[lt[3].key])continue}for(var mt=We.wasRequested(),zt=Ue.overscaledZ-1;zt>=He;--zt){var Ut=Ue.scaledTo(zt);if(De[Ut.key]||(De[Ut.key]=!0,!(We=this.getTile(Ut))&&mt&&(We=this._addTile(Ut)),We&&(Te[Ut.key]=Ut,mt=We.wasRequested(),We.hasData())))break}}}return Te},ee.prototype._updateLoadedParentTileCache=function(){for(var K in this._loadedParentTiles={},this._tiles){for(var le=[],Te=void 0,De=this._tiles[K].tileID;De.overscaledZ>0;){if(De.key in this._loadedParentTiles){Te=this._loadedParentTiles[De.key];break}le.push(De.key);var He=De.scaledTo(De.overscaledZ-1);if(Te=this._getLoadedTile(He))break;De=He}for(var Ze=0,at=le;Ze0||(le.hasData()&&le.state!=="reloading"?this._cache.add(le.tileID,le,le.getExpiryTimeout()):(le.aborted=!0,this._abortTile(le),this._unloadTile(le))))},ee.prototype.clearTiles=function(){for(var K in this._shouldReloadOnResume=!1,this._paused=!1,this._tiles)this._removeTile(K);this._cache.reset()},ee.prototype.tilesIn=function(K,le,Te){var De=this,He=[],Ze=this.transform;if(!Ze)return He;for(var at=Te?Ze.getCameraQueryGeometry(K):K,Tt=K.map(function(zt){return Ze.pointCoordinate(zt)}),At=at.map(function(zt){return Ze.pointCoordinate(zt)}),se=this.getIds(),ve=1/0,Ie=1/0,Fe=-1/0,Ue=-1/0,We=0,Xe=At;We=0&&tn[1].y+vn>=0){var ln=Tt.map(function(Cn){return Ht.getTilePoint(Cn)}),an=At.map(function(Cn){return Ht.getTilePoint(Cn)});He.push({tile:Ut,tileID:Ht,queryGeometry:ln,cameraQueryGeometry:an,scale:en})}}},mt=0;mt=i.browser.now())return!0}return!1},ee.prototype.setFeatureState=function(K,le,Te){K=K||"_geojsonTileLayer",this._state.updateState(K,le,Te)},ee.prototype.removeFeatureState=function(K,le,Te){K=K||"_geojsonTileLayer",this._state.removeFeatureState(K,le,Te)},ee.prototype.getFeatureState=function(K,le){return K=K||"_geojsonTileLayer",this._state.getState(K,le)},ee.prototype.setDependencies=function(K,le,Te){var De=this._tiles[K];De&&De.setDependencies(le,Te)},ee.prototype.reloadTilesForDependencies=function(K,le){for(var Te in this._tiles)this._tiles[Te].hasDependency(K,le)&&this._reloadTile(Te,"reloading");this._cache.filter(function(De){return!De.hasDependency(K,le)})},ee}(i.Evented);function Re(Y,ee){var K=Math.abs(2*Y.wrap)-+(Y.wrap<0),le=Math.abs(2*ee.wrap)-+(ee.wrap<0);return Y.overscaledZ-ee.overscaledZ||le-K||ee.canonical.y-Y.canonical.y||ee.canonical.x-Y.canonical.x}function Ne(Y){return Y==="raster"||Y==="image"||Y==="video"}function Qe(){return new i.window.Worker(Mt.workerUrl)}ft.maxOverzooming=10,ft.maxUnderzooming=3;var ut="mapboxgl_preloaded_worker_pool",dt=function(){this.active={}};dt.prototype.acquire=function(Y){if(!this.workers)for(this.workers=[];this.workers.length0?(le-De)/He:0;return this.points[Te].mult(1-Ze).add(this.points[ee].mult(Ze))};var An=function(Y,ee,K){var le=this.boxCells=[],Te=this.circleCells=[];this.xCellCount=Math.ceil(Y/K),this.yCellCount=Math.ceil(ee/K);for(var De=0;De=-ee[0]&&K<=ee[0]&&le>=-ee[1]&&le<=ee[1]}function pn(Y,ee,K,le,Te,De,He,Ze){var at=le?Y.textSizeData:Y.iconSizeData,Tt=i.evaluateSizeForZoom(at,K.transform.zoom),At=[256/K.width*2+1,256/K.height*2+1],se=le?Y.text.dynamicLayoutVertexArray:Y.icon.dynamicLayoutVertexArray;se.clear();for(var ve=Y.lineVertexArray,Ie=le?Y.text.placedSymbolArray:Y.icon.placedSymbolArray,Fe=K.transform.width/K.transform.height,Ue=!1,We=0;WeMath.abs(K.x-ee.x)*le?{useVertical:!0}:(Y===i.WritingMode.vertical?ee.yK.x)?{needsFlipping:!0}:null}function jn(Y,ee,K,le,Te,De,He,Ze,at,Tt,At,se,ve,Ie){var Fe,Ue=ee/24,We=Y.lineOffsetX*Ue,Xe=Y.lineOffsetY*Ue;if(Y.numGlyphs>1){var tt=Y.glyphStartIndex+Y.numGlyphs,lt=Y.lineStartIndex,mt=Y.lineStartIndex+Y.lineLength,zt=Dn(Ue,Ze,We,Xe,K,At,se,Y,at,De,ve);if(!zt)return{notEnoughRoom:!0};var Ut=sn(zt.first.point,He).point,Ht=sn(zt.last.point,He).point;if(le&&!K){var en=In(Y.writingMode,Ut,Ht,Ie);if(en)return en}Fe=[zt.first];for(var vn=Y.glyphStartIndex+1;vn0?Cn.point:Gn(se,an,tn,1,Te),on=In(Y.writingMode,tn,_n,Ie);if(on)return on}var Fn=qn(Ue*Ze.getoffsetX(Y.glyphStartIndex),We,Xe,K,At,se,Y.segment,Y.lineStartIndex,Y.lineStartIndex+Y.lineLength,at,De,ve);if(!Fn)return{notEnoughRoom:!0};Fe=[Fn]}for(var Hn=0,ir=Fe;Hn0?1:-1,Fe=0;le&&(Ie*=-1,Fe=Math.PI),Ie<0&&(Fe+=Math.PI);for(var Ue=Ie>0?Ze+He:Ze+He+1,We=Te,Xe=Te,tt=0,lt=0,mt=Math.abs(ve),zt=[];tt+lt<=mt;){if((Ue+=Ie)=at)return null;if(Xe=We,zt.push(We),(We=se[Ue])===void 0){var Ut=new i.Point(Tt.getx(Ue),Tt.gety(Ue)),Ht=sn(Ut,At);if(Ht.signedDistanceFromCamera>0)We=se[Ue]=Ht.point;else{var en=Ue-Ie;We=Gn(tt===0?De:new i.Point(Tt.getx(en),Tt.gety(en)),Ut,Xe,mt-tt+1,At)}}tt+=lt,lt=Xe.dist(We)}var vn=(mt-tt)/lt,tn=We.sub(Xe),ln=tn.mult(vn)._add(Xe);ln._add(tn._unit()._perp()._mult(K*Ie));var an=Fe+Math.atan2(We.y-Xe.y,We.x-Xe.x);return zt.push(ln),{point:ln,angle:an,path:zt}}An.prototype.keysLength=function(){return this.boxKeys.length+this.circleKeys.length},An.prototype.insert=function(Y,ee,K,le,Te){this._forEachCell(ee,K,le,Te,this._insertBoxCell,this.boxUid++),this.boxKeys.push(Y),this.bboxes.push(ee),this.bboxes.push(K),this.bboxes.push(le),this.bboxes.push(Te)},An.prototype.insertCircle=function(Y,ee,K,le){this._forEachCell(ee-le,K-le,ee+le,K+le,this._insertCircleCell,this.circleUid++),this.circleKeys.push(Y),this.circles.push(ee),this.circles.push(K),this.circles.push(le)},An.prototype._insertBoxCell=function(Y,ee,K,le,Te,De){this.boxCells[Te].push(De)},An.prototype._insertCircleCell=function(Y,ee,K,le,Te,De){this.circleCells[Te].push(De)},An.prototype._query=function(Y,ee,K,le,Te,De){if(K<0||Y>this.width||le<0||ee>this.height)return!Te&&[];var He=[];if(Y<=0&&ee<=0&&this.width<=K&&this.height<=le){if(Te)return!0;for(var Ze=0;Ze0:He},An.prototype._queryCircle=function(Y,ee,K,le,Te){var De=Y-K,He=Y+K,Ze=ee-K,at=ee+K;if(He<0||De>this.width||at<0||Ze>this.height)return!le&&[];var Tt=[],At={hitTest:le,circle:{x:Y,y:ee,radius:K},seenUids:{box:{},circle:{}}};return this._forEachCell(De,Ze,He,at,this._queryCellCircle,Tt,At,Te),le?Tt.length>0:Tt},An.prototype.query=function(Y,ee,K,le,Te){return this._query(Y,ee,K,le,!1,Te)},An.prototype.hitTest=function(Y,ee,K,le,Te){return this._query(Y,ee,K,le,!0,Te)},An.prototype.hitTestCircle=function(Y,ee,K,le){return this._queryCircle(Y,ee,K,!0,le)},An.prototype._queryCell=function(Y,ee,K,le,Te,De,He,Ze){var at=He.seenUids,Tt=this.boxCells[Te];if(Tt!==null)for(var At=this.bboxes,se=0,ve=Tt;se=At[Fe+0]&&le>=At[Fe+1]&&(!Ze||Ze(this.boxKeys[Ie]))){if(He.hitTest)return De.push(!0),!0;De.push({key:this.boxKeys[Ie],x1:At[Fe],y1:At[Fe+1],x2:At[Fe+2],y2:At[Fe+3]})}}}var Ue=this.circleCells[Te];if(Ue!==null)for(var We=this.circles,Xe=0,tt=Ue;XeHe*He+Ze*Ze},An.prototype._circleAndRectCollide=function(Y,ee,K,le,Te,De,He){var Ze=(De-le)/2,at=Math.abs(Y-(le+Ze));if(at>Ze+K)return!1;var Tt=(He-Te)/2,At=Math.abs(ee-(Te+Tt));if(At>Tt+K)return!1;if(at<=Ze||At<=Tt)return!0;var se=at-Ze,ve=At-Tt;return se*se+ve*ve<=K*K};var lr=new Float32Array([-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0]);function rr(Y,ee){for(var K=0;K=1;_n--)Cn.push(ln.path[_n]);for(var on=1;on0){for(var ar=Cn[0].clone(),Mr=Cn[0].clone(),Er=1;Er=en.x&&Mr.x<=vn.x&&ar.y>=en.y&&Mr.y<=vn.y?[Cn]:Mr.xvn.x||Mr.yvn.y?[]:i.clipLine([Cn],en.x,en.y,vn.x,vn.y)}for(var xr=0,kr=ir;xr=this.screenRightBoundary||lethis.screenBottomBoundary},or.prototype.isInsideGrid=function(Y,ee,K,le){return K>=0&&Y=0&&ee0?(this.prevPlacement&&this.prevPlacement.variableOffsets[se.crossTileID]&&this.prevPlacement.placements[se.crossTileID]&&this.prevPlacement.placements[se.crossTileID].text&&(Ue=this.prevPlacement.variableOffsets[se.crossTileID].anchor),this.variableOffsets[se.crossTileID]={textOffset:We,width:K,height:le,anchor:Y,textBoxScale:Te,prevAnchor:Ue},this.markUsedJustification(ve,Y,se,Ie),ve.allowVerticalPlacement&&(this.markUsedOrientation(ve,Ie,se),this.placedOrientations[se.crossTileID]=Ie),{shift:Xe,placedGlyphBoxes:tt}):void 0},tr.prototype.placeLayerBucketPart=function(Y,ee,K){var le=this,Te=Y.parameters,De=Te.bucket,He=Te.layout,Ze=Te.posMatrix,at=Te.textLabelPlaneMatrix,Tt=Te.labelToScreenMatrix,At=Te.textPixelRatio,se=Te.holdingForFade,ve=Te.collisionBoxArray,Ie=Te.partiallyEvaluatedTextSize,Fe=Te.collisionGroup,Ue=He.get("text-optional"),We=He.get("icon-optional"),Xe=He.get("text-allow-overlap"),tt=He.get("icon-allow-overlap"),lt=He.get("text-rotation-alignment")==="map",mt=He.get("text-pitch-alignment")==="map",zt=He.get("icon-text-fit")!=="none",Ut=He.get("symbol-z-order")==="viewport-y",Ht=Xe&&(tt||!De.hasIconData()||We),en=tt&&(Xe||!De.hasTextData()||Ue);!De.collisionArrays&&ve&&De.deserializeCollisionBoxes(ve);var vn=function(on,Fn){if(!ee[on.crossTileID])if(se)le.placements[on.crossTileID]=new bn(!1,!1,!1);else{var Hn,ir=!1,ar=!1,Mr=!0,Er=null,xr={box:null,offscreen:null},kr={box:null,offscreen:null},jr=null,fi=null,di=0,wr=0,Ur=0;Fn.textFeatureIndex?di=Fn.textFeatureIndex:on.useRuntimeCollisionCircles&&(di=on.featureIndex),Fn.verticalTextFeatureIndex&&(wr=Fn.verticalTextFeatureIndex);var oi=Fn.textBox;if(oi){var ai=function(Ri){var Xa=i.WritingMode.horizontal;if(De.allowVerticalPlacement&&!Ri&&le.prevPlacement){var jo=le.prevPlacement.placedOrientations[on.crossTileID];jo&&(le.placedOrientations[on.crossTileID]=jo,Xa=jo,le.markUsedOrientation(De,Xa,on))}return Xa},Ii=function(Ri,Xa){if(De.allowVerticalPlacement&&on.numVerticalGlyphVertices>0&&Fn.verticalTextBox)for(var jo=0,Kc=De.writingModes;jo0&&(vi=vi.filter(function(Ri){return Ri!==Ni.anchor})).unshift(Ni.anchor)}var ta=function(Ri,Xa,jo){for(var Kc=Ri.x2-Ri.x1,f1=Ri.y2-Ri.y1,L0=on.textBoxScale,d1=zt&&!tt?Xa:null,_f={box:[],offscreen:!1},fg=Xe?2*vi.length:vi.length,od=0;od=vi.length,zh=le.attemptAnchorPlacement(wf,Ri,Kc,f1,L0,lt,mt,At,Ze,Fe,p1,on,De,jo,d1);if(zh&&(_f=zh.placedGlyphBoxes)&&_f.box&&_f.box.length){ir=!0,Er=zh.shift;break}}return _f};Ii(function(){return ta(oi,Fn.iconBox,i.WritingMode.horizontal)},function(){var Ri=Fn.verticalTextBox,Xa=xr&&xr.box&&xr.box.length;return De.allowVerticalPlacement&&!Xa&&on.numVerticalGlyphVertices>0&&Ri?ta(Ri,Fn.verticalIconBox,i.WritingMode.vertical):{box:null,offscreen:null}}),xr&&(ir=xr.box,Mr=xr.offscreen);var pa=ai(xr&&xr.box);if(!ir&&le.prevPlacement){var ua=le.prevPlacement.variableOffsets[on.crossTileID];ua&&(le.variableOffsets[on.crossTileID]=ua,le.markUsedJustification(De,ua.anchor,on,pa))}}else{var Qi=function(Ri,Xa){var jo=le.collisionIndex.placeCollisionBox(Ri,Xe,At,Ze,Fe.predicate);return jo&&jo.box&&jo.box.length&&(le.markUsedOrientation(De,Xa,on),le.placedOrientations[on.crossTileID]=Xa),jo};Ii(function(){return Qi(oi,i.WritingMode.horizontal)},function(){var Ri=Fn.verticalTextBox;return De.allowVerticalPlacement&&on.numVerticalGlyphVertices>0&&Ri?Qi(Ri,i.WritingMode.vertical):{box:null,offscreen:null}}),ai(xr&&xr.box&&xr.box.length)}}if(ir=(Hn=xr)&&Hn.box&&Hn.box.length>0,Mr=Hn&&Hn.offscreen,on.useRuntimeCollisionCircles){var na=De.text.placedSymbolArray.get(on.centerJustifiedTextSymbolIndex),ca=i.evaluateSizeForFeature(De.textSizeData,Ie,na),Ia=He.get("text-padding"),Dl=on.collisionCircleDiameter;jr=le.collisionIndex.placeCollisionCircles(Xe,na,De.lineVertexArray,De.glyphOffsetArray,ca,Ze,at,Tt,K,mt,Fe.predicate,Dl,Ia),ir=Xe||jr.circles.length>0&&!jr.collisionDetected,Mr=Mr&&jr.offscreen}if(Fn.iconFeatureIndex&&(Ur=Fn.iconFeatureIndex),Fn.iconBox){var Za=function(Ri){var Xa=zt&&Er?$n(Ri,Er.x,Er.y,lt,mt,le.transform.angle):Ri;return le.collisionIndex.placeCollisionBox(Xa,tt,At,Ze,Fe.predicate)};ar=kr&&kr.box&&kr.box.length&&Fn.verticalIconBox?(fi=Za(Fn.verticalIconBox)).box.length>0:(fi=Za(Fn.iconBox)).box.length>0,Mr=Mr&&fi.offscreen}var li=Ue||on.numHorizontalGlyphVertices===0&&on.numVerticalGlyphVertices===0,ho=We||on.numIconVertices===0;if(li||ho?ho?li||(ar=ar&&ir):ir=ar&&ir:ar=ir=ar&&ir,ir&&Hn&&Hn.box&&(kr&&kr.box&&wr?le.collisionIndex.insertCollisionBox(Hn.box,He.get("text-ignore-placement"),De.bucketInstanceId,wr,Fe.ID):le.collisionIndex.insertCollisionBox(Hn.box,He.get("text-ignore-placement"),De.bucketInstanceId,di,Fe.ID)),ar&&fi&&le.collisionIndex.insertCollisionBox(fi.box,He.get("icon-ignore-placement"),De.bucketInstanceId,Ur,Fe.ID),jr&&(ir&&le.collisionIndex.insertCollisionCircles(jr.circles,He.get("text-ignore-placement"),De.bucketInstanceId,di,Fe.ID),K)){var _o=De.bucketInstanceId,Aa=le.collisionCircleArrays[_o];Aa===void 0&&(Aa=le.collisionCircleArrays[_o]=new Rn);for(var Ps=0;Ps=0;--ln){var an=tn[ln];vn(De.symbolInstances.get(an),De.collisionArrays[an])}else for(var Cn=Y.symbolInstanceStart;Cn=0&&(Y.text.placedSymbolArray.get(at).crossTileID=Te>=0&&at!==Te?0:K.crossTileID)}},tr.prototype.markUsedOrientation=function(Y,ee,K){for(var le=ee===i.WritingMode.horizontal||ee===i.WritingMode.horizontalOnly?ee:0,Te=ee===i.WritingMode.vertical?ee:0,De=0,He=[K.leftJustifiedTextSymbolIndex,K.centerJustifiedTextSymbolIndex,K.rightJustifiedTextSymbolIndex];De0||mt>0,vn=tt.numIconVertices>0,tn=le.placedOrientations[tt.crossTileID],ln=tn===i.WritingMode.vertical,an=tn===i.WritingMode.horizontal||tn===i.WritingMode.horizontalOnly;if(en){var Cn=En(Ht.text),_n=ln?mn:Cn;Ie(Y.text,lt,_n);var on=an?mn:Cn;Ie(Y.text,mt,on);var Fn=Ht.text.isHidden();[tt.rightJustifiedTextSymbolIndex,tt.centerJustifiedTextSymbolIndex,tt.leftJustifiedTextSymbolIndex].forEach(function(Ur){Ur>=0&&(Y.text.placedSymbolArray.get(Ur).hidden=Fn||ln?1:0)}),tt.verticalPlacedTextSymbolIndex>=0&&(Y.text.placedSymbolArray.get(tt.verticalPlacedTextSymbolIndex).hidden=Fn||an?1:0);var Hn=le.variableOffsets[tt.crossTileID];Hn&&le.markUsedJustification(Y,Hn.anchor,tt,tn);var ir=le.placedOrientations[tt.crossTileID];ir&&(le.markUsedJustification(Y,"left",tt,ir),le.markUsedOrientation(Y,ir,tt))}if(vn){var ar=En(Ht.icon),Mr=!(se&&tt.verticalPlacedIconSymbolIndex&&ln);if(tt.placedIconSymbolIndex>=0){var Er=Mr?ar:mn;Ie(Y.icon,tt.numIconVertices,Er),Y.icon.placedSymbolArray.get(tt.placedIconSymbolIndex).hidden=Ht.icon.isHidden()}if(tt.verticalPlacedIconSymbolIndex>=0){var xr=Mr?mn:ar;Ie(Y.icon,tt.numVerticalIconVertices,xr),Y.icon.placedSymbolArray.get(tt.verticalPlacedIconSymbolIndex).hidden=Ht.icon.isHidden()}}if(Y.hasIconCollisionBoxData()||Y.hasTextCollisionBoxData()){var kr=Y.collisionArrays[Xe];if(kr){var jr=new i.Point(0,0);if(kr.textBox||kr.verticalTextBox){var fi=!0;if(at){var di=le.variableOffsets[zt];di?(jr=Kn(di.anchor,di.width,di.height,di.textOffset,di.textBoxScale),Tt&&jr._rotate(At?le.transform.angle:-le.transform.angle)):fi=!1}kr.textBox&&mr(Y.textCollisionBox.collisionVertexArray,Ht.text.placed,!fi||ln,jr.x,jr.y),kr.verticalTextBox&&mr(Y.textCollisionBox.collisionVertexArray,Ht.text.placed,!fi||an,jr.x,jr.y)}var wr=!!(!an&&kr.verticalIconBox);kr.iconBox&&mr(Y.iconCollisionBox.collisionVertexArray,Ht.icon.placed,wr,se?jr.x:0,se?jr.y:0),kr.verticalIconBox&&mr(Y.iconCollisionBox.collisionVertexArray,Ht.icon.placed,!wr,se?jr.x:0,se?jr.y:0)}}},Ue=0;UeY},tr.prototype.setStale=function(){this.stale=!0};var nn=Math.pow(2,25),Pn=Math.pow(2,24),jt=Math.pow(2,17),Jt=Math.pow(2,16),hn=Math.pow(2,9),zn=Math.pow(2,8),On=Math.pow(2,1);function En(Y){if(Y.opacity===0&&!Y.placed)return 0;if(Y.opacity===1&&Y.placed)return 4294967295;var ee=Y.placed?1:0,K=Math.floor(127*Y.opacity);return K*nn+ee*Pn+K*jt+ee*Jt+K*hn+ee*zn+K*On+ee}var mn=0,wn=function(Y){this._sortAcrossTiles=Y.layout.get("symbol-z-order")!=="viewport-y"&&Y.layout.get("symbol-sort-key").constantOr(1)!==void 0,this._currentTileIndex=0,this._currentPartIndex=0,this._seenCrossTileIDs={},this._bucketParts=[]};wn.prototype.continuePlacement=function(Y,ee,K,le,Te){for(var De=this._bucketParts;this._currentTileIndex2};this._currentPlacementIndex>=0;){var He=ee[Y[this._currentPlacementIndex]],Ze=this.placement.collisionIndex.transform.zoom;if(He.type==="symbol"&&(!He.minzoom||He.minzoom<=Ze)&&(!He.maxzoom||He.maxzoom>Ze)){if(this._inProgressLayer||(this._inProgressLayer=new wn(He)),this._inProgressLayer.continuePlacement(K[He.source],this.placement,this._showCollisionBoxes,He,De))return;delete this._inProgressLayer}this._currentPlacementIndex--}this._done=!0},gn.prototype.commit=function(Y){return this.placement.commit(Y),this.placement};var yn=512/i.EXTENT/2,Sn=function(Y,ee,K){this.tileID=Y,this.indexedSymbolInstances={},this.bucketInstanceId=K;for(var le=0;leY.overscaledZ)for(var Ze in He){var at=He[Ze];at.tileID.isChildOf(Y)&&at.findMatches(ee.symbolInstances,Y,Te)}else{var Tt=He[Y.scaledTo(Number(De)).key];Tt&&Tt.findMatches(ee.symbolInstances,Y,Te)}}for(var At=0;At1?"@2x":"",se=i.getJSON(De.transformRequest(De.normalizeSpriteURL(Te,At,".json"),i.ResourceType.SpriteJSON),function(Fe,Ue){se=null,Tt||(Tt=Fe,Ze=Ue,Ie())}),ve=i.getImage(De.transformRequest(De.normalizeSpriteURL(Te,At,".png"),i.ResourceType.SpriteImage),function(Fe,Ue){ve=null,Tt||(Tt=Fe,at=Ue,Ie())});function Ie(){if(Tt)He(Tt);else if(Ze&&at){var Fe=i.browser.getImageData(at),Ue={};for(var We in Ze){var Xe=Ze[We],tt=Xe.width,lt=Xe.height,mt=Xe.x,zt=Xe.y,Ut=Xe.sdf,Ht=Xe.pixelRatio,en=Xe.stretchX,vn=Xe.stretchY,tn=Xe.content,ln=new i.RGBAImage({width:tt,height:lt});i.RGBAImage.copy(Fe,ln,{x:mt,y:zt},{x:0,y:0},{width:tt,height:lt}),Ue[We]={data:ln,pixelRatio:Ht,sdf:Ut,stretchX:en,stretchY:vn,content:tn}}He(null,Ue)}}return{cancel:function(){se&&(se.cancel(),se=null),ve&&(ve.cancel(),ve=null)}}}(K,this.map._requestManager,function(Te,De){if(le._spriteRequest=null,Te)le.fire(new i.ErrorEvent(Te));else if(De)for(var He in De)le.imageManager.addImage(He,De[He]);le.imageManager.setLoaded(!0),le._availableImages=le.imageManager.listImages(),le.dispatcher.broadcast("setImages",le._availableImages),le.fire(new i.Event("data",{dataType:"style"}))})},ee.prototype._validateLayer=function(K){var le=this.sourceCaches[K.source];if(le){var Te=K.sourceLayer;if(Te){var De=le.getSource();(De.type==="geojson"||De.vectorLayerIds&&De.vectorLayerIds.indexOf(Te)===-1)&&this.fire(new i.ErrorEvent(new Error('Source layer "'+Te+'" does not exist on source "'+De.id+'" as specified by style layer "'+K.id+'"')))}}},ee.prototype.loaded=function(){if(!this._loaded||Object.keys(this._updatedSources).length)return!1;for(var K in this.sourceCaches)if(!this.sourceCaches[K].loaded())return!1;return!!this.imageManager.isLoaded()},ee.prototype._serializeLayers=function(K){for(var le=[],Te=0,De=K;Te0)throw new Error("Unimplemented: "+De.map(function(He){return He.command}).join(", ")+".");return Te.forEach(function(He){He.command!=="setTransition"&&le[He.command].apply(le,He.args)}),this.stylesheet=K,!0},ee.prototype.addImage=function(K,le){if(this.getImage(K))return this.fire(new i.ErrorEvent(new Error("An image with this name already exists.")));this.imageManager.addImage(K,le),this._availableImages=this.imageManager.listImages(),this._changedImages[K]=!0,this._changed=!0,this.fire(new i.Event("data",{dataType:"style"}))},ee.prototype.updateImage=function(K,le){this.imageManager.updateImage(K,le)},ee.prototype.getImage=function(K){return this.imageManager.getImage(K)},ee.prototype.removeImage=function(K){if(!this.getImage(K))return this.fire(new i.ErrorEvent(new Error("No image with this name exists.")));this.imageManager.removeImage(K),this._availableImages=this.imageManager.listImages(),this._changedImages[K]=!0,this._changed=!0,this.fire(new i.Event("data",{dataType:"style"}))},ee.prototype.listImages=function(){return this._checkLoaded(),this.imageManager.listImages()},ee.prototype.addSource=function(K,le,Te){var De=this;if(Te===void 0&&(Te={}),this._checkLoaded(),this.sourceCaches[K]!==void 0)throw new Error("There is already a source with this ID");if(!le.type)throw new Error("The type property must be defined, but the only the following properties were given: "+Object.keys(le).join(", ")+".");if(!(["vector","raster","geojson","video","image"].indexOf(le.type)>=0&&this._validate(i.validateStyle.source,"sources."+K,le,null,Te))){this.map&&this.map._collectResourceTiming&&(le.collectResourceTiming=!0);var He=this.sourceCaches[K]=new ft(K,le,this.dispatcher);He.style=this,He.setEventedParent(this,function(){return{isSourceLoaded:De.loaded(),source:He.serialize(),sourceId:K}}),He.onAdd(this.map),this._changed=!0}},ee.prototype.removeSource=function(K){if(this._checkLoaded(),this.sourceCaches[K]===void 0)throw new Error("There is no source with this ID");for(var le in this._layers)if(this._layers[le].source===K)return this.fire(new i.ErrorEvent(new Error('Source "'+K+'" cannot be removed while layer "'+le+'" is using it.')));var Te=this.sourceCaches[K];delete this.sourceCaches[K],delete this._updatedSources[K],Te.fire(new i.Event("data",{sourceDataType:"metadata",dataType:"source",sourceId:K})),Te.setEventedParent(null),Te.clearTiles(),Te.onRemove&&Te.onRemove(this.map),this._changed=!0},ee.prototype.setGeoJSONSourceData=function(K,le){this._checkLoaded(),this.sourceCaches[K].getSource().setData(le),this._changed=!0},ee.prototype.getSource=function(K){return this.sourceCaches[K]&&this.sourceCaches[K].getSource()},ee.prototype.addLayer=function(K,le,Te){Te===void 0&&(Te={}),this._checkLoaded();var De=K.id;if(this.getLayer(De))this.fire(new i.ErrorEvent(new Error('Layer with id "'+De+'" already exists on this map')));else{var He;if(K.type==="custom"){if(Qn(this,i.validateCustomStyleLayer(K)))return;He=i.createStyleLayer(K)}else{if(typeof K.source=="object"&&(this.addSource(De,K.source),K=i.clone$1(K),K=i.extend(K,{source:De})),this._validate(i.validateStyle.layer,"layers."+De,K,{arrayIndex:-1},Te))return;He=i.createStyleLayer(K),this._validateLayer(He),He.setEventedParent(this,{layer:{id:De}}),this._serializedLayers[He.id]=He.serialize()}var Ze=le?this._order.indexOf(le):this._order.length;if(le&&Ze===-1)this.fire(new i.ErrorEvent(new Error('Layer with id "'+le+'" does not exist on this map.')));else{if(this._order.splice(Ze,0,De),this._layerOrderChanged=!0,this._layers[De]=He,this._removedLayers[De]&&He.source&&He.type!=="custom"){var at=this._removedLayers[De];delete this._removedLayers[De],at.type!==He.type?this._updatedSources[He.source]="clear":(this._updatedSources[He.source]="reload",this.sourceCaches[He.source].pause())}this._updateLayer(He),He.onAdd&&He.onAdd(this.map)}}},ee.prototype.moveLayer=function(K,le){if(this._checkLoaded(),this._changed=!0,this._layers[K]){if(K!==le){var Te=this._order.indexOf(K);this._order.splice(Te,1);var De=le?this._order.indexOf(le):this._order.length;le&&De===-1?this.fire(new i.ErrorEvent(new Error('Layer with id "'+le+'" does not exist on this map.'))):(this._order.splice(De,0,K),this._layerOrderChanged=!0)}}else this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be moved.")))},ee.prototype.removeLayer=function(K){this._checkLoaded();var le=this._layers[K];if(le){le.setEventedParent(null);var Te=this._order.indexOf(K);this._order.splice(Te,1),this._layerOrderChanged=!0,this._changed=!0,this._removedLayers[K]=le,delete this._layers[K],delete this._serializedLayers[K],delete this._updatedLayers[K],delete this._updatedPaintProps[K],le.onRemove&&le.onRemove(this.map)}else this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be removed.")))},ee.prototype.getLayer=function(K){return this._layers[K]},ee.prototype.hasLayer=function(K){return K in this._layers},ee.prototype.setLayerZoomRange=function(K,le,Te){this._checkLoaded();var De=this.getLayer(K);De?De.minzoom===le&&De.maxzoom===Te||(le!=null&&(De.minzoom=le),Te!=null&&(De.maxzoom=Te),this._updateLayer(De)):this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot have zoom extent.")))},ee.prototype.setFilter=function(K,le,Te){Te===void 0&&(Te={}),this._checkLoaded();var De=this.getLayer(K);if(De){if(!i.deepEqual(De.filter,le))return le==null?(De.filter=void 0,void this._updateLayer(De)):void(this._validate(i.validateStyle.filter,"layers."+De.id+".filter",le,null,Te)||(De.filter=i.clone$1(le),this._updateLayer(De)))}else this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be filtered.")))},ee.prototype.getFilter=function(K){return i.clone$1(this.getLayer(K).filter)},ee.prototype.setLayoutProperty=function(K,le,Te,De){De===void 0&&(De={}),this._checkLoaded();var He=this.getLayer(K);He?i.deepEqual(He.getLayoutProperty(le),Te)||(He.setLayoutProperty(le,Te,De),this._updateLayer(He)):this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be styled.")))},ee.prototype.getLayoutProperty=function(K,le){var Te=this.getLayer(K);if(Te)return Te.getLayoutProperty(le);this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style.")))},ee.prototype.setPaintProperty=function(K,le,Te,De){De===void 0&&(De={}),this._checkLoaded();var He=this.getLayer(K);He?i.deepEqual(He.getPaintProperty(le),Te)||(He.setPaintProperty(le,Te,De)&&this._updateLayer(He),this._changed=!0,this._updatedPaintProps[K]=!0):this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be styled.")))},ee.prototype.getPaintProperty=function(K,le){return this.getLayer(K).getPaintProperty(le)},ee.prototype.setFeatureState=function(K,le){this._checkLoaded();var Te=K.source,De=K.sourceLayer,He=this.sourceCaches[Te];if(He!==void 0){var Ze=He.getSource().type;Ze==="geojson"&&De?this.fire(new i.ErrorEvent(new Error("GeoJSON sources cannot have a sourceLayer parameter."))):Ze!=="vector"||De?(K.id===void 0&&this.fire(new i.ErrorEvent(new Error("The feature id parameter must be provided."))),He.setFeatureState(De,K.id,le)):this.fire(new i.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new i.ErrorEvent(new Error("The source '"+Te+"' does not exist in the map's style.")))},ee.prototype.removeFeatureState=function(K,le){this._checkLoaded();var Te=K.source,De=this.sourceCaches[Te];if(De!==void 0){var He=De.getSource().type,Ze=He==="vector"?K.sourceLayer:void 0;He!=="vector"||Ze?le&&typeof K.id!="string"&&typeof K.id!="number"?this.fire(new i.ErrorEvent(new Error("A feature id is requred to remove its specific state property."))):De.removeFeatureState(Ze,K.id,le):this.fire(new i.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new i.ErrorEvent(new Error("The source '"+Te+"' does not exist in the map's style.")))},ee.prototype.getFeatureState=function(K){this._checkLoaded();var le=K.source,Te=K.sourceLayer,De=this.sourceCaches[le];if(De!==void 0){if(De.getSource().type!=="vector"||Te)return K.id===void 0&&this.fire(new i.ErrorEvent(new Error("The feature id parameter must be provided."))),De.getFeatureState(Te,K.id);this.fire(new i.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new i.ErrorEvent(new Error("The source '"+le+"' does not exist in the map's style.")))},ee.prototype.getTransition=function(){return i.extend({duration:300,delay:0},this.stylesheet&&this.stylesheet.transition)},ee.prototype.serialize=function(){return i.filterObject({version:this.stylesheet.version,name:this.stylesheet.name,metadata:this.stylesheet.metadata,light:this.stylesheet.light,center:this.stylesheet.center,zoom:this.stylesheet.zoom,bearing:this.stylesheet.bearing,pitch:this.stylesheet.pitch,sprite:this.stylesheet.sprite,glyphs:this.stylesheet.glyphs,transition:this.stylesheet.transition,sources:i.mapObject(this.sourceCaches,function(K){return K.serialize()}),layers:this._serializeLayers(this._order)},function(K){return K!==void 0})},ee.prototype._updateLayer=function(K){this._updatedLayers[K.id]=!0,K.source&&!this._updatedSources[K.source]&&this.sourceCaches[K.source].getSource().type!=="raster"&&(this._updatedSources[K.source]="reload",this.sourceCaches[K.source].pause()),this._changed=!0},ee.prototype._flattenAndSortRenderedFeatures=function(K){for(var le=this,Te=function(tn){return le._layers[tn].type==="fill-extrusion"},De={},He=[],Ze=this._order.length-1;Ze>=0;Ze--){var at=this._order[Ze];if(Te(at)){De[at]=Ze;for(var Tt=0,At=K;Tt=0;We--){var Xe=this._order[We];if(Te(Xe))for(var tt=He.length-1;tt>=0;tt--){var lt=He[tt].feature;if(De[lt.layer.id]>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js -precision mediump float; -#else -#if !defined(lowp) -#define lowp -#endif -#if !defined(mediump) -#define mediump -#endif -#if !defined(highp) -#define highp -#endif -#endif`,`#ifdef GL_ES -precision highp float; -#else -#if !defined(lowp) -#define lowp -#endif -#if !defined(mediump) -#define mediump -#endif -#if !defined(highp) -#define highp -#endif -#endif -vec2 unpack_float(const float packedValue) {int packedIntValue=int(packedValue);int v0=packedIntValue/256;return vec2(v0,packedIntValue-v0*256);}vec2 unpack_opacity(const float packedOpacity) {int intOpacity=int(packedOpacity)/2;return vec2(float(intOpacity)/127.0,mod(packedOpacity,2.0));}vec4 decode_color(const vec2 encodedColor) {return vec4(unpack_float(encodedColor[0])/255.0,unpack_float(encodedColor[1])/255.0 -);}float unpack_mix_vec2(const vec2 packedValue,const float t) {return mix(packedValue[0],packedValue[1],t);}vec4 unpack_mix_color(const vec4 packedColors,const float t) {vec4 minColor=decode_color(vec2(packedColors[0],packedColors[1]));vec4 maxColor=decode_color(vec2(packedColors[2],packedColors[3]));return mix(minColor,maxColor,t);}vec2 get_pattern_pos(const vec2 pixel_coord_upper,const vec2 pixel_coord_lower,const vec2 pattern_size,const float tile_units_to_pixels,const vec2 pos) {vec2 offset=mod(mod(mod(pixel_coord_upper,pattern_size)*256.0,pattern_size)*256.0+pixel_coord_lower,pattern_size);return (tile_units_to_pixels*pos+offset)/pattern_size;}`),Lr=Ui(`uniform vec4 u_color;uniform float u_opacity;void main() {gl_FragColor=u_color*u_opacity; -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,"attribute vec2 a_pos;uniform mat4 u_matrix;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);}"),zr=Ui(`uniform vec2 u_pattern_tl_a;uniform vec2 u_pattern_br_a;uniform vec2 u_pattern_tl_b;uniform vec2 u_pattern_br_b;uniform vec2 u_texsize;uniform float u_mix;uniform float u_opacity;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;void main() {vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(u_pattern_tl_a/u_texsize,u_pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(u_pattern_tl_b/u_texsize,u_pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);gl_FragColor=mix(color1,color2,u_mix)*u_opacity; -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,"uniform mat4 u_matrix;uniform vec2 u_pattern_size_a;uniform vec2 u_pattern_size_b;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_scale_a;uniform float u_scale_b;uniform float u_tile_units_to_pixels;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,u_scale_a*u_pattern_size_a,u_tile_units_to_pixels,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,u_scale_b*u_pattern_size_b,u_tile_units_to_pixels,a_pos);}"),gr=Ui(`varying vec3 v_data; -#pragma mapbox: define highp vec4 color -#pragma mapbox: define mediump float radius -#pragma mapbox: define lowp float blur -#pragma mapbox: define lowp float opacity -#pragma mapbox: define highp vec4 stroke_color -#pragma mapbox: define mediump float stroke_width -#pragma mapbox: define lowp float stroke_opacity -void main() { -#pragma mapbox: initialize highp vec4 color -#pragma mapbox: initialize mediump float radius -#pragma mapbox: initialize lowp float blur -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize highp vec4 stroke_color -#pragma mapbox: initialize mediump float stroke_width -#pragma mapbox: initialize lowp float stroke_opacity -vec2 extrude=v_data.xy;float extrude_length=length(extrude);lowp float antialiasblur=v_data.z;float antialiased_blur=-max(blur,antialiasblur);float opacity_t=smoothstep(0.0,antialiased_blur,extrude_length-1.0);float color_t=stroke_width < 0.01 ? 0.0 : smoothstep(antialiased_blur,0.0,extrude_length-radius/(radius+stroke_width));gl_FragColor=opacity_t*mix(color*opacity,stroke_color*stroke_opacity,color_t); -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,`uniform mat4 u_matrix;uniform bool u_scale_with_map;uniform bool u_pitch_with_map;uniform vec2 u_extrude_scale;uniform lowp float u_device_pixel_ratio;uniform highp float u_camera_to_center_distance;attribute vec2 a_pos;varying vec3 v_data; -#pragma mapbox: define highp vec4 color -#pragma mapbox: define mediump float radius -#pragma mapbox: define lowp float blur -#pragma mapbox: define lowp float opacity -#pragma mapbox: define highp vec4 stroke_color -#pragma mapbox: define mediump float stroke_width -#pragma mapbox: define lowp float stroke_opacity -void main(void) { -#pragma mapbox: initialize highp vec4 color -#pragma mapbox: initialize mediump float radius -#pragma mapbox: initialize lowp float blur -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize highp vec4 stroke_color -#pragma mapbox: initialize mediump float stroke_width -#pragma mapbox: initialize lowp float stroke_opacity -vec2 extrude=vec2(mod(a_pos,2.0)*2.0-1.0);vec2 circle_center=floor(a_pos*0.5);if (u_pitch_with_map) {vec2 corner_position=circle_center;if (u_scale_with_map) {corner_position+=extrude*(radius+stroke_width)*u_extrude_scale;} else {vec4 projected_center=u_matrix*vec4(circle_center,0,1);corner_position+=extrude*(radius+stroke_width)*u_extrude_scale*(projected_center.w/u_camera_to_center_distance);}gl_Position=u_matrix*vec4(corner_position,0,1);} else {gl_Position=u_matrix*vec4(circle_center,0,1);if (u_scale_with_map) {gl_Position.xy+=extrude*(radius+stroke_width)*u_extrude_scale*u_camera_to_center_distance;} else {gl_Position.xy+=extrude*(radius+stroke_width)*u_extrude_scale*gl_Position.w;}}lowp float antialiasblur=1.0/u_device_pixel_ratio/(radius+stroke_width);v_data=vec3(extrude.x,extrude.y,antialiasblur);}`),Fr=Ui("void main() {gl_FragColor=vec4(1.0);}","attribute vec2 a_pos;uniform mat4 u_matrix;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);}"),ii=Ui(`uniform highp float u_intensity;varying vec2 v_extrude; -#pragma mapbox: define highp float weight -#define GAUSS_COEF 0.3989422804014327 -void main() { -#pragma mapbox: initialize highp float weight -float d=-0.5*3.0*3.0*dot(v_extrude,v_extrude);float val=weight*u_intensity*GAUSS_COEF*exp(d);gl_FragColor=vec4(val,1.0,1.0,1.0); -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,`uniform mat4 u_matrix;uniform float u_extrude_scale;uniform float u_opacity;uniform float u_intensity;attribute vec2 a_pos;varying vec2 v_extrude; -#pragma mapbox: define highp float weight -#pragma mapbox: define mediump float radius -const highp float ZERO=1.0/255.0/16.0; -#define GAUSS_COEF 0.3989422804014327 -void main(void) { -#pragma mapbox: initialize highp float weight -#pragma mapbox: initialize mediump float radius -vec2 unscaled_extrude=vec2(mod(a_pos,2.0)*2.0-1.0);float S=sqrt(-2.0*log(ZERO/weight/u_intensity/GAUSS_COEF))/3.0;v_extrude=S*unscaled_extrude;vec2 extrude=v_extrude*radius*u_extrude_scale;vec4 pos=vec4(floor(a_pos*0.5)+extrude,0,1);gl_Position=u_matrix*pos;}`),ji=Ui(`uniform sampler2D u_image;uniform sampler2D u_color_ramp;uniform float u_opacity;varying vec2 v_pos;void main() {float t=texture2D(u_image,v_pos).r;vec4 color=texture2D(u_color_ramp,vec2(t,0.5));gl_FragColor=color*u_opacity; -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(0.0); -#endif -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js -}`,"uniform mat4 u_matrix;uniform vec2 u_world;attribute vec2 a_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos*u_world,0,1);v_pos.x=a_pos.x;v_pos.y=1.0-a_pos.y;}"),ea=Ui("varying float v_placed;varying float v_notUsed;void main() {float alpha=0.5;gl_FragColor=vec4(1.0,0.0,0.0,1.0)*alpha;if (v_placed > 0.5) {gl_FragColor=vec4(0.0,0.0,1.0,0.5)*alpha;}if (v_notUsed > 0.5) {gl_FragColor*=.1;}}","attribute vec2 a_pos;attribute vec2 a_anchor_pos;attribute vec2 a_extrude;attribute vec2 a_placed;attribute vec2 a_shift;uniform mat4 u_matrix;uniform vec2 u_extrude_scale;uniform float u_camera_to_center_distance;varying float v_placed;varying float v_notUsed;void main() {vec4 projectedPoint=u_matrix*vec4(a_anchor_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);gl_Position=u_matrix*vec4(a_pos,0.0,1.0);gl_Position.xy+=(a_extrude+a_shift)*u_extrude_scale*gl_Position.w*collision_perspective_ratio;v_placed=a_placed.x;v_notUsed=a_placed.y;}"),sa=Ui("varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;void main() {float alpha=0.5*min(v_perspective_ratio,1.0);float stroke_radius=0.9*max(v_perspective_ratio,1.0);float distance_to_center=length(v_extrude);float distance_to_edge=abs(distance_to_center-v_radius);float opacity_t=smoothstep(-stroke_radius,0.0,-distance_to_edge);vec4 color=mix(vec4(0.0,0.0,1.0,0.5),vec4(1.0,0.0,0.0,1.0),v_collision);gl_FragColor=color*alpha*opacity_t;}","attribute vec2 a_pos;attribute float a_radius;attribute vec2 a_flags;uniform mat4 u_matrix;uniform mat4 u_inv_matrix;uniform vec2 u_viewport_size;uniform float u_camera_to_center_distance;varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;vec3 toTilePosition(vec2 screenPos) {vec4 rayStart=u_inv_matrix*vec4(screenPos,-1.0,1.0);vec4 rayEnd =u_inv_matrix*vec4(screenPos, 1.0,1.0);rayStart.xyz/=rayStart.w;rayEnd.xyz /=rayEnd.w;highp float t=(0.0-rayStart.z)/(rayEnd.z-rayStart.z);return mix(rayStart.xyz,rayEnd.xyz,t);}void main() {vec2 quadCenterPos=a_pos;float radius=a_radius;float collision=a_flags.x;float vertexIdx=a_flags.y;vec2 quadVertexOffset=vec2(mix(-1.0,1.0,float(vertexIdx >=2.0)),mix(-1.0,1.0,float(vertexIdx >=1.0 && vertexIdx <=2.0)));vec2 quadVertexExtent=quadVertexOffset*radius;vec3 tilePos=toTilePosition(quadCenterPos);vec4 clipPos=u_matrix*vec4(tilePos,1.0);highp float camera_to_anchor_distance=clipPos.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);float padding_factor=1.2;v_radius=radius;v_extrude=quadVertexExtent*padding_factor;v_perspective_ratio=collision_perspective_ratio;v_collision=collision;gl_Position=vec4(clipPos.xyz/clipPos.w,1.0)+vec4(quadVertexExtent*padding_factor/u_viewport_size*2.0,0.0,0.0);}"),co=Ui("uniform highp vec4 u_color;uniform sampler2D u_overlay;varying vec2 v_uv;void main() {vec4 overlay_color=texture2D(u_overlay,v_uv);gl_FragColor=mix(u_color,overlay_color,overlay_color.a);}","attribute vec2 a_pos;varying vec2 v_uv;uniform mat4 u_matrix;uniform float u_overlay_scale;void main() {v_uv=a_pos/8192.0;gl_Position=u_matrix*vec4(a_pos*u_overlay_scale,0,1);}"),La=Ui(`#pragma mapbox: define highp vec4 color -======== -}`,"uniform mat4 u_matrix;uniform vec2 u_world;attribute vec2 a_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos*u_world,0,1);v_pos.x=a_pos.x;v_pos.y=1.0-a_pos.y;}"),ea=Ui("varying float v_placed;varying float v_notUsed;void main() {float alpha=0.5;gl_FragColor=vec4(1.0,0.0,0.0,1.0)*alpha;if (v_placed > 0.5) {gl_FragColor=vec4(0.0,0.0,1.0,0.5)*alpha;}if (v_notUsed > 0.5) {gl_FragColor*=.1;}}","attribute vec2 a_pos;attribute vec2 a_anchor_pos;attribute vec2 a_extrude;attribute vec2 a_placed;attribute vec2 a_shift;uniform mat4 u_matrix;uniform vec2 u_extrude_scale;uniform float u_camera_to_center_distance;varying float v_placed;varying float v_notUsed;void main() {vec4 projectedPoint=u_matrix*vec4(a_anchor_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);gl_Position=u_matrix*vec4(a_pos,0.0,1.0);gl_Position.xy+=(a_extrude+a_shift)*u_extrude_scale*gl_Position.w*collision_perspective_ratio;v_placed=a_placed.x;v_notUsed=a_placed.y;}"),sa=Ui("varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;void main() {float alpha=0.5*min(v_perspective_ratio,1.0);float stroke_radius=0.9*max(v_perspective_ratio,1.0);float distance_to_center=length(v_extrude);float distance_to_edge=abs(distance_to_center-v_radius);float opacity_t=smoothstep(-stroke_radius,0.0,-distance_to_edge);vec4 color=mix(vec4(0.0,0.0,1.0,0.5),vec4(1.0,0.0,0.0,1.0),v_collision);gl_FragColor=color*alpha*opacity_t;}","attribute vec2 a_pos;attribute float a_radius;attribute vec2 a_flags;uniform mat4 u_matrix;uniform mat4 u_inv_matrix;uniform vec2 u_viewport_size;uniform float u_camera_to_center_distance;varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;vec3 toTilePosition(vec2 screenPos) {vec4 rayStart=u_inv_matrix*vec4(screenPos,-1.0,1.0);vec4 rayEnd =u_inv_matrix*vec4(screenPos, 1.0,1.0);rayStart.xyz/=rayStart.w;rayEnd.xyz /=rayEnd.w;highp float t=(0.0-rayStart.z)/(rayEnd.z-rayStart.z);return mix(rayStart.xyz,rayEnd.xyz,t);}void main() {vec2 quadCenterPos=a_pos;float radius=a_radius;float collision=a_flags.x;float vertexIdx=a_flags.y;vec2 quadVertexOffset=vec2(mix(-1.0,1.0,float(vertexIdx >=2.0)),mix(-1.0,1.0,float(vertexIdx >=1.0 && vertexIdx <=2.0)));vec2 quadVertexExtent=quadVertexOffset*radius;vec3 tilePos=toTilePosition(quadCenterPos);vec4 clipPos=u_matrix*vec4(tilePos,1.0);highp float camera_to_anchor_distance=clipPos.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);float padding_factor=1.2;v_radius=radius;v_extrude=quadVertexExtent*padding_factor;v_perspective_ratio=collision_perspective_ratio;v_collision=collision;gl_Position=vec4(clipPos.xyz/clipPos.w,1.0)+vec4(quadVertexExtent*padding_factor/u_viewport_size*2.0,0.0,0.0);}"),uo=Ui("uniform highp vec4 u_color;uniform sampler2D u_overlay;varying vec2 v_uv;void main() {vec4 overlay_color=texture2D(u_overlay,v_uv);gl_FragColor=mix(u_color,overlay_color,overlay_color.a);}","attribute vec2 a_pos;varying vec2 v_uv;uniform mat4 u_matrix;uniform float u_overlay_scale;void main() {v_uv=a_pos/8192.0;gl_Position=u_matrix*vec4(a_pos*u_overlay_scale,0,1);}"),La=Ui(`#pragma mapbox: define highp vec4 color ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js -#pragma mapbox: define lowp float opacity -void main() { -#pragma mapbox: initialize highp vec4 color -#pragma mapbox: initialize lowp float opacity -gl_FragColor=color*opacity; -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,`attribute vec2 a_pos;uniform mat4 u_matrix; -#pragma mapbox: define highp vec4 color -#pragma mapbox: define lowp float opacity -void main() { -#pragma mapbox: initialize highp vec4 color -#pragma mapbox: initialize lowp float opacity -gl_Position=u_matrix*vec4(a_pos,0,1);}`),Xi=Ui(`varying vec2 v_pos; -#pragma mapbox: define highp vec4 outline_color -#pragma mapbox: define lowp float opacity -void main() { -#pragma mapbox: initialize highp vec4 outline_color -#pragma mapbox: initialize lowp float opacity -float dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);gl_FragColor=outline_color*(alpha*opacity); -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,`attribute vec2 a_pos;uniform mat4 u_matrix;uniform vec2 u_world;varying vec2 v_pos; -#pragma mapbox: define highp vec4 outline_color -#pragma mapbox: define lowp float opacity -void main() { -#pragma mapbox: initialize highp vec4 outline_color -#pragma mapbox: initialize lowp float opacity -gl_Position=u_matrix*vec4(a_pos,0,1);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;}`),Do=Ui(`uniform vec2 u_texsize;uniform sampler2D u_image;uniform float u_fade;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec2 v_pos; -#pragma mapbox: define lowp float opacity -#pragma mapbox: define lowp vec4 pattern_from -#pragma mapbox: define lowp vec4 pattern_to -void main() { -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize mediump vec4 pattern_from -#pragma mapbox: initialize mediump vec4 pattern_to -vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);float dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);gl_FragColor=mix(color1,color2,u_fade)*alpha*opacity; -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,`uniform mat4 u_matrix;uniform vec2 u_world;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec3 u_scale;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec2 v_pos; -#pragma mapbox: define lowp float opacity -#pragma mapbox: define lowp vec4 pattern_from -#pragma mapbox: define lowp vec4 pattern_to -#pragma mapbox: define lowp float pixel_ratio_from -#pragma mapbox: define lowp float pixel_ratio_to -void main() { -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize mediump vec4 pattern_from -#pragma mapbox: initialize mediump vec4 pattern_to -#pragma mapbox: initialize lowp float pixel_ratio_from -#pragma mapbox: initialize lowp float pixel_ratio_to -vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;gl_Position=u_matrix*vec4(a_pos,0,1);vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,a_pos);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;}`),rs=Ui(`uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b; -#pragma mapbox: define lowp float opacity -#pragma mapbox: define lowp vec4 pattern_from -#pragma mapbox: define lowp vec4 pattern_to -void main() { -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize mediump vec4 pattern_from -#pragma mapbox: initialize mediump vec4 pattern_to -vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);gl_FragColor=mix(color1,color2,u_fade)*opacity; -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,`uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec3 u_scale;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b; -#pragma mapbox: define lowp float opacity -#pragma mapbox: define lowp vec4 pattern_from -#pragma mapbox: define lowp vec4 pattern_to -#pragma mapbox: define lowp float pixel_ratio_from -#pragma mapbox: define lowp float pixel_ratio_to -void main() { -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize mediump vec4 pattern_from -#pragma mapbox: initialize mediump vec4 pattern_to -#pragma mapbox: initialize lowp float pixel_ratio_from -#pragma mapbox: initialize lowp float pixel_ratio_to -vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;gl_Position=u_matrix*vec4(a_pos,0,1);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileZoomRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileZoomRatio,a_pos);}`),el=Ui(`varying vec4 v_color;void main() {gl_FragColor=v_color; -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,`uniform mat4 u_matrix;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;uniform float u_vertical_gradient;uniform lowp float u_opacity;attribute vec2 a_pos;attribute vec4 a_normal_ed;varying vec4 v_color; -#pragma mapbox: define highp float base -#pragma mapbox: define highp float height -#pragma mapbox: define highp vec4 color -void main() { -#pragma mapbox: initialize highp float base -#pragma mapbox: initialize highp float height -#pragma mapbox: initialize highp vec4 color -vec3 normal=a_normal_ed.xyz;base=max(0.0,base);height=max(0.0,height);float t=mod(normal.x,2.0);gl_Position=u_matrix*vec4(a_pos,t > 0.0 ? height : base,1);float colorvalue=color.r*0.2126+color.g*0.7152+color.b*0.0722;v_color=vec4(0.0,0.0,0.0,1.0);vec4 ambientlight=vec4(0.03,0.03,0.03,1.0);color+=ambientlight;float directional=clamp(dot(normal/16384.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((1.0-colorvalue+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_color.r+=clamp(color.r*directional*u_lightcolor.r,mix(0.0,0.3,1.0-u_lightcolor.r),1.0);v_color.g+=clamp(color.g*directional*u_lightcolor.g,mix(0.0,0.3,1.0-u_lightcolor.g),1.0);v_color.b+=clamp(color.b*directional*u_lightcolor.b,mix(0.0,0.3,1.0-u_lightcolor.b),1.0);v_color*=u_opacity;}`),Cu=Ui(`uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting; -#pragma mapbox: define lowp float base -#pragma mapbox: define lowp float height -#pragma mapbox: define lowp vec4 pattern_from -#pragma mapbox: define lowp vec4 pattern_to -#pragma mapbox: define lowp float pixel_ratio_from -#pragma mapbox: define lowp float pixel_ratio_to -void main() { -#pragma mapbox: initialize lowp float base -#pragma mapbox: initialize lowp float height -#pragma mapbox: initialize mediump vec4 pattern_from -#pragma mapbox: initialize mediump vec4 pattern_to -#pragma mapbox: initialize lowp float pixel_ratio_from -#pragma mapbox: initialize lowp float pixel_ratio_to -vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);vec4 mixedColor=mix(color1,color2,u_fade);gl_FragColor=mixedColor*v_lighting; -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,`uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_height_factor;uniform vec3 u_scale;uniform float u_vertical_gradient;uniform lowp float u_opacity;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;attribute vec2 a_pos;attribute vec4 a_normal_ed;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting; -#pragma mapbox: define lowp float base -#pragma mapbox: define lowp float height -#pragma mapbox: define lowp vec4 pattern_from -#pragma mapbox: define lowp vec4 pattern_to -#pragma mapbox: define lowp float pixel_ratio_from -#pragma mapbox: define lowp float pixel_ratio_to -void main() { -#pragma mapbox: initialize lowp float base -#pragma mapbox: initialize lowp float height -#pragma mapbox: initialize mediump vec4 pattern_from -#pragma mapbox: initialize mediump vec4 pattern_to -#pragma mapbox: initialize lowp float pixel_ratio_from -#pragma mapbox: initialize lowp float pixel_ratio_to -vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec3 normal=a_normal_ed.xyz;float edgedistance=a_normal_ed.w;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;base=max(0.0,base);height=max(0.0,height);float t=mod(normal.x,2.0);float z=t > 0.0 ? height : base;gl_Position=u_matrix*vec4(a_pos,z,1);vec2 pos=normal.x==1.0 && normal.y==0.0 && normal.z==16384.0 -? a_pos -: vec2(edgedistance,z*u_height_factor);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,pos);v_lighting=vec4(0.0,0.0,0.0,1.0);float directional=clamp(dot(normal/16383.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((0.5+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_lighting.rgb+=clamp(directional*u_lightcolor,mix(vec3(0.0),vec3(0.3),1.0-u_lightcolor),vec3(1.0));v_lighting*=u_opacity;}`),gf=Ui(`#ifdef GL_ES -precision highp float; -#endif -uniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_dimension;uniform float u_zoom;uniform float u_maxzoom;uniform vec4 u_unpack;float getElevation(vec2 coord,float bias) {vec4 data=texture2D(u_image,coord)*255.0;data.a=-1.0;return dot(data,u_unpack)/4.0;}void main() {vec2 epsilon=1.0/u_dimension;float a=getElevation(v_pos+vec2(-epsilon.x,-epsilon.y),0.0);float b=getElevation(v_pos+vec2(0,-epsilon.y),0.0);float c=getElevation(v_pos+vec2(epsilon.x,-epsilon.y),0.0);float d=getElevation(v_pos+vec2(-epsilon.x,0),0.0);float e=getElevation(v_pos,0.0);float f=getElevation(v_pos+vec2(epsilon.x,0),0.0);float g=getElevation(v_pos+vec2(-epsilon.x,epsilon.y),0.0);float h=getElevation(v_pos+vec2(0,epsilon.y),0.0);float i=getElevation(v_pos+vec2(epsilon.x,epsilon.y),0.0);float exaggeration=u_zoom < 2.0 ? 0.4 : u_zoom < 4.5 ? 0.35 : 0.3;vec2 deriv=vec2((c+f+f+i)-(a+d+d+g),(g+h+h+i)-(a+b+b+c))/ pow(2.0,(u_zoom-u_maxzoom)*exaggeration+19.2562-u_zoom);gl_FragColor=clamp(vec4(deriv.x/2.0+0.5,deriv.y/2.0+0.5,1.0,1.0),0.0,1.0); -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,"uniform mat4 u_matrix;uniform vec2 u_dimension;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);highp vec2 epsilon=1.0/u_dimension;float scale=(u_dimension.x-2.0)/u_dimension.x;v_pos=(a_texture_pos/8192.0)*scale+epsilon;}"),Mh=Ui(`uniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_latrange;uniform vec2 u_light;uniform vec4 u_shadow;uniform vec4 u_highlight;uniform vec4 u_accent; -#define PI 3.141592653589793 -void main() {vec4 pixel=texture2D(u_image,v_pos);vec2 deriv=((pixel.rg*2.0)-1.0);float scaleFactor=cos(radians((u_latrange[0]-u_latrange[1])*(1.0-v_pos.y)+u_latrange[1]));float slope=atan(1.25*length(deriv)/scaleFactor);float aspect=deriv.x !=0.0 ? atan(deriv.y,-deriv.x) : PI/2.0*(deriv.y > 0.0 ? 1.0 :-1.0);float intensity=u_light.x;float azimuth=u_light.y+PI;float base=1.875-intensity*1.75;float maxValue=0.5*PI;float scaledSlope=intensity !=0.5 ? ((pow(base,slope)-1.0)/(pow(base,maxValue)-1.0))*maxValue : slope;float accent=cos(scaledSlope);vec4 accent_color=(1.0-accent)*u_accent*clamp(intensity*2.0,0.0,1.0);float shade=abs(mod((aspect+azimuth)/PI+0.5,2.0)-1.0);vec4 shade_color=mix(u_shadow,u_highlight,shade)*sin(scaledSlope)*clamp(intensity*2.0,0.0,1.0);gl_FragColor=accent_color*(1.0-shade_color.a)+shade_color; -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,"uniform mat4 u_matrix;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos=a_texture_pos/8192.0;}"),Eu=Ui(`uniform lowp float u_device_pixel_ratio;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale; -#pragma mapbox: define highp vec4 color -#pragma mapbox: define lowp float blur -#pragma mapbox: define lowp float opacity -void main() { -#pragma mapbox: initialize highp vec4 color -#pragma mapbox: initialize lowp float blur -#pragma mapbox: initialize lowp float opacity -float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);gl_FragColor=color*(alpha*opacity); -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,` -#define scale 0.015873016 -attribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform vec2 u_units_to_pixels;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp float v_linesofar; -#pragma mapbox: define highp vec4 color -#pragma mapbox: define lowp float blur -#pragma mapbox: define lowp float opacity -#pragma mapbox: define mediump float gapwidth -#pragma mapbox: define lowp float offset -#pragma mapbox: define mediump float width -void main() { -#pragma mapbox: initialize highp vec4 color -#pragma mapbox: initialize lowp float blur -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize mediump float gapwidth -#pragma mapbox: initialize lowp float offset -#pragma mapbox: initialize mediump float width -float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;v_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*2.0;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_width2=vec2(outset,inset);}`),is=Ui(`uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;varying highp float v_lineprogress; -#pragma mapbox: define lowp float blur -#pragma mapbox: define lowp float opacity -void main() { -#pragma mapbox: initialize lowp float blur -#pragma mapbox: initialize lowp float opacity -float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);vec4 color=texture2D(u_image,vec2(v_lineprogress,0.5));gl_FragColor=color*(alpha*opacity); -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,` -#define MAX_LINE_DISTANCE 32767.0 -#define scale 0.015873016 -attribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_units_to_pixels;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp float v_lineprogress; -#pragma mapbox: define lowp float blur -#pragma mapbox: define lowp float opacity -#pragma mapbox: define mediump float gapwidth -#pragma mapbox: define lowp float offset -#pragma mapbox: define mediump float width -void main() { -#pragma mapbox: initialize lowp float blur -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize mediump float gapwidth -#pragma mapbox: initialize lowp float offset -#pragma mapbox: initialize mediump float width -float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;v_lineprogress=(floor(a_data.z/4.0)+a_data.w*64.0)*2.0/MAX_LINE_DISTANCE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_width2=vec2(outset,inset);}`),Ah=Ui(`uniform lowp float u_device_pixel_ratio;uniform vec2 u_texsize;uniform float u_fade;uniform mediump vec3 u_scale;uniform sampler2D u_image;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;varying float v_width; -#pragma mapbox: define lowp vec4 pattern_from -#pragma mapbox: define lowp vec4 pattern_to -#pragma mapbox: define lowp float pixel_ratio_from -#pragma mapbox: define lowp float pixel_ratio_to -#pragma mapbox: define lowp float blur -#pragma mapbox: define lowp float opacity -void main() { -#pragma mapbox: initialize mediump vec4 pattern_from -#pragma mapbox: initialize mediump vec4 pattern_to -#pragma mapbox: initialize lowp float pixel_ratio_from -#pragma mapbox: initialize lowp float pixel_ratio_to -#pragma mapbox: initialize lowp float blur -#pragma mapbox: initialize lowp float opacity -vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;vec2 pattern_size_a=vec2(display_size_a.x*fromScale/tileZoomRatio,display_size_a.y);vec2 pattern_size_b=vec2(display_size_b.x*toScale/tileZoomRatio,display_size_b.y);float aspect_a=display_size_a.y/v_width;float aspect_b=display_size_b.y/v_width;float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float x_a=mod(v_linesofar/pattern_size_a.x*aspect_a,1.0);float x_b=mod(v_linesofar/pattern_size_b.x*aspect_b,1.0);float y=0.5*v_normal.y+0.5;vec2 texel_size=1.0/u_texsize;vec2 pos_a=mix(pattern_tl_a*texel_size-texel_size,pattern_br_a*texel_size+texel_size,vec2(x_a,y));vec2 pos_b=mix(pattern_tl_b*texel_size-texel_size,pattern_br_b*texel_size+texel_size,vec2(x_b,y));vec4 color=mix(texture2D(u_image,pos_a),texture2D(u_image,pos_b),u_fade);gl_FragColor=color*alpha*opacity; -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,` -#define scale 0.015873016 -#define LINE_DISTANCE_SCALE 2.0 -attribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform vec2 u_units_to_pixels;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;varying float v_width; -#pragma mapbox: define lowp float blur -#pragma mapbox: define lowp float opacity -#pragma mapbox: define lowp float offset -#pragma mapbox: define mediump float gapwidth -#pragma mapbox: define mediump float width -#pragma mapbox: define lowp float floorwidth -#pragma mapbox: define lowp vec4 pattern_from -#pragma mapbox: define lowp vec4 pattern_to -#pragma mapbox: define lowp float pixel_ratio_from -#pragma mapbox: define lowp float pixel_ratio_to -void main() { -#pragma mapbox: initialize lowp float blur -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize lowp float offset -#pragma mapbox: initialize mediump float gapwidth -#pragma mapbox: initialize mediump float width -#pragma mapbox: initialize lowp float floorwidth -#pragma mapbox: initialize mediump vec4 pattern_from -#pragma mapbox: initialize mediump vec4 pattern_to -#pragma mapbox: initialize lowp float pixel_ratio_from -#pragma mapbox: initialize lowp float pixel_ratio_to -float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_linesofar=a_linesofar;v_width2=vec2(outset,inset);v_width=floorwidth;}`),Ya=Ui(`uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;uniform float u_sdfgamma;uniform float u_mix;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale; -#pragma mapbox: define highp vec4 color -#pragma mapbox: define lowp float blur -#pragma mapbox: define lowp float opacity -#pragma mapbox: define mediump float width -#pragma mapbox: define lowp float floorwidth -void main() { -#pragma mapbox: initialize highp vec4 color -#pragma mapbox: initialize lowp float blur -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize mediump float width -#pragma mapbox: initialize lowp float floorwidth -float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float sdfdist_a=texture2D(u_image,v_tex_a).a;float sdfdist_b=texture2D(u_image,v_tex_b).a;float sdfdist=mix(sdfdist_a,sdfdist_b,u_mix);alpha*=smoothstep(0.5-u_sdfgamma/floorwidth,0.5+u_sdfgamma/floorwidth,sdfdist);gl_FragColor=color*(alpha*opacity); -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,` -#define scale 0.015873016 -#define LINE_DISTANCE_SCALE 2.0 -attribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_patternscale_a;uniform float u_tex_y_a;uniform vec2 u_patternscale_b;uniform float u_tex_y_b;uniform vec2 u_units_to_pixels;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale; -#pragma mapbox: define highp vec4 color -#pragma mapbox: define lowp float blur -#pragma mapbox: define lowp float opacity -#pragma mapbox: define mediump float gapwidth -#pragma mapbox: define lowp float offset -#pragma mapbox: define mediump float width -#pragma mapbox: define lowp float floorwidth -void main() { -#pragma mapbox: initialize highp vec4 color -#pragma mapbox: initialize lowp float blur -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize mediump float gapwidth -#pragma mapbox: initialize lowp float offset -#pragma mapbox: initialize mediump float width -#pragma mapbox: initialize lowp float floorwidth -float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_tex_a=vec2(a_linesofar*u_patternscale_a.x/floorwidth,normal.y*u_patternscale_a.y+u_tex_y_a);v_tex_b=vec2(a_linesofar*u_patternscale_b.x/floorwidth,normal.y*u_patternscale_b.y+u_tex_y_b);v_width2=vec2(outset,inset);}`),hc=Ui(`uniform float u_fade_t;uniform float u_opacity;uniform sampler2D u_image0;uniform sampler2D u_image1;varying vec2 v_pos0;varying vec2 v_pos1;uniform float u_brightness_low;uniform float u_brightness_high;uniform float u_saturation_factor;uniform float u_contrast_factor;uniform vec3 u_spin_weights;void main() {vec4 color0=texture2D(u_image0,v_pos0);vec4 color1=texture2D(u_image1,v_pos1);if (color0.a > 0.0) {color0.rgb=color0.rgb/color0.a;}if (color1.a > 0.0) {color1.rgb=color1.rgb/color1.a;}vec4 color=mix(color0,color1,u_fade_t);color.a*=u_opacity;vec3 rgb=color.rgb;rgb=vec3(dot(rgb,u_spin_weights.xyz),dot(rgb,u_spin_weights.zxy),dot(rgb,u_spin_weights.yzx));float average=(color.r+color.g+color.b)/3.0;rgb+=(average-rgb)*u_saturation_factor;rgb=(rgb-0.5)*u_contrast_factor+0.5;vec3 u_high_vec=vec3(u_brightness_low,u_brightness_low,u_brightness_low);vec3 u_low_vec=vec3(u_brightness_high,u_brightness_high,u_brightness_high);gl_FragColor=vec4(mix(u_high_vec,u_low_vec,rgb)*color.a,color.a); -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,"uniform mat4 u_matrix;uniform vec2 u_tl_parent;uniform float u_scale_parent;uniform float u_buffer_scale;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos0;varying vec2 v_pos1;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos0=(((a_texture_pos/8192.0)-0.5)/u_buffer_scale )+0.5;v_pos1=(v_pos0*u_scale_parent)+u_tl_parent;}"),Yo=Ui(`uniform sampler2D u_texture;varying vec2 v_tex;varying float v_fade_opacity; -#pragma mapbox: define lowp float opacity -void main() { -#pragma mapbox: initialize lowp float opacity -lowp float alpha=opacity*v_fade_opacity;gl_FragColor=texture2D(u_texture,v_tex)*alpha; -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,`const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec4 a_pixeloffset;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform highp float u_camera_to_center_distance;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform float u_fade_change;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform vec2 u_texsize;varying vec2 v_tex;varying float v_fade_opacity; -#pragma mapbox: define lowp float opacity -void main() { -#pragma mapbox: initialize lowp float opacity -vec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;vec2 a_minFontScale=a_pixeloffset.zw/256.0;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ? -camera_to_anchor_distance/u_camera_to_center_distance : -u_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*max(a_minFontScale,fontScale)+a_pxoffset/16.0),0.0,1.0);v_tex=a_tex/u_texsize;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;v_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));}`),as=Ui(`#define SDF_PX 8.0 -uniform bool u_is_halo;uniform sampler2D u_texture;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;uniform bool u_is_text;varying vec2 v_data0;varying vec3 v_data1; -#pragma mapbox: define highp vec4 fill_color -#pragma mapbox: define highp vec4 halo_color -#pragma mapbox: define lowp float opacity -#pragma mapbox: define lowp float halo_width -#pragma mapbox: define lowp float halo_blur -void main() { -#pragma mapbox: initialize highp vec4 fill_color -#pragma mapbox: initialize highp vec4 halo_color -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize lowp float halo_width -#pragma mapbox: initialize lowp float halo_blur -float EDGE_GAMMA=0.105/u_device_pixel_ratio;vec2 tex=v_data0.xy;float gamma_scale=v_data1.x;float size=v_data1.y;float fade_opacity=v_data1[2];float fontScale=u_is_text ? size/24.0 : size;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);buff=(6.0-halo_width/fontScale)/SDF_PX;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);gl_FragColor=color*(alpha*opacity*fade_opacity); -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,`const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec4 a_pixeloffset;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;varying vec2 v_data0;varying vec3 v_data1; -#pragma mapbox: define highp vec4 fill_color -#pragma mapbox: define highp vec4 halo_color -#pragma mapbox: define lowp float opacity -#pragma mapbox: define lowp float halo_width -#pragma mapbox: define lowp float halo_blur -void main() { -#pragma mapbox: initialize highp vec4 fill_color -#pragma mapbox: initialize highp vec4 halo_color -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize lowp float halo_width -#pragma mapbox: initialize lowp float halo_blur -vec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ? -camera_to_anchor_distance/u_camera_to_center_distance : -u_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale+a_pxoffset),0.0,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));v_data0=a_tex/u_texsize;v_data1=vec3(gamma_scale,size,interpolated_fade_opacity);}`),Ml=Ui(`#define SDF_PX 8.0 -#define SDF 1.0 -#define ICON 0.0 -uniform bool u_is_halo;uniform sampler2D u_texture;uniform sampler2D u_texture_icon;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;varying vec4 v_data0;varying vec4 v_data1; -#pragma mapbox: define highp vec4 fill_color -#pragma mapbox: define highp vec4 halo_color -#pragma mapbox: define lowp float opacity -#pragma mapbox: define lowp float halo_width -#pragma mapbox: define lowp float halo_blur -void main() { -#pragma mapbox: initialize highp vec4 fill_color -#pragma mapbox: initialize highp vec4 halo_color -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize lowp float halo_width -#pragma mapbox: initialize lowp float halo_blur -float fade_opacity=v_data1[2];if (v_data1.w==ICON) {vec2 tex_icon=v_data0.zw;lowp float alpha=opacity*fade_opacity;gl_FragColor=texture2D(u_texture_icon,tex_icon)*alpha; -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -return;}vec2 tex=v_data0.xy;float EDGE_GAMMA=0.105/u_device_pixel_ratio;float gamma_scale=v_data1.x;float size=v_data1.y;float fontScale=size/24.0;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);buff=(6.0-halo_width/fontScale)/SDF_PX;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);gl_FragColor=color*(alpha*opacity*fade_opacity); -#ifdef OVERDRAW_INSPECTOR -gl_FragColor=vec4(1.0); -#endif -}`,`const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;uniform vec2 u_texsize_icon;varying vec4 v_data0;varying vec4 v_data1; -#pragma mapbox: define highp vec4 fill_color -#pragma mapbox: define highp vec4 halo_color -#pragma mapbox: define lowp float opacity -#pragma mapbox: define lowp float halo_width -#pragma mapbox: define lowp float halo_blur -void main() { -#pragma mapbox: initialize highp vec4 fill_color -#pragma mapbox: initialize highp vec4 halo_color -#pragma mapbox: initialize lowp float opacity -#pragma mapbox: initialize lowp float halo_width -#pragma mapbox: initialize lowp float halo_blur -vec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);float is_sdf=a_size[0]-2.0*a_size_min;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ? -camera_to_anchor_distance/u_camera_to_center_distance : -u_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=size/24.0;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale),0.0,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));v_data0.xy=a_tex/u_texsize;v_data0.zw=a_tex/u_texsize_icon;v_data1=vec4(gamma_scale,size,interpolated_fade_opacity,is_sdf);}`);function Ui(Y,ee){var K=/#pragma mapbox: ([\w]+) ([\w]+) ([\w]+) ([\w]+)/g,le={};return{fragmentSource:Y=Y.replace(K,function(Te,De,He,Ze,at){return le[at]=!0,De==="define"?` -#ifndef HAS_UNIFORM_u_`+at+` -varying `+He+" "+Ze+" "+at+`; -#else -uniform `+He+" "+Ze+" u_"+at+`; -#endif -`:` -#ifdef HAS_UNIFORM_u_`+at+` - `+He+" "+Ze+" "+at+" = u_"+at+`; -#endif -`}),vertexSource:ee=ee.replace(K,function(Te,De,He,Ze,at){var Tt=Ze==="float"?"vec2":"vec4",At=at.match(/color/)?"color":Tt;return le[at]?De==="define"?` -#ifndef HAS_UNIFORM_u_`+at+` -uniform lowp float u_`+at+`_t; -attribute `+He+" "+Tt+" a_"+at+`; -varying `+He+" "+Ze+" "+at+`; -#else -uniform `+He+" "+Ze+" u_"+at+`; -#endif -`:At==="vec4"?` -#ifndef HAS_UNIFORM_u_`+at+` - `+at+" = a_"+at+`; -#else - `+He+" "+Ze+" "+at+" = u_"+at+`; -#endif -`:` -#ifndef HAS_UNIFORM_u_`+at+` - `+at+" = unpack_mix_"+At+"(a_"+at+", u_"+at+`_t); -#else - `+He+" "+Ze+" "+at+" = u_"+at+`; -#endif -`:De==="define"?` -#ifndef HAS_UNIFORM_u_`+at+` -uniform lowp float u_`+at+`_t; -attribute `+He+" "+Tt+" a_"+at+`; -#else -uniform `+He+" "+Ze+" u_"+at+`; -#endif -`:At==="vec4"?` -#ifndef HAS_UNIFORM_u_`+at+` - `+He+" "+Ze+" "+at+" = a_"+at+`; -#else - `+He+" "+Ze+" "+at+" = u_"+at+`; -#endif -`:` -#ifndef HAS_UNIFORM_u_`+at+` - `+He+" "+Ze+" "+at+" = unpack_mix_"+At+"(a_"+at+", u_"+at+`_t); -#else - `+He+" "+Ze+" "+at+" = u_"+at+`; -#endif -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js -`})}}var Sl=Object.freeze({__proto__:null,prelude:Rr,background:Lr,backgroundPattern:zr,circle:gr,clippingMask:Fr,heatmap:ii,heatmapTexture:ji,collisionBox:ea,collisionCircle:sa,debug:co,fill:La,fillOutline:Xi,fillOutlinePattern:Do,fillPattern:rs,fillExtrusion:el,fillExtrusionPattern:Cu,hillshadePrepare:gf,hillshade:Mh,line:Eu,lineGradient:is,linePattern:Ah,lineSDF:Ya,raster:hc,symbolIcon:Yo,symbolSDF:as,symbolTextAndIcon:Al}),ps=function(){this.boundProgram=null,this.boundLayoutVertexBuffer=null,this.boundPaintVertexBuffers=[],this.boundIndexBuffer=null,this.boundVertexOffset=null,this.boundDynamicVertexBuffer=null,this.vao=null};ps.prototype.bind=function(Y,ee,K,le,Te,De,He,Ze){this.context=Y;for(var at=this.boundPaintVertexBuffers.length!==le.length,Tt=0;!at&&Tt>16,Ze>>16],u_pixel_coord_lower:[65535&He,65535&Ze]}}Es.prototype.draw=function(Y,ee,K,le,Te,De,He,Ze,at,Tt,At,se,ve,Ie,Fe,Ue){var We,Xe=Y.gl;if(!this.failedToCreate){for(var tt in Y.program.set(this.program),Y.setDepthMode(K),Y.setStencilMode(le),Y.setColorMode(Te),Y.setCullFace(De),this.fixedUniforms)this.fixedUniforms[tt].set(He[tt]);Ie&&Ie.setUniforms(Y,this.binderUniforms,se,{zoom:ve});for(var lt=(We={},We[Xe.LINES]=2,We[Xe.TRIANGLES]=3,We[Xe.LINE_STRIP]=1,We)[ee],mt=0,zt=At.get();mt0?1-1/(1.001-He):-He),u_contrast_factor:(De=Te.paint.get("raster-contrast"),De>0?1/(1-De):1+De),u_spin_weights:Ql(Te.paint.get("raster-hue-rotate"))};var De,He};function Ql(Y){Y*=Math.PI/180;var ee=Math.sin(Y),K=Math.cos(Y);return[(2*K+1)/3,(-Math.sqrt(3)*ee-K+1)/3,(Math.sqrt(3)*ee-K+1)/3]}var al,Hi=function(Y,ee,K,le,Te,De,He,Ze,at,Tt){var At=Te.transform;return{u_is_size_zoom_constant:+(Y==="constant"||Y==="source"),u_is_size_feature_constant:+(Y==="constant"||Y==="camera"),u_size_t:ee?ee.uSizeT:0,u_size:ee?ee.uSize:0,u_camera_to_center_distance:At.cameraToCenterDistance,u_pitch:At.pitch/360*2*Math.PI,u_rotate_symbol:+K,u_aspect_ratio:At.width/At.height,u_fade_change:Te.options.fadeDuration?Te.symbolFadeChange:1,u_matrix:De,u_label_plane_matrix:He,u_coord_matrix:Ze,u_is_text:+at,u_pitch_with_map:+le,u_texsize:Tt,u_texture:0}},El=function(Y,ee,K,le,Te,De,He,Ze,at,Tt,At){var se=Te.transform;return i.extend(Hi(Y,ee,K,le,Te,De,He,Ze,at,Tt),{u_gamma_scale:le?Math.cos(se._pitch)*se.cameraToCenterDistance:1,u_device_pixel_ratio:i.browser.devicePixelRatio,u_is_halo:+At})},ad=function(Y,ee,K,le,Te,De,He,Ze,at,Tt){return i.extend(El(Y,ee,K,le,Te,De,He,Ze,!0,at,!0),{u_texsize_icon:Tt,u_texture_icon:1})},Uc=function(Y,ee,K){return{u_matrix:Y,u_opacity:ee,u_color:K}},dc=function(Y,ee,K,le,Te,De){return i.extend(function(He,Ze,at,Tt){var At=at.imageManager.getPattern(He.from.toString()),se=at.imageManager.getPattern(He.to.toString()),ve=at.imageManager.getPixelSize(),Ie=ve.width,Fe=ve.height,Ue=Math.pow(2,Tt.tileID.overscaledZ),We=Tt.tileSize*Math.pow(2,at.transform.tileZoom)/Ue,Xe=We*(Tt.tileID.canonical.x+Tt.tileID.wrap*Ue),tt=We*Tt.tileID.canonical.y;return{u_image:0,u_pattern_tl_a:At.tl,u_pattern_br_a:At.br,u_pattern_tl_b:se.tl,u_pattern_br_b:se.br,u_texsize:[Ie,Fe],u_mix:Ze.t,u_pattern_size_a:At.displaySize,u_pattern_size_b:se.displaySize,u_scale_a:Ze.fromScale,u_scale_b:Ze.toScale,u_tile_units_to_pixels:1/vr(Tt,1,at.transform.tileZoom),u_pixel_coord_upper:[Xe>>16,tt>>16],u_pixel_coord_lower:[65535&Xe,65535&tt]}}(le,De,K,Te),{u_matrix:Y,u_opacity:ee})},eu={fillExtrusion:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_lightpos:new i.Uniform3f(Y,ee.u_lightpos),u_lightintensity:new i.Uniform1f(Y,ee.u_lightintensity),u_lightcolor:new i.Uniform3f(Y,ee.u_lightcolor),u_vertical_gradient:new i.Uniform1f(Y,ee.u_vertical_gradient),u_opacity:new i.Uniform1f(Y,ee.u_opacity)}},fillExtrusionPattern:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_lightpos:new i.Uniform3f(Y,ee.u_lightpos),u_lightintensity:new i.Uniform1f(Y,ee.u_lightintensity),u_lightcolor:new i.Uniform3f(Y,ee.u_lightcolor),u_vertical_gradient:new i.Uniform1f(Y,ee.u_vertical_gradient),u_height_factor:new i.Uniform1f(Y,ee.u_height_factor),u_image:new i.Uniform1i(Y,ee.u_image),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_pixel_coord_upper:new i.Uniform2f(Y,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f(Y,ee.u_pixel_coord_lower),u_scale:new i.Uniform3f(Y,ee.u_scale),u_fade:new i.Uniform1f(Y,ee.u_fade),u_opacity:new i.Uniform1f(Y,ee.u_opacity)}},fill:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix)}},fillPattern:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_image:new i.Uniform1i(Y,ee.u_image),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_pixel_coord_upper:new i.Uniform2f(Y,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f(Y,ee.u_pixel_coord_lower),u_scale:new i.Uniform3f(Y,ee.u_scale),u_fade:new i.Uniform1f(Y,ee.u_fade)}},fillOutline:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_world:new i.Uniform2f(Y,ee.u_world)}},fillOutlinePattern:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_world:new i.Uniform2f(Y,ee.u_world),u_image:new i.Uniform1i(Y,ee.u_image),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_pixel_coord_upper:new i.Uniform2f(Y,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f(Y,ee.u_pixel_coord_lower),u_scale:new i.Uniform3f(Y,ee.u_scale),u_fade:new i.Uniform1f(Y,ee.u_fade)}},circle:function(Y,ee){return{u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_scale_with_map:new i.Uniform1i(Y,ee.u_scale_with_map),u_pitch_with_map:new i.Uniform1i(Y,ee.u_pitch_with_map),u_extrude_scale:new i.Uniform2f(Y,ee.u_extrude_scale),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix)}},collisionBox:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_pixels_to_tile_units:new i.Uniform1f(Y,ee.u_pixels_to_tile_units),u_extrude_scale:new i.Uniform2f(Y,ee.u_extrude_scale),u_overscale_factor:new i.Uniform1f(Y,ee.u_overscale_factor)}},collisionCircle:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_inv_matrix:new i.UniformMatrix4f(Y,ee.u_inv_matrix),u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_viewport_size:new i.Uniform2f(Y,ee.u_viewport_size)}},debug:function(Y,ee){return{u_color:new i.UniformColor(Y,ee.u_color),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_overlay:new i.Uniform1i(Y,ee.u_overlay),u_overlay_scale:new i.Uniform1f(Y,ee.u_overlay_scale)}},clippingMask:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix)}},heatmap:function(Y,ee){return{u_extrude_scale:new i.Uniform1f(Y,ee.u_extrude_scale),u_intensity:new i.Uniform1f(Y,ee.u_intensity),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix)}},heatmapTexture:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_world:new i.Uniform2f(Y,ee.u_world),u_image:new i.Uniform1i(Y,ee.u_image),u_color_ramp:new i.Uniform1i(Y,ee.u_color_ramp),u_opacity:new i.Uniform1f(Y,ee.u_opacity)}},hillshade:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_image:new i.Uniform1i(Y,ee.u_image),u_latrange:new i.Uniform2f(Y,ee.u_latrange),u_light:new i.Uniform2f(Y,ee.u_light),u_shadow:new i.UniformColor(Y,ee.u_shadow),u_highlight:new i.UniformColor(Y,ee.u_highlight),u_accent:new i.UniformColor(Y,ee.u_accent)}},hillshadePrepare:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_image:new i.Uniform1i(Y,ee.u_image),u_dimension:new i.Uniform2f(Y,ee.u_dimension),u_zoom:new i.Uniform1f(Y,ee.u_zoom),u_maxzoom:new i.Uniform1f(Y,ee.u_maxzoom),u_unpack:new i.Uniform4f(Y,ee.u_unpack)}},line:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_ratio:new i.Uniform1f(Y,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_units_to_pixels:new i.Uniform2f(Y,ee.u_units_to_pixels)}},lineGradient:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_ratio:new i.Uniform1f(Y,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_units_to_pixels:new i.Uniform2f(Y,ee.u_units_to_pixels),u_image:new i.Uniform1i(Y,ee.u_image)}},linePattern:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_ratio:new i.Uniform1f(Y,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_image:new i.Uniform1i(Y,ee.u_image),u_units_to_pixels:new i.Uniform2f(Y,ee.u_units_to_pixels),u_scale:new i.Uniform3f(Y,ee.u_scale),u_fade:new i.Uniform1f(Y,ee.u_fade)}},lineSDF:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_ratio:new i.Uniform1f(Y,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_units_to_pixels:new i.Uniform2f(Y,ee.u_units_to_pixels),u_patternscale_a:new i.Uniform2f(Y,ee.u_patternscale_a),u_patternscale_b:new i.Uniform2f(Y,ee.u_patternscale_b),u_sdfgamma:new i.Uniform1f(Y,ee.u_sdfgamma),u_image:new i.Uniform1i(Y,ee.u_image),u_tex_y_a:new i.Uniform1f(Y,ee.u_tex_y_a),u_tex_y_b:new i.Uniform1f(Y,ee.u_tex_y_b),u_mix:new i.Uniform1f(Y,ee.u_mix)}},raster:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_tl_parent:new i.Uniform2f(Y,ee.u_tl_parent),u_scale_parent:new i.Uniform1f(Y,ee.u_scale_parent),u_buffer_scale:new i.Uniform1f(Y,ee.u_buffer_scale),u_fade_t:new i.Uniform1f(Y,ee.u_fade_t),u_opacity:new i.Uniform1f(Y,ee.u_opacity),u_image0:new i.Uniform1i(Y,ee.u_image0),u_image1:new i.Uniform1i(Y,ee.u_image1),u_brightness_low:new i.Uniform1f(Y,ee.u_brightness_low),u_brightness_high:new i.Uniform1f(Y,ee.u_brightness_high),u_saturation_factor:new i.Uniform1f(Y,ee.u_saturation_factor),u_contrast_factor:new i.Uniform1f(Y,ee.u_contrast_factor),u_spin_weights:new i.Uniform3f(Y,ee.u_spin_weights)}},symbolIcon:function(Y,ee){return{u_is_size_zoom_constant:new i.Uniform1i(Y,ee.u_is_size_zoom_constant),u_is_size_feature_constant:new i.Uniform1i(Y,ee.u_is_size_feature_constant),u_size_t:new i.Uniform1f(Y,ee.u_size_t),u_size:new i.Uniform1f(Y,ee.u_size),u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_pitch:new i.Uniform1f(Y,ee.u_pitch),u_rotate_symbol:new i.Uniform1i(Y,ee.u_rotate_symbol),u_aspect_ratio:new i.Uniform1f(Y,ee.u_aspect_ratio),u_fade_change:new i.Uniform1f(Y,ee.u_fade_change),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_label_plane_matrix:new i.UniformMatrix4f(Y,ee.u_label_plane_matrix),u_coord_matrix:new i.UniformMatrix4f(Y,ee.u_coord_matrix),u_is_text:new i.Uniform1i(Y,ee.u_is_text),u_pitch_with_map:new i.Uniform1i(Y,ee.u_pitch_with_map),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_texture:new i.Uniform1i(Y,ee.u_texture)}},symbolSDF:function(Y,ee){return{u_is_size_zoom_constant:new i.Uniform1i(Y,ee.u_is_size_zoom_constant),u_is_size_feature_constant:new i.Uniform1i(Y,ee.u_is_size_feature_constant),u_size_t:new i.Uniform1f(Y,ee.u_size_t),u_size:new i.Uniform1f(Y,ee.u_size),u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_pitch:new i.Uniform1f(Y,ee.u_pitch),u_rotate_symbol:new i.Uniform1i(Y,ee.u_rotate_symbol),u_aspect_ratio:new i.Uniform1f(Y,ee.u_aspect_ratio),u_fade_change:new i.Uniform1f(Y,ee.u_fade_change),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_label_plane_matrix:new i.UniformMatrix4f(Y,ee.u_label_plane_matrix),u_coord_matrix:new i.UniformMatrix4f(Y,ee.u_coord_matrix),u_is_text:new i.Uniform1i(Y,ee.u_is_text),u_pitch_with_map:new i.Uniform1i(Y,ee.u_pitch_with_map),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_texture:new i.Uniform1i(Y,ee.u_texture),u_gamma_scale:new i.Uniform1f(Y,ee.u_gamma_scale),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_is_halo:new i.Uniform1i(Y,ee.u_is_halo)}},symbolTextAndIcon:function(Y,ee){return{u_is_size_zoom_constant:new i.Uniform1i(Y,ee.u_is_size_zoom_constant),u_is_size_feature_constant:new i.Uniform1i(Y,ee.u_is_size_feature_constant),u_size_t:new i.Uniform1f(Y,ee.u_size_t),u_size:new i.Uniform1f(Y,ee.u_size),u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_pitch:new i.Uniform1f(Y,ee.u_pitch),u_rotate_symbol:new i.Uniform1i(Y,ee.u_rotate_symbol),u_aspect_ratio:new i.Uniform1f(Y,ee.u_aspect_ratio),u_fade_change:new i.Uniform1f(Y,ee.u_fade_change),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_label_plane_matrix:new i.UniformMatrix4f(Y,ee.u_label_plane_matrix),u_coord_matrix:new i.UniformMatrix4f(Y,ee.u_coord_matrix),u_is_text:new i.Uniform1i(Y,ee.u_is_text),u_pitch_with_map:new i.Uniform1i(Y,ee.u_pitch_with_map),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_texsize_icon:new i.Uniform2f(Y,ee.u_texsize_icon),u_texture:new i.Uniform1i(Y,ee.u_texture),u_texture_icon:new i.Uniform1i(Y,ee.u_texture_icon),u_gamma_scale:new i.Uniform1f(Y,ee.u_gamma_scale),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_is_halo:new i.Uniform1i(Y,ee.u_is_halo)}},background:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_opacity:new i.Uniform1f(Y,ee.u_opacity),u_color:new i.UniformColor(Y,ee.u_color)}},backgroundPattern:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_opacity:new i.Uniform1f(Y,ee.u_opacity),u_image:new i.Uniform1i(Y,ee.u_image),u_pattern_tl_a:new i.Uniform2f(Y,ee.u_pattern_tl_a),u_pattern_br_a:new i.Uniform2f(Y,ee.u_pattern_br_a),u_pattern_tl_b:new i.Uniform2f(Y,ee.u_pattern_tl_b),u_pattern_br_b:new i.Uniform2f(Y,ee.u_pattern_br_b),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_mix:new i.Uniform1f(Y,ee.u_mix),u_pattern_size_a:new i.Uniform2f(Y,ee.u_pattern_size_a),u_pattern_size_b:new i.Uniform2f(Y,ee.u_pattern_size_b),u_scale_a:new i.Uniform1f(Y,ee.u_scale_a),u_scale_b:new i.Uniform1f(Y,ee.u_scale_b),u_pixel_coord_upper:new i.Uniform2f(Y,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f(Y,ee.u_pixel_coord_lower),u_tile_units_to_pixels:new i.Uniform1f(Y,ee.u_tile_units_to_pixels)}}};function Ru(Y,ee,K,le,Te,De,He){for(var Ze=Y.context,at=Ze.gl,Tt=Y.useProgram("collisionBox"),At=[],se=0,ve=0,Ie=0;Ie0){var mt=i.create(),zt=Xe;i.mul(mt,We.placementInvProjMatrix,Y.transform.glCoordMatrix),i.mul(mt,mt,We.placementViewportMatrix),At.push({circleArray:lt,circleOffset:ve,transform:zt,invTransform:mt}),ve=se+=lt.length/4}tt&&Tt.draw(Ze,at.LINES,qt.disabled,Ke.disabled,Y.colorModeForRenderPass(),qe.disabled,xf(Xe,Y.transform,Ue),K.id,tt.layoutVertexBuffer,tt.indexBuffer,tt.segments,null,Y.transform.zoom,null,null,tt.collisionVertexBuffer)}}if(He&&At.length){var Ut=Y.useProgram("collisionCircle"),Ht=new i.StructArrayLayout2f1f2i16;Ht.resize(4*se),Ht._trim();for(var en=0,vn=0,tn=At;vn=0&&(Fe[We.associatedIconIndex]={shiftedAnchor:tn,angle:ln})}else rr(We.numGlyphs,ve)}if(At){Ie.clear();for(var Cn=Y.icon.placedSymbolArray,_n=0;_n0){var He=i.browser.now(),Ze=(He-Y.timeAdded)/De,at=ee?(He-ee.timeAdded)/De:-1,Tt=K.getSource(),At=Te.coveringZoomLevel({tileSize:Tt.tileSize,roundZoom:Tt.roundZoom}),se=!ee||Math.abs(ee.tileID.overscaledZ-At)>Math.abs(Y.tileID.overscaledZ-At),ve=se&&Y.refreshedUponExpiration?1:i.clamp(se?Ze:1-at,0,1);return Y.refreshedUponExpiration&&Ze>=1&&(Y.refreshedUponExpiration=!1),ee?{opacity:1,mix:1-ve}:{opacity:ve,mix:0}}return{opacity:1,mix:0}}var yc=new i.Color(1,0,0,1),bc=new i.Color(0,1,0,1),Rh=new i.Color(0,0,1,1),Ll=new i.Color(1,0,1,1),Hc=new i.Color(0,1,1,1);function xc(Y){var ee=Y.transform.padding;Ph(Y,Y.transform.height-(ee.top||0),3,yc),Ph(Y,ee.bottom||0,3,bc),_c(Y,ee.left||0,3,Rh),_c(Y,Y.transform.width-(ee.right||0),3,Ll);var K=Y.transform.centerPoint;(function(le,Te,De,He){var Ze=20,at=2;Du(le,Te-at/2,De-Ze/2,at,Ze,He),Du(le,Te-Ze/2,De-at/2,Ze,at,He)})(Y,K.x,Y.transform.height-K.y,Hc)}function Ph(Y,ee,K,le){Du(Y,0,ee+K/2,Y.transform.width,K,le)}function _c(Y,ee,K,le){Du(Y,ee-K/2,0,K,Y.transform.height,le)}function Du(Y,ee,K,le,Te,De){var He=Y.context,Ze=He.gl;Ze.enable(Ze.SCISSOR_TEST),Ze.scissor(ee*i.browser.devicePixelRatio,K*i.browser.devicePixelRatio,le*i.browser.devicePixelRatio,Te*i.browser.devicePixelRatio),He.clear({color:De}),Ze.disable(Ze.SCISSOR_TEST)}function ru(Y,ee,K){var le=Y.context,Te=le.gl,De=K.posMatrix,He=Y.useProgram("debug"),Ze=qt.disabled,at=Ke.disabled,Tt=Y.colorModeForRenderPass(),At="$debug";le.activeTexture.set(Te.TEXTURE0),Y.emptyTexture.bind(Te.LINEAR,Te.CLAMP_TO_EDGE),He.draw(le,Te.LINE_STRIP,Ze,at,Tt,qe.disabled,nl(De,i.Color.red),At,Y.debugBuffer,Y.tileBorderIndexBuffer,Y.debugSegments);var se=ee.getTileByID(K.key).latestRawTileData,ve=se&&se.byteLength||0,Ie=Math.floor(ve/1024),Fe=ee.getTile(K).tileSize,Ue=512/Math.min(Fe,512)*(K.overscaledZ/Y.transform.zoom)*.5,We=K.canonical.toString();K.overscaledZ!==K.canonical.z&&(We+=" => "+K.overscaledZ),function(Xe,tt){Xe.initDebugOverlayCanvas();var lt=Xe.debugOverlayCanvas,mt=Xe.context.gl,zt=Xe.debugOverlayCanvas.getContext("2d");zt.clearRect(0,0,lt.width,lt.height),zt.shadowColor="white",zt.shadowBlur=2,zt.lineWidth=1.5,zt.strokeStyle="white",zt.textBaseline="top",zt.font="bold 36px Open Sans, sans-serif",zt.fillText(tt,5,5),zt.strokeText(tt,5,5),Xe.debugOverlayTexture.update(lt),Xe.debugOverlayTexture.bind(mt.LINEAR,mt.CLAMP_TO_EDGE)}(Y,We+" "+Ie+"kb"),He.draw(le,Te.TRIANGLES,Ze,at,Je.alphaBlended,qe.disabled,nl(De,i.Color.transparent,Ue),At,Y.debugBuffer,Y.quadTriangleIndexBuffer,Y.debugSegments)}var iu={symbol:function(Y,ee,K,le,Te){if(Y.renderPass==="translucent"){var De=Ke.disabled,He=Y.colorModeForRenderPass();K.layout.get("text-variable-anchor")&&function(Ze,at,Tt,At,se,ve,Ie){for(var Fe=at.transform,Ue=se==="map",We=ve==="map",Xe=0,tt=Ze;Xe256&&this.clearStencil(),K.setColorMode(Je.disabled),K.setDepthMode(qt.disabled);var Te=this.useProgram("clippingMask");this._tileClippingMaskIDs={};for(var De=0,He=ee;De256&&this.clearStencil();var Y=this.nextStencilID++,ee=this.context.gl;return new Ke({func:ee.NOTEQUAL,mask:255},Y,255,ee.KEEP,ee.KEEP,ee.REPLACE)},Ki.prototype.stencilModeForClipping=function(Y){var ee=this.context.gl;return new Ke({func:ee.EQUAL,mask:255},this._tileClippingMaskIDs[Y.key],0,ee.KEEP,ee.KEEP,ee.REPLACE)},Ki.prototype.stencilConfigForOverlap=function(Y){var ee,K=this.context.gl,le=Y.sort(function(at,Tt){return Tt.overscaledZ-at.overscaledZ}),Te=le[le.length-1].overscaledZ,De=le[0].overscaledZ-Te+1;if(De>1){this.currentStencilSource=void 0,this.nextStencilID+De>256&&this.clearStencil();for(var He={},Ze=0;Ze=0;this.currentLayer--){var zt=this.style._layers[le[this.currentLayer]],Ut=Te[zt.source],Ht=Tt[zt.source];this._renderTileClippingMasks(zt,Ht),this.renderLayer(this,Ut,zt,Ht)}for(this.renderPass="translucent",this.currentLayer=0;this.currentLayer0?ee.pop():null},Ki.prototype.isPatternMissing=function(Y){if(!Y)return!1;if(!Y.from||!Y.to)return!0;var ee=this.imageManager.getPattern(Y.from.toString()),K=this.imageManager.getPattern(Y.to.toString());return!ee||!K},Ki.prototype.useProgram=function(Y,ee){this.cache=this.cache||{};var K=""+Y+(ee?ee.cacheKey:"")+(this._showOverdrawInspector?"/overdraw":"");return this.cache[K]||(this.cache[K]=new Es(this.context,Sl[Y],ee,eu[Y],this._showOverdrawInspector)),this.cache[K]},Ki.prototype.setCustomLayerDefaults=function(){this.context.unbindVAO(),this.context.cullFace.setDefault(),this.context.activeTexture.setDefault(),this.context.pixelStoreUnpack.setDefault(),this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.context.pixelStoreUnpackFlipY.setDefault()},Ki.prototype.setBaseState=function(){var Y=this.context.gl;this.context.cullFace.set(!1),this.context.viewport.set([0,0,this.width,this.height]),this.context.blendEquation.set(Y.FUNC_ADD)},Ki.prototype.initDebugOverlayCanvas=function(){if(this.debugOverlayCanvas==null){this.debugOverlayCanvas=i.window.document.createElement("canvas"),this.debugOverlayCanvas.width=512,this.debugOverlayCanvas.height=512;var Y=this.context.gl;this.debugOverlayTexture=new i.Texture(this.context,this.debugOverlayCanvas,Y.RGBA)}},Ki.prototype.destroy=function(){this.emptyTexture.destroy(),this.debugOverlayTexture&&this.debugOverlayTexture.destroy()};var Il=function(Y,ee){this.points=Y,this.planes=ee};Il.fromInvProjectionMatrix=function(Y,ee,K){var le=Math.pow(2,K),Te=[[-1,1,-1,1],[1,1,-1,1],[1,-1,-1,1],[-1,-1,-1,1],[-1,1,1,1],[1,1,1,1],[1,-1,1,1],[-1,-1,1,1]].map(function(He){return i.transformMat4([],He,Y)}).map(function(He){return i.scale$1([],He,1/He[3]/ee*le)}),De=[[0,1,2],[6,5,4],[0,3,7],[2,1,5],[3,2,6],[0,4,5]].map(function(He){var Ze=i.sub([],Te[He[0]],Te[He[1]]),at=i.sub([],Te[He[2]],Te[He[1]]),Tt=i.normalize([],i.cross([],Ze,at)),At=-i.dot(Tt,Te[He[1]]);return Tt.concat(At)});return new Il(Te,De)};var Rl=function(Y,ee){this.min=Y,this.max=ee,this.center=i.scale$2([],i.add([],this.min,this.max),.5)};Rl.prototype.quadrant=function(Y){for(var ee=[Y%2==0,Y<2],K=i.clone$2(this.min),le=i.clone$2(this.max),Te=0;Te=0;if(De===0)return 0;De!==ee.length&&(K=!1)}if(K)return 2;for(var Ze=0;Ze<3;Ze++){for(var at=Number.MAX_VALUE,Tt=-Number.MAX_VALUE,At=0;Atthis.max[Ze]-this.min[Ze])return 0}return 1};var po=function(Y,ee,K,le){if(Y===void 0&&(Y=0),ee===void 0&&(ee=0),K===void 0&&(K=0),le===void 0&&(le=0),isNaN(Y)||Y<0||isNaN(ee)||ee<0||isNaN(K)||K<0||isNaN(le)||le<0)throw new Error("Invalid value for edge-insets, top, bottom, left and right must all be numbers");this.top=Y,this.bottom=ee,this.left=K,this.right=le};po.prototype.interpolate=function(Y,ee,K){return ee.top!=null&&Y.top!=null&&(this.top=i.number(Y.top,ee.top,K)),ee.bottom!=null&&Y.bottom!=null&&(this.bottom=i.number(Y.bottom,ee.bottom,K)),ee.left!=null&&Y.left!=null&&(this.left=i.number(Y.left,ee.left,K)),ee.right!=null&&Y.right!=null&&(this.right=i.number(Y.right,ee.right,K)),this},po.prototype.getCenter=function(Y,ee){var K=i.clamp((this.left+Y-this.right)/2,0,Y),le=i.clamp((this.top+ee-this.bottom)/2,0,ee);return new i.Point(K,le)},po.prototype.equals=function(Y){return this.top===Y.top&&this.bottom===Y.bottom&&this.left===Y.left&&this.right===Y.right},po.prototype.clone=function(){return new po(this.top,this.bottom,this.left,this.right)},po.prototype.toJSON=function(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}};var Oi=function(Y,ee,K,le,Te){this.tileSize=512,this.maxValidLatitude=85.051129,this._renderWorldCopies=Te===void 0||Te,this._minZoom=Y||0,this._maxZoom=ee||22,this._minPitch=K??0,this._maxPitch=le??60,this.setMaxBounds(),this.width=0,this.height=0,this._center=new i.LngLat(0,0),this.zoom=0,this.angle=0,this._fov=.6435011087932844,this._pitch=0,this._unmodified=!0,this._edgeInsets=new po,this._posMatrixCache={},this._alignedPosMatrixCache={}},Bi={minZoom:{configurable:!0},maxZoom:{configurable:!0},minPitch:{configurable:!0},maxPitch:{configurable:!0},renderWorldCopies:{configurable:!0},worldSize:{configurable:!0},centerOffset:{configurable:!0},size:{configurable:!0},bearing:{configurable:!0},pitch:{configurable:!0},fov:{configurable:!0},zoom:{configurable:!0},center:{configurable:!0},padding:{configurable:!0},centerPoint:{configurable:!0},unmodified:{configurable:!0},point:{configurable:!0}};Oi.prototype.clone=function(){var Y=new Oi(this._minZoom,this._maxZoom,this._minPitch,this.maxPitch,this._renderWorldCopies);return Y.tileSize=this.tileSize,Y.latRange=this.latRange,Y.width=this.width,Y.height=this.height,Y._center=this._center,Y.zoom=this.zoom,Y.angle=this.angle,Y._fov=this._fov,Y._pitch=this._pitch,Y._unmodified=this._unmodified,Y._edgeInsets=this._edgeInsets.clone(),Y._calcMatrices(),Y},Bi.minZoom.get=function(){return this._minZoom},Bi.minZoom.set=function(Y){this._minZoom!==Y&&(this._minZoom=Y,this.zoom=Math.max(this.zoom,Y))},Bi.maxZoom.get=function(){return this._maxZoom},Bi.maxZoom.set=function(Y){this._maxZoom!==Y&&(this._maxZoom=Y,this.zoom=Math.min(this.zoom,Y))},Bi.minPitch.get=function(){return this._minPitch},Bi.minPitch.set=function(Y){this._minPitch!==Y&&(this._minPitch=Y,this.pitch=Math.max(this.pitch,Y))},Bi.maxPitch.get=function(){return this._maxPitch},Bi.maxPitch.set=function(Y){this._maxPitch!==Y&&(this._maxPitch=Y,this.pitch=Math.min(this.pitch,Y))},Bi.renderWorldCopies.get=function(){return this._renderWorldCopies},Bi.renderWorldCopies.set=function(Y){Y===void 0?Y=!0:Y===null&&(Y=!1),this._renderWorldCopies=Y},Bi.worldSize.get=function(){return this.tileSize*this.scale},Bi.centerOffset.get=function(){return this.centerPoint._sub(this.size._div(2))},Bi.size.get=function(){return new i.Point(this.width,this.height)},Bi.bearing.get=function(){return-this.angle/Math.PI*180},Bi.bearing.set=function(Y){var ee=-i.wrap(Y,-180,180)*Math.PI/180;this.angle!==ee&&(this._unmodified=!1,this.angle=ee,this._calcMatrices(),this.rotationMatrix=i.create$2(),i.rotate(this.rotationMatrix,this.rotationMatrix,this.angle))},Bi.pitch.get=function(){return this._pitch/Math.PI*180},Bi.pitch.set=function(Y){var ee=i.clamp(Y,this.minPitch,this.maxPitch)/180*Math.PI;this._pitch!==ee&&(this._unmodified=!1,this._pitch=ee,this._calcMatrices())},Bi.fov.get=function(){return this._fov/Math.PI*180},Bi.fov.set=function(Y){Y=Math.max(.01,Math.min(60,Y)),this._fov!==Y&&(this._unmodified=!1,this._fov=Y/180*Math.PI,this._calcMatrices())},Bi.zoom.get=function(){return this._zoom},Bi.zoom.set=function(Y){var ee=Math.min(Math.max(Y,this.minZoom),this.maxZoom);this._zoom!==ee&&(this._unmodified=!1,this._zoom=ee,this.scale=this.zoomScale(ee),this.tileZoom=Math.floor(ee),this.zoomFraction=ee-this.tileZoom,this._constrain(),this._calcMatrices())},Bi.center.get=function(){return this._center},Bi.center.set=function(Y){Y.lat===this._center.lat&&Y.lng===this._center.lng||(this._unmodified=!1,this._center=Y,this._constrain(),this._calcMatrices())},Bi.padding.get=function(){return this._edgeInsets.toJSON()},Bi.padding.set=function(Y){this._edgeInsets.equals(Y)||(this._unmodified=!1,this._edgeInsets.interpolate(this._edgeInsets,Y,1),this._calcMatrices())},Bi.centerPoint.get=function(){return this._edgeInsets.getCenter(this.width,this.height)},Oi.prototype.isPaddingEqual=function(Y){return this._edgeInsets.equals(Y)},Oi.prototype.interpolatePadding=function(Y,ee,K){this._unmodified=!1,this._edgeInsets.interpolate(Y,ee,K),this._constrain(),this._calcMatrices()},Oi.prototype.coveringZoomLevel=function(Y){var ee=(Y.roundZoom?Math.round:Math.floor)(this.zoom+this.scaleZoom(this.tileSize/Y.tileSize));return Math.max(0,ee)},Oi.prototype.getVisibleUnwrappedCoordinates=function(Y){var ee=[new i.UnwrappedTileID(0,Y)];if(this._renderWorldCopies)for(var K=this.pointCoordinate(new i.Point(0,0)),le=this.pointCoordinate(new i.Point(this.width,0)),Te=this.pointCoordinate(new i.Point(this.width,this.height)),De=this.pointCoordinate(new i.Point(0,this.height)),He=Math.floor(Math.min(K.x,le.x,Te.x,De.x)),Ze=Math.floor(Math.max(K.x,le.x,Te.x,De.x)),at=He-1;at<=Ze+1;at++)at!==0&&ee.push(new i.UnwrappedTileID(at,Y));return ee},Oi.prototype.coveringTiles=function(Y){var ee=this.coveringZoomLevel(Y),K=ee;if(Y.minzoom!==void 0&&eeY.maxzoom&&(ee=Y.maxzoom);var le=i.MercatorCoordinate.fromLngLat(this.center),Te=Math.pow(2,ee),De=[Te*le.x,Te*le.y,0],He=Il.fromInvProjectionMatrix(this.invProjMatrix,this.worldSize,ee),Ze=Y.minzoom||0;this.pitch<=60&&this._edgeInsets.top<.1&&(Ze=ee);var at=function(tn){return{aabb:new Rl([tn*Te,0,0],[(tn+1)*Te,Te,0]),zoom:0,x:0,y:0,wrap:tn,fullyVisible:!1}},Tt=[],At=[],se=ee,ve=Y.reparseOverscaled?K:ee;if(this._renderWorldCopies)for(var Ie=1;Ie<=3;Ie++)Tt.push(at(-Ie)),Tt.push(at(Ie));for(Tt.push(at(0));Tt.length>0;){var Fe=Tt.pop(),Ue=Fe.x,We=Fe.y,Xe=Fe.fullyVisible;if(!Xe){var tt=Fe.aabb.intersects(He);if(tt===0)continue;Xe=tt===2}var lt=Fe.aabb.distanceX(De),mt=Fe.aabb.distanceY(De),zt=Math.max(Math.abs(lt),Math.abs(mt)),Ut=3+(1<Ut&&Fe.zoom>=Ze)At.push({tileID:new i.OverscaledTileID(Fe.zoom===se?ve:Fe.zoom,Fe.wrap,Fe.zoom,Ue,We),distanceSq:i.sqrLen([De[0]-.5-Ue,De[1]-.5-We])});else for(var Ht=0;Ht<4;Ht++){var en=(Ue<<1)+Ht%2,vn=(We<<1)+(Ht>>1);Tt.push({aabb:Fe.aabb.quadrant(Ht),zoom:Fe.zoom+1,x:en,y:vn,wrap:Fe.wrap,fullyVisible:Xe})}}return At.sort(function(tn,ln){return tn.distanceSq-ln.distanceSq}).map(function(tn){return tn.tileID})},Oi.prototype.resize=function(Y,ee){this.width=Y,this.height=ee,this.pixelsToGLUnits=[2/Y,-2/ee],this._constrain(),this._calcMatrices()},Bi.unmodified.get=function(){return this._unmodified},Oi.prototype.zoomScale=function(Y){return Math.pow(2,Y)},Oi.prototype.scaleZoom=function(Y){return Math.log(Y)/Math.LN2},Oi.prototype.project=function(Y){var ee=i.clamp(Y.lat,-this.maxValidLatitude,this.maxValidLatitude);return new i.Point(i.mercatorXfromLng(Y.lng)*this.worldSize,i.mercatorYfromLat(ee)*this.worldSize)},Oi.prototype.unproject=function(Y){return new i.MercatorCoordinate(Y.x/this.worldSize,Y.y/this.worldSize).toLngLat()},Bi.point.get=function(){return this.project(this.center)},Oi.prototype.setLocationAtPoint=function(Y,ee){var K=this.pointCoordinate(ee),le=this.pointCoordinate(this.centerPoint),Te=this.locationCoordinate(Y),De=new i.MercatorCoordinate(Te.x-(K.x-le.x),Te.y-(K.y-le.y));this.center=this.coordinateLocation(De),this._renderWorldCopies&&(this.center=this.center.wrap())},Oi.prototype.locationPoint=function(Y){return this.coordinatePoint(this.locationCoordinate(Y))},Oi.prototype.pointLocation=function(Y){return this.coordinateLocation(this.pointCoordinate(Y))},Oi.prototype.locationCoordinate=function(Y){return i.MercatorCoordinate.fromLngLat(Y)},Oi.prototype.coordinateLocation=function(Y){return Y.toLngLat()},Oi.prototype.pointCoordinate=function(Y){var ee=[Y.x,Y.y,0,1],K=[Y.x,Y.y,1,1];i.transformMat4(ee,ee,this.pixelMatrixInverse),i.transformMat4(K,K,this.pixelMatrixInverse);var le=ee[3],Te=K[3],De=ee[0]/le,He=K[0]/Te,Ze=ee[1]/le,at=K[1]/Te,Tt=ee[2]/le,At=K[2]/Te,se=Tt===At?0:(0-Tt)/(At-Tt);return new i.MercatorCoordinate(i.number(De,He,se)/this.worldSize,i.number(Ze,at,se)/this.worldSize)},Oi.prototype.coordinatePoint=function(Y){var ee=[Y.x*this.worldSize,Y.y*this.worldSize,0,1];return i.transformMat4(ee,ee,this.pixelMatrix),new i.Point(ee[0]/ee[3],ee[1]/ee[3])},Oi.prototype.getBounds=function(){return new i.LngLatBounds().extend(this.pointLocation(new i.Point(0,0))).extend(this.pointLocation(new i.Point(this.width,0))).extend(this.pointLocation(new i.Point(this.width,this.height))).extend(this.pointLocation(new i.Point(0,this.height)))},Oi.prototype.getMaxBounds=function(){return this.latRange&&this.latRange.length===2&&this.lngRange&&this.lngRange.length===2?new i.LngLatBounds([this.lngRange[0],this.latRange[0]],[this.lngRange[1],this.latRange[1]]):null},Oi.prototype.setMaxBounds=function(Y){Y?(this.lngRange=[Y.getWest(),Y.getEast()],this.latRange=[Y.getSouth(),Y.getNorth()],this._constrain()):(this.lngRange=null,this.latRange=[-this.maxValidLatitude,this.maxValidLatitude])},Oi.prototype.calculatePosMatrix=function(Y,ee){ee===void 0&&(ee=!1);var K=Y.key,le=ee?this._alignedPosMatrixCache:this._posMatrixCache;if(le[K])return le[K];var Te=Y.canonical,De=this.worldSize/this.zoomScale(Te.z),He=Te.x+Math.pow(2,Te.z)*Y.wrap,Ze=i.identity(new Float64Array(16));return i.translate(Ze,Ze,[He*De,Te.y*De,0]),i.scale(Ze,Ze,[De/i.EXTENT,De/i.EXTENT,1]),i.multiply(Ze,ee?this.alignedProjMatrix:this.projMatrix,Ze),le[K]=new Float32Array(Ze),le[K]},Oi.prototype.customLayerMatrix=function(){return this.mercatorMatrix.slice()},Oi.prototype._constrain=function(){if(this.center&&this.width&&this.height&&!this._constraining){this._constraining=!0;var Y,ee,K,le,Te=-90,De=90,He=-180,Ze=180,at=this.size,Tt=this._unmodified;if(this.latRange){var At=this.latRange;Te=i.mercatorYfromLat(At[1])*this.worldSize,Y=(De=i.mercatorYfromLat(At[0])*this.worldSize)-TeDe&&(le=De-Ue)}if(this.lngRange){var We=ve.x,Xe=at.x/2;We-XeZe&&(K=Ze-Xe)}K===void 0&&le===void 0||(this.center=this.unproject(new i.Point(K!==void 0?K:ve.x,le!==void 0?le:ve.y))),this._unmodified=Tt,this._constraining=!1}},Oi.prototype._calcMatrices=function(){if(this.height){var Y=this._fov/2,ee=this.centerOffset;this.cameraToCenterDistance=.5/Math.tan(Y)*this.height;var K=Math.PI/2+this._pitch,le=this._fov*(.5+ee.y/this.height),Te=Math.sin(le)*this.cameraToCenterDistance/Math.sin(i.clamp(Math.PI-K-le,.01,Math.PI-.01)),De=this.point,He=De.x,Ze=De.y,at=1.01*(Math.cos(Math.PI/2-this._pitch)*Te+this.cameraToCenterDistance),Tt=this.height/50,At=new Float64Array(16);i.perspective(At,this._fov,this.width/this.height,Tt,at),At[8]=2*-ee.x/this.width,At[9]=2*ee.y/this.height,i.scale(At,At,[1,-1,1]),i.translate(At,At,[0,0,-this.cameraToCenterDistance]),i.rotateX(At,At,this._pitch),i.rotateZ(At,At,this.angle),i.translate(At,At,[-He,-Ze,0]),this.mercatorMatrix=i.scale([],At,[this.worldSize,this.worldSize,this.worldSize]),i.scale(At,At,[1,1,i.mercatorZfromAltitude(1,this.center.lat)*this.worldSize,1]),this.projMatrix=At,this.invProjMatrix=i.invert([],this.projMatrix);var se=this.width%2/2,ve=this.height%2/2,Ie=Math.cos(this.angle),Fe=Math.sin(this.angle),Ue=He-Math.round(He)+Ie*se+Fe*ve,We=Ze-Math.round(Ze)+Ie*ve+Fe*se,Xe=new Float64Array(At);if(i.translate(Xe,Xe,[Ue>.5?Ue-1:Ue,We>.5?We-1:We,0]),this.alignedProjMatrix=Xe,At=i.create(),i.scale(At,At,[this.width/2,-this.height/2,1]),i.translate(At,At,[1,-1,0]),this.labelPlaneMatrix=At,At=i.create(),i.scale(At,At,[1,-1,1]),i.translate(At,At,[-1,-1,0]),i.scale(At,At,[2/this.width,2/this.height,1]),this.glCoordMatrix=At,this.pixelMatrix=i.multiply(new Float64Array(16),this.labelPlaneMatrix,this.projMatrix),!(At=i.invert(new Float64Array(16),this.pixelMatrix)))throw new Error("failed to invert matrix");this.pixelMatrixInverse=At,this._posMatrixCache={},this._alignedPosMatrixCache={}}},Oi.prototype.maxPitchScaleFactor=function(){if(!this.pixelMatrixInverse)return 1;var Y=this.pointCoordinate(new i.Point(0,0)),ee=[Y.x*this.worldSize,Y.y*this.worldSize,0,1];return i.transformMat4(ee,ee,this.pixelMatrix)[3]/this.cameraToCenterDistance},Oi.prototype.getCameraPoint=function(){var Y=this._pitch,ee=Math.tan(Y)*(this.cameraToCenterDistance||1);return this.centerPoint.add(new i.Point(0,ee))},Oi.prototype.getCameraQueryGeometry=function(Y){var ee=this.getCameraPoint();if(Y.length===1)return[Y[0],ee];for(var K=ee.x,le=ee.y,Te=ee.x,De=ee.y,He=0,Ze=Y;He=3&&!Y.some(function(K){return isNaN(K)})){var ee=this._map.dragRotate.isEnabled()&&this._map.touchZoomRotate.isEnabled()?+(Y[3]||0):this._map.getBearing();return this._map.jumpTo({center:[+Y[2],+Y[1]],zoom:+Y[0],bearing:ee,pitch:+(Y[4]||0)}),!0}return!1},ol.prototype._updateHashUnthrottled=function(){var Y=this.getHashString();try{i.window.history.replaceState(i.window.history.state,"",Y)}catch{}};var Us={linearity:.3,easing:i.bezier(0,0,.3,1)},Gc=i.extend({deceleration:2500,maxSpeed:1400},Us),Oh=i.extend({deceleration:20,maxSpeed:1400},Us),au=i.extend({deceleration:1e3,maxSpeed:360},Us),Dh=i.extend({deceleration:1e3,maxSpeed:90},Us),ou=function(Y){this._map=Y,this.clear()};function sl(Y,ee){(!Y.duration||Y.duration0&&ee-Y[0].time>160;)Y.shift()},ou.prototype._onMoveEnd=function(Y){if(this._drainInertiaBuffer(),!(this._inertiaBuffer.length<2)){for(var ee={zoom:0,bearing:0,pitch:0,pan:new i.Point(0,0),pinchAround:void 0,around:void 0},K=0,le=this._inertiaBuffer;K=this._clickTolerance||this._map.fire(new da(Y.type,this._map,Y))},Ha.prototype.dblclick=function(Y){return this._firePreventable(new da(Y.type,this._map,Y))},Ha.prototype.mouseover=function(Y){this._map.fire(new da(Y.type,this._map,Y))},Ha.prototype.mouseout=function(Y){this._map.fire(new da(Y.type,this._map,Y))},Ha.prototype.touchstart=function(Y){return this._firePreventable(new Hs(Y.type,this._map,Y))},Ha.prototype.touchmove=function(Y){this._map.fire(new Hs(Y.type,this._map,Y))},Ha.prototype.touchend=function(Y){this._map.fire(new Hs(Y.type,this._map,Y))},Ha.prototype.touchcancel=function(Y){this._map.fire(new Hs(Y.type,this._map,Y))},Ha.prototype._firePreventable=function(Y){if(this._map.fire(Y),Y.defaultPrevented)return{}},Ha.prototype.isEnabled=function(){return!0},Ha.prototype.isActive=function(){return!1},Ha.prototype.enable=function(){},Ha.prototype.disable=function(){};var mo=function(Y){this._map=Y};mo.prototype.reset=function(){this._delayContextMenu=!1,delete this._contextMenuEvent},mo.prototype.mousemove=function(Y){this._map.fire(new da(Y.type,this._map,Y))},mo.prototype.mousedown=function(){this._delayContextMenu=!0},mo.prototype.mouseup=function(){this._delayContextMenu=!1,this._contextMenuEvent&&(this._map.fire(new da("contextmenu",this._map,this._contextMenuEvent)),delete this._contextMenuEvent)},mo.prototype.contextmenu=function(Y){this._delayContextMenu?this._contextMenuEvent=Y:this._map.fire(new da(Y.type,this._map,Y)),this._map.listens("contextmenu")&&Y.preventDefault()},mo.prototype.isEnabled=function(){return!0},mo.prototype.isActive=function(){return!1},mo.prototype.enable=function(){},mo.prototype.disable=function(){};var go=function(Y,ee){this._map=Y,this._el=Y.getCanvasContainer(),this._container=Y.getContainer(),this._clickTolerance=ee.clickTolerance||1};function ho(Y,ee){for(var K={},le=0;lethis.numTouches)&&(this.aborted=!0),this.aborted||(this.startTime===void 0&&(this.startTime=Y.timeStamp),K.length===this.numTouches&&(this.centroid=function(le){for(var Te=new i.Point(0,0),De=0,He=le;De30)&&(this.aborted=!0)}}},zo.prototype.touchend=function(Y,ee,K){if((!this.centroid||Y.timeStamp-this.startTime>500)&&(this.aborted=!0),K.length===0){var le=!this.aborted&&this.centroid;if(this.reset(),le)return le}};var Pl=function(Y){this.singleTap=new zo(Y),this.numTaps=Y.numTaps,this.reset()};Pl.prototype.reset=function(){this.lastTime=1/0,delete this.lastTap,this.count=0,this.singleTap.reset()},Pl.prototype.touchstart=function(Y,ee,K){this.singleTap.touchstart(Y,ee,K)},Pl.prototype.touchmove=function(Y,ee,K){this.singleTap.touchmove(Y,ee,K)},Pl.prototype.touchend=function(Y,ee,K){var le=this.singleTap.touchend(Y,ee,K);if(le){var Te=Y.timeStamp-this.lastTime<500,De=!this.lastTap||this.lastTap.dist(le)<30;if(Te&&De||this.reset(),this.count++,this.lastTime=Y.timeStamp,this.lastTap=le,this.count===this.numTaps)return this.reset(),le}};var vs=function(){this._zoomIn=new Pl({numTouches:1,numTaps:2}),this._zoomOut=new Pl({numTouches:2,numTaps:1}),this.reset()};vs.prototype.reset=function(){this._active=!1,this._zoomIn.reset(),this._zoomOut.reset()},vs.prototype.touchstart=function(Y,ee,K){this._zoomIn.touchstart(Y,ee,K),this._zoomOut.touchstart(Y,ee,K)},vs.prototype.touchmove=function(Y,ee,K){this._zoomIn.touchmove(Y,ee,K),this._zoomOut.touchmove(Y,ee,K)},vs.prototype.touchend=function(Y,ee,K){var le=this,Te=this._zoomIn.touchend(Y,ee,K),De=this._zoomOut.touchend(Y,ee,K);return Te?(this._active=!0,Y.preventDefault(),setTimeout(function(){return le.reset()},0),{cameraAnimation:function(He){return He.easeTo({duration:300,zoom:He.getZoom()+1,around:He.unproject(Te)},{originalEvent:Y})}}):De?(this._active=!0,Y.preventDefault(),setTimeout(function(){return le.reset()},0),{cameraAnimation:function(He){return He.easeTo({duration:300,zoom:He.getZoom()-1,around:He.unproject(De)},{originalEvent:Y})}}):void 0},vs.prototype.touchcancel=function(){this.reset()},vs.prototype.enable=function(){this._enabled=!0},vs.prototype.disable=function(){this._enabled=!1,this.reset()},vs.prototype.isEnabled=function(){return this._enabled},vs.prototype.isActive=function(){return this._active};var $a=function(Y){this.reset(),this._clickTolerance=Y.clickTolerance||1};$a.prototype.reset=function(){this._active=!1,this._moved=!1,delete this._lastPoint,delete this._eventButton},$a.prototype._correctButton=function(Y,ee){return!1},$a.prototype._move=function(Y,ee){return{}},$a.prototype.mousedown=function(Y,ee){if(!this._lastPoint){var K=v.mouseButton(Y);this._correctButton(Y,K)&&(this._lastPoint=ee,this._eventButton=K)}},$a.prototype.mousemoveWindow=function(Y,ee){var K=this._lastPoint;if(K&&(Y.preventDefault(),this._moved||!(ee.dist(K)0&&(this._active=!0);var le=ho(K,ee),Te=new i.Point(0,0),De=new i.Point(0,0),He=0;for(var Ze in le){var at=le[Ze],Tt=this._touches[Ze];Tt&&(Te._add(at),De._add(at.sub(Tt)),He++,le[Ze]=at)}if(this._touches=le,!(HeMath.abs(Y.x)}var Br=function(Y){function ee(){Y.apply(this,arguments)}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee.prototype.reset=function(){Y.prototype.reset.call(this),this._valid=void 0,delete this._firstMove,delete this._lastPoints},ee.prototype._start=function(K){this._lastPoints=K,Bu(K[0].sub(K[1]))&&(this._valid=!1)},ee.prototype._move=function(K,le,Te){var De=K[0].sub(this._lastPoints[0]),He=K[1].sub(this._lastPoints[1]);if(this._valid=this.gestureBeginsVertically(De,He,Te.timeStamp),this._valid)return this._lastPoints=K,this._active=!0,{pitchDelta:(De.y+He.y)/2*-.5}},ee.prototype.gestureBeginsVertically=function(K,le,Te){if(this._valid!==void 0)return this._valid;var De=K.mag()>=2,He=le.mag()>=2;if(De||He){if(!De||!He)return this._firstMove===void 0&&(this._firstMove=Te),Te-this._firstMove<100&&void 0;var Ze=K.y>0==le.y>0;return Bu(K)&&Bu(le)&&Ze}},ee}(Dr),Nu={panStep:100,bearingStep:15,pitchStep:10},ys=function(){var Y=Nu;this._panStep=Y.panStep,this._bearingStep=Y.bearingStep,this._pitchStep=Y.pitchStep};function $c(Y){return Y*(2-Y)}ys.prototype.reset=function(){this._active=!1},ys.prototype.keydown=function(Y){var ee=this;if(!(Y.altKey||Y.ctrlKey||Y.metaKey)){var K=0,le=0,Te=0,De=0,He=0;switch(Y.keyCode){case 61:case 107:case 171:case 187:K=1;break;case 189:case 109:case 173:K=-1;break;case 37:Y.shiftKey?le=-1:(Y.preventDefault(),De=-1);break;case 39:Y.shiftKey?le=1:(Y.preventDefault(),De=1);break;case 38:Y.shiftKey?Te=1:(Y.preventDefault(),He=-1);break;case 40:Y.shiftKey?Te=-1:(Y.preventDefault(),He=1);break;default:return}return{cameraAnimation:function(Ze){var at=Ze.getZoom();Ze.easeTo({duration:300,easeId:"keyboardHandler",easing:$c,zoom:K?Math.round(at)+K*(Y.shiftKey?2:1):at,bearing:Ze.getBearing()+le*ee._bearingStep,pitch:Ze.getPitch()+Te*ee._pitchStep,offset:[-De*ee._panStep,-He*ee._panStep],center:Ze.getCenter()},{originalEvent:Y})}}}},ys.prototype.enable=function(){this._enabled=!0},ys.prototype.disable=function(){this._enabled=!1,this.reset()},ys.prototype.isEnabled=function(){return this._enabled},ys.prototype.isActive=function(){return this._active};var wc=4.000244140625,vo=function(Y,ee){this._map=Y,this._el=Y.getCanvasContainer(),this._handler=ee,this._delta=0,this._defaultZoomRate=.01,this._wheelZoomRate=.0022222222222222222,i.bindAll(["_onWheel","_onTimeout","_onScrollFrame","_onScrollFinished"],this)};vo.prototype.setZoomRate=function(Y){this._defaultZoomRate=Y},vo.prototype.setWheelZoomRate=function(Y){this._wheelZoomRate=Y},vo.prototype.isEnabled=function(){return!!this._enabled},vo.prototype.isActive=function(){return!!this._active||this._finishTimeout!==void 0},vo.prototype.isZooming=function(){return!!this._zooming},vo.prototype.enable=function(Y){this.isEnabled()||(this._enabled=!0,this._aroundCenter=Y&&Y.around==="center")},vo.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},vo.prototype.wheel=function(Y){if(this.isEnabled()){var ee=Y.deltaMode===i.window.WheelEvent.DOM_DELTA_LINE?40*Y.deltaY:Y.deltaY,K=i.browser.now(),le=K-(this._lastWheelEventTime||0);this._lastWheelEventTime=K,ee!==0&&ee%wc==0?this._type="wheel":ee!==0&&Math.abs(ee)<4?this._type="trackpad":le>400?(this._type=null,this._lastValue=ee,this._timeout=setTimeout(this._onTimeout,40,Y)):this._type||(this._type=Math.abs(le*ee)<200?"trackpad":"wheel",this._timeout&&(clearTimeout(this._timeout),this._timeout=null,ee+=this._lastValue)),Y.shiftKey&&ee&&(ee/=4),this._type&&(this._lastWheelEvent=Y,this._delta-=ee,this._active||this._start(Y)),Y.preventDefault()}},vo.prototype._onTimeout=function(Y){this._type="wheel",this._delta-=this._lastValue,this._active||this._start(Y)},vo.prototype._start=function(Y){if(this._delta){this._frameId&&(this._frameId=null),this._active=!0,this.isZooming()||(this._zooming=!0),this._finishTimeout&&(clearTimeout(this._finishTimeout),delete this._finishTimeout);var ee=v.mousePos(this._el,Y);this._around=i.LngLat.convert(this._aroundCenter?this._map.getCenter():this._map.unproject(ee)),this._aroundPoint=this._map.transform.locationPoint(this._around),this._frameId||(this._frameId=!0,this._handler._triggerRenderFrame())}},vo.prototype.renderFrame=function(){return this._onScrollFrame()},vo.prototype._onScrollFrame=function(){var Y=this;if(this._frameId&&(this._frameId=null,this.isActive())){var ee=this._map.transform;if(this._delta!==0){var K=this._type==="wheel"&&Math.abs(this._delta)>wc?this._wheelZoomRate:this._defaultZoomRate,le=2/(1+Math.exp(-Math.abs(this._delta*K)));this._delta<0&&le!==0&&(le=1/le);var Te=typeof this._targetZoom=="number"?ee.zoomScale(this._targetZoom):ee.scale;this._targetZoom=Math.min(ee.maxZoom,Math.max(ee.minZoom,ee.scaleZoom(Te*le))),this._type==="wheel"&&(this._startZoom=ee.zoom,this._easing=this._smoothOutEasing(200)),this._delta=0}var De,He=typeof this._targetZoom=="number"?this._targetZoom:ee.zoom,Ze=this._startZoom,at=this._easing,Tt=!1;if(this._type==="wheel"&&Ze&&at){var At=Math.min((i.browser.now()-this._lastWheelEventTime)/200,1),se=at(At);De=i.number(Ze,He,se),At<1?this._frameId||(this._frameId=!0):Tt=!0}else De=He,Tt=!0;return this._active=!0,Tt&&(this._active=!1,this._finishTimeout=setTimeout(function(){Y._zooming=!1,Y._handler._triggerRenderFrame(),delete Y._targetZoom,delete Y._finishTimeout},200)),{noInertia:!0,needsRenderFrame:!Tt,zoomDelta:De-ee.zoom,around:this._aroundPoint,originalEvent:this._lastWheelEvent}}},vo.prototype._smoothOutEasing=function(Y){var ee=i.ease;if(this._prevEase){var K=this._prevEase,le=(i.browser.now()-K.start)/K.duration,Te=K.easing(le+.01)-K.easing(le),De=.27/Math.sqrt(Te*Te+1e-4)*.01,He=Math.sqrt(.0729-De*De);ee=i.bezier(De,He,.25,1)}return this._prevEase={start:i.browser.now(),duration:Y,easing:ee},ee},vo.prototype.reset=function(){this._active=!1};var cu=function(Y,ee){this._clickZoom=Y,this._tapZoom=ee};cu.prototype.enable=function(){this._clickZoom.enable(),this._tapZoom.enable()},cu.prototype.disable=function(){this._clickZoom.disable(),this._tapZoom.disable()},cu.prototype.isEnabled=function(){return this._clickZoom.isEnabled()&&this._tapZoom.isEnabled()},cu.prototype.isActive=function(){return this._clickZoom.isActive()||this._tapZoom.isActive()};var ll=function(){this.reset()};ll.prototype.reset=function(){this._active=!1},ll.prototype.dblclick=function(Y,ee){return Y.preventDefault(),{cameraAnimation:function(K){K.easeTo({duration:300,zoom:K.getZoom()+(Y.shiftKey?-1:1),around:K.unproject(ee)},{originalEvent:Y})}}},ll.prototype.enable=function(){this._enabled=!0},ll.prototype.disable=function(){this._enabled=!1,this.reset()},ll.prototype.isEnabled=function(){return this._enabled},ll.prototype.isActive=function(){return this._active};var Zo=function(){this._tap=new Pl({numTouches:1,numTaps:1}),this.reset()};Zo.prototype.reset=function(){this._active=!1,delete this._swipePoint,delete this._swipeTouch,delete this._tapTime,this._tap.reset()},Zo.prototype.touchstart=function(Y,ee,K){this._swipePoint||(this._tapTime&&Y.timeStamp-this._tapTime>500&&this.reset(),this._tapTime?K.length>0&&(this._swipePoint=ee[0],this._swipeTouch=K[0].identifier):this._tap.touchstart(Y,ee,K))},Zo.prototype.touchmove=function(Y,ee,K){if(this._tapTime){if(this._swipePoint){if(K[0].identifier!==this._swipeTouch)return;var le=ee[0],Te=le.y-this._swipePoint.y;return this._swipePoint=le,Y.preventDefault(),this._active=!0,{zoomDelta:Te/128}}}else this._tap.touchmove(Y,ee,K)},Zo.prototype.touchend=function(Y,ee,K){this._tapTime?this._swipePoint&&K.length===0&&this.reset():this._tap.touchend(Y,ee,K)&&(this._tapTime=Y.timeStamp)},Zo.prototype.touchcancel=function(){this.reset()},Zo.prototype.enable=function(){this._enabled=!0},Zo.prototype.disable=function(){this._enabled=!1,this.reset()},Zo.prototype.isEnabled=function(){return this._enabled},Zo.prototype.isActive=function(){return this._active};var Ol=function(Y,ee,K){this._el=Y,this._mousePan=ee,this._touchPan=K};Ol.prototype.enable=function(Y){this._inertiaOptions=Y||{},this._mousePan.enable(),this._touchPan.enable(),this._el.classList.add("mapboxgl-touch-drag-pan")},Ol.prototype.disable=function(){this._mousePan.disable(),this._touchPan.disable(),this._el.classList.remove("mapboxgl-touch-drag-pan")},Ol.prototype.isEnabled=function(){return this._mousePan.isEnabled()&&this._touchPan.isEnabled()},Ol.prototype.isActive=function(){return this._mousePan.isActive()||this._touchPan.isActive()};var Ls=function(Y,ee,K){this._pitchWithRotate=Y.pitchWithRotate,this._mouseRotate=ee,this._mousePitch=K};Ls.prototype.enable=function(){this._mouseRotate.enable(),this._pitchWithRotate&&this._mousePitch.enable()},Ls.prototype.disable=function(){this._mouseRotate.disable(),this._mousePitch.disable()},Ls.prototype.isEnabled=function(){return this._mouseRotate.isEnabled()&&(!this._pitchWithRotate||this._mousePitch.isEnabled())},Ls.prototype.isActive=function(){return this._mouseRotate.isActive()||this._mousePitch.isActive()};var bs=function(Y,ee,K,le){this._el=Y,this._touchZoom=ee,this._touchRotate=K,this._tapDragZoom=le,this._rotationDisabled=!1,this._enabled=!0};bs.prototype.enable=function(Y){this._touchZoom.enable(Y),this._rotationDisabled||this._touchRotate.enable(Y),this._tapDragZoom.enable(),this._el.classList.add("mapboxgl-touch-zoom-rotate")},bs.prototype.disable=function(){this._touchZoom.disable(),this._touchRotate.disable(),this._tapDragZoom.disable(),this._el.classList.remove("mapboxgl-touch-zoom-rotate")},bs.prototype.isEnabled=function(){return this._touchZoom.isEnabled()&&(this._rotationDisabled||this._touchRotate.isEnabled())&&this._tapDragZoom.isEnabled()},bs.prototype.isActive=function(){return this._touchZoom.isActive()||this._touchRotate.isActive()||this._tapDragZoom.isActive()},bs.prototype.disableRotation=function(){this._rotationDisabled=!0,this._touchRotate.disable()},bs.prototype.enableRotation=function(){this._rotationDisabled=!1,this._touchZoom.isEnabled()&&this._touchRotate.enable()};var hu=function(Y){return Y.zoom||Y.drag||Y.pitch||Y.rotate},yo=function(Y){function ee(){Y.apply(this,arguments)}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee}(i.Event);function xs(Y){return Y.panDelta&&Y.panDelta.mag()||Y.zoomDelta||Y.bearingDelta||Y.pitchDelta}var $i=function(Y,ee){this._map=Y,this._el=this._map.getCanvasContainer(),this._handlers=[],this._handlersById={},this._changes=[],this._inertia=new ou(Y),this._bearingSnap=ee.bearingSnap,this._previousActiveHandlers={},this._eventsInProgress={},this._addDefaultHandlers(ee),i.bindAll(["handleEvent","handleWindowEvent"],this);var K=this._el;this._listeners=[[K,"touchstart",{passive:!1}],[K,"touchmove",{passive:!1}],[K,"touchend",void 0],[K,"touchcancel",void 0],[K,"mousedown",void 0],[K,"mousemove",void 0],[K,"mouseup",void 0],[i.window.document,"mousemove",{capture:!0}],[i.window.document,"mouseup",void 0],[K,"mouseover",void 0],[K,"mouseout",void 0],[K,"dblclick",void 0],[K,"click",void 0],[K,"keydown",{capture:!1}],[K,"keyup",void 0],[K,"wheel",{passive:!1}],[K,"contextmenu",void 0],[i.window,"blur",void 0]];for(var le=0,Te=this._listeners;leHe?Math.min(2,Ut):Math.max(.5,Ut),ln=Math.pow(tn,1-en),an=De.unproject(mt.add(zt.mult(en*ln)).mult(vn));De.setLocationAtPoint(De.renderWorldCopies?an.wrap():an,Ue)}Te._fireMoveEvents(le)},function(en){Te._afterEase(le,en)},K),this},ee.prototype._prepareEase=function(K,le,Te){Te===void 0&&(Te={}),this._moving=!0,le||Te.moving||this.fire(new i.Event("movestart",K)),this._zooming&&!Te.zooming&&this.fire(new i.Event("zoomstart",K)),this._rotating&&!Te.rotating&&this.fire(new i.Event("rotatestart",K)),this._pitching&&!Te.pitching&&this.fire(new i.Event("pitchstart",K))},ee.prototype._fireMoveEvents=function(K){this.fire(new i.Event("move",K)),this._zooming&&this.fire(new i.Event("zoom",K)),this._rotating&&this.fire(new i.Event("rotate",K)),this._pitching&&this.fire(new i.Event("pitch",K))},ee.prototype._afterEase=function(K,le){if(!this._easeId||!le||this._easeId!==le){delete this._easeId;var Te=this._zooming,De=this._rotating,He=this._pitching;this._moving=!1,this._zooming=!1,this._rotating=!1,this._pitching=!1,this._padding=!1,Te&&this.fire(new i.Event("zoomend",K)),De&&this.fire(new i.Event("rotateend",K)),He&&this.fire(new i.Event("pitchend",K)),this.fire(new i.Event("moveend",K))}},ee.prototype.flyTo=function(K,le){var Te=this;if(!K.essential&&i.browser.prefersReducedMotion){var De=i.pick(K,["center","zoom","bearing","pitch","around"]);return this.jumpTo(De,le)}this.stop(),K=i.extend({offset:[0,0],speed:1.2,curve:1.42,easing:i.ease},K);var He=this.transform,Ze=this.getZoom(),at=this.getBearing(),Tt=this.getPitch(),At=this.getPadding(),se="zoom"in K?i.clamp(+K.zoom,He.minZoom,He.maxZoom):Ze,ve="bearing"in K?this._normalizeBearing(K.bearing,at):at,Ie="pitch"in K?+K.pitch:Tt,Fe="padding"in K?K.padding:He.padding,Ue=He.zoomScale(se-Ze),We=i.Point.convert(K.offset),Xe=He.centerPoint.add(We),tt=He.pointLocation(Xe),lt=i.LngLat.convert(K.center||tt);this._normalizeCenter(lt);var mt=He.project(tt),zt=He.project(lt).sub(mt),Ut=K.curve,Ht=Math.max(He.width,He.height),en=Ht/Ue,vn=zt.mag();if("minZoom"in K){var tn=i.clamp(Math.min(K.minZoom,Ze,se),He.minZoom,He.maxZoom),ln=Ht/He.zoomScale(tn-Ze);Ut=Math.sqrt(ln/vn*2)}var an=Ut*Ut;function Cn(xr){var kr=(en*en-Ht*Ht+(xr?-1:1)*an*an*vn*vn)/(2*(xr?en:Ht)*an*vn);return Math.log(Math.sqrt(kr*kr+1)-kr)}function _n(xr){return(Math.exp(xr)-Math.exp(-xr))/2}function on(xr){return(Math.exp(xr)+Math.exp(-xr))/2}var Fn=Cn(0),Hn=function(xr){return on(Fn)/on(Fn+Ut*xr)},ir=function(xr){return Ht*((on(Fn)*(_n(kr=Fn+Ut*xr)/on(kr))-_n(Fn))/an)/vn;var kr},ar=(Cn(1)-Fn)/Ut;if(Math.abs(vn)<1e-6||!isFinite(ar)){if(Math.abs(Ht-en)<1e-6)return this.easeTo(K,le);var Mr=enK.maxDuration&&(K.duration=0),this._zooming=!0,this._rotating=at!==ve,this._pitching=Ie!==Tt,this._padding=!He.isPaddingEqual(Fe),this._prepareEase(le,!1),this._ease(function(xr){var kr=xr*ar,jr=1/Hn(kr);He.zoom=xr===1?se:Ze+He.scaleZoom(jr),Te._rotating&&(He.bearing=i.number(at,ve,xr)),Te._pitching&&(He.pitch=i.number(Tt,Ie,xr)),Te._padding&&(He.interpolatePadding(At,Fe,xr),Xe=He.centerPoint.add(We));var fi=xr===1?lt:He.unproject(mt.add(zt.mult(ir(kr))).mult(jr));He.setLocationAtPoint(He.renderWorldCopies?fi.wrap():fi,Xe),Te._fireMoveEvents(le)},function(){return Te._afterEase(le)},K),this},ee.prototype.isEasing=function(){return!!this._easeFrameId},ee.prototype.stop=function(){return this._stop()},ee.prototype._stop=function(K,le){if(this._easeFrameId&&(this._cancelRenderFrame(this._easeFrameId),delete this._easeFrameId,delete this._onEaseFrame),this._onEaseEnd){var Te=this._onEaseEnd;delete this._onEaseEnd,Te.call(this,le)}if(!K){var De=this.handlers;De&&De.stop()}return this},ee.prototype._ease=function(K,le,Te){Te.animate===!1||Te.duration===0?(K(1),le()):(this._easeStart=i.browser.now(),this._easeOptions=Te,this._onEaseFrame=K,this._onEaseEnd=le,this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback))},ee.prototype._renderFrameCallback=function(){var K=Math.min((i.browser.now()-this._easeStart)/this._easeOptions.duration,1);this._onEaseFrame(this._easeOptions.easing(K)),K<1?this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback):this.stop()},ee.prototype._normalizeBearing=function(K,le){K=i.wrap(K,-180,180);var Te=Math.abs(K-le);return Math.abs(K-360-le)180?-360:Te<-180?360:0}},ee}(i.Evented),os=function(Y){Y===void 0&&(Y={}),this.options=Y,i.bindAll(["_updateEditLink","_updateData","_updateCompact"],this)};os.prototype.getDefaultPosition=function(){return"bottom-right"},os.prototype.onAdd=function(Y){var ee=this.options&&this.options.compact;return this._map=Y,this._container=v.create("div","mapboxgl-ctrl mapboxgl-ctrl-attrib"),this._innerContainer=v.create("div","mapboxgl-ctrl-attrib-inner",this._container),ee&&this._container.classList.add("mapboxgl-compact"),this._updateAttributions(),this._updateEditLink(),this._map.on("styledata",this._updateData),this._map.on("sourcedata",this._updateData),this._map.on("moveend",this._updateEditLink),ee===void 0&&(this._map.on("resize",this._updateCompact),this._updateCompact()),this._container},os.prototype.onRemove=function(){v.remove(this._container),this._map.off("styledata",this._updateData),this._map.off("sourcedata",this._updateData),this._map.off("moveend",this._updateEditLink),this._map.off("resize",this._updateCompact),this._map=void 0,this._attribHTML=void 0},os.prototype._updateEditLink=function(){var Y=this._editLink;Y||(Y=this._editLink=this._container.querySelector(".mapbox-improve-map"));var ee=[{key:"owner",value:this.styleOwner},{key:"id",value:this.styleId},{key:"access_token",value:this._map._requestManager._customAccessToken||i.config.ACCESS_TOKEN}];if(Y){var K=ee.reduce(function(le,Te,De){return Te.value&&(le+=Te.key+"="+Te.value+(De=0)return!1;return!0})).join(" | ");He!==this._attribHTML&&(this._attribHTML=He,Y.length?(this._innerContainer.innerHTML=He,this._container.classList.remove("mapboxgl-attrib-empty")):this._container.classList.add("mapboxgl-attrib-empty"),this._editLink=null)}},os.prototype._updateCompact=function(){this._map.getCanvasContainer().offsetWidth<=640?this._container.classList.add("mapboxgl-compact"):this._container.classList.remove("mapboxgl-compact")};var _s=function(){i.bindAll(["_updateLogo"],this),i.bindAll(["_updateCompact"],this)};_s.prototype.onAdd=function(Y){this._map=Y,this._container=v.create("div","mapboxgl-ctrl");var ee=v.create("a","mapboxgl-ctrl-logo");return ee.target="_blank",ee.rel="noopener nofollow",ee.href="https://www.mapbox.com/",ee.setAttribute("aria-label",this._map._getUIString("LogoControl.Title")),ee.setAttribute("rel","noopener nofollow"),this._container.appendChild(ee),this._container.style.display="none",this._map.on("sourcedata",this._updateLogo),this._updateLogo(),this._map.on("resize",this._updateCompact),this._updateCompact(),this._container},_s.prototype.onRemove=function(){v.remove(this._container),this._map.off("sourcedata",this._updateLogo),this._map.off("resize",this._updateCompact)},_s.prototype.getDefaultPosition=function(){return"bottom-left"},_s.prototype._updateLogo=function(Y){Y&&Y.sourceDataType!=="metadata"||(this._container.style.display=this._logoRequired()?"block":"none")},_s.prototype._logoRequired=function(){if(this._map.style){var Y=this._map.style.sourceCaches;for(var ee in Y)if(Y[ee].getSource().mapbox_logo)return!0;return!1}},_s.prototype._updateCompact=function(){var Y=this._container.children;if(Y.length){var ee=Y[0];this._map.getCanvasContainer().offsetWidth<250?ee.classList.add("mapboxgl-compact"):ee.classList.remove("mapboxgl-compact")}};var Gs=function(){this._queue=[],this._id=0,this._cleared=!1,this._currentlyRunning=!1};Gs.prototype.add=function(Y){var ee=++this._id;return this._queue.push({callback:Y,id:ee,cancelled:!1}),ee},Gs.prototype.remove=function(Y){for(var ee=this._currentlyRunning,K=0,le=ee?this._queue.concat(ee):this._queue;Kle.maxZoom)throw new Error("maxZoom must be greater than or equal to minZoom");if(le.minPitch!=null&&le.maxPitch!=null&&le.minPitch>le.maxPitch)throw new Error("maxPitch must be greater than or equal to minPitch");if(le.minPitch!=null&&le.minPitch<0)throw new Error("minPitch must be greater than or equal to 0");if(le.maxPitch!=null&&le.maxPitch>No)throw new Error("maxPitch must be less than or equal to 60");var De=new Oi(le.minZoom,le.maxZoom,le.minPitch,le.maxPitch,le.renderWorldCopies);if(Y.call(this,De,le),this._interactive=le.interactive,this._maxTileCacheSize=le.maxTileCacheSize,this._failIfMajorPerformanceCaveat=le.failIfMajorPerformanceCaveat,this._preserveDrawingBuffer=le.preserveDrawingBuffer,this._antialias=le.antialias,this._trackResize=le.trackResize,this._bearingSnap=le.bearingSnap,this._refreshExpiredTiles=le.refreshExpiredTiles,this._fadeDuration=le.fadeDuration,this._crossSourceCollisions=le.crossSourceCollisions,this._crossFadingFactor=1,this._collectResourceTiming=le.collectResourceTiming,this._renderTaskQueue=new Gs,this._controls=[],this._mapId=i.uniqueId(),this._locale=i.extend({},Bo,le.locale),this._requestManager=new i.RequestManager(le.transformRequest,le.accessToken),typeof le.container=="string"){if(this._container=i.window.document.getElementById(le.container),!this._container)throw new Error("Container '"+le.container+"' not found.")}else{if(!(le.container instanceof no))throw new Error("Invalid type: 'container' must be a String or HTMLElement.");this._container=le.container}if(le.maxBounds&&this.setMaxBounds(le.maxBounds),i.bindAll(["_onWindowOnline","_onWindowResize","_contextLost","_contextRestored"],this),this._setupContainer(),this._setupPainter(),this.painter===void 0)throw new Error("Failed to initialize WebGL.");this.on("move",function(){return Te._update(!1)}),this.on("moveend",function(){return Te._update(!1)}),this.on("zoom",function(){return Te._update(!0)}),i.window!==void 0&&(i.window.addEventListener("online",this._onWindowOnline,!1),i.window.addEventListener("resize",this._onWindowResize,!1)),this.handlers=new $i(this,le);var He=typeof le.hash=="string"&&le.hash||void 0;this._hash=le.hash&&new ol(He).addTo(this),this._hash&&this._hash._onHashChange()||(this.jumpTo({center:le.center,zoom:le.zoom,bearing:le.bearing,pitch:le.pitch}),le.bounds&&(this.resize(),this.fitBounds(le.bounds,i.extend({},le.fitBoundsOptions,{duration:0})))),this.resize(),this._localIdeographFontFamily=le.localIdeographFontFamily,le.style&&this.setStyle(le.style,{localIdeographFontFamily:le.localIdeographFontFamily}),le.attributionControl&&this.addControl(new os({customAttribution:le.customAttribution})),this.addControl(new _s,le.logoPosition),this.on("style.load",function(){Te.transform.unmodified&&Te.jumpTo(Te.style.stylesheet)}),this.on("data",function(Ze){Te._update(Ze.dataType==="style"),Te.fire(new i.Event(Ze.dataType+"data",Ze))}),this.on("dataloading",function(Ze){Te.fire(new i.Event(Ze.dataType+"dataloading",Ze))})}Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee;var K={showTileBoundaries:{configurable:!0},showPadding:{configurable:!0},showCollisionBoxes:{configurable:!0},showOverdrawInspector:{configurable:!0},repaint:{configurable:!0},vertices:{configurable:!0},version:{configurable:!0}};return ee.prototype._getMapId=function(){return this._mapId},ee.prototype.addControl=function(le,Te){if(Te===void 0&&le.getDefaultPosition&&(Te=le.getDefaultPosition()),Te===void 0&&(Te="top-right"),!le||!le.onAdd)return this.fire(new i.ErrorEvent(new Error("Invalid argument to map.addControl(). Argument must be a control with onAdd and onRemove methods.")));var De=le.onAdd(this);this._controls.push(le);var He=this._controlPositions[Te];return Te.indexOf("bottom")!==-1?He.insertBefore(De,He.firstChild):He.appendChild(De),this},ee.prototype.removeControl=function(le){if(!le||!le.onRemove)return this.fire(new i.ErrorEvent(new Error("Invalid argument to map.removeControl(). Argument must be a control with onAdd and onRemove methods.")));var Te=this._controls.indexOf(le);return Te>-1&&this._controls.splice(Te,1),le.onRemove(this),this},ee.prototype.resize=function(le){var Te=this._containerDimensions(),De=Te[0],He=Te[1];this._resizeCanvas(De,He),this.transform.resize(De,He),this.painter.resize(De,He);var Ze=!this._moving;return Ze&&(this.stop(),this.fire(new i.Event("movestart",le)).fire(new i.Event("move",le))),this.fire(new i.Event("resize",le)),Ze&&this.fire(new i.Event("moveend",le)),this},ee.prototype.getBounds=function(){return this.transform.getBounds()},ee.prototype.getMaxBounds=function(){return this.transform.getMaxBounds()},ee.prototype.setMaxBounds=function(le){return this.transform.setMaxBounds(i.LngLatBounds.convert(le)),this._update()},ee.prototype.setMinZoom=function(le){if((le=le??-2)>=-2&&le<=this.transform.maxZoom)return this.transform.minZoom=le,this._update(),this.getZoom()=this.transform.minZoom)return this.transform.maxZoom=le,this._update(),this.getZoom()>le&&this.setZoom(le),this;throw new Error("maxZoom must be greater than the current minZoom")},ee.prototype.getMaxZoom=function(){return this.transform.maxZoom},ee.prototype.setMinPitch=function(le){if((le=le??0)<0)throw new Error("minPitch must be greater than or equal to 0");if(le>=0&&le<=this.transform.maxPitch)return this.transform.minPitch=le,this._update(),this.getPitch()No)throw new Error("maxPitch must be less than or equal to 60");if(le>=this.transform.minPitch)return this.transform.maxPitch=le,this._update(),this.getPitch()>le&&this.setPitch(le),this;throw new Error("maxPitch must be greater than the current minPitch")},ee.prototype.getMaxPitch=function(){return this.transform.maxPitch},ee.prototype.getRenderWorldCopies=function(){return this.transform.renderWorldCopies},ee.prototype.setRenderWorldCopies=function(le){return this.transform.renderWorldCopies=le,this._update()},ee.prototype.project=function(le){return this.transform.locationPoint(i.LngLat.convert(le))},ee.prototype.unproject=function(le){return this.transform.pointLocation(i.Point.convert(le))},ee.prototype.isMoving=function(){return this._moving||this.handlers.isMoving()},ee.prototype.isZooming=function(){return this._zooming||this.handlers.isZooming()},ee.prototype.isRotating=function(){return this._rotating||this.handlers.isRotating()},ee.prototype._createDelegatedListener=function(le,Te,De){var He,Ze=this;if(le==="mouseenter"||le==="mouseover"){var at=!1;return{layer:Te,listener:De,delegates:{mousemove:function(At){var se=Ze.getLayer(Te)?Ze.queryRenderedFeatures(At.point,{layers:[Te]}):[];se.length?at||(at=!0,De.call(Ze,new da(le,Ze,At.originalEvent,{features:se}))):at=!1},mouseout:function(){at=!1}}}}if(le==="mouseleave"||le==="mouseout"){var Tt=!1;return{layer:Te,listener:De,delegates:{mousemove:function(At){(Ze.getLayer(Te)?Ze.queryRenderedFeatures(At.point,{layers:[Te]}):[]).length?Tt=!0:Tt&&(Tt=!1,De.call(Ze,new da(le,Ze,At.originalEvent)))},mouseout:function(At){Tt&&(Tt=!1,De.call(Ze,new da(le,Ze,At.originalEvent)))}}}}return{layer:Te,listener:De,delegates:(He={},He[le]=function(At){var se=Ze.getLayer(Te)?Ze.queryRenderedFeatures(At.point,{layers:[Te]}):[];se.length&&(At.features=se,De.call(Ze,At),delete At.features)},He)}},ee.prototype.on=function(le,Te,De){if(De===void 0)return Y.prototype.on.call(this,le,Te);var He=this._createDelegatedListener(le,Te,De);for(var Ze in this._delegatedListeners=this._delegatedListeners||{},this._delegatedListeners[le]=this._delegatedListeners[le]||[],this._delegatedListeners[le].push(He),He.delegates)this.on(Ze,He.delegates[Ze]);return this},ee.prototype.once=function(le,Te,De){if(De===void 0)return Y.prototype.once.call(this,le,Te);var He=this._createDelegatedListener(le,Te,De);for(var Ze in He.delegates)this.once(Ze,He.delegates[Ze]);return this},ee.prototype.off=function(le,Te,De){var He=this;return De===void 0?Y.prototype.off.call(this,le,Te):(this._delegatedListeners&&this._delegatedListeners[le]&&function(Ze){for(var at=Ze[le],Tt=0;Tt180;){var He=K.locationPoint(Y);if(He.x>=0&&He.y>=0&&He.x<=K.width&&He.y<=K.height)break;Y.lng>K.center.lng?Y.lng-=360:Y.lng+=360}return Y}Hr.prototype.down=function(Y,ee){this.mouseRotate.mousedown(Y,ee),this.mousePitch&&this.mousePitch.mousedown(Y,ee),v.disableDrag()},Hr.prototype.move=function(Y,ee){var K=this.map,le=this.mouseRotate.mousemoveWindow(Y,ee);if(le&&le.bearingDelta&&K.setBearing(K.getBearing()+le.bearingDelta),this.mousePitch){var Te=this.mousePitch.mousemoveWindow(Y,ee);Te&&Te.pitchDelta&&K.setPitch(K.getPitch()+Te.pitchDelta)}},Hr.prototype.off=function(){var Y=this.element;v.removeEventListener(Y,"mousedown",this.mousedown),v.removeEventListener(Y,"touchstart",this.touchstart,{passive:!1}),v.removeEventListener(Y,"touchmove",this.touchmove),v.removeEventListener(Y,"touchend",this.touchend),v.removeEventListener(Y,"touchcancel",this.reset),this.offTemp()},Hr.prototype.offTemp=function(){v.enableDrag(),v.removeEventListener(i.window,"mousemove",this.mousemove),v.removeEventListener(i.window,"mouseup",this.mouseup)},Hr.prototype.mousedown=function(Y){this.down(i.extend({},Y,{ctrlKey:!0,preventDefault:function(){return Y.preventDefault()}}),v.mousePos(this.element,Y)),v.addEventListener(i.window,"mousemove",this.mousemove),v.addEventListener(i.window,"mouseup",this.mouseup)},Hr.prototype.mousemove=function(Y){this.move(Y,v.mousePos(this.element,Y))},Hr.prototype.mouseup=function(Y){this.mouseRotate.mouseupWindow(Y),this.mousePitch&&this.mousePitch.mouseupWindow(Y),this.offTemp()},Hr.prototype.touchstart=function(Y){Y.targetTouches.length!==1?this.reset():(this._startPos=this._lastPos=v.touchPos(this.element,Y.targetTouches)[0],this.down({type:"mousedown",button:0,ctrlKey:!0,preventDefault:function(){return Y.preventDefault()}},this._startPos))},Hr.prototype.touchmove=function(Y){Y.targetTouches.length!==1?this.reset():(this._lastPos=v.touchPos(this.element,Y.targetTouches)[0],this.move({preventDefault:function(){return Y.preventDefault()}},this._lastPos))},Hr.prototype.touchend=function(Y){Y.targetTouches.length===0&&this._startPos&&this._lastPos&&this._startPos.dist(this._lastPos)le.getEast()||Te.latitudele.getNorth())},ee.prototype._setErrorState=function(){switch(this._watchState){case"WAITING_ACTIVE":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"ACTIVE_LOCK":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting");break;case"BACKGROUND":this._watchState="BACKGROUND_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting")}},ee.prototype._onSuccess=function(K){if(this._map){if(this._isOutOfMapMaxBounds(K))return this._setErrorState(),this.fire(new i.Event("outofmaxbounds",K)),this._updateMarker(),void this._finish();if(this.options.trackUserLocation)switch(this._lastKnownPosition=K,this._watchState){case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"BACKGROUND":case"BACKGROUND_ERROR":this._watchState="BACKGROUND",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background")}this.options.showUserLocation&&this._watchState!=="OFF"&&this._updateMarker(K),this.options.trackUserLocation&&this._watchState!=="ACTIVE_LOCK"||this._updateCamera(K),this.options.showUserLocation&&this._dotElement.classList.remove("mapboxgl-user-location-dot-stale"),this.fire(new i.Event("geolocate",K)),this._finish()}},ee.prototype._updateCamera=function(K){var le=new i.LngLat(K.coords.longitude,K.coords.latitude),Te=K.coords.accuracy,De=this._map.getBearing(),He=i.extend({bearing:De},this.options.fitBoundsOptions);this._map.fitBounds(le.toBounds(Te),He,{geolocateSource:!0})},ee.prototype._updateMarker=function(K){if(K){var le=new i.LngLat(K.coords.longitude,K.coords.latitude);this._accuracyCircleMarker.setLngLat(le).addTo(this._map),this._userLocationDotMarker.setLngLat(le).addTo(this._map),this._accuracy=K.coords.accuracy,this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()}else this._userLocationDotMarker.remove(),this._accuracyCircleMarker.remove()},ee.prototype._updateCircleRadius=function(){var K=this._map._container.clientHeight/2,le=this._map.unproject([0,K]),Te=this._map.unproject([1,K]),De=le.distanceTo(Te),He=Math.ceil(2*this._accuracy/De);this._circleElement.style.width=He+"px",this._circleElement.style.height=He+"px"},ee.prototype._onZoom=function(){this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()},ee.prototype._onError=function(K){if(this._map){if(this.options.trackUserLocation)if(K.code===1){this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.disabled=!0;var le=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.title=le,this._geolocateButton.setAttribute("aria-label",le),this._geolocationWatchID!==void 0&&this._clearWatch()}else{if(K.code===3&&ju)return;this._setErrorState()}this._watchState!=="OFF"&&this.options.showUserLocation&&this._dotElement.classList.add("mapboxgl-user-location-dot-stale"),this.fire(new i.Event("error",K)),this._finish()}},ee.prototype._finish=function(){this._timeoutId&&clearTimeout(this._timeoutId),this._timeoutId=void 0},ee.prototype._setupUI=function(K){var le=this;if(this._container.addEventListener("contextmenu",function(He){return He.preventDefault()}),this._geolocateButton=v.create("button","mapboxgl-ctrl-geolocate",this._container),v.create("span","mapboxgl-ctrl-icon",this._geolocateButton).setAttribute("aria-hidden",!0),this._geolocateButton.type="button",K===!1){i.warnOnce("Geolocation support is not available so the GeolocateControl will be disabled.");var Te=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.disabled=!0,this._geolocateButton.title=Te,this._geolocateButton.setAttribute("aria-label",Te)}else{var De=this._map._getUIString("GeolocateControl.FindMyLocation");this._geolocateButton.title=De,this._geolocateButton.setAttribute("aria-label",De)}this.options.trackUserLocation&&(this._geolocateButton.setAttribute("aria-pressed","false"),this._watchState="OFF"),this.options.showUserLocation&&(this._dotElement=v.create("div","mapboxgl-user-location-dot"),this._userLocationDotMarker=new xo(this._dotElement),this._circleElement=v.create("div","mapboxgl-user-location-accuracy-circle"),this._accuracyCircleMarker=new xo({element:this._circleElement,pitchAlignment:"map"}),this.options.trackUserLocation&&(this._watchState="OFF"),this._map.on("zoom",this._onZoom)),this._geolocateButton.addEventListener("click",this.trigger.bind(this)),this._setup=!0,this.options.trackUserLocation&&this._map.on("movestart",function(He){var Ze=He.originalEvent&&He.originalEvent.type==="resize";He.geolocateSource||le._watchState!=="ACTIVE_LOCK"||Ze||(le._watchState="BACKGROUND",le._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background"),le._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),le.fire(new i.Event("trackuserlocationend")))})},ee.prototype.trigger=function(){if(!this._setup)return i.warnOnce("Geolocate control triggered before added to a map"),!1;if(this.options.trackUserLocation){switch(this._watchState){case"OFF":this._watchState="WAITING_ACTIVE",this.fire(new i.Event("trackuserlocationstart"));break;case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":case"BACKGROUND_ERROR":Vo--,ju=!1,this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this.fire(new i.Event("trackuserlocationend"));break;case"BACKGROUND":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._lastKnownPosition&&this._updateCamera(this._lastKnownPosition),this.fire(new i.Event("trackuserlocationstart"))}switch(this._watchState){case"WAITING_ACTIVE":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_LOCK":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"BACKGROUND":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background");break;case"BACKGROUND_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error")}if(this._watchState==="OFF"&&this._geolocationWatchID!==void 0)this._clearWatch();else if(this._geolocationWatchID===void 0){var K;this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","true"),++Vo>1?(K={maximumAge:6e5,timeout:0},ju=!0):(K=this.options.positionOptions,ju=!1),this._geolocationWatchID=i.window.navigator.geolocation.watchPosition(this._onSuccess,this._onError,K)}}else i.window.navigator.geolocation.getCurrentPosition(this._onSuccess,this._onError,this.options.positionOptions),this._timeoutId=setTimeout(this._finish,1e4);return!0},ee.prototype._clearWatch=function(){i.window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0,this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","false"),this.options.showUserLocation&&this._updateMarker(null)},ee}(i.Evented),Ji={maxWidth:100,unit:"metric"},la=function(Y){this.options=i.extend({},Ji,Y),i.bindAll(["_onMove","setUnit"],this)};function Xc(Y,ee,K){var le=K&&K.maxWidth||100,Te=Y._container.clientHeight/2,De=Y.unproject([0,Te]),He=Y.unproject([le,Te]),Ze=De.distanceTo(He);if(K&&K.unit==="imperial"){var at=3.2808*Ze;at>5280?et(ee,le,at/5280,Y._getUIString("ScaleControl.Miles")):et(ee,le,at,Y._getUIString("ScaleControl.Feet"))}else K&&K.unit==="nautical"?et(ee,le,Ze/1852,Y._getUIString("ScaleControl.NauticalMiles")):Ze>=1e3?et(ee,le,Ze/1e3,Y._getUIString("ScaleControl.Kilometers")):et(ee,le,Ze,Y._getUIString("ScaleControl.Meters"))}function et(Y,ee,K,le){var Te,De,He,Ze=(Te=K,(De=Math.pow(10,(""+Math.floor(Te)).length-1))*((He=Te/De)>=10?10:He>=5?5:He>=3?3:He>=2?2:He>=1?1:function(Tt){var At=Math.pow(10,Math.ceil(-Math.log(Tt)/Math.LN10));return Math.round(Tt*At)/At}(He))),at=Ze/K;Y.style.width=ee*at+"px",Y.innerHTML=Ze+" "+le}la.prototype.getDefaultPosition=function(){return"bottom-left"},la.prototype._onMove=function(){Xc(this._map,this._container,this.options)},la.prototype.onAdd=function(Y){return this._map=Y,this._container=v.create("div","mapboxgl-ctrl mapboxgl-ctrl-scale",Y.getContainer()),this._map.on("move",this._onMove),this._onMove(),this._container},la.prototype.onRemove=function(){v.remove(this._container),this._map.off("move",this._onMove),this._map=void 0},la.prototype.setUnit=function(Y){this.options.unit=Y,Xc(this._map,this._container,this.options)};var rt=function(Y){this._fullscreen=!1,Y&&Y.container&&(Y.container instanceof i.window.HTMLElement?this._container=Y.container:i.warnOnce("Full screen control 'container' must be a DOM element.")),i.bindAll(["_onClickFullscreen","_changeIcon"],this),"onfullscreenchange"in i.window.document?this._fullscreenchange="fullscreenchange":"onmozfullscreenchange"in i.window.document?this._fullscreenchange="mozfullscreenchange":"onwebkitfullscreenchange"in i.window.document?this._fullscreenchange="webkitfullscreenchange":"onmsfullscreenchange"in i.window.document&&(this._fullscreenchange="MSFullscreenChange")};rt.prototype.onAdd=function(Y){return this._map=Y,this._container||(this._container=this._map.getContainer()),this._controlContainer=v.create("div","mapboxgl-ctrl mapboxgl-ctrl-group"),this._checkFullscreenSupport()?this._setupUI():(this._controlContainer.style.display="none",i.warnOnce("This device does not support fullscreen mode.")),this._controlContainer},rt.prototype.onRemove=function(){v.remove(this._controlContainer),this._map=null,i.window.document.removeEventListener(this._fullscreenchange,this._changeIcon)},rt.prototype._checkFullscreenSupport=function(){return!!(i.window.document.fullscreenEnabled||i.window.document.mozFullScreenEnabled||i.window.document.msFullscreenEnabled||i.window.document.webkitFullscreenEnabled)},rt.prototype._setupUI=function(){var Y=this._fullscreenButton=v.create("button","mapboxgl-ctrl-fullscreen",this._controlContainer);v.create("span","mapboxgl-ctrl-icon",Y).setAttribute("aria-hidden",!0),Y.type="button",this._updateTitle(),this._fullscreenButton.addEventListener("click",this._onClickFullscreen),i.window.document.addEventListener(this._fullscreenchange,this._changeIcon)},rt.prototype._updateTitle=function(){var Y=this._getTitle();this._fullscreenButton.setAttribute("aria-label",Y),this._fullscreenButton.title=Y},rt.prototype._getTitle=function(){return this._map._getUIString(this._isFullscreen()?"FullscreenControl.Exit":"FullscreenControl.Enter")},rt.prototype._isFullscreen=function(){return this._fullscreen},rt.prototype._changeIcon=function(){(i.window.document.fullscreenElement||i.window.document.mozFullScreenElement||i.window.document.webkitFullscreenElement||i.window.document.msFullscreenElement)===this._container!==this._fullscreen&&(this._fullscreen=!this._fullscreen,this._fullscreenButton.classList.toggle("mapboxgl-ctrl-shrink"),this._fullscreenButton.classList.toggle("mapboxgl-ctrl-fullscreen"),this._updateTitle())},rt.prototype._onClickFullscreen=function(){this._isFullscreen()?i.window.document.exitFullscreen?i.window.document.exitFullscreen():i.window.document.mozCancelFullScreen?i.window.document.mozCancelFullScreen():i.window.document.msExitFullscreen?i.window.document.msExitFullscreen():i.window.document.webkitCancelFullScreen&&i.window.document.webkitCancelFullScreen():this._container.requestFullscreen?this._container.requestFullscreen():this._container.mozRequestFullScreen?this._container.mozRequestFullScreen():this._container.msRequestFullscreen?this._container.msRequestFullscreen():this._container.webkitRequestFullscreen&&this._container.webkitRequestFullscreen()};var ct={closeButton:!0,closeOnClick:!0,className:"",maxWidth:"240px"},vt=function(Y){function ee(K){Y.call(this),this.options=i.extend(Object.create(ct),K),i.bindAll(["_update","_onClose","remove","_onMouseMove","_onMouseUp","_onDrag"],this)}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee.prototype.addTo=function(K){return this._map&&this.remove(),this._map=K,this.options.closeOnClick&&this._map.on("click",this._onClose),this.options.closeOnMove&&this._map.on("move",this._onClose),this._map.on("remove",this.remove),this._update(),this._trackPointer?(this._map.on("mousemove",this._onMouseMove),this._map.on("mouseup",this._onMouseUp),this._container&&this._container.classList.add("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("mapboxgl-track-pointer")):this._map.on("move",this._update),this.fire(new i.Event("open")),this},ee.prototype.isOpen=function(){return!!this._map},ee.prototype.remove=function(){return this._content&&v.remove(this._content),this._container&&(v.remove(this._container),delete this._container),this._map&&(this._map.off("move",this._update),this._map.off("move",this._onClose),this._map.off("click",this._onClose),this._map.off("remove",this.remove),this._map.off("mousemove",this._onMouseMove),this._map.off("mouseup",this._onMouseUp),this._map.off("drag",this._onDrag),delete this._map),this.fire(new i.Event("close")),this},ee.prototype.getLngLat=function(){return this._lngLat},ee.prototype.setLngLat=function(K){return this._lngLat=i.LngLat.convert(K),this._pos=null,this._trackPointer=!1,this._update(),this._map&&(this._map.on("move",this._update),this._map.off("mousemove",this._onMouseMove),this._container&&this._container.classList.remove("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.remove("mapboxgl-track-pointer")),this},ee.prototype.trackPointer=function(){return this._trackPointer=!0,this._pos=null,this._update(),this._map&&(this._map.off("move",this._update),this._map.on("mousemove",this._onMouseMove),this._map.on("drag",this._onDrag),this._container&&this._container.classList.add("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("mapboxgl-track-pointer")),this},ee.prototype.getElement=function(){return this._container},ee.prototype.setText=function(K){return this.setDOMContent(i.window.document.createTextNode(K))},ee.prototype.setHTML=function(K){var le,Te=i.window.document.createDocumentFragment(),De=i.window.document.createElement("body");for(De.innerHTML=K;le=De.firstChild;)Te.appendChild(le);return this.setDOMContent(Te)},ee.prototype.getMaxWidth=function(){return this._container&&this._container.style.maxWidth},ee.prototype.setMaxWidth=function(K){return this.options.maxWidth=K,this._update(),this},ee.prototype.setDOMContent=function(K){return this._createContent(),this._content.appendChild(K),this._update(),this},ee.prototype.addClassName=function(K){this._container&&this._container.classList.add(K)},ee.prototype.removeClassName=function(K){this._container&&this._container.classList.remove(K)},ee.prototype.toggleClassName=function(K){if(this._container)return this._container.classList.toggle(K)},ee.prototype._createContent=function(){this._content&&v.remove(this._content),this._content=v.create("div","mapboxgl-popup-content",this._container),this.options.closeButton&&(this._closeButton=v.create("button","mapboxgl-popup-close-button",this._content),this._closeButton.type="button",this._closeButton.setAttribute("aria-label","Close popup"),this._closeButton.innerHTML="×",this._closeButton.addEventListener("click",this._onClose))},ee.prototype._onMouseUp=function(K){this._update(K.point)},ee.prototype._onMouseMove=function(K){this._update(K.point)},ee.prototype._onDrag=function(K){this._update(K.point)},ee.prototype._update=function(K){var le=this,Te=this._lngLat||this._trackPointer;if(this._map&&Te&&this._content&&(this._container||(this._container=v.create("div","mapboxgl-popup",this._map.getContainer()),this._tip=v.create("div","mapboxgl-popup-tip",this._container),this._container.appendChild(this._content),this.options.className&&this.options.className.split(" ").forEach(function(ve){return le._container.classList.add(ve)}),this._trackPointer&&this._container.classList.add("mapboxgl-popup-track-pointer")),this.options.maxWidth&&this._container.style.maxWidth!==this.options.maxWidth&&(this._container.style.maxWidth=this.options.maxWidth),this._map.transform.renderWorldCopies&&!this._trackPointer&&(this._lngLat=ni(this._lngLat,this._pos,this._map.transform)),!this._trackPointer||K)){var De=this._pos=this._trackPointer&&K?K:this._map.project(this._lngLat),He=this.options.anchor,Ze=St(this.options.offset);if(!He){var at,Tt=this._container.offsetWidth,At=this._container.offsetHeight;at=De.y+Ze.bottom.ythis._map.transform.height-At?["bottom"]:[],De.xthis._map.transform.width-Tt/2&&at.push("right"),He=at.length===0?"bottom":at.join("-")}var se=De.add(Ze[He]).round();v.setTransform(this._container,Vu[He]+" translate("+se.x+"px,"+se.y+"px)"),cl(this._container,He,"popup")}},ee.prototype._onClose=function(){this.remove()},ee}(i.Evented);function St(Y){if(Y){if(typeof Y=="number"){var ee=Math.round(Math.sqrt(.5*Math.pow(Y,2)));return{center:new i.Point(0,0),top:new i.Point(0,Y),"top-left":new i.Point(ee,ee),"top-right":new i.Point(-ee,ee),bottom:new i.Point(0,-Y),"bottom-left":new i.Point(ee,-ee),"bottom-right":new i.Point(-ee,-ee),left:new i.Point(Y,0),right:new i.Point(-Y,0)}}if(Y instanceof i.Point||Array.isArray(Y)){var K=i.Point.convert(Y);return{center:K,top:K,"top-left":K,"top-right":K,bottom:K,"bottom-left":K,"bottom-right":K,left:K,right:K}}return{center:i.Point.convert(Y.center||[0,0]),top:i.Point.convert(Y.top||[0,0]),"top-left":i.Point.convert(Y["top-left"]||[0,0]),"top-right":i.Point.convert(Y["top-right"]||[0,0]),bottom:i.Point.convert(Y.bottom||[0,0]),"bottom-left":i.Point.convert(Y["bottom-left"]||[0,0]),"bottom-right":i.Point.convert(Y["bottom-right"]||[0,0]),left:i.Point.convert(Y.left||[0,0]),right:i.Point.convert(Y.right||[0,0])}}return St(new i.Point(0,0))}var Mt={version:i.version,supported:M,setRTLTextPlugin:i.setRTLTextPlugin,getRTLTextPluginStatus:i.getRTLTextPluginStatus,Map:Dl,NavigationControl:ws,GeolocateControl:hl,AttributionControl:os,ScaleControl:la,FullscreenControl:rt,Popup:vt,Marker:xo,Style:dr,LngLat:i.LngLat,LngLatBounds:i.LngLatBounds,Point:i.Point,MercatorCoordinate:i.MercatorCoordinate,Evented:i.Evented,config:i.config,prewarm:function(){Lt().acquire(ut)},clearPrewarmedResources:function(){var Y=_t;Y&&(Y.isPreloaded()&&Y.numActive()===1?(Y.release(ut),_t=null):console.warn("Could not clear WebWorkers since there are active Map instances that still reference it. The pre-warmed WebWorker pool can only be cleared when all map instances have been removed with map.remove()"))},get accessToken(){return i.config.ACCESS_TOKEN},set accessToken(Y){i.config.ACCESS_TOKEN=Y},get baseApiUrl(){return i.config.API_URL},set baseApiUrl(Y){i.config.API_URL=Y},get workerCount(){return dt.workerCount},set workerCount(Y){dt.workerCount=Y},get maxParallelImageRequests(){return i.config.MAX_PARALLEL_IMAGE_REQUESTS},set maxParallelImageRequests(Y){i.config.MAX_PARALLEL_IMAGE_REQUESTS=Y},clearStorage:function(Y){i.clearTileCache(Y)},workerUrl:""};return Mt}),d}()},27084:function(T){T.exports=Math.log2||function(p){return Math.log(p)*Math.LOG2E}},16825:function(T,p,t){T.exports=function(g,i){i||(i=g,g=window);var M=0,v=0,f=0,l={shift:!1,alt:!1,control:!1,meta:!1},a=!1;function u(k){var E=!1;return"altKey"in k&&(E=E||k.altKey!==l.alt,l.alt=!!k.altKey),"shiftKey"in k&&(E=E||k.shiftKey!==l.shift,l.shift=!!k.shiftKey),"ctrlKey"in k&&(E=E||k.ctrlKey!==l.control,l.control=!!k.ctrlKey),"metaKey"in k&&(E=E||k.metaKey!==l.meta,l.meta=!!k.metaKey),E}function o(k,E){var x=d.x(E),A=d.y(E);"buttons"in E&&(k=0|E.buttons),(k!==M||x!==v||A!==f||u(E))&&(M=0|k,v=x||0,f=A||0,i&&i(M,v,f,l))}function s(k){o(0,k)}function h(){(M||v||f||l.shift||l.alt||l.meta||l.control)&&(v=f=0,M=0,l.shift=l.alt=l.control=l.meta=!1,i&&i(0,0,0,l))}function c(k){u(k)&&i&&i(M,v,f,l)}function m(k){d.buttons(k)===0?o(0,k):o(M,k)}function w(k){o(M|d.buttons(k),k)}function y(k){o(M&~d.buttons(k),k)}function C(){a||(a=!0,g.addEventListener("mousemove",m),g.addEventListener("mousedown",w),g.addEventListener("mouseup",y),g.addEventListener("mouseleave",s),g.addEventListener("mouseenter",s),g.addEventListener("mouseout",s),g.addEventListener("mouseover",s),g.addEventListener("blur",h),g.addEventListener("keyup",c),g.addEventListener("keydown",c),g.addEventListener("keypress",c),g!==window&&(window.addEventListener("blur",h),window.addEventListener("keyup",c),window.addEventListener("keydown",c),window.addEventListener("keypress",c)))}C();var _={element:g};return Object.defineProperties(_,{enabled:{get:function(){return a},set:function(k){k?C():a&&(a=!1,g.removeEventListener("mousemove",m),g.removeEventListener("mousedown",w),g.removeEventListener("mouseup",y),g.removeEventListener("mouseleave",s),g.removeEventListener("mouseenter",s),g.removeEventListener("mouseout",s),g.removeEventListener("mouseover",s),g.removeEventListener("blur",h),g.removeEventListener("keyup",c),g.removeEventListener("keydown",c),g.removeEventListener("keypress",c),g!==window&&(window.removeEventListener("blur",h),window.removeEventListener("keyup",c),window.removeEventListener("keydown",c),window.removeEventListener("keypress",c)))},enumerable:!0},buttons:{get:function(){return M},enumerable:!0},x:{get:function(){return v},enumerable:!0},y:{get:function(){return f},enumerable:!0},mods:{get:function(){return l},enumerable:!0}}),_};var d=t(74311)},48956:function(T){var p={left:0,top:0};T.exports=function(t,d,g){d=d||t.currentTarget||t.srcElement,Array.isArray(g)||(g=[0,0]);var i,M=t.clientX||0,v=t.clientY||0,f=(i=d)===window||i===document||i===document.body?p:i.getBoundingClientRect();return g[0]=M-f.left,g[1]=v-f.top,g}},74311:function(T,p){function t(d){return d.target||d.srcElement||window}p.buttons=function(d){if(typeof d=="object"){if("buttons"in d)return d.buttons;if("which"in d){if((g=d.which)===2)return 4;if(g===3)return 2;if(g>0)return 1<=0)return 1<0&&o(h,L))}catch(b){w.call(new C(L),b)}}}function w(x){var A=this;A.triggered||(A.triggered=!0,A.def&&(A=A.def),A.msg=x,A.state=2,A.chain.length>0&&o(h,A))}function y(x,A,L,b){for(var R=0;R1&&(a*=k=Math.sqrt(k),u*=k);var E=a*a,x=u*u,A=(s==h?-1:1)*Math.sqrt(Math.abs((E*x-E*_*_-x*C*C)/(E*_*_+x*C*C)));A==1/0&&(A=1);var L=A*a*_/u+(f+c)/2,b=A*-u*C/a+(l+m)/2,R=Math.asin(((l-b)/u).toFixed(9)),I=Math.asin(((m-b)/u).toFixed(9));(R=fI&&(R-=2*p),!h&&I>R&&(I-=2*p)}if(Math.abs(I-R)>t){var O=I,z=c,F=m;I=R+t*(h&&I>R?1:-1);var B=i(c=L+a*Math.cos(I),m=b+u*Math.sin(I),a,u,o,0,h,z,F,[I,O,L,b])}var N=Math.tan((I-R)/4),W=4/3*a*N,j=4/3*u*N,$=[2*f-(f+W*Math.sin(R)),2*l-(l-j*Math.cos(R)),c+W*Math.sin(I),m-j*Math.cos(I),c,m];if(w)return $;B&&($=$.concat(B));for(var U=0;U<$.length;){var G=M($[U],$[U+1],o);$[U++]=G.x,$[U++]=G.y}return $}function M(f,l,a){return{x:f*Math.cos(a)-l*Math.sin(a),y:f*Math.sin(a)+l*Math.cos(a)}}function v(f){return f*(p/180)}T.exports=function(f){for(var l,a=[],u=0,o=0,s=0,h=0,c=null,m=null,w=0,y=0,C=0,_=f.length;C<_;C++){var k=f[C],E=k[0];switch(E){case"M":s=k[1],h=k[2];break;case"A":(k=i(w,y,k[1],k[2],v(k[3]),k[4],k[5],k[6],k[7])).unshift("C"),k.length>7&&(a.push(k.splice(0,7)),k.unshift("C"));break;case"S":var x=w,A=y;l!="C"&&l!="S"||(x+=x-u,A+=A-o),k=["C",x,A,k[1],k[2],k[3],k[4]];break;case"T":l=="Q"||l=="T"?(c=2*w-c,m=2*y-m):(c=w,m=y),k=g(w,y,c,m,k[1],k[2]);break;case"Q":c=k[1],m=k[2],k=g(w,y,k[1],k[2],k[3],k[4]);break;case"L":k=d(w,y,k[1],k[2]);break;case"H":k=d(w,y,k[1],y);break;case"V":k=d(w,y,w,k[1]);break;case"Z":k=d(w,y,s,h)}l=E,w=k[k.length-2],y=k[k.length-1],k.length>4?(u=k[k.length-4],o=k[k.length-3]):(u=w,o=y),a.push(k)}return a}},56131:function(T){var p=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;function g(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}T.exports=function(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var M={},v=0;v<10;v++)M["_"+String.fromCharCode(v)]=v;if(Object.getOwnPropertyNames(M).map(function(l){return M[l]}).join("")!=="0123456789")return!1;var f={};return"abcdefghijklmnopqrst".split("").forEach(function(l){f[l]=l}),Object.keys(Object.assign({},f)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}()?Object.assign:function(i,M){for(var v,f,l=g(i),a=1;a"u")return!1;for(var h in window)try{if(!o["$"+h]&&g.call(window,h)&&window[h]!==null&&typeof window[h]=="object")try{u(window[h])}catch{return!0}}catch{return!0}return!1}();d=function(h){var c=h!==null&&typeof h=="object",m=i.call(h)==="[object Function]",w=M(h),y=c&&i.call(h)==="[object String]",C=[];if(!c&&!m&&!w)throw new TypeError("Object.keys called on a non-object");var _=l&&m;if(y&&h.length>0&&!g.call(h,0))for(var k=0;k0)for(var E=0;E"u"||!s)return u(b);try{return u(b)}catch{return!1}}(h),L=0;L=0&&p.call(t.callee)==="[object Function]"),g}},88641:function(T){function p(g,i){if(typeof g!="string")return[g];var M=[g];typeof i=="string"||Array.isArray(i)?i={brackets:i}:i||(i={});var v=i.brackets?Array.isArray(i.brackets)?i.brackets:[i.brackets]:["{}","[]","()"],f=i.escape||"___",l=!!i.flat;v.forEach(function(u){var o=new RegExp(["\\",u[0],"[^\\",u[0],"\\",u[1],"]*\\",u[1]].join("")),s=[];function h(c,m,w){var y=M.push(c.slice(u[0].length,-u[1].length))-1;return s.push(y),f+y+f}M.forEach(function(c,m){for(var w,y=0;c!=w;)if(w=c,c=c.replace(o,h),y++>1e4)throw Error("References have circular dependency. Please, check them.");M[m]=c}),s=s.reverse(),M=M.map(function(c){return s.forEach(function(m){c=c.replace(new RegExp("(\\"+f+m+"\\"+f+")","g"),u[0]+"$1"+u[1])}),c})});var a=new RegExp("\\"+f+"([0-9]+)\\"+f);return l?M:function u(o,s,h){for(var c,m=[],w=0;c=a.exec(o);){if(w++>1e4)throw Error("Circular references in parenthesis");m.push(o.slice(0,c.index)),m.push(u(s[c[1]],s)),o=o.slice(c.index+c[0].length)}return m.push(o),m}(M[0],M)}function t(g,i){if(i&&i.flat){var M,v=i&&i.escape||"___",f=g[0];if(!f)return"";for(var l=new RegExp("\\"+v+"([0-9]+)\\"+v),a=0;f!=M;){if(a++>1e4)throw Error("Circular references in "+g);M=f,f=f.replace(l,u)}return f}return g.reduce(function o(s,h){return Array.isArray(h)&&(h=h.reduce(o,"")),s+h},"");function u(o,s){if(g[s]==null)throw Error("Reference "+s+"is undefined");return g[s]}}function d(g,i){return Array.isArray(g)?t(g,i):p(g,i)}d.parse=p,d.stringify=t,T.exports=d},18863:function(T,p,t){var d=t(71299);T.exports=function(g){var i;return arguments.length>1&&(g=arguments),typeof g=="string"?g=g.split(/\s/).map(parseFloat):typeof g=="number"&&(g=[g]),g.length&&typeof g[0]=="number"?i=g.length===1?{width:g[0],height:g[0],x:0,y:0}:g.length===2?{width:g[0],height:g[1],x:0,y:0}:{x:g[0],y:g[1],width:g[2]-g[0]||0,height:g[3]-g[1]||0}:g&&(i={x:(g=d(g,{left:"x l left Left",top:"y t top Top",width:"w width W Width",height:"h height W Width",bottom:"b bottom Bottom",right:"r right Right"})).left||0,y:g.top||0},g.width==null?g.right?i.width=g.right-i.x:i.width=0:i.width=g.width,g.height==null?g.bottom?i.height=g.bottom-i.y:i.height=0:i.height=g.height),i}},95616:function(T){T.exports=function(g){var i=[];return g.replace(t,function(M,v,f){var l=v.toLowerCase();for(f=function(a){var u=a.match(d);return u?u.map(Number):[]}(f),l=="m"&&f.length>2&&(i.push([v].concat(f.splice(0,2))),l="l",v=v=="m"?"l":"L");;){if(f.length==p[l])return f.unshift(v),i.push(f);if(f.lengthM!=h>M&&i<(s-u)*(M-o)/(h-o)+u&&(v=!v)}return v}},52142:function(T,p,t){var d,g=t(69444),i=t(29023),M=t(87263),v=t(11328),f=t(55968),l=t(10670),a=!1,u=i();function o(s,h,c){var m=d.segments(s),w=d.segments(h),y=c(d.combine(m,w));return d.polygon(y)}d={buildLog:function(s){return s===!0?a=g():s===!1&&(a=!1),a!==!1&&a.list},epsilon:function(s){return u.epsilon(s)},segments:function(s){var h=M(!0,u,a);return s.regions.forEach(h.addRegion),{segments:h.calculate(s.inverted),inverted:s.inverted}},combine:function(s,h){return{combined:M(!1,u,a).calculate(s.segments,s.inverted,h.segments,h.inverted),inverted1:s.inverted,inverted2:h.inverted}},selectUnion:function(s){return{segments:f.union(s.combined,a),inverted:s.inverted1||s.inverted2}},selectIntersect:function(s){return{segments:f.intersect(s.combined,a),inverted:s.inverted1&&s.inverted2}},selectDifference:function(s){return{segments:f.difference(s.combined,a),inverted:s.inverted1&&!s.inverted2}},selectDifferenceRev:function(s){return{segments:f.differenceRev(s.combined,a),inverted:!s.inverted1&&s.inverted2}},selectXor:function(s){return{segments:f.xor(s.combined,a),inverted:s.inverted1!==s.inverted2}},polygon:function(s){return{regions:v(s.segments,u,a),inverted:s.inverted}},polygonFromGeoJSON:function(s){return l.toPolygon(d,s)},polygonToGeoJSON:function(s){return l.fromPolygon(d,u,s)},union:function(s,h){return o(s,h,d.selectUnion)},intersect:function(s,h){return o(s,h,d.selectIntersect)},difference:function(s,h){return o(s,h,d.selectDifference)},differenceRev:function(s,h){return o(s,h,d.selectDifferenceRev)},xor:function(s,h){return o(s,h,d.selectXor)}},typeof window=="object"&&(window.PolyBool=d),T.exports=d},69444:function(T){T.exports=function(){var p,t=0,d=!1;function g(i,M){return p.list.push({type:i,data:M?JSON.parse(JSON.stringify(M)):void 0}),p}return p={list:[],segmentId:function(){return t++},checkIntersection:function(i,M){return g("check",{seg1:i,seg2:M})},segmentChop:function(i,M){return g("div_seg",{seg:i,pt:M}),g("chop",{seg:i,pt:M})},statusRemove:function(i){return g("pop_seg",{seg:i})},segmentUpdate:function(i){return g("seg_update",{seg:i})},segmentNew:function(i,M){return g("new_seg",{seg:i,primary:M})},segmentRemove:function(i){return g("rem_seg",{seg:i})},tempStatus:function(i,M,v){return g("temp_status",{seg:i,above:M,below:v})},rewind:function(i){return g("rewind",{seg:i})},status:function(i,M,v){return g("status",{seg:i,above:M,below:v})},vert:function(i){return i===d?p:(d=i,g("vert",{x:i}))},log:function(i){return typeof i!="string"&&(i=JSON.stringify(i,!1," ")),g("log",{txt:i})},reset:function(){return g("reset")},selected:function(i){return g("selected",{segs:i})},chainStart:function(i){return g("chain_start",{seg:i})},chainRemoveHead:function(i,M){return g("chain_rem_head",{index:i,pt:M})},chainRemoveTail:function(i,M){return g("chain_rem_tail",{index:i,pt:M})},chainNew:function(i,M){return g("chain_new",{pt1:i,pt2:M})},chainMatch:function(i){return g("chain_match",{index:i})},chainClose:function(i){return g("chain_close",{index:i})},chainAddHead:function(i,M){return g("chain_add_head",{index:i,pt:M})},chainAddTail:function(i,M){return g("chain_add_tail",{index:i,pt:M})},chainConnect:function(i,M){return g("chain_con",{index1:i,index2:M})},chainReverse:function(i){return g("chain_rev",{index:i})},chainJoin:function(i,M){return g("chain_join",{index1:i,index2:M})},done:function(){return g("done")}}}},29023:function(T){T.exports=function(p){typeof p!="number"&&(p=1e-10);var t={epsilon:function(d){return typeof d=="number"&&(p=d),p},pointAboveOrOnLine:function(d,g,i){var M=g[0],v=g[1],f=i[0],l=i[1],a=d[0];return(f-M)*(d[1]-v)-(l-v)*(a-M)>=-p},pointBetween:function(d,g,i){var M=d[1]-g[1],v=i[0]-g[0],f=d[0]-g[0],l=i[1]-g[1],a=f*v+M*l;return!(a-p)},pointsSameX:function(d,g){return Math.abs(d[0]-g[0])p!=f-M>p&&(v-u)*(M-o)/(f-o)+u-i>p&&(l=!l),v=u,f=o}return l}};return t}},10670:function(T){var p={toPolygon:function(t,d){function g(v){if(v.length<=0)return t.segments({inverted:!1,regions:[]});function f(u){var o=u.slice(0,u.length-1);return t.segments({inverted:!1,regions:[o]})}for(var l=f(v[0]),a=1;a0})}function w(O,z){var F=O.seg,B=z.seg,N=F.start,W=F.end,j=B.start,$=B.end;M&&M.checkIntersection(F,B);var U=i.linesIntersect(N,W,j,$);if(U===!1){if(!i.pointsCollinear(N,W,j)||i.pointsSame(N,$)||i.pointsSame(W,j))return!1;var G=i.pointsSame(N,j),q=i.pointsSame(W,$);if(G&&q)return z;var H=!G&&i.pointBetween(N,j,$),ne=!q&&i.pointBetween(W,j,$);if(G)return ne?u(z,W):u(O,$),z;H&&(q||(ne?u(z,W):u(O,$)),u(z,N))}else U.alongA===0&&(U.alongB===-1?u(O,j):U.alongB===0?u(O,U.pt):U.alongB===1&&u(O,$)),U.alongB===0&&(U.alongA===-1?u(z,N):U.alongA===0?u(z,U.pt):U.alongA===1&&u(z,W));return!1}for(var y=[];!f.isEmpty();){var C=f.getHead();if(M&&M.vert(C.pt[0]),C.isStart){let O=function(){if(k){var z=w(C,k);if(z)return z}return!!E&&w(C,E)};var I=O;M&&M.segmentNew(C.seg,C.primary);var _=m(C),k=_.before?_.before.ev:null,E=_.after?_.after.ev:null;M&&M.tempStatus(C.seg,!!k&&k.seg,!!E&&E.seg);var x,A,L=O();if(L&&(g?(A=C.seg.myFill.below===null||C.seg.myFill.above!==C.seg.myFill.below)&&(L.seg.myFill.above=!L.seg.myFill.above):L.seg.otherFill=C.seg.myFill,M&&M.segmentUpdate(L.seg),C.other.remove(),C.remove()),f.getHead()!==C){M&&M.rewind(C.seg);continue}g?(A=C.seg.myFill.below===null||C.seg.myFill.above!==C.seg.myFill.below,C.seg.myFill.below=E?E.seg.myFill.above:s,C.seg.myFill.above=A?!C.seg.myFill.below:C.seg.myFill.below):C.seg.otherFill===null&&(x=E?C.primary===E.primary?E.seg.otherFill.above:E.seg.myFill.above:C.primary?h:s,C.seg.otherFill={above:x,below:x}),M&&M.status(C.seg,!!k&&k.seg,!!E&&E.seg),C.other.status=_.insert(d.node({ev:C}))}else{var b=C.status;if(b===null)throw new Error("PolyBool: Zero-length segment detected; your epsilon is probably too small or too large");if(c.exists(b.prev)&&c.exists(b.next)&&w(b.prev.ev,b.next.ev),M&&M.statusRemove(b.ev.seg),b.remove(),!C.primary){var R=C.seg.myFill;C.seg.myFill=C.seg.otherFill,C.seg.otherFill=R}y.push(C.seg)}f.getHead().remove()}return M&&M.done(),y}return g?{addRegion:function(s){for(var h,c,m,w=s[s.length-1],y=0;y0&&!this.aborted;){var M=this.ifds_to_read.shift();M.offset&&this.scan_ifd(M.id,M.offset,g)}},d.prototype.read_uint16=function(g){var i=this.input;if(g+2>i.length)throw p("unexpected EOF","EBADDATA");return this.big_endian?256*i[g]+i[g+1]:i[g]+256*i[g+1]},d.prototype.read_uint32=function(g){var i=this.input;if(g+4>i.length)throw p("unexpected EOF","EBADDATA");return this.big_endian?16777216*i[g]+65536*i[g+1]+256*i[g+2]+i[g+3]:i[g]+256*i[g+1]+65536*i[g+2]+16777216*i[g+3]},d.prototype.is_subifd_link=function(g,i){return g===0&&i===34665||g===0&&i===34853||g===34665&&i===40965},d.prototype.exif_format_length=function(g){switch(g){case 1:case 2:case 6:case 7:return 1;case 3:case 8:return 2;case 4:case 9:case 11:return 4;case 5:case 10:case 12:return 8;default:return 0}},d.prototype.exif_format_read=function(g,i){var M;switch(g){case 1:case 2:return this.input[i];case 6:return(M=this.input[i])|33554430*(128&M);case 3:return this.read_uint16(i);case 8:return(M=this.read_uint16(i))|131070*(32768&M);case 4:return this.read_uint32(i);case 9:return 0|this.read_uint32(i);default:return null}},d.prototype.scan_ifd=function(g,i,M){var v=this.read_uint16(i);i+=2;for(var f=0;fthis.input.length)throw p("unexpected EOF","EBADDATA");for(var m=[],w=h,y=0;y0&&(this.ifds_to_read.push({id:l,offset:m[0]}),c=!0),M({is_big_endian:this.big_endian,ifd:g,tag:l,format:a,count:u,entry_offset:i+this.start,data_length:s,data_offset:h+this.start,value:m,is_subifd_link:c})===!1)return void(this.aborted=!0);i+=12}g===0&&this.ifds_to_read.push({id:1,offset:this.read_uint32(i)})},T.exports.ExifParser=d,T.exports.get_orientation=function(g){var i=0;try{return new d(g,0,g.length).each(function(M){if(M.ifd===0&&M.tag===274&&Array.isArray(M.value))return i=M.value[0],!1}),i}catch{return-1}}},76767:function(T,p,t){var d=t(14847).n8,g=t(14847).Ag;function i(u,o){if(u.length<4+o)return null;var s=g(u,o);return u.length>4&15,h=15&u[4],c=u[5]>>4&15,m=d(u,6),w=8,y=0;y_.width||C.width===_.width&&C.height>_.height?C:_}),c=s.reduce(function(C,_){return C.height>_.height||C.height===_.height&&C.width>_.width?C:_}),h.width>c.height||h.width===c.height&&h.height>c.width?h:c),w=1;o.transforms.forEach(function(C){var _={1:6,2:5,3:8,4:7,5:4,6:3,7:2,8:1},k={1:4,2:3,3:2,4:1,5:6,6:5,7:8,8:7};if(C.type==="imir"&&(w=C.value===0?k[w]:_[w=_[w=k[w]]]),C.type==="irot")for(var E=0;E1&&(m.variants=c.variants),c.orientation&&(m.orientation=c.orientation),c.exif_location&&c.exif_location.offset+c.exif_location.length<=l.length){var w=i(l,c.exif_location.offset),y=l.slice(c.exif_location.offset+w+4,c.exif_location.offset+c.exif_location.length),C=v.get_orientation(y);C>0&&(m.orientation=C)}return m}}}}}}},2504:function(T,p,t){var d=t(14847).eG,g=t(14847).OF,i=t(14847).mP,M=d("BM");T.exports=function(v){if(!(v.length<26)&&g(v,0,M))return{width:i(v,18),height:i(v,22),type:"bmp",mime:"image/bmp",wUnits:"px",hUnits:"px"}}},47342:function(T,p,t){var d=t(14847).eG,g=t(14847).OF,i=t(14847).mP,M=d("GIF87a"),v=d("GIF89a");T.exports=function(f){if(!(f.length<10)&&(g(f,0,M)||g(f,0,v)))return{width:i(f,6),height:i(f,8),type:"gif",mime:"image/gif",wUnits:"px",hUnits:"px"}}},31355:function(T,p,t){var d=t(14847).mP;T.exports=function(g){var i=d(g,0),M=d(g,2),v=d(g,4);if(i===0&&M===1&&v){for(var f=[],l={width:0,height:0},a=0;al.width||o>l.height)&&(l=s)}return{width:l.width,height:l.height,variants:f,type:"ico",mime:"image/x-icon",wUnits:"px",hUnits:"px"}}}},54261:function(T,p,t){var d=t(14847).n8,g=t(14847).eG,i=t(14847).OF,M=t(71371),v=g("Exif\0\0");T.exports=function(f){if(!(f.length<2)&&f[0]===255&&f[1]===216&&f[2]===255)for(var l=2;;){for(;;){if(f.length-l<2)return;if(f[l++]===255)break}for(var a,u,o=f[l++];o===255;)o=f[l++];if(208<=o&&o<=217||o===1)a=0;else{if(!(192<=o&&o<=254)||f.length-l<2)return;a=d(f,l)-2,l+=2}if(o===217||o===218)return;if(o===225&&a>=10&&i(f,l,v)&&(u=M.get_orientation(f.slice(l+6,l+a))),a>=5&&192<=o&&o<=207&&o!==196&&o!==200&&o!==204){if(f.length-l0&&(s.orientation=u),s}l+=a}}},6303:function(T,p,t){var d=t(14847).eG,g=t(14847).OF,i=t(14847).Ag,M=d(`‰PNG\r - -`),v=d("IHDR");T.exports=function(f){if(!(f.length<24)&&g(f,0,M)&&g(f,12,v))return{width:i(f,16),height:i(f,20),type:"png",mime:"image/png",wUnits:"px",hUnits:"px"}}},38689:function(T,p,t){var d=t(14847).eG,g=t(14847).OF,i=t(14847).Ag,M=d("8BPS\0");T.exports=function(v){if(!(v.length<22)&&g(v,0,M))return{width:i(v,18),height:i(v,14),type:"psd",mime:"image/vnd.adobe.photoshop",wUnits:"px",hUnits:"px"}}},6881:function(T){function p(l){return typeof l=="number"&&isFinite(l)&&l>0}var t=/<[-_.:a-zA-Z0-9][^>]*>/,d=/^<([-_.:a-zA-Z0-9]+:)?svg\s/,g=/[^-]\bwidth="([^%]+?)"|[^-]\bwidth='([^%]+?)'/,i=/\bheight="([^%]+?)"|\bheight='([^%]+?)'/,M=/\bview[bB]ox="(.+?)"|\bview[bB]ox='(.+?)'/,v=/in$|mm$|cm$|pt$|pc$|px$|em$|ex$/;function f(l){return v.test(l)?l.match(v)[0]:"px"}T.exports=function(l){if(function(k){var E,x=0,A=k.length;for(k[0]===239&&k[1]===187&&k[2]===191&&(x=3);x>14&16383),type:"webp",mime:"image/webp",wUnits:"px",hUnits:"px"}}}function o(s,h){return{width:1+(s[h+6]<<16|s[h+5]<<8|s[h+4]),height:1+(s[h+9]<s.length)){for(;h+8=10?c=c||a(s,h+8):y==="VP8L"&&C>=9?c=c||u(s,h+8):y==="VP8X"&&C>=10?c=c||o(s,h+8):y==="EXIF"&&(m=v.get_orientation(s.slice(h+8,h+8+C)),h=1/0),h+=8+C}else h++;if(c)return m>0&&(c.orientation=m),c}}}},91497:function(T,p,t){T.exports={avif:t(24461),bmp:t(2504),gif:t(47342),ico:t(31355),jpeg:t(54261),png:t(6303),psd:t(38689),svg:t(6881),tiff:t(66278),webp:t(90784)}},33575:function(T,p,t){var d=t(91497);T.exports=function(g){return function(i){for(var M=Object.keys(d),v=0;v1)for(var w=1;w"u"?t.g:window,i=["moz","webkit"],M="AnimationFrame",v=g["request"+M],f=g["cancel"+M]||g["cancelRequest"+M],l=0;!v&&l>16,Ze>>16],u_pixel_coord_lower:[65535&He,65535&Ze]}}Es.prototype.draw=function(Y,ee,K,le,Te,De,He,Ze,at,Tt,At,se,ve,Ie,Fe,Ue){var We,Xe=Y.gl;if(!this.failedToCreate){for(var tt in Y.program.set(this.program),Y.setDepthMode(K),Y.setStencilMode(le),Y.setColorMode(Te),Y.setCullFace(De),this.fixedUniforms)this.fixedUniforms[tt].set(He[tt]);Ie&&Ie.setUniforms(Y,this.binderUniforms,se,{zoom:ve});for(var lt=(We={},We[Xe.LINES]=2,We[Xe.TRIANGLES]=3,We[Xe.LINE_STRIP]=1,We)[ee],mt=0,zt=At.get();mt0?1-1/(1.001-He):-He),u_contrast_factor:(De=Te.paint.get("raster-contrast"),De>0?1/(1-De):1+De),u_spin_weights:Ql(Te.paint.get("raster-hue-rotate"))};var De,He};function Ql(Y){Y*=Math.PI/180;var ee=Math.sin(Y),K=Math.cos(Y);return[(2*K+1)/3,(-Math.sqrt(3)*ee-K+1)/3,(Math.sqrt(3)*ee-K+1)/3]}var al,Hi=function(Y,ee,K,le,Te,De,He,Ze,at,Tt){var At=Te.transform;return{u_is_size_zoom_constant:+(Y==="constant"||Y==="source"),u_is_size_feature_constant:+(Y==="constant"||Y==="camera"),u_size_t:ee?ee.uSizeT:0,u_size:ee?ee.uSize:0,u_camera_to_center_distance:At.cameraToCenterDistance,u_pitch:At.pitch/360*2*Math.PI,u_rotate_symbol:+K,u_aspect_ratio:At.width/At.height,u_fade_change:Te.options.fadeDuration?Te.symbolFadeChange:1,u_matrix:De,u_label_plane_matrix:He,u_coord_matrix:Ze,u_is_text:+at,u_pitch_with_map:+le,u_texsize:Tt,u_texture:0}},Cl=function(Y,ee,K,le,Te,De,He,Ze,at,Tt,At){var se=Te.transform;return i.extend(Hi(Y,ee,K,le,Te,De,He,Ze,at,Tt),{u_gamma_scale:le?Math.cos(se._pitch)*se.cameraToCenterDistance:1,u_device_pixel_ratio:i.browser.devicePixelRatio,u_is_halo:+At})},ad=function(Y,ee,K,le,Te,De,He,Ze,at,Tt){return i.extend(Cl(Y,ee,K,le,Te,De,He,Ze,!0,at,!0),{u_texsize_icon:Tt,u_texture_icon:1})},Uc=function(Y,ee,K){return{u_matrix:Y,u_opacity:ee,u_color:K}},dc=function(Y,ee,K,le,Te,De){return i.extend(function(He,Ze,at,Tt){var At=at.imageManager.getPattern(He.from.toString()),se=at.imageManager.getPattern(He.to.toString()),ve=at.imageManager.getPixelSize(),Ie=ve.width,Fe=ve.height,Ue=Math.pow(2,Tt.tileID.overscaledZ),We=Tt.tileSize*Math.pow(2,at.transform.tileZoom)/Ue,Xe=We*(Tt.tileID.canonical.x+Tt.tileID.wrap*Ue),tt=We*Tt.tileID.canonical.y;return{u_image:0,u_pattern_tl_a:At.tl,u_pattern_br_a:At.br,u_pattern_tl_b:se.tl,u_pattern_br_b:se.br,u_texsize:[Ie,Fe],u_mix:Ze.t,u_pattern_size_a:At.displaySize,u_pattern_size_b:se.displaySize,u_scale_a:Ze.fromScale,u_scale_b:Ze.toScale,u_tile_units_to_pixels:1/vr(Tt,1,at.transform.tileZoom),u_pixel_coord_upper:[Xe>>16,tt>>16],u_pixel_coord_lower:[65535&Xe,65535&tt]}}(le,De,K,Te),{u_matrix:Y,u_opacity:ee})},eu={fillExtrusion:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_lightpos:new i.Uniform3f(Y,ee.u_lightpos),u_lightintensity:new i.Uniform1f(Y,ee.u_lightintensity),u_lightcolor:new i.Uniform3f(Y,ee.u_lightcolor),u_vertical_gradient:new i.Uniform1f(Y,ee.u_vertical_gradient),u_opacity:new i.Uniform1f(Y,ee.u_opacity)}},fillExtrusionPattern:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_lightpos:new i.Uniform3f(Y,ee.u_lightpos),u_lightintensity:new i.Uniform1f(Y,ee.u_lightintensity),u_lightcolor:new i.Uniform3f(Y,ee.u_lightcolor),u_vertical_gradient:new i.Uniform1f(Y,ee.u_vertical_gradient),u_height_factor:new i.Uniform1f(Y,ee.u_height_factor),u_image:new i.Uniform1i(Y,ee.u_image),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_pixel_coord_upper:new i.Uniform2f(Y,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f(Y,ee.u_pixel_coord_lower),u_scale:new i.Uniform3f(Y,ee.u_scale),u_fade:new i.Uniform1f(Y,ee.u_fade),u_opacity:new i.Uniform1f(Y,ee.u_opacity)}},fill:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix)}},fillPattern:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_image:new i.Uniform1i(Y,ee.u_image),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_pixel_coord_upper:new i.Uniform2f(Y,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f(Y,ee.u_pixel_coord_lower),u_scale:new i.Uniform3f(Y,ee.u_scale),u_fade:new i.Uniform1f(Y,ee.u_fade)}},fillOutline:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_world:new i.Uniform2f(Y,ee.u_world)}},fillOutlinePattern:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_world:new i.Uniform2f(Y,ee.u_world),u_image:new i.Uniform1i(Y,ee.u_image),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_pixel_coord_upper:new i.Uniform2f(Y,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f(Y,ee.u_pixel_coord_lower),u_scale:new i.Uniform3f(Y,ee.u_scale),u_fade:new i.Uniform1f(Y,ee.u_fade)}},circle:function(Y,ee){return{u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_scale_with_map:new i.Uniform1i(Y,ee.u_scale_with_map),u_pitch_with_map:new i.Uniform1i(Y,ee.u_pitch_with_map),u_extrude_scale:new i.Uniform2f(Y,ee.u_extrude_scale),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix)}},collisionBox:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_pixels_to_tile_units:new i.Uniform1f(Y,ee.u_pixels_to_tile_units),u_extrude_scale:new i.Uniform2f(Y,ee.u_extrude_scale),u_overscale_factor:new i.Uniform1f(Y,ee.u_overscale_factor)}},collisionCircle:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_inv_matrix:new i.UniformMatrix4f(Y,ee.u_inv_matrix),u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_viewport_size:new i.Uniform2f(Y,ee.u_viewport_size)}},debug:function(Y,ee){return{u_color:new i.UniformColor(Y,ee.u_color),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_overlay:new i.Uniform1i(Y,ee.u_overlay),u_overlay_scale:new i.Uniform1f(Y,ee.u_overlay_scale)}},clippingMask:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix)}},heatmap:function(Y,ee){return{u_extrude_scale:new i.Uniform1f(Y,ee.u_extrude_scale),u_intensity:new i.Uniform1f(Y,ee.u_intensity),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix)}},heatmapTexture:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_world:new i.Uniform2f(Y,ee.u_world),u_image:new i.Uniform1i(Y,ee.u_image),u_color_ramp:new i.Uniform1i(Y,ee.u_color_ramp),u_opacity:new i.Uniform1f(Y,ee.u_opacity)}},hillshade:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_image:new i.Uniform1i(Y,ee.u_image),u_latrange:new i.Uniform2f(Y,ee.u_latrange),u_light:new i.Uniform2f(Y,ee.u_light),u_shadow:new i.UniformColor(Y,ee.u_shadow),u_highlight:new i.UniformColor(Y,ee.u_highlight),u_accent:new i.UniformColor(Y,ee.u_accent)}},hillshadePrepare:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_image:new i.Uniform1i(Y,ee.u_image),u_dimension:new i.Uniform2f(Y,ee.u_dimension),u_zoom:new i.Uniform1f(Y,ee.u_zoom),u_maxzoom:new i.Uniform1f(Y,ee.u_maxzoom),u_unpack:new i.Uniform4f(Y,ee.u_unpack)}},line:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_ratio:new i.Uniform1f(Y,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_units_to_pixels:new i.Uniform2f(Y,ee.u_units_to_pixels)}},lineGradient:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_ratio:new i.Uniform1f(Y,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_units_to_pixels:new i.Uniform2f(Y,ee.u_units_to_pixels),u_image:new i.Uniform1i(Y,ee.u_image)}},linePattern:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_ratio:new i.Uniform1f(Y,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_image:new i.Uniform1i(Y,ee.u_image),u_units_to_pixels:new i.Uniform2f(Y,ee.u_units_to_pixels),u_scale:new i.Uniform3f(Y,ee.u_scale),u_fade:new i.Uniform1f(Y,ee.u_fade)}},lineSDF:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_ratio:new i.Uniform1f(Y,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_units_to_pixels:new i.Uniform2f(Y,ee.u_units_to_pixels),u_patternscale_a:new i.Uniform2f(Y,ee.u_patternscale_a),u_patternscale_b:new i.Uniform2f(Y,ee.u_patternscale_b),u_sdfgamma:new i.Uniform1f(Y,ee.u_sdfgamma),u_image:new i.Uniform1i(Y,ee.u_image),u_tex_y_a:new i.Uniform1f(Y,ee.u_tex_y_a),u_tex_y_b:new i.Uniform1f(Y,ee.u_tex_y_b),u_mix:new i.Uniform1f(Y,ee.u_mix)}},raster:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_tl_parent:new i.Uniform2f(Y,ee.u_tl_parent),u_scale_parent:new i.Uniform1f(Y,ee.u_scale_parent),u_buffer_scale:new i.Uniform1f(Y,ee.u_buffer_scale),u_fade_t:new i.Uniform1f(Y,ee.u_fade_t),u_opacity:new i.Uniform1f(Y,ee.u_opacity),u_image0:new i.Uniform1i(Y,ee.u_image0),u_image1:new i.Uniform1i(Y,ee.u_image1),u_brightness_low:new i.Uniform1f(Y,ee.u_brightness_low),u_brightness_high:new i.Uniform1f(Y,ee.u_brightness_high),u_saturation_factor:new i.Uniform1f(Y,ee.u_saturation_factor),u_contrast_factor:new i.Uniform1f(Y,ee.u_contrast_factor),u_spin_weights:new i.Uniform3f(Y,ee.u_spin_weights)}},symbolIcon:function(Y,ee){return{u_is_size_zoom_constant:new i.Uniform1i(Y,ee.u_is_size_zoom_constant),u_is_size_feature_constant:new i.Uniform1i(Y,ee.u_is_size_feature_constant),u_size_t:new i.Uniform1f(Y,ee.u_size_t),u_size:new i.Uniform1f(Y,ee.u_size),u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_pitch:new i.Uniform1f(Y,ee.u_pitch),u_rotate_symbol:new i.Uniform1i(Y,ee.u_rotate_symbol),u_aspect_ratio:new i.Uniform1f(Y,ee.u_aspect_ratio),u_fade_change:new i.Uniform1f(Y,ee.u_fade_change),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_label_plane_matrix:new i.UniformMatrix4f(Y,ee.u_label_plane_matrix),u_coord_matrix:new i.UniformMatrix4f(Y,ee.u_coord_matrix),u_is_text:new i.Uniform1i(Y,ee.u_is_text),u_pitch_with_map:new i.Uniform1i(Y,ee.u_pitch_with_map),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_texture:new i.Uniform1i(Y,ee.u_texture)}},symbolSDF:function(Y,ee){return{u_is_size_zoom_constant:new i.Uniform1i(Y,ee.u_is_size_zoom_constant),u_is_size_feature_constant:new i.Uniform1i(Y,ee.u_is_size_feature_constant),u_size_t:new i.Uniform1f(Y,ee.u_size_t),u_size:new i.Uniform1f(Y,ee.u_size),u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_pitch:new i.Uniform1f(Y,ee.u_pitch),u_rotate_symbol:new i.Uniform1i(Y,ee.u_rotate_symbol),u_aspect_ratio:new i.Uniform1f(Y,ee.u_aspect_ratio),u_fade_change:new i.Uniform1f(Y,ee.u_fade_change),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_label_plane_matrix:new i.UniformMatrix4f(Y,ee.u_label_plane_matrix),u_coord_matrix:new i.UniformMatrix4f(Y,ee.u_coord_matrix),u_is_text:new i.Uniform1i(Y,ee.u_is_text),u_pitch_with_map:new i.Uniform1i(Y,ee.u_pitch_with_map),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_texture:new i.Uniform1i(Y,ee.u_texture),u_gamma_scale:new i.Uniform1f(Y,ee.u_gamma_scale),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_is_halo:new i.Uniform1i(Y,ee.u_is_halo)}},symbolTextAndIcon:function(Y,ee){return{u_is_size_zoom_constant:new i.Uniform1i(Y,ee.u_is_size_zoom_constant),u_is_size_feature_constant:new i.Uniform1i(Y,ee.u_is_size_feature_constant),u_size_t:new i.Uniform1f(Y,ee.u_size_t),u_size:new i.Uniform1f(Y,ee.u_size),u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_pitch:new i.Uniform1f(Y,ee.u_pitch),u_rotate_symbol:new i.Uniform1i(Y,ee.u_rotate_symbol),u_aspect_ratio:new i.Uniform1f(Y,ee.u_aspect_ratio),u_fade_change:new i.Uniform1f(Y,ee.u_fade_change),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_label_plane_matrix:new i.UniformMatrix4f(Y,ee.u_label_plane_matrix),u_coord_matrix:new i.UniformMatrix4f(Y,ee.u_coord_matrix),u_is_text:new i.Uniform1i(Y,ee.u_is_text),u_pitch_with_map:new i.Uniform1i(Y,ee.u_pitch_with_map),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_texsize_icon:new i.Uniform2f(Y,ee.u_texsize_icon),u_texture:new i.Uniform1i(Y,ee.u_texture),u_texture_icon:new i.Uniform1i(Y,ee.u_texture_icon),u_gamma_scale:new i.Uniform1f(Y,ee.u_gamma_scale),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_is_halo:new i.Uniform1i(Y,ee.u_is_halo)}},background:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_opacity:new i.Uniform1f(Y,ee.u_opacity),u_color:new i.UniformColor(Y,ee.u_color)}},backgroundPattern:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_opacity:new i.Uniform1f(Y,ee.u_opacity),u_image:new i.Uniform1i(Y,ee.u_image),u_pattern_tl_a:new i.Uniform2f(Y,ee.u_pattern_tl_a),u_pattern_br_a:new i.Uniform2f(Y,ee.u_pattern_br_a),u_pattern_tl_b:new i.Uniform2f(Y,ee.u_pattern_tl_b),u_pattern_br_b:new i.Uniform2f(Y,ee.u_pattern_br_b),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_mix:new i.Uniform1f(Y,ee.u_mix),u_pattern_size_a:new i.Uniform2f(Y,ee.u_pattern_size_a),u_pattern_size_b:new i.Uniform2f(Y,ee.u_pattern_size_b),u_scale_a:new i.Uniform1f(Y,ee.u_scale_a),u_scale_b:new i.Uniform1f(Y,ee.u_scale_b),u_pixel_coord_upper:new i.Uniform2f(Y,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f(Y,ee.u_pixel_coord_lower),u_tile_units_to_pixels:new i.Uniform1f(Y,ee.u_tile_units_to_pixels)}}};function Ru(Y,ee,K,le,Te,De,He){for(var Ze=Y.context,at=Ze.gl,Tt=Y.useProgram("collisionBox"),At=[],se=0,ve=0,Ie=0;Ie0){var mt=i.create(),zt=Xe;i.mul(mt,We.placementInvProjMatrix,Y.transform.glCoordMatrix),i.mul(mt,mt,We.placementViewportMatrix),At.push({circleArray:lt,circleOffset:ve,transform:zt,invTransform:mt}),ve=se+=lt.length/4}tt&&Tt.draw(Ze,at.LINES,qt.disabled,Ke.disabled,Y.colorModeForRenderPass(),qe.disabled,xf(Xe,Y.transform,Ue),K.id,tt.layoutVertexBuffer,tt.indexBuffer,tt.segments,null,Y.transform.zoom,null,null,tt.collisionVertexBuffer)}}if(He&&At.length){var Ut=Y.useProgram("collisionCircle"),Ht=new i.StructArrayLayout2f1f2i16;Ht.resize(4*se),Ht._trim();for(var en=0,vn=0,tn=At;vn=0&&(Fe[We.associatedIconIndex]={shiftedAnchor:tn,angle:ln})}else rr(We.numGlyphs,ve)}if(At){Ie.clear();for(var Cn=Y.icon.placedSymbolArray,_n=0;_n0){var He=i.browser.now(),Ze=(He-Y.timeAdded)/De,at=ee?(He-ee.timeAdded)/De:-1,Tt=K.getSource(),At=Te.coveringZoomLevel({tileSize:Tt.tileSize,roundZoom:Tt.roundZoom}),se=!ee||Math.abs(ee.tileID.overscaledZ-At)>Math.abs(Y.tileID.overscaledZ-At),ve=se&&Y.refreshedUponExpiration?1:i.clamp(se?Ze:1-at,0,1);return Y.refreshedUponExpiration&&Ze>=1&&(Y.refreshedUponExpiration=!1),ee?{opacity:1,mix:1-ve}:{opacity:ve,mix:0}}return{opacity:1,mix:0}}var yc=new i.Color(1,0,0,1),bc=new i.Color(0,1,0,1),Rh=new i.Color(0,0,1,1),El=new i.Color(1,0,1,1),Hc=new i.Color(0,1,1,1);function xc(Y){var ee=Y.transform.padding;Ph(Y,Y.transform.height-(ee.top||0),3,yc),Ph(Y,ee.bottom||0,3,bc),_c(Y,ee.left||0,3,Rh),_c(Y,Y.transform.width-(ee.right||0),3,El);var K=Y.transform.centerPoint;(function(le,Te,De,He){var Ze=20,at=2;Du(le,Te-at/2,De-Ze/2,at,Ze,He),Du(le,Te-Ze/2,De-at/2,Ze,at,He)})(Y,K.x,Y.transform.height-K.y,Hc)}function Ph(Y,ee,K,le){Du(Y,0,ee+K/2,Y.transform.width,K,le)}function _c(Y,ee,K,le){Du(Y,ee-K/2,0,K,Y.transform.height,le)}function Du(Y,ee,K,le,Te,De){var He=Y.context,Ze=He.gl;Ze.enable(Ze.SCISSOR_TEST),Ze.scissor(ee*i.browser.devicePixelRatio,K*i.browser.devicePixelRatio,le*i.browser.devicePixelRatio,Te*i.browser.devicePixelRatio),He.clear({color:De}),Ze.disable(Ze.SCISSOR_TEST)}function ru(Y,ee,K){var le=Y.context,Te=le.gl,De=K.posMatrix,He=Y.useProgram("debug"),Ze=qt.disabled,at=Ke.disabled,Tt=Y.colorModeForRenderPass(),At="$debug";le.activeTexture.set(Te.TEXTURE0),Y.emptyTexture.bind(Te.LINEAR,Te.CLAMP_TO_EDGE),He.draw(le,Te.LINE_STRIP,Ze,at,Tt,qe.disabled,nl(De,i.Color.red),At,Y.debugBuffer,Y.tileBorderIndexBuffer,Y.debugSegments);var se=ee.getTileByID(K.key).latestRawTileData,ve=se&&se.byteLength||0,Ie=Math.floor(ve/1024),Fe=ee.getTile(K).tileSize,Ue=512/Math.min(Fe,512)*(K.overscaledZ/Y.transform.zoom)*.5,We=K.canonical.toString();K.overscaledZ!==K.canonical.z&&(We+=" => "+K.overscaledZ),function(Xe,tt){Xe.initDebugOverlayCanvas();var lt=Xe.debugOverlayCanvas,mt=Xe.context.gl,zt=Xe.debugOverlayCanvas.getContext("2d");zt.clearRect(0,0,lt.width,lt.height),zt.shadowColor="white",zt.shadowBlur=2,zt.lineWidth=1.5,zt.strokeStyle="white",zt.textBaseline="top",zt.font="bold 36px Open Sans, sans-serif",zt.fillText(tt,5,5),zt.strokeText(tt,5,5),Xe.debugOverlayTexture.update(lt),Xe.debugOverlayTexture.bind(mt.LINEAR,mt.CLAMP_TO_EDGE)}(Y,We+" "+Ie+"kb"),He.draw(le,Te.TRIANGLES,Ze,at,Je.alphaBlended,qe.disabled,nl(De,i.Color.transparent,Ue),At,Y.debugBuffer,Y.quadTriangleIndexBuffer,Y.debugSegments)}var iu={symbol:function(Y,ee,K,le,Te){if(Y.renderPass==="translucent"){var De=Ke.disabled,He=Y.colorModeForRenderPass();K.layout.get("text-variable-anchor")&&function(Ze,at,Tt,At,se,ve,Ie){for(var Fe=at.transform,Ue=se==="map",We=ve==="map",Xe=0,tt=Ze;Xe256&&this.clearStencil(),K.setColorMode(Je.disabled),K.setDepthMode(qt.disabled);var Te=this.useProgram("clippingMask");this._tileClippingMaskIDs={};for(var De=0,He=ee;De256&&this.clearStencil();var Y=this.nextStencilID++,ee=this.context.gl;return new Ke({func:ee.NOTEQUAL,mask:255},Y,255,ee.KEEP,ee.KEEP,ee.REPLACE)},Ki.prototype.stencilModeForClipping=function(Y){var ee=this.context.gl;return new Ke({func:ee.EQUAL,mask:255},this._tileClippingMaskIDs[Y.key],0,ee.KEEP,ee.KEEP,ee.REPLACE)},Ki.prototype.stencilConfigForOverlap=function(Y){var ee,K=this.context.gl,le=Y.sort(function(at,Tt){return Tt.overscaledZ-at.overscaledZ}),Te=le[le.length-1].overscaledZ,De=le[0].overscaledZ-Te+1;if(De>1){this.currentStencilSource=void 0,this.nextStencilID+De>256&&this.clearStencil();for(var He={},Ze=0;Ze=0;this.currentLayer--){var zt=this.style._layers[le[this.currentLayer]],Ut=Te[zt.source],Ht=Tt[zt.source];this._renderTileClippingMasks(zt,Ht),this.renderLayer(this,Ut,zt,Ht)}for(this.renderPass="translucent",this.currentLayer=0;this.currentLayer0?ee.pop():null},Ki.prototype.isPatternMissing=function(Y){if(!Y)return!1;if(!Y.from||!Y.to)return!0;var ee=this.imageManager.getPattern(Y.from.toString()),K=this.imageManager.getPattern(Y.to.toString());return!ee||!K},Ki.prototype.useProgram=function(Y,ee){this.cache=this.cache||{};var K=""+Y+(ee?ee.cacheKey:"")+(this._showOverdrawInspector?"/overdraw":"");return this.cache[K]||(this.cache[K]=new Es(this.context,Al[Y],ee,eu[Y],this._showOverdrawInspector)),this.cache[K]},Ki.prototype.setCustomLayerDefaults=function(){this.context.unbindVAO(),this.context.cullFace.setDefault(),this.context.activeTexture.setDefault(),this.context.pixelStoreUnpack.setDefault(),this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.context.pixelStoreUnpackFlipY.setDefault()},Ki.prototype.setBaseState=function(){var Y=this.context.gl;this.context.cullFace.set(!1),this.context.viewport.set([0,0,this.width,this.height]),this.context.blendEquation.set(Y.FUNC_ADD)},Ki.prototype.initDebugOverlayCanvas=function(){if(this.debugOverlayCanvas==null){this.debugOverlayCanvas=i.window.document.createElement("canvas"),this.debugOverlayCanvas.width=512,this.debugOverlayCanvas.height=512;var Y=this.context.gl;this.debugOverlayTexture=new i.Texture(this.context,this.debugOverlayCanvas,Y.RGBA)}},Ki.prototype.destroy=function(){this.emptyTexture.destroy(),this.debugOverlayTexture&&this.debugOverlayTexture.destroy()};var Ll=function(Y,ee){this.points=Y,this.planes=ee};Ll.fromInvProjectionMatrix=function(Y,ee,K){var le=Math.pow(2,K),Te=[[-1,1,-1,1],[1,1,-1,1],[1,-1,-1,1],[-1,-1,-1,1],[-1,1,1,1],[1,1,1,1],[1,-1,1,1],[-1,-1,1,1]].map(function(He){return i.transformMat4([],He,Y)}).map(function(He){return i.scale$1([],He,1/He[3]/ee*le)}),De=[[0,1,2],[6,5,4],[0,3,7],[2,1,5],[3,2,6],[0,4,5]].map(function(He){var Ze=i.sub([],Te[He[0]],Te[He[1]]),at=i.sub([],Te[He[2]],Te[He[1]]),Tt=i.normalize([],i.cross([],Ze,at)),At=-i.dot(Tt,Te[He[1]]);return Tt.concat(At)});return new Ll(Te,De)};var Il=function(Y,ee){this.min=Y,this.max=ee,this.center=i.scale$2([],i.add([],this.min,this.max),.5)};Il.prototype.quadrant=function(Y){for(var ee=[Y%2==0,Y<2],K=i.clone$2(this.min),le=i.clone$2(this.max),Te=0;Te=0;if(De===0)return 0;De!==ee.length&&(K=!1)}if(K)return 2;for(var Ze=0;Ze<3;Ze++){for(var at=Number.MAX_VALUE,Tt=-Number.MAX_VALUE,At=0;Atthis.max[Ze]-this.min[Ze])return 0}return 1};var po=function(Y,ee,K,le){if(Y===void 0&&(Y=0),ee===void 0&&(ee=0),K===void 0&&(K=0),le===void 0&&(le=0),isNaN(Y)||Y<0||isNaN(ee)||ee<0||isNaN(K)||K<0||isNaN(le)||le<0)throw new Error("Invalid value for edge-insets, top, bottom, left and right must all be numbers");this.top=Y,this.bottom=ee,this.left=K,this.right=le};po.prototype.interpolate=function(Y,ee,K){return ee.top!=null&&Y.top!=null&&(this.top=i.number(Y.top,ee.top,K)),ee.bottom!=null&&Y.bottom!=null&&(this.bottom=i.number(Y.bottom,ee.bottom,K)),ee.left!=null&&Y.left!=null&&(this.left=i.number(Y.left,ee.left,K)),ee.right!=null&&Y.right!=null&&(this.right=i.number(Y.right,ee.right,K)),this},po.prototype.getCenter=function(Y,ee){var K=i.clamp((this.left+Y-this.right)/2,0,Y),le=i.clamp((this.top+ee-this.bottom)/2,0,ee);return new i.Point(K,le)},po.prototype.equals=function(Y){return this.top===Y.top&&this.bottom===Y.bottom&&this.left===Y.left&&this.right===Y.right},po.prototype.clone=function(){return new po(this.top,this.bottom,this.left,this.right)},po.prototype.toJSON=function(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}};var Oi=function(Y,ee,K,le,Te){this.tileSize=512,this.maxValidLatitude=85.051129,this._renderWorldCopies=Te===void 0||Te,this._minZoom=Y||0,this._maxZoom=ee||22,this._minPitch=K??0,this._maxPitch=le??60,this.setMaxBounds(),this.width=0,this.height=0,this._center=new i.LngLat(0,0),this.zoom=0,this.angle=0,this._fov=.6435011087932844,this._pitch=0,this._unmodified=!0,this._edgeInsets=new po,this._posMatrixCache={},this._alignedPosMatrixCache={}},Bi={minZoom:{configurable:!0},maxZoom:{configurable:!0},minPitch:{configurable:!0},maxPitch:{configurable:!0},renderWorldCopies:{configurable:!0},worldSize:{configurable:!0},centerOffset:{configurable:!0},size:{configurable:!0},bearing:{configurable:!0},pitch:{configurable:!0},fov:{configurable:!0},zoom:{configurable:!0},center:{configurable:!0},padding:{configurable:!0},centerPoint:{configurable:!0},unmodified:{configurable:!0},point:{configurable:!0}};Oi.prototype.clone=function(){var Y=new Oi(this._minZoom,this._maxZoom,this._minPitch,this.maxPitch,this._renderWorldCopies);return Y.tileSize=this.tileSize,Y.latRange=this.latRange,Y.width=this.width,Y.height=this.height,Y._center=this._center,Y.zoom=this.zoom,Y.angle=this.angle,Y._fov=this._fov,Y._pitch=this._pitch,Y._unmodified=this._unmodified,Y._edgeInsets=this._edgeInsets.clone(),Y._calcMatrices(),Y},Bi.minZoom.get=function(){return this._minZoom},Bi.minZoom.set=function(Y){this._minZoom!==Y&&(this._minZoom=Y,this.zoom=Math.max(this.zoom,Y))},Bi.maxZoom.get=function(){return this._maxZoom},Bi.maxZoom.set=function(Y){this._maxZoom!==Y&&(this._maxZoom=Y,this.zoom=Math.min(this.zoom,Y))},Bi.minPitch.get=function(){return this._minPitch},Bi.minPitch.set=function(Y){this._minPitch!==Y&&(this._minPitch=Y,this.pitch=Math.max(this.pitch,Y))},Bi.maxPitch.get=function(){return this._maxPitch},Bi.maxPitch.set=function(Y){this._maxPitch!==Y&&(this._maxPitch=Y,this.pitch=Math.min(this.pitch,Y))},Bi.renderWorldCopies.get=function(){return this._renderWorldCopies},Bi.renderWorldCopies.set=function(Y){Y===void 0?Y=!0:Y===null&&(Y=!1),this._renderWorldCopies=Y},Bi.worldSize.get=function(){return this.tileSize*this.scale},Bi.centerOffset.get=function(){return this.centerPoint._sub(this.size._div(2))},Bi.size.get=function(){return new i.Point(this.width,this.height)},Bi.bearing.get=function(){return-this.angle/Math.PI*180},Bi.bearing.set=function(Y){var ee=-i.wrap(Y,-180,180)*Math.PI/180;this.angle!==ee&&(this._unmodified=!1,this.angle=ee,this._calcMatrices(),this.rotationMatrix=i.create$2(),i.rotate(this.rotationMatrix,this.rotationMatrix,this.angle))},Bi.pitch.get=function(){return this._pitch/Math.PI*180},Bi.pitch.set=function(Y){var ee=i.clamp(Y,this.minPitch,this.maxPitch)/180*Math.PI;this._pitch!==ee&&(this._unmodified=!1,this._pitch=ee,this._calcMatrices())},Bi.fov.get=function(){return this._fov/Math.PI*180},Bi.fov.set=function(Y){Y=Math.max(.01,Math.min(60,Y)),this._fov!==Y&&(this._unmodified=!1,this._fov=Y/180*Math.PI,this._calcMatrices())},Bi.zoom.get=function(){return this._zoom},Bi.zoom.set=function(Y){var ee=Math.min(Math.max(Y,this.minZoom),this.maxZoom);this._zoom!==ee&&(this._unmodified=!1,this._zoom=ee,this.scale=this.zoomScale(ee),this.tileZoom=Math.floor(ee),this.zoomFraction=ee-this.tileZoom,this._constrain(),this._calcMatrices())},Bi.center.get=function(){return this._center},Bi.center.set=function(Y){Y.lat===this._center.lat&&Y.lng===this._center.lng||(this._unmodified=!1,this._center=Y,this._constrain(),this._calcMatrices())},Bi.padding.get=function(){return this._edgeInsets.toJSON()},Bi.padding.set=function(Y){this._edgeInsets.equals(Y)||(this._unmodified=!1,this._edgeInsets.interpolate(this._edgeInsets,Y,1),this._calcMatrices())},Bi.centerPoint.get=function(){return this._edgeInsets.getCenter(this.width,this.height)},Oi.prototype.isPaddingEqual=function(Y){return this._edgeInsets.equals(Y)},Oi.prototype.interpolatePadding=function(Y,ee,K){this._unmodified=!1,this._edgeInsets.interpolate(Y,ee,K),this._constrain(),this._calcMatrices()},Oi.prototype.coveringZoomLevel=function(Y){var ee=(Y.roundZoom?Math.round:Math.floor)(this.zoom+this.scaleZoom(this.tileSize/Y.tileSize));return Math.max(0,ee)},Oi.prototype.getVisibleUnwrappedCoordinates=function(Y){var ee=[new i.UnwrappedTileID(0,Y)];if(this._renderWorldCopies)for(var K=this.pointCoordinate(new i.Point(0,0)),le=this.pointCoordinate(new i.Point(this.width,0)),Te=this.pointCoordinate(new i.Point(this.width,this.height)),De=this.pointCoordinate(new i.Point(0,this.height)),He=Math.floor(Math.min(K.x,le.x,Te.x,De.x)),Ze=Math.floor(Math.max(K.x,le.x,Te.x,De.x)),at=He-1;at<=Ze+1;at++)at!==0&&ee.push(new i.UnwrappedTileID(at,Y));return ee},Oi.prototype.coveringTiles=function(Y){var ee=this.coveringZoomLevel(Y),K=ee;if(Y.minzoom!==void 0&&eeY.maxzoom&&(ee=Y.maxzoom);var le=i.MercatorCoordinate.fromLngLat(this.center),Te=Math.pow(2,ee),De=[Te*le.x,Te*le.y,0],He=Ll.fromInvProjectionMatrix(this.invProjMatrix,this.worldSize,ee),Ze=Y.minzoom||0;this.pitch<=60&&this._edgeInsets.top<.1&&(Ze=ee);var at=function(tn){return{aabb:new Il([tn*Te,0,0],[(tn+1)*Te,Te,0]),zoom:0,x:0,y:0,wrap:tn,fullyVisible:!1}},Tt=[],At=[],se=ee,ve=Y.reparseOverscaled?K:ee;if(this._renderWorldCopies)for(var Ie=1;Ie<=3;Ie++)Tt.push(at(-Ie)),Tt.push(at(Ie));for(Tt.push(at(0));Tt.length>0;){var Fe=Tt.pop(),Ue=Fe.x,We=Fe.y,Xe=Fe.fullyVisible;if(!Xe){var tt=Fe.aabb.intersects(He);if(tt===0)continue;Xe=tt===2}var lt=Fe.aabb.distanceX(De),mt=Fe.aabb.distanceY(De),zt=Math.max(Math.abs(lt),Math.abs(mt)),Ut=3+(1<Ut&&Fe.zoom>=Ze)At.push({tileID:new i.OverscaledTileID(Fe.zoom===se?ve:Fe.zoom,Fe.wrap,Fe.zoom,Ue,We),distanceSq:i.sqrLen([De[0]-.5-Ue,De[1]-.5-We])});else for(var Ht=0;Ht<4;Ht++){var en=(Ue<<1)+Ht%2,vn=(We<<1)+(Ht>>1);Tt.push({aabb:Fe.aabb.quadrant(Ht),zoom:Fe.zoom+1,x:en,y:vn,wrap:Fe.wrap,fullyVisible:Xe})}}return At.sort(function(tn,ln){return tn.distanceSq-ln.distanceSq}).map(function(tn){return tn.tileID})},Oi.prototype.resize=function(Y,ee){this.width=Y,this.height=ee,this.pixelsToGLUnits=[2/Y,-2/ee],this._constrain(),this._calcMatrices()},Bi.unmodified.get=function(){return this._unmodified},Oi.prototype.zoomScale=function(Y){return Math.pow(2,Y)},Oi.prototype.scaleZoom=function(Y){return Math.log(Y)/Math.LN2},Oi.prototype.project=function(Y){var ee=i.clamp(Y.lat,-this.maxValidLatitude,this.maxValidLatitude);return new i.Point(i.mercatorXfromLng(Y.lng)*this.worldSize,i.mercatorYfromLat(ee)*this.worldSize)},Oi.prototype.unproject=function(Y){return new i.MercatorCoordinate(Y.x/this.worldSize,Y.y/this.worldSize).toLngLat()},Bi.point.get=function(){return this.project(this.center)},Oi.prototype.setLocationAtPoint=function(Y,ee){var K=this.pointCoordinate(ee),le=this.pointCoordinate(this.centerPoint),Te=this.locationCoordinate(Y),De=new i.MercatorCoordinate(Te.x-(K.x-le.x),Te.y-(K.y-le.y));this.center=this.coordinateLocation(De),this._renderWorldCopies&&(this.center=this.center.wrap())},Oi.prototype.locationPoint=function(Y){return this.coordinatePoint(this.locationCoordinate(Y))},Oi.prototype.pointLocation=function(Y){return this.coordinateLocation(this.pointCoordinate(Y))},Oi.prototype.locationCoordinate=function(Y){return i.MercatorCoordinate.fromLngLat(Y)},Oi.prototype.coordinateLocation=function(Y){return Y.toLngLat()},Oi.prototype.pointCoordinate=function(Y){var ee=[Y.x,Y.y,0,1],K=[Y.x,Y.y,1,1];i.transformMat4(ee,ee,this.pixelMatrixInverse),i.transformMat4(K,K,this.pixelMatrixInverse);var le=ee[3],Te=K[3],De=ee[0]/le,He=K[0]/Te,Ze=ee[1]/le,at=K[1]/Te,Tt=ee[2]/le,At=K[2]/Te,se=Tt===At?0:(0-Tt)/(At-Tt);return new i.MercatorCoordinate(i.number(De,He,se)/this.worldSize,i.number(Ze,at,se)/this.worldSize)},Oi.prototype.coordinatePoint=function(Y){var ee=[Y.x*this.worldSize,Y.y*this.worldSize,0,1];return i.transformMat4(ee,ee,this.pixelMatrix),new i.Point(ee[0]/ee[3],ee[1]/ee[3])},Oi.prototype.getBounds=function(){return new i.LngLatBounds().extend(this.pointLocation(new i.Point(0,0))).extend(this.pointLocation(new i.Point(this.width,0))).extend(this.pointLocation(new i.Point(this.width,this.height))).extend(this.pointLocation(new i.Point(0,this.height)))},Oi.prototype.getMaxBounds=function(){return this.latRange&&this.latRange.length===2&&this.lngRange&&this.lngRange.length===2?new i.LngLatBounds([this.lngRange[0],this.latRange[0]],[this.lngRange[1],this.latRange[1]]):null},Oi.prototype.setMaxBounds=function(Y){Y?(this.lngRange=[Y.getWest(),Y.getEast()],this.latRange=[Y.getSouth(),Y.getNorth()],this._constrain()):(this.lngRange=null,this.latRange=[-this.maxValidLatitude,this.maxValidLatitude])},Oi.prototype.calculatePosMatrix=function(Y,ee){ee===void 0&&(ee=!1);var K=Y.key,le=ee?this._alignedPosMatrixCache:this._posMatrixCache;if(le[K])return le[K];var Te=Y.canonical,De=this.worldSize/this.zoomScale(Te.z),He=Te.x+Math.pow(2,Te.z)*Y.wrap,Ze=i.identity(new Float64Array(16));return i.translate(Ze,Ze,[He*De,Te.y*De,0]),i.scale(Ze,Ze,[De/i.EXTENT,De/i.EXTENT,1]),i.multiply(Ze,ee?this.alignedProjMatrix:this.projMatrix,Ze),le[K]=new Float32Array(Ze),le[K]},Oi.prototype.customLayerMatrix=function(){return this.mercatorMatrix.slice()},Oi.prototype._constrain=function(){if(this.center&&this.width&&this.height&&!this._constraining){this._constraining=!0;var Y,ee,K,le,Te=-90,De=90,He=-180,Ze=180,at=this.size,Tt=this._unmodified;if(this.latRange){var At=this.latRange;Te=i.mercatorYfromLat(At[1])*this.worldSize,Y=(De=i.mercatorYfromLat(At[0])*this.worldSize)-TeDe&&(le=De-Ue)}if(this.lngRange){var We=ve.x,Xe=at.x/2;We-XeZe&&(K=Ze-Xe)}K===void 0&&le===void 0||(this.center=this.unproject(new i.Point(K!==void 0?K:ve.x,le!==void 0?le:ve.y))),this._unmodified=Tt,this._constraining=!1}},Oi.prototype._calcMatrices=function(){if(this.height){var Y=this._fov/2,ee=this.centerOffset;this.cameraToCenterDistance=.5/Math.tan(Y)*this.height;var K=Math.PI/2+this._pitch,le=this._fov*(.5+ee.y/this.height),Te=Math.sin(le)*this.cameraToCenterDistance/Math.sin(i.clamp(Math.PI-K-le,.01,Math.PI-.01)),De=this.point,He=De.x,Ze=De.y,at=1.01*(Math.cos(Math.PI/2-this._pitch)*Te+this.cameraToCenterDistance),Tt=this.height/50,At=new Float64Array(16);i.perspective(At,this._fov,this.width/this.height,Tt,at),At[8]=2*-ee.x/this.width,At[9]=2*ee.y/this.height,i.scale(At,At,[1,-1,1]),i.translate(At,At,[0,0,-this.cameraToCenterDistance]),i.rotateX(At,At,this._pitch),i.rotateZ(At,At,this.angle),i.translate(At,At,[-He,-Ze,0]),this.mercatorMatrix=i.scale([],At,[this.worldSize,this.worldSize,this.worldSize]),i.scale(At,At,[1,1,i.mercatorZfromAltitude(1,this.center.lat)*this.worldSize,1]),this.projMatrix=At,this.invProjMatrix=i.invert([],this.projMatrix);var se=this.width%2/2,ve=this.height%2/2,Ie=Math.cos(this.angle),Fe=Math.sin(this.angle),Ue=He-Math.round(He)+Ie*se+Fe*ve,We=Ze-Math.round(Ze)+Ie*ve+Fe*se,Xe=new Float64Array(At);if(i.translate(Xe,Xe,[Ue>.5?Ue-1:Ue,We>.5?We-1:We,0]),this.alignedProjMatrix=Xe,At=i.create(),i.scale(At,At,[this.width/2,-this.height/2,1]),i.translate(At,At,[1,-1,0]),this.labelPlaneMatrix=At,At=i.create(),i.scale(At,At,[1,-1,1]),i.translate(At,At,[-1,-1,0]),i.scale(At,At,[2/this.width,2/this.height,1]),this.glCoordMatrix=At,this.pixelMatrix=i.multiply(new Float64Array(16),this.labelPlaneMatrix,this.projMatrix),!(At=i.invert(new Float64Array(16),this.pixelMatrix)))throw new Error("failed to invert matrix");this.pixelMatrixInverse=At,this._posMatrixCache={},this._alignedPosMatrixCache={}}},Oi.prototype.maxPitchScaleFactor=function(){if(!this.pixelMatrixInverse)return 1;var Y=this.pointCoordinate(new i.Point(0,0)),ee=[Y.x*this.worldSize,Y.y*this.worldSize,0,1];return i.transformMat4(ee,ee,this.pixelMatrix)[3]/this.cameraToCenterDistance},Oi.prototype.getCameraPoint=function(){var Y=this._pitch,ee=Math.tan(Y)*(this.cameraToCenterDistance||1);return this.centerPoint.add(new i.Point(0,ee))},Oi.prototype.getCameraQueryGeometry=function(Y){var ee=this.getCameraPoint();if(Y.length===1)return[Y[0],ee];for(var K=ee.x,le=ee.y,Te=ee.x,De=ee.y,He=0,Ze=Y;He=3&&!Y.some(function(K){return isNaN(K)})){var ee=this._map.dragRotate.isEnabled()&&this._map.touchZoomRotate.isEnabled()?+(Y[3]||0):this._map.getBearing();return this._map.jumpTo({center:[+Y[2],+Y[1]],zoom:+Y[0],bearing:ee,pitch:+(Y[4]||0)}),!0}return!1},ol.prototype._updateHashUnthrottled=function(){var Y=this.getHashString();try{i.window.history.replaceState(i.window.history.state,"",Y)}catch{}};var Us={linearity:.3,easing:i.bezier(0,0,.3,1)},Gc=i.extend({deceleration:2500,maxSpeed:1400},Us),Oh=i.extend({deceleration:20,maxSpeed:1400},Us),au=i.extend({deceleration:1e3,maxSpeed:360},Us),Dh=i.extend({deceleration:1e3,maxSpeed:90},Us),ou=function(Y){this._map=Y,this.clear()};function sl(Y,ee){(!Y.duration||Y.duration0&&ee-Y[0].time>160;)Y.shift()},ou.prototype._onMoveEnd=function(Y){if(this._drainInertiaBuffer(),!(this._inertiaBuffer.length<2)){for(var ee={zoom:0,bearing:0,pitch:0,pan:new i.Point(0,0),pinchAround:void 0,around:void 0},K=0,le=this._inertiaBuffer;K=this._clickTolerance||this._map.fire(new da(Y.type,this._map,Y))},Ha.prototype.dblclick=function(Y){return this._firePreventable(new da(Y.type,this._map,Y))},Ha.prototype.mouseover=function(Y){this._map.fire(new da(Y.type,this._map,Y))},Ha.prototype.mouseout=function(Y){this._map.fire(new da(Y.type,this._map,Y))},Ha.prototype.touchstart=function(Y){return this._firePreventable(new Hs(Y.type,this._map,Y))},Ha.prototype.touchmove=function(Y){this._map.fire(new Hs(Y.type,this._map,Y))},Ha.prototype.touchend=function(Y){this._map.fire(new Hs(Y.type,this._map,Y))},Ha.prototype.touchcancel=function(Y){this._map.fire(new Hs(Y.type,this._map,Y))},Ha.prototype._firePreventable=function(Y){if(this._map.fire(Y),Y.defaultPrevented)return{}},Ha.prototype.isEnabled=function(){return!0},Ha.prototype.isActive=function(){return!1},Ha.prototype.enable=function(){},Ha.prototype.disable=function(){};var mo=function(Y){this._map=Y};mo.prototype.reset=function(){this._delayContextMenu=!1,delete this._contextMenuEvent},mo.prototype.mousemove=function(Y){this._map.fire(new da(Y.type,this._map,Y))},mo.prototype.mousedown=function(){this._delayContextMenu=!0},mo.prototype.mouseup=function(){this._delayContextMenu=!1,this._contextMenuEvent&&(this._map.fire(new da("contextmenu",this._map,this._contextMenuEvent)),delete this._contextMenuEvent)},mo.prototype.contextmenu=function(Y){this._delayContextMenu?this._contextMenuEvent=Y:this._map.fire(new da(Y.type,this._map,Y)),this._map.listens("contextmenu")&&Y.preventDefault()},mo.prototype.isEnabled=function(){return!0},mo.prototype.isActive=function(){return!1},mo.prototype.enable=function(){},mo.prototype.disable=function(){};var go=function(Y,ee){this._map=Y,this._el=Y.getCanvasContainer(),this._container=Y.getContainer(),this._clickTolerance=ee.clickTolerance||1};function co(Y,ee){for(var K={},le=0;lethis.numTouches)&&(this.aborted=!0),this.aborted||(this.startTime===void 0&&(this.startTime=Y.timeStamp),K.length===this.numTouches&&(this.centroid=function(le){for(var Te=new i.Point(0,0),De=0,He=le;De30)&&(this.aborted=!0)}}},zo.prototype.touchend=function(Y,ee,K){if((!this.centroid||Y.timeStamp-this.startTime>500)&&(this.aborted=!0),K.length===0){var le=!this.aborted&&this.centroid;if(this.reset(),le)return le}};var Rl=function(Y){this.singleTap=new zo(Y),this.numTaps=Y.numTaps,this.reset()};Rl.prototype.reset=function(){this.lastTime=1/0,delete this.lastTap,this.count=0,this.singleTap.reset()},Rl.prototype.touchstart=function(Y,ee,K){this.singleTap.touchstart(Y,ee,K)},Rl.prototype.touchmove=function(Y,ee,K){this.singleTap.touchmove(Y,ee,K)},Rl.prototype.touchend=function(Y,ee,K){var le=this.singleTap.touchend(Y,ee,K);if(le){var Te=Y.timeStamp-this.lastTime<500,De=!this.lastTap||this.lastTap.dist(le)<30;if(Te&&De||this.reset(),this.count++,this.lastTime=Y.timeStamp,this.lastTap=le,this.count===this.numTaps)return this.reset(),le}};var vs=function(){this._zoomIn=new Rl({numTouches:1,numTaps:2}),this._zoomOut=new Rl({numTouches:2,numTaps:1}),this.reset()};vs.prototype.reset=function(){this._active=!1,this._zoomIn.reset(),this._zoomOut.reset()},vs.prototype.touchstart=function(Y,ee,K){this._zoomIn.touchstart(Y,ee,K),this._zoomOut.touchstart(Y,ee,K)},vs.prototype.touchmove=function(Y,ee,K){this._zoomIn.touchmove(Y,ee,K),this._zoomOut.touchmove(Y,ee,K)},vs.prototype.touchend=function(Y,ee,K){var le=this,Te=this._zoomIn.touchend(Y,ee,K),De=this._zoomOut.touchend(Y,ee,K);return Te?(this._active=!0,Y.preventDefault(),setTimeout(function(){return le.reset()},0),{cameraAnimation:function(He){return He.easeTo({duration:300,zoom:He.getZoom()+1,around:He.unproject(Te)},{originalEvent:Y})}}):De?(this._active=!0,Y.preventDefault(),setTimeout(function(){return le.reset()},0),{cameraAnimation:function(He){return He.easeTo({duration:300,zoom:He.getZoom()-1,around:He.unproject(De)},{originalEvent:Y})}}):void 0},vs.prototype.touchcancel=function(){this.reset()},vs.prototype.enable=function(){this._enabled=!0},vs.prototype.disable=function(){this._enabled=!1,this.reset()},vs.prototype.isEnabled=function(){return this._enabled},vs.prototype.isActive=function(){return this._active};var $a=function(Y){this.reset(),this._clickTolerance=Y.clickTolerance||1};$a.prototype.reset=function(){this._active=!1,this._moved=!1,delete this._lastPoint,delete this._eventButton},$a.prototype._correctButton=function(Y,ee){return!1},$a.prototype._move=function(Y,ee){return{}},$a.prototype.mousedown=function(Y,ee){if(!this._lastPoint){var K=v.mouseButton(Y);this._correctButton(Y,K)&&(this._lastPoint=ee,this._eventButton=K)}},$a.prototype.mousemoveWindow=function(Y,ee){var K=this._lastPoint;if(K&&(Y.preventDefault(),this._moved||!(ee.dist(K)0&&(this._active=!0);var le=co(K,ee),Te=new i.Point(0,0),De=new i.Point(0,0),He=0;for(var Ze in le){var at=le[Ze],Tt=this._touches[Ze];Tt&&(Te._add(at),De._add(at.sub(Tt)),He++,le[Ze]=at)}if(this._touches=le,!(HeMath.abs(Y.x)}var Br=function(Y){function ee(){Y.apply(this,arguments)}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee.prototype.reset=function(){Y.prototype.reset.call(this),this._valid=void 0,delete this._firstMove,delete this._lastPoints},ee.prototype._start=function(K){this._lastPoints=K,Bu(K[0].sub(K[1]))&&(this._valid=!1)},ee.prototype._move=function(K,le,Te){var De=K[0].sub(this._lastPoints[0]),He=K[1].sub(this._lastPoints[1]);if(this._valid=this.gestureBeginsVertically(De,He,Te.timeStamp),this._valid)return this._lastPoints=K,this._active=!0,{pitchDelta:(De.y+He.y)/2*-.5}},ee.prototype.gestureBeginsVertically=function(K,le,Te){if(this._valid!==void 0)return this._valid;var De=K.mag()>=2,He=le.mag()>=2;if(De||He){if(!De||!He)return this._firstMove===void 0&&(this._firstMove=Te),Te-this._firstMove<100&&void 0;var Ze=K.y>0==le.y>0;return Bu(K)&&Bu(le)&&Ze}},ee}(Dr),Nu={panStep:100,bearingStep:15,pitchStep:10},ys=function(){var Y=Nu;this._panStep=Y.panStep,this._bearingStep=Y.bearingStep,this._pitchStep=Y.pitchStep};function $c(Y){return Y*(2-Y)}ys.prototype.reset=function(){this._active=!1},ys.prototype.keydown=function(Y){var ee=this;if(!(Y.altKey||Y.ctrlKey||Y.metaKey)){var K=0,le=0,Te=0,De=0,He=0;switch(Y.keyCode){case 61:case 107:case 171:case 187:K=1;break;case 189:case 109:case 173:K=-1;break;case 37:Y.shiftKey?le=-1:(Y.preventDefault(),De=-1);break;case 39:Y.shiftKey?le=1:(Y.preventDefault(),De=1);break;case 38:Y.shiftKey?Te=1:(Y.preventDefault(),He=-1);break;case 40:Y.shiftKey?Te=-1:(Y.preventDefault(),He=1);break;default:return}return{cameraAnimation:function(Ze){var at=Ze.getZoom();Ze.easeTo({duration:300,easeId:"keyboardHandler",easing:$c,zoom:K?Math.round(at)+K*(Y.shiftKey?2:1):at,bearing:Ze.getBearing()+le*ee._bearingStep,pitch:Ze.getPitch()+Te*ee._pitchStep,offset:[-De*ee._panStep,-He*ee._panStep],center:Ze.getCenter()},{originalEvent:Y})}}}},ys.prototype.enable=function(){this._enabled=!0},ys.prototype.disable=function(){this._enabled=!1,this.reset()},ys.prototype.isEnabled=function(){return this._enabled},ys.prototype.isActive=function(){return this._active};var wc=4.000244140625,vo=function(Y,ee){this._map=Y,this._el=Y.getCanvasContainer(),this._handler=ee,this._delta=0,this._defaultZoomRate=.01,this._wheelZoomRate=.0022222222222222222,i.bindAll(["_onWheel","_onTimeout","_onScrollFrame","_onScrollFinished"],this)};vo.prototype.setZoomRate=function(Y){this._defaultZoomRate=Y},vo.prototype.setWheelZoomRate=function(Y){this._wheelZoomRate=Y},vo.prototype.isEnabled=function(){return!!this._enabled},vo.prototype.isActive=function(){return!!this._active||this._finishTimeout!==void 0},vo.prototype.isZooming=function(){return!!this._zooming},vo.prototype.enable=function(Y){this.isEnabled()||(this._enabled=!0,this._aroundCenter=Y&&Y.around==="center")},vo.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},vo.prototype.wheel=function(Y){if(this.isEnabled()){var ee=Y.deltaMode===i.window.WheelEvent.DOM_DELTA_LINE?40*Y.deltaY:Y.deltaY,K=i.browser.now(),le=K-(this._lastWheelEventTime||0);this._lastWheelEventTime=K,ee!==0&&ee%wc==0?this._type="wheel":ee!==0&&Math.abs(ee)<4?this._type="trackpad":le>400?(this._type=null,this._lastValue=ee,this._timeout=setTimeout(this._onTimeout,40,Y)):this._type||(this._type=Math.abs(le*ee)<200?"trackpad":"wheel",this._timeout&&(clearTimeout(this._timeout),this._timeout=null,ee+=this._lastValue)),Y.shiftKey&&ee&&(ee/=4),this._type&&(this._lastWheelEvent=Y,this._delta-=ee,this._active||this._start(Y)),Y.preventDefault()}},vo.prototype._onTimeout=function(Y){this._type="wheel",this._delta-=this._lastValue,this._active||this._start(Y)},vo.prototype._start=function(Y){if(this._delta){this._frameId&&(this._frameId=null),this._active=!0,this.isZooming()||(this._zooming=!0),this._finishTimeout&&(clearTimeout(this._finishTimeout),delete this._finishTimeout);var ee=v.mousePos(this._el,Y);this._around=i.LngLat.convert(this._aroundCenter?this._map.getCenter():this._map.unproject(ee)),this._aroundPoint=this._map.transform.locationPoint(this._around),this._frameId||(this._frameId=!0,this._handler._triggerRenderFrame())}},vo.prototype.renderFrame=function(){return this._onScrollFrame()},vo.prototype._onScrollFrame=function(){var Y=this;if(this._frameId&&(this._frameId=null,this.isActive())){var ee=this._map.transform;if(this._delta!==0){var K=this._type==="wheel"&&Math.abs(this._delta)>wc?this._wheelZoomRate:this._defaultZoomRate,le=2/(1+Math.exp(-Math.abs(this._delta*K)));this._delta<0&&le!==0&&(le=1/le);var Te=typeof this._targetZoom=="number"?ee.zoomScale(this._targetZoom):ee.scale;this._targetZoom=Math.min(ee.maxZoom,Math.max(ee.minZoom,ee.scaleZoom(Te*le))),this._type==="wheel"&&(this._startZoom=ee.zoom,this._easing=this._smoothOutEasing(200)),this._delta=0}var De,He=typeof this._targetZoom=="number"?this._targetZoom:ee.zoom,Ze=this._startZoom,at=this._easing,Tt=!1;if(this._type==="wheel"&&Ze&&at){var At=Math.min((i.browser.now()-this._lastWheelEventTime)/200,1),se=at(At);De=i.number(Ze,He,se),At<1?this._frameId||(this._frameId=!0):Tt=!0}else De=He,Tt=!0;return this._active=!0,Tt&&(this._active=!1,this._finishTimeout=setTimeout(function(){Y._zooming=!1,Y._handler._triggerRenderFrame(),delete Y._targetZoom,delete Y._finishTimeout},200)),{noInertia:!0,needsRenderFrame:!Tt,zoomDelta:De-ee.zoom,around:this._aroundPoint,originalEvent:this._lastWheelEvent}}},vo.prototype._smoothOutEasing=function(Y){var ee=i.ease;if(this._prevEase){var K=this._prevEase,le=(i.browser.now()-K.start)/K.duration,Te=K.easing(le+.01)-K.easing(le),De=.27/Math.sqrt(Te*Te+1e-4)*.01,He=Math.sqrt(.0729-De*De);ee=i.bezier(De,He,.25,1)}return this._prevEase={start:i.browser.now(),duration:Y,easing:ee},ee},vo.prototype.reset=function(){this._active=!1};var cu=function(Y,ee){this._clickZoom=Y,this._tapZoom=ee};cu.prototype.enable=function(){this._clickZoom.enable(),this._tapZoom.enable()},cu.prototype.disable=function(){this._clickZoom.disable(),this._tapZoom.disable()},cu.prototype.isEnabled=function(){return this._clickZoom.isEnabled()&&this._tapZoom.isEnabled()},cu.prototype.isActive=function(){return this._clickZoom.isActive()||this._tapZoom.isActive()};var ll=function(){this.reset()};ll.prototype.reset=function(){this._active=!1},ll.prototype.dblclick=function(Y,ee){return Y.preventDefault(),{cameraAnimation:function(K){K.easeTo({duration:300,zoom:K.getZoom()+(Y.shiftKey?-1:1),around:K.unproject(ee)},{originalEvent:Y})}}},ll.prototype.enable=function(){this._enabled=!0},ll.prototype.disable=function(){this._enabled=!1,this.reset()},ll.prototype.isEnabled=function(){return this._enabled},ll.prototype.isActive=function(){return this._active};var Zo=function(){this._tap=new Rl({numTouches:1,numTaps:1}),this.reset()};Zo.prototype.reset=function(){this._active=!1,delete this._swipePoint,delete this._swipeTouch,delete this._tapTime,this._tap.reset()},Zo.prototype.touchstart=function(Y,ee,K){this._swipePoint||(this._tapTime&&Y.timeStamp-this._tapTime>500&&this.reset(),this._tapTime?K.length>0&&(this._swipePoint=ee[0],this._swipeTouch=K[0].identifier):this._tap.touchstart(Y,ee,K))},Zo.prototype.touchmove=function(Y,ee,K){if(this._tapTime){if(this._swipePoint){if(K[0].identifier!==this._swipeTouch)return;var le=ee[0],Te=le.y-this._swipePoint.y;return this._swipePoint=le,Y.preventDefault(),this._active=!0,{zoomDelta:Te/128}}}else this._tap.touchmove(Y,ee,K)},Zo.prototype.touchend=function(Y,ee,K){this._tapTime?this._swipePoint&&K.length===0&&this.reset():this._tap.touchend(Y,ee,K)&&(this._tapTime=Y.timeStamp)},Zo.prototype.touchcancel=function(){this.reset()},Zo.prototype.enable=function(){this._enabled=!0},Zo.prototype.disable=function(){this._enabled=!1,this.reset()},Zo.prototype.isEnabled=function(){return this._enabled},Zo.prototype.isActive=function(){return this._active};var Pl=function(Y,ee,K){this._el=Y,this._mousePan=ee,this._touchPan=K};Pl.prototype.enable=function(Y){this._inertiaOptions=Y||{},this._mousePan.enable(),this._touchPan.enable(),this._el.classList.add("mapboxgl-touch-drag-pan")},Pl.prototype.disable=function(){this._mousePan.disable(),this._touchPan.disable(),this._el.classList.remove("mapboxgl-touch-drag-pan")},Pl.prototype.isEnabled=function(){return this._mousePan.isEnabled()&&this._touchPan.isEnabled()},Pl.prototype.isActive=function(){return this._mousePan.isActive()||this._touchPan.isActive()};var Ls=function(Y,ee,K){this._pitchWithRotate=Y.pitchWithRotate,this._mouseRotate=ee,this._mousePitch=K};Ls.prototype.enable=function(){this._mouseRotate.enable(),this._pitchWithRotate&&this._mousePitch.enable()},Ls.prototype.disable=function(){this._mouseRotate.disable(),this._mousePitch.disable()},Ls.prototype.isEnabled=function(){return this._mouseRotate.isEnabled()&&(!this._pitchWithRotate||this._mousePitch.isEnabled())},Ls.prototype.isActive=function(){return this._mouseRotate.isActive()||this._mousePitch.isActive()};var bs=function(Y,ee,K,le){this._el=Y,this._touchZoom=ee,this._touchRotate=K,this._tapDragZoom=le,this._rotationDisabled=!1,this._enabled=!0};bs.prototype.enable=function(Y){this._touchZoom.enable(Y),this._rotationDisabled||this._touchRotate.enable(Y),this._tapDragZoom.enable(),this._el.classList.add("mapboxgl-touch-zoom-rotate")},bs.prototype.disable=function(){this._touchZoom.disable(),this._touchRotate.disable(),this._tapDragZoom.disable(),this._el.classList.remove("mapboxgl-touch-zoom-rotate")},bs.prototype.isEnabled=function(){return this._touchZoom.isEnabled()&&(this._rotationDisabled||this._touchRotate.isEnabled())&&this._tapDragZoom.isEnabled()},bs.prototype.isActive=function(){return this._touchZoom.isActive()||this._touchRotate.isActive()||this._tapDragZoom.isActive()},bs.prototype.disableRotation=function(){this._rotationDisabled=!0,this._touchRotate.disable()},bs.prototype.enableRotation=function(){this._rotationDisabled=!1,this._touchZoom.isEnabled()&&this._touchRotate.enable()};var hu=function(Y){return Y.zoom||Y.drag||Y.pitch||Y.rotate},yo=function(Y){function ee(){Y.apply(this,arguments)}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee}(i.Event);function xs(Y){return Y.panDelta&&Y.panDelta.mag()||Y.zoomDelta||Y.bearingDelta||Y.pitchDelta}var Yi=function(Y,ee){this._map=Y,this._el=this._map.getCanvasContainer(),this._handlers=[],this._handlersById={},this._changes=[],this._inertia=new ou(Y),this._bearingSnap=ee.bearingSnap,this._previousActiveHandlers={},this._eventsInProgress={},this._addDefaultHandlers(ee),i.bindAll(["handleEvent","handleWindowEvent"],this);var K=this._el;this._listeners=[[K,"touchstart",{passive:!1}],[K,"touchmove",{passive:!1}],[K,"touchend",void 0],[K,"touchcancel",void 0],[K,"mousedown",void 0],[K,"mousemove",void 0],[K,"mouseup",void 0],[i.window.document,"mousemove",{capture:!0}],[i.window.document,"mouseup",void 0],[K,"mouseover",void 0],[K,"mouseout",void 0],[K,"dblclick",void 0],[K,"click",void 0],[K,"keydown",{capture:!1}],[K,"keyup",void 0],[K,"wheel",{passive:!1}],[K,"contextmenu",void 0],[i.window,"blur",void 0]];for(var le=0,Te=this._listeners;leHe?Math.min(2,Ut):Math.max(.5,Ut),ln=Math.pow(tn,1-en),an=De.unproject(mt.add(zt.mult(en*ln)).mult(vn));De.setLocationAtPoint(De.renderWorldCopies?an.wrap():an,Ue)}Te._fireMoveEvents(le)},function(en){Te._afterEase(le,en)},K),this},ee.prototype._prepareEase=function(K,le,Te){Te===void 0&&(Te={}),this._moving=!0,le||Te.moving||this.fire(new i.Event("movestart",K)),this._zooming&&!Te.zooming&&this.fire(new i.Event("zoomstart",K)),this._rotating&&!Te.rotating&&this.fire(new i.Event("rotatestart",K)),this._pitching&&!Te.pitching&&this.fire(new i.Event("pitchstart",K))},ee.prototype._fireMoveEvents=function(K){this.fire(new i.Event("move",K)),this._zooming&&this.fire(new i.Event("zoom",K)),this._rotating&&this.fire(new i.Event("rotate",K)),this._pitching&&this.fire(new i.Event("pitch",K))},ee.prototype._afterEase=function(K,le){if(!this._easeId||!le||this._easeId!==le){delete this._easeId;var Te=this._zooming,De=this._rotating,He=this._pitching;this._moving=!1,this._zooming=!1,this._rotating=!1,this._pitching=!1,this._padding=!1,Te&&this.fire(new i.Event("zoomend",K)),De&&this.fire(new i.Event("rotateend",K)),He&&this.fire(new i.Event("pitchend",K)),this.fire(new i.Event("moveend",K))}},ee.prototype.flyTo=function(K,le){var Te=this;if(!K.essential&&i.browser.prefersReducedMotion){var De=i.pick(K,["center","zoom","bearing","pitch","around"]);return this.jumpTo(De,le)}this.stop(),K=i.extend({offset:[0,0],speed:1.2,curve:1.42,easing:i.ease},K);var He=this.transform,Ze=this.getZoom(),at=this.getBearing(),Tt=this.getPitch(),At=this.getPadding(),se="zoom"in K?i.clamp(+K.zoom,He.minZoom,He.maxZoom):Ze,ve="bearing"in K?this._normalizeBearing(K.bearing,at):at,Ie="pitch"in K?+K.pitch:Tt,Fe="padding"in K?K.padding:He.padding,Ue=He.zoomScale(se-Ze),We=i.Point.convert(K.offset),Xe=He.centerPoint.add(We),tt=He.pointLocation(Xe),lt=i.LngLat.convert(K.center||tt);this._normalizeCenter(lt);var mt=He.project(tt),zt=He.project(lt).sub(mt),Ut=K.curve,Ht=Math.max(He.width,He.height),en=Ht/Ue,vn=zt.mag();if("minZoom"in K){var tn=i.clamp(Math.min(K.minZoom,Ze,se),He.minZoom,He.maxZoom),ln=Ht/He.zoomScale(tn-Ze);Ut=Math.sqrt(ln/vn*2)}var an=Ut*Ut;function Cn(xr){var kr=(en*en-Ht*Ht+(xr?-1:1)*an*an*vn*vn)/(2*(xr?en:Ht)*an*vn);return Math.log(Math.sqrt(kr*kr+1)-kr)}function _n(xr){return(Math.exp(xr)-Math.exp(-xr))/2}function on(xr){return(Math.exp(xr)+Math.exp(-xr))/2}var Fn=Cn(0),Hn=function(xr){return on(Fn)/on(Fn+Ut*xr)},ir=function(xr){return Ht*((on(Fn)*(_n(kr=Fn+Ut*xr)/on(kr))-_n(Fn))/an)/vn;var kr},ar=(Cn(1)-Fn)/Ut;if(Math.abs(vn)<1e-6||!isFinite(ar)){if(Math.abs(Ht-en)<1e-6)return this.easeTo(K,le);var Mr=enK.maxDuration&&(K.duration=0),this._zooming=!0,this._rotating=at!==ve,this._pitching=Ie!==Tt,this._padding=!He.isPaddingEqual(Fe),this._prepareEase(le,!1),this._ease(function(xr){var kr=xr*ar,jr=1/Hn(kr);He.zoom=xr===1?se:Ze+He.scaleZoom(jr),Te._rotating&&(He.bearing=i.number(at,ve,xr)),Te._pitching&&(He.pitch=i.number(Tt,Ie,xr)),Te._padding&&(He.interpolatePadding(At,Fe,xr),Xe=He.centerPoint.add(We));var fi=xr===1?lt:He.unproject(mt.add(zt.mult(ir(kr))).mult(jr));He.setLocationAtPoint(He.renderWorldCopies?fi.wrap():fi,Xe),Te._fireMoveEvents(le)},function(){return Te._afterEase(le)},K),this},ee.prototype.isEasing=function(){return!!this._easeFrameId},ee.prototype.stop=function(){return this._stop()},ee.prototype._stop=function(K,le){if(this._easeFrameId&&(this._cancelRenderFrame(this._easeFrameId),delete this._easeFrameId,delete this._onEaseFrame),this._onEaseEnd){var Te=this._onEaseEnd;delete this._onEaseEnd,Te.call(this,le)}if(!K){var De=this.handlers;De&&De.stop()}return this},ee.prototype._ease=function(K,le,Te){Te.animate===!1||Te.duration===0?(K(1),le()):(this._easeStart=i.browser.now(),this._easeOptions=Te,this._onEaseFrame=K,this._onEaseEnd=le,this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback))},ee.prototype._renderFrameCallback=function(){var K=Math.min((i.browser.now()-this._easeStart)/this._easeOptions.duration,1);this._onEaseFrame(this._easeOptions.easing(K)),K<1?this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback):this.stop()},ee.prototype._normalizeBearing=function(K,le){K=i.wrap(K,-180,180);var Te=Math.abs(K-le);return Math.abs(K-360-le)180?-360:Te<-180?360:0}},ee}(i.Evented),os=function(Y){Y===void 0&&(Y={}),this.options=Y,i.bindAll(["_updateEditLink","_updateData","_updateCompact"],this)};os.prototype.getDefaultPosition=function(){return"bottom-right"},os.prototype.onAdd=function(Y){var ee=this.options&&this.options.compact;return this._map=Y,this._container=v.create("div","mapboxgl-ctrl mapboxgl-ctrl-attrib"),this._innerContainer=v.create("div","mapboxgl-ctrl-attrib-inner",this._container),ee&&this._container.classList.add("mapboxgl-compact"),this._updateAttributions(),this._updateEditLink(),this._map.on("styledata",this._updateData),this._map.on("sourcedata",this._updateData),this._map.on("moveend",this._updateEditLink),ee===void 0&&(this._map.on("resize",this._updateCompact),this._updateCompact()),this._container},os.prototype.onRemove=function(){v.remove(this._container),this._map.off("styledata",this._updateData),this._map.off("sourcedata",this._updateData),this._map.off("moveend",this._updateEditLink),this._map.off("resize",this._updateCompact),this._map=void 0,this._attribHTML=void 0},os.prototype._updateEditLink=function(){var Y=this._editLink;Y||(Y=this._editLink=this._container.querySelector(".mapbox-improve-map"));var ee=[{key:"owner",value:this.styleOwner},{key:"id",value:this.styleId},{key:"access_token",value:this._map._requestManager._customAccessToken||i.config.ACCESS_TOKEN}];if(Y){var K=ee.reduce(function(le,Te,De){return Te.value&&(le+=Te.key+"="+Te.value+(De=0)return!1;return!0})).join(" | ");He!==this._attribHTML&&(this._attribHTML=He,Y.length?(this._innerContainer.innerHTML=He,this._container.classList.remove("mapboxgl-attrib-empty")):this._container.classList.add("mapboxgl-attrib-empty"),this._editLink=null)}},os.prototype._updateCompact=function(){this._map.getCanvasContainer().offsetWidth<=640?this._container.classList.add("mapboxgl-compact"):this._container.classList.remove("mapboxgl-compact")};var _s=function(){i.bindAll(["_updateLogo"],this),i.bindAll(["_updateCompact"],this)};_s.prototype.onAdd=function(Y){this._map=Y,this._container=v.create("div","mapboxgl-ctrl");var ee=v.create("a","mapboxgl-ctrl-logo");return ee.target="_blank",ee.rel="noopener nofollow",ee.href="https://www.mapbox.com/",ee.setAttribute("aria-label",this._map._getUIString("LogoControl.Title")),ee.setAttribute("rel","noopener nofollow"),this._container.appendChild(ee),this._container.style.display="none",this._map.on("sourcedata",this._updateLogo),this._updateLogo(),this._map.on("resize",this._updateCompact),this._updateCompact(),this._container},_s.prototype.onRemove=function(){v.remove(this._container),this._map.off("sourcedata",this._updateLogo),this._map.off("resize",this._updateCompact)},_s.prototype.getDefaultPosition=function(){return"bottom-left"},_s.prototype._updateLogo=function(Y){Y&&Y.sourceDataType!=="metadata"||(this._container.style.display=this._logoRequired()?"block":"none")},_s.prototype._logoRequired=function(){if(this._map.style){var Y=this._map.style.sourceCaches;for(var ee in Y)if(Y[ee].getSource().mapbox_logo)return!0;return!1}},_s.prototype._updateCompact=function(){var Y=this._container.children;if(Y.length){var ee=Y[0];this._map.getCanvasContainer().offsetWidth<250?ee.classList.add("mapboxgl-compact"):ee.classList.remove("mapboxgl-compact")}};var Gs=function(){this._queue=[],this._id=0,this._cleared=!1,this._currentlyRunning=!1};Gs.prototype.add=function(Y){var ee=++this._id;return this._queue.push({callback:Y,id:ee,cancelled:!1}),ee},Gs.prototype.remove=function(Y){for(var ee=this._currentlyRunning,K=0,le=ee?this._queue.concat(ee):this._queue;Kle.maxZoom)throw new Error("maxZoom must be greater than or equal to minZoom");if(le.minPitch!=null&&le.maxPitch!=null&&le.minPitch>le.maxPitch)throw new Error("maxPitch must be greater than or equal to minPitch");if(le.minPitch!=null&&le.minPitch<0)throw new Error("minPitch must be greater than or equal to 0");if(le.maxPitch!=null&&le.maxPitch>No)throw new Error("maxPitch must be less than or equal to 60");var De=new Oi(le.minZoom,le.maxZoom,le.minPitch,le.maxPitch,le.renderWorldCopies);if(Y.call(this,De,le),this._interactive=le.interactive,this._maxTileCacheSize=le.maxTileCacheSize,this._failIfMajorPerformanceCaveat=le.failIfMajorPerformanceCaveat,this._preserveDrawingBuffer=le.preserveDrawingBuffer,this._antialias=le.antialias,this._trackResize=le.trackResize,this._bearingSnap=le.bearingSnap,this._refreshExpiredTiles=le.refreshExpiredTiles,this._fadeDuration=le.fadeDuration,this._crossSourceCollisions=le.crossSourceCollisions,this._crossFadingFactor=1,this._collectResourceTiming=le.collectResourceTiming,this._renderTaskQueue=new Gs,this._controls=[],this._mapId=i.uniqueId(),this._locale=i.extend({},Bo,le.locale),this._requestManager=new i.RequestManager(le.transformRequest,le.accessToken),typeof le.container=="string"){if(this._container=i.window.document.getElementById(le.container),!this._container)throw new Error("Container '"+le.container+"' not found.")}else{if(!(le.container instanceof no))throw new Error("Invalid type: 'container' must be a String or HTMLElement.");this._container=le.container}if(le.maxBounds&&this.setMaxBounds(le.maxBounds),i.bindAll(["_onWindowOnline","_onWindowResize","_contextLost","_contextRestored"],this),this._setupContainer(),this._setupPainter(),this.painter===void 0)throw new Error("Failed to initialize WebGL.");this.on("move",function(){return Te._update(!1)}),this.on("moveend",function(){return Te._update(!1)}),this.on("zoom",function(){return Te._update(!0)}),i.window!==void 0&&(i.window.addEventListener("online",this._onWindowOnline,!1),i.window.addEventListener("resize",this._onWindowResize,!1)),this.handlers=new Yi(this,le);var He=typeof le.hash=="string"&&le.hash||void 0;this._hash=le.hash&&new ol(He).addTo(this),this._hash&&this._hash._onHashChange()||(this.jumpTo({center:le.center,zoom:le.zoom,bearing:le.bearing,pitch:le.pitch}),le.bounds&&(this.resize(),this.fitBounds(le.bounds,i.extend({},le.fitBoundsOptions,{duration:0})))),this.resize(),this._localIdeographFontFamily=le.localIdeographFontFamily,le.style&&this.setStyle(le.style,{localIdeographFontFamily:le.localIdeographFontFamily}),le.attributionControl&&this.addControl(new os({customAttribution:le.customAttribution})),this.addControl(new _s,le.logoPosition),this.on("style.load",function(){Te.transform.unmodified&&Te.jumpTo(Te.style.stylesheet)}),this.on("data",function(Ze){Te._update(Ze.dataType==="style"),Te.fire(new i.Event(Ze.dataType+"data",Ze))}),this.on("dataloading",function(Ze){Te.fire(new i.Event(Ze.dataType+"dataloading",Ze))})}Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee;var K={showTileBoundaries:{configurable:!0},showPadding:{configurable:!0},showCollisionBoxes:{configurable:!0},showOverdrawInspector:{configurable:!0},repaint:{configurable:!0},vertices:{configurable:!0},version:{configurable:!0}};return ee.prototype._getMapId=function(){return this._mapId},ee.prototype.addControl=function(le,Te){if(Te===void 0&&le.getDefaultPosition&&(Te=le.getDefaultPosition()),Te===void 0&&(Te="top-right"),!le||!le.onAdd)return this.fire(new i.ErrorEvent(new Error("Invalid argument to map.addControl(). Argument must be a control with onAdd and onRemove methods.")));var De=le.onAdd(this);this._controls.push(le);var He=this._controlPositions[Te];return Te.indexOf("bottom")!==-1?He.insertBefore(De,He.firstChild):He.appendChild(De),this},ee.prototype.removeControl=function(le){if(!le||!le.onRemove)return this.fire(new i.ErrorEvent(new Error("Invalid argument to map.removeControl(). Argument must be a control with onAdd and onRemove methods.")));var Te=this._controls.indexOf(le);return Te>-1&&this._controls.splice(Te,1),le.onRemove(this),this},ee.prototype.resize=function(le){var Te=this._containerDimensions(),De=Te[0],He=Te[1];this._resizeCanvas(De,He),this.transform.resize(De,He),this.painter.resize(De,He);var Ze=!this._moving;return Ze&&(this.stop(),this.fire(new i.Event("movestart",le)).fire(new i.Event("move",le))),this.fire(new i.Event("resize",le)),Ze&&this.fire(new i.Event("moveend",le)),this},ee.prototype.getBounds=function(){return this.transform.getBounds()},ee.prototype.getMaxBounds=function(){return this.transform.getMaxBounds()},ee.prototype.setMaxBounds=function(le){return this.transform.setMaxBounds(i.LngLatBounds.convert(le)),this._update()},ee.prototype.setMinZoom=function(le){if((le=le??-2)>=-2&&le<=this.transform.maxZoom)return this.transform.minZoom=le,this._update(),this.getZoom()=this.transform.minZoom)return this.transform.maxZoom=le,this._update(),this.getZoom()>le&&this.setZoom(le),this;throw new Error("maxZoom must be greater than the current minZoom")},ee.prototype.getMaxZoom=function(){return this.transform.maxZoom},ee.prototype.setMinPitch=function(le){if((le=le??0)<0)throw new Error("minPitch must be greater than or equal to 0");if(le>=0&&le<=this.transform.maxPitch)return this.transform.minPitch=le,this._update(),this.getPitch()No)throw new Error("maxPitch must be less than or equal to 60");if(le>=this.transform.minPitch)return this.transform.maxPitch=le,this._update(),this.getPitch()>le&&this.setPitch(le),this;throw new Error("maxPitch must be greater than the current minPitch")},ee.prototype.getMaxPitch=function(){return this.transform.maxPitch},ee.prototype.getRenderWorldCopies=function(){return this.transform.renderWorldCopies},ee.prototype.setRenderWorldCopies=function(le){return this.transform.renderWorldCopies=le,this._update()},ee.prototype.project=function(le){return this.transform.locationPoint(i.LngLat.convert(le))},ee.prototype.unproject=function(le){return this.transform.pointLocation(i.Point.convert(le))},ee.prototype.isMoving=function(){return this._moving||this.handlers.isMoving()},ee.prototype.isZooming=function(){return this._zooming||this.handlers.isZooming()},ee.prototype.isRotating=function(){return this._rotating||this.handlers.isRotating()},ee.prototype._createDelegatedListener=function(le,Te,De){var He,Ze=this;if(le==="mouseenter"||le==="mouseover"){var at=!1;return{layer:Te,listener:De,delegates:{mousemove:function(At){var se=Ze.getLayer(Te)?Ze.queryRenderedFeatures(At.point,{layers:[Te]}):[];se.length?at||(at=!0,De.call(Ze,new da(le,Ze,At.originalEvent,{features:se}))):at=!1},mouseout:function(){at=!1}}}}if(le==="mouseleave"||le==="mouseout"){var Tt=!1;return{layer:Te,listener:De,delegates:{mousemove:function(At){(Ze.getLayer(Te)?Ze.queryRenderedFeatures(At.point,{layers:[Te]}):[]).length?Tt=!0:Tt&&(Tt=!1,De.call(Ze,new da(le,Ze,At.originalEvent)))},mouseout:function(At){Tt&&(Tt=!1,De.call(Ze,new da(le,Ze,At.originalEvent)))}}}}return{layer:Te,listener:De,delegates:(He={},He[le]=function(At){var se=Ze.getLayer(Te)?Ze.queryRenderedFeatures(At.point,{layers:[Te]}):[];se.length&&(At.features=se,De.call(Ze,At),delete At.features)},He)}},ee.prototype.on=function(le,Te,De){if(De===void 0)return Y.prototype.on.call(this,le,Te);var He=this._createDelegatedListener(le,Te,De);for(var Ze in this._delegatedListeners=this._delegatedListeners||{},this._delegatedListeners[le]=this._delegatedListeners[le]||[],this._delegatedListeners[le].push(He),He.delegates)this.on(Ze,He.delegates[Ze]);return this},ee.prototype.once=function(le,Te,De){if(De===void 0)return Y.prototype.once.call(this,le,Te);var He=this._createDelegatedListener(le,Te,De);for(var Ze in He.delegates)this.once(Ze,He.delegates[Ze]);return this},ee.prototype.off=function(le,Te,De){var He=this;return De===void 0?Y.prototype.off.call(this,le,Te):(this._delegatedListeners&&this._delegatedListeners[le]&&function(Ze){for(var at=Ze[le],Tt=0;Tt180;){var He=K.locationPoint(Y);if(He.x>=0&&He.y>=0&&He.x<=K.width&&He.y<=K.height)break;Y.lng>K.center.lng?Y.lng-=360:Y.lng+=360}return Y}Hr.prototype.down=function(Y,ee){this.mouseRotate.mousedown(Y,ee),this.mousePitch&&this.mousePitch.mousedown(Y,ee),v.disableDrag()},Hr.prototype.move=function(Y,ee){var K=this.map,le=this.mouseRotate.mousemoveWindow(Y,ee);if(le&&le.bearingDelta&&K.setBearing(K.getBearing()+le.bearingDelta),this.mousePitch){var Te=this.mousePitch.mousemoveWindow(Y,ee);Te&&Te.pitchDelta&&K.setPitch(K.getPitch()+Te.pitchDelta)}},Hr.prototype.off=function(){var Y=this.element;v.removeEventListener(Y,"mousedown",this.mousedown),v.removeEventListener(Y,"touchstart",this.touchstart,{passive:!1}),v.removeEventListener(Y,"touchmove",this.touchmove),v.removeEventListener(Y,"touchend",this.touchend),v.removeEventListener(Y,"touchcancel",this.reset),this.offTemp()},Hr.prototype.offTemp=function(){v.enableDrag(),v.removeEventListener(i.window,"mousemove",this.mousemove),v.removeEventListener(i.window,"mouseup",this.mouseup)},Hr.prototype.mousedown=function(Y){this.down(i.extend({},Y,{ctrlKey:!0,preventDefault:function(){return Y.preventDefault()}}),v.mousePos(this.element,Y)),v.addEventListener(i.window,"mousemove",this.mousemove),v.addEventListener(i.window,"mouseup",this.mouseup)},Hr.prototype.mousemove=function(Y){this.move(Y,v.mousePos(this.element,Y))},Hr.prototype.mouseup=function(Y){this.mouseRotate.mouseupWindow(Y),this.mousePitch&&this.mousePitch.mouseupWindow(Y),this.offTemp()},Hr.prototype.touchstart=function(Y){Y.targetTouches.length!==1?this.reset():(this._startPos=this._lastPos=v.touchPos(this.element,Y.targetTouches)[0],this.down({type:"mousedown",button:0,ctrlKey:!0,preventDefault:function(){return Y.preventDefault()}},this._startPos))},Hr.prototype.touchmove=function(Y){Y.targetTouches.length!==1?this.reset():(this._lastPos=v.touchPos(this.element,Y.targetTouches)[0],this.move({preventDefault:function(){return Y.preventDefault()}},this._lastPos))},Hr.prototype.touchend=function(Y){Y.targetTouches.length===0&&this._startPos&&this._lastPos&&this._startPos.dist(this._lastPos)le.getEast()||Te.latitudele.getNorth())},ee.prototype._setErrorState=function(){switch(this._watchState){case"WAITING_ACTIVE":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"ACTIVE_LOCK":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting");break;case"BACKGROUND":this._watchState="BACKGROUND_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting")}},ee.prototype._onSuccess=function(K){if(this._map){if(this._isOutOfMapMaxBounds(K))return this._setErrorState(),this.fire(new i.Event("outofmaxbounds",K)),this._updateMarker(),void this._finish();if(this.options.trackUserLocation)switch(this._lastKnownPosition=K,this._watchState){case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"BACKGROUND":case"BACKGROUND_ERROR":this._watchState="BACKGROUND",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background")}this.options.showUserLocation&&this._watchState!=="OFF"&&this._updateMarker(K),this.options.trackUserLocation&&this._watchState!=="ACTIVE_LOCK"||this._updateCamera(K),this.options.showUserLocation&&this._dotElement.classList.remove("mapboxgl-user-location-dot-stale"),this.fire(new i.Event("geolocate",K)),this._finish()}},ee.prototype._updateCamera=function(K){var le=new i.LngLat(K.coords.longitude,K.coords.latitude),Te=K.coords.accuracy,De=this._map.getBearing(),He=i.extend({bearing:De},this.options.fitBoundsOptions);this._map.fitBounds(le.toBounds(Te),He,{geolocateSource:!0})},ee.prototype._updateMarker=function(K){if(K){var le=new i.LngLat(K.coords.longitude,K.coords.latitude);this._accuracyCircleMarker.setLngLat(le).addTo(this._map),this._userLocationDotMarker.setLngLat(le).addTo(this._map),this._accuracy=K.coords.accuracy,this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()}else this._userLocationDotMarker.remove(),this._accuracyCircleMarker.remove()},ee.prototype._updateCircleRadius=function(){var K=this._map._container.clientHeight/2,le=this._map.unproject([0,K]),Te=this._map.unproject([1,K]),De=le.distanceTo(Te),He=Math.ceil(2*this._accuracy/De);this._circleElement.style.width=He+"px",this._circleElement.style.height=He+"px"},ee.prototype._onZoom=function(){this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()},ee.prototype._onError=function(K){if(this._map){if(this.options.trackUserLocation)if(K.code===1){this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.disabled=!0;var le=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.title=le,this._geolocateButton.setAttribute("aria-label",le),this._geolocationWatchID!==void 0&&this._clearWatch()}else{if(K.code===3&&ju)return;this._setErrorState()}this._watchState!=="OFF"&&this.options.showUserLocation&&this._dotElement.classList.add("mapboxgl-user-location-dot-stale"),this.fire(new i.Event("error",K)),this._finish()}},ee.prototype._finish=function(){this._timeoutId&&clearTimeout(this._timeoutId),this._timeoutId=void 0},ee.prototype._setupUI=function(K){var le=this;if(this._container.addEventListener("contextmenu",function(He){return He.preventDefault()}),this._geolocateButton=v.create("button","mapboxgl-ctrl-geolocate",this._container),v.create("span","mapboxgl-ctrl-icon",this._geolocateButton).setAttribute("aria-hidden",!0),this._geolocateButton.type="button",K===!1){i.warnOnce("Geolocation support is not available so the GeolocateControl will be disabled.");var Te=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.disabled=!0,this._geolocateButton.title=Te,this._geolocateButton.setAttribute("aria-label",Te)}else{var De=this._map._getUIString("GeolocateControl.FindMyLocation");this._geolocateButton.title=De,this._geolocateButton.setAttribute("aria-label",De)}this.options.trackUserLocation&&(this._geolocateButton.setAttribute("aria-pressed","false"),this._watchState="OFF"),this.options.showUserLocation&&(this._dotElement=v.create("div","mapboxgl-user-location-dot"),this._userLocationDotMarker=new xo(this._dotElement),this._circleElement=v.create("div","mapboxgl-user-location-accuracy-circle"),this._accuracyCircleMarker=new xo({element:this._circleElement,pitchAlignment:"map"}),this.options.trackUserLocation&&(this._watchState="OFF"),this._map.on("zoom",this._onZoom)),this._geolocateButton.addEventListener("click",this.trigger.bind(this)),this._setup=!0,this.options.trackUserLocation&&this._map.on("movestart",function(He){var Ze=He.originalEvent&&He.originalEvent.type==="resize";He.geolocateSource||le._watchState!=="ACTIVE_LOCK"||Ze||(le._watchState="BACKGROUND",le._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background"),le._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),le.fire(new i.Event("trackuserlocationend")))})},ee.prototype.trigger=function(){if(!this._setup)return i.warnOnce("Geolocate control triggered before added to a map"),!1;if(this.options.trackUserLocation){switch(this._watchState){case"OFF":this._watchState="WAITING_ACTIVE",this.fire(new i.Event("trackuserlocationstart"));break;case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":case"BACKGROUND_ERROR":Vo--,ju=!1,this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this.fire(new i.Event("trackuserlocationend"));break;case"BACKGROUND":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._lastKnownPosition&&this._updateCamera(this._lastKnownPosition),this.fire(new i.Event("trackuserlocationstart"))}switch(this._watchState){case"WAITING_ACTIVE":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_LOCK":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"BACKGROUND":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background");break;case"BACKGROUND_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error")}if(this._watchState==="OFF"&&this._geolocationWatchID!==void 0)this._clearWatch();else if(this._geolocationWatchID===void 0){var K;this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","true"),++Vo>1?(K={maximumAge:6e5,timeout:0},ju=!0):(K=this.options.positionOptions,ju=!1),this._geolocationWatchID=i.window.navigator.geolocation.watchPosition(this._onSuccess,this._onError,K)}}else i.window.navigator.geolocation.getCurrentPosition(this._onSuccess,this._onError,this.options.positionOptions),this._timeoutId=setTimeout(this._finish,1e4);return!0},ee.prototype._clearWatch=function(){i.window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0,this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","false"),this.options.showUserLocation&&this._updateMarker(null)},ee}(i.Evented),Ji={maxWidth:100,unit:"metric"},la=function(Y){this.options=i.extend({},Ji,Y),i.bindAll(["_onMove","setUnit"],this)};function Xc(Y,ee,K){var le=K&&K.maxWidth||100,Te=Y._container.clientHeight/2,De=Y.unproject([0,Te]),He=Y.unproject([le,Te]),Ze=De.distanceTo(He);if(K&&K.unit==="imperial"){var at=3.2808*Ze;at>5280?et(ee,le,at/5280,Y._getUIString("ScaleControl.Miles")):et(ee,le,at,Y._getUIString("ScaleControl.Feet"))}else K&&K.unit==="nautical"?et(ee,le,Ze/1852,Y._getUIString("ScaleControl.NauticalMiles")):Ze>=1e3?et(ee,le,Ze/1e3,Y._getUIString("ScaleControl.Kilometers")):et(ee,le,Ze,Y._getUIString("ScaleControl.Meters"))}function et(Y,ee,K,le){var Te,De,He,Ze=(Te=K,(De=Math.pow(10,(""+Math.floor(Te)).length-1))*((He=Te/De)>=10?10:He>=5?5:He>=3?3:He>=2?2:He>=1?1:function(Tt){var At=Math.pow(10,Math.ceil(-Math.log(Tt)/Math.LN10));return Math.round(Tt*At)/At}(He))),at=Ze/K;Y.style.width=ee*at+"px",Y.innerHTML=Ze+" "+le}la.prototype.getDefaultPosition=function(){return"bottom-left"},la.prototype._onMove=function(){Xc(this._map,this._container,this.options)},la.prototype.onAdd=function(Y){return this._map=Y,this._container=v.create("div","mapboxgl-ctrl mapboxgl-ctrl-scale",Y.getContainer()),this._map.on("move",this._onMove),this._onMove(),this._container},la.prototype.onRemove=function(){v.remove(this._container),this._map.off("move",this._onMove),this._map=void 0},la.prototype.setUnit=function(Y){this.options.unit=Y,Xc(this._map,this._container,this.options)};var rt=function(Y){this._fullscreen=!1,Y&&Y.container&&(Y.container instanceof i.window.HTMLElement?this._container=Y.container:i.warnOnce("Full screen control 'container' must be a DOM element.")),i.bindAll(["_onClickFullscreen","_changeIcon"],this),"onfullscreenchange"in i.window.document?this._fullscreenchange="fullscreenchange":"onmozfullscreenchange"in i.window.document?this._fullscreenchange="mozfullscreenchange":"onwebkitfullscreenchange"in i.window.document?this._fullscreenchange="webkitfullscreenchange":"onmsfullscreenchange"in i.window.document&&(this._fullscreenchange="MSFullscreenChange")};rt.prototype.onAdd=function(Y){return this._map=Y,this._container||(this._container=this._map.getContainer()),this._controlContainer=v.create("div","mapboxgl-ctrl mapboxgl-ctrl-group"),this._checkFullscreenSupport()?this._setupUI():(this._controlContainer.style.display="none",i.warnOnce("This device does not support fullscreen mode.")),this._controlContainer},rt.prototype.onRemove=function(){v.remove(this._controlContainer),this._map=null,i.window.document.removeEventListener(this._fullscreenchange,this._changeIcon)},rt.prototype._checkFullscreenSupport=function(){return!!(i.window.document.fullscreenEnabled||i.window.document.mozFullScreenEnabled||i.window.document.msFullscreenEnabled||i.window.document.webkitFullscreenEnabled)},rt.prototype._setupUI=function(){var Y=this._fullscreenButton=v.create("button","mapboxgl-ctrl-fullscreen",this._controlContainer);v.create("span","mapboxgl-ctrl-icon",Y).setAttribute("aria-hidden",!0),Y.type="button",this._updateTitle(),this._fullscreenButton.addEventListener("click",this._onClickFullscreen),i.window.document.addEventListener(this._fullscreenchange,this._changeIcon)},rt.prototype._updateTitle=function(){var Y=this._getTitle();this._fullscreenButton.setAttribute("aria-label",Y),this._fullscreenButton.title=Y},rt.prototype._getTitle=function(){return this._map._getUIString(this._isFullscreen()?"FullscreenControl.Exit":"FullscreenControl.Enter")},rt.prototype._isFullscreen=function(){return this._fullscreen},rt.prototype._changeIcon=function(){(i.window.document.fullscreenElement||i.window.document.mozFullScreenElement||i.window.document.webkitFullscreenElement||i.window.document.msFullscreenElement)===this._container!==this._fullscreen&&(this._fullscreen=!this._fullscreen,this._fullscreenButton.classList.toggle("mapboxgl-ctrl-shrink"),this._fullscreenButton.classList.toggle("mapboxgl-ctrl-fullscreen"),this._updateTitle())},rt.prototype._onClickFullscreen=function(){this._isFullscreen()?i.window.document.exitFullscreen?i.window.document.exitFullscreen():i.window.document.mozCancelFullScreen?i.window.document.mozCancelFullScreen():i.window.document.msExitFullscreen?i.window.document.msExitFullscreen():i.window.document.webkitCancelFullScreen&&i.window.document.webkitCancelFullScreen():this._container.requestFullscreen?this._container.requestFullscreen():this._container.mozRequestFullScreen?this._container.mozRequestFullScreen():this._container.msRequestFullscreen?this._container.msRequestFullscreen():this._container.webkitRequestFullscreen&&this._container.webkitRequestFullscreen()};var ct={closeButton:!0,closeOnClick:!0,className:"",maxWidth:"240px"},vt=function(Y){function ee(K){Y.call(this),this.options=i.extend(Object.create(ct),K),i.bindAll(["_update","_onClose","remove","_onMouseMove","_onMouseUp","_onDrag"],this)}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee.prototype.addTo=function(K){return this._map&&this.remove(),this._map=K,this.options.closeOnClick&&this._map.on("click",this._onClose),this.options.closeOnMove&&this._map.on("move",this._onClose),this._map.on("remove",this.remove),this._update(),this._trackPointer?(this._map.on("mousemove",this._onMouseMove),this._map.on("mouseup",this._onMouseUp),this._container&&this._container.classList.add("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("mapboxgl-track-pointer")):this._map.on("move",this._update),this.fire(new i.Event("open")),this},ee.prototype.isOpen=function(){return!!this._map},ee.prototype.remove=function(){return this._content&&v.remove(this._content),this._container&&(v.remove(this._container),delete this._container),this._map&&(this._map.off("move",this._update),this._map.off("move",this._onClose),this._map.off("click",this._onClose),this._map.off("remove",this.remove),this._map.off("mousemove",this._onMouseMove),this._map.off("mouseup",this._onMouseUp),this._map.off("drag",this._onDrag),delete this._map),this.fire(new i.Event("close")),this},ee.prototype.getLngLat=function(){return this._lngLat},ee.prototype.setLngLat=function(K){return this._lngLat=i.LngLat.convert(K),this._pos=null,this._trackPointer=!1,this._update(),this._map&&(this._map.on("move",this._update),this._map.off("mousemove",this._onMouseMove),this._container&&this._container.classList.remove("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.remove("mapboxgl-track-pointer")),this},ee.prototype.trackPointer=function(){return this._trackPointer=!0,this._pos=null,this._update(),this._map&&(this._map.off("move",this._update),this._map.on("mousemove",this._onMouseMove),this._map.on("drag",this._onDrag),this._container&&this._container.classList.add("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("mapboxgl-track-pointer")),this},ee.prototype.getElement=function(){return this._container},ee.prototype.setText=function(K){return this.setDOMContent(i.window.document.createTextNode(K))},ee.prototype.setHTML=function(K){var le,Te=i.window.document.createDocumentFragment(),De=i.window.document.createElement("body");for(De.innerHTML=K;le=De.firstChild;)Te.appendChild(le);return this.setDOMContent(Te)},ee.prototype.getMaxWidth=function(){return this._container&&this._container.style.maxWidth},ee.prototype.setMaxWidth=function(K){return this.options.maxWidth=K,this._update(),this},ee.prototype.setDOMContent=function(K){return this._createContent(),this._content.appendChild(K),this._update(),this},ee.prototype.addClassName=function(K){this._container&&this._container.classList.add(K)},ee.prototype.removeClassName=function(K){this._container&&this._container.classList.remove(K)},ee.prototype.toggleClassName=function(K){if(this._container)return this._container.classList.toggle(K)},ee.prototype._createContent=function(){this._content&&v.remove(this._content),this._content=v.create("div","mapboxgl-popup-content",this._container),this.options.closeButton&&(this._closeButton=v.create("button","mapboxgl-popup-close-button",this._content),this._closeButton.type="button",this._closeButton.setAttribute("aria-label","Close popup"),this._closeButton.innerHTML="×",this._closeButton.addEventListener("click",this._onClose))},ee.prototype._onMouseUp=function(K){this._update(K.point)},ee.prototype._onMouseMove=function(K){this._update(K.point)},ee.prototype._onDrag=function(K){this._update(K.point)},ee.prototype._update=function(K){var le=this,Te=this._lngLat||this._trackPointer;if(this._map&&Te&&this._content&&(this._container||(this._container=v.create("div","mapboxgl-popup",this._map.getContainer()),this._tip=v.create("div","mapboxgl-popup-tip",this._container),this._container.appendChild(this._content),this.options.className&&this.options.className.split(" ").forEach(function(ve){return le._container.classList.add(ve)}),this._trackPointer&&this._container.classList.add("mapboxgl-popup-track-pointer")),this.options.maxWidth&&this._container.style.maxWidth!==this.options.maxWidth&&(this._container.style.maxWidth=this.options.maxWidth),this._map.transform.renderWorldCopies&&!this._trackPointer&&(this._lngLat=ni(this._lngLat,this._pos,this._map.transform)),!this._trackPointer||K)){var De=this._pos=this._trackPointer&&K?K:this._map.project(this._lngLat),He=this.options.anchor,Ze=St(this.options.offset);if(!He){var at,Tt=this._container.offsetWidth,At=this._container.offsetHeight;at=De.y+Ze.bottom.ythis._map.transform.height-At?["bottom"]:[],De.xthis._map.transform.width-Tt/2&&at.push("right"),He=at.length===0?"bottom":at.join("-")}var se=De.add(Ze[He]).round();v.setTransform(this._container,Vu[He]+" translate("+se.x+"px,"+se.y+"px)"),cl(this._container,He,"popup")}},ee.prototype._onClose=function(){this.remove()},ee}(i.Evented);function St(Y){if(Y){if(typeof Y=="number"){var ee=Math.round(Math.sqrt(.5*Math.pow(Y,2)));return{center:new i.Point(0,0),top:new i.Point(0,Y),"top-left":new i.Point(ee,ee),"top-right":new i.Point(-ee,ee),bottom:new i.Point(0,-Y),"bottom-left":new i.Point(ee,-ee),"bottom-right":new i.Point(-ee,-ee),left:new i.Point(Y,0),right:new i.Point(-Y,0)}}if(Y instanceof i.Point||Array.isArray(Y)){var K=i.Point.convert(Y);return{center:K,top:K,"top-left":K,"top-right":K,bottom:K,"bottom-left":K,"bottom-right":K,left:K,right:K}}return{center:i.Point.convert(Y.center||[0,0]),top:i.Point.convert(Y.top||[0,0]),"top-left":i.Point.convert(Y["top-left"]||[0,0]),"top-right":i.Point.convert(Y["top-right"]||[0,0]),bottom:i.Point.convert(Y.bottom||[0,0]),"bottom-left":i.Point.convert(Y["bottom-left"]||[0,0]),"bottom-right":i.Point.convert(Y["bottom-right"]||[0,0]),left:i.Point.convert(Y.left||[0,0]),right:i.Point.convert(Y.right||[0,0])}}return St(new i.Point(0,0))}var Mt={version:i.version,supported:M,setRTLTextPlugin:i.setRTLTextPlugin,getRTLTextPluginStatus:i.getRTLTextPluginStatus,Map:Ol,NavigationControl:ws,GeolocateControl:hl,AttributionControl:os,ScaleControl:la,FullscreenControl:rt,Popup:vt,Marker:xo,Style:dr,LngLat:i.LngLat,LngLatBounds:i.LngLatBounds,Point:i.Point,MercatorCoordinate:i.MercatorCoordinate,Evented:i.Evented,config:i.config,prewarm:function(){Lt().acquire(ut)},clearPrewarmedResources:function(){var Y=_t;Y&&(Y.isPreloaded()&&Y.numActive()===1?(Y.release(ut),_t=null):console.warn("Could not clear WebWorkers since there are active Map instances that still reference it. The pre-warmed WebWorker pool can only be cleared when all map instances have been removed with map.remove()"))},get accessToken(){return i.config.ACCESS_TOKEN},set accessToken(Y){i.config.ACCESS_TOKEN=Y},get baseApiUrl(){return i.config.API_URL},set baseApiUrl(Y){i.config.API_URL=Y},get workerCount(){return dt.workerCount},set workerCount(Y){dt.workerCount=Y},get maxParallelImageRequests(){return i.config.MAX_PARALLEL_IMAGE_REQUESTS},set maxParallelImageRequests(Y){i.config.MAX_PARALLEL_IMAGE_REQUESTS=Y},clearStorage:function(Y){i.clearTileCache(Y)},workerUrl:""};return Mt}),d}()},27084:function(T){T.exports=Math.log2||function(p){return Math.log(p)*Math.LOG2E}},16825:function(T,p,t){T.exports=function(g,i){i||(i=g,g=window);var M=0,v=0,f=0,l={shift:!1,alt:!1,control:!1,meta:!1},a=!1;function u(k){var E=!1;return"altKey"in k&&(E=E||k.altKey!==l.alt,l.alt=!!k.altKey),"shiftKey"in k&&(E=E||k.shiftKey!==l.shift,l.shift=!!k.shiftKey),"ctrlKey"in k&&(E=E||k.ctrlKey!==l.control,l.control=!!k.ctrlKey),"metaKey"in k&&(E=E||k.metaKey!==l.meta,l.meta=!!k.metaKey),E}function o(k,E){var x=d.x(E),A=d.y(E);"buttons"in E&&(k=0|E.buttons),(k!==M||x!==v||A!==f||u(E))&&(M=0|k,v=x||0,f=A||0,i&&i(M,v,f,l))}function s(k){o(0,k)}function c(){(M||v||f||l.shift||l.alt||l.meta||l.control)&&(v=f=0,M=0,l.shift=l.alt=l.control=l.meta=!1,i&&i(0,0,0,l))}function h(k){u(k)&&i&&i(M,v,f,l)}function m(k){d.buttons(k)===0?o(0,k):o(M,k)}function w(k){o(M|d.buttons(k),k)}function y(k){o(M&~d.buttons(k),k)}function S(){a||(a=!0,g.addEventListener("mousemove",m),g.addEventListener("mousedown",w),g.addEventListener("mouseup",y),g.addEventListener("mouseleave",s),g.addEventListener("mouseenter",s),g.addEventListener("mouseout",s),g.addEventListener("mouseover",s),g.addEventListener("blur",c),g.addEventListener("keyup",h),g.addEventListener("keydown",h),g.addEventListener("keypress",h),g!==window&&(window.addEventListener("blur",c),window.addEventListener("keyup",h),window.addEventListener("keydown",h),window.addEventListener("keypress",h)))}S();var _={element:g};return Object.defineProperties(_,{enabled:{get:function(){return a},set:function(k){k?S():a&&(a=!1,g.removeEventListener("mousemove",m),g.removeEventListener("mousedown",w),g.removeEventListener("mouseup",y),g.removeEventListener("mouseleave",s),g.removeEventListener("mouseenter",s),g.removeEventListener("mouseout",s),g.removeEventListener("mouseover",s),g.removeEventListener("blur",c),g.removeEventListener("keyup",h),g.removeEventListener("keydown",h),g.removeEventListener("keypress",h),g!==window&&(window.removeEventListener("blur",c),window.removeEventListener("keyup",h),window.removeEventListener("keydown",h),window.removeEventListener("keypress",h)))},enumerable:!0},buttons:{get:function(){return M},enumerable:!0},x:{get:function(){return v},enumerable:!0},y:{get:function(){return f},enumerable:!0},mods:{get:function(){return l},enumerable:!0}}),_};var d=t(74311)},48956:function(T){var p={left:0,top:0};T.exports=function(t,d,g){d=d||t.currentTarget||t.srcElement,Array.isArray(g)||(g=[0,0]);var i,M=t.clientX||0,v=t.clientY||0,f=(i=d)===window||i===document||i===document.body?p:i.getBoundingClientRect();return g[0]=M-f.left,g[1]=v-f.top,g}},74311:function(T,p){function t(d){return d.target||d.srcElement||window}p.buttons=function(d){if(typeof d=="object"){if("buttons"in d)return d.buttons;if("which"in d){if((g=d.which)===2)return 4;if(g===3)return 2;if(g>0)return 1<=0)return 1<0&&o(c,L))}catch(b){w.call(new S(L),b)}}}function w(x){var A=this;A.triggered||(A.triggered=!0,A.def&&(A=A.def),A.msg=x,A.state=2,A.chain.length>0&&o(c,A))}function y(x,A,L,b){for(var R=0;R1&&(a*=k=Math.sqrt(k),u*=k);var E=a*a,x=u*u,A=(s==c?-1:1)*Math.sqrt(Math.abs((E*x-E*_*_-x*S*S)/(E*_*_+x*S*S)));A==1/0&&(A=1);var L=A*a*_/u+(f+h)/2,b=A*-u*S/a+(l+m)/2,R=Math.asin(((l-b)/u).toFixed(9)),I=Math.asin(((m-b)/u).toFixed(9));(R=fI&&(R-=2*p),!c&&I>R&&(I-=2*p)}if(Math.abs(I-R)>t){var O=I,z=h,F=m;I=R+t*(c&&I>R?1:-1);var B=i(h=L+a*Math.cos(I),m=b+u*Math.sin(I),a,u,o,0,c,z,F,[I,O,L,b])}var N=Math.tan((I-R)/4),W=4/3*a*N,j=4/3*u*N,$=[2*f-(f+W*Math.sin(R)),2*l-(l-j*Math.cos(R)),h+W*Math.sin(I),m-j*Math.cos(I),h,m];if(w)return $;B&&($=$.concat(B));for(var U=0;U<$.length;){var G=M($[U],$[U+1],o);$[U++]=G.x,$[U++]=G.y}return $}function M(f,l,a){return{x:f*Math.cos(a)-l*Math.sin(a),y:f*Math.sin(a)+l*Math.cos(a)}}function v(f){return f*(p/180)}T.exports=function(f){for(var l,a=[],u=0,o=0,s=0,c=0,h=null,m=null,w=0,y=0,S=0,_=f.length;S<_;S++){var k=f[S],E=k[0];switch(E){case"M":s=k[1],c=k[2];break;case"A":(k=i(w,y,k[1],k[2],v(k[3]),k[4],k[5],k[6],k[7])).unshift("C"),k.length>7&&(a.push(k.splice(0,7)),k.unshift("C"));break;case"S":var x=w,A=y;l!="C"&&l!="S"||(x+=x-u,A+=A-o),k=["C",x,A,k[1],k[2],k[3],k[4]];break;case"T":l=="Q"||l=="T"?(h=2*w-h,m=2*y-m):(h=w,m=y),k=g(w,y,h,m,k[1],k[2]);break;case"Q":h=k[1],m=k[2],k=g(w,y,k[1],k[2],k[3],k[4]);break;case"L":k=d(w,y,k[1],k[2]);break;case"H":k=d(w,y,k[1],y);break;case"V":k=d(w,y,w,k[1]);break;case"Z":k=d(w,y,s,c)}l=E,w=k[k.length-2],y=k[k.length-1],k.length>4?(u=k[k.length-4],o=k[k.length-3]):(u=w,o=y),a.push(k)}return a}},56131:function(T){var p=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;function g(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}T.exports=function(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var M={},v=0;v<10;v++)M["_"+String.fromCharCode(v)]=v;if(Object.getOwnPropertyNames(M).map(function(l){return M[l]}).join("")!=="0123456789")return!1;var f={};return"abcdefghijklmnopqrst".split("").forEach(function(l){f[l]=l}),Object.keys(Object.assign({},f)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}()?Object.assign:function(i,M){for(var v,f,l=g(i),a=1;a"u")return!1;for(var c in window)try{if(!o["$"+c]&&g.call(window,c)&&window[c]!==null&&typeof window[c]=="object")try{u(window[c])}catch{return!0}}catch{return!0}return!1}();d=function(c){var h=c!==null&&typeof c=="object",m=i.call(c)==="[object Function]",w=M(c),y=h&&i.call(c)==="[object String]",S=[];if(!h&&!m&&!w)throw new TypeError("Object.keys called on a non-object");var _=l&&m;if(y&&c.length>0&&!g.call(c,0))for(var k=0;k0)for(var E=0;E"u"||!s)return u(b);try{return u(b)}catch{return!1}}(c),L=0;L=0&&p.call(t.callee)==="[object Function]"),g}},88641:function(T){function p(g,i){if(typeof g!="string")return[g];var M=[g];typeof i=="string"||Array.isArray(i)?i={brackets:i}:i||(i={});var v=i.brackets?Array.isArray(i.brackets)?i.brackets:[i.brackets]:["{}","[]","()"],f=i.escape||"___",l=!!i.flat;v.forEach(function(u){var o=new RegExp(["\\",u[0],"[^\\",u[0],"\\",u[1],"]*\\",u[1]].join("")),s=[];function c(h,m,w){var y=M.push(h.slice(u[0].length,-u[1].length))-1;return s.push(y),f+y+f}M.forEach(function(h,m){for(var w,y=0;h!=w;)if(w=h,h=h.replace(o,c),y++>1e4)throw Error("References have circular dependency. Please, check them.");M[m]=h}),s=s.reverse(),M=M.map(function(h){return s.forEach(function(m){h=h.replace(new RegExp("(\\"+f+m+"\\"+f+")","g"),u[0]+"$1"+u[1])}),h})});var a=new RegExp("\\"+f+"([0-9]+)\\"+f);return l?M:function u(o,s,c){for(var h,m=[],w=0;h=a.exec(o);){if(w++>1e4)throw Error("Circular references in parenthesis");m.push(o.slice(0,h.index)),m.push(u(s[h[1]],s)),o=o.slice(h.index+h[0].length)}return m.push(o),m}(M[0],M)}function t(g,i){if(i&&i.flat){var M,v=i&&i.escape||"___",f=g[0];if(!f)return"";for(var l=new RegExp("\\"+v+"([0-9]+)\\"+v),a=0;f!=M;){if(a++>1e4)throw Error("Circular references in "+g);M=f,f=f.replace(l,u)}return f}return g.reduce(function o(s,c){return Array.isArray(c)&&(c=c.reduce(o,"")),s+c},"");function u(o,s){if(g[s]==null)throw Error("Reference "+s+"is undefined");return g[s]}}function d(g,i){return Array.isArray(g)?t(g,i):p(g,i)}d.parse=p,d.stringify=t,T.exports=d},18863:function(T,p,t){var d=t(71299);T.exports=function(g){var i;return arguments.length>1&&(g=arguments),typeof g=="string"?g=g.split(/\s/).map(parseFloat):typeof g=="number"&&(g=[g]),g.length&&typeof g[0]=="number"?i=g.length===1?{width:g[0],height:g[0],x:0,y:0}:g.length===2?{width:g[0],height:g[1],x:0,y:0}:{x:g[0],y:g[1],width:g[2]-g[0]||0,height:g[3]-g[1]||0}:g&&(i={x:(g=d(g,{left:"x l left Left",top:"y t top Top",width:"w width W Width",height:"h height W Width",bottom:"b bottom Bottom",right:"r right Right"})).left||0,y:g.top||0},g.width==null?g.right?i.width=g.right-i.x:i.width=0:i.width=g.width,g.height==null?g.bottom?i.height=g.bottom-i.y:i.height=0:i.height=g.height),i}},95616:function(T){T.exports=function(g){var i=[];return g.replace(t,function(M,v,f){var l=v.toLowerCase();for(f=function(a){var u=a.match(d);return u?u.map(Number):[]}(f),l=="m"&&f.length>2&&(i.push([v].concat(f.splice(0,2))),l="l",v=v=="m"?"l":"L");;){if(f.length==p[l])return f.unshift(v),i.push(f);if(f.lengthM!=c>M&&i<(s-u)*(M-o)/(c-o)+u&&(v=!v)}return v}},52142:function(T,p,t){var d,g=t(69444),i=t(29023),M=t(87263),v=t(11328),f=t(55968),l=t(10670),a=!1,u=i();function o(s,c,h){var m=d.segments(s),w=d.segments(c),y=h(d.combine(m,w));return d.polygon(y)}d={buildLog:function(s){return s===!0?a=g():s===!1&&(a=!1),a!==!1&&a.list},epsilon:function(s){return u.epsilon(s)},segments:function(s){var c=M(!0,u,a);return s.regions.forEach(c.addRegion),{segments:c.calculate(s.inverted),inverted:s.inverted}},combine:function(s,c){return{combined:M(!1,u,a).calculate(s.segments,s.inverted,c.segments,c.inverted),inverted1:s.inverted,inverted2:c.inverted}},selectUnion:function(s){return{segments:f.union(s.combined,a),inverted:s.inverted1||s.inverted2}},selectIntersect:function(s){return{segments:f.intersect(s.combined,a),inverted:s.inverted1&&s.inverted2}},selectDifference:function(s){return{segments:f.difference(s.combined,a),inverted:s.inverted1&&!s.inverted2}},selectDifferenceRev:function(s){return{segments:f.differenceRev(s.combined,a),inverted:!s.inverted1&&s.inverted2}},selectXor:function(s){return{segments:f.xor(s.combined,a),inverted:s.inverted1!==s.inverted2}},polygon:function(s){return{regions:v(s.segments,u,a),inverted:s.inverted}},polygonFromGeoJSON:function(s){return l.toPolygon(d,s)},polygonToGeoJSON:function(s){return l.fromPolygon(d,u,s)},union:function(s,c){return o(s,c,d.selectUnion)},intersect:function(s,c){return o(s,c,d.selectIntersect)},difference:function(s,c){return o(s,c,d.selectDifference)},differenceRev:function(s,c){return o(s,c,d.selectDifferenceRev)},xor:function(s,c){return o(s,c,d.selectXor)}},typeof window=="object"&&(window.PolyBool=d),T.exports=d},69444:function(T){T.exports=function(){var p,t=0,d=!1;function g(i,M){return p.list.push({type:i,data:M?JSON.parse(JSON.stringify(M)):void 0}),p}return p={list:[],segmentId:function(){return t++},checkIntersection:function(i,M){return g("check",{seg1:i,seg2:M})},segmentChop:function(i,M){return g("div_seg",{seg:i,pt:M}),g("chop",{seg:i,pt:M})},statusRemove:function(i){return g("pop_seg",{seg:i})},segmentUpdate:function(i){return g("seg_update",{seg:i})},segmentNew:function(i,M){return g("new_seg",{seg:i,primary:M})},segmentRemove:function(i){return g("rem_seg",{seg:i})},tempStatus:function(i,M,v){return g("temp_status",{seg:i,above:M,below:v})},rewind:function(i){return g("rewind",{seg:i})},status:function(i,M,v){return g("status",{seg:i,above:M,below:v})},vert:function(i){return i===d?p:(d=i,g("vert",{x:i}))},log:function(i){return typeof i!="string"&&(i=JSON.stringify(i,!1," ")),g("log",{txt:i})},reset:function(){return g("reset")},selected:function(i){return g("selected",{segs:i})},chainStart:function(i){return g("chain_start",{seg:i})},chainRemoveHead:function(i,M){return g("chain_rem_head",{index:i,pt:M})},chainRemoveTail:function(i,M){return g("chain_rem_tail",{index:i,pt:M})},chainNew:function(i,M){return g("chain_new",{pt1:i,pt2:M})},chainMatch:function(i){return g("chain_match",{index:i})},chainClose:function(i){return g("chain_close",{index:i})},chainAddHead:function(i,M){return g("chain_add_head",{index:i,pt:M})},chainAddTail:function(i,M){return g("chain_add_tail",{index:i,pt:M})},chainConnect:function(i,M){return g("chain_con",{index1:i,index2:M})},chainReverse:function(i){return g("chain_rev",{index:i})},chainJoin:function(i,M){return g("chain_join",{index1:i,index2:M})},done:function(){return g("done")}}}},29023:function(T){T.exports=function(p){typeof p!="number"&&(p=1e-10);var t={epsilon:function(d){return typeof d=="number"&&(p=d),p},pointAboveOrOnLine:function(d,g,i){var M=g[0],v=g[1],f=i[0],l=i[1],a=d[0];return(f-M)*(d[1]-v)-(l-v)*(a-M)>=-p},pointBetween:function(d,g,i){var M=d[1]-g[1],v=i[0]-g[0],f=d[0]-g[0],l=i[1]-g[1],a=f*v+M*l;return!(a-p)},pointsSameX:function(d,g){return Math.abs(d[0]-g[0])p!=f-M>p&&(v-u)*(M-o)/(f-o)+u-i>p&&(l=!l),v=u,f=o}return l}};return t}},10670:function(T){var p={toPolygon:function(t,d){function g(v){if(v.length<=0)return t.segments({inverted:!1,regions:[]});function f(u){var o=u.slice(0,u.length-1);return t.segments({inverted:!1,regions:[o]})}for(var l=f(v[0]),a=1;a0})}function w(O,z){var F=O.seg,B=z.seg,N=F.start,W=F.end,j=B.start,$=B.end;M&&M.checkIntersection(F,B);var U=i.linesIntersect(N,W,j,$);if(U===!1){if(!i.pointsCollinear(N,W,j)||i.pointsSame(N,$)||i.pointsSame(W,j))return!1;var G=i.pointsSame(N,j),q=i.pointsSame(W,$);if(G&&q)return z;var H=!G&&i.pointBetween(N,j,$),ne=!q&&i.pointBetween(W,j,$);if(G)return ne?u(z,W):u(O,$),z;H&&(q||(ne?u(z,W):u(O,$)),u(z,N))}else U.alongA===0&&(U.alongB===-1?u(O,j):U.alongB===0?u(O,U.pt):U.alongB===1&&u(O,$)),U.alongB===0&&(U.alongA===-1?u(z,N):U.alongA===0?u(z,U.pt):U.alongA===1&&u(z,W));return!1}for(var y=[];!f.isEmpty();){var S=f.getHead();if(M&&M.vert(S.pt[0]),S.isStart){let O=function(){if(k){var z=w(S,k);if(z)return z}return!!E&&w(S,E)};var I=O;M&&M.segmentNew(S.seg,S.primary);var _=m(S),k=_.before?_.before.ev:null,E=_.after?_.after.ev:null;M&&M.tempStatus(S.seg,!!k&&k.seg,!!E&&E.seg);var x,A,L=O();if(L&&(g?(A=S.seg.myFill.below===null||S.seg.myFill.above!==S.seg.myFill.below)&&(L.seg.myFill.above=!L.seg.myFill.above):L.seg.otherFill=S.seg.myFill,M&&M.segmentUpdate(L.seg),S.other.remove(),S.remove()),f.getHead()!==S){M&&M.rewind(S.seg);continue}g?(A=S.seg.myFill.below===null||S.seg.myFill.above!==S.seg.myFill.below,S.seg.myFill.below=E?E.seg.myFill.above:s,S.seg.myFill.above=A?!S.seg.myFill.below:S.seg.myFill.below):S.seg.otherFill===null&&(x=E?S.primary===E.primary?E.seg.otherFill.above:E.seg.myFill.above:S.primary?c:s,S.seg.otherFill={above:x,below:x}),M&&M.status(S.seg,!!k&&k.seg,!!E&&E.seg),S.other.status=_.insert(d.node({ev:S}))}else{var b=S.status;if(b===null)throw new Error("PolyBool: Zero-length segment detected; your epsilon is probably too small or too large");if(h.exists(b.prev)&&h.exists(b.next)&&w(b.prev.ev,b.next.ev),M&&M.statusRemove(b.ev.seg),b.remove(),!S.primary){var R=S.seg.myFill;S.seg.myFill=S.seg.otherFill,S.seg.otherFill=R}y.push(S.seg)}f.getHead().remove()}return M&&M.done(),y}return g?{addRegion:function(s){for(var c,h,m,w=s[s.length-1],y=0;y0&&!this.aborted;){var M=this.ifds_to_read.shift();M.offset&&this.scan_ifd(M.id,M.offset,g)}},d.prototype.read_uint16=function(g){var i=this.input;if(g+2>i.length)throw p("unexpected EOF","EBADDATA");return this.big_endian?256*i[g]+i[g+1]:i[g]+256*i[g+1]},d.prototype.read_uint32=function(g){var i=this.input;if(g+4>i.length)throw p("unexpected EOF","EBADDATA");return this.big_endian?16777216*i[g]+65536*i[g+1]+256*i[g+2]+i[g+3]:i[g]+256*i[g+1]+65536*i[g+2]+16777216*i[g+3]},d.prototype.is_subifd_link=function(g,i){return g===0&&i===34665||g===0&&i===34853||g===34665&&i===40965},d.prototype.exif_format_length=function(g){switch(g){case 1:case 2:case 6:case 7:return 1;case 3:case 8:return 2;case 4:case 9:case 11:return 4;case 5:case 10:case 12:return 8;default:return 0}},d.prototype.exif_format_read=function(g,i){var M;switch(g){case 1:case 2:return this.input[i];case 6:return(M=this.input[i])|33554430*(128&M);case 3:return this.read_uint16(i);case 8:return(M=this.read_uint16(i))|131070*(32768&M);case 4:return this.read_uint32(i);case 9:return 0|this.read_uint32(i);default:return null}},d.prototype.scan_ifd=function(g,i,M){var v=this.read_uint16(i);i+=2;for(var f=0;fthis.input.length)throw p("unexpected EOF","EBADDATA");for(var m=[],w=c,y=0;y0&&(this.ifds_to_read.push({id:l,offset:m[0]}),h=!0),M({is_big_endian:this.big_endian,ifd:g,tag:l,format:a,count:u,entry_offset:i+this.start,data_length:s,data_offset:c+this.start,value:m,is_subifd_link:h})===!1)return void(this.aborted=!0);i+=12}g===0&&this.ifds_to_read.push({id:1,offset:this.read_uint32(i)})},T.exports.ExifParser=d,T.exports.get_orientation=function(g){var i=0;try{return new d(g,0,g.length).each(function(M){if(M.ifd===0&&M.tag===274&&Array.isArray(M.value))return i=M.value[0],!1}),i}catch{return-1}}},76767:function(T,p,t){var d=t(14847).n8,g=t(14847).Ag;function i(u,o){if(u.length<4+o)return null;var s=g(u,o);return u.length>4&15,c=15&u[4],h=u[5]>>4&15,m=d(u,6),w=8,y=0;y_.width||S.width===_.width&&S.height>_.height?S:_}),h=s.reduce(function(S,_){return S.height>_.height||S.height===_.height&&S.width>_.width?S:_}),c.width>h.height||c.width===h.height&&c.height>h.width?c:h),w=1;o.transforms.forEach(function(S){var _={1:6,2:5,3:8,4:7,5:4,6:3,7:2,8:1},k={1:4,2:3,3:2,4:1,5:6,6:5,7:8,8:7};if(S.type==="imir"&&(w=S.value===0?k[w]:_[w=_[w=k[w]]]),S.type==="irot")for(var E=0;E1&&(m.variants=h.variants),h.orientation&&(m.orientation=h.orientation),h.exif_location&&h.exif_location.offset+h.exif_location.length<=l.length){var w=i(l,h.exif_location.offset),y=l.slice(h.exif_location.offset+w+4,h.exif_location.offset+h.exif_location.length),S=v.get_orientation(y);S>0&&(m.orientation=S)}return m}}}}}}},2504:function(T,p,t){var d=t(14847).eG,g=t(14847).OF,i=t(14847).mP,M=d("BM");T.exports=function(v){if(!(v.length<26)&&g(v,0,M))return{width:i(v,18),height:i(v,22),type:"bmp",mime:"image/bmp",wUnits:"px",hUnits:"px"}}},47342:function(T,p,t){var d=t(14847).eG,g=t(14847).OF,i=t(14847).mP,M=d("GIF87a"),v=d("GIF89a");T.exports=function(f){if(!(f.length<10)&&(g(f,0,M)||g(f,0,v)))return{width:i(f,6),height:i(f,8),type:"gif",mime:"image/gif",wUnits:"px",hUnits:"px"}}},31355:function(T,p,t){var d=t(14847).mP;T.exports=function(g){var i=d(g,0),M=d(g,2),v=d(g,4);if(i===0&&M===1&&v){for(var f=[],l={width:0,height:0},a=0;al.width||o>l.height)&&(l=s)}return{width:l.width,height:l.height,variants:f,type:"ico",mime:"image/x-icon",wUnits:"px",hUnits:"px"}}}},54261:function(T,p,t){var d=t(14847).n8,g=t(14847).eG,i=t(14847).OF,M=t(71371),v=g("Exif\0\0");T.exports=function(f){if(!(f.length<2)&&f[0]===255&&f[1]===216&&f[2]===255)for(var l=2;;){for(;;){if(f.length-l<2)return;if(f[l++]===255)break}for(var a,u,o=f[l++];o===255;)o=f[l++];if(208<=o&&o<=217||o===1)a=0;else{if(!(192<=o&&o<=254)||f.length-l<2)return;a=d(f,l)-2,l+=2}if(o===217||o===218)return;if(o===225&&a>=10&&i(f,l,v)&&(u=M.get_orientation(f.slice(l+6,l+a))),a>=5&&192<=o&&o<=207&&o!==196&&o!==200&&o!==204){if(f.length-l0&&(s.orientation=u),s}l+=a}}},6303:function(T,p,t){var d=t(14847).eG,g=t(14847).OF,i=t(14847).Ag,M=d(`‰PNG\r - -`),v=d("IHDR");T.exports=function(f){if(!(f.length<24)&&g(f,0,M)&&g(f,12,v))return{width:i(f,16),height:i(f,20),type:"png",mime:"image/png",wUnits:"px",hUnits:"px"}}},38689:function(T,p,t){var d=t(14847).eG,g=t(14847).OF,i=t(14847).Ag,M=d("8BPS\0");T.exports=function(v){if(!(v.length<22)&&g(v,0,M))return{width:i(v,18),height:i(v,14),type:"psd",mime:"image/vnd.adobe.photoshop",wUnits:"px",hUnits:"px"}}},6881:function(T){function p(l){return typeof l=="number"&&isFinite(l)&&l>0}var t=/<[-_.:a-zA-Z0-9][^>]*>/,d=/^<([-_.:a-zA-Z0-9]+:)?svg\s/,g=/[^-]\bwidth="([^%]+?)"|[^-]\bwidth='([^%]+?)'/,i=/\bheight="([^%]+?)"|\bheight='([^%]+?)'/,M=/\bview[bB]ox="(.+?)"|\bview[bB]ox='(.+?)'/,v=/in$|mm$|cm$|pt$|pc$|px$|em$|ex$/;function f(l){return v.test(l)?l.match(v)[0]:"px"}T.exports=function(l){if(function(k){var E,x=0,A=k.length;for(k[0]===239&&k[1]===187&&k[2]===191&&(x=3);x>14&16383),type:"webp",mime:"image/webp",wUnits:"px",hUnits:"px"}}}function o(s,c){return{width:1+(s[c+6]<<16|s[c+5]<<8|s[c+4]),height:1+(s[c+9]<s.length)){for(;c+8=10?h=h||a(s,c+8):y==="VP8L"&&S>=9?h=h||u(s,c+8):y==="VP8X"&&S>=10?h=h||o(s,c+8):y==="EXIF"&&(m=v.get_orientation(s.slice(c+8,c+8+S)),c=1/0),c+=8+S}else c++;if(h)return m>0&&(h.orientation=m),h}}}},91497:function(T,p,t){T.exports={avif:t(24461),bmp:t(2504),gif:t(47342),ico:t(31355),jpeg:t(54261),png:t(6303),psd:t(38689),svg:t(6881),tiff:t(66278),webp:t(90784)}},33575:function(T,p,t){var d=t(91497);T.exports=function(g){return function(i){for(var M=Object.keys(d),v=0;v1)for(var w=1;w"u"?t.g:window,i=["moz","webkit"],M="AnimationFrame",v=g["request"+M],f=g["cancel"+M]||g["cancelRequest"+M],l=0;!v&&l>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js - precision highp float; - - attribute vec2 position, positionFract; - attribute vec4 error; - attribute vec4 color; - - attribute vec2 direction, lineOffset, capOffset; - - uniform vec4 viewport; - uniform float lineWidth, capSize; - uniform vec2 scale, scaleFract, translate, translateFract; - - varying vec4 fragColor; - - void main() { - fragColor = color / 255.; - - vec2 pixelOffset = lineWidth * lineOffset + (capSize + lineWidth) * capOffset; - - vec2 dxy = -step(.5, direction.xy) * error.xz + step(direction.xy, vec2(-.5)) * error.yw; - - vec2 position = position + dxy; - - vec2 pos = (position + translate) * scale - + (positionFract + translateFract) * scale - + (position + translate) * scaleFract - + (positionFract + translateFract) * scaleFract; - - pos += pixelOffset / viewport.zw; - - gl_Position = vec4(pos * 2. - 1., 0, 1); - } - `,frag:` - precision highp float; - - varying vec4 fragColor; - - uniform float opacity; - - void main() { - gl_FragColor = fragColor; - gl_FragColor.a *= opacity; - } -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js - `,uniforms:{range:s.prop("range"),lineWidth:s.prop("lineWidth"),capSize:s.prop("capSize"),opacity:s.prop("opacity"),scale:s.prop("scale"),translate:s.prop("translate"),scaleFract:s.prop("scaleFract"),translateFract:s.prop("translateFract"),viewport:function(O,z){return[z.viewport.x,z.viewport.y,O.viewportWidth,O.viewportHeight]}},attributes:{color:{buffer:y,offset:function(O,z){return 4*z.offset},divisor:1},position:{buffer:m,offset:function(O,z){return 8*z.offset},divisor:1},positionFract:{buffer:w,offset:function(O,z){return 8*z.offset},divisor:1},error:{buffer:C,offset:function(O,z){return 16*z.offset},divisor:1},direction:{buffer:_,stride:24,offset:0},lineOffset:{buffer:_,stride:24,offset:8},capOffset:{buffer:_,stride:24,offset:16}},primitive:"triangles",blend:{enable:!0,color:[0,0,0,0],equation:{rgb:"add",alpha:"add"},func:{srcRGB:"src alpha",dstRGB:"one minus src alpha",srcAlpha:"one minus dst alpha",dstAlpha:"one"}},depth:{enable:!1},scissor:{enable:!0,box:s.prop("viewport")},viewport:s.prop("viewport"),stencil:!1,instances:s.prop("count"),count:o.length}),v(A,{update:R,draw:L,destroy:I,regl:s,gl:k,canvas:k.canvas,groups:x}),A;function A(O){O?R(O):O===null&&I(),L()}function L(O){if(typeof O=="number")return b(O);O&&!Array.isArray(O)&&(O=[O]),s._refresh(),x.forEach(function(z,F){z&&(O&&(O[F]?z.draw=!0:z.draw=!1),z.draw?b(F):z.draw=!0)})}function b(O){typeof O=="number"&&(O=x[O]),O!=null&&O&&O.count&&O.color&&O.opacity&&O.positions&&O.positions.length>1&&(O.scaleRatio=[O.scale[0]*O.viewport.width,O.scale[1]*O.viewport.height],c(O),O.after&&O.after(O))}function R(O){if(O){O.length!=null?typeof O[0]=="number"&&(O=[{positions:O}]):Array.isArray(O)||(O=[O]);var z=0,F=0;if(A.groups=x=O.map(function(G,q){var H=x[q];return G&&(typeof G=="function"?G={after:G}:typeof G[0]=="number"&&(G={positions:G}),G=M(G,{color:"color colors fill",capSize:"capSize cap capsize cap-size",lineWidth:"lineWidth line-width width line thickness",opacity:"opacity alpha",range:"range dataBox",viewport:"viewport viewBox",errors:"errors error",positions:"positions position data points"}),H||(x[q]=H={id:q,scale:null,translate:null,scaleFract:null,translateFract:null,draw:!0},G=v({},E,G)),i(H,G,[{lineWidth:function(ne){return .5*+ne},capSize:function(ne){return .5*+ne},opacity:parseFloat,errors:function(ne){return ne=f(ne),F+=ne.length,ne},positions:function(ne,te){return ne=f(ne,"float64"),te.count=Math.floor(ne.length/2),te.bounds=d(ne,2),te.offset=z,z+=te.count,ne}},{color:function(ne,te){var Z=te.count;if(ne||(ne="transparent"),!Array.isArray(ne)||typeof ne[0]=="number"){var X=ne;ne=Array(Z);for(var Q=0;Q1&&(O.scaleRatio=[O.scale[0]*O.viewport.width,O.scale[1]*O.viewport.height],h(O),O.after&&O.after(O))}function R(O){if(O){O.length!=null?typeof O[0]=="number"&&(O=[{positions:O}]):Array.isArray(O)||(O=[O]);var z=0,F=0;if(A.groups=x=O.map(function(G,q){var H=x[q];return G&&(typeof G=="function"?G={after:G}:typeof G[0]=="number"&&(G={positions:G}),G=M(G,{color:"color colors fill",capSize:"capSize cap capsize cap-size",lineWidth:"lineWidth line-width width line thickness",opacity:"opacity alpha",range:"range dataBox",viewport:"viewport viewBox",errors:"errors error",positions:"positions position data points"}),H||(x[q]=H={id:q,scale:null,translate:null,scaleFract:null,translateFract:null,draw:!0},G=v({},E,G)),i(H,G,[{lineWidth:function(ne){return .5*+ne},capSize:function(ne){return .5*+ne},opacity:parseFloat,errors:function(ne){return ne=f(ne),F+=ne.length,ne},positions:function(ne,te){return ne=f(ne,"float64"),te.count=Math.floor(ne.length/2),te.bounds=d(ne,2),te.offset=z,z+=te.count,ne}},{color:function(ne,te){var Z=te.count;if(ne||(ne="transparent"),!Array.isArray(ne)||typeof ne[0]=="number"){var X=ne;ne=Array(Z);for(var Q=0;Q>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js -#define GLSLIFY 1 - -attribute vec2 aCoord, bCoord, aCoordFract, bCoordFract; -attribute vec4 color; -attribute float lineEnd, lineTop; - -uniform vec2 scale, scaleFract, translate, translateFract; -uniform float thickness, pixelRatio, id, depth; -uniform vec4 viewport; - -varying vec4 fragColor; -varying vec2 tangent; - -vec2 project(vec2 position, vec2 positionFract, vec2 scale, vec2 scaleFract, vec2 translate, vec2 translateFract) { - // the order is important - return position * scale + translate - + positionFract * scale + translateFract - + position * scaleFract - + positionFract * scaleFract; -} - -void main() { - float lineStart = 1. - lineEnd; - float lineOffset = lineTop * 2. - 1.; - - vec2 diff = (bCoord + bCoordFract - aCoord - aCoordFract); - tangent = normalize(diff * scale * viewport.zw); - vec2 normal = vec2(-tangent.y, tangent.x); - - vec2 position = project(aCoord, aCoordFract, scale, scaleFract, translate, translateFract) * lineStart - + project(bCoord, bCoordFract, scale, scaleFract, translate, translateFract) * lineEnd - - + thickness * normal * .5 * lineOffset / viewport.zw; - - gl_Position = vec4(position * 2.0 - 1.0, depth, 1); - - fragColor = color / 255.; -} -`]),frag:M([`precision highp float; -#define GLSLIFY 1 - -uniform float dashLength, pixelRatio, thickness, opacity, id; -uniform sampler2D dashTexture; - -varying vec4 fragColor; -varying vec2 tangent; - -void main() { - float alpha = 1.; - - float t = fract(dot(tangent, gl_FragCoord.xy) / dashLength) * .5 + .25; - float dash = texture2D(dashTexture, vec2(t, .5)).r; - - gl_FragColor = fragColor; - gl_FragColor.a *= alpha * opacity * dash; -} -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js -`]),attributes:{lineEnd:{buffer:_,divisor:0,stride:8,offset:0},lineTop:{buffer:_,divisor:0,stride:8,offset:4},aCoord:{buffer:y.prop("positionBuffer"),stride:8,offset:8,divisor:1},bCoord:{buffer:y.prop("positionBuffer"),stride:8,offset:16,divisor:1},aCoordFract:{buffer:y.prop("positionFractBuffer"),stride:8,offset:8,divisor:1},bCoordFract:{buffer:y.prop("positionFractBuffer"),stride:8,offset:16,divisor:1},color:{buffer:y.prop("colorBuffer"),stride:4,offset:0,divisor:1}}},k));try{C=y(i({cull:{enable:!0,face:"back"},vert:M([`precision highp float; -======== -`]),attributes:{lineEnd:{buffer:_,divisor:0,stride:8,offset:0},lineTop:{buffer:_,divisor:0,stride:8,offset:4},aCoord:{buffer:y.prop("positionBuffer"),stride:8,offset:8,divisor:1},bCoord:{buffer:y.prop("positionBuffer"),stride:8,offset:16,divisor:1},aCoordFract:{buffer:y.prop("positionFractBuffer"),stride:8,offset:8,divisor:1},bCoordFract:{buffer:y.prop("positionFractBuffer"),stride:8,offset:16,divisor:1},color:{buffer:y.prop("colorBuffer"),stride:4,offset:0,divisor:1}}},k));try{S=y(i({cull:{enable:!0,face:"back"},vert:M([`precision highp float; ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js -#define GLSLIFY 1 - -attribute vec2 aCoord, bCoord, nextCoord, prevCoord; -attribute vec4 aColor, bColor; -attribute float lineEnd, lineTop; - -uniform vec2 scale, translate; -uniform float thickness, pixelRatio, id, depth; -uniform vec4 viewport; -uniform float miterLimit, miterMode; - -varying vec4 fragColor; -varying vec4 startCutoff, endCutoff; -varying vec2 tangent; -varying vec2 startCoord, endCoord; -varying float enableStartMiter, enableEndMiter; - -const float REVERSE_THRESHOLD = -.875; -const float MIN_DIFF = 1e-6; - -// TODO: possible optimizations: avoid overcalculating all for vertices and calc just one instead -// TODO: precalculate dot products, normalize things beforehead etc. -// TODO: refactor to rectangular algorithm - -float distToLine(vec2 p, vec2 a, vec2 b) { - vec2 diff = b - a; - vec2 perp = normalize(vec2(-diff.y, diff.x)); - return dot(p - a, perp); -} - -bool isNaN( float val ){ - return ( val < 0.0 || 0.0 < val || val == 0.0 ) ? false : true; -} - -void main() { - vec2 aCoord = aCoord, bCoord = bCoord, prevCoord = prevCoord, nextCoord = nextCoord; - - vec2 adjustedScale; - adjustedScale.x = (abs(scale.x) < MIN_DIFF) ? MIN_DIFF : scale.x; - adjustedScale.y = (abs(scale.y) < MIN_DIFF) ? MIN_DIFF : scale.y; - - vec2 scaleRatio = adjustedScale * viewport.zw; - vec2 normalWidth = thickness / scaleRatio; - - float lineStart = 1. - lineEnd; - float lineBot = 1. - lineTop; - - fragColor = (lineStart * aColor + lineEnd * bColor) / 255.; - - if (isNaN(aCoord.x) || isNaN(aCoord.y) || isNaN(bCoord.x) || isNaN(bCoord.y)) return; - - if (aCoord == prevCoord) prevCoord = aCoord + normalize(bCoord - aCoord); - if (bCoord == nextCoord) nextCoord = bCoord - normalize(bCoord - aCoord); - - vec2 prevDiff = aCoord - prevCoord; - vec2 currDiff = bCoord - aCoord; - vec2 nextDiff = nextCoord - bCoord; - - vec2 prevTangent = normalize(prevDiff * scaleRatio); - vec2 currTangent = normalize(currDiff * scaleRatio); - vec2 nextTangent = normalize(nextDiff * scaleRatio); - - vec2 prevNormal = vec2(-prevTangent.y, prevTangent.x); - vec2 currNormal = vec2(-currTangent.y, currTangent.x); - vec2 nextNormal = vec2(-nextTangent.y, nextTangent.x); - - vec2 startJoinDirection = normalize(prevTangent - currTangent); - vec2 endJoinDirection = normalize(currTangent - nextTangent); - - // collapsed/unidirectional segment cases - // FIXME: there should be more elegant solution - vec2 prevTanDiff = abs(prevTangent - currTangent); - vec2 nextTanDiff = abs(nextTangent - currTangent); - if (max(prevTanDiff.x, prevTanDiff.y) < MIN_DIFF) { - startJoinDirection = currNormal; - } - if (max(nextTanDiff.x, nextTanDiff.y) < MIN_DIFF) { - endJoinDirection = currNormal; - } - if (aCoord == bCoord) { - endJoinDirection = startJoinDirection; - currNormal = prevNormal; - currTangent = prevTangent; - } - - tangent = currTangent; - - //calculate join shifts relative to normals - float startJoinShift = dot(currNormal, startJoinDirection); - float endJoinShift = dot(currNormal, endJoinDirection); - - float startMiterRatio = abs(1. / startJoinShift); - float endMiterRatio = abs(1. / endJoinShift); - - vec2 startJoin = startJoinDirection * startMiterRatio; - vec2 endJoin = endJoinDirection * endMiterRatio; - - vec2 startTopJoin, startBotJoin, endTopJoin, endBotJoin; - startTopJoin = sign(startJoinShift) * startJoin * .5; - startBotJoin = -startTopJoin; - - endTopJoin = sign(endJoinShift) * endJoin * .5; - endBotJoin = -endTopJoin; - - vec2 aTopCoord = aCoord + normalWidth * startTopJoin; - vec2 bTopCoord = bCoord + normalWidth * endTopJoin; - vec2 aBotCoord = aCoord + normalWidth * startBotJoin; - vec2 bBotCoord = bCoord + normalWidth * endBotJoin; - - //miter anti-clipping - float baClipping = distToLine(bCoord, aCoord, aBotCoord) / dot(normalize(normalWidth * endBotJoin), normalize(normalWidth.yx * vec2(-startBotJoin.y, startBotJoin.x))); - float abClipping = distToLine(aCoord, bCoord, bTopCoord) / dot(normalize(normalWidth * startBotJoin), normalize(normalWidth.yx * vec2(-endBotJoin.y, endBotJoin.x))); - - //prevent close to reverse direction switch - bool prevReverse = dot(currTangent, prevTangent) <= REVERSE_THRESHOLD && abs(dot(currTangent, prevNormal)) * min(length(prevDiff), length(currDiff)) < length(normalWidth * currNormal); - bool nextReverse = dot(currTangent, nextTangent) <= REVERSE_THRESHOLD && abs(dot(currTangent, nextNormal)) * min(length(nextDiff), length(currDiff)) < length(normalWidth * currNormal); - - if (prevReverse) { - //make join rectangular - vec2 miterShift = normalWidth * startJoinDirection * miterLimit * .5; - float normalAdjust = 1. - min(miterLimit / startMiterRatio, 1.); - aBotCoord = aCoord + miterShift - normalAdjust * normalWidth * currNormal * .5; - aTopCoord = aCoord + miterShift + normalAdjust * normalWidth * currNormal * .5; - } - else if (!nextReverse && baClipping > 0. && baClipping < length(normalWidth * endBotJoin)) { - //handle miter clipping - bTopCoord -= normalWidth * endTopJoin; - bTopCoord += normalize(endTopJoin * normalWidth) * baClipping; - } - - if (nextReverse) { - //make join rectangular - vec2 miterShift = normalWidth * endJoinDirection * miterLimit * .5; - float normalAdjust = 1. - min(miterLimit / endMiterRatio, 1.); - bBotCoord = bCoord + miterShift - normalAdjust * normalWidth * currNormal * .5; - bTopCoord = bCoord + miterShift + normalAdjust * normalWidth * currNormal * .5; - } - else if (!prevReverse && abClipping > 0. && abClipping < length(normalWidth * startBotJoin)) { - //handle miter clipping - aBotCoord -= normalWidth * startBotJoin; - aBotCoord += normalize(startBotJoin * normalWidth) * abClipping; - } - - vec2 aTopPosition = (aTopCoord) * adjustedScale + translate; - vec2 aBotPosition = (aBotCoord) * adjustedScale + translate; - - vec2 bTopPosition = (bTopCoord) * adjustedScale + translate; - vec2 bBotPosition = (bBotCoord) * adjustedScale + translate; - - //position is normalized 0..1 coord on the screen - vec2 position = (aTopPosition * lineTop + aBotPosition * lineBot) * lineStart + (bTopPosition * lineTop + bBotPosition * lineBot) * lineEnd; - - startCoord = aCoord * scaleRatio + translate * viewport.zw + viewport.xy; - endCoord = bCoord * scaleRatio + translate * viewport.zw + viewport.xy; - - gl_Position = vec4(position * 2.0 - 1.0, depth, 1); - - enableStartMiter = step(dot(currTangent, prevTangent), .5); - enableEndMiter = step(dot(currTangent, nextTangent), .5); - - //bevel miter cutoffs - if (miterMode == 1.) { - if (enableStartMiter == 1.) { - vec2 startMiterWidth = vec2(startJoinDirection) * thickness * miterLimit * .5; - startCutoff = vec4(aCoord, aCoord); - startCutoff.zw += vec2(-startJoinDirection.y, startJoinDirection.x) / scaleRatio; - startCutoff = startCutoff * scaleRatio.xyxy + translate.xyxy * viewport.zwzw; - startCutoff += viewport.xyxy; - startCutoff += startMiterWidth.xyxy; - } - - if (enableEndMiter == 1.) { - vec2 endMiterWidth = vec2(endJoinDirection) * thickness * miterLimit * .5; - endCutoff = vec4(bCoord, bCoord); - endCutoff.zw += vec2(-endJoinDirection.y, endJoinDirection.x) / scaleRatio; - endCutoff = endCutoff * scaleRatio.xyxy + translate.xyxy * viewport.zwzw; - endCutoff += viewport.xyxy; - endCutoff += endMiterWidth.xyxy; - } - } - - //round miter cutoffs - else if (miterMode == 2.) { - if (enableStartMiter == 1.) { - vec2 startMiterWidth = vec2(startJoinDirection) * thickness * abs(dot(startJoinDirection, currNormal)) * .5; - startCutoff = vec4(aCoord, aCoord); - startCutoff.zw += vec2(-startJoinDirection.y, startJoinDirection.x) / scaleRatio; - startCutoff = startCutoff * scaleRatio.xyxy + translate.xyxy * viewport.zwzw; - startCutoff += viewport.xyxy; - startCutoff += startMiterWidth.xyxy; - } - - if (enableEndMiter == 1.) { - vec2 endMiterWidth = vec2(endJoinDirection) * thickness * abs(dot(endJoinDirection, currNormal)) * .5; - endCutoff = vec4(bCoord, bCoord); - endCutoff.zw += vec2(-endJoinDirection.y, endJoinDirection.x) / scaleRatio; - endCutoff = endCutoff * scaleRatio.xyxy + translate.xyxy * viewport.zwzw; - endCutoff += viewport.xyxy; - endCutoff += endMiterWidth.xyxy; - } - } -} -`]),frag:M([`precision highp float; -#define GLSLIFY 1 - -uniform float dashLength, pixelRatio, thickness, opacity, id, miterMode; -uniform sampler2D dashTexture; - -varying vec4 fragColor; -varying vec2 tangent; -varying vec4 startCutoff, endCutoff; -varying vec2 startCoord, endCoord; -varying float enableStartMiter, enableEndMiter; - -float distToLine(vec2 p, vec2 a, vec2 b) { - vec2 diff = b - a; - vec2 perp = normalize(vec2(-diff.y, diff.x)); - return dot(p - a, perp); -} - -void main() { - float alpha = 1., distToStart, distToEnd; - float cutoff = thickness * .5; - - //bevel miter - if (miterMode == 1.) { - if (enableStartMiter == 1.) { - distToStart = distToLine(gl_FragCoord.xy, startCutoff.xy, startCutoff.zw); - if (distToStart < -1.) { - discard; - return; - } - alpha *= min(max(distToStart + 1., 0.), 1.); - } - - if (enableEndMiter == 1.) { - distToEnd = distToLine(gl_FragCoord.xy, endCutoff.xy, endCutoff.zw); - if (distToEnd < -1.) { - discard; - return; - } - alpha *= min(max(distToEnd + 1., 0.), 1.); - } - } - - // round miter - else if (miterMode == 2.) { - if (enableStartMiter == 1.) { - distToStart = distToLine(gl_FragCoord.xy, startCutoff.xy, startCutoff.zw); - if (distToStart < 0.) { - float radius = length(gl_FragCoord.xy - startCoord); - - if(radius > cutoff + .5) { - discard; - return; - } - - alpha -= smoothstep(cutoff - .5, cutoff + .5, radius); - } - } - - if (enableEndMiter == 1.) { - distToEnd = distToLine(gl_FragCoord.xy, endCutoff.xy, endCutoff.zw); - if (distToEnd < 0.) { - float radius = length(gl_FragCoord.xy - endCoord); - - if(radius > cutoff + .5) { - discard; - return; - } - - alpha -= smoothstep(cutoff - .5, cutoff + .5, radius); - } - } - } - - float t = fract(dot(tangent, gl_FragCoord.xy) / dashLength) * .5 + .25; - float dash = texture2D(dashTexture, vec2(t, .5)).r; - - gl_FragColor = fragColor; - gl_FragColor.a *= alpha * opacity * dash; -} -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js -`]),attributes:{lineEnd:{buffer:_,divisor:0,stride:8,offset:0},lineTop:{buffer:_,divisor:0,stride:8,offset:4},aColor:{buffer:y.prop("colorBuffer"),stride:4,offset:0,divisor:1},bColor:{buffer:y.prop("colorBuffer"),stride:4,offset:4,divisor:1},prevCoord:{buffer:y.prop("positionBuffer"),stride:8,offset:0,divisor:1},aCoord:{buffer:y.prop("positionBuffer"),stride:8,offset:8,divisor:1},bCoord:{buffer:y.prop("positionBuffer"),stride:8,offset:16,divisor:1},nextCoord:{buffer:y.prop("positionBuffer"),stride:8,offset:24,divisor:1}}},k))}catch{C=E}return{fill:y({primitive:"triangle",elements:function(x,A){return A.triangles},offset:0,vert:M([`precision highp float; -======== -`]),attributes:{lineEnd:{buffer:_,divisor:0,stride:8,offset:0},lineTop:{buffer:_,divisor:0,stride:8,offset:4},aColor:{buffer:y.prop("colorBuffer"),stride:4,offset:0,divisor:1},bColor:{buffer:y.prop("colorBuffer"),stride:4,offset:4,divisor:1},prevCoord:{buffer:y.prop("positionBuffer"),stride:8,offset:0,divisor:1},aCoord:{buffer:y.prop("positionBuffer"),stride:8,offset:8,divisor:1},bCoord:{buffer:y.prop("positionBuffer"),stride:8,offset:16,divisor:1},nextCoord:{buffer:y.prop("positionBuffer"),stride:8,offset:24,divisor:1}}},k))}catch{S=E}return{fill:y({primitive:"triangle",elements:function(x,A){return A.triangles},offset:0,vert:M([`precision highp float; ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js -#define GLSLIFY 1 - -attribute vec2 position, positionFract; - -uniform vec4 color; -uniform vec2 scale, scaleFract, translate, translateFract; -uniform float pixelRatio, id; -uniform vec4 viewport; -uniform float opacity; - -varying vec4 fragColor; - -const float MAX_LINES = 256.; - -void main() { - float depth = (MAX_LINES - 4. - id) / (MAX_LINES); - - vec2 position = position * scale + translate - + positionFract * scale + translateFract - + position * scaleFract - + positionFract * scaleFract; - - gl_Position = vec4(position * 2.0 - 1.0, depth, 1); - - fragColor = color / 255.; - fragColor.a *= opacity; -} -`]),frag:M([`precision highp float; -#define GLSLIFY 1 - -varying vec4 fragColor; - -void main() { - gl_FragColor = fragColor; -} -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js -`]),uniforms:{scale:y.prop("scale"),color:y.prop("fill"),scaleFract:y.prop("scaleFract"),translateFract:y.prop("translateFract"),translate:y.prop("translate"),opacity:y.prop("opacity"),pixelRatio:y.context("pixelRatio"),id:y.prop("id"),viewport:function(x,A){return[A.viewport.x,A.viewport.y,x.viewportWidth,x.viewportHeight]}},attributes:{position:{buffer:y.prop("positionBuffer"),stride:8,offset:8},positionFract:{buffer:y.prop("positionFractBuffer"),stride:8,offset:8}},blend:k.blend,depth:{enable:!1},scissor:k.scissor,stencil:k.stencil,viewport:k.viewport}),rect:E,miter:C}},w.defaults={dashes:null,join:"miter",miterLimit:1,thickness:10,cap:"square",color:"black",opacity:1,overlay:!1,viewport:null,range:null,close:!1,fill:null},w.prototype.render=function(){for(var y,C=[],_=arguments.length;_--;)C[_]=arguments[_];C.length&&(y=this).update.apply(y,C),this.draw()},w.prototype.draw=function(){for(var y=this,C=[],_=arguments.length;_--;)C[_]=arguments[_];return(C.length?C:this.passes).forEach(function(k,E){var x;if(k&&Array.isArray(k))return(x=y).draw.apply(x,k);typeof k=="number"&&(k=y.passes[k]),k&&k.count>1&&k.opacity&&(y.regl._refresh(),k.fill&&k.triangles&&k.triangles.length>2&&y.shaders.fill(k),k.thickness&&(k.scale[0]*k.viewport.width>w.precisionThreshold||k.scale[1]*k.viewport.height>w.precisionThreshold||k.join==="rect"||!k.join&&(k.thickness<=2||k.count>=w.maxPoints)?y.shaders.rect(k):y.shaders.miter(k)))}),this},w.prototype.update=function(y){var C=this;if(y){y.length!=null?typeof y[0]=="number"&&(y=[{positions:y}]):Array.isArray(y)||(y=[y]);var _=this.regl,k=this.gl;if(y.forEach(function(b,R){var I=C.passes[R];if(b!==void 0)if(b!==null){if(typeof b[0]=="number"&&(b={positions:b}),b=v(b,{positions:"positions points data coords",thickness:"thickness lineWidth lineWidths line-width linewidth width stroke-width strokewidth strokeWidth",join:"lineJoin linejoin join type mode",miterLimit:"miterlimit miterLimit",dashes:"dash dashes dasharray dash-array dashArray",color:"color colour stroke colors colours stroke-color strokeColor",fill:"fill fill-color fillColor",opacity:"alpha opacity",overlay:"overlay crease overlap intersect",close:"closed close closed-path closePath",range:"range dataBox",viewport:"viewport viewBox",hole:"holes hole hollow",splitNull:"splitNull"}),I||(C.passes[R]=I={id:R,scale:null,scaleFract:null,translate:null,translateFract:null,count:0,hole:[],depth:0,dashLength:1,dashTexture:_.texture({channels:1,data:new Uint8Array([255]),width:1,height:1,mag:"linear",min:"linear"}),colorBuffer:_.buffer({usage:"dynamic",type:"uint8",data:new Uint8Array}),positionBuffer:_.buffer({usage:"dynamic",type:"float",data:new Uint8Array}),positionFractBuffer:_.buffer({usage:"dynamic",type:"float",data:new Uint8Array})},b=i({},w.defaults,b)),b.thickness!=null&&(I.thickness=parseFloat(b.thickness)),b.opacity!=null&&(I.opacity=parseFloat(b.opacity)),b.miterLimit!=null&&(I.miterLimit=parseFloat(b.miterLimit)),b.overlay!=null&&(I.overlay=!!b.overlay,R=re});(Z=Z.slice(0,ie)).push(re)}for(var oe=function(kt){var xt=j.slice(2*Q,2*Z[kt]).concat(re?j.slice(2*re):[]),Ft=(I.hole||[]).map(function(Bt){return Bt-re+(Z[kt]-Q)}),Ot=l(xt,Ft);Ot=Ot.map(function(Bt){return Bt+Q+(Bt+Qk.length)&&(E=k.length);for(var x=0,A=new Array(E);x1&&k.opacity&&(y.regl._refresh(),k.fill&&k.triangles&&k.triangles.length>2&&y.shaders.fill(k),k.thickness&&(k.scale[0]*k.viewport.width>w.precisionThreshold||k.scale[1]*k.viewport.height>w.precisionThreshold||k.join==="rect"||!k.join&&(k.thickness<=2||k.count>=w.maxPoints)?y.shaders.rect(k):y.shaders.miter(k)))}),this},w.prototype.update=function(y){var S=this;if(y){y.length!=null?typeof y[0]=="number"&&(y=[{positions:y}]):Array.isArray(y)||(y=[y]);var _=this.regl,k=this.gl;if(y.forEach(function(b,R){var I=S.passes[R];if(b!==void 0)if(b!==null){if(typeof b[0]=="number"&&(b={positions:b}),b=v(b,{positions:"positions points data coords",thickness:"thickness lineWidth lineWidths line-width linewidth width stroke-width strokewidth strokeWidth",join:"lineJoin linejoin join type mode",miterLimit:"miterlimit miterLimit",dashes:"dash dashes dasharray dash-array dashArray",color:"color colour stroke colors colours stroke-color strokeColor",fill:"fill fill-color fillColor",opacity:"alpha opacity",overlay:"overlay crease overlap intersect",close:"closed close closed-path closePath",range:"range dataBox",viewport:"viewport viewBox",hole:"holes hole hollow",splitNull:"splitNull"}),I||(S.passes[R]=I={id:R,scale:null,scaleFract:null,translate:null,translateFract:null,count:0,hole:[],depth:0,dashLength:1,dashTexture:_.texture({channels:1,data:new Uint8Array([255]),width:1,height:1,mag:"linear",min:"linear"}),colorBuffer:_.buffer({usage:"dynamic",type:"uint8",data:new Uint8Array}),positionBuffer:_.buffer({usage:"dynamic",type:"float",data:new Uint8Array}),positionFractBuffer:_.buffer({usage:"dynamic",type:"float",data:new Uint8Array})},b=i({},w.defaults,b)),b.thickness!=null&&(I.thickness=parseFloat(b.thickness)),b.opacity!=null&&(I.opacity=parseFloat(b.opacity)),b.miterLimit!=null&&(I.miterLimit=parseFloat(b.miterLimit)),b.overlay!=null&&(I.overlay=!!b.overlay,R=re});(Z=Z.slice(0,ie)).push(re)}for(var oe=function(kt){var xt=j.slice(2*Q,2*Z[kt]).concat(re?j.slice(2*re):[]),Ft=(I.hole||[]).map(function(Bt){return Bt-re+(Z[kt]-Q)}),Ot=l(xt,Ft);Ot=Ot.map(function(Bt){return Bt+Q+(Bt+Qk.length)&&(E=k.length);for(var x=0,A=new Array(E);x>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js -#define GLSLIFY 1 - -uniform float opacity; -uniform sampler2D markerTexture; - -varying vec4 fragColor, fragBorderColor; -varying float fragWidth, fragBorderColorLevel, fragColorLevel; - -float smoothStep(float x, float y) { - return 1.0 / (1.0 + exp(50.0*(x - y))); -} - -void main() { - float dist = texture2D(markerTexture, gl_PointCoord).r, delta = fragWidth; - - // max-distance alpha - if (dist < 0.003) discard; - - // null-border case - if (fragBorderColorLevel == fragColorLevel || fragBorderColor.a == 0.) { - float colorAmt = smoothstep(.5 - delta, .5 + delta, dist); - gl_FragColor = vec4(fragColor.rgb, colorAmt * fragColor.a * opacity); - } - else { - float borderColorAmt = smoothstep(fragBorderColorLevel - delta, fragBorderColorLevel + delta, dist); - float colorAmt = smoothstep(fragColorLevel - delta, fragColorLevel + delta, dist); - - vec4 color = fragBorderColor; - color.a *= borderColorAmt; - color = mix(color, fragColor, colorAmt); - color.a *= opacity; - - gl_FragColor = color; - } - -} -`]),I.vert=u([`precision highp float; -#define GLSLIFY 1 - -attribute float x, y, xFract, yFract; -attribute float size, borderSize; -attribute vec4 colorId, borderColorId; -attribute float isActive; - -uniform bool constPointSize; -uniform float pixelRatio; -uniform vec2 scale, scaleFract, translate, translateFract, paletteSize; -uniform sampler2D paletteTexture; - -const float maxSize = 100.; -const float borderLevel = .5; - -varying vec4 fragColor, fragBorderColor; -varying float fragPointSize, fragBorderRadius, fragWidth, fragBorderColorLevel, fragColorLevel; - -float pointSizeScale = (constPointSize) ? 2. : pixelRatio; - -bool isDirect = (paletteSize.x < 1.); - -vec4 getColor(vec4 id) { - return isDirect ? id / 255. : texture2D(paletteTexture, - vec2( - (id.x + .5) / paletteSize.x, - (id.y + .5) / paletteSize.y - ) - ); -} - -void main() { - // ignore inactive points - if (isActive == 0.) return; - - vec2 position = vec2(x, y); - vec2 positionFract = vec2(xFract, yFract); - - vec4 color = getColor(colorId); - vec4 borderColor = getColor(borderColorId); - - float size = size * maxSize / 255.; - float borderSize = borderSize * maxSize / 255.; - - gl_PointSize = 2. * size * pointSizeScale; - fragPointSize = size * pixelRatio; - - vec2 pos = (position + translate) * scale - + (positionFract + translateFract) * scale - + (position + translate) * scaleFract - + (positionFract + translateFract) * scaleFract; - - gl_Position = vec4(pos * 2. - 1., 0., 1.); - - fragColor = color; - fragBorderColor = borderColor; - fragWidth = 1. / gl_PointSize; - - fragBorderColorLevel = clamp(borderLevel - borderLevel * borderSize / size, 0., 1.); - fragColorLevel = clamp(borderLevel + (1. - borderLevel) * borderSize / size, 0., 1.); -}`]),this.drawMarker=k(I);var O=a({},R);O.frag=u([`precision highp float; -#define GLSLIFY 1 - -varying vec4 fragColor, fragBorderColor; -varying float fragBorderRadius, fragWidth; - -uniform float opacity; - -float smoothStep(float edge0, float edge1, float x) { - float t; - t = clamp((x - edge0) / (edge1 - edge0), 0.0, 1.0); - return t * t * (3.0 - 2.0 * t); -} - -void main() { - float radius, alpha = 1.0, delta = fragWidth; - - radius = length(2.0 * gl_PointCoord.xy - 1.0); - - if (radius > 1.0 + delta) { - discard; - } - - alpha -= smoothstep(1.0 - delta, 1.0 + delta, radius); - - float borderRadius = fragBorderRadius; - float ratio = smoothstep(borderRadius - delta, borderRadius + delta, radius); - vec4 color = mix(fragColor, fragBorderColor, ratio); - color.a *= alpha * opacity; - gl_FragColor = color; -} -`]),O.vert=u([`precision highp float; -#define GLSLIFY 1 - -attribute float x, y, xFract, yFract; -attribute float size, borderSize; -attribute vec4 colorId, borderColorId; -attribute float isActive; - -uniform bool constPointSize; -uniform float pixelRatio; -uniform vec2 paletteSize, scale, scaleFract, translate, translateFract; -uniform sampler2D paletteTexture; - -const float maxSize = 100.; - -varying vec4 fragColor, fragBorderColor; -varying float fragBorderRadius, fragWidth; - -float pointSizeScale = (constPointSize) ? 2. : pixelRatio; - -bool isDirect = (paletteSize.x < 1.); - -vec4 getColor(vec4 id) { - return isDirect ? id / 255. : texture2D(paletteTexture, - vec2( - (id.x + .5) / paletteSize.x, - (id.y + .5) / paletteSize.y - ) - ); -} - -void main() { - // ignore inactive points - if (isActive == 0.) return; - - vec2 position = vec2(x, y); - vec2 positionFract = vec2(xFract, yFract); - - vec4 color = getColor(colorId); - vec4 borderColor = getColor(borderColorId); - - float size = size * maxSize / 255.; - float borderSize = borderSize * maxSize / 255.; - - gl_PointSize = (size + borderSize) * pointSizeScale; - - vec2 pos = (position + translate) * scale - + (positionFract + translateFract) * scale - + (position + translate) * scaleFract - + (positionFract + translateFract) * scaleFract; - - gl_Position = vec4(pos * 2. - 1., 0., 1.); - - fragBorderRadius = 1. - 2. * borderSize / (size + borderSize); - fragColor = color; - fragBorderColor = borderColor.a == 0. || borderSize == 0. ? vec4(color.rgb, 0.) : borderColor; - fragWidth = 1. / gl_PointSize; -} -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js -`]),c&&(O.frag=O.frag.replace("smoothstep","smoothStep"),I.frag=I.frag.replace("smoothstep","smoothStep")),this.drawCircle=k(O)}C.defaults={color:"black",borderColor:"transparent",borderSize:0,size:12,opacity:1,marker:void 0,viewport:null,range:null,pixelSize:null,count:0,offset:0,bounds:null,positions:[],snap:1e4},C.prototype.render=function(){return arguments.length&&this.update.apply(this,arguments),this.draw(),this},C.prototype.draw=function(){for(var k=this,E=arguments.length,x=new Array(E),A=0;APe)?pe.tree=l(me,{bounds:ae}):Pe&&Pe.length&&(pe.tree=Pe),pe.tree){var fe={primitive:"points",usage:"static",data:pe.tree,type:"uint32"};pe.elements?pe.elements(fe):pe.elements=R.elements(fe)}var be=m.float32(me);return _e({data:be,usage:"dynamic"}),Me({data:m.fract32(me,be),usage:"dynamic"}),Se({data:new Uint8Array(Ce),type:"uint8",usage:"stream"}),me}},{marker:function(me,pe,xe){var Pe=pe.activation;if(Pe.forEach(function(be){return be&&be.destroy&&be.destroy()}),Pe.length=0,me&&typeof me[0]!="number"){for(var _e=[],Me=0,Se=Math.min(me.length,pe.count);Me=0)return b;if(k instanceof Uint8Array||k instanceof Uint8ClampedArray)E=k;else{E=new Uint8Array(k.length);for(var R=0,I=k.length;R4*A&&(this.tooManyColors=!0),this.updatePalette(x),L.length===1?L[0]:L},C.prototype.updatePalette=function(k){if(!this.tooManyColors){var E=this.maxColors,x=this.paletteTexture,A=Math.ceil(.25*k.length/E);if(A>1)for(var L=.25*(k=k.slice()).length%E;L2?(k[0],k[2],w=k[1],y=k[3]):k.length?(w=k[0],y=k[1]):(k.x,w=k.y,k.x,k.width,y=k.y+k.height),E.length>2?(C=E[0],_=E[2],E[1],E[3]):E.length?(C=E[0],_=E[1]):(C=E.x,E.y,_=E.x+E.width,E.y,E.height),[C,w,_,y]}function s(h){if(typeof h=="number")return[h,h,h,h];if(h.length===2)return[h[0],h[1],h[0],h[1]];var c=f(h);return[c.x,c.y,c.x+c.width,c.y+c.height]}T.exports=a,a.prototype.render=function(){for(var h,c=this,m=[],w=arguments.length;w--;)m[w]=arguments[w];return m.length&&(h=this).update.apply(h,m),this.regl.attributes.preserveDrawingBuffer?this.draw():(this.dirty?this.planned==null&&(this.planned=M(function(){c.draw(),c.dirty=!0,c.planned=null})):(this.draw(),this.dirty=!0,M(function(){c.dirty=!1})),this)},a.prototype.update=function(){for(var h,c=[],m=arguments.length;m--;)c[m]=arguments[m];if(c.length){for(var w=0;wF))&&(C.lower||!(z"u"?1:window.devicePixelRatio,It=!1,Lt={},yt=function(wt){},Pt=function(){};if(typeof Qe=="string"?nt=document.querySelector(Qe):typeof Qe=="object"&&(typeof Qe.nodeName=="string"&&typeof Qe.appendChild=="function"&&typeof Qe.getBoundingClientRect=="function"?nt=Qe:typeof Qe.drawArrays=="function"||typeof Qe.drawElements=="function"?Re=(Ne=Qe).canvas:("gl"in Qe?Ne=Qe.gl:"canvas"in Qe?Re=i(Qe.canvas):"container"in Qe&&(ft=i(Qe.container)),"attributes"in Qe&&(qe=Qe.attributes),"extensions"in Qe&&(ut=g(Qe.extensions)),"optionalExtensions"in Qe&&(dt=g(Qe.optionalExtensions)),"onDone"in Qe&&(yt=Qe.onDone),"profile"in Qe&&(It=!!Qe.profile),"pixelRatio"in Qe&&(_t=+Qe.pixelRatio),"cachedCode"in Qe&&(Lt=Qe.cachedCode))),nt&&(nt.nodeName.toLowerCase()==="canvas"?Re=nt:ft=nt),!Ne){if(!Re){if(!(nt=function(wt,Rt,Nt){function Yt(){var Qt=window.innerWidth,rn=window.innerHeight;wt!==document.body&&(Qt=(rn=Xt.getBoundingClientRect()).right-rn.left,rn=rn.bottom-rn.top),Xt.width=Nt*Qt,Xt.height=Nt*rn}var Wt,Xt=document.createElement("canvas");return re(Xt.style,{border:0,margin:0,padding:0,top:0,left:0,width:"100%",height:"100%"}),wt.appendChild(Xt),wt===document.body&&(Xt.style.position="absolute",re(wt.style,{margin:0,padding:0})),wt!==document.body&&typeof ResizeObserver=="function"?(Wt=new ResizeObserver(function(){setTimeout(Yt)})).observe(wt):window.addEventListener("resize",Yt,!1),Yt(),{canvas:Xt,onDestroy:function(){Wt?Wt.disconnect():window.removeEventListener("resize",Yt),wt.removeChild(Xt)}}}(ft||document.body,0,_t)))return null;Re=nt.canvas,Pt=nt.onDestroy}qe.premultipliedAlpha===void 0&&(qe.premultipliedAlpha=!0),Ne=function(wt,Rt){function Nt(Yt){try{return wt.getContext(Yt,Rt)}catch{return null}}return Nt("webgl")||Nt("experimental-webgl")||Nt("webgl-experimental")}(Re,qe)}return Ne?{gl:Ne,canvas:Re,container:ft,extensions:ut,optionalExtensions:dt,pixelRatio:_t,profile:It,cachedCode:Lt,onDone:yt,onDestroy:Pt}:(Pt(),yt("webgl not supported, try upgrading your browser or graphics drivers http://get.webgl.org"),null)}function v(qe,nt){for(var ft=Array(qe),Re=0;Re>>=nt))<<3,(nt|=ft=(15<(qe>>>=ft))<<2)|(ft=(3<(qe>>>=ft))<<1)|qe>>>ft>>1}function l(){function qe(Re){e:{for(var Ne=16;268435456>=Ne;Ne*=16)if(Re<=Ne){Re=Ne;break e}Re=0}return 0<(Ne=ft[f(Re)>>2]).length?Ne.pop():new ArrayBuffer(Re)}function nt(Re){ft[f(Re.byteLength)>>2].push(Re)}var ft=v(8,function(){return[]});return{alloc:qe,free:nt,allocType:function(Re,Ne){var Qe=null;switch(Re){case 5120:Qe=new Int8Array(qe(Ne),0,Ne);break;case 5121:Qe=new Uint8Array(qe(Ne),0,Ne);break;case 5122:Qe=new Int16Array(qe(2*Ne),0,Ne);break;case 5123:Qe=new Uint16Array(qe(2*Ne),0,Ne);break;case 5124:Qe=new Int32Array(qe(4*Ne),0,Ne);break;case 5125:Qe=new Uint32Array(qe(4*Ne),0,Ne);break;case 5126:Qe=new Float32Array(qe(4*Ne),0,Ne);break;default:return null}return Qe.length!==Ne?Qe.subarray(0,Ne):Qe},freeType:function(Re){nt(Re.buffer)}}}function a(qe){return!!qe&&typeof qe=="object"&&Array.isArray(qe.shape)&&Array.isArray(qe.stride)&&typeof qe.offset=="number"&&qe.shape.length===qe.stride.length&&(Array.isArray(qe.data)||me(qe.data))}function u(qe,nt,ft,Re,Ne,Qe){for(var ut=0;ut(Pt=Nt)&&(Pt=yt.buffer.byteLength,Xt===5123?Pt>>=1:Xt===5125&&(Pt>>=2)),yt.vertCount=Pt,Pt=Rt,0>Rt&&(Pt=4,(Rt=yt.buffer.dimension)===1&&(Pt=0),Rt===2&&(Pt=1),Rt===3&&(Pt=4)),yt.primType=Pt}function ut(yt){Re.elementsCount--,delete dt[yt.id],yt.buffer.destroy(),yt.buffer=null}var dt={},_t=0,It={uint8:5121,uint16:5123};nt.oes_element_index_uint&&(It.uint32=5125),Ne.prototype.bind=function(){this.buffer.bind()};var Lt=[];return{create:function(yt,Pt){function wt(Yt){if(Yt)if(typeof Yt=="number")Rt(Yt),Nt.primType=4,Nt.vertCount=0|Yt,Nt.type=5121;else{var Wt=null,Xt=35044,Qt=-1,rn=-1,xn=0,un=0;Array.isArray(Yt)||me(Yt)||a(Yt)?Wt=Yt:("data"in Yt&&(Wt=Yt.data),"usage"in Yt&&(Xt=Me[Yt.usage]),"primitive"in Yt&&(Qt=fe[Yt.primitive]),"count"in Yt&&(rn=0|Yt.count),"type"in Yt&&(un=It[Yt.type]),"length"in Yt?xn=0|Yt.length:(xn=rn,un===5123||un===5122?xn*=2:un!==5125&&un!==5124||(xn*=4))),Qe(Nt,Wt,Xt,Qt,rn,xn,un)}else Rt(),Nt.primType=4,Nt.vertCount=0,Nt.type=5121;return wt}var Rt=ft.create(null,34963,!0),Nt=new Ne(Rt._buffer);return Re.elementsCount++,wt(yt),wt._reglType="elements",wt._elements=Nt,wt.subdata=function(Yt,Wt){return Rt.subdata(Yt,Wt),wt},wt.destroy=function(){ut(Nt)},wt},createStream:function(yt){var Pt=Lt.pop();return Pt||(Pt=new Ne(ft.create(null,34963,!0,!1)._buffer)),Qe(Pt,yt,35040,-1,-1,0,0),Pt},destroyStream:function(yt){Lt.push(yt)},getElements:function(yt){return typeof yt=="function"&&yt._elements instanceof Ne?yt._elements:null},clear:function(){pe(dt).forEach(ut)}}}function y(qe){for(var nt=ye.allocType(5123,qe.length),ft=0;ft>>31<<15,Ne=(Qe<<1>>>24)-127,Qe=Qe>>13&1023;nt[ft]=-24>Ne?Re:-14>Ne?Re+(Qe+1024>>-14-Ne):15>=hn,jt.height>>=hn,Pt(jt,Jt[hn]),nn.mipmask|=1<Pn;++Pn)nn.images[Pn]=null;return nn}function xn(nn){for(var Pn=nn.images,jt=0;jtnn){for(var Pn=0;Pn=--this.refCount&&dn(this)}}),ut.profile&&(Qe.getTotalTextureSize=function(){var nn=0;return Object.keys($n).forEach(function(Pn){nn+=$n[Pn].stats.size}),nn}),{create2D:function(nn,Pn){function jt(hn,zn){var On=Jt.texInfo;un.call(On);var En=rn();return typeof hn=="number"?Wt(En,0|hn,typeof zn=="number"?0|zn:0|hn):hn?(An(On,hn),Xt(En,hn)):Wt(En,1,1),On.genMipmaps&&(En.mipmask=(En.width<<1)-1),Jt.mipmask=En.mipmask,_t(Jt,En),Jt.internalformat=En.internalformat,jt.width=En.width,jt.height=En.height,sn(Jt),Qt(En,3553),Yn(On,3553),Tn(),xn(En),ut.profile&&(Jt.stats.size=b(Jt.internalformat,Jt.type,En.width,En.height,On.genMipmaps,!1)),jt.format=or[Jt.internalformat],jt.type=vr[Jt.type],jt.mag=_r[On.magFilter],jt.min=Kt[On.minFilter],jt.wrapS=bn[On.wrapS],jt.wrapT=bn[On.wrapT],jt}var Jt=new kn(3553);return $n[Jt.id]=Jt,Qe.textureCount++,jt(nn,Pn),jt.subimage=function(hn,zn,On,En){zn|=0,On|=0,En|=0;var mn=Rt();return _t(mn,Jt),mn.width=0,mn.height=0,Pt(mn,hn),mn.width=mn.width||(Jt.width>>En)-zn,mn.height=mn.height||(Jt.height>>En)-On,sn(Jt),wt(mn,3553,zn,On,En),Tn(),Nt(mn),jt},jt.resize=function(hn,zn){var On=0|hn,En=0|zn||On;if(On===Jt.width&&En===Jt.height)return jt;jt.width=Jt.width=On,jt.height=Jt.height=En,sn(Jt);for(var mn=0;Jt.mipmask>>mn;++mn){var wn=On>>mn,gn=En>>mn;if(!wn||!gn)break;qe.texImage2D(3553,mn,Jt.format,wn,gn,0,Jt.format,Jt.type,null)}return Tn(),ut.profile&&(Jt.stats.size=b(Jt.internalformat,Jt.type,On,En,!1,!1)),jt},jt._reglType="texture2d",jt._texture=Jt,ut.profile&&(jt.stats=Jt.stats),jt.destroy=function(){Jt.decRef()},jt},createCube:function(nn,Pn,jt,Jt,hn,zn){function On(wn,gn,yn,Sn,Vn,Xn){var nr,Qn=En.texInfo;for(un.call(Qn),nr=0;6>nr;++nr)mn[nr]=rn();if(typeof wn!="number"&&wn){if(typeof wn=="object")if(gn)Xt(mn[0],wn),Xt(mn[1],gn),Xt(mn[2],yn),Xt(mn[3],Sn),Xt(mn[4],Vn),Xt(mn[5],Xn);else if(An(Qn,wn),It(En,wn),"faces"in wn)for(wn=wn.faces,nr=0;6>nr;++nr)_t(mn[nr],En),Xt(mn[nr],wn[nr]);else for(nr=0;6>nr;++nr)Xt(mn[nr],wn)}else for(wn=0|wn||1,nr=0;6>nr;++nr)Wt(mn[nr],wn,wn);for(_t(En,mn[0]),En.mipmask=Qn.genMipmaps?(mn[0].width<<1)-1:mn[0].mipmask,En.internalformat=mn[0].internalformat,On.width=mn[0].width,On.height=mn[0].height,sn(En),nr=0;6>nr;++nr)Qt(mn[nr],34069+nr);for(Yn(Qn,34067),Tn(),ut.profile&&(En.stats.size=b(En.internalformat,En.type,On.width,On.height,Qn.genMipmaps,!0)),On.format=or[En.internalformat],On.type=vr[En.type],On.mag=_r[Qn.magFilter],On.min=Kt[Qn.minFilter],On.wrapS=bn[Qn.wrapS],On.wrapT=bn[Qn.wrapT],nr=0;6>nr;++nr)xn(mn[nr]);return On}var En=new kn(34067);$n[En.id]=En,Qe.cubeCount++;var mn=Array(6);return On(nn,Pn,jt,Jt,hn,zn),On.subimage=function(wn,gn,yn,Sn,Vn){yn|=0,Sn|=0,Vn|=0;var Xn=Rt();return _t(Xn,En),Xn.width=0,Xn.height=0,Pt(Xn,gn),Xn.width=Xn.width||(En.width>>Vn)-yn,Xn.height=Xn.height||(En.height>>Vn)-Sn,sn(En),wt(Xn,34069+wn,yn,Sn,Vn),Tn(),Nt(Xn),On},On.resize=function(wn){if((wn|=0)!==En.width){On.width=En.width=wn,On.height=En.height=wn,sn(En);for(var gn=0;6>gn;++gn)for(var yn=0;En.mipmask>>yn;++yn)qe.texImage2D(34069+gn,yn,En.format,wn>>yn,wn>>yn,0,En.format,En.type,null);return Tn(),ut.profile&&(En.stats.size=b(En.internalformat,En.type,On.width,On.height,!1,!0)),On}},On._reglType="textureCube",On._texture=En,ut.profile&&(On.stats=En.stats),On.destroy=function(){En.decRef()},On},clear:function(){for(var nn=0;nnJt;++Jt)if(jt.mipmask&1<>Jt,jt.height>>Jt,0,jt.internalformat,jt.type,null);else for(var hn=0;6>hn;++hn)qe.texImage2D(34069+hn,Jt,jt.internalformat,jt.width>>Jt,jt.height>>Jt,0,jt.internalformat,jt.type,null);Yn(jt.texInfo,jt.target)})},refresh:function(){for(var nn=0;nnpn;++pn){for(qn=0;qndn;++dn)Tn[dn].resize(pn);return sn.width=sn.height=pn,sn},_reglType:"framebufferCube",destroy:function(){Tn.forEach(function(dn){dn.destroy()})}})},clear:function(){pe(Yn).forEach(Yt)},restore:function(){Qt.cur=null,Qt.next=null,Qt.dirty=!0,pe(Yn).forEach(function(kn){kn.framebuffer=qe.createFramebuffer(),Wt(kn)})}})}function O(){this.w=this.z=this.y=this.x=this.state=0,this.buffer=null,this.size=0,this.normalized=!1,this.type=5126,this.divisor=this.stride=this.offset=0}function z(qe,nt,ft,Re,Ne,Qe,ut){function dt(){this.id=++Lt,this.attributes=[],this.elements=null,this.ownsElements=!1,this.offset=this.count=0,this.instances=-1,this.primitive=4;var wt=nt.oes_vertex_array_object;this.vao=wt?wt.createVertexArrayOES():null,yt[this.id]=this,this.buffers=[]}var _t=ft.maxAttributes,It=Array(_t);for(ft=0;ft<_t;++ft)It[ft]=new O;var Lt=0,yt={},Pt={Record:O,scope:{},state:It,currentVAO:null,targetVAO:null,restore:nt.oes_vertex_array_object?function(){nt.oes_vertex_array_object&&pe(yt).forEach(function(wt){wt.refresh()})}:function(){},createVAO:function(wt){function Rt(Yt){var Wt;Array.isArray(Yt)?(Wt=Yt,Nt.elements&&Nt.ownsElements&&Nt.elements.destroy(),Nt.elements=null,Nt.ownsElements=!1,Nt.offset=0,Nt.count=0,Nt.instances=-1,Nt.primitive=4):(Yt.elements?(Wt=Yt.elements,Nt.ownsElements?(typeof Wt=="function"&&Wt._reglType==="elements"?Nt.elements.destroy():Nt.elements(Wt),Nt.ownsElements=!1):Qe.getElements(Yt.elements)?(Nt.elements=Yt.elements,Nt.ownsElements=!1):(Nt.elements=Qe.create(Yt.elements),Nt.ownsElements=!0)):(Nt.elements=null,Nt.ownsElements=!1),Wt=Yt.attributes,Nt.offset=0,Nt.count=-1,Nt.instances=-1,Nt.primitive=4,Nt.elements&&(Nt.count=Nt.elements._elements.vertCount,Nt.primitive=Nt.elements._elements.primType),"offset"in Yt&&(Nt.offset=0|Yt.offset),"count"in Yt&&(Nt.count=0|Yt.count),"instances"in Yt&&(Nt.instances=0|Yt.instances),"primitive"in Yt&&(Nt.primitive=fe[Yt.primitive])),Yt={};var Xt=Nt.attributes;Xt.length=Wt.length;for(var Qt=0;Qt=An.byteLength?rn.subdata(An):(rn.destroy(),Nt.buffers[Qt]=null)),Nt.buffers[Qt]||(rn=Nt.buffers[Qt]=Ne.create(xn,34962,!1,!0)),un.buffer=Ne.getBuffer(rn),un.size=0|un.buffer.dimension,un.normalized=!1,un.type=un.buffer.dtype,un.offset=0,un.stride=0,un.divisor=0,un.state=1,Yt[Qt]=1):Ne.getBuffer(xn)?(un.buffer=Ne.getBuffer(xn),un.size=0|un.buffer.dimension,un.normalized=!1,un.type=un.buffer.dtype,un.offset=0,un.stride=0,un.divisor=0,un.state=1):Ne.getBuffer(xn.buffer)?(un.buffer=Ne.getBuffer(xn.buffer),un.size=0|(+xn.size||un.buffer.dimension),un.normalized=!!xn.normalized||!1,un.type="type"in xn?_e[xn.type]:un.buffer.dtype,un.offset=0|(xn.offset||0),un.stride=0|(xn.stride||0),un.divisor=0|(xn.divisor||0),un.state=1):"x"in xn&&(un.x=+xn.x||0,un.y=+xn.y||0,un.z=+xn.z||0,un.w=+xn.w||0,un.state=2)}for(rn=0;rnRt&&(Rt=Nt.stats.uniformsCount)}),Rt},ft.getMaxAttributesCount=function(){var Rt=0;return Pt.forEach(function(Nt){Nt.stats.attributesCount>Rt&&(Rt=Nt.stats.attributesCount)}),Rt}),{clear:function(){var Rt=qe.deleteShader.bind(qe);pe(It).forEach(Rt),It={},pe(Lt).forEach(Rt),Lt={},Pt.forEach(function(Nt){qe.deleteProgram(Nt.program)}),Pt.length=0,yt={},ft.shaderCount=0},program:function(Rt,Nt,Yt,Wt){var Xt=yt[Nt];Xt||(Xt=yt[Nt]={});var Qt=Xt[Rt];if(Qt&&(Qt.refCount++,!Wt))return Qt;var rn=new dt(Nt,Rt);return ft.shaderCount++,_t(rn,Yt,Wt),Qt||(Xt[Rt]=rn),Pt.push(rn),re(rn,{destroy:function(){if(rn.refCount--,0>=rn.refCount){qe.deleteProgram(rn.program);var xn=Pt.indexOf(rn);Pt.splice(xn,1),ft.shaderCount--}0>=Xt[rn.vertId].refCount&&(qe.deleteShader(Lt[rn.vertId]),delete Lt[rn.vertId],delete yt[rn.fragId][rn.vertId]),Object.keys(yt[rn.fragId]).length||(qe.deleteShader(It[rn.fragId]),delete It[rn.fragId],delete yt[rn.fragId])}})},restore:function(){It={},Lt={};for(var Rt=0;Rt>>nt|qe<<32-nt}function W(qe,nt){var ft=(65535&qe)+(65535&nt);return(qe>>16)+(nt>>16)+(ft>>16)<<16|65535&ft}function j(qe){return Array.prototype.slice.call(qe)}function $(qe){return j(qe).join("")}function U(qe){function nt(){var Lt=[],yt=[];return re(function(){Lt.push.apply(Lt,j(arguments))},{def:function(){var Pt="v"+Ne++;return yt.push(Pt),0>>4&15)+"0123456789abcdef".charAt(15&Rt);return Nt}(function(wt){for(var Rt=Array(wt.length>>2),Nt=0;Nt>5]|=(255&wt.charCodeAt(Nt/8))<<24-Nt%32;var Yt,Wt,Xt,Qt,rn,xn,un,An,Yn,kn,sn,Tn=8*wt.length;for(wt=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],Nt=Array(64),Rt[Tn>>5]|=128<<24-Tn%32,Rt[15+(Tn+64>>9<<4)]=Tn,An=0;AnYn;Yn++){var dn;16>Yn?Nt[Yn]=Rt[Yn+An]:(kn=Yn,sn=W(sn=N(sn=Nt[Yn-2],17)^N(sn,19)^sn>>>10,Nt[Yn-7]),dn=N(dn=Nt[Yn-15],7)^N(dn,18)^dn>>>3,Nt[kn]=W(W(sn,dn),Nt[Yn-16])),kn=W(W(W(W(un,kn=N(kn=Qt,6)^N(kn,11)^N(kn,25)),Qt&rn^~Qt&xn),xt[Yn]),Nt[Yn]),sn=W(un=N(un=Tn,2)^N(un,13)^N(un,22),Tn&Yt^Tn&Wt^Yt&Wt),un=xn,xn=rn,rn=Qt,Qt=W(Xt,kn),Xt=Wt,Wt=Yt,Yt=Tn,Tn=W(kn,sn)}wt[0]=W(Tn,wt[0]),wt[1]=W(Yt,wt[1]),wt[2]=W(Wt,wt[2]),wt[3]=W(Xt,wt[3]),wt[4]=W(Qt,wt[4]),wt[5]=W(rn,wt[5]),wt[6]=W(xn,wt[6]),wt[7]=W(un,wt[7])}for(Rt="",Nt=0;Nt<32*wt.length;Nt+=8)Rt+=String.fromCharCode(wt[Nt>>5]>>>24-Nt%32&255);return Rt}(function(wt){for(var Rt,Nt,Yt="",Wt=-1;++Wt=Rt&&56320<=Nt&&57343>=Nt&&(Rt=65536+((1023&Rt)<<10)+(1023&Nt),Wt++),127>=Rt?Yt+=String.fromCharCode(Rt):2047>=Rt?Yt+=String.fromCharCode(192|Rt>>>6&31,128|63&Rt):65535>=Rt?Yt+=String.fromCharCode(224|Rt>>>12&15,128|Rt>>>6&63,128|63&Rt):2097151>=Rt&&(Yt+=String.fromCharCode(240|Rt>>>18&7,128|Rt>>>12&63,128|Rt>>>6&63,128|63&Rt));return Yt}(Pt))),Re[yt])?Re[yt].apply(null,ut):(Pt=Function.apply(null,Qe.concat(Pt)),Re&&(Re[yt]=Pt),Pt.apply(null,ut))}}}function G(qe){return Array.isArray(qe)||me(qe)||a(qe)}function q(qe){return qe.sort(function(nt,ft){return nt==="viewport"?-1:ft==="viewport"?1:nt"+br+"?"+Sn+".constant["+br+"]:0;"}).join(""),"}}else{","if(",nr,"(",Sn,".buffer)){",cr,"=",Vn,".createStream(",34962,",",Sn,".buffer);","}else{",cr,"=",Vn,".getBuffer(",Sn,".buffer);","}",pr,'="type" in ',Sn,"?",Xn.glTypes,"[",Sn,".type]:",cr,".dtype;",Qn.normalized,"=!!",Sn,".normalized;"),yn("size"),yn("offset"),yn("stride"),yn("divisor"),gn("}}"),gn.exit("if(",Qn.isStream,"){",Vn,".destroyStream(",cr,");","}"),Qn})}),On}function Yn(jt,Jt,hn,zn,On){function En(hr){var cr=wn[hr];cr&&(yn[hr]=cr)}var mn=function(hr,cr){if(typeof(pr=hr.static).frag=="string"&&typeof pr.vert=="string"){if(0"u"?"Date.now()":"performance.now()"}function mn(hr){hr(yn=Jt.def(),"=",En(),";"),typeof On=="string"?hr(Xn,".count+=",On,";"):hr(Xn,".count++;"),wt&&(zn?hr(Sn=Jt.def(),"=",Qn,".getNumPendingQueries();"):hr(Qn,".beginQuery(",Xn,");"))}function wn(hr){hr(Xn,".cpuTime+=",En(),"-",yn,";"),wt&&(zn?hr(Qn,".pushScopeStats(",Sn,",",Qn,".getNumPendingQueries(),",Xn,");"):hr(Qn,".endQuery();"))}function gn(hr){var cr=Jt.def(nr,".profile");Jt(nr,".profile=",hr,";"),Jt.exit(nr,".profile=",cr,";")}var yn,Sn,Vn=jt.shared,Xn=jt.stats,nr=Vn.current,Qn=Vn.timer;if(hn=hn.profile){if(ne(hn))return void(hn.enable?(mn(Jt),wn(Jt.exit),gn("true")):gn("false"));gn(hn=hn.append(jt,Jt))}else hn=Jt.def(nr,".profile");mn(Vn=jt.block()),Jt("if(",hn,"){",Vn,"}"),wn(jt=jt.block()),Jt.exit("if(",hn,"){",jt,"}")}function In(jt,Jt,hn,zn,On){function En(wn,gn,yn){function Sn(){Jt("if(!",Qn,".buffer){",Xn,".enableVertexAttribArray(",nr,");}");var dr,br=yn.type;dr=yn.size?Jt.def(yn.size,"||",gn):gn,Jt("if(",Qn,".type!==",br,"||",Qn,".size!==",dr,"||",pr.map(function(Rr){return Qn+"."+Rr+"!=="+yn[Rr]}).join("||"),"){",Xn,".bindBuffer(",34962,",",hr,".buffer);",Xn,".vertexAttribPointer(",[nr,dr,br,yn.normalized,yn.stride,yn.offset],");",Qn,".type=",br,";",Qn,".size=",dr,";",pr.map(function(Rr){return Qn+"."+Rr+"="+yn[Rr]+";"}).join(""),"}"),Kt&&(br=yn.divisor,Jt("if(",Qn,".divisor!==",br,"){",jt.instancing,".vertexAttribDivisorANGLE(",[nr,br],");",Qn,".divisor=",br,";}"))}function Vn(){Jt("if(",Qn,".buffer){",Xn,".disableVertexAttribArray(",nr,");",Qn,".buffer=null;","}if(",Ft.map(function(dr,br){return Qn+"."+dr+"!=="+cr[br]}).join("||"),"){",Xn,".vertexAttrib4f(",nr,",",cr,");",Ft.map(function(dr,br){return Qn+"."+dr+"="+cr[br]+";"}).join(""),"}")}var Xn=mn.gl,nr=Jt.def(wn,".location"),Qn=Jt.def(mn.attributes,"[",nr,"]");wn=yn.state;var hr=yn.buffer,cr=[yn.x,yn.y,yn.z,yn.w],pr=["buffer","normalized","offset","stride"];wn===1?Sn():wn===2?Vn():(Jt("if(",wn,"===",1,"){"),Sn(),Jt("}else{"),Vn(),Jt("}"))}var mn=jt.shared;zn.forEach(function(wn){var gn,yn=wn.name,Sn=hn.attributes[yn];if(Sn){if(!On(Sn))return;gn=Sn.append(jt,Jt)}else{if(!On(Je))return;var Vn=jt.scopeAttrib(yn);gn={},Object.keys(new vr).forEach(function(Xn){gn[Xn]=Jt.def(Vn,".",Xn)})}En(jt.link(wn),function(Xn){switch(Xn){case 35664:case 35667:case 35671:return 2;case 35665:case 35668:case 35672:return 3;case 35666:case 35669:case 35673:return 4;default:return 1}}(wn.info.type),gn)})}function jn(jt,Jt,hn,zn,On,En){for(var mn,wn=jt.shared,gn=wn.gl,yn=0;yn>1)",wn],");")}function Rr(){hn(gn,".drawArraysInstancedANGLE(",[Qn,hr,cr,wn],");")}nr&&nr!=="null"?dr?br():(hn("if(",nr,"){"),br(),hn("}else{"),Rr(),hn("}")):Rr()}function mn(){function br(){hn(Sn+".drawElements("+[Qn,cr,pr,hr+"<<(("+pr+"-5121)>>1)"]+");")}function Rr(){hn(Sn+".drawArrays("+[Qn,hr,cr]+");")}nr&&nr!=="null"?dr?br():(hn("if(",nr,"){"),br(),hn("}else{"),Rr(),hn("}")):Rr()}var wn,gn,yn=jt.shared,Sn=yn.gl,Vn=yn.draw,Xn=zn.draw,nr=function(){var br=Xn.elements,Rr=Jt;return br?((br.contextDep&&zn.contextDynamic||br.propDep)&&(Rr=hn),br=br.append(jt,Rr),Xn.elementsActive&&Rr("if("+br+")"+Sn+".bindBuffer(34963,"+br+".buffer.buffer);")):(br=Rr.def(),Rr(br,"=",Vn,".","elements",";","if(",br,"){",Sn,".bindBuffer(",34963,",",br,".buffer.buffer);}","else if(",yn.vao,".currentVAO){",br,"=",jt.shared.elements+".getElements("+yn.vao,".currentVAO.elements);",Rn?"":"if("+br+")"+Sn+".bindBuffer(34963,"+br+".buffer.buffer);","}")),br}(),Qn=On("primitive"),hr=On("offset"),cr=function(){var br=Xn.count,Rr=Jt;return br?((br.contextDep&&zn.contextDynamic||br.propDep)&&(Rr=hn),br=br.append(jt,Rr)):br=Rr.def(Vn,".","count"),br}();if(typeof cr=="number"){if(cr===0)return}else hn("if(",cr,"){"),hn.exit("}");Kt&&(wn=On("instances"),gn=jt.instancing);var pr=nr+".type",dr=Xn.elements&&ne(Xn.elements)&&!Xn.vaoActive;Kt&&(typeof wn!="number"||0<=wn)?typeof wn=="string"?(hn("if(",wn,">0){"),En(),hn("}else if(",wn,"<0){"),mn(),hn("}")):En():mn()}function qn(jt,Jt,hn,zn,On){return On=(Jt=Qt()).proc("body",On),Kt&&(Jt.instancing=On.def(Jt.shared.extensions,".angle_instanced_arrays")),jt(Jt,On,hn,zn),Jt.compile().body}function lr(jt,Jt,hn,zn){pn(jt,Jt),hn.useVAO?hn.drawVAO?Jt(jt.shared.vao,".setVAO(",hn.drawVAO.append(jt,Jt),");"):Jt(jt.shared.vao,".setVAO(",jt.shared.vao,".targetVAO);"):(Jt(jt.shared.vao,".setVAO(null);"),In(jt,Jt,hn,zn.attributes,function(){return!0})),jn(jt,Jt,hn,zn.uniforms,function(){return!0},!1),Gn(jt,Jt,Jt,hn)}function rr(jt,Jt,hn,zn){function On(){return!0}jt.batchId="a1",pn(jt,Jt),In(jt,Jt,hn,zn.attributes,On),jn(jt,Jt,hn,zn.uniforms,On,!1),Gn(jt,Jt,Jt,hn)}function Sr(jt,Jt,hn,zn){function On(Vn){return Vn.contextDep&&mn||Vn.propDep}function En(Vn){return!On(Vn)}pn(jt,Jt);var mn=hn.contextDep,wn=Jt.def(),gn=Jt.def();jt.shared.props=gn,jt.batchId=wn;var yn=jt.scope(),Sn=jt.scope();Jt(yn.entry,"for(",wn,"=0;",wn,"<","a1",";++",wn,"){",gn,"=","a0","[",wn,"];",Sn,"}",yn.exit),hn.needsContext&&kn(jt,Sn,hn.context),hn.needsFramebuffer&&sn(jt,Sn,hn.framebuffer),dn(jt,Sn,hn.state,On),hn.profile&&On(hn.profile)&&Dn(jt,Sn,hn,!1,!0),zn?(hn.useVAO?hn.drawVAO?On(hn.drawVAO)?Sn(jt.shared.vao,".setVAO(",hn.drawVAO.append(jt,Sn),");"):yn(jt.shared.vao,".setVAO(",hn.drawVAO.append(jt,yn),");"):yn(jt.shared.vao,".setVAO(",jt.shared.vao,".targetVAO);"):(yn(jt.shared.vao,".setVAO(null);"),In(jt,yn,hn,zn.attributes,En),In(jt,Sn,hn,zn.attributes,On)),jn(jt,yn,hn,zn.uniforms,En,!1),jn(jt,Sn,hn,zn.uniforms,On,!0),Gn(jt,yn,Sn,hn)):(Jt=jt.global.def("{}"),zn=hn.shader.progVar.append(jt,Sn),gn=Sn.def(zn,".id"),yn=Sn.def(Jt,"[",gn,"]"),Sn(jt.shared.gl,".useProgram(",zn,".program);","if(!",yn,"){",yn,"=",Jt,"[",gn,"]=",jt.link(function(Vn){return qn(rr,jt,hn,Vn,2)}),"(",zn,");}",yn,".call(this,a0[",wn,"],",wn,");"))}function yr(jt,Jt){function hn(wn){var gn=Jt.shader[wn];gn&&(gn=gn.append(jt,zn),isNaN(gn)?zn.set(On.shader,"."+wn,gn):zn.set(On.shader,"."+wn,jt.link(gn,{stable:!0})))}var zn=jt.proc("scope",3);jt.batchId="a2";var On=jt.shared,En=On.current;if(kn(jt,zn,Jt.context),Jt.framebuffer&&Jt.framebuffer.append(jt,zn),q(Object.keys(Jt.state)).forEach(function(wn){var gn=Jt.state[wn],yn=gn.append(jt,zn);C(yn)?yn.forEach(function(Sn,Vn){isNaN(Sn)?zn.set(jt.next[wn],"["+Vn+"]",Sn):zn.set(jt.next[wn],"["+Vn+"]",jt.link(Sn,{stable:!0}))}):ne(gn)?zn.set(On.next,"."+wn,jt.link(yn,{stable:!0})):zn.set(On.next,"."+wn,yn)}),Dn(jt,zn,Jt,!0,!0),["elements","offset","count","instances","primitive"].forEach(function(wn){var gn=Jt.draw[wn];gn&&(gn=gn.append(jt,zn),isNaN(gn)?zn.set(On.draw,"."+wn,gn):zn.set(On.draw,"."+wn,jt.link(gn),{stable:!0}))}),Object.keys(Jt.uniforms).forEach(function(wn){var gn=Jt.uniforms[wn].append(jt,zn);Array.isArray(gn)&&(gn="["+gn.map(function(yn){return isNaN(yn)?yn:jt.link(yn,{stable:!0})})+"]"),zn.set(On.uniforms,"["+jt.link(nt.id(wn),{stable:!0})+"]",gn)}),Object.keys(Jt.attributes).forEach(function(wn){var gn=Jt.attributes[wn].append(jt,zn),yn=jt.scopeAttrib(wn);Object.keys(new vr).forEach(function(Sn){zn.set(yn,"."+Sn,gn[Sn])})}),Jt.scopeVAO){var mn=Jt.scopeVAO.append(jt,zn);isNaN(mn)?zn.set(On.vao,".targetVAO",mn):zn.set(On.vao,".targetVAO",jt.link(mn,{stable:!0}))}hn("vert"),hn("frag"),0=--this.refCount&&ut(this)},Ne.profile&&(Re.getTotalRenderbufferSize=function(){var yt=0;return Object.keys(Lt).forEach(function(Pt){yt+=Lt[Pt].stats.size}),yt}),{create:function(yt,Pt){function wt(Nt,Yt){var Wt=0,Xt=0,Qt=32854;if(typeof Nt=="object"&&Nt?("shape"in Nt?(Wt=0|(Xt=Nt.shape)[0],Xt=0|Xt[1]):("radius"in Nt&&(Wt=Xt=0|Nt.radius),"width"in Nt&&(Wt=0|Nt.width),"height"in Nt&&(Xt=0|Nt.height)),"format"in Nt&&(Qt=dt[Nt.format])):typeof Nt=="number"?(Wt=0|Nt,Xt=typeof Yt=="number"?0|Yt:Wt):Nt||(Wt=Xt=1),Wt!==Rt.width||Xt!==Rt.height||Qt!==Rt.format)return wt.width=Rt.width=Wt,wt.height=Rt.height=Xt,Rt.format=Qt,qe.bindRenderbuffer(36161,Rt.renderbuffer),qe.renderbufferStorage(36161,Qt,Wt,Xt),Ne.profile&&(Rt.stats.size=ht[Rt.format]*Rt.width*Rt.height),wt.format=_t[Rt.format],wt}var Rt=new Qe(qe.createRenderbuffer());return Lt[Rt.id]=Rt,Re.renderbufferCount++,wt(yt,Pt),wt.resize=function(Nt,Yt){var Wt=0|Nt,Xt=0|Yt||Wt;return Wt===Rt.width&&Xt===Rt.height||(wt.width=Rt.width=Wt,wt.height=Rt.height=Xt,qe.bindRenderbuffer(36161,Rt.renderbuffer),qe.renderbufferStorage(36161,Rt.format,Wt,Xt),Ne.profile&&(Rt.stats.size=ht[Rt.format]*Rt.width*Rt.height)),wt},wt._reglType="renderbuffer",wt._renderbuffer=Rt,Ne.profile&&(wt.stats=Rt.stats),wt.destroy=function(){Rt.decRef()},wt},clear:function(){pe(Lt).forEach(ut)},restore:function(){pe(Lt).forEach(function(yt){yt.renderbuffer=qe.createRenderbuffer(),qe.bindRenderbuffer(36161,yt.renderbuffer),qe.renderbufferStorage(36161,yt.format,yt.width,yt.height)}),qe.bindRenderbuffer(36161,null)}}},Et=[];Et[6408]=4,Et[6407]=3;var kt=[];kt[5121]=1,kt[5126]=4,kt[36193]=2;var xt=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],Ft=["x","y","z","w"],Ot="blend.func blend.equation stencil.func stencil.opFront stencil.opBack sample.coverage viewport scissor.box polygonOffset.offset".split(" "),Bt={0:0,1:1,zero:0,one:1,"src color":768,"one minus src color":769,"src alpha":770,"one minus src alpha":771,"dst color":774,"one minus dst color":775,"dst alpha":772,"one minus dst alpha":773,"constant color":32769,"one minus constant color":32770,"constant alpha":32771,"one minus constant alpha":32772,"src alpha saturate":776},qt={never:512,less:513,"<":513,equal:514,"=":514,"==":514,"===":514,lequal:515,"<=":515,greater:516,">":516,notequal:517,"!=":517,"!==":517,gequal:518,">=":518,always:519},Vt={0:0,zero:0,keep:7680,replace:7681,increment:7682,decrement:7683,"increment wrap":34055,"decrement wrap":34056,invert:5386},Ke={cw:2304,ccw:2305},Je=new H(!1,!1,!1,function(){});return function(qe){function nt(){if(rr.length===0)rn&&rn.update(),vr=null;else{vr=ue.next(nt),Lt();for(var Kt=rr.length-1;0<=Kt;--Kt){var bn=rr[Kt];bn&&bn(Yn,null,0)}wt.flush(),rn&&rn.update()}}function ft(){!vr&&0=rr.length&&Re()}}}}function It(){var Kt=qn.viewport,bn=qn.scissor_box;Kt[0]=Kt[1]=bn[0]=bn[1]=0,Yn.viewportWidth=Yn.framebufferWidth=Yn.drawingBufferWidth=Kt[2]=bn[2]=wt.drawingBufferWidth,Yn.viewportHeight=Yn.framebufferHeight=Yn.drawingBufferHeight=Kt[3]=bn[3]=wt.drawingBufferHeight}function Lt(){Yn.tick+=1,Yn.time=Pt(),It(),Gn.procs.poll()}function yt(){Dn.refresh(),It(),Gn.procs.refresh(),rn&&rn.update()}function Pt(){return(ce()-xn)/1e3}if(!(qe=M(qe)))return null;var wt=qe.gl,Rt=wt.getContextAttributes();wt.isContextLost();var Nt=function(Kt,bn){function Rn($n){var tr;$n=$n.toLowerCase();try{tr=Ln[$n]=Kt.getExtension($n)}catch{}return!!tr}for(var Ln={},Un=0;Unbn;++bn)_r(re({framebuffer:Kt.framebuffer.faces[bn]},Kt),dt);else _r(Kt,dt);else dt(0,Kt)},prop:oe.define.bind(null,1),context:oe.define.bind(null,2),this:oe.define.bind(null,3),draw:ut({}),buffer:function(Kt){return sn.create(Kt,34962,!1,!1)},elements:function(Kt){return Tn.create(Kt,!1)},texture:Dn.create2D,cube:Dn.createCube,renderbuffer:In.create,framebuffer:jn.create,framebufferCube:jn.createCube,vao:dn.createVAO,attributes:Rt,frame:_t,on:function(Kt,bn){var Rn;switch(Kt){case"frame":return _t(bn);case"lost":Rn=Sr;break;case"restore":Rn=yr;break;case"destroy":Rn=or}return Rn.push(bn),{cancel:function(){for(var Ln=0;Ln2?"one of ".concat(i," ").concat(g.slice(0,M-1).join(", "),", or ")+g[M-1]:M===2?"one of ".concat(i," ").concat(g[0]," or ").concat(g[1]):"of ".concat(i," ").concat(g[0])}return"of ".concat(i," ").concat(String(g))}t("ERR_INVALID_OPT_VALUE",function(g,i){return'The value "'+i+'" is invalid for option "'+g+'"'},TypeError),t("ERR_INVALID_ARG_TYPE",function(g,i,M){var v,f,l,a,u;if(typeof i=="string"&&(f="not ",i.substr(0,f.length)===f)?(v="must not be",i=i.replace(/^not /,"")):v="must be",function(s,h,c){return(c===void 0||c>s.length)&&(c=s.length),s.substring(c-h.length,c)===h}(g," argument"))l="The ".concat(g," ").concat(v," ").concat(d(i,"type"));else{var o=(typeof u!="number"&&(u=0),u+1>(a=g).length||a.indexOf(".",u)===-1?"argument":"property");l='The "'.concat(g,'" ').concat(o," ").concat(v," ").concat(d(i,"type"))}return l+". Received type ".concat(typeof M)},TypeError),t("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),t("ERR_METHOD_NOT_IMPLEMENTED",function(g){return"The "+g+" method is not implemented"}),t("ERR_STREAM_PREMATURE_CLOSE","Premature close"),t("ERR_STREAM_DESTROYED",function(g){return"Cannot call "+g+" after a stream was destroyed"}),t("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),t("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),t("ERR_STREAM_WRITE_AFTER_END","write after end"),t("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),t("ERR_UNKNOWN_ENCODING",function(g){return"Unknown encoding: "+g},TypeError),t("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),T.exports.q=p},37865:function(T,p,t){var d=t(90386),g=Object.keys||function(s){var h=[];for(var c in s)h.push(c);return h};T.exports=a;var i=t(40410),M=t(37493);t(42018)(a,i);for(var v=g(M.prototype),f=0;f0)if(typeof Z=="string"||oe.objectMode||Object.getPrototypeOf(Z)===f.prototype||(Z=function(ue){return f.from(ue)}(Z)),Q)oe.endEmitted?E(te,new k):R(te,oe,Z,!0);else if(oe.ended)E(te,new C);else{if(oe.destroyed)return!1;oe.reading=!1,oe.decoder&&!X?(Z=oe.decoder.write(Z),oe.objectMode||Z.length!==0?R(te,oe,Z,!1):B(te,oe)):R(te,oe,Z,!1)}else Q||(oe.reading=!1,B(te,oe));return!oe.ended&&(oe.lengthZ.highWaterMark&&(Z.highWaterMark=function(X){return X>=I?X=I:(X--,X|=X>>>1,X|=X>>>2,X|=X>>>4,X|=X>>>8,X|=X>>>16,X++),X}(te)),te<=Z.length?te:Z.ended?Z.length:(Z.needReadable=!0,0))}function z(te){var Z=te._readableState;i("emitReadable",Z.needReadable,Z.emittedReadable),Z.needReadable=!1,Z.emittedReadable||(i("emitReadable",Z.flowing),Z.emittedReadable=!0,g.nextTick(F,te))}function F(te){var Z=te._readableState;i("emitReadable_",Z.destroyed,Z.length,Z.ended),Z.destroyed||!Z.length&&!Z.ended||(te.emit("readable"),Z.emittedReadable=!1),Z.needReadable=!Z.flowing&&!Z.ended&&Z.length<=Z.highWaterMark,U(te)}function B(te,Z){Z.readingMore||(Z.readingMore=!0,g.nextTick(N,te,Z))}function N(te,Z){for(;!Z.reading&&!Z.ended&&(Z.length0,Z.resumeScheduled&&!Z.paused?Z.flowing=!0:te.listenerCount("data")>0&&te.resume()}function j(te){i("readable nexttick read 0"),te.read(0)}function $(te,Z){i("resume",Z.reading),Z.reading||te.read(0),Z.resumeScheduled=!1,te.emit("resume"),U(te),Z.flowing&&!Z.reading&&te.read(0)}function U(te){var Z=te._readableState;for(i("flow",Z.flowing);Z.flowing&&te.read()!==null;);}function G(te,Z){return Z.length===0?null:(Z.objectMode?X=Z.buffer.shift():!te||te>=Z.length?(X=Z.decoder?Z.buffer.join(""):Z.buffer.length===1?Z.buffer.first():Z.buffer.concat(Z.length),Z.buffer.clear()):X=Z.buffer.consume(te,Z.decoder),X);var X}function q(te){var Z=te._readableState;i("endReadable",Z.endEmitted),Z.endEmitted||(Z.ended=!0,g.nextTick(H,Z,te))}function H(te,Z){if(i("endReadableNT",te.endEmitted,te.length),!te.endEmitted&&te.length===0&&(te.endEmitted=!0,Z.readable=!1,Z.emit("end"),te.autoDestroy)){var X=Z._writableState;(!X||X.autoDestroy&&X.finished)&&Z.destroy()}}function ne(te,Z){for(var X=0,Q=te.length;X=Z.highWaterMark:Z.length>0)||Z.ended))return i("read: emitReadable",Z.length,Z.ended),Z.length===0&&Z.ended?q(this):z(this),null;if((te=O(te,Z))===0&&Z.ended)return Z.length===0&&q(this),null;var Q,re=Z.needReadable;return i("need readable",re),(Z.length===0||Z.length-te0?G(te,Z):null)===null?(Z.needReadable=Z.length<=Z.highWaterMark,te=0):(Z.length-=te,Z.awaitDrain=0),Z.length===0&&(Z.ended||(Z.needReadable=!0),X!==te&&Z.ended&&q(this)),Q!==null&&this.emit("data",Q),Q},L.prototype._read=function(te){E(this,new _("_read()"))},L.prototype.pipe=function(te,Z){var X=this,Q=this._readableState;switch(Q.pipesCount){case 0:Q.pipes=te;break;case 1:Q.pipes=[Q.pipes,te];break;default:Q.pipes.push(te)}Q.pipesCount+=1,i("pipe count=%d opts=%j",Q.pipesCount,Z);var re=Z&&Z.end===!1||te===g.stdout||te===g.stderr?pe:ie;function ie(){i("onend"),te.end()}Q.endEmitted?g.nextTick(re):X.once("end",re),te.on("unpipe",function xe(Pe,_e){i("onunpipe"),Pe===X&&_e&&_e.hasUnpiped===!1&&(_e.hasUnpiped=!0,i("cleanup"),te.removeListener("close",de),te.removeListener("finish",me),te.removeListener("drain",oe),te.removeListener("error",ye),te.removeListener("unpipe",xe),X.removeListener("end",ie),X.removeListener("end",pe),X.removeListener("data",ce),ue=!0,!Q.awaitDrain||te._writableState&&!te._writableState.needDrain||oe())});var oe=function(xe){return function(){var Pe=xe._readableState;i("pipeOnDrain",Pe.awaitDrain),Pe.awaitDrain&&Pe.awaitDrain--,Pe.awaitDrain===0&&M(xe,"data")&&(Pe.flowing=!0,U(xe))}}(X);te.on("drain",oe);var ue=!1;function ce(xe){i("ondata");var Pe=te.write(xe);i("dest.write",Pe),Pe===!1&&((Q.pipesCount===1&&Q.pipes===te||Q.pipesCount>1&&ne(Q.pipes,te)!==-1)&&!ue&&(i("false write response, pause",Q.awaitDrain),Q.awaitDrain++),X.pause())}function ye(xe){i("onerror",xe),pe(),te.removeListener("error",ye),M(te,"error")===0&&E(te,xe)}function de(){te.removeListener("finish",me),pe()}function me(){i("onfinish"),te.removeListener("close",de),pe()}function pe(){i("unpipe"),X.unpipe(te)}return X.on("data",ce),function(xe,Pe,_e){if(typeof xe.prependListener=="function")return xe.prependListener(Pe,_e);xe._events&&xe._events.error?Array.isArray(xe._events.error)?xe._events.error.unshift(_e):xe._events.error=[_e,xe._events.error]:xe.on(Pe,_e)}(te,"error",ye),te.once("close",de),te.once("finish",me),te.emit("pipe",X),Q.flowing||(i("pipe resume"),X.resume()),te},L.prototype.unpipe=function(te){var Z=this._readableState,X={hasUnpiped:!1};if(Z.pipesCount===0)return this;if(Z.pipesCount===1)return te&&te!==Z.pipes||(te||(te=Z.pipes),Z.pipes=null,Z.pipesCount=0,Z.flowing=!1,te&&te.emit("unpipe",this,X)),this;if(!te){var Q=Z.pipes,re=Z.pipesCount;Z.pipes=null,Z.pipesCount=0,Z.flowing=!1;for(var ie=0;ie0,Q.flowing!==!1&&this.resume()):te==="readable"&&(Q.endEmitted||Q.readableListening||(Q.readableListening=Q.needReadable=!0,Q.flowing=!1,Q.emittedReadable=!1,i("on readable",Q.length,Q.reading),Q.length?z(this):Q.reading||g.nextTick(j,this))),X},L.prototype.addListener=L.prototype.on,L.prototype.removeListener=function(te,Z){var X=v.prototype.removeListener.call(this,te,Z);return te==="readable"&&g.nextTick(W,this),X},L.prototype.removeAllListeners=function(te){var Z=v.prototype.removeAllListeners.apply(this,arguments);return te!=="readable"&&te!==void 0||g.nextTick(W,this),Z},L.prototype.resume=function(){var te=this._readableState;return te.flowing||(i("resume"),te.flowing=!te.readableListening,function(Z,X){X.resumeScheduled||(X.resumeScheduled=!0,g.nextTick($,Z,X))}(this,te)),te.paused=!1,this},L.prototype.pause=function(){return i("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(i("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},L.prototype.wrap=function(te){var Z=this,X=this._readableState,Q=!1;for(var re in te.on("end",function(){if(i("wrapped end"),X.decoder&&!X.ended){var oe=X.decoder.end();oe&&oe.length&&Z.push(oe)}Z.push(null)}),te.on("data",function(oe){i("wrapped data"),X.decoder&&(oe=X.decoder.write(oe)),X.objectMode&&oe==null||(X.objectMode||oe&&oe.length)&&(Z.push(oe)||(Q=!0,te.pause()))}),te)this[re]===void 0&&typeof te[re]=="function"&&(this[re]=function(oe){return function(){return te[oe].apply(te,arguments)}}(re));for(var ie=0;ie-1))throw new k(B);return this._writableState.defaultEncoding=B,this},Object.defineProperty(L.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(L.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),L.prototype._write=function(B,N,W){W(new c("_write()"))},L.prototype._writev=null,L.prototype.end=function(B,N,W){var j=this._writableState;return typeof B=="function"?(W=B,B=null,N=null):typeof N=="function"&&(W=N,N=null),B!=null&&this.write(B,N),j.corked&&(j.corked=1,this.uncork()),j.ending||function($,U,G){U.ending=!0,F($,U),G&&(U.finished?g.nextTick(G):$.once("finish",G)),U.ended=!0,$.writable=!1}(this,j,W),this},Object.defineProperty(L.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(L.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function(B){this._writableState&&(this._writableState.destroyed=B)}}),L.prototype.destroy=u.destroy,L.prototype._undestroy=u.undestroy,L.prototype._destroy=function(B,N){N(B)}},68221:function(T,p,t){var d,g=t(90386);function i(C,_,k){return _ in C?Object.defineProperty(C,_,{value:k,enumerable:!0,configurable:!0,writable:!0}):C[_]=k,C}var M=t(12726),v=Symbol("lastResolve"),f=Symbol("lastReject"),l=Symbol("error"),a=Symbol("ended"),u=Symbol("lastPromise"),o=Symbol("handlePromise"),s=Symbol("stream");function h(C,_){return{value:C,done:_}}function c(C){var _=C[v];if(_!==null){var k=C[s].read();k!==null&&(C[u]=null,C[v]=null,C[f]=null,_(h(k,!1)))}}function m(C){g.nextTick(c,C)}var w=Object.getPrototypeOf(function(){}),y=Object.setPrototypeOf((i(d={get stream(){return this[s]},next:function(){var C=this,_=this[l];if(_!==null)return Promise.reject(_);if(this[a])return Promise.resolve(h(void 0,!0));if(this[s].destroyed)return new Promise(function(A,L){g.nextTick(function(){C[l]?L(C[l]):A(h(void 0,!0))})});var k,E=this[u];if(E)k=new Promise(function(A,L){return function(b,R){A.then(function(){L[a]?b(h(void 0,!0)):L[o](b,R)},R)}}(E,this));else{var x=this[s].read();if(x!==null)return Promise.resolve(h(x,!1));k=new Promise(this[o])}return this[u]=k,k}},Symbol.asyncIterator,function(){return this}),i(d,"return",function(){var C=this;return new Promise(function(_,k){C[s].destroy(null,function(E){E?k(E):_(h(void 0,!0))})})}),d),w);T.exports=function(C){var _,k=Object.create(y,(i(_={},s,{value:C,writable:!0}),i(_,v,{value:null,writable:!0}),i(_,f,{value:null,writable:!0}),i(_,l,{value:null,writable:!0}),i(_,a,{value:C._readableState.endEmitted,writable:!0}),i(_,o,{value:function(E,x){var A=k[s].read();A?(k[u]=null,k[v]=null,k[f]=null,E(h(A,!1))):(k[v]=E,k[f]=x)},writable:!0}),_));return k[u]=null,M(C,function(E){if(E&&E.code!=="ERR_STREAM_PREMATURE_CLOSE"){var x=k[f];return x!==null&&(k[u]=null,k[v]=null,k[f]=null,x(E)),void(k[l]=E)}var A=k[v];A!==null&&(k[u]=null,k[v]=null,k[f]=null,A(h(void 0,!0))),k[a]=!0}),C.on("readable",m.bind(null,k)),k}},31125:function(T,p,t){function d(l,a){var u=Object.keys(l);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(l);a&&(o=o.filter(function(s){return Object.getOwnPropertyDescriptor(l,s).enumerable})),u.push.apply(u,o)}return u}function g(l,a,u){return a in l?Object.defineProperty(l,a,{value:u,enumerable:!0,configurable:!0,writable:!0}):l[a]=u,l}function i(l,a){for(var u=0;u0?this.tail.next=s:this.head=s,this.tail=s,++this.length}},{key:"unshift",value:function(o){var s={data:o,next:this.head};this.length===0&&(this.tail=s),this.head=s,++this.length}},{key:"shift",value:function(){if(this.length!==0){var o=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,o}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(o){if(this.length===0)return"";for(var s=this.head,h=""+s.data;s=s.next;)h+=o+s.data;return h}},{key:"concat",value:function(o){if(this.length===0)return M.alloc(0);for(var s,h,c,m=M.allocUnsafe(o>>>0),w=this.head,y=0;w;)s=w.data,h=m,c=y,M.prototype.copy.call(s,h,c),y+=w.data.length,w=w.next;return m}},{key:"consume",value:function(o,s){var h;return om.length?m.length:o;if(w===m.length?c+=m:c+=m.slice(0,o),(o-=w)==0){w===m.length?(++h,s.next?this.head=s.next:this.head=this.tail=null):(this.head=s,s.data=m.slice(w));break}++h}return this.length-=h,c}},{key:"_getBuffer",value:function(o){var s=M.allocUnsafe(o),h=this.head,c=1;for(h.data.copy(s),o-=h.data.length;h=h.next;){var m=h.data,w=o>m.length?m.length:o;if(m.copy(s,s.length-o,0,w),(o-=w)==0){w===m.length?(++c,h.next?this.head=h.next:this.head=this.tail=null):(this.head=h,h.data=m.slice(w));break}++c}return this.length-=c,s}},{key:f,value:function(o,s){return v(this,function(h){for(var c=1;c0,function(k){c||(c=k),k&&w.forEach(l),_||(w.forEach(l),m(c))})});return s.reduce(a)}},56306:function(T,p,t){var d=t(74322).q.ERR_INVALID_OPT_VALUE;T.exports={getHighWaterMark:function(g,i,M,v){var f=function(l,a,u){return l.highWaterMark!=null?l.highWaterMark:a?l[u]:null}(i,v,M);if(f!=null){if(!isFinite(f)||Math.floor(f)!==f||f<0)throw new d(v?M:"highWaterMark",f);return Math.floor(f)}return g.objectMode?16:16384}}},71405:function(T,p,t){T.exports=t(15398).EventEmitter},68019:function(T,p,t){var d=t(71665).Buffer,g=d.isEncoding||function(h){switch((h=""+h)&&h.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i(h){var c;switch(this.encoding=function(m){var w=function(y){if(!y)return"utf8";for(var C;;)switch(y){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return y;default:if(C)return;y=(""+y).toLowerCase(),C=!0}}(m);if(typeof w!="string"&&(d.isEncoding===g||!g(m)))throw new Error("Unknown encoding: "+m);return w||m}(h),this.encoding){case"utf16le":this.text=f,this.end=l,c=4;break;case"utf8":this.fillLast=v,c=4;break;case"base64":this.text=a,this.end=u,c=3;break;default:return this.write=o,void(this.end=s)}this.lastNeed=0,this.lastTotal=0,this.lastChar=d.allocUnsafe(c)}function M(h){return h<=127?0:h>>5==6?2:h>>4==14?3:h>>3==30?4:h>>6==2?-1:-2}function v(h){var c=this.lastTotal-this.lastNeed,m=function(w,y,C){if((192&y[0])!=128)return w.lastNeed=0,"�";if(w.lastNeed>1&&y.length>1){if((192&y[1])!=128)return w.lastNeed=1,"�";if(w.lastNeed>2&&y.length>2&&(192&y[2])!=128)return w.lastNeed=2,"�"}}(this,h);return m!==void 0?m:this.lastNeed<=h.length?(h.copy(this.lastChar,c,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(h.copy(this.lastChar,c,0,h.length),void(this.lastNeed-=h.length))}function f(h,c){if((h.length-c)%2==0){var m=h.toString("utf16le",c);if(m){var w=m.charCodeAt(m.length-1);if(w>=55296&&w<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=h[h.length-2],this.lastChar[1]=h[h.length-1],m.slice(0,-1)}return m}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=h[h.length-1],h.toString("utf16le",c,h.length-1)}function l(h){var c=h&&h.length?this.write(h):"";if(this.lastNeed){var m=this.lastTotal-this.lastNeed;return c+this.lastChar.toString("utf16le",0,m)}return c}function a(h,c){var m=(h.length-c)%3;return m===0?h.toString("base64",c):(this.lastNeed=3-m,this.lastTotal=3,m===1?this.lastChar[0]=h[h.length-1]:(this.lastChar[0]=h[h.length-2],this.lastChar[1]=h[h.length-1]),h.toString("base64",c,h.length-m))}function u(h){var c=h&&h.length?this.write(h):"";return this.lastNeed?c+this.lastChar.toString("base64",0,3-this.lastNeed):c}function o(h){return h.toString(this.encoding)}function s(h){return h&&h.length?this.write(h):""}p.s=i,i.prototype.write=function(h){if(h.length===0)return"";var c,m;if(this.lastNeed){if((c=this.fillLast(h))===void 0)return"";m=this.lastNeed,this.lastNeed=0}else m=0;return m=0?(E>0&&(y.lastNeed=E-1),E):--k<_||E===-2?0:(E=M(C[k]))>=0?(E>0&&(y.lastNeed=E-2),E):--k<_||E===-2?0:(E=M(C[k]))>=0?(E>0&&(E===2?E=0:y.lastNeed=E-3),E):0}(this,h,c);if(!this.lastNeed)return h.toString("utf8",c);this.lastTotal=m;var w=h.length-(m-this.lastNeed);return h.copy(this.lastChar,0,w),h.toString("utf8",c,w)},i.prototype.fillLast=function(h){if(this.lastNeed<=h.length)return h.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);h.copy(this.lastChar,this.lastTotal-this.lastNeed,0,h.length),this.lastNeed-=h.length}},90715:function(T,p,t){var d=t(32791),g=t(41633)("stream-parser");function i(h){g("initializing parser stream"),h._parserBytesLeft=0,h._parserBuffers=[],h._parserBuffered=0,h._parserState=-1,h._parserCallback=null,typeof h.push=="function"&&(h._parserOutput=h.push.bind(h)),h._parserInit=!0}function M(h,c){d(!this._parserCallback,'there is already a "callback" set!'),d(isFinite(h)&&h>0,'can only buffer a finite number of bytes > 0, got "'+h+'"'),this._parserInit||i(this),g("buffering %o bytes",h),this._parserBytesLeft=h,this._parserCallback=c,this._parserState=0}function v(h,c){d(!this._parserCallback,'there is already a "callback" set!'),d(h>0,'can only skip > 0 bytes, got "'+h+'"'),this._parserInit||i(this),g("skipping %o bytes",h),this._parserBytesLeft=h,this._parserCallback=c,this._parserState=1}function f(h,c){d(!this._parserCallback,'There is already a "callback" set!'),d(h>0,'can only pass through > 0 bytes, got "'+h+'"'),this._parserInit||i(this),g("passing through %o bytes",h),this._parserBytesLeft=h,this._parserCallback=c,this._parserState=2}function l(h,c,m){this._parserInit||i(this),g("write(%o bytes)",h.length),typeof c=="function"&&(m=c),o(this,h,null,m)}function a(h,c,m){this._parserInit||i(this),g("transform(%o bytes)",h.length),typeof c!="function"&&(c=this._parserOutput),o(this,h,c,m)}function u(h,c,m,w){if(h._parserBytesLeft-=c.length,g("%o bytes left for stream piece",h._parserBytesLeft),h._parserState===0?(h._parserBuffers.push(c),h._parserBuffered+=c.length):h._parserState===2&&m(c),h._parserBytesLeft!==0)return w;var y=h._parserCallback;if(y&&h._parserState===0&&h._parserBuffers.length>1&&(c=Buffer.concat(h._parserBuffers,h._parserBuffered)),h._parserState!==0&&(c=null),h._parserCallback=null,h._parserBuffered=0,h._parserState=-1,h._parserBuffers.splice(0),y){var C=[];c&&C.push(c),m&&C.push(m);var _=y.length>C.length;_&&C.push(s(w));var k=y.apply(h,C);if(!_||w===k)return w}}T.exports=function(h){var c=h&&typeof h._transform=="function",m=h&&typeof h._write=="function";if(!c&&!m)throw new Error("must pass a Writable or Transform stream in");g("extending Parser into stream"),h._bytes=M,h._skipBytes=v,c&&(h._passthrough=f),c?h._transform=a:h._write=l};var o=s(function h(c,m,w,y){return c._parserBytesLeft<=0?y(new Error("got data but not currently parsing anything")):m.length<=c._parserBytesLeft?function(){return u(c,m,w,y)}:function(){var C=m.slice(0,c._parserBytesLeft);return u(c,C,w,function(_){return _?y(_):m.length>C.length?function(){return h(c,m.slice(C.length),w,y)}:void 0})}});function s(h){return function(){for(var c=h.apply(this,arguments);typeof c=="function";)c=c();return c}}},41633:function(T,p,t){var d=t(90386);function g(){var i;try{i=p.storage.debug}catch{}return!i&&d!==void 0&&"env"in d&&(i=d.env.DEBUG),i}(p=T.exports=t(74469)).log=function(){return typeof console=="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},p.formatArgs=function(i){var M=this.useColors;if(i[0]=(M?"%c":"")+this.namespace+(M?" %c":" ")+i[0]+(M?"%c ":" ")+"+"+p.humanize(this.diff),M){var v="color: "+this.color;i.splice(1,0,v,"color: inherit");var f=0,l=0;i[0].replace(/%[a-zA-Z%]/g,function(a){a!=="%%"&&(f++,a==="%c"&&(l=f))}),i.splice(l,0,v)}},p.save=function(i){try{i==null?p.storage.removeItem("debug"):p.storage.debug=i}catch{}},p.load=g,p.useColors=function(){return!(typeof window>"u"||!window.process||window.process.type!=="renderer")||typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},p.storage=typeof chrome<"u"&&chrome.storage!==void 0?chrome.storage.local:function(){try{return window.localStorage}catch{}}(),p.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],p.formatters.j=function(i){try{return JSON.stringify(i)}catch(M){return"[UnexpectedJSONParseError]: "+M.message}},p.enable(g())},74469:function(T,p,t){var d;function g(i){function M(){if(M.enabled){var v=M,f=+new Date,l=f-(d||f);v.diff=l,v.prev=d,v.curr=f,d=f;for(var a=new Array(arguments.length),u=0;u0)return function(a){if(!((a=String(a)).length>100)){var u=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(a);if(u){var o=parseFloat(u[1]);switch((u[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*o;case"days":case"day":case"d":return o*g;case"hours":case"hour":case"hrs":case"hr":case"h":return o*d;case"minutes":case"minute":case"mins":case"min":case"m":return o*t;case"seconds":case"second":case"secs":case"sec":case"s":return o*p;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return o;default:return}}}}(M);if(l==="number"&&isNaN(M)===!1)return v.long?i(f=M,g,"day")||i(f,d,"hour")||i(f,t,"minute")||i(f,p,"second")||f+" ms":function(a){return a>=g?Math.round(a/g)+"d":a>=d?Math.round(a/d)+"h":a>=t?Math.round(a/t)+"m":a>=p?Math.round(a/p)+"s":a+"ms"}(M);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(M))}},99011:function(T,p,t){var d=t(88641);T.exports=function(g,i,M){if(g==null)throw Error("First argument should be a string");if(i==null)throw Error("Separator should be a string or a RegExp");M?(typeof M=="string"||Array.isArray(M))&&(M={ignore:M}):M={},M.escape==null&&(M.escape=!0),M.ignore==null?M.ignore=["[]","()","{}","<>",'""',"''","``","“”","«»"]:(typeof M.ignore=="string"&&(M.ignore=[M.ignore]),M.ignore=M.ignore.map(function(s){return s.length===1&&(s+=s),s}));var v=d.parse(g,{flat:!0,brackets:M.ignore}),f=v[0].split(i);if(M.escape){for(var l=[],a=0;a0;){w=C[C.length-1];var _=p[w];if(M[w]<_.length){for(var k=M[w];k<_.length;++k){var E=_[k];if(d[E]<0){d[E]=g[E]=u,i[E]=!0,u+=1,y.push(E),C.push(E);break}i[E]&&(g[w]=0|Math.min(g[w],g[E])),v[E]>=0&&f[w].push(v[E])}M[w]=k}else{if(g[w]===d[w]){var x=[],A=[],L=0;for(k=y.length-1;k>=0;--k){var b=y[k];if(i[b]=!1,x.push(b),A.push(f[b]),L+=f[b].length,v[b]=o.length,b===w){y.length=k;break}}o.push(x);var R=new Array(L);for(k=0;k1&&(u=1),u<-1&&(u=-1),(v*a-f*l<0?-1:1)*Math.acos(u)};p.default=function(v){var f=v.px,l=v.py,a=v.cx,u=v.cy,o=v.rx,s=v.ry,h=v.xAxisRotation,c=h===void 0?0:h,m=v.largeArcFlag,w=m===void 0?0:m,y=v.sweepFlag,C=y===void 0?0:y,_=[];if(o===0||s===0)return[];var k=Math.sin(c*d/360),E=Math.cos(c*d/360),x=E*(f-a)/2+k*(l-u)/2,A=-k*(f-a)/2+E*(l-u)/2;if(x===0&&A===0)return[];o=Math.abs(o),s=Math.abs(s);var L=Math.pow(x,2)/Math.pow(o,2)+Math.pow(A,2)/Math.pow(s,2);L>1&&(o*=Math.sqrt(L),s*=Math.sqrt(L));var b=function(j,$,U,G,q,H,ne,te,Z,X,Q,re){var ie=Math.pow(q,2),oe=Math.pow(H,2),ue=Math.pow(Q,2),ce=Math.pow(re,2),ye=ie*oe-ie*ce-oe*ue;ye<0&&(ye=0),ye/=ie*ce+oe*ue;var de=(ye=Math.sqrt(ye)*(ne===te?-1:1))*q/H*re,me=ye*-H/q*Q,pe=X*de-Z*me+(j+U)/2,xe=Z*de+X*me+($+G)/2,Pe=(Q-de)/q,_e=(re-me)/H,Me=(-Q-de)/q,Se=(-re-me)/H,Ce=M(1,0,Pe,_e),ae=M(Pe,_e,Me,Se);return te===0&&ae>0&&(ae-=d),te===1&&ae<0&&(ae+=d),[pe,xe,Ce,ae]}(f,l,a,u,o,s,w,C,k,E,x,A),R=function(j,$){if(Array.isArray(j))return j;if(Symbol.iterator in Object(j))return function(U,G){var q=[],H=!0,ne=!1,te=void 0;try{for(var Z,X=U[Symbol.iterator]();!(H=(Z=X.next()).done)&&(q.push(Z.value),!G||q.length!==G);H=!0);}catch(Q){ne=!0,te=Q}finally{try{!H&&X.return&&X.return()}finally{if(ne)throw te}}return q}(j,$);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(b,4),I=R[0],O=R[1],z=R[2],F=R[3],B=Math.abs(F)/(d/4);Math.abs(1-B)<1e-7&&(B=1);var N=Math.max(Math.ceil(B),1);F/=N;for(var W=0;Wl[2]&&(l[2]=o[s+0]),o[s+1]>l[3]&&(l[3]=o[s+1]);return l}},29988:function(T,p,t){T.exports=function(M){for(var v,f=[],l=0,a=0,u=0,o=0,s=null,h=null,c=0,m=0,w=0,y=M.length;w4?(l=C[C.length-4],a=C[C.length-3]):(l=c,a=m),f.push(C)}return f};var d=t(7095);function g(M,v,f,l){return["C",M,v,f,l,f,l]}function i(M,v,f,l,a,u){return["C",M/3+.6666666666666666*f,v/3+.6666666666666666*l,a/3+.6666666666666666*f,u/3+.6666666666666666*l,a,u]}},82019:function(T,p,t){var d,g=t(1750),i=t(95616),M=t(31457),v=t(89546),f=t(44781),l=document.createElement("canvas"),a=l.getContext("2d");T.exports=function(u,o){if(!v(u))throw Error("Argument should be valid svg path string");var s,h;o||(o={}),o.shape?(s=o.shape[0],h=o.shape[1]):(s=l.width=o.w||o.width||200,h=l.height=o.h||o.height||200);var c=Math.min(s,h),m=o.stroke||0,w=o.viewbox||o.viewBox||g(u),y=[s/(w[2]-w[0]),h/(w[3]-w[1])],C=Math.min(y[0]||0,y[1]||0)/2;if(a.fillStyle="black",a.fillRect(0,0,s,h),a.fillStyle="white",m&&(typeof m!="number"&&(m=1),a.strokeStyle=m>0?"white":"black",a.lineWidth=Math.abs(m)),a.translate(.5*s,.5*h),a.scale(C,C),function(){if(d!=null)return d;var E=document.createElement("canvas").getContext("2d");if(E.canvas.width=E.canvas.height=1,!window.Path2D)return d=!1;var x=new Path2D("M0,0h1v1h-1v-1Z");E.fillStyle="black",E.fill(x);var A=E.getImageData(0,0,1,1);return d=A&&A.data&&A.data[3]===255}()){var _=new Path2D(u);a.fill(_),m&&a.stroke(_)}else{var k=i(u);M(a,k),a.fill(),m&&a.stroke()}return a.setTransform(1,0,0,1,0,0),f(a,{cutoff:o.cutoff!=null?o.cutoff:.5,radius:o.radius!=null?o.radius:.5*c})}},84267:function(T,p,t){var d;(function(g){var i=/^\s+/,M=/\s+$/,v=0,f=g.round,l=g.min,a=g.max,u=g.random;function o(Q,re){if(re=re||{},(Q=Q||"")instanceof o)return Q;if(!(this instanceof o))return new o(Q,re);var ie=function(oe){var ue,ce,ye,de={r:0,g:0,b:0},me=1,pe=null,xe=null,Pe=null,_e=!1,Me=!1;return typeof oe=="string"&&(oe=function(Se){Se=Se.replace(i,"").replace(M,"").toLowerCase();var Ce,ae=!1;if(z[Se])Se=z[Se],ae=!0;else if(Se=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};return(Ce=Z.rgb.exec(Se))?{r:Ce[1],g:Ce[2],b:Ce[3]}:(Ce=Z.rgba.exec(Se))?{r:Ce[1],g:Ce[2],b:Ce[3],a:Ce[4]}:(Ce=Z.hsl.exec(Se))?{h:Ce[1],s:Ce[2],l:Ce[3]}:(Ce=Z.hsla.exec(Se))?{h:Ce[1],s:Ce[2],l:Ce[3],a:Ce[4]}:(Ce=Z.hsv.exec(Se))?{h:Ce[1],s:Ce[2],v:Ce[3]}:(Ce=Z.hsva.exec(Se))?{h:Ce[1],s:Ce[2],v:Ce[3],a:Ce[4]}:(Ce=Z.hex8.exec(Se))?{r:j(Ce[1]),g:j(Ce[2]),b:j(Ce[3]),a:q(Ce[4]),format:ae?"name":"hex8"}:(Ce=Z.hex6.exec(Se))?{r:j(Ce[1]),g:j(Ce[2]),b:j(Ce[3]),format:ae?"name":"hex"}:(Ce=Z.hex4.exec(Se))?{r:j(Ce[1]+""+Ce[1]),g:j(Ce[2]+""+Ce[2]),b:j(Ce[3]+""+Ce[3]),a:q(Ce[4]+""+Ce[4]),format:ae?"name":"hex8"}:!!(Ce=Z.hex3.exec(Se))&&{r:j(Ce[1]+""+Ce[1]),g:j(Ce[2]+""+Ce[2]),b:j(Ce[3]+""+Ce[3]),format:ae?"name":"hex"}}(oe)),typeof oe=="object"&&(X(oe.r)&&X(oe.g)&&X(oe.b)?(ue=oe.r,ce=oe.g,ye=oe.b,de={r:255*N(ue,255),g:255*N(ce,255),b:255*N(ye,255)},_e=!0,Me=String(oe.r).substr(-1)==="%"?"prgb":"rgb"):X(oe.h)&&X(oe.s)&&X(oe.v)?(pe=U(oe.s),xe=U(oe.v),de=function(Se,Ce,ae){Se=6*N(Se,360),Ce=N(Ce,100),ae=N(ae,100);var fe=g.floor(Se),be=Se-fe,ke=ae*(1-Ce),Le=ae*(1-be*Ce),Be=ae*(1-(1-be)*Ce),ze=fe%6;return{r:255*[ae,Le,ke,ke,Be,ae][ze],g:255*[Be,ae,ae,Le,ke,ke][ze],b:255*[ke,ke,Be,ae,ae,Le][ze]}}(oe.h,pe,xe),_e=!0,Me="hsv"):X(oe.h)&&X(oe.s)&&X(oe.l)&&(pe=U(oe.s),Pe=U(oe.l),de=function(Se,Ce,ae){var fe,be,ke;function Le(je,ge,we){return we<0&&(we+=1),we>1&&(we-=1),we<1/6?je+6*(ge-je)*we:we<.5?ge:we<2/3?je+(ge-je)*(2/3-we)*6:je}if(Se=N(Se,360),Ce=N(Ce,100),ae=N(ae,100),Ce===0)fe=be=ke=ae;else{var Be=ae<.5?ae*(1+Ce):ae+Ce-ae*Ce,ze=2*ae-Be;fe=Le(ze,Be,Se+1/3),be=Le(ze,Be,Se),ke=Le(ze,Be,Se-1/3)}return{r:255*fe,g:255*be,b:255*ke}}(oe.h,pe,Pe),_e=!0,Me="hsl"),oe.hasOwnProperty("a")&&(me=oe.a)),me=B(me),{ok:_e,format:oe.format||Me,r:l(255,a(de.r,0)),g:l(255,a(de.g,0)),b:l(255,a(de.b,0)),a:me}}(Q);this._originalInput=Q,this._r=ie.r,this._g=ie.g,this._b=ie.b,this._a=ie.a,this._roundA=f(100*this._a)/100,this._format=re.format||ie.format,this._gradientType=re.gradientType,this._r<1&&(this._r=f(this._r)),this._g<1&&(this._g=f(this._g)),this._b<1&&(this._b=f(this._b)),this._ok=ie.ok,this._tc_id=v++}function s(Q,re,ie){Q=N(Q,255),re=N(re,255),ie=N(ie,255);var oe,ue,ce=a(Q,re,ie),ye=l(Q,re,ie),de=(ce+ye)/2;if(ce==ye)oe=ue=0;else{var me=ce-ye;switch(ue=de>.5?me/(2-ce-ye):me/(ce+ye),ce){case Q:oe=(re-ie)/me+(re>1)+720)%360;--re;)oe.h=(oe.h+ue)%360,ce.push(o(oe));return ce}function O(Q,re){re=re||6;for(var ie=o(Q).toHsv(),oe=ie.h,ue=ie.s,ce=ie.v,ye=[],de=1/re;re--;)ye.push(o({h:oe,s:ue,v:ce})),ce=(ce+de)%1;return ye}o.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var Q=this.toRgb();return(299*Q.r+587*Q.g+114*Q.b)/1e3},getLuminance:function(){var Q,re,ie,oe=this.toRgb();return Q=oe.r/255,re=oe.g/255,ie=oe.b/255,.2126*(Q<=.03928?Q/12.92:g.pow((Q+.055)/1.055,2.4))+.7152*(re<=.03928?re/12.92:g.pow((re+.055)/1.055,2.4))+.0722*(ie<=.03928?ie/12.92:g.pow((ie+.055)/1.055,2.4))},setAlpha:function(Q){return this._a=B(Q),this._roundA=f(100*this._a)/100,this},toHsv:function(){var Q=h(this._r,this._g,this._b);return{h:360*Q.h,s:Q.s,v:Q.v,a:this._a}},toHsvString:function(){var Q=h(this._r,this._g,this._b),re=f(360*Q.h),ie=f(100*Q.s),oe=f(100*Q.v);return this._a==1?"hsv("+re+", "+ie+"%, "+oe+"%)":"hsva("+re+", "+ie+"%, "+oe+"%, "+this._roundA+")"},toHsl:function(){var Q=s(this._r,this._g,this._b);return{h:360*Q.h,s:Q.s,l:Q.l,a:this._a}},toHslString:function(){var Q=s(this._r,this._g,this._b),re=f(360*Q.h),ie=f(100*Q.s),oe=f(100*Q.l);return this._a==1?"hsl("+re+", "+ie+"%, "+oe+"%)":"hsla("+re+", "+ie+"%, "+oe+"%, "+this._roundA+")"},toHex:function(Q){return c(this._r,this._g,this._b,Q)},toHexString:function(Q){return"#"+this.toHex(Q)},toHex8:function(Q){return function(re,ie,oe,ue,ce){var ye=[$(f(re).toString(16)),$(f(ie).toString(16)),$(f(oe).toString(16)),$(G(ue))];return ce&&ye[0].charAt(0)==ye[0].charAt(1)&&ye[1].charAt(0)==ye[1].charAt(1)&&ye[2].charAt(0)==ye[2].charAt(1)&&ye[3].charAt(0)==ye[3].charAt(1)?ye[0].charAt(0)+ye[1].charAt(0)+ye[2].charAt(0)+ye[3].charAt(0):ye.join("")}(this._r,this._g,this._b,this._a,Q)},toHex8String:function(Q){return"#"+this.toHex8(Q)},toRgb:function(){return{r:f(this._r),g:f(this._g),b:f(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+f(this._r)+", "+f(this._g)+", "+f(this._b)+")":"rgba("+f(this._r)+", "+f(this._g)+", "+f(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:f(100*N(this._r,255))+"%",g:f(100*N(this._g,255))+"%",b:f(100*N(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+f(100*N(this._r,255))+"%, "+f(100*N(this._g,255))+"%, "+f(100*N(this._b,255))+"%)":"rgba("+f(100*N(this._r,255))+"%, "+f(100*N(this._g,255))+"%, "+f(100*N(this._b,255))+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":!(this._a<1)&&(F[c(this._r,this._g,this._b,!0)]||!1)},toFilter:function(Q){var re="#"+m(this._r,this._g,this._b,this._a),ie=re,oe=this._gradientType?"GradientType = 1, ":"";if(Q){var ue=o(Q);ie="#"+m(ue._r,ue._g,ue._b,ue._a)}return"progid:DXImageTransform.Microsoft.gradient("+oe+"startColorstr="+re+",endColorstr="+ie+")"},toString:function(Q){var re=!!Q;Q=Q||this._format;var ie=!1,oe=this._a<1&&this._a>=0;return re||!oe||Q!=="hex"&&Q!=="hex6"&&Q!=="hex3"&&Q!=="hex4"&&Q!=="hex8"&&Q!=="name"?(Q==="rgb"&&(ie=this.toRgbString()),Q==="prgb"&&(ie=this.toPercentageRgbString()),Q!=="hex"&&Q!=="hex6"||(ie=this.toHexString()),Q==="hex3"&&(ie=this.toHexString(!0)),Q==="hex4"&&(ie=this.toHex8String(!0)),Q==="hex8"&&(ie=this.toHex8String()),Q==="name"&&(ie=this.toName()),Q==="hsl"&&(ie=this.toHslString()),Q==="hsv"&&(ie=this.toHsvString()),ie||this.toHexString()):Q==="name"&&this._a===0?this.toName():this.toRgbString()},clone:function(){return o(this.toString())},_applyModification:function(Q,re){var ie=Q.apply(null,[this].concat([].slice.call(re)));return this._r=ie._r,this._g=ie._g,this._b=ie._b,this.setAlpha(ie._a),this},lighten:function(){return this._applyModification(_,arguments)},brighten:function(){return this._applyModification(k,arguments)},darken:function(){return this._applyModification(E,arguments)},desaturate:function(){return this._applyModification(w,arguments)},saturate:function(){return this._applyModification(y,arguments)},greyscale:function(){return this._applyModification(C,arguments)},spin:function(){return this._applyModification(x,arguments)},_applyCombination:function(Q,re){return Q.apply(null,[this].concat([].slice.call(re)))},analogous:function(){return this._applyCombination(I,arguments)},complement:function(){return this._applyCombination(A,arguments)},monochromatic:function(){return this._applyCombination(O,arguments)},splitcomplement:function(){return this._applyCombination(R,arguments)},triad:function(){return this._applyCombination(L,arguments)},tetrad:function(){return this._applyCombination(b,arguments)}},o.fromRatio=function(Q,re){if(typeof Q=="object"){var ie={};for(var oe in Q)Q.hasOwnProperty(oe)&&(ie[oe]=oe==="a"?Q[oe]:U(Q[oe]));Q=ie}return o(Q,re)},o.equals=function(Q,re){return!(!Q||!re)&&o(Q).toRgbString()==o(re).toRgbString()},o.random=function(){return o.fromRatio({r:u(),g:u(),b:u()})},o.mix=function(Q,re,ie){ie=ie===0?0:ie||50;var oe=o(Q).toRgb(),ue=o(re).toRgb(),ce=ie/100;return o({r:(ue.r-oe.r)*ce+oe.r,g:(ue.g-oe.g)*ce+oe.g,b:(ue.b-oe.b)*ce+oe.b,a:(ue.a-oe.a)*ce+oe.a})},o.readability=function(Q,re){var ie=o(Q),oe=o(re);return(g.max(ie.getLuminance(),oe.getLuminance())+.05)/(g.min(ie.getLuminance(),oe.getLuminance())+.05)},o.isReadable=function(Q,re,ie){var oe,ue,ce,ye,de,me=o.readability(Q,re);switch(ue=!1,(ce=ie,(ye=((ce=ce||{level:"AA",size:"small"}).level||"AA").toUpperCase())!=="AA"&&ye!=="AAA"&&(ye="AA"),(de=(ce.size||"small").toLowerCase())!=="small"&&de!=="large"&&(de="small"),oe={level:ye,size:de}).level+oe.size){case"AAsmall":case"AAAlarge":ue=me>=4.5;break;case"AAlarge":ue=me>=3;break;case"AAAsmall":ue=me>=7}return ue},o.mostReadable=function(Q,re,ie){var oe,ue,ce,ye,de=null,me=0;ue=(ie=ie||{}).includeFallbackColors,ce=ie.level,ye=ie.size;for(var pe=0;peme&&(me=oe,de=o(re[pe]));return o.isReadable(Q,de,{level:ce,size:ye})||!ue?de:(ie.includeFallbackColors=!1,o.mostReadable(Q,["#fff","#000"],ie))};var z=o.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},F=o.hexNames=function(Q){var re={};for(var ie in Q)Q.hasOwnProperty(ie)&&(re[Q[ie]]=ie);return re}(z);function B(Q){return Q=parseFloat(Q),(isNaN(Q)||Q<0||Q>1)&&(Q=1),Q}function N(Q,re){(function(oe){return typeof oe=="string"&&oe.indexOf(".")!=-1&&parseFloat(oe)===1})(Q)&&(Q="100%");var ie=function(oe){return typeof oe=="string"&&oe.indexOf("%")!=-1}(Q);return Q=l(re,a(0,parseFloat(Q))),ie&&(Q=parseInt(Q*re,10)/100),g.abs(Q-re)<1e-6?1:Q%re/parseFloat(re)}function W(Q){return l(1,a(0,Q))}function j(Q){return parseInt(Q,16)}function $(Q){return Q.length==1?"0"+Q:""+Q}function U(Q){return Q<=1&&(Q=100*Q+"%"),Q}function G(Q){return g.round(255*parseFloat(Q)).toString(16)}function q(Q){return j(Q)/255}var H,ne,te,Z=(ne="[\\s|\\(]+("+(H="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",te="[\\s|\\(]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",{CSS_UNIT:new RegExp(H),rgb:new RegExp("rgb"+ne),rgba:new RegExp("rgba"+te),hsl:new RegExp("hsl"+ne),hsla:new RegExp("hsla"+te),hsv:new RegExp("hsv"+ne),hsva:new RegExp("hsva"+te),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function X(Q){return!!Z.CSS_UNIT.exec(Q)}T.exports?T.exports=o:(d=(function(){return o}).call(p,t,p,T))===void 0||(T.exports=d)})(Math)},57060:function(T){T.exports=t,T.exports.float32=T.exports.float=t,T.exports.fract32=T.exports.fract=function(d,g){if(d.length){if(d instanceof Float32Array)return new Float32Array(d.length);g instanceof Float32Array||(g=t(d));for(var i=0,M=g.length;i":(M.length>100&&(M=M.slice(0,99)+"…"),M=M.replace(g,function(v){switch(v){case` -`:return"\\n";case"\r":return"\\r";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("Unexpected character")}}))}},47403:function(T,p,t){var d=t(24582),g={object:!0,function:!0,undefined:!0};T.exports=function(i){return!!d(i)&&hasOwnProperty.call(g,typeof i)}},82527:function(T,p,t){var d=t(69190),g=t(84985);T.exports=function(i){return g(i)?i:d(i,"%v is not a plain function",arguments[1])}},84985:function(T,p,t){var d=t(73116),g=/^\s*class[\s{/}]/,i=Function.prototype.toString;T.exports=function(M){return!!d(M)&&!g.test(i.call(M))}},24511:function(T,p,t){var d=t(47403);T.exports=function(g){if(!d(g))return!1;try{return!!g.constructor&&g.constructor.prototype===g}catch{return!1}}},9234:function(T,p,t){var d=t(24582),g=t(47403),i=Object.prototype.toString;T.exports=function(M){if(!d(M))return null;if(g(M)){var v=M.toString;if(typeof v!="function"||v===i)return null}try{return""+M}catch{return null}}},10424:function(T,p,t){var d=t(69190),g=t(24582);T.exports=function(i){return g(i)?i:d(i,"Cannot use %v",arguments[1])}},24582:function(T){T.exports=function(p){return p!=null}},58404:function(T,p,t){var d=t(13547),g=t(12129),i=t(12856).Buffer;t.g.__TYPEDARRAY_POOL||(t.g.__TYPEDARRAY_POOL={UINT8:g([32,0]),UINT16:g([32,0]),UINT32:g([32,0]),BIGUINT64:g([32,0]),INT8:g([32,0]),INT16:g([32,0]),INT32:g([32,0]),BIGINT64:g([32,0]),FLOAT:g([32,0]),DOUBLE:g([32,0]),DATA:g([32,0]),UINT8C:g([32,0]),BUFFER:g([32,0])});var M=typeof Uint8ClampedArray<"u",v=typeof BigUint64Array<"u",f=typeof BigInt64Array<"u",l=t.g.__TYPEDARRAY_POOL;l.UINT8C||(l.UINT8C=g([32,0])),l.BIGUINT64||(l.BIGUINT64=g([32,0])),l.BIGINT64||(l.BIGINT64=g([32,0])),l.BUFFER||(l.BUFFER=g([32,0]));var a=l.DATA,u=l.BUFFER;function o(R){if(R){var I=R.length||R.byteLength,O=d.log2(I);a[O].push(R)}}function s(R){R=d.nextPow2(R);var I=d.log2(R),O=a[I];return O.length>0?O.pop():new ArrayBuffer(R)}function h(R){return new Uint8Array(s(R),0,R)}function c(R){return new Uint16Array(s(2*R),0,R)}function m(R){return new Uint32Array(s(4*R),0,R)}function w(R){return new Int8Array(s(R),0,R)}function y(R){return new Int16Array(s(2*R),0,R)}function C(R){return new Int32Array(s(4*R),0,R)}function _(R){return new Float32Array(s(4*R),0,R)}function k(R){return new Float64Array(s(8*R),0,R)}function E(R){return M?new Uint8ClampedArray(s(R),0,R):h(R)}function x(R){return v?new BigUint64Array(s(8*R),0,R):null}function A(R){return f?new BigInt64Array(s(8*R),0,R):null}function L(R){return new DataView(s(R),0,R)}function b(R){R=d.nextPow2(R);var I=d.log2(R),O=u[I];return O.length>0?O.pop():new i(R)}p.free=function(R){if(i.isBuffer(R))u[d.log2(R.length)].push(R);else{if(Object.prototype.toString.call(R)!=="[object ArrayBuffer]"&&(R=R.buffer),!R)return;var I=R.length||R.byteLength,O=0|d.log2(I);a[O].push(R)}},p.freeUint8=p.freeUint16=p.freeUint32=p.freeBigUint64=p.freeInt8=p.freeInt16=p.freeInt32=p.freeBigInt64=p.freeFloat32=p.freeFloat=p.freeFloat64=p.freeDouble=p.freeUint8Clamped=p.freeDataView=function(R){o(R.buffer)},p.freeArrayBuffer=o,p.freeBuffer=function(R){u[d.log2(R.length)].push(R)},p.malloc=function(R,I){if(I===void 0||I==="arraybuffer")return s(R);switch(I){case"uint8":return h(R);case"uint16":return c(R);case"uint32":return m(R);case"int8":return w(R);case"int16":return y(R);case"int32":return C(R);case"float":case"float32":return _(R);case"double":case"float64":return k(R);case"uint8_clamped":return E(R);case"bigint64":return A(R);case"biguint64":return x(R);case"buffer":return b(R);case"data":case"dataview":return L(R);default:return null}return null},p.mallocArrayBuffer=s,p.mallocUint8=h,p.mallocUint16=c,p.mallocUint32=m,p.mallocInt8=w,p.mallocInt16=y,p.mallocInt32=C,p.mallocFloat32=p.mallocFloat=_,p.mallocFloat64=p.mallocDouble=k,p.mallocUint8Clamped=E,p.mallocBigUint64=x,p.mallocBigInt64=A,p.mallocDataView=L,p.mallocBuffer=b,p.clearCache=function(){for(var R=0;R<32;++R)l.UINT8[R].length=0,l.UINT16[R].length=0,l.UINT32[R].length=0,l.INT8[R].length=0,l.INT16[R].length=0,l.INT32[R].length=0,l.FLOAT[R].length=0,l.DOUBLE[R].length=0,l.BIGUINT64[R].length=0,l.BIGINT64[R].length=0,l.UINT8C[R].length=0,a[R].length=0,u[R].length=0}},90448:function(T){var p=/[\'\"]/;T.exports=function(t){return t?(p.test(t.charAt(0))&&(t=t.substr(1)),p.test(t.charAt(t.length-1))&&(t=t.substr(0,t.length-1)),t):""}},93447:function(T){T.exports=function(p,t,d){Array.isArray(d)||(d=[].slice.call(arguments,2));for(var g=0,i=d.length;g=U)return H;switch(H){case"%s":return String($[j++]);case"%d":return Number($[j++]);case"%j":try{return JSON.stringify($[j++])}catch{return"[Circular]"}default:return H}}),q=$[j];j=3&&(j.depth=arguments[2]),arguments.length>=4&&(j.colors=arguments[3]),m(W)?j.showHidden=W:W&&p._extend(j,W),_(j.showHidden)&&(j.showHidden=!1),_(j.depth)&&(j.depth=2),_(j.colors)&&(j.colors=!1),_(j.customInspect)&&(j.customInspect=!0),j.colors&&(j.stylize=a),o(j,N,j.depth)}function a(N,W){var j=l.styles[W];return j?"\x1B["+l.colors[j][0]+"m"+N+"\x1B["+l.colors[j][1]+"m":N}function u(N,W){return N}function o(N,W,j){if(N.customInspect&&W&&L(W.inspect)&&W.inspect!==p.inspect&&(!W.constructor||W.constructor.prototype!==W)){var $=W.inspect(j,N);return C($)||($=o(N,$,j)),$}var U=function(Q,re){if(_(re))return Q.stylize("undefined","undefined");if(C(re)){var ie="'"+JSON.stringify(re).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Q.stylize(ie,"string")}return y(re)?Q.stylize(""+re,"number"):m(re)?Q.stylize(""+re,"boolean"):w(re)?Q.stylize("null","null"):void 0}(N,W);if(U)return U;var G=Object.keys(W),q=function(Q){var re={};return Q.forEach(function(ie,oe){re[ie]=!0}),re}(G);if(N.showHidden&&(G=Object.getOwnPropertyNames(W)),A(W)&&(G.indexOf("message")>=0||G.indexOf("description")>=0))return s(W);if(G.length===0){if(L(W)){var H=W.name?": "+W.name:"";return N.stylize("[Function"+H+"]","special")}if(k(W))return N.stylize(RegExp.prototype.toString.call(W),"regexp");if(x(W))return N.stylize(Date.prototype.toString.call(W),"date");if(A(W))return s(W)}var ne,te="",Z=!1,X=["{","}"];return c(W)&&(Z=!0,X=["[","]"]),L(W)&&(te=" [Function"+(W.name?": "+W.name:"")+"]"),k(W)&&(te=" "+RegExp.prototype.toString.call(W)),x(W)&&(te=" "+Date.prototype.toUTCString.call(W)),A(W)&&(te=" "+s(W)),G.length!==0||Z&&W.length!=0?j<0?k(W)?N.stylize(RegExp.prototype.toString.call(W),"regexp"):N.stylize("[Object]","special"):(N.seen.push(W),ne=Z?function(Q,re,ie,oe,ue){for(var ce=[],ye=0,de=re.length;ye60?ie[0]+(re===""?"":re+` - `)+" "+Q.join(`, - `)+" "+ie[1]:ie[0]+re+" "+Q.join(", ")+" "+ie[1]}(ne,te,X)):X[0]+te+X[1]}function s(N){return"["+Error.prototype.toString.call(N)+"]"}function h(N,W,j,$,U,G){var q,H,ne;if((ne=Object.getOwnPropertyDescriptor(W,U)||{value:W[U]}).get?H=ne.set?N.stylize("[Getter/Setter]","special"):N.stylize("[Getter]","special"):ne.set&&(H=N.stylize("[Setter]","special")),z($,U)||(q="["+U+"]"),H||(N.seen.indexOf(ne.value)<0?(H=w(j)?o(N,ne.value,null):o(N,ne.value,j-1)).indexOf(` -======== -`]),h&&(O.frag=O.frag.replace("smoothstep","smoothStep"),I.frag=I.frag.replace("smoothstep","smoothStep")),this.drawCircle=k(O)}S.defaults={color:"black",borderColor:"transparent",borderSize:0,size:12,opacity:1,marker:void 0,viewport:null,range:null,pixelSize:null,count:0,offset:0,bounds:null,positions:[],snap:1e4},S.prototype.render=function(){return arguments.length&&this.update.apply(this,arguments),this.draw(),this},S.prototype.draw=function(){for(var k=this,E=arguments.length,x=new Array(E),A=0;APe)?pe.tree=l(me,{bounds:ae}):Pe&&Pe.length&&(pe.tree=Pe),pe.tree){var fe={primitive:"points",usage:"static",data:pe.tree,type:"uint32"};pe.elements?pe.elements(fe):pe.elements=R.elements(fe)}var be=m.float32(me);return _e({data:be,usage:"dynamic"}),Me({data:m.fract32(me,be),usage:"dynamic"}),Se({data:new Uint8Array(Ce),type:"uint8",usage:"stream"}),me}},{marker:function(me,pe,xe){var Pe=pe.activation;if(Pe.forEach(function(be){return be&&be.destroy&&be.destroy()}),Pe.length=0,me&&typeof me[0]!="number"){for(var _e=[],Me=0,Se=Math.min(me.length,pe.count);Me=0)return b;if(k instanceof Uint8Array||k instanceof Uint8ClampedArray)E=k;else{E=new Uint8Array(k.length);for(var R=0,I=k.length;R4*A&&(this.tooManyColors=!0),this.updatePalette(x),L.length===1?L[0]:L},S.prototype.updatePalette=function(k){if(!this.tooManyColors){var E=this.maxColors,x=this.paletteTexture,A=Math.ceil(.25*k.length/E);if(A>1)for(var L=.25*(k=k.slice()).length%E;L2?(k[0],k[2],w=k[1],y=k[3]):k.length?(w=k[0],y=k[1]):(k.x,w=k.y,k.x,k.width,y=k.y+k.height),E.length>2?(S=E[0],_=E[2],E[1],E[3]):E.length?(S=E[0],_=E[1]):(S=E.x,E.y,_=E.x+E.width,E.y,E.height),[S,w,_,y]}function s(c){if(typeof c=="number")return[c,c,c,c];if(c.length===2)return[c[0],c[1],c[0],c[1]];var h=f(c);return[h.x,h.y,h.x+h.width,h.y+h.height]}T.exports=a,a.prototype.render=function(){for(var c,h=this,m=[],w=arguments.length;w--;)m[w]=arguments[w];return m.length&&(c=this).update.apply(c,m),this.regl.attributes.preserveDrawingBuffer?this.draw():(this.dirty?this.planned==null&&(this.planned=M(function(){h.draw(),h.dirty=!0,h.planned=null})):(this.draw(),this.dirty=!0,M(function(){h.dirty=!1})),this)},a.prototype.update=function(){for(var c,h=[],m=arguments.length;m--;)h[m]=arguments[m];if(h.length){for(var w=0;wF))&&(S.lower||!(z"u"?1:window.devicePixelRatio,It=!1,Lt={},yt=function(wt){},Pt=function(){};if(typeof Qe=="string"?nt=document.querySelector(Qe):typeof Qe=="object"&&(typeof Qe.nodeName=="string"&&typeof Qe.appendChild=="function"&&typeof Qe.getBoundingClientRect=="function"?nt=Qe:typeof Qe.drawArrays=="function"||typeof Qe.drawElements=="function"?Re=(Ne=Qe).canvas:("gl"in Qe?Ne=Qe.gl:"canvas"in Qe?Re=i(Qe.canvas):"container"in Qe&&(ft=i(Qe.container)),"attributes"in Qe&&(qe=Qe.attributes),"extensions"in Qe&&(ut=g(Qe.extensions)),"optionalExtensions"in Qe&&(dt=g(Qe.optionalExtensions)),"onDone"in Qe&&(yt=Qe.onDone),"profile"in Qe&&(It=!!Qe.profile),"pixelRatio"in Qe&&(_t=+Qe.pixelRatio),"cachedCode"in Qe&&(Lt=Qe.cachedCode))),nt&&(nt.nodeName.toLowerCase()==="canvas"?Re=nt:ft=nt),!Ne){if(!Re){if(!(nt=function(wt,Rt,Nt){function Yt(){var Qt=window.innerWidth,rn=window.innerHeight;wt!==document.body&&(Qt=(rn=Xt.getBoundingClientRect()).right-rn.left,rn=rn.bottom-rn.top),Xt.width=Nt*Qt,Xt.height=Nt*rn}var Wt,Xt=document.createElement("canvas");return re(Xt.style,{border:0,margin:0,padding:0,top:0,left:0,width:"100%",height:"100%"}),wt.appendChild(Xt),wt===document.body&&(Xt.style.position="absolute",re(wt.style,{margin:0,padding:0})),wt!==document.body&&typeof ResizeObserver=="function"?(Wt=new ResizeObserver(function(){setTimeout(Yt)})).observe(wt):window.addEventListener("resize",Yt,!1),Yt(),{canvas:Xt,onDestroy:function(){Wt?Wt.disconnect():window.removeEventListener("resize",Yt),wt.removeChild(Xt)}}}(ft||document.body,0,_t)))return null;Re=nt.canvas,Pt=nt.onDestroy}qe.premultipliedAlpha===void 0&&(qe.premultipliedAlpha=!0),Ne=function(wt,Rt){function Nt(Yt){try{return wt.getContext(Yt,Rt)}catch{return null}}return Nt("webgl")||Nt("experimental-webgl")||Nt("webgl-experimental")}(Re,qe)}return Ne?{gl:Ne,canvas:Re,container:ft,extensions:ut,optionalExtensions:dt,pixelRatio:_t,profile:It,cachedCode:Lt,onDone:yt,onDestroy:Pt}:(Pt(),yt("webgl not supported, try upgrading your browser or graphics drivers http://get.webgl.org"),null)}function v(qe,nt){for(var ft=Array(qe),Re=0;Re>>=nt))<<3,(nt|=ft=(15<(qe>>>=ft))<<2)|(ft=(3<(qe>>>=ft))<<1)|qe>>>ft>>1}function l(){function qe(Re){e:{for(var Ne=16;268435456>=Ne;Ne*=16)if(Re<=Ne){Re=Ne;break e}Re=0}return 0<(Ne=ft[f(Re)>>2]).length?Ne.pop():new ArrayBuffer(Re)}function nt(Re){ft[f(Re.byteLength)>>2].push(Re)}var ft=v(8,function(){return[]});return{alloc:qe,free:nt,allocType:function(Re,Ne){var Qe=null;switch(Re){case 5120:Qe=new Int8Array(qe(Ne),0,Ne);break;case 5121:Qe=new Uint8Array(qe(Ne),0,Ne);break;case 5122:Qe=new Int16Array(qe(2*Ne),0,Ne);break;case 5123:Qe=new Uint16Array(qe(2*Ne),0,Ne);break;case 5124:Qe=new Int32Array(qe(4*Ne),0,Ne);break;case 5125:Qe=new Uint32Array(qe(4*Ne),0,Ne);break;case 5126:Qe=new Float32Array(qe(4*Ne),0,Ne);break;default:return null}return Qe.length!==Ne?Qe.subarray(0,Ne):Qe},freeType:function(Re){nt(Re.buffer)}}}function a(qe){return!!qe&&typeof qe=="object"&&Array.isArray(qe.shape)&&Array.isArray(qe.stride)&&typeof qe.offset=="number"&&qe.shape.length===qe.stride.length&&(Array.isArray(qe.data)||me(qe.data))}function u(qe,nt,ft,Re,Ne,Qe){for(var ut=0;ut(Pt=Nt)&&(Pt=yt.buffer.byteLength,Xt===5123?Pt>>=1:Xt===5125&&(Pt>>=2)),yt.vertCount=Pt,Pt=Rt,0>Rt&&(Pt=4,(Rt=yt.buffer.dimension)===1&&(Pt=0),Rt===2&&(Pt=1),Rt===3&&(Pt=4)),yt.primType=Pt}function ut(yt){Re.elementsCount--,delete dt[yt.id],yt.buffer.destroy(),yt.buffer=null}var dt={},_t=0,It={uint8:5121,uint16:5123};nt.oes_element_index_uint&&(It.uint32=5125),Ne.prototype.bind=function(){this.buffer.bind()};var Lt=[];return{create:function(yt,Pt){function wt(Yt){if(Yt)if(typeof Yt=="number")Rt(Yt),Nt.primType=4,Nt.vertCount=0|Yt,Nt.type=5121;else{var Wt=null,Xt=35044,Qt=-1,rn=-1,xn=0,un=0;Array.isArray(Yt)||me(Yt)||a(Yt)?Wt=Yt:("data"in Yt&&(Wt=Yt.data),"usage"in Yt&&(Xt=Me[Yt.usage]),"primitive"in Yt&&(Qt=fe[Yt.primitive]),"count"in Yt&&(rn=0|Yt.count),"type"in Yt&&(un=It[Yt.type]),"length"in Yt?xn=0|Yt.length:(xn=rn,un===5123||un===5122?xn*=2:un!==5125&&un!==5124||(xn*=4))),Qe(Nt,Wt,Xt,Qt,rn,xn,un)}else Rt(),Nt.primType=4,Nt.vertCount=0,Nt.type=5121;return wt}var Rt=ft.create(null,34963,!0),Nt=new Ne(Rt._buffer);return Re.elementsCount++,wt(yt),wt._reglType="elements",wt._elements=Nt,wt.subdata=function(Yt,Wt){return Rt.subdata(Yt,Wt),wt},wt.destroy=function(){ut(Nt)},wt},createStream:function(yt){var Pt=Lt.pop();return Pt||(Pt=new Ne(ft.create(null,34963,!0,!1)._buffer)),Qe(Pt,yt,35040,-1,-1,0,0),Pt},destroyStream:function(yt){Lt.push(yt)},getElements:function(yt){return typeof yt=="function"&&yt._elements instanceof Ne?yt._elements:null},clear:function(){pe(dt).forEach(ut)}}}function y(qe){for(var nt=ye.allocType(5123,qe.length),ft=0;ft>>31<<15,Ne=(Qe<<1>>>24)-127,Qe=Qe>>13&1023;nt[ft]=-24>Ne?Re:-14>Ne?Re+(Qe+1024>>-14-Ne):15>=hn,jt.height>>=hn,Pt(jt,Jt[hn]),nn.mipmask|=1<Pn;++Pn)nn.images[Pn]=null;return nn}function xn(nn){for(var Pn=nn.images,jt=0;jtnn){for(var Pn=0;Pn=--this.refCount&&dn(this)}}),ut.profile&&(Qe.getTotalTextureSize=function(){var nn=0;return Object.keys($n).forEach(function(Pn){nn+=$n[Pn].stats.size}),nn}),{create2D:function(nn,Pn){function jt(hn,zn){var On=Jt.texInfo;un.call(On);var En=rn();return typeof hn=="number"?Wt(En,0|hn,typeof zn=="number"?0|zn:0|hn):hn?(An(On,hn),Xt(En,hn)):Wt(En,1,1),On.genMipmaps&&(En.mipmask=(En.width<<1)-1),Jt.mipmask=En.mipmask,_t(Jt,En),Jt.internalformat=En.internalformat,jt.width=En.width,jt.height=En.height,sn(Jt),Qt(En,3553),Yn(On,3553),Tn(),xn(En),ut.profile&&(Jt.stats.size=b(Jt.internalformat,Jt.type,En.width,En.height,On.genMipmaps,!1)),jt.format=or[Jt.internalformat],jt.type=vr[Jt.type],jt.mag=_r[On.magFilter],jt.min=Kt[On.minFilter],jt.wrapS=bn[On.wrapS],jt.wrapT=bn[On.wrapT],jt}var Jt=new kn(3553);return $n[Jt.id]=Jt,Qe.textureCount++,jt(nn,Pn),jt.subimage=function(hn,zn,On,En){zn|=0,On|=0,En|=0;var mn=Rt();return _t(mn,Jt),mn.width=0,mn.height=0,Pt(mn,hn),mn.width=mn.width||(Jt.width>>En)-zn,mn.height=mn.height||(Jt.height>>En)-On,sn(Jt),wt(mn,3553,zn,On,En),Tn(),Nt(mn),jt},jt.resize=function(hn,zn){var On=0|hn,En=0|zn||On;if(On===Jt.width&&En===Jt.height)return jt;jt.width=Jt.width=On,jt.height=Jt.height=En,sn(Jt);for(var mn=0;Jt.mipmask>>mn;++mn){var wn=On>>mn,gn=En>>mn;if(!wn||!gn)break;qe.texImage2D(3553,mn,Jt.format,wn,gn,0,Jt.format,Jt.type,null)}return Tn(),ut.profile&&(Jt.stats.size=b(Jt.internalformat,Jt.type,On,En,!1,!1)),jt},jt._reglType="texture2d",jt._texture=Jt,ut.profile&&(jt.stats=Jt.stats),jt.destroy=function(){Jt.decRef()},jt},createCube:function(nn,Pn,jt,Jt,hn,zn){function On(wn,gn,yn,Sn,Vn,Xn){var nr,Qn=En.texInfo;for(un.call(Qn),nr=0;6>nr;++nr)mn[nr]=rn();if(typeof wn!="number"&&wn){if(typeof wn=="object")if(gn)Xt(mn[0],wn),Xt(mn[1],gn),Xt(mn[2],yn),Xt(mn[3],Sn),Xt(mn[4],Vn),Xt(mn[5],Xn);else if(An(Qn,wn),It(En,wn),"faces"in wn)for(wn=wn.faces,nr=0;6>nr;++nr)_t(mn[nr],En),Xt(mn[nr],wn[nr]);else for(nr=0;6>nr;++nr)Xt(mn[nr],wn)}else for(wn=0|wn||1,nr=0;6>nr;++nr)Wt(mn[nr],wn,wn);for(_t(En,mn[0]),En.mipmask=Qn.genMipmaps?(mn[0].width<<1)-1:mn[0].mipmask,En.internalformat=mn[0].internalformat,On.width=mn[0].width,On.height=mn[0].height,sn(En),nr=0;6>nr;++nr)Qt(mn[nr],34069+nr);for(Yn(Qn,34067),Tn(),ut.profile&&(En.stats.size=b(En.internalformat,En.type,On.width,On.height,Qn.genMipmaps,!0)),On.format=or[En.internalformat],On.type=vr[En.type],On.mag=_r[Qn.magFilter],On.min=Kt[Qn.minFilter],On.wrapS=bn[Qn.wrapS],On.wrapT=bn[Qn.wrapT],nr=0;6>nr;++nr)xn(mn[nr]);return On}var En=new kn(34067);$n[En.id]=En,Qe.cubeCount++;var mn=Array(6);return On(nn,Pn,jt,Jt,hn,zn),On.subimage=function(wn,gn,yn,Sn,Vn){yn|=0,Sn|=0,Vn|=0;var Xn=Rt();return _t(Xn,En),Xn.width=0,Xn.height=0,Pt(Xn,gn),Xn.width=Xn.width||(En.width>>Vn)-yn,Xn.height=Xn.height||(En.height>>Vn)-Sn,sn(En),wt(Xn,34069+wn,yn,Sn,Vn),Tn(),Nt(Xn),On},On.resize=function(wn){if((wn|=0)!==En.width){On.width=En.width=wn,On.height=En.height=wn,sn(En);for(var gn=0;6>gn;++gn)for(var yn=0;En.mipmask>>yn;++yn)qe.texImage2D(34069+gn,yn,En.format,wn>>yn,wn>>yn,0,En.format,En.type,null);return Tn(),ut.profile&&(En.stats.size=b(En.internalformat,En.type,On.width,On.height,!1,!0)),On}},On._reglType="textureCube",On._texture=En,ut.profile&&(On.stats=En.stats),On.destroy=function(){En.decRef()},On},clear:function(){for(var nn=0;nnJt;++Jt)if(jt.mipmask&1<>Jt,jt.height>>Jt,0,jt.internalformat,jt.type,null);else for(var hn=0;6>hn;++hn)qe.texImage2D(34069+hn,Jt,jt.internalformat,jt.width>>Jt,jt.height>>Jt,0,jt.internalformat,jt.type,null);Yn(jt.texInfo,jt.target)})},refresh:function(){for(var nn=0;nnpn;++pn){for(qn=0;qndn;++dn)Tn[dn].resize(pn);return sn.width=sn.height=pn,sn},_reglType:"framebufferCube",destroy:function(){Tn.forEach(function(dn){dn.destroy()})}})},clear:function(){pe(Yn).forEach(Yt)},restore:function(){Qt.cur=null,Qt.next=null,Qt.dirty=!0,pe(Yn).forEach(function(kn){kn.framebuffer=qe.createFramebuffer(),Wt(kn)})}})}function O(){this.w=this.z=this.y=this.x=this.state=0,this.buffer=null,this.size=0,this.normalized=!1,this.type=5126,this.divisor=this.stride=this.offset=0}function z(qe,nt,ft,Re,Ne,Qe,ut){function dt(){this.id=++Lt,this.attributes=[],this.elements=null,this.ownsElements=!1,this.offset=this.count=0,this.instances=-1,this.primitive=4;var wt=nt.oes_vertex_array_object;this.vao=wt?wt.createVertexArrayOES():null,yt[this.id]=this,this.buffers=[]}var _t=ft.maxAttributes,It=Array(_t);for(ft=0;ft<_t;++ft)It[ft]=new O;var Lt=0,yt={},Pt={Record:O,scope:{},state:It,currentVAO:null,targetVAO:null,restore:nt.oes_vertex_array_object?function(){nt.oes_vertex_array_object&&pe(yt).forEach(function(wt){wt.refresh()})}:function(){},createVAO:function(wt){function Rt(Yt){var Wt;Array.isArray(Yt)?(Wt=Yt,Nt.elements&&Nt.ownsElements&&Nt.elements.destroy(),Nt.elements=null,Nt.ownsElements=!1,Nt.offset=0,Nt.count=0,Nt.instances=-1,Nt.primitive=4):(Yt.elements?(Wt=Yt.elements,Nt.ownsElements?(typeof Wt=="function"&&Wt._reglType==="elements"?Nt.elements.destroy():Nt.elements(Wt),Nt.ownsElements=!1):Qe.getElements(Yt.elements)?(Nt.elements=Yt.elements,Nt.ownsElements=!1):(Nt.elements=Qe.create(Yt.elements),Nt.ownsElements=!0)):(Nt.elements=null,Nt.ownsElements=!1),Wt=Yt.attributes,Nt.offset=0,Nt.count=-1,Nt.instances=-1,Nt.primitive=4,Nt.elements&&(Nt.count=Nt.elements._elements.vertCount,Nt.primitive=Nt.elements._elements.primType),"offset"in Yt&&(Nt.offset=0|Yt.offset),"count"in Yt&&(Nt.count=0|Yt.count),"instances"in Yt&&(Nt.instances=0|Yt.instances),"primitive"in Yt&&(Nt.primitive=fe[Yt.primitive])),Yt={};var Xt=Nt.attributes;Xt.length=Wt.length;for(var Qt=0;Qt=An.byteLength?rn.subdata(An):(rn.destroy(),Nt.buffers[Qt]=null)),Nt.buffers[Qt]||(rn=Nt.buffers[Qt]=Ne.create(xn,34962,!1,!0)),un.buffer=Ne.getBuffer(rn),un.size=0|un.buffer.dimension,un.normalized=!1,un.type=un.buffer.dtype,un.offset=0,un.stride=0,un.divisor=0,un.state=1,Yt[Qt]=1):Ne.getBuffer(xn)?(un.buffer=Ne.getBuffer(xn),un.size=0|un.buffer.dimension,un.normalized=!1,un.type=un.buffer.dtype,un.offset=0,un.stride=0,un.divisor=0,un.state=1):Ne.getBuffer(xn.buffer)?(un.buffer=Ne.getBuffer(xn.buffer),un.size=0|(+xn.size||un.buffer.dimension),un.normalized=!!xn.normalized||!1,un.type="type"in xn?_e[xn.type]:un.buffer.dtype,un.offset=0|(xn.offset||0),un.stride=0|(xn.stride||0),un.divisor=0|(xn.divisor||0),un.state=1):"x"in xn&&(un.x=+xn.x||0,un.y=+xn.y||0,un.z=+xn.z||0,un.w=+xn.w||0,un.state=2)}for(rn=0;rnRt&&(Rt=Nt.stats.uniformsCount)}),Rt},ft.getMaxAttributesCount=function(){var Rt=0;return Pt.forEach(function(Nt){Nt.stats.attributesCount>Rt&&(Rt=Nt.stats.attributesCount)}),Rt}),{clear:function(){var Rt=qe.deleteShader.bind(qe);pe(It).forEach(Rt),It={},pe(Lt).forEach(Rt),Lt={},Pt.forEach(function(Nt){qe.deleteProgram(Nt.program)}),Pt.length=0,yt={},ft.shaderCount=0},program:function(Rt,Nt,Yt,Wt){var Xt=yt[Nt];Xt||(Xt=yt[Nt]={});var Qt=Xt[Rt];if(Qt&&(Qt.refCount++,!Wt))return Qt;var rn=new dt(Nt,Rt);return ft.shaderCount++,_t(rn,Yt,Wt),Qt||(Xt[Rt]=rn),Pt.push(rn),re(rn,{destroy:function(){if(rn.refCount--,0>=rn.refCount){qe.deleteProgram(rn.program);var xn=Pt.indexOf(rn);Pt.splice(xn,1),ft.shaderCount--}0>=Xt[rn.vertId].refCount&&(qe.deleteShader(Lt[rn.vertId]),delete Lt[rn.vertId],delete yt[rn.fragId][rn.vertId]),Object.keys(yt[rn.fragId]).length||(qe.deleteShader(It[rn.fragId]),delete It[rn.fragId],delete yt[rn.fragId])}})},restore:function(){It={},Lt={};for(var Rt=0;Rt>>nt|qe<<32-nt}function W(qe,nt){var ft=(65535&qe)+(65535&nt);return(qe>>16)+(nt>>16)+(ft>>16)<<16|65535&ft}function j(qe){return Array.prototype.slice.call(qe)}function $(qe){return j(qe).join("")}function U(qe){function nt(){var Lt=[],yt=[];return re(function(){Lt.push.apply(Lt,j(arguments))},{def:function(){var Pt="v"+Ne++;return yt.push(Pt),0>>4&15)+"0123456789abcdef".charAt(15&Rt);return Nt}(function(wt){for(var Rt=Array(wt.length>>2),Nt=0;Nt>5]|=(255&wt.charCodeAt(Nt/8))<<24-Nt%32;var Yt,Wt,Xt,Qt,rn,xn,un,An,Yn,kn,sn,Tn=8*wt.length;for(wt=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],Nt=Array(64),Rt[Tn>>5]|=128<<24-Tn%32,Rt[15+(Tn+64>>9<<4)]=Tn,An=0;AnYn;Yn++){var dn;16>Yn?Nt[Yn]=Rt[Yn+An]:(kn=Yn,sn=W(sn=N(sn=Nt[Yn-2],17)^N(sn,19)^sn>>>10,Nt[Yn-7]),dn=N(dn=Nt[Yn-15],7)^N(dn,18)^dn>>>3,Nt[kn]=W(W(sn,dn),Nt[Yn-16])),kn=W(W(W(W(un,kn=N(kn=Qt,6)^N(kn,11)^N(kn,25)),Qt&rn^~Qt&xn),xt[Yn]),Nt[Yn]),sn=W(un=N(un=Tn,2)^N(un,13)^N(un,22),Tn&Yt^Tn&Wt^Yt&Wt),un=xn,xn=rn,rn=Qt,Qt=W(Xt,kn),Xt=Wt,Wt=Yt,Yt=Tn,Tn=W(kn,sn)}wt[0]=W(Tn,wt[0]),wt[1]=W(Yt,wt[1]),wt[2]=W(Wt,wt[2]),wt[3]=W(Xt,wt[3]),wt[4]=W(Qt,wt[4]),wt[5]=W(rn,wt[5]),wt[6]=W(xn,wt[6]),wt[7]=W(un,wt[7])}for(Rt="",Nt=0;Nt<32*wt.length;Nt+=8)Rt+=String.fromCharCode(wt[Nt>>5]>>>24-Nt%32&255);return Rt}(function(wt){for(var Rt,Nt,Yt="",Wt=-1;++Wt=Rt&&56320<=Nt&&57343>=Nt&&(Rt=65536+((1023&Rt)<<10)+(1023&Nt),Wt++),127>=Rt?Yt+=String.fromCharCode(Rt):2047>=Rt?Yt+=String.fromCharCode(192|Rt>>>6&31,128|63&Rt):65535>=Rt?Yt+=String.fromCharCode(224|Rt>>>12&15,128|Rt>>>6&63,128|63&Rt):2097151>=Rt&&(Yt+=String.fromCharCode(240|Rt>>>18&7,128|Rt>>>12&63,128|Rt>>>6&63,128|63&Rt));return Yt}(Pt))),Re[yt])?Re[yt].apply(null,ut):(Pt=Function.apply(null,Qe.concat(Pt)),Re&&(Re[yt]=Pt),Pt.apply(null,ut))}}}function G(qe){return Array.isArray(qe)||me(qe)||a(qe)}function q(qe){return qe.sort(function(nt,ft){return nt==="viewport"?-1:ft==="viewport"?1:nt"+br+"?"+Sn+".constant["+br+"]:0;"}).join(""),"}}else{","if(",nr,"(",Sn,".buffer)){",cr,"=",Vn,".createStream(",34962,",",Sn,".buffer);","}else{",cr,"=",Vn,".getBuffer(",Sn,".buffer);","}",pr,'="type" in ',Sn,"?",Xn.glTypes,"[",Sn,".type]:",cr,".dtype;",Qn.normalized,"=!!",Sn,".normalized;"),yn("size"),yn("offset"),yn("stride"),yn("divisor"),gn("}}"),gn.exit("if(",Qn.isStream,"){",Vn,".destroyStream(",cr,");","}"),Qn})}),On}function Yn(jt,Jt,hn,zn,On){function En(hr){var cr=wn[hr];cr&&(yn[hr]=cr)}var mn=function(hr,cr){if(typeof(pr=hr.static).frag=="string"&&typeof pr.vert=="string"){if(0"u"?"Date.now()":"performance.now()"}function mn(hr){hr(yn=Jt.def(),"=",En(),";"),typeof On=="string"?hr(Xn,".count+=",On,";"):hr(Xn,".count++;"),wt&&(zn?hr(Sn=Jt.def(),"=",Qn,".getNumPendingQueries();"):hr(Qn,".beginQuery(",Xn,");"))}function wn(hr){hr(Xn,".cpuTime+=",En(),"-",yn,";"),wt&&(zn?hr(Qn,".pushScopeStats(",Sn,",",Qn,".getNumPendingQueries(),",Xn,");"):hr(Qn,".endQuery();"))}function gn(hr){var cr=Jt.def(nr,".profile");Jt(nr,".profile=",hr,";"),Jt.exit(nr,".profile=",cr,";")}var yn,Sn,Vn=jt.shared,Xn=jt.stats,nr=Vn.current,Qn=Vn.timer;if(hn=hn.profile){if(ne(hn))return void(hn.enable?(mn(Jt),wn(Jt.exit),gn("true")):gn("false"));gn(hn=hn.append(jt,Jt))}else hn=Jt.def(nr,".profile");mn(Vn=jt.block()),Jt("if(",hn,"){",Vn,"}"),wn(jt=jt.block()),Jt.exit("if(",hn,"){",jt,"}")}function In(jt,Jt,hn,zn,On){function En(wn,gn,yn){function Sn(){Jt("if(!",Qn,".buffer){",Xn,".enableVertexAttribArray(",nr,");}");var dr,br=yn.type;dr=yn.size?Jt.def(yn.size,"||",gn):gn,Jt("if(",Qn,".type!==",br,"||",Qn,".size!==",dr,"||",pr.map(function(Ir){return Qn+"."+Ir+"!=="+yn[Ir]}).join("||"),"){",Xn,".bindBuffer(",34962,",",hr,".buffer);",Xn,".vertexAttribPointer(",[nr,dr,br,yn.normalized,yn.stride,yn.offset],");",Qn,".type=",br,";",Qn,".size=",dr,";",pr.map(function(Ir){return Qn+"."+Ir+"="+yn[Ir]+";"}).join(""),"}"),Kt&&(br=yn.divisor,Jt("if(",Qn,".divisor!==",br,"){",jt.instancing,".vertexAttribDivisorANGLE(",[nr,br],");",Qn,".divisor=",br,";}"))}function Vn(){Jt("if(",Qn,".buffer){",Xn,".disableVertexAttribArray(",nr,");",Qn,".buffer=null;","}if(",Ft.map(function(dr,br){return Qn+"."+dr+"!=="+cr[br]}).join("||"),"){",Xn,".vertexAttrib4f(",nr,",",cr,");",Ft.map(function(dr,br){return Qn+"."+dr+"="+cr[br]+";"}).join(""),"}")}var Xn=mn.gl,nr=Jt.def(wn,".location"),Qn=Jt.def(mn.attributes,"[",nr,"]");wn=yn.state;var hr=yn.buffer,cr=[yn.x,yn.y,yn.z,yn.w],pr=["buffer","normalized","offset","stride"];wn===1?Sn():wn===2?Vn():(Jt("if(",wn,"===",1,"){"),Sn(),Jt("}else{"),Vn(),Jt("}"))}var mn=jt.shared;zn.forEach(function(wn){var gn,yn=wn.name,Sn=hn.attributes[yn];if(Sn){if(!On(Sn))return;gn=Sn.append(jt,Jt)}else{if(!On(Je))return;var Vn=jt.scopeAttrib(yn);gn={},Object.keys(new vr).forEach(function(Xn){gn[Xn]=Jt.def(Vn,".",Xn)})}En(jt.link(wn),function(Xn){switch(Xn){case 35664:case 35667:case 35671:return 2;case 35665:case 35668:case 35672:return 3;case 35666:case 35669:case 35673:return 4;default:return 1}}(wn.info.type),gn)})}function jn(jt,Jt,hn,zn,On,En){for(var mn,wn=jt.shared,gn=wn.gl,yn=0;yn>1)",wn],");")}function Ir(){hn(gn,".drawArraysInstancedANGLE(",[Qn,hr,cr,wn],");")}nr&&nr!=="null"?dr?br():(hn("if(",nr,"){"),br(),hn("}else{"),Ir(),hn("}")):Ir()}function mn(){function br(){hn(Sn+".drawElements("+[Qn,cr,pr,hr+"<<(("+pr+"-5121)>>1)"]+");")}function Ir(){hn(Sn+".drawArrays("+[Qn,hr,cr]+");")}nr&&nr!=="null"?dr?br():(hn("if(",nr,"){"),br(),hn("}else{"),Ir(),hn("}")):Ir()}var wn,gn,yn=jt.shared,Sn=yn.gl,Vn=yn.draw,Xn=zn.draw,nr=function(){var br=Xn.elements,Ir=Jt;return br?((br.contextDep&&zn.contextDynamic||br.propDep)&&(Ir=hn),br=br.append(jt,Ir),Xn.elementsActive&&Ir("if("+br+")"+Sn+".bindBuffer(34963,"+br+".buffer.buffer);")):(br=Ir.def(),Ir(br,"=",Vn,".","elements",";","if(",br,"){",Sn,".bindBuffer(",34963,",",br,".buffer.buffer);}","else if(",yn.vao,".currentVAO){",br,"=",jt.shared.elements+".getElements("+yn.vao,".currentVAO.elements);",Rn?"":"if("+br+")"+Sn+".bindBuffer(34963,"+br+".buffer.buffer);","}")),br}(),Qn=On("primitive"),hr=On("offset"),cr=function(){var br=Xn.count,Ir=Jt;return br?((br.contextDep&&zn.contextDynamic||br.propDep)&&(Ir=hn),br=br.append(jt,Ir)):br=Ir.def(Vn,".","count"),br}();if(typeof cr=="number"){if(cr===0)return}else hn("if(",cr,"){"),hn.exit("}");Kt&&(wn=On("instances"),gn=jt.instancing);var pr=nr+".type",dr=Xn.elements&&ne(Xn.elements)&&!Xn.vaoActive;Kt&&(typeof wn!="number"||0<=wn)?typeof wn=="string"?(hn("if(",wn,">0){"),En(),hn("}else if(",wn,"<0){"),mn(),hn("}")):En():mn()}function qn(jt,Jt,hn,zn,On){return On=(Jt=Qt()).proc("body",On),Kt&&(Jt.instancing=On.def(Jt.shared.extensions,".angle_instanced_arrays")),jt(Jt,On,hn,zn),Jt.compile().body}function lr(jt,Jt,hn,zn){pn(jt,Jt),hn.useVAO?hn.drawVAO?Jt(jt.shared.vao,".setVAO(",hn.drawVAO.append(jt,Jt),");"):Jt(jt.shared.vao,".setVAO(",jt.shared.vao,".targetVAO);"):(Jt(jt.shared.vao,".setVAO(null);"),In(jt,Jt,hn,zn.attributes,function(){return!0})),jn(jt,Jt,hn,zn.uniforms,function(){return!0},!1),Gn(jt,Jt,Jt,hn)}function rr(jt,Jt,hn,zn){function On(){return!0}jt.batchId="a1",pn(jt,Jt),In(jt,Jt,hn,zn.attributes,On),jn(jt,Jt,hn,zn.uniforms,On,!1),Gn(jt,Jt,Jt,hn)}function Sr(jt,Jt,hn,zn){function On(Vn){return Vn.contextDep&&mn||Vn.propDep}function En(Vn){return!On(Vn)}pn(jt,Jt);var mn=hn.contextDep,wn=Jt.def(),gn=Jt.def();jt.shared.props=gn,jt.batchId=wn;var yn=jt.scope(),Sn=jt.scope();Jt(yn.entry,"for(",wn,"=0;",wn,"<","a1",";++",wn,"){",gn,"=","a0","[",wn,"];",Sn,"}",yn.exit),hn.needsContext&&kn(jt,Sn,hn.context),hn.needsFramebuffer&&sn(jt,Sn,hn.framebuffer),dn(jt,Sn,hn.state,On),hn.profile&&On(hn.profile)&&Dn(jt,Sn,hn,!1,!0),zn?(hn.useVAO?hn.drawVAO?On(hn.drawVAO)?Sn(jt.shared.vao,".setVAO(",hn.drawVAO.append(jt,Sn),");"):yn(jt.shared.vao,".setVAO(",hn.drawVAO.append(jt,yn),");"):yn(jt.shared.vao,".setVAO(",jt.shared.vao,".targetVAO);"):(yn(jt.shared.vao,".setVAO(null);"),In(jt,yn,hn,zn.attributes,En),In(jt,Sn,hn,zn.attributes,On)),jn(jt,yn,hn,zn.uniforms,En,!1),jn(jt,Sn,hn,zn.uniforms,On,!0),Gn(jt,yn,Sn,hn)):(Jt=jt.global.def("{}"),zn=hn.shader.progVar.append(jt,Sn),gn=Sn.def(zn,".id"),yn=Sn.def(Jt,"[",gn,"]"),Sn(jt.shared.gl,".useProgram(",zn,".program);","if(!",yn,"){",yn,"=",Jt,"[",gn,"]=",jt.link(function(Vn){return qn(rr,jt,hn,Vn,2)}),"(",zn,");}",yn,".call(this,a0[",wn,"],",wn,");"))}function yr(jt,Jt){function hn(wn){var gn=Jt.shader[wn];gn&&(gn=gn.append(jt,zn),isNaN(gn)?zn.set(On.shader,"."+wn,gn):zn.set(On.shader,"."+wn,jt.link(gn,{stable:!0})))}var zn=jt.proc("scope",3);jt.batchId="a2";var On=jt.shared,En=On.current;if(kn(jt,zn,Jt.context),Jt.framebuffer&&Jt.framebuffer.append(jt,zn),q(Object.keys(Jt.state)).forEach(function(wn){var gn=Jt.state[wn],yn=gn.append(jt,zn);S(yn)?yn.forEach(function(Sn,Vn){isNaN(Sn)?zn.set(jt.next[wn],"["+Vn+"]",Sn):zn.set(jt.next[wn],"["+Vn+"]",jt.link(Sn,{stable:!0}))}):ne(gn)?zn.set(On.next,"."+wn,jt.link(yn,{stable:!0})):zn.set(On.next,"."+wn,yn)}),Dn(jt,zn,Jt,!0,!0),["elements","offset","count","instances","primitive"].forEach(function(wn){var gn=Jt.draw[wn];gn&&(gn=gn.append(jt,zn),isNaN(gn)?zn.set(On.draw,"."+wn,gn):zn.set(On.draw,"."+wn,jt.link(gn),{stable:!0}))}),Object.keys(Jt.uniforms).forEach(function(wn){var gn=Jt.uniforms[wn].append(jt,zn);Array.isArray(gn)&&(gn="["+gn.map(function(yn){return isNaN(yn)?yn:jt.link(yn,{stable:!0})})+"]"),zn.set(On.uniforms,"["+jt.link(nt.id(wn),{stable:!0})+"]",gn)}),Object.keys(Jt.attributes).forEach(function(wn){var gn=Jt.attributes[wn].append(jt,zn),yn=jt.scopeAttrib(wn);Object.keys(new vr).forEach(function(Sn){zn.set(yn,"."+Sn,gn[Sn])})}),Jt.scopeVAO){var mn=Jt.scopeVAO.append(jt,zn);isNaN(mn)?zn.set(On.vao,".targetVAO",mn):zn.set(On.vao,".targetVAO",jt.link(mn,{stable:!0}))}hn("vert"),hn("frag"),0=--this.refCount&&ut(this)},Ne.profile&&(Re.getTotalRenderbufferSize=function(){var yt=0;return Object.keys(Lt).forEach(function(Pt){yt+=Lt[Pt].stats.size}),yt}),{create:function(yt,Pt){function wt(Nt,Yt){var Wt=0,Xt=0,Qt=32854;if(typeof Nt=="object"&&Nt?("shape"in Nt?(Wt=0|(Xt=Nt.shape)[0],Xt=0|Xt[1]):("radius"in Nt&&(Wt=Xt=0|Nt.radius),"width"in Nt&&(Wt=0|Nt.width),"height"in Nt&&(Xt=0|Nt.height)),"format"in Nt&&(Qt=dt[Nt.format])):typeof Nt=="number"?(Wt=0|Nt,Xt=typeof Yt=="number"?0|Yt:Wt):Nt||(Wt=Xt=1),Wt!==Rt.width||Xt!==Rt.height||Qt!==Rt.format)return wt.width=Rt.width=Wt,wt.height=Rt.height=Xt,Rt.format=Qt,qe.bindRenderbuffer(36161,Rt.renderbuffer),qe.renderbufferStorage(36161,Qt,Wt,Xt),Ne.profile&&(Rt.stats.size=ht[Rt.format]*Rt.width*Rt.height),wt.format=_t[Rt.format],wt}var Rt=new Qe(qe.createRenderbuffer());return Lt[Rt.id]=Rt,Re.renderbufferCount++,wt(yt,Pt),wt.resize=function(Nt,Yt){var Wt=0|Nt,Xt=0|Yt||Wt;return Wt===Rt.width&&Xt===Rt.height||(wt.width=Rt.width=Wt,wt.height=Rt.height=Xt,qe.bindRenderbuffer(36161,Rt.renderbuffer),qe.renderbufferStorage(36161,Rt.format,Wt,Xt),Ne.profile&&(Rt.stats.size=ht[Rt.format]*Rt.width*Rt.height)),wt},wt._reglType="renderbuffer",wt._renderbuffer=Rt,Ne.profile&&(wt.stats=Rt.stats),wt.destroy=function(){Rt.decRef()},wt},clear:function(){pe(Lt).forEach(ut)},restore:function(){pe(Lt).forEach(function(yt){yt.renderbuffer=qe.createRenderbuffer(),qe.bindRenderbuffer(36161,yt.renderbuffer),qe.renderbufferStorage(36161,yt.format,yt.width,yt.height)}),qe.bindRenderbuffer(36161,null)}}},Et=[];Et[6408]=4,Et[6407]=3;var kt=[];kt[5121]=1,kt[5126]=4,kt[36193]=2;var xt=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],Ft=["x","y","z","w"],Ot="blend.func blend.equation stencil.func stencil.opFront stencil.opBack sample.coverage viewport scissor.box polygonOffset.offset".split(" "),Bt={0:0,1:1,zero:0,one:1,"src color":768,"one minus src color":769,"src alpha":770,"one minus src alpha":771,"dst color":774,"one minus dst color":775,"dst alpha":772,"one minus dst alpha":773,"constant color":32769,"one minus constant color":32770,"constant alpha":32771,"one minus constant alpha":32772,"src alpha saturate":776},qt={never:512,less:513,"<":513,equal:514,"=":514,"==":514,"===":514,lequal:515,"<=":515,greater:516,">":516,notequal:517,"!=":517,"!==":517,gequal:518,">=":518,always:519},Vt={0:0,zero:0,keep:7680,replace:7681,increment:7682,decrement:7683,"increment wrap":34055,"decrement wrap":34056,invert:5386},Ke={cw:2304,ccw:2305},Je=new H(!1,!1,!1,function(){});return function(qe){function nt(){if(rr.length===0)rn&&rn.update(),vr=null;else{vr=ue.next(nt),Lt();for(var Kt=rr.length-1;0<=Kt;--Kt){var bn=rr[Kt];bn&&bn(Yn,null,0)}wt.flush(),rn&&rn.update()}}function ft(){!vr&&0=rr.length&&Re()}}}}function It(){var Kt=qn.viewport,bn=qn.scissor_box;Kt[0]=Kt[1]=bn[0]=bn[1]=0,Yn.viewportWidth=Yn.framebufferWidth=Yn.drawingBufferWidth=Kt[2]=bn[2]=wt.drawingBufferWidth,Yn.viewportHeight=Yn.framebufferHeight=Yn.drawingBufferHeight=Kt[3]=bn[3]=wt.drawingBufferHeight}function Lt(){Yn.tick+=1,Yn.time=Pt(),It(),Gn.procs.poll()}function yt(){Dn.refresh(),It(),Gn.procs.refresh(),rn&&rn.update()}function Pt(){return(ce()-xn)/1e3}if(!(qe=M(qe)))return null;var wt=qe.gl,Rt=wt.getContextAttributes();wt.isContextLost();var Nt=function(Kt,bn){function Rn($n){var tr;$n=$n.toLowerCase();try{tr=Ln[$n]=Kt.getExtension($n)}catch{}return!!tr}for(var Ln={},Un=0;Unbn;++bn)_r(re({framebuffer:Kt.framebuffer.faces[bn]},Kt),dt);else _r(Kt,dt);else dt(0,Kt)},prop:oe.define.bind(null,1),context:oe.define.bind(null,2),this:oe.define.bind(null,3),draw:ut({}),buffer:function(Kt){return sn.create(Kt,34962,!1,!1)},elements:function(Kt){return Tn.create(Kt,!1)},texture:Dn.create2D,cube:Dn.createCube,renderbuffer:In.create,framebuffer:jn.create,framebufferCube:jn.createCube,vao:dn.createVAO,attributes:Rt,frame:_t,on:function(Kt,bn){var Rn;switch(Kt){case"frame":return _t(bn);case"lost":Rn=Sr;break;case"restore":Rn=yr;break;case"destroy":Rn=or}return Rn.push(bn),{cancel:function(){for(var Ln=0;Ln2?"one of ".concat(i," ").concat(g.slice(0,M-1).join(", "),", or ")+g[M-1]:M===2?"one of ".concat(i," ").concat(g[0]," or ").concat(g[1]):"of ".concat(i," ").concat(g[0])}return"of ".concat(i," ").concat(String(g))}t("ERR_INVALID_OPT_VALUE",function(g,i){return'The value "'+i+'" is invalid for option "'+g+'"'},TypeError),t("ERR_INVALID_ARG_TYPE",function(g,i,M){var v,f,l,a,u;if(typeof i=="string"&&(f="not ",i.substr(0,f.length)===f)?(v="must not be",i=i.replace(/^not /,"")):v="must be",function(s,c,h){return(h===void 0||h>s.length)&&(h=s.length),s.substring(h-c.length,h)===c}(g," argument"))l="The ".concat(g," ").concat(v," ").concat(d(i,"type"));else{var o=(typeof u!="number"&&(u=0),u+1>(a=g).length||a.indexOf(".",u)===-1?"argument":"property");l='The "'.concat(g,'" ').concat(o," ").concat(v," ").concat(d(i,"type"))}return l+". Received type ".concat(typeof M)},TypeError),t("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),t("ERR_METHOD_NOT_IMPLEMENTED",function(g){return"The "+g+" method is not implemented"}),t("ERR_STREAM_PREMATURE_CLOSE","Premature close"),t("ERR_STREAM_DESTROYED",function(g){return"Cannot call "+g+" after a stream was destroyed"}),t("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),t("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),t("ERR_STREAM_WRITE_AFTER_END","write after end"),t("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),t("ERR_UNKNOWN_ENCODING",function(g){return"Unknown encoding: "+g},TypeError),t("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),T.exports.q=p},37865:function(T,p,t){var d=t(90386),g=Object.keys||function(s){var c=[];for(var h in s)c.push(h);return c};T.exports=a;var i=t(40410),M=t(37493);t(42018)(a,i);for(var v=g(M.prototype),f=0;f0)if(typeof Z=="string"||oe.objectMode||Object.getPrototypeOf(Z)===f.prototype||(Z=function(ue){return f.from(ue)}(Z)),Q)oe.endEmitted?E(te,new k):R(te,oe,Z,!0);else if(oe.ended)E(te,new S);else{if(oe.destroyed)return!1;oe.reading=!1,oe.decoder&&!X?(Z=oe.decoder.write(Z),oe.objectMode||Z.length!==0?R(te,oe,Z,!1):B(te,oe)):R(te,oe,Z,!1)}else Q||(oe.reading=!1,B(te,oe));return!oe.ended&&(oe.lengthZ.highWaterMark&&(Z.highWaterMark=function(X){return X>=I?X=I:(X--,X|=X>>>1,X|=X>>>2,X|=X>>>4,X|=X>>>8,X|=X>>>16,X++),X}(te)),te<=Z.length?te:Z.ended?Z.length:(Z.needReadable=!0,0))}function z(te){var Z=te._readableState;i("emitReadable",Z.needReadable,Z.emittedReadable),Z.needReadable=!1,Z.emittedReadable||(i("emitReadable",Z.flowing),Z.emittedReadable=!0,g.nextTick(F,te))}function F(te){var Z=te._readableState;i("emitReadable_",Z.destroyed,Z.length,Z.ended),Z.destroyed||!Z.length&&!Z.ended||(te.emit("readable"),Z.emittedReadable=!1),Z.needReadable=!Z.flowing&&!Z.ended&&Z.length<=Z.highWaterMark,U(te)}function B(te,Z){Z.readingMore||(Z.readingMore=!0,g.nextTick(N,te,Z))}function N(te,Z){for(;!Z.reading&&!Z.ended&&(Z.length0,Z.resumeScheduled&&!Z.paused?Z.flowing=!0:te.listenerCount("data")>0&&te.resume()}function j(te){i("readable nexttick read 0"),te.read(0)}function $(te,Z){i("resume",Z.reading),Z.reading||te.read(0),Z.resumeScheduled=!1,te.emit("resume"),U(te),Z.flowing&&!Z.reading&&te.read(0)}function U(te){var Z=te._readableState;for(i("flow",Z.flowing);Z.flowing&&te.read()!==null;);}function G(te,Z){return Z.length===0?null:(Z.objectMode?X=Z.buffer.shift():!te||te>=Z.length?(X=Z.decoder?Z.buffer.join(""):Z.buffer.length===1?Z.buffer.first():Z.buffer.concat(Z.length),Z.buffer.clear()):X=Z.buffer.consume(te,Z.decoder),X);var X}function q(te){var Z=te._readableState;i("endReadable",Z.endEmitted),Z.endEmitted||(Z.ended=!0,g.nextTick(H,Z,te))}function H(te,Z){if(i("endReadableNT",te.endEmitted,te.length),!te.endEmitted&&te.length===0&&(te.endEmitted=!0,Z.readable=!1,Z.emit("end"),te.autoDestroy)){var X=Z._writableState;(!X||X.autoDestroy&&X.finished)&&Z.destroy()}}function ne(te,Z){for(var X=0,Q=te.length;X=Z.highWaterMark:Z.length>0)||Z.ended))return i("read: emitReadable",Z.length,Z.ended),Z.length===0&&Z.ended?q(this):z(this),null;if((te=O(te,Z))===0&&Z.ended)return Z.length===0&&q(this),null;var Q,re=Z.needReadable;return i("need readable",re),(Z.length===0||Z.length-te0?G(te,Z):null)===null?(Z.needReadable=Z.length<=Z.highWaterMark,te=0):(Z.length-=te,Z.awaitDrain=0),Z.length===0&&(Z.ended||(Z.needReadable=!0),X!==te&&Z.ended&&q(this)),Q!==null&&this.emit("data",Q),Q},L.prototype._read=function(te){E(this,new _("_read()"))},L.prototype.pipe=function(te,Z){var X=this,Q=this._readableState;switch(Q.pipesCount){case 0:Q.pipes=te;break;case 1:Q.pipes=[Q.pipes,te];break;default:Q.pipes.push(te)}Q.pipesCount+=1,i("pipe count=%d opts=%j",Q.pipesCount,Z);var re=Z&&Z.end===!1||te===g.stdout||te===g.stderr?pe:ie;function ie(){i("onend"),te.end()}Q.endEmitted?g.nextTick(re):X.once("end",re),te.on("unpipe",function xe(Pe,_e){i("onunpipe"),Pe===X&&_e&&_e.hasUnpiped===!1&&(_e.hasUnpiped=!0,i("cleanup"),te.removeListener("close",de),te.removeListener("finish",me),te.removeListener("drain",oe),te.removeListener("error",ye),te.removeListener("unpipe",xe),X.removeListener("end",ie),X.removeListener("end",pe),X.removeListener("data",ce),ue=!0,!Q.awaitDrain||te._writableState&&!te._writableState.needDrain||oe())});var oe=function(xe){return function(){var Pe=xe._readableState;i("pipeOnDrain",Pe.awaitDrain),Pe.awaitDrain&&Pe.awaitDrain--,Pe.awaitDrain===0&&M(xe,"data")&&(Pe.flowing=!0,U(xe))}}(X);te.on("drain",oe);var ue=!1;function ce(xe){i("ondata");var Pe=te.write(xe);i("dest.write",Pe),Pe===!1&&((Q.pipesCount===1&&Q.pipes===te||Q.pipesCount>1&&ne(Q.pipes,te)!==-1)&&!ue&&(i("false write response, pause",Q.awaitDrain),Q.awaitDrain++),X.pause())}function ye(xe){i("onerror",xe),pe(),te.removeListener("error",ye),M(te,"error")===0&&E(te,xe)}function de(){te.removeListener("finish",me),pe()}function me(){i("onfinish"),te.removeListener("close",de),pe()}function pe(){i("unpipe"),X.unpipe(te)}return X.on("data",ce),function(xe,Pe,_e){if(typeof xe.prependListener=="function")return xe.prependListener(Pe,_e);xe._events&&xe._events.error?Array.isArray(xe._events.error)?xe._events.error.unshift(_e):xe._events.error=[_e,xe._events.error]:xe.on(Pe,_e)}(te,"error",ye),te.once("close",de),te.once("finish",me),te.emit("pipe",X),Q.flowing||(i("pipe resume"),X.resume()),te},L.prototype.unpipe=function(te){var Z=this._readableState,X={hasUnpiped:!1};if(Z.pipesCount===0)return this;if(Z.pipesCount===1)return te&&te!==Z.pipes||(te||(te=Z.pipes),Z.pipes=null,Z.pipesCount=0,Z.flowing=!1,te&&te.emit("unpipe",this,X)),this;if(!te){var Q=Z.pipes,re=Z.pipesCount;Z.pipes=null,Z.pipesCount=0,Z.flowing=!1;for(var ie=0;ie0,Q.flowing!==!1&&this.resume()):te==="readable"&&(Q.endEmitted||Q.readableListening||(Q.readableListening=Q.needReadable=!0,Q.flowing=!1,Q.emittedReadable=!1,i("on readable",Q.length,Q.reading),Q.length?z(this):Q.reading||g.nextTick(j,this))),X},L.prototype.addListener=L.prototype.on,L.prototype.removeListener=function(te,Z){var X=v.prototype.removeListener.call(this,te,Z);return te==="readable"&&g.nextTick(W,this),X},L.prototype.removeAllListeners=function(te){var Z=v.prototype.removeAllListeners.apply(this,arguments);return te!=="readable"&&te!==void 0||g.nextTick(W,this),Z},L.prototype.resume=function(){var te=this._readableState;return te.flowing||(i("resume"),te.flowing=!te.readableListening,function(Z,X){X.resumeScheduled||(X.resumeScheduled=!0,g.nextTick($,Z,X))}(this,te)),te.paused=!1,this},L.prototype.pause=function(){return i("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(i("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},L.prototype.wrap=function(te){var Z=this,X=this._readableState,Q=!1;for(var re in te.on("end",function(){if(i("wrapped end"),X.decoder&&!X.ended){var oe=X.decoder.end();oe&&oe.length&&Z.push(oe)}Z.push(null)}),te.on("data",function(oe){i("wrapped data"),X.decoder&&(oe=X.decoder.write(oe)),X.objectMode&&oe==null||(X.objectMode||oe&&oe.length)&&(Z.push(oe)||(Q=!0,te.pause()))}),te)this[re]===void 0&&typeof te[re]=="function"&&(this[re]=function(oe){return function(){return te[oe].apply(te,arguments)}}(re));for(var ie=0;ie-1))throw new k(B);return this._writableState.defaultEncoding=B,this},Object.defineProperty(L.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(L.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),L.prototype._write=function(B,N,W){W(new h("_write()"))},L.prototype._writev=null,L.prototype.end=function(B,N,W){var j=this._writableState;return typeof B=="function"?(W=B,B=null,N=null):typeof N=="function"&&(W=N,N=null),B!=null&&this.write(B,N),j.corked&&(j.corked=1,this.uncork()),j.ending||function($,U,G){U.ending=!0,F($,U),G&&(U.finished?g.nextTick(G):$.once("finish",G)),U.ended=!0,$.writable=!1}(this,j,W),this},Object.defineProperty(L.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(L.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function(B){this._writableState&&(this._writableState.destroyed=B)}}),L.prototype.destroy=u.destroy,L.prototype._undestroy=u.undestroy,L.prototype._destroy=function(B,N){N(B)}},68221:function(T,p,t){var d,g=t(90386);function i(S,_,k){return _ in S?Object.defineProperty(S,_,{value:k,enumerable:!0,configurable:!0,writable:!0}):S[_]=k,S}var M=t(12726),v=Symbol("lastResolve"),f=Symbol("lastReject"),l=Symbol("error"),a=Symbol("ended"),u=Symbol("lastPromise"),o=Symbol("handlePromise"),s=Symbol("stream");function c(S,_){return{value:S,done:_}}function h(S){var _=S[v];if(_!==null){var k=S[s].read();k!==null&&(S[u]=null,S[v]=null,S[f]=null,_(c(k,!1)))}}function m(S){g.nextTick(h,S)}var w=Object.getPrototypeOf(function(){}),y=Object.setPrototypeOf((i(d={get stream(){return this[s]},next:function(){var S=this,_=this[l];if(_!==null)return Promise.reject(_);if(this[a])return Promise.resolve(c(void 0,!0));if(this[s].destroyed)return new Promise(function(A,L){g.nextTick(function(){S[l]?L(S[l]):A(c(void 0,!0))})});var k,E=this[u];if(E)k=new Promise(function(A,L){return function(b,R){A.then(function(){L[a]?b(c(void 0,!0)):L[o](b,R)},R)}}(E,this));else{var x=this[s].read();if(x!==null)return Promise.resolve(c(x,!1));k=new Promise(this[o])}return this[u]=k,k}},Symbol.asyncIterator,function(){return this}),i(d,"return",function(){var S=this;return new Promise(function(_,k){S[s].destroy(null,function(E){E?k(E):_(c(void 0,!0))})})}),d),w);T.exports=function(S){var _,k=Object.create(y,(i(_={},s,{value:S,writable:!0}),i(_,v,{value:null,writable:!0}),i(_,f,{value:null,writable:!0}),i(_,l,{value:null,writable:!0}),i(_,a,{value:S._readableState.endEmitted,writable:!0}),i(_,o,{value:function(E,x){var A=k[s].read();A?(k[u]=null,k[v]=null,k[f]=null,E(c(A,!1))):(k[v]=E,k[f]=x)},writable:!0}),_));return k[u]=null,M(S,function(E){if(E&&E.code!=="ERR_STREAM_PREMATURE_CLOSE"){var x=k[f];return x!==null&&(k[u]=null,k[v]=null,k[f]=null,x(E)),void(k[l]=E)}var A=k[v];A!==null&&(k[u]=null,k[v]=null,k[f]=null,A(c(void 0,!0))),k[a]=!0}),S.on("readable",m.bind(null,k)),k}},31125:function(T,p,t){function d(l,a){var u=Object.keys(l);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(l);a&&(o=o.filter(function(s){return Object.getOwnPropertyDescriptor(l,s).enumerable})),u.push.apply(u,o)}return u}function g(l,a,u){return a in l?Object.defineProperty(l,a,{value:u,enumerable:!0,configurable:!0,writable:!0}):l[a]=u,l}function i(l,a){for(var u=0;u0?this.tail.next=s:this.head=s,this.tail=s,++this.length}},{key:"unshift",value:function(o){var s={data:o,next:this.head};this.length===0&&(this.tail=s),this.head=s,++this.length}},{key:"shift",value:function(){if(this.length!==0){var o=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,o}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(o){if(this.length===0)return"";for(var s=this.head,c=""+s.data;s=s.next;)c+=o+s.data;return c}},{key:"concat",value:function(o){if(this.length===0)return M.alloc(0);for(var s,c,h,m=M.allocUnsafe(o>>>0),w=this.head,y=0;w;)s=w.data,c=m,h=y,M.prototype.copy.call(s,c,h),y+=w.data.length,w=w.next;return m}},{key:"consume",value:function(o,s){var c;return om.length?m.length:o;if(w===m.length?h+=m:h+=m.slice(0,o),(o-=w)==0){w===m.length?(++c,s.next?this.head=s.next:this.head=this.tail=null):(this.head=s,s.data=m.slice(w));break}++c}return this.length-=c,h}},{key:"_getBuffer",value:function(o){var s=M.allocUnsafe(o),c=this.head,h=1;for(c.data.copy(s),o-=c.data.length;c=c.next;){var m=c.data,w=o>m.length?m.length:o;if(m.copy(s,s.length-o,0,w),(o-=w)==0){w===m.length?(++h,c.next?this.head=c.next:this.head=this.tail=null):(this.head=c,c.data=m.slice(w));break}++h}return this.length-=h,s}},{key:f,value:function(o,s){return v(this,function(c){for(var h=1;h0,function(k){h||(h=k),k&&w.forEach(l),_||(w.forEach(l),m(h))})});return s.reduce(a)}},56306:function(T,p,t){var d=t(74322).q.ERR_INVALID_OPT_VALUE;T.exports={getHighWaterMark:function(g,i,M,v){var f=function(l,a,u){return l.highWaterMark!=null?l.highWaterMark:a?l[u]:null}(i,v,M);if(f!=null){if(!isFinite(f)||Math.floor(f)!==f||f<0)throw new d(v?M:"highWaterMark",f);return Math.floor(f)}return g.objectMode?16:16384}}},71405:function(T,p,t){T.exports=t(15398).EventEmitter},68019:function(T,p,t){var d=t(71665).Buffer,g=d.isEncoding||function(c){switch((c=""+c)&&c.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i(c){var h;switch(this.encoding=function(m){var w=function(y){if(!y)return"utf8";for(var S;;)switch(y){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return y;default:if(S)return;y=(""+y).toLowerCase(),S=!0}}(m);if(typeof w!="string"&&(d.isEncoding===g||!g(m)))throw new Error("Unknown encoding: "+m);return w||m}(c),this.encoding){case"utf16le":this.text=f,this.end=l,h=4;break;case"utf8":this.fillLast=v,h=4;break;case"base64":this.text=a,this.end=u,h=3;break;default:return this.write=o,void(this.end=s)}this.lastNeed=0,this.lastTotal=0,this.lastChar=d.allocUnsafe(h)}function M(c){return c<=127?0:c>>5==6?2:c>>4==14?3:c>>3==30?4:c>>6==2?-1:-2}function v(c){var h=this.lastTotal-this.lastNeed,m=function(w,y,S){if((192&y[0])!=128)return w.lastNeed=0,"�";if(w.lastNeed>1&&y.length>1){if((192&y[1])!=128)return w.lastNeed=1,"�";if(w.lastNeed>2&&y.length>2&&(192&y[2])!=128)return w.lastNeed=2,"�"}}(this,c);return m!==void 0?m:this.lastNeed<=c.length?(c.copy(this.lastChar,h,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(c.copy(this.lastChar,h,0,c.length),void(this.lastNeed-=c.length))}function f(c,h){if((c.length-h)%2==0){var m=c.toString("utf16le",h);if(m){var w=m.charCodeAt(m.length-1);if(w>=55296&&w<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=c[c.length-2],this.lastChar[1]=c[c.length-1],m.slice(0,-1)}return m}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=c[c.length-1],c.toString("utf16le",h,c.length-1)}function l(c){var h=c&&c.length?this.write(c):"";if(this.lastNeed){var m=this.lastTotal-this.lastNeed;return h+this.lastChar.toString("utf16le",0,m)}return h}function a(c,h){var m=(c.length-h)%3;return m===0?c.toString("base64",h):(this.lastNeed=3-m,this.lastTotal=3,m===1?this.lastChar[0]=c[c.length-1]:(this.lastChar[0]=c[c.length-2],this.lastChar[1]=c[c.length-1]),c.toString("base64",h,c.length-m))}function u(c){var h=c&&c.length?this.write(c):"";return this.lastNeed?h+this.lastChar.toString("base64",0,3-this.lastNeed):h}function o(c){return c.toString(this.encoding)}function s(c){return c&&c.length?this.write(c):""}p.s=i,i.prototype.write=function(c){if(c.length===0)return"";var h,m;if(this.lastNeed){if((h=this.fillLast(c))===void 0)return"";m=this.lastNeed,this.lastNeed=0}else m=0;return m=0?(E>0&&(y.lastNeed=E-1),E):--k<_||E===-2?0:(E=M(S[k]))>=0?(E>0&&(y.lastNeed=E-2),E):--k<_||E===-2?0:(E=M(S[k]))>=0?(E>0&&(E===2?E=0:y.lastNeed=E-3),E):0}(this,c,h);if(!this.lastNeed)return c.toString("utf8",h);this.lastTotal=m;var w=c.length-(m-this.lastNeed);return c.copy(this.lastChar,0,w),c.toString("utf8",h,w)},i.prototype.fillLast=function(c){if(this.lastNeed<=c.length)return c.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);c.copy(this.lastChar,this.lastTotal-this.lastNeed,0,c.length),this.lastNeed-=c.length}},90715:function(T,p,t){var d=t(32791),g=t(41633)("stream-parser");function i(c){g("initializing parser stream"),c._parserBytesLeft=0,c._parserBuffers=[],c._parserBuffered=0,c._parserState=-1,c._parserCallback=null,typeof c.push=="function"&&(c._parserOutput=c.push.bind(c)),c._parserInit=!0}function M(c,h){d(!this._parserCallback,'there is already a "callback" set!'),d(isFinite(c)&&c>0,'can only buffer a finite number of bytes > 0, got "'+c+'"'),this._parserInit||i(this),g("buffering %o bytes",c),this._parserBytesLeft=c,this._parserCallback=h,this._parserState=0}function v(c,h){d(!this._parserCallback,'there is already a "callback" set!'),d(c>0,'can only skip > 0 bytes, got "'+c+'"'),this._parserInit||i(this),g("skipping %o bytes",c),this._parserBytesLeft=c,this._parserCallback=h,this._parserState=1}function f(c,h){d(!this._parserCallback,'There is already a "callback" set!'),d(c>0,'can only pass through > 0 bytes, got "'+c+'"'),this._parserInit||i(this),g("passing through %o bytes",c),this._parserBytesLeft=c,this._parserCallback=h,this._parserState=2}function l(c,h,m){this._parserInit||i(this),g("write(%o bytes)",c.length),typeof h=="function"&&(m=h),o(this,c,null,m)}function a(c,h,m){this._parserInit||i(this),g("transform(%o bytes)",c.length),typeof h!="function"&&(h=this._parserOutput),o(this,c,h,m)}function u(c,h,m,w){if(c._parserBytesLeft-=h.length,g("%o bytes left for stream piece",c._parserBytesLeft),c._parserState===0?(c._parserBuffers.push(h),c._parserBuffered+=h.length):c._parserState===2&&m(h),c._parserBytesLeft!==0)return w;var y=c._parserCallback;if(y&&c._parserState===0&&c._parserBuffers.length>1&&(h=Buffer.concat(c._parserBuffers,c._parserBuffered)),c._parserState!==0&&(h=null),c._parserCallback=null,c._parserBuffered=0,c._parserState=-1,c._parserBuffers.splice(0),y){var S=[];h&&S.push(h),m&&S.push(m);var _=y.length>S.length;_&&S.push(s(w));var k=y.apply(c,S);if(!_||w===k)return w}}T.exports=function(c){var h=c&&typeof c._transform=="function",m=c&&typeof c._write=="function";if(!h&&!m)throw new Error("must pass a Writable or Transform stream in");g("extending Parser into stream"),c._bytes=M,c._skipBytes=v,h&&(c._passthrough=f),h?c._transform=a:c._write=l};var o=s(function c(h,m,w,y){return h._parserBytesLeft<=0?y(new Error("got data but not currently parsing anything")):m.length<=h._parserBytesLeft?function(){return u(h,m,w,y)}:function(){var S=m.slice(0,h._parserBytesLeft);return u(h,S,w,function(_){return _?y(_):m.length>S.length?function(){return c(h,m.slice(S.length),w,y)}:void 0})}});function s(c){return function(){for(var h=c.apply(this,arguments);typeof h=="function";)h=h();return h}}},41633:function(T,p,t){var d=t(90386);function g(){var i;try{i=p.storage.debug}catch{}return!i&&d!==void 0&&"env"in d&&(i=d.env.DEBUG),i}(p=T.exports=t(74469)).log=function(){return typeof console=="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},p.formatArgs=function(i){var M=this.useColors;if(i[0]=(M?"%c":"")+this.namespace+(M?" %c":" ")+i[0]+(M?"%c ":" ")+"+"+p.humanize(this.diff),M){var v="color: "+this.color;i.splice(1,0,v,"color: inherit");var f=0,l=0;i[0].replace(/%[a-zA-Z%]/g,function(a){a!=="%%"&&(f++,a==="%c"&&(l=f))}),i.splice(l,0,v)}},p.save=function(i){try{i==null?p.storage.removeItem("debug"):p.storage.debug=i}catch{}},p.load=g,p.useColors=function(){return!(typeof window>"u"||!window.process||window.process.type!=="renderer")||typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},p.storage=typeof chrome<"u"&&chrome.storage!==void 0?chrome.storage.local:function(){try{return window.localStorage}catch{}}(),p.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],p.formatters.j=function(i){try{return JSON.stringify(i)}catch(M){return"[UnexpectedJSONParseError]: "+M.message}},p.enable(g())},74469:function(T,p,t){var d;function g(i){function M(){if(M.enabled){var v=M,f=+new Date,l=f-(d||f);v.diff=l,v.prev=d,v.curr=f,d=f;for(var a=new Array(arguments.length),u=0;u0)return function(a){if(!((a=String(a)).length>100)){var u=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(a);if(u){var o=parseFloat(u[1]);switch((u[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*o;case"days":case"day":case"d":return o*g;case"hours":case"hour":case"hrs":case"hr":case"h":return o*d;case"minutes":case"minute":case"mins":case"min":case"m":return o*t;case"seconds":case"second":case"secs":case"sec":case"s":return o*p;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return o;default:return}}}}(M);if(l==="number"&&isNaN(M)===!1)return v.long?i(f=M,g,"day")||i(f,d,"hour")||i(f,t,"minute")||i(f,p,"second")||f+" ms":function(a){return a>=g?Math.round(a/g)+"d":a>=d?Math.round(a/d)+"h":a>=t?Math.round(a/t)+"m":a>=p?Math.round(a/p)+"s":a+"ms"}(M);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(M))}},99011:function(T,p,t){var d=t(88641);T.exports=function(g,i,M){if(g==null)throw Error("First argument should be a string");if(i==null)throw Error("Separator should be a string or a RegExp");M?(typeof M=="string"||Array.isArray(M))&&(M={ignore:M}):M={},M.escape==null&&(M.escape=!0),M.ignore==null?M.ignore=["[]","()","{}","<>",'""',"''","``","“”","«»"]:(typeof M.ignore=="string"&&(M.ignore=[M.ignore]),M.ignore=M.ignore.map(function(s){return s.length===1&&(s+=s),s}));var v=d.parse(g,{flat:!0,brackets:M.ignore}),f=v[0].split(i);if(M.escape){for(var l=[],a=0;a0;){w=S[S.length-1];var _=p[w];if(M[w]<_.length){for(var k=M[w];k<_.length;++k){var E=_[k];if(d[E]<0){d[E]=g[E]=u,i[E]=!0,u+=1,y.push(E),S.push(E);break}i[E]&&(g[w]=0|Math.min(g[w],g[E])),v[E]>=0&&f[w].push(v[E])}M[w]=k}else{if(g[w]===d[w]){var x=[],A=[],L=0;for(k=y.length-1;k>=0;--k){var b=y[k];if(i[b]=!1,x.push(b),A.push(f[b]),L+=f[b].length,v[b]=o.length,b===w){y.length=k;break}}o.push(x);var R=new Array(L);for(k=0;k1&&(u=1),u<-1&&(u=-1),(v*a-f*l<0?-1:1)*Math.acos(u)};p.default=function(v){var f=v.px,l=v.py,a=v.cx,u=v.cy,o=v.rx,s=v.ry,c=v.xAxisRotation,h=c===void 0?0:c,m=v.largeArcFlag,w=m===void 0?0:m,y=v.sweepFlag,S=y===void 0?0:y,_=[];if(o===0||s===0)return[];var k=Math.sin(h*d/360),E=Math.cos(h*d/360),x=E*(f-a)/2+k*(l-u)/2,A=-k*(f-a)/2+E*(l-u)/2;if(x===0&&A===0)return[];o=Math.abs(o),s=Math.abs(s);var L=Math.pow(x,2)/Math.pow(o,2)+Math.pow(A,2)/Math.pow(s,2);L>1&&(o*=Math.sqrt(L),s*=Math.sqrt(L));var b=function(j,$,U,G,q,H,ne,te,Z,X,Q,re){var ie=Math.pow(q,2),oe=Math.pow(H,2),ue=Math.pow(Q,2),ce=Math.pow(re,2),ye=ie*oe-ie*ce-oe*ue;ye<0&&(ye=0),ye/=ie*ce+oe*ue;var de=(ye=Math.sqrt(ye)*(ne===te?-1:1))*q/H*re,me=ye*-H/q*Q,pe=X*de-Z*me+(j+U)/2,xe=Z*de+X*me+($+G)/2,Pe=(Q-de)/q,_e=(re-me)/H,Me=(-Q-de)/q,Se=(-re-me)/H,Ce=M(1,0,Pe,_e),ae=M(Pe,_e,Me,Se);return te===0&&ae>0&&(ae-=d),te===1&&ae<0&&(ae+=d),[pe,xe,Ce,ae]}(f,l,a,u,o,s,w,S,k,E,x,A),R=function(j,$){if(Array.isArray(j))return j;if(Symbol.iterator in Object(j))return function(U,G){var q=[],H=!0,ne=!1,te=void 0;try{for(var Z,X=U[Symbol.iterator]();!(H=(Z=X.next()).done)&&(q.push(Z.value),!G||q.length!==G);H=!0);}catch(Q){ne=!0,te=Q}finally{try{!H&&X.return&&X.return()}finally{if(ne)throw te}}return q}(j,$);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(b,4),I=R[0],O=R[1],z=R[2],F=R[3],B=Math.abs(F)/(d/4);Math.abs(1-B)<1e-7&&(B=1);var N=Math.max(Math.ceil(B),1);F/=N;for(var W=0;Wl[2]&&(l[2]=o[s+0]),o[s+1]>l[3]&&(l[3]=o[s+1]);return l}},29988:function(T,p,t){T.exports=function(M){for(var v,f=[],l=0,a=0,u=0,o=0,s=null,c=null,h=0,m=0,w=0,y=M.length;w4?(l=S[S.length-4],a=S[S.length-3]):(l=h,a=m),f.push(S)}return f};var d=t(7095);function g(M,v,f,l){return["C",M,v,f,l,f,l]}function i(M,v,f,l,a,u){return["C",M/3+.6666666666666666*f,v/3+.6666666666666666*l,a/3+.6666666666666666*f,u/3+.6666666666666666*l,a,u]}},82019:function(T,p,t){var d,g=t(1750),i=t(95616),M=t(31457),v=t(89546),f=t(44781),l=document.createElement("canvas"),a=l.getContext("2d");T.exports=function(u,o){if(!v(u))throw Error("Argument should be valid svg path string");var s,c;o||(o={}),o.shape?(s=o.shape[0],c=o.shape[1]):(s=l.width=o.w||o.width||200,c=l.height=o.h||o.height||200);var h=Math.min(s,c),m=o.stroke||0,w=o.viewbox||o.viewBox||g(u),y=[s/(w[2]-w[0]),c/(w[3]-w[1])],S=Math.min(y[0]||0,y[1]||0)/2;if(a.fillStyle="black",a.fillRect(0,0,s,c),a.fillStyle="white",m&&(typeof m!="number"&&(m=1),a.strokeStyle=m>0?"white":"black",a.lineWidth=Math.abs(m)),a.translate(.5*s,.5*c),a.scale(S,S),function(){if(d!=null)return d;var E=document.createElement("canvas").getContext("2d");if(E.canvas.width=E.canvas.height=1,!window.Path2D)return d=!1;var x=new Path2D("M0,0h1v1h-1v-1Z");E.fillStyle="black",E.fill(x);var A=E.getImageData(0,0,1,1);return d=A&&A.data&&A.data[3]===255}()){var _=new Path2D(u);a.fill(_),m&&a.stroke(_)}else{var k=i(u);M(a,k),a.fill(),m&&a.stroke()}return a.setTransform(1,0,0,1,0,0),f(a,{cutoff:o.cutoff!=null?o.cutoff:.5,radius:o.radius!=null?o.radius:.5*h})}},84267:function(T,p,t){var d;(function(g){var i=/^\s+/,M=/\s+$/,v=0,f=g.round,l=g.min,a=g.max,u=g.random;function o(Q,re){if(re=re||{},(Q=Q||"")instanceof o)return Q;if(!(this instanceof o))return new o(Q,re);var ie=function(oe){var ue,ce,ye,de={r:0,g:0,b:0},me=1,pe=null,xe=null,Pe=null,_e=!1,Me=!1;return typeof oe=="string"&&(oe=function(Se){Se=Se.replace(i,"").replace(M,"").toLowerCase();var Ce,ae=!1;if(z[Se])Se=z[Se],ae=!0;else if(Se=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};return(Ce=Z.rgb.exec(Se))?{r:Ce[1],g:Ce[2],b:Ce[3]}:(Ce=Z.rgba.exec(Se))?{r:Ce[1],g:Ce[2],b:Ce[3],a:Ce[4]}:(Ce=Z.hsl.exec(Se))?{h:Ce[1],s:Ce[2],l:Ce[3]}:(Ce=Z.hsla.exec(Se))?{h:Ce[1],s:Ce[2],l:Ce[3],a:Ce[4]}:(Ce=Z.hsv.exec(Se))?{h:Ce[1],s:Ce[2],v:Ce[3]}:(Ce=Z.hsva.exec(Se))?{h:Ce[1],s:Ce[2],v:Ce[3],a:Ce[4]}:(Ce=Z.hex8.exec(Se))?{r:j(Ce[1]),g:j(Ce[2]),b:j(Ce[3]),a:q(Ce[4]),format:ae?"name":"hex8"}:(Ce=Z.hex6.exec(Se))?{r:j(Ce[1]),g:j(Ce[2]),b:j(Ce[3]),format:ae?"name":"hex"}:(Ce=Z.hex4.exec(Se))?{r:j(Ce[1]+""+Ce[1]),g:j(Ce[2]+""+Ce[2]),b:j(Ce[3]+""+Ce[3]),a:q(Ce[4]+""+Ce[4]),format:ae?"name":"hex8"}:!!(Ce=Z.hex3.exec(Se))&&{r:j(Ce[1]+""+Ce[1]),g:j(Ce[2]+""+Ce[2]),b:j(Ce[3]+""+Ce[3]),format:ae?"name":"hex"}}(oe)),typeof oe=="object"&&(X(oe.r)&&X(oe.g)&&X(oe.b)?(ue=oe.r,ce=oe.g,ye=oe.b,de={r:255*N(ue,255),g:255*N(ce,255),b:255*N(ye,255)},_e=!0,Me=String(oe.r).substr(-1)==="%"?"prgb":"rgb"):X(oe.h)&&X(oe.s)&&X(oe.v)?(pe=U(oe.s),xe=U(oe.v),de=function(Se,Ce,ae){Se=6*N(Se,360),Ce=N(Ce,100),ae=N(ae,100);var fe=g.floor(Se),be=Se-fe,ke=ae*(1-Ce),Le=ae*(1-be*Ce),Be=ae*(1-(1-be)*Ce),ze=fe%6;return{r:255*[ae,Le,ke,ke,Be,ae][ze],g:255*[Be,ae,ae,Le,ke,ke][ze],b:255*[ke,ke,Be,ae,ae,Le][ze]}}(oe.h,pe,xe),_e=!0,Me="hsv"):X(oe.h)&&X(oe.s)&&X(oe.l)&&(pe=U(oe.s),Pe=U(oe.l),de=function(Se,Ce,ae){var fe,be,ke;function Le(je,ge,we){return we<0&&(we+=1),we>1&&(we-=1),we<1/6?je+6*(ge-je)*we:we<.5?ge:we<2/3?je+(ge-je)*(2/3-we)*6:je}if(Se=N(Se,360),Ce=N(Ce,100),ae=N(ae,100),Ce===0)fe=be=ke=ae;else{var Be=ae<.5?ae*(1+Ce):ae+Ce-ae*Ce,ze=2*ae-Be;fe=Le(ze,Be,Se+1/3),be=Le(ze,Be,Se),ke=Le(ze,Be,Se-1/3)}return{r:255*fe,g:255*be,b:255*ke}}(oe.h,pe,Pe),_e=!0,Me="hsl"),oe.hasOwnProperty("a")&&(me=oe.a)),me=B(me),{ok:_e,format:oe.format||Me,r:l(255,a(de.r,0)),g:l(255,a(de.g,0)),b:l(255,a(de.b,0)),a:me}}(Q);this._originalInput=Q,this._r=ie.r,this._g=ie.g,this._b=ie.b,this._a=ie.a,this._roundA=f(100*this._a)/100,this._format=re.format||ie.format,this._gradientType=re.gradientType,this._r<1&&(this._r=f(this._r)),this._g<1&&(this._g=f(this._g)),this._b<1&&(this._b=f(this._b)),this._ok=ie.ok,this._tc_id=v++}function s(Q,re,ie){Q=N(Q,255),re=N(re,255),ie=N(ie,255);var oe,ue,ce=a(Q,re,ie),ye=l(Q,re,ie),de=(ce+ye)/2;if(ce==ye)oe=ue=0;else{var me=ce-ye;switch(ue=de>.5?me/(2-ce-ye):me/(ce+ye),ce){case Q:oe=(re-ie)/me+(re>1)+720)%360;--re;)oe.h=(oe.h+ue)%360,ce.push(o(oe));return ce}function O(Q,re){re=re||6;for(var ie=o(Q).toHsv(),oe=ie.h,ue=ie.s,ce=ie.v,ye=[],de=1/re;re--;)ye.push(o({h:oe,s:ue,v:ce})),ce=(ce+de)%1;return ye}o.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var Q=this.toRgb();return(299*Q.r+587*Q.g+114*Q.b)/1e3},getLuminance:function(){var Q,re,ie,oe=this.toRgb();return Q=oe.r/255,re=oe.g/255,ie=oe.b/255,.2126*(Q<=.03928?Q/12.92:g.pow((Q+.055)/1.055,2.4))+.7152*(re<=.03928?re/12.92:g.pow((re+.055)/1.055,2.4))+.0722*(ie<=.03928?ie/12.92:g.pow((ie+.055)/1.055,2.4))},setAlpha:function(Q){return this._a=B(Q),this._roundA=f(100*this._a)/100,this},toHsv:function(){var Q=c(this._r,this._g,this._b);return{h:360*Q.h,s:Q.s,v:Q.v,a:this._a}},toHsvString:function(){var Q=c(this._r,this._g,this._b),re=f(360*Q.h),ie=f(100*Q.s),oe=f(100*Q.v);return this._a==1?"hsv("+re+", "+ie+"%, "+oe+"%)":"hsva("+re+", "+ie+"%, "+oe+"%, "+this._roundA+")"},toHsl:function(){var Q=s(this._r,this._g,this._b);return{h:360*Q.h,s:Q.s,l:Q.l,a:this._a}},toHslString:function(){var Q=s(this._r,this._g,this._b),re=f(360*Q.h),ie=f(100*Q.s),oe=f(100*Q.l);return this._a==1?"hsl("+re+", "+ie+"%, "+oe+"%)":"hsla("+re+", "+ie+"%, "+oe+"%, "+this._roundA+")"},toHex:function(Q){return h(this._r,this._g,this._b,Q)},toHexString:function(Q){return"#"+this.toHex(Q)},toHex8:function(Q){return function(re,ie,oe,ue,ce){var ye=[$(f(re).toString(16)),$(f(ie).toString(16)),$(f(oe).toString(16)),$(G(ue))];return ce&&ye[0].charAt(0)==ye[0].charAt(1)&&ye[1].charAt(0)==ye[1].charAt(1)&&ye[2].charAt(0)==ye[2].charAt(1)&&ye[3].charAt(0)==ye[3].charAt(1)?ye[0].charAt(0)+ye[1].charAt(0)+ye[2].charAt(0)+ye[3].charAt(0):ye.join("")}(this._r,this._g,this._b,this._a,Q)},toHex8String:function(Q){return"#"+this.toHex8(Q)},toRgb:function(){return{r:f(this._r),g:f(this._g),b:f(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+f(this._r)+", "+f(this._g)+", "+f(this._b)+")":"rgba("+f(this._r)+", "+f(this._g)+", "+f(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:f(100*N(this._r,255))+"%",g:f(100*N(this._g,255))+"%",b:f(100*N(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+f(100*N(this._r,255))+"%, "+f(100*N(this._g,255))+"%, "+f(100*N(this._b,255))+"%)":"rgba("+f(100*N(this._r,255))+"%, "+f(100*N(this._g,255))+"%, "+f(100*N(this._b,255))+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":!(this._a<1)&&(F[h(this._r,this._g,this._b,!0)]||!1)},toFilter:function(Q){var re="#"+m(this._r,this._g,this._b,this._a),ie=re,oe=this._gradientType?"GradientType = 1, ":"";if(Q){var ue=o(Q);ie="#"+m(ue._r,ue._g,ue._b,ue._a)}return"progid:DXImageTransform.Microsoft.gradient("+oe+"startColorstr="+re+",endColorstr="+ie+")"},toString:function(Q){var re=!!Q;Q=Q||this._format;var ie=!1,oe=this._a<1&&this._a>=0;return re||!oe||Q!=="hex"&&Q!=="hex6"&&Q!=="hex3"&&Q!=="hex4"&&Q!=="hex8"&&Q!=="name"?(Q==="rgb"&&(ie=this.toRgbString()),Q==="prgb"&&(ie=this.toPercentageRgbString()),Q!=="hex"&&Q!=="hex6"||(ie=this.toHexString()),Q==="hex3"&&(ie=this.toHexString(!0)),Q==="hex4"&&(ie=this.toHex8String(!0)),Q==="hex8"&&(ie=this.toHex8String()),Q==="name"&&(ie=this.toName()),Q==="hsl"&&(ie=this.toHslString()),Q==="hsv"&&(ie=this.toHsvString()),ie||this.toHexString()):Q==="name"&&this._a===0?this.toName():this.toRgbString()},clone:function(){return o(this.toString())},_applyModification:function(Q,re){var ie=Q.apply(null,[this].concat([].slice.call(re)));return this._r=ie._r,this._g=ie._g,this._b=ie._b,this.setAlpha(ie._a),this},lighten:function(){return this._applyModification(_,arguments)},brighten:function(){return this._applyModification(k,arguments)},darken:function(){return this._applyModification(E,arguments)},desaturate:function(){return this._applyModification(w,arguments)},saturate:function(){return this._applyModification(y,arguments)},greyscale:function(){return this._applyModification(S,arguments)},spin:function(){return this._applyModification(x,arguments)},_applyCombination:function(Q,re){return Q.apply(null,[this].concat([].slice.call(re)))},analogous:function(){return this._applyCombination(I,arguments)},complement:function(){return this._applyCombination(A,arguments)},monochromatic:function(){return this._applyCombination(O,arguments)},splitcomplement:function(){return this._applyCombination(R,arguments)},triad:function(){return this._applyCombination(L,arguments)},tetrad:function(){return this._applyCombination(b,arguments)}},o.fromRatio=function(Q,re){if(typeof Q=="object"){var ie={};for(var oe in Q)Q.hasOwnProperty(oe)&&(ie[oe]=oe==="a"?Q[oe]:U(Q[oe]));Q=ie}return o(Q,re)},o.equals=function(Q,re){return!(!Q||!re)&&o(Q).toRgbString()==o(re).toRgbString()},o.random=function(){return o.fromRatio({r:u(),g:u(),b:u()})},o.mix=function(Q,re,ie){ie=ie===0?0:ie||50;var oe=o(Q).toRgb(),ue=o(re).toRgb(),ce=ie/100;return o({r:(ue.r-oe.r)*ce+oe.r,g:(ue.g-oe.g)*ce+oe.g,b:(ue.b-oe.b)*ce+oe.b,a:(ue.a-oe.a)*ce+oe.a})},o.readability=function(Q,re){var ie=o(Q),oe=o(re);return(g.max(ie.getLuminance(),oe.getLuminance())+.05)/(g.min(ie.getLuminance(),oe.getLuminance())+.05)},o.isReadable=function(Q,re,ie){var oe,ue,ce,ye,de,me=o.readability(Q,re);switch(ue=!1,(ce=ie,(ye=((ce=ce||{level:"AA",size:"small"}).level||"AA").toUpperCase())!=="AA"&&ye!=="AAA"&&(ye="AA"),(de=(ce.size||"small").toLowerCase())!=="small"&&de!=="large"&&(de="small"),oe={level:ye,size:de}).level+oe.size){case"AAsmall":case"AAAlarge":ue=me>=4.5;break;case"AAlarge":ue=me>=3;break;case"AAAsmall":ue=me>=7}return ue},o.mostReadable=function(Q,re,ie){var oe,ue,ce,ye,de=null,me=0;ue=(ie=ie||{}).includeFallbackColors,ce=ie.level,ye=ie.size;for(var pe=0;peme&&(me=oe,de=o(re[pe]));return o.isReadable(Q,de,{level:ce,size:ye})||!ue?de:(ie.includeFallbackColors=!1,o.mostReadable(Q,["#fff","#000"],ie))};var z=o.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},F=o.hexNames=function(Q){var re={};for(var ie in Q)Q.hasOwnProperty(ie)&&(re[Q[ie]]=ie);return re}(z);function B(Q){return Q=parseFloat(Q),(isNaN(Q)||Q<0||Q>1)&&(Q=1),Q}function N(Q,re){(function(oe){return typeof oe=="string"&&oe.indexOf(".")!=-1&&parseFloat(oe)===1})(Q)&&(Q="100%");var ie=function(oe){return typeof oe=="string"&&oe.indexOf("%")!=-1}(Q);return Q=l(re,a(0,parseFloat(Q))),ie&&(Q=parseInt(Q*re,10)/100),g.abs(Q-re)<1e-6?1:Q%re/parseFloat(re)}function W(Q){return l(1,a(0,Q))}function j(Q){return parseInt(Q,16)}function $(Q){return Q.length==1?"0"+Q:""+Q}function U(Q){return Q<=1&&(Q=100*Q+"%"),Q}function G(Q){return g.round(255*parseFloat(Q)).toString(16)}function q(Q){return j(Q)/255}var H,ne,te,Z=(ne="[\\s|\\(]+("+(H="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",te="[\\s|\\(]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",{CSS_UNIT:new RegExp(H),rgb:new RegExp("rgb"+ne),rgba:new RegExp("rgba"+te),hsl:new RegExp("hsl"+ne),hsla:new RegExp("hsla"+te),hsv:new RegExp("hsv"+ne),hsva:new RegExp("hsva"+te),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function X(Q){return!!Z.CSS_UNIT.exec(Q)}T.exports?T.exports=o:(d=(function(){return o}).call(p,t,p,T))===void 0||(T.exports=d)})(Math)},57060:function(T){T.exports=t,T.exports.float32=T.exports.float=t,T.exports.fract32=T.exports.fract=function(d,g){if(d.length){if(d instanceof Float32Array)return new Float32Array(d.length);g instanceof Float32Array||(g=t(d));for(var i=0,M=g.length;i":(M.length>100&&(M=M.slice(0,99)+"…"),M=M.replace(g,function(v){switch(v){case` -`:return"\\n";case"\r":return"\\r";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("Unexpected character")}}))}},47403:function(T,p,t){var d=t(24582),g={object:!0,function:!0,undefined:!0};T.exports=function(i){return!!d(i)&&hasOwnProperty.call(g,typeof i)}},82527:function(T,p,t){var d=t(69190),g=t(84985);T.exports=function(i){return g(i)?i:d(i,"%v is not a plain function",arguments[1])}},84985:function(T,p,t){var d=t(73116),g=/^\s*class[\s{/}]/,i=Function.prototype.toString;T.exports=function(M){return!!d(M)&&!g.test(i.call(M))}},24511:function(T,p,t){var d=t(47403);T.exports=function(g){if(!d(g))return!1;try{return!!g.constructor&&g.constructor.prototype===g}catch{return!1}}},9234:function(T,p,t){var d=t(24582),g=t(47403),i=Object.prototype.toString;T.exports=function(M){if(!d(M))return null;if(g(M)){var v=M.toString;if(typeof v!="function"||v===i)return null}try{return""+M}catch{return null}}},10424:function(T,p,t){var d=t(69190),g=t(24582);T.exports=function(i){return g(i)?i:d(i,"Cannot use %v",arguments[1])}},24582:function(T){T.exports=function(p){return p!=null}},58404:function(T,p,t){var d=t(13547),g=t(12129),i=t(12856).Buffer;t.g.__TYPEDARRAY_POOL||(t.g.__TYPEDARRAY_POOL={UINT8:g([32,0]),UINT16:g([32,0]),UINT32:g([32,0]),BIGUINT64:g([32,0]),INT8:g([32,0]),INT16:g([32,0]),INT32:g([32,0]),BIGINT64:g([32,0]),FLOAT:g([32,0]),DOUBLE:g([32,0]),DATA:g([32,0]),UINT8C:g([32,0]),BUFFER:g([32,0])});var M=typeof Uint8ClampedArray<"u",v=typeof BigUint64Array<"u",f=typeof BigInt64Array<"u",l=t.g.__TYPEDARRAY_POOL;l.UINT8C||(l.UINT8C=g([32,0])),l.BIGUINT64||(l.BIGUINT64=g([32,0])),l.BIGINT64||(l.BIGINT64=g([32,0])),l.BUFFER||(l.BUFFER=g([32,0]));var a=l.DATA,u=l.BUFFER;function o(R){if(R){var I=R.length||R.byteLength,O=d.log2(I);a[O].push(R)}}function s(R){R=d.nextPow2(R);var I=d.log2(R),O=a[I];return O.length>0?O.pop():new ArrayBuffer(R)}function c(R){return new Uint8Array(s(R),0,R)}function h(R){return new Uint16Array(s(2*R),0,R)}function m(R){return new Uint32Array(s(4*R),0,R)}function w(R){return new Int8Array(s(R),0,R)}function y(R){return new Int16Array(s(2*R),0,R)}function S(R){return new Int32Array(s(4*R),0,R)}function _(R){return new Float32Array(s(4*R),0,R)}function k(R){return new Float64Array(s(8*R),0,R)}function E(R){return M?new Uint8ClampedArray(s(R),0,R):c(R)}function x(R){return v?new BigUint64Array(s(8*R),0,R):null}function A(R){return f?new BigInt64Array(s(8*R),0,R):null}function L(R){return new DataView(s(R),0,R)}function b(R){R=d.nextPow2(R);var I=d.log2(R),O=u[I];return O.length>0?O.pop():new i(R)}p.free=function(R){if(i.isBuffer(R))u[d.log2(R.length)].push(R);else{if(Object.prototype.toString.call(R)!=="[object ArrayBuffer]"&&(R=R.buffer),!R)return;var I=R.length||R.byteLength,O=0|d.log2(I);a[O].push(R)}},p.freeUint8=p.freeUint16=p.freeUint32=p.freeBigUint64=p.freeInt8=p.freeInt16=p.freeInt32=p.freeBigInt64=p.freeFloat32=p.freeFloat=p.freeFloat64=p.freeDouble=p.freeUint8Clamped=p.freeDataView=function(R){o(R.buffer)},p.freeArrayBuffer=o,p.freeBuffer=function(R){u[d.log2(R.length)].push(R)},p.malloc=function(R,I){if(I===void 0||I==="arraybuffer")return s(R);switch(I){case"uint8":return c(R);case"uint16":return h(R);case"uint32":return m(R);case"int8":return w(R);case"int16":return y(R);case"int32":return S(R);case"float":case"float32":return _(R);case"double":case"float64":return k(R);case"uint8_clamped":return E(R);case"bigint64":return A(R);case"biguint64":return x(R);case"buffer":return b(R);case"data":case"dataview":return L(R);default:return null}return null},p.mallocArrayBuffer=s,p.mallocUint8=c,p.mallocUint16=h,p.mallocUint32=m,p.mallocInt8=w,p.mallocInt16=y,p.mallocInt32=S,p.mallocFloat32=p.mallocFloat=_,p.mallocFloat64=p.mallocDouble=k,p.mallocUint8Clamped=E,p.mallocBigUint64=x,p.mallocBigInt64=A,p.mallocDataView=L,p.mallocBuffer=b,p.clearCache=function(){for(var R=0;R<32;++R)l.UINT8[R].length=0,l.UINT16[R].length=0,l.UINT32[R].length=0,l.INT8[R].length=0,l.INT16[R].length=0,l.INT32[R].length=0,l.FLOAT[R].length=0,l.DOUBLE[R].length=0,l.BIGUINT64[R].length=0,l.BIGINT64[R].length=0,l.UINT8C[R].length=0,a[R].length=0,u[R].length=0}},90448:function(T){var p=/[\'\"]/;T.exports=function(t){return t?(p.test(t.charAt(0))&&(t=t.substr(1)),p.test(t.charAt(t.length-1))&&(t=t.substr(0,t.length-1)),t):""}},93447:function(T){T.exports=function(p,t,d){Array.isArray(d)||(d=[].slice.call(arguments,2));for(var g=0,i=d.length;g=U)return H;switch(H){case"%s":return String($[j++]);case"%d":return Number($[j++]);case"%j":try{return JSON.stringify($[j++])}catch{return"[Circular]"}default:return H}}),q=$[j];j=3&&(j.depth=arguments[2]),arguments.length>=4&&(j.colors=arguments[3]),m(W)?j.showHidden=W:W&&p._extend(j,W),_(j.showHidden)&&(j.showHidden=!1),_(j.depth)&&(j.depth=2),_(j.colors)&&(j.colors=!1),_(j.customInspect)&&(j.customInspect=!0),j.colors&&(j.stylize=a),o(j,N,j.depth)}function a(N,W){var j=l.styles[W];return j?"\x1B["+l.colors[j][0]+"m"+N+"\x1B["+l.colors[j][1]+"m":N}function u(N,W){return N}function o(N,W,j){if(N.customInspect&&W&&L(W.inspect)&&W.inspect!==p.inspect&&(!W.constructor||W.constructor.prototype!==W)){var $=W.inspect(j,N);return S($)||($=o(N,$,j)),$}var U=function(Q,re){if(_(re))return Q.stylize("undefined","undefined");if(S(re)){var ie="'"+JSON.stringify(re).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Q.stylize(ie,"string")}return y(re)?Q.stylize(""+re,"number"):m(re)?Q.stylize(""+re,"boolean"):w(re)?Q.stylize("null","null"):void 0}(N,W);if(U)return U;var G=Object.keys(W),q=function(Q){var re={};return Q.forEach(function(ie,oe){re[ie]=!0}),re}(G);if(N.showHidden&&(G=Object.getOwnPropertyNames(W)),A(W)&&(G.indexOf("message")>=0||G.indexOf("description")>=0))return s(W);if(G.length===0){if(L(W)){var H=W.name?": "+W.name:"";return N.stylize("[Function"+H+"]","special")}if(k(W))return N.stylize(RegExp.prototype.toString.call(W),"regexp");if(x(W))return N.stylize(Date.prototype.toString.call(W),"date");if(A(W))return s(W)}var ne,te="",Z=!1,X=["{","}"];return h(W)&&(Z=!0,X=["[","]"]),L(W)&&(te=" [Function"+(W.name?": "+W.name:"")+"]"),k(W)&&(te=" "+RegExp.prototype.toString.call(W)),x(W)&&(te=" "+Date.prototype.toUTCString.call(W)),A(W)&&(te=" "+s(W)),G.length!==0||Z&&W.length!=0?j<0?k(W)?N.stylize(RegExp.prototype.toString.call(W),"regexp"):N.stylize("[Object]","special"):(N.seen.push(W),ne=Z?function(Q,re,ie,oe,ue){for(var ce=[],ye=0,de=re.length;ye60?ie[0]+(re===""?"":re+` - `)+" "+Q.join(`, - `)+" "+ie[1]:ie[0]+re+" "+Q.join(", ")+" "+ie[1]}(ne,te,X)):X[0]+te+X[1]}function s(N){return"["+Error.prototype.toString.call(N)+"]"}function c(N,W,j,$,U,G){var q,H,ne;if((ne=Object.getOwnPropertyDescriptor(W,U)||{value:W[U]}).get?H=ne.set?N.stylize("[Getter/Setter]","special"):N.stylize("[Getter]","special"):ne.set&&(H=N.stylize("[Setter]","special")),z($,U)||(q="["+U+"]"),H||(N.seen.indexOf(ne.value)<0?(H=w(j)?o(N,ne.value,null):o(N,ne.value,j-1)).indexOf(` ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js -`)>-1&&(H=G?H.split(` -`).map(function(te){return" "+te}).join(` -`).slice(2):` -`+H.split(` -`).map(function(te){return" "+te}).join(` -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js -`)):H=N.stylize("[Circular]","special")),_(q)){if(G&&U.match(/^\d+$/))return H;(q=JSON.stringify(""+U)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(q=q.slice(1,-1),q=N.stylize(q,"name")):(q=q.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),q=N.stylize(q,"string"))}return q+": "+H}function c(N){return Array.isArray(N)}function m(N){return typeof N=="boolean"}function w(N){return N===null}function y(N){return typeof N=="number"}function C(N){return typeof N=="string"}function _(N){return N===void 0}function k(N){return E(N)&&b(N)==="[object RegExp]"}function E(N){return typeof N=="object"&&N!==null}function x(N){return E(N)&&b(N)==="[object Date]"}function A(N){return E(N)&&(b(N)==="[object Error]"||N instanceof Error)}function L(N){return typeof N=="function"}function b(N){return Object.prototype.toString.call(N)}function R(N){return N<10?"0"+N.toString(10):N.toString(10)}p.debuglog=function(N){if(N=N.toUpperCase(),!M[N])if(v.test(N)){var W=d.pid;M[N]=function(){var j=p.format.apply(p,arguments);console.error("%s %d: %s",N,W,j)}}else M[N]=function(){};return M[N]},p.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},p.types=t(4936),p.isArray=c,p.isBoolean=m,p.isNull=w,p.isNullOrUndefined=function(N){return N==null},p.isNumber=y,p.isString=C,p.isSymbol=function(N){return typeof N=="symbol"},p.isUndefined=_,p.isRegExp=k,p.types.isRegExp=k,p.isObject=E,p.isDate=x,p.types.isDate=x,p.isError=A,p.types.isNativeError=A,p.isFunction=L,p.isPrimitive=function(N){return N===null||typeof N=="boolean"||typeof N=="number"||typeof N=="string"||typeof N=="symbol"||N===void 0},p.isBuffer=t(45920);var I=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function O(){var N=new Date,W=[R(N.getHours()),R(N.getMinutes()),R(N.getSeconds())].join(":");return[N.getDate(),I[N.getMonth()],W].join(" ")}function z(N,W){return Object.prototype.hasOwnProperty.call(N,W)}p.log=function(){console.log("%s - %s",O(),p.format.apply(p,arguments))},p.inherits=t(42018),p._extend=function(N,W){if(!W||!E(W))return N;for(var j=Object.keys(W),$=j.length;$--;)N[j[$]]=W[j[$]];return N};var F=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;function B(N,W){if(!N){var j=new Error("Promise was rejected with a falsy value");j.reason=N,N=j}return W(N)}p.promisify=function(N){if(typeof N!="function")throw new TypeError('The "original" argument must be of type Function');if(F&&N[F]){var W;if(typeof(W=N[F])!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(W,F,{value:W,enumerable:!1,writable:!1,configurable:!0}),W}function W(){for(var j,$,U=new Promise(function(H,ne){j=H,$=ne}),G=[],q=0;q"u"?t.g:globalThis,a=g(),u=i("String.prototype.slice"),o={},s=Object.getPrototypeOf;f&&M&&s&&d(a,function(c){if(typeof l[c]=="function"){var m=new l[c];if(Symbol.toStringTag in m){var w=s(m),y=M(w,Symbol.toStringTag);if(!y){var C=s(w);y=M(C,Symbol.toStringTag)}o[c]=y.get}}});var h=t(9187);T.exports=function(c){return!!h(c)&&(f&&Symbol.toStringTag in c?function(m){var w=!1;return d(o,function(y,C){if(!w)try{var _=y.call(m);_===C&&(w=_)}catch{}}),w}(c):u(v(c),8,-1))}},3961:function(T,p,t){var d=t(63489),g=t(56131),i=d.instance();function M(s){this.local=this.regionalOptions[s||""]||this.regionalOptions[""]}M.prototype=new d.baseCalendar,g(M.prototype,{name:"Chinese",jdEpoch:17214255e-1,hasYearZero:!1,minMonth:0,firstMonth:0,minDay:1,regionalOptions:{"":{name:"Chinese",epochs:["BEC","EC"],monthNumbers:function(s,h){if(typeof s=="string"){var c=s.match(f);return c?c[0]:""}var m=this._validateYear(s),w=s.month(),y=""+this.toChineseMonth(m,w);return h&&y.length<2&&(y="0"+y),this.isIntercalaryMonth(m,w)&&(y+="i"),y},monthNames:function(s){if(typeof s=="string"){var h=s.match(l);return h?h[0]:""}var c=this._validateYear(s),m=s.month(),w=["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"][this.toChineseMonth(c,m)-1];return this.isIntercalaryMonth(c,m)&&(w="闰"+w),w},monthNamesShort:function(s){if(typeof s=="string"){var h=s.match(a);return h?h[0]:""}var c=this._validateYear(s),m=s.month(),w=["一","二","三","四","五","六","七","八","九","十","十一","十二"][this.toChineseMonth(c,m)-1];return this.isIntercalaryMonth(c,m)&&(w="闰"+w),w},parseMonth:function(s,h){s=this._validateYear(s);var c,m=parseInt(h);if(isNaN(m))h[0]==="闰"&&(c=!0,h=h.substring(1)),h[h.length-1]==="月"&&(h=h.substring(0,h.length-1)),m=1+["一","二","三","四","五","六","七","八","九","十","十一","十二"].indexOf(h);else{var w=h[h.length-1];c=w==="i"||w==="I"}return this.toMonthIndex(s,m,c)},dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:1,isRTL:!1}},_validateYear:function(s,h){if(s.year&&(s=s.year()),typeof s!="number"||s<1888||s>2111)throw h.replace(/\{0\}/,this.local.name);return s},toMonthIndex:function(s,h,c){var m=this.intercalaryMonth(s);if(c&&h!==m||h<1||h>12)throw d.local.invalidMonth.replace(/\{0\}/,this.local.name);return m?!c&&h<=m?h-1:h:h-1},toChineseMonth:function(s,h){s.year&&(h=(s=s.year()).month());var c=this.intercalaryMonth(s);if(h<0||h>(c?12:11))throw d.local.invalidMonth.replace(/\{0\}/,this.local.name);return c?h>13},isIntercalaryMonth:function(s,h){s.year&&(h=(s=s.year()).month());var c=this.intercalaryMonth(s);return!!c&&c===h},leapYear:function(s){return this.intercalaryMonth(s)!==0},weekOfYear:function(s,h,c){var m,w=this._validateYear(s,d.local.invalidyear),y=o[w-o[0]],C=y>>9&4095,_=y>>5&15,k=31&y;(m=i.newDate(C,_,k)).add(4-(m.dayOfWeek()||7),"d");var E=this.toJD(s,h,c)-m.toJD();return 1+Math.floor(E/7)},monthsInYear:function(s){return this.leapYear(s)?13:12},daysInMonth:function(s,h){s.year&&(h=s.month(),s=s.year()),s=this._validateYear(s);var c=u[s-u[0]];if(h>(c>>13?12:11))throw d.local.invalidMonth.replace(/\{0\}/,this.local.name);return c&1<<12-h?30:29},weekDay:function(s,h,c){return(this.dayOfWeek(s,h,c)||7)<6},toJD:function(s,h,c){var m=this._validate(s,y,c,d.local.invalidDate);s=this._validateYear(m.year()),h=m.month(),c=m.day();var w=this.isIntercalaryMonth(s,h),y=this.toChineseMonth(s,h),C=function(_,k,E,x,A){var L,b,R;if(typeof _=="object")b=_,L=k||{};else{var I;if(!(typeof _=="number"&&_>=1888&&_<=2111))throw new Error("Lunar year outside range 1888-2111");if(!(typeof k=="number"&&k>=1&&k<=12))throw new Error("Lunar month outside range 1 - 12");if(!(typeof E=="number"&&E>=1&&E<=30))throw new Error("Lunar day outside range 1 - 30");typeof x=="object"?(I=!1,L=x):(I=!!x,L={}),b={year:_,month:k,day:E,isIntercalary:I}}R=b.day-1;var O,z=u[b.year-u[0]],F=z>>13;O=F&&(b.month>F||b.isIntercalary)?b.month:b.month-1;for(var B=0;B>9&4095,(N>>5&15)-1,(31&N)+R);return L.year=W.getFullYear(),L.month=1+W.getMonth(),L.day=W.getDate(),L}(s,y,c,w);return i.toJD(C.year,C.month,C.day)},fromJD:function(s){var h=i.fromJD(s),c=function(w,y,C,_){var k,E;if(typeof w=="object")k=w,E=y||{};else{if(!(typeof w=="number"&&w>=1888&&w<=2111))throw new Error("Solar year outside range 1888-2111");if(!(typeof y=="number"&&y>=1&&y<=12))throw new Error("Solar month outside range 1 - 12");if(!(typeof C=="number"&&C>=1&&C<=31))throw new Error("Solar day outside range 1 - 31");k={year:w,month:y,day:C},E={}}var x=o[k.year-o[0]],A=k.year<<9|k.month<<5|k.day;E.year=A>=x?k.year:k.year-1,x=o[E.year-o[0]];var L,b=new Date(x>>9&4095,(x>>5&15)-1,31&x),R=new Date(k.year,k.month-1,k.day);L=Math.round((R-b)/864e5);var I,O=u[E.year-u[0]];for(I=0;I<13;I++){var z=O&1<<12-I?30:29;if(L>13;return!F||I=2&&a<=6},extraInfo:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);return{century:M[Math.floor((a.year()-1)/100)+1]||""}},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);return v=a.year()+(a.year()<0?1:0),f=a.month(),(l=a.day())+(f>1?16:0)+(f>2?32*(f-2):0)+400*(v-1)+this.jdEpoch-1},fromJD:function(v){v=Math.floor(v+.5)-Math.floor(this.jdEpoch)-1;var f=Math.floor(v/400)+1;v-=400*(f-1),v+=v>15?16:0;var l=Math.floor(v/32)+1,a=v-32*(l-1)+1;return this.newDate(f<=0?f-1:f,l,a)}});var M={20:"Fruitbat",21:"Anchovy"};d.calendars.discworld=i},37715:function(T,p,t){var d=t(63489),g=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,g(i.prototype,{name:"Ethiopian",jdEpoch:17242205e-1,daysPerMonth:[30,30,30,30,30,30,30,30,30,30,30,30,5],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Ethiopian",epochs:["BEE","EE"],monthNames:["Meskerem","Tikemet","Hidar","Tahesas","Tir","Yekatit","Megabit","Miazia","Genbot","Sene","Hamle","Nehase","Pagume"],monthNamesShort:["Mes","Tik","Hid","Tah","Tir","Yek","Meg","Mia","Gen","Sen","Ham","Neh","Pag"],dayNames:["Ehud","Segno","Maksegno","Irob","Hamus","Arb","Kidame"],dayNamesShort:["Ehu","Seg","Mak","Iro","Ham","Arb","Kid"],dayNamesMin:["Eh","Se","Ma","Ir","Ha","Ar","Ki"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(M){var v=this._validate(M,this.minMonth,this.minDay,d.local.invalidYear);return(M=v.year()+(v.year()<0?1:0))%4==3||M%4==-1},monthsInYear:function(M){return this._validate(M,this.minMonth,this.minDay,d.local.invalidYear||d.regionalOptions[""].invalidYear),13},weekOfYear:function(M,v,f){var l=this.newDate(M,v,f);return l.add(-l.dayOfWeek(),"d"),Math.floor((l.dayOfYear()-1)/7)+1},daysInMonth:function(M,v){var f=this._validate(M,v,this.minDay,d.local.invalidMonth);return this.daysPerMonth[f.month()-1]+(f.month()===13&&this.leapYear(f.year())?1:0)},weekDay:function(M,v,f){return(this.dayOfWeek(M,v,f)||7)<6},toJD:function(M,v,f){var l=this._validate(M,v,f,d.local.invalidDate);return(M=l.year())<0&&M++,l.day()+30*(l.month()-1)+365*(M-1)+Math.floor(M/4)+this.jdEpoch-1},fromJD:function(M){var v=Math.floor(M)+.5-this.jdEpoch,f=Math.floor((v-Math.floor((v+366)/1461))/365)+1;f<=0&&f--,v=Math.floor(M)+.5-this.newDate(f,1,1).toJD();var l=Math.floor(v/30)+1,a=v-30*(l-1)+1;return this.newDate(f,l,a)}}),d.calendars.ethiopian=i},99384:function(T,p,t){var d=t(63489),g=t(56131);function i(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}function M(v,f){return v-f*Math.floor(v/f)}i.prototype=new d.baseCalendar,g(i.prototype,{name:"Hebrew",jdEpoch:347995.5,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29,29],hasYearZero:!1,minMonth:1,firstMonth:7,minDay:1,regionalOptions:{"":{name:"Hebrew",epochs:["BAM","AM"],monthNames:["Nisan","Iyar","Sivan","Tammuz","Av","Elul","Tishrei","Cheshvan","Kislev","Tevet","Shevat","Adar","Adar II"],monthNamesShort:["Nis","Iya","Siv","Tam","Av","Elu","Tis","Che","Kis","Tev","She","Ada","Ad2"],dayNames:["Yom Rishon","Yom Sheni","Yom Shlishi","Yom Revi'i","Yom Chamishi","Yom Shishi","Yom Shabbat"],dayNamesShort:["Ris","She","Shl","Rev","Cha","Shi","Sha"],dayNamesMin:["Ri","She","Shl","Re","Ch","Shi","Sha"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(v){var f=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return this._leapYear(f.year())},_leapYear:function(v){return M(7*(v=v<0?v+1:v)+1,19)<7},monthsInYear:function(v){return this._validate(v,this.minMonth,this.minDay,d.local.invalidYear),this._leapYear(v.year?v.year():v)?13:12},weekOfYear:function(v,f,l){var a=this.newDate(v,f,l);return a.add(-a.dayOfWeek(),"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInYear:function(v){return v=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear).year(),this.toJD(v===-1?1:v+1,7,1)-this.toJD(v,7,1)},daysInMonth:function(v,f){return v.year&&(f=v.month(),v=v.year()),this._validate(v,f,this.minDay,d.local.invalidMonth),f===12&&this.leapYear(v)||f===8&&M(this.daysInYear(v),10)===5?30:f===9&&M(this.daysInYear(v),10)===3?29:this.daysPerMonth[f-1]},weekDay:function(v,f,l){return this.dayOfWeek(v,f,l)!==6},extraInfo:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);return{yearType:(this.leapYear(a)?"embolismic":"common")+" "+["deficient","regular","complete"][this.daysInYear(a)%10-3]}},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);v=a.year(),f=a.month(),l=a.day();var u=v<=0?v+1:v,o=this.jdEpoch+this._delay1(u)+this._delay2(u)+l+1;if(f<7){for(var s=7;s<=this.monthsInYear(v);s++)o+=this.daysInMonth(v,s);for(s=1;s=this.toJD(f===-1?1:f+1,7,1);)f++;for(var l=vthis.toJD(f,l,this.daysInMonth(f,l));)l++;var a=v-this.toJD(f,l,1)+1;return this.newDate(f,l,a)}}),d.calendars.hebrew=i},43805:function(T,p,t){var d=t(63489),g=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,g(i.prototype,{name:"Islamic",jdEpoch:19484395e-1,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Islamic",epochs:["BH","AH"],monthNames:["Muharram","Safar","Rabi' al-awwal","Rabi' al-thani","Jumada al-awwal","Jumada al-thani","Rajab","Sha'aban","Ramadan","Shawwal","Dhu al-Qi'dah","Dhu al-Hijjah"],monthNamesShort:["Muh","Saf","Rab1","Rab2","Jum1","Jum2","Raj","Sha'","Ram","Shaw","DhuQ","DhuH"],dayNames:["Yawm al-ahad","Yawm al-ithnayn","Yawm ath-thulaathaa'","Yawm al-arbi'aa'","Yawm al-khamīs","Yawm al-jum'a","Yawm as-sabt"],dayNamesShort:["Aha","Ith","Thu","Arb","Kha","Jum","Sab"],dayNamesMin:["Ah","It","Th","Ar","Kh","Ju","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!1}},leapYear:function(M){return(11*this._validate(M,this.minMonth,this.minDay,d.local.invalidYear).year()+14)%30<11},weekOfYear:function(M,v,f){var l=this.newDate(M,v,f);return l.add(-l.dayOfWeek(),"d"),Math.floor((l.dayOfYear()-1)/7)+1},daysInYear:function(M){return this.leapYear(M)?355:354},daysInMonth:function(M,v){var f=this._validate(M,v,this.minDay,d.local.invalidMonth);return this.daysPerMonth[f.month()-1]+(f.month()===12&&this.leapYear(f.year())?1:0)},weekDay:function(M,v,f){return this.dayOfWeek(M,v,f)!==5},toJD:function(M,v,f){var l=this._validate(M,v,f,d.local.invalidDate);return M=l.year(),v=l.month(),M=M<=0?M+1:M,(f=l.day())+Math.ceil(29.5*(v-1))+354*(M-1)+Math.floor((3+11*M)/30)+this.jdEpoch-1},fromJD:function(M){M=Math.floor(M)+.5;var v=Math.floor((30*(M-this.jdEpoch)+10646)/10631);v=v<=0?v-1:v;var f=Math.min(12,Math.ceil((M-29-this.toJD(v,1,1))/29.5)+1),l=M-this.toJD(v,f,1)+1;return this.newDate(v,f,l)}}),d.calendars.islamic=i},88874:function(T,p,t){var d=t(63489),g=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,g(i.prototype,{name:"Julian",jdEpoch:17214235e-1,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Julian",epochs:["BC","AD"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"mm/dd/yyyy",firstDay:0,isRTL:!1}},leapYear:function(M){var v=this._validate(M,this.minMonth,this.minDay,d.local.invalidYear);return(M=v.year()<0?v.year()+1:v.year())%4==0},weekOfYear:function(M,v,f){var l=this.newDate(M,v,f);return l.add(4-(l.dayOfWeek()||7),"d"),Math.floor((l.dayOfYear()-1)/7)+1},daysInMonth:function(M,v){var f=this._validate(M,v,this.minDay,d.local.invalidMonth);return this.daysPerMonth[f.month()-1]+(f.month()===2&&this.leapYear(f.year())?1:0)},weekDay:function(M,v,f){return(this.dayOfWeek(M,v,f)||7)<6},toJD:function(M,v,f){var l=this._validate(M,v,f,d.local.invalidDate);return M=l.year(),v=l.month(),f=l.day(),M<0&&M++,v<=2&&(M--,v+=12),Math.floor(365.25*(M+4716))+Math.floor(30.6001*(v+1))+f-1524.5},fromJD:function(M){var v=Math.floor(M+.5)+1524,f=Math.floor((v-122.1)/365.25),l=Math.floor(365.25*f),a=Math.floor((v-l)/30.6001),u=a-Math.floor(a<14?1:13),o=f-Math.floor(u>2?4716:4715),s=v-l-Math.floor(30.6001*a);return o<=0&&o--,this.newDate(o,u,s)}}),d.calendars.julian=i},83290:function(T,p,t){var d=t(63489),g=t(56131);function i(f){this.local=this.regionalOptions[f||""]||this.regionalOptions[""]}function M(f,l){return f-l*Math.floor(f/l)}function v(f,l){return M(f-1,l)+1}i.prototype=new d.baseCalendar,g(i.prototype,{name:"Mayan",jdEpoch:584282.5,hasYearZero:!0,minMonth:0,firstMonth:0,minDay:0,regionalOptions:{"":{name:"Mayan",epochs:["",""],monthNames:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"],monthNamesShort:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"],dayNames:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],dayNamesShort:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],dayNamesMin:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],digits:null,dateFormat:"YYYY.m.d",firstDay:0,isRTL:!1,haabMonths:["Pop","Uo","Zip","Zotz","Tzec","Xul","Yaxkin","Mol","Chen","Yax","Zac","Ceh","Mac","Kankin","Muan","Pax","Kayab","Cumku","Uayeb"],tzolkinMonths:["Imix","Ik","Akbal","Kan","Chicchan","Cimi","Manik","Lamat","Muluc","Oc","Chuen","Eb","Ben","Ix","Men","Cib","Caban","Etznab","Cauac","Ahau"]}},leapYear:function(f){return this._validate(f,this.minMonth,this.minDay,d.local.invalidYear),!1},formatYear:function(f){f=this._validate(f,this.minMonth,this.minDay,d.local.invalidYear).year();var l=Math.floor(f/400);return f%=400,f+=f<0?400:0,l+"."+Math.floor(f/20)+"."+f%20},forYear:function(f){if((f=f.split(".")).length<3)throw"Invalid Mayan year";for(var l=0,a=0;a19||a>0&&u<0)throw"Invalid Mayan year";l=20*l+u}return l},monthsInYear:function(f){return this._validate(f,this.minMonth,this.minDay,d.local.invalidYear),18},weekOfYear:function(f,l,a){return this._validate(f,l,a,d.local.invalidDate),0},daysInYear:function(f){return this._validate(f,this.minMonth,this.minDay,d.local.invalidYear),360},daysInMonth:function(f,l){return this._validate(f,l,this.minDay,d.local.invalidMonth),20},daysInWeek:function(){return 5},dayOfWeek:function(f,l,a){return this._validate(f,l,a,d.local.invalidDate).day()},weekDay:function(f,l,a){return this._validate(f,l,a,d.local.invalidDate),!0},extraInfo:function(f,l,a){var u=this._validate(f,l,a,d.local.invalidDate).toJD(),o=this._toHaab(u),s=this._toTzolkin(u);return{haabMonthName:this.local.haabMonths[o[0]-1],haabMonth:o[0],haabDay:o[1],tzolkinDayName:this.local.tzolkinMonths[s[0]-1],tzolkinDay:s[0],tzolkinTrecena:s[1]}},_toHaab:function(f){var l=M(8+(f-=this.jdEpoch)+340,365);return[Math.floor(l/20)+1,M(l,20)]},_toTzolkin:function(f){return[v(20+(f-=this.jdEpoch),20),v(f+4,13)]},toJD:function(f,l,a){var u=this._validate(f,l,a,d.local.invalidDate);return u.day()+20*u.month()+360*u.year()+this.jdEpoch},fromJD:function(f){f=Math.floor(f)+.5-this.jdEpoch;var l=Math.floor(f/360);f%=360,f+=f<0?360:0;var a=Math.floor(f/20),u=f%20;return this.newDate(l,a,u)}}),d.calendars.mayan=i},29108:function(T,p,t){var d=t(63489),g=t(56131);function i(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar;var M=d.instance("gregorian");g(i.prototype,{name:"Nanakshahi",jdEpoch:22576735e-1,daysPerMonth:[31,31,31,31,31,30,30,30,30,30,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Nanakshahi",epochs:["BN","AN"],monthNames:["Chet","Vaisakh","Jeth","Harh","Sawan","Bhadon","Assu","Katak","Maghar","Poh","Magh","Phagun"],monthNamesShort:["Che","Vai","Jet","Har","Saw","Bha","Ass","Kat","Mgr","Poh","Mgh","Pha"],dayNames:["Somvaar","Mangalvar","Budhvaar","Veervaar","Shukarvaar","Sanicharvaar","Etvaar"],dayNamesShort:["Som","Mangal","Budh","Veer","Shukar","Sanichar","Et"],dayNamesMin:["So","Ma","Bu","Ve","Sh","Sa","Et"],digits:null,dateFormat:"dd-mm-yyyy",firstDay:0,isRTL:!1}},leapYear:function(v){var f=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear||d.regionalOptions[""].invalidYear);return M.leapYear(f.year()+(f.year()<1?1:0)+1469)},weekOfYear:function(v,f,l){var a=this.newDate(v,f,l);return a.add(1-(a.dayOfWeek()||7),"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInMonth:function(v,f){var l=this._validate(v,f,this.minDay,d.local.invalidMonth);return this.daysPerMonth[l.month()-1]+(l.month()===12&&this.leapYear(l.year())?1:0)},weekDay:function(v,f,l){return(this.dayOfWeek(v,f,l)||7)<6},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidMonth);(v=a.year())<0&&v++;for(var u=a.day(),o=1;o=this.toJD(f+1,1,1);)f++;for(var l=v-Math.floor(this.toJD(f,1,1)+.5)+1,a=1;l>this.daysInMonth(f,a);)l-=this.daysInMonth(f,a),a++;return this.newDate(f,a,l)}}),d.calendars.nanakshahi=i},55422:function(T,p,t){var d=t(63489),g=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,g(i.prototype,{name:"Nepali",jdEpoch:17007095e-1,daysPerMonth:[31,31,32,32,31,30,30,29,30,29,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,daysPerYear:365,regionalOptions:{"":{name:"Nepali",epochs:["BBS","ABS"],monthNames:["Baisakh","Jestha","Ashadh","Shrawan","Bhadra","Ashwin","Kartik","Mangsir","Paush","Mangh","Falgun","Chaitra"],monthNamesShort:["Bai","Je","As","Shra","Bha","Ash","Kar","Mang","Pau","Ma","Fal","Chai"],dayNames:["Aaitabaar","Sombaar","Manglbaar","Budhabaar","Bihibaar","Shukrabaar","Shanibaar"],dayNamesShort:["Aaita","Som","Mangl","Budha","Bihi","Shukra","Shani"],dayNamesMin:["Aai","So","Man","Bu","Bi","Shu","Sha"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:1,isRTL:!1}},leapYear:function(M){return this.daysInYear(M)!==this.daysPerYear},weekOfYear:function(M,v,f){var l=this.newDate(M,v,f);return l.add(-l.dayOfWeek(),"d"),Math.floor((l.dayOfYear()-1)/7)+1},daysInYear:function(M){if(M=this._validate(M,this.minMonth,this.minDay,d.local.invalidYear).year(),this.NEPALI_CALENDAR_DATA[M]===void 0)return this.daysPerYear;for(var v=0,f=this.minMonth;f<=12;f++)v+=this.NEPALI_CALENDAR_DATA[M][f];return v},daysInMonth:function(M,v){return M.year&&(v=M.month(),M=M.year()),this._validate(M,v,this.minDay,d.local.invalidMonth),this.NEPALI_CALENDAR_DATA[M]===void 0?this.daysPerMonth[v-1]:this.NEPALI_CALENDAR_DATA[M][v]},weekDay:function(M,v,f){return this.dayOfWeek(M,v,f)!==6},toJD:function(M,v,f){var l=this._validate(M,v,f,d.local.invalidDate);M=l.year(),v=l.month(),f=l.day();var a=d.instance(),u=0,o=v,s=M;this._createMissingCalendarData(M);var h=M-(o>9||o===9&&f>=this.NEPALI_CALENDAR_DATA[s][0]?56:57);for(v!==9&&(u=f,o--);o!==9;)o<=0&&(o=12,s--),u+=this.NEPALI_CALENDAR_DATA[s][o],o--;return v===9?(u+=f-this.NEPALI_CALENDAR_DATA[s][0])<0&&(u+=a.daysInYear(h)):u+=this.NEPALI_CALENDAR_DATA[s][9]-this.NEPALI_CALENDAR_DATA[s][0],a.newDate(h,1,1).add(u,"d").toJD()},fromJD:function(M){var v=d.instance().fromJD(M),f=v.year(),l=v.dayOfYear(),a=f+56;this._createMissingCalendarData(a);for(var u=9,o=this.NEPALI_CALENDAR_DATA[a][0],s=this.NEPALI_CALENDAR_DATA[a][u]-o+1;l>s;)++u>12&&(u=1,a++),s+=this.NEPALI_CALENDAR_DATA[a][u];var h=this.NEPALI_CALENDAR_DATA[a][u]-(s-l);return this.newDate(a,u,h)},_createMissingCalendarData:function(M){var v=this.daysPerMonth.slice(0);v.unshift(17);for(var f=M-1;f0?474:473))%2820+474+38)%2816<682},weekOfYear:function(v,f,l){var a=this.newDate(v,f,l);return a.add(-(a.dayOfWeek()+1)%7,"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInMonth:function(v,f){var l=this._validate(v,f,this.minDay,d.local.invalidMonth);return this.daysPerMonth[l.month()-1]+(l.month()===12&&this.leapYear(l.year())?1:0)},weekDay:function(v,f,l){return this.dayOfWeek(v,f,l)!==5},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);v=a.year(),f=a.month(),l=a.day();var u=v-(v>=0?474:473),o=474+M(u,2820);return l+(f<=7?31*(f-1):30*(f-1)+6)+Math.floor((682*o-110)/2816)+365*(o-1)+1029983*Math.floor(u/2820)+this.jdEpoch-1},fromJD:function(v){var f=(v=Math.floor(v)+.5)-this.toJD(475,1,1),l=Math.floor(f/1029983),a=M(f,1029983),u=2820;if(a!==1029982){var o=Math.floor(a/366),s=M(a,366);u=Math.floor((2134*o+2816*s+2815)/1028522)+o+1}var h=u+2820*l+474;h=h<=0?h-1:h;var c=v-this.toJD(h,1,1)+1,m=c<=186?Math.ceil(c/31):Math.ceil((c-6)/30),w=v-this.toJD(h,m,1)+1;return this.newDate(h,m,w)}}),d.calendars.persian=i,d.calendars.jalali=i},31320:function(T,p,t){var d=t(63489),g=t(56131),i=d.instance();function M(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}M.prototype=new d.baseCalendar,g(M.prototype,{name:"Taiwan",jdEpoch:24194025e-1,yearsOffset:1911,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Taiwan",epochs:["BROC","ROC"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:1,isRTL:!1}},leapYear:function(v){var f=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return v=this._t2gYear(f.year()),i.leapYear(v)},weekOfYear:function(v,f,l){var a=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return v=this._t2gYear(a.year()),i.weekOfYear(v,a.month(),a.day())},daysInMonth:function(v,f){var l=this._validate(v,f,this.minDay,d.local.invalidMonth);return this.daysPerMonth[l.month()-1]+(l.month()===2&&this.leapYear(l.year())?1:0)},weekDay:function(v,f,l){return(this.dayOfWeek(v,f,l)||7)<6},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);return v=this._t2gYear(a.year()),i.toJD(v,a.month(),a.day())},fromJD:function(v){var f=i.fromJD(v),l=this._g2tYear(f.year());return this.newDate(l,f.month(),f.day())},_t2gYear:function(v){return v+this.yearsOffset+(v>=-this.yearsOffset&&v<=-1?1:0)},_g2tYear:function(v){return v-this.yearsOffset-(v>=1&&v<=this.yearsOffset?1:0)}}),d.calendars.taiwan=M},51367:function(T,p,t){var d=t(63489),g=t(56131),i=d.instance();function M(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}M.prototype=new d.baseCalendar,g(M.prototype,{name:"Thai",jdEpoch:15230985e-1,yearsOffset:543,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Thai",epochs:["BBE","BE"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(v){var f=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return v=this._t2gYear(f.year()),i.leapYear(v)},weekOfYear:function(v,f,l){var a=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return v=this._t2gYear(a.year()),i.weekOfYear(v,a.month(),a.day())},daysInMonth:function(v,f){var l=this._validate(v,f,this.minDay,d.local.invalidMonth);return this.daysPerMonth[l.month()-1]+(l.month()===2&&this.leapYear(l.year())?1:0)},weekDay:function(v,f,l){return(this.dayOfWeek(v,f,l)||7)<6},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);return v=this._t2gYear(a.year()),i.toJD(v,a.month(),a.day())},fromJD:function(v){var f=i.fromJD(v),l=this._g2tYear(f.year());return this.newDate(l,f.month(),f.day())},_t2gYear:function(v){return v-this.yearsOffset-(v>=1&&v<=this.yearsOffset?1:0)},_g2tYear:function(v){return v+this.yearsOffset+(v>=-this.yearsOffset&&v<=-1?1:0)}}),d.calendars.thai=M},21457:function(T,p,t){var d=t(63489),g=t(56131);function i(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,g(i.prototype,{name:"UmmAlQura",hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Umm al-Qura",epochs:["BH","AH"],monthNames:["Al-Muharram","Safar","Rabi' al-awwal","Rabi' Al-Thani","Jumada Al-Awwal","Jumada Al-Thani","Rajab","Sha'aban","Ramadan","Shawwal","Dhu al-Qi'dah","Dhu al-Hijjah"],monthNamesShort:["Muh","Saf","Rab1","Rab2","Jum1","Jum2","Raj","Sha'","Ram","Shaw","DhuQ","DhuH"],dayNames:["Yawm al-Ahad","Yawm al-Ithnain","Yawm al-Thalāthā’","Yawm al-Arba‘ā’","Yawm al-Khamīs","Yawm al-Jum‘a","Yawm al-Sabt"],dayNamesMin:["Ah","Ith","Th","Ar","Kh","Ju","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!0}},leapYear:function(v){var f=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return this.daysInYear(f.year())===355},weekOfYear:function(v,f,l){var a=this.newDate(v,f,l);return a.add(-a.dayOfWeek(),"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInYear:function(v){for(var f=0,l=1;l<=12;l++)f+=this.daysInMonth(v,l);return f},daysInMonth:function(v,f){for(var l=this._validate(v,f,this.minDay,d.local.invalidMonth).toJD()-24e5+.5,a=0,u=0;ul)return M[a]-M[a-1];a++}return 30},weekDay:function(v,f,l){return this.dayOfWeek(v,f,l)!==5},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate),u=12*(a.year()-1)+a.month()-15292;return a.day()+M[u-1]-1+24e5-.5},fromJD:function(v){for(var f=v-24e5+.5,l=0,a=0;af);a++)l++;var u=l+15292,o=Math.floor((u-1)/12),s=o+1,h=u-12*o,c=f-M[l-1]+1;return this.newDate(s,h,c)},isValid:function(v,f,l){var a=d.baseCalendar.prototype.isValid.apply(this,arguments);return a&&(a=(v=v.year!=null?v.year:v)>=1276&&v<=1500),a},_validate:function(v,f,l,a){var u=d.baseCalendar.prototype._validate.apply(this,arguments);if(u.year<1276||u.year>1500)throw a.replace(/\{0\}/,this.local.name);return u}}),d.calendars.ummalqura=i;var M=[20,50,79,109,138,168,197,227,256,286,315,345,374,404,433,463,492,522,551,581,611,641,670,700,729,759,788,818,847,877,906,936,965,995,1024,1054,1083,1113,1142,1172,1201,1231,1260,1290,1320,1350,1379,1409,1438,1468,1497,1527,1556,1586,1615,1645,1674,1704,1733,1763,1792,1822,1851,1881,1910,1940,1969,1999,2028,2058,2087,2117,2146,2176,2205,2235,2264,2294,2323,2353,2383,2413,2442,2472,2501,2531,2560,2590,2619,2649,2678,2708,2737,2767,2796,2826,2855,2885,2914,2944,2973,3003,3032,3062,3091,3121,3150,3180,3209,3239,3268,3298,3327,3357,3386,3416,3446,3476,3505,3535,3564,3594,3623,3653,3682,3712,3741,3771,3800,3830,3859,3889,3918,3948,3977,4007,4036,4066,4095,4125,4155,4185,4214,4244,4273,4303,4332,4362,4391,4421,4450,4480,4509,4539,4568,4598,4627,4657,4686,4716,4745,4775,4804,4834,4863,4893,4922,4952,4981,5011,5040,5070,5099,5129,5158,5188,5218,5248,5277,5307,5336,5366,5395,5425,5454,5484,5513,5543,5572,5602,5631,5661,5690,5720,5749,5779,5808,5838,5867,5897,5926,5956,5985,6015,6044,6074,6103,6133,6162,6192,6221,6251,6281,6311,6340,6370,6399,6429,6458,6488,6517,6547,6576,6606,6635,6665,6694,6724,6753,6783,6812,6842,6871,6901,6930,6960,6989,7019,7048,7078,7107,7137,7166,7196,7225,7255,7284,7314,7344,7374,7403,7433,7462,7492,7521,7551,7580,7610,7639,7669,7698,7728,7757,7787,7816,7846,7875,7905,7934,7964,7993,8023,8053,8083,8112,8142,8171,8201,8230,8260,8289,8319,8348,8378,8407,8437,8466,8496,8525,8555,8584,8614,8643,8673,8702,8732,8761,8791,8821,8850,8880,8909,8938,8968,8997,9027,9056,9086,9115,9145,9175,9205,9234,9264,9293,9322,9352,9381,9410,9440,9470,9499,9529,9559,9589,9618,9648,9677,9706,9736,9765,9794,9824,9853,9883,9913,9943,9972,10002,10032,10061,10090,10120,10149,10178,10208,10237,10267,10297,10326,10356,10386,10415,10445,10474,10504,10533,10562,10592,10621,10651,10680,10710,10740,10770,10799,10829,10858,10888,10917,10947,10976,11005,11035,11064,11094,11124,11153,11183,11213,11242,11272,11301,11331,11360,11389,11419,11448,11478,11507,11537,11567,11596,11626,11655,11685,11715,11744,11774,11803,11832,11862,11891,11921,11950,11980,12010,12039,12069,12099,12128,12158,12187,12216,12246,12275,12304,12334,12364,12393,12423,12453,12483,12512,12542,12571,12600,12630,12659,12688,12718,12747,12777,12807,12837,12866,12896,12926,12955,12984,13014,13043,13072,13102,13131,13161,13191,13220,13250,13280,13310,13339,13368,13398,13427,13456,13486,13515,13545,13574,13604,13634,13664,13693,13723,13752,13782,13811,13840,13870,13899,13929,13958,13988,14018,14047,14077,14107,14136,14166,14195,14224,14254,14283,14313,14342,14372,14401,14431,14461,14490,14520,14550,14579,14609,14638,14667,14697,14726,14756,14785,14815,14844,14874,14904,14933,14963,14993,15021,15051,15081,15110,15140,15169,15199,15228,15258,15287,15317,15347,15377,15406,15436,15465,15494,15524,15553,15582,15612,15641,15671,15701,15731,15760,15790,15820,15849,15878,15908,15937,15966,15996,16025,16055,16085,16114,16144,16174,16204,16233,16262,16292,16321,16350,16380,16409,16439,16468,16498,16528,16558,16587,16617,16646,16676,16705,16734,16764,16793,16823,16852,16882,16912,16941,16971,17001,17030,17060,17089,17118,17148,17177,17207,17236,17266,17295,17325,17355,17384,17414,17444,17473,17502,17532,17561,17591,17620,17650,17679,17709,17738,17768,17798,17827,17857,17886,17916,17945,17975,18004,18034,18063,18093,18122,18152,18181,18211,18241,18270,18300,18330,18359,18388,18418,18447,18476,18506,18535,18565,18595,18625,18654,18684,18714,18743,18772,18802,18831,18860,18890,18919,18949,18979,19008,19038,19068,19098,19127,19156,19186,19215,19244,19274,19303,19333,19362,19392,19422,19452,19481,19511,19540,19570,19599,19628,19658,19687,19717,19746,19776,19806,19836,19865,19895,19924,19954,19983,20012,20042,20071,20101,20130,20160,20190,20219,20249,20279,20308,20338,20367,20396,20426,20455,20485,20514,20544,20573,20603,20633,20662,20692,20721,20751,20780,20810,20839,20869,20898,20928,20957,20987,21016,21046,21076,21105,21135,21164,21194,21223,21253,21282,21312,21341,21371,21400,21430,21459,21489,21519,21548,21578,21607,21637,21666,21696,21725,21754,21784,21813,21843,21873,21902,21932,21962,21991,22021,22050,22080,22109,22138,22168,22197,22227,22256,22286,22316,22346,22375,22405,22434,22464,22493,22522,22552,22581,22611,22640,22670,22700,22730,22759,22789,22818,22848,22877,22906,22936,22965,22994,23024,23054,23083,23113,23143,23173,23202,23232,23261,23290,23320,23349,23379,23408,23438,23467,23497,23527,23556,23586,23616,23645,23674,23704,23733,23763,23792,23822,23851,23881,23910,23940,23970,23999,24029,24058,24088,24117,24147,24176,24206,24235,24265,24294,24324,24353,24383,24413,24442,24472,24501,24531,24560,24590,24619,24648,24678,24707,24737,24767,24796,24826,24856,24885,24915,24944,24974,25003,25032,25062,25091,25121,25150,25180,25210,25240,25269,25299,25328,25358,25387,25416,25446,25475,25505,25534,25564,25594,25624,25653,25683,25712,25742,25771,25800,25830,25859,25888,25918,25948,25977,26007,26037,26067,26096,26126,26155,26184,26214,26243,26272,26302,26332,26361,26391,26421,26451,26480,26510,26539,26568,26598,26627,26656,26686,26715,26745,26775,26805,26834,26864,26893,26923,26952,26982,27011,27041,27070,27099,27129,27159,27188,27218,27248,27277,27307,27336,27366,27395,27425,27454,27484,27513,27542,27572,27602,27631,27661,27691,27720,27750,27779,27809,27838,27868,27897,27926,27956,27985,28015,28045,28074,28104,28134,28163,28193,28222,28252,28281,28310,28340,28369,28399,28428,28458,28488,28517,28547,28577,28607,28636,28665,28695,28724,28754,28783,28813,28843,28872,28901,28931,28960,28990,29019,29049,29078,29108,29137,29167,29196,29226,29255,29285,29315,29345,29375,29404,29434,29463,29492,29522,29551,29580,29610,29640,29669,29699,29729,29759,29788,29818,29847,29876,29906,29935,29964,29994,30023,30053,30082,30112,30141,30171,30200,30230,30259,30289,30318,30348,30378,30408,30437,30467,30496,30526,30555,30585,30614,30644,30673,30703,30732,30762,30791,30821,30850,30880,30909,30939,30968,30998,31027,31057,31086,31116,31145,31175,31204,31234,31263,31293,31322,31352,31381,31411,31441,31471,31500,31530,31559,31589,31618,31648,31676,31706,31736,31766,31795,31825,31854,31884,31913,31943,31972,32002,32031,32061,32090,32120,32150,32180,32209,32239,32268,32298,32327,32357,32386,32416,32445,32475,32504,32534,32563,32593,32622,32652,32681,32711,32740,32770,32799,32829,32858,32888,32917,32947,32976,33006,33035,33065,33094,33124,33153,33183,33213,33243,33272,33302,33331,33361,33390,33420,33450,33479,33509,33539,33568,33598,33627,33657,33686,33716,33745,33775,33804,33834,33863,33893,33922,33952,33981,34011,34040,34069,34099,34128,34158,34187,34217,34247,34277,34306,34336,34365,34395,34424,34454,34483,34512,34542,34571,34601,34631,34660,34690,34719,34749,34778,34808,34837,34867,34896,34926,34955,34985,35015,35044,35074,35103,35133,35162,35192,35222,35251,35280,35310,35340,35370,35399,35429,35458,35488,35517,35547,35576,35605,35635,35665,35694,35723,35753,35782,35811,35841,35871,35901,35930,35960,35989,36019,36048,36078,36107,36136,36166,36195,36225,36254,36284,36314,36343,36373,36403,36433,36462,36492,36521,36551,36580,36610,36639,36669,36698,36728,36757,36786,36816,36845,36875,36904,36934,36963,36993,37022,37052,37081,37111,37141,37170,37200,37229,37259,37288,37318,37347,37377,37406,37436,37465,37495,37524,37554,37584,37613,37643,37672,37701,37731,37760,37790,37819,37849,37878,37908,37938,37967,37997,38027,38056,38085,38115,38144,38174,38203,38233,38262,38292,38322,38351,38381,38410,38440,38469,38499,38528,38558,38587,38617,38646,38676,38705,38735,38764,38794,38823,38853,38882,38912,38941,38971,39001,39030,39059,39089,39118,39148,39178,39208,39237,39267,39297,39326,39355,39385,39414,39444,39473,39503,39532,39562,39592,39621,39650,39680,39709,39739,39768,39798,39827,39857,39886,39916,39946,39975,40005,40035,40064,40094,40123,40153,40182,40212,40241,40271,40300,40330,40359,40389,40418,40448,40477,40507,40536,40566,40595,40625,40655,40685,40714,40744,40773,40803,40832,40862,40892,40921,40951,40980,41009,41039,41068,41098,41127,41157,41186,41216,41245,41275,41304,41334,41364,41393,41422,41452,41481,41511,41540,41570,41599,41629,41658,41688,41718,41748,41777,41807,41836,41865,41894,41924,41953,41983,42012,42042,42072,42102,42131,42161,42190,42220,42249,42279,42308,42337,42367,42397,42426,42456,42485,42515,42545,42574,42604,42633,42662,42692,42721,42751,42780,42810,42839,42869,42899,42929,42958,42988,43017,43046,43076,43105,43135,43164,43194,43223,43253,43283,43312,43342,43371,43401,43430,43460,43489,43519,43548,43578,43607,43637,43666,43696,43726,43755,43785,43814,43844,43873,43903,43932,43962,43991,44021,44050,44080,44109,44139,44169,44198,44228,44258,44287,44317,44346,44375,44405,44434,44464,44493,44523,44553,44582,44612,44641,44671,44700,44730,44759,44788,44818,44847,44877,44906,44936,44966,44996,45025,45055,45084,45114,45143,45172,45202,45231,45261,45290,45320,45350,45380,45409,45439,45468,45498,45527,45556,45586,45615,45644,45674,45704,45733,45763,45793,45823,45852,45882,45911,45940,45970,45999,46028,46058,46088,46117,46147,46177,46206,46236,46265,46295,46324,46354,46383,46413,46442,46472,46501,46531,46560,46590,46620,46649,46679,46708,46738,46767,46797,46826,46856,46885,46915,46944,46974,47003,47033,47063,47092,47122,47151,47181,47210,47240,47269,47298,47328,47357,47387,47417,47446,47476,47506,47535,47565,47594,47624,47653,47682,47712,47741,47771,47800,47830,47860,47890,47919,47949,47978,48008,48037,48066,48096,48125,48155,48184,48214,48244,48273,48303,48333,48362,48392,48421,48450,48480,48509,48538,48568,48598,48627,48657,48687,48717,48746,48776,48805,48834,48864,48893,48922,48952,48982,49011,49041,49071,49100,49130,49160,49189,49218,49248,49277,49306,49336,49365,49395,49425,49455,49484,49514,49543,49573,49602,49632,49661,49690,49720,49749,49779,49809,49838,49868,49898,49927,49957,49986,50016,50045,50075,50104,50133,50163,50192,50222,50252,50281,50311,50340,50370,50400,50429,50459,50488,50518,50547,50576,50606,50635,50665,50694,50724,50754,50784,50813,50843,50872,50902,50931,50960,50990,51019,51049,51078,51108,51138,51167,51197,51227,51256,51286,51315,51345,51374,51403,51433,51462,51492,51522,51552,51582,51611,51641,51670,51699,51729,51758,51787,51816,51846,51876,51906,51936,51965,51995,52025,52054,52083,52113,52142,52171,52200,52230,52260,52290,52319,52349,52379,52408,52438,52467,52497,52526,52555,52585,52614,52644,52673,52703,52733,52762,52792,52822,52851,52881,52910,52939,52969,52998,53028,53057,53087,53116,53146,53176,53205,53235,53264,53294,53324,53353,53383,53412,53441,53471,53500,53530,53559,53589,53619,53648,53678,53708,53737,53767,53796,53825,53855,53884,53913,53943,53973,54003,54032,54062,54092,54121,54151,54180,54209,54239,54268,54297,54327,54357,54387,54416,54446,54476,54505,54535,54564,54593,54623,54652,54681,54711,54741,54770,54800,54830,54859,54889,54919,54948,54977,55007,55036,55066,55095,55125,55154,55184,55213,55243,55273,55302,55332,55361,55391,55420,55450,55479,55508,55538,55567,55597,55627,55657,55686,55716,55745,55775,55804,55834,55863,55892,55922,55951,55981,56011,56040,56070,56100,56129,56159,56188,56218,56247,56276,56306,56335,56365,56394,56424,56454,56483,56513,56543,56572,56601,56631,56660,56690,56719,56749,56778,56808,56837,56867,56897,56926,56956,56985,57015,57044,57074,57103,57133,57162,57192,57221,57251,57280,57310,57340,57369,57399,57429,57458,57487,57517,57546,57576,57605,57634,57664,57694,57723,57753,57783,57813,57842,57871,57901,57930,57959,57989,58018,58048,58077,58107,58137,58167,58196,58226,58255,58285,58314,58343,58373,58402,58432,58461,58491,58521,58551,58580,58610,58639,58669,58698,58727,58757,58786,58816,58845,58875,58905,58934,58964,58994,59023,59053,59082,59111,59141,59170,59200,59229,59259,59288,59318,59348,59377,59407,59436,59466,59495,59525,59554,59584,59613,59643,59672,59702,59731,59761,59791,59820,59850,59879,59909,59939,59968,59997,60027,60056,60086,60115,60145,60174,60204,60234,60264,60293,60323,60352,60381,60411,60440,60469,60499,60528,60558,60588,60618,60648,60677,60707,60736,60765,60795,60824,60853,60883,60912,60942,60972,61002,61031,61061,61090,61120,61149,61179,61208,61237,61267,61296,61326,61356,61385,61415,61445,61474,61504,61533,61563,61592,61621,61651,61680,61710,61739,61769,61799,61828,61858,61888,61917,61947,61976,62006,62035,62064,62094,62123,62153,62182,62212,62242,62271,62301,62331,62360,62390,62419,62448,62478,62507,62537,62566,62596,62625,62655,62685,62715,62744,62774,62803,62832,62862,62891,62921,62950,62980,63009,63039,63069,63099,63128,63157,63187,63216,63246,63275,63305,63334,63363,63393,63423,63453,63482,63512,63541,63571,63600,63630,63659,63689,63718,63747,63777,63807,63836,63866,63895,63925,63955,63984,64014,64043,64073,64102,64131,64161,64190,64220,64249,64279,64309,64339,64368,64398,64427,64457,64486,64515,64545,64574,64603,64633,64663,64692,64722,64752,64782,64811,64841,64870,64899,64929,64958,64987,65017,65047,65076,65106,65136,65166,65195,65225,65254,65283,65313,65342,65371,65401,65431,65460,65490,65520,65549,65579,65608,65638,65667,65697,65726,65755,65785,65815,65844,65874,65903,65933,65963,65992,66022,66051,66081,66110,66140,66169,66199,66228,66258,66287,66317,66346,66376,66405,66435,66465,66494,66524,66553,66583,66612,66641,66671,66700,66730,66760,66789,66819,66849,66878,66908,66937,66967,66996,67025,67055,67084,67114,67143,67173,67203,67233,67262,67292,67321,67351,67380,67409,67439,67468,67497,67527,67557,67587,67617,67646,67676,67705,67735,67764,67793,67823,67852,67882,67911,67941,67971,68e3,68030,68060,68089,68119,68148,68177,68207,68236,68266,68295,68325,68354,68384,68414,68443,68473,68502,68532,68561,68591,68620,68650,68679,68708,68738,68768,68797,68827,68857,68886,68916,68946,68975,69004,69034,69063,69092,69122,69152,69181,69211,69240,69270,69300,69330,69359,69388,69418,69447,69476,69506,69535,69565,69595,69624,69654,69684,69713,69743,69772,69802,69831,69861,69890,69919,69949,69978,70008,70038,70067,70097,70126,70156,70186,70215,70245,70274,70303,70333,70362,70392,70421,70451,70481,70510,70540,70570,70599,70629,70658,70687,70717,70746,70776,70805,70835,70864,70894,70924,70954,70983,71013,71042,71071,71101,71130,71159,71189,71218,71248,71278,71308,71337,71367,71397,71426,71455,71485,71514,71543,71573,71602,71632,71662,71691,71721,71751,71781,71810,71839,71869,71898,71927,71957,71986,72016,72046,72075,72105,72135,72164,72194,72223,72253,72282,72311,72341,72370,72400,72429,72459,72489,72518,72548,72577,72607,72637,72666,72695,72725,72754,72784,72813,72843,72872,72902,72931,72961,72991,73020,73050,73080,73109,73139,73168,73197,73227,73256,73286,73315,73345,73375,73404,73434,73464,73493,73523,73552,73581,73611,73640,73669,73699,73729,73758,73788,73818,73848,73877,73907,73936,73965,73995,74024,74053,74083,74113,74142,74172,74202,74231,74261,74291,74320,74349,74379,74408,74437,74467,74497,74526,74556,74586,74615,74645,74675,74704,74733,74763,74792,74822,74851,74881,74910,74940,74969,74999,75029,75058,75088,75117,75147,75176,75206,75235,75264,75294,75323,75353,75383,75412,75442,75472,75501,75531,75560,75590,75619,75648,75678,75707,75737,75766,75796,75826,75856,75885,75915,75944,75974,76003,76032,76062,76091,76121,76150,76180,76210,76239,76269,76299,76328,76358,76387,76416,76446,76475,76505,76534,76564,76593,76623,76653,76682,76712,76741,76771,76801,76830,76859,76889,76918,76948,76977,77007,77036,77066,77096,77125,77155,77185,77214,77243,77273,77302,77332,77361,77390,77420,77450,77479,77509,77539,77569,77598,77627,77657,77686,77715,77745,77774,77804,77833,77863,77893,77923,77952,77982,78011,78041,78070,78099,78129,78158,78188,78217,78247,78277,78307,78336,78366,78395,78425,78454,78483,78513,78542,78572,78601,78631,78661,78690,78720,78750,78779,78808,78838,78867,78897,78926,78956,78985,79015,79044,79074,79104,79133,79163,79192,79222,79251,79281,79310,79340,79369,79399,79428,79458,79487,79517,79546,79576,79606,79635,79665,79695,79724,79753,79783,79812,79841,79871,79900,79930,79960,79990]},63489:function(T,p,t){var d=t(56131);function g(){this.regionalOptions=[],this.regionalOptions[""]={invalidCalendar:"Calendar {0} not found",invalidDate:"Invalid {0} date",invalidMonth:"Invalid {0} month",invalidYear:"Invalid {0} year",differentCalendars:"Cannot mix {0} and {1} dates"},this.local=this.regionalOptions[""],this.calendars={},this._localCals={}}function i(a,u,o,s){if(this._calendar=a,this._year=u,this._month=o,this._day=s,this._calendar._validateLevel===0&&!this._calendar.isValid(this._year,this._month,this._day))throw(l.local.invalidDate||l.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name)}function M(a,u){return"000000".substring(0,u-(a=""+a).length)+a}function v(){this.shortYearCutoff="+10"}function f(a){this.local=this.regionalOptions[a]||this.regionalOptions[""]}d(g.prototype,{instance:function(a,u){a=(a||"gregorian").toLowerCase(),u=u||"";var o=this._localCals[a+"-"+u];if(!o&&this.calendars[a]&&(o=new this.calendars[a](u),this._localCals[a+"-"+u]=o),!o)throw(this.local.invalidCalendar||this.regionalOptions[""].invalidCalendar).replace(/\{0\}/,a);return o},newDate:function(a,u,o,s,h){return(s=(a!=null&&a.year?a.calendar():typeof s=="string"?this.instance(s,h):s)||this.instance()).newDate(a,u,o)},substituteDigits:function(a){return function(u){return(u+"").replace(/[0-9]/g,function(o){return a[o]})}},substituteChineseDigits:function(a,u){return function(o){for(var s="",h=0;o>0;){var c=o%10;s=(c===0?"":a[c]+u[h])+s,h++,o=Math.floor(o/10)}return s.indexOf(a[1]+u[1])===0&&(s=s.substr(1)),s||a[0]}}}),d(i.prototype,{newDate:function(a,u,o){return this._calendar.newDate(a??this,u,o)},year:function(a){return arguments.length===0?this._year:this.set(a,"y")},month:function(a){return arguments.length===0?this._month:this.set(a,"m")},day:function(a){return arguments.length===0?this._day:this.set(a,"d")},date:function(a,u,o){if(!this._calendar.isValid(a,u,o))throw(l.local.invalidDate||l.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name);return this._year=a,this._month=u,this._day=o,this},leapYear:function(){return this._calendar.leapYear(this)},epoch:function(){return this._calendar.epoch(this)},formatYear:function(){return this._calendar.formatYear(this)},monthOfYear:function(){return this._calendar.monthOfYear(this)},weekOfYear:function(){return this._calendar.weekOfYear(this)},daysInYear:function(){return this._calendar.daysInYear(this)},dayOfYear:function(){return this._calendar.dayOfYear(this)},daysInMonth:function(){return this._calendar.daysInMonth(this)},dayOfWeek:function(){return this._calendar.dayOfWeek(this)},weekDay:function(){return this._calendar.weekDay(this)},extraInfo:function(){return this._calendar.extraInfo(this)},add:function(a,u){return this._calendar.add(this,a,u)},set:function(a,u){return this._calendar.set(this,a,u)},compareTo:function(a){if(this._calendar.name!==a._calendar.name)throw(l.local.differentCalendars||l.regionalOptions[""].differentCalendars).replace(/\{0\}/,this._calendar.local.name).replace(/\{1\}/,a._calendar.local.name);var u=this._year!==a._year?this._year-a._year:this._month!==a._month?this.monthOfYear()-a.monthOfYear():this._day-a._day;return u===0?0:u<0?-1:1},calendar:function(){return this._calendar},toJD:function(){return this._calendar.toJD(this)},fromJD:function(a){return this._calendar.fromJD(a)},toJSDate:function(){return this._calendar.toJSDate(this)},fromJSDate:function(a){return this._calendar.fromJSDate(a)},toString:function(){return(this.year()<0?"-":"")+M(Math.abs(this.year()),4)+"-"+M(this.month(),2)+"-"+M(this.day(),2)}}),d(v.prototype,{_validateLevel:0,newDate:function(a,u,o){return a==null?this.today():(a.year&&(this._validate(a,u,o,l.local.invalidDate||l.regionalOptions[""].invalidDate),o=a.day(),u=a.month(),a=a.year()),new i(this,a,u,o))},today:function(){return this.fromJSDate(new Date)},epoch:function(a){return this._validate(a,this.minMonth,this.minDay,l.local.invalidYear||l.regionalOptions[""].invalidYear).year()<0?this.local.epochs[0]:this.local.epochs[1]},formatYear:function(a){var u=this._validate(a,this.minMonth,this.minDay,l.local.invalidYear||l.regionalOptions[""].invalidYear);return(u.year()<0?"-":"")+M(Math.abs(u.year()),4)},monthsInYear:function(a){return this._validate(a,this.minMonth,this.minDay,l.local.invalidYear||l.regionalOptions[""].invalidYear),12},monthOfYear:function(a,u){var o=this._validate(a,u,this.minDay,l.local.invalidMonth||l.regionalOptions[""].invalidMonth);return(o.month()+this.monthsInYear(o)-this.firstMonth)%this.monthsInYear(o)+this.minMonth},fromMonthOfYear:function(a,u){var o=(u+this.firstMonth-2*this.minMonth)%this.monthsInYear(a)+this.minMonth;return this._validate(a,o,this.minDay,l.local.invalidMonth||l.regionalOptions[""].invalidMonth),o},daysInYear:function(a){var u=this._validate(a,this.minMonth,this.minDay,l.local.invalidYear||l.regionalOptions[""].invalidYear);return this.leapYear(u)?366:365},dayOfYear:function(a,u,o){var s=this._validate(a,u,o,l.local.invalidDate||l.regionalOptions[""].invalidDate);return s.toJD()-this.newDate(s.year(),this.fromMonthOfYear(s.year(),this.minMonth),this.minDay).toJD()+1},daysInWeek:function(){return 7},dayOfWeek:function(a,u,o){var s=this._validate(a,u,o,l.local.invalidDate||l.regionalOptions[""].invalidDate);return(Math.floor(this.toJD(s))+2)%this.daysInWeek()},extraInfo:function(a,u,o){return this._validate(a,u,o,l.local.invalidDate||l.regionalOptions[""].invalidDate),{}},add:function(a,u,o){return this._validate(a,this.minMonth,this.minDay,l.local.invalidDate||l.regionalOptions[""].invalidDate),this._correctAdd(a,this._add(a,u,o),u,o)},_add:function(a,u,o){if(this._validateLevel++,o==="d"||o==="w"){var s=a.toJD()+u*(o==="w"?this.daysInWeek():1),h=a.calendar().fromJD(s);return this._validateLevel--,[h.year(),h.month(),h.day()]}try{var c=a.year()+(o==="y"?u:0),m=a.monthOfYear()+(o==="m"?u:0);h=a.day(),o==="y"?(a.month()!==this.fromMonthOfYear(c,m)&&(m=this.newDate(c,a.month(),this.minDay).monthOfYear()),m=Math.min(m,this.monthsInYear(c)),h=Math.min(h,this.daysInMonth(c,this.fromMonthOfYear(c,m)))):o==="m"&&(function(y){for(;mC-1+y.minMonth;)c++,m-=C,C=y.monthsInYear(c)}(this),h=Math.min(h,this.daysInMonth(c,this.fromMonthOfYear(c,m))));var w=[c,this.fromMonthOfYear(c,m),h];return this._validateLevel--,w}catch(y){throw this._validateLevel--,y}},_correctAdd:function(a,u,o,s){if(!(this.hasYearZero||s!=="y"&&s!=="m"||u[0]!==0&&a.year()>0==u[0]>0)){var h={y:[1,1,"y"],m:[1,this.monthsInYear(-1),"m"],w:[this.daysInWeek(),this.daysInYear(-1),"d"],d:[1,this.daysInYear(-1),"d"]}[s],c=o<0?-1:1;u=this._add(a,o*h[0]+c*h[1],h[2])}return a.date(u[0],u[1],u[2])},set:function(a,u,o){this._validate(a,this.minMonth,this.minDay,l.local.invalidDate||l.regionalOptions[""].invalidDate);var s=o==="y"?u:a.year(),h=o==="m"?u:a.month(),c=o==="d"?u:a.day();return o!=="y"&&o!=="m"||(c=Math.min(c,this.daysInMonth(s,h))),a.date(s,h,c)},isValid:function(a,u,o){this._validateLevel++;var s=this.hasYearZero||a!==0;if(s){var h=this.newDate(a,u,this.minDay);s=u>=this.minMonth&&u-this.minMonth=this.minDay&&o-this.minDay13.5?13:1),C=h-(y>2.5?4716:4715);return C<=0&&C--,this.newDate(C,y,w)},toJSDate:function(a,u,o){var s=this._validate(a,u,o,l.local.invalidDate||l.regionalOptions[""].invalidDate),h=new Date(s.year(),s.month()-1,s.day());return h.setHours(0),h.setMinutes(0),h.setSeconds(0),h.setMilliseconds(0),h.setHours(h.getHours()>12?h.getHours()+2:0),h},fromJSDate:function(a){return this.newDate(a.getFullYear(),a.getMonth()+1,a.getDate())}});var l=T.exports=new g;l.cdate=i,l.baseCalendar=v,l.calendars.gregorian=f},94338:function(T,p,t){var d=t(56131),g=t(63489);d(g.regionalOptions[""],{invalidArguments:"Invalid arguments",invalidFormat:"Cannot format a date from another calendar",missingNumberAt:"Missing number at position {0}",unknownNameAt:"Unknown name at position {0}",unexpectedLiteralAt:"Unexpected literal at position {0}",unexpectedText:"Additional text found at end"}),g.local=g.regionalOptions[""],d(g.cdate.prototype,{formatDate:function(i,M){return typeof i!="string"&&(M=i,i=""),this._calendar.formatDate(i||"",this,M)}}),d(g.baseCalendar.prototype,{UNIX_EPOCH:g.instance().newDate(1970,1,1).toJD(),SECS_PER_DAY:86400,TICKS_EPOCH:g.instance().jdEpoch,TICKS_PER_DAY:864e9,ATOM:"yyyy-mm-dd",COOKIE:"D, dd M yyyy",FULL:"DD, MM d, yyyy",ISO_8601:"yyyy-mm-dd",JULIAN:"J",RFC_822:"D, d M yy",RFC_850:"DD, dd-M-yy",RFC_1036:"D, d M yy",RFC_1123:"D, d M yyyy",RFC_2822:"D, d M yyyy",RSS:"D, d M yy",TICKS:"!",TIMESTAMP:"@",W3C:"yyyy-mm-dd",formatDate:function(i,M,v){if(typeof i!="string"&&(v=M,M=i,i=""),!M)return"";if(M.calendar()!==this)throw g.local.invalidFormat||g.regionalOptions[""].invalidFormat;i=i||this.local.dateFormat;for(var f,l,a,u=(v=v||{}).dayNamesShort||this.local.dayNamesShort,o=v.dayNames||this.local.dayNames,s=v.monthNumbers||this.local.monthNumbers,h=v.monthNamesShort||this.local.monthNamesShort,c=v.monthNames||this.local.monthNames,m=(v.calculateWeek||this.local.calculateWeek,function(b,R){for(var I=1;L+I1}),w=function(b,R,I,O){var z=""+R;if(m(b,O))for(;z.length1},x=function(N,W){var j=E(N,W),$=[2,3,j?4:2,j?4:2,10,11,20]["oyYJ@!".indexOf(N)+1],U=new RegExp("^-?\\d{1,"+$+"}"),G=M.substring(O).match(U);if(!G)throw(g.local.missingNumberAt||g.regionalOptions[""].missingNumberAt).replace(/\{0\}/,O);return O+=G[0].length,parseInt(G[0],10)},A=this,L=function(){if(typeof o=="function"){E("m");var N=o.call(A,M.substring(O));return O+=N.length,N}return x("m")},b=function(N,W,j,$){for(var U=E(N,$)?j:W,G=0;G-1){w=1,y=C;for(var B=this.daysInMonth(m,w);y>B;B=this.daysInMonth(m,w))w++,y-=B}return c>-1?this.fromJD(c):this.newDate(m,w,y)},determineDate:function(i,M,v,f,l){v&&typeof v!="object"&&(l=f,f=v,v=null),typeof f!="string"&&(l=f,f="");var a=this;return M=M?M.newDate():null,i==null?M:typeof i=="string"?function(u){try{return a.parseDate(f,u,l)}catch{}for(var o=((u=u.toLowerCase()).match(/^c/)&&v?v.newDate():null)||a.today(),s=/([+-]?[0-9]+)\s*(d|w|m|y)?/g,h=s.exec(u);h;)o.add(parseInt(h[1],10),h[2]||"d"),h=s.exec(u);return o}(i):typeof i=="number"?isNaN(i)||i===1/0||i===-1/0?M:a.today().add(i,"d"):a.newDate(i)}})},69862:function(){},40964:function(){},72077:function(T,p,t){var d=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],g=typeof globalThis>"u"?t.g:globalThis;T.exports=function(){for(var i=[],M=0;M>8&15|me>>4&240,me>>4&15|240&me,(15&me)<<4|15&me,1):pe===8?x(me>>24&255,me>>16&255,me>>8&255,(255&me)/255):pe===4?x(me>>12&15|me>>8&240,me>>8&15|me>>4&240,me>>4&15|240&me,((15&me)<<4|15&me)/255):null):(me=o.exec(de))?new b(me[1],me[2],me[3],1):(me=s.exec(de))?new b(255*me[1]/100,255*me[2]/100,255*me[3]/100,1):(me=h.exec(de))?x(me[1],me[2],me[3],me[4]):(me=c.exec(de))?x(255*me[1]/100,255*me[2]/100,255*me[3]/100,me[4]):(me=m.exec(de))?B(me[1],me[2]/100,me[3]/100,1):(me=w.exec(de))?B(me[1],me[2]/100,me[3]/100,me[4]):y.hasOwnProperty(de)?E(y[de]):de==="transparent"?new b(NaN,NaN,NaN,0):null}function E(de){return new b(de>>16&255,de>>8&255,255&de,1)}function x(de,me,pe,xe){return xe<=0&&(de=me=pe=NaN),new b(de,me,pe,xe)}function A(de){return de instanceof i||(de=k(de)),de?new b((de=de.rgb()).r,de.g,de.b,de.opacity):new b}function L(de,me,pe,xe){return arguments.length===1?A(de):new b(de,me,pe,xe??1)}function b(de,me,pe,xe){this.r=+de,this.g=+me,this.b=+pe,this.opacity=+xe}function R(){return"#".concat(F(this.r)).concat(F(this.g)).concat(F(this.b))}function I(){var de=O(this.opacity);return"".concat(de===1?"rgb(":"rgba(").concat(z(this.r),", ").concat(z(this.g),", ").concat(z(this.b)).concat(de===1?")":", ".concat(de,")"))}function O(de){return isNaN(de)?1:Math.max(0,Math.min(1,de))}function z(de){return Math.max(0,Math.min(255,Math.round(de)||0))}function F(de){return((de=z(de))<16?"0":"")+de.toString(16)}function B(de,me,pe,xe){return xe<=0?de=me=pe=NaN:pe<=0||pe>=1?de=me=NaN:me<=0&&(de=NaN),new W(de,me,pe,xe)}function N(de){if(de instanceof W)return new W(de.h,de.s,de.l,de.opacity);if(de instanceof i||(de=k(de)),!de)return new W;if(de instanceof W)return de;var me=(de=de.rgb()).r/255,pe=de.g/255,xe=de.b/255,Pe=Math.min(me,pe,xe),_e=Math.max(me,pe,xe),Me=NaN,Se=_e-Pe,Ce=(_e+Pe)/2;return Se?(Me=me===_e?(pe-xe)/Se+6*(pe0&&Ce<1?0:Me,new W(Me,Se,Ce,de.opacity)}function W(de,me,pe,xe){this.h=+de,this.s=+me,this.l=+pe,this.opacity=+xe}function j(de){return(de=(de||0)%360)<0?de+360:de}function $(de){return Math.max(0,Math.min(1,de||0))}function U(de,me,pe){return 255*(de<60?me+(pe-me)*de/60:de<180?pe:de<240?me+(pe-me)*(240-de)/60:me)}d(i,k,{copy:function(de){return Object.assign(new this.constructor,this,de)},displayable:function(){return this.rgb().displayable()},hex:C,formatHex:C,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return N(this).formatHsl()},formatRgb:_,toString:_}),d(b,L,g(i,{brighter:function(de){return de=de==null?v:Math.pow(v,de),new b(this.r*de,this.g*de,this.b*de,this.opacity)},darker:function(de){return de=de==null?M:Math.pow(M,de),new b(this.r*de,this.g*de,this.b*de,this.opacity)},rgb:function(){return this},clamp:function(){return new b(z(this.r),z(this.g),z(this.b),O(this.opacity))},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:R,formatHex:R,formatHex8:function(){return"#".concat(F(this.r)).concat(F(this.g)).concat(F(this.b)).concat(F(255*(isNaN(this.opacity)?1:this.opacity)))},formatRgb:I,toString:I})),d(W,function(de,me,pe,xe){return arguments.length===1?N(de):new W(de,me,pe,xe??1)},g(i,{brighter:function(de){return de=de==null?v:Math.pow(v,de),new W(this.h,this.s,this.l*de,this.opacity)},darker:function(de){return de=de==null?M:Math.pow(M,de),new W(this.h,this.s,this.l*de,this.opacity)},rgb:function(){var de=this.h%360+360*(this.h<0),me=isNaN(de)||isNaN(this.s)?0:this.s,pe=this.l,xe=pe+(pe<.5?pe:1-pe)*me,Pe=2*pe-xe;return new b(U(de>=240?de-240:de+120,Pe,xe),U(de,Pe,xe),U(de<120?de+240:de-120,Pe,xe),this.opacity)},clamp:function(){return new W(j(this.h),$(this.s),$(this.l),O(this.opacity))},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var de=O(this.opacity);return"".concat(de===1?"hsl(":"hsla(").concat(j(this.h),", ").concat(100*$(this.s),"%, ").concat(100*$(this.l),"%").concat(de===1?")":", ".concat(de,")"))}}));var G=function(de){return function(){return de}};function q(de,me){var pe=me-de;return pe?function(xe,Pe){return function(_e){return xe+_e*Pe}}(de,pe):G(isNaN(de)?me:de)}var H=function de(me){var pe=function(Pe){return(Pe=+Pe)==1?q:function(_e,Me){return Me-_e?function(Se,Ce,ae){return Se=Math.pow(Se,ae),Ce=Math.pow(Ce,ae)-Se,ae=1/ae,function(fe){return Math.pow(Se+fe*Ce,ae)}}(_e,Me,Pe):G(isNaN(_e)?Me:_e)}}(me);function xe(Pe,_e){var Me=pe((Pe=L(Pe)).r,(_e=L(_e)).r),Se=pe(Pe.g,_e.g),Ce=pe(Pe.b,_e.b),ae=q(Pe.opacity,_e.opacity);return function(fe){return Pe.r=Me(fe),Pe.g=Se(fe),Pe.b=Ce(fe),Pe.opacity=ae(fe),Pe+""}}return xe.gamma=de,xe}(1);function ne(de,me){var pe,xe=me?me.length:0,Pe=de?Math.min(xe,de.length):0,_e=new Array(Pe),Me=new Array(xe);for(pe=0;pe_e&&(Pe=me.slice(_e,Pe),Se[Me]?Se[Me]+=Pe:Se[++Me]=Pe),(pe=pe[0])===(xe=xe[0])?Se[Me]?Se[Me]+=xe:Se[++Me]=xe:(Se[++Me]=null,Ce.push({i:Me,x:Z(pe,xe)})),_e=ie.lastIndex;return _en.rt)},yValues(){return this.dataForHeatmapDrawing.map(n=>n.mass)},selectedRange(){switch(this.args.title){case"Raw MS1 Heatmap":return this.selectionStore.selectedRawHeatmap;case"Raw MS2 Heatmap":return this.selectionStore.selectedRawMS2Heatmap;case"Deconvolved MS1 Heatmap":return this.selectionStore.selectedDeconvHeatmap;case"Deconvolved MS2 Heatmap":return this.selectionStore.selectedDeconvMS2Heatmap;default:return}},xRange(){if(this.selectedRange!==void 0)return this.selectedRange.xRange[0]<0&&this.selectedRange.xRange[1]<0?void 0:this.selectedRange.xRange},yRange(){if(this.selectedRange!==void 0)return this.selectedRange.yRange[0]<0&&this.selectedRange.yRange[1]<0?void 0:this.selectedRange.yRange},markerColorValues(){return this.dataForHeatmapDrawing.map(n=>n.intensity)},data(){const n=this.dataForHeatmapDrawing.map(p=>p.intensity),e=Math.min(...n.filter(p=>p>0)),r=Math.max(...n),S=Math.floor(Math.log10(e)),D=Math.ceil(Math.log10(r)),T=Array.from({length:D-S+1},(p,t)=>Math.pow(10,S+t));return[{type:"scattergl",name:"raw peaks",x:this.xValues,y:this.yValues,mode:"markers",marker:{color:this.markerColorValues.map(p=>p>0?Math.log10(p):0),colorscale:"Portland",showscale:this.effectiveColorbarVisible,colorbar:{title:"Intensity",tickvals:T.map(p=>Math.log10(p)),ticktext:T.map(p=>p.toExponential(0)),tickmode:"array"}},hovertext:this.dataForHeatmapDrawing.map(p=>p.intensity.toExponential(2))}]},layout(){var n,e,r,S;return{title:`${this.args.title}`,showlegend:this.args.showLegend,xaxis:{title:"Retention Time",range:this.xRange},yaxis:{title:this.yAxisLabel,range:this.yRange},paper_bgcolor:(n=this.theme)==null?void 0:n.backgroundColor,plot_bgcolor:(e=this.theme)==null?void 0:e.secondaryBackgroundColor,font:{color:(r=this.theme)==null?void 0:r.textColor,family:(S=this.theme)==null?void 0:S.font},margin:{l:60,r:this.effectiveColorbarVisible?120:20,t:60,b:60}}}},watch:{renderData(){this.graph()},zoomRange(){if(this.zoomRange!==void 0)switch(this.args.title){case"Raw MS1 Heatmap":this.selectionStore.updateRawHeatmapSelection(this.zoomRange);break;case"Raw MS2 Heatmap":this.selectionStore.updateRawMS2HeatmapSelection(this.zoomRange);break;case"Deconvolved MS1 Heatmap":this.selectionStore.updateDeconvHeatmapSelection(this.zoomRange);break;case"Deconvolved MS2 Heatmap":this.selectionStore.updateDeconvMS2HeatmapSelection(this.zoomRange);break}}},mounted(){this.graph(),this.setupResizeObserver()},beforeUnmount(){this.cleanupResizeObserver()},methods:{async toggleColorbar(){this.colorbarVisible=!this.colorbarVisible,this.userOverrideColorbar=!0,await this.updatePlot()},async updatePlot(){const n=document.getElementById(this.id);if(n)try{await _l.restyle(n,{"marker.showscale":this.effectiveColorbarVisible},[0]),await _l.relayout(n,{margin:{r:this.effectiveColorbarVisible?120:20}})}catch{}},setupResizeObserver(){const n=document.getElementById(this.id);n&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver(e=>{for(const r of e){const S=r.contentRect.width;if(Math.abs(S-this.plotWidth)>10){const D=this.isNarrowPlot;this.plotWidth=S;const T=this.isNarrowPlot;D!==T&&(this.userOverrideColorbar||(T?this.colorbarVisible=!1:this.colorbarVisible=!0),this.updatePlot())}}}),this.resizeObserver.observe(n))},cleanupResizeObserver(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)},async graph(){await _l.newPlot(this.id,this.data,this.layout,this.getPlotConfig()),this.setupPlotEventHandlers()},getPlotConfig(){return{modeBarButtonsToRemove:["toImage","sendDataToCloud"],modeBarButtonsToAdd:[{title:"Download as SVG",name:"toImageSvg",icon:_l.Icons.camera,click:n=>{_l.downloadImage(n,{filename:"FLASHViewer-heatmap",height:400,width:1200,format:"svg"})}},{title:"Toggle Colorbar",name:"toggleColorbar",icon:{width:1792,height:1792,path:"M1408 768v192q0 40-28 68t-68 28H480q-40 0-68-28t-28-68V768q0-40 28-68t68-28h832q40 0 68 28t28 68zm0-384v192q0 40-28 68t-68 28H480q-40 0-68-28t-28-68V384q0-40 28-68t68-28h832q40 0 68 28t28 68zm0-384v192q0 40-28 68t-68 28H480q-40 0-68-28t-28-68V0q0-40 28-68t68-28h832q40 0 68 28t28 68z",transform:"matrix(1 0 0 -1 0 1792)"},click:()=>{this.toggleColorbar()}}]}},setupPlotEventHandlers(){const n=document.getElementById(this.id);n&&(n.on("plotly_relayout",e=>{e["xaxis.autorange"]?this.zoomRange={xRange:[-1,-1],yRange:[-1,-1]}:e["xaxis.range[0]"]!==void 0&&e["xaxis.range[1]"]!==void 0&&e["yaxis.range[0]"]!==void 0&&e["yaxis.range[1]"]!==void 0&&(this.zoomRange={xRange:[e["xaxis.range[0]"],e["xaxis.range[1]"]],yRange:[e["yaxis.range[0]"],e["yaxis.range[1]"]]})}),n.on("plotly_click",e=>{const r=this.dataForHeatmapDrawing[e.points[0].pointIndex],S=r==null?void 0:r.scan_idx,D=r==null?void 0:r.mass_idx;S!==void 0&&this.selectionStore.updateSelectedScan(S),this.args.title==="Deconvolved MS1 Heatmap"&&D!==void 0?this.selectionStore.updateSelectedMass(D):this.args.title==="Deconvolved MS2 Heatmap"&&D!==void 0&&this.selectionStore.updateSelectedMass(D)}))}}}),hs=(n,e)=>{const r=n.__vccOpts||n;for(const[S,D]of e)r[S]=D;return r},oR=["id"];function sR(n,e,r,S,D,T){return Ir(),ei("div",{id:n.id,style:{width:"100%"}},null,8,oR)}const lR=hs(aR,[["render",sR]]);class Ml{constructor(e){this.table=e}reloadData(e,r,S){return this.table.dataLoader.load(e,void 0,void 0,void 0,r,S)}langText(){return this.table.modules.localize.getText(...arguments)}langBind(){return this.table.modules.localize.bind(...arguments)}langLocale(){return this.table.modules.localize.getLocale(...arguments)}commsConnections(){return this.table.modules.comms.getConnections(...arguments)}commsSend(){return this.table.modules.comms.send(...arguments)}layoutMode(){return this.table.modules.layout.getMode()}layoutRefresh(e){return this.table.modules.layout.layout(e)}subscribe(){return this.table.eventBus.subscribe(...arguments)}unsubscribe(){return this.table.eventBus.unsubscribe(...arguments)}subscribed(e){return this.table.eventBus.subscribed(e)}subscriptionChange(){return this.table.eventBus.subscriptionChange(...arguments)}dispatch(){return this.table.eventBus.dispatch(...arguments)}chain(){return this.table.eventBus.chain(...arguments)}confirm(){return this.table.eventBus.confirm(...arguments)}dispatchExternal(){return this.table.externalEvents.dispatch(...arguments)}subscribedExternal(e){return this.table.externalEvents.subscribed(e)}subscriptionChangeExternal(){return this.table.externalEvents.subscriptionChange(...arguments)}options(e){return this.table.options[e]}setOption(e,r){return typeof r<"u"&&(this.table.options[e]=r),this.table.options[e]}deprecationCheck(e,r,S){return this.table.deprecationAdvisor.check(e,r,S)}deprecationCheckMsg(e,r){return this.table.deprecationAdvisor.checkMsg(e,r)}deprecationMsg(e){return this.table.deprecationAdvisor.msg(e)}module(e){return this.table.module(e)}}class so{static elVisible(e){return!(e.offsetWidth<=0&&e.offsetHeight<=0)}static elOffset(e){var r=e.getBoundingClientRect();return{top:r.top+window.pageYOffset-document.documentElement.clientTop,left:r.left+window.pageXOffset-document.documentElement.clientLeft}}static retrieveNestedData(e,r,S){var D=e?r.split(e):[r],T=D.length,p;for(let t=0;ti.subject===t),d>-1?r[p]=S[d].copy:(g=Object.assign(Array.isArray(t)?[]:{},t),S.unshift({subject:t,copy:g}),r[p]=this.deepClone(t,g,S)))}return r}}class H2 extends Ml{constructor(e,r,S){super(e),this.element=r,this.container=this._lookupContainer(),this.parent=S,this.reversedX=!1,this.childPopup=null,this.blurable=!1,this.blurCallback=null,this.blurEventsBound=!1,this.renderedCallback=null,this.visible=!1,this.hideable=!0,this.element.classList.add("tabulator-popup-container"),this.blurEvent=this.hide.bind(this,!1),this.escEvent=this._escapeCheck.bind(this),this.destroyBinding=this.tableDestroyed.bind(this),this.destroyed=!1}tableDestroyed(){this.destroyed=!0,this.hide(!0)}_lookupContainer(){var e=this.table.options.popupContainer;return typeof e=="string"?(e=document.querySelector(e),e||console.warn("Menu Error - no container element found matching selector:",this.table.options.popupContainer,"(defaulting to document body)")):e===!0&&(e=this.table.element),e&&!this._checkContainerIsParent(e)&&(e=!1,console.warn("Menu Error - container element does not contain this table:",this.table.options.popupContainer,"(defaulting to document body)")),e||(e=document.body),e}_checkContainerIsParent(e,r=this.table.element){return e===r?!0:r.parentNode?this._checkContainerIsParent(e,r.parentNode):!1}renderCallback(e){this.renderedCallback=e}containerEventCoords(e){var r=!(e instanceof MouseEvent),S=r?e.touches[0].pageX:e.pageX,D=r?e.touches[0].pageY:e.pageY;if(this.container!==document.body){let T=so.elOffset(this.container);S-=T.left,D-=T.top}return{x:S,y:D}}elementPositionCoords(e,r="right"){var S=so.elOffset(e),D,T,p;switch(this.container!==document.body&&(D=so.elOffset(this.container),S.left-=D.left,S.top-=D.top),r){case"right":T=S.left+e.offsetWidth,p=S.top-1;break;case"bottom":T=S.left,p=S.top+e.offsetHeight;break;case"left":T=S.left,p=S.top-1;break;case"top":T=S.left,p=S.top;break;case"center":T=S.left+e.offsetWidth/2,p=S.top+e.offsetHeight/2;break}return{x:T,y:p,offset:S}}show(e,r){var S,D,T,p,t;return this.destroyed||this.table.destroyed?this:(e instanceof HTMLElement?(T=e,t=this.elementPositionCoords(e,r),p=t.offset,S=t.x,D=t.y):typeof e=="number"?(p={top:0,left:0},S=e,D=r):(t=this.containerEventCoords(e),S=t.x,D=t.y,this.reversedX=!1),this.element.style.top=D+"px",this.element.style.left=S+"px",this.container.appendChild(this.element),typeof this.renderedCallback=="function"&&this.renderedCallback(),this._fitToScreen(S,D,T,p,r),this.visible=!0,this.subscribe("table-destroy",this.destroyBinding),this.element.addEventListener("mousedown",d=>{d.stopPropagation()}),this)}_fitToScreen(e,r,S,D,T){var p=this.container===document.body?document.documentElement.scrollTop:this.container.scrollTop;if((e+this.element.offsetWidth>=this.container.offsetWidth||this.reversedX)&&(this.element.style.left="",S?this.element.style.right=this.container.offsetWidth-D.left+"px":this.element.style.right=this.container.offsetWidth-e+"px",this.reversedX=!0),r+this.element.offsetHeight>Math.max(this.container.offsetHeight,p?this.container.scrollHeight:0))if(S)switch(T){case"bottom":this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight-S.offsetHeight-1+"px";break;default:this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight+S.offsetHeight+1+"px"}else this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight+"px"}isVisible(){return this.visible}hideOnBlur(e){return this.blurable=!0,this.visible&&(setTimeout(()=>{this.visible&&(this.table.rowManager.element.addEventListener("scroll",this.blurEvent),this.subscribe("cell-editing",this.blurEvent),document.body.addEventListener("click",this.blurEvent),document.body.addEventListener("contextmenu",this.blurEvent),document.body.addEventListener("mousedown",this.blurEvent),window.addEventListener("resize",this.blurEvent),document.body.addEventListener("keydown",this.escEvent),this.blurEventsBound=!0)},100),this.blurCallback=e),this}_escapeCheck(e){e.keyCode==27&&this.hide()}blockHide(){this.hideable=!1}restoreHide(){this.hideable=!0}hide(e=!1){return this.visible&&this.hideable&&(this.blurable&&this.blurEventsBound&&(document.body.removeEventListener("keydown",this.escEvent),document.body.removeEventListener("click",this.blurEvent),document.body.removeEventListener("contextmenu",this.blurEvent),document.body.removeEventListener("mousedown",this.blurEvent),window.removeEventListener("resize",this.blurEvent),this.table.rowManager.element.removeEventListener("scroll",this.blurEvent),this.unsubscribe("cell-editing",this.blurEvent),this.blurEventsBound=!1),this.childPopup&&this.childPopup.hide(),this.parent&&(this.parent.childPopup=null),this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.visible=!1,this.blurCallback&&!e&&this.blurCallback(),this.unsubscribe("table-destroy",this.destroyBinding)),this}child(e){return this.childPopup&&this.childPopup.hide(),this.childPopup=new H2(this.table,e,this),this.childPopup}}class qi extends Ml{constructor(e,r){super(e),this._handler=null}initialize(){}registerTableOption(e,r){this.table.optionsList.register(e,r)}registerColumnOption(e,r){this.table.columnManager.optionsList.register(e,r)}registerTableFunction(e,r){typeof this.table[e]>"u"?this.table[e]=(...S)=>(this.table.initGuard(e),r(...S)):console.warn("Unable to bind table function, name already in use",e)}registerComponentFunction(e,r,S){return this.table.componentFunctionBinder.bind(e,r,S)}registerDataHandler(e,r){this.table.rowManager.registerDataPipelineHandler(e,r),this._handler=e}registerDisplayHandler(e,r){this.table.rowManager.registerDisplayPipelineHandler(e,r),this._handler=e}displayRows(e){var r=this.table.rowManager.displayRows.length-1,S;if(this._handler&&(S=this.table.rowManager.displayPipeline.findIndex(D=>D.handler===this._handler),S>-1&&(r=S)),e&&(r=r+e),this._handler)return r>-1?this.table.rowManager.getDisplayRows(r):this.activeRows()}activeRows(){return this.table.rowManager.activeRows}refreshData(e,r){r||(r=this._handler),r&&this.table.rowManager.refreshActiveData(r,!1,e)}footerAppend(e){return this.table.footerManager.append(e)}footerPrepend(e){return this.table.footerManager.prepend(e)}footerRemove(e){return this.table.footerManager.remove(e)}popup(e,r){return new H2(this.table,e,r)}alert(e,r){return this.table.alertManager.alert(e,r)}clearAlert(){return this.table.alertManager.clear()}}var uR={};class i0 extends qi{constructor(e){super(e),this.allowedTypes=["","data","download","clipboard","print","htmlOutput"],this.registerColumnOption("accessor"),this.registerColumnOption("accessorParams"),this.registerColumnOption("accessorData"),this.registerColumnOption("accessorDataParams"),this.registerColumnOption("accessorDownload"),this.registerColumnOption("accessorDownloadParams"),this.registerColumnOption("accessorClipboard"),this.registerColumnOption("accessorClipboardParams"),this.registerColumnOption("accessorPrint"),this.registerColumnOption("accessorPrintParams"),this.registerColumnOption("accessorHtmlOutput"),this.registerColumnOption("accessorHtmlOutputParams")}initialize(){this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("row-data-retrieve",this.transformRow.bind(this))}initializeColumn(e){var r=!1,S={};this.allowedTypes.forEach(D=>{var T="accessor"+(D.charAt(0).toUpperCase()+D.slice(1)),p;e.definition[T]&&(p=this.lookupAccessor(e.definition[T]),p&&(r=!0,S[T]={accessor:p,params:e.definition[T+"Params"]||{}}))}),r&&(e.modules.accessor=S)}lookupAccessor(e){var r=!1;switch(typeof e){case"string":i0.accessors[e]?r=i0.accessors[e]:console.warn("Accessor Error - No such accessor found, ignoring: ",e);break;case"function":r=e;break}return r}transformRow(e,r){var S="accessor"+(r.charAt(0).toUpperCase()+r.slice(1)),D=e.getComponent(),T=so.deepClone(e.data||{});return this.table.columnManager.traverse(function(p){var t,d,g,i;p.modules.accessor&&(d=p.modules.accessor[S]||p.modules.accessor.accessor||!1,d&&(t=p.getFieldValue(T),t!="undefined"&&(i=p.getComponent(),g=typeof d.params=="function"?d.params(t,T,r,i,D):d.params,p.setFieldValue(T,d.accessor(t,T,r,g,i,D)))))}),T}}i0.moduleName="accessor";i0.accessors=uR;var cR={method:"GET"};function nx(n,e){var r=[];if(e=e||"",Array.isArray(n))n.forEach((D,T)=>{r=r.concat(nx(D,e?e+"["+T+"]":T))});else if(typeof n=="object")for(var S in n)r=r.concat(nx(n[S],e?e+"["+S+"]":S));else r.push({key:e,value:n});return r}function hR(n){var e=nx(n),r=[];return e.forEach(function(S){r.push(encodeURIComponent(S.key)+"="+encodeURIComponent(S.value))}),r.join("&")}function LM(n,e,r){return n&&r&&Object.keys(r).length&&(!e.method||e.method.toLowerCase()=="get")&&(e.method="get",n+=(n.includes("?")?"&":"?")+hR(r)),n}function fR(n,e,r){var S;return new Promise((D,T)=>{if(n=this.urlGenerator.call(this.table,n,e,r),e.method.toUpperCase()!="GET")if(S=typeof this.table.options.ajaxContentType=="object"?this.table.options.ajaxContentType:this.contentTypeFormatters[this.table.options.ajaxContentType],S){for(var p in S.headers)e.headers||(e.headers={}),typeof e.headers[p]>"u"&&(e.headers[p]=S.headers[p]);e.body=S.body.call(this,n,e,r)}else console.warn("Ajax Error - Invalid ajaxContentType value:",this.table.options.ajaxContentType);n?(typeof e.headers>"u"&&(e.headers={}),typeof e.headers.Accept>"u"&&(e.headers.Accept="application/json"),typeof e.headers["X-Requested-With"]>"u"&&(e.headers["X-Requested-With"]="XMLHttpRequest"),typeof e.mode>"u"&&(e.mode="cors"),e.mode=="cors"?(typeof e.headers.Origin>"u"&&(e.headers.Origin=window.location.origin),typeof e.credentials>"u"&&(e.credentials="same-origin")):typeof e.credentials>"u"&&(e.credentials="include"),fetch(n,e).then(t=>{t.ok?t.json().then(d=>{D(d)}).catch(d=>{T(d),console.warn("Ajax Load Error - Invalid JSON returned",d)}):(console.error("Ajax Load Error - Connection Error: "+t.status,t.statusText),T(t))}).catch(t=>{console.error("Ajax Load Error - Connection Error: ",t),T(t)})):(console.warn("Ajax Load Error - No URL Set"),D([]))})}function rx(n,e){var r=[];if(e=e||"",Array.isArray(n))n.forEach((D,T)=>{r=r.concat(rx(D,e?e+"["+T+"]":T))});else if(typeof n=="object")for(var S in n)r=r.concat(rx(n[S],e?e+"["+S+"]":S));else r.push({key:e,value:n});return r}var dR={json:{headers:{"Content-Type":"application/json"},body:function(n,e,r){return JSON.stringify(r)}},form:{headers:{},body:function(n,e,r){var S=rx(r),D=new FormData;return S.forEach(function(T){D.append(T.key,T.value)}),D}}};class Rc extends qi{constructor(e){super(e),this.config={},this.url="",this.urlGenerator=!1,this.params=!1,this.loaderPromise=!1,this.registerTableOption("ajaxURL",!1),this.registerTableOption("ajaxURLGenerator",!1),this.registerTableOption("ajaxParams",{}),this.registerTableOption("ajaxConfig","get"),this.registerTableOption("ajaxContentType","form"),this.registerTableOption("ajaxRequestFunc",!1),this.registerTableOption("ajaxRequesting",function(){}),this.registerTableOption("ajaxResponse",!1),this.contentTypeFormatters=Rc.contentTypeFormatters}initialize(){this.loaderPromise=this.table.options.ajaxRequestFunc||Rc.defaultLoaderPromise,this.urlGenerator=this.table.options.ajaxURLGenerator||Rc.defaultURLGenerator,this.table.options.ajaxURL&&this.setUrl(this.table.options.ajaxURL),this.setDefaultConfig(this.table.options.ajaxConfig),this.registerTableFunction("getAjaxUrl",this.getUrl.bind(this)),this.subscribe("data-loading",this.requestDataCheck.bind(this)),this.subscribe("data-params",this.requestParams.bind(this)),this.subscribe("data-load",this.requestData.bind(this))}requestParams(e,r,S,D){var T=this.table.options.ajaxParams;return T&&(typeof T=="function"&&(T=T.call(this.table)),D=Object.assign(Object.assign({},T),D)),D}requestDataCheck(e,r,S,D){return!!(!e&&this.url||typeof e=="string")}requestData(e,r,S,D,T){var p;return!T&&this.requestDataCheck(e)?(e&&this.setUrl(e),p=this.generateConfig(S),this.sendRequest(this.url,r,p)):T}setDefaultConfig(e={}){this.config=Object.assign({},Rc.defaultConfig),typeof e=="string"?this.config.method=e:Object.assign(this.config,e)}generateConfig(e={}){var r=Object.assign({},this.config);return typeof e=="string"?r.method=e:Object.assign(r,e),r}setUrl(e){this.url=e}getUrl(){return this.url}sendRequest(e,r,S){return this.table.options.ajaxRequesting.call(this.table,e,r)!==!1?this.loaderPromise(e,S,r).then(D=>(this.table.options.ajaxResponse&&(D=this.table.options.ajaxResponse.call(this.table,e,r,D)),D)):Promise.reject()}}Rc.moduleName="ajax";Rc.defaultConfig=cR;Rc.defaultURLGenerator=LM;Rc.defaultLoaderPromise=fR;Rc.contentTypeFormatters=dR;var pR={replace:function(n){return this.table.setData(n)},update:function(n){return this.table.updateOrAddData(n)},insert:function(n){return this.table.addData(n)},range:function(n){var e=[],r=this.table.modules.selectRange.activeRange,S=!1,D,T,p,t,d;return d=n.length,r&&(D=r.getBounds(),T=D.start,D.start===D.end&&(S=!0),T&&(e=this.table.rowManager.activeRows.slice(),p=e.indexOf(T.row),S?t=n.length:t=e.indexOf(D.end.row)-p+1,p>-1&&(this.table.blockRedraw(),e=e.slice(p,p+t),e.forEach((g,i)=>{g.updateData(n[i%d])}),this.table.restoreRedraw()))),e}},mR={table:function(n){var e=[],r=!0,S=this.table.columnManager.columns,D=[],T=[];return n=n.split(` -`),n.forEach(function(p){e.push(p.split(" "))}),e.length&&!(e.length===1&&e[0].length<2)?(e[0].forEach(function(p){var t=S.find(function(d){return p&&d.definition.title&&p.trim()&&d.definition.title.trim()===p.trim()});t?D.push(t):r=!1}),r||(r=!0,D=[],e[0].forEach(function(p){var t=S.find(function(d){return p&&d.field&&p.trim()&&d.field.trim()===p.trim()});t?D.push(t):r=!1}),r||(D=this.table.columnManager.columnsByIndex)),r&&e.shift(),e.forEach(function(p){var t={};p.forEach(function(d,g){D[g]&&(t[D[g].field]=d)}),T.push(t)}),T):!1},range:function(n){var e=[],r=[],S=this.table.modules.selectRange.activeRange,D=!1,T,p,t,d,g;return S&&(T=S.getBounds(),p=T.start,T.start===T.end&&(D=!0),p&&(n=n.split(` -`),n.forEach(function(i){e.push(i.split(" "))}),e.length&&(d=this.table.columnManager.getVisibleColumnsByIndex(),g=d.indexOf(p.column),g>-1)))?(D?t=e[0].length:t=d.indexOf(T.end.column)-g+1,d=d.slice(g,g+t),e.forEach(i=>{var M={},v=i.length;d.forEach(function(f,l){M[f.field]=i[l%v]}),r.push(M)}),r):!1}};class qd extends qi{constructor(e){super(e),this.mode=!0,this.pasteParser=function(){},this.pasteAction=function(){},this.customSelection=!1,this.rowRange=!1,this.blocked=!0,this.registerTableOption("clipboard",!1),this.registerTableOption("clipboardCopyStyled",!0),this.registerTableOption("clipboardCopyConfig",!1),this.registerTableOption("clipboardCopyFormatter",!1),this.registerTableOption("clipboardCopyRowRange","active"),this.registerTableOption("clipboardPasteParser","table"),this.registerTableOption("clipboardPasteAction","insert"),this.registerColumnOption("clipboard"),this.registerColumnOption("titleClipboard")}initialize(){this.mode=this.table.options.clipboard,this.rowRange=this.table.options.clipboardCopyRowRange,(this.mode===!0||this.mode==="copy")&&this.table.element.addEventListener("copy",e=>{var r,S,D;this.blocked||(e.preventDefault(),this.customSelection?(r=this.customSelection,this.table.options.clipboardCopyFormatter&&(r=this.table.options.clipboardCopyFormatter("plain",r))):(D=this.table.modules.export.generateExportList(this.table.options.clipboardCopyConfig,this.table.options.clipboardCopyStyled,this.rowRange,"clipboard"),S=this.table.modules.export.generateHTMLTable(D),r=S?this.generatePlainContent(D):"",this.table.options.clipboardCopyFormatter&&(r=this.table.options.clipboardCopyFormatter("plain",r),S=this.table.options.clipboardCopyFormatter("html",S))),window.clipboardData&&window.clipboardData.setData?window.clipboardData.setData("Text",r):e.clipboardData&&e.clipboardData.setData?(e.clipboardData.setData("text/plain",r),S&&e.clipboardData.setData("text/html",S)):e.originalEvent&&e.originalEvent.clipboardData.setData&&(e.originalEvent.clipboardData.setData("text/plain",r),S&&e.originalEvent.clipboardData.setData("text/html",S)),this.dispatchExternal("clipboardCopied",r,S),this.reset())}),(this.mode===!0||this.mode==="paste")&&this.table.element.addEventListener("paste",e=>{this.paste(e)}),this.setPasteParser(this.table.options.clipboardPasteParser),this.setPasteAction(this.table.options.clipboardPasteAction),this.registerTableFunction("copyToClipboard",this.copy.bind(this))}reset(){this.blocked=!0,this.customSelection=!1}generatePlainContent(e){var r=[];return e.forEach(S=>{var D=[];S.columns.forEach(T=>{var p="";if(T)if(S.type==="group"&&(T.value=T.component.getKey()),T.value===null)p="";else switch(typeof T.value){case"object":p=JSON.stringify(T.value);break;case"undefined":p="";break;default:p=T.value}D.push(p)}),r.push(D.join(" "))}),r.join(` -`)}copy(e,r){var S,D;this.blocked=!1,this.customSelection=!1,(this.mode===!0||this.mode==="copy")&&(this.rowRange=e||this.table.options.clipboardCopyRowRange,typeof window.getSelection<"u"&&typeof document.createRange<"u"?(e=document.createRange(),e.selectNodeContents(this.table.element),S=window.getSelection(),S.toString()&&r&&(this.customSelection=S.toString()),S.removeAllRanges(),S.addRange(e)):typeof document.selection<"u"&&typeof document.body.createTextRange<"u"&&(D=document.body.createTextRange(),D.moveToElementText(this.table.element),D.select()),document.execCommand("copy"),S&&S.removeAllRanges())}setPasteAction(e){switch(typeof e){case"string":this.pasteAction=qd.pasteActions[e],this.pasteAction||console.warn("Clipboard Error - No such paste action found:",e);break;case"function":this.pasteAction=e;break}}setPasteParser(e){switch(typeof e){case"string":this.pasteParser=qd.pasteParsers[e],this.pasteParser||console.warn("Clipboard Error - No such paste parser found:",e);break;case"function":this.pasteParser=e;break}}paste(e){var r,S,D;this.checkPasteOrigin(e)&&(r=this.getPasteData(e),S=this.pasteParser.call(this,r),S?(e.preventDefault(),this.table.modExists("mutator")&&(S=this.mutateData(S)),D=this.pasteAction.call(this,S),this.dispatchExternal("clipboardPasted",r,S,D)):this.dispatchExternal("clipboardPasteError",r))}mutateData(e){var r=[];return Array.isArray(e)?e.forEach(S=>{r.push(this.table.modules.mutator.transformRow(S,"clipboard"))}):r=e,r}checkPasteOrigin(e){var r=!0,S=this.confirm("clipboard-paste",[e]);return(S||!["DIV","SPAN"].includes(e.target.tagName))&&(r=!1),r}getPasteData(e){var r;return window.clipboardData&&window.clipboardData.getData?r=window.clipboardData.getData("Text"):e.clipboardData&&e.clipboardData.getData?r=e.clipboardData.getData("text/plain"):e.originalEvent&&e.originalEvent.clipboardData.getData&&(r=e.originalEvent.clipboardData.getData("text/plain")),r}}qd.moduleName="clipboard";qd.pasteActions=pR;qd.pasteParsers=mR;class gR{constructor(e){return this._row=e,new Proxy(this,{get:function(r,S,D){return typeof r[S]<"u"?r[S]:r._row.table.componentFunctionBinder.handle("row",r._row,S)}})}getData(e){return this._row.getData(e)}getElement(){return this._row.getElement()}getTable(){return this._row.table}getCells(){var e=[];return this._row.getCells().forEach(function(r){e.push(r.getComponent())}),e}getCell(e){var r=this._row.getCell(e);return r?r.getComponent():!1}_getSelf(){return this._row}}class IM{constructor(e){return this._cell=e,new Proxy(this,{get:function(r,S,D){return typeof r[S]<"u"?r[S]:r._cell.table.componentFunctionBinder.handle("cell",r._cell,S)}})}getValue(){return this._cell.getValue()}getOldValue(){return this._cell.getOldValue()}getInitialValue(){return this._cell.initialValue}getElement(){return this._cell.getElement()}getRow(){return this._cell.row.getComponent()}getData(e){return this._cell.row.getData(e)}getType(){return"cell"}getField(){return this._cell.column.getField()}getColumn(){return this._cell.column.getComponent()}setValue(e,r){typeof r>"u"&&(r=!0),this._cell.setValue(e,r)}restoreOldValue(){this._cell.setValueActual(this._cell.getOldValue())}restoreInitialValue(){this._cell.setValueActual(this._cell.initialValue)}checkHeight(){this._cell.checkHeight()}getTable(){return this._cell.table}_getSelf(){return this._cell}}class eg extends Ml{constructor(e,r){super(e.table),this.table=e.table,this.column=e,this.row=r,this.element=null,this.value=null,this.initialValue,this.oldValue=null,this.modules={},this.height=null,this.width=null,this.minWidth=null,this.component=null,this.loaded=!1,this.build()}build(){this.generateElement(),this.setWidth(),this._configureCell(),this.setValueActual(this.column.getFieldValue(this.row.data)),this.initialValue=this.value}generateElement(){this.element=document.createElement("div"),this.element.className="tabulator-cell",this.element.setAttribute("role","gridcell")}_configureCell(){var e=this.element,r=this.column.getField(),S={top:"flex-start",bottom:"flex-end",middle:"center"},D={left:"flex-start",right:"flex-end",center:"center"};if(e.style.textAlign=this.column.hozAlign,this.column.vertAlign&&(e.style.display="inline-flex",e.style.alignItems=S[this.column.vertAlign]||"",this.column.hozAlign&&(e.style.justifyContent=D[this.column.hozAlign]||"")),r&&e.setAttribute("tabulator-field",r),this.column.definition.cssClass){var T=this.column.definition.cssClass.split(" ");T.forEach(p=>{e.classList.add(p)})}this.dispatch("cell-init",this),this.column.visible||this.hide()}_generateContents(){var e;switch(e=this.chain("cell-format",this,null,()=>this.element.innerHTML=this.value),typeof e){case"object":if(e instanceof Node){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.element.appendChild(e)}else this.element.innerHTML="",e!=null&&console.warn("Format Error - Formatter has returned a type of object, the only valid formatter object return is an instance of Node, the formatter returned:",e);break;case"undefined":this.element.innerHTML="";break;default:this.element.innerHTML=e}}cellRendered(){this.dispatch("cell-rendered",this)}getElement(e){return this.loaded||(this.loaded=!0,e||this.layoutElement()),this.element}getValue(){return this.value}getOldValue(){return this.oldValue}setValue(e,r,S){var D=this.setValueProcessData(e,r,S);D&&(this.dispatch("cell-value-updated",this),this.cellRendered(),this.column.definition.cellEdited&&this.column.definition.cellEdited.call(this.table,this.getComponent()),this.dispatchExternal("cellEdited",this.getComponent()),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.table.rowManager.getData()))}setValueProcessData(e,r,S){var D=!1;return(this.value!==e||S)&&(D=!0,r&&(e=this.chain("cell-value-changing",[this,e],null,e))),this.setValueActual(e),D&&this.dispatch("cell-value-changed",this),D}setValueActual(e){this.oldValue=this.value,this.value=e,this.dispatch("cell-value-save-before",this),this.column.setFieldValue(this.row.data,e),this.dispatch("cell-value-save-after",this),this.loaded&&this.layoutElement()}layoutElement(){this._generateContents(),this.dispatch("cell-layout",this)}setWidth(){this.width=this.column.width,this.element.style.width=this.column.widthStyled}clearWidth(){this.width="",this.element.style.width=""}getWidth(){return this.width||this.element.offsetWidth}setMinWidth(){this.minWidth=this.column.minWidth,this.element.style.minWidth=this.column.minWidthStyled}setMaxWidth(){this.maxWidth=this.column.maxWidth,this.element.style.maxWidth=this.column.maxWidthStyled}checkHeight(){this.row.reinitializeHeight()}clearHeight(){this.element.style.height="",this.height=null,this.dispatch("cell-height",this,"")}setHeight(){this.height=this.row.height,this.element.style.height=this.row.heightStyled,this.dispatch("cell-height",this,this.row.heightStyled)}getHeight(){return this.height||this.element.offsetHeight}show(){this.element.style.display=this.column.vertAlign?"inline-flex":""}hide(){this.element.style.display="none"}delete(){this.dispatch("cell-delete",this),!this.table.rowManager.redrawBlock&&this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.element=!1,this.column.deleteCell(this),this.row.deleteCell(this),this.calcs={}}getIndex(){return this.row.getCellIndex(this)}getComponent(){return this.component||(this.component=new IM(this)),this.component}}class RM{constructor(e){return this._column=e,this.type="ColumnComponent",new Proxy(this,{get:function(r,S,D){return typeof r[S]<"u"?r[S]:r._column.table.componentFunctionBinder.handle("column",r._column,S)}})}getElement(){return this._column.getElement()}getDefinition(){return this._column.getDefinition()}getField(){return this._column.getField()}getTitleDownload(){return this._column.getTitleDownload()}getCells(){var e=[];return this._column.cells.forEach(function(r){e.push(r.getComponent())}),e}isVisible(){return this._column.visible}show(){this._column.isGroup?this._column.columns.forEach(function(e){e.show()}):this._column.show()}hide(){this._column.isGroup?this._column.columns.forEach(function(e){e.hide()}):this._column.hide()}toggle(){this._column.visible?this.hide():this.show()}delete(){return this._column.delete()}getSubColumns(){var e=[];return this._column.columns.length&&this._column.columns.forEach(function(r){e.push(r.getComponent())}),e}getParentColumn(){return this._column.parent instanceof vh?this._column.parent.getComponent():!1}_getSelf(){return this._column}scrollTo(e,r){return this._column.table.columnManager.scrollToColumn(this._column,e,r)}getTable(){return this._column.table}move(e,r){var S=this._column.table.columnManager.findColumn(e);S?this._column.table.columnManager.moveColumn(this._column,S,r):console.warn("Move Error - No matching column found:",S)}getNextColumn(){var e=this._column.nextColumn();return e?e.getComponent():!1}getPrevColumn(){var e=this._column.prevColumn();return e?e.getComponent():!1}updateDefinition(e){return this._column.updateDefinition(e)}getWidth(){return this._column.getWidth()}setWidth(e){var r;return e===!0?r=this._column.reinitializeWidth(!0):r=this._column.setWidth(e),this._column.table.columnManager.rerenderColumns(!0),r}}var PM={title:void 0,field:void 0,columns:void 0,visible:void 0,hozAlign:void 0,vertAlign:void 0,width:void 0,minWidth:40,maxWidth:void 0,maxInitialWidth:void 0,cssClass:void 0,variableHeight:void 0,headerVertical:void 0,headerHozAlign:void 0,headerWordWrap:!1,editableTitle:void 0};class vh extends Ml{constructor(e,r){super(r.table),this.definition=e,this.parent=r,this.type="column",this.columns=[],this.cells=[],this.element=this.createElement(),this.contentElement=!1,this.titleHolderElement=!1,this.titleElement=!1,this.groupElement=this.createGroupElement(),this.isGroup=!1,this.hozAlign="",this.vertAlign="",this.field="",this.fieldStructure="",this.getFieldValue="",this.setFieldValue="",this.titleDownload=null,this.titleFormatterRendered=!1,this.mapDefinitions(),this.setField(this.definition.field),this.modules={},this.width=null,this.widthStyled="",this.maxWidth=null,this.maxWidthStyled="",this.maxInitialWidth=null,this.minWidth=null,this.minWidthStyled="",this.widthFixed=!1,this.visible=!0,this.component=null,this.definition.columns?(this.isGroup=!0,this.definition.columns.forEach((S,D)=>{var T=new vh(S,this);this.attachColumn(T)}),this.checkColumnVisibility()):r.registerColumnField(this),this._initialize()}createElement(){var e=document.createElement("div");switch(e.classList.add("tabulator-col"),e.setAttribute("role","columnheader"),e.setAttribute("aria-sort","none"),this.table.options.columnHeaderVertAlign){case"middle":e.style.justifyContent="center";break;case"bottom":e.style.justifyContent="flex-end";break}return e}createGroupElement(){var e=document.createElement("div");return e.classList.add("tabulator-col-group-cols"),e}mapDefinitions(){var e=this.table.options.columnDefaults;if(e)for(let r in e)typeof this.definition[r]>"u"&&(this.definition[r]=e[r]);this.definition=this.table.columnManager.optionsList.generate(vh.defaultOptionList,this.definition)}checkDefinition(){Object.keys(this.definition).forEach(e=>{vh.defaultOptionList.indexOf(e)===-1&&console.warn("Invalid column definition option in '"+(this.field||this.definition.title)+"' column:",e)})}setField(e){this.field=e,this.fieldStructure=e?this.table.options.nestedFieldSeparator?e.split(this.table.options.nestedFieldSeparator):[e]:[],this.getFieldValue=this.fieldStructure.length>1?this._getNestedData:this._getFlatData,this.setFieldValue=this.fieldStructure.length>1?this._setNestedData:this._setFlatData}registerColumnPosition(e){this.parent.registerColumnPosition(e)}registerColumnField(e){this.parent.registerColumnField(e)}reRegisterPosition(){this.isGroup?this.columns.forEach(function(e){e.reRegisterPosition()}):this.registerColumnPosition(this)}_initialize(){for(var e=this.definition;this.element.firstChild;)this.element.removeChild(this.element.firstChild);e.headerVertical&&(this.element.classList.add("tabulator-col-vertical"),e.headerVertical==="flip"&&this.element.classList.add("tabulator-col-vertical-flip")),this.contentElement=this._buildColumnHeaderContent(),this.element.appendChild(this.contentElement),this.isGroup?this._buildGroupHeader():this._buildColumnHeader(),this.dispatch("column-init",this)}_buildColumnHeader(){var e=this.definition;if(this.dispatch("column-layout",this),typeof e.visible<"u"&&(e.visible?this.show(!0):this.hide(!0)),e.cssClass){var r=e.cssClass.split(" ");r.forEach(S=>{this.element.classList.add(S)})}e.field&&this.element.setAttribute("tabulator-field",e.field),this.setMinWidth(parseInt(e.minWidth)),e.maxInitialWidth&&(this.maxInitialWidth=parseInt(e.maxInitialWidth)),e.maxWidth&&this.setMaxWidth(parseInt(e.maxWidth)),this.reinitializeWidth(),this.hozAlign=this.definition.hozAlign,this.vertAlign=this.definition.vertAlign,this.titleElement.style.textAlign=this.definition.headerHozAlign}_buildColumnHeaderContent(){var e=document.createElement("div");return e.classList.add("tabulator-col-content"),this.titleHolderElement=document.createElement("div"),this.titleHolderElement.classList.add("tabulator-col-title-holder"),e.appendChild(this.titleHolderElement),this.titleElement=this._buildColumnHeaderTitle(),this.titleHolderElement.appendChild(this.titleElement),e}_buildColumnHeaderTitle(){var e=this.definition,r=document.createElement("div");if(r.classList.add("tabulator-col-title"),e.headerWordWrap&&r.classList.add("tabulator-col-title-wrap"),e.editableTitle){var S=document.createElement("input");S.classList.add("tabulator-title-editor"),S.addEventListener("click",D=>{D.stopPropagation(),S.focus()}),S.addEventListener("mousedown",D=>{D.stopPropagation()}),S.addEventListener("change",()=>{e.title=S.value,this.dispatchExternal("columnTitleChanged",this.getComponent())}),r.appendChild(S),e.field?this.langBind("columns|"+e.field,D=>{S.value=D||e.title||" "}):S.value=e.title||" "}else e.field?this.langBind("columns|"+e.field,D=>{this._formatColumnHeaderTitle(r,D||e.title||" ")}):this._formatColumnHeaderTitle(r,e.title||" ");return r}_formatColumnHeaderTitle(e,r){var S=this.chain("column-format",[this,r,e],null,()=>r);switch(typeof S){case"object":S instanceof Node?e.appendChild(S):(e.innerHTML="",console.warn("Format Error - Title formatter has returned a type of object, the only valid formatter object return is an instance of Node, the formatter returned:",S));break;case"undefined":e.innerHTML="";break;default:e.innerHTML=S}}_buildGroupHeader(){if(this.element.classList.add("tabulator-col-group"),this.element.setAttribute("role","columngroup"),this.element.setAttribute("aria-title",this.definition.title),this.definition.cssClass){var e=this.definition.cssClass.split(" ");e.forEach(r=>{this.element.classList.add(r)})}this.titleElement.style.textAlign=this.definition.headerHozAlign,this.element.appendChild(this.groupElement)}_getFlatData(e){return e[this.field]}_getNestedData(e){var r=e,S=this.fieldStructure,D=S.length,T;for(let p=0;p{r.push(S),r=r.concat(S.getColumns(!0))}):r=this.columns,r}getCells(){return this.cells}getTopColumn(){return this.parent.isGroup?this.parent.getTopColumn():this}getDefinition(e){var r=[];return this.isGroup&&e&&(this.columns.forEach(function(S){r.push(S.getDefinition(!0))}),this.definition.columns=r),this.definition}checkColumnVisibility(){var e=!1;this.columns.forEach(function(r){r.visible&&(e=!0)}),e?(this.show(),this.dispatchExternal("columnVisibilityChanged",this.getComponent(),!1)):this.hide()}show(e,r){this.visible||(this.visible=!0,this.element.style.display="",this.parent.isGroup&&this.parent.checkColumnVisibility(),this.cells.forEach(function(S){S.show()}),!this.isGroup&&this.width===null&&this.reinitializeWidth(),this.table.columnManager.verticalAlignHeaders(),this.dispatch("column-show",this,r),e||this.dispatchExternal("columnVisibilityChanged",this.getComponent(),!0),this.parent.isGroup&&this.parent.matchChildWidths(),this.silent||this.table.columnManager.rerenderColumns())}hide(e,r){this.visible&&(this.visible=!1,this.element.style.display="none",this.table.columnManager.verticalAlignHeaders(),this.parent.isGroup&&this.parent.checkColumnVisibility(),this.cells.forEach(function(S){S.hide()}),this.dispatch("column-hide",this,r),e||this.dispatchExternal("columnVisibilityChanged",this.getComponent(),!1),this.parent.isGroup&&this.parent.matchChildWidths(),this.silent||this.table.columnManager.rerenderColumns())}matchChildWidths(){var e=0;this.contentElement&&this.columns.length&&(this.columns.forEach(function(r){r.visible&&(e+=r.getWidth())}),this.contentElement.style.maxWidth=e-1+"px",this.parent.isGroup&&this.parent.matchChildWidths())}removeChild(e){var r=this.columns.indexOf(e);r>-1&&this.columns.splice(r,1),this.columns.length||this.delete()}setWidth(e){this.widthFixed=!0,this.setWidthActual(e)}setWidthActual(e){isNaN(e)&&(e=Math.floor(this.table.element.clientWidth/100*parseInt(e))),e=Math.max(this.minWidth,e),this.maxWidth&&(e=Math.min(this.maxWidth,e)),this.width=e,this.widthStyled=e?e+"px":"",this.element.style.width=this.widthStyled,this.isGroup||this.cells.forEach(function(r){r.setWidth()}),this.parent.isGroup&&this.parent.matchChildWidths(),this.dispatch("column-width",this)}checkCellHeights(){var e=[];this.cells.forEach(function(r){r.row.heightInitialized&&(r.row.getElement().offsetParent!==null?(e.push(r.row),r.row.clearCellHeight()):r.row.heightInitialized=!1)}),e.forEach(function(r){r.calcHeight()}),e.forEach(function(r){r.setCellHeight()})}getWidth(){var e=0;return this.isGroup?this.columns.forEach(function(r){r.visible&&(e+=r.getWidth())}):e=this.width,e}getLeftOffset(){var e=this.element.offsetLeft;return this.parent.isGroup&&(e+=this.parent.getLeftOffset()),e}getHeight(){return Math.ceil(this.element.getBoundingClientRect().height)}setMinWidth(e){this.maxWidth&&e>this.maxWidth&&(e=this.maxWidth,console.warn("the minWidth ("+e+"px) for column '"+this.field+"' cannot be bigger that its maxWidth ("+this.maxWidthStyled+")")),this.minWidth=e,this.minWidthStyled=e?e+"px":"",this.element.style.minWidth=this.minWidthStyled,this.cells.forEach(function(r){r.setMinWidth()})}setMaxWidth(e){this.minWidth&&e{this.isGroup&&this.columns.forEach(function(D){D.delete()}),this.dispatch("column-delete",this);var S=this.cells.length;for(let D=0;D-1?this._nextVisibleColumn(e+1):!1}_nextVisibleColumn(e){var r=this.table.columnManager.getColumnByIndex(e);return!r||r.visible?r:this._nextVisibleColumn(e+1)}prevColumn(){var e=this.table.columnManager.findColumnIndex(this);return e>-1?this._prevVisibleColumn(e-1):!1}_prevVisibleColumn(e){var r=this.table.columnManager.getColumnByIndex(e);return!r||r.visible?r:this._prevVisibleColumn(e-1)}reinitializeWidth(e){this.widthFixed=!1,typeof this.definition.width<"u"&&!e&&this.setWidth(this.definition.width),this.dispatch("column-width-fit-before",this),this.fitToData(e),this.dispatch("column-width-fit-after",this)}fitToData(e){if(!this.isGroup){this.widthFixed||(this.element.style.width="",this.cells.forEach(D=>{D.clearWidth()}));var r=this.element.offsetWidth;if((!this.width||!this.widthFixed)&&(this.cells.forEach(D=>{var T=D.getWidth();T>r&&(r=T)}),r)){var S=r+1;this.maxInitialWidth&&!e&&(S=Math.min(S,this.maxInitialWidth)),this.setWidthActual(S)}}}updateDefinition(e){var r;return this.isGroup||this.parent.isGroup?(console.error("Column Update Error - The updateDefinition function is only available on ungrouped columns"),Promise.reject("Column Update Error - The updateDefinition function is only available on columns, not column groups")):(r=Object.assign({},this.getDefinition()),r=Object.assign(r,e),this.table.columnManager.addColumn(r,!1,this).then(S=>(r.field==this.field&&(this.field=!1),this.delete().then(()=>S.getComponent()))))}deleteCell(e){var r=this.cells.indexOf(e);r>-1&&this.cells.splice(r,1)}getComponent(){return this.component||(this.component=new RM(this)),this.component}getPosition(){return this.table.columnManager.getVisibleColumnsByIndex().indexOf(this)+1}}vh.defaultOptionList=PM;class Wy{constructor(e){return this._row=e,new Proxy(this,{get:function(r,S,D){return typeof r[S]<"u"?r[S]:r._row.table.componentFunctionBinder.handle("row",r._row,S)}})}getData(e){return this._row.getData(e)}getElement(){return this._row.getElement()}getCells(){var e=[];return this._row.getCells().forEach(function(r){e.push(r.getComponent())}),e}getCell(e){var r=this._row.getCell(e);return r?r.getComponent():!1}getIndex(){return this._row.getData("data")[this._row.table.options.index]}getPosition(){return this._row.getPosition()}watchPosition(e){return this._row.watchPosition(e)}delete(){return this._row.delete()}scrollTo(e,r){return this._row.table.rowManager.scrollToRow(this._row,e,r)}move(e,r){this._row.moveToRow(e,r)}update(e){return this._row.updateData(e)}normalizeHeight(){this._row.normalizeHeight(!0)}_getSelf(){return this._row}reformat(){return this._row.reinitialize()}getTable(){return this._row.table}getNextRow(){var e=this._row.nextRow();return e&&e.getComponent()}getPrevRow(){var e=this._row.prevRow();return e&&e.getComponent()}}class vl extends Ml{constructor(e,r,S="row"){super(r.table),this.parent=r,this.data={},this.type=S,this.element=!1,this.modules={},this.cells=[],this.height=0,this.heightStyled="",this.manualHeight=!1,this.outerHeight=0,this.initialized=!1,this.heightInitialized=!1,this.position=0,this.positionWatchers=[],this.component=null,this.created=!1,this.setData(e)}create(){this.created||(this.created=!0,this.generateElement())}createElement(){var e=document.createElement("div");e.classList.add("tabulator-row"),e.setAttribute("role","row"),this.element=e}getElement(){return this.create(),this.element}detachElement(){this.element&&this.element.parentNode&&this.element.parentNode.removeChild(this.element)}generateElement(){this.createElement(),this.dispatch("row-init",this)}generateCells(){this.cells=this.table.columnManager.generateCells(this)}initialize(e,r){if(this.create(),!this.initialized||e){for(this.deleteCells();this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.dispatch("row-layout-before",this),this.generateCells(),this.initialized=!0,this.table.columnManager.renderer.renderRowCells(this,r),e&&this.normalizeHeight(),this.dispatch("row-layout",this),this.table.options.rowFormatter&&this.table.options.rowFormatter(this.getComponent()),this.dispatch("row-layout-after",this)}else this.table.columnManager.renderer.rerenderRowCells(this,r)}rendered(){this.cells.forEach(e=>{e.cellRendered()})}reinitializeHeight(){this.heightInitialized=!1,this.element&&this.element.offsetParent!==null&&this.normalizeHeight(!0)}deinitialize(){this.initialized=!1}deinitializeHeight(){this.heightInitialized=!1}reinitialize(e){this.initialized=!1,this.heightInitialized=!1,this.manualHeight||(this.height=0,this.heightStyled=""),this.element&&this.element.offsetParent!==null&&this.initialize(!0),this.dispatch("row-relayout",this)}calcHeight(e){var r=0,S;this.table.options.rowHeight?this.height=this.table.options.rowHeight:(S=this.table.options.resizableRows?this.element.clientHeight:0,this.cells.forEach(function(D){var T=D.getHeight();T>r&&(r=T)}),e?this.height=Math.max(r,S):this.height=this.manualHeight?this.height:Math.max(r,S)),this.heightStyled=this.height?this.height+"px":"",this.outerHeight=this.element.offsetHeight}setCellHeight(){this.cells.forEach(function(e){e.setHeight()}),this.heightInitialized=!0}clearCellHeight(){this.cells.forEach(function(e){e.clearHeight()})}normalizeHeight(e){e&&!this.table.options.rowHeight&&this.clearCellHeight(),this.calcHeight(e),this.setCellHeight()}setHeight(e,r){(this.height!=e||r)&&(this.manualHeight=!0,this.height=e,this.heightStyled=e?e+"px":"",this.setCellHeight(),this.outerHeight=this.element.offsetHeight)}getHeight(){return this.outerHeight}getWidth(){return this.element.offsetWidth}deleteCell(e){var r=this.cells.indexOf(e);r>-1&&this.cells.splice(r,1)}setData(e){this.data=this.chain("row-data-init-before",[this,e],void 0,e),this.dispatch("row-data-init-after",this)}updateData(e){var r=this.element&&so.elVisible(this.element),S={},D;return new Promise((T,p)=>{typeof e=="string"&&(e=JSON.parse(e)),this.dispatch("row-data-save-before",this),this.subscribed("row-data-changing")&&(S=Object.assign(S,this.data),S=Object.assign(S,e)),D=this.chain("row-data-changing",[this,S,e],null,e);for(let t in D)this.data[t]=D[t];this.dispatch("row-data-save-after",this);for(let t in e)this.table.columnManager.getColumnsByFieldRoot(t).forEach(g=>{let i=this.getCell(g.getField());if(i){let M=g.getFieldValue(D);i.getValue()!==M&&(i.setValueProcessData(M),r&&i.cellRendered())}});r?(this.normalizeHeight(!0),this.table.options.rowFormatter&&this.table.options.rowFormatter(this.getComponent())):(this.initialized=!1,this.height=0,this.heightStyled=""),this.dispatch("row-data-changed",this,r,e),this.dispatchExternal("rowUpdated",this.getComponent()),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.table.rowManager.getData()),T()})}getData(e){return e?this.chain("row-data-retrieve",[this,e],null,this.data):this.data}getCell(e){var r=!1;return e=this.table.columnManager.findColumn(e),!this.initialized&&this.cells.length===0&&this.generateCells(),r=this.cells.find(function(S){return S.column===e}),r}getCellIndex(e){return this.cells.findIndex(function(r){return r===e})}findCell(e){return this.cells.find(r=>r.element===e)}getCells(){return!this.initialized&&this.cells.length===0&&this.generateCells(),this.cells}nextRow(){var e=this.table.rowManager.nextDisplayRow(this,!0);return e||!1}prevRow(){var e=this.table.rowManager.prevDisplayRow(this,!0);return e||!1}moveToRow(e,r){var S=this.table.rowManager.findRow(e);S?(this.table.rowManager.moveRowActual(this,S,!r),this.table.rowManager.refreshActiveData("display",!1,!0)):console.warn("Move Error - No matching row found:",e)}delete(){return this.dispatch("row-delete",this),this.deleteActual(),Promise.resolve()}deleteActual(e){this.detachModules(),this.table.rowManager.deleteRow(this,e),this.deleteCells(),this.initialized=!1,this.heightInitialized=!1,this.element=!1,this.dispatch("row-deleted",this)}detachModules(){this.dispatch("row-deleting",this)}deleteCells(){var e=this.cells.length;for(let r=0;r{r(this.position)}))}watchPosition(e){this.positionWatchers.push(e),e(this.position)}getGroup(){return this.modules.group||!1}getComponent(){return this.component||(this.component=new Wy(this)),this.component}}var vR={avg:function(n,e,r){var S=0,D=typeof r.precision<"u"?r.precision:2;return n.length&&(S=n.reduce(function(T,p){return Number(T)+Number(p)}),S=S/n.length,S=D!==!1?S.toFixed(D):S),parseFloat(S).toString()},max:function(n,e,r){var S=null,D=typeof r.precision<"u"?r.precision:!1;return n.forEach(function(T){T=Number(T),(T>S||S===null)&&(S=T)}),S!==null?D!==!1?S.toFixed(D):S:""},min:function(n,e,r){var S=null,D=typeof r.precision<"u"?r.precision:!1;return n.forEach(function(T){T=Number(T),(T(n||D===0)&&n.indexOf(D)===T);return S.length}};class zf extends qi{constructor(e){super(e),this.topCalcs=[],this.botCalcs=[],this.genColumn=!1,this.topElement=this.createElement(),this.botElement=this.createElement(),this.topRow=!1,this.botRow=!1,this.topInitialized=!1,this.botInitialized=!1,this.blocked=!1,this.recalcAfterBlock=!1,this.registerTableOption("columnCalcs",!0),this.registerColumnOption("topCalc"),this.registerColumnOption("topCalcParams"),this.registerColumnOption("topCalcFormatter"),this.registerColumnOption("topCalcFormatterParams"),this.registerColumnOption("bottomCalc"),this.registerColumnOption("bottomCalcParams"),this.registerColumnOption("bottomCalcFormatter"),this.registerColumnOption("bottomCalcFormatterParams")}createElement(){var e=document.createElement("div");return e.classList.add("tabulator-calcs-holder"),e}initialize(){this.genColumn=new vh({field:"value"},this),this.subscribe("cell-value-changed",this.cellValueChanged.bind(this)),this.subscribe("column-init",this.initializeColumnCheck.bind(this)),this.subscribe("row-deleted",this.rowsUpdated.bind(this)),this.subscribe("scroll-horizontal",this.scrollHorizontal.bind(this)),this.subscribe("row-added",this.rowsUpdated.bind(this)),this.subscribe("column-moved",this.recalcActiveRows.bind(this)),this.subscribe("column-add",this.recalcActiveRows.bind(this)),this.subscribe("data-refreshed",this.recalcActiveRowsRefresh.bind(this)),this.subscribe("table-redraw",this.tableRedraw.bind(this)),this.subscribe("rows-visible",this.visibleRows.bind(this)),this.subscribe("scrollbar-vertical",this.adjustForScrollbar.bind(this)),this.subscribe("redraw-blocked",this.blockRedraw.bind(this)),this.subscribe("redraw-restored",this.restoreRedraw.bind(this)),this.subscribe("table-redrawing",this.resizeHolderWidth.bind(this)),this.subscribe("column-resized",this.resizeHolderWidth.bind(this)),this.subscribe("column-show",this.resizeHolderWidth.bind(this)),this.subscribe("column-hide",this.resizeHolderWidth.bind(this)),this.registerTableFunction("getCalcResults",this.getResults.bind(this)),this.registerTableFunction("recalc",this.userRecalc.bind(this)),this.resizeHolderWidth()}resizeHolderWidth(){this.topElement.style.minWidth=this.table.columnManager.headersElement.offsetWidth+"px"}tableRedraw(e){this.recalc(this.table.rowManager.activeRows),e&&this.redraw()}blockRedraw(){this.blocked=!0,this.recalcAfterBlock=!1}restoreRedraw(){this.blocked=!1,this.recalcAfterBlock&&(this.recalcAfterBlock=!1,this.recalcActiveRowsRefresh())}userRecalc(){this.recalc(this.table.rowManager.activeRows)}blockCheck(){return this.blocked&&(this.recalcAfterBlock=!0),this.blocked}visibleRows(e,r){return this.topRow&&r.unshift(this.topRow),this.botRow&&r.push(this.botRow),r}rowsUpdated(e){this.table.options.groupBy?this.recalcRowGroup(e):this.recalcActiveRows()}recalcActiveRowsRefresh(){this.table.options.groupBy&&this.table.options.dataTreeStartExpanded&&this.table.options.dataTree?this.recalcAll():this.recalcActiveRows()}recalcActiveRows(){this.recalc(this.table.rowManager.activeRows)}cellValueChanged(e){(e.column.definition.topCalc||e.column.definition.bottomCalc)&&(this.table.options.groupBy?((this.table.options.columnCalcs=="table"||this.table.options.columnCalcs=="both")&&this.recalcActiveRows(),this.table.options.columnCalcs!="table"&&this.recalcRowGroup(e.row)):this.recalcActiveRows())}initializeColumnCheck(e){(e.definition.topCalc||e.definition.bottomCalc)&&this.initializeColumn(e)}initializeColumn(e){var r=e.definition,S={topCalcParams:r.topCalcParams||{},botCalcParams:r.bottomCalcParams||{}};if(r.topCalc){switch(typeof r.topCalc){case"string":zf.calculations[r.topCalc]?S.topCalc=zf.calculations[r.topCalc]:console.warn("Column Calc Error - No such calculation found, ignoring: ",r.topCalc);break;case"function":S.topCalc=r.topCalc;break}S.topCalc&&(e.modules.columnCalcs=S,this.topCalcs.push(e),this.table.options.columnCalcs!="group"&&this.initializeTopRow())}if(r.bottomCalc){switch(typeof r.bottomCalc){case"string":zf.calculations[r.bottomCalc]?S.botCalc=zf.calculations[r.bottomCalc]:console.warn("Column Calc Error - No such calculation found, ignoring: ",r.bottomCalc);break;case"function":S.botCalc=r.bottomCalc;break}S.botCalc&&(e.modules.columnCalcs=S,this.botCalcs.push(e),this.table.options.columnCalcs!="group"&&this.initializeBottomRow())}}registerColumnField(){}removeCalcs(){var e=!1;this.topInitialized&&(this.topInitialized=!1,this.topElement.parentNode.removeChild(this.topElement),e=!0),this.botInitialized&&(this.botInitialized=!1,this.footerRemove(this.botElement),e=!0),e&&this.table.rowManager.adjustTableSize()}reinitializeCalcs(){this.topCalcs.length&&this.initializeTopRow(),this.botCalcs.length&&this.initializeBottomRow()}initializeTopRow(){var e=document.createDocumentFragment();this.topInitialized||(e.appendChild(document.createElement("br")),e.appendChild(this.topElement),this.table.columnManager.getContentsElement().insertBefore(e,this.table.columnManager.headersElement.nextSibling),this.topInitialized=!0)}initializeBottomRow(){this.botInitialized||(this.footerPrepend(this.botElement),this.botInitialized=!0)}scrollHorizontal(e){this.botInitialized&&this.botRow&&(this.botElement.scrollLeft=e)}recalc(e){var r,S;if(!this.blockCheck()&&(this.topInitialized||this.botInitialized)){if(r=this.rowsToData(e),this.topInitialized){for(this.topRow&&this.topRow.deleteCells(),S=this.generateRow("top",r),this.topRow=S;this.topElement.firstChild;)this.topElement.removeChild(this.topElement.firstChild);this.topElement.appendChild(S.getElement()),S.initialize(!0)}if(this.botInitialized){for(this.botRow&&this.botRow.deleteCells(),S=this.generateRow("bottom",r),this.botRow=S;this.botElement.firstChild;)this.botElement.removeChild(this.botElement.firstChild);this.botElement.appendChild(S.getElement()),S.initialize(!0)}this.table.rowManager.adjustTableSize(),this.table.modExists("frozenColumns")&&this.table.modules.frozenColumns.layout()}}recalcRowGroup(e){this.recalcGroup(this.table.modules.groupRows.getRowGroup(e))}recalcAll(){if((this.topCalcs.length||this.botCalcs.length)&&(this.table.options.columnCalcs!=="group"&&this.recalcActiveRows(),this.table.options.groupBy&&this.table.options.columnCalcs!=="table")){var e=this.table.modules.groupRows.getChildGroups();e.forEach(r=>{this.recalcGroup(r)})}}recalcGroup(e){var r,S;this.blockCheck()||e&&e.calcs&&(e.calcs.bottom&&(r=this.rowsToData(e.rows),S=this.generateRowData("bottom",r),e.calcs.bottom.updateData(S),e.calcs.bottom.reinitialize()),e.calcs.top&&(r=this.rowsToData(e.rows),S=this.generateRowData("top",r),e.calcs.top.updateData(S),e.calcs.top.reinitialize()))}generateTopRow(e){return this.generateRow("top",this.rowsToData(e))}generateBottomRow(e){return this.generateRow("bottom",this.rowsToData(e))}rowsToData(e){var r=[];return e.forEach(S=>{if(r.push(S.getData()),this.table.options.dataTree&&this.table.options.dataTreeChildColumnCalcs&&S.modules.dataTree&&S.modules.dataTree.open){var D=this.rowsToData(this.table.modules.dataTree.getFilteredTreeChildren(S));r=r.concat(D)}}),r}generateRow(e,r){var S=this.generateRowData(e,r),D;return this.table.modExists("mutator")&&this.table.modules.mutator.disable(),D=new vl(S,this,"calc"),this.table.modExists("mutator")&&this.table.modules.mutator.enable(),D.getElement().classList.add("tabulator-calcs","tabulator-calcs-"+e),D.component=!1,D.getComponent=()=>(D.component||(D.component=new gR(D)),D.component),D.generateCells=()=>{var T=[];this.table.columnManager.columnsByIndex.forEach(p=>{this.genColumn.setField(p.getField()),this.genColumn.hozAlign=p.hozAlign,p.definition[e+"CalcFormatter"]&&this.table.modExists("format")?this.genColumn.modules.format={formatter:this.table.modules.format.getFormatter(p.definition[e+"CalcFormatter"]),params:p.definition[e+"CalcFormatterParams"]||{}}:this.genColumn.modules.format={formatter:this.table.modules.format.getFormatter("plaintext"),params:{}},this.genColumn.definition.cssClass=p.definition.cssClass;var t=new eg(this.genColumn,D);t.getElement(),t.column=p,t.setWidth(),p.cells.push(t),T.push(t),p.visible||t.hide()}),D.cells=T},D}generateRowData(e,r){var S={},D=e=="top"?this.topCalcs:this.botCalcs,T=e=="top"?"topCalc":"botCalc",p,t;return D.forEach(function(d){var g=[];d.modules.columnCalcs&&d.modules.columnCalcs[T]&&(r.forEach(function(i){g.push(d.getFieldValue(i))}),t=T+"Params",p=typeof d.modules.columnCalcs[t]=="function"?d.modules.columnCalcs[t](g,r):d.modules.columnCalcs[t],d.setFieldValue(S,d.modules.columnCalcs[T](g,r,p)))}),S}hasTopCalcs(){return!!this.topCalcs.length}hasBottomCalcs(){return!!this.botCalcs.length}redraw(){this.topRow&&this.topRow.normalizeHeight(!0),this.botRow&&this.botRow.normalizeHeight(!0)}getResults(){var e={},r;return this.table.options.groupBy&&this.table.modExists("groupRows")?(r=this.table.modules.groupRows.getGroups(!0),r.forEach(S=>{e[S.getKey()]=this.getGroupResults(S)})):e={top:this.topRow?this.topRow.getData():{},bottom:this.botRow?this.botRow.getData():{}},e}getGroupResults(e){var r=e._getSelf(),S=e.getSubGroups(),D={},T={};return S.forEach(p=>{D[p.getKey()]=this.getGroupResults(p)}),T={top:r.calcs.top?r.calcs.top.getData():{},bottom:r.calcs.bottom?r.calcs.bottom.getData():{},groups:D},T}adjustForScrollbar(e){this.botRow&&(this.table.rtl?this.botElement.style.paddingLeft=e+"px":this.botElement.style.paddingRight=e+"px")}}zf.moduleName="columnCalcs";zf.calculations=vR;class OM extends qi{constructor(e){super(e),this.indent=10,this.field="",this.collapseEl=null,this.expandEl=null,this.branchEl=null,this.elementField=!1,this.startOpen=function(){},this.registerTableOption("dataTree",!1),this.registerTableOption("dataTreeFilter",!0),this.registerTableOption("dataTreeSort",!0),this.registerTableOption("dataTreeElementColumn",!1),this.registerTableOption("dataTreeBranchElement",!0),this.registerTableOption("dataTreeChildIndent",9),this.registerTableOption("dataTreeChildField","_children"),this.registerTableOption("dataTreeCollapseElement",!1),this.registerTableOption("dataTreeExpandElement",!1),this.registerTableOption("dataTreeStartExpanded",!1),this.registerTableOption("dataTreeChildColumnCalcs",!1),this.registerTableOption("dataTreeSelectPropagate",!1),this.registerComponentFunction("row","treeCollapse",this.collapseRow.bind(this)),this.registerComponentFunction("row","treeExpand",this.expandRow.bind(this)),this.registerComponentFunction("row","treeToggle",this.toggleRow.bind(this)),this.registerComponentFunction("row","getTreeParent",this.getTreeParent.bind(this)),this.registerComponentFunction("row","getTreeChildren",this.getRowChildren.bind(this)),this.registerComponentFunction("row","addTreeChild",this.addTreeChildRow.bind(this)),this.registerComponentFunction("row","isTreeExpanded",this.isRowExpanded.bind(this))}initialize(){if(this.table.options.dataTree){var e=null,r=this.table.options;switch(this.field=r.dataTreeChildField,this.indent=r.dataTreeChildIndent,this.options("movableRows")&&console.warn("The movableRows option is not available with dataTree enabled, moving of child rows could result in unpredictable behavior"),r.dataTreeBranchElement?r.dataTreeBranchElement===!0?(this.branchEl=document.createElement("div"),this.branchEl.classList.add("tabulator-data-tree-branch")):typeof r.dataTreeBranchElement=="string"?(e=document.createElement("div"),e.innerHTML=r.dataTreeBranchElement,this.branchEl=e.firstChild):this.branchEl=r.dataTreeBranchElement:(this.branchEl=document.createElement("div"),this.branchEl.classList.add("tabulator-data-tree-branch-empty")),r.dataTreeCollapseElement?typeof r.dataTreeCollapseElement=="string"?(e=document.createElement("div"),e.innerHTML=r.dataTreeCollapseElement,this.collapseEl=e.firstChild):this.collapseEl=r.dataTreeCollapseElement:(this.collapseEl=document.createElement("div"),this.collapseEl.classList.add("tabulator-data-tree-control"),this.collapseEl.tabIndex=0,this.collapseEl.innerHTML="
"),r.dataTreeExpandElement?typeof r.dataTreeExpandElement=="string"?(e=document.createElement("div"),e.innerHTML=r.dataTreeExpandElement,this.expandEl=e.firstChild):this.expandEl=r.dataTreeExpandElement:(this.expandEl=document.createElement("div"),this.expandEl.classList.add("tabulator-data-tree-control"),this.expandEl.tabIndex=0,this.expandEl.innerHTML="
"),typeof r.dataTreeStartExpanded){case"boolean":this.startOpen=function(S,D){return r.dataTreeStartExpanded};break;case"function":this.startOpen=r.dataTreeStartExpanded;break;default:this.startOpen=function(S,D){return r.dataTreeStartExpanded[D]};break}this.subscribe("row-init",this.initializeRow.bind(this)),this.subscribe("row-layout-after",this.layoutRow.bind(this)),this.subscribe("row-deleted",this.rowDelete.bind(this),0),this.subscribe("row-data-changed",this.rowDataChanged.bind(this),10),this.subscribe("cell-value-updated",this.cellValueChanged.bind(this)),this.subscribe("edit-cancelled",this.cellValueChanged.bind(this)),this.subscribe("column-moving-rows",this.columnMoving.bind(this)),this.subscribe("table-built",this.initializeElementField.bind(this)),this.subscribe("table-redrawing",this.tableRedrawing.bind(this)),this.registerDisplayHandler(this.getRows.bind(this),30)}}tableRedrawing(e){var r;e&&(r=this.table.rowManager.getRows(),r.forEach(S=>{this.reinitializeRowChildren(S)}))}initializeElementField(){var e=this.table.columnManager.getFirstVisibleColumn();this.elementField=this.table.options.dataTreeElementColumn||(e?e.field:!1)}getRowChildren(e){return this.getTreeChildren(e,!0)}columnMoving(){var e=[];return this.table.rowManager.rows.forEach(r=>{e=e.concat(this.getTreeChildren(r,!1,!0))}),e}rowDataChanged(e,r,S){this.redrawNeeded(S)&&(this.initializeRow(e),r&&(this.layoutRow(e),this.refreshData(!0)))}cellValueChanged(e){var r=e.column.getField();r===this.elementField&&this.layoutRow(e.row)}initializeRow(e){var r=e.getData()[this.field],S=Array.isArray(r),D=S||!S&&typeof r=="object"&&r!==null;!D&&e.modules.dataTree&&e.modules.dataTree.branchEl&&e.modules.dataTree.branchEl.parentNode.removeChild(e.modules.dataTree.branchEl),!D&&e.modules.dataTree&&e.modules.dataTree.controlEl&&e.modules.dataTree.controlEl.parentNode.removeChild(e.modules.dataTree.controlEl),e.modules.dataTree={index:e.modules.dataTree?e.modules.dataTree.index:0,open:D?e.modules.dataTree?e.modules.dataTree.open:this.startOpen(e.getComponent(),0):!1,controlEl:e.modules.dataTree&&D?e.modules.dataTree.controlEl:!1,branchEl:e.modules.dataTree&&D?e.modules.dataTree.branchEl:!1,parent:e.modules.dataTree?e.modules.dataTree.parent:!1,children:D}}reinitializeRowChildren(e){var r=this.getTreeChildren(e,!1,!0);r.forEach(function(S){S.reinitialize(!0)})}layoutRow(e){var r=this.elementField?e.getCell(this.elementField):e.getCells()[0],S=r.getElement(),D=e.modules.dataTree;D.branchEl&&(D.branchEl.parentNode&&D.branchEl.parentNode.removeChild(D.branchEl),D.branchEl=!1),D.controlEl&&(D.controlEl.parentNode&&D.controlEl.parentNode.removeChild(D.controlEl),D.controlEl=!1),this.generateControlElement(e,S),e.getElement().classList.add("tabulator-tree-level-"+D.index),D.index&&(this.branchEl?(D.branchEl=this.branchEl.cloneNode(!0),S.insertBefore(D.branchEl,S.firstChild),this.table.rtl?D.branchEl.style.marginRight=(D.branchEl.offsetWidth+D.branchEl.style.marginLeft)*(D.index-1)+D.index*this.indent+"px":D.branchEl.style.marginLeft=(D.branchEl.offsetWidth+D.branchEl.style.marginRight)*(D.index-1)+D.index*this.indent+"px"):this.table.rtl?S.style.paddingRight=parseInt(window.getComputedStyle(S,null).getPropertyValue("padding-right"))+D.index*this.indent+"px":S.style.paddingLeft=parseInt(window.getComputedStyle(S,null).getPropertyValue("padding-left"))+D.index*this.indent+"px")}generateControlElement(e,r){var S=e.modules.dataTree,D=S.controlEl;r=r||e.getCells()[0].getElement(),S.children!==!1&&(S.open?(S.controlEl=this.collapseEl.cloneNode(!0),S.controlEl.addEventListener("click",T=>{T.stopPropagation(),this.collapseRow(e)})):(S.controlEl=this.expandEl.cloneNode(!0),S.controlEl.addEventListener("click",T=>{T.stopPropagation(),this.expandRow(e)})),S.controlEl.addEventListener("mousedown",T=>{T.stopPropagation()}),D&&D.parentNode===r?D.parentNode.replaceChild(S.controlEl,D):r.insertBefore(S.controlEl,r.firstChild))}getRows(e){var r=[];return e.forEach((S,D)=>{var T,p;r.push(S),S instanceof vl&&(S.create(),T=S.modules.dataTree,!T.index&&T.children!==!1&&(p=this.getChildren(S),p.forEach(t=>{t.create(),r.push(t)})))}),r}getChildren(e,r){var S=e.modules.dataTree,D=[],T=[];return S.children!==!1&&(S.open||r)&&(Array.isArray(S.children)||(S.children=this.generateChildren(e)),this.table.modExists("filter")&&this.table.options.dataTreeFilter?D=this.table.modules.filter.filter(S.children):D=S.children,this.table.modExists("sort")&&this.table.options.dataTreeSort&&this.table.modules.sort.sort(D),D.forEach(p=>{T.push(p);var t=this.getChildren(p);t.forEach(d=>{T.push(d)})})),T}generateChildren(e){var r=[],S=e.getData()[this.field];return Array.isArray(S)||(S=[S]),S.forEach(D=>{var T=new vl(D||{},this.table.rowManager);T.create(),T.modules.dataTree.index=e.modules.dataTree.index+1,T.modules.dataTree.parent=e,T.modules.dataTree.children&&(T.modules.dataTree.open=this.startOpen(T.getComponent(),T.modules.dataTree.index)),r.push(T)}),r}expandRow(e,r){var S=e.modules.dataTree;S.children!==!1&&(S.open=!0,e.reinitialize(),this.refreshData(!0),this.dispatchExternal("dataTreeRowExpanded",e.getComponent(),e.modules.dataTree.index))}collapseRow(e){var r=e.modules.dataTree;r.children!==!1&&(r.open=!1,e.reinitialize(),this.refreshData(!0),this.dispatchExternal("dataTreeRowCollapsed",e.getComponent(),e.modules.dataTree.index))}toggleRow(e){var r=e.modules.dataTree;r.children!==!1&&(r.open?this.collapseRow(e):this.expandRow(e))}isRowExpanded(e){return e.modules.dataTree.open}getTreeParent(e){return e.modules.dataTree.parent?e.modules.dataTree.parent.getComponent():!1}getTreeParentRoot(e){return e.modules.dataTree&&e.modules.dataTree.parent?this.getTreeParentRoot(e.modules.dataTree.parent):e}getFilteredTreeChildren(e){var r=e.modules.dataTree,S=[],D;return r.children&&(Array.isArray(r.children)||(r.children=this.generateChildren(e)),this.table.modExists("filter")&&this.table.options.dataTreeFilter?D=this.table.modules.filter.filter(r.children):D=r.children,D.forEach(T=>{T instanceof vl&&S.push(T)})),S}rowDelete(e){var r=e.modules.dataTree.parent,S;r&&(S=this.findChildIndex(e,r),S!==!1&&r.data[this.field].splice(S,1),r.data[this.field].length||delete r.data[this.field],this.initializeRow(r),this.layoutRow(r)),this.refreshData(!0)}addTreeChildRow(e,r,S,D){var T=!1;typeof r=="string"&&(r=JSON.parse(r)),Array.isArray(e.data[this.field])||(e.data[this.field]=[],e.modules.dataTree.open=this.startOpen(e.getComponent(),e.modules.dataTree.index)),typeof D<"u"&&(T=this.findChildIndex(D,e),T!==!1&&e.data[this.field].splice(S?T:T+1,0,r)),T===!1&&(S?e.data[this.field].unshift(r):e.data[this.field].push(r)),this.initializeRow(e),this.layoutRow(e),this.refreshData(!0)}findChildIndex(e,r){var S=!1;return typeof e=="object"?e instanceof vl?S=e.data:e instanceof Wy?S=e._getSelf().data:typeof HTMLElement<"u"&&e instanceof HTMLElement?r.modules.dataTree&&(S=r.modules.dataTree.children.find(D=>D instanceof vl?D.element===e:!1),S&&(S=S.data)):e===null&&(S=!1):typeof e>"u"?S=!1:S=r.data[this.field].find(D=>D.data[this.table.options.index]==e),S&&(Array.isArray(r.data[this.field])&&(S=r.data[this.field].indexOf(S)),S==-1&&(S=!1)),S}getTreeChildren(e,r,S){var D=e.modules.dataTree,T=[];return D&&D.children&&(Array.isArray(D.children)||(D.children=this.generateChildren(e)),D.children.forEach(p=>{p instanceof vl&&(T.push(r?p.getComponent():p),S&&(T=T.concat(this.getTreeChildren(p,r,S))))})),T}getChildField(){return this.field}redrawNeeded(e){return(this.field?typeof e[this.field]<"u":!1)||(this.elementField?typeof e[this.elementField]<"u":!1)}}OM.moduleName="dataTree";function yR(n,e={},r){var S=e.delimiter?e.delimiter:",",D=[],T=[];n.forEach(p=>{var t=[];switch(p.type){case"group":console.warn("Download Warning - CSV downloader cannot process row groups");break;case"calc":console.warn("Download Warning - CSV downloader cannot process column calculations");break;case"header":p.columns.forEach((d,g)=>{d&&d.depth===1&&(T[g]=typeof d.value>"u"||d.value===null?"":'"'+String(d.value).split('"').join('""')+'"')});break;case"row":p.columns.forEach(d=>{if(d){switch(typeof d.value){case"object":d.value=d.value!==null?JSON.stringify(d.value):"";break;case"undefined":d.value="";break}t.push('"'+String(d.value).split('"').join('""')+'"')}}),D.push(t.join(S));break}}),T.length&&D.unshift(T.join(S)),D=D.join(` -`),e.bom&&(D="\uFEFF"+D),r(D,"text/csv")}function bR(n,e,r){var S=[];n.forEach(D=>{var T={};switch(D.type){case"header":break;case"group":console.warn("Download Warning - JSON downloader cannot process row groups");break;case"calc":console.warn("Download Warning - JSON downloader cannot process column calculations");break;case"row":D.columns.forEach(p=>{p&&(T[p.component.getTitleDownload()||p.component.getField()]=p.value)}),S.push(T);break}}),S=JSON.stringify(S,null," "),r(S,"application/json")}function xR(n,e={},r){var S=[],D=[],T={},p=e.rowGroupStyles||{fontStyle:"bold",fontSize:12,cellPadding:6,fillColor:220},t=e.rowCalcStyles||{fontStyle:"bold",fontSize:10,cellPadding:4,fillColor:232},d=e.jsPDF||{},g=e.title?e.title:"";d.orientation||(d.orientation=e.orientation||"landscape"),d.unit||(d.unit="pt"),n.forEach(v=>{switch(v.type){case"header":S.push(i(v));break;case"group":D.push(i(v,p));break;case"calc":D.push(i(v,t));break;case"row":D.push(i(v));break}});function i(v,f){var l=[];return v.columns.forEach(a=>{var u;if(a){switch(typeof a.value){case"object":a.value=a.value!==null?JSON.stringify(a.value):"";break;case"undefined":a.value="";break}u={content:a.value,colSpan:a.width,rowSpan:a.height},f&&(u.styles=f),l.push(u)}}),l}var M=new jspdf.jsPDF(d);e.autoTable&&(typeof e.autoTable=="function"?T=e.autoTable(M)||{}:T=e.autoTable),g&&(T.didDrawPage=function(v){M.text(g,40,30)}),T.head=S,T.body=D,M.autoTable(T),e.documentProcessing&&e.documentProcessing(M),r(M.output("arraybuffer"),"application/pdf")}function _R(n,e,r){var S=this,D=e.sheetName||"Sheet1",T=XLSX.utils.book_new(),p=new Ml(this),t="compress"in e?e.compress:!0,d=e.writeOptions||{bookType:"xlsx",bookSST:!0,compression:t},g;d.type="binary",T.SheetNames=[],T.Sheets={};function i(){var f=[],l=[],a={},u={s:{c:0,r:0},e:{c:n[0]?n[0].columns.reduce((o,s)=>o+(s&&s.width?s.width:1),0):0,r:n.length}};return n.forEach((o,s)=>{var h=[];o.columns.forEach(function(c,m){c?(h.push(!(c.value instanceof Date)&&typeof c.value=="object"?JSON.stringify(c.value):c.value),(c.width>1||c.height>-1)&&(c.height>1||c.width>1)&&l.push({s:{r:s,c:m},e:{r:s+c.height-1,c:m+c.width-1}})):h.push("")}),f.push(h)}),XLSX.utils.sheet_add_aoa(a,f),a["!ref"]=XLSX.utils.encode_range(u),l.length&&(a["!merges"]=l),a}if(e.sheetOnly){r(i());return}if(e.sheets)for(var M in e.sheets)e.sheets[M]===!0?(T.SheetNames.push(M),T.Sheets[M]=i()):(T.SheetNames.push(M),p.commsSend(e.sheets[M],"download","intercept",{type:"xlsx",options:{sheetOnly:!0},active:S.active,intercept:function(f){T.Sheets[M]=f}}));else T.SheetNames.push(D),T.Sheets[D]=i();e.documentProcessing&&(T=e.documentProcessing(T));function v(f){for(var l=new ArrayBuffer(f.length),a=new Uint8Array(l),u=0;u!=f.length;++u)a[u]=f.charCodeAt(u)&255;return l}g=XLSX.write(T,d),r(v(g),"application/octet-stream")}function wR(n,e,r){this.modExists("export",!0)&&r(this.modules.export.generateHTMLTable(n),"text/html")}function TR(n,e,r){const S=[];n.forEach(D=>{const T={};switch(D.type){case"header":break;case"group":console.warn("Download Warning - JSON downloader cannot process row groups");break;case"calc":console.warn("Download Warning - JSON downloader cannot process column calculations");break;case"row":D.columns.forEach(p=>{p&&(T[p.component.getTitleDownload()||p.component.getField()]=p.value)}),S.push(JSON.stringify(T));break}}),r(S.join(` -`),"application/x-ndjson")}var kR={csv:yR,json:bR,jsonLines:TR,pdf:xR,xlsx:_R,html:wR};class a0 extends qi{constructor(e){super(e),this.registerTableOption("downloadEncoder",function(r,S){return new Blob([r],{type:S})}),this.registerTableOption("downloadReady",void 0),this.registerTableOption("downloadConfig",{}),this.registerTableOption("downloadRowRange","active"),this.registerColumnOption("download"),this.registerColumnOption("titleDownload")}initialize(){this.deprecatedOptionsCheck(),this.registerTableFunction("download",this.download.bind(this)),this.registerTableFunction("downloadToTab",this.downloadToTab.bind(this))}deprecatedOptionsCheck(){this.deprecationCheck("downloadReady","downloadEncoder")}downloadToTab(e,r,S,D){this.download(e,r,S,D,!0)}download(e,r,S,D,T){var p=!1;function t(g,i){T?T===!0?this.triggerDownload(g,i,e,r,!0):T(g):this.triggerDownload(g,i,e,r)}if(typeof e=="function"?p=e:a0.downloaders[e]?p=a0.downloaders[e]:console.warn("Download Error - No such download type found: ",e),p){var d=this.generateExportList(D);p.call(this.table,d,S||{},t.bind(this))}}generateExportList(e){var r=this.table.modules.export.generateExportList(this.table.options.downloadConfig,!1,e||this.table.options.downloadRowRange,"download"),S=this.table.options.groupHeaderDownload;return S&&!Array.isArray(S)&&(S=[S]),r.forEach(D=>{var T;D.type==="group"&&(T=D.columns[0],S&&S[D.indent]&&(T.value=S[D.indent](T.value,D.component._group.getRowCount(),D.component._group.getData(),D.component)))}),r}triggerDownload(e,r,S,D,T){var p=document.createElement("a"),t=this.table.options.downloadEncoder(e,r);t&&(T?window.open(window.URL.createObjectURL(t)):(D=D||"Tabulator."+(typeof S=="function"?"txt":S),navigator.msSaveOrOpenBlob?navigator.msSaveOrOpenBlob(t,D):(p.setAttribute("href",window.URL.createObjectURL(t)),p.setAttribute("download",D),p.style.display="none",document.body.appendChild(p),p.click(),document.body.removeChild(p))),this.dispatchExternal("downloadComplete"))}commsReceived(e,r,S){switch(r){case"intercept":this.download(S.type,"",S.options,S.active,S.intercept);break}}}a0.moduleName="download";a0.downloaders=kR;function Yy(n,e){var r=e.mask,S=typeof e.maskLetterChar<"u"?e.maskLetterChar:"A",D=typeof e.maskNumberChar<"u"?e.maskNumberChar:"9",T=typeof e.maskWildcardChar<"u"?e.maskWildcardChar:"*";function p(t){var d=r[t];typeof d<"u"&&d!==T&&d!==S&&d!==D&&(n.value=n.value+""+d,p(t+1))}n.addEventListener("keydown",t=>{var d=n.value.length,g=t.key;if(t.keyCode>46&&!t.ctrlKey&&!t.metaKey){if(d>=r.length)return t.preventDefault(),t.stopPropagation(),!1;switch(r[d]){case S:if(g.toUpperCase()==g.toLowerCase())return t.preventDefault(),t.stopPropagation(),!1;break;case D:if(isNaN(g))return t.preventDefault(),t.stopPropagation(),!1;break;case T:break;default:if(g!==r[d])return t.preventDefault(),t.stopPropagation(),!1}}}),n.addEventListener("keyup",t=>{t.keyCode>46&&e.maskAutoFill&&p(n.value.length)}),n.placeholder||(n.placeholder=r),e.maskAutoFill&&p(n.value.length)}function MR(n,e,r,S,D){var T=n.getValue(),p=document.createElement("input");if(p.setAttribute("type",D.search?"search":"text"),p.style.padding="4px",p.style.width="100%",p.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let d in D.elementAttributes)d.charAt(0)=="+"?(d=d.slice(1),p.setAttribute(d,p.getAttribute(d)+D.elementAttributes["+"+d])):p.setAttribute(d,D.elementAttributes[d]);p.value=typeof T<"u"?T:"",e(function(){n.getType()==="cell"&&(p.focus({preventScroll:!0}),p.style.height="100%",D.selectContents&&p.select())});function t(d){(T===null||typeof T>"u")&&p.value!==""||p.value!==T?r(p.value)&&(T=p.value):S()}return p.addEventListener("change",t),p.addEventListener("blur",t),p.addEventListener("keydown",function(d){switch(d.keyCode){case 13:t();break;case 27:S();break;case 35:case 36:d.stopPropagation();break}}),D.mask&&Yy(p,D),p}function AR(n,e,r,S,D){var T=n.getValue(),p=D.verticalNavigation||"hybrid",t=String(T!==null&&typeof T<"u"?T:""),d=document.createElement("textarea"),g=0;if(d.style.display="block",d.style.padding="2px",d.style.height="100%",d.style.width="100%",d.style.boxSizing="border-box",d.style.whiteSpace="pre-wrap",d.style.resize="none",D.elementAttributes&&typeof D.elementAttributes=="object")for(let M in D.elementAttributes)M.charAt(0)=="+"?(M=M.slice(1),d.setAttribute(M,d.getAttribute(M)+D.elementAttributes["+"+M])):d.setAttribute(M,D.elementAttributes[M]);d.value=t,e(function(){n.getType()==="cell"&&(d.focus({preventScroll:!0}),d.style.height="100%",d.scrollHeight,d.style.height=d.scrollHeight+"px",n.getRow().normalizeHeight(),D.selectContents&&d.select())});function i(M){(T===null||typeof T>"u")&&d.value!==""||d.value!==T?(r(d.value)&&(T=d.value),setTimeout(function(){n.getRow().normalizeHeight()},300)):S()}return d.addEventListener("change",i),d.addEventListener("blur",i),d.addEventListener("keyup",function(){d.style.height="";var M=d.scrollHeight;d.style.height=M+"px",M!=g&&(g=M,n.getRow().normalizeHeight())}),d.addEventListener("keydown",function(M){switch(M.keyCode){case 13:M.shiftKey&&D.shiftEnterSubmit&&i();break;case 27:S();break;case 38:(p=="editor"||p=="hybrid"&&d.selectionStart)&&(M.stopImmediatePropagation(),M.stopPropagation());break;case 40:(p=="editor"||p=="hybrid"&&d.selectionStart!==d.value.length)&&(M.stopImmediatePropagation(),M.stopPropagation());break;case 35:case 36:M.stopPropagation();break}}),D.mask&&Yy(d,D),d}function SR(n,e,r,S,D){var T=n.getValue(),p=D.verticalNavigation||"editor",t=document.createElement("input");if(t.setAttribute("type","number"),typeof D.max<"u"&&t.setAttribute("max",D.max),typeof D.min<"u"&&t.setAttribute("min",D.min),typeof D.step<"u"&&t.setAttribute("step",D.step),t.style.padding="4px",t.style.width="100%",t.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let i in D.elementAttributes)i.charAt(0)=="+"?(i=i.slice(1),t.setAttribute(i,t.getAttribute(i)+D.elementAttributes["+"+i])):t.setAttribute(i,D.elementAttributes[i]);t.value=T;var d=function(i){g()};e(function(){n.getType()==="cell"&&(t.removeEventListener("blur",d),t.focus({preventScroll:!0}),t.style.height="100%",t.addEventListener("blur",d),D.selectContents&&t.select())});function g(){var i=t.value;!isNaN(i)&&i!==""&&(i=Number(i)),i!==T?r(i)&&(T=i):S()}return t.addEventListener("keydown",function(i){switch(i.keyCode){case 13:g();break;case 27:S();break;case 38:case 40:p=="editor"&&(i.stopImmediatePropagation(),i.stopPropagation());break;case 35:case 36:i.stopPropagation();break}}),D.mask&&Yy(t,D),t}function CR(n,e,r,S,D){var T=n.getValue(),p=document.createElement("input");if(p.setAttribute("type","range"),typeof D.max<"u"&&p.setAttribute("max",D.max),typeof D.min<"u"&&p.setAttribute("min",D.min),typeof D.step<"u"&&p.setAttribute("step",D.step),p.style.padding="4px",p.style.width="100%",p.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let d in D.elementAttributes)d.charAt(0)=="+"?(d=d.slice(1),p.setAttribute(d,p.getAttribute(d)+D.elementAttributes["+"+d])):p.setAttribute(d,D.elementAttributes[d]);p.value=T,e(function(){n.getType()==="cell"&&(p.focus({preventScroll:!0}),p.style.height="100%")});function t(){var d=p.value;!isNaN(d)&&d!==""&&(d=Number(d)),d!=T?r(d)&&(T=d):S()}return p.addEventListener("blur",function(d){t()}),p.addEventListener("keydown",function(d){switch(d.keyCode){case 13:t();break;case 27:S();break}}),p}function ER(n,e,r,S,D){var T=D.format,p=D.verticalNavigation||"editor",t=T?window.DateTime||luxon.DateTime:null,d=n.getValue(),g=document.createElement("input");function i(v){var f;return t.isDateTime(v)?f=v:T==="iso"?f=t.fromISO(String(v)):f=t.fromFormat(String(v),T),f.toFormat("yyyy-MM-dd")}if(g.type="date",g.style.padding="4px",g.style.width="100%",g.style.boxSizing="border-box",D.max&&g.setAttribute("max",T?i(D.max):D.max),D.min&&g.setAttribute("min",T?i(D.min):D.min),D.elementAttributes&&typeof D.elementAttributes=="object")for(let v in D.elementAttributes)v.charAt(0)=="+"?(v=v.slice(1),g.setAttribute(v,g.getAttribute(v)+D.elementAttributes["+"+v])):g.setAttribute(v,D.elementAttributes[v]);d=typeof d<"u"?d:"",T&&(t?d=i(d):console.error("Editor Error - 'date' editor 'format' param is dependant on luxon.js")),g.value=d,e(function(){n.getType()==="cell"&&(g.focus({preventScroll:!0}),g.style.height="100%",D.selectContents&&g.select())});function M(){var v=g.value,f;if((d===null||typeof d>"u")&&v!==""||v!==d){if(v&&T)switch(f=t.fromFormat(String(v),"yyyy-MM-dd"),T){case!0:v=f;break;case"iso":v=f.toISO();break;default:v=f.toFormat(T)}r(v)&&(d=g.value)}else S()}return g.addEventListener("blur",function(v){(v.relatedTarget||v.rangeParent||v.explicitOriginalTarget!==g)&&M()}),g.addEventListener("keydown",function(v){switch(v.keyCode){case 13:M();break;case 27:S();break;case 35:case 36:v.stopPropagation();break;case 38:case 40:p=="editor"&&(v.stopImmediatePropagation(),v.stopPropagation());break}}),g}function LR(n,e,r,S,D){var T=D.format,p=D.verticalNavigation||"editor",t=T?window.DateTime||luxon.DateTime:null,d,g=n.getValue(),i=document.createElement("input");if(i.type="time",i.style.padding="4px",i.style.width="100%",i.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let v in D.elementAttributes)v.charAt(0)=="+"?(v=v.slice(1),i.setAttribute(v,i.getAttribute(v)+D.elementAttributes["+"+v])):i.setAttribute(v,D.elementAttributes[v]);g=typeof g<"u"?g:"",T&&(t?(t.isDateTime(g)?d=g:T==="iso"?d=t.fromISO(String(g)):d=t.fromFormat(String(g),T),g=d.toFormat("HH:mm")):console.error("Editor Error - 'date' editor 'format' param is dependant on luxon.js")),console.log("val",g),i.value=g,e(function(){n.getType()=="cell"&&(i.focus({preventScroll:!0}),i.style.height="100%",D.selectContents&&i.select())});function M(){var v=i.value,f;if((g===null||typeof g>"u")&&v!==""||v!==g){if(v&&T)switch(f=t.fromFormat(String(v),"hh:mm"),T){case!0:v=f;break;case"iso":v=f.toISO();break;default:v=f.toFormat(T)}r(v)&&(g=i.value)}else S()}return i.addEventListener("blur",function(v){(v.relatedTarget||v.rangeParent||v.explicitOriginalTarget!==i)&&M()}),i.addEventListener("keydown",function(v){switch(v.keyCode){case 13:M();break;case 27:S();break;case 35:case 36:v.stopPropagation();break;case 38:case 40:p=="editor"&&(v.stopImmediatePropagation(),v.stopPropagation());break}}),i}function IR(n,e,r,S,D){var T=D.format,p=D.verticalNavigation||"editor",t=T?window.DateTime||luxon.DateTime:null,d,g=n.getValue(),i=document.createElement("input");if(i.type="datetime-local",i.style.padding="4px",i.style.width="100%",i.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let v in D.elementAttributes)v.charAt(0)=="+"?(v=v.slice(1),i.setAttribute(v,i.getAttribute(v)+D.elementAttributes["+"+v])):i.setAttribute(v,D.elementAttributes[v]);g=typeof g<"u"?g:"",T&&(t?(t.isDateTime(g)?d=g:T==="iso"?d=t.fromISO(String(g)):d=t.fromFormat(String(g),T),g=d.toFormat("yyyy-MM-dd")+"T"+d.toFormat("HH:mm")):console.error("Editor Error - 'date' editor 'format' param is dependant on luxon.js")),i.value=g,e(function(){n.getType()==="cell"&&(i.focus({preventScroll:!0}),i.style.height="100%",D.selectContents&&i.select())});function M(){var v=i.value,f;if((g===null||typeof g>"u")&&v!==""||v!==g){if(v&&T)switch(f=t.fromISO(String(v)),T){case!0:v=f;break;case"iso":v=f.toISO();break;default:v=f.toFormat(T)}r(v)&&(g=i.value)}else S()}return i.addEventListener("blur",function(v){(v.relatedTarget||v.rangeParent||v.explicitOriginalTarget!==i)&&M()}),i.addEventListener("keydown",function(v){switch(v.keyCode){case 13:M();break;case 27:S();break;case 35:case 36:v.stopPropagation();break;case 38:case 40:p=="editor"&&(v.stopImmediatePropagation(),v.stopPropagation());break}}),i}class G2{constructor(e,r,S,D,T,p){this.edit=e,this.table=e.table,this.cell=r,this.params=this._initializeParams(p),this.data=[],this.displayItems=[],this.currentItems=[],this.focusedItem=null,this.input=this._createInputElement(),this.listEl=this._createListElement(),this.initialValues=null,this.isFilter=r.getType()==="header",this.filterTimeout=null,this.filtered=!1,this.typing=!1,this.values=[],this.popup=null,this.listIteration=0,this.lastAction="",this.filterTerm="",this.blurable=!0,this.actions={success:D,cancel:T},this._deprecatedOptionsCheck(),this._initializeValue(),S(this._onRendered.bind(this))}_deprecatedOptionsCheck(){this.params.listItemFormatter&&this.cell.getTable().deprecationAdvisor.msg("The listItemFormatter editor param has been deprecated, please see the latest editor documentation for updated options"),this.params.sortValuesList&&this.cell.getTable().deprecationAdvisor.msg("The sortValuesList editor param has been deprecated, please see the latest editor documentation for updated options"),this.params.searchFunc&&this.cell.getTable().deprecationAdvisor.msg("The searchFunc editor param has been deprecated, please see the latest editor documentation for updated options"),this.params.searchingPlaceholder&&this.cell.getTable().deprecationAdvisor.msg("The searchingPlaceholder editor param has been deprecated, please see the latest editor documentation for updated options")}_initializeValue(){var e=this.cell.getValue();typeof e>"u"&&typeof this.params.defaultValue<"u"&&(e=this.params.defaultValue),this.initialValues=this.params.multiselect?e:[e],this.isFilter&&(this.input.value=this.initialValues?this.initialValues.join(","):"",this.headerFilterInitialListGen())}_onRendered(){var e=this.cell.getElement();function r(S){S.stopPropagation()}this.isFilter||(this.input.style.height="100%",this.input.focus({preventScroll:!0})),e.addEventListener("click",r),setTimeout(()=>{e.removeEventListener("click",r)},1e3),this.input.addEventListener("mousedown",this._preventPopupBlur.bind(this))}_createListElement(){var e=document.createElement("div");return e.classList.add("tabulator-edit-list"),e.addEventListener("mousedown",this._preventBlur.bind(this)),e.addEventListener("keydown",this._inputKeyDown.bind(this)),e}_setListWidth(){var e=this.isFilter?this.input:this.cell.getElement();this.listEl.style.minWidth=e.offsetWidth+"px",this.params.maxWidth&&(this.params.maxWidth===!0?this.listEl.style.maxWidth=e.offsetWidth+"px":typeof this.params.maxWidth=="number"?this.listEl.style.maxWidth=this.params.maxWidth+"px":this.listEl.style.maxWidth=this.params.maxWidth)}_createInputElement(){var e=this.params.elementAttributes,r=document.createElement("input");if(r.setAttribute("type",this.params.clearable?"search":"text"),r.style.padding="4px",r.style.width="100%",r.style.boxSizing="border-box",this.params.autocomplete||(r.style.cursor="default",r.style.caretColor="transparent"),e&&typeof e=="object")for(let S in e)S.charAt(0)=="+"?(S=S.slice(1),r.setAttribute(S,r.getAttribute(S)+e["+"+S])):r.setAttribute(S,e[S]);return this.params.mask&&Yy(r,this.params),this._bindInputEvents(r),r}_initializeParams(e){var r=["values","valuesURL","valuesLookup"],S;return e=Object.assign({},e),e.verticalNavigation=e.verticalNavigation||"editor",e.placeholderLoading=typeof e.placeholderLoading>"u"?"Searching ...":e.placeholderLoading,e.placeholderEmpty=typeof e.placeholderEmpty>"u"?"No Results Found":e.placeholderEmpty,e.filterDelay=typeof e.filterDelay>"u"?300:e.filterDelay,e.emptyValue=Object.keys(e).includes("emptyValue")?e.emptyValue:"",S=Object.keys(e).filter(D=>r.includes(D)).length,S?S>1&&console.warn("list editor config error - only one of the values, valuesURL, or valuesLookup options can be set on the same editor"):console.warn("list editor config error - either the values, valuesURL, or valuesLookup option must be set"),e.autocomplete?e.multiselect&&(e.multiselect=!1,console.warn("list editor config error - multiselect option is not available when autocomplete is enabled")):(e.freetext&&(e.freetext=!1,console.warn("list editor config error - freetext option is only available when autocomplete is enabled")),e.filterFunc&&(e.filterFunc=!1,console.warn("list editor config error - filterFunc option is only available when autocomplete is enabled")),e.filterRemote&&(e.filterRemote=!1,console.warn("list editor config error - filterRemote option is only available when autocomplete is enabled")),e.mask&&(e.mask=!1,console.warn("list editor config error - mask option is only available when autocomplete is enabled")),e.allowEmpty&&(e.allowEmpty=!1,console.warn("list editor config error - allowEmpty option is only available when autocomplete is enabled")),e.listOnEmpty&&(e.listOnEmpty=!1,console.warn("list editor config error - listOnEmpty option is only available when autocomplete is enabled"))),e.filterRemote&&!(typeof e.valuesLookup=="function"||e.valuesURL)&&(e.filterRemote=!1,console.warn("list editor config error - filterRemote option should only be used when values list is populated from a remote source")),e}_bindInputEvents(e){e.addEventListener("focus",this._inputFocus.bind(this)),e.addEventListener("click",this._inputClick.bind(this)),e.addEventListener("blur",this._inputBlur.bind(this)),e.addEventListener("keydown",this._inputKeyDown.bind(this)),e.addEventListener("search",this._inputSearch.bind(this)),this.params.autocomplete&&e.addEventListener("keyup",this._inputKeyUp.bind(this))}_inputFocus(e){this.rebuildOptionsList()}_filter(){this.params.filterRemote?(clearTimeout(this.filterTimeout),this.filterTimeout=setTimeout(()=>{this.rebuildOptionsList()},this.params.filterDelay)):this._filterList()}_inputClick(e){e.stopPropagation()}_inputBlur(e){this.blurable&&(this.popup?this.popup.hide():this._resolveValue(!0))}_inputSearch(){this._clearChoices()}_inputKeyDown(e){switch(e.keyCode){case 38:this._keyUp(e);break;case 40:this._keyDown(e);break;case 37:case 39:this._keySide(e);break;case 13:this._keyEnter();break;case 27:this._keyEsc();break;case 36:case 35:this._keyHomeEnd(e);break;case 9:this._keyTab(e);break;default:this._keySelectLetter(e)}}_inputKeyUp(e){switch(e.keyCode){case 38:case 37:case 39:case 40:case 13:case 27:break;default:this._keyAutoCompLetter(e)}}_preventPopupBlur(){this.popup&&this.popup.blockHide(),setTimeout(()=>{this.popup&&this.popup.restoreHide()},10)}_preventBlur(){this.blurable=!1,setTimeout(()=>{this.blurable=!0},10)}_keyTab(e){this.params.autocomplete&&this.lastAction==="typing"?this._resolveValue(!0):this.focusedItem&&this._chooseItem(this.focusedItem,!0)}_keyUp(e){var r=this.displayItems.indexOf(this.focusedItem);(this.params.verticalNavigation=="editor"||this.params.verticalNavigation=="hybrid"&&r)&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault(),r>0&&this._focusItem(this.displayItems[r-1]))}_keyDown(e){var r=this.displayItems.indexOf(this.focusedItem);(this.params.verticalNavigation=="editor"||this.params.verticalNavigation=="hybrid"&&r=38&&e.keyCode<=90&&this._scrollToValue(e.keyCode))}_keyAutoCompLetter(e){this._filter(),this.lastAction="typing",this.typing=!0}_scrollToValue(e){clearTimeout(this.filterTimeout);var r=String.fromCharCode(e).toLowerCase();this.filterTerm+=r.toLowerCase();var S=this.displayItems.find(D=>typeof D.label<"u"&&D.label.toLowerCase().startsWith(this.filterTerm));S&&this._focusItem(S),this.filterTimeout=setTimeout(()=>{this.filterTerm=""},800)}_focusItem(e){this.lastAction="focus",this.focusedItem&&this.focusedItem.element&&this.focusedItem.element.classList.remove("focused"),this.focusedItem=e,e&&e.element&&(e.element.classList.add("focused"),e.element.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"}))}headerFilterInitialListGen(){this._generateOptions(!0)}rebuildOptionsList(){this._generateOptions().then(this._sortOptions.bind(this)).then(this._buildList.bind(this)).then(this._showList.bind(this)).catch(e=>{Number.isInteger(e)||console.error("List generation error",e)})}_filterList(){this._buildList(this._filterOptions()),this._showList()}_generateOptions(e){var r=[],S=++this.listIteration;return this.filtered=!1,this.params.values?r=this.params.values:this.params.valuesURL?r=this._ajaxRequest(this.params.valuesURL,this.input.value):typeof this.params.valuesLookup=="function"?r=this.params.valuesLookup(this.cell,this.input.value):this.params.valuesLookup&&(r=this._uniqueColumnValues(this.params.valuesLookupField)),r instanceof Promise?(e||this._addPlaceholder(this.params.placeholderLoading),r.then().then(D=>this.listIteration===S?this._parseList(D):Promise.reject(S))):Promise.resolve(this._parseList(r))}_addPlaceholder(e){var r=document.createElement("div");typeof e=="function"&&(e=e(this.cell.getComponent(),this.listEl)),e&&(this._clearList(),e instanceof HTMLElement?r=e:(r.classList.add("tabulator-edit-list-placeholder"),r.innerHTML=e),this.listEl.appendChild(r),this._showList())}_ajaxRequest(e,r){var S=this.params.filterRemote?{term:r}:{};return e=LM(e,{},S),fetch(e).then(D=>D.ok?D.json().catch(T=>(console.warn("List Ajax Load Error - Invalid JSON returned",T),Promise.reject(T))):(console.error("List Ajax Load Error - Connection Error: "+D.status,D.statusText),Promise.reject(D))).catch(D=>(console.error("List Ajax Load Error - Connection Error: ",D),Promise.reject(D)))}_uniqueColumnValues(e){var r={},S=this.table.getData(this.params.valuesLookup),D;return e?D=this.table.columnManager.getColumnByField(e):D=this.cell.getColumn()._getSelf(),D?S.forEach(T=>{var p=D.getFieldValue(T);p!==null&&typeof p<"u"&&p!==""&&(r[p]=!0)}):(console.warn("unable to find matching column to create select lookup list:",e),r=[]),Object.keys(r)}_parseList(e){var r=[];return Array.isArray(e)||(e=Object.entries(e).map(([S,D])=>({label:D,value:S}))),e.forEach(S=>{typeof S!="object"&&(S={label:S,value:S}),this._parseListItem(S,r,0)}),!this.currentItems.length&&this.params.freetext&&(this.input.value=this.initialValues,this.typing=!0,this.lastAction="typing"),this.data=r,r}_parseListItem(e,r,S){var D={};e.options?D=this._parseListGroup(e,S+1):(D={label:e.label,value:e.value,itemParams:e.itemParams,elementAttributes:e.elementAttributes,element:!1,selected:!1,visible:!0,level:S,original:e},this.initialValues&&this.initialValues.indexOf(e.value)>-1&&this._chooseItem(D,!0)),r.push(D)}_parseListGroup(e,r){var S={label:e.label,group:!0,itemParams:e.itemParams,elementAttributes:e.elementAttributes,element:!1,visible:!0,level:r,options:[],original:e};return e.options.forEach(D=>{this._parseListItem(D,S.options,r)}),S}_sortOptions(e){var r;return this.params.sort&&(r=typeof this.params.sort=="function"?this.params.sort:this._defaultSortFunction.bind(this),this._sortGroup(r,e)),e}_sortGroup(e,r){r.sort((S,D)=>e(S.label,D.label,S.value,D.value,S.original,D.original)),r.forEach(S=>{S.group&&this._sortGroup(e,S.options)})}_defaultSortFunction(e,r){var S,D,T,p,t=0,d,g=/(\d+)|(\D+)/g,i=/\d/,M=0;if(this.params.sort==="desc"&&([e,r]=[r,e]),!e&&e!==0)M=!r&&r!==0?0:-1;else if(!r&&r!==0)M=1;else{if(isFinite(e)&&isFinite(r))return e-r;if(S=String(e).toLowerCase(),D=String(r).toLowerCase(),S===D)return 0;if(!(i.test(S)&&i.test(D)))return S>D?1:-1;for(S=S.match(g),D=D.match(g),d=S.length>D.length?D.length:S.length;tp?1:-1;return S.length>D.length}return M}_filterOptions(){var e=this.params.filterFunc||this._defaultFilterFunc,r=this.input.value;return r?(this.filtered=!0,this.data.forEach(S=>{this._filterItem(e,r,S)})):this.filtered=!1,this.data}_filterItem(e,r,S){var D=!1;return S.group?(S.options.forEach(T=>{this._filterItem(e,r,T)&&(D=!0)}),S.visible=D):S.visible=e(r,S.label,S.value,S.original),S.visible}_defaultFilterFunc(e,r,S,D){return e=String(e).toLowerCase(),r!==null&&typeof r<"u"&&(String(r).toLowerCase().indexOf(e)>-1||String(S).toLowerCase().indexOf(e)>-1)}_clearList(){for(;this.listEl.firstChild;)this.listEl.removeChild(this.listEl.firstChild);this.displayItems=[]}_buildList(e){this._clearList(),e.forEach(r=>{this._buildItem(r)}),this.displayItems.length||this._addPlaceholder(this.params.placeholderEmpty)}_buildItem(e){var r=e.element,S;if(!this.filtered||e.visible){if(!r){if(r=document.createElement("div"),r.tabIndex=0,S=this.params.itemFormatter?this.params.itemFormatter(e.label,e.value,e.original,r):e.label,S instanceof HTMLElement?r.appendChild(S):r.innerHTML=S,e.group?r.classList.add("tabulator-edit-list-group"):r.classList.add("tabulator-edit-list-item"),r.classList.add("tabulator-edit-list-group-level-"+e.level),e.elementAttributes&&typeof e.elementAttributes=="object")for(let D in e.elementAttributes)D.charAt(0)=="+"?(D=D.slice(1),r.setAttribute(D,this.input.getAttribute(D)+e.elementAttributes["+"+D])):r.setAttribute(D,e.elementAttributes[D]);e.group?r.addEventListener("click",this._groupClick.bind(this,e)):r.addEventListener("click",this._itemClick.bind(this,e)),r.addEventListener("mousedown",this._preventBlur.bind(this)),e.element=r}this._styleItem(e),this.listEl.appendChild(r),e.group?e.options.forEach(D=>{this._buildItem(D)}):this.displayItems.push(e)}}_showList(){var e=this.popup&&this.popup.isVisible();if(this.input.parentNode){if(this.params.autocomplete&&this.input.value===""&&!this.params.listOnEmpty){this.popup&&this.popup.hide(!0);return}this._setListWidth(),this.popup||(this.popup=this.edit.popup(this.listEl)),this.popup.show(this.cell.getElement(),"bottom"),e||setTimeout(()=>{this.popup.hideOnBlur(this._resolveValue.bind(this,!0))},10)}}_styleItem(e){e&&e.element&&(e.selected?e.element.classList.add("active"):e.element.classList.remove("active"))}_itemClick(e,r){r.stopPropagation(),this._chooseItem(e)}_groupClick(e,r){r.stopPropagation()}_cancel(){this.popup.hide(!0),this.actions.cancel()}_clearChoices(){this.typing=!0,this.currentItems.forEach(e=>{e.selected=!1,this._styleItem(e)}),this.currentItems=[],this.focusedItem=null}_chooseItem(e,r){var S;this.typing=!1,this.params.multiselect?(S=this.currentItems.indexOf(e),S>-1?(this.currentItems.splice(S,1),e.selected=!1):(this.currentItems.push(e),e.selected=!0),this.input.value=this.currentItems.map(D=>D.label).join(","),this._styleItem(e)):(this.currentItems=[e],e.selected=!0,this.input.value=e.label,this._styleItem(e),r||this._resolveValue()),this._focusItem(e)}_resolveValue(e){var r,S;if(this.popup&&this.popup.hide(!0),this.params.multiselect)r=this.currentItems.map(D=>D.value);else if(e&&this.params.autocomplete&&this.typing)if(this.params.freetext||this.params.allowEmpty&&this.input.value==="")r=this.input.value;else{this.actions.cancel();return}else this.currentItems[0]?r=this.currentItems[0].value:(S=Array.isArray(this.initialValues)?this.initialValues[0]:this.initialValues,S===null||typeof S>"u"||S===""?r=S:r=this.params.emptyValue);r===""&&(r=this.params.emptyValue),this.actions.success(r),this.isFilter&&(this.initialValues=r&&!Array.isArray(r)?[r]:r,this.currentItems=[])}}function RR(n,e,r,S,D){this.deprecationMsg("The select editor has been deprecated, please use the new list editor");var T=new G2(this,n,e,r,S,D);return T.input}function PR(n,e,r,S,D){var T=new G2(this,n,e,r,S,D);return T.input}function OR(n,e,r,S,D){this.deprecationMsg("The autocomplete editor has been deprecated, please use the new list editor with the 'autocomplete' editorParam"),D.autocomplete=!0;var T=new G2(this,n,e,r,S,D);return T.input}function DR(n,e,r,S,D){var T=this,p=n.getElement(),t=n.getValue(),d=p.getElementsByTagName("svg").length||5,g=p.getElementsByTagName("svg")[0]?p.getElementsByTagName("svg")[0].getAttribute("width"):14,i=[],M=document.createElement("div"),v=document.createElementNS("http://www.w3.org/2000/svg","svg");function f(o){i.forEach(function(s,h){h'):(T.table.browser=="ie"?s.setAttribute("class","tabulator-star-inactive"):s.classList.replace("tabulator-star-active","tabulator-star-inactive"),s.innerHTML='')})}function l(o){var s=document.createElement("span"),h=v.cloneNode(!0);i.push(h),s.addEventListener("mouseenter",function(c){c.stopPropagation(),c.stopImmediatePropagation(),f(o)}),s.addEventListener("mousemove",function(c){c.stopPropagation(),c.stopImmediatePropagation()}),s.addEventListener("click",function(c){c.stopPropagation(),c.stopImmediatePropagation(),r(o),p.blur()}),s.appendChild(h),M.appendChild(s)}function a(o){t=o,f(o)}if(p.style.whiteSpace="nowrap",p.style.overflow="hidden",p.style.textOverflow="ellipsis",M.style.verticalAlign="middle",M.style.display="inline-block",M.style.padding="4px",v.setAttribute("width",g),v.setAttribute("height",g),v.setAttribute("viewBox","0 0 512 512"),v.setAttribute("xml:space","preserve"),v.style.padding="0 1px",D.elementAttributes&&typeof D.elementAttributes=="object")for(let o in D.elementAttributes)o.charAt(0)=="+"?(o=o.slice(1),M.setAttribute(o,M.getAttribute(o)+D.elementAttributes["+"+o])):M.setAttribute(o,D.elementAttributes[o]);for(var u=1;u<=d;u++)l(u);return t=Math.min(parseInt(t),d),f(t),M.addEventListener("mousemove",function(o){f(0)}),M.addEventListener("click",function(o){r(0)}),p.addEventListener("blur",function(o){S()}),p.addEventListener("keydown",function(o){switch(o.keyCode){case 39:a(t+1);break;case 37:a(t-1);break;case 13:r(t);break;case 27:S();break}}),M}function zR(n,e,r,S,D){var T=n.getElement(),p=typeof D.max>"u"?T.getElementsByTagName("div")[0]&&T.getElementsByTagName("div")[0].getAttribute("max")||100:D.max,t=typeof D.min>"u"?T.getElementsByTagName("div")[0]&&T.getElementsByTagName("div")[0].getAttribute("min")||0:D.min,d=(p-t)/100,g=n.getValue()||0,i=document.createElement("div"),M=document.createElement("div"),v,f;function l(){var a=window.getComputedStyle(T,null),u=d*Math.round(M.offsetWidth/((T.clientWidth-parseInt(a.getPropertyValue("padding-left"))-parseInt(a.getPropertyValue("padding-right")))/100))+t;r(u),T.setAttribute("aria-valuenow",u),T.setAttribute("aria-label",g)}if(i.style.position="absolute",i.style.right="0",i.style.top="0",i.style.bottom="0",i.style.width="5px",i.classList.add("tabulator-progress-handle"),M.style.display="inline-block",M.style.position="relative",M.style.height="100%",M.style.backgroundColor="#488CE9",M.style.maxWidth="100%",M.style.minWidth="0%",D.elementAttributes&&typeof D.elementAttributes=="object")for(let a in D.elementAttributes)a.charAt(0)=="+"?(a=a.slice(1),M.setAttribute(a,M.getAttribute(a)+D.elementAttributes["+"+a])):M.setAttribute(a,D.elementAttributes[a]);return T.style.padding="4px 4px",g=Math.min(parseFloat(g),p),g=Math.max(parseFloat(g),t),g=Math.round((g-t)/d),M.style.width=g+"%",T.setAttribute("aria-valuemin",t),T.setAttribute("aria-valuemax",p),M.appendChild(i),i.addEventListener("mousedown",function(a){v=a.screenX,f=M.offsetWidth}),i.addEventListener("mouseover",function(){i.style.cursor="ew-resize"}),T.addEventListener("mousemove",function(a){v&&(M.style.width=f+a.screenX-v+"px")}),T.addEventListener("mouseup",function(a){v&&(a.stopPropagation(),a.stopImmediatePropagation(),v=!1,f=!1,l())}),T.addEventListener("keydown",function(a){switch(a.keyCode){case 39:a.preventDefault(),M.style.width=M.clientWidth+T.clientWidth/100+"px";break;case 37:a.preventDefault(),M.style.width=M.clientWidth-T.clientWidth/100+"px";break;case 9:case 13:l();break;case 27:S();break}}),T.addEventListener("blur",function(){S()}),M}function FR(n,e,r,S,D){var T=n.getValue(),p=document.createElement("input"),t=D.tristate,d=typeof D.indeterminateValue>"u"?null:D.indeterminateValue,g=!1,i=Object.keys(D).includes("trueValue"),M=Object.keys(D).includes("falseValue");if(p.setAttribute("type","checkbox"),p.style.marginTop="5px",p.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let f in D.elementAttributes)f.charAt(0)=="+"?(f=f.slice(1),p.setAttribute(f,p.getAttribute(f)+D.elementAttributes["+"+f])):p.setAttribute(f,D.elementAttributes[f]);p.value=T,t&&(typeof T>"u"||T===d||T==="")&&(g=!0,p.indeterminate=!0),this.table.browser!="firefox"&&this.table.browser!="safari"&&e(function(){n.getType()==="cell"&&p.focus({preventScroll:!0})}),p.checked=i?T===D.trueValue:T===!0||T==="true"||T==="True"||T===1;function v(f){var l=p.checked;return i&&l?l=D.trueValue:M&&!l&&(l=D.falseValue),t?f?g?d:l:p.checked&&!g?(p.checked=!1,p.indeterminate=!0,g=!0,d):(g=!1,l):l}return p.addEventListener("change",function(f){r(v())}),p.addEventListener("blur",function(f){r(v(!0))}),p.addEventListener("keydown",function(f){f.keyCode==13&&r(v()),f.keyCode==27&&S()}),p}var BR={input:MR,textarea:AR,number:SR,range:CR,date:ER,time:LR,datetime:IR,select:RR,list:PR,autocomplete:OR,star:DR,progress:zR,tickCross:FR};class tg extends qi{constructor(e){super(e),this.currentCell=!1,this.mouseClick=!1,this.recursionBlock=!1,this.invalidEdit=!1,this.editedCells=[],this.editors=tg.editors,this.registerColumnOption("editable"),this.registerColumnOption("editor"),this.registerColumnOption("editorParams"),this.registerColumnOption("cellEditing"),this.registerColumnOption("cellEdited"),this.registerColumnOption("cellEditCancelled"),this.registerTableOption("editTriggerEvent","focus"),this.registerTableFunction("getEditedCells",this.getEditedCells.bind(this)),this.registerTableFunction("clearCellEdited",this.clearCellEdited.bind(this)),this.registerTableFunction("navigatePrev",this.navigatePrev.bind(this)),this.registerTableFunction("navigateNext",this.navigateNext.bind(this)),this.registerTableFunction("navigateLeft",this.navigateLeft.bind(this)),this.registerTableFunction("navigateRight",this.navigateRight.bind(this)),this.registerTableFunction("navigateUp",this.navigateUp.bind(this)),this.registerTableFunction("navigateDown",this.navigateDown.bind(this)),this.registerComponentFunction("cell","isEdited",this.cellIsEdited.bind(this)),this.registerComponentFunction("cell","clearEdited",this.clearEdited.bind(this)),this.registerComponentFunction("cell","edit",this.editCell.bind(this)),this.registerComponentFunction("cell","cancelEdit",this.cellCancelEdit.bind(this)),this.registerComponentFunction("cell","navigatePrev",this.navigatePrev.bind(this)),this.registerComponentFunction("cell","navigateNext",this.navigateNext.bind(this)),this.registerComponentFunction("cell","navigateLeft",this.navigateLeft.bind(this)),this.registerComponentFunction("cell","navigateRight",this.navigateRight.bind(this)),this.registerComponentFunction("cell","navigateUp",this.navigateUp.bind(this)),this.registerComponentFunction("cell","navigateDown",this.navigateDown.bind(this))}initialize(){this.subscribe("cell-init",this.bindEditor.bind(this)),this.subscribe("cell-delete",this.clearEdited.bind(this)),this.subscribe("cell-value-changed",this.updateCellClass.bind(this)),this.subscribe("column-layout",this.initializeColumnCheck.bind(this)),this.subscribe("column-delete",this.columnDeleteCheck.bind(this)),this.subscribe("row-deleting",this.rowDeleteCheck.bind(this)),this.subscribe("row-layout",this.rowEditableCheck.bind(this)),this.subscribe("data-refreshing",this.cancelEdit.bind(this)),this.subscribe("clipboard-paste",this.pasteBlocker.bind(this)),this.subscribe("keybinding-nav-prev",this.navigatePrev.bind(this,void 0)),this.subscribe("keybinding-nav-next",this.keybindingNavigateNext.bind(this)),this.subscribe("keybinding-nav-up",this.navigateUp.bind(this,void 0)),this.subscribe("keybinding-nav-down",this.navigateDown.bind(this,void 0))}pasteBlocker(e){if(this.currentCell)return!0}keybindingNavigateNext(e){var r=this.currentCell,S=this.options("tabEndNewRow");r&&(this.navigateNext(r,e)||S&&(r.getElement().firstChild.blur(),this.invalidEdit||(S===!0?S=this.table.addRow({}):typeof S=="function"?S=this.table.addRow(S(r.row.getComponent())):S=this.table.addRow(Object.assign({},S)),S.then(()=>{setTimeout(()=>{r.getComponent().navigateNext()})}))))}cellIsEdited(e){return!!e.modules.edit&&e.modules.edit.edited}cellCancelEdit(e){e===this.currentCell?this.table.modules.edit.cancelEdit():console.warn("Cancel Editor Error - This cell is not currently being edited ")}updateCellClass(e){this.allowEdit(e)?e.getElement().classList.add("tabulator-editable"):e.getElement().classList.remove("tabulator-editable")}clearCellEdited(e){e||(e=this.table.modules.edit.getEditedCells()),Array.isArray(e)||(e=[e]),e.forEach(r=>{this.table.modules.edit.clearEdited(r._getSelf())})}navigatePrev(e=this.currentCell,r){var S,D;if(e){if(r&&r.preventDefault(),S=this.navigateLeft(),S)return!0;if(D=this.table.rowManager.prevDisplayRow(e.row,!0),D&&(S=this.findPrevEditableCell(D,D.cells.length),S))return S.getComponent().edit(),!0}return!1}navigateNext(e=this.currentCell,r){var S,D;if(e){if(r&&r.preventDefault(),S=this.navigateRight(),S)return!0;if(D=this.table.rowManager.nextDisplayRow(e.row,!0),D&&(S=this.findNextEditableCell(D,-1),S))return S.getComponent().edit(),!0}return!1}navigateLeft(e=this.currentCell,r){var S,D;return e&&(r&&r.preventDefault(),S=e.getIndex(),D=this.findPrevEditableCell(e.row,S),D)?(D.getComponent().edit(),!0):!1}navigateRight(e=this.currentCell,r){var S,D;return e&&(r&&r.preventDefault(),S=e.getIndex(),D=this.findNextEditableCell(e.row,S),D)?(D.getComponent().edit(),!0):!1}navigateUp(e=this.currentCell,r){var S,D;return e&&(r&&r.preventDefault(),S=e.getIndex(),D=this.table.rowManager.prevDisplayRow(e.row,!0),D)?(D.cells[S].getComponent().edit(),!0):!1}navigateDown(e=this.currentCell,r){var S,D;return e&&(r&&r.preventDefault(),S=e.getIndex(),D=this.table.rowManager.nextDisplayRow(e.row,!0),D)?(D.cells[S].getComponent().edit(),!0):!1}findNextEditableCell(e,r){var S=!1;if(r0)for(var D=r-1;D>=0;D--){let T=e.cells[D];if(T.column.modules.edit&&so.elVisible(T.getElement())&&this.allowEdit(T)){S=T;break}}return S}initializeColumnCheck(e){typeof e.definition.editor<"u"&&this.initializeColumn(e)}columnDeleteCheck(e){this.currentCell&&this.currentCell.column===e&&this.cancelEdit()}rowDeleteCheck(e){this.currentCell&&this.currentCell.row===e&&this.cancelEdit()}rowEditableCheck(e){e.getCells().forEach(r=>{r.column.modules.edit&&typeof r.column.modules.edit.check=="function"&&this.updateCellClass(r)})}initializeColumn(e){var r={editor:!1,blocked:!1,check:e.definition.editable,params:e.definition.editorParams||{}};switch(typeof e.definition.editor){case"string":this.editors[e.definition.editor]?r.editor=this.editors[e.definition.editor]:console.warn("Editor Error - No such editor found: ",e.definition.editor);break;case"function":r.editor=e.definition.editor;break;case"boolean":e.definition.editor===!0&&(typeof e.definition.formatter!="function"?this.editors[e.definition.formatter]?r.editor=this.editors[e.definition.formatter]:r.editor=this.editors.input:console.warn("Editor Error - Cannot auto lookup editor for a custom formatter: ",e.definition.formatter));break}r.editor&&(e.modules.edit=r)}getCurrentCell(){return this.currentCell?this.currentCell.getComponent():!1}clearEditor(e){var r=this.currentCell,S;if(this.invalidEdit=!1,r){for(this.currentCell=!1,S=r.getElement(),this.dispatch("edit-editor-clear",r,e),S.classList.remove("tabulator-editing");S.firstChild;)S.removeChild(S.firstChild);r.row.getElement().classList.remove("tabulator-editing"),r.table.element.classList.remove("tabulator-editing")}}cancelEdit(){if(this.currentCell){var e=this.currentCell,r=this.currentCell.getComponent();this.clearEditor(!0),e.setValueActual(e.getValue()),e.cellRendered(),(e.column.definition.editor=="textarea"||e.column.definition.variableHeight)&&e.row.normalizeHeight(!0),e.column.definition.cellEditCancelled&&e.column.definition.cellEditCancelled.call(this.table,r),this.dispatch("edit-cancelled",e),this.dispatchExternal("cellEditCancelled",r)}}bindEditor(e){if(e.column.modules.edit){var r=this,S=e.getElement(!0);this.updateCellClass(e),S.setAttribute("tabindex",0),S.addEventListener("mousedown",function(D){D.button===2?D.preventDefault():r.mouseClick=!0}),this.options("editTriggerEvent")==="dblclick"&&S.addEventListener("dblclick",function(D){S.classList.contains("tabulator-editing")||(S.focus({preventScroll:!0}),r.edit(e,D,!1))}),(this.options("editTriggerEvent")==="focus"||this.options("editTriggerEvent")==="click")&&S.addEventListener("click",function(D){S.classList.contains("tabulator-editing")||(S.focus({preventScroll:!0}),r.edit(e,D,!1))}),this.options("editTriggerEvent")==="focus"&&S.addEventListener("focus",function(D){r.recursionBlock||r.edit(e,D,!1)})}}focusCellNoEvent(e,r){this.recursionBlock=!0,r&&this.table.browser==="ie"||e.getElement().focus({preventScroll:!0}),this.recursionBlock=!1}editCell(e,r){this.focusCellNoEvent(e),this.edit(e,!1,r)}focusScrollAdjust(e){if(this.table.rowManager.getRenderMode()=="virtual"){var r=this.table.rowManager.element.scrollTop,S=this.table.rowManager.element.clientHeight+this.table.rowManager.element.scrollTop,D=e.row.getElement();D.offsetTopS&&(this.table.rowManager.element.scrollTop+=D.offsetTop+D.offsetHeight-S);var T=this.table.rowManager.element.scrollLeft,p=this.table.rowManager.element.clientWidth+this.table.rowManager.element.scrollLeft,t=e.getElement();this.table.modExists("frozenColumns")&&(T+=parseInt(this.table.modules.frozenColumns.leftMargin||0),p-=parseInt(this.table.modules.frozenColumns.rightMargin||0)),this.table.options.renderHorizontal==="virtual"&&(T-=parseInt(this.table.columnManager.renderer.vDomPadLeft),p-=parseInt(this.table.columnManager.renderer.vDomPadLeft)),t.offsetLeftp&&(this.table.rowManager.element.scrollLeft+=t.offsetLeft+t.offsetWidth-p)}}allowEdit(e){var r=!!e.column.modules.edit;if(e.column.modules.edit)switch(typeof e.column.modules.edit.check){case"function":e.row.initialized&&(r=e.column.modules.edit.check(e.getComponent()));break;case"string":r=!!e.row.data[e.column.modules.edit.check];break;case"boolean":r=e.column.modules.edit.check;break}return r}edit(e,r,S){var D=this,T=!0,p=function(){},t=e.getElement(),d=!1,g,i,M;if(this.currentCell){!this.invalidEdit&&this.currentCell!==e&&this.cancelEdit();return}function v(o){if(D.currentCell===e&&!d){var s=D.chain("edit-success",[e,o],!0,!0);return s===!0||D.table.options.validationMode==="highlight"?(d=!0,D.clearEditor(),e.modules.edit||(e.modules.edit={}),e.modules.edit.edited=!0,D.editedCells.indexOf(e)==-1&&D.editedCells.push(e),e.setValue(o,!0),s===!0):(d=!0,D.invalidEdit=!0,D.focusCellNoEvent(e,!0),p(),setTimeout(()=>{d=!1},10),!1)}}function f(){D.currentCell===e&&!d&&D.cancelEdit()}function l(o){p=o}if(e.column.modules.edit.blocked)return this.mouseClick=!1,this.blur(t),!1;if(r&&r.stopPropagation(),T=this.allowEdit(e),T||S){if(D.cancelEdit(),D.currentCell=e,this.focusScrollAdjust(e),i=e.getComponent(),this.mouseClick&&(this.mouseClick=!1,e.column.definition.cellClick&&e.column.definition.cellClick.call(this.table,r,i)),e.column.definition.cellEditing&&e.column.definition.cellEditing.call(this.table,i),this.dispatch("cell-editing",e),this.dispatchExternal("cellEditing",i),M=typeof e.column.modules.edit.params=="function"?e.column.modules.edit.params(i):e.column.modules.edit.params,g=e.column.modules.edit.editor.call(D,i,l,v,f,M),this.currentCell&&g!==!1)if(g instanceof Node){for(t.classList.add("tabulator-editing"),e.row.getElement().classList.add("tabulator-editing"),e.table.element.classList.add("tabulator-editing");t.firstChild;)t.removeChild(t.firstChild);t.appendChild(g),p();for(var a=t.children,u=0;u{e.push(r.getComponent())}),e}clearEdited(e){var r;e.modules.edit&&e.modules.edit.edited&&(e.modules.edit.edited=!1,this.dispatch("edit-edited-clear",e)),r=this.editedCells.indexOf(e),r>-1&&this.editedCells.splice(r,1)}}tg.moduleName="edit";tg.editors=BR;class g5{constructor(e,r,S,D){this.type=e,this.columns=r,this.component=S||!1,this.indent=D||0}}class mb{constructor(e,r,S,D,T){this.value=e,this.component=r||!1,this.width=S,this.height=D,this.depth=T}}class DM extends qi{constructor(e){super(e),this.config={},this.cloneTableStyle=!0,this.colVisProp="",this.registerTableOption("htmlOutputConfig",!1),this.registerColumnOption("htmlOutput"),this.registerColumnOption("titleHtmlOutput")}initialize(){this.registerTableFunction("getHtml",this.getHtml.bind(this))}generateExportList(e,r,S,D){this.cloneTableStyle=r,this.config=e||{},this.colVisProp=D;var T,p;if(S==="range"){var t=this.table.modules.selectRange.selectedColumns();T=this.config.columnHeaders!==!1?this.headersToExportRows(this.generateColumnGroupHeaders(t)):[],p=this.bodyToExportRows(this.rowLookup(S),this.table.modules.selectRange.selectedColumns(!0))}else T=this.config.columnHeaders!==!1?this.headersToExportRows(this.generateColumnGroupHeaders()):[],p=this.bodyToExportRows(this.rowLookup(S));return T.concat(p)}generateTable(e,r,S,D){var T=this.generateExportList(e,r,S,D);return this.generateTableElement(T)}rowLookup(e){var r=[];if(typeof e=="function")e.call(this.table).forEach(S=>{S=this.table.rowManager.findRow(S),S&&r.push(S)});else switch(e){case!0:case"visible":r=this.table.rowManager.getVisibleRows(!1,!0);break;case"all":r=this.table.rowManager.rows;break;case"selected":r=this.table.modules.selectRow.selectedRows;break;case"range":r=this.table.modules.selectRange.selectedRows();break;case"active":default:this.table.options.pagination?r=this.table.rowManager.getDisplayRows(this.table.rowManager.displayRows.length-2):r=this.table.rowManager.getDisplayRows()}return Object.assign([],r)}generateColumnGroupHeaders(e){var r=[];return e||(e=this.config.columnGroups!==!1?this.table.columnManager.columns:this.table.columnManager.columnsByIndex),e.forEach(S=>{var D=this.processColumnGroup(S);D&&r.push(D)}),r}processColumnGroup(e){var r=e.columns,S=0,D=e.definition["title"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))]||e.definition.title,T={title:D,column:e,depth:1};if(r.length){if(T.subGroups=[],T.width=0,r.forEach(p=>{var t=this.processColumnGroup(p);t&&(T.width+=t.width,T.subGroups.push(t),t.depth>S&&(S=t.depth))}),T.depth+=S,!T.width)return!1}else if(this.columnVisCheck(e))T.width=1;else return!1;return T}columnVisCheck(e){var r=e.definition[this.colVisProp];return typeof r=="function"&&(r=r.call(this.table,e.getComponent())),r!==!1&&(e.visible||!e.visible&&r)}headersToExportRows(e){var r=[],S=0,D=[];function T(p,t){var d=S-t;if(typeof r[t]>"u"&&(r[t]=[]),p.height=p.subGroups?1:d-p.depth+1,r[t].push(p),p.height>1)for(let g=1;g"u"&&(r[t+g]=[]),r[t+g].push(!1);if(p.width>1)for(let g=1;gS&&(S=p.depth)}),e.forEach(function(p){T(p,0)}),r.forEach(p=>{var t=[];p.forEach(d=>{if(d){let g=typeof d.title>"u"?"":d.title;t.push(new mb(g,d.column.getComponent(),d.width,d.height,d.depth))}else t.push(null)}),D.push(new g5("header",t))}),D}bodyToExportRows(e,r=[]){var S=[];return r.length===0&&this.table.columnManager.columnsByIndex.forEach(D=>{this.columnVisCheck(D)&&r.push(D.getComponent())}),this.config.columnCalcs!==!1&&this.table.modExists("columnCalcs")&&(this.table.modules.columnCalcs.topInitialized&&e.unshift(this.table.modules.columnCalcs.topRow),this.table.modules.columnCalcs.botInitialized&&e.push(this.table.modules.columnCalcs.botRow)),e=e.filter(D=>{switch(D.type){case"group":return this.config.rowGroups!==!1;case"calc":return this.config.columnCalcs!==!1;case"row":return!(this.table.options.dataTree&&this.config.dataTree===!1&&D.modules.dataTree.parent)}return!0}),e.forEach((D,T)=>{var p=D.getData(this.colVisProp),t=[],d=0;switch(D.type){case"group":d=D.level,t.push(new mb(D.key,D.getComponent(),r.length,1));break;case"calc":case"row":r.forEach(g=>{t.push(new mb(g._column.getFieldValue(p),g,1,1))}),this.table.options.dataTree&&this.config.dataTree!==!1&&(d=D.modules.dataTree.index);break}S.push(new g5(D.type,t,D.getComponent(),d))}),S}generateTableElement(e){var r=document.createElement("table"),S=document.createElement("thead"),D=document.createElement("tbody"),T=this.lookupTableStyles(),p=this.table.options["rowFormatter"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))],t={};return t.rowFormatter=p!==null?p:this.table.options.rowFormatter,this.table.options.dataTree&&this.config.dataTree!==!1&&this.table.modExists("columnCalcs")&&(t.treeElementField=this.table.modules.dataTree.elementField),t.groupHeader=this.table.options["groupHeader"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))],t.groupHeader&&!Array.isArray(t.groupHeader)&&(t.groupHeader=[t.groupHeader]),r.classList.add("tabulator-print-table"),this.mapElementStyles(this.table.columnManager.getHeadersElement(),S,["border-top","border-left","border-right","border-bottom","background-color","color","font-weight","font-family","font-size"]),e.length>1e3&&console.warn("It may take a long time to render an HTML table with more than 1000 rows"),e.forEach((d,g)=>{let i;switch(d.type){case"header":S.appendChild(this.generateHeaderElement(d,t,T));break;case"group":D.appendChild(this.generateGroupElement(d,t,T));break;case"calc":D.appendChild(this.generateCalcElement(d,t,T));break;case"row":i=this.generateRowElement(d,t,T),this.mapElementStyles(g%2&&T.evenRow?T.evenRow:T.oddRow,i,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),D.appendChild(i);break}}),S.innerHTML&&r.appendChild(S),r.appendChild(D),this.mapElementStyles(this.table.element,r,["border-top","border-left","border-right","border-bottom"]),r}lookupTableStyles(){var e={};return this.cloneTableStyle&&window.getComputedStyle&&(e.oddRow=this.table.element.querySelector(".tabulator-row-odd:not(.tabulator-group):not(.tabulator-calcs)"),e.evenRow=this.table.element.querySelector(".tabulator-row-even:not(.tabulator-group):not(.tabulator-calcs)"),e.calcRow=this.table.element.querySelector(".tabulator-row.tabulator-calcs"),e.firstRow=this.table.element.querySelector(".tabulator-row:not(.tabulator-group):not(.tabulator-calcs)"),e.firstGroup=this.table.element.getElementsByClassName("tabulator-group")[0],e.firstRow&&(e.styleCells=e.firstRow.getElementsByClassName("tabulator-cell"),e.firstCell=e.styleCells[0],e.lastCell=e.styleCells[e.styleCells.length-1])),e}generateHeaderElement(e,r,S){var D=document.createElement("tr");return e.columns.forEach(T=>{if(T){var p=document.createElement("th"),t=T.component._column.definition.cssClass?T.component._column.definition.cssClass.split(" "):[];p.colSpan=T.width,p.rowSpan=T.height,p.innerHTML=T.value,this.cloneTableStyle&&(p.style.boxSizing="border-box"),t.forEach(function(d){p.classList.add(d)}),this.mapElementStyles(T.component.getElement(),p,["text-align","border-top","border-left","border-right","border-bottom","background-color","color","font-weight","font-family","font-size"]),this.mapElementStyles(T.component._column.contentElement,p,["padding-top","padding-left","padding-right","padding-bottom"]),T.component._column.visible?this.mapElementStyles(T.component.getElement(),p,["width"]):T.component._column.definition.width&&(p.style.width=T.component._column.definition.width+"px"),T.component._column.parent&&this.mapElementStyles(T.component._column.parent.groupElement,p,["border-top"]),D.appendChild(p)}}),D}generateGroupElement(e,r,S){var D=document.createElement("tr"),T=document.createElement("td"),p=e.columns[0];return D.classList.add("tabulator-print-table-row"),r.groupHeader&&r.groupHeader[e.indent]?p.value=r.groupHeader[e.indent](p.value,e.component._group.getRowCount(),e.component._group.getData(),e.component):r.groupHeader!==!1&&(p.value=e.component._group.generator(p.value,e.component._group.getRowCount(),e.component._group.getData(),e.component)),T.colSpan=p.width,T.innerHTML=p.value,D.classList.add("tabulator-print-table-group"),D.classList.add("tabulator-group-level-"+e.indent),p.component.isVisible()&&D.classList.add("tabulator-group-visible"),this.mapElementStyles(S.firstGroup,D,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),this.mapElementStyles(S.firstGroup,T,["padding-top","padding-left","padding-right","padding-bottom"]),D.appendChild(T),D}generateCalcElement(e,r,S){var D=this.generateRowElement(e,r,S);return D.classList.add("tabulator-print-table-calcs"),this.mapElementStyles(S.calcRow,D,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),D}generateRowElement(e,r,S){var D=document.createElement("tr");if(D.classList.add("tabulator-print-table-row"),e.columns.forEach((T,p)=>{if(T){var t=document.createElement("td"),d=T.component._column,g=this.table,i=g.columnManager.findColumnIndex(d),M=T.value,v,f={modules:{},getValue:function(){return M},getField:function(){return d.definition.field},getElement:function(){return t},getType:function(){return"cell"},getColumn:function(){return d.getComponent()},getData:function(){return e.component.getData()},getRow:function(){return e.component},getTable:function(){return g},getComponent:function(){return f},column:d},l=d.definition.cssClass?d.definition.cssClass.split(" "):[];if(l.forEach(function(a){t.classList.add(a)}),this.table.modExists("format")&&this.config.formatCells!==!1)M=this.table.modules.format.formatExportValue(f,this.colVisProp);else switch(typeof M){case"object":M=M!==null?JSON.stringify(M):"";break;case"undefined":M="";break}M instanceof Node?t.appendChild(M):t.innerHTML=M,v=S.styleCells&&S.styleCells[i]?S.styleCells[i]:S.firstCell,v&&(this.mapElementStyles(v,t,["padding-top","padding-left","padding-right","padding-bottom","border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","text-align"]),d.definition.align&&(t.style.textAlign=d.definition.align)),this.table.options.dataTree&&this.config.dataTree!==!1&&(r.treeElementField&&r.treeElementField==d.field||!r.treeElementField&&p==0)&&(e.component._row.modules.dataTree.controlEl&&t.insertBefore(e.component._row.modules.dataTree.controlEl.cloneNode(!0),t.firstChild),e.component._row.modules.dataTree.branchEl&&t.insertBefore(e.component._row.modules.dataTree.branchEl.cloneNode(!0),t.firstChild)),D.appendChild(t),f.modules.format&&f.modules.format.renderedCallback&&f.modules.format.renderedCallback()}}),r.rowFormatter&&e.type==="row"&&this.config.formatCells!==!1){let T=Object.assign(e.component);T.getElement=function(){return D},r.rowFormatter(e.component)}return D}generateHTMLTable(e){var r=document.createElement("div");return r.appendChild(this.generateTableElement(e)),r.innerHTML}getHtml(e,r,S,D){var T=this.generateExportList(S||this.table.options.htmlOutputConfig,r,e,D||"htmlOutput");return this.generateHTMLTable(T)}mapElementStyles(e,r,S){if(this.cloneTableStyle&&e&&r){var D={"background-color":"backgroundColor",color:"fontColor",width:"width","font-weight":"fontWeight","font-family":"fontFamily","font-size":"fontSize","text-align":"textAlign","border-top":"borderTop","border-left":"borderLeft","border-right":"borderRight","border-bottom":"borderBottom","padding-top":"paddingTop","padding-left":"paddingLeft","padding-right":"paddingRight","padding-bottom":"paddingBottom"};if(window.getComputedStyle){var T=window.getComputedStyle(e);S.forEach(function(p){r.style[D[p]]||(r.style[D[p]]=T.getPropertyValue(p))})}}}}DM.moduleName="export";var NR={"=":function(n,e,r,S){return e==n},"<":function(n,e,r,S){return e":function(n,e,r,S){return e>n},">=":function(n,e,r,S){return e>=n},"!=":function(n,e,r,S){return e!=n},regex:function(n,e,r,S){return typeof n=="string"&&(n=new RegExp(n)),n.test(e)},like:function(n,e,r,S){return n===null||typeof n>"u"?e===n:typeof e<"u"&&e!==null?String(e).toLowerCase().indexOf(n.toLowerCase())>-1:!1},keywords:function(n,e,r,S){var D=n.toLowerCase().split(typeof S.separator>"u"?" ":S.separator),T=String(e===null||typeof e>"u"?"":e).toLowerCase(),p=[];return D.forEach(t=>{T.includes(t)&&p.push(!0)}),S.matchAll?p.length===D.length:!!p.length},starts:function(n,e,r,S){return n===null||typeof n>"u"?e===n:typeof e<"u"&&e!==null?String(e).toLowerCase().startsWith(n.toLowerCase()):!1},ends:function(n,e,r,S){return n===null||typeof n>"u"?e===n:typeof e<"u"&&e!==null?String(e).toLowerCase().endsWith(n.toLowerCase()):!1},in:function(n,e,r,S){return Array.isArray(n)?n.length?n.indexOf(e)>-1:!0:(console.warn("Filter Error - filter value is not an array:",n),!1)}};class Xh extends qi{constructor(e){super(e),this.filterList=[],this.headerFilters={},this.headerFilterColumns=[],this.prevHeaderFilterChangeCheck="",this.prevHeaderFilterChangeCheck="{}",this.changed=!1,this.tableInitialized=!1,this.registerTableOption("filterMode","local"),this.registerTableOption("initialFilter",!1),this.registerTableOption("initialHeaderFilter",!1),this.registerTableOption("headerFilterLiveFilterDelay",300),this.registerTableOption("placeholderHeaderFilter",!1),this.registerColumnOption("headerFilter"),this.registerColumnOption("headerFilterPlaceholder"),this.registerColumnOption("headerFilterParams"),this.registerColumnOption("headerFilterEmptyCheck"),this.registerColumnOption("headerFilterFunc"),this.registerColumnOption("headerFilterFuncParams"),this.registerColumnOption("headerFilterLiveFilter"),this.registerTableFunction("searchRows",this.searchRows.bind(this)),this.registerTableFunction("searchData",this.searchData.bind(this)),this.registerTableFunction("setFilter",this.userSetFilter.bind(this)),this.registerTableFunction("refreshFilter",this.userRefreshFilter.bind(this)),this.registerTableFunction("addFilter",this.userAddFilter.bind(this)),this.registerTableFunction("getFilters",this.getFilters.bind(this)),this.registerTableFunction("setHeaderFilterFocus",this.userSetHeaderFilterFocus.bind(this)),this.registerTableFunction("getHeaderFilterValue",this.userGetHeaderFilterValue.bind(this)),this.registerTableFunction("setHeaderFilterValue",this.userSetHeaderFilterValue.bind(this)),this.registerTableFunction("getHeaderFilters",this.getHeaderFilters.bind(this)),this.registerTableFunction("removeFilter",this.userRemoveFilter.bind(this)),this.registerTableFunction("clearFilter",this.userClearFilter.bind(this)),this.registerTableFunction("clearHeaderFilter",this.userClearHeaderFilter.bind(this)),this.registerComponentFunction("column","headerFilterFocus",this.setHeaderFilterFocus.bind(this)),this.registerComponentFunction("column","reloadHeaderFilter",this.reloadHeaderFilter.bind(this)),this.registerComponentFunction("column","getHeaderFilterValue",this.getHeaderFilterValue.bind(this)),this.registerComponentFunction("column","setHeaderFilterValue",this.setHeaderFilterValue.bind(this))}initialize(){this.subscribe("column-init",this.initializeColumnHeaderFilter.bind(this)),this.subscribe("column-width-fit-before",this.hideHeaderFilterElements.bind(this)),this.subscribe("column-width-fit-after",this.showHeaderFilterElements.bind(this)),this.subscribe("table-built",this.tableBuilt.bind(this)),this.subscribe("placeholder",this.generatePlaceholder.bind(this)),this.table.options.filterMode==="remote"&&this.subscribe("data-params",this.remoteFilterParams.bind(this)),this.registerDataHandler(this.filter.bind(this),10)}tableBuilt(){this.table.options.initialFilter&&this.setFilter(this.table.options.initialFilter),this.table.options.initialHeaderFilter&&this.table.options.initialHeaderFilter.forEach(e=>{var r=this.table.columnManager.findColumn(e.field);if(r)this.setHeaderFilterValue(r,e.value);else return console.warn("Column Filter Error - No matching column found:",e.field),!1}),this.tableInitialized=!0}remoteFilterParams(e,r,S,D){return D.filter=this.getFilters(!0,!0),D}generatePlaceholder(e){if(this.table.options.placeholderHeaderFilter&&Object.keys(this.headerFilters).length)return this.table.options.placeholderHeaderFilter}userSetFilter(e,r,S,D){this.setFilter(e,r,S,D),this.refreshFilter()}userRefreshFilter(){this.refreshFilter()}userAddFilter(e,r,S,D){this.addFilter(e,r,S,D),this.refreshFilter()}userSetHeaderFilterFocus(e){var r=this.table.columnManager.findColumn(e);if(r)this.setHeaderFilterFocus(r);else return console.warn("Column Filter Focus Error - No matching column found:",e),!1}userGetHeaderFilterValue(e){var r=this.table.columnManager.findColumn(e);if(r)return this.getHeaderFilterValue(r);console.warn("Column Filter Error - No matching column found:",e)}userSetHeaderFilterValue(e,r){var S=this.table.columnManager.findColumn(e);if(S)this.setHeaderFilterValue(S,r);else return console.warn("Column Filter Error - No matching column found:",e),!1}userRemoveFilter(e,r,S){this.removeFilter(e,r,S),this.refreshFilter()}userClearFilter(e){this.clearFilter(e),this.refreshFilter()}userClearHeaderFilter(){this.clearHeaderFilter(),this.refreshFilter()}searchRows(e,r,S){return this.search("rows",e,r,S)}searchData(e,r,S){return this.search("data",e,r,S)}initializeColumnHeaderFilter(e){var r=e.definition;r.headerFilter&&this.initializeColumn(e)}initializeColumn(e,r){var S=this,D=e.getField();function T(p){var t=e.modules.filter.tagType=="input"&&e.modules.filter.attrType=="text"||e.modules.filter.tagType=="textarea"?"partial":"match",d="",g="",i;if(typeof e.modules.filter.prevSuccess>"u"||e.modules.filter.prevSuccess!==p){if(e.modules.filter.prevSuccess=p,e.modules.filter.emptyFunc(p))delete S.headerFilters[D];else{switch(e.modules.filter.value=p,typeof e.definition.headerFilterFunc){case"string":Xh.filters[e.definition.headerFilterFunc]?(d=e.definition.headerFilterFunc,i=function(M){var v=e.definition.headerFilterFuncParams||{},f=e.getFieldValue(M);return v=typeof v=="function"?v(p,f,M):v,Xh.filters[e.definition.headerFilterFunc](p,f,M,v)}):console.warn("Header Filter Error - Matching filter function not found: ",e.definition.headerFilterFunc);break;case"function":i=function(M){var v=e.definition.headerFilterFuncParams||{},f=e.getFieldValue(M);return v=typeof v=="function"?v(p,f,M):v,e.definition.headerFilterFunc(p,f,M,v)},d=i;break}if(!i)switch(t){case"partial":i=function(M){var v=e.getFieldValue(M);return typeof v<"u"&&v!==null?String(v).toLowerCase().indexOf(String(p).toLowerCase())>-1:!1},d="like";break;default:i=function(M){return e.getFieldValue(M)==p},d="="}S.headerFilters[D]={value:p,func:i,type:d}}e.modules.filter.value=p,g=JSON.stringify(S.headerFilters),S.prevHeaderFilterChangeCheck!==g&&(S.prevHeaderFilterChangeCheck=g,S.trackChanges(),S.refreshFilter())}return!0}e.modules.filter={success:T,attrType:!1,tagType:!1,emptyFunc:!1},this.generateHeaderFilterElement(e)}generateHeaderFilterElement(e,r,S){var D=this,T=e.modules.filter.success,p=e.getField(),t,d,g,i,M,v,f,l;e.modules.filter.value=r;function a(){}function u(o){l=o}if(e.modules.filter.headerElement&&e.modules.filter.headerElement.parentNode&&e.contentElement.removeChild(e.modules.filter.headerElement.parentNode),p){switch(e.modules.filter.emptyFunc=e.definition.headerFilterEmptyCheck||function(o){return!o&&o!==0},t=document.createElement("div"),t.classList.add("tabulator-header-filter"),typeof e.definition.headerFilter){case"string":D.table.modules.edit.editors[e.definition.headerFilter]?(d=D.table.modules.edit.editors[e.definition.headerFilter],(e.definition.headerFilter==="tick"||e.definition.headerFilter==="tickCross")&&!e.definition.headerFilterEmptyCheck&&(e.modules.filter.emptyFunc=function(o){return o!==!0&&o!==!1})):console.warn("Filter Error - Cannot build header filter, No such editor found: ",e.definition.editor);break;case"function":d=e.definition.headerFilter;break;case"boolean":e.modules.edit&&e.modules.edit.editor?d=e.modules.edit.editor:e.definition.formatter&&D.table.modules.edit.editors[e.definition.formatter]?(d=D.table.modules.edit.editors[e.definition.formatter],(e.definition.formatter==="tick"||e.definition.formatter==="tickCross")&&!e.definition.headerFilterEmptyCheck&&(e.modules.filter.emptyFunc=function(o){return o!==!0&&o!==!1})):d=D.table.modules.edit.editors.input;break}if(d){if(i={getValue:function(){return typeof r<"u"?r:""},getField:function(){return e.definition.field},getElement:function(){return t},getColumn:function(){return e.getComponent()},getTable:()=>this.table,getType:()=>"header",getRow:function(){return{normalizeHeight:function(){}}}},f=e.definition.headerFilterParams||{},f=typeof f=="function"?f.call(D.table,i):f,g=d.call(this.table.modules.edit,i,u,T,a,f),!g){console.warn("Filter Error - Cannot add filter to "+p+" column, editor returned a value of false");return}if(!(g instanceof Node)){console.warn("Filter Error - Cannot add filter to "+p+" column, editor should return an instance of Node, the editor returned:",g);return}D.langBind("headerFilters|columns|"+e.definition.field,function(o){g.setAttribute("placeholder",typeof o<"u"&&o?o:e.definition.headerFilterPlaceholder||D.langText("headerFilters|default"))}),g.addEventListener("click",function(o){o.stopPropagation(),g.focus()}),g.addEventListener("focus",o=>{var s=this.table.columnManager.contentsElement.scrollLeft,h=this.table.rowManager.element.scrollLeft;s!==h&&(this.table.rowManager.scrollHorizontal(s),this.table.columnManager.scrollHorizontal(s))}),M=!1,v=function(o){M&&clearTimeout(M),M=setTimeout(function(){T(g.value)},D.table.options.headerFilterLiveFilterDelay)},e.modules.filter.headerElement=g,e.modules.filter.attrType=g.hasAttribute("type")?g.getAttribute("type").toLowerCase():"",e.modules.filter.tagType=g.tagName.toLowerCase(),e.definition.headerFilterLiveFilter!==!1&&(e.definition.headerFilter==="autocomplete"||e.definition.headerFilter==="tickCross"||(e.definition.editor==="autocomplete"||e.definition.editor==="tickCross")&&e.definition.headerFilter===!0||(g.addEventListener("keyup",v),g.addEventListener("search",v),e.modules.filter.attrType=="number"&&g.addEventListener("change",function(o){T(g.value)}),e.modules.filter.attrType=="text"&&this.table.browser!=="ie"&&g.setAttribute("type","search")),(e.modules.filter.tagType=="input"||e.modules.filter.tagType=="select"||e.modules.filter.tagType=="textarea")&&g.addEventListener("mousedown",function(o){o.stopPropagation()})),t.appendChild(g),e.contentElement.appendChild(t),S||D.headerFilterColumns.push(e),l&&l()}}else console.warn("Filter Error - Cannot add header filter, column has no field set:",e.definition.title)}hideHeaderFilterElements(){this.headerFilterColumns.forEach(function(e){e.modules.filter&&e.modules.filter.headerElement&&(e.modules.filter.headerElement.style.display="none")})}showHeaderFilterElements(){this.headerFilterColumns.forEach(function(e){e.modules.filter&&e.modules.filter.headerElement&&(e.modules.filter.headerElement.style.display="")})}setHeaderFilterFocus(e){e.modules.filter&&e.modules.filter.headerElement?e.modules.filter.headerElement.focus():console.warn("Column Filter Focus Error - No header filter set on column:",e.getField())}getHeaderFilterValue(e){if(e.modules.filter&&e.modules.filter.headerElement)return e.modules.filter.value;console.warn("Column Filter Error - No header filter set on column:",e.getField())}setHeaderFilterValue(e,r){e&&(e.modules.filter&&e.modules.filter.headerElement?(this.generateHeaderFilterElement(e,r,!0),e.modules.filter.success(r)):console.warn("Column Filter Error - No header filter set on column:",e.getField()))}reloadHeaderFilter(e){e&&(e.modules.filter&&e.modules.filter.headerElement?this.generateHeaderFilterElement(e,e.modules.filter.value,!0):console.warn("Column Filter Error - No header filter set on column:",e.getField()))}refreshFilter(){this.tableInitialized&&(this.table.options.filterMode==="remote"?this.reloadData(null,!1,!1):this.refreshData(!0))}trackChanges(){this.changed=!0,this.dispatch("filter-changed")}hasChanged(){var e=this.changed;return this.changed=!1,e}setFilter(e,r,S,D){this.filterList=[],Array.isArray(e)||(e=[{field:e,type:r,value:S,params:D}]),this.addFilter(e)}addFilter(e,r,S,D){var T=!1;Array.isArray(e)||(e=[{field:e,type:r,value:S,params:D}]),e.forEach(p=>{p=this.findFilter(p),p&&(this.filterList.push(p),T=!0)}),T&&this.trackChanges()}findFilter(e){var r;if(Array.isArray(e))return this.findSubFilters(e);var S=!1;return typeof e.field=="function"?S=function(D){return e.field(D,e.type||{})}:Xh.filters[e.type]?(r=this.table.columnManager.getColumnByField(e.field),r?S=function(D){return Xh.filters[e.type](e.value,r.getFieldValue(D),D,e.params||{})}:S=function(D){return Xh.filters[e.type](e.value,D[e.field],D,e.params||{})}):console.warn("Filter Error - No such filter type found, ignoring: ",e.type),e.func=S,e.func?e:!1}findSubFilters(e){var r=[];return e.forEach(S=>{S=this.findFilter(S),S&&r.push(S)}),r.length?r:!1}getFilters(e,r){var S=[];return e&&(S=this.getHeaderFilters()),r&&S.forEach(function(D){typeof D.type=="function"&&(D.type="function")}),S=S.concat(this.filtersToArray(this.filterList,r)),S}filtersToArray(e,r){var S=[];return e.forEach(D=>{var T;Array.isArray(D)?S.push(this.filtersToArray(D,r)):(T={field:D.field,type:D.type,value:D.value},r&&typeof T.type=="function"&&(T.type="function"),S.push(T))}),S}getHeaderFilters(){var e=[];for(var r in this.headerFilters)e.push({field:r,type:this.headerFilters[r].type,value:this.headerFilters[r].value});return e}removeFilter(e,r,S){Array.isArray(e)||(e=[{field:e,type:r,value:S}]),e.forEach(D=>{var T=-1;typeof D.field=="object"?T=this.filterList.findIndex(p=>D===p):T=this.filterList.findIndex(p=>D.field===p.field&&D.type===p.type&&D.value===p.value),T>-1?this.filterList.splice(T,1):console.warn("Filter Error - No matching filter type found, ignoring: ",D.type)}),this.trackChanges()}clearFilter(e){this.filterList=[],e&&this.clearHeaderFilter(),this.trackChanges()}clearHeaderFilter(){this.headerFilters={},this.prevHeaderFilterChangeCheck="{}",this.headerFilterColumns.forEach(e=>{typeof e.modules.filter.value<"u"&&delete e.modules.filter.value,e.modules.filter.prevSuccess=void 0,this.reloadHeaderFilter(e)}),this.trackChanges()}search(e,r,S,D){var T=[],p=[];return Array.isArray(r)||(r=[{field:r,type:S,value:D}]),r.forEach(t=>{t=this.findFilter(t),t&&p.push(t)}),this.table.rowManager.rows.forEach(t=>{var d=!0;p.forEach(g=>{this.filterRecurse(g,t.getData())||(d=!1)}),d&&T.push(e==="data"?t.getData("data"):t.getComponent())}),T}filter(e,r){var S=[],D=[];return this.subscribedExternal("dataFiltering")&&this.dispatchExternal("dataFiltering",this.getFilters(!0)),this.table.options.filterMode!=="remote"&&(this.filterList.length||Object.keys(this.headerFilters).length)?e.forEach(T=>{this.filterRow(T)&&S.push(T)}):S=e.slice(0),this.subscribedExternal("dataFiltered")&&(S.forEach(T=>{D.push(T.getComponent())}),this.dispatchExternal("dataFiltered",this.getFilters(!0),D)),S}filterRow(e,r){var S=!0,D=e.getData();this.filterList.forEach(p=>{this.filterRecurse(p,D)||(S=!1)});for(var T in this.headerFilters)this.headerFilters[T].func(D)||(S=!1);return S}filterRecurse(e,r){var S=!1;return Array.isArray(e)?e.forEach(D=>{this.filterRecurse(D,r)&&(S=!0)}):S=e.func(r),S}}Xh.moduleName="filter";Xh.filters=NR;function VR(n,e,r){return this.emptyToSpace(this.sanitizeHTML(n.getValue()))}function jR(n,e,r){return n.getValue()}function UR(n,e,r){return n.getElement().style.whiteSpace="pre-wrap",this.emptyToSpace(this.sanitizeHTML(n.getValue()))}function HR(n,e,r){var S=parseFloat(n.getValue()),D="",T,p,t,d,g,i=e.decimal||".",M=e.thousand||",",v=e.negativeSign||"-",f=e.symbol||"",l=!!e.symbolAfter,a=typeof e.precision<"u"?e.precision:2;if(isNaN(S))return this.emptyToSpace(this.sanitizeHTML(n.getValue()));if(S<0&&(S=Math.abs(S),D=v),T=a!==!1?S.toFixed(a):S,T=String(T).split("."),p=T[0],t=T.length>1?i+T[1]:"",e.thousand!==!1)for(d=/(\d+)(\d{3})/;d.test(p);)p=p.replace(d,"$1"+M+"$2");return g=p+t,D===!0?(g="("+g+")",l?g+f:f+g):l?D+g+f:D+f+g}function GR(n,e,r){var S=n.getValue(),D=e.urlPrefix||"",T=e.download,p=S,t=document.createElement("a"),d;function g(i,M){var v=i.shift(),f=M[v];return i.length&&typeof f=="object"?g(i,f):f}if(e.labelField&&(d=n.getData(),p=g(e.labelField.split(this.table.options.nestedFieldSeparator),d)),e.label)switch(typeof e.label){case"string":p=e.label;break;case"function":p=e.label(n);break}if(p){if(e.urlField&&(d=n.getData(),S=so.retrieveNestedData(this.table.options.nestedFieldSeparator,e.urlField,d)),e.url)switch(typeof e.url){case"string":S=e.url;break;case"function":S=e.url(n);break}return t.setAttribute("href",D+S),e.target&&t.setAttribute("target",e.target),e.download&&(typeof T=="function"?T=T(n):T=T===!0?"":T,t.setAttribute("download",T)),t.innerHTML=this.emptyToSpace(this.sanitizeHTML(p)),t}else return" "}function qR(n,e,r){var S=document.createElement("img"),D=n.getValue();switch(e.urlPrefix&&(D=e.urlPrefix+n.getValue()),e.urlSuffix&&(D=D+e.urlSuffix),S.setAttribute("src",D),typeof e.height){case"number":S.style.height=e.height+"px";break;case"string":S.style.height=e.height;break}switch(typeof e.width){case"number":S.style.width=e.width+"px";break;case"string":S.style.width=e.width;break}return S.addEventListener("load",function(){n.getRow().normalizeHeight()}),S}function WR(n,e,r){var S=n.getValue(),D=n.getElement(),T=e.allowEmpty,p=e.allowTruthy,t=Object.keys(e).includes("trueValue"),d=typeof e.tickElement<"u"?e.tickElement:'',g=typeof e.crossElement<"u"?e.crossElement:'';return t&&S===e.trueValue||!t&&(p&&S||S===!0||S==="true"||S==="True"||S===1||S==="1")?(D.setAttribute("aria-checked",!0),d||""):T&&(S==="null"||S===""||S===null||typeof S>"u")?(D.setAttribute("aria-checked","mixed"),""):(D.setAttribute("aria-checked",!1),g||"")}function YR(n,e,r){var S=window.DateTime||luxon.DateTime,D=e.inputFormat||"yyyy-MM-dd HH:mm:ss",T=e.outputFormat||"dd/MM/yyyy HH:mm:ss",p=typeof e.invalidPlaceholder<"u"?e.invalidPlaceholder:"",t=n.getValue();if(typeof S<"u"){var d;return S.isDateTime(t)?d=t:D==="iso"?d=S.fromISO(String(t)):d=S.fromFormat(String(t),D),d.isValid?(e.timezone&&(d=d.setZone(e.timezone)),d.toFormat(T)):p===!0||!t?t:typeof p=="function"?p(t):p}else console.error("Format Error - 'datetime' formatter is dependant on luxon.js")}function $R(n,e,r){var S=window.DateTime||luxon.DateTime,D=e.inputFormat||"yyyy-MM-dd HH:mm:ss",T=typeof e.invalidPlaceholder<"u"?e.invalidPlaceholder:"",p=typeof e.suffix<"u"?e.suffix:!1,t=typeof e.unit<"u"?e.unit:"days",d=typeof e.humanize<"u"?e.humanize:!1,g=typeof e.date<"u"?e.date:S.now(),i=n.getValue();if(typeof S<"u"){var M;return S.isDateTime(i)?M=i:D==="iso"?M=S.fromISO(String(i)):M=S.fromFormat(String(i),D),M.isValid?d?M.diff(g,t).toHuman()+(p?" "+p:""):parseInt(M.diff(g,t)[t])+(p?" "+p:""):T===!0?i:typeof T=="function"?T(i):T}else console.error("Format Error - 'datetimediff' formatter is dependant on luxon.js")}function ZR(n,e,r){var S=n.getValue();return typeof e[S]>"u"?(console.warn("Missing display value for "+S),S):e[S]}function XR(n,e,r){var S=n.getValue(),D=n.getElement(),T=e&&e.stars?e.stars:5,p=document.createElement("span"),t=document.createElementNS("http://www.w3.org/2000/svg","svg"),d='',g='';p.style.verticalAlign="middle",t.setAttribute("width","14"),t.setAttribute("height","14"),t.setAttribute("viewBox","0 0 512 512"),t.setAttribute("xml:space","preserve"),t.style.padding="0 1px",S=S&&!isNaN(S)?parseInt(S):0,S=Math.max(0,Math.min(S,T));for(var i=1;i<=T;i++){var M=t.cloneNode(!0);M.innerHTML=i<=S?d:g,p.appendChild(M)}return D.style.whiteSpace="nowrap",D.style.overflow="hidden",D.style.textOverflow="ellipsis",D.setAttribute("aria-label",S),p}function KR(n,e,r){var S=this.sanitizeHTML(n.getValue())||0,D=document.createElement("span"),T=e&&e.max?e.max:100,p=e&&e.min?e.min:0,t=e&&typeof e.color<"u"?e.color:["red","orange","green"],d="#666666",g,i;if(!(isNaN(S)||typeof n.getValue()>"u")){switch(D.classList.add("tabulator-traffic-light"),i=parseFloat(S)<=T?parseFloat(S):T,i=parseFloat(i)>=p?parseFloat(i):p,g=(T-p)/100,i=Math.round((i-p)/g),typeof t){case"string":d=t;break;case"function":d=t(S);break;case"object":if(Array.isArray(t)){var M=100/t.length,v=Math.floor(i/M);v=Math.min(v,t.length-1),v=Math.max(v,0),d=t[v];break}}return D.style.backgroundColor=d,D}}function JR(n,e={},r){var S=this.sanitizeHTML(n.getValue())||0,D=n.getElement(),T=e.max?e.max:100,p=e.min?e.min:0,t=e.legendAlign?e.legendAlign:"center",d,g,i,M,v;switch(g=parseFloat(S)<=T?parseFloat(S):T,g=parseFloat(g)>=p?parseFloat(g):p,d=(T-p)/100,g=Math.round((g-p)/d),typeof e.color){case"string":i=e.color;break;case"function":i=e.color(S);break;case"object":if(Array.isArray(e.color)){let u=100/e.color.length,o=Math.floor(g/u);o=Math.min(o,e.color.length-1),o=Math.max(o,0),i=e.color[o];break}default:i="#2DC214"}switch(typeof e.legend){case"string":M=e.legend;break;case"function":M=e.legend(S);break;case"boolean":M=S;break;default:M=!1}switch(typeof e.legendColor){case"string":v=e.legendColor;break;case"function":v=e.legendColor(S);break;case"object":if(Array.isArray(e.legendColor)){let u=100/e.legendColor.length,o=Math.floor(g/u);o=Math.min(o,e.legendColor.length-1),o=Math.max(o,0),v=e.legendColor[o]}break;default:v="#000"}D.style.minWidth="30px",D.style.position="relative",D.setAttribute("aria-label",g);var f=document.createElement("div");f.style.display="inline-block",f.style.width=g+"%",f.style.backgroundColor=i,f.style.height="100%",f.setAttribute("data-max",T),f.setAttribute("data-min",p);var l=document.createElement("div");if(l.style.position="relative",l.style.width="100%",l.style.height="100%",M){var a=document.createElement("div");a.style.position="absolute",a.style.top=0,a.style.left=0,a.style.textAlign=t,a.style.width="100%",a.style.color=v,a.innerHTML=M}return r(function(){if(!(n instanceof IM)){var u=document.createElement("div");u.style.position="absolute",u.style.top="4px",u.style.bottom="4px",u.style.left="4px",u.style.right="4px",D.appendChild(u),D=u}D.appendChild(l),l.appendChild(f),M&&l.appendChild(a)}),""}function QR(n,e,r){return n.getElement().style.backgroundColor=this.sanitizeHTML(n.getValue()),""}function eP(n,e,r){return''}function tP(n,e,r){return''}function nP(n,e,r){var S=document.createElement("span"),D=n.getRow(),T=n.getTable();return D.watchPosition(p=>{e.relativeToPage&&(p+=T.modules.page.getPageSize()*(T.modules.page.getPage()-1)),S.innerText=p}),S}function rP(n,e,r){return n.getElement().classList.add("tabulator-row-handle"),"
"}function iP(n,e,r){var S=document.createElement("div"),D=n.getRow()._row.modules.responsiveLayout;S.classList.add("tabulator-responsive-collapse-toggle"),S.innerHTML=` -======== -`)):H=N.stylize("[Circular]","special")),_(q)){if(G&&U.match(/^\d+$/))return H;(q=JSON.stringify(""+U)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(q=q.slice(1,-1),q=N.stylize(q,"name")):(q=q.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),q=N.stylize(q,"string"))}return q+": "+H}function h(N){return Array.isArray(N)}function m(N){return typeof N=="boolean"}function w(N){return N===null}function y(N){return typeof N=="number"}function S(N){return typeof N=="string"}function _(N){return N===void 0}function k(N){return E(N)&&b(N)==="[object RegExp]"}function E(N){return typeof N=="object"&&N!==null}function x(N){return E(N)&&b(N)==="[object Date]"}function A(N){return E(N)&&(b(N)==="[object Error]"||N instanceof Error)}function L(N){return typeof N=="function"}function b(N){return Object.prototype.toString.call(N)}function R(N){return N<10?"0"+N.toString(10):N.toString(10)}p.debuglog=function(N){if(N=N.toUpperCase(),!M[N])if(v.test(N)){var W=d.pid;M[N]=function(){var j=p.format.apply(p,arguments);console.error("%s %d: %s",N,W,j)}}else M[N]=function(){};return M[N]},p.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},p.types=t(4936),p.isArray=h,p.isBoolean=m,p.isNull=w,p.isNullOrUndefined=function(N){return N==null},p.isNumber=y,p.isString=S,p.isSymbol=function(N){return typeof N=="symbol"},p.isUndefined=_,p.isRegExp=k,p.types.isRegExp=k,p.isObject=E,p.isDate=x,p.types.isDate=x,p.isError=A,p.types.isNativeError=A,p.isFunction=L,p.isPrimitive=function(N){return N===null||typeof N=="boolean"||typeof N=="number"||typeof N=="string"||typeof N=="symbol"||N===void 0},p.isBuffer=t(45920);var I=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function O(){var N=new Date,W=[R(N.getHours()),R(N.getMinutes()),R(N.getSeconds())].join(":");return[N.getDate(),I[N.getMonth()],W].join(" ")}function z(N,W){return Object.prototype.hasOwnProperty.call(N,W)}p.log=function(){console.log("%s - %s",O(),p.format.apply(p,arguments))},p.inherits=t(42018),p._extend=function(N,W){if(!W||!E(W))return N;for(var j=Object.keys(W),$=j.length;$--;)N[j[$]]=W[j[$]];return N};var F=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;function B(N,W){if(!N){var j=new Error("Promise was rejected with a falsy value");j.reason=N,N=j}return W(N)}p.promisify=function(N){if(typeof N!="function")throw new TypeError('The "original" argument must be of type Function');if(F&&N[F]){var W;if(typeof(W=N[F])!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(W,F,{value:W,enumerable:!1,writable:!1,configurable:!0}),W}function W(){for(var j,$,U=new Promise(function(H,ne){j=H,$=ne}),G=[],q=0;q"u"?t.g:globalThis,a=g(),u=i("String.prototype.slice"),o={},s=Object.getPrototypeOf;f&&M&&s&&d(a,function(h){if(typeof l[h]=="function"){var m=new l[h];if(Symbol.toStringTag in m){var w=s(m),y=M(w,Symbol.toStringTag);if(!y){var S=s(w);y=M(S,Symbol.toStringTag)}o[h]=y.get}}});var c=t(9187);T.exports=function(h){return!!c(h)&&(f&&Symbol.toStringTag in h?function(m){var w=!1;return d(o,function(y,S){if(!w)try{var _=y.call(m);_===S&&(w=_)}catch{}}),w}(h):u(v(h),8,-1))}},3961:function(T,p,t){var d=t(63489),g=t(56131),i=d.instance();function M(s){this.local=this.regionalOptions[s||""]||this.regionalOptions[""]}M.prototype=new d.baseCalendar,g(M.prototype,{name:"Chinese",jdEpoch:17214255e-1,hasYearZero:!1,minMonth:0,firstMonth:0,minDay:1,regionalOptions:{"":{name:"Chinese",epochs:["BEC","EC"],monthNumbers:function(s,c){if(typeof s=="string"){var h=s.match(f);return h?h[0]:""}var m=this._validateYear(s),w=s.month(),y=""+this.toChineseMonth(m,w);return c&&y.length<2&&(y="0"+y),this.isIntercalaryMonth(m,w)&&(y+="i"),y},monthNames:function(s){if(typeof s=="string"){var c=s.match(l);return c?c[0]:""}var h=this._validateYear(s),m=s.month(),w=["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"][this.toChineseMonth(h,m)-1];return this.isIntercalaryMonth(h,m)&&(w="闰"+w),w},monthNamesShort:function(s){if(typeof s=="string"){var c=s.match(a);return c?c[0]:""}var h=this._validateYear(s),m=s.month(),w=["一","二","三","四","五","六","七","八","九","十","十一","十二"][this.toChineseMonth(h,m)-1];return this.isIntercalaryMonth(h,m)&&(w="闰"+w),w},parseMonth:function(s,c){s=this._validateYear(s);var h,m=parseInt(c);if(isNaN(m))c[0]==="闰"&&(h=!0,c=c.substring(1)),c[c.length-1]==="月"&&(c=c.substring(0,c.length-1)),m=1+["一","二","三","四","五","六","七","八","九","十","十一","十二"].indexOf(c);else{var w=c[c.length-1];h=w==="i"||w==="I"}return this.toMonthIndex(s,m,h)},dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:1,isRTL:!1}},_validateYear:function(s,c){if(s.year&&(s=s.year()),typeof s!="number"||s<1888||s>2111)throw c.replace(/\{0\}/,this.local.name);return s},toMonthIndex:function(s,c,h){var m=this.intercalaryMonth(s);if(h&&c!==m||c<1||c>12)throw d.local.invalidMonth.replace(/\{0\}/,this.local.name);return m?!h&&c<=m?c-1:c:c-1},toChineseMonth:function(s,c){s.year&&(c=(s=s.year()).month());var h=this.intercalaryMonth(s);if(c<0||c>(h?12:11))throw d.local.invalidMonth.replace(/\{0\}/,this.local.name);return h?c>13},isIntercalaryMonth:function(s,c){s.year&&(c=(s=s.year()).month());var h=this.intercalaryMonth(s);return!!h&&h===c},leapYear:function(s){return this.intercalaryMonth(s)!==0},weekOfYear:function(s,c,h){var m,w=this._validateYear(s,d.local.invalidyear),y=o[w-o[0]],S=y>>9&4095,_=y>>5&15,k=31&y;(m=i.newDate(S,_,k)).add(4-(m.dayOfWeek()||7),"d");var E=this.toJD(s,c,h)-m.toJD();return 1+Math.floor(E/7)},monthsInYear:function(s){return this.leapYear(s)?13:12},daysInMonth:function(s,c){s.year&&(c=s.month(),s=s.year()),s=this._validateYear(s);var h=u[s-u[0]];if(c>(h>>13?12:11))throw d.local.invalidMonth.replace(/\{0\}/,this.local.name);return h&1<<12-c?30:29},weekDay:function(s,c,h){return(this.dayOfWeek(s,c,h)||7)<6},toJD:function(s,c,h){var m=this._validate(s,y,h,d.local.invalidDate);s=this._validateYear(m.year()),c=m.month(),h=m.day();var w=this.isIntercalaryMonth(s,c),y=this.toChineseMonth(s,c),S=function(_,k,E,x,A){var L,b,R;if(typeof _=="object")b=_,L=k||{};else{var I;if(!(typeof _=="number"&&_>=1888&&_<=2111))throw new Error("Lunar year outside range 1888-2111");if(!(typeof k=="number"&&k>=1&&k<=12))throw new Error("Lunar month outside range 1 - 12");if(!(typeof E=="number"&&E>=1&&E<=30))throw new Error("Lunar day outside range 1 - 30");typeof x=="object"?(I=!1,L=x):(I=!!x,L={}),b={year:_,month:k,day:E,isIntercalary:I}}R=b.day-1;var O,z=u[b.year-u[0]],F=z>>13;O=F&&(b.month>F||b.isIntercalary)?b.month:b.month-1;for(var B=0;B>9&4095,(N>>5&15)-1,(31&N)+R);return L.year=W.getFullYear(),L.month=1+W.getMonth(),L.day=W.getDate(),L}(s,y,h,w);return i.toJD(S.year,S.month,S.day)},fromJD:function(s){var c=i.fromJD(s),h=function(w,y,S,_){var k,E;if(typeof w=="object")k=w,E=y||{};else{if(!(typeof w=="number"&&w>=1888&&w<=2111))throw new Error("Solar year outside range 1888-2111");if(!(typeof y=="number"&&y>=1&&y<=12))throw new Error("Solar month outside range 1 - 12");if(!(typeof S=="number"&&S>=1&&S<=31))throw new Error("Solar day outside range 1 - 31");k={year:w,month:y,day:S},E={}}var x=o[k.year-o[0]],A=k.year<<9|k.month<<5|k.day;E.year=A>=x?k.year:k.year-1,x=o[E.year-o[0]];var L,b=new Date(x>>9&4095,(x>>5&15)-1,31&x),R=new Date(k.year,k.month-1,k.day);L=Math.round((R-b)/864e5);var I,O=u[E.year-u[0]];for(I=0;I<13;I++){var z=O&1<<12-I?30:29;if(L>13;return!F||I=2&&a<=6},extraInfo:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);return{century:M[Math.floor((a.year()-1)/100)+1]||""}},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);return v=a.year()+(a.year()<0?1:0),f=a.month(),(l=a.day())+(f>1?16:0)+(f>2?32*(f-2):0)+400*(v-1)+this.jdEpoch-1},fromJD:function(v){v=Math.floor(v+.5)-Math.floor(this.jdEpoch)-1;var f=Math.floor(v/400)+1;v-=400*(f-1),v+=v>15?16:0;var l=Math.floor(v/32)+1,a=v-32*(l-1)+1;return this.newDate(f<=0?f-1:f,l,a)}});var M={20:"Fruitbat",21:"Anchovy"};d.calendars.discworld=i},37715:function(T,p,t){var d=t(63489),g=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,g(i.prototype,{name:"Ethiopian",jdEpoch:17242205e-1,daysPerMonth:[30,30,30,30,30,30,30,30,30,30,30,30,5],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Ethiopian",epochs:["BEE","EE"],monthNames:["Meskerem","Tikemet","Hidar","Tahesas","Tir","Yekatit","Megabit","Miazia","Genbot","Sene","Hamle","Nehase","Pagume"],monthNamesShort:["Mes","Tik","Hid","Tah","Tir","Yek","Meg","Mia","Gen","Sen","Ham","Neh","Pag"],dayNames:["Ehud","Segno","Maksegno","Irob","Hamus","Arb","Kidame"],dayNamesShort:["Ehu","Seg","Mak","Iro","Ham","Arb","Kid"],dayNamesMin:["Eh","Se","Ma","Ir","Ha","Ar","Ki"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(M){var v=this._validate(M,this.minMonth,this.minDay,d.local.invalidYear);return(M=v.year()+(v.year()<0?1:0))%4==3||M%4==-1},monthsInYear:function(M){return this._validate(M,this.minMonth,this.minDay,d.local.invalidYear||d.regionalOptions[""].invalidYear),13},weekOfYear:function(M,v,f){var l=this.newDate(M,v,f);return l.add(-l.dayOfWeek(),"d"),Math.floor((l.dayOfYear()-1)/7)+1},daysInMonth:function(M,v){var f=this._validate(M,v,this.minDay,d.local.invalidMonth);return this.daysPerMonth[f.month()-1]+(f.month()===13&&this.leapYear(f.year())?1:0)},weekDay:function(M,v,f){return(this.dayOfWeek(M,v,f)||7)<6},toJD:function(M,v,f){var l=this._validate(M,v,f,d.local.invalidDate);return(M=l.year())<0&&M++,l.day()+30*(l.month()-1)+365*(M-1)+Math.floor(M/4)+this.jdEpoch-1},fromJD:function(M){var v=Math.floor(M)+.5-this.jdEpoch,f=Math.floor((v-Math.floor((v+366)/1461))/365)+1;f<=0&&f--,v=Math.floor(M)+.5-this.newDate(f,1,1).toJD();var l=Math.floor(v/30)+1,a=v-30*(l-1)+1;return this.newDate(f,l,a)}}),d.calendars.ethiopian=i},99384:function(T,p,t){var d=t(63489),g=t(56131);function i(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}function M(v,f){return v-f*Math.floor(v/f)}i.prototype=new d.baseCalendar,g(i.prototype,{name:"Hebrew",jdEpoch:347995.5,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29,29],hasYearZero:!1,minMonth:1,firstMonth:7,minDay:1,regionalOptions:{"":{name:"Hebrew",epochs:["BAM","AM"],monthNames:["Nisan","Iyar","Sivan","Tammuz","Av","Elul","Tishrei","Cheshvan","Kislev","Tevet","Shevat","Adar","Adar II"],monthNamesShort:["Nis","Iya","Siv","Tam","Av","Elu","Tis","Che","Kis","Tev","She","Ada","Ad2"],dayNames:["Yom Rishon","Yom Sheni","Yom Shlishi","Yom Revi'i","Yom Chamishi","Yom Shishi","Yom Shabbat"],dayNamesShort:["Ris","She","Shl","Rev","Cha","Shi","Sha"],dayNamesMin:["Ri","She","Shl","Re","Ch","Shi","Sha"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(v){var f=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return this._leapYear(f.year())},_leapYear:function(v){return M(7*(v=v<0?v+1:v)+1,19)<7},monthsInYear:function(v){return this._validate(v,this.minMonth,this.minDay,d.local.invalidYear),this._leapYear(v.year?v.year():v)?13:12},weekOfYear:function(v,f,l){var a=this.newDate(v,f,l);return a.add(-a.dayOfWeek(),"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInYear:function(v){return v=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear).year(),this.toJD(v===-1?1:v+1,7,1)-this.toJD(v,7,1)},daysInMonth:function(v,f){return v.year&&(f=v.month(),v=v.year()),this._validate(v,f,this.minDay,d.local.invalidMonth),f===12&&this.leapYear(v)||f===8&&M(this.daysInYear(v),10)===5?30:f===9&&M(this.daysInYear(v),10)===3?29:this.daysPerMonth[f-1]},weekDay:function(v,f,l){return this.dayOfWeek(v,f,l)!==6},extraInfo:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);return{yearType:(this.leapYear(a)?"embolismic":"common")+" "+["deficient","regular","complete"][this.daysInYear(a)%10-3]}},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);v=a.year(),f=a.month(),l=a.day();var u=v<=0?v+1:v,o=this.jdEpoch+this._delay1(u)+this._delay2(u)+l+1;if(f<7){for(var s=7;s<=this.monthsInYear(v);s++)o+=this.daysInMonth(v,s);for(s=1;s=this.toJD(f===-1?1:f+1,7,1);)f++;for(var l=vthis.toJD(f,l,this.daysInMonth(f,l));)l++;var a=v-this.toJD(f,l,1)+1;return this.newDate(f,l,a)}}),d.calendars.hebrew=i},43805:function(T,p,t){var d=t(63489),g=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,g(i.prototype,{name:"Islamic",jdEpoch:19484395e-1,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Islamic",epochs:["BH","AH"],monthNames:["Muharram","Safar","Rabi' al-awwal","Rabi' al-thani","Jumada al-awwal","Jumada al-thani","Rajab","Sha'aban","Ramadan","Shawwal","Dhu al-Qi'dah","Dhu al-Hijjah"],monthNamesShort:["Muh","Saf","Rab1","Rab2","Jum1","Jum2","Raj","Sha'","Ram","Shaw","DhuQ","DhuH"],dayNames:["Yawm al-ahad","Yawm al-ithnayn","Yawm ath-thulaathaa'","Yawm al-arbi'aa'","Yawm al-khamīs","Yawm al-jum'a","Yawm as-sabt"],dayNamesShort:["Aha","Ith","Thu","Arb","Kha","Jum","Sab"],dayNamesMin:["Ah","It","Th","Ar","Kh","Ju","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!1}},leapYear:function(M){return(11*this._validate(M,this.minMonth,this.minDay,d.local.invalidYear).year()+14)%30<11},weekOfYear:function(M,v,f){var l=this.newDate(M,v,f);return l.add(-l.dayOfWeek(),"d"),Math.floor((l.dayOfYear()-1)/7)+1},daysInYear:function(M){return this.leapYear(M)?355:354},daysInMonth:function(M,v){var f=this._validate(M,v,this.minDay,d.local.invalidMonth);return this.daysPerMonth[f.month()-1]+(f.month()===12&&this.leapYear(f.year())?1:0)},weekDay:function(M,v,f){return this.dayOfWeek(M,v,f)!==5},toJD:function(M,v,f){var l=this._validate(M,v,f,d.local.invalidDate);return M=l.year(),v=l.month(),M=M<=0?M+1:M,(f=l.day())+Math.ceil(29.5*(v-1))+354*(M-1)+Math.floor((3+11*M)/30)+this.jdEpoch-1},fromJD:function(M){M=Math.floor(M)+.5;var v=Math.floor((30*(M-this.jdEpoch)+10646)/10631);v=v<=0?v-1:v;var f=Math.min(12,Math.ceil((M-29-this.toJD(v,1,1))/29.5)+1),l=M-this.toJD(v,f,1)+1;return this.newDate(v,f,l)}}),d.calendars.islamic=i},88874:function(T,p,t){var d=t(63489),g=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,g(i.prototype,{name:"Julian",jdEpoch:17214235e-1,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Julian",epochs:["BC","AD"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"mm/dd/yyyy",firstDay:0,isRTL:!1}},leapYear:function(M){var v=this._validate(M,this.minMonth,this.minDay,d.local.invalidYear);return(M=v.year()<0?v.year()+1:v.year())%4==0},weekOfYear:function(M,v,f){var l=this.newDate(M,v,f);return l.add(4-(l.dayOfWeek()||7),"d"),Math.floor((l.dayOfYear()-1)/7)+1},daysInMonth:function(M,v){var f=this._validate(M,v,this.minDay,d.local.invalidMonth);return this.daysPerMonth[f.month()-1]+(f.month()===2&&this.leapYear(f.year())?1:0)},weekDay:function(M,v,f){return(this.dayOfWeek(M,v,f)||7)<6},toJD:function(M,v,f){var l=this._validate(M,v,f,d.local.invalidDate);return M=l.year(),v=l.month(),f=l.day(),M<0&&M++,v<=2&&(M--,v+=12),Math.floor(365.25*(M+4716))+Math.floor(30.6001*(v+1))+f-1524.5},fromJD:function(M){var v=Math.floor(M+.5)+1524,f=Math.floor((v-122.1)/365.25),l=Math.floor(365.25*f),a=Math.floor((v-l)/30.6001),u=a-Math.floor(a<14?1:13),o=f-Math.floor(u>2?4716:4715),s=v-l-Math.floor(30.6001*a);return o<=0&&o--,this.newDate(o,u,s)}}),d.calendars.julian=i},83290:function(T,p,t){var d=t(63489),g=t(56131);function i(f){this.local=this.regionalOptions[f||""]||this.regionalOptions[""]}function M(f,l){return f-l*Math.floor(f/l)}function v(f,l){return M(f-1,l)+1}i.prototype=new d.baseCalendar,g(i.prototype,{name:"Mayan",jdEpoch:584282.5,hasYearZero:!0,minMonth:0,firstMonth:0,minDay:0,regionalOptions:{"":{name:"Mayan",epochs:["",""],monthNames:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"],monthNamesShort:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"],dayNames:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],dayNamesShort:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],dayNamesMin:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],digits:null,dateFormat:"YYYY.m.d",firstDay:0,isRTL:!1,haabMonths:["Pop","Uo","Zip","Zotz","Tzec","Xul","Yaxkin","Mol","Chen","Yax","Zac","Ceh","Mac","Kankin","Muan","Pax","Kayab","Cumku","Uayeb"],tzolkinMonths:["Imix","Ik","Akbal","Kan","Chicchan","Cimi","Manik","Lamat","Muluc","Oc","Chuen","Eb","Ben","Ix","Men","Cib","Caban","Etznab","Cauac","Ahau"]}},leapYear:function(f){return this._validate(f,this.minMonth,this.minDay,d.local.invalidYear),!1},formatYear:function(f){f=this._validate(f,this.minMonth,this.minDay,d.local.invalidYear).year();var l=Math.floor(f/400);return f%=400,f+=f<0?400:0,l+"."+Math.floor(f/20)+"."+f%20},forYear:function(f){if((f=f.split(".")).length<3)throw"Invalid Mayan year";for(var l=0,a=0;a19||a>0&&u<0)throw"Invalid Mayan year";l=20*l+u}return l},monthsInYear:function(f){return this._validate(f,this.minMonth,this.minDay,d.local.invalidYear),18},weekOfYear:function(f,l,a){return this._validate(f,l,a,d.local.invalidDate),0},daysInYear:function(f){return this._validate(f,this.minMonth,this.minDay,d.local.invalidYear),360},daysInMonth:function(f,l){return this._validate(f,l,this.minDay,d.local.invalidMonth),20},daysInWeek:function(){return 5},dayOfWeek:function(f,l,a){return this._validate(f,l,a,d.local.invalidDate).day()},weekDay:function(f,l,a){return this._validate(f,l,a,d.local.invalidDate),!0},extraInfo:function(f,l,a){var u=this._validate(f,l,a,d.local.invalidDate).toJD(),o=this._toHaab(u),s=this._toTzolkin(u);return{haabMonthName:this.local.haabMonths[o[0]-1],haabMonth:o[0],haabDay:o[1],tzolkinDayName:this.local.tzolkinMonths[s[0]-1],tzolkinDay:s[0],tzolkinTrecena:s[1]}},_toHaab:function(f){var l=M(8+(f-=this.jdEpoch)+340,365);return[Math.floor(l/20)+1,M(l,20)]},_toTzolkin:function(f){return[v(20+(f-=this.jdEpoch),20),v(f+4,13)]},toJD:function(f,l,a){var u=this._validate(f,l,a,d.local.invalidDate);return u.day()+20*u.month()+360*u.year()+this.jdEpoch},fromJD:function(f){f=Math.floor(f)+.5-this.jdEpoch;var l=Math.floor(f/360);f%=360,f+=f<0?360:0;var a=Math.floor(f/20),u=f%20;return this.newDate(l,a,u)}}),d.calendars.mayan=i},29108:function(T,p,t){var d=t(63489),g=t(56131);function i(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar;var M=d.instance("gregorian");g(i.prototype,{name:"Nanakshahi",jdEpoch:22576735e-1,daysPerMonth:[31,31,31,31,31,30,30,30,30,30,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Nanakshahi",epochs:["BN","AN"],monthNames:["Chet","Vaisakh","Jeth","Harh","Sawan","Bhadon","Assu","Katak","Maghar","Poh","Magh","Phagun"],monthNamesShort:["Che","Vai","Jet","Har","Saw","Bha","Ass","Kat","Mgr","Poh","Mgh","Pha"],dayNames:["Somvaar","Mangalvar","Budhvaar","Veervaar","Shukarvaar","Sanicharvaar","Etvaar"],dayNamesShort:["Som","Mangal","Budh","Veer","Shukar","Sanichar","Et"],dayNamesMin:["So","Ma","Bu","Ve","Sh","Sa","Et"],digits:null,dateFormat:"dd-mm-yyyy",firstDay:0,isRTL:!1}},leapYear:function(v){var f=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear||d.regionalOptions[""].invalidYear);return M.leapYear(f.year()+(f.year()<1?1:0)+1469)},weekOfYear:function(v,f,l){var a=this.newDate(v,f,l);return a.add(1-(a.dayOfWeek()||7),"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInMonth:function(v,f){var l=this._validate(v,f,this.minDay,d.local.invalidMonth);return this.daysPerMonth[l.month()-1]+(l.month()===12&&this.leapYear(l.year())?1:0)},weekDay:function(v,f,l){return(this.dayOfWeek(v,f,l)||7)<6},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidMonth);(v=a.year())<0&&v++;for(var u=a.day(),o=1;o=this.toJD(f+1,1,1);)f++;for(var l=v-Math.floor(this.toJD(f,1,1)+.5)+1,a=1;l>this.daysInMonth(f,a);)l-=this.daysInMonth(f,a),a++;return this.newDate(f,a,l)}}),d.calendars.nanakshahi=i},55422:function(T,p,t){var d=t(63489),g=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,g(i.prototype,{name:"Nepali",jdEpoch:17007095e-1,daysPerMonth:[31,31,32,32,31,30,30,29,30,29,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,daysPerYear:365,regionalOptions:{"":{name:"Nepali",epochs:["BBS","ABS"],monthNames:["Baisakh","Jestha","Ashadh","Shrawan","Bhadra","Ashwin","Kartik","Mangsir","Paush","Mangh","Falgun","Chaitra"],monthNamesShort:["Bai","Je","As","Shra","Bha","Ash","Kar","Mang","Pau","Ma","Fal","Chai"],dayNames:["Aaitabaar","Sombaar","Manglbaar","Budhabaar","Bihibaar","Shukrabaar","Shanibaar"],dayNamesShort:["Aaita","Som","Mangl","Budha","Bihi","Shukra","Shani"],dayNamesMin:["Aai","So","Man","Bu","Bi","Shu","Sha"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:1,isRTL:!1}},leapYear:function(M){return this.daysInYear(M)!==this.daysPerYear},weekOfYear:function(M,v,f){var l=this.newDate(M,v,f);return l.add(-l.dayOfWeek(),"d"),Math.floor((l.dayOfYear()-1)/7)+1},daysInYear:function(M){if(M=this._validate(M,this.minMonth,this.minDay,d.local.invalidYear).year(),this.NEPALI_CALENDAR_DATA[M]===void 0)return this.daysPerYear;for(var v=0,f=this.minMonth;f<=12;f++)v+=this.NEPALI_CALENDAR_DATA[M][f];return v},daysInMonth:function(M,v){return M.year&&(v=M.month(),M=M.year()),this._validate(M,v,this.minDay,d.local.invalidMonth),this.NEPALI_CALENDAR_DATA[M]===void 0?this.daysPerMonth[v-1]:this.NEPALI_CALENDAR_DATA[M][v]},weekDay:function(M,v,f){return this.dayOfWeek(M,v,f)!==6},toJD:function(M,v,f){var l=this._validate(M,v,f,d.local.invalidDate);M=l.year(),v=l.month(),f=l.day();var a=d.instance(),u=0,o=v,s=M;this._createMissingCalendarData(M);var c=M-(o>9||o===9&&f>=this.NEPALI_CALENDAR_DATA[s][0]?56:57);for(v!==9&&(u=f,o--);o!==9;)o<=0&&(o=12,s--),u+=this.NEPALI_CALENDAR_DATA[s][o],o--;return v===9?(u+=f-this.NEPALI_CALENDAR_DATA[s][0])<0&&(u+=a.daysInYear(c)):u+=this.NEPALI_CALENDAR_DATA[s][9]-this.NEPALI_CALENDAR_DATA[s][0],a.newDate(c,1,1).add(u,"d").toJD()},fromJD:function(M){var v=d.instance().fromJD(M),f=v.year(),l=v.dayOfYear(),a=f+56;this._createMissingCalendarData(a);for(var u=9,o=this.NEPALI_CALENDAR_DATA[a][0],s=this.NEPALI_CALENDAR_DATA[a][u]-o+1;l>s;)++u>12&&(u=1,a++),s+=this.NEPALI_CALENDAR_DATA[a][u];var c=this.NEPALI_CALENDAR_DATA[a][u]-(s-l);return this.newDate(a,u,c)},_createMissingCalendarData:function(M){var v=this.daysPerMonth.slice(0);v.unshift(17);for(var f=M-1;f0?474:473))%2820+474+38)%2816<682},weekOfYear:function(v,f,l){var a=this.newDate(v,f,l);return a.add(-(a.dayOfWeek()+1)%7,"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInMonth:function(v,f){var l=this._validate(v,f,this.minDay,d.local.invalidMonth);return this.daysPerMonth[l.month()-1]+(l.month()===12&&this.leapYear(l.year())?1:0)},weekDay:function(v,f,l){return this.dayOfWeek(v,f,l)!==5},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);v=a.year(),f=a.month(),l=a.day();var u=v-(v>=0?474:473),o=474+M(u,2820);return l+(f<=7?31*(f-1):30*(f-1)+6)+Math.floor((682*o-110)/2816)+365*(o-1)+1029983*Math.floor(u/2820)+this.jdEpoch-1},fromJD:function(v){var f=(v=Math.floor(v)+.5)-this.toJD(475,1,1),l=Math.floor(f/1029983),a=M(f,1029983),u=2820;if(a!==1029982){var o=Math.floor(a/366),s=M(a,366);u=Math.floor((2134*o+2816*s+2815)/1028522)+o+1}var c=u+2820*l+474;c=c<=0?c-1:c;var h=v-this.toJD(c,1,1)+1,m=h<=186?Math.ceil(h/31):Math.ceil((h-6)/30),w=v-this.toJD(c,m,1)+1;return this.newDate(c,m,w)}}),d.calendars.persian=i,d.calendars.jalali=i},31320:function(T,p,t){var d=t(63489),g=t(56131),i=d.instance();function M(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}M.prototype=new d.baseCalendar,g(M.prototype,{name:"Taiwan",jdEpoch:24194025e-1,yearsOffset:1911,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Taiwan",epochs:["BROC","ROC"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:1,isRTL:!1}},leapYear:function(v){var f=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return v=this._t2gYear(f.year()),i.leapYear(v)},weekOfYear:function(v,f,l){var a=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return v=this._t2gYear(a.year()),i.weekOfYear(v,a.month(),a.day())},daysInMonth:function(v,f){var l=this._validate(v,f,this.minDay,d.local.invalidMonth);return this.daysPerMonth[l.month()-1]+(l.month()===2&&this.leapYear(l.year())?1:0)},weekDay:function(v,f,l){return(this.dayOfWeek(v,f,l)||7)<6},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);return v=this._t2gYear(a.year()),i.toJD(v,a.month(),a.day())},fromJD:function(v){var f=i.fromJD(v),l=this._g2tYear(f.year());return this.newDate(l,f.month(),f.day())},_t2gYear:function(v){return v+this.yearsOffset+(v>=-this.yearsOffset&&v<=-1?1:0)},_g2tYear:function(v){return v-this.yearsOffset-(v>=1&&v<=this.yearsOffset?1:0)}}),d.calendars.taiwan=M},51367:function(T,p,t){var d=t(63489),g=t(56131),i=d.instance();function M(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}M.prototype=new d.baseCalendar,g(M.prototype,{name:"Thai",jdEpoch:15230985e-1,yearsOffset:543,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Thai",epochs:["BBE","BE"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(v){var f=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return v=this._t2gYear(f.year()),i.leapYear(v)},weekOfYear:function(v,f,l){var a=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return v=this._t2gYear(a.year()),i.weekOfYear(v,a.month(),a.day())},daysInMonth:function(v,f){var l=this._validate(v,f,this.minDay,d.local.invalidMonth);return this.daysPerMonth[l.month()-1]+(l.month()===2&&this.leapYear(l.year())?1:0)},weekDay:function(v,f,l){return(this.dayOfWeek(v,f,l)||7)<6},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);return v=this._t2gYear(a.year()),i.toJD(v,a.month(),a.day())},fromJD:function(v){var f=i.fromJD(v),l=this._g2tYear(f.year());return this.newDate(l,f.month(),f.day())},_t2gYear:function(v){return v-this.yearsOffset-(v>=1&&v<=this.yearsOffset?1:0)},_g2tYear:function(v){return v+this.yearsOffset+(v>=-this.yearsOffset&&v<=-1?1:0)}}),d.calendars.thai=M},21457:function(T,p,t){var d=t(63489),g=t(56131);function i(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,g(i.prototype,{name:"UmmAlQura",hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Umm al-Qura",epochs:["BH","AH"],monthNames:["Al-Muharram","Safar","Rabi' al-awwal","Rabi' Al-Thani","Jumada Al-Awwal","Jumada Al-Thani","Rajab","Sha'aban","Ramadan","Shawwal","Dhu al-Qi'dah","Dhu al-Hijjah"],monthNamesShort:["Muh","Saf","Rab1","Rab2","Jum1","Jum2","Raj","Sha'","Ram","Shaw","DhuQ","DhuH"],dayNames:["Yawm al-Ahad","Yawm al-Ithnain","Yawm al-Thalāthā’","Yawm al-Arba‘ā’","Yawm al-Khamīs","Yawm al-Jum‘a","Yawm al-Sabt"],dayNamesMin:["Ah","Ith","Th","Ar","Kh","Ju","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!0}},leapYear:function(v){var f=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return this.daysInYear(f.year())===355},weekOfYear:function(v,f,l){var a=this.newDate(v,f,l);return a.add(-a.dayOfWeek(),"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInYear:function(v){for(var f=0,l=1;l<=12;l++)f+=this.daysInMonth(v,l);return f},daysInMonth:function(v,f){for(var l=this._validate(v,f,this.minDay,d.local.invalidMonth).toJD()-24e5+.5,a=0,u=0;ul)return M[a]-M[a-1];a++}return 30},weekDay:function(v,f,l){return this.dayOfWeek(v,f,l)!==5},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate),u=12*(a.year()-1)+a.month()-15292;return a.day()+M[u-1]-1+24e5-.5},fromJD:function(v){for(var f=v-24e5+.5,l=0,a=0;af);a++)l++;var u=l+15292,o=Math.floor((u-1)/12),s=o+1,c=u-12*o,h=f-M[l-1]+1;return this.newDate(s,c,h)},isValid:function(v,f,l){var a=d.baseCalendar.prototype.isValid.apply(this,arguments);return a&&(a=(v=v.year!=null?v.year:v)>=1276&&v<=1500),a},_validate:function(v,f,l,a){var u=d.baseCalendar.prototype._validate.apply(this,arguments);if(u.year<1276||u.year>1500)throw a.replace(/\{0\}/,this.local.name);return u}}),d.calendars.ummalqura=i;var M=[20,50,79,109,138,168,197,227,256,286,315,345,374,404,433,463,492,522,551,581,611,641,670,700,729,759,788,818,847,877,906,936,965,995,1024,1054,1083,1113,1142,1172,1201,1231,1260,1290,1320,1350,1379,1409,1438,1468,1497,1527,1556,1586,1615,1645,1674,1704,1733,1763,1792,1822,1851,1881,1910,1940,1969,1999,2028,2058,2087,2117,2146,2176,2205,2235,2264,2294,2323,2353,2383,2413,2442,2472,2501,2531,2560,2590,2619,2649,2678,2708,2737,2767,2796,2826,2855,2885,2914,2944,2973,3003,3032,3062,3091,3121,3150,3180,3209,3239,3268,3298,3327,3357,3386,3416,3446,3476,3505,3535,3564,3594,3623,3653,3682,3712,3741,3771,3800,3830,3859,3889,3918,3948,3977,4007,4036,4066,4095,4125,4155,4185,4214,4244,4273,4303,4332,4362,4391,4421,4450,4480,4509,4539,4568,4598,4627,4657,4686,4716,4745,4775,4804,4834,4863,4893,4922,4952,4981,5011,5040,5070,5099,5129,5158,5188,5218,5248,5277,5307,5336,5366,5395,5425,5454,5484,5513,5543,5572,5602,5631,5661,5690,5720,5749,5779,5808,5838,5867,5897,5926,5956,5985,6015,6044,6074,6103,6133,6162,6192,6221,6251,6281,6311,6340,6370,6399,6429,6458,6488,6517,6547,6576,6606,6635,6665,6694,6724,6753,6783,6812,6842,6871,6901,6930,6960,6989,7019,7048,7078,7107,7137,7166,7196,7225,7255,7284,7314,7344,7374,7403,7433,7462,7492,7521,7551,7580,7610,7639,7669,7698,7728,7757,7787,7816,7846,7875,7905,7934,7964,7993,8023,8053,8083,8112,8142,8171,8201,8230,8260,8289,8319,8348,8378,8407,8437,8466,8496,8525,8555,8584,8614,8643,8673,8702,8732,8761,8791,8821,8850,8880,8909,8938,8968,8997,9027,9056,9086,9115,9145,9175,9205,9234,9264,9293,9322,9352,9381,9410,9440,9470,9499,9529,9559,9589,9618,9648,9677,9706,9736,9765,9794,9824,9853,9883,9913,9943,9972,10002,10032,10061,10090,10120,10149,10178,10208,10237,10267,10297,10326,10356,10386,10415,10445,10474,10504,10533,10562,10592,10621,10651,10680,10710,10740,10770,10799,10829,10858,10888,10917,10947,10976,11005,11035,11064,11094,11124,11153,11183,11213,11242,11272,11301,11331,11360,11389,11419,11448,11478,11507,11537,11567,11596,11626,11655,11685,11715,11744,11774,11803,11832,11862,11891,11921,11950,11980,12010,12039,12069,12099,12128,12158,12187,12216,12246,12275,12304,12334,12364,12393,12423,12453,12483,12512,12542,12571,12600,12630,12659,12688,12718,12747,12777,12807,12837,12866,12896,12926,12955,12984,13014,13043,13072,13102,13131,13161,13191,13220,13250,13280,13310,13339,13368,13398,13427,13456,13486,13515,13545,13574,13604,13634,13664,13693,13723,13752,13782,13811,13840,13870,13899,13929,13958,13988,14018,14047,14077,14107,14136,14166,14195,14224,14254,14283,14313,14342,14372,14401,14431,14461,14490,14520,14550,14579,14609,14638,14667,14697,14726,14756,14785,14815,14844,14874,14904,14933,14963,14993,15021,15051,15081,15110,15140,15169,15199,15228,15258,15287,15317,15347,15377,15406,15436,15465,15494,15524,15553,15582,15612,15641,15671,15701,15731,15760,15790,15820,15849,15878,15908,15937,15966,15996,16025,16055,16085,16114,16144,16174,16204,16233,16262,16292,16321,16350,16380,16409,16439,16468,16498,16528,16558,16587,16617,16646,16676,16705,16734,16764,16793,16823,16852,16882,16912,16941,16971,17001,17030,17060,17089,17118,17148,17177,17207,17236,17266,17295,17325,17355,17384,17414,17444,17473,17502,17532,17561,17591,17620,17650,17679,17709,17738,17768,17798,17827,17857,17886,17916,17945,17975,18004,18034,18063,18093,18122,18152,18181,18211,18241,18270,18300,18330,18359,18388,18418,18447,18476,18506,18535,18565,18595,18625,18654,18684,18714,18743,18772,18802,18831,18860,18890,18919,18949,18979,19008,19038,19068,19098,19127,19156,19186,19215,19244,19274,19303,19333,19362,19392,19422,19452,19481,19511,19540,19570,19599,19628,19658,19687,19717,19746,19776,19806,19836,19865,19895,19924,19954,19983,20012,20042,20071,20101,20130,20160,20190,20219,20249,20279,20308,20338,20367,20396,20426,20455,20485,20514,20544,20573,20603,20633,20662,20692,20721,20751,20780,20810,20839,20869,20898,20928,20957,20987,21016,21046,21076,21105,21135,21164,21194,21223,21253,21282,21312,21341,21371,21400,21430,21459,21489,21519,21548,21578,21607,21637,21666,21696,21725,21754,21784,21813,21843,21873,21902,21932,21962,21991,22021,22050,22080,22109,22138,22168,22197,22227,22256,22286,22316,22346,22375,22405,22434,22464,22493,22522,22552,22581,22611,22640,22670,22700,22730,22759,22789,22818,22848,22877,22906,22936,22965,22994,23024,23054,23083,23113,23143,23173,23202,23232,23261,23290,23320,23349,23379,23408,23438,23467,23497,23527,23556,23586,23616,23645,23674,23704,23733,23763,23792,23822,23851,23881,23910,23940,23970,23999,24029,24058,24088,24117,24147,24176,24206,24235,24265,24294,24324,24353,24383,24413,24442,24472,24501,24531,24560,24590,24619,24648,24678,24707,24737,24767,24796,24826,24856,24885,24915,24944,24974,25003,25032,25062,25091,25121,25150,25180,25210,25240,25269,25299,25328,25358,25387,25416,25446,25475,25505,25534,25564,25594,25624,25653,25683,25712,25742,25771,25800,25830,25859,25888,25918,25948,25977,26007,26037,26067,26096,26126,26155,26184,26214,26243,26272,26302,26332,26361,26391,26421,26451,26480,26510,26539,26568,26598,26627,26656,26686,26715,26745,26775,26805,26834,26864,26893,26923,26952,26982,27011,27041,27070,27099,27129,27159,27188,27218,27248,27277,27307,27336,27366,27395,27425,27454,27484,27513,27542,27572,27602,27631,27661,27691,27720,27750,27779,27809,27838,27868,27897,27926,27956,27985,28015,28045,28074,28104,28134,28163,28193,28222,28252,28281,28310,28340,28369,28399,28428,28458,28488,28517,28547,28577,28607,28636,28665,28695,28724,28754,28783,28813,28843,28872,28901,28931,28960,28990,29019,29049,29078,29108,29137,29167,29196,29226,29255,29285,29315,29345,29375,29404,29434,29463,29492,29522,29551,29580,29610,29640,29669,29699,29729,29759,29788,29818,29847,29876,29906,29935,29964,29994,30023,30053,30082,30112,30141,30171,30200,30230,30259,30289,30318,30348,30378,30408,30437,30467,30496,30526,30555,30585,30614,30644,30673,30703,30732,30762,30791,30821,30850,30880,30909,30939,30968,30998,31027,31057,31086,31116,31145,31175,31204,31234,31263,31293,31322,31352,31381,31411,31441,31471,31500,31530,31559,31589,31618,31648,31676,31706,31736,31766,31795,31825,31854,31884,31913,31943,31972,32002,32031,32061,32090,32120,32150,32180,32209,32239,32268,32298,32327,32357,32386,32416,32445,32475,32504,32534,32563,32593,32622,32652,32681,32711,32740,32770,32799,32829,32858,32888,32917,32947,32976,33006,33035,33065,33094,33124,33153,33183,33213,33243,33272,33302,33331,33361,33390,33420,33450,33479,33509,33539,33568,33598,33627,33657,33686,33716,33745,33775,33804,33834,33863,33893,33922,33952,33981,34011,34040,34069,34099,34128,34158,34187,34217,34247,34277,34306,34336,34365,34395,34424,34454,34483,34512,34542,34571,34601,34631,34660,34690,34719,34749,34778,34808,34837,34867,34896,34926,34955,34985,35015,35044,35074,35103,35133,35162,35192,35222,35251,35280,35310,35340,35370,35399,35429,35458,35488,35517,35547,35576,35605,35635,35665,35694,35723,35753,35782,35811,35841,35871,35901,35930,35960,35989,36019,36048,36078,36107,36136,36166,36195,36225,36254,36284,36314,36343,36373,36403,36433,36462,36492,36521,36551,36580,36610,36639,36669,36698,36728,36757,36786,36816,36845,36875,36904,36934,36963,36993,37022,37052,37081,37111,37141,37170,37200,37229,37259,37288,37318,37347,37377,37406,37436,37465,37495,37524,37554,37584,37613,37643,37672,37701,37731,37760,37790,37819,37849,37878,37908,37938,37967,37997,38027,38056,38085,38115,38144,38174,38203,38233,38262,38292,38322,38351,38381,38410,38440,38469,38499,38528,38558,38587,38617,38646,38676,38705,38735,38764,38794,38823,38853,38882,38912,38941,38971,39001,39030,39059,39089,39118,39148,39178,39208,39237,39267,39297,39326,39355,39385,39414,39444,39473,39503,39532,39562,39592,39621,39650,39680,39709,39739,39768,39798,39827,39857,39886,39916,39946,39975,40005,40035,40064,40094,40123,40153,40182,40212,40241,40271,40300,40330,40359,40389,40418,40448,40477,40507,40536,40566,40595,40625,40655,40685,40714,40744,40773,40803,40832,40862,40892,40921,40951,40980,41009,41039,41068,41098,41127,41157,41186,41216,41245,41275,41304,41334,41364,41393,41422,41452,41481,41511,41540,41570,41599,41629,41658,41688,41718,41748,41777,41807,41836,41865,41894,41924,41953,41983,42012,42042,42072,42102,42131,42161,42190,42220,42249,42279,42308,42337,42367,42397,42426,42456,42485,42515,42545,42574,42604,42633,42662,42692,42721,42751,42780,42810,42839,42869,42899,42929,42958,42988,43017,43046,43076,43105,43135,43164,43194,43223,43253,43283,43312,43342,43371,43401,43430,43460,43489,43519,43548,43578,43607,43637,43666,43696,43726,43755,43785,43814,43844,43873,43903,43932,43962,43991,44021,44050,44080,44109,44139,44169,44198,44228,44258,44287,44317,44346,44375,44405,44434,44464,44493,44523,44553,44582,44612,44641,44671,44700,44730,44759,44788,44818,44847,44877,44906,44936,44966,44996,45025,45055,45084,45114,45143,45172,45202,45231,45261,45290,45320,45350,45380,45409,45439,45468,45498,45527,45556,45586,45615,45644,45674,45704,45733,45763,45793,45823,45852,45882,45911,45940,45970,45999,46028,46058,46088,46117,46147,46177,46206,46236,46265,46295,46324,46354,46383,46413,46442,46472,46501,46531,46560,46590,46620,46649,46679,46708,46738,46767,46797,46826,46856,46885,46915,46944,46974,47003,47033,47063,47092,47122,47151,47181,47210,47240,47269,47298,47328,47357,47387,47417,47446,47476,47506,47535,47565,47594,47624,47653,47682,47712,47741,47771,47800,47830,47860,47890,47919,47949,47978,48008,48037,48066,48096,48125,48155,48184,48214,48244,48273,48303,48333,48362,48392,48421,48450,48480,48509,48538,48568,48598,48627,48657,48687,48717,48746,48776,48805,48834,48864,48893,48922,48952,48982,49011,49041,49071,49100,49130,49160,49189,49218,49248,49277,49306,49336,49365,49395,49425,49455,49484,49514,49543,49573,49602,49632,49661,49690,49720,49749,49779,49809,49838,49868,49898,49927,49957,49986,50016,50045,50075,50104,50133,50163,50192,50222,50252,50281,50311,50340,50370,50400,50429,50459,50488,50518,50547,50576,50606,50635,50665,50694,50724,50754,50784,50813,50843,50872,50902,50931,50960,50990,51019,51049,51078,51108,51138,51167,51197,51227,51256,51286,51315,51345,51374,51403,51433,51462,51492,51522,51552,51582,51611,51641,51670,51699,51729,51758,51787,51816,51846,51876,51906,51936,51965,51995,52025,52054,52083,52113,52142,52171,52200,52230,52260,52290,52319,52349,52379,52408,52438,52467,52497,52526,52555,52585,52614,52644,52673,52703,52733,52762,52792,52822,52851,52881,52910,52939,52969,52998,53028,53057,53087,53116,53146,53176,53205,53235,53264,53294,53324,53353,53383,53412,53441,53471,53500,53530,53559,53589,53619,53648,53678,53708,53737,53767,53796,53825,53855,53884,53913,53943,53973,54003,54032,54062,54092,54121,54151,54180,54209,54239,54268,54297,54327,54357,54387,54416,54446,54476,54505,54535,54564,54593,54623,54652,54681,54711,54741,54770,54800,54830,54859,54889,54919,54948,54977,55007,55036,55066,55095,55125,55154,55184,55213,55243,55273,55302,55332,55361,55391,55420,55450,55479,55508,55538,55567,55597,55627,55657,55686,55716,55745,55775,55804,55834,55863,55892,55922,55951,55981,56011,56040,56070,56100,56129,56159,56188,56218,56247,56276,56306,56335,56365,56394,56424,56454,56483,56513,56543,56572,56601,56631,56660,56690,56719,56749,56778,56808,56837,56867,56897,56926,56956,56985,57015,57044,57074,57103,57133,57162,57192,57221,57251,57280,57310,57340,57369,57399,57429,57458,57487,57517,57546,57576,57605,57634,57664,57694,57723,57753,57783,57813,57842,57871,57901,57930,57959,57989,58018,58048,58077,58107,58137,58167,58196,58226,58255,58285,58314,58343,58373,58402,58432,58461,58491,58521,58551,58580,58610,58639,58669,58698,58727,58757,58786,58816,58845,58875,58905,58934,58964,58994,59023,59053,59082,59111,59141,59170,59200,59229,59259,59288,59318,59348,59377,59407,59436,59466,59495,59525,59554,59584,59613,59643,59672,59702,59731,59761,59791,59820,59850,59879,59909,59939,59968,59997,60027,60056,60086,60115,60145,60174,60204,60234,60264,60293,60323,60352,60381,60411,60440,60469,60499,60528,60558,60588,60618,60648,60677,60707,60736,60765,60795,60824,60853,60883,60912,60942,60972,61002,61031,61061,61090,61120,61149,61179,61208,61237,61267,61296,61326,61356,61385,61415,61445,61474,61504,61533,61563,61592,61621,61651,61680,61710,61739,61769,61799,61828,61858,61888,61917,61947,61976,62006,62035,62064,62094,62123,62153,62182,62212,62242,62271,62301,62331,62360,62390,62419,62448,62478,62507,62537,62566,62596,62625,62655,62685,62715,62744,62774,62803,62832,62862,62891,62921,62950,62980,63009,63039,63069,63099,63128,63157,63187,63216,63246,63275,63305,63334,63363,63393,63423,63453,63482,63512,63541,63571,63600,63630,63659,63689,63718,63747,63777,63807,63836,63866,63895,63925,63955,63984,64014,64043,64073,64102,64131,64161,64190,64220,64249,64279,64309,64339,64368,64398,64427,64457,64486,64515,64545,64574,64603,64633,64663,64692,64722,64752,64782,64811,64841,64870,64899,64929,64958,64987,65017,65047,65076,65106,65136,65166,65195,65225,65254,65283,65313,65342,65371,65401,65431,65460,65490,65520,65549,65579,65608,65638,65667,65697,65726,65755,65785,65815,65844,65874,65903,65933,65963,65992,66022,66051,66081,66110,66140,66169,66199,66228,66258,66287,66317,66346,66376,66405,66435,66465,66494,66524,66553,66583,66612,66641,66671,66700,66730,66760,66789,66819,66849,66878,66908,66937,66967,66996,67025,67055,67084,67114,67143,67173,67203,67233,67262,67292,67321,67351,67380,67409,67439,67468,67497,67527,67557,67587,67617,67646,67676,67705,67735,67764,67793,67823,67852,67882,67911,67941,67971,68e3,68030,68060,68089,68119,68148,68177,68207,68236,68266,68295,68325,68354,68384,68414,68443,68473,68502,68532,68561,68591,68620,68650,68679,68708,68738,68768,68797,68827,68857,68886,68916,68946,68975,69004,69034,69063,69092,69122,69152,69181,69211,69240,69270,69300,69330,69359,69388,69418,69447,69476,69506,69535,69565,69595,69624,69654,69684,69713,69743,69772,69802,69831,69861,69890,69919,69949,69978,70008,70038,70067,70097,70126,70156,70186,70215,70245,70274,70303,70333,70362,70392,70421,70451,70481,70510,70540,70570,70599,70629,70658,70687,70717,70746,70776,70805,70835,70864,70894,70924,70954,70983,71013,71042,71071,71101,71130,71159,71189,71218,71248,71278,71308,71337,71367,71397,71426,71455,71485,71514,71543,71573,71602,71632,71662,71691,71721,71751,71781,71810,71839,71869,71898,71927,71957,71986,72016,72046,72075,72105,72135,72164,72194,72223,72253,72282,72311,72341,72370,72400,72429,72459,72489,72518,72548,72577,72607,72637,72666,72695,72725,72754,72784,72813,72843,72872,72902,72931,72961,72991,73020,73050,73080,73109,73139,73168,73197,73227,73256,73286,73315,73345,73375,73404,73434,73464,73493,73523,73552,73581,73611,73640,73669,73699,73729,73758,73788,73818,73848,73877,73907,73936,73965,73995,74024,74053,74083,74113,74142,74172,74202,74231,74261,74291,74320,74349,74379,74408,74437,74467,74497,74526,74556,74586,74615,74645,74675,74704,74733,74763,74792,74822,74851,74881,74910,74940,74969,74999,75029,75058,75088,75117,75147,75176,75206,75235,75264,75294,75323,75353,75383,75412,75442,75472,75501,75531,75560,75590,75619,75648,75678,75707,75737,75766,75796,75826,75856,75885,75915,75944,75974,76003,76032,76062,76091,76121,76150,76180,76210,76239,76269,76299,76328,76358,76387,76416,76446,76475,76505,76534,76564,76593,76623,76653,76682,76712,76741,76771,76801,76830,76859,76889,76918,76948,76977,77007,77036,77066,77096,77125,77155,77185,77214,77243,77273,77302,77332,77361,77390,77420,77450,77479,77509,77539,77569,77598,77627,77657,77686,77715,77745,77774,77804,77833,77863,77893,77923,77952,77982,78011,78041,78070,78099,78129,78158,78188,78217,78247,78277,78307,78336,78366,78395,78425,78454,78483,78513,78542,78572,78601,78631,78661,78690,78720,78750,78779,78808,78838,78867,78897,78926,78956,78985,79015,79044,79074,79104,79133,79163,79192,79222,79251,79281,79310,79340,79369,79399,79428,79458,79487,79517,79546,79576,79606,79635,79665,79695,79724,79753,79783,79812,79841,79871,79900,79930,79960,79990]},63489:function(T,p,t){var d=t(56131);function g(){this.regionalOptions=[],this.regionalOptions[""]={invalidCalendar:"Calendar {0} not found",invalidDate:"Invalid {0} date",invalidMonth:"Invalid {0} month",invalidYear:"Invalid {0} year",differentCalendars:"Cannot mix {0} and {1} dates"},this.local=this.regionalOptions[""],this.calendars={},this._localCals={}}function i(a,u,o,s){if(this._calendar=a,this._year=u,this._month=o,this._day=s,this._calendar._validateLevel===0&&!this._calendar.isValid(this._year,this._month,this._day))throw(l.local.invalidDate||l.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name)}function M(a,u){return"000000".substring(0,u-(a=""+a).length)+a}function v(){this.shortYearCutoff="+10"}function f(a){this.local=this.regionalOptions[a]||this.regionalOptions[""]}d(g.prototype,{instance:function(a,u){a=(a||"gregorian").toLowerCase(),u=u||"";var o=this._localCals[a+"-"+u];if(!o&&this.calendars[a]&&(o=new this.calendars[a](u),this._localCals[a+"-"+u]=o),!o)throw(this.local.invalidCalendar||this.regionalOptions[""].invalidCalendar).replace(/\{0\}/,a);return o},newDate:function(a,u,o,s,c){return(s=(a!=null&&a.year?a.calendar():typeof s=="string"?this.instance(s,c):s)||this.instance()).newDate(a,u,o)},substituteDigits:function(a){return function(u){return(u+"").replace(/[0-9]/g,function(o){return a[o]})}},substituteChineseDigits:function(a,u){return function(o){for(var s="",c=0;o>0;){var h=o%10;s=(h===0?"":a[h]+u[c])+s,c++,o=Math.floor(o/10)}return s.indexOf(a[1]+u[1])===0&&(s=s.substr(1)),s||a[0]}}}),d(i.prototype,{newDate:function(a,u,o){return this._calendar.newDate(a??this,u,o)},year:function(a){return arguments.length===0?this._year:this.set(a,"y")},month:function(a){return arguments.length===0?this._month:this.set(a,"m")},day:function(a){return arguments.length===0?this._day:this.set(a,"d")},date:function(a,u,o){if(!this._calendar.isValid(a,u,o))throw(l.local.invalidDate||l.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name);return this._year=a,this._month=u,this._day=o,this},leapYear:function(){return this._calendar.leapYear(this)},epoch:function(){return this._calendar.epoch(this)},formatYear:function(){return this._calendar.formatYear(this)},monthOfYear:function(){return this._calendar.monthOfYear(this)},weekOfYear:function(){return this._calendar.weekOfYear(this)},daysInYear:function(){return this._calendar.daysInYear(this)},dayOfYear:function(){return this._calendar.dayOfYear(this)},daysInMonth:function(){return this._calendar.daysInMonth(this)},dayOfWeek:function(){return this._calendar.dayOfWeek(this)},weekDay:function(){return this._calendar.weekDay(this)},extraInfo:function(){return this._calendar.extraInfo(this)},add:function(a,u){return this._calendar.add(this,a,u)},set:function(a,u){return this._calendar.set(this,a,u)},compareTo:function(a){if(this._calendar.name!==a._calendar.name)throw(l.local.differentCalendars||l.regionalOptions[""].differentCalendars).replace(/\{0\}/,this._calendar.local.name).replace(/\{1\}/,a._calendar.local.name);var u=this._year!==a._year?this._year-a._year:this._month!==a._month?this.monthOfYear()-a.monthOfYear():this._day-a._day;return u===0?0:u<0?-1:1},calendar:function(){return this._calendar},toJD:function(){return this._calendar.toJD(this)},fromJD:function(a){return this._calendar.fromJD(a)},toJSDate:function(){return this._calendar.toJSDate(this)},fromJSDate:function(a){return this._calendar.fromJSDate(a)},toString:function(){return(this.year()<0?"-":"")+M(Math.abs(this.year()),4)+"-"+M(this.month(),2)+"-"+M(this.day(),2)}}),d(v.prototype,{_validateLevel:0,newDate:function(a,u,o){return a==null?this.today():(a.year&&(this._validate(a,u,o,l.local.invalidDate||l.regionalOptions[""].invalidDate),o=a.day(),u=a.month(),a=a.year()),new i(this,a,u,o))},today:function(){return this.fromJSDate(new Date)},epoch:function(a){return this._validate(a,this.minMonth,this.minDay,l.local.invalidYear||l.regionalOptions[""].invalidYear).year()<0?this.local.epochs[0]:this.local.epochs[1]},formatYear:function(a){var u=this._validate(a,this.minMonth,this.minDay,l.local.invalidYear||l.regionalOptions[""].invalidYear);return(u.year()<0?"-":"")+M(Math.abs(u.year()),4)},monthsInYear:function(a){return this._validate(a,this.minMonth,this.minDay,l.local.invalidYear||l.regionalOptions[""].invalidYear),12},monthOfYear:function(a,u){var o=this._validate(a,u,this.minDay,l.local.invalidMonth||l.regionalOptions[""].invalidMonth);return(o.month()+this.monthsInYear(o)-this.firstMonth)%this.monthsInYear(o)+this.minMonth},fromMonthOfYear:function(a,u){var o=(u+this.firstMonth-2*this.minMonth)%this.monthsInYear(a)+this.minMonth;return this._validate(a,o,this.minDay,l.local.invalidMonth||l.regionalOptions[""].invalidMonth),o},daysInYear:function(a){var u=this._validate(a,this.minMonth,this.minDay,l.local.invalidYear||l.regionalOptions[""].invalidYear);return this.leapYear(u)?366:365},dayOfYear:function(a,u,o){var s=this._validate(a,u,o,l.local.invalidDate||l.regionalOptions[""].invalidDate);return s.toJD()-this.newDate(s.year(),this.fromMonthOfYear(s.year(),this.minMonth),this.minDay).toJD()+1},daysInWeek:function(){return 7},dayOfWeek:function(a,u,o){var s=this._validate(a,u,o,l.local.invalidDate||l.regionalOptions[""].invalidDate);return(Math.floor(this.toJD(s))+2)%this.daysInWeek()},extraInfo:function(a,u,o){return this._validate(a,u,o,l.local.invalidDate||l.regionalOptions[""].invalidDate),{}},add:function(a,u,o){return this._validate(a,this.minMonth,this.minDay,l.local.invalidDate||l.regionalOptions[""].invalidDate),this._correctAdd(a,this._add(a,u,o),u,o)},_add:function(a,u,o){if(this._validateLevel++,o==="d"||o==="w"){var s=a.toJD()+u*(o==="w"?this.daysInWeek():1),c=a.calendar().fromJD(s);return this._validateLevel--,[c.year(),c.month(),c.day()]}try{var h=a.year()+(o==="y"?u:0),m=a.monthOfYear()+(o==="m"?u:0);c=a.day(),o==="y"?(a.month()!==this.fromMonthOfYear(h,m)&&(m=this.newDate(h,a.month(),this.minDay).monthOfYear()),m=Math.min(m,this.monthsInYear(h)),c=Math.min(c,this.daysInMonth(h,this.fromMonthOfYear(h,m)))):o==="m"&&(function(y){for(;mS-1+y.minMonth;)h++,m-=S,S=y.monthsInYear(h)}(this),c=Math.min(c,this.daysInMonth(h,this.fromMonthOfYear(h,m))));var w=[h,this.fromMonthOfYear(h,m),c];return this._validateLevel--,w}catch(y){throw this._validateLevel--,y}},_correctAdd:function(a,u,o,s){if(!(this.hasYearZero||s!=="y"&&s!=="m"||u[0]!==0&&a.year()>0==u[0]>0)){var c={y:[1,1,"y"],m:[1,this.monthsInYear(-1),"m"],w:[this.daysInWeek(),this.daysInYear(-1),"d"],d:[1,this.daysInYear(-1),"d"]}[s],h=o<0?-1:1;u=this._add(a,o*c[0]+h*c[1],c[2])}return a.date(u[0],u[1],u[2])},set:function(a,u,o){this._validate(a,this.minMonth,this.minDay,l.local.invalidDate||l.regionalOptions[""].invalidDate);var s=o==="y"?u:a.year(),c=o==="m"?u:a.month(),h=o==="d"?u:a.day();return o!=="y"&&o!=="m"||(h=Math.min(h,this.daysInMonth(s,c))),a.date(s,c,h)},isValid:function(a,u,o){this._validateLevel++;var s=this.hasYearZero||a!==0;if(s){var c=this.newDate(a,u,this.minDay);s=u>=this.minMonth&&u-this.minMonth=this.minDay&&o-this.minDay13.5?13:1),S=c-(y>2.5?4716:4715);return S<=0&&S--,this.newDate(S,y,w)},toJSDate:function(a,u,o){var s=this._validate(a,u,o,l.local.invalidDate||l.regionalOptions[""].invalidDate),c=new Date(s.year(),s.month()-1,s.day());return c.setHours(0),c.setMinutes(0),c.setSeconds(0),c.setMilliseconds(0),c.setHours(c.getHours()>12?c.getHours()+2:0),c},fromJSDate:function(a){return this.newDate(a.getFullYear(),a.getMonth()+1,a.getDate())}});var l=T.exports=new g;l.cdate=i,l.baseCalendar=v,l.calendars.gregorian=f},94338:function(T,p,t){var d=t(56131),g=t(63489);d(g.regionalOptions[""],{invalidArguments:"Invalid arguments",invalidFormat:"Cannot format a date from another calendar",missingNumberAt:"Missing number at position {0}",unknownNameAt:"Unknown name at position {0}",unexpectedLiteralAt:"Unexpected literal at position {0}",unexpectedText:"Additional text found at end"}),g.local=g.regionalOptions[""],d(g.cdate.prototype,{formatDate:function(i,M){return typeof i!="string"&&(M=i,i=""),this._calendar.formatDate(i||"",this,M)}}),d(g.baseCalendar.prototype,{UNIX_EPOCH:g.instance().newDate(1970,1,1).toJD(),SECS_PER_DAY:86400,TICKS_EPOCH:g.instance().jdEpoch,TICKS_PER_DAY:864e9,ATOM:"yyyy-mm-dd",COOKIE:"D, dd M yyyy",FULL:"DD, MM d, yyyy",ISO_8601:"yyyy-mm-dd",JULIAN:"J",RFC_822:"D, d M yy",RFC_850:"DD, dd-M-yy",RFC_1036:"D, d M yy",RFC_1123:"D, d M yyyy",RFC_2822:"D, d M yyyy",RSS:"D, d M yy",TICKS:"!",TIMESTAMP:"@",W3C:"yyyy-mm-dd",formatDate:function(i,M,v){if(typeof i!="string"&&(v=M,M=i,i=""),!M)return"";if(M.calendar()!==this)throw g.local.invalidFormat||g.regionalOptions[""].invalidFormat;i=i||this.local.dateFormat;for(var f,l,a,u=(v=v||{}).dayNamesShort||this.local.dayNamesShort,o=v.dayNames||this.local.dayNames,s=v.monthNumbers||this.local.monthNumbers,c=v.monthNamesShort||this.local.monthNamesShort,h=v.monthNames||this.local.monthNames,m=(v.calculateWeek||this.local.calculateWeek,function(b,R){for(var I=1;L+I1}),w=function(b,R,I,O){var z=""+R;if(m(b,O))for(;z.length1},x=function(N,W){var j=E(N,W),$=[2,3,j?4:2,j?4:2,10,11,20]["oyYJ@!".indexOf(N)+1],U=new RegExp("^-?\\d{1,"+$+"}"),G=M.substring(O).match(U);if(!G)throw(g.local.missingNumberAt||g.regionalOptions[""].missingNumberAt).replace(/\{0\}/,O);return O+=G[0].length,parseInt(G[0],10)},A=this,L=function(){if(typeof o=="function"){E("m");var N=o.call(A,M.substring(O));return O+=N.length,N}return x("m")},b=function(N,W,j,$){for(var U=E(N,$)?j:W,G=0;G-1){w=1,y=S;for(var B=this.daysInMonth(m,w);y>B;B=this.daysInMonth(m,w))w++,y-=B}return h>-1?this.fromJD(h):this.newDate(m,w,y)},determineDate:function(i,M,v,f,l){v&&typeof v!="object"&&(l=f,f=v,v=null),typeof f!="string"&&(l=f,f="");var a=this;return M=M?M.newDate():null,i==null?M:typeof i=="string"?function(u){try{return a.parseDate(f,u,l)}catch{}for(var o=((u=u.toLowerCase()).match(/^c/)&&v?v.newDate():null)||a.today(),s=/([+-]?[0-9]+)\s*(d|w|m|y)?/g,c=s.exec(u);c;)o.add(parseInt(c[1],10),c[2]||"d"),c=s.exec(u);return o}(i):typeof i=="number"?isNaN(i)||i===1/0||i===-1/0?M:a.today().add(i,"d"):a.newDate(i)}})},69862:function(){},40964:function(){},72077:function(T,p,t){var d=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],g=typeof globalThis>"u"?t.g:globalThis;T.exports=function(){for(var i=[],M=0;M>8&15|me>>4&240,me>>4&15|240&me,(15&me)<<4|15&me,1):pe===8?x(me>>24&255,me>>16&255,me>>8&255,(255&me)/255):pe===4?x(me>>12&15|me>>8&240,me>>8&15|me>>4&240,me>>4&15|240&me,((15&me)<<4|15&me)/255):null):(me=o.exec(de))?new b(me[1],me[2],me[3],1):(me=s.exec(de))?new b(255*me[1]/100,255*me[2]/100,255*me[3]/100,1):(me=c.exec(de))?x(me[1],me[2],me[3],me[4]):(me=h.exec(de))?x(255*me[1]/100,255*me[2]/100,255*me[3]/100,me[4]):(me=m.exec(de))?B(me[1],me[2]/100,me[3]/100,1):(me=w.exec(de))?B(me[1],me[2]/100,me[3]/100,me[4]):y.hasOwnProperty(de)?E(y[de]):de==="transparent"?new b(NaN,NaN,NaN,0):null}function E(de){return new b(de>>16&255,de>>8&255,255&de,1)}function x(de,me,pe,xe){return xe<=0&&(de=me=pe=NaN),new b(de,me,pe,xe)}function A(de){return de instanceof i||(de=k(de)),de?new b((de=de.rgb()).r,de.g,de.b,de.opacity):new b}function L(de,me,pe,xe){return arguments.length===1?A(de):new b(de,me,pe,xe??1)}function b(de,me,pe,xe){this.r=+de,this.g=+me,this.b=+pe,this.opacity=+xe}function R(){return"#".concat(F(this.r)).concat(F(this.g)).concat(F(this.b))}function I(){var de=O(this.opacity);return"".concat(de===1?"rgb(":"rgba(").concat(z(this.r),", ").concat(z(this.g),", ").concat(z(this.b)).concat(de===1?")":", ".concat(de,")"))}function O(de){return isNaN(de)?1:Math.max(0,Math.min(1,de))}function z(de){return Math.max(0,Math.min(255,Math.round(de)||0))}function F(de){return((de=z(de))<16?"0":"")+de.toString(16)}function B(de,me,pe,xe){return xe<=0?de=me=pe=NaN:pe<=0||pe>=1?de=me=NaN:me<=0&&(de=NaN),new W(de,me,pe,xe)}function N(de){if(de instanceof W)return new W(de.h,de.s,de.l,de.opacity);if(de instanceof i||(de=k(de)),!de)return new W;if(de instanceof W)return de;var me=(de=de.rgb()).r/255,pe=de.g/255,xe=de.b/255,Pe=Math.min(me,pe,xe),_e=Math.max(me,pe,xe),Me=NaN,Se=_e-Pe,Ce=(_e+Pe)/2;return Se?(Me=me===_e?(pe-xe)/Se+6*(pe0&&Ce<1?0:Me,new W(Me,Se,Ce,de.opacity)}function W(de,me,pe,xe){this.h=+de,this.s=+me,this.l=+pe,this.opacity=+xe}function j(de){return(de=(de||0)%360)<0?de+360:de}function $(de){return Math.max(0,Math.min(1,de||0))}function U(de,me,pe){return 255*(de<60?me+(pe-me)*de/60:de<180?pe:de<240?me+(pe-me)*(240-de)/60:me)}d(i,k,{copy:function(de){return Object.assign(new this.constructor,this,de)},displayable:function(){return this.rgb().displayable()},hex:S,formatHex:S,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return N(this).formatHsl()},formatRgb:_,toString:_}),d(b,L,g(i,{brighter:function(de){return de=de==null?v:Math.pow(v,de),new b(this.r*de,this.g*de,this.b*de,this.opacity)},darker:function(de){return de=de==null?M:Math.pow(M,de),new b(this.r*de,this.g*de,this.b*de,this.opacity)},rgb:function(){return this},clamp:function(){return new b(z(this.r),z(this.g),z(this.b),O(this.opacity))},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:R,formatHex:R,formatHex8:function(){return"#".concat(F(this.r)).concat(F(this.g)).concat(F(this.b)).concat(F(255*(isNaN(this.opacity)?1:this.opacity)))},formatRgb:I,toString:I})),d(W,function(de,me,pe,xe){return arguments.length===1?N(de):new W(de,me,pe,xe??1)},g(i,{brighter:function(de){return de=de==null?v:Math.pow(v,de),new W(this.h,this.s,this.l*de,this.opacity)},darker:function(de){return de=de==null?M:Math.pow(M,de),new W(this.h,this.s,this.l*de,this.opacity)},rgb:function(){var de=this.h%360+360*(this.h<0),me=isNaN(de)||isNaN(this.s)?0:this.s,pe=this.l,xe=pe+(pe<.5?pe:1-pe)*me,Pe=2*pe-xe;return new b(U(de>=240?de-240:de+120,Pe,xe),U(de,Pe,xe),U(de<120?de+240:de-120,Pe,xe),this.opacity)},clamp:function(){return new W(j(this.h),$(this.s),$(this.l),O(this.opacity))},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var de=O(this.opacity);return"".concat(de===1?"hsl(":"hsla(").concat(j(this.h),", ").concat(100*$(this.s),"%, ").concat(100*$(this.l),"%").concat(de===1?")":", ".concat(de,")"))}}));var G=function(de){return function(){return de}};function q(de,me){var pe=me-de;return pe?function(xe,Pe){return function(_e){return xe+_e*Pe}}(de,pe):G(isNaN(de)?me:de)}var H=function de(me){var pe=function(Pe){return(Pe=+Pe)==1?q:function(_e,Me){return Me-_e?function(Se,Ce,ae){return Se=Math.pow(Se,ae),Ce=Math.pow(Ce,ae)-Se,ae=1/ae,function(fe){return Math.pow(Se+fe*Ce,ae)}}(_e,Me,Pe):G(isNaN(_e)?Me:_e)}}(me);function xe(Pe,_e){var Me=pe((Pe=L(Pe)).r,(_e=L(_e)).r),Se=pe(Pe.g,_e.g),Ce=pe(Pe.b,_e.b),ae=q(Pe.opacity,_e.opacity);return function(fe){return Pe.r=Me(fe),Pe.g=Se(fe),Pe.b=Ce(fe),Pe.opacity=ae(fe),Pe+""}}return xe.gamma=de,xe}(1);function ne(de,me){var pe,xe=me?me.length:0,Pe=de?Math.min(xe,de.length):0,_e=new Array(Pe),Me=new Array(xe);for(pe=0;pe_e&&(Pe=me.slice(_e,Pe),Se[Me]?Se[Me]+=Pe:Se[++Me]=Pe),(pe=pe[0])===(xe=xe[0])?Se[Me]?Se[Me]+=xe:Se[++Me]=xe:(Se[++Me]=null,Ce.push({i:Me,x:Z(pe,xe)})),_e=ie.lastIndex;return _en.rt)},yValues(){return this.dataForHeatmapDrawing.map(n=>n.mass)},selectedRange(){switch(this.args.title){case"Raw MS1 Heatmap":return this.selectionStore.selectedRawHeatmap;case"Raw MS2 Heatmap":return this.selectionStore.selectedRawMS2Heatmap;case"Deconvolved MS1 Heatmap":return this.selectionStore.selectedDeconvHeatmap;case"Deconvolved MS2 Heatmap":return this.selectionStore.selectedDeconvMS2Heatmap;default:return}},xRange(){if(this.selectedRange!==void 0)return this.selectedRange.xRange[0]<0&&this.selectedRange.xRange[1]<0?void 0:this.selectedRange.xRange},yRange(){if(this.selectedRange!==void 0)return this.selectedRange.yRange[0]<0&&this.selectedRange.yRange[1]<0?void 0:this.selectedRange.yRange},markerColorValues(){return this.dataForHeatmapDrawing.map(n=>n.intensity)},data(){const n=this.dataForHeatmapDrawing.map(p=>p.intensity),e=Math.min(...n.filter(p=>p>0)),r=Math.max(...n),C=Math.floor(Math.log10(e)),D=Math.ceil(Math.log10(r)),T=Array.from({length:D-C+1},(p,t)=>Math.pow(10,C+t));return[{type:"scattergl",name:"raw peaks",x:this.xValues,y:this.yValues,mode:"markers",marker:{color:this.markerColorValues.map(p=>p>0?Math.log10(p):0),colorscale:"Portland",showscale:!0,colorbar:{title:"Intensity",tickvals:T.map(p=>Math.log10(p)),ticktext:T.map(p=>p.toExponential(0)),tickmode:"array"}},hovertext:this.dataForHeatmapDrawing.map(p=>p.intensity.toExponential(2))}]},layout(){var n,e,r,C;return{title:`${this.args.title}`,showlegend:this.args.showLegend,xaxis:{title:"Retention Time",range:this.xRange},yaxis:{title:this.yAxisLabel,range:this.yRange},paper_bgcolor:(n=this.theme)==null?void 0:n.backgroundColor,plot_bgcolor:(e=this.theme)==null?void 0:e.secondaryBackgroundColor,font:{color:(r=this.theme)==null?void 0:r.textColor,family:(C=this.theme)==null?void 0:C.font}}}},watch:{renderData(){this.graph()},zoomRange(){if(this.zoomRange!==void 0)switch(this.args.title){case"Raw MS1 Heatmap":this.selectionStore.updateRawHeatmapSelection(this.zoomRange);break;case"Raw MS2 Heatmap":this.selectionStore.updateRawMS2HeatmapSelection(this.zoomRange);break;case"Deconvolved MS1 Heatmap":this.selectionStore.updateDeconvHeatmapSelection(this.zoomRange);break;case"Deconvolved MS2 Heatmap":this.selectionStore.updateDeconvMS2HeatmapSelection(this.zoomRange);break}}},mounted(){this.graph()},methods:{async graph(){await Wl.newPlot(this.id,this.data,this.layout,{modeBarButtonsToRemove:["toImage","sendDataToCloud"],modeBarButtonsToAdd:[{title:"Download as SVG",name:"toImageSvg",icon:Wl.Icons.camera,click:e=>{Wl.downloadImage(e,{filename:"FLASHViewer-heatmap",height:400,width:1200,format:"svg"})}}]});const n=document.getElementById(this.id);n&&(n.on("plotly_relayout",e=>{e["xaxis.autorange"]?this.zoomRange={xRange:[-1,-1],yRange:[-1,-1]}:e["xaxis.range[0]"]!==void 0&&e["xaxis.range[1]"]!==void 0&&e["yaxis.range[0]"]!==void 0&&e["yaxis.range[1]"]!==void 0&&(this.zoomRange={xRange:[e["xaxis.range[0]"],e["xaxis.range[1]"]],yRange:[e["yaxis.range[0]"],e["yaxis.range[1]"]]})}),n.on("plotly_click",e=>{const r=this.dataForHeatmapDrawing[e.points[0].pointIndex],C=r==null?void 0:r.scan_idx,D=r==null?void 0:r.mass_idx;C!==void 0&&this.selectionStore.updateSelectedScan(C),this.args.title==="Deconvolved MS1 Heatmap"&&D!==void 0?this.selectionStore.updateSelectedMass(D):this.args.title==="Deconvolved MS2 Heatmap"&&D!==void 0&&this.selectionStore.updateSelectedMass(D)}))}}}),hs=(n,e)=>{const r=n.__vccOpts||n;for(const[C,D]of e)r[C]=D;return r},oR=["id"];function sR(n,e,r,C,D,T){return Rr(),ei("div",{id:n.id,style:{width:"100%"}},null,8,oR)}const lR=hs(aR,[["render",sR]]);class kl{constructor(e){this.table=e}reloadData(e,r,C){return this.table.dataLoader.load(e,void 0,void 0,void 0,r,C)}langText(){return this.table.modules.localize.getText(...arguments)}langBind(){return this.table.modules.localize.bind(...arguments)}langLocale(){return this.table.modules.localize.getLocale(...arguments)}commsConnections(){return this.table.modules.comms.getConnections(...arguments)}commsSend(){return this.table.modules.comms.send(...arguments)}layoutMode(){return this.table.modules.layout.getMode()}layoutRefresh(e){return this.table.modules.layout.layout(e)}subscribe(){return this.table.eventBus.subscribe(...arguments)}unsubscribe(){return this.table.eventBus.unsubscribe(...arguments)}subscribed(e){return this.table.eventBus.subscribed(e)}subscriptionChange(){return this.table.eventBus.subscriptionChange(...arguments)}dispatch(){return this.table.eventBus.dispatch(...arguments)}chain(){return this.table.eventBus.chain(...arguments)}confirm(){return this.table.eventBus.confirm(...arguments)}dispatchExternal(){return this.table.externalEvents.dispatch(...arguments)}subscribedExternal(e){return this.table.externalEvents.subscribed(e)}subscriptionChangeExternal(){return this.table.externalEvents.subscriptionChange(...arguments)}options(e){return this.table.options[e]}setOption(e,r){return typeof r<"u"&&(this.table.options[e]=r),this.table.options[e]}deprecationCheck(e,r,C){return this.table.deprecationAdvisor.check(e,r,C)}deprecationCheckMsg(e,r){return this.table.deprecationAdvisor.checkMsg(e,r)}deprecationMsg(e){return this.table.deprecationAdvisor.msg(e)}module(e){return this.table.module(e)}}class oo{static elVisible(e){return!(e.offsetWidth<=0&&e.offsetHeight<=0)}static elOffset(e){var r=e.getBoundingClientRect();return{top:r.top+window.pageYOffset-document.documentElement.clientTop,left:r.left+window.pageXOffset-document.documentElement.clientLeft}}static retrieveNestedData(e,r,C){var D=e?r.split(e):[r],T=D.length,p;for(let t=0;ti.subject===t),d>-1?r[p]=C[d].copy:(g=Object.assign(Array.isArray(t)?[]:{},t),C.unshift({subject:t,copy:g}),r[p]=this.deepClone(t,g,C)))}return r}}class H2 extends kl{constructor(e,r,C){super(e),this.element=r,this.container=this._lookupContainer(),this.parent=C,this.reversedX=!1,this.childPopup=null,this.blurable=!1,this.blurCallback=null,this.blurEventsBound=!1,this.renderedCallback=null,this.visible=!1,this.hideable=!0,this.element.classList.add("tabulator-popup-container"),this.blurEvent=this.hide.bind(this,!1),this.escEvent=this._escapeCheck.bind(this),this.destroyBinding=this.tableDestroyed.bind(this),this.destroyed=!1}tableDestroyed(){this.destroyed=!0,this.hide(!0)}_lookupContainer(){var e=this.table.options.popupContainer;return typeof e=="string"?(e=document.querySelector(e),e||console.warn("Menu Error - no container element found matching selector:",this.table.options.popupContainer,"(defaulting to document body)")):e===!0&&(e=this.table.element),e&&!this._checkContainerIsParent(e)&&(e=!1,console.warn("Menu Error - container element does not contain this table:",this.table.options.popupContainer,"(defaulting to document body)")),e||(e=document.body),e}_checkContainerIsParent(e,r=this.table.element){return e===r?!0:r.parentNode?this._checkContainerIsParent(e,r.parentNode):!1}renderCallback(e){this.renderedCallback=e}containerEventCoords(e){var r=!(e instanceof MouseEvent),C=r?e.touches[0].pageX:e.pageX,D=r?e.touches[0].pageY:e.pageY;if(this.container!==document.body){let T=oo.elOffset(this.container);C-=T.left,D-=T.top}return{x:C,y:D}}elementPositionCoords(e,r="right"){var C=oo.elOffset(e),D,T,p;switch(this.container!==document.body&&(D=oo.elOffset(this.container),C.left-=D.left,C.top-=D.top),r){case"right":T=C.left+e.offsetWidth,p=C.top-1;break;case"bottom":T=C.left,p=C.top+e.offsetHeight;break;case"left":T=C.left,p=C.top-1;break;case"top":T=C.left,p=C.top;break;case"center":T=C.left+e.offsetWidth/2,p=C.top+e.offsetHeight/2;break}return{x:T,y:p,offset:C}}show(e,r){var C,D,T,p,t;return this.destroyed||this.table.destroyed?this:(e instanceof HTMLElement?(T=e,t=this.elementPositionCoords(e,r),p=t.offset,C=t.x,D=t.y):typeof e=="number"?(p={top:0,left:0},C=e,D=r):(t=this.containerEventCoords(e),C=t.x,D=t.y,this.reversedX=!1),this.element.style.top=D+"px",this.element.style.left=C+"px",this.container.appendChild(this.element),typeof this.renderedCallback=="function"&&this.renderedCallback(),this._fitToScreen(C,D,T,p,r),this.visible=!0,this.subscribe("table-destroy",this.destroyBinding),this.element.addEventListener("mousedown",d=>{d.stopPropagation()}),this)}_fitToScreen(e,r,C,D,T){var p=this.container===document.body?document.documentElement.scrollTop:this.container.scrollTop;if((e+this.element.offsetWidth>=this.container.offsetWidth||this.reversedX)&&(this.element.style.left="",C?this.element.style.right=this.container.offsetWidth-D.left+"px":this.element.style.right=this.container.offsetWidth-e+"px",this.reversedX=!0),r+this.element.offsetHeight>Math.max(this.container.offsetHeight,p?this.container.scrollHeight:0))if(C)switch(T){case"bottom":this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight-C.offsetHeight-1+"px";break;default:this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight+C.offsetHeight+1+"px"}else this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight+"px"}isVisible(){return this.visible}hideOnBlur(e){return this.blurable=!0,this.visible&&(setTimeout(()=>{this.visible&&(this.table.rowManager.element.addEventListener("scroll",this.blurEvent),this.subscribe("cell-editing",this.blurEvent),document.body.addEventListener("click",this.blurEvent),document.body.addEventListener("contextmenu",this.blurEvent),document.body.addEventListener("mousedown",this.blurEvent),window.addEventListener("resize",this.blurEvent),document.body.addEventListener("keydown",this.escEvent),this.blurEventsBound=!0)},100),this.blurCallback=e),this}_escapeCheck(e){e.keyCode==27&&this.hide()}blockHide(){this.hideable=!1}restoreHide(){this.hideable=!0}hide(e=!1){return this.visible&&this.hideable&&(this.blurable&&this.blurEventsBound&&(document.body.removeEventListener("keydown",this.escEvent),document.body.removeEventListener("click",this.blurEvent),document.body.removeEventListener("contextmenu",this.blurEvent),document.body.removeEventListener("mousedown",this.blurEvent),window.removeEventListener("resize",this.blurEvent),this.table.rowManager.element.removeEventListener("scroll",this.blurEvent),this.unsubscribe("cell-editing",this.blurEvent),this.blurEventsBound=!1),this.childPopup&&this.childPopup.hide(),this.parent&&(this.parent.childPopup=null),this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.visible=!1,this.blurCallback&&!e&&this.blurCallback(),this.unsubscribe("table-destroy",this.destroyBinding)),this}child(e){return this.childPopup&&this.childPopup.hide(),this.childPopup=new H2(this.table,e,this),this.childPopup}}class qi extends kl{constructor(e,r){super(e),this._handler=null}initialize(){}registerTableOption(e,r){this.table.optionsList.register(e,r)}registerColumnOption(e,r){this.table.columnManager.optionsList.register(e,r)}registerTableFunction(e,r){typeof this.table[e]>"u"?this.table[e]=(...C)=>(this.table.initGuard(e),r(...C)):console.warn("Unable to bind table function, name already in use",e)}registerComponentFunction(e,r,C){return this.table.componentFunctionBinder.bind(e,r,C)}registerDataHandler(e,r){this.table.rowManager.registerDataPipelineHandler(e,r),this._handler=e}registerDisplayHandler(e,r){this.table.rowManager.registerDisplayPipelineHandler(e,r),this._handler=e}displayRows(e){var r=this.table.rowManager.displayRows.length-1,C;if(this._handler&&(C=this.table.rowManager.displayPipeline.findIndex(D=>D.handler===this._handler),C>-1&&(r=C)),e&&(r=r+e),this._handler)return r>-1?this.table.rowManager.getDisplayRows(r):this.activeRows()}activeRows(){return this.table.rowManager.activeRows}refreshData(e,r){r||(r=this._handler),r&&this.table.rowManager.refreshActiveData(r,!1,e)}footerAppend(e){return this.table.footerManager.append(e)}footerPrepend(e){return this.table.footerManager.prepend(e)}footerRemove(e){return this.table.footerManager.remove(e)}popup(e,r){return new H2(this.table,e,r)}alert(e,r){return this.table.alertManager.alert(e,r)}clearAlert(){return this.table.alertManager.clear()}}var uR={};class i0 extends qi{constructor(e){super(e),this.allowedTypes=["","data","download","clipboard","print","htmlOutput"],this.registerColumnOption("accessor"),this.registerColumnOption("accessorParams"),this.registerColumnOption("accessorData"),this.registerColumnOption("accessorDataParams"),this.registerColumnOption("accessorDownload"),this.registerColumnOption("accessorDownloadParams"),this.registerColumnOption("accessorClipboard"),this.registerColumnOption("accessorClipboardParams"),this.registerColumnOption("accessorPrint"),this.registerColumnOption("accessorPrintParams"),this.registerColumnOption("accessorHtmlOutput"),this.registerColumnOption("accessorHtmlOutputParams")}initialize(){this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("row-data-retrieve",this.transformRow.bind(this))}initializeColumn(e){var r=!1,C={};this.allowedTypes.forEach(D=>{var T="accessor"+(D.charAt(0).toUpperCase()+D.slice(1)),p;e.definition[T]&&(p=this.lookupAccessor(e.definition[T]),p&&(r=!0,C[T]={accessor:p,params:e.definition[T+"Params"]||{}}))}),r&&(e.modules.accessor=C)}lookupAccessor(e){var r=!1;switch(typeof e){case"string":i0.accessors[e]?r=i0.accessors[e]:console.warn("Accessor Error - No such accessor found, ignoring: ",e);break;case"function":r=e;break}return r}transformRow(e,r){var C="accessor"+(r.charAt(0).toUpperCase()+r.slice(1)),D=e.getComponent(),T=oo.deepClone(e.data||{});return this.table.columnManager.traverse(function(p){var t,d,g,i;p.modules.accessor&&(d=p.modules.accessor[C]||p.modules.accessor.accessor||!1,d&&(t=p.getFieldValue(T),t!="undefined"&&(i=p.getComponent(),g=typeof d.params=="function"?d.params(t,T,r,i,D):d.params,p.setFieldValue(T,d.accessor(t,T,r,g,i,D)))))}),T}}i0.moduleName="accessor";i0.accessors=uR;var cR={method:"GET"};function nx(n,e){var r=[];if(e=e||"",Array.isArray(n))n.forEach((D,T)=>{r=r.concat(nx(D,e?e+"["+T+"]":T))});else if(typeof n=="object")for(var C in n)r=r.concat(nx(n[C],e?e+"["+C+"]":C));else r.push({key:e,value:n});return r}function hR(n){var e=nx(n),r=[];return e.forEach(function(C){r.push(encodeURIComponent(C.key)+"="+encodeURIComponent(C.value))}),r.join("&")}function LM(n,e,r){return n&&r&&Object.keys(r).length&&(!e.method||e.method.toLowerCase()=="get")&&(e.method="get",n+=(n.includes("?")?"&":"?")+hR(r)),n}function fR(n,e,r){var C;return new Promise((D,T)=>{if(n=this.urlGenerator.call(this.table,n,e,r),e.method.toUpperCase()!="GET")if(C=typeof this.table.options.ajaxContentType=="object"?this.table.options.ajaxContentType:this.contentTypeFormatters[this.table.options.ajaxContentType],C){for(var p in C.headers)e.headers||(e.headers={}),typeof e.headers[p]>"u"&&(e.headers[p]=C.headers[p]);e.body=C.body.call(this,n,e,r)}else console.warn("Ajax Error - Invalid ajaxContentType value:",this.table.options.ajaxContentType);n?(typeof e.headers>"u"&&(e.headers={}),typeof e.headers.Accept>"u"&&(e.headers.Accept="application/json"),typeof e.headers["X-Requested-With"]>"u"&&(e.headers["X-Requested-With"]="XMLHttpRequest"),typeof e.mode>"u"&&(e.mode="cors"),e.mode=="cors"?(typeof e.headers.Origin>"u"&&(e.headers.Origin=window.location.origin),typeof e.credentials>"u"&&(e.credentials="same-origin")):typeof e.credentials>"u"&&(e.credentials="include"),fetch(n,e).then(t=>{t.ok?t.json().then(d=>{D(d)}).catch(d=>{T(d),console.warn("Ajax Load Error - Invalid JSON returned",d)}):(console.error("Ajax Load Error - Connection Error: "+t.status,t.statusText),T(t))}).catch(t=>{console.error("Ajax Load Error - Connection Error: ",t),T(t)})):(console.warn("Ajax Load Error - No URL Set"),D([]))})}function rx(n,e){var r=[];if(e=e||"",Array.isArray(n))n.forEach((D,T)=>{r=r.concat(rx(D,e?e+"["+T+"]":T))});else if(typeof n=="object")for(var C in n)r=r.concat(rx(n[C],e?e+"["+C+"]":C));else r.push({key:e,value:n});return r}var dR={json:{headers:{"Content-Type":"application/json"},body:function(n,e,r){return JSON.stringify(r)}},form:{headers:{},body:function(n,e,r){var C=rx(r),D=new FormData;return C.forEach(function(T){D.append(T.key,T.value)}),D}}};class Rc extends qi{constructor(e){super(e),this.config={},this.url="",this.urlGenerator=!1,this.params=!1,this.loaderPromise=!1,this.registerTableOption("ajaxURL",!1),this.registerTableOption("ajaxURLGenerator",!1),this.registerTableOption("ajaxParams",{}),this.registerTableOption("ajaxConfig","get"),this.registerTableOption("ajaxContentType","form"),this.registerTableOption("ajaxRequestFunc",!1),this.registerTableOption("ajaxRequesting",function(){}),this.registerTableOption("ajaxResponse",!1),this.contentTypeFormatters=Rc.contentTypeFormatters}initialize(){this.loaderPromise=this.table.options.ajaxRequestFunc||Rc.defaultLoaderPromise,this.urlGenerator=this.table.options.ajaxURLGenerator||Rc.defaultURLGenerator,this.table.options.ajaxURL&&this.setUrl(this.table.options.ajaxURL),this.setDefaultConfig(this.table.options.ajaxConfig),this.registerTableFunction("getAjaxUrl",this.getUrl.bind(this)),this.subscribe("data-loading",this.requestDataCheck.bind(this)),this.subscribe("data-params",this.requestParams.bind(this)),this.subscribe("data-load",this.requestData.bind(this))}requestParams(e,r,C,D){var T=this.table.options.ajaxParams;return T&&(typeof T=="function"&&(T=T.call(this.table)),D=Object.assign(Object.assign({},T),D)),D}requestDataCheck(e,r,C,D){return!!(!e&&this.url||typeof e=="string")}requestData(e,r,C,D,T){var p;return!T&&this.requestDataCheck(e)?(e&&this.setUrl(e),p=this.generateConfig(C),this.sendRequest(this.url,r,p)):T}setDefaultConfig(e={}){this.config=Object.assign({},Rc.defaultConfig),typeof e=="string"?this.config.method=e:Object.assign(this.config,e)}generateConfig(e={}){var r=Object.assign({},this.config);return typeof e=="string"?r.method=e:Object.assign(r,e),r}setUrl(e){this.url=e}getUrl(){return this.url}sendRequest(e,r,C){return this.table.options.ajaxRequesting.call(this.table,e,r)!==!1?this.loaderPromise(e,C,r).then(D=>(this.table.options.ajaxResponse&&(D=this.table.options.ajaxResponse.call(this.table,e,r,D)),D)):Promise.reject()}}Rc.moduleName="ajax";Rc.defaultConfig=cR;Rc.defaultURLGenerator=LM;Rc.defaultLoaderPromise=fR;Rc.contentTypeFormatters=dR;var pR={replace:function(n){return this.table.setData(n)},update:function(n){return this.table.updateOrAddData(n)},insert:function(n){return this.table.addData(n)},range:function(n){var e=[],r=this.table.modules.selectRange.activeRange,C=!1,D,T,p,t,d;return d=n.length,r&&(D=r.getBounds(),T=D.start,D.start===D.end&&(C=!0),T&&(e=this.table.rowManager.activeRows.slice(),p=e.indexOf(T.row),C?t=n.length:t=e.indexOf(D.end.row)-p+1,p>-1&&(this.table.blockRedraw(),e=e.slice(p,p+t),e.forEach((g,i)=>{g.updateData(n[i%d])}),this.table.restoreRedraw()))),e}},mR={table:function(n){var e=[],r=!0,C=this.table.columnManager.columns,D=[],T=[];return n=n.split(` -`),n.forEach(function(p){e.push(p.split(" "))}),e.length&&!(e.length===1&&e[0].length<2)?(e[0].forEach(function(p){var t=C.find(function(d){return p&&d.definition.title&&p.trim()&&d.definition.title.trim()===p.trim()});t?D.push(t):r=!1}),r||(r=!0,D=[],e[0].forEach(function(p){var t=C.find(function(d){return p&&d.field&&p.trim()&&d.field.trim()===p.trim()});t?D.push(t):r=!1}),r||(D=this.table.columnManager.columnsByIndex)),r&&e.shift(),e.forEach(function(p){var t={};p.forEach(function(d,g){D[g]&&(t[D[g].field]=d)}),T.push(t)}),T):!1},range:function(n){var e=[],r=[],C=this.table.modules.selectRange.activeRange,D=!1,T,p,t,d,g;return C&&(T=C.getBounds(),p=T.start,T.start===T.end&&(D=!0),p&&(n=n.split(` -`),n.forEach(function(i){e.push(i.split(" "))}),e.length&&(d=this.table.columnManager.getVisibleColumnsByIndex(),g=d.indexOf(p.column),g>-1)))?(D?t=e[0].length:t=d.indexOf(T.end.column)-g+1,d=d.slice(g,g+t),e.forEach(i=>{var M={},v=i.length;d.forEach(function(f,l){M[f.field]=i[l%v]}),r.push(M)}),r):!1}};class qd extends qi{constructor(e){super(e),this.mode=!0,this.pasteParser=function(){},this.pasteAction=function(){},this.customSelection=!1,this.rowRange=!1,this.blocked=!0,this.registerTableOption("clipboard",!1),this.registerTableOption("clipboardCopyStyled",!0),this.registerTableOption("clipboardCopyConfig",!1),this.registerTableOption("clipboardCopyFormatter",!1),this.registerTableOption("clipboardCopyRowRange","active"),this.registerTableOption("clipboardPasteParser","table"),this.registerTableOption("clipboardPasteAction","insert"),this.registerColumnOption("clipboard"),this.registerColumnOption("titleClipboard")}initialize(){this.mode=this.table.options.clipboard,this.rowRange=this.table.options.clipboardCopyRowRange,(this.mode===!0||this.mode==="copy")&&this.table.element.addEventListener("copy",e=>{var r,C,D;this.blocked||(e.preventDefault(),this.customSelection?(r=this.customSelection,this.table.options.clipboardCopyFormatter&&(r=this.table.options.clipboardCopyFormatter("plain",r))):(D=this.table.modules.export.generateExportList(this.table.options.clipboardCopyConfig,this.table.options.clipboardCopyStyled,this.rowRange,"clipboard"),C=this.table.modules.export.generateHTMLTable(D),r=C?this.generatePlainContent(D):"",this.table.options.clipboardCopyFormatter&&(r=this.table.options.clipboardCopyFormatter("plain",r),C=this.table.options.clipboardCopyFormatter("html",C))),window.clipboardData&&window.clipboardData.setData?window.clipboardData.setData("Text",r):e.clipboardData&&e.clipboardData.setData?(e.clipboardData.setData("text/plain",r),C&&e.clipboardData.setData("text/html",C)):e.originalEvent&&e.originalEvent.clipboardData.setData&&(e.originalEvent.clipboardData.setData("text/plain",r),C&&e.originalEvent.clipboardData.setData("text/html",C)),this.dispatchExternal("clipboardCopied",r,C),this.reset())}),(this.mode===!0||this.mode==="paste")&&this.table.element.addEventListener("paste",e=>{this.paste(e)}),this.setPasteParser(this.table.options.clipboardPasteParser),this.setPasteAction(this.table.options.clipboardPasteAction),this.registerTableFunction("copyToClipboard",this.copy.bind(this))}reset(){this.blocked=!0,this.customSelection=!1}generatePlainContent(e){var r=[];return e.forEach(C=>{var D=[];C.columns.forEach(T=>{var p="";if(T)if(C.type==="group"&&(T.value=T.component.getKey()),T.value===null)p="";else switch(typeof T.value){case"object":p=JSON.stringify(T.value);break;case"undefined":p="";break;default:p=T.value}D.push(p)}),r.push(D.join(" "))}),r.join(` -`)}copy(e,r){var C,D;this.blocked=!1,this.customSelection=!1,(this.mode===!0||this.mode==="copy")&&(this.rowRange=e||this.table.options.clipboardCopyRowRange,typeof window.getSelection<"u"&&typeof document.createRange<"u"?(e=document.createRange(),e.selectNodeContents(this.table.element),C=window.getSelection(),C.toString()&&r&&(this.customSelection=C.toString()),C.removeAllRanges(),C.addRange(e)):typeof document.selection<"u"&&typeof document.body.createTextRange<"u"&&(D=document.body.createTextRange(),D.moveToElementText(this.table.element),D.select()),document.execCommand("copy"),C&&C.removeAllRanges())}setPasteAction(e){switch(typeof e){case"string":this.pasteAction=qd.pasteActions[e],this.pasteAction||console.warn("Clipboard Error - No such paste action found:",e);break;case"function":this.pasteAction=e;break}}setPasteParser(e){switch(typeof e){case"string":this.pasteParser=qd.pasteParsers[e],this.pasteParser||console.warn("Clipboard Error - No such paste parser found:",e);break;case"function":this.pasteParser=e;break}}paste(e){var r,C,D;this.checkPasteOrigin(e)&&(r=this.getPasteData(e),C=this.pasteParser.call(this,r),C?(e.preventDefault(),this.table.modExists("mutator")&&(C=this.mutateData(C)),D=this.pasteAction.call(this,C),this.dispatchExternal("clipboardPasted",r,C,D)):this.dispatchExternal("clipboardPasteError",r))}mutateData(e){var r=[];return Array.isArray(e)?e.forEach(C=>{r.push(this.table.modules.mutator.transformRow(C,"clipboard"))}):r=e,r}checkPasteOrigin(e){var r=!0,C=this.confirm("clipboard-paste",[e]);return(C||!["DIV","SPAN"].includes(e.target.tagName))&&(r=!1),r}getPasteData(e){var r;return window.clipboardData&&window.clipboardData.getData?r=window.clipboardData.getData("Text"):e.clipboardData&&e.clipboardData.getData?r=e.clipboardData.getData("text/plain"):e.originalEvent&&e.originalEvent.clipboardData.getData&&(r=e.originalEvent.clipboardData.getData("text/plain")),r}}qd.moduleName="clipboard";qd.pasteActions=pR;qd.pasteParsers=mR;class gR{constructor(e){return this._row=e,new Proxy(this,{get:function(r,C,D){return typeof r[C]<"u"?r[C]:r._row.table.componentFunctionBinder.handle("row",r._row,C)}})}getData(e){return this._row.getData(e)}getElement(){return this._row.getElement()}getTable(){return this._row.table}getCells(){var e=[];return this._row.getCells().forEach(function(r){e.push(r.getComponent())}),e}getCell(e){var r=this._row.getCell(e);return r?r.getComponent():!1}_getSelf(){return this._row}}class IM{constructor(e){return this._cell=e,new Proxy(this,{get:function(r,C,D){return typeof r[C]<"u"?r[C]:r._cell.table.componentFunctionBinder.handle("cell",r._cell,C)}})}getValue(){return this._cell.getValue()}getOldValue(){return this._cell.getOldValue()}getInitialValue(){return this._cell.initialValue}getElement(){return this._cell.getElement()}getRow(){return this._cell.row.getComponent()}getData(e){return this._cell.row.getData(e)}getType(){return"cell"}getField(){return this._cell.column.getField()}getColumn(){return this._cell.column.getComponent()}setValue(e,r){typeof r>"u"&&(r=!0),this._cell.setValue(e,r)}restoreOldValue(){this._cell.setValueActual(this._cell.getOldValue())}restoreInitialValue(){this._cell.setValueActual(this._cell.initialValue)}checkHeight(){this._cell.checkHeight()}getTable(){return this._cell.table}_getSelf(){return this._cell}}class eg extends kl{constructor(e,r){super(e.table),this.table=e.table,this.column=e,this.row=r,this.element=null,this.value=null,this.initialValue,this.oldValue=null,this.modules={},this.height=null,this.width=null,this.minWidth=null,this.component=null,this.loaded=!1,this.build()}build(){this.generateElement(),this.setWidth(),this._configureCell(),this.setValueActual(this.column.getFieldValue(this.row.data)),this.initialValue=this.value}generateElement(){this.element=document.createElement("div"),this.element.className="tabulator-cell",this.element.setAttribute("role","gridcell")}_configureCell(){var e=this.element,r=this.column.getField(),C={top:"flex-start",bottom:"flex-end",middle:"center"},D={left:"flex-start",right:"flex-end",center:"center"};if(e.style.textAlign=this.column.hozAlign,this.column.vertAlign&&(e.style.display="inline-flex",e.style.alignItems=C[this.column.vertAlign]||"",this.column.hozAlign&&(e.style.justifyContent=D[this.column.hozAlign]||"")),r&&e.setAttribute("tabulator-field",r),this.column.definition.cssClass){var T=this.column.definition.cssClass.split(" ");T.forEach(p=>{e.classList.add(p)})}this.dispatch("cell-init",this),this.column.visible||this.hide()}_generateContents(){var e;switch(e=this.chain("cell-format",this,null,()=>this.element.innerHTML=this.value),typeof e){case"object":if(e instanceof Node){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.element.appendChild(e)}else this.element.innerHTML="",e!=null&&console.warn("Format Error - Formatter has returned a type of object, the only valid formatter object return is an instance of Node, the formatter returned:",e);break;case"undefined":this.element.innerHTML="";break;default:this.element.innerHTML=e}}cellRendered(){this.dispatch("cell-rendered",this)}getElement(e){return this.loaded||(this.loaded=!0,e||this.layoutElement()),this.element}getValue(){return this.value}getOldValue(){return this.oldValue}setValue(e,r,C){var D=this.setValueProcessData(e,r,C);D&&(this.dispatch("cell-value-updated",this),this.cellRendered(),this.column.definition.cellEdited&&this.column.definition.cellEdited.call(this.table,this.getComponent()),this.dispatchExternal("cellEdited",this.getComponent()),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.table.rowManager.getData()))}setValueProcessData(e,r,C){var D=!1;return(this.value!==e||C)&&(D=!0,r&&(e=this.chain("cell-value-changing",[this,e],null,e))),this.setValueActual(e),D&&this.dispatch("cell-value-changed",this),D}setValueActual(e){this.oldValue=this.value,this.value=e,this.dispatch("cell-value-save-before",this),this.column.setFieldValue(this.row.data,e),this.dispatch("cell-value-save-after",this),this.loaded&&this.layoutElement()}layoutElement(){this._generateContents(),this.dispatch("cell-layout",this)}setWidth(){this.width=this.column.width,this.element.style.width=this.column.widthStyled}clearWidth(){this.width="",this.element.style.width=""}getWidth(){return this.width||this.element.offsetWidth}setMinWidth(){this.minWidth=this.column.minWidth,this.element.style.minWidth=this.column.minWidthStyled}setMaxWidth(){this.maxWidth=this.column.maxWidth,this.element.style.maxWidth=this.column.maxWidthStyled}checkHeight(){this.row.reinitializeHeight()}clearHeight(){this.element.style.height="",this.height=null,this.dispatch("cell-height",this,"")}setHeight(){this.height=this.row.height,this.element.style.height=this.row.heightStyled,this.dispatch("cell-height",this,this.row.heightStyled)}getHeight(){return this.height||this.element.offsetHeight}show(){this.element.style.display=this.column.vertAlign?"inline-flex":""}hide(){this.element.style.display="none"}delete(){this.dispatch("cell-delete",this),!this.table.rowManager.redrawBlock&&this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.element=!1,this.column.deleteCell(this),this.row.deleteCell(this),this.calcs={}}getIndex(){return this.row.getCellIndex(this)}getComponent(){return this.component||(this.component=new IM(this)),this.component}}class RM{constructor(e){return this._column=e,this.type="ColumnComponent",new Proxy(this,{get:function(r,C,D){return typeof r[C]<"u"?r[C]:r._column.table.componentFunctionBinder.handle("column",r._column,C)}})}getElement(){return this._column.getElement()}getDefinition(){return this._column.getDefinition()}getField(){return this._column.getField()}getTitleDownload(){return this._column.getTitleDownload()}getCells(){var e=[];return this._column.cells.forEach(function(r){e.push(r.getComponent())}),e}isVisible(){return this._column.visible}show(){this._column.isGroup?this._column.columns.forEach(function(e){e.show()}):this._column.show()}hide(){this._column.isGroup?this._column.columns.forEach(function(e){e.hide()}):this._column.hide()}toggle(){this._column.visible?this.hide():this.show()}delete(){return this._column.delete()}getSubColumns(){var e=[];return this._column.columns.length&&this._column.columns.forEach(function(r){e.push(r.getComponent())}),e}getParentColumn(){return this._column.parent instanceof vh?this._column.parent.getComponent():!1}_getSelf(){return this._column}scrollTo(e,r){return this._column.table.columnManager.scrollToColumn(this._column,e,r)}getTable(){return this._column.table}move(e,r){var C=this._column.table.columnManager.findColumn(e);C?this._column.table.columnManager.moveColumn(this._column,C,r):console.warn("Move Error - No matching column found:",C)}getNextColumn(){var e=this._column.nextColumn();return e?e.getComponent():!1}getPrevColumn(){var e=this._column.prevColumn();return e?e.getComponent():!1}updateDefinition(e){return this._column.updateDefinition(e)}getWidth(){return this._column.getWidth()}setWidth(e){var r;return e===!0?r=this._column.reinitializeWidth(!0):r=this._column.setWidth(e),this._column.table.columnManager.rerenderColumns(!0),r}}var PM={title:void 0,field:void 0,columns:void 0,visible:void 0,hozAlign:void 0,vertAlign:void 0,width:void 0,minWidth:40,maxWidth:void 0,maxInitialWidth:void 0,cssClass:void 0,variableHeight:void 0,headerVertical:void 0,headerHozAlign:void 0,headerWordWrap:!1,editableTitle:void 0};class vh extends kl{constructor(e,r){super(r.table),this.definition=e,this.parent=r,this.type="column",this.columns=[],this.cells=[],this.element=this.createElement(),this.contentElement=!1,this.titleHolderElement=!1,this.titleElement=!1,this.groupElement=this.createGroupElement(),this.isGroup=!1,this.hozAlign="",this.vertAlign="",this.field="",this.fieldStructure="",this.getFieldValue="",this.setFieldValue="",this.titleDownload=null,this.titleFormatterRendered=!1,this.mapDefinitions(),this.setField(this.definition.field),this.modules={},this.width=null,this.widthStyled="",this.maxWidth=null,this.maxWidthStyled="",this.maxInitialWidth=null,this.minWidth=null,this.minWidthStyled="",this.widthFixed=!1,this.visible=!0,this.component=null,this.definition.columns?(this.isGroup=!0,this.definition.columns.forEach((C,D)=>{var T=new vh(C,this);this.attachColumn(T)}),this.checkColumnVisibility()):r.registerColumnField(this),this._initialize()}createElement(){var e=document.createElement("div");switch(e.classList.add("tabulator-col"),e.setAttribute("role","columnheader"),e.setAttribute("aria-sort","none"),this.table.options.columnHeaderVertAlign){case"middle":e.style.justifyContent="center";break;case"bottom":e.style.justifyContent="flex-end";break}return e}createGroupElement(){var e=document.createElement("div");return e.classList.add("tabulator-col-group-cols"),e}mapDefinitions(){var e=this.table.options.columnDefaults;if(e)for(let r in e)typeof this.definition[r]>"u"&&(this.definition[r]=e[r]);this.definition=this.table.columnManager.optionsList.generate(vh.defaultOptionList,this.definition)}checkDefinition(){Object.keys(this.definition).forEach(e=>{vh.defaultOptionList.indexOf(e)===-1&&console.warn("Invalid column definition option in '"+(this.field||this.definition.title)+"' column:",e)})}setField(e){this.field=e,this.fieldStructure=e?this.table.options.nestedFieldSeparator?e.split(this.table.options.nestedFieldSeparator):[e]:[],this.getFieldValue=this.fieldStructure.length>1?this._getNestedData:this._getFlatData,this.setFieldValue=this.fieldStructure.length>1?this._setNestedData:this._setFlatData}registerColumnPosition(e){this.parent.registerColumnPosition(e)}registerColumnField(e){this.parent.registerColumnField(e)}reRegisterPosition(){this.isGroup?this.columns.forEach(function(e){e.reRegisterPosition()}):this.registerColumnPosition(this)}_initialize(){for(var e=this.definition;this.element.firstChild;)this.element.removeChild(this.element.firstChild);e.headerVertical&&(this.element.classList.add("tabulator-col-vertical"),e.headerVertical==="flip"&&this.element.classList.add("tabulator-col-vertical-flip")),this.contentElement=this._buildColumnHeaderContent(),this.element.appendChild(this.contentElement),this.isGroup?this._buildGroupHeader():this._buildColumnHeader(),this.dispatch("column-init",this)}_buildColumnHeader(){var e=this.definition;if(this.dispatch("column-layout",this),typeof e.visible<"u"&&(e.visible?this.show(!0):this.hide(!0)),e.cssClass){var r=e.cssClass.split(" ");r.forEach(C=>{this.element.classList.add(C)})}e.field&&this.element.setAttribute("tabulator-field",e.field),this.setMinWidth(parseInt(e.minWidth)),e.maxInitialWidth&&(this.maxInitialWidth=parseInt(e.maxInitialWidth)),e.maxWidth&&this.setMaxWidth(parseInt(e.maxWidth)),this.reinitializeWidth(),this.hozAlign=this.definition.hozAlign,this.vertAlign=this.definition.vertAlign,this.titleElement.style.textAlign=this.definition.headerHozAlign}_buildColumnHeaderContent(){var e=document.createElement("div");return e.classList.add("tabulator-col-content"),this.titleHolderElement=document.createElement("div"),this.titleHolderElement.classList.add("tabulator-col-title-holder"),e.appendChild(this.titleHolderElement),this.titleElement=this._buildColumnHeaderTitle(),this.titleHolderElement.appendChild(this.titleElement),e}_buildColumnHeaderTitle(){var e=this.definition,r=document.createElement("div");if(r.classList.add("tabulator-col-title"),e.headerWordWrap&&r.classList.add("tabulator-col-title-wrap"),e.editableTitle){var C=document.createElement("input");C.classList.add("tabulator-title-editor"),C.addEventListener("click",D=>{D.stopPropagation(),C.focus()}),C.addEventListener("mousedown",D=>{D.stopPropagation()}),C.addEventListener("change",()=>{e.title=C.value,this.dispatchExternal("columnTitleChanged",this.getComponent())}),r.appendChild(C),e.field?this.langBind("columns|"+e.field,D=>{C.value=D||e.title||" "}):C.value=e.title||" "}else e.field?this.langBind("columns|"+e.field,D=>{this._formatColumnHeaderTitle(r,D||e.title||" ")}):this._formatColumnHeaderTitle(r,e.title||" ");return r}_formatColumnHeaderTitle(e,r){var C=this.chain("column-format",[this,r,e],null,()=>r);switch(typeof C){case"object":C instanceof Node?e.appendChild(C):(e.innerHTML="",console.warn("Format Error - Title formatter has returned a type of object, the only valid formatter object return is an instance of Node, the formatter returned:",C));break;case"undefined":e.innerHTML="";break;default:e.innerHTML=C}}_buildGroupHeader(){if(this.element.classList.add("tabulator-col-group"),this.element.setAttribute("role","columngroup"),this.element.setAttribute("aria-title",this.definition.title),this.definition.cssClass){var e=this.definition.cssClass.split(" ");e.forEach(r=>{this.element.classList.add(r)})}this.titleElement.style.textAlign=this.definition.headerHozAlign,this.element.appendChild(this.groupElement)}_getFlatData(e){return e[this.field]}_getNestedData(e){var r=e,C=this.fieldStructure,D=C.length,T;for(let p=0;p{r.push(C),r=r.concat(C.getColumns(!0))}):r=this.columns,r}getCells(){return this.cells}getTopColumn(){return this.parent.isGroup?this.parent.getTopColumn():this}getDefinition(e){var r=[];return this.isGroup&&e&&(this.columns.forEach(function(C){r.push(C.getDefinition(!0))}),this.definition.columns=r),this.definition}checkColumnVisibility(){var e=!1;this.columns.forEach(function(r){r.visible&&(e=!0)}),e?(this.show(),this.dispatchExternal("columnVisibilityChanged",this.getComponent(),!1)):this.hide()}show(e,r){this.visible||(this.visible=!0,this.element.style.display="",this.parent.isGroup&&this.parent.checkColumnVisibility(),this.cells.forEach(function(C){C.show()}),!this.isGroup&&this.width===null&&this.reinitializeWidth(),this.table.columnManager.verticalAlignHeaders(),this.dispatch("column-show",this,r),e||this.dispatchExternal("columnVisibilityChanged",this.getComponent(),!0),this.parent.isGroup&&this.parent.matchChildWidths(),this.silent||this.table.columnManager.rerenderColumns())}hide(e,r){this.visible&&(this.visible=!1,this.element.style.display="none",this.table.columnManager.verticalAlignHeaders(),this.parent.isGroup&&this.parent.checkColumnVisibility(),this.cells.forEach(function(C){C.hide()}),this.dispatch("column-hide",this,r),e||this.dispatchExternal("columnVisibilityChanged",this.getComponent(),!1),this.parent.isGroup&&this.parent.matchChildWidths(),this.silent||this.table.columnManager.rerenderColumns())}matchChildWidths(){var e=0;this.contentElement&&this.columns.length&&(this.columns.forEach(function(r){r.visible&&(e+=r.getWidth())}),this.contentElement.style.maxWidth=e-1+"px",this.parent.isGroup&&this.parent.matchChildWidths())}removeChild(e){var r=this.columns.indexOf(e);r>-1&&this.columns.splice(r,1),this.columns.length||this.delete()}setWidth(e){this.widthFixed=!0,this.setWidthActual(e)}setWidthActual(e){isNaN(e)&&(e=Math.floor(this.table.element.clientWidth/100*parseInt(e))),e=Math.max(this.minWidth,e),this.maxWidth&&(e=Math.min(this.maxWidth,e)),this.width=e,this.widthStyled=e?e+"px":"",this.element.style.width=this.widthStyled,this.isGroup||this.cells.forEach(function(r){r.setWidth()}),this.parent.isGroup&&this.parent.matchChildWidths(),this.dispatch("column-width",this)}checkCellHeights(){var e=[];this.cells.forEach(function(r){r.row.heightInitialized&&(r.row.getElement().offsetParent!==null?(e.push(r.row),r.row.clearCellHeight()):r.row.heightInitialized=!1)}),e.forEach(function(r){r.calcHeight()}),e.forEach(function(r){r.setCellHeight()})}getWidth(){var e=0;return this.isGroup?this.columns.forEach(function(r){r.visible&&(e+=r.getWidth())}):e=this.width,e}getLeftOffset(){var e=this.element.offsetLeft;return this.parent.isGroup&&(e+=this.parent.getLeftOffset()),e}getHeight(){return Math.ceil(this.element.getBoundingClientRect().height)}setMinWidth(e){this.maxWidth&&e>this.maxWidth&&(e=this.maxWidth,console.warn("the minWidth ("+e+"px) for column '"+this.field+"' cannot be bigger that its maxWidth ("+this.maxWidthStyled+")")),this.minWidth=e,this.minWidthStyled=e?e+"px":"",this.element.style.minWidth=this.minWidthStyled,this.cells.forEach(function(r){r.setMinWidth()})}setMaxWidth(e){this.minWidth&&e{this.isGroup&&this.columns.forEach(function(D){D.delete()}),this.dispatch("column-delete",this);var C=this.cells.length;for(let D=0;D-1?this._nextVisibleColumn(e+1):!1}_nextVisibleColumn(e){var r=this.table.columnManager.getColumnByIndex(e);return!r||r.visible?r:this._nextVisibleColumn(e+1)}prevColumn(){var e=this.table.columnManager.findColumnIndex(this);return e>-1?this._prevVisibleColumn(e-1):!1}_prevVisibleColumn(e){var r=this.table.columnManager.getColumnByIndex(e);return!r||r.visible?r:this._prevVisibleColumn(e-1)}reinitializeWidth(e){this.widthFixed=!1,typeof this.definition.width<"u"&&!e&&this.setWidth(this.definition.width),this.dispatch("column-width-fit-before",this),this.fitToData(e),this.dispatch("column-width-fit-after",this)}fitToData(e){if(!this.isGroup){this.widthFixed||(this.element.style.width="",this.cells.forEach(D=>{D.clearWidth()}));var r=this.element.offsetWidth;if((!this.width||!this.widthFixed)&&(this.cells.forEach(D=>{var T=D.getWidth();T>r&&(r=T)}),r)){var C=r+1;this.maxInitialWidth&&!e&&(C=Math.min(C,this.maxInitialWidth)),this.setWidthActual(C)}}}updateDefinition(e){var r;return this.isGroup||this.parent.isGroup?(console.error("Column Update Error - The updateDefinition function is only available on ungrouped columns"),Promise.reject("Column Update Error - The updateDefinition function is only available on columns, not column groups")):(r=Object.assign({},this.getDefinition()),r=Object.assign(r,e),this.table.columnManager.addColumn(r,!1,this).then(C=>(r.field==this.field&&(this.field=!1),this.delete().then(()=>C.getComponent()))))}deleteCell(e){var r=this.cells.indexOf(e);r>-1&&this.cells.splice(r,1)}getComponent(){return this.component||(this.component=new RM(this)),this.component}getPosition(){return this.table.columnManager.getVisibleColumnsByIndex().indexOf(this)+1}}vh.defaultOptionList=PM;class Wy{constructor(e){return this._row=e,new Proxy(this,{get:function(r,C,D){return typeof r[C]<"u"?r[C]:r._row.table.componentFunctionBinder.handle("row",r._row,C)}})}getData(e){return this._row.getData(e)}getElement(){return this._row.getElement()}getCells(){var e=[];return this._row.getCells().forEach(function(r){e.push(r.getComponent())}),e}getCell(e){var r=this._row.getCell(e);return r?r.getComponent():!1}getIndex(){return this._row.getData("data")[this._row.table.options.index]}getPosition(){return this._row.getPosition()}watchPosition(e){return this._row.watchPosition(e)}delete(){return this._row.delete()}scrollTo(e,r){return this._row.table.rowManager.scrollToRow(this._row,e,r)}move(e,r){this._row.moveToRow(e,r)}update(e){return this._row.updateData(e)}normalizeHeight(){this._row.normalizeHeight(!0)}_getSelf(){return this._row}reformat(){return this._row.reinitialize()}getTable(){return this._row.table}getNextRow(){var e=this._row.nextRow();return e&&e.getComponent()}getPrevRow(){var e=this._row.prevRow();return e&&e.getComponent()}}class vl extends kl{constructor(e,r,C="row"){super(r.table),this.parent=r,this.data={},this.type=C,this.element=!1,this.modules={},this.cells=[],this.height=0,this.heightStyled="",this.manualHeight=!1,this.outerHeight=0,this.initialized=!1,this.heightInitialized=!1,this.position=0,this.positionWatchers=[],this.component=null,this.created=!1,this.setData(e)}create(){this.created||(this.created=!0,this.generateElement())}createElement(){var e=document.createElement("div");e.classList.add("tabulator-row"),e.setAttribute("role","row"),this.element=e}getElement(){return this.create(),this.element}detachElement(){this.element&&this.element.parentNode&&this.element.parentNode.removeChild(this.element)}generateElement(){this.createElement(),this.dispatch("row-init",this)}generateCells(){this.cells=this.table.columnManager.generateCells(this)}initialize(e,r){if(this.create(),!this.initialized||e){for(this.deleteCells();this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.dispatch("row-layout-before",this),this.generateCells(),this.initialized=!0,this.table.columnManager.renderer.renderRowCells(this,r),e&&this.normalizeHeight(),this.dispatch("row-layout",this),this.table.options.rowFormatter&&this.table.options.rowFormatter(this.getComponent()),this.dispatch("row-layout-after",this)}else this.table.columnManager.renderer.rerenderRowCells(this,r)}rendered(){this.cells.forEach(e=>{e.cellRendered()})}reinitializeHeight(){this.heightInitialized=!1,this.element&&this.element.offsetParent!==null&&this.normalizeHeight(!0)}deinitialize(){this.initialized=!1}deinitializeHeight(){this.heightInitialized=!1}reinitialize(e){this.initialized=!1,this.heightInitialized=!1,this.manualHeight||(this.height=0,this.heightStyled=""),this.element&&this.element.offsetParent!==null&&this.initialize(!0),this.dispatch("row-relayout",this)}calcHeight(e){var r=0,C;this.table.options.rowHeight?this.height=this.table.options.rowHeight:(C=this.table.options.resizableRows?this.element.clientHeight:0,this.cells.forEach(function(D){var T=D.getHeight();T>r&&(r=T)}),e?this.height=Math.max(r,C):this.height=this.manualHeight?this.height:Math.max(r,C)),this.heightStyled=this.height?this.height+"px":"",this.outerHeight=this.element.offsetHeight}setCellHeight(){this.cells.forEach(function(e){e.setHeight()}),this.heightInitialized=!0}clearCellHeight(){this.cells.forEach(function(e){e.clearHeight()})}normalizeHeight(e){e&&!this.table.options.rowHeight&&this.clearCellHeight(),this.calcHeight(e),this.setCellHeight()}setHeight(e,r){(this.height!=e||r)&&(this.manualHeight=!0,this.height=e,this.heightStyled=e?e+"px":"",this.setCellHeight(),this.outerHeight=this.element.offsetHeight)}getHeight(){return this.outerHeight}getWidth(){return this.element.offsetWidth}deleteCell(e){var r=this.cells.indexOf(e);r>-1&&this.cells.splice(r,1)}setData(e){this.data=this.chain("row-data-init-before",[this,e],void 0,e),this.dispatch("row-data-init-after",this)}updateData(e){var r=this.element&&oo.elVisible(this.element),C={},D;return new Promise((T,p)=>{typeof e=="string"&&(e=JSON.parse(e)),this.dispatch("row-data-save-before",this),this.subscribed("row-data-changing")&&(C=Object.assign(C,this.data),C=Object.assign(C,e)),D=this.chain("row-data-changing",[this,C,e],null,e);for(let t in D)this.data[t]=D[t];this.dispatch("row-data-save-after",this);for(let t in e)this.table.columnManager.getColumnsByFieldRoot(t).forEach(g=>{let i=this.getCell(g.getField());if(i){let M=g.getFieldValue(D);i.getValue()!==M&&(i.setValueProcessData(M),r&&i.cellRendered())}});r?(this.normalizeHeight(!0),this.table.options.rowFormatter&&this.table.options.rowFormatter(this.getComponent())):(this.initialized=!1,this.height=0,this.heightStyled=""),this.dispatch("row-data-changed",this,r,e),this.dispatchExternal("rowUpdated",this.getComponent()),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.table.rowManager.getData()),T()})}getData(e){return e?this.chain("row-data-retrieve",[this,e],null,this.data):this.data}getCell(e){var r=!1;return e=this.table.columnManager.findColumn(e),!this.initialized&&this.cells.length===0&&this.generateCells(),r=this.cells.find(function(C){return C.column===e}),r}getCellIndex(e){return this.cells.findIndex(function(r){return r===e})}findCell(e){return this.cells.find(r=>r.element===e)}getCells(){return!this.initialized&&this.cells.length===0&&this.generateCells(),this.cells}nextRow(){var e=this.table.rowManager.nextDisplayRow(this,!0);return e||!1}prevRow(){var e=this.table.rowManager.prevDisplayRow(this,!0);return e||!1}moveToRow(e,r){var C=this.table.rowManager.findRow(e);C?(this.table.rowManager.moveRowActual(this,C,!r),this.table.rowManager.refreshActiveData("display",!1,!0)):console.warn("Move Error - No matching row found:",e)}delete(){return this.dispatch("row-delete",this),this.deleteActual(),Promise.resolve()}deleteActual(e){this.detachModules(),this.table.rowManager.deleteRow(this,e),this.deleteCells(),this.initialized=!1,this.heightInitialized=!1,this.element=!1,this.dispatch("row-deleted",this)}detachModules(){this.dispatch("row-deleting",this)}deleteCells(){var e=this.cells.length;for(let r=0;r{r(this.position)}))}watchPosition(e){this.positionWatchers.push(e),e(this.position)}getGroup(){return this.modules.group||!1}getComponent(){return this.component||(this.component=new Wy(this)),this.component}}var vR={avg:function(n,e,r){var C=0,D=typeof r.precision<"u"?r.precision:2;return n.length&&(C=n.reduce(function(T,p){return Number(T)+Number(p)}),C=C/n.length,C=D!==!1?C.toFixed(D):C),parseFloat(C).toString()},max:function(n,e,r){var C=null,D=typeof r.precision<"u"?r.precision:!1;return n.forEach(function(T){T=Number(T),(T>C||C===null)&&(C=T)}),C!==null?D!==!1?C.toFixed(D):C:""},min:function(n,e,r){var C=null,D=typeof r.precision<"u"?r.precision:!1;return n.forEach(function(T){T=Number(T),(T(n||D===0)&&n.indexOf(D)===T);return C.length}};class zf extends qi{constructor(e){super(e),this.topCalcs=[],this.botCalcs=[],this.genColumn=!1,this.topElement=this.createElement(),this.botElement=this.createElement(),this.topRow=!1,this.botRow=!1,this.topInitialized=!1,this.botInitialized=!1,this.blocked=!1,this.recalcAfterBlock=!1,this.registerTableOption("columnCalcs",!0),this.registerColumnOption("topCalc"),this.registerColumnOption("topCalcParams"),this.registerColumnOption("topCalcFormatter"),this.registerColumnOption("topCalcFormatterParams"),this.registerColumnOption("bottomCalc"),this.registerColumnOption("bottomCalcParams"),this.registerColumnOption("bottomCalcFormatter"),this.registerColumnOption("bottomCalcFormatterParams")}createElement(){var e=document.createElement("div");return e.classList.add("tabulator-calcs-holder"),e}initialize(){this.genColumn=new vh({field:"value"},this),this.subscribe("cell-value-changed",this.cellValueChanged.bind(this)),this.subscribe("column-init",this.initializeColumnCheck.bind(this)),this.subscribe("row-deleted",this.rowsUpdated.bind(this)),this.subscribe("scroll-horizontal",this.scrollHorizontal.bind(this)),this.subscribe("row-added",this.rowsUpdated.bind(this)),this.subscribe("column-moved",this.recalcActiveRows.bind(this)),this.subscribe("column-add",this.recalcActiveRows.bind(this)),this.subscribe("data-refreshed",this.recalcActiveRowsRefresh.bind(this)),this.subscribe("table-redraw",this.tableRedraw.bind(this)),this.subscribe("rows-visible",this.visibleRows.bind(this)),this.subscribe("scrollbar-vertical",this.adjustForScrollbar.bind(this)),this.subscribe("redraw-blocked",this.blockRedraw.bind(this)),this.subscribe("redraw-restored",this.restoreRedraw.bind(this)),this.subscribe("table-redrawing",this.resizeHolderWidth.bind(this)),this.subscribe("column-resized",this.resizeHolderWidth.bind(this)),this.subscribe("column-show",this.resizeHolderWidth.bind(this)),this.subscribe("column-hide",this.resizeHolderWidth.bind(this)),this.registerTableFunction("getCalcResults",this.getResults.bind(this)),this.registerTableFunction("recalc",this.userRecalc.bind(this)),this.resizeHolderWidth()}resizeHolderWidth(){this.topElement.style.minWidth=this.table.columnManager.headersElement.offsetWidth+"px"}tableRedraw(e){this.recalc(this.table.rowManager.activeRows),e&&this.redraw()}blockRedraw(){this.blocked=!0,this.recalcAfterBlock=!1}restoreRedraw(){this.blocked=!1,this.recalcAfterBlock&&(this.recalcAfterBlock=!1,this.recalcActiveRowsRefresh())}userRecalc(){this.recalc(this.table.rowManager.activeRows)}blockCheck(){return this.blocked&&(this.recalcAfterBlock=!0),this.blocked}visibleRows(e,r){return this.topRow&&r.unshift(this.topRow),this.botRow&&r.push(this.botRow),r}rowsUpdated(e){this.table.options.groupBy?this.recalcRowGroup(e):this.recalcActiveRows()}recalcActiveRowsRefresh(){this.table.options.groupBy&&this.table.options.dataTreeStartExpanded&&this.table.options.dataTree?this.recalcAll():this.recalcActiveRows()}recalcActiveRows(){this.recalc(this.table.rowManager.activeRows)}cellValueChanged(e){(e.column.definition.topCalc||e.column.definition.bottomCalc)&&(this.table.options.groupBy?((this.table.options.columnCalcs=="table"||this.table.options.columnCalcs=="both")&&this.recalcActiveRows(),this.table.options.columnCalcs!="table"&&this.recalcRowGroup(e.row)):this.recalcActiveRows())}initializeColumnCheck(e){(e.definition.topCalc||e.definition.bottomCalc)&&this.initializeColumn(e)}initializeColumn(e){var r=e.definition,C={topCalcParams:r.topCalcParams||{},botCalcParams:r.bottomCalcParams||{}};if(r.topCalc){switch(typeof r.topCalc){case"string":zf.calculations[r.topCalc]?C.topCalc=zf.calculations[r.topCalc]:console.warn("Column Calc Error - No such calculation found, ignoring: ",r.topCalc);break;case"function":C.topCalc=r.topCalc;break}C.topCalc&&(e.modules.columnCalcs=C,this.topCalcs.push(e),this.table.options.columnCalcs!="group"&&this.initializeTopRow())}if(r.bottomCalc){switch(typeof r.bottomCalc){case"string":zf.calculations[r.bottomCalc]?C.botCalc=zf.calculations[r.bottomCalc]:console.warn("Column Calc Error - No such calculation found, ignoring: ",r.bottomCalc);break;case"function":C.botCalc=r.bottomCalc;break}C.botCalc&&(e.modules.columnCalcs=C,this.botCalcs.push(e),this.table.options.columnCalcs!="group"&&this.initializeBottomRow())}}registerColumnField(){}removeCalcs(){var e=!1;this.topInitialized&&(this.topInitialized=!1,this.topElement.parentNode.removeChild(this.topElement),e=!0),this.botInitialized&&(this.botInitialized=!1,this.footerRemove(this.botElement),e=!0),e&&this.table.rowManager.adjustTableSize()}reinitializeCalcs(){this.topCalcs.length&&this.initializeTopRow(),this.botCalcs.length&&this.initializeBottomRow()}initializeTopRow(){var e=document.createDocumentFragment();this.topInitialized||(e.appendChild(document.createElement("br")),e.appendChild(this.topElement),this.table.columnManager.getContentsElement().insertBefore(e,this.table.columnManager.headersElement.nextSibling),this.topInitialized=!0)}initializeBottomRow(){this.botInitialized||(this.footerPrepend(this.botElement),this.botInitialized=!0)}scrollHorizontal(e){this.botInitialized&&this.botRow&&(this.botElement.scrollLeft=e)}recalc(e){var r,C;if(!this.blockCheck()&&(this.topInitialized||this.botInitialized)){if(r=this.rowsToData(e),this.topInitialized){for(this.topRow&&this.topRow.deleteCells(),C=this.generateRow("top",r),this.topRow=C;this.topElement.firstChild;)this.topElement.removeChild(this.topElement.firstChild);this.topElement.appendChild(C.getElement()),C.initialize(!0)}if(this.botInitialized){for(this.botRow&&this.botRow.deleteCells(),C=this.generateRow("bottom",r),this.botRow=C;this.botElement.firstChild;)this.botElement.removeChild(this.botElement.firstChild);this.botElement.appendChild(C.getElement()),C.initialize(!0)}this.table.rowManager.adjustTableSize(),this.table.modExists("frozenColumns")&&this.table.modules.frozenColumns.layout()}}recalcRowGroup(e){this.recalcGroup(this.table.modules.groupRows.getRowGroup(e))}recalcAll(){if((this.topCalcs.length||this.botCalcs.length)&&(this.table.options.columnCalcs!=="group"&&this.recalcActiveRows(),this.table.options.groupBy&&this.table.options.columnCalcs!=="table")){var e=this.table.modules.groupRows.getChildGroups();e.forEach(r=>{this.recalcGroup(r)})}}recalcGroup(e){var r,C;this.blockCheck()||e&&e.calcs&&(e.calcs.bottom&&(r=this.rowsToData(e.rows),C=this.generateRowData("bottom",r),e.calcs.bottom.updateData(C),e.calcs.bottom.reinitialize()),e.calcs.top&&(r=this.rowsToData(e.rows),C=this.generateRowData("top",r),e.calcs.top.updateData(C),e.calcs.top.reinitialize()))}generateTopRow(e){return this.generateRow("top",this.rowsToData(e))}generateBottomRow(e){return this.generateRow("bottom",this.rowsToData(e))}rowsToData(e){var r=[];return e.forEach(C=>{if(r.push(C.getData()),this.table.options.dataTree&&this.table.options.dataTreeChildColumnCalcs&&C.modules.dataTree&&C.modules.dataTree.open){var D=this.rowsToData(this.table.modules.dataTree.getFilteredTreeChildren(C));r=r.concat(D)}}),r}generateRow(e,r){var C=this.generateRowData(e,r),D;return this.table.modExists("mutator")&&this.table.modules.mutator.disable(),D=new vl(C,this,"calc"),this.table.modExists("mutator")&&this.table.modules.mutator.enable(),D.getElement().classList.add("tabulator-calcs","tabulator-calcs-"+e),D.component=!1,D.getComponent=()=>(D.component||(D.component=new gR(D)),D.component),D.generateCells=()=>{var T=[];this.table.columnManager.columnsByIndex.forEach(p=>{this.genColumn.setField(p.getField()),this.genColumn.hozAlign=p.hozAlign,p.definition[e+"CalcFormatter"]&&this.table.modExists("format")?this.genColumn.modules.format={formatter:this.table.modules.format.getFormatter(p.definition[e+"CalcFormatter"]),params:p.definition[e+"CalcFormatterParams"]||{}}:this.genColumn.modules.format={formatter:this.table.modules.format.getFormatter("plaintext"),params:{}},this.genColumn.definition.cssClass=p.definition.cssClass;var t=new eg(this.genColumn,D);t.getElement(),t.column=p,t.setWidth(),p.cells.push(t),T.push(t),p.visible||t.hide()}),D.cells=T},D}generateRowData(e,r){var C={},D=e=="top"?this.topCalcs:this.botCalcs,T=e=="top"?"topCalc":"botCalc",p,t;return D.forEach(function(d){var g=[];d.modules.columnCalcs&&d.modules.columnCalcs[T]&&(r.forEach(function(i){g.push(d.getFieldValue(i))}),t=T+"Params",p=typeof d.modules.columnCalcs[t]=="function"?d.modules.columnCalcs[t](g,r):d.modules.columnCalcs[t],d.setFieldValue(C,d.modules.columnCalcs[T](g,r,p)))}),C}hasTopCalcs(){return!!this.topCalcs.length}hasBottomCalcs(){return!!this.botCalcs.length}redraw(){this.topRow&&this.topRow.normalizeHeight(!0),this.botRow&&this.botRow.normalizeHeight(!0)}getResults(){var e={},r;return this.table.options.groupBy&&this.table.modExists("groupRows")?(r=this.table.modules.groupRows.getGroups(!0),r.forEach(C=>{e[C.getKey()]=this.getGroupResults(C)})):e={top:this.topRow?this.topRow.getData():{},bottom:this.botRow?this.botRow.getData():{}},e}getGroupResults(e){var r=e._getSelf(),C=e.getSubGroups(),D={},T={};return C.forEach(p=>{D[p.getKey()]=this.getGroupResults(p)}),T={top:r.calcs.top?r.calcs.top.getData():{},bottom:r.calcs.bottom?r.calcs.bottom.getData():{},groups:D},T}adjustForScrollbar(e){this.botRow&&(this.table.rtl?this.botElement.style.paddingLeft=e+"px":this.botElement.style.paddingRight=e+"px")}}zf.moduleName="columnCalcs";zf.calculations=vR;class OM extends qi{constructor(e){super(e),this.indent=10,this.field="",this.collapseEl=null,this.expandEl=null,this.branchEl=null,this.elementField=!1,this.startOpen=function(){},this.registerTableOption("dataTree",!1),this.registerTableOption("dataTreeFilter",!0),this.registerTableOption("dataTreeSort",!0),this.registerTableOption("dataTreeElementColumn",!1),this.registerTableOption("dataTreeBranchElement",!0),this.registerTableOption("dataTreeChildIndent",9),this.registerTableOption("dataTreeChildField","_children"),this.registerTableOption("dataTreeCollapseElement",!1),this.registerTableOption("dataTreeExpandElement",!1),this.registerTableOption("dataTreeStartExpanded",!1),this.registerTableOption("dataTreeChildColumnCalcs",!1),this.registerTableOption("dataTreeSelectPropagate",!1),this.registerComponentFunction("row","treeCollapse",this.collapseRow.bind(this)),this.registerComponentFunction("row","treeExpand",this.expandRow.bind(this)),this.registerComponentFunction("row","treeToggle",this.toggleRow.bind(this)),this.registerComponentFunction("row","getTreeParent",this.getTreeParent.bind(this)),this.registerComponentFunction("row","getTreeChildren",this.getRowChildren.bind(this)),this.registerComponentFunction("row","addTreeChild",this.addTreeChildRow.bind(this)),this.registerComponentFunction("row","isTreeExpanded",this.isRowExpanded.bind(this))}initialize(){if(this.table.options.dataTree){var e=null,r=this.table.options;switch(this.field=r.dataTreeChildField,this.indent=r.dataTreeChildIndent,this.options("movableRows")&&console.warn("The movableRows option is not available with dataTree enabled, moving of child rows could result in unpredictable behavior"),r.dataTreeBranchElement?r.dataTreeBranchElement===!0?(this.branchEl=document.createElement("div"),this.branchEl.classList.add("tabulator-data-tree-branch")):typeof r.dataTreeBranchElement=="string"?(e=document.createElement("div"),e.innerHTML=r.dataTreeBranchElement,this.branchEl=e.firstChild):this.branchEl=r.dataTreeBranchElement:(this.branchEl=document.createElement("div"),this.branchEl.classList.add("tabulator-data-tree-branch-empty")),r.dataTreeCollapseElement?typeof r.dataTreeCollapseElement=="string"?(e=document.createElement("div"),e.innerHTML=r.dataTreeCollapseElement,this.collapseEl=e.firstChild):this.collapseEl=r.dataTreeCollapseElement:(this.collapseEl=document.createElement("div"),this.collapseEl.classList.add("tabulator-data-tree-control"),this.collapseEl.tabIndex=0,this.collapseEl.innerHTML="
"),r.dataTreeExpandElement?typeof r.dataTreeExpandElement=="string"?(e=document.createElement("div"),e.innerHTML=r.dataTreeExpandElement,this.expandEl=e.firstChild):this.expandEl=r.dataTreeExpandElement:(this.expandEl=document.createElement("div"),this.expandEl.classList.add("tabulator-data-tree-control"),this.expandEl.tabIndex=0,this.expandEl.innerHTML="
"),typeof r.dataTreeStartExpanded){case"boolean":this.startOpen=function(C,D){return r.dataTreeStartExpanded};break;case"function":this.startOpen=r.dataTreeStartExpanded;break;default:this.startOpen=function(C,D){return r.dataTreeStartExpanded[D]};break}this.subscribe("row-init",this.initializeRow.bind(this)),this.subscribe("row-layout-after",this.layoutRow.bind(this)),this.subscribe("row-deleted",this.rowDelete.bind(this),0),this.subscribe("row-data-changed",this.rowDataChanged.bind(this),10),this.subscribe("cell-value-updated",this.cellValueChanged.bind(this)),this.subscribe("edit-cancelled",this.cellValueChanged.bind(this)),this.subscribe("column-moving-rows",this.columnMoving.bind(this)),this.subscribe("table-built",this.initializeElementField.bind(this)),this.subscribe("table-redrawing",this.tableRedrawing.bind(this)),this.registerDisplayHandler(this.getRows.bind(this),30)}}tableRedrawing(e){var r;e&&(r=this.table.rowManager.getRows(),r.forEach(C=>{this.reinitializeRowChildren(C)}))}initializeElementField(){var e=this.table.columnManager.getFirstVisibleColumn();this.elementField=this.table.options.dataTreeElementColumn||(e?e.field:!1)}getRowChildren(e){return this.getTreeChildren(e,!0)}columnMoving(){var e=[];return this.table.rowManager.rows.forEach(r=>{e=e.concat(this.getTreeChildren(r,!1,!0))}),e}rowDataChanged(e,r,C){this.redrawNeeded(C)&&(this.initializeRow(e),r&&(this.layoutRow(e),this.refreshData(!0)))}cellValueChanged(e){var r=e.column.getField();r===this.elementField&&this.layoutRow(e.row)}initializeRow(e){var r=e.getData()[this.field],C=Array.isArray(r),D=C||!C&&typeof r=="object"&&r!==null;!D&&e.modules.dataTree&&e.modules.dataTree.branchEl&&e.modules.dataTree.branchEl.parentNode.removeChild(e.modules.dataTree.branchEl),!D&&e.modules.dataTree&&e.modules.dataTree.controlEl&&e.modules.dataTree.controlEl.parentNode.removeChild(e.modules.dataTree.controlEl),e.modules.dataTree={index:e.modules.dataTree?e.modules.dataTree.index:0,open:D?e.modules.dataTree?e.modules.dataTree.open:this.startOpen(e.getComponent(),0):!1,controlEl:e.modules.dataTree&&D?e.modules.dataTree.controlEl:!1,branchEl:e.modules.dataTree&&D?e.modules.dataTree.branchEl:!1,parent:e.modules.dataTree?e.modules.dataTree.parent:!1,children:D}}reinitializeRowChildren(e){var r=this.getTreeChildren(e,!1,!0);r.forEach(function(C){C.reinitialize(!0)})}layoutRow(e){var r=this.elementField?e.getCell(this.elementField):e.getCells()[0],C=r.getElement(),D=e.modules.dataTree;D.branchEl&&(D.branchEl.parentNode&&D.branchEl.parentNode.removeChild(D.branchEl),D.branchEl=!1),D.controlEl&&(D.controlEl.parentNode&&D.controlEl.parentNode.removeChild(D.controlEl),D.controlEl=!1),this.generateControlElement(e,C),e.getElement().classList.add("tabulator-tree-level-"+D.index),D.index&&(this.branchEl?(D.branchEl=this.branchEl.cloneNode(!0),C.insertBefore(D.branchEl,C.firstChild),this.table.rtl?D.branchEl.style.marginRight=(D.branchEl.offsetWidth+D.branchEl.style.marginLeft)*(D.index-1)+D.index*this.indent+"px":D.branchEl.style.marginLeft=(D.branchEl.offsetWidth+D.branchEl.style.marginRight)*(D.index-1)+D.index*this.indent+"px"):this.table.rtl?C.style.paddingRight=parseInt(window.getComputedStyle(C,null).getPropertyValue("padding-right"))+D.index*this.indent+"px":C.style.paddingLeft=parseInt(window.getComputedStyle(C,null).getPropertyValue("padding-left"))+D.index*this.indent+"px")}generateControlElement(e,r){var C=e.modules.dataTree,D=C.controlEl;r=r||e.getCells()[0].getElement(),C.children!==!1&&(C.open?(C.controlEl=this.collapseEl.cloneNode(!0),C.controlEl.addEventListener("click",T=>{T.stopPropagation(),this.collapseRow(e)})):(C.controlEl=this.expandEl.cloneNode(!0),C.controlEl.addEventListener("click",T=>{T.stopPropagation(),this.expandRow(e)})),C.controlEl.addEventListener("mousedown",T=>{T.stopPropagation()}),D&&D.parentNode===r?D.parentNode.replaceChild(C.controlEl,D):r.insertBefore(C.controlEl,r.firstChild))}getRows(e){var r=[];return e.forEach((C,D)=>{var T,p;r.push(C),C instanceof vl&&(C.create(),T=C.modules.dataTree,!T.index&&T.children!==!1&&(p=this.getChildren(C),p.forEach(t=>{t.create(),r.push(t)})))}),r}getChildren(e,r){var C=e.modules.dataTree,D=[],T=[];return C.children!==!1&&(C.open||r)&&(Array.isArray(C.children)||(C.children=this.generateChildren(e)),this.table.modExists("filter")&&this.table.options.dataTreeFilter?D=this.table.modules.filter.filter(C.children):D=C.children,this.table.modExists("sort")&&this.table.options.dataTreeSort&&this.table.modules.sort.sort(D),D.forEach(p=>{T.push(p);var t=this.getChildren(p);t.forEach(d=>{T.push(d)})})),T}generateChildren(e){var r=[],C=e.getData()[this.field];return Array.isArray(C)||(C=[C]),C.forEach(D=>{var T=new vl(D||{},this.table.rowManager);T.create(),T.modules.dataTree.index=e.modules.dataTree.index+1,T.modules.dataTree.parent=e,T.modules.dataTree.children&&(T.modules.dataTree.open=this.startOpen(T.getComponent(),T.modules.dataTree.index)),r.push(T)}),r}expandRow(e,r){var C=e.modules.dataTree;C.children!==!1&&(C.open=!0,e.reinitialize(),this.refreshData(!0),this.dispatchExternal("dataTreeRowExpanded",e.getComponent(),e.modules.dataTree.index))}collapseRow(e){var r=e.modules.dataTree;r.children!==!1&&(r.open=!1,e.reinitialize(),this.refreshData(!0),this.dispatchExternal("dataTreeRowCollapsed",e.getComponent(),e.modules.dataTree.index))}toggleRow(e){var r=e.modules.dataTree;r.children!==!1&&(r.open?this.collapseRow(e):this.expandRow(e))}isRowExpanded(e){return e.modules.dataTree.open}getTreeParent(e){return e.modules.dataTree.parent?e.modules.dataTree.parent.getComponent():!1}getTreeParentRoot(e){return e.modules.dataTree&&e.modules.dataTree.parent?this.getTreeParentRoot(e.modules.dataTree.parent):e}getFilteredTreeChildren(e){var r=e.modules.dataTree,C=[],D;return r.children&&(Array.isArray(r.children)||(r.children=this.generateChildren(e)),this.table.modExists("filter")&&this.table.options.dataTreeFilter?D=this.table.modules.filter.filter(r.children):D=r.children,D.forEach(T=>{T instanceof vl&&C.push(T)})),C}rowDelete(e){var r=e.modules.dataTree.parent,C;r&&(C=this.findChildIndex(e,r),C!==!1&&r.data[this.field].splice(C,1),r.data[this.field].length||delete r.data[this.field],this.initializeRow(r),this.layoutRow(r)),this.refreshData(!0)}addTreeChildRow(e,r,C,D){var T=!1;typeof r=="string"&&(r=JSON.parse(r)),Array.isArray(e.data[this.field])||(e.data[this.field]=[],e.modules.dataTree.open=this.startOpen(e.getComponent(),e.modules.dataTree.index)),typeof D<"u"&&(T=this.findChildIndex(D,e),T!==!1&&e.data[this.field].splice(C?T:T+1,0,r)),T===!1&&(C?e.data[this.field].unshift(r):e.data[this.field].push(r)),this.initializeRow(e),this.layoutRow(e),this.refreshData(!0)}findChildIndex(e,r){var C=!1;return typeof e=="object"?e instanceof vl?C=e.data:e instanceof Wy?C=e._getSelf().data:typeof HTMLElement<"u"&&e instanceof HTMLElement?r.modules.dataTree&&(C=r.modules.dataTree.children.find(D=>D instanceof vl?D.element===e:!1),C&&(C=C.data)):e===null&&(C=!1):typeof e>"u"?C=!1:C=r.data[this.field].find(D=>D.data[this.table.options.index]==e),C&&(Array.isArray(r.data[this.field])&&(C=r.data[this.field].indexOf(C)),C==-1&&(C=!1)),C}getTreeChildren(e,r,C){var D=e.modules.dataTree,T=[];return D&&D.children&&(Array.isArray(D.children)||(D.children=this.generateChildren(e)),D.children.forEach(p=>{p instanceof vl&&(T.push(r?p.getComponent():p),C&&(T=T.concat(this.getTreeChildren(p,r,C))))})),T}getChildField(){return this.field}redrawNeeded(e){return(this.field?typeof e[this.field]<"u":!1)||(this.elementField?typeof e[this.elementField]<"u":!1)}}OM.moduleName="dataTree";function yR(n,e={},r){var C=e.delimiter?e.delimiter:",",D=[],T=[];n.forEach(p=>{var t=[];switch(p.type){case"group":console.warn("Download Warning - CSV downloader cannot process row groups");break;case"calc":console.warn("Download Warning - CSV downloader cannot process column calculations");break;case"header":p.columns.forEach((d,g)=>{d&&d.depth===1&&(T[g]=typeof d.value>"u"||d.value===null?"":'"'+String(d.value).split('"').join('""')+'"')});break;case"row":p.columns.forEach(d=>{if(d){switch(typeof d.value){case"object":d.value=d.value!==null?JSON.stringify(d.value):"";break;case"undefined":d.value="";break}t.push('"'+String(d.value).split('"').join('""')+'"')}}),D.push(t.join(C));break}}),T.length&&D.unshift(T.join(C)),D=D.join(` -`),e.bom&&(D="\uFEFF"+D),r(D,"text/csv")}function bR(n,e,r){var C=[];n.forEach(D=>{var T={};switch(D.type){case"header":break;case"group":console.warn("Download Warning - JSON downloader cannot process row groups");break;case"calc":console.warn("Download Warning - JSON downloader cannot process column calculations");break;case"row":D.columns.forEach(p=>{p&&(T[p.component.getTitleDownload()||p.component.getField()]=p.value)}),C.push(T);break}}),C=JSON.stringify(C,null," "),r(C,"application/json")}function xR(n,e={},r){var C=[],D=[],T={},p=e.rowGroupStyles||{fontStyle:"bold",fontSize:12,cellPadding:6,fillColor:220},t=e.rowCalcStyles||{fontStyle:"bold",fontSize:10,cellPadding:4,fillColor:232},d=e.jsPDF||{},g=e.title?e.title:"";d.orientation||(d.orientation=e.orientation||"landscape"),d.unit||(d.unit="pt"),n.forEach(v=>{switch(v.type){case"header":C.push(i(v));break;case"group":D.push(i(v,p));break;case"calc":D.push(i(v,t));break;case"row":D.push(i(v));break}});function i(v,f){var l=[];return v.columns.forEach(a=>{var u;if(a){switch(typeof a.value){case"object":a.value=a.value!==null?JSON.stringify(a.value):"";break;case"undefined":a.value="";break}u={content:a.value,colSpan:a.width,rowSpan:a.height},f&&(u.styles=f),l.push(u)}}),l}var M=new jspdf.jsPDF(d);e.autoTable&&(typeof e.autoTable=="function"?T=e.autoTable(M)||{}:T=e.autoTable),g&&(T.didDrawPage=function(v){M.text(g,40,30)}),T.head=C,T.body=D,M.autoTable(T),e.documentProcessing&&e.documentProcessing(M),r(M.output("arraybuffer"),"application/pdf")}function _R(n,e,r){var C=this,D=e.sheetName||"Sheet1",T=XLSX.utils.book_new(),p=new kl(this),t="compress"in e?e.compress:!0,d=e.writeOptions||{bookType:"xlsx",bookSST:!0,compression:t},g;d.type="binary",T.SheetNames=[],T.Sheets={};function i(){var f=[],l=[],a={},u={s:{c:0,r:0},e:{c:n[0]?n[0].columns.reduce((o,s)=>o+(s&&s.width?s.width:1),0):0,r:n.length}};return n.forEach((o,s)=>{var c=[];o.columns.forEach(function(h,m){h?(c.push(!(h.value instanceof Date)&&typeof h.value=="object"?JSON.stringify(h.value):h.value),(h.width>1||h.height>-1)&&(h.height>1||h.width>1)&&l.push({s:{r:s,c:m},e:{r:s+h.height-1,c:m+h.width-1}})):c.push("")}),f.push(c)}),XLSX.utils.sheet_add_aoa(a,f),a["!ref"]=XLSX.utils.encode_range(u),l.length&&(a["!merges"]=l),a}if(e.sheetOnly){r(i());return}if(e.sheets)for(var M in e.sheets)e.sheets[M]===!0?(T.SheetNames.push(M),T.Sheets[M]=i()):(T.SheetNames.push(M),p.commsSend(e.sheets[M],"download","intercept",{type:"xlsx",options:{sheetOnly:!0},active:C.active,intercept:function(f){T.Sheets[M]=f}}));else T.SheetNames.push(D),T.Sheets[D]=i();e.documentProcessing&&(T=e.documentProcessing(T));function v(f){for(var l=new ArrayBuffer(f.length),a=new Uint8Array(l),u=0;u!=f.length;++u)a[u]=f.charCodeAt(u)&255;return l}g=XLSX.write(T,d),r(v(g),"application/octet-stream")}function wR(n,e,r){this.modExists("export",!0)&&r(this.modules.export.generateHTMLTable(n),"text/html")}function TR(n,e,r){const C=[];n.forEach(D=>{const T={};switch(D.type){case"header":break;case"group":console.warn("Download Warning - JSON downloader cannot process row groups");break;case"calc":console.warn("Download Warning - JSON downloader cannot process column calculations");break;case"row":D.columns.forEach(p=>{p&&(T[p.component.getTitleDownload()||p.component.getField()]=p.value)}),C.push(JSON.stringify(T));break}}),r(C.join(` -`),"application/x-ndjson")}var kR={csv:yR,json:bR,jsonLines:TR,pdf:xR,xlsx:_R,html:wR};class a0 extends qi{constructor(e){super(e),this.registerTableOption("downloadEncoder",function(r,C){return new Blob([r],{type:C})}),this.registerTableOption("downloadReady",void 0),this.registerTableOption("downloadConfig",{}),this.registerTableOption("downloadRowRange","active"),this.registerColumnOption("download"),this.registerColumnOption("titleDownload")}initialize(){this.deprecatedOptionsCheck(),this.registerTableFunction("download",this.download.bind(this)),this.registerTableFunction("downloadToTab",this.downloadToTab.bind(this))}deprecatedOptionsCheck(){this.deprecationCheck("downloadReady","downloadEncoder")}downloadToTab(e,r,C,D){this.download(e,r,C,D,!0)}download(e,r,C,D,T){var p=!1;function t(g,i){T?T===!0?this.triggerDownload(g,i,e,r,!0):T(g):this.triggerDownload(g,i,e,r)}if(typeof e=="function"?p=e:a0.downloaders[e]?p=a0.downloaders[e]:console.warn("Download Error - No such download type found: ",e),p){var d=this.generateExportList(D);p.call(this.table,d,C||{},t.bind(this))}}generateExportList(e){var r=this.table.modules.export.generateExportList(this.table.options.downloadConfig,!1,e||this.table.options.downloadRowRange,"download"),C=this.table.options.groupHeaderDownload;return C&&!Array.isArray(C)&&(C=[C]),r.forEach(D=>{var T;D.type==="group"&&(T=D.columns[0],C&&C[D.indent]&&(T.value=C[D.indent](T.value,D.component._group.getRowCount(),D.component._group.getData(),D.component)))}),r}triggerDownload(e,r,C,D,T){var p=document.createElement("a"),t=this.table.options.downloadEncoder(e,r);t&&(T?window.open(window.URL.createObjectURL(t)):(D=D||"Tabulator."+(typeof C=="function"?"txt":C),navigator.msSaveOrOpenBlob?navigator.msSaveOrOpenBlob(t,D):(p.setAttribute("href",window.URL.createObjectURL(t)),p.setAttribute("download",D),p.style.display="none",document.body.appendChild(p),p.click(),document.body.removeChild(p))),this.dispatchExternal("downloadComplete"))}commsReceived(e,r,C){switch(r){case"intercept":this.download(C.type,"",C.options,C.active,C.intercept);break}}}a0.moduleName="download";a0.downloaders=kR;function Yy(n,e){var r=e.mask,C=typeof e.maskLetterChar<"u"?e.maskLetterChar:"A",D=typeof e.maskNumberChar<"u"?e.maskNumberChar:"9",T=typeof e.maskWildcardChar<"u"?e.maskWildcardChar:"*";function p(t){var d=r[t];typeof d<"u"&&d!==T&&d!==C&&d!==D&&(n.value=n.value+""+d,p(t+1))}n.addEventListener("keydown",t=>{var d=n.value.length,g=t.key;if(t.keyCode>46&&!t.ctrlKey&&!t.metaKey){if(d>=r.length)return t.preventDefault(),t.stopPropagation(),!1;switch(r[d]){case C:if(g.toUpperCase()==g.toLowerCase())return t.preventDefault(),t.stopPropagation(),!1;break;case D:if(isNaN(g))return t.preventDefault(),t.stopPropagation(),!1;break;case T:break;default:if(g!==r[d])return t.preventDefault(),t.stopPropagation(),!1}}}),n.addEventListener("keyup",t=>{t.keyCode>46&&e.maskAutoFill&&p(n.value.length)}),n.placeholder||(n.placeholder=r),e.maskAutoFill&&p(n.value.length)}function MR(n,e,r,C,D){var T=n.getValue(),p=document.createElement("input");if(p.setAttribute("type",D.search?"search":"text"),p.style.padding="4px",p.style.width="100%",p.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let d in D.elementAttributes)d.charAt(0)=="+"?(d=d.slice(1),p.setAttribute(d,p.getAttribute(d)+D.elementAttributes["+"+d])):p.setAttribute(d,D.elementAttributes[d]);p.value=typeof T<"u"?T:"",e(function(){n.getType()==="cell"&&(p.focus({preventScroll:!0}),p.style.height="100%",D.selectContents&&p.select())});function t(d){(T===null||typeof T>"u")&&p.value!==""||p.value!==T?r(p.value)&&(T=p.value):C()}return p.addEventListener("change",t),p.addEventListener("blur",t),p.addEventListener("keydown",function(d){switch(d.keyCode){case 13:t();break;case 27:C();break;case 35:case 36:d.stopPropagation();break}}),D.mask&&Yy(p,D),p}function AR(n,e,r,C,D){var T=n.getValue(),p=D.verticalNavigation||"hybrid",t=String(T!==null&&typeof T<"u"?T:""),d=document.createElement("textarea"),g=0;if(d.style.display="block",d.style.padding="2px",d.style.height="100%",d.style.width="100%",d.style.boxSizing="border-box",d.style.whiteSpace="pre-wrap",d.style.resize="none",D.elementAttributes&&typeof D.elementAttributes=="object")for(let M in D.elementAttributes)M.charAt(0)=="+"?(M=M.slice(1),d.setAttribute(M,d.getAttribute(M)+D.elementAttributes["+"+M])):d.setAttribute(M,D.elementAttributes[M]);d.value=t,e(function(){n.getType()==="cell"&&(d.focus({preventScroll:!0}),d.style.height="100%",d.scrollHeight,d.style.height=d.scrollHeight+"px",n.getRow().normalizeHeight(),D.selectContents&&d.select())});function i(M){(T===null||typeof T>"u")&&d.value!==""||d.value!==T?(r(d.value)&&(T=d.value),setTimeout(function(){n.getRow().normalizeHeight()},300)):C()}return d.addEventListener("change",i),d.addEventListener("blur",i),d.addEventListener("keyup",function(){d.style.height="";var M=d.scrollHeight;d.style.height=M+"px",M!=g&&(g=M,n.getRow().normalizeHeight())}),d.addEventListener("keydown",function(M){switch(M.keyCode){case 13:M.shiftKey&&D.shiftEnterSubmit&&i();break;case 27:C();break;case 38:(p=="editor"||p=="hybrid"&&d.selectionStart)&&(M.stopImmediatePropagation(),M.stopPropagation());break;case 40:(p=="editor"||p=="hybrid"&&d.selectionStart!==d.value.length)&&(M.stopImmediatePropagation(),M.stopPropagation());break;case 35:case 36:M.stopPropagation();break}}),D.mask&&Yy(d,D),d}function SR(n,e,r,C,D){var T=n.getValue(),p=D.verticalNavigation||"editor",t=document.createElement("input");if(t.setAttribute("type","number"),typeof D.max<"u"&&t.setAttribute("max",D.max),typeof D.min<"u"&&t.setAttribute("min",D.min),typeof D.step<"u"&&t.setAttribute("step",D.step),t.style.padding="4px",t.style.width="100%",t.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let i in D.elementAttributes)i.charAt(0)=="+"?(i=i.slice(1),t.setAttribute(i,t.getAttribute(i)+D.elementAttributes["+"+i])):t.setAttribute(i,D.elementAttributes[i]);t.value=T;var d=function(i){g()};e(function(){n.getType()==="cell"&&(t.removeEventListener("blur",d),t.focus({preventScroll:!0}),t.style.height="100%",t.addEventListener("blur",d),D.selectContents&&t.select())});function g(){var i=t.value;!isNaN(i)&&i!==""&&(i=Number(i)),i!==T?r(i)&&(T=i):C()}return t.addEventListener("keydown",function(i){switch(i.keyCode){case 13:g();break;case 27:C();break;case 38:case 40:p=="editor"&&(i.stopImmediatePropagation(),i.stopPropagation());break;case 35:case 36:i.stopPropagation();break}}),D.mask&&Yy(t,D),t}function CR(n,e,r,C,D){var T=n.getValue(),p=document.createElement("input");if(p.setAttribute("type","range"),typeof D.max<"u"&&p.setAttribute("max",D.max),typeof D.min<"u"&&p.setAttribute("min",D.min),typeof D.step<"u"&&p.setAttribute("step",D.step),p.style.padding="4px",p.style.width="100%",p.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let d in D.elementAttributes)d.charAt(0)=="+"?(d=d.slice(1),p.setAttribute(d,p.getAttribute(d)+D.elementAttributes["+"+d])):p.setAttribute(d,D.elementAttributes[d]);p.value=T,e(function(){n.getType()==="cell"&&(p.focus({preventScroll:!0}),p.style.height="100%")});function t(){var d=p.value;!isNaN(d)&&d!==""&&(d=Number(d)),d!=T?r(d)&&(T=d):C()}return p.addEventListener("blur",function(d){t()}),p.addEventListener("keydown",function(d){switch(d.keyCode){case 13:t();break;case 27:C();break}}),p}function ER(n,e,r,C,D){var T=D.format,p=D.verticalNavigation||"editor",t=T?window.DateTime||luxon.DateTime:null,d=n.getValue(),g=document.createElement("input");function i(v){var f;return t.isDateTime(v)?f=v:T==="iso"?f=t.fromISO(String(v)):f=t.fromFormat(String(v),T),f.toFormat("yyyy-MM-dd")}if(g.type="date",g.style.padding="4px",g.style.width="100%",g.style.boxSizing="border-box",D.max&&g.setAttribute("max",T?i(D.max):D.max),D.min&&g.setAttribute("min",T?i(D.min):D.min),D.elementAttributes&&typeof D.elementAttributes=="object")for(let v in D.elementAttributes)v.charAt(0)=="+"?(v=v.slice(1),g.setAttribute(v,g.getAttribute(v)+D.elementAttributes["+"+v])):g.setAttribute(v,D.elementAttributes[v]);d=typeof d<"u"?d:"",T&&(t?d=i(d):console.error("Editor Error - 'date' editor 'format' param is dependant on luxon.js")),g.value=d,e(function(){n.getType()==="cell"&&(g.focus({preventScroll:!0}),g.style.height="100%",D.selectContents&&g.select())});function M(){var v=g.value,f;if((d===null||typeof d>"u")&&v!==""||v!==d){if(v&&T)switch(f=t.fromFormat(String(v),"yyyy-MM-dd"),T){case!0:v=f;break;case"iso":v=f.toISO();break;default:v=f.toFormat(T)}r(v)&&(d=g.value)}else C()}return g.addEventListener("blur",function(v){(v.relatedTarget||v.rangeParent||v.explicitOriginalTarget!==g)&&M()}),g.addEventListener("keydown",function(v){switch(v.keyCode){case 13:M();break;case 27:C();break;case 35:case 36:v.stopPropagation();break;case 38:case 40:p=="editor"&&(v.stopImmediatePropagation(),v.stopPropagation());break}}),g}function LR(n,e,r,C,D){var T=D.format,p=D.verticalNavigation||"editor",t=T?window.DateTime||luxon.DateTime:null,d,g=n.getValue(),i=document.createElement("input");if(i.type="time",i.style.padding="4px",i.style.width="100%",i.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let v in D.elementAttributes)v.charAt(0)=="+"?(v=v.slice(1),i.setAttribute(v,i.getAttribute(v)+D.elementAttributes["+"+v])):i.setAttribute(v,D.elementAttributes[v]);g=typeof g<"u"?g:"",T&&(t?(t.isDateTime(g)?d=g:T==="iso"?d=t.fromISO(String(g)):d=t.fromFormat(String(g),T),g=d.toFormat("HH:mm")):console.error("Editor Error - 'date' editor 'format' param is dependant on luxon.js")),console.log("val",g),i.value=g,e(function(){n.getType()=="cell"&&(i.focus({preventScroll:!0}),i.style.height="100%",D.selectContents&&i.select())});function M(){var v=i.value,f;if((g===null||typeof g>"u")&&v!==""||v!==g){if(v&&T)switch(f=t.fromFormat(String(v),"hh:mm"),T){case!0:v=f;break;case"iso":v=f.toISO();break;default:v=f.toFormat(T)}r(v)&&(g=i.value)}else C()}return i.addEventListener("blur",function(v){(v.relatedTarget||v.rangeParent||v.explicitOriginalTarget!==i)&&M()}),i.addEventListener("keydown",function(v){switch(v.keyCode){case 13:M();break;case 27:C();break;case 35:case 36:v.stopPropagation();break;case 38:case 40:p=="editor"&&(v.stopImmediatePropagation(),v.stopPropagation());break}}),i}function IR(n,e,r,C,D){var T=D.format,p=D.verticalNavigation||"editor",t=T?window.DateTime||luxon.DateTime:null,d,g=n.getValue(),i=document.createElement("input");if(i.type="datetime-local",i.style.padding="4px",i.style.width="100%",i.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let v in D.elementAttributes)v.charAt(0)=="+"?(v=v.slice(1),i.setAttribute(v,i.getAttribute(v)+D.elementAttributes["+"+v])):i.setAttribute(v,D.elementAttributes[v]);g=typeof g<"u"?g:"",T&&(t?(t.isDateTime(g)?d=g:T==="iso"?d=t.fromISO(String(g)):d=t.fromFormat(String(g),T),g=d.toFormat("yyyy-MM-dd")+"T"+d.toFormat("HH:mm")):console.error("Editor Error - 'date' editor 'format' param is dependant on luxon.js")),i.value=g,e(function(){n.getType()==="cell"&&(i.focus({preventScroll:!0}),i.style.height="100%",D.selectContents&&i.select())});function M(){var v=i.value,f;if((g===null||typeof g>"u")&&v!==""||v!==g){if(v&&T)switch(f=t.fromISO(String(v)),T){case!0:v=f;break;case"iso":v=f.toISO();break;default:v=f.toFormat(T)}r(v)&&(g=i.value)}else C()}return i.addEventListener("blur",function(v){(v.relatedTarget||v.rangeParent||v.explicitOriginalTarget!==i)&&M()}),i.addEventListener("keydown",function(v){switch(v.keyCode){case 13:M();break;case 27:C();break;case 35:case 36:v.stopPropagation();break;case 38:case 40:p=="editor"&&(v.stopImmediatePropagation(),v.stopPropagation());break}}),i}class G2{constructor(e,r,C,D,T,p){this.edit=e,this.table=e.table,this.cell=r,this.params=this._initializeParams(p),this.data=[],this.displayItems=[],this.currentItems=[],this.focusedItem=null,this.input=this._createInputElement(),this.listEl=this._createListElement(),this.initialValues=null,this.isFilter=r.getType()==="header",this.filterTimeout=null,this.filtered=!1,this.typing=!1,this.values=[],this.popup=null,this.listIteration=0,this.lastAction="",this.filterTerm="",this.blurable=!0,this.actions={success:D,cancel:T},this._deprecatedOptionsCheck(),this._initializeValue(),C(this._onRendered.bind(this))}_deprecatedOptionsCheck(){this.params.listItemFormatter&&this.cell.getTable().deprecationAdvisor.msg("The listItemFormatter editor param has been deprecated, please see the latest editor documentation for updated options"),this.params.sortValuesList&&this.cell.getTable().deprecationAdvisor.msg("The sortValuesList editor param has been deprecated, please see the latest editor documentation for updated options"),this.params.searchFunc&&this.cell.getTable().deprecationAdvisor.msg("The searchFunc editor param has been deprecated, please see the latest editor documentation for updated options"),this.params.searchingPlaceholder&&this.cell.getTable().deprecationAdvisor.msg("The searchingPlaceholder editor param has been deprecated, please see the latest editor documentation for updated options")}_initializeValue(){var e=this.cell.getValue();typeof e>"u"&&typeof this.params.defaultValue<"u"&&(e=this.params.defaultValue),this.initialValues=this.params.multiselect?e:[e],this.isFilter&&(this.input.value=this.initialValues?this.initialValues.join(","):"",this.headerFilterInitialListGen())}_onRendered(){var e=this.cell.getElement();function r(C){C.stopPropagation()}this.isFilter||(this.input.style.height="100%",this.input.focus({preventScroll:!0})),e.addEventListener("click",r),setTimeout(()=>{e.removeEventListener("click",r)},1e3),this.input.addEventListener("mousedown",this._preventPopupBlur.bind(this))}_createListElement(){var e=document.createElement("div");return e.classList.add("tabulator-edit-list"),e.addEventListener("mousedown",this._preventBlur.bind(this)),e.addEventListener("keydown",this._inputKeyDown.bind(this)),e}_setListWidth(){var e=this.isFilter?this.input:this.cell.getElement();this.listEl.style.minWidth=e.offsetWidth+"px",this.params.maxWidth&&(this.params.maxWidth===!0?this.listEl.style.maxWidth=e.offsetWidth+"px":typeof this.params.maxWidth=="number"?this.listEl.style.maxWidth=this.params.maxWidth+"px":this.listEl.style.maxWidth=this.params.maxWidth)}_createInputElement(){var e=this.params.elementAttributes,r=document.createElement("input");if(r.setAttribute("type",this.params.clearable?"search":"text"),r.style.padding="4px",r.style.width="100%",r.style.boxSizing="border-box",this.params.autocomplete||(r.style.cursor="default",r.style.caretColor="transparent"),e&&typeof e=="object")for(let C in e)C.charAt(0)=="+"?(C=C.slice(1),r.setAttribute(C,r.getAttribute(C)+e["+"+C])):r.setAttribute(C,e[C]);return this.params.mask&&Yy(r,this.params),this._bindInputEvents(r),r}_initializeParams(e){var r=["values","valuesURL","valuesLookup"],C;return e=Object.assign({},e),e.verticalNavigation=e.verticalNavigation||"editor",e.placeholderLoading=typeof e.placeholderLoading>"u"?"Searching ...":e.placeholderLoading,e.placeholderEmpty=typeof e.placeholderEmpty>"u"?"No Results Found":e.placeholderEmpty,e.filterDelay=typeof e.filterDelay>"u"?300:e.filterDelay,e.emptyValue=Object.keys(e).includes("emptyValue")?e.emptyValue:"",C=Object.keys(e).filter(D=>r.includes(D)).length,C?C>1&&console.warn("list editor config error - only one of the values, valuesURL, or valuesLookup options can be set on the same editor"):console.warn("list editor config error - either the values, valuesURL, or valuesLookup option must be set"),e.autocomplete?e.multiselect&&(e.multiselect=!1,console.warn("list editor config error - multiselect option is not available when autocomplete is enabled")):(e.freetext&&(e.freetext=!1,console.warn("list editor config error - freetext option is only available when autocomplete is enabled")),e.filterFunc&&(e.filterFunc=!1,console.warn("list editor config error - filterFunc option is only available when autocomplete is enabled")),e.filterRemote&&(e.filterRemote=!1,console.warn("list editor config error - filterRemote option is only available when autocomplete is enabled")),e.mask&&(e.mask=!1,console.warn("list editor config error - mask option is only available when autocomplete is enabled")),e.allowEmpty&&(e.allowEmpty=!1,console.warn("list editor config error - allowEmpty option is only available when autocomplete is enabled")),e.listOnEmpty&&(e.listOnEmpty=!1,console.warn("list editor config error - listOnEmpty option is only available when autocomplete is enabled"))),e.filterRemote&&!(typeof e.valuesLookup=="function"||e.valuesURL)&&(e.filterRemote=!1,console.warn("list editor config error - filterRemote option should only be used when values list is populated from a remote source")),e}_bindInputEvents(e){e.addEventListener("focus",this._inputFocus.bind(this)),e.addEventListener("click",this._inputClick.bind(this)),e.addEventListener("blur",this._inputBlur.bind(this)),e.addEventListener("keydown",this._inputKeyDown.bind(this)),e.addEventListener("search",this._inputSearch.bind(this)),this.params.autocomplete&&e.addEventListener("keyup",this._inputKeyUp.bind(this))}_inputFocus(e){this.rebuildOptionsList()}_filter(){this.params.filterRemote?(clearTimeout(this.filterTimeout),this.filterTimeout=setTimeout(()=>{this.rebuildOptionsList()},this.params.filterDelay)):this._filterList()}_inputClick(e){e.stopPropagation()}_inputBlur(e){this.blurable&&(this.popup?this.popup.hide():this._resolveValue(!0))}_inputSearch(){this._clearChoices()}_inputKeyDown(e){switch(e.keyCode){case 38:this._keyUp(e);break;case 40:this._keyDown(e);break;case 37:case 39:this._keySide(e);break;case 13:this._keyEnter();break;case 27:this._keyEsc();break;case 36:case 35:this._keyHomeEnd(e);break;case 9:this._keyTab(e);break;default:this._keySelectLetter(e)}}_inputKeyUp(e){switch(e.keyCode){case 38:case 37:case 39:case 40:case 13:case 27:break;default:this._keyAutoCompLetter(e)}}_preventPopupBlur(){this.popup&&this.popup.blockHide(),setTimeout(()=>{this.popup&&this.popup.restoreHide()},10)}_preventBlur(){this.blurable=!1,setTimeout(()=>{this.blurable=!0},10)}_keyTab(e){this.params.autocomplete&&this.lastAction==="typing"?this._resolveValue(!0):this.focusedItem&&this._chooseItem(this.focusedItem,!0)}_keyUp(e){var r=this.displayItems.indexOf(this.focusedItem);(this.params.verticalNavigation=="editor"||this.params.verticalNavigation=="hybrid"&&r)&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault(),r>0&&this._focusItem(this.displayItems[r-1]))}_keyDown(e){var r=this.displayItems.indexOf(this.focusedItem);(this.params.verticalNavigation=="editor"||this.params.verticalNavigation=="hybrid"&&r=38&&e.keyCode<=90&&this._scrollToValue(e.keyCode))}_keyAutoCompLetter(e){this._filter(),this.lastAction="typing",this.typing=!0}_scrollToValue(e){clearTimeout(this.filterTimeout);var r=String.fromCharCode(e).toLowerCase();this.filterTerm+=r.toLowerCase();var C=this.displayItems.find(D=>typeof D.label<"u"&&D.label.toLowerCase().startsWith(this.filterTerm));C&&this._focusItem(C),this.filterTimeout=setTimeout(()=>{this.filterTerm=""},800)}_focusItem(e){this.lastAction="focus",this.focusedItem&&this.focusedItem.element&&this.focusedItem.element.classList.remove("focused"),this.focusedItem=e,e&&e.element&&(e.element.classList.add("focused"),e.element.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"}))}headerFilterInitialListGen(){this._generateOptions(!0)}rebuildOptionsList(){this._generateOptions().then(this._sortOptions.bind(this)).then(this._buildList.bind(this)).then(this._showList.bind(this)).catch(e=>{Number.isInteger(e)||console.error("List generation error",e)})}_filterList(){this._buildList(this._filterOptions()),this._showList()}_generateOptions(e){var r=[],C=++this.listIteration;return this.filtered=!1,this.params.values?r=this.params.values:this.params.valuesURL?r=this._ajaxRequest(this.params.valuesURL,this.input.value):typeof this.params.valuesLookup=="function"?r=this.params.valuesLookup(this.cell,this.input.value):this.params.valuesLookup&&(r=this._uniqueColumnValues(this.params.valuesLookupField)),r instanceof Promise?(e||this._addPlaceholder(this.params.placeholderLoading),r.then().then(D=>this.listIteration===C?this._parseList(D):Promise.reject(C))):Promise.resolve(this._parseList(r))}_addPlaceholder(e){var r=document.createElement("div");typeof e=="function"&&(e=e(this.cell.getComponent(),this.listEl)),e&&(this._clearList(),e instanceof HTMLElement?r=e:(r.classList.add("tabulator-edit-list-placeholder"),r.innerHTML=e),this.listEl.appendChild(r),this._showList())}_ajaxRequest(e,r){var C=this.params.filterRemote?{term:r}:{};return e=LM(e,{},C),fetch(e).then(D=>D.ok?D.json().catch(T=>(console.warn("List Ajax Load Error - Invalid JSON returned",T),Promise.reject(T))):(console.error("List Ajax Load Error - Connection Error: "+D.status,D.statusText),Promise.reject(D))).catch(D=>(console.error("List Ajax Load Error - Connection Error: ",D),Promise.reject(D)))}_uniqueColumnValues(e){var r={},C=this.table.getData(this.params.valuesLookup),D;return e?D=this.table.columnManager.getColumnByField(e):D=this.cell.getColumn()._getSelf(),D?C.forEach(T=>{var p=D.getFieldValue(T);p!==null&&typeof p<"u"&&p!==""&&(r[p]=!0)}):(console.warn("unable to find matching column to create select lookup list:",e),r=[]),Object.keys(r)}_parseList(e){var r=[];return Array.isArray(e)||(e=Object.entries(e).map(([C,D])=>({label:D,value:C}))),e.forEach(C=>{typeof C!="object"&&(C={label:C,value:C}),this._parseListItem(C,r,0)}),!this.currentItems.length&&this.params.freetext&&(this.input.value=this.initialValues,this.typing=!0,this.lastAction="typing"),this.data=r,r}_parseListItem(e,r,C){var D={};e.options?D=this._parseListGroup(e,C+1):(D={label:e.label,value:e.value,itemParams:e.itemParams,elementAttributes:e.elementAttributes,element:!1,selected:!1,visible:!0,level:C,original:e},this.initialValues&&this.initialValues.indexOf(e.value)>-1&&this._chooseItem(D,!0)),r.push(D)}_parseListGroup(e,r){var C={label:e.label,group:!0,itemParams:e.itemParams,elementAttributes:e.elementAttributes,element:!1,visible:!0,level:r,options:[],original:e};return e.options.forEach(D=>{this._parseListItem(D,C.options,r)}),C}_sortOptions(e){var r;return this.params.sort&&(r=typeof this.params.sort=="function"?this.params.sort:this._defaultSortFunction.bind(this),this._sortGroup(r,e)),e}_sortGroup(e,r){r.sort((C,D)=>e(C.label,D.label,C.value,D.value,C.original,D.original)),r.forEach(C=>{C.group&&this._sortGroup(e,C.options)})}_defaultSortFunction(e,r){var C,D,T,p,t=0,d,g=/(\d+)|(\D+)/g,i=/\d/,M=0;if(this.params.sort==="desc"&&([e,r]=[r,e]),!e&&e!==0)M=!r&&r!==0?0:-1;else if(!r&&r!==0)M=1;else{if(isFinite(e)&&isFinite(r))return e-r;if(C=String(e).toLowerCase(),D=String(r).toLowerCase(),C===D)return 0;if(!(i.test(C)&&i.test(D)))return C>D?1:-1;for(C=C.match(g),D=D.match(g),d=C.length>D.length?D.length:C.length;tp?1:-1;return C.length>D.length}return M}_filterOptions(){var e=this.params.filterFunc||this._defaultFilterFunc,r=this.input.value;return r?(this.filtered=!0,this.data.forEach(C=>{this._filterItem(e,r,C)})):this.filtered=!1,this.data}_filterItem(e,r,C){var D=!1;return C.group?(C.options.forEach(T=>{this._filterItem(e,r,T)&&(D=!0)}),C.visible=D):C.visible=e(r,C.label,C.value,C.original),C.visible}_defaultFilterFunc(e,r,C,D){return e=String(e).toLowerCase(),r!==null&&typeof r<"u"&&(String(r).toLowerCase().indexOf(e)>-1||String(C).toLowerCase().indexOf(e)>-1)}_clearList(){for(;this.listEl.firstChild;)this.listEl.removeChild(this.listEl.firstChild);this.displayItems=[]}_buildList(e){this._clearList(),e.forEach(r=>{this._buildItem(r)}),this.displayItems.length||this._addPlaceholder(this.params.placeholderEmpty)}_buildItem(e){var r=e.element,C;if(!this.filtered||e.visible){if(!r){if(r=document.createElement("div"),r.tabIndex=0,C=this.params.itemFormatter?this.params.itemFormatter(e.label,e.value,e.original,r):e.label,C instanceof HTMLElement?r.appendChild(C):r.innerHTML=C,e.group?r.classList.add("tabulator-edit-list-group"):r.classList.add("tabulator-edit-list-item"),r.classList.add("tabulator-edit-list-group-level-"+e.level),e.elementAttributes&&typeof e.elementAttributes=="object")for(let D in e.elementAttributes)D.charAt(0)=="+"?(D=D.slice(1),r.setAttribute(D,this.input.getAttribute(D)+e.elementAttributes["+"+D])):r.setAttribute(D,e.elementAttributes[D]);e.group?r.addEventListener("click",this._groupClick.bind(this,e)):r.addEventListener("click",this._itemClick.bind(this,e)),r.addEventListener("mousedown",this._preventBlur.bind(this)),e.element=r}this._styleItem(e),this.listEl.appendChild(r),e.group?e.options.forEach(D=>{this._buildItem(D)}):this.displayItems.push(e)}}_showList(){var e=this.popup&&this.popup.isVisible();if(this.input.parentNode){if(this.params.autocomplete&&this.input.value===""&&!this.params.listOnEmpty){this.popup&&this.popup.hide(!0);return}this._setListWidth(),this.popup||(this.popup=this.edit.popup(this.listEl)),this.popup.show(this.cell.getElement(),"bottom"),e||setTimeout(()=>{this.popup.hideOnBlur(this._resolveValue.bind(this,!0))},10)}}_styleItem(e){e&&e.element&&(e.selected?e.element.classList.add("active"):e.element.classList.remove("active"))}_itemClick(e,r){r.stopPropagation(),this._chooseItem(e)}_groupClick(e,r){r.stopPropagation()}_cancel(){this.popup.hide(!0),this.actions.cancel()}_clearChoices(){this.typing=!0,this.currentItems.forEach(e=>{e.selected=!1,this._styleItem(e)}),this.currentItems=[],this.focusedItem=null}_chooseItem(e,r){var C;this.typing=!1,this.params.multiselect?(C=this.currentItems.indexOf(e),C>-1?(this.currentItems.splice(C,1),e.selected=!1):(this.currentItems.push(e),e.selected=!0),this.input.value=this.currentItems.map(D=>D.label).join(","),this._styleItem(e)):(this.currentItems=[e],e.selected=!0,this.input.value=e.label,this._styleItem(e),r||this._resolveValue()),this._focusItem(e)}_resolveValue(e){var r,C;if(this.popup&&this.popup.hide(!0),this.params.multiselect)r=this.currentItems.map(D=>D.value);else if(e&&this.params.autocomplete&&this.typing)if(this.params.freetext||this.params.allowEmpty&&this.input.value==="")r=this.input.value;else{this.actions.cancel();return}else this.currentItems[0]?r=this.currentItems[0].value:(C=Array.isArray(this.initialValues)?this.initialValues[0]:this.initialValues,C===null||typeof C>"u"||C===""?r=C:r=this.params.emptyValue);r===""&&(r=this.params.emptyValue),this.actions.success(r),this.isFilter&&(this.initialValues=r&&!Array.isArray(r)?[r]:r,this.currentItems=[])}}function RR(n,e,r,C,D){this.deprecationMsg("The select editor has been deprecated, please use the new list editor");var T=new G2(this,n,e,r,C,D);return T.input}function PR(n,e,r,C,D){var T=new G2(this,n,e,r,C,D);return T.input}function OR(n,e,r,C,D){this.deprecationMsg("The autocomplete editor has been deprecated, please use the new list editor with the 'autocomplete' editorParam"),D.autocomplete=!0;var T=new G2(this,n,e,r,C,D);return T.input}function DR(n,e,r,C,D){var T=this,p=n.getElement(),t=n.getValue(),d=p.getElementsByTagName("svg").length||5,g=p.getElementsByTagName("svg")[0]?p.getElementsByTagName("svg")[0].getAttribute("width"):14,i=[],M=document.createElement("div"),v=document.createElementNS("http://www.w3.org/2000/svg","svg");function f(o){i.forEach(function(s,c){c'):(T.table.browser=="ie"?s.setAttribute("class","tabulator-star-inactive"):s.classList.replace("tabulator-star-active","tabulator-star-inactive"),s.innerHTML='')})}function l(o){var s=document.createElement("span"),c=v.cloneNode(!0);i.push(c),s.addEventListener("mouseenter",function(h){h.stopPropagation(),h.stopImmediatePropagation(),f(o)}),s.addEventListener("mousemove",function(h){h.stopPropagation(),h.stopImmediatePropagation()}),s.addEventListener("click",function(h){h.stopPropagation(),h.stopImmediatePropagation(),r(o),p.blur()}),s.appendChild(c),M.appendChild(s)}function a(o){t=o,f(o)}if(p.style.whiteSpace="nowrap",p.style.overflow="hidden",p.style.textOverflow="ellipsis",M.style.verticalAlign="middle",M.style.display="inline-block",M.style.padding="4px",v.setAttribute("width",g),v.setAttribute("height",g),v.setAttribute("viewBox","0 0 512 512"),v.setAttribute("xml:space","preserve"),v.style.padding="0 1px",D.elementAttributes&&typeof D.elementAttributes=="object")for(let o in D.elementAttributes)o.charAt(0)=="+"?(o=o.slice(1),M.setAttribute(o,M.getAttribute(o)+D.elementAttributes["+"+o])):M.setAttribute(o,D.elementAttributes[o]);for(var u=1;u<=d;u++)l(u);return t=Math.min(parseInt(t),d),f(t),M.addEventListener("mousemove",function(o){f(0)}),M.addEventListener("click",function(o){r(0)}),p.addEventListener("blur",function(o){C()}),p.addEventListener("keydown",function(o){switch(o.keyCode){case 39:a(t+1);break;case 37:a(t-1);break;case 13:r(t);break;case 27:C();break}}),M}function zR(n,e,r,C,D){var T=n.getElement(),p=typeof D.max>"u"?T.getElementsByTagName("div")[0]&&T.getElementsByTagName("div")[0].getAttribute("max")||100:D.max,t=typeof D.min>"u"?T.getElementsByTagName("div")[0]&&T.getElementsByTagName("div")[0].getAttribute("min")||0:D.min,d=(p-t)/100,g=n.getValue()||0,i=document.createElement("div"),M=document.createElement("div"),v,f;function l(){var a=window.getComputedStyle(T,null),u=d*Math.round(M.offsetWidth/((T.clientWidth-parseInt(a.getPropertyValue("padding-left"))-parseInt(a.getPropertyValue("padding-right")))/100))+t;r(u),T.setAttribute("aria-valuenow",u),T.setAttribute("aria-label",g)}if(i.style.position="absolute",i.style.right="0",i.style.top="0",i.style.bottom="0",i.style.width="5px",i.classList.add("tabulator-progress-handle"),M.style.display="inline-block",M.style.position="relative",M.style.height="100%",M.style.backgroundColor="#488CE9",M.style.maxWidth="100%",M.style.minWidth="0%",D.elementAttributes&&typeof D.elementAttributes=="object")for(let a in D.elementAttributes)a.charAt(0)=="+"?(a=a.slice(1),M.setAttribute(a,M.getAttribute(a)+D.elementAttributes["+"+a])):M.setAttribute(a,D.elementAttributes[a]);return T.style.padding="4px 4px",g=Math.min(parseFloat(g),p),g=Math.max(parseFloat(g),t),g=Math.round((g-t)/d),M.style.width=g+"%",T.setAttribute("aria-valuemin",t),T.setAttribute("aria-valuemax",p),M.appendChild(i),i.addEventListener("mousedown",function(a){v=a.screenX,f=M.offsetWidth}),i.addEventListener("mouseover",function(){i.style.cursor="ew-resize"}),T.addEventListener("mousemove",function(a){v&&(M.style.width=f+a.screenX-v+"px")}),T.addEventListener("mouseup",function(a){v&&(a.stopPropagation(),a.stopImmediatePropagation(),v=!1,f=!1,l())}),T.addEventListener("keydown",function(a){switch(a.keyCode){case 39:a.preventDefault(),M.style.width=M.clientWidth+T.clientWidth/100+"px";break;case 37:a.preventDefault(),M.style.width=M.clientWidth-T.clientWidth/100+"px";break;case 9:case 13:l();break;case 27:C();break}}),T.addEventListener("blur",function(){C()}),M}function FR(n,e,r,C,D){var T=n.getValue(),p=document.createElement("input"),t=D.tristate,d=typeof D.indeterminateValue>"u"?null:D.indeterminateValue,g=!1,i=Object.keys(D).includes("trueValue"),M=Object.keys(D).includes("falseValue");if(p.setAttribute("type","checkbox"),p.style.marginTop="5px",p.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let f in D.elementAttributes)f.charAt(0)=="+"?(f=f.slice(1),p.setAttribute(f,p.getAttribute(f)+D.elementAttributes["+"+f])):p.setAttribute(f,D.elementAttributes[f]);p.value=T,t&&(typeof T>"u"||T===d||T==="")&&(g=!0,p.indeterminate=!0),this.table.browser!="firefox"&&this.table.browser!="safari"&&e(function(){n.getType()==="cell"&&p.focus({preventScroll:!0})}),p.checked=i?T===D.trueValue:T===!0||T==="true"||T==="True"||T===1;function v(f){var l=p.checked;return i&&l?l=D.trueValue:M&&!l&&(l=D.falseValue),t?f?g?d:l:p.checked&&!g?(p.checked=!1,p.indeterminate=!0,g=!0,d):(g=!1,l):l}return p.addEventListener("change",function(f){r(v())}),p.addEventListener("blur",function(f){r(v(!0))}),p.addEventListener("keydown",function(f){f.keyCode==13&&r(v()),f.keyCode==27&&C()}),p}var BR={input:MR,textarea:AR,number:SR,range:CR,date:ER,time:LR,datetime:IR,select:RR,list:PR,autocomplete:OR,star:DR,progress:zR,tickCross:FR};class tg extends qi{constructor(e){super(e),this.currentCell=!1,this.mouseClick=!1,this.recursionBlock=!1,this.invalidEdit=!1,this.editedCells=[],this.editors=tg.editors,this.registerColumnOption("editable"),this.registerColumnOption("editor"),this.registerColumnOption("editorParams"),this.registerColumnOption("cellEditing"),this.registerColumnOption("cellEdited"),this.registerColumnOption("cellEditCancelled"),this.registerTableOption("editTriggerEvent","focus"),this.registerTableFunction("getEditedCells",this.getEditedCells.bind(this)),this.registerTableFunction("clearCellEdited",this.clearCellEdited.bind(this)),this.registerTableFunction("navigatePrev",this.navigatePrev.bind(this)),this.registerTableFunction("navigateNext",this.navigateNext.bind(this)),this.registerTableFunction("navigateLeft",this.navigateLeft.bind(this)),this.registerTableFunction("navigateRight",this.navigateRight.bind(this)),this.registerTableFunction("navigateUp",this.navigateUp.bind(this)),this.registerTableFunction("navigateDown",this.navigateDown.bind(this)),this.registerComponentFunction("cell","isEdited",this.cellIsEdited.bind(this)),this.registerComponentFunction("cell","clearEdited",this.clearEdited.bind(this)),this.registerComponentFunction("cell","edit",this.editCell.bind(this)),this.registerComponentFunction("cell","cancelEdit",this.cellCancelEdit.bind(this)),this.registerComponentFunction("cell","navigatePrev",this.navigatePrev.bind(this)),this.registerComponentFunction("cell","navigateNext",this.navigateNext.bind(this)),this.registerComponentFunction("cell","navigateLeft",this.navigateLeft.bind(this)),this.registerComponentFunction("cell","navigateRight",this.navigateRight.bind(this)),this.registerComponentFunction("cell","navigateUp",this.navigateUp.bind(this)),this.registerComponentFunction("cell","navigateDown",this.navigateDown.bind(this))}initialize(){this.subscribe("cell-init",this.bindEditor.bind(this)),this.subscribe("cell-delete",this.clearEdited.bind(this)),this.subscribe("cell-value-changed",this.updateCellClass.bind(this)),this.subscribe("column-layout",this.initializeColumnCheck.bind(this)),this.subscribe("column-delete",this.columnDeleteCheck.bind(this)),this.subscribe("row-deleting",this.rowDeleteCheck.bind(this)),this.subscribe("row-layout",this.rowEditableCheck.bind(this)),this.subscribe("data-refreshing",this.cancelEdit.bind(this)),this.subscribe("clipboard-paste",this.pasteBlocker.bind(this)),this.subscribe("keybinding-nav-prev",this.navigatePrev.bind(this,void 0)),this.subscribe("keybinding-nav-next",this.keybindingNavigateNext.bind(this)),this.subscribe("keybinding-nav-up",this.navigateUp.bind(this,void 0)),this.subscribe("keybinding-nav-down",this.navigateDown.bind(this,void 0))}pasteBlocker(e){if(this.currentCell)return!0}keybindingNavigateNext(e){var r=this.currentCell,C=this.options("tabEndNewRow");r&&(this.navigateNext(r,e)||C&&(r.getElement().firstChild.blur(),this.invalidEdit||(C===!0?C=this.table.addRow({}):typeof C=="function"?C=this.table.addRow(C(r.row.getComponent())):C=this.table.addRow(Object.assign({},C)),C.then(()=>{setTimeout(()=>{r.getComponent().navigateNext()})}))))}cellIsEdited(e){return!!e.modules.edit&&e.modules.edit.edited}cellCancelEdit(e){e===this.currentCell?this.table.modules.edit.cancelEdit():console.warn("Cancel Editor Error - This cell is not currently being edited ")}updateCellClass(e){this.allowEdit(e)?e.getElement().classList.add("tabulator-editable"):e.getElement().classList.remove("tabulator-editable")}clearCellEdited(e){e||(e=this.table.modules.edit.getEditedCells()),Array.isArray(e)||(e=[e]),e.forEach(r=>{this.table.modules.edit.clearEdited(r._getSelf())})}navigatePrev(e=this.currentCell,r){var C,D;if(e){if(r&&r.preventDefault(),C=this.navigateLeft(),C)return!0;if(D=this.table.rowManager.prevDisplayRow(e.row,!0),D&&(C=this.findPrevEditableCell(D,D.cells.length),C))return C.getComponent().edit(),!0}return!1}navigateNext(e=this.currentCell,r){var C,D;if(e){if(r&&r.preventDefault(),C=this.navigateRight(),C)return!0;if(D=this.table.rowManager.nextDisplayRow(e.row,!0),D&&(C=this.findNextEditableCell(D,-1),C))return C.getComponent().edit(),!0}return!1}navigateLeft(e=this.currentCell,r){var C,D;return e&&(r&&r.preventDefault(),C=e.getIndex(),D=this.findPrevEditableCell(e.row,C),D)?(D.getComponent().edit(),!0):!1}navigateRight(e=this.currentCell,r){var C,D;return e&&(r&&r.preventDefault(),C=e.getIndex(),D=this.findNextEditableCell(e.row,C),D)?(D.getComponent().edit(),!0):!1}navigateUp(e=this.currentCell,r){var C,D;return e&&(r&&r.preventDefault(),C=e.getIndex(),D=this.table.rowManager.prevDisplayRow(e.row,!0),D)?(D.cells[C].getComponent().edit(),!0):!1}navigateDown(e=this.currentCell,r){var C,D;return e&&(r&&r.preventDefault(),C=e.getIndex(),D=this.table.rowManager.nextDisplayRow(e.row,!0),D)?(D.cells[C].getComponent().edit(),!0):!1}findNextEditableCell(e,r){var C=!1;if(r0)for(var D=r-1;D>=0;D--){let T=e.cells[D];if(T.column.modules.edit&&oo.elVisible(T.getElement())&&this.allowEdit(T)){C=T;break}}return C}initializeColumnCheck(e){typeof e.definition.editor<"u"&&this.initializeColumn(e)}columnDeleteCheck(e){this.currentCell&&this.currentCell.column===e&&this.cancelEdit()}rowDeleteCheck(e){this.currentCell&&this.currentCell.row===e&&this.cancelEdit()}rowEditableCheck(e){e.getCells().forEach(r=>{r.column.modules.edit&&typeof r.column.modules.edit.check=="function"&&this.updateCellClass(r)})}initializeColumn(e){var r={editor:!1,blocked:!1,check:e.definition.editable,params:e.definition.editorParams||{}};switch(typeof e.definition.editor){case"string":this.editors[e.definition.editor]?r.editor=this.editors[e.definition.editor]:console.warn("Editor Error - No such editor found: ",e.definition.editor);break;case"function":r.editor=e.definition.editor;break;case"boolean":e.definition.editor===!0&&(typeof e.definition.formatter!="function"?this.editors[e.definition.formatter]?r.editor=this.editors[e.definition.formatter]:r.editor=this.editors.input:console.warn("Editor Error - Cannot auto lookup editor for a custom formatter: ",e.definition.formatter));break}r.editor&&(e.modules.edit=r)}getCurrentCell(){return this.currentCell?this.currentCell.getComponent():!1}clearEditor(e){var r=this.currentCell,C;if(this.invalidEdit=!1,r){for(this.currentCell=!1,C=r.getElement(),this.dispatch("edit-editor-clear",r,e),C.classList.remove("tabulator-editing");C.firstChild;)C.removeChild(C.firstChild);r.row.getElement().classList.remove("tabulator-editing"),r.table.element.classList.remove("tabulator-editing")}}cancelEdit(){if(this.currentCell){var e=this.currentCell,r=this.currentCell.getComponent();this.clearEditor(!0),e.setValueActual(e.getValue()),e.cellRendered(),(e.column.definition.editor=="textarea"||e.column.definition.variableHeight)&&e.row.normalizeHeight(!0),e.column.definition.cellEditCancelled&&e.column.definition.cellEditCancelled.call(this.table,r),this.dispatch("edit-cancelled",e),this.dispatchExternal("cellEditCancelled",r)}}bindEditor(e){if(e.column.modules.edit){var r=this,C=e.getElement(!0);this.updateCellClass(e),C.setAttribute("tabindex",0),C.addEventListener("mousedown",function(D){D.button===2?D.preventDefault():r.mouseClick=!0}),this.options("editTriggerEvent")==="dblclick"&&C.addEventListener("dblclick",function(D){C.classList.contains("tabulator-editing")||(C.focus({preventScroll:!0}),r.edit(e,D,!1))}),(this.options("editTriggerEvent")==="focus"||this.options("editTriggerEvent")==="click")&&C.addEventListener("click",function(D){C.classList.contains("tabulator-editing")||(C.focus({preventScroll:!0}),r.edit(e,D,!1))}),this.options("editTriggerEvent")==="focus"&&C.addEventListener("focus",function(D){r.recursionBlock||r.edit(e,D,!1)})}}focusCellNoEvent(e,r){this.recursionBlock=!0,r&&this.table.browser==="ie"||e.getElement().focus({preventScroll:!0}),this.recursionBlock=!1}editCell(e,r){this.focusCellNoEvent(e),this.edit(e,!1,r)}focusScrollAdjust(e){if(this.table.rowManager.getRenderMode()=="virtual"){var r=this.table.rowManager.element.scrollTop,C=this.table.rowManager.element.clientHeight+this.table.rowManager.element.scrollTop,D=e.row.getElement();D.offsetTopC&&(this.table.rowManager.element.scrollTop+=D.offsetTop+D.offsetHeight-C);var T=this.table.rowManager.element.scrollLeft,p=this.table.rowManager.element.clientWidth+this.table.rowManager.element.scrollLeft,t=e.getElement();this.table.modExists("frozenColumns")&&(T+=parseInt(this.table.modules.frozenColumns.leftMargin||0),p-=parseInt(this.table.modules.frozenColumns.rightMargin||0)),this.table.options.renderHorizontal==="virtual"&&(T-=parseInt(this.table.columnManager.renderer.vDomPadLeft),p-=parseInt(this.table.columnManager.renderer.vDomPadLeft)),t.offsetLeftp&&(this.table.rowManager.element.scrollLeft+=t.offsetLeft+t.offsetWidth-p)}}allowEdit(e){var r=!!e.column.modules.edit;if(e.column.modules.edit)switch(typeof e.column.modules.edit.check){case"function":e.row.initialized&&(r=e.column.modules.edit.check(e.getComponent()));break;case"string":r=!!e.row.data[e.column.modules.edit.check];break;case"boolean":r=e.column.modules.edit.check;break}return r}edit(e,r,C){var D=this,T=!0,p=function(){},t=e.getElement(),d=!1,g,i,M;if(this.currentCell){!this.invalidEdit&&this.currentCell!==e&&this.cancelEdit();return}function v(o){if(D.currentCell===e&&!d){var s=D.chain("edit-success",[e,o],!0,!0);return s===!0||D.table.options.validationMode==="highlight"?(d=!0,D.clearEditor(),e.modules.edit||(e.modules.edit={}),e.modules.edit.edited=!0,D.editedCells.indexOf(e)==-1&&D.editedCells.push(e),e.setValue(o,!0),s===!0):(d=!0,D.invalidEdit=!0,D.focusCellNoEvent(e,!0),p(),setTimeout(()=>{d=!1},10),!1)}}function f(){D.currentCell===e&&!d&&D.cancelEdit()}function l(o){p=o}if(e.column.modules.edit.blocked)return this.mouseClick=!1,this.blur(t),!1;if(r&&r.stopPropagation(),T=this.allowEdit(e),T||C){if(D.cancelEdit(),D.currentCell=e,this.focusScrollAdjust(e),i=e.getComponent(),this.mouseClick&&(this.mouseClick=!1,e.column.definition.cellClick&&e.column.definition.cellClick.call(this.table,r,i)),e.column.definition.cellEditing&&e.column.definition.cellEditing.call(this.table,i),this.dispatch("cell-editing",e),this.dispatchExternal("cellEditing",i),M=typeof e.column.modules.edit.params=="function"?e.column.modules.edit.params(i):e.column.modules.edit.params,g=e.column.modules.edit.editor.call(D,i,l,v,f,M),this.currentCell&&g!==!1)if(g instanceof Node){for(t.classList.add("tabulator-editing"),e.row.getElement().classList.add("tabulator-editing"),e.table.element.classList.add("tabulator-editing");t.firstChild;)t.removeChild(t.firstChild);t.appendChild(g),p();for(var a=t.children,u=0;u{e.push(r.getComponent())}),e}clearEdited(e){var r;e.modules.edit&&e.modules.edit.edited&&(e.modules.edit.edited=!1,this.dispatch("edit-edited-clear",e)),r=this.editedCells.indexOf(e),r>-1&&this.editedCells.splice(r,1)}}tg.moduleName="edit";tg.editors=BR;class g5{constructor(e,r,C,D){this.type=e,this.columns=r,this.component=C||!1,this.indent=D||0}}class mb{constructor(e,r,C,D,T){this.value=e,this.component=r||!1,this.width=C,this.height=D,this.depth=T}}class DM extends qi{constructor(e){super(e),this.config={},this.cloneTableStyle=!0,this.colVisProp="",this.registerTableOption("htmlOutputConfig",!1),this.registerColumnOption("htmlOutput"),this.registerColumnOption("titleHtmlOutput")}initialize(){this.registerTableFunction("getHtml",this.getHtml.bind(this))}generateExportList(e,r,C,D){this.cloneTableStyle=r,this.config=e||{},this.colVisProp=D;var T,p;if(C==="range"){var t=this.table.modules.selectRange.selectedColumns();T=this.config.columnHeaders!==!1?this.headersToExportRows(this.generateColumnGroupHeaders(t)):[],p=this.bodyToExportRows(this.rowLookup(C),this.table.modules.selectRange.selectedColumns(!0))}else T=this.config.columnHeaders!==!1?this.headersToExportRows(this.generateColumnGroupHeaders()):[],p=this.bodyToExportRows(this.rowLookup(C));return T.concat(p)}generateTable(e,r,C,D){var T=this.generateExportList(e,r,C,D);return this.generateTableElement(T)}rowLookup(e){var r=[];if(typeof e=="function")e.call(this.table).forEach(C=>{C=this.table.rowManager.findRow(C),C&&r.push(C)});else switch(e){case!0:case"visible":r=this.table.rowManager.getVisibleRows(!1,!0);break;case"all":r=this.table.rowManager.rows;break;case"selected":r=this.table.modules.selectRow.selectedRows;break;case"range":r=this.table.modules.selectRange.selectedRows();break;case"active":default:this.table.options.pagination?r=this.table.rowManager.getDisplayRows(this.table.rowManager.displayRows.length-2):r=this.table.rowManager.getDisplayRows()}return Object.assign([],r)}generateColumnGroupHeaders(e){var r=[];return e||(e=this.config.columnGroups!==!1?this.table.columnManager.columns:this.table.columnManager.columnsByIndex),e.forEach(C=>{var D=this.processColumnGroup(C);D&&r.push(D)}),r}processColumnGroup(e){var r=e.columns,C=0,D=e.definition["title"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))]||e.definition.title,T={title:D,column:e,depth:1};if(r.length){if(T.subGroups=[],T.width=0,r.forEach(p=>{var t=this.processColumnGroup(p);t&&(T.width+=t.width,T.subGroups.push(t),t.depth>C&&(C=t.depth))}),T.depth+=C,!T.width)return!1}else if(this.columnVisCheck(e))T.width=1;else return!1;return T}columnVisCheck(e){var r=e.definition[this.colVisProp];return typeof r=="function"&&(r=r.call(this.table,e.getComponent())),r!==!1&&(e.visible||!e.visible&&r)}headersToExportRows(e){var r=[],C=0,D=[];function T(p,t){var d=C-t;if(typeof r[t]>"u"&&(r[t]=[]),p.height=p.subGroups?1:d-p.depth+1,r[t].push(p),p.height>1)for(let g=1;g"u"&&(r[t+g]=[]),r[t+g].push(!1);if(p.width>1)for(let g=1;gC&&(C=p.depth)}),e.forEach(function(p){T(p,0)}),r.forEach(p=>{var t=[];p.forEach(d=>{if(d){let g=typeof d.title>"u"?"":d.title;t.push(new mb(g,d.column.getComponent(),d.width,d.height,d.depth))}else t.push(null)}),D.push(new g5("header",t))}),D}bodyToExportRows(e,r=[]){var C=[];return r.length===0&&this.table.columnManager.columnsByIndex.forEach(D=>{this.columnVisCheck(D)&&r.push(D.getComponent())}),this.config.columnCalcs!==!1&&this.table.modExists("columnCalcs")&&(this.table.modules.columnCalcs.topInitialized&&e.unshift(this.table.modules.columnCalcs.topRow),this.table.modules.columnCalcs.botInitialized&&e.push(this.table.modules.columnCalcs.botRow)),e=e.filter(D=>{switch(D.type){case"group":return this.config.rowGroups!==!1;case"calc":return this.config.columnCalcs!==!1;case"row":return!(this.table.options.dataTree&&this.config.dataTree===!1&&D.modules.dataTree.parent)}return!0}),e.forEach((D,T)=>{var p=D.getData(this.colVisProp),t=[],d=0;switch(D.type){case"group":d=D.level,t.push(new mb(D.key,D.getComponent(),r.length,1));break;case"calc":case"row":r.forEach(g=>{t.push(new mb(g._column.getFieldValue(p),g,1,1))}),this.table.options.dataTree&&this.config.dataTree!==!1&&(d=D.modules.dataTree.index);break}C.push(new g5(D.type,t,D.getComponent(),d))}),C}generateTableElement(e){var r=document.createElement("table"),C=document.createElement("thead"),D=document.createElement("tbody"),T=this.lookupTableStyles(),p=this.table.options["rowFormatter"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))],t={};return t.rowFormatter=p!==null?p:this.table.options.rowFormatter,this.table.options.dataTree&&this.config.dataTree!==!1&&this.table.modExists("columnCalcs")&&(t.treeElementField=this.table.modules.dataTree.elementField),t.groupHeader=this.table.options["groupHeader"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))],t.groupHeader&&!Array.isArray(t.groupHeader)&&(t.groupHeader=[t.groupHeader]),r.classList.add("tabulator-print-table"),this.mapElementStyles(this.table.columnManager.getHeadersElement(),C,["border-top","border-left","border-right","border-bottom","background-color","color","font-weight","font-family","font-size"]),e.length>1e3&&console.warn("It may take a long time to render an HTML table with more than 1000 rows"),e.forEach((d,g)=>{let i;switch(d.type){case"header":C.appendChild(this.generateHeaderElement(d,t,T));break;case"group":D.appendChild(this.generateGroupElement(d,t,T));break;case"calc":D.appendChild(this.generateCalcElement(d,t,T));break;case"row":i=this.generateRowElement(d,t,T),this.mapElementStyles(g%2&&T.evenRow?T.evenRow:T.oddRow,i,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),D.appendChild(i);break}}),C.innerHTML&&r.appendChild(C),r.appendChild(D),this.mapElementStyles(this.table.element,r,["border-top","border-left","border-right","border-bottom"]),r}lookupTableStyles(){var e={};return this.cloneTableStyle&&window.getComputedStyle&&(e.oddRow=this.table.element.querySelector(".tabulator-row-odd:not(.tabulator-group):not(.tabulator-calcs)"),e.evenRow=this.table.element.querySelector(".tabulator-row-even:not(.tabulator-group):not(.tabulator-calcs)"),e.calcRow=this.table.element.querySelector(".tabulator-row.tabulator-calcs"),e.firstRow=this.table.element.querySelector(".tabulator-row:not(.tabulator-group):not(.tabulator-calcs)"),e.firstGroup=this.table.element.getElementsByClassName("tabulator-group")[0],e.firstRow&&(e.styleCells=e.firstRow.getElementsByClassName("tabulator-cell"),e.firstCell=e.styleCells[0],e.lastCell=e.styleCells[e.styleCells.length-1])),e}generateHeaderElement(e,r,C){var D=document.createElement("tr");return e.columns.forEach(T=>{if(T){var p=document.createElement("th"),t=T.component._column.definition.cssClass?T.component._column.definition.cssClass.split(" "):[];p.colSpan=T.width,p.rowSpan=T.height,p.innerHTML=T.value,this.cloneTableStyle&&(p.style.boxSizing="border-box"),t.forEach(function(d){p.classList.add(d)}),this.mapElementStyles(T.component.getElement(),p,["text-align","border-top","border-left","border-right","border-bottom","background-color","color","font-weight","font-family","font-size"]),this.mapElementStyles(T.component._column.contentElement,p,["padding-top","padding-left","padding-right","padding-bottom"]),T.component._column.visible?this.mapElementStyles(T.component.getElement(),p,["width"]):T.component._column.definition.width&&(p.style.width=T.component._column.definition.width+"px"),T.component._column.parent&&this.mapElementStyles(T.component._column.parent.groupElement,p,["border-top"]),D.appendChild(p)}}),D}generateGroupElement(e,r,C){var D=document.createElement("tr"),T=document.createElement("td"),p=e.columns[0];return D.classList.add("tabulator-print-table-row"),r.groupHeader&&r.groupHeader[e.indent]?p.value=r.groupHeader[e.indent](p.value,e.component._group.getRowCount(),e.component._group.getData(),e.component):r.groupHeader!==!1&&(p.value=e.component._group.generator(p.value,e.component._group.getRowCount(),e.component._group.getData(),e.component)),T.colSpan=p.width,T.innerHTML=p.value,D.classList.add("tabulator-print-table-group"),D.classList.add("tabulator-group-level-"+e.indent),p.component.isVisible()&&D.classList.add("tabulator-group-visible"),this.mapElementStyles(C.firstGroup,D,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),this.mapElementStyles(C.firstGroup,T,["padding-top","padding-left","padding-right","padding-bottom"]),D.appendChild(T),D}generateCalcElement(e,r,C){var D=this.generateRowElement(e,r,C);return D.classList.add("tabulator-print-table-calcs"),this.mapElementStyles(C.calcRow,D,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),D}generateRowElement(e,r,C){var D=document.createElement("tr");if(D.classList.add("tabulator-print-table-row"),e.columns.forEach((T,p)=>{if(T){var t=document.createElement("td"),d=T.component._column,g=this.table,i=g.columnManager.findColumnIndex(d),M=T.value,v,f={modules:{},getValue:function(){return M},getField:function(){return d.definition.field},getElement:function(){return t},getType:function(){return"cell"},getColumn:function(){return d.getComponent()},getData:function(){return e.component.getData()},getRow:function(){return e.component},getTable:function(){return g},getComponent:function(){return f},column:d},l=d.definition.cssClass?d.definition.cssClass.split(" "):[];if(l.forEach(function(a){t.classList.add(a)}),this.table.modExists("format")&&this.config.formatCells!==!1)M=this.table.modules.format.formatExportValue(f,this.colVisProp);else switch(typeof M){case"object":M=M!==null?JSON.stringify(M):"";break;case"undefined":M="";break}M instanceof Node?t.appendChild(M):t.innerHTML=M,v=C.styleCells&&C.styleCells[i]?C.styleCells[i]:C.firstCell,v&&(this.mapElementStyles(v,t,["padding-top","padding-left","padding-right","padding-bottom","border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","text-align"]),d.definition.align&&(t.style.textAlign=d.definition.align)),this.table.options.dataTree&&this.config.dataTree!==!1&&(r.treeElementField&&r.treeElementField==d.field||!r.treeElementField&&p==0)&&(e.component._row.modules.dataTree.controlEl&&t.insertBefore(e.component._row.modules.dataTree.controlEl.cloneNode(!0),t.firstChild),e.component._row.modules.dataTree.branchEl&&t.insertBefore(e.component._row.modules.dataTree.branchEl.cloneNode(!0),t.firstChild)),D.appendChild(t),f.modules.format&&f.modules.format.renderedCallback&&f.modules.format.renderedCallback()}}),r.rowFormatter&&e.type==="row"&&this.config.formatCells!==!1){let T=Object.assign(e.component);T.getElement=function(){return D},r.rowFormatter(e.component)}return D}generateHTMLTable(e){var r=document.createElement("div");return r.appendChild(this.generateTableElement(e)),r.innerHTML}getHtml(e,r,C,D){var T=this.generateExportList(C||this.table.options.htmlOutputConfig,r,e,D||"htmlOutput");return this.generateHTMLTable(T)}mapElementStyles(e,r,C){if(this.cloneTableStyle&&e&&r){var D={"background-color":"backgroundColor",color:"fontColor",width:"width","font-weight":"fontWeight","font-family":"fontFamily","font-size":"fontSize","text-align":"textAlign","border-top":"borderTop","border-left":"borderLeft","border-right":"borderRight","border-bottom":"borderBottom","padding-top":"paddingTop","padding-left":"paddingLeft","padding-right":"paddingRight","padding-bottom":"paddingBottom"};if(window.getComputedStyle){var T=window.getComputedStyle(e);C.forEach(function(p){r.style[D[p]]||(r.style[D[p]]=T.getPropertyValue(p))})}}}}DM.moduleName="export";var NR={"=":function(n,e,r,C){return e==n},"<":function(n,e,r,C){return e":function(n,e,r,C){return e>n},">=":function(n,e,r,C){return e>=n},"!=":function(n,e,r,C){return e!=n},regex:function(n,e,r,C){return typeof n=="string"&&(n=new RegExp(n)),n.test(e)},like:function(n,e,r,C){return n===null||typeof n>"u"?e===n:typeof e<"u"&&e!==null?String(e).toLowerCase().indexOf(n.toLowerCase())>-1:!1},keywords:function(n,e,r,C){var D=n.toLowerCase().split(typeof C.separator>"u"?" ":C.separator),T=String(e===null||typeof e>"u"?"":e).toLowerCase(),p=[];return D.forEach(t=>{T.includes(t)&&p.push(!0)}),C.matchAll?p.length===D.length:!!p.length},starts:function(n,e,r,C){return n===null||typeof n>"u"?e===n:typeof e<"u"&&e!==null?String(e).toLowerCase().startsWith(n.toLowerCase()):!1},ends:function(n,e,r,C){return n===null||typeof n>"u"?e===n:typeof e<"u"&&e!==null?String(e).toLowerCase().endsWith(n.toLowerCase()):!1},in:function(n,e,r,C){return Array.isArray(n)?n.length?n.indexOf(e)>-1:!0:(console.warn("Filter Error - filter value is not an array:",n),!1)}};class Xh extends qi{constructor(e){super(e),this.filterList=[],this.headerFilters={},this.headerFilterColumns=[],this.prevHeaderFilterChangeCheck="",this.prevHeaderFilterChangeCheck="{}",this.changed=!1,this.tableInitialized=!1,this.registerTableOption("filterMode","local"),this.registerTableOption("initialFilter",!1),this.registerTableOption("initialHeaderFilter",!1),this.registerTableOption("headerFilterLiveFilterDelay",300),this.registerTableOption("placeholderHeaderFilter",!1),this.registerColumnOption("headerFilter"),this.registerColumnOption("headerFilterPlaceholder"),this.registerColumnOption("headerFilterParams"),this.registerColumnOption("headerFilterEmptyCheck"),this.registerColumnOption("headerFilterFunc"),this.registerColumnOption("headerFilterFuncParams"),this.registerColumnOption("headerFilterLiveFilter"),this.registerTableFunction("searchRows",this.searchRows.bind(this)),this.registerTableFunction("searchData",this.searchData.bind(this)),this.registerTableFunction("setFilter",this.userSetFilter.bind(this)),this.registerTableFunction("refreshFilter",this.userRefreshFilter.bind(this)),this.registerTableFunction("addFilter",this.userAddFilter.bind(this)),this.registerTableFunction("getFilters",this.getFilters.bind(this)),this.registerTableFunction("setHeaderFilterFocus",this.userSetHeaderFilterFocus.bind(this)),this.registerTableFunction("getHeaderFilterValue",this.userGetHeaderFilterValue.bind(this)),this.registerTableFunction("setHeaderFilterValue",this.userSetHeaderFilterValue.bind(this)),this.registerTableFunction("getHeaderFilters",this.getHeaderFilters.bind(this)),this.registerTableFunction("removeFilter",this.userRemoveFilter.bind(this)),this.registerTableFunction("clearFilter",this.userClearFilter.bind(this)),this.registerTableFunction("clearHeaderFilter",this.userClearHeaderFilter.bind(this)),this.registerComponentFunction("column","headerFilterFocus",this.setHeaderFilterFocus.bind(this)),this.registerComponentFunction("column","reloadHeaderFilter",this.reloadHeaderFilter.bind(this)),this.registerComponentFunction("column","getHeaderFilterValue",this.getHeaderFilterValue.bind(this)),this.registerComponentFunction("column","setHeaderFilterValue",this.setHeaderFilterValue.bind(this))}initialize(){this.subscribe("column-init",this.initializeColumnHeaderFilter.bind(this)),this.subscribe("column-width-fit-before",this.hideHeaderFilterElements.bind(this)),this.subscribe("column-width-fit-after",this.showHeaderFilterElements.bind(this)),this.subscribe("table-built",this.tableBuilt.bind(this)),this.subscribe("placeholder",this.generatePlaceholder.bind(this)),this.table.options.filterMode==="remote"&&this.subscribe("data-params",this.remoteFilterParams.bind(this)),this.registerDataHandler(this.filter.bind(this),10)}tableBuilt(){this.table.options.initialFilter&&this.setFilter(this.table.options.initialFilter),this.table.options.initialHeaderFilter&&this.table.options.initialHeaderFilter.forEach(e=>{var r=this.table.columnManager.findColumn(e.field);if(r)this.setHeaderFilterValue(r,e.value);else return console.warn("Column Filter Error - No matching column found:",e.field),!1}),this.tableInitialized=!0}remoteFilterParams(e,r,C,D){return D.filter=this.getFilters(!0,!0),D}generatePlaceholder(e){if(this.table.options.placeholderHeaderFilter&&Object.keys(this.headerFilters).length)return this.table.options.placeholderHeaderFilter}userSetFilter(e,r,C,D){this.setFilter(e,r,C,D),this.refreshFilter()}userRefreshFilter(){this.refreshFilter()}userAddFilter(e,r,C,D){this.addFilter(e,r,C,D),this.refreshFilter()}userSetHeaderFilterFocus(e){var r=this.table.columnManager.findColumn(e);if(r)this.setHeaderFilterFocus(r);else return console.warn("Column Filter Focus Error - No matching column found:",e),!1}userGetHeaderFilterValue(e){var r=this.table.columnManager.findColumn(e);if(r)return this.getHeaderFilterValue(r);console.warn("Column Filter Error - No matching column found:",e)}userSetHeaderFilterValue(e,r){var C=this.table.columnManager.findColumn(e);if(C)this.setHeaderFilterValue(C,r);else return console.warn("Column Filter Error - No matching column found:",e),!1}userRemoveFilter(e,r,C){this.removeFilter(e,r,C),this.refreshFilter()}userClearFilter(e){this.clearFilter(e),this.refreshFilter()}userClearHeaderFilter(){this.clearHeaderFilter(),this.refreshFilter()}searchRows(e,r,C){return this.search("rows",e,r,C)}searchData(e,r,C){return this.search("data",e,r,C)}initializeColumnHeaderFilter(e){var r=e.definition;r.headerFilter&&this.initializeColumn(e)}initializeColumn(e,r){var C=this,D=e.getField();function T(p){var t=e.modules.filter.tagType=="input"&&e.modules.filter.attrType=="text"||e.modules.filter.tagType=="textarea"?"partial":"match",d="",g="",i;if(typeof e.modules.filter.prevSuccess>"u"||e.modules.filter.prevSuccess!==p){if(e.modules.filter.prevSuccess=p,e.modules.filter.emptyFunc(p))delete C.headerFilters[D];else{switch(e.modules.filter.value=p,typeof e.definition.headerFilterFunc){case"string":Xh.filters[e.definition.headerFilterFunc]?(d=e.definition.headerFilterFunc,i=function(M){var v=e.definition.headerFilterFuncParams||{},f=e.getFieldValue(M);return v=typeof v=="function"?v(p,f,M):v,Xh.filters[e.definition.headerFilterFunc](p,f,M,v)}):console.warn("Header Filter Error - Matching filter function not found: ",e.definition.headerFilterFunc);break;case"function":i=function(M){var v=e.definition.headerFilterFuncParams||{},f=e.getFieldValue(M);return v=typeof v=="function"?v(p,f,M):v,e.definition.headerFilterFunc(p,f,M,v)},d=i;break}if(!i)switch(t){case"partial":i=function(M){var v=e.getFieldValue(M);return typeof v<"u"&&v!==null?String(v).toLowerCase().indexOf(String(p).toLowerCase())>-1:!1},d="like";break;default:i=function(M){return e.getFieldValue(M)==p},d="="}C.headerFilters[D]={value:p,func:i,type:d}}e.modules.filter.value=p,g=JSON.stringify(C.headerFilters),C.prevHeaderFilterChangeCheck!==g&&(C.prevHeaderFilterChangeCheck=g,C.trackChanges(),C.refreshFilter())}return!0}e.modules.filter={success:T,attrType:!1,tagType:!1,emptyFunc:!1},this.generateHeaderFilterElement(e)}generateHeaderFilterElement(e,r,C){var D=this,T=e.modules.filter.success,p=e.getField(),t,d,g,i,M,v,f,l;e.modules.filter.value=r;function a(){}function u(o){l=o}if(e.modules.filter.headerElement&&e.modules.filter.headerElement.parentNode&&e.contentElement.removeChild(e.modules.filter.headerElement.parentNode),p){switch(e.modules.filter.emptyFunc=e.definition.headerFilterEmptyCheck||function(o){return!o&&o!==0},t=document.createElement("div"),t.classList.add("tabulator-header-filter"),typeof e.definition.headerFilter){case"string":D.table.modules.edit.editors[e.definition.headerFilter]?(d=D.table.modules.edit.editors[e.definition.headerFilter],(e.definition.headerFilter==="tick"||e.definition.headerFilter==="tickCross")&&!e.definition.headerFilterEmptyCheck&&(e.modules.filter.emptyFunc=function(o){return o!==!0&&o!==!1})):console.warn("Filter Error - Cannot build header filter, No such editor found: ",e.definition.editor);break;case"function":d=e.definition.headerFilter;break;case"boolean":e.modules.edit&&e.modules.edit.editor?d=e.modules.edit.editor:e.definition.formatter&&D.table.modules.edit.editors[e.definition.formatter]?(d=D.table.modules.edit.editors[e.definition.formatter],(e.definition.formatter==="tick"||e.definition.formatter==="tickCross")&&!e.definition.headerFilterEmptyCheck&&(e.modules.filter.emptyFunc=function(o){return o!==!0&&o!==!1})):d=D.table.modules.edit.editors.input;break}if(d){if(i={getValue:function(){return typeof r<"u"?r:""},getField:function(){return e.definition.field},getElement:function(){return t},getColumn:function(){return e.getComponent()},getTable:()=>this.table,getType:()=>"header",getRow:function(){return{normalizeHeight:function(){}}}},f=e.definition.headerFilterParams||{},f=typeof f=="function"?f.call(D.table,i):f,g=d.call(this.table.modules.edit,i,u,T,a,f),!g){console.warn("Filter Error - Cannot add filter to "+p+" column, editor returned a value of false");return}if(!(g instanceof Node)){console.warn("Filter Error - Cannot add filter to "+p+" column, editor should return an instance of Node, the editor returned:",g);return}D.langBind("headerFilters|columns|"+e.definition.field,function(o){g.setAttribute("placeholder",typeof o<"u"&&o?o:e.definition.headerFilterPlaceholder||D.langText("headerFilters|default"))}),g.addEventListener("click",function(o){o.stopPropagation(),g.focus()}),g.addEventListener("focus",o=>{var s=this.table.columnManager.contentsElement.scrollLeft,c=this.table.rowManager.element.scrollLeft;s!==c&&(this.table.rowManager.scrollHorizontal(s),this.table.columnManager.scrollHorizontal(s))}),M=!1,v=function(o){M&&clearTimeout(M),M=setTimeout(function(){T(g.value)},D.table.options.headerFilterLiveFilterDelay)},e.modules.filter.headerElement=g,e.modules.filter.attrType=g.hasAttribute("type")?g.getAttribute("type").toLowerCase():"",e.modules.filter.tagType=g.tagName.toLowerCase(),e.definition.headerFilterLiveFilter!==!1&&(e.definition.headerFilter==="autocomplete"||e.definition.headerFilter==="tickCross"||(e.definition.editor==="autocomplete"||e.definition.editor==="tickCross")&&e.definition.headerFilter===!0||(g.addEventListener("keyup",v),g.addEventListener("search",v),e.modules.filter.attrType=="number"&&g.addEventListener("change",function(o){T(g.value)}),e.modules.filter.attrType=="text"&&this.table.browser!=="ie"&&g.setAttribute("type","search")),(e.modules.filter.tagType=="input"||e.modules.filter.tagType=="select"||e.modules.filter.tagType=="textarea")&&g.addEventListener("mousedown",function(o){o.stopPropagation()})),t.appendChild(g),e.contentElement.appendChild(t),C||D.headerFilterColumns.push(e),l&&l()}}else console.warn("Filter Error - Cannot add header filter, column has no field set:",e.definition.title)}hideHeaderFilterElements(){this.headerFilterColumns.forEach(function(e){e.modules.filter&&e.modules.filter.headerElement&&(e.modules.filter.headerElement.style.display="none")})}showHeaderFilterElements(){this.headerFilterColumns.forEach(function(e){e.modules.filter&&e.modules.filter.headerElement&&(e.modules.filter.headerElement.style.display="")})}setHeaderFilterFocus(e){e.modules.filter&&e.modules.filter.headerElement?e.modules.filter.headerElement.focus():console.warn("Column Filter Focus Error - No header filter set on column:",e.getField())}getHeaderFilterValue(e){if(e.modules.filter&&e.modules.filter.headerElement)return e.modules.filter.value;console.warn("Column Filter Error - No header filter set on column:",e.getField())}setHeaderFilterValue(e,r){e&&(e.modules.filter&&e.modules.filter.headerElement?(this.generateHeaderFilterElement(e,r,!0),e.modules.filter.success(r)):console.warn("Column Filter Error - No header filter set on column:",e.getField()))}reloadHeaderFilter(e){e&&(e.modules.filter&&e.modules.filter.headerElement?this.generateHeaderFilterElement(e,e.modules.filter.value,!0):console.warn("Column Filter Error - No header filter set on column:",e.getField()))}refreshFilter(){this.tableInitialized&&(this.table.options.filterMode==="remote"?this.reloadData(null,!1,!1):this.refreshData(!0))}trackChanges(){this.changed=!0,this.dispatch("filter-changed")}hasChanged(){var e=this.changed;return this.changed=!1,e}setFilter(e,r,C,D){this.filterList=[],Array.isArray(e)||(e=[{field:e,type:r,value:C,params:D}]),this.addFilter(e)}addFilter(e,r,C,D){var T=!1;Array.isArray(e)||(e=[{field:e,type:r,value:C,params:D}]),e.forEach(p=>{p=this.findFilter(p),p&&(this.filterList.push(p),T=!0)}),T&&this.trackChanges()}findFilter(e){var r;if(Array.isArray(e))return this.findSubFilters(e);var C=!1;return typeof e.field=="function"?C=function(D){return e.field(D,e.type||{})}:Xh.filters[e.type]?(r=this.table.columnManager.getColumnByField(e.field),r?C=function(D){return Xh.filters[e.type](e.value,r.getFieldValue(D),D,e.params||{})}:C=function(D){return Xh.filters[e.type](e.value,D[e.field],D,e.params||{})}):console.warn("Filter Error - No such filter type found, ignoring: ",e.type),e.func=C,e.func?e:!1}findSubFilters(e){var r=[];return e.forEach(C=>{C=this.findFilter(C),C&&r.push(C)}),r.length?r:!1}getFilters(e,r){var C=[];return e&&(C=this.getHeaderFilters()),r&&C.forEach(function(D){typeof D.type=="function"&&(D.type="function")}),C=C.concat(this.filtersToArray(this.filterList,r)),C}filtersToArray(e,r){var C=[];return e.forEach(D=>{var T;Array.isArray(D)?C.push(this.filtersToArray(D,r)):(T={field:D.field,type:D.type,value:D.value},r&&typeof T.type=="function"&&(T.type="function"),C.push(T))}),C}getHeaderFilters(){var e=[];for(var r in this.headerFilters)e.push({field:r,type:this.headerFilters[r].type,value:this.headerFilters[r].value});return e}removeFilter(e,r,C){Array.isArray(e)||(e=[{field:e,type:r,value:C}]),e.forEach(D=>{var T=-1;typeof D.field=="object"?T=this.filterList.findIndex(p=>D===p):T=this.filterList.findIndex(p=>D.field===p.field&&D.type===p.type&&D.value===p.value),T>-1?this.filterList.splice(T,1):console.warn("Filter Error - No matching filter type found, ignoring: ",D.type)}),this.trackChanges()}clearFilter(e){this.filterList=[],e&&this.clearHeaderFilter(),this.trackChanges()}clearHeaderFilter(){this.headerFilters={},this.prevHeaderFilterChangeCheck="{}",this.headerFilterColumns.forEach(e=>{typeof e.modules.filter.value<"u"&&delete e.modules.filter.value,e.modules.filter.prevSuccess=void 0,this.reloadHeaderFilter(e)}),this.trackChanges()}search(e,r,C,D){var T=[],p=[];return Array.isArray(r)||(r=[{field:r,type:C,value:D}]),r.forEach(t=>{t=this.findFilter(t),t&&p.push(t)}),this.table.rowManager.rows.forEach(t=>{var d=!0;p.forEach(g=>{this.filterRecurse(g,t.getData())||(d=!1)}),d&&T.push(e==="data"?t.getData("data"):t.getComponent())}),T}filter(e,r){var C=[],D=[];return this.subscribedExternal("dataFiltering")&&this.dispatchExternal("dataFiltering",this.getFilters(!0)),this.table.options.filterMode!=="remote"&&(this.filterList.length||Object.keys(this.headerFilters).length)?e.forEach(T=>{this.filterRow(T)&&C.push(T)}):C=e.slice(0),this.subscribedExternal("dataFiltered")&&(C.forEach(T=>{D.push(T.getComponent())}),this.dispatchExternal("dataFiltered",this.getFilters(!0),D)),C}filterRow(e,r){var C=!0,D=e.getData();this.filterList.forEach(p=>{this.filterRecurse(p,D)||(C=!1)});for(var T in this.headerFilters)this.headerFilters[T].func(D)||(C=!1);return C}filterRecurse(e,r){var C=!1;return Array.isArray(e)?e.forEach(D=>{this.filterRecurse(D,r)&&(C=!0)}):C=e.func(r),C}}Xh.moduleName="filter";Xh.filters=NR;function VR(n,e,r){return this.emptyToSpace(this.sanitizeHTML(n.getValue()))}function jR(n,e,r){return n.getValue()}function UR(n,e,r){return n.getElement().style.whiteSpace="pre-wrap",this.emptyToSpace(this.sanitizeHTML(n.getValue()))}function HR(n,e,r){var C=parseFloat(n.getValue()),D="",T,p,t,d,g,i=e.decimal||".",M=e.thousand||",",v=e.negativeSign||"-",f=e.symbol||"",l=!!e.symbolAfter,a=typeof e.precision<"u"?e.precision:2;if(isNaN(C))return this.emptyToSpace(this.sanitizeHTML(n.getValue()));if(C<0&&(C=Math.abs(C),D=v),T=a!==!1?C.toFixed(a):C,T=String(T).split("."),p=T[0],t=T.length>1?i+T[1]:"",e.thousand!==!1)for(d=/(\d+)(\d{3})/;d.test(p);)p=p.replace(d,"$1"+M+"$2");return g=p+t,D===!0?(g="("+g+")",l?g+f:f+g):l?D+g+f:D+f+g}function GR(n,e,r){var C=n.getValue(),D=e.urlPrefix||"",T=e.download,p=C,t=document.createElement("a"),d;function g(i,M){var v=i.shift(),f=M[v];return i.length&&typeof f=="object"?g(i,f):f}if(e.labelField&&(d=n.getData(),p=g(e.labelField.split(this.table.options.nestedFieldSeparator),d)),e.label)switch(typeof e.label){case"string":p=e.label;break;case"function":p=e.label(n);break}if(p){if(e.urlField&&(d=n.getData(),C=oo.retrieveNestedData(this.table.options.nestedFieldSeparator,e.urlField,d)),e.url)switch(typeof e.url){case"string":C=e.url;break;case"function":C=e.url(n);break}return t.setAttribute("href",D+C),e.target&&t.setAttribute("target",e.target),e.download&&(typeof T=="function"?T=T(n):T=T===!0?"":T,t.setAttribute("download",T)),t.innerHTML=this.emptyToSpace(this.sanitizeHTML(p)),t}else return" "}function qR(n,e,r){var C=document.createElement("img"),D=n.getValue();switch(e.urlPrefix&&(D=e.urlPrefix+n.getValue()),e.urlSuffix&&(D=D+e.urlSuffix),C.setAttribute("src",D),typeof e.height){case"number":C.style.height=e.height+"px";break;case"string":C.style.height=e.height;break}switch(typeof e.width){case"number":C.style.width=e.width+"px";break;case"string":C.style.width=e.width;break}return C.addEventListener("load",function(){n.getRow().normalizeHeight()}),C}function WR(n,e,r){var C=n.getValue(),D=n.getElement(),T=e.allowEmpty,p=e.allowTruthy,t=Object.keys(e).includes("trueValue"),d=typeof e.tickElement<"u"?e.tickElement:'',g=typeof e.crossElement<"u"?e.crossElement:'';return t&&C===e.trueValue||!t&&(p&&C||C===!0||C==="true"||C==="True"||C===1||C==="1")?(D.setAttribute("aria-checked",!0),d||""):T&&(C==="null"||C===""||C===null||typeof C>"u")?(D.setAttribute("aria-checked","mixed"),""):(D.setAttribute("aria-checked",!1),g||"")}function YR(n,e,r){var C=window.DateTime||luxon.DateTime,D=e.inputFormat||"yyyy-MM-dd HH:mm:ss",T=e.outputFormat||"dd/MM/yyyy HH:mm:ss",p=typeof e.invalidPlaceholder<"u"?e.invalidPlaceholder:"",t=n.getValue();if(typeof C<"u"){var d;return C.isDateTime(t)?d=t:D==="iso"?d=C.fromISO(String(t)):d=C.fromFormat(String(t),D),d.isValid?(e.timezone&&(d=d.setZone(e.timezone)),d.toFormat(T)):p===!0||!t?t:typeof p=="function"?p(t):p}else console.error("Format Error - 'datetime' formatter is dependant on luxon.js")}function $R(n,e,r){var C=window.DateTime||luxon.DateTime,D=e.inputFormat||"yyyy-MM-dd HH:mm:ss",T=typeof e.invalidPlaceholder<"u"?e.invalidPlaceholder:"",p=typeof e.suffix<"u"?e.suffix:!1,t=typeof e.unit<"u"?e.unit:"days",d=typeof e.humanize<"u"?e.humanize:!1,g=typeof e.date<"u"?e.date:C.now(),i=n.getValue();if(typeof C<"u"){var M;return C.isDateTime(i)?M=i:D==="iso"?M=C.fromISO(String(i)):M=C.fromFormat(String(i),D),M.isValid?d?M.diff(g,t).toHuman()+(p?" "+p:""):parseInt(M.diff(g,t)[t])+(p?" "+p:""):T===!0?i:typeof T=="function"?T(i):T}else console.error("Format Error - 'datetimediff' formatter is dependant on luxon.js")}function ZR(n,e,r){var C=n.getValue();return typeof e[C]>"u"?(console.warn("Missing display value for "+C),C):e[C]}function XR(n,e,r){var C=n.getValue(),D=n.getElement(),T=e&&e.stars?e.stars:5,p=document.createElement("span"),t=document.createElementNS("http://www.w3.org/2000/svg","svg"),d='',g='';p.style.verticalAlign="middle",t.setAttribute("width","14"),t.setAttribute("height","14"),t.setAttribute("viewBox","0 0 512 512"),t.setAttribute("xml:space","preserve"),t.style.padding="0 1px",C=C&&!isNaN(C)?parseInt(C):0,C=Math.max(0,Math.min(C,T));for(var i=1;i<=T;i++){var M=t.cloneNode(!0);M.innerHTML=i<=C?d:g,p.appendChild(M)}return D.style.whiteSpace="nowrap",D.style.overflow="hidden",D.style.textOverflow="ellipsis",D.setAttribute("aria-label",C),p}function KR(n,e,r){var C=this.sanitizeHTML(n.getValue())||0,D=document.createElement("span"),T=e&&e.max?e.max:100,p=e&&e.min?e.min:0,t=e&&typeof e.color<"u"?e.color:["red","orange","green"],d="#666666",g,i;if(!(isNaN(C)||typeof n.getValue()>"u")){switch(D.classList.add("tabulator-traffic-light"),i=parseFloat(C)<=T?parseFloat(C):T,i=parseFloat(i)>=p?parseFloat(i):p,g=(T-p)/100,i=Math.round((i-p)/g),typeof t){case"string":d=t;break;case"function":d=t(C);break;case"object":if(Array.isArray(t)){var M=100/t.length,v=Math.floor(i/M);v=Math.min(v,t.length-1),v=Math.max(v,0),d=t[v];break}}return D.style.backgroundColor=d,D}}function JR(n,e={},r){var C=this.sanitizeHTML(n.getValue())||0,D=n.getElement(),T=e.max?e.max:100,p=e.min?e.min:0,t=e.legendAlign?e.legendAlign:"center",d,g,i,M,v;switch(g=parseFloat(C)<=T?parseFloat(C):T,g=parseFloat(g)>=p?parseFloat(g):p,d=(T-p)/100,g=Math.round((g-p)/d),typeof e.color){case"string":i=e.color;break;case"function":i=e.color(C);break;case"object":if(Array.isArray(e.color)){let u=100/e.color.length,o=Math.floor(g/u);o=Math.min(o,e.color.length-1),o=Math.max(o,0),i=e.color[o];break}default:i="#2DC214"}switch(typeof e.legend){case"string":M=e.legend;break;case"function":M=e.legend(C);break;case"boolean":M=C;break;default:M=!1}switch(typeof e.legendColor){case"string":v=e.legendColor;break;case"function":v=e.legendColor(C);break;case"object":if(Array.isArray(e.legendColor)){let u=100/e.legendColor.length,o=Math.floor(g/u);o=Math.min(o,e.legendColor.length-1),o=Math.max(o,0),v=e.legendColor[o]}break;default:v="#000"}D.style.minWidth="30px",D.style.position="relative",D.setAttribute("aria-label",g);var f=document.createElement("div");f.style.display="inline-block",f.style.width=g+"%",f.style.backgroundColor=i,f.style.height="100%",f.setAttribute("data-max",T),f.setAttribute("data-min",p);var l=document.createElement("div");if(l.style.position="relative",l.style.width="100%",l.style.height="100%",M){var a=document.createElement("div");a.style.position="absolute",a.style.top=0,a.style.left=0,a.style.textAlign=t,a.style.width="100%",a.style.color=v,a.innerHTML=M}return r(function(){if(!(n instanceof IM)){var u=document.createElement("div");u.style.position="absolute",u.style.top="4px",u.style.bottom="4px",u.style.left="4px",u.style.right="4px",D.appendChild(u),D=u}D.appendChild(l),l.appendChild(f),M&&l.appendChild(a)}),""}function QR(n,e,r){return n.getElement().style.backgroundColor=this.sanitizeHTML(n.getValue()),""}function eP(n,e,r){return''}function tP(n,e,r){return''}function nP(n,e,r){var C=document.createElement("span"),D=n.getRow(),T=n.getTable();return D.watchPosition(p=>{e.relativeToPage&&(p+=T.modules.page.getPageSize()*(T.modules.page.getPage()-1)),C.innerText=p}),C}function rP(n,e,r){return n.getElement().classList.add("tabulator-row-handle"),"
"}function iP(n,e,r){var C=document.createElement("div"),D=n.getRow()._row.modules.responsiveLayout;C.classList.add("tabulator-responsive-collapse-toggle"),C.innerHTML=` ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js - - - - - - -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js -`,n.getElement().classList.add("tabulator-row-handle");function T(p){var t=D.element;D.open=p,t&&(D.open?(S.classList.add("open"),t.style.display=""):(S.classList.remove("open"),t.style.display="none"))}return S.addEventListener("click",function(p){p.stopImmediatePropagation(),T(!D.open),n.getTable().rowManager.adjustTableSize()}),T(D.open),S}function aP(n,e,r){var S=document.createElement("input"),D=!1;if(S.type="checkbox",S.setAttribute("aria-label","Select Row"),this.table.modExists("selectRow",!0))if(S.addEventListener("click",p=>{p.stopPropagation()}),typeof n.getRow=="function"){var T=n.getRow();T instanceof Wy?(S.addEventListener("change",p=>{this.table.options.selectableRowsRangeMode==="click"&&D?D=!1:T.toggleSelect()}),this.table.options.selectableRowsRangeMode==="click"&&S.addEventListener("click",p=>{D=!0,this.table.modules.selectRow.handleComplexRowClick(T._row,p)}),S.checked=T.isSelected&&T.isSelected(),this.table.modules.selectRow.registerRowSelectCheckbox(T,S)):S=""}else S.addEventListener("change",p=>{this.table.modules.selectRow.selectedRows.length?this.table.deselectRow():this.table.selectRow(e.rowRange)}),this.table.modules.selectRow.registerHeaderSelectCheckbox(S);return S}var oP={plaintext:VR,html:jR,textarea:UR,money:HR,link:GR,image:qR,tickCross:WR,datetime:YR,datetimediff:$R,lookup:ZR,star:XR,traffic:KR,progress:JR,color:QR,buttonTick:eP,buttonCross:tP,rownum:nP,handle:rP,responsiveCollapse:iP,rowSelection:aP};class Yu extends qi{constructor(e){super(e),this.registerColumnOption("formatter"),this.registerColumnOption("formatterParams"),this.registerColumnOption("formatterPrint"),this.registerColumnOption("formatterPrintParams"),this.registerColumnOption("formatterClipboard"),this.registerColumnOption("formatterClipboardParams"),this.registerColumnOption("formatterHtmlOutput"),this.registerColumnOption("formatterHtmlOutputParams"),this.registerColumnOption("titleFormatter"),this.registerColumnOption("titleFormatterParams")}initialize(){this.subscribe("cell-format",this.formatValue.bind(this)),this.subscribe("cell-rendered",this.cellRendered.bind(this)),this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("column-format",this.formatHeader.bind(this))}initializeColumn(e){e.modules.format=this.lookupFormatter(e,""),typeof e.definition.formatterPrint<"u"&&(e.modules.format.print=this.lookupFormatter(e,"Print")),typeof e.definition.formatterClipboard<"u"&&(e.modules.format.clipboard=this.lookupFormatter(e,"Clipboard")),typeof e.definition.formatterHtmlOutput<"u"&&(e.modules.format.htmlOutput=this.lookupFormatter(e,"HtmlOutput"))}lookupFormatter(e,r){var S={params:e.definition["formatter"+r+"Params"]||{}},D=e.definition["formatter"+r];switch(typeof D){case"string":Yu.formatters[D]?S.formatter=Yu.formatters[D]:(console.warn("Formatter Error - No such formatter found: ",D),S.formatter=Yu.formatters.plaintext);break;case"function":S.formatter=D;break;default:S.formatter=Yu.formatters.plaintext;break}return S}cellRendered(e){e.modules.format&&e.modules.format.renderedCallback&&!e.modules.format.rendered&&(e.modules.format.renderedCallback(),e.modules.format.rendered=!0)}formatHeader(e,r,S){var D,T,p,t;return e.definition.titleFormatter?(D=this.getFormatter(e.definition.titleFormatter),p=d=>{e.titleFormatterRendered=d},t={getValue:function(){return r},getElement:function(){return S},getType:function(){return"header"},getColumn:function(){return e.getComponent()},getTable:()=>this.table},T=e.definition.titleFormatterParams||{},T=typeof T=="function"?T():T,D.call(this,t,T,p)):r}formatValue(e){var r=e.getComponent(),S=typeof e.column.modules.format.params=="function"?e.column.modules.format.params(r):e.column.modules.format.params;function D(T){e.modules.format||(e.modules.format={}),e.modules.format.renderedCallback=T,e.modules.format.rendered=!1}return e.column.modules.format.formatter.call(this,r,S,D)}formatExportValue(e,r){var S=e.column.modules.format[r],D;if(S){let p=function(t){e.modules.format||(e.modules.format={}),e.modules.format.renderedCallback=t,e.modules.format.rendered=!1};var T=p;return D=typeof S.params=="function"?S.params(e.getComponent()):S.params,S.formatter.call(this,e.getComponent(),D,p)}else return this.formatValue(e)}sanitizeHTML(e){if(e){var r={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};return String(e).replace(/[&<>"'`=/]/g,function(S){return r[S]})}else return e}emptyToSpace(e){return e===null||typeof e>"u"||e===""?" ":e}getFormatter(e){switch(typeof e){case"string":Yu.formatters[e]?e=Yu.formatters[e]:(console.warn("Formatter Error - No such formatter found: ",e),e=Yu.formatters.plaintext);break;case"function":break;default:e=Yu.formatters.plaintext;break}return e}}Yu.moduleName="format";Yu.formatters=oP;class zM extends qi{constructor(e){super(e),this.leftColumns=[],this.rightColumns=[],this.initializationMode="left",this.active=!1,this.blocked=!0,this.registerColumnOption("frozen")}reset(){this.initializationMode="left",this.leftColumns=[],this.rightColumns=[],this.active=!1}initialize(){this.subscribe("cell-layout",this.layoutCell.bind(this)),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("column-width",this.layout.bind(this)),this.subscribe("row-layout-after",this.layoutRow.bind(this)),this.subscribe("table-layout",this.layout.bind(this)),this.subscribe("columns-loading",this.reset.bind(this)),this.subscribe("column-add",this.reinitializeColumns.bind(this)),this.subscribe("column-deleted",this.reinitializeColumns.bind(this)),this.subscribe("column-hide",this.reinitializeColumns.bind(this)),this.subscribe("column-show",this.reinitializeColumns.bind(this)),this.subscribe("columns-loaded",this.reinitializeColumns.bind(this)),this.subscribe("table-redraw",this.layout.bind(this)),this.subscribe("layout-refreshing",this.blockLayout.bind(this)),this.subscribe("layout-refreshed",this.unblockLayout.bind(this)),this.subscribe("scrollbar-vertical",this.adjustForScrollbar.bind(this))}blockLayout(){this.blocked=!0}unblockLayout(){this.blocked=!1}layoutCell(e){this.layoutElement(e.element,e.column)}reinitializeColumns(){this.reset(),this.table.columnManager.columnsByIndex.forEach(e=>{this.initializeColumn(e)}),this.layout()}initializeColumn(e){var r={margin:0,edge:!1};e.isGroup||(this.frozenCheck(e)?(r.position=this.initializationMode,this.initializationMode=="left"?this.leftColumns.push(e):this.rightColumns.unshift(e),this.active=!0,e.modules.frozen=r):this.initializationMode="right")}frozenCheck(e){return e.parent.isGroup&&e.definition.frozen&&console.warn("Frozen Column Error - Parent column group must be frozen, not individual columns or sub column groups"),e.parent.isGroup?this.frozenCheck(e.parent):e.definition.frozen}layoutCalcRows(){this.table.modExists("columnCalcs")&&(this.table.modules.columnCalcs.topInitialized&&this.table.modules.columnCalcs.topRow&&this.layoutRow(this.table.modules.columnCalcs.topRow),this.table.modules.columnCalcs.botInitialized&&this.table.modules.columnCalcs.botRow&&this.layoutRow(this.table.modules.columnCalcs.botRow),this.table.modExists("groupRows")&&this.layoutGroupCalcs(this.table.modules.groupRows.getGroups()))}layoutGroupCalcs(e){e.forEach(r=>{r.calcs.top&&this.layoutRow(r.calcs.top),r.calcs.bottom&&this.layoutRow(r.calcs.bottom),r.groupList&&r.groupList.length&&this.layoutGroupCalcs(r.groupList)})}layoutColumnPosition(e){var r=[],S=0,D=0;this.leftColumns.forEach((T,p)=>{if(T.modules.frozen.marginValue=S,T.modules.frozen.margin=T.modules.frozen.marginValue+"px",T.visible&&(S+=T.getWidth()),p==this.leftColumns.length-1?T.modules.frozen.edge=!0:T.modules.frozen.edge=!1,T.parent.isGroup){var t=this.getColGroupParentElement(T);r.includes(t)||(this.layoutElement(t,T),r.push(t)),t.classList.toggle("tabulator-frozen-left",T.modules.frozen.edge&&T.modules.frozen.position==="left"),t.classList.toggle("tabulator-frozen-right",T.modules.frozen.edge&&T.modules.frozen.position==="right")}else this.layoutElement(T.getElement(),T);e&&T.cells.forEach(d=>{this.layoutElement(d.getElement(!0),T)})}),this.rightColumns.forEach((T,p)=>{T.modules.frozen.marginValue=D,T.modules.frozen.margin=T.modules.frozen.marginValue+"px",T.visible&&(D+=T.getWidth()),p==this.rightColumns.length-1?T.modules.frozen.edge=!0:T.modules.frozen.edge=!1,T.parent.isGroup?this.layoutElement(this.getColGroupParentElement(T),T):this.layoutElement(T.getElement(),T),e&&T.cells.forEach(t=>{this.layoutElement(t.getElement(!0),T)})})}getColGroupParentElement(e){return e.parent.isGroup?this.getColGroupParentElement(e.parent):e.getElement()}layout(){this.active&&!this.blocked&&(this.layoutColumnPosition(),this.reinitializeRows(),this.layoutCalcRows())}reinitializeRows(){var e=this.table.rowManager.getVisibleRows(!0),r=this.table.rowManager.getRows().filter(S=>!e.includes(S));r.forEach(S=>{S.deinitialize()}),e.forEach(S=>{S.type==="row"&&this.layoutRow(S)})}layoutRow(e){this.table.options.layout==="fitDataFill"&&this.rightColumns.length&&(this.table.rowManager.getTableElement().style.minWidth="calc(100% - "+this.rightMargin+")"),this.leftColumns.forEach(r=>{var S=e.getCell(r);S&&this.layoutElement(S.getElement(!0),r)}),this.rightColumns.forEach(r=>{var S=e.getCell(r);S&&this.layoutElement(S.getElement(!0),r)})}layoutElement(e,r){var S;r.modules.frozen&&e&&(e.style.position="sticky",this.table.rtl?S=r.modules.frozen.position==="left"?"right":"left":S=r.modules.frozen.position,e.style[S]=r.modules.frozen.margin,e.classList.add("tabulator-frozen"),e.classList.toggle("tabulator-frozen-left",r.modules.frozen.edge&&r.modules.frozen.position==="left"),e.classList.toggle("tabulator-frozen-right",r.modules.frozen.edge&&r.modules.frozen.position==="right"))}adjustForScrollbar(e){this.rightColumns.length&&(this.table.columnManager.getContentsElement().style.width="calc(100% - "+e+"px)")}_calcSpace(e,r){var S=0;for(let D=0;D{this.initializeRow(e)})}initializeRow(e){var r=this.table.options.frozenRows,S=typeof r;S==="number"?e.getPosition()&&e.getPosition()+this.rows.length<=r&&this.freezeRow(e):S==="function"?r.call(this.table,e.getComponent())&&this.freezeRow(e):Array.isArray(r)&&r.includes(e.data[this.options("frozenRowsField")])&&this.freezeRow(e)}isRowFrozen(e){var r=this.rows.indexOf(e);return r>-1}isFrozen(){return!!this.rows.length}visibleRows(e,r){return this.rows.forEach(S=>{r.push(S)}),r}getRows(e){var r=e.slice(0);return this.rows.forEach(function(S){var D=r.indexOf(S);D>-1&&r.splice(D,1)}),r}freezeRow(e){e.modules.frozen?console.warn("Freeze Error - Row is already frozen"):(e.modules.frozen=!0,this.topElement.appendChild(e.getElement()),e.initialize(),e.normalizeHeight(),this.rows.push(e),this.refreshData(!1,"display"),this.table.rowManager.adjustTableSize(),this.styleRows())}unfreezeRow(e){e.modules.frozen?(e.modules.frozen=!1,this.detachRow(e),this.table.rowManager.adjustTableSize(),this.refreshData(!1,"display"),this.rows.length&&this.styleRows()):console.warn("Freeze Error - Row is already unfrozen")}detachRow(e){var r=this.rows.indexOf(e);if(r>-1){var S=e.getElement();S.parentNode&&S.parentNode.removeChild(S),this.rows.splice(r,1)}}styleRows(e){this.rows.forEach((r,S)=>{this.table.rowManager.styleRow(r,S)})}}FM.moduleName="frozenRows";class sP{constructor(e){return this._group=e,this.type="GroupComponent",new Proxy(this,{get:function(r,S,D){return typeof r[S]<"u"?r[S]:r._group.groupManager.table.componentFunctionBinder.handle("group",r._group,S)}})}getKey(){return this._group.key}getField(){return this._group.field}getElement(){return this._group.element}getRows(){return this._group.getRows(!0)}getSubGroups(){return this._group.getSubGroups(!0)}getParentGroup(){return this._group.parent?this._group.parent.getComponent():!1}isVisible(){return this._group.visible}show(){this._group.show()}hide(){this._group.hide()}toggle(){this._group.toggleVisibility()}scrollTo(e,r){return this._group.groupManager.table.rowManager.scrollToRow(this._group,e,r)}_getSelf(){return this._group}getTable(){return this._group.groupManager.table}}class Fp{constructor(e,r,S,D,T,p,t){this.groupManager=e,this.parent=r,this.key=D,this.level=S,this.field=T,this.hasSubGroups=S{r.modules&&delete r.modules.group})),this.element=!1,this.arrowElement=!1,this.elementContents=!1}createElements(){var e=document.createElement("div");e.classList.add("tabulator-arrow"),this.element=document.createElement("div"),this.element.classList.add("tabulator-row"),this.element.classList.add("tabulator-group"),this.element.classList.add("tabulator-group-level-"+this.level),this.element.setAttribute("role","rowgroup"),this.arrowElement=document.createElement("div"),this.arrowElement.classList.add("tabulator-group-toggle"),this.arrowElement.appendChild(e),this.groupManager.table.options.movableRows!==!1&&this.groupManager.table.modExists("moveRow")&&this.groupManager.table.modules.moveRow.initializeGroupHeader(this)}createValueGroups(){var e=this.level+1;this.groupManager.allowedValues&&this.groupManager.allowedValues[e]&&this.groupManager.allowedValues[e].forEach(r=>{this._createGroup(r,e)})}addBindings(){var e;this.groupManager.table.options.groupToggleElement&&(e=this.groupManager.table.options.groupToggleElement=="arrow"?this.arrowElement:this.element,e.addEventListener("click",r=>{this.groupManager.table.options.groupToggleElement==="arrow"&&(r.stopPropagation(),r.stopImmediatePropagation()),setTimeout(()=>{this.toggleVisibility()})}))}_createGroup(e,r){var S=r+"_"+e,D=new Fp(this.groupManager,this,r,e,this.groupManager.groupIDLookups[r].field,this.groupManager.headerGenerator[r]||this.groupManager.headerGenerator[0],this.old?this.old.groups[S]:!1);this.groups[S]=D,this.groupList.push(D)}_addRowToGroup(e){var r=this.level+1;if(this.hasSubGroups){var S=this.groupManager.groupIDLookups[r].func(e.getData()),D=r+"_"+S;this.groupManager.allowedValues&&this.groupManager.allowedValues[r]?this.groups[D]&&this.groups[D].addRow(e):(this.groups[D]||this._createGroup(S,r),this.groups[D].addRow(e))}}_addRow(e){this.rows.push(e),e.modules.group=this}insertRow(e,r,S){var D=this.conformRowData({});e.updateData(D);var T=this.rows.indexOf(r);T>-1?S?this.rows.splice(T+1,0,e):this.rows.splice(T,0,e):S?this.rows.push(e):this.rows.unshift(e),e.modules.group=this,this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modules.columnCalcs.recalcGroup(this),this.groupManager.updateGroupRows(!0)}scrollHeader(e){this.arrowElement&&(this.arrowElement.style.marginLeft=e,this.groupList.forEach(function(r){r.scrollHeader(e)}))}getRowIndex(e){}conformRowData(e){return this.field?e[this.field]=this.key:console.warn("Data Conforming Error - Cannot conform row data to match new group as groupBy is a function"),this.parent&&(e=this.parent.conformRowData(e)),e}removeRow(e){var r=this.rows.indexOf(e),S=e.getElement();r>-1&&this.rows.splice(r,1),!this.groupManager.table.options.groupValues&&!this.rows.length?(this.parent?this.parent.removeGroup(this):this.groupManager.removeGroup(this),this.groupManager.updateGroupRows(!0)):(S.parentNode&&S.parentNode.removeChild(S),this.groupManager.blockRedraw||(this.generateGroupHeaderContents(),this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modules.columnCalcs.recalcGroup(this)))}removeGroup(e){var r=e.level+"_"+e.key,S;this.groups[r]&&(delete this.groups[r],S=this.groupList.indexOf(e),S>-1&&this.groupList.splice(S,1),this.groupList.length||(this.parent?this.parent.removeGroup(this):this.groupManager.removeGroup(this)))}getHeadersAndRows(){var e=[];return e.push(this),this._visSet(),this.calcs.top&&(this.calcs.top.detachElement(),this.calcs.top.deleteCells()),this.calcs.bottom&&(this.calcs.bottom.detachElement(),this.calcs.bottom.deleteCells()),this.visible?this.groupList.length?this.groupList.forEach(function(r){e=e.concat(r.getHeadersAndRows())}):(this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.modules.columnCalcs.hasTopCalcs()&&(this.calcs.top=this.groupManager.table.modules.columnCalcs.generateTopRow(this.rows),e.push(this.calcs.top)),e=e.concat(this.rows),this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.modules.columnCalcs.hasBottomCalcs()&&(this.calcs.bottom=this.groupManager.table.modules.columnCalcs.generateBottomRow(this.rows),e.push(this.calcs.bottom))):!this.groupList.length&&this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modExists("columnCalcs")&&(this.groupManager.table.modules.columnCalcs.hasTopCalcs()&&this.groupManager.table.options.groupClosedShowCalcs&&(this.calcs.top=this.groupManager.table.modules.columnCalcs.generateTopRow(this.rows),e.push(this.calcs.top)),this.groupManager.table.modules.columnCalcs.hasBottomCalcs()&&this.groupManager.table.options.groupClosedShowCalcs&&(this.calcs.bottom=this.groupManager.table.modules.columnCalcs.generateBottomRow(this.rows),e.push(this.calcs.bottom))),e}getData(e,r){var S=[];return this._visSet(),(!e||e&&this.visible)&&this.rows.forEach(D=>{S.push(D.getData(r||"data"))}),S}getRowCount(){var e=0;return this.groupList.length?this.groupList.forEach(r=>{e+=r.getRowCount()}):e=this.rows.length,e}toggleVisibility(){this.visible?this.hide():this.show()}hide(){this.visible=!1,this.groupManager.table.rowManager.getRenderMode()=="basic"&&!this.groupManager.table.options.pagination?(this.element.classList.remove("tabulator-group-visible"),this.groupList.length?this.groupList.forEach(e=>{var r=e.getHeadersAndRows();r.forEach(S=>{S.detachElement()})}):this.rows.forEach(e=>{var r=e.getElement();r.parentNode.removeChild(r)}),this.groupManager.updateGroupRows(!0)):this.groupManager.updateGroupRows(!0),this.groupManager.table.externalEvents.dispatch("groupVisibilityChanged",this.getComponent(),!1)}show(){if(this.visible=!0,this.groupManager.table.rowManager.getRenderMode()=="basic"&&!this.groupManager.table.options.pagination){this.element.classList.add("tabulator-group-visible");var e=this.generateElement();this.groupList.length?this.groupList.forEach(r=>{var S=r.getHeadersAndRows();S.forEach(D=>{var T=D.getElement();e.parentNode.insertBefore(T,e.nextSibling),D.initialize(),e=T})}):this.rows.forEach(r=>{var S=r.getElement();e.parentNode.insertBefore(S,e.nextSibling),r.initialize(),e=S}),this.groupManager.updateGroupRows(!0)}else this.groupManager.updateGroupRows(!0);this.groupManager.table.externalEvents.dispatch("groupVisibilityChanged",this.getComponent(),!0)}_visSet(){var e=[];typeof this.visible=="function"&&(this.rows.forEach(function(r){e.push(r.getData())}),this.visible=this.visible(this.key,this.getRowCount(),e,this.getComponent()))}getRowGroup(e){var r=!1;return this.groupList.length?this.groupList.forEach(function(S){var D=S.getRowGroup(e);D&&(r=D)}):this.rows.find(function(S){return S===e})&&(r=this),r}getSubGroups(e){var r=[];return this.groupList.forEach(function(S){r.push(e?S.getComponent():S)}),r}getRows(e,r){var S=[];return r&&this.groupList.length?this.groupList.forEach(D=>{S=S.concat(D.getRows(e,r))}):this.rows.forEach(function(D){S.push(e?D.getComponent():D)}),S}generateGroupHeaderContents(){var e=[],r=this.getRows(!1,!0);for(r.forEach(function(S){e.push(S.getData())}),this.elementContents=this.generator(this.key,this.getRowCount(),e,this.getComponent());this.element.firstChild;)this.element.removeChild(this.element.firstChild);typeof this.elementContents=="string"?this.element.innerHTML=this.elementContents:this.element.appendChild(this.elementContents),this.element.insertBefore(this.arrowElement,this.element.firstChild)}getPath(e=[]){return e.unshift(this.key),this.parent&&this.parent.getPath(e),e}getElement(){return this.elementContents?this.element:this.generateElement()}generateElement(){this.addBindings=!1,this._visSet(),this.visible?this.element.classList.add("tabulator-group-visible"):this.element.classList.remove("tabulator-group-visible");for(var e=0;eS.length&&console.warn("Error creating group headers, groupHeader array is shorter than groupBy array"),this.headerGenerator=[function(){return""}],this.startOpen=[function(){return!1}],this.langBind("groups|item",(T,p)=>{this.headerGenerator[0]=(t,d,g)=>(typeof t>"u"?"":t)+"("+d+" "+(d===1?T:p.groups.items)+")"}),this.groupIDLookups=[],e)this.table.modExists("columnCalcs")&&this.table.options.columnCalcs!="table"&&this.table.options.columnCalcs!="both"&&this.table.modules.columnCalcs.removeCalcs();else if(this.table.modExists("columnCalcs")&&this.table.options.columnCalcs!="group"){var D=this.table.columnManager.getRealColumns();D.forEach(T=>{T.definition.topCalc&&this.table.modules.columnCalcs.initializeTopRow(),T.definition.bottomCalc&&this.table.modules.columnCalcs.initializeBottomRow()})}Array.isArray(e)||(e=[e]),e.forEach((T,p)=>{var t,d;typeof T=="function"?t=T:(d=this.table.columnManager.getColumnByField(T),d?t=function(g){return d.getFieldValue(g)}:t=function(g){return g[T]}),this.groupIDLookups.push({field:typeof T=="function"?!1:T,func:t,values:this.allowedValues?this.allowedValues[p]:!1})}),r&&(Array.isArray(r)||(r=[r]),r.forEach(T=>{}),this.startOpen=r),S&&(this.headerGenerator=Array.isArray(S)?S:[S])}else this.groupList=[],this.groups={}}rowSample(e,r){if(this.table.options.groupBy){var S=this.getGroups(!1)[0];r.push(S.getRows(!1)[0])}return r}virtualRenderFill(){var e=this.table.rowManager.tableElement,r=this.table.rowManager.getVisibleRows();if(this.table.options.groupBy)r=r.filter(S=>S.type!=="group"),e.style.minWidth=r.length?"":this.table.columnManager.getWidth()+"px";else return r}rowAddingIndex(e,r,S){if(this.table.options.groupBy){this.assignRowToGroup(e);var D=e.modules.group.rows;return D.length>1&&(!r||r&&D.indexOf(r)==-1?S?D[0]!==e&&(r=D[0],this.table.rowManager.moveRowInArray(e.modules.group.rows,e,r,!S)):D[D.length-1]!==e&&(r=D[D.length-1],this.table.rowManager.moveRowInArray(e.modules.group.rows,e,r,!S)):this.table.rowManager.moveRowInArray(e.modules.group.rows,e,r,!S)),r}}trackChanges(){this.dispatch("group-changed")}setGroupBy(e){this.table.options.groupBy=e,this.initialized||this.initialize(),this.configureGroupSetup(),!e&&this.table.modExists("columnCalcs")&&this.table.options.columnCalcs===!0&&this.table.modules.columnCalcs.reinitializeCalcs(),this.refreshData(),this.trackChanges()}setGroupValues(e){this.table.options.groupValues=e,this.configureGroupSetup(),this.refreshData(),this.trackChanges()}setGroupStartOpen(e){this.table.options.groupStartOpen=e,this.configureGroupSetup(),this.table.options.groupBy?(this.refreshData(),this.trackChanges()):console.warn("Grouping Update - cant refresh view, no groups have been set")}setGroupHeader(e){this.table.options.groupHeader=e,this.configureGroupSetup(),this.table.options.groupBy?(this.refreshData(),this.trackChanges()):console.warn("Grouping Update - cant refresh view, no groups have been set")}userGetGroups(e){return this.getGroups(!0)}userGetGroupedData(){return this.table.options.groupBy?this.getGroupedData():this.getData()}rowGetGroup(e){return e.modules.group?e.modules.group.getComponent():!1}rowMoving(e,r,S){if(this.table.options.groupBy){!S&&r instanceof Fp&&(r=this.table.rowManager.prevDisplayRow(e)||r);var D=r instanceof Fp?r:r.modules.group,T=e instanceof Fp?e:e.modules.group;D===T?this.table.rowManager.moveRowInArray(D.rows,e,r,S):(T&&T.removeRow(e),D.insertRow(e,r,S))}}rowDeleting(e){this.table.options.groupBy&&e.modules.group&&e.modules.group.removeRow(e)}rowsUpdated(e){this.table.options.groupBy&&this.updateGroupRows(!0)}cellUpdated(e){this.table.options.groupBy&&this.reassignRowToGroup(e.row)}getRows(e){return this.table.options.groupBy&&this.groupIDLookups.length?(this.dispatchExternal("dataGrouping"),this.generateGroups(e),this.subscribedExternal("dataGrouped")&&this.dispatchExternal("dataGrouped",this.getGroups(!0)),this.updateGroupRows()):e.slice(0)}getGroups(e){var r=[];return this.groupList.forEach(function(S){r.push(e?S.getComponent():S)}),r}getChildGroups(e){var r=[];return e||(e=this),e.groupList.forEach(S=>{S.groupList.length?r=r.concat(this.getChildGroups(S)):r.push(S)}),r}wipe(){this.table.options.groupBy&&(this.groupList.forEach(function(e){e.wipe()}),this.groupList=[],this.groups={})}pullGroupListData(e){var r=[];return e.forEach(S=>{var D={};D.level=0,D.rowCount=0,D.headerContent="";var T=[];S.hasSubGroups?(T=this.pullGroupListData(S.groupList),D.level=S.level,D.rowCount=T.length-S.groupList.length,D.headerContent=S.generator(S.key,D.rowCount,S.rows,S),r.push(D),r=r.concat(T)):(D.level=S.level,D.headerContent=S.generator(S.key,S.rows.length,S.rows,S),D.rowCount=S.getRows().length,r.push(D),S.getRows().forEach(p=>{r.push(p.getData("data"))}))}),r}getGroupedData(){return this.pullGroupListData(this.groupList)}getRowGroup(e){var r=!1;return this.options("dataTree")&&(e=this.table.modules.dataTree.getTreeParentRoot(e)),this.groupList.forEach(S=>{var D=S.getRowGroup(e);D&&(r=D)}),r}countGroups(){return this.groupList.length}generateGroups(e){var r=this.groups;this.groups={},this.groupList=[],this.allowedValues&&this.allowedValues[0]?(this.allowedValues[0].forEach(S=>{this.createGroup(S,0,r)}),e.forEach(S=>{this.assignRowToExistingGroup(S,r)})):e.forEach(S=>{this.assignRowToGroup(S,r)}),Object.values(r).forEach(S=>{S.wipe(!0)})}createGroup(e,r,S){var D=r+"_"+e,T;S=S||[],T=new Fp(this,!1,r,e,this.groupIDLookups[0].field,this.headerGenerator[0],S[D]),this.groups[D]=T,this.groupList.push(T)}assignRowToExistingGroup(e,r){var S=this.groupIDLookups[0].func(e.getData()),D="0_"+S;this.groups[D]&&this.groups[D].addRow(e)}assignRowToGroup(e,r){var S=this.groupIDLookups[0].func(e.getData()),D=!this.groups["0_"+S];return D&&this.createGroup(S,0,r),this.groups["0_"+S].addRow(e),!D}reassignRowToGroup(e){if(e.type==="row"){var r=e.modules.group,S=r.getPath(),D=this.getExpectedPath(e),T;T=S.length==D.length&&S.every((p,t)=>p===D[t]),T||(r.removeRow(e),this.assignRowToGroup(e,this.groups),this.refreshData(!0))}}getExpectedPath(e){var r=[],S=e.getData();return this.groupIDLookups.forEach(D=>{r.push(D.func(S))}),r}updateGroupRows(e){var r=[];return this.blockRedraw||(this.groupList.forEach(S=>{r=r.concat(S.getHeadersAndRows())}),e&&this.refreshData(!0)),r}scrollHeaders(e){this.table.options.groupBy&&(this.table.options.renderHorizontal==="virtual"&&(e-=this.table.columnManager.renderer.vDomPadLeft),e=e+"px",this.groupList.forEach(r=>{r.scrollHeader(e)}))}removeGroup(e){var r=e.level+"_"+e.key,S;this.groups[r]&&(delete this.groups[r],S=this.groupList.indexOf(e),S>-1&&this.groupList.splice(S,1))}checkBasicModeGroupHeaderWidth(){var e=this.table.rowManager.tableElement,r=!0;this.table.rowManager.getDisplayRows().forEach((S,D)=>{this.table.rowManager.styleRow(S,D),e.appendChild(S.getElement()),S.initialize(!0),S.type!=="group"&&(r=!1)}),r?e.style.minWidth=this.table.columnManager.getWidth()+"px":e.style.minWidth=""}}BM.moduleName="groupRows";var lP={cellEdit:function(n){n.component.setValueProcessData(n.data.oldValue),n.component.cellRendered()},rowAdd:function(n){n.component.deleteActual(),this.table.rowManager.checkPlaceholder()},rowDelete:function(n){var e=this.table.rowManager.addRowActual(n.data.data,n.data.pos,n.data.index);this.table.options.groupBy&&this.table.modExists("groupRows")&&this.table.modules.groupRows.updateGroupRows(!0),this._rebindRow(n.component,e),this.table.rowManager.checkPlaceholder()},rowMove:function(n){var e=n.data.posFrom-n.data.posTo>0;this.table.rowManager.moveRowActual(n.component,this.table.rowManager.getRowFromPosition(n.data.posFrom),e),this.table.rowManager.regenerateRowPositions(),this.table.rowManager.reRenderInPosition()}},uP={cellEdit:function(n){n.component.setValueProcessData(n.data.newValue),n.component.cellRendered()},rowAdd:function(n){var e=this.table.rowManager.addRowActual(n.data.data,n.data.pos,n.data.index);this.table.options.groupBy&&this.table.modExists("groupRows")&&this.table.modules.groupRows.updateGroupRows(!0),this._rebindRow(n.component,e),this.table.rowManager.checkPlaceholder()},rowDelete:function(n){n.component.deleteActual(),this.table.rowManager.checkPlaceholder()},rowMove:function(n){this.table.rowManager.moveRowActual(n.component,this.table.rowManager.getRowFromPosition(n.data.posTo),n.data.after),this.table.rowManager.regenerateRowPositions(),this.table.rowManager.reRenderInPosition()}};class Wd extends qi{constructor(e){super(e),this.history=[],this.index=-1,this.registerTableOption("history",!1)}initialize(){this.table.options.history&&(this.subscribe("cell-value-updated",this.cellUpdated.bind(this)),this.subscribe("cell-delete",this.clearComponentHistory.bind(this)),this.subscribe("row-delete",this.rowDeleted.bind(this)),this.subscribe("rows-wipe",this.clear.bind(this)),this.subscribe("row-added",this.rowAdded.bind(this)),this.subscribe("row-move",this.rowMoved.bind(this))),this.registerTableFunction("undo",this.undo.bind(this)),this.registerTableFunction("redo",this.redo.bind(this)),this.registerTableFunction("getHistoryUndoSize",this.getHistoryUndoSize.bind(this)),this.registerTableFunction("getHistoryRedoSize",this.getHistoryRedoSize.bind(this)),this.registerTableFunction("clearHistory",this.clear.bind(this))}rowMoved(e,r,S){this.action("rowMove",e,{posFrom:e.getPosition(),posTo:r.getPosition(),to:r,after:S})}rowAdded(e,r,S,D){this.action("rowAdd",e,{data:r,pos:S,index:D})}rowDeleted(e){var r,S;this.table.options.groupBy?(S=e.getComponent().getGroup()._getSelf().rows,r=S.indexOf(e),r&&(r=S[r-1])):(r=e.table.rowManager.getRowIndex(e),r&&(r=e.table.rowManager.rows[r-1])),this.action("rowDelete",e,{data:e.getData(),pos:!r,index:r})}cellUpdated(e){this.action("cellEdit",e,{oldValue:e.oldValue,newValue:e.value})}clear(){this.history=[],this.index=-1}action(e,r,S){this.history=this.history.slice(0,this.index+1),this.history.push({type:e,component:r,data:S}),this.index++}getHistoryUndoSize(){return this.index+1}getHistoryRedoSize(){return this.history.length-(this.index+1)}clearComponentHistory(e){var r=this.history.findIndex(function(S){return S.component===e});r>-1&&(this.history.splice(r,1),r<=this.index&&this.index--,this.clearComponentHistory(e))}undo(){if(this.index>-1){let e=this.history[this.index];return Wd.undoers[e.type].call(this,e),this.index--,this.dispatchExternal("historyUndo",e.type,e.component.getComponent(),e.data),!0}else return console.warn(this.options("history")?"History Undo Error - No more history to undo":"History module not enabled"),!1}redo(){if(this.history.length-1>this.index){this.index++;let e=this.history[this.index];return Wd.redoers[e.type].call(this,e),this.dispatchExternal("historyRedo",e.type,e.component.getComponent(),e.data),!0}else return console.warn(this.options("history")?"History Redo Error - No more history to redo":"History module not enabled"),!1}_rebindRow(e,r){this.history.forEach(function(S){if(S.component instanceof vl)S.component===e&&(S.component=r);else if(S.component instanceof eg&&S.component.row===e){var D=S.component.column.getField();D&&(S.component=r.getCell(D))}})}}Wd.moduleName="history";Wd.undoers=lP;Wd.redoers=uP;class NM extends qi{constructor(e){super(e),this.fieldIndex=[],this.hasIndex=!1}initialize(){this.tableElementCheck()}tableElementCheck(){this.table.originalElement&&this.table.originalElement.tagName==="TABLE"&&(this.table.originalElement.childNodes.length?this.parseTable():console.warn("Unable to parse data from empty table tag, Tabulator should be initialized on a div tag unless importing data from a table element."))}parseTable(){var e=this.table.originalElement,r=this.table.options,S=e.getElementsByTagName("th"),D=e.getElementsByTagName("tbody")[0],T=[];this.hasIndex=!1,this.dispatchExternal("htmlImporting"),D=D?D.getElementsByTagName("tr"):[],this._extractOptions(e,r),S.length?this._extractHeaders(S,D):this._generateBlankHeaders(S,D);for(var p=0;p{p[i.toLowerCase()]=i});for(var t in D){var d=D[t],g;d&&typeof d=="object"&&d.name&&d.name.indexOf("tabulator-")===0&&(g=d.name.replace("tabulator-",""),typeof p[g]<"u"&&(r[p[g]]=this._attribValue(d.value)))}}_attribValue(e){return e==="true"?!0:e==="false"?!1:e}_findCol(e){var r=this.table.options.columns.find(S=>S.title===e);return r||!1}_extractHeaders(e,r){for(var S=0;S(console.error("Import Error:",p||"Unable to import data"),Promise.reject(p)))}lookupImporter(e){var r;return e||(e=this.table.options.importFormat),typeof e=="string"?r=ng.importers[e]:r=e,r||console.error("Import Error - Importer not found:",e),r}importFromFile(e,r){var S=this.lookupImporter(e);if(S)return this.pickFile(r).then(this.importData.bind(this,S)).then(this.structureData.bind(this)).then(this.setData.bind(this)).catch(D=>(console.error("Import Error:",D||"Unable to import file"),Promise.reject(D)))}pickFile(e){return new Promise((r,S)=>{var D=document.createElement("input");D.type="file",D.accept=e,D.addEventListener("change",T=>{var p=D.files[0],t=new FileReader;switch(this.table.options.importReader){case"buffer":t.readAsArrayBuffer(p);break;case"binary":t.readAsBinaryString(p);break;case"url":t.readAsDataURL(p);break;case"text":default:t.readAsText(p)}t.onload=d=>{r(t.result)},t.onerror=d=>{console.warn("File Load Error - Unable to read file"),S()}}),D.click()})}importData(e,r){var S=e.call(this.table,r);return S instanceof Promise?S:S?Promise.resolve(S):Promise.reject()}structureData(e){var r=[];return Array.isArray(e)&&e.length&&Array.isArray(e[0])?(this.table.options.autoColumns?r=this.structureArrayToObject(e):r=this.structureArrayToColumns(e),r):e}structureArrayToObject(e){var r=e.shift(),S=e.map(D=>{var T={};return r.forEach((p,t)=>{T[p]=D[t]}),T});return S}structureArrayToColumns(e){var r=[],S=this.table.getColumns();return S[0]&&e[0][0]&&S[0].getDefinition().title===e[0][0]&&e.shift(),e.forEach(D=>{var T={};D.forEach((p,t)=>{var d=S[t];d&&(T[d.getField()]=p)}),r.push(T)}),r}setData(e){return this.table.setData(e)}}ng.moduleName="import";ng.importers=dP;class VM extends qi{constructor(e){super(e),this.eventMap={rowClick:"row-click",rowDblClick:"row-dblclick",rowContext:"row-contextmenu",rowMouseEnter:"row-mouseenter",rowMouseLeave:"row-mouseleave",rowMouseOver:"row-mouseover",rowMouseOut:"row-mouseout",rowMouseMove:"row-mousemove",rowMouseDown:"row-mousedown",rowMouseUp:"row-mouseup",rowTap:"row",rowDblTap:"row",rowTapHold:"row",cellClick:"cell-click",cellDblClick:"cell-dblclick",cellContext:"cell-contextmenu",cellMouseEnter:"cell-mouseenter",cellMouseLeave:"cell-mouseleave",cellMouseOver:"cell-mouseover",cellMouseOut:"cell-mouseout",cellMouseMove:"cell-mousemove",cellMouseDown:"cell-mousedown",cellMouseUp:"cell-mouseup",cellTap:"cell",cellDblTap:"cell",cellTapHold:"cell",headerClick:"column-click",headerDblClick:"column-dblclick",headerContext:"column-contextmenu",headerMouseEnter:"column-mouseenter",headerMouseLeave:"column-mouseleave",headerMouseOver:"column-mouseover",headerMouseOut:"column-mouseout",headerMouseMove:"column-mousemove",headerMouseDown:"column-mousedown",headerMouseUp:"column-mouseup",headerTap:"column",headerDblTap:"column",headerTapHold:"column",groupClick:"group-click",groupDblClick:"group-dblclick",groupContext:"group-contextmenu",groupMouseEnter:"group-mouseenter",groupMouseLeave:"group-mouseleave",groupMouseOver:"group-mouseover",groupMouseOut:"group-mouseout",groupMouseMove:"group-mousemove",groupMouseDown:"group-mousedown",groupMouseUp:"group-mouseup",groupTap:"group",groupDblTap:"group",groupTapHold:"group"},this.subscribers={},this.touchSubscribers={},this.columnSubscribers={},this.touchWatchers={row:{tap:null,tapDbl:null,tapHold:null},cell:{tap:null,tapDbl:null,tapHold:null},column:{tap:null,tapDbl:null,tapHold:null},group:{tap:null,tapDbl:null,tapHold:null}},this.registerColumnOption("headerClick"),this.registerColumnOption("headerDblClick"),this.registerColumnOption("headerContext"),this.registerColumnOption("headerMouseEnter"),this.registerColumnOption("headerMouseLeave"),this.registerColumnOption("headerMouseOver"),this.registerColumnOption("headerMouseOut"),this.registerColumnOption("headerMouseMove"),this.registerColumnOption("headerMouseDown"),this.registerColumnOption("headerMouseUp"),this.registerColumnOption("headerTap"),this.registerColumnOption("headerDblTap"),this.registerColumnOption("headerTapHold"),this.registerColumnOption("cellClick"),this.registerColumnOption("cellDblClick"),this.registerColumnOption("cellContext"),this.registerColumnOption("cellMouseEnter"),this.registerColumnOption("cellMouseLeave"),this.registerColumnOption("cellMouseOver"),this.registerColumnOption("cellMouseOut"),this.registerColumnOption("cellMouseMove"),this.registerColumnOption("cellMouseDown"),this.registerColumnOption("cellMouseUp"),this.registerColumnOption("cellTap"),this.registerColumnOption("cellDblTap"),this.registerColumnOption("cellTapHold")}initialize(){this.initializeExternalEvents(),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("cell-dblclick",this.cellContentsSelectionFixer.bind(this)),this.subscribe("scroll-horizontal",this.clearTouchWatchers.bind(this)),this.subscribe("scroll-vertical",this.clearTouchWatchers.bind(this))}clearTouchWatchers(){var e=Object.values(this.touchWatchers);e.forEach(r=>{for(let S in r)r[S]=null})}cellContentsSelectionFixer(e,r){var S;if(!(this.table.modExists("edit")&&this.table.modules.edit.currentCell===r)){e.preventDefault();try{document.selection?(S=document.body.createTextRange(),S.moveToElementText(r.getElement()),S.select()):window.getSelection&&(S=document.createRange(),S.selectNode(r.getElement()),window.getSelection().removeAllRanges(),window.getSelection().addRange(S))}catch{}}}initializeExternalEvents(){for(let e in this.eventMap)this.subscriptionChangeExternal(e,this.subscriptionChanged.bind(this,e))}subscriptionChanged(e,r){r?this.subscribers[e]||(this.eventMap[e].includes("-")?(this.subscribers[e]=this.handle.bind(this,e),this.subscribe(this.eventMap[e],this.subscribers[e])):this.subscribeTouchEvents(e)):this.eventMap[e].includes("-")?this.subscribers[e]&&!this.columnSubscribers[e]&&!this.subscribedExternal(e)&&(this.unsubscribe(this.eventMap[e],this.subscribers[e]),delete this.subscribers[e]):this.unsubscribeTouchEvents(e)}subscribeTouchEvents(e){var r=this.eventMap[e];this.touchSubscribers[r+"-touchstart"]||(this.touchSubscribers[r+"-touchstart"]=this.handleTouch.bind(this,r,"start"),this.touchSubscribers[r+"-touchend"]=this.handleTouch.bind(this,r,"end"),this.subscribe(r+"-touchstart",this.touchSubscribers[r+"-touchstart"]),this.subscribe(r+"-touchend",this.touchSubscribers[r+"-touchend"])),this.subscribers[e]=!0}unsubscribeTouchEvents(e){var r=!0,S=this.eventMap[e];if(this.subscribers[e]&&!this.subscribedExternal(e)){delete this.subscribers[e];for(let D in this.eventMap)this.eventMap[D]===S&&this.subscribers[D]&&(r=!1);r&&(this.unsubscribe(S+"-touchstart",this.touchSubscribers[S+"-touchstart"]),this.unsubscribe(S+"-touchend",this.touchSubscribers[S+"-touchend"]),delete this.touchSubscribers[S+"-touchstart"],delete this.touchSubscribers[S+"-touchend"])}}initializeColumn(e){var r=e.definition;for(let S in this.eventMap)r[S]&&(this.subscriptionChanged(S,!0),this.columnSubscribers[S]||(this.columnSubscribers[S]=[]),this.columnSubscribers[S].push(e))}handle(e,r,S){this.dispatchEvent(e,r,S)}handleTouch(e,r,S,D){var T=this.touchWatchers[e];switch(e==="column"&&(e="header"),r){case"start":T.tap=!0,clearTimeout(T.tapHold),T.tapHold=setTimeout(()=>{clearTimeout(T.tapHold),T.tapHold=null,T.tap=null,clearTimeout(T.tapDbl),T.tapDbl=null,this.dispatchEvent(e+"TapHold",S,D)},1e3);break;case"end":T.tap&&(T.tap=null,this.dispatchEvent(e+"Tap",S,D)),T.tapDbl?(clearTimeout(T.tapDbl),T.tapDbl=null,this.dispatchEvent(e+"DblTap",S,D)):T.tapDbl=setTimeout(()=>{clearTimeout(T.tapDbl),T.tapDbl=null},300),clearTimeout(T.tapHold),T.tapHold=null;break}}dispatchEvent(e,r,S){var D=S.getComponent(),T;this.columnSubscribers[e]&&(S instanceof eg?T=S.column.definition[e]:S instanceof vh&&(T=S.definition[e]),T&&T(r,D)),this.dispatchExternal(e,r,D)}}VM.moduleName="interaction";var pP={navPrev:"shift + 9",navNext:9,navUp:38,navDown:40,navLeft:37,navRight:39,scrollPageUp:33,scrollPageDown:34,scrollToStart:36,scrollToEnd:35,undo:["ctrl + 90","meta + 90"],redo:["ctrl + 89","meta + 89"],copyToClipboard:["ctrl + 67","meta + 67"],rangeJumpUp:["ctrl + 38","meta + 38"],rangeJumpDown:["ctrl + 40","meta + 40"],rangeJumpLeft:["ctrl + 37","meta + 37"],rangeJumpRight:["ctrl + 39","meta + 39"],rangeExpandUp:"shift + 38",rangeExpandDown:"shift + 40",rangeExpandLeft:"shift + 37",rangeExpandRight:"shift + 39",rangeExpandJumpUp:["ctrl + shift + 38","meta + shift + 38"],rangeExpandJumpDown:["ctrl + shift + 40","meta + shift + 40"],rangeExpandJumpLeft:["ctrl + shift + 37","meta + shift + 37"],rangeExpandJumpRight:["ctrl + shift + 39","meta + shift + 39"]},mP={keyBlock:function(n){n.stopPropagation(),n.preventDefault()},scrollPageUp:function(n){var e=this.table.rowManager,r=e.scrollTop-e.element.clientHeight;n.preventDefault(),e.displayRowsCount&&(r>=0?e.element.scrollTop=r:e.scrollToRow(e.getDisplayRows()[0])),this.table.element.focus()},scrollPageDown:function(n){var e=this.table.rowManager,r=e.scrollTop+e.element.clientHeight,S=e.element.scrollHeight;n.preventDefault(),e.displayRowsCount&&(r<=S?e.element.scrollTop=r:e.scrollToRow(e.getDisplayRows()[e.displayRowsCount-1])),this.table.element.focus()},scrollToStart:function(n){var e=this.table.rowManager;n.preventDefault(),e.displayRowsCount&&e.scrollToRow(e.getDisplayRows()[0]),this.table.element.focus()},scrollToEnd:function(n){var e=this.table.rowManager;n.preventDefault(),e.displayRowsCount&&e.scrollToRow(e.getDisplayRows()[e.displayRowsCount-1]),this.table.element.focus()},navPrev:function(n){this.dispatch("keybinding-nav-prev",n)},navNext:function(n){this.dispatch("keybinding-nav-next",n)},navLeft:function(n){this.dispatch("keybinding-nav-left",n)},navRight:function(n){this.dispatch("keybinding-nav-right",n)},navUp:function(n){this.dispatch("keybinding-nav-up",n)},navDown:function(n){this.dispatch("keybinding-nav-down",n)},rangeJumpLeft:function(n){this.dispatch("keybinding-nav-range",n,"left",!0,!1)},rangeJumpRight:function(n){this.dispatch("keybinding-nav-range",n,"right",!0,!1)},rangeJumpUp:function(n){this.dispatch("keybinding-nav-range",n,"up",!0,!1)},rangeJumpDown:function(n){this.dispatch("keybinding-nav-range",n,"down",!0,!1)},rangeExpandLeft:function(n){this.dispatch("keybinding-nav-range",n,"left",!1,!0)},rangeExpandRight:function(n){this.dispatch("keybinding-nav-range",n,"right",!1,!0)},rangeExpandUp:function(n){this.dispatch("keybinding-nav-range",n,"up",!1,!0)},rangeExpandDown:function(n){this.dispatch("keybinding-nav-range",n,"down",!1,!0)},rangeExpandJumpLeft:function(n){this.dispatch("keybinding-nav-range",n,"left",!0,!0)},rangeExpandJumpRight:function(n){this.dispatch("keybinding-nav-range",n,"right",!0,!0)},rangeExpandJumpUp:function(n){this.dispatch("keybinding-nav-range",n,"up",!0,!0)},rangeExpandJumpDown:function(n){this.dispatch("keybinding-nav-range",n,"down",!0,!0)},undo:function(n){var e=!1;this.table.options.history&&this.table.modExists("history")&&this.table.modExists("edit")&&(e=this.table.modules.edit.currentCell,e||(n.preventDefault(),this.table.modules.history.undo()))},redo:function(n){var e=!1;this.table.options.history&&this.table.modExists("history")&&this.table.modExists("edit")&&(e=this.table.modules.edit.currentCell,e||(n.preventDefault(),this.table.modules.history.redo()))},copyToClipboard:function(n){this.table.modules.edit.currentCell||this.table.modExists("clipboard",!0)&&this.table.modules.clipboard.copy(!1,!0)}};class Vf extends qi{constructor(e){super(e),this.watchKeys=null,this.pressedKeys=null,this.keyupBinding=!1,this.keydownBinding=!1,this.registerTableOption("keybindings",{}),this.registerTableOption("tabEndNewRow",!1)}initialize(){var e=this.table.options.keybindings,r={};this.watchKeys={},this.pressedKeys=[],e!==!1&&(Object.assign(r,Vf.bindings),Object.assign(r,e),this.mapBindings(r),this.bindEvents()),this.subscribe("table-destroy",this.clearBindings.bind(this))}mapBindings(e){for(let r in e)Vf.actions[r]?e[r]&&(typeof e[r]!="object"&&(e[r]=[e[r]]),e[r].forEach(S=>{var D=Array.isArray(S)?S:[S];D.forEach(T=>{this.mapBinding(r,T)})})):console.warn("Key Binding Error - no such action:",r)}mapBinding(e,r){var S={action:Vf.actions[e],keys:[],ctrl:!1,shift:!1,meta:!1},D=r.toString().toLowerCase().split(" ").join("").split("+");D.forEach(T=>{switch(T){case"ctrl":S.ctrl=!0;break;case"shift":S.shift=!0;break;case"meta":S.meta=!0;break;default:T=isNaN(T)?T.toUpperCase().charCodeAt(0):parseInt(T),S.keys.push(T),this.watchKeys[T]||(this.watchKeys[T]=[]),this.watchKeys[T].push(S)}})}bindEvents(){var e=this;this.keyupBinding=function(r){var S=r.keyCode,D=e.watchKeys[S];D&&(e.pressedKeys.push(S),D.forEach(function(T){e.checkBinding(r,T)}))},this.keydownBinding=function(r){var S=r.keyCode,D=e.watchKeys[S];if(D){var T=e.pressedKeys.indexOf(S);T>-1&&e.pressedKeys.splice(T,1)}},this.table.element.addEventListener("keydown",this.keyupBinding),this.table.element.addEventListener("keyup",this.keydownBinding)}clearBindings(){this.keyupBinding&&this.table.element.removeEventListener("keydown",this.keyupBinding),this.keydownBinding&&this.table.element.removeEventListener("keyup",this.keydownBinding)}checkBinding(e,r){var S=!0;return e.ctrlKey==r.ctrl&&e.shiftKey==r.shift&&e.metaKey==r.meta?(r.keys.forEach(D=>{var T=this.pressedKeys.indexOf(D);T==-1&&(S=!1)}),S&&r.action.call(this,e),!0):!1}}Vf.moduleName="keybindings";Vf.bindings=pP;Vf.actions=mP;class jM extends qi{constructor(e){super(e),this.menuContainer=null,this.nestedMenuBlock=!1,this.currentComponent=null,this.rootPopup=null,this.columnSubscribers={},this.registerTableOption("menuContainer",void 0),this.registerTableOption("rowContextMenu",!1),this.registerTableOption("rowClickMenu",!1),this.registerTableOption("rowDblClickMenu",!1),this.registerTableOption("groupContextMenu",!1),this.registerTableOption("groupClickMenu",!1),this.registerTableOption("groupDblClickMenu",!1),this.registerColumnOption("headerContextMenu"),this.registerColumnOption("headerClickMenu"),this.registerColumnOption("headerDblClickMenu"),this.registerColumnOption("headerMenu"),this.registerColumnOption("headerMenuIcon"),this.registerColumnOption("contextMenu"),this.registerColumnOption("clickMenu"),this.registerColumnOption("dblClickMenu")}initialize(){this.deprecatedOptionsCheck(),this.initializeRowWatchers(),this.initializeGroupWatchers(),this.subscribe("column-init",this.initializeColumn.bind(this))}deprecatedOptionsCheck(){this.deprecationCheck("menuContainer","popupContainer")||(this.table.options.popupContainer=this.table.options.menuContainer)}initializeRowWatchers(){this.table.options.rowContextMenu&&(this.subscribe("row-contextmenu",this.loadMenuEvent.bind(this,this.table.options.rowContextMenu)),this.table.on("rowTapHold",this.loadMenuEvent.bind(this,this.table.options.rowContextMenu))),this.table.options.rowClickMenu&&this.subscribe("row-click",this.loadMenuEvent.bind(this,this.table.options.rowClickMenu)),this.table.options.rowDblClickMenu&&this.subscribe("row-dblclick",this.loadMenuEvent.bind(this,this.table.options.rowDblClickMenu))}initializeGroupWatchers(){this.table.options.groupContextMenu&&(this.subscribe("group-contextmenu",this.loadMenuEvent.bind(this,this.table.options.groupContextMenu)),this.table.on("groupTapHold",this.loadMenuEvent.bind(this,this.table.options.groupContextMenu))),this.table.options.groupClickMenu&&this.subscribe("group-click",this.loadMenuEvent.bind(this,this.table.options.groupClickMenu)),this.table.options.groupDblClickMenu&&this.subscribe("group-dblclick",this.loadMenuEvent.bind(this,this.table.options.groupDblClickMenu))}initializeColumn(e){var r=e.definition;r.headerContextMenu&&!this.columnSubscribers.headerContextMenu&&(this.columnSubscribers.headerContextMenu=this.loadMenuTableColumnEvent.bind(this,"headerContextMenu"),this.subscribe("column-contextmenu",this.columnSubscribers.headerContextMenu),this.table.on("headerTapHold",this.loadMenuTableColumnEvent.bind(this,"headerContextMenu"))),r.headerClickMenu&&!this.columnSubscribers.headerClickMenu&&(this.columnSubscribers.headerClickMenu=this.loadMenuTableColumnEvent.bind(this,"headerClickMenu"),this.subscribe("column-click",this.columnSubscribers.headerClickMenu)),r.headerDblClickMenu&&!this.columnSubscribers.headerDblClickMenu&&(this.columnSubscribers.headerDblClickMenu=this.loadMenuTableColumnEvent.bind(this,"headerDblClickMenu"),this.subscribe("column-dblclick",this.columnSubscribers.headerDblClickMenu)),r.headerMenu&&this.initializeColumnHeaderMenu(e),r.contextMenu&&!this.columnSubscribers.contextMenu&&(this.columnSubscribers.contextMenu=this.loadMenuTableCellEvent.bind(this,"contextMenu"),this.subscribe("cell-contextmenu",this.columnSubscribers.contextMenu),this.table.on("cellTapHold",this.loadMenuTableCellEvent.bind(this,"contextMenu"))),r.clickMenu&&!this.columnSubscribers.clickMenu&&(this.columnSubscribers.clickMenu=this.loadMenuTableCellEvent.bind(this,"clickMenu"),this.subscribe("cell-click",this.columnSubscribers.clickMenu)),r.dblClickMenu&&!this.columnSubscribers.dblClickMenu&&(this.columnSubscribers.dblClickMenu=this.loadMenuTableCellEvent.bind(this,"dblClickMenu"),this.subscribe("cell-dblclick",this.columnSubscribers.dblClickMenu))}initializeColumnHeaderMenu(e){var r=e.definition.headerMenuIcon,S;S=document.createElement("span"),S.classList.add("tabulator-header-popup-button"),r?(typeof r=="function"&&(r=r(e.getComponent())),r instanceof HTMLElement?S.appendChild(r):S.innerHTML=r):S.innerHTML="⋮",S.addEventListener("click",D=>{D.stopPropagation(),D.preventDefault(),this.loadMenuEvent(e.definition.headerMenu,D,e)}),e.titleElement.insertBefore(S,e.titleElement.firstChild)}loadMenuTableCellEvent(e,r,S){S._cell&&(S=S._cell),S.column.definition[e]&&this.loadMenuEvent(S.column.definition[e],r,S)}loadMenuTableColumnEvent(e,r,S){S._column&&(S=S._column),S.definition[e]&&this.loadMenuEvent(S.definition[e],r,S)}loadMenuEvent(e,r,S){S._group?S=S._group:S._row&&(S=S._row),e=typeof e=="function"?e.call(this.table,r,S.getComponent()):e,this.loadMenu(r,S,e)}loadMenu(e,r,S,D,T){var p=!(e instanceof MouseEvent),t=document.createElement("div"),d;if(t.classList.add("tabulator-menu"),p||e.preventDefault(),!(!S||!S.length)){if(D)d=T.child(t);else{if(this.nestedMenuBlock){if(this.rootPopup)return}else this.nestedMenuBlock=setTimeout(()=>{this.nestedMenuBlock=!1},100);this.rootPopup&&this.rootPopup.hide(),this.rootPopup=d=this.popup(t)}S.forEach(g=>{var i=document.createElement("div"),M=g.label,v=g.disabled;g.separator?i.classList.add("tabulator-menu-separator"):(i.classList.add("tabulator-menu-item"),typeof M=="function"&&(M=M.call(this.table,r.getComponent())),M instanceof Node?i.appendChild(M):i.innerHTML=M,typeof v=="function"&&(v=v.call(this.table,r.getComponent())),v?(i.classList.add("tabulator-menu-item-disabled"),i.addEventListener("click",f=>{f.stopPropagation()})):g.menu&&g.menu.length?i.addEventListener("click",f=>{f.stopPropagation(),this.loadMenu(f,r,g.menu,i,d)}):g.action&&i.addEventListener("click",f=>{g.action(f,r.getComponent())}),g.menu&&g.menu.length&&i.classList.add("tabulator-menu-item-submenu")),t.appendChild(i)}),t.addEventListener("click",g=>{this.rootPopup&&this.rootPopup.hide()}),d.show(D||e),d===this.rootPopup&&(this.rootPopup.hideOnBlur(()=>{this.rootPopup=null,this.currentComponent&&(this.dispatch("menu-closed",S,d),this.dispatchExternal("menuClosed",this.currentComponent.getComponent()),this.currentComponent=null)}),this.currentComponent=r,this.dispatch("menu-opened",S,d),this.dispatchExternal("menuOpened",r.getComponent()))}}}jM.moduleName="menu";class UM extends qi{constructor(e){super(e),this.placeholderElement=this.createPlaceholderElement(),this.hoverElement=!1,this.checkTimeout=!1,this.checkPeriod=250,this.moving=!1,this.toCol=!1,this.toColAfter=!1,this.startX=0,this.autoScrollMargin=40,this.autoScrollStep=5,this.autoScrollTimeout=!1,this.touchMove=!1,this.moveHover=this.moveHover.bind(this),this.endMove=this.endMove.bind(this),this.registerTableOption("movableColumns",!1)}createPlaceholderElement(){var e=document.createElement("div");return e.classList.add("tabulator-col"),e.classList.add("tabulator-col-placeholder"),e}initialize(){this.table.options.movableColumns&&(this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("alert-show",this.abortMove.bind(this)))}abortMove(){clearTimeout(this.checkTimeout)}initializeColumn(e){var r=this,S={},D;!e.modules.frozen&&!e.isGroup&&(D=e.getElement(),S.mousemove=(function(T){e.parent===r.moving.parent&&((r.touchMove?T.touches[0].pageX:T.pageX)-so.elOffset(D).left+r.table.columnManager.contentsElement.scrollLeft>e.getWidth()/2?(r.toCol!==e||!r.toColAfter)&&(D.parentNode.insertBefore(r.placeholderElement,D.nextSibling),r.moveColumn(e,!0)):(r.toCol!==e||r.toColAfter)&&(D.parentNode.insertBefore(r.placeholderElement,D),r.moveColumn(e,!1)))}).bind(r),D.addEventListener("mousedown",function(T){r.touchMove=!1,T.which===1&&(r.checkTimeout=setTimeout(function(){r.startMove(T,e)},r.checkPeriod))}),D.addEventListener("mouseup",function(T){T.which===1&&r.checkTimeout&&clearTimeout(r.checkTimeout)}),r.bindTouchEvents(e)),e.modules.moveColumn=S}bindTouchEvents(e){var r=e.getElement(),S=!1,D,T,p,t,d,g;r.addEventListener("touchstart",i=>{this.checkTimeout=setTimeout(()=>{this.touchMove=!0,D=e.nextColumn(),p=D?D.getWidth()/2:0,T=e.prevColumn(),t=T?T.getWidth()/2:0,d=0,g=0,S=!1,this.startMove(i,e)},this.checkPeriod)},{passive:!0}),r.addEventListener("touchmove",i=>{var M,v;this.moving&&(this.moveHover(i),S||(S=i.touches[0].pageX),M=i.touches[0].pageX-S,M>0?D&&M-d>p&&(v=D,v!==e&&(S=i.touches[0].pageX,v.getElement().parentNode.insertBefore(this.placeholderElement,v.getElement().nextSibling),this.moveColumn(v,!0))):T&&-M-g>t&&(v=T,v!==e&&(S=i.touches[0].pageX,v.getElement().parentNode.insertBefore(this.placeholderElement,v.getElement()),this.moveColumn(v,!1))),v&&(D=v.nextColumn(),d=p,p=D?D.getWidth()/2:0,T=v.prevColumn(),g=t,t=T?T.getWidth()/2:0))},{passive:!0}),r.addEventListener("touchend",i=>{this.checkTimeout&&clearTimeout(this.checkTimeout),this.moving&&this.endMove(i)})}startMove(e,r){var S=r.getElement(),D=this.table.columnManager.getContentsElement(),T=this.table.columnManager.getHeadersElement();this.moving=r,this.startX=(this.touchMove?e.touches[0].pageX:e.pageX)-so.elOffset(S).left,this.table.element.classList.add("tabulator-block-select"),this.placeholderElement.style.width=r.getWidth()+"px",this.placeholderElement.style.height=r.getHeight()+"px",S.parentNode.insertBefore(this.placeholderElement,S),S.parentNode.removeChild(S),this.hoverElement=S.cloneNode(!0),this.hoverElement.classList.add("tabulator-moving"),D.appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.bottom=D.clientHeight-T.offsetHeight+"px",this.touchMove||(this._bindMouseMove(),document.body.addEventListener("mousemove",this.moveHover),document.body.addEventListener("mouseup",this.endMove)),this.moveHover(e)}_bindMouseMove(){this.table.columnManager.columnsByIndex.forEach(function(e){e.modules.moveColumn.mousemove&&e.getElement().addEventListener("mousemove",e.modules.moveColumn.mousemove)})}_unbindMouseMove(){this.table.columnManager.columnsByIndex.forEach(function(e){e.modules.moveColumn.mousemove&&e.getElement().removeEventListener("mousemove",e.modules.moveColumn.mousemove)})}moveColumn(e,r){var S=this.moving.getCells();this.toCol=e,this.toColAfter=r,r?e.getCells().forEach(function(D,T){var p=D.getElement(!0);p.parentNode&&S[T]&&p.parentNode.insertBefore(S[T].getElement(),p.nextSibling)}):e.getCells().forEach(function(D,T){var p=D.getElement(!0);p.parentNode&&S[T]&&p.parentNode.insertBefore(S[T].getElement(),p)})}endMove(e){(e.which===1||this.touchMove)&&(this._unbindMouseMove(),this.placeholderElement.parentNode.insertBefore(this.moving.getElement(),this.placeholderElement.nextSibling),this.placeholderElement.parentNode.removeChild(this.placeholderElement),this.hoverElement.parentNode.removeChild(this.hoverElement),this.table.element.classList.remove("tabulator-block-select"),this.toCol&&this.table.columnManager.moveColumnActual(this.moving,this.toCol,this.toColAfter),this.moving=!1,this.toCol=!1,this.toColAfter=!1,this.touchMove||(document.body.removeEventListener("mousemove",this.moveHover),document.body.removeEventListener("mouseup",this.endMove)))}moveHover(e){var r=this.table.columnManager.getContentsElement(),S=r.scrollLeft,D=(this.touchMove?e.touches[0].pageX:e.pageX)-so.elOffset(r).left+S,T;this.hoverElement.style.left=D-this.startX+"px",D-S{T=Math.max(0,S-5),this.table.rowManager.getElement().scrollLeft=T,this.autoScrollTimeout=!1},1))),S+r.clientWidth-D{T=Math.min(r.clientWidth,S+5),this.table.rowManager.getElement().scrollLeft=T,this.autoScrollTimeout=!1},1)))}}UM.moduleName="moveColumn";class $y extends qi{constructor(e){super(e),this.placeholderElement=this.createPlaceholderElement(),this.hoverElement=!1,this.checkTimeout=!1,this.checkPeriod=150,this.moving=!1,this.toRow=!1,this.toRowAfter=!1,this.hasHandle=!1,this.startY=0,this.startX=0,this.moveHover=this.moveHover.bind(this),this.endMove=this.endMove.bind(this),this.tableRowDropEvent=!1,this.touchMove=!1,this.connection=!1,this.connectionSelectorsTables=!1,this.connectionSelectorsElements=!1,this.connectionElements=[],this.connections=[],this.connectedTable=!1,this.connectedRow=!1,this.registerTableOption("movableRows",!1),this.registerTableOption("movableRowsConnectedTables",!1),this.registerTableOption("movableRowsConnectedElements",!1),this.registerTableOption("movableRowsSender",!1),this.registerTableOption("movableRowsReceiver","insert"),this.registerColumnOption("rowHandle")}createPlaceholderElement(){var e=document.createElement("div");return e.classList.add("tabulator-row"),e.classList.add("tabulator-row-placeholder"),e}initialize(){this.table.options.movableRows&&(this.connectionSelectorsTables=this.table.options.movableRowsConnectedTables,this.connectionSelectorsElements=this.table.options.movableRowsConnectedElements,this.connection=this.connectionSelectorsTables||this.connectionSelectorsElements,this.subscribe("cell-init",this.initializeCell.bind(this)),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("row-init",this.initializeRow.bind(this)))}initializeGroupHeader(e){var r=this,S={};S.mouseup=(function(D){r.tableRowDrop(D,e)}).bind(r),S.mousemove=(function(D){var T;D.pageY-so.elOffset(e.element).top+r.table.rowManager.element.scrollTop>e.getHeight()/2?(r.toRow!==e||!r.toRowAfter)&&(T=e.getElement(),T.parentNode.insertBefore(r.placeholderElement,T.nextSibling),r.moveRow(e,!0)):(r.toRow!==e||r.toRowAfter)&&(T=e.getElement(),T.previousSibling&&(T.parentNode.insertBefore(r.placeholderElement,T),r.moveRow(e,!1)))}).bind(r),e.modules.moveRow=S}initializeRow(e){var r=this,S={},D;S.mouseup=(function(T){r.tableRowDrop(T,e)}).bind(r),S.mousemove=(function(T){var p=e.getElement();T.pageY-so.elOffset(p).top+r.table.rowManager.element.scrollTop>e.getHeight()/2?(r.toRow!==e||!r.toRowAfter)&&(p.parentNode.insertBefore(r.placeholderElement,p.nextSibling),r.moveRow(e,!0)):(r.toRow!==e||r.toRowAfter)&&(p.parentNode.insertBefore(r.placeholderElement,p),r.moveRow(e,!1))}).bind(r),this.hasHandle||(D=e.getElement(),D.addEventListener("mousedown",function(T){T.which===1&&(r.checkTimeout=setTimeout(function(){r.startMove(T,e)},r.checkPeriod))}),D.addEventListener("mouseup",function(T){T.which===1&&r.checkTimeout&&clearTimeout(r.checkTimeout)}),this.bindTouchEvents(e,e.getElement())),e.modules.moveRow=S}initializeColumn(e){e.definition.rowHandle&&this.table.options.movableRows!==!1&&(this.hasHandle=!0)}initializeCell(e){if(e.column.definition.rowHandle&&this.table.options.movableRows!==!1){var r=this,S=e.getElement(!0);S.addEventListener("mousedown",function(D){D.which===1&&(r.checkTimeout=setTimeout(function(){r.startMove(D,e.row)},r.checkPeriod))}),S.addEventListener("mouseup",function(D){D.which===1&&r.checkTimeout&&clearTimeout(r.checkTimeout)}),this.bindTouchEvents(e.row,S)}}bindTouchEvents(e,r){var S=!1,D,T,p,t,d,g;r.addEventListener("touchstart",i=>{this.checkTimeout=setTimeout(()=>{this.touchMove=!0,D=e.nextRow(),p=D?D.getHeight()/2:0,T=e.prevRow(),t=T?T.getHeight()/2:0,d=0,g=0,S=!1,this.startMove(i,e)},this.checkPeriod)},{passive:!0}),this.moving,this.toRow,this.toRowAfter,r.addEventListener("touchmove",i=>{var M,v;this.moving&&(i.preventDefault(),this.moveHover(i),S||(S=i.touches[0].pageY),M=i.touches[0].pageY-S,M>0?D&&M-d>p&&(v=D,v!==e&&(S=i.touches[0].pageY,v.getElement().parentNode.insertBefore(this.placeholderElement,v.getElement().nextSibling),this.moveRow(v,!0))):T&&-M-g>t&&(v=T,v!==e&&(S=i.touches[0].pageY,v.getElement().parentNode.insertBefore(this.placeholderElement,v.getElement()),this.moveRow(v,!1))),v&&(D=v.nextRow(),d=p,p=D?D.getHeight()/2:0,T=v.prevRow(),g=t,t=T?T.getHeight()/2:0))}),r.addEventListener("touchend",i=>{this.checkTimeout&&clearTimeout(this.checkTimeout),this.moving&&(this.endMove(i),this.touchMove=!1)})}_bindMouseMove(){this.table.rowManager.getDisplayRows().forEach(e=>{(e.type==="row"||e.type==="group")&&e.modules.moveRow&&e.modules.moveRow.mousemove&&e.getElement().addEventListener("mousemove",e.modules.moveRow.mousemove)})}_unbindMouseMove(){this.table.rowManager.getDisplayRows().forEach(e=>{(e.type==="row"||e.type==="group")&&e.modules.moveRow&&e.modules.moveRow.mousemove&&e.getElement().removeEventListener("mousemove",e.modules.moveRow.mousemove)})}startMove(e,r){var S=r.getElement();this.setStartPosition(e,r),this.moving=r,this.table.element.classList.add("tabulator-block-select"),this.placeholderElement.style.width=r.getWidth()+"px",this.placeholderElement.style.height=r.getHeight()+"px",this.connection?(this.table.element.classList.add("tabulator-movingrow-sending"),this.connectToTables(r)):(S.parentNode.insertBefore(this.placeholderElement,S),S.parentNode.removeChild(S)),this.hoverElement=S.cloneNode(!0),this.hoverElement.classList.add("tabulator-moving"),this.connection?(document.body.appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.top="0",this.hoverElement.style.width=this.table.element.clientWidth+"px",this.hoverElement.style.whiteSpace="nowrap",this.hoverElement.style.overflow="hidden",this.hoverElement.style.pointerEvents="none"):(this.table.rowManager.getTableElement().appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.top="0",this._bindMouseMove()),document.body.addEventListener("mousemove",this.moveHover),document.body.addEventListener("mouseup",this.endMove),this.dispatchExternal("rowMoving",r.getComponent()),this.moveHover(e)}setStartPosition(e,r){var S=this.touchMove?e.touches[0].pageX:e.pageX,D=this.touchMove?e.touches[0].pageY:e.pageY,T,p;T=r.getElement(),this.connection?(p=T.getBoundingClientRect(),this.startX=p.left-S+window.pageXOffset,this.startY=p.top-D+window.pageYOffset):this.startY=D-T.getBoundingClientRect().top}endMove(e){(!e||e.which===1||this.touchMove)&&(this._unbindMouseMove(),this.connection||(this.placeholderElement.parentNode.insertBefore(this.moving.getElement(),this.placeholderElement.nextSibling),this.placeholderElement.parentNode.removeChild(this.placeholderElement)),this.hoverElement.parentNode.removeChild(this.hoverElement),this.table.element.classList.remove("tabulator-block-select"),this.toRow?this.table.rowManager.moveRow(this.moving,this.toRow,this.toRowAfter):this.dispatchExternal("rowMoveCancelled",this.moving.getComponent()),this.moving=!1,this.toRow=!1,this.toRowAfter=!1,document.body.removeEventListener("mousemove",this.moveHover),document.body.removeEventListener("mouseup",this.endMove),this.connection&&(this.table.element.classList.remove("tabulator-movingrow-sending"),this.disconnectFromTables()))}moveRow(e,r){this.toRow=e,this.toRowAfter=r}moveHover(e){this.connection?this.moveHoverConnections.call(this,e):this.moveHoverTable.call(this,e)}moveHoverTable(e){var r=this.table.rowManager.getElement(),S=r.scrollTop,D=(this.touchMove?e.touches[0].pageY:e.pageY)-r.getBoundingClientRect().top+S;this.hoverElement.style.top=Math.min(D-this.startY,this.table.rowManager.element.scrollHeight-this.hoverElement.offsetHeight)+"px"}moveHoverConnections(e){this.hoverElement.style.left=this.startX+(this.touchMove?e.touches[0].pageX:e.pageX)+"px",this.hoverElement.style.top=this.startY+(this.touchMove?e.touches[0].pageY:e.pageY)+"px"}elementRowDrop(e,r,S){this.dispatchExternal("movableRowsElementDrop",e,r,S?S.getComponent():!1)}connectToTables(e){var r;this.connectionSelectorsTables&&(r=this.commsConnections(this.connectionSelectorsTables),this.dispatchExternal("movableRowsSendingStart",r),this.commsSend(this.connectionSelectorsTables,"moveRow","connect",{row:e})),this.connectionSelectorsElements&&(this.connectionElements=[],Array.isArray(this.connectionSelectorsElements)||(this.connectionSelectorsElements=[this.connectionSelectorsElements]),this.connectionSelectorsElements.forEach(S=>{typeof S=="string"?this.connectionElements=this.connectionElements.concat(Array.prototype.slice.call(document.querySelectorAll(S))):this.connectionElements.push(S)}),this.connectionElements.forEach(S=>{var D=T=>{this.elementRowDrop(T,S,this.moving)};S.addEventListener("mouseup",D),S.tabulatorElementDropEvent=D,S.classList.add("tabulator-movingrow-receiving")}))}disconnectFromTables(){var e;this.connectionSelectorsTables&&(e=this.commsConnections(this.connectionSelectorsTables),this.dispatchExternal("movableRowsSendingStop",e),this.commsSend(this.connectionSelectorsTables,"moveRow","disconnect")),this.connectionElements.forEach(r=>{r.classList.remove("tabulator-movingrow-receiving"),r.removeEventListener("mouseup",r.tabulatorElementDropEvent),delete r.tabulatorElementDropEvent})}connect(e,r){return this.connectedTable?(console.warn("Move Row Error - Table cannot accept connection, already connected to table:",this.connectedTable),!1):(this.connectedTable=e,this.connectedRow=r,this.table.element.classList.add("tabulator-movingrow-receiving"),this.table.rowManager.getDisplayRows().forEach(S=>{S.type==="row"&&S.modules.moveRow&&S.modules.moveRow.mouseup&&S.getElement().addEventListener("mouseup",S.modules.moveRow.mouseup)}),this.tableRowDropEvent=this.tableRowDrop.bind(this),this.table.element.addEventListener("mouseup",this.tableRowDropEvent),this.dispatchExternal("movableRowsReceivingStart",r,e),!0)}disconnect(e){e===this.connectedTable?(this.connectedTable=!1,this.connectedRow=!1,this.table.element.classList.remove("tabulator-movingrow-receiving"),this.table.rowManager.getDisplayRows().forEach(r=>{r.type==="row"&&r.modules.moveRow&&r.modules.moveRow.mouseup&&r.getElement().removeEventListener("mouseup",r.modules.moveRow.mouseup)}),this.table.element.removeEventListener("mouseup",this.tableRowDropEvent),this.dispatchExternal("movableRowsReceivingStop",e)):console.warn("Move Row Error - trying to disconnect from non connected table")}dropComplete(e,r,S){var D=!1;if(S){switch(typeof this.table.options.movableRowsSender){case"string":D=this.senders[this.table.options.movableRowsSender];break;case"function":D=this.table.options.movableRowsSender;break}D?D.call(this,this.moving?this.moving.getComponent():void 0,r?r.getComponent():void 0,e):this.table.options.movableRowsSender&&console.warn("Mover Row Error - no matching sender found:",this.table.options.movableRowsSender),this.dispatchExternal("movableRowsSent",this.moving.getComponent(),r?r.getComponent():void 0,e)}else this.dispatchExternal("movableRowsSentFailed",this.moving.getComponent(),r?r.getComponent():void 0,e);this.endMove()}tableRowDrop(e,r){var S=!1,D=!1;switch(e.stopImmediatePropagation(),typeof this.table.options.movableRowsReceiver){case"string":S=this.receivers[this.table.options.movableRowsReceiver];break;case"function":S=this.table.options.movableRowsReceiver;break}S?D=S.call(this,this.connectedRow.getComponent(),r?r.getComponent():void 0,this.connectedTable):console.warn("Mover Row Error - no matching receiver found:",this.table.options.movableRowsReceiver),D?this.dispatchExternal("movableRowsReceived",this.connectedRow.getComponent(),r?r.getComponent():void 0,this.connectedTable):this.dispatchExternal("movableRowsReceivedFailed",this.connectedRow.getComponent(),r?r.getComponent():void 0,this.connectedTable),this.commsSend(this.connectedTable,"moveRow","dropcomplete",{row:r,success:D})}commsReceived(e,r,S){switch(r){case"connect":return this.connect(e,S.row);case"disconnect":return this.disconnect(e);case"dropcomplete":return this.dropComplete(e,S.row,S.success)}}}$y.prototype.receivers={insert:function(n,e,r){return this.table.addRow(n.getData(),void 0,e),!0},add:function(n,e,r){return this.table.addRow(n.getData()),!0},update:function(n,e,r){return e?(e.update(n.getData()),!0):!1},replace:function(n,e,r){return e?(this.table.addRow(n.getData(),void 0,e),e.delete(),!0):!1}};$y.prototype.senders={delete:function(n,e,r){n.delete()}};$y.moduleName="moveRow";var gP={};class o0 extends qi{constructor(e){super(e),this.allowedTypes=["","data","edit","clipboard"],this.enabled=!0,this.registerColumnOption("mutator"),this.registerColumnOption("mutatorParams"),this.registerColumnOption("mutatorData"),this.registerColumnOption("mutatorDataParams"),this.registerColumnOption("mutatorEdit"),this.registerColumnOption("mutatorEditParams"),this.registerColumnOption("mutatorClipboard"),this.registerColumnOption("mutatorClipboardParams"),this.registerColumnOption("mutateLink")}initialize(){this.subscribe("cell-value-changing",this.transformCell.bind(this)),this.subscribe("cell-value-changed",this.mutateLink.bind(this)),this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("row-data-init-before",this.rowDataChanged.bind(this)),this.subscribe("row-data-changing",this.rowDataChanged.bind(this))}rowDataChanged(e,r,S){return this.transformRow(r,"data",S)}initializeColumn(e){var r=!1,S={};this.allowedTypes.forEach(D=>{var T="mutator"+(D.charAt(0).toUpperCase()+D.slice(1)),p;e.definition[T]&&(p=this.lookupMutator(e.definition[T]),p&&(r=!0,S[T]={mutator:p,params:e.definition[T+"Params"]||{}}))}),r&&(e.modules.mutate=S)}lookupMutator(e){var r=!1;switch(typeof e){case"string":o0.mutators[e]?r=o0.mutators[e]:console.warn("Mutator Error - No such mutator found, ignoring: ",e);break;case"function":r=e;break}return r}transformRow(e,r,S){var D="mutator"+(r.charAt(0).toUpperCase()+r.slice(1)),T;return this.enabled&&this.table.columnManager.traverse(p=>{var t,d,g;p.modules.mutate&&(t=p.modules.mutate[D]||p.modules.mutate.mutator||!1,t&&(T=p.getFieldValue(typeof S<"u"?S:e),(r=="data"&&!S||typeof T<"u")&&(g=p.getComponent(),d=typeof t.params=="function"?t.params(T,e,r,g):t.params,p.setFieldValue(e,t.mutator(T,e,r,d,g)))))}),e}transformCell(e,r){if(e.column.modules.mutate){var S=e.column.modules.mutate.mutatorEdit||e.column.modules.mutate.mutator||!1,D={};if(S)return D=Object.assign(D,e.row.getData()),e.column.setFieldValue(D,r),S.mutator(r,D,"edit",S.params,e.getComponent())}return r}mutateLink(e){var r=e.column.definition.mutateLink;r&&(Array.isArray(r)||(r=[r]),r.forEach(S=>{var D=e.row.getCell(S);D&&D.setValue(D.getValue(),!0,!0)}))}enable(){this.enabled=!0}disable(){this.enabled=!1}}o0.moduleName="mutator";o0.mutators=gP;function vP(n,e,r,S,D){var T=document.createElement("span"),p=document.createElement("span"),t=document.createElement("span"),d=document.createElement("span"),g=document.createElement("span"),i=document.createElement("span");return this.table.modules.localize.langBind("pagination|counter|showing",M=>{p.innerHTML=M}),this.table.modules.localize.langBind("pagination|counter|of",M=>{d.innerHTML=M}),this.table.modules.localize.langBind("pagination|counter|rows",M=>{i.innerHTML=M}),S?(t.innerHTML=" "+e+"-"+Math.min(e+n-1,S)+" ",g.innerHTML=" "+S+" ",T.appendChild(p),T.appendChild(t),T.appendChild(d),T.appendChild(g),T.appendChild(i)):(t.innerHTML=" 0 ",T.appendChild(p),T.appendChild(t),T.appendChild(i)),T}function yP(n,e,r,S,D){var T=document.createElement("span"),p=document.createElement("span"),t=document.createElement("span"),d=document.createElement("span"),g=document.createElement("span"),i=document.createElement("span");return this.table.modules.localize.langBind("pagination|counter|showing",M=>{p.innerHTML=M}),t.innerHTML=" "+r+" ",this.table.modules.localize.langBind("pagination|counter|of",M=>{d.innerHTML=M}),g.innerHTML=" "+D+" ",this.table.modules.localize.langBind("pagination|counter|pages",M=>{i.innerHTML=M}),T.appendChild(p),T.appendChild(t),T.appendChild(d),T.appendChild(g),T.appendChild(i),T}var bP={rows:vP,pages:yP};class rg extends qi{constructor(e){super(e),this.mode="local",this.progressiveLoad=!1,this.element=null,this.pageCounterElement=null,this.pageCounter=null,this.size=0,this.page=1,this.count=5,this.max=1,this.remoteRowCountEstimate=null,this.initialLoad=!0,this.dataChanging=!1,this.pageSizes=[],this.registerTableOption("pagination",!1),this.registerTableOption("paginationMode","local"),this.registerTableOption("paginationSize",!1),this.registerTableOption("paginationInitialPage",1),this.registerTableOption("paginationCounter",!1),this.registerTableOption("paginationCounterElement",!1),this.registerTableOption("paginationButtonCount",5),this.registerTableOption("paginationSizeSelector",!1),this.registerTableOption("paginationElement",!1),this.registerTableOption("paginationAddRow","page"),this.registerTableOption("progressiveLoad",!1),this.registerTableOption("progressiveLoadDelay",0),this.registerTableOption("progressiveLoadScrollMargin",0),this.registerTableFunction("setMaxPage",this.setMaxPage.bind(this)),this.registerTableFunction("setPage",this.setPage.bind(this)),this.registerTableFunction("setPageToRow",this.userSetPageToRow.bind(this)),this.registerTableFunction("setPageSize",this.userSetPageSize.bind(this)),this.registerTableFunction("getPageSize",this.getPageSize.bind(this)),this.registerTableFunction("previousPage",this.previousPage.bind(this)),this.registerTableFunction("nextPage",this.nextPage.bind(this)),this.registerTableFunction("getPage",this.getPage.bind(this)),this.registerTableFunction("getPageMax",this.getPageMax.bind(this)),this.registerComponentFunction("row","pageTo",this.setPageToRow.bind(this))}initialize(){this.table.options.pagination?(this.subscribe("row-deleted",this.rowsUpdated.bind(this)),this.subscribe("row-added",this.rowsUpdated.bind(this)),this.subscribe("data-processed",this.initialLoadComplete.bind(this)),this.subscribe("table-built",this.calculatePageSizes.bind(this)),this.subscribe("footer-redraw",this.footerRedraw.bind(this)),this.table.options.paginationAddRow=="page"&&this.subscribe("row-adding-position",this.rowAddingPosition.bind(this)),this.table.options.paginationMode==="remote"&&(this.subscribe("data-params",this.remotePageParams.bind(this)),this.subscribe("data-loaded",this._parseRemoteData.bind(this))),this.table.options.progressiveLoad&&console.error("Progressive Load Error - Pagination and progressive load cannot be used at the same time"),this.registerDisplayHandler(this.restOnRenderBefore.bind(this),40),this.registerDisplayHandler(this.getRows.bind(this),50),this.createElements(),this.initializePageCounter(),this.initializePaginator()):this.table.options.progressiveLoad&&(this.subscribe("data-params",this.remotePageParams.bind(this)),this.subscribe("data-loaded",this._parseRemoteData.bind(this)),this.subscribe("table-built",this.calculatePageSizes.bind(this)),this.subscribe("data-processed",this.initialLoadComplete.bind(this)),this.initializeProgressive(this.table.options.progressiveLoad),this.table.options.progressiveLoad==="scroll"&&this.subscribe("scroll-vertical",this.scrollVertical.bind(this)))}rowAddingPosition(e,r){var S=this.table.rowManager,D=S.getDisplayRows(),T;return r?D.length?T=D[0]:S.activeRows.length&&(T=S.activeRows[S.activeRows.length-1],r=!1):D.length&&(T=D[D.length-1],r=!(D.length{}))}restOnRenderBefore(e,r){return r||this.mode==="local"&&this.reset(),e}rowsUpdated(){this.refreshData(!0,"all")}createElements(){var e;this.element=document.createElement("span"),this.element.classList.add("tabulator-paginator"),this.pagesElement=document.createElement("span"),this.pagesElement.classList.add("tabulator-pages"),e=document.createElement("button"),e.classList.add("tabulator-page"),e.setAttribute("type","button"),e.setAttribute("role","button"),e.setAttribute("aria-label",""),e.setAttribute("title",""),this.firstBut=e.cloneNode(!0),this.firstBut.setAttribute("data-page","first"),this.prevBut=e.cloneNode(!0),this.prevBut.setAttribute("data-page","prev"),this.nextBut=e.cloneNode(!0),this.nextBut.setAttribute("data-page","next"),this.lastBut=e.cloneNode(!0),this.lastBut.setAttribute("data-page","last"),this.table.options.paginationSizeSelector&&(this.pageSizeSelect=document.createElement("select"),this.pageSizeSelect.classList.add("tabulator-page-size"))}generatePageSizeSelectList(){var e=[];if(this.pageSizeSelect){if(Array.isArray(this.table.options.paginationSizeSelector))e=this.table.options.paginationSizeSelector,this.pageSizes=e,this.pageSizes.indexOf(this.size)==-1&&e.unshift(this.size);else if(this.pageSizes.indexOf(this.size)==-1){e=[];for(let r=1;r<5;r++)e.push(this.size*r);this.pageSizes=e}else e=this.pageSizes;for(;this.pageSizeSelect.firstChild;)this.pageSizeSelect.removeChild(this.pageSizeSelect.firstChild);e.forEach(r=>{var S=document.createElement("option");S.value=r,r===!0?this.langBind("pagination|all",function(D){S.innerHTML=D}):S.innerHTML=r,this.pageSizeSelect.appendChild(S)}),this.pageSizeSelect.value=this.size}}initializePageCounter(){var e=this.table.options.paginationCounter,r=null;e&&(typeof e=="function"?r=e:r=rg.pageCounters[e],r?(this.pageCounter=r,this.pageCounterElement=document.createElement("span"),this.pageCounterElement.classList.add("tabulator-page-counter")):console.warn("Pagination Error - No such page counter found: ",e))}initializePaginator(e){var r,S;e||(this.langBind("pagination|first",D=>{this.firstBut.innerHTML=D}),this.langBind("pagination|first_title",D=>{this.firstBut.setAttribute("aria-label",D),this.firstBut.setAttribute("title",D)}),this.langBind("pagination|prev",D=>{this.prevBut.innerHTML=D}),this.langBind("pagination|prev_title",D=>{this.prevBut.setAttribute("aria-label",D),this.prevBut.setAttribute("title",D)}),this.langBind("pagination|next",D=>{this.nextBut.innerHTML=D}),this.langBind("pagination|next_title",D=>{this.nextBut.setAttribute("aria-label",D),this.nextBut.setAttribute("title",D)}),this.langBind("pagination|last",D=>{this.lastBut.innerHTML=D}),this.langBind("pagination|last_title",D=>{this.lastBut.setAttribute("aria-label",D),this.lastBut.setAttribute("title",D)}),this.firstBut.addEventListener("click",()=>{this.setPage(1)}),this.prevBut.addEventListener("click",()=>{this.previousPage()}),this.nextBut.addEventListener("click",()=>{this.nextPage()}),this.lastBut.addEventListener("click",()=>{this.setPage(this.max)}),this.table.options.paginationElement&&(this.element=this.table.options.paginationElement),this.pageSizeSelect&&(r=document.createElement("label"),this.langBind("pagination|page_size",D=>{this.pageSizeSelect.setAttribute("aria-label",D),this.pageSizeSelect.setAttribute("title",D),r.innerHTML=D}),this.element.appendChild(r),this.element.appendChild(this.pageSizeSelect),this.pageSizeSelect.addEventListener("change",D=>{this.setPageSize(this.pageSizeSelect.value=="true"?!0:this.pageSizeSelect.value),this.setPage(1)})),this.element.appendChild(this.firstBut),this.element.appendChild(this.prevBut),this.element.appendChild(this.pagesElement),this.element.appendChild(this.nextBut),this.element.appendChild(this.lastBut),this.table.options.paginationElement||(this.table.options.paginationCounter&&(this.table.options.paginationCounterElement?this.table.options.paginationCounterElement instanceof HTMLElement?this.table.options.paginationCounterElement.appendChild(this.pageCounterElement):typeof this.table.options.paginationCounterElement=="string"&&(S=document.querySelector(this.table.options.paginationCounterElement),S?S.appendChild(this.pageCounterElement):console.warn("Pagination Error - Unable to find element matching paginationCounterElement selector:",this.table.options.paginationCounterElement)):this.footerAppend(this.pageCounterElement)),this.footerAppend(this.element)),this.page=this.table.options.paginationInitialPage,this.count=this.table.options.paginationButtonCount),this.mode=this.table.options.paginationMode}initializeProgressive(e){this.initializePaginator(!0),this.mode="progressive_"+e,this.progressiveLoad=!0}trackChanges(){this.dispatch("page-changed")}setMaxRows(e){e?this.max=this.size===!0?1:Math.ceil(e/this.size):this.max=1,this.page>this.max&&(this.page=this.max)}reset(e){this.initialLoad||(this.mode=="local"||e)&&(this.page=1,this.trackChanges())}setMaxPage(e){e=parseInt(e),this.max=e||1,this.page>this.max&&(this.page=this.max,this.trigger())}setPage(e){switch(e){case"first":return this.setPage(1);case"prev":return this.previousPage();case"next":return this.nextPage();case"last":return this.setPage(this.max)}return e=parseInt(e),e>0&&e<=this.max||this.mode!=="local"?(this.page=e,this.trackChanges(),this.trigger()):(console.warn("Pagination Error - Requested page is out of range of 1 - "+this.max+":",e),Promise.reject())}setPageToRow(e){var r=this.displayRows(-1),S=r.indexOf(e);if(S>-1){var D=this.size===!0?1:Math.ceil((S+1)/this.size);return this.setPage(D)}else return console.warn("Pagination Error - Requested row is not visible"),Promise.reject()}setPageSize(e){e!==!0&&(e=parseInt(e)),e>0&&(this.size=e,this.dispatchExternal("pageSizeChanged",e)),this.pageSizeSelect&&this.generatePageSizeSelectList(),this.trackChanges()}_setPageCounter(e,r,S){var D;if(this.pageCounter)switch(this.mode==="remote"&&(r=this.size,S=(this.page-1)*this.size+1,e=this.remoteRowCountEstimate),D=this.pageCounter.call(this,r,S,this.page,e,this.max),typeof D){case"object":if(D instanceof Node){for(;this.pageCounterElement.firstChild;)this.pageCounterElement.removeChild(this.pageCounterElement.firstChild);this.pageCounterElement.appendChild(D)}else this.pageCounterElement.innerHTML="",D!=null&&console.warn("Page Counter Error - Page Counter has returned a type of object, the only valid page counter object return is an instance of Node, the page counter returned:",D);break;case"undefined":this.pageCounterElement.innerHTML="";break;default:this.pageCounterElement.innerHTML=D}}_setPageButtons(){let e=Math.floor((this.count-1)/2),r=Math.ceil((this.count-1)/2),S=this.max-this.page+e+10&&T<=this.max&&this.pagesElement.appendChild(this._generatePageButton(T));this.footerRedraw()}_generatePageButton(e){var r=document.createElement("button");return r.classList.add("tabulator-page"),e==this.page&&r.classList.add("active"),r.setAttribute("type","button"),r.setAttribute("role","button"),this.langBind("pagination|page_title",S=>{r.setAttribute("aria-label",S+" "+e),r.setAttribute("title",S+" "+e)}),r.setAttribute("data-page",e),r.textContent=e,r.addEventListener("click",S=>{this.setPage(e)}),r}previousPage(){return this.page>1?(this.page--,this.trackChanges(),this.trigger()):(console.warn("Pagination Error - Previous page would be less than page 1:",0),Promise.reject())}nextPage(){return this.paged.type==="row");if(this.mode=="local"){S=[],this.setMaxRows(e.length),this.size===!0?(D=0,T=e.length):(D=this.size*(this.page-1),T=D+parseInt(this.size)),this._setPageButtons();for(let d=D;d{this.dataChanging=!1});case"progressive_load":case"progressive_scroll":return this.reloadData(null,!0);default:return console.warn("Pagination Error - no such pagination mode:",this.mode),Promise.reject()}}_parseRemoteData(e){var r;if(typeof e.last_page>"u"&&console.warn("Remote Pagination Error - Server response missing '"+(this.options("dataReceiveParams").last_page||"last_page")+"' property"),e.data)if(this.max=parseInt(e.last_page)||1,this.remoteRowCountEstimate=typeof e.last_row<"u"?e.last_row:e.last_page*this.size-(this.page==e.last_page?this.size-e.data.length:0),this.progressiveLoad){switch(this.mode){case"progressive_load":this.page==1?this.table.rowManager.setData(e.data,!1,this.page==1):this.table.rowManager.addRows(e.data),this.page{this.nextPage()},this.table.options.progressiveLoadDelay);break;case"progressive_scroll":e=this.page===1?e.data:this.table.rowManager.getData().concat(e.data),this.table.rowManager.setData(e,this.page!==1,this.page==1),r=this.table.options.progressiveLoadScrollMargin||this.table.rowManager.element.clientHeight*2,this.table.rowManager.element.scrollHeight<=this.table.rowManager.element.clientHeight+r&&this.page{this.nextPage()});break}return!1}else this.dispatchExternal("pageLoaded",this.getPage());else console.warn("Remote Pagination Error - Server response missing '"+(this.options("dataReceiveParams").data||"data")+"' property");return e.data}footerRedraw(){var e=this.table.footerManager.containerElement;Math.ceil(e.clientWidth)-e.scrollWidth<0?this.pagesElement.style.display="none":(this.pagesElement.style.display="",Math.ceil(e.clientWidth)-e.scrollWidth<0&&(this.pagesElement.style.display="none"))}}rg.moduleName="page";rg.pageCounters=bP;var xP={local:function(n,e){var r=localStorage.getItem(n+"-"+e);return r?JSON.parse(r):!1},cookie:function(n,e){var r=document.cookie,S=n+"-"+e,D=r.indexOf(S+"="),T,p;return D>-1&&(r=r.slice(D),T=r.indexOf(";"),T>-1&&(r=r.slice(0,T)),p=r.replace(S+"=","")),p?JSON.parse(p):!1}},_P={local:function(n,e,r){localStorage.setItem(n+"-"+e,JSON.stringify(r))},cookie:function(n,e,r){var S=new Date;S.setDate(S.getDate()+1e4),document.cookie=n+"-"+e+"="+JSON.stringify(r)+"; expires="+S.toUTCString()}};class Ul extends qi{constructor(e){super(e),this.mode="",this.id="",this.defWatcherBlock=!1,this.config={},this.readFunc=!1,this.writeFunc=!1,this.registerTableOption("persistence",!1),this.registerTableOption("persistenceID",""),this.registerTableOption("persistenceMode",!0),this.registerTableOption("persistenceReaderFunc",!1),this.registerTableOption("persistenceWriterFunc",!1)}localStorageTest(){var e="_tabulator_test";try{return window.localStorage.setItem(e,e),window.localStorage.removeItem(e),!0}catch{return!1}}initialize(){if(this.table.options.persistence){var e=this.table.options.persistenceMode,r=this.table.options.persistenceID,S;this.mode=e!==!0?e:this.localStorageTest()?"local":"cookie",this.table.options.persistenceReaderFunc?typeof this.table.options.persistenceReaderFunc=="function"?this.readFunc=this.table.options.persistenceReaderFunc:Ul.readers[this.table.options.persistenceReaderFunc]?this.readFunc=Ul.readers[this.table.options.persistenceReaderFunc]:console.warn("Persistence Read Error - invalid reader set",this.table.options.persistenceReaderFunc):Ul.readers[this.mode]?this.readFunc=Ul.readers[this.mode]:console.warn("Persistence Read Error - invalid reader set",this.mode),this.table.options.persistenceWriterFunc?typeof this.table.options.persistenceWriterFunc=="function"?this.writeFunc=this.table.options.persistenceWriterFunc:Ul.writers[this.table.options.persistenceWriterFunc]?this.writeFunc=Ul.writers[this.table.options.persistenceWriterFunc]:console.warn("Persistence Write Error - invalid reader set",this.table.options.persistenceWriterFunc):Ul.writers[this.mode]?this.writeFunc=Ul.writers[this.mode]:console.warn("Persistence Write Error - invalid writer set",this.mode),this.id="tabulator-"+(r||this.table.element.getAttribute("id")||""),this.config={sort:this.table.options.persistence===!0||this.table.options.persistence.sort,filter:this.table.options.persistence===!0||this.table.options.persistence.filter,headerFilter:this.table.options.persistence===!0||this.table.options.persistence.headerFilter,group:this.table.options.persistence===!0||this.table.options.persistence.group,page:this.table.options.persistence===!0||this.table.options.persistence.page,columns:this.table.options.persistence===!0?["title","width","visible"]:this.table.options.persistence.columns},this.config.page&&(S=this.retrieveData("page"),S&&(typeof S.paginationSize<"u"&&(this.config.page===!0||this.config.page.size)&&(this.table.options.paginationSize=S.paginationSize),typeof S.paginationInitialPage<"u"&&(this.config.page===!0||this.config.page.page)&&(this.table.options.paginationInitialPage=S.paginationInitialPage))),this.config.group&&(S=this.retrieveData("group"),S&&(typeof S.groupBy<"u"&&(this.config.group===!0||this.config.group.groupBy)&&(this.table.options.groupBy=S.groupBy),typeof S.groupStartOpen<"u"&&(this.config.group===!0||this.config.group.groupStartOpen)&&(this.table.options.groupStartOpen=S.groupStartOpen),typeof S.groupHeader<"u"&&(this.config.group===!0||this.config.group.groupHeader)&&(this.table.options.groupHeader=S.groupHeader))),this.config.columns&&(this.table.options.columns=this.load("columns",this.table.options.columns),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("column-show",this.save.bind(this,"columns")),this.subscribe("column-hide",this.save.bind(this,"columns")),this.subscribe("column-moved",this.save.bind(this,"columns"))),this.subscribe("table-built",this.tableBuilt.bind(this),0),this.subscribe("table-redraw",this.tableRedraw.bind(this)),this.subscribe("filter-changed",this.eventSave.bind(this,"filter")),this.subscribe("filter-changed",this.eventSave.bind(this,"headerFilter")),this.subscribe("sort-changed",this.eventSave.bind(this,"sort")),this.subscribe("group-changed",this.eventSave.bind(this,"group")),this.subscribe("page-changed",this.eventSave.bind(this,"page")),this.subscribe("column-resized",this.eventSave.bind(this,"columns")),this.subscribe("column-width",this.eventSave.bind(this,"columns")),this.subscribe("layout-refreshed",this.eventSave.bind(this,"columns"))}this.registerTableFunction("getColumnLayout",this.getColumnLayout.bind(this)),this.registerTableFunction("setColumnLayout",this.setColumnLayout.bind(this))}eventSave(e){this.config[e]&&this.save(e)}tableBuilt(){var e,r,S;this.config.sort&&(e=this.load("sort"),e&&(this.table.options.initialSort=e)),this.config.filter&&(r=this.load("filter"),r&&(this.table.options.initialFilter=r)),this.config.headerFilter&&(S=this.load("headerFilter"),S&&(this.table.options.initialHeaderFilter=S))}tableRedraw(e){e&&this.config.columns&&this.save("columns")}getColumnLayout(){return this.parseColumns(this.table.columnManager.getColumns())}setColumnLayout(e){return this.table.columnManager.setColumns(this.mergeDefinition(this.table.options.columns,e,!0)),!0}initializeColumn(e){var r,S;this.config.columns&&(this.defWatcherBlock=!0,r=e.getDefinition(),S=this.config.columns===!0?Object.keys(r):this.config.columns,S.forEach(D=>{var T=Object.getOwnPropertyDescriptor(r,D),p=r[D];T&&Object.defineProperty(r,D,{set:t=>{p=t,this.defWatcherBlock||this.save("columns"),T.set&&T.set(t)},get:()=>(T.get&&T.get(),p)})}),this.defWatcherBlock=!1)}load(e,r){var S=this.retrieveData(e);return r&&(S=S?this.mergeDefinition(r,S):r),S}retrieveData(e){return this.readFunc?this.readFunc(this.id,e):!1}mergeDefinition(e,r,S){var D=[];return r=r||[],r.forEach((T,p)=>{var t=this._findColumn(e,T),d;t&&(S?d=Object.keys(T):this.config.columns===!0||this.config.columns==null?(d=Object.keys(t),d.push("width")):d=this.config.columns,d.forEach(g=>{g!=="columns"&&typeof T[g]<"u"&&(t[g]=T[g])}),t.columns&&(t.columns=this.mergeDefinition(t.columns,T.columns)),D.push(t))}),e.forEach((T,p)=>{var t=this._findColumn(r,T);t||(D.length>p?D.splice(p,0,T):D.push(T))}),D}_findColumn(e,r){var S=r.columns?"group":r.field?"field":"object";return e.find(function(D){switch(S){case"group":return D.title===r.title&&D.columns.length===r.columns.length;case"field":return D.field===r.field;case"object":return D===r}})}save(e){var r={};switch(e){case"columns":r=this.parseColumns(this.table.columnManager.getColumns());break;case"filter":r=this.table.modules.filter.getFilters();break;case"headerFilter":r=this.table.modules.filter.getHeaderFilters();break;case"sort":r=this.validateSorters(this.table.modules.sort.getSort());break;case"group":r=this.getGroupConfig();break;case"page":r=this.getPageConfig();break}this.writeFunc&&this.writeFunc(this.id,e,r)}validateSorters(e){return e.forEach(function(r){r.column=r.field,delete r.field}),e}getGroupConfig(){var e={};return this.config.group&&((this.config.group===!0||this.config.group.groupBy)&&(e.groupBy=this.table.options.groupBy),(this.config.group===!0||this.config.group.groupStartOpen)&&(e.groupStartOpen=this.table.options.groupStartOpen),(this.config.group===!0||this.config.group.groupHeader)&&(e.groupHeader=this.table.options.groupHeader)),e}getPageConfig(){var e={};return this.config.page&&((this.config.page===!0||this.config.page.size)&&(e.paginationSize=this.table.modules.page.getPageSize()),(this.config.page===!0||this.config.page.page)&&(e.paginationInitialPage=this.table.modules.page.getPage())),e}parseColumns(e){var r=[],S=["headerContextMenu","headerMenu","contextMenu","clickMenu"];return e.forEach(D=>{var T={},p=D.getDefinition(),t;D.isGroup?(T.title=p.title,T.columns=this.parseColumns(D.getColumns())):(T.field=D.getField(),this.config.columns===!0||this.config.columns==null?(t=Object.keys(p),t.push("width"),t.push("visible")):t=this.config.columns,t.forEach(d=>{switch(d){case"width":T.width=D.getWidth();break;case"visible":T.visible=D.visible;break;default:typeof p[d]!="function"&&S.indexOf(d)===-1&&(T[d]=p[d])}})),r.push(T)}),r}}Ul.moduleName="persistence";Ul.moduleInitOrder=-10;Ul.readers=xP;Ul.writers=_P;class HM extends qi{constructor(e){super(e),this.columnSubscribers={},this.registerTableOption("rowContextPopup",!1),this.registerTableOption("rowClickPopup",!1),this.registerTableOption("rowDblClickPopup",!1),this.registerTableOption("groupContextPopup",!1),this.registerTableOption("groupClickPopup",!1),this.registerTableOption("groupDblClickPopup",!1),this.registerColumnOption("headerContextPopup"),this.registerColumnOption("headerClickPopup"),this.registerColumnOption("headerDblClickPopup"),this.registerColumnOption("headerPopup"),this.registerColumnOption("headerPopupIcon"),this.registerColumnOption("contextPopup"),this.registerColumnOption("clickPopup"),this.registerColumnOption("dblClickPopup"),this.registerComponentFunction("cell","popup",this._componentPopupCall.bind(this)),this.registerComponentFunction("column","popup",this._componentPopupCall.bind(this)),this.registerComponentFunction("row","popup",this._componentPopupCall.bind(this)),this.registerComponentFunction("group","popup",this._componentPopupCall.bind(this))}initialize(){this.initializeRowWatchers(),this.initializeGroupWatchers(),this.subscribe("column-init",this.initializeColumn.bind(this))}_componentPopupCall(e,r,S){this.loadPopupEvent(r,null,e,S)}initializeRowWatchers(){this.table.options.rowContextPopup&&(this.subscribe("row-contextmenu",this.loadPopupEvent.bind(this,this.table.options.rowContextPopup)),this.table.on("rowTapHold",this.loadPopupEvent.bind(this,this.table.options.rowContextPopup))),this.table.options.rowClickPopup&&this.subscribe("row-click",this.loadPopupEvent.bind(this,this.table.options.rowClickPopup)),this.table.options.rowDblClickPopup&&this.subscribe("row-dblclick",this.loadPopupEvent.bind(this,this.table.options.rowDblClickPopup))}initializeGroupWatchers(){this.table.options.groupContextPopup&&(this.subscribe("group-contextmenu",this.loadPopupEvent.bind(this,this.table.options.groupContextPopup)),this.table.on("groupTapHold",this.loadPopupEvent.bind(this,this.table.options.groupContextPopup))),this.table.options.groupClickPopup&&this.subscribe("group-click",this.loadPopupEvent.bind(this,this.table.options.groupClickPopup)),this.table.options.groupDblClickPopup&&this.subscribe("group-dblclick",this.loadPopupEvent.bind(this,this.table.options.groupDblClickPopup))}initializeColumn(e){var r=e.definition;r.headerContextPopup&&!this.columnSubscribers.headerContextPopup&&(this.columnSubscribers.headerContextPopup=this.loadPopupTableColumnEvent.bind(this,"headerContextPopup"),this.subscribe("column-contextmenu",this.columnSubscribers.headerContextPopup),this.table.on("headerTapHold",this.loadPopupTableColumnEvent.bind(this,"headerContextPopup"))),r.headerClickPopup&&!this.columnSubscribers.headerClickPopup&&(this.columnSubscribers.headerClickPopup=this.loadPopupTableColumnEvent.bind(this,"headerClickPopup"),this.subscribe("column-click",this.columnSubscribers.headerClickPopup)),r.headerDblClickPopup&&!this.columnSubscribers.headerDblClickPopup&&(this.columnSubscribers.headerDblClickPopup=this.loadPopupTableColumnEvent.bind(this,"headerDblClickPopup"),this.subscribe("column-dblclick",this.columnSubscribers.headerDblClickPopup)),r.headerPopup&&this.initializeColumnHeaderPopup(e),r.contextPopup&&!this.columnSubscribers.contextPopup&&(this.columnSubscribers.contextPopup=this.loadPopupTableCellEvent.bind(this,"contextPopup"),this.subscribe("cell-contextmenu",this.columnSubscribers.contextPopup),this.table.on("cellTapHold",this.loadPopupTableCellEvent.bind(this,"contextPopup"))),r.clickPopup&&!this.columnSubscribers.clickPopup&&(this.columnSubscribers.clickPopup=this.loadPopupTableCellEvent.bind(this,"clickPopup"),this.subscribe("cell-click",this.columnSubscribers.clickPopup)),r.dblClickPopup&&!this.columnSubscribers.dblClickPopup&&(this.columnSubscribers.dblClickPopup=this.loadPopupTableCellEvent.bind(this,"dblClickPopup"),this.subscribe("cell-click",this.columnSubscribers.dblClickPopup))}initializeColumnHeaderPopup(e){var r=e.definition.headerPopupIcon,S;S=document.createElement("span"),S.classList.add("tabulator-header-popup-button"),r?(typeof r=="function"&&(r=r(e.getComponent())),r instanceof HTMLElement?S.appendChild(r):S.innerHTML=r):S.innerHTML="⋮",S.addEventListener("click",D=>{D.stopPropagation(),D.preventDefault(),this.loadPopupEvent(e.definition.headerPopup,D,e)}),e.titleElement.insertBefore(S,e.titleElement.firstChild)}loadPopupTableCellEvent(e,r,S){S._cell&&(S=S._cell),S.column.definition[e]&&this.loadPopupEvent(S.column.definition[e],r,S)}loadPopupTableColumnEvent(e,r,S){S._column&&(S=S._column),S.definition[e]&&this.loadPopupEvent(S.definition[e],r,S)}loadPopupEvent(e,r,S,D){var T;function p(t){T=t}S._group?S=S._group:S._row&&(S=S._row),e=typeof e=="function"?e.call(this.table,r,S.getComponent(),p):e,this.loadPopup(r,S,e,T,D)}loadPopup(e,r,S,D,T){var p=!(e instanceof MouseEvent),t,d;S instanceof HTMLElement?t=S:(t=document.createElement("div"),t.innerHTML=S),t.classList.add("tabulator-popup"),t.addEventListener("click",g=>{g.stopPropagation()}),p||e.preventDefault(),d=this.popup(t),typeof D=="function"&&d.renderCallback(D),e?d.show(e):d.show(r.getElement(),T||"center"),d.hideOnBlur(()=>{this.dispatchExternal("popupClosed",r.getComponent())}),this.dispatchExternal("popupOpened",r.getComponent())}}HM.moduleName="popup";class GM extends qi{constructor(e){super(e),this.element=!1,this.manualBlock=!1,this.beforeprintEventHandler=null,this.afterprintEventHandler=null,this.registerTableOption("printAsHtml",!1),this.registerTableOption("printFormatter",!1),this.registerTableOption("printHeader",!1),this.registerTableOption("printFooter",!1),this.registerTableOption("printStyled",!0),this.registerTableOption("printRowRange","visible"),this.registerTableOption("printConfig",{}),this.registerColumnOption("print"),this.registerColumnOption("titlePrint")}initialize(){this.table.options.printAsHtml&&(this.beforeprintEventHandler=this.replaceTable.bind(this),this.afterprintEventHandler=this.cleanup.bind(this),window.addEventListener("beforeprint",this.beforeprintEventHandler),window.addEventListener("afterprint",this.afterprintEventHandler),this.subscribe("table-destroy",this.destroy.bind(this))),this.registerTableFunction("print",this.printFullscreen.bind(this))}destroy(){this.table.options.printAsHtml&&(window.removeEventListener("beforeprint",this.beforeprintEventHandler),window.removeEventListener("afterprint",this.afterprintEventHandler))}replaceTable(){this.manualBlock||(this.element=document.createElement("div"),this.element.classList.add("tabulator-print-table"),this.element.appendChild(this.table.modules.export.generateTable(this.table.options.printConfig,this.table.options.printStyled,this.table.options.printRowRange,"print")),this.table.element.style.display="none",this.table.element.parentNode.insertBefore(this.element,this.table.element))}cleanup(){document.body.classList.remove("tabulator-print-fullscreen-hide"),this.element&&this.element.parentNode&&(this.element.parentNode.removeChild(this.element),this.table.element.style.display="")}printFullscreen(e,r,S){var D=window.scrollX,T=window.scrollY,p=document.createElement("div"),t=document.createElement("div"),d=this.table.modules.export.generateTable(typeof S<"u"?S:this.table.options.printConfig,typeof r<"u"?r:this.table.options.printStyled,e||this.table.options.printRowRange,"print"),g,i;this.manualBlock=!0,this.element=document.createElement("div"),this.element.classList.add("tabulator-print-fullscreen"),this.table.options.printHeader&&(p.classList.add("tabulator-print-header"),g=typeof this.table.options.printHeader=="function"?this.table.options.printHeader.call(this.table):this.table.options.printHeader,typeof g=="string"?p.innerHTML=g:p.appendChild(g),this.element.appendChild(p)),this.element.appendChild(d),this.table.options.printFooter&&(t.classList.add("tabulator-print-footer"),i=typeof this.table.options.printFooter=="function"?this.table.options.printFooter.call(this.table):this.table.options.printFooter,typeof i=="string"?t.innerHTML=i:t.appendChild(i),this.element.appendChild(t)),document.body.classList.add("tabulator-print-fullscreen-hide"),document.body.appendChild(this.element),this.table.options.printFormatter&&this.table.options.printFormatter(this.element,d),window.print(),this.cleanup(),window.scrollTo(D,T),this.manualBlock=!1}}GM.moduleName="print";class qM extends qi{constructor(e){super(e),this.data=!1,this.blocked=!1,this.origFuncs={},this.currentVersion=0,this.registerTableOption("reactiveData",!1)}initialize(){this.table.options.reactiveData&&(this.subscribe("cell-value-save-before",this.block.bind(this,"cellsave")),this.subscribe("cell-value-save-after",this.unblock.bind(this,"cellsave")),this.subscribe("row-data-save-before",this.block.bind(this,"rowsave")),this.subscribe("row-data-save-after",this.unblock.bind(this,"rowsave")),this.subscribe("row-data-init-after",this.watchRow.bind(this)),this.subscribe("data-processing",this.watchData.bind(this)),this.subscribe("table-destroy",this.unwatchData.bind(this)))}watchData(e){var r=this,S;this.currentVersion++,S=this.currentVersion,this.unwatchData(),this.data=e,this.origFuncs.push=e.push,Object.defineProperty(this.data,"push",{enumerable:!1,configurable:!0,value:function(){var D=Array.from(arguments),T;return!r.blocked&&S===r.currentVersion&&(r.block("data-push"),D.forEach(p=>{r.table.rowManager.addRowActual(p,!1)}),T=r.origFuncs.push.apply(e,arguments),r.unblock("data-push")),T}}),this.origFuncs.unshift=e.unshift,Object.defineProperty(this.data,"unshift",{enumerable:!1,configurable:!0,value:function(){var D=Array.from(arguments),T;return!r.blocked&&S===r.currentVersion&&(r.block("data-unshift"),D.forEach(p=>{r.table.rowManager.addRowActual(p,!0)}),T=r.origFuncs.unshift.apply(e,arguments),r.unblock("data-unshift")),T}}),this.origFuncs.shift=e.shift,Object.defineProperty(this.data,"shift",{enumerable:!1,configurable:!0,value:function(){var D,T;return!r.blocked&&S===r.currentVersion&&(r.block("data-shift"),r.data.length&&(D=r.table.rowManager.getRowFromDataObject(r.data[0]),D&&D.deleteActual()),T=r.origFuncs.shift.call(e),r.unblock("data-shift")),T}}),this.origFuncs.pop=e.pop,Object.defineProperty(this.data,"pop",{enumerable:!1,configurable:!0,value:function(){var D,T;return!r.blocked&&S===r.currentVersion&&(r.block("data-pop"),r.data.length&&(D=r.table.rowManager.getRowFromDataObject(r.data[r.data.length-1]),D&&D.deleteActual()),T=r.origFuncs.pop.call(e),r.unblock("data-pop")),T}}),this.origFuncs.splice=e.splice,Object.defineProperty(this.data,"splice",{enumerable:!1,configurable:!0,value:function(){var D=Array.from(arguments),T=D[0]<0?e.length+D[0]:D[0],p=D[1],t=D[2]?D.slice(2):!1,d,g;if(!r.blocked&&S===r.currentVersion){if(r.block("data-splice"),t&&(d=e[T]?r.table.rowManager.getRowFromDataObject(e[T]):!1,d?t.forEach(M=>{r.table.rowManager.addRowActual(M,!0,d,!0)}):(t=t.slice().reverse(),t.forEach(M=>{r.table.rowManager.addRowActual(M,!0,!1,!0)}))),p!==0){var i=e.slice(T,typeof D[1]>"u"?D[1]:T+p);i.forEach((M,v)=>{var f=r.table.rowManager.getRowFromDataObject(M);f&&f.deleteActual(v!==i.length-1)})}(t||p!==0)&&r.table.rowManager.reRenderInPosition(),g=r.origFuncs.splice.apply(e,arguments),r.unblock("data-splice")}return g}})}unwatchData(){if(this.data!==!1)for(var e in this.origFuncs)Object.defineProperty(this.data,e,{enumerable:!0,configurable:!0,writable:!0,value:this.origFuncs.key})}watchRow(e){var r=e.getData();for(var S in r)this.watchKey(e,r,S);this.table.options.dataTree&&this.watchTreeChildren(e)}watchTreeChildren(e){var r=this,S=e.getData()[this.table.options.dataTreeChildField],D={};S&&(D.push=S.push,Object.defineProperty(S,"push",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-push");var T=D.push.apply(S,arguments);this.rebuildTree(e),r.unblock("tree-push")}return T}}),D.unshift=S.unshift,Object.defineProperty(S,"unshift",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-unshift");var T=D.unshift.apply(S,arguments);this.rebuildTree(e),r.unblock("tree-unshift")}return T}}),D.shift=S.shift,Object.defineProperty(S,"shift",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-shift");var T=D.shift.call(S);this.rebuildTree(e),r.unblock("tree-shift")}return T}}),D.pop=S.pop,Object.defineProperty(S,"pop",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-pop");var T=D.pop.call(S);this.rebuildTree(e),r.unblock("tree-pop")}return T}}),D.splice=S.splice,Object.defineProperty(S,"splice",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-splice");var T=D.splice.apply(S,arguments);this.rebuildTree(e),r.unblock("tree-splice")}return T}}))}rebuildTree(e){this.table.modules.dataTree.initializeRow(e),this.table.modules.dataTree.layoutRow(e),this.table.rowManager.refreshActiveData("tree",!1,!0)}watchKey(e,r,S){var D=this,T=Object.getOwnPropertyDescriptor(r,S),p=r[S],t=this.currentVersion;Object.defineProperty(r,S,{set:d=>{if(p=d,!D.blocked&&t===D.currentVersion){D.block("key");var g={};g[S]=d,e.updateData(g),D.unblock("key")}T.set&&T.set(d)},get:()=>(T.get&&T.get(),p)})}unwatchRow(e){var r=e.getData();for(var S in r)Object.defineProperty(r,S,{value:r[S]})}block(e){this.blocked||(this.blocked=e)}unblock(e){this.blocked===e&&(this.blocked=!1)}}qM.moduleName="reactiveData";class WM extends qi{constructor(e){super(e),this.startColumn=!1,this.startX=!1,this.startWidth=!1,this.latestX=!1,this.handle=null,this.initialNextColumn=null,this.nextColumn=null,this.initialized=!1,this.registerColumnOption("resizable",!0),this.registerTableOption("resizableColumnFit",!1)}initialize(){this.subscribe("column-rendered",this.layoutColumnHeader.bind(this))}initializeEventWatchers(){this.initialized||(this.subscribe("cell-rendered",this.layoutCellHandles.bind(this)),this.subscribe("cell-delete",this.deInitializeComponent.bind(this)),this.subscribe("cell-height",this.resizeHandle.bind(this)),this.subscribe("column-moved",this.columnLayoutUpdated.bind(this)),this.subscribe("column-hide",this.deInitializeColumn.bind(this)),this.subscribe("column-show",this.columnLayoutUpdated.bind(this)),this.subscribe("column-width",this.columnWidthUpdated.bind(this)),this.subscribe("column-delete",this.deInitializeComponent.bind(this)),this.subscribe("column-height",this.resizeHandle.bind(this)),this.initialized=!0)}layoutCellHandles(e){e.row.type==="row"&&(this.deInitializeComponent(e),this.initializeColumn("cell",e,e.column,e.element))}layoutColumnHeader(e){e.definition.resizable&&(this.initializeEventWatchers(),this.deInitializeComponent(e),this.initializeColumn("header",e,e,e.element))}columnLayoutUpdated(e){var r=e.prevColumn();this.reinitializeColumn(e),r&&this.reinitializeColumn(r)}columnWidthUpdated(e){e.modules.frozen&&(this.table.modules.frozenColumns.leftColumns.includes(e)?this.table.modules.frozenColumns.leftColumns.forEach(r=>{this.reinitializeColumn(r)}):this.table.modules.frozenColumns.rightColumns.includes(e)&&this.table.modules.frozenColumns.rightColumns.forEach(r=>{this.reinitializeColumn(r)}))}frozenColumnOffset(e){var r=!1;return e.modules.frozen&&(r=e.modules.frozen.marginValue,e.modules.frozen.position==="left"?r+=e.getWidth()-3:r&&(r-=3)),r!==!1?r+"px":!1}reinitializeColumn(e){var r=this.frozenColumnOffset(e);e.cells.forEach(S=>{S.modules.resize&&S.modules.resize.handleEl&&(r&&(S.modules.resize.handleEl.style[e.modules.frozen.position]=r,S.modules.resize.handleEl.style["z-index"]=11),S.element.after(S.modules.resize.handleEl))}),e.modules.resize&&e.modules.resize.handleEl&&(r&&(e.modules.resize.handleEl.style[e.modules.frozen.position]=r),e.element.after(e.modules.resize.handleEl))}initializeColumn(e,r,S,D){var T=this,p=!1,t=S.definition.resizable,d={},g=S.getLastColumn();if(e==="header"&&(p=S.definition.formatter=="textarea"||S.definition.variableHeight,d={variableHeight:p}),(t===!0||t==e)&&this._checkResizability(g)){var i=document.createElement("span");i.className="tabulator-col-resize-handle",i.addEventListener("click",function(v){v.stopPropagation()});var M=function(v){T.startColumn=S,T.initialNextColumn=T.nextColumn=g.nextColumn(),T._mouseDown(v,g,i)};i.addEventListener("mousedown",M),i.addEventListener("touchstart",M,{passive:!0}),i.addEventListener("dblclick",v=>{var f=g.getWidth();v.stopPropagation(),g.reinitializeWidth(!0),f!==g.getWidth()&&(T.dispatch("column-resized",g),T.table.externalEvents.dispatch("columnResized",g.getComponent()))}),S.modules.frozen&&(i.style.position="sticky",i.style[S.modules.frozen.position]=this.frozenColumnOffset(S)),d.handleEl=i,D.parentNode&&S.visible&&D.after(i)}r.modules.resize=d}deInitializeColumn(e){this.deInitializeComponent(e),e.cells.forEach(r=>{this.deInitializeComponent(r)})}deInitializeComponent(e){var r;e.modules.resize&&(r=e.modules.resize.handleEl,r&&r.parentElement&&r.parentElement.removeChild(r))}resizeHandle(e,r){e.modules.resize&&e.modules.resize.handleEl&&(e.modules.resize.handleEl.style.height=r)}_checkResizability(e){return e.definition.resizable}_mouseDown(e,r,S){var D=this;D.table.element.classList.add("tabulator-block-select");function T(t){var d=typeof t.screenX>"u"?t.touches[0].screenX:t.screenX,g=d-D.startX,i=d-D.latestX,M,v;if(D.latestX=d,D.table.rtl&&(g=-g,i=-i),M=r.width==r.minWidth||r.width==r.maxWidth,r.setWidth(D.startWidth+g),v=r.width==r.minWidth||r.width==r.maxWidth,i<0&&(D.nextColumn=D.initialNextColumn),D.table.options.resizableColumnFit&&D.nextColumn&&!(M&&v)){let f=D.nextColumn.getWidth();i>0&&f<=D.nextColumn.minWidth&&(D.nextColumn=D.nextColumn.nextColumn()),D.nextColumn&&D.nextColumn.setWidth(D.nextColumn.getWidth()-i)}D.table.columnManager.rerenderColumns(!0),!D.table.browserSlow&&r.modules.resize&&r.modules.resize.variableHeight&&r.checkCellHeights()}function p(t){D.startColumn.modules.edit&&(D.startColumn.modules.edit.blocked=!1),D.table.browserSlow&&r.modules.resize&&r.modules.resize.variableHeight&&r.checkCellHeights(),document.body.removeEventListener("mouseup",p),document.body.removeEventListener("mousemove",T),S.removeEventListener("touchmove",T),S.removeEventListener("touchend",p),D.table.element.classList.remove("tabulator-block-select"),D.startWidth!==r.getWidth()&&(D.table.columnManager.verticalAlignHeaders(),D.dispatch("column-resized",r),D.table.externalEvents.dispatch("columnResized",r.getComponent()))}e.stopPropagation(),D.startColumn.modules.edit&&(D.startColumn.modules.edit.blocked=!0),D.startX=typeof e.screenX>"u"?e.touches[0].screenX:e.screenX,D.latestX=D.startX,D.startWidth=r.getWidth(),document.body.addEventListener("mousemove",T),document.body.addEventListener("mouseup",p),S.addEventListener("touchmove",T,{passive:!0}),S.addEventListener("touchend",p)}}WM.moduleName="resizeColumns";class YM extends qi{constructor(e){super(e),this.startColumn=!1,this.startY=!1,this.startHeight=!1,this.handle=null,this.prevHandle=null,this.registerTableOption("resizableRows",!1)}initialize(){this.table.options.resizableRows&&this.subscribe("row-layout-after",this.initializeRow.bind(this))}initializeRow(e){var r=this,S=e.getElement(),D=document.createElement("div");D.className="tabulator-row-resize-handle";var T=document.createElement("div");T.className="tabulator-row-resize-handle prev",D.addEventListener("click",function(d){d.stopPropagation()});var p=function(d){r.startRow=e,r._mouseDown(d,e,D)};D.addEventListener("mousedown",p),D.addEventListener("touchstart",p,{passive:!0}),T.addEventListener("click",function(d){d.stopPropagation()});var t=function(d){var g=r.table.rowManager.prevDisplayRow(e);g&&(r.startRow=g,r._mouseDown(d,g,T))};T.addEventListener("mousedown",t),T.addEventListener("touchstart",t,{passive:!0}),S.appendChild(D),S.appendChild(T)}_mouseDown(e,r,S){var D=this;D.table.element.classList.add("tabulator-block-select");function T(t){r.setHeight(D.startHeight+((typeof t.screenY>"u"?t.touches[0].screenY:t.screenY)-D.startY))}function p(t){document.body.removeEventListener("mouseup",T),document.body.removeEventListener("mousemove",T),S.removeEventListener("touchmove",T),S.removeEventListener("touchend",p),D.table.element.classList.remove("tabulator-block-select"),D.dispatchExternal("rowResized",r.getComponent())}e.stopPropagation(),D.startY=typeof e.screenY>"u"?e.touches[0].screenY:e.screenY,D.startHeight=r.getHeight(),document.body.addEventListener("mousemove",T),document.body.addEventListener("mouseup",p),S.addEventListener("touchmove",T,{passive:!0}),S.addEventListener("touchend",p)}}YM.moduleName="resizeRows";class $M extends qi{constructor(e){super(e),this.binding=!1,this.visibilityObserver=!1,this.resizeObserver=!1,this.containerObserver=!1,this.tableHeight=0,this.tableWidth=0,this.containerHeight=0,this.containerWidth=0,this.autoResize=!1,this.visible=!1,this.initialized=!1,this.initialRedraw=!1,this.registerTableOption("autoResize",!0)}initialize(){if(this.table.options.autoResize){var e=this.table,r;this.tableHeight=e.element.clientHeight,this.tableWidth=e.element.clientWidth,e.element.parentNode&&(this.containerHeight=e.element.parentNode.clientHeight,this.containerWidth=e.element.parentNode.clientWidth),typeof IntersectionObserver<"u"&&typeof ResizeObserver<"u"&&e.rowManager.getRenderMode()==="virtual"?(this.initializeVisibilityObserver(),this.autoResize=!0,this.resizeObserver=new ResizeObserver(S=>{if(!e.browserMobile||e.browserMobile&&(!e.modules.edit||e.modules.edit&&!e.modules.edit.currentCell)){var D=Math.floor(S[0].contentRect.height),T=Math.floor(S[0].contentRect.width);(this.tableHeight!=D||this.tableWidth!=T)&&(this.tableHeight=D,this.tableWidth=T,e.element.parentNode&&(this.containerHeight=e.element.parentNode.clientHeight,this.containerWidth=e.element.parentNode.clientWidth),this.redrawTable())}}),this.resizeObserver.observe(e.element),r=window.getComputedStyle(e.element),this.table.element.parentNode&&!this.table.rowManager.fixedHeight&&(r.getPropertyValue("max-height")||r.getPropertyValue("min-height"))&&(this.containerObserver=new ResizeObserver(S=>{if(!e.browserMobile||e.browserMobile&&(!e.modules.edit||e.modules.edit&&!e.modules.edit.currentCell)){var D=Math.floor(S[0].contentRect.height),T=Math.floor(S[0].contentRect.width);(this.containerHeight!=D||this.containerWidth!=T)&&(this.containerHeight=D,this.containerWidth=T,this.tableHeight=e.element.clientHeight,this.tableWidth=e.element.clientWidth),this.redrawTable()}}),this.containerObserver.observe(this.table.element.parentNode)),this.subscribe("table-resize",this.tableResized.bind(this))):(this.binding=function(){(!e.browserMobile||e.browserMobile&&(!e.modules.edit||e.modules.edit&&!e.modules.edit.currentCell))&&(e.columnManager.rerenderColumns(!0),e.redraw())},window.addEventListener("resize",this.binding)),this.subscribe("table-destroy",this.clearBindings.bind(this))}}initializeVisibilityObserver(){this.visibilityObserver=new IntersectionObserver(e=>{this.visible=e[0].isIntersecting,this.initialized?this.visible&&(this.redrawTable(this.initialRedraw),this.initialRedraw=!1):(this.initialized=!0,this.initialRedraw=!this.visible)}),this.visibilityObserver.observe(this.table.element)}redrawTable(e){this.initialized&&this.visible&&(this.table.columnManager.rerenderColumns(!0),this.table.redraw(e))}tableResized(){this.table.rowManager.redraw()}clearBindings(){this.binding&&window.removeEventListener("resize",this.binding),this.resizeObserver&&this.resizeObserver.unobserve(this.table.element),this.visibilityObserver&&this.visibilityObserver.unobserve(this.table.element),this.containerObserver&&this.containerObserver.unobserve(this.table.element.parentNode)}}$M.moduleName="resizeTable";class ZM extends qi{constructor(e){super(e),this.columns=[],this.hiddenColumns=[],this.mode="",this.index=0,this.collapseFormatter=[],this.collapseStartOpen=!0,this.collapseHandleColumn=!1,this.registerTableOption("responsiveLayout",!1),this.registerTableOption("responsiveLayoutCollapseStartOpen",!0),this.registerTableOption("responsiveLayoutCollapseUseFormatters",!0),this.registerTableOption("responsiveLayoutCollapseFormatter",!1),this.registerColumnOption("responsive")}initialize(){this.table.options.responsiveLayout&&(this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("column-show",this.updateColumnVisibility.bind(this)),this.subscribe("column-hide",this.updateColumnVisibility.bind(this)),this.subscribe("columns-loaded",this.initializeResponsivity.bind(this)),this.subscribe("column-moved",this.initializeResponsivity.bind(this)),this.subscribe("column-add",this.initializeResponsivity.bind(this)),this.subscribe("column-delete",this.initializeResponsivity.bind(this)),this.subscribe("table-redrawing",this.tableRedraw.bind(this)),this.table.options.responsiveLayout==="collapse"&&(this.subscribe("row-data-changed",this.generateCollapsedRowContent.bind(this)),this.subscribe("row-init",this.initializeRow.bind(this)),this.subscribe("row-layout",this.layoutRow.bind(this))))}tableRedraw(e){["fitColumns","fitDataStretch"].indexOf(this.layoutMode())===-1&&(e||this.update())}initializeResponsivity(){var e=[];this.mode=this.table.options.responsiveLayout,this.collapseFormatter=this.table.options.responsiveLayoutCollapseFormatter||this.formatCollapsedData,this.collapseStartOpen=this.table.options.responsiveLayoutCollapseStartOpen,this.hiddenColumns=[],this.table.columnManager.columnsByIndex.forEach((r,S)=>{r.modules.responsive&&r.modules.responsive.order&&r.modules.responsive.visible&&(r.modules.responsive.index=S,e.push(r),!r.visible&&this.mode==="collapse"&&this.hiddenColumns.push(r))}),e=e.reverse(),e=e.sort((r,S)=>{var D=S.modules.responsive.order-r.modules.responsive.order;return D||S.modules.responsive.index-r.modules.responsive.index}),this.columns=e,this.mode==="collapse"&&this.generateCollapsedContent();for(let r of this.table.columnManager.columnsByIndex)if(r.definition.formatter=="responsiveCollapse"){this.collapseHandleColumn=r;break}this.collapseHandleColumn&&(this.hiddenColumns.length?this.collapseHandleColumn.show():this.collapseHandleColumn.hide())}initializeColumn(e){var r=e.getDefinition();e.modules.responsive={order:typeof r.responsive>"u"?1:r.responsive,visible:r.visible!==!1}}initializeRow(e){var r;e.type!=="calc"&&(r=document.createElement("div"),r.classList.add("tabulator-responsive-collapse"),e.modules.responsiveLayout={element:r,open:this.collapseStartOpen},this.collapseStartOpen||(r.style.display="none"))}layoutRow(e){var r=e.getElement();e.modules.responsiveLayout&&(r.appendChild(e.modules.responsiveLayout.element),this.generateCollapsedRowContent(e))}updateColumnVisibility(e,r){!r&&e.modules.responsive&&(e.modules.responsive.visible=e.visible,this.initializeResponsivity())}hideColumn(e){var r=this.hiddenColumns.length;e.hide(!1,!0),this.mode==="collapse"&&(this.hiddenColumns.unshift(e),this.generateCollapsedContent(),this.collapseHandleColumn&&!r&&this.collapseHandleColumn.show())}showColumn(e){var r;e.show(!1,!0),e.setWidth(e.getWidth()),this.mode==="collapse"&&(r=this.hiddenColumns.indexOf(e),r>-1&&this.hiddenColumns.splice(r,1),this.generateCollapsedContent(),this.collapseHandleColumn&&!this.hiddenColumns.length&&this.collapseHandleColumn.hide())}update(){for(var e=!0;e;){let r=this.table.modules.layout.getMode()=="fitColumns"?this.table.columnManager.getFlexBaseWidth():this.table.columnManager.getWidth(),S=(this.table.options.headerVisible?this.table.columnManager.element.clientWidth:this.table.element.clientWidth)-r;if(S<0){let D=this.columns[this.index];D?(this.hideColumn(D),this.index++):e=!1}else{let D=this.columns[this.index-1];D&&S>0&&S>=D.getWidth()?(this.showColumn(D),this.index--):e=!1}this.table.rowManager.activeRowsCount||this.table.rowManager.renderEmptyScroll()}}generateCollapsedContent(){var e=this.table.rowManager.getDisplayRows();e.forEach(r=>{this.generateCollapsedRowContent(r)})}generateCollapsedRowContent(e){var r,S;if(e.modules.responsiveLayout){for(r=e.modules.responsiveLayout.element;r.firstChild;)r.removeChild(r.firstChild);S=this.collapseFormatter(this.generateCollapsedRowData(e)),S&&r.appendChild(S)}}generateCollapsedRowData(e){var r=e.getData(),S=[],D;return this.hiddenColumns.forEach(T=>{var p=T.getFieldValue(r);if(T.definition.title&&T.field)if(T.modules.format&&this.table.options.responsiveLayoutCollapseUseFormatters){let d=function(g){g()};var t=d;D={value:!1,data:{},getValue:function(){return p},getData:function(){return r},getType:function(){return"cell"},getElement:function(){return document.createElement("div")},getRow:function(){return e.getComponent()},getColumn:function(){return T.getComponent()},getTable:()=>this.table},S.push({field:T.field,title:T.definition.title,value:T.modules.format.formatter.call(this.table.modules.format,D,T.modules.format.params,d)})}else S.push({field:T.field,title:T.definition.title,value:p})}),S}formatCollapsedData(e){var r=document.createElement("table");return e.forEach(function(S){var D=document.createElement("tr"),T=document.createElement("td"),p=document.createElement("td"),t,d=document.createElement("strong");T.appendChild(d),this.langBind("columns|"+S.field,function(g){d.innerHTML=g||S.title}),S.value instanceof Node?(t=document.createElement("div"),t.appendChild(S.value),p.appendChild(t)):p.innerHTML=S.value,D.appendChild(T),D.appendChild(p),r.appendChild(D)},this),Object.keys(e).length?r:""}}ZM.moduleName="responsiveLayout";class XM extends qi{constructor(e){super(e),this.selecting=!1,this.lastClickedRow=!1,this.selectPrev=[],this.selectedRows=[],this.headerCheckboxElement=null,this.registerTableOption("selectableRows","highlight"),this.registerTableOption("selectableRowsRangeMode","drag"),this.registerTableOption("selectableRowsRollingSelection",!0),this.registerTableOption("selectableRowsPersistence",!0),this.registerTableOption("selectableRowsCheck",function(r,S){return!0}),this.registerTableFunction("selectRow",this.selectRows.bind(this)),this.registerTableFunction("deselectRow",this.deselectRows.bind(this)),this.registerTableFunction("toggleSelectRow",this.toggleRow.bind(this)),this.registerTableFunction("getSelectedRows",this.getSelectedRows.bind(this)),this.registerTableFunction("getSelectedData",this.getSelectedData.bind(this)),this.registerComponentFunction("row","select",this.selectRows.bind(this)),this.registerComponentFunction("row","deselect",this.deselectRows.bind(this)),this.registerComponentFunction("row","toggleSelect",this.toggleRow.bind(this)),this.registerComponentFunction("row","isSelected",this.isRowSelected.bind(this))}initialize(){this.deprecatedOptionsCheck(),this.table.options.selectableRows==="highlight"&&this.table.options.selectableRange&&(this.table.options.selectableRows=!1),this.table.options.selectableRows!==!1&&(this.subscribe("row-init",this.initializeRow.bind(this)),this.subscribe("row-deleting",this.rowDeleted.bind(this)),this.subscribe("rows-wipe",this.clearSelectionData.bind(this)),this.subscribe("rows-retrieve",this.rowRetrieve.bind(this)),this.table.options.selectableRows&&!this.table.options.selectableRowsPersistence&&this.subscribe("data-refreshing",this.deselectRows.bind(this)))}deprecatedOptionsCheck(){this.deprecationCheck("selectable","selectableRows",!0),this.deprecationCheck("selectableRollingSelection","selectableRowsRollingSelection",!0),this.deprecationCheck("selectableRangeMode","selectableRowsRangeMode",!0),this.deprecationCheck("selectablePersistence","selectableRowsPersistence",!0),this.deprecationCheck("selectableCheck","selectableRowsCheck",!0)}rowRetrieve(e,r){return e==="selected"?this.selectedRows:r}rowDeleted(e){this._deselectRow(e,!0)}clearSelectionData(e){var r=this.selectedRows.length;this.selecting=!1,this.lastClickedRow=!1,this.selectPrev=[],this.selectedRows=[],r&&e!==!0&&this._rowSelectionChanged()}initializeRow(e){var r=this,S=r.checkRowSelectability(e),D=e.getElement(),T=function(){setTimeout(function(){r.selecting=!1},50),document.body.removeEventListener("mouseup",T)};e.modules.select={selected:!1},D.classList.toggle("tabulator-selectable",S),D.classList.toggle("tabulator-unselectable",!S),r.checkRowSelectability(e)&&r.table.options.selectableRows&&r.table.options.selectableRows!="highlight"&&(r.table.options.selectableRowsRangeMode==="click"?D.addEventListener("click",this.handleComplexRowClick.bind(this,e)):(D.addEventListener("click",function(p){(!r.table.modExists("edit")||!r.table.modules.edit.getCurrentCell())&&r.table._clearSelection(),r.selecting||r.toggleRow(e)}),D.addEventListener("mousedown",function(p){if(p.shiftKey)return r.table._clearSelection(),r.selecting=!0,r.selectPrev=[],document.body.addEventListener("mouseup",T),document.body.addEventListener("keyup",T),r.toggleRow(e),!1}),D.addEventListener("mouseenter",function(p){r.selecting&&(r.table._clearSelection(),r.toggleRow(e),r.selectPrev[1]==e&&r.toggleRow(r.selectPrev[0]))}),D.addEventListener("mouseout",function(p){r.selecting&&(r.table._clearSelection(),r.selectPrev.unshift(e))})))}handleComplexRowClick(e,r){if(r.shiftKey){this.table._clearSelection(),this.lastClickedRow=this.lastClickedRow||e;var S=this.table.rowManager.getDisplayRowIndex(this.lastClickedRow),D=this.table.rowManager.getDisplayRowIndex(e),T=S<=D?S:D,p=S>=D?S:D,t=this.table.rowManager.getDisplayRows().slice(0),d=t.splice(T,p-T+1);r.ctrlKey||r.metaKey?(d.forEach(g=>{g!==this.lastClickedRow&&(this.table.options.selectableRows!==!0&&!this.isRowSelected(e)?this.selectedRows.lengththis.table.options.selectableRows&&(d=d.slice(0,this.table.options.selectableRows)),this.selectRows(d)),this.table._clearSelection()}else r.ctrlKey||r.metaKey?(this.toggleRow(e),this.lastClickedRow=e):(this.deselectRows(void 0,!0),this.selectRows(e),this.lastClickedRow=e)}checkRowSelectability(e){return e&&e.type==="row"?this.table.options.selectableRowsCheck.call(this.table,e.getComponent()):!1}toggleRow(e){this.checkRowSelectability(e)&&(e.modules.select&&e.modules.select.selected?this._deselectRow(e):this._selectRow(e))}selectRows(e){var r=[],S,D;switch(typeof e){case"undefined":S=this.table.rowManager.rows;break;case"number":S=this.table.rowManager.findRow(e);break;case"string":S=this.table.rowManager.findRow(e),S||(S=this.table.rowManager.getRows(e));break;default:S=e;break}Array.isArray(S)?S.length&&(S.forEach(T=>{D=this._selectRow(T,!0,!0),D&&r.push(D)}),this._rowSelectionChanged(!1,r)):S&&this._selectRow(S,!1,!0)}_selectRow(e,r,S){if(!isNaN(this.table.options.selectableRows)&&this.table.options.selectableRows!==!0&&!S&&this.selectedRows.length>=this.table.options.selectableRows)if(this.table.options.selectableRowsRollingSelection)this._deselectRow(this.selectedRows[0]);else return!1;var D=this.table.rowManager.findRow(e);if(D){if(this.selectedRows.indexOf(D)==-1)return D.getElement().classList.add("tabulator-selected"),D.modules.select||(D.modules.select={}),D.modules.select.selected=!0,D.modules.select.checkboxEl&&(D.modules.select.checkboxEl.checked=!0),this.selectedRows.push(D),this.table.options.dataTreeSelectPropagate&&this.childRowSelection(D,!0),this.dispatchExternal("rowSelected",D.getComponent()),this._rowSelectionChanged(r,D),D}else r||console.warn("Selection Error - No such row found, ignoring selection:"+e)}isRowSelected(e){return this.selectedRows.indexOf(e)!==-1}deselectRows(e,r){var S=[],D,T;switch(typeof e){case"undefined":D=Object.assign([],this.selectedRows);break;case"number":D=this.table.rowManager.findRow(e);break;case"string":D=this.table.rowManager.findRow(e),D||(D=this.table.rowManager.getRows(e));break;default:D=e;break}Array.isArray(D)?D.length&&(D.forEach(p=>{T=this._deselectRow(p,!0,!0),T&&S.push(T)}),this._rowSelectionChanged(r,[],S)):D&&this._deselectRow(D,r,!0)}_deselectRow(e,r){var S=this,D=S.table.rowManager.findRow(e),T,p;if(D){if(T=S.selectedRows.findIndex(function(t){return t==D}),T>-1)return p=D.getElement(),p&&p.classList.remove("tabulator-selected"),D.modules.select||(D.modules.select={}),D.modules.select.selected=!1,D.modules.select.checkboxEl&&(D.modules.select.checkboxEl.checked=!1),S.selectedRows.splice(T,1),this.table.options.dataTreeSelectPropagate&&this.childRowSelection(D,!1),this.dispatchExternal("rowDeselected",D.getComponent()),S._rowSelectionChanged(r,void 0,D),D}else r||console.warn("Deselection Error - No such row found, ignoring selection:"+e)}getSelectedData(){var e=[];return this.selectedRows.forEach(function(r){e.push(r.getData())}),e}getSelectedRows(){var e=[];return this.selectedRows.forEach(function(r){e.push(r.getComponent())}),e}_rowSelectionChanged(e,r=[],S=[]){this.headerCheckboxElement&&(this.selectedRows.length===0?(this.headerCheckboxElement.checked=!1,this.headerCheckboxElement.indeterminate=!1):this.table.rowManager.rows.length===this.selectedRows.length?(this.headerCheckboxElement.checked=!0,this.headerCheckboxElement.indeterminate=!1):(this.headerCheckboxElement.indeterminate=!0,this.headerCheckboxElement.checked=!1)),e||(Array.isArray(r)||(r=[r]),r=r.map(D=>D.getComponent()),Array.isArray(S)||(S=[S]),S=S.map(D=>D.getComponent()),this.dispatchExternal("rowSelectionChanged",this.getSelectedData(),this.getSelectedRows(),r,S))}registerRowSelectCheckbox(e,r){e._row.modules.select||(e._row.modules.select={}),e._row.modules.select.checkboxEl=r}registerHeaderSelectCheckbox(e){this.headerCheckboxElement=e}childRowSelection(e,r){var S=this.table.modules.dataTree.getChildren(e,!0);if(r)for(let D of S)this._selectRow(D,!0);else for(let D of S)this._deselectRow(D,!0)}}XM.moduleName="selectRow";function wP(n,e,r,S,D,T,p){var t=p.alignEmptyValues,d=p.decimalSeparator,g=p.thousandSeparator,i=0;if(n=String(n),e=String(e),g&&(n=n.split(g).join(""),e=e.split(g).join("")),d&&(n=n.split(d).join("."),e=e.split(d).join(".")),n=parseFloat(n),e=parseFloat(e),isNaN(n))i=isNaN(e)?0:-1;else if(isNaN(e))i=1;else return n-e;return(t==="top"&&T==="desc"||t==="bottom"&&T==="asc")&&(i*=-1),i}function TP(n,e,r,S,D,T,p){var t=p.alignEmptyValues,d=0,g;if(!n)d=e?-1:0;else if(!e)d=1;else{switch(typeof p.locale){case"boolean":p.locale&&(g=this.langLocale());break;case"string":g=p.locale;break}return String(n).toLowerCase().localeCompare(String(e).toLowerCase(),g)}return(t==="top"&&T==="desc"||t==="bottom"&&T==="asc")&&(d*=-1),d}function q2(n,e,r,S,D,T,p){var t=window.DateTime||luxon.DateTime,d=p.format||"dd/MM/yyyy HH:mm:ss",g=p.alignEmptyValues,i=0;if(typeof t<"u"){if(t.isDateTime(n)||(d==="iso"?n=t.fromISO(String(n)):n=t.fromFormat(String(n),d)),t.isDateTime(e)||(d==="iso"?e=t.fromISO(String(e)):e=t.fromFormat(String(e),d)),!n.isValid)i=e.isValid?-1:0;else if(!e.isValid)i=1;else return n-e;return(g==="top"&&T==="desc"||g==="bottom"&&T==="asc")&&(i*=-1),i}else console.error("Sort Error - 'datetime' sorter is dependant on luxon.js")}function kP(n,e,r,S,D,T,p){return p.format||(p.format="dd/MM/yyyy"),q2.call(this,n,e,r,S,D,T,p)}function MP(n,e,r,S,D,T,p){return p.format||(p.format="HH:mm"),q2.call(this,n,e,r,S,D,T,p)}function AP(n,e,r,S,D,T,p){var t=n===!0||n==="true"||n==="True"||n===1?1:0,d=e===!0||e==="true"||e==="True"||e===1?1:0;return t-d}function SP(n,e,r,S,D,T,p){var t=p.type||"length",d=p.alignEmptyValues,g=0;function i(M){var v;switch(t){case"length":v=M.length;break;case"sum":v=M.reduce(function(f,l){return f+l});break;case"max":v=Math.max.apply(null,M);break;case"min":v=Math.min.apply(null,M);break;case"avg":v=M.reduce(function(f,l){return f+l})/M.length;break}return v}if(!Array.isArray(n))g=Array.isArray(e)?-1:0;else if(!Array.isArray(e))g=1;else return i(e)-i(n);return(d==="top"&&T==="desc"||d==="bottom"&&T==="asc")&&(g*=-1),g}function CP(n,e,r,S,D,T,p){var t=typeof n>"u"?0:1,d=typeof e>"u"?0:1;return t-d}function EP(n,e,r,S,D,T,p){var t,d,g,i,M=0,v,f=/(\d+)|(\D+)/g,l=/\d/,a=p.alignEmptyValues,u=0;if(!n&&n!==0)u=!e&&e!==0?0:-1;else if(!e&&e!==0)u=1;else{if(isFinite(n)&&isFinite(e))return n-e;if(t=String(n).toLowerCase(),d=String(e).toLowerCase(),t===d)return 0;if(!(l.test(t)&&l.test(d)))return t>d?1:-1;for(t=t.match(f),d=d.match(f),v=t.length>d.length?d.length:t.length;Mi?1:-1;return t.length>d.length}return(a==="top"&&T==="desc"||a==="bottom"&&T==="asc")&&(u*=-1),u}var LP={number:wP,string:TP,date:kP,time:MP,datetime:q2,boolean:AP,array:SP,exists:CP,alphanum:EP};class jd extends qi{constructor(e){super(e),this.sortList=[],this.changed=!1,this.registerTableOption("sortMode","local"),this.registerTableOption("initialSort",!1),this.registerTableOption("columnHeaderSortMulti",!0),this.registerTableOption("sortOrderReverse",!1),this.registerTableOption("headerSortElement","
"),this.registerTableOption("headerSortClickElement","header"),this.registerColumnOption("sorter"),this.registerColumnOption("sorterParams"),this.registerColumnOption("headerSort",!0),this.registerColumnOption("headerSortStartingDir"),this.registerColumnOption("headerSortTristate")}initialize(){this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("table-built",this.tableBuilt.bind(this)),this.registerDataHandler(this.sort.bind(this),20),this.registerTableFunction("setSort",this.userSetSort.bind(this)),this.registerTableFunction("getSorters",this.getSort.bind(this)),this.registerTableFunction("clearSort",this.clearSort.bind(this)),this.table.options.sortMode==="remote"&&this.subscribe("data-params",this.remoteSortParams.bind(this))}tableBuilt(){this.table.options.initialSort&&this.setSort(this.table.options.initialSort)}remoteSortParams(e,r,S,D){var T=this.getSort();return T.forEach(p=>{delete p.column}),D.sort=T,D}userSetSort(e,r){this.setSort(e,r),this.refreshSort()}clearSort(){this.clear(),this.refreshSort()}initializeColumn(e){var r=!1,S,D;switch(typeof e.definition.sorter){case"string":jd.sorters[e.definition.sorter]?r=jd.sorters[e.definition.sorter]:console.warn("Sort Error - No such sorter found: ",e.definition.sorter);break;case"function":r=e.definition.sorter;break}if(e.modules.sort={sorter:r,dir:"none",params:e.definition.sorterParams||{},startingDir:e.definition.headerSortStartingDir||"asc",tristate:e.definition.headerSortTristate},e.definition.headerSort!==!1){switch(S=e.getElement(),S.classList.add("tabulator-sortable"),D=document.createElement("div"),D.classList.add("tabulator-col-sorter"),this.table.options.headerSortClickElement){case"icon":D.classList.add("tabulator-col-sorter-element");break;case"header":S.classList.add("tabulator-col-sorter-element");break;default:S.classList.add("tabulator-col-sorter-element");break}switch(this.table.options.headerSortElement){case"function":break;case"object":D.appendChild(this.table.options.headerSortElement);break;default:D.innerHTML=this.table.options.headerSortElement}e.titleHolderElement.appendChild(D),e.modules.sort.element=D,this.setColumnHeaderSortIcon(e,"none"),this.table.options.headerSortClickElement==="icon"&&D.addEventListener("mousedown",T=>{T.stopPropagation()}),(this.table.options.headerSortClickElement==="icon"?D:S).addEventListener("click",T=>{var p="",t=[],d=!1;if(e.modules.sort){if(e.modules.sort.tristate)e.modules.sort.dir=="none"?p=e.modules.sort.startingDir:e.modules.sort.dir==e.modules.sort.startingDir?p=e.modules.sort.dir=="asc"?"desc":"asc":p="none";else switch(e.modules.sort.dir){case"asc":p="desc";break;case"desc":p="asc";break;default:p=e.modules.sort.startingDir}this.table.options.columnHeaderSortMulti&&(T.shiftKey||T.ctrlKey)?(t=this.getSort(),d=t.findIndex(g=>g.field===e.getField()),d>-1?(t[d].dir=p,d=t.splice(d,1)[0],p!="none"&&t.push(d)):p!="none"&&t.push({column:e,dir:p}),this.setSort(t)):p=="none"?this.clear():this.setSort(e,p),this.refreshSort()}})}}refreshSort(){this.table.options.sortMode==="remote"?this.reloadData(null,!1,!1):this.refreshData(!0)}hasChanged(){var e=this.changed;return this.changed=!1,e}getSort(){var e=this,r=[];return e.sortList.forEach(function(S){S.column&&r.push({column:S.column.getComponent(),field:S.column.getField(),dir:S.dir})}),r}setSort(e,r){var S=this,D=[];Array.isArray(e)||(e=[{column:e,dir:r}]),e.forEach(function(T){var p;p=S.table.columnManager.findColumn(T.column),p?(T.column=p,D.push(T),S.changed=!0):console.warn("Sort Warning - Sort field does not exist and is being ignored: ",T.column)}),S.sortList=D,this.dispatch("sort-changed")}clear(){this.setSort([])}findSorter(e){var r=this.table.rowManager.activeRows[0],S="string",D,T;if(r&&(r=r.getData(),D=e.getField(),D))switch(T=e.getFieldValue(r),typeof T){case"undefined":S="string";break;case"boolean":S="boolean";break;default:!isNaN(T)&&T!==""?S="number":T.match(/((^[0-9]+[a-z]+)|(^[a-z]+[0-9]+))+$/i)&&(S="alphanum");break}return jd.sorters[S]}sort(e){var r=this,S=this.table.options.sortOrderReverse?r.sortList.slice().reverse():r.sortList,D=[],T=[];return this.subscribedExternal("dataSorting")&&this.dispatchExternal("dataSorting",r.getSort()),r.clearColumnHeaders(),this.table.options.sortMode!=="remote"?(S.forEach(function(p,t){var d;p.column&&(d=p.column.modules.sort,d&&(d.sorter||(d.sorter=r.findSorter(p.column)),p.params=typeof d.params=="function"?d.params(p.column.getComponent(),p.dir):d.params,D.push(p)),r.setColumnHeader(p.column,p.dir))}),D.length&&r._sortItems(e,D)):S.forEach(function(p,t){r.setColumnHeader(p.column,p.dir)}),this.subscribedExternal("dataSorted")&&(e.forEach(p=>{T.push(p.getComponent())}),this.dispatchExternal("dataSorted",r.getSort(),T)),e}clearColumnHeaders(){this.table.columnManager.getRealColumns().forEach(e=>{e.modules.sort&&(e.modules.sort.dir="none",e.getElement().setAttribute("aria-sort","none"),this.setColumnHeaderSortIcon(e,"none"))})}setColumnHeader(e,r){e.modules.sort.dir=r,e.getElement().setAttribute("aria-sort",r==="asc"?"ascending":"descending"),this.setColumnHeaderSortIcon(e,r)}setColumnHeaderSortIcon(e,r){var S=e.modules.sort.element,D;if(e.definition.headerSort&&typeof this.table.options.headerSortElement=="function"){for(;S.firstChild;)S.removeChild(S.firstChild);D=this.table.options.headerSortElement.call(this.table,e.getComponent(),r),typeof D=="object"?S.appendChild(D):S.innerHTML=D}}_sortItems(e,r){var S=r.length-1;e.sort((D,T)=>{for(var p,t=S;t>=0;t--){let d=r[t];if(p=this._sortRow(D,T,d.column,d.dir,d.params),p!==0)break}return p})}_sortRow(e,r,S,D,T){var p,t,d=D=="asc"?e:r,g=D=="asc"?r:e;return e=S.getFieldValue(d.getData()),r=S.getFieldValue(g.getData()),e=typeof e<"u"?e:"",r=typeof r<"u"?r:"",p=d.getComponent(),t=g.getComponent(),S.modules.sort.sorter.call(this,e,r,p,t,S.getComponent(),D,T)}}jd.moduleName="sort";jd.sorters=LP;class IP{constructor(e){return this._range=e,new Proxy(this,{get:function(r,S,D){return typeof r[S]<"u"?r[S]:r._range.table.componentFunctionBinder.handle("range",r._range,S)}})}getElement(){return this._range.element}getData(){return this._range.getData()}getCells(){return this._range.getCells(!0)}getStructuredCells(){return this._range.getStructuredCells()}getRows(){return this._range.getRows().map(e=>e.getComponent())}getColumns(){return this._range.getColumns().map(e=>e.getComponent())}getBounds(){return this._range.getBounds()}getTopEdge(){return this._range.top}getBottomEdge(){return this._range.bottom}getLeftEdge(){return this._range.left}getRightEdge(){return this._range.right}setBounds(e,r){this._range.destroyedGuard("setBounds")&&this._range.setBounds(e&&e._cell,r&&r._cell)}setStartBound(e){this._range.destroyedGuard("setStartBound")&&(this._range.setEndBound(e&&e._cell),this._range.rangeManager.layoutElement())}setEndBound(e){this._range.destroyedGuard("setEndBound")&&(this._range.setEndBound(e&&e._cell),this._range.rangeManager.layoutElement())}clearValues(){this._range.destroyedGuard("clearValues")&&this._range.clearValues()}remove(){this._range.destroyedGuard("remove")&&this._range.destroy(!0)}}class RP extends Ml{constructor(e,r,S,D){super(e),this.rangeManager=r,this.element=null,this.initialized=!1,this.initializing={start:!1,end:!1},this.destroyed=!1,this.top=0,this.bottom=0,this.left=0,this.right=0,this.table=e,this.start={row:0,col:0},this.end={row:0,col:0},this.rangeManager.rowHeader&&(this.left=1,this.right=1,this.start.col=1,this.end.col=1),this.initElement(),setTimeout(()=>{this.initBounds(S,D)})}initElement(){this.element=document.createElement("div"),this.element.classList.add("tabulator-range")}initBounds(e,r){this._updateMinMax(),e&&this.setBounds(e,r||e)}setStart(e,r){(this.start.row!==e||this.start.col!==r)&&(this.start.row=e,this.start.col=r,this.initializing.start=!0,this._updateMinMax())}setEnd(e,r){(this.end.row!==e||this.end.col!==r)&&(this.end.row=e,this.end.col=r,this.initializing.end=!0,this._updateMinMax())}setBounds(e,r,S){e&&this.setStartBound(e),this.setEndBound(r||e),this.rangeManager.layoutElement(S)}setStartBound(e){var r,S;e.type==="column"?this.rangeManager.columnSelection&&this.setStart(0,e.getPosition()-1):(r=e.row.position-1,S=e.column.getPosition()-1,e.column===this.rangeManager.rowHeader?this.setStart(r,1):this.setStart(r,S))}setEndBound(e){var r=this._getTableRows().length,S,D,T;e.type==="column"?this.rangeManager.columnSelection&&(this.rangeManager.selecting==="column"?this.setEnd(r-1,e.getPosition()-1):this.rangeManager.selecting==="cell"&&this.setEnd(0,e.getPosition()-1)):(S=e.row.position-1,D=e.column.getPosition()-1,T=e.column===this.rangeManager.rowHeader,this.rangeManager.selecting==="row"?this.setEnd(S,this._getTableColumns().length-1):this.rangeManager.selecting!=="row"&&T?this.setEnd(S,0):this.rangeManager.selecting==="column"?this.setEnd(r-1,D):this.setEnd(S,D))}_updateMinMax(){this.top=Math.min(this.start.row,this.end.row),this.bottom=Math.max(this.start.row,this.end.row),this.left=Math.min(this.start.col,this.end.col),this.right=Math.max(this.start.col,this.end.col),this.initialized?this.dispatchExternal("rangeChanged",this.getComponent()):this.initializing.start&&this.initializing.end&&(this.initialized=!0,this.dispatchExternal("rangeAdded",this.getComponent()))}_getTableColumns(){return this.table.columnManager.getVisibleColumnsByIndex()}_getTableRows(){return this.table.rowManager.getDisplayRows()}layout(){var e=this.table.rowManager.renderer.vDomTop,r=this.table.rowManager.renderer.vDomBottom,S=this.table.columnManager.renderer.leftCol,D=this.table.columnManager.renderer.rightCol,T,p,t,d,g,i;e==null&&(e=0),r==null&&(r=1/0),S==null&&(S=0),D==null&&(D=1/0),this.overlaps(S,e,D,r)&&(T=Math.max(this.top,e),p=Math.min(this.bottom,r),t=Math.max(this.left,S),d=Math.min(this.right,D),g=this.rangeManager.getCell(T,t),i=this.rangeManager.getCell(p,d),this.element.classList.add("tabulator-range-active"),this.element.style.left=g.row.getElement().offsetLeft+g.getElement().offsetLeft+"px",this.element.style.top=g.row.getElement().offsetTop+"px",this.element.style.width=i.getElement().offsetLeft+i.getElement().offsetWidth-g.getElement().offsetLeft+"px",this.element.style.height=i.row.getElement().offsetTop+i.row.getElement().offsetHeight-g.row.getElement().offsetTop+"px")}atTopLeft(e){return e.row.position-1===this.top&&e.column.getPosition()-1===this.left}atBottomRight(e){return e.row.position-1===this.bottom&&e.column.getPosition()-1===this.right}occupies(e){return this.occupiesRow(e.row)&&this.occupiesColumn(e.column)}occupiesRow(e){return this.top<=e.position-1&&e.position-1<=this.bottom}occupiesColumn(e){return this.left<=e.getPosition()-1&&e.getPosition()-1<=this.right}overlaps(e,r,S,D){return!(this.left>S||e>this.right||this.top>D||r>this.bottom)}getData(){var e=[],r=this.getRows(),S=this.getColumns();return r.forEach(D=>{var T=D.getData(),p={};S.forEach(t=>{p[t.field]=T[t.field]}),e.push(p)}),e}getCells(e,r){var S=[],D=this.getRows(),T=this.getColumns();return e?S=D.map(p=>{var t=[];return p.getCells().forEach(d=>{T.includes(d.column)&&t.push(r?d.getComponent():d)}),t}):D.forEach(p=>{p.getCells().forEach(t=>{T.includes(t.column)&&S.push(r?t.getComponent():t)})}),S}getStructuredCells(){return this.getCells(!0,!0)}getRows(){return this._getTableRows().slice(this.top,this.bottom+1)}getColumns(){return this._getTableColumns().slice(this.left,this.right+1)}clearValues(){var e=this.getCells(),r=this.table.options.selectableRangeClearCellsValue;this.table.blockRedraw(),e.forEach(S=>{S.setValue(r)}),this.table.restoreRedraw()}getBounds(e){var r=this.getCells(!1,e),S={start:null,end:null};return r.length?(S.start=r[0],S.end=r[r.length-1]):console.warn("No bounds defined on range"),S}getComponent(){return this.component||(this.component=new IP(this)),this.component}destroy(e){this.destroyed=!0,this.element.remove(),e&&this.rangeManager.rangeRemoved(this),this.initialized&&this.dispatchExternal("rangeRemoved",this.getComponent())}destroyedGuard(e){return this.destroyed&&console.warn("You cannot call the "+e+" function on a destroyed range"),!this.destroyed}}class KM extends qi{constructor(e){super(e),this.selecting="cell",this.mousedown=!1,this.ranges=[],this.overlay=null,this.rowHeader=null,this.layoutChangeTimeout=null,this.columnSelection=!1,this.rowSelection=!1,this.maxRanges=0,this.activeRange=!1,this.blockKeydown=!1,this.keyDownEvent=this._handleKeyDown.bind(this),this.mouseUpEvent=this._handleMouseUp.bind(this),this.registerTableOption("selectableRange",!1),this.registerTableOption("selectableRangeColumns",!1),this.registerTableOption("selectableRangeRows",!1),this.registerTableOption("selectableRangeClearCells",!1),this.registerTableOption("selectableRangeClearCellsValue",void 0),this.registerTableFunction("getRangesData",this.getRangesData.bind(this)),this.registerTableFunction("getRanges",this.getRanges.bind(this)),this.registerTableFunction("addRange",this.addRangeFromComponent.bind(this)),this.registerComponentFunction("cell","getRanges",this.cellGetRanges.bind(this)),this.registerComponentFunction("row","getRanges",this.rowGetRanges.bind(this)),this.registerComponentFunction("column","getRanges",this.colGetRanges.bind(this))}initialize(){this.options("selectableRange")&&(this.options("selectableRows")?console.warn("SelectRange functionality cannot be used in conjunction with row selection"):(this.maxRanges=this.options("selectableRange"),this.initializeTable(),this.initializeWatchers()))}initializeTable(){this.overlay=document.createElement("div"),this.overlay.classList.add("tabulator-range-overlay"),this.rangeContainer=document.createElement("div"),this.rangeContainer.classList.add("tabulator-range-container"),this.activeRangeCellElement=document.createElement("div"),this.activeRangeCellElement.classList.add("tabulator-range-cell-active"),this.overlay.appendChild(this.rangeContainer),this.overlay.appendChild(this.activeRangeCellElement),this.table.rowManager.element.addEventListener("keydown",this.keyDownEvent),this.resetRanges(),this.table.rowManager.element.appendChild(this.overlay),this.table.columnManager.element.setAttribute("tabindex",0),this.table.element.classList.add("tabulator-ranges")}initializeWatchers(){this.columnSelection=this.options("selectableRangeColumns"),this.rowSelection=this.options("selectableRangeRows"),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("column-mousedown",this.handleColumnMouseDown.bind(this)),this.subscribe("column-mousemove",this.handleColumnMouseMove.bind(this)),this.subscribe("column-resized",this.handleColumnResized.bind(this)),this.subscribe("column-width",this.layoutChange.bind(this)),this.subscribe("column-height",this.layoutChange.bind(this)),this.subscribe("column-resized",this.layoutChange.bind(this)),this.subscribe("columns-loaded",this.updateHeaderColumn.bind(this)),this.subscribe("cell-height",this.layoutChange.bind(this)),this.subscribe("cell-rendered",this.renderCell.bind(this)),this.subscribe("cell-mousedown",this.handleCellMouseDown.bind(this)),this.subscribe("cell-mousemove",this.handleCellMouseMove.bind(this)),this.subscribe("cell-click",this.handleCellClick.bind(this)),this.subscribe("cell-editing",this.handleEditingCell.bind(this)),this.subscribe("page-changed",this.redraw.bind(this)),this.subscribe("scroll-vertical",this.layoutChange.bind(this)),this.subscribe("scroll-horizontal",this.layoutChange.bind(this)),this.subscribe("data-destroy",this.tableDestroyed.bind(this)),this.subscribe("data-processed",this.resetRanges.bind(this)),this.subscribe("table-layout",this.layoutElement.bind(this)),this.subscribe("table-redraw",this.redraw.bind(this)),this.subscribe("table-destroy",this.tableDestroyed.bind(this)),this.subscribe("edit-editor-clear",this.finishEditingCell.bind(this)),this.subscribe("edit-blur",this.restoreFocus.bind(this)),this.subscribe("keybinding-nav-prev",this.keyNavigate.bind(this,"left")),this.subscribe("keybinding-nav-next",this.keyNavigate.bind(this,"right")),this.subscribe("keybinding-nav-left",this.keyNavigate.bind(this,"left")),this.subscribe("keybinding-nav-right",this.keyNavigate.bind(this,"right")),this.subscribe("keybinding-nav-up",this.keyNavigate.bind(this,"up")),this.subscribe("keybinding-nav-down",this.keyNavigate.bind(this,"down")),this.subscribe("keybinding-nav-range",this.keyNavigateRange.bind(this))}initializeColumn(e){this.columnSelection&&e.definition.headerSort&&this.options("headerSortClickElement")!=="icon"&&console.warn("Using column headerSort with selectableRangeColumns option may result in unpredictable behavior. Consider using headerSortClickElement: 'icon'."),e.modules.edit}updateHeaderColumn(){this.rowSelection&&(this.rowHeader=this.table.columnManager.getVisibleColumnsByIndex()[0],this.rowHeader&&(this.rowHeader.definition.cssClass=this.rowHeader.definition.cssClass+" tabulator-range-row-header",this.rowHeader.definition.headerSort&&console.warn("Using column headerSort with selectableRangeRows option may result in unpredictable behavior"),this.rowHeader.definition.editor&&console.warn("Using column editor with selectableRangeRows option may result in unpredictable behavior")))}getRanges(){return this.ranges.map(e=>e.getComponent())}getRangesData(){return this.ranges.map(e=>e.getData())}addRangeFromComponent(e,r){return e=e?e._cell:null,r=r?r._cell:null,this.addRange(e,r)}cellGetRanges(e){var r=[];return e.column===this.rowHeader?r=this.ranges.filter(S=>S.occupiesRow(e.row)):r=this.ranges.filter(S=>S.occupies(e)),r.map(S=>S.getComponent())}rowGetRanges(e){var r=this.ranges.filter(S=>S.occupiesRow(e));return r.map(S=>S.getComponent())}colGetRanges(e){var r=this.ranges.filter(S=>S.occupiesColumn(e));return r.map(S=>S.getComponent())}_handleMouseUp(e){this.mousedown=!1,document.removeEventListener("mouseup",this.mouseUpEvent)}_handleKeyDown(e){if(!this.blockKeydown&&(!this.table.modules.edit||this.table.modules.edit&&!this.table.modules.edit.currentCell)){if(e.key==="Enter"){if(this.table.modules.edit&&this.table.modules.edit.currentCell)return;this.table.modules.edit.editCell(this.getActiveCell()),e.preventDefault()}(e.key==="Backspace"||e.key==="Delete")&&this.options("selectableRangeClearCells")&&this.activeRange&&this.activeRange.clearValues()}}initializeFocus(e){var r;try{document.selection?(r=document.body.createTextRange(),r.moveToElementText(e.getElement()),r.select()):window.getSelection&&(r=document.createRange(),r.selectNode(e.getElement()),window.getSelection().removeAllRanges(),window.getSelection().addRange(r))}catch{}}restoreFocus(e){return this.table.rowManager.element.focus(),!0}handleColumnResized(e){var r;this.selecting!=="column"&&this.selecting!=="all"||(r=this.ranges.some(S=>S.occupiesColumn(e)),r&&this.ranges.forEach(S=>{var D=S.getColumns(!0);D.forEach(T=>{T!==e&&T.setWidth(e.width)})}))}handleColumnMouseDown(e,r){e.button===2&&(this.selecting==="column"||this.selecting==="all")&&this.activeRange.occupiesColumn(r)||(this.mousedown=!0,document.addEventListener("mouseup",this.mouseUpEvent),this.newSelection(e,r))}handleColumnMouseMove(e,r){r===this.rowHeader||!this.mousedown||this.selecting==="all"||this.activeRange.setBounds(!1,r,!0)}renderCell(e){var r=e.getElement(),S=this.ranges.findIndex(D=>D.occupies(e));r.classList.toggle("tabulator-range-selected",S!==-1),r.classList.toggle("tabulator-range-only-cell-selected",this.ranges.length===1&&this.ranges[0].atTopLeft(e)&&this.ranges[0].atBottomRight(e)),r.dataset.range=S}handleCellMouseDown(e,r){e.button===2&&(this.activeRange.occupies(r)||(this.selecting==="row"||this.selecting==="all")&&this.activeRange.occupiesRow(r.row))||(this.mousedown=!0,document.addEventListener("mouseup",this.mouseUpEvent),this.newSelection(e,r))}handleCellMouseMove(e,r){!this.mousedown||this.selecting==="all"||this.activeRange.setBounds(!1,r,!0)}handleCellClick(e,r){this.initializeFocus(r)}handleEditingCell(e){this.activeRange&&this.activeRange.setBounds(e)}finishEditingCell(){this.blockKeydown=!0,this.table.rowManager.element.focus(),setTimeout(()=>{this.blockKeydown=!1},10)}keyNavigate(e,r){this.navigate(!1,!1,e)&&r.preventDefault()}keyNavigateRange(e,r,S,D){this.navigate(S,D,r)&&e.preventDefault()}navigate(e,r,S){var D=!1,T,p,t,d,g,i;if(this.table.modules.edit&&this.table.modules.edit.currentCell)return!1;if(this.ranges.length>1&&(this.ranges=this.ranges.filter(M=>M===this.activeRange?(M.setEnd(M.start.row,M.start.col),!0):(M.destroy(),!1))),T=this.activeRange,p=r?T.end:T.start,t=p.row,d=p.col,e)switch(S){case"left":d=this.findJumpCellLeft(T.start.row,p.col);break;case"right":d=this.findJumpCellRight(T.start.row,p.col);break;case"up":t=this.findJumpCellUp(p.row,T.start.col);break;case"down":t=this.findJumpCellDown(p.row,T.start.col);break}else{if(r&&(this.selecting==="row"&&(S==="left"||S==="right")||this.selecting==="column"&&(S==="up"||S==="down")))return;switch(S){case"left":d=Math.max(d-1,0);break;case"right":d=Math.min(d+1,this.getTableColumns().length-1);break;case"up":t=Math.max(t-1,0);break;case"down":t=Math.min(t+1,this.getTableRows().length-1);break}}if(D=d!==p.col||t!==p.row,r||T.setStart(t,d),T.setEnd(t,d),r||(this.selecting="cell"),D)return g=this.getRowByRangePos(T.end.row),i=this.getColumnByRangePos(T.end.col),(S==="left"||S==="right")&&i.getElement().parentNode===null?i.getComponent().scrollTo(void 0,!1):(S==="up"||S==="down")&&g.getElement().parentNode===null?g.getComponent().scrollTo(void 0,!1):this.autoScroll(T,g.getElement(),i.getElement()),this.layoutElement(),!0}rangeRemoved(e){this.ranges=this.ranges.filter(r=>r!==e),this.activeRange===e&&(this.ranges.length?this.activeRange=this.ranges[this.ranges.length-1]:this.addRange()),this.layoutElement()}findJumpCell(e,r,S,D){var T;r&&(e=e.reverse());for(let p of e){let t=p.getValue();if(S){if(T=p,t)break}else if(D){if(T=p,t)break}else if(t)T=p;else break}return T}findJumpCellLeft(e,r){var S=this.getRowByRangePos(e),D=S.cells.filter(i=>i.column.visible),T=!D[r].getValue(),p=D[r]?!D[r].getValue():!1,t=r,d=this.rowHeader?D.slice(1,r):D.slice(0,r),g=this.findJumpCell(d,!0,T,p);return g&&(t=g.column.getPosition()-1),t}findJumpCellRight(e,r){var S=this.getRowByRangePos(e),D=S.cells.filter(g=>g.column.visible),T=!D[r].getValue(),p=D[r+1]?!D[r+1].getValue():!1,t=r,d=this.findJumpCell(D.slice(r+1,D.length),!1,T,p);return d&&(t=d.column.getPosition()-1),t}findJumpCellUp(e,r){var S=this.getColumnByRangePos(r),D=S.cells.filter(g=>this.table.rowManager.activeRows.includes(g.row)),T=!D[e].getValue(),p=D[e-1]?!D[e-1].getValue():!1,t=e,d=this.findJumpCell(D.slice(0,t),!0,T,p);return d&&(t=d.row.position-1),t}findJumpCellDown(e,r){var S=this.getColumnByRangePos(r),D=S.cells.filter(g=>this.table.rowManager.activeRows.includes(g.row)),T=!D[e].getValue(),p=D[e+1]?!D[e+1].getValue():!1,t=e,d=this.findJumpCell(D.slice(t+1,D.length),!1,T,p);return d&&(t=d.row.position-1),t}newSelection(e,r){var S;if(r.type==="column"){if(!this.columnSelection)return;if(r===this.rowHeader){S=this.resetRanges(),this.selecting="all";var D,T=this.getCell(-1,-1);this.rowHeader?D=this.getCell(0,1):D=this.getCell(0,0),S.setBounds(D,T);return}else this.selecting="column"}else r.column===this.rowHeader?this.selecting="row":this.selecting="cell";e.shiftKey?this.activeRange.setBounds(!1,r):e.ctrlKey?this.addRange().setBounds(r):this.resetRanges().setBounds(r)}autoScroll(e,r,S){var D=this.table.rowManager.element,T,p,t,d,g;typeof r>"u"&&(r=this.getRowByRangePos(e.end.row).getElement()),typeof S>"u"&&(S=this.getColumnByRangePos(e.end.col).getElement()),this.rowHeader&&(T=this.rowHeader.getElement()),p={left:S.offsetLeft,right:S.offsetLeft+S.offsetWidth,top:r.offsetTop,bottom:r.offsetTop+r.offsetHeight},t={left:D.scrollLeft,right:Math.ceil(D.scrollLeft+D.clientWidth),top:D.scrollTop,bottom:D.scrollTop+D.offsetHeight-this.table.rowManager.scrollbarWidth},T&&(t.left+=T.offsetWidth),d=t.leftt.right&&(D.scrollLeft=p.right-D.clientWidth)),g||(p.topt.bottom&&(D.scrollTop=p.bottom-D.clientHeight))}layoutChange(){this.overlay.style.visibility="hidden",clearTimeout(this.layoutChangeTimeout),this.layoutChangeTimeout=setTimeout(this.layoutRanges.bind(this),200)}redraw(e){e&&(this.selecting="cell",this.resetRanges(),this.layoutElement())}layoutElement(e){var r;e?r=this.table.rowManager.getVisibleRows(!0):r=this.table.rowManager.getRows(),r.forEach(S=>{S.type==="row"&&(this.layoutRow(S),S.cells.forEach(D=>this.renderCell(D)))}),this.getTableColumns().forEach(S=>{this.layoutColumn(S)}),this.layoutRanges()}layoutRow(e){var r=e.getElement(),S=!1,D=this.ranges.some(T=>T.occupiesRow(e));this.selecting==="row"?S=D:this.selecting==="all"&&(S=!0),r.classList.toggle("tabulator-range-selected",S),r.classList.toggle("tabulator-range-highlight",D)}layoutColumn(e){var r=e.getElement(),S=!1,D=this.ranges.some(T=>T.occupiesColumn(e));this.selecting==="column"?S=D:this.selecting==="all"&&(S=!0),r.classList.toggle("tabulator-range-selected",S),r.classList.toggle("tabulator-range-highlight",D)}layoutRanges(){var e;this.table.initialized&&(e=this.getActiveCell(),e&&(this.activeRangeCellElement.style.left=e.row.getElement().offsetLeft+e.getElement().offsetLeft+"px",this.activeRangeCellElement.style.top=e.row.getElement().offsetTop+"px",this.activeRangeCellElement.style.width=e.getElement().offsetLeft+e.getElement().offsetWidth-e.getElement().offsetLeft+"px",this.activeRangeCellElement.style.height=e.row.getElement().offsetTop+e.row.getElement().offsetHeight-e.row.getElement().offsetTop+"px",this.ranges.forEach(r=>r.layout()),this.overlay.style.visibility="visible"))}getCell(e,r){var S;return r<0&&(r=this.getTableColumns().length+r,r<0)?null:(e<0&&(e=this.getTableRows().length+e),S=this.table.rowManager.getRowFromPosition(e+1),S?S.getCells(!1,!0).filter(D=>D.column.visible)[r]:null)}getActiveCell(){return this.getCell(this.activeRange.start.row,this.activeRange.start.col)}getRowByRangePos(e){return this.getTableRows()[e]}getColumnByRangePos(e){return this.getTableColumns()[e]}getTableRows(){return this.table.rowManager.getDisplayRows()}getTableColumns(){return this.table.columnManager.getVisibleColumnsByIndex()}addRange(e,r){var S;return this.maxRanges!==!0&&this.ranges.length>=this.maxRanges&&this.ranges.shift().destroy(),S=new RP(this.table,this,e,r),this.activeRange=S,this.ranges.push(S),this.rangeContainer.appendChild(S.element),S}resetRanges(){var e,r;return this.ranges.forEach(S=>S.destroy()),this.ranges=[],e=this.addRange(),this.table.rowManager.activeRows.length&&(r=this.table.rowManager.activeRows[0].cells[this.rowHeader?1:0],r&&(e.setBounds(r),this.initializeFocus(r))),e}tableDestroyed(){document.removeEventListener("mouseup",this.mouseUpEvent),this.table.rowManager.element.removeEventListener("keydown",this.keyDownEvent)}selectedRows(e){return e?this.activeRange.getRows().map(r=>r.getComponent()):this.activeRange.getRows()}selectedColumns(e){return e?this.activeRange.getColumns().map(r=>r.getComponent()):this.activeRange.getColumns()}}KM.moduleName="selectRange";class JM extends qi{constructor(e){super(e),this.tooltipSubscriber=null,this.headerSubscriber=null,this.timeout=null,this.popupInstance=null,this.registerTableOption("tooltipGenerationMode",void 0),this.registerTableOption("tooltipDelay",300),this.registerColumnOption("tooltip"),this.registerColumnOption("headerTooltip")}initialize(){this.deprecatedOptionsCheck(),this.subscribe("column-init",this.initializeColumn.bind(this))}deprecatedOptionsCheck(){this.deprecationCheckMsg("tooltipGenerationMode","This option is no longer needed as tooltips are always generated on hover now")}initializeColumn(e){e.definition.headerTooltip&&!this.headerSubscriber&&(this.headerSubscriber=!0,this.subscribe("column-mousemove",this.mousemoveCheck.bind(this,"headerTooltip")),this.subscribe("column-mouseout",this.mouseoutCheck.bind(this,"headerTooltip"))),e.definition.tooltip&&!this.tooltipSubscriber&&(this.tooltipSubscriber=!0,this.subscribe("cell-mousemove",this.mousemoveCheck.bind(this,"tooltip")),this.subscribe("cell-mouseout",this.mouseoutCheck.bind(this,"tooltip")))}mousemoveCheck(e,r,S){var D=e==="tooltip"?S.column.definition.tooltip:S.definition.headerTooltip;D&&(this.clearPopup(),this.timeout=setTimeout(this.loadTooltip.bind(this,r,S,D),this.table.options.tooltipDelay))}mouseoutCheck(e,r,S){this.popupInstance||this.clearPopup()}clearPopup(e,r,S){clearTimeout(this.timeout),this.timeout=null,this.popupInstance&&this.popupInstance.hide()}loadTooltip(e,r,S){var D,T,p;function t(d){T=d}typeof S=="function"&&(S=S(e,r.getComponent(),t)),S instanceof HTMLElement?D=S:(D=document.createElement("div"),S===!0&&(r instanceof eg?S=r.value:r.definition.field?this.langBind("columns|"+r.definition.field,d=>{D.innerHTML=S=d||r.definition.title}):S=r.definition.title),D.innerHTML=S),(S||S===0||S===!1)&&(D.classList.add("tabulator-tooltip"),D.addEventListener("mousemove",d=>d.preventDefault()),this.popupInstance=this.popup(D),typeof T=="function"&&this.popupInstance.renderCallback(T),p=this.popupInstance.containerEventCoords(e),this.popupInstance.show(p.x+15,p.y+15).hideOnBlur(()=>{this.dispatchExternal("TooltipClosed",r.getComponent()),this.popupInstance=null}),this.dispatchExternal("TooltipOpened",r.getComponent()))}}JM.moduleName="tooltip";var PP={integer:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:(e=Number(e),!isNaN(e)&&isFinite(e)&&Math.floor(e)===e)},float:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:(e=Number(e),!isNaN(e)&&isFinite(e)&&e%1!==0)},numeric:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:!isNaN(e)},string:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:isNaN(e)},alphanumeric:function(n,e,r){if(e===""||e===null||typeof e>"u")return!0;var S=new RegExp(/^[a-z0-9]+$/i);return S.test(e)},max:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:parseFloat(e)<=r},min:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:parseFloat(e)>=r},starts:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).toLowerCase().startsWith(String(r).toLowerCase())},ends:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).toLowerCase().endsWith(String(r).toLowerCase())},minLength:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).length>=r},maxLength:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).length<=r},in:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:(typeof r=="string"&&(r=r.split("|")),r.indexOf(e)>-1)},regex:function(n,e,r){if(e===""||e===null||typeof e>"u")return!0;var S=new RegExp(r);return S.test(e)},unique:function(n,e,r){if(e===""||e===null||typeof e>"u")return!0;var S=!0,D=n.getData(),T=n.getColumn()._getSelf();return this.table.rowManager.rows.forEach(function(p){var t=p.getData();t!==D&&e==T.getFieldValue(t)&&(S=!1)}),S},required:function(n,e,r){return e!==""&&e!==null&&typeof e<"u"}};class ig extends qi{constructor(e){super(e),this.invalidCells=[],this.registerTableOption("validationMode","blocking"),this.registerColumnOption("validator"),this.registerTableFunction("getInvalidCells",this.getInvalidCells.bind(this)),this.registerTableFunction("clearCellValidation",this.userClearCellValidation.bind(this)),this.registerTableFunction("validate",this.userValidate.bind(this)),this.registerComponentFunction("cell","isValid",this.cellIsValid.bind(this)),this.registerComponentFunction("cell","clearValidation",this.clearValidation.bind(this)),this.registerComponentFunction("cell","validate",this.cellValidate.bind(this)),this.registerComponentFunction("column","validate",this.columnValidate.bind(this)),this.registerComponentFunction("row","validate",this.rowValidate.bind(this))}initialize(){this.subscribe("cell-delete",this.clearValidation.bind(this)),this.subscribe("column-layout",this.initializeColumnCheck.bind(this)),this.subscribe("edit-success",this.editValidate.bind(this)),this.subscribe("edit-editor-clear",this.editorClear.bind(this)),this.subscribe("edit-edited-clear",this.editedClear.bind(this))}editValidate(e,r,S){var D=this.table.options.validationMode!=="manual"?this.validate(e.column.modules.validate,e,r):!0;return D!==!0&&setTimeout(()=>{e.getElement().classList.add("tabulator-validation-fail"),this.dispatchExternal("validationFailed",e.getComponent(),r,D)}),D}editorClear(e,r){r&&e.column.modules.validate&&this.cellValidate(e),e.getElement().classList.remove("tabulator-validation-fail")}editedClear(e){e.modules.validate&&(e.modules.validate.invalid=!1)}cellIsValid(e){return e.modules.validate&&e.modules.validate.invalid||!0}cellValidate(e){return this.validate(e.column.modules.validate,e,e.getValue())}columnValidate(e){var r=[];return e.cells.forEach(S=>{this.cellValidate(S)!==!0&&r.push(S.getComponent())}),r.length?r:!0}rowValidate(e){var r=[];return e.cells.forEach(S=>{this.cellValidate(S)!==!0&&r.push(S.getComponent())}),r.length?r:!0}userClearCellValidation(e){e||(e=this.getInvalidCells()),Array.isArray(e)||(e=[e]),e.forEach(r=>{this.clearValidation(r._getSelf())})}userValidate(e){var r=[];return this.table.rowManager.rows.forEach(S=>{S=S.getComponent();var D=S.validate();D!==!0&&(r=r.concat(D))}),r.length?r:!0}initializeColumnCheck(e){typeof e.definition.validator<"u"&&this.initializeColumn(e)}initializeColumn(e){var r=this,S=[],D;e.definition.validator&&(Array.isArray(e.definition.validator)?e.definition.validator.forEach(T=>{D=r._extractValidator(T),D&&S.push(D)}):(D=this._extractValidator(e.definition.validator),D&&S.push(D)),e.modules.validate=S.length?S:!1)}_extractValidator(e){var r,S,D;switch(typeof e){case"string":return D=e.indexOf(":"),D>-1?(r=e.substring(0,D),S=e.substring(D+1)):r=e,this._buildValidator(r,S);case"function":return this._buildValidator(e);case"object":return this._buildValidator(e.type,e.parameters)}}_buildValidator(e,r){var S=typeof e=="function"?e:ig.validators[e];return S?{type:typeof e=="function"?"function":e,func:S,params:r}:(console.warn("Validator Setup Error - No matching validator found:",e),!1)}validate(e,r,S){var D=this,T=[],p=this.invalidCells.indexOf(r);return e&&e.forEach(t=>{t.func.call(D,r.getComponent(),S,t.params)||T.push({type:t.type,parameters:t.params})}),r.modules.validate||(r.modules.validate={}),T.length?(r.modules.validate.invalid=T,this.table.options.validationMode!=="manual"&&r.getElement().classList.add("tabulator-validation-fail"),p==-1&&this.invalidCells.push(r)):(r.modules.validate.invalid=!1,r.getElement().classList.remove("tabulator-validation-fail"),p>-1&&this.invalidCells.splice(p,1)),T.length?T:!0}getInvalidCells(){var e=[];return this.invalidCells.forEach(r=>{e.push(r.getComponent())}),e}clearValidation(e){var r;e.modules.validate&&e.modules.validate.invalid&&(e.getElement().classList.remove("tabulator-validation-fail"),e.modules.validate.invalid=!1,r=this.invalidCells.indexOf(e),r>-1&&this.invalidCells.splice(r,1))}}ig.moduleName="validate";ig.validators=PP;var OP=Object.freeze({__proto__:null,AccessorModule:i0,AjaxModule:Rc,ClipboardModule:qd,ColumnCalcsModule:zf,DataTreeModule:OM,DownloadModule:a0,EditModule:tg,ExportModule:DM,FilterModule:Xh,FormatModule:Yu,FrozenColumnsModule:zM,FrozenRowsModule:FM,GroupRowsModule:BM,HistoryModule:Wd,HtmlTableImportModule:NM,ImportModule:ng,InteractionModule:VM,KeybindingsModule:Vf,MenuModule:jM,MoveColumnsModule:UM,MoveRowsModule:$y,MutatorModule:o0,PageModule:rg,PersistenceModule:Ul,PopupModule:HM,PrintModule:GM,ReactiveDataModule:qM,ResizeColumnsModule:WM,ResizeRowsModule:YM,ResizeTableModule:$M,ResponsiveLayoutModule:ZM,SelectRowModule:XM,SortModule:jd,SelectRangeModule:KM,TooltipModule:JM,ValidateModule:ig}),DP={debugEventsExternal:!1,debugEventsInternal:!1,debugInvalidOptions:!0,debugInvalidComponentFuncs:!0,debugInitialization:!0,debugDeprecation:!0,height:!1,minHeight:!1,maxHeight:!1,columnHeaderVertAlign:"top",popupContainer:!1,columns:[],columnDefaults:{},data:!1,autoColumns:!1,autoColumnsDefinitions:!1,nestedFieldSeparator:".",footerElement:!1,index:"id",textDirection:"auto",addRowPos:"bottom",headerVisible:!0,renderVertical:"virtual",renderHorizontal:"basic",renderVerticalBuffer:0,scrollToRowPosition:"top",scrollToRowIfVisible:!0,scrollToColumnPosition:"left",scrollToColumnIfVisible:!0,rowFormatter:!1,rowFormatterPrint:null,rowFormatterClipboard:null,rowFormatterHtmlOutput:null,rowHeight:null,placeholder:!1,dataLoader:!0,dataLoaderLoading:!1,dataLoaderError:!1,dataLoaderErrorTimeout:3e3,dataSendParams:{},dataReceiveParams:{}};class QM{constructor(e,r,S={}){this.table=e,this.msgType=r,this.registeredDefaults=Object.assign({},S)}register(e,r){this.registeredDefaults[e]=r}generate(e,r={}){var S=Object.assign({},this.registeredDefaults),D=this.table.options.debugInvalidOptions||r.debugInvalidOptions===!0;Object.assign(S,e);for(let T in r)S.hasOwnProperty(T)||(D&&console.warn("Invalid "+this.msgType+" option:",T),S[T]=r.key);for(let T in S)T in r?S[T]=r[T]:Array.isArray(S[T])?S[T]=Object.assign([],S[T]):typeof S[T]=="object"&&S[T]!==null?S[T]=Object.assign({},S[T]):typeof S[T]>"u"&&delete S[T];return S}}class Zy extends Ml{constructor(e){super(e),this.elementVertical=e.rowManager.element,this.elementHorizontal=e.columnManager.element,this.tableElement=e.rowManager.tableElement,this.verticalFillMode="fit"}initialize(){}clearRows(){}clearColumns(){}reinitializeColumnWidths(e){}renderRows(){}renderColumns(){}rerenderRows(e){e&&e()}rerenderColumns(e,r){}renderRowCells(e){}rerenderRowCells(e,r){}scrollColumns(e,r){}scrollRows(e,r){}resize(){}scrollToRow(e){}scrollToRowNearestTop(e){}visibleRows(e){return[]}rows(){return this.table.rowManager.getDisplayRows()}styleRow(e,r){var S=e.getElement();r%2?(S.classList.add("tabulator-row-even"),S.classList.remove("tabulator-row-odd")):(S.classList.add("tabulator-row-odd"),S.classList.remove("tabulator-row-even"))}clear(){this.clearRows(),this.clearColumns()}render(){this.renderRows(),this.renderColumns()}rerender(e){this.rerenderRows(),this.rerenderColumns()}scrollToRowPosition(e,r,S){var D=this.rows().indexOf(e),T=e.getElement(),p=0;return new Promise((t,d)=>{if(D>-1){if(typeof S>"u"&&(S=this.table.options.scrollToRowIfVisible),!S&&so.elVisible(T)&&(p=so.elOffset(T).top-so.elOffset(this.elementVertical).top,p>0&&p"u"&&(r=this.table.options.scrollToRowPosition),r==="nearest"&&(r=this.scrollToRowNearestTop(e)?"top":"bottom"),this.scrollToRow(e),r){case"middle":case"center":this.elementVertical.scrollHeight-this.elementVertical.scrollTop==this.elementVertical.clientHeight?this.elementVertical.scrollTop=this.elementVertical.scrollTop+(T.offsetTop-this.elementVertical.scrollTop)-(this.elementVertical.scrollHeight-T.offsetTop)/2:this.elementVertical.scrollTop=this.elementVertical.scrollTop-this.elementVertical.clientHeight/2;break;case"bottom":this.elementVertical.scrollHeight-this.elementVertical.scrollTop==this.elementVertical.clientHeight?this.elementVertical.scrollTop=this.elementVertical.scrollTop-(this.elementVertical.scrollHeight-T.offsetTop)+T.offsetHeight:this.elementVertical.scrollTop=this.elementVertical.scrollTop-this.elementVertical.clientHeight+T.offsetHeight;break;case"top":this.elementVertical.scrollTop=T.offsetTop;break}t()}else console.warn("Scroll Error - Row not visible"),d("Scroll Error - Row not visible")})}}class zP extends Zy{constructor(e){super(e)}renderRowCells(e,r){const S=document.createDocumentFragment();e.cells.forEach(D=>{S.appendChild(D.getElement())}),e.element.appendChild(S),r||e.cells.forEach(D=>{D.cellRendered()})}reinitializeColumnWidths(e){e.forEach(function(r){r.reinitializeWidth()})}}class FP extends Zy{constructor(e){super(e),this.leftCol=0,this.rightCol=0,this.scrollLeft=0,this.vDomScrollPosLeft=0,this.vDomScrollPosRight=0,this.vDomPadLeft=0,this.vDomPadRight=0,this.fitDataColAvg=0,this.windowBuffer=200,this.visibleRows=null,this.initialized=!1,this.isFitData=!1,this.columns=[]}initialize(){this.compatibilityCheck(),this.layoutCheck(),this.vertScrollListen()}compatibilityCheck(){this.options("layout")=="fitDataTable"&&console.warn("Horizontal Virtual DOM is not compatible with fitDataTable layout mode"),this.options("responsiveLayout")&&console.warn("Horizontal Virtual DOM is not compatible with responsive columns"),this.options("rtl")&&console.warn("Horizontal Virtual DOM is not currently compatible with RTL text direction")}layoutCheck(){this.isFitData=this.options("layout").startsWith("fitData")}vertScrollListen(){this.subscribe("scroll-vertical",this.clearVisRowCache.bind(this)),this.subscribe("data-refreshed",this.clearVisRowCache.bind(this))}clearVisRowCache(){this.visibleRows=null}renderColumns(e,r){this.dataChange()}scrollColumns(e,r){this.scrollLeft!=e&&(this.scrollLeft=e,this.scroll(e-(this.vDomScrollPosLeft+this.windowBuffer)))}calcWindowBuffer(){var e=this.elementVertical.clientWidth;this.table.columnManager.columnsByIndex.forEach(r=>{if(r.visible){var S=r.getWidth();S>e&&(e=S)}}),this.windowBuffer=e*2}rerenderColumns(e,r){var S={cols:this.columns,leftCol:this.leftCol,rightCol:this.rightCol},D=0;e&&!this.initialized||(this.clear(),this.calcWindowBuffer(),this.scrollLeft=this.elementVertical.scrollLeft,this.vDomScrollPosLeft=this.scrollLeft-this.windowBuffer,this.vDomScrollPosRight=this.scrollLeft+this.elementVertical.clientWidth+this.windowBuffer,this.table.columnManager.columnsByIndex.forEach(T=>{var p={},t;T.visible&&(T.modules.frozen||(t=T.getWidth(),p.leftPos=D,p.rightPos=D+t,p.width=t,this.isFitData&&(p.fitDataCheck=T.modules.vdomHoz?T.modules.vdomHoz.fitDataCheck:!0),D+t>this.vDomScrollPosLeft&&D{r.appendChild(S.getElement())}),e.element.appendChild(r),e.cells.forEach(S=>{S.cellRendered()})}}rerenderRowCells(e,r){this.reinitializeRow(e,r)}reinitializeColumnWidths(e){for(let r=this.leftCol;r<=this.rightCol;r++)this.columns[r].reinitializeWidth()}deinitialize(){this.initialized=!1}clear(){this.columns=[],this.leftCol=-1,this.rightCol=0,this.vDomScrollPosLeft=0,this.vDomScrollPosRight=0,this.vDomPadLeft=0,this.vDomPadRight=0}dataChange(){var e=!1,r,S;if(this.isFitData){if(this.table.columnManager.columnsByIndex.forEach(D=>{!D.definition.width&&D.visible&&(e=!0)}),e&&this.table.rowManager.getDisplayRows().length&&(this.vDomScrollPosRight=this.scrollLeft+this.elementVertical.clientWidth+this.windowBuffer,r=this.chain("rows-sample",[1],[],()=>this.table.rowManager.getDisplayRows())[0],r)){S=r.getElement(),r.generateCells(),this.tableElement.appendChild(S);for(let D=0;D{S!==this.columns[D]&&(r=!1)}),!r)}reinitializeRows(){var e=this.getVisibleRows(),r=this.table.rowManager.getRows().filter(S=>!e.includes(S));e.forEach(S=>{this.reinitializeRow(S,!0)}),r.forEach(S=>{S.deinitialize()})}getVisibleRows(){return this.visibleRows||(this.visibleRows=this.table.rowManager.getVisibleRows()),this.visibleRows}scroll(e){this.vDomScrollPosLeft+=e,this.vDomScrollPosRight+=e,Math.abs(e)>this.windowBuffer/2?this.rerenderColumns():e>0?(this.addColRight(),this.removeColLeft()):(this.addColLeft(),this.removeColRight())}colPositionAdjust(e,r,S){for(let D=e;D{if(D.type!=="group"){var T=D.getCell(S);D.getElement().insertBefore(T.getElement(),D.getCell(this.columns[this.rightCol]).getElement().nextSibling),T.cellRendered()}}),this.fitDataColActualWidthCheck(S),this.rightCol++,this.getVisibleRows().forEach(D=>{D.type!=="group"&&(D.modules.vdomHoz.rightCol=this.rightCol)}),this.rightCol>=this.columns.length-1?this.vDomPadRight=0:this.vDomPadRight-=S.getWidth()):r=!1}e&&(this.tableElement.style.paddingRight=this.vDomPadRight+"px")}addColLeft(){for(var e=!1,r=!0;r;){let S=this.columns[this.leftCol-1];if(S)if(S.modules.vdomHoz.rightPos>=this.vDomScrollPosLeft){e=!0,this.getVisibleRows().forEach(T=>{if(T.type!=="group"){var p=T.getCell(S);T.getElement().insertBefore(p.getElement(),T.getCell(this.columns[this.leftCol]).getElement()),p.cellRendered()}}),this.leftCol--,this.getVisibleRows().forEach(T=>{T.type!=="group"&&(T.modules.vdomHoz.leftCol=this.leftCol)}),this.leftCol<=0?this.vDomPadLeft=0:this.vDomPadLeft-=S.getWidth();let D=this.fitDataColActualWidthCheck(S);D&&(this.scrollLeft=this.elementVertical.scrollLeft=this.elementVertical.scrollLeft+D,this.vDomPadRight-=D)}else r=!1;else r=!1}e&&(this.tableElement.style.paddingLeft=this.vDomPadLeft+"px")}removeColRight(){for(var e=!1,r=!0;r;){let S=this.columns[this.rightCol];S&&S.modules.vdomHoz.leftPos>this.vDomScrollPosRight?(e=!0,this.getVisibleRows().forEach(D=>{if(D.type!=="group"){var T=D.getCell(S);try{D.getElement().removeChild(T.getElement())}catch(p){console.warn("Could not removeColRight",p.message)}}}),this.vDomPadRight+=S.getWidth(),this.rightCol--,this.getVisibleRows().forEach(D=>{D.type!=="group"&&(D.modules.vdomHoz.rightCol=this.rightCol)})):r=!1}e&&(this.tableElement.style.paddingRight=this.vDomPadRight+"px")}removeColLeft(){for(var e=!1,r=!0;r;){let S=this.columns[this.leftCol];S&&S.modules.vdomHoz.rightPos{if(D.type!=="group"){var T=D.getCell(S);try{D.getElement().removeChild(T.getElement())}catch(p){console.warn("Could not removeColLeft",p.message)}}}),this.vDomPadLeft+=S.getWidth(),this.leftCol++,this.getVisibleRows().forEach(D=>{D.type!=="group"&&(D.modules.vdomHoz.leftCol=this.leftCol)})):r=!1}e&&(this.tableElement.style.paddingLeft=this.vDomPadLeft+"px")}fitDataColActualWidthCheck(e){var r,S;return e.modules.vdomHoz.fitDataCheck&&(e.reinitializeWidth(),r=e.getWidth(),S=r-e.modules.vdomHoz.width,S&&(e.modules.vdomHoz.rightPos+=S,e.modules.vdomHoz.width=r,this.colPositionAdjust(this.columns.indexOf(e)+1,this.columns.length,S)),e.modules.vdomHoz.fitDataCheck=!1),S}initializeRow(e){if(e.type!=="group"){e.modules.vdomHoz={leftCol:this.leftCol,rightCol:this.rightCol},this.table.modules.frozenColumns&&this.table.modules.frozenColumns.leftColumns.forEach(r=>{this.appendCell(e,r)});for(let r=this.leftCol;r<=this.rightCol;r++)this.appendCell(e,this.columns[r]);this.table.modules.frozenColumns&&this.table.modules.frozenColumns.rightColumns.forEach(r=>{this.appendCell(e,r)})}}appendCell(e,r){if(r&&r.visible){let S=e.getCell(r);e.getElement().appendChild(S.getElement()),S.cellRendered()}}reinitializeRow(e,r){if(e.type!=="group"&&(r||!e.modules.vdomHoz||e.modules.vdomHoz.leftCol!==this.leftCol||e.modules.vdomHoz.rightCol!==this.rightCol)){for(var S=e.getElement();S.firstChild;)S.removeChild(S.firstChild);this.initializeRow(e)}}}class BP extends Ml{constructor(e){super(e),this.blockHozScrollEvent=!1,this.headersElement=null,this.contentsElement=null,this.element=null,this.columns=[],this.columnsByIndex=[],this.columnsByField={},this.scrollLeft=0,this.optionsList=new QM(this.table,"column definition",PM),this.redrawBlock=!1,this.redrawBlockUpdate=null,this.renderer=null}initialize(){this.initializeRenderer(),this.headersElement=this.createHeadersElement(),this.contentsElement=this.createHeaderContentsElement(),this.element=this.createHeaderElement(),this.contentsElement.insertBefore(this.headersElement,this.contentsElement.firstChild),this.element.insertBefore(this.contentsElement,this.element.firstChild),this.initializeScrollWheelWatcher(),this.subscribe("scroll-horizontal",this.scrollHorizontal.bind(this)),this.subscribe("scrollbar-vertical",this.padVerticalScrollbar.bind(this))}padVerticalScrollbar(e){this.table.rtl?this.headersElement.style.marginLeft=e+"px":this.headersElement.style.marginRight=e+"px"}initializeRenderer(){var e,r={virtual:FP,basic:zP};typeof this.table.options.renderHorizontal=="string"?e=r[this.table.options.renderHorizontal]:e=this.table.options.renderHorizontal,e?(this.renderer=new e(this.table,this.element,this.tableElement),this.renderer.initialize()):console.error("Unable to find matching renderer:",this.table.options.renderHorizontal)}createHeadersElement(){var e=document.createElement("div");return e.classList.add("tabulator-headers"),e.setAttribute("role","row"),e}createHeaderContentsElement(){var e=document.createElement("div");return e.classList.add("tabulator-header-contents"),e.setAttribute("role","rowgroup"),e}createHeaderElement(){var e=document.createElement("div");return e.classList.add("tabulator-header"),e.setAttribute("role","rowgroup"),this.table.options.headerVisible||e.classList.add("tabulator-header-hidden"),e}getElement(){return this.element}getContentsElement(){return this.contentsElement}getHeadersElement(){return this.headersElement}scrollHorizontal(e){this.contentsElement.scrollLeft=e,this.scrollLeft=e,this.renderer.scrollColumns(e)}initializeScrollWheelWatcher(){this.contentsElement.addEventListener("wheel",e=>{var r;e.deltaX&&(r=this.contentsElement.scrollLeft+e.deltaX,this.table.rowManager.scrollHorizontal(r),this.table.columnManager.scrollHorizontal(r))})}generateColumnsFromRowData(e){var r=[],S=this.table.options.autoColumnsDefinitions,D,T;if(e&&e.length){D=e[0];for(var p in D){let t={field:p,title:p},d=D[p];switch(typeof d){case"undefined":T="string";break;case"boolean":T="boolean";break;case"object":Array.isArray(d)?T="array":T="string";break;default:!isNaN(d)&&d!==""?T="number":d.match(/((^[0-9]+[a-z]+)|(^[a-z]+[0-9]+))+$/i)?T="alphanum":T="string";break}t.sorter=T,r.push(t)}if(S)switch(typeof S){case"function":this.table.options.columns=S.call(this.table,r);break;case"object":Array.isArray(S)?r.forEach(t=>{var d=S.find(g=>g.field===t.field);d&&Object.assign(t,d)}):r.forEach(t=>{S[t.field]&&Object.assign(t,S[t.field])}),this.table.options.columns=r;break}else this.table.options.columns=r;this.setColumns(this.table.options.columns)}}setColumns(e,r){for(;this.headersElement.firstChild;)this.headersElement.removeChild(this.headersElement.firstChild);this.columns=[],this.columnsByIndex=[],this.columnsByField={},this.dispatch("columns-loading"),e.forEach((S,D)=>{this._addColumn(S)}),this._reIndexColumns(),this.dispatch("columns-loaded"),this.rerenderColumns(!1,!0),this.redraw(!0)}_addColumn(e,r,S){var D=new vh(e,this),T=D.getElement(),p=S&&this.findColumnIndex(S);if(S&&p>-1){var t=S.getTopColumn(),d=this.columns.indexOf(t),g=t.getElement();r?(this.columns.splice(d,0,D),g.parentNode.insertBefore(T,g)):(this.columns.splice(d+1,0,D),g.parentNode.insertBefore(T,g.nextSibling))}else r?(this.columns.unshift(D),this.headersElement.insertBefore(D.getElement(),this.headersElement.firstChild)):(this.columns.push(D),this.headersElement.appendChild(D.getElement()));return D.columnRendered(),D}registerColumnField(e){e.definition.field&&(this.columnsByField[e.definition.field]=e)}registerColumnPosition(e){this.columnsByIndex.push(e)}_reIndexColumns(){this.columnsByIndex=[],this.columns.forEach(function(e){e.reRegisterPosition()})}verticalAlignHeaders(){var e=0;this.redrawBlock||(this.headersElement.style.height="",this.columns.forEach(r=>{r.clearVerticalAlign()}),this.columns.forEach(r=>{var S=r.getHeight();S>e&&(e=S)}),this.headersElement.style.height=e+"px",this.columns.forEach(r=>{r.verticalAlign(this.table.options.columnHeaderVertAlign,e)}),this.table.rowManager.adjustTableSize())}findColumn(e){var r;if(typeof e=="object"){if(e instanceof vh)return e;if(e instanceof RM)return e._getSelf()||!1;if(typeof HTMLElement<"u"&&e instanceof HTMLElement)return r=[],this.columns.forEach(D=>{r.push(D),r=r.concat(D.getColumns(!0))}),r.find(D=>D.element===e)||!1}else return this.columnsByField[e]||!1;return!1}getColumnByField(e){return this.columnsByField[e]}getColumnsByFieldRoot(e){var r=[];return Object.keys(this.columnsByField).forEach(S=>{var D=this.table.options.nestedFieldSeparator?S.split(this.table.options.nestedFieldSeparator)[0]:S;D===e&&r.push(this.columnsByField[S])}),r}getColumnByIndex(e){return this.columnsByIndex[e]}getFirstVisibleColumn(){var e=this.columnsByIndex.findIndex(r=>r.visible);return e>-1?this.columnsByIndex[e]:!1}getVisibleColumnsByIndex(){return this.columnsByIndex.filter(e=>e.visible)}getColumns(){return this.columns}findColumnIndex(e){return this.columnsByIndex.findIndex(r=>e===r)}getRealColumns(){return this.columnsByIndex}traverse(e){this.columnsByIndex.forEach((r,S)=>{e(r,S)})}getDefinitions(e){var r=[];return this.columnsByIndex.forEach(S=>{(!e||e&&S.visible)&&r.push(S.getDefinition())}),r}getDefinitionTree(){var e=[];return this.columns.forEach(r=>{e.push(r.getDefinition(!0))}),e}getComponents(e){var r=[],S=e?this.columns:this.columnsByIndex;return S.forEach(D=>{r.push(D.getComponent())}),r}getWidth(){var e=0;return this.columnsByIndex.forEach(r=>{r.visible&&(e+=r.getWidth())}),e}moveColumn(e,r,S){r.element.parentNode.insertBefore(e.element,r.element),S&&r.element.parentNode.insertBefore(r.element,e.element),this.moveColumnActual(e,r,S),this.verticalAlignHeaders(),this.table.rowManager.reinitialize()}moveColumnActual(e,r,S){e.parent.isGroup?this._moveColumnInArray(e.parent.columns,e,r,S):this._moveColumnInArray(this.columns,e,r,S),this._moveColumnInArray(this.columnsByIndex,e,r,S,!0),this.rerenderColumns(!0),this.dispatch("column-moved",e,r,S),this.subscribedExternal("columnMoved")&&this.dispatchExternal("columnMoved",e.getComponent(),this.table.columnManager.getComponents())}_moveColumnInArray(e,r,S,D,T){var p=e.indexOf(r),t,d=[];p>-1&&(e.splice(p,1),t=e.indexOf(S),t>-1?D&&(t=t+1):t=p,e.splice(t,0,r),T&&(d=this.chain("column-moving-rows",[r,S,D],null,[])||[],d=d.concat(this.table.rowManager.rows),d.forEach(function(g){if(g.cells.length){var i=g.cells.splice(p,1)[0];g.cells.splice(t,0,i)}})))}scrollToColumn(e,r,S){var D=0,T=e.getLeftOffset(),p=0,t=e.getElement();return new Promise((d,g)=>{if(typeof r>"u"&&(r=this.table.options.scrollToColumnPosition),typeof S>"u"&&(S=this.table.options.scrollToColumnIfVisible),e.visible){switch(r){case"middle":case"center":p=-this.element.clientWidth/2;break;case"right":p=t.clientWidth-this.headersElement.clientWidth;break}if(!S&&T>0&&T+t.offsetWidth{r.push(S.generateCell(e))}),r}getFlexBaseWidth(){var e=this.table.element.clientWidth,r=0;return this.table.rowManager.element.scrollHeight>this.table.rowManager.element.clientHeight&&(e-=this.table.rowManager.element.offsetWidth-this.table.rowManager.element.clientWidth),this.columnsByIndex.forEach(function(S){var D,T,p;S.visible&&(D=S.definition.width||0,T=parseInt(S.minWidth),typeof D=="string"?D.indexOf("%")>-1?p=e/100*parseInt(D):p=parseInt(D):p=D,r+=p>T?p:T)}),r}addColumn(e,r,S){return new Promise((D,T)=>{var p=this._addColumn(e,r,S);this._reIndexColumns(),this.dispatch("column-add",e,r,S),this.layoutMode()!="fitColumns"&&p.reinitializeWidth(),this.redraw(!0),this.table.rowManager.reinitialize(),this.rerenderColumns(),D(p)})}deregisterColumn(e){var r=e.getField(),S;r&&delete this.columnsByField[r],S=this.columnsByIndex.indexOf(e),S>-1&&this.columnsByIndex.splice(S,1),S=this.columns.indexOf(e),S>-1&&this.columns.splice(S,1),this.verticalAlignHeaders(),this.redraw()}rerenderColumns(e,r){this.redrawBlock?(e===!1||e===!0&&this.redrawBlockUpdate===null)&&(this.redrawBlockUpdate=e):this.renderer.rerenderColumns(e,r)}blockRedraw(){this.redrawBlock=!0,this.redrawBlockUpdate=null}restoreRedraw(){this.redrawBlock=!1,this.verticalAlignHeaders(),this.renderer.rerenderColumns(this.redrawBlockUpdate)}redraw(e){so.elVisible(this.element)&&this.verticalAlignHeaders(),e&&(this.table.rowManager.resetScroll(),this.table.rowManager.reinitialize()),this.confirm("table-redrawing",e)||this.layoutRefresh(e),this.dispatch("table-redraw",e),this.table.footerManager.redraw()}}class NP extends Zy{constructor(e){super(e),this.verticalFillMode="fill",this.scrollTop=0,this.scrollLeft=0,this.scrollTop=0,this.scrollLeft=0}clearRows(){for(var e=this.tableElement;e.firstChild;)e.removeChild(e.firstChild);e.scrollTop=0,e.scrollLeft=0,e.style.minWidth="",e.style.minHeight="",e.style.display="",e.style.visibility=""}renderRows(){var e=this.tableElement,r=!0,S=document.createDocumentFragment(),D=this.rows();D.forEach((T,p)=>{this.styleRow(T,p),T.initialize(!1,!0),T.type!=="group"&&(r=!1),S.appendChild(T.getElement())}),e.appendChild(S),D.forEach(T=>{T.rendered(),T.heightInitialized||T.calcHeight(!0)}),D.forEach(T=>{T.heightInitialized||T.setCellHeight()}),r?e.style.minWidth=this.table.columnManager.getWidth()+"px":e.style.minWidth=""}rerenderRows(e){this.clearRows(),e&&e(),this.renderRows(),this.rows().length||this.table.rowManager.tableEmpty()}scrollToRowNearestTop(e){var r=so.elOffset(e.getElement()).top;return!(Math.abs(this.elementVertical.scrollTop-r)>Math.abs(this.elementVertical.scrollTop+this.elementVertical.clientHeight-r))}scrollToRow(e){var r=e.getElement();this.elementVertical.scrollTop=so.elOffset(r).top-so.elOffset(this.elementVertical).top+this.elementVertical.scrollTop}visibleRows(e){return this.rows()}}class VP extends Zy{constructor(e){super(e),this.verticalFillMode="fill",this.scrollTop=0,this.scrollLeft=0,this.vDomRowHeight=20,this.vDomTop=0,this.vDomBottom=0,this.vDomScrollPosTop=0,this.vDomScrollPosBottom=0,this.vDomTopPad=0,this.vDomBottomPad=0,this.vDomMaxRenderChain=90,this.vDomWindowBuffer=0,this.vDomWindowMinTotalRows=20,this.vDomWindowMinMarginRows=5,this.vDomTopNewRows=[],this.vDomBottomNewRows=[]}clearRows(){for(var e=this.tableElement;e.firstChild;)e.removeChild(e.firstChild);e.style.paddingTop="",e.style.paddingBottom="",e.style.minHeight="",e.style.display="",e.style.visibility="",this.elementVertical.scrollTop=0,this.elementVertical.scrollLeft=0,this.scrollTop=0,this.scrollLeft=0,this.vDomTop=0,this.vDomBottom=0,this.vDomTopPad=0,this.vDomBottomPad=0,this.vDomScrollPosTop=0,this.vDomScrollPosBottom=0}renderRows(){this._virtualRenderFill()}rerenderRows(e){for(var r=this.elementVertical.scrollTop,S=!1,D=!1,T=this.table.rowManager.scrollLeft,p=this.rows(),t=this.vDomTop;t<=this.vDomBottom;t++)if(p[t]){var d=r-p[t].getElement().offsetTop;if(D===!1||Math.abs(d){g.deinitializeHeight()}),e&&e(),this.rows().length?this._virtualRenderFill(S===!1?this.rows.length-1:S,!0,D||0):(this.clear(),this.table.rowManager.tableEmpty()),this.scrollColumns(T)}scrollColumns(e){this.table.rowManager.scrollHorizontal(e)}scrollRows(e,r){var S=e-this.vDomScrollPosTop,D=e-this.vDomScrollPosBottom,T=this.vDomWindowBuffer*2,p=this.rows();if(this.scrollTop=e,-S>T||D>T){var t=this.table.rowManager.scrollLeft;this._virtualRenderFill(Math.floor(this.elementVertical.scrollTop/this.elementVertical.scrollHeight*p.length)),this.scrollColumns(t)}else r?(S<0&&this._addTopRow(p,-S),D<0&&(this.vDomScrollHeight-this.scrollTop>this.vDomWindowBuffer?this._removeBottomRow(p,-D):this.vDomScrollPosBottom=this.scrollTop)):(D>=0&&this._addBottomRow(p,D),S>=0&&(this.scrollTop>this.vDomWindowBuffer?this._removeTopRow(p,S):this.vDomScrollPosTop=this.scrollTop))}resize(){this.vDomWindowBuffer=this.table.options.renderVerticalBuffer||this.elementVertical.clientHeight}scrollToRowNearestTop(e){var r=this.rows().indexOf(e);return!(Math.abs(this.vDomTop-r)>Math.abs(this.vDomBottom-r))}scrollToRow(e){var r=this.rows().indexOf(e);r>-1&&this._virtualRenderFill(r,!0)}visibleRows(e){var r=this.elementVertical.scrollTop,S=this.elementVertical.clientHeight+r,D=!1,T=0,p=0,t=this.rows();if(e)T=this.vDomTop,p=this.vDomBottom;else for(var d=this.vDomTop;d<=this.vDomBottom;d++)if(t[d])if(D)if(S-t[d].getElement().offsetTop>=0)p=d;else break;else if(r-t[d].getElement().offsetTop>=0)T=d;else if(D=!0,S-t[d].getElement().offsetTop>=0)p=d;else break;return t.slice(T,p+1)}_virtualRenderFill(e,r,S){var D=this.tableElement,T=this.elementVertical,p=0,t=0,d=0,g=0,i=0,M=0,v=this.rows(),f=v.length,l=0,a,u,o=[],s=0,h=0,c=this.table.rowManager.fixedHeight,m=this.elementVertical.clientHeight,w=this.table.options.rowHeight,y=!0;if(e=e||0,S=S||0,!e)this.clear();else{for(;D.firstChild;)D.removeChild(D.firstChild);g=(f-e+1)*this.vDomRowHeight,g{C.rendered(),C.heightInitialized||C.calcHeight(!0)}),o.forEach(C=>{C.heightInitialized||C.setCellHeight()}),o.forEach(C=>{d=C.getHeight(),sthis.vDomWindowBuffer&&(this.vDomWindowBuffer=d*2),s++}),y=this.table.rowManager.adjustTableSize(),m=this.elementVertical.clientHeight,y&&(c||this.table.options.maxHeight)&&(w=t/s,h=Math.max(this.vDomWindowMinTotalRows,Math.ceil(m/w+this.vDomWindowBuffer/w)))}e?(this.vDomTopPad=r?this.vDomRowHeight*this.vDomTop+S:this.scrollTop-i,this.vDomBottomPad=this.vDomBottom==f-1?0:Math.max(this.vDomScrollHeight-this.vDomTopPad-t-i,0)):(this.vDomTopPad=0,this.vDomRowHeight=Math.floor((t+i)/s),this.vDomBottomPad=this.vDomRowHeight*(f-this.vDomBottom-1),this.vDomScrollHeight=i+t+this.vDomBottomPad-m),D.style.paddingTop=this.vDomTopPad+"px",D.style.paddingBottom=this.vDomBottomPad+"px",r&&(this.scrollTop=this.vDomTopPad+i+S-(this.elementVertical.scrollWidth>this.elementVertical.clientWidth?this.elementVertical.offsetHeight-m:0)),this.scrollTop=Math.min(this.scrollTop,this.elementVertical.scrollHeight-m),this.elementVertical.scrollWidth>this.elementVertical.clientWidth&&r&&(this.scrollTop+=this.elementVertical.offsetHeight-m),this.vDomScrollPosTop=this.scrollTop,this.vDomScrollPosBottom=this.scrollTop,T.scrollTop=this.scrollTop,this.dispatch("render-virtual-fill")}}_addTopRow(e,r){for(var S=this.tableElement,D=[],T=0,p=this.vDomTop-1,t=0,d=!0;d;)if(this.vDomTop){let g=e[p],i,M;g&&t=i?(this.styleRow(g,p),S.insertBefore(g.getElement(),S.firstChild),(!g.initialized||!g.heightInitialized)&&D.push(g),g.initialize(),M||(i=g.getElement().offsetHeight,i>this.vDomWindowBuffer&&(this.vDomWindowBuffer=i*2)),r-=i,T+=i,this.vDomTop--,p--,t++):d=!1):d=!1}else d=!1;for(let g of D)g.clearCellHeight();this._quickNormalizeRowHeight(D),T&&(this.vDomTopPad-=T,this.vDomTopPad<0&&(this.vDomTopPad=p*this.vDomRowHeight),p<1&&(this.vDomTopPad=0),S.style.paddingTop=this.vDomTopPad+"px",this.vDomScrollPosTop-=T)}_removeTopRow(e,r){for(var S=[],D=0,T=0,p=!0;p;){let t=e[this.vDomTop],d;t&&T=d?(this.vDomTop++,r-=d,D+=d,S.push(t),T++):p=!1):p=!1}for(let t of S){let d=t.getElement();d.parentNode&&d.parentNode.removeChild(d)}D&&(this.vDomTopPad+=D,this.tableElement.style.paddingTop=this.vDomTopPad+"px",this.vDomScrollPosTop+=this.vDomTop?D:D+this.vDomWindowBuffer)}_addBottomRow(e,r){for(var S=this.tableElement,D=[],T=0,p=this.vDomBottom+1,t=0,d=!0;d;){let g=e[p],i,M;g&&t=i?(this.styleRow(g,p),S.appendChild(g.getElement()),(!g.initialized||!g.heightInitialized)&&D.push(g),g.initialize(),M||(i=g.getElement().offsetHeight,i>this.vDomWindowBuffer&&(this.vDomWindowBuffer=i*2)),r-=i,T+=i,this.vDomBottom++,p++,t++):d=!1):d=!1}for(let g of D)g.clearCellHeight();this._quickNormalizeRowHeight(D),T&&(this.vDomBottomPad-=T,(this.vDomBottomPad<0||p==e.length-1)&&(this.vDomBottomPad=0),S.style.paddingBottom=this.vDomBottomPad+"px",this.vDomScrollPosBottom+=T)}_removeBottomRow(e,r){for(var S=[],D=0,T=0,p=!0;p;){let t=e[this.vDomBottom],d;t&&T=d?(this.vDomBottom--,r-=d,D+=d,S.push(t),T++):p=!1):p=!1}for(let t of S){let d=t.getElement();d.parentNode&&d.parentNode.removeChild(d)}D&&(this.vDomBottomPad+=D,this.vDomBottomPad<0&&(this.vDomBottomPad=0),this.tableElement.style.paddingBottom=this.vDomBottomPad+"px",this.vDomScrollPosBottom-=D)}_quickNormalizeRowHeight(e){for(let r of e)r.calcHeight();for(let r of e)r.setCellHeight()}}class jP extends Ml{constructor(e){super(e),this.element=this.createHolderElement(),this.tableElement=this.createTableElement(),this.heightFixer=this.createTableElement(),this.placeholder=null,this.placeholderContents=null,this.firstRender=!1,this.renderMode="virtual",this.fixedHeight=!1,this.rows=[],this.activeRowsPipeline=[],this.activeRows=[],this.activeRowsCount=0,this.displayRows=[],this.displayRowsCount=0,this.scrollTop=0,this.scrollLeft=0,this.redrawBlock=!1,this.redrawBlockRestoreConfig=!1,this.redrawBlockRenderInPosition=!1,this.dataPipeline=[],this.displayPipeline=[],this.scrollbarWidth=0,this.renderer=null}createHolderElement(){var e=document.createElement("div");return e.classList.add("tabulator-tableholder"),e.setAttribute("tabindex",0),e}createTableElement(){var e=document.createElement("div");return e.classList.add("tabulator-table"),e.setAttribute("role","rowgroup"),e}initializePlaceholder(){var e=this.table.options.placeholder;if(typeof e=="function"&&(e=e.call(this.table)),e=this.chain("placeholder",[e],e,e)||e,e){let r=document.createElement("div");if(r.classList.add("tabulator-placeholder"),typeof e=="string"){let S=document.createElement("div");S.classList.add("tabulator-placeholder-contents"),S.innerHTML=e,r.appendChild(S),this.placeholderContents=S}else typeof HTMLElement<"u"&&e instanceof HTMLElement?(r.appendChild(e),this.placeholderContents=e):(console.warn("Invalid placeholder provided, must be string or HTML Element",e),this.el=null);this.placeholder=r}}getElement(){return this.element}getTableElement(){return this.tableElement}initialize(){this.initializePlaceholder(),this.initializeRenderer(),this.element.appendChild(this.tableElement),this.firstRender=!0,this.element.addEventListener("scroll",()=>{var e=this.element.scrollLeft,r=this.scrollLeft>e,S=this.element.scrollTop,D=this.scrollTop>S;this.scrollLeft!=e&&(this.scrollLeft=e,this.dispatch("scroll-horizontal",e,r),this.dispatchExternal("scrollHorizontal",e,r),this._positionPlaceholder()),this.scrollTop!=S&&(this.scrollTop=S,this.renderer.scrollRows(S,D),this.dispatch("scroll-vertical",S,D),this.dispatchExternal("scrollVertical",S,D))})}findRow(e){if(typeof e=="object"){if(e instanceof vl)return e;if(e instanceof Wy)return e._getSelf()||!1;if(typeof HTMLElement<"u"&&e instanceof HTMLElement)return this.rows.find(S=>S.getElement()===e)||!1;if(e===null)return!1}else return typeof e>"u"?!1:this.rows.find(S=>S.data[this.table.options.index]==e)||!1;return!1}getRowFromDataObject(e){var r=this.rows.find(S=>S.data===e);return r||!1}getRowFromPosition(e){return this.getDisplayRows().find(r=>r.getPosition()===e&&r.isDisplayed())}scrollToRow(e,r,S){return this.renderer.scrollToRowPosition(e,r,S)}setData(e,r,S){return new Promise((D,T)=>{r&&this.getDisplayRows().length?this.table.options.pagination?this._setDataActual(e,!0):this.reRenderInPosition(()=>{this._setDataActual(e)}):(this.table.options.autoColumns&&S&&this.table.initialized&&this.table.columnManager.generateColumnsFromRowData(e),this.resetScroll(),this._setDataActual(e)),D()})}_setDataActual(e,r){this.dispatchExternal("dataProcessing",e),this._wipeElements(),Array.isArray(e)?(this.dispatch("data-processing",e),e.forEach((S,D)=>{if(S&&typeof S=="object"){var T=new vl(S,this);this.rows.push(T)}else console.warn("Data Loading Warning - Invalid row data detected and ignored, expecting object but received:",S)}),this.refreshActiveData(!1,!1,r),this.dispatch("data-processed",e),this.dispatchExternal("dataProcessed",e)):console.error(`Data Loading Error - Unable to process data due to invalid data type -Expecting: array -Received: `,typeof e,` -Data: `,e)}_wipeElements(){this.dispatch("rows-wipe"),this.destroy(),this.adjustTableSize(),this.dispatch("rows-wiped")}destroy(){this.rows.forEach(e=>{e.wipe()}),this.rows=[],this.activeRows=[],this.activeRowsPipeline=[],this.activeRowsCount=0,this.displayRows=[],this.displayRowsCount=0}deleteRow(e,r){var S=this.rows.indexOf(e),D=this.activeRows.indexOf(e);D>-1&&this.activeRows.splice(D,1),S>-1&&this.rows.splice(S,1),this.setActiveRows(this.activeRows),this.displayRowIterator(T=>{var p=T.indexOf(e);p>-1&&T.splice(p,1)}),r||this.reRenderInPosition(),this.regenerateRowPositions(),this.dispatchExternal("rowDeleted",e.getComponent()),this.displayRowsCount||this.tableEmpty(),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.getData())}addRow(e,r,S,D){var T=this.addRowActual(e,r,S,D);return T}addRows(e,r,S,D){var T=[];return new Promise((p,t)=>{r=this.findAddRowPos(r),Array.isArray(e)||(e=[e]),(typeof S>"u"&&r||typeof S<"u"&&!r)&&e.reverse(),e.forEach((d,g)=>{var i=this.addRow(d,r,S,!0);T.push(i),this.dispatch("row-added",i,d,r,S)}),this.refreshActiveData(D?"displayPipeline":!1,!1,!0),this.regenerateRowPositions(),this.displayRowsCount&&this._clearPlaceholder(),p(T)})}findAddRowPos(e){return typeof e>"u"&&(e=this.table.options.addRowPos),e==="pos"&&(e=!0),e==="bottom"&&(e=!1),e}addRowActual(e,r,S,D){var T=e instanceof vl?e:new vl(e||{},this),p=this.findAddRowPos(r),t=-1,d,g;return S||(g=this.chain("row-adding-position",[T,p],null,{index:S,top:p}),S=g.index,p=g.top),typeof S<"u"&&(S=this.findRow(S)),S=this.chain("row-adding-index",[T,S,p],null,S),S&&(t=this.rows.indexOf(S)),S&&t>-1?(d=this.activeRows.indexOf(S),this.displayRowIterator(function(i){var M=i.indexOf(S);M>-1&&i.splice(p?M:M+1,0,T)}),d>-1&&this.activeRows.splice(p?d:d+1,0,T),this.rows.splice(p?t:t+1,0,T)):p?(this.displayRowIterator(function(i){i.unshift(T)}),this.activeRows.unshift(T),this.rows.unshift(T)):(this.displayRowIterator(function(i){i.push(T)}),this.activeRows.push(T),this.rows.push(T)),this.setActiveRows(this.activeRows),this.dispatchExternal("rowAdded",T.getComponent()),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.table.rowManager.getData()),D||this.reRenderInPosition(),T}moveRow(e,r,S){this.dispatch("row-move",e,r,S),this.moveRowActual(e,r,S),this.regenerateRowPositions(),this.dispatch("row-moved",e,r,S),this.dispatchExternal("rowMoved",e.getComponent())}moveRowActual(e,r,S){this.moveRowInArray(this.rows,e,r,S),this.moveRowInArray(this.activeRows,e,r,S),this.displayRowIterator(D=>{this.moveRowInArray(D,e,r,S)}),this.dispatch("row-moving",e,r,S)}moveRowInArray(e,r,S,D){var T,p,t,d;if(r!==S&&(T=e.indexOf(r),T>-1&&(e.splice(T,1),p=e.indexOf(S),p>-1?D?e.splice(p+1,0,r):e.splice(p,0,r):e.splice(T,0,r)),e===this.getDisplayRows())){t=TT?p:T+1;for(let g=t;g<=d;g++)e[g]&&this.styleRow(e[g],g)}}clearData(){this.setData([])}getRowIndex(e){return this.findRowIndex(e,this.rows)}getDisplayRowIndex(e){var r=this.getDisplayRows().indexOf(e);return r>-1?r:!1}nextDisplayRow(e,r){var S=this.getDisplayRowIndex(e),D=!1;return S!==!1&&S-1)?S:!1}getData(e,r){var S=[],D=this.getRows(e);return D.forEach(function(T){T.type=="row"&&S.push(T.getData(r||"data"))}),S}getComponents(e){var r=[],S=this.getRows(e);return S.forEach(function(D){r.push(D.getComponent())}),r}getDataCount(e){var r=this.getRows(e);return r.length}scrollHorizontal(e){this.scrollLeft=e,this.element.scrollLeft=e,this.dispatch("scroll-horizontal",e)}registerDataPipelineHandler(e,r){typeof r<"u"?(this.dataPipeline.push({handler:e,priority:r}),this.dataPipeline.sort((S,D)=>S.priority-D.priority)):console.error("Data pipeline handlers must have a priority in order to be registered")}registerDisplayPipelineHandler(e,r){typeof r<"u"?(this.displayPipeline.push({handler:e,priority:r}),this.displayPipeline.sort((S,D)=>S.priority-D.priority)):console.error("Display pipeline handlers must have a priority in order to be registered")}refreshActiveData(e,r,S){var D=this.table,T="",p=0,t=["all","dataPipeline","display","displayPipeline","end"];if(!this.table.destroyed){if(typeof e=="function")if(p=this.dataPipeline.findIndex(d=>d.handler===e),p>-1)T="dataPipeline",r&&(p==this.dataPipeline.length-1?T="display":p++);else if(p=this.displayPipeline.findIndex(d=>d.handler===e),p>-1)T="displayPipeline",r&&(p==this.displayPipeline.length-1?T="end":p++);else{console.error("Unable to refresh data, invalid handler provided",e);return}else T=e||"all",p=0;if(this.redrawBlock){(!this.redrawBlockRestoreConfig||this.redrawBlockRestoreConfig&&(this.redrawBlockRestoreConfig.stage===T&&p{S.type==="row"&&(S.setPosition(r),r++)})}setActiveRows(e){this.activeRows=this.activeRows=Object.assign([],e),this.activeRowsCount=this.activeRows.length}resetDisplayRows(){this.displayRows=[],this.displayRows.push(this.activeRows.slice(0)),this.displayRowsCount=this.displayRows[0].length}setDisplayRows(e,r){this.displayRows[r]=e,r==this.displayRows.length-1&&(this.displayRowsCount=this.displayRows[this.displayRows.length-1].length)}getDisplayRows(e){return typeof e>"u"?this.displayRows.length?this.displayRows[this.displayRows.length-1]:[]:this.displayRows[e]||[]}getVisibleRows(e,r){var S=Object.assign([],this.renderer.visibleRows(!r));return e&&(S=this.chain("rows-visible",[r],S,S)),S}displayRowIterator(e){this.activeRowsPipeline.forEach(e),this.displayRows.forEach(e),this.displayRowsCount=this.displayRows[this.displayRows.length-1].length}getRows(e){var r=[];switch(e){case"active":r=this.activeRows;break;case"display":r=this.table.rowManager.getDisplayRows();break;case"visible":r=this.getVisibleRows(!1,!0);break;default:r=this.chain("rows-retrieve",e,null,this.rows)||this.rows}return r}reRenderInPosition(e){this.redrawBlock?e?e():this.redrawBlockRenderInPosition=!0:(this.dispatchExternal("renderStarted"),this.renderer.rerenderRows(e),this.fixedHeight||this.adjustTableSize(),this.scrollBarCheck(),this.dispatchExternal("renderComplete"))}scrollBarCheck(){var e=0;this.element.scrollHeight>this.element.clientHeight&&(e=this.element.offsetWidth-this.element.clientWidth),e!==this.scrollbarWidth&&(this.scrollbarWidth=e,this.dispatch("scrollbar-vertical",e))}initializeRenderer(){var e,r={virtual:VP,basic:NP};typeof this.table.options.renderVertical=="string"?e=r[this.table.options.renderVertical]:e=this.table.options.renderVertical,e?(this.renderMode=this.table.options.renderVertical,this.renderer=new e(this.table,this.element,this.tableElement),this.renderer.initialize(),(this.table.element.clientHeight||this.table.options.height)&&!(this.table.options.minHeight&&this.table.options.maxHeight)?this.fixedHeight=!0:this.fixedHeight=!1):console.error("Unable to find matching renderer:",this.table.options.renderVertical)}getRenderMode(){return this.renderMode}renderTable(){this.dispatchExternal("renderStarted"),this.element.scrollTop=0,this._clearTable(),this.displayRowsCount?(this.renderer.renderRows(),this.firstRender&&(this.firstRender=!1,this.fixedHeight||this.adjustTableSize(),this.layoutRefresh(!0))):this.renderEmptyScroll(),this.fixedHeight||this.adjustTableSize(),this.dispatch("table-layout"),this.displayRowsCount||this._showPlaceholder(),this.scrollBarCheck(),this.dispatchExternal("renderComplete")}renderEmptyScroll(){this.placeholder?this.tableElement.style.display="none":this.tableElement.style.minWidth=this.table.columnManager.getWidth()+"px"}_clearTable(){this._clearPlaceholder(),this.scrollTop=0,this.scrollLeft=0,this.renderer.clearRows()}tableEmpty(){this.renderEmptyScroll(),this._showPlaceholder()}checkPlaceholder(){this.displayRowsCount?this._clearPlaceholder():this.tableEmpty()}_showPlaceholder(){this.placeholder&&(this.placeholder&&this.placeholder.parentNode&&this.placeholder.parentNode.removeChild(this.placeholder),this.initializePlaceholder(),this.placeholder.setAttribute("tabulator-render-mode",this.renderMode),this.getElement().appendChild(this.placeholder),this._positionPlaceholder(),this.adjustTableSize())}_clearPlaceholder(){this.placeholder&&this.placeholder.parentNode&&this.placeholder.parentNode.removeChild(this.placeholder),this.tableElement.style.minWidth="",this.tableElement.style.display=""}_positionPlaceholder(){this.placeholder&&this.placeholder.parentNode&&(this.placeholder.style.width=this.table.columnManager.getWidth()+"px",this.placeholderContents.style.width=this.table.rowManager.element.clientWidth+"px",this.placeholderContents.style.marginLeft=this.scrollLeft+"px")}styleRow(e,r){var S=e.getElement();r%2?(S.classList.add("tabulator-row-even"),S.classList.remove("tabulator-row-odd")):(S.classList.add("tabulator-row-odd"),S.classList.remove("tabulator-row-even"))}normalizeHeight(){this.activeRows.forEach(function(e){e.normalizeHeight()})}adjustTableSize(){let e=this.element.clientHeight,r,S=!1;if(this.renderer.verticalFillMode==="fill"){let D=Math.floor(this.table.columnManager.getElement().getBoundingClientRect().height+(this.table.footerManager&&this.table.footerManager.active&&!this.table.footerManager.external?this.table.footerManager.getElement().getBoundingClientRect().height:0));if(this.fixedHeight){r=isNaN(this.table.options.minHeight)?this.table.options.minHeight:this.table.options.minHeight+"px";const T="calc(100% - "+D+"px)";this.element.style.minHeight=r||"calc(100% - "+D+"px)",this.element.style.height=T,this.element.style.maxHeight=T}else this.element.style.height="",this.element.style.height=this.table.element.clientHeight-D+"px",this.element.scrollTop=this.scrollTop;this.renderer.resize(),!this.fixedHeight&&e!=this.element.clientHeight&&(S=!0,this.subscribed("table-resize")?this.dispatch("table-resize"):this.redraw()),this.scrollBarCheck()}return this._positionPlaceholder(),S}reinitialize(){this.rows.forEach(function(e){e.reinitialize(!0)})}blockRedraw(){this.redrawBlock=!0,this.redrawBlockRestoreConfig=!1}restoreRedraw(){this.redrawBlock=!1,this.redrawBlockRestoreConfig?(this.refreshActiveData(this.redrawBlockRestoreConfig.handler,this.redrawBlockRestoreConfig.skipStage,this.redrawBlockRestoreConfig.renderInPosition),this.redrawBlockRestoreConfig=!1):this.redrawBlockRenderInPosition&&this.reRenderInPosition(),this.redrawBlockRenderInPosition=!1}redraw(e){this.adjustTableSize(),this.table.tableWidth=this.table.element.clientWidth,e?this.renderTable():(this.reRenderInPosition(),this.scrollHorizontal(this.scrollLeft))}resetScroll(){if(this.element.scrollLeft=0,this.element.scrollTop=0,this.table.browser==="ie"){var e=document.createEvent("Event");e.initEvent("scroll",!1,!0),this.element.dispatchEvent(e)}else this.element.dispatchEvent(new Event("scroll"))}}class UP extends Ml{constructor(e){super(e),this.active=!1,this.element=this.createElement(),this.containerElement=this.createContainerElement(),this.external=!1}initialize(){this.initializeElement()}createElement(){var e=document.createElement("div");return e.classList.add("tabulator-footer"),e}createContainerElement(){var e=document.createElement("div");return e.classList.add("tabulator-footer-contents"),this.element.appendChild(e),e}initializeElement(){if(this.table.options.footerElement)switch(typeof this.table.options.footerElement){case"string":this.table.options.footerElement[0]==="<"?this.containerElement.innerHTML=this.table.options.footerElement:(this.external=!0,this.containerElement=document.querySelector(this.table.options.footerElement));break;default:this.element=this.table.options.footerElement;break}}getElement(){return this.element}append(e){this.activate(),this.containerElement.appendChild(e),this.table.rowManager.adjustTableSize()}prepend(e){this.activate(),this.element.insertBefore(e,this.element.firstChild),this.table.rowManager.adjustTableSize()}remove(e){e.parentNode.removeChild(e),this.deactivate()}deactivate(e){(!this.element.firstChild||e)&&(this.external||this.element.parentNode.removeChild(this.element),this.active=!1)}activate(){this.active||(this.active=!0,this.external||(this.table.element.appendChild(this.getElement()),this.table.element.style.display=""))}redraw(){this.dispatch("footer-redraw")}}class HP extends Ml{constructor(e){super(e),this.el=null,this.abortClasses=["tabulator-headers","tabulator-table"],this.previousTargets={},this.listeners=["click","dblclick","contextmenu","mouseenter","mouseleave","mouseover","mouseout","mousemove","mouseup","mousedown","touchstart","touchend"],this.componentMap={"tabulator-cell":"cell","tabulator-row":"row","tabulator-group":"group","tabulator-col":"column"},this.pseudoTrackers={row:{subscriber:null,target:null},cell:{subscriber:null,target:null},group:{subscriber:null,target:null},column:{subscriber:null,target:null}},this.pseudoTracking=!1}initialize(){this.el=this.table.element,this.buildListenerMap(),this.bindSubscriptionWatchers()}buildListenerMap(){var e={};this.listeners.forEach(r=>{e[r]={handler:null,components:[]}}),this.listeners=e}bindPseudoEvents(){Object.keys(this.pseudoTrackers).forEach(e=>{this.pseudoTrackers[e].subscriber=this.pseudoMouseEnter.bind(this,e),this.subscribe(e+"-mouseover",this.pseudoTrackers[e].subscriber)}),this.pseudoTracking=!0}pseudoMouseEnter(e,r,S){this.pseudoTrackers[e].target!==S&&(this.pseudoTrackers[e].target&&this.dispatch(e+"-mouseleave",r,this.pseudoTrackers[e].target),this.pseudoMouseLeave(e,r),this.pseudoTrackers[e].target=S,this.dispatch(e+"-mouseenter",r,S))}pseudoMouseLeave(e,r){var S=Object.keys(this.pseudoTrackers),D={row:["cell"],cell:["row"]};S=S.filter(T=>{var p=D[e];return T!==e&&(!p||p&&!p.includes(T))}),S.forEach(T=>{var p=this.pseudoTrackers[T].target;this.pseudoTrackers[T].target&&(this.dispatch(T+"-mouseleave",r,p),this.pseudoTrackers[T].target=null)})}bindSubscriptionWatchers(){var e=Object.keys(this.listeners),r=Object.values(this.componentMap);for(let S of r)for(let D of e){let T=S+"-"+D;this.subscriptionChange(T,this.subscriptionChanged.bind(this,S,D))}this.subscribe("table-destroy",this.clearWatchers.bind(this))}subscriptionChanged(e,r,S){var D=this.listeners[r].components,T=D.indexOf(e),p=!1;S?T===-1&&(D.push(e),p=!0):this.subscribed(e+"-"+r)||T>-1&&(D.splice(T,1),p=!0),(r==="mouseenter"||r==="mouseleave")&&!this.pseudoTracking&&this.bindPseudoEvents(),p&&this.updateEventListeners()}updateEventListeners(){for(let e in this.listeners){let r=this.listeners[e];r.components.length?r.handler||(r.handler=this.track.bind(this,e),this.el.addEventListener(e,r.handler)):r.handler&&(this.el.removeEventListener(e,r.handler),r.handler=null)}}track(e,r){var S=r.composedPath&&r.composedPath()||r.path,D=this.findTargets(S);D=this.bindComponents(e,D),this.triggerEvents(e,r,D),this.pseudoTracking&&(e=="mouseover"||e=="mouseleave")&&!Object.keys(D).length&&this.pseudoMouseLeave("none",r)}findTargets(e){var r={};let S=Object.keys(this.componentMap);for(let D of e){let T=D.classList?[...D.classList]:[];if(T.filter(d=>this.abortClasses.includes(d)).length)break;let t=T.filter(d=>S.includes(d));for(let d of t)r[this.componentMap[d]]||(r[this.componentMap[d]]=D)}return r.group&&r.group===r.row&&delete r.row,r}bindComponents(e,r){var S=Object.keys(r).reverse(),D=this.listeners[e],T={},p={};for(let t of S){let d,g=r[t],i=this.previousTargets[t];if(i&&i.target===g)d=i.component;else switch(t){case"row":case"group":(D.components.includes("row")||D.components.includes("cell")||D.components.includes("group"))&&(d=this.table.rowManager.getVisibleRows(!0).find(v=>v.getElement()===g),r.row&&r.row.parentNode&&r.row.parentNode.closest(".tabulator-row")&&(r[t]=!1));break;case"column":D.components.includes("column")&&(d=this.table.columnManager.findColumn(g));break;case"cell":D.components.includes("cell")&&(T.row instanceof vl?d=T.row.findCell(g):r.row&&console.warn("Event Target Lookup Error - The row this cell is attached to cannot be found, has the table been reinitialized without being destroyed first?"));break}d&&(T[t]=d,p[t]={target:g,component:d})}return this.previousTargets=p,T}triggerEvents(e,r,S){var D=this.listeners[e];for(let T in S)S[T]&&D.components.includes(T)&&this.dispatch(T+"-"+e,r,S[T])}clearWatchers(){for(let e in this.listeners){let r=this.listeners[e];r.handler&&(this.el.removeEventListener(e,r.handler),r.handler=null)}}}class GP{constructor(e){this.table=e,this.bindings={}}bind(e,r,S){this.bindings[e]||(this.bindings[e]={}),this.bindings[e][r]?console.warn("Unable to bind component handler, a matching function name is already bound",e,r,S):this.bindings[e][r]=S}handle(e,r,S){if(this.bindings[e]&&this.bindings[e][S]&&typeof this.bindings[e][S].bind=="function")return this.bindings[e][S].bind(null,r);S!=="then"&&typeof S=="string"&&!S.startsWith("_")&&this.table.options.debugInvalidComponentFuncs&&console.error("The "+e+" component does not have a "+S+" function, have you checked that you have the correct Tabulator module installed?")}}class qP extends Ml{constructor(e){super(e),this.requestOrder=0,this.loading=!1}initialize(){}load(e,r,S,D,T,p){var t=++this.requestOrder;if(this.table.destroyed)return Promise.resolve();if(this.dispatchExternal("dataLoading",e),e&&(e.indexOf("{")==0||e.indexOf("[")==0)&&(e=JSON.parse(e)),this.confirm("data-loading",[e,r,S,T])){this.loading=!0,T||this.alertLoader(),r=this.chain("data-params",[e,S,T],r||{},r||{}),r=this.mapParams(r,this.table.options.dataSendParams);var d=this.chain("data-load",[e,r,S,T],!1,Promise.resolve([]));return d.then(g=>{if(this.table.destroyed)console.warn("Data Load Response Blocked - Table has been destroyed");else{!Array.isArray(g)&&typeof g=="object"&&(g=this.mapParams(g,this.objectInvert(this.table.options.dataReceiveParams)));var i=this.chain("data-loaded",g,null,g);t==this.requestOrder?(this.clearAlert(),i!==!1&&(this.dispatchExternal("dataLoaded",i),this.table.rowManager.setData(i,D,typeof p>"u"?!D:p))):console.warn("Data Load Response Blocked - An active data load request was blocked by an attempt to change table data while the request was being made")}}).catch(g=>{console.error("Data Load Error: ",g),this.dispatchExternal("dataLoadError",g),T||this.alertError(),setTimeout(()=>{this.clearAlert()},this.table.options.dataLoaderErrorTimeout)}).finally(()=>{this.loading=!1})}else return this.dispatchExternal("dataLoaded",e),e||(e=[]),this.table.rowManager.setData(e,D,typeof p>"u"?!D:p),Promise.resolve()}mapParams(e,r){var S={};for(let D in e)S[r.hasOwnProperty(D)?r[D]:D]=e[D];return S}objectInvert(e){var r={};for(let S in e)r[e[S]]=S;return r}blockActiveLoad(){this.requestOrder++}alertLoader(){var e=typeof this.table.options.dataLoader=="function"?this.table.options.dataLoader():this.table.options.dataLoader;e&&this.table.alertManager.alert(this.table.options.dataLoaderLoading||this.langText("data|loading"))}alertError(){this.table.alertManager.alert(this.table.options.dataLoaderError||this.langText("data|error"),"error")}clearAlert(){this.table.alertManager.clear()}}class WP{constructor(e,r,S){this.table=e,this.events={},this.optionsList=r||{},this.subscriptionNotifiers={},this.dispatch=S?this._debugDispatch.bind(this):this._dispatch.bind(this),this.debug=S}subscriptionChange(e,r){this.subscriptionNotifiers[e]||(this.subscriptionNotifiers[e]=[]),this.subscriptionNotifiers[e].push(r),this.subscribed(e)&&this._notifySubscriptionChange(e,!0)}subscribe(e,r){this.events[e]||(this.events[e]=[]),this.events[e].push(r),this._notifySubscriptionChange(e,!0)}unsubscribe(e,r){var S;if(this.events[e])if(r)if(S=this.events[e].findIndex(D=>D===r),S>-1)this.events[e].splice(S,1);else{console.warn("Cannot remove event, no matching event found:",e,r);return}else delete this.events[e];else{console.warn("Cannot remove event, no events set on:",e);return}this._notifySubscriptionChange(e,!1)}subscribed(e){return this.events[e]&&this.events[e].length}_notifySubscriptionChange(e,r){var S=this.subscriptionNotifiers[e];S&&S.forEach(D=>{D(r)})}_dispatch(){var e=Array.from(arguments),r=e.shift(),S;return this.events[r]&&this.events[r].forEach((D,T)=>{let p=D.apply(this.table,e);T||(S=p)}),S}_debugDispatch(){var e=Array.from(arguments),r=e[0];return e[0]="ExternalEvent:"+e[0],(this.debug===!0||this.debug.includes(r))&&console.log(...e),this._dispatch(...arguments)}}class YP{constructor(e){this.events={},this.subscriptionNotifiers={},this.dispatch=e?this._debugDispatch.bind(this):this._dispatch.bind(this),this.chain=e?this._debugChain.bind(this):this._chain.bind(this),this.confirm=e?this._debugConfirm.bind(this):this._confirm.bind(this),this.debug=e}subscriptionChange(e,r){this.subscriptionNotifiers[e]||(this.subscriptionNotifiers[e]=[]),this.subscriptionNotifiers[e].push(r),this.subscribed(e)&&this._notifySubscriptionChange(e,!0)}subscribe(e,r,S=1e4){this.events[e]||(this.events[e]=[]),this.events[e].push({callback:r,priority:S}),this.events[e].sort((D,T)=>D.priority-T.priority),this._notifySubscriptionChange(e,!0)}unsubscribe(e,r){var S;if(this.events[e]){if(r)if(S=this.events[e].findIndex(D=>D.callback===r),S>-1)this.events[e].splice(S,1);else{console.warn("Cannot remove event, no matching event found:",e,r);return}}else{console.warn("Cannot remove event, no events set on:",e);return}this._notifySubscriptionChange(e,!1)}subscribed(e){return this.events[e]&&this.events[e].length}_chain(e,r,S,D){var T=S;return Array.isArray(r)||(r=[r]),this.subscribed(e)?(this.events[e].forEach((p,t)=>{T=p.callback.apply(this,r.concat([T]))}),T):typeof D=="function"?D():D}_confirm(e,r){var S=!1;return Array.isArray(r)||(r=[r]),this.subscribed(e)&&this.events[e].forEach((D,T)=>{D.callback.apply(this,r)&&(S=!0)}),S}_notifySubscriptionChange(e,r){var S=this.subscriptionNotifiers[e];S&&S.forEach(D=>{D(r)})}_dispatch(){var e=Array.from(arguments),r=e.shift();this.events[r]&&this.events[r].forEach(S=>{S.callback.apply(this,e)})}_debugDispatch(){var e=Array.from(arguments),r=e[0];return e[0]="InternalEvent:"+r,(this.debug===!0||this.debug.includes(r))&&console.log(...e),this._dispatch(...arguments)}_debugChain(){var e=Array.from(arguments),r=e[0];return e[0]="InternalEvent:"+r,(this.debug===!0||this.debug.includes(r))&&console.log(...e),this._chain(...arguments)}_debugConfirm(){var e=Array.from(arguments),r=e[0];return e[0]="InternalEvent:"+r,(this.debug===!0||this.debug.includes(r))&&console.log(...e),this._confirm(...arguments)}}class $P extends Ml{constructor(e){super(e)}_warnUser(){this.options("debugDeprecation")&&console.warn(...arguments)}check(e,r,S){var D="";return typeof this.options(e)<"u"?(D="Deprecated Setup Option - Use of the %c"+e+"%c option is now deprecated",r?(D=D+", Please use the %c"+r+"%c option instead",this._warnUser(D,"font-weight: bold;","font-weight: normal;","font-weight: bold;","font-weight: normal;"),S&&(this.table.options[r]=this.table.options[e])):this._warnUser(D,"font-weight: bold;","font-weight: normal;"),!1):!0}checkMsg(e,r){return typeof this.options(e)<"u"?(this._warnUser("%cDeprecated Setup Option - Use of the %c"+e+" %c option is now deprecated, "+r,"font-weight: normal;","font-weight: bold;","font-weight: normal;"),!1):!0}msg(e){this._warnUser(e)}}class pu{static register(e){pu.tables.push(e)}static deregister(e){var r=pu.tables.indexOf(e);r>-1&&pu.tables.splice(r,1)}static lookupTable(e,r){var S=[],D,T;if(typeof e=="string"){if(D=document.querySelectorAll(e),D.length)for(var p=0;p{p.widthFixed||p.reinitializeWidth(),(this.table.options.responsiveLayout?p.modules.responsive.visible:p.visible)&&(T=p),p.visible&&(r+=p.getWidth())}),T?(D=S-r+T.getWidth(),this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&(T.setWidth(0),this.table.modules.responsiveLayout.update()),D>0?T.setWidth(D):T.reinitializeWidth()):this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&this.table.modules.responsiveLayout.update()}function KP(n,e){var r=this.table.rowManager.element.getBoundingClientRect().width,S=0,D=0,T=0,p=0,t=[],d=[],g=0,i=0,M=0;function v(l){var a;return typeof l=="string"?l.indexOf("%")>-1?a=r/100*parseInt(l):a=parseInt(l):a=l,a}function f(l,a,u,o){var s=[],h=0,c=0,m=0,w=T,y=0,C=0,_=[];function k(x){return u*(x.column.definition.widthGrow||1)}function E(x){return v(x.width)-u*(x.column.definition.widthShrink||0)}return l.forEach(function(x,A){var L=o?E(x):k(x);x.column.minWidth>=L?s.push(x):x.column.maxWidth&&x.column.maxWidththis.table.rowManager.element.clientHeight&&(r-=this.table.rowManager.element.offsetWidth-this.table.rowManager.element.clientWidth),n.forEach(function(l){var a,u,o;l.visible&&(a=l.definition.width,u=parseInt(l.minWidth),a?(o=v(a),S+=o>u?o:u,l.definition.widthShrink&&(d.push({column:l,width:o>u?o:u}),g+=l.definition.widthShrink)):(t.push({column:l,width:0}),T+=l.definition.widthGrow||1))}),D=r-S,p=Math.floor(D/T),M=f(t,D,p,!1),t.length&&M>0&&(t[t.length-1].width+=M),t.forEach(function(l){D-=l.width}),i=Math.abs(M)+D,i>0&&g&&(M=f(d,i,Math.floor(i/g),!0)),M&&d.length&&(d[d.length-1].width-=M),t.forEach(function(l){l.column.setWidth(l.width)}),d.forEach(function(l){l.column.setWidth(l.width)})}var JP={fitData:ZP,fitDataFill:v5,fitDataTable:v5,fitDataStretch:XP,fitColumns:KP};class s0 extends qi{constructor(e){super(e,"layout"),this.mode=null,this.registerTableOption("layout","fitData"),this.registerTableOption("layoutColumnsOnNewData",!1),this.registerColumnOption("widthGrow"),this.registerColumnOption("widthShrink")}initialize(){var e=this.table.options.layout;s0.modes[e]?this.mode=e:(console.warn("Layout Error - invalid mode set, defaulting to 'fitData' : "+e),this.mode="fitData"),this.table.element.setAttribute("tabulator-layout",this.mode),this.subscribe("column-init",this.initializeColumn.bind(this))}initializeColumn(e){e.definition.widthGrow&&(e.definition.widthGrow=Number(e.definition.widthGrow)),e.definition.widthShrink&&(e.definition.widthShrink=Number(e.definition.widthShrink))}getMode(){return this.mode}layout(e){this.dispatch("layout-refreshing"),s0.modes[this.mode].call(this,this.table.columnManager.columnsByIndex,e),this.dispatch("layout-refreshed")}}s0.moduleName="layout";s0.modes=JP;var QP={default:{groups:{item:"item",items:"items"},columns:{},data:{loading:"Loading",error:"Error"},pagination:{page_size:"Page Size",page_title:"Show Page",first:"First",first_title:"First Page",last:"Last",last_title:"Last Page",prev:"Prev",prev_title:"Prev Page",next:"Next",next_title:"Next Page",all:"All",counter:{showing:"Showing",of:"of",rows:"rows",pages:"pages"}},headerFilters:{default:"filter column...",columns:{}}}};class ag extends qi{constructor(e){super(e),this.locale="default",this.lang=!1,this.bindings={},this.langList={},this.registerTableOption("locale",!1),this.registerTableOption("langs",{})}initialize(){this.langList=so.deepClone(ag.langs),this.table.options.columnDefaults.headerFilterPlaceholder!==!1&&this.setHeaderFilterPlaceholder(this.table.options.columnDefaults.headerFilterPlaceholder);for(let e in this.table.options.langs)this.installLang(e,this.table.options.langs[e]);this.setLocale(this.table.options.locale),this.registerTableFunction("setLocale",this.setLocale.bind(this)),this.registerTableFunction("getLocale",this.getLocale.bind(this)),this.registerTableFunction("getLang",this.getLang.bind(this))}setHeaderFilterPlaceholder(e){this.langList.default.headerFilters.default=e}installLang(e,r){this.langList[e]?this._setLangProp(this.langList[e],r):this.langList[e]=r}_setLangProp(e,r){for(let S in r)e[S]&&typeof e[S]=="object"?this._setLangProp(e[S],r[S]):e[S]=r[S]}setLocale(e){e=e||"default";function r(S,D){for(var T in S)typeof S[T]=="object"?(D[T]||(D[T]={}),r(S[T],D[T])):D[T]=S[T]}if(e===!0&&navigator.language&&(e=navigator.language.toLowerCase()),e&&!this.langList[e]){let S=e.split("-")[0];this.langList[S]?(console.warn("Localization Error - Exact matching locale not found, using closest match: ",e,S),e=S):(console.warn("Localization Error - Matching locale not found, using default: ",e),e="default")}this.locale=e,this.lang=so.deepClone(this.langList.default||{}),e!="default"&&r(this.langList[e],this.lang),this.dispatchExternal("localized",this.locale,this.lang),this._executeBindings()}getLocale(e){return this.locale}getLang(e){return e?this.langList[e]:this.lang}getText(e,r){var S=r?e+"|"+r:e,D=S.split("|"),T=this._getLangElement(D,this.locale);return T||""}_getLangElement(e,r){var S=this.lang;return e.forEach(function(D){var T;S&&(T=S[D],typeof T<"u"?S=T:S=!1)}),S}bind(e,r){this.bindings[e]||(this.bindings[e]=[]),this.bindings[e].push(r),r(this.getText(e),this.lang)}_executeBindings(){for(let e in this.bindings)this.bindings[e].forEach(r=>{r(this.getText(e),this.lang)})}}ag.moduleName="localize";ag.langs=QP;class e6 extends qi{constructor(e){super(e)}initialize(){this.registerTableFunction("tableComms",this.receive.bind(this))}getConnections(e){var r=[],S;return S=pu.lookupTable(e),S.forEach(D=>{this.table!==D&&r.push(D)}),r}send(e,r,S,D){var T=this.getConnections(e);T.forEach(p=>{p.tableComms(this.table.element,r,S,D)}),!T.length&&e&&console.warn("Table Connection Error - No tables matching selector found",e)}receive(e,r,S,D){if(this.table.modExists(r))return this.table.modules[r].commsReceived(e,S,D);console.warn("Inter-table Comms Error - no such module:",r)}}e6.moduleName="comms";var eO=Object.freeze({__proto__:null,LayoutModule:s0,LocalizeModule:ag,CommsModule:e6});class t6{constructor(e,r){this.bindStaticFunctionality(e),this.bindModules(e,eO,!0),r&&this.bindModules(e,r)}bindStaticFunctionality(e){e.moduleBindings={},e.extendModule=function(r,S,D){if(e.moduleBindings[r]){var T=e.moduleBindings[r][S];if(T)if(typeof D=="object")for(let p in D)T[p]=D[p];else console.warn("Module Error - Invalid value type, it must be an object");else console.warn("Module Error - property does not exist:",S)}else console.warn("Module Error - module does not exist:",r)},e.registerModule=function(r){Array.isArray(r)||(r=[r]),r.forEach(S=>{e.registerModuleBinding(S)})},e.registerModuleBinding=function(r){e.moduleBindings[r.moduleName]=r},e.findTable=function(r){var S=pu.lookupTable(r,!0);return Array.isArray(S)&&!S.length?!1:S},e.prototype.bindModules=function(){var r=[],S=[],D=[];this.modules={};for(var T in e.moduleBindings){let p=e.moduleBindings[T],t=new p(this);this.modules[T]=t,p.prototype.moduleCore?this.modulesCore.push(t):p.moduleInitOrder?p.moduleInitOrder<0?r.push(t):S.push(t):D.push(t)}r.sort((p,t)=>p.moduleInitOrder>t.moduleInitOrder?1:-1),S.sort((p,t)=>p.moduleInitOrder>t.moduleInitOrder?1:-1),this.modulesRegular=r.concat(D.concat(S))}}bindModules(e,r,S){var D=Object.values(r);S&&D.forEach(T=>{T.prototype.moduleCore=!0}),e.registerModule(D)}}class tO extends Ml{constructor(e){super(e),this.element=this._createAlertElement(),this.msgElement=this._createMsgElement(),this.type=null,this.element.appendChild(this.msgElement)}_createAlertElement(){var e=document.createElement("div");return e.classList.add("tabulator-alert"),e}_createMsgElement(){var e=document.createElement("div");return e.classList.add("tabulator-alert-msg"),e.setAttribute("role","alert"),e}_typeClass(){return"tabulator-alert-state-"+this.type}alert(e,r="msg"){if(e){for(this.clear(),this.dispatch("alert-show",r),this.type=r;this.msgElement.firstChild;)this.msgElement.removeChild(this.msgElement.firstChild);this.msgElement.classList.add(this._typeClass()),typeof e=="function"&&(e=e()),e instanceof HTMLElement?this.msgElement.appendChild(e):this.msgElement.innerHTML=e,this.table.element.appendChild(this.element)}}clear(){this.dispatch("alert-hide",this.type),this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.msgElement.classList.remove(this._typeClass())}}class Yd{constructor(e,r){this.options={},this.columnManager=null,this.rowManager=null,this.footerManager=null,this.alertManager=null,this.vdomHoz=null,this.externalEvents=null,this.eventBus=null,this.interactionMonitor=!1,this.browser="",this.browserSlow=!1,this.browserMobile=!1,this.rtl=!1,this.originalElement=null,this.componentFunctionBinder=new GP(this),this.dataLoader=!1,this.modules={},this.modulesCore=[],this.modulesRegular=[],this.deprecationAdvisor=new $P(this),this.optionsList=new QM(this,"table constructor"),this.initialized=!1,this.destroyed=!1,this.initializeElement(e)&&(this.initializeCoreSystems(r),setTimeout(()=>{this._create()})),pu.register(this)}initializeElement(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement?(this.element=e,!0):typeof e=="string"?(this.element=document.querySelector(e),this.element?!0:(console.error("Tabulator Creation Error - no element found matching selector: ",e),!1)):(console.error("Tabulator Creation Error - Invalid element provided:",e),!1)}initializeCoreSystems(e){this.columnManager=new BP(this),this.rowManager=new jP(this),this.footerManager=new UP(this),this.dataLoader=new qP(this),this.alertManager=new tO(this),this.bindModules(),this.options=this.optionsList.generate(Yd.defaultOptions,e),this._clearObjectPointers(),this._mapDeprecatedFunctionality(),this.externalEvents=new WP(this,this.options,this.options.debugEventsExternal),this.eventBus=new YP(this.options.debugEventsInternal),this.interactionMonitor=new HP(this),this.dataLoader.initialize(),this.footerManager.initialize()}_mapDeprecatedFunctionality(){}_clearSelection(){this.element.classList.add("tabulator-block-select"),window.getSelection?window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().removeAllRanges():document.selection&&document.selection.empty(),this.element.classList.remove("tabulator-block-select")}_create(){this.externalEvents.dispatch("tableBuilding"),this.eventBus.dispatch("table-building"),this._rtlCheck(),this._buildElement(),this._initializeTable(),this._loadInitialData(),this.initialized=!0,this.externalEvents.dispatch("tableBuilt")}_rtlCheck(){var e=window.getComputedStyle(this.element);switch(this.options.textDirection){case"auto":if(e.direction!=="rtl")break;case"rtl":this.element.classList.add("tabulator-rtl"),this.rtl=!0;break;case"ltr":this.element.classList.add("tabulator-ltr");default:this.rtl=!1}}_clearObjectPointers(){this.options.columns=this.options.columns.slice(0),Array.isArray(this.options.data)&&!this.options.reactiveData&&(this.options.data=this.options.data.slice(0))}_buildElement(){var e=this.element,r=this.options,S;if(e.tagName==="TABLE"){this.originalElement=this.element,S=document.createElement("div");var D=e.attributes;for(var T in D)typeof D[T]=="object"&&S.setAttribute(D[T].name,D[T].value);e.parentNode.replaceChild(S,e),this.element=e=S}for(e.classList.add("tabulator"),e.setAttribute("role","grid");e.firstChild;)e.removeChild(e.firstChild);r.height&&(r.height=isNaN(r.height)?r.height:r.height+"px",e.style.height=r.height),r.minHeight!==!1&&(r.minHeight=isNaN(r.minHeight)?r.minHeight:r.minHeight+"px",e.style.minHeight=r.minHeight),r.maxHeight!==!1&&(r.maxHeight=isNaN(r.maxHeight)?r.maxHeight:r.maxHeight+"px",e.style.maxHeight=r.maxHeight)}_initializeTable(){var e=this.element,r=this.options;this.interactionMonitor.initialize(),this.columnManager.initialize(),this.rowManager.initialize(),this._detectBrowser(),this.modulesCore.forEach(S=>{S.initialize()}),e.appendChild(this.columnManager.getElement()),e.appendChild(this.rowManager.getElement()),r.footerElement&&this.footerManager.activate(),r.autoColumns&&r.data&&this.columnManager.generateColumnsFromRowData(this.options.data),this.modulesRegular.forEach(S=>{S.initialize()}),this.columnManager.setColumns(r.columns),this.eventBus.dispatch("table-built")}_loadInitialData(){this.dataLoader.load(this.options.data),this.columnManager.verticalAlignHeaders()}destroy(){var e=this.element;for(this.destroyed=!0,pu.deregister(this),this.eventBus.dispatch("table-destroy"),this.rowManager.destroy();e.firstChild;)e.removeChild(e.firstChild);e.classList.remove("tabulator"),this.externalEvents.dispatch("tableDestroyed")}_detectBrowser(){var e=navigator.userAgent||navigator.vendor||window.opera;e.indexOf("Trident")>-1?(this.browser="ie",this.browserSlow=!0):e.indexOf("Edge")>-1?(this.browser="edge",this.browserSlow=!0):e.indexOf("Firefox")>-1?(this.browser="firefox",this.browserSlow=!1):e.indexOf("Mac OS")>-1?(this.browser="safari",this.browserSlow=!1):(this.browser="other",this.browserSlow=!1),this.browserMobile=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e.slice(0,4))}initGuard(e,r){var S,D;return this.options.debugInitialization&&!this.initialized&&(e||(S=new Error().stack.split(` -`),D=S[0]=="Error"?S[2]:S[1],D[0]==" "?e=D.trim().split(" ")[1].split(".")[1]:e=D.trim().split("@")[0]),console.warn("Table Not Initialized - Calling the "+e+" function before the table is initialized may result in inconsistent behavior, Please wait for the `tableBuilt` event before calling this function."+(r?" "+r:""))),this.initialized}blockRedraw(){this.initGuard(),this.eventBus.dispatch("redraw-blocking"),this.rowManager.blockRedraw(),this.columnManager.blockRedraw(),this.eventBus.dispatch("redraw-blocked")}restoreRedraw(){this.initGuard(),this.eventBus.dispatch("redraw-restoring"),this.rowManager.restoreRedraw(),this.columnManager.restoreRedraw(),this.eventBus.dispatch("redraw-restored")}setData(e,r,S){return this.initGuard(!1,"To set initial data please use the 'data' property in the table constructor."),this.dataLoader.load(e,r,S,!1)}clearData(){this.initGuard(),this.dataLoader.blockActiveLoad(),this.rowManager.clearData()}getData(e){return this.rowManager.getData(e)}getDataCount(e){return this.rowManager.getDataCount(e)}replaceData(e,r,S){return this.initGuard(),this.dataLoader.load(e,r,S,!0,!0)}updateData(e){var r=0;return this.initGuard(),new Promise((S,D)=>{this.dataLoader.blockActiveLoad(),typeof e=="string"&&(e=JSON.parse(e)),e&&e.length>0?e.forEach(T=>{var p=this.rowManager.findRow(T[this.options.index]);p?(r++,p.updateData(T).then(()=>{r--,r||S()}).catch(t=>{D("Update Error - Unable to update row",T,t)})):D("Update Error - Unable to find row",T)}):(console.warn("Update Error - No data provided"),D("Update Error - No data provided"))})}addData(e,r,S){return this.initGuard(),new Promise((D,T)=>{this.dataLoader.blockActiveLoad(),typeof e=="string"&&(e=JSON.parse(e)),e?this.rowManager.addRows(e,r,S).then(p=>{var t=[];p.forEach(function(d){t.push(d.getComponent())}),D(t)}):(console.warn("Update Error - No data provided"),T("Update Error - No data provided"))})}updateOrAddData(e){var r=[],S=0;return this.initGuard(),new Promise((D,T)=>{this.dataLoader.blockActiveLoad(),typeof e=="string"&&(e=JSON.parse(e)),e&&e.length>0?e.forEach(p=>{var t=this.rowManager.findRow(p[this.options.index]);S++,t?t.updateData(p).then(()=>{S--,r.push(t.getComponent()),S||D(r)}):this.rowManager.addRows(p).then(d=>{S--,r.push(d[0].getComponent()),S||D(r)})}):(console.warn("Update Error - No data provided"),T("Update Error - No data provided"))})}getRow(e){var r=this.rowManager.findRow(e);return r?r.getComponent():(console.warn("Find Error - No matching row found:",e),!1)}getRowFromPosition(e){var r=this.rowManager.getRowFromPosition(e);return r?r.getComponent():(console.warn("Find Error - No matching row found:",e),!1)}deleteRow(e){var r=[];this.initGuard(),Array.isArray(e)||(e=[e]);for(let S of e){let D=this.rowManager.findRow(S,!0);if(D)r.push(D);else return console.error("Delete Error - No matching row found:",S),Promise.reject("Delete Error - No matching row found")}return r.sort((S,D)=>this.rowManager.rows.indexOf(S)>this.rowManager.rows.indexOf(D)?1:-1),r.forEach(S=>{S.delete()}),this.rowManager.reRenderInPosition(),Promise.resolve()}addRow(e,r,S){return this.initGuard(),typeof e=="string"&&(e=JSON.parse(e)),this.rowManager.addRows(e,r,S,!0).then(D=>D[0].getComponent())}updateOrAddRow(e,r){var S=this.rowManager.findRow(e);return this.initGuard(),typeof r=="string"&&(r=JSON.parse(r)),S?S.updateData(r).then(()=>S.getComponent()):this.rowManager.addRows(r).then(D=>D[0].getComponent())}updateRow(e,r){var S=this.rowManager.findRow(e);return this.initGuard(),typeof r=="string"&&(r=JSON.parse(r)),S?S.updateData(r).then(()=>Promise.resolve(S.getComponent())):(console.warn("Update Error - No matching row found:",e),Promise.reject("Update Error - No matching row found"))}scrollToRow(e,r,S){var D=this.rowManager.findRow(e);return D?this.rowManager.scrollToRow(D,r,S):(console.warn("Scroll Error - No matching row found:",e),Promise.reject("Scroll Error - No matching row found"))}moveRow(e,r,S){var D=this.rowManager.findRow(e);this.initGuard(),D?D.moveToRow(r,S):console.warn("Move Error - No matching row found:",e)}getRows(e){return this.rowManager.getComponents(e)}getRowPosition(e){var r=this.rowManager.findRow(e);return r?r.getPosition():(console.warn("Position Error - No matching row found:",e),!1)}setColumns(e){this.initGuard(!1,"To set initial columns please use the 'columns' property in the table constructor"),this.columnManager.setColumns(e)}getColumns(e){return this.columnManager.getComponents(e)}getColumn(e){var r=this.columnManager.findColumn(e);return r?r.getComponent():(console.warn("Find Error - No matching column found:",e),!1)}getColumnDefinitions(){return this.columnManager.getDefinitionTree()}showColumn(e){var r=this.columnManager.findColumn(e);if(this.initGuard(),r)r.show();else return console.warn("Column Show Error - No matching column found:",e),!1}hideColumn(e){var r=this.columnManager.findColumn(e);if(this.initGuard(),r)r.hide();else return console.warn("Column Hide Error - No matching column found:",e),!1}toggleColumn(e){var r=this.columnManager.findColumn(e);if(this.initGuard(),r)r.visible?r.hide():r.show();else return console.warn("Column Visibility Toggle Error - No matching column found:",e),!1}addColumn(e,r,S){var D=this.columnManager.findColumn(S);return this.initGuard(),this.columnManager.addColumn(e,r,D).then(T=>T.getComponent())}deleteColumn(e){var r=this.columnManager.findColumn(e);return this.initGuard(),r?r.delete():(console.warn("Column Delete Error - No matching column found:",e),Promise.reject())}updateColumnDefinition(e,r){var S=this.columnManager.findColumn(e);return this.initGuard(),S?S.updateDefinition(r):(console.warn("Column Update Error - No matching column found:",e),Promise.reject())}moveColumn(e,r,S){var D=this.columnManager.findColumn(e),T=this.columnManager.findColumn(r);this.initGuard(),D?T?this.columnManager.moveColumn(D,T,S):console.warn("Move Error - No matching column found:",T):console.warn("Move Error - No matching column found:",e)}scrollToColumn(e,r,S){return new Promise((D,T)=>{var p=this.columnManager.findColumn(e);return p?this.columnManager.scrollToColumn(p,r,S):(console.warn("Scroll Error - No matching column found:",e),Promise.reject("Scroll Error - No matching column found"))})}redraw(e){this.initGuard(),this.columnManager.redraw(e),this.rowManager.redraw(e)}setHeight(e){this.options.height=isNaN(e)?e:e+"px",this.element.style.height=this.options.height,this.rowManager.initializeRenderer(),this.rowManager.redraw(!0)}on(e,r){this.externalEvents.subscribe(e,r)}off(e,r){this.externalEvents.unsubscribe(e,r)}dispatchEvent(){var e=Array.from(arguments);e.shift(),this.externalEvents.dispatch(...arguments)}alert(e,r){this.initGuard(),this.alertManager.alert(e,r)}clearAlert(){this.initGuard(),this.alertManager.clear()}modExists(e,r){return this.modules[e]?!0:(r&&console.error("Tabulator Module Not Installed: "+e),!1)}module(e){var r=this.modules[e];return r||console.error("Tabulator module not installed: "+e),r}}Yd.defaultOptions=DP;new t6(Yd);class n6 extends Yd{}new t6(n6,OP);const nO=ns({name:"TabulatorTable",props:{tableIndexField:{type:String,required:!1,default:()=>"id"},tableData:{type:Object,required:!0},columnDefinitions:{type:Object,required:!0},title:{type:String,required:!1},index:{type:Number,required:!0},selectedRowIndexFromListening:{type:Number,required:!1,default:()=>{}},tableLayoutParam:{type:String,required:!1,default:()=>"fitDataFill"},defaultRow:{type:Number,required:!1,default:()=>-1},initialSort:{type:Array,required:!1,default:()=>{}}},emits:["rowSelected"],setup(){return{streamlitDataStore:Ns()}},data(){return{tabulator:void 0,initialized:0,selectedColumns:[],filterValues:{},persistentFilterState:{},filterTypes:{},columnAnalysis:{},debouncedTimeout:void 0,teleportDialog:!1,teleportBackdrop:null,teleportContainer:null,parentDocument:null}},computed:{id(){return`table-${this.index}`},containerStyles(){return{display:"flex","flex-direction":"column","align-items":"center"}},tableClasses(){var n,e;return{"table-dark":((n=this.streamlitDataStore.theme)==null?void 0:n.base)==="dark","table-light":((e=this.streamlitDataStore.theme)==null?void 0:e.base)==="light","table-striped":!1,"table-bordered":!0,"table-sm":!0}},columnNames(){return this.columnDefinitions.map(n=>({field:n.field||"",title:n.title||n.field||""})).filter(n=>n.field!=="")},activeFilterCount(){let n=0;for(const e of this.selectedColumns){const r=this.filterValues[e];if(!r)continue;const S=this.filterTypes[e];let D=!1;switch(S){case"categorical":D=!!(r.categorical&&r.categorical.length>0);break;case"numeric":if(r.numeric){const T=this.getMinValue(e),p=this.getMaxValue(e);D=r.numeric.min!==T||r.numeric.max!==p}break;case"text":D=!!(r.text&&r.text.trim()!=="");break}D&&n++}return n},preparedTableData(){const n=[...this.columnDefinitions.map(e=>e.field),"id"];if(this.tableData!==void 0&&this.tableData.length>0){const e=[];return this.tableData.forEach((r,S)=>{const D={};n.forEach(T=>{T!==void 0&&(D[T]=r[T])}),this.tableData[0][this.tableIndexField]===void 0?e.push({...D,[this.tableIndexField]:S}):e.push({...D})}),e}return this.tableData}},watch:{tableData(){this.drawTable()},selectedRowIndexFromListening(n){n!==void 0&&this.onSelectedRowListener(n)},selectedColumns:{handler(n){n.forEach(e=>{this.initializeFilterValue(e)})},immediate:!0}},mounted(){this.drawTable(),this.initializeTeleport()},beforeUnmount(){this.cleanupTeleport()},methods:{drawTable(){this.tabulator=new n6(`#${this.id}`,{index:this.tableIndexField,data:this.preparedTableData,minHeight:50,maxHeight:this.title?320:310,responsiveLayout:"collapse",layout:this.tableLayoutParam,selectable:1,columnDefaults:{title:"",hozAlign:"right"},columns:this.columnDefinitions.map(n=>(n.headerTooltip===void 0&&(n.headerTooltip=!0),n)),initialSort:this.initialSort}),this.tabulator.on("tableBuilt",()=>{this.selectedRowIndexFromListening!==void 0?this.onSelectedRowListener(this.selectedRowIndexFromListening):this.selectDefaultRow()})},selectDefaultRow(){var n;if(this.defaultRow>=0){const e=(n=this.tabulator)==null?void 0:n.getRows("active");e&&e.length>0&&this.defaultRow>=0&&this.defaultRow-1?(this.selectedColumns.splice(e,1),this.cleanupFilterForColumn(n)):(this.selectedColumns.push(n),this.$nextTick(()=>{this.initializeFilterValue(n)}))},selectAllColumns(){this.selectedColumns=[...this.columnNames.map(n=>n.field)]},clearColumnSelection(){var n;this.selectedColumns.forEach(e=>{(this.filterValues[e]||this.filterTypes[e]||this.columnAnalysis[e])&&(this.persistentFilterState[e]={filterValue:this.filterValues[e]?{...this.filterValues[e]}:{categorical:void 0,numeric:void 0,text:void 0},filterType:this.filterTypes[e]||"text",columnAnalysis:this.columnAnalysis[e]?{...this.columnAnalysis[e]}:{uniqueValues:[],dataType:"text"}})}),this.selectedColumns=[],this.filterValues={},this.filterTypes={},this.columnAnalysis={},(n=this.tabulator)==null||n.clearFilter(!0)},analyzeColumn(n){if(this.columnAnalysis[n])return this.columnAnalysis[n];const e=this.columnDefinitions.find(g=>g.field===n),r=this.preparedTableData.map(g=>g[n]).filter(g=>g!=null&&g!==""),S=[...new Set(r)],D=e==null?void 0:e.sorter;let T,p,t;if(D==="number"){const g=r.filter(i=>typeof i=="number"||!isNaN(Number(i)));if(g.length>0){const i=g.map(M=>Number(M));p=Math.min(...i),t=Math.max(...i),T=S.length<=10?"categorical":"numeric"}else T="text"}else T=S.length<=50?"categorical":"text";const d={uniqueValues:S.slice(0,100).map(g=>typeof g=="string"||typeof g=="number"?g:String(g)),minValue:p,maxValue:t,dataType:T};return this.columnAnalysis[n]=d,this.filterTypes[n]=T,d},getFilterType(n){return this.filterTypes[n]||this.analyzeColumn(n),this.filterTypes[n]},getUniqueValues(n){return this.analyzeColumn(n).uniqueValues.map(r=>String(r)).sort()},getMinValue(n){return this.analyzeColumn(n).minValue??0},getMaxValue(n){return this.analyzeColumn(n).maxValue??100},getColumnTitle(n){const e=this.columnDefinitions.find(r=>r.field===n);return(e==null?void 0:e.title)||n},initializeFilterValue(n){if(!this.filterValues[n]){let e=!1;if(this.persistentFilterState[n]){const r=this.persistentFilterState[n];this.filterValues[n]={...r.filterValue},this.filterTypes[n]=r.filterType,this.columnAnalysis[n]={...r.columnAnalysis},e=!0}else{const r=this.getFilterType(n),S={};switch(r){case"categorical":S.categorical=[];break;case"numeric":S.numeric={min:this.getMinValue(n),max:this.getMaxValue(n)};break;case"text":S.text="";break}this.filterValues[n]=S}e&&this.$nextTick(()=>{const r=this.filterValues[n];(r.categorical&&r.categorical.length>0||r.numeric&&(r.numeric.min!==this.getMinValue(n)||r.numeric.max!==this.getMaxValue(n))||r.text&&r.text.trim()!=="")&&(this.applyFilters(),this.teleportDialog&&this.refreshTeleportDialog())})}},applyFilters(){this.tabulator&&(this.debouncedTimeout&&clearTimeout(this.debouncedTimeout),this.debouncedTimeout=setTimeout(()=>{this.tabulator&&(this.tabulator.clearFilter(!0),this.selectedColumns.forEach(n=>{var S,D,T,p,t;const e=this.filterValues[n],r=this.filterTypes[n];if(e)switch(r){case"categorical":if((S=e.categorical)!=null&&S.length){const d=this.columnDefinitions.find(M=>M.field===n),i=(d==null?void 0:d.sorter)==="number"?e.categorical.map(M=>{const v=Number(M);return isNaN(v)?M:v}):e.categorical;(D=this.tabulator)==null||D.addFilter(n,"in",i)}break;case"numeric":e.numeric&&((T=this.tabulator)==null||T.addFilter(n,">=",e.numeric.min),(p=this.tabulator)==null||p.addFilter(n,"<=",e.numeric.max));break;case"text":e.text&&((t=this.tabulator)==null||t.addFilter(n,"regex",e.text));break}}))},300))},updateNumericFilter(n,e){this.filterValues[n]||(this.filterValues[n]={}),this.filterValues[n].numeric={min:e[0],max:e[1]},this.applyFilters()},updateNumericFilterMin(n,e){var S;this.filterValues[n]||(this.filterValues[n]={}),this.filterValues[n].numeric||(this.filterValues[n].numeric={min:this.getMinValue(n),max:this.getMaxValue(n)});const r=e===""?this.getMinValue(n):Number(e);!isNaN(r)&&((S=this.filterValues[n])!=null&&S.numeric)&&(this.filterValues[n].numeric.min=r)},updateNumericFilterMax(n,e){var S;this.filterValues[n]||(this.filterValues[n]={}),this.filterValues[n].numeric||(this.filterValues[n].numeric={min:this.getMinValue(n),max:this.getMaxValue(n)});const r=e===""?this.getMaxValue(n):Number(e);!isNaN(r)&&((S=this.filterValues[n])!=null&&S.numeric)&&(this.filterValues[n].numeric.max=r)},validateAndApplyNumericFilter(n){var D;const e=(D=this.filterValues[n])==null?void 0:D.numeric;if(!e)return;const r=this.getMinValue(n),S=this.getMaxValue(n);if(e.min>e.max){const T=e.min;e.min=e.max,e.max=T}e.min=Math.max(e.min,r),e.max=Math.min(e.max,S),e.min>e.max&&(e.min=r,e.max=S),this.applyFilters()},cleanupFilterForColumn(n){(this.filterValues[n]||this.filterTypes[n]||this.columnAnalysis[n])&&(this.persistentFilterState[n]={filterValue:this.filterValues[n]?{...this.filterValues[n]}:{categorical:void 0,numeric:void 0,text:void 0},filterType:this.filterTypes[n]||"text",columnAnalysis:this.columnAnalysis[n]?{...this.columnAnalysis[n]}:{uniqueValues:[],dataType:"text"}}),this.filterValues[n]&&delete this.filterValues[n],this.filterTypes[n]&&delete this.filterTypes[n],this.columnAnalysis[n]&&delete this.columnAnalysis[n],this.applyFilters()},canUseTeleport(){try{return window.parent&&window.parent.document&&window.parent!==window}catch{return!1}},initializeTeleport(){this.canUseTeleport()&&(this.parentDocument=window.parent.document)},openTeleportDialog(){!this.parentDocument||this.teleportDialog||(this.teleportDialog=!0,this.createTeleportBackdrop(),this.createTeleportContainer(),this.renderFilterDialog())},createTeleportBackdrop(){this.parentDocument&&(this.teleportBackdrop=this.parentDocument.createElement("div"),this.teleportBackdrop.style.cssText=` - position: fixed; - top: 0; - left: 0; - width: 100vw; - height: 100vh; - background-color: rgba(0, 0, 0, 0.5); - z-index: 9999; - display: flex; - align-items: center; - justify-content: center; - `,this.teleportBackdrop.addEventListener("click",n=>{n.target===this.teleportBackdrop&&this.closeTeleportDialog()}),this.parentDocument.body.appendChild(this.teleportBackdrop))},createTeleportContainer(){!this.parentDocument||!this.teleportBackdrop||(this.teleportContainer=this.parentDocument.createElement("div"),this.teleportContainer.style.cssText=` - background: white; - border-radius: 8px; - max-width: 90vw; - max-height: 90vh; - width: 800px; - box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2); - display: flex; - flex-direction: column; - overflow: hidden; - `,this.teleportBackdrop.appendChild(this.teleportContainer))},renderFilterDialog(){if(!this.teleportContainer||!this.parentDocument)return;const n=this.parentDocument.createElement("div");n.style.cssText=` - display: flex; - justify-content: space-between; - align-items: center; - padding: 16px 24px; - border-bottom: 1px solid #e0e0e0; - background: white; - `;const e=this.parentDocument.createElement("span");e.textContent="Filter Options",e.style.cssText="font-size: 20px; font-weight: 500; color: #333;";const r=this.parentDocument.createElement("button");r.innerHTML="×",r.style.cssText=` - background: none; - border: none; - font-size: 24px; - cursor: pointer; - color: #666; - padding: 4px 8px; - border-radius: 4px; - `,r.addEventListener("click",()=>this.closeTeleportDialog()),r.addEventListener("mouseenter",()=>{r.style.backgroundColor="#f5f5f5"}),r.addEventListener("mouseleave",()=>{r.style.backgroundColor="transparent"}),n.appendChild(e),n.appendChild(r);const S=this.parentDocument.createElement("div");S.style.cssText=` - padding: 24px; - overflow-y: auto; - flex: 1; - min-height: 0; - `,this.renderColumnSelection(S),this.renderFilterControls(S);const D=this.parentDocument.createElement("div");D.style.cssText=` - padding: 16px 24px; - border-top: 1px solid #e0e0e0; - display: flex; - justify-content: flex-end; - background: white; - `;const T=this.parentDocument.createElement("button");T.textContent="Close",T.style.cssText=` - background: #1976d2; - color: white; - border: none; - padding: 8px 16px; - border-radius: 4px; - cursor: pointer; - font-size: 14px; - `,T.addEventListener("click",()=>this.closeTeleportDialog()),T.addEventListener("mouseenter",()=>{T.style.backgroundColor="#1565c0"}),T.addEventListener("mouseleave",()=>{T.style.backgroundColor="#1976d2"}),D.appendChild(T),this.teleportContainer.appendChild(n),this.teleportContainer.appendChild(S),this.teleportContainer.appendChild(D)},renderColumnSelection(n){if(!this.parentDocument)return;const e=this.parentDocument.createElement("div");e.style.cssText=` - background-color: white; - border-radius: 4px; - border: 1px solid #e0e0e0; - padding: 16px; - margin-bottom: 24px; - `;const r=this.parentDocument.createElement("h6");r.textContent="Select Columns:",r.style.cssText="color: #333; margin: 0 0 12px 0; font-size: 16px; font-weight: 500;";const S=this.parentDocument.createElement("div");S.style.cssText="display: flex; flex-wrap: wrap; gap: 8px;",this.columnNames.forEach(t=>{if(!this.parentDocument)return;const d=this.parentDocument.createElement("div"),g=this.selectedColumns.includes(t.field);d.textContent=t.title,d.style.cssText=` - padding: 6px 12px; - border-radius: 16px; - font-size: 14px; - cursor: pointer; - user-select: none; - transition: all 0.2s; - ${g?"background: #1976d2; color: white; border: 1px solid #1976d2;":"background: white; color: #333; border: 1px solid #e0e0e0;"} - `,d.addEventListener("click",()=>{this.toggleColumnSelection(t.field),this.refreshTeleportDialog()}),d.addEventListener("mouseenter",()=>{g||(d.style.backgroundColor="#f5f5f5")}),d.addEventListener("mouseleave",()=>{g||(d.style.backgroundColor="white")}),S.appendChild(d)});const D=this.parentDocument.createElement("div");D.style.cssText=` - margin-top: 16px; - padding-top: 16px; - border-top: 1px solid #e0e0e0; - display: flex; - justify-content: space-between; - align-items: center; - `;const T=this.parentDocument.createElement("span");T.textContent=`${this.selectedColumns.length} of ${this.columnNames.length} columns selected`,T.style.cssText="color: #666; font-size: 14px;";const p=this.parentDocument.createElement("div");try{const t=this.createActionButton("Select All",()=>{this.selectAllColumns(),this.refreshTeleportDialog()}),d=this.createActionButton("Clear All",()=>{this.clearColumnSelection(),this.refreshTeleportDialog()});p.appendChild(t),p.appendChild(d)}catch(t){console.error("Failed to create action buttons:",t)}D.appendChild(T),D.appendChild(p),e.appendChild(r),e.appendChild(S),e.appendChild(D),n.appendChild(e)},createActionButton(n,e){if(!this.parentDocument)throw new Error("Parent document not available");const r=this.parentDocument.createElement("button");return r.textContent=n,r.style.cssText=` - background: white; - color: #1976d2; - border: 1px solid #1976d2; - padding: 6px 12px; - border-radius: 4px; - cursor: pointer; - font-size: 14px; - margin-left: 8px; - `,r.addEventListener("click",e),r.addEventListener("mouseenter",()=>{r.style.backgroundColor="#f5f5f5"}),r.addEventListener("mouseleave",()=>{r.style.backgroundColor="white"}),r},renderFilterControls(n){if(this.selectedColumns.length===0||!this.parentDocument)return;const e=this.parentDocument.createElement("div"),r=this.parentDocument.createElement("h6");r.textContent="Filter Settings:",r.style.cssText="color: #333; margin: 0 0 16px 0; font-size: 16px; font-weight: 500;";const S=this.parentDocument.createElement("div");S.style.cssText=` - display: flex; - flex-direction: column; - gap: 16px; - background-color: #f9f9f9; - border-radius: 4px; - padding: 16px; - `,this.columnNames.forEach(D=>{if(this.selectedColumns.includes(D.field)){const T=this.createFilterItem(D.field);S.appendChild(T)}}),e.appendChild(r),e.appendChild(S),n.appendChild(e)},createFilterItem(n){if(!this.parentDocument)throw new Error("Parent document not available");const e=this.parentDocument.createElement("div");e.style.cssText="display: flex; flex-direction: column; gap: 8px; padding: 12px; background-color: white; border-radius: 4px; border: 1px solid #e0e0e0;";const r=this.parentDocument.createElement("label");r.style.cssText="font-weight: 500; font-size: 14px; color: #555;";const S=this.getColumnTitle(n),D=this.getFilterType(n);r.innerHTML=`${S} (${D})`,e.appendChild(r);const T=this.getFilterType(n);if(T==="categorical"){const p=this.createCategoricalFilter(n);e.appendChild(p)}else if(T==="numeric"){const p=this.createNumericFilter(n);e.appendChild(p)}else{const p=this.createTextFilter(n);e.appendChild(p)}return e},createCategoricalFilter(n){var T;if(!this.parentDocument)throw new Error("Parent document not available");const e=this.parentDocument.createElement("div"),r=this.parentDocument.createElement("select");r.multiple=!0,r.style.cssText=` - width: 100%; - padding: 8px; - border: 1px solid #ddd; - border-radius: 4px; - font-size: 14px; - min-height: 80px; - `;const S=this.getUniqueValues(n),D=((T=this.filterValues[n])==null?void 0:T.categorical)||[];return S.forEach(p=>{if(!this.parentDocument)return;const t=this.parentDocument.createElement("option");t.value=p,t.textContent=p,t.selected=D.includes(p),r.appendChild(t)}),r.addEventListener("change",()=>{const p=Array.from(r.selectedOptions).map(t=>t.value);this.filterValues[n]||(this.filterValues[n]={}),this.filterValues[n].categorical=p,this.applyFilters()}),e.appendChild(r),e},createNumericFilter(n){var h;if(!this.parentDocument)throw new Error("Parent document not available");const e=this.parentDocument.createElement("div");e.style.cssText="padding: 8px 0;";const r=Math.floor(this.getMinValue(n)),S=Math.ceil(this.getMaxValue(n)),D=(h=this.filterValues[n])==null?void 0:h.numeric,p=S-r>1?1:.01,t=this.parentDocument.createElement("div");t.style.cssText="display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 14px; color: #333;";const d=this.parentDocument.createElement("span");d.textContent=String((D==null?void 0:D.min)||r),d.style.cssText="font-weight: 500; padding: 4px 8px; background: #f0f0f0; border-radius: 4px;";const g=this.parentDocument.createElement("span");g.textContent=String((D==null?void 0:D.max)||S),g.style.cssText="font-weight: 500; padding: 4px 8px; background: #f0f0f0; border-radius: 4px;",t.appendChild(d),t.appendChild(g);const i=this.parentDocument.createElement("div");i.style.cssText="position: relative; margin: 16px 0;";const M=this.parentDocument.createElement("div");M.style.cssText=` - position: absolute; - width: 100%; - height: 6px; - background: #ddd; - border-radius: 3px; - top: 50%; - transform: translateY(-50%); - `;const v=this.parentDocument.createElement("div");v.style.cssText=` - position: absolute; - height: 6px; - background: #1976d2; - border-radius: 3px; - top: 50%; - transform: translateY(-50%); - `;const f=this.parentDocument.createElement("input");f.type="range",f.min=String(r),f.max=String(S),f.step=String(p),f.value=String((D==null?void 0:D.min)||r),f.style.cssText=` - position: absolute; - width: 100%; - height: 6px; - background: transparent; - outline: none; - -webkit-appearance: none; - pointer-events: none; - `;const l=this.parentDocument.createElement("input");l.type="range",l.min=String(r),l.max=String(S),l.step=String(p),l.value=String((D==null?void 0:D.max)||S),l.style.cssText=` - position: absolute; - width: 100%; - height: 6px; - background: transparent; - outline: none; - -webkit-appearance: none; - pointer-events: none; - `;const a=this.parentDocument.createElement("style");a.textContent=` - input[type="range"]::-webkit-slider-thumb { - -webkit-appearance: none; - appearance: none; - height: 18px; - width: 18px; - border-radius: 50%; - background: #1976d2; - cursor: pointer; - pointer-events: all; - box-shadow: 0 2px 4px rgba(0,0,0,0.2); - } - input[type="range"]::-moz-range-thumb { - height: 18px; - width: 18px; - border-radius: 50%; - background: #1976d2; - cursor: pointer; - pointer-events: all; - border: none; - box-shadow: 0 2px 4px rgba(0,0,0,0.2); - } - `,this.parentDocument.head.appendChild(a);const u=()=>{const c=parseFloat(f.value),m=parseFloat(l.value),w=S-r,y=(c-r)/w*100,C=(m-r)/w*100;v.style.left=y+"%",v.style.width=C-y+"%"},o=()=>{const c=parseFloat(f.value),m=parseFloat(l.value);c>m&&(f.value=String(m)),mData range: ${r} - ${S}Step: ${p}`,e.appendChild(t),e.appendChild(i),e.appendChild(s),e},createTextFilter(n){var r;if(!this.parentDocument)throw new Error("Parent document not available");const e=this.parentDocument.createElement("input");return e.type="text",e.placeholder="Search pattern (regex supported)",e.value=((r=this.filterValues[n])==null?void 0:r.text)||"",e.style.cssText=` - width: 100%; - padding: 8px; - border: 1px solid #ddd; - border-radius: 4px; - font-size: 14px; - `,e.addEventListener("input",()=>{this.filterValues[n]||(this.filterValues[n]={}),this.filterValues[n].text=e.value,this.applyFilters()}),e},refreshTeleportDialog(){!this.teleportDialog||!this.teleportContainer||(this.teleportContainer.innerHTML="",this.renderFilterDialog())},closeTeleportDialog(){this.teleportDialog=!1,this.cleanupTeleport()},cleanupTeleport(){this.teleportBackdrop&&this.parentDocument&&(this.parentDocument.body.removeChild(this.teleportBackdrop),this.teleportBackdrop=null),this.teleportContainer&&(this.teleportContainer=null)}}});const rO={style:{padding:"8px",width:"98%"}},iO={class:"d-flex"},aO={style:{width:"100%",display:"grid","grid-template-columns":"1fr 1fr 1fr"}},oO={class:"d-flex justify-start",style:{"grid-column":"1 / span 1"}},sO={style:{position:"relative",display:"inline-block"}},lO={key:0,class:"filter-badge"},uO={class:"d-flex justify-center",style:{"grid-column":"2 / span 1"}},cO={class:"d-flex justify-end",style:{"grid-column":"3 / span 1"}},hO=["id"];function fO(n,e,r,S,D,T){const p=Gr("v-btn");return Ir(),ei("div",rO,[ti("div",iO,[ti("div",aO,[ti("div",oO,[ti("div",sO,[gt(p,{variant:"text",size:"small",icon:"mdi-filter",onClick:n.openFilterDialog},null,8,["onClick"]),n.activeFilterCount>0?(Ir(),ei("div",lO,io(n.activeFilterCount),1)):Yi("",!0)]),gt(p,{variant:"text",size:"small",icon:"mdi-download",onClick:n.downloadTable},null,8,["onClick"]),nb(n.$slots,"start-title-row")]),ti("div",uO,[ti("h4",null,[nb(n.$slots,"default",{},()=>[ia(io(n.title??""),1)])])]),ti("div",cO,[nb(n.$slots,"end-title-row")])])]),ti("div",{id:n.id,class:Ju(n.tableClasses),onClick:e[0]||(e[0]=(...t)=>n.onTableClick&&n.onTableClick(...t))},null,10,hO)])}const y0=hs(nO,[["render",fO]]),Df=n=>e=>e.getValue().toString().length>4?e.getValue().toFixed(n??4):e.getValue(),dO=ns({name:"TabulatorScanTable",components:{TabulatorTable:y0},props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Ns(),e=rc();return{streamlitDataStore:n,selectionStore:e}},data(){return{columnDefinitions:[{title:"Index",field:"id",sorter:"number",headerTooltip:"The sequential index of the spectrum in the dataset."},{title:"Scan Number",field:"Scan",sorter:"number",headerTooltip:"The identifier of the mass spectrometry scan."},{title:"MS Level",field:"MSLevel",sorter:"number",headerTooltip:"The level of mass spectrometry analysis (e.g., MS1 or MS2)."},{title:"Retention time",field:"RT",formatter:Df(),sorter:"number",headerTooltip:"The time at which the spectrum was detected during the chromatographic separation in seconds."},{title:"Precursor Mass",field:"PrecursorMass",formatter:Df(),sorter:"number",headerTooltip:"The mass of the precursor ion selected for fragmentation in Daltons."},{title:"#Masses",field:"#Masses",sorter:"number",headerTooltip:"The number of detected masses in the spectrum."}]}},computed:{tableData(){const n=this.streamlitDataStore.allDataForDrawing.per_scan_data;return n.forEach(e=>e.id=e.index),n},selectedRow(){return this.selectionStore.selectedScanIndex}},methods:{updateSelectedScan(n){n!==void 0&&(n!==this.selectionStore.selectedScanIndex&&this.selectionStore.updateSelectedMass(0),this.selectionStore.updateSelectedScan(n))}}});function pO(n,e,r,S,D,T){const p=Gr("TabulatorTable");return Ir(),za(p,{"table-data":n.tableData,"column-definitions":n.columnDefinitions,title:"Scan Table",index:n.index,"table-layout-param":"fitColumns",onRowSelected:n.updateSelectedScan,"selected-row-index-from-listening":n.selectedRow,"default-row":0},null,8,["table-data","column-definitions","index","onRowSelected","selected-row-index-from-listening"])}const mO=hs(dO,[["render",pO]]),gO={xPosScalingFactor:27.5,xPosScalingThreshold:30,enableManualZoom:!0,showChargeLabels:!0,minAnnotationWidth:2},y5={highlightColor:"#E4572E",selectedColor:"#F3A712",unhighlightedColor:"lightblue",highlightHiddenColor:"1f77b4",annotationColors:{massButton:"#E4572E",selectedMassButton:"#F3A712",sequenceArrow:"#E4572E",selectedSequenceArrow:"#F3A712",background:"#f0f0f0",buttonHover:"#e0e0e0"}},vO=ns({name:"PlotlyLineplotUnified",props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Ns(),e=rc();return{streamlitDataStore:n,selectionStore:e}},data(){return{manual:!1,manual_xRange:void 0,isInitialized:!1,annotationsVisible:!0,deconvolvedPeaksHighlightMode:!1,localTitle:""}},computed:{id(){return`graph-${this.index}`},isDataReady(){var n;try{const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!e||!Array.isArray(e)||e.length===0)return!1;const r=this.selectedScan;if(r===void 0||r>=e.length)return!1;const S=e[r];if(!S||typeof S!="object")return!1;const D=this.xColumn,T=this.yColumn;if(!D||!T)return!1;const p=S[D],t=S[T];return!(!Array.isArray(p)||!Array.isArray(t)||p.length===0||t.length===0)}catch(e){return this.handleError(e,"isDataReady-computation"),!1}},theme(){return this.streamlitDataStore.theme},isTnTMode(){return this.selectionStore.selectedTag!==void 0},isAnnotatedSpectraMode(){return this.xAxisLabel==="m/z"},config(){return{...gO,...this.args.config}},styling(){var n;return{...y5,...this.args.styling,annotationColors:{...y5.annotationColors,...(n=this.args.styling)==null?void 0:n.annotationColors}}},selectedScan(){var n;try{const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;return!e||e.length===0?void 0:0}catch(e){this.handleError(e,"selectedScan-computation");return}},selectedTag(){return this.isTnTMode?this.selectionStore.selectedTagIndex:void 0},selectedAA(){var n;return this.isTnTMode?(n=this.selectionStore.selectedTag)==null?void 0:n.selectedAA:void 0},currentTitle(){return this.localTitle||this.args.title},xAxisLabel(){switch(this.currentTitle){case"Annotated Spectrum":case"Augmented Annotated Spectrum":return"m/z";case"Deconvolved Spectrum":case"Augmented Deconvolved Spectrum":return"Monoisotopic Mass";default:return""}},yAxisLabel(){return"Intensity"},xColumn(){switch(this.currentTitle){case"Annotated Spectrum":case"Augmented Annotated Spectrum":return"MonoMass_Anno";case"Deconvolved Spectrum":case"Augmented Deconvolved Spectrum":return"MonoMass";default:return""}},yColumn(){switch(this.currentTitle){case"Annotated Spectrum":case"Augmented Annotated Spectrum":return"SumIntensity_Anno";case"Deconvolved Spectrum":case"Augmented Deconvolved Spectrum":return"SumIntensity";default:return""}},xValues(){var n;try{const e=[],r=this.selectedScan;if(r===void 0)return e;const S=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!S||r>=S.length)return e;const D=S[r];if(!D)return e;const T=D[this.xColumn];return!T||!Array.isArray(T)||T.forEach(p=>{typeof p=="number"&&!isNaN(p)&&e.push(p,p,p)}),e}catch(e){return this.handleError(e,"xValues-computation"),[]}},yValues(){var n;try{const e=[],r=this.selectedScan;if(r===void 0)return e;const S=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!S||r>=S.length)return e;const D=S[r];if(!D)return e;const T=D[this.yColumn];return!T||!Array.isArray(T)||T.forEach(p=>{typeof p=="number"&&!isNaN(p)&&e.push(-1e7,p,-1e7)}),e}catch(e){return this.handleError(e,"yValues-computation"),[]}},MassValues(){var n;try{if(this.selectedScan===void 0)return[];const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!e||this.selectedScan>=e.length)return[];const r=e[this.selectedScan],S=r==null?void 0:r.MonoMass;return Array.isArray(S)?S:[]}catch(e){return this.handleError(e,"xMassValues-computation"),[]}},MZValues(){var n;try{if(this.selectedScan===void 0)return[];const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!e||this.selectedScan>=e.length)return[];const r=e[this.selectedScan],S=r==null?void 0:r.MonoMass_Anno;return Array.isArray(S)?S:[]}catch(e){return this.handleError(e,"xMassValues-computation"),[]}},mzSignals(){var n;try{if(this.selectedScan===void 0)return[];const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!e||this.selectedScan>=e.length)return[];const r=e[this.selectedScan],S=r==null?void 0:r.SignalPeaks;return Array.isArray(S)?S:[]}catch(e){return this.handleError(e,"mzSignals-computation"),[]}},minCharge(){var n;try{if(this.selectedScan===void 0)return-10;const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!e||this.selectedScan>=e.length)return-10;const r=e[this.selectedScan],S=r==null?void 0:r.MinCharges;return!Array.isArray(S)||S.length===0?-10:Math.min(...S)}catch(e){return this.handleError(e,"minCharge-computation"),-10}},maxCharge(){var n;try{if(this.selectedScan===void 0)return-10;const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!e||this.selectedScan>=e.length)return-10;const r=e[this.selectedScan],S=r==null?void 0:r.MinCharges;return!Array.isArray(S)||S.length===0?-10:Math.max(...S)}catch(e){return this.handleError(e,"maxCharge-computation"),-10}},showBackButton(){return this.isTnTMode&&this.currentTitle==="Augmented Annotated Spectrum"},shouldHighlightMassIndex(){return this.currentTitle==="Deconvolved Spectrum"&&this.selectionStore.selectedMassIndex!==void 0},highlightedValues(){var n,e;try{const r=this.MassValues,S=this.mzSignals;if(r.length===0)return[];let D=[];const T=new Set;let p=[];((n=this.selectionStore.selectedTag)==null?void 0:n.masses)!==void 0&&(p=(e=this.selectionStore.selectedTag)==null?void 0:e.masses);let t=[];p.forEach((d,g)=>{for(let i=0;i=0&&this.selectionStore.selectedMassIndex=r.length)continue;if(T.add(g),S.length===0){D.push({mass:this.MassValues[g],mzs:[],charges:[],intensity:[]});continue}const i=r[g];let M=[],v=[],f=[];const l=S[g];if(Array.isArray(l))for(let a=0;a=4&&(M.push(u[1]),f.push(u[2]),v.push(u[3]))}D.push({mass:i,mzs:M,charges:v,intensity:f})}if(this.deconvolvedPeaksHighlightMode)for(let d=0;d=4&&(i.push(a[1]),v.push(a[2]),M.push(a[3]))}D.push({mass:g,mzs:i,charges:M,intensity:v})}return D}catch(r){return this.handleError(r,"highlightedValues-computation"),[]}},highlightedMassPos(){var n,e;try{const r=this.highlightedValues;if(r.length===0||!Array.isArray(this.MassValues))return new Array(((n=this.MassValues)==null?void 0:n.length)||0).fill(!1);const S=new Set(r.map(D=>D.mass));return this.MassValues.map(D=>S.has(D))}catch(r){return this.handleError(r,"booleanMassHighlightMask-computation"),new Array(((e=this.MassValues)==null?void 0:e.length)||0).fill(!1)}},highlightedMzPos(){var n,e;try{const r=this.highlightedValues;if(r.length===0||!Array.isArray(this.MZValues))return new Array(((n=this.MZValues)==null?void 0:n.length)||0).fill(!1);const S=new Set(r.flatMap(D=>D.mzs));return this.MZValues.map(D=>S.has(D))}catch(r){return this.handleError(r,"booleanHighlightMask-computation"),new Array(((e=this.MZValues)==null?void 0:e.length)||0).fill(!1)}},plotData(){var p,t;let n=[],e=[],r=[],S=[],D=[],T=[];for(let d=0;dArray.isArray(g.mzs)?g.mzs:[]).filter(g=>Number.isFinite(g)):r=e.map(g=>g.mass).filter(g=>!isNaN(g)),r.length===0)return[0,1];let S=Math.min(...r)*.98,D=Math.max(...r)*1.02;if(this.xAxisLabel==="m/z")return[S,D];let T=r.reduce((g,i)=>g+i,0)/r.length,p=.5*.9*this.maxAnnotationRange,t=[T-p,T+p];return this.calculateOptimalXRange(t)}catch(n){return this.handleError(n,"xRange-computation"),[0,1]}},yRange(){try{return this.computeYRange(this.xRange)}catch(n){return this.handleError(n,"yRange-computation"),[0,1]}},annotationData(){var n,e,r,S;try{if(!this.annotationsVisible)return{shapes:[],annotations:[],traces:[]};let D=[],T=[];((n=this.selectionStore.selectedTag)==null?void 0:n.masses)!==void 0&&(T=(e=this.selectionStore.selectedTag)==null?void 0:e.masses);let p=[];T.forEach((k,E)=>{for(let x=0;x=0&&this.selectionStore.selectedMassIndex=t.length)continue;if(d.length===0){D.push({mass:this.MassValues[E],mzs:[],charges:[],intensity:[]});continue}const x=t[E];let A=[],L=[],b=[];const R=d[E];if(Array.isArray(R))for(let I=0;I=4&&(A.push(O[1]),b.push(O[2]),L.push(O[3]))}D.push({mass:x,mzs:A,charges:L,intensity:b})}const g=D;if(g.length===0)return{shapes:[],annotations:[],traces:[]};const i=this.getAnnotationPositioning;if(!i)return{shapes:[],annotations:[],traces:[]};const{ypos_low:M,ypos:v,ypos_high:f,xpos_scaling:l}=i;let a=[],u=[],o=[];if(this.xAxisLabel==="m/z"){if(this.selectionStore.selectedMassIndex===void 0)return{shapes:[],annotations:[],traces:[]};if(this.selectionStore.selectedMassIndex>=this.MassValues.length)return{shapes:[],annotations:[],traces:[]};let k=this.styling.annotationColors.massButton;const E=g[0],{mzs:x,charges:A,intensity:L}=E;if(!x||x.length===0)return{shapes:[],annotations:[],traces:[]};const b=new Map;for(let z=0;zz.type==="charge"&&z.visible);let O=0;return b.forEach((z,F)=>{const B=z.reduce(($,U)=>$+U.intensity,0),W=z.map($=>$.intensity/B*$.mz).reduce(($,U)=>$+U,0);I.some($=>$.index===O)&&(u.push({type:"rect",x0:W-.5*l,y0:M,x1:W+.5*l,y1:f,fillcolor:k,line:{width:0}}),o.push({x:W,y:v,xref:"x",yref:"y",text:"z="+F,showarrow:!1,font:{size:15}})),O++}),{shapes:u,annotations:o,traces:a}}let s=[];const h=(r=this.selectionStore.selectedTag)==null?void 0:r.selectedAA,m=this.annotationBoxData.filter(k=>k.type==="mass"&&k.visible),w=g.length===1?2:1;for(let k=0;kL.index===k)){let L=this.styling.annotationColors.massButton,b="sans-serif";(h===k||h===k-1)&&(L=this.styling.annotationColors.selectedMassButton,b="Arial Black, Arial Bold, Arial, sans-serif"),a.push({x:[x],y:[v],mode:"markers",marker:{size:20,opacity:0},hoverinfo:"text",hovertext:String(x.toFixed(2)),type:"scatter"}),u.push({type:"rect",x0:x-w*l,y0:M,x1:x+w*l,y1:f,fillcolor:L,line:{width:0}}),o.push({x,y:v,xref:"x",yref:"y",text:x.toFixed(2),showarrow:!1,font:{size:15,family:b}})}}const y=v*.5,C=v*.6,_=(S=this.selectionStore.selectedTag)==null?void 0:S.sequence;for(let k=0;kb.index===k),L=m.some(b=>b.index===k+1);if(A&&L){let b=this.styling.annotationColors.sequenceArrow,R="sans-serif";h===k&&(b=this.styling.annotationColors.selectedSequenceArrow,R="Arial Black, Arial Bold, Arial, sans-serif");let I=E.mass,O=x.mass;const z=(I+O)/2;let F=z,B=z;const N=Math.abs(I-O)*.9;let W="",j=0;if(_!==void 0&&_.length>0){const $=_.length-1-k;$>=0&&$<_.length&&(W=_[$])}I>O?(j=I-O,I-=N,F+=N*.1,O+=N,B-=N*.1):(j=O-I,I+=N,F-=N*.1,O-=N,B+=N*.1),s.push({ax:F,ay:y,xref:"x",yref:"y",x:I,y,axref:"x",ayref:"y",showarrow:!0,arrowhead:0,arrowsize:1,arrowwidth:2,arrowcolor:b}),s.push({ax:B,ay:y,xref:"x",yref:"y",x:O,y,axref:"x",ayref:"y",showarrow:!0,arrowhead:2,arrowsize:1,arrowwidth:2,arrowcolor:b}),s.push({x:z,y:C,xref:"x",yref:"y",text:W,hovertext:"Δ="+j.toFixed(2)+" Da",showarrow:!1,font:{size:15,color:b,family:R}})}}return{shapes:u,annotations:[...o,...s],traces:a}}catch(D){return this.handleError(D,"annotationData-computation"),{shapes:[],annotations:[],traces:[]}}},data(){let n=[];if(!this.annotationsVisible&&!this.deconvolvedPeaksHighlightMode)return n.push({x:this.xValues,y:this.yValues,mode:"lines",type:"scatter",connectgaps:!1,marker:{color:this.styling.highlightHiddenColor}}),n;if(n.push({x:this.plotData.unhighlighted_x,y:this.plotData.unhighlighted_y,mode:"lines",type:"scatter",marker:{color:this.styling.unhighlightedColor}}),n.push({x:this.plotData.highlighted_x,y:this.plotData.highlighted_y,mode:"lines",type:"scatter",marker:{color:this.styling.highlightColor}}),n.push({x:this.plotData.selected_x,y:this.plotData.selected_y,mode:"lines",type:"scatter",marker:{color:this.styling.selectedColor}}),this.annotationsVisible){const e=this.annotationData.traces;n.push(...e)}return n},layout(){var e,r,S,D,T;const n={title:`${this.currentTitle}`,showlegend:!1,height:400,xaxis:{title:this.xAxisLabel,showgrid:!1,showline:!0,linecolor:"grey",linewidth:1},yaxis:{title:this.yAxisLabel,showgrid:!0,gridcolor:(e=this.theme)==null?void 0:e.secondaryBackgroundColor,rangemode:"nonnegative",fixedrange:!1,showline:!0,linecolor:"grey",linewidth:1},paper_bgcolor:(r=this.theme)==null?void 0:r.backgroundColor,plot_bgcolor:(S=this.theme)==null?void 0:S.backgroundColor,font:{color:(D=this.theme)==null?void 0:D.textColor,family:(T=this.theme)==null?void 0:T.font}};return n.xaxis.range=this.xRange,n.yaxis.range=this.yRange,n.shapes=this.annotationData.shapes,n.annotations=this.annotationData.annotations,n},cssCustomProperties(){return{"--highlight-color":this.styling.highlightColor,"--selected-color":this.styling.selectedColor,"--unhighlighted-color":this.styling.unhighlightedColor,"--annotation-background":this.styling.annotationColors.background,"--button-hover-color":this.styling.annotationColors.buttonHover}}},watch:{isDataReady:{handler(n){n&&this.safeGraph()},immediate:!0},"streamlitDataStore.allDataForDrawing.per_scan_data":{handler(){this.safeGraph()},deep:!0},selectedScan(){this.resetManualState(),this.safeGraph()},xValues(){this.safeGraph()},selectedTag(){this.resetManualState(),this.safeGraph()},annotationsVisible(){this.safeGraph()},deconvolvedPeaksHighlightMode(){this.safeGraph()},"selectionStore.selectedMassIndex"(){this.manual=!1,this.safeGraph()}},mounted(){this.initializeComponent()},methods:{computeAnnotationBoxes(n,e){try{const r=this.highlightedValues;if(r.length===0)return[];if(e.length<2||e[1]<=0||n.length<2)return[];const S=e[1]/1.8,D=S*1.18,T=S*1.32,p=(n[1]-n[0])/this.xPosScalingFactor,t=Math.max(p,this.minAnnotationWidth),d=[];if(this.xAxisLabel==="m/z"){if(this.selectionStore.selectedMassIndex===void 0||this.selectionStore.selectedMassIndex>=this.MassValues.length)return d;const g=r[0],{mzs:i,charges:M,intensity:v}=g;if(!i||i.length===0)return d;const f=new Map;for(let a=0;a{const o=a.reduce((c,m)=>c+m.intensity,0),h=a.map(c=>c.intensity/o*c.mz).reduce((c,m)=>c+m,0);d.push({x:h,y:(D+T)/2,width:t,height:T-D,type:"charge",index:l++,visible:!0})})}else{const g=r.length===1?2:1;for(let i=0;i1){let g=!1;for(let i=0;i{i.visible=!1})}return d}catch(r){return this.handleError(r,"computeAnnotationBoxes"),[]}},wouldAnnotationsBeVisible(n){try{const e=this.computeYRange(n);return this.computeAnnotationBoxes(n,e).some(S=>S.visible)}catch(e){return this.handleError(e,"wouldAnnotationsBeVisible"),!0}},calculateOptimalXRange(n){try{let S=[...n];for(let D=0;D<10;D++){if(this.wouldAnnotationsBeVisible(S))return S;const T=(S[0]+S[1])/2,t=(S[1]-S[0])/2*.8;if(S=[T-t,T+t],S[1]-S[0]<.1)break}return S}catch(e){return this.handleError(e,"calculateOptimalXRange"),n}},dataToScreenX(n){try{const e=this.xRange;if(e.length!==2||e[1]<=e[0])return 0;const r=800;return 80+(n-e[0])/(e[1]-e[0])*r}catch(e){return this.handleError(e,"dataToScreenX"),0}},dataToScreenY(n){try{const e=this.yRange;if(e.length!==2||e[1]<=e[0])return 0;const r=300;return 50+r-(n-e[0])/(e[1]-e[0])*r}catch(e){return this.handleError(e,"dataToScreenY"),0}},dataToScreenWidth(n){try{const e=this.xRange;if(e.length!==2||e[1]<=e[0])return 0;const r=800;return n/(e[1]-e[0])*r}catch(e){return this.handleError(e,"dataToScreenWidth"),0}},dataToScreenHeight(n){try{const e=this.yRange;if(e.length!==2||e[1]<=e[0])return 0;const r=300;return n/(e[1]-e[0])*r}catch(e){return this.handleError(e,"dataToScreenHeight"),0}},testBoxesOverlapForRange(n,e,r){try{if(r.length!==2||r[1]<=r[0])return!1;const S=(r[1]-r[0])*.01,D=n.height*.1,T=n.x-n.width/2-S,p=n.x+n.width/2+S,t=n.y-n.height/2-D,d=n.y+n.height/2+D,g=e.x-e.width/2-S,i=e.x+e.width/2+S,M=e.y-e.height/2-D,v=e.y+e.height/2+D;return!(p{this.toggleAnnotations()}}];this.isAnnotatedSpectraMode&&e.push({title:this.deconvolvedPeaksHighlightMode?"Hide Deconvolved Peaks":"Show Deconvolved Peaks",name:"toggleDeconvolvedPeaks",icon:{width:1792,height:1792,path:"M448 1024h896v128h-896v-128zm0-256h896v128h-896v-128zm0-256h896v128h-896v-128zm0-256h896v128h-896v-128zm-448 768h384v128h-384v-128zm0-256h384v128h-384v-128zm0-256h384v128h-384v-128zm0-256h384v128h-384v-128z"},click:()=>{this.toggleDeconvolvedPeaksHighlight()}}),e.push({title:"Download as SVG",name:"toImageSvg",icon:{width:1792,height:1792,path:"M1152 1376v-160q0-14-9-23t-23-9h-96v-512q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v160q0 14 9 23t23 9h96v320h-96q-14 0-23 9t-9 23v160q0 14 9 23t23 9h320q14 0 23-9t9-23zm-128-896v-160q0-14-9-23t-23-9h-192q-14 0-23 9t-9 23v160q0 14 9 23t23 9h192q14 0 23-9t9-23zm640 416q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z"},click:()=>{const S=document.getElementById(this.id);S&&_l.downloadImage(S,{filename:"FLASHViewer-lineplot",height:400,width:1200,format:"svg"})}});const r=await _l.newPlot(this.id,this.data,this.layout,{modeBarButtonsToRemove:["toImage","sendDataToCloud"],modeBarButtonsToAdd:e,scrollZoom:!0});r.on("plotly_relayout",S=>{this.onRelayout(S)}),r.on("plotly_click",S=>{this.onPlotClick(S)})}catch(n){this.handleError(n,"graph-rendering")}},initializeComponent(){try{this.isInitialized=!0,this.localTitle=this.args.title,this.safeGraph()}catch(n){this.handleError(n,"initializeComponent"),this.renderFallback()}},resetManualState(){try{this.manual=!1,this.manual_xRange=void 0,this.localTitle==="Augmented Annotated Spectrum"&&(this.localTitle="Augmented Deconvolved Spectrum"),this.selectionStore.updateSelectedMass(void 0)}catch(n){this.handleError(n,"resetManualState")}},backButton(){this.resetManualState(),this.safeGraph()},toggleAnnotations(){this.annotationsVisible=!this.annotationsVisible,this.safeGraph()},toggleDeconvolvedPeaksHighlight(){this.deconvolvedPeaksHighlightMode=!this.deconvolvedPeaksHighlightMode,this.safeGraph()},onPlotClick(n){if(n.points&&n.points.length>0){const e=n.points[0].x;for(let r=0;r=n[1])return[0,1];let S=0;for(let D=0;D=n[1]||p>S&&(S=p)}return S===0?[0,1]:[0,S*1.8]}catch(e){return this.handleError(e,"computeYRange"),[0,1]}},getFallbackData(){return[{x:[0,1],y:[0,0],mode:"lines",type:"scatter",marker:{color:this.styling.unhighlightedColor},name:"No Data"}]},getFallbackLayout(){var n,e,r,S;return{title:"No Data Available",showlegend:!1,height:400,xaxis:{title:"X-axis",showgrid:!1},yaxis:{title:"Y-axis",showgrid:!0,rangemode:"nonnegative"},paper_bgcolor:((n=this.theme)==null?void 0:n.backgroundColor)||"white",plot_bgcolor:((e=this.theme)==null?void 0:e.backgroundColor)||"white",font:{color:((r=this.theme)==null?void 0:r.textColor)||"black",family:((S=this.theme)==null?void 0:S.font)||"Arial"}}},validateComponentState(){var n;try{if(!this.streamlitDataStore||!this.selectionStore)return console.warn("PlotlyLineplotUnified: Required stores not available"),!1;const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!Array.isArray(e))return console.warn("PlotlyLineplotUnified: Invalid scan data structure"),!1;const r=this.selectedScan;if(r!==void 0&&r0}};console.error(`PlotlyLineplotUnified error in ${e}:`,n,r)}}});const yO=["id"];function bO(n,e,r,S,D,T){return Ir(),ei("div",{id:n.id,class:"plot-container",style:zs(n.cssCustomProperties)},[n.showBackButton?(Ir(),ei("button",{key:0,class:"simple-button",onClick:e[0]||(e[0]=(...p)=>n.backButton&&n.backButton(...p))}," ↩ ")):Yi("",!0)],12,yO)}const xO=hs(vO,[["render",bO],["__scopeId","data-v-08e314b5"]]),_O=ns({name:"Plotly3Dplot",props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Ns(),e=rc();return{streamlitDataStore:n,selectionStore:e}},data(){return{maximumIntensity:0}},computed:{id(){return`graph-${this.index}`},title(){return this.selectedScanRow===void 0?"":this.selectedMassRow===void 0?"Precursor signals":"Mass signals"},theme(){return this.streamlitDataStore.theme},selectedScanRow(){if(this.selectionStore.selectedScanIndex!==void 0)return this.streamlitDataStore.allDataForDrawing.per_scan_data.length===1?0:this.selectionStore.selectedScanIndex},selectedMassRow(){return this.selectionStore.selectedMassIndex},dataForDrawing(){var T,p;const n=this.selectedScanRow,e=this.streamlitDataStore.allDataForDrawing.per_scan_data,r=this.selectedMassRow;if(n===void 0)return[];const S=e[n]??{};let D={};return r===void 0?D=this.getPrecursorSignal(S):this.streamlitDataStore.allDataForDrawing.per_scan_data.length===1?D=this.getSignalNoiseObject(S.SignalPeaks,S.NoisyPeaks):D=this.getSignalNoiseObject(((T=S.SignalPeaks)==null?void 0:T[r])??[[]],((p=S.NoisyPeaks)==null?void 0:p[r])??[[]]),Object.keys(D).length===0?[]:(this.updateMaximumIntensity(D),[{name:"Signal",type:"scatter3d",mode:"lines",x:D.signal_x,y:D.signal_y,z:D.signal_z,line:{color:"#3366CC"}},{name:"Noise",type:"scatter3d",mode:"lines",x:D.noise_x,y:D.noise_y,z:D.noise_z,line:{color:"#DC3912"}}])},layout(){var n,e,r,S;return{title:`${this.title}`,paper_bgcolor:(n=this.theme)==null?void 0:n.backgroundColor,plot_bgcolor:(e=this.theme)==null?void 0:e.secondaryBackgroundColor,height:800,font:{color:(r=this.theme)==null?void 0:r.textColor,family:(S=this.theme)==null?void 0:S.font},scene:{xaxis:{title:"Mass"},yaxis:{title:"Charge",dtick:1,tick0:0},zaxis:{title:"Intensity",range:[0,this.maximumIntensity]},camera:{eye:{x:2.5,y:0,z:.2}}},showlegend:!0}}},watch:{selectedScanRow(){this.graph()},selectedMassRow(){this.graph()}},mounted(){this.graph()},methods:{updateMaximumIntensity(n){this.maximumIntensity=n.signal_z.concat(n.noise_z).reduce((e,r)=>Math.max(e,r),-1/0)},async graph(){await _l.newPlot(this.id,this.dataForDrawing,this.layout,{modeBarButtonsToRemove:["toImage","sendDataToCloud"],modeBarButtonsToAdd:[{title:"Download as SVG",name:"toImageSvg",icon:_l.Icons.camera,click:function(n){_l.downloadImage(n,{filename:"FLASHViewer-3d-plot",height:800,width:800,format:"svg"})}}]})},getPrecursorSignal(n){if(n.PrecursorScan==0)return{};const e=this.streamlitDataStore.allDataForDrawing.per_scan_data.find(D=>D.Scan===n.PrecursorScan);if(!e)return{};const r=e.MonoMass,S=n.PrecursorMass;for(let D=0,T=r.length;DS.field),r=[];return Object.entries(n).forEach(S=>{const D=S[0];if(!e.includes(D)||D==="id")return;S[1].forEach((p,t)=>{r[t]={...r[t],[D]:p}})}),r.map((S,D)=>S.id=D),r},selectedMassFromFragmentTable(){return this.selectionStore.selectedObservedMassFromFragmentTable}},watch:{selectedMassFromFragmentTable(n){const e=this.tableData.findIndex(r=>r.MonoMass===n);e!==-1&&(this.selectedMassIndex=e)}},methods:{updateSelectedMass(n){n!==void 0&&this.selectionStore.updateSelectedMass(n)}}});function AO(n,e,r,S,D,T){const p=Gr("TabulatorTable");return Ir(),za(p,{"table-data":n.tableData,"column-definitions":n.columnDefinitions,title:"Mass Table",index:n.index,onRowSelected:n.updateSelectedMass,"selected-row-index-from-listening":n.selectedMassTableRow,"default-row":0},null,8,["table-data","column-definitions","index","onRowSelected","selected-row-index-from-listening"])}const SO=hs(MO,[["render",AO]]),CO=ns({name:"TabulatorProteinTable",components:{TabulatorTable:y0},props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Ns(),e=rc();return{streamlitDataStore:n,selectionStore:e}},data(){return{columnDefinitions:[{title:"Scan No.",field:"Scan",sorter:"number",headerTooltip:"The identifier of the mass spectrometry scan associated with the identified proteoform."},{title:"Accession",field:"accession",headerTooltip:"The unique identifier for the protein in the reference database."},{title:"Description",field:"description",responsive:10},{title:"Length",field:"length",responsive:6,sorter:"number",headerTooltip:"The total number of amino acids in the matched protein."},{title:"Mass",field:"ProteoformMass",responsive:8,sorter:"number",headerTooltip:"The calculated mass of the proteoform in Daltons.",formatter:function(n){const e=n.getValue();return e==-1?"-":e}},{title:"No. of Matched Fragments",field:"MatchingFragments",sorter:"number",headerTooltip:"The number of fragment ions that match the protein sequence."},{title:"No. of Modifications",field:"ModCount",sorter:"number",headerTooltip:"The number of modifications identified in the protein."},{title:"No. of Tags",field:"TagCount",sorter:"number",headerTooltip:"The number of sequence tags associated with the proteoform match."},{title:"Score",field:"Score",sorter:"number",headerTooltip:"A score indicating the confidence of the protein match (higher is better)."},{title:"Q-Value (Proteoform Level)",field:"ProteoformLevelQvalue",sorter:"number",headerTooltip:"The confidence value of the protein match at the proteoform level.",formatter:function(n){const e=n.getValue();return e==-1?"-":e}}],initialSort:[{column:"Score",dir:"desc"}]}},computed:{selectedRow(){return this.selectionStore.selectedProteinIndex},tableData(){const n=this.streamlitDataStore.dataForDrawing.protein_table;return n.forEach(e=>e.id=e.index),n}},methods:{updateSelectedProtein(n){if(n!==void 0){this.selectionStore.updateSelectedProtein(n);const e=this.streamlitDataStore.dataForDrawing.protein_table[n].Scan;if(e!==void 0&&typeof e=="number"){const r=this.streamlitDataStore.allDataForDrawing.per_scan_data.findIndex(S=>S.Scan===e);this.selectionStore.updateSelectedScan(r)}this.selectionStore.updateSelectedTag(void 0),this.selectionStore.updateTagData(void 0)}}}});function EO(n,e,r,S,D,T){const p=Gr("TabulatorTable");return Ir(),za(p,{"table-data":n.tableData,"column-definitions":n.columnDefinitions,title:"Protein Table",index:n.index,"selected-row-index-from-listening":n.selectedRow,"default-row":0,"initial-sort":n.initialSort,onRowSelected:n.updateSelectedProtein},null,8,["table-data","column-definitions","index","selected-row-index-from-listening","initial-sort","onRowSelected"])}const LO=hs(CO,[["render",EO]]),IO=ns({name:"TabulatorTagTable",components:{TabulatorTable:y0},props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Ns(),e=rc();return{streamlitDataStore:n,selectionStore:e}},data(){return{columnDefinitions:[{title:"Scan Number",field:"Scan",sorter:"number",headerTooltip:"The identifier of the mass spectrometry scan containing the sequence tag."},{title:"Start Position",field:"StartPos",sorter:"number",headerTooltip:"The position in the protein sequence where the sequence tag begins."},{title:"End Position",field:"EndPos",sorter:"number",headerTooltip:"The position in the protein sequence where the sequence tag ends."},{title:"Sequence",field:"TagSequence",sorter:"number",headerTooltip:"The amino acid sequence of the identified tag."},{title:"Length",field:"Length",sorter:"number",headerTooltip:"The number of amino acids in the sequence tag."},{title:"Tag Score",field:"Score",sorter:"number",headerTooltip:"A score indicating the confidence of the sequence tag identification (higher is better)."},{title:"N mass",field:"Nmass",sorter:"number",headerTooltip:"The N-terminal mass offset from the start of the sequence tag in Daltons.",formatter:function(n){const e=n.getValue();return e==-1?"-":e}},{title:"C mass",field:"Cmass",sorter:"number",headerTooltip:"The C-terminal mass offset from the end of the sequence tag in Daltons.",formatter:function(n){const e=n.getValue();return e==-1?"-":e}},{title:"Δ mass",field:"DeltaMass",sorter:"number",headerTooltip:"Delta mass is the difference between the tag flanking mass and the (partial) proteoform mass, from its terminal to the tag boundary."}],initialSort:[{column:"Score",dir:"desc"}],selectedTagIndex:void 0}},computed:{selectedRow(){return this.selectionStore.selectedTagIndex},tableData(){let e=this.streamlitDataStore.dataForDrawing.tag_table.filter(S=>S.ProteinIndex===this.selectionStore.selectedProteinIndex);const r=this.selectionStore.selectedAApos;return r!==void 0&&(e=e.filter(S=>{const D=S.StartPos,T=S.EndPos;return typeof D=="number"&&typeof T=="number"&&D<=r&&T>=r})),e.forEach(S=>S.id=S.TagIndex),e}},watch:{},methods:{getRowByTagIndex(n){return this.tableData.find(S=>S.id===n)},updateSelectedTag(n){if(n===void 0)return;this.selectionStore.updateSelectedTag(n);const e=this.getRowByTagIndex(n);if(e===void 0)return;const r=e.mzs;let S=[];typeof r=="string"&&(S=r.split(",").map(Number).filter(i=>i!==0));const D=typeof e.StartPos=="number"?e.StartPos:0,T=typeof e.EndPos=="number"?e.EndPos:0;let p=-1e3;D!==void 0&&this.selectionStore.selectedAApos!==void 0&&typeof D=="number"&&(p=this.selectionStore.selectedAApos-D);const t=e.TagSequence;let d="";typeof t=="string"&&(d=t);let g=!1;e["N mass"]===-1&&(g=!0),this.selectionStore.updateTagData({sequence:d,nTerminal:g,masses:S,selectedAA:p,startPos:D,endPos:T})}}});function RO(n,e,r,S,D,T){const p=Gr("TabulatorTable");return Ir(),za(p,{"table-data":n.tableData,"column-definitions":n.columnDefinitions,title:"Tag Table",index:n.index,onRowSelected:n.updateSelectedTag,"default-row":0,"initial-sort":n.initialSort},null,8,["table-data","column-definitions","index","onRowSelected","initial-sort"])}const PO=hs(IO,[["render",RO]]),W2=i2("variable-mod",{state:()=>({variableMod:{}}),getters:{variableModifications:n=>n.variableMod,isEmpty:n=>Object.values(n.variableMod).filter(e=>e!==void 0&&e!==0).length===0},actions:{updateVariableModifications(n,e){this.variableMod={...this.variableMod,[n]:e}}}}),wv={Acetyl:42.010565,Methyl:14.01565,Phospho:79.966331,Oxidation:15.994915,Deamidated:.984016,Amidated:-.984016},r6={"N-term":["Acetyl","Methyl","Phospho"],"C-term":["Amidated"],C:["Acetyl","Methyl","Phospho"],E:["Methyl","Phospho"],D:["Methyl","Phospho"],H:["Methyl","Phospho"],I:["Methyl"],K:["Methyl","Phospho"],L:["Methyl"],M:["Oxidation"],N:["Methyl"],Q:["Deamidated","Methyl"],R:["Methyl","Phospho"],S:["Acetyl","Methyl","Phospho"],T:["Acetyl","Methyl","Phospho"],Y:["Phospho"]},OO={default:[{typeName:"",typeMass:0}],"water loss":[{typeName:"-H2O",typeMass:-18.0105646863}],"ammonium loss":[{typeName:"-NH3",typeMass:-17.0265491015}],"proton loss/addition":[{typeName:"-H",typeMass:-1.0078250319},{typeName:"+H",typeMass:1.0078250319}]},DO=ns({name:"AminoAcidCell",props:{sequenceObject:{type:Object,required:!0},index:{type:Number,required:!0},fixedModification:{type:Boolean,default:!1},disableVariableModificationSelection:{type:Boolean,default:!1},showTags:{type:Boolean,default:!1},showModifications:{type:Boolean,default:!0},showFragments:{type:Boolean,default:!0}},emits:["selected"],setup(){const n=Ns(),e=W2(),r=rc();return{streamlitData:n,variableModData:e,selectionStore:r}},data(){return{menuOpen:!1,selectedModification:void 0,customSelected:!1,customModMass:"0"}},computed:{id(){return`${this.aminoAcid}${this.index}`},theme(){return this.streamlitData.theme},aminoAcid(){return this.sequenceObject.aminoAcid},start(){var e;const n=(e=this.streamlitData.sequenceData)==null?void 0:e[this.selectedSequence].proteoform_start;return n===void 0?n:n<0?0:n},end(){var e;const n=(e=this.streamlitData.sequenceData)==null?void 0:e[this.selectedSequence].proteoform_end;return n===void 0?n:n<0&&this.length!==void 0?this.length-1:n},length(){var n;return(n=this.streamlitData.sequenceData)==null?void 0:n[this.selectedSequence].sequence.length},prefix(){if(this.start===void 0&&this.end===void 0)return this.index+1;if(this.end!==void 0&&this.index>this.end)return;if(this.start!==void 0&&this.index>=this.start)return this.index+1-this.start},protein_position(){return this.index+1},truncated_prefix(){if(!(this.start===void 0||this.index>=this.start))return this.index+1},suffix(){if(this.start===void 0&&this.end===void 0)return(length??0)-this.index;if(this.start!==void 0&&this.index0},selectedSequence(){return this.selectionStore.selectedProteinIndex!==void 0?this.selectionStore.selectedProteinIndex:0},coverage(){return this.sequenceObject.coverage!==void 0?this.sequenceObject.coverage:-1},isHighlighted(){return this.index===this.selectionStore.selectedAApos},isTruncated(){return this.sequenceObject.truncated},DoesThisAAHaveSequenceTags(){return this.coverage>0},modMass(){return this.customModMass!=="0"?parseFloat(this.customModMass).toLocaleString("en-US",{signDisplay:"always"}):this.sequenceObject.modMass}},methods:{toggleMenuOpen(){this.disableVariableModificationSelection||(this.menuOpen=!this.menuOpen)},selectCell(){this.DoesThisAAHaveSequenceTags&&this.showTags&&(this.selectionStore.selectedAApos===this.index?this.selectionStore.updateSelectedAA(void 0):this.selectionStore.updateSelectedAA(this.index)),this.DoesThisAAHaveMatchingFragments&&this.$emit("selected",this.index)},updateSelectedModification(n){if(n==="None")this.selectedModification=void 0;else if(n==="Custom"){this.customSelected=!0;return}else this.selectedModification=n;this.toggleMenuOpen(),this.customSelected=!1,this.variableModData.updateVariableModifications(this.index,this.selectedModification?wv[this.selectedModification]:0)},updateCustomModification(){this.variableModData.updateVariableModifications(this.index,parseFloat(this.customModMass)),this.toggleMenuOpen()}},watch:{selectedModification(){this.selectedModification!==void 0&&wv[this.selectedModification]!==void 0&&(this.sequenceObject.modMass=parseFloat(wv[this.selectedModification].toFixed(2)).toLocaleString("en-US",{signDisplay:"always"}))},showTags(){this.showTags||this.selectionStore.updateSelectedAA(void 0)}}});const Mu=n=>(Ty("data-v-fb6c82e8"),n=n(),ky(),n),zO=["id"],FO={key:0,class:"frag-marker-container-a"},BO=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"green",d:"M7, 1 L9, 3 L9, 7 L9, 3 L7, 1 z","stroke-width":"1.5"})],-1)),NO=[BO],VO={key:1,class:"frag-marker-container-b"},jO=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"blue",d:"M10, 0 V5 M10, 0 H5 z","stroke-width":"3"})],-1)),UO=[jO],HO={key:2,class:"frag-marker-container-c"},GO=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"red",d:"M4, 1 L9, 3 L9, 7 L9, 3 L4, 1 z","stroke-width":"1.5"})],-1)),qO=[GO],WO={key:3,class:"frag-marker-container-x"},YO=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"green",d:"M1, 3 L1, 7 L3, 9 L1, 7 L1, 3 z","stroke-width":"1.5"})],-1)),$O=[YO],ZO={key:4,class:"frag-marker-container-y"},XO=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"blue",d:"M0, 10 V5 M0, 10 H5 z","stroke-width":"3"})],-1)),KO=[XO],JO={key:5,class:"frag-marker-container-z"},QO=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"red",d:"M1, 3 L1, 7 L6, 9 L1, 7 L1, 3 z","stroke-width":"1.5"})],-1)),eD=[QO],tD={key:6,class:"rounded-lg tag-marker tag-start"},nD={key:7,class:"rounded-lg tag-marker tag-end"},rD={key:8,class:"rounded-lg mod-marker mod-start"},iD={key:9,class:"rounded-lg mod-marker mod-end"},aD={key:10,class:"mod-marker mod-start-cont"},oD={key:11,class:"mod-marker mod-end-cont"},sD={key:12,class:"mod-marker mod-center-cont"},lD={key:13,class:"rounded-lg mod-mass"},uD=Mu(()=>ti("br",null,null,-1)),cD=Mu(()=>ti("br",null,null,-1)),hD={key:14,class:"rounded-lg mod-mass-a"},fD={key:15,class:"rounded-lg mod-mass-b"},dD={key:16,class:"rounded-lg mod-mass-c"},pD={key:17,class:"frag-marker-extra-type"},mD=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("circle",{cx:"5",cy:"5",r:"0.5",stroke:"black","stroke-width":"0.3",fill:"gold"})],-1)),gD=[mD],vD={class:"aa-text"},yD=Mu(()=>ti("br",null,null,-1)),bD=Mu(()=>ti("br",null,null,-1)),xD=Mu(()=>ti("br",null,null,-1)),_D=Mu(()=>ti("br",null,null,-1)),wD={key:4};function TD(n,e,r,S,D,T){const p=Gr("v-tooltip"),t=Gr("v-select"),d=Gr("v-list-item"),g=Gr("v-text-field"),i=Gr("v-btn"),M=Gr("v-form"),v=Gr("v-list"),f=Gr("v-menu");return Ir(),ei("div",{id:n.id,class:Ju(["d-flex justify-center align-center rounded-lg",[n.aminoAcidCellClass,{highlighted:n.isHighlighted},{truncated:n.isTruncated}]]),style:zs(n.aminoAcidCellStyles),onClick:e[5]||(e[5]=(...l)=>n.selectCell&&n.selectCell(...l)),onContextmenu:e[6]||(e[6]=jp((...l)=>n.toggleMenuOpen&&n.toggleMenuOpen(...l),["prevent"]))},[n.showFragments&&n.sequenceObject.aIon?(Ir(),ei("div",FO,NO)):Yi("",!0),n.showFragments&&n.sequenceObject.bIon?(Ir(),ei("div",VO,UO)):Yi("",!0),n.showFragments&&n.sequenceObject.cIon?(Ir(),ei("div",HO,qO)):Yi("",!0),n.showFragments&&n.sequenceObject.xIon?(Ir(),ei("div",WO,$O)):Yi("",!0),n.showFragments&&n.sequenceObject.yIon?(Ir(),ei("div",ZO,KO)):Yi("",!0),n.showFragments&&n.sequenceObject.zIon?(Ir(),ei("div",JO,eD)):Yi("",!0),n.showTags&&n.sequenceObject.tagStart?(Ir(),ei("div",tD)):Yi("",!0),n.showTags&&n.sequenceObject.tagEnd?(Ir(),ei("div",nD)):Yi("",!0),n.showModifications&&(n.sequenceObject.modStart||n.isThisAAmodified)?(Ir(),ei("div",rD)):Yi("",!0),n.showModifications&&(n.sequenceObject.modEnd||n.isThisAAmodified)?(Ir(),ei("div",iD)):Yi("",!0),n.showModifications&&n.sequenceObject.modStart&&!n.sequenceObject.modEnd?(Ir(),ei("div",aD)):Yi("",!0),n.showModifications&&!n.sequenceObject.modStart&&n.sequenceObject.modEnd?(Ir(),ei("div",oD)):Yi("",!0),n.showModifications&&n.sequenceObject.modCenter?(Ir(),ei("div",sD)):Yi("",!0),n.showModifications&&(n.sequenceObject.modEnd||n.isThisAAmodified)?(Ir(),ei("div",lD,[ia(io(n.modMass)+" ",1),gt(p,{activator:"parent",class:"foreground"},{default:ci(()=>[ia(io(`Modification Mass: ${n.modMass} Da`)+" ",1),uD,ia(" "+io(`Possible Modifications: ${n.sequenceObject.modLabels}`)+" ",1),cD]),_:1})])):Yi("",!0),n.showFragments&&n.showModifications&&n.sequenceObject.modEnd&&n.sequenceObject.aIon&&!n.sequenceObject.bIon?(Ir(),ei("div",hD,io(n.sequenceObject.modMass),1)):Yi("",!0),n.showFragments&&n.showModifications&&n.sequenceObject.modEnd&&n.sequenceObject.bIon?(Ir(),ei("div",fD,io(n.sequenceObject.modMass),1)):Yi("",!0),n.showFragments&&n.showModifications&&n.sequenceObject.modEnd&&n.sequenceObject.cIon&&!n.sequenceObject.bIon?(Ir(),ei("div",dD,io(n.sequenceObject.modMass),1)):Yi("",!0),n.showModifications&&n.DoesThisAAHaveExtraFragTypes?(Ir(),ei("div",pD,gD)):Yi("",!0),ti("div",vD,io(n.aminoAcid),1),gt(f,{modelValue:n.menuOpen,"onUpdate:modelValue":e[4]||(e[4]=l=>n.menuOpen=l),activator:"parent",location:"end","open-on-click":!1,"close-on-content-click":!1,width:"200px"},{default:ci(()=>[gt(v,null,{default:ci(()=>[gt(d,null,{default:ci(()=>[gt(t,{modelValue:n.selectedModification,"onUpdate:modelValue":[e[0]||(e[0]=l=>n.selectedModification=l),n.updateSelectedModification],clearable:"true",label:"Modification",density:"compact",items:n.modificationsForSelect,"onClick:clear":e[1]||(e[1]=l=>n.selectedModification=void 0)},null,8,["modelValue","items","onUpdate:modelValue"])]),_:1}),n.customSelected?(Ir(),za(d,{key:0},{default:ci(()=>[gt(M,{onSubmit:e[3]||(e[3]=jp(()=>{},["prevent"]))},{default:ci(()=>[gt(g,{modelValue:n.customModMass,"onUpdate:modelValue":e[2]||(e[2]=l=>n.customModMass=l),"hide-details":"",label:"Monoisotopic mass in Da",type:"number"},null,8,["modelValue"]),gt(i,{type:"submit",block:"true",class:"mt-2",onClick:n.updateCustomModification},{default:ci(()=>[ia("Submit")]),_:1},8,["onClick"])]),_:1})]),_:1})):Yi("",!0)]),_:1})]),_:1},8,["modelValue"]),gt(p,{activator:"parent"},{default:ci(()=>[ti("div",null,io(`Protein Position: ${n.protein_position}`),1),n.prefix!==void 0?(Ir(),ei(Yr,{key:0},[ia(io(`Prefix: ${n.prefix}`)+" ",1),yD],64)):Yi("",!0),n.truncated_prefix!==void 0?(Ir(),ei(Yr,{key:1},[ia(io(`Truncated Prefix: ${n.truncated_prefix}`)+" ",1),bD],64)):Yi("",!0),n.suffix!==void 0?(Ir(),ei(Yr,{key:2},[ia(io(`Suffix: ${n.suffix}`)+" ",1),xD],64)):Yi("",!0),n.truncated_suffix!==void 0?(Ir(),ei(Yr,{key:3},[ia(io(`Truncated Suffix: ${n.truncated_suffix}`)+" ",1),_D],64)):Yi("",!0),n.DoesThisAAHaveExtraFragTypes?(Ir(),ei("div",wD,io(n.sequenceObject.extraTypes.join(", ")),1)):Yi("",!0)]),_:1})],46,zO)}const i6=hs(DO,[["render",TD],["__scopeId","data-v-fb6c82e8"]]),kD=ns({name:"ProteinTerminalCell",props:{proteinTerminal:{type:String,required:!0},index:{type:Number,required:!0},truncated:{type:Boolean,required:!1,default:!1},determined:{type:Boolean,required:!1,default:!0},disableVariableModificationSelection:{type:Boolean,default:!1}},setup(){const n=Ns(),e=W2();return{streamlitData:n,variableModData:e}},data(){return{menuOpen:!1,selectedModification:void 0,customSelected:!1,customModMass:"0"}},computed:{id(){return`${this.proteinTerminal}${this.index}`},theme(){return this.streamlitData.theme},proteinTerminalText(){return this.proteinTerminal.charAt(0)},hasVariableModification(){return this.variableModData.variableModifications[this.index]!==void 0&&this.variableModData.variableModifications[this.index]!==0},modificationsForSelect(){return["None","Custom",...this.potentialModifications]},proteinTerminalCellStyles(){var n,e;return{"--protein-terminal-cell-color":((n=this.theme)==null?void 0:n.textColor)??"#fff","--protein-terminal-cell-hover-color":"#fff","--protein-terminal-cell-hover-bg-color":((e=this.theme)==null?void 0:e.secondaryBackgroundColor)??"#000"}},proteinTerminalCellClasses(){return{"protein-terminal":this.selectedModification===void 0&&!this.hasVariableModification,"protein-terminal-modified":this.selectedModification!==void 0||this.hasVariableModification}},potentialModifications(){return r6[this.proteinTerminal]??[]}},methods:{toggleMenuOpen(){this.disableVariableModificationSelection||(this.menuOpen=!this.menuOpen)},updateSelectedModification(n){if(n==="None")this.selectedModification=void 0;else if(n==="Custom"){this.customSelected=!0;return}else this.selectedModification=n;this.toggleMenuOpen(),this.customSelected=!1,this.variableModData.updateVariableModifications(this.index,this.selectedModification?wv[this.selectedModification]:0)},updateCustomModification(){this.variableModData.updateVariableModifications(this.index,parseFloat(this.customModMass)),this.toggleMenuOpen()}}});const MD={key:0,class:"undetermined"};function AD(n,e,r,S,D,T){const p=Gr("v-select"),t=Gr("v-list-item"),d=Gr("v-text-field"),g=Gr("v-btn"),i=Gr("v-form"),M=Gr("v-list"),v=Gr("v-menu"),f=Gr("v-tooltip");return Ir(),ei("div",{class:Ju(["d-flex justify-center align-center rounded-lg",n.proteinTerminalCellClasses]),style:zs(n.proteinTerminalCellStyles),onClick:e[5]||(e[5]=jp(()=>{},["stop"])),onContextmenu:e[6]||(e[6]=jp((...l)=>n.toggleMenuOpen&&n.toggleMenuOpen(...l),["prevent"]))},[ti("div",{class:Ju(["terminal-text",{truncated:n.truncated}])},io(n.proteinTerminalText),3),n.determined?Yi("",!0):(Ir(),ei("div",MD,"??")),gt(v,{activator:"parent",modelValue:n.menuOpen,"onUpdate:modelValue":e[4]||(e[4]=l=>n.menuOpen=l),location:"end","open-on-click":!1,"close-on-content-click":!1,width:"200px"},{default:ci(()=>[gt(M,null,{default:ci(()=>[gt(t,null,{default:ci(()=>[gt(p,{modelValue:n.selectedModification,"onUpdate:modelValue":[e[0]||(e[0]=l=>n.selectedModification=l),n.updateSelectedModification],clearable:"",label:"Modification",density:"compact",items:n.modificationsForSelect,"onClick:clear":e[1]||(e[1]=l=>n.selectedModification=void 0)},null,8,["modelValue","items","onUpdate:modelValue"])]),_:1}),n.customSelected?(Ir(),za(t,{key:0},{default:ci(()=>[gt(i,{onSubmit:e[3]||(e[3]=jp(()=>{},["prevent"]))},{default:ci(()=>[gt(d,{modelValue:n.customModMass,"onUpdate:modelValue":e[2]||(e[2]=l=>n.customModMass=l),"hide-details":"",label:"Monoisotopic mass in Da",type:"number"},null,8,["modelValue"]),gt(g,{type:"submit",block:"",class:"mt-2",onClick:n.updateCustomModification},{default:ci(()=>[ia("Submit")]),_:1},8,["onClick"])]),_:1})]),_:1})):Yi("",!0)]),_:1})]),_:1},8,["modelValue"]),gt(f,{activator:"parent"},{default:ci(()=>[ia(io(n.proteinTerminalText),1)]),_:1})],38)}const SD=hs(kD,[["render",AD],["__scopeId","data-v-beee67fe"]]);var a6={exports:{}};/*! dom-to-image-more 26-04-2023 */(function(n,e){(function(r){const S=function(){let y=0;return{escape:function(A){return A.replace(/([.*+?^${}()|[]\/\\])/g,"\\$1")},isDataUrl:function(A){return A.search(/^(data:)/)!==-1},canvasToBlob:function(A){return A.toBlob?new Promise(function(L){A.toBlob(L)}):function(L){return new Promise(function(b){var R=f(L.toDataURL().split(",")[1]),I=R.length,O=new Uint8Array(I);for(let z=0;zte.style.removeProperty(X)),["left","right","top","bottom"].forEach(X=>{te.style.getPropertyValue(X)&&te.style.setProperty(X,"0px")})))}H(W,N)}function $(){const q=S.uid();function H(ne){const te=v(W,ne),Z=te.getPropertyValue("content");if(Z!==""&&Z!=="none"){let ie=function(){const oe=`.${q}:`+ne,ue=(te.cssText?ce:ye)();return document.createTextNode(oe+`{${ue}}`);function ce(){return`${te.cssText} content: ${Z};`}function ye(){return S.asArray(te).map(me).join("; ")+";";function me(pe){const xe=te.getPropertyValue(pe),Pe=te.getPropertyPriority(pe)?" !important":"";return pe+": "+xe+Pe}}};var X=ie;const Q=N.getAttribute("class")||"",re=(N.setAttribute("class",Q+" "+q),document.createElement("style"));re.appendChild(ie()),N.appendChild(re)}}[":before",":after"].forEach(function(ne){H(ne)})}function U(){S.isHTMLTextAreaElement(W)&&(N.innerHTML=W.value),S.isHTMLInputElement(W)&&N.setAttribute("value",W.value)}function G(){S.isSVGElement(N)&&(N.setAttribute("xmlns","http://www.w3.org/2000/svg"),S.isSVGRectElement(N))&&["width","height"].forEach(function(q){const H=N.getAttribute(q);H&&N.style.setProperty(q,H)})}}}(E,C,null)}).then(o).then(s).then(function(E){C.bgcolor&&(E.style.backgroundColor=C.bgcolor),C.width&&(E.style.width=C.width+"px"),C.height&&(E.style.height=C.height+"px"),C.style&&Object.keys(C.style).forEach(function(A){E.style[A]=C.style[A]});let x=null;return typeof C.onclone=="function"&&(x=C.onclone(E)),Promise.resolve(x).then(function(){return E})}).then(function(E){let x=C.width||S.width(E),A=C.height||S.height(E);return Promise.resolve(E).then(function(L){return L.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),new XMLSerializer().serializeToString(L)}).then(S.escapeXhtml).then(function(L){var b=(S.isDimensionMissing(x)?' width="100%"':` width="${x}"`)+(S.isDimensionMissing(A)?' height="100%"':` height="${A}"`);return`${L}`}).then(function(L){return"data:image/svg+xml;charset=utf-8,"+L})}).then(function(E){for(;0{c=null,m={}},2e4)}(),E})}function a(y,C){return l(y,C=C||{}).then(S.makeImage).then(function(_){var k=typeof C.scale!="number"?1:C.scale,E=function(A,L){let b=C.width||S.width(A),R=C.height||S.height(A);return S.isDimensionMissing(b)&&(b=S.isDimensionMissing(R)?300:2*R),S.isDimensionMissing(R)&&(R=b/2),A=document.createElement("canvas"),A.width=b*L,A.height=R*L,C.bgcolor&&((L=A.getContext("2d")).fillStyle=C.bgcolor,L.fillRect(0,0,A.width,A.height)),A}(y,k),x=E.getContext("2d");return x.msImageSmoothingEnabled=!1,x.imageSmoothingEnabled=!1,_&&(x.scale(k,k),x.drawImage(_,0,0)),E})}let u=null;function o(y){return T.resolveAll().then(function(C){var _;return C!==""&&(_=document.createElement("style"),y.appendChild(_),_.appendChild(document.createTextNode(C))),y})}function s(y){return t.inlineAll(y).then(function(){return y})}function h(y,C,_,k,E){const x=i.impl.options.copyDefaultStyles?function(L,I){var I=function(z){var F=[];do if(z.nodeType===M){var B=z.tagName;if(F.push(B),w.includes(B))break}while(z=z.parentNode,z);return F}(I),R=function(z){return(L.styleCaching!=="relaxed"?z:z.filter((F,B,N)=>B===0||B===N.length-1)).join(">")}(I);if(m[R])return m[R];var O=function(){if(u)return u.contentWindow;var z=document.characterSet||"UTF-8",F=document.doctype,F=F?(`":"";return(u=document.createElement("iframe")).id="domtoimage-sandbox-"+S.uid(),u.style.visibility="hidden",u.style.position="fixed",document.body.appendChild(u),function(N,W,j,$){try{return N.contentWindow.document.write(W+`${$}`),N.contentWindow}catch{}var U=document.createElement("meta");U.setAttribute("charset",j);try{var G=document.implementation.createHTMLDocument($),q=(G.head.appendChild(U),W+G.documentElement.outerHTML);return N.setAttribute("srcdoc",q),N.contentWindow}catch{}return N.contentDocument.head.appendChild(U),N.contentDocument.title=$,N.contentWindow}(u,F,z,"domtoimage-sandbox");function B(N){var W;return N?((W=document.createElement("div")).innerText=N,W.innerHTML):""}}(),I=function(z,F){let B=z.body;do{var N=F.pop(),N=z.createElement(N);B.appendChild(N),B=N}while(0{const r=this.$refs.downloadLink;r.download="FLASHViewer-sequence.svg",r.href=e,r.click()}).finally(()=>{this.svgDownloadTriggered=!1})}}}),ID={ref:"downloadLink",style:{visibility:"hidden"}};function RD(n,e,r,S,D,T){const p=Gr("v-btn"),t=Gr("v-tooltip"),d=Gr("v-progress-linear"),g=Gr("v-card-text"),i=Gr("v-card"),M=Gr("v-dialog");return Ir(),ei(Yr,null,[gt(p,{id:"download-button",variant:"text",size:"large",icon:"mdi-download",onClick:n.triggerDownload},null,8,["onClick"]),gt(t,{text:"Save as SVG",location:"bottom",activator:"#download-button"}),ti("a",ID,null,512),gt(M,{modelValue:n.svgDownloadTriggered,"onUpdate:modelValue":e[0]||(e[0]=v=>n.svgDownloadTriggered=v),persistent:"",width:"auto"},{default:ci(()=>[gt(i,{color:"primary"},{default:ci(()=>[gt(g,null,{default:ci(()=>[ia(" Please stand by "),gt(d,{indeterminate:"",color:"white",class:"mb-0"})]),_:1})]),_:1})]),_:1},8,["modelValue"])],64)}const o6=hs(LD,[["render",RD]]),PD=ns({name:"SequenceViewInformation",components:{AminoAcidCell:i6},setup(){return{streamlitDataStore:Ns()}},data(){return{dialog:!1,aIon:!0,bIon:!1,cIon:!1,xIon:!0,yIon:!0,zIon:!1,fixed_mod:!1,variable_mod:!1,originalAAClasses:void 0,waterLoss:!1,ammoniumLoss:!1,proton:!1}},computed:{theme(){return this.streamlitDataStore.theme},aaSequenceObject(){return{aminoAcid:"AA",aIon:this.aIon,bIon:this.bIon,cIon:this.cIon,xIon:this.xIon,yIon:this.yIon,zIon:this.zIon,modStart:this.variable_mod,modEnd:this.variable_mod,modMass:"+134.99",truncated:!1,extraTypes:this.extraFragTypes()}}},methods:{setAAWithVarMod(){var e;this.originalAAClasses===void 0&&(this.originalAAClasses=((e=document.getElementById("AA0"))==null?void 0:e.getAttribute("class"))??"");const n=document.getElementById("AA0");if(n){let r=this.originalAAClasses;this.fixed_mod&&(r="sequence-amino-acid-highlighted "+r),n.setAttribute("class",r)}},extraFragTypes(){let n="";if(this.aIon)n="a";else if(this.bIon)n="b";else if(this.cIon)n="c";else if(this.xIon)n="x";else if(this.yIon)n="y";else if(this.zIon)n="z";else return[];let e=[];return this.waterLoss&&e.push(`${n}-H20`),this.ammoniumLoss&&e.push(`${n}-NH3`),this.proton&&(e.push(`${n}-H`),e.push(`${n}+H`)),e}}});const s6=n=>(Ty("data-v-9a6912d6"),n=n(),ky(),n),OD=s6(()=>ti("div",{class:"text-h6 d-flex justify-center"},"Legend for Sequence Map",-1)),DD={class:"d-flex justify-center"},zD={class:"sequence-grid pa-6",style:{width:"150px","max-width":"100%"}},FD={class:"d-flex"},BD={class:"d-flex"},ND=s6(()=>ti("div",{class:"text-subtitle-2 d-flex justify-end align-end"}," * Click checkboxes to see the styles ",-1));function VD(n,e,r,S,D,T){var h;const p=Gr("v-btn"),t=Gr("v-card-title"),d=Gr("v-divider"),g=Gr("AminoAcidCell"),i=Gr("v-checkbox"),M=Gr("v-row"),v=Gr("v-list-item-title"),f=Gr("v-list-item"),l=Gr("v-list"),a=Gr("v-card-text"),u=Gr("v-card-actions"),o=Gr("v-card"),s=Gr("v-dialog");return Ir(),ei(Yr,null,[gt(p,{id:"info-button",variant:"text",size:"large",icon:"mdi-information"}),gt(s,{modelValue:n.dialog,"onUpdate:modelValue":e[13]||(e[13]=c=>n.dialog=c),activator:"#info-button",width:"auto",theme:((h=n.theme)==null?void 0:h.base)??"light"},{default:ci(()=>[gt(o,null,{default:ci(()=>[gt(t,null,{default:ci(()=>[ia("Sequence View legend")]),_:1}),gt(d),gt(a,null,{default:ci(()=>[OD,ti("div",DD,[ti("div",zD,[gt(g,{index:0,"sequence-object":n.aaSequenceObject,onSelected:e[0]||(e[0]=jp(()=>{},["stop"]))},null,8,["sequence-object"])])]),ia(" Fragment ion types "),gt(M,null,{default:ci(()=>[ti("div",FD,[gt(i,{modelValue:n.aIon,"onUpdate:modelValue":e[1]||(e[1]=c=>n.aIon=c),label:"a"},null,8,["modelValue"]),gt(i,{modelValue:n.bIon,"onUpdate:modelValue":e[2]||(e[2]=c=>n.bIon=c),label:"b"},null,8,["modelValue"]),gt(i,{modelValue:n.cIon,"onUpdate:modelValue":e[3]||(e[3]=c=>n.cIon=c),label:"c"},null,8,["modelValue"]),gt(i,{modelValue:n.xIon,"onUpdate:modelValue":e[4]||(e[4]=c=>n.xIon=c),label:"x"},null,8,["modelValue"]),gt(i,{modelValue:n.yIon,"onUpdate:modelValue":e[5]||(e[5]=c=>n.yIon=c),label:"y"},null,8,["modelValue"]),gt(i,{modelValue:n.zIon,"onUpdate:modelValue":e[6]||(e[6]=c=>n.zIon=c),label:"z"},null,8,["modelValue"]),gt(i,{modelValue:n.waterLoss,"onUpdate:modelValue":e[7]||(e[7]=c=>n.waterLoss=c),label:"water loss"},null,8,["modelValue"]),gt(i,{modelValue:n.ammoniumLoss,"onUpdate:modelValue":e[8]||(e[8]=c=>n.ammoniumLoss=c),label:"ammonium loss"},null,8,["modelValue"]),gt(i,{modelValue:n.proton,"onUpdate:modelValue":e[9]||(e[9]=c=>n.proton=c),label:"proton loss/addition"},null,8,["modelValue"])])]),_:1}),ia(" Modifications "),ti("div",BD,[gt(i,{modelValue:n.fixed_mod,"onUpdate:modelValue":[e[10]||(e[10]=c=>n.fixed_mod=c),n.setAAWithVarMod],label:"Fixed modifications","hide-details":"",density:"comfortable"},null,8,["modelValue","onUpdate:modelValue"]),gt(i,{modelValue:n.variable_mod,"onUpdate:modelValue":[e[11]||(e[11]=c=>n.variable_mod=c),n.setAAWithVarMod],label:"Variable modifications","hide-details":"",density:"comfortable"},null,8,["modelValue","onUpdate:modelValue"]),ND]),gt(l,{density:"compact"},{default:ci(()=>[gt(v,null,{default:ci(()=>[ia("Interaction tips")]),_:1}),gt(f,null,{default:ci(()=>[ia("Left click: highlights corresponding entries in Fragment Table and Mass Table")]),_:1}),gt(f,null,{default:ci(()=>[ia("Right click: opens variable modification menu (custom modification is available)")]),_:1})]),_:1})]),_:1}),gt(u,null,{default:ci(()=>[gt(p,{color:"primary",block:"true",onClick:e[12]||(e[12]=c=>n.dialog=!1)},{default:ci(()=>[ia("Close")]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue","theme"])],64)}const jD=hs(PD,[["render",VD],["__scopeId","data-v-9a6912d6"]]),UD=ns({name:"SequenceView",components:{SequenceViewInformation:jD,TabulatorTable:y0,AminoAcidCell:i6,ProteinTerminalCell:SD,SvgScreenshot:o6},props:{index:{type:Number,required:!0}},setup(){const n=Ns(),e=rc(),r=W2();return{streamlitDataStore:n,selectionStore:e,variableModData:r}},data(){return{rowWidth:35,massData:[],massTitle:"",ionTypes:[{text:"a",selected:!1},{text:"b",selected:!0},{text:"c",selected:!1},{text:"x",selected:!1},{text:"y",selected:!0},{text:"z",selected:!1}],ionTypesExtra:{"water loss":!1,"ammonium loss":!1,"proton loss/addition":!1},fragmentMassTolerance:10,visibilityOptions:[{text:"Fragments",selected:!0},{text:"Modifications",selected:!0}],fragmentTableColumnDefinitions:[{title:"Name",field:"Name",headerTooltip:"The name of the fragment ion, represented in Biemann notation."},{title:"Ion type",field:"IonType",headerTooltip:"The type of fragment ion identified in the spectrum."},{title:"Ion number",field:"IonNumber",sorter:"number",headerTooltip:"The position of the fragment ion within the sequence."},{title:"Theoretical mass",field:"TheoreticalMass",sorter:"number",headerTooltip:"The expected mass of the fragment ion."},{title:"Observed mass",field:"ObservedMass",formatter:Df(),sorter:"number",headerTooltip:"The mass of the fragment ion as observed in the spectrum."},{title:"Mass difference (Da)",field:"MassDiffDa",sorter:"number",headerTooltip:"The difference between the observed and theoretical masses of the fragment ion, in Daltons."},{title:"Mass difference (ppm)",field:"MassDiffPpm",sorter:"number",headerTooltip:"The difference between the observed and theoretical masses of the fragment ion, in parts per million (ppm)."}],fragmentTableData:[],fragmentTableTitle:"",residueCleavagePercentage:0,sequenceObjects:[],selectedFragTableRowIndex:void 0}},computed:{theme(){return this.streamlitDataStore.theme},selectedSequence(){const n=this.selectionStore.selectedProteinIndex;return typeof n=="number"?n:0},selectedTag(){return this.selectionStore.selectedTag},sequence(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.sequence)??[]},sequence_start_reported(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.proteoform_start)??0},sequence_start(){return this.sequence_start_reported<0?0:this.sequence_start_reported},n_truncation(){return this.sequence_start>0},n_determined(){return this.sequence_start_reported>=0},sequence_end_reported(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.proteoform_end)??this.sequence.length-1},sequence_end(){return this.sequence_end_reported<0?this.sequence.length-1:this.sequence_end_reported},c_truncation(){return this.sequence_end=0},modifications(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.modifications)??[]},coverage(){var e,r;const n=this.selectedSequence;return typeof n=="number"?((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.coverage)??[]:[]},maxCoverage(){var e,r;const n=this.selectedSequence;return typeof n=="number"?((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.maxCoverage)??-1:-1},theoreticalMass(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.theoretical_mass)??0},computedMass(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),(r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.computed_mass},fixedModificationSites(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.fixed_modifications)??[]},variableModifications(){return this.variableModData.variableModifications??{}},tickLabels(){return{20:"20",25:"25",30:"30",35:"35",40:"40"}},gridClasses(){return{"sequence-grid":!0,[`grid-width-${this.rowWidth}`]:!0}},proteinTerminalCellStyles(){var n;return{"--amino-acid-cell-hover-color":"#fff","--amino-acid-cell-hover-bg-color":((n=this.theme)==null?void 0:n.secondaryBackgroundColor)??"#000"}},selectedScanIndex(){if(this.selectionStore.selectedScanIndex!==void 0)return this.streamlitDataStore.allDataForDrawing.per_scan_data.length===1?0:this.selectionStore.selectedScanIndex},calculateCleavagePercentage(){let n=0;for(let e=0,r=this.sequenceObjects.length-1;ee.text==="Tags"))!=null&&n.selected):!1},showTruncations(){var n;return this.displayTnT?!!((n=this.visibilityOptions.find(e=>e.text==="Truncations"))!=null&&n.selected):!1},showModifications(){var n;return!!((n=this.visibilityOptions.find(e=>e.text==="Modifications"))!=null&&n.selected)},showFragments(){var n;return!!((n=this.visibilityOptions.find(e=>e.text==="Fragments"))!=null&&n.selected)}},watch:{selectedScanIndex(){this.preparePrecursorInfo(),this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},sequence(){this.selectionStore.updateSelectedAA(void 0),this.preparePrecursorInfo(),this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications(),this.updateSettings()},selectedTag(){this.updateTagPosition()},fragmentMassTolerance(){this.preparePrecursorInfo(),this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},ionTypes:{handler(){this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},deep:!0},ionTypesExtra:{handler(){this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},deep:!0},variableModifications(){this.preparePrecursorInfo(),this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()}},mounted(){this.selectionStore.updateSelectedAA(void 0),this.initializeSequenceObjects(),this.preparePrecursorInfo(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},methods:{getFragmentMasses(n){var r;let e=this.selectedSequence;return e===void 0&&(e=0),(r=this.streamlitDataStore.sequenceData)==null?void 0:r[e][`fragment_masses_${n}`]},updateMassTolerance(n){this.fragmentMassTolerance=Number.parseInt(n.target.value)},updateSettings(){var n,e;((n=this.streamlitDataStore.settings)==null?void 0:n.ion_types)!==void 0&&this.ionTypes.forEach(r=>{r.selected=this.streamlitDataStore.settings.ion_types.includes(r.text)}),((e=this.streamlitDataStore.settings)==null?void 0:e.tolerance)!==void 0&&(this.fragmentMassTolerance=this.streamlitDataStore.settings.tolerance)},toggleIonTypeSelected(n){this.ionTypes[n].selected=!this.ionTypes[n].selected},preparePrecursorInfo(){if(this.selectedScanIndex==null){this.massData=[];return}if(this.computedMass!==void 0){this.massTitle="Proteoform";let D="-",T="-";this.computedMass>0&&(D=this.computedMass.toFixed(2),T=Math.abs(this.theoreticalMass-this.computedMass).toFixed(2)),this.massData=[`Theoretical protein mass : ${this.theoreticalMass.toFixed(2)}`,`Observed proteoform mass : ${D}`,`Δ Mass (Da) : ${T}`],this.visibilityOptions.some(p=>p.text==="Tags")||(this.visibilityOptions.push({text:"Truncations",selected:!0}),this.visibilityOptions.push({text:"Tags",selected:!0}),this.updateSettings()),this.ionTypesExtra["ammonium loss"]=!1,this.ionTypesExtra["water loss"]=!1,this.ionTypesExtra["proton loss/addition"]=!1;return}const e=this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScanIndex].PrecursorMass;if(e===0){this.massData=[];return}let r=this.theoreticalMass;this.variableModData.isEmpty||(this.variableModifications.valueOf(),Object.values(this.variableModifications).forEach(D=>{r+=D}));const S=Math.abs(r-e);this.massTitle="Precursor",this.massData=[`Theoretical mass : ${r.toFixed(2)}`,`Observed mass : ${e.toFixed(2)}`,`Δ Mass (Da) : ${S.toFixed(2)}`]},prepareFragmentTable(){if(this.sequence.length<=0){this.fragmentTableTitle="";return}if(this.selectedScanIndex===void 0){this.fragmentTableTitle="";return}const e=this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScanIndex].MonoMass;let r=[];const S=this.sequence_end;this.ionTypes.filter(D=>D.selected).forEach(D=>{if((D.text==="a"||D.text==="b"||D.text==="c")&&this.sequence_start_reported<0||(D.text==="x"||D.text==="y"||D.text==="z")&&this.sequence_end_reported<0)return;const T=this.getFragmentMasses(D.text);for(let p=0,t=T.length;p{this.variableModData.isEmpty||((D.text==="a"||D.text==="b"||D.text==="c")&&Object.entries(this.variableModifications).forEach(([M,v])=>{parseInt(M)<=d&&(g+=v)}),(D.text==="x"||D.text==="y"||D.text==="z")&&Object.entries(this.variableModifications).forEach(([M,v])=>{S-parseInt(M)<=d&&(g+=v)}));const i=Object.entries(OO).filter(([M])=>this.ionTypesExtra[M]||M==="default").map(([M,v])=>v).flat();for(let M=0,v=e.length;M{const a=g+l,u=e[M]-a,o=u/a*1e6;if(Math.abs(o)>this.fragmentMassTolerance)return;const s={Name:`${D.text}${p+1}`,IonType:`${D.text}${f}`,IonNumber:p+1,TheoreticalMass:a.toFixed(3),ObservedMass:e[M],MassDiffDa:u.toFixed(3),MassDiffPpm:o.toFixed(3)};r.push(s);let h=d;(D.text==="a"||D.text==="b"||D.text==="c")&&(this.sequenceObjects[h][`${D.text}Ion`]=!0),(D.text==="x"||D.text==="y"||D.text==="z")&&(this.sequenceObjects[S-p][`${D.text}Ion`]=!0,h=S-p),f&&this.sequenceObjects[d].extraTypes.push(`${D.text}${f}`)})})}}),this.residueCleavagePercentage=this.calculateCleavagePercentage,this.fragmentTableData=r,this.fragmentTableTitle=`Matching fragments (# ${r.length})`},fixedModification(n){return this.fixedModificationSites.includes(n)},initializeSequenceObjects(){this.sequenceObjects=[],this.sequence.forEach((n,e)=>{const r=this.coverage[e];let S=!1;(this.sequence_start>e||this.sequence_endS.Name===e),this.selectionStore.selectedAminoAcid(this.fragmentTableData[this.selectedFragTableRowIndex].ObservedMass)},updateTagPosition(){this.sequence.length<=0||(this.sequenceObjects.length!==this.sequence.length&&this.initializeSequenceObjects(),this.sequence.forEach((n,e)=>{var D,T;const r=((D=this.selectedTag)==null?void 0:D.startPos)==e,S=((T=this.selectedTag)==null?void 0:T.endPos)==e;this.sequenceObjects[e].tagStart=r,this.sequenceObjects[e].tagEnd=S}))},prepareAmbigiousModifications(){this.modifications.forEach(n=>{const e=n.start,r=n.end,S=n.mass_diff.toFixed(2),D=n.labels,T=parseFloat(S).toLocaleString("en-US",{signDisplay:"always"});for(let p=e;p<=r;p++)p==e&&(this.sequenceObjects[p].modStart=!0),p==r&&(this.sequenceObjects[p].modEnd=!0,this.sequenceObjects[p].modMass=T,this.sequenceObjects[p].modLabels=D),p!=e&&p!=r&&(this.sequenceObjects[p].modCenter=!0)})}}});const Y2=n=>(Ty("data-v-14f01162"),n=n(),ky(),n),HD=Y2(()=>ti("div",{class:"d-flex justify-center"},[ti("h4",null,"Sequence View")],-1)),GD={class:"sequence-and-scale"},qD={id:"sequence-part"},WD={class:"d-flex justify-space-evenly"},YD={class:"d-flex justify-end px-4 mb-4"},$D={class:"d-flex justify-space-evenly"},ZD={class:"d-flex justify-space-evenly"},XD={class:"d-flex justify-space-evenly"},KD={key:0,class:"d-flex justify-center align-center"},JD={key:3,class:"d-flex justify-center align-center"},QD={key:0,class:"scale-container",title:"Sequence Tag Coverage"},ez={class:"scale-text"},tz=Y2(()=>ti("div",{class:"scale"},null,-1)),nz=Y2(()=>ti("div",{class:"scale-text"},"1x",-1)),rz={id:"sequence-view-table"};function iz(n,e,r,S,D,T){var w;const p=Gr("v-divider"),t=Gr("SvgScreenshot"),d=Gr("SequenceViewInformation"),g=Gr("v-btn"),i=Gr("v-list-item-title"),M=Gr("v-slider"),v=Gr("v-list-item"),f=Gr("v-checkbox"),l=Gr("v-text-field"),a=Gr("v-list"),u=Gr("v-card"),o=Gr("v-menu"),s=Gr("ProteinTerminalCell"),h=Gr("AminoAcidCell"),c=Gr("TabulatorTable"),m=Gr("v-sheet");return Ir(),ei(Yr,null,[HD,gt(m,{class:"pa-4 rounded-lg",style:{"max-width":"97%"},theme:((w=n.theme)==null?void 0:w.base)??"light",border:""},{default:ci(()=>[ti("div",GD,[ti("div",qD,[ti("div",WD,[n.massData.length!=0?(Ir(),ei(Yr,{key:0},[ti("h3",null,io(n.massTitle),1),gt(p,{vertical:!0}),(Ir(!0),ei(Yr,null,Hl(n.massData,(y,C)=>(Ir(),ei(Yr,{key:C},[ia(io(y)+" ",1),gt(p,{vertical:!0})],64))),128))],64)):Yi("",!0)]),ti("div",YD,[ti("div",null,[gt(t,{"element-id":"sequence-part"}),gt(d),gt(g,{id:"settings-button",variant:"text",icon:"mdi-cog",size:"large"}),gt(o,{"close-on-content-click":!1,activator:"#settings-button",location:"bottom"},{default:ci(()=>[gt(u,{"min-width":"300"},{default:ci(()=>[gt(a,null,{default:ci(()=>[gt(v,null,{default:ci(()=>[gt(i,null,{default:ci(()=>[ia("# amino acids per row")]),_:1}),gt(M,{modelValue:n.rowWidth,"onUpdate:modelValue":e[0]||(e[0]=y=>n.rowWidth=y),ticks:n.tickLabels,min:20,max:40,step:"5","show-ticks":"always","tick-size":"4"},null,8,["modelValue","ticks"])]),_:1}),gt(v,null,{default:ci(()=>[gt(i,null,{default:ci(()=>[ia("Visibility")]),_:1}),ti("div",$D,[(Ir(!0),ei(Yr,null,Hl(n.visibilityOptions,y=>(Ir(),za(f,{key:y.text,modelValue:y.selected,"onUpdate:modelValue":C=>y.selected=C,"hide-details":"",density:"comfortable",label:y.text},null,8,["modelValue","onUpdate:modelValue","label"]))),128))])]),_:1}),gt(v,null,{default:ci(()=>[gt(i,null,{default:ci(()=>[ia("Fragment ion types")]),_:1}),ti("div",ZD,[(Ir(!0),ei(Yr,null,Hl(n.ionTypes,(y,C)=>(Ir(),za(f,{key:y.text,modelValue:y.selected,"onUpdate:modelValue":_=>y.selected=_,"hide-details":"",density:"comfortable",label:y.text,onClick:_=>n.toggleIonTypeSelected(C),disabled:!n.showFragments},null,8,["modelValue","onUpdate:modelValue","label","onClick","disabled"]))),128))]),ti("div",XD,[(Ir(!0),ei(Yr,null,Hl(Object.keys(n.ionTypesExtra),y=>(Ir(),za(f,{key:y,modelValue:n.ionTypesExtra[y],"onUpdate:modelValue":C=>n.ionTypesExtra[y]=C,"hide-details":"",density:"comfortable",label:y,disabled:!n.showFragments},null,8,["modelValue","onUpdate:modelValue","label","disabled"]))),128))])]),_:1}),gt(v,null,{default:ci(()=>[gt(i,null,{default:ci(()=>[ia("Fragment mass tolerance")]),_:1}),gt(l,{modelValue:n.fragmentMassTolerance,"onUpdate:modelValue":e[1]||(e[1]=y=>n.fragmentMassTolerance=y),type:"number","hide-details":"auto",label:"mass tolerance in ppm",onChange:n.updateMassTolerance,disabled:!n.showFragments},null,8,["modelValue","onChange","disabled"])]),_:1})]),_:1})]),_:1})]),_:1})])]),ti("div",{class:Ju(["pb-4 px-2",n.gridClasses]),style:{width:"100%","max-width":"100%"}},[(Ir(!0),ei(Yr,null,Hl(n.sequenceObjects,(y,C)=>(Ir(),ei(Yr,{key:C},[n.showTruncations&&C!==0&&C%n.rowWidth===0||!n.showTruncations&&C-n.sequence_start!==0&&(C-n.sequence_start)%n.rowWidth===0&&Cn.sequence_start?(Ir(),ei("div",KD,io(n.showTruncations?C+1:C-n.sequence_start+1),1)):Yi("",!0),C===0?(Ir(),za(s,{key:1,"protein-terminal":"N-term",truncated:n.n_truncation,index:-1,"disable-variable-modification-selection":n.disableVariableModifications,determined:n.n_determined},null,8,["truncated","disable-variable-modification-selection","determined"])):Yi("",!0),n.showTruncations||n.sequence_start<=C&&n.sequence_end>=C?(Ir(),za(h,{key:2,index:C,"sequence-object":y,"fixed-modification":n.fixedModification(y.aminoAcid),"disable-variable-modification-selection":n.disableVariableModifications,showTags:n.showTags,showFragments:n.showFragments,showModifications:n.showModifications,onSelected:n.aminoAcidSelected},null,8,["index","sequence-object","fixed-modification","disable-variable-modification-selection","showTags","showFragments","showModifications","onSelected"])):Yi("",!0),n.showTruncations&&C%n.rowWidth===n.rowWidth-1&&C!==n.sequence.length-1||!n.showTruncations&&(C-n.sequence_start)%n.rowWidth===n.rowWidth-1&&Cn.sequence_start?(Ir(),ei("div",JD,io(n.showTruncations?C+1:C-n.sequence_start+1),1)):Yi("",!0),C===n.sequence.length-1?(Ir(),za(s,{key:4,"protein-terminal":"C-term",truncated:n.c_truncation,index:n.sequence.length,"disable-variable-modification-selection":n.disableVariableModifications,determined:n.c_determined},null,8,["truncated","index","disable-variable-modification-selection","determined"])):Yi("",!0)],64))),128))],2)]),n.maxCoverage>0&&n.showTags?(Ir(),ei("div",QD,[ti("div",ez,io(n.maxCoverage+"x"),1),tz,nz])):Yi("",!0)]),ti("div",rz,[n.fragmentTableTitle!==""&&n.showFragments?(Ir(),za(c,{key:0,"table-data":n.fragmentTableData,"column-definitions":n.fragmentTableColumnDefinitions,index:n.index,"selected-row-index-from-listening":n.selectedFragTableRowIndex,"table-layout-param":"fitColumns"},{default:ci(()=>[ia(io(n.fragmentTableTitle),1)]),"end-title-row":ci(()=>[ia("% Residue cleavage: "+io(n.residueCleavagePercentage.toFixed(3))+"%",1)]),_:1},8,["table-data","column-definitions","index","selected-row-index-from-listening"])):Yi("",!0)])]),_:1},8,["theme"])],64)}const az=hs(UD,[["render",iz],["__scopeId","data-v-14f01162"]]),oz=ns({name:"FLASHQuantView",components:{TabulatorTable:y0},setup(){return{streamlitDataStore:Ns()}},data(){return{setHeightInterval:null,featureGroupTableColumnDefinitions:[{title:"Index",field:"FeatureGroupIndex"},{title:"Monoisotopic Mass",field:"MonoisotopicMass"},{title:"Average Mass",field:"AverageMass"},{title:"Start Retention Time (FWHM)",field:"StartRetentionTime(FWHM)"},{title:"End Retention Time (FWHM)",field:"EndRetentionTime(FWHM)"},{title:"Feature Group Quantity",field:"FeatureGroupQuantity"},{title:"Feature Group Quantity",field:"FeatureGroupQuantity"},{title:"Min Charge",field:"MinCharge"},{title:"Max Charge",field:"MaxCharge"},{title:"Most Abundant Charge",field:"MostAbundantFeatureCharge"},{title:"Isotope Cosine Score",field:"IsotopeCosineScore"}],selectedFeatureGroupIndex:void 0,maximumIntensity:0}},computed:{theme(){return this.streamlitDataStore.theme},featureGroupTableData(){return this.streamlitDataStore.dataForDrawing.quant_data},trace3DgraphLayout(){var n,e,r,S;return{title:"Feature group signals",paper_bgcolor:(n=this.theme)==null?void 0:n.backgroundColor,plot_bgcolor:(e=this.theme)==null?void 0:e.secondaryBackgroundColor,height:800,font:{color:(r=this.theme)==null?void 0:r.textColor,family:(S=this.theme)==null?void 0:S.font},scene:{xaxis:{title:"m/z"},yaxis:{title:"retention time"},zaxis:{title:"intensity",range:[0,this.maximumIntensity]}},showlegend:!0}}},watch:{selectedFeatureGroupIndex(){this.trace3DGraph()}},mounted(){this.setHeightInterval=setInterval(()=>Wu.setFrameHeight(),500)},unmounted(){this.setHeightInterval!==null&&clearInterval(this.setHeightInterval)},methods:{async trace3DGraph(){await _l.newPlot("trace3Dplot",this.trace3DgraphData(),this.trace3DgraphLayout,{responsive:!0})},updateSelectedFeatureGroupRow(n){n!==void 0&&(this.selectedFeatureGroupIndex=n)},trace3DgraphData(){if(this.selectedFeatureGroupIndex===void 0)return[];const n=this.featureGroupTableData[this.selectedFeatureGroupIndex],e=[...new Set(n.Charges)],r={};e.forEach(T=>{r[T]={mzs:[],rts:[],intys:[]}}),n.Charges.forEach((T,p)=>{const t=n.MZs[p].split(",").map(parseFloat),d=n.RTs[p].split(",").map(parseFloat),g=n.Intensities[p].split(",").map(parseFloat);r[T].mzs.push(t[0]),r[T].rts.push(d[0]),r[T].intys.push(-1e3),r[T].mzs.push(...t),r[T].rts.push(...d),r[T].intys.push(...g),r[T].mzs.push(t[-1]),r[T].rts.push(d[-1]),r[T].intys.push(-1e3)}),this.maximumIntensity=Math.max.apply(null,Object.values(r).map(T=>Math.max.apply(null,T.intys)));let D=[];return Object.entries(r).forEach(([T,p])=>{D.push({x:p.mzs,y:p.rts,z:p.intys,mode:"lines",line:{color:"#3366CC"},type:"scatter3d",name:`Charge: ${T}`})}),D}}}),sz={class:"pa-4"},lz=ti("div",{id:"trace3Dplot",style:{width:"90%"}},null,-1);function uz(n,e,r,S,D,T){const p=Gr("TabulatorTable"),t=Gr("v-row");return Ir(),ei("div",sz,[gt(t,{class:"flex-nowrap"},{default:ci(()=>[n.featureGroupTableData?(Ir(),za(p,{key:0,title:"Feature groups",index:0,"table-data":n.featureGroupTableData,"column-definitions":n.featureGroupTableColumnDefinitions,"table-index-field":"FeatureGroupIndex",onRowSelected:n.updateSelectedFeatureGroupRow,"default-row":0},null,8,["table-data","column-definitions","onRowSelected"])):Yi("",!0)]),_:1}),lz])}const cz=hs(oz,[["render",uz]]),hz=ns({name:"InternalFragmentMap",components:{SvgScreenshot:o6},props:{index:{type:Number,required:!0}},setup(){const n=Ns(),e=rc();return{streamlitData:n,selectionStore:e}},data(){return{fragmentMassTolerance:10,fragmentMassToleranceUnit:"ppm",fragmentMassTypes:{by:!0,cy:!0,bz:!0},fragmentDisplayOverlay:!1,fragOpacity:.2,fragOpacityMin:.01,fragOpacityMax:1}},computed:{theme(){return this.streamlitData.theme},internalFragmentData(){var n;return(n=this.streamlitData.internalFragmentData)==null?void 0:n[this.selectedSequence]},selectedSequence(){const n=this.selectionStore.selectedProteinIndex;return typeof n=="number"?n:0},displayTnT(){var e,r;let n=this.selectedSequence;return((r=(e=this.streamlitData.sequenceData)==null?void 0:e[n])==null?void 0:r.computed_mass)!==void 0},sequence(){var r,S,D,T;const n=(r=this.streamlitData.sequenceData)==null?void 0:r[this.selectedSequence].proteoform_start,e=(S=this.streamlitData.sequenceData)==null?void 0:S[this.selectedSequence].proteoform_end;return n!==void 0&&e!==void 0?(D=this.streamlitData.sequenceData)==null?void 0:D[this.selectedSequence].sequence.slice(n,e+1):(T=this.streamlitData.sequenceData)==null?void 0:T[this.selectedSequence].sequence},fragmentStyle(){var n;return{height:(94/(((n=this.sequence)==null?void 0:n.length)??1)).toFixed(2)+"vw","--frag-block-opacity-value":this.fragOpacity}},fragmentTypeContainerStyle(){return{height:this.fragmentDisplayOverlay?this.fragmentStyle.height:"auto"}},fragmentTypeOverlayStyle(){return{position:this.fragmentDisplayOverlay?"absolute":"static"}},fragmentDisplayOverlayLabels(){return this.fragmentDisplayOverlay?"Overlay fragments from the same type":"Stacked"},selectedScanInfo(){if(this.selectionStore.selectedScanIndex!==void 0)return this.streamlitData.allDataForDrawing.per_scan_data.length==1?this.streamlitData.allDataForDrawing.per_scan_data[0]:this.streamlitData.allDataForDrawing.per_scan_data[this.selectionStore.selectedScanIndex]},byData(){var S,D,T;if(this.selectedScanInfo===void 0||!((S=this.internalFragmentData)!=null&&S.fragment_masses_by)||!((D=this.internalFragmentData)!=null&&D.start_indices_by)||!((T=this.internalFragmentData)!=null&&T.end_indices_by))return[];if(this.selectedScanInfo.PrecursorMass===0&&!this.displayTnT)return[];const e=[],r=this.selectedScanInfo.MonoMass;return this.filterMatchingMasses(r,this.internalFragmentData.fragment_masses_by,this.internalFragmentData.start_indices_by,this.internalFragmentData.end_indices_by,e),e},cyData(){var S,D,T;if(this.selectedScanInfo===void 0||!((S=this.internalFragmentData)!=null&&S.fragment_masses_cy)||!((D=this.internalFragmentData)!=null&&D.start_indices_cy)||!((T=this.internalFragmentData)!=null&&T.end_indices_cy))return[];if(this.selectedScanInfo.PrecursorMass===0&&!this.displayTnT)return[];const e=[],r=this.selectedScanInfo.MonoMass;return this.filterMatchingMasses(r,this.internalFragmentData.fragment_masses_cy,this.internalFragmentData.start_indices_cy,this.internalFragmentData.end_indices_cy,e),e},bzData(){var S,D,T;if(this.selectedScanInfo===void 0||!((S=this.internalFragmentData)!=null&&S.fragment_masses_bz)||!((D=this.internalFragmentData)!=null&&D.start_indices_bz)||!((T=this.internalFragmentData)!=null&&T.end_indices_bz))return[];if(this.selectedScanInfo.PrecursorMass===0&&!this.displayTnT)return[];const e=[],r=this.selectedScanInfo.MonoMass;return this.filterMatchingMasses(r,this.internalFragmentData.fragment_masses_bz,this.internalFragmentData.start_indices_bz,this.internalFragmentData.end_indices_bz,e),e}},methods:{updateMassTolerance(n){this.fragmentMassTolerance=Number.parseInt(n.target.value)},fragmentClasses(n,e,r,S){const D=n>e&&n<=r;let T=S;return this.fragmentDisplayOverlay&&(T+="-overlayed"),{[T]:D,"not-in-fragment":!D}},filterMatchingMasses(n,e,r,S,D){for(let T=0,p=e.length;Tthis.fragmentMassTolerance)){D.push({mass:t,start:r[T],end:S[T]});break}}}}}});const fz=n=>(Ty("data-v-ece55ad7"),n=n(),ky(),n),dz=fz(()=>ti("div",{class:"d-flex justify-center"},[ti("h4",null,"Internal Fragment Map")],-1)),pz={class:"d-flex justify-space-between"},mz=UE('
by/cz
bz
cy
',1),gz={class:"d-flex justify-end px-4 mb-4",style:{"max-width":"97%"}},vz={class:"d-flex"},yz={class:"d-flex justify-space-between"},bz={id:"internal-fragment-part"},xz={class:"d-flex",style:{"border-bottom":"white","border-bottom-width":"1px","border-bottom-style":"solid"}};function _z(n,e,r,S,D,T){var o;const p=Gr("SvgScreenshot"),t=Gr("v-btn"),d=Gr("v-list-item-title"),g=Gr("v-switch"),i=Gr("v-list-item"),M=Gr("v-text-field"),v=Gr("v-slider"),f=Gr("v-list"),l=Gr("v-card"),a=Gr("v-menu"),u=Gr("v-sheet");return Ir(),ei(Yr,null,[dz,ti("div",pz,[mz,ti("div",gz,[gt(p,{"element-id":"internal-fragment-part"}),gt(t,{id:"internal-frag-settings-button",variant:"text",icon:"mdi-cog",size:"medium"}),gt(a,{"close-on-content-click":!1,activator:"#internal-frag-settings-button",location:"bottom"},{default:ci(()=>[gt(l,{"min-width":"300"},{default:ci(()=>[gt(f,null,{default:ci(()=>[gt(i,null,{default:ci(()=>[gt(d,null,{default:ci(()=>[ia("Fragments display style")]),_:1}),ti("div",vz,[gt(g,{modelValue:n.fragmentDisplayOverlay,"onUpdate:modelValue":e[0]||(e[0]=s=>n.fragmentDisplayOverlay=s),"hide-details":"",label:`${n.fragmentDisplayOverlayLabels}`,class:"mr-4"},null,8,["modelValue","label"])])]),_:1}),gt(i,null,{default:ci(()=>[gt(d,null,{default:ci(()=>[ia("Opacity of each fragment (If overlay display style)")]),_:1}),ti("div",{style:zs({background:`rgba(240, 164, 65, ${n.fragOpacity})`})},[gt(v,{modelValue:n.fragOpacity,"onUpdate:modelValue":e[2]||(e[2]=s=>n.fragOpacity=s),class:"align-center ml-4",max:n.fragOpacityMax,min:n.fragOpacityMin,"hide-details":""},{append:ci(()=>[gt(M,{modelValue:n.fragOpacity,"onUpdate:modelValue":e[1]||(e[1]=s=>n.fragOpacity=s),"hide-details":"","single-line":"",min:n.fragOpacityMin,max:n.fragOpacityMax,step:"0.01",density:"compact",type:"number",class:"textFieldFontSize"},null,8,["modelValue","min","max"])]),_:1},8,["modelValue","max","min"])],4)]),_:1}),gt(i,null,{default:ci(()=>[gt(d,null,{default:ci(()=>[ia("Fragment mass tolerance")]),_:1}),ti("div",yz,[gt(g,{modelValue:n.fragmentMassToleranceUnit,"onUpdate:modelValue":e[3]||(e[3]=s=>n.fragmentMassToleranceUnit=s),"true-value":"ppm","false-value":"Da","hide-details":"",label:`${n.fragmentMassToleranceUnit}`,class:"mr-4"},null,8,["modelValue","label"]),gt(M,{modelValue:n.fragmentMassTolerance,"onUpdate:modelValue":e[4]||(e[4]=s=>n.fragmentMassTolerance=s),type:"number","hide-details":"auto",label:"mass tolerance",onChange:n.updateMassTolerance},null,8,["modelValue","onChange"])])]),_:1})]),_:1})]),_:1})]),_:1})])]),gt(u,{class:"pa-4 rounded-lg",style:{"max-width":"97%"},theme:((o=n.theme)==null?void 0:o.base)??"light",border:""},{default:ci(()=>[ti("div",bz,[ti("div",xz,[(Ir(!0),ei(Yr,null,Hl(n.sequence,(s,h)=>(Ir(),ei("div",{key:`${s}-${h}`,class:"d-flex justify-center align-center fragment-segment sequence-text",style:zs(n.fragmentStyle)},io(s),5))),128))]),ti("div",{style:zs(n.fragmentTypeContainerStyle)},[(Ir(!0),ei(Yr,null,Hl(n.byData,s=>(Ir(),ei("div",{key:s.mass,class:"d-flex",style:zs(n.fragmentTypeOverlayStyle)},[(Ir(!0),ei(Yr,null,Hl(n.sequence,(h,c)=>(Ir(),ei("div",{key:`${h}-${c}`,class:Ju(n.fragmentClasses(c,s.start,s.end,"by-fragment")),style:zs([{border:"1px solid white"},n.fragmentStyle])},null,6))),128))],4))),128))],4),ti("div",{style:zs(n.fragmentTypeContainerStyle)},[(Ir(!0),ei(Yr,null,Hl(n.cyData,s=>(Ir(),ei("div",{key:s.mass,class:"d-flex",style:zs(n.fragmentTypeOverlayStyle)},[(Ir(!0),ei(Yr,null,Hl(n.sequence,(h,c)=>(Ir(),ei("div",{key:`${h}-${c}`,class:Ju(n.fragmentClasses(c,s.start,s.end,"cy-fragment")),style:zs([{border:"1px solid white"},n.fragmentStyle])},null,6))),128))],4))),128))],4),ti("div",{style:zs(n.fragmentTypeContainerStyle)},[(Ir(!0),ei(Yr,null,Hl(n.bzData,s=>(Ir(),ei("div",{key:s.mass,class:"d-flex",style:zs(n.fragmentTypeOverlayStyle)},[(Ir(!0),ei(Yr,null,Hl(n.sequence,(h,c)=>(Ir(),ei("div",{key:`${h}-${c}`,class:Ju(n.fragmentClasses(c,s.start,s.end,"bz-fragment")),style:zs([{border:"1px solid white"},n.fragmentStyle])},null,6))),128))],4))),128))],4)])]),_:1},8,["theme"])],64)}const wz=hs(hz,[["render",_z],["__scopeId","data-v-ece55ad7"]]),Tz=ns({name:"FDRPlotly",props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Ns();return console.log("I exist!"),{streamlitDataStore:n}},computed:{xValues_target(){return this.streamlitDataStore.allDataForDrawing.density_target===void 0?[]:this.streamlitDataStore.allDataForDrawing.density_target.map(n=>n.x)},xValues_decoy(){return this.streamlitDataStore.allDataForDrawing.density_decoy===void 0?[]:this.streamlitDataStore.allDataForDrawing.density_decoy.map(n=>n.x)},yValues_target(){return this.streamlitDataStore.allDataForDrawing.density_target===void 0?[]:this.streamlitDataStore.allDataForDrawing.density_target.map(n=>n.y)},yValues_decoy(){return this.streamlitDataStore.allDataForDrawing.density_decoy===void 0?[]:this.streamlitDataStore.allDataForDrawing.density_decoy.map(n=>n.y)},id(){return`graph-${this.index}`},layout(){return{title:`${this.args.title}`,showlegend:!0,height:400,xaxis:{title:"QScore",showgrid:!1},yaxis:{title:"Density",showgrid:!0,rangemode:"nonnegative",fixedrange:!0},paper_bgcolor:"white",plot_bgcolor:"white",font:{color:"black",family:"Arial"}}},data(){return[{x:this.xValues_target,y:this.yValues_target,mode:"lines+markers",type:"scatter",name:"Target QScores",marker:{color:"green"}},{x:this.xValues_decoy,y:this.yValues_decoy,mode:"lines+markers",type:"scatter",name:"Decoy QScores",marker:{color:"red"}}]}},watch:{xValues_target(){this.graph()}},mounted(){this.graph()},methods:{async graph(){await _l.newPlot(this.id,this.data,this.layout,{modeBarButtonsToRemove:["toImage","sendDataToCloud"],modeBarButtonsToAdd:[{title:"Download as SVG",name:"toImageSvg",icon:_l.Icons.camera,click:n=>{_l.downloadImage(n,{filename:"FDR-plot",height:400,width:1200,format:"svg"})}}]})}}}),kz=["id"];function Mz(n,e,r,S,D,T){return Ir(),ei("div",{id:n.id,style:{width:"100%"}},null,8,kz)}const Az=hs(Tz,[["render",Mz]]),Sz=ns({name:"ComponentsRow",components:{InternalFragmentMap:wz,FLASHQuantView:cz,Plotly3Dplot:kO,PlotlyHeatmap:lR,TabulatorScanTable:mO,PlotlyLineplotUnified:xO,TabulatorMassTable:SO,TabulatorProteinTable:LO,TabulatorTagTable:PO,SequenceView:az,FDRPlotly:Az},props:{components:{type:Object,required:!0},rowIndex:{type:Number,required:!0}},data(){return{componentHeightMapping:{TabulatorScanTable:"height-any",TabulatorMassTable:"height-any",TabulatorProteinTable:"height-any",TabulatorTagTable:"height-any",PlotlyLineplot:"height-any",PlotlyLineplotTagger:"height-any",PlotlyLineplotUnified:"height-any",PlotlyHeatmap:"height-any",Plotly3Dplot:"height-any",SequenceView:"height-any",InternalFragmentMap:"height-any",FDRPlotly:"height-any"}}},methods:{componentClasses(n){return{[this.componentHeightMapping[n]]:!0,[`component-width-${this.components.length}`]:!0}},componentIndex(n){return n+this.rowIndex*100}}});const Cz={class:"component-row"};function Ez(n,e,r,S,D,T){const p=Gr("PlotlyHeatmap"),t=Gr("TabulatorScanTable"),d=Gr("TabulatorMassTable"),g=Gr("TabulatorProteinTable"),i=Gr("TabulatorTagTable"),M=Gr("PlotlyLineplotUnified"),v=Gr("Plotly3Dplot"),f=Gr("SequenceView"),l=Gr("InternalFragmentMap"),a=Gr("FLASHQuantView"),u=Gr("FDRPlotly");return Ir(),ei("div",Cz,[(Ir(!0),ei(Yr,null,Hl(n.components,(o,s)=>(Ir(),ei("div",{key:s,class:Ju(n.componentClasses(o.componentArgs.componentName))},[o.componentArgs.componentName==="PlotlyHeatmap"?(Ir(),za(p,{key:0,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="TabulatorScanTable"?(Ir(),za(t,{key:1,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="TabulatorMassTable"?(Ir(),za(d,{key:2,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="TabulatorProteinTable"?(Ir(),za(g,{key:3,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="TabulatorTagTable"?(Ir(),za(i,{key:4,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="PlotlyLineplot"?(Ir(),za(M,{key:5,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="PlotlyLineplotTagger"?(Ir(),za(M,{key:6,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="Plotly3Dplot"?(Ir(),za(v,{key:7,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="SequenceView"?(Ir(),za(f,{key:8,index:n.componentIndex(s)},null,8,["index"])):o.componentArgs.componentName==="InternalFragmentMap"?(Ir(),za(l,{key:9,index:n.componentIndex(s)},null,8,["index"])):o.componentArgs.componentName==="FLASHQuantView"?(Ir(),za(a,{key:10})):o.componentArgs.componentName==="FDRPlotly"?(Ir(),za(u,{key:11,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):Yi("",!0)],2))),128))])}const Lz=hs(Sz,[["render",Ez],["__scopeId","data-v-942c08f7"]]),Iz=ns({name:"ComponentsLayout",components:{ComponentsRow:Lz},props:{components:{type:Object,required:!0}},data(){return{columns:6}},methods:{componentRowClasses(){return{"[`height-${layout.height ?? 1}`]":!0,[`component-width-${this.components.length}`]:!0}}}});const Rz={class:"component-layout"};function Pz(n,e,r,S,D,T){const p=Gr("ComponentsRow");return Ir(),ei("div",Rz,[(Ir(!0),ei(Yr,null,Hl(n.components,(t,d)=>(Ir(),za(p,{key:d,components:t,"row-index":d},null,8,["components","row-index"]))),128))])}const Oz=hs(Iz,[["render",Pz],["__scopeId","data-v-721e06dc"]]),Dz=ns({name:"App",components:{ComponentsLayout:Oz},setup(){const n=Ns(),e=rc();return $r(e.$state,r=>{Wu.setComponentValue(wi(r))},{deep:!0,immediate:!0}),{streamlitDataStore:n,selectionStore:e}},data(){return{timer:void 0}},computed:{components(){var n;return(n=this.streamlitDataStore.args)==null?void 0:n.components}},created(){Wu.setComponentReady(),Wu.setFrameHeight(500),Wu.events.addEventListener(Wu.RENDER_EVENT,this.updateStreamlitData)},mounted(){this.timer=setInterval(()=>{Wu.setFrameHeight()},500)},unmounted(){Wu.events.removeEventListener(Wu.RENDER_EVENT,this.updateStreamlitData),clearInterval(this.timer)},updated(){Wu.setFrameHeight()},methods:{async updateStreamlitData(n){this.streamlitDataStore.updateRenderData(n.detail)}}});const zz={key:0},Fz={key:1,class:"d-flex w-100",style:{height:"400px"}};function Bz(n,e,r,S,D,T){const p=Gr("ComponentsLayout"),t=Gr("v-progress-linear"),d=Gr("v-alert");return n.components!==void 0&&n.components.length>0?(Ir(),ei("div",zz,[gt(p,{components:n.components},null,8,["components"])])):(Ir(),ei("div",Fz,[gt(d,{class:"h-50 ma-16 pr-16",icon:"mdi-application-variable-outline",title:"FLASHViewer loading",type:"info"},{default:ci(()=>[gt(t,{indeterminate:""}),ia(" Please wait... ")]),_:1})]))}const Nz=hs(Dz,[["render",Bz]]);const to=typeof window<"u",$2=to&&"IntersectionObserver"in window,Vz=to&&("ontouchstart"in window||window.navigator.maxTouchPoints>0);function b5(n,e,r){jz(n,e),e.set(n,r)}function jz(n,e){if(e.has(n))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Uz(n,e,r){var S=l6(n,e,"set");return Hz(n,S,r),r}function Hz(n,e,r){if(e.set)e.set.call(n,r);else{if(!e.writable)throw new TypeError("attempted to set read only private field");e.value=r}}function _d(n,e){var r=l6(n,e,"get");return Gz(n,r)}function l6(n,e,r){if(!e.has(n))throw new TypeError("attempted to "+r+" private field on non-instance");return e.get(n)}function Gz(n,e){return e.get?e.get.call(n):e.value}function u6(n,e,r){const S=e.length-1;if(S<0)return n===void 0?r:n;for(let D=0;Db0(n[S],e[S]))}function ix(n,e,r){return n==null||!e||typeof e!="string"?r:n[e]!==void 0?n[e]:(e=e.replace(/\[(\w+)\]/g,".$1"),e=e.replace(/^\./,""),u6(n,e.split("."),r))}function ph(n,e,r){if(e==null)return n===void 0?r:n;if(n!==Object(n)){if(typeof e!="function")return r;const D=e(n,r);return typeof D>"u"?r:D}if(typeof e=="string")return ix(n,e,r);if(Array.isArray(e))return u6(n,e,r);if(typeof e!="function")return r;const S=e(n,r);return typeof S>"u"?r:S}function Kh(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:n},(r,S)=>e+S)}function Qr(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(!(n==null||n===""))return isNaN(+n)?String(n):isFinite(+n)?`${Number(n)}${e}`:void 0}function ax(n){return n!==null&&typeof n=="object"&&!Array.isArray(n)}function ox(n){return n&&"$el"in n?n.$el:n}const x5=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16}),sx=Object.freeze({enter:"Enter",tab:"Tab",delete:"Delete",esc:"Escape",space:"Space",up:"ArrowUp",down:"ArrowDown",left:"ArrowLeft",right:"ArrowRight",end:"End",home:"Home",del:"Delete",backspace:"Backspace",insert:"Insert",pageup:"PageUp",pagedown:"PageDown",shift:"Shift"});function c6(n){return Object.keys(n)}function Od(n,e){return e.every(r=>n.hasOwnProperty(r))}function $d(n,e,r){const S=Object.create(null),D=Object.create(null);for(const T in n)e.some(p=>p instanceof RegExp?p.test(T):p===T)&&!(r!=null&&r.some(p=>p===T))?S[T]=n[T]:D[T]=n[T];return[S,D]}function ic(n,e){const r={...n};return e.forEach(S=>delete r[S]),r}const h6=/^on[^a-z]/,Z2=n=>h6.test(n),qz=["onAfterscriptexecute","onAnimationcancel","onAnimationend","onAnimationiteration","onAnimationstart","onAuxclick","onBeforeinput","onBeforescriptexecute","onChange","onClick","onCompositionend","onCompositionstart","onCompositionupdate","onContextmenu","onCopy","onCut","onDblclick","onFocusin","onFocusout","onFullscreenchange","onFullscreenerror","onGesturechange","onGestureend","onGesturestart","onGotpointercapture","onInput","onKeydown","onKeypress","onKeyup","onLostpointercapture","onMousedown","onMousemove","onMouseout","onMouseover","onMouseup","onMousewheel","onPaste","onPointercancel","onPointerdown","onPointerenter","onPointerleave","onPointermove","onPointerout","onPointerover","onPointerup","onReset","onSelect","onSubmit","onTouchcancel","onTouchend","onTouchmove","onTouchstart","onTransitioncancel","onTransitionend","onTransitionrun","onTransitionstart","onWheel"];function Qd(n){const[e,r]=$d(n,[h6]),S=ic(e,qz),[D,T]=$d(r,["class","style","id",/^data-/]);return Object.assign(D,e),Object.assign(T,S),[D,T]}function bu(n){return n==null?[]:Array.isArray(n)?n:[n]}function Zs(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(e,Math.min(r,n))}function _5(n){const e=n.toString().trim();return e.includes(".")?e.length-e.indexOf(".")-1:0}function w5(n,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0";return n+r.repeat(Math.max(0,e-n.length))}function Wz(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const r=[];let S=0;for(;S1&&arguments[1]!==void 0?arguments[1]:1e3;if(n=e&&S0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;const S={};for(const D in n)S[D]=n[D];for(const D in e){const T=n[D],p=e[D];if(ax(T)&&ax(p)){S[D]=Ku(T,p,r);continue}if(Array.isArray(T)&&Array.isArray(p)&&r){S[D]=r(T,p);continue}S[D]=p}return S}function f6(n){return n.map(e=>e.type===Yr?f6(e.children):e).flat()}function Ud(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(Ud.cache.has(n))return Ud.cache.get(n);const e=n.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return Ud.cache.set(n,e),e}Ud.cache=new Map;function ym(n,e){if(!e||typeof e!="object")return[];if(Array.isArray(e))return e.map(r=>ym(n,r)).flat(1);if(Array.isArray(e.children))return e.children.map(r=>ym(n,r)).flat(1);if(e.component){if(Object.getOwnPropertySymbols(e.component.provides).includes(n))return[e.component];if(e.component.subTree)return ym(n,e.component.subTree).flat(1)}return[]}var sv=new WeakMap,Sp=new WeakMap;class Yz{constructor(e){b5(this,sv,{writable:!0,value:[]}),b5(this,Sp,{writable:!0,value:0}),this.size=e}push(e){_d(this,sv)[_d(this,Sp)]=e,Uz(this,Sp,(_d(this,Sp)+1)%this.size)}values(){return _d(this,sv).slice(_d(this,Sp)).concat(_d(this,sv).slice(0,_d(this,Sp)))}}function $z(n){return"touches"in n?{clientX:n.touches[0].clientX,clientY:n.touches[0].clientY}:{clientX:n.clientX,clientY:n.clientY}}function X2(n){const e=yl({}),r=cn(n);return wu(()=>{for(const S in r.value)e[S]=r.value[S]},{flush:"sync"}),by(e)}function ly(n,e){return n.includes(e)}function d6(n){return n[2].toLowerCase()+n.slice(3)}const yh=()=>[Function,Array];function k5(n,e){return e="on"+sf(e),!!(n[e]||n[`${e}Once`]||n[`${e}Capture`]||n[`${e}OnceCapture`]||n[`${e}CaptureOnce`])}function K2(n){for(var e=arguments.length,r=new Array(e>1?e-1:0),S=1;S1&&arguments[1]!==void 0?arguments[1]:!0;const r=["button","[href]",'input:not([type="hidden"])',"select","textarea","[tabindex]"].map(S=>`${S}${e?':not([tabindex="-1"])':""}:not([disabled])`).join(", ");return[...n.querySelectorAll(r)]}function p6(n,e,r){let S,D=n.indexOf(document.activeElement);const T=e==="next"?1:-1;do D+=T,S=n[D];while((!S||S.offsetParent==null||!((r==null?void 0:r(S))??!0))&&D=0);return S}function uy(n,e){var S,D,T,p;const r=Dm(n);if(!e)(n===document.activeElement||!n.contains(document.activeElement))&&((S=r[0])==null||S.focus());else if(e==="first")(D=r[0])==null||D.focus();else if(e==="last")(T=r.at(-1))==null||T.focus();else if(typeof e=="number")(p=r[e])==null||p.focus();else{const t=p6(r,e);t?t.focus():uy(n,e==="next"?"first":"last")}}function m6(){}function l0(n,e){if(!(to&&typeof CSS<"u"&&typeof CSS.supports<"u"&&CSS.supports(`selector(${e})`)))return null;try{return!!n&&n.matches(e)}catch{return null}}const g6=["top","bottom"],Zz=["start","end","left","right"];function lx(n,e){let[r,S]=n.split(" ");return S||(S=ly(g6,r)?"start":ly(Zz,r)?"top":"center"),{side:ux(r,e),align:ux(S,e)}}function ux(n,e){return n==="start"?e?"right":"left":n==="end"?e?"left":"right":n}function gb(n){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[n.side],align:n.align}}function vb(n){return{side:n.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[n.align]}}function M5(n){return{side:n.align,align:n.side}}function A5(n){return ly(g6,n.side)?"y":"x"}class Yp{constructor(e){let{x:r,y:S,width:D,height:T}=e;this.x=r,this.y=S,this.width=D,this.height=T}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function S5(n,e){return{x:{before:Math.max(0,e.left-n.left),after:Math.max(0,n.right-e.right)},y:{before:Math.max(0,e.top-n.top),after:Math.max(0,n.bottom-e.bottom)}}}function J2(n){const e=n.getBoundingClientRect(),r=getComputedStyle(n),S=r.transform;if(S){let D,T,p,t,d;if(S.startsWith("matrix3d("))D=S.slice(9,-1).split(/, /),T=+D[0],p=+D[5],t=+D[12],d=+D[13];else if(S.startsWith("matrix("))D=S.slice(7,-1).split(/, /),T=+D[0],p=+D[3],t=+D[4],d=+D[5];else return new Yp(e);const g=r.transformOrigin,i=e.x-t-(1-T)*parseFloat(g),M=e.y-d-(1-p)*parseFloat(g.slice(g.indexOf(" ")+1)),v=T?e.width/T:n.offsetWidth+1,f=p?e.height/p:n.offsetHeight+1;return new Yp({x:i,y:M,width:v,height:f})}else return new Yp(e)}function Dd(n,e,r){if(typeof n.animate>"u")return{finished:Promise.resolve()};let S;try{S=n.animate(e,r)}catch{return{finished:Promise.resolve()}}return typeof S.finished>"u"&&(S.finished=new Promise(D=>{S.onfinish=()=>{D(S)}})),S}const Tv=new WeakMap;function Xz(n,e){Object.keys(e).forEach(r=>{if(Z2(r)){const S=d6(r),D=Tv.get(n);if(e[r]==null)D==null||D.forEach(T=>{const[p,t]=T;p===S&&(n.removeEventListener(S,t),D.delete(T))});else if(!D||![...D].some(T=>T[0]===S&&T[1]===e[r])){n.addEventListener(S,e[r]);const T=D||new Set;T.add([S,e[r]]),Tv.has(n)||Tv.set(n,T)}}else e[r]==null?n.removeAttribute(r):n.setAttribute(r,e[r])})}function Kz(n,e){Object.keys(e).forEach(r=>{if(Z2(r)){const S=d6(r),D=Tv.get(n);D==null||D.forEach(T=>{const[p,t]=T;p===S&&(n.removeEventListener(S,t),D.delete(T))})}else n.removeAttribute(r)})}const Cp=2.4,C5=.2126729,E5=.7151522,L5=.072175,Jz=.55,Qz=.58,eF=.57,tF=.62,lv=.03,I5=1.45,nF=5e-4,rF=1.25,iF=1.25,R5=.078,P5=12.82051282051282,uv=.06,O5=.001;function D5(n,e){const r=(n.r/255)**Cp,S=(n.g/255)**Cp,D=(n.b/255)**Cp,T=(e.r/255)**Cp,p=(e.g/255)**Cp,t=(e.b/255)**Cp;let d=r*C5+S*E5+D*L5,g=T*C5+p*E5+t*L5;if(d<=lv&&(d+=(lv-d)**I5),g<=lv&&(g+=(lv-g)**I5),Math.abs(g-d)d){const M=(g**Jz-d**Qz)*rF;i=M-O5?0:M>-R5?M-M*P5*uv:M+uv}return i*100}function aF(n,e){e=Array.isArray(e)?e.slice(0,-1).map(r=>`'${r}'`).join(", ")+` or '${e.at(-1)}'`:`'${e}'`}const cy=.20689655172413793,oF=n=>n>cy**3?Math.cbrt(n):n/(3*cy**2)+4/29,sF=n=>n>cy?n**3:3*cy**2*(n-4/29);function v6(n){const e=oF,r=e(n[1]);return[116*r-16,500*(e(n[0]/.95047)-r),200*(r-e(n[2]/1.08883))]}function y6(n){const e=sF,r=(n[0]+16)/116;return[e(r+n[1]/500)*.95047,e(r),e(r-n[2]/200)*1.08883]}const lF=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],uF=n=>n<=.0031308?n*12.92:1.055*n**(1/2.4)-.055,cF=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],hF=n=>n<=.04045?n/12.92:((n+.055)/1.055)**2.4;function b6(n){const e=Array(3),r=uF,S=lF;for(let D=0;D<3;++D)e[D]=Math.round(Zs(r(S[D][0]*n[0]+S[D][1]*n[1]+S[D][2]*n[2]))*255);return{r:e[0],g:e[1],b:e[2]}}function Q2(n){let{r:e,g:r,b:S}=n;const D=[0,0,0],T=hF,p=cF;e=T(e/255),r=T(r/255),S=T(S/255);for(let t=0;t<3;++t)D[t]=p[t][0]*e+p[t][1]*r+p[t][2]*S;return D}function z5(n){return!!n&&/^(#|var\(--|(rgb|hsl)a?\()/.test(n)}const F5=/^(?(?:rgb|hsl)a?)\((?.+)\)/,fF={rgb:(n,e,r,S)=>({r:n,g:e,b:r,a:S}),rgba:(n,e,r,S)=>({r:n,g:e,b:r,a:S}),hsl:(n,e,r,S)=>B5({h:n,s:e,l:r,a:S}),hsla:(n,e,r,S)=>B5({h:n,s:e,l:r,a:S}),hsv:(n,e,r,S)=>rf({h:n,s:e,v:r,a:S}),hsva:(n,e,r,S)=>rf({h:n,s:e,v:r,a:S})};function Pc(n){if(typeof n=="number")return{r:(n&16711680)>>16,g:(n&65280)>>8,b:n&255};if(typeof n=="string"&&F5.test(n)){const{groups:e}=n.match(F5),{fn:r,values:S}=e,D=S.split(/,\s*/).map(T=>T.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(r)?parseFloat(T)/100:parseFloat(T));return fF[r](...D)}else if(typeof n=="string"){let e=n.startsWith("#")?n.slice(1):n;return[3,4].includes(e.length)?e=e.split("").map(r=>r+r).join(""):[6,8].includes(e.length),k6(e)}else if(typeof n=="object"){if(Od(n,["r","g","b"]))return n;if(Od(n,["h","s","l"]))return rf(e_(n));if(Od(n,["h","s","v"]))return rf(n)}throw new TypeError(`Invalid color: ${n==null?n:String(n)||n.constructor.name} -Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function rf(n){const{h:e,s:r,v:S,a:D}=n,T=t=>{const d=(t+e/60)%6;return S-S*r*Math.max(Math.min(d,4-d,1),0)},p=[T(5),T(3),T(1)].map(t=>Math.round(t*255));return{r:p[0],g:p[1],b:p[2],a:D}}function B5(n){return rf(e_(n))}function Xy(n){if(!n)return{h:0,s:1,v:1,a:1};const e=n.r/255,r=n.g/255,S=n.b/255,D=Math.max(e,r,S),T=Math.min(e,r,S);let p=0;D!==T&&(D===e?p=60*(0+(r-S)/(D-T)):D===r?p=60*(2+(S-e)/(D-T)):D===S&&(p=60*(4+(e-r)/(D-T)))),p<0&&(p=p+360);const t=D===0?0:(D-T)/D,d=[p,t,D];return{h:d[0],s:d[1],v:d[2],a:n.a}}function x6(n){const{h:e,s:r,v:S,a:D}=n,T=S-S*r/2,p=T===1||T===0?0:(S-T)/Math.min(T,1-T);return{h:e,s:p,l:T,a:D}}function e_(n){const{h:e,s:r,l:S,a:D}=n,T=S+r*Math.min(S,1-S),p=T===0?0:2-2*S/T;return{h:e,s:p,v:T,a:D}}function _6(n){let{r:e,g:r,b:S,a:D}=n;return D===void 0?`rgb(${e}, ${r}, ${S})`:`rgba(${e}, ${r}, ${S}, ${D})`}function w6(n){return _6(rf(n))}function cv(n){const e=Math.round(n).toString(16);return("00".substr(0,2-e.length)+e).toUpperCase()}function T6(n){let{r:e,g:r,b:S,a:D}=n;return`#${[cv(e),cv(r),cv(S),D!==void 0?cv(Math.round(D*255)):""].join("")}`}function k6(n){n=pF(n);let[e,r,S,D]=Wz(n,2).map(T=>parseInt(T,16));return D=D===void 0?D:D/255,{r:e,g:r,b:S,a:D}}function dF(n){const e=k6(n);return Xy(e)}function M6(n){return T6(rf(n))}function pF(n){return n.startsWith("#")&&(n=n.slice(1)),n=n.replace(/([^0-9a-f])/gi,"F"),(n.length===3||n.length===4)&&(n=n.split("").map(e=>e+e).join("")),n.length!==6&&(n=w5(w5(n,6),8,"F")),n}function mF(n,e){const r=v6(Q2(n));return r[0]=r[0]+e*10,b6(y6(r))}function gF(n,e){const r=v6(Q2(n));return r[0]=r[0]-e*10,b6(y6(r))}function cx(n){const e=Pc(n);return Q2(e)[1]}function vF(n,e){const r=cx(n),S=cx(e),D=Math.max(r,S),T=Math.min(r,S);return(D+.05)/(T+.05)}function A6(n){const e=Math.abs(D5(Pc(0),Pc(n)));return Math.abs(D5(Pc(16777215),Pc(n)))>Math.min(e,50)?"#fff":"#000"}function ur(n,e){return r=>Object.keys(n).reduce((S,D)=>{const p=typeof n[D]=="object"&&n[D]!=null&&!Array.isArray(n[D])?n[D]:{type:n[D]};return r&&D in r?S[D]={...p,default:r[D]}:S[D]=p,e&&!S[D].source&&(S[D].source=e),S},{})}const Zr=ur({class:[String,Array],style:{type:[String,Array,Object],default:null}},"component");function ac(n){if(n._setup=n._setup??n.setup,!n.name)return n;if(n._setup){n.props=ur(n.props??{},n.name)();const e=Object.keys(n.props);n.filterProps=function(S){return $d(S,e,["class","style"])},n.props._as=String,n.setup=function(S,D){const T=r_();if(!T.value)return n._setup(S,D);const{props:p,provideSubDefaults:t}=MF(S,S._as??n.name,T),d=n._setup(p,D);return t(),d}}return n}function Ar(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return e=>(n?ac:ns)(e)}function Nc(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",r=arguments.length>2?arguments[2]:void 0;return Ar()({name:r??sf(tc(n.replace(/__/g,"-"))),props:{tag:{type:String,default:e},...Zr()},setup(S,D){let{slots:T}=D;return()=>{var p;return Xf(S.tag,{class:[n,S.class],style:S.style},(p=T.default)==null?void 0:p.call(T))}}})}function S6(n){if(typeof n.getRootNode!="function"){for(;n.parentNode;)n=n.parentNode;return n!==document?null:document}const e=n.getRootNode();return e!==document&&e.getRootNode({composed:!0})!==document?null:e}const zm="cubic-bezier(0.4, 0, 0.2, 1)",yF="cubic-bezier(0.0, 0, 0.2, 1)",bF="cubic-bezier(0.4, 0, 1, 1)";function Ss(n,e){const r=Ey();if(!r)throw new Error(`[Vuetify] ${n} ${e||"must be called from inside a setup function"}`);return r}function ff(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables";const e=Ss(n).type;return Ud((e==null?void 0:e.aliasName)||(e==null?void 0:e.name))}let C6=0,kv=new WeakMap;function Js(){const n=Ss("getUid");if(kv.has(n))return kv.get(n);{const e=C6++;return kv.set(n,e),e}}Js.reset=()=>{C6=0,kv=new WeakMap};function t_(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(;n;){if(e?xF(n):n_(n))return n;n=n.parentElement}return document.scrollingElement}function hy(n,e){const r=[];if(e&&n&&!e.contains(n))return r;for(;n&&(n_(n)&&r.push(n),n!==e);)n=n.parentElement;return r}function n_(n){if(!n||n.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(n);return e.overflowY==="scroll"||e.overflowY==="auto"&&n.scrollHeight>n.clientHeight}function xF(n){if(!n||n.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(n);return["scroll","auto"].includes(e.overflowY)}function _F(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ss("injectSelf");const{provides:r}=e;if(r&&n in r)return r[n]}function wF(n){for(;n;){if(window.getComputedStyle(n).position==="fixed")return!0;n=n.offsetParent}return!1}function Or(n){const e=Ss("useRender");e.render=n}const u0=Symbol.for("vuetify:defaults");function TF(n){return Vr(n)}function r_(){const n=ka(u0);if(!n)throw new Error("[Vuetify] Could not find defaults instance");return n}function es(n,e){const r=r_(),S=Vr(n),D=cn(()=>{if(yu(e==null?void 0:e.disabled))return r.value;const p=yu(e==null?void 0:e.scoped),t=yu(e==null?void 0:e.reset),d=yu(e==null?void 0:e.root);if(S.value==null&&!(p||t||d))return r.value;let g=Ku(S.value,{prev:r.value});if(p)return g;if(t||d){const i=Number(t||1/0);for(let M=0;M<=i&&!(!g||!("prev"in g));M++)g=g.prev;return g&&typeof d=="string"&&d in g&&(g=Ku(Ku(g,{prev:g}),g[d])),g}return g.prev?Ku(g.prev,g):g});return ts(u0,D),D}function kF(n,e){var r,S;return typeof((r=n.props)==null?void 0:r[e])<"u"||typeof((S=n.props)==null?void 0:S[Ud(e)])<"u"}function MF(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:r_();const S=Ss("useDefaults");if(e=e??S.type.name??S.type.__name,!e)throw new Error("[Vuetify] Could not determine component name");const D=cn(()=>{var d;return(d=r.value)==null?void 0:d[n._as??e]}),T=new Proxy(n,{get(d,g){var M,v,f,l;const i=Reflect.get(d,g);return g==="class"||g==="style"?[(M=D.value)==null?void 0:M[g],i].filter(a=>a!=null):typeof g=="string"&&!kF(S.vnode,g)?((v=D.value)==null?void 0:v[g])??((l=(f=r.value)==null?void 0:f.global)==null?void 0:l[g])??i:i}}),p=Wr();wu(()=>{if(D.value){const d=Object.entries(D.value).filter(g=>{let[i]=g;return i.startsWith(i[0].toUpperCase())});p.value=d.length?Object.fromEntries(d):void 0}else p.value=void 0});function t(){const d=_F(u0,S);ts(u0,cn(()=>p.value?Ku((d==null?void 0:d.value)??{},p.value):d==null?void 0:d.value))}return{props:T,provideSubDefaults:t}}const Ky=["sm","md","lg","xl","xxl"],hx=Symbol.for("vuetify:display"),N5={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}},AF=function(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:N5;return Ku(N5,n)};function V5(n){return to&&!n?window.innerWidth:typeof n=="object"&&n.clientWidth||0}function j5(n){return to&&!n?window.innerHeight:typeof n=="object"&&n.clientHeight||0}function U5(n){const e=to&&!n?window.navigator.userAgent:"ssr";function r(l){return!!e.match(l)}const S=r(/android/i),D=r(/iphone|ipad|ipod/i),T=r(/cordova/i),p=r(/electron/i),t=r(/chrome/i),d=r(/edge/i),g=r(/firefox/i),i=r(/opera/i),M=r(/win/i),v=r(/mac/i),f=r(/linux/i);return{android:S,ios:D,cordova:T,electron:p,chrome:t,edge:d,firefox:g,opera:i,win:M,mac:v,linux:f,touch:Vz,ssr:e==="ssr"}}function SF(n,e){const{thresholds:r,mobileBreakpoint:S}=AF(n),D=Wr(j5(e)),T=Wr(U5(e)),p=yl({}),t=Wr(V5(e));function d(){D.value=j5(),t.value=V5()}function g(){d(),T.value=U5()}return wu(()=>{const i=t.value=r.xxl,u=i?"xs":M?"sm":v?"md":f?"lg":l?"xl":"xxl",o=typeof S=="number"?S:r[S],s=t.valueXf(a_,{...n,class:"mdi"})},bi=[String,Function,Object,Array],fx=Symbol.for("vuetify:icons"),Jy=ur({icon:{type:bi},tag:{type:String,required:!0}},"icon"),dx=Ar()({name:"VComponentIcon",props:Jy(),setup(n,e){let{slots:r}=e;return()=>{const S=n.icon;return gt(n.tag,null,{default:()=>{var D;return[n.icon?gt(S,null,null):(D=r.default)==null?void 0:D.call(r)]}})}}}),i_=ac({name:"VSvgIcon",inheritAttrs:!1,props:Jy(),setup(n,e){let{attrs:r}=e;return()=>gt(n.tag,qr(r,{style:null}),{default:()=>[gt("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(n.icon)?n.icon.map(S=>Array.isArray(S)?gt("path",{d:S[0],"fill-opacity":S[1]},null):gt("path",{d:S},null)):gt("path",{d:n.icon},null)])]})}}),LF=ac({name:"VLigatureIcon",props:Jy(),setup(n){return()=>gt(n.tag,null,{default:()=>[n.icon]})}}),a_=ac({name:"VClassIcon",props:Jy(),setup(n){return()=>gt(n.tag,{class:n.icon},null)}}),IF={svg:{component:i_},class:{component:a_}};function RF(n){return Ku({defaultSet:"mdi",sets:{...IF,mdi:EF},aliases:{...CF,vuetify:["M8.2241 14.2009L12 21L22 3H14.4459L8.2241 14.2009Z",["M7.26303 12.4733L7.00113 12L2 3H12.5261C12.5261 3 12.5261 3 12.5261 3L7.26303 12.4733Z",.6]],"vuetify-outline":"svg:M7.26 12.47 12.53 3H2L7.26 12.47ZM14.45 3 8.22 14.2 12 21 22 3H14.45ZM18.6 5 12 16.88 10.51 14.2 15.62 5ZM7.26 8.35 5.4 5H9.13L7.26 8.35Z"}},n)}const PF=n=>{const e=ka(fx);if(!e)throw new Error("Missing Vuetify Icons provide!");return{iconData:cn(()=>{var d;const S=yu(n);if(!S)return{component:dx};let D=S;if(typeof D=="string"&&(D=D.trim(),D.startsWith("$")&&(D=(d=e.aliases)==null?void 0:d[D.slice(1)])),!D)throw new Error(`Could not find aliased icon "${S}"`);if(Array.isArray(D))return{component:i_,icon:D};if(typeof D!="string")return{component:dx,icon:D};const T=Object.keys(e.sets).find(g=>typeof D=="string"&&D.startsWith(`${g}:`)),p=T?D.slice(T.length+1):D;return{component:e.sets[T??e.defaultSet].component,icon:p}})}},OF={badge:"Badge",open:"Open",close:"Close",dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},dateRangeInput:{divider:"to"},datePicker:{ok:"OK",cancel:"Cancel",range:{title:"Select dates",header:"Enter dates"},title:"Select date",header:"Enter date",input:{placeholder:"Enter date"}},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action",otp:"Please enter OTP character {0}"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},timePicker:{am:"AM",pm:"PM"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Go to page {0}",currentPage:"Page {0}, Current page",first:"First page",last:"Last page"}},stepper:{next:"Next",prev:"Previous"},rating:{ariaLabel:{item:"Rating {0} of {1}"}},loading:"Loading...",infiniteScroll:{loadMore:"Load more",empty:"No more"}},DF={af:!1,ar:!0,bg:!1,ca:!1,ckb:!1,cs:!1,de:!1,el:!1,en:!1,es:!1,et:!1,fa:!0,fi:!1,fr:!1,hr:!1,hu:!1,he:!0,id:!1,it:!1,ja:!1,ko:!1,lv:!1,lt:!1,nl:!1,no:!1,pl:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,srCyrl:!1,srLatn:!1,sv:!1,th:!1,tr:!1,az:!1,uk:!1,vi:!1,zhHans:!1,zhHant:!1};function $f(n,e){let r;function S(){r=Um(),r.run(()=>e.length?e(()=>{r==null||r.stop(),S()}):e())}$r(n,D=>{D&&!r?S():D||(r==null||r.stop(),r=void 0)},{immediate:!0}),Tl(()=>{r==null||r.stop()})}function xi(n,e,r){let S=arguments.length>3&&arguments[3]!==void 0?arguments[3]:M=>M,D=arguments.length>4&&arguments[4]!==void 0?arguments[4]:M=>M;const T=Ss("useProxiedModel"),p=Vr(n[e]!==void 0?n[e]:r),t=Ud(e),g=cn(t!==e?()=>{var M,v,f,l;return n[e],!!(((M=T.vnode.props)!=null&&M.hasOwnProperty(e)||(v=T.vnode.props)!=null&&v.hasOwnProperty(t))&&((f=T.vnode.props)!=null&&f.hasOwnProperty(`onUpdate:${e}`)||(l=T.vnode.props)!=null&&l.hasOwnProperty(`onUpdate:${t}`)))}:()=>{var M,v;return n[e],!!((M=T.vnode.props)!=null&&M.hasOwnProperty(e)&&((v=T.vnode.props)!=null&&v.hasOwnProperty(`onUpdate:${e}`)))});$f(()=>!g.value,()=>{$r(()=>n[e],M=>{p.value=M})});const i=cn({get(){const M=n[e];return S(g.value?M:p.value)},set(M){const v=D(M),f=wi(g.value?n[e]:p.value);f===v||S(f)===M||(p.value=v,T==null||T.emit(`update:${e}`,v))}});return Object.defineProperty(i,"externalValue",{get:()=>g.value?n[e]:p.value}),i}const H5="$vuetify.",G5=(n,e)=>n.replace(/\{(\d+)\}/g,(r,S)=>String(e[+S])),E6=(n,e,r)=>function(S){for(var D=arguments.length,T=new Array(D>1?D-1:0),p=1;pnew Intl.NumberFormat([n.value,e.value],S).format(r)}function yb(n,e,r){const S=xi(n,e,n[e]??r.value);return S.value=n[e]??r.value,$r(r,D=>{n[e]==null&&(S.value=r.value)}),S}function I6(n){return e=>{const r=yb(e,"locale",n.current),S=yb(e,"fallback",n.fallback),D=yb(e,"messages",n.messages);return{name:"vuetify",current:r,fallback:S,messages:D,t:E6(r,S,D),n:L6(r,S),provide:I6({current:r,fallback:S,messages:D})}}}function zF(n){const e=Wr((n==null?void 0:n.locale)??"en"),r=Wr((n==null?void 0:n.fallback)??"en"),S=Vr({en:OF,...n==null?void 0:n.messages});return{name:"vuetify",current:e,fallback:r,messages:S,t:E6(e,r,S),n:L6(e,r),provide:I6({current:e,fallback:r,messages:S})}}const c0=Symbol.for("vuetify:locale");function FF(n){return n.name!=null}function BF(n){const e=n!=null&&n.adapter&&FF(n==null?void 0:n.adapter)?n==null?void 0:n.adapter:zF(n),r=VF(e,n);return{...e,...r}}function oc(){const n=ka(c0);if(!n)throw new Error("[Vuetify] Could not find injected locale instance");return n}function NF(n){const e=ka(c0);if(!e)throw new Error("[Vuetify] Could not find injected locale instance");const r=e.provide(n),S=jF(r,e.rtl,n),D={...r,...S};return ts(c0,D),D}function VF(n,e){const r=Vr((e==null?void 0:e.rtl)??DF),S=cn(()=>r.value[n.current.value]??!1);return{isRtl:S,rtl:r,rtlClasses:cn(()=>`v-locale--is-${S.value?"rtl":"ltr"}`)}}function jF(n,e,r){const S=cn(()=>r.rtl??e.value[n.current.value]??!1);return{isRtl:S,rtl:e,rtlClasses:cn(()=>`v-locale--is-${S.value?"rtl":"ltr"}`)}}function Cs(){const n=ka(c0);if(!n)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:n.isRtl,rtlClasses:n.rtlClasses}}const Fm=Symbol.for("vuetify:theme"),oa=ur({theme:String},"theme"),im={defaultTheme:"light",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-bright":"#FFFFFF","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#6200EE","primary-darken-1":"#3700B3",secondary:"#03DAC6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#F5F5F5","theme-on-code":"#000000"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-bright":"#ccbfd6","surface-variant":"#a3a3a3","on-surface-variant":"#424242",primary:"#BB86FC","primary-darken-1":"#3700B3",secondary:"#03DAC5","secondary-darken-1":"#03DAC5",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"high-emphasis-opacity":1,"medium-emphasis-opacity":.7,"disabled-opacity":.5,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC"}}}};function UF(){var r,S;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:im;if(!n)return{...im,isDisabled:!0};const e={};for(const[D,T]of Object.entries(n.themes??{})){const p=T.dark||D==="dark"?(r=im.themes)==null?void 0:r.dark:(S=im.themes)==null?void 0:S.light;e[D]=Ku(p,T)}return Ku(im,{...n,themes:e})}function HF(n){const e=UF(n),r=Vr(e.defaultTheme),S=Vr(e.themes),D=cn(()=>{const i={};for(const[M,v]of Object.entries(S.value)){const f=i[M]={...v,colors:{...v.colors}};if(e.variations)for(const l of e.variations.colors){const a=f.colors[l];if(a)for(const u of["lighten","darken"]){const o=u==="lighten"?mF:gF;for(const s of Kh(e.variations[u],1))f.colors[`${l}-${u}-${s}`]=T6(o(Pc(a),s))}}for(const l of Object.keys(f.colors)){if(/^on-[a-z]/.test(l)||f.colors[`on-${l}`])continue;const a=`on-${l}`,u=Pc(f.colors[l]);f.colors[a]=A6(u)}}return i}),T=cn(()=>D.value[r.value]),p=cn(()=>{const i=[];T.value.dark&&wd(i,":root",["color-scheme: dark"]),wd(i,":root",q5(T.value));for(const[l,a]of Object.entries(D.value))wd(i,`.v-theme--${l}`,[`color-scheme: ${a.dark?"dark":"normal"}`,...q5(a)]);const M=[],v=[],f=new Set(Object.values(D.value).flatMap(l=>Object.keys(l.colors)));for(const l of f)/^on-[a-z]/.test(l)?wd(v,`.${l}`,[`color: rgb(var(--v-theme-${l})) !important`]):(wd(M,`.bg-${l}`,[`--v-theme-overlay-multiplier: var(--v-theme-${l}-overlay-multiplier)`,`background-color: rgb(var(--v-theme-${l})) !important`,`color: rgb(var(--v-theme-on-${l})) !important`]),wd(v,`.text-${l}`,[`color: rgb(var(--v-theme-${l})) !important`]),wd(v,`.border-${l}`,[`--v-border-color: var(--v-theme-${l})`]));return i.push(...M,...v),i.map((l,a)=>a===0?l:` ${l}`).join("")});function t(){return{style:[{children:p.value,id:"vuetify-theme-stylesheet",nonce:e.cspNonce||!1}]}}function d(i){if(e.isDisabled)return;const M=i._context.provides.usehead;if(M)if(M.push){const f=M.push(t);to&&$r(p,()=>{f.patch(t)})}else to?(M.addHeadObjs(cn(t)),wu(()=>M.updateDOM())):M.addHeadObjs(t());else{let l=function(){if(typeof document<"u"&&!f){const a=document.createElement("style");a.type="text/css",a.id="vuetify-theme-stylesheet",e.cspNonce&&a.setAttribute("nonce",e.cspNonce),f=a,document.head.appendChild(f)}f&&(f.innerHTML=p.value)};var v=l;let f=to?document.getElementById("vuetify-theme-stylesheet"):null;to?$r(p,l,{immediate:!0}):l()}}const g=cn(()=>e.isDisabled?void 0:`v-theme--${r.value}`);return{install:d,isDisabled:e.isDisabled,name:r,themes:S,current:T,computedThemes:D,themeClasses:g,styles:p,global:{name:r,current:T}}}function Ma(n){Ss("provideTheme");const e=ka(Fm,null);if(!e)throw new Error("Could not find Vuetify theme injection");const r=cn(()=>n.theme??e.name.value),S=cn(()=>e.themes.value[r.value]),D=cn(()=>e.isDisabled?void 0:`v-theme--${r.value}`),T={...e,name:r,current:S,themeClasses:D};return ts(Fm,T),T}function R6(){Ss("useTheme");const n=ka(Fm,null);if(!n)throw new Error("Could not find Vuetify theme injection");return n}function wd(n,e,r){n.push(`${e} { -`,...r.map(S=>` ${S}; -`),`} -`)}function q5(n){const e=n.dark?2:1,r=n.dark?1:2,S=[];for(const[D,T]of Object.entries(n.colors)){const p=Pc(T);S.push(`--v-theme-${D}: ${p.r},${p.g},${p.b}`),D.startsWith("on-")||S.push(`--v-theme-${D}-overlay-multiplier: ${cx(T)>.18?e:r}`)}for(const[D,T]of Object.entries(n.variables)){const p=typeof T=="string"&&T.startsWith("#")?Pc(T):void 0,t=p?`${p.r}, ${p.g}, ${p.b}`:void 0;S.push(`--v-${D}: ${t??T}`)}return S}const px={"001":1,AD:1,AE:6,AF:6,AG:0,AI:1,AL:1,AM:1,AN:1,AR:1,AS:0,AT:1,AU:1,AX:1,AZ:1,BA:1,BD:0,BE:1,BG:1,BH:6,BM:1,BN:1,BR:0,BS:0,BT:0,BW:0,BY:1,BZ:0,CA:0,CH:1,CL:1,CM:1,CN:1,CO:0,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DM:0,DO:0,DZ:6,EC:1,EE:1,EG:6,ES:1,ET:0,FI:1,FJ:1,FO:1,FR:1,GB:1,"GB-alt-variant":0,GE:1,GF:1,GP:1,GR:1,GT:0,GU:0,HK:0,HN:0,HR:1,HU:1,ID:0,IE:1,IL:0,IN:0,IQ:6,IR:6,IS:1,IT:1,JM:0,JO:6,JP:0,KE:0,KG:1,KH:0,KR:0,KW:6,KZ:1,LA:0,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MH:0,MK:1,MM:0,MN:1,MO:0,MQ:1,MT:0,MV:5,MX:0,MY:1,MZ:0,NI:0,NL:1,NO:1,NP:0,NZ:1,OM:6,PA:0,PE:0,PH:0,PK:0,PL:1,PR:0,PT:0,PY:0,QA:6,RE:1,RO:1,RS:1,RU:1,SA:0,SD:6,SE:1,SG:0,SI:1,SK:1,SM:1,SV:0,SY:6,TH:0,TJ:1,TM:1,TR:1,TT:0,TW:0,UA:1,UM:0,US:0,UY:1,UZ:1,VA:1,VE:0,VI:0,VN:1,WS:0,XK:1,YE:0,ZA:0,ZW:0};function GF(n,e){const r=[];let S=[];const D=P6(n),T=O6(n),p=D.getDay()-px[e.slice(-2).toUpperCase()],t=T.getDay()-px[e.slice(-2).toUpperCase()];for(let d=0;d{const S=new Date(W5);return S.setDate(W5.getDate()+e+r),new Intl.DateTimeFormat(n,{weekday:"narrow"}).format(S)})}function ZF(n,e,r){const S=new Date(n);let D={};switch(e){case"fullDateWithWeekday":D={weekday:"long",day:"numeric",month:"long",year:"numeric"};break;case"normalDateWithWeekday":D={weekday:"short",day:"numeric",month:"short"};break;case"keyboardDate":D={};break;case"monthAndDate":D={month:"long",day:"numeric"};break;case"monthAndYear":D={month:"long",year:"numeric"};break;case"dayOfMonth":D={day:"numeric"};break;default:D={timeZone:"UTC",timeZoneName:"short"}}return new Intl.DateTimeFormat(r,D).format(S)}function XF(n,e){const r=new Date(n);return r.setDate(r.getDate()+e),r}function KF(n,e){const r=new Date(n);return r.setMonth(r.getMonth()+e),r}function JF(n){return n.getFullYear()}function QF(n){return n.getMonth()}function eB(n){return new Date(n.getFullYear(),0,1)}function tB(n){return new Date(n.getFullYear(),11,31)}function nB(n,e){return mx(n,e[0])&&iB(n,e[1])}function rB(n){if(!n||n==null)return!1;const e=new Date(n);return e instanceof Date&&!isNaN(e.getTime())}function mx(n,e){return n.getTime()>e.getTime()}function iB(n,e){return n.getTime()1&&arguments[1]!==void 0?arguments[1]:"content";const r=Vr(),S=Vr();if(to){const D=new ResizeObserver(T=>{n==null||n(T,D),T.length&&(e==="content"?S.value=T[0].contentRect:S.value=T[0].target.getBoundingClientRect())});kl(()=>{D.disconnect()}),$r(r,(T,p)=>{p&&(D.unobserve(ox(p)),S.value=void 0),T&&D.observe(ox(T))},{flush:"post"})}return{resizeRef:r,contentRect:Hm(S)}}const fy=Symbol.for("vuetify:layout"),D6=Symbol.for("vuetify:layout-item"),Z5=1e3,z6=ur({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},"layout"),x0=ur({name:{type:String},order:{type:[Number,String],default:0},absolute:Boolean},"layout-item");function dB(){const n=ka(fy);if(!n)throw new Error("[Vuetify] Could not find injected layout");return{getLayoutItem:n.getLayoutItem,mainRect:n.mainRect,mainStyles:n.mainStyles}}function _0(n){const e=ka(fy);if(!e)throw new Error("[Vuetify] Could not find injected layout");const r=n.id??`layout-item-${Js()}`,S=Ss("useLayoutItem");ts(D6,{id:r});const D=Wr(!1);ZT(()=>D.value=!0),$T(()=>D.value=!1);const{layoutItemStyles:T,layoutItemScrimStyles:p}=e.register(S,{...n,active:cn(()=>D.value?!1:n.active.value),id:r});return kl(()=>e.unregister(r)),{layoutItemStyles:T,layoutRect:e.layoutRect,layoutItemScrimStyles:p}}const pB=(n,e,r,S)=>{let D={top:0,left:0,right:0,bottom:0};const T=[{id:"",layer:{...D}}];for(const p of n){const t=e.get(p),d=r.get(p),g=S.get(p);if(!t||!d||!g)continue;const i={...D,[t.value]:parseInt(D[t.value],10)+(g.value?parseInt(d.value,10):0)};T.push({id:p,layer:i}),D=i}return T};function F6(n){const e=ka(fy,null),r=cn(()=>e?e.rootZIndex.value-100:Z5),S=Vr([]),D=yl(new Map),T=yl(new Map),p=yl(new Map),t=yl(new Map),d=yl(new Map),{resizeRef:g,contentRect:i}=Th(),M=cn(()=>{const w=new Map,y=n.overlaps??[];for(const C of y.filter(_=>_.includes(":"))){const[_,k]=C.split(":");if(!S.value.includes(_)||!S.value.includes(k))continue;const E=D.get(_),x=D.get(k),A=T.get(_),L=T.get(k);!E||!x||!A||!L||(w.set(k,{position:E.value,amount:parseInt(A.value,10)}),w.set(_,{position:x.value,amount:-parseInt(L.value,10)}))}return w}),v=cn(()=>{const w=[...new Set([...p.values()].map(C=>C.value))].sort((C,_)=>C-_),y=[];for(const C of w){const _=S.value.filter(k=>{var E;return((E=p.get(k))==null?void 0:E.value)===C});y.push(..._)}return pB(y,D,T,t)}),f=cn(()=>!Array.from(d.values()).some(w=>w.value)),l=cn(()=>v.value[v.value.length-1].layer),a=cn(()=>({"--v-layout-left":Qr(l.value.left),"--v-layout-right":Qr(l.value.right),"--v-layout-top":Qr(l.value.top),"--v-layout-bottom":Qr(l.value.bottom),...f.value?void 0:{transition:"none"}})),u=cn(()=>v.value.slice(1).map((w,y)=>{let{id:C}=w;const{layer:_}=v.value[y],k=T.get(C),E=D.get(C);return{id:C,..._,size:Number(k.value),position:E.value}})),o=w=>u.value.find(y=>y.id===w),s=Ss("createLayout"),h=Wr(!1);Ks(()=>{h.value=!0}),ts(fy,{register:(w,y)=>{let{id:C,order:_,position:k,layoutSize:E,elementSize:x,active:A,disableTransitions:L,absolute:b}=y;p.set(C,_),D.set(C,k),T.set(C,E),t.set(C,A),L&&d.set(C,L);const I=ym(D6,s==null?void 0:s.vnode).indexOf(w);I>-1?S.value.splice(I,0,C):S.value.push(C);const O=cn(()=>u.value.findIndex(N=>N.id===C)),z=cn(()=>r.value+v.value.length*2-O.value*2),F=cn(()=>{const N=k.value==="left"||k.value==="right",W=k.value==="right",j=k.value==="bottom",$={[k.value]:0,zIndex:z.value,transform:`translate${N?"X":"Y"}(${(A.value?0:-110)*(W||j?-1:1)}%)`,position:b.value||r.value!==Z5?"absolute":"fixed",...f.value?void 0:{transition:"none"}};if(!h.value)return $;const U=u.value[O.value];if(!U)throw new Error(`[Vuetify] Could not find layout item "${C}"`);const G=M.value.get(C);return G&&(U[G.position]+=G.amount),{...$,height:N?`calc(100% - ${U.top}px - ${U.bottom}px)`:x.value?`${x.value}px`:void 0,left:W?void 0:`${U.left}px`,right:W?`${U.right}px`:void 0,top:k.value!=="bottom"?`${U.top}px`:void 0,bottom:k.value!=="top"?`${U.bottom}px`:void 0,width:N?x.value?`${x.value}px`:void 0:`calc(100% - ${U.left}px - ${U.right}px)`}}),B=cn(()=>({zIndex:z.value-1}));return{layoutItemStyles:F,layoutItemScrimStyles:B,zIndex:z}},unregister:w=>{p.delete(w),D.delete(w),T.delete(w),t.delete(w),d.delete(w),S.value=S.value.filter(y=>y!==w)},mainRect:l,mainStyles:a,getLayoutItem:o,items:u,layoutRect:i,rootZIndex:r});const c=cn(()=>["v-layout",{"v-layout--full-height":n.fullHeight}]),m=cn(()=>({zIndex:r.value,position:e?"relative":void 0,overflow:e?"hidden":void 0}));return{layoutClasses:c,layoutStyles:m,getLayoutItem:o,items:u,layoutRect:i,layoutRef:g}}function B6(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{blueprint:e,...r}=n,S=Ku(e,r),{aliases:D={},components:T={},directives:p={}}=S,t=TF(S.defaults),d=SF(S.display,S.ssr),g=HF(S.theme),i=RF(S.icons),M=BF(S.locale),v=fB(S.date);return{install:l=>{for(const a in p)l.directive(a,p[a]);for(const a in T)l.component(a,T[a]);for(const a in D)l.component(a,ac({...D[a],name:a,aliasName:D[a].name}));if(g.install(l),l.provide(u0,t),l.provide(hx,d),l.provide(Fm,g),l.provide(fx,i),l.provide(c0,M),l.provide($5,v),to&&S.ssr)if(l.$nuxt)l.$nuxt.hook("app:suspense:resolve",()=>{d.update()});else{const{mount:a}=l;l.mount=function(){const u=a(...arguments);return Ua(()=>d.update()),l.mount=a,u}}Js.reset(),l.mixin({computed:{$vuetify(){return yl({defaults:Ep.call(this,u0),display:Ep.call(this,hx),theme:Ep.call(this,Fm),icons:Ep.call(this,fx),locale:Ep.call(this,c0),date:Ep.call(this,$5)})}}})},defaults:t,display:d,theme:g,icons:i,locale:M,date:v}}const mB="3.3.16";B6.version=mB;function Ep(n){var S,D;const e=this.$,r=((S=e.parent)==null?void 0:S.provides)??((D=e.vnode.appContext)==null?void 0:D.provides);if(r&&n in r)return r[n]}const gB=ur({...Zr(),...z6({fullHeight:!0}),...oa()},"VApp"),vB=Ar()({name:"VApp",props:gB(),setup(n,e){let{slots:r}=e;const S=Ma(n),{layoutClasses:D,layoutStyles:T,getLayoutItem:p,items:t,layoutRef:d}=F6(n),{rtlClasses:g}=Cs();return Or(()=>{var i;return gt("div",{ref:d,class:["v-application",S.themeClasses.value,D.value,g.value,n.class],style:[T.value,n.style]},[gt("div",{class:"v-application__wrap"},[(i=r.default)==null?void 0:i.call(r)])])}),{getLayoutItem:p,items:t,theme:S}}});const Si=ur({tag:{type:String,default:"div"}},"tag"),N6=ur({text:String,...Zr(),...Si()},"VToolbarTitle"),o_=Ar()({name:"VToolbarTitle",props:N6(),setup(n,e){let{slots:r}=e;return Or(()=>{const S=!!(r.default||r.text||n.text);return gt(n.tag,{class:["v-toolbar-title",n.class],style:n.style},{default:()=>{var D;return[S&>("div",{class:"v-toolbar-title__placeholder"},[r.text?r.text():n.text,(D=r.default)==null?void 0:D.call(r)])]}})}),{}}}),yB=ur({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function Au(n,e,r){return Ar()({name:n,props:yB({mode:r,origin:e}),setup(S,D){let{slots:T}=D;const p={onBeforeEnter(t){S.origin&&(t.style.transformOrigin=S.origin)},onLeave(t){if(S.leaveAbsolute){const{offsetTop:d,offsetLeft:g,offsetWidth:i,offsetHeight:M}=t;t._transitionInitialStyles={position:t.style.position,top:t.style.top,left:t.style.left,width:t.style.width,height:t.style.height},t.style.position="absolute",t.style.top=`${d}px`,t.style.left=`${g}px`,t.style.width=`${i}px`,t.style.height=`${M}px`}S.hideOnLeave&&t.style.setProperty("display","none","important")},onAfterLeave(t){if(S.leaveAbsolute&&(t!=null&&t._transitionInitialStyles)){const{position:d,top:g,left:i,width:M,height:v}=t._transitionInitialStyles;delete t._transitionInitialStyles,t.style.position=d||"",t.style.top=g||"",t.style.left=i||"",t.style.width=M||"",t.style.height=v||""}}};return()=>{const t=S.group?_7:bh;return Xf(t,{name:S.disabled?"":n,css:!S.disabled,...S.group?void 0:{mode:S.mode},...S.disabled?{}:p},T.default)}}})}function V6(n,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return Ar()({name:n,props:{mode:{type:String,default:r},disabled:Boolean},setup(S,D){let{slots:T}=D;return()=>Xf(bh,{name:S.disabled?"":n,css:!S.disabled,...S.disabled?{}:e},T.default)}})}function j6(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const r=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)?"width":"height",S=tc(`offset-${r}`);return{onBeforeEnter(p){p._parent=p.parentNode,p._initialStyle={transition:p.style.transition,overflow:p.style.overflow,[r]:p.style[r]}},onEnter(p){const t=p._initialStyle;p.style.setProperty("transition","none","important"),p.style.overflow="hidden";const d=`${p[S]}px`;p.style[r]="0",p.offsetHeight,p.style.transition=t.transition,n&&p._parent&&p._parent.classList.add(n),requestAnimationFrame(()=>{p.style[r]=d})},onAfterEnter:T,onEnterCancelled:T,onLeave(p){p._initialStyle={transition:"",overflow:p.style.overflow,[r]:p.style[r]},p.style.overflow="hidden",p.style[r]=`${p[S]}px`,p.offsetHeight,requestAnimationFrame(()=>p.style[r]="0")},onAfterLeave:D,onLeaveCancelled:D};function D(p){n&&p._parent&&p._parent.classList.remove(n),T(p)}function T(p){const t=p._initialStyle[r];p.style.overflow=p._initialStyle.overflow,t!=null&&(p.style[r]=t),delete p._initialStyle}}const bB=ur({target:Object},"v-dialog-transition"),Qy=Ar()({name:"VDialogTransition",props:bB(),setup(n,e){let{slots:r}=e;const S={onBeforeEnter(D){D.style.pointerEvents="none",D.style.visibility="hidden"},async onEnter(D,T){var v;await new Promise(f=>requestAnimationFrame(f)),await new Promise(f=>requestAnimationFrame(f)),D.style.visibility="";const{x:p,y:t,sx:d,sy:g,speed:i}=K5(n.target,D),M=Dd(D,[{transform:`translate(${p}px, ${t}px) scale(${d}, ${g})`,opacity:0},{}],{duration:225*i,easing:yF});(v=X5(D))==null||v.forEach(f=>{Dd(f,[{opacity:0},{opacity:0,offset:.33},{}],{duration:225*2*i,easing:zm})}),M.finished.then(()=>T())},onAfterEnter(D){D.style.removeProperty("pointer-events")},onBeforeLeave(D){D.style.pointerEvents="none"},async onLeave(D,T){var v;await new Promise(f=>requestAnimationFrame(f));const{x:p,y:t,sx:d,sy:g,speed:i}=K5(n.target,D);Dd(D,[{},{transform:`translate(${p}px, ${t}px) scale(${d}, ${g})`,opacity:0}],{duration:125*i,easing:bF}).finished.then(()=>T()),(v=X5(D))==null||v.forEach(f=>{Dd(f,[{},{opacity:0,offset:.2},{opacity:0}],{duration:125*2*i,easing:zm})})},onAfterLeave(D){D.style.removeProperty("pointer-events")}};return()=>n.target?gt(bh,qr({name:"dialog-transition"},S,{css:!1}),r):gt(bh,{name:"dialog-transition"},r)}});function X5(n){var r;const e=(r=n.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list"))==null?void 0:r.children;return e&&[...e]}function K5(n,e){const r=n.getBoundingClientRect(),S=J2(e),[D,T]=getComputedStyle(e).transformOrigin.split(" ").map(o=>parseFloat(o)),[p,t]=getComputedStyle(e).getPropertyValue("--v-overlay-anchor-origin").split(" ");let d=r.left+r.width/2;p==="left"||t==="left"?d-=r.width/2:(p==="right"||t==="right")&&(d+=r.width/2);let g=r.top+r.height/2;p==="top"||t==="top"?g-=r.height/2:(p==="bottom"||t==="bottom")&&(g+=r.height/2);const i=r.width/S.width,M=r.height/S.height,v=Math.max(1,i,M),f=i/v||0,l=M/v||0,a=S.width*S.height/(window.innerWidth*window.innerHeight),u=a>.12?Math.min(1.5,(a-.12)*10+1):1;return{x:d-(D+S.left),y:g-(T+S.top),sx:f,sy:l,speed:u}}const xB=Au("fab-transition","center center","out-in"),_B=Au("dialog-bottom-transition"),wB=Au("dialog-top-transition"),gx=Au("fade-transition"),s_=Au("scale-transition"),TB=Au("scroll-x-transition"),kB=Au("scroll-x-reverse-transition"),MB=Au("scroll-y-transition"),AB=Au("scroll-y-reverse-transition"),SB=Au("slide-x-transition"),CB=Au("slide-x-reverse-transition"),l_=Au("slide-y-transition"),EB=Au("slide-y-reverse-transition"),e1=V6("expand-transition",j6()),u_=V6("expand-x-transition",j6("",!0)),LB=ur({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),Fa=Ar(!1)({name:"VDefaultsProvider",props:LB(),setup(n,e){let{slots:r}=e;const{defaults:S,disabled:D,reset:T,root:p,scoped:t}=by(n);return es(S,{reset:T,root:p,scoped:t,disabled:D}),()=>{var d;return(d=r.default)==null?void 0:d.call(r)}}});const sc=ur({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function lc(n){return{dimensionStyles:cn(()=>({height:Qr(n.height),maxHeight:Qr(n.maxHeight),maxWidth:Qr(n.maxWidth),minHeight:Qr(n.minHeight),minWidth:Qr(n.minWidth),width:Qr(n.width)}))}}function IB(n){return{aspectStyles:cn(()=>{const e=Number(n.aspectRatio);return e?{paddingBottom:String(1/e*100)+"%"}:void 0})}}const U6=ur({aspectRatio:[String,Number],contentClass:String,inline:Boolean,...Zr(),...sc()},"VResponsive"),vx=Ar()({name:"VResponsive",props:U6(),setup(n,e){let{slots:r}=e;const{aspectStyles:S}=IB(n),{dimensionStyles:D}=lc(n);return Or(()=>{var T;return gt("div",{class:["v-responsive",{"v-responsive--inline":n.inline},n.class],style:[D.value,n.style]},[gt("div",{class:"v-responsive__sizer",style:S.value},null),(T=r.additional)==null?void 0:T.call(r),r.default&>("div",{class:["v-responsive__content",n.contentClass]},[r.default()])])}),{}}}),df=ur({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:n=>n!==!0}},"transition"),Oc=(n,e)=>{let{slots:r}=e;const{transition:S,disabled:D,...T}=n,{component:p=bh,...t}=typeof S=="object"?S:{};return Xf(p,qr(typeof S=="string"?{name:D?"":S}:t,T,{disabled:D}),r)};function RB(n,e){if(!$2)return;const r=e.modifiers||{},S=e.value,{handler:D,options:T}=typeof S=="object"?S:{handler:S,options:{}},p=new IntersectionObserver(function(){var M;let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],d=arguments.length>1?arguments[1]:void 0;const g=(M=n._observe)==null?void 0:M[e.instance.$.uid];if(!g)return;const i=t.some(v=>v.isIntersecting);D&&(!r.quiet||g.init)&&(!r.once||i||g.init)&&D(i,t,d),i&&r.once?H6(n,e):g.init=!0},T);n._observe=Object(n._observe),n._observe[e.instance.$.uid]={init:!1,observer:p},p.observe(n)}function H6(n,e){var S;const r=(S=n._observe)==null?void 0:S[e.instance.$.uid];r&&(r.observer.unobserve(n),delete n._observe[e.instance.$.uid])}const og={mounted:RB,unmounted:H6},G6=ur({alt:String,cover:Boolean,eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},sizes:String,src:{type:[String,Object],default:""},srcset:String,...U6(),...Zr(),...df()},"VImg"),Zd=Ar()({name:"VImg",directives:{intersect:og},props:G6(),emits:{loadstart:n=>!0,load:n=>!0,error:n=>!0},setup(n,e){let{emit:r,slots:S}=e;const D=Wr(""),T=Vr(),p=Wr(n.eager?"loading":"idle"),t=Wr(),d=Wr(),g=cn(()=>n.src&&typeof n.src=="object"?{src:n.src.src,srcset:n.srcset||n.src.srcset,lazySrc:n.lazySrc||n.src.lazySrc,aspect:Number(n.aspectRatio||n.src.aspect||0)}:{src:n.src,srcset:n.srcset,lazySrc:n.lazySrc,aspect:Number(n.aspectRatio||0)}),i=cn(()=>g.value.aspect||t.value/d.value||0);$r(()=>n.src,()=>{M(p.value!=="idle")}),$r(i,(C,_)=>{!C&&_&&T.value&&u(T.value)}),Sy(()=>M());function M(C){if(!(n.eager&&C)&&!($2&&!C&&!n.eager)){if(p.value="loading",g.value.lazySrc){const _=new Image;_.src=g.value.lazySrc,u(_,null)}g.value.src&&Ua(()=>{var _,k;if(r("loadstart",((_=T.value)==null?void 0:_.currentSrc)||g.value.src),(k=T.value)!=null&&k.complete){if(T.value.naturalWidth||f(),p.value==="error")return;i.value||u(T.value,null),v()}else i.value||u(T.value),l()})}}function v(){var C;l(),p.value="loaded",r("load",((C=T.value)==null?void 0:C.currentSrc)||g.value.src)}function f(){var C;p.value="error",r("error",((C=T.value)==null?void 0:C.currentSrc)||g.value.src)}function l(){const C=T.value;C&&(D.value=C.currentSrc||C.src)}let a=-1;function u(C){let _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const k=()=>{clearTimeout(a);const{naturalHeight:E,naturalWidth:x}=C;E||x?(t.value=x,d.value=E):!C.complete&&p.value==="loading"&&_!=null?a=window.setTimeout(k,_):(C.currentSrc.endsWith(".svg")||C.currentSrc.startsWith("data:image/svg+xml"))&&(t.value=1,d.value=1)};k()}const o=cn(()=>({"v-img__img--cover":n.cover,"v-img__img--contain":!n.cover})),s=()=>{var k;if(!g.value.src||p.value==="idle")return null;const C=gt("img",{class:["v-img__img",o.value],src:g.value.src,srcset:g.value.srcset,alt:n.alt,sizes:n.sizes,ref:T,onLoad:v,onError:f},null),_=(k=S.sources)==null?void 0:k.call(S);return gt(Oc,{transition:n.transition,appear:!0},{default:()=>[Co(_?gt("picture",{class:"v-img__picture"},[_,C]):C,[[kh,p.value==="loaded"]])]})},h=()=>gt(Oc,{transition:n.transition},{default:()=>[g.value.lazySrc&&p.value!=="loaded"&>("img",{class:["v-img__img","v-img__img--preload",o.value],src:g.value.lazySrc,alt:n.alt},null)]}),c=()=>S.placeholder?gt(Oc,{transition:n.transition,appear:!0},{default:()=>[(p.value==="loading"||p.value==="error"&&!S.error)&>("div",{class:"v-img__placeholder"},[S.placeholder()])]}):null,m=()=>S.error?gt(Oc,{transition:n.transition,appear:!0},{default:()=>[p.value==="error"&>("div",{class:"v-img__error"},[S.error()])]}):null,w=()=>n.gradient?gt("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${n.gradient})`}},null):null,y=Wr(!1);{const C=$r(i,_=>{_&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{y.value=!0})}),C())})}return Or(()=>{const[C]=vx.filterProps(n);return Co(gt(vx,qr({class:["v-img",{"v-img--booting":!y.value},n.class],style:[{width:Qr(n.width==="auto"?t.value:n.width)},n.style]},C,{aspectRatio:i.value,"aria-label":n.alt,role:n.alt?"img":void 0}),{additional:()=>gt(Yr,null,[gt(s,null,null),gt(h,null,null),gt(w,null,null),gt(c,null,null),gt(m,null,null)]),default:S.default}),[[Tu("intersect"),{handler:M,options:n.options},null,{once:!0}]])}),{currentSrc:D,image:T,state:p,naturalWidth:t,naturalHeight:d}}}),Su=ur({border:[Boolean,Number,String]},"border");function uc(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();return{borderClasses:cn(()=>{const S=eo(n)?n.value:n.border,D=[];if(S===!0||S==="")D.push(`${e}--border`);else if(typeof S=="string"||S===0)for(const T of String(S).split(" "))D.push(`border-${T}`);return D})}}function c_(n){return X2(()=>{const e=[],r={};if(n.value.background)if(z5(n.value.background)){if(r.backgroundColor=n.value.background,!n.value.text){const S=A6(r.backgroundColor);r.color=S,r.caretColor=S}}else e.push(`bg-${n.value.background}`);return n.value.text&&(z5(n.value.text)?(r.color=n.value.text,r.caretColor=n.value.text):e.push(`text-${n.value.text}`)),{colorClasses:e,colorStyles:r}})}function Xs(n,e){const r=cn(()=>({text:eo(n)?n.value:e?n[e]:null})),{colorClasses:S,colorStyles:D}=c_(r);return{textColorClasses:S,textColorStyles:D}}function Oo(n,e){const r=cn(()=>({background:eo(n)?n.value:e?n[e]:null})),{colorClasses:S,colorStyles:D}=c_(r);return{backgroundColorClasses:S,backgroundColorStyles:D}}const fs=ur({elevation:{type:[Number,String],validator(n){const e=parseInt(n);return!isNaN(e)&&e>=0&&e<=24}}},"elevation");function Vs(n){return{elevationClasses:cn(()=>{const r=eo(n)?n.value:n.elevation,S=[];return r==null||S.push(`elevation-${r}`),S})}}const uo=ur({rounded:{type:[Boolean,Number,String],default:void 0}},"rounded");function Eo(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();return{roundedClasses:cn(()=>{const S=eo(n)?n.value:n.rounded,D=[];if(S===!0||S==="")D.push(`${e}--rounded`);else if(typeof S=="string"||S===0)for(const T of String(S).split(" "))D.push(`rounded-${T}`);return D})}}const PB=[null,"prominent","default","comfortable","compact"],q6=ur({absolute:Boolean,collapse:Boolean,color:String,density:{type:String,default:"default",validator:n=>PB.includes(n)},extended:Boolean,extensionHeight:{type:[Number,String],default:48},flat:Boolean,floating:Boolean,height:{type:[Number,String],default:64},image:String,title:String,...Su(),...Zr(),...fs(),...uo(),...Si({tag:"header"}),...oa()},"VToolbar"),yx=Ar()({name:"VToolbar",props:q6(),setup(n,e){var f;let{slots:r}=e;const{backgroundColorClasses:S,backgroundColorStyles:D}=Oo(Cr(n,"color")),{borderClasses:T}=uc(n),{elevationClasses:p}=Vs(n),{roundedClasses:t}=Eo(n),{themeClasses:d}=Ma(n),{rtlClasses:g}=Cs(),i=Wr(!!(n.extended||(f=r.extension)!=null&&f.call(r))),M=cn(()=>parseInt(Number(n.height)+(n.density==="prominent"?Number(n.height):0)-(n.density==="comfortable"?8:0)-(n.density==="compact"?16:0),10)),v=cn(()=>i.value?parseInt(Number(n.extensionHeight)+(n.density==="prominent"?Number(n.extensionHeight):0)-(n.density==="comfortable"?4:0)-(n.density==="compact"?8:0),10):0);return es({VBtn:{variant:"text"}}),Or(()=>{var o;const l=!!(n.title||r.title),a=!!(r.image||n.image),u=(o=r.extension)==null?void 0:o.call(r);return i.value=!!(n.extended||u),gt(n.tag,{class:["v-toolbar",{"v-toolbar--absolute":n.absolute,"v-toolbar--collapse":n.collapse,"v-toolbar--flat":n.flat,"v-toolbar--floating":n.floating,[`v-toolbar--density-${n.density}`]:!0},S.value,T.value,p.value,t.value,d.value,g.value,n.class],style:[D.value,n.style]},{default:()=>[a&>("div",{key:"image",class:"v-toolbar__image"},[r.image?gt(Fa,{key:"image-defaults",disabled:!n.image,defaults:{VImg:{cover:!0,src:n.image}}},r.image):gt(Zd,{key:"image-img",cover:!0,src:n.image},null)]),gt(Fa,{defaults:{VTabs:{height:Qr(M.value)}}},{default:()=>{var s,h,c;return[gt("div",{class:"v-toolbar__content",style:{height:Qr(M.value)}},[r.prepend&>("div",{class:"v-toolbar__prepend"},[(s=r.prepend)==null?void 0:s.call(r)]),l&>(o_,{key:"title",text:n.title},{text:r.title}),(h=r.default)==null?void 0:h.call(r),r.append&>("div",{class:"v-toolbar__append"},[(c=r.append)==null?void 0:c.call(r)])])]}}),gt(Fa,{defaults:{VTabs:{height:Qr(v.value)}}},{default:()=>[gt(e1,null,{default:()=>[i.value&>("div",{class:"v-toolbar__extension",style:{height:Qr(v.value)}},[u])]})]})]})}),{contentHeight:M,extensionHeight:v}}}),OB=ur({scrollTarget:{type:String},scrollThreshold:{type:[String,Number],default:300}},"scroll");function DB(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{canScroll:r}=e;let S=0;const D=Vr(null),T=Wr(0),p=Wr(0),t=Wr(0),d=Wr(!1),g=Wr(!1),i=cn(()=>Number(n.scrollThreshold)),M=cn(()=>Zs((i.value-T.value)/i.value||0)),v=()=>{const f=D.value;!f||r&&!r.value||(S=T.value,T.value="window"in f?f.pageYOffset:f.scrollTop,g.value=T.value{p.value=p.value||T.value}),$r(d,()=>{p.value=0}),Ks(()=>{$r(()=>n.scrollTarget,f=>{var a;const l=f?document.querySelector(f):window;l&&l!==D.value&&((a=D.value)==null||a.removeEventListener("scroll",v),D.value=l,D.value.addEventListener("scroll",v,{passive:!0}))},{immediate:!0})}),kl(()=>{var f;(f=D.value)==null||f.removeEventListener("scroll",v)}),r&&$r(r,v,{immediate:!0}),{scrollThreshold:i,currentScroll:T,currentThreshold:t,isScrollActive:d,scrollRatio:M,isScrollingUp:g,savedScroll:p}}function tp(){const n=Wr(!1);return Ks(()=>{window.requestAnimationFrame(()=>{n.value=!0})}),{ssrBootStyles:cn(()=>n.value?void 0:{transition:"none !important"}),isBooted:Hm(n)}}const zB=ur({scrollBehavior:String,modelValue:{type:Boolean,default:!0},location:{type:String,default:"top",validator:n=>["top","bottom"].includes(n)},...q6(),...x0(),...OB(),height:{type:[Number,String],default:64}},"VAppBar"),FB=Ar()({name:"VAppBar",props:zB(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const S=Vr(),D=xi(n,"modelValue"),T=cn(()=>{var s;const o=new Set(((s=n.scrollBehavior)==null?void 0:s.split(" "))??[]);return{hide:o.has("hide"),inverted:o.has("inverted"),collapse:o.has("collapse"),elevate:o.has("elevate"),fadeImage:o.has("fade-image")}}),p=cn(()=>{const o=T.value;return o.hide||o.inverted||o.collapse||o.elevate||o.fadeImage||!D.value}),{currentScroll:t,scrollThreshold:d,isScrollingUp:g,scrollRatio:i}=DB(n,{canScroll:p}),M=cn(()=>n.collapse||T.value.collapse&&(T.value.inverted?i.value>0:i.value===0)),v=cn(()=>n.flat||T.value.elevate&&(T.value.inverted?t.value>0:t.value===0)),f=cn(()=>T.value.fadeImage?T.value.inverted?1-i.value:i.value:void 0),l=cn(()=>{var h,c;if(T.value.hide&&T.value.inverted)return 0;const o=((h=S.value)==null?void 0:h.contentHeight)??0,s=((c=S.value)==null?void 0:c.extensionHeight)??0;return o+s});$f(cn(()=>!!n.scrollBehavior),()=>{wu(()=>{T.value.hide?T.value.inverted?D.value=t.value>d.value:D.value=g.value||t.valueparseInt(n.order,10)),position:Cr(n,"location"),layoutSize:l,elementSize:Wr(void 0),active:D,absolute:Cr(n,"absolute")});return Or(()=>{const[o]=yx.filterProps(n);return gt(yx,qr({ref:S,class:["v-app-bar",{"v-app-bar--bottom":n.location==="bottom"},n.class],style:[{...u.value,"--v-toolbar-image-opacity":f.value,height:void 0,...a.value},n.style]},o,{collapse:M.value,flat:v.value}),r)}),{}}});const BB=[null,"default","comfortable","compact"],ds=ur({density:{type:String,default:"default",validator:n=>BB.includes(n)}},"density");function Qs(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();return{densityClasses:cn(()=>`${e}--density-${n.density}`)}}const NB=["elevated","flat","tonal","outlined","text","plain"];function np(n,e){return gt(Yr,null,[n&>("span",{key:"overlay",class:`${e}__overlay`},null),gt("span",{key:"underlay",class:`${e}__underlay`},null)])}const cc=ur({color:String,variant:{type:String,default:"elevated",validator:n=>NB.includes(n)}},"variant");function rp(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();const r=cn(()=>{const{variant:T}=yu(n);return`${e}--variant-${T}`}),{colorClasses:S,colorStyles:D}=c_(cn(()=>{const{variant:T,color:p}=yu(n);return{[["elevated","flat"].includes(T)?"background":"text"]:p}}));return{colorClasses:S,colorStyles:D,variantClasses:r}}const W6=ur({divided:Boolean,...Su(),...Zr(),...ds(),...fs(),...uo(),...Si(),...oa(),...cc()},"VBtnGroup"),bx=Ar()({name:"VBtnGroup",props:W6(),setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ma(n),{densityClasses:D}=Qs(n),{borderClasses:T}=uc(n),{elevationClasses:p}=Vs(n),{roundedClasses:t}=Eo(n);es({VBtn:{height:"auto",color:Cr(n,"color"),density:Cr(n,"density"),flat:!0,variant:Cr(n,"variant")}}),Or(()=>gt(n.tag,{class:["v-btn-group",{"v-btn-group--divided":n.divided},S.value,T.value,D.value,p.value,t.value,n.class],style:n.style},r))}}),w0=ur({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),T0=ur({value:null,disabled:Boolean,selectedClass:String},"group-item");function k0(n,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const S=Ss("useGroupItem");if(!S)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const D=Js();ts(Symbol.for(`${e.description}:id`),D);const T=ka(e,null);if(!T){if(!r)return T;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${e.description}`)}const p=Cr(n,"value"),t=cn(()=>!!(T.disabled.value||n.disabled));T.register({id:D,value:p,disabled:t},S),kl(()=>{T.unregister(D)});const d=cn(()=>T.isSelected(D)),g=cn(()=>d.value&&[T.selectedClass.value,n.selectedClass]);return $r(d,i=>{S.emit("group:selected",{value:i})}),{id:D,isSelected:d,toggle:()=>T.select(D,!d.value),select:i=>T.select(D,i),selectedClass:g,value:p,disabled:t,group:T}}function ip(n,e){let r=!1;const S=yl([]),D=xi(n,"modelValue",[],v=>v==null?[]:Y6(S,bu(v)),v=>{const f=jB(S,v);return n.multiple?f:f[0]}),T=Ss("useGroup");function p(v,f){const l=v,a=Symbol.for(`${e.description}:id`),o=ym(a,T==null?void 0:T.vnode).indexOf(f);o>-1?S.splice(o,0,l):S.push(l)}function t(v){if(r)return;d();const f=S.findIndex(l=>l.id===v);S.splice(f,1)}function d(){const v=S.find(f=>!f.disabled);v&&n.mandatory==="force"&&!D.value.length&&(D.value=[v.id])}Ks(()=>{d()}),kl(()=>{r=!0});function g(v,f){const l=S.find(a=>a.id===v);if(!(f&&(l!=null&&l.disabled)))if(n.multiple){const a=D.value.slice(),u=a.findIndex(s=>s===v),o=~u;if(f=f??!o,o&&n.mandatory&&a.length<=1||!o&&n.max!=null&&a.length+1>n.max)return;u<0&&f?a.push(v):u>=0&&!f&&a.splice(u,1),D.value=a}else{const a=D.value.includes(v);if(n.mandatory&&a)return;D.value=f??!a?[v]:[]}}function i(v){if(n.multiple,D.value.length){const f=D.value[0],l=S.findIndex(o=>o.id===f);let a=(l+v)%S.length,u=S[a];for(;u.disabled&&a!==l;)a=(a+v)%S.length,u=S[a];if(u.disabled)return;D.value=[S[a].id]}else{const f=S.find(l=>!l.disabled);f&&(D.value=[f.id])}}const M={register:p,unregister:t,selected:D,select:g,disabled:Cr(n,"disabled"),prev:()=>i(S.length-1),next:()=>i(1),isSelected:v=>D.value.includes(v),selectedClass:cn(()=>n.selectedClass),items:cn(()=>S),getItemIndex:v=>VB(S,v)};return ts(e,M),M}function VB(n,e){const r=Y6(n,[e]);return r.length?n.findIndex(S=>S.id===r[0]):-1}function Y6(n,e){const r=[];return e.forEach(S=>{const D=n.find(p=>b0(S,p.value)),T=n[S];(D==null?void 0:D.value)!=null?r.push(D.id):T!=null&&r.push(T.id)}),r}function jB(n,e){const r=[];return e.forEach(S=>{const D=n.findIndex(T=>T.id===S);if(~D){const T=n[D];r.push(T.value!=null?T.value:D)}}),r}const h_=Symbol.for("vuetify:v-btn-toggle"),UB=ur({...W6(),...w0()},"VBtnToggle"),HB=Ar()({name:"VBtnToggle",props:UB(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{isSelected:S,next:D,prev:T,select:p,selected:t}=ip(n,h_);return Or(()=>{const[d]=bx.filterProps(n);return gt(bx,qr({class:["v-btn-toggle",n.class]},d,{style:n.style}),{default:()=>{var g;return[(g=r.default)==null?void 0:g.call(r,{isSelected:S,next:D,prev:T,select:p,selected:t})]}})}),{next:D,prev:T,select:p}}});const GB=["x-small","small","default","large","x-large"],pf=ur({size:{type:[String,Number],default:"default"}},"size");function M0(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();return X2(()=>{let r,S;return ly(GB,n.size)?r=`${e}--size-${n.size}`:n.size&&(S={width:Qr(n.size),height:Qr(n.size)}),{sizeClasses:r,sizeStyles:S}})}const qB=ur({color:String,start:Boolean,end:Boolean,icon:bi,...Zr(),...pf(),...Si({tag:"i"}),...oa()},"VIcon"),ja=Ar()({name:"VIcon",props:qB(),setup(n,e){let{attrs:r,slots:S}=e;const D=Vr(),{themeClasses:T}=Ma(n),{iconData:p}=PF(cn(()=>D.value||n.icon)),{sizeClasses:t}=M0(n),{textColorClasses:d,textColorStyles:g}=Xs(Cr(n,"color"));return Or(()=>{var M,v;const i=(M=S.default)==null?void 0:M.call(S);return i&&(D.value=(v=f6(i).filter(f=>f.type===Gm&&f.children&&typeof f.children=="string")[0])==null?void 0:v.children),gt(p.value.component,{tag:n.tag,icon:p.value.icon,class:["v-icon","notranslate",T.value,t.value,d.value,{"v-icon--clickable":!!r.onClick,"v-icon--start":n.start,"v-icon--end":n.end},n.class],style:[t.value?void 0:{fontSize:Qr(n.size),height:Qr(n.size),width:Qr(n.size)},g.value,n.style],role:r.onClick?"button":void 0,"aria-hidden":!r.onClick},{default:()=>[i]})}),{}}});function f_(n,e){const r=Vr(),S=Wr(!1);if($2){const D=new IntersectionObserver(T=>{n==null||n(T,D),S.value=!!T.find(p=>p.isIntersecting)},e);kl(()=>{D.disconnect()}),$r(r,(T,p)=>{p&&(D.unobserve(p),S.value=!1),T&&D.observe(T)},{flush:"post"})}return{intersectionRef:r,isIntersecting:S}}const WB=ur({bgColor:String,color:String,indeterminate:[Boolean,String],modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...Zr(),...pf(),...Si({tag:"div"}),...oa()},"VProgressCircular"),d_=Ar()({name:"VProgressCircular",props:WB(),setup(n,e){let{slots:r}=e;const S=20,D=2*Math.PI*S,T=Vr(),{themeClasses:p}=Ma(n),{sizeClasses:t,sizeStyles:d}=M0(n),{textColorClasses:g,textColorStyles:i}=Xs(Cr(n,"color")),{textColorClasses:M,textColorStyles:v}=Xs(Cr(n,"bgColor")),{intersectionRef:f,isIntersecting:l}=f_(),{resizeRef:a,contentRect:u}=Th(),o=cn(()=>Math.max(0,Math.min(100,parseFloat(n.modelValue)))),s=cn(()=>Number(n.width)),h=cn(()=>d.value?Number(n.size):u.value?u.value.width:Math.max(s.value,32)),c=cn(()=>S/(1-s.value/h.value)*2),m=cn(()=>s.value/h.value*c.value),w=cn(()=>Qr((100-o.value)/100*D));return wu(()=>{f.value=T.value,a.value=T.value}),Or(()=>gt(n.tag,{ref:T,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!n.indeterminate,"v-progress-circular--visible":l.value,"v-progress-circular--disable-shrink":n.indeterminate==="disable-shrink"},p.value,t.value,g.value,n.class],style:[d.value,i.value,n.style],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":n.indeterminate?void 0:o.value},{default:()=>[gt("svg",{style:{transform:`rotate(calc(-90deg + ${Number(n.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${c.value} ${c.value}`},[gt("circle",{class:["v-progress-circular__underlay",M.value],style:v.value,fill:"transparent",cx:"50%",cy:"50%",r:S,"stroke-width":m.value,"stroke-dasharray":D,"stroke-dashoffset":0},null),gt("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:S,"stroke-width":m.value,"stroke-dasharray":D,"stroke-dashoffset":w.value},null)]),r.default&>("div",{class:"v-progress-circular__content"},[r.default({value:o.value})])]})),{}}});const J5={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},ed=ur({location:String},"location");function td(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=arguments.length>2?arguments[2]:void 0;const{isRtl:S}=Cs();return{locationStyles:cn(()=>{if(!n.location)return{};const{side:T,align:p}=lx(n.location.split(" ").length>1?n.location:`${n.location} center`,S.value);function t(g){return r?r(g):0}const d={};return T!=="center"&&(e?d[J5[T]]=`calc(100% - ${t(T)}px)`:d[T]=0),p!=="center"?e?d[J5[p]]=`calc(100% - ${t(p)}px)`:d[p]=0:(T==="center"?d.top=d.left="50%":d[{top:"left",bottom:"left",left:"top",right:"top"}[T]]="50%",d.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[T]),d})}}const YB=ur({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...Zr(),...ed({location:"top"}),...uo(),...Si(),...oa()},"VProgressLinear"),p_=Ar()({name:"VProgressLinear",props:YB(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const S=xi(n,"modelValue"),{isRtl:D,rtlClasses:T}=Cs(),{themeClasses:p}=Ma(n),{locationStyles:t}=td(n),{textColorClasses:d,textColorStyles:g}=Xs(n,"color"),{backgroundColorClasses:i,backgroundColorStyles:M}=Oo(cn(()=>n.bgColor||n.color)),{backgroundColorClasses:v,backgroundColorStyles:f}=Oo(n,"color"),{roundedClasses:l}=Eo(n),{intersectionRef:a,isIntersecting:u}=f_(),o=cn(()=>parseInt(n.max,10)),s=cn(()=>parseInt(n.height,10)),h=cn(()=>parseFloat(n.bufferValue)/o.value*100),c=cn(()=>parseFloat(S.value)/o.value*100),m=cn(()=>D.value!==n.reverse),w=cn(()=>n.indeterminate?"fade-transition":"slide-x-transition"),y=cn(()=>n.bgOpacity==null?n.bgOpacity:parseFloat(n.bgOpacity));function C(_){if(!a.value)return;const{left:k,right:E,width:x}=a.value.getBoundingClientRect(),A=m.value?x-_.clientX+(E-x):_.clientX-k;S.value=Math.round(A/x*o.value)}return Or(()=>gt(n.tag,{ref:a,class:["v-progress-linear",{"v-progress-linear--absolute":n.absolute,"v-progress-linear--active":n.active&&u.value,"v-progress-linear--reverse":m.value,"v-progress-linear--rounded":n.rounded,"v-progress-linear--rounded-bar":n.roundedBar,"v-progress-linear--striped":n.striped},l.value,p.value,T.value,n.class],style:[{bottom:n.location==="bottom"?0:void 0,top:n.location==="top"?0:void 0,height:n.active?Qr(s.value):0,"--v-progress-linear-height":Qr(s.value),...t.value},n.style],role:"progressbar","aria-hidden":n.active?"false":"true","aria-valuemin":"0","aria-valuemax":n.max,"aria-valuenow":n.indeterminate?void 0:c.value,onClick:n.clickable&&C},{default:()=>[n.stream&>("div",{key:"stream",class:["v-progress-linear__stream",d.value],style:{...g.value,[m.value?"left":"right"]:Qr(-s.value),borderTop:`${Qr(s.value/2)} dotted`,opacity:y.value,top:`calc(50% - ${Qr(s.value/4)})`,width:Qr(100-h.value,"%"),"--v-progress-linear-stream-to":Qr(s.value*(m.value?1:-1))}},null),gt("div",{class:["v-progress-linear__background",i.value],style:[M.value,{opacity:y.value,width:Qr(n.stream?h.value:100,"%")}]},null),gt(bh,{name:w.value},{default:()=>[n.indeterminate?gt("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(_=>gt("div",{key:_,class:["v-progress-linear__indeterminate",_,v.value],style:f.value},null))]):gt("div",{class:["v-progress-linear__determinate",v.value],style:[f.value,{width:Qr(c.value,"%")}]},null)]}),r.default&>("div",{class:"v-progress-linear__content"},[r.default({value:c.value,buffer:h.value})])]})),{}}}),m_=ur({loading:[Boolean,String]},"loader");function t1(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();return{loaderClasses:cn(()=>({[`${e}--loading`]:n.loading}))}}function g_(n,e){var S;let{slots:r}=e;return gt("div",{class:`${n.name}__loader`},[((S=r.default)==null?void 0:S.call(r,{color:n.color,isActive:n.active}))||gt(p_,{active:n.active,color:n.color,height:"2",indeterminate:!0},null)])}const $B=["static","relative","fixed","absolute","sticky"],A0=ur({position:{type:String,validator:n=>$B.includes(n)}},"position");function S0(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();return{positionClasses:cn(()=>n.position?`${e}--${n.position}`:void 0)}}function $6(){var n,e;return(e=(n=Ss("useRouter"))==null?void 0:n.proxy)==null?void 0:e.$router}function sg(n,e){const r=yE("RouterLink"),S=cn(()=>!!(n.href||n.to)),D=cn(()=>(S==null?void 0:S.value)||k5(e,"click")||k5(n,"click"));if(typeof r=="string")return{isLink:S,isClickable:D,href:Cr(n,"href")};const T=n.to?r.useLink(n):void 0;return{isLink:S,isClickable:D,route:T==null?void 0:T.route,navigate:T==null?void 0:T.navigate,isActive:T&&cn(()=>{var p,t;return n.exact?(p=T.isExactActive)==null?void 0:p.value:(t=T.isActive)==null?void 0:t.value}),href:cn(()=>n.to?T==null?void 0:T.route.value.href:n.href)}}const lg=ur({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let bb=!1;function ZB(n,e){let r=!1,S,D;to&&(Ua(()=>{window.addEventListener("popstate",T),S=n==null?void 0:n.beforeEach((p,t,d)=>{bb?r?e(d):d():setTimeout(()=>r?e(d):d()),bb=!0}),D=n==null?void 0:n.afterEach(()=>{bb=!1})}),Tl(()=>{window.removeEventListener("popstate",T),S==null||S(),D==null||D()}));function T(p){var t;(t=p.state)!=null&&t.replaced||(r=!0,setTimeout(()=>r=!1))}}function XB(n,e){$r(()=>{var r;return(r=n.isActive)==null?void 0:r.value},r=>{n.isLink.value&&r&&e&&Ua(()=>{e(!0)})},{immediate:!0})}const xx=Symbol("rippleStop"),KB=80;function Q5(n,e){n.style.transform=e,n.style.webkitTransform=e}function _x(n){return n.constructor.name==="TouchEvent"}function Z6(n){return n.constructor.name==="KeyboardEvent"}const JB=function(n,e){var M;let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},S=0,D=0;if(!Z6(n)){const v=e.getBoundingClientRect(),f=_x(n)?n.touches[n.touches.length-1]:n;S=f.clientX-v.left,D=f.clientY-v.top}let T=0,p=.3;(M=e._ripple)!=null&&M.circle?(p=.15,T=e.clientWidth/2,T=r.center?T:T+Math.sqrt((S-T)**2+(D-T)**2)/4):T=Math.sqrt(e.clientWidth**2+e.clientHeight**2)/2;const t=`${(e.clientWidth-T*2)/2}px`,d=`${(e.clientHeight-T*2)/2}px`,g=r.center?t:`${S-T}px`,i=r.center?d:`${D-T}px`;return{radius:T,scale:p,x:g,y:i,centerX:t,centerY:d}},dy={show(n,e){var f;let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((f=e==null?void 0:e._ripple)!=null&&f.enabled))return;const S=document.createElement("span"),D=document.createElement("span");S.appendChild(D),S.className="v-ripple__container",r.class&&(S.className+=` ${r.class}`);const{radius:T,scale:p,x:t,y:d,centerX:g,centerY:i}=JB(n,e,r),M=`${T*2}px`;D.className="v-ripple__animation",D.style.width=M,D.style.height=M,e.appendChild(S);const v=window.getComputedStyle(e);v&&v.position==="static"&&(e.style.position="relative",e.dataset.previousPosition="static"),D.classList.add("v-ripple__animation--enter"),D.classList.add("v-ripple__animation--visible"),Q5(D,`translate(${t}, ${d}) scale3d(${p},${p},${p})`),D.dataset.activated=String(performance.now()),setTimeout(()=>{D.classList.remove("v-ripple__animation--enter"),D.classList.add("v-ripple__animation--in"),Q5(D,`translate(${g}, ${i}) scale3d(1,1,1)`)},0)},hide(n){var T;if(!((T=n==null?void 0:n._ripple)!=null&&T.enabled))return;const e=n.getElementsByClassName("v-ripple__animation");if(e.length===0)return;const r=e[e.length-1];if(r.dataset.isHiding)return;r.dataset.isHiding="true";const S=performance.now()-Number(r.dataset.activated),D=Math.max(250-S,0);setTimeout(()=>{r.classList.remove("v-ripple__animation--in"),r.classList.add("v-ripple__animation--out"),setTimeout(()=>{var t;n.getElementsByClassName("v-ripple__animation").length===1&&n.dataset.previousPosition&&(n.style.position=n.dataset.previousPosition,delete n.dataset.previousPosition),((t=r.parentNode)==null?void 0:t.parentNode)===n&&n.removeChild(r.parentNode)},300)},D)}};function X6(n){return typeof n>"u"||!!n}function Bm(n){const e={},r=n.currentTarget;if(!(!(r!=null&&r._ripple)||r._ripple.touched||n[xx])){if(n[xx]=!0,_x(n))r._ripple.touched=!0,r._ripple.isTouch=!0;else if(r._ripple.isTouch)return;if(e.center=r._ripple.centered||Z6(n),r._ripple.class&&(e.class=r._ripple.class),_x(n)){if(r._ripple.showTimerCommit)return;r._ripple.showTimerCommit=()=>{dy.show(n,r,e)},r._ripple.showTimer=window.setTimeout(()=>{var S;(S=r==null?void 0:r._ripple)!=null&&S.showTimerCommit&&(r._ripple.showTimerCommit(),r._ripple.showTimerCommit=null)},KB)}else dy.show(n,r,e)}}function eT(n){n[xx]=!0}function vu(n){const e=n.currentTarget;if(e!=null&&e._ripple){if(window.clearTimeout(e._ripple.showTimer),n.type==="touchend"&&e._ripple.showTimerCommit){e._ripple.showTimerCommit(),e._ripple.showTimerCommit=null,e._ripple.showTimer=window.setTimeout(()=>{vu(n)});return}window.setTimeout(()=>{e._ripple&&(e._ripple.touched=!1)}),dy.hide(e)}}function K6(n){const e=n.currentTarget;e!=null&&e._ripple&&(e._ripple.showTimerCommit&&(e._ripple.showTimerCommit=null),window.clearTimeout(e._ripple.showTimer))}let Nm=!1;function J6(n){!Nm&&(n.keyCode===x5.enter||n.keyCode===x5.space)&&(Nm=!0,Bm(n))}function Q6(n){Nm=!1,vu(n)}function eA(n){Nm&&(Nm=!1,vu(n))}function tA(n,e,r){const{value:S,modifiers:D}=e,T=X6(S);if(T||dy.hide(n),n._ripple=n._ripple??{},n._ripple.enabled=T,n._ripple.centered=D.center,n._ripple.circle=D.circle,ax(S)&&S.class&&(n._ripple.class=S.class),T&&!r){if(D.stop){n.addEventListener("touchstart",eT,{passive:!0}),n.addEventListener("mousedown",eT);return}n.addEventListener("touchstart",Bm,{passive:!0}),n.addEventListener("touchend",vu,{passive:!0}),n.addEventListener("touchmove",K6,{passive:!0}),n.addEventListener("touchcancel",vu),n.addEventListener("mousedown",Bm),n.addEventListener("mouseup",vu),n.addEventListener("mouseleave",vu),n.addEventListener("keydown",J6),n.addEventListener("keyup",Q6),n.addEventListener("blur",eA),n.addEventListener("dragstart",vu,{passive:!0})}else!T&&r&&nA(n)}function nA(n){n.removeEventListener("mousedown",Bm),n.removeEventListener("touchstart",Bm),n.removeEventListener("touchend",vu),n.removeEventListener("touchmove",K6),n.removeEventListener("touchcancel",vu),n.removeEventListener("mouseup",vu),n.removeEventListener("mouseleave",vu),n.removeEventListener("keydown",J6),n.removeEventListener("keyup",Q6),n.removeEventListener("dragstart",vu),n.removeEventListener("blur",eA)}function QB(n,e){tA(n,e,!1)}function eN(n){delete n._ripple,nA(n)}function tN(n,e){if(e.value===e.oldValue)return;const r=X6(e.oldValue);tA(n,e,r)}const nd={mounted:QB,unmounted:eN,updated:tN},v_=ur({active:{type:Boolean,default:void 0},symbol:{type:null,default:h_},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:bi,appendIcon:bi,block:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:String,...Su(),...Zr(),...ds(),...sc(),...fs(),...T0(),...m_(),...ed(),...A0(),...uo(),...lg(),...pf(),...Si({tag:"button"}),...oa(),...cc({variant:"elevated"})},"VBtn"),wl=Ar()({name:"VBtn",directives:{Ripple:nd},props:v_(),emits:{"group:selected":n=>!0},setup(n,e){let{attrs:r,slots:S}=e;const{themeClasses:D}=Ma(n),{borderClasses:T}=uc(n),{colorClasses:p,colorStyles:t,variantClasses:d}=rp(n),{densityClasses:g}=Qs(n),{dimensionStyles:i}=lc(n),{elevationClasses:M}=Vs(n),{loaderClasses:v}=t1(n),{locationStyles:f}=td(n),{positionClasses:l}=S0(n),{roundedClasses:a}=Eo(n),{sizeClasses:u,sizeStyles:o}=M0(n),s=k0(n,n.symbol,!1),h=sg(n,r),c=cn(()=>{var _;return n.active!==void 0?n.active:h.isLink.value?(_=h.isActive)==null?void 0:_.value:s==null?void 0:s.isSelected.value}),m=cn(()=>(s==null?void 0:s.disabled.value)||n.disabled),w=cn(()=>n.variant==="elevated"&&!(n.disabled||n.flat||n.border)),y=cn(()=>{if(n.value!==void 0)return Object(n.value)===n.value?JSON.stringify(n.value,null,0):n.value});function C(_){var k;m.value||h.isLink.value&&(_.metaKey||_.ctrlKey||_.shiftKey||_.button!==0||r.target==="_blank")||((k=h.navigate)==null||k.call(h,_),s==null||s.toggle())}return XB(h,s==null?void 0:s.select),Or(()=>{var L,b;const _=h.isLink.value?"a":n.tag,k=!!(n.prependIcon||S.prepend),E=!!(n.appendIcon||S.append),x=!!(n.icon&&n.icon!==!0),A=(s==null?void 0:s.isSelected.value)&&(!h.isLink.value||((L=h.isActive)==null?void 0:L.value))||!s||((b=h.isActive)==null?void 0:b.value);return Co(gt(_,{type:_==="a"?void 0:"button",class:["v-btn",s==null?void 0:s.selectedClass.value,{"v-btn--active":c.value,"v-btn--block":n.block,"v-btn--disabled":m.value,"v-btn--elevated":w.value,"v-btn--flat":n.flat,"v-btn--icon":!!n.icon,"v-btn--loading":n.loading,"v-btn--stacked":n.stacked},D.value,T.value,A?p.value:void 0,g.value,M.value,v.value,l.value,a.value,u.value,d.value,n.class],style:[A?t.value:void 0,i.value,f.value,o.value,n.style],disabled:m.value||void 0,href:h.href.value,onClick:C,value:y.value},{default:()=>{var R;return[np(!0,"v-btn"),!n.icon&&k&>("span",{key:"prepend",class:"v-btn__prepend"},[S.prepend?gt(Fa,{key:"prepend-defaults",disabled:!n.prependIcon,defaults:{VIcon:{icon:n.prependIcon}}},S.prepend):gt(ja,{key:"prepend-icon",icon:n.prependIcon},null)]),gt("span",{class:"v-btn__content","data-no-activator":""},[!S.default&&x?gt(ja,{key:"content-icon",icon:n.icon},null):gt(Fa,{key:"content-defaults",disabled:!x,defaults:{VIcon:{icon:n.icon}}},{default:()=>{var I;return[((I=S.default)==null?void 0:I.call(S))??n.text]}})]),!n.icon&&E&>("span",{key:"append",class:"v-btn__append"},[S.append?gt(Fa,{key:"append-defaults",disabled:!n.appendIcon,defaults:{VIcon:{icon:n.appendIcon}}},S.append):gt(ja,{key:"append-icon",icon:n.appendIcon},null)]),!!n.loading&>("span",{key:"loader",class:"v-btn__loader"},[((R=S.loader)==null?void 0:R.call(S))??gt(d_,{color:typeof n.loading=="boolean"?void 0:n.loading,indeterminate:!0,size:"23",width:"2"},null)])]}}),[[Tu("ripple"),!m.value&&n.ripple,null]])}),{}}}),nN=ur({...v_({icon:"$menu",variant:"text"})},"VAppBarNavIcon"),rN=Ar()({name:"VAppBarNavIcon",props:nN(),setup(n,e){let{slots:r}=e;return Or(()=>gt(wl,qr(n,{class:["v-app-bar-nav-icon"]}),r)),{}}}),iN=Ar()({name:"VAppBarTitle",props:N6(),setup(n,e){let{slots:r}=e;return Or(()=>gt(o_,qr(n,{class:"v-app-bar-title"}),r)),{}}});const rA=Nc("v-alert-title"),aN=["success","info","warning","error"],oN=ur({border:{type:[Boolean,String],validator:n=>typeof n=="boolean"||["top","end","bottom","start"].includes(n)},borderColor:String,closable:Boolean,closeIcon:{type:bi,default:"$close"},closeLabel:{type:String,default:"$vuetify.close"},icon:{type:[Boolean,String,Function,Object],default:null},modelValue:{type:Boolean,default:!0},prominent:Boolean,title:String,text:String,type:{type:String,validator:n=>aN.includes(n)},...Zr(),...ds(),...sc(),...fs(),...ed(),...A0(),...uo(),...Si(),...oa(),...cc({variant:"flat"})},"VAlert"),sN=Ar()({name:"VAlert",props:oN(),emits:{"click:close":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{emit:r,slots:S}=e;const D=xi(n,"modelValue"),T=cn(()=>{if(n.icon!==!1)return n.type?n.icon??`$${n.type}`:n.icon}),p=cn(()=>({color:n.color??n.type,variant:n.variant})),{themeClasses:t}=Ma(n),{colorClasses:d,colorStyles:g,variantClasses:i}=rp(p),{densityClasses:M}=Qs(n),{dimensionStyles:v}=lc(n),{elevationClasses:f}=Vs(n),{locationStyles:l}=td(n),{positionClasses:a}=S0(n),{roundedClasses:u}=Eo(n),{textColorClasses:o,textColorStyles:s}=Xs(Cr(n,"borderColor")),{t:h}=oc(),c=cn(()=>({"aria-label":h(n.closeLabel),onClick(m){D.value=!1,r("click:close",m)}}));return()=>{const m=!!(S.prepend||T.value),w=!!(S.title||n.title),y=!!(S.close||n.closable);return D.value&>(n.tag,{class:["v-alert",n.border&&{"v-alert--border":!!n.border,[`v-alert--border-${n.border===!0?"start":n.border}`]:!0},{"v-alert--prominent":n.prominent},t.value,d.value,M.value,f.value,a.value,u.value,i.value,n.class],style:[g.value,v.value,l.value,n.style],role:"alert"},{default:()=>{var C,_;return[np(!1,"v-alert"),n.border&>("div",{key:"border",class:["v-alert__border",o.value],style:s.value},null),m&>("div",{key:"prepend",class:"v-alert__prepend"},[S.prepend?gt(Fa,{key:"prepend-defaults",disabled:!T.value,defaults:{VIcon:{density:n.density,icon:T.value,size:n.prominent?44:28}}},S.prepend):gt(ja,{key:"prepend-icon",density:n.density,icon:T.value,size:n.prominent?44:28},null)]),gt("div",{class:"v-alert__content"},[w&>(rA,{key:"title"},{default:()=>{var k;return[((k=S.title)==null?void 0:k.call(S))??n.title]}}),((C=S.text)==null?void 0:C.call(S))??n.text,(_=S.default)==null?void 0:_.call(S)]),S.append&>("div",{key:"append",class:"v-alert__append"},[S.append()]),y&>("div",{key:"close",class:"v-alert__close"},[S.close?gt(Fa,{key:"close-defaults",defaults:{VBtn:{icon:n.closeIcon,size:"x-small",variant:"text"}}},{default:()=>{var k;return[(k=S.close)==null?void 0:k.call(S,{props:c.value})]}}):gt(wl,qr({key:"close-btn",icon:n.closeIcon,size:"x-small",variant:"text"},c.value),null)])]}})}}});const lN=ur({text:String,clickable:Boolean,...Zr(),...oa()},"VLabel"),C0=Ar()({name:"VLabel",props:lN(),setup(n,e){let{slots:r}=e;return Or(()=>{var S;return gt("label",{class:["v-label",{"v-label--clickable":n.clickable},n.class],style:n.style},[n.text,(S=r.default)==null?void 0:S.call(r)])}),{}}});const iA=Symbol.for("vuetify:selection-control-group"),y_=ur({color:String,disabled:{type:Boolean,default:null},defaultsTarget:String,error:Boolean,id:String,inline:Boolean,falseIcon:bi,trueIcon:bi,ripple:{type:Boolean,default:!0},multiple:{type:Boolean,default:null},name:String,readonly:Boolean,modelValue:null,type:String,valueComparator:{type:Function,default:b0},...Zr(),...ds(),...oa()},"SelectionControlGroup"),uN=ur({...y_({defaultsTarget:"VSelectionControl"})},"VSelectionControlGroup"),aA=Ar()({name:"VSelectionControlGroup",props:uN(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const S=xi(n,"modelValue"),D=Js(),T=cn(()=>n.id||`v-selection-control-group-${D}`),p=cn(()=>n.name||T.value),t=new Set;return ts(iA,{modelValue:S,forceUpdate:()=>{t.forEach(d=>d())},onForceUpdate:d=>{t.add(d),Tl(()=>{t.delete(d)})}}),es({[n.defaultsTarget]:{color:Cr(n,"color"),disabled:Cr(n,"disabled"),density:Cr(n,"density"),error:Cr(n,"error"),inline:Cr(n,"inline"),modelValue:S,multiple:cn(()=>!!n.multiple||n.multiple==null&&Array.isArray(S.value)),name:p,falseIcon:Cr(n,"falseIcon"),trueIcon:Cr(n,"trueIcon"),readonly:Cr(n,"readonly"),ripple:Cr(n,"ripple"),type:Cr(n,"type"),valueComparator:Cr(n,"valueComparator")}}),Or(()=>{var d;return gt("div",{class:["v-selection-control-group",{"v-selection-control-group--inline":n.inline},n.class],style:n.style,role:n.type==="radio"?"radiogroup":void 0},[(d=r.default)==null?void 0:d.call(r)])}),{}}}),n1=ur({label:String,trueValue:null,falseValue:null,value:null,...Zr(),...y_()},"VSelectionControl");function cN(n){const e=ka(iA,void 0),{densityClasses:r}=Qs(n),S=xi(n,"modelValue"),D=cn(()=>n.trueValue!==void 0?n.trueValue:n.value!==void 0?n.value:!0),T=cn(()=>n.falseValue!==void 0?n.falseValue:!1),p=cn(()=>!!n.multiple||n.multiple==null&&Array.isArray(S.value)),t=cn({get(){const f=e?e.modelValue.value:S.value;return p.value?f.some(l=>n.valueComparator(l,D.value)):n.valueComparator(f,D.value)},set(f){if(n.readonly)return;const l=f?D.value:T.value;let a=l;p.value&&(a=f?[...bu(S.value),l]:bu(S.value).filter(u=>!n.valueComparator(u,D.value))),e?e.modelValue.value=a:S.value=a}}),{textColorClasses:d,textColorStyles:g}=Xs(cn(()=>t.value&&!n.error&&!n.disabled?n.color:void 0)),{backgroundColorClasses:i,backgroundColorStyles:M}=Oo(cn(()=>t.value&&!n.error&&!n.disabled?n.color:void 0)),v=cn(()=>t.value?n.trueIcon:n.falseIcon);return{group:e,densityClasses:r,trueValue:D,falseValue:T,model:t,textColorClasses:d,textColorStyles:g,backgroundColorClasses:i,backgroundColorStyles:M,icon:v}}const Xd=Ar()({name:"VSelectionControl",directives:{Ripple:nd},inheritAttrs:!1,props:n1(),emits:{"update:modelValue":n=>!0},setup(n,e){let{attrs:r,slots:S}=e;const{group:D,densityClasses:T,icon:p,model:t,textColorClasses:d,textColorStyles:g,backgroundColorClasses:i,backgroundColorStyles:M,trueValue:v}=cN(n),f=Js(),l=cn(()=>n.id||`input-${f}`),a=Wr(!1),u=Wr(!1),o=Vr();D==null||D.onForceUpdate(()=>{o.value&&(o.value.checked=t.value)});function s(m){a.value=!0,l0(m.target,":focus-visible")!==!1&&(u.value=!0)}function h(){a.value=!1,u.value=!1}function c(m){n.readonly&&D&&Ua(()=>D.forceUpdate()),t.value=m.target.checked}return Or(()=>{var _,k;const m=S.label?S.label({label:n.label,props:{for:l.value}}):n.label,[w,y]=Qd(r),C=gt("input",qr({ref:o,checked:t.value,disabled:!!(n.readonly||n.disabled),id:l.value,onBlur:h,onFocus:s,onInput:c,"aria-disabled":!!(n.readonly||n.disabled),type:n.type,value:v.value,name:n.name,"aria-checked":n.type==="checkbox"?t.value:void 0},y),null);return gt("div",qr({class:["v-selection-control",{"v-selection-control--dirty":t.value,"v-selection-control--disabled":n.disabled,"v-selection-control--error":n.error,"v-selection-control--focused":a.value,"v-selection-control--focus-visible":u.value,"v-selection-control--inline":n.inline},T.value,n.class]},w,{style:n.style}),[gt("div",{class:["v-selection-control__wrapper",d.value],style:g.value},[(_=S.default)==null?void 0:_.call(S,{backgroundColorClasses:i,backgroundColorStyles:M}),Co(gt("div",{class:["v-selection-control__input"]},[((k=S.input)==null?void 0:k.call(S,{model:t,textColorClasses:d,textColorStyles:g,backgroundColorClasses:i,backgroundColorStyles:M,inputNode:C,icon:p.value,props:{onFocus:s,onBlur:h,id:l.value}}))??gt(Yr,null,[p.value&>(ja,{key:"icon",icon:p.value},null),C])]),[[Tu("ripple"),n.ripple&&[!n.disabled&&!n.readonly,null,["center","circle"]]]])]),m&>(C0,{for:l.value,clickable:!0,onClick:E=>E.stopPropagation()},{default:()=>[m]})])}),{isFocused:a,input:o}}}),oA=ur({indeterminate:Boolean,indeterminateIcon:{type:bi,default:"$checkboxIndeterminate"},...n1({falseIcon:"$checkboxOff",trueIcon:"$checkboxOn"})},"VCheckboxBtn"),h0=Ar()({name:"VCheckboxBtn",props:oA(),emits:{"update:modelValue":n=>!0,"update:indeterminate":n=>!0},setup(n,e){let{slots:r}=e;const S=xi(n,"indeterminate"),D=xi(n,"modelValue");function T(d){S.value&&(S.value=!1)}const p=cn(()=>S.value?n.indeterminateIcon:n.falseIcon),t=cn(()=>S.value?n.indeterminateIcon:n.trueIcon);return Or(()=>{const d=ic(Xd.filterProps(n)[0],["modelValue"]);return gt(Xd,qr(d,{modelValue:D.value,"onUpdate:modelValue":[g=>D.value=g,T],class:["v-checkbox-btn",n.class],style:n.style,type:"checkbox",falseIcon:p.value,trueIcon:t.value,"aria-checked":S.value?"mixed":void 0}),r)}),{}}});function sA(n){const{t:e}=oc();function r(S){let{name:D}=S;const T={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[D],p=n[`onClick:${D}`],t=p&&T?e(`$vuetify.input.${T}`,n.label??""):void 0;return gt(ja,{icon:n[`${D}Icon`],"aria-label":t,onClick:p},null)}return{InputIcon:r}}const hN=ur({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...Zr(),...df({transition:{component:l_,leaveAbsolute:!0,group:!0}})},"VMessages"),lA=Ar()({name:"VMessages",props:hN(),setup(n,e){let{slots:r}=e;const S=cn(()=>bu(n.messages)),{textColorClasses:D,textColorStyles:T}=Xs(cn(()=>n.color));return Or(()=>gt(Oc,{transition:n.transition,tag:"div",class:["v-messages",D.value,n.class],style:[T.value,n.style],role:"alert","aria-live":"polite"},{default:()=>[n.active&&S.value.map((p,t)=>gt("div",{class:"v-messages__message",key:`${t}-${S.value}`},[r.message?r.message({message:p}):p]))]})),{}}}),r1=ur({focused:Boolean,"onUpdate:focused":yh()},"focus");function rd(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();const r=xi(n,"focused"),S=cn(()=>({[`${e}--focused`]:r.value}));function D(){r.value=!0}function T(){r.value=!1}return{focusClasses:S,isFocused:r,focus:D,blur:T}}const uA=Symbol.for("vuetify:form"),fN=ur({disabled:Boolean,fastFail:Boolean,readonly:Boolean,modelValue:{type:Boolean,default:null},validateOn:{type:String,default:"input"}},"form");function dN(n){const e=xi(n,"modelValue"),r=cn(()=>n.disabled),S=cn(()=>n.readonly),D=Wr(!1),T=Vr([]),p=Vr([]);async function t(){const i=[];let M=!0;p.value=[],D.value=!0;for(const v of T.value){const f=await v.validate();if(f.length>0&&(M=!1,i.push({id:v.id,errorMessages:f})),!M&&n.fastFail)break}return p.value=i,D.value=!1,{valid:M,errors:p.value}}function d(){T.value.forEach(i=>i.reset())}function g(){T.value.forEach(i=>i.resetValidation())}return $r(T,()=>{let i=0,M=0;const v=[];for(const f of T.value)f.isValid===!1?(M++,v.push({id:f.id,errorMessages:f.errorMessages})):f.isValid===!0&&i++;p.value=v,e.value=M>0?!1:i===T.value.length?!0:null},{deep:!0}),ts(uA,{register:i=>{let{id:M,validate:v,reset:f,resetValidation:l}=i;T.value.some(a=>a.id===M),T.value.push({id:M,validate:v,reset:f,resetValidation:l,isValid:null,errorMessages:[]})},unregister:i=>{T.value=T.value.filter(M=>M.id!==i)},update:(i,M,v)=>{const f=T.value.find(l=>l.id===i);f&&(f.isValid=M,f.errorMessages=v)},isDisabled:r,isReadonly:S,isValidating:D,isValid:e,items:T,validateOn:Cr(n,"validateOn")}),{errors:p,isDisabled:r,isReadonly:S,isValidating:D,isValid:e,items:T,validate:t,reset:d,resetValidation:g}}function i1(){return ka(uA,null)}const cA=ur({disabled:{type:Boolean,default:null},error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,label:String,readonly:{type:Boolean,default:null},rules:{type:Array,default:()=>[]},modelValue:null,validateOn:String,validationValue:null,...r1()},"validation");function hA(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff(),r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Js();const S=xi(n,"modelValue"),D=cn(()=>n.validationValue===void 0?S.value:n.validationValue),T=i1(),p=Vr([]),t=Wr(!0),d=cn(()=>!!(bu(S.value===""?null:S.value).length||bu(D.value===""?null:D.value).length)),g=cn(()=>!!(n.disabled??(T==null?void 0:T.isDisabled.value))),i=cn(()=>!!(n.readonly??(T==null?void 0:T.isReadonly.value))),M=cn(()=>n.errorMessages.length?bu(n.errorMessages).slice(0,Math.max(0,+n.maxErrors)):p.value),v=cn(()=>{let c=(n.validateOn??(T==null?void 0:T.validateOn.value))||"input";c==="lazy"&&(c="input lazy");const m=new Set((c==null?void 0:c.split(" "))??[]);return{blur:m.has("blur")||m.has("input"),input:m.has("input"),submit:m.has("submit"),lazy:m.has("lazy")}}),f=cn(()=>n.error||n.errorMessages.length?!1:n.rules.length?t.value?p.value.length||v.value.lazy?null:!0:!p.value.length:!0),l=Wr(!1),a=cn(()=>({[`${e}--error`]:f.value===!1,[`${e}--dirty`]:d.value,[`${e}--disabled`]:g.value,[`${e}--readonly`]:i.value})),u=cn(()=>n.name??yu(r));Sy(()=>{T==null||T.register({id:u.value,validate:h,reset:o,resetValidation:s})}),kl(()=>{T==null||T.unregister(u.value)}),Ks(async()=>{v.value.lazy||await h(!0),T==null||T.update(u.value,f.value,M.value)}),$f(()=>v.value.input,()=>{$r(D,()=>{if(D.value!=null)h();else if(n.focused){const c=$r(()=>n.focused,m=>{m||h(),c()})}})}),$f(()=>v.value.blur,()=>{$r(()=>n.focused,c=>{c||h()})}),$r(f,()=>{T==null||T.update(u.value,f.value,M.value)});function o(){S.value=null,Ua(s)}function s(){t.value=!0,v.value.lazy?p.value=[]:h(!0)}async function h(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const m=[];l.value=!0;for(const w of n.rules){if(m.length>=+(n.maxErrors??1))break;const C=await(typeof w=="function"?w:()=>w)(D.value);if(C!==!0){if(C!==!1&&typeof C!="string"){console.warn(`${C} is not a valid value. Rule functions must return boolean true or a string.`);continue}m.push(C||"")}}return p.value=m,l.value=!1,t.value=c,p.value}return{errorMessages:M,isDirty:d,isDisabled:g,isReadonly:i,isPristine:t,isValid:f,isValidating:l,reset:o,resetValidation:s,validate:h,validationClasses:a}}const mf=ur({id:String,appendIcon:bi,centerAffix:{type:Boolean,default:!0},prependIcon:bi,hideDetails:[Boolean,String],hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:n=>["horizontal","vertical"].includes(n)},"onClick:prepend":yh(),"onClick:append":yh(),...Zr(),...ds(),...cA()},"VInput"),Bs=Ar()({name:"VInput",props:{...mf()},emits:{"update:modelValue":n=>!0},setup(n,e){let{attrs:r,slots:S,emit:D}=e;const{densityClasses:T}=Qs(n),{rtlClasses:p}=Cs(),{InputIcon:t}=sA(n),d=Js(),g=cn(()=>n.id||`input-${d}`),i=cn(()=>`${g.value}-messages`),{errorMessages:M,isDirty:v,isDisabled:f,isReadonly:l,isPristine:a,isValid:u,isValidating:o,reset:s,resetValidation:h,validate:c,validationClasses:m}=hA(n,"v-input",g),w=cn(()=>({id:g,messagesId:i,isDirty:v,isDisabled:f,isReadonly:l,isPristine:a,isValid:u,isValidating:o,reset:s,resetValidation:h,validate:c})),y=cn(()=>{var C;return(C=n.errorMessages)!=null&&C.length||!a.value&&M.value.length?M.value:n.hint&&(n.persistentHint||n.focused)?n.hint:n.messages});return Or(()=>{var x,A,L,b;const C=!!(S.prepend||n.prependIcon),_=!!(S.append||n.appendIcon),k=y.value.length>0,E=!n.hideDetails||n.hideDetails==="auto"&&(k||!!S.details);return gt("div",{class:["v-input",`v-input--${n.direction}`,{"v-input--center-affix":n.centerAffix},T.value,p.value,m.value,n.class],style:n.style},[C&>("div",{key:"prepend",class:"v-input__prepend"},[(x=S.prepend)==null?void 0:x.call(S,w.value),n.prependIcon&>(t,{key:"prepend-icon",name:"prepend"},null)]),S.default&>("div",{class:"v-input__control"},[(A=S.default)==null?void 0:A.call(S,w.value)]),_&>("div",{key:"append",class:"v-input__append"},[n.appendIcon&>(t,{key:"append-icon",name:"append"},null),(L=S.append)==null?void 0:L.call(S,w.value)]),E&>("div",{class:"v-input__details"},[gt(lA,{id:i.value,active:k,messages:y.value},{message:S.message}),(b=S.details)==null?void 0:b.call(S,w.value)])])}),{reset:s,resetValidation:h,validate:c}}}),pN=ur({...mf(),...ic(oA(),["inline"])},"VCheckbox"),mN=Ar()({name:"VCheckbox",inheritAttrs:!1,props:pN(),emits:{"update:modelValue":n=>!0,"update:focused":n=>!0},setup(n,e){let{attrs:r,slots:S}=e;const D=xi(n,"modelValue"),{isFocused:T,focus:p,blur:t}=rd(n),d=Js(),g=cn(()=>n.id||`checkbox-${d}`);return Or(()=>{const[i,M]=Qd(r),[v,f]=Bs.filterProps(n),[l,a]=h0.filterProps(n);return gt(Bs,qr({class:["v-checkbox",n.class]},i,v,{modelValue:D.value,"onUpdate:modelValue":u=>D.value=u,id:g.value,focused:T.value,style:n.style}),{...S,default:u=>{let{id:o,messagesId:s,isDisabled:h,isReadonly:c}=u;return gt(h0,qr(l,{id:o.value,"aria-describedby":s.value,disabled:h.value,readonly:c.value},M,{modelValue:D.value,"onUpdate:modelValue":m=>D.value=m,onFocus:p,onBlur:t}),S)}})}),{}}});const gN=ur({start:Boolean,end:Boolean,icon:bi,image:String,...Zr(),...ds(),...uo(),...pf(),...Si(),...oa(),...cc({variant:"flat"})},"VAvatar"),Zf=Ar()({name:"VAvatar",props:gN(),setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ma(n),{colorClasses:D,colorStyles:T,variantClasses:p}=rp(n),{densityClasses:t}=Qs(n),{roundedClasses:d}=Eo(n),{sizeClasses:g,sizeStyles:i}=M0(n);return Or(()=>gt(n.tag,{class:["v-avatar",{"v-avatar--start":n.start,"v-avatar--end":n.end},S.value,D.value,t.value,d.value,g.value,p.value,n.class],style:[T.value,i.value,n.style]},{default:()=>{var M;return[n.image?gt(Zd,{key:"image",src:n.image,alt:"",cover:!0},null):n.icon?gt(ja,{key:"icon",icon:n.icon},null):(M=r.default)==null?void 0:M.call(r),np(!1,"v-avatar")]}})),{}}});const fA=Symbol.for("vuetify:v-chip-group"),vN=ur({column:Boolean,filter:Boolean,valueComparator:{type:Function,default:b0},...Zr(),...w0({selectedClass:"v-chip--selected"}),...Si(),...oa(),...cc({variant:"tonal"})},"VChipGroup"),yN=Ar()({name:"VChipGroup",props:vN(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ma(n),{isSelected:D,select:T,next:p,prev:t,selected:d}=ip(n,fA);return es({VChip:{color:Cr(n,"color"),disabled:Cr(n,"disabled"),filter:Cr(n,"filter"),variant:Cr(n,"variant")}}),Or(()=>gt(n.tag,{class:["v-chip-group",{"v-chip-group--column":n.column},S.value,n.class],style:n.style},{default:()=>{var g;return[(g=r.default)==null?void 0:g.call(r,{isSelected:D,select:T,next:p,prev:t,selected:d.value})]}})),{}}}),bN=ur({activeClass:String,appendAvatar:String,appendIcon:bi,closable:Boolean,closeIcon:{type:bi,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:{type:Boolean,default:void 0},pill:Boolean,prependAvatar:String,prependIcon:bi,ripple:{type:[Boolean,Object],default:!0},text:String,modelValue:{type:Boolean,default:!0},onClick:yh(),onClickOnce:yh(),...Su(),...Zr(),...ds(),...fs(),...T0(),...uo(),...lg(),...pf(),...Si({tag:"span"}),...oa(),...cc({variant:"tonal"})},"VChip"),ug=Ar()({name:"VChip",directives:{Ripple:nd},props:bN(),emits:{"click:close":n=>!0,"update:modelValue":n=>!0,"group:selected":n=>!0,click:n=>!0},setup(n,e){let{attrs:r,emit:S,slots:D}=e;const{t:T}=oc(),{borderClasses:p}=uc(n),{colorClasses:t,colorStyles:d,variantClasses:g}=rp(n),{densityClasses:i}=Qs(n),{elevationClasses:M}=Vs(n),{roundedClasses:v}=Eo(n),{sizeClasses:f}=M0(n),{themeClasses:l}=Ma(n),a=xi(n,"modelValue"),u=k0(n,fA,!1),o=sg(n,r),s=cn(()=>n.link!==!1&&o.isLink.value),h=cn(()=>!n.disabled&&n.link!==!1&&(!!u||n.link||o.isClickable.value)),c=cn(()=>({"aria-label":T(n.closeLabel),onClick(y){y.stopPropagation(),a.value=!1,S("click:close",y)}}));function m(y){var C;S("click",y),h.value&&((C=o.navigate)==null||C.call(o,y),u==null||u.toggle())}function w(y){(y.key==="Enter"||y.key===" ")&&(y.preventDefault(),m(y))}return()=>{const y=o.isLink.value?"a":n.tag,C=!!(n.appendIcon||n.appendAvatar),_=!!(C||D.append),k=!!(D.close||n.closable),E=!!(D.filter||n.filter)&&u,x=!!(n.prependIcon||n.prependAvatar),A=!!(x||D.prepend),L=!u||u.isSelected.value;return a.value&&Co(gt(y,{class:["v-chip",{"v-chip--disabled":n.disabled,"v-chip--label":n.label,"v-chip--link":h.value,"v-chip--filter":E,"v-chip--pill":n.pill},l.value,p.value,L?t.value:void 0,i.value,M.value,v.value,f.value,g.value,u==null?void 0:u.selectedClass.value,n.class],style:[L?d.value:void 0,n.style],disabled:n.disabled||void 0,draggable:n.draggable,href:o.href.value,tabindex:h.value?0:void 0,onClick:m,onKeydown:h.value&&!s.value&&w},{default:()=>{var b;return[np(h.value,"v-chip"),E&>(u_,{key:"filter"},{default:()=>[Co(gt("div",{class:"v-chip__filter"},[D.filter?gt(Fa,{key:"filter-defaults",disabled:!n.filterIcon,defaults:{VIcon:{icon:n.filterIcon}}},D.filter):gt(ja,{key:"filter-icon",icon:n.filterIcon},null)]),[[kh,u.isSelected.value]])]}),A&>("div",{key:"prepend",class:"v-chip__prepend"},[D.prepend?gt(Fa,{key:"prepend-defaults",disabled:!x,defaults:{VAvatar:{image:n.prependAvatar,start:!0},VIcon:{icon:n.prependIcon,start:!0}}},D.prepend):gt(Yr,null,[n.prependIcon&>(ja,{key:"prepend-icon",icon:n.prependIcon,start:!0},null),n.prependAvatar&>(Zf,{key:"prepend-avatar",image:n.prependAvatar,start:!0},null)])]),gt("div",{class:"v-chip__content"},[((b=D.default)==null?void 0:b.call(D,{isSelected:u==null?void 0:u.isSelected.value,selectedClass:u==null?void 0:u.selectedClass.value,select:u==null?void 0:u.select,toggle:u==null?void 0:u.toggle,value:u==null?void 0:u.value.value,disabled:n.disabled}))??n.text]),_&>("div",{key:"append",class:"v-chip__append"},[D.append?gt(Fa,{key:"append-defaults",disabled:!C,defaults:{VAvatar:{end:!0,image:n.appendAvatar},VIcon:{end:!0,icon:n.appendIcon}}},D.append):gt(Yr,null,[n.appendIcon&>(ja,{key:"append-icon",end:!0,icon:n.appendIcon},null),n.appendAvatar&>(Zf,{key:"append-avatar",end:!0,image:n.appendAvatar},null)])]),k&>("div",qr({key:"close",class:"v-chip__close"},c.value),[D.close?gt(Fa,{key:"close-defaults",defaults:{VIcon:{icon:n.closeIcon,size:"x-small"}}},D.close):gt(ja,{key:"close-icon",icon:n.closeIcon,size:"x-small"},null)])]}}),[[Tu("ripple"),h.value&&n.ripple,null]])}}});const wx=Symbol.for("vuetify:list");function dA(){const n=ka(wx,{hasPrepend:Wr(!1),updateHasPrepend:()=>null}),e={hasPrepend:Wr(!1),updateHasPrepend:r=>{r&&(e.hasPrepend.value=r)}};return ts(wx,e),n}function pA(){return ka(wx,null)}const xN={open:n=>{let{id:e,value:r,opened:S,parents:D}=n;if(r){const T=new Set;T.add(e);let p=D.get(e);for(;p!=null;)T.add(p),p=D.get(p);return T}else return S.delete(e),S},select:()=>null},mA={open:n=>{let{id:e,value:r,opened:S,parents:D}=n;if(r){let T=D.get(e);for(S.add(e);T!=null&&T!==e;)S.add(T),T=D.get(T);return S}else S.delete(e);return S},select:()=>null},_N={open:mA.open,select:n=>{let{id:e,value:r,opened:S,parents:D}=n;if(!r)return S;const T=[];let p=D.get(e);for(;p!=null;)T.push(p),p=D.get(p);return new Set(T)}},b_=n=>{const e={select:r=>{let{id:S,value:D,selected:T}=r;if(S=wi(S),n&&!D){const p=Array.from(T.entries()).reduce((t,d)=>{let[g,i]=d;return i==="on"?[...t,g]:t},[]);if(p.length===1&&p[0]===S)return T}return T.set(S,D?"on":"off"),T},in:(r,S,D)=>{let T=new Map;for(const p of r||[])T=e.select({id:p,value:!0,selected:new Map(T),children:S,parents:D});return T},out:r=>{const S=[];for(const[D,T]of r.entries())T==="on"&&S.push(D);return S}};return e},gA=n=>{const e=b_(n);return{select:S=>{let{selected:D,id:T,...p}=S;T=wi(T);const t=D.has(T)?new Map([[T,D.get(T)]]):new Map;return e.select({...p,id:T,selected:t})},in:(S,D,T)=>{let p=new Map;return S!=null&&S.length&&(p=e.in(S.slice(0,1),D,T)),p},out:(S,D,T)=>e.out(S,D,T)}},wN=n=>{const e=b_(n);return{select:S=>{let{id:D,selected:T,children:p,...t}=S;return D=wi(D),p.has(D)?T:e.select({id:D,selected:T,children:p,...t})},in:e.in,out:e.out}},TN=n=>{const e=gA(n);return{select:S=>{let{id:D,selected:T,children:p,...t}=S;return D=wi(D),p.has(D)?T:e.select({id:D,selected:T,children:p,...t})},in:e.in,out:e.out}},kN=n=>{const e={select:r=>{let{id:S,value:D,selected:T,children:p,parents:t}=r;S=wi(S);const d=new Map(T),g=[S];for(;g.length;){const M=g.shift();T.set(M,D?"on":"off"),p.has(M)&&g.push(...p.get(M))}let i=t.get(S);for(;i;){const M=p.get(i),v=M.every(l=>T.get(l)==="on"),f=M.every(l=>!T.has(l)||T.get(l)==="off");T.set(i,v?"on":f?"off":"indeterminate"),i=t.get(i)}return n&&!D&&Array.from(T.entries()).reduce((v,f)=>{let[l,a]=f;return a==="on"?[...v,l]:v},[]).length===0?d:T},in:(r,S,D)=>{let T=new Map;for(const p of r||[])T=e.select({id:p,value:!0,selected:new Map(T),children:S,parents:D});return T},out:(r,S)=>{const D=[];for(const[T,p]of r.entries())p==="on"&&!S.has(T)&&D.push(T);return D}};return e},Vm=Symbol.for("vuetify:nested"),vA={id:Wr(),root:{register:()=>null,unregister:()=>null,parents:Vr(new Map),children:Vr(new Map),open:()=>null,openOnSelect:()=>null,select:()=>null,opened:Vr(new Set),selected:Vr(new Map),selectedValues:Vr([])}},MN=ur({selectStrategy:[String,Function],openStrategy:[String,Object],opened:Array,selected:Array,mandatory:Boolean},"nested"),AN=n=>{let e=!1;const r=Vr(new Map),S=Vr(new Map),D=xi(n,"opened",n.opened,M=>new Set(M),M=>[...M.values()]),T=cn(()=>{if(typeof n.selectStrategy=="object")return n.selectStrategy;switch(n.selectStrategy){case"single-leaf":return TN(n.mandatory);case"leaf":return wN(n.mandatory);case"independent":return b_(n.mandatory);case"single-independent":return gA(n.mandatory);case"classic":default:return kN(n.mandatory)}}),p=cn(()=>{if(typeof n.openStrategy=="object")return n.openStrategy;switch(n.openStrategy){case"list":return _N;case"single":return xN;case"multiple":default:return mA}}),t=xi(n,"selected",n.selected,M=>T.value.in(M,r.value,S.value),M=>T.value.out(M,r.value,S.value));kl(()=>{e=!0});function d(M){const v=[];let f=M;for(;f!=null;)v.unshift(f),f=S.value.get(f);return v}const g=Ss("nested"),i={id:Wr(),root:{opened:D,selected:t,selectedValues:cn(()=>{const M=[];for(const[v,f]of t.value.entries())f==="on"&&M.push(v);return M}),register:(M,v,f)=>{v&&M!==v&&S.value.set(M,v),f&&r.value.set(M,[]),v!=null&&r.value.set(v,[...r.value.get(v)||[],M])},unregister:M=>{if(e)return;r.value.delete(M);const v=S.value.get(M);if(v){const f=r.value.get(v)??[];r.value.set(v,f.filter(l=>l!==M))}S.value.delete(M),D.value.delete(M)},open:(M,v,f)=>{g.emit("click:open",{id:M,value:v,path:d(M),event:f});const l=p.value.open({id:M,value:v,opened:new Set(D.value),children:r.value,parents:S.value,event:f});l&&(D.value=l)},openOnSelect:(M,v,f)=>{const l=p.value.select({id:M,value:v,selected:new Map(t.value),opened:new Set(D.value),children:r.value,parents:S.value,event:f});l&&(D.value=l)},select:(M,v,f)=>{g.emit("click:select",{id:M,value:v,path:d(M),event:f});const l=T.value.select({id:M,value:v,selected:new Map(t.value),children:r.value,parents:S.value,event:f});l&&(t.value=l),i.root.openOnSelect(M,v,f)},children:r,parents:S}};return ts(Vm,i),i.root},yA=(n,e)=>{const r=ka(Vm,vA),S=Symbol(Js()),D=cn(()=>n.value!==void 0?n.value:S),T={...r,id:D,open:(p,t)=>r.root.open(D.value,p,t),openOnSelect:(p,t)=>r.root.openOnSelect(D.value,p,t),isOpen:cn(()=>r.root.opened.value.has(D.value)),parent:cn(()=>r.root.parents.value.get(D.value)),select:(p,t)=>r.root.select(D.value,p,t),isSelected:cn(()=>r.root.selected.value.get(wi(D.value))==="on"),isIndeterminate:cn(()=>r.root.selected.value.get(D.value)==="indeterminate"),isLeaf:cn(()=>!r.root.children.value.get(D.value)),isGroupActivator:r.isGroupActivator};return!r.isGroupActivator&&r.root.register(D.value,r.id.value,e),kl(()=>{!r.isGroupActivator&&r.root.unregister(D.value)}),e&&ts(Vm,T),T},SN=()=>{const n=ka(Vm,vA);ts(Vm,{...n,isGroupActivator:!0})},CN=ac({name:"VListGroupActivator",setup(n,e){let{slots:r}=e;return SN(),()=>{var S;return(S=r.default)==null?void 0:S.call(r)}}}),EN=ur({activeColor:String,baseColor:String,color:String,collapseIcon:{type:bi,default:"$collapse"},expandIcon:{type:bi,default:"$expand"},prependIcon:bi,appendIcon:bi,fluid:Boolean,subgroup:Boolean,title:String,value:null,...Zr(),...Si()},"VListGroup"),Tx=Ar()({name:"VListGroup",props:EN(),setup(n,e){let{slots:r}=e;const{isOpen:S,open:D,id:T}=yA(Cr(n,"value"),!0),p=cn(()=>`v-list-group--id-${String(T.value)}`),t=pA(),{isBooted:d}=tp();function g(f){D(!S.value,f)}const i=cn(()=>({onClick:g,class:"v-list-group__header",id:p.value})),M=cn(()=>S.value?n.collapseIcon:n.expandIcon),v=cn(()=>({VListItem:{active:S.value,activeColor:n.activeColor,baseColor:n.baseColor,color:n.color,prependIcon:n.prependIcon||n.subgroup&&M.value,appendIcon:n.appendIcon||!n.subgroup&&M.value,title:n.title,value:n.value}}));return Or(()=>gt(n.tag,{class:["v-list-group",{"v-list-group--prepend":t==null?void 0:t.hasPrepend.value,"v-list-group--fluid":n.fluid,"v-list-group--subgroup":n.subgroup,"v-list-group--open":S.value},n.class],style:n.style},{default:()=>[r.activator&>(Fa,{defaults:v.value},{default:()=>[gt(CN,null,{default:()=>[r.activator({props:i.value,isOpen:S.value})]})]}),gt(Oc,{transition:{component:e1},disabled:!d.value},{default:()=>{var f;return[Co(gt("div",{class:"v-list-group__items",role:"group","aria-labelledby":p.value},[(f=r.default)==null?void 0:f.call(r)]),[[kh,S.value]])]}})]})),{}}});const bA=Nc("v-list-item-subtitle"),xA=Nc("v-list-item-title"),LN=ur({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:bi,baseColor:String,disabled:Boolean,lines:String,link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:bi,ripple:{type:[Boolean,Object],default:!0},subtitle:[String,Number,Boolean],title:[String,Number,Boolean],value:null,onClick:yh(),onClickOnce:yh(),...Su(),...Zr(),...ds(),...sc(),...fs(),...uo(),...lg(),...Si(),...oa(),...cc({variant:"text"})},"VListItem"),af=Ar()({name:"VListItem",directives:{Ripple:nd},props:LN(),emits:{click:n=>!0},setup(n,e){let{attrs:r,slots:S,emit:D}=e;const T=sg(n,r),p=cn(()=>n.value===void 0?T.href.value:n.value),{select:t,isSelected:d,isIndeterminate:g,isGroupActivator:i,root:M,parent:v,openOnSelect:f}=yA(p,!1),l=pA(),a=cn(()=>{var O;return n.active!==!1&&(n.active||((O=T.isActive)==null?void 0:O.value)||d.value)}),u=cn(()=>n.link!==!1&&T.isLink.value),o=cn(()=>!n.disabled&&n.link!==!1&&(n.link||T.isClickable.value||n.value!=null&&!!l)),s=cn(()=>n.rounded||n.nav),h=cn(()=>n.color??n.activeColor),c=cn(()=>({color:a.value?h.value??n.baseColor:n.baseColor,variant:n.variant}));$r(()=>{var O;return(O=T.isActive)==null?void 0:O.value},O=>{O&&v.value!=null&&M.open(v.value,!0),O&&f(O)},{immediate:!0});const{themeClasses:m}=Ma(n),{borderClasses:w}=uc(n),{colorClasses:y,colorStyles:C,variantClasses:_}=rp(c),{densityClasses:k}=Qs(n),{dimensionStyles:E}=lc(n),{elevationClasses:x}=Vs(n),{roundedClasses:A}=Eo(s),L=cn(()=>n.lines?`v-list-item--${n.lines}-line`:void 0),b=cn(()=>({isActive:a.value,select:t,isSelected:d.value,isIndeterminate:g.value}));function R(O){var z;D("click",O),!(i||!o.value)&&((z=T.navigate)==null||z.call(T,O),n.value!=null&&t(!d.value,O))}function I(O){(O.key==="Enter"||O.key===" ")&&(O.preventDefault(),R(O))}return Or(()=>{const O=u.value?"a":n.tag,z=S.title||n.title,F=S.subtitle||n.subtitle,B=!!(n.appendAvatar||n.appendIcon),N=!!(B||S.append),W=!!(n.prependAvatar||n.prependIcon),j=!!(W||S.prepend);return l==null||l.updateHasPrepend(j),n.activeColor&&aF("active-color",["color","base-color"]),Co(gt(O,{class:["v-list-item",{"v-list-item--active":a.value,"v-list-item--disabled":n.disabled,"v-list-item--link":o.value,"v-list-item--nav":n.nav,"v-list-item--prepend":!j&&(l==null?void 0:l.hasPrepend.value),[`${n.activeClass}`]:n.activeClass&&a.value},m.value,w.value,y.value,k.value,x.value,L.value,A.value,_.value,n.class],style:[C.value,E.value,n.style],href:T.href.value,tabindex:o.value?l?-2:0:void 0,onClick:R,onKeydown:o.value&&!u.value&&I},{default:()=>{var $;return[np(o.value||a.value,"v-list-item"),j&>("div",{key:"prepend",class:"v-list-item__prepend"},[S.prepend?gt(Fa,{key:"prepend-defaults",disabled:!W,defaults:{VAvatar:{density:n.density,image:n.prependAvatar},VIcon:{density:n.density,icon:n.prependIcon},VListItemAction:{start:!0}}},{default:()=>{var U;return[(U=S.prepend)==null?void 0:U.call(S,b.value)]}}):gt(Yr,null,[n.prependAvatar&>(Zf,{key:"prepend-avatar",density:n.density,image:n.prependAvatar},null),n.prependIcon&>(ja,{key:"prepend-icon",density:n.density,icon:n.prependIcon},null)]),gt("div",{class:"v-list-item__spacer"},null)]),gt("div",{class:"v-list-item__content","data-no-activator":""},[z&>(xA,{key:"title"},{default:()=>{var U;return[((U=S.title)==null?void 0:U.call(S,{title:n.title}))??n.title]}}),F&>(bA,{key:"subtitle"},{default:()=>{var U;return[((U=S.subtitle)==null?void 0:U.call(S,{subtitle:n.subtitle}))??n.subtitle]}}),($=S.default)==null?void 0:$.call(S,b.value)]),N&>("div",{key:"append",class:"v-list-item__append"},[S.append?gt(Fa,{key:"append-defaults",disabled:!B,defaults:{VAvatar:{density:n.density,image:n.appendAvatar},VIcon:{density:n.density,icon:n.appendIcon},VListItemAction:{end:!0}}},{default:()=>{var U;return[(U=S.append)==null?void 0:U.call(S,b.value)]}}):gt(Yr,null,[n.appendIcon&>(ja,{key:"append-icon",density:n.density,icon:n.appendIcon},null),n.appendAvatar&>(Zf,{key:"append-avatar",density:n.density,image:n.appendAvatar},null)]),gt("div",{class:"v-list-item__spacer"},null)])]}}),[[Tu("ripple"),o.value&&n.ripple]])}),{}}}),IN=ur({color:String,inset:Boolean,sticky:Boolean,title:String,...Zr(),...Si()},"VListSubheader"),_A=Ar()({name:"VListSubheader",props:IN(),setup(n,e){let{slots:r}=e;const{textColorClasses:S,textColorStyles:D}=Xs(Cr(n,"color"));return Or(()=>{const T=!!(r.default||n.title);return gt(n.tag,{class:["v-list-subheader",{"v-list-subheader--inset":n.inset,"v-list-subheader--sticky":n.sticky},S.value,n.class],style:[{textColorStyles:D},n.style]},{default:()=>{var p;return[T&>("div",{class:"v-list-subheader__text"},[((p=r.default)==null?void 0:p.call(r))??n.title])]}})}),{}}});const RN=ur({color:String,inset:Boolean,length:[Number,String],thickness:[Number,String],vertical:Boolean,...Zr(),...oa()},"VDivider"),wA=Ar()({name:"VDivider",props:RN(),setup(n,e){let{attrs:r}=e;const{themeClasses:S}=Ma(n),{textColorClasses:D,textColorStyles:T}=Xs(Cr(n,"color")),p=cn(()=>{const t={};return n.length&&(t[n.vertical?"maxHeight":"maxWidth"]=Qr(n.length)),n.thickness&&(t[n.vertical?"borderRightWidth":"borderTopWidth"]=Qr(n.thickness)),t});return Or(()=>gt("hr",{class:[{"v-divider":!0,"v-divider--inset":n.inset,"v-divider--vertical":n.vertical},S.value,D.value,n.class],style:[p.value,T.value,n.style],"aria-orientation":!r.role||r.role==="separator"?n.vertical?"vertical":"horizontal":void 0,role:`${r.role||"separator"}`},null)),{}}}),PN=ur({items:Array},"VListChildren"),TA=Ar()({name:"VListChildren",props:PN(),setup(n,e){let{slots:r}=e;return dA(),()=>{var S,D;return((S=r.default)==null?void 0:S.call(r))??((D=n.items)==null?void 0:D.map(T=>{var f,l;let{children:p,props:t,type:d,raw:g}=T;if(d==="divider")return((f=r.divider)==null?void 0:f.call(r,{props:t}))??gt(wA,t,null);if(d==="subheader")return((l=r.subheader)==null?void 0:l.call(r,{props:t}))??gt(_A,t,null);const i={subtitle:r.subtitle?a=>{var u;return(u=r.subtitle)==null?void 0:u.call(r,{...a,item:g})}:void 0,prepend:r.prepend?a=>{var u;return(u=r.prepend)==null?void 0:u.call(r,{...a,item:g})}:void 0,append:r.append?a=>{var u;return(u=r.append)==null?void 0:u.call(r,{...a,item:g})}:void 0,title:r.title?a=>{var u;return(u=r.title)==null?void 0:u.call(r,{...a,item:g})}:void 0},[M,v]=Tx.filterProps(t);return p?gt(Tx,qr({value:t==null?void 0:t.value},M),{activator:a=>{let{props:u}=a;return r.header?r.header({props:{...t,...u}}):gt(af,qr(t,u),i)},default:()=>gt(TA,{items:p},r)}):r.item?r.item({props:t}):gt(af,t,i)}))}}}),kA=ur({items:{type:Array,default:()=>[]},itemTitle:{type:[String,Array,Function],default:"title"},itemValue:{type:[String,Array,Function],default:"value"},itemChildren:{type:[Boolean,String,Array,Function],default:"children"},itemProps:{type:[Boolean,String,Array,Function],default:"props"},returnObject:Boolean,valueComparator:{type:Function,default:b0}},"list-items");function zd(n,e){const r=ph(e,n.itemTitle,e),S=ph(e,n.itemValue,r),D=ph(e,n.itemChildren),T=n.itemProps===!0?typeof e=="object"&&e!=null&&!Array.isArray(e)?"children"in e?$d(e,["children"])[1]:e:void 0:ph(e,n.itemProps),p={title:r,value:S,...T};return{title:String(p.title??""),value:p.value,props:p,children:Array.isArray(D)?MA(n,D):void 0,raw:e}}function MA(n,e){const r=[];for(const S of e)r.push(zd(n,S));return r}function x_(n){const e=cn(()=>MA(n,n.items)),r=cn(()=>e.value.some(T=>T.value===null));function S(T){return r.value||(T=T.filter(p=>p!==null)),T.map(p=>n.returnObject&&typeof p=="string"?zd(n,p):e.value.find(t=>n.valueComparator(p,t.value))||zd(n,p))}function D(T){return n.returnObject?T.map(p=>{let{raw:t}=p;return t}):T.map(p=>{let{value:t}=p;return t})}return{items:e,transformIn:S,transformOut:D}}function ON(n){return typeof n=="string"||typeof n=="number"||typeof n=="boolean"}function DN(n,e){const r=ph(e,n.itemType,"item"),S=ON(e)?e:ph(e,n.itemTitle),D=ph(e,n.itemValue,void 0),T=ph(e,n.itemChildren),p=n.itemProps===!0?$d(e,["children"])[1]:ph(e,n.itemProps),t={title:S,value:D,...p};return{type:r,title:t.title,value:t.value,props:t,children:r==="item"&&T?AA(n,T):void 0,raw:e}}function AA(n,e){const r=[];for(const S of e)r.push(DN(n,S));return r}function zN(n){return{items:cn(()=>AA(n,n.items))}}const FN=ur({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,lines:{type:[Boolean,String],default:"one"},nav:Boolean,...MN({selectStrategy:"single-leaf",openStrategy:"list"}),...Su(),...Zr(),...ds(),...sc(),...fs(),itemType:{type:String,default:"type"},...kA(),...uo(),...Si(),...oa(),...cc({variant:"text"})},"VList"),a1=Ar()({name:"VList",props:FN(),emits:{"update:selected":n=>!0,"update:opened":n=>!0,"click:open":n=>!0,"click:select":n=>!0},setup(n,e){let{slots:r}=e;const{items:S}=zN(n),{themeClasses:D}=Ma(n),{backgroundColorClasses:T,backgroundColorStyles:p}=Oo(Cr(n,"bgColor")),{borderClasses:t}=uc(n),{densityClasses:d}=Qs(n),{dimensionStyles:g}=lc(n),{elevationClasses:i}=Vs(n),{roundedClasses:M}=Eo(n),{open:v,select:f}=AN(n),l=cn(()=>n.lines?`v-list--${n.lines}-line`:void 0),a=Cr(n,"activeColor"),u=Cr(n,"baseColor"),o=Cr(n,"color");dA(),es({VListGroup:{activeColor:a,baseColor:u,color:o},VListItem:{activeClass:Cr(n,"activeClass"),activeColor:a,baseColor:u,color:o,density:Cr(n,"density"),disabled:Cr(n,"disabled"),lines:Cr(n,"lines"),nav:Cr(n,"nav"),variant:Cr(n,"variant")}});const s=Wr(!1),h=Vr();function c(_){s.value=!0}function m(_){s.value=!1}function w(_){var k;!s.value&&!(_.relatedTarget&&((k=h.value)!=null&&k.contains(_.relatedTarget)))&&C()}function y(_){if(h.value){if(_.key==="ArrowDown")C("next");else if(_.key==="ArrowUp")C("prev");else if(_.key==="Home")C("first");else if(_.key==="End")C("last");else return;_.preventDefault()}}function C(_){if(h.value)return uy(h.value,_)}return Or(()=>gt(n.tag,{ref:h,class:["v-list",{"v-list--disabled":n.disabled,"v-list--nav":n.nav},D.value,T.value,t.value,d.value,i.value,l.value,M.value,n.class],style:[p.value,g.value,n.style],tabindex:n.disabled||s.value?-1:0,role:"listbox","aria-activedescendant":void 0,onFocusin:c,onFocusout:m,onFocus:w,onKeydown:y},{default:()=>[gt(TA,{items:S.value},r)]})),{open:v,select:f,focus:C}}}),BN=Nc("v-list-img"),NN=ur({start:Boolean,end:Boolean,...Zr(),...Si()},"VListItemAction"),VN=Ar()({name:"VListItemAction",props:NN(),setup(n,e){let{slots:r}=e;return Or(()=>gt(n.tag,{class:["v-list-item-action",{"v-list-item-action--start":n.start,"v-list-item-action--end":n.end},n.class],style:n.style},r)),{}}}),jN=ur({start:Boolean,end:Boolean,...Zr(),...Si()},"VListItemMedia"),UN=Ar()({name:"VListItemMedia",props:jN(),setup(n,e){let{slots:r}=e;return Or(()=>gt(n.tag,{class:["v-list-item-media",{"v-list-item-media--start":n.start,"v-list-item-media--end":n.end},n.class],style:n.style},r)),{}}});function xb(n,e){return{x:n.x+e.x,y:n.y+e.y}}function HN(n,e){return{x:n.x-e.x,y:n.y-e.y}}function tT(n,e){if(n.side==="top"||n.side==="bottom"){const{side:r,align:S}=n,D=S==="left"?0:S==="center"?e.width/2:S==="right"?e.width:S,T=r==="top"?0:r==="bottom"?e.height:r;return xb({x:D,y:T},e)}else if(n.side==="left"||n.side==="right"){const{side:r,align:S}=n,D=r==="left"?0:r==="right"?e.width:r,T=S==="top"?0:S==="center"?e.height/2:S==="bottom"?e.height:S;return xb({x:D,y:T},e)}return xb({x:e.width/2,y:e.height/2},e)}const SA={static:WN,connected:$N},GN=ur({locationStrategy:{type:[String,Function],default:"static",validator:n=>typeof n=="function"||n in SA},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function qN(n,e){const r=Vr({}),S=Vr();to&&($f(()=>!!(e.isActive.value&&n.locationStrategy),T=>{var p,t;$r(()=>n.locationStrategy,T),Tl(()=>{S.value=void 0}),typeof n.locationStrategy=="function"?S.value=(p=n.locationStrategy(e,n,r))==null?void 0:p.updateLocation:S.value=(t=SA[n.locationStrategy](e,n,r))==null?void 0:t.updateLocation}),window.addEventListener("resize",D,{passive:!0}),Tl(()=>{window.removeEventListener("resize",D),S.value=void 0}));function D(T){var p;(p=S.value)==null||p.call(S,T)}return{contentStyles:r,updateLocation:S}}function WN(){}function YN(n,e){e?n.style.removeProperty("left"):n.style.removeProperty("right");const r=J2(n);return e?r.x+=parseFloat(n.style.right||0):r.x-=parseFloat(n.style.left||0),r.y-=parseFloat(n.style.top||0),r}function $N(n,e,r){wF(n.activatorEl.value)&&Object.assign(r.value,{position:"fixed",top:0,[n.isRtl.value?"right":"left"]:0});const{preferredAnchor:D,preferredOrigin:T}=X2(()=>{const l=lx(e.location,n.isRtl.value),a=e.origin==="overlap"?l:e.origin==="auto"?gb(l):lx(e.origin,n.isRtl.value);return l.side===a.side&&l.align===vb(a).align?{preferredAnchor:M5(l),preferredOrigin:M5(a)}:{preferredAnchor:l,preferredOrigin:a}}),[p,t,d,g]=["minWidth","minHeight","maxWidth","maxHeight"].map(l=>cn(()=>{const a=parseFloat(e[l]);return isNaN(a)?1/0:a})),i=cn(()=>{if(Array.isArray(e.offset))return e.offset;if(typeof e.offset=="string"){const l=e.offset.split(" ").map(parseFloat);return l.length<2&&l.push(0),l}return typeof e.offset=="number"?[e.offset,0]:[0,0]});let M=!1;const v=new ResizeObserver(()=>{M&&f()});$r([n.activatorEl,n.contentEl],(l,a)=>{let[u,o]=l,[s,h]=a;s&&v.unobserve(s),u&&v.observe(u),h&&v.unobserve(h),o&&v.observe(o)},{immediate:!0}),Tl(()=>{v.disconnect()});function f(){if(M=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>M=!0)}),!n.activatorEl.value||!n.contentEl.value)return;const l=n.activatorEl.value.getBoundingClientRect(),a=YN(n.contentEl.value,n.isRtl.value),u=hy(n.contentEl.value),o=12;u.length||(u.push(document.documentElement),n.contentEl.value.style.top&&n.contentEl.value.style.left||(a.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),a.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const s=u.reduce((E,x)=>{const A=x.getBoundingClientRect(),L=new Yp({x:x===document.documentElement?0:A.x,y:x===document.documentElement?0:A.y,width:x.clientWidth,height:x.clientHeight});return E?new Yp({x:Math.max(E.left,L.left),y:Math.max(E.top,L.top),width:Math.min(E.right,L.right)-Math.max(E.left,L.left),height:Math.min(E.bottom,L.bottom)-Math.max(E.top,L.top)}):L},void 0);s.x+=o,s.y+=o,s.width-=o*2,s.height-=o*2;let h={anchor:D.value,origin:T.value};function c(E){const x=new Yp(a),A=tT(E.anchor,l),L=tT(E.origin,x);let{x:b,y:R}=HN(A,L);switch(E.anchor.side){case"top":R-=i.value[0];break;case"bottom":R+=i.value[0];break;case"left":b-=i.value[0];break;case"right":b+=i.value[0];break}switch(E.anchor.align){case"top":R-=i.value[1];break;case"bottom":R+=i.value[1];break;case"left":b-=i.value[1];break;case"right":b+=i.value[1];break}return x.x+=b,x.y+=R,x.width=Math.min(x.width,d.value),x.height=Math.min(x.height,g.value),{overflows:S5(x,s),x:b,y:R}}let m=0,w=0;const y={x:0,y:0},C={x:!1,y:!1};let _=-1;for(;!(_++>10);){const{x:E,y:x,overflows:A}=c(h);m+=E,w+=x,a.x+=E,a.y+=x;{const L=A5(h.anchor),b=A.x.before||A.x.after,R=A.y.before||A.y.after;let I=!1;if(["x","y"].forEach(O=>{if(O==="x"&&b&&!C.x||O==="y"&&R&&!C.y){const z={anchor:{...h.anchor},origin:{...h.origin}},F=O==="x"?L==="y"?vb:gb:L==="y"?gb:vb;z.anchor=F(z.anchor),z.origin=F(z.origin);const{overflows:B}=c(z);(B[O].before<=A[O].before&&B[O].after<=A[O].after||B[O].before+B[O].after<(A[O].before+A[O].after)/2)&&(h=z,I=C[O]=!0)}}),I)continue}A.x.before&&(m+=A.x.before,a.x+=A.x.before),A.x.after&&(m-=A.x.after,a.x-=A.x.after),A.y.before&&(w+=A.y.before,a.y+=A.y.before),A.y.after&&(w-=A.y.after,a.y-=A.y.after);{const L=S5(a,s);y.x=s.width-L.x.before-L.x.after,y.y=s.height-L.y.before-L.y.after,m+=L.x.before,a.x+=L.x.before,w+=L.y.before,a.y+=L.y.before}break}const k=A5(h.anchor);return Object.assign(r.value,{"--v-overlay-anchor-origin":`${h.anchor.side} ${h.anchor.align}`,transformOrigin:`${h.origin.side} ${h.origin.align}`,top:Qr(_b(w)),left:n.isRtl.value?void 0:Qr(_b(m)),right:n.isRtl.value?Qr(_b(-m)):void 0,minWidth:Qr(k==="y"?Math.min(p.value,l.width):p.value),maxWidth:Qr(nT(Zs(y.x,p.value===1/0?0:p.value,d.value))),maxHeight:Qr(nT(Zs(y.y,t.value===1/0?0:t.value,g.value)))}),{available:y,contentBox:a}}return $r(()=>[D.value,T.value,e.offset,e.minWidth,e.minHeight,e.maxWidth,e.maxHeight],()=>f()),Ua(()=>{const l=f();if(!l)return;const{available:a,contentBox:u}=l;u.height>a.y&&requestAnimationFrame(()=>{f(),requestAnimationFrame(()=>{f()})})}),{updateLocation:f}}function _b(n){return Math.round(n*devicePixelRatio)/devicePixelRatio}function nT(n){return Math.ceil(n*devicePixelRatio)/devicePixelRatio}let kx=!0;const py=[];function ZN(n){!kx||py.length?(py.push(n),Mx()):(kx=!1,n(),Mx())}let rT=-1;function Mx(){cancelAnimationFrame(rT),rT=requestAnimationFrame(()=>{const n=py.shift();n&&n(),py.length?Mx():kx=!0})}const Mv={none:null,close:JN,block:QN,reposition:eV},XN=ur({scrollStrategy:{type:[String,Function],default:"block",validator:n=>typeof n=="function"||n in Mv}},"VOverlay-scroll-strategies");function KN(n,e){if(!to)return;let r;wu(async()=>{r==null||r.stop(),e.isActive.value&&n.scrollStrategy&&(r=Um(),await Ua(),r.active&&r.run(()=>{var S;typeof n.scrollStrategy=="function"?n.scrollStrategy(e,n,r):(S=Mv[n.scrollStrategy])==null||S.call(Mv,e,n,r)}))}),Tl(()=>{r==null||r.stop()})}function JN(n){function e(r){n.isActive.value=!1}CA(n.activatorEl.value??n.contentEl.value,e)}function QN(n,e){var p;const r=(p=n.root.value)==null?void 0:p.offsetParent,S=[...new Set([...hy(n.activatorEl.value,e.contained?r:void 0),...hy(n.contentEl.value,e.contained?r:void 0)])].filter(t=>!t.classList.contains("v-overlay-scroll-blocked")),D=window.innerWidth-document.documentElement.offsetWidth,T=(t=>n_(t)&&t)(r||document.documentElement);T&&n.root.value.classList.add("v-overlay--scroll-blocked"),S.forEach((t,d)=>{t.style.setProperty("--v-body-scroll-x",Qr(-t.scrollLeft)),t.style.setProperty("--v-body-scroll-y",Qr(-t.scrollTop)),t!==document.documentElement&&t.style.setProperty("--v-scrollbar-offset",Qr(D)),t.classList.add("v-overlay-scroll-blocked")}),Tl(()=>{S.forEach((t,d)=>{const g=parseFloat(t.style.getPropertyValue("--v-body-scroll-x")),i=parseFloat(t.style.getPropertyValue("--v-body-scroll-y"));t.style.removeProperty("--v-body-scroll-x"),t.style.removeProperty("--v-body-scroll-y"),t.style.removeProperty("--v-scrollbar-offset"),t.classList.remove("v-overlay-scroll-blocked"),t.scrollLeft=-g,t.scrollTop=-i}),T&&n.root.value.classList.remove("v-overlay--scroll-blocked")})}function eV(n,e,r){let S=!1,D=-1,T=-1;function p(t){ZN(()=>{var i,M;const d=performance.now();(M=(i=n.updateLocation).value)==null||M.call(i,t),S=(performance.now()-d)/(1e3/60)>2})}T=(typeof requestIdleCallback>"u"?t=>t():requestIdleCallback)(()=>{r.run(()=>{CA(n.activatorEl.value??n.contentEl.value,t=>{S?(cancelAnimationFrame(D),D=requestAnimationFrame(()=>{D=requestAnimationFrame(()=>{p(t)})})):p(t)})})}),Tl(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(T),cancelAnimationFrame(D)})}function CA(n,e){const r=[document,...hy(n)];r.forEach(S=>{S.addEventListener("scroll",e,{passive:!0})}),Tl(()=>{r.forEach(S=>{S.removeEventListener("scroll",e)})})}const Ax=Symbol.for("vuetify:v-menu"),EA=ur({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function LA(n,e){const r={},S=D=>()=>{if(!to)return Promise.resolve(!0);const T=D==="openDelay";return r.closeDelay&&window.clearTimeout(r.closeDelay),delete r.closeDelay,r.openDelay&&window.clearTimeout(r.openDelay),delete r.openDelay,new Promise(p=>{const t=parseInt(n[D]??0,10);r[D]=window.setTimeout(()=>{e==null||e(T),p(T)},t)})};return{runCloseDelay:S("closeDelay"),runOpenDelay:S("openDelay")}}const tV=ur({activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...EA()},"VOverlay-activator");function nV(n,e){let{isActive:r,isTop:S}=e;const D=Vr();let T=!1,p=!1,t=!0;const d=cn(()=>n.openOnFocus||n.openOnFocus==null&&n.openOnHover),g=cn(()=>n.openOnClick||n.openOnClick==null&&!n.openOnHover&&!d.value),{runOpenDelay:i,runCloseDelay:M}=LA(n,h=>{h===(n.openOnHover&&T||d.value&&p)&&!(n.openOnHover&&r.value&&!S.value)&&(r.value!==h&&(t=!0),r.value=h)}),v={onClick:h=>{h.stopPropagation(),D.value=h.currentTarget||h.target,r.value=!r.value},onMouseenter:h=>{var c;(c=h.sourceCapabilities)!=null&&c.firesTouchEvents||(T=!0,D.value=h.currentTarget||h.target,i())},onMouseleave:h=>{T=!1,M()},onFocus:h=>{l0(h.target,":focus-visible")!==!1&&(p=!0,h.stopPropagation(),D.value=h.currentTarget||h.target,i())},onBlur:h=>{p=!1,h.stopPropagation(),M()}},f=cn(()=>{const h={};return g.value&&(h.onClick=v.onClick),n.openOnHover&&(h.onMouseenter=v.onMouseenter,h.onMouseleave=v.onMouseleave),d.value&&(h.onFocus=v.onFocus,h.onBlur=v.onBlur),h}),l=cn(()=>{const h={};if(n.openOnHover&&(h.onMouseenter=()=>{T=!0,i()},h.onMouseleave=()=>{T=!1,M()}),d.value&&(h.onFocusin=()=>{p=!0,i()},h.onFocusout=()=>{p=!1,M()}),n.closeOnContentClick){const c=ka(Ax,null);h.onClick=()=>{r.value=!1,c==null||c.closeParents()}}return h}),a=cn(()=>{const h={};return n.openOnHover&&(h.onMouseenter=()=>{t&&(T=!0,t=!1,i())},h.onMouseleave=()=>{T=!1,M()}),h});$r(S,h=>{h&&(n.openOnHover&&!T&&(!d.value||!p)||d.value&&!p&&(!n.openOnHover||!T))&&(r.value=!1)});const u=Vr();wu(()=>{u.value&&Ua(()=>{D.value=ox(u.value)})});const o=Ss("useActivator");let s;return $r(()=>!!n.activator,h=>{h&&to?(s=Um(),s.run(()=>{rV(n,o,{activatorEl:D,activatorEvents:f})})):s&&s.stop()},{flush:"post",immediate:!0}),Tl(()=>{s==null||s.stop()}),{activatorEl:D,activatorRef:u,activatorEvents:f,contentEvents:l,scrimEvents:a}}function rV(n,e,r){let{activatorEl:S,activatorEvents:D}=r;$r(()=>n.activator,(d,g)=>{if(g&&d!==g){const i=t(g);i&&p(i)}d&&Ua(()=>T())},{immediate:!0}),$r(()=>n.activatorProps,()=>{T()}),Tl(()=>{p()});function T(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:t(),g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:n.activatorProps;d&&Xz(d,qr(D.value,g))}function p(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:t(),g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:n.activatorProps;d&&Kz(d,qr(D.value,g))}function t(){var i,M;let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:n.activator,g;if(d)if(d==="parent"){let v=(M=(i=e==null?void 0:e.proxy)==null?void 0:i.$el)==null?void 0:M.parentNode;for(;v!=null&&v.hasAttribute("data-no-activator");)v=v.parentNode;g=v}else typeof d=="string"?g=document.querySelector(d):"$el"in d?g=d.$el:g=d;return S.value=(g==null?void 0:g.nodeType)===Node.ELEMENT_NODE?g:null,S.value}}function IA(){if(!to)return Wr(!1);const{ssr:n}=ep();if(n){const e=Wr(!1);return Ks(()=>{e.value=!0}),e}else return Wr(!0)}const o1=ur({eager:Boolean},"lazy");function __(n,e){const r=Wr(!1),S=cn(()=>r.value||n.eager||e.value);$r(e,()=>r.value=!0);function D(){n.eager||(r.value=!1)}return{isBooted:r,hasContent:S,onAfterLeave:D}}function E0(){const e=Ss("useScopeId").vnode.scopeId;return{scopeId:e?{[e]:""}:void 0}}const iT=Symbol.for("vuetify:stack"),am=yl([]);function iV(n,e,r){const S=Ss("useStack"),D=!r,T=ka(iT,void 0),p=yl({activeChildren:new Set});ts(iT,p);const t=Wr(+e.value);$f(n,()=>{var M;const i=(M=am.at(-1))==null?void 0:M[1];t.value=i?i+10:+e.value,D&&am.push([S.uid,t.value]),T==null||T.activeChildren.add(S.uid),Tl(()=>{if(D){const v=wi(am).findIndex(f=>f[0]===S.uid);am.splice(v,1)}T==null||T.activeChildren.delete(S.uid)})});const d=Wr(!0);D&&wu(()=>{var M;const i=((M=am.at(-1))==null?void 0:M[0])===S.uid;setTimeout(()=>d.value=i)});const g=cn(()=>!p.activeChildren.size);return{globalTop:Hm(d),localTop:g,stackStyles:cn(()=>({zIndex:t.value}))}}function aV(n){return{teleportTarget:cn(()=>{const r=n.value;if(r===!0||!to)return;const S=r===!1?document.body:typeof r=="string"?document.querySelector(r):r;if(S==null)return;let D=S.querySelector(":scope > .v-overlay-container");return D||(D=document.createElement("div"),D.className="v-overlay-container",S.appendChild(D)),D})}}function oV(){return!0}function RA(n,e,r){if(!n||PA(n,r)===!1)return!1;const S=S6(e);if(typeof ShadowRoot<"u"&&S instanceof ShadowRoot&&S.host===n.target)return!1;const D=(typeof r.value=="object"&&r.value.include||(()=>[]))();return D.push(e),!D.some(T=>T==null?void 0:T.contains(n.target))}function PA(n,e){return(typeof e.value=="object"&&e.value.closeConditional||oV)(n)}function sV(n,e,r){const S=typeof r.value=="function"?r.value:r.value.handler;e._clickOutside.lastMousedownWasOutside&&RA(n,e,r)&&setTimeout(()=>{PA(n,r)&&S&&S(n)},0)}function aT(n,e){const r=S6(n);e(document),typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&e(r)}const OA={mounted(n,e){const r=D=>sV(D,n,e),S=D=>{n._clickOutside.lastMousedownWasOutside=RA(D,n,e)};aT(n,D=>{D.addEventListener("click",r,!0),D.addEventListener("mousedown",S,!0)}),n._clickOutside||(n._clickOutside={lastMousedownWasOutside:!1}),n._clickOutside[e.instance.$.uid]={onClick:r,onMousedown:S}},unmounted(n,e){n._clickOutside&&(aT(n,r=>{var T;if(!r||!((T=n._clickOutside)!=null&&T[e.instance.$.uid]))return;const{onClick:S,onMousedown:D}=n._clickOutside[e.instance.$.uid];r.removeEventListener("click",S,!0),r.removeEventListener("mousedown",D,!0)}),delete n._clickOutside[e.instance.$.uid])}};function lV(n){const{modelValue:e,color:r,...S}=n;return gt(bh,{name:"fade-transition",appear:!0},{default:()=>[n.modelValue&>("div",qr({class:["v-overlay__scrim",n.color.backgroundColorClasses.value],style:n.color.backgroundColorStyles.value},S),null)]})}const cg=ur({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...tV(),...Zr(),...sc(),...o1(),...GN(),...XN(),...oa(),...df()},"VOverlay"),of=Ar()({name:"VOverlay",directives:{ClickOutside:OA},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...cg()},emits:{"click:outside":n=>!0,"update:modelValue":n=>!0,afterLeave:()=>!0},setup(n,e){let{slots:r,attrs:S,emit:D}=e;const T=xi(n,"modelValue"),p=cn({get:()=>T.value,set:z=>{z&&n.disabled||(T.value=z)}}),{teleportTarget:t}=aV(cn(()=>n.attach||n.contained)),{themeClasses:d}=Ma(n),{rtlClasses:g,isRtl:i}=Cs(),{hasContent:M,onAfterLeave:v}=__(n,p),f=Oo(cn(()=>typeof n.scrim=="string"?n.scrim:null)),{globalTop:l,localTop:a,stackStyles:u}=iV(p,Cr(n,"zIndex"),n._disableGlobalStack),{activatorEl:o,activatorRef:s,activatorEvents:h,contentEvents:c,scrimEvents:m}=nV(n,{isActive:p,isTop:a}),{dimensionStyles:w}=lc(n),y=IA(),{scopeId:C}=E0();$r(()=>n.disabled,z=>{z&&(p.value=!1)});const _=Vr(),k=Vr(),{contentStyles:E,updateLocation:x}=qN(n,{isRtl:i,contentEl:k,activatorEl:o,isActive:p});KN(n,{root:_,contentEl:k,activatorEl:o,isActive:p,updateLocation:x});function A(z){D("click:outside",z),n.persistent?O():p.value=!1}function L(){return p.value&&l.value}to&&$r(p,z=>{z?window.addEventListener("keydown",b):window.removeEventListener("keydown",b)},{immediate:!0});function b(z){var F,B;z.key==="Escape"&&l.value&&(n.persistent?O():(p.value=!1,(F=k.value)!=null&&F.contains(document.activeElement)&&((B=o.value)==null||B.focus())))}const R=$6();$f(()=>n.closeOnBack,()=>{ZB(R,z=>{l.value&&p.value?(z(!1),n.persistent?O():p.value=!1):z()})});const I=Vr();$r(()=>p.value&&(n.absolute||n.contained)&&t.value==null,z=>{if(z){const F=t_(_.value);F&&F!==document.scrollingElement&&(I.value=F.scrollTop)}});function O(){n.noClickAnimation||k.value&&Dd(k.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:zm})}return Or(()=>{var z;return gt(Yr,null,[(z=r.activator)==null?void 0:z.call(r,{isActive:p.value,props:qr({ref:s},h.value,n.activatorProps)}),y.value&&M.value&>(BE,{disabled:!t.value,to:t.value},{default:()=>[gt("div",qr({class:["v-overlay",{"v-overlay--absolute":n.absolute||n.contained,"v-overlay--active":p.value,"v-overlay--contained":n.contained},d.value,g.value,n.class],style:[u.value,{top:Qr(I.value)},n.style],ref:_},C,S),[gt(lV,qr({color:f,modelValue:p.value&&!!n.scrim},m.value),null),gt(Oc,{appear:!0,persisted:!0,transition:n.transition,target:o.value,onAfterLeave:()=>{v(),D("afterLeave")}},{default:()=>{var F;return[Co(gt("div",qr({ref:k,class:["v-overlay__content",n.contentClass],style:[w.value,E.value]},c.value,n.contentProps),[(F=r.default)==null?void 0:F.call(r,{isActive:p})]),[[kh,p.value],[Tu("click-outside"),{handler:A,closeConditional:L,include:()=>[o.value]}]])]}})])]})])}),{activatorEl:o,animateClick:O,contentEl:k,globalTop:l,localTop:a,updateLocation:x}}}),wb=Symbol("Forwarded refs");function Tb(n,e){let r=n;for(;r;){const S=Reflect.getOwnPropertyDescriptor(r,e);if(S)return S;r=Object.getPrototypeOf(r)}}function Vc(n){for(var e=arguments.length,r=new Array(e>1?e-1:0),S=1;S!0},setup(n,e){let{slots:r}=e;const S=xi(n,"modelValue"),{scopeId:D}=E0(),T=Js(),p=cn(()=>n.id||`v-menu-${T}`),t=Vr(),d=ka(Ax,null),g=Wr(0);ts(Ax,{register(){++g.value},unregister(){--g.value},closeParents(){setTimeout(()=>{g.value||(S.value=!1,d==null||d.closeParents())},40)}});async function i(a){var s,h,c;const u=a.relatedTarget,o=a.target;await Ua(),S.value&&u!==o&&((s=t.value)!=null&&s.contentEl)&&((h=t.value)!=null&&h.globalTop)&&![document,t.value.contentEl].includes(o)&&!t.value.contentEl.contains(o)&&((c=Dm(t.value.contentEl)[0])==null||c.focus())}$r(S,a=>{a?(d==null||d.register(),document.addEventListener("focusin",i,{once:!0})):(d==null||d.unregister(),document.removeEventListener("focusin",i))});function M(){d==null||d.closeParents()}function v(a){var u,o,s;n.disabled||a.key==="Tab"&&(p6(Dm((u=t.value)==null?void 0:u.contentEl,!1),a.shiftKey?"prev":"next",c=>c.tabIndex>=0)||(S.value=!1,(s=(o=t.value)==null?void 0:o.activatorEl)==null||s.focus()))}function f(a){var o;if(n.disabled)return;const u=(o=t.value)==null?void 0:o.contentEl;u&&S.value?a.key==="ArrowDown"?(a.preventDefault(),uy(u,"next")):a.key==="ArrowUp"&&(a.preventDefault(),uy(u,"prev")):["ArrowDown","ArrowUp"].includes(a.key)&&(S.value=!0,a.preventDefault(),setTimeout(()=>setTimeout(()=>f(a))))}const l=cn(()=>qr({"aria-haspopup":"menu","aria-expanded":String(S.value),"aria-owns":p.value,onKeydown:f},n.activatorProps));return Or(()=>{const[a]=of.filterProps(n);return gt(of,qr({ref:t,class:["v-menu",n.class],style:n.style},a,{modelValue:S.value,"onUpdate:modelValue":u=>S.value=u,absolute:!0,activatorProps:l.value,"onClick:outside":M,onKeydown:v},D),{activator:r.activator,default:function(){for(var u=arguments.length,o=new Array(u),s=0;s{var h;return[(h=r.default)==null?void 0:h.call(r,...o)]}})}})}),Vc({id:p,ΨopenChildren:g},t)}});const cV=ur({active:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...Zr(),...df({transition:{component:l_}})},"VCounter"),l1=Ar()({name:"VCounter",functional:!0,props:cV(),setup(n,e){let{slots:r}=e;const S=cn(()=>n.max?`${n.value} / ${n.max}`:String(n.value));return Or(()=>gt(Oc,{transition:n.transition},{default:()=>[Co(gt("div",{class:["v-counter",n.class],style:n.style},[r.default?r.default({counter:S.value,max:n.max,value:n.value}):S.value]),[[kh,n.active]])]})),{}}});const hV=ur({floating:Boolean,...Zr()},"VFieldLabel"),um=Ar()({name:"VFieldLabel",props:hV(),setup(n,e){let{slots:r}=e;return Or(()=>gt(C0,{class:["v-field-label",{"v-field-label--floating":n.floating},n.class],style:n.style,"aria-hidden":n.floating||void 0},r)),{}}}),fV=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],u1=ur({appendInnerIcon:bi,bgColor:String,clearable:Boolean,clearIcon:{type:bi,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:bi,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:n=>fV.includes(n)},"onClick:clear":yh(),"onClick:appendInner":yh(),"onClick:prependInner":yh(),...Zr(),...m_(),...uo(),...oa()},"VField"),hg=Ar()({name:"VField",inheritAttrs:!1,props:{id:String,...r1(),...u1()},emits:{"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:S,slots:D}=e;const{themeClasses:T}=Ma(n),{loaderClasses:p}=t1(n),{focusClasses:t,isFocused:d,focus:g,blur:i}=rd(n),{InputIcon:M}=sA(n),{roundedClasses:v}=Eo(n),{rtlClasses:f}=Cs(),l=cn(()=>n.dirty||n.active),a=cn(()=>!n.singleLine&&!!(n.label||D.label)),u=Js(),o=cn(()=>n.id||`input-${u}`),s=cn(()=>`${o.value}-messages`),h=Vr(),c=Vr(),m=Vr(),w=cn(()=>["plain","underlined"].includes(n.variant)),{backgroundColorClasses:y,backgroundColorStyles:C}=Oo(Cr(n,"bgColor")),{textColorClasses:_,textColorStyles:k}=Xs(cn(()=>n.error||n.disabled?void 0:l.value&&d.value?n.color:n.baseColor));$r(l,A=>{if(a.value){const L=h.value.$el,b=c.value.$el;requestAnimationFrame(()=>{const R=J2(L),I=b.getBoundingClientRect(),O=I.x-R.x,z=I.y-R.y-(R.height/2-I.height/2),F=I.width/.75,B=Math.abs(F-R.width)>1?{maxWidth:Qr(F)}:void 0,N=getComputedStyle(L),W=getComputedStyle(b),j=parseFloat(N.transitionDuration)*1e3||150,$=parseFloat(W.getPropertyValue("--v-field-label-scale")),U=W.getPropertyValue("color");L.style.visibility="visible",b.style.visibility="hidden",Dd(L,{transform:`translate(${O}px, ${z}px) scale(${$})`,color:U,...B},{duration:j,easing:zm,direction:A?"normal":"reverse"}).finished.then(()=>{L.style.removeProperty("visibility"),b.style.removeProperty("visibility")})})}},{flush:"post"});const E=cn(()=>({isActive:l,isFocused:d,controlRef:m,blur:i,focus:g}));function x(A){A.target!==document.activeElement&&A.preventDefault()}return Or(()=>{var O,z,F;const A=n.variant==="outlined",L=D["prepend-inner"]||n.prependInnerIcon,b=!!(n.clearable||D.clear),R=!!(D["append-inner"]||n.appendInnerIcon||b),I=D.label?D.label({...E.value,label:n.label,props:{for:o.value}}):n.label;return gt("div",qr({class:["v-field",{"v-field--active":l.value,"v-field--appended":R,"v-field--center-affix":n.centerAffix??!w.value,"v-field--disabled":n.disabled,"v-field--dirty":n.dirty,"v-field--error":n.error,"v-field--flat":n.flat,"v-field--has-background":!!n.bgColor,"v-field--persistent-clear":n.persistentClear,"v-field--prepended":L,"v-field--reverse":n.reverse,"v-field--single-line":n.singleLine,"v-field--no-label":!I,[`v-field--variant-${n.variant}`]:!0},T.value,y.value,t.value,p.value,v.value,f.value,n.class],style:[C.value,n.style],onClick:x},r),[gt("div",{class:"v-field__overlay"},null),gt(g_,{name:"v-field",active:!!n.loading,color:n.error?"error":typeof n.loading=="string"?n.loading:n.color},{default:D.loader}),L&>("div",{key:"prepend",class:"v-field__prepend-inner"},[n.prependInnerIcon&>(M,{key:"prepend-icon",name:"prependInner"},null),(O=D["prepend-inner"])==null?void 0:O.call(D,E.value)]),gt("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(n.variant)&&a.value&>(um,{key:"floating-label",ref:c,class:[_.value],floating:!0,for:o.value,style:k.value},{default:()=>[I]}),gt(um,{ref:h,for:o.value},{default:()=>[I]}),(z=D.default)==null?void 0:z.call(D,{...E.value,props:{id:o.value,class:"v-field__input","aria-describedby":s.value},focus:g,blur:i})]),b&>(u_,{key:"clear"},{default:()=>[Co(gt("div",{class:"v-field__clearable",onMousedown:B=>{B.preventDefault(),B.stopPropagation()}},[D.clear?D.clear():gt(M,{name:"clear"},null)]),[[kh,n.dirty]])]}),R&>("div",{key:"append",class:"v-field__append-inner"},[(F=D["append-inner"])==null?void 0:F.call(D,E.value),n.appendInnerIcon&>(M,{key:"append-icon",name:"appendInner"},null)]),gt("div",{class:["v-field__outline",_.value],style:k.value},[A&>(Yr,null,[gt("div",{class:"v-field__outline__start"},null),a.value&>("div",{class:"v-field__outline__notch"},[gt(um,{ref:c,floating:!0,for:o.value},{default:()=>[I]})]),gt("div",{class:"v-field__outline__end"},null)]),w.value&&a.value&>(um,{ref:c,floating:!0,for:o.value},{default:()=>[I]})])])}),{controlRef:m}}});function w_(n){const e=Object.keys(hg.props).filter(r=>!Z2(r)&&r!=="class"&&r!=="style");return $d(n,e)}const dV=["color","file","time","date","datetime-local","week","month"],c1=ur({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object,...mf(),...u1()},"VTextField"),Kd=Ar()({name:"VTextField",directives:{Intersect:og},inheritAttrs:!1,props:c1(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:S,slots:D}=e;const T=xi(n,"modelValue"),{isFocused:p,focus:t,blur:d}=rd(n),g=cn(()=>typeof n.counterValue=="function"?n.counterValue(T.value):(T.value??"").toString().length),i=cn(()=>{if(r.maxlength)return r.maxlength;if(!(!n.counter||typeof n.counter!="number"&&typeof n.counter!="string"))return n.counter}),M=cn(()=>["plain","underlined"].includes(n.variant));function v(w,y){var C,_;!n.autofocus||!w||(_=(C=y[0].target)==null?void 0:C.focus)==null||_.call(C)}const f=Vr(),l=Vr(),a=Vr(),u=cn(()=>dV.includes(n.type)||n.persistentPlaceholder||p.value||n.active);function o(){var w;a.value!==document.activeElement&&((w=a.value)==null||w.focus()),p.value||t()}function s(w){S("mousedown:control",w),w.target!==a.value&&(o(),w.preventDefault())}function h(w){o(),S("click:control",w)}function c(w){w.stopPropagation(),o(),Ua(()=>{T.value=null,K2(n["onClick:clear"],w)})}function m(w){var C;const y=w.target;if(T.value=y.value,(C=n.modelModifiers)!=null&&C.trim&&["text","search","password","tel","url"].includes(n.type)){const _=[y.selectionStart,y.selectionEnd];Ua(()=>{y.selectionStart=_[0],y.selectionEnd=_[1]})}}return Or(()=>{const w=!!(D.counter||n.counter||n.counterValue),y=!!(w||D.details),[C,_]=Qd(r),[{modelValue:k,...E}]=Bs.filterProps(n),[x]=w_(n);return gt(Bs,qr({ref:f,modelValue:T.value,"onUpdate:modelValue":A=>T.value=A,class:["v-text-field",{"v-text-field--prefixed":n.prefix,"v-text-field--suffixed":n.suffix,"v-text-field--plain-underlined":["plain","underlined"].includes(n.variant)},n.class],style:n.style},C,E,{centerAffix:!M.value,focused:p.value}),{...D,default:A=>{let{id:L,isDisabled:b,isDirty:R,isReadonly:I,isValid:O}=A;return gt(hg,qr({ref:l,onMousedown:s,onClick:h,"onClick:clear":c,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"],role:n.role},x,{id:L.value,active:u.value||R.value,dirty:R.value||n.dirty,disabled:b.value,focused:p.value,error:O.value===!1}),{...D,default:z=>{let{props:{class:F,...B}}=z;const N=Co(gt("input",qr({ref:a,value:T.value,onInput:m,autofocus:n.autofocus,readonly:I.value,disabled:b.value,name:n.name,placeholder:n.placeholder,size:1,type:n.type,onFocus:o,onBlur:d},B,_),null),[[Tu("intersect"),{handler:v},null,{once:!0}]]);return gt(Yr,null,[n.prefix&>("span",{class:"v-text-field__prefix"},[gt("span",{class:"v-text-field__prefix__text"},[n.prefix])]),D.default?gt("div",{class:F,"data-no-activator":""},[D.default(),N]):tf(N,{class:F}),n.suffix&>("span",{class:"v-text-field__suffix"},[gt("span",{class:"v-text-field__suffix__text"},[n.suffix])])])}})},details:y?A=>{var L;return gt(Yr,null,[(L=D.details)==null?void 0:L.call(D,A),w&>(Yr,null,[gt("span",null,null),gt(l1,{active:n.persistentCounter||p.value,value:g.value,max:i.value},D.counter)])])}:void 0})}),Vc({},f,l,a)}});const pV=ur({renderless:Boolean,...Zr()},"VVirtualScrollItem"),mV=Ar()({name:"VVirtualScrollItem",inheritAttrs:!1,props:pV(),emits:{"update:height":n=>!0},setup(n,e){let{attrs:r,emit:S,slots:D}=e;const{resizeRef:T,contentRect:p}=Th(void 0,"border");$r(()=>{var t;return(t=p.value)==null?void 0:t.height},t=>{t!=null&&S("update:height",t)}),Or(()=>{var t,d;return n.renderless?gt(Yr,null,[(t=D.default)==null?void 0:t.call(D,{itemRef:T})]):gt("div",qr({ref:T,class:["v-virtual-scroll__item",n.class],style:n.style},r),[(d=D.default)==null?void 0:d.call(D)])})}}),oT=-1,sT=1,gV=ur({itemHeight:{type:[Number,String],default:48}},"virtual");function vV(n,e,r){const S=Wr(0),D=Wr(n.itemHeight),T=cn({get:()=>parseInt(D.value??0,10),set(y){D.value=y}}),p=Vr(),{resizeRef:t,contentRect:d}=Th();wu(()=>{t.value=p.value});const g=ep(),i=new Map;let M=Array.from({length:e.value.length});const v=cn(()=>{const y=(!d.value||p.value===document.documentElement?g.height.value:d.value.height)-((r==null?void 0:r.value)??0);return Math.ceil(y/T.value*1.7+1)});function f(y,C){T.value=Math.max(T.value,C),M[y]=C,i.set(e.value[y],C)}function l(y){return M.slice(0,y).reduce((C,_)=>C+(_||T.value),0)}function a(y){const C=e.value.length;let _=0,k=0;for(;k=A&&(S.value=Zs(x,0,e.value.length-v.value)),u=C}function s(y){if(!p.value)return;const C=l(y);p.value.scrollTop=C}const h=cn(()=>Math.min(e.value.length,S.value+v.value)),c=cn(()=>e.value.slice(S.value,h.value).map((y,C)=>({raw:y,index:C+S.value}))),m=cn(()=>l(S.value)),w=cn(()=>l(e.value.length)-l(h.value));return $r(()=>e.value.length,()=>{M=Kh(e.value.length).map(()=>T.value),i.forEach((y,C)=>{const _=e.value.indexOf(C);_===-1?i.delete(C):M[_]=y})}),{containerRef:p,computedItems:c,itemHeight:T,paddingTop:m,paddingBottom:w,scrollToIndex:s,handleScroll:o,handleItemResize:f}}const yV=ur({items:{type:Array,default:()=>[]},renderless:Boolean,...gV(),...Zr(),...sc()},"VVirtualScroll"),h1=Ar()({name:"VVirtualScroll",props:yV(),setup(n,e){let{slots:r}=e;const S=Ss("VVirtualScroll"),{dimensionStyles:D}=lc(n),{containerRef:T,handleScroll:p,handleItemResize:t,scrollToIndex:d,paddingTop:g,paddingBottom:i,computedItems:M}=vV(n,Cr(n,"items"));return $f(()=>n.renderless,()=>{Ks(()=>{var v;T.value=t_(S.vnode.el,!0),(v=T.value)==null||v.addEventListener("scroll",p)}),Tl(()=>{var v;(v=T.value)==null||v.removeEventListener("scroll",p)})}),Or(()=>{const v=M.value.map(f=>gt(mV,{key:f.index,renderless:n.renderless,"onUpdate:height":l=>t(f.index,l)},{default:l=>{var a;return(a=r.default)==null?void 0:a.call(r,{item:f.raw,index:f.index,...l})}}));return n.renderless?gt(Yr,null,[gt("div",{class:"v-virtual-scroll__spacer",style:{paddingTop:Qr(g.value)}},null),v,gt("div",{class:"v-virtual-scroll__spacer",style:{paddingBottom:Qr(i.value)}},null)]):gt("div",{ref:T,class:["v-virtual-scroll",n.class],onScroll:p,style:[D.value,n.style]},[gt("div",{class:"v-virtual-scroll__container",style:{paddingTop:Qr(g.value),paddingBottom:Qr(i.value)}},[v])])}),{scrollToIndex:d}}});function T_(n,e){const r=Wr(!1);let S;function D(t){cancelAnimationFrame(S),r.value=!0,S=requestAnimationFrame(()=>{S=requestAnimationFrame(()=>{r.value=!1})})}async function T(){await new Promise(t=>requestAnimationFrame(t)),await new Promise(t=>requestAnimationFrame(t)),await new Promise(t=>requestAnimationFrame(t)),await new Promise(t=>{if(r.value){const d=$r(r,()=>{d(),t()})}else t()})}async function p(t){var i,M;if(t.key==="Tab"&&((i=e.value)==null||i.focus()),!["PageDown","PageUp","Home","End"].includes(t.key))return;const d=(M=n.value)==null?void 0:M.$el;if(!d)return;(t.key==="Home"||t.key==="End")&&d.scrollTo({top:t.key==="Home"?0:d.scrollHeight,behavior:"smooth"}),await T();const g=d.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");if(t.key==="PageDown"||t.key==="Home"){const v=d.getBoundingClientRect().top;for(const f of g)if(f.getBoundingClientRect().top>=v){f.focus();break}}else{const v=d.getBoundingClientRect().bottom;for(const f of[...g].reverse())if(f.getBoundingClientRect().bottom<=v){f.focus();break}}}return{onListScroll:D,onListKeydown:p}}const k_=ur({chips:Boolean,closableChips:Boolean,closeText:{type:String,default:"$vuetify.close"},openText:{type:String,default:"$vuetify.open"},eager:Boolean,hideNoData:Boolean,hideSelected:Boolean,menu:Boolean,menuIcon:{type:bi,default:"$dropdown"},menuProps:{type:Object},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,itemColor:String,...kA({itemChildren:!1})},"Select"),bV=ur({...k_(),...ic(c1({modelValue:null,role:"button"}),["validationValue","dirty","appendInnerIcon"]),...df({transition:{component:Qy}})},"VSelect"),xV=Ar()({name:"VSelect",props:bV(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,"update:menu":n=>!0},setup(n,e){let{slots:r}=e;const{t:S}=oc(),D=Vr(),T=Vr(),p=Vr(),t=xi(n,"menu"),d=cn({get:()=>t.value,set:R=>{var I;t.value&&!R&&((I=T.value)!=null&&I.ΨopenChildren)||(t.value=R)}}),{items:g,transformIn:i,transformOut:M}=x_(n),v=xi(n,"modelValue",[],R=>i(R===null?[null]:bu(R)),R=>{const I=M(R);return n.multiple?I:I[0]??null}),f=i1(),l=cn(()=>v.value.map(R=>R.value)),a=Wr(!1),u=cn(()=>d.value?n.closeText:n.openText);let o="",s;const h=cn(()=>n.hideSelected?g.value.filter(R=>!v.value.some(I=>I===R)):g.value),c=cn(()=>n.hideNoData&&!g.value.length||n.readonly||(f==null?void 0:f.isReadonly.value)),m=Vr(),{onListScroll:w,onListKeydown:y}=T_(m,D);function C(R){n.openOnClear&&(d.value=!0)}function _(){c.value||(d.value=!d.value)}function k(R){var B,N;if(!R.key||n.readonly||f!=null&&f.isReadonly.value)return;["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(R.key)&&R.preventDefault(),["Enter","ArrowDown"," "].includes(R.key)&&(d.value=!0),["Escape","Tab"].includes(R.key)&&(d.value=!1),R.key==="Home"?(B=m.value)==null||B.focus("first"):R.key==="End"&&((N=m.value)==null||N.focus("last"));const I=1e3;function O(W){const j=W.key.length===1,$=!W.ctrlKey&&!W.metaKey&&!W.altKey;return j&&$}if(n.multiple||!O(R))return;const z=performance.now();z-s>I&&(o=""),o+=R.key.toLowerCase(),s=z;const F=g.value.find(W=>W.title.toLowerCase().startsWith(o));F!==void 0&&(v.value=[F])}function E(R){if(n.multiple){const I=v.value.findIndex(O=>n.valueComparator(O.value,R.value));if(I===-1)v.value=[...v.value,R];else{const O=[...v.value];O.splice(I,1),v.value=O}}else v.value=[R],d.value=!1}function x(R){var I;(I=m.value)!=null&&I.$el.contains(R.relatedTarget)||(d.value=!1)}function A(){var R;a.value&&((R=D.value)==null||R.focus())}function L(R){a.value=!0}function b(R){if(R==null)v.value=[];else if(l0(D.value,":autofill")||l0(D.value,":-webkit-autofill")){const I=g.value.find(O=>O.title===R);I&&E(I)}else D.value&&(D.value.value="")}return $r(d,()=>{if(!n.hideSelected&&d.value&&v.value.length){const R=h.value.findIndex(I=>v.value.some(O=>n.valueComparator(O.value,I.value)));to&&window.requestAnimationFrame(()=>{var I;R>=0&&((I=p.value)==null||I.scrollToIndex(R))})}}),Or(()=>{const R=!!(n.chips||r.chip),I=!!(!n.hideNoData||h.value.length||r["prepend-item"]||r["append-item"]||r["no-data"]),O=v.value.length>0,[z]=Kd.filterProps(n),F=O||!a.value&&n.label&&!n.persistentPlaceholder?void 0:n.placeholder;return gt(Kd,qr({ref:D},z,{modelValue:v.value.map(B=>B.props.value).join(", "),"onUpdate:modelValue":b,focused:a.value,"onUpdate:focused":B=>a.value=B,validationValue:v.externalValue,dirty:O,class:["v-select",{"v-select--active-menu":d.value,"v-select--chips":!!n.chips,[`v-select--${n.multiple?"multiple":"single"}`]:!0,"v-select--selected":v.value.length,"v-select--selection-slot":!!r.selection},n.class],style:n.style,inputmode:"none",placeholder:F,"onClick:clear":C,"onMousedown:control":_,onBlur:x,onKeydown:k,"aria-label":S(u.value),title:S(u.value)}),{...r,default:()=>gt(Yr,null,[gt(s1,qr({ref:T,modelValue:d.value,"onUpdate:modelValue":B=>d.value=B,activator:"parent",contentClass:"v-select__content",disabled:c.value,eager:n.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:n.transition,onAfterLeave:A},n.menuProps),{default:()=>[I&>(a1,{ref:m,selected:l.value,selectStrategy:n.multiple?"independent":"single-independent",onMousedown:B=>B.preventDefault(),onKeydown:y,onFocusin:L,onScrollPassive:w,tabindex:"-1",color:n.itemColor??n.color},{default:()=>{var B,N,W;return[(B=r["prepend-item"])==null?void 0:B.call(r),!h.value.length&&!n.hideNoData&&(((N=r["no-data"])==null?void 0:N.call(r))??gt(af,{title:S(n.noDataText)},null)),gt(h1,{ref:p,renderless:!0,items:h.value},{default:j=>{var H;let{item:$,index:U,itemRef:G}=j;const q=qr($.props,{ref:G,key:U,onClick:()=>E($)});return((H=r.item)==null?void 0:H.call(r,{item:$,index:U,props:q}))??gt(af,q,{prepend:ne=>{let{isSelected:te}=ne;return gt(Yr,null,[n.multiple&&!n.hideSelected?gt(h0,{key:$.value,modelValue:te,ripple:!1,tabindex:"-1"},null):void 0,$.props.prependIcon&>(ja,{icon:$.props.prependIcon},null)])}})}}),(W=r["append-item"])==null?void 0:W.call(r)]}})]}),v.value.map((B,N)=>{var $;function W(U){U.stopPropagation(),U.preventDefault(),E(B)}const j={"onClick:close":W,onMousedown(U){U.preventDefault(),U.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return gt("div",{key:B.value,class:"v-select__selection"},[R?r.chip?gt(Fa,{key:"chip-defaults",defaults:{VChip:{closable:n.closableChips,size:"small",text:B.title}}},{default:()=>{var U;return[(U=r.chip)==null?void 0:U.call(r,{item:B,index:N,props:j})]}}):gt(ug,qr({key:"chip",closable:n.closableChips,size:"small",text:B.title},j),null):(($=r.selection)==null?void 0:$.call(r,{item:B,index:N}))??gt("span",{class:"v-select__selection-text"},[B.title,n.multiple&&Nn==null||e==null?-1:n.toString().toLocaleLowerCase().indexOf(e.toString().toLocaleLowerCase()),DA=ur({customFilter:Function,customKeyFilter:Object,filterKeys:[Array,String],filterMode:{type:String,default:"intersection"},noFilter:Boolean},"filter");function wV(n,e,r){var t;const S=[],D=(r==null?void 0:r.default)??_V,T=r!=null&&r.filterKeys?bu(r.filterKeys):!1,p=Object.keys((r==null?void 0:r.customKeyFilter)??{}).length;if(!(n!=null&&n.length))return S;e:for(let d=0;dS!=null&&S.transform?yu(e).map(d=>[d,S.transform(d)]):yu(e));wu(()=>{const d=typeof r=="function"?r():yu(r),g=typeof d!="string"&&typeof d!="number"?"":String(d),i=wV(p.value,g,{customKeyFilter:n.customKeyFilter,default:n.customFilter,filterKeys:n.filterKeys,filterMode:n.filterMode,noFilter:n.noFilter}),M=yu(e),v=[],f=new Map;i.forEach(l=>{let{index:a,matches:u}=l;const o=M[a];v.push(o),f.set(o.value,u)}),D.value=v,T.value=f});function t(d){return T.value.get(d.value)}return{filteredItems:D,filteredMatches:T,getMatches:t}}function TV(n,e,r){if(e==null)return n;if(Array.isArray(e))throw new Error("Multiple matches is not implemented");return typeof e=="number"&&~e?gt(Yr,null,[gt("span",{class:"v-autocomplete__unmask"},[n.substr(0,e)]),gt("span",{class:"v-autocomplete__mask"},[n.substr(e,r)]),gt("span",{class:"v-autocomplete__unmask"},[n.substr(e+r)])]):n}const kV=ur({autoSelectFirst:{type:[Boolean,String]},search:String,...DA({filterKeys:["title"]}),...k_(),...ic(c1({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...df({transition:!1})},"VAutocomplete"),MV=Ar()({name:"VAutocomplete",props:kV(),emits:{"update:focused":n=>!0,"update:search":n=>!0,"update:modelValue":n=>!0,"update:menu":n=>!0},setup(n,e){let{slots:r}=e;const{t:S}=oc(),D=Vr(),T=Wr(!1),p=Wr(!0),t=Wr(!1),d=Vr(),g=Vr(),i=xi(n,"menu"),M=cn({get:()=>i.value,set:q=>{var H;i.value&&!q&&((H=d.value)!=null&&H.ΨopenChildren)||(i.value=q)}}),v=Wr(-1),f=cn(()=>{var q;return(q=D.value)==null?void 0:q.color}),l=cn(()=>M.value?n.closeText:n.openText),{items:a,transformIn:u,transformOut:o}=x_(n),{textColorClasses:s,textColorStyles:h}=Xs(f),c=xi(n,"search",""),m=xi(n,"modelValue",[],q=>u(q===null?[null]:bu(q)),q=>{const H=o(q);return n.multiple?H:H[0]??null}),w=i1(),{filteredItems:y,getMatches:C}=zA(n,a,()=>p.value?"":c.value),_=cn(()=>n.hideSelected?y.value.filter(q=>!m.value.some(H=>H.value===q.value)):y.value),k=cn(()=>m.value.map(q=>q.props.value)),E=cn(()=>{var H;return(n.autoSelectFirst===!0||n.autoSelectFirst==="exact"&&c.value===((H=_.value[0])==null?void 0:H.title))&&_.value.length>0&&!p.value&&!t.value}),x=cn(()=>n.hideNoData&&!a.value.length||n.readonly||(w==null?void 0:w.isReadonly.value)),A=Vr(),{onListScroll:L,onListKeydown:b}=T_(A,D);function R(q){n.openOnClear&&(M.value=!0),c.value=""}function I(){x.value||(M.value=!0)}function O(q){x.value||(T.value&&(q.preventDefault(),q.stopPropagation()),M.value=!M.value)}function z(q){var te,Z,X;if(n.readonly||w!=null&&w.isReadonly.value)return;const H=D.value.selectionStart,ne=m.value.length;if((v.value>-1||["Enter","ArrowDown","ArrowUp"].includes(q.key))&&q.preventDefault(),["Enter","ArrowDown"].includes(q.key)&&(M.value=!0),["Escape"].includes(q.key)&&(M.value=!1),E.value&&["Enter","Tab"].includes(q.key)&&G(_.value[0]),q.key==="ArrowDown"&&E.value&&((te=A.value)==null||te.focus("next")),!!n.multiple){if(["Backspace","Delete"].includes(q.key)){if(v.value<0){q.key==="Backspace"&&!c.value&&(v.value=ne-1);return}const Q=v.value,re=m.value[v.value];re&&G(re),v.value=Q>=ne-1?ne-2:Q}if(q.key==="ArrowLeft"){if(v.value<0&&H>0)return;const Q=v.value>-1?v.value-1:ne-1;m.value[Q]?v.value=Q:(v.value=-1,D.value.setSelectionRange((Z=c.value)==null?void 0:Z.length,(X=c.value)==null?void 0:X.length))}if(q.key==="ArrowRight"){if(v.value<0)return;const Q=v.value+1;m.value[Q]?v.value=Q:(v.value=-1,D.value.setSelectionRange(0,0))}}}function F(q){c.value=q.target.value}function B(q){if(l0(D.value,":autofill")||l0(D.value,":-webkit-autofill")){const H=a.value.find(ne=>ne.title===q.target.value);H&&G(H)}}function N(){var q;T.value&&(p.value=!0,(q=D.value)==null||q.focus())}function W(q){T.value=!0,setTimeout(()=>{t.value=!0})}function j(q){t.value=!1}function $(q){(q==null||q===""&&!n.multiple)&&(m.value=[])}const U=Wr(!1);function G(q){if(n.multiple){const H=m.value.findIndex(ne=>n.valueComparator(ne.value,q.value));if(H===-1)m.value=[...m.value,q];else{const ne=[...m.value];ne.splice(H,1),m.value=ne}}else m.value=[q],U.value=!0,c.value=q.title,M.value=!1,p.value=!0,Ua(()=>U.value=!1)}return $r(T,(q,H)=>{var ne;q!==H&&(q?(U.value=!0,c.value=n.multiple?"":String(((ne=m.value.at(-1))==null?void 0:ne.props.title)??""),p.value=!0,Ua(()=>U.value=!1)):(!n.multiple&&!c.value?m.value=[]:E.value&&!t.value&&!m.value.some(te=>{let{value:Z}=te;return Z===_.value[0].value})&&G(_.value[0]),M.value=!1,c.value="",v.value=-1))}),$r(c,q=>{!T.value||U.value||(q&&(M.value=!0),p.value=!q)}),$r(M,()=>{if(!n.hideSelected&&M.value&&m.value.length){const q=_.value.findIndex(H=>m.value.some(ne=>H.value===ne.value));to&&window.requestAnimationFrame(()=>{var H;q>=0&&((H=g.value)==null||H.scrollToIndex(q))})}}),Or(()=>{const q=!!(n.chips||r.chip),H=!!(!n.hideNoData||_.value.length||r["prepend-item"]||r["append-item"]||r["no-data"]),ne=m.value.length>0,[te]=Kd.filterProps(n);return gt(Kd,qr({ref:D},te,{modelValue:c.value,"onUpdate:modelValue":$,focused:T.value,"onUpdate:focused":Z=>T.value=Z,validationValue:m.externalValue,dirty:ne,onInput:F,onChange:B,class:["v-autocomplete",`v-autocomplete--${n.multiple?"multiple":"single"}`,{"v-autocomplete--active-menu":M.value,"v-autocomplete--chips":!!n.chips,"v-autocomplete--selection-slot":!!r.selection,"v-autocomplete--selecting-index":v.value>-1},n.class],style:n.style,readonly:n.readonly,placeholder:ne?void 0:n.placeholder,"onClick:clear":R,"onMousedown:control":I,onKeydown:z}),{...r,default:()=>gt(Yr,null,[gt(s1,qr({ref:d,modelValue:M.value,"onUpdate:modelValue":Z=>M.value=Z,activator:"parent",contentClass:"v-autocomplete__content",disabled:x.value,eager:n.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:n.transition,onAfterLeave:N},n.menuProps),{default:()=>[H&>(a1,{ref:A,selected:k.value,selectStrategy:n.multiple?"independent":"single-independent",onMousedown:Z=>Z.preventDefault(),onKeydown:b,onFocusin:W,onFocusout:j,onScrollPassive:L,tabindex:"-1",color:n.itemColor??n.color},{default:()=>{var Z,X,Q;return[(Z=r["prepend-item"])==null?void 0:Z.call(r),!_.value.length&&!n.hideNoData&&(((X=r["no-data"])==null?void 0:X.call(r))??gt(af,{title:S(n.noDataText)},null)),gt(h1,{ref:g,renderless:!0,items:_.value},{default:re=>{var ye;let{item:ie,index:oe,itemRef:ue}=re;const ce=qr(ie.props,{ref:ue,key:oe,active:E.value&&oe===0?!0:void 0,onClick:()=>G(ie)});return((ye=r.item)==null?void 0:ye.call(r,{item:ie,index:oe,props:ce}))??gt(af,ce,{prepend:de=>{let{isSelected:me}=de;return gt(Yr,null,[n.multiple&&!n.hideSelected?gt(h0,{key:ie.value,modelValue:me,ripple:!1,tabindex:"-1"},null):void 0,ie.props.prependIcon&>(ja,{icon:ie.props.prependIcon},null)])},title:()=>{var de,me;return p.value?ie.title:TV(ie.title,(de=C(ie))==null?void 0:de.title,((me=c.value)==null?void 0:me.length)??0)}})}}),(Q=r["append-item"])==null?void 0:Q.call(r)]}})]}),m.value.map((Z,X)=>{var ie;function Q(oe){oe.stopPropagation(),oe.preventDefault(),G(Z)}const re={"onClick:close":Q,onMousedown(oe){oe.preventDefault(),oe.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return gt("div",{key:Z.value,class:["v-autocomplete__selection",X===v.value&&["v-autocomplete__selection--selected",s.value]],style:X===v.value?h.value:{}},[q?r.chip?gt(Fa,{key:"chip-defaults",defaults:{VChip:{closable:n.closableChips,size:"small",text:Z.title}}},{default:()=>{var oe;return[(oe=r.chip)==null?void 0:oe.call(r,{item:Z,index:X,props:re})]}}):gt(ug,qr({key:"chip",closable:n.closableChips,size:"small",text:Z.title},re),null):((ie=r.selection)==null?void 0:ie.call(r,{item:Z,index:X}))??gt("span",{class:"v-autocomplete__selection-text"},[Z.title,n.multiple&&X(n.floating?n.dot?2:4:n.dot?8:12)+(["top","bottom"].includes(i)?+(n.offsetY??0):["left","right"].includes(i)?+(n.offsetX??0):0));return Or(()=>{const i=Number(n.content),M=!n.max||isNaN(i)?n.content:i<=+n.max?i:`${n.max}+`,[v,f]=$d(e.attrs,["aria-atomic","aria-label","aria-live","role","title"]);return gt(n.tag,qr({class:["v-badge",{"v-badge--bordered":n.bordered,"v-badge--dot":n.dot,"v-badge--floating":n.floating,"v-badge--inline":n.inline},n.class]},f,{style:n.style}),{default:()=>{var l,a;return[gt("div",{class:"v-badge__wrapper"},[(a=(l=e.slots).default)==null?void 0:a.call(l),gt(Oc,{transition:n.transition},{default:()=>{var u,o;return[Co(gt("span",qr({class:["v-badge__badge",d.value,r.value,D.value,p.value],style:[S.value,t.value,n.inline?{}:g.value],"aria-atomic":"true","aria-label":T(n.label,i),"aria-live":"polite",role:"status"},v),[n.dot?void 0:e.slots.badge?(o=(u=e.slots).badge)==null?void 0:o.call(u):n.icon?gt(ja,{icon:n.icon},null):M]),[[kh,n.modelValue]])]}})])]}})}),{}}});const CV=ur({color:String,density:String,...Zr()},"VBannerActions"),FA=Ar()({name:"VBannerActions",props:CV(),setup(n,e){let{slots:r}=e;return es({VBtn:{color:n.color,density:n.density,variant:"text"}}),Or(()=>{var S;return gt("div",{class:["v-banner-actions",n.class],style:n.style},[(S=r.default)==null?void 0:S.call(r)])}),{}}}),BA=Nc("v-banner-text"),EV=ur({avatar:String,color:String,icon:bi,lines:String,stacked:Boolean,sticky:Boolean,text:String,...Su(),...Zr(),...ds(),...sc(),...fs(),...ed(),...A0(),...uo(),...Si(),...oa()},"VBanner"),LV=Ar()({name:"VBanner",props:EV(),setup(n,e){let{slots:r}=e;const{borderClasses:S}=uc(n),{densityClasses:D}=Qs(n),{mobile:T}=ep(),{dimensionStyles:p}=lc(n),{elevationClasses:t}=Vs(n),{locationStyles:d}=td(n),{positionClasses:g}=S0(n),{roundedClasses:i}=Eo(n),{themeClasses:M}=Ma(n),v=Cr(n,"color"),f=Cr(n,"density");es({VBannerActions:{color:v,density:f}}),Or(()=>{const l=!!(n.text||r.text),a=!!(n.avatar||n.icon),u=!!(a||r.prepend);return gt(n.tag,{class:["v-banner",{"v-banner--stacked":n.stacked||T.value,"v-banner--sticky":n.sticky,[`v-banner--${n.lines}-line`]:!!n.lines},S.value,D.value,t.value,g.value,i.value,M.value,n.class],style:[p.value,d.value,n.style],role:"banner"},{default:()=>{var o;return[u&>("div",{key:"prepend",class:"v-banner__prepend"},[r.prepend?gt(Fa,{key:"prepend-defaults",disabled:!a,defaults:{VAvatar:{color:v.value,density:f.value,icon:n.icon,image:n.avatar}}},r.prepend):gt(Zf,{key:"prepend-avatar",color:v.value,density:f.value,icon:n.icon,image:n.avatar},null)]),gt("div",{class:"v-banner__content"},[l&>(BA,{key:"text"},{default:()=>{var s;return[((s=r.text)==null?void 0:s.call(r))??n.text]}}),(o=r.default)==null?void 0:o.call(r)]),r.actions&>(FA,{key:"actions"},r.actions)]}})})}});const IV=ur({bgColor:String,color:String,grow:Boolean,mode:{type:String,validator:n=>!n||["horizontal","shift"].includes(n)},height:{type:[Number,String],default:56},active:{type:Boolean,default:!0},...Su(),...Zr(),...ds(),...fs(),...uo(),...x0({name:"bottom-navigation"}),...Si({tag:"header"}),...w0({modelValue:!0,selectedClass:"v-btn--selected"}),...oa()},"VBottomNavigation"),RV=Ar()({name:"VBottomNavigation",props:IV(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:S}=R6(),{borderClasses:D}=uc(n),{backgroundColorClasses:T,backgroundColorStyles:p}=Oo(Cr(n,"bgColor")),{densityClasses:t}=Qs(n),{elevationClasses:d}=Vs(n),{roundedClasses:g}=Eo(n),{ssrBootStyles:i}=tp(),M=cn(()=>Number(n.height)-(n.density==="comfortable"?8:0)-(n.density==="compact"?16:0)),v=Cr(n,"active"),{layoutItemStyles:f}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:cn(()=>"bottom"),layoutSize:cn(()=>v.value?M.value:0),elementSize:M,active:v,absolute:Cr(n,"absolute")});return ip(n,h_),es({VBtn:{color:Cr(n,"color"),density:Cr(n,"density"),stacked:cn(()=>n.mode!=="horizontal"),variant:"text"}},{scoped:!0}),Or(()=>gt(n.tag,{class:["v-bottom-navigation",{"v-bottom-navigation--active":v.value,"v-bottom-navigation--grow":n.grow,"v-bottom-navigation--shift":n.mode==="shift"},S.value,T.value,D.value,t.value,d.value,g.value,n.class],style:[p.value,f.value,{height:Qr(M.value),transform:`translateY(${Qr(v.value?0:100,"%")})`},i.value,n.style]},{default:()=>[r.default&>("div",{class:"v-bottom-navigation__content"},[r.default()])]})),{}}});const PV=ur({divider:[Number,String],...Zr()},"VBreadcrumbsDivider"),NA=Ar()({name:"VBreadcrumbsDivider",props:PV(),setup(n,e){let{slots:r}=e;return Or(()=>{var S;return gt("li",{class:["v-breadcrumbs-divider",n.class],style:n.style},[((S=r==null?void 0:r.default)==null?void 0:S.call(r))??n.divider])}),{}}}),OV=ur({active:Boolean,activeClass:String,activeColor:String,color:String,disabled:Boolean,title:String,...Zr(),...lg(),...Si({tag:"li"})},"VBreadcrumbsItem"),VA=Ar()({name:"VBreadcrumbsItem",props:OV(),setup(n,e){let{slots:r,attrs:S}=e;const D=sg(n,S),T=cn(()=>{var g;return n.active||((g=D.isActive)==null?void 0:g.value)}),p=cn(()=>T.value?n.activeColor:n.color),{textColorClasses:t,textColorStyles:d}=Xs(p);return Or(()=>gt(n.tag,{class:["v-breadcrumbs-item",{"v-breadcrumbs-item--active":T.value,"v-breadcrumbs-item--disabled":n.disabled,[`${n.activeClass}`]:T.value&&n.activeClass},t.value,n.class],style:[d.value,n.style],"aria-current":T.value?"page":void 0},{default:()=>{var g,i;return[D.isLink.value?gt("a",{class:"v-breadcrumbs-item--link",href:D.href.value,"aria-current":T.value?"page":void 0,onClick:D.navigate},[((i=r.default)==null?void 0:i.call(r))??n.title]):((g=r.default)==null?void 0:g.call(r))??n.title]}})),{}}}),DV=ur({activeClass:String,activeColor:String,bgColor:String,color:String,disabled:Boolean,divider:{type:String,default:"/"},icon:bi,items:{type:Array,default:()=>[]},...Zr(),...ds(),...uo(),...Si({tag:"ul"})},"VBreadcrumbs"),zV=Ar()({name:"VBreadcrumbs",props:DV(),setup(n,e){let{slots:r}=e;const{backgroundColorClasses:S,backgroundColorStyles:D}=Oo(Cr(n,"bgColor")),{densityClasses:T}=Qs(n),{roundedClasses:p}=Eo(n);es({VBreadcrumbsDivider:{divider:Cr(n,"divider")},VBreadcrumbsItem:{activeClass:Cr(n,"activeClass"),activeColor:Cr(n,"activeColor"),color:Cr(n,"color"),disabled:Cr(n,"disabled")}});const t=cn(()=>n.items.map(d=>typeof d=="string"?{item:{title:d},raw:d}:{item:d,raw:d}));return Or(()=>{const d=!!(r.prepend||n.icon);return gt(n.tag,{class:["v-breadcrumbs",S.value,T.value,p.value,n.class],style:[D.value,n.style]},{default:()=>{var g;return[d&>("li",{key:"prepend",class:"v-breadcrumbs__prepend"},[r.prepend?gt(Fa,{key:"prepend-defaults",disabled:!n.icon,defaults:{VIcon:{icon:n.icon,start:!0}}},r.prepend):gt(ja,{key:"prepend-icon",start:!0,icon:n.icon},null)]),t.value.map((i,M,v)=>{let{item:f,raw:l}=i;return gt(Yr,null,[gt(VA,qr({key:f.title,disabled:M>=v.length-1},f),{default:r.title?()=>{var a;return(a=r.title)==null?void 0:a.call(r,{item:l,index:M})}:void 0}),M{var a;return(a=r.divider)==null?void 0:a.call(r,{item:l,index:M})}:void 0})])}),(g=r.default)==null?void 0:g.call(r)]}})}),{}}});const jA=Ar()({name:"VCardActions",props:Zr(),setup(n,e){let{slots:r}=e;return es({VBtn:{variant:"text"}}),Or(()=>{var S;return gt("div",{class:["v-card-actions",n.class],style:n.style},[(S=r.default)==null?void 0:S.call(r)])}),{}}}),UA=Nc("v-card-subtitle"),HA=Nc("v-card-title"),FV=ur({appendAvatar:String,appendIcon:bi,prependAvatar:String,prependIcon:bi,subtitle:String,title:String,...Zr(),...ds()},"VCardItem"),GA=Ar()({name:"VCardItem",props:FV(),setup(n,e){let{slots:r}=e;return Or(()=>{var g;const S=!!(n.prependAvatar||n.prependIcon),D=!!(S||r.prepend),T=!!(n.appendAvatar||n.appendIcon),p=!!(T||r.append),t=!!(n.title||r.title),d=!!(n.subtitle||r.subtitle);return gt("div",{class:["v-card-item",n.class],style:n.style},[D&>("div",{key:"prepend",class:"v-card-item__prepend"},[r.prepend?gt(Fa,{key:"prepend-defaults",disabled:!S,defaults:{VAvatar:{density:n.density,icon:n.prependIcon,image:n.prependAvatar}}},r.prepend):S&>(Zf,{key:"prepend-avatar",density:n.density,icon:n.prependIcon,image:n.prependAvatar},null)]),gt("div",{class:"v-card-item__content"},[t&>(HA,{key:"title"},{default:()=>{var i;return[((i=r.title)==null?void 0:i.call(r))??n.title]}}),d&>(UA,{key:"subtitle"},{default:()=>{var i;return[((i=r.subtitle)==null?void 0:i.call(r))??n.subtitle]}}),(g=r.default)==null?void 0:g.call(r)]),p&>("div",{key:"append",class:"v-card-item__append"},[r.append?gt(Fa,{key:"append-defaults",disabled:!T,defaults:{VAvatar:{density:n.density,icon:n.appendIcon,image:n.appendAvatar}}},r.append):T&>(Zf,{key:"append-avatar",density:n.density,icon:n.appendIcon,image:n.appendAvatar},null)])])}),{}}}),qA=Nc("v-card-text"),BV=ur({appendAvatar:String,appendIcon:bi,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:bi,ripple:{type:[Boolean,Object],default:!0},subtitle:String,text:String,title:String,...Su(),...Zr(),...ds(),...sc(),...fs(),...m_(),...ed(),...A0(),...uo(),...lg(),...Si(),...oa(),...cc({variant:"elevated"})},"VCard"),NV=Ar()({name:"VCard",directives:{Ripple:nd},props:BV(),setup(n,e){let{attrs:r,slots:S}=e;const{themeClasses:D}=Ma(n),{borderClasses:T}=uc(n),{colorClasses:p,colorStyles:t,variantClasses:d}=rp(n),{densityClasses:g}=Qs(n),{dimensionStyles:i}=lc(n),{elevationClasses:M}=Vs(n),{loaderClasses:v}=t1(n),{locationStyles:f}=td(n),{positionClasses:l}=S0(n),{roundedClasses:a}=Eo(n),u=sg(n,r),o=cn(()=>n.link!==!1&&u.isLink.value),s=cn(()=>!n.disabled&&n.link!==!1&&(n.link||u.isClickable.value));return Or(()=>{const h=o.value?"a":n.tag,c=!!(S.title||n.title),m=!!(S.subtitle||n.subtitle),w=c||m,y=!!(S.append||n.appendAvatar||n.appendIcon),C=!!(S.prepend||n.prependAvatar||n.prependIcon),_=!!(S.image||n.image),k=w||C||y,E=!!(S.text||n.text);return Co(gt(h,{class:["v-card",{"v-card--disabled":n.disabled,"v-card--flat":n.flat,"v-card--hover":n.hover&&!(n.disabled||n.flat),"v-card--link":s.value},D.value,T.value,p.value,g.value,M.value,v.value,l.value,a.value,d.value,n.class],style:[t.value,i.value,f.value,n.style],href:u.href.value,onClick:s.value&&u.navigate,tabindex:n.disabled?-1:void 0},{default:()=>{var x;return[_&>("div",{key:"image",class:"v-card__image"},[S.image?gt(Fa,{key:"image-defaults",disabled:!n.image,defaults:{VImg:{cover:!0,src:n.image}}},S.image):gt(Zd,{key:"image-img",cover:!0,src:n.image},null)]),gt(g_,{name:"v-card",active:!!n.loading,color:typeof n.loading=="boolean"?void 0:n.loading},{default:S.loader}),k&>(GA,{key:"item",prependAvatar:n.prependAvatar,prependIcon:n.prependIcon,title:n.title,subtitle:n.subtitle,appendAvatar:n.appendAvatar,appendIcon:n.appendIcon},{default:S.item,prepend:S.prepend,title:S.title,subtitle:S.subtitle,append:S.append}),E&>(qA,{key:"text"},{default:()=>{var A;return[((A=S.text)==null?void 0:A.call(S))??n.text]}}),(x=S.default)==null?void 0:x.call(S),S.actions&>(jA,null,{default:S.actions}),np(s.value,"v-card")]}}),[[Tu("ripple"),s.value&&n.ripple]])}),{}}});const VV=n=>{const{touchstartX:e,touchendX:r,touchstartY:S,touchendY:D}=n,T=.5,p=16;n.offsetX=r-e,n.offsetY=D-S,Math.abs(n.offsetY)e+p&&n.right(n)),Math.abs(n.offsetX)S+p&&n.down(n))};function jV(n,e){var S;const r=n.changedTouches[0];e.touchstartX=r.clientX,e.touchstartY=r.clientY,(S=e.start)==null||S.call(e,{originalEvent:n,...e})}function UV(n,e){var S;const r=n.changedTouches[0];e.touchendX=r.clientX,e.touchendY=r.clientY,(S=e.end)==null||S.call(e,{originalEvent:n,...e}),VV(e)}function HV(n,e){var S;const r=n.changedTouches[0];e.touchmoveX=r.clientX,e.touchmoveY=r.clientY,(S=e.move)==null||S.call(e,{originalEvent:n,...e})}function GV(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const e={touchstartX:0,touchstartY:0,touchendX:0,touchendY:0,touchmoveX:0,touchmoveY:0,offsetX:0,offsetY:0,left:n.left,right:n.right,up:n.up,down:n.down,start:n.start,move:n.move,end:n.end};return{touchstart:r=>jV(r,e),touchend:r=>UV(r,e),touchmove:r=>HV(r,e)}}function qV(n,e){var t;const r=e.value,S=r!=null&&r.parent?n.parentElement:n,D=(r==null?void 0:r.options)??{passive:!0},T=(t=e.instance)==null?void 0:t.$.uid;if(!S||!T)return;const p=GV(e.value);S._touchHandlers=S._touchHandlers??Object.create(null),S._touchHandlers[T]=p,c6(p).forEach(d=>{S.addEventListener(d,p[d],D)})}function WV(n,e){var T,p;const r=(T=e.value)!=null&&T.parent?n.parentElement:n,S=(p=e.instance)==null?void 0:p.$.uid;if(!(r!=null&&r._touchHandlers)||!S)return;const D=r._touchHandlers[S];c6(D).forEach(t=>{r.removeEventListener(t,D[t])}),delete r._touchHandlers[S]}const M_={mounted:qV,unmounted:WV},WA=Symbol.for("vuetify:v-window"),YA=Symbol.for("vuetify:v-window-group"),$A=ur({continuous:Boolean,nextIcon:{type:[Boolean,String,Function,Object],default:"$next"},prevIcon:{type:[Boolean,String,Function,Object],default:"$prev"},reverse:Boolean,showArrows:{type:[Boolean,String],validator:n=>typeof n=="boolean"||n==="hover"},touch:{type:[Object,Boolean],default:void 0},direction:{type:String,default:"horizontal"},modelValue:null,disabled:Boolean,selectedClass:{type:String,default:"v-window-item--active"},mandatory:{type:[Boolean,String],default:"force"},...Zr(),...Si(),...oa()},"VWindow"),Sx=Ar()({name:"VWindow",directives:{Touch:M_},props:$A(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ma(n),{isRtl:D}=Cs(),{t:T}=oc(),p=ip(n,YA),t=Vr(),d=cn(()=>D.value?!n.reverse:n.reverse),g=Wr(!1),i=cn(()=>{const c=n.direction==="vertical"?"y":"x",w=(d.value?!g.value:g.value)?"-reverse":"";return`v-window-${c}${w}-transition`}),M=Wr(0),v=Vr(void 0),f=cn(()=>p.items.value.findIndex(c=>p.selected.value.includes(c.id)));$r(f,(c,m)=>{const w=p.items.value.length,y=w-1;w<=2?g.value=cn.continuous||f.value!==0),a=cn(()=>n.continuous||f.value!==p.items.value.length-1);function u(){l.value&&p.prev()}function o(){a.value&&p.next()}const s=cn(()=>{const c=[],m={icon:D.value?n.nextIcon:n.prevIcon,class:`v-window__${d.value?"right":"left"}`,onClick:p.prev,ariaLabel:T("$vuetify.carousel.prev")};c.push(l.value?r.prev?r.prev({props:m}):gt(wl,m,null):gt("div",null,null));const w={icon:D.value?n.prevIcon:n.nextIcon,class:`v-window__${d.value?"left":"right"}`,onClick:p.next,ariaLabel:T("$vuetify.carousel.next")};return c.push(a.value?r.next?r.next({props:w}):gt(wl,w,null):gt("div",null,null)),c}),h=cn(()=>n.touch===!1?n.touch:{...{left:()=>{d.value?u():o()},right:()=>{d.value?o():u()},start:m=>{let{originalEvent:w}=m;w.stopPropagation()}},...n.touch===!0?{}:n.touch});return Or(()=>Co(gt(n.tag,{ref:t,class:["v-window",{"v-window--show-arrows-on-hover":n.showArrows==="hover"},S.value,n.class],style:n.style},{default:()=>{var c,m;return[gt("div",{class:"v-window__container",style:{height:v.value}},[(c=r.default)==null?void 0:c.call(r,{group:p}),n.showArrows!==!1&>("div",{class:"v-window__controls"},[s.value])]),(m=r.additional)==null?void 0:m.call(r,{group:p})]}}),[[Tu("touch"),h.value]])),{group:p}}}),YV=ur({color:String,cycle:Boolean,delimiterIcon:{type:bi,default:"$delimiter"},height:{type:[Number,String],default:500},hideDelimiters:Boolean,hideDelimiterBackground:Boolean,interval:{type:[Number,String],default:6e3,validator:n=>Number(n)>0},progress:[Boolean,String],verticalDelimiters:[Boolean,String],...$A({continuous:!0,mandatory:"force",showArrows:!0})},"VCarousel"),$V=Ar()({name:"VCarousel",props:YV(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const S=xi(n,"modelValue"),{t:D}=oc(),T=Vr();let p=-1;$r(S,d),$r(()=>n.interval,d),$r(()=>n.cycle,g=>{g?d():window.clearTimeout(p)}),Ks(t);function t(){!n.cycle||!T.value||(p=window.setTimeout(T.value.group.next,+n.interval>0?+n.interval:6e3))}function d(){window.clearTimeout(p),window.requestAnimationFrame(t)}return Or(()=>{const[g]=Sx.filterProps(n);return gt(Sx,qr({ref:T},g,{modelValue:S.value,"onUpdate:modelValue":i=>S.value=i,class:["v-carousel",{"v-carousel--hide-delimiter-background":n.hideDelimiterBackground,"v-carousel--vertical-delimiters":n.verticalDelimiters},n.class],style:[{height:Qr(n.height)},n.style]}),{default:r.default,additional:i=>{let{group:M}=i;return gt(Yr,null,[!n.hideDelimiters&>("div",{class:"v-carousel__controls",style:{left:n.verticalDelimiters==="left"&&n.verticalDelimiters?0:"auto",right:n.verticalDelimiters==="right"?0:"auto"}},[M.items.value.length>0&>(Fa,{defaults:{VBtn:{color:n.color,icon:n.delimiterIcon,size:"x-small",variant:"text"}},scoped:!0},{default:()=>[M.items.value.map((v,f)=>{const l={id:`carousel-item-${v.id}`,"aria-label":D("$vuetify.carousel.ariaLabel.delimiter",f+1,M.items.value.length),class:[M.isSelected(v.id)&&"v-btn--active"],onClick:()=>M.select(v.id,!0)};return r.item?r.item({props:l,item:v}):gt(wl,qr(v,l),null)})]})]),n.progress&>(p_,{class:"v-carousel__progress",color:typeof n.progress=="string"?n.progress:void 0,modelValue:(M.getItemIndex(S.value)+1)/M.items.value.length*100},null)])},prev:r.prev,next:r.next})}),{}}}),ZA=ur({reverseTransition:{type:[Boolean,String],default:void 0},transition:{type:[Boolean,String],default:void 0},...Zr(),...T0(),...o1()},"VWindowItem"),Cx=Ar()({name:"VWindowItem",directives:{Touch:M_},props:ZA(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const S=ka(WA),D=k0(n,YA),{isBooted:T}=tp();if(!S||!D)throw new Error("[Vuetify] VWindowItem must be used inside VWindow");const p=Wr(!1),t=cn(()=>T.value&&(S.isReversed.value?n.reverseTransition!==!1:n.transition!==!1));function d(){!p.value||!S||(p.value=!1,S.transitionCount.value>0&&(S.transitionCount.value-=1,S.transitionCount.value===0&&(S.transitionHeight.value=void 0)))}function g(){var l;p.value||!S||(p.value=!0,S.transitionCount.value===0&&(S.transitionHeight.value=Qr((l=S.rootRef.value)==null?void 0:l.clientHeight)),S.transitionCount.value+=1)}function i(){d()}function M(l){p.value&&Ua(()=>{!t.value||!p.value||!S||(S.transitionHeight.value=Qr(l.clientHeight))})}const v=cn(()=>{const l=S.isReversed.value?n.reverseTransition:n.transition;return t.value?{name:typeof l!="string"?S.transition.value:l,onBeforeEnter:g,onAfterEnter:d,onEnterCancelled:i,onBeforeLeave:g,onAfterLeave:d,onLeaveCancelled:i,onEnter:M}:!1}),{hasContent:f}=__(n,D.isSelected);return Or(()=>gt(Oc,{transition:v.value,disabled:!T.value},{default:()=>{var l;return[Co(gt("div",{class:["v-window-item",D.selectedClass.value,n.class],style:n.style},[f.value&&((l=r.default)==null?void 0:l.call(r))]),[[kh,D.isSelected.value]])]}})),{groupItem:D}}}),ZV=ur({...G6(),...ZA()},"VCarouselItem"),XV=Ar()({name:"VCarouselItem",inheritAttrs:!1,props:ZV(),setup(n,e){let{slots:r,attrs:S}=e;Or(()=>{const[D]=Zd.filterProps(n),[T]=Cx.filterProps(n);return gt(Cx,qr({class:"v-carousel-item"},T),{default:()=>[gt(Zd,qr(S,D),r)]})})}});const KV=Nc("v-code");const JV=ur({color:{type:Object},disabled:Boolean,dotSize:{type:[Number,String],default:10},height:{type:[Number,String],default:150},width:{type:[Number,String],default:300},...Zr()},"VColorPickerCanvas"),QV=ac({name:"VColorPickerCanvas",props:JV(),emits:{"update:color":n=>!0,"update:position":n=>!0},setup(n,e){let{emit:r}=e;const S=Wr(!1),D=Vr(),T=Wr(parseFloat(n.width)),p=Wr(parseFloat(n.height)),t=Vr({x:0,y:0}),d=cn({get:()=>t.value,set(u){var h,c;if(!D.value)return;const{x:o,y:s}=u;r("update:color",{h:((h=n.color)==null?void 0:h.h)??0,s:Zs(o,0,T.value)/T.value,v:1-Zs(s,0,p.value)/p.value,a:((c=n.color)==null?void 0:c.a)??1})}}),g=cn(()=>{const{x:u,y:o}=d.value,s=parseInt(n.dotSize,10)/2;return{width:Qr(n.dotSize),height:Qr(n.dotSize),transform:`translate(${Qr(u-s)}, ${Qr(o-s)})`}}),{resizeRef:i}=Th(u=>{var h;if(!((h=i.value)!=null&&h.offsetParent))return;const{width:o,height:s}=u[0].contentRect;T.value=o,p.value=s});function M(u,o,s){const{left:h,top:c,width:m,height:w}=s;d.value={x:Zs(u-h,0,m),y:Zs(o-c,0,w)}}function v(u){u.type==="mousedown"&&u.preventDefault(),!n.disabled&&(f(u),window.addEventListener("mousemove",f),window.addEventListener("mouseup",l),window.addEventListener("touchmove",f),window.addEventListener("touchend",l))}function f(u){if(n.disabled||!D.value)return;S.value=!0;const o=$z(u);M(o.clientX,o.clientY,D.value.getBoundingClientRect())}function l(){window.removeEventListener("mousemove",f),window.removeEventListener("mouseup",l),window.removeEventListener("touchmove",f),window.removeEventListener("touchend",l)}function a(){var c;if(!D.value)return;const u=D.value,o=u.getContext("2d");if(!o)return;const s=o.createLinearGradient(0,0,u.width,0);s.addColorStop(0,"hsla(0, 0%, 100%, 1)"),s.addColorStop(1,`hsla(${((c=n.color)==null?void 0:c.h)??0}, 100%, 50%, 1)`),o.fillStyle=s,o.fillRect(0,0,u.width,u.height);const h=o.createLinearGradient(0,0,0,u.height);h.addColorStop(0,"hsla(0, 0%, 100%, 0)"),h.addColorStop(1,"hsla(0, 0%, 0%, 1)"),o.fillStyle=h,o.fillRect(0,0,u.width,u.height)}return $r(()=>{var u;return(u=n.color)==null?void 0:u.h},a,{immediate:!0}),$r(()=>[T.value,p.value],(u,o)=>{a(),t.value={x:d.value.x*u[0]/o[0],y:d.value.y*u[1]/o[1]}},{flush:"post"}),$r(()=>n.color,()=>{if(S.value){S.value=!1;return}t.value=n.color?{x:n.color.s*T.value,y:(1-n.color.v)*p.value}:{x:0,y:0}},{deep:!0,immediate:!0}),Ks(()=>a()),Or(()=>gt("div",{ref:i,class:["v-color-picker-canvas",n.class],style:n.style,onMousedown:v,onTouchstartPassive:v},[gt("canvas",{ref:D,width:T.value,height:p.value},null),n.color&>("div",{class:["v-color-picker-canvas__dot",{"v-color-picker-canvas__dot--disabled":n.disabled}],style:g.value},null)])),{}}});function ej(n,e){if(e){const{a:r,...S}=n;return S}return n}function tj(n,e){if(e==null||typeof e=="string"){const r=M6(n);return n.a===1?r.slice(0,7):r}if(typeof e=="object"){let r;return Od(e,["r","g","b"])?r=rf(n):Od(e,["h","s","l"])?r=x6(n):Od(e,["h","s","v"])&&(r=n),ej(r,!Od(e,["a"])&&n.a===1)}return n}const bm={h:0,s:0,v:1,a:1},Ex={inputProps:{type:"number",min:0},inputs:[{label:"R",max:255,step:1,getValue:n=>Math.round(n.r),getColor:(n,e)=>({...n,r:Number(e)})},{label:"G",max:255,step:1,getValue:n=>Math.round(n.g),getColor:(n,e)=>({...n,g:Number(e)})},{label:"B",max:255,step:1,getValue:n=>Math.round(n.b),getColor:(n,e)=>({...n,b:Number(e)})},{label:"A",max:1,step:.01,getValue:n=>{let{a:e}=n;return e!=null?Math.round(e*100)/100:1},getColor:(n,e)=>({...n,a:Number(e)})}],to:rf,from:Xy};var pT;const nj={...Ex,inputs:(pT=Ex.inputs)==null?void 0:pT.slice(0,3)},Lx={inputProps:{type:"number",min:0},inputs:[{label:"H",max:360,step:1,getValue:n=>Math.round(n.h),getColor:(n,e)=>({...n,h:Number(e)})},{label:"S",max:1,step:.01,getValue:n=>Math.round(n.s*100)/100,getColor:(n,e)=>({...n,s:Number(e)})},{label:"L",max:1,step:.01,getValue:n=>Math.round(n.l*100)/100,getColor:(n,e)=>({...n,l:Number(e)})},{label:"A",max:1,step:.01,getValue:n=>{let{a:e}=n;return e!=null?Math.round(e*100)/100:1},getColor:(n,e)=>({...n,a:Number(e)})}],to:x6,from:e_},rj={...Lx,inputs:Lx.inputs.slice(0,3)},XA={inputProps:{type:"text"},inputs:[{label:"HEXA",getValue:n=>n,getColor:(n,e)=>e}],to:M6,from:dF},ij={...XA,inputs:[{label:"HEX",getValue:n=>n.slice(0,7),getColor:(n,e)=>e}]},Hd={rgb:nj,rgba:Ex,hsl:rj,hsla:Lx,hex:ij,hexa:XA},aj=n=>{let{label:e,...r}=n;return gt("div",{class:"v-color-picker-edit__input"},[gt("input",r,null),gt("span",null,[e])])},oj=ur({color:Object,disabled:Boolean,mode:{type:String,default:"rgba",validator:n=>Object.keys(Hd).includes(n)},modes:{type:Array,default:()=>Object.keys(Hd),validator:n=>Array.isArray(n)&&n.every(e=>Object.keys(Hd).includes(e))},...Zr()},"VColorPickerEdit"),sj=ac({name:"VColorPickerEdit",props:oj(),emits:{"update:color":n=>!0,"update:mode":n=>!0},setup(n,e){let{emit:r}=e;const S=cn(()=>n.modes.map(T=>({...Hd[T],name:T}))),D=cn(()=>{var t;const T=S.value.find(d=>d.name===n.mode);if(!T)return[];const p=n.color?T.to(n.color):null;return(t=T.inputs)==null?void 0:t.map(d=>{let{getValue:g,getColor:i,...M}=d;return{...T.inputProps,...M,disabled:n.disabled,value:p&&g(p),onChange:v=>{const f=v.target;f&&r("update:color",T.from(i(p??bm,f.value)))}}})});return Or(()=>{var T;return gt("div",{class:["v-color-picker-edit",n.class],style:n.style},[(T=D.value)==null?void 0:T.map(p=>gt(aj,p,null)),S.value.length>1&>(wl,{icon:"$unfold",size:"x-small",variant:"plain",onClick:()=>{const p=S.value.findIndex(t=>t.name===n.mode);r("update:mode",S.value[(p+1)%S.value.length].name)}},null)])}),{}}});const A_=Symbol.for("vuetify:v-slider");function Ix(n,e,r){const S=r==="vertical",D=e.getBoundingClientRect(),T="touches"in n?n.touches[0]:n;return S?T.clientY-(D.top+D.height/2):T.clientX-(D.left+D.width/2)}function lj(n,e){return"touches"in n&&n.touches.length?n.touches[0][e]:"changedTouches"in n&&n.changedTouches.length?n.changedTouches[0][e]:n[e]}const KA=ur({disabled:{type:Boolean,default:null},error:Boolean,readonly:{type:Boolean,default:null},max:{type:[Number,String],default:100},min:{type:[Number,String],default:0},step:{type:[Number,String],default:0},thumbColor:String,thumbLabel:{type:[Boolean,String],default:void 0,validator:n=>typeof n=="boolean"||n==="always"},thumbSize:{type:[Number,String],default:20},showTicks:{type:[Boolean,String],default:!1,validator:n=>typeof n=="boolean"||n==="always"},ticks:{type:[Array,Object]},tickSize:{type:[Number,String],default:2},color:String,trackColor:String,trackFillColor:String,trackSize:{type:[Number,String],default:4},direction:{type:String,default:"horizontal",validator:n=>["vertical","horizontal"].includes(n)},reverse:Boolean,...uo(),...fs({elevation:2})},"Slider"),JA=n=>{const e=cn(()=>parseFloat(n.min)),r=cn(()=>parseFloat(n.max)),S=cn(()=>+n.step>0?parseFloat(n.step):0),D=cn(()=>Math.max(_5(S.value),_5(e.value)));function T(p){if(p=parseFloat(p),S.value<=0)return p;const t=Zs(p,e.value,r.value),d=e.value%S.value,g=Math.round((t-d)/S.value)*S.value+d;return parseFloat(Math.min(g,r.value).toFixed(D.value))}return{min:e,max:r,step:S,decimals:D,roundValue:T}},QA=n=>{let{props:e,steps:r,onSliderStart:S,onSliderMove:D,onSliderEnd:T,getActiveThumb:p}=n;const{isRtl:t}=Cs(),d=Cr(e,"reverse"),g=cn(()=>{let U=t.value?"rtl":"ltr";return e.reverse&&(U=U==="rtl"?"ltr":"rtl"),U}),{min:i,max:M,step:v,decimals:f,roundValue:l}=r,a=cn(()=>parseInt(e.thumbSize,10)),u=cn(()=>parseInt(e.tickSize,10)),o=cn(()=>parseInt(e.trackSize,10)),s=cn(()=>(M.value-i.value)/v.value),h=Cr(e,"disabled"),c=cn(()=>e.direction==="vertical"),m=cn(()=>e.error||e.disabled?void 0:e.thumbColor??e.color),w=cn(()=>e.error||e.disabled?void 0:e.trackColor??e.color),y=cn(()=>e.error||e.disabled?void 0:e.trackFillColor??e.color),C=Wr(!1),_=Wr(0),k=Vr(),E=Vr();function x(U){var re;const G=e.direction==="vertical",q=G?"top":"left",H=G?"height":"width",ne=G?"clientY":"clientX",{[q]:te,[H]:Z}=(re=k.value)==null?void 0:re.$el.getBoundingClientRect(),X=lj(U,ne);let Q=Math.min(Math.max((X-te-_.value)/Z,0),1)||0;return(G||g.value==="rtl")&&(Q=1-Q),l(i.value+Q*(M.value-i.value))}const A=U=>{T({value:x(U)}),C.value=!1,_.value=0},L=U=>{E.value=p(U),E.value&&(E.value.focus(),C.value=!0,E.value.contains(U.target)?_.value=Ix(U,E.value,e.direction):(_.value=0,D({value:x(U)})),S({value:x(U)}))},b={passive:!0,capture:!0};function R(U){D({value:x(U)})}function I(U){U.stopPropagation(),U.preventDefault(),A(U),window.removeEventListener("mousemove",R,b),window.removeEventListener("mouseup",I)}function O(U){var G;A(U),window.removeEventListener("touchmove",R,b),(G=U.target)==null||G.removeEventListener("touchend",O)}function z(U){var G;L(U),window.addEventListener("touchmove",R,b),(G=U.target)==null||G.addEventListener("touchend",O,{passive:!1})}function F(U){U.preventDefault(),L(U),window.addEventListener("mousemove",R,b),window.addEventListener("mouseup",I,{passive:!1})}const B=U=>{const G=(U-i.value)/(M.value-i.value)*100;return Zs(isNaN(G)?0:G,0,100)},N=Cr(e,"showTicks"),W=cn(()=>N.value?e.ticks?Array.isArray(e.ticks)?e.ticks.map(U=>({value:U,position:B(U),label:U.toString()})):Object.keys(e.ticks).map(U=>({value:parseFloat(U),position:B(parseFloat(U)),label:e.ticks[U]})):s.value!==1/0?Kh(s.value+1).map(U=>{const G=i.value+U*v.value;return{value:G,position:B(G)}}):[]:[]),j=cn(()=>W.value.some(U=>{let{label:G}=U;return!!G})),$={activeThumbRef:E,color:Cr(e,"color"),decimals:f,disabled:h,direction:Cr(e,"direction"),elevation:Cr(e,"elevation"),hasLabels:j,horizontalDirection:g,isReversed:d,min:i,max:M,mousePressed:C,numTicks:s,onSliderMousedown:F,onSliderTouchstart:z,parsedTicks:W,parseMouseMove:x,position:B,readonly:Cr(e,"readonly"),rounded:Cr(e,"rounded"),roundValue:l,showTicks:N,startOffset:_,step:v,thumbSize:a,thumbColor:m,thumbLabel:Cr(e,"thumbLabel"),ticks:Cr(e,"ticks"),tickSize:u,trackColor:w,trackContainerRef:k,trackFillColor:y,trackSize:o,vertical:c};return ts(A_,$),$},uj=ur({focused:Boolean,max:{type:Number,required:!0},min:{type:Number,required:!0},modelValue:{type:Number,required:!0},position:{type:Number,required:!0},ripple:{type:[Boolean,Object],default:!0},...Zr()},"VSliderThumb"),Rx=Ar()({name:"VSliderThumb",directives:{Ripple:nd},props:uj(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r,emit:S}=e;const D=ka(A_),{rtlClasses:T}=Cs();if(!D)throw new Error("[Vuetify] v-slider-thumb must be used inside v-slider or v-range-slider");const{thumbColor:p,step:t,vertical:d,disabled:g,thumbSize:i,thumbLabel:M,direction:v,readonly:f,elevation:l,isReversed:a,horizontalDirection:u,mousePressed:o,decimals:s}=D,{textColorClasses:h,textColorStyles:c}=Xs(p),{pageup:m,pagedown:w,end:y,home:C,left:_,right:k,down:E,up:x}=sx,A=[m,w,y,C,_,k,E,x],L=cn(()=>t.value?[1,2,3]:[1,5,10]);function b(I,O){if(!A.includes(I.key))return;I.preventDefault();const z=t.value||.1,F=(n.max-n.min)/z;if([_,k,E,x].includes(I.key)){const N=(u.value==="rtl"?[_,x]:[k,x]).includes(I.key)?1:-1,W=I.shiftKey?2:I.ctrlKey?1:0;O=O+N*z*L.value[W]}else if(I.key===C)O=n.min;else if(I.key===y)O=n.max;else{const B=I.key===w?1:-1;O=O-B*z*(F>100?F/10:10)}return Math.max(n.min,Math.min(n.max,O))}function R(I){const O=b(I,n.modelValue);O!=null&&S("update:modelValue",O)}return Or(()=>{const I=Qr(d.value||a.value?100-n.position:n.position,"%"),{elevationClasses:O}=Vs(cn(()=>g.value?void 0:l.value));return gt("div",{class:["v-slider-thumb",{"v-slider-thumb--focused":n.focused,"v-slider-thumb--pressed":n.focused&&o.value},n.class,T.value],style:[{"--v-slider-thumb-position":I,"--v-slider-thumb-size":Qr(i.value)},n.style],role:"slider",tabindex:g.value?-1:0,"aria-valuemin":n.min,"aria-valuemax":n.max,"aria-valuenow":n.modelValue,"aria-readonly":!!f.value,"aria-orientation":v.value,onKeydown:f.value?void 0:R},[gt("div",{class:["v-slider-thumb__surface",h.value,O.value],style:{...c.value}},null),Co(gt("div",{class:["v-slider-thumb__ripple",h.value],style:c.value},null),[[Tu("ripple"),n.ripple,null,{circle:!0,center:!0}]]),gt(s_,{origin:"bottom center"},{default:()=>{var z;return[Co(gt("div",{class:"v-slider-thumb__label-container"},[gt("div",{class:["v-slider-thumb__label"]},[gt("div",null,[((z=r["thumb-label"])==null?void 0:z.call(r,{modelValue:n.modelValue}))??n.modelValue.toFixed(t.value?s.value:1)])])]),[[kh,M.value&&n.focused||M.value==="always"]])]}})])}),{}}});const cj=ur({start:{type:Number,required:!0},stop:{type:Number,required:!0},...Zr()},"VSliderTrack"),eS=Ar()({name:"VSliderTrack",props:cj(),emits:{},setup(n,e){let{slots:r}=e;const S=ka(A_);if(!S)throw new Error("[Vuetify] v-slider-track must be inside v-slider or v-range-slider");const{color:D,horizontalDirection:T,parsedTicks:p,rounded:t,showTicks:d,tickSize:g,trackColor:i,trackFillColor:M,trackSize:v,vertical:f,min:l,max:a}=S,{roundedClasses:u}=Eo(t),{backgroundColorClasses:o,backgroundColorStyles:s}=Oo(M),{backgroundColorClasses:h,backgroundColorStyles:c}=Oo(i),m=cn(()=>`inset-${f.value?"block-end":"inline-start"}`),w=cn(()=>f.value?"height":"width"),y=cn(()=>({[m.value]:"0%",[w.value]:"100%"})),C=cn(()=>n.stop-n.start),_=cn(()=>({[m.value]:Qr(n.start,"%"),[w.value]:Qr(C.value,"%")})),k=cn(()=>d.value?(f.value?p.value.slice().reverse():p.value).map((x,A)=>{var R;const L=f.value?"bottom":"margin-inline-start",b=x.value!==l.value&&x.value!==a.value?Qr(x.position,"%"):void 0;return gt("div",{key:x.value,class:["v-slider-track__tick",{"v-slider-track__tick--filled":x.position>=n.start&&x.position<=n.stop,"v-slider-track__tick--first":x.value===l.value,"v-slider-track__tick--last":x.value===a.value}],style:{[L]:b}},[(x.label||r["tick-label"])&>("div",{class:"v-slider-track__tick-label"},[((R=r["tick-label"])==null?void 0:R.call(r,{tick:x,index:A}))??x.label])])}):[]);return Or(()=>gt("div",{class:["v-slider-track",u.value,n.class],style:[{"--v-slider-track-size":Qr(v.value),"--v-slider-tick-size":Qr(g.value),direction:f.value?void 0:T.value},n.style]},[gt("div",{class:["v-slider-track__background",h.value,{"v-slider-track__background--opacity":!!D.value||!M.value}],style:{...y.value,...c.value}},null),gt("div",{class:["v-slider-track__fill",o.value],style:{..._.value,...s.value}},null),d.value&>("div",{class:["v-slider-track__ticks",{"v-slider-track__ticks--always-show":d.value==="always"}]},[k.value])])),{}}}),hj=ur({...r1(),...KA(),...mf(),modelValue:{type:[Number,String],default:0}},"VSlider"),Px=Ar()({name:"VSlider",props:hj(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,start:n=>!0,end:n=>!0},setup(n,e){let{slots:r,emit:S}=e;const D=Vr(),{rtlClasses:T}=Cs(),p=JA(n),t=xi(n,"modelValue",void 0,w=>p.roundValue(w??p.min.value)),{min:d,max:g,mousePressed:i,roundValue:M,onSliderMousedown:v,onSliderTouchstart:f,trackContainerRef:l,position:a,hasLabels:u,readonly:o}=QA({props:n,steps:p,onSliderStart:()=>{S("start",t.value)},onSliderEnd:w=>{let{value:y}=w;const C=M(y);t.value=C,S("end",C)},onSliderMove:w=>{let{value:y}=w;return t.value=M(y)},getActiveThumb:()=>{var w;return(w=D.value)==null?void 0:w.$el}}),{isFocused:s,focus:h,blur:c}=rd(n),m=cn(()=>a(t.value));return Or(()=>{const[w,y]=Bs.filterProps(n),C=!!(n.label||r.label||r.prepend);return gt(Bs,qr({class:["v-slider",{"v-slider--has-labels":!!r["tick-label"]||u.value,"v-slider--focused":s.value,"v-slider--pressed":i.value,"v-slider--disabled":n.disabled},T.value,n.class],style:n.style},w,{focused:s.value}),{...r,prepend:C?_=>{var k,E;return gt(Yr,null,[((k=r.label)==null?void 0:k.call(r,_))??n.label?gt(C0,{id:_.id.value,class:"v-slider__label",text:n.label},null):void 0,(E=r.prepend)==null?void 0:E.call(r,_)])}:void 0,default:_=>{let{id:k,messagesId:E}=_;return gt("div",{class:"v-slider__container",onMousedown:o.value?void 0:v,onTouchstartPassive:o.value?void 0:f},[gt("input",{id:k.value,name:n.name||k.value,disabled:!!n.disabled,readonly:!!n.readonly,tabindex:"-1",value:t.value},null),gt(eS,{ref:l,start:0,stop:m.value},{"tick-label":r["tick-label"]}),gt(Rx,{ref:D,"aria-describedby":E.value,focused:s.value,min:d.value,max:g.value,modelValue:t.value,"onUpdate:modelValue":x=>t.value=x,position:m.value,elevation:n.elevation,onFocus:h,onBlur:c},{"thumb-label":r["thumb-label"]})])}})}),{}}}),fj=ur({color:{type:Object},disabled:Boolean,hideAlpha:Boolean,...Zr()},"VColorPickerPreview"),dj=ac({name:"VColorPickerPreview",props:fj(),emits:{"update:color":n=>!0},setup(n,e){let{emit:r}=e;return Or(()=>{var S,D;return gt("div",{class:["v-color-picker-preview",{"v-color-picker-preview--hide-alpha":n.hideAlpha},n.class],style:n.style},[gt("div",{class:"v-color-picker-preview__dot"},[gt("div",{style:{background:w6(n.color??bm)}},null)]),gt("div",{class:"v-color-picker-preview__sliders"},[gt(Px,{class:"v-color-picker-preview__track v-color-picker-preview__hue",modelValue:(S=n.color)==null?void 0:S.h,"onUpdate:modelValue":T=>r("update:color",{...n.color??bm,h:T}),step:0,min:0,max:360,disabled:n.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null),!n.hideAlpha&>(Px,{class:"v-color-picker-preview__track v-color-picker-preview__alpha",modelValue:((D=n.color)==null?void 0:D.a)??1,"onUpdate:modelValue":T=>r("update:color",{...n.color??bm,a:T}),step:1/256,min:0,max:1,disabled:n.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null)])])}),{}}});const pj=Object.freeze({base:"#f44336",lighten5:"#ffebee",lighten4:"#ffcdd2",lighten3:"#ef9a9a",lighten2:"#e57373",lighten1:"#ef5350",darken1:"#e53935",darken2:"#d32f2f",darken3:"#c62828",darken4:"#b71c1c",accent1:"#ff8a80",accent2:"#ff5252",accent3:"#ff1744",accent4:"#d50000"}),mj=Object.freeze({base:"#e91e63",lighten5:"#fce4ec",lighten4:"#f8bbd0",lighten3:"#f48fb1",lighten2:"#f06292",lighten1:"#ec407a",darken1:"#d81b60",darken2:"#c2185b",darken3:"#ad1457",darken4:"#880e4f",accent1:"#ff80ab",accent2:"#ff4081",accent3:"#f50057",accent4:"#c51162"}),gj=Object.freeze({base:"#9c27b0",lighten5:"#f3e5f5",lighten4:"#e1bee7",lighten3:"#ce93d8",lighten2:"#ba68c8",lighten1:"#ab47bc",darken1:"#8e24aa",darken2:"#7b1fa2",darken3:"#6a1b9a",darken4:"#4a148c",accent1:"#ea80fc",accent2:"#e040fb",accent3:"#d500f9",accent4:"#aa00ff"}),vj=Object.freeze({base:"#673ab7",lighten5:"#ede7f6",lighten4:"#d1c4e9",lighten3:"#b39ddb",lighten2:"#9575cd",lighten1:"#7e57c2",darken1:"#5e35b1",darken2:"#512da8",darken3:"#4527a0",darken4:"#311b92",accent1:"#b388ff",accent2:"#7c4dff",accent3:"#651fff",accent4:"#6200ea"}),yj=Object.freeze({base:"#3f51b5",lighten5:"#e8eaf6",lighten4:"#c5cae9",lighten3:"#9fa8da",lighten2:"#7986cb",lighten1:"#5c6bc0",darken1:"#3949ab",darken2:"#303f9f",darken3:"#283593",darken4:"#1a237e",accent1:"#8c9eff",accent2:"#536dfe",accent3:"#3d5afe",accent4:"#304ffe"}),bj=Object.freeze({base:"#2196f3",lighten5:"#e3f2fd",lighten4:"#bbdefb",lighten3:"#90caf9",lighten2:"#64b5f6",lighten1:"#42a5f5",darken1:"#1e88e5",darken2:"#1976d2",darken3:"#1565c0",darken4:"#0d47a1",accent1:"#82b1ff",accent2:"#448aff",accent3:"#2979ff",accent4:"#2962ff"}),xj=Object.freeze({base:"#03a9f4",lighten5:"#e1f5fe",lighten4:"#b3e5fc",lighten3:"#81d4fa",lighten2:"#4fc3f7",lighten1:"#29b6f6",darken1:"#039be5",darken2:"#0288d1",darken3:"#0277bd",darken4:"#01579b",accent1:"#80d8ff",accent2:"#40c4ff",accent3:"#00b0ff",accent4:"#0091ea"}),_j=Object.freeze({base:"#00bcd4",lighten5:"#e0f7fa",lighten4:"#b2ebf2",lighten3:"#80deea",lighten2:"#4dd0e1",lighten1:"#26c6da",darken1:"#00acc1",darken2:"#0097a7",darken3:"#00838f",darken4:"#006064",accent1:"#84ffff",accent2:"#18ffff",accent3:"#00e5ff",accent4:"#00b8d4"}),wj=Object.freeze({base:"#009688",lighten5:"#e0f2f1",lighten4:"#b2dfdb",lighten3:"#80cbc4",lighten2:"#4db6ac",lighten1:"#26a69a",darken1:"#00897b",darken2:"#00796b",darken3:"#00695c",darken4:"#004d40",accent1:"#a7ffeb",accent2:"#64ffda",accent3:"#1de9b6",accent4:"#00bfa5"}),Tj=Object.freeze({base:"#4caf50",lighten5:"#e8f5e9",lighten4:"#c8e6c9",lighten3:"#a5d6a7",lighten2:"#81c784",lighten1:"#66bb6a",darken1:"#43a047",darken2:"#388e3c",darken3:"#2e7d32",darken4:"#1b5e20",accent1:"#b9f6ca",accent2:"#69f0ae",accent3:"#00e676",accent4:"#00c853"}),kj=Object.freeze({base:"#8bc34a",lighten5:"#f1f8e9",lighten4:"#dcedc8",lighten3:"#c5e1a5",lighten2:"#aed581",lighten1:"#9ccc65",darken1:"#7cb342",darken2:"#689f38",darken3:"#558b2f",darken4:"#33691e",accent1:"#ccff90",accent2:"#b2ff59",accent3:"#76ff03",accent4:"#64dd17"}),Mj=Object.freeze({base:"#cddc39",lighten5:"#f9fbe7",lighten4:"#f0f4c3",lighten3:"#e6ee9c",lighten2:"#dce775",lighten1:"#d4e157",darken1:"#c0ca33",darken2:"#afb42b",darken3:"#9e9d24",darken4:"#827717",accent1:"#f4ff81",accent2:"#eeff41",accent3:"#c6ff00",accent4:"#aeea00"}),Aj=Object.freeze({base:"#ffeb3b",lighten5:"#fffde7",lighten4:"#fff9c4",lighten3:"#fff59d",lighten2:"#fff176",lighten1:"#ffee58",darken1:"#fdd835",darken2:"#fbc02d",darken3:"#f9a825",darken4:"#f57f17",accent1:"#ffff8d",accent2:"#ffff00",accent3:"#ffea00",accent4:"#ffd600"}),Sj=Object.freeze({base:"#ffc107",lighten5:"#fff8e1",lighten4:"#ffecb3",lighten3:"#ffe082",lighten2:"#ffd54f",lighten1:"#ffca28",darken1:"#ffb300",darken2:"#ffa000",darken3:"#ff8f00",darken4:"#ff6f00",accent1:"#ffe57f",accent2:"#ffd740",accent3:"#ffc400",accent4:"#ffab00"}),Cj=Object.freeze({base:"#ff9800",lighten5:"#fff3e0",lighten4:"#ffe0b2",lighten3:"#ffcc80",lighten2:"#ffb74d",lighten1:"#ffa726",darken1:"#fb8c00",darken2:"#f57c00",darken3:"#ef6c00",darken4:"#e65100",accent1:"#ffd180",accent2:"#ffab40",accent3:"#ff9100",accent4:"#ff6d00"}),Ej=Object.freeze({base:"#ff5722",lighten5:"#fbe9e7",lighten4:"#ffccbc",lighten3:"#ffab91",lighten2:"#ff8a65",lighten1:"#ff7043",darken1:"#f4511e",darken2:"#e64a19",darken3:"#d84315",darken4:"#bf360c",accent1:"#ff9e80",accent2:"#ff6e40",accent3:"#ff3d00",accent4:"#dd2c00"}),Lj=Object.freeze({base:"#795548",lighten5:"#efebe9",lighten4:"#d7ccc8",lighten3:"#bcaaa4",lighten2:"#a1887f",lighten1:"#8d6e63",darken1:"#6d4c41",darken2:"#5d4037",darken3:"#4e342e",darken4:"#3e2723"}),Ij=Object.freeze({base:"#607d8b",lighten5:"#eceff1",lighten4:"#cfd8dc",lighten3:"#b0bec5",lighten2:"#90a4ae",lighten1:"#78909c",darken1:"#546e7a",darken2:"#455a64",darken3:"#37474f",darken4:"#263238"}),Rj=Object.freeze({base:"#9e9e9e",lighten5:"#fafafa",lighten4:"#f5f5f5",lighten3:"#eeeeee",lighten2:"#e0e0e0",lighten1:"#bdbdbd",darken1:"#757575",darken2:"#616161",darken3:"#424242",darken4:"#212121"}),Pj=Object.freeze({black:"#000000",white:"#ffffff",transparent:"#ffffff00"}),Oj=Object.freeze({red:pj,pink:mj,purple:gj,deepPurple:vj,indigo:yj,blue:bj,lightBlue:xj,cyan:_j,teal:wj,green:Tj,lightGreen:kj,lime:Mj,yellow:Aj,amber:Sj,orange:Cj,deepOrange:Ej,brown:Lj,blueGrey:Ij,grey:Rj,shades:Pj}),Dj=ur({swatches:{type:Array,default:()=>zj(Oj)},disabled:Boolean,color:Object,maxHeight:[Number,String],...Zr()},"VColorPickerSwatches");function zj(n){return Object.keys(n).map(e=>{const r=n[e];return r.base?[r.base,r.darken4,r.darken3,r.darken2,r.darken1,r.lighten1,r.lighten2,r.lighten3,r.lighten4,r.lighten5]:[r.black,r.white,r.transparent]})}const Fj=ac({name:"VColorPickerSwatches",props:Dj(),emits:{"update:color":n=>!0},setup(n,e){let{emit:r}=e;return Or(()=>gt("div",{class:["v-color-picker-swatches",n.class],style:[{maxHeight:Qr(n.maxHeight)},n.style]},[gt("div",null,[n.swatches.map(S=>gt("div",{class:"v-color-picker-swatches__swatch"},[S.map(D=>{const T=Pc(D),p=Xy(T),t=_6(T);return gt("div",{class:"v-color-picker-swatches__color",onClick:()=>p&&r("update:color",p)},[gt("div",{style:{background:t}},[n.color&&b0(n.color,p)?gt(ja,{size:"x-small",icon:"$success",color:vF(D,"#FFFFFF")>2?"white":"black"},null):void 0])])})]))])])),{}}});const tS=ur({color:String,...Su(),...Zr(),...sc(),...fs(),...ed(),...A0(),...uo(),...Si(),...oa()},"VSheet"),Ox=Ar()({name:"VSheet",props:tS(),setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ma(n),{backgroundColorClasses:D,backgroundColorStyles:T}=Oo(Cr(n,"color")),{borderClasses:p}=uc(n),{dimensionStyles:t}=lc(n),{elevationClasses:d}=Vs(n),{locationStyles:g}=td(n),{positionClasses:i}=S0(n),{roundedClasses:M}=Eo(n);return Or(()=>gt(n.tag,{class:["v-sheet",S.value,D.value,p.value,d.value,i.value,M.value,n.class],style:[T.value,t.value,g.value,n.style]},r)),{}}}),Bj=ur({canvasHeight:{type:[String,Number],default:150},disabled:Boolean,dotSize:{type:[Number,String],default:10},hideCanvas:Boolean,hideSliders:Boolean,hideInputs:Boolean,mode:{type:String,default:"rgba",validator:n=>Object.keys(Hd).includes(n)},modes:{type:Array,default:()=>Object.keys(Hd),validator:n=>Array.isArray(n)&&n.every(e=>Object.keys(Hd).includes(e))},showSwatches:Boolean,swatches:Array,swatchesMaxHeight:{type:[Number,String],default:150},modelValue:{type:[Object,String]},...ic(tS({width:300}),["height","location","minHeight","maxHeight","minWidth","maxWidth"])},"VColorPicker"),Nj=ac({name:"VColorPicker",props:Bj(),emits:{"update:modelValue":n=>!0,"update:mode":n=>!0},setup(n){const e=xi(n,"mode"),r=Vr(null),S=xi(n,"modelValue",void 0,p=>{if(p==null||p==="")return null;let t;try{t=Xy(Pc(p))}catch{return null}return r.value&&(t={...t,h:r.value.h},r.value=null),t},p=>p?tj(p,n.modelValue):null),{rtlClasses:D}=Cs(),T=p=>{S.value=p,r.value=p};return Ks(()=>{n.modes.includes(e.value)||(e.value=n.modes[0])}),es({VSlider:{color:void 0,trackColor:void 0,trackFillColor:void 0}}),Or(()=>{const[p]=Ox.filterProps(n);return gt(Ox,qr({rounded:n.rounded,elevation:n.elevation,theme:n.theme,class:["v-color-picker",D.value,n.class],style:[{"--v-color-picker-color-hsv":w6({...S.value??bm,a:1})},n.style]},p,{maxWidth:n.width}),{default:()=>[!n.hideCanvas&>(QV,{key:"canvas",color:S.value,"onUpdate:color":T,disabled:n.disabled,dotSize:n.dotSize,width:n.width,height:n.canvasHeight},null),(!n.hideSliders||!n.hideInputs)&>("div",{key:"controls",class:"v-color-picker__controls"},[!n.hideSliders&>(dj,{key:"preview",color:S.value,"onUpdate:color":T,hideAlpha:!e.value.endsWith("a"),disabled:n.disabled},null),!n.hideInputs&>(sj,{key:"edit",modes:n.modes,mode:e.value,"onUpdate:mode":t=>e.value=t,color:S.value,"onUpdate:color":T,disabled:n.disabled},null)]),n.showSwatches&>(Fj,{key:"swatches",color:S.value,"onUpdate:color":T,maxHeight:n.swatchesMaxHeight,swatches:n.swatches,disabled:n.disabled},null)]})}),{}}});function Vj(n,e,r){if(e==null)return n;if(Array.isArray(e))throw new Error("Multiple matches is not implemented");return typeof e=="number"&&~e?gt(Yr,null,[gt("span",{class:"v-combobox__unmask"},[n.substr(0,e)]),gt("span",{class:"v-combobox__mask"},[n.substr(e,r)]),gt("span",{class:"v-combobox__unmask"},[n.substr(e+r)])]):n}const jj=ur({autoSelectFirst:{type:[Boolean,String]},delimiters:Array,...DA({filterKeys:["title"]}),...k_({hideNoData:!0,returnObject:!0}),...ic(c1({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...df({transition:!1})},"VCombobox"),Uj=Ar()({name:"VCombobox",props:jj(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,"update:search":n=>!0,"update:menu":n=>!0},setup(n,e){var q;let{emit:r,slots:S}=e;const{t:D}=oc(),T=Vr(),p=Wr(!1),t=Wr(!0),d=Wr(!1),g=Vr(),i=Vr(),M=xi(n,"menu"),v=cn({get:()=>M.value,set:H=>{var ne;M.value&&!H&&((ne=g.value)!=null&&ne.ΨopenChildren)||(M.value=H)}}),f=Wr(-1);let l=!1;const a=cn(()=>{var H;return(H=T.value)==null?void 0:H.color}),u=cn(()=>v.value?n.closeText:n.openText),{items:o,transformIn:s,transformOut:h}=x_(n),{textColorClasses:c,textColorStyles:m}=Xs(a),w=xi(n,"modelValue",[],H=>s(bu(H)),H=>{const ne=h(H);return n.multiple?ne:ne[0]??null}),y=i1(),C=Wr(n.multiple?"":((q=w.value[0])==null?void 0:q.title)??""),_=cn({get:()=>C.value,set:H=>{var ne;if(C.value=H,n.multiple||(w.value=[zd(n,H)]),H&&n.multiple&&((ne=n.delimiters)!=null&&ne.length)){const te=H.split(new RegExp(`(?:${n.delimiters.join("|")})+`));te.length>1&&(te.forEach(Z=>{Z=Z.trim(),Z&&j(zd(n,Z))}),C.value="")}H||(f.value=-1),t.value=!H}});$r(C,H=>{l?Ua(()=>l=!1):p.value&&!v.value&&(v.value=!0),r("update:search",H)}),$r(w,H=>{var ne;n.multiple||(C.value=((ne=H[0])==null?void 0:ne.title)??"")});const{filteredItems:k,getMatches:E}=zA(n,o,()=>t.value?"":_.value),x=cn(()=>n.hideSelected?k.value.filter(H=>!w.value.some(ne=>ne.value===H.value)):k.value),A=cn(()=>w.value.map(H=>H.value)),L=cn(()=>{var ne;return(n.autoSelectFirst===!0||n.autoSelectFirst==="exact"&&_.value===((ne=x.value[0])==null?void 0:ne.title))&&x.value.length>0&&!t.value&&!d.value}),b=cn(()=>n.hideNoData&&!o.value.length||n.readonly||(y==null?void 0:y.isReadonly.value)),R=Vr(),{onListScroll:I,onListKeydown:O}=T_(R,T);function z(H){l=!0,n.openOnClear&&(v.value=!0)}function F(){b.value||(v.value=!0)}function B(H){b.value||(p.value&&(H.preventDefault(),H.stopPropagation()),v.value=!v.value)}function N(H){var Z;if(n.readonly||y!=null&&y.isReadonly.value)return;const ne=T.value.selectionStart,te=w.value.length;if((f.value>-1||["Enter","ArrowDown","ArrowUp"].includes(H.key))&&H.preventDefault(),["Enter","ArrowDown"].includes(H.key)&&(v.value=!0),["Escape"].includes(H.key)&&(v.value=!1),["Enter","Escape","Tab"].includes(H.key)&&(L.value&&["Enter","Tab"].includes(H.key)&&j(k.value[0]),t.value=!0),H.key==="ArrowDown"&&L.value&&((Z=R.value)==null||Z.focus("next")),!!n.multiple){if(["Backspace","Delete"].includes(H.key)){if(f.value<0){H.key==="Backspace"&&!_.value&&(f.value=te-1);return}const X=f.value,Q=w.value[f.value];Q&&j(Q),f.value=X>=te-1?te-2:X}if(H.key==="ArrowLeft"){if(f.value<0&&ne>0)return;const X=f.value>-1?f.value-1:te-1;w.value[X]?f.value=X:(f.value=-1,T.value.setSelectionRange(_.value.length,_.value.length))}if(H.key==="ArrowRight"){if(f.value<0)return;const X=f.value+1;w.value[X]?f.value=X:(f.value=-1,T.value.setSelectionRange(0,0))}H.key==="Enter"&&_.value&&(j(zd(n,_.value)),_.value="")}}function W(){var H;p.value&&(t.value=!0,(H=T.value)==null||H.focus())}function j(H){if(n.multiple){const ne=w.value.findIndex(te=>n.valueComparator(te.value,H.value));if(ne===-1)w.value=[...w.value,H];else{const te=[...w.value];te.splice(ne,1),w.value=te}_.value=""}else w.value=[H],C.value=H.title,Ua(()=>{v.value=!1,t.value=!0})}function $(H){p.value=!0,setTimeout(()=>{d.value=!0})}function U(H){d.value=!1}function G(H){(H==null||H===""&&!n.multiple)&&(w.value=[])}return $r(k,H=>{!H.length&&n.hideNoData&&(v.value=!1)}),$r(p,(H,ne)=>{H||H===ne||(f.value=-1,v.value=!1,L.value&&!d.value&&!w.value.some(te=>{let{value:Z}=te;return Z===x.value[0].value})?j(x.value[0]):n.multiple&&_.value&&(w.value=[...w.value,zd(n,_.value)],_.value=""))}),$r(v,()=>{if(!n.hideSelected&&v.value&&w.value.length){const H=x.value.findIndex(ne=>w.value.some(te=>n.valueComparator(te.value,ne.value)));to&&window.requestAnimationFrame(()=>{var ne;H>=0&&((ne=i.value)==null||ne.scrollToIndex(H))})}}),Or(()=>{const H=!!(n.chips||S.chip),ne=!!(!n.hideNoData||x.value.length||S["prepend-item"]||S["append-item"]||S["no-data"]),te=w.value.length>0,[Z]=Kd.filterProps(n);return gt(Kd,qr({ref:T},Z,{modelValue:_.value,"onUpdate:modelValue":[X=>_.value=X,G],focused:p.value,"onUpdate:focused":X=>p.value=X,validationValue:w.externalValue,dirty:te,class:["v-combobox",{"v-combobox--active-menu":v.value,"v-combobox--chips":!!n.chips,"v-combobox--selection-slot":!!S.selection,"v-combobox--selecting-index":f.value>-1,[`v-combobox--${n.multiple?"multiple":"single"}`]:!0},n.class],style:n.style,readonly:n.readonly,placeholder:te?void 0:n.placeholder,"onClick:clear":z,"onMousedown:control":F,onKeydown:N}),{...S,default:()=>gt(Yr,null,[gt(s1,qr({ref:g,modelValue:v.value,"onUpdate:modelValue":X=>v.value=X,activator:"parent",contentClass:"v-combobox__content",disabled:b.value,eager:n.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:n.transition,onAfterLeave:W},n.menuProps),{default:()=>[ne&>(a1,{ref:R,selected:A.value,selectStrategy:n.multiple?"independent":"single-independent",onMousedown:X=>X.preventDefault(),onKeydown:O,onFocusin:$,onFocusout:U,onScrollPassive:I,tabindex:"-1",color:n.itemColor??n.color},{default:()=>{var X,Q,re;return[(X=S["prepend-item"])==null?void 0:X.call(S),!x.value.length&&!n.hideNoData&&(((Q=S["no-data"])==null?void 0:Q.call(S))??gt(af,{title:D(n.noDataText)},null)),gt(h1,{ref:i,renderless:!0,items:x.value},{default:ie=>{var de;let{item:oe,index:ue,itemRef:ce}=ie;const ye=qr(oe.props,{ref:ce,key:ue,active:L.value&&ue===0?!0:void 0,onClick:()=>j(oe)});return((de=S.item)==null?void 0:de.call(S,{item:oe,index:ue,props:ye}))??gt(af,ye,{prepend:me=>{let{isSelected:pe}=me;return gt(Yr,null,[n.multiple&&!n.hideSelected?gt(h0,{key:oe.value,modelValue:pe,ripple:!1,tabindex:"-1"},null):void 0,oe.props.prependIcon&>(ja,{icon:oe.props.prependIcon},null)])},title:()=>{var me,pe;return t.value?oe.title:Vj(oe.title,(me=E(oe))==null?void 0:me.title,((pe=_.value)==null?void 0:pe.length)??0)}})}}),(re=S["append-item"])==null?void 0:re.call(S)]}})]}),w.value.map((X,Q)=>{var oe;function re(ue){ue.stopPropagation(),ue.preventDefault(),j(X)}const ie={"onClick:close":re,onMousedown(ue){ue.preventDefault(),ue.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return gt("div",{key:X.value,class:["v-combobox__selection",Q===f.value&&["v-combobox__selection--selected",c.value]],style:Q===f.value?m.value:{}},[H?S.chip?gt(Fa,{key:"chip-defaults",defaults:{VChip:{closable:n.closableChips,size:"small",text:X.title}}},{default:()=>{var ue;return[(ue=S.chip)==null?void 0:ue.call(S,{item:X,index:Q,props:ie})]}}):gt(ug,qr({key:"chip",closable:n.closableChips,size:"small",text:X.title},ie),null):((oe=S.selection)==null?void 0:oe.call(S,{item:X,index:Q}))??gt("span",{class:"v-combobox__selection-text"},[X.title,n.multiple&&Q!0},setup(n,e){let{slots:r}=e;const S=xi(n,"modelValue"),{scopeId:D}=E0(),T=Vr();function p(d){var M,v;const g=d.relatedTarget,i=d.target;if(g!==i&&((M=T.value)!=null&&M.contentEl)&&((v=T.value)!=null&&v.globalTop)&&![document,T.value.contentEl].includes(i)&&!T.value.contentEl.contains(i)){const f=Dm(T.value.contentEl);if(!f.length)return;const l=f[0],a=f[f.length-1];g===l?a.focus():l.focus()}}to&&$r(()=>S.value&&n.retainFocus,d=>{d?document.addEventListener("focusin",p):document.removeEventListener("focusin",p)},{immediate:!0}),$r(S,async d=>{var g,i;await Ua(),d?(g=T.value.contentEl)==null||g.focus({preventScroll:!0}):(i=T.value.activatorEl)==null||i.focus({preventScroll:!0})});const t=cn(()=>qr({"aria-haspopup":"dialog","aria-expanded":String(S.value)},n.activatorProps));return Or(()=>{const[d]=of.filterProps(n);return gt(of,qr({ref:T,class:["v-dialog",{"v-dialog--fullscreen":n.fullscreen,"v-dialog--scrollable":n.scrollable},n.class],style:n.style},d,{modelValue:S.value,"onUpdate:modelValue":g=>S.value=g,"aria-modal":"true",activatorProps:t.value,role:"dialog"},D),{activator:r.activator,default:function(){for(var g=arguments.length,i=new Array(g),M=0;M{var v;return[(v=r.default)==null?void 0:v.call(r,...i)]}})}})}),Vc({},T)}});const jm=Symbol.for("vuetify:v-expansion-panel"),qj=["default","accordion","inset","popout"],Wj=ur({color:String,variant:{type:String,default:"default",validator:n=>qj.includes(n)},readonly:Boolean,...Zr(),...w0(),...Si(),...oa()},"VExpansionPanels"),Yj=Ar()({name:"VExpansionPanels",props:Wj(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;ip(n,jm);const{themeClasses:S}=Ma(n),D=cn(()=>n.variant&&`v-expansion-panels--variant-${n.variant}`);return es({VExpansionPanel:{color:Cr(n,"color")},VExpansionPanelTitle:{readonly:Cr(n,"readonly")}}),Or(()=>gt(n.tag,{class:["v-expansion-panels",S.value,D.value,n.class],style:n.style},r)),{}}}),$j=ur({...Zr(),...o1()},"VExpansionPanelText"),nS=Ar()({name:"VExpansionPanelText",props:$j(),setup(n,e){let{slots:r}=e;const S=ka(jm);if(!S)throw new Error("[Vuetify] v-expansion-panel-text needs to be placed inside v-expansion-panel");const{hasContent:D,onAfterLeave:T}=__(n,S.isSelected);return Or(()=>gt(e1,{onAfterLeave:T},{default:()=>{var p;return[Co(gt("div",{class:["v-expansion-panel-text",n.class],style:n.style},[r.default&&D.value&>("div",{class:"v-expansion-panel-text__wrapper"},[(p=r.default)==null?void 0:p.call(r)])]),[[kh,S.isSelected.value]])]}})),{}}}),rS=ur({color:String,expandIcon:{type:bi,default:"$expand"},collapseIcon:{type:bi,default:"$collapse"},hideActions:Boolean,ripple:{type:[Boolean,Object],default:!1},readonly:Boolean,...Zr()},"VExpansionPanelTitle"),iS=Ar()({name:"VExpansionPanelTitle",directives:{Ripple:nd},props:rS(),setup(n,e){let{slots:r}=e;const S=ka(jm);if(!S)throw new Error("[Vuetify] v-expansion-panel-title needs to be placed inside v-expansion-panel");const{backgroundColorClasses:D,backgroundColorStyles:T}=Oo(n,"color"),p=cn(()=>({collapseIcon:n.collapseIcon,disabled:S.disabled.value,expanded:S.isSelected.value,expandIcon:n.expandIcon,readonly:n.readonly}));return Or(()=>{var t;return Co(gt("button",{class:["v-expansion-panel-title",{"v-expansion-panel-title--active":S.isSelected.value},D.value,n.class],style:[T.value,n.style],type:"button",tabindex:S.disabled.value?-1:void 0,disabled:S.disabled.value,"aria-expanded":S.isSelected.value,onClick:n.readonly?void 0:S.toggle},[gt("span",{class:"v-expansion-panel-title__overlay"},null),(t=r.default)==null?void 0:t.call(r,p.value),!n.hideActions&>("span",{class:"v-expansion-panel-title__icon"},[r.actions?r.actions(p.value):gt(ja,{icon:S.isSelected.value?n.collapseIcon:n.expandIcon},null)])]),[[Tu("ripple"),n.ripple]])}),{}}}),Zj=ur({title:String,text:String,bgColor:String,...Zr(),...fs(),...T0(),...o1(),...uo(),...Si(),...rS()},"VExpansionPanel"),Xj=Ar()({name:"VExpansionPanel",props:Zj(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const S=k0(n,jm),{backgroundColorClasses:D,backgroundColorStyles:T}=Oo(n,"bgColor"),{elevationClasses:p}=Vs(n),{roundedClasses:t}=Eo(n),d=cn(()=>(S==null?void 0:S.disabled.value)||n.disabled),g=cn(()=>S.group.items.value.reduce((v,f,l)=>(S.group.selected.value.includes(f.id)&&v.push(l),v),[])),i=cn(()=>{const v=S.group.items.value.findIndex(f=>f.id===S.id);return!S.isSelected.value&&g.value.some(f=>f-v===1)}),M=cn(()=>{const v=S.group.items.value.findIndex(f=>f.id===S.id);return!S.isSelected.value&&g.value.some(f=>f-v===-1)});return ts(jm,S),es({VExpansionPanelText:{eager:Cr(n,"eager")}}),Or(()=>{const v=!!(r.text||n.text),f=!!(r.title||n.title);return gt(n.tag,{class:["v-expansion-panel",{"v-expansion-panel--active":S.isSelected.value,"v-expansion-panel--before-active":i.value,"v-expansion-panel--after-active":M.value,"v-expansion-panel--disabled":d.value},t.value,D.value,n.class],style:[T.value,n.style]},{default:()=>{var l;return[gt("div",{class:["v-expansion-panel__shadow",...p.value]},null),f&>(iS,{key:"title",collapseIcon:n.collapseIcon,color:n.color,expandIcon:n.expandIcon,hideActions:n.hideActions,ripple:n.ripple},{default:()=>[r.title?r.title():n.title]}),v&>(nS,{key:"text"},{default:()=>[r.text?r.text():n.text]}),(l=r.default)==null?void 0:l.call(r)]}})}),{}}});const Kj=ur({chips:Boolean,counter:Boolean,counterSizeString:{type:String,default:"$vuetify.fileInput.counterSize"},counterString:{type:String,default:"$vuetify.fileInput.counter"},multiple:Boolean,showSize:{type:[Boolean,Number],default:!1,validator:n=>typeof n=="boolean"||[1e3,1024].includes(n)},...mf({prependIcon:"$file"}),modelValue:{type:Array,default:()=>[],validator:n=>bu(n).every(e=>e!=null&&typeof e=="object")},...u1({clearable:!0})},"VFileInput"),Jj=Ar()({name:"VFileInput",inheritAttrs:!1,props:Kj(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:S,slots:D}=e;const{t:T}=oc(),p=xi(n,"modelValue"),{isFocused:t,focus:d,blur:g}=rd(n),i=cn(()=>typeof n.showSize!="boolean"?n.showSize:void 0),M=cn(()=>(p.value??[]).reduce((_,k)=>{let{size:E=0}=k;return _+E},0)),v=cn(()=>T5(M.value,i.value)),f=cn(()=>(p.value??[]).map(_=>{const{name:k="",size:E=0}=_;return n.showSize?`${k} (${T5(E,i.value)})`:k})),l=cn(()=>{var k;const _=((k=p.value)==null?void 0:k.length)??0;return n.showSize?T(n.counterSizeString,_,v.value):T(n.counterString,_)}),a=Vr(),u=Vr(),o=Vr(),s=cn(()=>t.value||n.active),h=cn(()=>["plain","underlined"].includes(n.variant));function c(){var _;o.value!==document.activeElement&&((_=o.value)==null||_.focus()),t.value||d()}function m(_){y(_)}function w(_){S("mousedown:control",_)}function y(_){var k;(k=o.value)==null||k.click(),S("click:control",_)}function C(_){_.stopPropagation(),c(),Ua(()=>{p.value=[],K2(n["onClick:clear"],_)})}return $r(p,_=>{(!Array.isArray(_)||!_.length)&&o.value&&(o.value.value="")}),Or(()=>{const _=!!(D.counter||n.counter),k=!!(_||D.details),[E,x]=Qd(r),[{modelValue:A,...L}]=Bs.filterProps(n),[b]=w_(n);return gt(Bs,qr({ref:a,modelValue:p.value,"onUpdate:modelValue":R=>p.value=R,class:["v-file-input",{"v-text-field--plain-underlined":h.value},n.class],style:n.style,"onClick:prepend":m},E,L,{centerAffix:!h.value,focused:t.value}),{...D,default:R=>{let{id:I,isDisabled:O,isDirty:z,isReadonly:F,isValid:B}=R;return gt(hg,qr({ref:u,"prepend-icon":n.prependIcon,onMousedown:w,onClick:y,"onClick:clear":C,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"]},b,{id:I.value,active:s.value||z.value,dirty:z.value,disabled:O.value,focused:t.value,error:B.value===!1}),{...D,default:N=>{var $;let{props:{class:W,...j}}=N;return gt(Yr,null,[gt("input",qr({ref:o,type:"file",readonly:F.value,disabled:O.value,multiple:n.multiple,name:n.name,onClick:U=>{U.stopPropagation(),F.value&&U.preventDefault(),c()},onChange:U=>{if(!U.target)return;const G=U.target;p.value=[...G.files??[]]},onFocus:c,onBlur:g},j,x),null),gt("div",{class:W},[!!(($=p.value)!=null&&$.length)&&(D.selection?D.selection({fileNames:f.value,totalBytes:M.value,totalBytesReadable:v.value}):n.chips?f.value.map(U=>gt(ug,{key:U,size:"small",color:n.color},{default:()=>[U]})):f.value.join(", "))])])}})},details:k?R=>{var I,O;return gt(Yr,null,[(I=D.details)==null?void 0:I.call(D,R),_&>(Yr,null,[gt("span",null,null),gt(l1,{active:!!((O=p.value)!=null&&O.length),value:l.value},D.counter)])])}:void 0})}),Vc({},a,u,o)}});const Qj=ur({app:Boolean,color:String,height:{type:[Number,String],default:"auto"},...Su(),...Zr(),...fs(),...x0(),...uo(),...Si({tag:"footer"}),...oa()},"VFooter"),eU=Ar()({name:"VFooter",props:Qj(),setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ma(n),{backgroundColorClasses:D,backgroundColorStyles:T}=Oo(Cr(n,"color")),{borderClasses:p}=uc(n),{elevationClasses:t}=Vs(n),{roundedClasses:d}=Eo(n),g=Wr(32),{resizeRef:i}=Th(f=>{f.length&&(g.value=f[0].target.clientHeight)}),M=cn(()=>n.height==="auto"?g.value:parseInt(n.height,10)),{layoutItemStyles:v}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:cn(()=>"bottom"),layoutSize:M,elementSize:cn(()=>n.height==="auto"?void 0:M.value),active:cn(()=>n.app),absolute:Cr(n,"absolute")});return Or(()=>gt(n.tag,{ref:i,class:["v-footer",S.value,D.value,p.value,t.value,d.value,n.class],style:[T.value,n.app?v.value:{height:Qr(n.height)},n.style]},r)),{}}}),tU=ur({...Zr(),...fN()},"VForm"),nU=Ar()({name:"VForm",props:tU(),emits:{"update:modelValue":n=>!0,submit:n=>!0},setup(n,e){let{slots:r,emit:S}=e;const D=dN(n),T=Vr();function p(d){d.preventDefault(),D.reset()}function t(d){const g=d,i=D.validate();g.then=i.then.bind(i),g.catch=i.catch.bind(i),g.finally=i.finally.bind(i),S("submit",g),g.defaultPrevented||i.then(M=>{var f;let{valid:v}=M;v&&((f=T.value)==null||f.submit())}),g.preventDefault()}return Or(()=>{var d;return gt("form",{ref:T,class:["v-form",n.class],style:n.style,novalidate:!0,onReset:p,onSubmit:t},[(d=r.default)==null?void 0:d.call(r,D)])}),Vc(D,T)}});const rU=ur({fluid:{type:Boolean,default:!1},...Zr(),...Si()},"VContainer"),iU=Ar()({name:"VContainer",props:rU(),setup(n,e){let{slots:r}=e;const{rtlClasses:S}=Cs();return Or(()=>gt(n.tag,{class:["v-container",{"v-container--fluid":n.fluid},S.value,n.class],style:n.style},r)),{}}}),aS=(()=>Ky.reduce((n,e)=>(n[e]={type:[Boolean,String,Number],default:!1},n),{}))(),oS=(()=>Ky.reduce((n,e)=>{const r="offset"+sf(e);return n[r]={type:[String,Number],default:null},n},{}))(),sS=(()=>Ky.reduce((n,e)=>{const r="order"+sf(e);return n[r]={type:[String,Number],default:null},n},{}))(),lT={col:Object.keys(aS),offset:Object.keys(oS),order:Object.keys(sS)};function aU(n,e,r){let S=n;if(!(r==null||r===!1)){if(e){const D=e.replace(n,"");S+=`-${D}`}return n==="col"&&(S="v-"+S),n==="col"&&(r===""||r===!0)||(S+=`-${r}`),S.toLowerCase()}}const oU=["auto","start","end","center","baseline","stretch"],sU=ur({cols:{type:[Boolean,String,Number],default:!1},...aS,offset:{type:[String,Number],default:null},...oS,order:{type:[String,Number],default:null},...sS,alignSelf:{type:String,default:null,validator:n=>oU.includes(n)},...Zr(),...Si()},"VCol"),lU=Ar()({name:"VCol",props:sU(),setup(n,e){let{slots:r}=e;const S=cn(()=>{const D=[];let T;for(T in lT)lT[T].forEach(t=>{const d=n[t],g=aU(T,t,d);g&&D.push(g)});const p=D.some(t=>t.startsWith("v-col-"));return D.push({"v-col":!p||!n.cols,[`v-col-${n.cols}`]:n.cols,[`offset-${n.offset}`]:n.offset,[`order-${n.order}`]:n.order,[`align-self-${n.alignSelf}`]:n.alignSelf}),D});return()=>{var D;return Xf(n.tag,{class:[S.value,n.class],style:n.style},(D=r.default)==null?void 0:D.call(r))}}}),S_=["start","end","center"],lS=["space-between","space-around","space-evenly"];function C_(n,e){return Ky.reduce((r,S)=>{const D=n+sf(S);return r[D]=e(),r},{})}const uU=[...S_,"baseline","stretch"],uS=n=>uU.includes(n),cS=C_("align",()=>({type:String,default:null,validator:uS})),cU=[...S_,...lS],hS=n=>cU.includes(n),fS=C_("justify",()=>({type:String,default:null,validator:hS})),hU=[...S_,...lS,"stretch"],dS=n=>hU.includes(n),pS=C_("alignContent",()=>({type:String,default:null,validator:dS})),uT={align:Object.keys(cS),justify:Object.keys(fS),alignContent:Object.keys(pS)},fU={align:"align",justify:"justify",alignContent:"align-content"};function dU(n,e,r){let S=fU[n];if(r!=null){if(e){const D=e.replace(n,"");S+=`-${D}`}return S+=`-${r}`,S.toLowerCase()}}const pU=ur({dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:uS},...cS,justify:{type:String,default:null,validator:hS},...fS,alignContent:{type:String,default:null,validator:dS},...pS,...Zr(),...Si()},"VRow"),mU=Ar()({name:"VRow",props:pU(),setup(n,e){let{slots:r}=e;const S=cn(()=>{const D=[];let T;for(T in uT)uT[T].forEach(p=>{const t=n[p],d=dU(T,p,t);d&&D.push(d)});return D.push({"v-row--no-gutters":n.noGutters,"v-row--dense":n.dense,[`align-${n.align}`]:n.align,[`justify-${n.justify}`]:n.justify,[`align-content-${n.alignContent}`]:n.alignContent}),D});return()=>{var D;return Xf(n.tag,{class:["v-row",S.value,n.class],style:n.style},(D=r.default)==null?void 0:D.call(r))}}}),gU=Nc("v-spacer","div","VSpacer"),vU=ur({disabled:Boolean,modelValue:{type:Boolean,default:void 0},...EA()},"VHover"),yU=Ar()({name:"VHover",props:vU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const S=xi(n,"modelValue"),{runOpenDelay:D,runCloseDelay:T}=LA(n,p=>!n.disabled&&(S.value=p));return()=>{var p;return(p=r.default)==null?void 0:p.call(r,{isHovering:S.value,props:{onMouseenter:D,onMouseleave:T}})}}});const mS=Symbol.for("vuetify:v-item-group"),bU=ur({...Zr(),...w0({selectedClass:"v-item--selected"}),...Si(),...oa()},"VItemGroup"),xU=Ar()({name:"VItemGroup",props:bU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ma(n),{isSelected:D,select:T,next:p,prev:t,selected:d}=ip(n,mS);return()=>gt(n.tag,{class:["v-item-group",S.value,n.class],style:n.style},{default:()=>{var g;return[(g=r.default)==null?void 0:g.call(r,{isSelected:D,select:T,next:p,prev:t,selected:d.value})]}})}}),_U=Ar()({name:"VItem",props:T0(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const{isSelected:S,select:D,toggle:T,selectedClass:p,value:t,disabled:d}=k0(n,mS);return()=>{var g;return(g=r.default)==null?void 0:g.call(r,{isSelected:S.value,selectedClass:p.value,select:D,toggle:T,value:t.value,disabled:d.value})}}});const wU=Nc("v-kbd");const TU=ur({...Zr(),...z6()},"VLayout"),kU=Ar()({name:"VLayout",props:TU(),setup(n,e){let{slots:r}=e;const{layoutClasses:S,layoutStyles:D,getLayoutItem:T,items:p,layoutRef:t}=F6(n);return Or(()=>{var d;return gt("div",{ref:t,class:[S.value,n.class],style:[D.value,n.style]},[(d=r.default)==null?void 0:d.call(r)])}),{getLayoutItem:T,items:p}}});const MU=ur({position:{type:String,required:!0},size:{type:[Number,String],default:300},modelValue:Boolean,...Zr(),...x0()},"VLayoutItem"),AU=Ar()({name:"VLayoutItem",props:MU(),setup(n,e){let{slots:r}=e;const{layoutItemStyles:S}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:Cr(n,"position"),elementSize:Cr(n,"size"),layoutSize:Cr(n,"size"),active:Cr(n,"modelValue"),absolute:Cr(n,"absolute")});return()=>{var D;return gt("div",{class:["v-layout-item",n.class],style:[S.value,n.style]},[(D=r.default)==null?void 0:D.call(r)])}}}),SU=ur({modelValue:Boolean,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},...Zr(),...sc(),...Si(),...df({transition:"fade-transition"})},"VLazy"),CU=Ar()({name:"VLazy",directives:{intersect:og},props:SU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{dimensionStyles:S}=lc(n),D=xi(n,"modelValue");function T(p){D.value||(D.value=p)}return Or(()=>Co(gt(n.tag,{class:["v-lazy",n.class],style:[S.value,n.style]},{default:()=>[D.value&>(Oc,{transition:n.transition,appear:!0},{default:()=>{var p;return[(p=r.default)==null?void 0:p.call(r)]}})]}),[[Tu("intersect"),{handler:T,options:n.options},null]])),{}}});const EU=ur({locale:String,fallbackLocale:String,messages:Object,rtl:{type:Boolean,default:void 0},...Zr()},"VLocaleProvider"),LU=Ar()({name:"VLocaleProvider",props:EU(),setup(n,e){let{slots:r}=e;const{rtlClasses:S}=NF(n);return Or(()=>{var D;return gt("div",{class:["v-locale-provider",S.value,n.class],style:n.style},[(D=r.default)==null?void 0:D.call(r)])}),{}}});const IU=ur({scrollable:Boolean,...Zr(),...Si({tag:"main"})},"VMain"),RU=Ar()({name:"VMain",props:IU(),setup(n,e){let{slots:r}=e;const{mainStyles:S}=dB(),{ssrBootStyles:D}=tp();return Or(()=>gt(n.tag,{class:["v-main",{"v-main--scrollable":n.scrollable},n.class],style:[S.value,D.value,n.style]},{default:()=>{var T,p;return[n.scrollable?gt("div",{class:"v-main__scroller"},[(T=r.default)==null?void 0:T.call(r)]):(p=r.default)==null?void 0:p.call(r)]}})),{}}});function PU(n){let{rootEl:e,isSticky:r,layoutItemStyles:S}=n;const D=Wr(!1),T=Wr(0),p=cn(()=>{const g=typeof D.value=="boolean"?"top":D.value;return[r.value?{top:"auto",bottom:"auto",height:void 0}:void 0,D.value?{[g]:Qr(T.value)}:{top:S.value.top}]});Ks(()=>{$r(r,g=>{g?window.addEventListener("scroll",d,{passive:!0}):window.removeEventListener("scroll",d)},{immediate:!0})}),kl(()=>{window.removeEventListener("scroll",d)});let t=0;function d(){const g=t>window.scrollY?"up":"down",i=e.value.getBoundingClientRect(),M=parseFloat(S.value.top??0),v=window.scrollY-Math.max(0,T.value-M),f=i.height+Math.max(T.value,M)-window.scrollY-window.innerHeight,l=parseFloat(getComputedStyle(e.value).getPropertyValue("--v-body-scroll-y"))||0;i.height0;r--){if(n[r].t===n[r-1].t)continue;const S=cT(e),D=(n[r].d-n[r-1].d)/(n[r].t-n[r-1].t);e+=(D-S)*Math.abs(D),r===n.length-1&&(e*=.5)}return cT(e)*1e3}function zU(){const n={};function e(D){Array.from(D.changedTouches).forEach(T=>{(n[T.identifier]??(n[T.identifier]=new Yz(DU))).push([D.timeStamp,T])})}function r(D){Array.from(D.changedTouches).forEach(T=>{delete n[T.identifier]})}function S(D){var g;const T=(g=n[D])==null?void 0:g.values().reverse();if(!T)throw new Error(`No samples for touch id ${D}`);const p=T[0],t=[],d=[];for(const i of T){if(p[0]-i[0]>OU)break;t.push({t:i[0],d:i[1].clientX}),d.push({t:i[0],d:i[1].clientY})}return{x:hT(t),y:hT(d),get direction(){const{x:i,y:M}=this,[v,f]=[Math.abs(i),Math.abs(M)];return v>f&&i>=0?"right":v>f&&i<=0?"left":f>v&&M>=0?"down":f>v&&M<=0?"up":FU()}}}return{addMovement:e,endTouch:r,getVelocity:S}}function FU(){throw new Error}function BU(n){let{isActive:e,isTemporary:r,width:S,touchless:D,position:T}=n;Ks(()=>{window.addEventListener("touchstart",o,{passive:!0}),window.addEventListener("touchmove",s,{passive:!1}),window.addEventListener("touchend",h,{passive:!0})}),kl(()=>{window.removeEventListener("touchstart",o),window.removeEventListener("touchmove",s),window.removeEventListener("touchend",h)});const p=cn(()=>["left","right"].includes(T.value)),{addMovement:t,endTouch:d,getVelocity:g}=zU();let i=!1;const M=Wr(!1),v=Wr(0),f=Wr(0);let l;function a(m,w){return(T.value==="left"?m:T.value==="right"?document.documentElement.clientWidth-m:T.value==="top"?m:T.value==="bottom"?document.documentElement.clientHeight-m:Lp())-(w?S.value:0)}function u(m){let w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const y=T.value==="left"?(m-f.value)/S.value:T.value==="right"?(document.documentElement.clientWidth-m-f.value)/S.value:T.value==="top"?(m-f.value)/S.value:T.value==="bottom"?(document.documentElement.clientHeight-m-f.value)/S.value:Lp();return w?Math.max(0,Math.min(1,y)):y}function o(m){if(D.value)return;const w=m.changedTouches[0].clientX,y=m.changedTouches[0].clientY,C=25,_=T.value==="left"?wdocument.documentElement.clientWidth-C:T.value==="top"?ydocument.documentElement.clientHeight-C:Lp(),k=e.value&&(T.value==="left"?wdocument.documentElement.clientWidth-S.value:T.value==="top"?ydocument.documentElement.clientHeight-S.value:Lp());(_||k||e.value&&r.value)&&(i=!0,l=[w,y],f.value=a(p.value?w:y,e.value),v.value=u(p.value?w:y),d(m),t(m))}function s(m){const w=m.changedTouches[0].clientX,y=m.changedTouches[0].clientY;if(i){if(!m.cancelable){i=!1;return}const _=Math.abs(w-l[0]),k=Math.abs(y-l[1]);(p.value?_>k&&_>3:k>_&&k>3)?(M.value=!0,i=!1):(p.value?k:_)>3&&(i=!1)}if(!M.value)return;m.preventDefault(),t(m);const C=u(p.value?w:y,!1);v.value=Math.max(0,Math.min(1,C)),C>1?f.value=a(p.value?w:y,!0):C<0&&(f.value=a(p.value?w:y,!1))}function h(m){if(i=!1,!M.value)return;t(m),M.value=!1;const w=g(m.changedTouches[0].identifier),y=Math.abs(w.x),C=Math.abs(w.y);(p.value?y>C&&y>400:C>y&&C>3)?e.value=w.direction===({left:"right",right:"left",top:"down",bottom:"up"}[T.value]||Lp()):e.value=v.value>.5}const c=cn(()=>M.value?{transform:T.value==="left"?`translateX(calc(-100% + ${v.value*S.value}px))`:T.value==="right"?`translateX(calc(100% - ${v.value*S.value}px))`:T.value==="top"?`translateY(calc(-100% + ${v.value*S.value}px))`:T.value==="bottom"?`translateY(calc(100% - ${v.value*S.value}px))`:Lp(),transition:"none"}:void 0);return{isDragging:M,dragProgress:v,dragStyles:c}}function Lp(){throw new Error}const NU=["start","end","left","right","top","bottom"],VU=ur({color:String,disableResizeWatcher:Boolean,disableRouteWatcher:Boolean,expandOnHover:Boolean,floating:Boolean,modelValue:{type:Boolean,default:null},permanent:Boolean,rail:{type:Boolean,default:null},railWidth:{type:[Number,String],default:56},scrim:{type:[Boolean,String],default:!0},image:String,temporary:Boolean,touchless:Boolean,width:{type:[Number,String],default:256},location:{type:String,default:"start",validator:n=>NU.includes(n)},sticky:Boolean,...Su(),...Zr(),...fs(),...x0(),...uo(),...Si({tag:"nav"}),...oa()},"VNavigationDrawer"),jU=Ar()({name:"VNavigationDrawer",props:VU(),emits:{"update:modelValue":n=>!0,"update:rail":n=>!0},setup(n,e){let{attrs:r,emit:S,slots:D}=e;const{isRtl:T}=Cs(),{themeClasses:p}=Ma(n),{borderClasses:t}=uc(n),{backgroundColorClasses:d,backgroundColorStyles:g}=Oo(Cr(n,"color")),{elevationClasses:i}=Vs(n),{mobile:M}=ep(),{roundedClasses:v}=Eo(n),f=$6(),l=xi(n,"modelValue",null,z=>!!z),{ssrBootStyles:a}=tp(),{scopeId:u}=E0(),o=Vr(),s=Wr(!1),h=cn(()=>n.rail&&n.expandOnHover&&s.value?Number(n.width):Number(n.rail?n.railWidth:n.width)),c=cn(()=>ux(n.location,T.value)),m=cn(()=>!n.permanent&&(M.value||n.temporary)),w=cn(()=>n.sticky&&!m.value&&c.value!=="bottom");n.expandOnHover&&n.rail!=null&&$r(s,z=>S("update:rail",!z)),n.disableResizeWatcher||$r(m,z=>!n.permanent&&Ua(()=>l.value=!z)),!n.disableRouteWatcher&&f&&$r(f.currentRoute,()=>m.value&&(l.value=!1)),$r(()=>n.permanent,z=>{z&&(l.value=!0)}),Sy(()=>{n.modelValue!=null||m.value||(l.value=n.permanent||!M.value)});const{isDragging:y,dragProgress:C,dragStyles:_}=BU({isActive:l,isTemporary:m,width:h,touchless:Cr(n,"touchless"),position:c}),k=cn(()=>{const z=m.value?0:n.rail&&n.expandOnHover?Number(n.railWidth):h.value;return y.value?z*C.value:z}),{layoutItemStyles:E,layoutItemScrimStyles:x}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:c,layoutSize:k,elementSize:h,active:cn(()=>l.value||y.value),disableTransitions:cn(()=>y.value),absolute:cn(()=>n.absolute||w.value&&typeof A.value!="string")}),{isStuck:A,stickyStyles:L}=PU({rootEl:o,isSticky:w,layoutItemStyles:E}),b=Oo(cn(()=>typeof n.scrim=="string"?n.scrim:null)),R=cn(()=>({...y.value?{opacity:C.value*.2,transition:"none"}:void 0,...x.value}));es({VList:{bgColor:"transparent"}});function I(){s.value=!0}function O(){s.value=!1}return Or(()=>{const z=D.image||n.image;return gt(Yr,null,[gt(n.tag,qr({ref:o,onMouseenter:I,onMouseleave:O,class:["v-navigation-drawer",`v-navigation-drawer--${c.value}`,{"v-navigation-drawer--expand-on-hover":n.expandOnHover,"v-navigation-drawer--floating":n.floating,"v-navigation-drawer--is-hovering":s.value,"v-navigation-drawer--rail":n.rail,"v-navigation-drawer--temporary":m.value,"v-navigation-drawer--active":l.value,"v-navigation-drawer--sticky":w.value},p.value,d.value,t.value,i.value,v.value,n.class],style:[g.value,E.value,_.value,a.value,L.value,n.style]},u,r),{default:()=>{var F,B,N,W;return[z&>("div",{key:"image",class:"v-navigation-drawer__img"},[D.image?(F=D.image)==null?void 0:F.call(D,{image:n.image}):gt("img",{src:n.image,alt:""},null)]),D.prepend&>("div",{class:"v-navigation-drawer__prepend"},[(B=D.prepend)==null?void 0:B.call(D)]),gt("div",{class:"v-navigation-drawer__content"},[(N=D.default)==null?void 0:N.call(D)]),D.append&>("div",{class:"v-navigation-drawer__append"},[(W=D.append)==null?void 0:W.call(D)])]}}),gt(bh,{name:"fade-transition"},{default:()=>[m.value&&(y.value||l.value)&&!!n.scrim&>("div",qr({class:["v-navigation-drawer__scrim",b.backgroundColorClasses.value],style:[R.value,b.backgroundColorStyles.value],onClick:()=>l.value=!1},u),null)]})])}),{isStuck:A}}}),UU=ac({name:"VNoSsr",setup(n,e){let{slots:r}=e;const S=IA();return()=>{var D;return S.value&&((D=r.default)==null?void 0:D.call(r))}}});function HU(){const n=Vr([]);KT(()=>n.value=[]);function e(r,S){n.value[S]=r}return{refs:n,updateRef:e}}const GU=ur({activeColor:String,start:{type:[Number,String],default:1},modelValue:{type:Number,default:n=>n.start},disabled:Boolean,length:{type:[Number,String],default:1,validator:n=>n%1===0},totalVisible:[Number,String],firstIcon:{type:bi,default:"$first"},prevIcon:{type:bi,default:"$prev"},nextIcon:{type:bi,default:"$next"},lastIcon:{type:bi,default:"$last"},ariaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.root"},pageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.page"},currentPageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.currentPage"},firstAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.first"},previousAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.previous"},nextAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.next"},lastAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.last"},ellipsis:{type:String,default:"..."},showFirstLastPage:Boolean,...Su(),...Zr(),...ds(),...fs(),...uo(),...pf(),...Si({tag:"nav"}),...oa(),...cc({variant:"text"})},"VPagination"),qU=Ar()({name:"VPagination",props:GU(),emits:{"update:modelValue":n=>!0,first:n=>!0,prev:n=>!0,next:n=>!0,last:n=>!0},setup(n,e){let{slots:r,emit:S}=e;const D=xi(n,"modelValue"),{t:T,n:p}=oc(),{isRtl:t}=Cs(),{themeClasses:d}=Ma(n),{width:g}=ep(),i=Wr(-1);es(void 0,{scoped:!0});const{resizeRef:M}=Th(C=>{if(!C.length)return;const{target:_,contentRect:k}=C[0],E=_.querySelector(".v-pagination__list > *");if(!E)return;const x=k.width,A=E.offsetWidth+parseFloat(getComputedStyle(E).marginRight)*2;i.value=a(x,A)}),v=cn(()=>parseInt(n.length,10)),f=cn(()=>parseInt(n.start,10)),l=cn(()=>n.totalVisible?parseInt(n.totalVisible,10):i.value>=0?i.value:a(g.value,58));function a(C,_){const k=n.showFirstLastPage?5:3;return Math.max(0,Math.floor(+((C-_*k)/_).toFixed(2)))}const u=cn(()=>{if(v.value<=0||isNaN(v.value)||v.value>Number.MAX_SAFE_INTEGER)return[];if(l.value<=1)return[D.value];if(v.value<=l.value)return Kh(v.value,f.value);const C=l.value%2===0,_=C?l.value/2:Math.floor(l.value/2),k=C?_:_+1,E=v.value-_;if(k-D.value>=0)return[...Kh(Math.max(1,l.value-1),f.value),n.ellipsis,v.value];if(D.value-E>=(C?1:0)){const x=l.value-1,A=v.value-x+f.value;return[f.value,n.ellipsis,...Kh(x,A)]}else{const x=Math.max(1,l.value-3),A=x===1?D.value:D.value-Math.ceil(x/2)+f.value;return[f.value,n.ellipsis,...Kh(x,A),n.ellipsis,v.value]}});function o(C,_,k){C.preventDefault(),D.value=_,k&&S(k,_)}const{refs:s,updateRef:h}=HU();es({VPaginationBtn:{color:Cr(n,"color"),border:Cr(n,"border"),density:Cr(n,"density"),size:Cr(n,"size"),variant:Cr(n,"variant"),rounded:Cr(n,"rounded"),elevation:Cr(n,"elevation")}});const c=cn(()=>u.value.map((C,_)=>{const k=E=>h(E,_);if(typeof C=="string")return{isActive:!1,key:`ellipsis-${_}`,page:C,props:{ref:k,ellipsis:!0,icon:!0,disabled:!0}};{const E=C===D.value;return{isActive:E,key:C,page:p(C),props:{ref:k,ellipsis:!1,icon:!0,disabled:!!n.disabled||+n.length<2,color:E?n.activeColor:n.color,ariaCurrent:E,ariaLabel:T(E?n.currentPageAriaLabel:n.pageAriaLabel,C),onClick:x=>o(x,C)}}}})),m=cn(()=>{const C=!!n.disabled||D.value<=f.value,_=!!n.disabled||D.value>=f.value+v.value-1;return{first:n.showFirstLastPage?{icon:t.value?n.lastIcon:n.firstIcon,onClick:k=>o(k,f.value,"first"),disabled:C,ariaLabel:T(n.firstAriaLabel),ariaDisabled:C}:void 0,prev:{icon:t.value?n.nextIcon:n.prevIcon,onClick:k=>o(k,D.value-1,"prev"),disabled:C,ariaLabel:T(n.previousAriaLabel),ariaDisabled:C},next:{icon:t.value?n.prevIcon:n.nextIcon,onClick:k=>o(k,D.value+1,"next"),disabled:_,ariaLabel:T(n.nextAriaLabel),ariaDisabled:_},last:n.showFirstLastPage?{icon:t.value?n.firstIcon:n.lastIcon,onClick:k=>o(k,f.value+v.value-1,"last"),disabled:_,ariaLabel:T(n.lastAriaLabel),ariaDisabled:_}:void 0}});function w(){var _;const C=D.value-f.value;(_=s.value[C])==null||_.$el.focus()}function y(C){C.key===sx.left&&!n.disabled&&D.value>+n.start?(D.value=D.value-1,Ua(w)):C.key===sx.right&&!n.disabled&&D.valuegt(n.tag,{ref:M,class:["v-pagination",d.value,n.class],style:n.style,role:"navigation","aria-label":T(n.ariaLabel),onKeydown:y,"data-test":"v-pagination-root"},{default:()=>[gt("ul",{class:"v-pagination__list"},[n.showFirstLastPage&>("li",{key:"first",class:"v-pagination__first","data-test":"v-pagination-first"},[r.first?r.first(m.value.first):gt(wl,qr({_as:"VPaginationBtn"},m.value.first),null)]),gt("li",{key:"prev",class:"v-pagination__prev","data-test":"v-pagination-prev"},[r.prev?r.prev(m.value.prev):gt(wl,qr({_as:"VPaginationBtn"},m.value.prev),null)]),c.value.map((C,_)=>gt("li",{key:C.key,class:["v-pagination__item",{"v-pagination__item--is-active":C.isActive}],"data-test":"v-pagination-item"},[r.item?r.item(C):gt(wl,qr({_as:"VPaginationBtn"},C.props),{default:()=>[C.page]})])),gt("li",{key:"next",class:"v-pagination__next","data-test":"v-pagination-next"},[r.next?r.next(m.value.next):gt(wl,qr({_as:"VPaginationBtn"},m.value.next),null)]),n.showFirstLastPage&>("li",{key:"last",class:"v-pagination__last","data-test":"v-pagination-last"},[r.last?r.last(m.value.last):gt(wl,qr({_as:"VPaginationBtn"},m.value.last),null)])])]})),{}}});function WU(n){return Math.floor(Math.abs(n))*Math.sign(n)}const YU=ur({scale:{type:[Number,String],default:.5},...Zr()},"VParallax"),$U=Ar()({name:"VParallax",props:YU(),setup(n,e){let{slots:r}=e;const{intersectionRef:S,isIntersecting:D}=f_(),{resizeRef:T,contentRect:p}=Th(),{height:t}=ep(),d=Vr();wu(()=>{var f;S.value=T.value=(f=d.value)==null?void 0:f.$el});let g;$r(D,f=>{f?(g=t_(S.value),g=g===document.scrollingElement?document:g,g.addEventListener("scroll",v,{passive:!0}),v()):g.removeEventListener("scroll",v)}),kl(()=>{g==null||g.removeEventListener("scroll",v)}),$r(t,v),$r(()=>{var f;return(f=p.value)==null?void 0:f.height},v);const i=cn(()=>1-Zs(+n.scale));let M=-1;function v(){D.value&&(cancelAnimationFrame(M),M=requestAnimationFrame(()=>{var m;const f=((m=d.value)==null?void 0:m.$el).querySelector(".v-img__img");if(!f)return;const l=g instanceof Document?document.documentElement.clientHeight:g.clientHeight,a=g instanceof Document?window.scrollY:g.scrollTop,u=S.value.getBoundingClientRect().top+a,o=p.value.height,s=u+(o-l)/2,h=WU((a-s)*i.value),c=Math.max(1,(i.value*(l-o)+o)/o);f.style.setProperty("transform",`translateY(${h}px) scale(${c})`)}))}return Or(()=>gt(Zd,{class:["v-parallax",{"v-parallax--active":D.value},n.class],style:n.style,ref:d,cover:!0,onLoadstart:v,onLoad:v},r)),{}}}),ZU=ur({...n1({falseIcon:"$radioOff",trueIcon:"$radioOn"})},"VRadio"),XU=Ar()({name:"VRadio",props:ZU(),setup(n,e){let{slots:r}=e;return Or(()=>gt(Xd,qr(n,{class:["v-radio",n.class],style:n.style,type:"radio"}),r)),{}}});const KU=ur({height:{type:[Number,String],default:"auto"},...mf(),...ic(y_(),["multiple"]),trueIcon:{type:bi,default:"$radioOn"},falseIcon:{type:bi,default:"$radioOff"},type:{type:String,default:"radio"}},"VRadioGroup"),JU=Ar()({name:"VRadioGroup",inheritAttrs:!1,props:KU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{attrs:r,slots:S}=e;const D=Js(),T=cn(()=>n.id||`radio-group-${D}`),p=xi(n,"modelValue");return Or(()=>{const[t,d]=Qd(r),[g,i]=Bs.filterProps(n),[M,v]=Xd.filterProps(n),f=S.label?S.label({label:n.label,props:{for:T.value}}):n.label;return gt(Bs,qr({class:["v-radio-group",n.class],style:n.style},t,g,{modelValue:p.value,"onUpdate:modelValue":l=>p.value=l,id:T.value}),{...S,default:l=>{let{id:a,messagesId:u,isDisabled:o,isReadonly:s}=l;return gt(Yr,null,[f&>(C0,{id:a.value},{default:()=>[f]}),gt(aA,qr(M,{id:a.value,"aria-describedby":u.value,defaultsTarget:"VRadio",trueIcon:n.trueIcon,falseIcon:n.falseIcon,type:n.type,disabled:o.value,readonly:s.value,"aria-labelledby":f?a.value:void 0,multiple:!1},d,{modelValue:p.value,"onUpdate:modelValue":h=>p.value=h}),S)])}})}),{}}}),QU=ur({...r1(),...mf(),...KA(),strict:Boolean,modelValue:{type:Array,default:()=>[0,0]}},"VRangeSlider"),eH=Ar()({name:"VRangeSlider",props:QU(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,end:n=>!0,start:n=>!0},setup(n,e){let{slots:r,emit:S}=e;const D=Vr(),T=Vr(),p=Vr(),{rtlClasses:t}=Cs();function d(_){if(!D.value||!T.value)return;const k=Ix(_,D.value.$el,n.direction),E=Ix(_,T.value.$el,n.direction),x=Math.abs(k),A=Math.abs(E);return x_!=null&&_.length?_.map(k=>g.roundValue(k)):[0,0]),{activeThumbRef:M,hasLabels:v,max:f,min:l,mousePressed:a,onSliderMousedown:u,onSliderTouchstart:o,position:s,trackContainerRef:h}=QA({props:n,steps:g,onSliderStart:()=>{S("start",i.value)},onSliderEnd:_=>{var x;let{value:k}=_;const E=M.value===((x=D.value)==null?void 0:x.$el)?[k,i.value[1]]:[i.value[0],k];!n.strict&&E[0]{var A,L,b,R;let{value:k}=_;const[E,x]=i.value;!n.strict&&E===x&&E!==l.value&&(M.value=k>E?(A=T.value)==null?void 0:A.$el:(L=D.value)==null?void 0:L.$el,(b=M.value)==null||b.focus()),M.value===((R=D.value)==null?void 0:R.$el)?i.value=[Math.min(k,x),x]:i.value=[E,Math.max(E,k)]},getActiveThumb:d}),{isFocused:c,focus:m,blur:w}=rd(n),y=cn(()=>s(i.value[0])),C=cn(()=>s(i.value[1]));return Or(()=>{const[_,k]=Bs.filterProps(n),E=!!(n.label||r.label||r.prepend);return gt(Bs,qr({class:["v-slider","v-range-slider",{"v-slider--has-labels":!!r["tick-label"]||v.value,"v-slider--focused":c.value,"v-slider--pressed":a.value,"v-slider--disabled":n.disabled},t.value,n.class],style:n.style,ref:p},_,{focused:c.value}),{...r,prepend:E?x=>{var A,L;return gt(Yr,null,[((A=r.label)==null?void 0:A.call(r,x))??n.label?gt(C0,{class:"v-slider__label",text:n.label},null):void 0,(L=r.prepend)==null?void 0:L.call(r,x)])}:void 0,default:x=>{var b,R;let{id:A,messagesId:L}=x;return gt("div",{class:"v-slider__container",onMousedown:u,onTouchstartPassive:o},[gt("input",{id:`${A.value}_start`,name:n.name||A.value,disabled:!!n.disabled,readonly:!!n.readonly,tabindex:"-1",value:i.value[0]},null),gt("input",{id:`${A.value}_stop`,name:n.name||A.value,disabled:!!n.disabled,readonly:!!n.readonly,tabindex:"-1",value:i.value[1]},null),gt(eS,{ref:h,start:y.value,stop:C.value},{"tick-label":r["tick-label"]}),gt(Rx,{ref:D,"aria-describedby":L.value,focused:c&&M.value===((b=D.value)==null?void 0:b.$el),modelValue:i.value[0],"onUpdate:modelValue":I=>i.value=[I,i.value[1]],onFocus:I=>{var O,z,F,B;m(),M.value=(O=D.value)==null?void 0:O.$el,i.value[0]===i.value[1]&&i.value[1]===l.value&&I.relatedTarget!==((z=T.value)==null?void 0:z.$el)&&((F=D.value)==null||F.$el.blur(),(B=T.value)==null||B.$el.focus())},onBlur:()=>{w(),M.value=void 0},min:l.value,max:i.value[1],position:y.value},{"thumb-label":r["thumb-label"]}),gt(Rx,{ref:T,"aria-describedby":L.value,focused:c&&M.value===((R=T.value)==null?void 0:R.$el),modelValue:i.value[1],"onUpdate:modelValue":I=>i.value=[i.value[0],I],onFocus:I=>{var O,z,F,B;m(),M.value=(O=T.value)==null?void 0:O.$el,i.value[0]===i.value[1]&&i.value[0]===f.value&&I.relatedTarget!==((z=D.value)==null?void 0:z.$el)&&((F=T.value)==null||F.$el.blur(),(B=D.value)==null||B.$el.focus())},onBlur:()=>{w(),M.value=void 0},min:i.value[0],max:f.value,position:C.value},{"thumb-label":r["thumb-label"]})])}})}),{}}});const tH=ur({name:String,itemAriaLabel:{type:String,default:"$vuetify.rating.ariaLabel.item"},activeColor:String,color:String,clearable:Boolean,disabled:Boolean,emptyIcon:{type:bi,default:"$ratingEmpty"},fullIcon:{type:bi,default:"$ratingFull"},halfIncrements:Boolean,hover:Boolean,length:{type:[Number,String],default:5},readonly:Boolean,modelValue:{type:[Number,String],default:0},itemLabels:Array,itemLabelPosition:{type:String,default:"top",validator:n=>["top","bottom"].includes(n)},ripple:Boolean,...Zr(),...ds(),...pf(),...Si(),...oa()},"VRating"),nH=Ar()({name:"VRating",props:tH(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{t:S}=oc(),{themeClasses:D}=Ma(n),T=xi(n,"modelValue"),p=cn(()=>Zs(parseFloat(T.value),0,+n.length)),t=cn(()=>Kh(Number(n.length),1)),d=cn(()=>t.value.flatMap(a=>n.halfIncrements?[a-.5,a]:[a])),g=Wr(-1),i=cn(()=>d.value.map(a=>{const u=n.hover&&g.value>-1,o=p.value>=a,s=g.value>=a,c=(u?s:o)?n.fullIcon:n.emptyIcon,m=n.activeColor??n.color,w=o||s?m:n.color;return{isFilled:o,isHovered:s,icon:c,color:w}})),M=cn(()=>[0,...d.value].map(a=>{function u(){g.value=a}function o(){g.value=-1}function s(){n.disabled||n.readonly||(T.value=p.value===a&&n.clearable?0:a)}return{onMouseenter:n.hover?u:void 0,onMouseleave:n.hover?o:void 0,onClick:s}})),v=cn(()=>n.name??`v-rating-${Js()}`);function f(a){var C,_;let{value:u,index:o,showStar:s=!0}=a;const{onMouseenter:h,onMouseleave:c,onClick:m}=M.value[o+1],w=`${v.value}-${String(u).replace(".","-")}`,y={color:(C=i.value[o])==null?void 0:C.color,density:n.density,disabled:n.disabled,icon:(_=i.value[o])==null?void 0:_.icon,ripple:n.ripple,size:n.size,variant:"plain"};return gt(Yr,null,[gt("label",{for:w,class:{"v-rating__item--half":n.halfIncrements&&u%1>0,"v-rating__item--full":n.halfIncrements&&u%1===0},onMouseenter:h,onMouseleave:c,onClick:m},[gt("span",{class:"v-rating__hidden"},[S(n.itemAriaLabel,u,n.length)]),s?r.item?r.item({...i.value[o],props:y,value:u,index:o,rating:p.value}):gt(wl,qr({"aria-label":S(n.itemAriaLabel,u,n.length)},y),null):void 0]),gt("input",{class:"v-rating__hidden",name:v.value,id:w,type:"radio",value:u,checked:p.value===u,tabindex:-1,readonly:n.readonly,disabled:n.disabled},null)])}function l(a){return r["item-label"]?r["item-label"](a):a.label?gt("span",null,[a.label]):gt("span",null,[ia(" ")])}return Or(()=>{var u;const a=!!((u=n.itemLabels)!=null&&u.length)||r["item-label"];return gt(n.tag,{class:["v-rating",{"v-rating--hover":n.hover,"v-rating--readonly":n.readonly},D.value,n.class],style:n.style},{default:()=>[gt(f,{value:0,index:-1,showStar:!1},null),t.value.map((o,s)=>{var h,c;return gt("div",{class:"v-rating__wrapper"},[a&&n.itemLabelPosition==="top"?l({value:o,index:s,label:(h=n.itemLabels)==null?void 0:h[s]}):void 0,gt("div",{class:"v-rating__item"},[n.halfIncrements?gt(Yr,null,[gt(f,{value:o-.5,index:s*2},null),gt(f,{value:o,index:s*2+1},null)]):gt(f,{value:o,index:s},null)]),a&&n.itemLabelPosition==="bottom"?l({value:o,index:s,label:(c=n.itemLabels)==null?void 0:c[s]}):void 0])})]})}),{}}});function fT(n){const r=Math.abs(n);return Math.sign(n)*(r/((1/.501-2)*(1-r)+1))}function dT(n){let{selectedElement:e,containerSize:r,contentSize:S,isRtl:D,currentScrollOffset:T,isHorizontal:p}=n;const t=p?e.clientWidth:e.clientHeight,d=p?e.offsetLeft:e.offsetTop,g=D&&p?S-d-t:d,i=r+T,M=t+g,v=t*.4;return g<=T?T=Math.max(g-v,0):i<=M&&(T=Math.min(T-(i-M-v),S-r)),T}function rH(n){let{selectedElement:e,containerSize:r,contentSize:S,isRtl:D,isHorizontal:T}=n;const p=T?e.clientWidth:e.clientHeight,t=T?e.offsetLeft:e.offsetTop,d=D&&T?S-t-p/2-r/2:t+p/2-r/2;return Math.min(S-r,Math.max(0,d))}const gS=Symbol.for("vuetify:v-slide-group"),vS=ur({centerActive:Boolean,direction:{type:String,default:"horizontal"},symbol:{type:null,default:gS},nextIcon:{type:bi,default:"$next"},prevIcon:{type:bi,default:"$prev"},showArrows:{type:[Boolean,String],validator:n=>typeof n=="boolean"||["always","desktop","mobile"].includes(n)},...Zr(),...Si(),...w0({selectedClass:"v-slide-group-item--active"})},"VSlideGroup"),Dx=Ar()({name:"VSlideGroup",props:vS(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{isRtl:S}=Cs(),{mobile:D}=ep(),T=ip(n,n.symbol),p=Wr(!1),t=Wr(0),d=Wr(0),g=Wr(0),i=cn(()=>n.direction==="horizontal"),{resizeRef:M,contentRect:v}=Th(),{resizeRef:f,contentRect:l}=Th(),a=cn(()=>T.selected.value.length?T.items.value.findIndex(F=>F.id===T.selected.value[0]):-1),u=cn(()=>T.selected.value.length?T.items.value.findIndex(F=>F.id===T.selected.value[T.selected.value.length-1]):-1);if(to){let F=-1;$r(()=>[T.selected.value,v.value,l.value,i.value],()=>{cancelAnimationFrame(F),F=requestAnimationFrame(()=>{if(v.value&&l.value){const B=i.value?"width":"height";d.value=v.value[B],g.value=l.value[B],p.value=d.value+1=0&&f.value){const B=f.value.children[u.value];a.value===0||!p.value?t.value=0:n.centerActive?t.value=rH({selectedElement:B,containerSize:d.value,contentSize:g.value,isRtl:S.value,isHorizontal:i.value}):p.value&&(t.value=dT({selectedElement:B,containerSize:d.value,contentSize:g.value,isRtl:S.value,currentScrollOffset:t.value,isHorizontal:i.value}))}})})}const o=Wr(!1);let s=0,h=0;function c(F){const B=i.value?"clientX":"clientY";h=(S.value&&i.value?-1:1)*t.value,s=F.touches[0][B],o.value=!0}function m(F){if(!p.value)return;const B=i.value?"clientX":"clientY",N=S.value&&i.value?-1:1;t.value=N*(h+s-F.touches[0][B])}function w(F){const B=g.value-d.value;t.value<0||!p.value?t.value=0:t.value>=B&&(t.value=B),o.value=!1}function y(){M.value&&(M.value[i.value?"scrollLeft":"scrollTop"]=0)}const C=Wr(!1);function _(F){if(C.value=!0,!(!p.value||!f.value)){for(const B of F.composedPath())for(const N of f.value.children)if(N===B){t.value=dT({selectedElement:N,containerSize:d.value,contentSize:g.value,isRtl:S.value,currentScrollOffset:t.value,isHorizontal:i.value});return}}}function k(F){C.value=!1}function E(F){var B;!C.value&&!(F.relatedTarget&&((B=f.value)!=null&&B.contains(F.relatedTarget)))&&A()}function x(F){f.value&&(i.value?F.key==="ArrowRight"?A(S.value?"prev":"next"):F.key==="ArrowLeft"&&A(S.value?"next":"prev"):F.key==="ArrowDown"?A("next"):F.key==="ArrowUp"&&A("prev"),F.key==="Home"?A("first"):F.key==="End"&&A("last"))}function A(F){var B,N,W,j,$;if(f.value)if(!F)(B=Dm(f.value)[0])==null||B.focus();else if(F==="next"){const U=(N=f.value.querySelector(":focus"))==null?void 0:N.nextElementSibling;U?U.focus():A("first")}else if(F==="prev"){const U=(W=f.value.querySelector(":focus"))==null?void 0:W.previousElementSibling;U?U.focus():A("last")}else F==="first"?(j=f.value.firstElementChild)==null||j.focus():F==="last"&&(($=f.value.lastElementChild)==null||$.focus())}function L(F){const B=t.value+(F==="prev"?-1:1)*d.value;t.value=Zs(B,0,g.value-d.value)}const b=cn(()=>{let F=t.value>g.value-d.value?-(g.value-d.value)+fT(g.value-d.value-t.value):-t.value;t.value<=0&&(F=fT(-t.value));const B=S.value&&i.value?-1:1;return{transform:`translate${i.value?"X":"Y"}(${B*F}px)`,transition:o.value?"none":"",willChange:o.value?"transform":""}}),R=cn(()=>({next:T.next,prev:T.prev,select:T.select,isSelected:T.isSelected})),I=cn(()=>{switch(n.showArrows){case"always":return!0;case"desktop":return!D.value;case!0:return p.value||Math.abs(t.value)>0;case"mobile":return D.value||p.value||Math.abs(t.value)>0;default:return!D.value&&(p.value||Math.abs(t.value)>0)}}),O=cn(()=>Math.abs(t.value)>0),z=cn(()=>g.value>Math.abs(t.value)+d.value);return Or(()=>gt(n.tag,{class:["v-slide-group",{"v-slide-group--vertical":!i.value,"v-slide-group--has-affixes":I.value,"v-slide-group--is-overflowing":p.value},n.class],style:n.style,tabindex:C.value||T.selected.value.length?-1:0,onFocus:E},{default:()=>{var F,B,N;return[I.value&>("div",{key:"prev",class:["v-slide-group__prev",{"v-slide-group__prev--disabled":!O.value}],onClick:()=>L("prev")},[((F=r.prev)==null?void 0:F.call(r,R.value))??gt(gx,null,{default:()=>[gt(ja,{icon:S.value?n.nextIcon:n.prevIcon},null)]})]),gt("div",{key:"container",ref:M,class:"v-slide-group__container",onScroll:y},[gt("div",{ref:f,class:"v-slide-group__content",style:b.value,onTouchstartPassive:c,onTouchmovePassive:m,onTouchendPassive:w,onFocusin:_,onFocusout:k,onKeydown:x},[(B=r.default)==null?void 0:B.call(r,R.value)])]),I.value&>("div",{key:"next",class:["v-slide-group__next",{"v-slide-group__next--disabled":!z.value}],onClick:()=>L("next")},[((N=r.next)==null?void 0:N.call(r,R.value))??gt(gx,null,{default:()=>[gt(ja,{icon:S.value?n.prevIcon:n.nextIcon},null)]})])]}})),{selected:T.selected,scrollTo:L,scrollOffset:t,focus:A}}}),iH=Ar()({name:"VSlideGroupItem",props:T0(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const S=k0(n,gS);return()=>{var D;return(D=r.default)==null?void 0:D.call(r,{isSelected:S.isSelected.value,select:S.select,toggle:S.toggle,selectedClass:S.selectedClass.value})}}});const aH=ur({multiLine:Boolean,timeout:{type:[Number,String],default:5e3},vertical:Boolean,...ed({location:"bottom"}),...A0(),...uo(),...cc(),...oa(),...ic(cg({transition:"v-snackbar-transition"}),["persistent","noClickAnimation","scrim","scrollStrategy"])},"VSnackbar"),oH=Ar()({name:"VSnackbar",props:aH(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const S=xi(n,"modelValue"),{locationStyles:D}=td(n),{positionClasses:T}=S0(n),{scopeId:p}=E0(),{themeClasses:t}=Ma(n),{colorClasses:d,colorStyles:g,variantClasses:i}=rp(n),{roundedClasses:M}=Eo(n),v=Vr();$r(S,l),$r(()=>n.timeout,l),Ks(()=>{S.value&&l()});let f=-1;function l(){window.clearTimeout(f);const u=Number(n.timeout);!S.value||u===-1||(f=window.setTimeout(()=>{S.value=!1},u))}function a(){window.clearTimeout(f)}return Or(()=>{const[u]=of.filterProps(n);return gt(of,qr({ref:v,class:["v-snackbar",{"v-snackbar--active":S.value,"v-snackbar--multi-line":n.multiLine&&!n.vertical,"v-snackbar--vertical":n.vertical},T.value,n.class],style:n.style},u,{modelValue:S.value,"onUpdate:modelValue":o=>S.value=o,contentProps:qr({class:["v-snackbar__wrapper",t.value,d.value,M.value,i.value],style:[D.value,g.value],onPointerenter:a,onPointerleave:l},u.contentProps),persistent:!0,noClickAnimation:!0,scrim:!1,scrollStrategy:"none",_disableGlobalStack:!0},p),{default:()=>[np(!1,"v-snackbar"),r.default&>("div",{class:"v-snackbar__content",role:"status","aria-live":"polite"},[r.default()]),r.actions&>(Fa,{defaults:{VBtn:{variant:"text",ripple:!1}}},{default:()=>[gt("div",{class:"v-snackbar__actions"},[r.actions()])]})],activator:r.activator})}),Vc({},v)}});const sH=ur({indeterminate:Boolean,inset:Boolean,flat:Boolean,loading:{type:[Boolean,String],default:!1},...mf(),...n1()},"VSwitch"),lH=Ar()({name:"VSwitch",inheritAttrs:!1,props:sH(),emits:{"update:focused":n=>!0,"update:modelValue":()=>!0,"update:indeterminate":n=>!0},setup(n,e){let{attrs:r,slots:S}=e;const D=xi(n,"indeterminate"),T=xi(n,"modelValue"),{loaderClasses:p}=t1(n),{isFocused:t,focus:d,blur:g}=rd(n),i=Vr(),M=cn(()=>typeof n.loading=="string"&&n.loading!==""?n.loading:n.color),v=Js(),f=cn(()=>n.id||`switch-${v}`);function l(){D.value&&(D.value=!1)}function a(u){var o,s;u.stopPropagation(),u.preventDefault(),(s=(o=i.value)==null?void 0:o.input)==null||s.click()}return Or(()=>{const[u,o]=Qd(r),[s,h]=Bs.filterProps(n),[c,m]=Xd.filterProps(n);return gt(Bs,qr({class:["v-switch",{"v-switch--inset":n.inset},{"v-switch--indeterminate":D.value},p.value,n.class],style:n.style},u,s,{id:f.value,focused:t.value}),{...S,default:w=>{let{id:y,messagesId:C,isDisabled:_,isReadonly:k,isValid:E}=w;return gt(Xd,qr({ref:i},c,{modelValue:T.value,"onUpdate:modelValue":[x=>T.value=x,l],id:y.value,"aria-describedby":C.value,type:"checkbox","aria-checked":D.value?"mixed":void 0,disabled:_.value,readonly:k.value,onFocus:d,onBlur:g},o),{...S,default:x=>{let{backgroundColorClasses:A,backgroundColorStyles:L}=x;return gt("div",{class:["v-switch__track",...A.value],style:L.value,onClick:a},null)},input:x=>{let{inputNode:A,icon:L,backgroundColorClasses:b,backgroundColorStyles:R}=x;return gt(Yr,null,[A,gt("div",{class:["v-switch__thumb",{"v-switch__thumb--filled":L||n.loading},n.inset?void 0:b.value],style:n.inset?void 0:R.value},[gt(s_,null,{default:()=>[n.loading?gt(g_,{name:"v-switch",active:!0,color:E.value===!1?void 0:M.value},{default:I=>S.loader?S.loader(I):gt(d_,{active:I.isActive,color:I.color,indeterminate:!0,size:"16",width:"2"},null)}):L&>(ja,{key:L,icon:L,size:"x-small"},null)]})])])}})}})}),{}}});const uH=ur({color:String,height:[Number,String],window:Boolean,...Zr(),...fs(),...x0(),...uo(),...Si(),...oa()},"VSystemBar"),cH=Ar()({name:"VSystemBar",props:uH(),setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ma(n),{backgroundColorClasses:D,backgroundColorStyles:T}=Oo(Cr(n,"color")),{elevationClasses:p}=Vs(n),{roundedClasses:t}=Eo(n),{ssrBootStyles:d}=tp(),g=cn(()=>n.height??(n.window?32:24)),{layoutItemStyles:i}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:Wr("top"),layoutSize:g,elementSize:g,active:cn(()=>!0),absolute:Cr(n,"absolute")});return Or(()=>gt(n.tag,{class:["v-system-bar",{"v-system-bar--window":n.window},S.value,D.value,p.value,t.value,n.class],style:[T.value,i.value,d.value,n.style]},r)),{}}});const yS=Symbol.for("vuetify:v-tabs"),hH=ur({fixed:Boolean,sliderColor:String,hideSlider:Boolean,direction:{type:String,default:"horizontal"},...ic(v_({selectedClass:"v-tab--selected",variant:"text"}),["active","block","flat","location","position","symbol"])},"VTab"),bS=Ar()({name:"VTab",props:hH(),setup(n,e){let{slots:r,attrs:S}=e;const{textColorClasses:D,textColorStyles:T}=Xs(n,"sliderColor"),p=cn(()=>n.direction==="horizontal"),t=Wr(!1),d=Vr(),g=Vr();function i(M){var f,l;let{value:v}=M;if(t.value=v,v){const a=(l=(f=d.value)==null?void 0:f.$el.parentElement)==null?void 0:l.querySelector(".v-tab--selected .v-tab__slider"),u=g.value;if(!a||!u)return;const o=getComputedStyle(a).color,s=a.getBoundingClientRect(),h=u.getBoundingClientRect(),c=p.value?"x":"y",m=p.value?"X":"Y",w=p.value?"right":"bottom",y=p.value?"width":"height",C=s[c],_=h[c],k=C>_?s[w]-h[w]:s[c]-h[c],E=Math.sign(k)>0?p.value?"right":"bottom":Math.sign(k)<0?p.value?"left":"top":"center",A=(Math.abs(k)+(Math.sign(k)<0?s[y]:h[y]))/Math.max(s[y],h[y])||0,L=s[y]/h[y]||0,b=1.5;Dd(u,{backgroundColor:[o,"currentcolor"],transform:[`translate${m}(${k}px) scale${m}(${L})`,`translate${m}(${k/b}px) scale${m}(${(A-1)/b+1})`,"none"],transformOrigin:Array(3).fill(E)},{duration:225,easing:zm})}}return Or(()=>{const[M]=wl.filterProps(n);return gt(wl,qr({symbol:yS,ref:d,class:["v-tab",n.class],style:n.style,tabindex:t.value?0:-1,role:"tab","aria-selected":String(t.value),active:!1},M,S,{block:n.fixed,maxWidth:n.fixed?300:void 0,"onGroup:selected":i}),{default:()=>{var v;return[((v=r.default)==null?void 0:v.call(r))??n.text,!n.hideSlider&>("div",{ref:g,class:["v-tab__slider",D.value],style:T.value},null)]}})}),{}}});function fH(n){return n?n.map(e=>typeof e=="string"?{title:e,value:e}:e):[]}const dH=ur({alignTabs:{type:String,default:"start"},color:String,fixedTabs:Boolean,items:{type:Array,default:()=>[]},stacked:Boolean,bgColor:String,grow:Boolean,height:{type:[Number,String],default:void 0},hideSlider:Boolean,sliderColor:String,...vS({mandatory:"force"}),...ds(),...Si()},"VTabs"),pH=Ar()({name:"VTabs",props:dH(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const S=xi(n,"modelValue"),D=cn(()=>fH(n.items)),{densityClasses:T}=Qs(n),{backgroundColorClasses:p,backgroundColorStyles:t}=Oo(Cr(n,"bgColor"));return es({VTab:{color:Cr(n,"color"),direction:Cr(n,"direction"),stacked:Cr(n,"stacked"),fixed:Cr(n,"fixedTabs"),sliderColor:Cr(n,"sliderColor"),hideSlider:Cr(n,"hideSlider")}}),Or(()=>{const[d]=Dx.filterProps(n);return gt(Dx,qr(d,{modelValue:S.value,"onUpdate:modelValue":g=>S.value=g,class:["v-tabs",`v-tabs--${n.direction}`,`v-tabs--align-tabs-${n.alignTabs}`,{"v-tabs--fixed-tabs":n.fixedTabs,"v-tabs--grow":n.grow,"v-tabs--stacked":n.stacked},T.value,p.value,n.class],style:[{"--v-tabs-height":Qr(n.height)},t.value,n.style],role:"tablist",symbol:yS}),{default:()=>[r.default?r.default():D.value.map(g=>gt(bS,qr(g,{key:g.title}),null))]})}),{}}});const mH=ur({fixedHeader:Boolean,fixedFooter:Boolean,height:[Number,String],hover:Boolean,...Zr(),...ds(),...Si(),...oa()},"VTable"),gH=Ar()({name:"VTable",props:mH(),setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ma(n),{densityClasses:D}=Qs(n);return Or(()=>gt(n.tag,{class:["v-table",{"v-table--fixed-height":!!n.height,"v-table--fixed-header":n.fixedHeader,"v-table--fixed-footer":n.fixedFooter,"v-table--has-top":!!r.top,"v-table--has-bottom":!!r.bottom,"v-table--hover":n.hover},S.value,D.value,n.class],style:n.style},{default:()=>{var T,p,t;return[(T=r.top)==null?void 0:T.call(r),r.default?gt("div",{class:"v-table__wrapper",style:{height:Qr(n.height)}},[gt("table",null,[r.default()])]):(p=r.wrapper)==null?void 0:p.call(r),(t=r.bottom)==null?void 0:t.call(r)]}})),{}}});const vH=ur({autoGrow:Boolean,autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,noResize:Boolean,rows:{type:[Number,String],default:5,validator:n=>!isNaN(parseFloat(n))},maxRows:{type:[Number,String],validator:n=>!isNaN(parseFloat(n))},suffix:String,modelModifiers:Object,...mf(),...u1()},"VTextarea"),yH=Ar()({name:"VTextarea",directives:{Intersect:og},inheritAttrs:!1,props:vH(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:S,slots:D}=e;const T=xi(n,"modelValue"),{isFocused:p,focus:t,blur:d}=rd(n),g=cn(()=>typeof n.counterValue=="function"?n.counterValue(T.value):(T.value||"").toString().length),i=cn(()=>{if(r.maxlength)return r.maxlength;if(!(!n.counter||typeof n.counter!="number"&&typeof n.counter!="string"))return n.counter});function M(E,x){var A,L;!n.autofocus||!E||(L=(A=x[0].target)==null?void 0:A.focus)==null||L.call(A)}const v=Vr(),f=Vr(),l=Wr(""),a=Vr(),u=cn(()=>n.persistentPlaceholder||p.value||n.active);function o(){var E;a.value!==document.activeElement&&((E=a.value)==null||E.focus()),p.value||t()}function s(E){o(),S("click:control",E)}function h(E){S("mousedown:control",E)}function c(E){E.stopPropagation(),o(),Ua(()=>{T.value="",K2(n["onClick:clear"],E)})}function m(E){var A;const x=E.target;if(T.value=x.value,(A=n.modelModifiers)!=null&&A.trim){const L=[x.selectionStart,x.selectionEnd];Ua(()=>{x.selectionStart=L[0],x.selectionEnd=L[1]})}}const w=Vr(),y=Vr(+n.rows),C=cn(()=>["plain","underlined"].includes(n.variant));wu(()=>{n.autoGrow||(y.value=+n.rows)});function _(){n.autoGrow&&Ua(()=>{if(!w.value||!f.value)return;const E=getComputedStyle(w.value),x=getComputedStyle(f.value.$el),A=parseFloat(E.getPropertyValue("--v-field-padding-top"))+parseFloat(E.getPropertyValue("--v-input-padding-top"))+parseFloat(E.getPropertyValue("--v-field-padding-bottom")),L=w.value.scrollHeight,b=parseFloat(E.lineHeight),R=Math.max(parseFloat(n.rows)*b+A,parseFloat(x.getPropertyValue("--v-input-control-height"))),I=parseFloat(n.maxRows)*b+A||1/0,O=Zs(L??0,R,I);y.value=Math.floor((O-A)/b),l.value=Qr(O)})}Ks(_),$r(T,_),$r(()=>n.rows,_),$r(()=>n.maxRows,_),$r(()=>n.density,_);let k;return $r(w,E=>{E?(k=new ResizeObserver(_),k.observe(w.value)):k==null||k.disconnect()}),kl(()=>{k==null||k.disconnect()}),Or(()=>{const E=!!(D.counter||n.counter||n.counterValue),x=!!(E||D.details),[A,L]=Qd(r),[{modelValue:b,...R}]=Bs.filterProps(n),[I]=w_(n);return gt(Bs,qr({ref:v,modelValue:T.value,"onUpdate:modelValue":O=>T.value=O,class:["v-textarea v-text-field",{"v-textarea--prefixed":n.prefix,"v-textarea--suffixed":n.suffix,"v-text-field--prefixed":n.prefix,"v-text-field--suffixed":n.suffix,"v-textarea--auto-grow":n.autoGrow,"v-textarea--no-resize":n.noResize||n.autoGrow,"v-text-field--plain-underlined":C.value},n.class],style:n.style},A,R,{centerAffix:y.value===1&&!C.value,focused:p.value}),{...D,default:O=>{let{isDisabled:z,isDirty:F,isReadonly:B,isValid:N}=O;return gt(hg,qr({ref:f,style:{"--v-textarea-control-height":l.value},onClick:s,onMousedown:h,"onClick:clear":c,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"]},I,{active:u.value||F.value,centerAffix:y.value===1&&!C.value,dirty:F.value||n.dirty,disabled:z.value,focused:p.value,error:N.value===!1}),{...D,default:W=>{let{props:{class:j,...$}}=W;return gt(Yr,null,[n.prefix&>("span",{class:"v-text-field__prefix"},[n.prefix]),Co(gt("textarea",qr({ref:a,class:j,value:T.value,onInput:m,autofocus:n.autofocus,readonly:B.value,disabled:z.value,placeholder:n.placeholder,rows:n.rows,name:n.name,onFocus:o,onBlur:d},$,L),null),[[Tu("intersect"),{handler:M},null,{once:!0}]]),n.autoGrow&&Co(gt("textarea",{class:[j,"v-textarea__sizer"],id:`${$.id}-sizer`,"onUpdate:modelValue":U=>T.value=U,ref:w,readonly:!0,"aria-hidden":"true"},null),[[S7,T.value]]),n.suffix&>("span",{class:"v-text-field__suffix"},[n.suffix])])}})},details:x?O=>{var z;return gt(Yr,null,[(z=D.details)==null?void 0:z.call(D,O),E&>(Yr,null,[gt("span",null,null),gt(l1,{active:n.persistentCounter||p.value,value:g.value,max:i.value},D.counter)])])}:void 0})}),Vc({},v,f,a)}});const bH=ur({withBackground:Boolean,...Zr(),...oa(),...Si()},"VThemeProvider"),xH=Ar()({name:"VThemeProvider",props:bH(),setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ma(n);return()=>{var D;return n.withBackground?gt(n.tag,{class:["v-theme-provider",S.value,n.class],style:n.style},{default:()=>{var T;return[(T=r.default)==null?void 0:T.call(r)]}}):(D=r.default)==null?void 0:D.call(r)}}});const _H=ur({align:{type:String,default:"center",validator:n=>["center","start"].includes(n)},direction:{type:String,default:"vertical",validator:n=>["vertical","horizontal"].includes(n)},justify:{type:String,default:"auto",validator:n=>["auto","center"].includes(n)},side:{type:String,validator:n=>n==null||["start","end"].includes(n)},lineInset:{type:[String,Number],default:0},lineThickness:{type:[String,Number],default:2},lineColor:String,truncateLine:{type:String,validator:n=>["start","end","both"].includes(n)},...Zr(),...ds(),...Si(),...oa()},"VTimeline"),wH=Ar()({name:"VTimeline",props:_H(),setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ma(n),{densityClasses:D}=Qs(n),{rtlClasses:T}=Cs();es({VTimelineDivider:{lineColor:Cr(n,"lineColor")},VTimelineItem:{density:Cr(n,"density"),lineInset:Cr(n,"lineInset")}});const p=cn(()=>{const d=n.side?n.side:n.density!=="default"?"end":null;return d&&`v-timeline--side-${d}`}),t=cn(()=>{const d=["v-timeline--truncate-line-start","v-timeline--truncate-line-end"];switch(n.truncateLine){case"both":return d;case"start":return d[0];case"end":return d[1];default:return null}});return Or(()=>gt(n.tag,{class:["v-timeline",`v-timeline--${n.direction}`,`v-timeline--align-${n.align}`,`v-timeline--justify-${n.justify}`,t.value,{"v-timeline--inset-line":!!n.lineInset},S.value,D.value,p.value,T.value,n.class],style:[{"--v-timeline-line-thickness":Qr(n.lineThickness)},n.style]},r)),{}}}),TH=ur({dotColor:String,fillDot:Boolean,hideDot:Boolean,icon:bi,iconColor:String,lineColor:String,...Zr(),...uo(),...pf(),...fs()},"VTimelineDivider"),kH=Ar()({name:"VTimelineDivider",props:TH(),setup(n,e){let{slots:r}=e;const{sizeClasses:S,sizeStyles:D}=M0(n,"v-timeline-divider__dot"),{backgroundColorStyles:T,backgroundColorClasses:p}=Oo(Cr(n,"dotColor")),{roundedClasses:t}=Eo(n,"v-timeline-divider__dot"),{elevationClasses:d}=Vs(n),{backgroundColorClasses:g,backgroundColorStyles:i}=Oo(Cr(n,"lineColor"));return Or(()=>gt("div",{class:["v-timeline-divider",{"v-timeline-divider--fill-dot":n.fillDot},n.class],style:n.style},[gt("div",{class:["v-timeline-divider__before",g.value],style:i.value},null),!n.hideDot&>("div",{key:"dot",class:["v-timeline-divider__dot",d.value,t.value,S.value],style:D.value},[gt("div",{class:["v-timeline-divider__inner-dot",p.value,t.value],style:T.value},[r.default?gt(Fa,{key:"icon-defaults",disabled:!n.icon,defaults:{VIcon:{color:n.iconColor,icon:n.icon,size:n.size}}},r.default):gt(ja,{key:"icon",color:n.iconColor,icon:n.icon,size:n.size},null)])]),gt("div",{class:["v-timeline-divider__after",g.value],style:i.value},null)])),{}}}),MH=ur({density:String,dotColor:String,fillDot:Boolean,hideDot:Boolean,hideOpposite:{type:Boolean,default:void 0},icon:bi,iconColor:String,lineInset:[Number,String],...Zr(),...sc(),...fs(),...uo(),...pf(),...Si()},"VTimelineItem"),AH=Ar()({name:"VTimelineItem",props:MH(),setup(n,e){let{slots:r}=e;const{dimensionStyles:S}=lc(n),D=Wr(0),T=Vr();return $r(T,p=>{var t;p&&(D.value=((t=p.$el.querySelector(".v-timeline-divider__dot"))==null?void 0:t.getBoundingClientRect().width)??0)},{flush:"post"}),Or(()=>{var p,t;return gt("div",{class:["v-timeline-item",{"v-timeline-item--fill-dot":n.fillDot},n.class],style:[{"--v-timeline-dot-size":Qr(D.value),"--v-timeline-line-inset":n.lineInset?`calc(var(--v-timeline-dot-size) / 2 + ${Qr(n.lineInset)})`:Qr(0)},n.style]},[gt("div",{class:"v-timeline-item__body",style:S.value},[(p=r.default)==null?void 0:p.call(r)]),gt(kH,{ref:T,hideDot:n.hideDot,icon:n.icon,iconColor:n.iconColor,size:n.size,elevation:n.elevation,dotColor:n.dotColor,fillDot:n.fillDot,rounded:n.rounded},{default:r.icon}),n.density!=="compact"&>("div",{class:"v-timeline-item__opposite"},[!n.hideOpposite&&((t=r.opposite)==null?void 0:t.call(r))])])}),{}}}),SH=ur({...Zr(),...cc({variant:"text"})},"VToolbarItems"),CH=Ar()({name:"VToolbarItems",props:SH(),setup(n,e){let{slots:r}=e;return es({VBtn:{color:Cr(n,"color"),height:"inherit",variant:Cr(n,"variant")}}),Or(()=>{var S;return gt("div",{class:["v-toolbar-items",n.class],style:n.style},[(S=r.default)==null?void 0:S.call(r)])}),{}}});const EH=ur({id:String,text:String,...ic(cg({closeOnBack:!1,location:"end",locationStrategy:"connected",eager:!0,minWidth:0,offset:10,openOnClick:!1,openOnHover:!0,origin:"auto",scrim:!1,scrollStrategy:"reposition",transition:!1}),["absolute","persistent"])},"VTooltip"),LH=Ar()({name:"VTooltip",props:EH(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const S=xi(n,"modelValue"),{scopeId:D}=E0(),T=Js(),p=cn(()=>n.id||`v-tooltip-${T}`),t=Vr(),d=cn(()=>n.location.split(" ").length>1?n.location:n.location+" center"),g=cn(()=>n.origin==="auto"||n.origin==="overlap"||n.origin.split(" ").length>1||n.location.split(" ").length>1?n.origin:n.origin+" center"),i=cn(()=>n.transition?n.transition:S.value?"scale-transition":"fade-transition"),M=cn(()=>qr({"aria-describedby":p.value},n.activatorProps));return Or(()=>{const[v]=of.filterProps(n);return gt(of,qr({ref:t,class:["v-tooltip",n.class],style:n.style,id:p.value},v,{modelValue:S.value,"onUpdate:modelValue":f=>S.value=f,transition:i.value,absolute:!0,location:d.value,origin:g.value,persistent:!0,role:"tooltip",activatorProps:M.value,_disableGlobalStack:!0},D),{activator:r.activator,default:function(){var u;for(var f=arguments.length,l=new Array(f),a=0;a!0},setup(n,e){let{slots:r}=e;const S=hA(n,"validation");return()=>{var D;return(D=r.default)==null?void 0:D.call(r,S)}}}),RH=Object.freeze(Object.defineProperty({__proto__:null,VAlert:sN,VAlertTitle:rA,VApp:vB,VAppBar:FB,VAppBarNavIcon:rN,VAppBarTitle:iN,VAutocomplete:MV,VAvatar:Zf,VBadge:SV,VBanner:LV,VBannerActions:FA,VBannerText:BA,VBottomNavigation:RV,VBreadcrumbs:zV,VBreadcrumbsDivider:NA,VBreadcrumbsItem:VA,VBtn:wl,VBtnGroup:bx,VBtnToggle:HB,VCard:NV,VCardActions:jA,VCardItem:GA,VCardSubtitle:UA,VCardText:qA,VCardTitle:HA,VCarousel:$V,VCarouselItem:XV,VCheckbox:mN,VCheckboxBtn:h0,VChip:ug,VChipGroup:yN,VClassIcon:a_,VCode:KV,VCol:lU,VColorPicker:Nj,VCombobox:Uj,VComponentIcon:dx,VContainer:iU,VCounter:l1,VDefaultsProvider:Fa,VDialog:Gj,VDialogBottomTransition:_B,VDialogTopTransition:wB,VDialogTransition:Qy,VDivider:wA,VExpandTransition:e1,VExpandXTransition:u_,VExpansionPanel:Xj,VExpansionPanelText:nS,VExpansionPanelTitle:iS,VExpansionPanels:Yj,VFabTransition:xB,VFadeTransition:gx,VField:hg,VFieldLabel:um,VFileInput:Jj,VFooter:eU,VForm:nU,VHover:yU,VIcon:ja,VImg:Zd,VInput:Bs,VItem:_U,VItemGroup:xU,VKbd:wU,VLabel:C0,VLayout:kU,VLayoutItem:AU,VLazy:CU,VLigatureIcon:LF,VList:a1,VListGroup:Tx,VListImg:BN,VListItem:af,VListItemAction:VN,VListItemMedia:UN,VListItemSubtitle:bA,VListItemTitle:xA,VListSubheader:_A,VLocaleProvider:LU,VMain:RU,VMenu:s1,VMessages:lA,VNavigationDrawer:jU,VNoSsr:UU,VOverlay:of,VPagination:qU,VParallax:$U,VProgressCircular:d_,VProgressLinear:p_,VRadio:XU,VRadioGroup:JU,VRangeSlider:eH,VRating:nH,VResponsive:vx,VRow:mU,VScaleTransition:s_,VScrollXReverseTransition:kB,VScrollXTransition:TB,VScrollYReverseTransition:AB,VScrollYTransition:MB,VSelect:xV,VSelectionControl:Xd,VSelectionControlGroup:aA,VSheet:Ox,VSlideGroup:Dx,VSlideGroupItem:iH,VSlideXReverseTransition:CB,VSlideXTransition:SB,VSlideYReverseTransition:EB,VSlideYTransition:l_,VSlider:Px,VSnackbar:oH,VSpacer:gU,VSvgIcon:i_,VSwitch:lH,VSystemBar:cH,VTab:bS,VTable:gH,VTabs:pH,VTextField:Kd,VTextarea:yH,VThemeProvider:xH,VTimeline:wH,VTimelineItem:AH,VToolbar:yx,VToolbarItems:CH,VToolbarTitle:o_,VTooltip:LH,VValidation:IH,VVirtualScroll:h1,VWindow:Sx,VWindowItem:Cx},Symbol.toStringTag,{value:"Module"}));function PH(n,e){const r=e.modifiers||{},S=e.value,{once:D,immediate:T,...p}=r,t=!Object.keys(p).length,{handler:d,options:g}=typeof S=="object"?S:{handler:S,options:{attributes:(p==null?void 0:p.attr)??t,characterData:(p==null?void 0:p.char)??t,childList:(p==null?void 0:p.child)??t,subtree:(p==null?void 0:p.sub)??t}},i=new MutationObserver(function(){let M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],v=arguments.length>1?arguments[1]:void 0;d==null||d(M,v),D&&xS(n,e)});T&&(d==null||d([],i)),n._mutate=Object(n._mutate),n._mutate[e.instance.$.uid]={observer:i},i.observe(n,g)}function xS(n,e){var r;(r=n._mutate)!=null&&r[e.instance.$.uid]&&(n._mutate[e.instance.$.uid].observer.disconnect(),delete n._mutate[e.instance.$.uid])}const OH={mounted:PH,unmounted:xS};function DH(n,e){var D,T;const r=e.value,S={passive:!((D=e.modifiers)!=null&&D.active)};window.addEventListener("resize",r,S),n._onResize=Object(n._onResize),n._onResize[e.instance.$.uid]={handler:r,options:S},(T=e.modifiers)!=null&&T.quiet||r()}function zH(n,e){var D;if(!((D=n._onResize)!=null&&D[e.instance.$.uid]))return;const{handler:r,options:S}=n._onResize[e.instance.$.uid];window.removeEventListener("resize",r,S),delete n._onResize[e.instance.$.uid]}const FH={mounted:DH,unmounted:zH};function _S(n,e){const{self:r=!1}=e.modifiers??{},S=e.value,D=typeof S=="object"&&S.options||{passive:!0},T=typeof S=="function"||"handleEvent"in S?S:S.handler,p=r?n:e.arg?document.querySelector(e.arg):window;p&&(p.addEventListener("scroll",T,D),n._onScroll=Object(n._onScroll),n._onScroll[e.instance.$.uid]={handler:T,options:D,target:r?void 0:p})}function wS(n,e){var T;if(!((T=n._onScroll)!=null&&T[e.instance.$.uid]))return;const{handler:r,options:S,target:D=n}=n._onScroll[e.instance.$.uid];D.removeEventListener("scroll",r,S),delete n._onScroll[e.instance.$.uid]}function BH(n,e){e.value!==e.oldValue&&(wS(n,e),_S(n,e))}const NH={mounted:_S,unmounted:wS,updated:BH},VH=Object.freeze(Object.defineProperty({__proto__:null,ClickOutside:OA,Intersect:og,Mutate:OH,Resize:FH,Ripple:nd,Scroll:NH,Touch:M_},Symbol.toStringTag,{value:"Module"})),E_=R7(Nz);E_.use(D7());E_.use(B6({components:RH,directives:VH}));E_.mount("#app"); -======== -`,n.getElement().classList.add("tabulator-row-handle");function T(p){var t=D.element;D.open=p,t&&(D.open?(C.classList.add("open"),t.style.display=""):(C.classList.remove("open"),t.style.display="none"))}return C.addEventListener("click",function(p){p.stopImmediatePropagation(),T(!D.open),n.getTable().rowManager.adjustTableSize()}),T(D.open),C}function aP(n,e,r){var C=document.createElement("input"),D=!1;if(C.type="checkbox",C.setAttribute("aria-label","Select Row"),this.table.modExists("selectRow",!0))if(C.addEventListener("click",p=>{p.stopPropagation()}),typeof n.getRow=="function"){var T=n.getRow();T instanceof Wy?(C.addEventListener("change",p=>{this.table.options.selectableRowsRangeMode==="click"&&D?D=!1:T.toggleSelect()}),this.table.options.selectableRowsRangeMode==="click"&&C.addEventListener("click",p=>{D=!0,this.table.modules.selectRow.handleComplexRowClick(T._row,p)}),C.checked=T.isSelected&&T.isSelected(),this.table.modules.selectRow.registerRowSelectCheckbox(T,C)):C=""}else C.addEventListener("change",p=>{this.table.modules.selectRow.selectedRows.length?this.table.deselectRow():this.table.selectRow(e.rowRange)}),this.table.modules.selectRow.registerHeaderSelectCheckbox(C);return C}var oP={plaintext:VR,html:jR,textarea:UR,money:HR,link:GR,image:qR,tickCross:WR,datetime:YR,datetimediff:$R,lookup:ZR,star:XR,traffic:KR,progress:JR,color:QR,buttonTick:eP,buttonCross:tP,rownum:nP,handle:rP,responsiveCollapse:iP,rowSelection:aP};class Yu extends qi{constructor(e){super(e),this.registerColumnOption("formatter"),this.registerColumnOption("formatterParams"),this.registerColumnOption("formatterPrint"),this.registerColumnOption("formatterPrintParams"),this.registerColumnOption("formatterClipboard"),this.registerColumnOption("formatterClipboardParams"),this.registerColumnOption("formatterHtmlOutput"),this.registerColumnOption("formatterHtmlOutputParams"),this.registerColumnOption("titleFormatter"),this.registerColumnOption("titleFormatterParams")}initialize(){this.subscribe("cell-format",this.formatValue.bind(this)),this.subscribe("cell-rendered",this.cellRendered.bind(this)),this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("column-format",this.formatHeader.bind(this))}initializeColumn(e){e.modules.format=this.lookupFormatter(e,""),typeof e.definition.formatterPrint<"u"&&(e.modules.format.print=this.lookupFormatter(e,"Print")),typeof e.definition.formatterClipboard<"u"&&(e.modules.format.clipboard=this.lookupFormatter(e,"Clipboard")),typeof e.definition.formatterHtmlOutput<"u"&&(e.modules.format.htmlOutput=this.lookupFormatter(e,"HtmlOutput"))}lookupFormatter(e,r){var C={params:e.definition["formatter"+r+"Params"]||{}},D=e.definition["formatter"+r];switch(typeof D){case"string":Yu.formatters[D]?C.formatter=Yu.formatters[D]:(console.warn("Formatter Error - No such formatter found: ",D),C.formatter=Yu.formatters.plaintext);break;case"function":C.formatter=D;break;default:C.formatter=Yu.formatters.plaintext;break}return C}cellRendered(e){e.modules.format&&e.modules.format.renderedCallback&&!e.modules.format.rendered&&(e.modules.format.renderedCallback(),e.modules.format.rendered=!0)}formatHeader(e,r,C){var D,T,p,t;return e.definition.titleFormatter?(D=this.getFormatter(e.definition.titleFormatter),p=d=>{e.titleFormatterRendered=d},t={getValue:function(){return r},getElement:function(){return C},getType:function(){return"header"},getColumn:function(){return e.getComponent()},getTable:()=>this.table},T=e.definition.titleFormatterParams||{},T=typeof T=="function"?T():T,D.call(this,t,T,p)):r}formatValue(e){var r=e.getComponent(),C=typeof e.column.modules.format.params=="function"?e.column.modules.format.params(r):e.column.modules.format.params;function D(T){e.modules.format||(e.modules.format={}),e.modules.format.renderedCallback=T,e.modules.format.rendered=!1}return e.column.modules.format.formatter.call(this,r,C,D)}formatExportValue(e,r){var C=e.column.modules.format[r],D;if(C){let p=function(t){e.modules.format||(e.modules.format={}),e.modules.format.renderedCallback=t,e.modules.format.rendered=!1};var T=p;return D=typeof C.params=="function"?C.params(e.getComponent()):C.params,C.formatter.call(this,e.getComponent(),D,p)}else return this.formatValue(e)}sanitizeHTML(e){if(e){var r={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};return String(e).replace(/[&<>"'`=/]/g,function(C){return r[C]})}else return e}emptyToSpace(e){return e===null||typeof e>"u"||e===""?" ":e}getFormatter(e){switch(typeof e){case"string":Yu.formatters[e]?e=Yu.formatters[e]:(console.warn("Formatter Error - No such formatter found: ",e),e=Yu.formatters.plaintext);break;case"function":break;default:e=Yu.formatters.plaintext;break}return e}}Yu.moduleName="format";Yu.formatters=oP;class zM extends qi{constructor(e){super(e),this.leftColumns=[],this.rightColumns=[],this.initializationMode="left",this.active=!1,this.blocked=!0,this.registerColumnOption("frozen")}reset(){this.initializationMode="left",this.leftColumns=[],this.rightColumns=[],this.active=!1}initialize(){this.subscribe("cell-layout",this.layoutCell.bind(this)),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("column-width",this.layout.bind(this)),this.subscribe("row-layout-after",this.layoutRow.bind(this)),this.subscribe("table-layout",this.layout.bind(this)),this.subscribe("columns-loading",this.reset.bind(this)),this.subscribe("column-add",this.reinitializeColumns.bind(this)),this.subscribe("column-deleted",this.reinitializeColumns.bind(this)),this.subscribe("column-hide",this.reinitializeColumns.bind(this)),this.subscribe("column-show",this.reinitializeColumns.bind(this)),this.subscribe("columns-loaded",this.reinitializeColumns.bind(this)),this.subscribe("table-redraw",this.layout.bind(this)),this.subscribe("layout-refreshing",this.blockLayout.bind(this)),this.subscribe("layout-refreshed",this.unblockLayout.bind(this)),this.subscribe("scrollbar-vertical",this.adjustForScrollbar.bind(this))}blockLayout(){this.blocked=!0}unblockLayout(){this.blocked=!1}layoutCell(e){this.layoutElement(e.element,e.column)}reinitializeColumns(){this.reset(),this.table.columnManager.columnsByIndex.forEach(e=>{this.initializeColumn(e)}),this.layout()}initializeColumn(e){var r={margin:0,edge:!1};e.isGroup||(this.frozenCheck(e)?(r.position=this.initializationMode,this.initializationMode=="left"?this.leftColumns.push(e):this.rightColumns.unshift(e),this.active=!0,e.modules.frozen=r):this.initializationMode="right")}frozenCheck(e){return e.parent.isGroup&&e.definition.frozen&&console.warn("Frozen Column Error - Parent column group must be frozen, not individual columns or sub column groups"),e.parent.isGroup?this.frozenCheck(e.parent):e.definition.frozen}layoutCalcRows(){this.table.modExists("columnCalcs")&&(this.table.modules.columnCalcs.topInitialized&&this.table.modules.columnCalcs.topRow&&this.layoutRow(this.table.modules.columnCalcs.topRow),this.table.modules.columnCalcs.botInitialized&&this.table.modules.columnCalcs.botRow&&this.layoutRow(this.table.modules.columnCalcs.botRow),this.table.modExists("groupRows")&&this.layoutGroupCalcs(this.table.modules.groupRows.getGroups()))}layoutGroupCalcs(e){e.forEach(r=>{r.calcs.top&&this.layoutRow(r.calcs.top),r.calcs.bottom&&this.layoutRow(r.calcs.bottom),r.groupList&&r.groupList.length&&this.layoutGroupCalcs(r.groupList)})}layoutColumnPosition(e){var r=[],C=0,D=0;this.leftColumns.forEach((T,p)=>{if(T.modules.frozen.marginValue=C,T.modules.frozen.margin=T.modules.frozen.marginValue+"px",T.visible&&(C+=T.getWidth()),p==this.leftColumns.length-1?T.modules.frozen.edge=!0:T.modules.frozen.edge=!1,T.parent.isGroup){var t=this.getColGroupParentElement(T);r.includes(t)||(this.layoutElement(t,T),r.push(t)),t.classList.toggle("tabulator-frozen-left",T.modules.frozen.edge&&T.modules.frozen.position==="left"),t.classList.toggle("tabulator-frozen-right",T.modules.frozen.edge&&T.modules.frozen.position==="right")}else this.layoutElement(T.getElement(),T);e&&T.cells.forEach(d=>{this.layoutElement(d.getElement(!0),T)})}),this.rightColumns.forEach((T,p)=>{T.modules.frozen.marginValue=D,T.modules.frozen.margin=T.modules.frozen.marginValue+"px",T.visible&&(D+=T.getWidth()),p==this.rightColumns.length-1?T.modules.frozen.edge=!0:T.modules.frozen.edge=!1,T.parent.isGroup?this.layoutElement(this.getColGroupParentElement(T),T):this.layoutElement(T.getElement(),T),e&&T.cells.forEach(t=>{this.layoutElement(t.getElement(!0),T)})})}getColGroupParentElement(e){return e.parent.isGroup?this.getColGroupParentElement(e.parent):e.getElement()}layout(){this.active&&!this.blocked&&(this.layoutColumnPosition(),this.reinitializeRows(),this.layoutCalcRows())}reinitializeRows(){var e=this.table.rowManager.getVisibleRows(!0),r=this.table.rowManager.getRows().filter(C=>!e.includes(C));r.forEach(C=>{C.deinitialize()}),e.forEach(C=>{C.type==="row"&&this.layoutRow(C)})}layoutRow(e){this.table.options.layout==="fitDataFill"&&this.rightColumns.length&&(this.table.rowManager.getTableElement().style.minWidth="calc(100% - "+this.rightMargin+")"),this.leftColumns.forEach(r=>{var C=e.getCell(r);C&&this.layoutElement(C.getElement(!0),r)}),this.rightColumns.forEach(r=>{var C=e.getCell(r);C&&this.layoutElement(C.getElement(!0),r)})}layoutElement(e,r){var C;r.modules.frozen&&e&&(e.style.position="sticky",this.table.rtl?C=r.modules.frozen.position==="left"?"right":"left":C=r.modules.frozen.position,e.style[C]=r.modules.frozen.margin,e.classList.add("tabulator-frozen"),e.classList.toggle("tabulator-frozen-left",r.modules.frozen.edge&&r.modules.frozen.position==="left"),e.classList.toggle("tabulator-frozen-right",r.modules.frozen.edge&&r.modules.frozen.position==="right"))}adjustForScrollbar(e){this.rightColumns.length&&(this.table.columnManager.getContentsElement().style.width="calc(100% - "+e+"px)")}_calcSpace(e,r){var C=0;for(let D=0;D{this.initializeRow(e)})}initializeRow(e){var r=this.table.options.frozenRows,C=typeof r;C==="number"?e.getPosition()&&e.getPosition()+this.rows.length<=r&&this.freezeRow(e):C==="function"?r.call(this.table,e.getComponent())&&this.freezeRow(e):Array.isArray(r)&&r.includes(e.data[this.options("frozenRowsField")])&&this.freezeRow(e)}isRowFrozen(e){var r=this.rows.indexOf(e);return r>-1}isFrozen(){return!!this.rows.length}visibleRows(e,r){return this.rows.forEach(C=>{r.push(C)}),r}getRows(e){var r=e.slice(0);return this.rows.forEach(function(C){var D=r.indexOf(C);D>-1&&r.splice(D,1)}),r}freezeRow(e){e.modules.frozen?console.warn("Freeze Error - Row is already frozen"):(e.modules.frozen=!0,this.topElement.appendChild(e.getElement()),e.initialize(),e.normalizeHeight(),this.rows.push(e),this.refreshData(!1,"display"),this.table.rowManager.adjustTableSize(),this.styleRows())}unfreezeRow(e){e.modules.frozen?(e.modules.frozen=!1,this.detachRow(e),this.table.rowManager.adjustTableSize(),this.refreshData(!1,"display"),this.rows.length&&this.styleRows()):console.warn("Freeze Error - Row is already unfrozen")}detachRow(e){var r=this.rows.indexOf(e);if(r>-1){var C=e.getElement();C.parentNode&&C.parentNode.removeChild(C),this.rows.splice(r,1)}}styleRows(e){this.rows.forEach((r,C)=>{this.table.rowManager.styleRow(r,C)})}}FM.moduleName="frozenRows";class sP{constructor(e){return this._group=e,this.type="GroupComponent",new Proxy(this,{get:function(r,C,D){return typeof r[C]<"u"?r[C]:r._group.groupManager.table.componentFunctionBinder.handle("group",r._group,C)}})}getKey(){return this._group.key}getField(){return this._group.field}getElement(){return this._group.element}getRows(){return this._group.getRows(!0)}getSubGroups(){return this._group.getSubGroups(!0)}getParentGroup(){return this._group.parent?this._group.parent.getComponent():!1}isVisible(){return this._group.visible}show(){this._group.show()}hide(){this._group.hide()}toggle(){this._group.toggleVisibility()}scrollTo(e,r){return this._group.groupManager.table.rowManager.scrollToRow(this._group,e,r)}_getSelf(){return this._group}getTable(){return this._group.groupManager.table}}class Fp{constructor(e,r,C,D,T,p,t){this.groupManager=e,this.parent=r,this.key=D,this.level=C,this.field=T,this.hasSubGroups=C{r.modules&&delete r.modules.group})),this.element=!1,this.arrowElement=!1,this.elementContents=!1}createElements(){var e=document.createElement("div");e.classList.add("tabulator-arrow"),this.element=document.createElement("div"),this.element.classList.add("tabulator-row"),this.element.classList.add("tabulator-group"),this.element.classList.add("tabulator-group-level-"+this.level),this.element.setAttribute("role","rowgroup"),this.arrowElement=document.createElement("div"),this.arrowElement.classList.add("tabulator-group-toggle"),this.arrowElement.appendChild(e),this.groupManager.table.options.movableRows!==!1&&this.groupManager.table.modExists("moveRow")&&this.groupManager.table.modules.moveRow.initializeGroupHeader(this)}createValueGroups(){var e=this.level+1;this.groupManager.allowedValues&&this.groupManager.allowedValues[e]&&this.groupManager.allowedValues[e].forEach(r=>{this._createGroup(r,e)})}addBindings(){var e;this.groupManager.table.options.groupToggleElement&&(e=this.groupManager.table.options.groupToggleElement=="arrow"?this.arrowElement:this.element,e.addEventListener("click",r=>{this.groupManager.table.options.groupToggleElement==="arrow"&&(r.stopPropagation(),r.stopImmediatePropagation()),setTimeout(()=>{this.toggleVisibility()})}))}_createGroup(e,r){var C=r+"_"+e,D=new Fp(this.groupManager,this,r,e,this.groupManager.groupIDLookups[r].field,this.groupManager.headerGenerator[r]||this.groupManager.headerGenerator[0],this.old?this.old.groups[C]:!1);this.groups[C]=D,this.groupList.push(D)}_addRowToGroup(e){var r=this.level+1;if(this.hasSubGroups){var C=this.groupManager.groupIDLookups[r].func(e.getData()),D=r+"_"+C;this.groupManager.allowedValues&&this.groupManager.allowedValues[r]?this.groups[D]&&this.groups[D].addRow(e):(this.groups[D]||this._createGroup(C,r),this.groups[D].addRow(e))}}_addRow(e){this.rows.push(e),e.modules.group=this}insertRow(e,r,C){var D=this.conformRowData({});e.updateData(D);var T=this.rows.indexOf(r);T>-1?C?this.rows.splice(T+1,0,e):this.rows.splice(T,0,e):C?this.rows.push(e):this.rows.unshift(e),e.modules.group=this,this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modules.columnCalcs.recalcGroup(this),this.groupManager.updateGroupRows(!0)}scrollHeader(e){this.arrowElement&&(this.arrowElement.style.marginLeft=e,this.groupList.forEach(function(r){r.scrollHeader(e)}))}getRowIndex(e){}conformRowData(e){return this.field?e[this.field]=this.key:console.warn("Data Conforming Error - Cannot conform row data to match new group as groupBy is a function"),this.parent&&(e=this.parent.conformRowData(e)),e}removeRow(e){var r=this.rows.indexOf(e),C=e.getElement();r>-1&&this.rows.splice(r,1),!this.groupManager.table.options.groupValues&&!this.rows.length?(this.parent?this.parent.removeGroup(this):this.groupManager.removeGroup(this),this.groupManager.updateGroupRows(!0)):(C.parentNode&&C.parentNode.removeChild(C),this.groupManager.blockRedraw||(this.generateGroupHeaderContents(),this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modules.columnCalcs.recalcGroup(this)))}removeGroup(e){var r=e.level+"_"+e.key,C;this.groups[r]&&(delete this.groups[r],C=this.groupList.indexOf(e),C>-1&&this.groupList.splice(C,1),this.groupList.length||(this.parent?this.parent.removeGroup(this):this.groupManager.removeGroup(this)))}getHeadersAndRows(){var e=[];return e.push(this),this._visSet(),this.calcs.top&&(this.calcs.top.detachElement(),this.calcs.top.deleteCells()),this.calcs.bottom&&(this.calcs.bottom.detachElement(),this.calcs.bottom.deleteCells()),this.visible?this.groupList.length?this.groupList.forEach(function(r){e=e.concat(r.getHeadersAndRows())}):(this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.modules.columnCalcs.hasTopCalcs()&&(this.calcs.top=this.groupManager.table.modules.columnCalcs.generateTopRow(this.rows),e.push(this.calcs.top)),e=e.concat(this.rows),this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.modules.columnCalcs.hasBottomCalcs()&&(this.calcs.bottom=this.groupManager.table.modules.columnCalcs.generateBottomRow(this.rows),e.push(this.calcs.bottom))):!this.groupList.length&&this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modExists("columnCalcs")&&(this.groupManager.table.modules.columnCalcs.hasTopCalcs()&&this.groupManager.table.options.groupClosedShowCalcs&&(this.calcs.top=this.groupManager.table.modules.columnCalcs.generateTopRow(this.rows),e.push(this.calcs.top)),this.groupManager.table.modules.columnCalcs.hasBottomCalcs()&&this.groupManager.table.options.groupClosedShowCalcs&&(this.calcs.bottom=this.groupManager.table.modules.columnCalcs.generateBottomRow(this.rows),e.push(this.calcs.bottom))),e}getData(e,r){var C=[];return this._visSet(),(!e||e&&this.visible)&&this.rows.forEach(D=>{C.push(D.getData(r||"data"))}),C}getRowCount(){var e=0;return this.groupList.length?this.groupList.forEach(r=>{e+=r.getRowCount()}):e=this.rows.length,e}toggleVisibility(){this.visible?this.hide():this.show()}hide(){this.visible=!1,this.groupManager.table.rowManager.getRenderMode()=="basic"&&!this.groupManager.table.options.pagination?(this.element.classList.remove("tabulator-group-visible"),this.groupList.length?this.groupList.forEach(e=>{var r=e.getHeadersAndRows();r.forEach(C=>{C.detachElement()})}):this.rows.forEach(e=>{var r=e.getElement();r.parentNode.removeChild(r)}),this.groupManager.updateGroupRows(!0)):this.groupManager.updateGroupRows(!0),this.groupManager.table.externalEvents.dispatch("groupVisibilityChanged",this.getComponent(),!1)}show(){if(this.visible=!0,this.groupManager.table.rowManager.getRenderMode()=="basic"&&!this.groupManager.table.options.pagination){this.element.classList.add("tabulator-group-visible");var e=this.generateElement();this.groupList.length?this.groupList.forEach(r=>{var C=r.getHeadersAndRows();C.forEach(D=>{var T=D.getElement();e.parentNode.insertBefore(T,e.nextSibling),D.initialize(),e=T})}):this.rows.forEach(r=>{var C=r.getElement();e.parentNode.insertBefore(C,e.nextSibling),r.initialize(),e=C}),this.groupManager.updateGroupRows(!0)}else this.groupManager.updateGroupRows(!0);this.groupManager.table.externalEvents.dispatch("groupVisibilityChanged",this.getComponent(),!0)}_visSet(){var e=[];typeof this.visible=="function"&&(this.rows.forEach(function(r){e.push(r.getData())}),this.visible=this.visible(this.key,this.getRowCount(),e,this.getComponent()))}getRowGroup(e){var r=!1;return this.groupList.length?this.groupList.forEach(function(C){var D=C.getRowGroup(e);D&&(r=D)}):this.rows.find(function(C){return C===e})&&(r=this),r}getSubGroups(e){var r=[];return this.groupList.forEach(function(C){r.push(e?C.getComponent():C)}),r}getRows(e,r){var C=[];return r&&this.groupList.length?this.groupList.forEach(D=>{C=C.concat(D.getRows(e,r))}):this.rows.forEach(function(D){C.push(e?D.getComponent():D)}),C}generateGroupHeaderContents(){var e=[],r=this.getRows(!1,!0);for(r.forEach(function(C){e.push(C.getData())}),this.elementContents=this.generator(this.key,this.getRowCount(),e,this.getComponent());this.element.firstChild;)this.element.removeChild(this.element.firstChild);typeof this.elementContents=="string"?this.element.innerHTML=this.elementContents:this.element.appendChild(this.elementContents),this.element.insertBefore(this.arrowElement,this.element.firstChild)}getPath(e=[]){return e.unshift(this.key),this.parent&&this.parent.getPath(e),e}getElement(){return this.elementContents?this.element:this.generateElement()}generateElement(){this.addBindings=!1,this._visSet(),this.visible?this.element.classList.add("tabulator-group-visible"):this.element.classList.remove("tabulator-group-visible");for(var e=0;eC.length&&console.warn("Error creating group headers, groupHeader array is shorter than groupBy array"),this.headerGenerator=[function(){return""}],this.startOpen=[function(){return!1}],this.langBind("groups|item",(T,p)=>{this.headerGenerator[0]=(t,d,g)=>(typeof t>"u"?"":t)+"("+d+" "+(d===1?T:p.groups.items)+")"}),this.groupIDLookups=[],e)this.table.modExists("columnCalcs")&&this.table.options.columnCalcs!="table"&&this.table.options.columnCalcs!="both"&&this.table.modules.columnCalcs.removeCalcs();else if(this.table.modExists("columnCalcs")&&this.table.options.columnCalcs!="group"){var D=this.table.columnManager.getRealColumns();D.forEach(T=>{T.definition.topCalc&&this.table.modules.columnCalcs.initializeTopRow(),T.definition.bottomCalc&&this.table.modules.columnCalcs.initializeBottomRow()})}Array.isArray(e)||(e=[e]),e.forEach((T,p)=>{var t,d;typeof T=="function"?t=T:(d=this.table.columnManager.getColumnByField(T),d?t=function(g){return d.getFieldValue(g)}:t=function(g){return g[T]}),this.groupIDLookups.push({field:typeof T=="function"?!1:T,func:t,values:this.allowedValues?this.allowedValues[p]:!1})}),r&&(Array.isArray(r)||(r=[r]),r.forEach(T=>{}),this.startOpen=r),C&&(this.headerGenerator=Array.isArray(C)?C:[C])}else this.groupList=[],this.groups={}}rowSample(e,r){if(this.table.options.groupBy){var C=this.getGroups(!1)[0];r.push(C.getRows(!1)[0])}return r}virtualRenderFill(){var e=this.table.rowManager.tableElement,r=this.table.rowManager.getVisibleRows();if(this.table.options.groupBy)r=r.filter(C=>C.type!=="group"),e.style.minWidth=r.length?"":this.table.columnManager.getWidth()+"px";else return r}rowAddingIndex(e,r,C){if(this.table.options.groupBy){this.assignRowToGroup(e);var D=e.modules.group.rows;return D.length>1&&(!r||r&&D.indexOf(r)==-1?C?D[0]!==e&&(r=D[0],this.table.rowManager.moveRowInArray(e.modules.group.rows,e,r,!C)):D[D.length-1]!==e&&(r=D[D.length-1],this.table.rowManager.moveRowInArray(e.modules.group.rows,e,r,!C)):this.table.rowManager.moveRowInArray(e.modules.group.rows,e,r,!C)),r}}trackChanges(){this.dispatch("group-changed")}setGroupBy(e){this.table.options.groupBy=e,this.initialized||this.initialize(),this.configureGroupSetup(),!e&&this.table.modExists("columnCalcs")&&this.table.options.columnCalcs===!0&&this.table.modules.columnCalcs.reinitializeCalcs(),this.refreshData(),this.trackChanges()}setGroupValues(e){this.table.options.groupValues=e,this.configureGroupSetup(),this.refreshData(),this.trackChanges()}setGroupStartOpen(e){this.table.options.groupStartOpen=e,this.configureGroupSetup(),this.table.options.groupBy?(this.refreshData(),this.trackChanges()):console.warn("Grouping Update - cant refresh view, no groups have been set")}setGroupHeader(e){this.table.options.groupHeader=e,this.configureGroupSetup(),this.table.options.groupBy?(this.refreshData(),this.trackChanges()):console.warn("Grouping Update - cant refresh view, no groups have been set")}userGetGroups(e){return this.getGroups(!0)}userGetGroupedData(){return this.table.options.groupBy?this.getGroupedData():this.getData()}rowGetGroup(e){return e.modules.group?e.modules.group.getComponent():!1}rowMoving(e,r,C){if(this.table.options.groupBy){!C&&r instanceof Fp&&(r=this.table.rowManager.prevDisplayRow(e)||r);var D=r instanceof Fp?r:r.modules.group,T=e instanceof Fp?e:e.modules.group;D===T?this.table.rowManager.moveRowInArray(D.rows,e,r,C):(T&&T.removeRow(e),D.insertRow(e,r,C))}}rowDeleting(e){this.table.options.groupBy&&e.modules.group&&e.modules.group.removeRow(e)}rowsUpdated(e){this.table.options.groupBy&&this.updateGroupRows(!0)}cellUpdated(e){this.table.options.groupBy&&this.reassignRowToGroup(e.row)}getRows(e){return this.table.options.groupBy&&this.groupIDLookups.length?(this.dispatchExternal("dataGrouping"),this.generateGroups(e),this.subscribedExternal("dataGrouped")&&this.dispatchExternal("dataGrouped",this.getGroups(!0)),this.updateGroupRows()):e.slice(0)}getGroups(e){var r=[];return this.groupList.forEach(function(C){r.push(e?C.getComponent():C)}),r}getChildGroups(e){var r=[];return e||(e=this),e.groupList.forEach(C=>{C.groupList.length?r=r.concat(this.getChildGroups(C)):r.push(C)}),r}wipe(){this.table.options.groupBy&&(this.groupList.forEach(function(e){e.wipe()}),this.groupList=[],this.groups={})}pullGroupListData(e){var r=[];return e.forEach(C=>{var D={};D.level=0,D.rowCount=0,D.headerContent="";var T=[];C.hasSubGroups?(T=this.pullGroupListData(C.groupList),D.level=C.level,D.rowCount=T.length-C.groupList.length,D.headerContent=C.generator(C.key,D.rowCount,C.rows,C),r.push(D),r=r.concat(T)):(D.level=C.level,D.headerContent=C.generator(C.key,C.rows.length,C.rows,C),D.rowCount=C.getRows().length,r.push(D),C.getRows().forEach(p=>{r.push(p.getData("data"))}))}),r}getGroupedData(){return this.pullGroupListData(this.groupList)}getRowGroup(e){var r=!1;return this.options("dataTree")&&(e=this.table.modules.dataTree.getTreeParentRoot(e)),this.groupList.forEach(C=>{var D=C.getRowGroup(e);D&&(r=D)}),r}countGroups(){return this.groupList.length}generateGroups(e){var r=this.groups;this.groups={},this.groupList=[],this.allowedValues&&this.allowedValues[0]?(this.allowedValues[0].forEach(C=>{this.createGroup(C,0,r)}),e.forEach(C=>{this.assignRowToExistingGroup(C,r)})):e.forEach(C=>{this.assignRowToGroup(C,r)}),Object.values(r).forEach(C=>{C.wipe(!0)})}createGroup(e,r,C){var D=r+"_"+e,T;C=C||[],T=new Fp(this,!1,r,e,this.groupIDLookups[0].field,this.headerGenerator[0],C[D]),this.groups[D]=T,this.groupList.push(T)}assignRowToExistingGroup(e,r){var C=this.groupIDLookups[0].func(e.getData()),D="0_"+C;this.groups[D]&&this.groups[D].addRow(e)}assignRowToGroup(e,r){var C=this.groupIDLookups[0].func(e.getData()),D=!this.groups["0_"+C];return D&&this.createGroup(C,0,r),this.groups["0_"+C].addRow(e),!D}reassignRowToGroup(e){if(e.type==="row"){var r=e.modules.group,C=r.getPath(),D=this.getExpectedPath(e),T;T=C.length==D.length&&C.every((p,t)=>p===D[t]),T||(r.removeRow(e),this.assignRowToGroup(e,this.groups),this.refreshData(!0))}}getExpectedPath(e){var r=[],C=e.getData();return this.groupIDLookups.forEach(D=>{r.push(D.func(C))}),r}updateGroupRows(e){var r=[];return this.blockRedraw||(this.groupList.forEach(C=>{r=r.concat(C.getHeadersAndRows())}),e&&this.refreshData(!0)),r}scrollHeaders(e){this.table.options.groupBy&&(this.table.options.renderHorizontal==="virtual"&&(e-=this.table.columnManager.renderer.vDomPadLeft),e=e+"px",this.groupList.forEach(r=>{r.scrollHeader(e)}))}removeGroup(e){var r=e.level+"_"+e.key,C;this.groups[r]&&(delete this.groups[r],C=this.groupList.indexOf(e),C>-1&&this.groupList.splice(C,1))}checkBasicModeGroupHeaderWidth(){var e=this.table.rowManager.tableElement,r=!0;this.table.rowManager.getDisplayRows().forEach((C,D)=>{this.table.rowManager.styleRow(C,D),e.appendChild(C.getElement()),C.initialize(!0),C.type!=="group"&&(r=!1)}),r?e.style.minWidth=this.table.columnManager.getWidth()+"px":e.style.minWidth=""}}BM.moduleName="groupRows";var lP={cellEdit:function(n){n.component.setValueProcessData(n.data.oldValue),n.component.cellRendered()},rowAdd:function(n){n.component.deleteActual(),this.table.rowManager.checkPlaceholder()},rowDelete:function(n){var e=this.table.rowManager.addRowActual(n.data.data,n.data.pos,n.data.index);this.table.options.groupBy&&this.table.modExists("groupRows")&&this.table.modules.groupRows.updateGroupRows(!0),this._rebindRow(n.component,e),this.table.rowManager.checkPlaceholder()},rowMove:function(n){var e=n.data.posFrom-n.data.posTo>0;this.table.rowManager.moveRowActual(n.component,this.table.rowManager.getRowFromPosition(n.data.posFrom),e),this.table.rowManager.regenerateRowPositions(),this.table.rowManager.reRenderInPosition()}},uP={cellEdit:function(n){n.component.setValueProcessData(n.data.newValue),n.component.cellRendered()},rowAdd:function(n){var e=this.table.rowManager.addRowActual(n.data.data,n.data.pos,n.data.index);this.table.options.groupBy&&this.table.modExists("groupRows")&&this.table.modules.groupRows.updateGroupRows(!0),this._rebindRow(n.component,e),this.table.rowManager.checkPlaceholder()},rowDelete:function(n){n.component.deleteActual(),this.table.rowManager.checkPlaceholder()},rowMove:function(n){this.table.rowManager.moveRowActual(n.component,this.table.rowManager.getRowFromPosition(n.data.posTo),n.data.after),this.table.rowManager.regenerateRowPositions(),this.table.rowManager.reRenderInPosition()}};class Wd extends qi{constructor(e){super(e),this.history=[],this.index=-1,this.registerTableOption("history",!1)}initialize(){this.table.options.history&&(this.subscribe("cell-value-updated",this.cellUpdated.bind(this)),this.subscribe("cell-delete",this.clearComponentHistory.bind(this)),this.subscribe("row-delete",this.rowDeleted.bind(this)),this.subscribe("rows-wipe",this.clear.bind(this)),this.subscribe("row-added",this.rowAdded.bind(this)),this.subscribe("row-move",this.rowMoved.bind(this))),this.registerTableFunction("undo",this.undo.bind(this)),this.registerTableFunction("redo",this.redo.bind(this)),this.registerTableFunction("getHistoryUndoSize",this.getHistoryUndoSize.bind(this)),this.registerTableFunction("getHistoryRedoSize",this.getHistoryRedoSize.bind(this)),this.registerTableFunction("clearHistory",this.clear.bind(this))}rowMoved(e,r,C){this.action("rowMove",e,{posFrom:e.getPosition(),posTo:r.getPosition(),to:r,after:C})}rowAdded(e,r,C,D){this.action("rowAdd",e,{data:r,pos:C,index:D})}rowDeleted(e){var r,C;this.table.options.groupBy?(C=e.getComponent().getGroup()._getSelf().rows,r=C.indexOf(e),r&&(r=C[r-1])):(r=e.table.rowManager.getRowIndex(e),r&&(r=e.table.rowManager.rows[r-1])),this.action("rowDelete",e,{data:e.getData(),pos:!r,index:r})}cellUpdated(e){this.action("cellEdit",e,{oldValue:e.oldValue,newValue:e.value})}clear(){this.history=[],this.index=-1}action(e,r,C){this.history=this.history.slice(0,this.index+1),this.history.push({type:e,component:r,data:C}),this.index++}getHistoryUndoSize(){return this.index+1}getHistoryRedoSize(){return this.history.length-(this.index+1)}clearComponentHistory(e){var r=this.history.findIndex(function(C){return C.component===e});r>-1&&(this.history.splice(r,1),r<=this.index&&this.index--,this.clearComponentHistory(e))}undo(){if(this.index>-1){let e=this.history[this.index];return Wd.undoers[e.type].call(this,e),this.index--,this.dispatchExternal("historyUndo",e.type,e.component.getComponent(),e.data),!0}else return console.warn(this.options("history")?"History Undo Error - No more history to undo":"History module not enabled"),!1}redo(){if(this.history.length-1>this.index){this.index++;let e=this.history[this.index];return Wd.redoers[e.type].call(this,e),this.dispatchExternal("historyRedo",e.type,e.component.getComponent(),e.data),!0}else return console.warn(this.options("history")?"History Redo Error - No more history to redo":"History module not enabled"),!1}_rebindRow(e,r){this.history.forEach(function(C){if(C.component instanceof vl)C.component===e&&(C.component=r);else if(C.component instanceof eg&&C.component.row===e){var D=C.component.column.getField();D&&(C.component=r.getCell(D))}})}}Wd.moduleName="history";Wd.undoers=lP;Wd.redoers=uP;class NM extends qi{constructor(e){super(e),this.fieldIndex=[],this.hasIndex=!1}initialize(){this.tableElementCheck()}tableElementCheck(){this.table.originalElement&&this.table.originalElement.tagName==="TABLE"&&(this.table.originalElement.childNodes.length?this.parseTable():console.warn("Unable to parse data from empty table tag, Tabulator should be initialized on a div tag unless importing data from a table element."))}parseTable(){var e=this.table.originalElement,r=this.table.options,C=e.getElementsByTagName("th"),D=e.getElementsByTagName("tbody")[0],T=[];this.hasIndex=!1,this.dispatchExternal("htmlImporting"),D=D?D.getElementsByTagName("tr"):[],this._extractOptions(e,r),C.length?this._extractHeaders(C,D):this._generateBlankHeaders(C,D);for(var p=0;p{p[i.toLowerCase()]=i});for(var t in D){var d=D[t],g;d&&typeof d=="object"&&d.name&&d.name.indexOf("tabulator-")===0&&(g=d.name.replace("tabulator-",""),typeof p[g]<"u"&&(r[p[g]]=this._attribValue(d.value)))}}_attribValue(e){return e==="true"?!0:e==="false"?!1:e}_findCol(e){var r=this.table.options.columns.find(C=>C.title===e);return r||!1}_extractHeaders(e,r){for(var C=0;C(console.error("Import Error:",p||"Unable to import data"),Promise.reject(p)))}lookupImporter(e){var r;return e||(e=this.table.options.importFormat),typeof e=="string"?r=ng.importers[e]:r=e,r||console.error("Import Error - Importer not found:",e),r}importFromFile(e,r){var C=this.lookupImporter(e);if(C)return this.pickFile(r).then(this.importData.bind(this,C)).then(this.structureData.bind(this)).then(this.setData.bind(this)).catch(D=>(console.error("Import Error:",D||"Unable to import file"),Promise.reject(D)))}pickFile(e){return new Promise((r,C)=>{var D=document.createElement("input");D.type="file",D.accept=e,D.addEventListener("change",T=>{var p=D.files[0],t=new FileReader;switch(this.table.options.importReader){case"buffer":t.readAsArrayBuffer(p);break;case"binary":t.readAsBinaryString(p);break;case"url":t.readAsDataURL(p);break;case"text":default:t.readAsText(p)}t.onload=d=>{r(t.result)},t.onerror=d=>{console.warn("File Load Error - Unable to read file"),C()}}),D.click()})}importData(e,r){var C=e.call(this.table,r);return C instanceof Promise?C:C?Promise.resolve(C):Promise.reject()}structureData(e){var r=[];return Array.isArray(e)&&e.length&&Array.isArray(e[0])?(this.table.options.autoColumns?r=this.structureArrayToObject(e):r=this.structureArrayToColumns(e),r):e}structureArrayToObject(e){var r=e.shift(),C=e.map(D=>{var T={};return r.forEach((p,t)=>{T[p]=D[t]}),T});return C}structureArrayToColumns(e){var r=[],C=this.table.getColumns();return C[0]&&e[0][0]&&C[0].getDefinition().title===e[0][0]&&e.shift(),e.forEach(D=>{var T={};D.forEach((p,t)=>{var d=C[t];d&&(T[d.getField()]=p)}),r.push(T)}),r}setData(e){return this.table.setData(e)}}ng.moduleName="import";ng.importers=dP;class VM extends qi{constructor(e){super(e),this.eventMap={rowClick:"row-click",rowDblClick:"row-dblclick",rowContext:"row-contextmenu",rowMouseEnter:"row-mouseenter",rowMouseLeave:"row-mouseleave",rowMouseOver:"row-mouseover",rowMouseOut:"row-mouseout",rowMouseMove:"row-mousemove",rowMouseDown:"row-mousedown",rowMouseUp:"row-mouseup",rowTap:"row",rowDblTap:"row",rowTapHold:"row",cellClick:"cell-click",cellDblClick:"cell-dblclick",cellContext:"cell-contextmenu",cellMouseEnter:"cell-mouseenter",cellMouseLeave:"cell-mouseleave",cellMouseOver:"cell-mouseover",cellMouseOut:"cell-mouseout",cellMouseMove:"cell-mousemove",cellMouseDown:"cell-mousedown",cellMouseUp:"cell-mouseup",cellTap:"cell",cellDblTap:"cell",cellTapHold:"cell",headerClick:"column-click",headerDblClick:"column-dblclick",headerContext:"column-contextmenu",headerMouseEnter:"column-mouseenter",headerMouseLeave:"column-mouseleave",headerMouseOver:"column-mouseover",headerMouseOut:"column-mouseout",headerMouseMove:"column-mousemove",headerMouseDown:"column-mousedown",headerMouseUp:"column-mouseup",headerTap:"column",headerDblTap:"column",headerTapHold:"column",groupClick:"group-click",groupDblClick:"group-dblclick",groupContext:"group-contextmenu",groupMouseEnter:"group-mouseenter",groupMouseLeave:"group-mouseleave",groupMouseOver:"group-mouseover",groupMouseOut:"group-mouseout",groupMouseMove:"group-mousemove",groupMouseDown:"group-mousedown",groupMouseUp:"group-mouseup",groupTap:"group",groupDblTap:"group",groupTapHold:"group"},this.subscribers={},this.touchSubscribers={},this.columnSubscribers={},this.touchWatchers={row:{tap:null,tapDbl:null,tapHold:null},cell:{tap:null,tapDbl:null,tapHold:null},column:{tap:null,tapDbl:null,tapHold:null},group:{tap:null,tapDbl:null,tapHold:null}},this.registerColumnOption("headerClick"),this.registerColumnOption("headerDblClick"),this.registerColumnOption("headerContext"),this.registerColumnOption("headerMouseEnter"),this.registerColumnOption("headerMouseLeave"),this.registerColumnOption("headerMouseOver"),this.registerColumnOption("headerMouseOut"),this.registerColumnOption("headerMouseMove"),this.registerColumnOption("headerMouseDown"),this.registerColumnOption("headerMouseUp"),this.registerColumnOption("headerTap"),this.registerColumnOption("headerDblTap"),this.registerColumnOption("headerTapHold"),this.registerColumnOption("cellClick"),this.registerColumnOption("cellDblClick"),this.registerColumnOption("cellContext"),this.registerColumnOption("cellMouseEnter"),this.registerColumnOption("cellMouseLeave"),this.registerColumnOption("cellMouseOver"),this.registerColumnOption("cellMouseOut"),this.registerColumnOption("cellMouseMove"),this.registerColumnOption("cellMouseDown"),this.registerColumnOption("cellMouseUp"),this.registerColumnOption("cellTap"),this.registerColumnOption("cellDblTap"),this.registerColumnOption("cellTapHold")}initialize(){this.initializeExternalEvents(),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("cell-dblclick",this.cellContentsSelectionFixer.bind(this)),this.subscribe("scroll-horizontal",this.clearTouchWatchers.bind(this)),this.subscribe("scroll-vertical",this.clearTouchWatchers.bind(this))}clearTouchWatchers(){var e=Object.values(this.touchWatchers);e.forEach(r=>{for(let C in r)r[C]=null})}cellContentsSelectionFixer(e,r){var C;if(!(this.table.modExists("edit")&&this.table.modules.edit.currentCell===r)){e.preventDefault();try{document.selection?(C=document.body.createTextRange(),C.moveToElementText(r.getElement()),C.select()):window.getSelection&&(C=document.createRange(),C.selectNode(r.getElement()),window.getSelection().removeAllRanges(),window.getSelection().addRange(C))}catch{}}}initializeExternalEvents(){for(let e in this.eventMap)this.subscriptionChangeExternal(e,this.subscriptionChanged.bind(this,e))}subscriptionChanged(e,r){r?this.subscribers[e]||(this.eventMap[e].includes("-")?(this.subscribers[e]=this.handle.bind(this,e),this.subscribe(this.eventMap[e],this.subscribers[e])):this.subscribeTouchEvents(e)):this.eventMap[e].includes("-")?this.subscribers[e]&&!this.columnSubscribers[e]&&!this.subscribedExternal(e)&&(this.unsubscribe(this.eventMap[e],this.subscribers[e]),delete this.subscribers[e]):this.unsubscribeTouchEvents(e)}subscribeTouchEvents(e){var r=this.eventMap[e];this.touchSubscribers[r+"-touchstart"]||(this.touchSubscribers[r+"-touchstart"]=this.handleTouch.bind(this,r,"start"),this.touchSubscribers[r+"-touchend"]=this.handleTouch.bind(this,r,"end"),this.subscribe(r+"-touchstart",this.touchSubscribers[r+"-touchstart"]),this.subscribe(r+"-touchend",this.touchSubscribers[r+"-touchend"])),this.subscribers[e]=!0}unsubscribeTouchEvents(e){var r=!0,C=this.eventMap[e];if(this.subscribers[e]&&!this.subscribedExternal(e)){delete this.subscribers[e];for(let D in this.eventMap)this.eventMap[D]===C&&this.subscribers[D]&&(r=!1);r&&(this.unsubscribe(C+"-touchstart",this.touchSubscribers[C+"-touchstart"]),this.unsubscribe(C+"-touchend",this.touchSubscribers[C+"-touchend"]),delete this.touchSubscribers[C+"-touchstart"],delete this.touchSubscribers[C+"-touchend"])}}initializeColumn(e){var r=e.definition;for(let C in this.eventMap)r[C]&&(this.subscriptionChanged(C,!0),this.columnSubscribers[C]||(this.columnSubscribers[C]=[]),this.columnSubscribers[C].push(e))}handle(e,r,C){this.dispatchEvent(e,r,C)}handleTouch(e,r,C,D){var T=this.touchWatchers[e];switch(e==="column"&&(e="header"),r){case"start":T.tap=!0,clearTimeout(T.tapHold),T.tapHold=setTimeout(()=>{clearTimeout(T.tapHold),T.tapHold=null,T.tap=null,clearTimeout(T.tapDbl),T.tapDbl=null,this.dispatchEvent(e+"TapHold",C,D)},1e3);break;case"end":T.tap&&(T.tap=null,this.dispatchEvent(e+"Tap",C,D)),T.tapDbl?(clearTimeout(T.tapDbl),T.tapDbl=null,this.dispatchEvent(e+"DblTap",C,D)):T.tapDbl=setTimeout(()=>{clearTimeout(T.tapDbl),T.tapDbl=null},300),clearTimeout(T.tapHold),T.tapHold=null;break}}dispatchEvent(e,r,C){var D=C.getComponent(),T;this.columnSubscribers[e]&&(C instanceof eg?T=C.column.definition[e]:C instanceof vh&&(T=C.definition[e]),T&&T(r,D)),this.dispatchExternal(e,r,D)}}VM.moduleName="interaction";var pP={navPrev:"shift + 9",navNext:9,navUp:38,navDown:40,navLeft:37,navRight:39,scrollPageUp:33,scrollPageDown:34,scrollToStart:36,scrollToEnd:35,undo:["ctrl + 90","meta + 90"],redo:["ctrl + 89","meta + 89"],copyToClipboard:["ctrl + 67","meta + 67"],rangeJumpUp:["ctrl + 38","meta + 38"],rangeJumpDown:["ctrl + 40","meta + 40"],rangeJumpLeft:["ctrl + 37","meta + 37"],rangeJumpRight:["ctrl + 39","meta + 39"],rangeExpandUp:"shift + 38",rangeExpandDown:"shift + 40",rangeExpandLeft:"shift + 37",rangeExpandRight:"shift + 39",rangeExpandJumpUp:["ctrl + shift + 38","meta + shift + 38"],rangeExpandJumpDown:["ctrl + shift + 40","meta + shift + 40"],rangeExpandJumpLeft:["ctrl + shift + 37","meta + shift + 37"],rangeExpandJumpRight:["ctrl + shift + 39","meta + shift + 39"]},mP={keyBlock:function(n){n.stopPropagation(),n.preventDefault()},scrollPageUp:function(n){var e=this.table.rowManager,r=e.scrollTop-e.element.clientHeight;n.preventDefault(),e.displayRowsCount&&(r>=0?e.element.scrollTop=r:e.scrollToRow(e.getDisplayRows()[0])),this.table.element.focus()},scrollPageDown:function(n){var e=this.table.rowManager,r=e.scrollTop+e.element.clientHeight,C=e.element.scrollHeight;n.preventDefault(),e.displayRowsCount&&(r<=C?e.element.scrollTop=r:e.scrollToRow(e.getDisplayRows()[e.displayRowsCount-1])),this.table.element.focus()},scrollToStart:function(n){var e=this.table.rowManager;n.preventDefault(),e.displayRowsCount&&e.scrollToRow(e.getDisplayRows()[0]),this.table.element.focus()},scrollToEnd:function(n){var e=this.table.rowManager;n.preventDefault(),e.displayRowsCount&&e.scrollToRow(e.getDisplayRows()[e.displayRowsCount-1]),this.table.element.focus()},navPrev:function(n){this.dispatch("keybinding-nav-prev",n)},navNext:function(n){this.dispatch("keybinding-nav-next",n)},navLeft:function(n){this.dispatch("keybinding-nav-left",n)},navRight:function(n){this.dispatch("keybinding-nav-right",n)},navUp:function(n){this.dispatch("keybinding-nav-up",n)},navDown:function(n){this.dispatch("keybinding-nav-down",n)},rangeJumpLeft:function(n){this.dispatch("keybinding-nav-range",n,"left",!0,!1)},rangeJumpRight:function(n){this.dispatch("keybinding-nav-range",n,"right",!0,!1)},rangeJumpUp:function(n){this.dispatch("keybinding-nav-range",n,"up",!0,!1)},rangeJumpDown:function(n){this.dispatch("keybinding-nav-range",n,"down",!0,!1)},rangeExpandLeft:function(n){this.dispatch("keybinding-nav-range",n,"left",!1,!0)},rangeExpandRight:function(n){this.dispatch("keybinding-nav-range",n,"right",!1,!0)},rangeExpandUp:function(n){this.dispatch("keybinding-nav-range",n,"up",!1,!0)},rangeExpandDown:function(n){this.dispatch("keybinding-nav-range",n,"down",!1,!0)},rangeExpandJumpLeft:function(n){this.dispatch("keybinding-nav-range",n,"left",!0,!0)},rangeExpandJumpRight:function(n){this.dispatch("keybinding-nav-range",n,"right",!0,!0)},rangeExpandJumpUp:function(n){this.dispatch("keybinding-nav-range",n,"up",!0,!0)},rangeExpandJumpDown:function(n){this.dispatch("keybinding-nav-range",n,"down",!0,!0)},undo:function(n){var e=!1;this.table.options.history&&this.table.modExists("history")&&this.table.modExists("edit")&&(e=this.table.modules.edit.currentCell,e||(n.preventDefault(),this.table.modules.history.undo()))},redo:function(n){var e=!1;this.table.options.history&&this.table.modExists("history")&&this.table.modExists("edit")&&(e=this.table.modules.edit.currentCell,e||(n.preventDefault(),this.table.modules.history.redo()))},copyToClipboard:function(n){this.table.modules.edit.currentCell||this.table.modExists("clipboard",!0)&&this.table.modules.clipboard.copy(!1,!0)}};class Vf extends qi{constructor(e){super(e),this.watchKeys=null,this.pressedKeys=null,this.keyupBinding=!1,this.keydownBinding=!1,this.registerTableOption("keybindings",{}),this.registerTableOption("tabEndNewRow",!1)}initialize(){var e=this.table.options.keybindings,r={};this.watchKeys={},this.pressedKeys=[],e!==!1&&(Object.assign(r,Vf.bindings),Object.assign(r,e),this.mapBindings(r),this.bindEvents()),this.subscribe("table-destroy",this.clearBindings.bind(this))}mapBindings(e){for(let r in e)Vf.actions[r]?e[r]&&(typeof e[r]!="object"&&(e[r]=[e[r]]),e[r].forEach(C=>{var D=Array.isArray(C)?C:[C];D.forEach(T=>{this.mapBinding(r,T)})})):console.warn("Key Binding Error - no such action:",r)}mapBinding(e,r){var C={action:Vf.actions[e],keys:[],ctrl:!1,shift:!1,meta:!1},D=r.toString().toLowerCase().split(" ").join("").split("+");D.forEach(T=>{switch(T){case"ctrl":C.ctrl=!0;break;case"shift":C.shift=!0;break;case"meta":C.meta=!0;break;default:T=isNaN(T)?T.toUpperCase().charCodeAt(0):parseInt(T),C.keys.push(T),this.watchKeys[T]||(this.watchKeys[T]=[]),this.watchKeys[T].push(C)}})}bindEvents(){var e=this;this.keyupBinding=function(r){var C=r.keyCode,D=e.watchKeys[C];D&&(e.pressedKeys.push(C),D.forEach(function(T){e.checkBinding(r,T)}))},this.keydownBinding=function(r){var C=r.keyCode,D=e.watchKeys[C];if(D){var T=e.pressedKeys.indexOf(C);T>-1&&e.pressedKeys.splice(T,1)}},this.table.element.addEventListener("keydown",this.keyupBinding),this.table.element.addEventListener("keyup",this.keydownBinding)}clearBindings(){this.keyupBinding&&this.table.element.removeEventListener("keydown",this.keyupBinding),this.keydownBinding&&this.table.element.removeEventListener("keyup",this.keydownBinding)}checkBinding(e,r){var C=!0;return e.ctrlKey==r.ctrl&&e.shiftKey==r.shift&&e.metaKey==r.meta?(r.keys.forEach(D=>{var T=this.pressedKeys.indexOf(D);T==-1&&(C=!1)}),C&&r.action.call(this,e),!0):!1}}Vf.moduleName="keybindings";Vf.bindings=pP;Vf.actions=mP;class jM extends qi{constructor(e){super(e),this.menuContainer=null,this.nestedMenuBlock=!1,this.currentComponent=null,this.rootPopup=null,this.columnSubscribers={},this.registerTableOption("menuContainer",void 0),this.registerTableOption("rowContextMenu",!1),this.registerTableOption("rowClickMenu",!1),this.registerTableOption("rowDblClickMenu",!1),this.registerTableOption("groupContextMenu",!1),this.registerTableOption("groupClickMenu",!1),this.registerTableOption("groupDblClickMenu",!1),this.registerColumnOption("headerContextMenu"),this.registerColumnOption("headerClickMenu"),this.registerColumnOption("headerDblClickMenu"),this.registerColumnOption("headerMenu"),this.registerColumnOption("headerMenuIcon"),this.registerColumnOption("contextMenu"),this.registerColumnOption("clickMenu"),this.registerColumnOption("dblClickMenu")}initialize(){this.deprecatedOptionsCheck(),this.initializeRowWatchers(),this.initializeGroupWatchers(),this.subscribe("column-init",this.initializeColumn.bind(this))}deprecatedOptionsCheck(){this.deprecationCheck("menuContainer","popupContainer")||(this.table.options.popupContainer=this.table.options.menuContainer)}initializeRowWatchers(){this.table.options.rowContextMenu&&(this.subscribe("row-contextmenu",this.loadMenuEvent.bind(this,this.table.options.rowContextMenu)),this.table.on("rowTapHold",this.loadMenuEvent.bind(this,this.table.options.rowContextMenu))),this.table.options.rowClickMenu&&this.subscribe("row-click",this.loadMenuEvent.bind(this,this.table.options.rowClickMenu)),this.table.options.rowDblClickMenu&&this.subscribe("row-dblclick",this.loadMenuEvent.bind(this,this.table.options.rowDblClickMenu))}initializeGroupWatchers(){this.table.options.groupContextMenu&&(this.subscribe("group-contextmenu",this.loadMenuEvent.bind(this,this.table.options.groupContextMenu)),this.table.on("groupTapHold",this.loadMenuEvent.bind(this,this.table.options.groupContextMenu))),this.table.options.groupClickMenu&&this.subscribe("group-click",this.loadMenuEvent.bind(this,this.table.options.groupClickMenu)),this.table.options.groupDblClickMenu&&this.subscribe("group-dblclick",this.loadMenuEvent.bind(this,this.table.options.groupDblClickMenu))}initializeColumn(e){var r=e.definition;r.headerContextMenu&&!this.columnSubscribers.headerContextMenu&&(this.columnSubscribers.headerContextMenu=this.loadMenuTableColumnEvent.bind(this,"headerContextMenu"),this.subscribe("column-contextmenu",this.columnSubscribers.headerContextMenu),this.table.on("headerTapHold",this.loadMenuTableColumnEvent.bind(this,"headerContextMenu"))),r.headerClickMenu&&!this.columnSubscribers.headerClickMenu&&(this.columnSubscribers.headerClickMenu=this.loadMenuTableColumnEvent.bind(this,"headerClickMenu"),this.subscribe("column-click",this.columnSubscribers.headerClickMenu)),r.headerDblClickMenu&&!this.columnSubscribers.headerDblClickMenu&&(this.columnSubscribers.headerDblClickMenu=this.loadMenuTableColumnEvent.bind(this,"headerDblClickMenu"),this.subscribe("column-dblclick",this.columnSubscribers.headerDblClickMenu)),r.headerMenu&&this.initializeColumnHeaderMenu(e),r.contextMenu&&!this.columnSubscribers.contextMenu&&(this.columnSubscribers.contextMenu=this.loadMenuTableCellEvent.bind(this,"contextMenu"),this.subscribe("cell-contextmenu",this.columnSubscribers.contextMenu),this.table.on("cellTapHold",this.loadMenuTableCellEvent.bind(this,"contextMenu"))),r.clickMenu&&!this.columnSubscribers.clickMenu&&(this.columnSubscribers.clickMenu=this.loadMenuTableCellEvent.bind(this,"clickMenu"),this.subscribe("cell-click",this.columnSubscribers.clickMenu)),r.dblClickMenu&&!this.columnSubscribers.dblClickMenu&&(this.columnSubscribers.dblClickMenu=this.loadMenuTableCellEvent.bind(this,"dblClickMenu"),this.subscribe("cell-dblclick",this.columnSubscribers.dblClickMenu))}initializeColumnHeaderMenu(e){var r=e.definition.headerMenuIcon,C;C=document.createElement("span"),C.classList.add("tabulator-header-popup-button"),r?(typeof r=="function"&&(r=r(e.getComponent())),r instanceof HTMLElement?C.appendChild(r):C.innerHTML=r):C.innerHTML="⋮",C.addEventListener("click",D=>{D.stopPropagation(),D.preventDefault(),this.loadMenuEvent(e.definition.headerMenu,D,e)}),e.titleElement.insertBefore(C,e.titleElement.firstChild)}loadMenuTableCellEvent(e,r,C){C._cell&&(C=C._cell),C.column.definition[e]&&this.loadMenuEvent(C.column.definition[e],r,C)}loadMenuTableColumnEvent(e,r,C){C._column&&(C=C._column),C.definition[e]&&this.loadMenuEvent(C.definition[e],r,C)}loadMenuEvent(e,r,C){C._group?C=C._group:C._row&&(C=C._row),e=typeof e=="function"?e.call(this.table,r,C.getComponent()):e,this.loadMenu(r,C,e)}loadMenu(e,r,C,D,T){var p=!(e instanceof MouseEvent),t=document.createElement("div"),d;if(t.classList.add("tabulator-menu"),p||e.preventDefault(),!(!C||!C.length)){if(D)d=T.child(t);else{if(this.nestedMenuBlock){if(this.rootPopup)return}else this.nestedMenuBlock=setTimeout(()=>{this.nestedMenuBlock=!1},100);this.rootPopup&&this.rootPopup.hide(),this.rootPopup=d=this.popup(t)}C.forEach(g=>{var i=document.createElement("div"),M=g.label,v=g.disabled;g.separator?i.classList.add("tabulator-menu-separator"):(i.classList.add("tabulator-menu-item"),typeof M=="function"&&(M=M.call(this.table,r.getComponent())),M instanceof Node?i.appendChild(M):i.innerHTML=M,typeof v=="function"&&(v=v.call(this.table,r.getComponent())),v?(i.classList.add("tabulator-menu-item-disabled"),i.addEventListener("click",f=>{f.stopPropagation()})):g.menu&&g.menu.length?i.addEventListener("click",f=>{f.stopPropagation(),this.loadMenu(f,r,g.menu,i,d)}):g.action&&i.addEventListener("click",f=>{g.action(f,r.getComponent())}),g.menu&&g.menu.length&&i.classList.add("tabulator-menu-item-submenu")),t.appendChild(i)}),t.addEventListener("click",g=>{this.rootPopup&&this.rootPopup.hide()}),d.show(D||e),d===this.rootPopup&&(this.rootPopup.hideOnBlur(()=>{this.rootPopup=null,this.currentComponent&&(this.dispatch("menu-closed",C,d),this.dispatchExternal("menuClosed",this.currentComponent.getComponent()),this.currentComponent=null)}),this.currentComponent=r,this.dispatch("menu-opened",C,d),this.dispatchExternal("menuOpened",r.getComponent()))}}}jM.moduleName="menu";class UM extends qi{constructor(e){super(e),this.placeholderElement=this.createPlaceholderElement(),this.hoverElement=!1,this.checkTimeout=!1,this.checkPeriod=250,this.moving=!1,this.toCol=!1,this.toColAfter=!1,this.startX=0,this.autoScrollMargin=40,this.autoScrollStep=5,this.autoScrollTimeout=!1,this.touchMove=!1,this.moveHover=this.moveHover.bind(this),this.endMove=this.endMove.bind(this),this.registerTableOption("movableColumns",!1)}createPlaceholderElement(){var e=document.createElement("div");return e.classList.add("tabulator-col"),e.classList.add("tabulator-col-placeholder"),e}initialize(){this.table.options.movableColumns&&(this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("alert-show",this.abortMove.bind(this)))}abortMove(){clearTimeout(this.checkTimeout)}initializeColumn(e){var r=this,C={},D;!e.modules.frozen&&!e.isGroup&&(D=e.getElement(),C.mousemove=(function(T){e.parent===r.moving.parent&&((r.touchMove?T.touches[0].pageX:T.pageX)-oo.elOffset(D).left+r.table.columnManager.contentsElement.scrollLeft>e.getWidth()/2?(r.toCol!==e||!r.toColAfter)&&(D.parentNode.insertBefore(r.placeholderElement,D.nextSibling),r.moveColumn(e,!0)):(r.toCol!==e||r.toColAfter)&&(D.parentNode.insertBefore(r.placeholderElement,D),r.moveColumn(e,!1)))}).bind(r),D.addEventListener("mousedown",function(T){r.touchMove=!1,T.which===1&&(r.checkTimeout=setTimeout(function(){r.startMove(T,e)},r.checkPeriod))}),D.addEventListener("mouseup",function(T){T.which===1&&r.checkTimeout&&clearTimeout(r.checkTimeout)}),r.bindTouchEvents(e)),e.modules.moveColumn=C}bindTouchEvents(e){var r=e.getElement(),C=!1,D,T,p,t,d,g;r.addEventListener("touchstart",i=>{this.checkTimeout=setTimeout(()=>{this.touchMove=!0,D=e.nextColumn(),p=D?D.getWidth()/2:0,T=e.prevColumn(),t=T?T.getWidth()/2:0,d=0,g=0,C=!1,this.startMove(i,e)},this.checkPeriod)},{passive:!0}),r.addEventListener("touchmove",i=>{var M,v;this.moving&&(this.moveHover(i),C||(C=i.touches[0].pageX),M=i.touches[0].pageX-C,M>0?D&&M-d>p&&(v=D,v!==e&&(C=i.touches[0].pageX,v.getElement().parentNode.insertBefore(this.placeholderElement,v.getElement().nextSibling),this.moveColumn(v,!0))):T&&-M-g>t&&(v=T,v!==e&&(C=i.touches[0].pageX,v.getElement().parentNode.insertBefore(this.placeholderElement,v.getElement()),this.moveColumn(v,!1))),v&&(D=v.nextColumn(),d=p,p=D?D.getWidth()/2:0,T=v.prevColumn(),g=t,t=T?T.getWidth()/2:0))},{passive:!0}),r.addEventListener("touchend",i=>{this.checkTimeout&&clearTimeout(this.checkTimeout),this.moving&&this.endMove(i)})}startMove(e,r){var C=r.getElement(),D=this.table.columnManager.getContentsElement(),T=this.table.columnManager.getHeadersElement();this.moving=r,this.startX=(this.touchMove?e.touches[0].pageX:e.pageX)-oo.elOffset(C).left,this.table.element.classList.add("tabulator-block-select"),this.placeholderElement.style.width=r.getWidth()+"px",this.placeholderElement.style.height=r.getHeight()+"px",C.parentNode.insertBefore(this.placeholderElement,C),C.parentNode.removeChild(C),this.hoverElement=C.cloneNode(!0),this.hoverElement.classList.add("tabulator-moving"),D.appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.bottom=D.clientHeight-T.offsetHeight+"px",this.touchMove||(this._bindMouseMove(),document.body.addEventListener("mousemove",this.moveHover),document.body.addEventListener("mouseup",this.endMove)),this.moveHover(e)}_bindMouseMove(){this.table.columnManager.columnsByIndex.forEach(function(e){e.modules.moveColumn.mousemove&&e.getElement().addEventListener("mousemove",e.modules.moveColumn.mousemove)})}_unbindMouseMove(){this.table.columnManager.columnsByIndex.forEach(function(e){e.modules.moveColumn.mousemove&&e.getElement().removeEventListener("mousemove",e.modules.moveColumn.mousemove)})}moveColumn(e,r){var C=this.moving.getCells();this.toCol=e,this.toColAfter=r,r?e.getCells().forEach(function(D,T){var p=D.getElement(!0);p.parentNode&&C[T]&&p.parentNode.insertBefore(C[T].getElement(),p.nextSibling)}):e.getCells().forEach(function(D,T){var p=D.getElement(!0);p.parentNode&&C[T]&&p.parentNode.insertBefore(C[T].getElement(),p)})}endMove(e){(e.which===1||this.touchMove)&&(this._unbindMouseMove(),this.placeholderElement.parentNode.insertBefore(this.moving.getElement(),this.placeholderElement.nextSibling),this.placeholderElement.parentNode.removeChild(this.placeholderElement),this.hoverElement.parentNode.removeChild(this.hoverElement),this.table.element.classList.remove("tabulator-block-select"),this.toCol&&this.table.columnManager.moveColumnActual(this.moving,this.toCol,this.toColAfter),this.moving=!1,this.toCol=!1,this.toColAfter=!1,this.touchMove||(document.body.removeEventListener("mousemove",this.moveHover),document.body.removeEventListener("mouseup",this.endMove)))}moveHover(e){var r=this.table.columnManager.getContentsElement(),C=r.scrollLeft,D=(this.touchMove?e.touches[0].pageX:e.pageX)-oo.elOffset(r).left+C,T;this.hoverElement.style.left=D-this.startX+"px",D-C{T=Math.max(0,C-5),this.table.rowManager.getElement().scrollLeft=T,this.autoScrollTimeout=!1},1))),C+r.clientWidth-D{T=Math.min(r.clientWidth,C+5),this.table.rowManager.getElement().scrollLeft=T,this.autoScrollTimeout=!1},1)))}}UM.moduleName="moveColumn";class $y extends qi{constructor(e){super(e),this.placeholderElement=this.createPlaceholderElement(),this.hoverElement=!1,this.checkTimeout=!1,this.checkPeriod=150,this.moving=!1,this.toRow=!1,this.toRowAfter=!1,this.hasHandle=!1,this.startY=0,this.startX=0,this.moveHover=this.moveHover.bind(this),this.endMove=this.endMove.bind(this),this.tableRowDropEvent=!1,this.touchMove=!1,this.connection=!1,this.connectionSelectorsTables=!1,this.connectionSelectorsElements=!1,this.connectionElements=[],this.connections=[],this.connectedTable=!1,this.connectedRow=!1,this.registerTableOption("movableRows",!1),this.registerTableOption("movableRowsConnectedTables",!1),this.registerTableOption("movableRowsConnectedElements",!1),this.registerTableOption("movableRowsSender",!1),this.registerTableOption("movableRowsReceiver","insert"),this.registerColumnOption("rowHandle")}createPlaceholderElement(){var e=document.createElement("div");return e.classList.add("tabulator-row"),e.classList.add("tabulator-row-placeholder"),e}initialize(){this.table.options.movableRows&&(this.connectionSelectorsTables=this.table.options.movableRowsConnectedTables,this.connectionSelectorsElements=this.table.options.movableRowsConnectedElements,this.connection=this.connectionSelectorsTables||this.connectionSelectorsElements,this.subscribe("cell-init",this.initializeCell.bind(this)),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("row-init",this.initializeRow.bind(this)))}initializeGroupHeader(e){var r=this,C={};C.mouseup=(function(D){r.tableRowDrop(D,e)}).bind(r),C.mousemove=(function(D){var T;D.pageY-oo.elOffset(e.element).top+r.table.rowManager.element.scrollTop>e.getHeight()/2?(r.toRow!==e||!r.toRowAfter)&&(T=e.getElement(),T.parentNode.insertBefore(r.placeholderElement,T.nextSibling),r.moveRow(e,!0)):(r.toRow!==e||r.toRowAfter)&&(T=e.getElement(),T.previousSibling&&(T.parentNode.insertBefore(r.placeholderElement,T),r.moveRow(e,!1)))}).bind(r),e.modules.moveRow=C}initializeRow(e){var r=this,C={},D;C.mouseup=(function(T){r.tableRowDrop(T,e)}).bind(r),C.mousemove=(function(T){var p=e.getElement();T.pageY-oo.elOffset(p).top+r.table.rowManager.element.scrollTop>e.getHeight()/2?(r.toRow!==e||!r.toRowAfter)&&(p.parentNode.insertBefore(r.placeholderElement,p.nextSibling),r.moveRow(e,!0)):(r.toRow!==e||r.toRowAfter)&&(p.parentNode.insertBefore(r.placeholderElement,p),r.moveRow(e,!1))}).bind(r),this.hasHandle||(D=e.getElement(),D.addEventListener("mousedown",function(T){T.which===1&&(r.checkTimeout=setTimeout(function(){r.startMove(T,e)},r.checkPeriod))}),D.addEventListener("mouseup",function(T){T.which===1&&r.checkTimeout&&clearTimeout(r.checkTimeout)}),this.bindTouchEvents(e,e.getElement())),e.modules.moveRow=C}initializeColumn(e){e.definition.rowHandle&&this.table.options.movableRows!==!1&&(this.hasHandle=!0)}initializeCell(e){if(e.column.definition.rowHandle&&this.table.options.movableRows!==!1){var r=this,C=e.getElement(!0);C.addEventListener("mousedown",function(D){D.which===1&&(r.checkTimeout=setTimeout(function(){r.startMove(D,e.row)},r.checkPeriod))}),C.addEventListener("mouseup",function(D){D.which===1&&r.checkTimeout&&clearTimeout(r.checkTimeout)}),this.bindTouchEvents(e.row,C)}}bindTouchEvents(e,r){var C=!1,D,T,p,t,d,g;r.addEventListener("touchstart",i=>{this.checkTimeout=setTimeout(()=>{this.touchMove=!0,D=e.nextRow(),p=D?D.getHeight()/2:0,T=e.prevRow(),t=T?T.getHeight()/2:0,d=0,g=0,C=!1,this.startMove(i,e)},this.checkPeriod)},{passive:!0}),this.moving,this.toRow,this.toRowAfter,r.addEventListener("touchmove",i=>{var M,v;this.moving&&(i.preventDefault(),this.moveHover(i),C||(C=i.touches[0].pageY),M=i.touches[0].pageY-C,M>0?D&&M-d>p&&(v=D,v!==e&&(C=i.touches[0].pageY,v.getElement().parentNode.insertBefore(this.placeholderElement,v.getElement().nextSibling),this.moveRow(v,!0))):T&&-M-g>t&&(v=T,v!==e&&(C=i.touches[0].pageY,v.getElement().parentNode.insertBefore(this.placeholderElement,v.getElement()),this.moveRow(v,!1))),v&&(D=v.nextRow(),d=p,p=D?D.getHeight()/2:0,T=v.prevRow(),g=t,t=T?T.getHeight()/2:0))}),r.addEventListener("touchend",i=>{this.checkTimeout&&clearTimeout(this.checkTimeout),this.moving&&(this.endMove(i),this.touchMove=!1)})}_bindMouseMove(){this.table.rowManager.getDisplayRows().forEach(e=>{(e.type==="row"||e.type==="group")&&e.modules.moveRow&&e.modules.moveRow.mousemove&&e.getElement().addEventListener("mousemove",e.modules.moveRow.mousemove)})}_unbindMouseMove(){this.table.rowManager.getDisplayRows().forEach(e=>{(e.type==="row"||e.type==="group")&&e.modules.moveRow&&e.modules.moveRow.mousemove&&e.getElement().removeEventListener("mousemove",e.modules.moveRow.mousemove)})}startMove(e,r){var C=r.getElement();this.setStartPosition(e,r),this.moving=r,this.table.element.classList.add("tabulator-block-select"),this.placeholderElement.style.width=r.getWidth()+"px",this.placeholderElement.style.height=r.getHeight()+"px",this.connection?(this.table.element.classList.add("tabulator-movingrow-sending"),this.connectToTables(r)):(C.parentNode.insertBefore(this.placeholderElement,C),C.parentNode.removeChild(C)),this.hoverElement=C.cloneNode(!0),this.hoverElement.classList.add("tabulator-moving"),this.connection?(document.body.appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.top="0",this.hoverElement.style.width=this.table.element.clientWidth+"px",this.hoverElement.style.whiteSpace="nowrap",this.hoverElement.style.overflow="hidden",this.hoverElement.style.pointerEvents="none"):(this.table.rowManager.getTableElement().appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.top="0",this._bindMouseMove()),document.body.addEventListener("mousemove",this.moveHover),document.body.addEventListener("mouseup",this.endMove),this.dispatchExternal("rowMoving",r.getComponent()),this.moveHover(e)}setStartPosition(e,r){var C=this.touchMove?e.touches[0].pageX:e.pageX,D=this.touchMove?e.touches[0].pageY:e.pageY,T,p;T=r.getElement(),this.connection?(p=T.getBoundingClientRect(),this.startX=p.left-C+window.pageXOffset,this.startY=p.top-D+window.pageYOffset):this.startY=D-T.getBoundingClientRect().top}endMove(e){(!e||e.which===1||this.touchMove)&&(this._unbindMouseMove(),this.connection||(this.placeholderElement.parentNode.insertBefore(this.moving.getElement(),this.placeholderElement.nextSibling),this.placeholderElement.parentNode.removeChild(this.placeholderElement)),this.hoverElement.parentNode.removeChild(this.hoverElement),this.table.element.classList.remove("tabulator-block-select"),this.toRow?this.table.rowManager.moveRow(this.moving,this.toRow,this.toRowAfter):this.dispatchExternal("rowMoveCancelled",this.moving.getComponent()),this.moving=!1,this.toRow=!1,this.toRowAfter=!1,document.body.removeEventListener("mousemove",this.moveHover),document.body.removeEventListener("mouseup",this.endMove),this.connection&&(this.table.element.classList.remove("tabulator-movingrow-sending"),this.disconnectFromTables()))}moveRow(e,r){this.toRow=e,this.toRowAfter=r}moveHover(e){this.connection?this.moveHoverConnections.call(this,e):this.moveHoverTable.call(this,e)}moveHoverTable(e){var r=this.table.rowManager.getElement(),C=r.scrollTop,D=(this.touchMove?e.touches[0].pageY:e.pageY)-r.getBoundingClientRect().top+C;this.hoverElement.style.top=Math.min(D-this.startY,this.table.rowManager.element.scrollHeight-this.hoverElement.offsetHeight)+"px"}moveHoverConnections(e){this.hoverElement.style.left=this.startX+(this.touchMove?e.touches[0].pageX:e.pageX)+"px",this.hoverElement.style.top=this.startY+(this.touchMove?e.touches[0].pageY:e.pageY)+"px"}elementRowDrop(e,r,C){this.dispatchExternal("movableRowsElementDrop",e,r,C?C.getComponent():!1)}connectToTables(e){var r;this.connectionSelectorsTables&&(r=this.commsConnections(this.connectionSelectorsTables),this.dispatchExternal("movableRowsSendingStart",r),this.commsSend(this.connectionSelectorsTables,"moveRow","connect",{row:e})),this.connectionSelectorsElements&&(this.connectionElements=[],Array.isArray(this.connectionSelectorsElements)||(this.connectionSelectorsElements=[this.connectionSelectorsElements]),this.connectionSelectorsElements.forEach(C=>{typeof C=="string"?this.connectionElements=this.connectionElements.concat(Array.prototype.slice.call(document.querySelectorAll(C))):this.connectionElements.push(C)}),this.connectionElements.forEach(C=>{var D=T=>{this.elementRowDrop(T,C,this.moving)};C.addEventListener("mouseup",D),C.tabulatorElementDropEvent=D,C.classList.add("tabulator-movingrow-receiving")}))}disconnectFromTables(){var e;this.connectionSelectorsTables&&(e=this.commsConnections(this.connectionSelectorsTables),this.dispatchExternal("movableRowsSendingStop",e),this.commsSend(this.connectionSelectorsTables,"moveRow","disconnect")),this.connectionElements.forEach(r=>{r.classList.remove("tabulator-movingrow-receiving"),r.removeEventListener("mouseup",r.tabulatorElementDropEvent),delete r.tabulatorElementDropEvent})}connect(e,r){return this.connectedTable?(console.warn("Move Row Error - Table cannot accept connection, already connected to table:",this.connectedTable),!1):(this.connectedTable=e,this.connectedRow=r,this.table.element.classList.add("tabulator-movingrow-receiving"),this.table.rowManager.getDisplayRows().forEach(C=>{C.type==="row"&&C.modules.moveRow&&C.modules.moveRow.mouseup&&C.getElement().addEventListener("mouseup",C.modules.moveRow.mouseup)}),this.tableRowDropEvent=this.tableRowDrop.bind(this),this.table.element.addEventListener("mouseup",this.tableRowDropEvent),this.dispatchExternal("movableRowsReceivingStart",r,e),!0)}disconnect(e){e===this.connectedTable?(this.connectedTable=!1,this.connectedRow=!1,this.table.element.classList.remove("tabulator-movingrow-receiving"),this.table.rowManager.getDisplayRows().forEach(r=>{r.type==="row"&&r.modules.moveRow&&r.modules.moveRow.mouseup&&r.getElement().removeEventListener("mouseup",r.modules.moveRow.mouseup)}),this.table.element.removeEventListener("mouseup",this.tableRowDropEvent),this.dispatchExternal("movableRowsReceivingStop",e)):console.warn("Move Row Error - trying to disconnect from non connected table")}dropComplete(e,r,C){var D=!1;if(C){switch(typeof this.table.options.movableRowsSender){case"string":D=this.senders[this.table.options.movableRowsSender];break;case"function":D=this.table.options.movableRowsSender;break}D?D.call(this,this.moving?this.moving.getComponent():void 0,r?r.getComponent():void 0,e):this.table.options.movableRowsSender&&console.warn("Mover Row Error - no matching sender found:",this.table.options.movableRowsSender),this.dispatchExternal("movableRowsSent",this.moving.getComponent(),r?r.getComponent():void 0,e)}else this.dispatchExternal("movableRowsSentFailed",this.moving.getComponent(),r?r.getComponent():void 0,e);this.endMove()}tableRowDrop(e,r){var C=!1,D=!1;switch(e.stopImmediatePropagation(),typeof this.table.options.movableRowsReceiver){case"string":C=this.receivers[this.table.options.movableRowsReceiver];break;case"function":C=this.table.options.movableRowsReceiver;break}C?D=C.call(this,this.connectedRow.getComponent(),r?r.getComponent():void 0,this.connectedTable):console.warn("Mover Row Error - no matching receiver found:",this.table.options.movableRowsReceiver),D?this.dispatchExternal("movableRowsReceived",this.connectedRow.getComponent(),r?r.getComponent():void 0,this.connectedTable):this.dispatchExternal("movableRowsReceivedFailed",this.connectedRow.getComponent(),r?r.getComponent():void 0,this.connectedTable),this.commsSend(this.connectedTable,"moveRow","dropcomplete",{row:r,success:D})}commsReceived(e,r,C){switch(r){case"connect":return this.connect(e,C.row);case"disconnect":return this.disconnect(e);case"dropcomplete":return this.dropComplete(e,C.row,C.success)}}}$y.prototype.receivers={insert:function(n,e,r){return this.table.addRow(n.getData(),void 0,e),!0},add:function(n,e,r){return this.table.addRow(n.getData()),!0},update:function(n,e,r){return e?(e.update(n.getData()),!0):!1},replace:function(n,e,r){return e?(this.table.addRow(n.getData(),void 0,e),e.delete(),!0):!1}};$y.prototype.senders={delete:function(n,e,r){n.delete()}};$y.moduleName="moveRow";var gP={};class o0 extends qi{constructor(e){super(e),this.allowedTypes=["","data","edit","clipboard"],this.enabled=!0,this.registerColumnOption("mutator"),this.registerColumnOption("mutatorParams"),this.registerColumnOption("mutatorData"),this.registerColumnOption("mutatorDataParams"),this.registerColumnOption("mutatorEdit"),this.registerColumnOption("mutatorEditParams"),this.registerColumnOption("mutatorClipboard"),this.registerColumnOption("mutatorClipboardParams"),this.registerColumnOption("mutateLink")}initialize(){this.subscribe("cell-value-changing",this.transformCell.bind(this)),this.subscribe("cell-value-changed",this.mutateLink.bind(this)),this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("row-data-init-before",this.rowDataChanged.bind(this)),this.subscribe("row-data-changing",this.rowDataChanged.bind(this))}rowDataChanged(e,r,C){return this.transformRow(r,"data",C)}initializeColumn(e){var r=!1,C={};this.allowedTypes.forEach(D=>{var T="mutator"+(D.charAt(0).toUpperCase()+D.slice(1)),p;e.definition[T]&&(p=this.lookupMutator(e.definition[T]),p&&(r=!0,C[T]={mutator:p,params:e.definition[T+"Params"]||{}}))}),r&&(e.modules.mutate=C)}lookupMutator(e){var r=!1;switch(typeof e){case"string":o0.mutators[e]?r=o0.mutators[e]:console.warn("Mutator Error - No such mutator found, ignoring: ",e);break;case"function":r=e;break}return r}transformRow(e,r,C){var D="mutator"+(r.charAt(0).toUpperCase()+r.slice(1)),T;return this.enabled&&this.table.columnManager.traverse(p=>{var t,d,g;p.modules.mutate&&(t=p.modules.mutate[D]||p.modules.mutate.mutator||!1,t&&(T=p.getFieldValue(typeof C<"u"?C:e),(r=="data"&&!C||typeof T<"u")&&(g=p.getComponent(),d=typeof t.params=="function"?t.params(T,e,r,g):t.params,p.setFieldValue(e,t.mutator(T,e,r,d,g)))))}),e}transformCell(e,r){if(e.column.modules.mutate){var C=e.column.modules.mutate.mutatorEdit||e.column.modules.mutate.mutator||!1,D={};if(C)return D=Object.assign(D,e.row.getData()),e.column.setFieldValue(D,r),C.mutator(r,D,"edit",C.params,e.getComponent())}return r}mutateLink(e){var r=e.column.definition.mutateLink;r&&(Array.isArray(r)||(r=[r]),r.forEach(C=>{var D=e.row.getCell(C);D&&D.setValue(D.getValue(),!0,!0)}))}enable(){this.enabled=!0}disable(){this.enabled=!1}}o0.moduleName="mutator";o0.mutators=gP;function vP(n,e,r,C,D){var T=document.createElement("span"),p=document.createElement("span"),t=document.createElement("span"),d=document.createElement("span"),g=document.createElement("span"),i=document.createElement("span");return this.table.modules.localize.langBind("pagination|counter|showing",M=>{p.innerHTML=M}),this.table.modules.localize.langBind("pagination|counter|of",M=>{d.innerHTML=M}),this.table.modules.localize.langBind("pagination|counter|rows",M=>{i.innerHTML=M}),C?(t.innerHTML=" "+e+"-"+Math.min(e+n-1,C)+" ",g.innerHTML=" "+C+" ",T.appendChild(p),T.appendChild(t),T.appendChild(d),T.appendChild(g),T.appendChild(i)):(t.innerHTML=" 0 ",T.appendChild(p),T.appendChild(t),T.appendChild(i)),T}function yP(n,e,r,C,D){var T=document.createElement("span"),p=document.createElement("span"),t=document.createElement("span"),d=document.createElement("span"),g=document.createElement("span"),i=document.createElement("span");return this.table.modules.localize.langBind("pagination|counter|showing",M=>{p.innerHTML=M}),t.innerHTML=" "+r+" ",this.table.modules.localize.langBind("pagination|counter|of",M=>{d.innerHTML=M}),g.innerHTML=" "+D+" ",this.table.modules.localize.langBind("pagination|counter|pages",M=>{i.innerHTML=M}),T.appendChild(p),T.appendChild(t),T.appendChild(d),T.appendChild(g),T.appendChild(i),T}var bP={rows:vP,pages:yP};class rg extends qi{constructor(e){super(e),this.mode="local",this.progressiveLoad=!1,this.element=null,this.pageCounterElement=null,this.pageCounter=null,this.size=0,this.page=1,this.count=5,this.max=1,this.remoteRowCountEstimate=null,this.initialLoad=!0,this.dataChanging=!1,this.pageSizes=[],this.registerTableOption("pagination",!1),this.registerTableOption("paginationMode","local"),this.registerTableOption("paginationSize",!1),this.registerTableOption("paginationInitialPage",1),this.registerTableOption("paginationCounter",!1),this.registerTableOption("paginationCounterElement",!1),this.registerTableOption("paginationButtonCount",5),this.registerTableOption("paginationSizeSelector",!1),this.registerTableOption("paginationElement",!1),this.registerTableOption("paginationAddRow","page"),this.registerTableOption("progressiveLoad",!1),this.registerTableOption("progressiveLoadDelay",0),this.registerTableOption("progressiveLoadScrollMargin",0),this.registerTableFunction("setMaxPage",this.setMaxPage.bind(this)),this.registerTableFunction("setPage",this.setPage.bind(this)),this.registerTableFunction("setPageToRow",this.userSetPageToRow.bind(this)),this.registerTableFunction("setPageSize",this.userSetPageSize.bind(this)),this.registerTableFunction("getPageSize",this.getPageSize.bind(this)),this.registerTableFunction("previousPage",this.previousPage.bind(this)),this.registerTableFunction("nextPage",this.nextPage.bind(this)),this.registerTableFunction("getPage",this.getPage.bind(this)),this.registerTableFunction("getPageMax",this.getPageMax.bind(this)),this.registerComponentFunction("row","pageTo",this.setPageToRow.bind(this))}initialize(){this.table.options.pagination?(this.subscribe("row-deleted",this.rowsUpdated.bind(this)),this.subscribe("row-added",this.rowsUpdated.bind(this)),this.subscribe("data-processed",this.initialLoadComplete.bind(this)),this.subscribe("table-built",this.calculatePageSizes.bind(this)),this.subscribe("footer-redraw",this.footerRedraw.bind(this)),this.table.options.paginationAddRow=="page"&&this.subscribe("row-adding-position",this.rowAddingPosition.bind(this)),this.table.options.paginationMode==="remote"&&(this.subscribe("data-params",this.remotePageParams.bind(this)),this.subscribe("data-loaded",this._parseRemoteData.bind(this))),this.table.options.progressiveLoad&&console.error("Progressive Load Error - Pagination and progressive load cannot be used at the same time"),this.registerDisplayHandler(this.restOnRenderBefore.bind(this),40),this.registerDisplayHandler(this.getRows.bind(this),50),this.createElements(),this.initializePageCounter(),this.initializePaginator()):this.table.options.progressiveLoad&&(this.subscribe("data-params",this.remotePageParams.bind(this)),this.subscribe("data-loaded",this._parseRemoteData.bind(this)),this.subscribe("table-built",this.calculatePageSizes.bind(this)),this.subscribe("data-processed",this.initialLoadComplete.bind(this)),this.initializeProgressive(this.table.options.progressiveLoad),this.table.options.progressiveLoad==="scroll"&&this.subscribe("scroll-vertical",this.scrollVertical.bind(this)))}rowAddingPosition(e,r){var C=this.table.rowManager,D=C.getDisplayRows(),T;return r?D.length?T=D[0]:C.activeRows.length&&(T=C.activeRows[C.activeRows.length-1],r=!1):D.length&&(T=D[D.length-1],r=!(D.length{}))}restOnRenderBefore(e,r){return r||this.mode==="local"&&this.reset(),e}rowsUpdated(){this.refreshData(!0,"all")}createElements(){var e;this.element=document.createElement("span"),this.element.classList.add("tabulator-paginator"),this.pagesElement=document.createElement("span"),this.pagesElement.classList.add("tabulator-pages"),e=document.createElement("button"),e.classList.add("tabulator-page"),e.setAttribute("type","button"),e.setAttribute("role","button"),e.setAttribute("aria-label",""),e.setAttribute("title",""),this.firstBut=e.cloneNode(!0),this.firstBut.setAttribute("data-page","first"),this.prevBut=e.cloneNode(!0),this.prevBut.setAttribute("data-page","prev"),this.nextBut=e.cloneNode(!0),this.nextBut.setAttribute("data-page","next"),this.lastBut=e.cloneNode(!0),this.lastBut.setAttribute("data-page","last"),this.table.options.paginationSizeSelector&&(this.pageSizeSelect=document.createElement("select"),this.pageSizeSelect.classList.add("tabulator-page-size"))}generatePageSizeSelectList(){var e=[];if(this.pageSizeSelect){if(Array.isArray(this.table.options.paginationSizeSelector))e=this.table.options.paginationSizeSelector,this.pageSizes=e,this.pageSizes.indexOf(this.size)==-1&&e.unshift(this.size);else if(this.pageSizes.indexOf(this.size)==-1){e=[];for(let r=1;r<5;r++)e.push(this.size*r);this.pageSizes=e}else e=this.pageSizes;for(;this.pageSizeSelect.firstChild;)this.pageSizeSelect.removeChild(this.pageSizeSelect.firstChild);e.forEach(r=>{var C=document.createElement("option");C.value=r,r===!0?this.langBind("pagination|all",function(D){C.innerHTML=D}):C.innerHTML=r,this.pageSizeSelect.appendChild(C)}),this.pageSizeSelect.value=this.size}}initializePageCounter(){var e=this.table.options.paginationCounter,r=null;e&&(typeof e=="function"?r=e:r=rg.pageCounters[e],r?(this.pageCounter=r,this.pageCounterElement=document.createElement("span"),this.pageCounterElement.classList.add("tabulator-page-counter")):console.warn("Pagination Error - No such page counter found: ",e))}initializePaginator(e){var r,C;e||(this.langBind("pagination|first",D=>{this.firstBut.innerHTML=D}),this.langBind("pagination|first_title",D=>{this.firstBut.setAttribute("aria-label",D),this.firstBut.setAttribute("title",D)}),this.langBind("pagination|prev",D=>{this.prevBut.innerHTML=D}),this.langBind("pagination|prev_title",D=>{this.prevBut.setAttribute("aria-label",D),this.prevBut.setAttribute("title",D)}),this.langBind("pagination|next",D=>{this.nextBut.innerHTML=D}),this.langBind("pagination|next_title",D=>{this.nextBut.setAttribute("aria-label",D),this.nextBut.setAttribute("title",D)}),this.langBind("pagination|last",D=>{this.lastBut.innerHTML=D}),this.langBind("pagination|last_title",D=>{this.lastBut.setAttribute("aria-label",D),this.lastBut.setAttribute("title",D)}),this.firstBut.addEventListener("click",()=>{this.setPage(1)}),this.prevBut.addEventListener("click",()=>{this.previousPage()}),this.nextBut.addEventListener("click",()=>{this.nextPage()}),this.lastBut.addEventListener("click",()=>{this.setPage(this.max)}),this.table.options.paginationElement&&(this.element=this.table.options.paginationElement),this.pageSizeSelect&&(r=document.createElement("label"),this.langBind("pagination|page_size",D=>{this.pageSizeSelect.setAttribute("aria-label",D),this.pageSizeSelect.setAttribute("title",D),r.innerHTML=D}),this.element.appendChild(r),this.element.appendChild(this.pageSizeSelect),this.pageSizeSelect.addEventListener("change",D=>{this.setPageSize(this.pageSizeSelect.value=="true"?!0:this.pageSizeSelect.value),this.setPage(1)})),this.element.appendChild(this.firstBut),this.element.appendChild(this.prevBut),this.element.appendChild(this.pagesElement),this.element.appendChild(this.nextBut),this.element.appendChild(this.lastBut),this.table.options.paginationElement||(this.table.options.paginationCounter&&(this.table.options.paginationCounterElement?this.table.options.paginationCounterElement instanceof HTMLElement?this.table.options.paginationCounterElement.appendChild(this.pageCounterElement):typeof this.table.options.paginationCounterElement=="string"&&(C=document.querySelector(this.table.options.paginationCounterElement),C?C.appendChild(this.pageCounterElement):console.warn("Pagination Error - Unable to find element matching paginationCounterElement selector:",this.table.options.paginationCounterElement)):this.footerAppend(this.pageCounterElement)),this.footerAppend(this.element)),this.page=this.table.options.paginationInitialPage,this.count=this.table.options.paginationButtonCount),this.mode=this.table.options.paginationMode}initializeProgressive(e){this.initializePaginator(!0),this.mode="progressive_"+e,this.progressiveLoad=!0}trackChanges(){this.dispatch("page-changed")}setMaxRows(e){e?this.max=this.size===!0?1:Math.ceil(e/this.size):this.max=1,this.page>this.max&&(this.page=this.max)}reset(e){this.initialLoad||(this.mode=="local"||e)&&(this.page=1,this.trackChanges())}setMaxPage(e){e=parseInt(e),this.max=e||1,this.page>this.max&&(this.page=this.max,this.trigger())}setPage(e){switch(e){case"first":return this.setPage(1);case"prev":return this.previousPage();case"next":return this.nextPage();case"last":return this.setPage(this.max)}return e=parseInt(e),e>0&&e<=this.max||this.mode!=="local"?(this.page=e,this.trackChanges(),this.trigger()):(console.warn("Pagination Error - Requested page is out of range of 1 - "+this.max+":",e),Promise.reject())}setPageToRow(e){var r=this.displayRows(-1),C=r.indexOf(e);if(C>-1){var D=this.size===!0?1:Math.ceil((C+1)/this.size);return this.setPage(D)}else return console.warn("Pagination Error - Requested row is not visible"),Promise.reject()}setPageSize(e){e!==!0&&(e=parseInt(e)),e>0&&(this.size=e,this.dispatchExternal("pageSizeChanged",e)),this.pageSizeSelect&&this.generatePageSizeSelectList(),this.trackChanges()}_setPageCounter(e,r,C){var D;if(this.pageCounter)switch(this.mode==="remote"&&(r=this.size,C=(this.page-1)*this.size+1,e=this.remoteRowCountEstimate),D=this.pageCounter.call(this,r,C,this.page,e,this.max),typeof D){case"object":if(D instanceof Node){for(;this.pageCounterElement.firstChild;)this.pageCounterElement.removeChild(this.pageCounterElement.firstChild);this.pageCounterElement.appendChild(D)}else this.pageCounterElement.innerHTML="",D!=null&&console.warn("Page Counter Error - Page Counter has returned a type of object, the only valid page counter object return is an instance of Node, the page counter returned:",D);break;case"undefined":this.pageCounterElement.innerHTML="";break;default:this.pageCounterElement.innerHTML=D}}_setPageButtons(){let e=Math.floor((this.count-1)/2),r=Math.ceil((this.count-1)/2),C=this.max-this.page+e+10&&T<=this.max&&this.pagesElement.appendChild(this._generatePageButton(T));this.footerRedraw()}_generatePageButton(e){var r=document.createElement("button");return r.classList.add("tabulator-page"),e==this.page&&r.classList.add("active"),r.setAttribute("type","button"),r.setAttribute("role","button"),this.langBind("pagination|page_title",C=>{r.setAttribute("aria-label",C+" "+e),r.setAttribute("title",C+" "+e)}),r.setAttribute("data-page",e),r.textContent=e,r.addEventListener("click",C=>{this.setPage(e)}),r}previousPage(){return this.page>1?(this.page--,this.trackChanges(),this.trigger()):(console.warn("Pagination Error - Previous page would be less than page 1:",0),Promise.reject())}nextPage(){return this.paged.type==="row");if(this.mode=="local"){C=[],this.setMaxRows(e.length),this.size===!0?(D=0,T=e.length):(D=this.size*(this.page-1),T=D+parseInt(this.size)),this._setPageButtons();for(let d=D;d{this.dataChanging=!1});case"progressive_load":case"progressive_scroll":return this.reloadData(null,!0);default:return console.warn("Pagination Error - no such pagination mode:",this.mode),Promise.reject()}}_parseRemoteData(e){var r;if(typeof e.last_page>"u"&&console.warn("Remote Pagination Error - Server response missing '"+(this.options("dataReceiveParams").last_page||"last_page")+"' property"),e.data)if(this.max=parseInt(e.last_page)||1,this.remoteRowCountEstimate=typeof e.last_row<"u"?e.last_row:e.last_page*this.size-(this.page==e.last_page?this.size-e.data.length:0),this.progressiveLoad){switch(this.mode){case"progressive_load":this.page==1?this.table.rowManager.setData(e.data,!1,this.page==1):this.table.rowManager.addRows(e.data),this.page{this.nextPage()},this.table.options.progressiveLoadDelay);break;case"progressive_scroll":e=this.page===1?e.data:this.table.rowManager.getData().concat(e.data),this.table.rowManager.setData(e,this.page!==1,this.page==1),r=this.table.options.progressiveLoadScrollMargin||this.table.rowManager.element.clientHeight*2,this.table.rowManager.element.scrollHeight<=this.table.rowManager.element.clientHeight+r&&this.page{this.nextPage()});break}return!1}else this.dispatchExternal("pageLoaded",this.getPage());else console.warn("Remote Pagination Error - Server response missing '"+(this.options("dataReceiveParams").data||"data")+"' property");return e.data}footerRedraw(){var e=this.table.footerManager.containerElement;Math.ceil(e.clientWidth)-e.scrollWidth<0?this.pagesElement.style.display="none":(this.pagesElement.style.display="",Math.ceil(e.clientWidth)-e.scrollWidth<0&&(this.pagesElement.style.display="none"))}}rg.moduleName="page";rg.pageCounters=bP;var xP={local:function(n,e){var r=localStorage.getItem(n+"-"+e);return r?JSON.parse(r):!1},cookie:function(n,e){var r=document.cookie,C=n+"-"+e,D=r.indexOf(C+"="),T,p;return D>-1&&(r=r.slice(D),T=r.indexOf(";"),T>-1&&(r=r.slice(0,T)),p=r.replace(C+"=","")),p?JSON.parse(p):!1}},_P={local:function(n,e,r){localStorage.setItem(n+"-"+e,JSON.stringify(r))},cookie:function(n,e,r){var C=new Date;C.setDate(C.getDate()+1e4),document.cookie=n+"-"+e+"="+JSON.stringify(r)+"; expires="+C.toUTCString()}};class jl extends qi{constructor(e){super(e),this.mode="",this.id="",this.defWatcherBlock=!1,this.config={},this.readFunc=!1,this.writeFunc=!1,this.registerTableOption("persistence",!1),this.registerTableOption("persistenceID",""),this.registerTableOption("persistenceMode",!0),this.registerTableOption("persistenceReaderFunc",!1),this.registerTableOption("persistenceWriterFunc",!1)}localStorageTest(){var e="_tabulator_test";try{return window.localStorage.setItem(e,e),window.localStorage.removeItem(e),!0}catch{return!1}}initialize(){if(this.table.options.persistence){var e=this.table.options.persistenceMode,r=this.table.options.persistenceID,C;this.mode=e!==!0?e:this.localStorageTest()?"local":"cookie",this.table.options.persistenceReaderFunc?typeof this.table.options.persistenceReaderFunc=="function"?this.readFunc=this.table.options.persistenceReaderFunc:jl.readers[this.table.options.persistenceReaderFunc]?this.readFunc=jl.readers[this.table.options.persistenceReaderFunc]:console.warn("Persistence Read Error - invalid reader set",this.table.options.persistenceReaderFunc):jl.readers[this.mode]?this.readFunc=jl.readers[this.mode]:console.warn("Persistence Read Error - invalid reader set",this.mode),this.table.options.persistenceWriterFunc?typeof this.table.options.persistenceWriterFunc=="function"?this.writeFunc=this.table.options.persistenceWriterFunc:jl.writers[this.table.options.persistenceWriterFunc]?this.writeFunc=jl.writers[this.table.options.persistenceWriterFunc]:console.warn("Persistence Write Error - invalid reader set",this.table.options.persistenceWriterFunc):jl.writers[this.mode]?this.writeFunc=jl.writers[this.mode]:console.warn("Persistence Write Error - invalid writer set",this.mode),this.id="tabulator-"+(r||this.table.element.getAttribute("id")||""),this.config={sort:this.table.options.persistence===!0||this.table.options.persistence.sort,filter:this.table.options.persistence===!0||this.table.options.persistence.filter,headerFilter:this.table.options.persistence===!0||this.table.options.persistence.headerFilter,group:this.table.options.persistence===!0||this.table.options.persistence.group,page:this.table.options.persistence===!0||this.table.options.persistence.page,columns:this.table.options.persistence===!0?["title","width","visible"]:this.table.options.persistence.columns},this.config.page&&(C=this.retrieveData("page"),C&&(typeof C.paginationSize<"u"&&(this.config.page===!0||this.config.page.size)&&(this.table.options.paginationSize=C.paginationSize),typeof C.paginationInitialPage<"u"&&(this.config.page===!0||this.config.page.page)&&(this.table.options.paginationInitialPage=C.paginationInitialPage))),this.config.group&&(C=this.retrieveData("group"),C&&(typeof C.groupBy<"u"&&(this.config.group===!0||this.config.group.groupBy)&&(this.table.options.groupBy=C.groupBy),typeof C.groupStartOpen<"u"&&(this.config.group===!0||this.config.group.groupStartOpen)&&(this.table.options.groupStartOpen=C.groupStartOpen),typeof C.groupHeader<"u"&&(this.config.group===!0||this.config.group.groupHeader)&&(this.table.options.groupHeader=C.groupHeader))),this.config.columns&&(this.table.options.columns=this.load("columns",this.table.options.columns),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("column-show",this.save.bind(this,"columns")),this.subscribe("column-hide",this.save.bind(this,"columns")),this.subscribe("column-moved",this.save.bind(this,"columns"))),this.subscribe("table-built",this.tableBuilt.bind(this),0),this.subscribe("table-redraw",this.tableRedraw.bind(this)),this.subscribe("filter-changed",this.eventSave.bind(this,"filter")),this.subscribe("filter-changed",this.eventSave.bind(this,"headerFilter")),this.subscribe("sort-changed",this.eventSave.bind(this,"sort")),this.subscribe("group-changed",this.eventSave.bind(this,"group")),this.subscribe("page-changed",this.eventSave.bind(this,"page")),this.subscribe("column-resized",this.eventSave.bind(this,"columns")),this.subscribe("column-width",this.eventSave.bind(this,"columns")),this.subscribe("layout-refreshed",this.eventSave.bind(this,"columns"))}this.registerTableFunction("getColumnLayout",this.getColumnLayout.bind(this)),this.registerTableFunction("setColumnLayout",this.setColumnLayout.bind(this))}eventSave(e){this.config[e]&&this.save(e)}tableBuilt(){var e,r,C;this.config.sort&&(e=this.load("sort"),e&&(this.table.options.initialSort=e)),this.config.filter&&(r=this.load("filter"),r&&(this.table.options.initialFilter=r)),this.config.headerFilter&&(C=this.load("headerFilter"),C&&(this.table.options.initialHeaderFilter=C))}tableRedraw(e){e&&this.config.columns&&this.save("columns")}getColumnLayout(){return this.parseColumns(this.table.columnManager.getColumns())}setColumnLayout(e){return this.table.columnManager.setColumns(this.mergeDefinition(this.table.options.columns,e,!0)),!0}initializeColumn(e){var r,C;this.config.columns&&(this.defWatcherBlock=!0,r=e.getDefinition(),C=this.config.columns===!0?Object.keys(r):this.config.columns,C.forEach(D=>{var T=Object.getOwnPropertyDescriptor(r,D),p=r[D];T&&Object.defineProperty(r,D,{set:t=>{p=t,this.defWatcherBlock||this.save("columns"),T.set&&T.set(t)},get:()=>(T.get&&T.get(),p)})}),this.defWatcherBlock=!1)}load(e,r){var C=this.retrieveData(e);return r&&(C=C?this.mergeDefinition(r,C):r),C}retrieveData(e){return this.readFunc?this.readFunc(this.id,e):!1}mergeDefinition(e,r,C){var D=[];return r=r||[],r.forEach((T,p)=>{var t=this._findColumn(e,T),d;t&&(C?d=Object.keys(T):this.config.columns===!0||this.config.columns==null?(d=Object.keys(t),d.push("width")):d=this.config.columns,d.forEach(g=>{g!=="columns"&&typeof T[g]<"u"&&(t[g]=T[g])}),t.columns&&(t.columns=this.mergeDefinition(t.columns,T.columns)),D.push(t))}),e.forEach((T,p)=>{var t=this._findColumn(r,T);t||(D.length>p?D.splice(p,0,T):D.push(T))}),D}_findColumn(e,r){var C=r.columns?"group":r.field?"field":"object";return e.find(function(D){switch(C){case"group":return D.title===r.title&&D.columns.length===r.columns.length;case"field":return D.field===r.field;case"object":return D===r}})}save(e){var r={};switch(e){case"columns":r=this.parseColumns(this.table.columnManager.getColumns());break;case"filter":r=this.table.modules.filter.getFilters();break;case"headerFilter":r=this.table.modules.filter.getHeaderFilters();break;case"sort":r=this.validateSorters(this.table.modules.sort.getSort());break;case"group":r=this.getGroupConfig();break;case"page":r=this.getPageConfig();break}this.writeFunc&&this.writeFunc(this.id,e,r)}validateSorters(e){return e.forEach(function(r){r.column=r.field,delete r.field}),e}getGroupConfig(){var e={};return this.config.group&&((this.config.group===!0||this.config.group.groupBy)&&(e.groupBy=this.table.options.groupBy),(this.config.group===!0||this.config.group.groupStartOpen)&&(e.groupStartOpen=this.table.options.groupStartOpen),(this.config.group===!0||this.config.group.groupHeader)&&(e.groupHeader=this.table.options.groupHeader)),e}getPageConfig(){var e={};return this.config.page&&((this.config.page===!0||this.config.page.size)&&(e.paginationSize=this.table.modules.page.getPageSize()),(this.config.page===!0||this.config.page.page)&&(e.paginationInitialPage=this.table.modules.page.getPage())),e}parseColumns(e){var r=[],C=["headerContextMenu","headerMenu","contextMenu","clickMenu"];return e.forEach(D=>{var T={},p=D.getDefinition(),t;D.isGroup?(T.title=p.title,T.columns=this.parseColumns(D.getColumns())):(T.field=D.getField(),this.config.columns===!0||this.config.columns==null?(t=Object.keys(p),t.push("width"),t.push("visible")):t=this.config.columns,t.forEach(d=>{switch(d){case"width":T.width=D.getWidth();break;case"visible":T.visible=D.visible;break;default:typeof p[d]!="function"&&C.indexOf(d)===-1&&(T[d]=p[d])}})),r.push(T)}),r}}jl.moduleName="persistence";jl.moduleInitOrder=-10;jl.readers=xP;jl.writers=_P;class HM extends qi{constructor(e){super(e),this.columnSubscribers={},this.registerTableOption("rowContextPopup",!1),this.registerTableOption("rowClickPopup",!1),this.registerTableOption("rowDblClickPopup",!1),this.registerTableOption("groupContextPopup",!1),this.registerTableOption("groupClickPopup",!1),this.registerTableOption("groupDblClickPopup",!1),this.registerColumnOption("headerContextPopup"),this.registerColumnOption("headerClickPopup"),this.registerColumnOption("headerDblClickPopup"),this.registerColumnOption("headerPopup"),this.registerColumnOption("headerPopupIcon"),this.registerColumnOption("contextPopup"),this.registerColumnOption("clickPopup"),this.registerColumnOption("dblClickPopup"),this.registerComponentFunction("cell","popup",this._componentPopupCall.bind(this)),this.registerComponentFunction("column","popup",this._componentPopupCall.bind(this)),this.registerComponentFunction("row","popup",this._componentPopupCall.bind(this)),this.registerComponentFunction("group","popup",this._componentPopupCall.bind(this))}initialize(){this.initializeRowWatchers(),this.initializeGroupWatchers(),this.subscribe("column-init",this.initializeColumn.bind(this))}_componentPopupCall(e,r,C){this.loadPopupEvent(r,null,e,C)}initializeRowWatchers(){this.table.options.rowContextPopup&&(this.subscribe("row-contextmenu",this.loadPopupEvent.bind(this,this.table.options.rowContextPopup)),this.table.on("rowTapHold",this.loadPopupEvent.bind(this,this.table.options.rowContextPopup))),this.table.options.rowClickPopup&&this.subscribe("row-click",this.loadPopupEvent.bind(this,this.table.options.rowClickPopup)),this.table.options.rowDblClickPopup&&this.subscribe("row-dblclick",this.loadPopupEvent.bind(this,this.table.options.rowDblClickPopup))}initializeGroupWatchers(){this.table.options.groupContextPopup&&(this.subscribe("group-contextmenu",this.loadPopupEvent.bind(this,this.table.options.groupContextPopup)),this.table.on("groupTapHold",this.loadPopupEvent.bind(this,this.table.options.groupContextPopup))),this.table.options.groupClickPopup&&this.subscribe("group-click",this.loadPopupEvent.bind(this,this.table.options.groupClickPopup)),this.table.options.groupDblClickPopup&&this.subscribe("group-dblclick",this.loadPopupEvent.bind(this,this.table.options.groupDblClickPopup))}initializeColumn(e){var r=e.definition;r.headerContextPopup&&!this.columnSubscribers.headerContextPopup&&(this.columnSubscribers.headerContextPopup=this.loadPopupTableColumnEvent.bind(this,"headerContextPopup"),this.subscribe("column-contextmenu",this.columnSubscribers.headerContextPopup),this.table.on("headerTapHold",this.loadPopupTableColumnEvent.bind(this,"headerContextPopup"))),r.headerClickPopup&&!this.columnSubscribers.headerClickPopup&&(this.columnSubscribers.headerClickPopup=this.loadPopupTableColumnEvent.bind(this,"headerClickPopup"),this.subscribe("column-click",this.columnSubscribers.headerClickPopup)),r.headerDblClickPopup&&!this.columnSubscribers.headerDblClickPopup&&(this.columnSubscribers.headerDblClickPopup=this.loadPopupTableColumnEvent.bind(this,"headerDblClickPopup"),this.subscribe("column-dblclick",this.columnSubscribers.headerDblClickPopup)),r.headerPopup&&this.initializeColumnHeaderPopup(e),r.contextPopup&&!this.columnSubscribers.contextPopup&&(this.columnSubscribers.contextPopup=this.loadPopupTableCellEvent.bind(this,"contextPopup"),this.subscribe("cell-contextmenu",this.columnSubscribers.contextPopup),this.table.on("cellTapHold",this.loadPopupTableCellEvent.bind(this,"contextPopup"))),r.clickPopup&&!this.columnSubscribers.clickPopup&&(this.columnSubscribers.clickPopup=this.loadPopupTableCellEvent.bind(this,"clickPopup"),this.subscribe("cell-click",this.columnSubscribers.clickPopup)),r.dblClickPopup&&!this.columnSubscribers.dblClickPopup&&(this.columnSubscribers.dblClickPopup=this.loadPopupTableCellEvent.bind(this,"dblClickPopup"),this.subscribe("cell-click",this.columnSubscribers.dblClickPopup))}initializeColumnHeaderPopup(e){var r=e.definition.headerPopupIcon,C;C=document.createElement("span"),C.classList.add("tabulator-header-popup-button"),r?(typeof r=="function"&&(r=r(e.getComponent())),r instanceof HTMLElement?C.appendChild(r):C.innerHTML=r):C.innerHTML="⋮",C.addEventListener("click",D=>{D.stopPropagation(),D.preventDefault(),this.loadPopupEvent(e.definition.headerPopup,D,e)}),e.titleElement.insertBefore(C,e.titleElement.firstChild)}loadPopupTableCellEvent(e,r,C){C._cell&&(C=C._cell),C.column.definition[e]&&this.loadPopupEvent(C.column.definition[e],r,C)}loadPopupTableColumnEvent(e,r,C){C._column&&(C=C._column),C.definition[e]&&this.loadPopupEvent(C.definition[e],r,C)}loadPopupEvent(e,r,C,D){var T;function p(t){T=t}C._group?C=C._group:C._row&&(C=C._row),e=typeof e=="function"?e.call(this.table,r,C.getComponent(),p):e,this.loadPopup(r,C,e,T,D)}loadPopup(e,r,C,D,T){var p=!(e instanceof MouseEvent),t,d;C instanceof HTMLElement?t=C:(t=document.createElement("div"),t.innerHTML=C),t.classList.add("tabulator-popup"),t.addEventListener("click",g=>{g.stopPropagation()}),p||e.preventDefault(),d=this.popup(t),typeof D=="function"&&d.renderCallback(D),e?d.show(e):d.show(r.getElement(),T||"center"),d.hideOnBlur(()=>{this.dispatchExternal("popupClosed",r.getComponent())}),this.dispatchExternal("popupOpened",r.getComponent())}}HM.moduleName="popup";class GM extends qi{constructor(e){super(e),this.element=!1,this.manualBlock=!1,this.beforeprintEventHandler=null,this.afterprintEventHandler=null,this.registerTableOption("printAsHtml",!1),this.registerTableOption("printFormatter",!1),this.registerTableOption("printHeader",!1),this.registerTableOption("printFooter",!1),this.registerTableOption("printStyled",!0),this.registerTableOption("printRowRange","visible"),this.registerTableOption("printConfig",{}),this.registerColumnOption("print"),this.registerColumnOption("titlePrint")}initialize(){this.table.options.printAsHtml&&(this.beforeprintEventHandler=this.replaceTable.bind(this),this.afterprintEventHandler=this.cleanup.bind(this),window.addEventListener("beforeprint",this.beforeprintEventHandler),window.addEventListener("afterprint",this.afterprintEventHandler),this.subscribe("table-destroy",this.destroy.bind(this))),this.registerTableFunction("print",this.printFullscreen.bind(this))}destroy(){this.table.options.printAsHtml&&(window.removeEventListener("beforeprint",this.beforeprintEventHandler),window.removeEventListener("afterprint",this.afterprintEventHandler))}replaceTable(){this.manualBlock||(this.element=document.createElement("div"),this.element.classList.add("tabulator-print-table"),this.element.appendChild(this.table.modules.export.generateTable(this.table.options.printConfig,this.table.options.printStyled,this.table.options.printRowRange,"print")),this.table.element.style.display="none",this.table.element.parentNode.insertBefore(this.element,this.table.element))}cleanup(){document.body.classList.remove("tabulator-print-fullscreen-hide"),this.element&&this.element.parentNode&&(this.element.parentNode.removeChild(this.element),this.table.element.style.display="")}printFullscreen(e,r,C){var D=window.scrollX,T=window.scrollY,p=document.createElement("div"),t=document.createElement("div"),d=this.table.modules.export.generateTable(typeof C<"u"?C:this.table.options.printConfig,typeof r<"u"?r:this.table.options.printStyled,e||this.table.options.printRowRange,"print"),g,i;this.manualBlock=!0,this.element=document.createElement("div"),this.element.classList.add("tabulator-print-fullscreen"),this.table.options.printHeader&&(p.classList.add("tabulator-print-header"),g=typeof this.table.options.printHeader=="function"?this.table.options.printHeader.call(this.table):this.table.options.printHeader,typeof g=="string"?p.innerHTML=g:p.appendChild(g),this.element.appendChild(p)),this.element.appendChild(d),this.table.options.printFooter&&(t.classList.add("tabulator-print-footer"),i=typeof this.table.options.printFooter=="function"?this.table.options.printFooter.call(this.table):this.table.options.printFooter,typeof i=="string"?t.innerHTML=i:t.appendChild(i),this.element.appendChild(t)),document.body.classList.add("tabulator-print-fullscreen-hide"),document.body.appendChild(this.element),this.table.options.printFormatter&&this.table.options.printFormatter(this.element,d),window.print(),this.cleanup(),window.scrollTo(D,T),this.manualBlock=!1}}GM.moduleName="print";class qM extends qi{constructor(e){super(e),this.data=!1,this.blocked=!1,this.origFuncs={},this.currentVersion=0,this.registerTableOption("reactiveData",!1)}initialize(){this.table.options.reactiveData&&(this.subscribe("cell-value-save-before",this.block.bind(this,"cellsave")),this.subscribe("cell-value-save-after",this.unblock.bind(this,"cellsave")),this.subscribe("row-data-save-before",this.block.bind(this,"rowsave")),this.subscribe("row-data-save-after",this.unblock.bind(this,"rowsave")),this.subscribe("row-data-init-after",this.watchRow.bind(this)),this.subscribe("data-processing",this.watchData.bind(this)),this.subscribe("table-destroy",this.unwatchData.bind(this)))}watchData(e){var r=this,C;this.currentVersion++,C=this.currentVersion,this.unwatchData(),this.data=e,this.origFuncs.push=e.push,Object.defineProperty(this.data,"push",{enumerable:!1,configurable:!0,value:function(){var D=Array.from(arguments),T;return!r.blocked&&C===r.currentVersion&&(r.block("data-push"),D.forEach(p=>{r.table.rowManager.addRowActual(p,!1)}),T=r.origFuncs.push.apply(e,arguments),r.unblock("data-push")),T}}),this.origFuncs.unshift=e.unshift,Object.defineProperty(this.data,"unshift",{enumerable:!1,configurable:!0,value:function(){var D=Array.from(arguments),T;return!r.blocked&&C===r.currentVersion&&(r.block("data-unshift"),D.forEach(p=>{r.table.rowManager.addRowActual(p,!0)}),T=r.origFuncs.unshift.apply(e,arguments),r.unblock("data-unshift")),T}}),this.origFuncs.shift=e.shift,Object.defineProperty(this.data,"shift",{enumerable:!1,configurable:!0,value:function(){var D,T;return!r.blocked&&C===r.currentVersion&&(r.block("data-shift"),r.data.length&&(D=r.table.rowManager.getRowFromDataObject(r.data[0]),D&&D.deleteActual()),T=r.origFuncs.shift.call(e),r.unblock("data-shift")),T}}),this.origFuncs.pop=e.pop,Object.defineProperty(this.data,"pop",{enumerable:!1,configurable:!0,value:function(){var D,T;return!r.blocked&&C===r.currentVersion&&(r.block("data-pop"),r.data.length&&(D=r.table.rowManager.getRowFromDataObject(r.data[r.data.length-1]),D&&D.deleteActual()),T=r.origFuncs.pop.call(e),r.unblock("data-pop")),T}}),this.origFuncs.splice=e.splice,Object.defineProperty(this.data,"splice",{enumerable:!1,configurable:!0,value:function(){var D=Array.from(arguments),T=D[0]<0?e.length+D[0]:D[0],p=D[1],t=D[2]?D.slice(2):!1,d,g;if(!r.blocked&&C===r.currentVersion){if(r.block("data-splice"),t&&(d=e[T]?r.table.rowManager.getRowFromDataObject(e[T]):!1,d?t.forEach(M=>{r.table.rowManager.addRowActual(M,!0,d,!0)}):(t=t.slice().reverse(),t.forEach(M=>{r.table.rowManager.addRowActual(M,!0,!1,!0)}))),p!==0){var i=e.slice(T,typeof D[1]>"u"?D[1]:T+p);i.forEach((M,v)=>{var f=r.table.rowManager.getRowFromDataObject(M);f&&f.deleteActual(v!==i.length-1)})}(t||p!==0)&&r.table.rowManager.reRenderInPosition(),g=r.origFuncs.splice.apply(e,arguments),r.unblock("data-splice")}return g}})}unwatchData(){if(this.data!==!1)for(var e in this.origFuncs)Object.defineProperty(this.data,e,{enumerable:!0,configurable:!0,writable:!0,value:this.origFuncs.key})}watchRow(e){var r=e.getData();for(var C in r)this.watchKey(e,r,C);this.table.options.dataTree&&this.watchTreeChildren(e)}watchTreeChildren(e){var r=this,C=e.getData()[this.table.options.dataTreeChildField],D={};C&&(D.push=C.push,Object.defineProperty(C,"push",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-push");var T=D.push.apply(C,arguments);this.rebuildTree(e),r.unblock("tree-push")}return T}}),D.unshift=C.unshift,Object.defineProperty(C,"unshift",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-unshift");var T=D.unshift.apply(C,arguments);this.rebuildTree(e),r.unblock("tree-unshift")}return T}}),D.shift=C.shift,Object.defineProperty(C,"shift",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-shift");var T=D.shift.call(C);this.rebuildTree(e),r.unblock("tree-shift")}return T}}),D.pop=C.pop,Object.defineProperty(C,"pop",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-pop");var T=D.pop.call(C);this.rebuildTree(e),r.unblock("tree-pop")}return T}}),D.splice=C.splice,Object.defineProperty(C,"splice",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-splice");var T=D.splice.apply(C,arguments);this.rebuildTree(e),r.unblock("tree-splice")}return T}}))}rebuildTree(e){this.table.modules.dataTree.initializeRow(e),this.table.modules.dataTree.layoutRow(e),this.table.rowManager.refreshActiveData("tree",!1,!0)}watchKey(e,r,C){var D=this,T=Object.getOwnPropertyDescriptor(r,C),p=r[C],t=this.currentVersion;Object.defineProperty(r,C,{set:d=>{if(p=d,!D.blocked&&t===D.currentVersion){D.block("key");var g={};g[C]=d,e.updateData(g),D.unblock("key")}T.set&&T.set(d)},get:()=>(T.get&&T.get(),p)})}unwatchRow(e){var r=e.getData();for(var C in r)Object.defineProperty(r,C,{value:r[C]})}block(e){this.blocked||(this.blocked=e)}unblock(e){this.blocked===e&&(this.blocked=!1)}}qM.moduleName="reactiveData";class WM extends qi{constructor(e){super(e),this.startColumn=!1,this.startX=!1,this.startWidth=!1,this.latestX=!1,this.handle=null,this.initialNextColumn=null,this.nextColumn=null,this.initialized=!1,this.registerColumnOption("resizable",!0),this.registerTableOption("resizableColumnFit",!1)}initialize(){this.subscribe("column-rendered",this.layoutColumnHeader.bind(this))}initializeEventWatchers(){this.initialized||(this.subscribe("cell-rendered",this.layoutCellHandles.bind(this)),this.subscribe("cell-delete",this.deInitializeComponent.bind(this)),this.subscribe("cell-height",this.resizeHandle.bind(this)),this.subscribe("column-moved",this.columnLayoutUpdated.bind(this)),this.subscribe("column-hide",this.deInitializeColumn.bind(this)),this.subscribe("column-show",this.columnLayoutUpdated.bind(this)),this.subscribe("column-width",this.columnWidthUpdated.bind(this)),this.subscribe("column-delete",this.deInitializeComponent.bind(this)),this.subscribe("column-height",this.resizeHandle.bind(this)),this.initialized=!0)}layoutCellHandles(e){e.row.type==="row"&&(this.deInitializeComponent(e),this.initializeColumn("cell",e,e.column,e.element))}layoutColumnHeader(e){e.definition.resizable&&(this.initializeEventWatchers(),this.deInitializeComponent(e),this.initializeColumn("header",e,e,e.element))}columnLayoutUpdated(e){var r=e.prevColumn();this.reinitializeColumn(e),r&&this.reinitializeColumn(r)}columnWidthUpdated(e){e.modules.frozen&&(this.table.modules.frozenColumns.leftColumns.includes(e)?this.table.modules.frozenColumns.leftColumns.forEach(r=>{this.reinitializeColumn(r)}):this.table.modules.frozenColumns.rightColumns.includes(e)&&this.table.modules.frozenColumns.rightColumns.forEach(r=>{this.reinitializeColumn(r)}))}frozenColumnOffset(e){var r=!1;return e.modules.frozen&&(r=e.modules.frozen.marginValue,e.modules.frozen.position==="left"?r+=e.getWidth()-3:r&&(r-=3)),r!==!1?r+"px":!1}reinitializeColumn(e){var r=this.frozenColumnOffset(e);e.cells.forEach(C=>{C.modules.resize&&C.modules.resize.handleEl&&(r&&(C.modules.resize.handleEl.style[e.modules.frozen.position]=r,C.modules.resize.handleEl.style["z-index"]=11),C.element.after(C.modules.resize.handleEl))}),e.modules.resize&&e.modules.resize.handleEl&&(r&&(e.modules.resize.handleEl.style[e.modules.frozen.position]=r),e.element.after(e.modules.resize.handleEl))}initializeColumn(e,r,C,D){var T=this,p=!1,t=C.definition.resizable,d={},g=C.getLastColumn();if(e==="header"&&(p=C.definition.formatter=="textarea"||C.definition.variableHeight,d={variableHeight:p}),(t===!0||t==e)&&this._checkResizability(g)){var i=document.createElement("span");i.className="tabulator-col-resize-handle",i.addEventListener("click",function(v){v.stopPropagation()});var M=function(v){T.startColumn=C,T.initialNextColumn=T.nextColumn=g.nextColumn(),T._mouseDown(v,g,i)};i.addEventListener("mousedown",M),i.addEventListener("touchstart",M,{passive:!0}),i.addEventListener("dblclick",v=>{var f=g.getWidth();v.stopPropagation(),g.reinitializeWidth(!0),f!==g.getWidth()&&(T.dispatch("column-resized",g),T.table.externalEvents.dispatch("columnResized",g.getComponent()))}),C.modules.frozen&&(i.style.position="sticky",i.style[C.modules.frozen.position]=this.frozenColumnOffset(C)),d.handleEl=i,D.parentNode&&C.visible&&D.after(i)}r.modules.resize=d}deInitializeColumn(e){this.deInitializeComponent(e),e.cells.forEach(r=>{this.deInitializeComponent(r)})}deInitializeComponent(e){var r;e.modules.resize&&(r=e.modules.resize.handleEl,r&&r.parentElement&&r.parentElement.removeChild(r))}resizeHandle(e,r){e.modules.resize&&e.modules.resize.handleEl&&(e.modules.resize.handleEl.style.height=r)}_checkResizability(e){return e.definition.resizable}_mouseDown(e,r,C){var D=this;D.table.element.classList.add("tabulator-block-select");function T(t){var d=typeof t.screenX>"u"?t.touches[0].screenX:t.screenX,g=d-D.startX,i=d-D.latestX,M,v;if(D.latestX=d,D.table.rtl&&(g=-g,i=-i),M=r.width==r.minWidth||r.width==r.maxWidth,r.setWidth(D.startWidth+g),v=r.width==r.minWidth||r.width==r.maxWidth,i<0&&(D.nextColumn=D.initialNextColumn),D.table.options.resizableColumnFit&&D.nextColumn&&!(M&&v)){let f=D.nextColumn.getWidth();i>0&&f<=D.nextColumn.minWidth&&(D.nextColumn=D.nextColumn.nextColumn()),D.nextColumn&&D.nextColumn.setWidth(D.nextColumn.getWidth()-i)}D.table.columnManager.rerenderColumns(!0),!D.table.browserSlow&&r.modules.resize&&r.modules.resize.variableHeight&&r.checkCellHeights()}function p(t){D.startColumn.modules.edit&&(D.startColumn.modules.edit.blocked=!1),D.table.browserSlow&&r.modules.resize&&r.modules.resize.variableHeight&&r.checkCellHeights(),document.body.removeEventListener("mouseup",p),document.body.removeEventListener("mousemove",T),C.removeEventListener("touchmove",T),C.removeEventListener("touchend",p),D.table.element.classList.remove("tabulator-block-select"),D.startWidth!==r.getWidth()&&(D.table.columnManager.verticalAlignHeaders(),D.dispatch("column-resized",r),D.table.externalEvents.dispatch("columnResized",r.getComponent()))}e.stopPropagation(),D.startColumn.modules.edit&&(D.startColumn.modules.edit.blocked=!0),D.startX=typeof e.screenX>"u"?e.touches[0].screenX:e.screenX,D.latestX=D.startX,D.startWidth=r.getWidth(),document.body.addEventListener("mousemove",T),document.body.addEventListener("mouseup",p),C.addEventListener("touchmove",T,{passive:!0}),C.addEventListener("touchend",p)}}WM.moduleName="resizeColumns";class YM extends qi{constructor(e){super(e),this.startColumn=!1,this.startY=!1,this.startHeight=!1,this.handle=null,this.prevHandle=null,this.registerTableOption("resizableRows",!1)}initialize(){this.table.options.resizableRows&&this.subscribe("row-layout-after",this.initializeRow.bind(this))}initializeRow(e){var r=this,C=e.getElement(),D=document.createElement("div");D.className="tabulator-row-resize-handle";var T=document.createElement("div");T.className="tabulator-row-resize-handle prev",D.addEventListener("click",function(d){d.stopPropagation()});var p=function(d){r.startRow=e,r._mouseDown(d,e,D)};D.addEventListener("mousedown",p),D.addEventListener("touchstart",p,{passive:!0}),T.addEventListener("click",function(d){d.stopPropagation()});var t=function(d){var g=r.table.rowManager.prevDisplayRow(e);g&&(r.startRow=g,r._mouseDown(d,g,T))};T.addEventListener("mousedown",t),T.addEventListener("touchstart",t,{passive:!0}),C.appendChild(D),C.appendChild(T)}_mouseDown(e,r,C){var D=this;D.table.element.classList.add("tabulator-block-select");function T(t){r.setHeight(D.startHeight+((typeof t.screenY>"u"?t.touches[0].screenY:t.screenY)-D.startY))}function p(t){document.body.removeEventListener("mouseup",T),document.body.removeEventListener("mousemove",T),C.removeEventListener("touchmove",T),C.removeEventListener("touchend",p),D.table.element.classList.remove("tabulator-block-select"),D.dispatchExternal("rowResized",r.getComponent())}e.stopPropagation(),D.startY=typeof e.screenY>"u"?e.touches[0].screenY:e.screenY,D.startHeight=r.getHeight(),document.body.addEventListener("mousemove",T),document.body.addEventListener("mouseup",p),C.addEventListener("touchmove",T,{passive:!0}),C.addEventListener("touchend",p)}}YM.moduleName="resizeRows";class $M extends qi{constructor(e){super(e),this.binding=!1,this.visibilityObserver=!1,this.resizeObserver=!1,this.containerObserver=!1,this.tableHeight=0,this.tableWidth=0,this.containerHeight=0,this.containerWidth=0,this.autoResize=!1,this.visible=!1,this.initialized=!1,this.initialRedraw=!1,this.registerTableOption("autoResize",!0)}initialize(){if(this.table.options.autoResize){var e=this.table,r;this.tableHeight=e.element.clientHeight,this.tableWidth=e.element.clientWidth,e.element.parentNode&&(this.containerHeight=e.element.parentNode.clientHeight,this.containerWidth=e.element.parentNode.clientWidth),typeof IntersectionObserver<"u"&&typeof ResizeObserver<"u"&&e.rowManager.getRenderMode()==="virtual"?(this.initializeVisibilityObserver(),this.autoResize=!0,this.resizeObserver=new ResizeObserver(C=>{if(!e.browserMobile||e.browserMobile&&(!e.modules.edit||e.modules.edit&&!e.modules.edit.currentCell)){var D=Math.floor(C[0].contentRect.height),T=Math.floor(C[0].contentRect.width);(this.tableHeight!=D||this.tableWidth!=T)&&(this.tableHeight=D,this.tableWidth=T,e.element.parentNode&&(this.containerHeight=e.element.parentNode.clientHeight,this.containerWidth=e.element.parentNode.clientWidth),this.redrawTable())}}),this.resizeObserver.observe(e.element),r=window.getComputedStyle(e.element),this.table.element.parentNode&&!this.table.rowManager.fixedHeight&&(r.getPropertyValue("max-height")||r.getPropertyValue("min-height"))&&(this.containerObserver=new ResizeObserver(C=>{if(!e.browserMobile||e.browserMobile&&(!e.modules.edit||e.modules.edit&&!e.modules.edit.currentCell)){var D=Math.floor(C[0].contentRect.height),T=Math.floor(C[0].contentRect.width);(this.containerHeight!=D||this.containerWidth!=T)&&(this.containerHeight=D,this.containerWidth=T,this.tableHeight=e.element.clientHeight,this.tableWidth=e.element.clientWidth),this.redrawTable()}}),this.containerObserver.observe(this.table.element.parentNode)),this.subscribe("table-resize",this.tableResized.bind(this))):(this.binding=function(){(!e.browserMobile||e.browserMobile&&(!e.modules.edit||e.modules.edit&&!e.modules.edit.currentCell))&&(e.columnManager.rerenderColumns(!0),e.redraw())},window.addEventListener("resize",this.binding)),this.subscribe("table-destroy",this.clearBindings.bind(this))}}initializeVisibilityObserver(){this.visibilityObserver=new IntersectionObserver(e=>{this.visible=e[0].isIntersecting,this.initialized?this.visible&&(this.redrawTable(this.initialRedraw),this.initialRedraw=!1):(this.initialized=!0,this.initialRedraw=!this.visible)}),this.visibilityObserver.observe(this.table.element)}redrawTable(e){this.initialized&&this.visible&&(this.table.columnManager.rerenderColumns(!0),this.table.redraw(e))}tableResized(){this.table.rowManager.redraw()}clearBindings(){this.binding&&window.removeEventListener("resize",this.binding),this.resizeObserver&&this.resizeObserver.unobserve(this.table.element),this.visibilityObserver&&this.visibilityObserver.unobserve(this.table.element),this.containerObserver&&this.containerObserver.unobserve(this.table.element.parentNode)}}$M.moduleName="resizeTable";class ZM extends qi{constructor(e){super(e),this.columns=[],this.hiddenColumns=[],this.mode="",this.index=0,this.collapseFormatter=[],this.collapseStartOpen=!0,this.collapseHandleColumn=!1,this.registerTableOption("responsiveLayout",!1),this.registerTableOption("responsiveLayoutCollapseStartOpen",!0),this.registerTableOption("responsiveLayoutCollapseUseFormatters",!0),this.registerTableOption("responsiveLayoutCollapseFormatter",!1),this.registerColumnOption("responsive")}initialize(){this.table.options.responsiveLayout&&(this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("column-show",this.updateColumnVisibility.bind(this)),this.subscribe("column-hide",this.updateColumnVisibility.bind(this)),this.subscribe("columns-loaded",this.initializeResponsivity.bind(this)),this.subscribe("column-moved",this.initializeResponsivity.bind(this)),this.subscribe("column-add",this.initializeResponsivity.bind(this)),this.subscribe("column-delete",this.initializeResponsivity.bind(this)),this.subscribe("table-redrawing",this.tableRedraw.bind(this)),this.table.options.responsiveLayout==="collapse"&&(this.subscribe("row-data-changed",this.generateCollapsedRowContent.bind(this)),this.subscribe("row-init",this.initializeRow.bind(this)),this.subscribe("row-layout",this.layoutRow.bind(this))))}tableRedraw(e){["fitColumns","fitDataStretch"].indexOf(this.layoutMode())===-1&&(e||this.update())}initializeResponsivity(){var e=[];this.mode=this.table.options.responsiveLayout,this.collapseFormatter=this.table.options.responsiveLayoutCollapseFormatter||this.formatCollapsedData,this.collapseStartOpen=this.table.options.responsiveLayoutCollapseStartOpen,this.hiddenColumns=[],this.table.columnManager.columnsByIndex.forEach((r,C)=>{r.modules.responsive&&r.modules.responsive.order&&r.modules.responsive.visible&&(r.modules.responsive.index=C,e.push(r),!r.visible&&this.mode==="collapse"&&this.hiddenColumns.push(r))}),e=e.reverse(),e=e.sort((r,C)=>{var D=C.modules.responsive.order-r.modules.responsive.order;return D||C.modules.responsive.index-r.modules.responsive.index}),this.columns=e,this.mode==="collapse"&&this.generateCollapsedContent();for(let r of this.table.columnManager.columnsByIndex)if(r.definition.formatter=="responsiveCollapse"){this.collapseHandleColumn=r;break}this.collapseHandleColumn&&(this.hiddenColumns.length?this.collapseHandleColumn.show():this.collapseHandleColumn.hide())}initializeColumn(e){var r=e.getDefinition();e.modules.responsive={order:typeof r.responsive>"u"?1:r.responsive,visible:r.visible!==!1}}initializeRow(e){var r;e.type!=="calc"&&(r=document.createElement("div"),r.classList.add("tabulator-responsive-collapse"),e.modules.responsiveLayout={element:r,open:this.collapseStartOpen},this.collapseStartOpen||(r.style.display="none"))}layoutRow(e){var r=e.getElement();e.modules.responsiveLayout&&(r.appendChild(e.modules.responsiveLayout.element),this.generateCollapsedRowContent(e))}updateColumnVisibility(e,r){!r&&e.modules.responsive&&(e.modules.responsive.visible=e.visible,this.initializeResponsivity())}hideColumn(e){var r=this.hiddenColumns.length;e.hide(!1,!0),this.mode==="collapse"&&(this.hiddenColumns.unshift(e),this.generateCollapsedContent(),this.collapseHandleColumn&&!r&&this.collapseHandleColumn.show())}showColumn(e){var r;e.show(!1,!0),e.setWidth(e.getWidth()),this.mode==="collapse"&&(r=this.hiddenColumns.indexOf(e),r>-1&&this.hiddenColumns.splice(r,1),this.generateCollapsedContent(),this.collapseHandleColumn&&!this.hiddenColumns.length&&this.collapseHandleColumn.hide())}update(){for(var e=!0;e;){let r=this.table.modules.layout.getMode()=="fitColumns"?this.table.columnManager.getFlexBaseWidth():this.table.columnManager.getWidth(),C=(this.table.options.headerVisible?this.table.columnManager.element.clientWidth:this.table.element.clientWidth)-r;if(C<0){let D=this.columns[this.index];D?(this.hideColumn(D),this.index++):e=!1}else{let D=this.columns[this.index-1];D&&C>0&&C>=D.getWidth()?(this.showColumn(D),this.index--):e=!1}this.table.rowManager.activeRowsCount||this.table.rowManager.renderEmptyScroll()}}generateCollapsedContent(){var e=this.table.rowManager.getDisplayRows();e.forEach(r=>{this.generateCollapsedRowContent(r)})}generateCollapsedRowContent(e){var r,C;if(e.modules.responsiveLayout){for(r=e.modules.responsiveLayout.element;r.firstChild;)r.removeChild(r.firstChild);C=this.collapseFormatter(this.generateCollapsedRowData(e)),C&&r.appendChild(C)}}generateCollapsedRowData(e){var r=e.getData(),C=[],D;return this.hiddenColumns.forEach(T=>{var p=T.getFieldValue(r);if(T.definition.title&&T.field)if(T.modules.format&&this.table.options.responsiveLayoutCollapseUseFormatters){let d=function(g){g()};var t=d;D={value:!1,data:{},getValue:function(){return p},getData:function(){return r},getType:function(){return"cell"},getElement:function(){return document.createElement("div")},getRow:function(){return e.getComponent()},getColumn:function(){return T.getComponent()},getTable:()=>this.table},C.push({field:T.field,title:T.definition.title,value:T.modules.format.formatter.call(this.table.modules.format,D,T.modules.format.params,d)})}else C.push({field:T.field,title:T.definition.title,value:p})}),C}formatCollapsedData(e){var r=document.createElement("table");return e.forEach(function(C){var D=document.createElement("tr"),T=document.createElement("td"),p=document.createElement("td"),t,d=document.createElement("strong");T.appendChild(d),this.langBind("columns|"+C.field,function(g){d.innerHTML=g||C.title}),C.value instanceof Node?(t=document.createElement("div"),t.appendChild(C.value),p.appendChild(t)):p.innerHTML=C.value,D.appendChild(T),D.appendChild(p),r.appendChild(D)},this),Object.keys(e).length?r:""}}ZM.moduleName="responsiveLayout";class XM extends qi{constructor(e){super(e),this.selecting=!1,this.lastClickedRow=!1,this.selectPrev=[],this.selectedRows=[],this.headerCheckboxElement=null,this.registerTableOption("selectableRows","highlight"),this.registerTableOption("selectableRowsRangeMode","drag"),this.registerTableOption("selectableRowsRollingSelection",!0),this.registerTableOption("selectableRowsPersistence",!0),this.registerTableOption("selectableRowsCheck",function(r,C){return!0}),this.registerTableFunction("selectRow",this.selectRows.bind(this)),this.registerTableFunction("deselectRow",this.deselectRows.bind(this)),this.registerTableFunction("toggleSelectRow",this.toggleRow.bind(this)),this.registerTableFunction("getSelectedRows",this.getSelectedRows.bind(this)),this.registerTableFunction("getSelectedData",this.getSelectedData.bind(this)),this.registerComponentFunction("row","select",this.selectRows.bind(this)),this.registerComponentFunction("row","deselect",this.deselectRows.bind(this)),this.registerComponentFunction("row","toggleSelect",this.toggleRow.bind(this)),this.registerComponentFunction("row","isSelected",this.isRowSelected.bind(this))}initialize(){this.deprecatedOptionsCheck(),this.table.options.selectableRows==="highlight"&&this.table.options.selectableRange&&(this.table.options.selectableRows=!1),this.table.options.selectableRows!==!1&&(this.subscribe("row-init",this.initializeRow.bind(this)),this.subscribe("row-deleting",this.rowDeleted.bind(this)),this.subscribe("rows-wipe",this.clearSelectionData.bind(this)),this.subscribe("rows-retrieve",this.rowRetrieve.bind(this)),this.table.options.selectableRows&&!this.table.options.selectableRowsPersistence&&this.subscribe("data-refreshing",this.deselectRows.bind(this)))}deprecatedOptionsCheck(){this.deprecationCheck("selectable","selectableRows",!0),this.deprecationCheck("selectableRollingSelection","selectableRowsRollingSelection",!0),this.deprecationCheck("selectableRangeMode","selectableRowsRangeMode",!0),this.deprecationCheck("selectablePersistence","selectableRowsPersistence",!0),this.deprecationCheck("selectableCheck","selectableRowsCheck",!0)}rowRetrieve(e,r){return e==="selected"?this.selectedRows:r}rowDeleted(e){this._deselectRow(e,!0)}clearSelectionData(e){var r=this.selectedRows.length;this.selecting=!1,this.lastClickedRow=!1,this.selectPrev=[],this.selectedRows=[],r&&e!==!0&&this._rowSelectionChanged()}initializeRow(e){var r=this,C=r.checkRowSelectability(e),D=e.getElement(),T=function(){setTimeout(function(){r.selecting=!1},50),document.body.removeEventListener("mouseup",T)};e.modules.select={selected:!1},D.classList.toggle("tabulator-selectable",C),D.classList.toggle("tabulator-unselectable",!C),r.checkRowSelectability(e)&&r.table.options.selectableRows&&r.table.options.selectableRows!="highlight"&&(r.table.options.selectableRowsRangeMode==="click"?D.addEventListener("click",this.handleComplexRowClick.bind(this,e)):(D.addEventListener("click",function(p){(!r.table.modExists("edit")||!r.table.modules.edit.getCurrentCell())&&r.table._clearSelection(),r.selecting||r.toggleRow(e)}),D.addEventListener("mousedown",function(p){if(p.shiftKey)return r.table._clearSelection(),r.selecting=!0,r.selectPrev=[],document.body.addEventListener("mouseup",T),document.body.addEventListener("keyup",T),r.toggleRow(e),!1}),D.addEventListener("mouseenter",function(p){r.selecting&&(r.table._clearSelection(),r.toggleRow(e),r.selectPrev[1]==e&&r.toggleRow(r.selectPrev[0]))}),D.addEventListener("mouseout",function(p){r.selecting&&(r.table._clearSelection(),r.selectPrev.unshift(e))})))}handleComplexRowClick(e,r){if(r.shiftKey){this.table._clearSelection(),this.lastClickedRow=this.lastClickedRow||e;var C=this.table.rowManager.getDisplayRowIndex(this.lastClickedRow),D=this.table.rowManager.getDisplayRowIndex(e),T=C<=D?C:D,p=C>=D?C:D,t=this.table.rowManager.getDisplayRows().slice(0),d=t.splice(T,p-T+1);r.ctrlKey||r.metaKey?(d.forEach(g=>{g!==this.lastClickedRow&&(this.table.options.selectableRows!==!0&&!this.isRowSelected(e)?this.selectedRows.lengththis.table.options.selectableRows&&(d=d.slice(0,this.table.options.selectableRows)),this.selectRows(d)),this.table._clearSelection()}else r.ctrlKey||r.metaKey?(this.toggleRow(e),this.lastClickedRow=e):(this.deselectRows(void 0,!0),this.selectRows(e),this.lastClickedRow=e)}checkRowSelectability(e){return e&&e.type==="row"?this.table.options.selectableRowsCheck.call(this.table,e.getComponent()):!1}toggleRow(e){this.checkRowSelectability(e)&&(e.modules.select&&e.modules.select.selected?this._deselectRow(e):this._selectRow(e))}selectRows(e){var r=[],C,D;switch(typeof e){case"undefined":C=this.table.rowManager.rows;break;case"number":C=this.table.rowManager.findRow(e);break;case"string":C=this.table.rowManager.findRow(e),C||(C=this.table.rowManager.getRows(e));break;default:C=e;break}Array.isArray(C)?C.length&&(C.forEach(T=>{D=this._selectRow(T,!0,!0),D&&r.push(D)}),this._rowSelectionChanged(!1,r)):C&&this._selectRow(C,!1,!0)}_selectRow(e,r,C){if(!isNaN(this.table.options.selectableRows)&&this.table.options.selectableRows!==!0&&!C&&this.selectedRows.length>=this.table.options.selectableRows)if(this.table.options.selectableRowsRollingSelection)this._deselectRow(this.selectedRows[0]);else return!1;var D=this.table.rowManager.findRow(e);if(D){if(this.selectedRows.indexOf(D)==-1)return D.getElement().classList.add("tabulator-selected"),D.modules.select||(D.modules.select={}),D.modules.select.selected=!0,D.modules.select.checkboxEl&&(D.modules.select.checkboxEl.checked=!0),this.selectedRows.push(D),this.table.options.dataTreeSelectPropagate&&this.childRowSelection(D,!0),this.dispatchExternal("rowSelected",D.getComponent()),this._rowSelectionChanged(r,D),D}else r||console.warn("Selection Error - No such row found, ignoring selection:"+e)}isRowSelected(e){return this.selectedRows.indexOf(e)!==-1}deselectRows(e,r){var C=[],D,T;switch(typeof e){case"undefined":D=Object.assign([],this.selectedRows);break;case"number":D=this.table.rowManager.findRow(e);break;case"string":D=this.table.rowManager.findRow(e),D||(D=this.table.rowManager.getRows(e));break;default:D=e;break}Array.isArray(D)?D.length&&(D.forEach(p=>{T=this._deselectRow(p,!0,!0),T&&C.push(T)}),this._rowSelectionChanged(r,[],C)):D&&this._deselectRow(D,r,!0)}_deselectRow(e,r){var C=this,D=C.table.rowManager.findRow(e),T,p;if(D){if(T=C.selectedRows.findIndex(function(t){return t==D}),T>-1)return p=D.getElement(),p&&p.classList.remove("tabulator-selected"),D.modules.select||(D.modules.select={}),D.modules.select.selected=!1,D.modules.select.checkboxEl&&(D.modules.select.checkboxEl.checked=!1),C.selectedRows.splice(T,1),this.table.options.dataTreeSelectPropagate&&this.childRowSelection(D,!1),this.dispatchExternal("rowDeselected",D.getComponent()),C._rowSelectionChanged(r,void 0,D),D}else r||console.warn("Deselection Error - No such row found, ignoring selection:"+e)}getSelectedData(){var e=[];return this.selectedRows.forEach(function(r){e.push(r.getData())}),e}getSelectedRows(){var e=[];return this.selectedRows.forEach(function(r){e.push(r.getComponent())}),e}_rowSelectionChanged(e,r=[],C=[]){this.headerCheckboxElement&&(this.selectedRows.length===0?(this.headerCheckboxElement.checked=!1,this.headerCheckboxElement.indeterminate=!1):this.table.rowManager.rows.length===this.selectedRows.length?(this.headerCheckboxElement.checked=!0,this.headerCheckboxElement.indeterminate=!1):(this.headerCheckboxElement.indeterminate=!0,this.headerCheckboxElement.checked=!1)),e||(Array.isArray(r)||(r=[r]),r=r.map(D=>D.getComponent()),Array.isArray(C)||(C=[C]),C=C.map(D=>D.getComponent()),this.dispatchExternal("rowSelectionChanged",this.getSelectedData(),this.getSelectedRows(),r,C))}registerRowSelectCheckbox(e,r){e._row.modules.select||(e._row.modules.select={}),e._row.modules.select.checkboxEl=r}registerHeaderSelectCheckbox(e){this.headerCheckboxElement=e}childRowSelection(e,r){var C=this.table.modules.dataTree.getChildren(e,!0);if(r)for(let D of C)this._selectRow(D,!0);else for(let D of C)this._deselectRow(D,!0)}}XM.moduleName="selectRow";function wP(n,e,r,C,D,T,p){var t=p.alignEmptyValues,d=p.decimalSeparator,g=p.thousandSeparator,i=0;if(n=String(n),e=String(e),g&&(n=n.split(g).join(""),e=e.split(g).join("")),d&&(n=n.split(d).join("."),e=e.split(d).join(".")),n=parseFloat(n),e=parseFloat(e),isNaN(n))i=isNaN(e)?0:-1;else if(isNaN(e))i=1;else return n-e;return(t==="top"&&T==="desc"||t==="bottom"&&T==="asc")&&(i*=-1),i}function TP(n,e,r,C,D,T,p){var t=p.alignEmptyValues,d=0,g;if(!n)d=e?-1:0;else if(!e)d=1;else{switch(typeof p.locale){case"boolean":p.locale&&(g=this.langLocale());break;case"string":g=p.locale;break}return String(n).toLowerCase().localeCompare(String(e).toLowerCase(),g)}return(t==="top"&&T==="desc"||t==="bottom"&&T==="asc")&&(d*=-1),d}function q2(n,e,r,C,D,T,p){var t=window.DateTime||luxon.DateTime,d=p.format||"dd/MM/yyyy HH:mm:ss",g=p.alignEmptyValues,i=0;if(typeof t<"u"){if(t.isDateTime(n)||(d==="iso"?n=t.fromISO(String(n)):n=t.fromFormat(String(n),d)),t.isDateTime(e)||(d==="iso"?e=t.fromISO(String(e)):e=t.fromFormat(String(e),d)),!n.isValid)i=e.isValid?-1:0;else if(!e.isValid)i=1;else return n-e;return(g==="top"&&T==="desc"||g==="bottom"&&T==="asc")&&(i*=-1),i}else console.error("Sort Error - 'datetime' sorter is dependant on luxon.js")}function kP(n,e,r,C,D,T,p){return p.format||(p.format="dd/MM/yyyy"),q2.call(this,n,e,r,C,D,T,p)}function MP(n,e,r,C,D,T,p){return p.format||(p.format="HH:mm"),q2.call(this,n,e,r,C,D,T,p)}function AP(n,e,r,C,D,T,p){var t=n===!0||n==="true"||n==="True"||n===1?1:0,d=e===!0||e==="true"||e==="True"||e===1?1:0;return t-d}function SP(n,e,r,C,D,T,p){var t=p.type||"length",d=p.alignEmptyValues,g=0;function i(M){var v;switch(t){case"length":v=M.length;break;case"sum":v=M.reduce(function(f,l){return f+l});break;case"max":v=Math.max.apply(null,M);break;case"min":v=Math.min.apply(null,M);break;case"avg":v=M.reduce(function(f,l){return f+l})/M.length;break}return v}if(!Array.isArray(n))g=Array.isArray(e)?-1:0;else if(!Array.isArray(e))g=1;else return i(e)-i(n);return(d==="top"&&T==="desc"||d==="bottom"&&T==="asc")&&(g*=-1),g}function CP(n,e,r,C,D,T,p){var t=typeof n>"u"?0:1,d=typeof e>"u"?0:1;return t-d}function EP(n,e,r,C,D,T,p){var t,d,g,i,M=0,v,f=/(\d+)|(\D+)/g,l=/\d/,a=p.alignEmptyValues,u=0;if(!n&&n!==0)u=!e&&e!==0?0:-1;else if(!e&&e!==0)u=1;else{if(isFinite(n)&&isFinite(e))return n-e;if(t=String(n).toLowerCase(),d=String(e).toLowerCase(),t===d)return 0;if(!(l.test(t)&&l.test(d)))return t>d?1:-1;for(t=t.match(f),d=d.match(f),v=t.length>d.length?d.length:t.length;Mi?1:-1;return t.length>d.length}return(a==="top"&&T==="desc"||a==="bottom"&&T==="asc")&&(u*=-1),u}var LP={number:wP,string:TP,date:kP,time:MP,datetime:q2,boolean:AP,array:SP,exists:CP,alphanum:EP};class jd extends qi{constructor(e){super(e),this.sortList=[],this.changed=!1,this.registerTableOption("sortMode","local"),this.registerTableOption("initialSort",!1),this.registerTableOption("columnHeaderSortMulti",!0),this.registerTableOption("sortOrderReverse",!1),this.registerTableOption("headerSortElement","
"),this.registerTableOption("headerSortClickElement","header"),this.registerColumnOption("sorter"),this.registerColumnOption("sorterParams"),this.registerColumnOption("headerSort",!0),this.registerColumnOption("headerSortStartingDir"),this.registerColumnOption("headerSortTristate")}initialize(){this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("table-built",this.tableBuilt.bind(this)),this.registerDataHandler(this.sort.bind(this),20),this.registerTableFunction("setSort",this.userSetSort.bind(this)),this.registerTableFunction("getSorters",this.getSort.bind(this)),this.registerTableFunction("clearSort",this.clearSort.bind(this)),this.table.options.sortMode==="remote"&&this.subscribe("data-params",this.remoteSortParams.bind(this))}tableBuilt(){this.table.options.initialSort&&this.setSort(this.table.options.initialSort)}remoteSortParams(e,r,C,D){var T=this.getSort();return T.forEach(p=>{delete p.column}),D.sort=T,D}userSetSort(e,r){this.setSort(e,r),this.refreshSort()}clearSort(){this.clear(),this.refreshSort()}initializeColumn(e){var r=!1,C,D;switch(typeof e.definition.sorter){case"string":jd.sorters[e.definition.sorter]?r=jd.sorters[e.definition.sorter]:console.warn("Sort Error - No such sorter found: ",e.definition.sorter);break;case"function":r=e.definition.sorter;break}if(e.modules.sort={sorter:r,dir:"none",params:e.definition.sorterParams||{},startingDir:e.definition.headerSortStartingDir||"asc",tristate:e.definition.headerSortTristate},e.definition.headerSort!==!1){switch(C=e.getElement(),C.classList.add("tabulator-sortable"),D=document.createElement("div"),D.classList.add("tabulator-col-sorter"),this.table.options.headerSortClickElement){case"icon":D.classList.add("tabulator-col-sorter-element");break;case"header":C.classList.add("tabulator-col-sorter-element");break;default:C.classList.add("tabulator-col-sorter-element");break}switch(this.table.options.headerSortElement){case"function":break;case"object":D.appendChild(this.table.options.headerSortElement);break;default:D.innerHTML=this.table.options.headerSortElement}e.titleHolderElement.appendChild(D),e.modules.sort.element=D,this.setColumnHeaderSortIcon(e,"none"),this.table.options.headerSortClickElement==="icon"&&D.addEventListener("mousedown",T=>{T.stopPropagation()}),(this.table.options.headerSortClickElement==="icon"?D:C).addEventListener("click",T=>{var p="",t=[],d=!1;if(e.modules.sort){if(e.modules.sort.tristate)e.modules.sort.dir=="none"?p=e.modules.sort.startingDir:e.modules.sort.dir==e.modules.sort.startingDir?p=e.modules.sort.dir=="asc"?"desc":"asc":p="none";else switch(e.modules.sort.dir){case"asc":p="desc";break;case"desc":p="asc";break;default:p=e.modules.sort.startingDir}this.table.options.columnHeaderSortMulti&&(T.shiftKey||T.ctrlKey)?(t=this.getSort(),d=t.findIndex(g=>g.field===e.getField()),d>-1?(t[d].dir=p,d=t.splice(d,1)[0],p!="none"&&t.push(d)):p!="none"&&t.push({column:e,dir:p}),this.setSort(t)):p=="none"?this.clear():this.setSort(e,p),this.refreshSort()}})}}refreshSort(){this.table.options.sortMode==="remote"?this.reloadData(null,!1,!1):this.refreshData(!0)}hasChanged(){var e=this.changed;return this.changed=!1,e}getSort(){var e=this,r=[];return e.sortList.forEach(function(C){C.column&&r.push({column:C.column.getComponent(),field:C.column.getField(),dir:C.dir})}),r}setSort(e,r){var C=this,D=[];Array.isArray(e)||(e=[{column:e,dir:r}]),e.forEach(function(T){var p;p=C.table.columnManager.findColumn(T.column),p?(T.column=p,D.push(T),C.changed=!0):console.warn("Sort Warning - Sort field does not exist and is being ignored: ",T.column)}),C.sortList=D,this.dispatch("sort-changed")}clear(){this.setSort([])}findSorter(e){var r=this.table.rowManager.activeRows[0],C="string",D,T;if(r&&(r=r.getData(),D=e.getField(),D))switch(T=e.getFieldValue(r),typeof T){case"undefined":C="string";break;case"boolean":C="boolean";break;default:!isNaN(T)&&T!==""?C="number":T.match(/((^[0-9]+[a-z]+)|(^[a-z]+[0-9]+))+$/i)&&(C="alphanum");break}return jd.sorters[C]}sort(e){var r=this,C=this.table.options.sortOrderReverse?r.sortList.slice().reverse():r.sortList,D=[],T=[];return this.subscribedExternal("dataSorting")&&this.dispatchExternal("dataSorting",r.getSort()),r.clearColumnHeaders(),this.table.options.sortMode!=="remote"?(C.forEach(function(p,t){var d;p.column&&(d=p.column.modules.sort,d&&(d.sorter||(d.sorter=r.findSorter(p.column)),p.params=typeof d.params=="function"?d.params(p.column.getComponent(),p.dir):d.params,D.push(p)),r.setColumnHeader(p.column,p.dir))}),D.length&&r._sortItems(e,D)):C.forEach(function(p,t){r.setColumnHeader(p.column,p.dir)}),this.subscribedExternal("dataSorted")&&(e.forEach(p=>{T.push(p.getComponent())}),this.dispatchExternal("dataSorted",r.getSort(),T)),e}clearColumnHeaders(){this.table.columnManager.getRealColumns().forEach(e=>{e.modules.sort&&(e.modules.sort.dir="none",e.getElement().setAttribute("aria-sort","none"),this.setColumnHeaderSortIcon(e,"none"))})}setColumnHeader(e,r){e.modules.sort.dir=r,e.getElement().setAttribute("aria-sort",r==="asc"?"ascending":"descending"),this.setColumnHeaderSortIcon(e,r)}setColumnHeaderSortIcon(e,r){var C=e.modules.sort.element,D;if(e.definition.headerSort&&typeof this.table.options.headerSortElement=="function"){for(;C.firstChild;)C.removeChild(C.firstChild);D=this.table.options.headerSortElement.call(this.table,e.getComponent(),r),typeof D=="object"?C.appendChild(D):C.innerHTML=D}}_sortItems(e,r){var C=r.length-1;e.sort((D,T)=>{for(var p,t=C;t>=0;t--){let d=r[t];if(p=this._sortRow(D,T,d.column,d.dir,d.params),p!==0)break}return p})}_sortRow(e,r,C,D,T){var p,t,d=D=="asc"?e:r,g=D=="asc"?r:e;return e=C.getFieldValue(d.getData()),r=C.getFieldValue(g.getData()),e=typeof e<"u"?e:"",r=typeof r<"u"?r:"",p=d.getComponent(),t=g.getComponent(),C.modules.sort.sorter.call(this,e,r,p,t,C.getComponent(),D,T)}}jd.moduleName="sort";jd.sorters=LP;class IP{constructor(e){return this._range=e,new Proxy(this,{get:function(r,C,D){return typeof r[C]<"u"?r[C]:r._range.table.componentFunctionBinder.handle("range",r._range,C)}})}getElement(){return this._range.element}getData(){return this._range.getData()}getCells(){return this._range.getCells(!0)}getStructuredCells(){return this._range.getStructuredCells()}getRows(){return this._range.getRows().map(e=>e.getComponent())}getColumns(){return this._range.getColumns().map(e=>e.getComponent())}getBounds(){return this._range.getBounds()}getTopEdge(){return this._range.top}getBottomEdge(){return this._range.bottom}getLeftEdge(){return this._range.left}getRightEdge(){return this._range.right}setBounds(e,r){this._range.destroyedGuard("setBounds")&&this._range.setBounds(e&&e._cell,r&&r._cell)}setStartBound(e){this._range.destroyedGuard("setStartBound")&&(this._range.setEndBound(e&&e._cell),this._range.rangeManager.layoutElement())}setEndBound(e){this._range.destroyedGuard("setEndBound")&&(this._range.setEndBound(e&&e._cell),this._range.rangeManager.layoutElement())}clearValues(){this._range.destroyedGuard("clearValues")&&this._range.clearValues()}remove(){this._range.destroyedGuard("remove")&&this._range.destroy(!0)}}class RP extends kl{constructor(e,r,C,D){super(e),this.rangeManager=r,this.element=null,this.initialized=!1,this.initializing={start:!1,end:!1},this.destroyed=!1,this.top=0,this.bottom=0,this.left=0,this.right=0,this.table=e,this.start={row:0,col:0},this.end={row:0,col:0},this.rangeManager.rowHeader&&(this.left=1,this.right=1,this.start.col=1,this.end.col=1),this.initElement(),setTimeout(()=>{this.initBounds(C,D)})}initElement(){this.element=document.createElement("div"),this.element.classList.add("tabulator-range")}initBounds(e,r){this._updateMinMax(),e&&this.setBounds(e,r||e)}setStart(e,r){(this.start.row!==e||this.start.col!==r)&&(this.start.row=e,this.start.col=r,this.initializing.start=!0,this._updateMinMax())}setEnd(e,r){(this.end.row!==e||this.end.col!==r)&&(this.end.row=e,this.end.col=r,this.initializing.end=!0,this._updateMinMax())}setBounds(e,r,C){e&&this.setStartBound(e),this.setEndBound(r||e),this.rangeManager.layoutElement(C)}setStartBound(e){var r,C;e.type==="column"?this.rangeManager.columnSelection&&this.setStart(0,e.getPosition()-1):(r=e.row.position-1,C=e.column.getPosition()-1,e.column===this.rangeManager.rowHeader?this.setStart(r,1):this.setStart(r,C))}setEndBound(e){var r=this._getTableRows().length,C,D,T;e.type==="column"?this.rangeManager.columnSelection&&(this.rangeManager.selecting==="column"?this.setEnd(r-1,e.getPosition()-1):this.rangeManager.selecting==="cell"&&this.setEnd(0,e.getPosition()-1)):(C=e.row.position-1,D=e.column.getPosition()-1,T=e.column===this.rangeManager.rowHeader,this.rangeManager.selecting==="row"?this.setEnd(C,this._getTableColumns().length-1):this.rangeManager.selecting!=="row"&&T?this.setEnd(C,0):this.rangeManager.selecting==="column"?this.setEnd(r-1,D):this.setEnd(C,D))}_updateMinMax(){this.top=Math.min(this.start.row,this.end.row),this.bottom=Math.max(this.start.row,this.end.row),this.left=Math.min(this.start.col,this.end.col),this.right=Math.max(this.start.col,this.end.col),this.initialized?this.dispatchExternal("rangeChanged",this.getComponent()):this.initializing.start&&this.initializing.end&&(this.initialized=!0,this.dispatchExternal("rangeAdded",this.getComponent()))}_getTableColumns(){return this.table.columnManager.getVisibleColumnsByIndex()}_getTableRows(){return this.table.rowManager.getDisplayRows()}layout(){var e=this.table.rowManager.renderer.vDomTop,r=this.table.rowManager.renderer.vDomBottom,C=this.table.columnManager.renderer.leftCol,D=this.table.columnManager.renderer.rightCol,T,p,t,d,g,i;e==null&&(e=0),r==null&&(r=1/0),C==null&&(C=0),D==null&&(D=1/0),this.overlaps(C,e,D,r)&&(T=Math.max(this.top,e),p=Math.min(this.bottom,r),t=Math.max(this.left,C),d=Math.min(this.right,D),g=this.rangeManager.getCell(T,t),i=this.rangeManager.getCell(p,d),this.element.classList.add("tabulator-range-active"),this.element.style.left=g.row.getElement().offsetLeft+g.getElement().offsetLeft+"px",this.element.style.top=g.row.getElement().offsetTop+"px",this.element.style.width=i.getElement().offsetLeft+i.getElement().offsetWidth-g.getElement().offsetLeft+"px",this.element.style.height=i.row.getElement().offsetTop+i.row.getElement().offsetHeight-g.row.getElement().offsetTop+"px")}atTopLeft(e){return e.row.position-1===this.top&&e.column.getPosition()-1===this.left}atBottomRight(e){return e.row.position-1===this.bottom&&e.column.getPosition()-1===this.right}occupies(e){return this.occupiesRow(e.row)&&this.occupiesColumn(e.column)}occupiesRow(e){return this.top<=e.position-1&&e.position-1<=this.bottom}occupiesColumn(e){return this.left<=e.getPosition()-1&&e.getPosition()-1<=this.right}overlaps(e,r,C,D){return!(this.left>C||e>this.right||this.top>D||r>this.bottom)}getData(){var e=[],r=this.getRows(),C=this.getColumns();return r.forEach(D=>{var T=D.getData(),p={};C.forEach(t=>{p[t.field]=T[t.field]}),e.push(p)}),e}getCells(e,r){var C=[],D=this.getRows(),T=this.getColumns();return e?C=D.map(p=>{var t=[];return p.getCells().forEach(d=>{T.includes(d.column)&&t.push(r?d.getComponent():d)}),t}):D.forEach(p=>{p.getCells().forEach(t=>{T.includes(t.column)&&C.push(r?t.getComponent():t)})}),C}getStructuredCells(){return this.getCells(!0,!0)}getRows(){return this._getTableRows().slice(this.top,this.bottom+1)}getColumns(){return this._getTableColumns().slice(this.left,this.right+1)}clearValues(){var e=this.getCells(),r=this.table.options.selectableRangeClearCellsValue;this.table.blockRedraw(),e.forEach(C=>{C.setValue(r)}),this.table.restoreRedraw()}getBounds(e){var r=this.getCells(!1,e),C={start:null,end:null};return r.length?(C.start=r[0],C.end=r[r.length-1]):console.warn("No bounds defined on range"),C}getComponent(){return this.component||(this.component=new IP(this)),this.component}destroy(e){this.destroyed=!0,this.element.remove(),e&&this.rangeManager.rangeRemoved(this),this.initialized&&this.dispatchExternal("rangeRemoved",this.getComponent())}destroyedGuard(e){return this.destroyed&&console.warn("You cannot call the "+e+" function on a destroyed range"),!this.destroyed}}class KM extends qi{constructor(e){super(e),this.selecting="cell",this.mousedown=!1,this.ranges=[],this.overlay=null,this.rowHeader=null,this.layoutChangeTimeout=null,this.columnSelection=!1,this.rowSelection=!1,this.maxRanges=0,this.activeRange=!1,this.blockKeydown=!1,this.keyDownEvent=this._handleKeyDown.bind(this),this.mouseUpEvent=this._handleMouseUp.bind(this),this.registerTableOption("selectableRange",!1),this.registerTableOption("selectableRangeColumns",!1),this.registerTableOption("selectableRangeRows",!1),this.registerTableOption("selectableRangeClearCells",!1),this.registerTableOption("selectableRangeClearCellsValue",void 0),this.registerTableFunction("getRangesData",this.getRangesData.bind(this)),this.registerTableFunction("getRanges",this.getRanges.bind(this)),this.registerTableFunction("addRange",this.addRangeFromComponent.bind(this)),this.registerComponentFunction("cell","getRanges",this.cellGetRanges.bind(this)),this.registerComponentFunction("row","getRanges",this.rowGetRanges.bind(this)),this.registerComponentFunction("column","getRanges",this.colGetRanges.bind(this))}initialize(){this.options("selectableRange")&&(this.options("selectableRows")?console.warn("SelectRange functionality cannot be used in conjunction with row selection"):(this.maxRanges=this.options("selectableRange"),this.initializeTable(),this.initializeWatchers()))}initializeTable(){this.overlay=document.createElement("div"),this.overlay.classList.add("tabulator-range-overlay"),this.rangeContainer=document.createElement("div"),this.rangeContainer.classList.add("tabulator-range-container"),this.activeRangeCellElement=document.createElement("div"),this.activeRangeCellElement.classList.add("tabulator-range-cell-active"),this.overlay.appendChild(this.rangeContainer),this.overlay.appendChild(this.activeRangeCellElement),this.table.rowManager.element.addEventListener("keydown",this.keyDownEvent),this.resetRanges(),this.table.rowManager.element.appendChild(this.overlay),this.table.columnManager.element.setAttribute("tabindex",0),this.table.element.classList.add("tabulator-ranges")}initializeWatchers(){this.columnSelection=this.options("selectableRangeColumns"),this.rowSelection=this.options("selectableRangeRows"),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("column-mousedown",this.handleColumnMouseDown.bind(this)),this.subscribe("column-mousemove",this.handleColumnMouseMove.bind(this)),this.subscribe("column-resized",this.handleColumnResized.bind(this)),this.subscribe("column-width",this.layoutChange.bind(this)),this.subscribe("column-height",this.layoutChange.bind(this)),this.subscribe("column-resized",this.layoutChange.bind(this)),this.subscribe("columns-loaded",this.updateHeaderColumn.bind(this)),this.subscribe("cell-height",this.layoutChange.bind(this)),this.subscribe("cell-rendered",this.renderCell.bind(this)),this.subscribe("cell-mousedown",this.handleCellMouseDown.bind(this)),this.subscribe("cell-mousemove",this.handleCellMouseMove.bind(this)),this.subscribe("cell-click",this.handleCellClick.bind(this)),this.subscribe("cell-editing",this.handleEditingCell.bind(this)),this.subscribe("page-changed",this.redraw.bind(this)),this.subscribe("scroll-vertical",this.layoutChange.bind(this)),this.subscribe("scroll-horizontal",this.layoutChange.bind(this)),this.subscribe("data-destroy",this.tableDestroyed.bind(this)),this.subscribe("data-processed",this.resetRanges.bind(this)),this.subscribe("table-layout",this.layoutElement.bind(this)),this.subscribe("table-redraw",this.redraw.bind(this)),this.subscribe("table-destroy",this.tableDestroyed.bind(this)),this.subscribe("edit-editor-clear",this.finishEditingCell.bind(this)),this.subscribe("edit-blur",this.restoreFocus.bind(this)),this.subscribe("keybinding-nav-prev",this.keyNavigate.bind(this,"left")),this.subscribe("keybinding-nav-next",this.keyNavigate.bind(this,"right")),this.subscribe("keybinding-nav-left",this.keyNavigate.bind(this,"left")),this.subscribe("keybinding-nav-right",this.keyNavigate.bind(this,"right")),this.subscribe("keybinding-nav-up",this.keyNavigate.bind(this,"up")),this.subscribe("keybinding-nav-down",this.keyNavigate.bind(this,"down")),this.subscribe("keybinding-nav-range",this.keyNavigateRange.bind(this))}initializeColumn(e){this.columnSelection&&e.definition.headerSort&&this.options("headerSortClickElement")!=="icon"&&console.warn("Using column headerSort with selectableRangeColumns option may result in unpredictable behavior. Consider using headerSortClickElement: 'icon'."),e.modules.edit}updateHeaderColumn(){this.rowSelection&&(this.rowHeader=this.table.columnManager.getVisibleColumnsByIndex()[0],this.rowHeader&&(this.rowHeader.definition.cssClass=this.rowHeader.definition.cssClass+" tabulator-range-row-header",this.rowHeader.definition.headerSort&&console.warn("Using column headerSort with selectableRangeRows option may result in unpredictable behavior"),this.rowHeader.definition.editor&&console.warn("Using column editor with selectableRangeRows option may result in unpredictable behavior")))}getRanges(){return this.ranges.map(e=>e.getComponent())}getRangesData(){return this.ranges.map(e=>e.getData())}addRangeFromComponent(e,r){return e=e?e._cell:null,r=r?r._cell:null,this.addRange(e,r)}cellGetRanges(e){var r=[];return e.column===this.rowHeader?r=this.ranges.filter(C=>C.occupiesRow(e.row)):r=this.ranges.filter(C=>C.occupies(e)),r.map(C=>C.getComponent())}rowGetRanges(e){var r=this.ranges.filter(C=>C.occupiesRow(e));return r.map(C=>C.getComponent())}colGetRanges(e){var r=this.ranges.filter(C=>C.occupiesColumn(e));return r.map(C=>C.getComponent())}_handleMouseUp(e){this.mousedown=!1,document.removeEventListener("mouseup",this.mouseUpEvent)}_handleKeyDown(e){if(!this.blockKeydown&&(!this.table.modules.edit||this.table.modules.edit&&!this.table.modules.edit.currentCell)){if(e.key==="Enter"){if(this.table.modules.edit&&this.table.modules.edit.currentCell)return;this.table.modules.edit.editCell(this.getActiveCell()),e.preventDefault()}(e.key==="Backspace"||e.key==="Delete")&&this.options("selectableRangeClearCells")&&this.activeRange&&this.activeRange.clearValues()}}initializeFocus(e){var r;try{document.selection?(r=document.body.createTextRange(),r.moveToElementText(e.getElement()),r.select()):window.getSelection&&(r=document.createRange(),r.selectNode(e.getElement()),window.getSelection().removeAllRanges(),window.getSelection().addRange(r))}catch{}}restoreFocus(e){return this.table.rowManager.element.focus(),!0}handleColumnResized(e){var r;this.selecting!=="column"&&this.selecting!=="all"||(r=this.ranges.some(C=>C.occupiesColumn(e)),r&&this.ranges.forEach(C=>{var D=C.getColumns(!0);D.forEach(T=>{T!==e&&T.setWidth(e.width)})}))}handleColumnMouseDown(e,r){e.button===2&&(this.selecting==="column"||this.selecting==="all")&&this.activeRange.occupiesColumn(r)||(this.mousedown=!0,document.addEventListener("mouseup",this.mouseUpEvent),this.newSelection(e,r))}handleColumnMouseMove(e,r){r===this.rowHeader||!this.mousedown||this.selecting==="all"||this.activeRange.setBounds(!1,r,!0)}renderCell(e){var r=e.getElement(),C=this.ranges.findIndex(D=>D.occupies(e));r.classList.toggle("tabulator-range-selected",C!==-1),r.classList.toggle("tabulator-range-only-cell-selected",this.ranges.length===1&&this.ranges[0].atTopLeft(e)&&this.ranges[0].atBottomRight(e)),r.dataset.range=C}handleCellMouseDown(e,r){e.button===2&&(this.activeRange.occupies(r)||(this.selecting==="row"||this.selecting==="all")&&this.activeRange.occupiesRow(r.row))||(this.mousedown=!0,document.addEventListener("mouseup",this.mouseUpEvent),this.newSelection(e,r))}handleCellMouseMove(e,r){!this.mousedown||this.selecting==="all"||this.activeRange.setBounds(!1,r,!0)}handleCellClick(e,r){this.initializeFocus(r)}handleEditingCell(e){this.activeRange&&this.activeRange.setBounds(e)}finishEditingCell(){this.blockKeydown=!0,this.table.rowManager.element.focus(),setTimeout(()=>{this.blockKeydown=!1},10)}keyNavigate(e,r){this.navigate(!1,!1,e)&&r.preventDefault()}keyNavigateRange(e,r,C,D){this.navigate(C,D,r)&&e.preventDefault()}navigate(e,r,C){var D=!1,T,p,t,d,g,i;if(this.table.modules.edit&&this.table.modules.edit.currentCell)return!1;if(this.ranges.length>1&&(this.ranges=this.ranges.filter(M=>M===this.activeRange?(M.setEnd(M.start.row,M.start.col),!0):(M.destroy(),!1))),T=this.activeRange,p=r?T.end:T.start,t=p.row,d=p.col,e)switch(C){case"left":d=this.findJumpCellLeft(T.start.row,p.col);break;case"right":d=this.findJumpCellRight(T.start.row,p.col);break;case"up":t=this.findJumpCellUp(p.row,T.start.col);break;case"down":t=this.findJumpCellDown(p.row,T.start.col);break}else{if(r&&(this.selecting==="row"&&(C==="left"||C==="right")||this.selecting==="column"&&(C==="up"||C==="down")))return;switch(C){case"left":d=Math.max(d-1,0);break;case"right":d=Math.min(d+1,this.getTableColumns().length-1);break;case"up":t=Math.max(t-1,0);break;case"down":t=Math.min(t+1,this.getTableRows().length-1);break}}if(D=d!==p.col||t!==p.row,r||T.setStart(t,d),T.setEnd(t,d),r||(this.selecting="cell"),D)return g=this.getRowByRangePos(T.end.row),i=this.getColumnByRangePos(T.end.col),(C==="left"||C==="right")&&i.getElement().parentNode===null?i.getComponent().scrollTo(void 0,!1):(C==="up"||C==="down")&&g.getElement().parentNode===null?g.getComponent().scrollTo(void 0,!1):this.autoScroll(T,g.getElement(),i.getElement()),this.layoutElement(),!0}rangeRemoved(e){this.ranges=this.ranges.filter(r=>r!==e),this.activeRange===e&&(this.ranges.length?this.activeRange=this.ranges[this.ranges.length-1]:this.addRange()),this.layoutElement()}findJumpCell(e,r,C,D){var T;r&&(e=e.reverse());for(let p of e){let t=p.getValue();if(C){if(T=p,t)break}else if(D){if(T=p,t)break}else if(t)T=p;else break}return T}findJumpCellLeft(e,r){var C=this.getRowByRangePos(e),D=C.cells.filter(i=>i.column.visible),T=!D[r].getValue(),p=D[r]?!D[r].getValue():!1,t=r,d=this.rowHeader?D.slice(1,r):D.slice(0,r),g=this.findJumpCell(d,!0,T,p);return g&&(t=g.column.getPosition()-1),t}findJumpCellRight(e,r){var C=this.getRowByRangePos(e),D=C.cells.filter(g=>g.column.visible),T=!D[r].getValue(),p=D[r+1]?!D[r+1].getValue():!1,t=r,d=this.findJumpCell(D.slice(r+1,D.length),!1,T,p);return d&&(t=d.column.getPosition()-1),t}findJumpCellUp(e,r){var C=this.getColumnByRangePos(r),D=C.cells.filter(g=>this.table.rowManager.activeRows.includes(g.row)),T=!D[e].getValue(),p=D[e-1]?!D[e-1].getValue():!1,t=e,d=this.findJumpCell(D.slice(0,t),!0,T,p);return d&&(t=d.row.position-1),t}findJumpCellDown(e,r){var C=this.getColumnByRangePos(r),D=C.cells.filter(g=>this.table.rowManager.activeRows.includes(g.row)),T=!D[e].getValue(),p=D[e+1]?!D[e+1].getValue():!1,t=e,d=this.findJumpCell(D.slice(t+1,D.length),!1,T,p);return d&&(t=d.row.position-1),t}newSelection(e,r){var C;if(r.type==="column"){if(!this.columnSelection)return;if(r===this.rowHeader){C=this.resetRanges(),this.selecting="all";var D,T=this.getCell(-1,-1);this.rowHeader?D=this.getCell(0,1):D=this.getCell(0,0),C.setBounds(D,T);return}else this.selecting="column"}else r.column===this.rowHeader?this.selecting="row":this.selecting="cell";e.shiftKey?this.activeRange.setBounds(!1,r):e.ctrlKey?this.addRange().setBounds(r):this.resetRanges().setBounds(r)}autoScroll(e,r,C){var D=this.table.rowManager.element,T,p,t,d,g;typeof r>"u"&&(r=this.getRowByRangePos(e.end.row).getElement()),typeof C>"u"&&(C=this.getColumnByRangePos(e.end.col).getElement()),this.rowHeader&&(T=this.rowHeader.getElement()),p={left:C.offsetLeft,right:C.offsetLeft+C.offsetWidth,top:r.offsetTop,bottom:r.offsetTop+r.offsetHeight},t={left:D.scrollLeft,right:Math.ceil(D.scrollLeft+D.clientWidth),top:D.scrollTop,bottom:D.scrollTop+D.offsetHeight-this.table.rowManager.scrollbarWidth},T&&(t.left+=T.offsetWidth),d=t.leftt.right&&(D.scrollLeft=p.right-D.clientWidth)),g||(p.topt.bottom&&(D.scrollTop=p.bottom-D.clientHeight))}layoutChange(){this.overlay.style.visibility="hidden",clearTimeout(this.layoutChangeTimeout),this.layoutChangeTimeout=setTimeout(this.layoutRanges.bind(this),200)}redraw(e){e&&(this.selecting="cell",this.resetRanges(),this.layoutElement())}layoutElement(e){var r;e?r=this.table.rowManager.getVisibleRows(!0):r=this.table.rowManager.getRows(),r.forEach(C=>{C.type==="row"&&(this.layoutRow(C),C.cells.forEach(D=>this.renderCell(D)))}),this.getTableColumns().forEach(C=>{this.layoutColumn(C)}),this.layoutRanges()}layoutRow(e){var r=e.getElement(),C=!1,D=this.ranges.some(T=>T.occupiesRow(e));this.selecting==="row"?C=D:this.selecting==="all"&&(C=!0),r.classList.toggle("tabulator-range-selected",C),r.classList.toggle("tabulator-range-highlight",D)}layoutColumn(e){var r=e.getElement(),C=!1,D=this.ranges.some(T=>T.occupiesColumn(e));this.selecting==="column"?C=D:this.selecting==="all"&&(C=!0),r.classList.toggle("tabulator-range-selected",C),r.classList.toggle("tabulator-range-highlight",D)}layoutRanges(){var e;this.table.initialized&&(e=this.getActiveCell(),e&&(this.activeRangeCellElement.style.left=e.row.getElement().offsetLeft+e.getElement().offsetLeft+"px",this.activeRangeCellElement.style.top=e.row.getElement().offsetTop+"px",this.activeRangeCellElement.style.width=e.getElement().offsetLeft+e.getElement().offsetWidth-e.getElement().offsetLeft+"px",this.activeRangeCellElement.style.height=e.row.getElement().offsetTop+e.row.getElement().offsetHeight-e.row.getElement().offsetTop+"px",this.ranges.forEach(r=>r.layout()),this.overlay.style.visibility="visible"))}getCell(e,r){var C;return r<0&&(r=this.getTableColumns().length+r,r<0)?null:(e<0&&(e=this.getTableRows().length+e),C=this.table.rowManager.getRowFromPosition(e+1),C?C.getCells(!1,!0).filter(D=>D.column.visible)[r]:null)}getActiveCell(){return this.getCell(this.activeRange.start.row,this.activeRange.start.col)}getRowByRangePos(e){return this.getTableRows()[e]}getColumnByRangePos(e){return this.getTableColumns()[e]}getTableRows(){return this.table.rowManager.getDisplayRows()}getTableColumns(){return this.table.columnManager.getVisibleColumnsByIndex()}addRange(e,r){var C;return this.maxRanges!==!0&&this.ranges.length>=this.maxRanges&&this.ranges.shift().destroy(),C=new RP(this.table,this,e,r),this.activeRange=C,this.ranges.push(C),this.rangeContainer.appendChild(C.element),C}resetRanges(){var e,r;return this.ranges.forEach(C=>C.destroy()),this.ranges=[],e=this.addRange(),this.table.rowManager.activeRows.length&&(r=this.table.rowManager.activeRows[0].cells[this.rowHeader?1:0],r&&(e.setBounds(r),this.initializeFocus(r))),e}tableDestroyed(){document.removeEventListener("mouseup",this.mouseUpEvent),this.table.rowManager.element.removeEventListener("keydown",this.keyDownEvent)}selectedRows(e){return e?this.activeRange.getRows().map(r=>r.getComponent()):this.activeRange.getRows()}selectedColumns(e){return e?this.activeRange.getColumns().map(r=>r.getComponent()):this.activeRange.getColumns()}}KM.moduleName="selectRange";class JM extends qi{constructor(e){super(e),this.tooltipSubscriber=null,this.headerSubscriber=null,this.timeout=null,this.popupInstance=null,this.registerTableOption("tooltipGenerationMode",void 0),this.registerTableOption("tooltipDelay",300),this.registerColumnOption("tooltip"),this.registerColumnOption("headerTooltip")}initialize(){this.deprecatedOptionsCheck(),this.subscribe("column-init",this.initializeColumn.bind(this))}deprecatedOptionsCheck(){this.deprecationCheckMsg("tooltipGenerationMode","This option is no longer needed as tooltips are always generated on hover now")}initializeColumn(e){e.definition.headerTooltip&&!this.headerSubscriber&&(this.headerSubscriber=!0,this.subscribe("column-mousemove",this.mousemoveCheck.bind(this,"headerTooltip")),this.subscribe("column-mouseout",this.mouseoutCheck.bind(this,"headerTooltip"))),e.definition.tooltip&&!this.tooltipSubscriber&&(this.tooltipSubscriber=!0,this.subscribe("cell-mousemove",this.mousemoveCheck.bind(this,"tooltip")),this.subscribe("cell-mouseout",this.mouseoutCheck.bind(this,"tooltip")))}mousemoveCheck(e,r,C){var D=e==="tooltip"?C.column.definition.tooltip:C.definition.headerTooltip;D&&(this.clearPopup(),this.timeout=setTimeout(this.loadTooltip.bind(this,r,C,D),this.table.options.tooltipDelay))}mouseoutCheck(e,r,C){this.popupInstance||this.clearPopup()}clearPopup(e,r,C){clearTimeout(this.timeout),this.timeout=null,this.popupInstance&&this.popupInstance.hide()}loadTooltip(e,r,C){var D,T,p;function t(d){T=d}typeof C=="function"&&(C=C(e,r.getComponent(),t)),C instanceof HTMLElement?D=C:(D=document.createElement("div"),C===!0&&(r instanceof eg?C=r.value:r.definition.field?this.langBind("columns|"+r.definition.field,d=>{D.innerHTML=C=d||r.definition.title}):C=r.definition.title),D.innerHTML=C),(C||C===0||C===!1)&&(D.classList.add("tabulator-tooltip"),D.addEventListener("mousemove",d=>d.preventDefault()),this.popupInstance=this.popup(D),typeof T=="function"&&this.popupInstance.renderCallback(T),p=this.popupInstance.containerEventCoords(e),this.popupInstance.show(p.x+15,p.y+15).hideOnBlur(()=>{this.dispatchExternal("TooltipClosed",r.getComponent()),this.popupInstance=null}),this.dispatchExternal("TooltipOpened",r.getComponent()))}}JM.moduleName="tooltip";var PP={integer:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:(e=Number(e),!isNaN(e)&&isFinite(e)&&Math.floor(e)===e)},float:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:(e=Number(e),!isNaN(e)&&isFinite(e)&&e%1!==0)},numeric:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:!isNaN(e)},string:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:isNaN(e)},alphanumeric:function(n,e,r){if(e===""||e===null||typeof e>"u")return!0;var C=new RegExp(/^[a-z0-9]+$/i);return C.test(e)},max:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:parseFloat(e)<=r},min:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:parseFloat(e)>=r},starts:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).toLowerCase().startsWith(String(r).toLowerCase())},ends:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).toLowerCase().endsWith(String(r).toLowerCase())},minLength:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).length>=r},maxLength:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).length<=r},in:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:(typeof r=="string"&&(r=r.split("|")),r.indexOf(e)>-1)},regex:function(n,e,r){if(e===""||e===null||typeof e>"u")return!0;var C=new RegExp(r);return C.test(e)},unique:function(n,e,r){if(e===""||e===null||typeof e>"u")return!0;var C=!0,D=n.getData(),T=n.getColumn()._getSelf();return this.table.rowManager.rows.forEach(function(p){var t=p.getData();t!==D&&e==T.getFieldValue(t)&&(C=!1)}),C},required:function(n,e,r){return e!==""&&e!==null&&typeof e<"u"}};class ig extends qi{constructor(e){super(e),this.invalidCells=[],this.registerTableOption("validationMode","blocking"),this.registerColumnOption("validator"),this.registerTableFunction("getInvalidCells",this.getInvalidCells.bind(this)),this.registerTableFunction("clearCellValidation",this.userClearCellValidation.bind(this)),this.registerTableFunction("validate",this.userValidate.bind(this)),this.registerComponentFunction("cell","isValid",this.cellIsValid.bind(this)),this.registerComponentFunction("cell","clearValidation",this.clearValidation.bind(this)),this.registerComponentFunction("cell","validate",this.cellValidate.bind(this)),this.registerComponentFunction("column","validate",this.columnValidate.bind(this)),this.registerComponentFunction("row","validate",this.rowValidate.bind(this))}initialize(){this.subscribe("cell-delete",this.clearValidation.bind(this)),this.subscribe("column-layout",this.initializeColumnCheck.bind(this)),this.subscribe("edit-success",this.editValidate.bind(this)),this.subscribe("edit-editor-clear",this.editorClear.bind(this)),this.subscribe("edit-edited-clear",this.editedClear.bind(this))}editValidate(e,r,C){var D=this.table.options.validationMode!=="manual"?this.validate(e.column.modules.validate,e,r):!0;return D!==!0&&setTimeout(()=>{e.getElement().classList.add("tabulator-validation-fail"),this.dispatchExternal("validationFailed",e.getComponent(),r,D)}),D}editorClear(e,r){r&&e.column.modules.validate&&this.cellValidate(e),e.getElement().classList.remove("tabulator-validation-fail")}editedClear(e){e.modules.validate&&(e.modules.validate.invalid=!1)}cellIsValid(e){return e.modules.validate&&e.modules.validate.invalid||!0}cellValidate(e){return this.validate(e.column.modules.validate,e,e.getValue())}columnValidate(e){var r=[];return e.cells.forEach(C=>{this.cellValidate(C)!==!0&&r.push(C.getComponent())}),r.length?r:!0}rowValidate(e){var r=[];return e.cells.forEach(C=>{this.cellValidate(C)!==!0&&r.push(C.getComponent())}),r.length?r:!0}userClearCellValidation(e){e||(e=this.getInvalidCells()),Array.isArray(e)||(e=[e]),e.forEach(r=>{this.clearValidation(r._getSelf())})}userValidate(e){var r=[];return this.table.rowManager.rows.forEach(C=>{C=C.getComponent();var D=C.validate();D!==!0&&(r=r.concat(D))}),r.length?r:!0}initializeColumnCheck(e){typeof e.definition.validator<"u"&&this.initializeColumn(e)}initializeColumn(e){var r=this,C=[],D;e.definition.validator&&(Array.isArray(e.definition.validator)?e.definition.validator.forEach(T=>{D=r._extractValidator(T),D&&C.push(D)}):(D=this._extractValidator(e.definition.validator),D&&C.push(D)),e.modules.validate=C.length?C:!1)}_extractValidator(e){var r,C,D;switch(typeof e){case"string":return D=e.indexOf(":"),D>-1?(r=e.substring(0,D),C=e.substring(D+1)):r=e,this._buildValidator(r,C);case"function":return this._buildValidator(e);case"object":return this._buildValidator(e.type,e.parameters)}}_buildValidator(e,r){var C=typeof e=="function"?e:ig.validators[e];return C?{type:typeof e=="function"?"function":e,func:C,params:r}:(console.warn("Validator Setup Error - No matching validator found:",e),!1)}validate(e,r,C){var D=this,T=[],p=this.invalidCells.indexOf(r);return e&&e.forEach(t=>{t.func.call(D,r.getComponent(),C,t.params)||T.push({type:t.type,parameters:t.params})}),r.modules.validate||(r.modules.validate={}),T.length?(r.modules.validate.invalid=T,this.table.options.validationMode!=="manual"&&r.getElement().classList.add("tabulator-validation-fail"),p==-1&&this.invalidCells.push(r)):(r.modules.validate.invalid=!1,r.getElement().classList.remove("tabulator-validation-fail"),p>-1&&this.invalidCells.splice(p,1)),T.length?T:!0}getInvalidCells(){var e=[];return this.invalidCells.forEach(r=>{e.push(r.getComponent())}),e}clearValidation(e){var r;e.modules.validate&&e.modules.validate.invalid&&(e.getElement().classList.remove("tabulator-validation-fail"),e.modules.validate.invalid=!1,r=this.invalidCells.indexOf(e),r>-1&&this.invalidCells.splice(r,1))}}ig.moduleName="validate";ig.validators=PP;var OP=Object.freeze({__proto__:null,AccessorModule:i0,AjaxModule:Rc,ClipboardModule:qd,ColumnCalcsModule:zf,DataTreeModule:OM,DownloadModule:a0,EditModule:tg,ExportModule:DM,FilterModule:Xh,FormatModule:Yu,FrozenColumnsModule:zM,FrozenRowsModule:FM,GroupRowsModule:BM,HistoryModule:Wd,HtmlTableImportModule:NM,ImportModule:ng,InteractionModule:VM,KeybindingsModule:Vf,MenuModule:jM,MoveColumnsModule:UM,MoveRowsModule:$y,MutatorModule:o0,PageModule:rg,PersistenceModule:jl,PopupModule:HM,PrintModule:GM,ReactiveDataModule:qM,ResizeColumnsModule:WM,ResizeRowsModule:YM,ResizeTableModule:$M,ResponsiveLayoutModule:ZM,SelectRowModule:XM,SortModule:jd,SelectRangeModule:KM,TooltipModule:JM,ValidateModule:ig}),DP={debugEventsExternal:!1,debugEventsInternal:!1,debugInvalidOptions:!0,debugInvalidComponentFuncs:!0,debugInitialization:!0,debugDeprecation:!0,height:!1,minHeight:!1,maxHeight:!1,columnHeaderVertAlign:"top",popupContainer:!1,columns:[],columnDefaults:{},data:!1,autoColumns:!1,autoColumnsDefinitions:!1,nestedFieldSeparator:".",footerElement:!1,index:"id",textDirection:"auto",addRowPos:"bottom",headerVisible:!0,renderVertical:"virtual",renderHorizontal:"basic",renderVerticalBuffer:0,scrollToRowPosition:"top",scrollToRowIfVisible:!0,scrollToColumnPosition:"left",scrollToColumnIfVisible:!0,rowFormatter:!1,rowFormatterPrint:null,rowFormatterClipboard:null,rowFormatterHtmlOutput:null,rowHeight:null,placeholder:!1,dataLoader:!0,dataLoaderLoading:!1,dataLoaderError:!1,dataLoaderErrorTimeout:3e3,dataSendParams:{},dataReceiveParams:{}};class QM{constructor(e,r,C={}){this.table=e,this.msgType=r,this.registeredDefaults=Object.assign({},C)}register(e,r){this.registeredDefaults[e]=r}generate(e,r={}){var C=Object.assign({},this.registeredDefaults),D=this.table.options.debugInvalidOptions||r.debugInvalidOptions===!0;Object.assign(C,e);for(let T in r)C.hasOwnProperty(T)||(D&&console.warn("Invalid "+this.msgType+" option:",T),C[T]=r.key);for(let T in C)T in r?C[T]=r[T]:Array.isArray(C[T])?C[T]=Object.assign([],C[T]):typeof C[T]=="object"&&C[T]!==null?C[T]=Object.assign({},C[T]):typeof C[T]>"u"&&delete C[T];return C}}class Zy extends kl{constructor(e){super(e),this.elementVertical=e.rowManager.element,this.elementHorizontal=e.columnManager.element,this.tableElement=e.rowManager.tableElement,this.verticalFillMode="fit"}initialize(){}clearRows(){}clearColumns(){}reinitializeColumnWidths(e){}renderRows(){}renderColumns(){}rerenderRows(e){e&&e()}rerenderColumns(e,r){}renderRowCells(e){}rerenderRowCells(e,r){}scrollColumns(e,r){}scrollRows(e,r){}resize(){}scrollToRow(e){}scrollToRowNearestTop(e){}visibleRows(e){return[]}rows(){return this.table.rowManager.getDisplayRows()}styleRow(e,r){var C=e.getElement();r%2?(C.classList.add("tabulator-row-even"),C.classList.remove("tabulator-row-odd")):(C.classList.add("tabulator-row-odd"),C.classList.remove("tabulator-row-even"))}clear(){this.clearRows(),this.clearColumns()}render(){this.renderRows(),this.renderColumns()}rerender(e){this.rerenderRows(),this.rerenderColumns()}scrollToRowPosition(e,r,C){var D=this.rows().indexOf(e),T=e.getElement(),p=0;return new Promise((t,d)=>{if(D>-1){if(typeof C>"u"&&(C=this.table.options.scrollToRowIfVisible),!C&&oo.elVisible(T)&&(p=oo.elOffset(T).top-oo.elOffset(this.elementVertical).top,p>0&&p"u"&&(r=this.table.options.scrollToRowPosition),r==="nearest"&&(r=this.scrollToRowNearestTop(e)?"top":"bottom"),this.scrollToRow(e),r){case"middle":case"center":this.elementVertical.scrollHeight-this.elementVertical.scrollTop==this.elementVertical.clientHeight?this.elementVertical.scrollTop=this.elementVertical.scrollTop+(T.offsetTop-this.elementVertical.scrollTop)-(this.elementVertical.scrollHeight-T.offsetTop)/2:this.elementVertical.scrollTop=this.elementVertical.scrollTop-this.elementVertical.clientHeight/2;break;case"bottom":this.elementVertical.scrollHeight-this.elementVertical.scrollTop==this.elementVertical.clientHeight?this.elementVertical.scrollTop=this.elementVertical.scrollTop-(this.elementVertical.scrollHeight-T.offsetTop)+T.offsetHeight:this.elementVertical.scrollTop=this.elementVertical.scrollTop-this.elementVertical.clientHeight+T.offsetHeight;break;case"top":this.elementVertical.scrollTop=T.offsetTop;break}t()}else console.warn("Scroll Error - Row not visible"),d("Scroll Error - Row not visible")})}}class zP extends Zy{constructor(e){super(e)}renderRowCells(e,r){const C=document.createDocumentFragment();e.cells.forEach(D=>{C.appendChild(D.getElement())}),e.element.appendChild(C),r||e.cells.forEach(D=>{D.cellRendered()})}reinitializeColumnWidths(e){e.forEach(function(r){r.reinitializeWidth()})}}class FP extends Zy{constructor(e){super(e),this.leftCol=0,this.rightCol=0,this.scrollLeft=0,this.vDomScrollPosLeft=0,this.vDomScrollPosRight=0,this.vDomPadLeft=0,this.vDomPadRight=0,this.fitDataColAvg=0,this.windowBuffer=200,this.visibleRows=null,this.initialized=!1,this.isFitData=!1,this.columns=[]}initialize(){this.compatibilityCheck(),this.layoutCheck(),this.vertScrollListen()}compatibilityCheck(){this.options("layout")=="fitDataTable"&&console.warn("Horizontal Virtual DOM is not compatible with fitDataTable layout mode"),this.options("responsiveLayout")&&console.warn("Horizontal Virtual DOM is not compatible with responsive columns"),this.options("rtl")&&console.warn("Horizontal Virtual DOM is not currently compatible with RTL text direction")}layoutCheck(){this.isFitData=this.options("layout").startsWith("fitData")}vertScrollListen(){this.subscribe("scroll-vertical",this.clearVisRowCache.bind(this)),this.subscribe("data-refreshed",this.clearVisRowCache.bind(this))}clearVisRowCache(){this.visibleRows=null}renderColumns(e,r){this.dataChange()}scrollColumns(e,r){this.scrollLeft!=e&&(this.scrollLeft=e,this.scroll(e-(this.vDomScrollPosLeft+this.windowBuffer)))}calcWindowBuffer(){var e=this.elementVertical.clientWidth;this.table.columnManager.columnsByIndex.forEach(r=>{if(r.visible){var C=r.getWidth();C>e&&(e=C)}}),this.windowBuffer=e*2}rerenderColumns(e,r){var C={cols:this.columns,leftCol:this.leftCol,rightCol:this.rightCol},D=0;e&&!this.initialized||(this.clear(),this.calcWindowBuffer(),this.scrollLeft=this.elementVertical.scrollLeft,this.vDomScrollPosLeft=this.scrollLeft-this.windowBuffer,this.vDomScrollPosRight=this.scrollLeft+this.elementVertical.clientWidth+this.windowBuffer,this.table.columnManager.columnsByIndex.forEach(T=>{var p={},t;T.visible&&(T.modules.frozen||(t=T.getWidth(),p.leftPos=D,p.rightPos=D+t,p.width=t,this.isFitData&&(p.fitDataCheck=T.modules.vdomHoz?T.modules.vdomHoz.fitDataCheck:!0),D+t>this.vDomScrollPosLeft&&D{r.appendChild(C.getElement())}),e.element.appendChild(r),e.cells.forEach(C=>{C.cellRendered()})}}rerenderRowCells(e,r){this.reinitializeRow(e,r)}reinitializeColumnWidths(e){for(let r=this.leftCol;r<=this.rightCol;r++)this.columns[r].reinitializeWidth()}deinitialize(){this.initialized=!1}clear(){this.columns=[],this.leftCol=-1,this.rightCol=0,this.vDomScrollPosLeft=0,this.vDomScrollPosRight=0,this.vDomPadLeft=0,this.vDomPadRight=0}dataChange(){var e=!1,r,C;if(this.isFitData){if(this.table.columnManager.columnsByIndex.forEach(D=>{!D.definition.width&&D.visible&&(e=!0)}),e&&this.table.rowManager.getDisplayRows().length&&(this.vDomScrollPosRight=this.scrollLeft+this.elementVertical.clientWidth+this.windowBuffer,r=this.chain("rows-sample",[1],[],()=>this.table.rowManager.getDisplayRows())[0],r)){C=r.getElement(),r.generateCells(),this.tableElement.appendChild(C);for(let D=0;D{C!==this.columns[D]&&(r=!1)}),!r)}reinitializeRows(){var e=this.getVisibleRows(),r=this.table.rowManager.getRows().filter(C=>!e.includes(C));e.forEach(C=>{this.reinitializeRow(C,!0)}),r.forEach(C=>{C.deinitialize()})}getVisibleRows(){return this.visibleRows||(this.visibleRows=this.table.rowManager.getVisibleRows()),this.visibleRows}scroll(e){this.vDomScrollPosLeft+=e,this.vDomScrollPosRight+=e,Math.abs(e)>this.windowBuffer/2?this.rerenderColumns():e>0?(this.addColRight(),this.removeColLeft()):(this.addColLeft(),this.removeColRight())}colPositionAdjust(e,r,C){for(let D=e;D{if(D.type!=="group"){var T=D.getCell(C);D.getElement().insertBefore(T.getElement(),D.getCell(this.columns[this.rightCol]).getElement().nextSibling),T.cellRendered()}}),this.fitDataColActualWidthCheck(C),this.rightCol++,this.getVisibleRows().forEach(D=>{D.type!=="group"&&(D.modules.vdomHoz.rightCol=this.rightCol)}),this.rightCol>=this.columns.length-1?this.vDomPadRight=0:this.vDomPadRight-=C.getWidth()):r=!1}e&&(this.tableElement.style.paddingRight=this.vDomPadRight+"px")}addColLeft(){for(var e=!1,r=!0;r;){let C=this.columns[this.leftCol-1];if(C)if(C.modules.vdomHoz.rightPos>=this.vDomScrollPosLeft){e=!0,this.getVisibleRows().forEach(T=>{if(T.type!=="group"){var p=T.getCell(C);T.getElement().insertBefore(p.getElement(),T.getCell(this.columns[this.leftCol]).getElement()),p.cellRendered()}}),this.leftCol--,this.getVisibleRows().forEach(T=>{T.type!=="group"&&(T.modules.vdomHoz.leftCol=this.leftCol)}),this.leftCol<=0?this.vDomPadLeft=0:this.vDomPadLeft-=C.getWidth();let D=this.fitDataColActualWidthCheck(C);D&&(this.scrollLeft=this.elementVertical.scrollLeft=this.elementVertical.scrollLeft+D,this.vDomPadRight-=D)}else r=!1;else r=!1}e&&(this.tableElement.style.paddingLeft=this.vDomPadLeft+"px")}removeColRight(){for(var e=!1,r=!0;r;){let C=this.columns[this.rightCol];C&&C.modules.vdomHoz.leftPos>this.vDomScrollPosRight?(e=!0,this.getVisibleRows().forEach(D=>{if(D.type!=="group"){var T=D.getCell(C);try{D.getElement().removeChild(T.getElement())}catch(p){console.warn("Could not removeColRight",p.message)}}}),this.vDomPadRight+=C.getWidth(),this.rightCol--,this.getVisibleRows().forEach(D=>{D.type!=="group"&&(D.modules.vdomHoz.rightCol=this.rightCol)})):r=!1}e&&(this.tableElement.style.paddingRight=this.vDomPadRight+"px")}removeColLeft(){for(var e=!1,r=!0;r;){let C=this.columns[this.leftCol];C&&C.modules.vdomHoz.rightPos{if(D.type!=="group"){var T=D.getCell(C);try{D.getElement().removeChild(T.getElement())}catch(p){console.warn("Could not removeColLeft",p.message)}}}),this.vDomPadLeft+=C.getWidth(),this.leftCol++,this.getVisibleRows().forEach(D=>{D.type!=="group"&&(D.modules.vdomHoz.leftCol=this.leftCol)})):r=!1}e&&(this.tableElement.style.paddingLeft=this.vDomPadLeft+"px")}fitDataColActualWidthCheck(e){var r,C;return e.modules.vdomHoz.fitDataCheck&&(e.reinitializeWidth(),r=e.getWidth(),C=r-e.modules.vdomHoz.width,C&&(e.modules.vdomHoz.rightPos+=C,e.modules.vdomHoz.width=r,this.colPositionAdjust(this.columns.indexOf(e)+1,this.columns.length,C)),e.modules.vdomHoz.fitDataCheck=!1),C}initializeRow(e){if(e.type!=="group"){e.modules.vdomHoz={leftCol:this.leftCol,rightCol:this.rightCol},this.table.modules.frozenColumns&&this.table.modules.frozenColumns.leftColumns.forEach(r=>{this.appendCell(e,r)});for(let r=this.leftCol;r<=this.rightCol;r++)this.appendCell(e,this.columns[r]);this.table.modules.frozenColumns&&this.table.modules.frozenColumns.rightColumns.forEach(r=>{this.appendCell(e,r)})}}appendCell(e,r){if(r&&r.visible){let C=e.getCell(r);e.getElement().appendChild(C.getElement()),C.cellRendered()}}reinitializeRow(e,r){if(e.type!=="group"&&(r||!e.modules.vdomHoz||e.modules.vdomHoz.leftCol!==this.leftCol||e.modules.vdomHoz.rightCol!==this.rightCol)){for(var C=e.getElement();C.firstChild;)C.removeChild(C.firstChild);this.initializeRow(e)}}}class BP extends kl{constructor(e){super(e),this.blockHozScrollEvent=!1,this.headersElement=null,this.contentsElement=null,this.element=null,this.columns=[],this.columnsByIndex=[],this.columnsByField={},this.scrollLeft=0,this.optionsList=new QM(this.table,"column definition",PM),this.redrawBlock=!1,this.redrawBlockUpdate=null,this.renderer=null}initialize(){this.initializeRenderer(),this.headersElement=this.createHeadersElement(),this.contentsElement=this.createHeaderContentsElement(),this.element=this.createHeaderElement(),this.contentsElement.insertBefore(this.headersElement,this.contentsElement.firstChild),this.element.insertBefore(this.contentsElement,this.element.firstChild),this.initializeScrollWheelWatcher(),this.subscribe("scroll-horizontal",this.scrollHorizontal.bind(this)),this.subscribe("scrollbar-vertical",this.padVerticalScrollbar.bind(this))}padVerticalScrollbar(e){this.table.rtl?this.headersElement.style.marginLeft=e+"px":this.headersElement.style.marginRight=e+"px"}initializeRenderer(){var e,r={virtual:FP,basic:zP};typeof this.table.options.renderHorizontal=="string"?e=r[this.table.options.renderHorizontal]:e=this.table.options.renderHorizontal,e?(this.renderer=new e(this.table,this.element,this.tableElement),this.renderer.initialize()):console.error("Unable to find matching renderer:",this.table.options.renderHorizontal)}createHeadersElement(){var e=document.createElement("div");return e.classList.add("tabulator-headers"),e.setAttribute("role","row"),e}createHeaderContentsElement(){var e=document.createElement("div");return e.classList.add("tabulator-header-contents"),e.setAttribute("role","rowgroup"),e}createHeaderElement(){var e=document.createElement("div");return e.classList.add("tabulator-header"),e.setAttribute("role","rowgroup"),this.table.options.headerVisible||e.classList.add("tabulator-header-hidden"),e}getElement(){return this.element}getContentsElement(){return this.contentsElement}getHeadersElement(){return this.headersElement}scrollHorizontal(e){this.contentsElement.scrollLeft=e,this.scrollLeft=e,this.renderer.scrollColumns(e)}initializeScrollWheelWatcher(){this.contentsElement.addEventListener("wheel",e=>{var r;e.deltaX&&(r=this.contentsElement.scrollLeft+e.deltaX,this.table.rowManager.scrollHorizontal(r),this.table.columnManager.scrollHorizontal(r))})}generateColumnsFromRowData(e){var r=[],C=this.table.options.autoColumnsDefinitions,D,T;if(e&&e.length){D=e[0];for(var p in D){let t={field:p,title:p},d=D[p];switch(typeof d){case"undefined":T="string";break;case"boolean":T="boolean";break;case"object":Array.isArray(d)?T="array":T="string";break;default:!isNaN(d)&&d!==""?T="number":d.match(/((^[0-9]+[a-z]+)|(^[a-z]+[0-9]+))+$/i)?T="alphanum":T="string";break}t.sorter=T,r.push(t)}if(C)switch(typeof C){case"function":this.table.options.columns=C.call(this.table,r);break;case"object":Array.isArray(C)?r.forEach(t=>{var d=C.find(g=>g.field===t.field);d&&Object.assign(t,d)}):r.forEach(t=>{C[t.field]&&Object.assign(t,C[t.field])}),this.table.options.columns=r;break}else this.table.options.columns=r;this.setColumns(this.table.options.columns)}}setColumns(e,r){for(;this.headersElement.firstChild;)this.headersElement.removeChild(this.headersElement.firstChild);this.columns=[],this.columnsByIndex=[],this.columnsByField={},this.dispatch("columns-loading"),e.forEach((C,D)=>{this._addColumn(C)}),this._reIndexColumns(),this.dispatch("columns-loaded"),this.rerenderColumns(!1,!0),this.redraw(!0)}_addColumn(e,r,C){var D=new vh(e,this),T=D.getElement(),p=C&&this.findColumnIndex(C);if(C&&p>-1){var t=C.getTopColumn(),d=this.columns.indexOf(t),g=t.getElement();r?(this.columns.splice(d,0,D),g.parentNode.insertBefore(T,g)):(this.columns.splice(d+1,0,D),g.parentNode.insertBefore(T,g.nextSibling))}else r?(this.columns.unshift(D),this.headersElement.insertBefore(D.getElement(),this.headersElement.firstChild)):(this.columns.push(D),this.headersElement.appendChild(D.getElement()));return D.columnRendered(),D}registerColumnField(e){e.definition.field&&(this.columnsByField[e.definition.field]=e)}registerColumnPosition(e){this.columnsByIndex.push(e)}_reIndexColumns(){this.columnsByIndex=[],this.columns.forEach(function(e){e.reRegisterPosition()})}verticalAlignHeaders(){var e=0;this.redrawBlock||(this.headersElement.style.height="",this.columns.forEach(r=>{r.clearVerticalAlign()}),this.columns.forEach(r=>{var C=r.getHeight();C>e&&(e=C)}),this.headersElement.style.height=e+"px",this.columns.forEach(r=>{r.verticalAlign(this.table.options.columnHeaderVertAlign,e)}),this.table.rowManager.adjustTableSize())}findColumn(e){var r;if(typeof e=="object"){if(e instanceof vh)return e;if(e instanceof RM)return e._getSelf()||!1;if(typeof HTMLElement<"u"&&e instanceof HTMLElement)return r=[],this.columns.forEach(D=>{r.push(D),r=r.concat(D.getColumns(!0))}),r.find(D=>D.element===e)||!1}else return this.columnsByField[e]||!1;return!1}getColumnByField(e){return this.columnsByField[e]}getColumnsByFieldRoot(e){var r=[];return Object.keys(this.columnsByField).forEach(C=>{var D=this.table.options.nestedFieldSeparator?C.split(this.table.options.nestedFieldSeparator)[0]:C;D===e&&r.push(this.columnsByField[C])}),r}getColumnByIndex(e){return this.columnsByIndex[e]}getFirstVisibleColumn(){var e=this.columnsByIndex.findIndex(r=>r.visible);return e>-1?this.columnsByIndex[e]:!1}getVisibleColumnsByIndex(){return this.columnsByIndex.filter(e=>e.visible)}getColumns(){return this.columns}findColumnIndex(e){return this.columnsByIndex.findIndex(r=>e===r)}getRealColumns(){return this.columnsByIndex}traverse(e){this.columnsByIndex.forEach((r,C)=>{e(r,C)})}getDefinitions(e){var r=[];return this.columnsByIndex.forEach(C=>{(!e||e&&C.visible)&&r.push(C.getDefinition())}),r}getDefinitionTree(){var e=[];return this.columns.forEach(r=>{e.push(r.getDefinition(!0))}),e}getComponents(e){var r=[],C=e?this.columns:this.columnsByIndex;return C.forEach(D=>{r.push(D.getComponent())}),r}getWidth(){var e=0;return this.columnsByIndex.forEach(r=>{r.visible&&(e+=r.getWidth())}),e}moveColumn(e,r,C){r.element.parentNode.insertBefore(e.element,r.element),C&&r.element.parentNode.insertBefore(r.element,e.element),this.moveColumnActual(e,r,C),this.verticalAlignHeaders(),this.table.rowManager.reinitialize()}moveColumnActual(e,r,C){e.parent.isGroup?this._moveColumnInArray(e.parent.columns,e,r,C):this._moveColumnInArray(this.columns,e,r,C),this._moveColumnInArray(this.columnsByIndex,e,r,C,!0),this.rerenderColumns(!0),this.dispatch("column-moved",e,r,C),this.subscribedExternal("columnMoved")&&this.dispatchExternal("columnMoved",e.getComponent(),this.table.columnManager.getComponents())}_moveColumnInArray(e,r,C,D,T){var p=e.indexOf(r),t,d=[];p>-1&&(e.splice(p,1),t=e.indexOf(C),t>-1?D&&(t=t+1):t=p,e.splice(t,0,r),T&&(d=this.chain("column-moving-rows",[r,C,D],null,[])||[],d=d.concat(this.table.rowManager.rows),d.forEach(function(g){if(g.cells.length){var i=g.cells.splice(p,1)[0];g.cells.splice(t,0,i)}})))}scrollToColumn(e,r,C){var D=0,T=e.getLeftOffset(),p=0,t=e.getElement();return new Promise((d,g)=>{if(typeof r>"u"&&(r=this.table.options.scrollToColumnPosition),typeof C>"u"&&(C=this.table.options.scrollToColumnIfVisible),e.visible){switch(r){case"middle":case"center":p=-this.element.clientWidth/2;break;case"right":p=t.clientWidth-this.headersElement.clientWidth;break}if(!C&&T>0&&T+t.offsetWidth{r.push(C.generateCell(e))}),r}getFlexBaseWidth(){var e=this.table.element.clientWidth,r=0;return this.table.rowManager.element.scrollHeight>this.table.rowManager.element.clientHeight&&(e-=this.table.rowManager.element.offsetWidth-this.table.rowManager.element.clientWidth),this.columnsByIndex.forEach(function(C){var D,T,p;C.visible&&(D=C.definition.width||0,T=parseInt(C.minWidth),typeof D=="string"?D.indexOf("%")>-1?p=e/100*parseInt(D):p=parseInt(D):p=D,r+=p>T?p:T)}),r}addColumn(e,r,C){return new Promise((D,T)=>{var p=this._addColumn(e,r,C);this._reIndexColumns(),this.dispatch("column-add",e,r,C),this.layoutMode()!="fitColumns"&&p.reinitializeWidth(),this.redraw(!0),this.table.rowManager.reinitialize(),this.rerenderColumns(),D(p)})}deregisterColumn(e){var r=e.getField(),C;r&&delete this.columnsByField[r],C=this.columnsByIndex.indexOf(e),C>-1&&this.columnsByIndex.splice(C,1),C=this.columns.indexOf(e),C>-1&&this.columns.splice(C,1),this.verticalAlignHeaders(),this.redraw()}rerenderColumns(e,r){this.redrawBlock?(e===!1||e===!0&&this.redrawBlockUpdate===null)&&(this.redrawBlockUpdate=e):this.renderer.rerenderColumns(e,r)}blockRedraw(){this.redrawBlock=!0,this.redrawBlockUpdate=null}restoreRedraw(){this.redrawBlock=!1,this.verticalAlignHeaders(),this.renderer.rerenderColumns(this.redrawBlockUpdate)}redraw(e){oo.elVisible(this.element)&&this.verticalAlignHeaders(),e&&(this.table.rowManager.resetScroll(),this.table.rowManager.reinitialize()),this.confirm("table-redrawing",e)||this.layoutRefresh(e),this.dispatch("table-redraw",e),this.table.footerManager.redraw()}}class NP extends Zy{constructor(e){super(e),this.verticalFillMode="fill",this.scrollTop=0,this.scrollLeft=0,this.scrollTop=0,this.scrollLeft=0}clearRows(){for(var e=this.tableElement;e.firstChild;)e.removeChild(e.firstChild);e.scrollTop=0,e.scrollLeft=0,e.style.minWidth="",e.style.minHeight="",e.style.display="",e.style.visibility=""}renderRows(){var e=this.tableElement,r=!0,C=document.createDocumentFragment(),D=this.rows();D.forEach((T,p)=>{this.styleRow(T,p),T.initialize(!1,!0),T.type!=="group"&&(r=!1),C.appendChild(T.getElement())}),e.appendChild(C),D.forEach(T=>{T.rendered(),T.heightInitialized||T.calcHeight(!0)}),D.forEach(T=>{T.heightInitialized||T.setCellHeight()}),r?e.style.minWidth=this.table.columnManager.getWidth()+"px":e.style.minWidth=""}rerenderRows(e){this.clearRows(),e&&e(),this.renderRows(),this.rows().length||this.table.rowManager.tableEmpty()}scrollToRowNearestTop(e){var r=oo.elOffset(e.getElement()).top;return!(Math.abs(this.elementVertical.scrollTop-r)>Math.abs(this.elementVertical.scrollTop+this.elementVertical.clientHeight-r))}scrollToRow(e){var r=e.getElement();this.elementVertical.scrollTop=oo.elOffset(r).top-oo.elOffset(this.elementVertical).top+this.elementVertical.scrollTop}visibleRows(e){return this.rows()}}class VP extends Zy{constructor(e){super(e),this.verticalFillMode="fill",this.scrollTop=0,this.scrollLeft=0,this.vDomRowHeight=20,this.vDomTop=0,this.vDomBottom=0,this.vDomScrollPosTop=0,this.vDomScrollPosBottom=0,this.vDomTopPad=0,this.vDomBottomPad=0,this.vDomMaxRenderChain=90,this.vDomWindowBuffer=0,this.vDomWindowMinTotalRows=20,this.vDomWindowMinMarginRows=5,this.vDomTopNewRows=[],this.vDomBottomNewRows=[]}clearRows(){for(var e=this.tableElement;e.firstChild;)e.removeChild(e.firstChild);e.style.paddingTop="",e.style.paddingBottom="",e.style.minHeight="",e.style.display="",e.style.visibility="",this.elementVertical.scrollTop=0,this.elementVertical.scrollLeft=0,this.scrollTop=0,this.scrollLeft=0,this.vDomTop=0,this.vDomBottom=0,this.vDomTopPad=0,this.vDomBottomPad=0,this.vDomScrollPosTop=0,this.vDomScrollPosBottom=0}renderRows(){this._virtualRenderFill()}rerenderRows(e){for(var r=this.elementVertical.scrollTop,C=!1,D=!1,T=this.table.rowManager.scrollLeft,p=this.rows(),t=this.vDomTop;t<=this.vDomBottom;t++)if(p[t]){var d=r-p[t].getElement().offsetTop;if(D===!1||Math.abs(d){g.deinitializeHeight()}),e&&e(),this.rows().length?this._virtualRenderFill(C===!1?this.rows.length-1:C,!0,D||0):(this.clear(),this.table.rowManager.tableEmpty()),this.scrollColumns(T)}scrollColumns(e){this.table.rowManager.scrollHorizontal(e)}scrollRows(e,r){var C=e-this.vDomScrollPosTop,D=e-this.vDomScrollPosBottom,T=this.vDomWindowBuffer*2,p=this.rows();if(this.scrollTop=e,-C>T||D>T){var t=this.table.rowManager.scrollLeft;this._virtualRenderFill(Math.floor(this.elementVertical.scrollTop/this.elementVertical.scrollHeight*p.length)),this.scrollColumns(t)}else r?(C<0&&this._addTopRow(p,-C),D<0&&(this.vDomScrollHeight-this.scrollTop>this.vDomWindowBuffer?this._removeBottomRow(p,-D):this.vDomScrollPosBottom=this.scrollTop)):(D>=0&&this._addBottomRow(p,D),C>=0&&(this.scrollTop>this.vDomWindowBuffer?this._removeTopRow(p,C):this.vDomScrollPosTop=this.scrollTop))}resize(){this.vDomWindowBuffer=this.table.options.renderVerticalBuffer||this.elementVertical.clientHeight}scrollToRowNearestTop(e){var r=this.rows().indexOf(e);return!(Math.abs(this.vDomTop-r)>Math.abs(this.vDomBottom-r))}scrollToRow(e){var r=this.rows().indexOf(e);r>-1&&this._virtualRenderFill(r,!0)}visibleRows(e){var r=this.elementVertical.scrollTop,C=this.elementVertical.clientHeight+r,D=!1,T=0,p=0,t=this.rows();if(e)T=this.vDomTop,p=this.vDomBottom;else for(var d=this.vDomTop;d<=this.vDomBottom;d++)if(t[d])if(D)if(C-t[d].getElement().offsetTop>=0)p=d;else break;else if(r-t[d].getElement().offsetTop>=0)T=d;else if(D=!0,C-t[d].getElement().offsetTop>=0)p=d;else break;return t.slice(T,p+1)}_virtualRenderFill(e,r,C){var D=this.tableElement,T=this.elementVertical,p=0,t=0,d=0,g=0,i=0,M=0,v=this.rows(),f=v.length,l=0,a,u,o=[],s=0,c=0,h=this.table.rowManager.fixedHeight,m=this.elementVertical.clientHeight,w=this.table.options.rowHeight,y=!0;if(e=e||0,C=C||0,!e)this.clear();else{for(;D.firstChild;)D.removeChild(D.firstChild);g=(f-e+1)*this.vDomRowHeight,g{S.rendered(),S.heightInitialized||S.calcHeight(!0)}),o.forEach(S=>{S.heightInitialized||S.setCellHeight()}),o.forEach(S=>{d=S.getHeight(),sthis.vDomWindowBuffer&&(this.vDomWindowBuffer=d*2),s++}),y=this.table.rowManager.adjustTableSize(),m=this.elementVertical.clientHeight,y&&(h||this.table.options.maxHeight)&&(w=t/s,c=Math.max(this.vDomWindowMinTotalRows,Math.ceil(m/w+this.vDomWindowBuffer/w)))}e?(this.vDomTopPad=r?this.vDomRowHeight*this.vDomTop+C:this.scrollTop-i,this.vDomBottomPad=this.vDomBottom==f-1?0:Math.max(this.vDomScrollHeight-this.vDomTopPad-t-i,0)):(this.vDomTopPad=0,this.vDomRowHeight=Math.floor((t+i)/s),this.vDomBottomPad=this.vDomRowHeight*(f-this.vDomBottom-1),this.vDomScrollHeight=i+t+this.vDomBottomPad-m),D.style.paddingTop=this.vDomTopPad+"px",D.style.paddingBottom=this.vDomBottomPad+"px",r&&(this.scrollTop=this.vDomTopPad+i+C-(this.elementVertical.scrollWidth>this.elementVertical.clientWidth?this.elementVertical.offsetHeight-m:0)),this.scrollTop=Math.min(this.scrollTop,this.elementVertical.scrollHeight-m),this.elementVertical.scrollWidth>this.elementVertical.clientWidth&&r&&(this.scrollTop+=this.elementVertical.offsetHeight-m),this.vDomScrollPosTop=this.scrollTop,this.vDomScrollPosBottom=this.scrollTop,T.scrollTop=this.scrollTop,this.dispatch("render-virtual-fill")}}_addTopRow(e,r){for(var C=this.tableElement,D=[],T=0,p=this.vDomTop-1,t=0,d=!0;d;)if(this.vDomTop){let g=e[p],i,M;g&&t=i?(this.styleRow(g,p),C.insertBefore(g.getElement(),C.firstChild),(!g.initialized||!g.heightInitialized)&&D.push(g),g.initialize(),M||(i=g.getElement().offsetHeight,i>this.vDomWindowBuffer&&(this.vDomWindowBuffer=i*2)),r-=i,T+=i,this.vDomTop--,p--,t++):d=!1):d=!1}else d=!1;for(let g of D)g.clearCellHeight();this._quickNormalizeRowHeight(D),T&&(this.vDomTopPad-=T,this.vDomTopPad<0&&(this.vDomTopPad=p*this.vDomRowHeight),p<1&&(this.vDomTopPad=0),C.style.paddingTop=this.vDomTopPad+"px",this.vDomScrollPosTop-=T)}_removeTopRow(e,r){for(var C=[],D=0,T=0,p=!0;p;){let t=e[this.vDomTop],d;t&&T=d?(this.vDomTop++,r-=d,D+=d,C.push(t),T++):p=!1):p=!1}for(let t of C){let d=t.getElement();d.parentNode&&d.parentNode.removeChild(d)}D&&(this.vDomTopPad+=D,this.tableElement.style.paddingTop=this.vDomTopPad+"px",this.vDomScrollPosTop+=this.vDomTop?D:D+this.vDomWindowBuffer)}_addBottomRow(e,r){for(var C=this.tableElement,D=[],T=0,p=this.vDomBottom+1,t=0,d=!0;d;){let g=e[p],i,M;g&&t=i?(this.styleRow(g,p),C.appendChild(g.getElement()),(!g.initialized||!g.heightInitialized)&&D.push(g),g.initialize(),M||(i=g.getElement().offsetHeight,i>this.vDomWindowBuffer&&(this.vDomWindowBuffer=i*2)),r-=i,T+=i,this.vDomBottom++,p++,t++):d=!1):d=!1}for(let g of D)g.clearCellHeight();this._quickNormalizeRowHeight(D),T&&(this.vDomBottomPad-=T,(this.vDomBottomPad<0||p==e.length-1)&&(this.vDomBottomPad=0),C.style.paddingBottom=this.vDomBottomPad+"px",this.vDomScrollPosBottom+=T)}_removeBottomRow(e,r){for(var C=[],D=0,T=0,p=!0;p;){let t=e[this.vDomBottom],d;t&&T=d?(this.vDomBottom--,r-=d,D+=d,C.push(t),T++):p=!1):p=!1}for(let t of C){let d=t.getElement();d.parentNode&&d.parentNode.removeChild(d)}D&&(this.vDomBottomPad+=D,this.vDomBottomPad<0&&(this.vDomBottomPad=0),this.tableElement.style.paddingBottom=this.vDomBottomPad+"px",this.vDomScrollPosBottom-=D)}_quickNormalizeRowHeight(e){for(let r of e)r.calcHeight();for(let r of e)r.setCellHeight()}}class jP extends kl{constructor(e){super(e),this.element=this.createHolderElement(),this.tableElement=this.createTableElement(),this.heightFixer=this.createTableElement(),this.placeholder=null,this.placeholderContents=null,this.firstRender=!1,this.renderMode="virtual",this.fixedHeight=!1,this.rows=[],this.activeRowsPipeline=[],this.activeRows=[],this.activeRowsCount=0,this.displayRows=[],this.displayRowsCount=0,this.scrollTop=0,this.scrollLeft=0,this.redrawBlock=!1,this.redrawBlockRestoreConfig=!1,this.redrawBlockRenderInPosition=!1,this.dataPipeline=[],this.displayPipeline=[],this.scrollbarWidth=0,this.renderer=null}createHolderElement(){var e=document.createElement("div");return e.classList.add("tabulator-tableholder"),e.setAttribute("tabindex",0),e}createTableElement(){var e=document.createElement("div");return e.classList.add("tabulator-table"),e.setAttribute("role","rowgroup"),e}initializePlaceholder(){var e=this.table.options.placeholder;if(typeof e=="function"&&(e=e.call(this.table)),e=this.chain("placeholder",[e],e,e)||e,e){let r=document.createElement("div");if(r.classList.add("tabulator-placeholder"),typeof e=="string"){let C=document.createElement("div");C.classList.add("tabulator-placeholder-contents"),C.innerHTML=e,r.appendChild(C),this.placeholderContents=C}else typeof HTMLElement<"u"&&e instanceof HTMLElement?(r.appendChild(e),this.placeholderContents=e):(console.warn("Invalid placeholder provided, must be string or HTML Element",e),this.el=null);this.placeholder=r}}getElement(){return this.element}getTableElement(){return this.tableElement}initialize(){this.initializePlaceholder(),this.initializeRenderer(),this.element.appendChild(this.tableElement),this.firstRender=!0,this.element.addEventListener("scroll",()=>{var e=this.element.scrollLeft,r=this.scrollLeft>e,C=this.element.scrollTop,D=this.scrollTop>C;this.scrollLeft!=e&&(this.scrollLeft=e,this.dispatch("scroll-horizontal",e,r),this.dispatchExternal("scrollHorizontal",e,r),this._positionPlaceholder()),this.scrollTop!=C&&(this.scrollTop=C,this.renderer.scrollRows(C,D),this.dispatch("scroll-vertical",C,D),this.dispatchExternal("scrollVertical",C,D))})}findRow(e){if(typeof e=="object"){if(e instanceof vl)return e;if(e instanceof Wy)return e._getSelf()||!1;if(typeof HTMLElement<"u"&&e instanceof HTMLElement)return this.rows.find(C=>C.getElement()===e)||!1;if(e===null)return!1}else return typeof e>"u"?!1:this.rows.find(C=>C.data[this.table.options.index]==e)||!1;return!1}getRowFromDataObject(e){var r=this.rows.find(C=>C.data===e);return r||!1}getRowFromPosition(e){return this.getDisplayRows().find(r=>r.getPosition()===e&&r.isDisplayed())}scrollToRow(e,r,C){return this.renderer.scrollToRowPosition(e,r,C)}setData(e,r,C){return new Promise((D,T)=>{r&&this.getDisplayRows().length?this.table.options.pagination?this._setDataActual(e,!0):this.reRenderInPosition(()=>{this._setDataActual(e)}):(this.table.options.autoColumns&&C&&this.table.initialized&&this.table.columnManager.generateColumnsFromRowData(e),this.resetScroll(),this._setDataActual(e)),D()})}_setDataActual(e,r){this.dispatchExternal("dataProcessing",e),this._wipeElements(),Array.isArray(e)?(this.dispatch("data-processing",e),e.forEach((C,D)=>{if(C&&typeof C=="object"){var T=new vl(C,this);this.rows.push(T)}else console.warn("Data Loading Warning - Invalid row data detected and ignored, expecting object but received:",C)}),this.refreshActiveData(!1,!1,r),this.dispatch("data-processed",e),this.dispatchExternal("dataProcessed",e)):console.error(`Data Loading Error - Unable to process data due to invalid data type -Expecting: array -Received: `,typeof e,` -Data: `,e)}_wipeElements(){this.dispatch("rows-wipe"),this.destroy(),this.adjustTableSize(),this.dispatch("rows-wiped")}destroy(){this.rows.forEach(e=>{e.wipe()}),this.rows=[],this.activeRows=[],this.activeRowsPipeline=[],this.activeRowsCount=0,this.displayRows=[],this.displayRowsCount=0}deleteRow(e,r){var C=this.rows.indexOf(e),D=this.activeRows.indexOf(e);D>-1&&this.activeRows.splice(D,1),C>-1&&this.rows.splice(C,1),this.setActiveRows(this.activeRows),this.displayRowIterator(T=>{var p=T.indexOf(e);p>-1&&T.splice(p,1)}),r||this.reRenderInPosition(),this.regenerateRowPositions(),this.dispatchExternal("rowDeleted",e.getComponent()),this.displayRowsCount||this.tableEmpty(),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.getData())}addRow(e,r,C,D){var T=this.addRowActual(e,r,C,D);return T}addRows(e,r,C,D){var T=[];return new Promise((p,t)=>{r=this.findAddRowPos(r),Array.isArray(e)||(e=[e]),(typeof C>"u"&&r||typeof C<"u"&&!r)&&e.reverse(),e.forEach((d,g)=>{var i=this.addRow(d,r,C,!0);T.push(i),this.dispatch("row-added",i,d,r,C)}),this.refreshActiveData(D?"displayPipeline":!1,!1,!0),this.regenerateRowPositions(),this.displayRowsCount&&this._clearPlaceholder(),p(T)})}findAddRowPos(e){return typeof e>"u"&&(e=this.table.options.addRowPos),e==="pos"&&(e=!0),e==="bottom"&&(e=!1),e}addRowActual(e,r,C,D){var T=e instanceof vl?e:new vl(e||{},this),p=this.findAddRowPos(r),t=-1,d,g;return C||(g=this.chain("row-adding-position",[T,p],null,{index:C,top:p}),C=g.index,p=g.top),typeof C<"u"&&(C=this.findRow(C)),C=this.chain("row-adding-index",[T,C,p],null,C),C&&(t=this.rows.indexOf(C)),C&&t>-1?(d=this.activeRows.indexOf(C),this.displayRowIterator(function(i){var M=i.indexOf(C);M>-1&&i.splice(p?M:M+1,0,T)}),d>-1&&this.activeRows.splice(p?d:d+1,0,T),this.rows.splice(p?t:t+1,0,T)):p?(this.displayRowIterator(function(i){i.unshift(T)}),this.activeRows.unshift(T),this.rows.unshift(T)):(this.displayRowIterator(function(i){i.push(T)}),this.activeRows.push(T),this.rows.push(T)),this.setActiveRows(this.activeRows),this.dispatchExternal("rowAdded",T.getComponent()),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.table.rowManager.getData()),D||this.reRenderInPosition(),T}moveRow(e,r,C){this.dispatch("row-move",e,r,C),this.moveRowActual(e,r,C),this.regenerateRowPositions(),this.dispatch("row-moved",e,r,C),this.dispatchExternal("rowMoved",e.getComponent())}moveRowActual(e,r,C){this.moveRowInArray(this.rows,e,r,C),this.moveRowInArray(this.activeRows,e,r,C),this.displayRowIterator(D=>{this.moveRowInArray(D,e,r,C)}),this.dispatch("row-moving",e,r,C)}moveRowInArray(e,r,C,D){var T,p,t,d;if(r!==C&&(T=e.indexOf(r),T>-1&&(e.splice(T,1),p=e.indexOf(C),p>-1?D?e.splice(p+1,0,r):e.splice(p,0,r):e.splice(T,0,r)),e===this.getDisplayRows())){t=TT?p:T+1;for(let g=t;g<=d;g++)e[g]&&this.styleRow(e[g],g)}}clearData(){this.setData([])}getRowIndex(e){return this.findRowIndex(e,this.rows)}getDisplayRowIndex(e){var r=this.getDisplayRows().indexOf(e);return r>-1?r:!1}nextDisplayRow(e,r){var C=this.getDisplayRowIndex(e),D=!1;return C!==!1&&C-1)?C:!1}getData(e,r){var C=[],D=this.getRows(e);return D.forEach(function(T){T.type=="row"&&C.push(T.getData(r||"data"))}),C}getComponents(e){var r=[],C=this.getRows(e);return C.forEach(function(D){r.push(D.getComponent())}),r}getDataCount(e){var r=this.getRows(e);return r.length}scrollHorizontal(e){this.scrollLeft=e,this.element.scrollLeft=e,this.dispatch("scroll-horizontal",e)}registerDataPipelineHandler(e,r){typeof r<"u"?(this.dataPipeline.push({handler:e,priority:r}),this.dataPipeline.sort((C,D)=>C.priority-D.priority)):console.error("Data pipeline handlers must have a priority in order to be registered")}registerDisplayPipelineHandler(e,r){typeof r<"u"?(this.displayPipeline.push({handler:e,priority:r}),this.displayPipeline.sort((C,D)=>C.priority-D.priority)):console.error("Display pipeline handlers must have a priority in order to be registered")}refreshActiveData(e,r,C){var D=this.table,T="",p=0,t=["all","dataPipeline","display","displayPipeline","end"];if(!this.table.destroyed){if(typeof e=="function")if(p=this.dataPipeline.findIndex(d=>d.handler===e),p>-1)T="dataPipeline",r&&(p==this.dataPipeline.length-1?T="display":p++);else if(p=this.displayPipeline.findIndex(d=>d.handler===e),p>-1)T="displayPipeline",r&&(p==this.displayPipeline.length-1?T="end":p++);else{console.error("Unable to refresh data, invalid handler provided",e);return}else T=e||"all",p=0;if(this.redrawBlock){(!this.redrawBlockRestoreConfig||this.redrawBlockRestoreConfig&&(this.redrawBlockRestoreConfig.stage===T&&p{C.type==="row"&&(C.setPosition(r),r++)})}setActiveRows(e){this.activeRows=this.activeRows=Object.assign([],e),this.activeRowsCount=this.activeRows.length}resetDisplayRows(){this.displayRows=[],this.displayRows.push(this.activeRows.slice(0)),this.displayRowsCount=this.displayRows[0].length}setDisplayRows(e,r){this.displayRows[r]=e,r==this.displayRows.length-1&&(this.displayRowsCount=this.displayRows[this.displayRows.length-1].length)}getDisplayRows(e){return typeof e>"u"?this.displayRows.length?this.displayRows[this.displayRows.length-1]:[]:this.displayRows[e]||[]}getVisibleRows(e,r){var C=Object.assign([],this.renderer.visibleRows(!r));return e&&(C=this.chain("rows-visible",[r],C,C)),C}displayRowIterator(e){this.activeRowsPipeline.forEach(e),this.displayRows.forEach(e),this.displayRowsCount=this.displayRows[this.displayRows.length-1].length}getRows(e){var r=[];switch(e){case"active":r=this.activeRows;break;case"display":r=this.table.rowManager.getDisplayRows();break;case"visible":r=this.getVisibleRows(!1,!0);break;default:r=this.chain("rows-retrieve",e,null,this.rows)||this.rows}return r}reRenderInPosition(e){this.redrawBlock?e?e():this.redrawBlockRenderInPosition=!0:(this.dispatchExternal("renderStarted"),this.renderer.rerenderRows(e),this.fixedHeight||this.adjustTableSize(),this.scrollBarCheck(),this.dispatchExternal("renderComplete"))}scrollBarCheck(){var e=0;this.element.scrollHeight>this.element.clientHeight&&(e=this.element.offsetWidth-this.element.clientWidth),e!==this.scrollbarWidth&&(this.scrollbarWidth=e,this.dispatch("scrollbar-vertical",e))}initializeRenderer(){var e,r={virtual:VP,basic:NP};typeof this.table.options.renderVertical=="string"?e=r[this.table.options.renderVertical]:e=this.table.options.renderVertical,e?(this.renderMode=this.table.options.renderVertical,this.renderer=new e(this.table,this.element,this.tableElement),this.renderer.initialize(),(this.table.element.clientHeight||this.table.options.height)&&!(this.table.options.minHeight&&this.table.options.maxHeight)?this.fixedHeight=!0:this.fixedHeight=!1):console.error("Unable to find matching renderer:",this.table.options.renderVertical)}getRenderMode(){return this.renderMode}renderTable(){this.dispatchExternal("renderStarted"),this.element.scrollTop=0,this._clearTable(),this.displayRowsCount?(this.renderer.renderRows(),this.firstRender&&(this.firstRender=!1,this.fixedHeight||this.adjustTableSize(),this.layoutRefresh(!0))):this.renderEmptyScroll(),this.fixedHeight||this.adjustTableSize(),this.dispatch("table-layout"),this.displayRowsCount||this._showPlaceholder(),this.scrollBarCheck(),this.dispatchExternal("renderComplete")}renderEmptyScroll(){this.placeholder?this.tableElement.style.display="none":this.tableElement.style.minWidth=this.table.columnManager.getWidth()+"px"}_clearTable(){this._clearPlaceholder(),this.scrollTop=0,this.scrollLeft=0,this.renderer.clearRows()}tableEmpty(){this.renderEmptyScroll(),this._showPlaceholder()}checkPlaceholder(){this.displayRowsCount?this._clearPlaceholder():this.tableEmpty()}_showPlaceholder(){this.placeholder&&(this.placeholder&&this.placeholder.parentNode&&this.placeholder.parentNode.removeChild(this.placeholder),this.initializePlaceholder(),this.placeholder.setAttribute("tabulator-render-mode",this.renderMode),this.getElement().appendChild(this.placeholder),this._positionPlaceholder(),this.adjustTableSize())}_clearPlaceholder(){this.placeholder&&this.placeholder.parentNode&&this.placeholder.parentNode.removeChild(this.placeholder),this.tableElement.style.minWidth="",this.tableElement.style.display=""}_positionPlaceholder(){this.placeholder&&this.placeholder.parentNode&&(this.placeholder.style.width=this.table.columnManager.getWidth()+"px",this.placeholderContents.style.width=this.table.rowManager.element.clientWidth+"px",this.placeholderContents.style.marginLeft=this.scrollLeft+"px")}styleRow(e,r){var C=e.getElement();r%2?(C.classList.add("tabulator-row-even"),C.classList.remove("tabulator-row-odd")):(C.classList.add("tabulator-row-odd"),C.classList.remove("tabulator-row-even"))}normalizeHeight(){this.activeRows.forEach(function(e){e.normalizeHeight()})}adjustTableSize(){let e=this.element.clientHeight,r,C=!1;if(this.renderer.verticalFillMode==="fill"){let D=Math.floor(this.table.columnManager.getElement().getBoundingClientRect().height+(this.table.footerManager&&this.table.footerManager.active&&!this.table.footerManager.external?this.table.footerManager.getElement().getBoundingClientRect().height:0));if(this.fixedHeight){r=isNaN(this.table.options.minHeight)?this.table.options.minHeight:this.table.options.minHeight+"px";const T="calc(100% - "+D+"px)";this.element.style.minHeight=r||"calc(100% - "+D+"px)",this.element.style.height=T,this.element.style.maxHeight=T}else this.element.style.height="",this.element.style.height=this.table.element.clientHeight-D+"px",this.element.scrollTop=this.scrollTop;this.renderer.resize(),!this.fixedHeight&&e!=this.element.clientHeight&&(C=!0,this.subscribed("table-resize")?this.dispatch("table-resize"):this.redraw()),this.scrollBarCheck()}return this._positionPlaceholder(),C}reinitialize(){this.rows.forEach(function(e){e.reinitialize(!0)})}blockRedraw(){this.redrawBlock=!0,this.redrawBlockRestoreConfig=!1}restoreRedraw(){this.redrawBlock=!1,this.redrawBlockRestoreConfig?(this.refreshActiveData(this.redrawBlockRestoreConfig.handler,this.redrawBlockRestoreConfig.skipStage,this.redrawBlockRestoreConfig.renderInPosition),this.redrawBlockRestoreConfig=!1):this.redrawBlockRenderInPosition&&this.reRenderInPosition(),this.redrawBlockRenderInPosition=!1}redraw(e){this.adjustTableSize(),this.table.tableWidth=this.table.element.clientWidth,e?this.renderTable():(this.reRenderInPosition(),this.scrollHorizontal(this.scrollLeft))}resetScroll(){if(this.element.scrollLeft=0,this.element.scrollTop=0,this.table.browser==="ie"){var e=document.createEvent("Event");e.initEvent("scroll",!1,!0),this.element.dispatchEvent(e)}else this.element.dispatchEvent(new Event("scroll"))}}class UP extends kl{constructor(e){super(e),this.active=!1,this.element=this.createElement(),this.containerElement=this.createContainerElement(),this.external=!1}initialize(){this.initializeElement()}createElement(){var e=document.createElement("div");return e.classList.add("tabulator-footer"),e}createContainerElement(){var e=document.createElement("div");return e.classList.add("tabulator-footer-contents"),this.element.appendChild(e),e}initializeElement(){if(this.table.options.footerElement)switch(typeof this.table.options.footerElement){case"string":this.table.options.footerElement[0]==="<"?this.containerElement.innerHTML=this.table.options.footerElement:(this.external=!0,this.containerElement=document.querySelector(this.table.options.footerElement));break;default:this.element=this.table.options.footerElement;break}}getElement(){return this.element}append(e){this.activate(),this.containerElement.appendChild(e),this.table.rowManager.adjustTableSize()}prepend(e){this.activate(),this.element.insertBefore(e,this.element.firstChild),this.table.rowManager.adjustTableSize()}remove(e){e.parentNode.removeChild(e),this.deactivate()}deactivate(e){(!this.element.firstChild||e)&&(this.external||this.element.parentNode.removeChild(this.element),this.active=!1)}activate(){this.active||(this.active=!0,this.external||(this.table.element.appendChild(this.getElement()),this.table.element.style.display=""))}redraw(){this.dispatch("footer-redraw")}}class HP extends kl{constructor(e){super(e),this.el=null,this.abortClasses=["tabulator-headers","tabulator-table"],this.previousTargets={},this.listeners=["click","dblclick","contextmenu","mouseenter","mouseleave","mouseover","mouseout","mousemove","mouseup","mousedown","touchstart","touchend"],this.componentMap={"tabulator-cell":"cell","tabulator-row":"row","tabulator-group":"group","tabulator-col":"column"},this.pseudoTrackers={row:{subscriber:null,target:null},cell:{subscriber:null,target:null},group:{subscriber:null,target:null},column:{subscriber:null,target:null}},this.pseudoTracking=!1}initialize(){this.el=this.table.element,this.buildListenerMap(),this.bindSubscriptionWatchers()}buildListenerMap(){var e={};this.listeners.forEach(r=>{e[r]={handler:null,components:[]}}),this.listeners=e}bindPseudoEvents(){Object.keys(this.pseudoTrackers).forEach(e=>{this.pseudoTrackers[e].subscriber=this.pseudoMouseEnter.bind(this,e),this.subscribe(e+"-mouseover",this.pseudoTrackers[e].subscriber)}),this.pseudoTracking=!0}pseudoMouseEnter(e,r,C){this.pseudoTrackers[e].target!==C&&(this.pseudoTrackers[e].target&&this.dispatch(e+"-mouseleave",r,this.pseudoTrackers[e].target),this.pseudoMouseLeave(e,r),this.pseudoTrackers[e].target=C,this.dispatch(e+"-mouseenter",r,C))}pseudoMouseLeave(e,r){var C=Object.keys(this.pseudoTrackers),D={row:["cell"],cell:["row"]};C=C.filter(T=>{var p=D[e];return T!==e&&(!p||p&&!p.includes(T))}),C.forEach(T=>{var p=this.pseudoTrackers[T].target;this.pseudoTrackers[T].target&&(this.dispatch(T+"-mouseleave",r,p),this.pseudoTrackers[T].target=null)})}bindSubscriptionWatchers(){var e=Object.keys(this.listeners),r=Object.values(this.componentMap);for(let C of r)for(let D of e){let T=C+"-"+D;this.subscriptionChange(T,this.subscriptionChanged.bind(this,C,D))}this.subscribe("table-destroy",this.clearWatchers.bind(this))}subscriptionChanged(e,r,C){var D=this.listeners[r].components,T=D.indexOf(e),p=!1;C?T===-1&&(D.push(e),p=!0):this.subscribed(e+"-"+r)||T>-1&&(D.splice(T,1),p=!0),(r==="mouseenter"||r==="mouseleave")&&!this.pseudoTracking&&this.bindPseudoEvents(),p&&this.updateEventListeners()}updateEventListeners(){for(let e in this.listeners){let r=this.listeners[e];r.components.length?r.handler||(r.handler=this.track.bind(this,e),this.el.addEventListener(e,r.handler)):r.handler&&(this.el.removeEventListener(e,r.handler),r.handler=null)}}track(e,r){var C=r.composedPath&&r.composedPath()||r.path,D=this.findTargets(C);D=this.bindComponents(e,D),this.triggerEvents(e,r,D),this.pseudoTracking&&(e=="mouseover"||e=="mouseleave")&&!Object.keys(D).length&&this.pseudoMouseLeave("none",r)}findTargets(e){var r={};let C=Object.keys(this.componentMap);for(let D of e){let T=D.classList?[...D.classList]:[];if(T.filter(d=>this.abortClasses.includes(d)).length)break;let t=T.filter(d=>C.includes(d));for(let d of t)r[this.componentMap[d]]||(r[this.componentMap[d]]=D)}return r.group&&r.group===r.row&&delete r.row,r}bindComponents(e,r){var C=Object.keys(r).reverse(),D=this.listeners[e],T={},p={};for(let t of C){let d,g=r[t],i=this.previousTargets[t];if(i&&i.target===g)d=i.component;else switch(t){case"row":case"group":(D.components.includes("row")||D.components.includes("cell")||D.components.includes("group"))&&(d=this.table.rowManager.getVisibleRows(!0).find(v=>v.getElement()===g),r.row&&r.row.parentNode&&r.row.parentNode.closest(".tabulator-row")&&(r[t]=!1));break;case"column":D.components.includes("column")&&(d=this.table.columnManager.findColumn(g));break;case"cell":D.components.includes("cell")&&(T.row instanceof vl?d=T.row.findCell(g):r.row&&console.warn("Event Target Lookup Error - The row this cell is attached to cannot be found, has the table been reinitialized without being destroyed first?"));break}d&&(T[t]=d,p[t]={target:g,component:d})}return this.previousTargets=p,T}triggerEvents(e,r,C){var D=this.listeners[e];for(let T in C)C[T]&&D.components.includes(T)&&this.dispatch(T+"-"+e,r,C[T])}clearWatchers(){for(let e in this.listeners){let r=this.listeners[e];r.handler&&(this.el.removeEventListener(e,r.handler),r.handler=null)}}}class GP{constructor(e){this.table=e,this.bindings={}}bind(e,r,C){this.bindings[e]||(this.bindings[e]={}),this.bindings[e][r]?console.warn("Unable to bind component handler, a matching function name is already bound",e,r,C):this.bindings[e][r]=C}handle(e,r,C){if(this.bindings[e]&&this.bindings[e][C]&&typeof this.bindings[e][C].bind=="function")return this.bindings[e][C].bind(null,r);C!=="then"&&typeof C=="string"&&!C.startsWith("_")&&this.table.options.debugInvalidComponentFuncs&&console.error("The "+e+" component does not have a "+C+" function, have you checked that you have the correct Tabulator module installed?")}}class qP extends kl{constructor(e){super(e),this.requestOrder=0,this.loading=!1}initialize(){}load(e,r,C,D,T,p){var t=++this.requestOrder;if(this.table.destroyed)return Promise.resolve();if(this.dispatchExternal("dataLoading",e),e&&(e.indexOf("{")==0||e.indexOf("[")==0)&&(e=JSON.parse(e)),this.confirm("data-loading",[e,r,C,T])){this.loading=!0,T||this.alertLoader(),r=this.chain("data-params",[e,C,T],r||{},r||{}),r=this.mapParams(r,this.table.options.dataSendParams);var d=this.chain("data-load",[e,r,C,T],!1,Promise.resolve([]));return d.then(g=>{if(this.table.destroyed)console.warn("Data Load Response Blocked - Table has been destroyed");else{!Array.isArray(g)&&typeof g=="object"&&(g=this.mapParams(g,this.objectInvert(this.table.options.dataReceiveParams)));var i=this.chain("data-loaded",g,null,g);t==this.requestOrder?(this.clearAlert(),i!==!1&&(this.dispatchExternal("dataLoaded",i),this.table.rowManager.setData(i,D,typeof p>"u"?!D:p))):console.warn("Data Load Response Blocked - An active data load request was blocked by an attempt to change table data while the request was being made")}}).catch(g=>{console.error("Data Load Error: ",g),this.dispatchExternal("dataLoadError",g),T||this.alertError(),setTimeout(()=>{this.clearAlert()},this.table.options.dataLoaderErrorTimeout)}).finally(()=>{this.loading=!1})}else return this.dispatchExternal("dataLoaded",e),e||(e=[]),this.table.rowManager.setData(e,D,typeof p>"u"?!D:p),Promise.resolve()}mapParams(e,r){var C={};for(let D in e)C[r.hasOwnProperty(D)?r[D]:D]=e[D];return C}objectInvert(e){var r={};for(let C in e)r[e[C]]=C;return r}blockActiveLoad(){this.requestOrder++}alertLoader(){var e=typeof this.table.options.dataLoader=="function"?this.table.options.dataLoader():this.table.options.dataLoader;e&&this.table.alertManager.alert(this.table.options.dataLoaderLoading||this.langText("data|loading"))}alertError(){this.table.alertManager.alert(this.table.options.dataLoaderError||this.langText("data|error"),"error")}clearAlert(){this.table.alertManager.clear()}}class WP{constructor(e,r,C){this.table=e,this.events={},this.optionsList=r||{},this.subscriptionNotifiers={},this.dispatch=C?this._debugDispatch.bind(this):this._dispatch.bind(this),this.debug=C}subscriptionChange(e,r){this.subscriptionNotifiers[e]||(this.subscriptionNotifiers[e]=[]),this.subscriptionNotifiers[e].push(r),this.subscribed(e)&&this._notifySubscriptionChange(e,!0)}subscribe(e,r){this.events[e]||(this.events[e]=[]),this.events[e].push(r),this._notifySubscriptionChange(e,!0)}unsubscribe(e,r){var C;if(this.events[e])if(r)if(C=this.events[e].findIndex(D=>D===r),C>-1)this.events[e].splice(C,1);else{console.warn("Cannot remove event, no matching event found:",e,r);return}else delete this.events[e];else{console.warn("Cannot remove event, no events set on:",e);return}this._notifySubscriptionChange(e,!1)}subscribed(e){return this.events[e]&&this.events[e].length}_notifySubscriptionChange(e,r){var C=this.subscriptionNotifiers[e];C&&C.forEach(D=>{D(r)})}_dispatch(){var e=Array.from(arguments),r=e.shift(),C;return this.events[r]&&this.events[r].forEach((D,T)=>{let p=D.apply(this.table,e);T||(C=p)}),C}_debugDispatch(){var e=Array.from(arguments),r=e[0];return e[0]="ExternalEvent:"+e[0],(this.debug===!0||this.debug.includes(r))&&console.log(...e),this._dispatch(...arguments)}}class YP{constructor(e){this.events={},this.subscriptionNotifiers={},this.dispatch=e?this._debugDispatch.bind(this):this._dispatch.bind(this),this.chain=e?this._debugChain.bind(this):this._chain.bind(this),this.confirm=e?this._debugConfirm.bind(this):this._confirm.bind(this),this.debug=e}subscriptionChange(e,r){this.subscriptionNotifiers[e]||(this.subscriptionNotifiers[e]=[]),this.subscriptionNotifiers[e].push(r),this.subscribed(e)&&this._notifySubscriptionChange(e,!0)}subscribe(e,r,C=1e4){this.events[e]||(this.events[e]=[]),this.events[e].push({callback:r,priority:C}),this.events[e].sort((D,T)=>D.priority-T.priority),this._notifySubscriptionChange(e,!0)}unsubscribe(e,r){var C;if(this.events[e]){if(r)if(C=this.events[e].findIndex(D=>D.callback===r),C>-1)this.events[e].splice(C,1);else{console.warn("Cannot remove event, no matching event found:",e,r);return}}else{console.warn("Cannot remove event, no events set on:",e);return}this._notifySubscriptionChange(e,!1)}subscribed(e){return this.events[e]&&this.events[e].length}_chain(e,r,C,D){var T=C;return Array.isArray(r)||(r=[r]),this.subscribed(e)?(this.events[e].forEach((p,t)=>{T=p.callback.apply(this,r.concat([T]))}),T):typeof D=="function"?D():D}_confirm(e,r){var C=!1;return Array.isArray(r)||(r=[r]),this.subscribed(e)&&this.events[e].forEach((D,T)=>{D.callback.apply(this,r)&&(C=!0)}),C}_notifySubscriptionChange(e,r){var C=this.subscriptionNotifiers[e];C&&C.forEach(D=>{D(r)})}_dispatch(){var e=Array.from(arguments),r=e.shift();this.events[r]&&this.events[r].forEach(C=>{C.callback.apply(this,e)})}_debugDispatch(){var e=Array.from(arguments),r=e[0];return e[0]="InternalEvent:"+r,(this.debug===!0||this.debug.includes(r))&&console.log(...e),this._dispatch(...arguments)}_debugChain(){var e=Array.from(arguments),r=e[0];return e[0]="InternalEvent:"+r,(this.debug===!0||this.debug.includes(r))&&console.log(...e),this._chain(...arguments)}_debugConfirm(){var e=Array.from(arguments),r=e[0];return e[0]="InternalEvent:"+r,(this.debug===!0||this.debug.includes(r))&&console.log(...e),this._confirm(...arguments)}}class $P extends kl{constructor(e){super(e)}_warnUser(){this.options("debugDeprecation")&&console.warn(...arguments)}check(e,r,C){var D="";return typeof this.options(e)<"u"?(D="Deprecated Setup Option - Use of the %c"+e+"%c option is now deprecated",r?(D=D+", Please use the %c"+r+"%c option instead",this._warnUser(D,"font-weight: bold;","font-weight: normal;","font-weight: bold;","font-weight: normal;"),C&&(this.table.options[r]=this.table.options[e])):this._warnUser(D,"font-weight: bold;","font-weight: normal;"),!1):!0}checkMsg(e,r){return typeof this.options(e)<"u"?(this._warnUser("%cDeprecated Setup Option - Use of the %c"+e+" %c option is now deprecated, "+r,"font-weight: normal;","font-weight: bold;","font-weight: normal;"),!1):!0}msg(e){this._warnUser(e)}}class pu{static register(e){pu.tables.push(e)}static deregister(e){var r=pu.tables.indexOf(e);r>-1&&pu.tables.splice(r,1)}static lookupTable(e,r){var C=[],D,T;if(typeof e=="string"){if(D=document.querySelectorAll(e),D.length)for(var p=0;p{p.widthFixed||p.reinitializeWidth(),(this.table.options.responsiveLayout?p.modules.responsive.visible:p.visible)&&(T=p),p.visible&&(r+=p.getWidth())}),T?(D=C-r+T.getWidth(),this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&(T.setWidth(0),this.table.modules.responsiveLayout.update()),D>0?T.setWidth(D):T.reinitializeWidth()):this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&this.table.modules.responsiveLayout.update()}function KP(n,e){var r=this.table.rowManager.element.getBoundingClientRect().width,C=0,D=0,T=0,p=0,t=[],d=[],g=0,i=0,M=0;function v(l){var a;return typeof l=="string"?l.indexOf("%")>-1?a=r/100*parseInt(l):a=parseInt(l):a=l,a}function f(l,a,u,o){var s=[],c=0,h=0,m=0,w=T,y=0,S=0,_=[];function k(x){return u*(x.column.definition.widthGrow||1)}function E(x){return v(x.width)-u*(x.column.definition.widthShrink||0)}return l.forEach(function(x,A){var L=o?E(x):k(x);x.column.minWidth>=L?s.push(x):x.column.maxWidth&&x.column.maxWidththis.table.rowManager.element.clientHeight&&(r-=this.table.rowManager.element.offsetWidth-this.table.rowManager.element.clientWidth),n.forEach(function(l){var a,u,o;l.visible&&(a=l.definition.width,u=parseInt(l.minWidth),a?(o=v(a),C+=o>u?o:u,l.definition.widthShrink&&(d.push({column:l,width:o>u?o:u}),g+=l.definition.widthShrink)):(t.push({column:l,width:0}),T+=l.definition.widthGrow||1))}),D=r-C,p=Math.floor(D/T),M=f(t,D,p,!1),t.length&&M>0&&(t[t.length-1].width+=M),t.forEach(function(l){D-=l.width}),i=Math.abs(M)+D,i>0&&g&&(M=f(d,i,Math.floor(i/g),!0)),M&&d.length&&(d[d.length-1].width-=M),t.forEach(function(l){l.column.setWidth(l.width)}),d.forEach(function(l){l.column.setWidth(l.width)})}var JP={fitData:ZP,fitDataFill:v5,fitDataTable:v5,fitDataStretch:XP,fitColumns:KP};class s0 extends qi{constructor(e){super(e,"layout"),this.mode=null,this.registerTableOption("layout","fitData"),this.registerTableOption("layoutColumnsOnNewData",!1),this.registerColumnOption("widthGrow"),this.registerColumnOption("widthShrink")}initialize(){var e=this.table.options.layout;s0.modes[e]?this.mode=e:(console.warn("Layout Error - invalid mode set, defaulting to 'fitData' : "+e),this.mode="fitData"),this.table.element.setAttribute("tabulator-layout",this.mode),this.subscribe("column-init",this.initializeColumn.bind(this))}initializeColumn(e){e.definition.widthGrow&&(e.definition.widthGrow=Number(e.definition.widthGrow)),e.definition.widthShrink&&(e.definition.widthShrink=Number(e.definition.widthShrink))}getMode(){return this.mode}layout(e){this.dispatch("layout-refreshing"),s0.modes[this.mode].call(this,this.table.columnManager.columnsByIndex,e),this.dispatch("layout-refreshed")}}s0.moduleName="layout";s0.modes=JP;var QP={default:{groups:{item:"item",items:"items"},columns:{},data:{loading:"Loading",error:"Error"},pagination:{page_size:"Page Size",page_title:"Show Page",first:"First",first_title:"First Page",last:"Last",last_title:"Last Page",prev:"Prev",prev_title:"Prev Page",next:"Next",next_title:"Next Page",all:"All",counter:{showing:"Showing",of:"of",rows:"rows",pages:"pages"}},headerFilters:{default:"filter column...",columns:{}}}};class ag extends qi{constructor(e){super(e),this.locale="default",this.lang=!1,this.bindings={},this.langList={},this.registerTableOption("locale",!1),this.registerTableOption("langs",{})}initialize(){this.langList=oo.deepClone(ag.langs),this.table.options.columnDefaults.headerFilterPlaceholder!==!1&&this.setHeaderFilterPlaceholder(this.table.options.columnDefaults.headerFilterPlaceholder);for(let e in this.table.options.langs)this.installLang(e,this.table.options.langs[e]);this.setLocale(this.table.options.locale),this.registerTableFunction("setLocale",this.setLocale.bind(this)),this.registerTableFunction("getLocale",this.getLocale.bind(this)),this.registerTableFunction("getLang",this.getLang.bind(this))}setHeaderFilterPlaceholder(e){this.langList.default.headerFilters.default=e}installLang(e,r){this.langList[e]?this._setLangProp(this.langList[e],r):this.langList[e]=r}_setLangProp(e,r){for(let C in r)e[C]&&typeof e[C]=="object"?this._setLangProp(e[C],r[C]):e[C]=r[C]}setLocale(e){e=e||"default";function r(C,D){for(var T in C)typeof C[T]=="object"?(D[T]||(D[T]={}),r(C[T],D[T])):D[T]=C[T]}if(e===!0&&navigator.language&&(e=navigator.language.toLowerCase()),e&&!this.langList[e]){let C=e.split("-")[0];this.langList[C]?(console.warn("Localization Error - Exact matching locale not found, using closest match: ",e,C),e=C):(console.warn("Localization Error - Matching locale not found, using default: ",e),e="default")}this.locale=e,this.lang=oo.deepClone(this.langList.default||{}),e!="default"&&r(this.langList[e],this.lang),this.dispatchExternal("localized",this.locale,this.lang),this._executeBindings()}getLocale(e){return this.locale}getLang(e){return e?this.langList[e]:this.lang}getText(e,r){var C=r?e+"|"+r:e,D=C.split("|"),T=this._getLangElement(D,this.locale);return T||""}_getLangElement(e,r){var C=this.lang;return e.forEach(function(D){var T;C&&(T=C[D],typeof T<"u"?C=T:C=!1)}),C}bind(e,r){this.bindings[e]||(this.bindings[e]=[]),this.bindings[e].push(r),r(this.getText(e),this.lang)}_executeBindings(){for(let e in this.bindings)this.bindings[e].forEach(r=>{r(this.getText(e),this.lang)})}}ag.moduleName="localize";ag.langs=QP;class e6 extends qi{constructor(e){super(e)}initialize(){this.registerTableFunction("tableComms",this.receive.bind(this))}getConnections(e){var r=[],C;return C=pu.lookupTable(e),C.forEach(D=>{this.table!==D&&r.push(D)}),r}send(e,r,C,D){var T=this.getConnections(e);T.forEach(p=>{p.tableComms(this.table.element,r,C,D)}),!T.length&&e&&console.warn("Table Connection Error - No tables matching selector found",e)}receive(e,r,C,D){if(this.table.modExists(r))return this.table.modules[r].commsReceived(e,C,D);console.warn("Inter-table Comms Error - no such module:",r)}}e6.moduleName="comms";var eO=Object.freeze({__proto__:null,LayoutModule:s0,LocalizeModule:ag,CommsModule:e6});class t6{constructor(e,r){this.bindStaticFunctionality(e),this.bindModules(e,eO,!0),r&&this.bindModules(e,r)}bindStaticFunctionality(e){e.moduleBindings={},e.extendModule=function(r,C,D){if(e.moduleBindings[r]){var T=e.moduleBindings[r][C];if(T)if(typeof D=="object")for(let p in D)T[p]=D[p];else console.warn("Module Error - Invalid value type, it must be an object");else console.warn("Module Error - property does not exist:",C)}else console.warn("Module Error - module does not exist:",r)},e.registerModule=function(r){Array.isArray(r)||(r=[r]),r.forEach(C=>{e.registerModuleBinding(C)})},e.registerModuleBinding=function(r){e.moduleBindings[r.moduleName]=r},e.findTable=function(r){var C=pu.lookupTable(r,!0);return Array.isArray(C)&&!C.length?!1:C},e.prototype.bindModules=function(){var r=[],C=[],D=[];this.modules={};for(var T in e.moduleBindings){let p=e.moduleBindings[T],t=new p(this);this.modules[T]=t,p.prototype.moduleCore?this.modulesCore.push(t):p.moduleInitOrder?p.moduleInitOrder<0?r.push(t):C.push(t):D.push(t)}r.sort((p,t)=>p.moduleInitOrder>t.moduleInitOrder?1:-1),C.sort((p,t)=>p.moduleInitOrder>t.moduleInitOrder?1:-1),this.modulesRegular=r.concat(D.concat(C))}}bindModules(e,r,C){var D=Object.values(r);C&&D.forEach(T=>{T.prototype.moduleCore=!0}),e.registerModule(D)}}class tO extends kl{constructor(e){super(e),this.element=this._createAlertElement(),this.msgElement=this._createMsgElement(),this.type=null,this.element.appendChild(this.msgElement)}_createAlertElement(){var e=document.createElement("div");return e.classList.add("tabulator-alert"),e}_createMsgElement(){var e=document.createElement("div");return e.classList.add("tabulator-alert-msg"),e.setAttribute("role","alert"),e}_typeClass(){return"tabulator-alert-state-"+this.type}alert(e,r="msg"){if(e){for(this.clear(),this.dispatch("alert-show",r),this.type=r;this.msgElement.firstChild;)this.msgElement.removeChild(this.msgElement.firstChild);this.msgElement.classList.add(this._typeClass()),typeof e=="function"&&(e=e()),e instanceof HTMLElement?this.msgElement.appendChild(e):this.msgElement.innerHTML=e,this.table.element.appendChild(this.element)}}clear(){this.dispatch("alert-hide",this.type),this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.msgElement.classList.remove(this._typeClass())}}class Yd{constructor(e,r){this.options={},this.columnManager=null,this.rowManager=null,this.footerManager=null,this.alertManager=null,this.vdomHoz=null,this.externalEvents=null,this.eventBus=null,this.interactionMonitor=!1,this.browser="",this.browserSlow=!1,this.browserMobile=!1,this.rtl=!1,this.originalElement=null,this.componentFunctionBinder=new GP(this),this.dataLoader=!1,this.modules={},this.modulesCore=[],this.modulesRegular=[],this.deprecationAdvisor=new $P(this),this.optionsList=new QM(this,"table constructor"),this.initialized=!1,this.destroyed=!1,this.initializeElement(e)&&(this.initializeCoreSystems(r),setTimeout(()=>{this._create()})),pu.register(this)}initializeElement(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement?(this.element=e,!0):typeof e=="string"?(this.element=document.querySelector(e),this.element?!0:(console.error("Tabulator Creation Error - no element found matching selector: ",e),!1)):(console.error("Tabulator Creation Error - Invalid element provided:",e),!1)}initializeCoreSystems(e){this.columnManager=new BP(this),this.rowManager=new jP(this),this.footerManager=new UP(this),this.dataLoader=new qP(this),this.alertManager=new tO(this),this.bindModules(),this.options=this.optionsList.generate(Yd.defaultOptions,e),this._clearObjectPointers(),this._mapDeprecatedFunctionality(),this.externalEvents=new WP(this,this.options,this.options.debugEventsExternal),this.eventBus=new YP(this.options.debugEventsInternal),this.interactionMonitor=new HP(this),this.dataLoader.initialize(),this.footerManager.initialize()}_mapDeprecatedFunctionality(){}_clearSelection(){this.element.classList.add("tabulator-block-select"),window.getSelection?window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().removeAllRanges():document.selection&&document.selection.empty(),this.element.classList.remove("tabulator-block-select")}_create(){this.externalEvents.dispatch("tableBuilding"),this.eventBus.dispatch("table-building"),this._rtlCheck(),this._buildElement(),this._initializeTable(),this._loadInitialData(),this.initialized=!0,this.externalEvents.dispatch("tableBuilt")}_rtlCheck(){var e=window.getComputedStyle(this.element);switch(this.options.textDirection){case"auto":if(e.direction!=="rtl")break;case"rtl":this.element.classList.add("tabulator-rtl"),this.rtl=!0;break;case"ltr":this.element.classList.add("tabulator-ltr");default:this.rtl=!1}}_clearObjectPointers(){this.options.columns=this.options.columns.slice(0),Array.isArray(this.options.data)&&!this.options.reactiveData&&(this.options.data=this.options.data.slice(0))}_buildElement(){var e=this.element,r=this.options,C;if(e.tagName==="TABLE"){this.originalElement=this.element,C=document.createElement("div");var D=e.attributes;for(var T in D)typeof D[T]=="object"&&C.setAttribute(D[T].name,D[T].value);e.parentNode.replaceChild(C,e),this.element=e=C}for(e.classList.add("tabulator"),e.setAttribute("role","grid");e.firstChild;)e.removeChild(e.firstChild);r.height&&(r.height=isNaN(r.height)?r.height:r.height+"px",e.style.height=r.height),r.minHeight!==!1&&(r.minHeight=isNaN(r.minHeight)?r.minHeight:r.minHeight+"px",e.style.minHeight=r.minHeight),r.maxHeight!==!1&&(r.maxHeight=isNaN(r.maxHeight)?r.maxHeight:r.maxHeight+"px",e.style.maxHeight=r.maxHeight)}_initializeTable(){var e=this.element,r=this.options;this.interactionMonitor.initialize(),this.columnManager.initialize(),this.rowManager.initialize(),this._detectBrowser(),this.modulesCore.forEach(C=>{C.initialize()}),e.appendChild(this.columnManager.getElement()),e.appendChild(this.rowManager.getElement()),r.footerElement&&this.footerManager.activate(),r.autoColumns&&r.data&&this.columnManager.generateColumnsFromRowData(this.options.data),this.modulesRegular.forEach(C=>{C.initialize()}),this.columnManager.setColumns(r.columns),this.eventBus.dispatch("table-built")}_loadInitialData(){this.dataLoader.load(this.options.data),this.columnManager.verticalAlignHeaders()}destroy(){var e=this.element;for(this.destroyed=!0,pu.deregister(this),this.eventBus.dispatch("table-destroy"),this.rowManager.destroy();e.firstChild;)e.removeChild(e.firstChild);e.classList.remove("tabulator"),this.externalEvents.dispatch("tableDestroyed")}_detectBrowser(){var e=navigator.userAgent||navigator.vendor||window.opera;e.indexOf("Trident")>-1?(this.browser="ie",this.browserSlow=!0):e.indexOf("Edge")>-1?(this.browser="edge",this.browserSlow=!0):e.indexOf("Firefox")>-1?(this.browser="firefox",this.browserSlow=!1):e.indexOf("Mac OS")>-1?(this.browser="safari",this.browserSlow=!1):(this.browser="other",this.browserSlow=!1),this.browserMobile=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e.slice(0,4))}initGuard(e,r){var C,D;return this.options.debugInitialization&&!this.initialized&&(e||(C=new Error().stack.split(` -`),D=C[0]=="Error"?C[2]:C[1],D[0]==" "?e=D.trim().split(" ")[1].split(".")[1]:e=D.trim().split("@")[0]),console.warn("Table Not Initialized - Calling the "+e+" function before the table is initialized may result in inconsistent behavior, Please wait for the `tableBuilt` event before calling this function."+(r?" "+r:""))),this.initialized}blockRedraw(){this.initGuard(),this.eventBus.dispatch("redraw-blocking"),this.rowManager.blockRedraw(),this.columnManager.blockRedraw(),this.eventBus.dispatch("redraw-blocked")}restoreRedraw(){this.initGuard(),this.eventBus.dispatch("redraw-restoring"),this.rowManager.restoreRedraw(),this.columnManager.restoreRedraw(),this.eventBus.dispatch("redraw-restored")}setData(e,r,C){return this.initGuard(!1,"To set initial data please use the 'data' property in the table constructor."),this.dataLoader.load(e,r,C,!1)}clearData(){this.initGuard(),this.dataLoader.blockActiveLoad(),this.rowManager.clearData()}getData(e){return this.rowManager.getData(e)}getDataCount(e){return this.rowManager.getDataCount(e)}replaceData(e,r,C){return this.initGuard(),this.dataLoader.load(e,r,C,!0,!0)}updateData(e){var r=0;return this.initGuard(),new Promise((C,D)=>{this.dataLoader.blockActiveLoad(),typeof e=="string"&&(e=JSON.parse(e)),e&&e.length>0?e.forEach(T=>{var p=this.rowManager.findRow(T[this.options.index]);p?(r++,p.updateData(T).then(()=>{r--,r||C()}).catch(t=>{D("Update Error - Unable to update row",T,t)})):D("Update Error - Unable to find row",T)}):(console.warn("Update Error - No data provided"),D("Update Error - No data provided"))})}addData(e,r,C){return this.initGuard(),new Promise((D,T)=>{this.dataLoader.blockActiveLoad(),typeof e=="string"&&(e=JSON.parse(e)),e?this.rowManager.addRows(e,r,C).then(p=>{var t=[];p.forEach(function(d){t.push(d.getComponent())}),D(t)}):(console.warn("Update Error - No data provided"),T("Update Error - No data provided"))})}updateOrAddData(e){var r=[],C=0;return this.initGuard(),new Promise((D,T)=>{this.dataLoader.blockActiveLoad(),typeof e=="string"&&(e=JSON.parse(e)),e&&e.length>0?e.forEach(p=>{var t=this.rowManager.findRow(p[this.options.index]);C++,t?t.updateData(p).then(()=>{C--,r.push(t.getComponent()),C||D(r)}):this.rowManager.addRows(p).then(d=>{C--,r.push(d[0].getComponent()),C||D(r)})}):(console.warn("Update Error - No data provided"),T("Update Error - No data provided"))})}getRow(e){var r=this.rowManager.findRow(e);return r?r.getComponent():(console.warn("Find Error - No matching row found:",e),!1)}getRowFromPosition(e){var r=this.rowManager.getRowFromPosition(e);return r?r.getComponent():(console.warn("Find Error - No matching row found:",e),!1)}deleteRow(e){var r=[];this.initGuard(),Array.isArray(e)||(e=[e]);for(let C of e){let D=this.rowManager.findRow(C,!0);if(D)r.push(D);else return console.error("Delete Error - No matching row found:",C),Promise.reject("Delete Error - No matching row found")}return r.sort((C,D)=>this.rowManager.rows.indexOf(C)>this.rowManager.rows.indexOf(D)?1:-1),r.forEach(C=>{C.delete()}),this.rowManager.reRenderInPosition(),Promise.resolve()}addRow(e,r,C){return this.initGuard(),typeof e=="string"&&(e=JSON.parse(e)),this.rowManager.addRows(e,r,C,!0).then(D=>D[0].getComponent())}updateOrAddRow(e,r){var C=this.rowManager.findRow(e);return this.initGuard(),typeof r=="string"&&(r=JSON.parse(r)),C?C.updateData(r).then(()=>C.getComponent()):this.rowManager.addRows(r).then(D=>D[0].getComponent())}updateRow(e,r){var C=this.rowManager.findRow(e);return this.initGuard(),typeof r=="string"&&(r=JSON.parse(r)),C?C.updateData(r).then(()=>Promise.resolve(C.getComponent())):(console.warn("Update Error - No matching row found:",e),Promise.reject("Update Error - No matching row found"))}scrollToRow(e,r,C){var D=this.rowManager.findRow(e);return D?this.rowManager.scrollToRow(D,r,C):(console.warn("Scroll Error - No matching row found:",e),Promise.reject("Scroll Error - No matching row found"))}moveRow(e,r,C){var D=this.rowManager.findRow(e);this.initGuard(),D?D.moveToRow(r,C):console.warn("Move Error - No matching row found:",e)}getRows(e){return this.rowManager.getComponents(e)}getRowPosition(e){var r=this.rowManager.findRow(e);return r?r.getPosition():(console.warn("Position Error - No matching row found:",e),!1)}setColumns(e){this.initGuard(!1,"To set initial columns please use the 'columns' property in the table constructor"),this.columnManager.setColumns(e)}getColumns(e){return this.columnManager.getComponents(e)}getColumn(e){var r=this.columnManager.findColumn(e);return r?r.getComponent():(console.warn("Find Error - No matching column found:",e),!1)}getColumnDefinitions(){return this.columnManager.getDefinitionTree()}showColumn(e){var r=this.columnManager.findColumn(e);if(this.initGuard(),r)r.show();else return console.warn("Column Show Error - No matching column found:",e),!1}hideColumn(e){var r=this.columnManager.findColumn(e);if(this.initGuard(),r)r.hide();else return console.warn("Column Hide Error - No matching column found:",e),!1}toggleColumn(e){var r=this.columnManager.findColumn(e);if(this.initGuard(),r)r.visible?r.hide():r.show();else return console.warn("Column Visibility Toggle Error - No matching column found:",e),!1}addColumn(e,r,C){var D=this.columnManager.findColumn(C);return this.initGuard(),this.columnManager.addColumn(e,r,D).then(T=>T.getComponent())}deleteColumn(e){var r=this.columnManager.findColumn(e);return this.initGuard(),r?r.delete():(console.warn("Column Delete Error - No matching column found:",e),Promise.reject())}updateColumnDefinition(e,r){var C=this.columnManager.findColumn(e);return this.initGuard(),C?C.updateDefinition(r):(console.warn("Column Update Error - No matching column found:",e),Promise.reject())}moveColumn(e,r,C){var D=this.columnManager.findColumn(e),T=this.columnManager.findColumn(r);this.initGuard(),D?T?this.columnManager.moveColumn(D,T,C):console.warn("Move Error - No matching column found:",T):console.warn("Move Error - No matching column found:",e)}scrollToColumn(e,r,C){return new Promise((D,T)=>{var p=this.columnManager.findColumn(e);return p?this.columnManager.scrollToColumn(p,r,C):(console.warn("Scroll Error - No matching column found:",e),Promise.reject("Scroll Error - No matching column found"))})}redraw(e){this.initGuard(),this.columnManager.redraw(e),this.rowManager.redraw(e)}setHeight(e){this.options.height=isNaN(e)?e:e+"px",this.element.style.height=this.options.height,this.rowManager.initializeRenderer(),this.rowManager.redraw(!0)}on(e,r){this.externalEvents.subscribe(e,r)}off(e,r){this.externalEvents.unsubscribe(e,r)}dispatchEvent(){var e=Array.from(arguments);e.shift(),this.externalEvents.dispatch(...arguments)}alert(e,r){this.initGuard(),this.alertManager.alert(e,r)}clearAlert(){this.initGuard(),this.alertManager.clear()}modExists(e,r){return this.modules[e]?!0:(r&&console.error("Tabulator Module Not Installed: "+e),!1)}module(e){var r=this.modules[e];return r||console.error("Tabulator module not installed: "+e),r}}Yd.defaultOptions=DP;new t6(Yd);class n6 extends Yd{}new t6(n6,OP);const nO=ns({name:"TabulatorTable",props:{tableIndexField:{type:String,required:!1,default:()=>"id"},tableData:{type:Object,required:!0},columnDefinitions:{type:Object,required:!0},title:{type:String,required:!1},index:{type:Number,required:!0},selectedRowIndexFromListening:{type:Number,required:!1,default:()=>{}},tableLayoutParam:{type:String,required:!1,default:()=>"fitDataFill"},defaultRow:{type:Number,required:!1,default:()=>-1},initialSort:{type:Array,required:!1,default:()=>{}}},emits:["rowSelected"],setup(){return{streamlitDataStore:Ns()}},data(){return{tabulator:void 0,initialized:0}},computed:{id(){return`table-${this.index}`},containerStyles(){return{display:"flex","flex-direction":"column","align-items":"center"}},tableClasses(){var n,e;return{"table-dark":((n=this.streamlitDataStore.theme)==null?void 0:n.base)==="dark","table-light":((e=this.streamlitDataStore.theme)==null?void 0:e.base)==="light","table-striped":!1,"table-bordered":!0,"table-sm":!0}},preparedTableData(){const n=[...this.columnDefinitions.map(e=>e.field),"id"];if(this.tableData!==void 0&&this.tableData.length>0){const e=[];return this.tableData.forEach((r,C)=>{const D={};n.forEach(T=>{T!==void 0&&(D[T]=r[T])}),this.tableData[0][this.tableIndexField]===void 0?e.push({...D,[this.tableIndexField]:C}):e.push({...D})}),e}return this.tableData}},watch:{tableData(){this.drawTable()},selectedRowIndexFromListening(n){n!==void 0&&this.onSelectedRowListener(n)}},mounted(){this.drawTable()},methods:{drawTable(){this.tabulator=new n6(`#${this.id}`,{index:this.tableIndexField,data:this.preparedTableData,minHeight:50,maxHeight:this.title?320:310,responsiveLayout:"collapse",layout:this.tableLayoutParam,selectable:1,columnDefaults:{title:"",hozAlign:"right"},columns:this.columnDefinitions.map(n=>(n.headerTooltip===void 0&&(n.headerTooltip=!0),n)),initialSort:this.initialSort}),this.tabulator.on("tableBuilt",()=>{this.selectedRowIndexFromListening!==void 0?this.onSelectedRowListener(this.selectedRowIndexFromListening):this.selectDefaultRow()})},selectDefaultRow(){var n;if(this.defaultRow>=0){const e=(n=this.tabulator)==null?void 0:n.getRows("active");e&&e.length>0&&this.defaultRow>=0&&this.defaultRow[ia(fo(n.title??""),1)])])]),ti("div",lO,[nb(n.$slots,"end-title-row")])])]),ti("div",{id:n.id,class:Ju(n.tableClasses),onClick:e[0]||(e[0]=(...t)=>n.onTableClick&&n.onTableClick(...t))},null,10,uO)])}const y0=hs(nO,[["render",cO]]),Df=n=>e=>e.getValue().toString().length>4?e.getValue().toFixed(n??4):e.getValue(),hO=ns({name:"TabulatorScanTable",components:{TabulatorTable:y0},props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Ns(),e=rc();return{streamlitDataStore:n,selectionStore:e}},data(){return{columnDefinitions:[{title:"Index",field:"id",sorter:"number",headerTooltip:"The sequential index of the spectrum in the dataset."},{title:"Scan Number",field:"Scan",sorter:"number",headerTooltip:"The identifier of the mass spectrometry scan."},{title:"MS Level",field:"MSLevel",sorter:"number",headerTooltip:"The level of mass spectrometry analysis (e.g., MS1 or MS2)."},{title:"Retention time",field:"RT",formatter:Df(),sorter:"number",headerTooltip:"The time at which the spectrum was detected during the chromatographic separation in seconds."},{title:"Precursor Mass",field:"PrecursorMass",formatter:Df(),sorter:"number",headerTooltip:"The mass of the precursor ion selected for fragmentation in Daltons."},{title:"#Masses",field:"#Masses",sorter:"number",headerTooltip:"The number of detected masses in the spectrum."}]}},computed:{tableData(){const n=this.streamlitDataStore.allDataForDrawing.per_scan_data;return n.forEach(e=>e.id=e.index),n},selectedRow(){return this.selectionStore.selectedScanIndex}},methods:{updateSelectedScan(n){n!==void 0&&(n!==this.selectionStore.selectedScanIndex&&this.selectionStore.updateSelectedMass(0),this.selectionStore.updateSelectedScan(n))}}});function fO(n,e,r,C,D,T){const p=Gr("TabulatorTable");return Rr(),za(p,{"table-data":n.tableData,"column-definitions":n.columnDefinitions,title:"Scan Table",index:n.index,"table-layout-param":"fitColumns",onRowSelected:n.updateSelectedScan,"selected-row-index-from-listening":n.selectedRow,"default-row":0},null,8,["table-data","column-definitions","index","onRowSelected","selected-row-index-from-listening"])}const dO=hs(hO,[["render",fO]]),pO={xPosScalingFactor:27.5,xPosScalingThreshold:30,enableManualZoom:!0,showChargeLabels:!0},y5={highlightColor:"#E4572E",selectedColor:"#F3A712",unhighlightedColor:"lightblue",highlightHiddenColor:"1f77b4",annotationColors:{massButton:"#E4572E",selectedMassButton:"#F3A712",sequenceArrow:"#E4572E",selectedSequenceArrow:"#F3A712",background:"#f0f0f0",buttonHover:"#e0e0e0"}},mO=ns({name:"PlotlyLineplotUnified",props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Ns(),e=rc();return{streamlitDataStore:n,selectionStore:e}},data(){return{manual:!1,manual_xRange:void 0,isInitialized:!1,annotationsVisible:!0,localTitle:""}},computed:{id(){return`graph-${this.index}`},isDataReady(){var n;try{const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!e||!Array.isArray(e)||e.length===0)return!1;const r=this.selectedScan;if(r===void 0||r>=e.length)return!1;const C=e[r];if(!C||typeof C!="object")return!1;const D=this.xColumn,T=this.yColumn;if(!D||!T)return!1;const p=C[D],t=C[T];return!(!Array.isArray(p)||!Array.isArray(t)||p.length===0||t.length===0)}catch(e){return this.handleError(e,"isDataReady-computation"),!1}},theme(){return this.streamlitDataStore.theme},isTnTMode(){return this.selectionStore.selectedTag!==void 0},config(){return{...pO,...this.args.config}},styling(){var n;return{...y5,...this.args.styling,annotationColors:{...y5.annotationColors,...(n=this.args.styling)==null?void 0:n.annotationColors}}},selectedScan(){var n;try{const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;return!e||e.length===0?void 0:0}catch(e){this.handleError(e,"selectedScan-computation");return}},selectedTag(){return this.isTnTMode?this.selectionStore.selectedTagIndex:void 0},selectedAA(){var n;return this.isTnTMode?(n=this.selectionStore.selectedTag)==null?void 0:n.selectedAA:void 0},currentTitle(){return this.localTitle||this.args.title},xAxisLabel(){switch(this.currentTitle){case"Annotated Spectrum":case"Augmented Annotated Spectrum":return"m/z";case"Deconvolved Spectrum":case"Augmented Deconvolved Spectrum":return"Monoisotopic Mass";default:return""}},yAxisLabel(){return"Intensity"},xColumn(){switch(this.currentTitle){case"Annotated Spectrum":case"Augmented Annotated Spectrum":return"MonoMass_Anno";case"Deconvolved Spectrum":case"Augmented Deconvolved Spectrum":return"MonoMass";default:return""}},yColumn(){switch(this.currentTitle){case"Annotated Spectrum":case"Augmented Annotated Spectrum":return"SumIntensity_Anno";case"Deconvolved Spectrum":case"Augmented Deconvolved Spectrum":return"SumIntensity";default:return""}},xValues(){var n;try{const e=[],r=this.selectedScan;if(r===void 0)return e;const C=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!C||r>=C.length)return e;const D=C[r];if(!D)return e;const T=D[this.xColumn];return!T||!Array.isArray(T)||T.forEach(p=>{typeof p=="number"&&!isNaN(p)&&e.push(p,p,p)}),e}catch(e){return this.handleError(e,"xValues-computation"),[]}},yValues(){var n;try{const e=[],r=this.selectedScan;if(r===void 0)return e;const C=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!C||r>=C.length)return e;const D=C[r];if(!D)return e;const T=D[this.yColumn];return!T||!Array.isArray(T)||T.forEach(p=>{typeof p=="number"&&!isNaN(p)&&e.push(-1e7,p,-1e7)}),e}catch(e){return this.handleError(e,"yValues-computation"),[]}},MassValues(){var n;try{if(this.selectedScan===void 0)return[];const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!e||this.selectedScan>=e.length)return[];const r=e[this.selectedScan],C=r==null?void 0:r.MonoMass;return Array.isArray(C)?C:[]}catch(e){return this.handleError(e,"xMassValues-computation"),[]}},MZValues(){var n;try{if(this.selectedScan===void 0)return[];const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!e||this.selectedScan>=e.length)return[];const r=e[this.selectedScan],C=r==null?void 0:r.MonoMass_Anno;return Array.isArray(C)?C:[]}catch(e){return this.handleError(e,"xMassValues-computation"),[]}},mzSignals(){var n;try{if(this.selectedScan===void 0)return[];const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!e||this.selectedScan>=e.length)return[];const r=e[this.selectedScan],C=r==null?void 0:r.SignalPeaks;return Array.isArray(C)?C:[]}catch(e){return this.handleError(e,"mzSignals-computation"),[]}},minCharge(){var n;try{if(this.selectedScan===void 0)return-10;const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!e||this.selectedScan>=e.length)return-10;const r=e[this.selectedScan],C=r==null?void 0:r.MinCharges;return!Array.isArray(C)||C.length===0?-10:Math.min(...C)}catch(e){return this.handleError(e,"minCharge-computation"),-10}},maxCharge(){var n;try{if(this.selectedScan===void 0)return-10;const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!e||this.selectedScan>=e.length)return-10;const r=e[this.selectedScan],C=r==null?void 0:r.MinCharges;return!Array.isArray(C)||C.length===0?-10:Math.max(...C)}catch(e){return this.handleError(e,"maxCharge-computation"),-10}},showBackButton(){return this.isTnTMode&&this.currentTitle==="Augmented Annotated Spectrum"},shouldHighlightMassIndex(){return this.currentTitle==="Deconvolved Spectrum"&&this.selectionStore.selectedMassIndex!==void 0},highlightedValues(){var n,e;try{let r=[];((n=this.selectionStore.selectedTag)==null?void 0:n.masses)!==void 0&&(r=(e=this.selectionStore.selectedTag)==null?void 0:e.masses);let C=[];r.forEach((t,d)=>{for(let g=0;g=0&&this.selectionStore.selectedMassIndex=D.length)continue;if(T.length===0){p.push({mass:this.MassValues[d],mzs:[],charges:[],intensity:[]});continue}const g=D[d];let i=[],M=[],v=[];const f=T[d];if(Array.isArray(f))for(let l=0;l=4&&(i.push(a[1]),v.push(a[2]),M.push(a[3]))}p.push({mass:g,mzs:i,charges:M,intensity:v})}return p}catch(r){return this.handleError(r,"highlightedValues-computation"),[]}},highlightedMassPos(){var n,e;try{const r=this.highlightedValues;if(r.length===0||!Array.isArray(this.MassValues))return new Array(((n=this.MassValues)==null?void 0:n.length)||0).fill(!1);const C=new Set(r.map(D=>D.mass));return this.MassValues.map(D=>C.has(D))}catch(r){return this.handleError(r,"booleanMassHighlightMask-computation"),new Array(((e=this.MassValues)==null?void 0:e.length)||0).fill(!1)}},highlightedMzPos(){var n,e;try{const r=this.highlightedValues;if(r.length===0||!Array.isArray(this.MZValues))return new Array(((n=this.MZValues)==null?void 0:n.length)||0).fill(!1);const C=new Set(r.flatMap(D=>D.mzs));return this.MZValues.map(D=>C.has(D))}catch(r){return this.handleError(r,"booleanHighlightMask-computation"),new Array(((e=this.MZValues)==null?void 0:e.length)||0).fill(!1)}},plotData(){var p,t;let n=[],e=[],r=[],C=[],D=[],T=[];for(let d=0;dArray.isArray(g.mzs)?g.mzs:[]).filter(g=>Number.isFinite(g)):r=e.map(g=>g.mass).filter(g=>!isNaN(g)),r.length===0)return[0,1];let C=Math.min(...r)*.98,D=Math.max(...r)*1.02;if(this.xAxisLabel==="m/z")return[C,D];let T=r.reduce((g,i)=>g+i,0)/r.length,p=.5*.9*this.maxAnnotationRange,t=[T-p,T+p];return this.calculateOptimalXRange(t)}catch(n){return this.handleError(n,"xRange-computation"),[0,1]}},yRange(){try{return this.computeYRange(this.xRange)}catch(n){return this.handleError(n,"yRange-computation"),[0,1]}},annotationData(){var n,e;try{if(!this.annotationsVisible)return{shapes:[],annotations:[],traces:[]};const r=this.highlightedValues;if(r.length===0)return{shapes:[],annotations:[],traces:[]};const C=this.getAnnotationPositioning;if(!C)return{shapes:[],annotations:[],traces:[]};const{ypos_low:D,ypos:T,ypos_high:p,xpos_scaling:t}=C;let d=[],g=[],i=[];if(this.xAxisLabel==="m/z"){if(this.selectionStore.selectedMassIndex===void 0)return{shapes:[],annotations:[],traces:[]};if(this.selectionStore.selectedMassIndex>=this.MassValues.length)return{shapes:[],annotations:[],traces:[]};let c=this.styling.annotationColors.massButton;const h=r[0],{mzs:m,charges:w,intensity:y}=h;if(!m||m.length===0)return{shapes:[],annotations:[],traces:[]};const S=new Map;for(let x=0;xx.type==="charge"&&x.visible);let E=0;return S.forEach((x,A)=>{const L=x.reduce((O,z)=>O+z.intensity,0),R=x.map(O=>O.intensity/L*O.mz).reduce((O,z)=>O+z,0);k.some(O=>O.index===E)&&(g.push({type:"rect",x0:R-.5*t,y0:D,x1:R+.5*t,y1:p,fillcolor:c,line:{width:0}}),i.push({x:R,y:T,xref:"x",yref:"y",text:"z="+A,showarrow:!1,font:{size:15}})),E++}),{shapes:g,annotations:i,traces:d}}let M=[];const v=(n=this.selectionStore.selectedTag)==null?void 0:n.selectedAA,l=this.annotationBoxData.filter(c=>c.type==="mass"&&c.visible),a=r.length===1?2:1;for(let c=0;cy.index===c)){let y=this.styling.annotationColors.massButton,S="sans-serif";(v===c||v===c-1)&&(y=this.styling.annotationColors.selectedMassButton,S="Arial Black, Arial Bold, Arial, sans-serif"),d.push({x:[m],y:[T],mode:"markers",marker:{size:20,opacity:0},hoverinfo:"text",hovertext:String(m.toFixed(2)),type:"scatter"}),g.push({type:"rect",x0:m-a*t,y0:D,x1:m+a*t,y1:p,fillcolor:y,line:{width:0}}),i.push({x:m,y:T,xref:"x",yref:"y",text:m.toFixed(2),showarrow:!1,font:{size:15,family:S}})}}const u=T*.5,o=T*.6,s=(e=this.selectionStore.selectedTag)==null?void 0:e.sequence;for(let c=0;cS.index===c),y=l.some(S=>S.index===c+1);if(w&&y){let S=this.styling.annotationColors.sequenceArrow,_="sans-serif";v===c&&(S=this.styling.annotationColors.selectedSequenceArrow,_="Arial Black, Arial Bold, Arial, sans-serif");let k=h.mass,E=m.mass;const x=(k+E)/2;let A=x,L=x;const b=Math.abs(k-E)*.9;let R="",I=0;if(s!==void 0&&s.length>0){const O=s.length-1-c;O>=0&&OE?(I=k-E,k-=b,A+=b*.1,E+=b,L-=b*.1):(I=E-k,k+=b,A-=b*.1,E-=b,L+=b*.1),M.push({ax:A,ay:u,xref:"x",yref:"y",x:k,y:u,axref:"x",ayref:"y",showarrow:!0,arrowhead:0,arrowsize:1,arrowwidth:2,arrowcolor:S}),M.push({ax:L,ay:u,xref:"x",yref:"y",x:E,y:u,axref:"x",ayref:"y",showarrow:!0,arrowhead:2,arrowsize:1,arrowwidth:2,arrowcolor:S}),M.push({x,y:o,xref:"x",yref:"y",text:R,hovertext:"Δ="+I.toFixed(2)+" Da",showarrow:!1,font:{size:15,color:S,family:_}})}}return{shapes:g,annotations:[...i,...M],traces:d}}catch(r){return this.handleError(r,"annotationData-computation"),{shapes:[],annotations:[],traces:[]}}},data(){let n=[];if(!this.annotationsVisible)return n.push({x:this.xValues,y:this.yValues,mode:"lines",type:"scatter",connectgaps:!1,marker:{color:this.styling.highlightHiddenColor}}),n;n.push({x:this.plotData.unhighlighted_x,y:this.plotData.unhighlighted_y,mode:"lines",type:"scatter",marker:{color:this.styling.unhighlightedColor}}),n.push({x:this.plotData.highlighted_x,y:this.plotData.highlighted_y,mode:"lines",type:"scatter",marker:{color:this.styling.highlightColor}}),n.push({x:this.plotData.selected_x,y:this.plotData.selected_y,mode:"lines",type:"scatter",marker:{color:this.styling.selectedColor}});const e=this.annotationData.traces;return n.push(...e),n},layout(){var e,r,C,D,T;const n={title:`${this.currentTitle}`,showlegend:!1,height:400,xaxis:{title:this.xAxisLabel,showgrid:!1,showline:!0,linecolor:"grey",linewidth:1},yaxis:{title:this.yAxisLabel,showgrid:!0,gridcolor:(e=this.theme)==null?void 0:e.secondaryBackgroundColor,rangemode:"nonnegative",fixedrange:!1,showline:!0,linecolor:"grey",linewidth:1},paper_bgcolor:(r=this.theme)==null?void 0:r.backgroundColor,plot_bgcolor:(C=this.theme)==null?void 0:C.backgroundColor,font:{color:(D=this.theme)==null?void 0:D.textColor,family:(T=this.theme)==null?void 0:T.font}};return n.xaxis.range=this.xRange,n.yaxis.range=this.yRange,n.shapes=this.annotationData.shapes,n.annotations=this.annotationData.annotations,n},cssCustomProperties(){return{"--highlight-color":this.styling.highlightColor,"--selected-color":this.styling.selectedColor,"--unhighlighted-color":this.styling.unhighlightedColor,"--annotation-background":this.styling.annotationColors.background,"--button-hover-color":this.styling.annotationColors.buttonHover}}},watch:{isDataReady:{handler(n){n&&this.safeGraph()},immediate:!0},"streamlitDataStore.allDataForDrawing.per_scan_data":{handler(){this.safeGraph()},deep:!0},selectedScan(){this.resetManualState(),this.safeGraph()},xValues(){this.safeGraph()},selectedTag(){this.resetManualState(),this.safeGraph()},annotationsVisible(){this.safeGraph()},"selectionStore.selectedMassIndex"(){this.manual=!1,this.safeGraph()}},mounted(){this.initializeComponent()},methods:{computeAnnotationBoxes(n,e){try{const r=this.highlightedValues;if(r.length===0)return[];if(e.length<2||e[1]<=0||n.length<2)return[];const C=e[1]/1.8,D=C*1.18,T=C*1.32,p=(n[1]-n[0])/this.xPosScalingFactor,t=[];if(this.xAxisLabel==="m/z"){if(this.selectionStore.selectedMassIndex===void 0||this.selectionStore.selectedMassIndex>=this.MassValues.length)return t;const d=r[0],{mzs:g,charges:i,intensity:M}=d;if(!g||g.length===0)return t;const v=new Map;for(let l=0;l{const u=l.reduce((c,h)=>c+h.intensity,0),s=l.map(c=>c.intensity/u*c.mz).reduce((c,h)=>c+h,0);t.push({x:s,y:(D+T)/2,width:p,height:T-D,type:"charge",index:f++,visible:!0})})}else{const d=r.length===1?2:1;for(let g=0;g1){let d=!1;for(let g=0;g{g.visible=!1})}return t}catch(r){return this.handleError(r,"computeAnnotationBoxes"),[]}},wouldAnnotationsBeVisible(n){try{const e=this.computeYRange(n);return this.computeAnnotationBoxes(n,e).some(C=>C.visible)}catch(e){return this.handleError(e,"wouldAnnotationsBeVisible"),!0}},calculateOptimalXRange(n){try{let C=[...n];for(let D=0;D<10;D++){if(this.wouldAnnotationsBeVisible(C))return C;const T=(C[0]+C[1])/2,t=(C[1]-C[0])/2*.8;if(C=[T-t,T+t],C[1]-C[0]<.1)break}return C}catch(e){return this.handleError(e,"calculateOptimalXRange"),n}},dataToScreenX(n){try{const e=this.xRange;if(e.length!==2||e[1]<=e[0])return 0;const r=800;return 80+(n-e[0])/(e[1]-e[0])*r}catch(e){return this.handleError(e,"dataToScreenX"),0}},dataToScreenY(n){try{const e=this.yRange;if(e.length!==2||e[1]<=e[0])return 0;const r=300;return 50+r-(n-e[0])/(e[1]-e[0])*r}catch(e){return this.handleError(e,"dataToScreenY"),0}},dataToScreenWidth(n){try{const e=this.xRange;if(e.length!==2||e[1]<=e[0])return 0;const r=800;return n/(e[1]-e[0])*r}catch(e){return this.handleError(e,"dataToScreenWidth"),0}},dataToScreenHeight(n){try{const e=this.yRange;if(e.length!==2||e[1]<=e[0])return 0;const r=300;return n/(e[1]-e[0])*r}catch(e){return this.handleError(e,"dataToScreenHeight"),0}},testBoxesOverlapForRange(n,e,r){try{if(r.length!==2||r[1]<=r[0])return!1;const C=(r[1]-r[0])*.01,D=n.height*.1,T=n.x-n.width/2-C,p=n.x+n.width/2+C,t=n.y-n.height/2-D,d=n.y+n.height/2+D,g=e.x-e.width/2-C,i=e.x+e.width/2+C,M=e.y-e.height/2-D,v=e.y+e.height/2+D;return!(p{this.toggleAnnotations()}},{title:"Download as SVG",name:"toImageSvg",icon:Wl.Icons.camera,click:r=>{Wl.downloadImage(r,{filename:"FLASHViewer-lineplot",height:400,width:1200,format:"svg"})}}],scrollZoom:!0});e.on("plotly_relayout",r=>{this.onRelayout(r)}),e.on("plotly_click",r=>{this.onPlotClick(r)})}catch(n){this.handleError(n,"graph-rendering")}},initializeComponent(){try{this.isInitialized=!0,this.localTitle=this.args.title,this.safeGraph()}catch(n){this.handleError(n,"initializeComponent"),this.renderFallback()}},resetManualState(){try{this.manual=!1,this.manual_xRange=void 0,this.localTitle==="Augmented Annotated Spectrum"&&(this.localTitle="Augmented Deconvolved Spectrum"),this.selectionStore.updateSelectedMass(void 0)}catch(n){this.handleError(n,"resetManualState")}},backButton(){this.resetManualState(),this.safeGraph()},toggleAnnotations(){this.annotationsVisible=!this.annotationsVisible,this.safeGraph()},onPlotClick(n){if(n.points&&n.points.length>0){const e=n.points[0].x;for(let r=0;r=n[1])return[0,1];let C=0;for(let D=0;D=n[1]||p>C&&(C=p)}return C===0?[0,1]:[0,C*1.8]}catch(e){return this.handleError(e,"computeYRange"),[0,1]}},getFallbackData(){return[{x:[0,1],y:[0,0],mode:"lines",type:"scatter",marker:{color:this.styling.unhighlightedColor},name:"No Data"}]},getFallbackLayout(){var n,e,r,C;return{title:"No Data Available",showlegend:!1,height:400,xaxis:{title:"X-axis",showgrid:!1},yaxis:{title:"Y-axis",showgrid:!0,rangemode:"nonnegative"},paper_bgcolor:((n=this.theme)==null?void 0:n.backgroundColor)||"white",plot_bgcolor:((e=this.theme)==null?void 0:e.backgroundColor)||"white",font:{color:((r=this.theme)==null?void 0:r.textColor)||"black",family:((C=this.theme)==null?void 0:C.font)||"Arial"}}},validateComponentState(){var n;try{if(!this.streamlitDataStore||!this.selectionStore)return console.warn("PlotlyLineplotUnified: Required stores not available"),!1;const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!Array.isArray(e))return console.warn("PlotlyLineplotUnified: Invalid scan data structure"),!1;const r=this.selectedScan;if(r!==void 0&&r0}};console.error(`PlotlyLineplotUnified error in ${e}:`,n,r)}}});const gO=["id"];function vO(n,e,r,C,D,T){return Rr(),ei("div",{id:n.id,class:"plot-container",style:zs(n.cssCustomProperties)},[n.showBackButton?(Rr(),ei("button",{key:0,class:"simple-button",onClick:e[0]||(e[0]=(...p)=>n.backButton&&n.backButton(...p))}," ↩ ")):Zi("",!0)],12,gO)}const yO=hs(mO,[["render",vO],["__scopeId","data-v-0b5cc4d2"]]),bO=ns({name:"Plotly3Dplot",props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Ns(),e=rc();return{streamlitDataStore:n,selectionStore:e}},data(){return{maximumIntensity:0}},computed:{id(){return`graph-${this.index}`},title(){return this.selectedScanRow===void 0?"":this.selectedMassRow===void 0?"Precursor signals":"Mass signals"},theme(){return this.streamlitDataStore.theme},selectedScanRow(){if(this.selectionStore.selectedScanIndex!==void 0)return this.streamlitDataStore.allDataForDrawing.per_scan_data.length===1?0:this.selectionStore.selectedScanIndex},selectedMassRow(){return this.selectionStore.selectedMassIndex},dataForDrawing(){var T,p;const n=this.selectedScanRow,e=this.streamlitDataStore.allDataForDrawing.per_scan_data,r=this.selectedMassRow;if(n===void 0)return[];const C=e[n]??{};let D={};return r===void 0?D=this.getPrecursorSignal(C):this.streamlitDataStore.allDataForDrawing.per_scan_data.length===1?D=this.getSignalNoiseObject(C.SignalPeaks,C.NoisyPeaks):D=this.getSignalNoiseObject(((T=C.SignalPeaks)==null?void 0:T[r])??[[]],((p=C.NoisyPeaks)==null?void 0:p[r])??[[]]),Object.keys(D).length===0?[]:(this.updateMaximumIntensity(D),[{name:"Signal",type:"scatter3d",mode:"lines",x:D.signal_x,y:D.signal_y,z:D.signal_z,line:{color:"#3366CC"}},{name:"Noise",type:"scatter3d",mode:"lines",x:D.noise_x,y:D.noise_y,z:D.noise_z,line:{color:"#DC3912"}}])},layout(){var n,e,r,C;return{title:`${this.title}`,paper_bgcolor:(n=this.theme)==null?void 0:n.backgroundColor,plot_bgcolor:(e=this.theme)==null?void 0:e.secondaryBackgroundColor,height:800,font:{color:(r=this.theme)==null?void 0:r.textColor,family:(C=this.theme)==null?void 0:C.font},scene:{xaxis:{title:"Mass"},yaxis:{title:"Charge"},zaxis:{title:"Intensity",range:[0,this.maximumIntensity]},camera:{eye:{x:2.5,y:0,z:.2}}},showlegend:!0}}},watch:{selectedScanRow(){this.graph()},selectedMassRow(){this.graph()}},mounted(){this.graph()},methods:{updateMaximumIntensity(n){this.maximumIntensity=n.signal_z.concat(n.noise_z).reduce((e,r)=>Math.max(e,r),-1/0)},async graph(){await Wl.newPlot(this.id,this.dataForDrawing,this.layout,{modeBarButtonsToRemove:["toImage","sendDataToCloud"],modeBarButtonsToAdd:[{title:"Download as SVG",name:"toImageSvg",icon:Wl.Icons.camera,click:function(n){Wl.downloadImage(n,{filename:"FLASHViewer-3d-plot",height:800,width:800,format:"svg"})}}]})},getPrecursorSignal(n){if(n.PrecursorScan==0)return{};const e=this.streamlitDataStore.allDataForDrawing.per_scan_data.find(D=>D.Scan===n.PrecursorScan);if(!e)return{};const r=e.MonoMass,C=n.PrecursorMass;for(let D=0,T=r.length;DC.field),r=[];return Object.entries(n).forEach(C=>{const D=C[0];if(!e.includes(D)||D==="id")return;C[1].forEach((p,t)=>{r[t]={...r[t],[D]:p}})}),r.map((C,D)=>C.id=D),r},selectedMassFromFragmentTable(){return this.selectionStore.selectedObservedMassFromFragmentTable}},watch:{selectedMassFromFragmentTable(n){const e=this.tableData.findIndex(r=>r.MonoMass===n);e!==-1&&(this.selectedMassIndex=e)}},methods:{updateSelectedMass(n){n!==void 0&&this.selectionStore.updateSelectedMass(n)}}});function kO(n,e,r,C,D,T){const p=Gr("TabulatorTable");return Rr(),za(p,{"table-data":n.tableData,"column-definitions":n.columnDefinitions,title:"Mass Table",index:n.index,onRowSelected:n.updateSelectedMass,"selected-row-index-from-listening":n.selectedMassTableRow,"default-row":0},null,8,["table-data","column-definitions","index","onRowSelected","selected-row-index-from-listening"])}const MO=hs(TO,[["render",kO]]),AO=ns({name:"TabulatorProteinTable",components:{TabulatorTable:y0},props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Ns(),e=rc();return{streamlitDataStore:n,selectionStore:e}},data(){return{columnDefinitions:[{title:"Scan No.",field:"Scan",sorter:"number",headerTooltip:"The identifier of the mass spectrometry scan associated with the identified proteoform."},{title:"Accession",field:"accession",headerTooltip:"The unique identifier for the protein in the reference database."},{title:"Description",field:"description",responsive:10},{title:"Length",field:"length",responsive:6,sorter:"number",headerTooltip:"The total number of amino acids in the matched protein."},{title:"Mass",field:"ProteoformMass",responsive:8,sorter:"number",headerTooltip:"The calculated mass of the proteoform in Daltons.",formatter:function(n){const e=n.getValue();return e==-1?"-":e}},{title:"No. of Matched Fragments",field:"MatchingFragments",sorter:"number",headerTooltip:"The number of fragment ions that match the protein sequence."},{title:"No. of Modifications",field:"ModCount",sorter:"number",headerTooltip:"The number of modifications identified in the protein."},{title:"No. of Tags",field:"TagCount",sorter:"number",headerTooltip:"The number of sequence tags associated with the proteoform match."},{title:"Score",field:"Score",sorter:"number",headerTooltip:"A score indicating the confidence of the protein match (higher is better)."},{title:"Q-Value (Proteoform Level)",field:"ProteoformLevelQvalue",sorter:"number",headerTooltip:"The confidence value of the protein match at the proteoform level.",formatter:function(n){const e=n.getValue();return e==-1?"-":e}}],initialSort:[{column:"Score",dir:"desc"}]}},computed:{selectedRow(){return this.selectionStore.selectedProteinIndex},tableData(){const n=this.streamlitDataStore.dataForDrawing.protein_table;return n.forEach(e=>e.id=e.index),n}},methods:{updateSelectedProtein(n){if(n!==void 0){this.selectionStore.updateSelectedProtein(n);const e=this.streamlitDataStore.dataForDrawing.protein_table[n].Scan;if(e!==void 0&&typeof e=="number"){const r=this.streamlitDataStore.allDataForDrawing.per_scan_data.findIndex(C=>C.Scan===e);this.selectionStore.updateSelectedScan(r)}this.selectionStore.updateSelectedTag(void 0),this.selectionStore.updateTagData(void 0)}}}});function SO(n,e,r,C,D,T){const p=Gr("TabulatorTable");return Rr(),za(p,{"table-data":n.tableData,"column-definitions":n.columnDefinitions,title:"Protein Table",index:n.index,"selected-row-index-from-listening":n.selectedRow,"default-row":0,"initial-sort":n.initialSort,onRowSelected:n.updateSelectedProtein},null,8,["table-data","column-definitions","index","selected-row-index-from-listening","initial-sort","onRowSelected"])}const CO=hs(AO,[["render",SO]]),EO=ns({name:"TabulatorTagTable",components:{TabulatorTable:y0},props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Ns(),e=rc();return{streamlitDataStore:n,selectionStore:e}},data(){return{columnDefinitions:[{title:"Scan Number",field:"Scan",sorter:"number",headerTooltip:"The identifier of the mass spectrometry scan containing the sequence tag."},{title:"Start Position",field:"StartPos",sorter:"number",headerTooltip:"The position in the protein sequence where the sequence tag begins."},{title:"End Position",field:"EndPos",sorter:"number",headerTooltip:"The position in the protein sequence where the sequence tag ends."},{title:"Sequence",field:"TagSequence",sorter:"number",headerTooltip:"The amino acid sequence of the identified tag."},{title:"Length",field:"Length",sorter:"number",headerTooltip:"The number of amino acids in the sequence tag."},{title:"Tag Score",field:"Score",sorter:"number",headerTooltip:"A score indicating the confidence of the sequence tag identification (higher is better)."},{title:"N mass",field:"Nmass",sorter:"number",headerTooltip:"The N-terminal mass offset from the start of the sequence tag in Daltons.",formatter:function(n){const e=n.getValue();return e==-1?"-":e}},{title:"C mass",field:"Cmass",sorter:"number",headerTooltip:"The C-terminal mass offset from the end of the sequence tag in Daltons.",formatter:function(n){const e=n.getValue();return e==-1?"-":e}},{title:"Δ mass",field:"DeltaMass",sorter:"number",headerTooltip:"Delta mass is the difference between the tag flanking mass and the (partial) proteoform mass, from its terminal to the tag boundary."}],initialSort:[{column:"Score",dir:"desc"}],selectedTagIndex:void 0}},computed:{selectedRow(){return this.selectionStore.selectedTagIndex},tableData(){let e=this.streamlitDataStore.dataForDrawing.tag_table.filter(C=>C.ProteinIndex===this.selectionStore.selectedProteinIndex);const r=this.selectionStore.selectedAApos;return r!==void 0&&(e=e.filter(C=>{const D=C.StartPos,T=C.EndPos;return typeof D=="number"&&typeof T=="number"&&D<=r&&T>=r})),e.forEach(C=>C.id=C.TagIndex),e}},watch:{},methods:{getRowByTagIndex(n){return this.tableData.find(C=>C.id===n)},updateSelectedTag(n){if(n===void 0)return;this.selectionStore.updateSelectedTag(n);const e=this.getRowByTagIndex(n);if(e===void 0)return;const r=e.mzs;let C=[];typeof r=="string"&&(C=r.split(",").map(Number).filter(i=>i!==0));const D=typeof e.StartPos=="number"?e.StartPos:0,T=typeof e.EndPos=="number"?e.EndPos:0;let p=-1e3;D!==void 0&&this.selectionStore.selectedAApos!==void 0&&typeof D=="number"&&(p=this.selectionStore.selectedAApos-D);const t=e.TagSequence;let d="";typeof t=="string"&&(d=t);let g=!1;e["N mass"]===-1&&(g=!0),this.selectionStore.updateTagData({sequence:d,nTerminal:g,masses:C,selectedAA:p,startPos:D,endPos:T})}}});function LO(n,e,r,C,D,T){const p=Gr("TabulatorTable");return Rr(),za(p,{"table-data":n.tableData,"column-definitions":n.columnDefinitions,title:"Tag Table",index:n.index,onRowSelected:n.updateSelectedTag,"default-row":0,"initial-sort":n.initialSort},null,8,["table-data","column-definitions","index","onRowSelected","initial-sort"])}const IO=hs(EO,[["render",LO]]),W2=i2("variable-mod",{state:()=>({variableMod:{}}),getters:{variableModifications:n=>n.variableMod,isEmpty:n=>Object.values(n.variableMod).filter(e=>e!==void 0&&e!==0).length===0},actions:{updateVariableModifications(n,e){this.variableMod={...this.variableMod,[n]:e}}}}),wv={Acetyl:42.010565,Methyl:14.01565,Phospho:79.966331,Oxidation:15.994915,Deamidated:.984016,Amidated:-.984016},r6={"N-term":["Acetyl","Methyl","Phospho"],"C-term":["Amidated"],C:["Acetyl","Methyl","Phospho"],E:["Methyl","Phospho"],D:["Methyl","Phospho"],H:["Methyl","Phospho"],I:["Methyl"],K:["Methyl","Phospho"],L:["Methyl"],M:["Oxidation"],N:["Methyl"],Q:["Deamidated","Methyl"],R:["Methyl","Phospho"],S:["Acetyl","Methyl","Phospho"],T:["Acetyl","Methyl","Phospho"],Y:["Phospho"]},RO={default:[{typeName:"",typeMass:0}],"water loss":[{typeName:"-H2O",typeMass:-18.0105646863}],"ammonium loss":[{typeName:"-NH3",typeMass:-17.0265491015}],"proton loss/addition":[{typeName:"-H",typeMass:-1.0078250319},{typeName:"+H",typeMass:1.0078250319}]},PO=ns({name:"AminoAcidCell",props:{sequenceObject:{type:Object,required:!0},index:{type:Number,required:!0},fixedModification:{type:Boolean,default:!1},disableVariableModificationSelection:{type:Boolean,default:!1},showTags:{type:Boolean,default:!1},showModifications:{type:Boolean,default:!0},showFragments:{type:Boolean,default:!0}},emits:["selected"],setup(){const n=Ns(),e=W2(),r=rc();return{streamlitData:n,variableModData:e,selectionStore:r}},data(){return{menuOpen:!1,selectedModification:void 0,customSelected:!1,customModMass:"0"}},computed:{id(){return`${this.aminoAcid}${this.index}`},theme(){return this.streamlitData.theme},aminoAcid(){return this.sequenceObject.aminoAcid},start(){var e;const n=(e=this.streamlitData.sequenceData)==null?void 0:e[this.selectedSequence].proteoform_start;return n===void 0?n:n<0?0:n},end(){var e;const n=(e=this.streamlitData.sequenceData)==null?void 0:e[this.selectedSequence].proteoform_end;return n===void 0?n:n<0&&this.length!==void 0?this.length-1:n},length(){var n;return(n=this.streamlitData.sequenceData)==null?void 0:n[this.selectedSequence].sequence.length},prefix(){if(this.start===void 0&&this.end===void 0)return this.index+1;if(this.end!==void 0&&this.index>this.end)return;if(this.start!==void 0&&this.index>=this.start)return this.index+1-this.start},protein_position(){return this.index+1},truncated_prefix(){if(!(this.start===void 0||this.index>=this.start))return this.index+1},suffix(){if(this.start===void 0&&this.end===void 0)return(length??0)-this.index;if(this.start!==void 0&&this.index0},selectedSequence(){return this.selectionStore.selectedProteinIndex!==void 0?this.selectionStore.selectedProteinIndex:0},coverage(){return this.sequenceObject.coverage!==void 0?this.sequenceObject.coverage:-1},isHighlighted(){return this.index===this.selectionStore.selectedAApos},isTruncated(){return this.sequenceObject.truncated},DoesThisAAHaveSequenceTags(){return this.coverage>0},modMass(){return this.customModMass!=="0"?parseFloat(this.customModMass).toLocaleString("en-US",{signDisplay:"always"}):this.sequenceObject.modMass}},methods:{toggleMenuOpen(){this.disableVariableModificationSelection||(this.menuOpen=!this.menuOpen)},selectCell(){this.DoesThisAAHaveSequenceTags&&this.showTags&&(this.selectionStore.selectedAApos===this.index?this.selectionStore.updateSelectedAA(void 0):this.selectionStore.updateSelectedAA(this.index)),this.DoesThisAAHaveMatchingFragments&&this.$emit("selected",this.index)},updateSelectedModification(n){if(n==="None")this.selectedModification=void 0;else if(n==="Custom"){this.customSelected=!0;return}else this.selectedModification=n;this.toggleMenuOpen(),this.customSelected=!1,this.variableModData.updateVariableModifications(this.index,this.selectedModification?wv[this.selectedModification]:0)},updateCustomModification(){this.variableModData.updateVariableModifications(this.index,parseFloat(this.customModMass)),this.toggleMenuOpen()}},watch:{selectedModification(){this.selectedModification!==void 0&&wv[this.selectedModification]!==void 0&&(this.sequenceObject.modMass=parseFloat(wv[this.selectedModification].toFixed(2)).toLocaleString("en-US",{signDisplay:"always"}))},showTags(){this.showTags||this.selectionStore.updateSelectedAA(void 0)}}});const Mu=n=>(Ty("data-v-fb6c82e8"),n=n(),ky(),n),OO=["id"],DO={key:0,class:"frag-marker-container-a"},zO=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"green",d:"M7, 1 L9, 3 L9, 7 L9, 3 L7, 1 z","stroke-width":"1.5"})],-1)),FO=[zO],BO={key:1,class:"frag-marker-container-b"},NO=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"blue",d:"M10, 0 V5 M10, 0 H5 z","stroke-width":"3"})],-1)),VO=[NO],jO={key:2,class:"frag-marker-container-c"},UO=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"red",d:"M4, 1 L9, 3 L9, 7 L9, 3 L4, 1 z","stroke-width":"1.5"})],-1)),HO=[UO],GO={key:3,class:"frag-marker-container-x"},qO=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"green",d:"M1, 3 L1, 7 L3, 9 L1, 7 L1, 3 z","stroke-width":"1.5"})],-1)),WO=[qO],YO={key:4,class:"frag-marker-container-y"},$O=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"blue",d:"M0, 10 V5 M0, 10 H5 z","stroke-width":"3"})],-1)),ZO=[$O],XO={key:5,class:"frag-marker-container-z"},KO=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"red",d:"M1, 3 L1, 7 L6, 9 L1, 7 L1, 3 z","stroke-width":"1.5"})],-1)),JO=[KO],QO={key:6,class:"rounded-lg tag-marker tag-start"},eD={key:7,class:"rounded-lg tag-marker tag-end"},tD={key:8,class:"rounded-lg mod-marker mod-start"},nD={key:9,class:"rounded-lg mod-marker mod-end"},rD={key:10,class:"mod-marker mod-start-cont"},iD={key:11,class:"mod-marker mod-end-cont"},aD={key:12,class:"mod-marker mod-center-cont"},oD={key:13,class:"rounded-lg mod-mass"},sD=Mu(()=>ti("br",null,null,-1)),lD=Mu(()=>ti("br",null,null,-1)),uD={key:14,class:"rounded-lg mod-mass-a"},cD={key:15,class:"rounded-lg mod-mass-b"},hD={key:16,class:"rounded-lg mod-mass-c"},fD={key:17,class:"frag-marker-extra-type"},dD=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("circle",{cx:"5",cy:"5",r:"0.5",stroke:"black","stroke-width":"0.3",fill:"gold"})],-1)),pD=[dD],mD={class:"aa-text"},gD=Mu(()=>ti("br",null,null,-1)),vD=Mu(()=>ti("br",null,null,-1)),yD=Mu(()=>ti("br",null,null,-1)),bD=Mu(()=>ti("br",null,null,-1)),xD={key:4};function _D(n,e,r,C,D,T){const p=Gr("v-tooltip"),t=Gr("v-select"),d=Gr("v-list-item"),g=Gr("v-text-field"),i=Gr("v-btn"),M=Gr("v-form"),v=Gr("v-list"),f=Gr("v-menu");return Rr(),ei("div",{id:n.id,class:Ju(["d-flex justify-center align-center rounded-lg",[n.aminoAcidCellClass,{highlighted:n.isHighlighted},{truncated:n.isTruncated}]]),style:zs(n.aminoAcidCellStyles),onClick:e[5]||(e[5]=(...l)=>n.selectCell&&n.selectCell(...l)),onContextmenu:e[6]||(e[6]=jp((...l)=>n.toggleMenuOpen&&n.toggleMenuOpen(...l),["prevent"]))},[n.showFragments&&n.sequenceObject.aIon?(Rr(),ei("div",DO,FO)):Zi("",!0),n.showFragments&&n.sequenceObject.bIon?(Rr(),ei("div",BO,VO)):Zi("",!0),n.showFragments&&n.sequenceObject.cIon?(Rr(),ei("div",jO,HO)):Zi("",!0),n.showFragments&&n.sequenceObject.xIon?(Rr(),ei("div",GO,WO)):Zi("",!0),n.showFragments&&n.sequenceObject.yIon?(Rr(),ei("div",YO,ZO)):Zi("",!0),n.showFragments&&n.sequenceObject.zIon?(Rr(),ei("div",XO,JO)):Zi("",!0),n.showTags&&n.sequenceObject.tagStart?(Rr(),ei("div",QO)):Zi("",!0),n.showTags&&n.sequenceObject.tagEnd?(Rr(),ei("div",eD)):Zi("",!0),n.showModifications&&(n.sequenceObject.modStart||n.isThisAAmodified)?(Rr(),ei("div",tD)):Zi("",!0),n.showModifications&&(n.sequenceObject.modEnd||n.isThisAAmodified)?(Rr(),ei("div",nD)):Zi("",!0),n.showModifications&&n.sequenceObject.modStart&&!n.sequenceObject.modEnd?(Rr(),ei("div",rD)):Zi("",!0),n.showModifications&&!n.sequenceObject.modStart&&n.sequenceObject.modEnd?(Rr(),ei("div",iD)):Zi("",!0),n.showModifications&&n.sequenceObject.modCenter?(Rr(),ei("div",aD)):Zi("",!0),n.showModifications&&(n.sequenceObject.modEnd||n.isThisAAmodified)?(Rr(),ei("div",oD,[ia(fo(n.modMass)+" ",1),gt(p,{activator:"parent",class:"foreground"},{default:ci(()=>[ia(fo(`Modification Mass: ${n.modMass} Da`)+" ",1),sD,ia(" "+fo(`Possible Modifications: ${n.sequenceObject.modLabels}`)+" ",1),lD]),_:1})])):Zi("",!0),n.showFragments&&n.showModifications&&n.sequenceObject.modEnd&&n.sequenceObject.aIon&&!n.sequenceObject.bIon?(Rr(),ei("div",uD,fo(n.sequenceObject.modMass),1)):Zi("",!0),n.showFragments&&n.showModifications&&n.sequenceObject.modEnd&&n.sequenceObject.bIon?(Rr(),ei("div",cD,fo(n.sequenceObject.modMass),1)):Zi("",!0),n.showFragments&&n.showModifications&&n.sequenceObject.modEnd&&n.sequenceObject.cIon&&!n.sequenceObject.bIon?(Rr(),ei("div",hD,fo(n.sequenceObject.modMass),1)):Zi("",!0),n.showModifications&&n.DoesThisAAHaveExtraFragTypes?(Rr(),ei("div",fD,pD)):Zi("",!0),ti("div",mD,fo(n.aminoAcid),1),gt(f,{modelValue:n.menuOpen,"onUpdate:modelValue":e[4]||(e[4]=l=>n.menuOpen=l),activator:"parent",location:"end","open-on-click":!1,"close-on-content-click":!1,width:"200px"},{default:ci(()=>[gt(v,null,{default:ci(()=>[gt(d,null,{default:ci(()=>[gt(t,{modelValue:n.selectedModification,"onUpdate:modelValue":[e[0]||(e[0]=l=>n.selectedModification=l),n.updateSelectedModification],clearable:"true",label:"Modification",density:"compact",items:n.modificationsForSelect,"onClick:clear":e[1]||(e[1]=l=>n.selectedModification=void 0)},null,8,["modelValue","items","onUpdate:modelValue"])]),_:1}),n.customSelected?(Rr(),za(d,{key:0},{default:ci(()=>[gt(M,{onSubmit:e[3]||(e[3]=jp(()=>{},["prevent"]))},{default:ci(()=>[gt(g,{modelValue:n.customModMass,"onUpdate:modelValue":e[2]||(e[2]=l=>n.customModMass=l),"hide-details":"",label:"Monoisotopic mass in Da",type:"number"},null,8,["modelValue"]),gt(i,{type:"submit",block:"true",class:"mt-2",onClick:n.updateCustomModification},{default:ci(()=>[ia("Submit")]),_:1},8,["onClick"])]),_:1})]),_:1})):Zi("",!0)]),_:1})]),_:1},8,["modelValue"]),gt(p,{activator:"parent"},{default:ci(()=>[ti("div",null,fo(`Protein Position: ${n.protein_position}`),1),n.prefix!==void 0?(Rr(),ei(Yr,{key:0},[ia(fo(`Prefix: ${n.prefix}`)+" ",1),gD],64)):Zi("",!0),n.truncated_prefix!==void 0?(Rr(),ei(Yr,{key:1},[ia(fo(`Truncated Prefix: ${n.truncated_prefix}`)+" ",1),vD],64)):Zi("",!0),n.suffix!==void 0?(Rr(),ei(Yr,{key:2},[ia(fo(`Suffix: ${n.suffix}`)+" ",1),yD],64)):Zi("",!0),n.truncated_suffix!==void 0?(Rr(),ei(Yr,{key:3},[ia(fo(`Truncated Suffix: ${n.truncated_suffix}`)+" ",1),bD],64)):Zi("",!0),n.DoesThisAAHaveExtraFragTypes?(Rr(),ei("div",xD,fo(n.sequenceObject.extraTypes.join(", ")),1)):Zi("",!0)]),_:1})],46,OO)}const i6=hs(PO,[["render",_D],["__scopeId","data-v-fb6c82e8"]]),wD=ns({name:"ProteinTerminalCell",props:{proteinTerminal:{type:String,required:!0},index:{type:Number,required:!0},truncated:{type:Boolean,required:!1,default:!1},determined:{type:Boolean,required:!1,default:!0},disableVariableModificationSelection:{type:Boolean,default:!1}},setup(){const n=Ns(),e=W2();return{streamlitData:n,variableModData:e}},data(){return{menuOpen:!1,selectedModification:void 0,customSelected:!1,customModMass:"0"}},computed:{id(){return`${this.proteinTerminal}${this.index}`},theme(){return this.streamlitData.theme},proteinTerminalText(){return this.proteinTerminal.charAt(0)},hasVariableModification(){return this.variableModData.variableModifications[this.index]!==void 0&&this.variableModData.variableModifications[this.index]!==0},modificationsForSelect(){return["None","Custom",...this.potentialModifications]},proteinTerminalCellStyles(){var n,e;return{"--protein-terminal-cell-color":((n=this.theme)==null?void 0:n.textColor)??"#fff","--protein-terminal-cell-hover-color":"#fff","--protein-terminal-cell-hover-bg-color":((e=this.theme)==null?void 0:e.secondaryBackgroundColor)??"#000"}},proteinTerminalCellClasses(){return{"protein-terminal":this.selectedModification===void 0&&!this.hasVariableModification,"protein-terminal-modified":this.selectedModification!==void 0||this.hasVariableModification}},potentialModifications(){return r6[this.proteinTerminal]??[]}},methods:{toggleMenuOpen(){this.disableVariableModificationSelection||(this.menuOpen=!this.menuOpen)},updateSelectedModification(n){if(n==="None")this.selectedModification=void 0;else if(n==="Custom"){this.customSelected=!0;return}else this.selectedModification=n;this.toggleMenuOpen(),this.customSelected=!1,this.variableModData.updateVariableModifications(this.index,this.selectedModification?wv[this.selectedModification]:0)},updateCustomModification(){this.variableModData.updateVariableModifications(this.index,parseFloat(this.customModMass)),this.toggleMenuOpen()}}});const TD={key:0,class:"undetermined"};function kD(n,e,r,C,D,T){const p=Gr("v-select"),t=Gr("v-list-item"),d=Gr("v-text-field"),g=Gr("v-btn"),i=Gr("v-form"),M=Gr("v-list"),v=Gr("v-menu"),f=Gr("v-tooltip");return Rr(),ei("div",{class:Ju(["d-flex justify-center align-center rounded-lg",n.proteinTerminalCellClasses]),style:zs(n.proteinTerminalCellStyles),onClick:e[5]||(e[5]=jp(()=>{},["stop"])),onContextmenu:e[6]||(e[6]=jp((...l)=>n.toggleMenuOpen&&n.toggleMenuOpen(...l),["prevent"]))},[ti("div",{class:Ju(["terminal-text",{truncated:n.truncated}])},fo(n.proteinTerminalText),3),n.determined?Zi("",!0):(Rr(),ei("div",TD,"??")),gt(v,{activator:"parent",modelValue:n.menuOpen,"onUpdate:modelValue":e[4]||(e[4]=l=>n.menuOpen=l),location:"end","open-on-click":!1,"close-on-content-click":!1,width:"200px"},{default:ci(()=>[gt(M,null,{default:ci(()=>[gt(t,null,{default:ci(()=>[gt(p,{modelValue:n.selectedModification,"onUpdate:modelValue":[e[0]||(e[0]=l=>n.selectedModification=l),n.updateSelectedModification],clearable:"",label:"Modification",density:"compact",items:n.modificationsForSelect,"onClick:clear":e[1]||(e[1]=l=>n.selectedModification=void 0)},null,8,["modelValue","items","onUpdate:modelValue"])]),_:1}),n.customSelected?(Rr(),za(t,{key:0},{default:ci(()=>[gt(i,{onSubmit:e[3]||(e[3]=jp(()=>{},["prevent"]))},{default:ci(()=>[gt(d,{modelValue:n.customModMass,"onUpdate:modelValue":e[2]||(e[2]=l=>n.customModMass=l),"hide-details":"",label:"Monoisotopic mass in Da",type:"number"},null,8,["modelValue"]),gt(g,{type:"submit",block:"",class:"mt-2",onClick:n.updateCustomModification},{default:ci(()=>[ia("Submit")]),_:1},8,["onClick"])]),_:1})]),_:1})):Zi("",!0)]),_:1})]),_:1},8,["modelValue"]),gt(f,{activator:"parent"},{default:ci(()=>[ia(fo(n.proteinTerminalText),1)]),_:1})],38)}const MD=hs(wD,[["render",kD],["__scopeId","data-v-beee67fe"]]);var a6={exports:{}};/*! dom-to-image-more 26-04-2023 */(function(n,e){(function(r){const C=function(){let y=0;return{escape:function(A){return A.replace(/([.*+?^${}()|[]\/\\])/g,"\\$1")},isDataUrl:function(A){return A.search(/^(data:)/)!==-1},canvasToBlob:function(A){return A.toBlob?new Promise(function(L){A.toBlob(L)}):function(L){return new Promise(function(b){var R=f(L.toDataURL().split(",")[1]),I=R.length,O=new Uint8Array(I);for(let z=0;zte.style.removeProperty(X)),["left","right","top","bottom"].forEach(X=>{te.style.getPropertyValue(X)&&te.style.setProperty(X,"0px")})))}H(W,N)}function $(){const q=C.uid();function H(ne){const te=v(W,ne),Z=te.getPropertyValue("content");if(Z!==""&&Z!=="none"){let ie=function(){const oe=`.${q}:`+ne,ue=(te.cssText?ce:ye)();return document.createTextNode(oe+`{${ue}}`);function ce(){return`${te.cssText} content: ${Z};`}function ye(){return C.asArray(te).map(me).join("; ")+";";function me(pe){const xe=te.getPropertyValue(pe),Pe=te.getPropertyPriority(pe)?" !important":"";return pe+": "+xe+Pe}}};var X=ie;const Q=N.getAttribute("class")||"",re=(N.setAttribute("class",Q+" "+q),document.createElement("style"));re.appendChild(ie()),N.appendChild(re)}}[":before",":after"].forEach(function(ne){H(ne)})}function U(){C.isHTMLTextAreaElement(W)&&(N.innerHTML=W.value),C.isHTMLInputElement(W)&&N.setAttribute("value",W.value)}function G(){C.isSVGElement(N)&&(N.setAttribute("xmlns","http://www.w3.org/2000/svg"),C.isSVGRectElement(N))&&["width","height"].forEach(function(q){const H=N.getAttribute(q);H&&N.style.setProperty(q,H)})}}}(E,S,null)}).then(o).then(s).then(function(E){S.bgcolor&&(E.style.backgroundColor=S.bgcolor),S.width&&(E.style.width=S.width+"px"),S.height&&(E.style.height=S.height+"px"),S.style&&Object.keys(S.style).forEach(function(A){E.style[A]=S.style[A]});let x=null;return typeof S.onclone=="function"&&(x=S.onclone(E)),Promise.resolve(x).then(function(){return E})}).then(function(E){let x=S.width||C.width(E),A=S.height||C.height(E);return Promise.resolve(E).then(function(L){return L.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),new XMLSerializer().serializeToString(L)}).then(C.escapeXhtml).then(function(L){var b=(C.isDimensionMissing(x)?' width="100%"':` width="${x}"`)+(C.isDimensionMissing(A)?' height="100%"':` height="${A}"`);return`${L}`}).then(function(L){return"data:image/svg+xml;charset=utf-8,"+L})}).then(function(E){for(;0{h=null,m={}},2e4)}(),E})}function a(y,S){return l(y,S=S||{}).then(C.makeImage).then(function(_){var k=typeof S.scale!="number"?1:S.scale,E=function(A,L){let b=S.width||C.width(A),R=S.height||C.height(A);return C.isDimensionMissing(b)&&(b=C.isDimensionMissing(R)?300:2*R),C.isDimensionMissing(R)&&(R=b/2),A=document.createElement("canvas"),A.width=b*L,A.height=R*L,S.bgcolor&&((L=A.getContext("2d")).fillStyle=S.bgcolor,L.fillRect(0,0,A.width,A.height)),A}(y,k),x=E.getContext("2d");return x.msImageSmoothingEnabled=!1,x.imageSmoothingEnabled=!1,_&&(x.scale(k,k),x.drawImage(_,0,0)),E})}let u=null;function o(y){return T.resolveAll().then(function(S){var _;return S!==""&&(_=document.createElement("style"),y.appendChild(_),_.appendChild(document.createTextNode(S))),y})}function s(y){return t.inlineAll(y).then(function(){return y})}function c(y,S,_,k,E){const x=i.impl.options.copyDefaultStyles?function(L,I){var I=function(z){var F=[];do if(z.nodeType===M){var B=z.tagName;if(F.push(B),w.includes(B))break}while(z=z.parentNode,z);return F}(I),R=function(z){return(L.styleCaching!=="relaxed"?z:z.filter((F,B,N)=>B===0||B===N.length-1)).join(">")}(I);if(m[R])return m[R];var O=function(){if(u)return u.contentWindow;var z=document.characterSet||"UTF-8",F=document.doctype,F=F?(`":"";return(u=document.createElement("iframe")).id="domtoimage-sandbox-"+C.uid(),u.style.visibility="hidden",u.style.position="fixed",document.body.appendChild(u),function(N,W,j,$){try{return N.contentWindow.document.write(W+`${$}`),N.contentWindow}catch{}var U=document.createElement("meta");U.setAttribute("charset",j);try{var G=document.implementation.createHTMLDocument($),q=(G.head.appendChild(U),W+G.documentElement.outerHTML);return N.setAttribute("srcdoc",q),N.contentWindow}catch{}return N.contentDocument.head.appendChild(U),N.contentDocument.title=$,N.contentWindow}(u,F,z,"domtoimage-sandbox");function B(N){var W;return N?((W=document.createElement("div")).innerText=N,W.innerHTML):""}}(),I=function(z,F){let B=z.body;do{var N=F.pop(),N=z.createElement(N);B.appendChild(N),B=N}while(0{const r=this.$refs.downloadLink;r.download="FLASHViewer-sequence.svg",r.href=e,r.click()}).finally(()=>{this.svgDownloadTriggered=!1})}}}),ED={ref:"downloadLink",style:{visibility:"hidden"}};function LD(n,e,r,C,D,T){const p=Gr("v-btn"),t=Gr("v-tooltip"),d=Gr("v-progress-linear"),g=Gr("v-card-text"),i=Gr("v-card"),M=Gr("v-dialog");return Rr(),ei(Yr,null,[gt(p,{id:"download-button",variant:"text",size:"large",icon:"mdi-download",onClick:n.triggerDownload},null,8,["onClick"]),gt(t,{text:"Save as SVG",location:"bottom",activator:"#download-button"}),ti("a",ED,null,512),gt(M,{modelValue:n.svgDownloadTriggered,"onUpdate:modelValue":e[0]||(e[0]=v=>n.svgDownloadTriggered=v),persistent:"",width:"auto"},{default:ci(()=>[gt(i,{color:"primary"},{default:ci(()=>[gt(g,null,{default:ci(()=>[ia(" Please stand by "),gt(d,{indeterminate:"",color:"white",class:"mb-0"})]),_:1})]),_:1})]),_:1},8,["modelValue"])],64)}const o6=hs(CD,[["render",LD]]),ID=ns({name:"SequenceViewInformation",components:{AminoAcidCell:i6},setup(){return{streamlitDataStore:Ns()}},data(){return{dialog:!1,aIon:!0,bIon:!1,cIon:!1,xIon:!0,yIon:!0,zIon:!1,fixed_mod:!1,variable_mod:!1,originalAAClasses:void 0,waterLoss:!1,ammoniumLoss:!1,proton:!1}},computed:{theme(){return this.streamlitDataStore.theme},aaSequenceObject(){return{aminoAcid:"AA",aIon:this.aIon,bIon:this.bIon,cIon:this.cIon,xIon:this.xIon,yIon:this.yIon,zIon:this.zIon,modStart:this.variable_mod,modEnd:this.variable_mod,modMass:"+134.99",truncated:!1,extraTypes:this.extraFragTypes()}}},methods:{setAAWithVarMod(){var e;this.originalAAClasses===void 0&&(this.originalAAClasses=((e=document.getElementById("AA0"))==null?void 0:e.getAttribute("class"))??"");const n=document.getElementById("AA0");if(n){let r=this.originalAAClasses;this.fixed_mod&&(r="sequence-amino-acid-highlighted "+r),n.setAttribute("class",r)}},extraFragTypes(){let n="";if(this.aIon)n="a";else if(this.bIon)n="b";else if(this.cIon)n="c";else if(this.xIon)n="x";else if(this.yIon)n="y";else if(this.zIon)n="z";else return[];let e=[];return this.waterLoss&&e.push(`${n}-H20`),this.ammoniumLoss&&e.push(`${n}-NH3`),this.proton&&(e.push(`${n}-H`),e.push(`${n}+H`)),e}}});const s6=n=>(Ty("data-v-9a6912d6"),n=n(),ky(),n),RD=s6(()=>ti("div",{class:"text-h6 d-flex justify-center"},"Legend for Sequence Map",-1)),PD={class:"d-flex justify-center"},OD={class:"sequence-grid pa-6",style:{width:"150px","max-width":"100%"}},DD={class:"d-flex"},zD={class:"d-flex"},FD=s6(()=>ti("div",{class:"text-subtitle-2 d-flex justify-end align-end"}," * Click checkboxes to see the styles ",-1));function BD(n,e,r,C,D,T){var c;const p=Gr("v-btn"),t=Gr("v-card-title"),d=Gr("v-divider"),g=Gr("AminoAcidCell"),i=Gr("v-checkbox"),M=Gr("v-row"),v=Gr("v-list-item-title"),f=Gr("v-list-item"),l=Gr("v-list"),a=Gr("v-card-text"),u=Gr("v-card-actions"),o=Gr("v-card"),s=Gr("v-dialog");return Rr(),ei(Yr,null,[gt(p,{id:"info-button",variant:"text",size:"large",icon:"mdi-information"}),gt(s,{modelValue:n.dialog,"onUpdate:modelValue":e[13]||(e[13]=h=>n.dialog=h),activator:"#info-button",width:"auto",theme:((c=n.theme)==null?void 0:c.base)??"light"},{default:ci(()=>[gt(o,null,{default:ci(()=>[gt(t,null,{default:ci(()=>[ia("Sequence View legend")]),_:1}),gt(d),gt(a,null,{default:ci(()=>[RD,ti("div",PD,[ti("div",OD,[gt(g,{index:0,"sequence-object":n.aaSequenceObject,onSelected:e[0]||(e[0]=jp(()=>{},["stop"]))},null,8,["sequence-object"])])]),ia(" Fragment ion types "),gt(M,null,{default:ci(()=>[ti("div",DD,[gt(i,{modelValue:n.aIon,"onUpdate:modelValue":e[1]||(e[1]=h=>n.aIon=h),label:"a"},null,8,["modelValue"]),gt(i,{modelValue:n.bIon,"onUpdate:modelValue":e[2]||(e[2]=h=>n.bIon=h),label:"b"},null,8,["modelValue"]),gt(i,{modelValue:n.cIon,"onUpdate:modelValue":e[3]||(e[3]=h=>n.cIon=h),label:"c"},null,8,["modelValue"]),gt(i,{modelValue:n.xIon,"onUpdate:modelValue":e[4]||(e[4]=h=>n.xIon=h),label:"x"},null,8,["modelValue"]),gt(i,{modelValue:n.yIon,"onUpdate:modelValue":e[5]||(e[5]=h=>n.yIon=h),label:"y"},null,8,["modelValue"]),gt(i,{modelValue:n.zIon,"onUpdate:modelValue":e[6]||(e[6]=h=>n.zIon=h),label:"z"},null,8,["modelValue"]),gt(i,{modelValue:n.waterLoss,"onUpdate:modelValue":e[7]||(e[7]=h=>n.waterLoss=h),label:"water loss"},null,8,["modelValue"]),gt(i,{modelValue:n.ammoniumLoss,"onUpdate:modelValue":e[8]||(e[8]=h=>n.ammoniumLoss=h),label:"ammonium loss"},null,8,["modelValue"]),gt(i,{modelValue:n.proton,"onUpdate:modelValue":e[9]||(e[9]=h=>n.proton=h),label:"proton loss/addition"},null,8,["modelValue"])])]),_:1}),ia(" Modifications "),ti("div",zD,[gt(i,{modelValue:n.fixed_mod,"onUpdate:modelValue":[e[10]||(e[10]=h=>n.fixed_mod=h),n.setAAWithVarMod],label:"Fixed modifications","hide-details":"",density:"comfortable"},null,8,["modelValue","onUpdate:modelValue"]),gt(i,{modelValue:n.variable_mod,"onUpdate:modelValue":[e[11]||(e[11]=h=>n.variable_mod=h),n.setAAWithVarMod],label:"Variable modifications","hide-details":"",density:"comfortable"},null,8,["modelValue","onUpdate:modelValue"]),FD]),gt(l,{density:"compact"},{default:ci(()=>[gt(v,null,{default:ci(()=>[ia("Interaction tips")]),_:1}),gt(f,null,{default:ci(()=>[ia("Left click: highlights corresponding entries in Fragment Table and Mass Table")]),_:1}),gt(f,null,{default:ci(()=>[ia("Right click: opens variable modification menu (custom modification is available)")]),_:1})]),_:1})]),_:1}),gt(u,null,{default:ci(()=>[gt(p,{color:"primary",block:"true",onClick:e[12]||(e[12]=h=>n.dialog=!1)},{default:ci(()=>[ia("Close")]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue","theme"])],64)}const ND=hs(ID,[["render",BD],["__scopeId","data-v-9a6912d6"]]),VD=ns({name:"SequenceView",components:{SequenceViewInformation:ND,TabulatorTable:y0,AminoAcidCell:i6,ProteinTerminalCell:MD,SvgScreenshot:o6},props:{index:{type:Number,required:!0}},setup(){const n=Ns(),e=rc(),r=W2();return{streamlitDataStore:n,selectionStore:e,variableModData:r}},data(){return{rowWidth:35,massData:[],massTitle:"",ionTypes:[{text:"a",selected:!1},{text:"b",selected:!0},{text:"c",selected:!1},{text:"x",selected:!1},{text:"y",selected:!0},{text:"z",selected:!1}],ionTypesExtra:{"water loss":!1,"ammonium loss":!1,"proton loss/addition":!1},fragmentMassTolerance:10,visibilityOptions:[{text:"Fragments",selected:!0},{text:"Modifications",selected:!0}],fragmentTableColumnDefinitions:[{title:"Name",field:"Name",headerTooltip:"The name of the fragment ion, represented in Biemann notation."},{title:"Ion type",field:"IonType",headerTooltip:"The type of fragment ion identified in the spectrum."},{title:"Ion number",field:"IonNumber",sorter:"number",headerTooltip:"The position of the fragment ion within the sequence."},{title:"Theoretical mass",field:"TheoreticalMass",sorter:"number",headerTooltip:"The expected mass of the fragment ion."},{title:"Observed mass",field:"ObservedMass",formatter:Df(),sorter:"number",headerTooltip:"The mass of the fragment ion as observed in the spectrum."},{title:"Mass difference (Da)",field:"MassDiffDa",sorter:"number",headerTooltip:"The difference between the observed and theoretical masses of the fragment ion, in Daltons."},{title:"Mass difference (ppm)",field:"MassDiffPpm",sorter:"number",headerTooltip:"The difference between the observed and theoretical masses of the fragment ion, in parts per million (ppm)."}],fragmentTableData:[],fragmentTableTitle:"",residueCleavagePercentage:0,sequenceObjects:[],selectedFragTableRowIndex:void 0}},computed:{theme(){return this.streamlitDataStore.theme},selectedSequence(){const n=this.selectionStore.selectedProteinIndex;return typeof n=="number"?n:0},selectedTag(){return this.selectionStore.selectedTag},sequence(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.sequence)??[]},sequence_start_reported(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.proteoform_start)??0},sequence_start(){return this.sequence_start_reported<0?0:this.sequence_start_reported},n_truncation(){return this.sequence_start>0},n_determined(){return this.sequence_start_reported>=0},sequence_end_reported(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.proteoform_end)??this.sequence.length-1},sequence_end(){return this.sequence_end_reported<0?this.sequence.length-1:this.sequence_end_reported},c_truncation(){return this.sequence_end=0},modifications(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.modifications)??[]},coverage(){var e,r;const n=this.selectedSequence;return typeof n=="number"?((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.coverage)??[]:[]},maxCoverage(){var e,r;const n=this.selectedSequence;return typeof n=="number"?((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.maxCoverage)??-1:-1},theoreticalMass(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.theoretical_mass)??0},computedMass(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),(r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.computed_mass},fixedModificationSites(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.fixed_modifications)??[]},variableModifications(){return this.variableModData.variableModifications??{}},tickLabels(){return{20:"20",25:"25",30:"30",35:"35",40:"40"}},gridClasses(){return{"sequence-grid":!0,[`grid-width-${this.rowWidth}`]:!0}},proteinTerminalCellStyles(){var n;return{"--amino-acid-cell-hover-color":"#fff","--amino-acid-cell-hover-bg-color":((n=this.theme)==null?void 0:n.secondaryBackgroundColor)??"#000"}},selectedScanIndex(){if(this.selectionStore.selectedScanIndex!==void 0)return this.streamlitDataStore.allDataForDrawing.per_scan_data.length===1?0:this.selectionStore.selectedScanIndex},calculateCleavagePercentage(){let n=0;for(let e=0,r=this.sequenceObjects.length-1;ee.text==="Tags"))!=null&&n.selected):!1},showTruncations(){var n;return this.displayTnT?!!((n=this.visibilityOptions.find(e=>e.text==="Truncations"))!=null&&n.selected):!1},showModifications(){var n;return!!((n=this.visibilityOptions.find(e=>e.text==="Modifications"))!=null&&n.selected)},showFragments(){var n;return!!((n=this.visibilityOptions.find(e=>e.text==="Fragments"))!=null&&n.selected)}},watch:{selectedScanIndex(){this.preparePrecursorInfo(),this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},sequence(){this.selectionStore.updateSelectedAA(void 0),this.preparePrecursorInfo(),this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications(),this.updateSettings()},selectedTag(){this.updateTagPosition()},fragmentMassTolerance(){this.preparePrecursorInfo(),this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},ionTypes:{handler(){this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},deep:!0},ionTypesExtra:{handler(){this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},deep:!0},variableModifications(){this.preparePrecursorInfo(),this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()}},mounted(){this.selectionStore.updateSelectedAA(void 0),this.initializeSequenceObjects(),this.preparePrecursorInfo(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},methods:{getFragmentMasses(n){var r;let e=this.selectedSequence;return e===void 0&&(e=0),(r=this.streamlitDataStore.sequenceData)==null?void 0:r[e][`fragment_masses_${n}`]},updateMassTolerance(n){this.fragmentMassTolerance=Number.parseInt(n.target.value)},updateSettings(){var n,e;((n=this.streamlitDataStore.settings)==null?void 0:n.ion_types)!==void 0&&this.ionTypes.forEach(r=>{r.selected=this.streamlitDataStore.settings.ion_types.includes(r.text)}),((e=this.streamlitDataStore.settings)==null?void 0:e.tolerance)!==void 0&&(this.fragmentMassTolerance=this.streamlitDataStore.settings.tolerance)},toggleIonTypeSelected(n){this.ionTypes[n].selected=!this.ionTypes[n].selected},preparePrecursorInfo(){if(this.selectedScanIndex==null){this.massData=[];return}if(this.computedMass!==void 0){this.massTitle="Proteoform";let D="-",T="-";this.computedMass>0&&(D=this.computedMass.toFixed(2),T=Math.abs(this.theoreticalMass-this.computedMass).toFixed(2)),this.massData=[`Theoretical protein mass : ${this.theoreticalMass.toFixed(2)}`,`Observed proteoform mass : ${D}`,`Δ Mass (Da) : ${T}`],this.visibilityOptions.some(p=>p.text==="Tags")||(this.visibilityOptions.push({text:"Truncations",selected:!0}),this.visibilityOptions.push({text:"Tags",selected:!0}),this.updateSettings()),this.ionTypesExtra["ammonium loss"]=!1,this.ionTypesExtra["water loss"]=!1,this.ionTypesExtra["proton loss/addition"]=!1;return}const e=this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScanIndex].PrecursorMass;if(e===0){this.massData=[];return}let r=this.theoreticalMass;this.variableModData.isEmpty||(this.variableModifications.valueOf(),Object.values(this.variableModifications).forEach(D=>{r+=D}));const C=Math.abs(r-e);this.massTitle="Precursor",this.massData=[`Theoretical mass : ${r.toFixed(2)}`,`Observed mass : ${e.toFixed(2)}`,`Δ Mass (Da) : ${C.toFixed(2)}`]},prepareFragmentTable(){if(this.sequence.length<=0){this.fragmentTableTitle="";return}if(this.selectedScanIndex===void 0){this.fragmentTableTitle="";return}const e=this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScanIndex].MonoMass;let r=[];const C=this.sequence_end;this.ionTypes.filter(D=>D.selected).forEach(D=>{if((D.text==="a"||D.text==="b"||D.text==="c")&&this.sequence_start_reported<0||(D.text==="x"||D.text==="y"||D.text==="z")&&this.sequence_end_reported<0)return;const T=this.getFragmentMasses(D.text);for(let p=0,t=T.length;p{this.variableModData.isEmpty||((D.text==="a"||D.text==="b"||D.text==="c")&&Object.entries(this.variableModifications).forEach(([M,v])=>{parseInt(M)<=d&&(g+=v)}),(D.text==="x"||D.text==="y"||D.text==="z")&&Object.entries(this.variableModifications).forEach(([M,v])=>{C-parseInt(M)<=d&&(g+=v)}));const i=Object.entries(RO).filter(([M])=>this.ionTypesExtra[M]||M==="default").map(([M,v])=>v).flat();for(let M=0,v=e.length;M{const a=g+l,u=e[M]-a,o=u/a*1e6;if(Math.abs(o)>this.fragmentMassTolerance)return;const s={Name:`${D.text}${p+1}`,IonType:`${D.text}${f}`,IonNumber:p+1,TheoreticalMass:a.toFixed(3),ObservedMass:e[M],MassDiffDa:u.toFixed(3),MassDiffPpm:o.toFixed(3)};r.push(s);let c=d;(D.text==="a"||D.text==="b"||D.text==="c")&&(this.sequenceObjects[c][`${D.text}Ion`]=!0),(D.text==="x"||D.text==="y"||D.text==="z")&&(this.sequenceObjects[C-p][`${D.text}Ion`]=!0,c=C-p),f&&this.sequenceObjects[d].extraTypes.push(`${D.text}${f}`)})})}}),this.residueCleavagePercentage=this.calculateCleavagePercentage,this.fragmentTableData=r,this.fragmentTableTitle=`Matching fragments (# ${r.length})`},fixedModification(n){return this.fixedModificationSites.includes(n)},initializeSequenceObjects(){this.sequenceObjects=[],this.sequence.forEach((n,e)=>{const r=this.coverage[e];let C=!1;(this.sequence_start>e||this.sequence_endC.Name===e),this.selectionStore.selectedAminoAcid(this.fragmentTableData[this.selectedFragTableRowIndex].ObservedMass)},updateTagPosition(){this.sequence.length<=0||(this.sequenceObjects.length!==this.sequence.length&&this.initializeSequenceObjects(),this.sequence.forEach((n,e)=>{var D,T;const r=((D=this.selectedTag)==null?void 0:D.startPos)==e,C=((T=this.selectedTag)==null?void 0:T.endPos)==e;this.sequenceObjects[e].tagStart=r,this.sequenceObjects[e].tagEnd=C}))},prepareAmbigiousModifications(){this.modifications.forEach(n=>{const e=n.start,r=n.end,C=n.mass_diff.toFixed(2),D=n.labels,T=parseFloat(C).toLocaleString("en-US",{signDisplay:"always"});for(let p=e;p<=r;p++)p==e&&(this.sequenceObjects[p].modStart=!0),p==r&&(this.sequenceObjects[p].modEnd=!0,this.sequenceObjects[p].modMass=T,this.sequenceObjects[p].modLabels=D),p!=e&&p!=r&&(this.sequenceObjects[p].modCenter=!0)})}}});const Y2=n=>(Ty("data-v-14f01162"),n=n(),ky(),n),jD=Y2(()=>ti("div",{class:"d-flex justify-center"},[ti("h4",null,"Sequence View")],-1)),UD={class:"sequence-and-scale"},HD={id:"sequence-part"},GD={class:"d-flex justify-space-evenly"},qD={class:"d-flex justify-end px-4 mb-4"},WD={class:"d-flex justify-space-evenly"},YD={class:"d-flex justify-space-evenly"},$D={class:"d-flex justify-space-evenly"},ZD={key:0,class:"d-flex justify-center align-center"},XD={key:3,class:"d-flex justify-center align-center"},KD={key:0,class:"scale-container",title:"Sequence Tag Coverage"},JD={class:"scale-text"},QD=Y2(()=>ti("div",{class:"scale"},null,-1)),ez=Y2(()=>ti("div",{class:"scale-text"},"1x",-1)),tz={id:"sequence-view-table"};function nz(n,e,r,C,D,T){var w;const p=Gr("v-divider"),t=Gr("SvgScreenshot"),d=Gr("SequenceViewInformation"),g=Gr("v-btn"),i=Gr("v-list-item-title"),M=Gr("v-slider"),v=Gr("v-list-item"),f=Gr("v-checkbox"),l=Gr("v-text-field"),a=Gr("v-list"),u=Gr("v-card"),o=Gr("v-menu"),s=Gr("ProteinTerminalCell"),c=Gr("AminoAcidCell"),h=Gr("TabulatorTable"),m=Gr("v-sheet");return Rr(),ei(Yr,null,[jD,gt(m,{class:"pa-4 rounded-lg",style:{"max-width":"97%"},theme:((w=n.theme)==null?void 0:w.base)??"light",border:""},{default:ci(()=>[ti("div",UD,[ti("div",HD,[ti("div",GD,[n.massData.length!=0?(Rr(),ei(Yr,{key:0},[ti("h3",null,fo(n.massTitle),1),gt(p,{vertical:!0}),(Rr(!0),ei(Yr,null,Ul(n.massData,(y,S)=>(Rr(),ei(Yr,{key:S},[ia(fo(y)+" ",1),gt(p,{vertical:!0})],64))),128))],64)):Zi("",!0)]),ti("div",qD,[ti("div",null,[gt(t,{"element-id":"sequence-part"}),gt(d),gt(g,{id:"settings-button",variant:"text",icon:"mdi-cog",size:"large"}),gt(o,{"close-on-content-click":!1,activator:"#settings-button",location:"bottom"},{default:ci(()=>[gt(u,{"min-width":"300"},{default:ci(()=>[gt(a,null,{default:ci(()=>[gt(v,null,{default:ci(()=>[gt(i,null,{default:ci(()=>[ia("# amino acids per row")]),_:1}),gt(M,{modelValue:n.rowWidth,"onUpdate:modelValue":e[0]||(e[0]=y=>n.rowWidth=y),ticks:n.tickLabels,min:20,max:40,step:"5","show-ticks":"always","tick-size":"4"},null,8,["modelValue","ticks"])]),_:1}),gt(v,null,{default:ci(()=>[gt(i,null,{default:ci(()=>[ia("Visibility")]),_:1}),ti("div",WD,[(Rr(!0),ei(Yr,null,Ul(n.visibilityOptions,y=>(Rr(),za(f,{key:y.text,modelValue:y.selected,"onUpdate:modelValue":S=>y.selected=S,"hide-details":"",density:"comfortable",label:y.text},null,8,["modelValue","onUpdate:modelValue","label"]))),128))])]),_:1}),gt(v,null,{default:ci(()=>[gt(i,null,{default:ci(()=>[ia("Fragment ion types")]),_:1}),ti("div",YD,[(Rr(!0),ei(Yr,null,Ul(n.ionTypes,(y,S)=>(Rr(),za(f,{key:y.text,modelValue:y.selected,"onUpdate:modelValue":_=>y.selected=_,"hide-details":"",density:"comfortable",label:y.text,onClick:_=>n.toggleIonTypeSelected(S),disabled:!n.showFragments},null,8,["modelValue","onUpdate:modelValue","label","onClick","disabled"]))),128))]),ti("div",$D,[(Rr(!0),ei(Yr,null,Ul(Object.keys(n.ionTypesExtra),y=>(Rr(),za(f,{key:y,modelValue:n.ionTypesExtra[y],"onUpdate:modelValue":S=>n.ionTypesExtra[y]=S,"hide-details":"",density:"comfortable",label:y,disabled:!n.showFragments},null,8,["modelValue","onUpdate:modelValue","label","disabled"]))),128))])]),_:1}),gt(v,null,{default:ci(()=>[gt(i,null,{default:ci(()=>[ia("Fragment mass tolerance")]),_:1}),gt(l,{modelValue:n.fragmentMassTolerance,"onUpdate:modelValue":e[1]||(e[1]=y=>n.fragmentMassTolerance=y),type:"number","hide-details":"auto",label:"mass tolerance in ppm",onChange:n.updateMassTolerance,disabled:!n.showFragments},null,8,["modelValue","onChange","disabled"])]),_:1})]),_:1})]),_:1})]),_:1})])]),ti("div",{class:Ju(["pb-4 px-2",n.gridClasses]),style:{width:"100%","max-width":"100%"}},[(Rr(!0),ei(Yr,null,Ul(n.sequenceObjects,(y,S)=>(Rr(),ei(Yr,{key:S},[n.showTruncations&&S!==0&&S%n.rowWidth===0||!n.showTruncations&&S-n.sequence_start!==0&&(S-n.sequence_start)%n.rowWidth===0&&Sn.sequence_start?(Rr(),ei("div",ZD,fo(n.showTruncations?S+1:S-n.sequence_start+1),1)):Zi("",!0),S===0?(Rr(),za(s,{key:1,"protein-terminal":"N-term",truncated:n.n_truncation,index:-1,"disable-variable-modification-selection":n.disableVariableModifications,determined:n.n_determined},null,8,["truncated","disable-variable-modification-selection","determined"])):Zi("",!0),n.showTruncations||n.sequence_start<=S&&n.sequence_end>=S?(Rr(),za(c,{key:2,index:S,"sequence-object":y,"fixed-modification":n.fixedModification(y.aminoAcid),"disable-variable-modification-selection":n.disableVariableModifications,showTags:n.showTags,showFragments:n.showFragments,showModifications:n.showModifications,onSelected:n.aminoAcidSelected},null,8,["index","sequence-object","fixed-modification","disable-variable-modification-selection","showTags","showFragments","showModifications","onSelected"])):Zi("",!0),n.showTruncations&&S%n.rowWidth===n.rowWidth-1&&S!==n.sequence.length-1||!n.showTruncations&&(S-n.sequence_start)%n.rowWidth===n.rowWidth-1&&Sn.sequence_start?(Rr(),ei("div",XD,fo(n.showTruncations?S+1:S-n.sequence_start+1),1)):Zi("",!0),S===n.sequence.length-1?(Rr(),za(s,{key:4,"protein-terminal":"C-term",truncated:n.c_truncation,index:n.sequence.length,"disable-variable-modification-selection":n.disableVariableModifications,determined:n.c_determined},null,8,["truncated","index","disable-variable-modification-selection","determined"])):Zi("",!0)],64))),128))],2)]),n.maxCoverage>0&&n.showTags?(Rr(),ei("div",KD,[ti("div",JD,fo(n.maxCoverage+"x"),1),QD,ez])):Zi("",!0)]),ti("div",tz,[n.fragmentTableTitle!==""&&n.showFragments?(Rr(),za(h,{key:0,"table-data":n.fragmentTableData,"column-definitions":n.fragmentTableColumnDefinitions,index:n.index,"selected-row-index-from-listening":n.selectedFragTableRowIndex,"table-layout-param":"fitColumns"},{default:ci(()=>[ia(fo(n.fragmentTableTitle),1)]),"end-title-row":ci(()=>[ia("% Residue cleavage: "+fo(n.residueCleavagePercentage.toFixed(3))+"%",1)]),_:1},8,["table-data","column-definitions","index","selected-row-index-from-listening"])):Zi("",!0)])]),_:1},8,["theme"])],64)}const rz=hs(VD,[["render",nz],["__scopeId","data-v-14f01162"]]),iz=ns({name:"FLASHQuantView",components:{TabulatorTable:y0},setup(){return{streamlitDataStore:Ns()}},data(){return{setHeightInterval:null,featureGroupTableColumnDefinitions:[{title:"Index",field:"FeatureGroupIndex"},{title:"Monoisotopic Mass",field:"MonoisotopicMass"},{title:"Average Mass",field:"AverageMass"},{title:"Start Retention Time (FWHM)",field:"StartRetentionTime(FWHM)"},{title:"End Retention Time (FWHM)",field:"EndRetentionTime(FWHM)"},{title:"Feature Group Quantity",field:"FeatureGroupQuantity"},{title:"Feature Group Quantity",field:"FeatureGroupQuantity"},{title:"Min Charge",field:"MinCharge"},{title:"Max Charge",field:"MaxCharge"},{title:"Most Abundant Charge",field:"MostAbundantFeatureCharge"},{title:"Isotope Cosine Score",field:"IsotopeCosineScore"}],selectedFeatureGroupIndex:void 0,maximumIntensity:0}},computed:{theme(){return this.streamlitDataStore.theme},featureGroupTableData(){return this.streamlitDataStore.dataForDrawing.quant_data},trace3DgraphLayout(){var n,e,r,C;return{title:"Feature group signals",paper_bgcolor:(n=this.theme)==null?void 0:n.backgroundColor,plot_bgcolor:(e=this.theme)==null?void 0:e.secondaryBackgroundColor,height:800,font:{color:(r=this.theme)==null?void 0:r.textColor,family:(C=this.theme)==null?void 0:C.font},scene:{xaxis:{title:"m/z"},yaxis:{title:"retention time"},zaxis:{title:"intensity",range:[0,this.maximumIntensity]}},showlegend:!0}}},watch:{selectedFeatureGroupIndex(){this.trace3DGraph()}},mounted(){this.setHeightInterval=setInterval(()=>Wu.setFrameHeight(),500)},unmounted(){this.setHeightInterval!==null&&clearInterval(this.setHeightInterval)},methods:{async trace3DGraph(){await Wl.newPlot("trace3Dplot",this.trace3DgraphData(),this.trace3DgraphLayout,{responsive:!0})},updateSelectedFeatureGroupRow(n){n!==void 0&&(this.selectedFeatureGroupIndex=n)},trace3DgraphData(){if(this.selectedFeatureGroupIndex===void 0)return[];const n=this.featureGroupTableData[this.selectedFeatureGroupIndex],e=[...new Set(n.Charges)],r={};e.forEach(T=>{r[T]={mzs:[],rts:[],intys:[]}}),n.Charges.forEach((T,p)=>{const t=n.MZs[p].split(",").map(parseFloat),d=n.RTs[p].split(",").map(parseFloat),g=n.Intensities[p].split(",").map(parseFloat);r[T].mzs.push(t[0]),r[T].rts.push(d[0]),r[T].intys.push(-1e3),r[T].mzs.push(...t),r[T].rts.push(...d),r[T].intys.push(...g),r[T].mzs.push(t[-1]),r[T].rts.push(d[-1]),r[T].intys.push(-1e3)}),this.maximumIntensity=Math.max.apply(null,Object.values(r).map(T=>Math.max.apply(null,T.intys)));let D=[];return Object.entries(r).forEach(([T,p])=>{D.push({x:p.mzs,y:p.rts,z:p.intys,mode:"lines",line:{color:"#3366CC"},type:"scatter3d",name:`Charge: ${T}`})}),D}}}),az={class:"pa-4"},oz=ti("div",{id:"trace3Dplot",style:{width:"90%"}},null,-1);function sz(n,e,r,C,D,T){const p=Gr("TabulatorTable"),t=Gr("v-row");return Rr(),ei("div",az,[gt(t,{class:"flex-nowrap"},{default:ci(()=>[n.featureGroupTableData?(Rr(),za(p,{key:0,title:"Feature groups",index:0,"table-data":n.featureGroupTableData,"column-definitions":n.featureGroupTableColumnDefinitions,"table-index-field":"FeatureGroupIndex",onRowSelected:n.updateSelectedFeatureGroupRow,"default-row":0},null,8,["table-data","column-definitions","onRowSelected"])):Zi("",!0)]),_:1}),oz])}const lz=hs(iz,[["render",sz]]),uz=ns({name:"InternalFragmentMap",components:{SvgScreenshot:o6},props:{index:{type:Number,required:!0}},setup(){const n=Ns(),e=rc();return{streamlitData:n,selectionStore:e}},data(){return{fragmentMassTolerance:10,fragmentMassToleranceUnit:"ppm",fragmentMassTypes:{by:!0,cy:!0,bz:!0},fragmentDisplayOverlay:!1,fragOpacity:.2,fragOpacityMin:.01,fragOpacityMax:1}},computed:{theme(){return this.streamlitData.theme},internalFragmentData(){var n;return(n=this.streamlitData.internalFragmentData)==null?void 0:n[this.selectedSequence]},selectedSequence(){const n=this.selectionStore.selectedProteinIndex;return typeof n=="number"?n:0},displayTnT(){var e,r;let n=this.selectedSequence;return((r=(e=this.streamlitData.sequenceData)==null?void 0:e[n])==null?void 0:r.computed_mass)!==void 0},sequence(){var r,C,D,T;const n=(r=this.streamlitData.sequenceData)==null?void 0:r[this.selectedSequence].proteoform_start,e=(C=this.streamlitData.sequenceData)==null?void 0:C[this.selectedSequence].proteoform_end;return n!==void 0&&e!==void 0?(D=this.streamlitData.sequenceData)==null?void 0:D[this.selectedSequence].sequence.slice(n,e+1):(T=this.streamlitData.sequenceData)==null?void 0:T[this.selectedSequence].sequence},fragmentStyle(){var n;return{height:(94/(((n=this.sequence)==null?void 0:n.length)??1)).toFixed(2)+"vw","--frag-block-opacity-value":this.fragOpacity}},fragmentTypeContainerStyle(){return{height:this.fragmentDisplayOverlay?this.fragmentStyle.height:"auto"}},fragmentTypeOverlayStyle(){return{position:this.fragmentDisplayOverlay?"absolute":"static"}},fragmentDisplayOverlayLabels(){return this.fragmentDisplayOverlay?"Overlay fragments from the same type":"Stacked"},selectedScanInfo(){if(this.selectionStore.selectedScanIndex!==void 0)return this.streamlitData.allDataForDrawing.per_scan_data.length==1?this.streamlitData.allDataForDrawing.per_scan_data[0]:this.streamlitData.allDataForDrawing.per_scan_data[this.selectionStore.selectedScanIndex]},byData(){var C,D,T;if(this.selectedScanInfo===void 0||!((C=this.internalFragmentData)!=null&&C.fragment_masses_by)||!((D=this.internalFragmentData)!=null&&D.start_indices_by)||!((T=this.internalFragmentData)!=null&&T.end_indices_by))return[];if(this.selectedScanInfo.PrecursorMass===0&&!this.displayTnT)return[];const e=[],r=this.selectedScanInfo.MonoMass;return this.filterMatchingMasses(r,this.internalFragmentData.fragment_masses_by,this.internalFragmentData.start_indices_by,this.internalFragmentData.end_indices_by,e),e},cyData(){var C,D,T;if(this.selectedScanInfo===void 0||!((C=this.internalFragmentData)!=null&&C.fragment_masses_cy)||!((D=this.internalFragmentData)!=null&&D.start_indices_cy)||!((T=this.internalFragmentData)!=null&&T.end_indices_cy))return[];if(this.selectedScanInfo.PrecursorMass===0&&!this.displayTnT)return[];const e=[],r=this.selectedScanInfo.MonoMass;return this.filterMatchingMasses(r,this.internalFragmentData.fragment_masses_cy,this.internalFragmentData.start_indices_cy,this.internalFragmentData.end_indices_cy,e),e},bzData(){var C,D,T;if(this.selectedScanInfo===void 0||!((C=this.internalFragmentData)!=null&&C.fragment_masses_bz)||!((D=this.internalFragmentData)!=null&&D.start_indices_bz)||!((T=this.internalFragmentData)!=null&&T.end_indices_bz))return[];if(this.selectedScanInfo.PrecursorMass===0&&!this.displayTnT)return[];const e=[],r=this.selectedScanInfo.MonoMass;return this.filterMatchingMasses(r,this.internalFragmentData.fragment_masses_bz,this.internalFragmentData.start_indices_bz,this.internalFragmentData.end_indices_bz,e),e}},methods:{updateMassTolerance(n){this.fragmentMassTolerance=Number.parseInt(n.target.value)},fragmentClasses(n,e,r,C){const D=n>e&&n<=r;let T=C;return this.fragmentDisplayOverlay&&(T+="-overlayed"),{[T]:D,"not-in-fragment":!D}},filterMatchingMasses(n,e,r,C,D){for(let T=0,p=e.length;Tthis.fragmentMassTolerance)){D.push({mass:t,start:r[T],end:C[T]});break}}}}}});const cz=n=>(Ty("data-v-ece55ad7"),n=n(),ky(),n),hz=cz(()=>ti("div",{class:"d-flex justify-center"},[ti("h4",null,"Internal Fragment Map")],-1)),fz={class:"d-flex justify-space-between"},dz=UE('
by/cz
bz
cy
',1),pz={class:"d-flex justify-end px-4 mb-4",style:{"max-width":"97%"}},mz={class:"d-flex"},gz={class:"d-flex justify-space-between"},vz={id:"internal-fragment-part"},yz={class:"d-flex",style:{"border-bottom":"white","border-bottom-width":"1px","border-bottom-style":"solid"}};function bz(n,e,r,C,D,T){var o;const p=Gr("SvgScreenshot"),t=Gr("v-btn"),d=Gr("v-list-item-title"),g=Gr("v-switch"),i=Gr("v-list-item"),M=Gr("v-text-field"),v=Gr("v-slider"),f=Gr("v-list"),l=Gr("v-card"),a=Gr("v-menu"),u=Gr("v-sheet");return Rr(),ei(Yr,null,[hz,ti("div",fz,[dz,ti("div",pz,[gt(p,{"element-id":"internal-fragment-part"}),gt(t,{id:"internal-frag-settings-button",variant:"text",icon:"mdi-cog",size:"medium"}),gt(a,{"close-on-content-click":!1,activator:"#internal-frag-settings-button",location:"bottom"},{default:ci(()=>[gt(l,{"min-width":"300"},{default:ci(()=>[gt(f,null,{default:ci(()=>[gt(i,null,{default:ci(()=>[gt(d,null,{default:ci(()=>[ia("Fragments display style")]),_:1}),ti("div",mz,[gt(g,{modelValue:n.fragmentDisplayOverlay,"onUpdate:modelValue":e[0]||(e[0]=s=>n.fragmentDisplayOverlay=s),"hide-details":"",label:`${n.fragmentDisplayOverlayLabels}`,class:"mr-4"},null,8,["modelValue","label"])])]),_:1}),gt(i,null,{default:ci(()=>[gt(d,null,{default:ci(()=>[ia("Opacity of each fragment (If overlay display style)")]),_:1}),ti("div",{style:zs({background:`rgba(240, 164, 65, ${n.fragOpacity})`})},[gt(v,{modelValue:n.fragOpacity,"onUpdate:modelValue":e[2]||(e[2]=s=>n.fragOpacity=s),class:"align-center ml-4",max:n.fragOpacityMax,min:n.fragOpacityMin,"hide-details":""},{append:ci(()=>[gt(M,{modelValue:n.fragOpacity,"onUpdate:modelValue":e[1]||(e[1]=s=>n.fragOpacity=s),"hide-details":"","single-line":"",min:n.fragOpacityMin,max:n.fragOpacityMax,step:"0.01",density:"compact",type:"number",class:"textFieldFontSize"},null,8,["modelValue","min","max"])]),_:1},8,["modelValue","max","min"])],4)]),_:1}),gt(i,null,{default:ci(()=>[gt(d,null,{default:ci(()=>[ia("Fragment mass tolerance")]),_:1}),ti("div",gz,[gt(g,{modelValue:n.fragmentMassToleranceUnit,"onUpdate:modelValue":e[3]||(e[3]=s=>n.fragmentMassToleranceUnit=s),"true-value":"ppm","false-value":"Da","hide-details":"",label:`${n.fragmentMassToleranceUnit}`,class:"mr-4"},null,8,["modelValue","label"]),gt(M,{modelValue:n.fragmentMassTolerance,"onUpdate:modelValue":e[4]||(e[4]=s=>n.fragmentMassTolerance=s),type:"number","hide-details":"auto",label:"mass tolerance",onChange:n.updateMassTolerance},null,8,["modelValue","onChange"])])]),_:1})]),_:1})]),_:1})]),_:1})])]),gt(u,{class:"pa-4 rounded-lg",style:{"max-width":"97%"},theme:((o=n.theme)==null?void 0:o.base)??"light",border:""},{default:ci(()=>[ti("div",vz,[ti("div",yz,[(Rr(!0),ei(Yr,null,Ul(n.sequence,(s,c)=>(Rr(),ei("div",{key:`${s}-${c}`,class:"d-flex justify-center align-center fragment-segment sequence-text",style:zs(n.fragmentStyle)},fo(s),5))),128))]),ti("div",{style:zs(n.fragmentTypeContainerStyle)},[(Rr(!0),ei(Yr,null,Ul(n.byData,s=>(Rr(),ei("div",{key:s.mass,class:"d-flex",style:zs(n.fragmentTypeOverlayStyle)},[(Rr(!0),ei(Yr,null,Ul(n.sequence,(c,h)=>(Rr(),ei("div",{key:`${c}-${h}`,class:Ju(n.fragmentClasses(h,s.start,s.end,"by-fragment")),style:zs([{border:"1px solid white"},n.fragmentStyle])},null,6))),128))],4))),128))],4),ti("div",{style:zs(n.fragmentTypeContainerStyle)},[(Rr(!0),ei(Yr,null,Ul(n.cyData,s=>(Rr(),ei("div",{key:s.mass,class:"d-flex",style:zs(n.fragmentTypeOverlayStyle)},[(Rr(!0),ei(Yr,null,Ul(n.sequence,(c,h)=>(Rr(),ei("div",{key:`${c}-${h}`,class:Ju(n.fragmentClasses(h,s.start,s.end,"cy-fragment")),style:zs([{border:"1px solid white"},n.fragmentStyle])},null,6))),128))],4))),128))],4),ti("div",{style:zs(n.fragmentTypeContainerStyle)},[(Rr(!0),ei(Yr,null,Ul(n.bzData,s=>(Rr(),ei("div",{key:s.mass,class:"d-flex",style:zs(n.fragmentTypeOverlayStyle)},[(Rr(!0),ei(Yr,null,Ul(n.sequence,(c,h)=>(Rr(),ei("div",{key:`${c}-${h}`,class:Ju(n.fragmentClasses(h,s.start,s.end,"bz-fragment")),style:zs([{border:"1px solid white"},n.fragmentStyle])},null,6))),128))],4))),128))],4)])]),_:1},8,["theme"])],64)}const xz=hs(uz,[["render",bz],["__scopeId","data-v-ece55ad7"]]),_z=ns({name:"FDRPlotly",props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Ns();return console.log("I exist!"),{streamlitDataStore:n}},computed:{xValues_target(){return this.streamlitDataStore.allDataForDrawing.density_target===void 0?[]:this.streamlitDataStore.allDataForDrawing.density_target.map(n=>n.x)},xValues_decoy(){return this.streamlitDataStore.allDataForDrawing.density_decoy===void 0?[]:this.streamlitDataStore.allDataForDrawing.density_decoy.map(n=>n.x)},yValues_target(){return this.streamlitDataStore.allDataForDrawing.density_target===void 0?[]:this.streamlitDataStore.allDataForDrawing.density_target.map(n=>n.y)},yValues_decoy(){return this.streamlitDataStore.allDataForDrawing.density_decoy===void 0?[]:this.streamlitDataStore.allDataForDrawing.density_decoy.map(n=>n.y)},id(){return`graph-${this.index}`},layout(){return{title:`${this.args.title}`,showlegend:!0,height:400,xaxis:{title:"QScore",showgrid:!1},yaxis:{title:"Density",showgrid:!0,rangemode:"nonnegative",fixedrange:!0},paper_bgcolor:"white",plot_bgcolor:"white",font:{color:"black",family:"Arial"}}},data(){return[{x:this.xValues_target,y:this.yValues_target,mode:"lines+markers",type:"scatter",name:"Target QScores",marker:{color:"green"}},{x:this.xValues_decoy,y:this.yValues_decoy,mode:"lines+markers",type:"scatter",name:"Decoy QScores",marker:{color:"red"}}]}},watch:{xValues_target(){this.graph()}},mounted(){this.graph()},methods:{async graph(){await Wl.newPlot(this.id,this.data,this.layout,{modeBarButtonsToRemove:["toImage","sendDataToCloud"],modeBarButtonsToAdd:[{title:"Download as SVG",name:"toImageSvg",icon:Wl.Icons.camera,click:n=>{Wl.downloadImage(n,{filename:"FDR-plot",height:400,width:1200,format:"svg"})}}]})}}}),wz=["id"];function Tz(n,e,r,C,D,T){return Rr(),ei("div",{id:n.id,style:{width:"100%"}},null,8,wz)}const kz=hs(_z,[["render",Tz]]),Mz=ns({name:"ComponentsRow",components:{InternalFragmentMap:xz,FLASHQuantView:lz,Plotly3Dplot:wO,PlotlyHeatmap:lR,TabulatorScanTable:dO,PlotlyLineplotUnified:yO,TabulatorMassTable:MO,TabulatorProteinTable:CO,TabulatorTagTable:IO,SequenceView:rz,FDRPlotly:kz},props:{components:{type:Object,required:!0},rowIndex:{type:Number,required:!0}},data(){return{componentHeightMapping:{TabulatorScanTable:"height-any",TabulatorMassTable:"height-any",TabulatorProteinTable:"height-any",TabulatorTagTable:"height-any",PlotlyLineplot:"height-any",PlotlyLineplotTagger:"height-any",PlotlyLineplotUnified:"height-any",PlotlyHeatmap:"height-any",Plotly3Dplot:"height-any",SequenceView:"height-any",InternalFragmentMap:"height-any",FDRPlotly:"height-any"}}},methods:{componentClasses(n){return{[this.componentHeightMapping[n]]:!0,[`component-width-${this.components.length}`]:!0}},componentIndex(n){return n+this.rowIndex*100}}});const Az={class:"component-row"};function Sz(n,e,r,C,D,T){const p=Gr("PlotlyHeatmap"),t=Gr("TabulatorScanTable"),d=Gr("TabulatorMassTable"),g=Gr("TabulatorProteinTable"),i=Gr("TabulatorTagTable"),M=Gr("PlotlyLineplotUnified"),v=Gr("Plotly3Dplot"),f=Gr("SequenceView"),l=Gr("InternalFragmentMap"),a=Gr("FLASHQuantView"),u=Gr("FDRPlotly");return Rr(),ei("div",Az,[(Rr(!0),ei(Yr,null,Ul(n.components,(o,s)=>(Rr(),ei("div",{key:s,class:Ju(n.componentClasses(o.componentArgs.componentName))},[o.componentArgs.componentName==="PlotlyHeatmap"?(Rr(),za(p,{key:0,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="TabulatorScanTable"?(Rr(),za(t,{key:1,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="TabulatorMassTable"?(Rr(),za(d,{key:2,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="TabulatorProteinTable"?(Rr(),za(g,{key:3,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="TabulatorTagTable"?(Rr(),za(i,{key:4,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="PlotlyLineplot"?(Rr(),za(M,{key:5,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="PlotlyLineplotTagger"?(Rr(),za(M,{key:6,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="Plotly3Dplot"?(Rr(),za(v,{key:7,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="SequenceView"?(Rr(),za(f,{key:8,index:n.componentIndex(s)},null,8,["index"])):o.componentArgs.componentName==="InternalFragmentMap"?(Rr(),za(l,{key:9,index:n.componentIndex(s)},null,8,["index"])):o.componentArgs.componentName==="FLASHQuantView"?(Rr(),za(a,{key:10})):o.componentArgs.componentName==="FDRPlotly"?(Rr(),za(u,{key:11,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):Zi("",!0)],2))),128))])}const Cz=hs(Mz,[["render",Sz],["__scopeId","data-v-942c08f7"]]),Ez=ns({name:"ComponentsLayout",components:{ComponentsRow:Cz},props:{components:{type:Object,required:!0}},data(){return{columns:6}},methods:{componentRowClasses(){return{"[`height-${layout.height ?? 1}`]":!0,[`component-width-${this.components.length}`]:!0}}}});const Lz={class:"component-layout"};function Iz(n,e,r,C,D,T){const p=Gr("ComponentsRow");return Rr(),ei("div",Lz,[(Rr(!0),ei(Yr,null,Ul(n.components,(t,d)=>(Rr(),za(p,{key:d,components:t,"row-index":d},null,8,["components","row-index"]))),128))])}const Rz=hs(Ez,[["render",Iz],["__scopeId","data-v-721e06dc"]]),Pz=ns({name:"App",components:{ComponentsLayout:Rz},setup(){const n=Ns(),e=rc();return $r(e.$state,r=>{Wu.setComponentValue(wi(r))},{deep:!0,immediate:!0}),{streamlitDataStore:n,selectionStore:e}},data(){return{timer:void 0}},computed:{components(){var n;return(n=this.streamlitDataStore.args)==null?void 0:n.components}},created(){Wu.setComponentReady(),Wu.setFrameHeight(500),Wu.events.addEventListener(Wu.RENDER_EVENT,this.updateStreamlitData)},mounted(){this.timer=setInterval(()=>{Wu.setFrameHeight()},500)},unmounted(){Wu.events.removeEventListener(Wu.RENDER_EVENT,this.updateStreamlitData),clearInterval(this.timer)},updated(){Wu.setFrameHeight()},methods:{async updateStreamlitData(n){this.streamlitDataStore.updateRenderData(n.detail)}}});const Oz={key:0},Dz={key:1,class:"d-flex w-100",style:{height:"400px"}};function zz(n,e,r,C,D,T){const p=Gr("ComponentsLayout"),t=Gr("v-progress-linear"),d=Gr("v-alert");return n.components!==void 0&&n.components.length>0?(Rr(),ei("div",Oz,[gt(p,{components:n.components},null,8,["components"])])):(Rr(),ei("div",Dz,[gt(d,{class:"h-50 ma-16 pr-16",icon:"mdi-application-variable-outline",title:"FLASHViewer loading",type:"info"},{default:ci(()=>[gt(t,{indeterminate:""}),ia(" Please wait... ")]),_:1})]))}const Fz=hs(Pz,[["render",zz]]);const to=typeof window<"u",$2=to&&"IntersectionObserver"in window,Bz=to&&("ontouchstart"in window||window.navigator.maxTouchPoints>0);function b5(n,e,r){Nz(n,e),e.set(n,r)}function Nz(n,e){if(e.has(n))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Vz(n,e,r){var C=l6(n,e,"set");return jz(n,C,r),r}function jz(n,e,r){if(e.set)e.set.call(n,r);else{if(!e.writable)throw new TypeError("attempted to set read only private field");e.value=r}}function _d(n,e){var r=l6(n,e,"get");return Uz(n,r)}function l6(n,e,r){if(!e.has(n))throw new TypeError("attempted to "+r+" private field on non-instance");return e.get(n)}function Uz(n,e){return e.get?e.get.call(n):e.value}function u6(n,e,r){const C=e.length-1;if(C<0)return n===void 0?r:n;for(let D=0;Db0(n[C],e[C]))}function ix(n,e,r){return n==null||!e||typeof e!="string"?r:n[e]!==void 0?n[e]:(e=e.replace(/\[(\w+)\]/g,".$1"),e=e.replace(/^\./,""),u6(n,e.split("."),r))}function ph(n,e,r){if(e==null)return n===void 0?r:n;if(n!==Object(n)){if(typeof e!="function")return r;const D=e(n,r);return typeof D>"u"?r:D}if(typeof e=="string")return ix(n,e,r);if(Array.isArray(e))return u6(n,e,r);if(typeof e!="function")return r;const C=e(n,r);return typeof C>"u"?r:C}function Kh(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:n},(r,C)=>e+C)}function Qr(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(!(n==null||n===""))return isNaN(+n)?String(n):isFinite(+n)?`${Number(n)}${e}`:void 0}function ax(n){return n!==null&&typeof n=="object"&&!Array.isArray(n)}function ox(n){return n&&"$el"in n?n.$el:n}const x5=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16}),sx=Object.freeze({enter:"Enter",tab:"Tab",delete:"Delete",esc:"Escape",space:"Space",up:"ArrowUp",down:"ArrowDown",left:"ArrowLeft",right:"ArrowRight",end:"End",home:"Home",del:"Delete",backspace:"Backspace",insert:"Insert",pageup:"PageUp",pagedown:"PageDown",shift:"Shift"});function c6(n){return Object.keys(n)}function Od(n,e){return e.every(r=>n.hasOwnProperty(r))}function $d(n,e,r){const C=Object.create(null),D=Object.create(null);for(const T in n)e.some(p=>p instanceof RegExp?p.test(T):p===T)&&!(r!=null&&r.some(p=>p===T))?C[T]=n[T]:D[T]=n[T];return[C,D]}function ic(n,e){const r={...n};return e.forEach(C=>delete r[C]),r}const h6=/^on[^a-z]/,Z2=n=>h6.test(n),Hz=["onAfterscriptexecute","onAnimationcancel","onAnimationend","onAnimationiteration","onAnimationstart","onAuxclick","onBeforeinput","onBeforescriptexecute","onChange","onClick","onCompositionend","onCompositionstart","onCompositionupdate","onContextmenu","onCopy","onCut","onDblclick","onFocusin","onFocusout","onFullscreenchange","onFullscreenerror","onGesturechange","onGestureend","onGesturestart","onGotpointercapture","onInput","onKeydown","onKeypress","onKeyup","onLostpointercapture","onMousedown","onMousemove","onMouseout","onMouseover","onMouseup","onMousewheel","onPaste","onPointercancel","onPointerdown","onPointerenter","onPointerleave","onPointermove","onPointerout","onPointerover","onPointerup","onReset","onSelect","onSubmit","onTouchcancel","onTouchend","onTouchmove","onTouchstart","onTransitioncancel","onTransitionend","onTransitionrun","onTransitionstart","onWheel"];function Qd(n){const[e,r]=$d(n,[h6]),C=ic(e,Hz),[D,T]=$d(r,["class","style","id",/^data-/]);return Object.assign(D,e),Object.assign(T,C),[D,T]}function bu(n){return n==null?[]:Array.isArray(n)?n:[n]}function Zs(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(e,Math.min(r,n))}function _5(n){const e=n.toString().trim();return e.includes(".")?e.length-e.indexOf(".")-1:0}function w5(n,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0";return n+r.repeat(Math.max(0,e-n.length))}function Gz(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const r=[];let C=0;for(;C1&&arguments[1]!==void 0?arguments[1]:1e3;if(n=e&&C0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;const C={};for(const D in n)C[D]=n[D];for(const D in e){const T=n[D],p=e[D];if(ax(T)&&ax(p)){C[D]=Ku(T,p,r);continue}if(Array.isArray(T)&&Array.isArray(p)&&r){C[D]=r(T,p);continue}C[D]=p}return C}function f6(n){return n.map(e=>e.type===Yr?f6(e.children):e).flat()}function Ud(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(Ud.cache.has(n))return Ud.cache.get(n);const e=n.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return Ud.cache.set(n,e),e}Ud.cache=new Map;function ym(n,e){if(!e||typeof e!="object")return[];if(Array.isArray(e))return e.map(r=>ym(n,r)).flat(1);if(Array.isArray(e.children))return e.children.map(r=>ym(n,r)).flat(1);if(e.component){if(Object.getOwnPropertySymbols(e.component.provides).includes(n))return[e.component];if(e.component.subTree)return ym(n,e.component.subTree).flat(1)}return[]}var sv=new WeakMap,Sp=new WeakMap;class qz{constructor(e){b5(this,sv,{writable:!0,value:[]}),b5(this,Sp,{writable:!0,value:0}),this.size=e}push(e){_d(this,sv)[_d(this,Sp)]=e,Vz(this,Sp,(_d(this,Sp)+1)%this.size)}values(){return _d(this,sv).slice(_d(this,Sp)).concat(_d(this,sv).slice(0,_d(this,Sp)))}}function Wz(n){return"touches"in n?{clientX:n.touches[0].clientX,clientY:n.touches[0].clientY}:{clientX:n.clientX,clientY:n.clientY}}function X2(n){const e=yl({}),r=cn(n);return wu(()=>{for(const C in r.value)e[C]=r.value[C]},{flush:"sync"}),by(e)}function ly(n,e){return n.includes(e)}function d6(n){return n[2].toLowerCase()+n.slice(3)}const yh=()=>[Function,Array];function k5(n,e){return e="on"+sf(e),!!(n[e]||n[`${e}Once`]||n[`${e}Capture`]||n[`${e}OnceCapture`]||n[`${e}CaptureOnce`])}function K2(n){for(var e=arguments.length,r=new Array(e>1?e-1:0),C=1;C1&&arguments[1]!==void 0?arguments[1]:!0;const r=["button","[href]",'input:not([type="hidden"])',"select","textarea","[tabindex]"].map(C=>`${C}${e?':not([tabindex="-1"])':""}:not([disabled])`).join(", ");return[...n.querySelectorAll(r)]}function p6(n,e,r){let C,D=n.indexOf(document.activeElement);const T=e==="next"?1:-1;do D+=T,C=n[D];while((!C||C.offsetParent==null||!((r==null?void 0:r(C))??!0))&&D=0);return C}function uy(n,e){var C,D,T,p;const r=Dm(n);if(!e)(n===document.activeElement||!n.contains(document.activeElement))&&((C=r[0])==null||C.focus());else if(e==="first")(D=r[0])==null||D.focus();else if(e==="last")(T=r.at(-1))==null||T.focus();else if(typeof e=="number")(p=r[e])==null||p.focus();else{const t=p6(r,e);t?t.focus():uy(n,e==="next"?"first":"last")}}function m6(){}function l0(n,e){if(!(to&&typeof CSS<"u"&&typeof CSS.supports<"u"&&CSS.supports(`selector(${e})`)))return null;try{return!!n&&n.matches(e)}catch{return null}}const g6=["top","bottom"],Yz=["start","end","left","right"];function lx(n,e){let[r,C]=n.split(" ");return C||(C=ly(g6,r)?"start":ly(Yz,r)?"top":"center"),{side:ux(r,e),align:ux(C,e)}}function ux(n,e){return n==="start"?e?"right":"left":n==="end"?e?"left":"right":n}function gb(n){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[n.side],align:n.align}}function vb(n){return{side:n.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[n.align]}}function M5(n){return{side:n.align,align:n.side}}function A5(n){return ly(g6,n.side)?"y":"x"}class Yp{constructor(e){let{x:r,y:C,width:D,height:T}=e;this.x=r,this.y=C,this.width=D,this.height=T}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function S5(n,e){return{x:{before:Math.max(0,e.left-n.left),after:Math.max(0,n.right-e.right)},y:{before:Math.max(0,e.top-n.top),after:Math.max(0,n.bottom-e.bottom)}}}function J2(n){const e=n.getBoundingClientRect(),r=getComputedStyle(n),C=r.transform;if(C){let D,T,p,t,d;if(C.startsWith("matrix3d("))D=C.slice(9,-1).split(/, /),T=+D[0],p=+D[5],t=+D[12],d=+D[13];else if(C.startsWith("matrix("))D=C.slice(7,-1).split(/, /),T=+D[0],p=+D[3],t=+D[4],d=+D[5];else return new Yp(e);const g=r.transformOrigin,i=e.x-t-(1-T)*parseFloat(g),M=e.y-d-(1-p)*parseFloat(g.slice(g.indexOf(" ")+1)),v=T?e.width/T:n.offsetWidth+1,f=p?e.height/p:n.offsetHeight+1;return new Yp({x:i,y:M,width:v,height:f})}else return new Yp(e)}function Dd(n,e,r){if(typeof n.animate>"u")return{finished:Promise.resolve()};let C;try{C=n.animate(e,r)}catch{return{finished:Promise.resolve()}}return typeof C.finished>"u"&&(C.finished=new Promise(D=>{C.onfinish=()=>{D(C)}})),C}const Tv=new WeakMap;function $z(n,e){Object.keys(e).forEach(r=>{if(Z2(r)){const C=d6(r),D=Tv.get(n);if(e[r]==null)D==null||D.forEach(T=>{const[p,t]=T;p===C&&(n.removeEventListener(C,t),D.delete(T))});else if(!D||![...D].some(T=>T[0]===C&&T[1]===e[r])){n.addEventListener(C,e[r]);const T=D||new Set;T.add([C,e[r]]),Tv.has(n)||Tv.set(n,T)}}else e[r]==null?n.removeAttribute(r):n.setAttribute(r,e[r])})}function Zz(n,e){Object.keys(e).forEach(r=>{if(Z2(r)){const C=d6(r),D=Tv.get(n);D==null||D.forEach(T=>{const[p,t]=T;p===C&&(n.removeEventListener(C,t),D.delete(T))})}else n.removeAttribute(r)})}const Cp=2.4,C5=.2126729,E5=.7151522,L5=.072175,Xz=.55,Kz=.58,Jz=.57,Qz=.62,lv=.03,I5=1.45,eF=5e-4,tF=1.25,nF=1.25,R5=.078,P5=12.82051282051282,uv=.06,O5=.001;function D5(n,e){const r=(n.r/255)**Cp,C=(n.g/255)**Cp,D=(n.b/255)**Cp,T=(e.r/255)**Cp,p=(e.g/255)**Cp,t=(e.b/255)**Cp;let d=r*C5+C*E5+D*L5,g=T*C5+p*E5+t*L5;if(d<=lv&&(d+=(lv-d)**I5),g<=lv&&(g+=(lv-g)**I5),Math.abs(g-d)d){const M=(g**Xz-d**Kz)*tF;i=M-O5?0:M>-R5?M-M*P5*uv:M+uv}return i*100}function rF(n,e){e=Array.isArray(e)?e.slice(0,-1).map(r=>`'${r}'`).join(", ")+` or '${e.at(-1)}'`:`'${e}'`}const cy=.20689655172413793,iF=n=>n>cy**3?Math.cbrt(n):n/(3*cy**2)+4/29,aF=n=>n>cy?n**3:3*cy**2*(n-4/29);function v6(n){const e=iF,r=e(n[1]);return[116*r-16,500*(e(n[0]/.95047)-r),200*(r-e(n[2]/1.08883))]}function y6(n){const e=aF,r=(n[0]+16)/116;return[e(r+n[1]/500)*.95047,e(r),e(r-n[2]/200)*1.08883]}const oF=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],sF=n=>n<=.0031308?n*12.92:1.055*n**(1/2.4)-.055,lF=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],uF=n=>n<=.04045?n/12.92:((n+.055)/1.055)**2.4;function b6(n){const e=Array(3),r=sF,C=oF;for(let D=0;D<3;++D)e[D]=Math.round(Zs(r(C[D][0]*n[0]+C[D][1]*n[1]+C[D][2]*n[2]))*255);return{r:e[0],g:e[1],b:e[2]}}function Q2(n){let{r:e,g:r,b:C}=n;const D=[0,0,0],T=uF,p=lF;e=T(e/255),r=T(r/255),C=T(C/255);for(let t=0;t<3;++t)D[t]=p[t][0]*e+p[t][1]*r+p[t][2]*C;return D}function z5(n){return!!n&&/^(#|var\(--|(rgb|hsl)a?\()/.test(n)}const F5=/^(?(?:rgb|hsl)a?)\((?.+)\)/,cF={rgb:(n,e,r,C)=>({r:n,g:e,b:r,a:C}),rgba:(n,e,r,C)=>({r:n,g:e,b:r,a:C}),hsl:(n,e,r,C)=>B5({h:n,s:e,l:r,a:C}),hsla:(n,e,r,C)=>B5({h:n,s:e,l:r,a:C}),hsv:(n,e,r,C)=>rf({h:n,s:e,v:r,a:C}),hsva:(n,e,r,C)=>rf({h:n,s:e,v:r,a:C})};function Pc(n){if(typeof n=="number")return{r:(n&16711680)>>16,g:(n&65280)>>8,b:n&255};if(typeof n=="string"&&F5.test(n)){const{groups:e}=n.match(F5),{fn:r,values:C}=e,D=C.split(/,\s*/).map(T=>T.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(r)?parseFloat(T)/100:parseFloat(T));return cF[r](...D)}else if(typeof n=="string"){let e=n.startsWith("#")?n.slice(1):n;return[3,4].includes(e.length)?e=e.split("").map(r=>r+r).join(""):[6,8].includes(e.length),k6(e)}else if(typeof n=="object"){if(Od(n,["r","g","b"]))return n;if(Od(n,["h","s","l"]))return rf(e_(n));if(Od(n,["h","s","v"]))return rf(n)}throw new TypeError(`Invalid color: ${n==null?n:String(n)||n.constructor.name} -Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function rf(n){const{h:e,s:r,v:C,a:D}=n,T=t=>{const d=(t+e/60)%6;return C-C*r*Math.max(Math.min(d,4-d,1),0)},p=[T(5),T(3),T(1)].map(t=>Math.round(t*255));return{r:p[0],g:p[1],b:p[2],a:D}}function B5(n){return rf(e_(n))}function Xy(n){if(!n)return{h:0,s:1,v:1,a:1};const e=n.r/255,r=n.g/255,C=n.b/255,D=Math.max(e,r,C),T=Math.min(e,r,C);let p=0;D!==T&&(D===e?p=60*(0+(r-C)/(D-T)):D===r?p=60*(2+(C-e)/(D-T)):D===C&&(p=60*(4+(e-r)/(D-T)))),p<0&&(p=p+360);const t=D===0?0:(D-T)/D,d=[p,t,D];return{h:d[0],s:d[1],v:d[2],a:n.a}}function x6(n){const{h:e,s:r,v:C,a:D}=n,T=C-C*r/2,p=T===1||T===0?0:(C-T)/Math.min(T,1-T);return{h:e,s:p,l:T,a:D}}function e_(n){const{h:e,s:r,l:C,a:D}=n,T=C+r*Math.min(C,1-C),p=T===0?0:2-2*C/T;return{h:e,s:p,v:T,a:D}}function _6(n){let{r:e,g:r,b:C,a:D}=n;return D===void 0?`rgb(${e}, ${r}, ${C})`:`rgba(${e}, ${r}, ${C}, ${D})`}function w6(n){return _6(rf(n))}function cv(n){const e=Math.round(n).toString(16);return("00".substr(0,2-e.length)+e).toUpperCase()}function T6(n){let{r:e,g:r,b:C,a:D}=n;return`#${[cv(e),cv(r),cv(C),D!==void 0?cv(Math.round(D*255)):""].join("")}`}function k6(n){n=fF(n);let[e,r,C,D]=Gz(n,2).map(T=>parseInt(T,16));return D=D===void 0?D:D/255,{r:e,g:r,b:C,a:D}}function hF(n){const e=k6(n);return Xy(e)}function M6(n){return T6(rf(n))}function fF(n){return n.startsWith("#")&&(n=n.slice(1)),n=n.replace(/([^0-9a-f])/gi,"F"),(n.length===3||n.length===4)&&(n=n.split("").map(e=>e+e).join("")),n.length!==6&&(n=w5(w5(n,6),8,"F")),n}function dF(n,e){const r=v6(Q2(n));return r[0]=r[0]+e*10,b6(y6(r))}function pF(n,e){const r=v6(Q2(n));return r[0]=r[0]-e*10,b6(y6(r))}function cx(n){const e=Pc(n);return Q2(e)[1]}function mF(n,e){const r=cx(n),C=cx(e),D=Math.max(r,C),T=Math.min(r,C);return(D+.05)/(T+.05)}function A6(n){const e=Math.abs(D5(Pc(0),Pc(n)));return Math.abs(D5(Pc(16777215),Pc(n)))>Math.min(e,50)?"#fff":"#000"}function ur(n,e){return r=>Object.keys(n).reduce((C,D)=>{const p=typeof n[D]=="object"&&n[D]!=null&&!Array.isArray(n[D])?n[D]:{type:n[D]};return r&&D in r?C[D]={...p,default:r[D]}:C[D]=p,e&&!C[D].source&&(C[D].source=e),C},{})}const Zr=ur({class:[String,Array],style:{type:[String,Array,Object],default:null}},"component");function ac(n){if(n._setup=n._setup??n.setup,!n.name)return n;if(n._setup){n.props=ur(n.props??{},n.name)();const e=Object.keys(n.props);n.filterProps=function(C){return $d(C,e,["class","style"])},n.props._as=String,n.setup=function(C,D){const T=r_();if(!T.value)return n._setup(C,D);const{props:p,provideSubDefaults:t}=TF(C,C._as??n.name,T),d=n._setup(p,D);return t(),d}}return n}function Ar(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return e=>(n?ac:ns)(e)}function Nc(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",r=arguments.length>2?arguments[2]:void 0;return Ar()({name:r??sf(tc(n.replace(/__/g,"-"))),props:{tag:{type:String,default:e},...Zr()},setup(C,D){let{slots:T}=D;return()=>{var p;return Xf(C.tag,{class:[n,C.class],style:C.style},(p=T.default)==null?void 0:p.call(T))}}})}function S6(n){if(typeof n.getRootNode!="function"){for(;n.parentNode;)n=n.parentNode;return n!==document?null:document}const e=n.getRootNode();return e!==document&&e.getRootNode({composed:!0})!==document?null:e}const zm="cubic-bezier(0.4, 0, 0.2, 1)",gF="cubic-bezier(0.0, 0, 0.2, 1)",vF="cubic-bezier(0.4, 0, 1, 1)";function Ss(n,e){const r=Ey();if(!r)throw new Error(`[Vuetify] ${n} ${e||"must be called from inside a setup function"}`);return r}function ff(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables";const e=Ss(n).type;return Ud((e==null?void 0:e.aliasName)||(e==null?void 0:e.name))}let C6=0,kv=new WeakMap;function Js(){const n=Ss("getUid");if(kv.has(n))return kv.get(n);{const e=C6++;return kv.set(n,e),e}}Js.reset=()=>{C6=0,kv=new WeakMap};function t_(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(;n;){if(e?yF(n):n_(n))return n;n=n.parentElement}return document.scrollingElement}function hy(n,e){const r=[];if(e&&n&&!e.contains(n))return r;for(;n&&(n_(n)&&r.push(n),n!==e);)n=n.parentElement;return r}function n_(n){if(!n||n.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(n);return e.overflowY==="scroll"||e.overflowY==="auto"&&n.scrollHeight>n.clientHeight}function yF(n){if(!n||n.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(n);return["scroll","auto"].includes(e.overflowY)}function bF(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ss("injectSelf");const{provides:r}=e;if(r&&n in r)return r[n]}function xF(n){for(;n;){if(window.getComputedStyle(n).position==="fixed")return!0;n=n.offsetParent}return!1}function Or(n){const e=Ss("useRender");e.render=n}const u0=Symbol.for("vuetify:defaults");function _F(n){return Vr(n)}function r_(){const n=ka(u0);if(!n)throw new Error("[Vuetify] Could not find defaults instance");return n}function es(n,e){const r=r_(),C=Vr(n),D=cn(()=>{if(yu(e==null?void 0:e.disabled))return r.value;const p=yu(e==null?void 0:e.scoped),t=yu(e==null?void 0:e.reset),d=yu(e==null?void 0:e.root);if(C.value==null&&!(p||t||d))return r.value;let g=Ku(C.value,{prev:r.value});if(p)return g;if(t||d){const i=Number(t||1/0);for(let M=0;M<=i&&!(!g||!("prev"in g));M++)g=g.prev;return g&&typeof d=="string"&&d in g&&(g=Ku(Ku(g,{prev:g}),g[d])),g}return g.prev?Ku(g.prev,g):g});return ts(u0,D),D}function wF(n,e){var r,C;return typeof((r=n.props)==null?void 0:r[e])<"u"||typeof((C=n.props)==null?void 0:C[Ud(e)])<"u"}function TF(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:r_();const C=Ss("useDefaults");if(e=e??C.type.name??C.type.__name,!e)throw new Error("[Vuetify] Could not determine component name");const D=cn(()=>{var d;return(d=r.value)==null?void 0:d[n._as??e]}),T=new Proxy(n,{get(d,g){var M,v,f,l;const i=Reflect.get(d,g);return g==="class"||g==="style"?[(M=D.value)==null?void 0:M[g],i].filter(a=>a!=null):typeof g=="string"&&!wF(C.vnode,g)?((v=D.value)==null?void 0:v[g])??((l=(f=r.value)==null?void 0:f.global)==null?void 0:l[g])??i:i}}),p=Wr();wu(()=>{if(D.value){const d=Object.entries(D.value).filter(g=>{let[i]=g;return i.startsWith(i[0].toUpperCase())});p.value=d.length?Object.fromEntries(d):void 0}else p.value=void 0});function t(){const d=bF(u0,C);ts(u0,cn(()=>p.value?Ku((d==null?void 0:d.value)??{},p.value):d==null?void 0:d.value))}return{props:T,provideSubDefaults:t}}const Ky=["sm","md","lg","xl","xxl"],hx=Symbol.for("vuetify:display"),N5={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}},kF=function(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:N5;return Ku(N5,n)};function V5(n){return to&&!n?window.innerWidth:typeof n=="object"&&n.clientWidth||0}function j5(n){return to&&!n?window.innerHeight:typeof n=="object"&&n.clientHeight||0}function U5(n){const e=to&&!n?window.navigator.userAgent:"ssr";function r(l){return!!e.match(l)}const C=r(/android/i),D=r(/iphone|ipad|ipod/i),T=r(/cordova/i),p=r(/electron/i),t=r(/chrome/i),d=r(/edge/i),g=r(/firefox/i),i=r(/opera/i),M=r(/win/i),v=r(/mac/i),f=r(/linux/i);return{android:C,ios:D,cordova:T,electron:p,chrome:t,edge:d,firefox:g,opera:i,win:M,mac:v,linux:f,touch:Bz,ssr:e==="ssr"}}function MF(n,e){const{thresholds:r,mobileBreakpoint:C}=kF(n),D=Wr(j5(e)),T=Wr(U5(e)),p=yl({}),t=Wr(V5(e));function d(){D.value=j5(),t.value=V5()}function g(){d(),T.value=U5()}return wu(()=>{const i=t.value=r.xxl,u=i?"xs":M?"sm":v?"md":f?"lg":l?"xl":"xxl",o=typeof C=="number"?C:r[C],s=t.valueXf(a_,{...n,class:"mdi"})},bi=[String,Function,Object,Array],fx=Symbol.for("vuetify:icons"),Jy=ur({icon:{type:bi},tag:{type:String,required:!0}},"icon"),dx=Ar()({name:"VComponentIcon",props:Jy(),setup(n,e){let{slots:r}=e;return()=>{const C=n.icon;return gt(n.tag,null,{default:()=>{var D;return[n.icon?gt(C,null,null):(D=r.default)==null?void 0:D.call(r)]}})}}}),i_=ac({name:"VSvgIcon",inheritAttrs:!1,props:Jy(),setup(n,e){let{attrs:r}=e;return()=>gt(n.tag,qr(r,{style:null}),{default:()=>[gt("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(n.icon)?n.icon.map(C=>Array.isArray(C)?gt("path",{d:C[0],"fill-opacity":C[1]},null):gt("path",{d:C},null)):gt("path",{d:n.icon},null)])]})}}),CF=ac({name:"VLigatureIcon",props:Jy(),setup(n){return()=>gt(n.tag,null,{default:()=>[n.icon]})}}),a_=ac({name:"VClassIcon",props:Jy(),setup(n){return()=>gt(n.tag,{class:n.icon},null)}}),EF={svg:{component:i_},class:{component:a_}};function LF(n){return Ku({defaultSet:"mdi",sets:{...EF,mdi:SF},aliases:{...AF,vuetify:["M8.2241 14.2009L12 21L22 3H14.4459L8.2241 14.2009Z",["M7.26303 12.4733L7.00113 12L2 3H12.5261C12.5261 3 12.5261 3 12.5261 3L7.26303 12.4733Z",.6]],"vuetify-outline":"svg:M7.26 12.47 12.53 3H2L7.26 12.47ZM14.45 3 8.22 14.2 12 21 22 3H14.45ZM18.6 5 12 16.88 10.51 14.2 15.62 5ZM7.26 8.35 5.4 5H9.13L7.26 8.35Z"}},n)}const IF=n=>{const e=ka(fx);if(!e)throw new Error("Missing Vuetify Icons provide!");return{iconData:cn(()=>{var d;const C=yu(n);if(!C)return{component:dx};let D=C;if(typeof D=="string"&&(D=D.trim(),D.startsWith("$")&&(D=(d=e.aliases)==null?void 0:d[D.slice(1)])),!D)throw new Error(`Could not find aliased icon "${C}"`);if(Array.isArray(D))return{component:i_,icon:D};if(typeof D!="string")return{component:dx,icon:D};const T=Object.keys(e.sets).find(g=>typeof D=="string"&&D.startsWith(`${g}:`)),p=T?D.slice(T.length+1):D;return{component:e.sets[T??e.defaultSet].component,icon:p}})}},RF={badge:"Badge",open:"Open",close:"Close",dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},dateRangeInput:{divider:"to"},datePicker:{ok:"OK",cancel:"Cancel",range:{title:"Select dates",header:"Enter dates"},title:"Select date",header:"Enter date",input:{placeholder:"Enter date"}},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action",otp:"Please enter OTP character {0}"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},timePicker:{am:"AM",pm:"PM"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Go to page {0}",currentPage:"Page {0}, Current page",first:"First page",last:"Last page"}},stepper:{next:"Next",prev:"Previous"},rating:{ariaLabel:{item:"Rating {0} of {1}"}},loading:"Loading...",infiniteScroll:{loadMore:"Load more",empty:"No more"}},PF={af:!1,ar:!0,bg:!1,ca:!1,ckb:!1,cs:!1,de:!1,el:!1,en:!1,es:!1,et:!1,fa:!0,fi:!1,fr:!1,hr:!1,hu:!1,he:!0,id:!1,it:!1,ja:!1,ko:!1,lv:!1,lt:!1,nl:!1,no:!1,pl:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,srCyrl:!1,srLatn:!1,sv:!1,th:!1,tr:!1,az:!1,uk:!1,vi:!1,zhHans:!1,zhHant:!1};function $f(n,e){let r;function C(){r=Um(),r.run(()=>e.length?e(()=>{r==null||r.stop(),C()}):e())}$r(n,D=>{D&&!r?C():D||(r==null||r.stop(),r=void 0)},{immediate:!0}),wl(()=>{r==null||r.stop()})}function xi(n,e,r){let C=arguments.length>3&&arguments[3]!==void 0?arguments[3]:M=>M,D=arguments.length>4&&arguments[4]!==void 0?arguments[4]:M=>M;const T=Ss("useProxiedModel"),p=Vr(n[e]!==void 0?n[e]:r),t=Ud(e),g=cn(t!==e?()=>{var M,v,f,l;return n[e],!!(((M=T.vnode.props)!=null&&M.hasOwnProperty(e)||(v=T.vnode.props)!=null&&v.hasOwnProperty(t))&&((f=T.vnode.props)!=null&&f.hasOwnProperty(`onUpdate:${e}`)||(l=T.vnode.props)!=null&&l.hasOwnProperty(`onUpdate:${t}`)))}:()=>{var M,v;return n[e],!!((M=T.vnode.props)!=null&&M.hasOwnProperty(e)&&((v=T.vnode.props)!=null&&v.hasOwnProperty(`onUpdate:${e}`)))});$f(()=>!g.value,()=>{$r(()=>n[e],M=>{p.value=M})});const i=cn({get(){const M=n[e];return C(g.value?M:p.value)},set(M){const v=D(M),f=wi(g.value?n[e]:p.value);f===v||C(f)===M||(p.value=v,T==null||T.emit(`update:${e}`,v))}});return Object.defineProperty(i,"externalValue",{get:()=>g.value?n[e]:p.value}),i}const H5="$vuetify.",G5=(n,e)=>n.replace(/\{(\d+)\}/g,(r,C)=>String(e[+C])),E6=(n,e,r)=>function(C){for(var D=arguments.length,T=new Array(D>1?D-1:0),p=1;pnew Intl.NumberFormat([n.value,e.value],C).format(r)}function yb(n,e,r){const C=xi(n,e,n[e]??r.value);return C.value=n[e]??r.value,$r(r,D=>{n[e]==null&&(C.value=r.value)}),C}function I6(n){return e=>{const r=yb(e,"locale",n.current),C=yb(e,"fallback",n.fallback),D=yb(e,"messages",n.messages);return{name:"vuetify",current:r,fallback:C,messages:D,t:E6(r,C,D),n:L6(r,C),provide:I6({current:r,fallback:C,messages:D})}}}function OF(n){const e=Wr((n==null?void 0:n.locale)??"en"),r=Wr((n==null?void 0:n.fallback)??"en"),C=Vr({en:RF,...n==null?void 0:n.messages});return{name:"vuetify",current:e,fallback:r,messages:C,t:E6(e,r,C),n:L6(e,r),provide:I6({current:e,fallback:r,messages:C})}}const c0=Symbol.for("vuetify:locale");function DF(n){return n.name!=null}function zF(n){const e=n!=null&&n.adapter&&DF(n==null?void 0:n.adapter)?n==null?void 0:n.adapter:OF(n),r=BF(e,n);return{...e,...r}}function oc(){const n=ka(c0);if(!n)throw new Error("[Vuetify] Could not find injected locale instance");return n}function FF(n){const e=ka(c0);if(!e)throw new Error("[Vuetify] Could not find injected locale instance");const r=e.provide(n),C=NF(r,e.rtl,n),D={...r,...C};return ts(c0,D),D}function BF(n,e){const r=Vr((e==null?void 0:e.rtl)??PF),C=cn(()=>r.value[n.current.value]??!1);return{isRtl:C,rtl:r,rtlClasses:cn(()=>`v-locale--is-${C.value?"rtl":"ltr"}`)}}function NF(n,e,r){const C=cn(()=>r.rtl??e.value[n.current.value]??!1);return{isRtl:C,rtl:e,rtlClasses:cn(()=>`v-locale--is-${C.value?"rtl":"ltr"}`)}}function Cs(){const n=ka(c0);if(!n)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:n.isRtl,rtlClasses:n.rtlClasses}}const Fm=Symbol.for("vuetify:theme"),oa=ur({theme:String},"theme"),im={defaultTheme:"light",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-bright":"#FFFFFF","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#6200EE","primary-darken-1":"#3700B3",secondary:"#03DAC6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#F5F5F5","theme-on-code":"#000000"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-bright":"#ccbfd6","surface-variant":"#a3a3a3","on-surface-variant":"#424242",primary:"#BB86FC","primary-darken-1":"#3700B3",secondary:"#03DAC5","secondary-darken-1":"#03DAC5",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"high-emphasis-opacity":1,"medium-emphasis-opacity":.7,"disabled-opacity":.5,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC"}}}};function VF(){var r,C;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:im;if(!n)return{...im,isDisabled:!0};const e={};for(const[D,T]of Object.entries(n.themes??{})){const p=T.dark||D==="dark"?(r=im.themes)==null?void 0:r.dark:(C=im.themes)==null?void 0:C.light;e[D]=Ku(p,T)}return Ku(im,{...n,themes:e})}function jF(n){const e=VF(n),r=Vr(e.defaultTheme),C=Vr(e.themes),D=cn(()=>{const i={};for(const[M,v]of Object.entries(C.value)){const f=i[M]={...v,colors:{...v.colors}};if(e.variations)for(const l of e.variations.colors){const a=f.colors[l];if(a)for(const u of["lighten","darken"]){const o=u==="lighten"?dF:pF;for(const s of Kh(e.variations[u],1))f.colors[`${l}-${u}-${s}`]=T6(o(Pc(a),s))}}for(const l of Object.keys(f.colors)){if(/^on-[a-z]/.test(l)||f.colors[`on-${l}`])continue;const a=`on-${l}`,u=Pc(f.colors[l]);f.colors[a]=A6(u)}}return i}),T=cn(()=>D.value[r.value]),p=cn(()=>{const i=[];T.value.dark&&wd(i,":root",["color-scheme: dark"]),wd(i,":root",q5(T.value));for(const[l,a]of Object.entries(D.value))wd(i,`.v-theme--${l}`,[`color-scheme: ${a.dark?"dark":"normal"}`,...q5(a)]);const M=[],v=[],f=new Set(Object.values(D.value).flatMap(l=>Object.keys(l.colors)));for(const l of f)/^on-[a-z]/.test(l)?wd(v,`.${l}`,[`color: rgb(var(--v-theme-${l})) !important`]):(wd(M,`.bg-${l}`,[`--v-theme-overlay-multiplier: var(--v-theme-${l}-overlay-multiplier)`,`background-color: rgb(var(--v-theme-${l})) !important`,`color: rgb(var(--v-theme-on-${l})) !important`]),wd(v,`.text-${l}`,[`color: rgb(var(--v-theme-${l})) !important`]),wd(v,`.border-${l}`,[`--v-border-color: var(--v-theme-${l})`]));return i.push(...M,...v),i.map((l,a)=>a===0?l:` ${l}`).join("")});function t(){return{style:[{children:p.value,id:"vuetify-theme-stylesheet",nonce:e.cspNonce||!1}]}}function d(i){if(e.isDisabled)return;const M=i._context.provides.usehead;if(M)if(M.push){const f=M.push(t);to&&$r(p,()=>{f.patch(t)})}else to?(M.addHeadObjs(cn(t)),wu(()=>M.updateDOM())):M.addHeadObjs(t());else{let l=function(){if(typeof document<"u"&&!f){const a=document.createElement("style");a.type="text/css",a.id="vuetify-theme-stylesheet",e.cspNonce&&a.setAttribute("nonce",e.cspNonce),f=a,document.head.appendChild(f)}f&&(f.innerHTML=p.value)};var v=l;let f=to?document.getElementById("vuetify-theme-stylesheet"):null;to?$r(p,l,{immediate:!0}):l()}}const g=cn(()=>e.isDisabled?void 0:`v-theme--${r.value}`);return{install:d,isDisabled:e.isDisabled,name:r,themes:C,current:T,computedThemes:D,themeClasses:g,styles:p,global:{name:r,current:T}}}function Ma(n){Ss("provideTheme");const e=ka(Fm,null);if(!e)throw new Error("Could not find Vuetify theme injection");const r=cn(()=>n.theme??e.name.value),C=cn(()=>e.themes.value[r.value]),D=cn(()=>e.isDisabled?void 0:`v-theme--${r.value}`),T={...e,name:r,current:C,themeClasses:D};return ts(Fm,T),T}function R6(){Ss("useTheme");const n=ka(Fm,null);if(!n)throw new Error("Could not find Vuetify theme injection");return n}function wd(n,e,r){n.push(`${e} { -`,...r.map(C=>` ${C}; -`),`} -`)}function q5(n){const e=n.dark?2:1,r=n.dark?1:2,C=[];for(const[D,T]of Object.entries(n.colors)){const p=Pc(T);C.push(`--v-theme-${D}: ${p.r},${p.g},${p.b}`),D.startsWith("on-")||C.push(`--v-theme-${D}-overlay-multiplier: ${cx(T)>.18?e:r}`)}for(const[D,T]of Object.entries(n.variables)){const p=typeof T=="string"&&T.startsWith("#")?Pc(T):void 0,t=p?`${p.r}, ${p.g}, ${p.b}`:void 0;C.push(`--v-${D}: ${t??T}`)}return C}const px={"001":1,AD:1,AE:6,AF:6,AG:0,AI:1,AL:1,AM:1,AN:1,AR:1,AS:0,AT:1,AU:1,AX:1,AZ:1,BA:1,BD:0,BE:1,BG:1,BH:6,BM:1,BN:1,BR:0,BS:0,BT:0,BW:0,BY:1,BZ:0,CA:0,CH:1,CL:1,CM:1,CN:1,CO:0,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DM:0,DO:0,DZ:6,EC:1,EE:1,EG:6,ES:1,ET:0,FI:1,FJ:1,FO:1,FR:1,GB:1,"GB-alt-variant":0,GE:1,GF:1,GP:1,GR:1,GT:0,GU:0,HK:0,HN:0,HR:1,HU:1,ID:0,IE:1,IL:0,IN:0,IQ:6,IR:6,IS:1,IT:1,JM:0,JO:6,JP:0,KE:0,KG:1,KH:0,KR:0,KW:6,KZ:1,LA:0,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MH:0,MK:1,MM:0,MN:1,MO:0,MQ:1,MT:0,MV:5,MX:0,MY:1,MZ:0,NI:0,NL:1,NO:1,NP:0,NZ:1,OM:6,PA:0,PE:0,PH:0,PK:0,PL:1,PR:0,PT:0,PY:0,QA:6,RE:1,RO:1,RS:1,RU:1,SA:0,SD:6,SE:1,SG:0,SI:1,SK:1,SM:1,SV:0,SY:6,TH:0,TJ:1,TM:1,TR:1,TT:0,TW:0,UA:1,UM:0,US:0,UY:1,UZ:1,VA:1,VE:0,VI:0,VN:1,WS:0,XK:1,YE:0,ZA:0,ZW:0};function UF(n,e){const r=[];let C=[];const D=P6(n),T=O6(n),p=D.getDay()-px[e.slice(-2).toUpperCase()],t=T.getDay()-px[e.slice(-2).toUpperCase()];for(let d=0;d{const C=new Date(W5);return C.setDate(W5.getDate()+e+r),new Intl.DateTimeFormat(n,{weekday:"narrow"}).format(C)})}function YF(n,e,r){const C=new Date(n);let D={};switch(e){case"fullDateWithWeekday":D={weekday:"long",day:"numeric",month:"long",year:"numeric"};break;case"normalDateWithWeekday":D={weekday:"short",day:"numeric",month:"short"};break;case"keyboardDate":D={};break;case"monthAndDate":D={month:"long",day:"numeric"};break;case"monthAndYear":D={month:"long",year:"numeric"};break;case"dayOfMonth":D={day:"numeric"};break;default:D={timeZone:"UTC",timeZoneName:"short"}}return new Intl.DateTimeFormat(r,D).format(C)}function $F(n,e){const r=new Date(n);return r.setDate(r.getDate()+e),r}function ZF(n,e){const r=new Date(n);return r.setMonth(r.getMonth()+e),r}function XF(n){return n.getFullYear()}function KF(n){return n.getMonth()}function JF(n){return new Date(n.getFullYear(),0,1)}function QF(n){return new Date(n.getFullYear(),11,31)}function eB(n,e){return mx(n,e[0])&&nB(n,e[1])}function tB(n){if(!n||n==null)return!1;const e=new Date(n);return e instanceof Date&&!isNaN(e.getTime())}function mx(n,e){return n.getTime()>e.getTime()}function nB(n,e){return n.getTime()1&&arguments[1]!==void 0?arguments[1]:"content";const r=Vr(),C=Vr();if(to){const D=new ResizeObserver(T=>{n==null||n(T,D),T.length&&(e==="content"?C.value=T[0].contentRect:C.value=T[0].target.getBoundingClientRect())});Tl(()=>{D.disconnect()}),$r(r,(T,p)=>{p&&(D.unobserve(ox(p)),C.value=void 0),T&&D.observe(ox(T))},{flush:"post"})}return{resizeRef:r,contentRect:Hm(C)}}const fy=Symbol.for("vuetify:layout"),D6=Symbol.for("vuetify:layout-item"),Z5=1e3,z6=ur({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},"layout"),x0=ur({name:{type:String},order:{type:[Number,String],default:0},absolute:Boolean},"layout-item");function hB(){const n=ka(fy);if(!n)throw new Error("[Vuetify] Could not find injected layout");return{getLayoutItem:n.getLayoutItem,mainRect:n.mainRect,mainStyles:n.mainStyles}}function _0(n){const e=ka(fy);if(!e)throw new Error("[Vuetify] Could not find injected layout");const r=n.id??`layout-item-${Js()}`,C=Ss("useLayoutItem");ts(D6,{id:r});const D=Wr(!1);ZT(()=>D.value=!0),$T(()=>D.value=!1);const{layoutItemStyles:T,layoutItemScrimStyles:p}=e.register(C,{...n,active:cn(()=>D.value?!1:n.active.value),id:r});return Tl(()=>e.unregister(r)),{layoutItemStyles:T,layoutRect:e.layoutRect,layoutItemScrimStyles:p}}const fB=(n,e,r,C)=>{let D={top:0,left:0,right:0,bottom:0};const T=[{id:"",layer:{...D}}];for(const p of n){const t=e.get(p),d=r.get(p),g=C.get(p);if(!t||!d||!g)continue;const i={...D,[t.value]:parseInt(D[t.value],10)+(g.value?parseInt(d.value,10):0)};T.push({id:p,layer:i}),D=i}return T};function F6(n){const e=ka(fy,null),r=cn(()=>e?e.rootZIndex.value-100:Z5),C=Vr([]),D=yl(new Map),T=yl(new Map),p=yl(new Map),t=yl(new Map),d=yl(new Map),{resizeRef:g,contentRect:i}=Th(),M=cn(()=>{const w=new Map,y=n.overlaps??[];for(const S of y.filter(_=>_.includes(":"))){const[_,k]=S.split(":");if(!C.value.includes(_)||!C.value.includes(k))continue;const E=D.get(_),x=D.get(k),A=T.get(_),L=T.get(k);!E||!x||!A||!L||(w.set(k,{position:E.value,amount:parseInt(A.value,10)}),w.set(_,{position:x.value,amount:-parseInt(L.value,10)}))}return w}),v=cn(()=>{const w=[...new Set([...p.values()].map(S=>S.value))].sort((S,_)=>S-_),y=[];for(const S of w){const _=C.value.filter(k=>{var E;return((E=p.get(k))==null?void 0:E.value)===S});y.push(..._)}return fB(y,D,T,t)}),f=cn(()=>!Array.from(d.values()).some(w=>w.value)),l=cn(()=>v.value[v.value.length-1].layer),a=cn(()=>({"--v-layout-left":Qr(l.value.left),"--v-layout-right":Qr(l.value.right),"--v-layout-top":Qr(l.value.top),"--v-layout-bottom":Qr(l.value.bottom),...f.value?void 0:{transition:"none"}})),u=cn(()=>v.value.slice(1).map((w,y)=>{let{id:S}=w;const{layer:_}=v.value[y],k=T.get(S),E=D.get(S);return{id:S,..._,size:Number(k.value),position:E.value}})),o=w=>u.value.find(y=>y.id===w),s=Ss("createLayout"),c=Wr(!1);Ks(()=>{c.value=!0}),ts(fy,{register:(w,y)=>{let{id:S,order:_,position:k,layoutSize:E,elementSize:x,active:A,disableTransitions:L,absolute:b}=y;p.set(S,_),D.set(S,k),T.set(S,E),t.set(S,A),L&&d.set(S,L);const I=ym(D6,s==null?void 0:s.vnode).indexOf(w);I>-1?C.value.splice(I,0,S):C.value.push(S);const O=cn(()=>u.value.findIndex(N=>N.id===S)),z=cn(()=>r.value+v.value.length*2-O.value*2),F=cn(()=>{const N=k.value==="left"||k.value==="right",W=k.value==="right",j=k.value==="bottom",$={[k.value]:0,zIndex:z.value,transform:`translate${N?"X":"Y"}(${(A.value?0:-110)*(W||j?-1:1)}%)`,position:b.value||r.value!==Z5?"absolute":"fixed",...f.value?void 0:{transition:"none"}};if(!c.value)return $;const U=u.value[O.value];if(!U)throw new Error(`[Vuetify] Could not find layout item "${S}"`);const G=M.value.get(S);return G&&(U[G.position]+=G.amount),{...$,height:N?`calc(100% - ${U.top}px - ${U.bottom}px)`:x.value?`${x.value}px`:void 0,left:W?void 0:`${U.left}px`,right:W?`${U.right}px`:void 0,top:k.value!=="bottom"?`${U.top}px`:void 0,bottom:k.value!=="top"?`${U.bottom}px`:void 0,width:N?x.value?`${x.value}px`:void 0:`calc(100% - ${U.left}px - ${U.right}px)`}}),B=cn(()=>({zIndex:z.value-1}));return{layoutItemStyles:F,layoutItemScrimStyles:B,zIndex:z}},unregister:w=>{p.delete(w),D.delete(w),T.delete(w),t.delete(w),d.delete(w),C.value=C.value.filter(y=>y!==w)},mainRect:l,mainStyles:a,getLayoutItem:o,items:u,layoutRect:i,rootZIndex:r});const h=cn(()=>["v-layout",{"v-layout--full-height":n.fullHeight}]),m=cn(()=>({zIndex:r.value,position:e?"relative":void 0,overflow:e?"hidden":void 0}));return{layoutClasses:h,layoutStyles:m,getLayoutItem:o,items:u,layoutRect:i,layoutRef:g}}function B6(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{blueprint:e,...r}=n,C=Ku(e,r),{aliases:D={},components:T={},directives:p={}}=C,t=_F(C.defaults),d=MF(C.display,C.ssr),g=jF(C.theme),i=LF(C.icons),M=zF(C.locale),v=cB(C.date);return{install:l=>{for(const a in p)l.directive(a,p[a]);for(const a in T)l.component(a,T[a]);for(const a in D)l.component(a,ac({...D[a],name:a,aliasName:D[a].name}));if(g.install(l),l.provide(u0,t),l.provide(hx,d),l.provide(Fm,g),l.provide(fx,i),l.provide(c0,M),l.provide($5,v),to&&C.ssr)if(l.$nuxt)l.$nuxt.hook("app:suspense:resolve",()=>{d.update()});else{const{mount:a}=l;l.mount=function(){const u=a(...arguments);return Ua(()=>d.update()),l.mount=a,u}}Js.reset(),l.mixin({computed:{$vuetify(){return yl({defaults:Ep.call(this,u0),display:Ep.call(this,hx),theme:Ep.call(this,Fm),icons:Ep.call(this,fx),locale:Ep.call(this,c0),date:Ep.call(this,$5)})}}})},defaults:t,display:d,theme:g,icons:i,locale:M,date:v}}const dB="3.3.16";B6.version=dB;function Ep(n){var C,D;const e=this.$,r=((C=e.parent)==null?void 0:C.provides)??((D=e.vnode.appContext)==null?void 0:D.provides);if(r&&n in r)return r[n]}const pB=ur({...Zr(),...z6({fullHeight:!0}),...oa()},"VApp"),mB=Ar()({name:"VApp",props:pB(),setup(n,e){let{slots:r}=e;const C=Ma(n),{layoutClasses:D,layoutStyles:T,getLayoutItem:p,items:t,layoutRef:d}=F6(n),{rtlClasses:g}=Cs();return Or(()=>{var i;return gt("div",{ref:d,class:["v-application",C.themeClasses.value,D.value,g.value,n.class],style:[T.value,n.style]},[gt("div",{class:"v-application__wrap"},[(i=r.default)==null?void 0:i.call(r)])])}),{getLayoutItem:p,items:t,theme:C}}});const Si=ur({tag:{type:String,default:"div"}},"tag"),N6=ur({text:String,...Zr(),...Si()},"VToolbarTitle"),o_=Ar()({name:"VToolbarTitle",props:N6(),setup(n,e){let{slots:r}=e;return Or(()=>{const C=!!(r.default||r.text||n.text);return gt(n.tag,{class:["v-toolbar-title",n.class],style:n.style},{default:()=>{var D;return[C&>("div",{class:"v-toolbar-title__placeholder"},[r.text?r.text():n.text,(D=r.default)==null?void 0:D.call(r)])]}})}),{}}}),gB=ur({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function Au(n,e,r){return Ar()({name:n,props:gB({mode:r,origin:e}),setup(C,D){let{slots:T}=D;const p={onBeforeEnter(t){C.origin&&(t.style.transformOrigin=C.origin)},onLeave(t){if(C.leaveAbsolute){const{offsetTop:d,offsetLeft:g,offsetWidth:i,offsetHeight:M}=t;t._transitionInitialStyles={position:t.style.position,top:t.style.top,left:t.style.left,width:t.style.width,height:t.style.height},t.style.position="absolute",t.style.top=`${d}px`,t.style.left=`${g}px`,t.style.width=`${i}px`,t.style.height=`${M}px`}C.hideOnLeave&&t.style.setProperty("display","none","important")},onAfterLeave(t){if(C.leaveAbsolute&&(t!=null&&t._transitionInitialStyles)){const{position:d,top:g,left:i,width:M,height:v}=t._transitionInitialStyles;delete t._transitionInitialStyles,t.style.position=d||"",t.style.top=g||"",t.style.left=i||"",t.style.width=M||"",t.style.height=v||""}}};return()=>{const t=C.group?_7:bh;return Xf(t,{name:C.disabled?"":n,css:!C.disabled,...C.group?void 0:{mode:C.mode},...C.disabled?{}:p},T.default)}}})}function V6(n,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return Ar()({name:n,props:{mode:{type:String,default:r},disabled:Boolean},setup(C,D){let{slots:T}=D;return()=>Xf(bh,{name:C.disabled?"":n,css:!C.disabled,...C.disabled?{}:e},T.default)}})}function j6(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const r=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)?"width":"height",C=tc(`offset-${r}`);return{onBeforeEnter(p){p._parent=p.parentNode,p._initialStyle={transition:p.style.transition,overflow:p.style.overflow,[r]:p.style[r]}},onEnter(p){const t=p._initialStyle;p.style.setProperty("transition","none","important"),p.style.overflow="hidden";const d=`${p[C]}px`;p.style[r]="0",p.offsetHeight,p.style.transition=t.transition,n&&p._parent&&p._parent.classList.add(n),requestAnimationFrame(()=>{p.style[r]=d})},onAfterEnter:T,onEnterCancelled:T,onLeave(p){p._initialStyle={transition:"",overflow:p.style.overflow,[r]:p.style[r]},p.style.overflow="hidden",p.style[r]=`${p[C]}px`,p.offsetHeight,requestAnimationFrame(()=>p.style[r]="0")},onAfterLeave:D,onLeaveCancelled:D};function D(p){n&&p._parent&&p._parent.classList.remove(n),T(p)}function T(p){const t=p._initialStyle[r];p.style.overflow=p._initialStyle.overflow,t!=null&&(p.style[r]=t),delete p._initialStyle}}const vB=ur({target:Object},"v-dialog-transition"),Qy=Ar()({name:"VDialogTransition",props:vB(),setup(n,e){let{slots:r}=e;const C={onBeforeEnter(D){D.style.pointerEvents="none",D.style.visibility="hidden"},async onEnter(D,T){var v;await new Promise(f=>requestAnimationFrame(f)),await new Promise(f=>requestAnimationFrame(f)),D.style.visibility="";const{x:p,y:t,sx:d,sy:g,speed:i}=K5(n.target,D),M=Dd(D,[{transform:`translate(${p}px, ${t}px) scale(${d}, ${g})`,opacity:0},{}],{duration:225*i,easing:gF});(v=X5(D))==null||v.forEach(f=>{Dd(f,[{opacity:0},{opacity:0,offset:.33},{}],{duration:225*2*i,easing:zm})}),M.finished.then(()=>T())},onAfterEnter(D){D.style.removeProperty("pointer-events")},onBeforeLeave(D){D.style.pointerEvents="none"},async onLeave(D,T){var v;await new Promise(f=>requestAnimationFrame(f));const{x:p,y:t,sx:d,sy:g,speed:i}=K5(n.target,D);Dd(D,[{},{transform:`translate(${p}px, ${t}px) scale(${d}, ${g})`,opacity:0}],{duration:125*i,easing:vF}).finished.then(()=>T()),(v=X5(D))==null||v.forEach(f=>{Dd(f,[{},{opacity:0,offset:.2},{opacity:0}],{duration:125*2*i,easing:zm})})},onAfterLeave(D){D.style.removeProperty("pointer-events")}};return()=>n.target?gt(bh,qr({name:"dialog-transition"},C,{css:!1}),r):gt(bh,{name:"dialog-transition"},r)}});function X5(n){var r;const e=(r=n.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list"))==null?void 0:r.children;return e&&[...e]}function K5(n,e){const r=n.getBoundingClientRect(),C=J2(e),[D,T]=getComputedStyle(e).transformOrigin.split(" ").map(o=>parseFloat(o)),[p,t]=getComputedStyle(e).getPropertyValue("--v-overlay-anchor-origin").split(" ");let d=r.left+r.width/2;p==="left"||t==="left"?d-=r.width/2:(p==="right"||t==="right")&&(d+=r.width/2);let g=r.top+r.height/2;p==="top"||t==="top"?g-=r.height/2:(p==="bottom"||t==="bottom")&&(g+=r.height/2);const i=r.width/C.width,M=r.height/C.height,v=Math.max(1,i,M),f=i/v||0,l=M/v||0,a=C.width*C.height/(window.innerWidth*window.innerHeight),u=a>.12?Math.min(1.5,(a-.12)*10+1):1;return{x:d-(D+C.left),y:g-(T+C.top),sx:f,sy:l,speed:u}}const yB=Au("fab-transition","center center","out-in"),bB=Au("dialog-bottom-transition"),xB=Au("dialog-top-transition"),gx=Au("fade-transition"),s_=Au("scale-transition"),_B=Au("scroll-x-transition"),wB=Au("scroll-x-reverse-transition"),TB=Au("scroll-y-transition"),kB=Au("scroll-y-reverse-transition"),MB=Au("slide-x-transition"),AB=Au("slide-x-reverse-transition"),l_=Au("slide-y-transition"),SB=Au("slide-y-reverse-transition"),e1=V6("expand-transition",j6()),u_=V6("expand-x-transition",j6("",!0)),CB=ur({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),Fa=Ar(!1)({name:"VDefaultsProvider",props:CB(),setup(n,e){let{slots:r}=e;const{defaults:C,disabled:D,reset:T,root:p,scoped:t}=by(n);return es(C,{reset:T,root:p,scoped:t,disabled:D}),()=>{var d;return(d=r.default)==null?void 0:d.call(r)}}});const sc=ur({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function lc(n){return{dimensionStyles:cn(()=>({height:Qr(n.height),maxHeight:Qr(n.maxHeight),maxWidth:Qr(n.maxWidth),minHeight:Qr(n.minHeight),minWidth:Qr(n.minWidth),width:Qr(n.width)}))}}function EB(n){return{aspectStyles:cn(()=>{const e=Number(n.aspectRatio);return e?{paddingBottom:String(1/e*100)+"%"}:void 0})}}const U6=ur({aspectRatio:[String,Number],contentClass:String,inline:Boolean,...Zr(),...sc()},"VResponsive"),vx=Ar()({name:"VResponsive",props:U6(),setup(n,e){let{slots:r}=e;const{aspectStyles:C}=EB(n),{dimensionStyles:D}=lc(n);return Or(()=>{var T;return gt("div",{class:["v-responsive",{"v-responsive--inline":n.inline},n.class],style:[D.value,n.style]},[gt("div",{class:"v-responsive__sizer",style:C.value},null),(T=r.additional)==null?void 0:T.call(r),r.default&>("div",{class:["v-responsive__content",n.contentClass]},[r.default()])])}),{}}}),df=ur({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:n=>n!==!0}},"transition"),Oc=(n,e)=>{let{slots:r}=e;const{transition:C,disabled:D,...T}=n,{component:p=bh,...t}=typeof C=="object"?C:{};return Xf(p,qr(typeof C=="string"?{name:D?"":C}:t,T,{disabled:D}),r)};function LB(n,e){if(!$2)return;const r=e.modifiers||{},C=e.value,{handler:D,options:T}=typeof C=="object"?C:{handler:C,options:{}},p=new IntersectionObserver(function(){var M;let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],d=arguments.length>1?arguments[1]:void 0;const g=(M=n._observe)==null?void 0:M[e.instance.$.uid];if(!g)return;const i=t.some(v=>v.isIntersecting);D&&(!r.quiet||g.init)&&(!r.once||i||g.init)&&D(i,t,d),i&&r.once?H6(n,e):g.init=!0},T);n._observe=Object(n._observe),n._observe[e.instance.$.uid]={init:!1,observer:p},p.observe(n)}function H6(n,e){var C;const r=(C=n._observe)==null?void 0:C[e.instance.$.uid];r&&(r.observer.unobserve(n),delete n._observe[e.instance.$.uid])}const og={mounted:LB,unmounted:H6},G6=ur({alt:String,cover:Boolean,eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},sizes:String,src:{type:[String,Object],default:""},srcset:String,...U6(),...Zr(),...df()},"VImg"),Zd=Ar()({name:"VImg",directives:{intersect:og},props:G6(),emits:{loadstart:n=>!0,load:n=>!0,error:n=>!0},setup(n,e){let{emit:r,slots:C}=e;const D=Wr(""),T=Vr(),p=Wr(n.eager?"loading":"idle"),t=Wr(),d=Wr(),g=cn(()=>n.src&&typeof n.src=="object"?{src:n.src.src,srcset:n.srcset||n.src.srcset,lazySrc:n.lazySrc||n.src.lazySrc,aspect:Number(n.aspectRatio||n.src.aspect||0)}:{src:n.src,srcset:n.srcset,lazySrc:n.lazySrc,aspect:Number(n.aspectRatio||0)}),i=cn(()=>g.value.aspect||t.value/d.value||0);$r(()=>n.src,()=>{M(p.value!=="idle")}),$r(i,(S,_)=>{!S&&_&&T.value&&u(T.value)}),Sy(()=>M());function M(S){if(!(n.eager&&S)&&!($2&&!S&&!n.eager)){if(p.value="loading",g.value.lazySrc){const _=new Image;_.src=g.value.lazySrc,u(_,null)}g.value.src&&Ua(()=>{var _,k;if(r("loadstart",((_=T.value)==null?void 0:_.currentSrc)||g.value.src),(k=T.value)!=null&&k.complete){if(T.value.naturalWidth||f(),p.value==="error")return;i.value||u(T.value,null),v()}else i.value||u(T.value),l()})}}function v(){var S;l(),p.value="loaded",r("load",((S=T.value)==null?void 0:S.currentSrc)||g.value.src)}function f(){var S;p.value="error",r("error",((S=T.value)==null?void 0:S.currentSrc)||g.value.src)}function l(){const S=T.value;S&&(D.value=S.currentSrc||S.src)}let a=-1;function u(S){let _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const k=()=>{clearTimeout(a);const{naturalHeight:E,naturalWidth:x}=S;E||x?(t.value=x,d.value=E):!S.complete&&p.value==="loading"&&_!=null?a=window.setTimeout(k,_):(S.currentSrc.endsWith(".svg")||S.currentSrc.startsWith("data:image/svg+xml"))&&(t.value=1,d.value=1)};k()}const o=cn(()=>({"v-img__img--cover":n.cover,"v-img__img--contain":!n.cover})),s=()=>{var k;if(!g.value.src||p.value==="idle")return null;const S=gt("img",{class:["v-img__img",o.value],src:g.value.src,srcset:g.value.srcset,alt:n.alt,sizes:n.sizes,ref:T,onLoad:v,onError:f},null),_=(k=C.sources)==null?void 0:k.call(C);return gt(Oc,{transition:n.transition,appear:!0},{default:()=>[Co(_?gt("picture",{class:"v-img__picture"},[_,S]):S,[[kh,p.value==="loaded"]])]})},c=()=>gt(Oc,{transition:n.transition},{default:()=>[g.value.lazySrc&&p.value!=="loaded"&>("img",{class:["v-img__img","v-img__img--preload",o.value],src:g.value.lazySrc,alt:n.alt},null)]}),h=()=>C.placeholder?gt(Oc,{transition:n.transition,appear:!0},{default:()=>[(p.value==="loading"||p.value==="error"&&!C.error)&>("div",{class:"v-img__placeholder"},[C.placeholder()])]}):null,m=()=>C.error?gt(Oc,{transition:n.transition,appear:!0},{default:()=>[p.value==="error"&>("div",{class:"v-img__error"},[C.error()])]}):null,w=()=>n.gradient?gt("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${n.gradient})`}},null):null,y=Wr(!1);{const S=$r(i,_=>{_&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{y.value=!0})}),S())})}return Or(()=>{const[S]=vx.filterProps(n);return Co(gt(vx,qr({class:["v-img",{"v-img--booting":!y.value},n.class],style:[{width:Qr(n.width==="auto"?t.value:n.width)},n.style]},S,{aspectRatio:i.value,"aria-label":n.alt,role:n.alt?"img":void 0}),{additional:()=>gt(Yr,null,[gt(s,null,null),gt(c,null,null),gt(w,null,null),gt(h,null,null),gt(m,null,null)]),default:C.default}),[[Tu("intersect"),{handler:M,options:n.options},null,{once:!0}]])}),{currentSrc:D,image:T,state:p,naturalWidth:t,naturalHeight:d}}}),Su=ur({border:[Boolean,Number,String]},"border");function uc(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();return{borderClasses:cn(()=>{const C=eo(n)?n.value:n.border,D=[];if(C===!0||C==="")D.push(`${e}--border`);else if(typeof C=="string"||C===0)for(const T of String(C).split(" "))D.push(`border-${T}`);return D})}}function c_(n){return X2(()=>{const e=[],r={};if(n.value.background)if(z5(n.value.background)){if(r.backgroundColor=n.value.background,!n.value.text){const C=A6(r.backgroundColor);r.color=C,r.caretColor=C}}else e.push(`bg-${n.value.background}`);return n.value.text&&(z5(n.value.text)?(r.color=n.value.text,r.caretColor=n.value.text):e.push(`text-${n.value.text}`)),{colorClasses:e,colorStyles:r}})}function Xs(n,e){const r=cn(()=>({text:eo(n)?n.value:e?n[e]:null})),{colorClasses:C,colorStyles:D}=c_(r);return{textColorClasses:C,textColorStyles:D}}function Oo(n,e){const r=cn(()=>({background:eo(n)?n.value:e?n[e]:null})),{colorClasses:C,colorStyles:D}=c_(r);return{backgroundColorClasses:C,backgroundColorStyles:D}}const fs=ur({elevation:{type:[Number,String],validator(n){const e=parseInt(n);return!isNaN(e)&&e>=0&&e<=24}}},"elevation");function Vs(n){return{elevationClasses:cn(()=>{const r=eo(n)?n.value:n.elevation,C=[];return r==null||C.push(`elevation-${r}`),C})}}const lo=ur({rounded:{type:[Boolean,Number,String],default:void 0}},"rounded");function Eo(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();return{roundedClasses:cn(()=>{const C=eo(n)?n.value:n.rounded,D=[];if(C===!0||C==="")D.push(`${e}--rounded`);else if(typeof C=="string"||C===0)for(const T of String(C).split(" "))D.push(`rounded-${T}`);return D})}}const IB=[null,"prominent","default","comfortable","compact"],q6=ur({absolute:Boolean,collapse:Boolean,color:String,density:{type:String,default:"default",validator:n=>IB.includes(n)},extended:Boolean,extensionHeight:{type:[Number,String],default:48},flat:Boolean,floating:Boolean,height:{type:[Number,String],default:64},image:String,title:String,...Su(),...Zr(),...fs(),...lo(),...Si({tag:"header"}),...oa()},"VToolbar"),yx=Ar()({name:"VToolbar",props:q6(),setup(n,e){var f;let{slots:r}=e;const{backgroundColorClasses:C,backgroundColorStyles:D}=Oo(Cr(n,"color")),{borderClasses:T}=uc(n),{elevationClasses:p}=Vs(n),{roundedClasses:t}=Eo(n),{themeClasses:d}=Ma(n),{rtlClasses:g}=Cs(),i=Wr(!!(n.extended||(f=r.extension)!=null&&f.call(r))),M=cn(()=>parseInt(Number(n.height)+(n.density==="prominent"?Number(n.height):0)-(n.density==="comfortable"?8:0)-(n.density==="compact"?16:0),10)),v=cn(()=>i.value?parseInt(Number(n.extensionHeight)+(n.density==="prominent"?Number(n.extensionHeight):0)-(n.density==="comfortable"?4:0)-(n.density==="compact"?8:0),10):0);return es({VBtn:{variant:"text"}}),Or(()=>{var o;const l=!!(n.title||r.title),a=!!(r.image||n.image),u=(o=r.extension)==null?void 0:o.call(r);return i.value=!!(n.extended||u),gt(n.tag,{class:["v-toolbar",{"v-toolbar--absolute":n.absolute,"v-toolbar--collapse":n.collapse,"v-toolbar--flat":n.flat,"v-toolbar--floating":n.floating,[`v-toolbar--density-${n.density}`]:!0},C.value,T.value,p.value,t.value,d.value,g.value,n.class],style:[D.value,n.style]},{default:()=>[a&>("div",{key:"image",class:"v-toolbar__image"},[r.image?gt(Fa,{key:"image-defaults",disabled:!n.image,defaults:{VImg:{cover:!0,src:n.image}}},r.image):gt(Zd,{key:"image-img",cover:!0,src:n.image},null)]),gt(Fa,{defaults:{VTabs:{height:Qr(M.value)}}},{default:()=>{var s,c,h;return[gt("div",{class:"v-toolbar__content",style:{height:Qr(M.value)}},[r.prepend&>("div",{class:"v-toolbar__prepend"},[(s=r.prepend)==null?void 0:s.call(r)]),l&>(o_,{key:"title",text:n.title},{text:r.title}),(c=r.default)==null?void 0:c.call(r),r.append&>("div",{class:"v-toolbar__append"},[(h=r.append)==null?void 0:h.call(r)])])]}}),gt(Fa,{defaults:{VTabs:{height:Qr(v.value)}}},{default:()=>[gt(e1,null,{default:()=>[i.value&>("div",{class:"v-toolbar__extension",style:{height:Qr(v.value)}},[u])]})]})]})}),{contentHeight:M,extensionHeight:v}}}),RB=ur({scrollTarget:{type:String},scrollThreshold:{type:[String,Number],default:300}},"scroll");function PB(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{canScroll:r}=e;let C=0;const D=Vr(null),T=Wr(0),p=Wr(0),t=Wr(0),d=Wr(!1),g=Wr(!1),i=cn(()=>Number(n.scrollThreshold)),M=cn(()=>Zs((i.value-T.value)/i.value||0)),v=()=>{const f=D.value;!f||r&&!r.value||(C=T.value,T.value="window"in f?f.pageYOffset:f.scrollTop,g.value=T.value{p.value=p.value||T.value}),$r(d,()=>{p.value=0}),Ks(()=>{$r(()=>n.scrollTarget,f=>{var a;const l=f?document.querySelector(f):window;l&&l!==D.value&&((a=D.value)==null||a.removeEventListener("scroll",v),D.value=l,D.value.addEventListener("scroll",v,{passive:!0}))},{immediate:!0})}),Tl(()=>{var f;(f=D.value)==null||f.removeEventListener("scroll",v)}),r&&$r(r,v,{immediate:!0}),{scrollThreshold:i,currentScroll:T,currentThreshold:t,isScrollActive:d,scrollRatio:M,isScrollingUp:g,savedScroll:p}}function tp(){const n=Wr(!1);return Ks(()=>{window.requestAnimationFrame(()=>{n.value=!0})}),{ssrBootStyles:cn(()=>n.value?void 0:{transition:"none !important"}),isBooted:Hm(n)}}const OB=ur({scrollBehavior:String,modelValue:{type:Boolean,default:!0},location:{type:String,default:"top",validator:n=>["top","bottom"].includes(n)},...q6(),...x0(),...RB(),height:{type:[Number,String],default:64}},"VAppBar"),DB=Ar()({name:"VAppBar",props:OB(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const C=Vr(),D=xi(n,"modelValue"),T=cn(()=>{var s;const o=new Set(((s=n.scrollBehavior)==null?void 0:s.split(" "))??[]);return{hide:o.has("hide"),inverted:o.has("inverted"),collapse:o.has("collapse"),elevate:o.has("elevate"),fadeImage:o.has("fade-image")}}),p=cn(()=>{const o=T.value;return o.hide||o.inverted||o.collapse||o.elevate||o.fadeImage||!D.value}),{currentScroll:t,scrollThreshold:d,isScrollingUp:g,scrollRatio:i}=PB(n,{canScroll:p}),M=cn(()=>n.collapse||T.value.collapse&&(T.value.inverted?i.value>0:i.value===0)),v=cn(()=>n.flat||T.value.elevate&&(T.value.inverted?t.value>0:t.value===0)),f=cn(()=>T.value.fadeImage?T.value.inverted?1-i.value:i.value:void 0),l=cn(()=>{var c,h;if(T.value.hide&&T.value.inverted)return 0;const o=((c=C.value)==null?void 0:c.contentHeight)??0,s=((h=C.value)==null?void 0:h.extensionHeight)??0;return o+s});$f(cn(()=>!!n.scrollBehavior),()=>{wu(()=>{T.value.hide?T.value.inverted?D.value=t.value>d.value:D.value=g.value||t.valueparseInt(n.order,10)),position:Cr(n,"location"),layoutSize:l,elementSize:Wr(void 0),active:D,absolute:Cr(n,"absolute")});return Or(()=>{const[o]=yx.filterProps(n);return gt(yx,qr({ref:C,class:["v-app-bar",{"v-app-bar--bottom":n.location==="bottom"},n.class],style:[{...u.value,"--v-toolbar-image-opacity":f.value,height:void 0,...a.value},n.style]},o,{collapse:M.value,flat:v.value}),r)}),{}}});const zB=[null,"default","comfortable","compact"],ds=ur({density:{type:String,default:"default",validator:n=>zB.includes(n)}},"density");function Qs(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();return{densityClasses:cn(()=>`${e}--density-${n.density}`)}}const FB=["elevated","flat","tonal","outlined","text","plain"];function np(n,e){return gt(Yr,null,[n&>("span",{key:"overlay",class:`${e}__overlay`},null),gt("span",{key:"underlay",class:`${e}__underlay`},null)])}const cc=ur({color:String,variant:{type:String,default:"elevated",validator:n=>FB.includes(n)}},"variant");function rp(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();const r=cn(()=>{const{variant:T}=yu(n);return`${e}--variant-${T}`}),{colorClasses:C,colorStyles:D}=c_(cn(()=>{const{variant:T,color:p}=yu(n);return{[["elevated","flat"].includes(T)?"background":"text"]:p}}));return{colorClasses:C,colorStyles:D,variantClasses:r}}const W6=ur({divided:Boolean,...Su(),...Zr(),...ds(),...fs(),...lo(),...Si(),...oa(),...cc()},"VBtnGroup"),bx=Ar()({name:"VBtnGroup",props:W6(),setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{densityClasses:D}=Qs(n),{borderClasses:T}=uc(n),{elevationClasses:p}=Vs(n),{roundedClasses:t}=Eo(n);es({VBtn:{height:"auto",color:Cr(n,"color"),density:Cr(n,"density"),flat:!0,variant:Cr(n,"variant")}}),Or(()=>gt(n.tag,{class:["v-btn-group",{"v-btn-group--divided":n.divided},C.value,T.value,D.value,p.value,t.value,n.class],style:n.style},r))}}),w0=ur({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),T0=ur({value:null,disabled:Boolean,selectedClass:String},"group-item");function k0(n,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const C=Ss("useGroupItem");if(!C)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const D=Js();ts(Symbol.for(`${e.description}:id`),D);const T=ka(e,null);if(!T){if(!r)return T;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${e.description}`)}const p=Cr(n,"value"),t=cn(()=>!!(T.disabled.value||n.disabled));T.register({id:D,value:p,disabled:t},C),Tl(()=>{T.unregister(D)});const d=cn(()=>T.isSelected(D)),g=cn(()=>d.value&&[T.selectedClass.value,n.selectedClass]);return $r(d,i=>{C.emit("group:selected",{value:i})}),{id:D,isSelected:d,toggle:()=>T.select(D,!d.value),select:i=>T.select(D,i),selectedClass:g,value:p,disabled:t,group:T}}function ip(n,e){let r=!1;const C=yl([]),D=xi(n,"modelValue",[],v=>v==null?[]:Y6(C,bu(v)),v=>{const f=NB(C,v);return n.multiple?f:f[0]}),T=Ss("useGroup");function p(v,f){const l=v,a=Symbol.for(`${e.description}:id`),o=ym(a,T==null?void 0:T.vnode).indexOf(f);o>-1?C.splice(o,0,l):C.push(l)}function t(v){if(r)return;d();const f=C.findIndex(l=>l.id===v);C.splice(f,1)}function d(){const v=C.find(f=>!f.disabled);v&&n.mandatory==="force"&&!D.value.length&&(D.value=[v.id])}Ks(()=>{d()}),Tl(()=>{r=!0});function g(v,f){const l=C.find(a=>a.id===v);if(!(f&&(l!=null&&l.disabled)))if(n.multiple){const a=D.value.slice(),u=a.findIndex(s=>s===v),o=~u;if(f=f??!o,o&&n.mandatory&&a.length<=1||!o&&n.max!=null&&a.length+1>n.max)return;u<0&&f?a.push(v):u>=0&&!f&&a.splice(u,1),D.value=a}else{const a=D.value.includes(v);if(n.mandatory&&a)return;D.value=f??!a?[v]:[]}}function i(v){if(n.multiple,D.value.length){const f=D.value[0],l=C.findIndex(o=>o.id===f);let a=(l+v)%C.length,u=C[a];for(;u.disabled&&a!==l;)a=(a+v)%C.length,u=C[a];if(u.disabled)return;D.value=[C[a].id]}else{const f=C.find(l=>!l.disabled);f&&(D.value=[f.id])}}const M={register:p,unregister:t,selected:D,select:g,disabled:Cr(n,"disabled"),prev:()=>i(C.length-1),next:()=>i(1),isSelected:v=>D.value.includes(v),selectedClass:cn(()=>n.selectedClass),items:cn(()=>C),getItemIndex:v=>BB(C,v)};return ts(e,M),M}function BB(n,e){const r=Y6(n,[e]);return r.length?n.findIndex(C=>C.id===r[0]):-1}function Y6(n,e){const r=[];return e.forEach(C=>{const D=n.find(p=>b0(C,p.value)),T=n[C];(D==null?void 0:D.value)!=null?r.push(D.id):T!=null&&r.push(T.id)}),r}function NB(n,e){const r=[];return e.forEach(C=>{const D=n.findIndex(T=>T.id===C);if(~D){const T=n[D];r.push(T.value!=null?T.value:D)}}),r}const h_=Symbol.for("vuetify:v-btn-toggle"),VB=ur({...W6(),...w0()},"VBtnToggle"),jB=Ar()({name:"VBtnToggle",props:VB(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{isSelected:C,next:D,prev:T,select:p,selected:t}=ip(n,h_);return Or(()=>{const[d]=bx.filterProps(n);return gt(bx,qr({class:["v-btn-toggle",n.class]},d,{style:n.style}),{default:()=>{var g;return[(g=r.default)==null?void 0:g.call(r,{isSelected:C,next:D,prev:T,select:p,selected:t})]}})}),{next:D,prev:T,select:p}}});const UB=["x-small","small","default","large","x-large"],pf=ur({size:{type:[String,Number],default:"default"}},"size");function M0(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();return X2(()=>{let r,C;return ly(UB,n.size)?r=`${e}--size-${n.size}`:n.size&&(C={width:Qr(n.size),height:Qr(n.size)}),{sizeClasses:r,sizeStyles:C}})}const HB=ur({color:String,start:Boolean,end:Boolean,icon:bi,...Zr(),...pf(),...Si({tag:"i"}),...oa()},"VIcon"),ja=Ar()({name:"VIcon",props:HB(),setup(n,e){let{attrs:r,slots:C}=e;const D=Vr(),{themeClasses:T}=Ma(n),{iconData:p}=IF(cn(()=>D.value||n.icon)),{sizeClasses:t}=M0(n),{textColorClasses:d,textColorStyles:g}=Xs(Cr(n,"color"));return Or(()=>{var M,v;const i=(M=C.default)==null?void 0:M.call(C);return i&&(D.value=(v=f6(i).filter(f=>f.type===Gm&&f.children&&typeof f.children=="string")[0])==null?void 0:v.children),gt(p.value.component,{tag:n.tag,icon:p.value.icon,class:["v-icon","notranslate",T.value,t.value,d.value,{"v-icon--clickable":!!r.onClick,"v-icon--start":n.start,"v-icon--end":n.end},n.class],style:[t.value?void 0:{fontSize:Qr(n.size),height:Qr(n.size),width:Qr(n.size)},g.value,n.style],role:r.onClick?"button":void 0,"aria-hidden":!r.onClick},{default:()=>[i]})}),{}}});function f_(n,e){const r=Vr(),C=Wr(!1);if($2){const D=new IntersectionObserver(T=>{n==null||n(T,D),C.value=!!T.find(p=>p.isIntersecting)},e);Tl(()=>{D.disconnect()}),$r(r,(T,p)=>{p&&(D.unobserve(p),C.value=!1),T&&D.observe(T)},{flush:"post"})}return{intersectionRef:r,isIntersecting:C}}const GB=ur({bgColor:String,color:String,indeterminate:[Boolean,String],modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...Zr(),...pf(),...Si({tag:"div"}),...oa()},"VProgressCircular"),d_=Ar()({name:"VProgressCircular",props:GB(),setup(n,e){let{slots:r}=e;const C=20,D=2*Math.PI*C,T=Vr(),{themeClasses:p}=Ma(n),{sizeClasses:t,sizeStyles:d}=M0(n),{textColorClasses:g,textColorStyles:i}=Xs(Cr(n,"color")),{textColorClasses:M,textColorStyles:v}=Xs(Cr(n,"bgColor")),{intersectionRef:f,isIntersecting:l}=f_(),{resizeRef:a,contentRect:u}=Th(),o=cn(()=>Math.max(0,Math.min(100,parseFloat(n.modelValue)))),s=cn(()=>Number(n.width)),c=cn(()=>d.value?Number(n.size):u.value?u.value.width:Math.max(s.value,32)),h=cn(()=>C/(1-s.value/c.value)*2),m=cn(()=>s.value/c.value*h.value),w=cn(()=>Qr((100-o.value)/100*D));return wu(()=>{f.value=T.value,a.value=T.value}),Or(()=>gt(n.tag,{ref:T,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!n.indeterminate,"v-progress-circular--visible":l.value,"v-progress-circular--disable-shrink":n.indeterminate==="disable-shrink"},p.value,t.value,g.value,n.class],style:[d.value,i.value,n.style],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":n.indeterminate?void 0:o.value},{default:()=>[gt("svg",{style:{transform:`rotate(calc(-90deg + ${Number(n.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${h.value} ${h.value}`},[gt("circle",{class:["v-progress-circular__underlay",M.value],style:v.value,fill:"transparent",cx:"50%",cy:"50%",r:C,"stroke-width":m.value,"stroke-dasharray":D,"stroke-dashoffset":0},null),gt("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:C,"stroke-width":m.value,"stroke-dasharray":D,"stroke-dashoffset":w.value},null)]),r.default&>("div",{class:"v-progress-circular__content"},[r.default({value:o.value})])]})),{}}});const J5={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},ed=ur({location:String},"location");function td(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=arguments.length>2?arguments[2]:void 0;const{isRtl:C}=Cs();return{locationStyles:cn(()=>{if(!n.location)return{};const{side:T,align:p}=lx(n.location.split(" ").length>1?n.location:`${n.location} center`,C.value);function t(g){return r?r(g):0}const d={};return T!=="center"&&(e?d[J5[T]]=`calc(100% - ${t(T)}px)`:d[T]=0),p!=="center"?e?d[J5[p]]=`calc(100% - ${t(p)}px)`:d[p]=0:(T==="center"?d.top=d.left="50%":d[{top:"left",bottom:"left",left:"top",right:"top"}[T]]="50%",d.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[T]),d})}}const qB=ur({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...Zr(),...ed({location:"top"}),...lo(),...Si(),...oa()},"VProgressLinear"),p_=Ar()({name:"VProgressLinear",props:qB(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const C=xi(n,"modelValue"),{isRtl:D,rtlClasses:T}=Cs(),{themeClasses:p}=Ma(n),{locationStyles:t}=td(n),{textColorClasses:d,textColorStyles:g}=Xs(n,"color"),{backgroundColorClasses:i,backgroundColorStyles:M}=Oo(cn(()=>n.bgColor||n.color)),{backgroundColorClasses:v,backgroundColorStyles:f}=Oo(n,"color"),{roundedClasses:l}=Eo(n),{intersectionRef:a,isIntersecting:u}=f_(),o=cn(()=>parseInt(n.max,10)),s=cn(()=>parseInt(n.height,10)),c=cn(()=>parseFloat(n.bufferValue)/o.value*100),h=cn(()=>parseFloat(C.value)/o.value*100),m=cn(()=>D.value!==n.reverse),w=cn(()=>n.indeterminate?"fade-transition":"slide-x-transition"),y=cn(()=>n.bgOpacity==null?n.bgOpacity:parseFloat(n.bgOpacity));function S(_){if(!a.value)return;const{left:k,right:E,width:x}=a.value.getBoundingClientRect(),A=m.value?x-_.clientX+(E-x):_.clientX-k;C.value=Math.round(A/x*o.value)}return Or(()=>gt(n.tag,{ref:a,class:["v-progress-linear",{"v-progress-linear--absolute":n.absolute,"v-progress-linear--active":n.active&&u.value,"v-progress-linear--reverse":m.value,"v-progress-linear--rounded":n.rounded,"v-progress-linear--rounded-bar":n.roundedBar,"v-progress-linear--striped":n.striped},l.value,p.value,T.value,n.class],style:[{bottom:n.location==="bottom"?0:void 0,top:n.location==="top"?0:void 0,height:n.active?Qr(s.value):0,"--v-progress-linear-height":Qr(s.value),...t.value},n.style],role:"progressbar","aria-hidden":n.active?"false":"true","aria-valuemin":"0","aria-valuemax":n.max,"aria-valuenow":n.indeterminate?void 0:h.value,onClick:n.clickable&&S},{default:()=>[n.stream&>("div",{key:"stream",class:["v-progress-linear__stream",d.value],style:{...g.value,[m.value?"left":"right"]:Qr(-s.value),borderTop:`${Qr(s.value/2)} dotted`,opacity:y.value,top:`calc(50% - ${Qr(s.value/4)})`,width:Qr(100-c.value,"%"),"--v-progress-linear-stream-to":Qr(s.value*(m.value?1:-1))}},null),gt("div",{class:["v-progress-linear__background",i.value],style:[M.value,{opacity:y.value,width:Qr(n.stream?c.value:100,"%")}]},null),gt(bh,{name:w.value},{default:()=>[n.indeterminate?gt("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(_=>gt("div",{key:_,class:["v-progress-linear__indeterminate",_,v.value],style:f.value},null))]):gt("div",{class:["v-progress-linear__determinate",v.value],style:[f.value,{width:Qr(h.value,"%")}]},null)]}),r.default&>("div",{class:"v-progress-linear__content"},[r.default({value:h.value,buffer:c.value})])]})),{}}}),m_=ur({loading:[Boolean,String]},"loader");function t1(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();return{loaderClasses:cn(()=>({[`${e}--loading`]:n.loading}))}}function g_(n,e){var C;let{slots:r}=e;return gt("div",{class:`${n.name}__loader`},[((C=r.default)==null?void 0:C.call(r,{color:n.color,isActive:n.active}))||gt(p_,{active:n.active,color:n.color,height:"2",indeterminate:!0},null)])}const WB=["static","relative","fixed","absolute","sticky"],A0=ur({position:{type:String,validator:n=>WB.includes(n)}},"position");function S0(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();return{positionClasses:cn(()=>n.position?`${e}--${n.position}`:void 0)}}function $6(){var n,e;return(e=(n=Ss("useRouter"))==null?void 0:n.proxy)==null?void 0:e.$router}function sg(n,e){const r=yE("RouterLink"),C=cn(()=>!!(n.href||n.to)),D=cn(()=>(C==null?void 0:C.value)||k5(e,"click")||k5(n,"click"));if(typeof r=="string")return{isLink:C,isClickable:D,href:Cr(n,"href")};const T=n.to?r.useLink(n):void 0;return{isLink:C,isClickable:D,route:T==null?void 0:T.route,navigate:T==null?void 0:T.navigate,isActive:T&&cn(()=>{var p,t;return n.exact?(p=T.isExactActive)==null?void 0:p.value:(t=T.isActive)==null?void 0:t.value}),href:cn(()=>n.to?T==null?void 0:T.route.value.href:n.href)}}const lg=ur({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let bb=!1;function YB(n,e){let r=!1,C,D;to&&(Ua(()=>{window.addEventListener("popstate",T),C=n==null?void 0:n.beforeEach((p,t,d)=>{bb?r?e(d):d():setTimeout(()=>r?e(d):d()),bb=!0}),D=n==null?void 0:n.afterEach(()=>{bb=!1})}),wl(()=>{window.removeEventListener("popstate",T),C==null||C(),D==null||D()}));function T(p){var t;(t=p.state)!=null&&t.replaced||(r=!0,setTimeout(()=>r=!1))}}function $B(n,e){$r(()=>{var r;return(r=n.isActive)==null?void 0:r.value},r=>{n.isLink.value&&r&&e&&Ua(()=>{e(!0)})},{immediate:!0})}const xx=Symbol("rippleStop"),ZB=80;function Q5(n,e){n.style.transform=e,n.style.webkitTransform=e}function _x(n){return n.constructor.name==="TouchEvent"}function Z6(n){return n.constructor.name==="KeyboardEvent"}const XB=function(n,e){var M;let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},C=0,D=0;if(!Z6(n)){const v=e.getBoundingClientRect(),f=_x(n)?n.touches[n.touches.length-1]:n;C=f.clientX-v.left,D=f.clientY-v.top}let T=0,p=.3;(M=e._ripple)!=null&&M.circle?(p=.15,T=e.clientWidth/2,T=r.center?T:T+Math.sqrt((C-T)**2+(D-T)**2)/4):T=Math.sqrt(e.clientWidth**2+e.clientHeight**2)/2;const t=`${(e.clientWidth-T*2)/2}px`,d=`${(e.clientHeight-T*2)/2}px`,g=r.center?t:`${C-T}px`,i=r.center?d:`${D-T}px`;return{radius:T,scale:p,x:g,y:i,centerX:t,centerY:d}},dy={show(n,e){var f;let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((f=e==null?void 0:e._ripple)!=null&&f.enabled))return;const C=document.createElement("span"),D=document.createElement("span");C.appendChild(D),C.className="v-ripple__container",r.class&&(C.className+=` ${r.class}`);const{radius:T,scale:p,x:t,y:d,centerX:g,centerY:i}=XB(n,e,r),M=`${T*2}px`;D.className="v-ripple__animation",D.style.width=M,D.style.height=M,e.appendChild(C);const v=window.getComputedStyle(e);v&&v.position==="static"&&(e.style.position="relative",e.dataset.previousPosition="static"),D.classList.add("v-ripple__animation--enter"),D.classList.add("v-ripple__animation--visible"),Q5(D,`translate(${t}, ${d}) scale3d(${p},${p},${p})`),D.dataset.activated=String(performance.now()),setTimeout(()=>{D.classList.remove("v-ripple__animation--enter"),D.classList.add("v-ripple__animation--in"),Q5(D,`translate(${g}, ${i}) scale3d(1,1,1)`)},0)},hide(n){var T;if(!((T=n==null?void 0:n._ripple)!=null&&T.enabled))return;const e=n.getElementsByClassName("v-ripple__animation");if(e.length===0)return;const r=e[e.length-1];if(r.dataset.isHiding)return;r.dataset.isHiding="true";const C=performance.now()-Number(r.dataset.activated),D=Math.max(250-C,0);setTimeout(()=>{r.classList.remove("v-ripple__animation--in"),r.classList.add("v-ripple__animation--out"),setTimeout(()=>{var t;n.getElementsByClassName("v-ripple__animation").length===1&&n.dataset.previousPosition&&(n.style.position=n.dataset.previousPosition,delete n.dataset.previousPosition),((t=r.parentNode)==null?void 0:t.parentNode)===n&&n.removeChild(r.parentNode)},300)},D)}};function X6(n){return typeof n>"u"||!!n}function Bm(n){const e={},r=n.currentTarget;if(!(!(r!=null&&r._ripple)||r._ripple.touched||n[xx])){if(n[xx]=!0,_x(n))r._ripple.touched=!0,r._ripple.isTouch=!0;else if(r._ripple.isTouch)return;if(e.center=r._ripple.centered||Z6(n),r._ripple.class&&(e.class=r._ripple.class),_x(n)){if(r._ripple.showTimerCommit)return;r._ripple.showTimerCommit=()=>{dy.show(n,r,e)},r._ripple.showTimer=window.setTimeout(()=>{var C;(C=r==null?void 0:r._ripple)!=null&&C.showTimerCommit&&(r._ripple.showTimerCommit(),r._ripple.showTimerCommit=null)},ZB)}else dy.show(n,r,e)}}function eT(n){n[xx]=!0}function vu(n){const e=n.currentTarget;if(e!=null&&e._ripple){if(window.clearTimeout(e._ripple.showTimer),n.type==="touchend"&&e._ripple.showTimerCommit){e._ripple.showTimerCommit(),e._ripple.showTimerCommit=null,e._ripple.showTimer=window.setTimeout(()=>{vu(n)});return}window.setTimeout(()=>{e._ripple&&(e._ripple.touched=!1)}),dy.hide(e)}}function K6(n){const e=n.currentTarget;e!=null&&e._ripple&&(e._ripple.showTimerCommit&&(e._ripple.showTimerCommit=null),window.clearTimeout(e._ripple.showTimer))}let Nm=!1;function J6(n){!Nm&&(n.keyCode===x5.enter||n.keyCode===x5.space)&&(Nm=!0,Bm(n))}function Q6(n){Nm=!1,vu(n)}function eA(n){Nm&&(Nm=!1,vu(n))}function tA(n,e,r){const{value:C,modifiers:D}=e,T=X6(C);if(T||dy.hide(n),n._ripple=n._ripple??{},n._ripple.enabled=T,n._ripple.centered=D.center,n._ripple.circle=D.circle,ax(C)&&C.class&&(n._ripple.class=C.class),T&&!r){if(D.stop){n.addEventListener("touchstart",eT,{passive:!0}),n.addEventListener("mousedown",eT);return}n.addEventListener("touchstart",Bm,{passive:!0}),n.addEventListener("touchend",vu,{passive:!0}),n.addEventListener("touchmove",K6,{passive:!0}),n.addEventListener("touchcancel",vu),n.addEventListener("mousedown",Bm),n.addEventListener("mouseup",vu),n.addEventListener("mouseleave",vu),n.addEventListener("keydown",J6),n.addEventListener("keyup",Q6),n.addEventListener("blur",eA),n.addEventListener("dragstart",vu,{passive:!0})}else!T&&r&&nA(n)}function nA(n){n.removeEventListener("mousedown",Bm),n.removeEventListener("touchstart",Bm),n.removeEventListener("touchend",vu),n.removeEventListener("touchmove",K6),n.removeEventListener("touchcancel",vu),n.removeEventListener("mouseup",vu),n.removeEventListener("mouseleave",vu),n.removeEventListener("keydown",J6),n.removeEventListener("keyup",Q6),n.removeEventListener("dragstart",vu),n.removeEventListener("blur",eA)}function KB(n,e){tA(n,e,!1)}function JB(n){delete n._ripple,nA(n)}function QB(n,e){if(e.value===e.oldValue)return;const r=X6(e.oldValue);tA(n,e,r)}const nd={mounted:KB,unmounted:JB,updated:QB},v_=ur({active:{type:Boolean,default:void 0},symbol:{type:null,default:h_},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:bi,appendIcon:bi,block:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:String,...Su(),...Zr(),...ds(),...sc(),...fs(),...T0(),...m_(),...ed(),...A0(),...lo(),...lg(),...pf(),...Si({tag:"button"}),...oa(),...cc({variant:"elevated"})},"VBtn"),_l=Ar()({name:"VBtn",directives:{Ripple:nd},props:v_(),emits:{"group:selected":n=>!0},setup(n,e){let{attrs:r,slots:C}=e;const{themeClasses:D}=Ma(n),{borderClasses:T}=uc(n),{colorClasses:p,colorStyles:t,variantClasses:d}=rp(n),{densityClasses:g}=Qs(n),{dimensionStyles:i}=lc(n),{elevationClasses:M}=Vs(n),{loaderClasses:v}=t1(n),{locationStyles:f}=td(n),{positionClasses:l}=S0(n),{roundedClasses:a}=Eo(n),{sizeClasses:u,sizeStyles:o}=M0(n),s=k0(n,n.symbol,!1),c=sg(n,r),h=cn(()=>{var _;return n.active!==void 0?n.active:c.isLink.value?(_=c.isActive)==null?void 0:_.value:s==null?void 0:s.isSelected.value}),m=cn(()=>(s==null?void 0:s.disabled.value)||n.disabled),w=cn(()=>n.variant==="elevated"&&!(n.disabled||n.flat||n.border)),y=cn(()=>{if(n.value!==void 0)return Object(n.value)===n.value?JSON.stringify(n.value,null,0):n.value});function S(_){var k;m.value||c.isLink.value&&(_.metaKey||_.ctrlKey||_.shiftKey||_.button!==0||r.target==="_blank")||((k=c.navigate)==null||k.call(c,_),s==null||s.toggle())}return $B(c,s==null?void 0:s.select),Or(()=>{var L,b;const _=c.isLink.value?"a":n.tag,k=!!(n.prependIcon||C.prepend),E=!!(n.appendIcon||C.append),x=!!(n.icon&&n.icon!==!0),A=(s==null?void 0:s.isSelected.value)&&(!c.isLink.value||((L=c.isActive)==null?void 0:L.value))||!s||((b=c.isActive)==null?void 0:b.value);return Co(gt(_,{type:_==="a"?void 0:"button",class:["v-btn",s==null?void 0:s.selectedClass.value,{"v-btn--active":h.value,"v-btn--block":n.block,"v-btn--disabled":m.value,"v-btn--elevated":w.value,"v-btn--flat":n.flat,"v-btn--icon":!!n.icon,"v-btn--loading":n.loading,"v-btn--stacked":n.stacked},D.value,T.value,A?p.value:void 0,g.value,M.value,v.value,l.value,a.value,u.value,d.value,n.class],style:[A?t.value:void 0,i.value,f.value,o.value,n.style],disabled:m.value||void 0,href:c.href.value,onClick:S,value:y.value},{default:()=>{var R;return[np(!0,"v-btn"),!n.icon&&k&>("span",{key:"prepend",class:"v-btn__prepend"},[C.prepend?gt(Fa,{key:"prepend-defaults",disabled:!n.prependIcon,defaults:{VIcon:{icon:n.prependIcon}}},C.prepend):gt(ja,{key:"prepend-icon",icon:n.prependIcon},null)]),gt("span",{class:"v-btn__content","data-no-activator":""},[!C.default&&x?gt(ja,{key:"content-icon",icon:n.icon},null):gt(Fa,{key:"content-defaults",disabled:!x,defaults:{VIcon:{icon:n.icon}}},{default:()=>{var I;return[((I=C.default)==null?void 0:I.call(C))??n.text]}})]),!n.icon&&E&>("span",{key:"append",class:"v-btn__append"},[C.append?gt(Fa,{key:"append-defaults",disabled:!n.appendIcon,defaults:{VIcon:{icon:n.appendIcon}}},C.append):gt(ja,{key:"append-icon",icon:n.appendIcon},null)]),!!n.loading&>("span",{key:"loader",class:"v-btn__loader"},[((R=C.loader)==null?void 0:R.call(C))??gt(d_,{color:typeof n.loading=="boolean"?void 0:n.loading,indeterminate:!0,size:"23",width:"2"},null)])]}}),[[Tu("ripple"),!m.value&&n.ripple,null]])}),{}}}),eN=ur({...v_({icon:"$menu",variant:"text"})},"VAppBarNavIcon"),tN=Ar()({name:"VAppBarNavIcon",props:eN(),setup(n,e){let{slots:r}=e;return Or(()=>gt(_l,qr(n,{class:["v-app-bar-nav-icon"]}),r)),{}}}),nN=Ar()({name:"VAppBarTitle",props:N6(),setup(n,e){let{slots:r}=e;return Or(()=>gt(o_,qr(n,{class:"v-app-bar-title"}),r)),{}}});const rA=Nc("v-alert-title"),rN=["success","info","warning","error"],iN=ur({border:{type:[Boolean,String],validator:n=>typeof n=="boolean"||["top","end","bottom","start"].includes(n)},borderColor:String,closable:Boolean,closeIcon:{type:bi,default:"$close"},closeLabel:{type:String,default:"$vuetify.close"},icon:{type:[Boolean,String,Function,Object],default:null},modelValue:{type:Boolean,default:!0},prominent:Boolean,title:String,text:String,type:{type:String,validator:n=>rN.includes(n)},...Zr(),...ds(),...sc(),...fs(),...ed(),...A0(),...lo(),...Si(),...oa(),...cc({variant:"flat"})},"VAlert"),aN=Ar()({name:"VAlert",props:iN(),emits:{"click:close":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{emit:r,slots:C}=e;const D=xi(n,"modelValue"),T=cn(()=>{if(n.icon!==!1)return n.type?n.icon??`$${n.type}`:n.icon}),p=cn(()=>({color:n.color??n.type,variant:n.variant})),{themeClasses:t}=Ma(n),{colorClasses:d,colorStyles:g,variantClasses:i}=rp(p),{densityClasses:M}=Qs(n),{dimensionStyles:v}=lc(n),{elevationClasses:f}=Vs(n),{locationStyles:l}=td(n),{positionClasses:a}=S0(n),{roundedClasses:u}=Eo(n),{textColorClasses:o,textColorStyles:s}=Xs(Cr(n,"borderColor")),{t:c}=oc(),h=cn(()=>({"aria-label":c(n.closeLabel),onClick(m){D.value=!1,r("click:close",m)}}));return()=>{const m=!!(C.prepend||T.value),w=!!(C.title||n.title),y=!!(C.close||n.closable);return D.value&>(n.tag,{class:["v-alert",n.border&&{"v-alert--border":!!n.border,[`v-alert--border-${n.border===!0?"start":n.border}`]:!0},{"v-alert--prominent":n.prominent},t.value,d.value,M.value,f.value,a.value,u.value,i.value,n.class],style:[g.value,v.value,l.value,n.style],role:"alert"},{default:()=>{var S,_;return[np(!1,"v-alert"),n.border&>("div",{key:"border",class:["v-alert__border",o.value],style:s.value},null),m&>("div",{key:"prepend",class:"v-alert__prepend"},[C.prepend?gt(Fa,{key:"prepend-defaults",disabled:!T.value,defaults:{VIcon:{density:n.density,icon:T.value,size:n.prominent?44:28}}},C.prepend):gt(ja,{key:"prepend-icon",density:n.density,icon:T.value,size:n.prominent?44:28},null)]),gt("div",{class:"v-alert__content"},[w&>(rA,{key:"title"},{default:()=>{var k;return[((k=C.title)==null?void 0:k.call(C))??n.title]}}),((S=C.text)==null?void 0:S.call(C))??n.text,(_=C.default)==null?void 0:_.call(C)]),C.append&>("div",{key:"append",class:"v-alert__append"},[C.append()]),y&>("div",{key:"close",class:"v-alert__close"},[C.close?gt(Fa,{key:"close-defaults",defaults:{VBtn:{icon:n.closeIcon,size:"x-small",variant:"text"}}},{default:()=>{var k;return[(k=C.close)==null?void 0:k.call(C,{props:h.value})]}}):gt(_l,qr({key:"close-btn",icon:n.closeIcon,size:"x-small",variant:"text"},h.value),null)])]}})}}});const oN=ur({text:String,clickable:Boolean,...Zr(),...oa()},"VLabel"),C0=Ar()({name:"VLabel",props:oN(),setup(n,e){let{slots:r}=e;return Or(()=>{var C;return gt("label",{class:["v-label",{"v-label--clickable":n.clickable},n.class],style:n.style},[n.text,(C=r.default)==null?void 0:C.call(r)])}),{}}});const iA=Symbol.for("vuetify:selection-control-group"),y_=ur({color:String,disabled:{type:Boolean,default:null},defaultsTarget:String,error:Boolean,id:String,inline:Boolean,falseIcon:bi,trueIcon:bi,ripple:{type:Boolean,default:!0},multiple:{type:Boolean,default:null},name:String,readonly:Boolean,modelValue:null,type:String,valueComparator:{type:Function,default:b0},...Zr(),...ds(),...oa()},"SelectionControlGroup"),sN=ur({...y_({defaultsTarget:"VSelectionControl"})},"VSelectionControlGroup"),aA=Ar()({name:"VSelectionControlGroup",props:sN(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const C=xi(n,"modelValue"),D=Js(),T=cn(()=>n.id||`v-selection-control-group-${D}`),p=cn(()=>n.name||T.value),t=new Set;return ts(iA,{modelValue:C,forceUpdate:()=>{t.forEach(d=>d())},onForceUpdate:d=>{t.add(d),wl(()=>{t.delete(d)})}}),es({[n.defaultsTarget]:{color:Cr(n,"color"),disabled:Cr(n,"disabled"),density:Cr(n,"density"),error:Cr(n,"error"),inline:Cr(n,"inline"),modelValue:C,multiple:cn(()=>!!n.multiple||n.multiple==null&&Array.isArray(C.value)),name:p,falseIcon:Cr(n,"falseIcon"),trueIcon:Cr(n,"trueIcon"),readonly:Cr(n,"readonly"),ripple:Cr(n,"ripple"),type:Cr(n,"type"),valueComparator:Cr(n,"valueComparator")}}),Or(()=>{var d;return gt("div",{class:["v-selection-control-group",{"v-selection-control-group--inline":n.inline},n.class],style:n.style,role:n.type==="radio"?"radiogroup":void 0},[(d=r.default)==null?void 0:d.call(r)])}),{}}}),n1=ur({label:String,trueValue:null,falseValue:null,value:null,...Zr(),...y_()},"VSelectionControl");function lN(n){const e=ka(iA,void 0),{densityClasses:r}=Qs(n),C=xi(n,"modelValue"),D=cn(()=>n.trueValue!==void 0?n.trueValue:n.value!==void 0?n.value:!0),T=cn(()=>n.falseValue!==void 0?n.falseValue:!1),p=cn(()=>!!n.multiple||n.multiple==null&&Array.isArray(C.value)),t=cn({get(){const f=e?e.modelValue.value:C.value;return p.value?f.some(l=>n.valueComparator(l,D.value)):n.valueComparator(f,D.value)},set(f){if(n.readonly)return;const l=f?D.value:T.value;let a=l;p.value&&(a=f?[...bu(C.value),l]:bu(C.value).filter(u=>!n.valueComparator(u,D.value))),e?e.modelValue.value=a:C.value=a}}),{textColorClasses:d,textColorStyles:g}=Xs(cn(()=>t.value&&!n.error&&!n.disabled?n.color:void 0)),{backgroundColorClasses:i,backgroundColorStyles:M}=Oo(cn(()=>t.value&&!n.error&&!n.disabled?n.color:void 0)),v=cn(()=>t.value?n.trueIcon:n.falseIcon);return{group:e,densityClasses:r,trueValue:D,falseValue:T,model:t,textColorClasses:d,textColorStyles:g,backgroundColorClasses:i,backgroundColorStyles:M,icon:v}}const Xd=Ar()({name:"VSelectionControl",directives:{Ripple:nd},inheritAttrs:!1,props:n1(),emits:{"update:modelValue":n=>!0},setup(n,e){let{attrs:r,slots:C}=e;const{group:D,densityClasses:T,icon:p,model:t,textColorClasses:d,textColorStyles:g,backgroundColorClasses:i,backgroundColorStyles:M,trueValue:v}=lN(n),f=Js(),l=cn(()=>n.id||`input-${f}`),a=Wr(!1),u=Wr(!1),o=Vr();D==null||D.onForceUpdate(()=>{o.value&&(o.value.checked=t.value)});function s(m){a.value=!0,l0(m.target,":focus-visible")!==!1&&(u.value=!0)}function c(){a.value=!1,u.value=!1}function h(m){n.readonly&&D&&Ua(()=>D.forceUpdate()),t.value=m.target.checked}return Or(()=>{var _,k;const m=C.label?C.label({label:n.label,props:{for:l.value}}):n.label,[w,y]=Qd(r),S=gt("input",qr({ref:o,checked:t.value,disabled:!!(n.readonly||n.disabled),id:l.value,onBlur:c,onFocus:s,onInput:h,"aria-disabled":!!(n.readonly||n.disabled),type:n.type,value:v.value,name:n.name,"aria-checked":n.type==="checkbox"?t.value:void 0},y),null);return gt("div",qr({class:["v-selection-control",{"v-selection-control--dirty":t.value,"v-selection-control--disabled":n.disabled,"v-selection-control--error":n.error,"v-selection-control--focused":a.value,"v-selection-control--focus-visible":u.value,"v-selection-control--inline":n.inline},T.value,n.class]},w,{style:n.style}),[gt("div",{class:["v-selection-control__wrapper",d.value],style:g.value},[(_=C.default)==null?void 0:_.call(C,{backgroundColorClasses:i,backgroundColorStyles:M}),Co(gt("div",{class:["v-selection-control__input"]},[((k=C.input)==null?void 0:k.call(C,{model:t,textColorClasses:d,textColorStyles:g,backgroundColorClasses:i,backgroundColorStyles:M,inputNode:S,icon:p.value,props:{onFocus:s,onBlur:c,id:l.value}}))??gt(Yr,null,[p.value&>(ja,{key:"icon",icon:p.value},null),S])]),[[Tu("ripple"),n.ripple&&[!n.disabled&&!n.readonly,null,["center","circle"]]]])]),m&>(C0,{for:l.value,clickable:!0,onClick:E=>E.stopPropagation()},{default:()=>[m]})])}),{isFocused:a,input:o}}}),oA=ur({indeterminate:Boolean,indeterminateIcon:{type:bi,default:"$checkboxIndeterminate"},...n1({falseIcon:"$checkboxOff",trueIcon:"$checkboxOn"})},"VCheckboxBtn"),h0=Ar()({name:"VCheckboxBtn",props:oA(),emits:{"update:modelValue":n=>!0,"update:indeterminate":n=>!0},setup(n,e){let{slots:r}=e;const C=xi(n,"indeterminate"),D=xi(n,"modelValue");function T(d){C.value&&(C.value=!1)}const p=cn(()=>C.value?n.indeterminateIcon:n.falseIcon),t=cn(()=>C.value?n.indeterminateIcon:n.trueIcon);return Or(()=>{const d=ic(Xd.filterProps(n)[0],["modelValue"]);return gt(Xd,qr(d,{modelValue:D.value,"onUpdate:modelValue":[g=>D.value=g,T],class:["v-checkbox-btn",n.class],style:n.style,type:"checkbox",falseIcon:p.value,trueIcon:t.value,"aria-checked":C.value?"mixed":void 0}),r)}),{}}});function sA(n){const{t:e}=oc();function r(C){let{name:D}=C;const T={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[D],p=n[`onClick:${D}`],t=p&&T?e(`$vuetify.input.${T}`,n.label??""):void 0;return gt(ja,{icon:n[`${D}Icon`],"aria-label":t,onClick:p},null)}return{InputIcon:r}}const uN=ur({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...Zr(),...df({transition:{component:l_,leaveAbsolute:!0,group:!0}})},"VMessages"),lA=Ar()({name:"VMessages",props:uN(),setup(n,e){let{slots:r}=e;const C=cn(()=>bu(n.messages)),{textColorClasses:D,textColorStyles:T}=Xs(cn(()=>n.color));return Or(()=>gt(Oc,{transition:n.transition,tag:"div",class:["v-messages",D.value,n.class],style:[T.value,n.style],role:"alert","aria-live":"polite"},{default:()=>[n.active&&C.value.map((p,t)=>gt("div",{class:"v-messages__message",key:`${t}-${C.value}`},[r.message?r.message({message:p}):p]))]})),{}}}),r1=ur({focused:Boolean,"onUpdate:focused":yh()},"focus");function rd(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();const r=xi(n,"focused"),C=cn(()=>({[`${e}--focused`]:r.value}));function D(){r.value=!0}function T(){r.value=!1}return{focusClasses:C,isFocused:r,focus:D,blur:T}}const uA=Symbol.for("vuetify:form"),cN=ur({disabled:Boolean,fastFail:Boolean,readonly:Boolean,modelValue:{type:Boolean,default:null},validateOn:{type:String,default:"input"}},"form");function hN(n){const e=xi(n,"modelValue"),r=cn(()=>n.disabled),C=cn(()=>n.readonly),D=Wr(!1),T=Vr([]),p=Vr([]);async function t(){const i=[];let M=!0;p.value=[],D.value=!0;for(const v of T.value){const f=await v.validate();if(f.length>0&&(M=!1,i.push({id:v.id,errorMessages:f})),!M&&n.fastFail)break}return p.value=i,D.value=!1,{valid:M,errors:p.value}}function d(){T.value.forEach(i=>i.reset())}function g(){T.value.forEach(i=>i.resetValidation())}return $r(T,()=>{let i=0,M=0;const v=[];for(const f of T.value)f.isValid===!1?(M++,v.push({id:f.id,errorMessages:f.errorMessages})):f.isValid===!0&&i++;p.value=v,e.value=M>0?!1:i===T.value.length?!0:null},{deep:!0}),ts(uA,{register:i=>{let{id:M,validate:v,reset:f,resetValidation:l}=i;T.value.some(a=>a.id===M),T.value.push({id:M,validate:v,reset:f,resetValidation:l,isValid:null,errorMessages:[]})},unregister:i=>{T.value=T.value.filter(M=>M.id!==i)},update:(i,M,v)=>{const f=T.value.find(l=>l.id===i);f&&(f.isValid=M,f.errorMessages=v)},isDisabled:r,isReadonly:C,isValidating:D,isValid:e,items:T,validateOn:Cr(n,"validateOn")}),{errors:p,isDisabled:r,isReadonly:C,isValidating:D,isValid:e,items:T,validate:t,reset:d,resetValidation:g}}function i1(){return ka(uA,null)}const cA=ur({disabled:{type:Boolean,default:null},error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,label:String,readonly:{type:Boolean,default:null},rules:{type:Array,default:()=>[]},modelValue:null,validateOn:String,validationValue:null,...r1()},"validation");function hA(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff(),r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Js();const C=xi(n,"modelValue"),D=cn(()=>n.validationValue===void 0?C.value:n.validationValue),T=i1(),p=Vr([]),t=Wr(!0),d=cn(()=>!!(bu(C.value===""?null:C.value).length||bu(D.value===""?null:D.value).length)),g=cn(()=>!!(n.disabled??(T==null?void 0:T.isDisabled.value))),i=cn(()=>!!(n.readonly??(T==null?void 0:T.isReadonly.value))),M=cn(()=>n.errorMessages.length?bu(n.errorMessages).slice(0,Math.max(0,+n.maxErrors)):p.value),v=cn(()=>{let h=(n.validateOn??(T==null?void 0:T.validateOn.value))||"input";h==="lazy"&&(h="input lazy");const m=new Set((h==null?void 0:h.split(" "))??[]);return{blur:m.has("blur")||m.has("input"),input:m.has("input"),submit:m.has("submit"),lazy:m.has("lazy")}}),f=cn(()=>n.error||n.errorMessages.length?!1:n.rules.length?t.value?p.value.length||v.value.lazy?null:!0:!p.value.length:!0),l=Wr(!1),a=cn(()=>({[`${e}--error`]:f.value===!1,[`${e}--dirty`]:d.value,[`${e}--disabled`]:g.value,[`${e}--readonly`]:i.value})),u=cn(()=>n.name??yu(r));Sy(()=>{T==null||T.register({id:u.value,validate:c,reset:o,resetValidation:s})}),Tl(()=>{T==null||T.unregister(u.value)}),Ks(async()=>{v.value.lazy||await c(!0),T==null||T.update(u.value,f.value,M.value)}),$f(()=>v.value.input,()=>{$r(D,()=>{if(D.value!=null)c();else if(n.focused){const h=$r(()=>n.focused,m=>{m||c(),h()})}})}),$f(()=>v.value.blur,()=>{$r(()=>n.focused,h=>{h||c()})}),$r(f,()=>{T==null||T.update(u.value,f.value,M.value)});function o(){C.value=null,Ua(s)}function s(){t.value=!0,v.value.lazy?p.value=[]:c(!0)}async function c(){let h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const m=[];l.value=!0;for(const w of n.rules){if(m.length>=+(n.maxErrors??1))break;const S=await(typeof w=="function"?w:()=>w)(D.value);if(S!==!0){if(S!==!1&&typeof S!="string"){console.warn(`${S} is not a valid value. Rule functions must return boolean true or a string.`);continue}m.push(S||"")}}return p.value=m,l.value=!1,t.value=h,p.value}return{errorMessages:M,isDirty:d,isDisabled:g,isReadonly:i,isPristine:t,isValid:f,isValidating:l,reset:o,resetValidation:s,validate:c,validationClasses:a}}const mf=ur({id:String,appendIcon:bi,centerAffix:{type:Boolean,default:!0},prependIcon:bi,hideDetails:[Boolean,String],hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:n=>["horizontal","vertical"].includes(n)},"onClick:prepend":yh(),"onClick:append":yh(),...Zr(),...ds(),...cA()},"VInput"),Bs=Ar()({name:"VInput",props:{...mf()},emits:{"update:modelValue":n=>!0},setup(n,e){let{attrs:r,slots:C,emit:D}=e;const{densityClasses:T}=Qs(n),{rtlClasses:p}=Cs(),{InputIcon:t}=sA(n),d=Js(),g=cn(()=>n.id||`input-${d}`),i=cn(()=>`${g.value}-messages`),{errorMessages:M,isDirty:v,isDisabled:f,isReadonly:l,isPristine:a,isValid:u,isValidating:o,reset:s,resetValidation:c,validate:h,validationClasses:m}=hA(n,"v-input",g),w=cn(()=>({id:g,messagesId:i,isDirty:v,isDisabled:f,isReadonly:l,isPristine:a,isValid:u,isValidating:o,reset:s,resetValidation:c,validate:h})),y=cn(()=>{var S;return(S=n.errorMessages)!=null&&S.length||!a.value&&M.value.length?M.value:n.hint&&(n.persistentHint||n.focused)?n.hint:n.messages});return Or(()=>{var x,A,L,b;const S=!!(C.prepend||n.prependIcon),_=!!(C.append||n.appendIcon),k=y.value.length>0,E=!n.hideDetails||n.hideDetails==="auto"&&(k||!!C.details);return gt("div",{class:["v-input",`v-input--${n.direction}`,{"v-input--center-affix":n.centerAffix},T.value,p.value,m.value,n.class],style:n.style},[S&>("div",{key:"prepend",class:"v-input__prepend"},[(x=C.prepend)==null?void 0:x.call(C,w.value),n.prependIcon&>(t,{key:"prepend-icon",name:"prepend"},null)]),C.default&>("div",{class:"v-input__control"},[(A=C.default)==null?void 0:A.call(C,w.value)]),_&>("div",{key:"append",class:"v-input__append"},[n.appendIcon&>(t,{key:"append-icon",name:"append"},null),(L=C.append)==null?void 0:L.call(C,w.value)]),E&>("div",{class:"v-input__details"},[gt(lA,{id:i.value,active:k,messages:y.value},{message:C.message}),(b=C.details)==null?void 0:b.call(C,w.value)])])}),{reset:s,resetValidation:c,validate:h}}}),fN=ur({...mf(),...ic(oA(),["inline"])},"VCheckbox"),dN=Ar()({name:"VCheckbox",inheritAttrs:!1,props:fN(),emits:{"update:modelValue":n=>!0,"update:focused":n=>!0},setup(n,e){let{attrs:r,slots:C}=e;const D=xi(n,"modelValue"),{isFocused:T,focus:p,blur:t}=rd(n),d=Js(),g=cn(()=>n.id||`checkbox-${d}`);return Or(()=>{const[i,M]=Qd(r),[v,f]=Bs.filterProps(n),[l,a]=h0.filterProps(n);return gt(Bs,qr({class:["v-checkbox",n.class]},i,v,{modelValue:D.value,"onUpdate:modelValue":u=>D.value=u,id:g.value,focused:T.value,style:n.style}),{...C,default:u=>{let{id:o,messagesId:s,isDisabled:c,isReadonly:h}=u;return gt(h0,qr(l,{id:o.value,"aria-describedby":s.value,disabled:c.value,readonly:h.value},M,{modelValue:D.value,"onUpdate:modelValue":m=>D.value=m,onFocus:p,onBlur:t}),C)}})}),{}}});const pN=ur({start:Boolean,end:Boolean,icon:bi,image:String,...Zr(),...ds(),...lo(),...pf(),...Si(),...oa(),...cc({variant:"flat"})},"VAvatar"),Zf=Ar()({name:"VAvatar",props:pN(),setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{colorClasses:D,colorStyles:T,variantClasses:p}=rp(n),{densityClasses:t}=Qs(n),{roundedClasses:d}=Eo(n),{sizeClasses:g,sizeStyles:i}=M0(n);return Or(()=>gt(n.tag,{class:["v-avatar",{"v-avatar--start":n.start,"v-avatar--end":n.end},C.value,D.value,t.value,d.value,g.value,p.value,n.class],style:[T.value,i.value,n.style]},{default:()=>{var M;return[n.image?gt(Zd,{key:"image",src:n.image,alt:"",cover:!0},null):n.icon?gt(ja,{key:"icon",icon:n.icon},null):(M=r.default)==null?void 0:M.call(r),np(!1,"v-avatar")]}})),{}}});const fA=Symbol.for("vuetify:v-chip-group"),mN=ur({column:Boolean,filter:Boolean,valueComparator:{type:Function,default:b0},...Zr(),...w0({selectedClass:"v-chip--selected"}),...Si(),...oa(),...cc({variant:"tonal"})},"VChipGroup"),gN=Ar()({name:"VChipGroup",props:mN(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{isSelected:D,select:T,next:p,prev:t,selected:d}=ip(n,fA);return es({VChip:{color:Cr(n,"color"),disabled:Cr(n,"disabled"),filter:Cr(n,"filter"),variant:Cr(n,"variant")}}),Or(()=>gt(n.tag,{class:["v-chip-group",{"v-chip-group--column":n.column},C.value,n.class],style:n.style},{default:()=>{var g;return[(g=r.default)==null?void 0:g.call(r,{isSelected:D,select:T,next:p,prev:t,selected:d.value})]}})),{}}}),vN=ur({activeClass:String,appendAvatar:String,appendIcon:bi,closable:Boolean,closeIcon:{type:bi,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:{type:Boolean,default:void 0},pill:Boolean,prependAvatar:String,prependIcon:bi,ripple:{type:[Boolean,Object],default:!0},text:String,modelValue:{type:Boolean,default:!0},onClick:yh(),onClickOnce:yh(),...Su(),...Zr(),...ds(),...fs(),...T0(),...lo(),...lg(),...pf(),...Si({tag:"span"}),...oa(),...cc({variant:"tonal"})},"VChip"),ug=Ar()({name:"VChip",directives:{Ripple:nd},props:vN(),emits:{"click:close":n=>!0,"update:modelValue":n=>!0,"group:selected":n=>!0,click:n=>!0},setup(n,e){let{attrs:r,emit:C,slots:D}=e;const{t:T}=oc(),{borderClasses:p}=uc(n),{colorClasses:t,colorStyles:d,variantClasses:g}=rp(n),{densityClasses:i}=Qs(n),{elevationClasses:M}=Vs(n),{roundedClasses:v}=Eo(n),{sizeClasses:f}=M0(n),{themeClasses:l}=Ma(n),a=xi(n,"modelValue"),u=k0(n,fA,!1),o=sg(n,r),s=cn(()=>n.link!==!1&&o.isLink.value),c=cn(()=>!n.disabled&&n.link!==!1&&(!!u||n.link||o.isClickable.value)),h=cn(()=>({"aria-label":T(n.closeLabel),onClick(y){y.stopPropagation(),a.value=!1,C("click:close",y)}}));function m(y){var S;C("click",y),c.value&&((S=o.navigate)==null||S.call(o,y),u==null||u.toggle())}function w(y){(y.key==="Enter"||y.key===" ")&&(y.preventDefault(),m(y))}return()=>{const y=o.isLink.value?"a":n.tag,S=!!(n.appendIcon||n.appendAvatar),_=!!(S||D.append),k=!!(D.close||n.closable),E=!!(D.filter||n.filter)&&u,x=!!(n.prependIcon||n.prependAvatar),A=!!(x||D.prepend),L=!u||u.isSelected.value;return a.value&&Co(gt(y,{class:["v-chip",{"v-chip--disabled":n.disabled,"v-chip--label":n.label,"v-chip--link":c.value,"v-chip--filter":E,"v-chip--pill":n.pill},l.value,p.value,L?t.value:void 0,i.value,M.value,v.value,f.value,g.value,u==null?void 0:u.selectedClass.value,n.class],style:[L?d.value:void 0,n.style],disabled:n.disabled||void 0,draggable:n.draggable,href:o.href.value,tabindex:c.value?0:void 0,onClick:m,onKeydown:c.value&&!s.value&&w},{default:()=>{var b;return[np(c.value,"v-chip"),E&>(u_,{key:"filter"},{default:()=>[Co(gt("div",{class:"v-chip__filter"},[D.filter?gt(Fa,{key:"filter-defaults",disabled:!n.filterIcon,defaults:{VIcon:{icon:n.filterIcon}}},D.filter):gt(ja,{key:"filter-icon",icon:n.filterIcon},null)]),[[kh,u.isSelected.value]])]}),A&>("div",{key:"prepend",class:"v-chip__prepend"},[D.prepend?gt(Fa,{key:"prepend-defaults",disabled:!x,defaults:{VAvatar:{image:n.prependAvatar,start:!0},VIcon:{icon:n.prependIcon,start:!0}}},D.prepend):gt(Yr,null,[n.prependIcon&>(ja,{key:"prepend-icon",icon:n.prependIcon,start:!0},null),n.prependAvatar&>(Zf,{key:"prepend-avatar",image:n.prependAvatar,start:!0},null)])]),gt("div",{class:"v-chip__content"},[((b=D.default)==null?void 0:b.call(D,{isSelected:u==null?void 0:u.isSelected.value,selectedClass:u==null?void 0:u.selectedClass.value,select:u==null?void 0:u.select,toggle:u==null?void 0:u.toggle,value:u==null?void 0:u.value.value,disabled:n.disabled}))??n.text]),_&>("div",{key:"append",class:"v-chip__append"},[D.append?gt(Fa,{key:"append-defaults",disabled:!S,defaults:{VAvatar:{end:!0,image:n.appendAvatar},VIcon:{end:!0,icon:n.appendIcon}}},D.append):gt(Yr,null,[n.appendIcon&>(ja,{key:"append-icon",end:!0,icon:n.appendIcon},null),n.appendAvatar&>(Zf,{key:"append-avatar",end:!0,image:n.appendAvatar},null)])]),k&>("div",qr({key:"close",class:"v-chip__close"},h.value),[D.close?gt(Fa,{key:"close-defaults",defaults:{VIcon:{icon:n.closeIcon,size:"x-small"}}},D.close):gt(ja,{key:"close-icon",icon:n.closeIcon,size:"x-small"},null)])]}}),[[Tu("ripple"),c.value&&n.ripple,null]])}}});const wx=Symbol.for("vuetify:list");function dA(){const n=ka(wx,{hasPrepend:Wr(!1),updateHasPrepend:()=>null}),e={hasPrepend:Wr(!1),updateHasPrepend:r=>{r&&(e.hasPrepend.value=r)}};return ts(wx,e),n}function pA(){return ka(wx,null)}const yN={open:n=>{let{id:e,value:r,opened:C,parents:D}=n;if(r){const T=new Set;T.add(e);let p=D.get(e);for(;p!=null;)T.add(p),p=D.get(p);return T}else return C.delete(e),C},select:()=>null},mA={open:n=>{let{id:e,value:r,opened:C,parents:D}=n;if(r){let T=D.get(e);for(C.add(e);T!=null&&T!==e;)C.add(T),T=D.get(T);return C}else C.delete(e);return C},select:()=>null},bN={open:mA.open,select:n=>{let{id:e,value:r,opened:C,parents:D}=n;if(!r)return C;const T=[];let p=D.get(e);for(;p!=null;)T.push(p),p=D.get(p);return new Set(T)}},b_=n=>{const e={select:r=>{let{id:C,value:D,selected:T}=r;if(C=wi(C),n&&!D){const p=Array.from(T.entries()).reduce((t,d)=>{let[g,i]=d;return i==="on"?[...t,g]:t},[]);if(p.length===1&&p[0]===C)return T}return T.set(C,D?"on":"off"),T},in:(r,C,D)=>{let T=new Map;for(const p of r||[])T=e.select({id:p,value:!0,selected:new Map(T),children:C,parents:D});return T},out:r=>{const C=[];for(const[D,T]of r.entries())T==="on"&&C.push(D);return C}};return e},gA=n=>{const e=b_(n);return{select:C=>{let{selected:D,id:T,...p}=C;T=wi(T);const t=D.has(T)?new Map([[T,D.get(T)]]):new Map;return e.select({...p,id:T,selected:t})},in:(C,D,T)=>{let p=new Map;return C!=null&&C.length&&(p=e.in(C.slice(0,1),D,T)),p},out:(C,D,T)=>e.out(C,D,T)}},xN=n=>{const e=b_(n);return{select:C=>{let{id:D,selected:T,children:p,...t}=C;return D=wi(D),p.has(D)?T:e.select({id:D,selected:T,children:p,...t})},in:e.in,out:e.out}},_N=n=>{const e=gA(n);return{select:C=>{let{id:D,selected:T,children:p,...t}=C;return D=wi(D),p.has(D)?T:e.select({id:D,selected:T,children:p,...t})},in:e.in,out:e.out}},wN=n=>{const e={select:r=>{let{id:C,value:D,selected:T,children:p,parents:t}=r;C=wi(C);const d=new Map(T),g=[C];for(;g.length;){const M=g.shift();T.set(M,D?"on":"off"),p.has(M)&&g.push(...p.get(M))}let i=t.get(C);for(;i;){const M=p.get(i),v=M.every(l=>T.get(l)==="on"),f=M.every(l=>!T.has(l)||T.get(l)==="off");T.set(i,v?"on":f?"off":"indeterminate"),i=t.get(i)}return n&&!D&&Array.from(T.entries()).reduce((v,f)=>{let[l,a]=f;return a==="on"?[...v,l]:v},[]).length===0?d:T},in:(r,C,D)=>{let T=new Map;for(const p of r||[])T=e.select({id:p,value:!0,selected:new Map(T),children:C,parents:D});return T},out:(r,C)=>{const D=[];for(const[T,p]of r.entries())p==="on"&&!C.has(T)&&D.push(T);return D}};return e},Vm=Symbol.for("vuetify:nested"),vA={id:Wr(),root:{register:()=>null,unregister:()=>null,parents:Vr(new Map),children:Vr(new Map),open:()=>null,openOnSelect:()=>null,select:()=>null,opened:Vr(new Set),selected:Vr(new Map),selectedValues:Vr([])}},TN=ur({selectStrategy:[String,Function],openStrategy:[String,Object],opened:Array,selected:Array,mandatory:Boolean},"nested"),kN=n=>{let e=!1;const r=Vr(new Map),C=Vr(new Map),D=xi(n,"opened",n.opened,M=>new Set(M),M=>[...M.values()]),T=cn(()=>{if(typeof n.selectStrategy=="object")return n.selectStrategy;switch(n.selectStrategy){case"single-leaf":return _N(n.mandatory);case"leaf":return xN(n.mandatory);case"independent":return b_(n.mandatory);case"single-independent":return gA(n.mandatory);case"classic":default:return wN(n.mandatory)}}),p=cn(()=>{if(typeof n.openStrategy=="object")return n.openStrategy;switch(n.openStrategy){case"list":return bN;case"single":return yN;case"multiple":default:return mA}}),t=xi(n,"selected",n.selected,M=>T.value.in(M,r.value,C.value),M=>T.value.out(M,r.value,C.value));Tl(()=>{e=!0});function d(M){const v=[];let f=M;for(;f!=null;)v.unshift(f),f=C.value.get(f);return v}const g=Ss("nested"),i={id:Wr(),root:{opened:D,selected:t,selectedValues:cn(()=>{const M=[];for(const[v,f]of t.value.entries())f==="on"&&M.push(v);return M}),register:(M,v,f)=>{v&&M!==v&&C.value.set(M,v),f&&r.value.set(M,[]),v!=null&&r.value.set(v,[...r.value.get(v)||[],M])},unregister:M=>{if(e)return;r.value.delete(M);const v=C.value.get(M);if(v){const f=r.value.get(v)??[];r.value.set(v,f.filter(l=>l!==M))}C.value.delete(M),D.value.delete(M)},open:(M,v,f)=>{g.emit("click:open",{id:M,value:v,path:d(M),event:f});const l=p.value.open({id:M,value:v,opened:new Set(D.value),children:r.value,parents:C.value,event:f});l&&(D.value=l)},openOnSelect:(M,v,f)=>{const l=p.value.select({id:M,value:v,selected:new Map(t.value),opened:new Set(D.value),children:r.value,parents:C.value,event:f});l&&(D.value=l)},select:(M,v,f)=>{g.emit("click:select",{id:M,value:v,path:d(M),event:f});const l=T.value.select({id:M,value:v,selected:new Map(t.value),children:r.value,parents:C.value,event:f});l&&(t.value=l),i.root.openOnSelect(M,v,f)},children:r,parents:C}};return ts(Vm,i),i.root},yA=(n,e)=>{const r=ka(Vm,vA),C=Symbol(Js()),D=cn(()=>n.value!==void 0?n.value:C),T={...r,id:D,open:(p,t)=>r.root.open(D.value,p,t),openOnSelect:(p,t)=>r.root.openOnSelect(D.value,p,t),isOpen:cn(()=>r.root.opened.value.has(D.value)),parent:cn(()=>r.root.parents.value.get(D.value)),select:(p,t)=>r.root.select(D.value,p,t),isSelected:cn(()=>r.root.selected.value.get(wi(D.value))==="on"),isIndeterminate:cn(()=>r.root.selected.value.get(D.value)==="indeterminate"),isLeaf:cn(()=>!r.root.children.value.get(D.value)),isGroupActivator:r.isGroupActivator};return!r.isGroupActivator&&r.root.register(D.value,r.id.value,e),Tl(()=>{!r.isGroupActivator&&r.root.unregister(D.value)}),e&&ts(Vm,T),T},MN=()=>{const n=ka(Vm,vA);ts(Vm,{...n,isGroupActivator:!0})},AN=ac({name:"VListGroupActivator",setup(n,e){let{slots:r}=e;return MN(),()=>{var C;return(C=r.default)==null?void 0:C.call(r)}}}),SN=ur({activeColor:String,baseColor:String,color:String,collapseIcon:{type:bi,default:"$collapse"},expandIcon:{type:bi,default:"$expand"},prependIcon:bi,appendIcon:bi,fluid:Boolean,subgroup:Boolean,title:String,value:null,...Zr(),...Si()},"VListGroup"),Tx=Ar()({name:"VListGroup",props:SN(),setup(n,e){let{slots:r}=e;const{isOpen:C,open:D,id:T}=yA(Cr(n,"value"),!0),p=cn(()=>`v-list-group--id-${String(T.value)}`),t=pA(),{isBooted:d}=tp();function g(f){D(!C.value,f)}const i=cn(()=>({onClick:g,class:"v-list-group__header",id:p.value})),M=cn(()=>C.value?n.collapseIcon:n.expandIcon),v=cn(()=>({VListItem:{active:C.value,activeColor:n.activeColor,baseColor:n.baseColor,color:n.color,prependIcon:n.prependIcon||n.subgroup&&M.value,appendIcon:n.appendIcon||!n.subgroup&&M.value,title:n.title,value:n.value}}));return Or(()=>gt(n.tag,{class:["v-list-group",{"v-list-group--prepend":t==null?void 0:t.hasPrepend.value,"v-list-group--fluid":n.fluid,"v-list-group--subgroup":n.subgroup,"v-list-group--open":C.value},n.class],style:n.style},{default:()=>[r.activator&>(Fa,{defaults:v.value},{default:()=>[gt(AN,null,{default:()=>[r.activator({props:i.value,isOpen:C.value})]})]}),gt(Oc,{transition:{component:e1},disabled:!d.value},{default:()=>{var f;return[Co(gt("div",{class:"v-list-group__items",role:"group","aria-labelledby":p.value},[(f=r.default)==null?void 0:f.call(r)]),[[kh,C.value]])]}})]})),{}}});const bA=Nc("v-list-item-subtitle"),xA=Nc("v-list-item-title"),CN=ur({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:bi,baseColor:String,disabled:Boolean,lines:String,link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:bi,ripple:{type:[Boolean,Object],default:!0},subtitle:[String,Number,Boolean],title:[String,Number,Boolean],value:null,onClick:yh(),onClickOnce:yh(),...Su(),...Zr(),...ds(),...sc(),...fs(),...lo(),...lg(),...Si(),...oa(),...cc({variant:"text"})},"VListItem"),af=Ar()({name:"VListItem",directives:{Ripple:nd},props:CN(),emits:{click:n=>!0},setup(n,e){let{attrs:r,slots:C,emit:D}=e;const T=sg(n,r),p=cn(()=>n.value===void 0?T.href.value:n.value),{select:t,isSelected:d,isIndeterminate:g,isGroupActivator:i,root:M,parent:v,openOnSelect:f}=yA(p,!1),l=pA(),a=cn(()=>{var O;return n.active!==!1&&(n.active||((O=T.isActive)==null?void 0:O.value)||d.value)}),u=cn(()=>n.link!==!1&&T.isLink.value),o=cn(()=>!n.disabled&&n.link!==!1&&(n.link||T.isClickable.value||n.value!=null&&!!l)),s=cn(()=>n.rounded||n.nav),c=cn(()=>n.color??n.activeColor),h=cn(()=>({color:a.value?c.value??n.baseColor:n.baseColor,variant:n.variant}));$r(()=>{var O;return(O=T.isActive)==null?void 0:O.value},O=>{O&&v.value!=null&&M.open(v.value,!0),O&&f(O)},{immediate:!0});const{themeClasses:m}=Ma(n),{borderClasses:w}=uc(n),{colorClasses:y,colorStyles:S,variantClasses:_}=rp(h),{densityClasses:k}=Qs(n),{dimensionStyles:E}=lc(n),{elevationClasses:x}=Vs(n),{roundedClasses:A}=Eo(s),L=cn(()=>n.lines?`v-list-item--${n.lines}-line`:void 0),b=cn(()=>({isActive:a.value,select:t,isSelected:d.value,isIndeterminate:g.value}));function R(O){var z;D("click",O),!(i||!o.value)&&((z=T.navigate)==null||z.call(T,O),n.value!=null&&t(!d.value,O))}function I(O){(O.key==="Enter"||O.key===" ")&&(O.preventDefault(),R(O))}return Or(()=>{const O=u.value?"a":n.tag,z=C.title||n.title,F=C.subtitle||n.subtitle,B=!!(n.appendAvatar||n.appendIcon),N=!!(B||C.append),W=!!(n.prependAvatar||n.prependIcon),j=!!(W||C.prepend);return l==null||l.updateHasPrepend(j),n.activeColor&&rF("active-color",["color","base-color"]),Co(gt(O,{class:["v-list-item",{"v-list-item--active":a.value,"v-list-item--disabled":n.disabled,"v-list-item--link":o.value,"v-list-item--nav":n.nav,"v-list-item--prepend":!j&&(l==null?void 0:l.hasPrepend.value),[`${n.activeClass}`]:n.activeClass&&a.value},m.value,w.value,y.value,k.value,x.value,L.value,A.value,_.value,n.class],style:[S.value,E.value,n.style],href:T.href.value,tabindex:o.value?l?-2:0:void 0,onClick:R,onKeydown:o.value&&!u.value&&I},{default:()=>{var $;return[np(o.value||a.value,"v-list-item"),j&>("div",{key:"prepend",class:"v-list-item__prepend"},[C.prepend?gt(Fa,{key:"prepend-defaults",disabled:!W,defaults:{VAvatar:{density:n.density,image:n.prependAvatar},VIcon:{density:n.density,icon:n.prependIcon},VListItemAction:{start:!0}}},{default:()=>{var U;return[(U=C.prepend)==null?void 0:U.call(C,b.value)]}}):gt(Yr,null,[n.prependAvatar&>(Zf,{key:"prepend-avatar",density:n.density,image:n.prependAvatar},null),n.prependIcon&>(ja,{key:"prepend-icon",density:n.density,icon:n.prependIcon},null)]),gt("div",{class:"v-list-item__spacer"},null)]),gt("div",{class:"v-list-item__content","data-no-activator":""},[z&>(xA,{key:"title"},{default:()=>{var U;return[((U=C.title)==null?void 0:U.call(C,{title:n.title}))??n.title]}}),F&>(bA,{key:"subtitle"},{default:()=>{var U;return[((U=C.subtitle)==null?void 0:U.call(C,{subtitle:n.subtitle}))??n.subtitle]}}),($=C.default)==null?void 0:$.call(C,b.value)]),N&>("div",{key:"append",class:"v-list-item__append"},[C.append?gt(Fa,{key:"append-defaults",disabled:!B,defaults:{VAvatar:{density:n.density,image:n.appendAvatar},VIcon:{density:n.density,icon:n.appendIcon},VListItemAction:{end:!0}}},{default:()=>{var U;return[(U=C.append)==null?void 0:U.call(C,b.value)]}}):gt(Yr,null,[n.appendIcon&>(ja,{key:"append-icon",density:n.density,icon:n.appendIcon},null),n.appendAvatar&>(Zf,{key:"append-avatar",density:n.density,image:n.appendAvatar},null)]),gt("div",{class:"v-list-item__spacer"},null)])]}}),[[Tu("ripple"),o.value&&n.ripple]])}),{}}}),EN=ur({color:String,inset:Boolean,sticky:Boolean,title:String,...Zr(),...Si()},"VListSubheader"),_A=Ar()({name:"VListSubheader",props:EN(),setup(n,e){let{slots:r}=e;const{textColorClasses:C,textColorStyles:D}=Xs(Cr(n,"color"));return Or(()=>{const T=!!(r.default||n.title);return gt(n.tag,{class:["v-list-subheader",{"v-list-subheader--inset":n.inset,"v-list-subheader--sticky":n.sticky},C.value,n.class],style:[{textColorStyles:D},n.style]},{default:()=>{var p;return[T&>("div",{class:"v-list-subheader__text"},[((p=r.default)==null?void 0:p.call(r))??n.title])]}})}),{}}});const LN=ur({color:String,inset:Boolean,length:[Number,String],thickness:[Number,String],vertical:Boolean,...Zr(),...oa()},"VDivider"),wA=Ar()({name:"VDivider",props:LN(),setup(n,e){let{attrs:r}=e;const{themeClasses:C}=Ma(n),{textColorClasses:D,textColorStyles:T}=Xs(Cr(n,"color")),p=cn(()=>{const t={};return n.length&&(t[n.vertical?"maxHeight":"maxWidth"]=Qr(n.length)),n.thickness&&(t[n.vertical?"borderRightWidth":"borderTopWidth"]=Qr(n.thickness)),t});return Or(()=>gt("hr",{class:[{"v-divider":!0,"v-divider--inset":n.inset,"v-divider--vertical":n.vertical},C.value,D.value,n.class],style:[p.value,T.value,n.style],"aria-orientation":!r.role||r.role==="separator"?n.vertical?"vertical":"horizontal":void 0,role:`${r.role||"separator"}`},null)),{}}}),IN=ur({items:Array},"VListChildren"),TA=Ar()({name:"VListChildren",props:IN(),setup(n,e){let{slots:r}=e;return dA(),()=>{var C,D;return((C=r.default)==null?void 0:C.call(r))??((D=n.items)==null?void 0:D.map(T=>{var f,l;let{children:p,props:t,type:d,raw:g}=T;if(d==="divider")return((f=r.divider)==null?void 0:f.call(r,{props:t}))??gt(wA,t,null);if(d==="subheader")return((l=r.subheader)==null?void 0:l.call(r,{props:t}))??gt(_A,t,null);const i={subtitle:r.subtitle?a=>{var u;return(u=r.subtitle)==null?void 0:u.call(r,{...a,item:g})}:void 0,prepend:r.prepend?a=>{var u;return(u=r.prepend)==null?void 0:u.call(r,{...a,item:g})}:void 0,append:r.append?a=>{var u;return(u=r.append)==null?void 0:u.call(r,{...a,item:g})}:void 0,title:r.title?a=>{var u;return(u=r.title)==null?void 0:u.call(r,{...a,item:g})}:void 0},[M,v]=Tx.filterProps(t);return p?gt(Tx,qr({value:t==null?void 0:t.value},M),{activator:a=>{let{props:u}=a;return r.header?r.header({props:{...t,...u}}):gt(af,qr(t,u),i)},default:()=>gt(TA,{items:p},r)}):r.item?r.item({props:t}):gt(af,t,i)}))}}}),kA=ur({items:{type:Array,default:()=>[]},itemTitle:{type:[String,Array,Function],default:"title"},itemValue:{type:[String,Array,Function],default:"value"},itemChildren:{type:[Boolean,String,Array,Function],default:"children"},itemProps:{type:[Boolean,String,Array,Function],default:"props"},returnObject:Boolean,valueComparator:{type:Function,default:b0}},"list-items");function zd(n,e){const r=ph(e,n.itemTitle,e),C=ph(e,n.itemValue,r),D=ph(e,n.itemChildren),T=n.itemProps===!0?typeof e=="object"&&e!=null&&!Array.isArray(e)?"children"in e?$d(e,["children"])[1]:e:void 0:ph(e,n.itemProps),p={title:r,value:C,...T};return{title:String(p.title??""),value:p.value,props:p,children:Array.isArray(D)?MA(n,D):void 0,raw:e}}function MA(n,e){const r=[];for(const C of e)r.push(zd(n,C));return r}function x_(n){const e=cn(()=>MA(n,n.items)),r=cn(()=>e.value.some(T=>T.value===null));function C(T){return r.value||(T=T.filter(p=>p!==null)),T.map(p=>n.returnObject&&typeof p=="string"?zd(n,p):e.value.find(t=>n.valueComparator(p,t.value))||zd(n,p))}function D(T){return n.returnObject?T.map(p=>{let{raw:t}=p;return t}):T.map(p=>{let{value:t}=p;return t})}return{items:e,transformIn:C,transformOut:D}}function RN(n){return typeof n=="string"||typeof n=="number"||typeof n=="boolean"}function PN(n,e){const r=ph(e,n.itemType,"item"),C=RN(e)?e:ph(e,n.itemTitle),D=ph(e,n.itemValue,void 0),T=ph(e,n.itemChildren),p=n.itemProps===!0?$d(e,["children"])[1]:ph(e,n.itemProps),t={title:C,value:D,...p};return{type:r,title:t.title,value:t.value,props:t,children:r==="item"&&T?AA(n,T):void 0,raw:e}}function AA(n,e){const r=[];for(const C of e)r.push(PN(n,C));return r}function ON(n){return{items:cn(()=>AA(n,n.items))}}const DN=ur({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,lines:{type:[Boolean,String],default:"one"},nav:Boolean,...TN({selectStrategy:"single-leaf",openStrategy:"list"}),...Su(),...Zr(),...ds(),...sc(),...fs(),itemType:{type:String,default:"type"},...kA(),...lo(),...Si(),...oa(),...cc({variant:"text"})},"VList"),a1=Ar()({name:"VList",props:DN(),emits:{"update:selected":n=>!0,"update:opened":n=>!0,"click:open":n=>!0,"click:select":n=>!0},setup(n,e){let{slots:r}=e;const{items:C}=ON(n),{themeClasses:D}=Ma(n),{backgroundColorClasses:T,backgroundColorStyles:p}=Oo(Cr(n,"bgColor")),{borderClasses:t}=uc(n),{densityClasses:d}=Qs(n),{dimensionStyles:g}=lc(n),{elevationClasses:i}=Vs(n),{roundedClasses:M}=Eo(n),{open:v,select:f}=kN(n),l=cn(()=>n.lines?`v-list--${n.lines}-line`:void 0),a=Cr(n,"activeColor"),u=Cr(n,"baseColor"),o=Cr(n,"color");dA(),es({VListGroup:{activeColor:a,baseColor:u,color:o},VListItem:{activeClass:Cr(n,"activeClass"),activeColor:a,baseColor:u,color:o,density:Cr(n,"density"),disabled:Cr(n,"disabled"),lines:Cr(n,"lines"),nav:Cr(n,"nav"),variant:Cr(n,"variant")}});const s=Wr(!1),c=Vr();function h(_){s.value=!0}function m(_){s.value=!1}function w(_){var k;!s.value&&!(_.relatedTarget&&((k=c.value)!=null&&k.contains(_.relatedTarget)))&&S()}function y(_){if(c.value){if(_.key==="ArrowDown")S("next");else if(_.key==="ArrowUp")S("prev");else if(_.key==="Home")S("first");else if(_.key==="End")S("last");else return;_.preventDefault()}}function S(_){if(c.value)return uy(c.value,_)}return Or(()=>gt(n.tag,{ref:c,class:["v-list",{"v-list--disabled":n.disabled,"v-list--nav":n.nav},D.value,T.value,t.value,d.value,i.value,l.value,M.value,n.class],style:[p.value,g.value,n.style],tabindex:n.disabled||s.value?-1:0,role:"listbox","aria-activedescendant":void 0,onFocusin:h,onFocusout:m,onFocus:w,onKeydown:y},{default:()=>[gt(TA,{items:C.value},r)]})),{open:v,select:f,focus:S}}}),zN=Nc("v-list-img"),FN=ur({start:Boolean,end:Boolean,...Zr(),...Si()},"VListItemAction"),BN=Ar()({name:"VListItemAction",props:FN(),setup(n,e){let{slots:r}=e;return Or(()=>gt(n.tag,{class:["v-list-item-action",{"v-list-item-action--start":n.start,"v-list-item-action--end":n.end},n.class],style:n.style},r)),{}}}),NN=ur({start:Boolean,end:Boolean,...Zr(),...Si()},"VListItemMedia"),VN=Ar()({name:"VListItemMedia",props:NN(),setup(n,e){let{slots:r}=e;return Or(()=>gt(n.tag,{class:["v-list-item-media",{"v-list-item-media--start":n.start,"v-list-item-media--end":n.end},n.class],style:n.style},r)),{}}});function xb(n,e){return{x:n.x+e.x,y:n.y+e.y}}function jN(n,e){return{x:n.x-e.x,y:n.y-e.y}}function tT(n,e){if(n.side==="top"||n.side==="bottom"){const{side:r,align:C}=n,D=C==="left"?0:C==="center"?e.width/2:C==="right"?e.width:C,T=r==="top"?0:r==="bottom"?e.height:r;return xb({x:D,y:T},e)}else if(n.side==="left"||n.side==="right"){const{side:r,align:C}=n,D=r==="left"?0:r==="right"?e.width:r,T=C==="top"?0:C==="center"?e.height/2:C==="bottom"?e.height:C;return xb({x:D,y:T},e)}return xb({x:e.width/2,y:e.height/2},e)}const SA={static:GN,connected:WN},UN=ur({locationStrategy:{type:[String,Function],default:"static",validator:n=>typeof n=="function"||n in SA},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function HN(n,e){const r=Vr({}),C=Vr();to&&($f(()=>!!(e.isActive.value&&n.locationStrategy),T=>{var p,t;$r(()=>n.locationStrategy,T),wl(()=>{C.value=void 0}),typeof n.locationStrategy=="function"?C.value=(p=n.locationStrategy(e,n,r))==null?void 0:p.updateLocation:C.value=(t=SA[n.locationStrategy](e,n,r))==null?void 0:t.updateLocation}),window.addEventListener("resize",D,{passive:!0}),wl(()=>{window.removeEventListener("resize",D),C.value=void 0}));function D(T){var p;(p=C.value)==null||p.call(C,T)}return{contentStyles:r,updateLocation:C}}function GN(){}function qN(n,e){e?n.style.removeProperty("left"):n.style.removeProperty("right");const r=J2(n);return e?r.x+=parseFloat(n.style.right||0):r.x-=parseFloat(n.style.left||0),r.y-=parseFloat(n.style.top||0),r}function WN(n,e,r){xF(n.activatorEl.value)&&Object.assign(r.value,{position:"fixed",top:0,[n.isRtl.value?"right":"left"]:0});const{preferredAnchor:D,preferredOrigin:T}=X2(()=>{const l=lx(e.location,n.isRtl.value),a=e.origin==="overlap"?l:e.origin==="auto"?gb(l):lx(e.origin,n.isRtl.value);return l.side===a.side&&l.align===vb(a).align?{preferredAnchor:M5(l),preferredOrigin:M5(a)}:{preferredAnchor:l,preferredOrigin:a}}),[p,t,d,g]=["minWidth","minHeight","maxWidth","maxHeight"].map(l=>cn(()=>{const a=parseFloat(e[l]);return isNaN(a)?1/0:a})),i=cn(()=>{if(Array.isArray(e.offset))return e.offset;if(typeof e.offset=="string"){const l=e.offset.split(" ").map(parseFloat);return l.length<2&&l.push(0),l}return typeof e.offset=="number"?[e.offset,0]:[0,0]});let M=!1;const v=new ResizeObserver(()=>{M&&f()});$r([n.activatorEl,n.contentEl],(l,a)=>{let[u,o]=l,[s,c]=a;s&&v.unobserve(s),u&&v.observe(u),c&&v.unobserve(c),o&&v.observe(o)},{immediate:!0}),wl(()=>{v.disconnect()});function f(){if(M=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>M=!0)}),!n.activatorEl.value||!n.contentEl.value)return;const l=n.activatorEl.value.getBoundingClientRect(),a=qN(n.contentEl.value,n.isRtl.value),u=hy(n.contentEl.value),o=12;u.length||(u.push(document.documentElement),n.contentEl.value.style.top&&n.contentEl.value.style.left||(a.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),a.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const s=u.reduce((E,x)=>{const A=x.getBoundingClientRect(),L=new Yp({x:x===document.documentElement?0:A.x,y:x===document.documentElement?0:A.y,width:x.clientWidth,height:x.clientHeight});return E?new Yp({x:Math.max(E.left,L.left),y:Math.max(E.top,L.top),width:Math.min(E.right,L.right)-Math.max(E.left,L.left),height:Math.min(E.bottom,L.bottom)-Math.max(E.top,L.top)}):L},void 0);s.x+=o,s.y+=o,s.width-=o*2,s.height-=o*2;let c={anchor:D.value,origin:T.value};function h(E){const x=new Yp(a),A=tT(E.anchor,l),L=tT(E.origin,x);let{x:b,y:R}=jN(A,L);switch(E.anchor.side){case"top":R-=i.value[0];break;case"bottom":R+=i.value[0];break;case"left":b-=i.value[0];break;case"right":b+=i.value[0];break}switch(E.anchor.align){case"top":R-=i.value[1];break;case"bottom":R+=i.value[1];break;case"left":b-=i.value[1];break;case"right":b+=i.value[1];break}return x.x+=b,x.y+=R,x.width=Math.min(x.width,d.value),x.height=Math.min(x.height,g.value),{overflows:S5(x,s),x:b,y:R}}let m=0,w=0;const y={x:0,y:0},S={x:!1,y:!1};let _=-1;for(;!(_++>10);){const{x:E,y:x,overflows:A}=h(c);m+=E,w+=x,a.x+=E,a.y+=x;{const L=A5(c.anchor),b=A.x.before||A.x.after,R=A.y.before||A.y.after;let I=!1;if(["x","y"].forEach(O=>{if(O==="x"&&b&&!S.x||O==="y"&&R&&!S.y){const z={anchor:{...c.anchor},origin:{...c.origin}},F=O==="x"?L==="y"?vb:gb:L==="y"?gb:vb;z.anchor=F(z.anchor),z.origin=F(z.origin);const{overflows:B}=h(z);(B[O].before<=A[O].before&&B[O].after<=A[O].after||B[O].before+B[O].after<(A[O].before+A[O].after)/2)&&(c=z,I=S[O]=!0)}}),I)continue}A.x.before&&(m+=A.x.before,a.x+=A.x.before),A.x.after&&(m-=A.x.after,a.x-=A.x.after),A.y.before&&(w+=A.y.before,a.y+=A.y.before),A.y.after&&(w-=A.y.after,a.y-=A.y.after);{const L=S5(a,s);y.x=s.width-L.x.before-L.x.after,y.y=s.height-L.y.before-L.y.after,m+=L.x.before,a.x+=L.x.before,w+=L.y.before,a.y+=L.y.before}break}const k=A5(c.anchor);return Object.assign(r.value,{"--v-overlay-anchor-origin":`${c.anchor.side} ${c.anchor.align}`,transformOrigin:`${c.origin.side} ${c.origin.align}`,top:Qr(_b(w)),left:n.isRtl.value?void 0:Qr(_b(m)),right:n.isRtl.value?Qr(_b(-m)):void 0,minWidth:Qr(k==="y"?Math.min(p.value,l.width):p.value),maxWidth:Qr(nT(Zs(y.x,p.value===1/0?0:p.value,d.value))),maxHeight:Qr(nT(Zs(y.y,t.value===1/0?0:t.value,g.value)))}),{available:y,contentBox:a}}return $r(()=>[D.value,T.value,e.offset,e.minWidth,e.minHeight,e.maxWidth,e.maxHeight],()=>f()),Ua(()=>{const l=f();if(!l)return;const{available:a,contentBox:u}=l;u.height>a.y&&requestAnimationFrame(()=>{f(),requestAnimationFrame(()=>{f()})})}),{updateLocation:f}}function _b(n){return Math.round(n*devicePixelRatio)/devicePixelRatio}function nT(n){return Math.ceil(n*devicePixelRatio)/devicePixelRatio}let kx=!0;const py=[];function YN(n){!kx||py.length?(py.push(n),Mx()):(kx=!1,n(),Mx())}let rT=-1;function Mx(){cancelAnimationFrame(rT),rT=requestAnimationFrame(()=>{const n=py.shift();n&&n(),py.length?Mx():kx=!0})}const Mv={none:null,close:XN,block:KN,reposition:JN},$N=ur({scrollStrategy:{type:[String,Function],default:"block",validator:n=>typeof n=="function"||n in Mv}},"VOverlay-scroll-strategies");function ZN(n,e){if(!to)return;let r;wu(async()=>{r==null||r.stop(),e.isActive.value&&n.scrollStrategy&&(r=Um(),await Ua(),r.active&&r.run(()=>{var C;typeof n.scrollStrategy=="function"?n.scrollStrategy(e,n,r):(C=Mv[n.scrollStrategy])==null||C.call(Mv,e,n,r)}))}),wl(()=>{r==null||r.stop()})}function XN(n){function e(r){n.isActive.value=!1}CA(n.activatorEl.value??n.contentEl.value,e)}function KN(n,e){var p;const r=(p=n.root.value)==null?void 0:p.offsetParent,C=[...new Set([...hy(n.activatorEl.value,e.contained?r:void 0),...hy(n.contentEl.value,e.contained?r:void 0)])].filter(t=>!t.classList.contains("v-overlay-scroll-blocked")),D=window.innerWidth-document.documentElement.offsetWidth,T=(t=>n_(t)&&t)(r||document.documentElement);T&&n.root.value.classList.add("v-overlay--scroll-blocked"),C.forEach((t,d)=>{t.style.setProperty("--v-body-scroll-x",Qr(-t.scrollLeft)),t.style.setProperty("--v-body-scroll-y",Qr(-t.scrollTop)),t!==document.documentElement&&t.style.setProperty("--v-scrollbar-offset",Qr(D)),t.classList.add("v-overlay-scroll-blocked")}),wl(()=>{C.forEach((t,d)=>{const g=parseFloat(t.style.getPropertyValue("--v-body-scroll-x")),i=parseFloat(t.style.getPropertyValue("--v-body-scroll-y"));t.style.removeProperty("--v-body-scroll-x"),t.style.removeProperty("--v-body-scroll-y"),t.style.removeProperty("--v-scrollbar-offset"),t.classList.remove("v-overlay-scroll-blocked"),t.scrollLeft=-g,t.scrollTop=-i}),T&&n.root.value.classList.remove("v-overlay--scroll-blocked")})}function JN(n,e,r){let C=!1,D=-1,T=-1;function p(t){YN(()=>{var i,M;const d=performance.now();(M=(i=n.updateLocation).value)==null||M.call(i,t),C=(performance.now()-d)/(1e3/60)>2})}T=(typeof requestIdleCallback>"u"?t=>t():requestIdleCallback)(()=>{r.run(()=>{CA(n.activatorEl.value??n.contentEl.value,t=>{C?(cancelAnimationFrame(D),D=requestAnimationFrame(()=>{D=requestAnimationFrame(()=>{p(t)})})):p(t)})})}),wl(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(T),cancelAnimationFrame(D)})}function CA(n,e){const r=[document,...hy(n)];r.forEach(C=>{C.addEventListener("scroll",e,{passive:!0})}),wl(()=>{r.forEach(C=>{C.removeEventListener("scroll",e)})})}const Ax=Symbol.for("vuetify:v-menu"),EA=ur({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function LA(n,e){const r={},C=D=>()=>{if(!to)return Promise.resolve(!0);const T=D==="openDelay";return r.closeDelay&&window.clearTimeout(r.closeDelay),delete r.closeDelay,r.openDelay&&window.clearTimeout(r.openDelay),delete r.openDelay,new Promise(p=>{const t=parseInt(n[D]??0,10);r[D]=window.setTimeout(()=>{e==null||e(T),p(T)},t)})};return{runCloseDelay:C("closeDelay"),runOpenDelay:C("openDelay")}}const QN=ur({activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...EA()},"VOverlay-activator");function eV(n,e){let{isActive:r,isTop:C}=e;const D=Vr();let T=!1,p=!1,t=!0;const d=cn(()=>n.openOnFocus||n.openOnFocus==null&&n.openOnHover),g=cn(()=>n.openOnClick||n.openOnClick==null&&!n.openOnHover&&!d.value),{runOpenDelay:i,runCloseDelay:M}=LA(n,c=>{c===(n.openOnHover&&T||d.value&&p)&&!(n.openOnHover&&r.value&&!C.value)&&(r.value!==c&&(t=!0),r.value=c)}),v={onClick:c=>{c.stopPropagation(),D.value=c.currentTarget||c.target,r.value=!r.value},onMouseenter:c=>{var h;(h=c.sourceCapabilities)!=null&&h.firesTouchEvents||(T=!0,D.value=c.currentTarget||c.target,i())},onMouseleave:c=>{T=!1,M()},onFocus:c=>{l0(c.target,":focus-visible")!==!1&&(p=!0,c.stopPropagation(),D.value=c.currentTarget||c.target,i())},onBlur:c=>{p=!1,c.stopPropagation(),M()}},f=cn(()=>{const c={};return g.value&&(c.onClick=v.onClick),n.openOnHover&&(c.onMouseenter=v.onMouseenter,c.onMouseleave=v.onMouseleave),d.value&&(c.onFocus=v.onFocus,c.onBlur=v.onBlur),c}),l=cn(()=>{const c={};if(n.openOnHover&&(c.onMouseenter=()=>{T=!0,i()},c.onMouseleave=()=>{T=!1,M()}),d.value&&(c.onFocusin=()=>{p=!0,i()},c.onFocusout=()=>{p=!1,M()}),n.closeOnContentClick){const h=ka(Ax,null);c.onClick=()=>{r.value=!1,h==null||h.closeParents()}}return c}),a=cn(()=>{const c={};return n.openOnHover&&(c.onMouseenter=()=>{t&&(T=!0,t=!1,i())},c.onMouseleave=()=>{T=!1,M()}),c});$r(C,c=>{c&&(n.openOnHover&&!T&&(!d.value||!p)||d.value&&!p&&(!n.openOnHover||!T))&&(r.value=!1)});const u=Vr();wu(()=>{u.value&&Ua(()=>{D.value=ox(u.value)})});const o=Ss("useActivator");let s;return $r(()=>!!n.activator,c=>{c&&to?(s=Um(),s.run(()=>{tV(n,o,{activatorEl:D,activatorEvents:f})})):s&&s.stop()},{flush:"post",immediate:!0}),wl(()=>{s==null||s.stop()}),{activatorEl:D,activatorRef:u,activatorEvents:f,contentEvents:l,scrimEvents:a}}function tV(n,e,r){let{activatorEl:C,activatorEvents:D}=r;$r(()=>n.activator,(d,g)=>{if(g&&d!==g){const i=t(g);i&&p(i)}d&&Ua(()=>T())},{immediate:!0}),$r(()=>n.activatorProps,()=>{T()}),wl(()=>{p()});function T(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:t(),g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:n.activatorProps;d&&$z(d,qr(D.value,g))}function p(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:t(),g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:n.activatorProps;d&&Zz(d,qr(D.value,g))}function t(){var i,M;let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:n.activator,g;if(d)if(d==="parent"){let v=(M=(i=e==null?void 0:e.proxy)==null?void 0:i.$el)==null?void 0:M.parentNode;for(;v!=null&&v.hasAttribute("data-no-activator");)v=v.parentNode;g=v}else typeof d=="string"?g=document.querySelector(d):"$el"in d?g=d.$el:g=d;return C.value=(g==null?void 0:g.nodeType)===Node.ELEMENT_NODE?g:null,C.value}}function IA(){if(!to)return Wr(!1);const{ssr:n}=ep();if(n){const e=Wr(!1);return Ks(()=>{e.value=!0}),e}else return Wr(!0)}const o1=ur({eager:Boolean},"lazy");function __(n,e){const r=Wr(!1),C=cn(()=>r.value||n.eager||e.value);$r(e,()=>r.value=!0);function D(){n.eager||(r.value=!1)}return{isBooted:r,hasContent:C,onAfterLeave:D}}function E0(){const e=Ss("useScopeId").vnode.scopeId;return{scopeId:e?{[e]:""}:void 0}}const iT=Symbol.for("vuetify:stack"),am=yl([]);function nV(n,e,r){const C=Ss("useStack"),D=!r,T=ka(iT,void 0),p=yl({activeChildren:new Set});ts(iT,p);const t=Wr(+e.value);$f(n,()=>{var M;const i=(M=am.at(-1))==null?void 0:M[1];t.value=i?i+10:+e.value,D&&am.push([C.uid,t.value]),T==null||T.activeChildren.add(C.uid),wl(()=>{if(D){const v=wi(am).findIndex(f=>f[0]===C.uid);am.splice(v,1)}T==null||T.activeChildren.delete(C.uid)})});const d=Wr(!0);D&&wu(()=>{var M;const i=((M=am.at(-1))==null?void 0:M[0])===C.uid;setTimeout(()=>d.value=i)});const g=cn(()=>!p.activeChildren.size);return{globalTop:Hm(d),localTop:g,stackStyles:cn(()=>({zIndex:t.value}))}}function rV(n){return{teleportTarget:cn(()=>{const r=n.value;if(r===!0||!to)return;const C=r===!1?document.body:typeof r=="string"?document.querySelector(r):r;if(C==null)return;let D=C.querySelector(":scope > .v-overlay-container");return D||(D=document.createElement("div"),D.className="v-overlay-container",C.appendChild(D)),D})}}function iV(){return!0}function RA(n,e,r){if(!n||PA(n,r)===!1)return!1;const C=S6(e);if(typeof ShadowRoot<"u"&&C instanceof ShadowRoot&&C.host===n.target)return!1;const D=(typeof r.value=="object"&&r.value.include||(()=>[]))();return D.push(e),!D.some(T=>T==null?void 0:T.contains(n.target))}function PA(n,e){return(typeof e.value=="object"&&e.value.closeConditional||iV)(n)}function aV(n,e,r){const C=typeof r.value=="function"?r.value:r.value.handler;e._clickOutside.lastMousedownWasOutside&&RA(n,e,r)&&setTimeout(()=>{PA(n,r)&&C&&C(n)},0)}function aT(n,e){const r=S6(n);e(document),typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&e(r)}const OA={mounted(n,e){const r=D=>aV(D,n,e),C=D=>{n._clickOutside.lastMousedownWasOutside=RA(D,n,e)};aT(n,D=>{D.addEventListener("click",r,!0),D.addEventListener("mousedown",C,!0)}),n._clickOutside||(n._clickOutside={lastMousedownWasOutside:!1}),n._clickOutside[e.instance.$.uid]={onClick:r,onMousedown:C}},unmounted(n,e){n._clickOutside&&(aT(n,r=>{var T;if(!r||!((T=n._clickOutside)!=null&&T[e.instance.$.uid]))return;const{onClick:C,onMousedown:D}=n._clickOutside[e.instance.$.uid];r.removeEventListener("click",C,!0),r.removeEventListener("mousedown",D,!0)}),delete n._clickOutside[e.instance.$.uid])}};function oV(n){const{modelValue:e,color:r,...C}=n;return gt(bh,{name:"fade-transition",appear:!0},{default:()=>[n.modelValue&>("div",qr({class:["v-overlay__scrim",n.color.backgroundColorClasses.value],style:n.color.backgroundColorStyles.value},C),null)]})}const cg=ur({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...QN(),...Zr(),...sc(),...o1(),...UN(),...$N(),...oa(),...df()},"VOverlay"),of=Ar()({name:"VOverlay",directives:{ClickOutside:OA},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...cg()},emits:{"click:outside":n=>!0,"update:modelValue":n=>!0,afterLeave:()=>!0},setup(n,e){let{slots:r,attrs:C,emit:D}=e;const T=xi(n,"modelValue"),p=cn({get:()=>T.value,set:z=>{z&&n.disabled||(T.value=z)}}),{teleportTarget:t}=rV(cn(()=>n.attach||n.contained)),{themeClasses:d}=Ma(n),{rtlClasses:g,isRtl:i}=Cs(),{hasContent:M,onAfterLeave:v}=__(n,p),f=Oo(cn(()=>typeof n.scrim=="string"?n.scrim:null)),{globalTop:l,localTop:a,stackStyles:u}=nV(p,Cr(n,"zIndex"),n._disableGlobalStack),{activatorEl:o,activatorRef:s,activatorEvents:c,contentEvents:h,scrimEvents:m}=eV(n,{isActive:p,isTop:a}),{dimensionStyles:w}=lc(n),y=IA(),{scopeId:S}=E0();$r(()=>n.disabled,z=>{z&&(p.value=!1)});const _=Vr(),k=Vr(),{contentStyles:E,updateLocation:x}=HN(n,{isRtl:i,contentEl:k,activatorEl:o,isActive:p});ZN(n,{root:_,contentEl:k,activatorEl:o,isActive:p,updateLocation:x});function A(z){D("click:outside",z),n.persistent?O():p.value=!1}function L(){return p.value&&l.value}to&&$r(p,z=>{z?window.addEventListener("keydown",b):window.removeEventListener("keydown",b)},{immediate:!0});function b(z){var F,B;z.key==="Escape"&&l.value&&(n.persistent?O():(p.value=!1,(F=k.value)!=null&&F.contains(document.activeElement)&&((B=o.value)==null||B.focus())))}const R=$6();$f(()=>n.closeOnBack,()=>{YB(R,z=>{l.value&&p.value?(z(!1),n.persistent?O():p.value=!1):z()})});const I=Vr();$r(()=>p.value&&(n.absolute||n.contained)&&t.value==null,z=>{if(z){const F=t_(_.value);F&&F!==document.scrollingElement&&(I.value=F.scrollTop)}});function O(){n.noClickAnimation||k.value&&Dd(k.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:zm})}return Or(()=>{var z;return gt(Yr,null,[(z=r.activator)==null?void 0:z.call(r,{isActive:p.value,props:qr({ref:s},c.value,n.activatorProps)}),y.value&&M.value&>(BE,{disabled:!t.value,to:t.value},{default:()=>[gt("div",qr({class:["v-overlay",{"v-overlay--absolute":n.absolute||n.contained,"v-overlay--active":p.value,"v-overlay--contained":n.contained},d.value,g.value,n.class],style:[u.value,{top:Qr(I.value)},n.style],ref:_},S,C),[gt(oV,qr({color:f,modelValue:p.value&&!!n.scrim},m.value),null),gt(Oc,{appear:!0,persisted:!0,transition:n.transition,target:o.value,onAfterLeave:()=>{v(),D("afterLeave")}},{default:()=>{var F;return[Co(gt("div",qr({ref:k,class:["v-overlay__content",n.contentClass],style:[w.value,E.value]},h.value,n.contentProps),[(F=r.default)==null?void 0:F.call(r,{isActive:p})]),[[kh,p.value],[Tu("click-outside"),{handler:A,closeConditional:L,include:()=>[o.value]}]])]}})])]})])}),{activatorEl:o,animateClick:O,contentEl:k,globalTop:l,localTop:a,updateLocation:x}}}),wb=Symbol("Forwarded refs");function Tb(n,e){let r=n;for(;r;){const C=Reflect.getOwnPropertyDescriptor(r,e);if(C)return C;r=Object.getPrototypeOf(r)}}function Vc(n){for(var e=arguments.length,r=new Array(e>1?e-1:0),C=1;C!0},setup(n,e){let{slots:r}=e;const C=xi(n,"modelValue"),{scopeId:D}=E0(),T=Js(),p=cn(()=>n.id||`v-menu-${T}`),t=Vr(),d=ka(Ax,null),g=Wr(0);ts(Ax,{register(){++g.value},unregister(){--g.value},closeParents(){setTimeout(()=>{g.value||(C.value=!1,d==null||d.closeParents())},40)}});async function i(a){var s,c,h;const u=a.relatedTarget,o=a.target;await Ua(),C.value&&u!==o&&((s=t.value)!=null&&s.contentEl)&&((c=t.value)!=null&&c.globalTop)&&![document,t.value.contentEl].includes(o)&&!t.value.contentEl.contains(o)&&((h=Dm(t.value.contentEl)[0])==null||h.focus())}$r(C,a=>{a?(d==null||d.register(),document.addEventListener("focusin",i,{once:!0})):(d==null||d.unregister(),document.removeEventListener("focusin",i))});function M(){d==null||d.closeParents()}function v(a){var u,o,s;n.disabled||a.key==="Tab"&&(p6(Dm((u=t.value)==null?void 0:u.contentEl,!1),a.shiftKey?"prev":"next",h=>h.tabIndex>=0)||(C.value=!1,(s=(o=t.value)==null?void 0:o.activatorEl)==null||s.focus()))}function f(a){var o;if(n.disabled)return;const u=(o=t.value)==null?void 0:o.contentEl;u&&C.value?a.key==="ArrowDown"?(a.preventDefault(),uy(u,"next")):a.key==="ArrowUp"&&(a.preventDefault(),uy(u,"prev")):["ArrowDown","ArrowUp"].includes(a.key)&&(C.value=!0,a.preventDefault(),setTimeout(()=>setTimeout(()=>f(a))))}const l=cn(()=>qr({"aria-haspopup":"menu","aria-expanded":String(C.value),"aria-owns":p.value,onKeydown:f},n.activatorProps));return Or(()=>{const[a]=of.filterProps(n);return gt(of,qr({ref:t,class:["v-menu",n.class],style:n.style},a,{modelValue:C.value,"onUpdate:modelValue":u=>C.value=u,absolute:!0,activatorProps:l.value,"onClick:outside":M,onKeydown:v},D),{activator:r.activator,default:function(){for(var u=arguments.length,o=new Array(u),s=0;s{var c;return[(c=r.default)==null?void 0:c.call(r,...o)]}})}})}),Vc({id:p,ΨopenChildren:g},t)}});const lV=ur({active:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...Zr(),...df({transition:{component:l_}})},"VCounter"),l1=Ar()({name:"VCounter",functional:!0,props:lV(),setup(n,e){let{slots:r}=e;const C=cn(()=>n.max?`${n.value} / ${n.max}`:String(n.value));return Or(()=>gt(Oc,{transition:n.transition},{default:()=>[Co(gt("div",{class:["v-counter",n.class],style:n.style},[r.default?r.default({counter:C.value,max:n.max,value:n.value}):C.value]),[[kh,n.active]])]})),{}}});const uV=ur({floating:Boolean,...Zr()},"VFieldLabel"),um=Ar()({name:"VFieldLabel",props:uV(),setup(n,e){let{slots:r}=e;return Or(()=>gt(C0,{class:["v-field-label",{"v-field-label--floating":n.floating},n.class],style:n.style,"aria-hidden":n.floating||void 0},r)),{}}}),cV=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],u1=ur({appendInnerIcon:bi,bgColor:String,clearable:Boolean,clearIcon:{type:bi,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:bi,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:n=>cV.includes(n)},"onClick:clear":yh(),"onClick:appendInner":yh(),"onClick:prependInner":yh(),...Zr(),...m_(),...lo(),...oa()},"VField"),hg=Ar()({name:"VField",inheritAttrs:!1,props:{id:String,...r1(),...u1()},emits:{"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:C,slots:D}=e;const{themeClasses:T}=Ma(n),{loaderClasses:p}=t1(n),{focusClasses:t,isFocused:d,focus:g,blur:i}=rd(n),{InputIcon:M}=sA(n),{roundedClasses:v}=Eo(n),{rtlClasses:f}=Cs(),l=cn(()=>n.dirty||n.active),a=cn(()=>!n.singleLine&&!!(n.label||D.label)),u=Js(),o=cn(()=>n.id||`input-${u}`),s=cn(()=>`${o.value}-messages`),c=Vr(),h=Vr(),m=Vr(),w=cn(()=>["plain","underlined"].includes(n.variant)),{backgroundColorClasses:y,backgroundColorStyles:S}=Oo(Cr(n,"bgColor")),{textColorClasses:_,textColorStyles:k}=Xs(cn(()=>n.error||n.disabled?void 0:l.value&&d.value?n.color:n.baseColor));$r(l,A=>{if(a.value){const L=c.value.$el,b=h.value.$el;requestAnimationFrame(()=>{const R=J2(L),I=b.getBoundingClientRect(),O=I.x-R.x,z=I.y-R.y-(R.height/2-I.height/2),F=I.width/.75,B=Math.abs(F-R.width)>1?{maxWidth:Qr(F)}:void 0,N=getComputedStyle(L),W=getComputedStyle(b),j=parseFloat(N.transitionDuration)*1e3||150,$=parseFloat(W.getPropertyValue("--v-field-label-scale")),U=W.getPropertyValue("color");L.style.visibility="visible",b.style.visibility="hidden",Dd(L,{transform:`translate(${O}px, ${z}px) scale(${$})`,color:U,...B},{duration:j,easing:zm,direction:A?"normal":"reverse"}).finished.then(()=>{L.style.removeProperty("visibility"),b.style.removeProperty("visibility")})})}},{flush:"post"});const E=cn(()=>({isActive:l,isFocused:d,controlRef:m,blur:i,focus:g}));function x(A){A.target!==document.activeElement&&A.preventDefault()}return Or(()=>{var O,z,F;const A=n.variant==="outlined",L=D["prepend-inner"]||n.prependInnerIcon,b=!!(n.clearable||D.clear),R=!!(D["append-inner"]||n.appendInnerIcon||b),I=D.label?D.label({...E.value,label:n.label,props:{for:o.value}}):n.label;return gt("div",qr({class:["v-field",{"v-field--active":l.value,"v-field--appended":R,"v-field--center-affix":n.centerAffix??!w.value,"v-field--disabled":n.disabled,"v-field--dirty":n.dirty,"v-field--error":n.error,"v-field--flat":n.flat,"v-field--has-background":!!n.bgColor,"v-field--persistent-clear":n.persistentClear,"v-field--prepended":L,"v-field--reverse":n.reverse,"v-field--single-line":n.singleLine,"v-field--no-label":!I,[`v-field--variant-${n.variant}`]:!0},T.value,y.value,t.value,p.value,v.value,f.value,n.class],style:[S.value,n.style],onClick:x},r),[gt("div",{class:"v-field__overlay"},null),gt(g_,{name:"v-field",active:!!n.loading,color:n.error?"error":typeof n.loading=="string"?n.loading:n.color},{default:D.loader}),L&>("div",{key:"prepend",class:"v-field__prepend-inner"},[n.prependInnerIcon&>(M,{key:"prepend-icon",name:"prependInner"},null),(O=D["prepend-inner"])==null?void 0:O.call(D,E.value)]),gt("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(n.variant)&&a.value&>(um,{key:"floating-label",ref:h,class:[_.value],floating:!0,for:o.value,style:k.value},{default:()=>[I]}),gt(um,{ref:c,for:o.value},{default:()=>[I]}),(z=D.default)==null?void 0:z.call(D,{...E.value,props:{id:o.value,class:"v-field__input","aria-describedby":s.value},focus:g,blur:i})]),b&>(u_,{key:"clear"},{default:()=>[Co(gt("div",{class:"v-field__clearable",onMousedown:B=>{B.preventDefault(),B.stopPropagation()}},[D.clear?D.clear():gt(M,{name:"clear"},null)]),[[kh,n.dirty]])]}),R&>("div",{key:"append",class:"v-field__append-inner"},[(F=D["append-inner"])==null?void 0:F.call(D,E.value),n.appendInnerIcon&>(M,{key:"append-icon",name:"appendInner"},null)]),gt("div",{class:["v-field__outline",_.value],style:k.value},[A&>(Yr,null,[gt("div",{class:"v-field__outline__start"},null),a.value&>("div",{class:"v-field__outline__notch"},[gt(um,{ref:h,floating:!0,for:o.value},{default:()=>[I]})]),gt("div",{class:"v-field__outline__end"},null)]),w.value&&a.value&>(um,{ref:h,floating:!0,for:o.value},{default:()=>[I]})])])}),{controlRef:m}}});function w_(n){const e=Object.keys(hg.props).filter(r=>!Z2(r)&&r!=="class"&&r!=="style");return $d(n,e)}const hV=["color","file","time","date","datetime-local","week","month"],c1=ur({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object,...mf(),...u1()},"VTextField"),Kd=Ar()({name:"VTextField",directives:{Intersect:og},inheritAttrs:!1,props:c1(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:C,slots:D}=e;const T=xi(n,"modelValue"),{isFocused:p,focus:t,blur:d}=rd(n),g=cn(()=>typeof n.counterValue=="function"?n.counterValue(T.value):(T.value??"").toString().length),i=cn(()=>{if(r.maxlength)return r.maxlength;if(!(!n.counter||typeof n.counter!="number"&&typeof n.counter!="string"))return n.counter}),M=cn(()=>["plain","underlined"].includes(n.variant));function v(w,y){var S,_;!n.autofocus||!w||(_=(S=y[0].target)==null?void 0:S.focus)==null||_.call(S)}const f=Vr(),l=Vr(),a=Vr(),u=cn(()=>hV.includes(n.type)||n.persistentPlaceholder||p.value||n.active);function o(){var w;a.value!==document.activeElement&&((w=a.value)==null||w.focus()),p.value||t()}function s(w){C("mousedown:control",w),w.target!==a.value&&(o(),w.preventDefault())}function c(w){o(),C("click:control",w)}function h(w){w.stopPropagation(),o(),Ua(()=>{T.value=null,K2(n["onClick:clear"],w)})}function m(w){var S;const y=w.target;if(T.value=y.value,(S=n.modelModifiers)!=null&&S.trim&&["text","search","password","tel","url"].includes(n.type)){const _=[y.selectionStart,y.selectionEnd];Ua(()=>{y.selectionStart=_[0],y.selectionEnd=_[1]})}}return Or(()=>{const w=!!(D.counter||n.counter||n.counterValue),y=!!(w||D.details),[S,_]=Qd(r),[{modelValue:k,...E}]=Bs.filterProps(n),[x]=w_(n);return gt(Bs,qr({ref:f,modelValue:T.value,"onUpdate:modelValue":A=>T.value=A,class:["v-text-field",{"v-text-field--prefixed":n.prefix,"v-text-field--suffixed":n.suffix,"v-text-field--plain-underlined":["plain","underlined"].includes(n.variant)},n.class],style:n.style},S,E,{centerAffix:!M.value,focused:p.value}),{...D,default:A=>{let{id:L,isDisabled:b,isDirty:R,isReadonly:I,isValid:O}=A;return gt(hg,qr({ref:l,onMousedown:s,onClick:c,"onClick:clear":h,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"],role:n.role},x,{id:L.value,active:u.value||R.value,dirty:R.value||n.dirty,disabled:b.value,focused:p.value,error:O.value===!1}),{...D,default:z=>{let{props:{class:F,...B}}=z;const N=Co(gt("input",qr({ref:a,value:T.value,onInput:m,autofocus:n.autofocus,readonly:I.value,disabled:b.value,name:n.name,placeholder:n.placeholder,size:1,type:n.type,onFocus:o,onBlur:d},B,_),null),[[Tu("intersect"),{handler:v},null,{once:!0}]]);return gt(Yr,null,[n.prefix&>("span",{class:"v-text-field__prefix"},[gt("span",{class:"v-text-field__prefix__text"},[n.prefix])]),D.default?gt("div",{class:F,"data-no-activator":""},[D.default(),N]):tf(N,{class:F}),n.suffix&>("span",{class:"v-text-field__suffix"},[gt("span",{class:"v-text-field__suffix__text"},[n.suffix])])])}})},details:y?A=>{var L;return gt(Yr,null,[(L=D.details)==null?void 0:L.call(D,A),w&>(Yr,null,[gt("span",null,null),gt(l1,{active:n.persistentCounter||p.value,value:g.value,max:i.value},D.counter)])])}:void 0})}),Vc({},f,l,a)}});const fV=ur({renderless:Boolean,...Zr()},"VVirtualScrollItem"),dV=Ar()({name:"VVirtualScrollItem",inheritAttrs:!1,props:fV(),emits:{"update:height":n=>!0},setup(n,e){let{attrs:r,emit:C,slots:D}=e;const{resizeRef:T,contentRect:p}=Th(void 0,"border");$r(()=>{var t;return(t=p.value)==null?void 0:t.height},t=>{t!=null&&C("update:height",t)}),Or(()=>{var t,d;return n.renderless?gt(Yr,null,[(t=D.default)==null?void 0:t.call(D,{itemRef:T})]):gt("div",qr({ref:T,class:["v-virtual-scroll__item",n.class],style:n.style},r),[(d=D.default)==null?void 0:d.call(D)])})}}),oT=-1,sT=1,pV=ur({itemHeight:{type:[Number,String],default:48}},"virtual");function mV(n,e,r){const C=Wr(0),D=Wr(n.itemHeight),T=cn({get:()=>parseInt(D.value??0,10),set(y){D.value=y}}),p=Vr(),{resizeRef:t,contentRect:d}=Th();wu(()=>{t.value=p.value});const g=ep(),i=new Map;let M=Array.from({length:e.value.length});const v=cn(()=>{const y=(!d.value||p.value===document.documentElement?g.height.value:d.value.height)-((r==null?void 0:r.value)??0);return Math.ceil(y/T.value*1.7+1)});function f(y,S){T.value=Math.max(T.value,S),M[y]=S,i.set(e.value[y],S)}function l(y){return M.slice(0,y).reduce((S,_)=>S+(_||T.value),0)}function a(y){const S=e.value.length;let _=0,k=0;for(;k=A&&(C.value=Zs(x,0,e.value.length-v.value)),u=S}function s(y){if(!p.value)return;const S=l(y);p.value.scrollTop=S}const c=cn(()=>Math.min(e.value.length,C.value+v.value)),h=cn(()=>e.value.slice(C.value,c.value).map((y,S)=>({raw:y,index:S+C.value}))),m=cn(()=>l(C.value)),w=cn(()=>l(e.value.length)-l(c.value));return $r(()=>e.value.length,()=>{M=Kh(e.value.length).map(()=>T.value),i.forEach((y,S)=>{const _=e.value.indexOf(S);_===-1?i.delete(S):M[_]=y})}),{containerRef:p,computedItems:h,itemHeight:T,paddingTop:m,paddingBottom:w,scrollToIndex:s,handleScroll:o,handleItemResize:f}}const gV=ur({items:{type:Array,default:()=>[]},renderless:Boolean,...pV(),...Zr(),...sc()},"VVirtualScroll"),h1=Ar()({name:"VVirtualScroll",props:gV(),setup(n,e){let{slots:r}=e;const C=Ss("VVirtualScroll"),{dimensionStyles:D}=lc(n),{containerRef:T,handleScroll:p,handleItemResize:t,scrollToIndex:d,paddingTop:g,paddingBottom:i,computedItems:M}=mV(n,Cr(n,"items"));return $f(()=>n.renderless,()=>{Ks(()=>{var v;T.value=t_(C.vnode.el,!0),(v=T.value)==null||v.addEventListener("scroll",p)}),wl(()=>{var v;(v=T.value)==null||v.removeEventListener("scroll",p)})}),Or(()=>{const v=M.value.map(f=>gt(dV,{key:f.index,renderless:n.renderless,"onUpdate:height":l=>t(f.index,l)},{default:l=>{var a;return(a=r.default)==null?void 0:a.call(r,{item:f.raw,index:f.index,...l})}}));return n.renderless?gt(Yr,null,[gt("div",{class:"v-virtual-scroll__spacer",style:{paddingTop:Qr(g.value)}},null),v,gt("div",{class:"v-virtual-scroll__spacer",style:{paddingBottom:Qr(i.value)}},null)]):gt("div",{ref:T,class:["v-virtual-scroll",n.class],onScroll:p,style:[D.value,n.style]},[gt("div",{class:"v-virtual-scroll__container",style:{paddingTop:Qr(g.value),paddingBottom:Qr(i.value)}},[v])])}),{scrollToIndex:d}}});function T_(n,e){const r=Wr(!1);let C;function D(t){cancelAnimationFrame(C),r.value=!0,C=requestAnimationFrame(()=>{C=requestAnimationFrame(()=>{r.value=!1})})}async function T(){await new Promise(t=>requestAnimationFrame(t)),await new Promise(t=>requestAnimationFrame(t)),await new Promise(t=>requestAnimationFrame(t)),await new Promise(t=>{if(r.value){const d=$r(r,()=>{d(),t()})}else t()})}async function p(t){var i,M;if(t.key==="Tab"&&((i=e.value)==null||i.focus()),!["PageDown","PageUp","Home","End"].includes(t.key))return;const d=(M=n.value)==null?void 0:M.$el;if(!d)return;(t.key==="Home"||t.key==="End")&&d.scrollTo({top:t.key==="Home"?0:d.scrollHeight,behavior:"smooth"}),await T();const g=d.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");if(t.key==="PageDown"||t.key==="Home"){const v=d.getBoundingClientRect().top;for(const f of g)if(f.getBoundingClientRect().top>=v){f.focus();break}}else{const v=d.getBoundingClientRect().bottom;for(const f of[...g].reverse())if(f.getBoundingClientRect().bottom<=v){f.focus();break}}}return{onListScroll:D,onListKeydown:p}}const k_=ur({chips:Boolean,closableChips:Boolean,closeText:{type:String,default:"$vuetify.close"},openText:{type:String,default:"$vuetify.open"},eager:Boolean,hideNoData:Boolean,hideSelected:Boolean,menu:Boolean,menuIcon:{type:bi,default:"$dropdown"},menuProps:{type:Object},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,itemColor:String,...kA({itemChildren:!1})},"Select"),vV=ur({...k_(),...ic(c1({modelValue:null,role:"button"}),["validationValue","dirty","appendInnerIcon"]),...df({transition:{component:Qy}})},"VSelect"),yV=Ar()({name:"VSelect",props:vV(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,"update:menu":n=>!0},setup(n,e){let{slots:r}=e;const{t:C}=oc(),D=Vr(),T=Vr(),p=Vr(),t=xi(n,"menu"),d=cn({get:()=>t.value,set:R=>{var I;t.value&&!R&&((I=T.value)!=null&&I.ΨopenChildren)||(t.value=R)}}),{items:g,transformIn:i,transformOut:M}=x_(n),v=xi(n,"modelValue",[],R=>i(R===null?[null]:bu(R)),R=>{const I=M(R);return n.multiple?I:I[0]??null}),f=i1(),l=cn(()=>v.value.map(R=>R.value)),a=Wr(!1),u=cn(()=>d.value?n.closeText:n.openText);let o="",s;const c=cn(()=>n.hideSelected?g.value.filter(R=>!v.value.some(I=>I===R)):g.value),h=cn(()=>n.hideNoData&&!g.value.length||n.readonly||(f==null?void 0:f.isReadonly.value)),m=Vr(),{onListScroll:w,onListKeydown:y}=T_(m,D);function S(R){n.openOnClear&&(d.value=!0)}function _(){h.value||(d.value=!d.value)}function k(R){var B,N;if(!R.key||n.readonly||f!=null&&f.isReadonly.value)return;["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(R.key)&&R.preventDefault(),["Enter","ArrowDown"," "].includes(R.key)&&(d.value=!0),["Escape","Tab"].includes(R.key)&&(d.value=!1),R.key==="Home"?(B=m.value)==null||B.focus("first"):R.key==="End"&&((N=m.value)==null||N.focus("last"));const I=1e3;function O(W){const j=W.key.length===1,$=!W.ctrlKey&&!W.metaKey&&!W.altKey;return j&&$}if(n.multiple||!O(R))return;const z=performance.now();z-s>I&&(o=""),o+=R.key.toLowerCase(),s=z;const F=g.value.find(W=>W.title.toLowerCase().startsWith(o));F!==void 0&&(v.value=[F])}function E(R){if(n.multiple){const I=v.value.findIndex(O=>n.valueComparator(O.value,R.value));if(I===-1)v.value=[...v.value,R];else{const O=[...v.value];O.splice(I,1),v.value=O}}else v.value=[R],d.value=!1}function x(R){var I;(I=m.value)!=null&&I.$el.contains(R.relatedTarget)||(d.value=!1)}function A(){var R;a.value&&((R=D.value)==null||R.focus())}function L(R){a.value=!0}function b(R){if(R==null)v.value=[];else if(l0(D.value,":autofill")||l0(D.value,":-webkit-autofill")){const I=g.value.find(O=>O.title===R);I&&E(I)}else D.value&&(D.value.value="")}return $r(d,()=>{if(!n.hideSelected&&d.value&&v.value.length){const R=c.value.findIndex(I=>v.value.some(O=>n.valueComparator(O.value,I.value)));to&&window.requestAnimationFrame(()=>{var I;R>=0&&((I=p.value)==null||I.scrollToIndex(R))})}}),Or(()=>{const R=!!(n.chips||r.chip),I=!!(!n.hideNoData||c.value.length||r["prepend-item"]||r["append-item"]||r["no-data"]),O=v.value.length>0,[z]=Kd.filterProps(n),F=O||!a.value&&n.label&&!n.persistentPlaceholder?void 0:n.placeholder;return gt(Kd,qr({ref:D},z,{modelValue:v.value.map(B=>B.props.value).join(", "),"onUpdate:modelValue":b,focused:a.value,"onUpdate:focused":B=>a.value=B,validationValue:v.externalValue,dirty:O,class:["v-select",{"v-select--active-menu":d.value,"v-select--chips":!!n.chips,[`v-select--${n.multiple?"multiple":"single"}`]:!0,"v-select--selected":v.value.length,"v-select--selection-slot":!!r.selection},n.class],style:n.style,inputmode:"none",placeholder:F,"onClick:clear":S,"onMousedown:control":_,onBlur:x,onKeydown:k,"aria-label":C(u.value),title:C(u.value)}),{...r,default:()=>gt(Yr,null,[gt(s1,qr({ref:T,modelValue:d.value,"onUpdate:modelValue":B=>d.value=B,activator:"parent",contentClass:"v-select__content",disabled:h.value,eager:n.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:n.transition,onAfterLeave:A},n.menuProps),{default:()=>[I&>(a1,{ref:m,selected:l.value,selectStrategy:n.multiple?"independent":"single-independent",onMousedown:B=>B.preventDefault(),onKeydown:y,onFocusin:L,onScrollPassive:w,tabindex:"-1",color:n.itemColor??n.color},{default:()=>{var B,N,W;return[(B=r["prepend-item"])==null?void 0:B.call(r),!c.value.length&&!n.hideNoData&&(((N=r["no-data"])==null?void 0:N.call(r))??gt(af,{title:C(n.noDataText)},null)),gt(h1,{ref:p,renderless:!0,items:c.value},{default:j=>{var H;let{item:$,index:U,itemRef:G}=j;const q=qr($.props,{ref:G,key:U,onClick:()=>E($)});return((H=r.item)==null?void 0:H.call(r,{item:$,index:U,props:q}))??gt(af,q,{prepend:ne=>{let{isSelected:te}=ne;return gt(Yr,null,[n.multiple&&!n.hideSelected?gt(h0,{key:$.value,modelValue:te,ripple:!1,tabindex:"-1"},null):void 0,$.props.prependIcon&>(ja,{icon:$.props.prependIcon},null)])}})}}),(W=r["append-item"])==null?void 0:W.call(r)]}})]}),v.value.map((B,N)=>{var $;function W(U){U.stopPropagation(),U.preventDefault(),E(B)}const j={"onClick:close":W,onMousedown(U){U.preventDefault(),U.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return gt("div",{key:B.value,class:"v-select__selection"},[R?r.chip?gt(Fa,{key:"chip-defaults",defaults:{VChip:{closable:n.closableChips,size:"small",text:B.title}}},{default:()=>{var U;return[(U=r.chip)==null?void 0:U.call(r,{item:B,index:N,props:j})]}}):gt(ug,qr({key:"chip",closable:n.closableChips,size:"small",text:B.title},j),null):(($=r.selection)==null?void 0:$.call(r,{item:B,index:N}))??gt("span",{class:"v-select__selection-text"},[B.title,n.multiple&&Nn==null||e==null?-1:n.toString().toLocaleLowerCase().indexOf(e.toString().toLocaleLowerCase()),DA=ur({customFilter:Function,customKeyFilter:Object,filterKeys:[Array,String],filterMode:{type:String,default:"intersection"},noFilter:Boolean},"filter");function xV(n,e,r){var t;const C=[],D=(r==null?void 0:r.default)??bV,T=r!=null&&r.filterKeys?bu(r.filterKeys):!1,p=Object.keys((r==null?void 0:r.customKeyFilter)??{}).length;if(!(n!=null&&n.length))return C;e:for(let d=0;dC!=null&&C.transform?yu(e).map(d=>[d,C.transform(d)]):yu(e));wu(()=>{const d=typeof r=="function"?r():yu(r),g=typeof d!="string"&&typeof d!="number"?"":String(d),i=xV(p.value,g,{customKeyFilter:n.customKeyFilter,default:n.customFilter,filterKeys:n.filterKeys,filterMode:n.filterMode,noFilter:n.noFilter}),M=yu(e),v=[],f=new Map;i.forEach(l=>{let{index:a,matches:u}=l;const o=M[a];v.push(o),f.set(o.value,u)}),D.value=v,T.value=f});function t(d){return T.value.get(d.value)}return{filteredItems:D,filteredMatches:T,getMatches:t}}function _V(n,e,r){if(e==null)return n;if(Array.isArray(e))throw new Error("Multiple matches is not implemented");return typeof e=="number"&&~e?gt(Yr,null,[gt("span",{class:"v-autocomplete__unmask"},[n.substr(0,e)]),gt("span",{class:"v-autocomplete__mask"},[n.substr(e,r)]),gt("span",{class:"v-autocomplete__unmask"},[n.substr(e+r)])]):n}const wV=ur({autoSelectFirst:{type:[Boolean,String]},search:String,...DA({filterKeys:["title"]}),...k_(),...ic(c1({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...df({transition:!1})},"VAutocomplete"),TV=Ar()({name:"VAutocomplete",props:wV(),emits:{"update:focused":n=>!0,"update:search":n=>!0,"update:modelValue":n=>!0,"update:menu":n=>!0},setup(n,e){let{slots:r}=e;const{t:C}=oc(),D=Vr(),T=Wr(!1),p=Wr(!0),t=Wr(!1),d=Vr(),g=Vr(),i=xi(n,"menu"),M=cn({get:()=>i.value,set:q=>{var H;i.value&&!q&&((H=d.value)!=null&&H.ΨopenChildren)||(i.value=q)}}),v=Wr(-1),f=cn(()=>{var q;return(q=D.value)==null?void 0:q.color}),l=cn(()=>M.value?n.closeText:n.openText),{items:a,transformIn:u,transformOut:o}=x_(n),{textColorClasses:s,textColorStyles:c}=Xs(f),h=xi(n,"search",""),m=xi(n,"modelValue",[],q=>u(q===null?[null]:bu(q)),q=>{const H=o(q);return n.multiple?H:H[0]??null}),w=i1(),{filteredItems:y,getMatches:S}=zA(n,a,()=>p.value?"":h.value),_=cn(()=>n.hideSelected?y.value.filter(q=>!m.value.some(H=>H.value===q.value)):y.value),k=cn(()=>m.value.map(q=>q.props.value)),E=cn(()=>{var H;return(n.autoSelectFirst===!0||n.autoSelectFirst==="exact"&&h.value===((H=_.value[0])==null?void 0:H.title))&&_.value.length>0&&!p.value&&!t.value}),x=cn(()=>n.hideNoData&&!a.value.length||n.readonly||(w==null?void 0:w.isReadonly.value)),A=Vr(),{onListScroll:L,onListKeydown:b}=T_(A,D);function R(q){n.openOnClear&&(M.value=!0),h.value=""}function I(){x.value||(M.value=!0)}function O(q){x.value||(T.value&&(q.preventDefault(),q.stopPropagation()),M.value=!M.value)}function z(q){var te,Z,X;if(n.readonly||w!=null&&w.isReadonly.value)return;const H=D.value.selectionStart,ne=m.value.length;if((v.value>-1||["Enter","ArrowDown","ArrowUp"].includes(q.key))&&q.preventDefault(),["Enter","ArrowDown"].includes(q.key)&&(M.value=!0),["Escape"].includes(q.key)&&(M.value=!1),E.value&&["Enter","Tab"].includes(q.key)&&G(_.value[0]),q.key==="ArrowDown"&&E.value&&((te=A.value)==null||te.focus("next")),!!n.multiple){if(["Backspace","Delete"].includes(q.key)){if(v.value<0){q.key==="Backspace"&&!h.value&&(v.value=ne-1);return}const Q=v.value,re=m.value[v.value];re&&G(re),v.value=Q>=ne-1?ne-2:Q}if(q.key==="ArrowLeft"){if(v.value<0&&H>0)return;const Q=v.value>-1?v.value-1:ne-1;m.value[Q]?v.value=Q:(v.value=-1,D.value.setSelectionRange((Z=h.value)==null?void 0:Z.length,(X=h.value)==null?void 0:X.length))}if(q.key==="ArrowRight"){if(v.value<0)return;const Q=v.value+1;m.value[Q]?v.value=Q:(v.value=-1,D.value.setSelectionRange(0,0))}}}function F(q){h.value=q.target.value}function B(q){if(l0(D.value,":autofill")||l0(D.value,":-webkit-autofill")){const H=a.value.find(ne=>ne.title===q.target.value);H&&G(H)}}function N(){var q;T.value&&(p.value=!0,(q=D.value)==null||q.focus())}function W(q){T.value=!0,setTimeout(()=>{t.value=!0})}function j(q){t.value=!1}function $(q){(q==null||q===""&&!n.multiple)&&(m.value=[])}const U=Wr(!1);function G(q){if(n.multiple){const H=m.value.findIndex(ne=>n.valueComparator(ne.value,q.value));if(H===-1)m.value=[...m.value,q];else{const ne=[...m.value];ne.splice(H,1),m.value=ne}}else m.value=[q],U.value=!0,h.value=q.title,M.value=!1,p.value=!0,Ua(()=>U.value=!1)}return $r(T,(q,H)=>{var ne;q!==H&&(q?(U.value=!0,h.value=n.multiple?"":String(((ne=m.value.at(-1))==null?void 0:ne.props.title)??""),p.value=!0,Ua(()=>U.value=!1)):(!n.multiple&&!h.value?m.value=[]:E.value&&!t.value&&!m.value.some(te=>{let{value:Z}=te;return Z===_.value[0].value})&&G(_.value[0]),M.value=!1,h.value="",v.value=-1))}),$r(h,q=>{!T.value||U.value||(q&&(M.value=!0),p.value=!q)}),$r(M,()=>{if(!n.hideSelected&&M.value&&m.value.length){const q=_.value.findIndex(H=>m.value.some(ne=>H.value===ne.value));to&&window.requestAnimationFrame(()=>{var H;q>=0&&((H=g.value)==null||H.scrollToIndex(q))})}}),Or(()=>{const q=!!(n.chips||r.chip),H=!!(!n.hideNoData||_.value.length||r["prepend-item"]||r["append-item"]||r["no-data"]),ne=m.value.length>0,[te]=Kd.filterProps(n);return gt(Kd,qr({ref:D},te,{modelValue:h.value,"onUpdate:modelValue":$,focused:T.value,"onUpdate:focused":Z=>T.value=Z,validationValue:m.externalValue,dirty:ne,onInput:F,onChange:B,class:["v-autocomplete",`v-autocomplete--${n.multiple?"multiple":"single"}`,{"v-autocomplete--active-menu":M.value,"v-autocomplete--chips":!!n.chips,"v-autocomplete--selection-slot":!!r.selection,"v-autocomplete--selecting-index":v.value>-1},n.class],style:n.style,readonly:n.readonly,placeholder:ne?void 0:n.placeholder,"onClick:clear":R,"onMousedown:control":I,onKeydown:z}),{...r,default:()=>gt(Yr,null,[gt(s1,qr({ref:d,modelValue:M.value,"onUpdate:modelValue":Z=>M.value=Z,activator:"parent",contentClass:"v-autocomplete__content",disabled:x.value,eager:n.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:n.transition,onAfterLeave:N},n.menuProps),{default:()=>[H&>(a1,{ref:A,selected:k.value,selectStrategy:n.multiple?"independent":"single-independent",onMousedown:Z=>Z.preventDefault(),onKeydown:b,onFocusin:W,onFocusout:j,onScrollPassive:L,tabindex:"-1",color:n.itemColor??n.color},{default:()=>{var Z,X,Q;return[(Z=r["prepend-item"])==null?void 0:Z.call(r),!_.value.length&&!n.hideNoData&&(((X=r["no-data"])==null?void 0:X.call(r))??gt(af,{title:C(n.noDataText)},null)),gt(h1,{ref:g,renderless:!0,items:_.value},{default:re=>{var ye;let{item:ie,index:oe,itemRef:ue}=re;const ce=qr(ie.props,{ref:ue,key:oe,active:E.value&&oe===0?!0:void 0,onClick:()=>G(ie)});return((ye=r.item)==null?void 0:ye.call(r,{item:ie,index:oe,props:ce}))??gt(af,ce,{prepend:de=>{let{isSelected:me}=de;return gt(Yr,null,[n.multiple&&!n.hideSelected?gt(h0,{key:ie.value,modelValue:me,ripple:!1,tabindex:"-1"},null):void 0,ie.props.prependIcon&>(ja,{icon:ie.props.prependIcon},null)])},title:()=>{var de,me;return p.value?ie.title:_V(ie.title,(de=S(ie))==null?void 0:de.title,((me=h.value)==null?void 0:me.length)??0)}})}}),(Q=r["append-item"])==null?void 0:Q.call(r)]}})]}),m.value.map((Z,X)=>{var ie;function Q(oe){oe.stopPropagation(),oe.preventDefault(),G(Z)}const re={"onClick:close":Q,onMousedown(oe){oe.preventDefault(),oe.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return gt("div",{key:Z.value,class:["v-autocomplete__selection",X===v.value&&["v-autocomplete__selection--selected",s.value]],style:X===v.value?c.value:{}},[q?r.chip?gt(Fa,{key:"chip-defaults",defaults:{VChip:{closable:n.closableChips,size:"small",text:Z.title}}},{default:()=>{var oe;return[(oe=r.chip)==null?void 0:oe.call(r,{item:Z,index:X,props:re})]}}):gt(ug,qr({key:"chip",closable:n.closableChips,size:"small",text:Z.title},re),null):((ie=r.selection)==null?void 0:ie.call(r,{item:Z,index:X}))??gt("span",{class:"v-autocomplete__selection-text"},[Z.title,n.multiple&&X(n.floating?n.dot?2:4:n.dot?8:12)+(["top","bottom"].includes(i)?+(n.offsetY??0):["left","right"].includes(i)?+(n.offsetX??0):0));return Or(()=>{const i=Number(n.content),M=!n.max||isNaN(i)?n.content:i<=+n.max?i:`${n.max}+`,[v,f]=$d(e.attrs,["aria-atomic","aria-label","aria-live","role","title"]);return gt(n.tag,qr({class:["v-badge",{"v-badge--bordered":n.bordered,"v-badge--dot":n.dot,"v-badge--floating":n.floating,"v-badge--inline":n.inline},n.class]},f,{style:n.style}),{default:()=>{var l,a;return[gt("div",{class:"v-badge__wrapper"},[(a=(l=e.slots).default)==null?void 0:a.call(l),gt(Oc,{transition:n.transition},{default:()=>{var u,o;return[Co(gt("span",qr({class:["v-badge__badge",d.value,r.value,D.value,p.value],style:[C.value,t.value,n.inline?{}:g.value],"aria-atomic":"true","aria-label":T(n.label,i),"aria-live":"polite",role:"status"},v),[n.dot?void 0:e.slots.badge?(o=(u=e.slots).badge)==null?void 0:o.call(u):n.icon?gt(ja,{icon:n.icon},null):M]),[[kh,n.modelValue]])]}})])]}})}),{}}});const AV=ur({color:String,density:String,...Zr()},"VBannerActions"),FA=Ar()({name:"VBannerActions",props:AV(),setup(n,e){let{slots:r}=e;return es({VBtn:{color:n.color,density:n.density,variant:"text"}}),Or(()=>{var C;return gt("div",{class:["v-banner-actions",n.class],style:n.style},[(C=r.default)==null?void 0:C.call(r)])}),{}}}),BA=Nc("v-banner-text"),SV=ur({avatar:String,color:String,icon:bi,lines:String,stacked:Boolean,sticky:Boolean,text:String,...Su(),...Zr(),...ds(),...sc(),...fs(),...ed(),...A0(),...lo(),...Si(),...oa()},"VBanner"),CV=Ar()({name:"VBanner",props:SV(),setup(n,e){let{slots:r}=e;const{borderClasses:C}=uc(n),{densityClasses:D}=Qs(n),{mobile:T}=ep(),{dimensionStyles:p}=lc(n),{elevationClasses:t}=Vs(n),{locationStyles:d}=td(n),{positionClasses:g}=S0(n),{roundedClasses:i}=Eo(n),{themeClasses:M}=Ma(n),v=Cr(n,"color"),f=Cr(n,"density");es({VBannerActions:{color:v,density:f}}),Or(()=>{const l=!!(n.text||r.text),a=!!(n.avatar||n.icon),u=!!(a||r.prepend);return gt(n.tag,{class:["v-banner",{"v-banner--stacked":n.stacked||T.value,"v-banner--sticky":n.sticky,[`v-banner--${n.lines}-line`]:!!n.lines},C.value,D.value,t.value,g.value,i.value,M.value,n.class],style:[p.value,d.value,n.style],role:"banner"},{default:()=>{var o;return[u&>("div",{key:"prepend",class:"v-banner__prepend"},[r.prepend?gt(Fa,{key:"prepend-defaults",disabled:!a,defaults:{VAvatar:{color:v.value,density:f.value,icon:n.icon,image:n.avatar}}},r.prepend):gt(Zf,{key:"prepend-avatar",color:v.value,density:f.value,icon:n.icon,image:n.avatar},null)]),gt("div",{class:"v-banner__content"},[l&>(BA,{key:"text"},{default:()=>{var s;return[((s=r.text)==null?void 0:s.call(r))??n.text]}}),(o=r.default)==null?void 0:o.call(r)]),r.actions&>(FA,{key:"actions"},r.actions)]}})})}});const EV=ur({bgColor:String,color:String,grow:Boolean,mode:{type:String,validator:n=>!n||["horizontal","shift"].includes(n)},height:{type:[Number,String],default:56},active:{type:Boolean,default:!0},...Su(),...Zr(),...ds(),...fs(),...lo(),...x0({name:"bottom-navigation"}),...Si({tag:"header"}),...w0({modelValue:!0,selectedClass:"v-btn--selected"}),...oa()},"VBottomNavigation"),LV=Ar()({name:"VBottomNavigation",props:EV(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:C}=R6(),{borderClasses:D}=uc(n),{backgroundColorClasses:T,backgroundColorStyles:p}=Oo(Cr(n,"bgColor")),{densityClasses:t}=Qs(n),{elevationClasses:d}=Vs(n),{roundedClasses:g}=Eo(n),{ssrBootStyles:i}=tp(),M=cn(()=>Number(n.height)-(n.density==="comfortable"?8:0)-(n.density==="compact"?16:0)),v=Cr(n,"active"),{layoutItemStyles:f}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:cn(()=>"bottom"),layoutSize:cn(()=>v.value?M.value:0),elementSize:M,active:v,absolute:Cr(n,"absolute")});return ip(n,h_),es({VBtn:{color:Cr(n,"color"),density:Cr(n,"density"),stacked:cn(()=>n.mode!=="horizontal"),variant:"text"}},{scoped:!0}),Or(()=>gt(n.tag,{class:["v-bottom-navigation",{"v-bottom-navigation--active":v.value,"v-bottom-navigation--grow":n.grow,"v-bottom-navigation--shift":n.mode==="shift"},C.value,T.value,D.value,t.value,d.value,g.value,n.class],style:[p.value,f.value,{height:Qr(M.value),transform:`translateY(${Qr(v.value?0:100,"%")})`},i.value,n.style]},{default:()=>[r.default&>("div",{class:"v-bottom-navigation__content"},[r.default()])]})),{}}});const IV=ur({divider:[Number,String],...Zr()},"VBreadcrumbsDivider"),NA=Ar()({name:"VBreadcrumbsDivider",props:IV(),setup(n,e){let{slots:r}=e;return Or(()=>{var C;return gt("li",{class:["v-breadcrumbs-divider",n.class],style:n.style},[((C=r==null?void 0:r.default)==null?void 0:C.call(r))??n.divider])}),{}}}),RV=ur({active:Boolean,activeClass:String,activeColor:String,color:String,disabled:Boolean,title:String,...Zr(),...lg(),...Si({tag:"li"})},"VBreadcrumbsItem"),VA=Ar()({name:"VBreadcrumbsItem",props:RV(),setup(n,e){let{slots:r,attrs:C}=e;const D=sg(n,C),T=cn(()=>{var g;return n.active||((g=D.isActive)==null?void 0:g.value)}),p=cn(()=>T.value?n.activeColor:n.color),{textColorClasses:t,textColorStyles:d}=Xs(p);return Or(()=>gt(n.tag,{class:["v-breadcrumbs-item",{"v-breadcrumbs-item--active":T.value,"v-breadcrumbs-item--disabled":n.disabled,[`${n.activeClass}`]:T.value&&n.activeClass},t.value,n.class],style:[d.value,n.style],"aria-current":T.value?"page":void 0},{default:()=>{var g,i;return[D.isLink.value?gt("a",{class:"v-breadcrumbs-item--link",href:D.href.value,"aria-current":T.value?"page":void 0,onClick:D.navigate},[((i=r.default)==null?void 0:i.call(r))??n.title]):((g=r.default)==null?void 0:g.call(r))??n.title]}})),{}}}),PV=ur({activeClass:String,activeColor:String,bgColor:String,color:String,disabled:Boolean,divider:{type:String,default:"/"},icon:bi,items:{type:Array,default:()=>[]},...Zr(),...ds(),...lo(),...Si({tag:"ul"})},"VBreadcrumbs"),OV=Ar()({name:"VBreadcrumbs",props:PV(),setup(n,e){let{slots:r}=e;const{backgroundColorClasses:C,backgroundColorStyles:D}=Oo(Cr(n,"bgColor")),{densityClasses:T}=Qs(n),{roundedClasses:p}=Eo(n);es({VBreadcrumbsDivider:{divider:Cr(n,"divider")},VBreadcrumbsItem:{activeClass:Cr(n,"activeClass"),activeColor:Cr(n,"activeColor"),color:Cr(n,"color"),disabled:Cr(n,"disabled")}});const t=cn(()=>n.items.map(d=>typeof d=="string"?{item:{title:d},raw:d}:{item:d,raw:d}));return Or(()=>{const d=!!(r.prepend||n.icon);return gt(n.tag,{class:["v-breadcrumbs",C.value,T.value,p.value,n.class],style:[D.value,n.style]},{default:()=>{var g;return[d&>("li",{key:"prepend",class:"v-breadcrumbs__prepend"},[r.prepend?gt(Fa,{key:"prepend-defaults",disabled:!n.icon,defaults:{VIcon:{icon:n.icon,start:!0}}},r.prepend):gt(ja,{key:"prepend-icon",start:!0,icon:n.icon},null)]),t.value.map((i,M,v)=>{let{item:f,raw:l}=i;return gt(Yr,null,[gt(VA,qr({key:f.title,disabled:M>=v.length-1},f),{default:r.title?()=>{var a;return(a=r.title)==null?void 0:a.call(r,{item:l,index:M})}:void 0}),M{var a;return(a=r.divider)==null?void 0:a.call(r,{item:l,index:M})}:void 0})])}),(g=r.default)==null?void 0:g.call(r)]}})}),{}}});const jA=Ar()({name:"VCardActions",props:Zr(),setup(n,e){let{slots:r}=e;return es({VBtn:{variant:"text"}}),Or(()=>{var C;return gt("div",{class:["v-card-actions",n.class],style:n.style},[(C=r.default)==null?void 0:C.call(r)])}),{}}}),UA=Nc("v-card-subtitle"),HA=Nc("v-card-title"),DV=ur({appendAvatar:String,appendIcon:bi,prependAvatar:String,prependIcon:bi,subtitle:String,title:String,...Zr(),...ds()},"VCardItem"),GA=Ar()({name:"VCardItem",props:DV(),setup(n,e){let{slots:r}=e;return Or(()=>{var g;const C=!!(n.prependAvatar||n.prependIcon),D=!!(C||r.prepend),T=!!(n.appendAvatar||n.appendIcon),p=!!(T||r.append),t=!!(n.title||r.title),d=!!(n.subtitle||r.subtitle);return gt("div",{class:["v-card-item",n.class],style:n.style},[D&>("div",{key:"prepend",class:"v-card-item__prepend"},[r.prepend?gt(Fa,{key:"prepend-defaults",disabled:!C,defaults:{VAvatar:{density:n.density,icon:n.prependIcon,image:n.prependAvatar}}},r.prepend):C&>(Zf,{key:"prepend-avatar",density:n.density,icon:n.prependIcon,image:n.prependAvatar},null)]),gt("div",{class:"v-card-item__content"},[t&>(HA,{key:"title"},{default:()=>{var i;return[((i=r.title)==null?void 0:i.call(r))??n.title]}}),d&>(UA,{key:"subtitle"},{default:()=>{var i;return[((i=r.subtitle)==null?void 0:i.call(r))??n.subtitle]}}),(g=r.default)==null?void 0:g.call(r)]),p&>("div",{key:"append",class:"v-card-item__append"},[r.append?gt(Fa,{key:"append-defaults",disabled:!T,defaults:{VAvatar:{density:n.density,icon:n.appendIcon,image:n.appendAvatar}}},r.append):T&>(Zf,{key:"append-avatar",density:n.density,icon:n.appendIcon,image:n.appendAvatar},null)])])}),{}}}),qA=Nc("v-card-text"),zV=ur({appendAvatar:String,appendIcon:bi,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:bi,ripple:{type:[Boolean,Object],default:!0},subtitle:String,text:String,title:String,...Su(),...Zr(),...ds(),...sc(),...fs(),...m_(),...ed(),...A0(),...lo(),...lg(),...Si(),...oa(),...cc({variant:"elevated"})},"VCard"),FV=Ar()({name:"VCard",directives:{Ripple:nd},props:zV(),setup(n,e){let{attrs:r,slots:C}=e;const{themeClasses:D}=Ma(n),{borderClasses:T}=uc(n),{colorClasses:p,colorStyles:t,variantClasses:d}=rp(n),{densityClasses:g}=Qs(n),{dimensionStyles:i}=lc(n),{elevationClasses:M}=Vs(n),{loaderClasses:v}=t1(n),{locationStyles:f}=td(n),{positionClasses:l}=S0(n),{roundedClasses:a}=Eo(n),u=sg(n,r),o=cn(()=>n.link!==!1&&u.isLink.value),s=cn(()=>!n.disabled&&n.link!==!1&&(n.link||u.isClickable.value));return Or(()=>{const c=o.value?"a":n.tag,h=!!(C.title||n.title),m=!!(C.subtitle||n.subtitle),w=h||m,y=!!(C.append||n.appendAvatar||n.appendIcon),S=!!(C.prepend||n.prependAvatar||n.prependIcon),_=!!(C.image||n.image),k=w||S||y,E=!!(C.text||n.text);return Co(gt(c,{class:["v-card",{"v-card--disabled":n.disabled,"v-card--flat":n.flat,"v-card--hover":n.hover&&!(n.disabled||n.flat),"v-card--link":s.value},D.value,T.value,p.value,g.value,M.value,v.value,l.value,a.value,d.value,n.class],style:[t.value,i.value,f.value,n.style],href:u.href.value,onClick:s.value&&u.navigate,tabindex:n.disabled?-1:void 0},{default:()=>{var x;return[_&>("div",{key:"image",class:"v-card__image"},[C.image?gt(Fa,{key:"image-defaults",disabled:!n.image,defaults:{VImg:{cover:!0,src:n.image}}},C.image):gt(Zd,{key:"image-img",cover:!0,src:n.image},null)]),gt(g_,{name:"v-card",active:!!n.loading,color:typeof n.loading=="boolean"?void 0:n.loading},{default:C.loader}),k&>(GA,{key:"item",prependAvatar:n.prependAvatar,prependIcon:n.prependIcon,title:n.title,subtitle:n.subtitle,appendAvatar:n.appendAvatar,appendIcon:n.appendIcon},{default:C.item,prepend:C.prepend,title:C.title,subtitle:C.subtitle,append:C.append}),E&>(qA,{key:"text"},{default:()=>{var A;return[((A=C.text)==null?void 0:A.call(C))??n.text]}}),(x=C.default)==null?void 0:x.call(C),C.actions&>(jA,null,{default:C.actions}),np(s.value,"v-card")]}}),[[Tu("ripple"),s.value&&n.ripple]])}),{}}});const BV=n=>{const{touchstartX:e,touchendX:r,touchstartY:C,touchendY:D}=n,T=.5,p=16;n.offsetX=r-e,n.offsetY=D-C,Math.abs(n.offsetY)e+p&&n.right(n)),Math.abs(n.offsetX)C+p&&n.down(n))};function NV(n,e){var C;const r=n.changedTouches[0];e.touchstartX=r.clientX,e.touchstartY=r.clientY,(C=e.start)==null||C.call(e,{originalEvent:n,...e})}function VV(n,e){var C;const r=n.changedTouches[0];e.touchendX=r.clientX,e.touchendY=r.clientY,(C=e.end)==null||C.call(e,{originalEvent:n,...e}),BV(e)}function jV(n,e){var C;const r=n.changedTouches[0];e.touchmoveX=r.clientX,e.touchmoveY=r.clientY,(C=e.move)==null||C.call(e,{originalEvent:n,...e})}function UV(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const e={touchstartX:0,touchstartY:0,touchendX:0,touchendY:0,touchmoveX:0,touchmoveY:0,offsetX:0,offsetY:0,left:n.left,right:n.right,up:n.up,down:n.down,start:n.start,move:n.move,end:n.end};return{touchstart:r=>NV(r,e),touchend:r=>VV(r,e),touchmove:r=>jV(r,e)}}function HV(n,e){var t;const r=e.value,C=r!=null&&r.parent?n.parentElement:n,D=(r==null?void 0:r.options)??{passive:!0},T=(t=e.instance)==null?void 0:t.$.uid;if(!C||!T)return;const p=UV(e.value);C._touchHandlers=C._touchHandlers??Object.create(null),C._touchHandlers[T]=p,c6(p).forEach(d=>{C.addEventListener(d,p[d],D)})}function GV(n,e){var T,p;const r=(T=e.value)!=null&&T.parent?n.parentElement:n,C=(p=e.instance)==null?void 0:p.$.uid;if(!(r!=null&&r._touchHandlers)||!C)return;const D=r._touchHandlers[C];c6(D).forEach(t=>{r.removeEventListener(t,D[t])}),delete r._touchHandlers[C]}const M_={mounted:HV,unmounted:GV},WA=Symbol.for("vuetify:v-window"),YA=Symbol.for("vuetify:v-window-group"),$A=ur({continuous:Boolean,nextIcon:{type:[Boolean,String,Function,Object],default:"$next"},prevIcon:{type:[Boolean,String,Function,Object],default:"$prev"},reverse:Boolean,showArrows:{type:[Boolean,String],validator:n=>typeof n=="boolean"||n==="hover"},touch:{type:[Object,Boolean],default:void 0},direction:{type:String,default:"horizontal"},modelValue:null,disabled:Boolean,selectedClass:{type:String,default:"v-window-item--active"},mandatory:{type:[Boolean,String],default:"force"},...Zr(),...Si(),...oa()},"VWindow"),Sx=Ar()({name:"VWindow",directives:{Touch:M_},props:$A(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{isRtl:D}=Cs(),{t:T}=oc(),p=ip(n,YA),t=Vr(),d=cn(()=>D.value?!n.reverse:n.reverse),g=Wr(!1),i=cn(()=>{const h=n.direction==="vertical"?"y":"x",w=(d.value?!g.value:g.value)?"-reverse":"";return`v-window-${h}${w}-transition`}),M=Wr(0),v=Vr(void 0),f=cn(()=>p.items.value.findIndex(h=>p.selected.value.includes(h.id)));$r(f,(h,m)=>{const w=p.items.value.length,y=w-1;w<=2?g.value=hn.continuous||f.value!==0),a=cn(()=>n.continuous||f.value!==p.items.value.length-1);function u(){l.value&&p.prev()}function o(){a.value&&p.next()}const s=cn(()=>{const h=[],m={icon:D.value?n.nextIcon:n.prevIcon,class:`v-window__${d.value?"right":"left"}`,onClick:p.prev,ariaLabel:T("$vuetify.carousel.prev")};h.push(l.value?r.prev?r.prev({props:m}):gt(_l,m,null):gt("div",null,null));const w={icon:D.value?n.prevIcon:n.nextIcon,class:`v-window__${d.value?"left":"right"}`,onClick:p.next,ariaLabel:T("$vuetify.carousel.next")};return h.push(a.value?r.next?r.next({props:w}):gt(_l,w,null):gt("div",null,null)),h}),c=cn(()=>n.touch===!1?n.touch:{...{left:()=>{d.value?u():o()},right:()=>{d.value?o():u()},start:m=>{let{originalEvent:w}=m;w.stopPropagation()}},...n.touch===!0?{}:n.touch});return Or(()=>Co(gt(n.tag,{ref:t,class:["v-window",{"v-window--show-arrows-on-hover":n.showArrows==="hover"},C.value,n.class],style:n.style},{default:()=>{var h,m;return[gt("div",{class:"v-window__container",style:{height:v.value}},[(h=r.default)==null?void 0:h.call(r,{group:p}),n.showArrows!==!1&>("div",{class:"v-window__controls"},[s.value])]),(m=r.additional)==null?void 0:m.call(r,{group:p})]}}),[[Tu("touch"),c.value]])),{group:p}}}),qV=ur({color:String,cycle:Boolean,delimiterIcon:{type:bi,default:"$delimiter"},height:{type:[Number,String],default:500},hideDelimiters:Boolean,hideDelimiterBackground:Boolean,interval:{type:[Number,String],default:6e3,validator:n=>Number(n)>0},progress:[Boolean,String],verticalDelimiters:[Boolean,String],...$A({continuous:!0,mandatory:"force",showArrows:!0})},"VCarousel"),WV=Ar()({name:"VCarousel",props:qV(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const C=xi(n,"modelValue"),{t:D}=oc(),T=Vr();let p=-1;$r(C,d),$r(()=>n.interval,d),$r(()=>n.cycle,g=>{g?d():window.clearTimeout(p)}),Ks(t);function t(){!n.cycle||!T.value||(p=window.setTimeout(T.value.group.next,+n.interval>0?+n.interval:6e3))}function d(){window.clearTimeout(p),window.requestAnimationFrame(t)}return Or(()=>{const[g]=Sx.filterProps(n);return gt(Sx,qr({ref:T},g,{modelValue:C.value,"onUpdate:modelValue":i=>C.value=i,class:["v-carousel",{"v-carousel--hide-delimiter-background":n.hideDelimiterBackground,"v-carousel--vertical-delimiters":n.verticalDelimiters},n.class],style:[{height:Qr(n.height)},n.style]}),{default:r.default,additional:i=>{let{group:M}=i;return gt(Yr,null,[!n.hideDelimiters&>("div",{class:"v-carousel__controls",style:{left:n.verticalDelimiters==="left"&&n.verticalDelimiters?0:"auto",right:n.verticalDelimiters==="right"?0:"auto"}},[M.items.value.length>0&>(Fa,{defaults:{VBtn:{color:n.color,icon:n.delimiterIcon,size:"x-small",variant:"text"}},scoped:!0},{default:()=>[M.items.value.map((v,f)=>{const l={id:`carousel-item-${v.id}`,"aria-label":D("$vuetify.carousel.ariaLabel.delimiter",f+1,M.items.value.length),class:[M.isSelected(v.id)&&"v-btn--active"],onClick:()=>M.select(v.id,!0)};return r.item?r.item({props:l,item:v}):gt(_l,qr(v,l),null)})]})]),n.progress&>(p_,{class:"v-carousel__progress",color:typeof n.progress=="string"?n.progress:void 0,modelValue:(M.getItemIndex(C.value)+1)/M.items.value.length*100},null)])},prev:r.prev,next:r.next})}),{}}}),ZA=ur({reverseTransition:{type:[Boolean,String],default:void 0},transition:{type:[Boolean,String],default:void 0},...Zr(),...T0(),...o1()},"VWindowItem"),Cx=Ar()({name:"VWindowItem",directives:{Touch:M_},props:ZA(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const C=ka(WA),D=k0(n,YA),{isBooted:T}=tp();if(!C||!D)throw new Error("[Vuetify] VWindowItem must be used inside VWindow");const p=Wr(!1),t=cn(()=>T.value&&(C.isReversed.value?n.reverseTransition!==!1:n.transition!==!1));function d(){!p.value||!C||(p.value=!1,C.transitionCount.value>0&&(C.transitionCount.value-=1,C.transitionCount.value===0&&(C.transitionHeight.value=void 0)))}function g(){var l;p.value||!C||(p.value=!0,C.transitionCount.value===0&&(C.transitionHeight.value=Qr((l=C.rootRef.value)==null?void 0:l.clientHeight)),C.transitionCount.value+=1)}function i(){d()}function M(l){p.value&&Ua(()=>{!t.value||!p.value||!C||(C.transitionHeight.value=Qr(l.clientHeight))})}const v=cn(()=>{const l=C.isReversed.value?n.reverseTransition:n.transition;return t.value?{name:typeof l!="string"?C.transition.value:l,onBeforeEnter:g,onAfterEnter:d,onEnterCancelled:i,onBeforeLeave:g,onAfterLeave:d,onLeaveCancelled:i,onEnter:M}:!1}),{hasContent:f}=__(n,D.isSelected);return Or(()=>gt(Oc,{transition:v.value,disabled:!T.value},{default:()=>{var l;return[Co(gt("div",{class:["v-window-item",D.selectedClass.value,n.class],style:n.style},[f.value&&((l=r.default)==null?void 0:l.call(r))]),[[kh,D.isSelected.value]])]}})),{groupItem:D}}}),YV=ur({...G6(),...ZA()},"VCarouselItem"),$V=Ar()({name:"VCarouselItem",inheritAttrs:!1,props:YV(),setup(n,e){let{slots:r,attrs:C}=e;Or(()=>{const[D]=Zd.filterProps(n),[T]=Cx.filterProps(n);return gt(Cx,qr({class:"v-carousel-item"},T),{default:()=>[gt(Zd,qr(C,D),r)]})})}});const ZV=Nc("v-code");const XV=ur({color:{type:Object},disabled:Boolean,dotSize:{type:[Number,String],default:10},height:{type:[Number,String],default:150},width:{type:[Number,String],default:300},...Zr()},"VColorPickerCanvas"),KV=ac({name:"VColorPickerCanvas",props:XV(),emits:{"update:color":n=>!0,"update:position":n=>!0},setup(n,e){let{emit:r}=e;const C=Wr(!1),D=Vr(),T=Wr(parseFloat(n.width)),p=Wr(parseFloat(n.height)),t=Vr({x:0,y:0}),d=cn({get:()=>t.value,set(u){var c,h;if(!D.value)return;const{x:o,y:s}=u;r("update:color",{h:((c=n.color)==null?void 0:c.h)??0,s:Zs(o,0,T.value)/T.value,v:1-Zs(s,0,p.value)/p.value,a:((h=n.color)==null?void 0:h.a)??1})}}),g=cn(()=>{const{x:u,y:o}=d.value,s=parseInt(n.dotSize,10)/2;return{width:Qr(n.dotSize),height:Qr(n.dotSize),transform:`translate(${Qr(u-s)}, ${Qr(o-s)})`}}),{resizeRef:i}=Th(u=>{var c;if(!((c=i.value)!=null&&c.offsetParent))return;const{width:o,height:s}=u[0].contentRect;T.value=o,p.value=s});function M(u,o,s){const{left:c,top:h,width:m,height:w}=s;d.value={x:Zs(u-c,0,m),y:Zs(o-h,0,w)}}function v(u){u.type==="mousedown"&&u.preventDefault(),!n.disabled&&(f(u),window.addEventListener("mousemove",f),window.addEventListener("mouseup",l),window.addEventListener("touchmove",f),window.addEventListener("touchend",l))}function f(u){if(n.disabled||!D.value)return;C.value=!0;const o=Wz(u);M(o.clientX,o.clientY,D.value.getBoundingClientRect())}function l(){window.removeEventListener("mousemove",f),window.removeEventListener("mouseup",l),window.removeEventListener("touchmove",f),window.removeEventListener("touchend",l)}function a(){var h;if(!D.value)return;const u=D.value,o=u.getContext("2d");if(!o)return;const s=o.createLinearGradient(0,0,u.width,0);s.addColorStop(0,"hsla(0, 0%, 100%, 1)"),s.addColorStop(1,`hsla(${((h=n.color)==null?void 0:h.h)??0}, 100%, 50%, 1)`),o.fillStyle=s,o.fillRect(0,0,u.width,u.height);const c=o.createLinearGradient(0,0,0,u.height);c.addColorStop(0,"hsla(0, 0%, 100%, 0)"),c.addColorStop(1,"hsla(0, 0%, 0%, 1)"),o.fillStyle=c,o.fillRect(0,0,u.width,u.height)}return $r(()=>{var u;return(u=n.color)==null?void 0:u.h},a,{immediate:!0}),$r(()=>[T.value,p.value],(u,o)=>{a(),t.value={x:d.value.x*u[0]/o[0],y:d.value.y*u[1]/o[1]}},{flush:"post"}),$r(()=>n.color,()=>{if(C.value){C.value=!1;return}t.value=n.color?{x:n.color.s*T.value,y:(1-n.color.v)*p.value}:{x:0,y:0}},{deep:!0,immediate:!0}),Ks(()=>a()),Or(()=>gt("div",{ref:i,class:["v-color-picker-canvas",n.class],style:n.style,onMousedown:v,onTouchstartPassive:v},[gt("canvas",{ref:D,width:T.value,height:p.value},null),n.color&>("div",{class:["v-color-picker-canvas__dot",{"v-color-picker-canvas__dot--disabled":n.disabled}],style:g.value},null)])),{}}});function JV(n,e){if(e){const{a:r,...C}=n;return C}return n}function QV(n,e){if(e==null||typeof e=="string"){const r=M6(n);return n.a===1?r.slice(0,7):r}if(typeof e=="object"){let r;return Od(e,["r","g","b"])?r=rf(n):Od(e,["h","s","l"])?r=x6(n):Od(e,["h","s","v"])&&(r=n),JV(r,!Od(e,["a"])&&n.a===1)}return n}const bm={h:0,s:0,v:1,a:1},Ex={inputProps:{type:"number",min:0},inputs:[{label:"R",max:255,step:1,getValue:n=>Math.round(n.r),getColor:(n,e)=>({...n,r:Number(e)})},{label:"G",max:255,step:1,getValue:n=>Math.round(n.g),getColor:(n,e)=>({...n,g:Number(e)})},{label:"B",max:255,step:1,getValue:n=>Math.round(n.b),getColor:(n,e)=>({...n,b:Number(e)})},{label:"A",max:1,step:.01,getValue:n=>{let{a:e}=n;return e!=null?Math.round(e*100)/100:1},getColor:(n,e)=>({...n,a:Number(e)})}],to:rf,from:Xy};var pT;const ej={...Ex,inputs:(pT=Ex.inputs)==null?void 0:pT.slice(0,3)},Lx={inputProps:{type:"number",min:0},inputs:[{label:"H",max:360,step:1,getValue:n=>Math.round(n.h),getColor:(n,e)=>({...n,h:Number(e)})},{label:"S",max:1,step:.01,getValue:n=>Math.round(n.s*100)/100,getColor:(n,e)=>({...n,s:Number(e)})},{label:"L",max:1,step:.01,getValue:n=>Math.round(n.l*100)/100,getColor:(n,e)=>({...n,l:Number(e)})},{label:"A",max:1,step:.01,getValue:n=>{let{a:e}=n;return e!=null?Math.round(e*100)/100:1},getColor:(n,e)=>({...n,a:Number(e)})}],to:x6,from:e_},tj={...Lx,inputs:Lx.inputs.slice(0,3)},XA={inputProps:{type:"text"},inputs:[{label:"HEXA",getValue:n=>n,getColor:(n,e)=>e}],to:M6,from:hF},nj={...XA,inputs:[{label:"HEX",getValue:n=>n.slice(0,7),getColor:(n,e)=>e}]},Hd={rgb:ej,rgba:Ex,hsl:tj,hsla:Lx,hex:nj,hexa:XA},rj=n=>{let{label:e,...r}=n;return gt("div",{class:"v-color-picker-edit__input"},[gt("input",r,null),gt("span",null,[e])])},ij=ur({color:Object,disabled:Boolean,mode:{type:String,default:"rgba",validator:n=>Object.keys(Hd).includes(n)},modes:{type:Array,default:()=>Object.keys(Hd),validator:n=>Array.isArray(n)&&n.every(e=>Object.keys(Hd).includes(e))},...Zr()},"VColorPickerEdit"),aj=ac({name:"VColorPickerEdit",props:ij(),emits:{"update:color":n=>!0,"update:mode":n=>!0},setup(n,e){let{emit:r}=e;const C=cn(()=>n.modes.map(T=>({...Hd[T],name:T}))),D=cn(()=>{var t;const T=C.value.find(d=>d.name===n.mode);if(!T)return[];const p=n.color?T.to(n.color):null;return(t=T.inputs)==null?void 0:t.map(d=>{let{getValue:g,getColor:i,...M}=d;return{...T.inputProps,...M,disabled:n.disabled,value:p&&g(p),onChange:v=>{const f=v.target;f&&r("update:color",T.from(i(p??bm,f.value)))}}})});return Or(()=>{var T;return gt("div",{class:["v-color-picker-edit",n.class],style:n.style},[(T=D.value)==null?void 0:T.map(p=>gt(rj,p,null)),C.value.length>1&>(_l,{icon:"$unfold",size:"x-small",variant:"plain",onClick:()=>{const p=C.value.findIndex(t=>t.name===n.mode);r("update:mode",C.value[(p+1)%C.value.length].name)}},null)])}),{}}});const A_=Symbol.for("vuetify:v-slider");function Ix(n,e,r){const C=r==="vertical",D=e.getBoundingClientRect(),T="touches"in n?n.touches[0]:n;return C?T.clientY-(D.top+D.height/2):T.clientX-(D.left+D.width/2)}function oj(n,e){return"touches"in n&&n.touches.length?n.touches[0][e]:"changedTouches"in n&&n.changedTouches.length?n.changedTouches[0][e]:n[e]}const KA=ur({disabled:{type:Boolean,default:null},error:Boolean,readonly:{type:Boolean,default:null},max:{type:[Number,String],default:100},min:{type:[Number,String],default:0},step:{type:[Number,String],default:0},thumbColor:String,thumbLabel:{type:[Boolean,String],default:void 0,validator:n=>typeof n=="boolean"||n==="always"},thumbSize:{type:[Number,String],default:20},showTicks:{type:[Boolean,String],default:!1,validator:n=>typeof n=="boolean"||n==="always"},ticks:{type:[Array,Object]},tickSize:{type:[Number,String],default:2},color:String,trackColor:String,trackFillColor:String,trackSize:{type:[Number,String],default:4},direction:{type:String,default:"horizontal",validator:n=>["vertical","horizontal"].includes(n)},reverse:Boolean,...lo(),...fs({elevation:2})},"Slider"),JA=n=>{const e=cn(()=>parseFloat(n.min)),r=cn(()=>parseFloat(n.max)),C=cn(()=>+n.step>0?parseFloat(n.step):0),D=cn(()=>Math.max(_5(C.value),_5(e.value)));function T(p){if(p=parseFloat(p),C.value<=0)return p;const t=Zs(p,e.value,r.value),d=e.value%C.value,g=Math.round((t-d)/C.value)*C.value+d;return parseFloat(Math.min(g,r.value).toFixed(D.value))}return{min:e,max:r,step:C,decimals:D,roundValue:T}},QA=n=>{let{props:e,steps:r,onSliderStart:C,onSliderMove:D,onSliderEnd:T,getActiveThumb:p}=n;const{isRtl:t}=Cs(),d=Cr(e,"reverse"),g=cn(()=>{let U=t.value?"rtl":"ltr";return e.reverse&&(U=U==="rtl"?"ltr":"rtl"),U}),{min:i,max:M,step:v,decimals:f,roundValue:l}=r,a=cn(()=>parseInt(e.thumbSize,10)),u=cn(()=>parseInt(e.tickSize,10)),o=cn(()=>parseInt(e.trackSize,10)),s=cn(()=>(M.value-i.value)/v.value),c=Cr(e,"disabled"),h=cn(()=>e.direction==="vertical"),m=cn(()=>e.error||e.disabled?void 0:e.thumbColor??e.color),w=cn(()=>e.error||e.disabled?void 0:e.trackColor??e.color),y=cn(()=>e.error||e.disabled?void 0:e.trackFillColor??e.color),S=Wr(!1),_=Wr(0),k=Vr(),E=Vr();function x(U){var re;const G=e.direction==="vertical",q=G?"top":"left",H=G?"height":"width",ne=G?"clientY":"clientX",{[q]:te,[H]:Z}=(re=k.value)==null?void 0:re.$el.getBoundingClientRect(),X=oj(U,ne);let Q=Math.min(Math.max((X-te-_.value)/Z,0),1)||0;return(G||g.value==="rtl")&&(Q=1-Q),l(i.value+Q*(M.value-i.value))}const A=U=>{T({value:x(U)}),S.value=!1,_.value=0},L=U=>{E.value=p(U),E.value&&(E.value.focus(),S.value=!0,E.value.contains(U.target)?_.value=Ix(U,E.value,e.direction):(_.value=0,D({value:x(U)})),C({value:x(U)}))},b={passive:!0,capture:!0};function R(U){D({value:x(U)})}function I(U){U.stopPropagation(),U.preventDefault(),A(U),window.removeEventListener("mousemove",R,b),window.removeEventListener("mouseup",I)}function O(U){var G;A(U),window.removeEventListener("touchmove",R,b),(G=U.target)==null||G.removeEventListener("touchend",O)}function z(U){var G;L(U),window.addEventListener("touchmove",R,b),(G=U.target)==null||G.addEventListener("touchend",O,{passive:!1})}function F(U){U.preventDefault(),L(U),window.addEventListener("mousemove",R,b),window.addEventListener("mouseup",I,{passive:!1})}const B=U=>{const G=(U-i.value)/(M.value-i.value)*100;return Zs(isNaN(G)?0:G,0,100)},N=Cr(e,"showTicks"),W=cn(()=>N.value?e.ticks?Array.isArray(e.ticks)?e.ticks.map(U=>({value:U,position:B(U),label:U.toString()})):Object.keys(e.ticks).map(U=>({value:parseFloat(U),position:B(parseFloat(U)),label:e.ticks[U]})):s.value!==1/0?Kh(s.value+1).map(U=>{const G=i.value+U*v.value;return{value:G,position:B(G)}}):[]:[]),j=cn(()=>W.value.some(U=>{let{label:G}=U;return!!G})),$={activeThumbRef:E,color:Cr(e,"color"),decimals:f,disabled:c,direction:Cr(e,"direction"),elevation:Cr(e,"elevation"),hasLabels:j,horizontalDirection:g,isReversed:d,min:i,max:M,mousePressed:S,numTicks:s,onSliderMousedown:F,onSliderTouchstart:z,parsedTicks:W,parseMouseMove:x,position:B,readonly:Cr(e,"readonly"),rounded:Cr(e,"rounded"),roundValue:l,showTicks:N,startOffset:_,step:v,thumbSize:a,thumbColor:m,thumbLabel:Cr(e,"thumbLabel"),ticks:Cr(e,"ticks"),tickSize:u,trackColor:w,trackContainerRef:k,trackFillColor:y,trackSize:o,vertical:h};return ts(A_,$),$},sj=ur({focused:Boolean,max:{type:Number,required:!0},min:{type:Number,required:!0},modelValue:{type:Number,required:!0},position:{type:Number,required:!0},ripple:{type:[Boolean,Object],default:!0},...Zr()},"VSliderThumb"),Rx=Ar()({name:"VSliderThumb",directives:{Ripple:nd},props:sj(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r,emit:C}=e;const D=ka(A_),{rtlClasses:T}=Cs();if(!D)throw new Error("[Vuetify] v-slider-thumb must be used inside v-slider or v-range-slider");const{thumbColor:p,step:t,vertical:d,disabled:g,thumbSize:i,thumbLabel:M,direction:v,readonly:f,elevation:l,isReversed:a,horizontalDirection:u,mousePressed:o,decimals:s}=D,{textColorClasses:c,textColorStyles:h}=Xs(p),{pageup:m,pagedown:w,end:y,home:S,left:_,right:k,down:E,up:x}=sx,A=[m,w,y,S,_,k,E,x],L=cn(()=>t.value?[1,2,3]:[1,5,10]);function b(I,O){if(!A.includes(I.key))return;I.preventDefault();const z=t.value||.1,F=(n.max-n.min)/z;if([_,k,E,x].includes(I.key)){const N=(u.value==="rtl"?[_,x]:[k,x]).includes(I.key)?1:-1,W=I.shiftKey?2:I.ctrlKey?1:0;O=O+N*z*L.value[W]}else if(I.key===S)O=n.min;else if(I.key===y)O=n.max;else{const B=I.key===w?1:-1;O=O-B*z*(F>100?F/10:10)}return Math.max(n.min,Math.min(n.max,O))}function R(I){const O=b(I,n.modelValue);O!=null&&C("update:modelValue",O)}return Or(()=>{const I=Qr(d.value||a.value?100-n.position:n.position,"%"),{elevationClasses:O}=Vs(cn(()=>g.value?void 0:l.value));return gt("div",{class:["v-slider-thumb",{"v-slider-thumb--focused":n.focused,"v-slider-thumb--pressed":n.focused&&o.value},n.class,T.value],style:[{"--v-slider-thumb-position":I,"--v-slider-thumb-size":Qr(i.value)},n.style],role:"slider",tabindex:g.value?-1:0,"aria-valuemin":n.min,"aria-valuemax":n.max,"aria-valuenow":n.modelValue,"aria-readonly":!!f.value,"aria-orientation":v.value,onKeydown:f.value?void 0:R},[gt("div",{class:["v-slider-thumb__surface",c.value,O.value],style:{...h.value}},null),Co(gt("div",{class:["v-slider-thumb__ripple",c.value],style:h.value},null),[[Tu("ripple"),n.ripple,null,{circle:!0,center:!0}]]),gt(s_,{origin:"bottom center"},{default:()=>{var z;return[Co(gt("div",{class:"v-slider-thumb__label-container"},[gt("div",{class:["v-slider-thumb__label"]},[gt("div",null,[((z=r["thumb-label"])==null?void 0:z.call(r,{modelValue:n.modelValue}))??n.modelValue.toFixed(t.value?s.value:1)])])]),[[kh,M.value&&n.focused||M.value==="always"]])]}})])}),{}}});const lj=ur({start:{type:Number,required:!0},stop:{type:Number,required:!0},...Zr()},"VSliderTrack"),eS=Ar()({name:"VSliderTrack",props:lj(),emits:{},setup(n,e){let{slots:r}=e;const C=ka(A_);if(!C)throw new Error("[Vuetify] v-slider-track must be inside v-slider or v-range-slider");const{color:D,horizontalDirection:T,parsedTicks:p,rounded:t,showTicks:d,tickSize:g,trackColor:i,trackFillColor:M,trackSize:v,vertical:f,min:l,max:a}=C,{roundedClasses:u}=Eo(t),{backgroundColorClasses:o,backgroundColorStyles:s}=Oo(M),{backgroundColorClasses:c,backgroundColorStyles:h}=Oo(i),m=cn(()=>`inset-${f.value?"block-end":"inline-start"}`),w=cn(()=>f.value?"height":"width"),y=cn(()=>({[m.value]:"0%",[w.value]:"100%"})),S=cn(()=>n.stop-n.start),_=cn(()=>({[m.value]:Qr(n.start,"%"),[w.value]:Qr(S.value,"%")})),k=cn(()=>d.value?(f.value?p.value.slice().reverse():p.value).map((x,A)=>{var R;const L=f.value?"bottom":"margin-inline-start",b=x.value!==l.value&&x.value!==a.value?Qr(x.position,"%"):void 0;return gt("div",{key:x.value,class:["v-slider-track__tick",{"v-slider-track__tick--filled":x.position>=n.start&&x.position<=n.stop,"v-slider-track__tick--first":x.value===l.value,"v-slider-track__tick--last":x.value===a.value}],style:{[L]:b}},[(x.label||r["tick-label"])&>("div",{class:"v-slider-track__tick-label"},[((R=r["tick-label"])==null?void 0:R.call(r,{tick:x,index:A}))??x.label])])}):[]);return Or(()=>gt("div",{class:["v-slider-track",u.value,n.class],style:[{"--v-slider-track-size":Qr(v.value),"--v-slider-tick-size":Qr(g.value),direction:f.value?void 0:T.value},n.style]},[gt("div",{class:["v-slider-track__background",c.value,{"v-slider-track__background--opacity":!!D.value||!M.value}],style:{...y.value,...h.value}},null),gt("div",{class:["v-slider-track__fill",o.value],style:{..._.value,...s.value}},null),d.value&>("div",{class:["v-slider-track__ticks",{"v-slider-track__ticks--always-show":d.value==="always"}]},[k.value])])),{}}}),uj=ur({...r1(),...KA(),...mf(),modelValue:{type:[Number,String],default:0}},"VSlider"),Px=Ar()({name:"VSlider",props:uj(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,start:n=>!0,end:n=>!0},setup(n,e){let{slots:r,emit:C}=e;const D=Vr(),{rtlClasses:T}=Cs(),p=JA(n),t=xi(n,"modelValue",void 0,w=>p.roundValue(w??p.min.value)),{min:d,max:g,mousePressed:i,roundValue:M,onSliderMousedown:v,onSliderTouchstart:f,trackContainerRef:l,position:a,hasLabels:u,readonly:o}=QA({props:n,steps:p,onSliderStart:()=>{C("start",t.value)},onSliderEnd:w=>{let{value:y}=w;const S=M(y);t.value=S,C("end",S)},onSliderMove:w=>{let{value:y}=w;return t.value=M(y)},getActiveThumb:()=>{var w;return(w=D.value)==null?void 0:w.$el}}),{isFocused:s,focus:c,blur:h}=rd(n),m=cn(()=>a(t.value));return Or(()=>{const[w,y]=Bs.filterProps(n),S=!!(n.label||r.label||r.prepend);return gt(Bs,qr({class:["v-slider",{"v-slider--has-labels":!!r["tick-label"]||u.value,"v-slider--focused":s.value,"v-slider--pressed":i.value,"v-slider--disabled":n.disabled},T.value,n.class],style:n.style},w,{focused:s.value}),{...r,prepend:S?_=>{var k,E;return gt(Yr,null,[((k=r.label)==null?void 0:k.call(r,_))??n.label?gt(C0,{id:_.id.value,class:"v-slider__label",text:n.label},null):void 0,(E=r.prepend)==null?void 0:E.call(r,_)])}:void 0,default:_=>{let{id:k,messagesId:E}=_;return gt("div",{class:"v-slider__container",onMousedown:o.value?void 0:v,onTouchstartPassive:o.value?void 0:f},[gt("input",{id:k.value,name:n.name||k.value,disabled:!!n.disabled,readonly:!!n.readonly,tabindex:"-1",value:t.value},null),gt(eS,{ref:l,start:0,stop:m.value},{"tick-label":r["tick-label"]}),gt(Rx,{ref:D,"aria-describedby":E.value,focused:s.value,min:d.value,max:g.value,modelValue:t.value,"onUpdate:modelValue":x=>t.value=x,position:m.value,elevation:n.elevation,onFocus:c,onBlur:h},{"thumb-label":r["thumb-label"]})])}})}),{}}}),cj=ur({color:{type:Object},disabled:Boolean,hideAlpha:Boolean,...Zr()},"VColorPickerPreview"),hj=ac({name:"VColorPickerPreview",props:cj(),emits:{"update:color":n=>!0},setup(n,e){let{emit:r}=e;return Or(()=>{var C,D;return gt("div",{class:["v-color-picker-preview",{"v-color-picker-preview--hide-alpha":n.hideAlpha},n.class],style:n.style},[gt("div",{class:"v-color-picker-preview__dot"},[gt("div",{style:{background:w6(n.color??bm)}},null)]),gt("div",{class:"v-color-picker-preview__sliders"},[gt(Px,{class:"v-color-picker-preview__track v-color-picker-preview__hue",modelValue:(C=n.color)==null?void 0:C.h,"onUpdate:modelValue":T=>r("update:color",{...n.color??bm,h:T}),step:0,min:0,max:360,disabled:n.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null),!n.hideAlpha&>(Px,{class:"v-color-picker-preview__track v-color-picker-preview__alpha",modelValue:((D=n.color)==null?void 0:D.a)??1,"onUpdate:modelValue":T=>r("update:color",{...n.color??bm,a:T}),step:1/256,min:0,max:1,disabled:n.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null)])])}),{}}});const fj=Object.freeze({base:"#f44336",lighten5:"#ffebee",lighten4:"#ffcdd2",lighten3:"#ef9a9a",lighten2:"#e57373",lighten1:"#ef5350",darken1:"#e53935",darken2:"#d32f2f",darken3:"#c62828",darken4:"#b71c1c",accent1:"#ff8a80",accent2:"#ff5252",accent3:"#ff1744",accent4:"#d50000"}),dj=Object.freeze({base:"#e91e63",lighten5:"#fce4ec",lighten4:"#f8bbd0",lighten3:"#f48fb1",lighten2:"#f06292",lighten1:"#ec407a",darken1:"#d81b60",darken2:"#c2185b",darken3:"#ad1457",darken4:"#880e4f",accent1:"#ff80ab",accent2:"#ff4081",accent3:"#f50057",accent4:"#c51162"}),pj=Object.freeze({base:"#9c27b0",lighten5:"#f3e5f5",lighten4:"#e1bee7",lighten3:"#ce93d8",lighten2:"#ba68c8",lighten1:"#ab47bc",darken1:"#8e24aa",darken2:"#7b1fa2",darken3:"#6a1b9a",darken4:"#4a148c",accent1:"#ea80fc",accent2:"#e040fb",accent3:"#d500f9",accent4:"#aa00ff"}),mj=Object.freeze({base:"#673ab7",lighten5:"#ede7f6",lighten4:"#d1c4e9",lighten3:"#b39ddb",lighten2:"#9575cd",lighten1:"#7e57c2",darken1:"#5e35b1",darken2:"#512da8",darken3:"#4527a0",darken4:"#311b92",accent1:"#b388ff",accent2:"#7c4dff",accent3:"#651fff",accent4:"#6200ea"}),gj=Object.freeze({base:"#3f51b5",lighten5:"#e8eaf6",lighten4:"#c5cae9",lighten3:"#9fa8da",lighten2:"#7986cb",lighten1:"#5c6bc0",darken1:"#3949ab",darken2:"#303f9f",darken3:"#283593",darken4:"#1a237e",accent1:"#8c9eff",accent2:"#536dfe",accent3:"#3d5afe",accent4:"#304ffe"}),vj=Object.freeze({base:"#2196f3",lighten5:"#e3f2fd",lighten4:"#bbdefb",lighten3:"#90caf9",lighten2:"#64b5f6",lighten1:"#42a5f5",darken1:"#1e88e5",darken2:"#1976d2",darken3:"#1565c0",darken4:"#0d47a1",accent1:"#82b1ff",accent2:"#448aff",accent3:"#2979ff",accent4:"#2962ff"}),yj=Object.freeze({base:"#03a9f4",lighten5:"#e1f5fe",lighten4:"#b3e5fc",lighten3:"#81d4fa",lighten2:"#4fc3f7",lighten1:"#29b6f6",darken1:"#039be5",darken2:"#0288d1",darken3:"#0277bd",darken4:"#01579b",accent1:"#80d8ff",accent2:"#40c4ff",accent3:"#00b0ff",accent4:"#0091ea"}),bj=Object.freeze({base:"#00bcd4",lighten5:"#e0f7fa",lighten4:"#b2ebf2",lighten3:"#80deea",lighten2:"#4dd0e1",lighten1:"#26c6da",darken1:"#00acc1",darken2:"#0097a7",darken3:"#00838f",darken4:"#006064",accent1:"#84ffff",accent2:"#18ffff",accent3:"#00e5ff",accent4:"#00b8d4"}),xj=Object.freeze({base:"#009688",lighten5:"#e0f2f1",lighten4:"#b2dfdb",lighten3:"#80cbc4",lighten2:"#4db6ac",lighten1:"#26a69a",darken1:"#00897b",darken2:"#00796b",darken3:"#00695c",darken4:"#004d40",accent1:"#a7ffeb",accent2:"#64ffda",accent3:"#1de9b6",accent4:"#00bfa5"}),_j=Object.freeze({base:"#4caf50",lighten5:"#e8f5e9",lighten4:"#c8e6c9",lighten3:"#a5d6a7",lighten2:"#81c784",lighten1:"#66bb6a",darken1:"#43a047",darken2:"#388e3c",darken3:"#2e7d32",darken4:"#1b5e20",accent1:"#b9f6ca",accent2:"#69f0ae",accent3:"#00e676",accent4:"#00c853"}),wj=Object.freeze({base:"#8bc34a",lighten5:"#f1f8e9",lighten4:"#dcedc8",lighten3:"#c5e1a5",lighten2:"#aed581",lighten1:"#9ccc65",darken1:"#7cb342",darken2:"#689f38",darken3:"#558b2f",darken4:"#33691e",accent1:"#ccff90",accent2:"#b2ff59",accent3:"#76ff03",accent4:"#64dd17"}),Tj=Object.freeze({base:"#cddc39",lighten5:"#f9fbe7",lighten4:"#f0f4c3",lighten3:"#e6ee9c",lighten2:"#dce775",lighten1:"#d4e157",darken1:"#c0ca33",darken2:"#afb42b",darken3:"#9e9d24",darken4:"#827717",accent1:"#f4ff81",accent2:"#eeff41",accent3:"#c6ff00",accent4:"#aeea00"}),kj=Object.freeze({base:"#ffeb3b",lighten5:"#fffde7",lighten4:"#fff9c4",lighten3:"#fff59d",lighten2:"#fff176",lighten1:"#ffee58",darken1:"#fdd835",darken2:"#fbc02d",darken3:"#f9a825",darken4:"#f57f17",accent1:"#ffff8d",accent2:"#ffff00",accent3:"#ffea00",accent4:"#ffd600"}),Mj=Object.freeze({base:"#ffc107",lighten5:"#fff8e1",lighten4:"#ffecb3",lighten3:"#ffe082",lighten2:"#ffd54f",lighten1:"#ffca28",darken1:"#ffb300",darken2:"#ffa000",darken3:"#ff8f00",darken4:"#ff6f00",accent1:"#ffe57f",accent2:"#ffd740",accent3:"#ffc400",accent4:"#ffab00"}),Aj=Object.freeze({base:"#ff9800",lighten5:"#fff3e0",lighten4:"#ffe0b2",lighten3:"#ffcc80",lighten2:"#ffb74d",lighten1:"#ffa726",darken1:"#fb8c00",darken2:"#f57c00",darken3:"#ef6c00",darken4:"#e65100",accent1:"#ffd180",accent2:"#ffab40",accent3:"#ff9100",accent4:"#ff6d00"}),Sj=Object.freeze({base:"#ff5722",lighten5:"#fbe9e7",lighten4:"#ffccbc",lighten3:"#ffab91",lighten2:"#ff8a65",lighten1:"#ff7043",darken1:"#f4511e",darken2:"#e64a19",darken3:"#d84315",darken4:"#bf360c",accent1:"#ff9e80",accent2:"#ff6e40",accent3:"#ff3d00",accent4:"#dd2c00"}),Cj=Object.freeze({base:"#795548",lighten5:"#efebe9",lighten4:"#d7ccc8",lighten3:"#bcaaa4",lighten2:"#a1887f",lighten1:"#8d6e63",darken1:"#6d4c41",darken2:"#5d4037",darken3:"#4e342e",darken4:"#3e2723"}),Ej=Object.freeze({base:"#607d8b",lighten5:"#eceff1",lighten4:"#cfd8dc",lighten3:"#b0bec5",lighten2:"#90a4ae",lighten1:"#78909c",darken1:"#546e7a",darken2:"#455a64",darken3:"#37474f",darken4:"#263238"}),Lj=Object.freeze({base:"#9e9e9e",lighten5:"#fafafa",lighten4:"#f5f5f5",lighten3:"#eeeeee",lighten2:"#e0e0e0",lighten1:"#bdbdbd",darken1:"#757575",darken2:"#616161",darken3:"#424242",darken4:"#212121"}),Ij=Object.freeze({black:"#000000",white:"#ffffff",transparent:"#ffffff00"}),Rj=Object.freeze({red:fj,pink:dj,purple:pj,deepPurple:mj,indigo:gj,blue:vj,lightBlue:yj,cyan:bj,teal:xj,green:_j,lightGreen:wj,lime:Tj,yellow:kj,amber:Mj,orange:Aj,deepOrange:Sj,brown:Cj,blueGrey:Ej,grey:Lj,shades:Ij}),Pj=ur({swatches:{type:Array,default:()=>Oj(Rj)},disabled:Boolean,color:Object,maxHeight:[Number,String],...Zr()},"VColorPickerSwatches");function Oj(n){return Object.keys(n).map(e=>{const r=n[e];return r.base?[r.base,r.darken4,r.darken3,r.darken2,r.darken1,r.lighten1,r.lighten2,r.lighten3,r.lighten4,r.lighten5]:[r.black,r.white,r.transparent]})}const Dj=ac({name:"VColorPickerSwatches",props:Pj(),emits:{"update:color":n=>!0},setup(n,e){let{emit:r}=e;return Or(()=>gt("div",{class:["v-color-picker-swatches",n.class],style:[{maxHeight:Qr(n.maxHeight)},n.style]},[gt("div",null,[n.swatches.map(C=>gt("div",{class:"v-color-picker-swatches__swatch"},[C.map(D=>{const T=Pc(D),p=Xy(T),t=_6(T);return gt("div",{class:"v-color-picker-swatches__color",onClick:()=>p&&r("update:color",p)},[gt("div",{style:{background:t}},[n.color&&b0(n.color,p)?gt(ja,{size:"x-small",icon:"$success",color:mF(D,"#FFFFFF")>2?"white":"black"},null):void 0])])})]))])])),{}}});const tS=ur({color:String,...Su(),...Zr(),...sc(),...fs(),...ed(),...A0(),...lo(),...Si(),...oa()},"VSheet"),Ox=Ar()({name:"VSheet",props:tS(),setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{backgroundColorClasses:D,backgroundColorStyles:T}=Oo(Cr(n,"color")),{borderClasses:p}=uc(n),{dimensionStyles:t}=lc(n),{elevationClasses:d}=Vs(n),{locationStyles:g}=td(n),{positionClasses:i}=S0(n),{roundedClasses:M}=Eo(n);return Or(()=>gt(n.tag,{class:["v-sheet",C.value,D.value,p.value,d.value,i.value,M.value,n.class],style:[T.value,t.value,g.value,n.style]},r)),{}}}),zj=ur({canvasHeight:{type:[String,Number],default:150},disabled:Boolean,dotSize:{type:[Number,String],default:10},hideCanvas:Boolean,hideSliders:Boolean,hideInputs:Boolean,mode:{type:String,default:"rgba",validator:n=>Object.keys(Hd).includes(n)},modes:{type:Array,default:()=>Object.keys(Hd),validator:n=>Array.isArray(n)&&n.every(e=>Object.keys(Hd).includes(e))},showSwatches:Boolean,swatches:Array,swatchesMaxHeight:{type:[Number,String],default:150},modelValue:{type:[Object,String]},...ic(tS({width:300}),["height","location","minHeight","maxHeight","minWidth","maxWidth"])},"VColorPicker"),Fj=ac({name:"VColorPicker",props:zj(),emits:{"update:modelValue":n=>!0,"update:mode":n=>!0},setup(n){const e=xi(n,"mode"),r=Vr(null),C=xi(n,"modelValue",void 0,p=>{if(p==null||p==="")return null;let t;try{t=Xy(Pc(p))}catch{return null}return r.value&&(t={...t,h:r.value.h},r.value=null),t},p=>p?QV(p,n.modelValue):null),{rtlClasses:D}=Cs(),T=p=>{C.value=p,r.value=p};return Ks(()=>{n.modes.includes(e.value)||(e.value=n.modes[0])}),es({VSlider:{color:void 0,trackColor:void 0,trackFillColor:void 0}}),Or(()=>{const[p]=Ox.filterProps(n);return gt(Ox,qr({rounded:n.rounded,elevation:n.elevation,theme:n.theme,class:["v-color-picker",D.value,n.class],style:[{"--v-color-picker-color-hsv":w6({...C.value??bm,a:1})},n.style]},p,{maxWidth:n.width}),{default:()=>[!n.hideCanvas&>(KV,{key:"canvas",color:C.value,"onUpdate:color":T,disabled:n.disabled,dotSize:n.dotSize,width:n.width,height:n.canvasHeight},null),(!n.hideSliders||!n.hideInputs)&>("div",{key:"controls",class:"v-color-picker__controls"},[!n.hideSliders&>(hj,{key:"preview",color:C.value,"onUpdate:color":T,hideAlpha:!e.value.endsWith("a"),disabled:n.disabled},null),!n.hideInputs&>(aj,{key:"edit",modes:n.modes,mode:e.value,"onUpdate:mode":t=>e.value=t,color:C.value,"onUpdate:color":T,disabled:n.disabled},null)]),n.showSwatches&>(Dj,{key:"swatches",color:C.value,"onUpdate:color":T,maxHeight:n.swatchesMaxHeight,swatches:n.swatches,disabled:n.disabled},null)]})}),{}}});function Bj(n,e,r){if(e==null)return n;if(Array.isArray(e))throw new Error("Multiple matches is not implemented");return typeof e=="number"&&~e?gt(Yr,null,[gt("span",{class:"v-combobox__unmask"},[n.substr(0,e)]),gt("span",{class:"v-combobox__mask"},[n.substr(e,r)]),gt("span",{class:"v-combobox__unmask"},[n.substr(e+r)])]):n}const Nj=ur({autoSelectFirst:{type:[Boolean,String]},delimiters:Array,...DA({filterKeys:["title"]}),...k_({hideNoData:!0,returnObject:!0}),...ic(c1({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...df({transition:!1})},"VCombobox"),Vj=Ar()({name:"VCombobox",props:Nj(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,"update:search":n=>!0,"update:menu":n=>!0},setup(n,e){var q;let{emit:r,slots:C}=e;const{t:D}=oc(),T=Vr(),p=Wr(!1),t=Wr(!0),d=Wr(!1),g=Vr(),i=Vr(),M=xi(n,"menu"),v=cn({get:()=>M.value,set:H=>{var ne;M.value&&!H&&((ne=g.value)!=null&&ne.ΨopenChildren)||(M.value=H)}}),f=Wr(-1);let l=!1;const a=cn(()=>{var H;return(H=T.value)==null?void 0:H.color}),u=cn(()=>v.value?n.closeText:n.openText),{items:o,transformIn:s,transformOut:c}=x_(n),{textColorClasses:h,textColorStyles:m}=Xs(a),w=xi(n,"modelValue",[],H=>s(bu(H)),H=>{const ne=c(H);return n.multiple?ne:ne[0]??null}),y=i1(),S=Wr(n.multiple?"":((q=w.value[0])==null?void 0:q.title)??""),_=cn({get:()=>S.value,set:H=>{var ne;if(S.value=H,n.multiple||(w.value=[zd(n,H)]),H&&n.multiple&&((ne=n.delimiters)!=null&&ne.length)){const te=H.split(new RegExp(`(?:${n.delimiters.join("|")})+`));te.length>1&&(te.forEach(Z=>{Z=Z.trim(),Z&&j(zd(n,Z))}),S.value="")}H||(f.value=-1),t.value=!H}});$r(S,H=>{l?Ua(()=>l=!1):p.value&&!v.value&&(v.value=!0),r("update:search",H)}),$r(w,H=>{var ne;n.multiple||(S.value=((ne=H[0])==null?void 0:ne.title)??"")});const{filteredItems:k,getMatches:E}=zA(n,o,()=>t.value?"":_.value),x=cn(()=>n.hideSelected?k.value.filter(H=>!w.value.some(ne=>ne.value===H.value)):k.value),A=cn(()=>w.value.map(H=>H.value)),L=cn(()=>{var ne;return(n.autoSelectFirst===!0||n.autoSelectFirst==="exact"&&_.value===((ne=x.value[0])==null?void 0:ne.title))&&x.value.length>0&&!t.value&&!d.value}),b=cn(()=>n.hideNoData&&!o.value.length||n.readonly||(y==null?void 0:y.isReadonly.value)),R=Vr(),{onListScroll:I,onListKeydown:O}=T_(R,T);function z(H){l=!0,n.openOnClear&&(v.value=!0)}function F(){b.value||(v.value=!0)}function B(H){b.value||(p.value&&(H.preventDefault(),H.stopPropagation()),v.value=!v.value)}function N(H){var Z;if(n.readonly||y!=null&&y.isReadonly.value)return;const ne=T.value.selectionStart,te=w.value.length;if((f.value>-1||["Enter","ArrowDown","ArrowUp"].includes(H.key))&&H.preventDefault(),["Enter","ArrowDown"].includes(H.key)&&(v.value=!0),["Escape"].includes(H.key)&&(v.value=!1),["Enter","Escape","Tab"].includes(H.key)&&(L.value&&["Enter","Tab"].includes(H.key)&&j(k.value[0]),t.value=!0),H.key==="ArrowDown"&&L.value&&((Z=R.value)==null||Z.focus("next")),!!n.multiple){if(["Backspace","Delete"].includes(H.key)){if(f.value<0){H.key==="Backspace"&&!_.value&&(f.value=te-1);return}const X=f.value,Q=w.value[f.value];Q&&j(Q),f.value=X>=te-1?te-2:X}if(H.key==="ArrowLeft"){if(f.value<0&&ne>0)return;const X=f.value>-1?f.value-1:te-1;w.value[X]?f.value=X:(f.value=-1,T.value.setSelectionRange(_.value.length,_.value.length))}if(H.key==="ArrowRight"){if(f.value<0)return;const X=f.value+1;w.value[X]?f.value=X:(f.value=-1,T.value.setSelectionRange(0,0))}H.key==="Enter"&&_.value&&(j(zd(n,_.value)),_.value="")}}function W(){var H;p.value&&(t.value=!0,(H=T.value)==null||H.focus())}function j(H){if(n.multiple){const ne=w.value.findIndex(te=>n.valueComparator(te.value,H.value));if(ne===-1)w.value=[...w.value,H];else{const te=[...w.value];te.splice(ne,1),w.value=te}_.value=""}else w.value=[H],S.value=H.title,Ua(()=>{v.value=!1,t.value=!0})}function $(H){p.value=!0,setTimeout(()=>{d.value=!0})}function U(H){d.value=!1}function G(H){(H==null||H===""&&!n.multiple)&&(w.value=[])}return $r(k,H=>{!H.length&&n.hideNoData&&(v.value=!1)}),$r(p,(H,ne)=>{H||H===ne||(f.value=-1,v.value=!1,L.value&&!d.value&&!w.value.some(te=>{let{value:Z}=te;return Z===x.value[0].value})?j(x.value[0]):n.multiple&&_.value&&(w.value=[...w.value,zd(n,_.value)],_.value=""))}),$r(v,()=>{if(!n.hideSelected&&v.value&&w.value.length){const H=x.value.findIndex(ne=>w.value.some(te=>n.valueComparator(te.value,ne.value)));to&&window.requestAnimationFrame(()=>{var ne;H>=0&&((ne=i.value)==null||ne.scrollToIndex(H))})}}),Or(()=>{const H=!!(n.chips||C.chip),ne=!!(!n.hideNoData||x.value.length||C["prepend-item"]||C["append-item"]||C["no-data"]),te=w.value.length>0,[Z]=Kd.filterProps(n);return gt(Kd,qr({ref:T},Z,{modelValue:_.value,"onUpdate:modelValue":[X=>_.value=X,G],focused:p.value,"onUpdate:focused":X=>p.value=X,validationValue:w.externalValue,dirty:te,class:["v-combobox",{"v-combobox--active-menu":v.value,"v-combobox--chips":!!n.chips,"v-combobox--selection-slot":!!C.selection,"v-combobox--selecting-index":f.value>-1,[`v-combobox--${n.multiple?"multiple":"single"}`]:!0},n.class],style:n.style,readonly:n.readonly,placeholder:te?void 0:n.placeholder,"onClick:clear":z,"onMousedown:control":F,onKeydown:N}),{...C,default:()=>gt(Yr,null,[gt(s1,qr({ref:g,modelValue:v.value,"onUpdate:modelValue":X=>v.value=X,activator:"parent",contentClass:"v-combobox__content",disabled:b.value,eager:n.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:n.transition,onAfterLeave:W},n.menuProps),{default:()=>[ne&>(a1,{ref:R,selected:A.value,selectStrategy:n.multiple?"independent":"single-independent",onMousedown:X=>X.preventDefault(),onKeydown:O,onFocusin:$,onFocusout:U,onScrollPassive:I,tabindex:"-1",color:n.itemColor??n.color},{default:()=>{var X,Q,re;return[(X=C["prepend-item"])==null?void 0:X.call(C),!x.value.length&&!n.hideNoData&&(((Q=C["no-data"])==null?void 0:Q.call(C))??gt(af,{title:D(n.noDataText)},null)),gt(h1,{ref:i,renderless:!0,items:x.value},{default:ie=>{var de;let{item:oe,index:ue,itemRef:ce}=ie;const ye=qr(oe.props,{ref:ce,key:ue,active:L.value&&ue===0?!0:void 0,onClick:()=>j(oe)});return((de=C.item)==null?void 0:de.call(C,{item:oe,index:ue,props:ye}))??gt(af,ye,{prepend:me=>{let{isSelected:pe}=me;return gt(Yr,null,[n.multiple&&!n.hideSelected?gt(h0,{key:oe.value,modelValue:pe,ripple:!1,tabindex:"-1"},null):void 0,oe.props.prependIcon&>(ja,{icon:oe.props.prependIcon},null)])},title:()=>{var me,pe;return t.value?oe.title:Bj(oe.title,(me=E(oe))==null?void 0:me.title,((pe=_.value)==null?void 0:pe.length)??0)}})}}),(re=C["append-item"])==null?void 0:re.call(C)]}})]}),w.value.map((X,Q)=>{var oe;function re(ue){ue.stopPropagation(),ue.preventDefault(),j(X)}const ie={"onClick:close":re,onMousedown(ue){ue.preventDefault(),ue.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return gt("div",{key:X.value,class:["v-combobox__selection",Q===f.value&&["v-combobox__selection--selected",h.value]],style:Q===f.value?m.value:{}},[H?C.chip?gt(Fa,{key:"chip-defaults",defaults:{VChip:{closable:n.closableChips,size:"small",text:X.title}}},{default:()=>{var ue;return[(ue=C.chip)==null?void 0:ue.call(C,{item:X,index:Q,props:ie})]}}):gt(ug,qr({key:"chip",closable:n.closableChips,size:"small",text:X.title},ie),null):((oe=C.selection)==null?void 0:oe.call(C,{item:X,index:Q}))??gt("span",{class:"v-combobox__selection-text"},[X.title,n.multiple&&Q!0},setup(n,e){let{slots:r}=e;const C=xi(n,"modelValue"),{scopeId:D}=E0(),T=Vr();function p(d){var M,v;const g=d.relatedTarget,i=d.target;if(g!==i&&((M=T.value)!=null&&M.contentEl)&&((v=T.value)!=null&&v.globalTop)&&![document,T.value.contentEl].includes(i)&&!T.value.contentEl.contains(i)){const f=Dm(T.value.contentEl);if(!f.length)return;const l=f[0],a=f[f.length-1];g===l?a.focus():l.focus()}}to&&$r(()=>C.value&&n.retainFocus,d=>{d?document.addEventListener("focusin",p):document.removeEventListener("focusin",p)},{immediate:!0}),$r(C,async d=>{var g,i;await Ua(),d?(g=T.value.contentEl)==null||g.focus({preventScroll:!0}):(i=T.value.activatorEl)==null||i.focus({preventScroll:!0})});const t=cn(()=>qr({"aria-haspopup":"dialog","aria-expanded":String(C.value)},n.activatorProps));return Or(()=>{const[d]=of.filterProps(n);return gt(of,qr({ref:T,class:["v-dialog",{"v-dialog--fullscreen":n.fullscreen,"v-dialog--scrollable":n.scrollable},n.class],style:n.style},d,{modelValue:C.value,"onUpdate:modelValue":g=>C.value=g,"aria-modal":"true",activatorProps:t.value,role:"dialog"},D),{activator:r.activator,default:function(){for(var g=arguments.length,i=new Array(g),M=0;M{var v;return[(v=r.default)==null?void 0:v.call(r,...i)]}})}})}),Vc({},T)}});const jm=Symbol.for("vuetify:v-expansion-panel"),Hj=["default","accordion","inset","popout"],Gj=ur({color:String,variant:{type:String,default:"default",validator:n=>Hj.includes(n)},readonly:Boolean,...Zr(),...w0(),...Si(),...oa()},"VExpansionPanels"),qj=Ar()({name:"VExpansionPanels",props:Gj(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;ip(n,jm);const{themeClasses:C}=Ma(n),D=cn(()=>n.variant&&`v-expansion-panels--variant-${n.variant}`);return es({VExpansionPanel:{color:Cr(n,"color")},VExpansionPanelTitle:{readonly:Cr(n,"readonly")}}),Or(()=>gt(n.tag,{class:["v-expansion-panels",C.value,D.value,n.class],style:n.style},r)),{}}}),Wj=ur({...Zr(),...o1()},"VExpansionPanelText"),nS=Ar()({name:"VExpansionPanelText",props:Wj(),setup(n,e){let{slots:r}=e;const C=ka(jm);if(!C)throw new Error("[Vuetify] v-expansion-panel-text needs to be placed inside v-expansion-panel");const{hasContent:D,onAfterLeave:T}=__(n,C.isSelected);return Or(()=>gt(e1,{onAfterLeave:T},{default:()=>{var p;return[Co(gt("div",{class:["v-expansion-panel-text",n.class],style:n.style},[r.default&&D.value&>("div",{class:"v-expansion-panel-text__wrapper"},[(p=r.default)==null?void 0:p.call(r)])]),[[kh,C.isSelected.value]])]}})),{}}}),rS=ur({color:String,expandIcon:{type:bi,default:"$expand"},collapseIcon:{type:bi,default:"$collapse"},hideActions:Boolean,ripple:{type:[Boolean,Object],default:!1},readonly:Boolean,...Zr()},"VExpansionPanelTitle"),iS=Ar()({name:"VExpansionPanelTitle",directives:{Ripple:nd},props:rS(),setup(n,e){let{slots:r}=e;const C=ka(jm);if(!C)throw new Error("[Vuetify] v-expansion-panel-title needs to be placed inside v-expansion-panel");const{backgroundColorClasses:D,backgroundColorStyles:T}=Oo(n,"color"),p=cn(()=>({collapseIcon:n.collapseIcon,disabled:C.disabled.value,expanded:C.isSelected.value,expandIcon:n.expandIcon,readonly:n.readonly}));return Or(()=>{var t;return Co(gt("button",{class:["v-expansion-panel-title",{"v-expansion-panel-title--active":C.isSelected.value},D.value,n.class],style:[T.value,n.style],type:"button",tabindex:C.disabled.value?-1:void 0,disabled:C.disabled.value,"aria-expanded":C.isSelected.value,onClick:n.readonly?void 0:C.toggle},[gt("span",{class:"v-expansion-panel-title__overlay"},null),(t=r.default)==null?void 0:t.call(r,p.value),!n.hideActions&>("span",{class:"v-expansion-panel-title__icon"},[r.actions?r.actions(p.value):gt(ja,{icon:C.isSelected.value?n.collapseIcon:n.expandIcon},null)])]),[[Tu("ripple"),n.ripple]])}),{}}}),Yj=ur({title:String,text:String,bgColor:String,...Zr(),...fs(),...T0(),...o1(),...lo(),...Si(),...rS()},"VExpansionPanel"),$j=Ar()({name:"VExpansionPanel",props:Yj(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const C=k0(n,jm),{backgroundColorClasses:D,backgroundColorStyles:T}=Oo(n,"bgColor"),{elevationClasses:p}=Vs(n),{roundedClasses:t}=Eo(n),d=cn(()=>(C==null?void 0:C.disabled.value)||n.disabled),g=cn(()=>C.group.items.value.reduce((v,f,l)=>(C.group.selected.value.includes(f.id)&&v.push(l),v),[])),i=cn(()=>{const v=C.group.items.value.findIndex(f=>f.id===C.id);return!C.isSelected.value&&g.value.some(f=>f-v===1)}),M=cn(()=>{const v=C.group.items.value.findIndex(f=>f.id===C.id);return!C.isSelected.value&&g.value.some(f=>f-v===-1)});return ts(jm,C),es({VExpansionPanelText:{eager:Cr(n,"eager")}}),Or(()=>{const v=!!(r.text||n.text),f=!!(r.title||n.title);return gt(n.tag,{class:["v-expansion-panel",{"v-expansion-panel--active":C.isSelected.value,"v-expansion-panel--before-active":i.value,"v-expansion-panel--after-active":M.value,"v-expansion-panel--disabled":d.value},t.value,D.value,n.class],style:[T.value,n.style]},{default:()=>{var l;return[gt("div",{class:["v-expansion-panel__shadow",...p.value]},null),f&>(iS,{key:"title",collapseIcon:n.collapseIcon,color:n.color,expandIcon:n.expandIcon,hideActions:n.hideActions,ripple:n.ripple},{default:()=>[r.title?r.title():n.title]}),v&>(nS,{key:"text"},{default:()=>[r.text?r.text():n.text]}),(l=r.default)==null?void 0:l.call(r)]}})}),{}}});const Zj=ur({chips:Boolean,counter:Boolean,counterSizeString:{type:String,default:"$vuetify.fileInput.counterSize"},counterString:{type:String,default:"$vuetify.fileInput.counter"},multiple:Boolean,showSize:{type:[Boolean,Number],default:!1,validator:n=>typeof n=="boolean"||[1e3,1024].includes(n)},...mf({prependIcon:"$file"}),modelValue:{type:Array,default:()=>[],validator:n=>bu(n).every(e=>e!=null&&typeof e=="object")},...u1({clearable:!0})},"VFileInput"),Xj=Ar()({name:"VFileInput",inheritAttrs:!1,props:Zj(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:C,slots:D}=e;const{t:T}=oc(),p=xi(n,"modelValue"),{isFocused:t,focus:d,blur:g}=rd(n),i=cn(()=>typeof n.showSize!="boolean"?n.showSize:void 0),M=cn(()=>(p.value??[]).reduce((_,k)=>{let{size:E=0}=k;return _+E},0)),v=cn(()=>T5(M.value,i.value)),f=cn(()=>(p.value??[]).map(_=>{const{name:k="",size:E=0}=_;return n.showSize?`${k} (${T5(E,i.value)})`:k})),l=cn(()=>{var k;const _=((k=p.value)==null?void 0:k.length)??0;return n.showSize?T(n.counterSizeString,_,v.value):T(n.counterString,_)}),a=Vr(),u=Vr(),o=Vr(),s=cn(()=>t.value||n.active),c=cn(()=>["plain","underlined"].includes(n.variant));function h(){var _;o.value!==document.activeElement&&((_=o.value)==null||_.focus()),t.value||d()}function m(_){y(_)}function w(_){C("mousedown:control",_)}function y(_){var k;(k=o.value)==null||k.click(),C("click:control",_)}function S(_){_.stopPropagation(),h(),Ua(()=>{p.value=[],K2(n["onClick:clear"],_)})}return $r(p,_=>{(!Array.isArray(_)||!_.length)&&o.value&&(o.value.value="")}),Or(()=>{const _=!!(D.counter||n.counter),k=!!(_||D.details),[E,x]=Qd(r),[{modelValue:A,...L}]=Bs.filterProps(n),[b]=w_(n);return gt(Bs,qr({ref:a,modelValue:p.value,"onUpdate:modelValue":R=>p.value=R,class:["v-file-input",{"v-text-field--plain-underlined":c.value},n.class],style:n.style,"onClick:prepend":m},E,L,{centerAffix:!c.value,focused:t.value}),{...D,default:R=>{let{id:I,isDisabled:O,isDirty:z,isReadonly:F,isValid:B}=R;return gt(hg,qr({ref:u,"prepend-icon":n.prependIcon,onMousedown:w,onClick:y,"onClick:clear":S,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"]},b,{id:I.value,active:s.value||z.value,dirty:z.value,disabled:O.value,focused:t.value,error:B.value===!1}),{...D,default:N=>{var $;let{props:{class:W,...j}}=N;return gt(Yr,null,[gt("input",qr({ref:o,type:"file",readonly:F.value,disabled:O.value,multiple:n.multiple,name:n.name,onClick:U=>{U.stopPropagation(),F.value&&U.preventDefault(),h()},onChange:U=>{if(!U.target)return;const G=U.target;p.value=[...G.files??[]]},onFocus:h,onBlur:g},j,x),null),gt("div",{class:W},[!!(($=p.value)!=null&&$.length)&&(D.selection?D.selection({fileNames:f.value,totalBytes:M.value,totalBytesReadable:v.value}):n.chips?f.value.map(U=>gt(ug,{key:U,size:"small",color:n.color},{default:()=>[U]})):f.value.join(", "))])])}})},details:k?R=>{var I,O;return gt(Yr,null,[(I=D.details)==null?void 0:I.call(D,R),_&>(Yr,null,[gt("span",null,null),gt(l1,{active:!!((O=p.value)!=null&&O.length),value:l.value},D.counter)])])}:void 0})}),Vc({},a,u,o)}});const Kj=ur({app:Boolean,color:String,height:{type:[Number,String],default:"auto"},...Su(),...Zr(),...fs(),...x0(),...lo(),...Si({tag:"footer"}),...oa()},"VFooter"),Jj=Ar()({name:"VFooter",props:Kj(),setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{backgroundColorClasses:D,backgroundColorStyles:T}=Oo(Cr(n,"color")),{borderClasses:p}=uc(n),{elevationClasses:t}=Vs(n),{roundedClasses:d}=Eo(n),g=Wr(32),{resizeRef:i}=Th(f=>{f.length&&(g.value=f[0].target.clientHeight)}),M=cn(()=>n.height==="auto"?g.value:parseInt(n.height,10)),{layoutItemStyles:v}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:cn(()=>"bottom"),layoutSize:M,elementSize:cn(()=>n.height==="auto"?void 0:M.value),active:cn(()=>n.app),absolute:Cr(n,"absolute")});return Or(()=>gt(n.tag,{ref:i,class:["v-footer",C.value,D.value,p.value,t.value,d.value,n.class],style:[T.value,n.app?v.value:{height:Qr(n.height)},n.style]},r)),{}}}),Qj=ur({...Zr(),...cN()},"VForm"),eU=Ar()({name:"VForm",props:Qj(),emits:{"update:modelValue":n=>!0,submit:n=>!0},setup(n,e){let{slots:r,emit:C}=e;const D=hN(n),T=Vr();function p(d){d.preventDefault(),D.reset()}function t(d){const g=d,i=D.validate();g.then=i.then.bind(i),g.catch=i.catch.bind(i),g.finally=i.finally.bind(i),C("submit",g),g.defaultPrevented||i.then(M=>{var f;let{valid:v}=M;v&&((f=T.value)==null||f.submit())}),g.preventDefault()}return Or(()=>{var d;return gt("form",{ref:T,class:["v-form",n.class],style:n.style,novalidate:!0,onReset:p,onSubmit:t},[(d=r.default)==null?void 0:d.call(r,D)])}),Vc(D,T)}});const tU=ur({fluid:{type:Boolean,default:!1},...Zr(),...Si()},"VContainer"),nU=Ar()({name:"VContainer",props:tU(),setup(n,e){let{slots:r}=e;const{rtlClasses:C}=Cs();return Or(()=>gt(n.tag,{class:["v-container",{"v-container--fluid":n.fluid},C.value,n.class],style:n.style},r)),{}}}),aS=(()=>Ky.reduce((n,e)=>(n[e]={type:[Boolean,String,Number],default:!1},n),{}))(),oS=(()=>Ky.reduce((n,e)=>{const r="offset"+sf(e);return n[r]={type:[String,Number],default:null},n},{}))(),sS=(()=>Ky.reduce((n,e)=>{const r="order"+sf(e);return n[r]={type:[String,Number],default:null},n},{}))(),lT={col:Object.keys(aS),offset:Object.keys(oS),order:Object.keys(sS)};function rU(n,e,r){let C=n;if(!(r==null||r===!1)){if(e){const D=e.replace(n,"");C+=`-${D}`}return n==="col"&&(C="v-"+C),n==="col"&&(r===""||r===!0)||(C+=`-${r}`),C.toLowerCase()}}const iU=["auto","start","end","center","baseline","stretch"],aU=ur({cols:{type:[Boolean,String,Number],default:!1},...aS,offset:{type:[String,Number],default:null},...oS,order:{type:[String,Number],default:null},...sS,alignSelf:{type:String,default:null,validator:n=>iU.includes(n)},...Zr(),...Si()},"VCol"),oU=Ar()({name:"VCol",props:aU(),setup(n,e){let{slots:r}=e;const C=cn(()=>{const D=[];let T;for(T in lT)lT[T].forEach(t=>{const d=n[t],g=rU(T,t,d);g&&D.push(g)});const p=D.some(t=>t.startsWith("v-col-"));return D.push({"v-col":!p||!n.cols,[`v-col-${n.cols}`]:n.cols,[`offset-${n.offset}`]:n.offset,[`order-${n.order}`]:n.order,[`align-self-${n.alignSelf}`]:n.alignSelf}),D});return()=>{var D;return Xf(n.tag,{class:[C.value,n.class],style:n.style},(D=r.default)==null?void 0:D.call(r))}}}),S_=["start","end","center"],lS=["space-between","space-around","space-evenly"];function C_(n,e){return Ky.reduce((r,C)=>{const D=n+sf(C);return r[D]=e(),r},{})}const sU=[...S_,"baseline","stretch"],uS=n=>sU.includes(n),cS=C_("align",()=>({type:String,default:null,validator:uS})),lU=[...S_,...lS],hS=n=>lU.includes(n),fS=C_("justify",()=>({type:String,default:null,validator:hS})),uU=[...S_,...lS,"stretch"],dS=n=>uU.includes(n),pS=C_("alignContent",()=>({type:String,default:null,validator:dS})),uT={align:Object.keys(cS),justify:Object.keys(fS),alignContent:Object.keys(pS)},cU={align:"align",justify:"justify",alignContent:"align-content"};function hU(n,e,r){let C=cU[n];if(r!=null){if(e){const D=e.replace(n,"");C+=`-${D}`}return C+=`-${r}`,C.toLowerCase()}}const fU=ur({dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:uS},...cS,justify:{type:String,default:null,validator:hS},...fS,alignContent:{type:String,default:null,validator:dS},...pS,...Zr(),...Si()},"VRow"),dU=Ar()({name:"VRow",props:fU(),setup(n,e){let{slots:r}=e;const C=cn(()=>{const D=[];let T;for(T in uT)uT[T].forEach(p=>{const t=n[p],d=hU(T,p,t);d&&D.push(d)});return D.push({"v-row--no-gutters":n.noGutters,"v-row--dense":n.dense,[`align-${n.align}`]:n.align,[`justify-${n.justify}`]:n.justify,[`align-content-${n.alignContent}`]:n.alignContent}),D});return()=>{var D;return Xf(n.tag,{class:["v-row",C.value,n.class],style:n.style},(D=r.default)==null?void 0:D.call(r))}}}),pU=Nc("v-spacer","div","VSpacer"),mU=ur({disabled:Boolean,modelValue:{type:Boolean,default:void 0},...EA()},"VHover"),gU=Ar()({name:"VHover",props:mU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const C=xi(n,"modelValue"),{runOpenDelay:D,runCloseDelay:T}=LA(n,p=>!n.disabled&&(C.value=p));return()=>{var p;return(p=r.default)==null?void 0:p.call(r,{isHovering:C.value,props:{onMouseenter:D,onMouseleave:T}})}}});const mS=Symbol.for("vuetify:v-item-group"),vU=ur({...Zr(),...w0({selectedClass:"v-item--selected"}),...Si(),...oa()},"VItemGroup"),yU=Ar()({name:"VItemGroup",props:vU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{isSelected:D,select:T,next:p,prev:t,selected:d}=ip(n,mS);return()=>gt(n.tag,{class:["v-item-group",C.value,n.class],style:n.style},{default:()=>{var g;return[(g=r.default)==null?void 0:g.call(r,{isSelected:D,select:T,next:p,prev:t,selected:d.value})]}})}}),bU=Ar()({name:"VItem",props:T0(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const{isSelected:C,select:D,toggle:T,selectedClass:p,value:t,disabled:d}=k0(n,mS);return()=>{var g;return(g=r.default)==null?void 0:g.call(r,{isSelected:C.value,selectedClass:p.value,select:D,toggle:T,value:t.value,disabled:d.value})}}});const xU=Nc("v-kbd");const _U=ur({...Zr(),...z6()},"VLayout"),wU=Ar()({name:"VLayout",props:_U(),setup(n,e){let{slots:r}=e;const{layoutClasses:C,layoutStyles:D,getLayoutItem:T,items:p,layoutRef:t}=F6(n);return Or(()=>{var d;return gt("div",{ref:t,class:[C.value,n.class],style:[D.value,n.style]},[(d=r.default)==null?void 0:d.call(r)])}),{getLayoutItem:T,items:p}}});const TU=ur({position:{type:String,required:!0},size:{type:[Number,String],default:300},modelValue:Boolean,...Zr(),...x0()},"VLayoutItem"),kU=Ar()({name:"VLayoutItem",props:TU(),setup(n,e){let{slots:r}=e;const{layoutItemStyles:C}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:Cr(n,"position"),elementSize:Cr(n,"size"),layoutSize:Cr(n,"size"),active:Cr(n,"modelValue"),absolute:Cr(n,"absolute")});return()=>{var D;return gt("div",{class:["v-layout-item",n.class],style:[C.value,n.style]},[(D=r.default)==null?void 0:D.call(r)])}}}),MU=ur({modelValue:Boolean,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},...Zr(),...sc(),...Si(),...df({transition:"fade-transition"})},"VLazy"),AU=Ar()({name:"VLazy",directives:{intersect:og},props:MU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{dimensionStyles:C}=lc(n),D=xi(n,"modelValue");function T(p){D.value||(D.value=p)}return Or(()=>Co(gt(n.tag,{class:["v-lazy",n.class],style:[C.value,n.style]},{default:()=>[D.value&>(Oc,{transition:n.transition,appear:!0},{default:()=>{var p;return[(p=r.default)==null?void 0:p.call(r)]}})]}),[[Tu("intersect"),{handler:T,options:n.options},null]])),{}}});const SU=ur({locale:String,fallbackLocale:String,messages:Object,rtl:{type:Boolean,default:void 0},...Zr()},"VLocaleProvider"),CU=Ar()({name:"VLocaleProvider",props:SU(),setup(n,e){let{slots:r}=e;const{rtlClasses:C}=FF(n);return Or(()=>{var D;return gt("div",{class:["v-locale-provider",C.value,n.class],style:n.style},[(D=r.default)==null?void 0:D.call(r)])}),{}}});const EU=ur({scrollable:Boolean,...Zr(),...Si({tag:"main"})},"VMain"),LU=Ar()({name:"VMain",props:EU(),setup(n,e){let{slots:r}=e;const{mainStyles:C}=hB(),{ssrBootStyles:D}=tp();return Or(()=>gt(n.tag,{class:["v-main",{"v-main--scrollable":n.scrollable},n.class],style:[C.value,D.value,n.style]},{default:()=>{var T,p;return[n.scrollable?gt("div",{class:"v-main__scroller"},[(T=r.default)==null?void 0:T.call(r)]):(p=r.default)==null?void 0:p.call(r)]}})),{}}});function IU(n){let{rootEl:e,isSticky:r,layoutItemStyles:C}=n;const D=Wr(!1),T=Wr(0),p=cn(()=>{const g=typeof D.value=="boolean"?"top":D.value;return[r.value?{top:"auto",bottom:"auto",height:void 0}:void 0,D.value?{[g]:Qr(T.value)}:{top:C.value.top}]});Ks(()=>{$r(r,g=>{g?window.addEventListener("scroll",d,{passive:!0}):window.removeEventListener("scroll",d)},{immediate:!0})}),Tl(()=>{window.removeEventListener("scroll",d)});let t=0;function d(){const g=t>window.scrollY?"up":"down",i=e.value.getBoundingClientRect(),M=parseFloat(C.value.top??0),v=window.scrollY-Math.max(0,T.value-M),f=i.height+Math.max(T.value,M)-window.scrollY-window.innerHeight,l=parseFloat(getComputedStyle(e.value).getPropertyValue("--v-body-scroll-y"))||0;i.height0;r--){if(n[r].t===n[r-1].t)continue;const C=cT(e),D=(n[r].d-n[r-1].d)/(n[r].t-n[r-1].t);e+=(D-C)*Math.abs(D),r===n.length-1&&(e*=.5)}return cT(e)*1e3}function OU(){const n={};function e(D){Array.from(D.changedTouches).forEach(T=>{(n[T.identifier]??(n[T.identifier]=new qz(PU))).push([D.timeStamp,T])})}function r(D){Array.from(D.changedTouches).forEach(T=>{delete n[T.identifier]})}function C(D){var g;const T=(g=n[D])==null?void 0:g.values().reverse();if(!T)throw new Error(`No samples for touch id ${D}`);const p=T[0],t=[],d=[];for(const i of T){if(p[0]-i[0]>RU)break;t.push({t:i[0],d:i[1].clientX}),d.push({t:i[0],d:i[1].clientY})}return{x:hT(t),y:hT(d),get direction(){const{x:i,y:M}=this,[v,f]=[Math.abs(i),Math.abs(M)];return v>f&&i>=0?"right":v>f&&i<=0?"left":f>v&&M>=0?"down":f>v&&M<=0?"up":DU()}}}return{addMovement:e,endTouch:r,getVelocity:C}}function DU(){throw new Error}function zU(n){let{isActive:e,isTemporary:r,width:C,touchless:D,position:T}=n;Ks(()=>{window.addEventListener("touchstart",o,{passive:!0}),window.addEventListener("touchmove",s,{passive:!1}),window.addEventListener("touchend",c,{passive:!0})}),Tl(()=>{window.removeEventListener("touchstart",o),window.removeEventListener("touchmove",s),window.removeEventListener("touchend",c)});const p=cn(()=>["left","right"].includes(T.value)),{addMovement:t,endTouch:d,getVelocity:g}=OU();let i=!1;const M=Wr(!1),v=Wr(0),f=Wr(0);let l;function a(m,w){return(T.value==="left"?m:T.value==="right"?document.documentElement.clientWidth-m:T.value==="top"?m:T.value==="bottom"?document.documentElement.clientHeight-m:Lp())-(w?C.value:0)}function u(m){let w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const y=T.value==="left"?(m-f.value)/C.value:T.value==="right"?(document.documentElement.clientWidth-m-f.value)/C.value:T.value==="top"?(m-f.value)/C.value:T.value==="bottom"?(document.documentElement.clientHeight-m-f.value)/C.value:Lp();return w?Math.max(0,Math.min(1,y)):y}function o(m){if(D.value)return;const w=m.changedTouches[0].clientX,y=m.changedTouches[0].clientY,S=25,_=T.value==="left"?wdocument.documentElement.clientWidth-S:T.value==="top"?ydocument.documentElement.clientHeight-S:Lp(),k=e.value&&(T.value==="left"?wdocument.documentElement.clientWidth-C.value:T.value==="top"?ydocument.documentElement.clientHeight-C.value:Lp());(_||k||e.value&&r.value)&&(i=!0,l=[w,y],f.value=a(p.value?w:y,e.value),v.value=u(p.value?w:y),d(m),t(m))}function s(m){const w=m.changedTouches[0].clientX,y=m.changedTouches[0].clientY;if(i){if(!m.cancelable){i=!1;return}const _=Math.abs(w-l[0]),k=Math.abs(y-l[1]);(p.value?_>k&&_>3:k>_&&k>3)?(M.value=!0,i=!1):(p.value?k:_)>3&&(i=!1)}if(!M.value)return;m.preventDefault(),t(m);const S=u(p.value?w:y,!1);v.value=Math.max(0,Math.min(1,S)),S>1?f.value=a(p.value?w:y,!0):S<0&&(f.value=a(p.value?w:y,!1))}function c(m){if(i=!1,!M.value)return;t(m),M.value=!1;const w=g(m.changedTouches[0].identifier),y=Math.abs(w.x),S=Math.abs(w.y);(p.value?y>S&&y>400:S>y&&S>3)?e.value=w.direction===({left:"right",right:"left",top:"down",bottom:"up"}[T.value]||Lp()):e.value=v.value>.5}const h=cn(()=>M.value?{transform:T.value==="left"?`translateX(calc(-100% + ${v.value*C.value}px))`:T.value==="right"?`translateX(calc(100% - ${v.value*C.value}px))`:T.value==="top"?`translateY(calc(-100% + ${v.value*C.value}px))`:T.value==="bottom"?`translateY(calc(100% - ${v.value*C.value}px))`:Lp(),transition:"none"}:void 0);return{isDragging:M,dragProgress:v,dragStyles:h}}function Lp(){throw new Error}const FU=["start","end","left","right","top","bottom"],BU=ur({color:String,disableResizeWatcher:Boolean,disableRouteWatcher:Boolean,expandOnHover:Boolean,floating:Boolean,modelValue:{type:Boolean,default:null},permanent:Boolean,rail:{type:Boolean,default:null},railWidth:{type:[Number,String],default:56},scrim:{type:[Boolean,String],default:!0},image:String,temporary:Boolean,touchless:Boolean,width:{type:[Number,String],default:256},location:{type:String,default:"start",validator:n=>FU.includes(n)},sticky:Boolean,...Su(),...Zr(),...fs(),...x0(),...lo(),...Si({tag:"nav"}),...oa()},"VNavigationDrawer"),NU=Ar()({name:"VNavigationDrawer",props:BU(),emits:{"update:modelValue":n=>!0,"update:rail":n=>!0},setup(n,e){let{attrs:r,emit:C,slots:D}=e;const{isRtl:T}=Cs(),{themeClasses:p}=Ma(n),{borderClasses:t}=uc(n),{backgroundColorClasses:d,backgroundColorStyles:g}=Oo(Cr(n,"color")),{elevationClasses:i}=Vs(n),{mobile:M}=ep(),{roundedClasses:v}=Eo(n),f=$6(),l=xi(n,"modelValue",null,z=>!!z),{ssrBootStyles:a}=tp(),{scopeId:u}=E0(),o=Vr(),s=Wr(!1),c=cn(()=>n.rail&&n.expandOnHover&&s.value?Number(n.width):Number(n.rail?n.railWidth:n.width)),h=cn(()=>ux(n.location,T.value)),m=cn(()=>!n.permanent&&(M.value||n.temporary)),w=cn(()=>n.sticky&&!m.value&&h.value!=="bottom");n.expandOnHover&&n.rail!=null&&$r(s,z=>C("update:rail",!z)),n.disableResizeWatcher||$r(m,z=>!n.permanent&&Ua(()=>l.value=!z)),!n.disableRouteWatcher&&f&&$r(f.currentRoute,()=>m.value&&(l.value=!1)),$r(()=>n.permanent,z=>{z&&(l.value=!0)}),Sy(()=>{n.modelValue!=null||m.value||(l.value=n.permanent||!M.value)});const{isDragging:y,dragProgress:S,dragStyles:_}=zU({isActive:l,isTemporary:m,width:c,touchless:Cr(n,"touchless"),position:h}),k=cn(()=>{const z=m.value?0:n.rail&&n.expandOnHover?Number(n.railWidth):c.value;return y.value?z*S.value:z}),{layoutItemStyles:E,layoutItemScrimStyles:x}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:h,layoutSize:k,elementSize:c,active:cn(()=>l.value||y.value),disableTransitions:cn(()=>y.value),absolute:cn(()=>n.absolute||w.value&&typeof A.value!="string")}),{isStuck:A,stickyStyles:L}=IU({rootEl:o,isSticky:w,layoutItemStyles:E}),b=Oo(cn(()=>typeof n.scrim=="string"?n.scrim:null)),R=cn(()=>({...y.value?{opacity:S.value*.2,transition:"none"}:void 0,...x.value}));es({VList:{bgColor:"transparent"}});function I(){s.value=!0}function O(){s.value=!1}return Or(()=>{const z=D.image||n.image;return gt(Yr,null,[gt(n.tag,qr({ref:o,onMouseenter:I,onMouseleave:O,class:["v-navigation-drawer",`v-navigation-drawer--${h.value}`,{"v-navigation-drawer--expand-on-hover":n.expandOnHover,"v-navigation-drawer--floating":n.floating,"v-navigation-drawer--is-hovering":s.value,"v-navigation-drawer--rail":n.rail,"v-navigation-drawer--temporary":m.value,"v-navigation-drawer--active":l.value,"v-navigation-drawer--sticky":w.value},p.value,d.value,t.value,i.value,v.value,n.class],style:[g.value,E.value,_.value,a.value,L.value,n.style]},u,r),{default:()=>{var F,B,N,W;return[z&>("div",{key:"image",class:"v-navigation-drawer__img"},[D.image?(F=D.image)==null?void 0:F.call(D,{image:n.image}):gt("img",{src:n.image,alt:""},null)]),D.prepend&>("div",{class:"v-navigation-drawer__prepend"},[(B=D.prepend)==null?void 0:B.call(D)]),gt("div",{class:"v-navigation-drawer__content"},[(N=D.default)==null?void 0:N.call(D)]),D.append&>("div",{class:"v-navigation-drawer__append"},[(W=D.append)==null?void 0:W.call(D)])]}}),gt(bh,{name:"fade-transition"},{default:()=>[m.value&&(y.value||l.value)&&!!n.scrim&>("div",qr({class:["v-navigation-drawer__scrim",b.backgroundColorClasses.value],style:[R.value,b.backgroundColorStyles.value],onClick:()=>l.value=!1},u),null)]})])}),{isStuck:A}}}),VU=ac({name:"VNoSsr",setup(n,e){let{slots:r}=e;const C=IA();return()=>{var D;return C.value&&((D=r.default)==null?void 0:D.call(r))}}});function jU(){const n=Vr([]);KT(()=>n.value=[]);function e(r,C){n.value[C]=r}return{refs:n,updateRef:e}}const UU=ur({activeColor:String,start:{type:[Number,String],default:1},modelValue:{type:Number,default:n=>n.start},disabled:Boolean,length:{type:[Number,String],default:1,validator:n=>n%1===0},totalVisible:[Number,String],firstIcon:{type:bi,default:"$first"},prevIcon:{type:bi,default:"$prev"},nextIcon:{type:bi,default:"$next"},lastIcon:{type:bi,default:"$last"},ariaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.root"},pageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.page"},currentPageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.currentPage"},firstAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.first"},previousAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.previous"},nextAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.next"},lastAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.last"},ellipsis:{type:String,default:"..."},showFirstLastPage:Boolean,...Su(),...Zr(),...ds(),...fs(),...lo(),...pf(),...Si({tag:"nav"}),...oa(),...cc({variant:"text"})},"VPagination"),HU=Ar()({name:"VPagination",props:UU(),emits:{"update:modelValue":n=>!0,first:n=>!0,prev:n=>!0,next:n=>!0,last:n=>!0},setup(n,e){let{slots:r,emit:C}=e;const D=xi(n,"modelValue"),{t:T,n:p}=oc(),{isRtl:t}=Cs(),{themeClasses:d}=Ma(n),{width:g}=ep(),i=Wr(-1);es(void 0,{scoped:!0});const{resizeRef:M}=Th(S=>{if(!S.length)return;const{target:_,contentRect:k}=S[0],E=_.querySelector(".v-pagination__list > *");if(!E)return;const x=k.width,A=E.offsetWidth+parseFloat(getComputedStyle(E).marginRight)*2;i.value=a(x,A)}),v=cn(()=>parseInt(n.length,10)),f=cn(()=>parseInt(n.start,10)),l=cn(()=>n.totalVisible?parseInt(n.totalVisible,10):i.value>=0?i.value:a(g.value,58));function a(S,_){const k=n.showFirstLastPage?5:3;return Math.max(0,Math.floor(+((S-_*k)/_).toFixed(2)))}const u=cn(()=>{if(v.value<=0||isNaN(v.value)||v.value>Number.MAX_SAFE_INTEGER)return[];if(l.value<=1)return[D.value];if(v.value<=l.value)return Kh(v.value,f.value);const S=l.value%2===0,_=S?l.value/2:Math.floor(l.value/2),k=S?_:_+1,E=v.value-_;if(k-D.value>=0)return[...Kh(Math.max(1,l.value-1),f.value),n.ellipsis,v.value];if(D.value-E>=(S?1:0)){const x=l.value-1,A=v.value-x+f.value;return[f.value,n.ellipsis,...Kh(x,A)]}else{const x=Math.max(1,l.value-3),A=x===1?D.value:D.value-Math.ceil(x/2)+f.value;return[f.value,n.ellipsis,...Kh(x,A),n.ellipsis,v.value]}});function o(S,_,k){S.preventDefault(),D.value=_,k&&C(k,_)}const{refs:s,updateRef:c}=jU();es({VPaginationBtn:{color:Cr(n,"color"),border:Cr(n,"border"),density:Cr(n,"density"),size:Cr(n,"size"),variant:Cr(n,"variant"),rounded:Cr(n,"rounded"),elevation:Cr(n,"elevation")}});const h=cn(()=>u.value.map((S,_)=>{const k=E=>c(E,_);if(typeof S=="string")return{isActive:!1,key:`ellipsis-${_}`,page:S,props:{ref:k,ellipsis:!0,icon:!0,disabled:!0}};{const E=S===D.value;return{isActive:E,key:S,page:p(S),props:{ref:k,ellipsis:!1,icon:!0,disabled:!!n.disabled||+n.length<2,color:E?n.activeColor:n.color,ariaCurrent:E,ariaLabel:T(E?n.currentPageAriaLabel:n.pageAriaLabel,S),onClick:x=>o(x,S)}}}})),m=cn(()=>{const S=!!n.disabled||D.value<=f.value,_=!!n.disabled||D.value>=f.value+v.value-1;return{first:n.showFirstLastPage?{icon:t.value?n.lastIcon:n.firstIcon,onClick:k=>o(k,f.value,"first"),disabled:S,ariaLabel:T(n.firstAriaLabel),ariaDisabled:S}:void 0,prev:{icon:t.value?n.nextIcon:n.prevIcon,onClick:k=>o(k,D.value-1,"prev"),disabled:S,ariaLabel:T(n.previousAriaLabel),ariaDisabled:S},next:{icon:t.value?n.prevIcon:n.nextIcon,onClick:k=>o(k,D.value+1,"next"),disabled:_,ariaLabel:T(n.nextAriaLabel),ariaDisabled:_},last:n.showFirstLastPage?{icon:t.value?n.firstIcon:n.lastIcon,onClick:k=>o(k,f.value+v.value-1,"last"),disabled:_,ariaLabel:T(n.lastAriaLabel),ariaDisabled:_}:void 0}});function w(){var _;const S=D.value-f.value;(_=s.value[S])==null||_.$el.focus()}function y(S){S.key===sx.left&&!n.disabled&&D.value>+n.start?(D.value=D.value-1,Ua(w)):S.key===sx.right&&!n.disabled&&D.valuegt(n.tag,{ref:M,class:["v-pagination",d.value,n.class],style:n.style,role:"navigation","aria-label":T(n.ariaLabel),onKeydown:y,"data-test":"v-pagination-root"},{default:()=>[gt("ul",{class:"v-pagination__list"},[n.showFirstLastPage&>("li",{key:"first",class:"v-pagination__first","data-test":"v-pagination-first"},[r.first?r.first(m.value.first):gt(_l,qr({_as:"VPaginationBtn"},m.value.first),null)]),gt("li",{key:"prev",class:"v-pagination__prev","data-test":"v-pagination-prev"},[r.prev?r.prev(m.value.prev):gt(_l,qr({_as:"VPaginationBtn"},m.value.prev),null)]),h.value.map((S,_)=>gt("li",{key:S.key,class:["v-pagination__item",{"v-pagination__item--is-active":S.isActive}],"data-test":"v-pagination-item"},[r.item?r.item(S):gt(_l,qr({_as:"VPaginationBtn"},S.props),{default:()=>[S.page]})])),gt("li",{key:"next",class:"v-pagination__next","data-test":"v-pagination-next"},[r.next?r.next(m.value.next):gt(_l,qr({_as:"VPaginationBtn"},m.value.next),null)]),n.showFirstLastPage&>("li",{key:"last",class:"v-pagination__last","data-test":"v-pagination-last"},[r.last?r.last(m.value.last):gt(_l,qr({_as:"VPaginationBtn"},m.value.last),null)])])]})),{}}});function GU(n){return Math.floor(Math.abs(n))*Math.sign(n)}const qU=ur({scale:{type:[Number,String],default:.5},...Zr()},"VParallax"),WU=Ar()({name:"VParallax",props:qU(),setup(n,e){let{slots:r}=e;const{intersectionRef:C,isIntersecting:D}=f_(),{resizeRef:T,contentRect:p}=Th(),{height:t}=ep(),d=Vr();wu(()=>{var f;C.value=T.value=(f=d.value)==null?void 0:f.$el});let g;$r(D,f=>{f?(g=t_(C.value),g=g===document.scrollingElement?document:g,g.addEventListener("scroll",v,{passive:!0}),v()):g.removeEventListener("scroll",v)}),Tl(()=>{g==null||g.removeEventListener("scroll",v)}),$r(t,v),$r(()=>{var f;return(f=p.value)==null?void 0:f.height},v);const i=cn(()=>1-Zs(+n.scale));let M=-1;function v(){D.value&&(cancelAnimationFrame(M),M=requestAnimationFrame(()=>{var m;const f=((m=d.value)==null?void 0:m.$el).querySelector(".v-img__img");if(!f)return;const l=g instanceof Document?document.documentElement.clientHeight:g.clientHeight,a=g instanceof Document?window.scrollY:g.scrollTop,u=C.value.getBoundingClientRect().top+a,o=p.value.height,s=u+(o-l)/2,c=GU((a-s)*i.value),h=Math.max(1,(i.value*(l-o)+o)/o);f.style.setProperty("transform",`translateY(${c}px) scale(${h})`)}))}return Or(()=>gt(Zd,{class:["v-parallax",{"v-parallax--active":D.value},n.class],style:n.style,ref:d,cover:!0,onLoadstart:v,onLoad:v},r)),{}}}),YU=ur({...n1({falseIcon:"$radioOff",trueIcon:"$radioOn"})},"VRadio"),$U=Ar()({name:"VRadio",props:YU(),setup(n,e){let{slots:r}=e;return Or(()=>gt(Xd,qr(n,{class:["v-radio",n.class],style:n.style,type:"radio"}),r)),{}}});const ZU=ur({height:{type:[Number,String],default:"auto"},...mf(),...ic(y_(),["multiple"]),trueIcon:{type:bi,default:"$radioOn"},falseIcon:{type:bi,default:"$radioOff"},type:{type:String,default:"radio"}},"VRadioGroup"),XU=Ar()({name:"VRadioGroup",inheritAttrs:!1,props:ZU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{attrs:r,slots:C}=e;const D=Js(),T=cn(()=>n.id||`radio-group-${D}`),p=xi(n,"modelValue");return Or(()=>{const[t,d]=Qd(r),[g,i]=Bs.filterProps(n),[M,v]=Xd.filterProps(n),f=C.label?C.label({label:n.label,props:{for:T.value}}):n.label;return gt(Bs,qr({class:["v-radio-group",n.class],style:n.style},t,g,{modelValue:p.value,"onUpdate:modelValue":l=>p.value=l,id:T.value}),{...C,default:l=>{let{id:a,messagesId:u,isDisabled:o,isReadonly:s}=l;return gt(Yr,null,[f&>(C0,{id:a.value},{default:()=>[f]}),gt(aA,qr(M,{id:a.value,"aria-describedby":u.value,defaultsTarget:"VRadio",trueIcon:n.trueIcon,falseIcon:n.falseIcon,type:n.type,disabled:o.value,readonly:s.value,"aria-labelledby":f?a.value:void 0,multiple:!1},d,{modelValue:p.value,"onUpdate:modelValue":c=>p.value=c}),C)])}})}),{}}}),KU=ur({...r1(),...mf(),...KA(),strict:Boolean,modelValue:{type:Array,default:()=>[0,0]}},"VRangeSlider"),JU=Ar()({name:"VRangeSlider",props:KU(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,end:n=>!0,start:n=>!0},setup(n,e){let{slots:r,emit:C}=e;const D=Vr(),T=Vr(),p=Vr(),{rtlClasses:t}=Cs();function d(_){if(!D.value||!T.value)return;const k=Ix(_,D.value.$el,n.direction),E=Ix(_,T.value.$el,n.direction),x=Math.abs(k),A=Math.abs(E);return x_!=null&&_.length?_.map(k=>g.roundValue(k)):[0,0]),{activeThumbRef:M,hasLabels:v,max:f,min:l,mousePressed:a,onSliderMousedown:u,onSliderTouchstart:o,position:s,trackContainerRef:c}=QA({props:n,steps:g,onSliderStart:()=>{C("start",i.value)},onSliderEnd:_=>{var x;let{value:k}=_;const E=M.value===((x=D.value)==null?void 0:x.$el)?[k,i.value[1]]:[i.value[0],k];!n.strict&&E[0]{var A,L,b,R;let{value:k}=_;const[E,x]=i.value;!n.strict&&E===x&&E!==l.value&&(M.value=k>E?(A=T.value)==null?void 0:A.$el:(L=D.value)==null?void 0:L.$el,(b=M.value)==null||b.focus()),M.value===((R=D.value)==null?void 0:R.$el)?i.value=[Math.min(k,x),x]:i.value=[E,Math.max(E,k)]},getActiveThumb:d}),{isFocused:h,focus:m,blur:w}=rd(n),y=cn(()=>s(i.value[0])),S=cn(()=>s(i.value[1]));return Or(()=>{const[_,k]=Bs.filterProps(n),E=!!(n.label||r.label||r.prepend);return gt(Bs,qr({class:["v-slider","v-range-slider",{"v-slider--has-labels":!!r["tick-label"]||v.value,"v-slider--focused":h.value,"v-slider--pressed":a.value,"v-slider--disabled":n.disabled},t.value,n.class],style:n.style,ref:p},_,{focused:h.value}),{...r,prepend:E?x=>{var A,L;return gt(Yr,null,[((A=r.label)==null?void 0:A.call(r,x))??n.label?gt(C0,{class:"v-slider__label",text:n.label},null):void 0,(L=r.prepend)==null?void 0:L.call(r,x)])}:void 0,default:x=>{var b,R;let{id:A,messagesId:L}=x;return gt("div",{class:"v-slider__container",onMousedown:u,onTouchstartPassive:o},[gt("input",{id:`${A.value}_start`,name:n.name||A.value,disabled:!!n.disabled,readonly:!!n.readonly,tabindex:"-1",value:i.value[0]},null),gt("input",{id:`${A.value}_stop`,name:n.name||A.value,disabled:!!n.disabled,readonly:!!n.readonly,tabindex:"-1",value:i.value[1]},null),gt(eS,{ref:c,start:y.value,stop:S.value},{"tick-label":r["tick-label"]}),gt(Rx,{ref:D,"aria-describedby":L.value,focused:h&&M.value===((b=D.value)==null?void 0:b.$el),modelValue:i.value[0],"onUpdate:modelValue":I=>i.value=[I,i.value[1]],onFocus:I=>{var O,z,F,B;m(),M.value=(O=D.value)==null?void 0:O.$el,i.value[0]===i.value[1]&&i.value[1]===l.value&&I.relatedTarget!==((z=T.value)==null?void 0:z.$el)&&((F=D.value)==null||F.$el.blur(),(B=T.value)==null||B.$el.focus())},onBlur:()=>{w(),M.value=void 0},min:l.value,max:i.value[1],position:y.value},{"thumb-label":r["thumb-label"]}),gt(Rx,{ref:T,"aria-describedby":L.value,focused:h&&M.value===((R=T.value)==null?void 0:R.$el),modelValue:i.value[1],"onUpdate:modelValue":I=>i.value=[i.value[0],I],onFocus:I=>{var O,z,F,B;m(),M.value=(O=T.value)==null?void 0:O.$el,i.value[0]===i.value[1]&&i.value[0]===f.value&&I.relatedTarget!==((z=D.value)==null?void 0:z.$el)&&((F=T.value)==null||F.$el.blur(),(B=D.value)==null||B.$el.focus())},onBlur:()=>{w(),M.value=void 0},min:i.value[0],max:f.value,position:S.value},{"thumb-label":r["thumb-label"]})])}})}),{}}});const QU=ur({name:String,itemAriaLabel:{type:String,default:"$vuetify.rating.ariaLabel.item"},activeColor:String,color:String,clearable:Boolean,disabled:Boolean,emptyIcon:{type:bi,default:"$ratingEmpty"},fullIcon:{type:bi,default:"$ratingFull"},halfIncrements:Boolean,hover:Boolean,length:{type:[Number,String],default:5},readonly:Boolean,modelValue:{type:[Number,String],default:0},itemLabels:Array,itemLabelPosition:{type:String,default:"top",validator:n=>["top","bottom"].includes(n)},ripple:Boolean,...Zr(),...ds(),...pf(),...Si(),...oa()},"VRating"),eH=Ar()({name:"VRating",props:QU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{t:C}=oc(),{themeClasses:D}=Ma(n),T=xi(n,"modelValue"),p=cn(()=>Zs(parseFloat(T.value),0,+n.length)),t=cn(()=>Kh(Number(n.length),1)),d=cn(()=>t.value.flatMap(a=>n.halfIncrements?[a-.5,a]:[a])),g=Wr(-1),i=cn(()=>d.value.map(a=>{const u=n.hover&&g.value>-1,o=p.value>=a,s=g.value>=a,h=(u?s:o)?n.fullIcon:n.emptyIcon,m=n.activeColor??n.color,w=o||s?m:n.color;return{isFilled:o,isHovered:s,icon:h,color:w}})),M=cn(()=>[0,...d.value].map(a=>{function u(){g.value=a}function o(){g.value=-1}function s(){n.disabled||n.readonly||(T.value=p.value===a&&n.clearable?0:a)}return{onMouseenter:n.hover?u:void 0,onMouseleave:n.hover?o:void 0,onClick:s}})),v=cn(()=>n.name??`v-rating-${Js()}`);function f(a){var S,_;let{value:u,index:o,showStar:s=!0}=a;const{onMouseenter:c,onMouseleave:h,onClick:m}=M.value[o+1],w=`${v.value}-${String(u).replace(".","-")}`,y={color:(S=i.value[o])==null?void 0:S.color,density:n.density,disabled:n.disabled,icon:(_=i.value[o])==null?void 0:_.icon,ripple:n.ripple,size:n.size,variant:"plain"};return gt(Yr,null,[gt("label",{for:w,class:{"v-rating__item--half":n.halfIncrements&&u%1>0,"v-rating__item--full":n.halfIncrements&&u%1===0},onMouseenter:c,onMouseleave:h,onClick:m},[gt("span",{class:"v-rating__hidden"},[C(n.itemAriaLabel,u,n.length)]),s?r.item?r.item({...i.value[o],props:y,value:u,index:o,rating:p.value}):gt(_l,qr({"aria-label":C(n.itemAriaLabel,u,n.length)},y),null):void 0]),gt("input",{class:"v-rating__hidden",name:v.value,id:w,type:"radio",value:u,checked:p.value===u,tabindex:-1,readonly:n.readonly,disabled:n.disabled},null)])}function l(a){return r["item-label"]?r["item-label"](a):a.label?gt("span",null,[a.label]):gt("span",null,[ia(" ")])}return Or(()=>{var u;const a=!!((u=n.itemLabels)!=null&&u.length)||r["item-label"];return gt(n.tag,{class:["v-rating",{"v-rating--hover":n.hover,"v-rating--readonly":n.readonly},D.value,n.class],style:n.style},{default:()=>[gt(f,{value:0,index:-1,showStar:!1},null),t.value.map((o,s)=>{var c,h;return gt("div",{class:"v-rating__wrapper"},[a&&n.itemLabelPosition==="top"?l({value:o,index:s,label:(c=n.itemLabels)==null?void 0:c[s]}):void 0,gt("div",{class:"v-rating__item"},[n.halfIncrements?gt(Yr,null,[gt(f,{value:o-.5,index:s*2},null),gt(f,{value:o,index:s*2+1},null)]):gt(f,{value:o,index:s},null)]),a&&n.itemLabelPosition==="bottom"?l({value:o,index:s,label:(h=n.itemLabels)==null?void 0:h[s]}):void 0])})]})}),{}}});function fT(n){const r=Math.abs(n);return Math.sign(n)*(r/((1/.501-2)*(1-r)+1))}function dT(n){let{selectedElement:e,containerSize:r,contentSize:C,isRtl:D,currentScrollOffset:T,isHorizontal:p}=n;const t=p?e.clientWidth:e.clientHeight,d=p?e.offsetLeft:e.offsetTop,g=D&&p?C-d-t:d,i=r+T,M=t+g,v=t*.4;return g<=T?T=Math.max(g-v,0):i<=M&&(T=Math.min(T-(i-M-v),C-r)),T}function tH(n){let{selectedElement:e,containerSize:r,contentSize:C,isRtl:D,isHorizontal:T}=n;const p=T?e.clientWidth:e.clientHeight,t=T?e.offsetLeft:e.offsetTop,d=D&&T?C-t-p/2-r/2:t+p/2-r/2;return Math.min(C-r,Math.max(0,d))}const gS=Symbol.for("vuetify:v-slide-group"),vS=ur({centerActive:Boolean,direction:{type:String,default:"horizontal"},symbol:{type:null,default:gS},nextIcon:{type:bi,default:"$next"},prevIcon:{type:bi,default:"$prev"},showArrows:{type:[Boolean,String],validator:n=>typeof n=="boolean"||["always","desktop","mobile"].includes(n)},...Zr(),...Si(),...w0({selectedClass:"v-slide-group-item--active"})},"VSlideGroup"),Dx=Ar()({name:"VSlideGroup",props:vS(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{isRtl:C}=Cs(),{mobile:D}=ep(),T=ip(n,n.symbol),p=Wr(!1),t=Wr(0),d=Wr(0),g=Wr(0),i=cn(()=>n.direction==="horizontal"),{resizeRef:M,contentRect:v}=Th(),{resizeRef:f,contentRect:l}=Th(),a=cn(()=>T.selected.value.length?T.items.value.findIndex(F=>F.id===T.selected.value[0]):-1),u=cn(()=>T.selected.value.length?T.items.value.findIndex(F=>F.id===T.selected.value[T.selected.value.length-1]):-1);if(to){let F=-1;$r(()=>[T.selected.value,v.value,l.value,i.value],()=>{cancelAnimationFrame(F),F=requestAnimationFrame(()=>{if(v.value&&l.value){const B=i.value?"width":"height";d.value=v.value[B],g.value=l.value[B],p.value=d.value+1=0&&f.value){const B=f.value.children[u.value];a.value===0||!p.value?t.value=0:n.centerActive?t.value=tH({selectedElement:B,containerSize:d.value,contentSize:g.value,isRtl:C.value,isHorizontal:i.value}):p.value&&(t.value=dT({selectedElement:B,containerSize:d.value,contentSize:g.value,isRtl:C.value,currentScrollOffset:t.value,isHorizontal:i.value}))}})})}const o=Wr(!1);let s=0,c=0;function h(F){const B=i.value?"clientX":"clientY";c=(C.value&&i.value?-1:1)*t.value,s=F.touches[0][B],o.value=!0}function m(F){if(!p.value)return;const B=i.value?"clientX":"clientY",N=C.value&&i.value?-1:1;t.value=N*(c+s-F.touches[0][B])}function w(F){const B=g.value-d.value;t.value<0||!p.value?t.value=0:t.value>=B&&(t.value=B),o.value=!1}function y(){M.value&&(M.value[i.value?"scrollLeft":"scrollTop"]=0)}const S=Wr(!1);function _(F){if(S.value=!0,!(!p.value||!f.value)){for(const B of F.composedPath())for(const N of f.value.children)if(N===B){t.value=dT({selectedElement:N,containerSize:d.value,contentSize:g.value,isRtl:C.value,currentScrollOffset:t.value,isHorizontal:i.value});return}}}function k(F){S.value=!1}function E(F){var B;!S.value&&!(F.relatedTarget&&((B=f.value)!=null&&B.contains(F.relatedTarget)))&&A()}function x(F){f.value&&(i.value?F.key==="ArrowRight"?A(C.value?"prev":"next"):F.key==="ArrowLeft"&&A(C.value?"next":"prev"):F.key==="ArrowDown"?A("next"):F.key==="ArrowUp"&&A("prev"),F.key==="Home"?A("first"):F.key==="End"&&A("last"))}function A(F){var B,N,W,j,$;if(f.value)if(!F)(B=Dm(f.value)[0])==null||B.focus();else if(F==="next"){const U=(N=f.value.querySelector(":focus"))==null?void 0:N.nextElementSibling;U?U.focus():A("first")}else if(F==="prev"){const U=(W=f.value.querySelector(":focus"))==null?void 0:W.previousElementSibling;U?U.focus():A("last")}else F==="first"?(j=f.value.firstElementChild)==null||j.focus():F==="last"&&(($=f.value.lastElementChild)==null||$.focus())}function L(F){const B=t.value+(F==="prev"?-1:1)*d.value;t.value=Zs(B,0,g.value-d.value)}const b=cn(()=>{let F=t.value>g.value-d.value?-(g.value-d.value)+fT(g.value-d.value-t.value):-t.value;t.value<=0&&(F=fT(-t.value));const B=C.value&&i.value?-1:1;return{transform:`translate${i.value?"X":"Y"}(${B*F}px)`,transition:o.value?"none":"",willChange:o.value?"transform":""}}),R=cn(()=>({next:T.next,prev:T.prev,select:T.select,isSelected:T.isSelected})),I=cn(()=>{switch(n.showArrows){case"always":return!0;case"desktop":return!D.value;case!0:return p.value||Math.abs(t.value)>0;case"mobile":return D.value||p.value||Math.abs(t.value)>0;default:return!D.value&&(p.value||Math.abs(t.value)>0)}}),O=cn(()=>Math.abs(t.value)>0),z=cn(()=>g.value>Math.abs(t.value)+d.value);return Or(()=>gt(n.tag,{class:["v-slide-group",{"v-slide-group--vertical":!i.value,"v-slide-group--has-affixes":I.value,"v-slide-group--is-overflowing":p.value},n.class],style:n.style,tabindex:S.value||T.selected.value.length?-1:0,onFocus:E},{default:()=>{var F,B,N;return[I.value&>("div",{key:"prev",class:["v-slide-group__prev",{"v-slide-group__prev--disabled":!O.value}],onClick:()=>L("prev")},[((F=r.prev)==null?void 0:F.call(r,R.value))??gt(gx,null,{default:()=>[gt(ja,{icon:C.value?n.nextIcon:n.prevIcon},null)]})]),gt("div",{key:"container",ref:M,class:"v-slide-group__container",onScroll:y},[gt("div",{ref:f,class:"v-slide-group__content",style:b.value,onTouchstartPassive:h,onTouchmovePassive:m,onTouchendPassive:w,onFocusin:_,onFocusout:k,onKeydown:x},[(B=r.default)==null?void 0:B.call(r,R.value)])]),I.value&>("div",{key:"next",class:["v-slide-group__next",{"v-slide-group__next--disabled":!z.value}],onClick:()=>L("next")},[((N=r.next)==null?void 0:N.call(r,R.value))??gt(gx,null,{default:()=>[gt(ja,{icon:C.value?n.prevIcon:n.nextIcon},null)]})])]}})),{selected:T.selected,scrollTo:L,scrollOffset:t,focus:A}}}),nH=Ar()({name:"VSlideGroupItem",props:T0(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const C=k0(n,gS);return()=>{var D;return(D=r.default)==null?void 0:D.call(r,{isSelected:C.isSelected.value,select:C.select,toggle:C.toggle,selectedClass:C.selectedClass.value})}}});const rH=ur({multiLine:Boolean,timeout:{type:[Number,String],default:5e3},vertical:Boolean,...ed({location:"bottom"}),...A0(),...lo(),...cc(),...oa(),...ic(cg({transition:"v-snackbar-transition"}),["persistent","noClickAnimation","scrim","scrollStrategy"])},"VSnackbar"),iH=Ar()({name:"VSnackbar",props:rH(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const C=xi(n,"modelValue"),{locationStyles:D}=td(n),{positionClasses:T}=S0(n),{scopeId:p}=E0(),{themeClasses:t}=Ma(n),{colorClasses:d,colorStyles:g,variantClasses:i}=rp(n),{roundedClasses:M}=Eo(n),v=Vr();$r(C,l),$r(()=>n.timeout,l),Ks(()=>{C.value&&l()});let f=-1;function l(){window.clearTimeout(f);const u=Number(n.timeout);!C.value||u===-1||(f=window.setTimeout(()=>{C.value=!1},u))}function a(){window.clearTimeout(f)}return Or(()=>{const[u]=of.filterProps(n);return gt(of,qr({ref:v,class:["v-snackbar",{"v-snackbar--active":C.value,"v-snackbar--multi-line":n.multiLine&&!n.vertical,"v-snackbar--vertical":n.vertical},T.value,n.class],style:n.style},u,{modelValue:C.value,"onUpdate:modelValue":o=>C.value=o,contentProps:qr({class:["v-snackbar__wrapper",t.value,d.value,M.value,i.value],style:[D.value,g.value],onPointerenter:a,onPointerleave:l},u.contentProps),persistent:!0,noClickAnimation:!0,scrim:!1,scrollStrategy:"none",_disableGlobalStack:!0},p),{default:()=>[np(!1,"v-snackbar"),r.default&>("div",{class:"v-snackbar__content",role:"status","aria-live":"polite"},[r.default()]),r.actions&>(Fa,{defaults:{VBtn:{variant:"text",ripple:!1}}},{default:()=>[gt("div",{class:"v-snackbar__actions"},[r.actions()])]})],activator:r.activator})}),Vc({},v)}});const aH=ur({indeterminate:Boolean,inset:Boolean,flat:Boolean,loading:{type:[Boolean,String],default:!1},...mf(),...n1()},"VSwitch"),oH=Ar()({name:"VSwitch",inheritAttrs:!1,props:aH(),emits:{"update:focused":n=>!0,"update:modelValue":()=>!0,"update:indeterminate":n=>!0},setup(n,e){let{attrs:r,slots:C}=e;const D=xi(n,"indeterminate"),T=xi(n,"modelValue"),{loaderClasses:p}=t1(n),{isFocused:t,focus:d,blur:g}=rd(n),i=Vr(),M=cn(()=>typeof n.loading=="string"&&n.loading!==""?n.loading:n.color),v=Js(),f=cn(()=>n.id||`switch-${v}`);function l(){D.value&&(D.value=!1)}function a(u){var o,s;u.stopPropagation(),u.preventDefault(),(s=(o=i.value)==null?void 0:o.input)==null||s.click()}return Or(()=>{const[u,o]=Qd(r),[s,c]=Bs.filterProps(n),[h,m]=Xd.filterProps(n);return gt(Bs,qr({class:["v-switch",{"v-switch--inset":n.inset},{"v-switch--indeterminate":D.value},p.value,n.class],style:n.style},u,s,{id:f.value,focused:t.value}),{...C,default:w=>{let{id:y,messagesId:S,isDisabled:_,isReadonly:k,isValid:E}=w;return gt(Xd,qr({ref:i},h,{modelValue:T.value,"onUpdate:modelValue":[x=>T.value=x,l],id:y.value,"aria-describedby":S.value,type:"checkbox","aria-checked":D.value?"mixed":void 0,disabled:_.value,readonly:k.value,onFocus:d,onBlur:g},o),{...C,default:x=>{let{backgroundColorClasses:A,backgroundColorStyles:L}=x;return gt("div",{class:["v-switch__track",...A.value],style:L.value,onClick:a},null)},input:x=>{let{inputNode:A,icon:L,backgroundColorClasses:b,backgroundColorStyles:R}=x;return gt(Yr,null,[A,gt("div",{class:["v-switch__thumb",{"v-switch__thumb--filled":L||n.loading},n.inset?void 0:b.value],style:n.inset?void 0:R.value},[gt(s_,null,{default:()=>[n.loading?gt(g_,{name:"v-switch",active:!0,color:E.value===!1?void 0:M.value},{default:I=>C.loader?C.loader(I):gt(d_,{active:I.isActive,color:I.color,indeterminate:!0,size:"16",width:"2"},null)}):L&>(ja,{key:L,icon:L,size:"x-small"},null)]})])])}})}})}),{}}});const sH=ur({color:String,height:[Number,String],window:Boolean,...Zr(),...fs(),...x0(),...lo(),...Si(),...oa()},"VSystemBar"),lH=Ar()({name:"VSystemBar",props:sH(),setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{backgroundColorClasses:D,backgroundColorStyles:T}=Oo(Cr(n,"color")),{elevationClasses:p}=Vs(n),{roundedClasses:t}=Eo(n),{ssrBootStyles:d}=tp(),g=cn(()=>n.height??(n.window?32:24)),{layoutItemStyles:i}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:Wr("top"),layoutSize:g,elementSize:g,active:cn(()=>!0),absolute:Cr(n,"absolute")});return Or(()=>gt(n.tag,{class:["v-system-bar",{"v-system-bar--window":n.window},C.value,D.value,p.value,t.value,n.class],style:[T.value,i.value,d.value,n.style]},r)),{}}});const yS=Symbol.for("vuetify:v-tabs"),uH=ur({fixed:Boolean,sliderColor:String,hideSlider:Boolean,direction:{type:String,default:"horizontal"},...ic(v_({selectedClass:"v-tab--selected",variant:"text"}),["active","block","flat","location","position","symbol"])},"VTab"),bS=Ar()({name:"VTab",props:uH(),setup(n,e){let{slots:r,attrs:C}=e;const{textColorClasses:D,textColorStyles:T}=Xs(n,"sliderColor"),p=cn(()=>n.direction==="horizontal"),t=Wr(!1),d=Vr(),g=Vr();function i(M){var f,l;let{value:v}=M;if(t.value=v,v){const a=(l=(f=d.value)==null?void 0:f.$el.parentElement)==null?void 0:l.querySelector(".v-tab--selected .v-tab__slider"),u=g.value;if(!a||!u)return;const o=getComputedStyle(a).color,s=a.getBoundingClientRect(),c=u.getBoundingClientRect(),h=p.value?"x":"y",m=p.value?"X":"Y",w=p.value?"right":"bottom",y=p.value?"width":"height",S=s[h],_=c[h],k=S>_?s[w]-c[w]:s[h]-c[h],E=Math.sign(k)>0?p.value?"right":"bottom":Math.sign(k)<0?p.value?"left":"top":"center",A=(Math.abs(k)+(Math.sign(k)<0?s[y]:c[y]))/Math.max(s[y],c[y])||0,L=s[y]/c[y]||0,b=1.5;Dd(u,{backgroundColor:[o,"currentcolor"],transform:[`translate${m}(${k}px) scale${m}(${L})`,`translate${m}(${k/b}px) scale${m}(${(A-1)/b+1})`,"none"],transformOrigin:Array(3).fill(E)},{duration:225,easing:zm})}}return Or(()=>{const[M]=_l.filterProps(n);return gt(_l,qr({symbol:yS,ref:d,class:["v-tab",n.class],style:n.style,tabindex:t.value?0:-1,role:"tab","aria-selected":String(t.value),active:!1},M,C,{block:n.fixed,maxWidth:n.fixed?300:void 0,"onGroup:selected":i}),{default:()=>{var v;return[((v=r.default)==null?void 0:v.call(r))??n.text,!n.hideSlider&>("div",{ref:g,class:["v-tab__slider",D.value],style:T.value},null)]}})}),{}}});function cH(n){return n?n.map(e=>typeof e=="string"?{title:e,value:e}:e):[]}const hH=ur({alignTabs:{type:String,default:"start"},color:String,fixedTabs:Boolean,items:{type:Array,default:()=>[]},stacked:Boolean,bgColor:String,grow:Boolean,height:{type:[Number,String],default:void 0},hideSlider:Boolean,sliderColor:String,...vS({mandatory:"force"}),...ds(),...Si()},"VTabs"),fH=Ar()({name:"VTabs",props:hH(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const C=xi(n,"modelValue"),D=cn(()=>cH(n.items)),{densityClasses:T}=Qs(n),{backgroundColorClasses:p,backgroundColorStyles:t}=Oo(Cr(n,"bgColor"));return es({VTab:{color:Cr(n,"color"),direction:Cr(n,"direction"),stacked:Cr(n,"stacked"),fixed:Cr(n,"fixedTabs"),sliderColor:Cr(n,"sliderColor"),hideSlider:Cr(n,"hideSlider")}}),Or(()=>{const[d]=Dx.filterProps(n);return gt(Dx,qr(d,{modelValue:C.value,"onUpdate:modelValue":g=>C.value=g,class:["v-tabs",`v-tabs--${n.direction}`,`v-tabs--align-tabs-${n.alignTabs}`,{"v-tabs--fixed-tabs":n.fixedTabs,"v-tabs--grow":n.grow,"v-tabs--stacked":n.stacked},T.value,p.value,n.class],style:[{"--v-tabs-height":Qr(n.height)},t.value,n.style],role:"tablist",symbol:yS}),{default:()=>[r.default?r.default():D.value.map(g=>gt(bS,qr(g,{key:g.title}),null))]})}),{}}});const dH=ur({fixedHeader:Boolean,fixedFooter:Boolean,height:[Number,String],hover:Boolean,...Zr(),...ds(),...Si(),...oa()},"VTable"),pH=Ar()({name:"VTable",props:dH(),setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{densityClasses:D}=Qs(n);return Or(()=>gt(n.tag,{class:["v-table",{"v-table--fixed-height":!!n.height,"v-table--fixed-header":n.fixedHeader,"v-table--fixed-footer":n.fixedFooter,"v-table--has-top":!!r.top,"v-table--has-bottom":!!r.bottom,"v-table--hover":n.hover},C.value,D.value,n.class],style:n.style},{default:()=>{var T,p,t;return[(T=r.top)==null?void 0:T.call(r),r.default?gt("div",{class:"v-table__wrapper",style:{height:Qr(n.height)}},[gt("table",null,[r.default()])]):(p=r.wrapper)==null?void 0:p.call(r),(t=r.bottom)==null?void 0:t.call(r)]}})),{}}});const mH=ur({autoGrow:Boolean,autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,noResize:Boolean,rows:{type:[Number,String],default:5,validator:n=>!isNaN(parseFloat(n))},maxRows:{type:[Number,String],validator:n=>!isNaN(parseFloat(n))},suffix:String,modelModifiers:Object,...mf(),...u1()},"VTextarea"),gH=Ar()({name:"VTextarea",directives:{Intersect:og},inheritAttrs:!1,props:mH(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:C,slots:D}=e;const T=xi(n,"modelValue"),{isFocused:p,focus:t,blur:d}=rd(n),g=cn(()=>typeof n.counterValue=="function"?n.counterValue(T.value):(T.value||"").toString().length),i=cn(()=>{if(r.maxlength)return r.maxlength;if(!(!n.counter||typeof n.counter!="number"&&typeof n.counter!="string"))return n.counter});function M(E,x){var A,L;!n.autofocus||!E||(L=(A=x[0].target)==null?void 0:A.focus)==null||L.call(A)}const v=Vr(),f=Vr(),l=Wr(""),a=Vr(),u=cn(()=>n.persistentPlaceholder||p.value||n.active);function o(){var E;a.value!==document.activeElement&&((E=a.value)==null||E.focus()),p.value||t()}function s(E){o(),C("click:control",E)}function c(E){C("mousedown:control",E)}function h(E){E.stopPropagation(),o(),Ua(()=>{T.value="",K2(n["onClick:clear"],E)})}function m(E){var A;const x=E.target;if(T.value=x.value,(A=n.modelModifiers)!=null&&A.trim){const L=[x.selectionStart,x.selectionEnd];Ua(()=>{x.selectionStart=L[0],x.selectionEnd=L[1]})}}const w=Vr(),y=Vr(+n.rows),S=cn(()=>["plain","underlined"].includes(n.variant));wu(()=>{n.autoGrow||(y.value=+n.rows)});function _(){n.autoGrow&&Ua(()=>{if(!w.value||!f.value)return;const E=getComputedStyle(w.value),x=getComputedStyle(f.value.$el),A=parseFloat(E.getPropertyValue("--v-field-padding-top"))+parseFloat(E.getPropertyValue("--v-input-padding-top"))+parseFloat(E.getPropertyValue("--v-field-padding-bottom")),L=w.value.scrollHeight,b=parseFloat(E.lineHeight),R=Math.max(parseFloat(n.rows)*b+A,parseFloat(x.getPropertyValue("--v-input-control-height"))),I=parseFloat(n.maxRows)*b+A||1/0,O=Zs(L??0,R,I);y.value=Math.floor((O-A)/b),l.value=Qr(O)})}Ks(_),$r(T,_),$r(()=>n.rows,_),$r(()=>n.maxRows,_),$r(()=>n.density,_);let k;return $r(w,E=>{E?(k=new ResizeObserver(_),k.observe(w.value)):k==null||k.disconnect()}),Tl(()=>{k==null||k.disconnect()}),Or(()=>{const E=!!(D.counter||n.counter||n.counterValue),x=!!(E||D.details),[A,L]=Qd(r),[{modelValue:b,...R}]=Bs.filterProps(n),[I]=w_(n);return gt(Bs,qr({ref:v,modelValue:T.value,"onUpdate:modelValue":O=>T.value=O,class:["v-textarea v-text-field",{"v-textarea--prefixed":n.prefix,"v-textarea--suffixed":n.suffix,"v-text-field--prefixed":n.prefix,"v-text-field--suffixed":n.suffix,"v-textarea--auto-grow":n.autoGrow,"v-textarea--no-resize":n.noResize||n.autoGrow,"v-text-field--plain-underlined":S.value},n.class],style:n.style},A,R,{centerAffix:y.value===1&&!S.value,focused:p.value}),{...D,default:O=>{let{isDisabled:z,isDirty:F,isReadonly:B,isValid:N}=O;return gt(hg,qr({ref:f,style:{"--v-textarea-control-height":l.value},onClick:s,onMousedown:c,"onClick:clear":h,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"]},I,{active:u.value||F.value,centerAffix:y.value===1&&!S.value,dirty:F.value||n.dirty,disabled:z.value,focused:p.value,error:N.value===!1}),{...D,default:W=>{let{props:{class:j,...$}}=W;return gt(Yr,null,[n.prefix&>("span",{class:"v-text-field__prefix"},[n.prefix]),Co(gt("textarea",qr({ref:a,class:j,value:T.value,onInput:m,autofocus:n.autofocus,readonly:B.value,disabled:z.value,placeholder:n.placeholder,rows:n.rows,name:n.name,onFocus:o,onBlur:d},$,L),null),[[Tu("intersect"),{handler:M},null,{once:!0}]]),n.autoGrow&&Co(gt("textarea",{class:[j,"v-textarea__sizer"],id:`${$.id}-sizer`,"onUpdate:modelValue":U=>T.value=U,ref:w,readonly:!0,"aria-hidden":"true"},null),[[S7,T.value]]),n.suffix&>("span",{class:"v-text-field__suffix"},[n.suffix])])}})},details:x?O=>{var z;return gt(Yr,null,[(z=D.details)==null?void 0:z.call(D,O),E&>(Yr,null,[gt("span",null,null),gt(l1,{active:n.persistentCounter||p.value,value:g.value,max:i.value},D.counter)])])}:void 0})}),Vc({},v,f,a)}});const vH=ur({withBackground:Boolean,...Zr(),...oa(),...Si()},"VThemeProvider"),yH=Ar()({name:"VThemeProvider",props:vH(),setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n);return()=>{var D;return n.withBackground?gt(n.tag,{class:["v-theme-provider",C.value,n.class],style:n.style},{default:()=>{var T;return[(T=r.default)==null?void 0:T.call(r)]}}):(D=r.default)==null?void 0:D.call(r)}}});const bH=ur({align:{type:String,default:"center",validator:n=>["center","start"].includes(n)},direction:{type:String,default:"vertical",validator:n=>["vertical","horizontal"].includes(n)},justify:{type:String,default:"auto",validator:n=>["auto","center"].includes(n)},side:{type:String,validator:n=>n==null||["start","end"].includes(n)},lineInset:{type:[String,Number],default:0},lineThickness:{type:[String,Number],default:2},lineColor:String,truncateLine:{type:String,validator:n=>["start","end","both"].includes(n)},...Zr(),...ds(),...Si(),...oa()},"VTimeline"),xH=Ar()({name:"VTimeline",props:bH(),setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{densityClasses:D}=Qs(n),{rtlClasses:T}=Cs();es({VTimelineDivider:{lineColor:Cr(n,"lineColor")},VTimelineItem:{density:Cr(n,"density"),lineInset:Cr(n,"lineInset")}});const p=cn(()=>{const d=n.side?n.side:n.density!=="default"?"end":null;return d&&`v-timeline--side-${d}`}),t=cn(()=>{const d=["v-timeline--truncate-line-start","v-timeline--truncate-line-end"];switch(n.truncateLine){case"both":return d;case"start":return d[0];case"end":return d[1];default:return null}});return Or(()=>gt(n.tag,{class:["v-timeline",`v-timeline--${n.direction}`,`v-timeline--align-${n.align}`,`v-timeline--justify-${n.justify}`,t.value,{"v-timeline--inset-line":!!n.lineInset},C.value,D.value,p.value,T.value,n.class],style:[{"--v-timeline-line-thickness":Qr(n.lineThickness)},n.style]},r)),{}}}),_H=ur({dotColor:String,fillDot:Boolean,hideDot:Boolean,icon:bi,iconColor:String,lineColor:String,...Zr(),...lo(),...pf(),...fs()},"VTimelineDivider"),wH=Ar()({name:"VTimelineDivider",props:_H(),setup(n,e){let{slots:r}=e;const{sizeClasses:C,sizeStyles:D}=M0(n,"v-timeline-divider__dot"),{backgroundColorStyles:T,backgroundColorClasses:p}=Oo(Cr(n,"dotColor")),{roundedClasses:t}=Eo(n,"v-timeline-divider__dot"),{elevationClasses:d}=Vs(n),{backgroundColorClasses:g,backgroundColorStyles:i}=Oo(Cr(n,"lineColor"));return Or(()=>gt("div",{class:["v-timeline-divider",{"v-timeline-divider--fill-dot":n.fillDot},n.class],style:n.style},[gt("div",{class:["v-timeline-divider__before",g.value],style:i.value},null),!n.hideDot&>("div",{key:"dot",class:["v-timeline-divider__dot",d.value,t.value,C.value],style:D.value},[gt("div",{class:["v-timeline-divider__inner-dot",p.value,t.value],style:T.value},[r.default?gt(Fa,{key:"icon-defaults",disabled:!n.icon,defaults:{VIcon:{color:n.iconColor,icon:n.icon,size:n.size}}},r.default):gt(ja,{key:"icon",color:n.iconColor,icon:n.icon,size:n.size},null)])]),gt("div",{class:["v-timeline-divider__after",g.value],style:i.value},null)])),{}}}),TH=ur({density:String,dotColor:String,fillDot:Boolean,hideDot:Boolean,hideOpposite:{type:Boolean,default:void 0},icon:bi,iconColor:String,lineInset:[Number,String],...Zr(),...sc(),...fs(),...lo(),...pf(),...Si()},"VTimelineItem"),kH=Ar()({name:"VTimelineItem",props:TH(),setup(n,e){let{slots:r}=e;const{dimensionStyles:C}=lc(n),D=Wr(0),T=Vr();return $r(T,p=>{var t;p&&(D.value=((t=p.$el.querySelector(".v-timeline-divider__dot"))==null?void 0:t.getBoundingClientRect().width)??0)},{flush:"post"}),Or(()=>{var p,t;return gt("div",{class:["v-timeline-item",{"v-timeline-item--fill-dot":n.fillDot},n.class],style:[{"--v-timeline-dot-size":Qr(D.value),"--v-timeline-line-inset":n.lineInset?`calc(var(--v-timeline-dot-size) / 2 + ${Qr(n.lineInset)})`:Qr(0)},n.style]},[gt("div",{class:"v-timeline-item__body",style:C.value},[(p=r.default)==null?void 0:p.call(r)]),gt(wH,{ref:T,hideDot:n.hideDot,icon:n.icon,iconColor:n.iconColor,size:n.size,elevation:n.elevation,dotColor:n.dotColor,fillDot:n.fillDot,rounded:n.rounded},{default:r.icon}),n.density!=="compact"&>("div",{class:"v-timeline-item__opposite"},[!n.hideOpposite&&((t=r.opposite)==null?void 0:t.call(r))])])}),{}}}),MH=ur({...Zr(),...cc({variant:"text"})},"VToolbarItems"),AH=Ar()({name:"VToolbarItems",props:MH(),setup(n,e){let{slots:r}=e;return es({VBtn:{color:Cr(n,"color"),height:"inherit",variant:Cr(n,"variant")}}),Or(()=>{var C;return gt("div",{class:["v-toolbar-items",n.class],style:n.style},[(C=r.default)==null?void 0:C.call(r)])}),{}}});const SH=ur({id:String,text:String,...ic(cg({closeOnBack:!1,location:"end",locationStrategy:"connected",eager:!0,minWidth:0,offset:10,openOnClick:!1,openOnHover:!0,origin:"auto",scrim:!1,scrollStrategy:"reposition",transition:!1}),["absolute","persistent"])},"VTooltip"),CH=Ar()({name:"VTooltip",props:SH(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const C=xi(n,"modelValue"),{scopeId:D}=E0(),T=Js(),p=cn(()=>n.id||`v-tooltip-${T}`),t=Vr(),d=cn(()=>n.location.split(" ").length>1?n.location:n.location+" center"),g=cn(()=>n.origin==="auto"||n.origin==="overlap"||n.origin.split(" ").length>1||n.location.split(" ").length>1?n.origin:n.origin+" center"),i=cn(()=>n.transition?n.transition:C.value?"scale-transition":"fade-transition"),M=cn(()=>qr({"aria-describedby":p.value},n.activatorProps));return Or(()=>{const[v]=of.filterProps(n);return gt(of,qr({ref:t,class:["v-tooltip",n.class],style:n.style,id:p.value},v,{modelValue:C.value,"onUpdate:modelValue":f=>C.value=f,transition:i.value,absolute:!0,location:d.value,origin:g.value,persistent:!0,role:"tooltip",activatorProps:M.value,_disableGlobalStack:!0},D),{activator:r.activator,default:function(){var u;for(var f=arguments.length,l=new Array(f),a=0;a!0},setup(n,e){let{slots:r}=e;const C=hA(n,"validation");return()=>{var D;return(D=r.default)==null?void 0:D.call(r,C)}}}),LH=Object.freeze(Object.defineProperty({__proto__:null,VAlert:aN,VAlertTitle:rA,VApp:mB,VAppBar:DB,VAppBarNavIcon:tN,VAppBarTitle:nN,VAutocomplete:TV,VAvatar:Zf,VBadge:MV,VBanner:CV,VBannerActions:FA,VBannerText:BA,VBottomNavigation:LV,VBreadcrumbs:OV,VBreadcrumbsDivider:NA,VBreadcrumbsItem:VA,VBtn:_l,VBtnGroup:bx,VBtnToggle:jB,VCard:FV,VCardActions:jA,VCardItem:GA,VCardSubtitle:UA,VCardText:qA,VCardTitle:HA,VCarousel:WV,VCarouselItem:$V,VCheckbox:dN,VCheckboxBtn:h0,VChip:ug,VChipGroup:gN,VClassIcon:a_,VCode:ZV,VCol:oU,VColorPicker:Fj,VCombobox:Vj,VComponentIcon:dx,VContainer:nU,VCounter:l1,VDefaultsProvider:Fa,VDialog:Uj,VDialogBottomTransition:bB,VDialogTopTransition:xB,VDialogTransition:Qy,VDivider:wA,VExpandTransition:e1,VExpandXTransition:u_,VExpansionPanel:$j,VExpansionPanelText:nS,VExpansionPanelTitle:iS,VExpansionPanels:qj,VFabTransition:yB,VFadeTransition:gx,VField:hg,VFieldLabel:um,VFileInput:Xj,VFooter:Jj,VForm:eU,VHover:gU,VIcon:ja,VImg:Zd,VInput:Bs,VItem:bU,VItemGroup:yU,VKbd:xU,VLabel:C0,VLayout:wU,VLayoutItem:kU,VLazy:AU,VLigatureIcon:CF,VList:a1,VListGroup:Tx,VListImg:zN,VListItem:af,VListItemAction:BN,VListItemMedia:VN,VListItemSubtitle:bA,VListItemTitle:xA,VListSubheader:_A,VLocaleProvider:CU,VMain:LU,VMenu:s1,VMessages:lA,VNavigationDrawer:NU,VNoSsr:VU,VOverlay:of,VPagination:HU,VParallax:WU,VProgressCircular:d_,VProgressLinear:p_,VRadio:$U,VRadioGroup:XU,VRangeSlider:JU,VRating:eH,VResponsive:vx,VRow:dU,VScaleTransition:s_,VScrollXReverseTransition:wB,VScrollXTransition:_B,VScrollYReverseTransition:kB,VScrollYTransition:TB,VSelect:yV,VSelectionControl:Xd,VSelectionControlGroup:aA,VSheet:Ox,VSlideGroup:Dx,VSlideGroupItem:nH,VSlideXReverseTransition:AB,VSlideXTransition:MB,VSlideYReverseTransition:SB,VSlideYTransition:l_,VSlider:Px,VSnackbar:iH,VSpacer:pU,VSvgIcon:i_,VSwitch:oH,VSystemBar:lH,VTab:bS,VTable:pH,VTabs:fH,VTextField:Kd,VTextarea:gH,VThemeProvider:yH,VTimeline:xH,VTimelineItem:kH,VToolbar:yx,VToolbarItems:AH,VToolbarTitle:o_,VTooltip:CH,VValidation:EH,VVirtualScroll:h1,VWindow:Sx,VWindowItem:Cx},Symbol.toStringTag,{value:"Module"}));function IH(n,e){const r=e.modifiers||{},C=e.value,{once:D,immediate:T,...p}=r,t=!Object.keys(p).length,{handler:d,options:g}=typeof C=="object"?C:{handler:C,options:{attributes:(p==null?void 0:p.attr)??t,characterData:(p==null?void 0:p.char)??t,childList:(p==null?void 0:p.child)??t,subtree:(p==null?void 0:p.sub)??t}},i=new MutationObserver(function(){let M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],v=arguments.length>1?arguments[1]:void 0;d==null||d(M,v),D&&xS(n,e)});T&&(d==null||d([],i)),n._mutate=Object(n._mutate),n._mutate[e.instance.$.uid]={observer:i},i.observe(n,g)}function xS(n,e){var r;(r=n._mutate)!=null&&r[e.instance.$.uid]&&(n._mutate[e.instance.$.uid].observer.disconnect(),delete n._mutate[e.instance.$.uid])}const RH={mounted:IH,unmounted:xS};function PH(n,e){var D,T;const r=e.value,C={passive:!((D=e.modifiers)!=null&&D.active)};window.addEventListener("resize",r,C),n._onResize=Object(n._onResize),n._onResize[e.instance.$.uid]={handler:r,options:C},(T=e.modifiers)!=null&&T.quiet||r()}function OH(n,e){var D;if(!((D=n._onResize)!=null&&D[e.instance.$.uid]))return;const{handler:r,options:C}=n._onResize[e.instance.$.uid];window.removeEventListener("resize",r,C),delete n._onResize[e.instance.$.uid]}const DH={mounted:PH,unmounted:OH};function _S(n,e){const{self:r=!1}=e.modifiers??{},C=e.value,D=typeof C=="object"&&C.options||{passive:!0},T=typeof C=="function"||"handleEvent"in C?C:C.handler,p=r?n:e.arg?document.querySelector(e.arg):window;p&&(p.addEventListener("scroll",T,D),n._onScroll=Object(n._onScroll),n._onScroll[e.instance.$.uid]={handler:T,options:D,target:r?void 0:p})}function wS(n,e){var T;if(!((T=n._onScroll)!=null&&T[e.instance.$.uid]))return;const{handler:r,options:C,target:D=n}=n._onScroll[e.instance.$.uid];D.removeEventListener("scroll",r,C),delete n._onScroll[e.instance.$.uid]}function zH(n,e){e.value!==e.oldValue&&(wS(n,e),_S(n,e))}const FH={mounted:_S,unmounted:wS,updated:zH},BH=Object.freeze(Object.defineProperty({__proto__:null,ClickOutside:OA,Intersect:og,Mutate:RH,Resize:DH,Ripple:nd,Scroll:FH,Touch:M_},Symbol.toStringTag,{value:"Module"})),E_=R7(Fz);E_.use(D7());E_.use(B6({components:LH,directives:BH}));E_.mount("#app"); ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js diff --git a/js-component/dist/assets/index-36755211.css b/js-component/dist/assets/index-36755211.css deleted file mode 100644 index 006e8348..00000000 --- a/js-component/dist/assets/index-36755211.css +++ /dev/null @@ -1,9 +0,0 @@ -<<<<<<<< HEAD:js-component/dist/assets/index-955eea1e.css -.tabulator{position:relative;border:1px solid #dee2e6;background-color:#fff;font-size:16px;text-align:left;overflow:hidden;-webkit-transform:translateZ(0);-moz-transform:translateZ(0);-ms-transform:translateZ(0);-o-transform:translateZ(0);transform:translateZ(0)}.tabulator[tabulator-layout=fitDataFill] .tabulator-tableholder .tabulator-table{min-width:100%}.tabulator[tabulator-layout=fitDataTable]{display:inline-block}.tabulator.tabulator-block-select{-webkit-user-select:none;user-select:none}.tabulator.tabulator-ranges .tabulator-cell:not(.tabulator-editing){-webkit-user-select:none;user-select:none}.tabulator .tabulator-header{position:relative;box-sizing:border-box;width:100%;border-bottom:1px solid #dee2e6;background-color:#fff;color:#555;font-weight:700;white-space:nowrap;overflow:hidden;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none;outline:none}.tabulator .tabulator-header.tabulator-header-hidden{display:none}.tabulator .tabulator-header .tabulator-header-contents{position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-header-contents .tabulator-headers{display:inline-block}.tabulator .tabulator-header .tabulator-col{display:inline-flex;position:relative;box-sizing:border-box;flex-direction:column;justify-content:flex-start;border-right:1px solid #aaa;background:#fff;text-align:left;vertical-align:bottom;overflow:hidden}.tabulator .tabulator-header .tabulator-col.tabulator-moving{position:absolute;border:1px solid #dee2e6;background:#e6e6e6;pointer-events:none}.tabulator .tabulator-header .tabulator-col.tabulator-range-highlight{background-color:#d6d6d6;color:#000}.tabulator .tabulator-header .tabulator-col.tabulator-range-selected{background-color:#3876ca;color:#fff}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{box-sizing:border-box;position:relative;padding:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button{padding:0 8px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button:hover{cursor:pointer;opacity:.6}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title-holder{position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title{box-sizing:border-box;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title.tabulator-col-title-wrap{white-space:normal;text-overflow:initial}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-title-editor{box-sizing:border-box;width:100%;border:1px solid #999;padding:1px;background:#fff}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-header-popup-button+.tabulator-title-editor{width:calc(100% - 22px)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{display:flex;align-items:center;position:absolute;top:0;bottom:0;right:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #bbb}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{position:relative;display:flex;border-top:1px solid #aaa;overflow:hidden;margin-right:-1px}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter{position:relative;box-sizing:border-box;margin-top:2px;width:100%;text-align:center}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter textarea{height:auto!important}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter svg{margin-top:3px}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input::-ms-clear{width:0;height:0}.tabulator .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:25px}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable.tabulator-col-sorter-element:hover{cursor:pointer;background-color:#e6e6e6}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter{color:#bbb}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-bottom:6px solid #555}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid #bbb}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter{color:#666}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-bottom:6px solid #555}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid #666}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter{color:#666}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-top:6px solid #555}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-bottom:none;border-top:6px solid #666;color:#666}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical .tabulator-col-content .tabulator-col-title{writing-mode:vertical-rl;text-orientation:mixed;display:flex;align-items:center;justify-content:center}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-col-vertical-flip .tabulator-col-title{transform:rotate(180deg)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-title{padding-right:0;padding-top:20px}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable.tabulator-col-vertical-flip .tabulator-col-title{padding-right:0;padding-bottom:20px}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-sorter{justify-content:center;left:0;right:0;top:4px;bottom:auto}.tabulator .tabulator-header .tabulator-frozen{position:sticky;left:0;z-index:11}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-left{border-right:2px solid #dee2e6}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-right{border-left:2px solid #dee2e6}.tabulator .tabulator-header .tabulator-calcs-holder{box-sizing:border-box;display:inline-block;background:white!important;border-top:1px solid #dee2e6;border-bottom:1px solid #aaa}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row{background:white!important}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-header .tabulator-frozen-rows-holder{display:inline-block}.tabulator .tabulator-header .tabulator-frozen-rows-holder:empty{display:none}.tabulator .tabulator-tableholder{position:relative;width:100%;white-space:nowrap;overflow:auto;-webkit-overflow-scrolling:touch}.tabulator .tabulator-tableholder:focus{outline:none}.tabulator .tabulator-tableholder .tabulator-placeholder{box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-width:100%;width:100%}.tabulator .tabulator-tableholder .tabulator-placeholder[tabulator-render-mode=virtual]{min-height:100%}.tabulator .tabulator-tableholder .tabulator-placeholder .tabulator-placeholder-contents{display:inline-block;text-align:center;padding:10px;color:#ccc;font-weight:700;font-size:20px;white-space:normal}.tabulator .tabulator-tableholder .tabulator-table{position:relative;display:inline-block;background-color:#fff;white-space:nowrap;overflow:visible;color:#333}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs{font-weight:700;background:#ececec!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-top{border-bottom:2px solid #dee2e6}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-bottom{border-top:2px solid #dee2e6}.tabulator .tabulator-tableholder .tabulator-range-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;pointer-events:none}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range{position:absolute;box-sizing:border-box;border:1px solid #2975DD}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range.tabulator-range-active:after{content:"";position:absolute;right:-3px;bottom:-3px;width:6px;height:6px;background-color:#2975dd;border-radius:999px}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range-cell-active{position:absolute;box-sizing:border-box;border:2px solid #2975DD}.tabulator .tabulator-footer{border-top:1px solid #dee2e6;background-color:#e6e6e6;color:#555;font-weight:700;white-space:nowrap;user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator .tabulator-footer .tabulator-footer-contents{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:5px 10px}.tabulator .tabulator-footer .tabulator-footer-contents:empty{display:none}.tabulator .tabulator-footer .tabulator-calcs-holder{box-sizing:border-box;width:100%;text-align:left;background:#f3f3f3!important;border-bottom:1px solid #dee2e6;border-top:1px solid #dee2e6;overflow:hidden}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row{display:inline-block;background:#f3f3f3!important}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-footer .tabulator-calcs-holder:only-child{margin-bottom:-5px;border-bottom:none}.tabulator .tabulator-footer>*+.tabulator-page-counter{margin-left:10px}.tabulator .tabulator-footer .tabulator-page-counter{font-weight:400}.tabulator .tabulator-footer .tabulator-paginator{flex:1;text-align:right;color:#555;font-family:inherit;font-weight:inherit;font-size:inherit}.tabulator .tabulator-footer .tabulator-page-size{display:inline-block;margin:0 5px;padding:2px 5px;border:1px solid #dee2e6;border-radius:3px}.tabulator .tabulator-footer .tabulator-pages{margin:0 7px}.tabulator .tabulator-footer .tabulator-page{display:inline-block;margin:0 2px;padding:2px 5px;border:1px solid #dee2e6;border-radius:3px;background:rgba(255,255,255,.2)}.tabulator .tabulator-footer .tabulator-page.active{color:#fff}.tabulator .tabulator-footer .tabulator-page:disabled{opacity:.5}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-footer .tabulator-page:not(disabled):hover{cursor:pointer;background:rgba(0,0,0,.2);color:#fff}}.tabulator .tabulator-col-resize-handle{position:relative;display:inline-block;width:6px;margin-left:-3px;margin-right:-3px;z-index:11;vertical-align:middle}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-col-resize-handle:hover{cursor:ew-resize}}.tabulator .tabulator-col-resize-handle:last-of-type{width:3px;margin-right:0}.tabulator .tabulator-alert{position:absolute;display:flex;align-items:center;top:0;left:0;z-index:100;height:100%;width:100%;background:rgba(0,0,0,.4);text-align:center}.tabulator .tabulator-alert .tabulator-alert-msg{display:inline-block;margin:0 auto;padding:10px 20px;border-radius:10px;background:#fff;font-weight:700;font-size:16px}.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-msg{border:4px solid #333;color:#000}.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-error{border:4px solid #D00;color:#590000}.tabulator-row{position:relative;box-sizing:border-box;min-height:24px;background-color:#fff}.tabulator-row.tabulator-row-even{background-color:#f9f9f9}@media (hover: hover) and (pointer: fine){.tabulator-row.tabulator-selectable:hover{background-color:#f5f5f5;cursor:pointer}}.tabulator-row.tabulator-selected{background-color:#9abcea}@media (hover: hover) and (pointer: fine){.tabulator-row.tabulator-selected:hover{background-color:#769bcc;cursor:pointer}}.tabulator-row.tabulator-row-moving{border:1px solid #000;background:#fff}.tabulator-row.tabulator-moving{position:absolute;border-top:1px solid #dee2e6;border-bottom:1px solid #dee2e6;pointer-events:none;z-index:15}.tabulator-row.tabulator-range-highlight .tabulator-cell.tabulator-range-row-header{background-color:#d6d6d6;color:#000}.tabulator-row.tabulator-range-highlight.tabulator-range-selected .tabulator-cell.tabulator-range-row-header,.tabulator-row.tabulator-range-selected .tabulator-cell.tabulator-range-row-header{background-color:#3876ca;color:#fff}.tabulator-row .tabulator-row-resize-handle{position:absolute;right:0;bottom:0;left:0;height:5px}.tabulator-row .tabulator-row-resize-handle.prev{top:0;bottom:auto}@media (hover: hover) and (pointer: fine){.tabulator-row .tabulator-row-resize-handle:hover{cursor:ns-resize}}.tabulator-row .tabulator-responsive-collapse{box-sizing:border-box;padding:5px;border-top:1px solid #dee2e6;border-bottom:1px solid #dee2e6}.tabulator-row .tabulator-responsive-collapse:empty{display:none}.tabulator-row .tabulator-responsive-collapse table{font-size:16px}.tabulator-row .tabulator-responsive-collapse table tr td{position:relative}.tabulator-row .tabulator-responsive-collapse table tr td:first-of-type{padding-right:10px}.tabulator-row .tabulator-cell{display:inline-block;position:relative;box-sizing:border-box;padding:4px;border-right:1px solid #dee2e6;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;outline:none}.tabulator-row .tabulator-cell.tabulator-frozen{display:inline-block;position:sticky;left:0;background-color:inherit;z-index:11}.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-right:2px solid #dee2e6}.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-left:2px solid #dee2e6}.tabulator-row .tabulator-cell.tabulator-editing{border:1px solid #1D68CD;outline:none;padding:0}.tabulator-row .tabulator-cell.tabulator-editing input,.tabulator-row .tabulator-cell.tabulator-editing select{border:1px;background:transparent;outline:none}.tabulator-row .tabulator-cell.tabulator-validation-fail{border:1px solid #dd0000}.tabulator-row .tabulator-cell.tabulator-validation-fail input,.tabulator-row .tabulator-cell.tabulator-validation-fail select{border:1px;background:transparent;color:#d00}.tabulator-row .tabulator-cell.tabulator-row-handle{display:inline-flex;align-items:center;justify-content:center;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box{width:80%}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box .tabulator-row-handle-bar{width:100%;height:3px;margin-top:2px;background:#666}.tabulator-row .tabulator-cell.tabulator-range-selected:not(.tabulator-range-only-cell-selected):not(.tabulator-range-row-header){background-color:#9abcea}.tabulator-row .tabulator-cell .tabulator-data-tree-branch-empty{display:inline-block;width:7px}.tabulator-row .tabulator-cell .tabulator-data-tree-branch{display:inline-block;vertical-align:middle;height:9px;width:7px;margin-top:-9px;margin-right:5px;border-bottom-left-radius:1px;border-left:2px solid #dee2e6;border-bottom:2px solid #dee2e6}.tabulator-row .tabulator-cell .tabulator-data-tree-control{display:inline-flex;justify-content:center;align-items:center;vertical-align:middle;height:11px;width:11px;margin-right:5px;border:1px solid #333;border-radius:2px;background:rgba(0,0,0,.1);overflow:hidden}@media (hover: hover) and (pointer: fine){.tabulator-row .tabulator-cell .tabulator-data-tree-control:hover{cursor:pointer;background:rgba(0,0,0,.2)}}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse{display:inline-block;position:relative;height:7px;width:1px;background:transparent}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand{display:inline-block;position:relative;height:7px;width:1px;background:#333}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle{display:inline-flex;align-items:center;justify-content:center;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none;height:15px;width:15px;border-radius:20px;background:#666;color:#fff;font-weight:700;font-size:1.1em}@media (hover: hover) and (pointer: fine){.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle:hover{opacity:.7;cursor:pointer}}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-close{display:initial}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-open{display:none}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle svg{stroke:#fff}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle .tabulator-responsive-collapse-toggle-close{display:none}.tabulator-row .tabulator-cell .tabulator-traffic-light{display:inline-block;height:14px;width:14px;border-radius:14px}.tabulator-row.tabulator-group{box-sizing:border-box;border-bottom:1px solid #999;border-right:1px solid #dee2e6;border-top:1px solid #999;padding:5px 5px 5px 10px;background:#ccc;font-weight:700;min-width:100%}@media (hover: hover) and (pointer: fine){.tabulator-row.tabulator-group:hover{cursor:pointer;background-color:#0000001a}}.tabulator-row.tabulator-group.tabulator-group-visible .tabulator-arrow{margin-right:10px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #666;border-bottom:0}.tabulator-row.tabulator-group.tabulator-group-level-1{padding-left:30px}.tabulator-row.tabulator-group.tabulator-group-level-2{padding-left:50px}.tabulator-row.tabulator-group.tabulator-group-level-3{padding-left:70px}.tabulator-row.tabulator-group.tabulator-group-level-4{padding-left:90px}.tabulator-row.tabulator-group.tabulator-group-level-5{padding-left:110px}.tabulator-row.tabulator-group .tabulator-group-toggle{display:inline-block}.tabulator-row.tabulator-group .tabulator-arrow{display:inline-block;width:0;height:0;margin-right:16px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:0;border-left:6px solid #666;vertical-align:middle}.tabulator-row.tabulator-group span{margin-left:10px;color:#d00}.tabulator-popup-container{position:absolute;display:inline-block;box-sizing:border-box;background:#fff;border:1px solid #dee2e6;box-shadow:0 0 5px #0003;font-size:16px;overflow-y:auto;-webkit-overflow-scrolling:touch;z-index:10000}.tabulator-popup{padding:5px;border-radius:3px}.tabulator-tooltip{max-width:min(500px,100%);padding:3px 5px;border-radius:2px;box-shadow:none;font-size:12px;pointer-events:none}.tabulator-menu .tabulator-menu-item{position:relative;box-sizing:border-box;padding:5px 10px;-webkit-user-select:none;user-select:none}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-disabled{opacity:.5}@media (hover: hover) and (pointer: fine){.tabulator-menu .tabulator-menu-item:not(.tabulator-menu-item-disabled):hover{cursor:pointer;background:#f9f9f9}}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu{padding-right:25px}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu:after{display:inline-block;position:absolute;top:calc(5px + .4em);right:10px;height:7px;width:7px;content:"";border-width:1px 1px 0 0;border-style:solid;border-color:#dee2e6;vertical-align:top;transform:rotate(45deg)}.tabulator-menu .tabulator-menu-separator{border-top:1px solid #dee2e6}.tabulator-edit-list{max-height:200px;font-size:16px;overflow-y:auto;-webkit-overflow-scrolling:touch}.tabulator-edit-list .tabulator-edit-list-item{padding:4px;color:#333;outline:none}.tabulator-edit-list .tabulator-edit-list-item.active{color:#fff;background:#1D68CD}.tabulator-edit-list .tabulator-edit-list-item.active.focused{outline:1px solid rgba(255,255,255,.5)}.tabulator-edit-list .tabulator-edit-list-item.focused{outline:1px solid #1D68CD}@media (hover: hover) and (pointer: fine){.tabulator-edit-list .tabulator-edit-list-item:hover{cursor:pointer;color:#fff;background:#1D68CD}}.tabulator-edit-list .tabulator-edit-list-placeholder{padding:4px;color:#333;text-align:center}.tabulator-edit-list .tabulator-edit-list-group{border-bottom:1px solid #dee2e6;padding:6px 4px 4px;color:#333;font-weight:700}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-2,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-2{padding-left:12px}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-3,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-3{padding-left:20px}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-4,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-4{padding-left:28px}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-5,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-5{padding-left:36px}.tabulator.tabulator-ltr{direction:ltr}.tabulator.tabulator-rtl{text-align:initial;direction:rtl}.tabulator.tabulator-rtl .tabulator-header .tabulator-col{text-align:initial;border-left:1px solid #aaa;border-right:initial}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{margin-right:initial;margin-left:-1px}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:0;padding-left:25px}.tabulator.tabulator-rtl .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{left:8px;right:initial}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell{border-right:initial;border-left:1px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-branch{margin-right:initial;margin-left:5px;border-bottom-left-radius:initial;border-bottom-right-radius:1px;border-left:initial;border-right:2px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-control{margin-right:initial;margin-left:5px}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-left:2px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-right:2px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-col-resize-handle:last-of-type{width:3px;margin-left:0;margin-right:-3px}.tabulator.tabulator-rtl .tabulator-footer .tabulator-calcs-holder{text-align:initial}.tabulator-print-fullscreen{position:absolute;top:0;bottom:0;left:0;right:0;z-index:10000}body.tabulator-print-fullscreen-hide>*:not(.tabulator-print-fullscreen){display:none!important}.tabulator-print-table{border-collapse:collapse}.tabulator-print-table .tabulator-data-tree-branch{display:inline-block;vertical-align:middle;height:9px;width:7px;margin-top:-9px;margin-right:5px;border-bottom-left-radius:1px;border-left:2px solid #dee2e6;border-bottom:2px solid #dee2e6}.tabulator-print-table .tabulator-print-table-group{box-sizing:border-box;border-bottom:1px solid #999;border-right:1px solid #dee2e6;border-top:1px solid #999;padding:5px 5px 5px 10px;background:#ccc;font-weight:700;min-width:100%}@media (hover: hover) and (pointer: fine){.tabulator-print-table .tabulator-print-table-group:hover{cursor:pointer;background-color:#0000001a}}.tabulator-print-table .tabulator-print-table-group.tabulator-group-visible .tabulator-arrow{margin-right:10px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #666;border-bottom:0}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-1 td{padding-left:30px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-2 td{padding-left:50px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-3 td{padding-left:70px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-4 td{padding-left:90px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-5 td{padding-left:110px!important}.tabulator-print-table .tabulator-print-table-group .tabulator-group-toggle{display:inline-block}.tabulator-print-table .tabulator-print-table-group .tabulator-arrow{display:inline-block;width:0;height:0;margin-right:16px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:0;border-left:6px solid #666;vertical-align:middle}.tabulator-print-table .tabulator-print-table-group span{margin-left:10px;color:#d00}.tabulator-print-table .tabulator-data-tree-control{display:inline-flex;justify-content:center;align-items:center;vertical-align:middle;height:11px;width:11px;margin-right:5px;border:1px solid #333;border-radius:2px;background:rgba(0,0,0,.1);overflow:hidden}@media (hover: hover) and (pointer: fine){.tabulator-print-table .tabulator-data-tree-control:hover{cursor:pointer;background:rgba(0,0,0,.2)}}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse{display:inline-block;position:relative;height:7px;width:1px;background:transparent}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand{display:inline-block;position:relative;height:7px;width:1px;background:#333}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator{background-color:#fff;border:none}.tabulator .tabulator-header{border-top:1px solid #dee2e6;border-bottom:2px solid #dee2e6;color:inherit}.tabulator .tabulator-header .tabulator-col{border-right:none;background-color:#fff}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{padding:12px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{right:0}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{border-top:1px solid #dee2e6}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input{padding:.375rem .75rem;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;font-size:1rem;line-height:1.5;color:#495057}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input:focus{color:#495057;background-color:#fff;border:1px solid #1D68CD;outline:0}.tabulator .tabulator-header .tabulator-calcs-holder{width:100%;border-bottom:1px solid #dee2e6}.tabulator .tabulator-tableholder .tabulator-placeholder span{color:#000}.tabulator .tabulator-tableholder .tabulator-table,.tabulator .tabulator-footer,.tabulator .tabulator-footer .tabulator-paginator{color:inherit}.tabulator .tabulator-footer .tabulator-pages{margin:0}.tabulator .tabulator-footer .tabulator-page{margin:5px 0 0;padding:8px 12px}.tabulator .tabulator-footer .tabulator-page[data-page=first]{border-top-left-radius:4px;border-bottom-left-radius:4px}.tabulator .tabulator-footer .tabulator-page[data-page=last]{border:1px solid #dee2e6;border-top-right-radius:4px;border-bottom-right-radius:4px}.tabulator .tabulator-footer .tabulator-page.active{border-color:#007bff;background-color:#007bff;color:#fff}.tabulator .tabulator-footer .tabulator-page:disabled{border-color:#dee2e6;background:#fff;color:#6c757d}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-footer .tabulator-page:not(.disabled):hover{border-color:#dee2e6;background:#e9ecef;color:#0056b3}}.tabulator.thead-dark .tabulator-header,.tabulator.thead-dark .tabulator-header .tabulator-col{border-color:#32383e;background-color:#212529;color:#fff}.tabulator.table-dark{background-color:#212529}.tabulator.table-dark:not(.thead-light) .tabulator-header{border-color:#32383e;background-color:#212529;color:#fff}.tabulator.table-dark:not(.thead-light) .tabulator-header .tabulator-col{border-color:#32383e;background-color:#212529;color:#fff}.tabulator.table-dark .tabulator-tableholder{color:#fff}.tabulator.table-dark .tabulator-row{border-color:#32383e;background-color:#212529;color:#fff}@media (hover: hover) and (pointer: fine){.tabulator.table-dark .tabulator-row:hover{background-color:#32383e}.tabulator.table-dark .tabulator-row:hover .tabulator-cell{background-color:#ffffff13}}.tabulator.table-dark .tabulator-row.tabulator-selected{background-color:#9abcea}.tabulator.table-dark .tabulator-footer{border-color:#32383e!important}.tabulator.table-dark .tabulator-footer .tabulator-calcs-holder{border-color:#32383e!important;background:#212529!important}.tabulator.table-dark .tabulator-footer .tabulator-calcs-holder .tabulator-row{border-color:#32383e!important;background-color:#212529!important;color:#fff!important}.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even{background-color:#f9f9f9}.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even.tabulator-selected{background-color:#9abcea}@media (hover: hover) and (pointer: fine){.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even.tabulator-selectable:hover{background-color:#f5f5f5;cursor:pointer}.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even.tabulator-selected:hover{background-color:#769bcc;cursor:pointer}}.tabulator.table-striped.table-dark .tabulator-row:nth-child(2n) .tabulator-cell{background-color:#ffffff0d}.tabulator.table-bordered{border:1px solid #dee2e6}.tabulator.table-bordered .tabulator-header .tabulator-col,.tabulator.table-bordered .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell{border-right:1px solid #dee2e6}.tabulator.table-borderless .tabulator-header,.tabulator.table-borderless .tabulator-row{border:none}.tabulator.table-sm .tabulator-header .tabulator-col .tabulator-col-content{padding:5px!important}.tabulator.table-sm .tabulator-tableholder .tabulator-table .tabulator-row{min-height:26px}.tabulator.table-sm .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell{padding:5px!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-primary{background:#b8daff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-secondary{background:#d6d8db!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-success{background:#c3e6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-info{background:#bee5eb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-warning{background:#ffeeba!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-danger{background:#f5c6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-light{background:#fdfdfe!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-dark{background:#c6c8ca!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-active{background:#f5f5f5!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-primary{background:#007bff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-secondary{background:#6c757d!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-success{background:#28a745!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-info{background:#17a2b8!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-warning{background:#ffc107!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-danger{background:#dc3545!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-light{background:#f8f9fa!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-dark{background:#343a40!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-active{background:#f5f5f5!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-primary{background:#b8daff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-secondary{background:#d6d8db!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-success{background:#c3e6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-info{background:#bee5eb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-warning{background:#ffeeba!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-danger{background:#f5c6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-light{background:#fdfdfe!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-dark{background:#c6c8ca!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-active{background:#f5f5f5!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-primary{background:#007bff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-secondary{background:#6c757d!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-success{background:#28a745!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-info{background:#17a2b8!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-warning{background:#ffc107!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-danger{background:#dc3545!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-light{background:#f8f9fa!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-dark{background:#343a40!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-active{background:#f5f5f5!important}.tabulator-row{min-height:40px;border-bottom:1px solid #dee2e6}.tabulator-row .tabulator-cell{padding:12px;border-right:none}.tabulator-row .tabulator-cell:last-of-type{border-right:none}.tabulator-row .tabulator-cell .tabulator-data-tree-control{border:1px solid #ccc}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{background:#ccc}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand{background:#ccc}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{background:#ccc}.tabulator-row.tabulator-group{background:#fafafa}.tabulator-row.tabulator-group span{color:#666}.tabulator-edit-select-list{background:#fff}.tabulator-edit-select-list .tabulator-edit-select-list-item.active{color:#fff}.tabulator-edit-select-list .tabulator-edit-select-list-item.active.focused{outline:1px solid rgba(255,255,255,.5)}@media (hover: hover) and (pointer: fine){.tabulator-edit-select-list .tabulator-edit-select-list-item:hover{color:#fff}}.tabulator-edit-select-list .tabulator-edit-select-list-notice,.tabulator-edit-select-list .tabulator-edit-select-list-group{color:inherit}.tabulator.tabulator-rtl .tabulator-header .tabulator-col{text-align:initial;border-left:initial}.tabulator-print-table .tabulator-print-table-group{background:#fafafa}.tabulator-print-table .tabulator-print-table-group span{color:#666}.tabulator-print-table .tabulator-data-tree-control{color:inherit}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{background:#ccc}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand{background:#ccc}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{background:#ccc}.tabulator-col-title,.tabulator-cell{font-size:14px}.filter-badge{position:absolute;top:-4px;right:-4px;background-color:#f44336;color:#fff;border-radius:50%;min-width:18px;height:18px;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:500;line-height:1;z-index:10;box-shadow:0 1px 3px #0000004d}.plot-container[data-v-08e314b5]{position:relative;width:100%;color:var(--text-color);background-color:var(--background-color)}.simple-button[data-v-08e314b5]{position:absolute;top:17%;left:6.5%;z-index:1000;background-color:var(--annotation-background);border:none;border-radius:50%;width:30px;height:30px;text-align:center;line-height:230%;cursor:pointer}.simple-button[data-v-08e314b5]:hover{background-color:var(--button-hover-color)}.foreground[data-v-fb6c82e8]{position:relative;z-index:1000}.sequence-amino-acid-highlighted[data-v-fb6c82e8],.sequence-amino-acid.highlighted[data-v-fb6c82e8]{background-color:#f3a712;color:#000;outline:3px solid #29335C;font-weight:700}.sequence-amino-acid-truncated[data-v-fb6c82e8],.sequence-amino-acid.truncated .aa-text[data-v-fb6c82e8]{color:#8080804d;outline:rgba(128,128,128,.3);text-decoration:line-through!important}.sequence-amino-acid[data-v-fb6c82e8]{background-color:var(--amino-acid-cell-bg-color);color:var(--amino-acid-cell-color)}.sequence-amino-acid[data-v-fb6c82e8]:hover{background-color:var(--amino-acid-cell-hover-bg-color);color:var(--amino-acid-cell-hover-color)}.sequence-amino-acid-highlighted[data-v-fb6c82e8]{background-color:var(--amino-acid-cell-bg-color);color:#f3a712}.sequence-amino-acid-highlighted[data-v-fb6c82e8]:hover{background-color:var(--amino-acid-cell-hover-bg-color)}.sequence-amino-acid-modified[data-v-fb6c82e8]{background-color:#a79c91}.sequence-amino-acid-modified[data-v-fb6c82e8]:hover{background-color:#c5baaf}.frag-marker-container[data-v-fb6c82e8],.frag-marker-container-a[data-v-fb6c82e8],.frag-marker-container-b[data-v-fb6c82e8],.frag-marker-container-c[data-v-fb6c82e8],.frag-marker-container-x[data-v-fb6c82e8],.frag-marker-container-y[data-v-fb6c82e8],.frag-marker-container-z[data-v-fb6c82e8],.frag-marker-extra-type[data-v-fb6c82e8]{width:100%;height:100%;position:absolute;z-index:1000}.frag-marker-container-a[data-v-fb6c82e8]{top:-28%;left:15%}.frag-marker-container-b[data-v-fb6c82e8]{top:-8%;left:13%}.frag-marker-container-c[data-v-fb6c82e8]{top:-28%;left:15%}.frag-marker-container-x[data-v-fb6c82e8]{bottom:-32%;left:-10%}.frag-marker-container-y[data-v-fb6c82e8]{bottom:-8%;left:-10%}.frag-marker-container-z[data-v-fb6c82e8]{bottom:-32%;left:-10%}.frag-marker-extra-type[data-v-fb6c82e8]{top:-30%}.aa-text[data-v-fb6c82e8]{position:absolute}.tag-marker[data-v-fb6c82e8]{position:absolute;top:-7.5%;left:-7.5%;width:115%;height:115%;display:flex;align-items:center;justify-content:right;border-top:.3em solid black;border-right:.3em solid black;border-bottom:.3em solid black;border-left:.3em solid black;z-index:1100}.tag-start[data-v-fb6c82e8]{clip-path:inset(0 50% 0 0)}.tag-end[data-v-fb6c82e8]{clip-path:inset(0 0 0 50%)}.mod-marker[data-v-fb6c82e8]{position:absolute;width:100%;height:100%;display:flex;align-items:center;justify-content:right;background-image:radial-gradient(#676a9c .5px,transparent .5px),radial-gradient(#444cf7 .5px,#e5e5f7 .5px);background-size:15px 15px;background-position:0 0,10px 10px;background-repeat:repeat}.mod-mass[data-v-fb6c82e8]{background-color:#fff;display:inline-block;position:absolute;top:-15%;right:-25%;display:flex;align-items:center;justify-content:right;border-top:.1em solid #a79c91;border-right:.1em solid #a79c91;border-bottom:.1em solid #a79c91;border-left:.1em solid #a79c91;font-size:.7em;padding:0 .2em;z-index:1100}.mod-mass-a[data-v-fb6c82e8]{display:inline-block;position:absolute;top:-15%;right:-25%;display:flex;align-items:center;border-top:.2em solid green;border-right:.2em solid green;border-bottom:.2em solid green;border-radius:.5rem;padding:0 .2em;z-index:1200;font-size:.7em;color:#0000}.mod-mass-b[data-v-fb6c82e8]{display:inline-block;position:absolute;top:-15%;right:-25%;display:flex;align-items:center;border-top:.2em solid blue;border-right:.2em solid blue;border-bottom:.2em solid blue;border-radius:.5rem;z-index:1200;padding:0 .2em;font-size:.7em;color:#0000}.mod-mass-c[data-v-fb6c82e8]{display:inline-block;position:absolute;top:-15%;right:-25%;display:flex;align-items:center;border-top:.2em solid red;border-right:.2em solid red;border-bottom:.2em solid red;border-radius:.5rem;z-index:1200;font-size:.7em;padding:0 .2em;color:#0000}.mod-start[data-v-fb6c82e8]{clip-path:inset(0 50% 0 0)}.mod-end[data-v-fb6c82e8],.mod-start-cont[data-v-fb6c82e8]{clip-path:inset(0 0 0 50%)}.mod-end-cont[data-v-fb6c82e8]{clip-path:inset(0 50% 0 0)}.mod-center-cont[data-v-fb6c82e8]{width:125%}.undetermined[data-v-beee67fe]{position:relative;top:-20%;font-size:.7em;font-weight:1000;color:red;z-index:1100}.protein-terminal[data-v-beee67fe]:hover{background-color:var(--protein-terminal-cell-hover-bg-color);color:var(--protein-terminal-cell-hover-color)}.terminal-text[data-v-beee67fe]{font-weight:1000}.terminal-text.truncated[data-v-beee67fe]{color:#80808066;outline:rgba(128,128,128,.4)}.protein-terminal-modified[data-v-beee67fe]{background-color:#9c1e1e;color:var(--amino-acid-cell-color)}.protein-terminal-modified[data-v-beee67fe]:hover{background-color:#ff1e1e}.sequence-grid[data-v-9a6912d6]{display:grid;grid-template-rows:auto;gap:4px 4px}.sequence-grid>div[data-v-9a6912d6]{aspect-ratio:1}.sequence-amino-acid-modified[data-v-9a6912d6]{background-color:#9c1e1e!important}.sequence-amino-acid-modified[data-v-9a6912d6]:hover{background-color:#ff1e1e}.sequence-amino-acid-highlighted[data-v-9a6912d6]{background-color:var(--amino-acid-cell-bg-color);color:#f0a441}.sequence-amino-acid-highlighted[data-v-9a6912d6]:hover{background-color:var(--amino-acid-cell-hover-bg-color)}.sequence-grid[data-v-14f01162]{display:grid;grid-template-rows:auto;gap:4px 4px}.sequence-grid>div[data-v-14f01162]{aspect-ratio:1}.protein-terminal[data-v-14f01162]:hover{background-color:var(--amino-acid-cell-hover-bg-color);color:var(--amino-acid-cell-hover-color)}.grid-width-20[data-v-14f01162]{grid-template-columns:repeat(22,1fr)}.grid-width-25[data-v-14f01162]{grid-template-columns:repeat(27,1fr)}.grid-width-30[data-v-14f01162]{grid-template-columns:repeat(32,1fr)}.grid-width-35[data-v-14f01162]{grid-template-columns:repeat(37,1fr)}.grid-width-40[data-v-14f01162]{grid-template-columns:repeat(42,1fr)}.sequence-and-scale[data-v-14f01162]{display:flex;align-items:center}.scale-container[data-v-14f01162]{display:flex;flex-direction:column;align-items:center}#sequence-part[data-v-14f01162]{flex-grow:1}.scale[data-v-14f01162]{width:60px;height:100px;background:linear-gradient(to top,rgba(228,87,46,.1),rgba(228,87,46,.2) 10%,rgba(228,87,46,.4) 20%,rgba(228,87,46,.6) 40%,rgba(228,87,46,.8) 70%,#e4572e 100%)}.scale-text[data-v-14f01162]{text-align:center;font-size:14pt;font-weight:700}.sequence-text[data-v-ece55ad7]{font-size:8px}.fragment-segment[data-v-ece55ad7],.by-fragment[data-v-ece55ad7],.cy-fragment[data-v-ece55ad7],.bz-fragment[data-v-ece55ad7],.not-in-fragment[data-v-ece55ad7],.by-fragment-overlayed[data-v-ece55ad7],.by-fragment-legend[data-v-ece55ad7],.cy-fragment-overlayed[data-v-ece55ad7],.cy-fragment-legend[data-v-ece55ad7],.bz-fragment-overlayed[data-v-ece55ad7],.bz-fragment-legend[data-v-ece55ad7]{aspect-ratio:1}.by-fragment[data-v-ece55ad7],.by-fragment-overlayed[data-v-ece55ad7],.by-fragment-legend[data-v-ece55ad7]{background:#f0a441}.by-fragment-overlayed[data-v-ece55ad7]{opacity:var(--frag-block-opacity-value)}.by-fragment-legend[data-v-ece55ad7]{height:10px}.cy-fragment[data-v-ece55ad7],.cy-fragment-overlayed[data-v-ece55ad7],.cy-fragment-legend[data-v-ece55ad7]{background:#12871d}.cy-fragment-overlayed[data-v-ece55ad7]{opacity:var(--frag-block-opacity-value)}.cy-fragment-legend[data-v-ece55ad7]{height:10px}.bz-fragment[data-v-ece55ad7],.bz-fragment-overlayed[data-v-ece55ad7],.bz-fragment-legend[data-v-ece55ad7]{background:#7831cc}.bz-fragment-overlayed[data-v-ece55ad7]{opacity:var(--frag-block-opacity-value)}.bz-fragment-legend[data-v-ece55ad7]{height:10px}.not-in-fragment[data-v-ece55ad7]{background:transparent;aspect-ratio:1}.v-input.textFieldFontSize[data-v-ece55ad7]{width:100px}.component-row[data-v-942c08f7]{display:flex;flex-direction:row;align-items:center}.height-1[data-v-942c08f7]{min-height:200px;height:fit-content;max-height:400px}.height-2[data-v-942c08f7]{min-height:200px;height:fit-content;max-height:800px}.height-any[data-v-942c08f7]{min-height:200px;height:fit-content}.component-width-1[data-v-942c08f7]{flex-basis:100%;flex-grow:0}.component-width-2[data-v-942c08f7]{max-width:50%;flex-basis:50%;flex-grow:0}.component-width-3[data-v-942c08f7]{max-width:33%;flex-basis:33%;flex-grow:0}.component-layout[data-v-721e06dc]{display:flex;flex-direction:column}body{margin:0;font-family:Source Sans Pro,sans-serif}.tabulator-tooltip{background:#fff;color:#000}@font-face{font-family:Material Design Icons;src:url(./materialdesignicons-webfont-67d24abe.eot?v=7.2.96);src:url(./materialdesignicons-webfont-67d24abe.eot?#iefix&v=7.2.96) format("embedded-opentype"),url(./materialdesignicons-webfont-c1c004a9.woff2?v=7.2.96) format("woff2"),url(./materialdesignicons-webfont-80bb28b3.woff?v=7.2.96) format("woff"),url(./materialdesignicons-webfont-a58ecb54.ttf?v=7.2.96) format("truetype");font-weight:400;font-style:normal}.mdi:before,.mdi-set{display:inline-block;font: 24px/1 Material Design Icons;font-size:inherit;text-rendering:auto;line-height:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.mdi-ab-testing:before{content:"󰇉"}.mdi-abacus:before{content:"󱛠"}.mdi-abjad-arabic:before{content:"󱌨"}.mdi-abjad-hebrew:before{content:"󱌩"}.mdi-abugida-devanagari:before{content:"󱌪"}.mdi-abugida-thai:before{content:"󱌫"}.mdi-access-point:before{content:"󰀃"}.mdi-access-point-check:before{content:"󱔸"}.mdi-access-point-minus:before{content:"󱔹"}.mdi-access-point-network:before{content:"󰀂"}.mdi-access-point-network-off:before{content:"󰯡"}.mdi-access-point-off:before{content:"󱔑"}.mdi-access-point-plus:before{content:"󱔺"}.mdi-access-point-remove:before{content:"󱔻"}.mdi-account:before{content:"󰀄"}.mdi-account-alert:before{content:"󰀅"}.mdi-account-alert-outline:before{content:"󰭐"}.mdi-account-arrow-down:before{content:"󱡨"}.mdi-account-arrow-down-outline:before{content:"󱡩"}.mdi-account-arrow-left:before{content:"󰭑"}.mdi-account-arrow-left-outline:before{content:"󰭒"}.mdi-account-arrow-right:before{content:"󰭓"}.mdi-account-arrow-right-outline:before{content:"󰭔"}.mdi-account-arrow-up:before{content:"󱡧"}.mdi-account-arrow-up-outline:before{content:"󱡪"}.mdi-account-badge:before{content:"󱬊"}.mdi-account-badge-outline:before{content:"󱬋"}.mdi-account-box:before{content:"󰀆"}.mdi-account-box-multiple:before{content:"󰤴"}.mdi-account-box-multiple-outline:before{content:"󱀊"}.mdi-account-box-outline:before{content:"󰀇"}.mdi-account-cancel:before{content:"󱋟"}.mdi-account-cancel-outline:before{content:"󱋠"}.mdi-account-card:before{content:"󱮤"}.mdi-account-card-outline:before{content:"󱮥"}.mdi-account-cash:before{content:"󱂗"}.mdi-account-cash-outline:before{content:"󱂘"}.mdi-account-check:before{content:"󰀈"}.mdi-account-check-outline:before{content:"󰯢"}.mdi-account-child:before{content:"󰪉"}.mdi-account-child-circle:before{content:"󰪊"}.mdi-account-child-outline:before{content:"󱃈"}.mdi-account-circle:before{content:"󰀉"}.mdi-account-circle-outline:before{content:"󰭕"}.mdi-account-clock:before{content:"󰭖"}.mdi-account-clock-outline:before{content:"󰭗"}.mdi-account-cog:before{content:"󱍰"}.mdi-account-cog-outline:before{content:"󱍱"}.mdi-account-convert:before{content:"󰀊"}.mdi-account-convert-outline:before{content:"󱌁"}.mdi-account-cowboy-hat:before{content:"󰺛"}.mdi-account-cowboy-hat-outline:before{content:"󱟳"}.mdi-account-credit-card:before{content:"󱮦"}.mdi-account-credit-card-outline:before{content:"󱮧"}.mdi-account-details:before{content:"󰘱"}.mdi-account-details-outline:before{content:"󱍲"}.mdi-account-edit:before{content:"󰚼"}.mdi-account-edit-outline:before{content:"󰿻"}.mdi-account-eye:before{content:"󰐠"}.mdi-account-eye-outline:before{content:"󱉻"}.mdi-account-filter:before{content:"󰤶"}.mdi-account-filter-outline:before{content:"󰾝"}.mdi-account-group:before{content:"󰡉"}.mdi-account-group-outline:before{content:"󰭘"}.mdi-account-hard-hat:before{content:"󰖵"}.mdi-account-hard-hat-outline:before{content:"󱨟"}.mdi-account-heart:before{content:"󰢙"}.mdi-account-heart-outline:before{content:"󰯣"}.mdi-account-injury:before{content:"󱠕"}.mdi-account-injury-outline:before{content:"󱠖"}.mdi-account-key:before{content:"󰀋"}.mdi-account-key-outline:before{content:"󰯤"}.mdi-account-lock:before{content:"󱅞"}.mdi-account-lock-open:before{content:"󱥠"}.mdi-account-lock-open-outline:before{content:"󱥡"}.mdi-account-lock-outline:before{content:"󱅟"}.mdi-account-minus:before{content:"󰀍"}.mdi-account-minus-outline:before{content:"󰫬"}.mdi-account-multiple:before{content:"󰀎"}.mdi-account-multiple-check:before{content:"󰣅"}.mdi-account-multiple-check-outline:before{content:"󱇾"}.mdi-account-multiple-minus:before{content:"󰗓"}.mdi-account-multiple-minus-outline:before{content:"󰯥"}.mdi-account-multiple-outline:before{content:"󰀏"}.mdi-account-multiple-plus:before{content:"󰀐"}.mdi-account-multiple-plus-outline:before{content:"󰠀"}.mdi-account-multiple-remove:before{content:"󱈊"}.mdi-account-multiple-remove-outline:before{content:"󱈋"}.mdi-account-music:before{content:"󰠃"}.mdi-account-music-outline:before{content:"󰳩"}.mdi-account-network:before{content:"󰀑"}.mdi-account-network-off:before{content:"󱫱"}.mdi-account-network-off-outline:before{content:"󱫲"}.mdi-account-network-outline:before{content:"󰯦"}.mdi-account-off:before{content:"󰀒"}.mdi-account-off-outline:before{content:"󰯧"}.mdi-account-outline:before{content:"󰀓"}.mdi-account-plus:before{content:"󰀔"}.mdi-account-plus-outline:before{content:"󰠁"}.mdi-account-question:before{content:"󰭙"}.mdi-account-question-outline:before{content:"󰭚"}.mdi-account-reactivate:before{content:"󱔫"}.mdi-account-reactivate-outline:before{content:"󱔬"}.mdi-account-remove:before{content:"󰀕"}.mdi-account-remove-outline:before{content:"󰫭"}.mdi-account-school:before{content:"󱨠"}.mdi-account-school-outline:before{content:"󱨡"}.mdi-account-search:before{content:"󰀖"}.mdi-account-search-outline:before{content:"󰤵"}.mdi-account-settings:before{content:"󰘰"}.mdi-account-settings-outline:before{content:"󱃉"}.mdi-account-star:before{content:"󰀗"}.mdi-account-star-outline:before{content:"󰯨"}.mdi-account-supervisor:before{content:"󰪋"}.mdi-account-supervisor-circle:before{content:"󰪌"}.mdi-account-supervisor-circle-outline:before{content:"󱓬"}.mdi-account-supervisor-outline:before{content:"󱄭"}.mdi-account-switch:before{content:"󰀙"}.mdi-account-switch-outline:before{content:"󰓋"}.mdi-account-sync:before{content:"󱤛"}.mdi-account-sync-outline:before{content:"󱤜"}.mdi-account-tag:before{content:"󱰛"}.mdi-account-tag-outline:before{content:"󱰜"}.mdi-account-tie:before{content:"󰳣"}.mdi-account-tie-hat:before{content:"󱢘"}.mdi-account-tie-hat-outline:before{content:"󱢙"}.mdi-account-tie-outline:before{content:"󱃊"}.mdi-account-tie-voice:before{content:"󱌈"}.mdi-account-tie-voice-off:before{content:"󱌊"}.mdi-account-tie-voice-off-outline:before{content:"󱌋"}.mdi-account-tie-voice-outline:before{content:"󱌉"}.mdi-account-tie-woman:before{content:"󱪌"}.mdi-account-voice:before{content:"󰗋"}.mdi-account-voice-off:before{content:"󰻔"}.mdi-account-wrench:before{content:"󱢚"}.mdi-account-wrench-outline:before{content:"󱢛"}.mdi-adjust:before{content:"󰀚"}.mdi-advertisements:before{content:"󱤪"}.mdi-advertisements-off:before{content:"󱤫"}.mdi-air-conditioner:before{content:"󰀛"}.mdi-air-filter:before{content:"󰵃"}.mdi-air-horn:before{content:"󰶬"}.mdi-air-humidifier:before{content:"󱂙"}.mdi-air-humidifier-off:before{content:"󱑦"}.mdi-air-purifier:before{content:"󰵄"}.mdi-air-purifier-off:before{content:"󱭗"}.mdi-airbag:before{content:"󰯩"}.mdi-airballoon:before{content:"󰀜"}.mdi-airballoon-outline:before{content:"󱀋"}.mdi-airplane:before{content:"󰀝"}.mdi-airplane-alert:before{content:"󱡺"}.mdi-airplane-check:before{content:"󱡻"}.mdi-airplane-clock:before{content:"󱡼"}.mdi-airplane-cog:before{content:"󱡽"}.mdi-airplane-edit:before{content:"󱡾"}.mdi-airplane-landing:before{content:"󰗔"}.mdi-airplane-marker:before{content:"󱡿"}.mdi-airplane-minus:before{content:"󱢀"}.mdi-airplane-off:before{content:"󰀞"}.mdi-airplane-plus:before{content:"󱢁"}.mdi-airplane-remove:before{content:"󱢂"}.mdi-airplane-search:before{content:"󱢃"}.mdi-airplane-settings:before{content:"󱢄"}.mdi-airplane-takeoff:before{content:"󰗕"}.mdi-airport:before{content:"󰡋"}.mdi-alarm:before{content:"󰀠"}.mdi-alarm-bell:before{content:"󰞎"}.mdi-alarm-check:before{content:"󰀡"}.mdi-alarm-light:before{content:"󰞏"}.mdi-alarm-light-off:before{content:"󱜞"}.mdi-alarm-light-off-outline:before{content:"󱜟"}.mdi-alarm-light-outline:before{content:"󰯪"}.mdi-alarm-multiple:before{content:"󰀢"}.mdi-alarm-note:before{content:"󰹱"}.mdi-alarm-note-off:before{content:"󰹲"}.mdi-alarm-off:before{content:"󰀣"}.mdi-alarm-panel:before{content:"󱗄"}.mdi-alarm-panel-outline:before{content:"󱗅"}.mdi-alarm-plus:before{content:"󰀤"}.mdi-alarm-snooze:before{content:"󰚎"}.mdi-album:before{content:"󰀥"}.mdi-alert:before{content:"󰀦"}.mdi-alert-box:before{content:"󰀧"}.mdi-alert-box-outline:before{content:"󰳤"}.mdi-alert-circle:before{content:"󰀨"}.mdi-alert-circle-check:before{content:"󱇭"}.mdi-alert-circle-check-outline:before{content:"󱇮"}.mdi-alert-circle-outline:before{content:"󰗖"}.mdi-alert-decagram:before{content:"󰚽"}.mdi-alert-decagram-outline:before{content:"󰳥"}.mdi-alert-minus:before{content:"󱒻"}.mdi-alert-minus-outline:before{content:"󱒾"}.mdi-alert-octagon:before{content:"󰀩"}.mdi-alert-octagon-outline:before{content:"󰳦"}.mdi-alert-octagram:before{content:"󰝧"}.mdi-alert-octagram-outline:before{content:"󰳧"}.mdi-alert-outline:before{content:"󰀪"}.mdi-alert-plus:before{content:"󱒺"}.mdi-alert-plus-outline:before{content:"󱒽"}.mdi-alert-remove:before{content:"󱒼"}.mdi-alert-remove-outline:before{content:"󱒿"}.mdi-alert-rhombus:before{content:"󱇎"}.mdi-alert-rhombus-outline:before{content:"󱇏"}.mdi-alien:before{content:"󰢚"}.mdi-alien-outline:before{content:"󱃋"}.mdi-align-horizontal-center:before{content:"󱇃"}.mdi-align-horizontal-distribute:before{content:"󱥢"}.mdi-align-horizontal-left:before{content:"󱇂"}.mdi-align-horizontal-right:before{content:"󱇄"}.mdi-align-vertical-bottom:before{content:"󱇅"}.mdi-align-vertical-center:before{content:"󱇆"}.mdi-align-vertical-distribute:before{content:"󱥣"}.mdi-align-vertical-top:before{content:"󱇇"}.mdi-all-inclusive:before{content:"󰚾"}.mdi-all-inclusive-box:before{content:"󱢍"}.mdi-all-inclusive-box-outline:before{content:"󱢎"}.mdi-allergy:before{content:"󱉘"}.mdi-alpha:before{content:"󰀫"}.mdi-alpha-a:before{content:"󰫮"}.mdi-alpha-a-box:before{content:"󰬈"}.mdi-alpha-a-box-outline:before{content:"󰯫"}.mdi-alpha-a-circle:before{content:"󰯬"}.mdi-alpha-a-circle-outline:before{content:"󰯭"}.mdi-alpha-b:before{content:"󰫯"}.mdi-alpha-b-box:before{content:"󰬉"}.mdi-alpha-b-box-outline:before{content:"󰯮"}.mdi-alpha-b-circle:before{content:"󰯯"}.mdi-alpha-b-circle-outline:before{content:"󰯰"}.mdi-alpha-c:before{content:"󰫰"}.mdi-alpha-c-box:before{content:"󰬊"}.mdi-alpha-c-box-outline:before{content:"󰯱"}.mdi-alpha-c-circle:before{content:"󰯲"}.mdi-alpha-c-circle-outline:before{content:"󰯳"}.mdi-alpha-d:before{content:"󰫱"}.mdi-alpha-d-box:before{content:"󰬋"}.mdi-alpha-d-box-outline:before{content:"󰯴"}.mdi-alpha-d-circle:before{content:"󰯵"}.mdi-alpha-d-circle-outline:before{content:"󰯶"}.mdi-alpha-e:before{content:"󰫲"}.mdi-alpha-e-box:before{content:"󰬌"}.mdi-alpha-e-box-outline:before{content:"󰯷"}.mdi-alpha-e-circle:before{content:"󰯸"}.mdi-alpha-e-circle-outline:before{content:"󰯹"}.mdi-alpha-f:before{content:"󰫳"}.mdi-alpha-f-box:before{content:"󰬍"}.mdi-alpha-f-box-outline:before{content:"󰯺"}.mdi-alpha-f-circle:before{content:"󰯻"}.mdi-alpha-f-circle-outline:before{content:"󰯼"}.mdi-alpha-g:before{content:"󰫴"}.mdi-alpha-g-box:before{content:"󰬎"}.mdi-alpha-g-box-outline:before{content:"󰯽"}.mdi-alpha-g-circle:before{content:"󰯾"}.mdi-alpha-g-circle-outline:before{content:"󰯿"}.mdi-alpha-h:before{content:"󰫵"}.mdi-alpha-h-box:before{content:"󰬏"}.mdi-alpha-h-box-outline:before{content:"󰰀"}.mdi-alpha-h-circle:before{content:"󰰁"}.mdi-alpha-h-circle-outline:before{content:"󰰂"}.mdi-alpha-i:before{content:"󰫶"}.mdi-alpha-i-box:before{content:"󰬐"}.mdi-alpha-i-box-outline:before{content:"󰰃"}.mdi-alpha-i-circle:before{content:"󰰄"}.mdi-alpha-i-circle-outline:before{content:"󰰅"}.mdi-alpha-j:before{content:"󰫷"}.mdi-alpha-j-box:before{content:"󰬑"}.mdi-alpha-j-box-outline:before{content:"󰰆"}.mdi-alpha-j-circle:before{content:"󰰇"}.mdi-alpha-j-circle-outline:before{content:"󰰈"}.mdi-alpha-k:before{content:"󰫸"}.mdi-alpha-k-box:before{content:"󰬒"}.mdi-alpha-k-box-outline:before{content:"󰰉"}.mdi-alpha-k-circle:before{content:"󰰊"}.mdi-alpha-k-circle-outline:before{content:"󰰋"}.mdi-alpha-l:before{content:"󰫹"}.mdi-alpha-l-box:before{content:"󰬓"}.mdi-alpha-l-box-outline:before{content:"󰰌"}.mdi-alpha-l-circle:before{content:"󰰍"}.mdi-alpha-l-circle-outline:before{content:"󰰎"}.mdi-alpha-m:before{content:"󰫺"}.mdi-alpha-m-box:before{content:"󰬔"}.mdi-alpha-m-box-outline:before{content:"󰰏"}.mdi-alpha-m-circle:before{content:"󰰐"}.mdi-alpha-m-circle-outline:before{content:"󰰑"}.mdi-alpha-n:before{content:"󰫻"}.mdi-alpha-n-box:before{content:"󰬕"}.mdi-alpha-n-box-outline:before{content:"󰰒"}.mdi-alpha-n-circle:before{content:"󰰓"}.mdi-alpha-n-circle-outline:before{content:"󰰔"}.mdi-alpha-o:before{content:"󰫼"}.mdi-alpha-o-box:before{content:"󰬖"}.mdi-alpha-o-box-outline:before{content:"󰰕"}.mdi-alpha-o-circle:before{content:"󰰖"}.mdi-alpha-o-circle-outline:before{content:"󰰗"}.mdi-alpha-p:before{content:"󰫽"}.mdi-alpha-p-box:before{content:"󰬗"}.mdi-alpha-p-box-outline:before{content:"󰰘"}.mdi-alpha-p-circle:before{content:"󰰙"}.mdi-alpha-p-circle-outline:before{content:"󰰚"}.mdi-alpha-q:before{content:"󰫾"}.mdi-alpha-q-box:before{content:"󰬘"}.mdi-alpha-q-box-outline:before{content:"󰰛"}.mdi-alpha-q-circle:before{content:"󰰜"}.mdi-alpha-q-circle-outline:before{content:"󰰝"}.mdi-alpha-r:before{content:"󰫿"}.mdi-alpha-r-box:before{content:"󰬙"}.mdi-alpha-r-box-outline:before{content:"󰰞"}.mdi-alpha-r-circle:before{content:"󰰟"}.mdi-alpha-r-circle-outline:before{content:"󰰠"}.mdi-alpha-s:before{content:"󰬀"}.mdi-alpha-s-box:before{content:"󰬚"}.mdi-alpha-s-box-outline:before{content:"󰰡"}.mdi-alpha-s-circle:before{content:"󰰢"}.mdi-alpha-s-circle-outline:before{content:"󰰣"}.mdi-alpha-t:before{content:"󰬁"}.mdi-alpha-t-box:before{content:"󰬛"}.mdi-alpha-t-box-outline:before{content:"󰰤"}.mdi-alpha-t-circle:before{content:"󰰥"}.mdi-alpha-t-circle-outline:before{content:"󰰦"}.mdi-alpha-u:before{content:"󰬂"}.mdi-alpha-u-box:before{content:"󰬜"}.mdi-alpha-u-box-outline:before{content:"󰰧"}.mdi-alpha-u-circle:before{content:"󰰨"}.mdi-alpha-u-circle-outline:before{content:"󰰩"}.mdi-alpha-v:before{content:"󰬃"}.mdi-alpha-v-box:before{content:"󰬝"}.mdi-alpha-v-box-outline:before{content:"󰰪"}.mdi-alpha-v-circle:before{content:"󰰫"}.mdi-alpha-v-circle-outline:before{content:"󰰬"}.mdi-alpha-w:before{content:"󰬄"}.mdi-alpha-w-box:before{content:"󰬞"}.mdi-alpha-w-box-outline:before{content:"󰰭"}.mdi-alpha-w-circle:before{content:"󰰮"}.mdi-alpha-w-circle-outline:before{content:"󰰯"}.mdi-alpha-x:before{content:"󰬅"}.mdi-alpha-x-box:before{content:"󰬟"}.mdi-alpha-x-box-outline:before{content:"󰰰"}.mdi-alpha-x-circle:before{content:"󰰱"}.mdi-alpha-x-circle-outline:before{content:"󰰲"}.mdi-alpha-y:before{content:"󰬆"}.mdi-alpha-y-box:before{content:"󰬠"}.mdi-alpha-y-box-outline:before{content:"󰰳"}.mdi-alpha-y-circle:before{content:"󰰴"}.mdi-alpha-y-circle-outline:before{content:"󰰵"}.mdi-alpha-z:before{content:"󰬇"}.mdi-alpha-z-box:before{content:"󰬡"}.mdi-alpha-z-box-outline:before{content:"󰰶"}.mdi-alpha-z-circle:before{content:"󰰷"}.mdi-alpha-z-circle-outline:before{content:"󰰸"}.mdi-alphabet-aurebesh:before{content:"󱌬"}.mdi-alphabet-cyrillic:before{content:"󱌭"}.mdi-alphabet-greek:before{content:"󱌮"}.mdi-alphabet-latin:before{content:"󱌯"}.mdi-alphabet-piqad:before{content:"󱌰"}.mdi-alphabet-tengwar:before{content:"󱌷"}.mdi-alphabetical:before{content:"󰀬"}.mdi-alphabetical-off:before{content:"󱀌"}.mdi-alphabetical-variant:before{content:"󱀍"}.mdi-alphabetical-variant-off:before{content:"󱀎"}.mdi-altimeter:before{content:"󰗗"}.mdi-ambulance:before{content:"󰀯"}.mdi-ammunition:before{content:"󰳨"}.mdi-ampersand:before{content:"󰪍"}.mdi-amplifier:before{content:"󰀰"}.mdi-amplifier-off:before{content:"󱆵"}.mdi-anchor:before{content:"󰀱"}.mdi-android:before{content:"󰀲"}.mdi-android-studio:before{content:"󰀴"}.mdi-angle-acute:before{content:"󰤷"}.mdi-angle-obtuse:before{content:"󰤸"}.mdi-angle-right:before{content:"󰤹"}.mdi-angular:before{content:"󰚲"}.mdi-angularjs:before{content:"󰚿"}.mdi-animation:before{content:"󰗘"}.mdi-animation-outline:before{content:"󰪏"}.mdi-animation-play:before{content:"󰤺"}.mdi-animation-play-outline:before{content:"󰪐"}.mdi-ansible:before{content:"󱂚"}.mdi-antenna:before{content:"󱄙"}.mdi-anvil:before{content:"󰢛"}.mdi-apache-kafka:before{content:"󱀏"}.mdi-api:before{content:"󱂛"}.mdi-api-off:before{content:"󱉗"}.mdi-apple:before{content:"󰀵"}.mdi-apple-finder:before{content:"󰀶"}.mdi-apple-icloud:before{content:"󰀸"}.mdi-apple-ios:before{content:"󰀷"}.mdi-apple-keyboard-caps:before{content:"󰘲"}.mdi-apple-keyboard-command:before{content:"󰘳"}.mdi-apple-keyboard-control:before{content:"󰘴"}.mdi-apple-keyboard-option:before{content:"󰘵"}.mdi-apple-keyboard-shift:before{content:"󰘶"}.mdi-apple-safari:before{content:"󰀹"}.mdi-application:before{content:"󰣆"}.mdi-application-array:before{content:"󱃵"}.mdi-application-array-outline:before{content:"󱃶"}.mdi-application-braces:before{content:"󱃷"}.mdi-application-braces-outline:before{content:"󱃸"}.mdi-application-brackets:before{content:"󰲋"}.mdi-application-brackets-outline:before{content:"󰲌"}.mdi-application-cog:before{content:"󰙵"}.mdi-application-cog-outline:before{content:"󱕷"}.mdi-application-edit:before{content:"󰂮"}.mdi-application-edit-outline:before{content:"󰘙"}.mdi-application-export:before{content:"󰶭"}.mdi-application-import:before{content:"󰶮"}.mdi-application-outline:before{content:"󰘔"}.mdi-application-parentheses:before{content:"󱃹"}.mdi-application-parentheses-outline:before{content:"󱃺"}.mdi-application-settings:before{content:"󰭠"}.mdi-application-settings-outline:before{content:"󱕕"}.mdi-application-variable:before{content:"󱃻"}.mdi-application-variable-outline:before{content:"󱃼"}.mdi-approximately-equal:before{content:"󰾞"}.mdi-approximately-equal-box:before{content:"󰾟"}.mdi-apps:before{content:"󰀻"}.mdi-apps-box:before{content:"󰵆"}.mdi-arch:before{content:"󰣇"}.mdi-archive:before{content:"󰀼"}.mdi-archive-alert:before{content:"󱓽"}.mdi-archive-alert-outline:before{content:"󱓾"}.mdi-archive-arrow-down:before{content:"󱉙"}.mdi-archive-arrow-down-outline:before{content:"󱉚"}.mdi-archive-arrow-up:before{content:"󱉛"}.mdi-archive-arrow-up-outline:before{content:"󱉜"}.mdi-archive-cancel:before{content:"󱝋"}.mdi-archive-cancel-outline:before{content:"󱝌"}.mdi-archive-check:before{content:"󱝍"}.mdi-archive-check-outline:before{content:"󱝎"}.mdi-archive-clock:before{content:"󱝏"}.mdi-archive-clock-outline:before{content:"󱝐"}.mdi-archive-cog:before{content:"󱝑"}.mdi-archive-cog-outline:before{content:"󱝒"}.mdi-archive-edit:before{content:"󱝓"}.mdi-archive-edit-outline:before{content:"󱝔"}.mdi-archive-eye:before{content:"󱝕"}.mdi-archive-eye-outline:before{content:"󱝖"}.mdi-archive-lock:before{content:"󱝗"}.mdi-archive-lock-open:before{content:"󱝘"}.mdi-archive-lock-open-outline:before{content:"󱝙"}.mdi-archive-lock-outline:before{content:"󱝚"}.mdi-archive-marker:before{content:"󱝛"}.mdi-archive-marker-outline:before{content:"󱝜"}.mdi-archive-minus:before{content:"󱝝"}.mdi-archive-minus-outline:before{content:"󱝞"}.mdi-archive-music:before{content:"󱝟"}.mdi-archive-music-outline:before{content:"󱝠"}.mdi-archive-off:before{content:"󱝡"}.mdi-archive-off-outline:before{content:"󱝢"}.mdi-archive-outline:before{content:"󱈎"}.mdi-archive-plus:before{content:"󱝣"}.mdi-archive-plus-outline:before{content:"󱝤"}.mdi-archive-refresh:before{content:"󱝥"}.mdi-archive-refresh-outline:before{content:"󱝦"}.mdi-archive-remove:before{content:"󱝧"}.mdi-archive-remove-outline:before{content:"󱝨"}.mdi-archive-search:before{content:"󱝩"}.mdi-archive-search-outline:before{content:"󱝪"}.mdi-archive-settings:before{content:"󱝫"}.mdi-archive-settings-outline:before{content:"󱝬"}.mdi-archive-star:before{content:"󱝭"}.mdi-archive-star-outline:before{content:"󱝮"}.mdi-archive-sync:before{content:"󱝯"}.mdi-archive-sync-outline:before{content:"󱝰"}.mdi-arm-flex:before{content:"󰿗"}.mdi-arm-flex-outline:before{content:"󰿖"}.mdi-arrange-bring-forward:before{content:"󰀽"}.mdi-arrange-bring-to-front:before{content:"󰀾"}.mdi-arrange-send-backward:before{content:"󰀿"}.mdi-arrange-send-to-back:before{content:"󰁀"}.mdi-arrow-all:before{content:"󰁁"}.mdi-arrow-bottom-left:before{content:"󰁂"}.mdi-arrow-bottom-left-bold-box:before{content:"󱥤"}.mdi-arrow-bottom-left-bold-box-outline:before{content:"󱥥"}.mdi-arrow-bottom-left-bold-outline:before{content:"󰦷"}.mdi-arrow-bottom-left-thick:before{content:"󰦸"}.mdi-arrow-bottom-left-thin:before{content:"󱦶"}.mdi-arrow-bottom-left-thin-circle-outline:before{content:"󱖖"}.mdi-arrow-bottom-right:before{content:"󰁃"}.mdi-arrow-bottom-right-bold-box:before{content:"󱥦"}.mdi-arrow-bottom-right-bold-box-outline:before{content:"󱥧"}.mdi-arrow-bottom-right-bold-outline:before{content:"󰦹"}.mdi-arrow-bottom-right-thick:before{content:"󰦺"}.mdi-arrow-bottom-right-thin:before{content:"󱦷"}.mdi-arrow-bottom-right-thin-circle-outline:before{content:"󱖕"}.mdi-arrow-collapse:before{content:"󰘕"}.mdi-arrow-collapse-all:before{content:"󰁄"}.mdi-arrow-collapse-down:before{content:"󰞒"}.mdi-arrow-collapse-horizontal:before{content:"󰡌"}.mdi-arrow-collapse-left:before{content:"󰞓"}.mdi-arrow-collapse-right:before{content:"󰞔"}.mdi-arrow-collapse-up:before{content:"󰞕"}.mdi-arrow-collapse-vertical:before{content:"󰡍"}.mdi-arrow-decision:before{content:"󰦻"}.mdi-arrow-decision-auto:before{content:"󰦼"}.mdi-arrow-decision-auto-outline:before{content:"󰦽"}.mdi-arrow-decision-outline:before{content:"󰦾"}.mdi-arrow-down:before{content:"󰁅"}.mdi-arrow-down-bold:before{content:"󰜮"}.mdi-arrow-down-bold-box:before{content:"󰜯"}.mdi-arrow-down-bold-box-outline:before{content:"󰜰"}.mdi-arrow-down-bold-circle:before{content:"󰁇"}.mdi-arrow-down-bold-circle-outline:before{content:"󰁈"}.mdi-arrow-down-bold-hexagon-outline:before{content:"󰁉"}.mdi-arrow-down-bold-outline:before{content:"󰦿"}.mdi-arrow-down-box:before{content:"󰛀"}.mdi-arrow-down-circle:before{content:"󰳛"}.mdi-arrow-down-circle-outline:before{content:"󰳜"}.mdi-arrow-down-drop-circle:before{content:"󰁊"}.mdi-arrow-down-drop-circle-outline:before{content:"󰁋"}.mdi-arrow-down-left:before{content:"󱞡"}.mdi-arrow-down-left-bold:before{content:"󱞢"}.mdi-arrow-down-right:before{content:"󱞣"}.mdi-arrow-down-right-bold:before{content:"󱞤"}.mdi-arrow-down-thick:before{content:"󰁆"}.mdi-arrow-down-thin:before{content:"󱦳"}.mdi-arrow-down-thin-circle-outline:before{content:"󱖙"}.mdi-arrow-expand:before{content:"󰘖"}.mdi-arrow-expand-all:before{content:"󰁌"}.mdi-arrow-expand-down:before{content:"󰞖"}.mdi-arrow-expand-horizontal:before{content:"󰡎"}.mdi-arrow-expand-left:before{content:"󰞗"}.mdi-arrow-expand-right:before{content:"󰞘"}.mdi-arrow-expand-up:before{content:"󰞙"}.mdi-arrow-expand-vertical:before{content:"󰡏"}.mdi-arrow-horizontal-lock:before{content:"󱅛"}.mdi-arrow-left:before{content:"󰁍"}.mdi-arrow-left-bold:before{content:"󰜱"}.mdi-arrow-left-bold-box:before{content:"󰜲"}.mdi-arrow-left-bold-box-outline:before{content:"󰜳"}.mdi-arrow-left-bold-circle:before{content:"󰁏"}.mdi-arrow-left-bold-circle-outline:before{content:"󰁐"}.mdi-arrow-left-bold-hexagon-outline:before{content:"󰁑"}.mdi-arrow-left-bold-outline:before{content:"󰧀"}.mdi-arrow-left-bottom:before{content:"󱞥"}.mdi-arrow-left-bottom-bold:before{content:"󱞦"}.mdi-arrow-left-box:before{content:"󰛁"}.mdi-arrow-left-circle:before{content:"󰳝"}.mdi-arrow-left-circle-outline:before{content:"󰳞"}.mdi-arrow-left-drop-circle:before{content:"󰁒"}.mdi-arrow-left-drop-circle-outline:before{content:"󰁓"}.mdi-arrow-left-right:before{content:"󰹳"}.mdi-arrow-left-right-bold:before{content:"󰹴"}.mdi-arrow-left-right-bold-outline:before{content:"󰧁"}.mdi-arrow-left-thick:before{content:"󰁎"}.mdi-arrow-left-thin:before{content:"󱦱"}.mdi-arrow-left-thin-circle-outline:before{content:"󱖚"}.mdi-arrow-left-top:before{content:"󱞧"}.mdi-arrow-left-top-bold:before{content:"󱞨"}.mdi-arrow-projectile:before{content:"󱡀"}.mdi-arrow-projectile-multiple:before{content:"󱠿"}.mdi-arrow-right:before{content:"󰁔"}.mdi-arrow-right-bold:before{content:"󰜴"}.mdi-arrow-right-bold-box:before{content:"󰜵"}.mdi-arrow-right-bold-box-outline:before{content:"󰜶"}.mdi-arrow-right-bold-circle:before{content:"󰁖"}.mdi-arrow-right-bold-circle-outline:before{content:"󰁗"}.mdi-arrow-right-bold-hexagon-outline:before{content:"󰁘"}.mdi-arrow-right-bold-outline:before{content:"󰧂"}.mdi-arrow-right-bottom:before{content:"󱞩"}.mdi-arrow-right-bottom-bold:before{content:"󱞪"}.mdi-arrow-right-box:before{content:"󰛂"}.mdi-arrow-right-circle:before{content:"󰳟"}.mdi-arrow-right-circle-outline:before{content:"󰳠"}.mdi-arrow-right-drop-circle:before{content:"󰁙"}.mdi-arrow-right-drop-circle-outline:before{content:"󰁚"}.mdi-arrow-right-thick:before{content:"󰁕"}.mdi-arrow-right-thin:before{content:"󱦰"}.mdi-arrow-right-thin-circle-outline:before{content:"󱖘"}.mdi-arrow-right-top:before{content:"󱞫"}.mdi-arrow-right-top-bold:before{content:"󱞬"}.mdi-arrow-split-horizontal:before{content:"󰤻"}.mdi-arrow-split-vertical:before{content:"󰤼"}.mdi-arrow-top-left:before{content:"󰁛"}.mdi-arrow-top-left-bold-box:before{content:"󱥨"}.mdi-arrow-top-left-bold-box-outline:before{content:"󱥩"}.mdi-arrow-top-left-bold-outline:before{content:"󰧃"}.mdi-arrow-top-left-bottom-right:before{content:"󰹵"}.mdi-arrow-top-left-bottom-right-bold:before{content:"󰹶"}.mdi-arrow-top-left-thick:before{content:"󰧄"}.mdi-arrow-top-left-thin:before{content:"󱦵"}.mdi-arrow-top-left-thin-circle-outline:before{content:"󱖓"}.mdi-arrow-top-right:before{content:"󰁜"}.mdi-arrow-top-right-bold-box:before{content:"󱥪"}.mdi-arrow-top-right-bold-box-outline:before{content:"󱥫"}.mdi-arrow-top-right-bold-outline:before{content:"󰧅"}.mdi-arrow-top-right-bottom-left:before{content:"󰹷"}.mdi-arrow-top-right-bottom-left-bold:before{content:"󰹸"}.mdi-arrow-top-right-thick:before{content:"󰧆"}.mdi-arrow-top-right-thin:before{content:"󱦴"}.mdi-arrow-top-right-thin-circle-outline:before{content:"󱖔"}.mdi-arrow-u-down-left:before{content:"󱞭"}.mdi-arrow-u-down-left-bold:before{content:"󱞮"}.mdi-arrow-u-down-right:before{content:"󱞯"}.mdi-arrow-u-down-right-bold:before{content:"󱞰"}.mdi-arrow-u-left-bottom:before{content:"󱞱"}.mdi-arrow-u-left-bottom-bold:before{content:"󱞲"}.mdi-arrow-u-left-top:before{content:"󱞳"}.mdi-arrow-u-left-top-bold:before{content:"󱞴"}.mdi-arrow-u-right-bottom:before{content:"󱞵"}.mdi-arrow-u-right-bottom-bold:before{content:"󱞶"}.mdi-arrow-u-right-top:before{content:"󱞷"}.mdi-arrow-u-right-top-bold:before{content:"󱞸"}.mdi-arrow-u-up-left:before{content:"󱞹"}.mdi-arrow-u-up-left-bold:before{content:"󱞺"}.mdi-arrow-u-up-right:before{content:"󱞻"}.mdi-arrow-u-up-right-bold:before{content:"󱞼"}.mdi-arrow-up:before{content:"󰁝"}.mdi-arrow-up-bold:before{content:"󰜷"}.mdi-arrow-up-bold-box:before{content:"󰜸"}.mdi-arrow-up-bold-box-outline:before{content:"󰜹"}.mdi-arrow-up-bold-circle:before{content:"󰁟"}.mdi-arrow-up-bold-circle-outline:before{content:"󰁠"}.mdi-arrow-up-bold-hexagon-outline:before{content:"󰁡"}.mdi-arrow-up-bold-outline:before{content:"󰧇"}.mdi-arrow-up-box:before{content:"󰛃"}.mdi-arrow-up-circle:before{content:"󰳡"}.mdi-arrow-up-circle-outline:before{content:"󰳢"}.mdi-arrow-up-down:before{content:"󰹹"}.mdi-arrow-up-down-bold:before{content:"󰹺"}.mdi-arrow-up-down-bold-outline:before{content:"󰧈"}.mdi-arrow-up-drop-circle:before{content:"󰁢"}.mdi-arrow-up-drop-circle-outline:before{content:"󰁣"}.mdi-arrow-up-left:before{content:"󱞽"}.mdi-arrow-up-left-bold:before{content:"󱞾"}.mdi-arrow-up-right:before{content:"󱞿"}.mdi-arrow-up-right-bold:before{content:"󱟀"}.mdi-arrow-up-thick:before{content:"󰁞"}.mdi-arrow-up-thin:before{content:"󱦲"}.mdi-arrow-up-thin-circle-outline:before{content:"󱖗"}.mdi-arrow-vertical-lock:before{content:"󱅜"}.mdi-artboard:before{content:"󱮚"}.mdi-artstation:before{content:"󰭛"}.mdi-aspect-ratio:before{content:"󰨤"}.mdi-assistant:before{content:"󰁤"}.mdi-asterisk:before{content:"󰛄"}.mdi-asterisk-circle-outline:before{content:"󱨧"}.mdi-at:before{content:"󰁥"}.mdi-atlassian:before{content:"󰠄"}.mdi-atm:before{content:"󰵇"}.mdi-atom:before{content:"󰝨"}.mdi-atom-variant:before{content:"󰹻"}.mdi-attachment:before{content:"󰁦"}.mdi-attachment-check:before{content:"󱫁"}.mdi-attachment-lock:before{content:"󱧄"}.mdi-attachment-minus:before{content:"󱫂"}.mdi-attachment-off:before{content:"󱫃"}.mdi-attachment-plus:before{content:"󱫄"}.mdi-attachment-remove:before{content:"󱫅"}.mdi-atv:before{content:"󱭰"}.mdi-audio-input-rca:before{content:"󱡫"}.mdi-audio-input-stereo-minijack:before{content:"󱡬"}.mdi-audio-input-xlr:before{content:"󱡭"}.mdi-audio-video:before{content:"󰤽"}.mdi-audio-video-off:before{content:"󱆶"}.mdi-augmented-reality:before{content:"󰡐"}.mdi-aurora:before{content:"󱮹"}.mdi-auto-download:before{content:"󱍾"}.mdi-auto-fix:before{content:"󰁨"}.mdi-auto-mode:before{content:"󱰠"}.mdi-auto-upload:before{content:"󰁩"}.mdi-autorenew:before{content:"󰁪"}.mdi-autorenew-off:before{content:"󱧧"}.mdi-av-timer:before{content:"󰁫"}.mdi-awning:before{content:"󱮇"}.mdi-awning-outline:before{content:"󱮈"}.mdi-aws:before{content:"󰸏"}.mdi-axe:before{content:"󰣈"}.mdi-axe-battle:before{content:"󱡂"}.mdi-axis:before{content:"󰵈"}.mdi-axis-arrow:before{content:"󰵉"}.mdi-axis-arrow-info:before{content:"󱐎"}.mdi-axis-arrow-lock:before{content:"󰵊"}.mdi-axis-lock:before{content:"󰵋"}.mdi-axis-x-arrow:before{content:"󰵌"}.mdi-axis-x-arrow-lock:before{content:"󰵍"}.mdi-axis-x-rotate-clockwise:before{content:"󰵎"}.mdi-axis-x-rotate-counterclockwise:before{content:"󰵏"}.mdi-axis-x-y-arrow-lock:before{content:"󰵐"}.mdi-axis-y-arrow:before{content:"󰵑"}.mdi-axis-y-arrow-lock:before{content:"󰵒"}.mdi-axis-y-rotate-clockwise:before{content:"󰵓"}.mdi-axis-y-rotate-counterclockwise:before{content:"󰵔"}.mdi-axis-z-arrow:before{content:"󰵕"}.mdi-axis-z-arrow-lock:before{content:"󰵖"}.mdi-axis-z-rotate-clockwise:before{content:"󰵗"}.mdi-axis-z-rotate-counterclockwise:before{content:"󰵘"}.mdi-babel:before{content:"󰨥"}.mdi-baby:before{content:"󰁬"}.mdi-baby-bottle:before{content:"󰼹"}.mdi-baby-bottle-outline:before{content:"󰼺"}.mdi-baby-buggy:before{content:"󱏠"}.mdi-baby-buggy-off:before{content:"󱫳"}.mdi-baby-carriage:before{content:"󰚏"}.mdi-baby-carriage-off:before{content:"󰾠"}.mdi-baby-face:before{content:"󰹼"}.mdi-baby-face-outline:before{content:"󰹽"}.mdi-backburger:before{content:"󰁭"}.mdi-backspace:before{content:"󰁮"}.mdi-backspace-outline:before{content:"󰭜"}.mdi-backspace-reverse:before{content:"󰹾"}.mdi-backspace-reverse-outline:before{content:"󰹿"}.mdi-backup-restore:before{content:"󰁯"}.mdi-bacteria:before{content:"󰻕"}.mdi-bacteria-outline:before{content:"󰻖"}.mdi-badge-account:before{content:"󰶧"}.mdi-badge-account-alert:before{content:"󰶨"}.mdi-badge-account-alert-outline:before{content:"󰶩"}.mdi-badge-account-horizontal:before{content:"󰸍"}.mdi-badge-account-horizontal-outline:before{content:"󰸎"}.mdi-badge-account-outline:before{content:"󰶪"}.mdi-badminton:before{content:"󰡑"}.mdi-bag-carry-on:before{content:"󰼻"}.mdi-bag-carry-on-check:before{content:"󰵥"}.mdi-bag-carry-on-off:before{content:"󰼼"}.mdi-bag-checked:before{content:"󰼽"}.mdi-bag-personal:before{content:"󰸐"}.mdi-bag-personal-off:before{content:"󰸑"}.mdi-bag-personal-off-outline:before{content:"󰸒"}.mdi-bag-personal-outline:before{content:"󰸓"}.mdi-bag-personal-tag:before{content:"󱬌"}.mdi-bag-personal-tag-outline:before{content:"󱬍"}.mdi-bag-suitcase:before{content:"󱖋"}.mdi-bag-suitcase-off:before{content:"󱖍"}.mdi-bag-suitcase-off-outline:before{content:"󱖎"}.mdi-bag-suitcase-outline:before{content:"󱖌"}.mdi-baguette:before{content:"󰼾"}.mdi-balcony:before{content:"󱠗"}.mdi-balloon:before{content:"󰨦"}.mdi-ballot:before{content:"󰧉"}.mdi-ballot-outline:before{content:"󰧊"}.mdi-ballot-recount:before{content:"󰰹"}.mdi-ballot-recount-outline:before{content:"󰰺"}.mdi-bandage:before{content:"󰶯"}.mdi-bank:before{content:"󰁰"}.mdi-bank-check:before{content:"󱙕"}.mdi-bank-circle:before{content:"󱰃"}.mdi-bank-circle-outline:before{content:"󱰄"}.mdi-bank-minus:before{content:"󰶰"}.mdi-bank-off:before{content:"󱙖"}.mdi-bank-off-outline:before{content:"󱙗"}.mdi-bank-outline:before{content:"󰺀"}.mdi-bank-plus:before{content:"󰶱"}.mdi-bank-remove:before{content:"󰶲"}.mdi-bank-transfer:before{content:"󰨧"}.mdi-bank-transfer-in:before{content:"󰨨"}.mdi-bank-transfer-out:before{content:"󰨩"}.mdi-barcode:before{content:"󰁱"}.mdi-barcode-off:before{content:"󱈶"}.mdi-barcode-scan:before{content:"󰁲"}.mdi-barley:before{content:"󰁳"}.mdi-barley-off:before{content:"󰭝"}.mdi-barn:before{content:"󰭞"}.mdi-barrel:before{content:"󰁴"}.mdi-barrel-outline:before{content:"󱨨"}.mdi-baseball:before{content:"󰡒"}.mdi-baseball-bat:before{content:"󰡓"}.mdi-baseball-diamond:before{content:"󱗬"}.mdi-baseball-diamond-outline:before{content:"󱗭"}.mdi-baseball-outline:before{content:"󱱚"}.mdi-bash:before{content:"󱆃"}.mdi-basket:before{content:"󰁶"}.mdi-basket-check:before{content:"󱣥"}.mdi-basket-check-outline:before{content:"󱣦"}.mdi-basket-fill:before{content:"󰁷"}.mdi-basket-minus:before{content:"󱔣"}.mdi-basket-minus-outline:before{content:"󱔤"}.mdi-basket-off:before{content:"󱔥"}.mdi-basket-off-outline:before{content:"󱔦"}.mdi-basket-outline:before{content:"󱆁"}.mdi-basket-plus:before{content:"󱔧"}.mdi-basket-plus-outline:before{content:"󱔨"}.mdi-basket-remove:before{content:"󱔩"}.mdi-basket-remove-outline:before{content:"󱔪"}.mdi-basket-unfill:before{content:"󰁸"}.mdi-basketball:before{content:"󰠆"}.mdi-basketball-hoop:before{content:"󰰻"}.mdi-basketball-hoop-outline:before{content:"󰰼"}.mdi-bat:before{content:"󰭟"}.mdi-bathtub:before{content:"󱠘"}.mdi-bathtub-outline:before{content:"󱠙"}.mdi-battery:before{content:"󰁹"}.mdi-battery-10:before{content:"󰁺"}.mdi-battery-10-bluetooth:before{content:"󰤾"}.mdi-battery-20:before{content:"󰁻"}.mdi-battery-20-bluetooth:before{content:"󰤿"}.mdi-battery-30:before{content:"󰁼"}.mdi-battery-30-bluetooth:before{content:"󰥀"}.mdi-battery-40:before{content:"󰁽"}.mdi-battery-40-bluetooth:before{content:"󰥁"}.mdi-battery-50:before{content:"󰁾"}.mdi-battery-50-bluetooth:before{content:"󰥂"}.mdi-battery-60:before{content:"󰁿"}.mdi-battery-60-bluetooth:before{content:"󰥃"}.mdi-battery-70:before{content:"󰂀"}.mdi-battery-70-bluetooth:before{content:"󰥄"}.mdi-battery-80:before{content:"󰂁"}.mdi-battery-80-bluetooth:before{content:"󰥅"}.mdi-battery-90:before{content:"󰂂"}.mdi-battery-90-bluetooth:before{content:"󰥆"}.mdi-battery-alert:before{content:"󰂃"}.mdi-battery-alert-bluetooth:before{content:"󰥇"}.mdi-battery-alert-variant:before{content:"󱃌"}.mdi-battery-alert-variant-outline:before{content:"󱃍"}.mdi-battery-arrow-down:before{content:"󱟞"}.mdi-battery-arrow-down-outline:before{content:"󱟟"}.mdi-battery-arrow-up:before{content:"󱟠"}.mdi-battery-arrow-up-outline:before{content:"󱟡"}.mdi-battery-bluetooth:before{content:"󰥈"}.mdi-battery-bluetooth-variant:before{content:"󰥉"}.mdi-battery-charging:before{content:"󰂄"}.mdi-battery-charging-10:before{content:"󰢜"}.mdi-battery-charging-100:before{content:"󰂅"}.mdi-battery-charging-20:before{content:"󰂆"}.mdi-battery-charging-30:before{content:"󰂇"}.mdi-battery-charging-40:before{content:"󰂈"}.mdi-battery-charging-50:before{content:"󰢝"}.mdi-battery-charging-60:before{content:"󰂉"}.mdi-battery-charging-70:before{content:"󰢞"}.mdi-battery-charging-80:before{content:"󰂊"}.mdi-battery-charging-90:before{content:"󰂋"}.mdi-battery-charging-high:before{content:"󱊦"}.mdi-battery-charging-low:before{content:"󱊤"}.mdi-battery-charging-medium:before{content:"󱊥"}.mdi-battery-charging-outline:before{content:"󰢟"}.mdi-battery-charging-wireless:before{content:"󰠇"}.mdi-battery-charging-wireless-10:before{content:"󰠈"}.mdi-battery-charging-wireless-20:before{content:"󰠉"}.mdi-battery-charging-wireless-30:before{content:"󰠊"}.mdi-battery-charging-wireless-40:before{content:"󰠋"}.mdi-battery-charging-wireless-50:before{content:"󰠌"}.mdi-battery-charging-wireless-60:before{content:"󰠍"}.mdi-battery-charging-wireless-70:before{content:"󰠎"}.mdi-battery-charging-wireless-80:before{content:"󰠏"}.mdi-battery-charging-wireless-90:before{content:"󰠐"}.mdi-battery-charging-wireless-alert:before{content:"󰠑"}.mdi-battery-charging-wireless-outline:before{content:"󰠒"}.mdi-battery-check:before{content:"󱟢"}.mdi-battery-check-outline:before{content:"󱟣"}.mdi-battery-clock:before{content:"󱧥"}.mdi-battery-clock-outline:before{content:"󱧦"}.mdi-battery-heart:before{content:"󱈏"}.mdi-battery-heart-outline:before{content:"󱈐"}.mdi-battery-heart-variant:before{content:"󱈑"}.mdi-battery-high:before{content:"󱊣"}.mdi-battery-lock:before{content:"󱞜"}.mdi-battery-lock-open:before{content:"󱞝"}.mdi-battery-low:before{content:"󱊡"}.mdi-battery-medium:before{content:"󱊢"}.mdi-battery-minus:before{content:"󱟤"}.mdi-battery-minus-outline:before{content:"󱟥"}.mdi-battery-minus-variant:before{content:"󰂌"}.mdi-battery-negative:before{content:"󰂍"}.mdi-battery-off:before{content:"󱉝"}.mdi-battery-off-outline:before{content:"󱉞"}.mdi-battery-outline:before{content:"󰂎"}.mdi-battery-plus:before{content:"󱟦"}.mdi-battery-plus-outline:before{content:"󱟧"}.mdi-battery-plus-variant:before{content:"󰂏"}.mdi-battery-positive:before{content:"󰂐"}.mdi-battery-remove:before{content:"󱟨"}.mdi-battery-remove-outline:before{content:"󱟩"}.mdi-battery-sync:before{content:"󱠴"}.mdi-battery-sync-outline:before{content:"󱠵"}.mdi-battery-unknown:before{content:"󰂑"}.mdi-battery-unknown-bluetooth:before{content:"󰥊"}.mdi-beach:before{content:"󰂒"}.mdi-beaker:before{content:"󰳪"}.mdi-beaker-alert:before{content:"󱈩"}.mdi-beaker-alert-outline:before{content:"󱈪"}.mdi-beaker-check:before{content:"󱈫"}.mdi-beaker-check-outline:before{content:"󱈬"}.mdi-beaker-minus:before{content:"󱈭"}.mdi-beaker-minus-outline:before{content:"󱈮"}.mdi-beaker-outline:before{content:"󰚐"}.mdi-beaker-plus:before{content:"󱈯"}.mdi-beaker-plus-outline:before{content:"󱈰"}.mdi-beaker-question:before{content:"󱈱"}.mdi-beaker-question-outline:before{content:"󱈲"}.mdi-beaker-remove:before{content:"󱈳"}.mdi-beaker-remove-outline:before{content:"󱈴"}.mdi-bed:before{content:"󰋣"}.mdi-bed-clock:before{content:"󱮔"}.mdi-bed-double:before{content:"󰿔"}.mdi-bed-double-outline:before{content:"󰿓"}.mdi-bed-empty:before{content:"󰢠"}.mdi-bed-king:before{content:"󰿒"}.mdi-bed-king-outline:before{content:"󰿑"}.mdi-bed-outline:before{content:"󰂙"}.mdi-bed-queen:before{content:"󰿐"}.mdi-bed-queen-outline:before{content:"󰿛"}.mdi-bed-single:before{content:"󱁭"}.mdi-bed-single-outline:before{content:"󱁮"}.mdi-bee:before{content:"󰾡"}.mdi-bee-flower:before{content:"󰾢"}.mdi-beehive-off-outline:before{content:"󱏭"}.mdi-beehive-outline:before{content:"󱃎"}.mdi-beekeeper:before{content:"󱓢"}.mdi-beer:before{content:"󰂘"}.mdi-beer-outline:before{content:"󱌌"}.mdi-bell:before{content:"󰂚"}.mdi-bell-alert:before{content:"󰵙"}.mdi-bell-alert-outline:before{content:"󰺁"}.mdi-bell-badge:before{content:"󱅫"}.mdi-bell-badge-outline:before{content:"󰅸"}.mdi-bell-cancel:before{content:"󱏧"}.mdi-bell-cancel-outline:before{content:"󱏨"}.mdi-bell-check:before{content:"󱇥"}.mdi-bell-check-outline:before{content:"󱇦"}.mdi-bell-circle:before{content:"󰵚"}.mdi-bell-circle-outline:before{content:"󰵛"}.mdi-bell-cog:before{content:"󱨩"}.mdi-bell-cog-outline:before{content:"󱨪"}.mdi-bell-minus:before{content:"󱏩"}.mdi-bell-minus-outline:before{content:"󱏪"}.mdi-bell-off:before{content:"󰂛"}.mdi-bell-off-outline:before{content:"󰪑"}.mdi-bell-outline:before{content:"󰂜"}.mdi-bell-plus:before{content:"󰂝"}.mdi-bell-plus-outline:before{content:"󰪒"}.mdi-bell-remove:before{content:"󱏫"}.mdi-bell-remove-outline:before{content:"󱏬"}.mdi-bell-ring:before{content:"󰂞"}.mdi-bell-ring-outline:before{content:"󰂟"}.mdi-bell-sleep:before{content:"󰂠"}.mdi-bell-sleep-outline:before{content:"󰪓"}.mdi-bench:before{content:"󱰡"}.mdi-bench-back:before{content:"󱰢"}.mdi-beta:before{content:"󰂡"}.mdi-betamax:before{content:"󰧋"}.mdi-biathlon:before{content:"󰸔"}.mdi-bicycle:before{content:"󱂜"}.mdi-bicycle-basket:before{content:"󱈵"}.mdi-bicycle-cargo:before{content:"󱢜"}.mdi-bicycle-electric:before{content:"󱖴"}.mdi-bicycle-penny-farthing:before{content:"󱗩"}.mdi-bike:before{content:"󰂣"}.mdi-bike-fast:before{content:"󱄟"}.mdi-bike-pedal:before{content:"󱰣"}.mdi-bike-pedal-clipless:before{content:"󱰤"}.mdi-bike-pedal-mountain:before{content:"󱰥"}.mdi-billboard:before{content:"󱀐"}.mdi-billiards:before{content:"󰭡"}.mdi-billiards-rack:before{content:"󰭢"}.mdi-binoculars:before{content:"󰂥"}.mdi-bio:before{content:"󰂦"}.mdi-biohazard:before{content:"󰂧"}.mdi-bird:before{content:"󱗆"}.mdi-bitbucket:before{content:"󰂨"}.mdi-bitcoin:before{content:"󰠓"}.mdi-black-mesa:before{content:"󰂩"}.mdi-blender:before{content:"󰳫"}.mdi-blender-outline:before{content:"󱠚"}.mdi-blender-software:before{content:"󰂫"}.mdi-blinds:before{content:"󰂬"}.mdi-blinds-horizontal:before{content:"󱨫"}.mdi-blinds-horizontal-closed:before{content:"󱨬"}.mdi-blinds-open:before{content:"󱀑"}.mdi-blinds-vertical:before{content:"󱨭"}.mdi-blinds-vertical-closed:before{content:"󱨮"}.mdi-block-helper:before{content:"󰂭"}.mdi-blood-bag:before{content:"󰳬"}.mdi-bluetooth:before{content:"󰂯"}.mdi-bluetooth-audio:before{content:"󰂰"}.mdi-bluetooth-connect:before{content:"󰂱"}.mdi-bluetooth-off:before{content:"󰂲"}.mdi-bluetooth-settings:before{content:"󰂳"}.mdi-bluetooth-transfer:before{content:"󰂴"}.mdi-blur:before{content:"󰂵"}.mdi-blur-linear:before{content:"󰂶"}.mdi-blur-off:before{content:"󰂷"}.mdi-blur-radial:before{content:"󰂸"}.mdi-bolt:before{content:"󰶳"}.mdi-bomb:before{content:"󰚑"}.mdi-bomb-off:before{content:"󰛅"}.mdi-bone:before{content:"󰂹"}.mdi-bone-off:before{content:"󱧠"}.mdi-book:before{content:"󰂺"}.mdi-book-account:before{content:"󱎭"}.mdi-book-account-outline:before{content:"󱎮"}.mdi-book-alert:before{content:"󱙼"}.mdi-book-alert-outline:before{content:"󱙽"}.mdi-book-alphabet:before{content:"󰘝"}.mdi-book-arrow-down:before{content:"󱙾"}.mdi-book-arrow-down-outline:before{content:"󱙿"}.mdi-book-arrow-left:before{content:"󱚀"}.mdi-book-arrow-left-outline:before{content:"󱚁"}.mdi-book-arrow-right:before{content:"󱚂"}.mdi-book-arrow-right-outline:before{content:"󱚃"}.mdi-book-arrow-up:before{content:"󱚄"}.mdi-book-arrow-up-outline:before{content:"󱚅"}.mdi-book-cancel:before{content:"󱚆"}.mdi-book-cancel-outline:before{content:"󱚇"}.mdi-book-check:before{content:"󱓳"}.mdi-book-check-outline:before{content:"󱓴"}.mdi-book-clock:before{content:"󱚈"}.mdi-book-clock-outline:before{content:"󱚉"}.mdi-book-cog:before{content:"󱚊"}.mdi-book-cog-outline:before{content:"󱚋"}.mdi-book-cross:before{content:"󰂢"}.mdi-book-edit:before{content:"󱚌"}.mdi-book-edit-outline:before{content:"󱚍"}.mdi-book-education:before{content:"󱛉"}.mdi-book-education-outline:before{content:"󱛊"}.mdi-book-heart:before{content:"󱨝"}.mdi-book-heart-outline:before{content:"󱨞"}.mdi-book-information-variant:before{content:"󱁯"}.mdi-book-lock:before{content:"󰞚"}.mdi-book-lock-open:before{content:"󰞛"}.mdi-book-lock-open-outline:before{content:"󱚎"}.mdi-book-lock-outline:before{content:"󱚏"}.mdi-book-marker:before{content:"󱚐"}.mdi-book-marker-outline:before{content:"󱚑"}.mdi-book-minus:before{content:"󰗙"}.mdi-book-minus-multiple:before{content:"󰪔"}.mdi-book-minus-multiple-outline:before{content:"󰤋"}.mdi-book-minus-outline:before{content:"󱚒"}.mdi-book-multiple:before{content:"󰂻"}.mdi-book-multiple-outline:before{content:"󰐶"}.mdi-book-music:before{content:"󰁧"}.mdi-book-music-outline:before{content:"󱚓"}.mdi-book-off:before{content:"󱚔"}.mdi-book-off-outline:before{content:"󱚕"}.mdi-book-open:before{content:"󰂽"}.mdi-book-open-blank-variant:before{content:"󰂾"}.mdi-book-open-outline:before{content:"󰭣"}.mdi-book-open-page-variant:before{content:"󰗚"}.mdi-book-open-page-variant-outline:before{content:"󱗖"}.mdi-book-open-variant:before{content:"󱓷"}.mdi-book-outline:before{content:"󰭤"}.mdi-book-play:before{content:"󰺂"}.mdi-book-play-outline:before{content:"󰺃"}.mdi-book-plus:before{content:"󰗛"}.mdi-book-plus-multiple:before{content:"󰪕"}.mdi-book-plus-multiple-outline:before{content:"󰫞"}.mdi-book-plus-outline:before{content:"󱚖"}.mdi-book-refresh:before{content:"󱚗"}.mdi-book-refresh-outline:before{content:"󱚘"}.mdi-book-remove:before{content:"󰪗"}.mdi-book-remove-multiple:before{content:"󰪖"}.mdi-book-remove-multiple-outline:before{content:"󰓊"}.mdi-book-remove-outline:before{content:"󱚙"}.mdi-book-search:before{content:"󰺄"}.mdi-book-search-outline:before{content:"󰺅"}.mdi-book-settings:before{content:"󱚚"}.mdi-book-settings-outline:before{content:"󱚛"}.mdi-book-sync:before{content:"󱚜"}.mdi-book-sync-outline:before{content:"󱛈"}.mdi-book-variant:before{content:"󰂿"}.mdi-bookmark:before{content:"󰃀"}.mdi-bookmark-box:before{content:"󱭵"}.mdi-bookmark-box-multiple:before{content:"󱥬"}.mdi-bookmark-box-multiple-outline:before{content:"󱥭"}.mdi-bookmark-box-outline:before{content:"󱭶"}.mdi-bookmark-check:before{content:"󰃁"}.mdi-bookmark-check-outline:before{content:"󱍻"}.mdi-bookmark-minus:before{content:"󰧌"}.mdi-bookmark-minus-outline:before{content:"󰧍"}.mdi-bookmark-multiple:before{content:"󰸕"}.mdi-bookmark-multiple-outline:before{content:"󰸖"}.mdi-bookmark-music:before{content:"󰃂"}.mdi-bookmark-music-outline:before{content:"󱍹"}.mdi-bookmark-off:before{content:"󰧎"}.mdi-bookmark-off-outline:before{content:"󰧏"}.mdi-bookmark-outline:before{content:"󰃃"}.mdi-bookmark-plus:before{content:"󰃅"}.mdi-bookmark-plus-outline:before{content:"󰃄"}.mdi-bookmark-remove:before{content:"󰃆"}.mdi-bookmark-remove-outline:before{content:"󱍺"}.mdi-bookshelf:before{content:"󱉟"}.mdi-boom-gate:before{content:"󰺆"}.mdi-boom-gate-alert:before{content:"󰺇"}.mdi-boom-gate-alert-outline:before{content:"󰺈"}.mdi-boom-gate-arrow-down:before{content:"󰺉"}.mdi-boom-gate-arrow-down-outline:before{content:"󰺊"}.mdi-boom-gate-arrow-up:before{content:"󰺌"}.mdi-boom-gate-arrow-up-outline:before{content:"󰺍"}.mdi-boom-gate-outline:before{content:"󰺋"}.mdi-boom-gate-up:before{content:"󱟹"}.mdi-boom-gate-up-outline:before{content:"󱟺"}.mdi-boombox:before{content:"󰗜"}.mdi-boomerang:before{content:"󱃏"}.mdi-bootstrap:before{content:"󰛆"}.mdi-border-all:before{content:"󰃇"}.mdi-border-all-variant:before{content:"󰢡"}.mdi-border-bottom:before{content:"󰃈"}.mdi-border-bottom-variant:before{content:"󰢢"}.mdi-border-color:before{content:"󰃉"}.mdi-border-horizontal:before{content:"󰃊"}.mdi-border-inside:before{content:"󰃋"}.mdi-border-left:before{content:"󰃌"}.mdi-border-left-variant:before{content:"󰢣"}.mdi-border-none:before{content:"󰃍"}.mdi-border-none-variant:before{content:"󰢤"}.mdi-border-outside:before{content:"󰃎"}.mdi-border-radius:before{content:"󱫴"}.mdi-border-right:before{content:"󰃏"}.mdi-border-right-variant:before{content:"󰢥"}.mdi-border-style:before{content:"󰃐"}.mdi-border-top:before{content:"󰃑"}.mdi-border-top-variant:before{content:"󰢦"}.mdi-border-vertical:before{content:"󰃒"}.mdi-bottle-soda:before{content:"󱁰"}.mdi-bottle-soda-classic:before{content:"󱁱"}.mdi-bottle-soda-classic-outline:before{content:"󱍣"}.mdi-bottle-soda-outline:before{content:"󱁲"}.mdi-bottle-tonic:before{content:"󱄮"}.mdi-bottle-tonic-outline:before{content:"󱄯"}.mdi-bottle-tonic-plus:before{content:"󱄰"}.mdi-bottle-tonic-plus-outline:before{content:"󱄱"}.mdi-bottle-tonic-skull:before{content:"󱄲"}.mdi-bottle-tonic-skull-outline:before{content:"󱄳"}.mdi-bottle-wine:before{content:"󰡔"}.mdi-bottle-wine-outline:before{content:"󱌐"}.mdi-bow-arrow:before{content:"󱡁"}.mdi-bow-tie:before{content:"󰙸"}.mdi-bowl:before{content:"󰊎"}.mdi-bowl-mix:before{content:"󰘗"}.mdi-bowl-mix-outline:before{content:"󰋤"}.mdi-bowl-outline:before{content:"󰊩"}.mdi-bowling:before{content:"󰃓"}.mdi-box:before{content:"󰃔"}.mdi-box-cutter:before{content:"󰃕"}.mdi-box-cutter-off:before{content:"󰭊"}.mdi-box-shadow:before{content:"󰘷"}.mdi-boxing-glove:before{content:"󰭥"}.mdi-braille:before{content:"󰧐"}.mdi-brain:before{content:"󰧑"}.mdi-bread-slice:before{content:"󰳮"}.mdi-bread-slice-outline:before{content:"󰳯"}.mdi-bridge:before{content:"󰘘"}.mdi-briefcase:before{content:"󰃖"}.mdi-briefcase-account:before{content:"󰳰"}.mdi-briefcase-account-outline:before{content:"󰳱"}.mdi-briefcase-arrow-left-right:before{content:"󱪍"}.mdi-briefcase-arrow-left-right-outline:before{content:"󱪎"}.mdi-briefcase-arrow-up-down:before{content:"󱪏"}.mdi-briefcase-arrow-up-down-outline:before{content:"󱪐"}.mdi-briefcase-check:before{content:"󰃗"}.mdi-briefcase-check-outline:before{content:"󱌞"}.mdi-briefcase-clock:before{content:"󱃐"}.mdi-briefcase-clock-outline:before{content:"󱃑"}.mdi-briefcase-download:before{content:"󰃘"}.mdi-briefcase-download-outline:before{content:"󰰽"}.mdi-briefcase-edit:before{content:"󰪘"}.mdi-briefcase-edit-outline:before{content:"󰰾"}.mdi-briefcase-eye:before{content:"󱟙"}.mdi-briefcase-eye-outline:before{content:"󱟚"}.mdi-briefcase-minus:before{content:"󰨪"}.mdi-briefcase-minus-outline:before{content:"󰰿"}.mdi-briefcase-off:before{content:"󱙘"}.mdi-briefcase-off-outline:before{content:"󱙙"}.mdi-briefcase-outline:before{content:"󰠔"}.mdi-briefcase-plus:before{content:"󰨫"}.mdi-briefcase-plus-outline:before{content:"󰱀"}.mdi-briefcase-remove:before{content:"󰨬"}.mdi-briefcase-remove-outline:before{content:"󰱁"}.mdi-briefcase-search:before{content:"󰨭"}.mdi-briefcase-search-outline:before{content:"󰱂"}.mdi-briefcase-upload:before{content:"󰃙"}.mdi-briefcase-upload-outline:before{content:"󰱃"}.mdi-briefcase-variant:before{content:"󱒔"}.mdi-briefcase-variant-off:before{content:"󱙚"}.mdi-briefcase-variant-off-outline:before{content:"󱙛"}.mdi-briefcase-variant-outline:before{content:"󱒕"}.mdi-brightness-1:before{content:"󰃚"}.mdi-brightness-2:before{content:"󰃛"}.mdi-brightness-3:before{content:"󰃜"}.mdi-brightness-4:before{content:"󰃝"}.mdi-brightness-5:before{content:"󰃞"}.mdi-brightness-6:before{content:"󰃟"}.mdi-brightness-7:before{content:"󰃠"}.mdi-brightness-auto:before{content:"󰃡"}.mdi-brightness-percent:before{content:"󰳲"}.mdi-broadcast:before{content:"󱜠"}.mdi-broadcast-off:before{content:"󱜡"}.mdi-broom:before{content:"󰃢"}.mdi-brush:before{content:"󰃣"}.mdi-brush-off:before{content:"󱝱"}.mdi-brush-outline:before{content:"󱨍"}.mdi-brush-variant:before{content:"󱠓"}.mdi-bucket:before{content:"󱐕"}.mdi-bucket-outline:before{content:"󱐖"}.mdi-buffet:before{content:"󰕸"}.mdi-bug:before{content:"󰃤"}.mdi-bug-check:before{content:"󰨮"}.mdi-bug-check-outline:before{content:"󰨯"}.mdi-bug-outline:before{content:"󰨰"}.mdi-bug-pause:before{content:"󱫵"}.mdi-bug-pause-outline:before{content:"󱫶"}.mdi-bug-play:before{content:"󱫷"}.mdi-bug-play-outline:before{content:"󱫸"}.mdi-bug-stop:before{content:"󱫹"}.mdi-bug-stop-outline:before{content:"󱫺"}.mdi-bugle:before{content:"󰶴"}.mdi-bulkhead-light:before{content:"󱨯"}.mdi-bulldozer:before{content:"󰬢"}.mdi-bullet:before{content:"󰳳"}.mdi-bulletin-board:before{content:"󰃥"}.mdi-bullhorn:before{content:"󰃦"}.mdi-bullhorn-outline:before{content:"󰬣"}.mdi-bullhorn-variant:before{content:"󱥮"}.mdi-bullhorn-variant-outline:before{content:"󱥯"}.mdi-bullseye:before{content:"󰗝"}.mdi-bullseye-arrow:before{content:"󰣉"}.mdi-bulma:before{content:"󱋧"}.mdi-bunk-bed:before{content:"󱌂"}.mdi-bunk-bed-outline:before{content:"󰂗"}.mdi-bus:before{content:"󰃧"}.mdi-bus-alert:before{content:"󰪙"}.mdi-bus-articulated-end:before{content:"󰞜"}.mdi-bus-articulated-front:before{content:"󰞝"}.mdi-bus-clock:before{content:"󰣊"}.mdi-bus-double-decker:before{content:"󰞞"}.mdi-bus-electric:before{content:"󱤝"}.mdi-bus-marker:before{content:"󱈒"}.mdi-bus-multiple:before{content:"󰼿"}.mdi-bus-school:before{content:"󰞟"}.mdi-bus-side:before{content:"󰞠"}.mdi-bus-stop:before{content:"󱀒"}.mdi-bus-stop-covered:before{content:"󱀓"}.mdi-bus-stop-uncovered:before{content:"󱀔"}.mdi-butterfly:before{content:"󱖉"}.mdi-butterfly-outline:before{content:"󱖊"}.mdi-button-cursor:before{content:"󱭏"}.mdi-button-pointer:before{content:"󱭐"}.mdi-cabin-a-frame:before{content:"󱢌"}.mdi-cable-data:before{content:"󱎔"}.mdi-cached:before{content:"󰃨"}.mdi-cactus:before{content:"󰶵"}.mdi-cake:before{content:"󰃩"}.mdi-cake-layered:before{content:"󰃪"}.mdi-cake-variant:before{content:"󰃫"}.mdi-cake-variant-outline:before{content:"󱟰"}.mdi-calculator:before{content:"󰃬"}.mdi-calculator-variant:before{content:"󰪚"}.mdi-calculator-variant-outline:before{content:"󱖦"}.mdi-calendar:before{content:"󰃭"}.mdi-calendar-account:before{content:"󰻗"}.mdi-calendar-account-outline:before{content:"󰻘"}.mdi-calendar-alert:before{content:"󰨱"}.mdi-calendar-alert-outline:before{content:"󱭢"}.mdi-calendar-arrow-left:before{content:"󱄴"}.mdi-calendar-arrow-right:before{content:"󱄵"}.mdi-calendar-badge:before{content:"󱮝"}.mdi-calendar-badge-outline:before{content:"󱮞"}.mdi-calendar-blank:before{content:"󰃮"}.mdi-calendar-blank-multiple:before{content:"󱁳"}.mdi-calendar-blank-outline:before{content:"󰭦"}.mdi-calendar-check:before{content:"󰃯"}.mdi-calendar-check-outline:before{content:"󰱄"}.mdi-calendar-clock:before{content:"󰃰"}.mdi-calendar-clock-outline:before{content:"󱛡"}.mdi-calendar-collapse-horizontal:before{content:"󱢝"}.mdi-calendar-collapse-horizontal-outline:before{content:"󱭣"}.mdi-calendar-cursor:before{content:"󱕻"}.mdi-calendar-cursor-outline:before{content:"󱭤"}.mdi-calendar-edit:before{content:"󰢧"}.mdi-calendar-edit-outline:before{content:"󱭥"}.mdi-calendar-end:before{content:"󱙬"}.mdi-calendar-end-outline:before{content:"󱭦"}.mdi-calendar-expand-horizontal:before{content:"󱢞"}.mdi-calendar-expand-horizontal-outline:before{content:"󱭧"}.mdi-calendar-export:before{content:"󰬤"}.mdi-calendar-export-outline:before{content:"󱭨"}.mdi-calendar-filter:before{content:"󱨲"}.mdi-calendar-filter-outline:before{content:"󱨳"}.mdi-calendar-heart:before{content:"󰧒"}.mdi-calendar-heart-outline:before{content:"󱭩"}.mdi-calendar-import:before{content:"󰬥"}.mdi-calendar-import-outline:before{content:"󱭪"}.mdi-calendar-lock:before{content:"󱙁"}.mdi-calendar-lock-open:before{content:"󱭛"}.mdi-calendar-lock-open-outline:before{content:"󱭜"}.mdi-calendar-lock-outline:before{content:"󱙂"}.mdi-calendar-minus:before{content:"󰵜"}.mdi-calendar-minus-outline:before{content:"󱭫"}.mdi-calendar-month:before{content:"󰸗"}.mdi-calendar-month-outline:before{content:"󰸘"}.mdi-calendar-multiple:before{content:"󰃱"}.mdi-calendar-multiple-check:before{content:"󰃲"}.mdi-calendar-multiselect:before{content:"󰨲"}.mdi-calendar-multiselect-outline:before{content:"󱭕"}.mdi-calendar-outline:before{content:"󰭧"}.mdi-calendar-plus:before{content:"󰃳"}.mdi-calendar-plus-outline:before{content:"󱭬"}.mdi-calendar-question:before{content:"󰚒"}.mdi-calendar-question-outline:before{content:"󱭭"}.mdi-calendar-range:before{content:"󰙹"}.mdi-calendar-range-outline:before{content:"󰭨"}.mdi-calendar-refresh:before{content:"󰇡"}.mdi-calendar-refresh-outline:before{content:"󰈃"}.mdi-calendar-remove:before{content:"󰃴"}.mdi-calendar-remove-outline:before{content:"󰱅"}.mdi-calendar-search:before{content:"󰥌"}.mdi-calendar-search-outline:before{content:"󱭮"}.mdi-calendar-star:before{content:"󰧓"}.mdi-calendar-star-four-points:before{content:"󱰟"}.mdi-calendar-star-outline:before{content:"󱭓"}.mdi-calendar-start:before{content:"󱙭"}.mdi-calendar-start-outline:before{content:"󱭯"}.mdi-calendar-sync:before{content:"󰺎"}.mdi-calendar-sync-outline:before{content:"󰺏"}.mdi-calendar-text:before{content:"󰃵"}.mdi-calendar-text-outline:before{content:"󰱆"}.mdi-calendar-today:before{content:"󰃶"}.mdi-calendar-today-outline:before{content:"󱨰"}.mdi-calendar-week:before{content:"󰨳"}.mdi-calendar-week-begin:before{content:"󰨴"}.mdi-calendar-week-begin-outline:before{content:"󱨱"}.mdi-calendar-week-outline:before{content:"󱨴"}.mdi-calendar-weekend:before{content:"󰻙"}.mdi-calendar-weekend-outline:before{content:"󰻚"}.mdi-call-made:before{content:"󰃷"}.mdi-call-merge:before{content:"󰃸"}.mdi-call-missed:before{content:"󰃹"}.mdi-call-received:before{content:"󰃺"}.mdi-call-split:before{content:"󰃻"}.mdi-camcorder:before{content:"󰃼"}.mdi-camcorder-off:before{content:"󰃿"}.mdi-camera:before{content:"󰄀"}.mdi-camera-account:before{content:"󰣋"}.mdi-camera-burst:before{content:"󰚓"}.mdi-camera-control:before{content:"󰭩"}.mdi-camera-document:before{content:"󱡱"}.mdi-camera-document-off:before{content:"󱡲"}.mdi-camera-enhance:before{content:"󰄁"}.mdi-camera-enhance-outline:before{content:"󰭪"}.mdi-camera-flip:before{content:"󱗙"}.mdi-camera-flip-outline:before{content:"󱗚"}.mdi-camera-front:before{content:"󰄂"}.mdi-camera-front-variant:before{content:"󰄃"}.mdi-camera-gopro:before{content:"󰞡"}.mdi-camera-image:before{content:"󰣌"}.mdi-camera-iris:before{content:"󰄄"}.mdi-camera-lock:before{content:"󱨔"}.mdi-camera-lock-open:before{content:"󱰍"}.mdi-camera-lock-open-outline:before{content:"󱰎"}.mdi-camera-lock-outline:before{content:"󱨕"}.mdi-camera-marker:before{content:"󱦧"}.mdi-camera-marker-outline:before{content:"󱦨"}.mdi-camera-metering-center:before{content:"󰞢"}.mdi-camera-metering-matrix:before{content:"󰞣"}.mdi-camera-metering-partial:before{content:"󰞤"}.mdi-camera-metering-spot:before{content:"󰞥"}.mdi-camera-off:before{content:"󰗟"}.mdi-camera-off-outline:before{content:"󱦿"}.mdi-camera-outline:before{content:"󰵝"}.mdi-camera-party-mode:before{content:"󰄅"}.mdi-camera-plus:before{content:"󰻛"}.mdi-camera-plus-outline:before{content:"󰻜"}.mdi-camera-rear:before{content:"󰄆"}.mdi-camera-rear-variant:before{content:"󰄇"}.mdi-camera-retake:before{content:"󰸙"}.mdi-camera-retake-outline:before{content:"󰸚"}.mdi-camera-switch:before{content:"󰄈"}.mdi-camera-switch-outline:before{content:"󰡊"}.mdi-camera-timer:before{content:"󰄉"}.mdi-camera-wireless:before{content:"󰶶"}.mdi-camera-wireless-outline:before{content:"󰶷"}.mdi-campfire:before{content:"󰻝"}.mdi-cancel:before{content:"󰜺"}.mdi-candelabra:before{content:"󱟒"}.mdi-candelabra-fire:before{content:"󱟓"}.mdi-candle:before{content:"󰗢"}.mdi-candy:before{content:"󱥰"}.mdi-candy-off:before{content:"󱥱"}.mdi-candy-off-outline:before{content:"󱥲"}.mdi-candy-outline:before{content:"󱥳"}.mdi-candycane:before{content:"󰄊"}.mdi-cannabis:before{content:"󰞦"}.mdi-cannabis-off:before{content:"󱙮"}.mdi-caps-lock:before{content:"󰪛"}.mdi-car:before{content:"󰄋"}.mdi-car-2-plus:before{content:"󱀕"}.mdi-car-3-plus:before{content:"󱀖"}.mdi-car-arrow-left:before{content:"󱎲"}.mdi-car-arrow-right:before{content:"󱎳"}.mdi-car-back:before{content:"󰸛"}.mdi-car-battery:before{content:"󰄌"}.mdi-car-brake-abs:before{content:"󰱇"}.mdi-car-brake-alert:before{content:"󰱈"}.mdi-car-brake-fluid-level:before{content:"󱤉"}.mdi-car-brake-hold:before{content:"󰵞"}.mdi-car-brake-low-pressure:before{content:"󱤊"}.mdi-car-brake-parking:before{content:"󰵟"}.mdi-car-brake-retarder:before{content:"󱀗"}.mdi-car-brake-temperature:before{content:"󱤋"}.mdi-car-brake-worn-linings:before{content:"󱤌"}.mdi-car-child-seat:before{content:"󰾣"}.mdi-car-clock:before{content:"󱥴"}.mdi-car-clutch:before{content:"󱀘"}.mdi-car-cog:before{content:"󱏌"}.mdi-car-connected:before{content:"󰄍"}.mdi-car-convertible:before{content:"󰞧"}.mdi-car-coolant-level:before{content:"󱀙"}.mdi-car-cruise-control:before{content:"󰵠"}.mdi-car-defrost-front:before{content:"󰵡"}.mdi-car-defrost-rear:before{content:"󰵢"}.mdi-car-door:before{content:"󰭫"}.mdi-car-door-lock:before{content:"󱂝"}.mdi-car-electric:before{content:"󰭬"}.mdi-car-electric-outline:before{content:"󱖵"}.mdi-car-emergency:before{content:"󱘏"}.mdi-car-esp:before{content:"󰱉"}.mdi-car-estate:before{content:"󰞨"}.mdi-car-hatchback:before{content:"󰞩"}.mdi-car-info:before{content:"󱆾"}.mdi-car-key:before{content:"󰭭"}.mdi-car-lifted-pickup:before{content:"󱔭"}.mdi-car-light-alert:before{content:"󱤍"}.mdi-car-light-dimmed:before{content:"󰱊"}.mdi-car-light-fog:before{content:"󰱋"}.mdi-car-light-high:before{content:"󰱌"}.mdi-car-limousine:before{content:"󰣍"}.mdi-car-multiple:before{content:"󰭮"}.mdi-car-off:before{content:"󰸜"}.mdi-car-outline:before{content:"󱓭"}.mdi-car-parking-lights:before{content:"󰵣"}.mdi-car-pickup:before{content:"󰞪"}.mdi-car-search:before{content:"󱮍"}.mdi-car-search-outline:before{content:"󱮎"}.mdi-car-seat:before{content:"󰾤"}.mdi-car-seat-cooler:before{content:"󰾥"}.mdi-car-seat-heater:before{content:"󰾦"}.mdi-car-select:before{content:"󱡹"}.mdi-car-settings:before{content:"󱏍"}.mdi-car-shift-pattern:before{content:"󰽀"}.mdi-car-side:before{content:"󰞫"}.mdi-car-speed-limiter:before{content:"󱤎"}.mdi-car-sports:before{content:"󰞬"}.mdi-car-tire-alert:before{content:"󰱍"}.mdi-car-traction-control:before{content:"󰵤"}.mdi-car-turbocharger:before{content:"󱀚"}.mdi-car-wash:before{content:"󰄎"}.mdi-car-windshield:before{content:"󱀛"}.mdi-car-windshield-outline:before{content:"󱀜"}.mdi-car-wireless:before{content:"󱡸"}.mdi-car-wrench:before{content:"󱠔"}.mdi-carabiner:before{content:"󱓀"}.mdi-caravan:before{content:"󰞭"}.mdi-card:before{content:"󰭯"}.mdi-card-account-details:before{content:"󰗒"}.mdi-card-account-details-outline:before{content:"󰶫"}.mdi-card-account-details-star:before{content:"󰊣"}.mdi-card-account-details-star-outline:before{content:"󰛛"}.mdi-card-account-mail:before{content:"󰆎"}.mdi-card-account-mail-outline:before{content:"󰺘"}.mdi-card-account-phone:before{content:"󰺙"}.mdi-card-account-phone-outline:before{content:"󰺚"}.mdi-card-bulleted:before{content:"󰭰"}.mdi-card-bulleted-off:before{content:"󰭱"}.mdi-card-bulleted-off-outline:before{content:"󰭲"}.mdi-card-bulleted-outline:before{content:"󰭳"}.mdi-card-bulleted-settings:before{content:"󰭴"}.mdi-card-bulleted-settings-outline:before{content:"󰭵"}.mdi-card-minus:before{content:"󱘀"}.mdi-card-minus-outline:before{content:"󱘁"}.mdi-card-multiple:before{content:"󱟱"}.mdi-card-multiple-outline:before{content:"󱟲"}.mdi-card-off:before{content:"󱘂"}.mdi-card-off-outline:before{content:"󱘃"}.mdi-card-outline:before{content:"󰭶"}.mdi-card-plus:before{content:"󱇿"}.mdi-card-plus-outline:before{content:"󱈀"}.mdi-card-remove:before{content:"󱘄"}.mdi-card-remove-outline:before{content:"󱘅"}.mdi-card-search:before{content:"󱁴"}.mdi-card-search-outline:before{content:"󱁵"}.mdi-card-text:before{content:"󰭷"}.mdi-card-text-outline:before{content:"󰭸"}.mdi-cards:before{content:"󰘸"}.mdi-cards-club:before{content:"󰣎"}.mdi-cards-club-outline:before{content:"󱢟"}.mdi-cards-diamond:before{content:"󰣏"}.mdi-cards-diamond-outline:before{content:"󱀝"}.mdi-cards-heart:before{content:"󰣐"}.mdi-cards-heart-outline:before{content:"󱢠"}.mdi-cards-outline:before{content:"󰘹"}.mdi-cards-playing:before{content:"󱢡"}.mdi-cards-playing-club:before{content:"󱢢"}.mdi-cards-playing-club-multiple:before{content:"󱢣"}.mdi-cards-playing-club-multiple-outline:before{content:"󱢤"}.mdi-cards-playing-club-outline:before{content:"󱢥"}.mdi-cards-playing-diamond:before{content:"󱢦"}.mdi-cards-playing-diamond-multiple:before{content:"󱢧"}.mdi-cards-playing-diamond-multiple-outline:before{content:"󱢨"}.mdi-cards-playing-diamond-outline:before{content:"󱢩"}.mdi-cards-playing-heart:before{content:"󱢪"}.mdi-cards-playing-heart-multiple:before{content:"󱢫"}.mdi-cards-playing-heart-multiple-outline:before{content:"󱢬"}.mdi-cards-playing-heart-outline:before{content:"󱢭"}.mdi-cards-playing-outline:before{content:"󰘺"}.mdi-cards-playing-spade:before{content:"󱢮"}.mdi-cards-playing-spade-multiple:before{content:"󱢯"}.mdi-cards-playing-spade-multiple-outline:before{content:"󱢰"}.mdi-cards-playing-spade-outline:before{content:"󱢱"}.mdi-cards-spade:before{content:"󰣑"}.mdi-cards-spade-outline:before{content:"󱢲"}.mdi-cards-variant:before{content:"󰛇"}.mdi-carrot:before{content:"󰄏"}.mdi-cart:before{content:"󰄐"}.mdi-cart-arrow-down:before{content:"󰵦"}.mdi-cart-arrow-right:before{content:"󰱎"}.mdi-cart-arrow-up:before{content:"󰵧"}.mdi-cart-check:before{content:"󱗪"}.mdi-cart-heart:before{content:"󱣠"}.mdi-cart-minus:before{content:"󰵨"}.mdi-cart-off:before{content:"󰙫"}.mdi-cart-outline:before{content:"󰄑"}.mdi-cart-percent:before{content:"󱮮"}.mdi-cart-plus:before{content:"󰄒"}.mdi-cart-remove:before{content:"󰵩"}.mdi-cart-variant:before{content:"󱗫"}.mdi-case-sensitive-alt:before{content:"󰄓"}.mdi-cash:before{content:"󰄔"}.mdi-cash-100:before{content:"󰄕"}.mdi-cash-check:before{content:"󱓮"}.mdi-cash-clock:before{content:"󱪑"}.mdi-cash-fast:before{content:"󱡜"}.mdi-cash-lock:before{content:"󱓪"}.mdi-cash-lock-open:before{content:"󱓫"}.mdi-cash-marker:before{content:"󰶸"}.mdi-cash-minus:before{content:"󱉠"}.mdi-cash-multiple:before{content:"󰄖"}.mdi-cash-off:before{content:"󱱹"}.mdi-cash-plus:before{content:"󱉡"}.mdi-cash-refund:before{content:"󰪜"}.mdi-cash-register:before{content:"󰳴"}.mdi-cash-remove:before{content:"󱉢"}.mdi-cash-sync:before{content:"󱪒"}.mdi-cassette:before{content:"󰧔"}.mdi-cast:before{content:"󰄘"}.mdi-cast-audio:before{content:"󱀞"}.mdi-cast-audio-variant:before{content:"󱝉"}.mdi-cast-connected:before{content:"󰄙"}.mdi-cast-education:before{content:"󰸝"}.mdi-cast-off:before{content:"󰞊"}.mdi-cast-variant:before{content:"󰀟"}.mdi-castle:before{content:"󰄚"}.mdi-cat:before{content:"󰄛"}.mdi-cctv:before{content:"󰞮"}.mdi-cctv-off:before{content:"󱡟"}.mdi-ceiling-fan:before{content:"󱞗"}.mdi-ceiling-fan-light:before{content:"󱞘"}.mdi-ceiling-light:before{content:"󰝩"}.mdi-ceiling-light-multiple:before{content:"󱣝"}.mdi-ceiling-light-multiple-outline:before{content:"󱣞"}.mdi-ceiling-light-outline:before{content:"󱟇"}.mdi-cellphone:before{content:"󰄜"}.mdi-cellphone-arrow-down:before{content:"󰧕"}.mdi-cellphone-arrow-down-variant:before{content:"󱧅"}.mdi-cellphone-basic:before{content:"󰄞"}.mdi-cellphone-charging:before{content:"󱎗"}.mdi-cellphone-check:before{content:"󱟽"}.mdi-cellphone-cog:before{content:"󰥑"}.mdi-cellphone-dock:before{content:"󰄟"}.mdi-cellphone-information:before{content:"󰽁"}.mdi-cellphone-key:before{content:"󰥎"}.mdi-cellphone-link:before{content:"󰄡"}.mdi-cellphone-link-off:before{content:"󰄢"}.mdi-cellphone-lock:before{content:"󰥏"}.mdi-cellphone-marker:before{content:"󱠺"}.mdi-cellphone-message:before{content:"󰣓"}.mdi-cellphone-message-off:before{content:"󱃒"}.mdi-cellphone-nfc:before{content:"󰺐"}.mdi-cellphone-nfc-off:before{content:"󱋘"}.mdi-cellphone-off:before{content:"󰥐"}.mdi-cellphone-play:before{content:"󱀟"}.mdi-cellphone-remove:before{content:"󰥍"}.mdi-cellphone-screenshot:before{content:"󰨵"}.mdi-cellphone-settings:before{content:"󰄣"}.mdi-cellphone-sound:before{content:"󰥒"}.mdi-cellphone-text:before{content:"󰣒"}.mdi-cellphone-wireless:before{content:"󰠕"}.mdi-centos:before{content:"󱄚"}.mdi-certificate:before{content:"󰄤"}.mdi-certificate-outline:before{content:"󱆈"}.mdi-chair-rolling:before{content:"󰽈"}.mdi-chair-school:before{content:"󰄥"}.mdi-chandelier:before{content:"󱞓"}.mdi-charity:before{content:"󰱏"}.mdi-chart-arc:before{content:"󰄦"}.mdi-chart-areaspline:before{content:"󰄧"}.mdi-chart-areaspline-variant:before{content:"󰺑"}.mdi-chart-bar:before{content:"󰄨"}.mdi-chart-bar-stacked:before{content:"󰝪"}.mdi-chart-bell-curve:before{content:"󰱐"}.mdi-chart-bell-curve-cumulative:before{content:"󰾧"}.mdi-chart-box:before{content:"󱕍"}.mdi-chart-box-outline:before{content:"󱕎"}.mdi-chart-box-plus-outline:before{content:"󱕏"}.mdi-chart-bubble:before{content:"󰗣"}.mdi-chart-donut:before{content:"󰞯"}.mdi-chart-donut-variant:before{content:"󰞰"}.mdi-chart-gantt:before{content:"󰙬"}.mdi-chart-histogram:before{content:"󰄩"}.mdi-chart-line:before{content:"󰄪"}.mdi-chart-line-stacked:before{content:"󰝫"}.mdi-chart-line-variant:before{content:"󰞱"}.mdi-chart-multiline:before{content:"󰣔"}.mdi-chart-multiple:before{content:"󱈓"}.mdi-chart-pie:before{content:"󰄫"}.mdi-chart-pie-outline:before{content:"󱯟"}.mdi-chart-ppf:before{content:"󱎀"}.mdi-chart-sankey:before{content:"󱇟"}.mdi-chart-sankey-variant:before{content:"󱇠"}.mdi-chart-scatter-plot:before{content:"󰺒"}.mdi-chart-scatter-plot-hexbin:before{content:"󰙭"}.mdi-chart-timeline:before{content:"󰙮"}.mdi-chart-timeline-variant:before{content:"󰺓"}.mdi-chart-timeline-variant-shimmer:before{content:"󱖶"}.mdi-chart-tree:before{content:"󰺔"}.mdi-chart-waterfall:before{content:"󱤘"}.mdi-chat:before{content:"󰭹"}.mdi-chat-alert:before{content:"󰭺"}.mdi-chat-alert-outline:before{content:"󱋉"}.mdi-chat-minus:before{content:"󱐐"}.mdi-chat-minus-outline:before{content:"󱐓"}.mdi-chat-outline:before{content:"󰻞"}.mdi-chat-plus:before{content:"󱐏"}.mdi-chat-plus-outline:before{content:"󱐒"}.mdi-chat-processing:before{content:"󰭻"}.mdi-chat-processing-outline:before{content:"󱋊"}.mdi-chat-question:before{content:"󱜸"}.mdi-chat-question-outline:before{content:"󱜹"}.mdi-chat-remove:before{content:"󱐑"}.mdi-chat-remove-outline:before{content:"󱐔"}.mdi-chat-sleep:before{content:"󱋑"}.mdi-chat-sleep-outline:before{content:"󱋒"}.mdi-check:before{content:"󰄬"}.mdi-check-all:before{content:"󰄭"}.mdi-check-bold:before{content:"󰸞"}.mdi-check-circle:before{content:"󰗠"}.mdi-check-circle-outline:before{content:"󰗡"}.mdi-check-decagram:before{content:"󰞑"}.mdi-check-decagram-outline:before{content:"󱝀"}.mdi-check-network:before{content:"󰱓"}.mdi-check-network-outline:before{content:"󰱔"}.mdi-check-outline:before{content:"󰡕"}.mdi-check-underline:before{content:"󰸟"}.mdi-check-underline-circle:before{content:"󰸠"}.mdi-check-underline-circle-outline:before{content:"󰸡"}.mdi-checkbook:before{content:"󰪝"}.mdi-checkbook-arrow-left:before{content:"󱰝"}.mdi-checkbook-arrow-right:before{content:"󱰞"}.mdi-checkbox-blank:before{content:"󰄮"}.mdi-checkbox-blank-badge:before{content:"󱅶"}.mdi-checkbox-blank-badge-outline:before{content:"󰄗"}.mdi-checkbox-blank-circle:before{content:"󰄯"}.mdi-checkbox-blank-circle-outline:before{content:"󰄰"}.mdi-checkbox-blank-off:before{content:"󱋬"}.mdi-checkbox-blank-off-outline:before{content:"󱋭"}.mdi-checkbox-blank-outline:before{content:"󰄱"}.mdi-checkbox-intermediate:before{content:"󰡖"}.mdi-checkbox-intermediate-variant:before{content:"󱭔"}.mdi-checkbox-marked:before{content:"󰄲"}.mdi-checkbox-marked-circle:before{content:"󰄳"}.mdi-checkbox-marked-circle-auto-outline:before{content:"󱰦"}.mdi-checkbox-marked-circle-minus-outline:before{content:"󱰧"}.mdi-checkbox-marked-circle-outline:before{content:"󰄴"}.mdi-checkbox-marked-circle-plus-outline:before{content:"󱤧"}.mdi-checkbox-marked-outline:before{content:"󰄵"}.mdi-checkbox-multiple-blank:before{content:"󰄶"}.mdi-checkbox-multiple-blank-circle:before{content:"󰘻"}.mdi-checkbox-multiple-blank-circle-outline:before{content:"󰘼"}.mdi-checkbox-multiple-blank-outline:before{content:"󰄷"}.mdi-checkbox-multiple-marked:before{content:"󰄸"}.mdi-checkbox-multiple-marked-circle:before{content:"󰘽"}.mdi-checkbox-multiple-marked-circle-outline:before{content:"󰘾"}.mdi-checkbox-multiple-marked-outline:before{content:"󰄹"}.mdi-checkbox-multiple-outline:before{content:"󰱑"}.mdi-checkbox-outline:before{content:"󰱒"}.mdi-checkerboard:before{content:"󰄺"}.mdi-checkerboard-minus:before{content:"󱈂"}.mdi-checkerboard-plus:before{content:"󱈁"}.mdi-checkerboard-remove:before{content:"󱈃"}.mdi-cheese:before{content:"󱊹"}.mdi-cheese-off:before{content:"󱏮"}.mdi-chef-hat:before{content:"󰭼"}.mdi-chemical-weapon:before{content:"󰄻"}.mdi-chess-bishop:before{content:"󰡜"}.mdi-chess-king:before{content:"󰡗"}.mdi-chess-knight:before{content:"󰡘"}.mdi-chess-pawn:before{content:"󰡙"}.mdi-chess-queen:before{content:"󰡚"}.mdi-chess-rook:before{content:"󰡛"}.mdi-chevron-double-down:before{content:"󰄼"}.mdi-chevron-double-left:before{content:"󰄽"}.mdi-chevron-double-right:before{content:"󰄾"}.mdi-chevron-double-up:before{content:"󰄿"}.mdi-chevron-down:before{content:"󰅀"}.mdi-chevron-down-box:before{content:"󰧖"}.mdi-chevron-down-box-outline:before{content:"󰧗"}.mdi-chevron-down-circle:before{content:"󰬦"}.mdi-chevron-down-circle-outline:before{content:"󰬧"}.mdi-chevron-left:before{content:"󰅁"}.mdi-chevron-left-box:before{content:"󰧘"}.mdi-chevron-left-box-outline:before{content:"󰧙"}.mdi-chevron-left-circle:before{content:"󰬨"}.mdi-chevron-left-circle-outline:before{content:"󰬩"}.mdi-chevron-right:before{content:"󰅂"}.mdi-chevron-right-box:before{content:"󰧚"}.mdi-chevron-right-box-outline:before{content:"󰧛"}.mdi-chevron-right-circle:before{content:"󰬪"}.mdi-chevron-right-circle-outline:before{content:"󰬫"}.mdi-chevron-triple-down:before{content:"󰶹"}.mdi-chevron-triple-left:before{content:"󰶺"}.mdi-chevron-triple-right:before{content:"󰶻"}.mdi-chevron-triple-up:before{content:"󰶼"}.mdi-chevron-up:before{content:"󰅃"}.mdi-chevron-up-box:before{content:"󰧜"}.mdi-chevron-up-box-outline:before{content:"󰧝"}.mdi-chevron-up-circle:before{content:"󰬬"}.mdi-chevron-up-circle-outline:before{content:"󰬭"}.mdi-chili-alert:before{content:"󱟪"}.mdi-chili-alert-outline:before{content:"󱟫"}.mdi-chili-hot:before{content:"󰞲"}.mdi-chili-hot-outline:before{content:"󱟬"}.mdi-chili-medium:before{content:"󰞳"}.mdi-chili-medium-outline:before{content:"󱟭"}.mdi-chili-mild:before{content:"󰞴"}.mdi-chili-mild-outline:before{content:"󱟮"}.mdi-chili-off:before{content:"󱑧"}.mdi-chili-off-outline:before{content:"󱟯"}.mdi-chip:before{content:"󰘚"}.mdi-church:before{content:"󰅄"}.mdi-church-outline:before{content:"󱬂"}.mdi-cigar:before{content:"󱆉"}.mdi-cigar-off:before{content:"󱐛"}.mdi-circle:before{content:"󰝥"}.mdi-circle-box:before{content:"󱗜"}.mdi-circle-box-outline:before{content:"󱗝"}.mdi-circle-double:before{content:"󰺕"}.mdi-circle-edit-outline:before{content:"󰣕"}.mdi-circle-expand:before{content:"󰺖"}.mdi-circle-half:before{content:"󱎕"}.mdi-circle-half-full:before{content:"󱎖"}.mdi-circle-medium:before{content:"󰧞"}.mdi-circle-multiple:before{content:"󰬸"}.mdi-circle-multiple-outline:before{content:"󰚕"}.mdi-circle-off-outline:before{content:"󱃓"}.mdi-circle-opacity:before{content:"󱡓"}.mdi-circle-outline:before{content:"󰝦"}.mdi-circle-slice-1:before{content:"󰪞"}.mdi-circle-slice-2:before{content:"󰪟"}.mdi-circle-slice-3:before{content:"󰪠"}.mdi-circle-slice-4:before{content:"󰪡"}.mdi-circle-slice-5:before{content:"󰪢"}.mdi-circle-slice-6:before{content:"󰪣"}.mdi-circle-slice-7:before{content:"󰪤"}.mdi-circle-slice-8:before{content:"󰪥"}.mdi-circle-small:before{content:"󰧟"}.mdi-circular-saw:before{content:"󰸢"}.mdi-city:before{content:"󰅆"}.mdi-city-switch:before{content:"󱰨"}.mdi-city-variant:before{content:"󰨶"}.mdi-city-variant-outline:before{content:"󰨷"}.mdi-clipboard:before{content:"󰅇"}.mdi-clipboard-account:before{content:"󰅈"}.mdi-clipboard-account-outline:before{content:"󰱕"}.mdi-clipboard-alert:before{content:"󰅉"}.mdi-clipboard-alert-outline:before{content:"󰳷"}.mdi-clipboard-arrow-down:before{content:"󰅊"}.mdi-clipboard-arrow-down-outline:before{content:"󰱖"}.mdi-clipboard-arrow-left:before{content:"󰅋"}.mdi-clipboard-arrow-left-outline:before{content:"󰳸"}.mdi-clipboard-arrow-right:before{content:"󰳹"}.mdi-clipboard-arrow-right-outline:before{content:"󰳺"}.mdi-clipboard-arrow-up:before{content:"󰱗"}.mdi-clipboard-arrow-up-outline:before{content:"󰱘"}.mdi-clipboard-check:before{content:"󰅎"}.mdi-clipboard-check-multiple:before{content:"󱉣"}.mdi-clipboard-check-multiple-outline:before{content:"󱉤"}.mdi-clipboard-check-outline:before{content:"󰢨"}.mdi-clipboard-clock:before{content:"󱛢"}.mdi-clipboard-clock-outline:before{content:"󱛣"}.mdi-clipboard-edit:before{content:"󱓥"}.mdi-clipboard-edit-outline:before{content:"󱓦"}.mdi-clipboard-file:before{content:"󱉥"}.mdi-clipboard-file-outline:before{content:"󱉦"}.mdi-clipboard-flow:before{content:"󰛈"}.mdi-clipboard-flow-outline:before{content:"󱄗"}.mdi-clipboard-list:before{content:"󱃔"}.mdi-clipboard-list-outline:before{content:"󱃕"}.mdi-clipboard-minus:before{content:"󱘘"}.mdi-clipboard-minus-outline:before{content:"󱘙"}.mdi-clipboard-multiple:before{content:"󱉧"}.mdi-clipboard-multiple-outline:before{content:"󱉨"}.mdi-clipboard-off:before{content:"󱘚"}.mdi-clipboard-off-outline:before{content:"󱘛"}.mdi-clipboard-outline:before{content:"󰅌"}.mdi-clipboard-play:before{content:"󰱙"}.mdi-clipboard-play-multiple:before{content:"󱉩"}.mdi-clipboard-play-multiple-outline:before{content:"󱉪"}.mdi-clipboard-play-outline:before{content:"󰱚"}.mdi-clipboard-plus:before{content:"󰝑"}.mdi-clipboard-plus-outline:before{content:"󱌟"}.mdi-clipboard-pulse:before{content:"󰡝"}.mdi-clipboard-pulse-outline:before{content:"󰡞"}.mdi-clipboard-remove:before{content:"󱘜"}.mdi-clipboard-remove-outline:before{content:"󱘝"}.mdi-clipboard-search:before{content:"󱘞"}.mdi-clipboard-search-outline:before{content:"󱘟"}.mdi-clipboard-text:before{content:"󰅍"}.mdi-clipboard-text-clock:before{content:"󱣹"}.mdi-clipboard-text-clock-outline:before{content:"󱣺"}.mdi-clipboard-text-multiple:before{content:"󱉫"}.mdi-clipboard-text-multiple-outline:before{content:"󱉬"}.mdi-clipboard-text-off:before{content:"󱘠"}.mdi-clipboard-text-off-outline:before{content:"󱘡"}.mdi-clipboard-text-outline:before{content:"󰨸"}.mdi-clipboard-text-play:before{content:"󰱛"}.mdi-clipboard-text-play-outline:before{content:"󰱜"}.mdi-clipboard-text-search:before{content:"󱘢"}.mdi-clipboard-text-search-outline:before{content:"󱘣"}.mdi-clippy:before{content:"󰅏"}.mdi-clock:before{content:"󰥔"}.mdi-clock-alert:before{content:"󰥕"}.mdi-clock-alert-outline:before{content:"󰗎"}.mdi-clock-check:before{content:"󰾨"}.mdi-clock-check-outline:before{content:"󰾩"}.mdi-clock-digital:before{content:"󰺗"}.mdi-clock-edit:before{content:"󱦺"}.mdi-clock-edit-outline:before{content:"󱦻"}.mdi-clock-end:before{content:"󰅑"}.mdi-clock-fast:before{content:"󰅒"}.mdi-clock-in:before{content:"󰅓"}.mdi-clock-minus:before{content:"󱡣"}.mdi-clock-minus-outline:before{content:"󱡤"}.mdi-clock-out:before{content:"󰅔"}.mdi-clock-outline:before{content:"󰅐"}.mdi-clock-plus:before{content:"󱡡"}.mdi-clock-plus-outline:before{content:"󱡢"}.mdi-clock-remove:before{content:"󱡥"}.mdi-clock-remove-outline:before{content:"󱡦"}.mdi-clock-star-four-points:before{content:"󱰩"}.mdi-clock-star-four-points-outline:before{content:"󱰪"}.mdi-clock-start:before{content:"󰅕"}.mdi-clock-time-eight:before{content:"󱑆"}.mdi-clock-time-eight-outline:before{content:"󱑒"}.mdi-clock-time-eleven:before{content:"󱑉"}.mdi-clock-time-eleven-outline:before{content:"󱑕"}.mdi-clock-time-five:before{content:"󱑃"}.mdi-clock-time-five-outline:before{content:"󱑏"}.mdi-clock-time-four:before{content:"󱑂"}.mdi-clock-time-four-outline:before{content:"󱑎"}.mdi-clock-time-nine:before{content:"󱑇"}.mdi-clock-time-nine-outline:before{content:"󱑓"}.mdi-clock-time-one:before{content:"󱐿"}.mdi-clock-time-one-outline:before{content:"󱑋"}.mdi-clock-time-seven:before{content:"󱑅"}.mdi-clock-time-seven-outline:before{content:"󱑑"}.mdi-clock-time-six:before{content:"󱑄"}.mdi-clock-time-six-outline:before{content:"󱑐"}.mdi-clock-time-ten:before{content:"󱑈"}.mdi-clock-time-ten-outline:before{content:"󱑔"}.mdi-clock-time-three:before{content:"󱑁"}.mdi-clock-time-three-outline:before{content:"󱑍"}.mdi-clock-time-twelve:before{content:"󱑊"}.mdi-clock-time-twelve-outline:before{content:"󱑖"}.mdi-clock-time-two:before{content:"󱑀"}.mdi-clock-time-two-outline:before{content:"󱑌"}.mdi-close:before{content:"󰅖"}.mdi-close-box:before{content:"󰅗"}.mdi-close-box-multiple:before{content:"󰱝"}.mdi-close-box-multiple-outline:before{content:"󰱞"}.mdi-close-box-outline:before{content:"󰅘"}.mdi-close-circle:before{content:"󰅙"}.mdi-close-circle-multiple:before{content:"󰘪"}.mdi-close-circle-multiple-outline:before{content:"󰢃"}.mdi-close-circle-outline:before{content:"󰅚"}.mdi-close-network:before{content:"󰅛"}.mdi-close-network-outline:before{content:"󰱟"}.mdi-close-octagon:before{content:"󰅜"}.mdi-close-octagon-outline:before{content:"󰅝"}.mdi-close-outline:before{content:"󰛉"}.mdi-close-thick:before{content:"󱎘"}.mdi-closed-caption:before{content:"󰅞"}.mdi-closed-caption-outline:before{content:"󰶽"}.mdi-cloud:before{content:"󰅟"}.mdi-cloud-alert:before{content:"󰧠"}.mdi-cloud-alert-outline:before{content:"󱯠"}.mdi-cloud-arrow-down:before{content:"󱯡"}.mdi-cloud-arrow-down-outline:before{content:"󱯢"}.mdi-cloud-arrow-left:before{content:"󱯣"}.mdi-cloud-arrow-left-outline:before{content:"󱯤"}.mdi-cloud-arrow-right:before{content:"󱯥"}.mdi-cloud-arrow-right-outline:before{content:"󱯦"}.mdi-cloud-arrow-up:before{content:"󱯧"}.mdi-cloud-arrow-up-outline:before{content:"󱯨"}.mdi-cloud-braces:before{content:"󰞵"}.mdi-cloud-cancel:before{content:"󱯩"}.mdi-cloud-cancel-outline:before{content:"󱯪"}.mdi-cloud-check:before{content:"󱯫"}.mdi-cloud-check-outline:before{content:"󱯬"}.mdi-cloud-check-variant:before{content:"󰅠"}.mdi-cloud-check-variant-outline:before{content:"󱋌"}.mdi-cloud-circle:before{content:"󰅡"}.mdi-cloud-circle-outline:before{content:"󱯭"}.mdi-cloud-clock:before{content:"󱯮"}.mdi-cloud-clock-outline:before{content:"󱯯"}.mdi-cloud-cog:before{content:"󱯰"}.mdi-cloud-cog-outline:before{content:"󱯱"}.mdi-cloud-download:before{content:"󰅢"}.mdi-cloud-download-outline:before{content:"󰭽"}.mdi-cloud-lock:before{content:"󱇱"}.mdi-cloud-lock-open:before{content:"󱯲"}.mdi-cloud-lock-open-outline:before{content:"󱯳"}.mdi-cloud-lock-outline:before{content:"󱇲"}.mdi-cloud-minus:before{content:"󱯴"}.mdi-cloud-minus-outline:before{content:"󱯵"}.mdi-cloud-off:before{content:"󱯶"}.mdi-cloud-off-outline:before{content:"󰅤"}.mdi-cloud-outline:before{content:"󰅣"}.mdi-cloud-percent:before{content:"󱨵"}.mdi-cloud-percent-outline:before{content:"󱨶"}.mdi-cloud-plus:before{content:"󱯷"}.mdi-cloud-plus-outline:before{content:"󱯸"}.mdi-cloud-print:before{content:"󰅥"}.mdi-cloud-print-outline:before{content:"󰅦"}.mdi-cloud-question:before{content:"󰨹"}.mdi-cloud-question-outline:before{content:"󱯹"}.mdi-cloud-refresh:before{content:"󱯺"}.mdi-cloud-refresh-outline:before{content:"󱯻"}.mdi-cloud-refresh-variant:before{content:"󰔪"}.mdi-cloud-refresh-variant-outline:before{content:"󱯼"}.mdi-cloud-remove:before{content:"󱯽"}.mdi-cloud-remove-outline:before{content:"󱯾"}.mdi-cloud-search:before{content:"󰥖"}.mdi-cloud-search-outline:before{content:"󰥗"}.mdi-cloud-sync:before{content:"󰘿"}.mdi-cloud-sync-outline:before{content:"󱋖"}.mdi-cloud-tags:before{content:"󰞶"}.mdi-cloud-upload:before{content:"󰅧"}.mdi-cloud-upload-outline:before{content:"󰭾"}.mdi-clouds:before{content:"󱮕"}.mdi-clover:before{content:"󰠖"}.mdi-clover-outline:before{content:"󱱢"}.mdi-coach-lamp:before{content:"󱀠"}.mdi-coach-lamp-variant:before{content:"󱨷"}.mdi-coat-rack:before{content:"󱂞"}.mdi-code-array:before{content:"󰅨"}.mdi-code-braces:before{content:"󰅩"}.mdi-code-braces-box:before{content:"󱃖"}.mdi-code-brackets:before{content:"󰅪"}.mdi-code-equal:before{content:"󰅫"}.mdi-code-greater-than:before{content:"󰅬"}.mdi-code-greater-than-or-equal:before{content:"󰅭"}.mdi-code-json:before{content:"󰘦"}.mdi-code-less-than:before{content:"󰅮"}.mdi-code-less-than-or-equal:before{content:"󰅯"}.mdi-code-not-equal:before{content:"󰅰"}.mdi-code-not-equal-variant:before{content:"󰅱"}.mdi-code-parentheses:before{content:"󰅲"}.mdi-code-parentheses-box:before{content:"󱃗"}.mdi-code-string:before{content:"󰅳"}.mdi-code-tags:before{content:"󰅴"}.mdi-code-tags-check:before{content:"󰚔"}.mdi-codepen:before{content:"󰅵"}.mdi-coffee:before{content:"󰅶"}.mdi-coffee-maker:before{content:"󱂟"}.mdi-coffee-maker-check:before{content:"󱤱"}.mdi-coffee-maker-check-outline:before{content:"󱤲"}.mdi-coffee-maker-outline:before{content:"󱠛"}.mdi-coffee-off:before{content:"󰾪"}.mdi-coffee-off-outline:before{content:"󰾫"}.mdi-coffee-outline:before{content:"󰛊"}.mdi-coffee-to-go:before{content:"󰅷"}.mdi-coffee-to-go-outline:before{content:"󱌎"}.mdi-coffin:before{content:"󰭿"}.mdi-cog:before{content:"󰒓"}.mdi-cog-box:before{content:"󰒔"}.mdi-cog-clockwise:before{content:"󱇝"}.mdi-cog-counterclockwise:before{content:"󱇞"}.mdi-cog-off:before{content:"󱏎"}.mdi-cog-off-outline:before{content:"󱏏"}.mdi-cog-outline:before{content:"󰢻"}.mdi-cog-pause:before{content:"󱤳"}.mdi-cog-pause-outline:before{content:"󱤴"}.mdi-cog-play:before{content:"󱤵"}.mdi-cog-play-outline:before{content:"󱤶"}.mdi-cog-refresh:before{content:"󱑞"}.mdi-cog-refresh-outline:before{content:"󱑟"}.mdi-cog-stop:before{content:"󱤷"}.mdi-cog-stop-outline:before{content:"󱤸"}.mdi-cog-sync:before{content:"󱑠"}.mdi-cog-sync-outline:before{content:"󱑡"}.mdi-cog-transfer:before{content:"󱁛"}.mdi-cog-transfer-outline:before{content:"󱁜"}.mdi-cogs:before{content:"󰣖"}.mdi-collage:before{content:"󰙀"}.mdi-collapse-all:before{content:"󰪦"}.mdi-collapse-all-outline:before{content:"󰪧"}.mdi-color-helper:before{content:"󰅹"}.mdi-comma:before{content:"󰸣"}.mdi-comma-box:before{content:"󰸫"}.mdi-comma-box-outline:before{content:"󰸤"}.mdi-comma-circle:before{content:"󰸥"}.mdi-comma-circle-outline:before{content:"󰸦"}.mdi-comment:before{content:"󰅺"}.mdi-comment-account:before{content:"󰅻"}.mdi-comment-account-outline:before{content:"󰅼"}.mdi-comment-alert:before{content:"󰅽"}.mdi-comment-alert-outline:before{content:"󰅾"}.mdi-comment-arrow-left:before{content:"󰧡"}.mdi-comment-arrow-left-outline:before{content:"󰧢"}.mdi-comment-arrow-right:before{content:"󰧣"}.mdi-comment-arrow-right-outline:before{content:"󰧤"}.mdi-comment-bookmark:before{content:"󱖮"}.mdi-comment-bookmark-outline:before{content:"󱖯"}.mdi-comment-check:before{content:"󰅿"}.mdi-comment-check-outline:before{content:"󰆀"}.mdi-comment-edit:before{content:"󱆿"}.mdi-comment-edit-outline:before{content:"󱋄"}.mdi-comment-eye:before{content:"󰨺"}.mdi-comment-eye-outline:before{content:"󰨻"}.mdi-comment-flash:before{content:"󱖰"}.mdi-comment-flash-outline:before{content:"󱖱"}.mdi-comment-minus:before{content:"󱗟"}.mdi-comment-minus-outline:before{content:"󱗠"}.mdi-comment-multiple:before{content:"󰡟"}.mdi-comment-multiple-outline:before{content:"󰆁"}.mdi-comment-off:before{content:"󱗡"}.mdi-comment-off-outline:before{content:"󱗢"}.mdi-comment-outline:before{content:"󰆂"}.mdi-comment-plus:before{content:"󰧥"}.mdi-comment-plus-outline:before{content:"󰆃"}.mdi-comment-processing:before{content:"󰆄"}.mdi-comment-processing-outline:before{content:"󰆅"}.mdi-comment-question:before{content:"󰠗"}.mdi-comment-question-outline:before{content:"󰆆"}.mdi-comment-quote:before{content:"󱀡"}.mdi-comment-quote-outline:before{content:"󱀢"}.mdi-comment-remove:before{content:"󰗞"}.mdi-comment-remove-outline:before{content:"󰆇"}.mdi-comment-search:before{content:"󰨼"}.mdi-comment-search-outline:before{content:"󰨽"}.mdi-comment-text:before{content:"󰆈"}.mdi-comment-text-multiple:before{content:"󰡠"}.mdi-comment-text-multiple-outline:before{content:"󰡡"}.mdi-comment-text-outline:before{content:"󰆉"}.mdi-compare:before{content:"󰆊"}.mdi-compare-horizontal:before{content:"󱒒"}.mdi-compare-remove:before{content:"󱢳"}.mdi-compare-vertical:before{content:"󱒓"}.mdi-compass:before{content:"󰆋"}.mdi-compass-off:before{content:"󰮀"}.mdi-compass-off-outline:before{content:"󰮁"}.mdi-compass-outline:before{content:"󰆌"}.mdi-compass-rose:before{content:"󱎂"}.mdi-compost:before{content:"󱨸"}.mdi-cone:before{content:"󱥌"}.mdi-cone-off:before{content:"󱥍"}.mdi-connection:before{content:"󱘖"}.mdi-console:before{content:"󰆍"}.mdi-console-line:before{content:"󰞷"}.mdi-console-network:before{content:"󰢩"}.mdi-console-network-outline:before{content:"󰱠"}.mdi-consolidate:before{content:"󱃘"}.mdi-contactless-payment:before{content:"󰵪"}.mdi-contactless-payment-circle:before{content:"󰌡"}.mdi-contactless-payment-circle-outline:before{content:"󰐈"}.mdi-contacts:before{content:"󰛋"}.mdi-contacts-outline:before{content:"󰖸"}.mdi-contain:before{content:"󰨾"}.mdi-contain-end:before{content:"󰨿"}.mdi-contain-start:before{content:"󰩀"}.mdi-content-copy:before{content:"󰆏"}.mdi-content-cut:before{content:"󰆐"}.mdi-content-duplicate:before{content:"󰆑"}.mdi-content-paste:before{content:"󰆒"}.mdi-content-save:before{content:"󰆓"}.mdi-content-save-alert:before{content:"󰽂"}.mdi-content-save-alert-outline:before{content:"󰽃"}.mdi-content-save-all:before{content:"󰆔"}.mdi-content-save-all-outline:before{content:"󰽄"}.mdi-content-save-check:before{content:"󱣪"}.mdi-content-save-check-outline:before{content:"󱣫"}.mdi-content-save-cog:before{content:"󱑛"}.mdi-content-save-cog-outline:before{content:"󱑜"}.mdi-content-save-edit:before{content:"󰳻"}.mdi-content-save-edit-outline:before{content:"󰳼"}.mdi-content-save-minus:before{content:"󱭃"}.mdi-content-save-minus-outline:before{content:"󱭄"}.mdi-content-save-move:before{content:"󰸧"}.mdi-content-save-move-outline:before{content:"󰸨"}.mdi-content-save-off:before{content:"󱙃"}.mdi-content-save-off-outline:before{content:"󱙄"}.mdi-content-save-outline:before{content:"󰠘"}.mdi-content-save-plus:before{content:"󱭁"}.mdi-content-save-plus-outline:before{content:"󱭂"}.mdi-content-save-settings:before{content:"󰘛"}.mdi-content-save-settings-outline:before{content:"󰬮"}.mdi-contrast:before{content:"󰆕"}.mdi-contrast-box:before{content:"󰆖"}.mdi-contrast-circle:before{content:"󰆗"}.mdi-controller:before{content:"󰊴"}.mdi-controller-classic:before{content:"󰮂"}.mdi-controller-classic-outline:before{content:"󰮃"}.mdi-controller-off:before{content:"󰊵"}.mdi-cookie:before{content:"󰆘"}.mdi-cookie-alert:before{content:"󱛐"}.mdi-cookie-alert-outline:before{content:"󱛑"}.mdi-cookie-check:before{content:"󱛒"}.mdi-cookie-check-outline:before{content:"󱛓"}.mdi-cookie-clock:before{content:"󱛤"}.mdi-cookie-clock-outline:before{content:"󱛥"}.mdi-cookie-cog:before{content:"󱛔"}.mdi-cookie-cog-outline:before{content:"󱛕"}.mdi-cookie-edit:before{content:"󱛦"}.mdi-cookie-edit-outline:before{content:"󱛧"}.mdi-cookie-lock:before{content:"󱛨"}.mdi-cookie-lock-outline:before{content:"󱛩"}.mdi-cookie-minus:before{content:"󱛚"}.mdi-cookie-minus-outline:before{content:"󱛛"}.mdi-cookie-off:before{content:"󱛪"}.mdi-cookie-off-outline:before{content:"󱛫"}.mdi-cookie-outline:before{content:"󱛞"}.mdi-cookie-plus:before{content:"󱛖"}.mdi-cookie-plus-outline:before{content:"󱛗"}.mdi-cookie-refresh:before{content:"󱛬"}.mdi-cookie-refresh-outline:before{content:"󱛭"}.mdi-cookie-remove:before{content:"󱛘"}.mdi-cookie-remove-outline:before{content:"󱛙"}.mdi-cookie-settings:before{content:"󱛜"}.mdi-cookie-settings-outline:before{content:"󱛝"}.mdi-coolant-temperature:before{content:"󰏈"}.mdi-copyleft:before{content:"󱤹"}.mdi-copyright:before{content:"󰗦"}.mdi-cordova:before{content:"󰥘"}.mdi-corn:before{content:"󰞸"}.mdi-corn-off:before{content:"󱏯"}.mdi-cosine-wave:before{content:"󱑹"}.mdi-counter:before{content:"󰆙"}.mdi-countertop:before{content:"󱠜"}.mdi-countertop-outline:before{content:"󱠝"}.mdi-cow:before{content:"󰆚"}.mdi-cow-off:before{content:"󱣼"}.mdi-cpu-32-bit:before{content:"󰻟"}.mdi-cpu-64-bit:before{content:"󰻠"}.mdi-cradle:before{content:"󱦋"}.mdi-cradle-outline:before{content:"󱦑"}.mdi-crane:before{content:"󰡢"}.mdi-creation:before{content:"󰙴"}.mdi-creation-outline:before{content:"󱰫"}.mdi-creative-commons:before{content:"󰵫"}.mdi-credit-card:before{content:"󰿯"}.mdi-credit-card-check:before{content:"󱏐"}.mdi-credit-card-check-outline:before{content:"󱏑"}.mdi-credit-card-chip:before{content:"󱤏"}.mdi-credit-card-chip-outline:before{content:"󱤐"}.mdi-credit-card-clock:before{content:"󰻡"}.mdi-credit-card-clock-outline:before{content:"󰻢"}.mdi-credit-card-edit:before{content:"󱟗"}.mdi-credit-card-edit-outline:before{content:"󱟘"}.mdi-credit-card-fast:before{content:"󱤑"}.mdi-credit-card-fast-outline:before{content:"󱤒"}.mdi-credit-card-lock:before{content:"󱣧"}.mdi-credit-card-lock-outline:before{content:"󱣨"}.mdi-credit-card-marker:before{content:"󰚨"}.mdi-credit-card-marker-outline:before{content:"󰶾"}.mdi-credit-card-minus:before{content:"󰾬"}.mdi-credit-card-minus-outline:before{content:"󰾭"}.mdi-credit-card-multiple:before{content:"󰿰"}.mdi-credit-card-multiple-outline:before{content:"󰆜"}.mdi-credit-card-off:before{content:"󰿱"}.mdi-credit-card-off-outline:before{content:"󰗤"}.mdi-credit-card-outline:before{content:"󰆛"}.mdi-credit-card-plus:before{content:"󰿲"}.mdi-credit-card-plus-outline:before{content:"󰙶"}.mdi-credit-card-refresh:before{content:"󱙅"}.mdi-credit-card-refresh-outline:before{content:"󱙆"}.mdi-credit-card-refund:before{content:"󰿳"}.mdi-credit-card-refund-outline:before{content:"󰪨"}.mdi-credit-card-remove:before{content:"󰾮"}.mdi-credit-card-remove-outline:before{content:"󰾯"}.mdi-credit-card-scan:before{content:"󰿴"}.mdi-credit-card-scan-outline:before{content:"󰆝"}.mdi-credit-card-search:before{content:"󱙇"}.mdi-credit-card-search-outline:before{content:"󱙈"}.mdi-credit-card-settings:before{content:"󰿵"}.mdi-credit-card-settings-outline:before{content:"󰣗"}.mdi-credit-card-sync:before{content:"󱙉"}.mdi-credit-card-sync-outline:before{content:"󱙊"}.mdi-credit-card-wireless:before{content:"󰠂"}.mdi-credit-card-wireless-off:before{content:"󰕺"}.mdi-credit-card-wireless-off-outline:before{content:"󰕻"}.mdi-credit-card-wireless-outline:before{content:"󰵬"}.mdi-cricket:before{content:"󰵭"}.mdi-crop:before{content:"󰆞"}.mdi-crop-free:before{content:"󰆟"}.mdi-crop-landscape:before{content:"󰆠"}.mdi-crop-portrait:before{content:"󰆡"}.mdi-crop-rotate:before{content:"󰚖"}.mdi-crop-square:before{content:"󰆢"}.mdi-cross:before{content:"󰥓"}.mdi-cross-bolnisi:before{content:"󰳭"}.mdi-cross-celtic:before{content:"󰳵"}.mdi-cross-outline:before{content:"󰳶"}.mdi-crosshairs:before{content:"󰆣"}.mdi-crosshairs-gps:before{content:"󰆤"}.mdi-crosshairs-off:before{content:"󰽅"}.mdi-crosshairs-question:before{content:"󱄶"}.mdi-crowd:before{content:"󱥵"}.mdi-crown:before{content:"󰆥"}.mdi-crown-circle:before{content:"󱟜"}.mdi-crown-circle-outline:before{content:"󱟝"}.mdi-crown-outline:before{content:"󱇐"}.mdi-cryengine:before{content:"󰥙"}.mdi-crystal-ball:before{content:"󰬯"}.mdi-cube:before{content:"󰆦"}.mdi-cube-off:before{content:"󱐜"}.mdi-cube-off-outline:before{content:"󱐝"}.mdi-cube-outline:before{content:"󰆧"}.mdi-cube-scan:before{content:"󰮄"}.mdi-cube-send:before{content:"󰆨"}.mdi-cube-unfolded:before{content:"󰆩"}.mdi-cup:before{content:"󰆪"}.mdi-cup-off:before{content:"󰗥"}.mdi-cup-off-outline:before{content:"󱍽"}.mdi-cup-outline:before{content:"󱌏"}.mdi-cup-water:before{content:"󰆫"}.mdi-cupboard:before{content:"󰽆"}.mdi-cupboard-outline:before{content:"󰽇"}.mdi-cupcake:before{content:"󰥚"}.mdi-curling:before{content:"󰡣"}.mdi-currency-bdt:before{content:"󰡤"}.mdi-currency-brl:before{content:"󰮅"}.mdi-currency-btc:before{content:"󰆬"}.mdi-currency-cny:before{content:"󰞺"}.mdi-currency-eth:before{content:"󰞻"}.mdi-currency-eur:before{content:"󰆭"}.mdi-currency-eur-off:before{content:"󱌕"}.mdi-currency-fra:before{content:"󱨹"}.mdi-currency-gbp:before{content:"󰆮"}.mdi-currency-ils:before{content:"󰱡"}.mdi-currency-inr:before{content:"󰆯"}.mdi-currency-jpy:before{content:"󰞼"}.mdi-currency-krw:before{content:"󰞽"}.mdi-currency-kzt:before{content:"󰡥"}.mdi-currency-mnt:before{content:"󱔒"}.mdi-currency-ngn:before{content:"󰆰"}.mdi-currency-php:before{content:"󰧦"}.mdi-currency-rial:before{content:"󰺜"}.mdi-currency-rub:before{content:"󰆱"}.mdi-currency-rupee:before{content:"󱥶"}.mdi-currency-sign:before{content:"󰞾"}.mdi-currency-thb:before{content:"󱰅"}.mdi-currency-try:before{content:"󰆲"}.mdi-currency-twd:before{content:"󰞿"}.mdi-currency-uah:before{content:"󱮛"}.mdi-currency-usd:before{content:"󰇁"}.mdi-currency-usd-off:before{content:"󰙺"}.mdi-current-ac:before{content:"󱒀"}.mdi-current-dc:before{content:"󰥜"}.mdi-cursor-default:before{content:"󰇀"}.mdi-cursor-default-click:before{content:"󰳽"}.mdi-cursor-default-click-outline:before{content:"󰳾"}.mdi-cursor-default-gesture:before{content:"󱄧"}.mdi-cursor-default-gesture-outline:before{content:"󱄨"}.mdi-cursor-default-outline:before{content:"󰆿"}.mdi-cursor-move:before{content:"󰆾"}.mdi-cursor-pointer:before{content:"󰆽"}.mdi-cursor-text:before{content:"󰗧"}.mdi-curtains:before{content:"󱡆"}.mdi-curtains-closed:before{content:"󱡇"}.mdi-cylinder:before{content:"󱥎"}.mdi-cylinder-off:before{content:"󱥏"}.mdi-dance-ballroom:before{content:"󱗻"}.mdi-dance-pole:before{content:"󱕸"}.mdi-data-matrix:before{content:"󱔼"}.mdi-data-matrix-edit:before{content:"󱔽"}.mdi-data-matrix-minus:before{content:"󱔾"}.mdi-data-matrix-plus:before{content:"󱔿"}.mdi-data-matrix-remove:before{content:"󱕀"}.mdi-data-matrix-scan:before{content:"󱕁"}.mdi-database:before{content:"󰆼"}.mdi-database-alert:before{content:"󱘺"}.mdi-database-alert-outline:before{content:"󱘤"}.mdi-database-arrow-down:before{content:"󱘻"}.mdi-database-arrow-down-outline:before{content:"󱘥"}.mdi-database-arrow-left:before{content:"󱘼"}.mdi-database-arrow-left-outline:before{content:"󱘦"}.mdi-database-arrow-right:before{content:"󱘽"}.mdi-database-arrow-right-outline:before{content:"󱘧"}.mdi-database-arrow-up:before{content:"󱘾"}.mdi-database-arrow-up-outline:before{content:"󱘨"}.mdi-database-check:before{content:"󰪩"}.mdi-database-check-outline:before{content:"󱘩"}.mdi-database-clock:before{content:"󱘿"}.mdi-database-clock-outline:before{content:"󱘪"}.mdi-database-cog:before{content:"󱙋"}.mdi-database-cog-outline:before{content:"󱙌"}.mdi-database-edit:before{content:"󰮆"}.mdi-database-edit-outline:before{content:"󱘫"}.mdi-database-export:before{content:"󰥞"}.mdi-database-export-outline:before{content:"󱘬"}.mdi-database-eye:before{content:"󱤟"}.mdi-database-eye-off:before{content:"󱤠"}.mdi-database-eye-off-outline:before{content:"󱤡"}.mdi-database-eye-outline:before{content:"󱤢"}.mdi-database-import:before{content:"󰥝"}.mdi-database-import-outline:before{content:"󱘭"}.mdi-database-lock:before{content:"󰪪"}.mdi-database-lock-outline:before{content:"󱘮"}.mdi-database-marker:before{content:"󱋶"}.mdi-database-marker-outline:before{content:"󱘯"}.mdi-database-minus:before{content:"󰆻"}.mdi-database-minus-outline:before{content:"󱘰"}.mdi-database-off:before{content:"󱙀"}.mdi-database-off-outline:before{content:"󱘱"}.mdi-database-outline:before{content:"󱘲"}.mdi-database-plus:before{content:"󰆺"}.mdi-database-plus-outline:before{content:"󱘳"}.mdi-database-refresh:before{content:"󰗂"}.mdi-database-refresh-outline:before{content:"󱘴"}.mdi-database-remove:before{content:"󰴀"}.mdi-database-remove-outline:before{content:"󱘵"}.mdi-database-search:before{content:"󰡦"}.mdi-database-search-outline:before{content:"󱘶"}.mdi-database-settings:before{content:"󰴁"}.mdi-database-settings-outline:before{content:"󱘷"}.mdi-database-sync:before{content:"󰳿"}.mdi-database-sync-outline:before{content:"󱘸"}.mdi-death-star:before{content:"󰣘"}.mdi-death-star-variant:before{content:"󰣙"}.mdi-deathly-hallows:before{content:"󰮇"}.mdi-debian:before{content:"󰣚"}.mdi-debug-step-into:before{content:"󰆹"}.mdi-debug-step-out:before{content:"󰆸"}.mdi-debug-step-over:before{content:"󰆷"}.mdi-decagram:before{content:"󰝬"}.mdi-decagram-outline:before{content:"󰝭"}.mdi-decimal:before{content:"󱂡"}.mdi-decimal-comma:before{content:"󱂢"}.mdi-decimal-comma-decrease:before{content:"󱂣"}.mdi-decimal-comma-increase:before{content:"󱂤"}.mdi-decimal-decrease:before{content:"󰆶"}.mdi-decimal-increase:before{content:"󰆵"}.mdi-delete:before{content:"󰆴"}.mdi-delete-alert:before{content:"󱂥"}.mdi-delete-alert-outline:before{content:"󱂦"}.mdi-delete-circle:before{content:"󰚃"}.mdi-delete-circle-outline:before{content:"󰮈"}.mdi-delete-clock:before{content:"󱕖"}.mdi-delete-clock-outline:before{content:"󱕗"}.mdi-delete-empty:before{content:"󰛌"}.mdi-delete-empty-outline:before{content:"󰺝"}.mdi-delete-forever:before{content:"󰗨"}.mdi-delete-forever-outline:before{content:"󰮉"}.mdi-delete-off:before{content:"󱂧"}.mdi-delete-off-outline:before{content:"󱂨"}.mdi-delete-outline:before{content:"󰧧"}.mdi-delete-restore:before{content:"󰠙"}.mdi-delete-sweep:before{content:"󰗩"}.mdi-delete-sweep-outline:before{content:"󰱢"}.mdi-delete-variant:before{content:"󰆳"}.mdi-delta:before{content:"󰇂"}.mdi-desk:before{content:"󱈹"}.mdi-desk-lamp:before{content:"󰥟"}.mdi-desk-lamp-off:before{content:"󱬟"}.mdi-desk-lamp-on:before{content:"󱬠"}.mdi-deskphone:before{content:"󰇃"}.mdi-desktop-classic:before{content:"󰟀"}.mdi-desktop-tower:before{content:"󰇅"}.mdi-desktop-tower-monitor:before{content:"󰪫"}.mdi-details:before{content:"󰇆"}.mdi-dev-to:before{content:"󰵮"}.mdi-developer-board:before{content:"󰚗"}.mdi-deviantart:before{content:"󰇇"}.mdi-devices:before{content:"󰾰"}.mdi-dharmachakra:before{content:"󰥋"}.mdi-diabetes:before{content:"󱄦"}.mdi-dialpad:before{content:"󰘜"}.mdi-diameter:before{content:"󰱣"}.mdi-diameter-outline:before{content:"󰱤"}.mdi-diameter-variant:before{content:"󰱥"}.mdi-diamond:before{content:"󰮊"}.mdi-diamond-outline:before{content:"󰮋"}.mdi-diamond-stone:before{content:"󰇈"}.mdi-dice-1:before{content:"󰇊"}.mdi-dice-1-outline:before{content:"󱅊"}.mdi-dice-2:before{content:"󰇋"}.mdi-dice-2-outline:before{content:"󱅋"}.mdi-dice-3:before{content:"󰇌"}.mdi-dice-3-outline:before{content:"󱅌"}.mdi-dice-4:before{content:"󰇍"}.mdi-dice-4-outline:before{content:"󱅍"}.mdi-dice-5:before{content:"󰇎"}.mdi-dice-5-outline:before{content:"󱅎"}.mdi-dice-6:before{content:"󰇏"}.mdi-dice-6-outline:before{content:"󱅏"}.mdi-dice-d10:before{content:"󱅓"}.mdi-dice-d10-outline:before{content:"󰝯"}.mdi-dice-d12:before{content:"󱅔"}.mdi-dice-d12-outline:before{content:"󰡧"}.mdi-dice-d20:before{content:"󱅕"}.mdi-dice-d20-outline:before{content:"󰗪"}.mdi-dice-d4:before{content:"󱅐"}.mdi-dice-d4-outline:before{content:"󰗫"}.mdi-dice-d6:before{content:"󱅑"}.mdi-dice-d6-outline:before{content:"󰗭"}.mdi-dice-d8:before{content:"󱅒"}.mdi-dice-d8-outline:before{content:"󰗬"}.mdi-dice-multiple:before{content:"󰝮"}.mdi-dice-multiple-outline:before{content:"󱅖"}.mdi-digital-ocean:before{content:"󱈷"}.mdi-dip-switch:before{content:"󰟁"}.mdi-directions:before{content:"󰇐"}.mdi-directions-fork:before{content:"󰙁"}.mdi-disc:before{content:"󰗮"}.mdi-disc-alert:before{content:"󰇑"}.mdi-disc-player:before{content:"󰥠"}.mdi-dishwasher:before{content:"󰪬"}.mdi-dishwasher-alert:before{content:"󱆸"}.mdi-dishwasher-off:before{content:"󱆹"}.mdi-disqus:before{content:"󰇒"}.mdi-distribute-horizontal-center:before{content:"󱇉"}.mdi-distribute-horizontal-left:before{content:"󱇈"}.mdi-distribute-horizontal-right:before{content:"󱇊"}.mdi-distribute-vertical-bottom:before{content:"󱇋"}.mdi-distribute-vertical-center:before{content:"󱇌"}.mdi-distribute-vertical-top:before{content:"󱇍"}.mdi-diversify:before{content:"󱡷"}.mdi-diving:before{content:"󱥷"}.mdi-diving-flippers:before{content:"󰶿"}.mdi-diving-helmet:before{content:"󰷀"}.mdi-diving-scuba:before{content:"󱭷"}.mdi-diving-scuba-flag:before{content:"󰷂"}.mdi-diving-scuba-mask:before{content:"󰷁"}.mdi-diving-scuba-tank:before{content:"󰷃"}.mdi-diving-scuba-tank-multiple:before{content:"󰷄"}.mdi-diving-snorkel:before{content:"󰷅"}.mdi-division:before{content:"󰇔"}.mdi-division-box:before{content:"󰇕"}.mdi-dlna:before{content:"󰩁"}.mdi-dna:before{content:"󰚄"}.mdi-dns:before{content:"󰇖"}.mdi-dns-outline:before{content:"󰮌"}.mdi-dock-bottom:before{content:"󱂩"}.mdi-dock-left:before{content:"󱂪"}.mdi-dock-right:before{content:"󱂫"}.mdi-dock-top:before{content:"󱔓"}.mdi-dock-window:before{content:"󱂬"}.mdi-docker:before{content:"󰡨"}.mdi-doctor:before{content:"󰩂"}.mdi-dog:before{content:"󰩃"}.mdi-dog-service:before{content:"󰪭"}.mdi-dog-side:before{content:"󰩄"}.mdi-dog-side-off:before{content:"󱛮"}.mdi-dolby:before{content:"󰚳"}.mdi-dolly:before{content:"󰺞"}.mdi-dolphin:before{content:"󱢴"}.mdi-domain:before{content:"󰇗"}.mdi-domain-off:before{content:"󰵯"}.mdi-domain-plus:before{content:"󱂭"}.mdi-domain-remove:before{content:"󱂮"}.mdi-domain-switch:before{content:"󱰬"}.mdi-dome-light:before{content:"󱐞"}.mdi-domino-mask:before{content:"󱀣"}.mdi-donkey:before{content:"󰟂"}.mdi-door:before{content:"󰠚"}.mdi-door-closed:before{content:"󰠛"}.mdi-door-closed-lock:before{content:"󱂯"}.mdi-door-open:before{content:"󰠜"}.mdi-door-sliding:before{content:"󱠞"}.mdi-door-sliding-lock:before{content:"󱠟"}.mdi-door-sliding-open:before{content:"󱠠"}.mdi-doorbell:before{content:"󱋦"}.mdi-doorbell-video:before{content:"󰡩"}.mdi-dot-net:before{content:"󰪮"}.mdi-dots-circle:before{content:"󱥸"}.mdi-dots-grid:before{content:"󱗼"}.mdi-dots-hexagon:before{content:"󱗿"}.mdi-dots-horizontal:before{content:"󰇘"}.mdi-dots-horizontal-circle:before{content:"󰟃"}.mdi-dots-horizontal-circle-outline:before{content:"󰮍"}.mdi-dots-square:before{content:"󱗽"}.mdi-dots-triangle:before{content:"󱗾"}.mdi-dots-vertical:before{content:"󰇙"}.mdi-dots-vertical-circle:before{content:"󰟄"}.mdi-dots-vertical-circle-outline:before{content:"󰮎"}.mdi-download:before{content:"󰇚"}.mdi-download-box:before{content:"󱑢"}.mdi-download-box-outline:before{content:"󱑣"}.mdi-download-circle:before{content:"󱑤"}.mdi-download-circle-outline:before{content:"󱑥"}.mdi-download-lock:before{content:"󱌠"}.mdi-download-lock-outline:before{content:"󱌡"}.mdi-download-multiple:before{content:"󰧩"}.mdi-download-network:before{content:"󰛴"}.mdi-download-network-outline:before{content:"󰱦"}.mdi-download-off:before{content:"󱂰"}.mdi-download-off-outline:before{content:"󱂱"}.mdi-download-outline:before{content:"󰮏"}.mdi-drag:before{content:"󰇛"}.mdi-drag-horizontal:before{content:"󰇜"}.mdi-drag-horizontal-variant:before{content:"󱋰"}.mdi-drag-variant:before{content:"󰮐"}.mdi-drag-vertical:before{content:"󰇝"}.mdi-drag-vertical-variant:before{content:"󱋱"}.mdi-drama-masks:before{content:"󰴂"}.mdi-draw:before{content:"󰽉"}.mdi-draw-pen:before{content:"󱦹"}.mdi-drawing:before{content:"󰇞"}.mdi-drawing-box:before{content:"󰇟"}.mdi-dresser:before{content:"󰽊"}.mdi-dresser-outline:before{content:"󰽋"}.mdi-drone:before{content:"󰇢"}.mdi-dropbox:before{content:"󰇣"}.mdi-drupal:before{content:"󰇤"}.mdi-duck:before{content:"󰇥"}.mdi-dumbbell:before{content:"󰇦"}.mdi-dump-truck:before{content:"󰱧"}.mdi-ear-hearing:before{content:"󰟅"}.mdi-ear-hearing-loop:before{content:"󱫮"}.mdi-ear-hearing-off:before{content:"󰩅"}.mdi-earbuds:before{content:"󱡏"}.mdi-earbuds-off:before{content:"󱡐"}.mdi-earbuds-off-outline:before{content:"󱡑"}.mdi-earbuds-outline:before{content:"󱡒"}.mdi-earth:before{content:"󰇧"}.mdi-earth-arrow-right:before{content:"󱌑"}.mdi-earth-box:before{content:"󰛍"}.mdi-earth-box-minus:before{content:"󱐇"}.mdi-earth-box-off:before{content:"󰛎"}.mdi-earth-box-plus:before{content:"󱐆"}.mdi-earth-box-remove:before{content:"󱐈"}.mdi-earth-minus:before{content:"󱐄"}.mdi-earth-off:before{content:"󰇨"}.mdi-earth-plus:before{content:"󱐃"}.mdi-earth-remove:before{content:"󱐅"}.mdi-egg:before{content:"󰪯"}.mdi-egg-easter:before{content:"󰪰"}.mdi-egg-fried:before{content:"󱡊"}.mdi-egg-off:before{content:"󱏰"}.mdi-egg-off-outline:before{content:"󱏱"}.mdi-egg-outline:before{content:"󱏲"}.mdi-eiffel-tower:before{content:"󱕫"}.mdi-eight-track:before{content:"󰧪"}.mdi-eject:before{content:"󰇪"}.mdi-eject-circle:before{content:"󱬣"}.mdi-eject-circle-outline:before{content:"󱬤"}.mdi-eject-outline:before{content:"󰮑"}.mdi-electric-switch:before{content:"󰺟"}.mdi-electric-switch-closed:before{content:"󱃙"}.mdi-electron-framework:before{content:"󱀤"}.mdi-elephant:before{content:"󰟆"}.mdi-elevation-decline:before{content:"󰇫"}.mdi-elevation-rise:before{content:"󰇬"}.mdi-elevator:before{content:"󰇭"}.mdi-elevator-down:before{content:"󱋂"}.mdi-elevator-passenger:before{content:"󱎁"}.mdi-elevator-passenger-off:before{content:"󱥹"}.mdi-elevator-passenger-off-outline:before{content:"󱥺"}.mdi-elevator-passenger-outline:before{content:"󱥻"}.mdi-elevator-up:before{content:"󱋁"}.mdi-ellipse:before{content:"󰺠"}.mdi-ellipse-outline:before{content:"󰺡"}.mdi-email:before{content:"󰇮"}.mdi-email-alert:before{content:"󰛏"}.mdi-email-alert-outline:before{content:"󰵂"}.mdi-email-arrow-left:before{content:"󱃚"}.mdi-email-arrow-left-outline:before{content:"󱃛"}.mdi-email-arrow-right:before{content:"󱃜"}.mdi-email-arrow-right-outline:before{content:"󱃝"}.mdi-email-box:before{content:"󰴃"}.mdi-email-check:before{content:"󰪱"}.mdi-email-check-outline:before{content:"󰪲"}.mdi-email-edit:before{content:"󰻣"}.mdi-email-edit-outline:before{content:"󰻤"}.mdi-email-fast:before{content:"󱡯"}.mdi-email-fast-outline:before{content:"󱡰"}.mdi-email-heart-outline:before{content:"󱱛"}.mdi-email-lock:before{content:"󰇱"}.mdi-email-lock-outline:before{content:"󱭡"}.mdi-email-mark-as-unread:before{content:"󰮒"}.mdi-email-minus:before{content:"󰻥"}.mdi-email-minus-outline:before{content:"󰻦"}.mdi-email-multiple:before{content:"󰻧"}.mdi-email-multiple-outline:before{content:"󰻨"}.mdi-email-newsletter:before{content:"󰾱"}.mdi-email-off:before{content:"󱏣"}.mdi-email-off-outline:before{content:"󱏤"}.mdi-email-open:before{content:"󰇯"}.mdi-email-open-heart-outline:before{content:"󱱜"}.mdi-email-open-multiple:before{content:"󰻩"}.mdi-email-open-multiple-outline:before{content:"󰻪"}.mdi-email-open-outline:before{content:"󰗯"}.mdi-email-outline:before{content:"󰇰"}.mdi-email-plus:before{content:"󰧫"}.mdi-email-plus-outline:before{content:"󰧬"}.mdi-email-remove:before{content:"󱙡"}.mdi-email-remove-outline:before{content:"󱙢"}.mdi-email-seal:before{content:"󱥛"}.mdi-email-seal-outline:before{content:"󱥜"}.mdi-email-search:before{content:"󰥡"}.mdi-email-search-outline:before{content:"󰥢"}.mdi-email-sync:before{content:"󱋇"}.mdi-email-sync-outline:before{content:"󱋈"}.mdi-email-variant:before{content:"󰗰"}.mdi-ember:before{content:"󰬰"}.mdi-emby:before{content:"󰚴"}.mdi-emoticon:before{content:"󰱨"}.mdi-emoticon-angry:before{content:"󰱩"}.mdi-emoticon-angry-outline:before{content:"󰱪"}.mdi-emoticon-confused:before{content:"󱃞"}.mdi-emoticon-confused-outline:before{content:"󱃟"}.mdi-emoticon-cool:before{content:"󰱫"}.mdi-emoticon-cool-outline:before{content:"󰇳"}.mdi-emoticon-cry:before{content:"󰱬"}.mdi-emoticon-cry-outline:before{content:"󰱭"}.mdi-emoticon-dead:before{content:"󰱮"}.mdi-emoticon-dead-outline:before{content:"󰚛"}.mdi-emoticon-devil:before{content:"󰱯"}.mdi-emoticon-devil-outline:before{content:"󰇴"}.mdi-emoticon-excited:before{content:"󰱰"}.mdi-emoticon-excited-outline:before{content:"󰚜"}.mdi-emoticon-frown:before{content:"󰽌"}.mdi-emoticon-frown-outline:before{content:"󰽍"}.mdi-emoticon-happy:before{content:"󰱱"}.mdi-emoticon-happy-outline:before{content:"󰇵"}.mdi-emoticon-kiss:before{content:"󰱲"}.mdi-emoticon-kiss-outline:before{content:"󰱳"}.mdi-emoticon-lol:before{content:"󱈔"}.mdi-emoticon-lol-outline:before{content:"󱈕"}.mdi-emoticon-neutral:before{content:"󰱴"}.mdi-emoticon-neutral-outline:before{content:"󰇶"}.mdi-emoticon-outline:before{content:"󰇲"}.mdi-emoticon-poop:before{content:"󰇷"}.mdi-emoticon-poop-outline:before{content:"󰱵"}.mdi-emoticon-sad:before{content:"󰱶"}.mdi-emoticon-sad-outline:before{content:"󰇸"}.mdi-emoticon-sick:before{content:"󱕼"}.mdi-emoticon-sick-outline:before{content:"󱕽"}.mdi-emoticon-tongue:before{content:"󰇹"}.mdi-emoticon-tongue-outline:before{content:"󰱷"}.mdi-emoticon-wink:before{content:"󰱸"}.mdi-emoticon-wink-outline:before{content:"󰱹"}.mdi-engine:before{content:"󰇺"}.mdi-engine-off:before{content:"󰩆"}.mdi-engine-off-outline:before{content:"󰩇"}.mdi-engine-outline:before{content:"󰇻"}.mdi-epsilon:before{content:"󱃠"}.mdi-equal:before{content:"󰇼"}.mdi-equal-box:before{content:"󰇽"}.mdi-equalizer:before{content:"󰺢"}.mdi-equalizer-outline:before{content:"󰺣"}.mdi-eraser:before{content:"󰇾"}.mdi-eraser-variant:before{content:"󰙂"}.mdi-escalator:before{content:"󰇿"}.mdi-escalator-box:before{content:"󱎙"}.mdi-escalator-down:before{content:"󱋀"}.mdi-escalator-up:before{content:"󱊿"}.mdi-eslint:before{content:"󰱺"}.mdi-et:before{content:"󰪳"}.mdi-ethereum:before{content:"󰡪"}.mdi-ethernet:before{content:"󰈀"}.mdi-ethernet-cable:before{content:"󰈁"}.mdi-ethernet-cable-off:before{content:"󰈂"}.mdi-ev-plug-ccs1:before{content:"󱔙"}.mdi-ev-plug-ccs2:before{content:"󱔚"}.mdi-ev-plug-chademo:before{content:"󱔛"}.mdi-ev-plug-tesla:before{content:"󱔜"}.mdi-ev-plug-type1:before{content:"󱔝"}.mdi-ev-plug-type2:before{content:"󱔞"}.mdi-ev-station:before{content:"󰗱"}.mdi-evernote:before{content:"󰈄"}.mdi-excavator:before{content:"󱀥"}.mdi-exclamation:before{content:"󰈅"}.mdi-exclamation-thick:before{content:"󱈸"}.mdi-exit-run:before{content:"󰩈"}.mdi-exit-to-app:before{content:"󰈆"}.mdi-expand-all:before{content:"󰪴"}.mdi-expand-all-outline:before{content:"󰪵"}.mdi-expansion-card:before{content:"󰢮"}.mdi-expansion-card-variant:before{content:"󰾲"}.mdi-exponent:before{content:"󰥣"}.mdi-exponent-box:before{content:"󰥤"}.mdi-export:before{content:"󰈇"}.mdi-export-variant:before{content:"󰮓"}.mdi-eye:before{content:"󰈈"}.mdi-eye-arrow-left:before{content:"󱣽"}.mdi-eye-arrow-left-outline:before{content:"󱣾"}.mdi-eye-arrow-right:before{content:"󱣿"}.mdi-eye-arrow-right-outline:before{content:"󱤀"}.mdi-eye-check:before{content:"󰴄"}.mdi-eye-check-outline:before{content:"󰴅"}.mdi-eye-circle:before{content:"󰮔"}.mdi-eye-circle-outline:before{content:"󰮕"}.mdi-eye-lock:before{content:"󱰆"}.mdi-eye-lock-open:before{content:"󱰇"}.mdi-eye-lock-open-outline:before{content:"󱰈"}.mdi-eye-lock-outline:before{content:"󱰉"}.mdi-eye-minus:before{content:"󱀦"}.mdi-eye-minus-outline:before{content:"󱀧"}.mdi-eye-off:before{content:"󰈉"}.mdi-eye-off-outline:before{content:"󰛑"}.mdi-eye-outline:before{content:"󰛐"}.mdi-eye-plus:before{content:"󰡫"}.mdi-eye-plus-outline:before{content:"󰡬"}.mdi-eye-refresh:before{content:"󱥼"}.mdi-eye-refresh-outline:before{content:"󱥽"}.mdi-eye-remove:before{content:"󱗣"}.mdi-eye-remove-outline:before{content:"󱗤"}.mdi-eye-settings:before{content:"󰡭"}.mdi-eye-settings-outline:before{content:"󰡮"}.mdi-eyedropper:before{content:"󰈊"}.mdi-eyedropper-minus:before{content:"󱏝"}.mdi-eyedropper-off:before{content:"󱏟"}.mdi-eyedropper-plus:before{content:"󱏜"}.mdi-eyedropper-remove:before{content:"󱏞"}.mdi-eyedropper-variant:before{content:"󰈋"}.mdi-face-agent:before{content:"󰵰"}.mdi-face-man:before{content:"󰙃"}.mdi-face-man-outline:before{content:"󰮖"}.mdi-face-man-profile:before{content:"󰙄"}.mdi-face-man-shimmer:before{content:"󱗌"}.mdi-face-man-shimmer-outline:before{content:"󱗍"}.mdi-face-mask:before{content:"󱖆"}.mdi-face-mask-outline:before{content:"󱖇"}.mdi-face-recognition:before{content:"󰱻"}.mdi-face-woman:before{content:"󱁷"}.mdi-face-woman-outline:before{content:"󱁸"}.mdi-face-woman-profile:before{content:"󱁶"}.mdi-face-woman-shimmer:before{content:"󱗎"}.mdi-face-woman-shimmer-outline:before{content:"󱗏"}.mdi-facebook:before{content:"󰈌"}.mdi-facebook-gaming:before{content:"󰟝"}.mdi-facebook-messenger:before{content:"󰈎"}.mdi-facebook-workplace:before{content:"󰬱"}.mdi-factory:before{content:"󰈏"}.mdi-family-tree:before{content:"󱘎"}.mdi-fan:before{content:"󰈐"}.mdi-fan-alert:before{content:"󱑬"}.mdi-fan-auto:before{content:"󱜝"}.mdi-fan-chevron-down:before{content:"󱑭"}.mdi-fan-chevron-up:before{content:"󱑮"}.mdi-fan-clock:before{content:"󱨺"}.mdi-fan-minus:before{content:"󱑰"}.mdi-fan-off:before{content:"󰠝"}.mdi-fan-plus:before{content:"󱑯"}.mdi-fan-remove:before{content:"󱑱"}.mdi-fan-speed-1:before{content:"󱑲"}.mdi-fan-speed-2:before{content:"󱑳"}.mdi-fan-speed-3:before{content:"󱑴"}.mdi-fast-forward:before{content:"󰈑"}.mdi-fast-forward-10:before{content:"󰵱"}.mdi-fast-forward-15:before{content:"󱤺"}.mdi-fast-forward-30:before{content:"󰴆"}.mdi-fast-forward-45:before{content:"󱬒"}.mdi-fast-forward-5:before{content:"󱇸"}.mdi-fast-forward-60:before{content:"󱘋"}.mdi-fast-forward-outline:before{content:"󰛒"}.mdi-faucet:before{content:"󱬩"}.mdi-faucet-variant:before{content:"󱬪"}.mdi-fax:before{content:"󰈒"}.mdi-feather:before{content:"󰛓"}.mdi-feature-search:before{content:"󰩉"}.mdi-feature-search-outline:before{content:"󰩊"}.mdi-fedora:before{content:"󰣛"}.mdi-fence:before{content:"󱞚"}.mdi-fence-electric:before{content:"󱟶"}.mdi-fencing:before{content:"󱓁"}.mdi-ferris-wheel:before{content:"󰺤"}.mdi-ferry:before{content:"󰈓"}.mdi-file:before{content:"󰈔"}.mdi-file-account:before{content:"󰜻"}.mdi-file-account-outline:before{content:"󱀨"}.mdi-file-alert:before{content:"󰩋"}.mdi-file-alert-outline:before{content:"󰩌"}.mdi-file-arrow-left-right:before{content:"󱪓"}.mdi-file-arrow-left-right-outline:before{content:"󱪔"}.mdi-file-arrow-up-down:before{content:"󱪕"}.mdi-file-arrow-up-down-outline:before{content:"󱪖"}.mdi-file-cabinet:before{content:"󰪶"}.mdi-file-cad:before{content:"󰻫"}.mdi-file-cad-box:before{content:"󰻬"}.mdi-file-cancel:before{content:"󰷆"}.mdi-file-cancel-outline:before{content:"󰷇"}.mdi-file-certificate:before{content:"󱆆"}.mdi-file-certificate-outline:before{content:"󱆇"}.mdi-file-chart:before{content:"󰈕"}.mdi-file-chart-check:before{content:"󱧆"}.mdi-file-chart-check-outline:before{content:"󱧇"}.mdi-file-chart-outline:before{content:"󱀩"}.mdi-file-check:before{content:"󰈖"}.mdi-file-check-outline:before{content:"󰸩"}.mdi-file-clock:before{content:"󱋡"}.mdi-file-clock-outline:before{content:"󱋢"}.mdi-file-cloud:before{content:"󰈗"}.mdi-file-cloud-outline:before{content:"󱀪"}.mdi-file-code:before{content:"󰈮"}.mdi-file-code-outline:before{content:"󱀫"}.mdi-file-cog:before{content:"󱁻"}.mdi-file-cog-outline:before{content:"󱁼"}.mdi-file-compare:before{content:"󰢪"}.mdi-file-delimited:before{content:"󰈘"}.mdi-file-delimited-outline:before{content:"󰺥"}.mdi-file-document:before{content:"󰈙"}.mdi-file-document-alert:before{content:"󱪗"}.mdi-file-document-alert-outline:before{content:"󱪘"}.mdi-file-document-arrow-right:before{content:"󱰏"}.mdi-file-document-arrow-right-outline:before{content:"󱰐"}.mdi-file-document-check:before{content:"󱪙"}.mdi-file-document-check-outline:before{content:"󱪚"}.mdi-file-document-edit:before{content:"󰷈"}.mdi-file-document-edit-outline:before{content:"󰷉"}.mdi-file-document-minus:before{content:"󱪛"}.mdi-file-document-minus-outline:before{content:"󱪜"}.mdi-file-document-multiple:before{content:"󱔗"}.mdi-file-document-multiple-outline:before{content:"󱔘"}.mdi-file-document-outline:before{content:"󰧮"}.mdi-file-document-plus:before{content:"󱪝"}.mdi-file-document-plus-outline:before{content:"󱪞"}.mdi-file-document-refresh:before{content:"󱱺"}.mdi-file-document-refresh-outline:before{content:"󱱻"}.mdi-file-document-remove:before{content:"󱪟"}.mdi-file-document-remove-outline:before{content:"󱪠"}.mdi-file-download:before{content:"󰥥"}.mdi-file-download-outline:before{content:"󰥦"}.mdi-file-edit:before{content:"󱇧"}.mdi-file-edit-outline:before{content:"󱇨"}.mdi-file-excel:before{content:"󰈛"}.mdi-file-excel-box:before{content:"󰈜"}.mdi-file-excel-box-outline:before{content:"󱀬"}.mdi-file-excel-outline:before{content:"󱀭"}.mdi-file-export:before{content:"󰈝"}.mdi-file-export-outline:before{content:"󱀮"}.mdi-file-eye:before{content:"󰷊"}.mdi-file-eye-outline:before{content:"󰷋"}.mdi-file-find:before{content:"󰈞"}.mdi-file-find-outline:before{content:"󰮗"}.mdi-file-gif-box:before{content:"󰵸"}.mdi-file-hidden:before{content:"󰘓"}.mdi-file-image:before{content:"󰈟"}.mdi-file-image-marker:before{content:"󱝲"}.mdi-file-image-marker-outline:before{content:"󱝳"}.mdi-file-image-minus:before{content:"󱤻"}.mdi-file-image-minus-outline:before{content:"󱤼"}.mdi-file-image-outline:before{content:"󰺰"}.mdi-file-image-plus:before{content:"󱤽"}.mdi-file-image-plus-outline:before{content:"󱤾"}.mdi-file-image-remove:before{content:"󱤿"}.mdi-file-image-remove-outline:before{content:"󱥀"}.mdi-file-import:before{content:"󰈠"}.mdi-file-import-outline:before{content:"󱀯"}.mdi-file-jpg-box:before{content:"󰈥"}.mdi-file-key:before{content:"󱆄"}.mdi-file-key-outline:before{content:"󱆅"}.mdi-file-link:before{content:"󱅷"}.mdi-file-link-outline:before{content:"󱅸"}.mdi-file-lock:before{content:"󰈡"}.mdi-file-lock-open:before{content:"󱧈"}.mdi-file-lock-open-outline:before{content:"󱧉"}.mdi-file-lock-outline:before{content:"󱀰"}.mdi-file-marker:before{content:"󱝴"}.mdi-file-marker-outline:before{content:"󱝵"}.mdi-file-minus:before{content:"󱪡"}.mdi-file-minus-outline:before{content:"󱪢"}.mdi-file-move:before{content:"󰪹"}.mdi-file-move-outline:before{content:"󱀱"}.mdi-file-multiple:before{content:"󰈢"}.mdi-file-multiple-outline:before{content:"󱀲"}.mdi-file-music:before{content:"󰈣"}.mdi-file-music-outline:before{content:"󰸪"}.mdi-file-outline:before{content:"󰈤"}.mdi-file-pdf-box:before{content:"󰈦"}.mdi-file-percent:before{content:"󰠞"}.mdi-file-percent-outline:before{content:"󱀳"}.mdi-file-phone:before{content:"󱅹"}.mdi-file-phone-outline:before{content:"󱅺"}.mdi-file-plus:before{content:"󰝒"}.mdi-file-plus-outline:before{content:"󰻭"}.mdi-file-png-box:before{content:"󰸭"}.mdi-file-powerpoint:before{content:"󰈧"}.mdi-file-powerpoint-box:before{content:"󰈨"}.mdi-file-powerpoint-box-outline:before{content:"󱀴"}.mdi-file-powerpoint-outline:before{content:"󱀵"}.mdi-file-presentation-box:before{content:"󰈩"}.mdi-file-question:before{content:"󰡯"}.mdi-file-question-outline:before{content:"󱀶"}.mdi-file-refresh:before{content:"󰤘"}.mdi-file-refresh-outline:before{content:"󰕁"}.mdi-file-remove:before{content:"󰮘"}.mdi-file-remove-outline:before{content:"󱀷"}.mdi-file-replace:before{content:"󰬲"}.mdi-file-replace-outline:before{content:"󰬳"}.mdi-file-restore:before{content:"󰙰"}.mdi-file-restore-outline:before{content:"󱀸"}.mdi-file-rotate-left:before{content:"󱨻"}.mdi-file-rotate-left-outline:before{content:"󱨼"}.mdi-file-rotate-right:before{content:"󱨽"}.mdi-file-rotate-right-outline:before{content:"󱨾"}.mdi-file-search:before{content:"󰱼"}.mdi-file-search-outline:before{content:"󰱽"}.mdi-file-send:before{content:"󰈪"}.mdi-file-send-outline:before{content:"󱀹"}.mdi-file-settings:before{content:"󱁹"}.mdi-file-settings-outline:before{content:"󱁺"}.mdi-file-sign:before{content:"󱧃"}.mdi-file-star:before{content:"󱀺"}.mdi-file-star-four-points:before{content:"󱰭"}.mdi-file-star-four-points-outline:before{content:"󱰮"}.mdi-file-star-outline:before{content:"󱀻"}.mdi-file-swap:before{content:"󰾴"}.mdi-file-swap-outline:before{content:"󰾵"}.mdi-file-sync:before{content:"󱈖"}.mdi-file-sync-outline:before{content:"󱈗"}.mdi-file-table:before{content:"󰱾"}.mdi-file-table-box:before{content:"󱃡"}.mdi-file-table-box-multiple:before{content:"󱃢"}.mdi-file-table-box-multiple-outline:before{content:"󱃣"}.mdi-file-table-box-outline:before{content:"󱃤"}.mdi-file-table-outline:before{content:"󰱿"}.mdi-file-tree:before{content:"󰙅"}.mdi-file-tree-outline:before{content:"󱏒"}.mdi-file-undo:before{content:"󰣜"}.mdi-file-undo-outline:before{content:"󱀼"}.mdi-file-upload:before{content:"󰩍"}.mdi-file-upload-outline:before{content:"󰩎"}.mdi-file-video:before{content:"󰈫"}.mdi-file-video-outline:before{content:"󰸬"}.mdi-file-word:before{content:"󰈬"}.mdi-file-word-box:before{content:"󰈭"}.mdi-file-word-box-outline:before{content:"󱀽"}.mdi-file-word-outline:before{content:"󱀾"}.mdi-file-xml-box:before{content:"󱭋"}.mdi-film:before{content:"󰈯"}.mdi-filmstrip:before{content:"󰈰"}.mdi-filmstrip-box:before{content:"󰌲"}.mdi-filmstrip-box-multiple:before{content:"󰴘"}.mdi-filmstrip-off:before{content:"󰈱"}.mdi-filter:before{content:"󰈲"}.mdi-filter-check:before{content:"󱣬"}.mdi-filter-check-outline:before{content:"󱣭"}.mdi-filter-cog:before{content:"󱪣"}.mdi-filter-cog-outline:before{content:"󱪤"}.mdi-filter-menu:before{content:"󱃥"}.mdi-filter-menu-outline:before{content:"󱃦"}.mdi-filter-minus:before{content:"󰻮"}.mdi-filter-minus-outline:before{content:"󰻯"}.mdi-filter-multiple:before{content:"󱨿"}.mdi-filter-multiple-outline:before{content:"󱩀"}.mdi-filter-off:before{content:"󱓯"}.mdi-filter-off-outline:before{content:"󱓰"}.mdi-filter-outline:before{content:"󰈳"}.mdi-filter-plus:before{content:"󰻰"}.mdi-filter-plus-outline:before{content:"󰻱"}.mdi-filter-remove:before{content:"󰈴"}.mdi-filter-remove-outline:before{content:"󰈵"}.mdi-filter-settings:before{content:"󱪥"}.mdi-filter-settings-outline:before{content:"󱪦"}.mdi-filter-variant:before{content:"󰈶"}.mdi-filter-variant-minus:before{content:"󱄒"}.mdi-filter-variant-plus:before{content:"󱄓"}.mdi-filter-variant-remove:before{content:"󱀿"}.mdi-finance:before{content:"󰠟"}.mdi-find-replace:before{content:"󰛔"}.mdi-fingerprint:before{content:"󰈷"}.mdi-fingerprint-off:before{content:"󰺱"}.mdi-fire:before{content:"󰈸"}.mdi-fire-alert:before{content:"󱗗"}.mdi-fire-circle:before{content:"󱠇"}.mdi-fire-extinguisher:before{content:"󰻲"}.mdi-fire-hydrant:before{content:"󱄷"}.mdi-fire-hydrant-alert:before{content:"󱄸"}.mdi-fire-hydrant-off:before{content:"󱄹"}.mdi-fire-off:before{content:"󱜢"}.mdi-fire-truck:before{content:"󰢫"}.mdi-firebase:before{content:"󰥧"}.mdi-firefox:before{content:"󰈹"}.mdi-fireplace:before{content:"󰸮"}.mdi-fireplace-off:before{content:"󰸯"}.mdi-firewire:before{content:"󰖾"}.mdi-firework:before{content:"󰸰"}.mdi-firework-off:before{content:"󱜣"}.mdi-fish:before{content:"󰈺"}.mdi-fish-off:before{content:"󱏳"}.mdi-fishbowl:before{content:"󰻳"}.mdi-fishbowl-outline:before{content:"󰻴"}.mdi-fit-to-page:before{content:"󰻵"}.mdi-fit-to-page-outline:before{content:"󰻶"}.mdi-fit-to-screen:before{content:"󱣴"}.mdi-fit-to-screen-outline:before{content:"󱣵"}.mdi-flag:before{content:"󰈻"}.mdi-flag-checkered:before{content:"󰈼"}.mdi-flag-minus:before{content:"󰮙"}.mdi-flag-minus-outline:before{content:"󱂲"}.mdi-flag-off:before{content:"󱣮"}.mdi-flag-off-outline:before{content:"󱣯"}.mdi-flag-outline:before{content:"󰈽"}.mdi-flag-plus:before{content:"󰮚"}.mdi-flag-plus-outline:before{content:"󱂳"}.mdi-flag-remove:before{content:"󰮛"}.mdi-flag-remove-outline:before{content:"󱂴"}.mdi-flag-triangle:before{content:"󰈿"}.mdi-flag-variant:before{content:"󰉀"}.mdi-flag-variant-minus:before{content:"󱮴"}.mdi-flag-variant-minus-outline:before{content:"󱮵"}.mdi-flag-variant-off:before{content:"󱮰"}.mdi-flag-variant-off-outline:before{content:"󱮱"}.mdi-flag-variant-outline:before{content:"󰈾"}.mdi-flag-variant-plus:before{content:"󱮲"}.mdi-flag-variant-plus-outline:before{content:"󱮳"}.mdi-flag-variant-remove:before{content:"󱮶"}.mdi-flag-variant-remove-outline:before{content:"󱮷"}.mdi-flare:before{content:"󰵲"}.mdi-flash:before{content:"󰉁"}.mdi-flash-alert:before{content:"󰻷"}.mdi-flash-alert-outline:before{content:"󰻸"}.mdi-flash-auto:before{content:"󰉂"}.mdi-flash-off:before{content:"󰉃"}.mdi-flash-off-outline:before{content:"󱭅"}.mdi-flash-outline:before{content:"󰛕"}.mdi-flash-red-eye:before{content:"󰙻"}.mdi-flash-triangle:before{content:"󱬝"}.mdi-flash-triangle-outline:before{content:"󱬞"}.mdi-flashlight:before{content:"󰉄"}.mdi-flashlight-off:before{content:"󰉅"}.mdi-flask:before{content:"󰂓"}.mdi-flask-empty:before{content:"󰂔"}.mdi-flask-empty-minus:before{content:"󱈺"}.mdi-flask-empty-minus-outline:before{content:"󱈻"}.mdi-flask-empty-off:before{content:"󱏴"}.mdi-flask-empty-off-outline:before{content:"󱏵"}.mdi-flask-empty-outline:before{content:"󰂕"}.mdi-flask-empty-plus:before{content:"󱈼"}.mdi-flask-empty-plus-outline:before{content:"󱈽"}.mdi-flask-empty-remove:before{content:"󱈾"}.mdi-flask-empty-remove-outline:before{content:"󱈿"}.mdi-flask-minus:before{content:"󱉀"}.mdi-flask-minus-outline:before{content:"󱉁"}.mdi-flask-off:before{content:"󱏶"}.mdi-flask-off-outline:before{content:"󱏷"}.mdi-flask-outline:before{content:"󰂖"}.mdi-flask-plus:before{content:"󱉂"}.mdi-flask-plus-outline:before{content:"󱉃"}.mdi-flask-remove:before{content:"󱉄"}.mdi-flask-remove-outline:before{content:"󱉅"}.mdi-flask-round-bottom:before{content:"󱉋"}.mdi-flask-round-bottom-empty:before{content:"󱉌"}.mdi-flask-round-bottom-empty-outline:before{content:"󱉍"}.mdi-flask-round-bottom-outline:before{content:"󱉎"}.mdi-fleur-de-lis:before{content:"󱌃"}.mdi-flip-horizontal:before{content:"󱃧"}.mdi-flip-to-back:before{content:"󰉇"}.mdi-flip-to-front:before{content:"󰉈"}.mdi-flip-vertical:before{content:"󱃨"}.mdi-floor-lamp:before{content:"󰣝"}.mdi-floor-lamp-dual:before{content:"󱁀"}.mdi-floor-lamp-dual-outline:before{content:"󱟎"}.mdi-floor-lamp-outline:before{content:"󱟈"}.mdi-floor-lamp-torchiere:before{content:"󱝇"}.mdi-floor-lamp-torchiere-outline:before{content:"󱟖"}.mdi-floor-lamp-torchiere-variant:before{content:"󱁁"}.mdi-floor-lamp-torchiere-variant-outline:before{content:"󱟏"}.mdi-floor-plan:before{content:"󰠡"}.mdi-floppy:before{content:"󰉉"}.mdi-floppy-variant:before{content:"󰧯"}.mdi-flower:before{content:"󰉊"}.mdi-flower-outline:before{content:"󰧰"}.mdi-flower-pollen:before{content:"󱢅"}.mdi-flower-pollen-outline:before{content:"󱢆"}.mdi-flower-poppy:before{content:"󰴈"}.mdi-flower-tulip:before{content:"󰧱"}.mdi-flower-tulip-outline:before{content:"󰧲"}.mdi-focus-auto:before{content:"󰽎"}.mdi-focus-field:before{content:"󰽏"}.mdi-focus-field-horizontal:before{content:"󰽐"}.mdi-focus-field-vertical:before{content:"󰽑"}.mdi-folder:before{content:"󰉋"}.mdi-folder-account:before{content:"󰉌"}.mdi-folder-account-outline:before{content:"󰮜"}.mdi-folder-alert:before{content:"󰷌"}.mdi-folder-alert-outline:before{content:"󰷍"}.mdi-folder-arrow-down:before{content:"󱧨"}.mdi-folder-arrow-down-outline:before{content:"󱧩"}.mdi-folder-arrow-left:before{content:"󱧪"}.mdi-folder-arrow-left-outline:before{content:"󱧫"}.mdi-folder-arrow-left-right:before{content:"󱧬"}.mdi-folder-arrow-left-right-outline:before{content:"󱧭"}.mdi-folder-arrow-right:before{content:"󱧮"}.mdi-folder-arrow-right-outline:before{content:"󱧯"}.mdi-folder-arrow-up:before{content:"󱧰"}.mdi-folder-arrow-up-down:before{content:"󱧱"}.mdi-folder-arrow-up-down-outline:before{content:"󱧲"}.mdi-folder-arrow-up-outline:before{content:"󱧳"}.mdi-folder-cancel:before{content:"󱧴"}.mdi-folder-cancel-outline:before{content:"󱧵"}.mdi-folder-check:before{content:"󱥾"}.mdi-folder-check-outline:before{content:"󱥿"}.mdi-folder-clock:before{content:"󰪺"}.mdi-folder-clock-outline:before{content:"󰪻"}.mdi-folder-cog:before{content:"󱁿"}.mdi-folder-cog-outline:before{content:"󱂀"}.mdi-folder-download:before{content:"󰉍"}.mdi-folder-download-outline:before{content:"󱃩"}.mdi-folder-edit:before{content:"󰣞"}.mdi-folder-edit-outline:before{content:"󰷎"}.mdi-folder-eye:before{content:"󱞊"}.mdi-folder-eye-outline:before{content:"󱞋"}.mdi-folder-file:before{content:"󱧶"}.mdi-folder-file-outline:before{content:"󱧷"}.mdi-folder-google-drive:before{content:"󰉎"}.mdi-folder-heart:before{content:"󱃪"}.mdi-folder-heart-outline:before{content:"󱃫"}.mdi-folder-hidden:before{content:"󱞞"}.mdi-folder-home:before{content:"󱂵"}.mdi-folder-home-outline:before{content:"󱂶"}.mdi-folder-image:before{content:"󰉏"}.mdi-folder-information:before{content:"󱂷"}.mdi-folder-information-outline:before{content:"󱂸"}.mdi-folder-key:before{content:"󰢬"}.mdi-folder-key-network:before{content:"󰢭"}.mdi-folder-key-network-outline:before{content:"󰲀"}.mdi-folder-key-outline:before{content:"󱃬"}.mdi-folder-lock:before{content:"󰉐"}.mdi-folder-lock-open:before{content:"󰉑"}.mdi-folder-lock-open-outline:before{content:"󱪧"}.mdi-folder-lock-outline:before{content:"󱪨"}.mdi-folder-marker:before{content:"󱉭"}.mdi-folder-marker-outline:before{content:"󱉮"}.mdi-folder-minus:before{content:"󱭉"}.mdi-folder-minus-outline:before{content:"󱭊"}.mdi-folder-move:before{content:"󰉒"}.mdi-folder-move-outline:before{content:"󱉆"}.mdi-folder-multiple:before{content:"󰉓"}.mdi-folder-multiple-image:before{content:"󰉔"}.mdi-folder-multiple-outline:before{content:"󰉕"}.mdi-folder-multiple-plus:before{content:"󱑾"}.mdi-folder-multiple-plus-outline:before{content:"󱑿"}.mdi-folder-music:before{content:"󱍙"}.mdi-folder-music-outline:before{content:"󱍚"}.mdi-folder-network:before{content:"󰡰"}.mdi-folder-network-outline:before{content:"󰲁"}.mdi-folder-off:before{content:"󱧸"}.mdi-folder-off-outline:before{content:"󱧹"}.mdi-folder-open:before{content:"󰝰"}.mdi-folder-open-outline:before{content:"󰷏"}.mdi-folder-outline:before{content:"󰉖"}.mdi-folder-play:before{content:"󱧺"}.mdi-folder-play-outline:before{content:"󱧻"}.mdi-folder-plus:before{content:"󰉗"}.mdi-folder-plus-outline:before{content:"󰮝"}.mdi-folder-pound:before{content:"󰴉"}.mdi-folder-pound-outline:before{content:"󰴊"}.mdi-folder-question:before{content:"󱧊"}.mdi-folder-question-outline:before{content:"󱧋"}.mdi-folder-refresh:before{content:"󰝉"}.mdi-folder-refresh-outline:before{content:"󰕂"}.mdi-folder-remove:before{content:"󰉘"}.mdi-folder-remove-outline:before{content:"󰮞"}.mdi-folder-search:before{content:"󰥨"}.mdi-folder-search-outline:before{content:"󰥩"}.mdi-folder-settings:before{content:"󱁽"}.mdi-folder-settings-outline:before{content:"󱁾"}.mdi-folder-star:before{content:"󰚝"}.mdi-folder-star-multiple:before{content:"󱏓"}.mdi-folder-star-multiple-outline:before{content:"󱏔"}.mdi-folder-star-outline:before{content:"󰮟"}.mdi-folder-swap:before{content:"󰾶"}.mdi-folder-swap-outline:before{content:"󰾷"}.mdi-folder-sync:before{content:"󰴋"}.mdi-folder-sync-outline:before{content:"󰴌"}.mdi-folder-table:before{content:"󱋣"}.mdi-folder-table-outline:before{content:"󱋤"}.mdi-folder-text:before{content:"󰲂"}.mdi-folder-text-outline:before{content:"󰲃"}.mdi-folder-upload:before{content:"󰉙"}.mdi-folder-upload-outline:before{content:"󱃭"}.mdi-folder-wrench:before{content:"󱧼"}.mdi-folder-wrench-outline:before{content:"󱧽"}.mdi-folder-zip:before{content:"󰛫"}.mdi-folder-zip-outline:before{content:"󰞹"}.mdi-font-awesome:before{content:"󰀺"}.mdi-food:before{content:"󰉚"}.mdi-food-apple:before{content:"󰉛"}.mdi-food-apple-outline:before{content:"󰲄"}.mdi-food-croissant:before{content:"󰟈"}.mdi-food-drumstick:before{content:"󱐟"}.mdi-food-drumstick-off:before{content:"󱑨"}.mdi-food-drumstick-off-outline:before{content:"󱑩"}.mdi-food-drumstick-outline:before{content:"󱐠"}.mdi-food-fork-drink:before{content:"󰗲"}.mdi-food-halal:before{content:"󱕲"}.mdi-food-hot-dog:before{content:"󱡋"}.mdi-food-kosher:before{content:"󱕳"}.mdi-food-off:before{content:"󰗳"}.mdi-food-off-outline:before{content:"󱤕"}.mdi-food-outline:before{content:"󱤖"}.mdi-food-steak:before{content:"󱑪"}.mdi-food-steak-off:before{content:"󱑫"}.mdi-food-takeout-box:before{content:"󱠶"}.mdi-food-takeout-box-outline:before{content:"󱠷"}.mdi-food-turkey:before{content:"󱜜"}.mdi-food-variant:before{content:"󰉜"}.mdi-food-variant-off:before{content:"󱏥"}.mdi-foot-print:before{content:"󰽒"}.mdi-football:before{content:"󰉝"}.mdi-football-australian:before{content:"󰉞"}.mdi-football-helmet:before{content:"󰉟"}.mdi-forest:before{content:"󱢗"}.mdi-forest-outline:before{content:"󱱣"}.mdi-forklift:before{content:"󰟉"}.mdi-form-dropdown:before{content:"󱐀"}.mdi-form-select:before{content:"󱐁"}.mdi-form-textarea:before{content:"󱂕"}.mdi-form-textbox:before{content:"󰘎"}.mdi-form-textbox-lock:before{content:"󱍝"}.mdi-form-textbox-password:before{content:"󰟵"}.mdi-format-align-bottom:before{content:"󰝓"}.mdi-format-align-center:before{content:"󰉠"}.mdi-format-align-justify:before{content:"󰉡"}.mdi-format-align-left:before{content:"󰉢"}.mdi-format-align-middle:before{content:"󰝔"}.mdi-format-align-right:before{content:"󰉣"}.mdi-format-align-top:before{content:"󰝕"}.mdi-format-annotation-minus:before{content:"󰪼"}.mdi-format-annotation-plus:before{content:"󰙆"}.mdi-format-bold:before{content:"󰉤"}.mdi-format-clear:before{content:"󰉥"}.mdi-format-color-fill:before{content:"󰉦"}.mdi-format-color-highlight:before{content:"󰸱"}.mdi-format-color-marker-cancel:before{content:"󱌓"}.mdi-format-color-text:before{content:"󰚞"}.mdi-format-columns:before{content:"󰣟"}.mdi-format-float-center:before{content:"󰉧"}.mdi-format-float-left:before{content:"󰉨"}.mdi-format-float-none:before{content:"󰉩"}.mdi-format-float-right:before{content:"󰉪"}.mdi-format-font:before{content:"󰛖"}.mdi-format-font-size-decrease:before{content:"󰧳"}.mdi-format-font-size-increase:before{content:"󰧴"}.mdi-format-header-1:before{content:"󰉫"}.mdi-format-header-2:before{content:"󰉬"}.mdi-format-header-3:before{content:"󰉭"}.mdi-format-header-4:before{content:"󰉮"}.mdi-format-header-5:before{content:"󰉯"}.mdi-format-header-6:before{content:"󰉰"}.mdi-format-header-decrease:before{content:"󰉱"}.mdi-format-header-equal:before{content:"󰉲"}.mdi-format-header-increase:before{content:"󰉳"}.mdi-format-header-pound:before{content:"󰉴"}.mdi-format-horizontal-align-center:before{content:"󰘞"}.mdi-format-horizontal-align-left:before{content:"󰘟"}.mdi-format-horizontal-align-right:before{content:"󰘠"}.mdi-format-indent-decrease:before{content:"󰉵"}.mdi-format-indent-increase:before{content:"󰉶"}.mdi-format-italic:before{content:"󰉷"}.mdi-format-letter-case:before{content:"󰬴"}.mdi-format-letter-case-lower:before{content:"󰬵"}.mdi-format-letter-case-upper:before{content:"󰬶"}.mdi-format-letter-ends-with:before{content:"󰾸"}.mdi-format-letter-matches:before{content:"󰾹"}.mdi-format-letter-spacing:before{content:"󱥖"}.mdi-format-letter-spacing-variant:before{content:"󱫻"}.mdi-format-letter-starts-with:before{content:"󰾺"}.mdi-format-line-height:before{content:"󱫼"}.mdi-format-line-spacing:before{content:"󰉸"}.mdi-format-line-style:before{content:"󰗈"}.mdi-format-line-weight:before{content:"󰗉"}.mdi-format-list-bulleted:before{content:"󰉹"}.mdi-format-list-bulleted-square:before{content:"󰷐"}.mdi-format-list-bulleted-triangle:before{content:"󰺲"}.mdi-format-list-bulleted-type:before{content:"󰉺"}.mdi-format-list-checkbox:before{content:"󰥪"}.mdi-format-list-checks:before{content:"󰝖"}.mdi-format-list-group:before{content:"󱡠"}.mdi-format-list-group-plus:before{content:"󱭖"}.mdi-format-list-numbered:before{content:"󰉻"}.mdi-format-list-numbered-rtl:before{content:"󰴍"}.mdi-format-list-text:before{content:"󱉯"}.mdi-format-overline:before{content:"󰺳"}.mdi-format-page-break:before{content:"󰛗"}.mdi-format-page-split:before{content:"󱤗"}.mdi-format-paint:before{content:"󰉼"}.mdi-format-paragraph:before{content:"󰉽"}.mdi-format-paragraph-spacing:before{content:"󱫽"}.mdi-format-pilcrow:before{content:"󰛘"}.mdi-format-pilcrow-arrow-left:before{content:"󰊆"}.mdi-format-pilcrow-arrow-right:before{content:"󰊅"}.mdi-format-quote-close:before{content:"󰉾"}.mdi-format-quote-close-outline:before{content:"󱆨"}.mdi-format-quote-open:before{content:"󰝗"}.mdi-format-quote-open-outline:before{content:"󱆧"}.mdi-format-rotate-90:before{content:"󰚪"}.mdi-format-section:before{content:"󰚟"}.mdi-format-size:before{content:"󰉿"}.mdi-format-strikethrough:before{content:"󰊀"}.mdi-format-strikethrough-variant:before{content:"󰊁"}.mdi-format-subscript:before{content:"󰊂"}.mdi-format-superscript:before{content:"󰊃"}.mdi-format-text:before{content:"󰊄"}.mdi-format-text-rotation-angle-down:before{content:"󰾻"}.mdi-format-text-rotation-angle-up:before{content:"󰾼"}.mdi-format-text-rotation-down:before{content:"󰵳"}.mdi-format-text-rotation-down-vertical:before{content:"󰾽"}.mdi-format-text-rotation-none:before{content:"󰵴"}.mdi-format-text-rotation-up:before{content:"󰾾"}.mdi-format-text-rotation-vertical:before{content:"󰾿"}.mdi-format-text-variant:before{content:"󰸲"}.mdi-format-text-variant-outline:before{content:"󱔏"}.mdi-format-text-wrapping-clip:before{content:"󰴎"}.mdi-format-text-wrapping-overflow:before{content:"󰴏"}.mdi-format-text-wrapping-wrap:before{content:"󰴐"}.mdi-format-textbox:before{content:"󰴑"}.mdi-format-title:before{content:"󰗴"}.mdi-format-underline:before{content:"󰊇"}.mdi-format-underline-wavy:before{content:"󱣩"}.mdi-format-vertical-align-bottom:before{content:"󰘡"}.mdi-format-vertical-align-center:before{content:"󰘢"}.mdi-format-vertical-align-top:before{content:"󰘣"}.mdi-format-wrap-inline:before{content:"󰊈"}.mdi-format-wrap-square:before{content:"󰊉"}.mdi-format-wrap-tight:before{content:"󰊊"}.mdi-format-wrap-top-bottom:before{content:"󰊋"}.mdi-forum:before{content:"󰊌"}.mdi-forum-minus:before{content:"󱪩"}.mdi-forum-minus-outline:before{content:"󱪪"}.mdi-forum-outline:before{content:"󰠢"}.mdi-forum-plus:before{content:"󱪫"}.mdi-forum-plus-outline:before{content:"󱪬"}.mdi-forum-remove:before{content:"󱪭"}.mdi-forum-remove-outline:before{content:"󱪮"}.mdi-forward:before{content:"󰊍"}.mdi-forwardburger:before{content:"󰵵"}.mdi-fountain:before{content:"󰥫"}.mdi-fountain-pen:before{content:"󰴒"}.mdi-fountain-pen-tip:before{content:"󰴓"}.mdi-fraction-one-half:before{content:"󱦒"}.mdi-freebsd:before{content:"󰣠"}.mdi-french-fries:before{content:"󱥗"}.mdi-frequently-asked-questions:before{content:"󰺴"}.mdi-fridge:before{content:"󰊐"}.mdi-fridge-alert:before{content:"󱆱"}.mdi-fridge-alert-outline:before{content:"󱆲"}.mdi-fridge-bottom:before{content:"󰊒"}.mdi-fridge-industrial:before{content:"󱗮"}.mdi-fridge-industrial-alert:before{content:"󱗯"}.mdi-fridge-industrial-alert-outline:before{content:"󱗰"}.mdi-fridge-industrial-off:before{content:"󱗱"}.mdi-fridge-industrial-off-outline:before{content:"󱗲"}.mdi-fridge-industrial-outline:before{content:"󱗳"}.mdi-fridge-off:before{content:"󱆯"}.mdi-fridge-off-outline:before{content:"󱆰"}.mdi-fridge-outline:before{content:"󰊏"}.mdi-fridge-top:before{content:"󰊑"}.mdi-fridge-variant:before{content:"󱗴"}.mdi-fridge-variant-alert:before{content:"󱗵"}.mdi-fridge-variant-alert-outline:before{content:"󱗶"}.mdi-fridge-variant-off:before{content:"󱗷"}.mdi-fridge-variant-off-outline:before{content:"󱗸"}.mdi-fridge-variant-outline:before{content:"󱗹"}.mdi-fruit-cherries:before{content:"󱁂"}.mdi-fruit-cherries-off:before{content:"󱏸"}.mdi-fruit-citrus:before{content:"󱁃"}.mdi-fruit-citrus-off:before{content:"󱏹"}.mdi-fruit-grapes:before{content:"󱁄"}.mdi-fruit-grapes-outline:before{content:"󱁅"}.mdi-fruit-pear:before{content:"󱨎"}.mdi-fruit-pineapple:before{content:"󱁆"}.mdi-fruit-watermelon:before{content:"󱁇"}.mdi-fuel:before{content:"󰟊"}.mdi-fuel-cell:before{content:"󱢵"}.mdi-fullscreen:before{content:"󰊓"}.mdi-fullscreen-exit:before{content:"󰊔"}.mdi-function:before{content:"󰊕"}.mdi-function-variant:before{content:"󰡱"}.mdi-furigana-horizontal:before{content:"󱂁"}.mdi-furigana-vertical:before{content:"󱂂"}.mdi-fuse:before{content:"󰲅"}.mdi-fuse-alert:before{content:"󱐭"}.mdi-fuse-blade:before{content:"󰲆"}.mdi-fuse-off:before{content:"󱐬"}.mdi-gamepad:before{content:"󰊖"}.mdi-gamepad-circle:before{content:"󰸳"}.mdi-gamepad-circle-down:before{content:"󰸴"}.mdi-gamepad-circle-left:before{content:"󰸵"}.mdi-gamepad-circle-outline:before{content:"󰸶"}.mdi-gamepad-circle-right:before{content:"󰸷"}.mdi-gamepad-circle-up:before{content:"󰸸"}.mdi-gamepad-down:before{content:"󰸹"}.mdi-gamepad-left:before{content:"󰸺"}.mdi-gamepad-outline:before{content:"󱤙"}.mdi-gamepad-right:before{content:"󰸻"}.mdi-gamepad-round:before{content:"󰸼"}.mdi-gamepad-round-down:before{content:"󰸽"}.mdi-gamepad-round-left:before{content:"󰸾"}.mdi-gamepad-round-outline:before{content:"󰸿"}.mdi-gamepad-round-right:before{content:"󰹀"}.mdi-gamepad-round-up:before{content:"󰹁"}.mdi-gamepad-square:before{content:"󰺵"}.mdi-gamepad-square-outline:before{content:"󰺶"}.mdi-gamepad-up:before{content:"󰹂"}.mdi-gamepad-variant:before{content:"󰊗"}.mdi-gamepad-variant-outline:before{content:"󰺷"}.mdi-gamma:before{content:"󱃮"}.mdi-gantry-crane:before{content:"󰷑"}.mdi-garage:before{content:"󰛙"}.mdi-garage-alert:before{content:"󰡲"}.mdi-garage-alert-variant:before{content:"󱋕"}.mdi-garage-lock:before{content:"󱟻"}.mdi-garage-open:before{content:"󰛚"}.mdi-garage-open-variant:before{content:"󱋔"}.mdi-garage-variant:before{content:"󱋓"}.mdi-garage-variant-lock:before{content:"󱟼"}.mdi-gas-burner:before{content:"󱨛"}.mdi-gas-cylinder:before{content:"󰙇"}.mdi-gas-station:before{content:"󰊘"}.mdi-gas-station-off:before{content:"󱐉"}.mdi-gas-station-off-outline:before{content:"󱐊"}.mdi-gas-station-outline:before{content:"󰺸"}.mdi-gate:before{content:"󰊙"}.mdi-gate-alert:before{content:"󱟸"}.mdi-gate-and:before{content:"󰣡"}.mdi-gate-arrow-left:before{content:"󱟷"}.mdi-gate-arrow-right:before{content:"󱅩"}.mdi-gate-buffer:before{content:"󱫾"}.mdi-gate-nand:before{content:"󰣢"}.mdi-gate-nor:before{content:"󰣣"}.mdi-gate-not:before{content:"󰣤"}.mdi-gate-open:before{content:"󱅪"}.mdi-gate-or:before{content:"󰣥"}.mdi-gate-xnor:before{content:"󰣦"}.mdi-gate-xor:before{content:"󰣧"}.mdi-gatsby:before{content:"󰹃"}.mdi-gauge:before{content:"󰊚"}.mdi-gauge-empty:before{content:"󰡳"}.mdi-gauge-full:before{content:"󰡴"}.mdi-gauge-low:before{content:"󰡵"}.mdi-gavel:before{content:"󰊛"}.mdi-gender-female:before{content:"󰊜"}.mdi-gender-male:before{content:"󰊝"}.mdi-gender-male-female:before{content:"󰊞"}.mdi-gender-male-female-variant:before{content:"󱄿"}.mdi-gender-non-binary:before{content:"󱅀"}.mdi-gender-transgender:before{content:"󰊟"}.mdi-gentoo:before{content:"󰣨"}.mdi-gesture:before{content:"󰟋"}.mdi-gesture-double-tap:before{content:"󰜼"}.mdi-gesture-pinch:before{content:"󰪽"}.mdi-gesture-spread:before{content:"󰪾"}.mdi-gesture-swipe:before{content:"󰵶"}.mdi-gesture-swipe-down:before{content:"󰜽"}.mdi-gesture-swipe-horizontal:before{content:"󰪿"}.mdi-gesture-swipe-left:before{content:"󰜾"}.mdi-gesture-swipe-right:before{content:"󰜿"}.mdi-gesture-swipe-up:before{content:"󰝀"}.mdi-gesture-swipe-vertical:before{content:"󰫀"}.mdi-gesture-tap:before{content:"󰝁"}.mdi-gesture-tap-box:before{content:"󱊩"}.mdi-gesture-tap-button:before{content:"󱊨"}.mdi-gesture-tap-hold:before{content:"󰵷"}.mdi-gesture-two-double-tap:before{content:"󰝂"}.mdi-gesture-two-tap:before{content:"󰝃"}.mdi-ghost:before{content:"󰊠"}.mdi-ghost-off:before{content:"󰧵"}.mdi-ghost-off-outline:before{content:"󱙜"}.mdi-ghost-outline:before{content:"󱙝"}.mdi-gift:before{content:"󰹄"}.mdi-gift-off:before{content:"󱛯"}.mdi-gift-off-outline:before{content:"󱛰"}.mdi-gift-open:before{content:"󱛱"}.mdi-gift-open-outline:before{content:"󱛲"}.mdi-gift-outline:before{content:"󰊡"}.mdi-git:before{content:"󰊢"}.mdi-github:before{content:"󰊤"}.mdi-gitlab:before{content:"󰮠"}.mdi-glass-cocktail:before{content:"󰍖"}.mdi-glass-cocktail-off:before{content:"󱗦"}.mdi-glass-flute:before{content:"󰊥"}.mdi-glass-fragile:before{content:"󱡳"}.mdi-glass-mug:before{content:"󰊦"}.mdi-glass-mug-off:before{content:"󱗧"}.mdi-glass-mug-variant:before{content:"󱄖"}.mdi-glass-mug-variant-off:before{content:"󱗨"}.mdi-glass-pint-outline:before{content:"󱌍"}.mdi-glass-stange:before{content:"󰊧"}.mdi-glass-tulip:before{content:"󰊨"}.mdi-glass-wine:before{content:"󰡶"}.mdi-glasses:before{content:"󰊪"}.mdi-globe-light:before{content:"󰙯"}.mdi-globe-light-outline:before{content:"󱋗"}.mdi-globe-model:before{content:"󰣩"}.mdi-gmail:before{content:"󰊫"}.mdi-gnome:before{content:"󰊬"}.mdi-go-kart:before{content:"󰵹"}.mdi-go-kart-track:before{content:"󰵺"}.mdi-gog:before{content:"󰮡"}.mdi-gold:before{content:"󱉏"}.mdi-golf:before{content:"󰠣"}.mdi-golf-cart:before{content:"󱆤"}.mdi-golf-tee:before{content:"󱂃"}.mdi-gondola:before{content:"󰚆"}.mdi-goodreads:before{content:"󰵻"}.mdi-google:before{content:"󰊭"}.mdi-google-ads:before{content:"󰲇"}.mdi-google-analytics:before{content:"󰟌"}.mdi-google-assistant:before{content:"󰟍"}.mdi-google-cardboard:before{content:"󰊮"}.mdi-google-chrome:before{content:"󰊯"}.mdi-google-circles:before{content:"󰊰"}.mdi-google-circles-communities:before{content:"󰊱"}.mdi-google-circles-extended:before{content:"󰊲"}.mdi-google-circles-group:before{content:"󰊳"}.mdi-google-classroom:before{content:"󰋀"}.mdi-google-cloud:before{content:"󱇶"}.mdi-google-downasaur:before{content:"󱍢"}.mdi-google-drive:before{content:"󰊶"}.mdi-google-earth:before{content:"󰊷"}.mdi-google-fit:before{content:"󰥬"}.mdi-google-glass:before{content:"󰊸"}.mdi-google-hangouts:before{content:"󰋉"}.mdi-google-keep:before{content:"󰛜"}.mdi-google-lens:before{content:"󰧶"}.mdi-google-maps:before{content:"󰗵"}.mdi-google-my-business:before{content:"󱁈"}.mdi-google-nearby:before{content:"󰊹"}.mdi-google-play:before{content:"󰊼"}.mdi-google-plus:before{content:"󰊽"}.mdi-google-podcast:before{content:"󰺹"}.mdi-google-spreadsheet:before{content:"󰧷"}.mdi-google-street-view:before{content:"󰲈"}.mdi-google-translate:before{content:"󰊿"}.mdi-gradient-horizontal:before{content:"󱝊"}.mdi-gradient-vertical:before{content:"󰚠"}.mdi-grain:before{content:"󰵼"}.mdi-graph:before{content:"󱁉"}.mdi-graph-outline:before{content:"󱁊"}.mdi-graphql:before{content:"󰡷"}.mdi-grass:before{content:"󱔐"}.mdi-grave-stone:before{content:"󰮢"}.mdi-grease-pencil:before{content:"󰙈"}.mdi-greater-than:before{content:"󰥭"}.mdi-greater-than-or-equal:before{content:"󰥮"}.mdi-greenhouse:before{content:"󰀭"}.mdi-grid:before{content:"󰋁"}.mdi-grid-large:before{content:"󰝘"}.mdi-grid-off:before{content:"󰋂"}.mdi-grill:before{content:"󰹅"}.mdi-grill-outline:before{content:"󱆊"}.mdi-group:before{content:"󰋃"}.mdi-guitar-acoustic:before{content:"󰝱"}.mdi-guitar-electric:before{content:"󰋄"}.mdi-guitar-pick:before{content:"󰋅"}.mdi-guitar-pick-outline:before{content:"󰋆"}.mdi-guy-fawkes-mask:before{content:"󰠥"}.mdi-gymnastics:before{content:"󱩁"}.mdi-hail:before{content:"󰫁"}.mdi-hair-dryer:before{content:"󱃯"}.mdi-hair-dryer-outline:before{content:"󱃰"}.mdi-halloween:before{content:"󰮣"}.mdi-hamburger:before{content:"󰚅"}.mdi-hamburger-check:before{content:"󱝶"}.mdi-hamburger-minus:before{content:"󱝷"}.mdi-hamburger-off:before{content:"󱝸"}.mdi-hamburger-plus:before{content:"󱝹"}.mdi-hamburger-remove:before{content:"󱝺"}.mdi-hammer:before{content:"󰣪"}.mdi-hammer-screwdriver:before{content:"󱌢"}.mdi-hammer-sickle:before{content:"󱢇"}.mdi-hammer-wrench:before{content:"󱌣"}.mdi-hand-back-left:before{content:"󰹆"}.mdi-hand-back-left-off:before{content:"󱠰"}.mdi-hand-back-left-off-outline:before{content:"󱠲"}.mdi-hand-back-left-outline:before{content:"󱠬"}.mdi-hand-back-right:before{content:"󰹇"}.mdi-hand-back-right-off:before{content:"󱠱"}.mdi-hand-back-right-off-outline:before{content:"󱠳"}.mdi-hand-back-right-outline:before{content:"󱠭"}.mdi-hand-clap:before{content:"󱥋"}.mdi-hand-clap-off:before{content:"󱩂"}.mdi-hand-coin:before{content:"󱢏"}.mdi-hand-coin-outline:before{content:"󱢐"}.mdi-hand-cycle:before{content:"󱮜"}.mdi-hand-extended:before{content:"󱢶"}.mdi-hand-extended-outline:before{content:"󱢷"}.mdi-hand-front-left:before{content:"󱠫"}.mdi-hand-front-left-outline:before{content:"󱠮"}.mdi-hand-front-right:before{content:"󰩏"}.mdi-hand-front-right-outline:before{content:"󱠯"}.mdi-hand-heart:before{content:"󱃱"}.mdi-hand-heart-outline:before{content:"󱕾"}.mdi-hand-okay:before{content:"󰩐"}.mdi-hand-peace:before{content:"󰩑"}.mdi-hand-peace-variant:before{content:"󰩒"}.mdi-hand-pointing-down:before{content:"󰩓"}.mdi-hand-pointing-left:before{content:"󰩔"}.mdi-hand-pointing-right:before{content:"󰋇"}.mdi-hand-pointing-up:before{content:"󰩕"}.mdi-hand-saw:before{content:"󰹈"}.mdi-hand-wash:before{content:"󱕿"}.mdi-hand-wash-outline:before{content:"󱖀"}.mdi-hand-water:before{content:"󱎟"}.mdi-hand-wave:before{content:"󱠡"}.mdi-hand-wave-outline:before{content:"󱠢"}.mdi-handball:before{content:"󰽓"}.mdi-handcuffs:before{content:"󱄾"}.mdi-hands-pray:before{content:"󰕹"}.mdi-handshake:before{content:"󱈘"}.mdi-handshake-outline:before{content:"󱖡"}.mdi-hanger:before{content:"󰋈"}.mdi-hard-hat:before{content:"󰥯"}.mdi-harddisk:before{content:"󰋊"}.mdi-harddisk-plus:before{content:"󱁋"}.mdi-harddisk-remove:before{content:"󱁌"}.mdi-hat-fedora:before{content:"󰮤"}.mdi-hazard-lights:before{content:"󰲉"}.mdi-hdmi-port:before{content:"󱮸"}.mdi-hdr:before{content:"󰵽"}.mdi-hdr-off:before{content:"󰵾"}.mdi-head:before{content:"󱍞"}.mdi-head-alert:before{content:"󱌸"}.mdi-head-alert-outline:before{content:"󱌹"}.mdi-head-check:before{content:"󱌺"}.mdi-head-check-outline:before{content:"󱌻"}.mdi-head-cog:before{content:"󱌼"}.mdi-head-cog-outline:before{content:"󱌽"}.mdi-head-dots-horizontal:before{content:"󱌾"}.mdi-head-dots-horizontal-outline:before{content:"󱌿"}.mdi-head-flash:before{content:"󱍀"}.mdi-head-flash-outline:before{content:"󱍁"}.mdi-head-heart:before{content:"󱍂"}.mdi-head-heart-outline:before{content:"󱍃"}.mdi-head-lightbulb:before{content:"󱍄"}.mdi-head-lightbulb-outline:before{content:"󱍅"}.mdi-head-minus:before{content:"󱍆"}.mdi-head-minus-outline:before{content:"󱍇"}.mdi-head-outline:before{content:"󱍟"}.mdi-head-plus:before{content:"󱍈"}.mdi-head-plus-outline:before{content:"󱍉"}.mdi-head-question:before{content:"󱍊"}.mdi-head-question-outline:before{content:"󱍋"}.mdi-head-remove:before{content:"󱍌"}.mdi-head-remove-outline:before{content:"󱍍"}.mdi-head-snowflake:before{content:"󱍎"}.mdi-head-snowflake-outline:before{content:"󱍏"}.mdi-head-sync:before{content:"󱍐"}.mdi-head-sync-outline:before{content:"󱍑"}.mdi-headphones:before{content:"󰋋"}.mdi-headphones-bluetooth:before{content:"󰥰"}.mdi-headphones-box:before{content:"󰋌"}.mdi-headphones-off:before{content:"󰟎"}.mdi-headphones-settings:before{content:"󰋍"}.mdi-headset:before{content:"󰋎"}.mdi-headset-dock:before{content:"󰋏"}.mdi-headset-off:before{content:"󰋐"}.mdi-heart:before{content:"󰋑"}.mdi-heart-box:before{content:"󰋒"}.mdi-heart-box-outline:before{content:"󰋓"}.mdi-heart-broken:before{content:"󰋔"}.mdi-heart-broken-outline:before{content:"󰴔"}.mdi-heart-circle:before{content:"󰥱"}.mdi-heart-circle-outline:before{content:"󰥲"}.mdi-heart-cog:before{content:"󱙣"}.mdi-heart-cog-outline:before{content:"󱙤"}.mdi-heart-flash:before{content:"󰻹"}.mdi-heart-half:before{content:"󰛟"}.mdi-heart-half-full:before{content:"󰛞"}.mdi-heart-half-outline:before{content:"󰛠"}.mdi-heart-minus:before{content:"󱐯"}.mdi-heart-minus-outline:before{content:"󱐲"}.mdi-heart-multiple:before{content:"󰩖"}.mdi-heart-multiple-outline:before{content:"󰩗"}.mdi-heart-off:before{content:"󰝙"}.mdi-heart-off-outline:before{content:"󱐴"}.mdi-heart-outline:before{content:"󰋕"}.mdi-heart-plus:before{content:"󱐮"}.mdi-heart-plus-outline:before{content:"󱐱"}.mdi-heart-pulse:before{content:"󰗶"}.mdi-heart-remove:before{content:"󱐰"}.mdi-heart-remove-outline:before{content:"󱐳"}.mdi-heart-settings:before{content:"󱙥"}.mdi-heart-settings-outline:before{content:"󱙦"}.mdi-heat-pump:before{content:"󱩃"}.mdi-heat-pump-outline:before{content:"󱩄"}.mdi-heat-wave:before{content:"󱩅"}.mdi-heating-coil:before{content:"󱪯"}.mdi-helicopter:before{content:"󰫂"}.mdi-help:before{content:"󰋖"}.mdi-help-box:before{content:"󰞋"}.mdi-help-box-multiple:before{content:"󱰊"}.mdi-help-box-multiple-outline:before{content:"󱰋"}.mdi-help-box-outline:before{content:"󱰌"}.mdi-help-circle:before{content:"󰋗"}.mdi-help-circle-outline:before{content:"󰘥"}.mdi-help-network:before{content:"󰛵"}.mdi-help-network-outline:before{content:"󰲊"}.mdi-help-rhombus:before{content:"󰮥"}.mdi-help-rhombus-outline:before{content:"󰮦"}.mdi-hexadecimal:before{content:"󱊧"}.mdi-hexagon:before{content:"󰋘"}.mdi-hexagon-multiple:before{content:"󰛡"}.mdi-hexagon-multiple-outline:before{content:"󱃲"}.mdi-hexagon-outline:before{content:"󰋙"}.mdi-hexagon-slice-1:before{content:"󰫃"}.mdi-hexagon-slice-2:before{content:"󰫄"}.mdi-hexagon-slice-3:before{content:"󰫅"}.mdi-hexagon-slice-4:before{content:"󰫆"}.mdi-hexagon-slice-5:before{content:"󰫇"}.mdi-hexagon-slice-6:before{content:"󰫈"}.mdi-hexagram:before{content:"󰫉"}.mdi-hexagram-outline:before{content:"󰫊"}.mdi-high-definition:before{content:"󰟏"}.mdi-high-definition-box:before{content:"󰡸"}.mdi-highway:before{content:"󰗷"}.mdi-hiking:before{content:"󰵿"}.mdi-history:before{content:"󰋚"}.mdi-hockey-puck:before{content:"󰡹"}.mdi-hockey-sticks:before{content:"󰡺"}.mdi-hololens:before{content:"󰋛"}.mdi-home:before{content:"󰋜"}.mdi-home-account:before{content:"󰠦"}.mdi-home-alert:before{content:"󰡻"}.mdi-home-alert-outline:before{content:"󱗐"}.mdi-home-analytics:before{content:"󰺺"}.mdi-home-assistant:before{content:"󰟐"}.mdi-home-automation:before{content:"󰟑"}.mdi-home-battery:before{content:"󱤁"}.mdi-home-battery-outline:before{content:"󱤂"}.mdi-home-circle:before{content:"󰟒"}.mdi-home-circle-outline:before{content:"󱁍"}.mdi-home-city:before{content:"󰴕"}.mdi-home-city-outline:before{content:"󰴖"}.mdi-home-clock:before{content:"󱨒"}.mdi-home-clock-outline:before{content:"󱨓"}.mdi-home-edit:before{content:"󱅙"}.mdi-home-edit-outline:before{content:"󱅚"}.mdi-home-export-outline:before{content:"󰾛"}.mdi-home-flood:before{content:"󰻺"}.mdi-home-floor-0:before{content:"󰷒"}.mdi-home-floor-1:before{content:"󰶀"}.mdi-home-floor-2:before{content:"󰶁"}.mdi-home-floor-3:before{content:"󰶂"}.mdi-home-floor-a:before{content:"󰶃"}.mdi-home-floor-b:before{content:"󰶄"}.mdi-home-floor-g:before{content:"󰶅"}.mdi-home-floor-l:before{content:"󰶆"}.mdi-home-floor-negative-1:before{content:"󰷓"}.mdi-home-group:before{content:"󰷔"}.mdi-home-group-minus:before{content:"󱧁"}.mdi-home-group-plus:before{content:"󱧀"}.mdi-home-group-remove:before{content:"󱧂"}.mdi-home-heart:before{content:"󰠧"}.mdi-home-import-outline:before{content:"󰾜"}.mdi-home-lightbulb:before{content:"󱉑"}.mdi-home-lightbulb-outline:before{content:"󱉒"}.mdi-home-lightning-bolt:before{content:"󱤃"}.mdi-home-lightning-bolt-outline:before{content:"󱤄"}.mdi-home-lock:before{content:"󰣫"}.mdi-home-lock-open:before{content:"󰣬"}.mdi-home-map-marker:before{content:"󰗸"}.mdi-home-minus:before{content:"󰥴"}.mdi-home-minus-outline:before{content:"󱏕"}.mdi-home-modern:before{content:"󰋝"}.mdi-home-off:before{content:"󱩆"}.mdi-home-off-outline:before{content:"󱩇"}.mdi-home-outline:before{content:"󰚡"}.mdi-home-percent:before{content:"󱱼"}.mdi-home-percent-outline:before{content:"󱱽"}.mdi-home-plus:before{content:"󰥵"}.mdi-home-plus-outline:before{content:"󱏖"}.mdi-home-remove:before{content:"󱉇"}.mdi-home-remove-outline:before{content:"󱏗"}.mdi-home-roof:before{content:"󱄫"}.mdi-home-search:before{content:"󱎰"}.mdi-home-search-outline:before{content:"󱎱"}.mdi-home-silo:before{content:"󱮠"}.mdi-home-silo-outline:before{content:"󱮡"}.mdi-home-sound-in:before{content:"󱰯"}.mdi-home-sound-in-outline:before{content:"󱰰"}.mdi-home-sound-out:before{content:"󱰱"}.mdi-home-sound-out-outline:before{content:"󱰲"}.mdi-home-switch:before{content:"󱞔"}.mdi-home-switch-outline:before{content:"󱞕"}.mdi-home-thermometer:before{content:"󰽔"}.mdi-home-thermometer-outline:before{content:"󰽕"}.mdi-home-variant:before{content:"󰋞"}.mdi-home-variant-outline:before{content:"󰮧"}.mdi-hook:before{content:"󰛢"}.mdi-hook-off:before{content:"󰛣"}.mdi-hoop-house:before{content:"󰹖"}.mdi-hops:before{content:"󰋟"}.mdi-horizontal-rotate-clockwise:before{content:"󱃳"}.mdi-horizontal-rotate-counterclockwise:before{content:"󱃴"}.mdi-horse:before{content:"󱖿"}.mdi-horse-human:before{content:"󱗀"}.mdi-horse-variant:before{content:"󱗁"}.mdi-horse-variant-fast:before{content:"󱡮"}.mdi-horseshoe:before{content:"󰩘"}.mdi-hospital:before{content:"󰿶"}.mdi-hospital-box:before{content:"󰋠"}.mdi-hospital-box-outline:before{content:"󰿷"}.mdi-hospital-building:before{content:"󰋡"}.mdi-hospital-marker:before{content:"󰋢"}.mdi-hot-tub:before{content:"󰠨"}.mdi-hours-24:before{content:"󱑸"}.mdi-hubspot:before{content:"󰴗"}.mdi-hulu:before{content:"󰠩"}.mdi-human:before{content:"󰋦"}.mdi-human-baby-changing-table:before{content:"󱎋"}.mdi-human-cane:before{content:"󱖁"}.mdi-human-capacity-decrease:before{content:"󱖛"}.mdi-human-capacity-increase:before{content:"󱖜"}.mdi-human-child:before{content:"󰋧"}.mdi-human-dolly:before{content:"󱦀"}.mdi-human-edit:before{content:"󱓨"}.mdi-human-female:before{content:"󰙉"}.mdi-human-female-boy:before{content:"󰩙"}.mdi-human-female-dance:before{content:"󱗉"}.mdi-human-female-female:before{content:"󰩚"}.mdi-human-female-girl:before{content:"󰩛"}.mdi-human-greeting:before{content:"󱟄"}.mdi-human-greeting-proximity:before{content:"󱖝"}.mdi-human-greeting-variant:before{content:"󰙊"}.mdi-human-handsdown:before{content:"󰙋"}.mdi-human-handsup:before{content:"󰙌"}.mdi-human-male:before{content:"󰙍"}.mdi-human-male-board:before{content:"󰢐"}.mdi-human-male-board-poll:before{content:"󰡆"}.mdi-human-male-boy:before{content:"󰩜"}.mdi-human-male-child:before{content:"󱎌"}.mdi-human-male-female:before{content:"󰋨"}.mdi-human-male-female-child:before{content:"󱠣"}.mdi-human-male-girl:before{content:"󰩝"}.mdi-human-male-height:before{content:"󰻻"}.mdi-human-male-height-variant:before{content:"󰻼"}.mdi-human-male-male:before{content:"󰩞"}.mdi-human-non-binary:before{content:"󱡈"}.mdi-human-pregnant:before{content:"󰗏"}.mdi-human-queue:before{content:"󱕱"}.mdi-human-scooter:before{content:"󱇩"}.mdi-human-walker:before{content:"󱭱"}.mdi-human-wheelchair:before{content:"󱎍"}.mdi-human-white-cane:before{content:"󱦁"}.mdi-humble-bundle:before{content:"󰝄"}.mdi-hvac:before{content:"󱍒"}.mdi-hvac-off:before{content:"󱖞"}.mdi-hydraulic-oil-level:before{content:"󱌤"}.mdi-hydraulic-oil-temperature:before{content:"󱌥"}.mdi-hydro-power:before{content:"󱋥"}.mdi-hydrogen-station:before{content:"󱢔"}.mdi-ice-cream:before{content:"󰠪"}.mdi-ice-cream-off:before{content:"󰹒"}.mdi-ice-pop:before{content:"󰻽"}.mdi-id-card:before{content:"󰿀"}.mdi-identifier:before{content:"󰻾"}.mdi-ideogram-cjk:before{content:"󱌱"}.mdi-ideogram-cjk-variant:before{content:"󱌲"}.mdi-image:before{content:"󰋩"}.mdi-image-album:before{content:"󰋪"}.mdi-image-area:before{content:"󰋫"}.mdi-image-area-close:before{content:"󰋬"}.mdi-image-auto-adjust:before{content:"󰿁"}.mdi-image-broken:before{content:"󰋭"}.mdi-image-broken-variant:before{content:"󰋮"}.mdi-image-check:before{content:"󱬥"}.mdi-image-check-outline:before{content:"󱬦"}.mdi-image-edit:before{content:"󱇣"}.mdi-image-edit-outline:before{content:"󱇤"}.mdi-image-filter-black-white:before{content:"󰋰"}.mdi-image-filter-center-focus:before{content:"󰋱"}.mdi-image-filter-center-focus-strong:before{content:"󰻿"}.mdi-image-filter-center-focus-strong-outline:before{content:"󰼀"}.mdi-image-filter-center-focus-weak:before{content:"󰋲"}.mdi-image-filter-drama:before{content:"󰋳"}.mdi-image-filter-drama-outline:before{content:"󱯿"}.mdi-image-filter-frames:before{content:"󰋴"}.mdi-image-filter-hdr:before{content:"󰋵"}.mdi-image-filter-hdr-outline:before{content:"󱱤"}.mdi-image-filter-none:before{content:"󰋶"}.mdi-image-filter-tilt-shift:before{content:"󰋷"}.mdi-image-filter-vintage:before{content:"󰋸"}.mdi-image-frame:before{content:"󰹉"}.mdi-image-lock:before{content:"󱪰"}.mdi-image-lock-outline:before{content:"󱪱"}.mdi-image-marker:before{content:"󱝻"}.mdi-image-marker-outline:before{content:"󱝼"}.mdi-image-minus:before{content:"󱐙"}.mdi-image-minus-outline:before{content:"󱭇"}.mdi-image-move:before{content:"󰧸"}.mdi-image-multiple:before{content:"󰋹"}.mdi-image-multiple-outline:before{content:"󰋯"}.mdi-image-off:before{content:"󰠫"}.mdi-image-off-outline:before{content:"󱇑"}.mdi-image-outline:before{content:"󰥶"}.mdi-image-plus:before{content:"󰡼"}.mdi-image-plus-outline:before{content:"󱭆"}.mdi-image-refresh:before{content:"󱧾"}.mdi-image-refresh-outline:before{content:"󱧿"}.mdi-image-remove:before{content:"󱐘"}.mdi-image-remove-outline:before{content:"󱭈"}.mdi-image-search:before{content:"󰥷"}.mdi-image-search-outline:before{content:"󰥸"}.mdi-image-size-select-actual:before{content:"󰲍"}.mdi-image-size-select-large:before{content:"󰲎"}.mdi-image-size-select-small:before{content:"󰲏"}.mdi-image-sync:before{content:"󱨀"}.mdi-image-sync-outline:before{content:"󱨁"}.mdi-image-text:before{content:"󱘍"}.mdi-import:before{content:"󰋺"}.mdi-inbox:before{content:"󰚇"}.mdi-inbox-arrow-down:before{content:"󰋻"}.mdi-inbox-arrow-down-outline:before{content:"󱉰"}.mdi-inbox-arrow-up:before{content:"󰏑"}.mdi-inbox-arrow-up-outline:before{content:"󱉱"}.mdi-inbox-full:before{content:"󱉲"}.mdi-inbox-full-outline:before{content:"󱉳"}.mdi-inbox-multiple:before{content:"󰢰"}.mdi-inbox-multiple-outline:before{content:"󰮨"}.mdi-inbox-outline:before{content:"󱉴"}.mdi-inbox-remove:before{content:"󱖟"}.mdi-inbox-remove-outline:before{content:"󱖠"}.mdi-incognito:before{content:"󰗹"}.mdi-incognito-circle:before{content:"󱐡"}.mdi-incognito-circle-off:before{content:"󱐢"}.mdi-incognito-off:before{content:"󰁵"}.mdi-induction:before{content:"󱡌"}.mdi-infinity:before{content:"󰛤"}.mdi-information:before{content:"󰋼"}.mdi-information-box:before{content:"󱱥"}.mdi-information-box-outline:before{content:"󱱦"}.mdi-information-off:before{content:"󱞌"}.mdi-information-off-outline:before{content:"󱞍"}.mdi-information-outline:before{content:"󰋽"}.mdi-information-slab-box:before{content:"󱱧"}.mdi-information-slab-box-outline:before{content:"󱱨"}.mdi-information-slab-circle:before{content:"󱱩"}.mdi-information-slab-circle-outline:before{content:"󱱪"}.mdi-information-slab-symbol:before{content:"󱱫"}.mdi-information-symbol:before{content:"󱱬"}.mdi-information-variant:before{content:"󰙎"}.mdi-information-variant-box:before{content:"󱱭"}.mdi-information-variant-box-outline:before{content:"󱱮"}.mdi-information-variant-circle:before{content:"󱱯"}.mdi-information-variant-circle-outline:before{content:"󱱰"}.mdi-instagram:before{content:"󰋾"}.mdi-instrument-triangle:before{content:"󱁎"}.mdi-integrated-circuit-chip:before{content:"󱤓"}.mdi-invert-colors:before{content:"󰌁"}.mdi-invert-colors-off:before{content:"󰹊"}.mdi-iobroker:before{content:"󱋨"}.mdi-ip:before{content:"󰩟"}.mdi-ip-network:before{content:"󰩠"}.mdi-ip-network-outline:before{content:"󰲐"}.mdi-ip-outline:before{content:"󱦂"}.mdi-ipod:before{content:"󰲑"}.mdi-iron:before{content:"󱠤"}.mdi-iron-board:before{content:"󱠸"}.mdi-iron-outline:before{content:"󱠥"}.mdi-island:before{content:"󱁏"}.mdi-iv-bag:before{content:"󱂹"}.mdi-jabber:before{content:"󰷕"}.mdi-jeepney:before{content:"󰌂"}.mdi-jellyfish:before{content:"󰼁"}.mdi-jellyfish-outline:before{content:"󰼂"}.mdi-jira:before{content:"󰌃"}.mdi-jquery:before{content:"󰡽"}.mdi-jsfiddle:before{content:"󰌄"}.mdi-jump-rope:before{content:"󱋿"}.mdi-kabaddi:before{content:"󰶇"}.mdi-kangaroo:before{content:"󱕘"}.mdi-karate:before{content:"󰠬"}.mdi-kayaking:before{content:"󰢯"}.mdi-keg:before{content:"󰌅"}.mdi-kettle:before{content:"󰗺"}.mdi-kettle-alert:before{content:"󱌗"}.mdi-kettle-alert-outline:before{content:"󱌘"}.mdi-kettle-off:before{content:"󱌛"}.mdi-kettle-off-outline:before{content:"󱌜"}.mdi-kettle-outline:before{content:"󰽖"}.mdi-kettle-pour-over:before{content:"󱜼"}.mdi-kettle-steam:before{content:"󱌙"}.mdi-kettle-steam-outline:before{content:"󱌚"}.mdi-kettlebell:before{content:"󱌀"}.mdi-key:before{content:"󰌆"}.mdi-key-alert:before{content:"󱦃"}.mdi-key-alert-outline:before{content:"󱦄"}.mdi-key-arrow-right:before{content:"󱌒"}.mdi-key-chain:before{content:"󱕴"}.mdi-key-chain-variant:before{content:"󱕵"}.mdi-key-change:before{content:"󰌇"}.mdi-key-link:before{content:"󱆟"}.mdi-key-minus:before{content:"󰌈"}.mdi-key-outline:before{content:"󰷖"}.mdi-key-plus:before{content:"󰌉"}.mdi-key-remove:before{content:"󰌊"}.mdi-key-star:before{content:"󱆞"}.mdi-key-variant:before{content:"󰌋"}.mdi-key-wireless:before{content:"󰿂"}.mdi-keyboard:before{content:"󰌌"}.mdi-keyboard-backspace:before{content:"󰌍"}.mdi-keyboard-caps:before{content:"󰌎"}.mdi-keyboard-close:before{content:"󰌏"}.mdi-keyboard-close-outline:before{content:"󱰀"}.mdi-keyboard-esc:before{content:"󱊷"}.mdi-keyboard-f1:before{content:"󱊫"}.mdi-keyboard-f10:before{content:"󱊴"}.mdi-keyboard-f11:before{content:"󱊵"}.mdi-keyboard-f12:before{content:"󱊶"}.mdi-keyboard-f2:before{content:"󱊬"}.mdi-keyboard-f3:before{content:"󱊭"}.mdi-keyboard-f4:before{content:"󱊮"}.mdi-keyboard-f5:before{content:"󱊯"}.mdi-keyboard-f6:before{content:"󱊰"}.mdi-keyboard-f7:before{content:"󱊱"}.mdi-keyboard-f8:before{content:"󱊲"}.mdi-keyboard-f9:before{content:"󱊳"}.mdi-keyboard-off:before{content:"󰌐"}.mdi-keyboard-off-outline:before{content:"󰹋"}.mdi-keyboard-outline:before{content:"󰥻"}.mdi-keyboard-return:before{content:"󰌑"}.mdi-keyboard-settings:before{content:"󰧹"}.mdi-keyboard-settings-outline:before{content:"󰧺"}.mdi-keyboard-space:before{content:"󱁐"}.mdi-keyboard-tab:before{content:"󰌒"}.mdi-keyboard-tab-reverse:before{content:"󰌥"}.mdi-keyboard-variant:before{content:"󰌓"}.mdi-khanda:before{content:"󱃽"}.mdi-kickstarter:before{content:"󰝅"}.mdi-kite:before{content:"󱦅"}.mdi-kite-outline:before{content:"󱦆"}.mdi-kitesurfing:before{content:"󱝄"}.mdi-klingon:before{content:"󱍛"}.mdi-knife:before{content:"󰧻"}.mdi-knife-military:before{content:"󰧼"}.mdi-knob:before{content:"󱮖"}.mdi-koala:before{content:"󱜿"}.mdi-kodi:before{content:"󰌔"}.mdi-kubernetes:before{content:"󱃾"}.mdi-label:before{content:"󰌕"}.mdi-label-multiple:before{content:"󱍵"}.mdi-label-multiple-outline:before{content:"󱍶"}.mdi-label-off:before{content:"󰫋"}.mdi-label-off-outline:before{content:"󰫌"}.mdi-label-outline:before{content:"󰌖"}.mdi-label-percent:before{content:"󱋪"}.mdi-label-percent-outline:before{content:"󱋫"}.mdi-label-variant:before{content:"󰫍"}.mdi-label-variant-outline:before{content:"󰫎"}.mdi-ladder:before{content:"󱖢"}.mdi-ladybug:before{content:"󰠭"}.mdi-lambda:before{content:"󰘧"}.mdi-lamp:before{content:"󰚵"}.mdi-lamp-outline:before{content:"󱟐"}.mdi-lamps:before{content:"󱕶"}.mdi-lamps-outline:before{content:"󱟑"}.mdi-lan:before{content:"󰌗"}.mdi-lan-check:before{content:"󱊪"}.mdi-lan-connect:before{content:"󰌘"}.mdi-lan-disconnect:before{content:"󰌙"}.mdi-lan-pending:before{content:"󰌚"}.mdi-land-fields:before{content:"󱪲"}.mdi-land-plots:before{content:"󱪳"}.mdi-land-plots-circle:before{content:"󱪴"}.mdi-land-plots-circle-variant:before{content:"󱪵"}.mdi-land-plots-marker:before{content:"󱱝"}.mdi-land-rows-horizontal:before{content:"󱪶"}.mdi-land-rows-vertical:before{content:"󱪷"}.mdi-landslide:before{content:"󱩈"}.mdi-landslide-outline:before{content:"󱩉"}.mdi-language-c:before{content:"󰙱"}.mdi-language-cpp:before{content:"󰙲"}.mdi-language-csharp:before{content:"󰌛"}.mdi-language-css3:before{content:"󰌜"}.mdi-language-fortran:before{content:"󱈚"}.mdi-language-go:before{content:"󰟓"}.mdi-language-haskell:before{content:"󰲒"}.mdi-language-html5:before{content:"󰌝"}.mdi-language-java:before{content:"󰬷"}.mdi-language-javascript:before{content:"󰌞"}.mdi-language-kotlin:before{content:"󱈙"}.mdi-language-lua:before{content:"󰢱"}.mdi-language-markdown:before{content:"󰍔"}.mdi-language-markdown-outline:before{content:"󰽛"}.mdi-language-php:before{content:"󰌟"}.mdi-language-python:before{content:"󰌠"}.mdi-language-r:before{content:"󰟔"}.mdi-language-ruby:before{content:"󰴭"}.mdi-language-ruby-on-rails:before{content:"󰫏"}.mdi-language-rust:before{content:"󱘗"}.mdi-language-swift:before{content:"󰛥"}.mdi-language-typescript:before{content:"󰛦"}.mdi-language-xaml:before{content:"󰙳"}.mdi-laptop:before{content:"󰌢"}.mdi-laptop-account:before{content:"󱩊"}.mdi-laptop-off:before{content:"󰛧"}.mdi-laravel:before{content:"󰫐"}.mdi-laser-pointer:before{content:"󱒄"}.mdi-lasso:before{content:"󰼃"}.mdi-lastpass:before{content:"󰑆"}.mdi-latitude:before{content:"󰽗"}.mdi-launch:before{content:"󰌧"}.mdi-lava-lamp:before{content:"󰟕"}.mdi-layers:before{content:"󰌨"}.mdi-layers-edit:before{content:"󱢒"}.mdi-layers-minus:before{content:"󰹌"}.mdi-layers-off:before{content:"󰌩"}.mdi-layers-off-outline:before{content:"󰧽"}.mdi-layers-outline:before{content:"󰧾"}.mdi-layers-plus:before{content:"󰹍"}.mdi-layers-remove:before{content:"󰹎"}.mdi-layers-search:before{content:"󱈆"}.mdi-layers-search-outline:before{content:"󱈇"}.mdi-layers-triple:before{content:"󰽘"}.mdi-layers-triple-outline:before{content:"󰽙"}.mdi-lead-pencil:before{content:"󰙏"}.mdi-leaf:before{content:"󰌪"}.mdi-leaf-circle:before{content:"󱤅"}.mdi-leaf-circle-outline:before{content:"󱤆"}.mdi-leaf-maple:before{content:"󰲓"}.mdi-leaf-maple-off:before{content:"󱋚"}.mdi-leaf-off:before{content:"󱋙"}.mdi-leak:before{content:"󰷗"}.mdi-leak-off:before{content:"󰷘"}.mdi-lectern:before{content:"󱫰"}.mdi-led-off:before{content:"󰌫"}.mdi-led-on:before{content:"󰌬"}.mdi-led-outline:before{content:"󰌭"}.mdi-led-strip:before{content:"󰟖"}.mdi-led-strip-variant:before{content:"󱁑"}.mdi-led-strip-variant-off:before{content:"󱩋"}.mdi-led-variant-off:before{content:"󰌮"}.mdi-led-variant-on:before{content:"󰌯"}.mdi-led-variant-outline:before{content:"󰌰"}.mdi-leek:before{content:"󱅽"}.mdi-less-than:before{content:"󰥼"}.mdi-less-than-or-equal:before{content:"󰥽"}.mdi-library:before{content:"󰌱"}.mdi-library-outline:before{content:"󱨢"}.mdi-library-shelves:before{content:"󰮩"}.mdi-license:before{content:"󰿃"}.mdi-lifebuoy:before{content:"󰡾"}.mdi-light-flood-down:before{content:"󱦇"}.mdi-light-flood-up:before{content:"󱦈"}.mdi-light-recessed:before{content:"󱞛"}.mdi-light-switch:before{content:"󰥾"}.mdi-light-switch-off:before{content:"󱨤"}.mdi-lightbulb:before{content:"󰌵"}.mdi-lightbulb-alert:before{content:"󱧡"}.mdi-lightbulb-alert-outline:before{content:"󱧢"}.mdi-lightbulb-auto:before{content:"󱠀"}.mdi-lightbulb-auto-outline:before{content:"󱠁"}.mdi-lightbulb-cfl:before{content:"󱈈"}.mdi-lightbulb-cfl-off:before{content:"󱈉"}.mdi-lightbulb-cfl-spiral:before{content:"󱉵"}.mdi-lightbulb-cfl-spiral-off:before{content:"󱋃"}.mdi-lightbulb-fluorescent-tube:before{content:"󱠄"}.mdi-lightbulb-fluorescent-tube-outline:before{content:"󱠅"}.mdi-lightbulb-group:before{content:"󱉓"}.mdi-lightbulb-group-off:before{content:"󱋍"}.mdi-lightbulb-group-off-outline:before{content:"󱋎"}.mdi-lightbulb-group-outline:before{content:"󱉔"}.mdi-lightbulb-multiple:before{content:"󱉕"}.mdi-lightbulb-multiple-off:before{content:"󱋏"}.mdi-lightbulb-multiple-off-outline:before{content:"󱋐"}.mdi-lightbulb-multiple-outline:before{content:"󱉖"}.mdi-lightbulb-night:before{content:"󱩌"}.mdi-lightbulb-night-outline:before{content:"󱩍"}.mdi-lightbulb-off:before{content:"󰹏"}.mdi-lightbulb-off-outline:before{content:"󰹐"}.mdi-lightbulb-on:before{content:"󰛨"}.mdi-lightbulb-on-10:before{content:"󱩎"}.mdi-lightbulb-on-20:before{content:"󱩏"}.mdi-lightbulb-on-30:before{content:"󱩐"}.mdi-lightbulb-on-40:before{content:"󱩑"}.mdi-lightbulb-on-50:before{content:"󱩒"}.mdi-lightbulb-on-60:before{content:"󱩓"}.mdi-lightbulb-on-70:before{content:"󱩔"}.mdi-lightbulb-on-80:before{content:"󱩕"}.mdi-lightbulb-on-90:before{content:"󱩖"}.mdi-lightbulb-on-outline:before{content:"󰛩"}.mdi-lightbulb-outline:before{content:"󰌶"}.mdi-lightbulb-question:before{content:"󱧣"}.mdi-lightbulb-question-outline:before{content:"󱧤"}.mdi-lightbulb-spot:before{content:"󱟴"}.mdi-lightbulb-spot-off:before{content:"󱟵"}.mdi-lightbulb-variant:before{content:"󱠂"}.mdi-lightbulb-variant-outline:before{content:"󱠃"}.mdi-lighthouse:before{content:"󰧿"}.mdi-lighthouse-on:before{content:"󰨀"}.mdi-lightning-bolt:before{content:"󱐋"}.mdi-lightning-bolt-circle:before{content:"󰠠"}.mdi-lightning-bolt-outline:before{content:"󱐌"}.mdi-line-scan:before{content:"󰘤"}.mdi-lingerie:before{content:"󱑶"}.mdi-link:before{content:"󰌷"}.mdi-link-box:before{content:"󰴚"}.mdi-link-box-outline:before{content:"󰴛"}.mdi-link-box-variant:before{content:"󰴜"}.mdi-link-box-variant-outline:before{content:"󰴝"}.mdi-link-lock:before{content:"󱂺"}.mdi-link-off:before{content:"󰌸"}.mdi-link-plus:before{content:"󰲔"}.mdi-link-variant:before{content:"󰌹"}.mdi-link-variant-minus:before{content:"󱃿"}.mdi-link-variant-off:before{content:"󰌺"}.mdi-link-variant-plus:before{content:"󱄀"}.mdi-link-variant-remove:before{content:"󱄁"}.mdi-linkedin:before{content:"󰌻"}.mdi-linux:before{content:"󰌽"}.mdi-linux-mint:before{content:"󰣭"}.mdi-lipstick:before{content:"󱎵"}.mdi-liquid-spot:before{content:"󱠦"}.mdi-liquor:before{content:"󱤞"}.mdi-list-box:before{content:"󱭻"}.mdi-list-box-outline:before{content:"󱭼"}.mdi-list-status:before{content:"󱖫"}.mdi-litecoin:before{content:"󰩡"}.mdi-loading:before{content:"󰝲"}.mdi-location-enter:before{content:"󰿄"}.mdi-location-exit:before{content:"󰿅"}.mdi-lock:before{content:"󰌾"}.mdi-lock-alert:before{content:"󰣮"}.mdi-lock-alert-outline:before{content:"󱗑"}.mdi-lock-check:before{content:"󱎚"}.mdi-lock-check-outline:before{content:"󱚨"}.mdi-lock-clock:before{content:"󰥿"}.mdi-lock-minus:before{content:"󱚩"}.mdi-lock-minus-outline:before{content:"󱚪"}.mdi-lock-off:before{content:"󱙱"}.mdi-lock-off-outline:before{content:"󱙲"}.mdi-lock-open:before{content:"󰌿"}.mdi-lock-open-alert:before{content:"󱎛"}.mdi-lock-open-alert-outline:before{content:"󱗒"}.mdi-lock-open-check:before{content:"󱎜"}.mdi-lock-open-check-outline:before{content:"󱚫"}.mdi-lock-open-minus:before{content:"󱚬"}.mdi-lock-open-minus-outline:before{content:"󱚭"}.mdi-lock-open-outline:before{content:"󰍀"}.mdi-lock-open-plus:before{content:"󱚮"}.mdi-lock-open-plus-outline:before{content:"󱚯"}.mdi-lock-open-remove:before{content:"󱚰"}.mdi-lock-open-remove-outline:before{content:"󱚱"}.mdi-lock-open-variant:before{content:"󰿆"}.mdi-lock-open-variant-outline:before{content:"󰿇"}.mdi-lock-outline:before{content:"󰍁"}.mdi-lock-pattern:before{content:"󰛪"}.mdi-lock-percent:before{content:"󱰒"}.mdi-lock-percent-open:before{content:"󱰓"}.mdi-lock-percent-open-outline:before{content:"󱰔"}.mdi-lock-percent-open-variant:before{content:"󱰕"}.mdi-lock-percent-open-variant-outline:before{content:"󱰖"}.mdi-lock-percent-outline:before{content:"󱰗"}.mdi-lock-plus:before{content:"󰗻"}.mdi-lock-plus-outline:before{content:"󱚲"}.mdi-lock-question:before{content:"󰣯"}.mdi-lock-remove:before{content:"󱚳"}.mdi-lock-remove-outline:before{content:"󱚴"}.mdi-lock-reset:before{content:"󰝳"}.mdi-lock-smart:before{content:"󰢲"}.mdi-locker:before{content:"󰟗"}.mdi-locker-multiple:before{content:"󰟘"}.mdi-login:before{content:"󰍂"}.mdi-login-variant:before{content:"󰗼"}.mdi-logout:before{content:"󰍃"}.mdi-logout-variant:before{content:"󰗽"}.mdi-longitude:before{content:"󰽚"}.mdi-looks:before{content:"󰍄"}.mdi-lotion:before{content:"󱖂"}.mdi-lotion-outline:before{content:"󱖃"}.mdi-lotion-plus:before{content:"󱖄"}.mdi-lotion-plus-outline:before{content:"󱖅"}.mdi-loupe:before{content:"󰍅"}.mdi-lumx:before{content:"󰍆"}.mdi-lungs:before{content:"󱂄"}.mdi-mace:before{content:"󱡃"}.mdi-magazine-pistol:before{content:"󰌤"}.mdi-magazine-rifle:before{content:"󰌣"}.mdi-magic-staff:before{content:"󱡄"}.mdi-magnet:before{content:"󰍇"}.mdi-magnet-on:before{content:"󰍈"}.mdi-magnify:before{content:"󰍉"}.mdi-magnify-close:before{content:"󰦀"}.mdi-magnify-expand:before{content:"󱡴"}.mdi-magnify-minus:before{content:"󰍊"}.mdi-magnify-minus-cursor:before{content:"󰩢"}.mdi-magnify-minus-outline:before{content:"󰛬"}.mdi-magnify-plus:before{content:"󰍋"}.mdi-magnify-plus-cursor:before{content:"󰩣"}.mdi-magnify-plus-outline:before{content:"󰛭"}.mdi-magnify-remove-cursor:before{content:"󱈌"}.mdi-magnify-remove-outline:before{content:"󱈍"}.mdi-magnify-scan:before{content:"󱉶"}.mdi-mail:before{content:"󰺻"}.mdi-mailbox:before{content:"󰛮"}.mdi-mailbox-open:before{content:"󰶈"}.mdi-mailbox-open-outline:before{content:"󰶉"}.mdi-mailbox-open-up:before{content:"󰶊"}.mdi-mailbox-open-up-outline:before{content:"󰶋"}.mdi-mailbox-outline:before{content:"󰶌"}.mdi-mailbox-up:before{content:"󰶍"}.mdi-mailbox-up-outline:before{content:"󰶎"}.mdi-manjaro:before{content:"󱘊"}.mdi-map:before{content:"󰍍"}.mdi-map-check:before{content:"󰺼"}.mdi-map-check-outline:before{content:"󰺽"}.mdi-map-clock:before{content:"󰴞"}.mdi-map-clock-outline:before{content:"󰴟"}.mdi-map-legend:before{content:"󰨁"}.mdi-map-marker:before{content:"󰍎"}.mdi-map-marker-account:before{content:"󱣣"}.mdi-map-marker-account-outline:before{content:"󱣤"}.mdi-map-marker-alert:before{content:"󰼅"}.mdi-map-marker-alert-outline:before{content:"󰼆"}.mdi-map-marker-check:before{content:"󰲕"}.mdi-map-marker-check-outline:before{content:"󱋻"}.mdi-map-marker-circle:before{content:"󰍏"}.mdi-map-marker-distance:before{content:"󰣰"}.mdi-map-marker-down:before{content:"󱄂"}.mdi-map-marker-left:before{content:"󱋛"}.mdi-map-marker-left-outline:before{content:"󱋝"}.mdi-map-marker-minus:before{content:"󰙐"}.mdi-map-marker-minus-outline:before{content:"󱋹"}.mdi-map-marker-multiple:before{content:"󰍐"}.mdi-map-marker-multiple-outline:before{content:"󱉷"}.mdi-map-marker-off:before{content:"󰍑"}.mdi-map-marker-off-outline:before{content:"󱋽"}.mdi-map-marker-outline:before{content:"󰟙"}.mdi-map-marker-path:before{content:"󰴠"}.mdi-map-marker-plus:before{content:"󰙑"}.mdi-map-marker-plus-outline:before{content:"󱋸"}.mdi-map-marker-question:before{content:"󰼇"}.mdi-map-marker-question-outline:before{content:"󰼈"}.mdi-map-marker-radius:before{content:"󰍒"}.mdi-map-marker-radius-outline:before{content:"󱋼"}.mdi-map-marker-remove:before{content:"󰼉"}.mdi-map-marker-remove-outline:before{content:"󱋺"}.mdi-map-marker-remove-variant:before{content:"󰼊"}.mdi-map-marker-right:before{content:"󱋜"}.mdi-map-marker-right-outline:before{content:"󱋞"}.mdi-map-marker-star:before{content:"󱘈"}.mdi-map-marker-star-outline:before{content:"󱘉"}.mdi-map-marker-up:before{content:"󱄃"}.mdi-map-minus:before{content:"󰦁"}.mdi-map-outline:before{content:"󰦂"}.mdi-map-plus:before{content:"󰦃"}.mdi-map-search:before{content:"󰦄"}.mdi-map-search-outline:before{content:"󰦅"}.mdi-mapbox:before{content:"󰮪"}.mdi-margin:before{content:"󰍓"}.mdi-marker:before{content:"󰙒"}.mdi-marker-cancel:before{content:"󰷙"}.mdi-marker-check:before{content:"󰍕"}.mdi-mastodon:before{content:"󰫑"}.mdi-material-design:before{content:"󰦆"}.mdi-material-ui:before{content:"󰍗"}.mdi-math-compass:before{content:"󰍘"}.mdi-math-cos:before{content:"󰲖"}.mdi-math-integral:before{content:"󰿈"}.mdi-math-integral-box:before{content:"󰿉"}.mdi-math-log:before{content:"󱂅"}.mdi-math-norm:before{content:"󰿊"}.mdi-math-norm-box:before{content:"󰿋"}.mdi-math-sin:before{content:"󰲗"}.mdi-math-tan:before{content:"󰲘"}.mdi-matrix:before{content:"󰘨"}.mdi-medal:before{content:"󰦇"}.mdi-medal-outline:before{content:"󱌦"}.mdi-medical-bag:before{content:"󰛯"}.mdi-medical-cotton-swab:before{content:"󱪸"}.mdi-medication:before{content:"󱬔"}.mdi-medication-outline:before{content:"󱬕"}.mdi-meditation:before{content:"󱅻"}.mdi-memory:before{content:"󰍛"}.mdi-menorah:before{content:"󱟔"}.mdi-menorah-fire:before{content:"󱟕"}.mdi-menu:before{content:"󰍜"}.mdi-menu-down:before{content:"󰍝"}.mdi-menu-down-outline:before{content:"󰚶"}.mdi-menu-left:before{content:"󰍞"}.mdi-menu-left-outline:before{content:"󰨂"}.mdi-menu-open:before{content:"󰮫"}.mdi-menu-right:before{content:"󰍟"}.mdi-menu-right-outline:before{content:"󰨃"}.mdi-menu-swap:before{content:"󰩤"}.mdi-menu-swap-outline:before{content:"󰩥"}.mdi-menu-up:before{content:"󰍠"}.mdi-menu-up-outline:before{content:"󰚷"}.mdi-merge:before{content:"󰽜"}.mdi-message:before{content:"󰍡"}.mdi-message-alert:before{content:"󰍢"}.mdi-message-alert-outline:before{content:"󰨄"}.mdi-message-arrow-left:before{content:"󱋲"}.mdi-message-arrow-left-outline:before{content:"󱋳"}.mdi-message-arrow-right:before{content:"󱋴"}.mdi-message-arrow-right-outline:before{content:"󱋵"}.mdi-message-badge:before{content:"󱥁"}.mdi-message-badge-outline:before{content:"󱥂"}.mdi-message-bookmark:before{content:"󱖬"}.mdi-message-bookmark-outline:before{content:"󱖭"}.mdi-message-bulleted:before{content:"󰚢"}.mdi-message-bulleted-off:before{content:"󰚣"}.mdi-message-check:before{content:"󱮊"}.mdi-message-check-outline:before{content:"󱮋"}.mdi-message-cog:before{content:"󰛱"}.mdi-message-cog-outline:before{content:"󱅲"}.mdi-message-draw:before{content:"󰍣"}.mdi-message-fast:before{content:"󱧌"}.mdi-message-fast-outline:before{content:"󱧍"}.mdi-message-flash:before{content:"󱖩"}.mdi-message-flash-outline:before{content:"󱖪"}.mdi-message-image:before{content:"󰍤"}.mdi-message-image-outline:before{content:"󱅬"}.mdi-message-lock:before{content:"󰿌"}.mdi-message-lock-outline:before{content:"󱅭"}.mdi-message-minus:before{content:"󱅮"}.mdi-message-minus-outline:before{content:"󱅯"}.mdi-message-off:before{content:"󱙍"}.mdi-message-off-outline:before{content:"󱙎"}.mdi-message-outline:before{content:"󰍥"}.mdi-message-plus:before{content:"󰙓"}.mdi-message-plus-outline:before{content:"󱂻"}.mdi-message-processing:before{content:"󰍦"}.mdi-message-processing-outline:before{content:"󱅰"}.mdi-message-question:before{content:"󱜺"}.mdi-message-question-outline:before{content:"󱜻"}.mdi-message-reply:before{content:"󰍧"}.mdi-message-reply-outline:before{content:"󱜽"}.mdi-message-reply-text:before{content:"󰍨"}.mdi-message-reply-text-outline:before{content:"󱜾"}.mdi-message-settings:before{content:"󰛰"}.mdi-message-settings-outline:before{content:"󱅱"}.mdi-message-star:before{content:"󰚚"}.mdi-message-star-outline:before{content:"󱉐"}.mdi-message-text:before{content:"󰍩"}.mdi-message-text-clock:before{content:"󱅳"}.mdi-message-text-clock-outline:before{content:"󱅴"}.mdi-message-text-fast:before{content:"󱧎"}.mdi-message-text-fast-outline:before{content:"󱧏"}.mdi-message-text-lock:before{content:"󰿍"}.mdi-message-text-lock-outline:before{content:"󱅵"}.mdi-message-text-outline:before{content:"󰍪"}.mdi-message-video:before{content:"󰍫"}.mdi-meteor:before{content:"󰘩"}.mdi-meter-electric:before{content:"󱩗"}.mdi-meter-electric-outline:before{content:"󱩘"}.mdi-meter-gas:before{content:"󱩙"}.mdi-meter-gas-outline:before{content:"󱩚"}.mdi-metronome:before{content:"󰟚"}.mdi-metronome-tick:before{content:"󰟛"}.mdi-micro-sd:before{content:"󰟜"}.mdi-microphone:before{content:"󰍬"}.mdi-microphone-message:before{content:"󰔊"}.mdi-microphone-message-off:before{content:"󰔋"}.mdi-microphone-minus:before{content:"󰢳"}.mdi-microphone-off:before{content:"󰍭"}.mdi-microphone-outline:before{content:"󰍮"}.mdi-microphone-plus:before{content:"󰢴"}.mdi-microphone-question:before{content:"󱦉"}.mdi-microphone-question-outline:before{content:"󱦊"}.mdi-microphone-settings:before{content:"󰍯"}.mdi-microphone-variant:before{content:"󰍰"}.mdi-microphone-variant-off:before{content:"󰍱"}.mdi-microscope:before{content:"󰙔"}.mdi-microsoft:before{content:"󰍲"}.mdi-microsoft-access:before{content:"󱎎"}.mdi-microsoft-azure:before{content:"󰠅"}.mdi-microsoft-azure-devops:before{content:"󰿕"}.mdi-microsoft-bing:before{content:"󰂤"}.mdi-microsoft-dynamics-365:before{content:"󰦈"}.mdi-microsoft-edge:before{content:"󰇩"}.mdi-microsoft-excel:before{content:"󱎏"}.mdi-microsoft-internet-explorer:before{content:"󰌀"}.mdi-microsoft-office:before{content:"󰏆"}.mdi-microsoft-onedrive:before{content:"󰏊"}.mdi-microsoft-onenote:before{content:"󰝇"}.mdi-microsoft-outlook:before{content:"󰴢"}.mdi-microsoft-powerpoint:before{content:"󱎐"}.mdi-microsoft-sharepoint:before{content:"󱎑"}.mdi-microsoft-teams:before{content:"󰊻"}.mdi-microsoft-visual-studio:before{content:"󰘐"}.mdi-microsoft-visual-studio-code:before{content:"󰨞"}.mdi-microsoft-windows:before{content:"󰖳"}.mdi-microsoft-windows-classic:before{content:"󰨡"}.mdi-microsoft-word:before{content:"󱎒"}.mdi-microsoft-xbox:before{content:"󰖹"}.mdi-microsoft-xbox-controller:before{content:"󰖺"}.mdi-microsoft-xbox-controller-battery-alert:before{content:"󰝋"}.mdi-microsoft-xbox-controller-battery-charging:before{content:"󰨢"}.mdi-microsoft-xbox-controller-battery-empty:before{content:"󰝌"}.mdi-microsoft-xbox-controller-battery-full:before{content:"󰝍"}.mdi-microsoft-xbox-controller-battery-low:before{content:"󰝎"}.mdi-microsoft-xbox-controller-battery-medium:before{content:"󰝏"}.mdi-microsoft-xbox-controller-battery-unknown:before{content:"󰝐"}.mdi-microsoft-xbox-controller-menu:before{content:"󰹯"}.mdi-microsoft-xbox-controller-off:before{content:"󰖻"}.mdi-microsoft-xbox-controller-view:before{content:"󰹰"}.mdi-microwave:before{content:"󰲙"}.mdi-microwave-off:before{content:"󱐣"}.mdi-middleware:before{content:"󰽝"}.mdi-middleware-outline:before{content:"󰽞"}.mdi-midi:before{content:"󰣱"}.mdi-midi-port:before{content:"󰣲"}.mdi-mine:before{content:"󰷚"}.mdi-minecraft:before{content:"󰍳"}.mdi-mini-sd:before{content:"󰨅"}.mdi-minidisc:before{content:"󰨆"}.mdi-minus:before{content:"󰍴"}.mdi-minus-box:before{content:"󰍵"}.mdi-minus-box-multiple:before{content:"󱅁"}.mdi-minus-box-multiple-outline:before{content:"󱅂"}.mdi-minus-box-outline:before{content:"󰛲"}.mdi-minus-circle:before{content:"󰍶"}.mdi-minus-circle-multiple:before{content:"󰍚"}.mdi-minus-circle-multiple-outline:before{content:"󰫓"}.mdi-minus-circle-off:before{content:"󱑙"}.mdi-minus-circle-off-outline:before{content:"󱑚"}.mdi-minus-circle-outline:before{content:"󰍷"}.mdi-minus-network:before{content:"󰍸"}.mdi-minus-network-outline:before{content:"󰲚"}.mdi-minus-thick:before{content:"󱘹"}.mdi-mirror:before{content:"󱇽"}.mdi-mirror-rectangle:before{content:"󱞟"}.mdi-mirror-variant:before{content:"󱞠"}.mdi-mixed-martial-arts:before{content:"󰶏"}.mdi-mixed-reality:before{content:"󰡿"}.mdi-molecule:before{content:"󰮬"}.mdi-molecule-co:before{content:"󱋾"}.mdi-molecule-co2:before{content:"󰟤"}.mdi-monitor:before{content:"󰍹"}.mdi-monitor-account:before{content:"󱩛"}.mdi-monitor-arrow-down:before{content:"󱧐"}.mdi-monitor-arrow-down-variant:before{content:"󱧑"}.mdi-monitor-cellphone:before{content:"󰦉"}.mdi-monitor-cellphone-star:before{content:"󰦊"}.mdi-monitor-dashboard:before{content:"󰨇"}.mdi-monitor-edit:before{content:"󱋆"}.mdi-monitor-eye:before{content:"󱎴"}.mdi-monitor-lock:before{content:"󰷛"}.mdi-monitor-multiple:before{content:"󰍺"}.mdi-monitor-off:before{content:"󰶐"}.mdi-monitor-screenshot:before{content:"󰹑"}.mdi-monitor-share:before{content:"󱒃"}.mdi-monitor-shimmer:before{content:"󱄄"}.mdi-monitor-small:before{content:"󱡶"}.mdi-monitor-speaker:before{content:"󰽟"}.mdi-monitor-speaker-off:before{content:"󰽠"}.mdi-monitor-star:before{content:"󰷜"}.mdi-monitor-vertical:before{content:"󱰳"}.mdi-moon-first-quarter:before{content:"󰽡"}.mdi-moon-full:before{content:"󰽢"}.mdi-moon-last-quarter:before{content:"󰽣"}.mdi-moon-new:before{content:"󰽤"}.mdi-moon-waning-crescent:before{content:"󰽥"}.mdi-moon-waning-gibbous:before{content:"󰽦"}.mdi-moon-waxing-crescent:before{content:"󰽧"}.mdi-moon-waxing-gibbous:before{content:"󰽨"}.mdi-moped:before{content:"󱂆"}.mdi-moped-electric:before{content:"󱖷"}.mdi-moped-electric-outline:before{content:"󱖸"}.mdi-moped-outline:before{content:"󱖹"}.mdi-more:before{content:"󰍻"}.mdi-mortar-pestle:before{content:"󱝈"}.mdi-mortar-pestle-plus:before{content:"󰏱"}.mdi-mosque:before{content:"󰵅"}.mdi-mosque-outline:before{content:"󱠧"}.mdi-mother-heart:before{content:"󱌔"}.mdi-mother-nurse:before{content:"󰴡"}.mdi-motion:before{content:"󱖲"}.mdi-motion-outline:before{content:"󱖳"}.mdi-motion-pause:before{content:"󱖐"}.mdi-motion-pause-outline:before{content:"󱖒"}.mdi-motion-play:before{content:"󱖏"}.mdi-motion-play-outline:before{content:"󱖑"}.mdi-motion-sensor:before{content:"󰶑"}.mdi-motion-sensor-off:before{content:"󱐵"}.mdi-motorbike:before{content:"󰍼"}.mdi-motorbike-electric:before{content:"󱖺"}.mdi-motorbike-off:before{content:"󱬖"}.mdi-mouse:before{content:"󰍽"}.mdi-mouse-bluetooth:before{content:"󰦋"}.mdi-mouse-move-down:before{content:"󱕐"}.mdi-mouse-move-up:before{content:"󱕑"}.mdi-mouse-move-vertical:before{content:"󱕒"}.mdi-mouse-off:before{content:"󰍾"}.mdi-mouse-variant:before{content:"󰍿"}.mdi-mouse-variant-off:before{content:"󰎀"}.mdi-move-resize:before{content:"󰙕"}.mdi-move-resize-variant:before{content:"󰙖"}.mdi-movie:before{content:"󰎁"}.mdi-movie-check:before{content:"󱛳"}.mdi-movie-check-outline:before{content:"󱛴"}.mdi-movie-cog:before{content:"󱛵"}.mdi-movie-cog-outline:before{content:"󱛶"}.mdi-movie-edit:before{content:"󱄢"}.mdi-movie-edit-outline:before{content:"󱄣"}.mdi-movie-filter:before{content:"󱄤"}.mdi-movie-filter-outline:before{content:"󱄥"}.mdi-movie-minus:before{content:"󱛷"}.mdi-movie-minus-outline:before{content:"󱛸"}.mdi-movie-off:before{content:"󱛹"}.mdi-movie-off-outline:before{content:"󱛺"}.mdi-movie-open:before{content:"󰿎"}.mdi-movie-open-check:before{content:"󱛻"}.mdi-movie-open-check-outline:before{content:"󱛼"}.mdi-movie-open-cog:before{content:"󱛽"}.mdi-movie-open-cog-outline:before{content:"󱛾"}.mdi-movie-open-edit:before{content:"󱛿"}.mdi-movie-open-edit-outline:before{content:"󱜀"}.mdi-movie-open-minus:before{content:"󱜁"}.mdi-movie-open-minus-outline:before{content:"󱜂"}.mdi-movie-open-off:before{content:"󱜃"}.mdi-movie-open-off-outline:before{content:"󱜄"}.mdi-movie-open-outline:before{content:"󰿏"}.mdi-movie-open-play:before{content:"󱜅"}.mdi-movie-open-play-outline:before{content:"󱜆"}.mdi-movie-open-plus:before{content:"󱜇"}.mdi-movie-open-plus-outline:before{content:"󱜈"}.mdi-movie-open-remove:before{content:"󱜉"}.mdi-movie-open-remove-outline:before{content:"󱜊"}.mdi-movie-open-settings:before{content:"󱜋"}.mdi-movie-open-settings-outline:before{content:"󱜌"}.mdi-movie-open-star:before{content:"󱜍"}.mdi-movie-open-star-outline:before{content:"󱜎"}.mdi-movie-outline:before{content:"󰷝"}.mdi-movie-play:before{content:"󱜏"}.mdi-movie-play-outline:before{content:"󱜐"}.mdi-movie-plus:before{content:"󱜑"}.mdi-movie-plus-outline:before{content:"󱜒"}.mdi-movie-remove:before{content:"󱜓"}.mdi-movie-remove-outline:before{content:"󱜔"}.mdi-movie-roll:before{content:"󰟞"}.mdi-movie-search:before{content:"󱇒"}.mdi-movie-search-outline:before{content:"󱇓"}.mdi-movie-settings:before{content:"󱜕"}.mdi-movie-settings-outline:before{content:"󱜖"}.mdi-movie-star:before{content:"󱜗"}.mdi-movie-star-outline:before{content:"󱜘"}.mdi-mower:before{content:"󱙯"}.mdi-mower-bag:before{content:"󱙰"}.mdi-mower-bag-on:before{content:"󱭠"}.mdi-mower-on:before{content:"󱭟"}.mdi-muffin:before{content:"󰦌"}.mdi-multicast:before{content:"󱢓"}.mdi-multimedia:before{content:"󱮗"}.mdi-multiplication:before{content:"󰎂"}.mdi-multiplication-box:before{content:"󰎃"}.mdi-mushroom:before{content:"󰟟"}.mdi-mushroom-off:before{content:"󱏺"}.mdi-mushroom-off-outline:before{content:"󱏻"}.mdi-mushroom-outline:before{content:"󰟠"}.mdi-music:before{content:"󰝚"}.mdi-music-accidental-double-flat:before{content:"󰽩"}.mdi-music-accidental-double-sharp:before{content:"󰽪"}.mdi-music-accidental-flat:before{content:"󰽫"}.mdi-music-accidental-natural:before{content:"󰽬"}.mdi-music-accidental-sharp:before{content:"󰽭"}.mdi-music-box:before{content:"󰎄"}.mdi-music-box-multiple:before{content:"󰌳"}.mdi-music-box-multiple-outline:before{content:"󰼄"}.mdi-music-box-outline:before{content:"󰎅"}.mdi-music-circle:before{content:"󰎆"}.mdi-music-circle-outline:before{content:"󰫔"}.mdi-music-clef-alto:before{content:"󰽮"}.mdi-music-clef-bass:before{content:"󰽯"}.mdi-music-clef-treble:before{content:"󰽰"}.mdi-music-note:before{content:"󰎇"}.mdi-music-note-bluetooth:before{content:"󰗾"}.mdi-music-note-bluetooth-off:before{content:"󰗿"}.mdi-music-note-eighth:before{content:"󰎈"}.mdi-music-note-eighth-dotted:before{content:"󰽱"}.mdi-music-note-half:before{content:"󰎉"}.mdi-music-note-half-dotted:before{content:"󰽲"}.mdi-music-note-minus:before{content:"󱮉"}.mdi-music-note-off:before{content:"󰎊"}.mdi-music-note-off-outline:before{content:"󰽳"}.mdi-music-note-outline:before{content:"󰽴"}.mdi-music-note-plus:before{content:"󰷞"}.mdi-music-note-quarter:before{content:"󰎋"}.mdi-music-note-quarter-dotted:before{content:"󰽵"}.mdi-music-note-sixteenth:before{content:"󰎌"}.mdi-music-note-sixteenth-dotted:before{content:"󰽶"}.mdi-music-note-whole:before{content:"󰎍"}.mdi-music-note-whole-dotted:before{content:"󰽷"}.mdi-music-off:before{content:"󰝛"}.mdi-music-rest-eighth:before{content:"󰽸"}.mdi-music-rest-half:before{content:"󰽹"}.mdi-music-rest-quarter:before{content:"󰽺"}.mdi-music-rest-sixteenth:before{content:"󰽻"}.mdi-music-rest-whole:before{content:"󰽼"}.mdi-mustache:before{content:"󱗞"}.mdi-nail:before{content:"󰷟"}.mdi-nas:before{content:"󰣳"}.mdi-nativescript:before{content:"󰢀"}.mdi-nature:before{content:"󰎎"}.mdi-nature-outline:before{content:"󱱱"}.mdi-nature-people:before{content:"󰎏"}.mdi-nature-people-outline:before{content:"󱱲"}.mdi-navigation:before{content:"󰎐"}.mdi-navigation-outline:before{content:"󱘇"}.mdi-navigation-variant:before{content:"󱣰"}.mdi-navigation-variant-outline:before{content:"󱣱"}.mdi-near-me:before{content:"󰗍"}.mdi-necklace:before{content:"󰼋"}.mdi-needle:before{content:"󰎑"}.mdi-needle-off:before{content:"󱧒"}.mdi-netflix:before{content:"󰝆"}.mdi-network:before{content:"󰛳"}.mdi-network-off:before{content:"󰲛"}.mdi-network-off-outline:before{content:"󰲜"}.mdi-network-outline:before{content:"󰲝"}.mdi-network-pos:before{content:"󱫋"}.mdi-network-strength-1:before{content:"󰣴"}.mdi-network-strength-1-alert:before{content:"󰣵"}.mdi-network-strength-2:before{content:"󰣶"}.mdi-network-strength-2-alert:before{content:"󰣷"}.mdi-network-strength-3:before{content:"󰣸"}.mdi-network-strength-3-alert:before{content:"󰣹"}.mdi-network-strength-4:before{content:"󰣺"}.mdi-network-strength-4-alert:before{content:"󰣻"}.mdi-network-strength-4-cog:before{content:"󱤚"}.mdi-network-strength-off:before{content:"󰣼"}.mdi-network-strength-off-outline:before{content:"󰣽"}.mdi-network-strength-outline:before{content:"󰣾"}.mdi-new-box:before{content:"󰎔"}.mdi-newspaper:before{content:"󰎕"}.mdi-newspaper-check:before{content:"󱥃"}.mdi-newspaper-minus:before{content:"󰼌"}.mdi-newspaper-plus:before{content:"󰼍"}.mdi-newspaper-remove:before{content:"󱥄"}.mdi-newspaper-variant:before{content:"󱀁"}.mdi-newspaper-variant-multiple:before{content:"󱀂"}.mdi-newspaper-variant-multiple-outline:before{content:"󱀃"}.mdi-newspaper-variant-outline:before{content:"󱀄"}.mdi-nfc:before{content:"󰎖"}.mdi-nfc-search-variant:before{content:"󰹓"}.mdi-nfc-tap:before{content:"󰎗"}.mdi-nfc-variant:before{content:"󰎘"}.mdi-nfc-variant-off:before{content:"󰹔"}.mdi-ninja:before{content:"󰝴"}.mdi-nintendo-game-boy:before{content:"󱎓"}.mdi-nintendo-switch:before{content:"󰟡"}.mdi-nintendo-wii:before{content:"󰖫"}.mdi-nintendo-wiiu:before{content:"󰜭"}.mdi-nix:before{content:"󱄅"}.mdi-nodejs:before{content:"󰎙"}.mdi-noodles:before{content:"󱅾"}.mdi-not-equal:before{content:"󰦍"}.mdi-not-equal-variant:before{content:"󰦎"}.mdi-note:before{content:"󰎚"}.mdi-note-alert:before{content:"󱝽"}.mdi-note-alert-outline:before{content:"󱝾"}.mdi-note-check:before{content:"󱝿"}.mdi-note-check-outline:before{content:"󱞀"}.mdi-note-edit:before{content:"󱞁"}.mdi-note-edit-outline:before{content:"󱞂"}.mdi-note-minus:before{content:"󱙏"}.mdi-note-minus-outline:before{content:"󱙐"}.mdi-note-multiple:before{content:"󰚸"}.mdi-note-multiple-outline:before{content:"󰚹"}.mdi-note-off:before{content:"󱞃"}.mdi-note-off-outline:before{content:"󱞄"}.mdi-note-outline:before{content:"󰎛"}.mdi-note-plus:before{content:"󰎜"}.mdi-note-plus-outline:before{content:"󰎝"}.mdi-note-remove:before{content:"󱙑"}.mdi-note-remove-outline:before{content:"󱙒"}.mdi-note-search:before{content:"󱙓"}.mdi-note-search-outline:before{content:"󱙔"}.mdi-note-text:before{content:"󰎞"}.mdi-note-text-outline:before{content:"󱇗"}.mdi-notebook:before{content:"󰠮"}.mdi-notebook-check:before{content:"󱓵"}.mdi-notebook-check-outline:before{content:"󱓶"}.mdi-notebook-edit:before{content:"󱓧"}.mdi-notebook-edit-outline:before{content:"󱓩"}.mdi-notebook-heart:before{content:"󱨋"}.mdi-notebook-heart-outline:before{content:"󱨌"}.mdi-notebook-minus:before{content:"󱘐"}.mdi-notebook-minus-outline:before{content:"󱘑"}.mdi-notebook-multiple:before{content:"󰹕"}.mdi-notebook-outline:before{content:"󰺿"}.mdi-notebook-plus:before{content:"󱘒"}.mdi-notebook-plus-outline:before{content:"󱘓"}.mdi-notebook-remove:before{content:"󱘔"}.mdi-notebook-remove-outline:before{content:"󱘕"}.mdi-notification-clear-all:before{content:"󰎟"}.mdi-npm:before{content:"󰛷"}.mdi-nuke:before{content:"󰚤"}.mdi-null:before{content:"󰟢"}.mdi-numeric:before{content:"󰎠"}.mdi-numeric-0:before{content:"󰬹"}.mdi-numeric-0-box:before{content:"󰎡"}.mdi-numeric-0-box-multiple:before{content:"󰼎"}.mdi-numeric-0-box-multiple-outline:before{content:"󰎢"}.mdi-numeric-0-box-outline:before{content:"󰎣"}.mdi-numeric-0-circle:before{content:"󰲞"}.mdi-numeric-0-circle-outline:before{content:"󰲟"}.mdi-numeric-1:before{content:"󰬺"}.mdi-numeric-1-box:before{content:"󰎤"}.mdi-numeric-1-box-multiple:before{content:"󰼏"}.mdi-numeric-1-box-multiple-outline:before{content:"󰎥"}.mdi-numeric-1-box-outline:before{content:"󰎦"}.mdi-numeric-1-circle:before{content:"󰲠"}.mdi-numeric-1-circle-outline:before{content:"󰲡"}.mdi-numeric-10:before{content:"󰿩"}.mdi-numeric-10-box:before{content:"󰽽"}.mdi-numeric-10-box-multiple:before{content:"󰿪"}.mdi-numeric-10-box-multiple-outline:before{content:"󰿫"}.mdi-numeric-10-box-outline:before{content:"󰽾"}.mdi-numeric-10-circle:before{content:"󰿬"}.mdi-numeric-10-circle-outline:before{content:"󰿭"}.mdi-numeric-2:before{content:"󰬻"}.mdi-numeric-2-box:before{content:"󰎧"}.mdi-numeric-2-box-multiple:before{content:"󰼐"}.mdi-numeric-2-box-multiple-outline:before{content:"󰎨"}.mdi-numeric-2-box-outline:before{content:"󰎩"}.mdi-numeric-2-circle:before{content:"󰲢"}.mdi-numeric-2-circle-outline:before{content:"󰲣"}.mdi-numeric-3:before{content:"󰬼"}.mdi-numeric-3-box:before{content:"󰎪"}.mdi-numeric-3-box-multiple:before{content:"󰼑"}.mdi-numeric-3-box-multiple-outline:before{content:"󰎫"}.mdi-numeric-3-box-outline:before{content:"󰎬"}.mdi-numeric-3-circle:before{content:"󰲤"}.mdi-numeric-3-circle-outline:before{content:"󰲥"}.mdi-numeric-4:before{content:"󰬽"}.mdi-numeric-4-box:before{content:"󰎭"}.mdi-numeric-4-box-multiple:before{content:"󰼒"}.mdi-numeric-4-box-multiple-outline:before{content:"󰎲"}.mdi-numeric-4-box-outline:before{content:"󰎮"}.mdi-numeric-4-circle:before{content:"󰲦"}.mdi-numeric-4-circle-outline:before{content:"󰲧"}.mdi-numeric-5:before{content:"󰬾"}.mdi-numeric-5-box:before{content:"󰎱"}.mdi-numeric-5-box-multiple:before{content:"󰼓"}.mdi-numeric-5-box-multiple-outline:before{content:"󰎯"}.mdi-numeric-5-box-outline:before{content:"󰎰"}.mdi-numeric-5-circle:before{content:"󰲨"}.mdi-numeric-5-circle-outline:before{content:"󰲩"}.mdi-numeric-6:before{content:"󰬿"}.mdi-numeric-6-box:before{content:"󰎳"}.mdi-numeric-6-box-multiple:before{content:"󰼔"}.mdi-numeric-6-box-multiple-outline:before{content:"󰎴"}.mdi-numeric-6-box-outline:before{content:"󰎵"}.mdi-numeric-6-circle:before{content:"󰲪"}.mdi-numeric-6-circle-outline:before{content:"󰲫"}.mdi-numeric-7:before{content:"󰭀"}.mdi-numeric-7-box:before{content:"󰎶"}.mdi-numeric-7-box-multiple:before{content:"󰼕"}.mdi-numeric-7-box-multiple-outline:before{content:"󰎷"}.mdi-numeric-7-box-outline:before{content:"󰎸"}.mdi-numeric-7-circle:before{content:"󰲬"}.mdi-numeric-7-circle-outline:before{content:"󰲭"}.mdi-numeric-8:before{content:"󰭁"}.mdi-numeric-8-box:before{content:"󰎹"}.mdi-numeric-8-box-multiple:before{content:"󰼖"}.mdi-numeric-8-box-multiple-outline:before{content:"󰎺"}.mdi-numeric-8-box-outline:before{content:"󰎻"}.mdi-numeric-8-circle:before{content:"󰲮"}.mdi-numeric-8-circle-outline:before{content:"󰲯"}.mdi-numeric-9:before{content:"󰭂"}.mdi-numeric-9-box:before{content:"󰎼"}.mdi-numeric-9-box-multiple:before{content:"󰼗"}.mdi-numeric-9-box-multiple-outline:before{content:"󰎽"}.mdi-numeric-9-box-outline:before{content:"󰎾"}.mdi-numeric-9-circle:before{content:"󰲰"}.mdi-numeric-9-circle-outline:before{content:"󰲱"}.mdi-numeric-9-plus:before{content:"󰿮"}.mdi-numeric-9-plus-box:before{content:"󰎿"}.mdi-numeric-9-plus-box-multiple:before{content:"󰼘"}.mdi-numeric-9-plus-box-multiple-outline:before{content:"󰏀"}.mdi-numeric-9-plus-box-outline:before{content:"󰏁"}.mdi-numeric-9-plus-circle:before{content:"󰲲"}.mdi-numeric-9-plus-circle-outline:before{content:"󰲳"}.mdi-numeric-negative-1:before{content:"󱁒"}.mdi-numeric-off:before{content:"󱧓"}.mdi-numeric-positive-1:before{content:"󱗋"}.mdi-nut:before{content:"󰛸"}.mdi-nutrition:before{content:"󰏂"}.mdi-nuxt:before{content:"󱄆"}.mdi-oar:before{content:"󰙼"}.mdi-ocarina:before{content:"󰷠"}.mdi-oci:before{content:"󱋩"}.mdi-ocr:before{content:"󱄺"}.mdi-octagon:before{content:"󰏃"}.mdi-octagon-outline:before{content:"󰏄"}.mdi-octagram:before{content:"󰛹"}.mdi-octagram-edit:before{content:"󱰴"}.mdi-octagram-edit-outline:before{content:"󱰵"}.mdi-octagram-minus:before{content:"󱰶"}.mdi-octagram-minus-outline:before{content:"󱰷"}.mdi-octagram-outline:before{content:"󰝵"}.mdi-octagram-plus:before{content:"󱰸"}.mdi-octagram-plus-outline:before{content:"󱰹"}.mdi-octahedron:before{content:"󱥐"}.mdi-octahedron-off:before{content:"󱥑"}.mdi-odnoklassniki:before{content:"󰏅"}.mdi-offer:before{content:"󱈛"}.mdi-office-building:before{content:"󰦑"}.mdi-office-building-cog:before{content:"󱥉"}.mdi-office-building-cog-outline:before{content:"󱥊"}.mdi-office-building-marker:before{content:"󱔠"}.mdi-office-building-marker-outline:before{content:"󱔡"}.mdi-office-building-minus:before{content:"󱮪"}.mdi-office-building-minus-outline:before{content:"󱮫"}.mdi-office-building-outline:before{content:"󱔟"}.mdi-office-building-plus:before{content:"󱮨"}.mdi-office-building-plus-outline:before{content:"󱮩"}.mdi-office-building-remove:before{content:"󱮬"}.mdi-office-building-remove-outline:before{content:"󱮭"}.mdi-oil:before{content:"󰏇"}.mdi-oil-lamp:before{content:"󰼙"}.mdi-oil-level:before{content:"󱁓"}.mdi-oil-temperature:before{content:"󰿸"}.mdi-om:before{content:"󰥳"}.mdi-omega:before{content:"󰏉"}.mdi-one-up:before{content:"󰮭"}.mdi-onepassword:before{content:"󰢁"}.mdi-opacity:before{content:"󰗌"}.mdi-open-in-app:before{content:"󰏋"}.mdi-open-in-new:before{content:"󰏌"}.mdi-open-source-initiative:before{content:"󰮮"}.mdi-openid:before{content:"󰏍"}.mdi-opera:before{content:"󰏎"}.mdi-orbit:before{content:"󰀘"}.mdi-orbit-variant:before{content:"󱗛"}.mdi-order-alphabetical-ascending:before{content:"󰈍"}.mdi-order-alphabetical-descending:before{content:"󰴇"}.mdi-order-bool-ascending:before{content:"󰊾"}.mdi-order-bool-ascending-variant:before{content:"󰦏"}.mdi-order-bool-descending:before{content:"󱎄"}.mdi-order-bool-descending-variant:before{content:"󰦐"}.mdi-order-numeric-ascending:before{content:"󰕅"}.mdi-order-numeric-descending:before{content:"󰕆"}.mdi-origin:before{content:"󰭃"}.mdi-ornament:before{content:"󰏏"}.mdi-ornament-variant:before{content:"󰏐"}.mdi-outdoor-lamp:before{content:"󱁔"}.mdi-overscan:before{content:"󱀅"}.mdi-owl:before{content:"󰏒"}.mdi-pac-man:before{content:"󰮯"}.mdi-package:before{content:"󰏓"}.mdi-package-check:before{content:"󱭑"}.mdi-package-down:before{content:"󰏔"}.mdi-package-up:before{content:"󰏕"}.mdi-package-variant:before{content:"󰏖"}.mdi-package-variant-closed:before{content:"󰏗"}.mdi-package-variant-closed-check:before{content:"󱭒"}.mdi-package-variant-closed-minus:before{content:"󱧔"}.mdi-package-variant-closed-plus:before{content:"󱧕"}.mdi-package-variant-closed-remove:before{content:"󱧖"}.mdi-package-variant-minus:before{content:"󱧗"}.mdi-package-variant-plus:before{content:"󱧘"}.mdi-package-variant-remove:before{content:"󱧙"}.mdi-page-first:before{content:"󰘀"}.mdi-page-last:before{content:"󰘁"}.mdi-page-layout-body:before{content:"󰛺"}.mdi-page-layout-footer:before{content:"󰛻"}.mdi-page-layout-header:before{content:"󰛼"}.mdi-page-layout-header-footer:before{content:"󰽿"}.mdi-page-layout-sidebar-left:before{content:"󰛽"}.mdi-page-layout-sidebar-right:before{content:"󰛾"}.mdi-page-next:before{content:"󰮰"}.mdi-page-next-outline:before{content:"󰮱"}.mdi-page-previous:before{content:"󰮲"}.mdi-page-previous-outline:before{content:"󰮳"}.mdi-pail:before{content:"󱐗"}.mdi-pail-minus:before{content:"󱐷"}.mdi-pail-minus-outline:before{content:"󱐼"}.mdi-pail-off:before{content:"󱐹"}.mdi-pail-off-outline:before{content:"󱐾"}.mdi-pail-outline:before{content:"󱐺"}.mdi-pail-plus:before{content:"󱐶"}.mdi-pail-plus-outline:before{content:"󱐻"}.mdi-pail-remove:before{content:"󱐸"}.mdi-pail-remove-outline:before{content:"󱐽"}.mdi-palette:before{content:"󰏘"}.mdi-palette-advanced:before{content:"󰏙"}.mdi-palette-outline:before{content:"󰸌"}.mdi-palette-swatch:before{content:"󰢵"}.mdi-palette-swatch-outline:before{content:"󱍜"}.mdi-palette-swatch-variant:before{content:"󱥚"}.mdi-palm-tree:before{content:"󱁕"}.mdi-pan:before{content:"󰮴"}.mdi-pan-bottom-left:before{content:"󰮵"}.mdi-pan-bottom-right:before{content:"󰮶"}.mdi-pan-down:before{content:"󰮷"}.mdi-pan-horizontal:before{content:"󰮸"}.mdi-pan-left:before{content:"󰮹"}.mdi-pan-right:before{content:"󰮺"}.mdi-pan-top-left:before{content:"󰮻"}.mdi-pan-top-right:before{content:"󰮼"}.mdi-pan-up:before{content:"󰮽"}.mdi-pan-vertical:before{content:"󰮾"}.mdi-panda:before{content:"󰏚"}.mdi-pandora:before{content:"󰏛"}.mdi-panorama:before{content:"󰏜"}.mdi-panorama-fisheye:before{content:"󰏝"}.mdi-panorama-horizontal:before{content:"󱤨"}.mdi-panorama-horizontal-outline:before{content:"󰏞"}.mdi-panorama-outline:before{content:"󱦌"}.mdi-panorama-sphere:before{content:"󱦍"}.mdi-panorama-sphere-outline:before{content:"󱦎"}.mdi-panorama-variant:before{content:"󱦏"}.mdi-panorama-variant-outline:before{content:"󱦐"}.mdi-panorama-vertical:before{content:"󱤩"}.mdi-panorama-vertical-outline:before{content:"󰏟"}.mdi-panorama-wide-angle:before{content:"󱥟"}.mdi-panorama-wide-angle-outline:before{content:"󰏠"}.mdi-paper-cut-vertical:before{content:"󰏡"}.mdi-paper-roll:before{content:"󱅗"}.mdi-paper-roll-outline:before{content:"󱅘"}.mdi-paperclip:before{content:"󰏢"}.mdi-paperclip-check:before{content:"󱫆"}.mdi-paperclip-lock:before{content:"󱧚"}.mdi-paperclip-minus:before{content:"󱫇"}.mdi-paperclip-off:before{content:"󱫈"}.mdi-paperclip-plus:before{content:"󱫉"}.mdi-paperclip-remove:before{content:"󱫊"}.mdi-parachute:before{content:"󰲴"}.mdi-parachute-outline:before{content:"󰲵"}.mdi-paragliding:before{content:"󱝅"}.mdi-parking:before{content:"󰏣"}.mdi-party-popper:before{content:"󱁖"}.mdi-passport:before{content:"󰟣"}.mdi-passport-biometric:before{content:"󰷡"}.mdi-pasta:before{content:"󱅠"}.mdi-patio-heater:before{content:"󰾀"}.mdi-patreon:before{content:"󰢂"}.mdi-pause:before{content:"󰏤"}.mdi-pause-box:before{content:"󰂼"}.mdi-pause-box-outline:before{content:"󱭺"}.mdi-pause-circle:before{content:"󰏥"}.mdi-pause-circle-outline:before{content:"󰏦"}.mdi-pause-octagon:before{content:"󰏧"}.mdi-pause-octagon-outline:before{content:"󰏨"}.mdi-paw:before{content:"󰏩"}.mdi-paw-off:before{content:"󰙗"}.mdi-paw-off-outline:before{content:"󱙶"}.mdi-paw-outline:before{content:"󱙵"}.mdi-peace:before{content:"󰢄"}.mdi-peanut:before{content:"󰿼"}.mdi-peanut-off:before{content:"󰿽"}.mdi-peanut-off-outline:before{content:"󰿿"}.mdi-peanut-outline:before{content:"󰿾"}.mdi-pen:before{content:"󰏪"}.mdi-pen-lock:before{content:"󰷢"}.mdi-pen-minus:before{content:"󰷣"}.mdi-pen-off:before{content:"󰷤"}.mdi-pen-plus:before{content:"󰷥"}.mdi-pen-remove:before{content:"󰷦"}.mdi-pencil:before{content:"󰏫"}.mdi-pencil-box:before{content:"󰏬"}.mdi-pencil-box-multiple:before{content:"󱅄"}.mdi-pencil-box-multiple-outline:before{content:"󱅅"}.mdi-pencil-box-outline:before{content:"󰏭"}.mdi-pencil-circle:before{content:"󰛿"}.mdi-pencil-circle-outline:before{content:"󰝶"}.mdi-pencil-lock:before{content:"󰏮"}.mdi-pencil-lock-outline:before{content:"󰷧"}.mdi-pencil-minus:before{content:"󰷨"}.mdi-pencil-minus-outline:before{content:"󰷩"}.mdi-pencil-off:before{content:"󰏯"}.mdi-pencil-off-outline:before{content:"󰷪"}.mdi-pencil-outline:before{content:"󰲶"}.mdi-pencil-plus:before{content:"󰷫"}.mdi-pencil-plus-outline:before{content:"󰷬"}.mdi-pencil-remove:before{content:"󰷭"}.mdi-pencil-remove-outline:before{content:"󰷮"}.mdi-pencil-ruler:before{content:"󱍓"}.mdi-pencil-ruler-outline:before{content:"󱰑"}.mdi-penguin:before{content:"󰻀"}.mdi-pentagon:before{content:"󰜁"}.mdi-pentagon-outline:before{content:"󰜀"}.mdi-pentagram:before{content:"󱙧"}.mdi-percent:before{content:"󰏰"}.mdi-percent-box:before{content:"󱨂"}.mdi-percent-box-outline:before{content:"󱨃"}.mdi-percent-circle:before{content:"󱨄"}.mdi-percent-circle-outline:before{content:"󱨅"}.mdi-percent-outline:before{content:"󱉸"}.mdi-periodic-table:before{content:"󰢶"}.mdi-perspective-less:before{content:"󰴣"}.mdi-perspective-more:before{content:"󰴤"}.mdi-ph:before{content:"󱟅"}.mdi-phone:before{content:"󰏲"}.mdi-phone-alert:before{content:"󰼚"}.mdi-phone-alert-outline:before{content:"󱆎"}.mdi-phone-bluetooth:before{content:"󰏳"}.mdi-phone-bluetooth-outline:before{content:"󱆏"}.mdi-phone-cancel:before{content:"󱂼"}.mdi-phone-cancel-outline:before{content:"󱆐"}.mdi-phone-check:before{content:"󱆩"}.mdi-phone-check-outline:before{content:"󱆪"}.mdi-phone-classic:before{content:"󰘂"}.mdi-phone-classic-off:before{content:"󱉹"}.mdi-phone-clock:before{content:"󱧛"}.mdi-phone-dial:before{content:"󱕙"}.mdi-phone-dial-outline:before{content:"󱕚"}.mdi-phone-forward:before{content:"󰏴"}.mdi-phone-forward-outline:before{content:"󱆑"}.mdi-phone-hangup:before{content:"󰏵"}.mdi-phone-hangup-outline:before{content:"󱆒"}.mdi-phone-in-talk:before{content:"󰏶"}.mdi-phone-in-talk-outline:before{content:"󱆂"}.mdi-phone-incoming:before{content:"󰏷"}.mdi-phone-incoming-outgoing:before{content:"󱬿"}.mdi-phone-incoming-outgoing-outline:before{content:"󱭀"}.mdi-phone-incoming-outline:before{content:"󱆓"}.mdi-phone-lock:before{content:"󰏸"}.mdi-phone-lock-outline:before{content:"󱆔"}.mdi-phone-log:before{content:"󰏹"}.mdi-phone-log-outline:before{content:"󱆕"}.mdi-phone-message:before{content:"󱆖"}.mdi-phone-message-outline:before{content:"󱆗"}.mdi-phone-minus:before{content:"󰙘"}.mdi-phone-minus-outline:before{content:"󱆘"}.mdi-phone-missed:before{content:"󰏺"}.mdi-phone-missed-outline:before{content:"󱆥"}.mdi-phone-off:before{content:"󰷯"}.mdi-phone-off-outline:before{content:"󱆦"}.mdi-phone-outgoing:before{content:"󰏻"}.mdi-phone-outgoing-outline:before{content:"󱆙"}.mdi-phone-outline:before{content:"󰷰"}.mdi-phone-paused:before{content:"󰏼"}.mdi-phone-paused-outline:before{content:"󱆚"}.mdi-phone-plus:before{content:"󰙙"}.mdi-phone-plus-outline:before{content:"󱆛"}.mdi-phone-refresh:before{content:"󱦓"}.mdi-phone-refresh-outline:before{content:"󱦔"}.mdi-phone-remove:before{content:"󱔯"}.mdi-phone-remove-outline:before{content:"󱔰"}.mdi-phone-return:before{content:"󰠯"}.mdi-phone-return-outline:before{content:"󱆜"}.mdi-phone-ring:before{content:"󱆫"}.mdi-phone-ring-outline:before{content:"󱆬"}.mdi-phone-rotate-landscape:before{content:"󰢅"}.mdi-phone-rotate-portrait:before{content:"󰢆"}.mdi-phone-settings:before{content:"󰏽"}.mdi-phone-settings-outline:before{content:"󱆝"}.mdi-phone-sync:before{content:"󱦕"}.mdi-phone-sync-outline:before{content:"󱦖"}.mdi-phone-voip:before{content:"󰏾"}.mdi-pi:before{content:"󰏿"}.mdi-pi-box:before{content:"󰐀"}.mdi-pi-hole:before{content:"󰷱"}.mdi-piano:before{content:"󰙽"}.mdi-piano-off:before{content:"󰚘"}.mdi-pickaxe:before{content:"󰢷"}.mdi-picture-in-picture-bottom-right:before{content:"󰹗"}.mdi-picture-in-picture-bottom-right-outline:before{content:"󰹘"}.mdi-picture-in-picture-top-right:before{content:"󰹙"}.mdi-picture-in-picture-top-right-outline:before{content:"󰹚"}.mdi-pier:before{content:"󰢇"}.mdi-pier-crane:before{content:"󰢈"}.mdi-pig:before{content:"󰐁"}.mdi-pig-variant:before{content:"󱀆"}.mdi-pig-variant-outline:before{content:"󱙸"}.mdi-piggy-bank:before{content:"󱀇"}.mdi-piggy-bank-outline:before{content:"󱙹"}.mdi-pill:before{content:"󰐂"}.mdi-pill-multiple:before{content:"󱭌"}.mdi-pill-off:before{content:"󱩜"}.mdi-pillar:before{content:"󰜂"}.mdi-pin:before{content:"󰐃"}.mdi-pin-off:before{content:"󰐄"}.mdi-pin-off-outline:before{content:"󰤰"}.mdi-pin-outline:before{content:"󰤱"}.mdi-pine-tree:before{content:"󰐅"}.mdi-pine-tree-box:before{content:"󰐆"}.mdi-pine-tree-fire:before{content:"󱐚"}.mdi-pine-tree-variant:before{content:"󱱳"}.mdi-pine-tree-variant-outline:before{content:"󱱴"}.mdi-pinterest:before{content:"󰐇"}.mdi-pinwheel:before{content:"󰫕"}.mdi-pinwheel-outline:before{content:"󰫖"}.mdi-pipe:before{content:"󰟥"}.mdi-pipe-disconnected:before{content:"󰟦"}.mdi-pipe-leak:before{content:"󰢉"}.mdi-pipe-valve:before{content:"󱡍"}.mdi-pipe-wrench:before{content:"󱍔"}.mdi-pirate:before{content:"󰨈"}.mdi-pistol:before{content:"󰜃"}.mdi-piston:before{content:"󰢊"}.mdi-pitchfork:before{content:"󱕓"}.mdi-pizza:before{content:"󰐉"}.mdi-plane-car:before{content:"󱫿"}.mdi-plane-train:before{content:"󱬀"}.mdi-play:before{content:"󰐊"}.mdi-play-box:before{content:"󱉺"}.mdi-play-box-edit-outline:before{content:"󱰺"}.mdi-play-box-lock:before{content:"󱨖"}.mdi-play-box-lock-open:before{content:"󱨗"}.mdi-play-box-lock-open-outline:before{content:"󱨘"}.mdi-play-box-lock-outline:before{content:"󱨙"}.mdi-play-box-multiple:before{content:"󰴙"}.mdi-play-box-multiple-outline:before{content:"󱏦"}.mdi-play-box-outline:before{content:"󰐋"}.mdi-play-circle:before{content:"󰐌"}.mdi-play-circle-outline:before{content:"󰐍"}.mdi-play-network:before{content:"󰢋"}.mdi-play-network-outline:before{content:"󰲷"}.mdi-play-outline:before{content:"󰼛"}.mdi-play-pause:before{content:"󰐎"}.mdi-play-protected-content:before{content:"󰐏"}.mdi-play-speed:before{content:"󰣿"}.mdi-playlist-check:before{content:"󰗇"}.mdi-playlist-edit:before{content:"󰤀"}.mdi-playlist-minus:before{content:"󰐐"}.mdi-playlist-music:before{content:"󰲸"}.mdi-playlist-music-outline:before{content:"󰲹"}.mdi-playlist-play:before{content:"󰐑"}.mdi-playlist-plus:before{content:"󰐒"}.mdi-playlist-remove:before{content:"󰐓"}.mdi-playlist-star:before{content:"󰷲"}.mdi-plex:before{content:"󰚺"}.mdi-pliers:before{content:"󱦤"}.mdi-plus:before{content:"󰐕"}.mdi-plus-box:before{content:"󰐖"}.mdi-plus-box-multiple:before{content:"󰌴"}.mdi-plus-box-multiple-outline:before{content:"󱅃"}.mdi-plus-box-outline:before{content:"󰜄"}.mdi-plus-circle:before{content:"󰐗"}.mdi-plus-circle-multiple:before{content:"󰍌"}.mdi-plus-circle-multiple-outline:before{content:"󰐘"}.mdi-plus-circle-outline:before{content:"󰐙"}.mdi-plus-lock:before{content:"󱩝"}.mdi-plus-lock-open:before{content:"󱩞"}.mdi-plus-minus:before{content:"󰦒"}.mdi-plus-minus-box:before{content:"󰦓"}.mdi-plus-minus-variant:before{content:"󱓉"}.mdi-plus-network:before{content:"󰐚"}.mdi-plus-network-outline:before{content:"󰲺"}.mdi-plus-outline:before{content:"󰜅"}.mdi-plus-thick:before{content:"󱇬"}.mdi-podcast:before{content:"󰦔"}.mdi-podium:before{content:"󰴥"}.mdi-podium-bronze:before{content:"󰴦"}.mdi-podium-gold:before{content:"󰴧"}.mdi-podium-silver:before{content:"󰴨"}.mdi-point-of-sale:before{content:"󰶒"}.mdi-pokeball:before{content:"󰐝"}.mdi-pokemon-go:before{content:"󰨉"}.mdi-poker-chip:before{content:"󰠰"}.mdi-polaroid:before{content:"󰐞"}.mdi-police-badge:before{content:"󱅧"}.mdi-police-badge-outline:before{content:"󱅨"}.mdi-police-station:before{content:"󱠹"}.mdi-poll:before{content:"󰐟"}.mdi-polo:before{content:"󱓃"}.mdi-polymer:before{content:"󰐡"}.mdi-pool:before{content:"󰘆"}.mdi-pool-thermometer:before{content:"󱩟"}.mdi-popcorn:before{content:"󰐢"}.mdi-post:before{content:"󱀈"}.mdi-post-lamp:before{content:"󱩠"}.mdi-post-outline:before{content:"󱀉"}.mdi-postage-stamp:before{content:"󰲻"}.mdi-pot:before{content:"󰋥"}.mdi-pot-mix:before{content:"󰙛"}.mdi-pot-mix-outline:before{content:"󰙷"}.mdi-pot-outline:before{content:"󰋿"}.mdi-pot-steam:before{content:"󰙚"}.mdi-pot-steam-outline:before{content:"󰌦"}.mdi-pound:before{content:"󰐣"}.mdi-pound-box:before{content:"󰐤"}.mdi-pound-box-outline:before{content:"󱅿"}.mdi-power:before{content:"󰐥"}.mdi-power-cycle:before{content:"󰤁"}.mdi-power-off:before{content:"󰤂"}.mdi-power-on:before{content:"󰤃"}.mdi-power-plug:before{content:"󰚥"}.mdi-power-plug-battery:before{content:"󱰻"}.mdi-power-plug-battery-outline:before{content:"󱰼"}.mdi-power-plug-off:before{content:"󰚦"}.mdi-power-plug-off-outline:before{content:"󱐤"}.mdi-power-plug-outline:before{content:"󱐥"}.mdi-power-settings:before{content:"󰐦"}.mdi-power-sleep:before{content:"󰤄"}.mdi-power-socket:before{content:"󰐧"}.mdi-power-socket-au:before{content:"󰤅"}.mdi-power-socket-ch:before{content:"󰾳"}.mdi-power-socket-de:before{content:"󱄇"}.mdi-power-socket-eu:before{content:"󰟧"}.mdi-power-socket-fr:before{content:"󱄈"}.mdi-power-socket-it:before{content:"󱓿"}.mdi-power-socket-jp:before{content:"󱄉"}.mdi-power-socket-uk:before{content:"󰟨"}.mdi-power-socket-us:before{content:"󰟩"}.mdi-power-standby:before{content:"󰤆"}.mdi-powershell:before{content:"󰨊"}.mdi-prescription:before{content:"󰜆"}.mdi-presentation:before{content:"󰐨"}.mdi-presentation-play:before{content:"󰐩"}.mdi-pretzel:before{content:"󱕢"}.mdi-printer:before{content:"󰐪"}.mdi-printer-3d:before{content:"󰐫"}.mdi-printer-3d-nozzle:before{content:"󰹛"}.mdi-printer-3d-nozzle-alert:before{content:"󱇀"}.mdi-printer-3d-nozzle-alert-outline:before{content:"󱇁"}.mdi-printer-3d-nozzle-heat:before{content:"󱢸"}.mdi-printer-3d-nozzle-heat-outline:before{content:"󱢹"}.mdi-printer-3d-nozzle-off:before{content:"󱬙"}.mdi-printer-3d-nozzle-off-outline:before{content:"󱬚"}.mdi-printer-3d-nozzle-outline:before{content:"󰹜"}.mdi-printer-3d-off:before{content:"󱬎"}.mdi-printer-alert:before{content:"󰐬"}.mdi-printer-check:before{content:"󱅆"}.mdi-printer-eye:before{content:"󱑘"}.mdi-printer-off:before{content:"󰹝"}.mdi-printer-off-outline:before{content:"󱞅"}.mdi-printer-outline:before{content:"󱞆"}.mdi-printer-pos:before{content:"󱁗"}.mdi-printer-pos-alert:before{content:"󱮼"}.mdi-printer-pos-alert-outline:before{content:"󱮽"}.mdi-printer-pos-cancel:before{content:"󱮾"}.mdi-printer-pos-cancel-outline:before{content:"󱮿"}.mdi-printer-pos-check:before{content:"󱯀"}.mdi-printer-pos-check-outline:before{content:"󱯁"}.mdi-printer-pos-cog:before{content:"󱯂"}.mdi-printer-pos-cog-outline:before{content:"󱯃"}.mdi-printer-pos-edit:before{content:"󱯄"}.mdi-printer-pos-edit-outline:before{content:"󱯅"}.mdi-printer-pos-minus:before{content:"󱯆"}.mdi-printer-pos-minus-outline:before{content:"󱯇"}.mdi-printer-pos-network:before{content:"󱯈"}.mdi-printer-pos-network-outline:before{content:"󱯉"}.mdi-printer-pos-off:before{content:"󱯊"}.mdi-printer-pos-off-outline:before{content:"󱯋"}.mdi-printer-pos-outline:before{content:"󱯌"}.mdi-printer-pos-pause:before{content:"󱯍"}.mdi-printer-pos-pause-outline:before{content:"󱯎"}.mdi-printer-pos-play:before{content:"󱯏"}.mdi-printer-pos-play-outline:before{content:"󱯐"}.mdi-printer-pos-plus:before{content:"󱯑"}.mdi-printer-pos-plus-outline:before{content:"󱯒"}.mdi-printer-pos-refresh:before{content:"󱯓"}.mdi-printer-pos-refresh-outline:before{content:"󱯔"}.mdi-printer-pos-remove:before{content:"󱯕"}.mdi-printer-pos-remove-outline:before{content:"󱯖"}.mdi-printer-pos-star:before{content:"󱯗"}.mdi-printer-pos-star-outline:before{content:"󱯘"}.mdi-printer-pos-stop:before{content:"󱯙"}.mdi-printer-pos-stop-outline:before{content:"󱯚"}.mdi-printer-pos-sync:before{content:"󱯛"}.mdi-printer-pos-sync-outline:before{content:"󱯜"}.mdi-printer-pos-wrench:before{content:"󱯝"}.mdi-printer-pos-wrench-outline:before{content:"󱯞"}.mdi-printer-search:before{content:"󱑗"}.mdi-printer-settings:before{content:"󰜇"}.mdi-printer-wireless:before{content:"󰨋"}.mdi-priority-high:before{content:"󰘃"}.mdi-priority-low:before{content:"󰘄"}.mdi-professional-hexagon:before{content:"󰐭"}.mdi-progress-alert:before{content:"󰲼"}.mdi-progress-check:before{content:"󰦕"}.mdi-progress-clock:before{content:"󰦖"}.mdi-progress-close:before{content:"󱄊"}.mdi-progress-download:before{content:"󰦗"}.mdi-progress-helper:before{content:"󱮢"}.mdi-progress-pencil:before{content:"󱞇"}.mdi-progress-question:before{content:"󱔢"}.mdi-progress-star:before{content:"󱞈"}.mdi-progress-star-four-points:before{content:"󱰽"}.mdi-progress-upload:before{content:"󰦘"}.mdi-progress-wrench:before{content:"󰲽"}.mdi-projector:before{content:"󰐮"}.mdi-projector-off:before{content:"󱨣"}.mdi-projector-screen:before{content:"󰐯"}.mdi-projector-screen-off:before{content:"󱠍"}.mdi-projector-screen-off-outline:before{content:"󱠎"}.mdi-projector-screen-outline:before{content:"󱜤"}.mdi-projector-screen-variant:before{content:"󱠏"}.mdi-projector-screen-variant-off:before{content:"󱠐"}.mdi-projector-screen-variant-off-outline:before{content:"󱠑"}.mdi-projector-screen-variant-outline:before{content:"󱠒"}.mdi-propane-tank:before{content:"󱍗"}.mdi-propane-tank-outline:before{content:"󱍘"}.mdi-protocol:before{content:"󰿘"}.mdi-publish:before{content:"󰚧"}.mdi-publish-off:before{content:"󱥅"}.mdi-pulse:before{content:"󰐰"}.mdi-pump:before{content:"󱐂"}.mdi-pump-off:before{content:"󱬢"}.mdi-pumpkin:before{content:"󰮿"}.mdi-purse:before{content:"󰼜"}.mdi-purse-outline:before{content:"󰼝"}.mdi-puzzle:before{content:"󰐱"}.mdi-puzzle-check:before{content:"󱐦"}.mdi-puzzle-check-outline:before{content:"󱐧"}.mdi-puzzle-edit:before{content:"󱓓"}.mdi-puzzle-edit-outline:before{content:"󱓙"}.mdi-puzzle-heart:before{content:"󱓔"}.mdi-puzzle-heart-outline:before{content:"󱓚"}.mdi-puzzle-minus:before{content:"󱓑"}.mdi-puzzle-minus-outline:before{content:"󱓗"}.mdi-puzzle-outline:before{content:"󰩦"}.mdi-puzzle-plus:before{content:"󱓐"}.mdi-puzzle-plus-outline:before{content:"󱓖"}.mdi-puzzle-remove:before{content:"󱓒"}.mdi-puzzle-remove-outline:before{content:"󱓘"}.mdi-puzzle-star:before{content:"󱓕"}.mdi-puzzle-star-outline:before{content:"󱓛"}.mdi-pyramid:before{content:"󱥒"}.mdi-pyramid-off:before{content:"󱥓"}.mdi-qi:before{content:"󰦙"}.mdi-qqchat:before{content:"󰘅"}.mdi-qrcode:before{content:"󰐲"}.mdi-qrcode-edit:before{content:"󰢸"}.mdi-qrcode-minus:before{content:"󱆌"}.mdi-qrcode-plus:before{content:"󱆋"}.mdi-qrcode-remove:before{content:"󱆍"}.mdi-qrcode-scan:before{content:"󰐳"}.mdi-quadcopter:before{content:"󰐴"}.mdi-quality-high:before{content:"󰐵"}.mdi-quality-low:before{content:"󰨌"}.mdi-quality-medium:before{content:"󰨍"}.mdi-quora:before{content:"󰴩"}.mdi-rabbit:before{content:"󰤇"}.mdi-rabbit-variant:before{content:"󱩡"}.mdi-rabbit-variant-outline:before{content:"󱩢"}.mdi-racing-helmet:before{content:"󰶓"}.mdi-racquetball:before{content:"󰶔"}.mdi-radar:before{content:"󰐷"}.mdi-radiator:before{content:"󰐸"}.mdi-radiator-disabled:before{content:"󰫗"}.mdi-radiator-off:before{content:"󰫘"}.mdi-radio:before{content:"󰐹"}.mdi-radio-am:before{content:"󰲾"}.mdi-radio-fm:before{content:"󰲿"}.mdi-radio-handheld:before{content:"󰐺"}.mdi-radio-off:before{content:"󱈜"}.mdi-radio-tower:before{content:"󰐻"}.mdi-radioactive:before{content:"󰐼"}.mdi-radioactive-circle:before{content:"󱡝"}.mdi-radioactive-circle-outline:before{content:"󱡞"}.mdi-radioactive-off:before{content:"󰻁"}.mdi-radiobox-blank:before{content:"󰐽"}.mdi-radiobox-indeterminate-variant:before{content:"󱱞"}.mdi-radiobox-marked:before{content:"󰐾"}.mdi-radiology-box:before{content:"󱓅"}.mdi-radiology-box-outline:before{content:"󱓆"}.mdi-radius:before{content:"󰳀"}.mdi-radius-outline:before{content:"󰳁"}.mdi-railroad-light:before{content:"󰼞"}.mdi-rake:before{content:"󱕄"}.mdi-raspberry-pi:before{content:"󰐿"}.mdi-raw:before{content:"󱨏"}.mdi-raw-off:before{content:"󱨐"}.mdi-ray-end:before{content:"󰑀"}.mdi-ray-end-arrow:before{content:"󰑁"}.mdi-ray-start:before{content:"󰑂"}.mdi-ray-start-arrow:before{content:"󰑃"}.mdi-ray-start-end:before{content:"󰑄"}.mdi-ray-start-vertex-end:before{content:"󱗘"}.mdi-ray-vertex:before{content:"󰑅"}.mdi-razor-double-edge:before{content:"󱦗"}.mdi-razor-single-edge:before{content:"󱦘"}.mdi-react:before{content:"󰜈"}.mdi-read:before{content:"󰑇"}.mdi-receipt:before{content:"󰠤"}.mdi-receipt-clock:before{content:"󱰾"}.mdi-receipt-clock-outline:before{content:"󱰿"}.mdi-receipt-outline:before{content:"󰓷"}.mdi-receipt-send:before{content:"󱱀"}.mdi-receipt-send-outline:before{content:"󱱁"}.mdi-receipt-text:before{content:"󰑉"}.mdi-receipt-text-arrow-left:before{content:"󱱂"}.mdi-receipt-text-arrow-left-outline:before{content:"󱱃"}.mdi-receipt-text-arrow-right:before{content:"󱱄"}.mdi-receipt-text-arrow-right-outline:before{content:"󱱅"}.mdi-receipt-text-check:before{content:"󱩣"}.mdi-receipt-text-check-outline:before{content:"󱩤"}.mdi-receipt-text-clock:before{content:"󱱆"}.mdi-receipt-text-clock-outline:before{content:"󱱇"}.mdi-receipt-text-edit:before{content:"󱱈"}.mdi-receipt-text-edit-outline:before{content:"󱱉"}.mdi-receipt-text-minus:before{content:"󱩥"}.mdi-receipt-text-minus-outline:before{content:"󱩦"}.mdi-receipt-text-outline:before{content:"󱧜"}.mdi-receipt-text-plus:before{content:"󱩧"}.mdi-receipt-text-plus-outline:before{content:"󱩨"}.mdi-receipt-text-remove:before{content:"󱩩"}.mdi-receipt-text-remove-outline:before{content:"󱩪"}.mdi-receipt-text-send:before{content:"󱱊"}.mdi-receipt-text-send-outline:before{content:"󱱋"}.mdi-record:before{content:"󰑊"}.mdi-record-circle:before{content:"󰻂"}.mdi-record-circle-outline:before{content:"󰻃"}.mdi-record-player:before{content:"󰦚"}.mdi-record-rec:before{content:"󰑋"}.mdi-rectangle:before{content:"󰹞"}.mdi-rectangle-outline:before{content:"󰹟"}.mdi-recycle:before{content:"󰑌"}.mdi-recycle-variant:before{content:"󱎝"}.mdi-reddit:before{content:"󰑍"}.mdi-redhat:before{content:"󱄛"}.mdi-redo:before{content:"󰑎"}.mdi-redo-variant:before{content:"󰑏"}.mdi-reflect-horizontal:before{content:"󰨎"}.mdi-reflect-vertical:before{content:"󰨏"}.mdi-refresh:before{content:"󰑐"}.mdi-refresh-auto:before{content:"󱣲"}.mdi-refresh-circle:before{content:"󱍷"}.mdi-regex:before{content:"󰑑"}.mdi-registered-trademark:before{content:"󰩧"}.mdi-reiterate:before{content:"󱖈"}.mdi-relation-many-to-many:before{content:"󱒖"}.mdi-relation-many-to-one:before{content:"󱒗"}.mdi-relation-many-to-one-or-many:before{content:"󱒘"}.mdi-relation-many-to-only-one:before{content:"󱒙"}.mdi-relation-many-to-zero-or-many:before{content:"󱒚"}.mdi-relation-many-to-zero-or-one:before{content:"󱒛"}.mdi-relation-one-or-many-to-many:before{content:"󱒜"}.mdi-relation-one-or-many-to-one:before{content:"󱒝"}.mdi-relation-one-or-many-to-one-or-many:before{content:"󱒞"}.mdi-relation-one-or-many-to-only-one:before{content:"󱒟"}.mdi-relation-one-or-many-to-zero-or-many:before{content:"󱒠"}.mdi-relation-one-or-many-to-zero-or-one:before{content:"󱒡"}.mdi-relation-one-to-many:before{content:"󱒢"}.mdi-relation-one-to-one:before{content:"󱒣"}.mdi-relation-one-to-one-or-many:before{content:"󱒤"}.mdi-relation-one-to-only-one:before{content:"󱒥"}.mdi-relation-one-to-zero-or-many:before{content:"󱒦"}.mdi-relation-one-to-zero-or-one:before{content:"󱒧"}.mdi-relation-only-one-to-many:before{content:"󱒨"}.mdi-relation-only-one-to-one:before{content:"󱒩"}.mdi-relation-only-one-to-one-or-many:before{content:"󱒪"}.mdi-relation-only-one-to-only-one:before{content:"󱒫"}.mdi-relation-only-one-to-zero-or-many:before{content:"󱒬"}.mdi-relation-only-one-to-zero-or-one:before{content:"󱒭"}.mdi-relation-zero-or-many-to-many:before{content:"󱒮"}.mdi-relation-zero-or-many-to-one:before{content:"󱒯"}.mdi-relation-zero-or-many-to-one-or-many:before{content:"󱒰"}.mdi-relation-zero-or-many-to-only-one:before{content:"󱒱"}.mdi-relation-zero-or-many-to-zero-or-many:before{content:"󱒲"}.mdi-relation-zero-or-many-to-zero-or-one:before{content:"󱒳"}.mdi-relation-zero-or-one-to-many:before{content:"󱒴"}.mdi-relation-zero-or-one-to-one:before{content:"󱒵"}.mdi-relation-zero-or-one-to-one-or-many:before{content:"󱒶"}.mdi-relation-zero-or-one-to-only-one:before{content:"󱒷"}.mdi-relation-zero-or-one-to-zero-or-many:before{content:"󱒸"}.mdi-relation-zero-or-one-to-zero-or-one:before{content:"󱒹"}.mdi-relative-scale:before{content:"󰑒"}.mdi-reload:before{content:"󰑓"}.mdi-reload-alert:before{content:"󱄋"}.mdi-reminder:before{content:"󰢌"}.mdi-remote:before{content:"󰑔"}.mdi-remote-desktop:before{content:"󰢹"}.mdi-remote-off:before{content:"󰻄"}.mdi-remote-tv:before{content:"󰻅"}.mdi-remote-tv-off:before{content:"󰻆"}.mdi-rename:before{content:"󱰘"}.mdi-rename-box:before{content:"󰑕"}.mdi-rename-box-outline:before{content:"󱰙"}.mdi-rename-outline:before{content:"󱰚"}.mdi-reorder-horizontal:before{content:"󰚈"}.mdi-reorder-vertical:before{content:"󰚉"}.mdi-repeat:before{content:"󰑖"}.mdi-repeat-off:before{content:"󰑗"}.mdi-repeat-once:before{content:"󰑘"}.mdi-repeat-variant:before{content:"󰕇"}.mdi-replay:before{content:"󰑙"}.mdi-reply:before{content:"󰑚"}.mdi-reply-all:before{content:"󰑛"}.mdi-reply-all-outline:before{content:"󰼟"}.mdi-reply-circle:before{content:"󱆮"}.mdi-reply-outline:before{content:"󰼠"}.mdi-reproduction:before{content:"󰑜"}.mdi-resistor:before{content:"󰭄"}.mdi-resistor-nodes:before{content:"󰭅"}.mdi-resize:before{content:"󰩨"}.mdi-resize-bottom-right:before{content:"󰑝"}.mdi-responsive:before{content:"󰑞"}.mdi-restart:before{content:"󰜉"}.mdi-restart-alert:before{content:"󱄌"}.mdi-restart-off:before{content:"󰶕"}.mdi-restore:before{content:"󰦛"}.mdi-restore-alert:before{content:"󱄍"}.mdi-rewind:before{content:"󰑟"}.mdi-rewind-10:before{content:"󰴪"}.mdi-rewind-15:before{content:"󱥆"}.mdi-rewind-30:before{content:"󰶖"}.mdi-rewind-45:before{content:"󱬓"}.mdi-rewind-5:before{content:"󱇹"}.mdi-rewind-60:before{content:"󱘌"}.mdi-rewind-outline:before{content:"󰜊"}.mdi-rhombus:before{content:"󰜋"}.mdi-rhombus-medium:before{content:"󰨐"}.mdi-rhombus-medium-outline:before{content:"󱓜"}.mdi-rhombus-outline:before{content:"󰜌"}.mdi-rhombus-split:before{content:"󰨑"}.mdi-rhombus-split-outline:before{content:"󱓝"}.mdi-ribbon:before{content:"󰑠"}.mdi-rice:before{content:"󰟪"}.mdi-rickshaw:before{content:"󱖻"}.mdi-rickshaw-electric:before{content:"󱖼"}.mdi-ring:before{content:"󰟫"}.mdi-rivet:before{content:"󰹠"}.mdi-road:before{content:"󰑡"}.mdi-road-variant:before{content:"󰑢"}.mdi-robber:before{content:"󱁘"}.mdi-robot:before{content:"󰚩"}.mdi-robot-angry:before{content:"󱚝"}.mdi-robot-angry-outline:before{content:"󱚞"}.mdi-robot-confused:before{content:"󱚟"}.mdi-robot-confused-outline:before{content:"󱚠"}.mdi-robot-dead:before{content:"󱚡"}.mdi-robot-dead-outline:before{content:"󱚢"}.mdi-robot-excited:before{content:"󱚣"}.mdi-robot-excited-outline:before{content:"󱚤"}.mdi-robot-happy:before{content:"󱜙"}.mdi-robot-happy-outline:before{content:"󱜚"}.mdi-robot-industrial:before{content:"󰭆"}.mdi-robot-industrial-outline:before{content:"󱨚"}.mdi-robot-love:before{content:"󱚥"}.mdi-robot-love-outline:before{content:"󱚦"}.mdi-robot-mower:before{content:"󱇷"}.mdi-robot-mower-outline:before{content:"󱇳"}.mdi-robot-off:before{content:"󱚧"}.mdi-robot-off-outline:before{content:"󱙻"}.mdi-robot-outline:before{content:"󱙺"}.mdi-robot-vacuum:before{content:"󰜍"}.mdi-robot-vacuum-alert:before{content:"󱭝"}.mdi-robot-vacuum-off:before{content:"󱰁"}.mdi-robot-vacuum-variant:before{content:"󰤈"}.mdi-robot-vacuum-variant-alert:before{content:"󱭞"}.mdi-robot-vacuum-variant-off:before{content:"󱰂"}.mdi-rocket:before{content:"󰑣"}.mdi-rocket-launch:before{content:"󱓞"}.mdi-rocket-launch-outline:before{content:"󱓟"}.mdi-rocket-outline:before{content:"󱎯"}.mdi-rodent:before{content:"󱌧"}.mdi-roller-shade:before{content:"󱩫"}.mdi-roller-shade-closed:before{content:"󱩬"}.mdi-roller-skate:before{content:"󰴫"}.mdi-roller-skate-off:before{content:"󰅅"}.mdi-rollerblade:before{content:"󰴬"}.mdi-rollerblade-off:before{content:"󰀮"}.mdi-rollupjs:before{content:"󰯀"}.mdi-rolodex:before{content:"󱪹"}.mdi-rolodex-outline:before{content:"󱪺"}.mdi-roman-numeral-1:before{content:"󱂈"}.mdi-roman-numeral-10:before{content:"󱂑"}.mdi-roman-numeral-2:before{content:"󱂉"}.mdi-roman-numeral-3:before{content:"󱂊"}.mdi-roman-numeral-4:before{content:"󱂋"}.mdi-roman-numeral-5:before{content:"󱂌"}.mdi-roman-numeral-6:before{content:"󱂍"}.mdi-roman-numeral-7:before{content:"󱂎"}.mdi-roman-numeral-8:before{content:"󱂏"}.mdi-roman-numeral-9:before{content:"󱂐"}.mdi-room-service:before{content:"󰢍"}.mdi-room-service-outline:before{content:"󰶗"}.mdi-rotate-360:before{content:"󱦙"}.mdi-rotate-3d:before{content:"󰻇"}.mdi-rotate-3d-variant:before{content:"󰑤"}.mdi-rotate-left:before{content:"󰑥"}.mdi-rotate-left-variant:before{content:"󰑦"}.mdi-rotate-orbit:before{content:"󰶘"}.mdi-rotate-right:before{content:"󰑧"}.mdi-rotate-right-variant:before{content:"󰑨"}.mdi-rounded-corner:before{content:"󰘇"}.mdi-router:before{content:"󱇢"}.mdi-router-network:before{content:"󱂇"}.mdi-router-wireless:before{content:"󰑩"}.mdi-router-wireless-off:before{content:"󱖣"}.mdi-router-wireless-settings:before{content:"󰩩"}.mdi-routes:before{content:"󰑪"}.mdi-routes-clock:before{content:"󱁙"}.mdi-rowing:before{content:"󰘈"}.mdi-rss:before{content:"󰑫"}.mdi-rss-box:before{content:"󰑬"}.mdi-rss-off:before{content:"󰼡"}.mdi-rug:before{content:"󱑵"}.mdi-rugby:before{content:"󰶙"}.mdi-ruler:before{content:"󰑭"}.mdi-ruler-square:before{content:"󰳂"}.mdi-ruler-square-compass:before{content:"󰺾"}.mdi-run:before{content:"󰜎"}.mdi-run-fast:before{content:"󰑮"}.mdi-rv-truck:before{content:"󱇔"}.mdi-sack:before{content:"󰴮"}.mdi-sack-outline:before{content:"󱱌"}.mdi-sack-percent:before{content:"󰴯"}.mdi-safe:before{content:"󰩪"}.mdi-safe-square:before{content:"󱉼"}.mdi-safe-square-outline:before{content:"󱉽"}.mdi-safety-goggles:before{content:"󰴰"}.mdi-sail-boat:before{content:"󰻈"}.mdi-sail-boat-sink:before{content:"󱫯"}.mdi-sale:before{content:"󰑯"}.mdi-sale-outline:before{content:"󱨆"}.mdi-salesforce:before{content:"󰢎"}.mdi-sass:before{content:"󰟬"}.mdi-satellite:before{content:"󰑰"}.mdi-satellite-uplink:before{content:"󰤉"}.mdi-satellite-variant:before{content:"󰑱"}.mdi-sausage:before{content:"󰢺"}.mdi-sausage-off:before{content:"󱞉"}.mdi-saw-blade:before{content:"󰹡"}.mdi-sawtooth-wave:before{content:"󱑺"}.mdi-saxophone:before{content:"󰘉"}.mdi-scale:before{content:"󰑲"}.mdi-scale-balance:before{content:"󰗑"}.mdi-scale-bathroom:before{content:"󰑳"}.mdi-scale-off:before{content:"󱁚"}.mdi-scale-unbalanced:before{content:"󱦸"}.mdi-scan-helper:before{content:"󱏘"}.mdi-scanner:before{content:"󰚫"}.mdi-scanner-off:before{content:"󰤊"}.mdi-scatter-plot:before{content:"󰻉"}.mdi-scatter-plot-outline:before{content:"󰻊"}.mdi-scent:before{content:"󱥘"}.mdi-scent-off:before{content:"󱥙"}.mdi-school:before{content:"󰑴"}.mdi-school-outline:before{content:"󱆀"}.mdi-scissors-cutting:before{content:"󰩫"}.mdi-scooter:before{content:"󱖽"}.mdi-scooter-electric:before{content:"󱖾"}.mdi-scoreboard:before{content:"󱉾"}.mdi-scoreboard-outline:before{content:"󱉿"}.mdi-screen-rotation:before{content:"󰑵"}.mdi-screen-rotation-lock:before{content:"󰑸"}.mdi-screw-flat-top:before{content:"󰷳"}.mdi-screw-lag:before{content:"󰷴"}.mdi-screw-machine-flat-top:before{content:"󰷵"}.mdi-screw-machine-round-top:before{content:"󰷶"}.mdi-screw-round-top:before{content:"󰷷"}.mdi-screwdriver:before{content:"󰑶"}.mdi-script:before{content:"󰯁"}.mdi-script-outline:before{content:"󰑷"}.mdi-script-text:before{content:"󰯂"}.mdi-script-text-key:before{content:"󱜥"}.mdi-script-text-key-outline:before{content:"󱜦"}.mdi-script-text-outline:before{content:"󰯃"}.mdi-script-text-play:before{content:"󱜧"}.mdi-script-text-play-outline:before{content:"󱜨"}.mdi-sd:before{content:"󰑹"}.mdi-seal:before{content:"󰑺"}.mdi-seal-variant:before{content:"󰿙"}.mdi-search-web:before{content:"󰜏"}.mdi-seat:before{content:"󰳃"}.mdi-seat-flat:before{content:"󰑻"}.mdi-seat-flat-angled:before{content:"󰑼"}.mdi-seat-individual-suite:before{content:"󰑽"}.mdi-seat-legroom-extra:before{content:"󰑾"}.mdi-seat-legroom-normal:before{content:"󰑿"}.mdi-seat-legroom-reduced:before{content:"󰒀"}.mdi-seat-outline:before{content:"󰳄"}.mdi-seat-passenger:before{content:"󱉉"}.mdi-seat-recline-extra:before{content:"󰒁"}.mdi-seat-recline-normal:before{content:"󰒂"}.mdi-seatbelt:before{content:"󰳅"}.mdi-security:before{content:"󰒃"}.mdi-security-network:before{content:"󰒄"}.mdi-seed:before{content:"󰹢"}.mdi-seed-off:before{content:"󱏽"}.mdi-seed-off-outline:before{content:"󱏾"}.mdi-seed-outline:before{content:"󰹣"}.mdi-seed-plus:before{content:"󱩭"}.mdi-seed-plus-outline:before{content:"󱩮"}.mdi-seesaw:before{content:"󱖤"}.mdi-segment:before{content:"󰻋"}.mdi-select:before{content:"󰒅"}.mdi-select-all:before{content:"󰒆"}.mdi-select-arrow-down:before{content:"󱭙"}.mdi-select-arrow-up:before{content:"󱭘"}.mdi-select-color:before{content:"󰴱"}.mdi-select-compare:before{content:"󰫙"}.mdi-select-drag:before{content:"󰩬"}.mdi-select-group:before{content:"󰾂"}.mdi-select-inverse:before{content:"󰒇"}.mdi-select-marker:before{content:"󱊀"}.mdi-select-multiple:before{content:"󱊁"}.mdi-select-multiple-marker:before{content:"󱊂"}.mdi-select-off:before{content:"󰒈"}.mdi-select-place:before{content:"󰿚"}.mdi-select-remove:before{content:"󱟁"}.mdi-select-search:before{content:"󱈄"}.mdi-selection:before{content:"󰒉"}.mdi-selection-drag:before{content:"󰩭"}.mdi-selection-ellipse:before{content:"󰴲"}.mdi-selection-ellipse-arrow-inside:before{content:"󰼢"}.mdi-selection-ellipse-remove:before{content:"󱟂"}.mdi-selection-marker:before{content:"󱊃"}.mdi-selection-multiple:before{content:"󱊅"}.mdi-selection-multiple-marker:before{content:"󱊄"}.mdi-selection-off:before{content:"󰝷"}.mdi-selection-remove:before{content:"󱟃"}.mdi-selection-search:before{content:"󱈅"}.mdi-semantic-web:before{content:"󱌖"}.mdi-send:before{content:"󰒊"}.mdi-send-check:before{content:"󱅡"}.mdi-send-check-outline:before{content:"󱅢"}.mdi-send-circle:before{content:"󰷸"}.mdi-send-circle-outline:before{content:"󰷹"}.mdi-send-clock:before{content:"󱅣"}.mdi-send-clock-outline:before{content:"󱅤"}.mdi-send-lock:before{content:"󰟭"}.mdi-send-lock-outline:before{content:"󱅦"}.mdi-send-outline:before{content:"󱅥"}.mdi-send-variant:before{content:"󱱍"}.mdi-send-variant-clock:before{content:"󱱾"}.mdi-send-variant-clock-outline:before{content:"󱱿"}.mdi-send-variant-outline:before{content:"󱱎"}.mdi-serial-port:before{content:"󰙜"}.mdi-server:before{content:"󰒋"}.mdi-server-minus:before{content:"󰒌"}.mdi-server-network:before{content:"󰒍"}.mdi-server-network-off:before{content:"󰒎"}.mdi-server-off:before{content:"󰒏"}.mdi-server-plus:before{content:"󰒐"}.mdi-server-remove:before{content:"󰒑"}.mdi-server-security:before{content:"󰒒"}.mdi-set-all:before{content:"󰝸"}.mdi-set-center:before{content:"󰝹"}.mdi-set-center-right:before{content:"󰝺"}.mdi-set-left:before{content:"󰝻"}.mdi-set-left-center:before{content:"󰝼"}.mdi-set-left-right:before{content:"󰝽"}.mdi-set-merge:before{content:"󱓠"}.mdi-set-none:before{content:"󰝾"}.mdi-set-right:before{content:"󰝿"}.mdi-set-split:before{content:"󱓡"}.mdi-set-square:before{content:"󱑝"}.mdi-set-top-box:before{content:"󰦟"}.mdi-settings-helper:before{content:"󰩮"}.mdi-shaker:before{content:"󱄎"}.mdi-shaker-outline:before{content:"󱄏"}.mdi-shape:before{content:"󰠱"}.mdi-shape-circle-plus:before{content:"󰙝"}.mdi-shape-outline:before{content:"󰠲"}.mdi-shape-oval-plus:before{content:"󱇺"}.mdi-shape-plus:before{content:"󰒕"}.mdi-shape-plus-outline:before{content:"󱱏"}.mdi-shape-polygon-plus:before{content:"󰙞"}.mdi-shape-rectangle-plus:before{content:"󰙟"}.mdi-shape-square-plus:before{content:"󰙠"}.mdi-shape-square-rounded-plus:before{content:"󱓺"}.mdi-share:before{content:"󰒖"}.mdi-share-all:before{content:"󱇴"}.mdi-share-all-outline:before{content:"󱇵"}.mdi-share-circle:before{content:"󱆭"}.mdi-share-off:before{content:"󰼣"}.mdi-share-off-outline:before{content:"󰼤"}.mdi-share-outline:before{content:"󰤲"}.mdi-share-variant:before{content:"󰒗"}.mdi-share-variant-outline:before{content:"󱔔"}.mdi-shark:before{content:"󱢺"}.mdi-shark-fin:before{content:"󱙳"}.mdi-shark-fin-outline:before{content:"󱙴"}.mdi-shark-off:before{content:"󱢻"}.mdi-sheep:before{content:"󰳆"}.mdi-shield:before{content:"󰒘"}.mdi-shield-account:before{content:"󰢏"}.mdi-shield-account-outline:before{content:"󰨒"}.mdi-shield-account-variant:before{content:"󱖧"}.mdi-shield-account-variant-outline:before{content:"󱖨"}.mdi-shield-airplane:before{content:"󰚻"}.mdi-shield-airplane-outline:before{content:"󰳇"}.mdi-shield-alert:before{content:"󰻌"}.mdi-shield-alert-outline:before{content:"󰻍"}.mdi-shield-bug:before{content:"󱏚"}.mdi-shield-bug-outline:before{content:"󱏛"}.mdi-shield-car:before{content:"󰾃"}.mdi-shield-check:before{content:"󰕥"}.mdi-shield-check-outline:before{content:"󰳈"}.mdi-shield-cross:before{content:"󰳉"}.mdi-shield-cross-outline:before{content:"󰳊"}.mdi-shield-crown:before{content:"󱢼"}.mdi-shield-crown-outline:before{content:"󱢽"}.mdi-shield-edit:before{content:"󱆠"}.mdi-shield-edit-outline:before{content:"󱆡"}.mdi-shield-half:before{content:"󱍠"}.mdi-shield-half-full:before{content:"󰞀"}.mdi-shield-home:before{content:"󰚊"}.mdi-shield-home-outline:before{content:"󰳋"}.mdi-shield-key:before{content:"󰯄"}.mdi-shield-key-outline:before{content:"󰯅"}.mdi-shield-link-variant:before{content:"󰴳"}.mdi-shield-link-variant-outline:before{content:"󰴴"}.mdi-shield-lock:before{content:"󰦝"}.mdi-shield-lock-open:before{content:"󱦚"}.mdi-shield-lock-open-outline:before{content:"󱦛"}.mdi-shield-lock-outline:before{content:"󰳌"}.mdi-shield-moon:before{content:"󱠨"}.mdi-shield-moon-outline:before{content:"󱠩"}.mdi-shield-off:before{content:"󰦞"}.mdi-shield-off-outline:before{content:"󰦜"}.mdi-shield-outline:before{content:"󰒙"}.mdi-shield-plus:before{content:"󰫚"}.mdi-shield-plus-outline:before{content:"󰫛"}.mdi-shield-refresh:before{content:"󰂪"}.mdi-shield-refresh-outline:before{content:"󰇠"}.mdi-shield-remove:before{content:"󰫜"}.mdi-shield-remove-outline:before{content:"󰫝"}.mdi-shield-search:before{content:"󰶚"}.mdi-shield-star:before{content:"󱄻"}.mdi-shield-star-outline:before{content:"󱄼"}.mdi-shield-sun:before{content:"󱁝"}.mdi-shield-sun-outline:before{content:"󱁞"}.mdi-shield-sword:before{content:"󱢾"}.mdi-shield-sword-outline:before{content:"󱢿"}.mdi-shield-sync:before{content:"󱆢"}.mdi-shield-sync-outline:before{content:"󱆣"}.mdi-shimmer:before{content:"󱕅"}.mdi-ship-wheel:before{content:"󰠳"}.mdi-shipping-pallet:before{content:"󱡎"}.mdi-shoe-ballet:before{content:"󱗊"}.mdi-shoe-cleat:before{content:"󱗇"}.mdi-shoe-formal:before{content:"󰭇"}.mdi-shoe-heel:before{content:"󰭈"}.mdi-shoe-print:before{content:"󰷺"}.mdi-shoe-sneaker:before{content:"󱗈"}.mdi-shopping:before{content:"󰒚"}.mdi-shopping-music:before{content:"󰒛"}.mdi-shopping-outline:before{content:"󱇕"}.mdi-shopping-search:before{content:"󰾄"}.mdi-shopping-search-outline:before{content:"󱩯"}.mdi-shore:before{content:"󱓹"}.mdi-shovel:before{content:"󰜐"}.mdi-shovel-off:before{content:"󰜑"}.mdi-shower:before{content:"󰦠"}.mdi-shower-head:before{content:"󰦡"}.mdi-shredder:before{content:"󰒜"}.mdi-shuffle:before{content:"󰒝"}.mdi-shuffle-disabled:before{content:"󰒞"}.mdi-shuffle-variant:before{content:"󰒟"}.mdi-shuriken:before{content:"󱍿"}.mdi-sickle:before{content:"󱣀"}.mdi-sigma:before{content:"󰒠"}.mdi-sigma-lower:before{content:"󰘫"}.mdi-sign-caution:before{content:"󰒡"}.mdi-sign-direction:before{content:"󰞁"}.mdi-sign-direction-minus:before{content:"󱀀"}.mdi-sign-direction-plus:before{content:"󰿜"}.mdi-sign-direction-remove:before{content:"󰿝"}.mdi-sign-language:before{content:"󱭍"}.mdi-sign-language-outline:before{content:"󱭎"}.mdi-sign-pole:before{content:"󱓸"}.mdi-sign-real-estate:before{content:"󱄘"}.mdi-sign-text:before{content:"󰞂"}.mdi-sign-yield:before{content:"󱮯"}.mdi-signal:before{content:"󰒢"}.mdi-signal-2g:before{content:"󰜒"}.mdi-signal-3g:before{content:"󰜓"}.mdi-signal-4g:before{content:"󰜔"}.mdi-signal-5g:before{content:"󰩯"}.mdi-signal-cellular-1:before{content:"󰢼"}.mdi-signal-cellular-2:before{content:"󰢽"}.mdi-signal-cellular-3:before{content:"󰢾"}.mdi-signal-cellular-outline:before{content:"󰢿"}.mdi-signal-distance-variant:before{content:"󰹤"}.mdi-signal-hspa:before{content:"󰜕"}.mdi-signal-hspa-plus:before{content:"󰜖"}.mdi-signal-off:before{content:"󰞃"}.mdi-signal-variant:before{content:"󰘊"}.mdi-signature:before{content:"󰷻"}.mdi-signature-freehand:before{content:"󰷼"}.mdi-signature-image:before{content:"󰷽"}.mdi-signature-text:before{content:"󰷾"}.mdi-silo:before{content:"󱮟"}.mdi-silo-outline:before{content:"󰭉"}.mdi-silverware:before{content:"󰒣"}.mdi-silverware-clean:before{content:"󰿞"}.mdi-silverware-fork:before{content:"󰒤"}.mdi-silverware-fork-knife:before{content:"󰩰"}.mdi-silverware-spoon:before{content:"󰒥"}.mdi-silverware-variant:before{content:"󰒦"}.mdi-sim:before{content:"󰒧"}.mdi-sim-alert:before{content:"󰒨"}.mdi-sim-alert-outline:before{content:"󱗓"}.mdi-sim-off:before{content:"󰒩"}.mdi-sim-off-outline:before{content:"󱗔"}.mdi-sim-outline:before{content:"󱗕"}.mdi-simple-icons:before{content:"󱌝"}.mdi-sina-weibo:before{content:"󰫟"}.mdi-sine-wave:before{content:"󰥛"}.mdi-sitemap:before{content:"󰒪"}.mdi-sitemap-outline:before{content:"󱦜"}.mdi-size-l:before{content:"󱎦"}.mdi-size-m:before{content:"󱎥"}.mdi-size-s:before{content:"󱎤"}.mdi-size-xl:before{content:"󱎧"}.mdi-size-xs:before{content:"󱎣"}.mdi-size-xxl:before{content:"󱎨"}.mdi-size-xxs:before{content:"󱎢"}.mdi-size-xxxl:before{content:"󱎩"}.mdi-skate:before{content:"󰴵"}.mdi-skate-off:before{content:"󰚙"}.mdi-skateboard:before{content:"󱓂"}.mdi-skateboarding:before{content:"󰔁"}.mdi-skew-less:before{content:"󰴶"}.mdi-skew-more:before{content:"󰴷"}.mdi-ski:before{content:"󱌄"}.mdi-ski-cross-country:before{content:"󱌅"}.mdi-ski-water:before{content:"󱌆"}.mdi-skip-backward:before{content:"󰒫"}.mdi-skip-backward-outline:before{content:"󰼥"}.mdi-skip-forward:before{content:"󰒬"}.mdi-skip-forward-outline:before{content:"󰼦"}.mdi-skip-next:before{content:"󰒭"}.mdi-skip-next-circle:before{content:"󰙡"}.mdi-skip-next-circle-outline:before{content:"󰙢"}.mdi-skip-next-outline:before{content:"󰼧"}.mdi-skip-previous:before{content:"󰒮"}.mdi-skip-previous-circle:before{content:"󰙣"}.mdi-skip-previous-circle-outline:before{content:"󰙤"}.mdi-skip-previous-outline:before{content:"󰼨"}.mdi-skull:before{content:"󰚌"}.mdi-skull-crossbones:before{content:"󰯆"}.mdi-skull-crossbones-outline:before{content:"󰯇"}.mdi-skull-outline:before{content:"󰯈"}.mdi-skull-scan:before{content:"󱓇"}.mdi-skull-scan-outline:before{content:"󱓈"}.mdi-skype:before{content:"󰒯"}.mdi-skype-business:before{content:"󰒰"}.mdi-slack:before{content:"󰒱"}.mdi-slash-forward:before{content:"󰿟"}.mdi-slash-forward-box:before{content:"󰿠"}.mdi-sledding:before{content:"󰐛"}.mdi-sleep:before{content:"󰒲"}.mdi-sleep-off:before{content:"󰒳"}.mdi-slide:before{content:"󱖥"}.mdi-slope-downhill:before{content:"󰷿"}.mdi-slope-uphill:before{content:"󰸀"}.mdi-slot-machine:before{content:"󱄔"}.mdi-slot-machine-outline:before{content:"󱄕"}.mdi-smart-card:before{content:"󱂽"}.mdi-smart-card-off:before{content:"󱣷"}.mdi-smart-card-off-outline:before{content:"󱣸"}.mdi-smart-card-outline:before{content:"󱂾"}.mdi-smart-card-reader:before{content:"󱂿"}.mdi-smart-card-reader-outline:before{content:"󱃀"}.mdi-smog:before{content:"󰩱"}.mdi-smoke:before{content:"󱞙"}.mdi-smoke-detector:before{content:"󰎒"}.mdi-smoke-detector-alert:before{content:"󱤮"}.mdi-smoke-detector-alert-outline:before{content:"󱤯"}.mdi-smoke-detector-off:before{content:"󱠉"}.mdi-smoke-detector-off-outline:before{content:"󱠊"}.mdi-smoke-detector-outline:before{content:"󱠈"}.mdi-smoke-detector-variant:before{content:"󱠋"}.mdi-smoke-detector-variant-alert:before{content:"󱤰"}.mdi-smoke-detector-variant-off:before{content:"󱠌"}.mdi-smoking:before{content:"󰒴"}.mdi-smoking-off:before{content:"󰒵"}.mdi-smoking-pipe:before{content:"󱐍"}.mdi-smoking-pipe-off:before{content:"󱐨"}.mdi-snail:before{content:"󱙷"}.mdi-snake:before{content:"󱔎"}.mdi-snapchat:before{content:"󰒶"}.mdi-snowboard:before{content:"󱌇"}.mdi-snowflake:before{content:"󰜗"}.mdi-snowflake-alert:before{content:"󰼩"}.mdi-snowflake-check:before{content:"󱩰"}.mdi-snowflake-melt:before{content:"󱋋"}.mdi-snowflake-off:before{content:"󱓣"}.mdi-snowflake-thermometer:before{content:"󱩱"}.mdi-snowflake-variant:before{content:"󰼪"}.mdi-snowman:before{content:"󰒷"}.mdi-snowmobile:before{content:"󰛝"}.mdi-snowshoeing:before{content:"󱩲"}.mdi-soccer:before{content:"󰒸"}.mdi-soccer-field:before{content:"󰠴"}.mdi-social-distance-2-meters:before{content:"󱕹"}.mdi-social-distance-6-feet:before{content:"󱕺"}.mdi-sofa:before{content:"󰒹"}.mdi-sofa-outline:before{content:"󱕭"}.mdi-sofa-single:before{content:"󱕮"}.mdi-sofa-single-outline:before{content:"󱕯"}.mdi-solar-panel:before{content:"󰶛"}.mdi-solar-panel-large:before{content:"󰶜"}.mdi-solar-power:before{content:"󰩲"}.mdi-solar-power-variant:before{content:"󱩳"}.mdi-solar-power-variant-outline:before{content:"󱩴"}.mdi-soldering-iron:before{content:"󱂒"}.mdi-solid:before{content:"󰚍"}.mdi-sony-playstation:before{content:"󰐔"}.mdi-sort:before{content:"󰒺"}.mdi-sort-alphabetical-ascending:before{content:"󰖽"}.mdi-sort-alphabetical-ascending-variant:before{content:"󱅈"}.mdi-sort-alphabetical-descending:before{content:"󰖿"}.mdi-sort-alphabetical-descending-variant:before{content:"󱅉"}.mdi-sort-alphabetical-variant:before{content:"󰒻"}.mdi-sort-ascending:before{content:"󰒼"}.mdi-sort-bool-ascending:before{content:"󱎅"}.mdi-sort-bool-ascending-variant:before{content:"󱎆"}.mdi-sort-bool-descending:before{content:"󱎇"}.mdi-sort-bool-descending-variant:before{content:"󱎈"}.mdi-sort-calendar-ascending:before{content:"󱕇"}.mdi-sort-calendar-descending:before{content:"󱕈"}.mdi-sort-clock-ascending:before{content:"󱕉"}.mdi-sort-clock-ascending-outline:before{content:"󱕊"}.mdi-sort-clock-descending:before{content:"󱕋"}.mdi-sort-clock-descending-outline:before{content:"󱕌"}.mdi-sort-descending:before{content:"󰒽"}.mdi-sort-numeric-ascending:before{content:"󱎉"}.mdi-sort-numeric-ascending-variant:before{content:"󰤍"}.mdi-sort-numeric-descending:before{content:"󱎊"}.mdi-sort-numeric-descending-variant:before{content:"󰫒"}.mdi-sort-numeric-variant:before{content:"󰒾"}.mdi-sort-reverse-variant:before{content:"󰌼"}.mdi-sort-variant:before{content:"󰒿"}.mdi-sort-variant-lock:before{content:"󰳍"}.mdi-sort-variant-lock-open:before{content:"󰳎"}.mdi-sort-variant-off:before{content:"󱪻"}.mdi-sort-variant-remove:before{content:"󱅇"}.mdi-soundbar:before{content:"󱟛"}.mdi-soundcloud:before{content:"󰓀"}.mdi-source-branch:before{content:"󰘬"}.mdi-source-branch-check:before{content:"󱓏"}.mdi-source-branch-minus:before{content:"󱓋"}.mdi-source-branch-plus:before{content:"󱓊"}.mdi-source-branch-refresh:before{content:"󱓍"}.mdi-source-branch-remove:before{content:"󱓌"}.mdi-source-branch-sync:before{content:"󱓎"}.mdi-source-commit:before{content:"󰜘"}.mdi-source-commit-end:before{content:"󰜙"}.mdi-source-commit-end-local:before{content:"󰜚"}.mdi-source-commit-local:before{content:"󰜛"}.mdi-source-commit-next-local:before{content:"󰜜"}.mdi-source-commit-start:before{content:"󰜝"}.mdi-source-commit-start-next-local:before{content:"󰜞"}.mdi-source-fork:before{content:"󰓁"}.mdi-source-merge:before{content:"󰘭"}.mdi-source-pull:before{content:"󰓂"}.mdi-source-repository:before{content:"󰳏"}.mdi-source-repository-multiple:before{content:"󰳐"}.mdi-soy-sauce:before{content:"󰟮"}.mdi-soy-sauce-off:before{content:"󱏼"}.mdi-spa:before{content:"󰳑"}.mdi-spa-outline:before{content:"󰳒"}.mdi-space-invaders:before{content:"󰯉"}.mdi-space-station:before{content:"󱎃"}.mdi-spade:before{content:"󰹥"}.mdi-speaker:before{content:"󰓃"}.mdi-speaker-bluetooth:before{content:"󰦢"}.mdi-speaker-message:before{content:"󱬑"}.mdi-speaker-multiple:before{content:"󰴸"}.mdi-speaker-off:before{content:"󰓄"}.mdi-speaker-pause:before{content:"󱭳"}.mdi-speaker-play:before{content:"󱭲"}.mdi-speaker-stop:before{content:"󱭴"}.mdi-speaker-wireless:before{content:"󰜟"}.mdi-spear:before{content:"󱡅"}.mdi-speedometer:before{content:"󰓅"}.mdi-speedometer-medium:before{content:"󰾅"}.mdi-speedometer-slow:before{content:"󰾆"}.mdi-spellcheck:before{content:"󰓆"}.mdi-sphere:before{content:"󱥔"}.mdi-sphere-off:before{content:"󱥕"}.mdi-spider:before{content:"󱇪"}.mdi-spider-outline:before{content:"󱱵"}.mdi-spider-thread:before{content:"󱇫"}.mdi-spider-web:before{content:"󰯊"}.mdi-spirit-level:before{content:"󱓱"}.mdi-spoon-sugar:before{content:"󱐩"}.mdi-spotify:before{content:"󰓇"}.mdi-spotlight:before{content:"󰓈"}.mdi-spotlight-beam:before{content:"󰓉"}.mdi-spray:before{content:"󰙥"}.mdi-spray-bottle:before{content:"󰫠"}.mdi-sprinkler:before{content:"󱁟"}.mdi-sprinkler-fire:before{content:"󱦝"}.mdi-sprinkler-variant:before{content:"󱁠"}.mdi-sprout:before{content:"󰹦"}.mdi-sprout-outline:before{content:"󰹧"}.mdi-square:before{content:"󰝤"}.mdi-square-circle:before{content:"󱔀"}.mdi-square-circle-outline:before{content:"󱱐"}.mdi-square-edit-outline:before{content:"󰤌"}.mdi-square-medium:before{content:"󰨓"}.mdi-square-medium-outline:before{content:"󰨔"}.mdi-square-off:before{content:"󱋮"}.mdi-square-off-outline:before{content:"󱋯"}.mdi-square-opacity:before{content:"󱡔"}.mdi-square-outline:before{content:"󰝣"}.mdi-square-root:before{content:"󰞄"}.mdi-square-root-box:before{content:"󰦣"}.mdi-square-rounded:before{content:"󱓻"}.mdi-square-rounded-badge:before{content:"󱨇"}.mdi-square-rounded-badge-outline:before{content:"󱨈"}.mdi-square-rounded-outline:before{content:"󱓼"}.mdi-square-small:before{content:"󰨕"}.mdi-square-wave:before{content:"󱑻"}.mdi-squeegee:before{content:"󰫡"}.mdi-ssh:before{content:"󰣀"}.mdi-stack-exchange:before{content:"󰘋"}.mdi-stack-overflow:before{content:"󰓌"}.mdi-stackpath:before{content:"󰍙"}.mdi-stadium:before{content:"󰿹"}.mdi-stadium-outline:before{content:"󱬃"}.mdi-stadium-variant:before{content:"󰜠"}.mdi-stairs:before{content:"󰓍"}.mdi-stairs-box:before{content:"󱎞"}.mdi-stairs-down:before{content:"󱊾"}.mdi-stairs-up:before{content:"󱊽"}.mdi-stamper:before{content:"󰴹"}.mdi-standard-definition:before{content:"󰟯"}.mdi-star:before{content:"󰓎"}.mdi-star-box:before{content:"󰩳"}.mdi-star-box-multiple:before{content:"󱊆"}.mdi-star-box-multiple-outline:before{content:"󱊇"}.mdi-star-box-outline:before{content:"󰩴"}.mdi-star-check:before{content:"󱕦"}.mdi-star-check-outline:before{content:"󱕪"}.mdi-star-circle:before{content:"󰓏"}.mdi-star-circle-outline:before{content:"󰦤"}.mdi-star-cog:before{content:"󱙨"}.mdi-star-cog-outline:before{content:"󱙩"}.mdi-star-crescent:before{content:"󰥹"}.mdi-star-david:before{content:"󰥺"}.mdi-star-face:before{content:"󰦥"}.mdi-star-four-points:before{content:"󰫢"}.mdi-star-four-points-box:before{content:"󱱑"}.mdi-star-four-points-box-outline:before{content:"󱱒"}.mdi-star-four-points-circle:before{content:"󱱓"}.mdi-star-four-points-circle-outline:before{content:"󱱔"}.mdi-star-four-points-outline:before{content:"󰫣"}.mdi-star-four-points-small:before{content:"󱱕"}.mdi-star-half:before{content:"󰉆"}.mdi-star-half-full:before{content:"󰓐"}.mdi-star-minus:before{content:"󱕤"}.mdi-star-minus-outline:before{content:"󱕨"}.mdi-star-off:before{content:"󰓑"}.mdi-star-off-outline:before{content:"󱕛"}.mdi-star-outline:before{content:"󰓒"}.mdi-star-plus:before{content:"󱕣"}.mdi-star-plus-outline:before{content:"󱕧"}.mdi-star-remove:before{content:"󱕥"}.mdi-star-remove-outline:before{content:"󱕩"}.mdi-star-settings:before{content:"󱙪"}.mdi-star-settings-outline:before{content:"󱙫"}.mdi-star-shooting:before{content:"󱝁"}.mdi-star-shooting-outline:before{content:"󱝂"}.mdi-star-three-points:before{content:"󰫤"}.mdi-star-three-points-outline:before{content:"󰫥"}.mdi-state-machine:before{content:"󱇯"}.mdi-steam:before{content:"󰓓"}.mdi-steering:before{content:"󰓔"}.mdi-steering-off:before{content:"󰤎"}.mdi-step-backward:before{content:"󰓕"}.mdi-step-backward-2:before{content:"󰓖"}.mdi-step-forward:before{content:"󰓗"}.mdi-step-forward-2:before{content:"󰓘"}.mdi-stethoscope:before{content:"󰓙"}.mdi-sticker:before{content:"󱍤"}.mdi-sticker-alert:before{content:"󱍥"}.mdi-sticker-alert-outline:before{content:"󱍦"}.mdi-sticker-check:before{content:"󱍧"}.mdi-sticker-check-outline:before{content:"󱍨"}.mdi-sticker-circle-outline:before{content:"󰗐"}.mdi-sticker-emoji:before{content:"󰞅"}.mdi-sticker-minus:before{content:"󱍩"}.mdi-sticker-minus-outline:before{content:"󱍪"}.mdi-sticker-outline:before{content:"󱍫"}.mdi-sticker-plus:before{content:"󱍬"}.mdi-sticker-plus-outline:before{content:"󱍭"}.mdi-sticker-remove:before{content:"󱍮"}.mdi-sticker-remove-outline:before{content:"󱍯"}.mdi-sticker-text:before{content:"󱞎"}.mdi-sticker-text-outline:before{content:"󱞏"}.mdi-stocking:before{content:"󰓚"}.mdi-stomach:before{content:"󱂓"}.mdi-stool:before{content:"󱥝"}.mdi-stool-outline:before{content:"󱥞"}.mdi-stop:before{content:"󰓛"}.mdi-stop-circle:before{content:"󰙦"}.mdi-stop-circle-outline:before{content:"󰙧"}.mdi-storage-tank:before{content:"󱩵"}.mdi-storage-tank-outline:before{content:"󱩶"}.mdi-store:before{content:"󰓜"}.mdi-store-24-hour:before{content:"󰓝"}.mdi-store-alert:before{content:"󱣁"}.mdi-store-alert-outline:before{content:"󱣂"}.mdi-store-check:before{content:"󱣃"}.mdi-store-check-outline:before{content:"󱣄"}.mdi-store-clock:before{content:"󱣅"}.mdi-store-clock-outline:before{content:"󱣆"}.mdi-store-cog:before{content:"󱣇"}.mdi-store-cog-outline:before{content:"󱣈"}.mdi-store-edit:before{content:"󱣉"}.mdi-store-edit-outline:before{content:"󱣊"}.mdi-store-marker:before{content:"󱣋"}.mdi-store-marker-outline:before{content:"󱣌"}.mdi-store-minus:before{content:"󱙞"}.mdi-store-minus-outline:before{content:"󱣍"}.mdi-store-off:before{content:"󱣎"}.mdi-store-off-outline:before{content:"󱣏"}.mdi-store-outline:before{content:"󱍡"}.mdi-store-plus:before{content:"󱙟"}.mdi-store-plus-outline:before{content:"󱣐"}.mdi-store-remove:before{content:"󱙠"}.mdi-store-remove-outline:before{content:"󱣑"}.mdi-store-search:before{content:"󱣒"}.mdi-store-search-outline:before{content:"󱣓"}.mdi-store-settings:before{content:"󱣔"}.mdi-store-settings-outline:before{content:"󱣕"}.mdi-storefront:before{content:"󰟇"}.mdi-storefront-check:before{content:"󱭽"}.mdi-storefront-check-outline:before{content:"󱭾"}.mdi-storefront-edit:before{content:"󱭿"}.mdi-storefront-edit-outline:before{content:"󱮀"}.mdi-storefront-minus:before{content:"󱮃"}.mdi-storefront-minus-outline:before{content:"󱮄"}.mdi-storefront-outline:before{content:"󱃁"}.mdi-storefront-plus:before{content:"󱮁"}.mdi-storefront-plus-outline:before{content:"󱮂"}.mdi-storefront-remove:before{content:"󱮅"}.mdi-storefront-remove-outline:before{content:"󱮆"}.mdi-stove:before{content:"󰓞"}.mdi-strategy:before{content:"󱇖"}.mdi-stretch-to-page:before{content:"󰼫"}.mdi-stretch-to-page-outline:before{content:"󰼬"}.mdi-string-lights:before{content:"󱊺"}.mdi-string-lights-off:before{content:"󱊻"}.mdi-subdirectory-arrow-left:before{content:"󰘌"}.mdi-subdirectory-arrow-right:before{content:"󰘍"}.mdi-submarine:before{content:"󱕬"}.mdi-subtitles:before{content:"󰨖"}.mdi-subtitles-outline:before{content:"󰨗"}.mdi-subway:before{content:"󰚬"}.mdi-subway-alert-variant:before{content:"󰶝"}.mdi-subway-variant:before{content:"󰓟"}.mdi-summit:before{content:"󰞆"}.mdi-sun-angle:before{content:"󱬧"}.mdi-sun-angle-outline:before{content:"󱬨"}.mdi-sun-clock:before{content:"󱩷"}.mdi-sun-clock-outline:before{content:"󱩸"}.mdi-sun-compass:before{content:"󱦥"}.mdi-sun-snowflake:before{content:"󱞖"}.mdi-sun-snowflake-variant:before{content:"󱩹"}.mdi-sun-thermometer:before{content:"󱣖"}.mdi-sun-thermometer-outline:before{content:"󱣗"}.mdi-sun-wireless:before{content:"󱟾"}.mdi-sun-wireless-outline:before{content:"󱟿"}.mdi-sunglasses:before{content:"󰓠"}.mdi-surfing:before{content:"󱝆"}.mdi-surround-sound:before{content:"󰗅"}.mdi-surround-sound-2-0:before{content:"󰟰"}.mdi-surround-sound-2-1:before{content:"󱜩"}.mdi-surround-sound-3-1:before{content:"󰟱"}.mdi-surround-sound-5-1:before{content:"󰟲"}.mdi-surround-sound-5-1-2:before{content:"󱜪"}.mdi-surround-sound-7-1:before{content:"󰟳"}.mdi-svg:before{content:"󰜡"}.mdi-swap-horizontal:before{content:"󰓡"}.mdi-swap-horizontal-bold:before{content:"󰯍"}.mdi-swap-horizontal-circle:before{content:"󰿡"}.mdi-swap-horizontal-circle-outline:before{content:"󰿢"}.mdi-swap-horizontal-variant:before{content:"󰣁"}.mdi-swap-vertical:before{content:"󰓢"}.mdi-swap-vertical-bold:before{content:"󰯎"}.mdi-swap-vertical-circle:before{content:"󰿣"}.mdi-swap-vertical-circle-outline:before{content:"󰿤"}.mdi-swap-vertical-variant:before{content:"󰣂"}.mdi-swim:before{content:"󰓣"}.mdi-switch:before{content:"󰓤"}.mdi-sword:before{content:"󰓥"}.mdi-sword-cross:before{content:"󰞇"}.mdi-syllabary-hangul:before{content:"󱌳"}.mdi-syllabary-hiragana:before{content:"󱌴"}.mdi-syllabary-katakana:before{content:"󱌵"}.mdi-syllabary-katakana-halfwidth:before{content:"󱌶"}.mdi-symbol:before{content:"󱔁"}.mdi-symfony:before{content:"󰫦"}.mdi-synagogue:before{content:"󱬄"}.mdi-synagogue-outline:before{content:"󱬅"}.mdi-sync:before{content:"󰓦"}.mdi-sync-alert:before{content:"󰓧"}.mdi-sync-circle:before{content:"󱍸"}.mdi-sync-off:before{content:"󰓨"}.mdi-tab:before{content:"󰓩"}.mdi-tab-minus:before{content:"󰭋"}.mdi-tab-plus:before{content:"󰝜"}.mdi-tab-remove:before{content:"󰭌"}.mdi-tab-search:before{content:"󱦞"}.mdi-tab-unselected:before{content:"󰓪"}.mdi-table:before{content:"󰓫"}.mdi-table-account:before{content:"󱎹"}.mdi-table-alert:before{content:"󱎺"}.mdi-table-arrow-down:before{content:"󱎻"}.mdi-table-arrow-left:before{content:"󱎼"}.mdi-table-arrow-right:before{content:"󱎽"}.mdi-table-arrow-up:before{content:"󱎾"}.mdi-table-border:before{content:"󰨘"}.mdi-table-cancel:before{content:"󱎿"}.mdi-table-chair:before{content:"󱁡"}.mdi-table-check:before{content:"󱏀"}.mdi-table-clock:before{content:"󱏁"}.mdi-table-cog:before{content:"󱏂"}.mdi-table-column:before{content:"󰠵"}.mdi-table-column-plus-after:before{content:"󰓬"}.mdi-table-column-plus-before:before{content:"󰓭"}.mdi-table-column-remove:before{content:"󰓮"}.mdi-table-column-width:before{content:"󰓯"}.mdi-table-edit:before{content:"󰓰"}.mdi-table-eye:before{content:"󱂔"}.mdi-table-eye-off:before{content:"󱏃"}.mdi-table-filter:before{content:"󱮌"}.mdi-table-furniture:before{content:"󰖼"}.mdi-table-headers-eye:before{content:"󱈝"}.mdi-table-headers-eye-off:before{content:"󱈞"}.mdi-table-heart:before{content:"󱏄"}.mdi-table-key:before{content:"󱏅"}.mdi-table-large:before{content:"󰓱"}.mdi-table-large-plus:before{content:"󰾇"}.mdi-table-large-remove:before{content:"󰾈"}.mdi-table-lock:before{content:"󱏆"}.mdi-table-merge-cells:before{content:"󰦦"}.mdi-table-minus:before{content:"󱏇"}.mdi-table-multiple:before{content:"󱏈"}.mdi-table-network:before{content:"󱏉"}.mdi-table-of-contents:before{content:"󰠶"}.mdi-table-off:before{content:"󱏊"}.mdi-table-picnic:before{content:"󱝃"}.mdi-table-pivot:before{content:"󱠼"}.mdi-table-plus:before{content:"󰩵"}.mdi-table-question:before{content:"󱬡"}.mdi-table-refresh:before{content:"󱎠"}.mdi-table-remove:before{content:"󰩶"}.mdi-table-row:before{content:"󰠷"}.mdi-table-row-height:before{content:"󰓲"}.mdi-table-row-plus-after:before{content:"󰓳"}.mdi-table-row-plus-before:before{content:"󰓴"}.mdi-table-row-remove:before{content:"󰓵"}.mdi-table-search:before{content:"󰤏"}.mdi-table-settings:before{content:"󰠸"}.mdi-table-split-cell:before{content:"󱐪"}.mdi-table-star:before{content:"󱏋"}.mdi-table-sync:before{content:"󱎡"}.mdi-table-tennis:before{content:"󰹨"}.mdi-tablet:before{content:"󰓶"}.mdi-tablet-cellphone:before{content:"󰦧"}.mdi-tablet-dashboard:before{content:"󰻎"}.mdi-taco:before{content:"󰝢"}.mdi-tag:before{content:"󰓹"}.mdi-tag-arrow-down:before{content:"󱜫"}.mdi-tag-arrow-down-outline:before{content:"󱜬"}.mdi-tag-arrow-left:before{content:"󱜭"}.mdi-tag-arrow-left-outline:before{content:"󱜮"}.mdi-tag-arrow-right:before{content:"󱜯"}.mdi-tag-arrow-right-outline:before{content:"󱜰"}.mdi-tag-arrow-up:before{content:"󱜱"}.mdi-tag-arrow-up-outline:before{content:"󱜲"}.mdi-tag-check:before{content:"󱩺"}.mdi-tag-check-outline:before{content:"󱩻"}.mdi-tag-faces:before{content:"󰓺"}.mdi-tag-heart:before{content:"󰚋"}.mdi-tag-heart-outline:before{content:"󰯏"}.mdi-tag-hidden:before{content:"󱱶"}.mdi-tag-minus:before{content:"󰤐"}.mdi-tag-minus-outline:before{content:"󱈟"}.mdi-tag-multiple:before{content:"󰓻"}.mdi-tag-multiple-outline:before{content:"󱋷"}.mdi-tag-off:before{content:"󱈠"}.mdi-tag-off-outline:before{content:"󱈡"}.mdi-tag-outline:before{content:"󰓼"}.mdi-tag-plus:before{content:"󰜢"}.mdi-tag-plus-outline:before{content:"󱈢"}.mdi-tag-remove:before{content:"󰜣"}.mdi-tag-remove-outline:before{content:"󱈣"}.mdi-tag-search:before{content:"󱤇"}.mdi-tag-search-outline:before{content:"󱤈"}.mdi-tag-text:before{content:"󱈤"}.mdi-tag-text-outline:before{content:"󰓽"}.mdi-tailwind:before{content:"󱏿"}.mdi-tally-mark-1:before{content:"󱪼"}.mdi-tally-mark-2:before{content:"󱪽"}.mdi-tally-mark-3:before{content:"󱪾"}.mdi-tally-mark-4:before{content:"󱪿"}.mdi-tally-mark-5:before{content:"󱫀"}.mdi-tangram:before{content:"󰓸"}.mdi-tank:before{content:"󰴺"}.mdi-tanker-truck:before{content:"󰿥"}.mdi-tape-drive:before{content:"󱛟"}.mdi-tape-measure:before{content:"󰭍"}.mdi-target:before{content:"󰓾"}.mdi-target-account:before{content:"󰯐"}.mdi-target-variant:before{content:"󰩷"}.mdi-taxi:before{content:"󰓿"}.mdi-tea:before{content:"󰶞"}.mdi-tea-outline:before{content:"󰶟"}.mdi-teamviewer:before{content:"󰔀"}.mdi-teddy-bear:before{content:"󱣻"}.mdi-telescope:before{content:"󰭎"}.mdi-television:before{content:"󰔂"}.mdi-television-ambient-light:before{content:"󱍖"}.mdi-television-box:before{content:"󰠹"}.mdi-television-classic:before{content:"󰟴"}.mdi-television-classic-off:before{content:"󰠺"}.mdi-television-guide:before{content:"󰔃"}.mdi-television-off:before{content:"󰠻"}.mdi-television-pause:before{content:"󰾉"}.mdi-television-play:before{content:"󰻏"}.mdi-television-shimmer:before{content:"󱄐"}.mdi-television-speaker:before{content:"󱬛"}.mdi-television-speaker-off:before{content:"󱬜"}.mdi-television-stop:before{content:"󰾊"}.mdi-temperature-celsius:before{content:"󰔄"}.mdi-temperature-fahrenheit:before{content:"󰔅"}.mdi-temperature-kelvin:before{content:"󰔆"}.mdi-temple-buddhist:before{content:"󱬆"}.mdi-temple-buddhist-outline:before{content:"󱬇"}.mdi-temple-hindu:before{content:"󱬈"}.mdi-temple-hindu-outline:before{content:"󱬉"}.mdi-tennis:before{content:"󰶠"}.mdi-tennis-ball:before{content:"󰔇"}.mdi-tennis-ball-outline:before{content:"󱱟"}.mdi-tent:before{content:"󰔈"}.mdi-terraform:before{content:"󱁢"}.mdi-terrain:before{content:"󰔉"}.mdi-test-tube:before{content:"󰙨"}.mdi-test-tube-empty:before{content:"󰤑"}.mdi-test-tube-off:before{content:"󰤒"}.mdi-text:before{content:"󰦨"}.mdi-text-account:before{content:"󱕰"}.mdi-text-box:before{content:"󰈚"}.mdi-text-box-check:before{content:"󰺦"}.mdi-text-box-check-outline:before{content:"󰺧"}.mdi-text-box-edit:before{content:"󱩼"}.mdi-text-box-edit-outline:before{content:"󱩽"}.mdi-text-box-minus:before{content:"󰺨"}.mdi-text-box-minus-outline:before{content:"󰺩"}.mdi-text-box-multiple:before{content:"󰪷"}.mdi-text-box-multiple-outline:before{content:"󰪸"}.mdi-text-box-outline:before{content:"󰧭"}.mdi-text-box-plus:before{content:"󰺪"}.mdi-text-box-plus-outline:before{content:"󰺫"}.mdi-text-box-remove:before{content:"󰺬"}.mdi-text-box-remove-outline:before{content:"󰺭"}.mdi-text-box-search:before{content:"󰺮"}.mdi-text-box-search-outline:before{content:"󰺯"}.mdi-text-long:before{content:"󰦪"}.mdi-text-recognition:before{content:"󱄽"}.mdi-text-search:before{content:"󱎸"}.mdi-text-search-variant:before{content:"󱩾"}.mdi-text-shadow:before{content:"󰙩"}.mdi-text-short:before{content:"󰦩"}.mdi-texture:before{content:"󰔌"}.mdi-texture-box:before{content:"󰿦"}.mdi-theater:before{content:"󰔍"}.mdi-theme-light-dark:before{content:"󰔎"}.mdi-thermometer:before{content:"󰔏"}.mdi-thermometer-alert:before{content:"󰸁"}.mdi-thermometer-auto:before{content:"󱬏"}.mdi-thermometer-bluetooth:before{content:"󱢕"}.mdi-thermometer-check:before{content:"󱩿"}.mdi-thermometer-chevron-down:before{content:"󰸂"}.mdi-thermometer-chevron-up:before{content:"󰸃"}.mdi-thermometer-high:before{content:"󱃂"}.mdi-thermometer-lines:before{content:"󰔐"}.mdi-thermometer-low:before{content:"󱃃"}.mdi-thermometer-minus:before{content:"󰸄"}.mdi-thermometer-off:before{content:"󱔱"}.mdi-thermometer-plus:before{content:"󰸅"}.mdi-thermometer-probe:before{content:"󱬫"}.mdi-thermometer-probe-off:before{content:"󱬬"}.mdi-thermometer-water:before{content:"󱪀"}.mdi-thermostat:before{content:"󰎓"}.mdi-thermostat-auto:before{content:"󱬗"}.mdi-thermostat-box:before{content:"󰢑"}.mdi-thermostat-box-auto:before{content:"󱬘"}.mdi-thermostat-cog:before{content:"󱲀"}.mdi-thought-bubble:before{content:"󰟶"}.mdi-thought-bubble-outline:before{content:"󰟷"}.mdi-thumb-down:before{content:"󰔑"}.mdi-thumb-down-outline:before{content:"󰔒"}.mdi-thumb-up:before{content:"󰔓"}.mdi-thumb-up-outline:before{content:"󰔔"}.mdi-thumbs-up-down:before{content:"󰔕"}.mdi-thumbs-up-down-outline:before{content:"󱤔"}.mdi-ticket:before{content:"󰔖"}.mdi-ticket-account:before{content:"󰔗"}.mdi-ticket-confirmation:before{content:"󰔘"}.mdi-ticket-confirmation-outline:before{content:"󱎪"}.mdi-ticket-outline:before{content:"󰤓"}.mdi-ticket-percent:before{content:"󰜤"}.mdi-ticket-percent-outline:before{content:"󱐫"}.mdi-tie:before{content:"󰔙"}.mdi-tilde:before{content:"󰜥"}.mdi-tilde-off:before{content:"󱣳"}.mdi-timelapse:before{content:"󰔚"}.mdi-timeline:before{content:"󰯑"}.mdi-timeline-alert:before{content:"󰾕"}.mdi-timeline-alert-outline:before{content:"󰾘"}.mdi-timeline-check:before{content:"󱔲"}.mdi-timeline-check-outline:before{content:"󱔳"}.mdi-timeline-clock:before{content:"󱇻"}.mdi-timeline-clock-outline:before{content:"󱇼"}.mdi-timeline-minus:before{content:"󱔴"}.mdi-timeline-minus-outline:before{content:"󱔵"}.mdi-timeline-outline:before{content:"󰯒"}.mdi-timeline-plus:before{content:"󰾖"}.mdi-timeline-plus-outline:before{content:"󰾗"}.mdi-timeline-question:before{content:"󰾙"}.mdi-timeline-question-outline:before{content:"󰾚"}.mdi-timeline-remove:before{content:"󱔶"}.mdi-timeline-remove-outline:before{content:"󱔷"}.mdi-timeline-text:before{content:"󰯓"}.mdi-timeline-text-outline:before{content:"󰯔"}.mdi-timer:before{content:"󱎫"}.mdi-timer-10:before{content:"󰔜"}.mdi-timer-3:before{content:"󰔝"}.mdi-timer-alert:before{content:"󱫌"}.mdi-timer-alert-outline:before{content:"󱫍"}.mdi-timer-cancel:before{content:"󱫎"}.mdi-timer-cancel-outline:before{content:"󱫏"}.mdi-timer-check:before{content:"󱫐"}.mdi-timer-check-outline:before{content:"󱫑"}.mdi-timer-cog:before{content:"󱤥"}.mdi-timer-cog-outline:before{content:"󱤦"}.mdi-timer-edit:before{content:"󱫒"}.mdi-timer-edit-outline:before{content:"󱫓"}.mdi-timer-lock:before{content:"󱫔"}.mdi-timer-lock-open:before{content:"󱫕"}.mdi-timer-lock-open-outline:before{content:"󱫖"}.mdi-timer-lock-outline:before{content:"󱫗"}.mdi-timer-marker:before{content:"󱫘"}.mdi-timer-marker-outline:before{content:"󱫙"}.mdi-timer-minus:before{content:"󱫚"}.mdi-timer-minus-outline:before{content:"󱫛"}.mdi-timer-music:before{content:"󱫜"}.mdi-timer-music-outline:before{content:"󱫝"}.mdi-timer-off:before{content:"󱎬"}.mdi-timer-off-outline:before{content:"󰔞"}.mdi-timer-outline:before{content:"󰔛"}.mdi-timer-pause:before{content:"󱫞"}.mdi-timer-pause-outline:before{content:"󱫟"}.mdi-timer-play:before{content:"󱫠"}.mdi-timer-play-outline:before{content:"󱫡"}.mdi-timer-plus:before{content:"󱫢"}.mdi-timer-plus-outline:before{content:"󱫣"}.mdi-timer-refresh:before{content:"󱫤"}.mdi-timer-refresh-outline:before{content:"󱫥"}.mdi-timer-remove:before{content:"󱫦"}.mdi-timer-remove-outline:before{content:"󱫧"}.mdi-timer-sand:before{content:"󰔟"}.mdi-timer-sand-complete:before{content:"󱦟"}.mdi-timer-sand-empty:before{content:"󰚭"}.mdi-timer-sand-full:before{content:"󰞌"}.mdi-timer-sand-paused:before{content:"󱦠"}.mdi-timer-settings:before{content:"󱤣"}.mdi-timer-settings-outline:before{content:"󱤤"}.mdi-timer-star:before{content:"󱫨"}.mdi-timer-star-outline:before{content:"󱫩"}.mdi-timer-stop:before{content:"󱫪"}.mdi-timer-stop-outline:before{content:"󱫫"}.mdi-timer-sync:before{content:"󱫬"}.mdi-timer-sync-outline:before{content:"󱫭"}.mdi-timetable:before{content:"󰔠"}.mdi-tire:before{content:"󱢖"}.mdi-toaster:before{content:"󱁣"}.mdi-toaster-off:before{content:"󱆷"}.mdi-toaster-oven:before{content:"󰳓"}.mdi-toggle-switch:before{content:"󰔡"}.mdi-toggle-switch-off:before{content:"󰔢"}.mdi-toggle-switch-off-outline:before{content:"󰨙"}.mdi-toggle-switch-outline:before{content:"󰨚"}.mdi-toggle-switch-variant:before{content:"󱨥"}.mdi-toggle-switch-variant-off:before{content:"󱨦"}.mdi-toilet:before{content:"󰦫"}.mdi-toolbox:before{content:"󰦬"}.mdi-toolbox-outline:before{content:"󰦭"}.mdi-tools:before{content:"󱁤"}.mdi-tooltip:before{content:"󰔣"}.mdi-tooltip-account:before{content:"󰀌"}.mdi-tooltip-cellphone:before{content:"󱠻"}.mdi-tooltip-check:before{content:"󱕜"}.mdi-tooltip-check-outline:before{content:"󱕝"}.mdi-tooltip-edit:before{content:"󰔤"}.mdi-tooltip-edit-outline:before{content:"󱋅"}.mdi-tooltip-image:before{content:"󰔥"}.mdi-tooltip-image-outline:before{content:"󰯕"}.mdi-tooltip-minus:before{content:"󱕞"}.mdi-tooltip-minus-outline:before{content:"󱕟"}.mdi-tooltip-outline:before{content:"󰔦"}.mdi-tooltip-plus:before{content:"󰯖"}.mdi-tooltip-plus-outline:before{content:"󰔧"}.mdi-tooltip-question:before{content:"󱮺"}.mdi-tooltip-question-outline:before{content:"󱮻"}.mdi-tooltip-remove:before{content:"󱕠"}.mdi-tooltip-remove-outline:before{content:"󱕡"}.mdi-tooltip-text:before{content:"󰔨"}.mdi-tooltip-text-outline:before{content:"󰯗"}.mdi-tooth:before{content:"󰣃"}.mdi-tooth-outline:before{content:"󰔩"}.mdi-toothbrush:before{content:"󱄩"}.mdi-toothbrush-electric:before{content:"󱄬"}.mdi-toothbrush-paste:before{content:"󱄪"}.mdi-torch:before{content:"󱘆"}.mdi-tortoise:before{content:"󰴻"}.mdi-toslink:before{content:"󱊸"}.mdi-touch-text-outline:before{content:"󱱠"}.mdi-tournament:before{content:"󰦮"}.mdi-tow-truck:before{content:"󰠼"}.mdi-tower-beach:before{content:"󰚁"}.mdi-tower-fire:before{content:"󰚂"}.mdi-town-hall:before{content:"󱡵"}.mdi-toy-brick:before{content:"󱊈"}.mdi-toy-brick-marker:before{content:"󱊉"}.mdi-toy-brick-marker-outline:before{content:"󱊊"}.mdi-toy-brick-minus:before{content:"󱊋"}.mdi-toy-brick-minus-outline:before{content:"󱊌"}.mdi-toy-brick-outline:before{content:"󱊍"}.mdi-toy-brick-plus:before{content:"󱊎"}.mdi-toy-brick-plus-outline:before{content:"󱊏"}.mdi-toy-brick-remove:before{content:"󱊐"}.mdi-toy-brick-remove-outline:before{content:"󱊑"}.mdi-toy-brick-search:before{content:"󱊒"}.mdi-toy-brick-search-outline:before{content:"󱊓"}.mdi-track-light:before{content:"󰤔"}.mdi-track-light-off:before{content:"󱬁"}.mdi-trackpad:before{content:"󰟸"}.mdi-trackpad-lock:before{content:"󰤳"}.mdi-tractor:before{content:"󰢒"}.mdi-tractor-variant:before{content:"󱓄"}.mdi-trademark:before{content:"󰩸"}.mdi-traffic-cone:before{content:"󱍼"}.mdi-traffic-light:before{content:"󰔫"}.mdi-traffic-light-outline:before{content:"󱠪"}.mdi-train:before{content:"󰔬"}.mdi-train-car:before{content:"󰯘"}.mdi-train-car-autorack:before{content:"󱬭"}.mdi-train-car-box:before{content:"󱬮"}.mdi-train-car-box-full:before{content:"󱬯"}.mdi-train-car-box-open:before{content:"󱬰"}.mdi-train-car-caboose:before{content:"󱬱"}.mdi-train-car-centerbeam:before{content:"󱬲"}.mdi-train-car-centerbeam-full:before{content:"󱬳"}.mdi-train-car-container:before{content:"󱬴"}.mdi-train-car-flatbed:before{content:"󱬵"}.mdi-train-car-flatbed-car:before{content:"󱬶"}.mdi-train-car-flatbed-tank:before{content:"󱬷"}.mdi-train-car-gondola:before{content:"󱬸"}.mdi-train-car-gondola-full:before{content:"󱬹"}.mdi-train-car-hopper:before{content:"󱬺"}.mdi-train-car-hopper-covered:before{content:"󱬻"}.mdi-train-car-hopper-full:before{content:"󱬼"}.mdi-train-car-intermodal:before{content:"󱬽"}.mdi-train-car-passenger:before{content:"󱜳"}.mdi-train-car-passenger-door:before{content:"󱜴"}.mdi-train-car-passenger-door-open:before{content:"󱜵"}.mdi-train-car-passenger-variant:before{content:"󱜶"}.mdi-train-car-tank:before{content:"󱬾"}.mdi-train-variant:before{content:"󰣄"}.mdi-tram:before{content:"󰔭"}.mdi-tram-side:before{content:"󰿧"}.mdi-transcribe:before{content:"󰔮"}.mdi-transcribe-close:before{content:"󰔯"}.mdi-transfer:before{content:"󱁥"}.mdi-transfer-down:before{content:"󰶡"}.mdi-transfer-left:before{content:"󰶢"}.mdi-transfer-right:before{content:"󰔰"}.mdi-transfer-up:before{content:"󰶣"}.mdi-transit-connection:before{content:"󰴼"}.mdi-transit-connection-horizontal:before{content:"󱕆"}.mdi-transit-connection-variant:before{content:"󰴽"}.mdi-transit-detour:before{content:"󰾋"}.mdi-transit-skip:before{content:"󱔕"}.mdi-transit-transfer:before{content:"󰚮"}.mdi-transition:before{content:"󰤕"}.mdi-transition-masked:before{content:"󰤖"}.mdi-translate:before{content:"󰗊"}.mdi-translate-off:before{content:"󰸆"}.mdi-translate-variant:before{content:"󱮙"}.mdi-transmission-tower:before{content:"󰴾"}.mdi-transmission-tower-export:before{content:"󱤬"}.mdi-transmission-tower-import:before{content:"󱤭"}.mdi-transmission-tower-off:before{content:"󱧝"}.mdi-trash-can:before{content:"󰩹"}.mdi-trash-can-outline:before{content:"󰩺"}.mdi-tray:before{content:"󱊔"}.mdi-tray-alert:before{content:"󱊕"}.mdi-tray-arrow-down:before{content:"󰄠"}.mdi-tray-arrow-up:before{content:"󰄝"}.mdi-tray-full:before{content:"󱊖"}.mdi-tray-minus:before{content:"󱊗"}.mdi-tray-plus:before{content:"󱊘"}.mdi-tray-remove:before{content:"󱊙"}.mdi-treasure-chest:before{content:"󰜦"}.mdi-treasure-chest-outline:before{content:"󱱷"}.mdi-tree:before{content:"󰔱"}.mdi-tree-outline:before{content:"󰹩"}.mdi-trello:before{content:"󰔲"}.mdi-trending-down:before{content:"󰔳"}.mdi-trending-neutral:before{content:"󰔴"}.mdi-trending-up:before{content:"󰔵"}.mdi-triangle:before{content:"󰔶"}.mdi-triangle-down:before{content:"󱱖"}.mdi-triangle-down-outline:before{content:"󱱗"}.mdi-triangle-outline:before{content:"󰔷"}.mdi-triangle-small-down:before{content:"󱨉"}.mdi-triangle-small-up:before{content:"󱨊"}.mdi-triangle-wave:before{content:"󱑼"}.mdi-triforce:before{content:"󰯙"}.mdi-trophy:before{content:"󰔸"}.mdi-trophy-award:before{content:"󰔹"}.mdi-trophy-broken:before{content:"󰶤"}.mdi-trophy-outline:before{content:"󰔺"}.mdi-trophy-variant:before{content:"󰔻"}.mdi-trophy-variant-outline:before{content:"󰔼"}.mdi-truck:before{content:"󰔽"}.mdi-truck-alert:before{content:"󱧞"}.mdi-truck-alert-outline:before{content:"󱧟"}.mdi-truck-cargo-container:before{content:"󱣘"}.mdi-truck-check:before{content:"󰳔"}.mdi-truck-check-outline:before{content:"󱊚"}.mdi-truck-delivery:before{content:"󰔾"}.mdi-truck-delivery-outline:before{content:"󱊛"}.mdi-truck-fast:before{content:"󰞈"}.mdi-truck-fast-outline:before{content:"󱊜"}.mdi-truck-flatbed:before{content:"󱢑"}.mdi-truck-minus:before{content:"󱦮"}.mdi-truck-minus-outline:before{content:"󱦽"}.mdi-truck-outline:before{content:"󱊝"}.mdi-truck-plus:before{content:"󱦭"}.mdi-truck-plus-outline:before{content:"󱦼"}.mdi-truck-remove:before{content:"󱦯"}.mdi-truck-remove-outline:before{content:"󱦾"}.mdi-truck-snowflake:before{content:"󱦦"}.mdi-truck-trailer:before{content:"󰜧"}.mdi-trumpet:before{content:"󱂖"}.mdi-tshirt-crew:before{content:"󰩻"}.mdi-tshirt-crew-outline:before{content:"󰔿"}.mdi-tshirt-v:before{content:"󰩼"}.mdi-tshirt-v-outline:before{content:"󰕀"}.mdi-tsunami:before{content:"󱪁"}.mdi-tumble-dryer:before{content:"󰤗"}.mdi-tumble-dryer-alert:before{content:"󱆺"}.mdi-tumble-dryer-off:before{content:"󱆻"}.mdi-tune:before{content:"󰘮"}.mdi-tune-variant:before{content:"󱕂"}.mdi-tune-vertical:before{content:"󰙪"}.mdi-tune-vertical-variant:before{content:"󱕃"}.mdi-tunnel:before{content:"󱠽"}.mdi-tunnel-outline:before{content:"󱠾"}.mdi-turbine:before{content:"󱪂"}.mdi-turkey:before{content:"󱜛"}.mdi-turnstile:before{content:"󰳕"}.mdi-turnstile-outline:before{content:"󰳖"}.mdi-turtle:before{content:"󰳗"}.mdi-twitch:before{content:"󰕃"}.mdi-twitter:before{content:"󰕄"}.mdi-two-factor-authentication:before{content:"󰦯"}.mdi-typewriter:before{content:"󰼭"}.mdi-ubisoft:before{content:"󰯚"}.mdi-ubuntu:before{content:"󰕈"}.mdi-ufo:before{content:"󱃄"}.mdi-ufo-outline:before{content:"󱃅"}.mdi-ultra-high-definition:before{content:"󰟹"}.mdi-umbraco:before{content:"󰕉"}.mdi-umbrella:before{content:"󰕊"}.mdi-umbrella-beach:before{content:"󱢊"}.mdi-umbrella-beach-outline:before{content:"󱢋"}.mdi-umbrella-closed:before{content:"󰦰"}.mdi-umbrella-closed-outline:before{content:"󱏢"}.mdi-umbrella-closed-variant:before{content:"󱏡"}.mdi-umbrella-outline:before{content:"󰕋"}.mdi-undo:before{content:"󰕌"}.mdi-undo-variant:before{content:"󰕍"}.mdi-unfold-less-horizontal:before{content:"󰕎"}.mdi-unfold-less-vertical:before{content:"󰝠"}.mdi-unfold-more-horizontal:before{content:"󰕏"}.mdi-unfold-more-vertical:before{content:"󰝡"}.mdi-ungroup:before{content:"󰕐"}.mdi-unicode:before{content:"󰻐"}.mdi-unicorn:before{content:"󱗂"}.mdi-unicorn-variant:before{content:"󱗃"}.mdi-unicycle:before{content:"󱗥"}.mdi-unity:before{content:"󰚯"}.mdi-unreal:before{content:"󰦱"}.mdi-update:before{content:"󰚰"}.mdi-upload:before{content:"󰕒"}.mdi-upload-lock:before{content:"󱍳"}.mdi-upload-lock-outline:before{content:"󱍴"}.mdi-upload-multiple:before{content:"󰠽"}.mdi-upload-network:before{content:"󰛶"}.mdi-upload-network-outline:before{content:"󰳘"}.mdi-upload-off:before{content:"󱃆"}.mdi-upload-off-outline:before{content:"󱃇"}.mdi-upload-outline:before{content:"󰸇"}.mdi-usb:before{content:"󰕓"}.mdi-usb-flash-drive:before{content:"󱊞"}.mdi-usb-flash-drive-outline:before{content:"󱊟"}.mdi-usb-port:before{content:"󱇰"}.mdi-vacuum:before{content:"󱦡"}.mdi-vacuum-outline:before{content:"󱦢"}.mdi-valve:before{content:"󱁦"}.mdi-valve-closed:before{content:"󱁧"}.mdi-valve-open:before{content:"󱁨"}.mdi-van-passenger:before{content:"󰟺"}.mdi-van-utility:before{content:"󰟻"}.mdi-vanish:before{content:"󰟼"}.mdi-vanish-quarter:before{content:"󱕔"}.mdi-vanity-light:before{content:"󱇡"}.mdi-variable:before{content:"󰫧"}.mdi-variable-box:before{content:"󱄑"}.mdi-vector-arrange-above:before{content:"󰕔"}.mdi-vector-arrange-below:before{content:"󰕕"}.mdi-vector-bezier:before{content:"󰫨"}.mdi-vector-circle:before{content:"󰕖"}.mdi-vector-circle-variant:before{content:"󰕗"}.mdi-vector-combine:before{content:"󰕘"}.mdi-vector-curve:before{content:"󰕙"}.mdi-vector-difference:before{content:"󰕚"}.mdi-vector-difference-ab:before{content:"󰕛"}.mdi-vector-difference-ba:before{content:"󰕜"}.mdi-vector-ellipse:before{content:"󰢓"}.mdi-vector-intersection:before{content:"󰕝"}.mdi-vector-line:before{content:"󰕞"}.mdi-vector-link:before{content:"󰿨"}.mdi-vector-point:before{content:"󰇄"}.mdi-vector-point-edit:before{content:"󰧨"}.mdi-vector-point-minus:before{content:"󱭸"}.mdi-vector-point-plus:before{content:"󱭹"}.mdi-vector-point-select:before{content:"󰕟"}.mdi-vector-polygon:before{content:"󰕠"}.mdi-vector-polygon-variant:before{content:"󱡖"}.mdi-vector-polyline:before{content:"󰕡"}.mdi-vector-polyline-edit:before{content:"󱈥"}.mdi-vector-polyline-minus:before{content:"󱈦"}.mdi-vector-polyline-plus:before{content:"󱈧"}.mdi-vector-polyline-remove:before{content:"󱈨"}.mdi-vector-radius:before{content:"󰝊"}.mdi-vector-rectangle:before{content:"󰗆"}.mdi-vector-selection:before{content:"󰕢"}.mdi-vector-square:before{content:"󰀁"}.mdi-vector-square-close:before{content:"󱡗"}.mdi-vector-square-edit:before{content:"󱣙"}.mdi-vector-square-minus:before{content:"󱣚"}.mdi-vector-square-open:before{content:"󱡘"}.mdi-vector-square-plus:before{content:"󱣛"}.mdi-vector-square-remove:before{content:"󱣜"}.mdi-vector-triangle:before{content:"󰕣"}.mdi-vector-union:before{content:"󰕤"}.mdi-vhs:before{content:"󰨛"}.mdi-vibrate:before{content:"󰕦"}.mdi-vibrate-off:before{content:"󰳙"}.mdi-video:before{content:"󰕧"}.mdi-video-2d:before{content:"󱨜"}.mdi-video-3d:before{content:"󰟽"}.mdi-video-3d-off:before{content:"󱏙"}.mdi-video-3d-variant:before{content:"󰻑"}.mdi-video-4k-box:before{content:"󰠾"}.mdi-video-account:before{content:"󰤙"}.mdi-video-box:before{content:"󰃽"}.mdi-video-box-off:before{content:"󰃾"}.mdi-video-check:before{content:"󱁩"}.mdi-video-check-outline:before{content:"󱁪"}.mdi-video-high-definition:before{content:"󱔮"}.mdi-video-image:before{content:"󰤚"}.mdi-video-input-antenna:before{content:"󰠿"}.mdi-video-input-component:before{content:"󰡀"}.mdi-video-input-hdmi:before{content:"󰡁"}.mdi-video-input-scart:before{content:"󰾌"}.mdi-video-input-svideo:before{content:"󰡂"}.mdi-video-marker:before{content:"󱦩"}.mdi-video-marker-outline:before{content:"󱦪"}.mdi-video-minus:before{content:"󰦲"}.mdi-video-minus-outline:before{content:"󰊺"}.mdi-video-off:before{content:"󰕨"}.mdi-video-off-outline:before{content:"󰯛"}.mdi-video-outline:before{content:"󰯜"}.mdi-video-plus:before{content:"󰦳"}.mdi-video-plus-outline:before{content:"󰇓"}.mdi-video-stabilization:before{content:"󰤛"}.mdi-video-switch:before{content:"󰕩"}.mdi-video-switch-outline:before{content:"󰞐"}.mdi-video-vintage:before{content:"󰨜"}.mdi-video-wireless:before{content:"󰻒"}.mdi-video-wireless-outline:before{content:"󰻓"}.mdi-view-agenda:before{content:"󰕪"}.mdi-view-agenda-outline:before{content:"󱇘"}.mdi-view-array:before{content:"󰕫"}.mdi-view-array-outline:before{content:"󱒅"}.mdi-view-carousel:before{content:"󰕬"}.mdi-view-carousel-outline:before{content:"󱒆"}.mdi-view-column:before{content:"󰕭"}.mdi-view-column-outline:before{content:"󱒇"}.mdi-view-comfy:before{content:"󰹪"}.mdi-view-comfy-outline:before{content:"󱒈"}.mdi-view-compact:before{content:"󰹫"}.mdi-view-compact-outline:before{content:"󰹬"}.mdi-view-dashboard:before{content:"󰕮"}.mdi-view-dashboard-edit:before{content:"󱥇"}.mdi-view-dashboard-edit-outline:before{content:"󱥈"}.mdi-view-dashboard-outline:before{content:"󰨝"}.mdi-view-dashboard-variant:before{content:"󰡃"}.mdi-view-dashboard-variant-outline:before{content:"󱒉"}.mdi-view-day:before{content:"󰕯"}.mdi-view-day-outline:before{content:"󱒊"}.mdi-view-gallery:before{content:"󱢈"}.mdi-view-gallery-outline:before{content:"󱢉"}.mdi-view-grid:before{content:"󰕰"}.mdi-view-grid-compact:before{content:"󱱡"}.mdi-view-grid-outline:before{content:"󱇙"}.mdi-view-grid-plus:before{content:"󰾍"}.mdi-view-grid-plus-outline:before{content:"󱇚"}.mdi-view-headline:before{content:"󰕱"}.mdi-view-list:before{content:"󰕲"}.mdi-view-list-outline:before{content:"󱒋"}.mdi-view-module:before{content:"󰕳"}.mdi-view-module-outline:before{content:"󱒌"}.mdi-view-parallel:before{content:"󰜨"}.mdi-view-parallel-outline:before{content:"󱒍"}.mdi-view-quilt:before{content:"󰕴"}.mdi-view-quilt-outline:before{content:"󱒎"}.mdi-view-sequential:before{content:"󰜩"}.mdi-view-sequential-outline:before{content:"󱒏"}.mdi-view-split-horizontal:before{content:"󰯋"}.mdi-view-split-vertical:before{content:"󰯌"}.mdi-view-stream:before{content:"󰕵"}.mdi-view-stream-outline:before{content:"󱒐"}.mdi-view-week:before{content:"󰕶"}.mdi-view-week-outline:before{content:"󱒑"}.mdi-vimeo:before{content:"󰕷"}.mdi-violin:before{content:"󰘏"}.mdi-virtual-reality:before{content:"󰢔"}.mdi-virus:before{content:"󱎶"}.mdi-virus-off:before{content:"󱣡"}.mdi-virus-off-outline:before{content:"󱣢"}.mdi-virus-outline:before{content:"󱎷"}.mdi-vlc:before{content:"󰕼"}.mdi-voicemail:before{content:"󰕽"}.mdi-volcano:before{content:"󱪃"}.mdi-volcano-outline:before{content:"󱪄"}.mdi-volleyball:before{content:"󰦴"}.mdi-volume-equal:before{content:"󱬐"}.mdi-volume-high:before{content:"󰕾"}.mdi-volume-low:before{content:"󰕿"}.mdi-volume-medium:before{content:"󰖀"}.mdi-volume-minus:before{content:"󰝞"}.mdi-volume-mute:before{content:"󰝟"}.mdi-volume-off:before{content:"󰖁"}.mdi-volume-plus:before{content:"󰝝"}.mdi-volume-source:before{content:"󱄠"}.mdi-volume-variant-off:before{content:"󰸈"}.mdi-volume-vibrate:before{content:"󱄡"}.mdi-vote:before{content:"󰨟"}.mdi-vote-outline:before{content:"󰨠"}.mdi-vpn:before{content:"󰖂"}.mdi-vuejs:before{content:"󰡄"}.mdi-vuetify:before{content:"󰹭"}.mdi-walk:before{content:"󰖃"}.mdi-wall:before{content:"󰟾"}.mdi-wall-fire:before{content:"󱨑"}.mdi-wall-sconce:before{content:"󰤜"}.mdi-wall-sconce-flat:before{content:"󰤝"}.mdi-wall-sconce-flat-outline:before{content:"󱟉"}.mdi-wall-sconce-flat-variant:before{content:"󰐜"}.mdi-wall-sconce-flat-variant-outline:before{content:"󱟊"}.mdi-wall-sconce-outline:before{content:"󱟋"}.mdi-wall-sconce-round:before{content:"󰝈"}.mdi-wall-sconce-round-outline:before{content:"󱟌"}.mdi-wall-sconce-round-variant:before{content:"󰤞"}.mdi-wall-sconce-round-variant-outline:before{content:"󱟍"}.mdi-wallet:before{content:"󰖄"}.mdi-wallet-bifold:before{content:"󱱘"}.mdi-wallet-bifold-outline:before{content:"󱱙"}.mdi-wallet-giftcard:before{content:"󰖅"}.mdi-wallet-membership:before{content:"󰖆"}.mdi-wallet-outline:before{content:"󰯝"}.mdi-wallet-plus:before{content:"󰾎"}.mdi-wallet-plus-outline:before{content:"󰾏"}.mdi-wallet-travel:before{content:"󰖇"}.mdi-wallpaper:before{content:"󰸉"}.mdi-wan:before{content:"󰖈"}.mdi-wardrobe:before{content:"󰾐"}.mdi-wardrobe-outline:before{content:"󰾑"}.mdi-warehouse:before{content:"󰾁"}.mdi-washing-machine:before{content:"󰜪"}.mdi-washing-machine-alert:before{content:"󱆼"}.mdi-washing-machine-off:before{content:"󱆽"}.mdi-watch:before{content:"󰖉"}.mdi-watch-export:before{content:"󰖊"}.mdi-watch-export-variant:before{content:"󰢕"}.mdi-watch-import:before{content:"󰖋"}.mdi-watch-import-variant:before{content:"󰢖"}.mdi-watch-variant:before{content:"󰢗"}.mdi-watch-vibrate:before{content:"󰚱"}.mdi-watch-vibrate-off:before{content:"󰳚"}.mdi-water:before{content:"󰖌"}.mdi-water-alert:before{content:"󱔂"}.mdi-water-alert-outline:before{content:"󱔃"}.mdi-water-boiler:before{content:"󰾒"}.mdi-water-boiler-alert:before{content:"󱆳"}.mdi-water-boiler-auto:before{content:"󱮘"}.mdi-water-boiler-off:before{content:"󱆴"}.mdi-water-check:before{content:"󱔄"}.mdi-water-check-outline:before{content:"󱔅"}.mdi-water-circle:before{content:"󱠆"}.mdi-water-minus:before{content:"󱔆"}.mdi-water-minus-outline:before{content:"󱔇"}.mdi-water-off:before{content:"󰖍"}.mdi-water-off-outline:before{content:"󱔈"}.mdi-water-opacity:before{content:"󱡕"}.mdi-water-outline:before{content:"󰸊"}.mdi-water-percent:before{content:"󰖎"}.mdi-water-percent-alert:before{content:"󱔉"}.mdi-water-plus:before{content:"󱔊"}.mdi-water-plus-outline:before{content:"󱔋"}.mdi-water-polo:before{content:"󱊠"}.mdi-water-pump:before{content:"󰖏"}.mdi-water-pump-off:before{content:"󰾓"}.mdi-water-remove:before{content:"󱔌"}.mdi-water-remove-outline:before{content:"󱔍"}.mdi-water-sync:before{content:"󱟆"}.mdi-water-thermometer:before{content:"󱪅"}.mdi-water-thermometer-outline:before{content:"󱪆"}.mdi-water-well:before{content:"󱁫"}.mdi-water-well-outline:before{content:"󱁬"}.mdi-waterfall:before{content:"󱡉"}.mdi-watering-can:before{content:"󱒁"}.mdi-watering-can-outline:before{content:"󱒂"}.mdi-watermark:before{content:"󰘒"}.mdi-wave:before{content:"󰼮"}.mdi-waveform:before{content:"󱑽"}.mdi-waves:before{content:"󰞍"}.mdi-waves-arrow-left:before{content:"󱡙"}.mdi-waves-arrow-right:before{content:"󱡚"}.mdi-waves-arrow-up:before{content:"󱡛"}.mdi-waze:before{content:"󰯞"}.mdi-weather-cloudy:before{content:"󰖐"}.mdi-weather-cloudy-alert:before{content:"󰼯"}.mdi-weather-cloudy-arrow-right:before{content:"󰹮"}.mdi-weather-cloudy-clock:before{content:"󱣶"}.mdi-weather-dust:before{content:"󱭚"}.mdi-weather-fog:before{content:"󰖑"}.mdi-weather-hail:before{content:"󰖒"}.mdi-weather-hazy:before{content:"󰼰"}.mdi-weather-hurricane:before{content:"󰢘"}.mdi-weather-hurricane-outline:before{content:"󱱸"}.mdi-weather-lightning:before{content:"󰖓"}.mdi-weather-lightning-rainy:before{content:"󰙾"}.mdi-weather-night:before{content:"󰖔"}.mdi-weather-night-partly-cloudy:before{content:"󰼱"}.mdi-weather-partly-cloudy:before{content:"󰖕"}.mdi-weather-partly-lightning:before{content:"󰼲"}.mdi-weather-partly-rainy:before{content:"󰼳"}.mdi-weather-partly-snowy:before{content:"󰼴"}.mdi-weather-partly-snowy-rainy:before{content:"󰼵"}.mdi-weather-pouring:before{content:"󰖖"}.mdi-weather-rainy:before{content:"󰖗"}.mdi-weather-snowy:before{content:"󰖘"}.mdi-weather-snowy-heavy:before{content:"󰼶"}.mdi-weather-snowy-rainy:before{content:"󰙿"}.mdi-weather-sunny:before{content:"󰖙"}.mdi-weather-sunny-alert:before{content:"󰼷"}.mdi-weather-sunny-off:before{content:"󱓤"}.mdi-weather-sunset:before{content:"󰖚"}.mdi-weather-sunset-down:before{content:"󰖛"}.mdi-weather-sunset-up:before{content:"󰖜"}.mdi-weather-tornado:before{content:"󰼸"}.mdi-weather-windy:before{content:"󰖝"}.mdi-weather-windy-variant:before{content:"󰖞"}.mdi-web:before{content:"󰖟"}.mdi-web-box:before{content:"󰾔"}.mdi-web-cancel:before{content:"󱞐"}.mdi-web-check:before{content:"󰞉"}.mdi-web-clock:before{content:"󱉊"}.mdi-web-minus:before{content:"󱂠"}.mdi-web-off:before{content:"󰪎"}.mdi-web-plus:before{content:"󰀳"}.mdi-web-refresh:before{content:"󱞑"}.mdi-web-remove:before{content:"󰕑"}.mdi-web-sync:before{content:"󱞒"}.mdi-webcam:before{content:"󰖠"}.mdi-webcam-off:before{content:"󱜷"}.mdi-webhook:before{content:"󰘯"}.mdi-webpack:before{content:"󰜫"}.mdi-webrtc:before{content:"󱉈"}.mdi-wechat:before{content:"󰘑"}.mdi-weight:before{content:"󰖡"}.mdi-weight-gram:before{content:"󰴿"}.mdi-weight-kilogram:before{content:"󰖢"}.mdi-weight-lifter:before{content:"󱅝"}.mdi-weight-pound:before{content:"󰦵"}.mdi-whatsapp:before{content:"󰖣"}.mdi-wheel-barrow:before{content:"󱓲"}.mdi-wheelchair:before{content:"󱪇"}.mdi-wheelchair-accessibility:before{content:"󰖤"}.mdi-whistle:before{content:"󰦶"}.mdi-whistle-outline:before{content:"󱊼"}.mdi-white-balance-auto:before{content:"󰖥"}.mdi-white-balance-incandescent:before{content:"󰖦"}.mdi-white-balance-iridescent:before{content:"󰖧"}.mdi-white-balance-sunny:before{content:"󰖨"}.mdi-widgets:before{content:"󰜬"}.mdi-widgets-outline:before{content:"󱍕"}.mdi-wifi:before{content:"󰖩"}.mdi-wifi-alert:before{content:"󱚵"}.mdi-wifi-arrow-down:before{content:"󱚶"}.mdi-wifi-arrow-left:before{content:"󱚷"}.mdi-wifi-arrow-left-right:before{content:"󱚸"}.mdi-wifi-arrow-right:before{content:"󱚹"}.mdi-wifi-arrow-up:before{content:"󱚺"}.mdi-wifi-arrow-up-down:before{content:"󱚻"}.mdi-wifi-cancel:before{content:"󱚼"}.mdi-wifi-check:before{content:"󱚽"}.mdi-wifi-cog:before{content:"󱚾"}.mdi-wifi-lock:before{content:"󱚿"}.mdi-wifi-lock-open:before{content:"󱛀"}.mdi-wifi-marker:before{content:"󱛁"}.mdi-wifi-minus:before{content:"󱛂"}.mdi-wifi-off:before{content:"󰖪"}.mdi-wifi-plus:before{content:"󱛃"}.mdi-wifi-refresh:before{content:"󱛄"}.mdi-wifi-remove:before{content:"󱛅"}.mdi-wifi-settings:before{content:"󱛆"}.mdi-wifi-star:before{content:"󰸋"}.mdi-wifi-strength-1:before{content:"󰤟"}.mdi-wifi-strength-1-alert:before{content:"󰤠"}.mdi-wifi-strength-1-lock:before{content:"󰤡"}.mdi-wifi-strength-1-lock-open:before{content:"󱛋"}.mdi-wifi-strength-2:before{content:"󰤢"}.mdi-wifi-strength-2-alert:before{content:"󰤣"}.mdi-wifi-strength-2-lock:before{content:"󰤤"}.mdi-wifi-strength-2-lock-open:before{content:"󱛌"}.mdi-wifi-strength-3:before{content:"󰤥"}.mdi-wifi-strength-3-alert:before{content:"󰤦"}.mdi-wifi-strength-3-lock:before{content:"󰤧"}.mdi-wifi-strength-3-lock-open:before{content:"󱛍"}.mdi-wifi-strength-4:before{content:"󰤨"}.mdi-wifi-strength-4-alert:before{content:"󰤩"}.mdi-wifi-strength-4-lock:before{content:"󰤪"}.mdi-wifi-strength-4-lock-open:before{content:"󱛎"}.mdi-wifi-strength-alert-outline:before{content:"󰤫"}.mdi-wifi-strength-lock-open-outline:before{content:"󱛏"}.mdi-wifi-strength-lock-outline:before{content:"󰤬"}.mdi-wifi-strength-off:before{content:"󰤭"}.mdi-wifi-strength-off-outline:before{content:"󰤮"}.mdi-wifi-strength-outline:before{content:"󰤯"}.mdi-wifi-sync:before{content:"󱛇"}.mdi-wikipedia:before{content:"󰖬"}.mdi-wind-power:before{content:"󱪈"}.mdi-wind-power-outline:before{content:"󱪉"}.mdi-wind-turbine:before{content:"󰶥"}.mdi-wind-turbine-alert:before{content:"󱦫"}.mdi-wind-turbine-check:before{content:"󱦬"}.mdi-window-close:before{content:"󰖭"}.mdi-window-closed:before{content:"󰖮"}.mdi-window-closed-variant:before{content:"󱇛"}.mdi-window-maximize:before{content:"󰖯"}.mdi-window-minimize:before{content:"󰖰"}.mdi-window-open:before{content:"󰖱"}.mdi-window-open-variant:before{content:"󱇜"}.mdi-window-restore:before{content:"󰖲"}.mdi-window-shutter:before{content:"󱄜"}.mdi-window-shutter-alert:before{content:"󱄝"}.mdi-window-shutter-auto:before{content:"󱮣"}.mdi-window-shutter-cog:before{content:"󱪊"}.mdi-window-shutter-open:before{content:"󱄞"}.mdi-window-shutter-settings:before{content:"󱪋"}.mdi-windsock:before{content:"󱗺"}.mdi-wiper:before{content:"󰫩"}.mdi-wiper-wash:before{content:"󰶦"}.mdi-wiper-wash-alert:before{content:"󱣟"}.mdi-wizard-hat:before{content:"󱑷"}.mdi-wordpress:before{content:"󰖴"}.mdi-wrap:before{content:"󰖶"}.mdi-wrap-disabled:before{content:"󰯟"}.mdi-wrench:before{content:"󰖷"}.mdi-wrench-check:before{content:"󱮏"}.mdi-wrench-check-outline:before{content:"󱮐"}.mdi-wrench-clock:before{content:"󱦣"}.mdi-wrench-clock-outline:before{content:"󱮓"}.mdi-wrench-cog:before{content:"󱮑"}.mdi-wrench-cog-outline:before{content:"󱮒"}.mdi-wrench-outline:before{content:"󰯠"}.mdi-xamarin:before{content:"󰡅"}.mdi-xml:before{content:"󰗀"}.mdi-xmpp:before{content:"󰟿"}.mdi-yahoo:before{content:"󰭏"}.mdi-yeast:before{content:"󰗁"}.mdi-yin-yang:before{content:"󰚀"}.mdi-yoga:before{content:"󱅼"}.mdi-youtube:before{content:"󰗃"}.mdi-youtube-gaming:before{content:"󰡈"}.mdi-youtube-studio:before{content:"󰡇"}.mdi-youtube-subscription:before{content:"󰵀"}.mdi-youtube-tv:before{content:"󰑈"}.mdi-yurt:before{content:"󱔖"}.mdi-z-wave:before{content:"󰫪"}.mdi-zend:before{content:"󰫫"}.mdi-zigbee:before{content:"󰵁"}.mdi-zip-box:before{content:"󰗄"}.mdi-zip-box-outline:before{content:"󰿺"}.mdi-zip-disk:before{content:"󰨣"}.mdi-zodiac-aquarius:before{content:"󰩽"}.mdi-zodiac-aries:before{content:"󰩾"}.mdi-zodiac-cancer:before{content:"󰩿"}.mdi-zodiac-capricorn:before{content:"󰪀"}.mdi-zodiac-gemini:before{content:"󰪁"}.mdi-zodiac-leo:before{content:"󰪂"}.mdi-zodiac-libra:before{content:"󰪃"}.mdi-zodiac-pisces:before{content:"󰪄"}.mdi-zodiac-sagittarius:before{content:"󰪅"}.mdi-zodiac-scorpio:before{content:"󰪆"}.mdi-zodiac-taurus:before{content:"󰪇"}.mdi-zodiac-virgo:before{content:"󰪈"}.mdi-blank:before{content:"";visibility:hidden}.mdi-18px.mdi-set,.mdi-18px.mdi:before{font-size:18px}.mdi-24px.mdi-set,.mdi-24px.mdi:before{font-size:24px}.mdi-36px.mdi-set,.mdi-36px.mdi:before{font-size:36px}.mdi-48px.mdi-set,.mdi-48px.mdi:before{font-size:48px}.mdi-dark:before{color:#0000008a}.mdi-dark.mdi-inactive:before{color:#00000042}.mdi-light:before{color:#fff}.mdi-light.mdi-inactive:before{color:#ffffff4d}.mdi-rotate-45:before{-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.mdi-rotate-90:before{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.mdi-rotate-135:before{-webkit-transform:rotate(135deg);-ms-transform:rotate(135deg);transform:rotate(135deg)}.mdi-rotate-180:before{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.mdi-rotate-225:before{-webkit-transform:rotate(225deg);-ms-transform:rotate(225deg);transform:rotate(225deg)}.mdi-rotate-270:before{-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.mdi-rotate-315:before{-webkit-transform:rotate(315deg);-ms-transform:rotate(315deg);transform:rotate(315deg)}.mdi-flip-h:before{-webkit-transform:scaleX(-1);transform:scaleX(-1);filter:FlipH;-ms-filter:"FlipH"}.mdi-flip-v:before{-webkit-transform:scaleY(-1);transform:scaleY(-1);filter:FlipV;-ms-filter:"FlipV"}.mdi-spin:before{-webkit-animation:mdi-spin 2s infinite linear;animation:mdi-spin 2s infinite linear}@-webkit-keyframes mdi-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes mdi-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes v-shake{59%{margin-left:0}60%,80%{margin-left:2px}70%,90%{margin-left:-2px}}.bg-black{background-color:#000!important;color:#fff!important}.bg-white{background-color:#fff!important;color:#000!important}.bg-transparent{background-color:transparent!important;color:currentColor!important}.bg-red{background-color:#f44336!important;color:#fff!important}.bg-red-lighten-5{background-color:#ffebee!important;color:#000!important}.bg-red-lighten-4{background-color:#ffcdd2!important;color:#000!important}.bg-red-lighten-3{background-color:#ef9a9a!important;color:#000!important}.bg-red-lighten-2{background-color:#e57373!important;color:#fff!important}.bg-red-lighten-1{background-color:#ef5350!important;color:#fff!important}.bg-red-darken-1{background-color:#e53935!important;color:#fff!important}.bg-red-darken-2{background-color:#d32f2f!important;color:#fff!important}.bg-red-darken-3{background-color:#c62828!important;color:#fff!important}.bg-red-darken-4{background-color:#b71c1c!important;color:#fff!important}.bg-red-accent-1{background-color:#ff8a80!important;color:#000!important}.bg-red-accent-2{background-color:#ff5252!important;color:#fff!important}.bg-red-accent-3{background-color:#ff1744!important;color:#fff!important}.bg-red-accent-4{background-color:#d50000!important;color:#fff!important}.bg-pink{background-color:#e91e63!important;color:#fff!important}.bg-pink-lighten-5{background-color:#fce4ec!important;color:#000!important}.bg-pink-lighten-4{background-color:#f8bbd0!important;color:#000!important}.bg-pink-lighten-3{background-color:#f48fb1!important;color:#000!important}.bg-pink-lighten-2{background-color:#f06292!important;color:#fff!important}.bg-pink-lighten-1{background-color:#ec407a!important;color:#fff!important}.bg-pink-darken-1{background-color:#d81b60!important;color:#fff!important}.bg-pink-darken-2{background-color:#c2185b!important;color:#fff!important}.bg-pink-darken-3{background-color:#ad1457!important;color:#fff!important}.bg-pink-darken-4{background-color:#880e4f!important;color:#fff!important}.bg-pink-accent-1{background-color:#ff80ab!important;color:#fff!important}.bg-pink-accent-2{background-color:#ff4081!important;color:#fff!important}.bg-pink-accent-3{background-color:#f50057!important;color:#fff!important}.bg-pink-accent-4{background-color:#c51162!important;color:#fff!important}.bg-purple{background-color:#9c27b0!important;color:#fff!important}.bg-purple-lighten-5{background-color:#f3e5f5!important;color:#000!important}.bg-purple-lighten-4{background-color:#e1bee7!important;color:#000!important}.bg-purple-lighten-3{background-color:#ce93d8!important;color:#fff!important}.bg-purple-lighten-2{background-color:#ba68c8!important;color:#fff!important}.bg-purple-lighten-1{background-color:#ab47bc!important;color:#fff!important}.bg-purple-darken-1{background-color:#8e24aa!important;color:#fff!important}.bg-purple-darken-2{background-color:#7b1fa2!important;color:#fff!important}.bg-purple-darken-3{background-color:#6a1b9a!important;color:#fff!important}.bg-purple-darken-4{background-color:#4a148c!important;color:#fff!important}.bg-purple-accent-1{background-color:#ea80fc!important;color:#fff!important}.bg-purple-accent-2{background-color:#e040fb!important;color:#fff!important}.bg-purple-accent-3{background-color:#d500f9!important;color:#fff!important}.bg-purple-accent-4{background-color:#a0f!important;color:#fff!important}.bg-deep-purple{background-color:#673ab7!important;color:#fff!important}.bg-deep-purple-lighten-5{background-color:#ede7f6!important;color:#000!important}.bg-deep-purple-lighten-4{background-color:#d1c4e9!important;color:#000!important}.bg-deep-purple-lighten-3{background-color:#b39ddb!important;color:#fff!important}.bg-deep-purple-lighten-2{background-color:#9575cd!important;color:#fff!important}.bg-deep-purple-lighten-1{background-color:#7e57c2!important;color:#fff!important}.bg-deep-purple-darken-1{background-color:#5e35b1!important;color:#fff!important}.bg-deep-purple-darken-2{background-color:#512da8!important;color:#fff!important}.bg-deep-purple-darken-3{background-color:#4527a0!important;color:#fff!important}.bg-deep-purple-darken-4{background-color:#311b92!important;color:#fff!important}.bg-deep-purple-accent-1{background-color:#b388ff!important;color:#fff!important}.bg-deep-purple-accent-2{background-color:#7c4dff!important;color:#fff!important}.bg-deep-purple-accent-3{background-color:#651fff!important;color:#fff!important}.bg-deep-purple-accent-4{background-color:#6200ea!important;color:#fff!important}.bg-indigo{background-color:#3f51b5!important;color:#fff!important}.bg-indigo-lighten-5{background-color:#e8eaf6!important;color:#000!important}.bg-indigo-lighten-4{background-color:#c5cae9!important;color:#000!important}.bg-indigo-lighten-3{background-color:#9fa8da!important;color:#fff!important}.bg-indigo-lighten-2{background-color:#7986cb!important;color:#fff!important}.bg-indigo-lighten-1{background-color:#5c6bc0!important;color:#fff!important}.bg-indigo-darken-1{background-color:#3949ab!important;color:#fff!important}.bg-indigo-darken-2{background-color:#303f9f!important;color:#fff!important}.bg-indigo-darken-3{background-color:#283593!important;color:#fff!important}.bg-indigo-darken-4{background-color:#1a237e!important;color:#fff!important}.bg-indigo-accent-1{background-color:#8c9eff!important;color:#fff!important}.bg-indigo-accent-2{background-color:#536dfe!important;color:#fff!important}.bg-indigo-accent-3{background-color:#3d5afe!important;color:#fff!important}.bg-indigo-accent-4{background-color:#304ffe!important;color:#fff!important}.bg-blue{background-color:#2196f3!important;color:#fff!important}.bg-blue-lighten-5{background-color:#e3f2fd!important;color:#000!important}.bg-blue-lighten-4{background-color:#bbdefb!important;color:#000!important}.bg-blue-lighten-3{background-color:#90caf9!important;color:#000!important}.bg-blue-lighten-2{background-color:#64b5f6!important;color:#000!important}.bg-blue-lighten-1{background-color:#42a5f5!important;color:#fff!important}.bg-blue-darken-1{background-color:#1e88e5!important;color:#fff!important}.bg-blue-darken-2{background-color:#1976d2!important;color:#fff!important}.bg-blue-darken-3{background-color:#1565c0!important;color:#fff!important}.bg-blue-darken-4{background-color:#0d47a1!important;color:#fff!important}.bg-blue-accent-1{background-color:#82b1ff!important;color:#000!important}.bg-blue-accent-2{background-color:#448aff!important;color:#fff!important}.bg-blue-accent-3{background-color:#2979ff!important;color:#fff!important}.bg-blue-accent-4{background-color:#2962ff!important;color:#fff!important}.bg-light-blue{background-color:#03a9f4!important;color:#fff!important}.bg-light-blue-lighten-5{background-color:#e1f5fe!important;color:#000!important}.bg-light-blue-lighten-4{background-color:#b3e5fc!important;color:#000!important}.bg-light-blue-lighten-3{background-color:#81d4fa!important;color:#000!important}.bg-light-blue-lighten-2{background-color:#4fc3f7!important;color:#000!important}.bg-light-blue-lighten-1{background-color:#29b6f6!important;color:#000!important}.bg-light-blue-darken-1{background-color:#039be5!important;color:#fff!important}.bg-light-blue-darken-2{background-color:#0288d1!important;color:#fff!important}.bg-light-blue-darken-3{background-color:#0277bd!important;color:#fff!important}.bg-light-blue-darken-4{background-color:#01579b!important;color:#fff!important}.bg-light-blue-accent-1{background-color:#80d8ff!important;color:#000!important}.bg-light-blue-accent-2{background-color:#40c4ff!important;color:#000!important}.bg-light-blue-accent-3{background-color:#00b0ff!important;color:#fff!important}.bg-light-blue-accent-4{background-color:#0091ea!important;color:#fff!important}.bg-cyan{background-color:#00bcd4!important;color:#000!important}.bg-cyan-lighten-5{background-color:#e0f7fa!important;color:#000!important}.bg-cyan-lighten-4{background-color:#b2ebf2!important;color:#000!important}.bg-cyan-lighten-3{background-color:#80deea!important;color:#000!important}.bg-cyan-lighten-2{background-color:#4dd0e1!important;color:#000!important}.bg-cyan-lighten-1{background-color:#26c6da!important;color:#000!important}.bg-cyan-darken-1{background-color:#00acc1!important;color:#fff!important}.bg-cyan-darken-2{background-color:#0097a7!important;color:#fff!important}.bg-cyan-darken-3{background-color:#00838f!important;color:#fff!important}.bg-cyan-darken-4{background-color:#006064!important;color:#fff!important}.bg-cyan-accent-1{background-color:#84ffff!important;color:#000!important}.bg-cyan-accent-2{background-color:#18ffff!important;color:#000!important}.bg-cyan-accent-3{background-color:#00e5ff!important;color:#000!important}.bg-cyan-accent-4{background-color:#00b8d4!important;color:#fff!important}.bg-teal{background-color:#009688!important;color:#fff!important}.bg-teal-lighten-5{background-color:#e0f2f1!important;color:#000!important}.bg-teal-lighten-4{background-color:#b2dfdb!important;color:#000!important}.bg-teal-lighten-3{background-color:#80cbc4!important;color:#000!important}.bg-teal-lighten-2{background-color:#4db6ac!important;color:#fff!important}.bg-teal-lighten-1{background-color:#26a69a!important;color:#fff!important}.bg-teal-darken-1{background-color:#00897b!important;color:#fff!important}.bg-teal-darken-2{background-color:#00796b!important;color:#fff!important}.bg-teal-darken-3{background-color:#00695c!important;color:#fff!important}.bg-teal-darken-4{background-color:#004d40!important;color:#fff!important}.bg-teal-accent-1{background-color:#a7ffeb!important;color:#000!important}.bg-teal-accent-2{background-color:#64ffda!important;color:#000!important}.bg-teal-accent-3{background-color:#1de9b6!important;color:#000!important}.bg-teal-accent-4{background-color:#00bfa5!important;color:#fff!important}.bg-green{background-color:#4caf50!important;color:#fff!important}.bg-green-lighten-5{background-color:#e8f5e9!important;color:#000!important}.bg-green-lighten-4{background-color:#c8e6c9!important;color:#000!important}.bg-green-lighten-3{background-color:#a5d6a7!important;color:#000!important}.bg-green-lighten-2{background-color:#81c784!important;color:#000!important}.bg-green-lighten-1{background-color:#66bb6a!important;color:#fff!important}.bg-green-darken-1{background-color:#43a047!important;color:#fff!important}.bg-green-darken-2{background-color:#388e3c!important;color:#fff!important}.bg-green-darken-3{background-color:#2e7d32!important;color:#fff!important}.bg-green-darken-4{background-color:#1b5e20!important;color:#fff!important}.bg-green-accent-1{background-color:#b9f6ca!important;color:#000!important}.bg-green-accent-2{background-color:#69f0ae!important;color:#000!important}.bg-green-accent-3{background-color:#00e676!important;color:#000!important}.bg-green-accent-4{background-color:#00c853!important;color:#000!important}.bg-light-green{background-color:#8bc34a!important;color:#000!important}.bg-light-green-lighten-5{background-color:#f1f8e9!important;color:#000!important}.bg-light-green-lighten-4{background-color:#dcedc8!important;color:#000!important}.bg-light-green-lighten-3{background-color:#c5e1a5!important;color:#000!important}.bg-light-green-lighten-2{background-color:#aed581!important;color:#000!important}.bg-light-green-lighten-1{background-color:#9ccc65!important;color:#000!important}.bg-light-green-darken-1{background-color:#7cb342!important;color:#fff!important}.bg-light-green-darken-2{background-color:#689f38!important;color:#fff!important}.bg-light-green-darken-3{background-color:#558b2f!important;color:#fff!important}.bg-light-green-darken-4{background-color:#33691e!important;color:#fff!important}.bg-light-green-accent-1{background-color:#ccff90!important;color:#000!important}.bg-light-green-accent-2{background-color:#b2ff59!important;color:#000!important}.bg-light-green-accent-3{background-color:#76ff03!important;color:#000!important}.bg-light-green-accent-4{background-color:#64dd17!important;color:#000!important}.bg-lime{background-color:#cddc39!important;color:#000!important}.bg-lime-lighten-5{background-color:#f9fbe7!important;color:#000!important}.bg-lime-lighten-4{background-color:#f0f4c3!important;color:#000!important}.bg-lime-lighten-3{background-color:#e6ee9c!important;color:#000!important}.bg-lime-lighten-2{background-color:#dce775!important;color:#000!important}.bg-lime-lighten-1{background-color:#d4e157!important;color:#000!important}.bg-lime-darken-1{background-color:#c0ca33!important;color:#000!important}.bg-lime-darken-2{background-color:#afb42b!important;color:#000!important}.bg-lime-darken-3{background-color:#9e9d24!important;color:#fff!important}.bg-lime-darken-4{background-color:#827717!important;color:#fff!important}.bg-lime-accent-1{background-color:#f4ff81!important;color:#000!important}.bg-lime-accent-2{background-color:#eeff41!important;color:#000!important}.bg-lime-accent-3{background-color:#c6ff00!important;color:#000!important}.bg-lime-accent-4{background-color:#aeea00!important;color:#000!important}.bg-yellow{background-color:#ffeb3b!important;color:#000!important}.bg-yellow-lighten-5{background-color:#fffde7!important;color:#000!important}.bg-yellow-lighten-4{background-color:#fff9c4!important;color:#000!important}.bg-yellow-lighten-3{background-color:#fff59d!important;color:#000!important}.bg-yellow-lighten-2{background-color:#fff176!important;color:#000!important}.bg-yellow-lighten-1{background-color:#ffee58!important;color:#000!important}.bg-yellow-darken-1{background-color:#fdd835!important;color:#000!important}.bg-yellow-darken-2{background-color:#fbc02d!important;color:#000!important}.bg-yellow-darken-3{background-color:#f9a825!important;color:#000!important}.bg-yellow-darken-4{background-color:#f57f17!important;color:#fff!important}.bg-yellow-accent-1{background-color:#ffff8d!important;color:#000!important}.bg-yellow-accent-2{background-color:#ff0!important;color:#000!important}.bg-yellow-accent-3{background-color:#ffea00!important;color:#000!important}.bg-yellow-accent-4{background-color:#ffd600!important;color:#000!important}.bg-amber{background-color:#ffc107!important;color:#000!important}.bg-amber-lighten-5{background-color:#fff8e1!important;color:#000!important}.bg-amber-lighten-4{background-color:#ffecb3!important;color:#000!important}.bg-amber-lighten-3{background-color:#ffe082!important;color:#000!important}.bg-amber-lighten-2{background-color:#ffd54f!important;color:#000!important}.bg-amber-lighten-1{background-color:#ffca28!important;color:#000!important}.bg-amber-darken-1{background-color:#ffb300!important;color:#000!important}.bg-amber-darken-2{background-color:#ffa000!important;color:#000!important}.bg-amber-darken-3{background-color:#ff8f00!important;color:#000!important}.bg-amber-darken-4{background-color:#ff6f00!important;color:#fff!important}.bg-amber-accent-1{background-color:#ffe57f!important;color:#000!important}.bg-amber-accent-2{background-color:#ffd740!important;color:#000!important}.bg-amber-accent-3{background-color:#ffc400!important;color:#000!important}.bg-amber-accent-4{background-color:#ffab00!important;color:#000!important}.bg-orange{background-color:#ff9800!important;color:#000!important}.bg-orange-lighten-5{background-color:#fff3e0!important;color:#000!important}.bg-orange-lighten-4{background-color:#ffe0b2!important;color:#000!important}.bg-orange-lighten-3{background-color:#ffcc80!important;color:#000!important}.bg-orange-lighten-2{background-color:#ffb74d!important;color:#000!important}.bg-orange-lighten-1{background-color:#ffa726!important;color:#000!important}.bg-orange-darken-1{background-color:#fb8c00!important;color:#fff!important}.bg-orange-darken-2{background-color:#f57c00!important;color:#fff!important}.bg-orange-darken-3{background-color:#ef6c00!important;color:#fff!important}.bg-orange-darken-4{background-color:#e65100!important;color:#fff!important}.bg-orange-accent-1{background-color:#ffd180!important;color:#000!important}.bg-orange-accent-2{background-color:#ffab40!important;color:#000!important}.bg-orange-accent-3{background-color:#ff9100!important;color:#000!important}.bg-orange-accent-4{background-color:#ff6d00!important;color:#fff!important}.bg-deep-orange{background-color:#ff5722!important;color:#fff!important}.bg-deep-orange-lighten-5{background-color:#fbe9e7!important;color:#000!important}.bg-deep-orange-lighten-4{background-color:#ffccbc!important;color:#000!important}.bg-deep-orange-lighten-3{background-color:#ffab91!important;color:#000!important}.bg-deep-orange-lighten-2{background-color:#ff8a65!important;color:#000!important}.bg-deep-orange-lighten-1{background-color:#ff7043!important;color:#fff!important}.bg-deep-orange-darken-1{background-color:#f4511e!important;color:#fff!important}.bg-deep-orange-darken-2{background-color:#e64a19!important;color:#fff!important}.bg-deep-orange-darken-3{background-color:#d84315!important;color:#fff!important}.bg-deep-orange-darken-4{background-color:#bf360c!important;color:#fff!important}.bg-deep-orange-accent-1{background-color:#ff9e80!important;color:#000!important}.bg-deep-orange-accent-2{background-color:#ff6e40!important;color:#fff!important}.bg-deep-orange-accent-3{background-color:#ff3d00!important;color:#fff!important}.bg-deep-orange-accent-4{background-color:#dd2c00!important;color:#fff!important}.bg-brown{background-color:#795548!important;color:#fff!important}.bg-brown-lighten-5{background-color:#efebe9!important;color:#000!important}.bg-brown-lighten-4{background-color:#d7ccc8!important;color:#000!important}.bg-brown-lighten-3{background-color:#bcaaa4!important;color:#000!important}.bg-brown-lighten-2{background-color:#a1887f!important;color:#fff!important}.bg-brown-lighten-1{background-color:#8d6e63!important;color:#fff!important}.bg-brown-darken-1{background-color:#6d4c41!important;color:#fff!important}.bg-brown-darken-2{background-color:#5d4037!important;color:#fff!important}.bg-brown-darken-3{background-color:#4e342e!important;color:#fff!important}.bg-brown-darken-4{background-color:#3e2723!important;color:#fff!important}.bg-blue-grey{background-color:#607d8b!important;color:#fff!important}.bg-blue-grey-lighten-5{background-color:#eceff1!important;color:#000!important}.bg-blue-grey-lighten-4{background-color:#cfd8dc!important;color:#000!important}.bg-blue-grey-lighten-3{background-color:#b0bec5!important;color:#000!important}.bg-blue-grey-lighten-2{background-color:#90a4ae!important;color:#fff!important}.bg-blue-grey-lighten-1{background-color:#78909c!important;color:#fff!important}.bg-blue-grey-darken-1{background-color:#546e7a!important;color:#fff!important}.bg-blue-grey-darken-2{background-color:#455a64!important;color:#fff!important}.bg-blue-grey-darken-3{background-color:#37474f!important;color:#fff!important}.bg-blue-grey-darken-4{background-color:#263238!important;color:#fff!important}.bg-grey{background-color:#9e9e9e!important;color:#fff!important}.bg-grey-lighten-5{background-color:#fafafa!important;color:#000!important}.bg-grey-lighten-4{background-color:#f5f5f5!important;color:#000!important}.bg-grey-lighten-3{background-color:#eee!important;color:#000!important}.bg-grey-lighten-2{background-color:#e0e0e0!important;color:#000!important}.bg-grey-lighten-1{background-color:#bdbdbd!important;color:#000!important}.bg-grey-darken-1{background-color:#757575!important;color:#fff!important}.bg-grey-darken-2{background-color:#616161!important;color:#fff!important}.bg-grey-darken-3{background-color:#424242!important;color:#fff!important}.bg-grey-darken-4{background-color:#212121!important;color:#fff!important}.bg-shades-black{background-color:#000!important;color:#fff!important}.bg-shades-white{background-color:#fff!important;color:#000!important}.bg-shades-transparent{background-color:transparent!important;color:currentColor!important}.text-black{color:#000!important}.text-white{color:#fff!important}.text-transparent{color:transparent!important}.text-red{color:#f44336!important}.text-red-lighten-5{color:#ffebee!important}.text-red-lighten-4{color:#ffcdd2!important}.text-red-lighten-3{color:#ef9a9a!important}.text-red-lighten-2{color:#e57373!important}.text-red-lighten-1{color:#ef5350!important}.text-red-darken-1{color:#e53935!important}.text-red-darken-2{color:#d32f2f!important}.text-red-darken-3{color:#c62828!important}.text-red-darken-4{color:#b71c1c!important}.text-red-accent-1{color:#ff8a80!important}.text-red-accent-2{color:#ff5252!important}.text-red-accent-3{color:#ff1744!important}.text-red-accent-4{color:#d50000!important}.text-pink{color:#e91e63!important}.text-pink-lighten-5{color:#fce4ec!important}.text-pink-lighten-4{color:#f8bbd0!important}.text-pink-lighten-3{color:#f48fb1!important}.text-pink-lighten-2{color:#f06292!important}.text-pink-lighten-1{color:#ec407a!important}.text-pink-darken-1{color:#d81b60!important}.text-pink-darken-2{color:#c2185b!important}.text-pink-darken-3{color:#ad1457!important}.text-pink-darken-4{color:#880e4f!important}.text-pink-accent-1{color:#ff80ab!important}.text-pink-accent-2{color:#ff4081!important}.text-pink-accent-3{color:#f50057!important}.text-pink-accent-4{color:#c51162!important}.text-purple{color:#9c27b0!important}.text-purple-lighten-5{color:#f3e5f5!important}.text-purple-lighten-4{color:#e1bee7!important}.text-purple-lighten-3{color:#ce93d8!important}.text-purple-lighten-2{color:#ba68c8!important}.text-purple-lighten-1{color:#ab47bc!important}.text-purple-darken-1{color:#8e24aa!important}.text-purple-darken-2{color:#7b1fa2!important}.text-purple-darken-3{color:#6a1b9a!important}.text-purple-darken-4{color:#4a148c!important}.text-purple-accent-1{color:#ea80fc!important}.text-purple-accent-2{color:#e040fb!important}.text-purple-accent-3{color:#d500f9!important}.text-purple-accent-4{color:#a0f!important}.text-deep-purple{color:#673ab7!important}.text-deep-purple-lighten-5{color:#ede7f6!important}.text-deep-purple-lighten-4{color:#d1c4e9!important}.text-deep-purple-lighten-3{color:#b39ddb!important}.text-deep-purple-lighten-2{color:#9575cd!important}.text-deep-purple-lighten-1{color:#7e57c2!important}.text-deep-purple-darken-1{color:#5e35b1!important}.text-deep-purple-darken-2{color:#512da8!important}.text-deep-purple-darken-3{color:#4527a0!important}.text-deep-purple-darken-4{color:#311b92!important}.text-deep-purple-accent-1{color:#b388ff!important}.text-deep-purple-accent-2{color:#7c4dff!important}.text-deep-purple-accent-3{color:#651fff!important}.text-deep-purple-accent-4{color:#6200ea!important}.text-indigo{color:#3f51b5!important}.text-indigo-lighten-5{color:#e8eaf6!important}.text-indigo-lighten-4{color:#c5cae9!important}.text-indigo-lighten-3{color:#9fa8da!important}.text-indigo-lighten-2{color:#7986cb!important}.text-indigo-lighten-1{color:#5c6bc0!important}.text-indigo-darken-1{color:#3949ab!important}.text-indigo-darken-2{color:#303f9f!important}.text-indigo-darken-3{color:#283593!important}.text-indigo-darken-4{color:#1a237e!important}.text-indigo-accent-1{color:#8c9eff!important}.text-indigo-accent-2{color:#536dfe!important}.text-indigo-accent-3{color:#3d5afe!important}.text-indigo-accent-4{color:#304ffe!important}.text-blue{color:#2196f3!important}.text-blue-lighten-5{color:#e3f2fd!important}.text-blue-lighten-4{color:#bbdefb!important}.text-blue-lighten-3{color:#90caf9!important}.text-blue-lighten-2{color:#64b5f6!important}.text-blue-lighten-1{color:#42a5f5!important}.text-blue-darken-1{color:#1e88e5!important}.text-blue-darken-2{color:#1976d2!important}.text-blue-darken-3{color:#1565c0!important}.text-blue-darken-4{color:#0d47a1!important}.text-blue-accent-1{color:#82b1ff!important}.text-blue-accent-2{color:#448aff!important}.text-blue-accent-3{color:#2979ff!important}.text-blue-accent-4{color:#2962ff!important}.text-light-blue{color:#03a9f4!important}.text-light-blue-lighten-5{color:#e1f5fe!important}.text-light-blue-lighten-4{color:#b3e5fc!important}.text-light-blue-lighten-3{color:#81d4fa!important}.text-light-blue-lighten-2{color:#4fc3f7!important}.text-light-blue-lighten-1{color:#29b6f6!important}.text-light-blue-darken-1{color:#039be5!important}.text-light-blue-darken-2{color:#0288d1!important}.text-light-blue-darken-3{color:#0277bd!important}.text-light-blue-darken-4{color:#01579b!important}.text-light-blue-accent-1{color:#80d8ff!important}.text-light-blue-accent-2{color:#40c4ff!important}.text-light-blue-accent-3{color:#00b0ff!important}.text-light-blue-accent-4{color:#0091ea!important}.text-cyan{color:#00bcd4!important}.text-cyan-lighten-5{color:#e0f7fa!important}.text-cyan-lighten-4{color:#b2ebf2!important}.text-cyan-lighten-3{color:#80deea!important}.text-cyan-lighten-2{color:#4dd0e1!important}.text-cyan-lighten-1{color:#26c6da!important}.text-cyan-darken-1{color:#00acc1!important}.text-cyan-darken-2{color:#0097a7!important}.text-cyan-darken-3{color:#00838f!important}.text-cyan-darken-4{color:#006064!important}.text-cyan-accent-1{color:#84ffff!important}.text-cyan-accent-2{color:#18ffff!important}.text-cyan-accent-3{color:#00e5ff!important}.text-cyan-accent-4{color:#00b8d4!important}.text-teal{color:#009688!important}.text-teal-lighten-5{color:#e0f2f1!important}.text-teal-lighten-4{color:#b2dfdb!important}.text-teal-lighten-3{color:#80cbc4!important}.text-teal-lighten-2{color:#4db6ac!important}.text-teal-lighten-1{color:#26a69a!important}.text-teal-darken-1{color:#00897b!important}.text-teal-darken-2{color:#00796b!important}.text-teal-darken-3{color:#00695c!important}.text-teal-darken-4{color:#004d40!important}.text-teal-accent-1{color:#a7ffeb!important}.text-teal-accent-2{color:#64ffda!important}.text-teal-accent-3{color:#1de9b6!important}.text-teal-accent-4{color:#00bfa5!important}.text-green{color:#4caf50!important}.text-green-lighten-5{color:#e8f5e9!important}.text-green-lighten-4{color:#c8e6c9!important}.text-green-lighten-3{color:#a5d6a7!important}.text-green-lighten-2{color:#81c784!important}.text-green-lighten-1{color:#66bb6a!important}.text-green-darken-1{color:#43a047!important}.text-green-darken-2{color:#388e3c!important}.text-green-darken-3{color:#2e7d32!important}.text-green-darken-4{color:#1b5e20!important}.text-green-accent-1{color:#b9f6ca!important}.text-green-accent-2{color:#69f0ae!important}.text-green-accent-3{color:#00e676!important}.text-green-accent-4{color:#00c853!important}.text-light-green{color:#8bc34a!important}.text-light-green-lighten-5{color:#f1f8e9!important}.text-light-green-lighten-4{color:#dcedc8!important}.text-light-green-lighten-3{color:#c5e1a5!important}.text-light-green-lighten-2{color:#aed581!important}.text-light-green-lighten-1{color:#9ccc65!important}.text-light-green-darken-1{color:#7cb342!important}.text-light-green-darken-2{color:#689f38!important}.text-light-green-darken-3{color:#558b2f!important}.text-light-green-darken-4{color:#33691e!important}.text-light-green-accent-1{color:#ccff90!important}.text-light-green-accent-2{color:#b2ff59!important}.text-light-green-accent-3{color:#76ff03!important}.text-light-green-accent-4{color:#64dd17!important}.text-lime{color:#cddc39!important}.text-lime-lighten-5{color:#f9fbe7!important}.text-lime-lighten-4{color:#f0f4c3!important}.text-lime-lighten-3{color:#e6ee9c!important}.text-lime-lighten-2{color:#dce775!important}.text-lime-lighten-1{color:#d4e157!important}.text-lime-darken-1{color:#c0ca33!important}.text-lime-darken-2{color:#afb42b!important}.text-lime-darken-3{color:#9e9d24!important}.text-lime-darken-4{color:#827717!important}.text-lime-accent-1{color:#f4ff81!important}.text-lime-accent-2{color:#eeff41!important}.text-lime-accent-3{color:#c6ff00!important}.text-lime-accent-4{color:#aeea00!important}.text-yellow{color:#ffeb3b!important}.text-yellow-lighten-5{color:#fffde7!important}.text-yellow-lighten-4{color:#fff9c4!important}.text-yellow-lighten-3{color:#fff59d!important}.text-yellow-lighten-2{color:#fff176!important}.text-yellow-lighten-1{color:#ffee58!important}.text-yellow-darken-1{color:#fdd835!important}.text-yellow-darken-2{color:#fbc02d!important}.text-yellow-darken-3{color:#f9a825!important}.text-yellow-darken-4{color:#f57f17!important}.text-yellow-accent-1{color:#ffff8d!important}.text-yellow-accent-2{color:#ff0!important}.text-yellow-accent-3{color:#ffea00!important}.text-yellow-accent-4{color:#ffd600!important}.text-amber{color:#ffc107!important}.text-amber-lighten-5{color:#fff8e1!important}.text-amber-lighten-4{color:#ffecb3!important}.text-amber-lighten-3{color:#ffe082!important}.text-amber-lighten-2{color:#ffd54f!important}.text-amber-lighten-1{color:#ffca28!important}.text-amber-darken-1{color:#ffb300!important}.text-amber-darken-2{color:#ffa000!important}.text-amber-darken-3{color:#ff8f00!important}.text-amber-darken-4{color:#ff6f00!important}.text-amber-accent-1{color:#ffe57f!important}.text-amber-accent-2{color:#ffd740!important}.text-amber-accent-3{color:#ffc400!important}.text-amber-accent-4{color:#ffab00!important}.text-orange{color:#ff9800!important}.text-orange-lighten-5{color:#fff3e0!important}.text-orange-lighten-4{color:#ffe0b2!important}.text-orange-lighten-3{color:#ffcc80!important}.text-orange-lighten-2{color:#ffb74d!important}.text-orange-lighten-1{color:#ffa726!important}.text-orange-darken-1{color:#fb8c00!important}.text-orange-darken-2{color:#f57c00!important}.text-orange-darken-3{color:#ef6c00!important}.text-orange-darken-4{color:#e65100!important}.text-orange-accent-1{color:#ffd180!important}.text-orange-accent-2{color:#ffab40!important}.text-orange-accent-3{color:#ff9100!important}.text-orange-accent-4{color:#ff6d00!important}.text-deep-orange{color:#ff5722!important}.text-deep-orange-lighten-5{color:#fbe9e7!important}.text-deep-orange-lighten-4{color:#ffccbc!important}.text-deep-orange-lighten-3{color:#ffab91!important}.text-deep-orange-lighten-2{color:#ff8a65!important}.text-deep-orange-lighten-1{color:#ff7043!important}.text-deep-orange-darken-1{color:#f4511e!important}.text-deep-orange-darken-2{color:#e64a19!important}.text-deep-orange-darken-3{color:#d84315!important}.text-deep-orange-darken-4{color:#bf360c!important}.text-deep-orange-accent-1{color:#ff9e80!important}.text-deep-orange-accent-2{color:#ff6e40!important}.text-deep-orange-accent-3{color:#ff3d00!important}.text-deep-orange-accent-4{color:#dd2c00!important}.text-brown{color:#795548!important}.text-brown-lighten-5{color:#efebe9!important}.text-brown-lighten-4{color:#d7ccc8!important}.text-brown-lighten-3{color:#bcaaa4!important}.text-brown-lighten-2{color:#a1887f!important}.text-brown-lighten-1{color:#8d6e63!important}.text-brown-darken-1{color:#6d4c41!important}.text-brown-darken-2{color:#5d4037!important}.text-brown-darken-3{color:#4e342e!important}.text-brown-darken-4{color:#3e2723!important}.text-blue-grey{color:#607d8b!important}.text-blue-grey-lighten-5{color:#eceff1!important}.text-blue-grey-lighten-4{color:#cfd8dc!important}.text-blue-grey-lighten-3{color:#b0bec5!important}.text-blue-grey-lighten-2{color:#90a4ae!important}.text-blue-grey-lighten-1{color:#78909c!important}.text-blue-grey-darken-1{color:#546e7a!important}.text-blue-grey-darken-2{color:#455a64!important}.text-blue-grey-darken-3{color:#37474f!important}.text-blue-grey-darken-4{color:#263238!important}.text-grey{color:#9e9e9e!important}.text-grey-lighten-5{color:#fafafa!important}.text-grey-lighten-4{color:#f5f5f5!important}.text-grey-lighten-3{color:#eee!important}.text-grey-lighten-2{color:#e0e0e0!important}.text-grey-lighten-1{color:#bdbdbd!important}.text-grey-darken-1{color:#757575!important}.text-grey-darken-2{color:#616161!important}.text-grey-darken-3{color:#424242!important}.text-grey-darken-4{color:#212121!important}.text-shades-black{color:#000!important}.text-shades-white{color:#fff!important}.text-shades-transparent{color:transparent!important}/*! -======== -.tabulator{position:relative;border:1px solid #dee2e6;background-color:#fff;font-size:16px;text-align:left;overflow:hidden;-webkit-transform:translateZ(0);-moz-transform:translateZ(0);-ms-transform:translateZ(0);-o-transform:translateZ(0);transform:translateZ(0)}.tabulator[tabulator-layout=fitDataFill] .tabulator-tableholder .tabulator-table{min-width:100%}.tabulator[tabulator-layout=fitDataTable]{display:inline-block}.tabulator.tabulator-block-select{-webkit-user-select:none;user-select:none}.tabulator.tabulator-ranges .tabulator-cell:not(.tabulator-editing){-webkit-user-select:none;user-select:none}.tabulator .tabulator-header{position:relative;box-sizing:border-box;width:100%;border-bottom:1px solid #dee2e6;background-color:#fff;color:#555;font-weight:700;white-space:nowrap;overflow:hidden;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none;outline:none}.tabulator .tabulator-header.tabulator-header-hidden{display:none}.tabulator .tabulator-header .tabulator-header-contents{position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-header-contents .tabulator-headers{display:inline-block}.tabulator .tabulator-header .tabulator-col{display:inline-flex;position:relative;box-sizing:border-box;flex-direction:column;justify-content:flex-start;border-right:1px solid #aaa;background:#fff;text-align:left;vertical-align:bottom;overflow:hidden}.tabulator .tabulator-header .tabulator-col.tabulator-moving{position:absolute;border:1px solid #dee2e6;background:#e6e6e6;pointer-events:none}.tabulator .tabulator-header .tabulator-col.tabulator-range-highlight{background-color:#d6d6d6;color:#000}.tabulator .tabulator-header .tabulator-col.tabulator-range-selected{background-color:#3876ca;color:#fff}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{box-sizing:border-box;position:relative;padding:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button{padding:0 8px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button:hover{cursor:pointer;opacity:.6}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title-holder{position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title{box-sizing:border-box;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title.tabulator-col-title-wrap{white-space:normal;text-overflow:initial}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-title-editor{box-sizing:border-box;width:100%;border:1px solid #999;padding:1px;background:#fff}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-header-popup-button+.tabulator-title-editor{width:calc(100% - 22px)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{display:flex;align-items:center;position:absolute;top:0;bottom:0;right:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #bbb}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{position:relative;display:flex;border-top:1px solid #aaa;overflow:hidden;margin-right:-1px}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter{position:relative;box-sizing:border-box;margin-top:2px;width:100%;text-align:center}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter textarea{height:auto!important}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter svg{margin-top:3px}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input::-ms-clear{width:0;height:0}.tabulator .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:25px}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable.tabulator-col-sorter-element:hover{cursor:pointer;background-color:#e6e6e6}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter{color:#bbb}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-bottom:6px solid #555}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid #bbb}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter{color:#666}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-bottom:6px solid #555}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid #666}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter{color:#666}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-top:6px solid #555}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-bottom:none;border-top:6px solid #666;color:#666}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical .tabulator-col-content .tabulator-col-title{writing-mode:vertical-rl;text-orientation:mixed;display:flex;align-items:center;justify-content:center}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-col-vertical-flip .tabulator-col-title{transform:rotate(180deg)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-title{padding-right:0;padding-top:20px}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable.tabulator-col-vertical-flip .tabulator-col-title{padding-right:0;padding-bottom:20px}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-sorter{justify-content:center;left:0;right:0;top:4px;bottom:auto}.tabulator .tabulator-header .tabulator-frozen{position:sticky;left:0;z-index:11}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-left{border-right:2px solid #dee2e6}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-right{border-left:2px solid #dee2e6}.tabulator .tabulator-header .tabulator-calcs-holder{box-sizing:border-box;display:inline-block;background:white!important;border-top:1px solid #dee2e6;border-bottom:1px solid #aaa}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row{background:white!important}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-header .tabulator-frozen-rows-holder{display:inline-block}.tabulator .tabulator-header .tabulator-frozen-rows-holder:empty{display:none}.tabulator .tabulator-tableholder{position:relative;width:100%;white-space:nowrap;overflow:auto;-webkit-overflow-scrolling:touch}.tabulator .tabulator-tableholder:focus{outline:none}.tabulator .tabulator-tableholder .tabulator-placeholder{box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-width:100%;width:100%}.tabulator .tabulator-tableholder .tabulator-placeholder[tabulator-render-mode=virtual]{min-height:100%}.tabulator .tabulator-tableholder .tabulator-placeholder .tabulator-placeholder-contents{display:inline-block;text-align:center;padding:10px;color:#ccc;font-weight:700;font-size:20px;white-space:normal}.tabulator .tabulator-tableholder .tabulator-table{position:relative;display:inline-block;background-color:#fff;white-space:nowrap;overflow:visible;color:#333}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs{font-weight:700;background:#ececec!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-top{border-bottom:2px solid #dee2e6}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-bottom{border-top:2px solid #dee2e6}.tabulator .tabulator-tableholder .tabulator-range-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;pointer-events:none}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range{position:absolute;box-sizing:border-box;border:1px solid #2975DD}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range.tabulator-range-active:after{content:"";position:absolute;right:-3px;bottom:-3px;width:6px;height:6px;background-color:#2975dd;border-radius:999px}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range-cell-active{position:absolute;box-sizing:border-box;border:2px solid #2975DD}.tabulator .tabulator-footer{border-top:1px solid #dee2e6;background-color:#e6e6e6;color:#555;font-weight:700;white-space:nowrap;user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator .tabulator-footer .tabulator-footer-contents{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:5px 10px}.tabulator .tabulator-footer .tabulator-footer-contents:empty{display:none}.tabulator .tabulator-footer .tabulator-calcs-holder{box-sizing:border-box;width:100%;text-align:left;background:#f3f3f3!important;border-bottom:1px solid #dee2e6;border-top:1px solid #dee2e6;overflow:hidden}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row{display:inline-block;background:#f3f3f3!important}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-footer .tabulator-calcs-holder:only-child{margin-bottom:-5px;border-bottom:none}.tabulator .tabulator-footer>*+.tabulator-page-counter{margin-left:10px}.tabulator .tabulator-footer .tabulator-page-counter{font-weight:400}.tabulator .tabulator-footer .tabulator-paginator{flex:1;text-align:right;color:#555;font-family:inherit;font-weight:inherit;font-size:inherit}.tabulator .tabulator-footer .tabulator-page-size{display:inline-block;margin:0 5px;padding:2px 5px;border:1px solid #dee2e6;border-radius:3px}.tabulator .tabulator-footer .tabulator-pages{margin:0 7px}.tabulator .tabulator-footer .tabulator-page{display:inline-block;margin:0 2px;padding:2px 5px;border:1px solid #dee2e6;border-radius:3px;background:rgba(255,255,255,.2)}.tabulator .tabulator-footer .tabulator-page.active{color:#fff}.tabulator .tabulator-footer .tabulator-page:disabled{opacity:.5}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-footer .tabulator-page:not(disabled):hover{cursor:pointer;background:rgba(0,0,0,.2);color:#fff}}.tabulator .tabulator-col-resize-handle{position:relative;display:inline-block;width:6px;margin-left:-3px;margin-right:-3px;z-index:11;vertical-align:middle}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-col-resize-handle:hover{cursor:ew-resize}}.tabulator .tabulator-col-resize-handle:last-of-type{width:3px;margin-right:0}.tabulator .tabulator-alert{position:absolute;display:flex;align-items:center;top:0;left:0;z-index:100;height:100%;width:100%;background:rgba(0,0,0,.4);text-align:center}.tabulator .tabulator-alert .tabulator-alert-msg{display:inline-block;margin:0 auto;padding:10px 20px;border-radius:10px;background:#fff;font-weight:700;font-size:16px}.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-msg{border:4px solid #333;color:#000}.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-error{border:4px solid #D00;color:#590000}.tabulator-row{position:relative;box-sizing:border-box;min-height:24px;background-color:#fff}.tabulator-row.tabulator-row-even{background-color:#f9f9f9}@media (hover: hover) and (pointer: fine){.tabulator-row.tabulator-selectable:hover{background-color:#f5f5f5;cursor:pointer}}.tabulator-row.tabulator-selected{background-color:#9abcea}@media (hover: hover) and (pointer: fine){.tabulator-row.tabulator-selected:hover{background-color:#769bcc;cursor:pointer}}.tabulator-row.tabulator-row-moving{border:1px solid #000;background:#fff}.tabulator-row.tabulator-moving{position:absolute;border-top:1px solid #dee2e6;border-bottom:1px solid #dee2e6;pointer-events:none;z-index:15}.tabulator-row.tabulator-range-highlight .tabulator-cell.tabulator-range-row-header{background-color:#d6d6d6;color:#000}.tabulator-row.tabulator-range-highlight.tabulator-range-selected .tabulator-cell.tabulator-range-row-header,.tabulator-row.tabulator-range-selected .tabulator-cell.tabulator-range-row-header{background-color:#3876ca;color:#fff}.tabulator-row .tabulator-row-resize-handle{position:absolute;right:0;bottom:0;left:0;height:5px}.tabulator-row .tabulator-row-resize-handle.prev{top:0;bottom:auto}@media (hover: hover) and (pointer: fine){.tabulator-row .tabulator-row-resize-handle:hover{cursor:ns-resize}}.tabulator-row .tabulator-responsive-collapse{box-sizing:border-box;padding:5px;border-top:1px solid #dee2e6;border-bottom:1px solid #dee2e6}.tabulator-row .tabulator-responsive-collapse:empty{display:none}.tabulator-row .tabulator-responsive-collapse table{font-size:16px}.tabulator-row .tabulator-responsive-collapse table tr td{position:relative}.tabulator-row .tabulator-responsive-collapse table tr td:first-of-type{padding-right:10px}.tabulator-row .tabulator-cell{display:inline-block;position:relative;box-sizing:border-box;padding:4px;border-right:1px solid #dee2e6;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;outline:none}.tabulator-row .tabulator-cell.tabulator-frozen{display:inline-block;position:sticky;left:0;background-color:inherit;z-index:11}.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-right:2px solid #dee2e6}.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-left:2px solid #dee2e6}.tabulator-row .tabulator-cell.tabulator-editing{border:1px solid #1D68CD;outline:none;padding:0}.tabulator-row .tabulator-cell.tabulator-editing input,.tabulator-row .tabulator-cell.tabulator-editing select{border:1px;background:transparent;outline:none}.tabulator-row .tabulator-cell.tabulator-validation-fail{border:1px solid #dd0000}.tabulator-row .tabulator-cell.tabulator-validation-fail input,.tabulator-row .tabulator-cell.tabulator-validation-fail select{border:1px;background:transparent;color:#d00}.tabulator-row .tabulator-cell.tabulator-row-handle{display:inline-flex;align-items:center;justify-content:center;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box{width:80%}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box .tabulator-row-handle-bar{width:100%;height:3px;margin-top:2px;background:#666}.tabulator-row .tabulator-cell.tabulator-range-selected:not(.tabulator-range-only-cell-selected):not(.tabulator-range-row-header){background-color:#9abcea}.tabulator-row .tabulator-cell .tabulator-data-tree-branch-empty{display:inline-block;width:7px}.tabulator-row .tabulator-cell .tabulator-data-tree-branch{display:inline-block;vertical-align:middle;height:9px;width:7px;margin-top:-9px;margin-right:5px;border-bottom-left-radius:1px;border-left:2px solid #dee2e6;border-bottom:2px solid #dee2e6}.tabulator-row .tabulator-cell .tabulator-data-tree-control{display:inline-flex;justify-content:center;align-items:center;vertical-align:middle;height:11px;width:11px;margin-right:5px;border:1px solid #333;border-radius:2px;background:rgba(0,0,0,.1);overflow:hidden}@media (hover: hover) and (pointer: fine){.tabulator-row .tabulator-cell .tabulator-data-tree-control:hover{cursor:pointer;background:rgba(0,0,0,.2)}}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse{display:inline-block;position:relative;height:7px;width:1px;background:transparent}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand{display:inline-block;position:relative;height:7px;width:1px;background:#333}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle{display:inline-flex;align-items:center;justify-content:center;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none;height:15px;width:15px;border-radius:20px;background:#666;color:#fff;font-weight:700;font-size:1.1em}@media (hover: hover) and (pointer: fine){.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle:hover{opacity:.7;cursor:pointer}}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-close{display:initial}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-open{display:none}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle svg{stroke:#fff}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle .tabulator-responsive-collapse-toggle-close{display:none}.tabulator-row .tabulator-cell .tabulator-traffic-light{display:inline-block;height:14px;width:14px;border-radius:14px}.tabulator-row.tabulator-group{box-sizing:border-box;border-bottom:1px solid #999;border-right:1px solid #dee2e6;border-top:1px solid #999;padding:5px 5px 5px 10px;background:#ccc;font-weight:700;min-width:100%}@media (hover: hover) and (pointer: fine){.tabulator-row.tabulator-group:hover{cursor:pointer;background-color:#0000001a}}.tabulator-row.tabulator-group.tabulator-group-visible .tabulator-arrow{margin-right:10px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #666;border-bottom:0}.tabulator-row.tabulator-group.tabulator-group-level-1{padding-left:30px}.tabulator-row.tabulator-group.tabulator-group-level-2{padding-left:50px}.tabulator-row.tabulator-group.tabulator-group-level-3{padding-left:70px}.tabulator-row.tabulator-group.tabulator-group-level-4{padding-left:90px}.tabulator-row.tabulator-group.tabulator-group-level-5{padding-left:110px}.tabulator-row.tabulator-group .tabulator-group-toggle{display:inline-block}.tabulator-row.tabulator-group .tabulator-arrow{display:inline-block;width:0;height:0;margin-right:16px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:0;border-left:6px solid #666;vertical-align:middle}.tabulator-row.tabulator-group span{margin-left:10px;color:#d00}.tabulator-popup-container{position:absolute;display:inline-block;box-sizing:border-box;background:#fff;border:1px solid #dee2e6;box-shadow:0 0 5px #0003;font-size:16px;overflow-y:auto;-webkit-overflow-scrolling:touch;z-index:10000}.tabulator-popup{padding:5px;border-radius:3px}.tabulator-tooltip{max-width:min(500px,100%);padding:3px 5px;border-radius:2px;box-shadow:none;font-size:12px;pointer-events:none}.tabulator-menu .tabulator-menu-item{position:relative;box-sizing:border-box;padding:5px 10px;-webkit-user-select:none;user-select:none}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-disabled{opacity:.5}@media (hover: hover) and (pointer: fine){.tabulator-menu .tabulator-menu-item:not(.tabulator-menu-item-disabled):hover{cursor:pointer;background:#f9f9f9}}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu{padding-right:25px}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu:after{display:inline-block;position:absolute;top:calc(5px + .4em);right:10px;height:7px;width:7px;content:"";border-width:1px 1px 0 0;border-style:solid;border-color:#dee2e6;vertical-align:top;transform:rotate(45deg)}.tabulator-menu .tabulator-menu-separator{border-top:1px solid #dee2e6}.tabulator-edit-list{max-height:200px;font-size:16px;overflow-y:auto;-webkit-overflow-scrolling:touch}.tabulator-edit-list .tabulator-edit-list-item{padding:4px;color:#333;outline:none}.tabulator-edit-list .tabulator-edit-list-item.active{color:#fff;background:#1D68CD}.tabulator-edit-list .tabulator-edit-list-item.active.focused{outline:1px solid rgba(255,255,255,.5)}.tabulator-edit-list .tabulator-edit-list-item.focused{outline:1px solid #1D68CD}@media (hover: hover) and (pointer: fine){.tabulator-edit-list .tabulator-edit-list-item:hover{cursor:pointer;color:#fff;background:#1D68CD}}.tabulator-edit-list .tabulator-edit-list-placeholder{padding:4px;color:#333;text-align:center}.tabulator-edit-list .tabulator-edit-list-group{border-bottom:1px solid #dee2e6;padding:6px 4px 4px;color:#333;font-weight:700}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-2,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-2{padding-left:12px}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-3,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-3{padding-left:20px}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-4,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-4{padding-left:28px}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-5,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-5{padding-left:36px}.tabulator.tabulator-ltr{direction:ltr}.tabulator.tabulator-rtl{text-align:initial;direction:rtl}.tabulator.tabulator-rtl .tabulator-header .tabulator-col{text-align:initial;border-left:1px solid #aaa;border-right:initial}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{margin-right:initial;margin-left:-1px}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:0;padding-left:25px}.tabulator.tabulator-rtl .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{left:8px;right:initial}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell{border-right:initial;border-left:1px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-branch{margin-right:initial;margin-left:5px;border-bottom-left-radius:initial;border-bottom-right-radius:1px;border-left:initial;border-right:2px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-control{margin-right:initial;margin-left:5px}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-left:2px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-right:2px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-col-resize-handle:last-of-type{width:3px;margin-left:0;margin-right:-3px}.tabulator.tabulator-rtl .tabulator-footer .tabulator-calcs-holder{text-align:initial}.tabulator-print-fullscreen{position:absolute;top:0;bottom:0;left:0;right:0;z-index:10000}body.tabulator-print-fullscreen-hide>*:not(.tabulator-print-fullscreen){display:none!important}.tabulator-print-table{border-collapse:collapse}.tabulator-print-table .tabulator-data-tree-branch{display:inline-block;vertical-align:middle;height:9px;width:7px;margin-top:-9px;margin-right:5px;border-bottom-left-radius:1px;border-left:2px solid #dee2e6;border-bottom:2px solid #dee2e6}.tabulator-print-table .tabulator-print-table-group{box-sizing:border-box;border-bottom:1px solid #999;border-right:1px solid #dee2e6;border-top:1px solid #999;padding:5px 5px 5px 10px;background:#ccc;font-weight:700;min-width:100%}@media (hover: hover) and (pointer: fine){.tabulator-print-table .tabulator-print-table-group:hover{cursor:pointer;background-color:#0000001a}}.tabulator-print-table .tabulator-print-table-group.tabulator-group-visible .tabulator-arrow{margin-right:10px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #666;border-bottom:0}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-1 td{padding-left:30px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-2 td{padding-left:50px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-3 td{padding-left:70px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-4 td{padding-left:90px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-5 td{padding-left:110px!important}.tabulator-print-table .tabulator-print-table-group .tabulator-group-toggle{display:inline-block}.tabulator-print-table .tabulator-print-table-group .tabulator-arrow{display:inline-block;width:0;height:0;margin-right:16px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:0;border-left:6px solid #666;vertical-align:middle}.tabulator-print-table .tabulator-print-table-group span{margin-left:10px;color:#d00}.tabulator-print-table .tabulator-data-tree-control{display:inline-flex;justify-content:center;align-items:center;vertical-align:middle;height:11px;width:11px;margin-right:5px;border:1px solid #333;border-radius:2px;background:rgba(0,0,0,.1);overflow:hidden}@media (hover: hover) and (pointer: fine){.tabulator-print-table .tabulator-data-tree-control:hover{cursor:pointer;background:rgba(0,0,0,.2)}}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse{display:inline-block;position:relative;height:7px;width:1px;background:transparent}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand{display:inline-block;position:relative;height:7px;width:1px;background:#333}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator{background-color:#fff;border:none}.tabulator .tabulator-header{border-top:1px solid #dee2e6;border-bottom:2px solid #dee2e6;color:inherit}.tabulator .tabulator-header .tabulator-col{border-right:none;background-color:#fff}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{padding:12px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{right:0}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{border-top:1px solid #dee2e6}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input{padding:.375rem .75rem;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;font-size:1rem;line-height:1.5;color:#495057}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input:focus{color:#495057;background-color:#fff;border:1px solid #1D68CD;outline:0}.tabulator .tabulator-header .tabulator-calcs-holder{width:100%;border-bottom:1px solid #dee2e6}.tabulator .tabulator-tableholder .tabulator-placeholder span{color:#000}.tabulator .tabulator-tableholder .tabulator-table,.tabulator .tabulator-footer,.tabulator .tabulator-footer .tabulator-paginator{color:inherit}.tabulator .tabulator-footer .tabulator-pages{margin:0}.tabulator .tabulator-footer .tabulator-page{margin:5px 0 0;padding:8px 12px}.tabulator .tabulator-footer .tabulator-page[data-page=first]{border-top-left-radius:4px;border-bottom-left-radius:4px}.tabulator .tabulator-footer .tabulator-page[data-page=last]{border:1px solid #dee2e6;border-top-right-radius:4px;border-bottom-right-radius:4px}.tabulator .tabulator-footer .tabulator-page.active{border-color:#007bff;background-color:#007bff;color:#fff}.tabulator .tabulator-footer .tabulator-page:disabled{border-color:#dee2e6;background:#fff;color:#6c757d}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-footer .tabulator-page:not(.disabled):hover{border-color:#dee2e6;background:#e9ecef;color:#0056b3}}.tabulator.thead-dark .tabulator-header,.tabulator.thead-dark .tabulator-header .tabulator-col{border-color:#32383e;background-color:#212529;color:#fff}.tabulator.table-dark{background-color:#212529}.tabulator.table-dark:not(.thead-light) .tabulator-header{border-color:#32383e;background-color:#212529;color:#fff}.tabulator.table-dark:not(.thead-light) .tabulator-header .tabulator-col{border-color:#32383e;background-color:#212529;color:#fff}.tabulator.table-dark .tabulator-tableholder{color:#fff}.tabulator.table-dark .tabulator-row{border-color:#32383e;background-color:#212529;color:#fff}@media (hover: hover) and (pointer: fine){.tabulator.table-dark .tabulator-row:hover{background-color:#32383e}.tabulator.table-dark .tabulator-row:hover .tabulator-cell{background-color:#ffffff13}}.tabulator.table-dark .tabulator-row.tabulator-selected{background-color:#9abcea}.tabulator.table-dark .tabulator-footer{border-color:#32383e!important}.tabulator.table-dark .tabulator-footer .tabulator-calcs-holder{border-color:#32383e!important;background:#212529!important}.tabulator.table-dark .tabulator-footer .tabulator-calcs-holder .tabulator-row{border-color:#32383e!important;background-color:#212529!important;color:#fff!important}.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even{background-color:#f9f9f9}.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even.tabulator-selected{background-color:#9abcea}@media (hover: hover) and (pointer: fine){.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even.tabulator-selectable:hover{background-color:#f5f5f5;cursor:pointer}.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even.tabulator-selected:hover{background-color:#769bcc;cursor:pointer}}.tabulator.table-striped.table-dark .tabulator-row:nth-child(2n) .tabulator-cell{background-color:#ffffff0d}.tabulator.table-bordered{border:1px solid #dee2e6}.tabulator.table-bordered .tabulator-header .tabulator-col,.tabulator.table-bordered .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell{border-right:1px solid #dee2e6}.tabulator.table-borderless .tabulator-header,.tabulator.table-borderless .tabulator-row{border:none}.tabulator.table-sm .tabulator-header .tabulator-col .tabulator-col-content{padding:5px!important}.tabulator.table-sm .tabulator-tableholder .tabulator-table .tabulator-row{min-height:26px}.tabulator.table-sm .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell{padding:5px!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-primary{background:#b8daff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-secondary{background:#d6d8db!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-success{background:#c3e6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-info{background:#bee5eb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-warning{background:#ffeeba!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-danger{background:#f5c6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-light{background:#fdfdfe!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-dark{background:#c6c8ca!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-active{background:#f5f5f5!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-primary{background:#007bff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-secondary{background:#6c757d!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-success{background:#28a745!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-info{background:#17a2b8!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-warning{background:#ffc107!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-danger{background:#dc3545!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-light{background:#f8f9fa!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-dark{background:#343a40!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-active{background:#f5f5f5!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-primary{background:#b8daff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-secondary{background:#d6d8db!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-success{background:#c3e6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-info{background:#bee5eb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-warning{background:#ffeeba!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-danger{background:#f5c6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-light{background:#fdfdfe!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-dark{background:#c6c8ca!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-active{background:#f5f5f5!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-primary{background:#007bff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-secondary{background:#6c757d!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-success{background:#28a745!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-info{background:#17a2b8!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-warning{background:#ffc107!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-danger{background:#dc3545!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-light{background:#f8f9fa!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-dark{background:#343a40!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-active{background:#f5f5f5!important}.tabulator-row{min-height:40px;border-bottom:1px solid #dee2e6}.tabulator-row .tabulator-cell{padding:12px;border-right:none}.tabulator-row .tabulator-cell:last-of-type{border-right:none}.tabulator-row .tabulator-cell .tabulator-data-tree-control{border:1px solid #ccc}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{background:#ccc}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand{background:#ccc}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{background:#ccc}.tabulator-row.tabulator-group{background:#fafafa}.tabulator-row.tabulator-group span{color:#666}.tabulator-edit-select-list{background:#fff}.tabulator-edit-select-list .tabulator-edit-select-list-item.active{color:#fff}.tabulator-edit-select-list .tabulator-edit-select-list-item.active.focused{outline:1px solid rgba(255,255,255,.5)}@media (hover: hover) and (pointer: fine){.tabulator-edit-select-list .tabulator-edit-select-list-item:hover{color:#fff}}.tabulator-edit-select-list .tabulator-edit-select-list-notice,.tabulator-edit-select-list .tabulator-edit-select-list-group{color:inherit}.tabulator.tabulator-rtl .tabulator-header .tabulator-col{text-align:initial;border-left:initial}.tabulator-print-table .tabulator-print-table-group{background:#fafafa}.tabulator-print-table .tabulator-print-table-group span{color:#666}.tabulator-print-table .tabulator-data-tree-control{color:inherit}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{background:#ccc}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand{background:#ccc}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{background:#ccc}.tabulator-col-title,.tabulator-cell{font-size:14px}.plot-container[data-v-0b5cc4d2]{position:relative;width:100%;color:var(--text-color);background-color:var(--background-color)}.simple-button[data-v-0b5cc4d2]{position:absolute;top:17%;left:6.5%;z-index:1000;background-color:var(--annotation-background);border:none;border-radius:50%;width:30px;height:30px;text-align:center;line-height:230%;cursor:pointer}.simple-button[data-v-0b5cc4d2]:hover{background-color:var(--button-hover-color)}.foreground[data-v-fb6c82e8]{position:relative;z-index:1000}.sequence-amino-acid-highlighted[data-v-fb6c82e8],.sequence-amino-acid.highlighted[data-v-fb6c82e8]{background-color:#f3a712;color:#000;outline:3px solid #29335C;font-weight:700}.sequence-amino-acid-truncated[data-v-fb6c82e8],.sequence-amino-acid.truncated .aa-text[data-v-fb6c82e8]{color:#8080804d;outline:rgba(128,128,128,.3);text-decoration:line-through!important}.sequence-amino-acid[data-v-fb6c82e8]{background-color:var(--amino-acid-cell-bg-color);color:var(--amino-acid-cell-color)}.sequence-amino-acid[data-v-fb6c82e8]:hover{background-color:var(--amino-acid-cell-hover-bg-color);color:var(--amino-acid-cell-hover-color)}.sequence-amino-acid-highlighted[data-v-fb6c82e8]{background-color:var(--amino-acid-cell-bg-color);color:#f3a712}.sequence-amino-acid-highlighted[data-v-fb6c82e8]:hover{background-color:var(--amino-acid-cell-hover-bg-color)}.sequence-amino-acid-modified[data-v-fb6c82e8]{background-color:#a79c91}.sequence-amino-acid-modified[data-v-fb6c82e8]:hover{background-color:#c5baaf}.frag-marker-container[data-v-fb6c82e8],.frag-marker-container-a[data-v-fb6c82e8],.frag-marker-container-b[data-v-fb6c82e8],.frag-marker-container-c[data-v-fb6c82e8],.frag-marker-container-x[data-v-fb6c82e8],.frag-marker-container-y[data-v-fb6c82e8],.frag-marker-container-z[data-v-fb6c82e8],.frag-marker-extra-type[data-v-fb6c82e8]{width:100%;height:100%;position:absolute;z-index:1000}.frag-marker-container-a[data-v-fb6c82e8]{top:-28%;left:15%}.frag-marker-container-b[data-v-fb6c82e8]{top:-8%;left:13%}.frag-marker-container-c[data-v-fb6c82e8]{top:-28%;left:15%}.frag-marker-container-x[data-v-fb6c82e8]{bottom:-32%;left:-10%}.frag-marker-container-y[data-v-fb6c82e8]{bottom:-8%;left:-10%}.frag-marker-container-z[data-v-fb6c82e8]{bottom:-32%;left:-10%}.frag-marker-extra-type[data-v-fb6c82e8]{top:-30%}.aa-text[data-v-fb6c82e8]{position:absolute}.tag-marker[data-v-fb6c82e8]{position:absolute;top:-7.5%;left:-7.5%;width:115%;height:115%;display:flex;align-items:center;justify-content:right;border-top:.3em solid black;border-right:.3em solid black;border-bottom:.3em solid black;border-left:.3em solid black;z-index:1100}.tag-start[data-v-fb6c82e8]{clip-path:inset(0 50% 0 0)}.tag-end[data-v-fb6c82e8]{clip-path:inset(0 0 0 50%)}.mod-marker[data-v-fb6c82e8]{position:absolute;width:100%;height:100%;display:flex;align-items:center;justify-content:right;background-image:radial-gradient(#676a9c .5px,transparent .5px),radial-gradient(#444cf7 .5px,#e5e5f7 .5px);background-size:15px 15px;background-position:0 0,10px 10px;background-repeat:repeat}.mod-mass[data-v-fb6c82e8]{background-color:#fff;display:inline-block;position:absolute;top:-15%;right:-25%;display:flex;align-items:center;justify-content:right;border-top:.1em solid #a79c91;border-right:.1em solid #a79c91;border-bottom:.1em solid #a79c91;border-left:.1em solid #a79c91;font-size:.7em;padding:0 .2em;z-index:1100}.mod-mass-a[data-v-fb6c82e8]{display:inline-block;position:absolute;top:-15%;right:-25%;display:flex;align-items:center;border-top:.2em solid green;border-right:.2em solid green;border-bottom:.2em solid green;border-radius:.5rem;padding:0 .2em;z-index:1200;font-size:.7em;color:#0000}.mod-mass-b[data-v-fb6c82e8]{display:inline-block;position:absolute;top:-15%;right:-25%;display:flex;align-items:center;border-top:.2em solid blue;border-right:.2em solid blue;border-bottom:.2em solid blue;border-radius:.5rem;z-index:1200;padding:0 .2em;font-size:.7em;color:#0000}.mod-mass-c[data-v-fb6c82e8]{display:inline-block;position:absolute;top:-15%;right:-25%;display:flex;align-items:center;border-top:.2em solid red;border-right:.2em solid red;border-bottom:.2em solid red;border-radius:.5rem;z-index:1200;font-size:.7em;padding:0 .2em;color:#0000}.mod-start[data-v-fb6c82e8]{clip-path:inset(0 50% 0 0)}.mod-end[data-v-fb6c82e8],.mod-start-cont[data-v-fb6c82e8]{clip-path:inset(0 0 0 50%)}.mod-end-cont[data-v-fb6c82e8]{clip-path:inset(0 50% 0 0)}.mod-center-cont[data-v-fb6c82e8]{width:125%}.undetermined[data-v-beee67fe]{position:relative;top:-20%;font-size:.7em;font-weight:1000;color:red;z-index:1100}.protein-terminal[data-v-beee67fe]:hover{background-color:var(--protein-terminal-cell-hover-bg-color);color:var(--protein-terminal-cell-hover-color)}.terminal-text[data-v-beee67fe]{font-weight:1000}.terminal-text.truncated[data-v-beee67fe]{color:#80808066;outline:rgba(128,128,128,.4)}.protein-terminal-modified[data-v-beee67fe]{background-color:#9c1e1e;color:var(--amino-acid-cell-color)}.protein-terminal-modified[data-v-beee67fe]:hover{background-color:#ff1e1e}.sequence-grid[data-v-9a6912d6]{display:grid;grid-template-rows:auto;gap:4px 4px}.sequence-grid>div[data-v-9a6912d6]{aspect-ratio:1}.sequence-amino-acid-modified[data-v-9a6912d6]{background-color:#9c1e1e!important}.sequence-amino-acid-modified[data-v-9a6912d6]:hover{background-color:#ff1e1e}.sequence-amino-acid-highlighted[data-v-9a6912d6]{background-color:var(--amino-acid-cell-bg-color);color:#f0a441}.sequence-amino-acid-highlighted[data-v-9a6912d6]:hover{background-color:var(--amino-acid-cell-hover-bg-color)}.sequence-grid[data-v-14f01162]{display:grid;grid-template-rows:auto;gap:4px 4px}.sequence-grid>div[data-v-14f01162]{aspect-ratio:1}.protein-terminal[data-v-14f01162]:hover{background-color:var(--amino-acid-cell-hover-bg-color);color:var(--amino-acid-cell-hover-color)}.grid-width-20[data-v-14f01162]{grid-template-columns:repeat(22,1fr)}.grid-width-25[data-v-14f01162]{grid-template-columns:repeat(27,1fr)}.grid-width-30[data-v-14f01162]{grid-template-columns:repeat(32,1fr)}.grid-width-35[data-v-14f01162]{grid-template-columns:repeat(37,1fr)}.grid-width-40[data-v-14f01162]{grid-template-columns:repeat(42,1fr)}.sequence-and-scale[data-v-14f01162]{display:flex;align-items:center}.scale-container[data-v-14f01162]{display:flex;flex-direction:column;align-items:center}#sequence-part[data-v-14f01162]{flex-grow:1}.scale[data-v-14f01162]{width:60px;height:100px;background:linear-gradient(to top,rgba(228,87,46,.1),rgba(228,87,46,.2) 10%,rgba(228,87,46,.4) 20%,rgba(228,87,46,.6) 40%,rgba(228,87,46,.8) 70%,#e4572e 100%)}.scale-text[data-v-14f01162]{text-align:center;font-size:14pt;font-weight:700}.sequence-text[data-v-ece55ad7]{font-size:8px}.fragment-segment[data-v-ece55ad7],.by-fragment[data-v-ece55ad7],.cy-fragment[data-v-ece55ad7],.bz-fragment[data-v-ece55ad7],.not-in-fragment[data-v-ece55ad7],.by-fragment-overlayed[data-v-ece55ad7],.by-fragment-legend[data-v-ece55ad7],.cy-fragment-overlayed[data-v-ece55ad7],.cy-fragment-legend[data-v-ece55ad7],.bz-fragment-overlayed[data-v-ece55ad7],.bz-fragment-legend[data-v-ece55ad7]{aspect-ratio:1}.by-fragment[data-v-ece55ad7],.by-fragment-overlayed[data-v-ece55ad7],.by-fragment-legend[data-v-ece55ad7]{background:#f0a441}.by-fragment-overlayed[data-v-ece55ad7]{opacity:var(--frag-block-opacity-value)}.by-fragment-legend[data-v-ece55ad7]{height:10px}.cy-fragment[data-v-ece55ad7],.cy-fragment-overlayed[data-v-ece55ad7],.cy-fragment-legend[data-v-ece55ad7]{background:#12871d}.cy-fragment-overlayed[data-v-ece55ad7]{opacity:var(--frag-block-opacity-value)}.cy-fragment-legend[data-v-ece55ad7]{height:10px}.bz-fragment[data-v-ece55ad7],.bz-fragment-overlayed[data-v-ece55ad7],.bz-fragment-legend[data-v-ece55ad7]{background:#7831cc}.bz-fragment-overlayed[data-v-ece55ad7]{opacity:var(--frag-block-opacity-value)}.bz-fragment-legend[data-v-ece55ad7]{height:10px}.not-in-fragment[data-v-ece55ad7]{background:transparent;aspect-ratio:1}.v-input.textFieldFontSize[data-v-ece55ad7]{width:100px}.component-row[data-v-942c08f7]{display:flex;flex-direction:row;align-items:center}.height-1[data-v-942c08f7]{min-height:200px;height:fit-content;max-height:400px}.height-2[data-v-942c08f7]{min-height:200px;height:fit-content;max-height:800px}.height-any[data-v-942c08f7]{min-height:200px;height:fit-content}.component-width-1[data-v-942c08f7]{flex-basis:100%;flex-grow:0}.component-width-2[data-v-942c08f7]{max-width:50%;flex-basis:50%;flex-grow:0}.component-width-3[data-v-942c08f7]{max-width:33%;flex-basis:33%;flex-grow:0}.component-layout[data-v-721e06dc]{display:flex;flex-direction:column}body{margin:0;font-family:Source Sans Pro,sans-serif}.tabulator-tooltip{background:#fff;color:#000}@font-face{font-family:Material Design Icons;src:url(./materialdesignicons-webfont-67d24abe.eot?v=7.2.96);src:url(./materialdesignicons-webfont-67d24abe.eot?#iefix&v=7.2.96) format("embedded-opentype"),url(./materialdesignicons-webfont-c1c004a9.woff2?v=7.2.96) format("woff2"),url(./materialdesignicons-webfont-80bb28b3.woff?v=7.2.96) format("woff"),url(./materialdesignicons-webfont-a58ecb54.ttf?v=7.2.96) format("truetype");font-weight:400;font-style:normal}.mdi:before,.mdi-set{display:inline-block;font: 24px/1 Material Design Icons;font-size:inherit;text-rendering:auto;line-height:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.mdi-ab-testing:before{content:"󰇉"}.mdi-abacus:before{content:"󱛠"}.mdi-abjad-arabic:before{content:"󱌨"}.mdi-abjad-hebrew:before{content:"󱌩"}.mdi-abugida-devanagari:before{content:"󱌪"}.mdi-abugida-thai:before{content:"󱌫"}.mdi-access-point:before{content:"󰀃"}.mdi-access-point-check:before{content:"󱔸"}.mdi-access-point-minus:before{content:"󱔹"}.mdi-access-point-network:before{content:"󰀂"}.mdi-access-point-network-off:before{content:"󰯡"}.mdi-access-point-off:before{content:"󱔑"}.mdi-access-point-plus:before{content:"󱔺"}.mdi-access-point-remove:before{content:"󱔻"}.mdi-account:before{content:"󰀄"}.mdi-account-alert:before{content:"󰀅"}.mdi-account-alert-outline:before{content:"󰭐"}.mdi-account-arrow-down:before{content:"󱡨"}.mdi-account-arrow-down-outline:before{content:"󱡩"}.mdi-account-arrow-left:before{content:"󰭑"}.mdi-account-arrow-left-outline:before{content:"󰭒"}.mdi-account-arrow-right:before{content:"󰭓"}.mdi-account-arrow-right-outline:before{content:"󰭔"}.mdi-account-arrow-up:before{content:"󱡧"}.mdi-account-arrow-up-outline:before{content:"󱡪"}.mdi-account-badge:before{content:"󱬊"}.mdi-account-badge-outline:before{content:"󱬋"}.mdi-account-box:before{content:"󰀆"}.mdi-account-box-multiple:before{content:"󰤴"}.mdi-account-box-multiple-outline:before{content:"󱀊"}.mdi-account-box-outline:before{content:"󰀇"}.mdi-account-cancel:before{content:"󱋟"}.mdi-account-cancel-outline:before{content:"󱋠"}.mdi-account-card:before{content:"󱮤"}.mdi-account-card-outline:before{content:"󱮥"}.mdi-account-cash:before{content:"󱂗"}.mdi-account-cash-outline:before{content:"󱂘"}.mdi-account-check:before{content:"󰀈"}.mdi-account-check-outline:before{content:"󰯢"}.mdi-account-child:before{content:"󰪉"}.mdi-account-child-circle:before{content:"󰪊"}.mdi-account-child-outline:before{content:"󱃈"}.mdi-account-circle:before{content:"󰀉"}.mdi-account-circle-outline:before{content:"󰭕"}.mdi-account-clock:before{content:"󰭖"}.mdi-account-clock-outline:before{content:"󰭗"}.mdi-account-cog:before{content:"󱍰"}.mdi-account-cog-outline:before{content:"󱍱"}.mdi-account-convert:before{content:"󰀊"}.mdi-account-convert-outline:before{content:"󱌁"}.mdi-account-cowboy-hat:before{content:"󰺛"}.mdi-account-cowboy-hat-outline:before{content:"󱟳"}.mdi-account-credit-card:before{content:"󱮦"}.mdi-account-credit-card-outline:before{content:"󱮧"}.mdi-account-details:before{content:"󰘱"}.mdi-account-details-outline:before{content:"󱍲"}.mdi-account-edit:before{content:"󰚼"}.mdi-account-edit-outline:before{content:"󰿻"}.mdi-account-eye:before{content:"󰐠"}.mdi-account-eye-outline:before{content:"󱉻"}.mdi-account-filter:before{content:"󰤶"}.mdi-account-filter-outline:before{content:"󰾝"}.mdi-account-group:before{content:"󰡉"}.mdi-account-group-outline:before{content:"󰭘"}.mdi-account-hard-hat:before{content:"󰖵"}.mdi-account-hard-hat-outline:before{content:"󱨟"}.mdi-account-heart:before{content:"󰢙"}.mdi-account-heart-outline:before{content:"󰯣"}.mdi-account-injury:before{content:"󱠕"}.mdi-account-injury-outline:before{content:"󱠖"}.mdi-account-key:before{content:"󰀋"}.mdi-account-key-outline:before{content:"󰯤"}.mdi-account-lock:before{content:"󱅞"}.mdi-account-lock-open:before{content:"󱥠"}.mdi-account-lock-open-outline:before{content:"󱥡"}.mdi-account-lock-outline:before{content:"󱅟"}.mdi-account-minus:before{content:"󰀍"}.mdi-account-minus-outline:before{content:"󰫬"}.mdi-account-multiple:before{content:"󰀎"}.mdi-account-multiple-check:before{content:"󰣅"}.mdi-account-multiple-check-outline:before{content:"󱇾"}.mdi-account-multiple-minus:before{content:"󰗓"}.mdi-account-multiple-minus-outline:before{content:"󰯥"}.mdi-account-multiple-outline:before{content:"󰀏"}.mdi-account-multiple-plus:before{content:"󰀐"}.mdi-account-multiple-plus-outline:before{content:"󰠀"}.mdi-account-multiple-remove:before{content:"󱈊"}.mdi-account-multiple-remove-outline:before{content:"󱈋"}.mdi-account-music:before{content:"󰠃"}.mdi-account-music-outline:before{content:"󰳩"}.mdi-account-network:before{content:"󰀑"}.mdi-account-network-off:before{content:"󱫱"}.mdi-account-network-off-outline:before{content:"󱫲"}.mdi-account-network-outline:before{content:"󰯦"}.mdi-account-off:before{content:"󰀒"}.mdi-account-off-outline:before{content:"󰯧"}.mdi-account-outline:before{content:"󰀓"}.mdi-account-plus:before{content:"󰀔"}.mdi-account-plus-outline:before{content:"󰠁"}.mdi-account-question:before{content:"󰭙"}.mdi-account-question-outline:before{content:"󰭚"}.mdi-account-reactivate:before{content:"󱔫"}.mdi-account-reactivate-outline:before{content:"󱔬"}.mdi-account-remove:before{content:"󰀕"}.mdi-account-remove-outline:before{content:"󰫭"}.mdi-account-school:before{content:"󱨠"}.mdi-account-school-outline:before{content:"󱨡"}.mdi-account-search:before{content:"󰀖"}.mdi-account-search-outline:before{content:"󰤵"}.mdi-account-settings:before{content:"󰘰"}.mdi-account-settings-outline:before{content:"󱃉"}.mdi-account-star:before{content:"󰀗"}.mdi-account-star-outline:before{content:"󰯨"}.mdi-account-supervisor:before{content:"󰪋"}.mdi-account-supervisor-circle:before{content:"󰪌"}.mdi-account-supervisor-circle-outline:before{content:"󱓬"}.mdi-account-supervisor-outline:before{content:"󱄭"}.mdi-account-switch:before{content:"󰀙"}.mdi-account-switch-outline:before{content:"󰓋"}.mdi-account-sync:before{content:"󱤛"}.mdi-account-sync-outline:before{content:"󱤜"}.mdi-account-tag:before{content:"󱰛"}.mdi-account-tag-outline:before{content:"󱰜"}.mdi-account-tie:before{content:"󰳣"}.mdi-account-tie-hat:before{content:"󱢘"}.mdi-account-tie-hat-outline:before{content:"󱢙"}.mdi-account-tie-outline:before{content:"󱃊"}.mdi-account-tie-voice:before{content:"󱌈"}.mdi-account-tie-voice-off:before{content:"󱌊"}.mdi-account-tie-voice-off-outline:before{content:"󱌋"}.mdi-account-tie-voice-outline:before{content:"󱌉"}.mdi-account-tie-woman:before{content:"󱪌"}.mdi-account-voice:before{content:"󰗋"}.mdi-account-voice-off:before{content:"󰻔"}.mdi-account-wrench:before{content:"󱢚"}.mdi-account-wrench-outline:before{content:"󱢛"}.mdi-adjust:before{content:"󰀚"}.mdi-advertisements:before{content:"󱤪"}.mdi-advertisements-off:before{content:"󱤫"}.mdi-air-conditioner:before{content:"󰀛"}.mdi-air-filter:before{content:"󰵃"}.mdi-air-horn:before{content:"󰶬"}.mdi-air-humidifier:before{content:"󱂙"}.mdi-air-humidifier-off:before{content:"󱑦"}.mdi-air-purifier:before{content:"󰵄"}.mdi-air-purifier-off:before{content:"󱭗"}.mdi-airbag:before{content:"󰯩"}.mdi-airballoon:before{content:"󰀜"}.mdi-airballoon-outline:before{content:"󱀋"}.mdi-airplane:before{content:"󰀝"}.mdi-airplane-alert:before{content:"󱡺"}.mdi-airplane-check:before{content:"󱡻"}.mdi-airplane-clock:before{content:"󱡼"}.mdi-airplane-cog:before{content:"󱡽"}.mdi-airplane-edit:before{content:"󱡾"}.mdi-airplane-landing:before{content:"󰗔"}.mdi-airplane-marker:before{content:"󱡿"}.mdi-airplane-minus:before{content:"󱢀"}.mdi-airplane-off:before{content:"󰀞"}.mdi-airplane-plus:before{content:"󱢁"}.mdi-airplane-remove:before{content:"󱢂"}.mdi-airplane-search:before{content:"󱢃"}.mdi-airplane-settings:before{content:"󱢄"}.mdi-airplane-takeoff:before{content:"󰗕"}.mdi-airport:before{content:"󰡋"}.mdi-alarm:before{content:"󰀠"}.mdi-alarm-bell:before{content:"󰞎"}.mdi-alarm-check:before{content:"󰀡"}.mdi-alarm-light:before{content:"󰞏"}.mdi-alarm-light-off:before{content:"󱜞"}.mdi-alarm-light-off-outline:before{content:"󱜟"}.mdi-alarm-light-outline:before{content:"󰯪"}.mdi-alarm-multiple:before{content:"󰀢"}.mdi-alarm-note:before{content:"󰹱"}.mdi-alarm-note-off:before{content:"󰹲"}.mdi-alarm-off:before{content:"󰀣"}.mdi-alarm-panel:before{content:"󱗄"}.mdi-alarm-panel-outline:before{content:"󱗅"}.mdi-alarm-plus:before{content:"󰀤"}.mdi-alarm-snooze:before{content:"󰚎"}.mdi-album:before{content:"󰀥"}.mdi-alert:before{content:"󰀦"}.mdi-alert-box:before{content:"󰀧"}.mdi-alert-box-outline:before{content:"󰳤"}.mdi-alert-circle:before{content:"󰀨"}.mdi-alert-circle-check:before{content:"󱇭"}.mdi-alert-circle-check-outline:before{content:"󱇮"}.mdi-alert-circle-outline:before{content:"󰗖"}.mdi-alert-decagram:before{content:"󰚽"}.mdi-alert-decagram-outline:before{content:"󰳥"}.mdi-alert-minus:before{content:"󱒻"}.mdi-alert-minus-outline:before{content:"󱒾"}.mdi-alert-octagon:before{content:"󰀩"}.mdi-alert-octagon-outline:before{content:"󰳦"}.mdi-alert-octagram:before{content:"󰝧"}.mdi-alert-octagram-outline:before{content:"󰳧"}.mdi-alert-outline:before{content:"󰀪"}.mdi-alert-plus:before{content:"󱒺"}.mdi-alert-plus-outline:before{content:"󱒽"}.mdi-alert-remove:before{content:"󱒼"}.mdi-alert-remove-outline:before{content:"󱒿"}.mdi-alert-rhombus:before{content:"󱇎"}.mdi-alert-rhombus-outline:before{content:"󱇏"}.mdi-alien:before{content:"󰢚"}.mdi-alien-outline:before{content:"󱃋"}.mdi-align-horizontal-center:before{content:"󱇃"}.mdi-align-horizontal-distribute:before{content:"󱥢"}.mdi-align-horizontal-left:before{content:"󱇂"}.mdi-align-horizontal-right:before{content:"󱇄"}.mdi-align-vertical-bottom:before{content:"󱇅"}.mdi-align-vertical-center:before{content:"󱇆"}.mdi-align-vertical-distribute:before{content:"󱥣"}.mdi-align-vertical-top:before{content:"󱇇"}.mdi-all-inclusive:before{content:"󰚾"}.mdi-all-inclusive-box:before{content:"󱢍"}.mdi-all-inclusive-box-outline:before{content:"󱢎"}.mdi-allergy:before{content:"󱉘"}.mdi-alpha:before{content:"󰀫"}.mdi-alpha-a:before{content:"󰫮"}.mdi-alpha-a-box:before{content:"󰬈"}.mdi-alpha-a-box-outline:before{content:"󰯫"}.mdi-alpha-a-circle:before{content:"󰯬"}.mdi-alpha-a-circle-outline:before{content:"󰯭"}.mdi-alpha-b:before{content:"󰫯"}.mdi-alpha-b-box:before{content:"󰬉"}.mdi-alpha-b-box-outline:before{content:"󰯮"}.mdi-alpha-b-circle:before{content:"󰯯"}.mdi-alpha-b-circle-outline:before{content:"󰯰"}.mdi-alpha-c:before{content:"󰫰"}.mdi-alpha-c-box:before{content:"󰬊"}.mdi-alpha-c-box-outline:before{content:"󰯱"}.mdi-alpha-c-circle:before{content:"󰯲"}.mdi-alpha-c-circle-outline:before{content:"󰯳"}.mdi-alpha-d:before{content:"󰫱"}.mdi-alpha-d-box:before{content:"󰬋"}.mdi-alpha-d-box-outline:before{content:"󰯴"}.mdi-alpha-d-circle:before{content:"󰯵"}.mdi-alpha-d-circle-outline:before{content:"󰯶"}.mdi-alpha-e:before{content:"󰫲"}.mdi-alpha-e-box:before{content:"󰬌"}.mdi-alpha-e-box-outline:before{content:"󰯷"}.mdi-alpha-e-circle:before{content:"󰯸"}.mdi-alpha-e-circle-outline:before{content:"󰯹"}.mdi-alpha-f:before{content:"󰫳"}.mdi-alpha-f-box:before{content:"󰬍"}.mdi-alpha-f-box-outline:before{content:"󰯺"}.mdi-alpha-f-circle:before{content:"󰯻"}.mdi-alpha-f-circle-outline:before{content:"󰯼"}.mdi-alpha-g:before{content:"󰫴"}.mdi-alpha-g-box:before{content:"󰬎"}.mdi-alpha-g-box-outline:before{content:"󰯽"}.mdi-alpha-g-circle:before{content:"󰯾"}.mdi-alpha-g-circle-outline:before{content:"󰯿"}.mdi-alpha-h:before{content:"󰫵"}.mdi-alpha-h-box:before{content:"󰬏"}.mdi-alpha-h-box-outline:before{content:"󰰀"}.mdi-alpha-h-circle:before{content:"󰰁"}.mdi-alpha-h-circle-outline:before{content:"󰰂"}.mdi-alpha-i:before{content:"󰫶"}.mdi-alpha-i-box:before{content:"󰬐"}.mdi-alpha-i-box-outline:before{content:"󰰃"}.mdi-alpha-i-circle:before{content:"󰰄"}.mdi-alpha-i-circle-outline:before{content:"󰰅"}.mdi-alpha-j:before{content:"󰫷"}.mdi-alpha-j-box:before{content:"󰬑"}.mdi-alpha-j-box-outline:before{content:"󰰆"}.mdi-alpha-j-circle:before{content:"󰰇"}.mdi-alpha-j-circle-outline:before{content:"󰰈"}.mdi-alpha-k:before{content:"󰫸"}.mdi-alpha-k-box:before{content:"󰬒"}.mdi-alpha-k-box-outline:before{content:"󰰉"}.mdi-alpha-k-circle:before{content:"󰰊"}.mdi-alpha-k-circle-outline:before{content:"󰰋"}.mdi-alpha-l:before{content:"󰫹"}.mdi-alpha-l-box:before{content:"󰬓"}.mdi-alpha-l-box-outline:before{content:"󰰌"}.mdi-alpha-l-circle:before{content:"󰰍"}.mdi-alpha-l-circle-outline:before{content:"󰰎"}.mdi-alpha-m:before{content:"󰫺"}.mdi-alpha-m-box:before{content:"󰬔"}.mdi-alpha-m-box-outline:before{content:"󰰏"}.mdi-alpha-m-circle:before{content:"󰰐"}.mdi-alpha-m-circle-outline:before{content:"󰰑"}.mdi-alpha-n:before{content:"󰫻"}.mdi-alpha-n-box:before{content:"󰬕"}.mdi-alpha-n-box-outline:before{content:"󰰒"}.mdi-alpha-n-circle:before{content:"󰰓"}.mdi-alpha-n-circle-outline:before{content:"󰰔"}.mdi-alpha-o:before{content:"󰫼"}.mdi-alpha-o-box:before{content:"󰬖"}.mdi-alpha-o-box-outline:before{content:"󰰕"}.mdi-alpha-o-circle:before{content:"󰰖"}.mdi-alpha-o-circle-outline:before{content:"󰰗"}.mdi-alpha-p:before{content:"󰫽"}.mdi-alpha-p-box:before{content:"󰬗"}.mdi-alpha-p-box-outline:before{content:"󰰘"}.mdi-alpha-p-circle:before{content:"󰰙"}.mdi-alpha-p-circle-outline:before{content:"󰰚"}.mdi-alpha-q:before{content:"󰫾"}.mdi-alpha-q-box:before{content:"󰬘"}.mdi-alpha-q-box-outline:before{content:"󰰛"}.mdi-alpha-q-circle:before{content:"󰰜"}.mdi-alpha-q-circle-outline:before{content:"󰰝"}.mdi-alpha-r:before{content:"󰫿"}.mdi-alpha-r-box:before{content:"󰬙"}.mdi-alpha-r-box-outline:before{content:"󰰞"}.mdi-alpha-r-circle:before{content:"󰰟"}.mdi-alpha-r-circle-outline:before{content:"󰰠"}.mdi-alpha-s:before{content:"󰬀"}.mdi-alpha-s-box:before{content:"󰬚"}.mdi-alpha-s-box-outline:before{content:"󰰡"}.mdi-alpha-s-circle:before{content:"󰰢"}.mdi-alpha-s-circle-outline:before{content:"󰰣"}.mdi-alpha-t:before{content:"󰬁"}.mdi-alpha-t-box:before{content:"󰬛"}.mdi-alpha-t-box-outline:before{content:"󰰤"}.mdi-alpha-t-circle:before{content:"󰰥"}.mdi-alpha-t-circle-outline:before{content:"󰰦"}.mdi-alpha-u:before{content:"󰬂"}.mdi-alpha-u-box:before{content:"󰬜"}.mdi-alpha-u-box-outline:before{content:"󰰧"}.mdi-alpha-u-circle:before{content:"󰰨"}.mdi-alpha-u-circle-outline:before{content:"󰰩"}.mdi-alpha-v:before{content:"󰬃"}.mdi-alpha-v-box:before{content:"󰬝"}.mdi-alpha-v-box-outline:before{content:"󰰪"}.mdi-alpha-v-circle:before{content:"󰰫"}.mdi-alpha-v-circle-outline:before{content:"󰰬"}.mdi-alpha-w:before{content:"󰬄"}.mdi-alpha-w-box:before{content:"󰬞"}.mdi-alpha-w-box-outline:before{content:"󰰭"}.mdi-alpha-w-circle:before{content:"󰰮"}.mdi-alpha-w-circle-outline:before{content:"󰰯"}.mdi-alpha-x:before{content:"󰬅"}.mdi-alpha-x-box:before{content:"󰬟"}.mdi-alpha-x-box-outline:before{content:"󰰰"}.mdi-alpha-x-circle:before{content:"󰰱"}.mdi-alpha-x-circle-outline:before{content:"󰰲"}.mdi-alpha-y:before{content:"󰬆"}.mdi-alpha-y-box:before{content:"󰬠"}.mdi-alpha-y-box-outline:before{content:"󰰳"}.mdi-alpha-y-circle:before{content:"󰰴"}.mdi-alpha-y-circle-outline:before{content:"󰰵"}.mdi-alpha-z:before{content:"󰬇"}.mdi-alpha-z-box:before{content:"󰬡"}.mdi-alpha-z-box-outline:before{content:"󰰶"}.mdi-alpha-z-circle:before{content:"󰰷"}.mdi-alpha-z-circle-outline:before{content:"󰰸"}.mdi-alphabet-aurebesh:before{content:"󱌬"}.mdi-alphabet-cyrillic:before{content:"󱌭"}.mdi-alphabet-greek:before{content:"󱌮"}.mdi-alphabet-latin:before{content:"󱌯"}.mdi-alphabet-piqad:before{content:"󱌰"}.mdi-alphabet-tengwar:before{content:"󱌷"}.mdi-alphabetical:before{content:"󰀬"}.mdi-alphabetical-off:before{content:"󱀌"}.mdi-alphabetical-variant:before{content:"󱀍"}.mdi-alphabetical-variant-off:before{content:"󱀎"}.mdi-altimeter:before{content:"󰗗"}.mdi-ambulance:before{content:"󰀯"}.mdi-ammunition:before{content:"󰳨"}.mdi-ampersand:before{content:"󰪍"}.mdi-amplifier:before{content:"󰀰"}.mdi-amplifier-off:before{content:"󱆵"}.mdi-anchor:before{content:"󰀱"}.mdi-android:before{content:"󰀲"}.mdi-android-studio:before{content:"󰀴"}.mdi-angle-acute:before{content:"󰤷"}.mdi-angle-obtuse:before{content:"󰤸"}.mdi-angle-right:before{content:"󰤹"}.mdi-angular:before{content:"󰚲"}.mdi-angularjs:before{content:"󰚿"}.mdi-animation:before{content:"󰗘"}.mdi-animation-outline:before{content:"󰪏"}.mdi-animation-play:before{content:"󰤺"}.mdi-animation-play-outline:before{content:"󰪐"}.mdi-ansible:before{content:"󱂚"}.mdi-antenna:before{content:"󱄙"}.mdi-anvil:before{content:"󰢛"}.mdi-apache-kafka:before{content:"󱀏"}.mdi-api:before{content:"󱂛"}.mdi-api-off:before{content:"󱉗"}.mdi-apple:before{content:"󰀵"}.mdi-apple-finder:before{content:"󰀶"}.mdi-apple-icloud:before{content:"󰀸"}.mdi-apple-ios:before{content:"󰀷"}.mdi-apple-keyboard-caps:before{content:"󰘲"}.mdi-apple-keyboard-command:before{content:"󰘳"}.mdi-apple-keyboard-control:before{content:"󰘴"}.mdi-apple-keyboard-option:before{content:"󰘵"}.mdi-apple-keyboard-shift:before{content:"󰘶"}.mdi-apple-safari:before{content:"󰀹"}.mdi-application:before{content:"󰣆"}.mdi-application-array:before{content:"󱃵"}.mdi-application-array-outline:before{content:"󱃶"}.mdi-application-braces:before{content:"󱃷"}.mdi-application-braces-outline:before{content:"󱃸"}.mdi-application-brackets:before{content:"󰲋"}.mdi-application-brackets-outline:before{content:"󰲌"}.mdi-application-cog:before{content:"󰙵"}.mdi-application-cog-outline:before{content:"󱕷"}.mdi-application-edit:before{content:"󰂮"}.mdi-application-edit-outline:before{content:"󰘙"}.mdi-application-export:before{content:"󰶭"}.mdi-application-import:before{content:"󰶮"}.mdi-application-outline:before{content:"󰘔"}.mdi-application-parentheses:before{content:"󱃹"}.mdi-application-parentheses-outline:before{content:"󱃺"}.mdi-application-settings:before{content:"󰭠"}.mdi-application-settings-outline:before{content:"󱕕"}.mdi-application-variable:before{content:"󱃻"}.mdi-application-variable-outline:before{content:"󱃼"}.mdi-approximately-equal:before{content:"󰾞"}.mdi-approximately-equal-box:before{content:"󰾟"}.mdi-apps:before{content:"󰀻"}.mdi-apps-box:before{content:"󰵆"}.mdi-arch:before{content:"󰣇"}.mdi-archive:before{content:"󰀼"}.mdi-archive-alert:before{content:"󱓽"}.mdi-archive-alert-outline:before{content:"󱓾"}.mdi-archive-arrow-down:before{content:"󱉙"}.mdi-archive-arrow-down-outline:before{content:"󱉚"}.mdi-archive-arrow-up:before{content:"󱉛"}.mdi-archive-arrow-up-outline:before{content:"󱉜"}.mdi-archive-cancel:before{content:"󱝋"}.mdi-archive-cancel-outline:before{content:"󱝌"}.mdi-archive-check:before{content:"󱝍"}.mdi-archive-check-outline:before{content:"󱝎"}.mdi-archive-clock:before{content:"󱝏"}.mdi-archive-clock-outline:before{content:"󱝐"}.mdi-archive-cog:before{content:"󱝑"}.mdi-archive-cog-outline:before{content:"󱝒"}.mdi-archive-edit:before{content:"󱝓"}.mdi-archive-edit-outline:before{content:"󱝔"}.mdi-archive-eye:before{content:"󱝕"}.mdi-archive-eye-outline:before{content:"󱝖"}.mdi-archive-lock:before{content:"󱝗"}.mdi-archive-lock-open:before{content:"󱝘"}.mdi-archive-lock-open-outline:before{content:"󱝙"}.mdi-archive-lock-outline:before{content:"󱝚"}.mdi-archive-marker:before{content:"󱝛"}.mdi-archive-marker-outline:before{content:"󱝜"}.mdi-archive-minus:before{content:"󱝝"}.mdi-archive-minus-outline:before{content:"󱝞"}.mdi-archive-music:before{content:"󱝟"}.mdi-archive-music-outline:before{content:"󱝠"}.mdi-archive-off:before{content:"󱝡"}.mdi-archive-off-outline:before{content:"󱝢"}.mdi-archive-outline:before{content:"󱈎"}.mdi-archive-plus:before{content:"󱝣"}.mdi-archive-plus-outline:before{content:"󱝤"}.mdi-archive-refresh:before{content:"󱝥"}.mdi-archive-refresh-outline:before{content:"󱝦"}.mdi-archive-remove:before{content:"󱝧"}.mdi-archive-remove-outline:before{content:"󱝨"}.mdi-archive-search:before{content:"󱝩"}.mdi-archive-search-outline:before{content:"󱝪"}.mdi-archive-settings:before{content:"󱝫"}.mdi-archive-settings-outline:before{content:"󱝬"}.mdi-archive-star:before{content:"󱝭"}.mdi-archive-star-outline:before{content:"󱝮"}.mdi-archive-sync:before{content:"󱝯"}.mdi-archive-sync-outline:before{content:"󱝰"}.mdi-arm-flex:before{content:"󰿗"}.mdi-arm-flex-outline:before{content:"󰿖"}.mdi-arrange-bring-forward:before{content:"󰀽"}.mdi-arrange-bring-to-front:before{content:"󰀾"}.mdi-arrange-send-backward:before{content:"󰀿"}.mdi-arrange-send-to-back:before{content:"󰁀"}.mdi-arrow-all:before{content:"󰁁"}.mdi-arrow-bottom-left:before{content:"󰁂"}.mdi-arrow-bottom-left-bold-box:before{content:"󱥤"}.mdi-arrow-bottom-left-bold-box-outline:before{content:"󱥥"}.mdi-arrow-bottom-left-bold-outline:before{content:"󰦷"}.mdi-arrow-bottom-left-thick:before{content:"󰦸"}.mdi-arrow-bottom-left-thin:before{content:"󱦶"}.mdi-arrow-bottom-left-thin-circle-outline:before{content:"󱖖"}.mdi-arrow-bottom-right:before{content:"󰁃"}.mdi-arrow-bottom-right-bold-box:before{content:"󱥦"}.mdi-arrow-bottom-right-bold-box-outline:before{content:"󱥧"}.mdi-arrow-bottom-right-bold-outline:before{content:"󰦹"}.mdi-arrow-bottom-right-thick:before{content:"󰦺"}.mdi-arrow-bottom-right-thin:before{content:"󱦷"}.mdi-arrow-bottom-right-thin-circle-outline:before{content:"󱖕"}.mdi-arrow-collapse:before{content:"󰘕"}.mdi-arrow-collapse-all:before{content:"󰁄"}.mdi-arrow-collapse-down:before{content:"󰞒"}.mdi-arrow-collapse-horizontal:before{content:"󰡌"}.mdi-arrow-collapse-left:before{content:"󰞓"}.mdi-arrow-collapse-right:before{content:"󰞔"}.mdi-arrow-collapse-up:before{content:"󰞕"}.mdi-arrow-collapse-vertical:before{content:"󰡍"}.mdi-arrow-decision:before{content:"󰦻"}.mdi-arrow-decision-auto:before{content:"󰦼"}.mdi-arrow-decision-auto-outline:before{content:"󰦽"}.mdi-arrow-decision-outline:before{content:"󰦾"}.mdi-arrow-down:before{content:"󰁅"}.mdi-arrow-down-bold:before{content:"󰜮"}.mdi-arrow-down-bold-box:before{content:"󰜯"}.mdi-arrow-down-bold-box-outline:before{content:"󰜰"}.mdi-arrow-down-bold-circle:before{content:"󰁇"}.mdi-arrow-down-bold-circle-outline:before{content:"󰁈"}.mdi-arrow-down-bold-hexagon-outline:before{content:"󰁉"}.mdi-arrow-down-bold-outline:before{content:"󰦿"}.mdi-arrow-down-box:before{content:"󰛀"}.mdi-arrow-down-circle:before{content:"󰳛"}.mdi-arrow-down-circle-outline:before{content:"󰳜"}.mdi-arrow-down-drop-circle:before{content:"󰁊"}.mdi-arrow-down-drop-circle-outline:before{content:"󰁋"}.mdi-arrow-down-left:before{content:"󱞡"}.mdi-arrow-down-left-bold:before{content:"󱞢"}.mdi-arrow-down-right:before{content:"󱞣"}.mdi-arrow-down-right-bold:before{content:"󱞤"}.mdi-arrow-down-thick:before{content:"󰁆"}.mdi-arrow-down-thin:before{content:"󱦳"}.mdi-arrow-down-thin-circle-outline:before{content:"󱖙"}.mdi-arrow-expand:before{content:"󰘖"}.mdi-arrow-expand-all:before{content:"󰁌"}.mdi-arrow-expand-down:before{content:"󰞖"}.mdi-arrow-expand-horizontal:before{content:"󰡎"}.mdi-arrow-expand-left:before{content:"󰞗"}.mdi-arrow-expand-right:before{content:"󰞘"}.mdi-arrow-expand-up:before{content:"󰞙"}.mdi-arrow-expand-vertical:before{content:"󰡏"}.mdi-arrow-horizontal-lock:before{content:"󱅛"}.mdi-arrow-left:before{content:"󰁍"}.mdi-arrow-left-bold:before{content:"󰜱"}.mdi-arrow-left-bold-box:before{content:"󰜲"}.mdi-arrow-left-bold-box-outline:before{content:"󰜳"}.mdi-arrow-left-bold-circle:before{content:"󰁏"}.mdi-arrow-left-bold-circle-outline:before{content:"󰁐"}.mdi-arrow-left-bold-hexagon-outline:before{content:"󰁑"}.mdi-arrow-left-bold-outline:before{content:"󰧀"}.mdi-arrow-left-bottom:before{content:"󱞥"}.mdi-arrow-left-bottom-bold:before{content:"󱞦"}.mdi-arrow-left-box:before{content:"󰛁"}.mdi-arrow-left-circle:before{content:"󰳝"}.mdi-arrow-left-circle-outline:before{content:"󰳞"}.mdi-arrow-left-drop-circle:before{content:"󰁒"}.mdi-arrow-left-drop-circle-outline:before{content:"󰁓"}.mdi-arrow-left-right:before{content:"󰹳"}.mdi-arrow-left-right-bold:before{content:"󰹴"}.mdi-arrow-left-right-bold-outline:before{content:"󰧁"}.mdi-arrow-left-thick:before{content:"󰁎"}.mdi-arrow-left-thin:before{content:"󱦱"}.mdi-arrow-left-thin-circle-outline:before{content:"󱖚"}.mdi-arrow-left-top:before{content:"󱞧"}.mdi-arrow-left-top-bold:before{content:"󱞨"}.mdi-arrow-projectile:before{content:"󱡀"}.mdi-arrow-projectile-multiple:before{content:"󱠿"}.mdi-arrow-right:before{content:"󰁔"}.mdi-arrow-right-bold:before{content:"󰜴"}.mdi-arrow-right-bold-box:before{content:"󰜵"}.mdi-arrow-right-bold-box-outline:before{content:"󰜶"}.mdi-arrow-right-bold-circle:before{content:"󰁖"}.mdi-arrow-right-bold-circle-outline:before{content:"󰁗"}.mdi-arrow-right-bold-hexagon-outline:before{content:"󰁘"}.mdi-arrow-right-bold-outline:before{content:"󰧂"}.mdi-arrow-right-bottom:before{content:"󱞩"}.mdi-arrow-right-bottom-bold:before{content:"󱞪"}.mdi-arrow-right-box:before{content:"󰛂"}.mdi-arrow-right-circle:before{content:"󰳟"}.mdi-arrow-right-circle-outline:before{content:"󰳠"}.mdi-arrow-right-drop-circle:before{content:"󰁙"}.mdi-arrow-right-drop-circle-outline:before{content:"󰁚"}.mdi-arrow-right-thick:before{content:"󰁕"}.mdi-arrow-right-thin:before{content:"󱦰"}.mdi-arrow-right-thin-circle-outline:before{content:"󱖘"}.mdi-arrow-right-top:before{content:"󱞫"}.mdi-arrow-right-top-bold:before{content:"󱞬"}.mdi-arrow-split-horizontal:before{content:"󰤻"}.mdi-arrow-split-vertical:before{content:"󰤼"}.mdi-arrow-top-left:before{content:"󰁛"}.mdi-arrow-top-left-bold-box:before{content:"󱥨"}.mdi-arrow-top-left-bold-box-outline:before{content:"󱥩"}.mdi-arrow-top-left-bold-outline:before{content:"󰧃"}.mdi-arrow-top-left-bottom-right:before{content:"󰹵"}.mdi-arrow-top-left-bottom-right-bold:before{content:"󰹶"}.mdi-arrow-top-left-thick:before{content:"󰧄"}.mdi-arrow-top-left-thin:before{content:"󱦵"}.mdi-arrow-top-left-thin-circle-outline:before{content:"󱖓"}.mdi-arrow-top-right:before{content:"󰁜"}.mdi-arrow-top-right-bold-box:before{content:"󱥪"}.mdi-arrow-top-right-bold-box-outline:before{content:"󱥫"}.mdi-arrow-top-right-bold-outline:before{content:"󰧅"}.mdi-arrow-top-right-bottom-left:before{content:"󰹷"}.mdi-arrow-top-right-bottom-left-bold:before{content:"󰹸"}.mdi-arrow-top-right-thick:before{content:"󰧆"}.mdi-arrow-top-right-thin:before{content:"󱦴"}.mdi-arrow-top-right-thin-circle-outline:before{content:"󱖔"}.mdi-arrow-u-down-left:before{content:"󱞭"}.mdi-arrow-u-down-left-bold:before{content:"󱞮"}.mdi-arrow-u-down-right:before{content:"󱞯"}.mdi-arrow-u-down-right-bold:before{content:"󱞰"}.mdi-arrow-u-left-bottom:before{content:"󱞱"}.mdi-arrow-u-left-bottom-bold:before{content:"󱞲"}.mdi-arrow-u-left-top:before{content:"󱞳"}.mdi-arrow-u-left-top-bold:before{content:"󱞴"}.mdi-arrow-u-right-bottom:before{content:"󱞵"}.mdi-arrow-u-right-bottom-bold:before{content:"󱞶"}.mdi-arrow-u-right-top:before{content:"󱞷"}.mdi-arrow-u-right-top-bold:before{content:"󱞸"}.mdi-arrow-u-up-left:before{content:"󱞹"}.mdi-arrow-u-up-left-bold:before{content:"󱞺"}.mdi-arrow-u-up-right:before{content:"󱞻"}.mdi-arrow-u-up-right-bold:before{content:"󱞼"}.mdi-arrow-up:before{content:"󰁝"}.mdi-arrow-up-bold:before{content:"󰜷"}.mdi-arrow-up-bold-box:before{content:"󰜸"}.mdi-arrow-up-bold-box-outline:before{content:"󰜹"}.mdi-arrow-up-bold-circle:before{content:"󰁟"}.mdi-arrow-up-bold-circle-outline:before{content:"󰁠"}.mdi-arrow-up-bold-hexagon-outline:before{content:"󰁡"}.mdi-arrow-up-bold-outline:before{content:"󰧇"}.mdi-arrow-up-box:before{content:"󰛃"}.mdi-arrow-up-circle:before{content:"󰳡"}.mdi-arrow-up-circle-outline:before{content:"󰳢"}.mdi-arrow-up-down:before{content:"󰹹"}.mdi-arrow-up-down-bold:before{content:"󰹺"}.mdi-arrow-up-down-bold-outline:before{content:"󰧈"}.mdi-arrow-up-drop-circle:before{content:"󰁢"}.mdi-arrow-up-drop-circle-outline:before{content:"󰁣"}.mdi-arrow-up-left:before{content:"󱞽"}.mdi-arrow-up-left-bold:before{content:"󱞾"}.mdi-arrow-up-right:before{content:"󱞿"}.mdi-arrow-up-right-bold:before{content:"󱟀"}.mdi-arrow-up-thick:before{content:"󰁞"}.mdi-arrow-up-thin:before{content:"󱦲"}.mdi-arrow-up-thin-circle-outline:before{content:"󱖗"}.mdi-arrow-vertical-lock:before{content:"󱅜"}.mdi-artboard:before{content:"󱮚"}.mdi-artstation:before{content:"󰭛"}.mdi-aspect-ratio:before{content:"󰨤"}.mdi-assistant:before{content:"󰁤"}.mdi-asterisk:before{content:"󰛄"}.mdi-asterisk-circle-outline:before{content:"󱨧"}.mdi-at:before{content:"󰁥"}.mdi-atlassian:before{content:"󰠄"}.mdi-atm:before{content:"󰵇"}.mdi-atom:before{content:"󰝨"}.mdi-atom-variant:before{content:"󰹻"}.mdi-attachment:before{content:"󰁦"}.mdi-attachment-check:before{content:"󱫁"}.mdi-attachment-lock:before{content:"󱧄"}.mdi-attachment-minus:before{content:"󱫂"}.mdi-attachment-off:before{content:"󱫃"}.mdi-attachment-plus:before{content:"󱫄"}.mdi-attachment-remove:before{content:"󱫅"}.mdi-atv:before{content:"󱭰"}.mdi-audio-input-rca:before{content:"󱡫"}.mdi-audio-input-stereo-minijack:before{content:"󱡬"}.mdi-audio-input-xlr:before{content:"󱡭"}.mdi-audio-video:before{content:"󰤽"}.mdi-audio-video-off:before{content:"󱆶"}.mdi-augmented-reality:before{content:"󰡐"}.mdi-aurora:before{content:"󱮹"}.mdi-auto-download:before{content:"󱍾"}.mdi-auto-fix:before{content:"󰁨"}.mdi-auto-mode:before{content:"󱰠"}.mdi-auto-upload:before{content:"󰁩"}.mdi-autorenew:before{content:"󰁪"}.mdi-autorenew-off:before{content:"󱧧"}.mdi-av-timer:before{content:"󰁫"}.mdi-awning:before{content:"󱮇"}.mdi-awning-outline:before{content:"󱮈"}.mdi-aws:before{content:"󰸏"}.mdi-axe:before{content:"󰣈"}.mdi-axe-battle:before{content:"󱡂"}.mdi-axis:before{content:"󰵈"}.mdi-axis-arrow:before{content:"󰵉"}.mdi-axis-arrow-info:before{content:"󱐎"}.mdi-axis-arrow-lock:before{content:"󰵊"}.mdi-axis-lock:before{content:"󰵋"}.mdi-axis-x-arrow:before{content:"󰵌"}.mdi-axis-x-arrow-lock:before{content:"󰵍"}.mdi-axis-x-rotate-clockwise:before{content:"󰵎"}.mdi-axis-x-rotate-counterclockwise:before{content:"󰵏"}.mdi-axis-x-y-arrow-lock:before{content:"󰵐"}.mdi-axis-y-arrow:before{content:"󰵑"}.mdi-axis-y-arrow-lock:before{content:"󰵒"}.mdi-axis-y-rotate-clockwise:before{content:"󰵓"}.mdi-axis-y-rotate-counterclockwise:before{content:"󰵔"}.mdi-axis-z-arrow:before{content:"󰵕"}.mdi-axis-z-arrow-lock:before{content:"󰵖"}.mdi-axis-z-rotate-clockwise:before{content:"󰵗"}.mdi-axis-z-rotate-counterclockwise:before{content:"󰵘"}.mdi-babel:before{content:"󰨥"}.mdi-baby:before{content:"󰁬"}.mdi-baby-bottle:before{content:"󰼹"}.mdi-baby-bottle-outline:before{content:"󰼺"}.mdi-baby-buggy:before{content:"󱏠"}.mdi-baby-buggy-off:before{content:"󱫳"}.mdi-baby-carriage:before{content:"󰚏"}.mdi-baby-carriage-off:before{content:"󰾠"}.mdi-baby-face:before{content:"󰹼"}.mdi-baby-face-outline:before{content:"󰹽"}.mdi-backburger:before{content:"󰁭"}.mdi-backspace:before{content:"󰁮"}.mdi-backspace-outline:before{content:"󰭜"}.mdi-backspace-reverse:before{content:"󰹾"}.mdi-backspace-reverse-outline:before{content:"󰹿"}.mdi-backup-restore:before{content:"󰁯"}.mdi-bacteria:before{content:"󰻕"}.mdi-bacteria-outline:before{content:"󰻖"}.mdi-badge-account:before{content:"󰶧"}.mdi-badge-account-alert:before{content:"󰶨"}.mdi-badge-account-alert-outline:before{content:"󰶩"}.mdi-badge-account-horizontal:before{content:"󰸍"}.mdi-badge-account-horizontal-outline:before{content:"󰸎"}.mdi-badge-account-outline:before{content:"󰶪"}.mdi-badminton:before{content:"󰡑"}.mdi-bag-carry-on:before{content:"󰼻"}.mdi-bag-carry-on-check:before{content:"󰵥"}.mdi-bag-carry-on-off:before{content:"󰼼"}.mdi-bag-checked:before{content:"󰼽"}.mdi-bag-personal:before{content:"󰸐"}.mdi-bag-personal-off:before{content:"󰸑"}.mdi-bag-personal-off-outline:before{content:"󰸒"}.mdi-bag-personal-outline:before{content:"󰸓"}.mdi-bag-personal-tag:before{content:"󱬌"}.mdi-bag-personal-tag-outline:before{content:"󱬍"}.mdi-bag-suitcase:before{content:"󱖋"}.mdi-bag-suitcase-off:before{content:"󱖍"}.mdi-bag-suitcase-off-outline:before{content:"󱖎"}.mdi-bag-suitcase-outline:before{content:"󱖌"}.mdi-baguette:before{content:"󰼾"}.mdi-balcony:before{content:"󱠗"}.mdi-balloon:before{content:"󰨦"}.mdi-ballot:before{content:"󰧉"}.mdi-ballot-outline:before{content:"󰧊"}.mdi-ballot-recount:before{content:"󰰹"}.mdi-ballot-recount-outline:before{content:"󰰺"}.mdi-bandage:before{content:"󰶯"}.mdi-bank:before{content:"󰁰"}.mdi-bank-check:before{content:"󱙕"}.mdi-bank-circle:before{content:"󱰃"}.mdi-bank-circle-outline:before{content:"󱰄"}.mdi-bank-minus:before{content:"󰶰"}.mdi-bank-off:before{content:"󱙖"}.mdi-bank-off-outline:before{content:"󱙗"}.mdi-bank-outline:before{content:"󰺀"}.mdi-bank-plus:before{content:"󰶱"}.mdi-bank-remove:before{content:"󰶲"}.mdi-bank-transfer:before{content:"󰨧"}.mdi-bank-transfer-in:before{content:"󰨨"}.mdi-bank-transfer-out:before{content:"󰨩"}.mdi-barcode:before{content:"󰁱"}.mdi-barcode-off:before{content:"󱈶"}.mdi-barcode-scan:before{content:"󰁲"}.mdi-barley:before{content:"󰁳"}.mdi-barley-off:before{content:"󰭝"}.mdi-barn:before{content:"󰭞"}.mdi-barrel:before{content:"󰁴"}.mdi-barrel-outline:before{content:"󱨨"}.mdi-baseball:before{content:"󰡒"}.mdi-baseball-bat:before{content:"󰡓"}.mdi-baseball-diamond:before{content:"󱗬"}.mdi-baseball-diamond-outline:before{content:"󱗭"}.mdi-baseball-outline:before{content:"󱱚"}.mdi-bash:before{content:"󱆃"}.mdi-basket:before{content:"󰁶"}.mdi-basket-check:before{content:"󱣥"}.mdi-basket-check-outline:before{content:"󱣦"}.mdi-basket-fill:before{content:"󰁷"}.mdi-basket-minus:before{content:"󱔣"}.mdi-basket-minus-outline:before{content:"󱔤"}.mdi-basket-off:before{content:"󱔥"}.mdi-basket-off-outline:before{content:"󱔦"}.mdi-basket-outline:before{content:"󱆁"}.mdi-basket-plus:before{content:"󱔧"}.mdi-basket-plus-outline:before{content:"󱔨"}.mdi-basket-remove:before{content:"󱔩"}.mdi-basket-remove-outline:before{content:"󱔪"}.mdi-basket-unfill:before{content:"󰁸"}.mdi-basketball:before{content:"󰠆"}.mdi-basketball-hoop:before{content:"󰰻"}.mdi-basketball-hoop-outline:before{content:"󰰼"}.mdi-bat:before{content:"󰭟"}.mdi-bathtub:before{content:"󱠘"}.mdi-bathtub-outline:before{content:"󱠙"}.mdi-battery:before{content:"󰁹"}.mdi-battery-10:before{content:"󰁺"}.mdi-battery-10-bluetooth:before{content:"󰤾"}.mdi-battery-20:before{content:"󰁻"}.mdi-battery-20-bluetooth:before{content:"󰤿"}.mdi-battery-30:before{content:"󰁼"}.mdi-battery-30-bluetooth:before{content:"󰥀"}.mdi-battery-40:before{content:"󰁽"}.mdi-battery-40-bluetooth:before{content:"󰥁"}.mdi-battery-50:before{content:"󰁾"}.mdi-battery-50-bluetooth:before{content:"󰥂"}.mdi-battery-60:before{content:"󰁿"}.mdi-battery-60-bluetooth:before{content:"󰥃"}.mdi-battery-70:before{content:"󰂀"}.mdi-battery-70-bluetooth:before{content:"󰥄"}.mdi-battery-80:before{content:"󰂁"}.mdi-battery-80-bluetooth:before{content:"󰥅"}.mdi-battery-90:before{content:"󰂂"}.mdi-battery-90-bluetooth:before{content:"󰥆"}.mdi-battery-alert:before{content:"󰂃"}.mdi-battery-alert-bluetooth:before{content:"󰥇"}.mdi-battery-alert-variant:before{content:"󱃌"}.mdi-battery-alert-variant-outline:before{content:"󱃍"}.mdi-battery-arrow-down:before{content:"󱟞"}.mdi-battery-arrow-down-outline:before{content:"󱟟"}.mdi-battery-arrow-up:before{content:"󱟠"}.mdi-battery-arrow-up-outline:before{content:"󱟡"}.mdi-battery-bluetooth:before{content:"󰥈"}.mdi-battery-bluetooth-variant:before{content:"󰥉"}.mdi-battery-charging:before{content:"󰂄"}.mdi-battery-charging-10:before{content:"󰢜"}.mdi-battery-charging-100:before{content:"󰂅"}.mdi-battery-charging-20:before{content:"󰂆"}.mdi-battery-charging-30:before{content:"󰂇"}.mdi-battery-charging-40:before{content:"󰂈"}.mdi-battery-charging-50:before{content:"󰢝"}.mdi-battery-charging-60:before{content:"󰂉"}.mdi-battery-charging-70:before{content:"󰢞"}.mdi-battery-charging-80:before{content:"󰂊"}.mdi-battery-charging-90:before{content:"󰂋"}.mdi-battery-charging-high:before{content:"󱊦"}.mdi-battery-charging-low:before{content:"󱊤"}.mdi-battery-charging-medium:before{content:"󱊥"}.mdi-battery-charging-outline:before{content:"󰢟"}.mdi-battery-charging-wireless:before{content:"󰠇"}.mdi-battery-charging-wireless-10:before{content:"󰠈"}.mdi-battery-charging-wireless-20:before{content:"󰠉"}.mdi-battery-charging-wireless-30:before{content:"󰠊"}.mdi-battery-charging-wireless-40:before{content:"󰠋"}.mdi-battery-charging-wireless-50:before{content:"󰠌"}.mdi-battery-charging-wireless-60:before{content:"󰠍"}.mdi-battery-charging-wireless-70:before{content:"󰠎"}.mdi-battery-charging-wireless-80:before{content:"󰠏"}.mdi-battery-charging-wireless-90:before{content:"󰠐"}.mdi-battery-charging-wireless-alert:before{content:"󰠑"}.mdi-battery-charging-wireless-outline:before{content:"󰠒"}.mdi-battery-check:before{content:"󱟢"}.mdi-battery-check-outline:before{content:"󱟣"}.mdi-battery-clock:before{content:"󱧥"}.mdi-battery-clock-outline:before{content:"󱧦"}.mdi-battery-heart:before{content:"󱈏"}.mdi-battery-heart-outline:before{content:"󱈐"}.mdi-battery-heart-variant:before{content:"󱈑"}.mdi-battery-high:before{content:"󱊣"}.mdi-battery-lock:before{content:"󱞜"}.mdi-battery-lock-open:before{content:"󱞝"}.mdi-battery-low:before{content:"󱊡"}.mdi-battery-medium:before{content:"󱊢"}.mdi-battery-minus:before{content:"󱟤"}.mdi-battery-minus-outline:before{content:"󱟥"}.mdi-battery-minus-variant:before{content:"󰂌"}.mdi-battery-negative:before{content:"󰂍"}.mdi-battery-off:before{content:"󱉝"}.mdi-battery-off-outline:before{content:"󱉞"}.mdi-battery-outline:before{content:"󰂎"}.mdi-battery-plus:before{content:"󱟦"}.mdi-battery-plus-outline:before{content:"󱟧"}.mdi-battery-plus-variant:before{content:"󰂏"}.mdi-battery-positive:before{content:"󰂐"}.mdi-battery-remove:before{content:"󱟨"}.mdi-battery-remove-outline:before{content:"󱟩"}.mdi-battery-sync:before{content:"󱠴"}.mdi-battery-sync-outline:before{content:"󱠵"}.mdi-battery-unknown:before{content:"󰂑"}.mdi-battery-unknown-bluetooth:before{content:"󰥊"}.mdi-beach:before{content:"󰂒"}.mdi-beaker:before{content:"󰳪"}.mdi-beaker-alert:before{content:"󱈩"}.mdi-beaker-alert-outline:before{content:"󱈪"}.mdi-beaker-check:before{content:"󱈫"}.mdi-beaker-check-outline:before{content:"󱈬"}.mdi-beaker-minus:before{content:"󱈭"}.mdi-beaker-minus-outline:before{content:"󱈮"}.mdi-beaker-outline:before{content:"󰚐"}.mdi-beaker-plus:before{content:"󱈯"}.mdi-beaker-plus-outline:before{content:"󱈰"}.mdi-beaker-question:before{content:"󱈱"}.mdi-beaker-question-outline:before{content:"󱈲"}.mdi-beaker-remove:before{content:"󱈳"}.mdi-beaker-remove-outline:before{content:"󱈴"}.mdi-bed:before{content:"󰋣"}.mdi-bed-clock:before{content:"󱮔"}.mdi-bed-double:before{content:"󰿔"}.mdi-bed-double-outline:before{content:"󰿓"}.mdi-bed-empty:before{content:"󰢠"}.mdi-bed-king:before{content:"󰿒"}.mdi-bed-king-outline:before{content:"󰿑"}.mdi-bed-outline:before{content:"󰂙"}.mdi-bed-queen:before{content:"󰿐"}.mdi-bed-queen-outline:before{content:"󰿛"}.mdi-bed-single:before{content:"󱁭"}.mdi-bed-single-outline:before{content:"󱁮"}.mdi-bee:before{content:"󰾡"}.mdi-bee-flower:before{content:"󰾢"}.mdi-beehive-off-outline:before{content:"󱏭"}.mdi-beehive-outline:before{content:"󱃎"}.mdi-beekeeper:before{content:"󱓢"}.mdi-beer:before{content:"󰂘"}.mdi-beer-outline:before{content:"󱌌"}.mdi-bell:before{content:"󰂚"}.mdi-bell-alert:before{content:"󰵙"}.mdi-bell-alert-outline:before{content:"󰺁"}.mdi-bell-badge:before{content:"󱅫"}.mdi-bell-badge-outline:before{content:"󰅸"}.mdi-bell-cancel:before{content:"󱏧"}.mdi-bell-cancel-outline:before{content:"󱏨"}.mdi-bell-check:before{content:"󱇥"}.mdi-bell-check-outline:before{content:"󱇦"}.mdi-bell-circle:before{content:"󰵚"}.mdi-bell-circle-outline:before{content:"󰵛"}.mdi-bell-cog:before{content:"󱨩"}.mdi-bell-cog-outline:before{content:"󱨪"}.mdi-bell-minus:before{content:"󱏩"}.mdi-bell-minus-outline:before{content:"󱏪"}.mdi-bell-off:before{content:"󰂛"}.mdi-bell-off-outline:before{content:"󰪑"}.mdi-bell-outline:before{content:"󰂜"}.mdi-bell-plus:before{content:"󰂝"}.mdi-bell-plus-outline:before{content:"󰪒"}.mdi-bell-remove:before{content:"󱏫"}.mdi-bell-remove-outline:before{content:"󱏬"}.mdi-bell-ring:before{content:"󰂞"}.mdi-bell-ring-outline:before{content:"󰂟"}.mdi-bell-sleep:before{content:"󰂠"}.mdi-bell-sleep-outline:before{content:"󰪓"}.mdi-bench:before{content:"󱰡"}.mdi-bench-back:before{content:"󱰢"}.mdi-beta:before{content:"󰂡"}.mdi-betamax:before{content:"󰧋"}.mdi-biathlon:before{content:"󰸔"}.mdi-bicycle:before{content:"󱂜"}.mdi-bicycle-basket:before{content:"󱈵"}.mdi-bicycle-cargo:before{content:"󱢜"}.mdi-bicycle-electric:before{content:"󱖴"}.mdi-bicycle-penny-farthing:before{content:"󱗩"}.mdi-bike:before{content:"󰂣"}.mdi-bike-fast:before{content:"󱄟"}.mdi-bike-pedal:before{content:"󱰣"}.mdi-bike-pedal-clipless:before{content:"󱰤"}.mdi-bike-pedal-mountain:before{content:"󱰥"}.mdi-billboard:before{content:"󱀐"}.mdi-billiards:before{content:"󰭡"}.mdi-billiards-rack:before{content:"󰭢"}.mdi-binoculars:before{content:"󰂥"}.mdi-bio:before{content:"󰂦"}.mdi-biohazard:before{content:"󰂧"}.mdi-bird:before{content:"󱗆"}.mdi-bitbucket:before{content:"󰂨"}.mdi-bitcoin:before{content:"󰠓"}.mdi-black-mesa:before{content:"󰂩"}.mdi-blender:before{content:"󰳫"}.mdi-blender-outline:before{content:"󱠚"}.mdi-blender-software:before{content:"󰂫"}.mdi-blinds:before{content:"󰂬"}.mdi-blinds-horizontal:before{content:"󱨫"}.mdi-blinds-horizontal-closed:before{content:"󱨬"}.mdi-blinds-open:before{content:"󱀑"}.mdi-blinds-vertical:before{content:"󱨭"}.mdi-blinds-vertical-closed:before{content:"󱨮"}.mdi-block-helper:before{content:"󰂭"}.mdi-blood-bag:before{content:"󰳬"}.mdi-bluetooth:before{content:"󰂯"}.mdi-bluetooth-audio:before{content:"󰂰"}.mdi-bluetooth-connect:before{content:"󰂱"}.mdi-bluetooth-off:before{content:"󰂲"}.mdi-bluetooth-settings:before{content:"󰂳"}.mdi-bluetooth-transfer:before{content:"󰂴"}.mdi-blur:before{content:"󰂵"}.mdi-blur-linear:before{content:"󰂶"}.mdi-blur-off:before{content:"󰂷"}.mdi-blur-radial:before{content:"󰂸"}.mdi-bolt:before{content:"󰶳"}.mdi-bomb:before{content:"󰚑"}.mdi-bomb-off:before{content:"󰛅"}.mdi-bone:before{content:"󰂹"}.mdi-bone-off:before{content:"󱧠"}.mdi-book:before{content:"󰂺"}.mdi-book-account:before{content:"󱎭"}.mdi-book-account-outline:before{content:"󱎮"}.mdi-book-alert:before{content:"󱙼"}.mdi-book-alert-outline:before{content:"󱙽"}.mdi-book-alphabet:before{content:"󰘝"}.mdi-book-arrow-down:before{content:"󱙾"}.mdi-book-arrow-down-outline:before{content:"󱙿"}.mdi-book-arrow-left:before{content:"󱚀"}.mdi-book-arrow-left-outline:before{content:"󱚁"}.mdi-book-arrow-right:before{content:"󱚂"}.mdi-book-arrow-right-outline:before{content:"󱚃"}.mdi-book-arrow-up:before{content:"󱚄"}.mdi-book-arrow-up-outline:before{content:"󱚅"}.mdi-book-cancel:before{content:"󱚆"}.mdi-book-cancel-outline:before{content:"󱚇"}.mdi-book-check:before{content:"󱓳"}.mdi-book-check-outline:before{content:"󱓴"}.mdi-book-clock:before{content:"󱚈"}.mdi-book-clock-outline:before{content:"󱚉"}.mdi-book-cog:before{content:"󱚊"}.mdi-book-cog-outline:before{content:"󱚋"}.mdi-book-cross:before{content:"󰂢"}.mdi-book-edit:before{content:"󱚌"}.mdi-book-edit-outline:before{content:"󱚍"}.mdi-book-education:before{content:"󱛉"}.mdi-book-education-outline:before{content:"󱛊"}.mdi-book-heart:before{content:"󱨝"}.mdi-book-heart-outline:before{content:"󱨞"}.mdi-book-information-variant:before{content:"󱁯"}.mdi-book-lock:before{content:"󰞚"}.mdi-book-lock-open:before{content:"󰞛"}.mdi-book-lock-open-outline:before{content:"󱚎"}.mdi-book-lock-outline:before{content:"󱚏"}.mdi-book-marker:before{content:"󱚐"}.mdi-book-marker-outline:before{content:"󱚑"}.mdi-book-minus:before{content:"󰗙"}.mdi-book-minus-multiple:before{content:"󰪔"}.mdi-book-minus-multiple-outline:before{content:"󰤋"}.mdi-book-minus-outline:before{content:"󱚒"}.mdi-book-multiple:before{content:"󰂻"}.mdi-book-multiple-outline:before{content:"󰐶"}.mdi-book-music:before{content:"󰁧"}.mdi-book-music-outline:before{content:"󱚓"}.mdi-book-off:before{content:"󱚔"}.mdi-book-off-outline:before{content:"󱚕"}.mdi-book-open:before{content:"󰂽"}.mdi-book-open-blank-variant:before{content:"󰂾"}.mdi-book-open-outline:before{content:"󰭣"}.mdi-book-open-page-variant:before{content:"󰗚"}.mdi-book-open-page-variant-outline:before{content:"󱗖"}.mdi-book-open-variant:before{content:"󱓷"}.mdi-book-outline:before{content:"󰭤"}.mdi-book-play:before{content:"󰺂"}.mdi-book-play-outline:before{content:"󰺃"}.mdi-book-plus:before{content:"󰗛"}.mdi-book-plus-multiple:before{content:"󰪕"}.mdi-book-plus-multiple-outline:before{content:"󰫞"}.mdi-book-plus-outline:before{content:"󱚖"}.mdi-book-refresh:before{content:"󱚗"}.mdi-book-refresh-outline:before{content:"󱚘"}.mdi-book-remove:before{content:"󰪗"}.mdi-book-remove-multiple:before{content:"󰪖"}.mdi-book-remove-multiple-outline:before{content:"󰓊"}.mdi-book-remove-outline:before{content:"󱚙"}.mdi-book-search:before{content:"󰺄"}.mdi-book-search-outline:before{content:"󰺅"}.mdi-book-settings:before{content:"󱚚"}.mdi-book-settings-outline:before{content:"󱚛"}.mdi-book-sync:before{content:"󱚜"}.mdi-book-sync-outline:before{content:"󱛈"}.mdi-book-variant:before{content:"󰂿"}.mdi-bookmark:before{content:"󰃀"}.mdi-bookmark-box:before{content:"󱭵"}.mdi-bookmark-box-multiple:before{content:"󱥬"}.mdi-bookmark-box-multiple-outline:before{content:"󱥭"}.mdi-bookmark-box-outline:before{content:"󱭶"}.mdi-bookmark-check:before{content:"󰃁"}.mdi-bookmark-check-outline:before{content:"󱍻"}.mdi-bookmark-minus:before{content:"󰧌"}.mdi-bookmark-minus-outline:before{content:"󰧍"}.mdi-bookmark-multiple:before{content:"󰸕"}.mdi-bookmark-multiple-outline:before{content:"󰸖"}.mdi-bookmark-music:before{content:"󰃂"}.mdi-bookmark-music-outline:before{content:"󱍹"}.mdi-bookmark-off:before{content:"󰧎"}.mdi-bookmark-off-outline:before{content:"󰧏"}.mdi-bookmark-outline:before{content:"󰃃"}.mdi-bookmark-plus:before{content:"󰃅"}.mdi-bookmark-plus-outline:before{content:"󰃄"}.mdi-bookmark-remove:before{content:"󰃆"}.mdi-bookmark-remove-outline:before{content:"󱍺"}.mdi-bookshelf:before{content:"󱉟"}.mdi-boom-gate:before{content:"󰺆"}.mdi-boom-gate-alert:before{content:"󰺇"}.mdi-boom-gate-alert-outline:before{content:"󰺈"}.mdi-boom-gate-arrow-down:before{content:"󰺉"}.mdi-boom-gate-arrow-down-outline:before{content:"󰺊"}.mdi-boom-gate-arrow-up:before{content:"󰺌"}.mdi-boom-gate-arrow-up-outline:before{content:"󰺍"}.mdi-boom-gate-outline:before{content:"󰺋"}.mdi-boom-gate-up:before{content:"󱟹"}.mdi-boom-gate-up-outline:before{content:"󱟺"}.mdi-boombox:before{content:"󰗜"}.mdi-boomerang:before{content:"󱃏"}.mdi-bootstrap:before{content:"󰛆"}.mdi-border-all:before{content:"󰃇"}.mdi-border-all-variant:before{content:"󰢡"}.mdi-border-bottom:before{content:"󰃈"}.mdi-border-bottom-variant:before{content:"󰢢"}.mdi-border-color:before{content:"󰃉"}.mdi-border-horizontal:before{content:"󰃊"}.mdi-border-inside:before{content:"󰃋"}.mdi-border-left:before{content:"󰃌"}.mdi-border-left-variant:before{content:"󰢣"}.mdi-border-none:before{content:"󰃍"}.mdi-border-none-variant:before{content:"󰢤"}.mdi-border-outside:before{content:"󰃎"}.mdi-border-radius:before{content:"󱫴"}.mdi-border-right:before{content:"󰃏"}.mdi-border-right-variant:before{content:"󰢥"}.mdi-border-style:before{content:"󰃐"}.mdi-border-top:before{content:"󰃑"}.mdi-border-top-variant:before{content:"󰢦"}.mdi-border-vertical:before{content:"󰃒"}.mdi-bottle-soda:before{content:"󱁰"}.mdi-bottle-soda-classic:before{content:"󱁱"}.mdi-bottle-soda-classic-outline:before{content:"󱍣"}.mdi-bottle-soda-outline:before{content:"󱁲"}.mdi-bottle-tonic:before{content:"󱄮"}.mdi-bottle-tonic-outline:before{content:"󱄯"}.mdi-bottle-tonic-plus:before{content:"󱄰"}.mdi-bottle-tonic-plus-outline:before{content:"󱄱"}.mdi-bottle-tonic-skull:before{content:"󱄲"}.mdi-bottle-tonic-skull-outline:before{content:"󱄳"}.mdi-bottle-wine:before{content:"󰡔"}.mdi-bottle-wine-outline:before{content:"󱌐"}.mdi-bow-arrow:before{content:"󱡁"}.mdi-bow-tie:before{content:"󰙸"}.mdi-bowl:before{content:"󰊎"}.mdi-bowl-mix:before{content:"󰘗"}.mdi-bowl-mix-outline:before{content:"󰋤"}.mdi-bowl-outline:before{content:"󰊩"}.mdi-bowling:before{content:"󰃓"}.mdi-box:before{content:"󰃔"}.mdi-box-cutter:before{content:"󰃕"}.mdi-box-cutter-off:before{content:"󰭊"}.mdi-box-shadow:before{content:"󰘷"}.mdi-boxing-glove:before{content:"󰭥"}.mdi-braille:before{content:"󰧐"}.mdi-brain:before{content:"󰧑"}.mdi-bread-slice:before{content:"󰳮"}.mdi-bread-slice-outline:before{content:"󰳯"}.mdi-bridge:before{content:"󰘘"}.mdi-briefcase:before{content:"󰃖"}.mdi-briefcase-account:before{content:"󰳰"}.mdi-briefcase-account-outline:before{content:"󰳱"}.mdi-briefcase-arrow-left-right:before{content:"󱪍"}.mdi-briefcase-arrow-left-right-outline:before{content:"󱪎"}.mdi-briefcase-arrow-up-down:before{content:"󱪏"}.mdi-briefcase-arrow-up-down-outline:before{content:"󱪐"}.mdi-briefcase-check:before{content:"󰃗"}.mdi-briefcase-check-outline:before{content:"󱌞"}.mdi-briefcase-clock:before{content:"󱃐"}.mdi-briefcase-clock-outline:before{content:"󱃑"}.mdi-briefcase-download:before{content:"󰃘"}.mdi-briefcase-download-outline:before{content:"󰰽"}.mdi-briefcase-edit:before{content:"󰪘"}.mdi-briefcase-edit-outline:before{content:"󰰾"}.mdi-briefcase-eye:before{content:"󱟙"}.mdi-briefcase-eye-outline:before{content:"󱟚"}.mdi-briefcase-minus:before{content:"󰨪"}.mdi-briefcase-minus-outline:before{content:"󰰿"}.mdi-briefcase-off:before{content:"󱙘"}.mdi-briefcase-off-outline:before{content:"󱙙"}.mdi-briefcase-outline:before{content:"󰠔"}.mdi-briefcase-plus:before{content:"󰨫"}.mdi-briefcase-plus-outline:before{content:"󰱀"}.mdi-briefcase-remove:before{content:"󰨬"}.mdi-briefcase-remove-outline:before{content:"󰱁"}.mdi-briefcase-search:before{content:"󰨭"}.mdi-briefcase-search-outline:before{content:"󰱂"}.mdi-briefcase-upload:before{content:"󰃙"}.mdi-briefcase-upload-outline:before{content:"󰱃"}.mdi-briefcase-variant:before{content:"󱒔"}.mdi-briefcase-variant-off:before{content:"󱙚"}.mdi-briefcase-variant-off-outline:before{content:"󱙛"}.mdi-briefcase-variant-outline:before{content:"󱒕"}.mdi-brightness-1:before{content:"󰃚"}.mdi-brightness-2:before{content:"󰃛"}.mdi-brightness-3:before{content:"󰃜"}.mdi-brightness-4:before{content:"󰃝"}.mdi-brightness-5:before{content:"󰃞"}.mdi-brightness-6:before{content:"󰃟"}.mdi-brightness-7:before{content:"󰃠"}.mdi-brightness-auto:before{content:"󰃡"}.mdi-brightness-percent:before{content:"󰳲"}.mdi-broadcast:before{content:"󱜠"}.mdi-broadcast-off:before{content:"󱜡"}.mdi-broom:before{content:"󰃢"}.mdi-brush:before{content:"󰃣"}.mdi-brush-off:before{content:"󱝱"}.mdi-brush-outline:before{content:"󱨍"}.mdi-brush-variant:before{content:"󱠓"}.mdi-bucket:before{content:"󱐕"}.mdi-bucket-outline:before{content:"󱐖"}.mdi-buffet:before{content:"󰕸"}.mdi-bug:before{content:"󰃤"}.mdi-bug-check:before{content:"󰨮"}.mdi-bug-check-outline:before{content:"󰨯"}.mdi-bug-outline:before{content:"󰨰"}.mdi-bug-pause:before{content:"󱫵"}.mdi-bug-pause-outline:before{content:"󱫶"}.mdi-bug-play:before{content:"󱫷"}.mdi-bug-play-outline:before{content:"󱫸"}.mdi-bug-stop:before{content:"󱫹"}.mdi-bug-stop-outline:before{content:"󱫺"}.mdi-bugle:before{content:"󰶴"}.mdi-bulkhead-light:before{content:"󱨯"}.mdi-bulldozer:before{content:"󰬢"}.mdi-bullet:before{content:"󰳳"}.mdi-bulletin-board:before{content:"󰃥"}.mdi-bullhorn:before{content:"󰃦"}.mdi-bullhorn-outline:before{content:"󰬣"}.mdi-bullhorn-variant:before{content:"󱥮"}.mdi-bullhorn-variant-outline:before{content:"󱥯"}.mdi-bullseye:before{content:"󰗝"}.mdi-bullseye-arrow:before{content:"󰣉"}.mdi-bulma:before{content:"󱋧"}.mdi-bunk-bed:before{content:"󱌂"}.mdi-bunk-bed-outline:before{content:"󰂗"}.mdi-bus:before{content:"󰃧"}.mdi-bus-alert:before{content:"󰪙"}.mdi-bus-articulated-end:before{content:"󰞜"}.mdi-bus-articulated-front:before{content:"󰞝"}.mdi-bus-clock:before{content:"󰣊"}.mdi-bus-double-decker:before{content:"󰞞"}.mdi-bus-electric:before{content:"󱤝"}.mdi-bus-marker:before{content:"󱈒"}.mdi-bus-multiple:before{content:"󰼿"}.mdi-bus-school:before{content:"󰞟"}.mdi-bus-side:before{content:"󰞠"}.mdi-bus-stop:before{content:"󱀒"}.mdi-bus-stop-covered:before{content:"󱀓"}.mdi-bus-stop-uncovered:before{content:"󱀔"}.mdi-butterfly:before{content:"󱖉"}.mdi-butterfly-outline:before{content:"󱖊"}.mdi-button-cursor:before{content:"󱭏"}.mdi-button-pointer:before{content:"󱭐"}.mdi-cabin-a-frame:before{content:"󱢌"}.mdi-cable-data:before{content:"󱎔"}.mdi-cached:before{content:"󰃨"}.mdi-cactus:before{content:"󰶵"}.mdi-cake:before{content:"󰃩"}.mdi-cake-layered:before{content:"󰃪"}.mdi-cake-variant:before{content:"󰃫"}.mdi-cake-variant-outline:before{content:"󱟰"}.mdi-calculator:before{content:"󰃬"}.mdi-calculator-variant:before{content:"󰪚"}.mdi-calculator-variant-outline:before{content:"󱖦"}.mdi-calendar:before{content:"󰃭"}.mdi-calendar-account:before{content:"󰻗"}.mdi-calendar-account-outline:before{content:"󰻘"}.mdi-calendar-alert:before{content:"󰨱"}.mdi-calendar-alert-outline:before{content:"󱭢"}.mdi-calendar-arrow-left:before{content:"󱄴"}.mdi-calendar-arrow-right:before{content:"󱄵"}.mdi-calendar-badge:before{content:"󱮝"}.mdi-calendar-badge-outline:before{content:"󱮞"}.mdi-calendar-blank:before{content:"󰃮"}.mdi-calendar-blank-multiple:before{content:"󱁳"}.mdi-calendar-blank-outline:before{content:"󰭦"}.mdi-calendar-check:before{content:"󰃯"}.mdi-calendar-check-outline:before{content:"󰱄"}.mdi-calendar-clock:before{content:"󰃰"}.mdi-calendar-clock-outline:before{content:"󱛡"}.mdi-calendar-collapse-horizontal:before{content:"󱢝"}.mdi-calendar-collapse-horizontal-outline:before{content:"󱭣"}.mdi-calendar-cursor:before{content:"󱕻"}.mdi-calendar-cursor-outline:before{content:"󱭤"}.mdi-calendar-edit:before{content:"󰢧"}.mdi-calendar-edit-outline:before{content:"󱭥"}.mdi-calendar-end:before{content:"󱙬"}.mdi-calendar-end-outline:before{content:"󱭦"}.mdi-calendar-expand-horizontal:before{content:"󱢞"}.mdi-calendar-expand-horizontal-outline:before{content:"󱭧"}.mdi-calendar-export:before{content:"󰬤"}.mdi-calendar-export-outline:before{content:"󱭨"}.mdi-calendar-filter:before{content:"󱨲"}.mdi-calendar-filter-outline:before{content:"󱨳"}.mdi-calendar-heart:before{content:"󰧒"}.mdi-calendar-heart-outline:before{content:"󱭩"}.mdi-calendar-import:before{content:"󰬥"}.mdi-calendar-import-outline:before{content:"󱭪"}.mdi-calendar-lock:before{content:"󱙁"}.mdi-calendar-lock-open:before{content:"󱭛"}.mdi-calendar-lock-open-outline:before{content:"󱭜"}.mdi-calendar-lock-outline:before{content:"󱙂"}.mdi-calendar-minus:before{content:"󰵜"}.mdi-calendar-minus-outline:before{content:"󱭫"}.mdi-calendar-month:before{content:"󰸗"}.mdi-calendar-month-outline:before{content:"󰸘"}.mdi-calendar-multiple:before{content:"󰃱"}.mdi-calendar-multiple-check:before{content:"󰃲"}.mdi-calendar-multiselect:before{content:"󰨲"}.mdi-calendar-multiselect-outline:before{content:"󱭕"}.mdi-calendar-outline:before{content:"󰭧"}.mdi-calendar-plus:before{content:"󰃳"}.mdi-calendar-plus-outline:before{content:"󱭬"}.mdi-calendar-question:before{content:"󰚒"}.mdi-calendar-question-outline:before{content:"󱭭"}.mdi-calendar-range:before{content:"󰙹"}.mdi-calendar-range-outline:before{content:"󰭨"}.mdi-calendar-refresh:before{content:"󰇡"}.mdi-calendar-refresh-outline:before{content:"󰈃"}.mdi-calendar-remove:before{content:"󰃴"}.mdi-calendar-remove-outline:before{content:"󰱅"}.mdi-calendar-search:before{content:"󰥌"}.mdi-calendar-search-outline:before{content:"󱭮"}.mdi-calendar-star:before{content:"󰧓"}.mdi-calendar-star-four-points:before{content:"󱰟"}.mdi-calendar-star-outline:before{content:"󱭓"}.mdi-calendar-start:before{content:"󱙭"}.mdi-calendar-start-outline:before{content:"󱭯"}.mdi-calendar-sync:before{content:"󰺎"}.mdi-calendar-sync-outline:before{content:"󰺏"}.mdi-calendar-text:before{content:"󰃵"}.mdi-calendar-text-outline:before{content:"󰱆"}.mdi-calendar-today:before{content:"󰃶"}.mdi-calendar-today-outline:before{content:"󱨰"}.mdi-calendar-week:before{content:"󰨳"}.mdi-calendar-week-begin:before{content:"󰨴"}.mdi-calendar-week-begin-outline:before{content:"󱨱"}.mdi-calendar-week-outline:before{content:"󱨴"}.mdi-calendar-weekend:before{content:"󰻙"}.mdi-calendar-weekend-outline:before{content:"󰻚"}.mdi-call-made:before{content:"󰃷"}.mdi-call-merge:before{content:"󰃸"}.mdi-call-missed:before{content:"󰃹"}.mdi-call-received:before{content:"󰃺"}.mdi-call-split:before{content:"󰃻"}.mdi-camcorder:before{content:"󰃼"}.mdi-camcorder-off:before{content:"󰃿"}.mdi-camera:before{content:"󰄀"}.mdi-camera-account:before{content:"󰣋"}.mdi-camera-burst:before{content:"󰚓"}.mdi-camera-control:before{content:"󰭩"}.mdi-camera-document:before{content:"󱡱"}.mdi-camera-document-off:before{content:"󱡲"}.mdi-camera-enhance:before{content:"󰄁"}.mdi-camera-enhance-outline:before{content:"󰭪"}.mdi-camera-flip:before{content:"󱗙"}.mdi-camera-flip-outline:before{content:"󱗚"}.mdi-camera-front:before{content:"󰄂"}.mdi-camera-front-variant:before{content:"󰄃"}.mdi-camera-gopro:before{content:"󰞡"}.mdi-camera-image:before{content:"󰣌"}.mdi-camera-iris:before{content:"󰄄"}.mdi-camera-lock:before{content:"󱨔"}.mdi-camera-lock-open:before{content:"󱰍"}.mdi-camera-lock-open-outline:before{content:"󱰎"}.mdi-camera-lock-outline:before{content:"󱨕"}.mdi-camera-marker:before{content:"󱦧"}.mdi-camera-marker-outline:before{content:"󱦨"}.mdi-camera-metering-center:before{content:"󰞢"}.mdi-camera-metering-matrix:before{content:"󰞣"}.mdi-camera-metering-partial:before{content:"󰞤"}.mdi-camera-metering-spot:before{content:"󰞥"}.mdi-camera-off:before{content:"󰗟"}.mdi-camera-off-outline:before{content:"󱦿"}.mdi-camera-outline:before{content:"󰵝"}.mdi-camera-party-mode:before{content:"󰄅"}.mdi-camera-plus:before{content:"󰻛"}.mdi-camera-plus-outline:before{content:"󰻜"}.mdi-camera-rear:before{content:"󰄆"}.mdi-camera-rear-variant:before{content:"󰄇"}.mdi-camera-retake:before{content:"󰸙"}.mdi-camera-retake-outline:before{content:"󰸚"}.mdi-camera-switch:before{content:"󰄈"}.mdi-camera-switch-outline:before{content:"󰡊"}.mdi-camera-timer:before{content:"󰄉"}.mdi-camera-wireless:before{content:"󰶶"}.mdi-camera-wireless-outline:before{content:"󰶷"}.mdi-campfire:before{content:"󰻝"}.mdi-cancel:before{content:"󰜺"}.mdi-candelabra:before{content:"󱟒"}.mdi-candelabra-fire:before{content:"󱟓"}.mdi-candle:before{content:"󰗢"}.mdi-candy:before{content:"󱥰"}.mdi-candy-off:before{content:"󱥱"}.mdi-candy-off-outline:before{content:"󱥲"}.mdi-candy-outline:before{content:"󱥳"}.mdi-candycane:before{content:"󰄊"}.mdi-cannabis:before{content:"󰞦"}.mdi-cannabis-off:before{content:"󱙮"}.mdi-caps-lock:before{content:"󰪛"}.mdi-car:before{content:"󰄋"}.mdi-car-2-plus:before{content:"󱀕"}.mdi-car-3-plus:before{content:"󱀖"}.mdi-car-arrow-left:before{content:"󱎲"}.mdi-car-arrow-right:before{content:"󱎳"}.mdi-car-back:before{content:"󰸛"}.mdi-car-battery:before{content:"󰄌"}.mdi-car-brake-abs:before{content:"󰱇"}.mdi-car-brake-alert:before{content:"󰱈"}.mdi-car-brake-fluid-level:before{content:"󱤉"}.mdi-car-brake-hold:before{content:"󰵞"}.mdi-car-brake-low-pressure:before{content:"󱤊"}.mdi-car-brake-parking:before{content:"󰵟"}.mdi-car-brake-retarder:before{content:"󱀗"}.mdi-car-brake-temperature:before{content:"󱤋"}.mdi-car-brake-worn-linings:before{content:"󱤌"}.mdi-car-child-seat:before{content:"󰾣"}.mdi-car-clock:before{content:"󱥴"}.mdi-car-clutch:before{content:"󱀘"}.mdi-car-cog:before{content:"󱏌"}.mdi-car-connected:before{content:"󰄍"}.mdi-car-convertible:before{content:"󰞧"}.mdi-car-coolant-level:before{content:"󱀙"}.mdi-car-cruise-control:before{content:"󰵠"}.mdi-car-defrost-front:before{content:"󰵡"}.mdi-car-defrost-rear:before{content:"󰵢"}.mdi-car-door:before{content:"󰭫"}.mdi-car-door-lock:before{content:"󱂝"}.mdi-car-electric:before{content:"󰭬"}.mdi-car-electric-outline:before{content:"󱖵"}.mdi-car-emergency:before{content:"󱘏"}.mdi-car-esp:before{content:"󰱉"}.mdi-car-estate:before{content:"󰞨"}.mdi-car-hatchback:before{content:"󰞩"}.mdi-car-info:before{content:"󱆾"}.mdi-car-key:before{content:"󰭭"}.mdi-car-lifted-pickup:before{content:"󱔭"}.mdi-car-light-alert:before{content:"󱤍"}.mdi-car-light-dimmed:before{content:"󰱊"}.mdi-car-light-fog:before{content:"󰱋"}.mdi-car-light-high:before{content:"󰱌"}.mdi-car-limousine:before{content:"󰣍"}.mdi-car-multiple:before{content:"󰭮"}.mdi-car-off:before{content:"󰸜"}.mdi-car-outline:before{content:"󱓭"}.mdi-car-parking-lights:before{content:"󰵣"}.mdi-car-pickup:before{content:"󰞪"}.mdi-car-search:before{content:"󱮍"}.mdi-car-search-outline:before{content:"󱮎"}.mdi-car-seat:before{content:"󰾤"}.mdi-car-seat-cooler:before{content:"󰾥"}.mdi-car-seat-heater:before{content:"󰾦"}.mdi-car-select:before{content:"󱡹"}.mdi-car-settings:before{content:"󱏍"}.mdi-car-shift-pattern:before{content:"󰽀"}.mdi-car-side:before{content:"󰞫"}.mdi-car-speed-limiter:before{content:"󱤎"}.mdi-car-sports:before{content:"󰞬"}.mdi-car-tire-alert:before{content:"󰱍"}.mdi-car-traction-control:before{content:"󰵤"}.mdi-car-turbocharger:before{content:"󱀚"}.mdi-car-wash:before{content:"󰄎"}.mdi-car-windshield:before{content:"󱀛"}.mdi-car-windshield-outline:before{content:"󱀜"}.mdi-car-wireless:before{content:"󱡸"}.mdi-car-wrench:before{content:"󱠔"}.mdi-carabiner:before{content:"󱓀"}.mdi-caravan:before{content:"󰞭"}.mdi-card:before{content:"󰭯"}.mdi-card-account-details:before{content:"󰗒"}.mdi-card-account-details-outline:before{content:"󰶫"}.mdi-card-account-details-star:before{content:"󰊣"}.mdi-card-account-details-star-outline:before{content:"󰛛"}.mdi-card-account-mail:before{content:"󰆎"}.mdi-card-account-mail-outline:before{content:"󰺘"}.mdi-card-account-phone:before{content:"󰺙"}.mdi-card-account-phone-outline:before{content:"󰺚"}.mdi-card-bulleted:before{content:"󰭰"}.mdi-card-bulleted-off:before{content:"󰭱"}.mdi-card-bulleted-off-outline:before{content:"󰭲"}.mdi-card-bulleted-outline:before{content:"󰭳"}.mdi-card-bulleted-settings:before{content:"󰭴"}.mdi-card-bulleted-settings-outline:before{content:"󰭵"}.mdi-card-minus:before{content:"󱘀"}.mdi-card-minus-outline:before{content:"󱘁"}.mdi-card-multiple:before{content:"󱟱"}.mdi-card-multiple-outline:before{content:"󱟲"}.mdi-card-off:before{content:"󱘂"}.mdi-card-off-outline:before{content:"󱘃"}.mdi-card-outline:before{content:"󰭶"}.mdi-card-plus:before{content:"󱇿"}.mdi-card-plus-outline:before{content:"󱈀"}.mdi-card-remove:before{content:"󱘄"}.mdi-card-remove-outline:before{content:"󱘅"}.mdi-card-search:before{content:"󱁴"}.mdi-card-search-outline:before{content:"󱁵"}.mdi-card-text:before{content:"󰭷"}.mdi-card-text-outline:before{content:"󰭸"}.mdi-cards:before{content:"󰘸"}.mdi-cards-club:before{content:"󰣎"}.mdi-cards-club-outline:before{content:"󱢟"}.mdi-cards-diamond:before{content:"󰣏"}.mdi-cards-diamond-outline:before{content:"󱀝"}.mdi-cards-heart:before{content:"󰣐"}.mdi-cards-heart-outline:before{content:"󱢠"}.mdi-cards-outline:before{content:"󰘹"}.mdi-cards-playing:before{content:"󱢡"}.mdi-cards-playing-club:before{content:"󱢢"}.mdi-cards-playing-club-multiple:before{content:"󱢣"}.mdi-cards-playing-club-multiple-outline:before{content:"󱢤"}.mdi-cards-playing-club-outline:before{content:"󱢥"}.mdi-cards-playing-diamond:before{content:"󱢦"}.mdi-cards-playing-diamond-multiple:before{content:"󱢧"}.mdi-cards-playing-diamond-multiple-outline:before{content:"󱢨"}.mdi-cards-playing-diamond-outline:before{content:"󱢩"}.mdi-cards-playing-heart:before{content:"󱢪"}.mdi-cards-playing-heart-multiple:before{content:"󱢫"}.mdi-cards-playing-heart-multiple-outline:before{content:"󱢬"}.mdi-cards-playing-heart-outline:before{content:"󱢭"}.mdi-cards-playing-outline:before{content:"󰘺"}.mdi-cards-playing-spade:before{content:"󱢮"}.mdi-cards-playing-spade-multiple:before{content:"󱢯"}.mdi-cards-playing-spade-multiple-outline:before{content:"󱢰"}.mdi-cards-playing-spade-outline:before{content:"󱢱"}.mdi-cards-spade:before{content:"󰣑"}.mdi-cards-spade-outline:before{content:"󱢲"}.mdi-cards-variant:before{content:"󰛇"}.mdi-carrot:before{content:"󰄏"}.mdi-cart:before{content:"󰄐"}.mdi-cart-arrow-down:before{content:"󰵦"}.mdi-cart-arrow-right:before{content:"󰱎"}.mdi-cart-arrow-up:before{content:"󰵧"}.mdi-cart-check:before{content:"󱗪"}.mdi-cart-heart:before{content:"󱣠"}.mdi-cart-minus:before{content:"󰵨"}.mdi-cart-off:before{content:"󰙫"}.mdi-cart-outline:before{content:"󰄑"}.mdi-cart-percent:before{content:"󱮮"}.mdi-cart-plus:before{content:"󰄒"}.mdi-cart-remove:before{content:"󰵩"}.mdi-cart-variant:before{content:"󱗫"}.mdi-case-sensitive-alt:before{content:"󰄓"}.mdi-cash:before{content:"󰄔"}.mdi-cash-100:before{content:"󰄕"}.mdi-cash-check:before{content:"󱓮"}.mdi-cash-clock:before{content:"󱪑"}.mdi-cash-fast:before{content:"󱡜"}.mdi-cash-lock:before{content:"󱓪"}.mdi-cash-lock-open:before{content:"󱓫"}.mdi-cash-marker:before{content:"󰶸"}.mdi-cash-minus:before{content:"󱉠"}.mdi-cash-multiple:before{content:"󰄖"}.mdi-cash-off:before{content:"󱱹"}.mdi-cash-plus:before{content:"󱉡"}.mdi-cash-refund:before{content:"󰪜"}.mdi-cash-register:before{content:"󰳴"}.mdi-cash-remove:before{content:"󱉢"}.mdi-cash-sync:before{content:"󱪒"}.mdi-cassette:before{content:"󰧔"}.mdi-cast:before{content:"󰄘"}.mdi-cast-audio:before{content:"󱀞"}.mdi-cast-audio-variant:before{content:"󱝉"}.mdi-cast-connected:before{content:"󰄙"}.mdi-cast-education:before{content:"󰸝"}.mdi-cast-off:before{content:"󰞊"}.mdi-cast-variant:before{content:"󰀟"}.mdi-castle:before{content:"󰄚"}.mdi-cat:before{content:"󰄛"}.mdi-cctv:before{content:"󰞮"}.mdi-cctv-off:before{content:"󱡟"}.mdi-ceiling-fan:before{content:"󱞗"}.mdi-ceiling-fan-light:before{content:"󱞘"}.mdi-ceiling-light:before{content:"󰝩"}.mdi-ceiling-light-multiple:before{content:"󱣝"}.mdi-ceiling-light-multiple-outline:before{content:"󱣞"}.mdi-ceiling-light-outline:before{content:"󱟇"}.mdi-cellphone:before{content:"󰄜"}.mdi-cellphone-arrow-down:before{content:"󰧕"}.mdi-cellphone-arrow-down-variant:before{content:"󱧅"}.mdi-cellphone-basic:before{content:"󰄞"}.mdi-cellphone-charging:before{content:"󱎗"}.mdi-cellphone-check:before{content:"󱟽"}.mdi-cellphone-cog:before{content:"󰥑"}.mdi-cellphone-dock:before{content:"󰄟"}.mdi-cellphone-information:before{content:"󰽁"}.mdi-cellphone-key:before{content:"󰥎"}.mdi-cellphone-link:before{content:"󰄡"}.mdi-cellphone-link-off:before{content:"󰄢"}.mdi-cellphone-lock:before{content:"󰥏"}.mdi-cellphone-marker:before{content:"󱠺"}.mdi-cellphone-message:before{content:"󰣓"}.mdi-cellphone-message-off:before{content:"󱃒"}.mdi-cellphone-nfc:before{content:"󰺐"}.mdi-cellphone-nfc-off:before{content:"󱋘"}.mdi-cellphone-off:before{content:"󰥐"}.mdi-cellphone-play:before{content:"󱀟"}.mdi-cellphone-remove:before{content:"󰥍"}.mdi-cellphone-screenshot:before{content:"󰨵"}.mdi-cellphone-settings:before{content:"󰄣"}.mdi-cellphone-sound:before{content:"󰥒"}.mdi-cellphone-text:before{content:"󰣒"}.mdi-cellphone-wireless:before{content:"󰠕"}.mdi-centos:before{content:"󱄚"}.mdi-certificate:before{content:"󰄤"}.mdi-certificate-outline:before{content:"󱆈"}.mdi-chair-rolling:before{content:"󰽈"}.mdi-chair-school:before{content:"󰄥"}.mdi-chandelier:before{content:"󱞓"}.mdi-charity:before{content:"󰱏"}.mdi-chart-arc:before{content:"󰄦"}.mdi-chart-areaspline:before{content:"󰄧"}.mdi-chart-areaspline-variant:before{content:"󰺑"}.mdi-chart-bar:before{content:"󰄨"}.mdi-chart-bar-stacked:before{content:"󰝪"}.mdi-chart-bell-curve:before{content:"󰱐"}.mdi-chart-bell-curve-cumulative:before{content:"󰾧"}.mdi-chart-box:before{content:"󱕍"}.mdi-chart-box-outline:before{content:"󱕎"}.mdi-chart-box-plus-outline:before{content:"󱕏"}.mdi-chart-bubble:before{content:"󰗣"}.mdi-chart-donut:before{content:"󰞯"}.mdi-chart-donut-variant:before{content:"󰞰"}.mdi-chart-gantt:before{content:"󰙬"}.mdi-chart-histogram:before{content:"󰄩"}.mdi-chart-line:before{content:"󰄪"}.mdi-chart-line-stacked:before{content:"󰝫"}.mdi-chart-line-variant:before{content:"󰞱"}.mdi-chart-multiline:before{content:"󰣔"}.mdi-chart-multiple:before{content:"󱈓"}.mdi-chart-pie:before{content:"󰄫"}.mdi-chart-pie-outline:before{content:"󱯟"}.mdi-chart-ppf:before{content:"󱎀"}.mdi-chart-sankey:before{content:"󱇟"}.mdi-chart-sankey-variant:before{content:"󱇠"}.mdi-chart-scatter-plot:before{content:"󰺒"}.mdi-chart-scatter-plot-hexbin:before{content:"󰙭"}.mdi-chart-timeline:before{content:"󰙮"}.mdi-chart-timeline-variant:before{content:"󰺓"}.mdi-chart-timeline-variant-shimmer:before{content:"󱖶"}.mdi-chart-tree:before{content:"󰺔"}.mdi-chart-waterfall:before{content:"󱤘"}.mdi-chat:before{content:"󰭹"}.mdi-chat-alert:before{content:"󰭺"}.mdi-chat-alert-outline:before{content:"󱋉"}.mdi-chat-minus:before{content:"󱐐"}.mdi-chat-minus-outline:before{content:"󱐓"}.mdi-chat-outline:before{content:"󰻞"}.mdi-chat-plus:before{content:"󱐏"}.mdi-chat-plus-outline:before{content:"󱐒"}.mdi-chat-processing:before{content:"󰭻"}.mdi-chat-processing-outline:before{content:"󱋊"}.mdi-chat-question:before{content:"󱜸"}.mdi-chat-question-outline:before{content:"󱜹"}.mdi-chat-remove:before{content:"󱐑"}.mdi-chat-remove-outline:before{content:"󱐔"}.mdi-chat-sleep:before{content:"󱋑"}.mdi-chat-sleep-outline:before{content:"󱋒"}.mdi-check:before{content:"󰄬"}.mdi-check-all:before{content:"󰄭"}.mdi-check-bold:before{content:"󰸞"}.mdi-check-circle:before{content:"󰗠"}.mdi-check-circle-outline:before{content:"󰗡"}.mdi-check-decagram:before{content:"󰞑"}.mdi-check-decagram-outline:before{content:"󱝀"}.mdi-check-network:before{content:"󰱓"}.mdi-check-network-outline:before{content:"󰱔"}.mdi-check-outline:before{content:"󰡕"}.mdi-check-underline:before{content:"󰸟"}.mdi-check-underline-circle:before{content:"󰸠"}.mdi-check-underline-circle-outline:before{content:"󰸡"}.mdi-checkbook:before{content:"󰪝"}.mdi-checkbook-arrow-left:before{content:"󱰝"}.mdi-checkbook-arrow-right:before{content:"󱰞"}.mdi-checkbox-blank:before{content:"󰄮"}.mdi-checkbox-blank-badge:before{content:"󱅶"}.mdi-checkbox-blank-badge-outline:before{content:"󰄗"}.mdi-checkbox-blank-circle:before{content:"󰄯"}.mdi-checkbox-blank-circle-outline:before{content:"󰄰"}.mdi-checkbox-blank-off:before{content:"󱋬"}.mdi-checkbox-blank-off-outline:before{content:"󱋭"}.mdi-checkbox-blank-outline:before{content:"󰄱"}.mdi-checkbox-intermediate:before{content:"󰡖"}.mdi-checkbox-intermediate-variant:before{content:"󱭔"}.mdi-checkbox-marked:before{content:"󰄲"}.mdi-checkbox-marked-circle:before{content:"󰄳"}.mdi-checkbox-marked-circle-auto-outline:before{content:"󱰦"}.mdi-checkbox-marked-circle-minus-outline:before{content:"󱰧"}.mdi-checkbox-marked-circle-outline:before{content:"󰄴"}.mdi-checkbox-marked-circle-plus-outline:before{content:"󱤧"}.mdi-checkbox-marked-outline:before{content:"󰄵"}.mdi-checkbox-multiple-blank:before{content:"󰄶"}.mdi-checkbox-multiple-blank-circle:before{content:"󰘻"}.mdi-checkbox-multiple-blank-circle-outline:before{content:"󰘼"}.mdi-checkbox-multiple-blank-outline:before{content:"󰄷"}.mdi-checkbox-multiple-marked:before{content:"󰄸"}.mdi-checkbox-multiple-marked-circle:before{content:"󰘽"}.mdi-checkbox-multiple-marked-circle-outline:before{content:"󰘾"}.mdi-checkbox-multiple-marked-outline:before{content:"󰄹"}.mdi-checkbox-multiple-outline:before{content:"󰱑"}.mdi-checkbox-outline:before{content:"󰱒"}.mdi-checkerboard:before{content:"󰄺"}.mdi-checkerboard-minus:before{content:"󱈂"}.mdi-checkerboard-plus:before{content:"󱈁"}.mdi-checkerboard-remove:before{content:"󱈃"}.mdi-cheese:before{content:"󱊹"}.mdi-cheese-off:before{content:"󱏮"}.mdi-chef-hat:before{content:"󰭼"}.mdi-chemical-weapon:before{content:"󰄻"}.mdi-chess-bishop:before{content:"󰡜"}.mdi-chess-king:before{content:"󰡗"}.mdi-chess-knight:before{content:"󰡘"}.mdi-chess-pawn:before{content:"󰡙"}.mdi-chess-queen:before{content:"󰡚"}.mdi-chess-rook:before{content:"󰡛"}.mdi-chevron-double-down:before{content:"󰄼"}.mdi-chevron-double-left:before{content:"󰄽"}.mdi-chevron-double-right:before{content:"󰄾"}.mdi-chevron-double-up:before{content:"󰄿"}.mdi-chevron-down:before{content:"󰅀"}.mdi-chevron-down-box:before{content:"󰧖"}.mdi-chevron-down-box-outline:before{content:"󰧗"}.mdi-chevron-down-circle:before{content:"󰬦"}.mdi-chevron-down-circle-outline:before{content:"󰬧"}.mdi-chevron-left:before{content:"󰅁"}.mdi-chevron-left-box:before{content:"󰧘"}.mdi-chevron-left-box-outline:before{content:"󰧙"}.mdi-chevron-left-circle:before{content:"󰬨"}.mdi-chevron-left-circle-outline:before{content:"󰬩"}.mdi-chevron-right:before{content:"󰅂"}.mdi-chevron-right-box:before{content:"󰧚"}.mdi-chevron-right-box-outline:before{content:"󰧛"}.mdi-chevron-right-circle:before{content:"󰬪"}.mdi-chevron-right-circle-outline:before{content:"󰬫"}.mdi-chevron-triple-down:before{content:"󰶹"}.mdi-chevron-triple-left:before{content:"󰶺"}.mdi-chevron-triple-right:before{content:"󰶻"}.mdi-chevron-triple-up:before{content:"󰶼"}.mdi-chevron-up:before{content:"󰅃"}.mdi-chevron-up-box:before{content:"󰧜"}.mdi-chevron-up-box-outline:before{content:"󰧝"}.mdi-chevron-up-circle:before{content:"󰬬"}.mdi-chevron-up-circle-outline:before{content:"󰬭"}.mdi-chili-alert:before{content:"󱟪"}.mdi-chili-alert-outline:before{content:"󱟫"}.mdi-chili-hot:before{content:"󰞲"}.mdi-chili-hot-outline:before{content:"󱟬"}.mdi-chili-medium:before{content:"󰞳"}.mdi-chili-medium-outline:before{content:"󱟭"}.mdi-chili-mild:before{content:"󰞴"}.mdi-chili-mild-outline:before{content:"󱟮"}.mdi-chili-off:before{content:"󱑧"}.mdi-chili-off-outline:before{content:"󱟯"}.mdi-chip:before{content:"󰘚"}.mdi-church:before{content:"󰅄"}.mdi-church-outline:before{content:"󱬂"}.mdi-cigar:before{content:"󱆉"}.mdi-cigar-off:before{content:"󱐛"}.mdi-circle:before{content:"󰝥"}.mdi-circle-box:before{content:"󱗜"}.mdi-circle-box-outline:before{content:"󱗝"}.mdi-circle-double:before{content:"󰺕"}.mdi-circle-edit-outline:before{content:"󰣕"}.mdi-circle-expand:before{content:"󰺖"}.mdi-circle-half:before{content:"󱎕"}.mdi-circle-half-full:before{content:"󱎖"}.mdi-circle-medium:before{content:"󰧞"}.mdi-circle-multiple:before{content:"󰬸"}.mdi-circle-multiple-outline:before{content:"󰚕"}.mdi-circle-off-outline:before{content:"󱃓"}.mdi-circle-opacity:before{content:"󱡓"}.mdi-circle-outline:before{content:"󰝦"}.mdi-circle-slice-1:before{content:"󰪞"}.mdi-circle-slice-2:before{content:"󰪟"}.mdi-circle-slice-3:before{content:"󰪠"}.mdi-circle-slice-4:before{content:"󰪡"}.mdi-circle-slice-5:before{content:"󰪢"}.mdi-circle-slice-6:before{content:"󰪣"}.mdi-circle-slice-7:before{content:"󰪤"}.mdi-circle-slice-8:before{content:"󰪥"}.mdi-circle-small:before{content:"󰧟"}.mdi-circular-saw:before{content:"󰸢"}.mdi-city:before{content:"󰅆"}.mdi-city-switch:before{content:"󱰨"}.mdi-city-variant:before{content:"󰨶"}.mdi-city-variant-outline:before{content:"󰨷"}.mdi-clipboard:before{content:"󰅇"}.mdi-clipboard-account:before{content:"󰅈"}.mdi-clipboard-account-outline:before{content:"󰱕"}.mdi-clipboard-alert:before{content:"󰅉"}.mdi-clipboard-alert-outline:before{content:"󰳷"}.mdi-clipboard-arrow-down:before{content:"󰅊"}.mdi-clipboard-arrow-down-outline:before{content:"󰱖"}.mdi-clipboard-arrow-left:before{content:"󰅋"}.mdi-clipboard-arrow-left-outline:before{content:"󰳸"}.mdi-clipboard-arrow-right:before{content:"󰳹"}.mdi-clipboard-arrow-right-outline:before{content:"󰳺"}.mdi-clipboard-arrow-up:before{content:"󰱗"}.mdi-clipboard-arrow-up-outline:before{content:"󰱘"}.mdi-clipboard-check:before{content:"󰅎"}.mdi-clipboard-check-multiple:before{content:"󱉣"}.mdi-clipboard-check-multiple-outline:before{content:"󱉤"}.mdi-clipboard-check-outline:before{content:"󰢨"}.mdi-clipboard-clock:before{content:"󱛢"}.mdi-clipboard-clock-outline:before{content:"󱛣"}.mdi-clipboard-edit:before{content:"󱓥"}.mdi-clipboard-edit-outline:before{content:"󱓦"}.mdi-clipboard-file:before{content:"󱉥"}.mdi-clipboard-file-outline:before{content:"󱉦"}.mdi-clipboard-flow:before{content:"󰛈"}.mdi-clipboard-flow-outline:before{content:"󱄗"}.mdi-clipboard-list:before{content:"󱃔"}.mdi-clipboard-list-outline:before{content:"󱃕"}.mdi-clipboard-minus:before{content:"󱘘"}.mdi-clipboard-minus-outline:before{content:"󱘙"}.mdi-clipboard-multiple:before{content:"󱉧"}.mdi-clipboard-multiple-outline:before{content:"󱉨"}.mdi-clipboard-off:before{content:"󱘚"}.mdi-clipboard-off-outline:before{content:"󱘛"}.mdi-clipboard-outline:before{content:"󰅌"}.mdi-clipboard-play:before{content:"󰱙"}.mdi-clipboard-play-multiple:before{content:"󱉩"}.mdi-clipboard-play-multiple-outline:before{content:"󱉪"}.mdi-clipboard-play-outline:before{content:"󰱚"}.mdi-clipboard-plus:before{content:"󰝑"}.mdi-clipboard-plus-outline:before{content:"󱌟"}.mdi-clipboard-pulse:before{content:"󰡝"}.mdi-clipboard-pulse-outline:before{content:"󰡞"}.mdi-clipboard-remove:before{content:"󱘜"}.mdi-clipboard-remove-outline:before{content:"󱘝"}.mdi-clipboard-search:before{content:"󱘞"}.mdi-clipboard-search-outline:before{content:"󱘟"}.mdi-clipboard-text:before{content:"󰅍"}.mdi-clipboard-text-clock:before{content:"󱣹"}.mdi-clipboard-text-clock-outline:before{content:"󱣺"}.mdi-clipboard-text-multiple:before{content:"󱉫"}.mdi-clipboard-text-multiple-outline:before{content:"󱉬"}.mdi-clipboard-text-off:before{content:"󱘠"}.mdi-clipboard-text-off-outline:before{content:"󱘡"}.mdi-clipboard-text-outline:before{content:"󰨸"}.mdi-clipboard-text-play:before{content:"󰱛"}.mdi-clipboard-text-play-outline:before{content:"󰱜"}.mdi-clipboard-text-search:before{content:"󱘢"}.mdi-clipboard-text-search-outline:before{content:"󱘣"}.mdi-clippy:before{content:"󰅏"}.mdi-clock:before{content:"󰥔"}.mdi-clock-alert:before{content:"󰥕"}.mdi-clock-alert-outline:before{content:"󰗎"}.mdi-clock-check:before{content:"󰾨"}.mdi-clock-check-outline:before{content:"󰾩"}.mdi-clock-digital:before{content:"󰺗"}.mdi-clock-edit:before{content:"󱦺"}.mdi-clock-edit-outline:before{content:"󱦻"}.mdi-clock-end:before{content:"󰅑"}.mdi-clock-fast:before{content:"󰅒"}.mdi-clock-in:before{content:"󰅓"}.mdi-clock-minus:before{content:"󱡣"}.mdi-clock-minus-outline:before{content:"󱡤"}.mdi-clock-out:before{content:"󰅔"}.mdi-clock-outline:before{content:"󰅐"}.mdi-clock-plus:before{content:"󱡡"}.mdi-clock-plus-outline:before{content:"󱡢"}.mdi-clock-remove:before{content:"󱡥"}.mdi-clock-remove-outline:before{content:"󱡦"}.mdi-clock-star-four-points:before{content:"󱰩"}.mdi-clock-star-four-points-outline:before{content:"󱰪"}.mdi-clock-start:before{content:"󰅕"}.mdi-clock-time-eight:before{content:"󱑆"}.mdi-clock-time-eight-outline:before{content:"󱑒"}.mdi-clock-time-eleven:before{content:"󱑉"}.mdi-clock-time-eleven-outline:before{content:"󱑕"}.mdi-clock-time-five:before{content:"󱑃"}.mdi-clock-time-five-outline:before{content:"󱑏"}.mdi-clock-time-four:before{content:"󱑂"}.mdi-clock-time-four-outline:before{content:"󱑎"}.mdi-clock-time-nine:before{content:"󱑇"}.mdi-clock-time-nine-outline:before{content:"󱑓"}.mdi-clock-time-one:before{content:"󱐿"}.mdi-clock-time-one-outline:before{content:"󱑋"}.mdi-clock-time-seven:before{content:"󱑅"}.mdi-clock-time-seven-outline:before{content:"󱑑"}.mdi-clock-time-six:before{content:"󱑄"}.mdi-clock-time-six-outline:before{content:"󱑐"}.mdi-clock-time-ten:before{content:"󱑈"}.mdi-clock-time-ten-outline:before{content:"󱑔"}.mdi-clock-time-three:before{content:"󱑁"}.mdi-clock-time-three-outline:before{content:"󱑍"}.mdi-clock-time-twelve:before{content:"󱑊"}.mdi-clock-time-twelve-outline:before{content:"󱑖"}.mdi-clock-time-two:before{content:"󱑀"}.mdi-clock-time-two-outline:before{content:"󱑌"}.mdi-close:before{content:"󰅖"}.mdi-close-box:before{content:"󰅗"}.mdi-close-box-multiple:before{content:"󰱝"}.mdi-close-box-multiple-outline:before{content:"󰱞"}.mdi-close-box-outline:before{content:"󰅘"}.mdi-close-circle:before{content:"󰅙"}.mdi-close-circle-multiple:before{content:"󰘪"}.mdi-close-circle-multiple-outline:before{content:"󰢃"}.mdi-close-circle-outline:before{content:"󰅚"}.mdi-close-network:before{content:"󰅛"}.mdi-close-network-outline:before{content:"󰱟"}.mdi-close-octagon:before{content:"󰅜"}.mdi-close-octagon-outline:before{content:"󰅝"}.mdi-close-outline:before{content:"󰛉"}.mdi-close-thick:before{content:"󱎘"}.mdi-closed-caption:before{content:"󰅞"}.mdi-closed-caption-outline:before{content:"󰶽"}.mdi-cloud:before{content:"󰅟"}.mdi-cloud-alert:before{content:"󰧠"}.mdi-cloud-alert-outline:before{content:"󱯠"}.mdi-cloud-arrow-down:before{content:"󱯡"}.mdi-cloud-arrow-down-outline:before{content:"󱯢"}.mdi-cloud-arrow-left:before{content:"󱯣"}.mdi-cloud-arrow-left-outline:before{content:"󱯤"}.mdi-cloud-arrow-right:before{content:"󱯥"}.mdi-cloud-arrow-right-outline:before{content:"󱯦"}.mdi-cloud-arrow-up:before{content:"󱯧"}.mdi-cloud-arrow-up-outline:before{content:"󱯨"}.mdi-cloud-braces:before{content:"󰞵"}.mdi-cloud-cancel:before{content:"󱯩"}.mdi-cloud-cancel-outline:before{content:"󱯪"}.mdi-cloud-check:before{content:"󱯫"}.mdi-cloud-check-outline:before{content:"󱯬"}.mdi-cloud-check-variant:before{content:"󰅠"}.mdi-cloud-check-variant-outline:before{content:"󱋌"}.mdi-cloud-circle:before{content:"󰅡"}.mdi-cloud-circle-outline:before{content:"󱯭"}.mdi-cloud-clock:before{content:"󱯮"}.mdi-cloud-clock-outline:before{content:"󱯯"}.mdi-cloud-cog:before{content:"󱯰"}.mdi-cloud-cog-outline:before{content:"󱯱"}.mdi-cloud-download:before{content:"󰅢"}.mdi-cloud-download-outline:before{content:"󰭽"}.mdi-cloud-lock:before{content:"󱇱"}.mdi-cloud-lock-open:before{content:"󱯲"}.mdi-cloud-lock-open-outline:before{content:"󱯳"}.mdi-cloud-lock-outline:before{content:"󱇲"}.mdi-cloud-minus:before{content:"󱯴"}.mdi-cloud-minus-outline:before{content:"󱯵"}.mdi-cloud-off:before{content:"󱯶"}.mdi-cloud-off-outline:before{content:"󰅤"}.mdi-cloud-outline:before{content:"󰅣"}.mdi-cloud-percent:before{content:"󱨵"}.mdi-cloud-percent-outline:before{content:"󱨶"}.mdi-cloud-plus:before{content:"󱯷"}.mdi-cloud-plus-outline:before{content:"󱯸"}.mdi-cloud-print:before{content:"󰅥"}.mdi-cloud-print-outline:before{content:"󰅦"}.mdi-cloud-question:before{content:"󰨹"}.mdi-cloud-question-outline:before{content:"󱯹"}.mdi-cloud-refresh:before{content:"󱯺"}.mdi-cloud-refresh-outline:before{content:"󱯻"}.mdi-cloud-refresh-variant:before{content:"󰔪"}.mdi-cloud-refresh-variant-outline:before{content:"󱯼"}.mdi-cloud-remove:before{content:"󱯽"}.mdi-cloud-remove-outline:before{content:"󱯾"}.mdi-cloud-search:before{content:"󰥖"}.mdi-cloud-search-outline:before{content:"󰥗"}.mdi-cloud-sync:before{content:"󰘿"}.mdi-cloud-sync-outline:before{content:"󱋖"}.mdi-cloud-tags:before{content:"󰞶"}.mdi-cloud-upload:before{content:"󰅧"}.mdi-cloud-upload-outline:before{content:"󰭾"}.mdi-clouds:before{content:"󱮕"}.mdi-clover:before{content:"󰠖"}.mdi-clover-outline:before{content:"󱱢"}.mdi-coach-lamp:before{content:"󱀠"}.mdi-coach-lamp-variant:before{content:"󱨷"}.mdi-coat-rack:before{content:"󱂞"}.mdi-code-array:before{content:"󰅨"}.mdi-code-braces:before{content:"󰅩"}.mdi-code-braces-box:before{content:"󱃖"}.mdi-code-brackets:before{content:"󰅪"}.mdi-code-equal:before{content:"󰅫"}.mdi-code-greater-than:before{content:"󰅬"}.mdi-code-greater-than-or-equal:before{content:"󰅭"}.mdi-code-json:before{content:"󰘦"}.mdi-code-less-than:before{content:"󰅮"}.mdi-code-less-than-or-equal:before{content:"󰅯"}.mdi-code-not-equal:before{content:"󰅰"}.mdi-code-not-equal-variant:before{content:"󰅱"}.mdi-code-parentheses:before{content:"󰅲"}.mdi-code-parentheses-box:before{content:"󱃗"}.mdi-code-string:before{content:"󰅳"}.mdi-code-tags:before{content:"󰅴"}.mdi-code-tags-check:before{content:"󰚔"}.mdi-codepen:before{content:"󰅵"}.mdi-coffee:before{content:"󰅶"}.mdi-coffee-maker:before{content:"󱂟"}.mdi-coffee-maker-check:before{content:"󱤱"}.mdi-coffee-maker-check-outline:before{content:"󱤲"}.mdi-coffee-maker-outline:before{content:"󱠛"}.mdi-coffee-off:before{content:"󰾪"}.mdi-coffee-off-outline:before{content:"󰾫"}.mdi-coffee-outline:before{content:"󰛊"}.mdi-coffee-to-go:before{content:"󰅷"}.mdi-coffee-to-go-outline:before{content:"󱌎"}.mdi-coffin:before{content:"󰭿"}.mdi-cog:before{content:"󰒓"}.mdi-cog-box:before{content:"󰒔"}.mdi-cog-clockwise:before{content:"󱇝"}.mdi-cog-counterclockwise:before{content:"󱇞"}.mdi-cog-off:before{content:"󱏎"}.mdi-cog-off-outline:before{content:"󱏏"}.mdi-cog-outline:before{content:"󰢻"}.mdi-cog-pause:before{content:"󱤳"}.mdi-cog-pause-outline:before{content:"󱤴"}.mdi-cog-play:before{content:"󱤵"}.mdi-cog-play-outline:before{content:"󱤶"}.mdi-cog-refresh:before{content:"󱑞"}.mdi-cog-refresh-outline:before{content:"󱑟"}.mdi-cog-stop:before{content:"󱤷"}.mdi-cog-stop-outline:before{content:"󱤸"}.mdi-cog-sync:before{content:"󱑠"}.mdi-cog-sync-outline:before{content:"󱑡"}.mdi-cog-transfer:before{content:"󱁛"}.mdi-cog-transfer-outline:before{content:"󱁜"}.mdi-cogs:before{content:"󰣖"}.mdi-collage:before{content:"󰙀"}.mdi-collapse-all:before{content:"󰪦"}.mdi-collapse-all-outline:before{content:"󰪧"}.mdi-color-helper:before{content:"󰅹"}.mdi-comma:before{content:"󰸣"}.mdi-comma-box:before{content:"󰸫"}.mdi-comma-box-outline:before{content:"󰸤"}.mdi-comma-circle:before{content:"󰸥"}.mdi-comma-circle-outline:before{content:"󰸦"}.mdi-comment:before{content:"󰅺"}.mdi-comment-account:before{content:"󰅻"}.mdi-comment-account-outline:before{content:"󰅼"}.mdi-comment-alert:before{content:"󰅽"}.mdi-comment-alert-outline:before{content:"󰅾"}.mdi-comment-arrow-left:before{content:"󰧡"}.mdi-comment-arrow-left-outline:before{content:"󰧢"}.mdi-comment-arrow-right:before{content:"󰧣"}.mdi-comment-arrow-right-outline:before{content:"󰧤"}.mdi-comment-bookmark:before{content:"󱖮"}.mdi-comment-bookmark-outline:before{content:"󱖯"}.mdi-comment-check:before{content:"󰅿"}.mdi-comment-check-outline:before{content:"󰆀"}.mdi-comment-edit:before{content:"󱆿"}.mdi-comment-edit-outline:before{content:"󱋄"}.mdi-comment-eye:before{content:"󰨺"}.mdi-comment-eye-outline:before{content:"󰨻"}.mdi-comment-flash:before{content:"󱖰"}.mdi-comment-flash-outline:before{content:"󱖱"}.mdi-comment-minus:before{content:"󱗟"}.mdi-comment-minus-outline:before{content:"󱗠"}.mdi-comment-multiple:before{content:"󰡟"}.mdi-comment-multiple-outline:before{content:"󰆁"}.mdi-comment-off:before{content:"󱗡"}.mdi-comment-off-outline:before{content:"󱗢"}.mdi-comment-outline:before{content:"󰆂"}.mdi-comment-plus:before{content:"󰧥"}.mdi-comment-plus-outline:before{content:"󰆃"}.mdi-comment-processing:before{content:"󰆄"}.mdi-comment-processing-outline:before{content:"󰆅"}.mdi-comment-question:before{content:"󰠗"}.mdi-comment-question-outline:before{content:"󰆆"}.mdi-comment-quote:before{content:"󱀡"}.mdi-comment-quote-outline:before{content:"󱀢"}.mdi-comment-remove:before{content:"󰗞"}.mdi-comment-remove-outline:before{content:"󰆇"}.mdi-comment-search:before{content:"󰨼"}.mdi-comment-search-outline:before{content:"󰨽"}.mdi-comment-text:before{content:"󰆈"}.mdi-comment-text-multiple:before{content:"󰡠"}.mdi-comment-text-multiple-outline:before{content:"󰡡"}.mdi-comment-text-outline:before{content:"󰆉"}.mdi-compare:before{content:"󰆊"}.mdi-compare-horizontal:before{content:"󱒒"}.mdi-compare-remove:before{content:"󱢳"}.mdi-compare-vertical:before{content:"󱒓"}.mdi-compass:before{content:"󰆋"}.mdi-compass-off:before{content:"󰮀"}.mdi-compass-off-outline:before{content:"󰮁"}.mdi-compass-outline:before{content:"󰆌"}.mdi-compass-rose:before{content:"󱎂"}.mdi-compost:before{content:"󱨸"}.mdi-cone:before{content:"󱥌"}.mdi-cone-off:before{content:"󱥍"}.mdi-connection:before{content:"󱘖"}.mdi-console:before{content:"󰆍"}.mdi-console-line:before{content:"󰞷"}.mdi-console-network:before{content:"󰢩"}.mdi-console-network-outline:before{content:"󰱠"}.mdi-consolidate:before{content:"󱃘"}.mdi-contactless-payment:before{content:"󰵪"}.mdi-contactless-payment-circle:before{content:"󰌡"}.mdi-contactless-payment-circle-outline:before{content:"󰐈"}.mdi-contacts:before{content:"󰛋"}.mdi-contacts-outline:before{content:"󰖸"}.mdi-contain:before{content:"󰨾"}.mdi-contain-end:before{content:"󰨿"}.mdi-contain-start:before{content:"󰩀"}.mdi-content-copy:before{content:"󰆏"}.mdi-content-cut:before{content:"󰆐"}.mdi-content-duplicate:before{content:"󰆑"}.mdi-content-paste:before{content:"󰆒"}.mdi-content-save:before{content:"󰆓"}.mdi-content-save-alert:before{content:"󰽂"}.mdi-content-save-alert-outline:before{content:"󰽃"}.mdi-content-save-all:before{content:"󰆔"}.mdi-content-save-all-outline:before{content:"󰽄"}.mdi-content-save-check:before{content:"󱣪"}.mdi-content-save-check-outline:before{content:"󱣫"}.mdi-content-save-cog:before{content:"󱑛"}.mdi-content-save-cog-outline:before{content:"󱑜"}.mdi-content-save-edit:before{content:"󰳻"}.mdi-content-save-edit-outline:before{content:"󰳼"}.mdi-content-save-minus:before{content:"󱭃"}.mdi-content-save-minus-outline:before{content:"󱭄"}.mdi-content-save-move:before{content:"󰸧"}.mdi-content-save-move-outline:before{content:"󰸨"}.mdi-content-save-off:before{content:"󱙃"}.mdi-content-save-off-outline:before{content:"󱙄"}.mdi-content-save-outline:before{content:"󰠘"}.mdi-content-save-plus:before{content:"󱭁"}.mdi-content-save-plus-outline:before{content:"󱭂"}.mdi-content-save-settings:before{content:"󰘛"}.mdi-content-save-settings-outline:before{content:"󰬮"}.mdi-contrast:before{content:"󰆕"}.mdi-contrast-box:before{content:"󰆖"}.mdi-contrast-circle:before{content:"󰆗"}.mdi-controller:before{content:"󰊴"}.mdi-controller-classic:before{content:"󰮂"}.mdi-controller-classic-outline:before{content:"󰮃"}.mdi-controller-off:before{content:"󰊵"}.mdi-cookie:before{content:"󰆘"}.mdi-cookie-alert:before{content:"󱛐"}.mdi-cookie-alert-outline:before{content:"󱛑"}.mdi-cookie-check:before{content:"󱛒"}.mdi-cookie-check-outline:before{content:"󱛓"}.mdi-cookie-clock:before{content:"󱛤"}.mdi-cookie-clock-outline:before{content:"󱛥"}.mdi-cookie-cog:before{content:"󱛔"}.mdi-cookie-cog-outline:before{content:"󱛕"}.mdi-cookie-edit:before{content:"󱛦"}.mdi-cookie-edit-outline:before{content:"󱛧"}.mdi-cookie-lock:before{content:"󱛨"}.mdi-cookie-lock-outline:before{content:"󱛩"}.mdi-cookie-minus:before{content:"󱛚"}.mdi-cookie-minus-outline:before{content:"󱛛"}.mdi-cookie-off:before{content:"󱛪"}.mdi-cookie-off-outline:before{content:"󱛫"}.mdi-cookie-outline:before{content:"󱛞"}.mdi-cookie-plus:before{content:"󱛖"}.mdi-cookie-plus-outline:before{content:"󱛗"}.mdi-cookie-refresh:before{content:"󱛬"}.mdi-cookie-refresh-outline:before{content:"󱛭"}.mdi-cookie-remove:before{content:"󱛘"}.mdi-cookie-remove-outline:before{content:"󱛙"}.mdi-cookie-settings:before{content:"󱛜"}.mdi-cookie-settings-outline:before{content:"󱛝"}.mdi-coolant-temperature:before{content:"󰏈"}.mdi-copyleft:before{content:"󱤹"}.mdi-copyright:before{content:"󰗦"}.mdi-cordova:before{content:"󰥘"}.mdi-corn:before{content:"󰞸"}.mdi-corn-off:before{content:"󱏯"}.mdi-cosine-wave:before{content:"󱑹"}.mdi-counter:before{content:"󰆙"}.mdi-countertop:before{content:"󱠜"}.mdi-countertop-outline:before{content:"󱠝"}.mdi-cow:before{content:"󰆚"}.mdi-cow-off:before{content:"󱣼"}.mdi-cpu-32-bit:before{content:"󰻟"}.mdi-cpu-64-bit:before{content:"󰻠"}.mdi-cradle:before{content:"󱦋"}.mdi-cradle-outline:before{content:"󱦑"}.mdi-crane:before{content:"󰡢"}.mdi-creation:before{content:"󰙴"}.mdi-creation-outline:before{content:"󱰫"}.mdi-creative-commons:before{content:"󰵫"}.mdi-credit-card:before{content:"󰿯"}.mdi-credit-card-check:before{content:"󱏐"}.mdi-credit-card-check-outline:before{content:"󱏑"}.mdi-credit-card-chip:before{content:"󱤏"}.mdi-credit-card-chip-outline:before{content:"󱤐"}.mdi-credit-card-clock:before{content:"󰻡"}.mdi-credit-card-clock-outline:before{content:"󰻢"}.mdi-credit-card-edit:before{content:"󱟗"}.mdi-credit-card-edit-outline:before{content:"󱟘"}.mdi-credit-card-fast:before{content:"󱤑"}.mdi-credit-card-fast-outline:before{content:"󱤒"}.mdi-credit-card-lock:before{content:"󱣧"}.mdi-credit-card-lock-outline:before{content:"󱣨"}.mdi-credit-card-marker:before{content:"󰚨"}.mdi-credit-card-marker-outline:before{content:"󰶾"}.mdi-credit-card-minus:before{content:"󰾬"}.mdi-credit-card-minus-outline:before{content:"󰾭"}.mdi-credit-card-multiple:before{content:"󰿰"}.mdi-credit-card-multiple-outline:before{content:"󰆜"}.mdi-credit-card-off:before{content:"󰿱"}.mdi-credit-card-off-outline:before{content:"󰗤"}.mdi-credit-card-outline:before{content:"󰆛"}.mdi-credit-card-plus:before{content:"󰿲"}.mdi-credit-card-plus-outline:before{content:"󰙶"}.mdi-credit-card-refresh:before{content:"󱙅"}.mdi-credit-card-refresh-outline:before{content:"󱙆"}.mdi-credit-card-refund:before{content:"󰿳"}.mdi-credit-card-refund-outline:before{content:"󰪨"}.mdi-credit-card-remove:before{content:"󰾮"}.mdi-credit-card-remove-outline:before{content:"󰾯"}.mdi-credit-card-scan:before{content:"󰿴"}.mdi-credit-card-scan-outline:before{content:"󰆝"}.mdi-credit-card-search:before{content:"󱙇"}.mdi-credit-card-search-outline:before{content:"󱙈"}.mdi-credit-card-settings:before{content:"󰿵"}.mdi-credit-card-settings-outline:before{content:"󰣗"}.mdi-credit-card-sync:before{content:"󱙉"}.mdi-credit-card-sync-outline:before{content:"󱙊"}.mdi-credit-card-wireless:before{content:"󰠂"}.mdi-credit-card-wireless-off:before{content:"󰕺"}.mdi-credit-card-wireless-off-outline:before{content:"󰕻"}.mdi-credit-card-wireless-outline:before{content:"󰵬"}.mdi-cricket:before{content:"󰵭"}.mdi-crop:before{content:"󰆞"}.mdi-crop-free:before{content:"󰆟"}.mdi-crop-landscape:before{content:"󰆠"}.mdi-crop-portrait:before{content:"󰆡"}.mdi-crop-rotate:before{content:"󰚖"}.mdi-crop-square:before{content:"󰆢"}.mdi-cross:before{content:"󰥓"}.mdi-cross-bolnisi:before{content:"󰳭"}.mdi-cross-celtic:before{content:"󰳵"}.mdi-cross-outline:before{content:"󰳶"}.mdi-crosshairs:before{content:"󰆣"}.mdi-crosshairs-gps:before{content:"󰆤"}.mdi-crosshairs-off:before{content:"󰽅"}.mdi-crosshairs-question:before{content:"󱄶"}.mdi-crowd:before{content:"󱥵"}.mdi-crown:before{content:"󰆥"}.mdi-crown-circle:before{content:"󱟜"}.mdi-crown-circle-outline:before{content:"󱟝"}.mdi-crown-outline:before{content:"󱇐"}.mdi-cryengine:before{content:"󰥙"}.mdi-crystal-ball:before{content:"󰬯"}.mdi-cube:before{content:"󰆦"}.mdi-cube-off:before{content:"󱐜"}.mdi-cube-off-outline:before{content:"󱐝"}.mdi-cube-outline:before{content:"󰆧"}.mdi-cube-scan:before{content:"󰮄"}.mdi-cube-send:before{content:"󰆨"}.mdi-cube-unfolded:before{content:"󰆩"}.mdi-cup:before{content:"󰆪"}.mdi-cup-off:before{content:"󰗥"}.mdi-cup-off-outline:before{content:"󱍽"}.mdi-cup-outline:before{content:"󱌏"}.mdi-cup-water:before{content:"󰆫"}.mdi-cupboard:before{content:"󰽆"}.mdi-cupboard-outline:before{content:"󰽇"}.mdi-cupcake:before{content:"󰥚"}.mdi-curling:before{content:"󰡣"}.mdi-currency-bdt:before{content:"󰡤"}.mdi-currency-brl:before{content:"󰮅"}.mdi-currency-btc:before{content:"󰆬"}.mdi-currency-cny:before{content:"󰞺"}.mdi-currency-eth:before{content:"󰞻"}.mdi-currency-eur:before{content:"󰆭"}.mdi-currency-eur-off:before{content:"󱌕"}.mdi-currency-fra:before{content:"󱨹"}.mdi-currency-gbp:before{content:"󰆮"}.mdi-currency-ils:before{content:"󰱡"}.mdi-currency-inr:before{content:"󰆯"}.mdi-currency-jpy:before{content:"󰞼"}.mdi-currency-krw:before{content:"󰞽"}.mdi-currency-kzt:before{content:"󰡥"}.mdi-currency-mnt:before{content:"󱔒"}.mdi-currency-ngn:before{content:"󰆰"}.mdi-currency-php:before{content:"󰧦"}.mdi-currency-rial:before{content:"󰺜"}.mdi-currency-rub:before{content:"󰆱"}.mdi-currency-rupee:before{content:"󱥶"}.mdi-currency-sign:before{content:"󰞾"}.mdi-currency-thb:before{content:"󱰅"}.mdi-currency-try:before{content:"󰆲"}.mdi-currency-twd:before{content:"󰞿"}.mdi-currency-uah:before{content:"󱮛"}.mdi-currency-usd:before{content:"󰇁"}.mdi-currency-usd-off:before{content:"󰙺"}.mdi-current-ac:before{content:"󱒀"}.mdi-current-dc:before{content:"󰥜"}.mdi-cursor-default:before{content:"󰇀"}.mdi-cursor-default-click:before{content:"󰳽"}.mdi-cursor-default-click-outline:before{content:"󰳾"}.mdi-cursor-default-gesture:before{content:"󱄧"}.mdi-cursor-default-gesture-outline:before{content:"󱄨"}.mdi-cursor-default-outline:before{content:"󰆿"}.mdi-cursor-move:before{content:"󰆾"}.mdi-cursor-pointer:before{content:"󰆽"}.mdi-cursor-text:before{content:"󰗧"}.mdi-curtains:before{content:"󱡆"}.mdi-curtains-closed:before{content:"󱡇"}.mdi-cylinder:before{content:"󱥎"}.mdi-cylinder-off:before{content:"󱥏"}.mdi-dance-ballroom:before{content:"󱗻"}.mdi-dance-pole:before{content:"󱕸"}.mdi-data-matrix:before{content:"󱔼"}.mdi-data-matrix-edit:before{content:"󱔽"}.mdi-data-matrix-minus:before{content:"󱔾"}.mdi-data-matrix-plus:before{content:"󱔿"}.mdi-data-matrix-remove:before{content:"󱕀"}.mdi-data-matrix-scan:before{content:"󱕁"}.mdi-database:before{content:"󰆼"}.mdi-database-alert:before{content:"󱘺"}.mdi-database-alert-outline:before{content:"󱘤"}.mdi-database-arrow-down:before{content:"󱘻"}.mdi-database-arrow-down-outline:before{content:"󱘥"}.mdi-database-arrow-left:before{content:"󱘼"}.mdi-database-arrow-left-outline:before{content:"󱘦"}.mdi-database-arrow-right:before{content:"󱘽"}.mdi-database-arrow-right-outline:before{content:"󱘧"}.mdi-database-arrow-up:before{content:"󱘾"}.mdi-database-arrow-up-outline:before{content:"󱘨"}.mdi-database-check:before{content:"󰪩"}.mdi-database-check-outline:before{content:"󱘩"}.mdi-database-clock:before{content:"󱘿"}.mdi-database-clock-outline:before{content:"󱘪"}.mdi-database-cog:before{content:"󱙋"}.mdi-database-cog-outline:before{content:"󱙌"}.mdi-database-edit:before{content:"󰮆"}.mdi-database-edit-outline:before{content:"󱘫"}.mdi-database-export:before{content:"󰥞"}.mdi-database-export-outline:before{content:"󱘬"}.mdi-database-eye:before{content:"󱤟"}.mdi-database-eye-off:before{content:"󱤠"}.mdi-database-eye-off-outline:before{content:"󱤡"}.mdi-database-eye-outline:before{content:"󱤢"}.mdi-database-import:before{content:"󰥝"}.mdi-database-import-outline:before{content:"󱘭"}.mdi-database-lock:before{content:"󰪪"}.mdi-database-lock-outline:before{content:"󱘮"}.mdi-database-marker:before{content:"󱋶"}.mdi-database-marker-outline:before{content:"󱘯"}.mdi-database-minus:before{content:"󰆻"}.mdi-database-minus-outline:before{content:"󱘰"}.mdi-database-off:before{content:"󱙀"}.mdi-database-off-outline:before{content:"󱘱"}.mdi-database-outline:before{content:"󱘲"}.mdi-database-plus:before{content:"󰆺"}.mdi-database-plus-outline:before{content:"󱘳"}.mdi-database-refresh:before{content:"󰗂"}.mdi-database-refresh-outline:before{content:"󱘴"}.mdi-database-remove:before{content:"󰴀"}.mdi-database-remove-outline:before{content:"󱘵"}.mdi-database-search:before{content:"󰡦"}.mdi-database-search-outline:before{content:"󱘶"}.mdi-database-settings:before{content:"󰴁"}.mdi-database-settings-outline:before{content:"󱘷"}.mdi-database-sync:before{content:"󰳿"}.mdi-database-sync-outline:before{content:"󱘸"}.mdi-death-star:before{content:"󰣘"}.mdi-death-star-variant:before{content:"󰣙"}.mdi-deathly-hallows:before{content:"󰮇"}.mdi-debian:before{content:"󰣚"}.mdi-debug-step-into:before{content:"󰆹"}.mdi-debug-step-out:before{content:"󰆸"}.mdi-debug-step-over:before{content:"󰆷"}.mdi-decagram:before{content:"󰝬"}.mdi-decagram-outline:before{content:"󰝭"}.mdi-decimal:before{content:"󱂡"}.mdi-decimal-comma:before{content:"󱂢"}.mdi-decimal-comma-decrease:before{content:"󱂣"}.mdi-decimal-comma-increase:before{content:"󱂤"}.mdi-decimal-decrease:before{content:"󰆶"}.mdi-decimal-increase:before{content:"󰆵"}.mdi-delete:before{content:"󰆴"}.mdi-delete-alert:before{content:"󱂥"}.mdi-delete-alert-outline:before{content:"󱂦"}.mdi-delete-circle:before{content:"󰚃"}.mdi-delete-circle-outline:before{content:"󰮈"}.mdi-delete-clock:before{content:"󱕖"}.mdi-delete-clock-outline:before{content:"󱕗"}.mdi-delete-empty:before{content:"󰛌"}.mdi-delete-empty-outline:before{content:"󰺝"}.mdi-delete-forever:before{content:"󰗨"}.mdi-delete-forever-outline:before{content:"󰮉"}.mdi-delete-off:before{content:"󱂧"}.mdi-delete-off-outline:before{content:"󱂨"}.mdi-delete-outline:before{content:"󰧧"}.mdi-delete-restore:before{content:"󰠙"}.mdi-delete-sweep:before{content:"󰗩"}.mdi-delete-sweep-outline:before{content:"󰱢"}.mdi-delete-variant:before{content:"󰆳"}.mdi-delta:before{content:"󰇂"}.mdi-desk:before{content:"󱈹"}.mdi-desk-lamp:before{content:"󰥟"}.mdi-desk-lamp-off:before{content:"󱬟"}.mdi-desk-lamp-on:before{content:"󱬠"}.mdi-deskphone:before{content:"󰇃"}.mdi-desktop-classic:before{content:"󰟀"}.mdi-desktop-tower:before{content:"󰇅"}.mdi-desktop-tower-monitor:before{content:"󰪫"}.mdi-details:before{content:"󰇆"}.mdi-dev-to:before{content:"󰵮"}.mdi-developer-board:before{content:"󰚗"}.mdi-deviantart:before{content:"󰇇"}.mdi-devices:before{content:"󰾰"}.mdi-dharmachakra:before{content:"󰥋"}.mdi-diabetes:before{content:"󱄦"}.mdi-dialpad:before{content:"󰘜"}.mdi-diameter:before{content:"󰱣"}.mdi-diameter-outline:before{content:"󰱤"}.mdi-diameter-variant:before{content:"󰱥"}.mdi-diamond:before{content:"󰮊"}.mdi-diamond-outline:before{content:"󰮋"}.mdi-diamond-stone:before{content:"󰇈"}.mdi-dice-1:before{content:"󰇊"}.mdi-dice-1-outline:before{content:"󱅊"}.mdi-dice-2:before{content:"󰇋"}.mdi-dice-2-outline:before{content:"󱅋"}.mdi-dice-3:before{content:"󰇌"}.mdi-dice-3-outline:before{content:"󱅌"}.mdi-dice-4:before{content:"󰇍"}.mdi-dice-4-outline:before{content:"󱅍"}.mdi-dice-5:before{content:"󰇎"}.mdi-dice-5-outline:before{content:"󱅎"}.mdi-dice-6:before{content:"󰇏"}.mdi-dice-6-outline:before{content:"󱅏"}.mdi-dice-d10:before{content:"󱅓"}.mdi-dice-d10-outline:before{content:"󰝯"}.mdi-dice-d12:before{content:"󱅔"}.mdi-dice-d12-outline:before{content:"󰡧"}.mdi-dice-d20:before{content:"󱅕"}.mdi-dice-d20-outline:before{content:"󰗪"}.mdi-dice-d4:before{content:"󱅐"}.mdi-dice-d4-outline:before{content:"󰗫"}.mdi-dice-d6:before{content:"󱅑"}.mdi-dice-d6-outline:before{content:"󰗭"}.mdi-dice-d8:before{content:"󱅒"}.mdi-dice-d8-outline:before{content:"󰗬"}.mdi-dice-multiple:before{content:"󰝮"}.mdi-dice-multiple-outline:before{content:"󱅖"}.mdi-digital-ocean:before{content:"󱈷"}.mdi-dip-switch:before{content:"󰟁"}.mdi-directions:before{content:"󰇐"}.mdi-directions-fork:before{content:"󰙁"}.mdi-disc:before{content:"󰗮"}.mdi-disc-alert:before{content:"󰇑"}.mdi-disc-player:before{content:"󰥠"}.mdi-dishwasher:before{content:"󰪬"}.mdi-dishwasher-alert:before{content:"󱆸"}.mdi-dishwasher-off:before{content:"󱆹"}.mdi-disqus:before{content:"󰇒"}.mdi-distribute-horizontal-center:before{content:"󱇉"}.mdi-distribute-horizontal-left:before{content:"󱇈"}.mdi-distribute-horizontal-right:before{content:"󱇊"}.mdi-distribute-vertical-bottom:before{content:"󱇋"}.mdi-distribute-vertical-center:before{content:"󱇌"}.mdi-distribute-vertical-top:before{content:"󱇍"}.mdi-diversify:before{content:"󱡷"}.mdi-diving:before{content:"󱥷"}.mdi-diving-flippers:before{content:"󰶿"}.mdi-diving-helmet:before{content:"󰷀"}.mdi-diving-scuba:before{content:"󱭷"}.mdi-diving-scuba-flag:before{content:"󰷂"}.mdi-diving-scuba-mask:before{content:"󰷁"}.mdi-diving-scuba-tank:before{content:"󰷃"}.mdi-diving-scuba-tank-multiple:before{content:"󰷄"}.mdi-diving-snorkel:before{content:"󰷅"}.mdi-division:before{content:"󰇔"}.mdi-division-box:before{content:"󰇕"}.mdi-dlna:before{content:"󰩁"}.mdi-dna:before{content:"󰚄"}.mdi-dns:before{content:"󰇖"}.mdi-dns-outline:before{content:"󰮌"}.mdi-dock-bottom:before{content:"󱂩"}.mdi-dock-left:before{content:"󱂪"}.mdi-dock-right:before{content:"󱂫"}.mdi-dock-top:before{content:"󱔓"}.mdi-dock-window:before{content:"󱂬"}.mdi-docker:before{content:"󰡨"}.mdi-doctor:before{content:"󰩂"}.mdi-dog:before{content:"󰩃"}.mdi-dog-service:before{content:"󰪭"}.mdi-dog-side:before{content:"󰩄"}.mdi-dog-side-off:before{content:"󱛮"}.mdi-dolby:before{content:"󰚳"}.mdi-dolly:before{content:"󰺞"}.mdi-dolphin:before{content:"󱢴"}.mdi-domain:before{content:"󰇗"}.mdi-domain-off:before{content:"󰵯"}.mdi-domain-plus:before{content:"󱂭"}.mdi-domain-remove:before{content:"󱂮"}.mdi-domain-switch:before{content:"󱰬"}.mdi-dome-light:before{content:"󱐞"}.mdi-domino-mask:before{content:"󱀣"}.mdi-donkey:before{content:"󰟂"}.mdi-door:before{content:"󰠚"}.mdi-door-closed:before{content:"󰠛"}.mdi-door-closed-lock:before{content:"󱂯"}.mdi-door-open:before{content:"󰠜"}.mdi-door-sliding:before{content:"󱠞"}.mdi-door-sliding-lock:before{content:"󱠟"}.mdi-door-sliding-open:before{content:"󱠠"}.mdi-doorbell:before{content:"󱋦"}.mdi-doorbell-video:before{content:"󰡩"}.mdi-dot-net:before{content:"󰪮"}.mdi-dots-circle:before{content:"󱥸"}.mdi-dots-grid:before{content:"󱗼"}.mdi-dots-hexagon:before{content:"󱗿"}.mdi-dots-horizontal:before{content:"󰇘"}.mdi-dots-horizontal-circle:before{content:"󰟃"}.mdi-dots-horizontal-circle-outline:before{content:"󰮍"}.mdi-dots-square:before{content:"󱗽"}.mdi-dots-triangle:before{content:"󱗾"}.mdi-dots-vertical:before{content:"󰇙"}.mdi-dots-vertical-circle:before{content:"󰟄"}.mdi-dots-vertical-circle-outline:before{content:"󰮎"}.mdi-download:before{content:"󰇚"}.mdi-download-box:before{content:"󱑢"}.mdi-download-box-outline:before{content:"󱑣"}.mdi-download-circle:before{content:"󱑤"}.mdi-download-circle-outline:before{content:"󱑥"}.mdi-download-lock:before{content:"󱌠"}.mdi-download-lock-outline:before{content:"󱌡"}.mdi-download-multiple:before{content:"󰧩"}.mdi-download-network:before{content:"󰛴"}.mdi-download-network-outline:before{content:"󰱦"}.mdi-download-off:before{content:"󱂰"}.mdi-download-off-outline:before{content:"󱂱"}.mdi-download-outline:before{content:"󰮏"}.mdi-drag:before{content:"󰇛"}.mdi-drag-horizontal:before{content:"󰇜"}.mdi-drag-horizontal-variant:before{content:"󱋰"}.mdi-drag-variant:before{content:"󰮐"}.mdi-drag-vertical:before{content:"󰇝"}.mdi-drag-vertical-variant:before{content:"󱋱"}.mdi-drama-masks:before{content:"󰴂"}.mdi-draw:before{content:"󰽉"}.mdi-draw-pen:before{content:"󱦹"}.mdi-drawing:before{content:"󰇞"}.mdi-drawing-box:before{content:"󰇟"}.mdi-dresser:before{content:"󰽊"}.mdi-dresser-outline:before{content:"󰽋"}.mdi-drone:before{content:"󰇢"}.mdi-dropbox:before{content:"󰇣"}.mdi-drupal:before{content:"󰇤"}.mdi-duck:before{content:"󰇥"}.mdi-dumbbell:before{content:"󰇦"}.mdi-dump-truck:before{content:"󰱧"}.mdi-ear-hearing:before{content:"󰟅"}.mdi-ear-hearing-loop:before{content:"󱫮"}.mdi-ear-hearing-off:before{content:"󰩅"}.mdi-earbuds:before{content:"󱡏"}.mdi-earbuds-off:before{content:"󱡐"}.mdi-earbuds-off-outline:before{content:"󱡑"}.mdi-earbuds-outline:before{content:"󱡒"}.mdi-earth:before{content:"󰇧"}.mdi-earth-arrow-right:before{content:"󱌑"}.mdi-earth-box:before{content:"󰛍"}.mdi-earth-box-minus:before{content:"󱐇"}.mdi-earth-box-off:before{content:"󰛎"}.mdi-earth-box-plus:before{content:"󱐆"}.mdi-earth-box-remove:before{content:"󱐈"}.mdi-earth-minus:before{content:"󱐄"}.mdi-earth-off:before{content:"󰇨"}.mdi-earth-plus:before{content:"󱐃"}.mdi-earth-remove:before{content:"󱐅"}.mdi-egg:before{content:"󰪯"}.mdi-egg-easter:before{content:"󰪰"}.mdi-egg-fried:before{content:"󱡊"}.mdi-egg-off:before{content:"󱏰"}.mdi-egg-off-outline:before{content:"󱏱"}.mdi-egg-outline:before{content:"󱏲"}.mdi-eiffel-tower:before{content:"󱕫"}.mdi-eight-track:before{content:"󰧪"}.mdi-eject:before{content:"󰇪"}.mdi-eject-circle:before{content:"󱬣"}.mdi-eject-circle-outline:before{content:"󱬤"}.mdi-eject-outline:before{content:"󰮑"}.mdi-electric-switch:before{content:"󰺟"}.mdi-electric-switch-closed:before{content:"󱃙"}.mdi-electron-framework:before{content:"󱀤"}.mdi-elephant:before{content:"󰟆"}.mdi-elevation-decline:before{content:"󰇫"}.mdi-elevation-rise:before{content:"󰇬"}.mdi-elevator:before{content:"󰇭"}.mdi-elevator-down:before{content:"󱋂"}.mdi-elevator-passenger:before{content:"󱎁"}.mdi-elevator-passenger-off:before{content:"󱥹"}.mdi-elevator-passenger-off-outline:before{content:"󱥺"}.mdi-elevator-passenger-outline:before{content:"󱥻"}.mdi-elevator-up:before{content:"󱋁"}.mdi-ellipse:before{content:"󰺠"}.mdi-ellipse-outline:before{content:"󰺡"}.mdi-email:before{content:"󰇮"}.mdi-email-alert:before{content:"󰛏"}.mdi-email-alert-outline:before{content:"󰵂"}.mdi-email-arrow-left:before{content:"󱃚"}.mdi-email-arrow-left-outline:before{content:"󱃛"}.mdi-email-arrow-right:before{content:"󱃜"}.mdi-email-arrow-right-outline:before{content:"󱃝"}.mdi-email-box:before{content:"󰴃"}.mdi-email-check:before{content:"󰪱"}.mdi-email-check-outline:before{content:"󰪲"}.mdi-email-edit:before{content:"󰻣"}.mdi-email-edit-outline:before{content:"󰻤"}.mdi-email-fast:before{content:"󱡯"}.mdi-email-fast-outline:before{content:"󱡰"}.mdi-email-heart-outline:before{content:"󱱛"}.mdi-email-lock:before{content:"󰇱"}.mdi-email-lock-outline:before{content:"󱭡"}.mdi-email-mark-as-unread:before{content:"󰮒"}.mdi-email-minus:before{content:"󰻥"}.mdi-email-minus-outline:before{content:"󰻦"}.mdi-email-multiple:before{content:"󰻧"}.mdi-email-multiple-outline:before{content:"󰻨"}.mdi-email-newsletter:before{content:"󰾱"}.mdi-email-off:before{content:"󱏣"}.mdi-email-off-outline:before{content:"󱏤"}.mdi-email-open:before{content:"󰇯"}.mdi-email-open-heart-outline:before{content:"󱱜"}.mdi-email-open-multiple:before{content:"󰻩"}.mdi-email-open-multiple-outline:before{content:"󰻪"}.mdi-email-open-outline:before{content:"󰗯"}.mdi-email-outline:before{content:"󰇰"}.mdi-email-plus:before{content:"󰧫"}.mdi-email-plus-outline:before{content:"󰧬"}.mdi-email-remove:before{content:"󱙡"}.mdi-email-remove-outline:before{content:"󱙢"}.mdi-email-seal:before{content:"󱥛"}.mdi-email-seal-outline:before{content:"󱥜"}.mdi-email-search:before{content:"󰥡"}.mdi-email-search-outline:before{content:"󰥢"}.mdi-email-sync:before{content:"󱋇"}.mdi-email-sync-outline:before{content:"󱋈"}.mdi-email-variant:before{content:"󰗰"}.mdi-ember:before{content:"󰬰"}.mdi-emby:before{content:"󰚴"}.mdi-emoticon:before{content:"󰱨"}.mdi-emoticon-angry:before{content:"󰱩"}.mdi-emoticon-angry-outline:before{content:"󰱪"}.mdi-emoticon-confused:before{content:"󱃞"}.mdi-emoticon-confused-outline:before{content:"󱃟"}.mdi-emoticon-cool:before{content:"󰱫"}.mdi-emoticon-cool-outline:before{content:"󰇳"}.mdi-emoticon-cry:before{content:"󰱬"}.mdi-emoticon-cry-outline:before{content:"󰱭"}.mdi-emoticon-dead:before{content:"󰱮"}.mdi-emoticon-dead-outline:before{content:"󰚛"}.mdi-emoticon-devil:before{content:"󰱯"}.mdi-emoticon-devil-outline:before{content:"󰇴"}.mdi-emoticon-excited:before{content:"󰱰"}.mdi-emoticon-excited-outline:before{content:"󰚜"}.mdi-emoticon-frown:before{content:"󰽌"}.mdi-emoticon-frown-outline:before{content:"󰽍"}.mdi-emoticon-happy:before{content:"󰱱"}.mdi-emoticon-happy-outline:before{content:"󰇵"}.mdi-emoticon-kiss:before{content:"󰱲"}.mdi-emoticon-kiss-outline:before{content:"󰱳"}.mdi-emoticon-lol:before{content:"󱈔"}.mdi-emoticon-lol-outline:before{content:"󱈕"}.mdi-emoticon-neutral:before{content:"󰱴"}.mdi-emoticon-neutral-outline:before{content:"󰇶"}.mdi-emoticon-outline:before{content:"󰇲"}.mdi-emoticon-poop:before{content:"󰇷"}.mdi-emoticon-poop-outline:before{content:"󰱵"}.mdi-emoticon-sad:before{content:"󰱶"}.mdi-emoticon-sad-outline:before{content:"󰇸"}.mdi-emoticon-sick:before{content:"󱕼"}.mdi-emoticon-sick-outline:before{content:"󱕽"}.mdi-emoticon-tongue:before{content:"󰇹"}.mdi-emoticon-tongue-outline:before{content:"󰱷"}.mdi-emoticon-wink:before{content:"󰱸"}.mdi-emoticon-wink-outline:before{content:"󰱹"}.mdi-engine:before{content:"󰇺"}.mdi-engine-off:before{content:"󰩆"}.mdi-engine-off-outline:before{content:"󰩇"}.mdi-engine-outline:before{content:"󰇻"}.mdi-epsilon:before{content:"󱃠"}.mdi-equal:before{content:"󰇼"}.mdi-equal-box:before{content:"󰇽"}.mdi-equalizer:before{content:"󰺢"}.mdi-equalizer-outline:before{content:"󰺣"}.mdi-eraser:before{content:"󰇾"}.mdi-eraser-variant:before{content:"󰙂"}.mdi-escalator:before{content:"󰇿"}.mdi-escalator-box:before{content:"󱎙"}.mdi-escalator-down:before{content:"󱋀"}.mdi-escalator-up:before{content:"󱊿"}.mdi-eslint:before{content:"󰱺"}.mdi-et:before{content:"󰪳"}.mdi-ethereum:before{content:"󰡪"}.mdi-ethernet:before{content:"󰈀"}.mdi-ethernet-cable:before{content:"󰈁"}.mdi-ethernet-cable-off:before{content:"󰈂"}.mdi-ev-plug-ccs1:before{content:"󱔙"}.mdi-ev-plug-ccs2:before{content:"󱔚"}.mdi-ev-plug-chademo:before{content:"󱔛"}.mdi-ev-plug-tesla:before{content:"󱔜"}.mdi-ev-plug-type1:before{content:"󱔝"}.mdi-ev-plug-type2:before{content:"󱔞"}.mdi-ev-station:before{content:"󰗱"}.mdi-evernote:before{content:"󰈄"}.mdi-excavator:before{content:"󱀥"}.mdi-exclamation:before{content:"󰈅"}.mdi-exclamation-thick:before{content:"󱈸"}.mdi-exit-run:before{content:"󰩈"}.mdi-exit-to-app:before{content:"󰈆"}.mdi-expand-all:before{content:"󰪴"}.mdi-expand-all-outline:before{content:"󰪵"}.mdi-expansion-card:before{content:"󰢮"}.mdi-expansion-card-variant:before{content:"󰾲"}.mdi-exponent:before{content:"󰥣"}.mdi-exponent-box:before{content:"󰥤"}.mdi-export:before{content:"󰈇"}.mdi-export-variant:before{content:"󰮓"}.mdi-eye:before{content:"󰈈"}.mdi-eye-arrow-left:before{content:"󱣽"}.mdi-eye-arrow-left-outline:before{content:"󱣾"}.mdi-eye-arrow-right:before{content:"󱣿"}.mdi-eye-arrow-right-outline:before{content:"󱤀"}.mdi-eye-check:before{content:"󰴄"}.mdi-eye-check-outline:before{content:"󰴅"}.mdi-eye-circle:before{content:"󰮔"}.mdi-eye-circle-outline:before{content:"󰮕"}.mdi-eye-lock:before{content:"󱰆"}.mdi-eye-lock-open:before{content:"󱰇"}.mdi-eye-lock-open-outline:before{content:"󱰈"}.mdi-eye-lock-outline:before{content:"󱰉"}.mdi-eye-minus:before{content:"󱀦"}.mdi-eye-minus-outline:before{content:"󱀧"}.mdi-eye-off:before{content:"󰈉"}.mdi-eye-off-outline:before{content:"󰛑"}.mdi-eye-outline:before{content:"󰛐"}.mdi-eye-plus:before{content:"󰡫"}.mdi-eye-plus-outline:before{content:"󰡬"}.mdi-eye-refresh:before{content:"󱥼"}.mdi-eye-refresh-outline:before{content:"󱥽"}.mdi-eye-remove:before{content:"󱗣"}.mdi-eye-remove-outline:before{content:"󱗤"}.mdi-eye-settings:before{content:"󰡭"}.mdi-eye-settings-outline:before{content:"󰡮"}.mdi-eyedropper:before{content:"󰈊"}.mdi-eyedropper-minus:before{content:"󱏝"}.mdi-eyedropper-off:before{content:"󱏟"}.mdi-eyedropper-plus:before{content:"󱏜"}.mdi-eyedropper-remove:before{content:"󱏞"}.mdi-eyedropper-variant:before{content:"󰈋"}.mdi-face-agent:before{content:"󰵰"}.mdi-face-man:before{content:"󰙃"}.mdi-face-man-outline:before{content:"󰮖"}.mdi-face-man-profile:before{content:"󰙄"}.mdi-face-man-shimmer:before{content:"󱗌"}.mdi-face-man-shimmer-outline:before{content:"󱗍"}.mdi-face-mask:before{content:"󱖆"}.mdi-face-mask-outline:before{content:"󱖇"}.mdi-face-recognition:before{content:"󰱻"}.mdi-face-woman:before{content:"󱁷"}.mdi-face-woman-outline:before{content:"󱁸"}.mdi-face-woman-profile:before{content:"󱁶"}.mdi-face-woman-shimmer:before{content:"󱗎"}.mdi-face-woman-shimmer-outline:before{content:"󱗏"}.mdi-facebook:before{content:"󰈌"}.mdi-facebook-gaming:before{content:"󰟝"}.mdi-facebook-messenger:before{content:"󰈎"}.mdi-facebook-workplace:before{content:"󰬱"}.mdi-factory:before{content:"󰈏"}.mdi-family-tree:before{content:"󱘎"}.mdi-fan:before{content:"󰈐"}.mdi-fan-alert:before{content:"󱑬"}.mdi-fan-auto:before{content:"󱜝"}.mdi-fan-chevron-down:before{content:"󱑭"}.mdi-fan-chevron-up:before{content:"󱑮"}.mdi-fan-clock:before{content:"󱨺"}.mdi-fan-minus:before{content:"󱑰"}.mdi-fan-off:before{content:"󰠝"}.mdi-fan-plus:before{content:"󱑯"}.mdi-fan-remove:before{content:"󱑱"}.mdi-fan-speed-1:before{content:"󱑲"}.mdi-fan-speed-2:before{content:"󱑳"}.mdi-fan-speed-3:before{content:"󱑴"}.mdi-fast-forward:before{content:"󰈑"}.mdi-fast-forward-10:before{content:"󰵱"}.mdi-fast-forward-15:before{content:"󱤺"}.mdi-fast-forward-30:before{content:"󰴆"}.mdi-fast-forward-45:before{content:"󱬒"}.mdi-fast-forward-5:before{content:"󱇸"}.mdi-fast-forward-60:before{content:"󱘋"}.mdi-fast-forward-outline:before{content:"󰛒"}.mdi-faucet:before{content:"󱬩"}.mdi-faucet-variant:before{content:"󱬪"}.mdi-fax:before{content:"󰈒"}.mdi-feather:before{content:"󰛓"}.mdi-feature-search:before{content:"󰩉"}.mdi-feature-search-outline:before{content:"󰩊"}.mdi-fedora:before{content:"󰣛"}.mdi-fence:before{content:"󱞚"}.mdi-fence-electric:before{content:"󱟶"}.mdi-fencing:before{content:"󱓁"}.mdi-ferris-wheel:before{content:"󰺤"}.mdi-ferry:before{content:"󰈓"}.mdi-file:before{content:"󰈔"}.mdi-file-account:before{content:"󰜻"}.mdi-file-account-outline:before{content:"󱀨"}.mdi-file-alert:before{content:"󰩋"}.mdi-file-alert-outline:before{content:"󰩌"}.mdi-file-arrow-left-right:before{content:"󱪓"}.mdi-file-arrow-left-right-outline:before{content:"󱪔"}.mdi-file-arrow-up-down:before{content:"󱪕"}.mdi-file-arrow-up-down-outline:before{content:"󱪖"}.mdi-file-cabinet:before{content:"󰪶"}.mdi-file-cad:before{content:"󰻫"}.mdi-file-cad-box:before{content:"󰻬"}.mdi-file-cancel:before{content:"󰷆"}.mdi-file-cancel-outline:before{content:"󰷇"}.mdi-file-certificate:before{content:"󱆆"}.mdi-file-certificate-outline:before{content:"󱆇"}.mdi-file-chart:before{content:"󰈕"}.mdi-file-chart-check:before{content:"󱧆"}.mdi-file-chart-check-outline:before{content:"󱧇"}.mdi-file-chart-outline:before{content:"󱀩"}.mdi-file-check:before{content:"󰈖"}.mdi-file-check-outline:before{content:"󰸩"}.mdi-file-clock:before{content:"󱋡"}.mdi-file-clock-outline:before{content:"󱋢"}.mdi-file-cloud:before{content:"󰈗"}.mdi-file-cloud-outline:before{content:"󱀪"}.mdi-file-code:before{content:"󰈮"}.mdi-file-code-outline:before{content:"󱀫"}.mdi-file-cog:before{content:"󱁻"}.mdi-file-cog-outline:before{content:"󱁼"}.mdi-file-compare:before{content:"󰢪"}.mdi-file-delimited:before{content:"󰈘"}.mdi-file-delimited-outline:before{content:"󰺥"}.mdi-file-document:before{content:"󰈙"}.mdi-file-document-alert:before{content:"󱪗"}.mdi-file-document-alert-outline:before{content:"󱪘"}.mdi-file-document-arrow-right:before{content:"󱰏"}.mdi-file-document-arrow-right-outline:before{content:"󱰐"}.mdi-file-document-check:before{content:"󱪙"}.mdi-file-document-check-outline:before{content:"󱪚"}.mdi-file-document-edit:before{content:"󰷈"}.mdi-file-document-edit-outline:before{content:"󰷉"}.mdi-file-document-minus:before{content:"󱪛"}.mdi-file-document-minus-outline:before{content:"󱪜"}.mdi-file-document-multiple:before{content:"󱔗"}.mdi-file-document-multiple-outline:before{content:"󱔘"}.mdi-file-document-outline:before{content:"󰧮"}.mdi-file-document-plus:before{content:"󱪝"}.mdi-file-document-plus-outline:before{content:"󱪞"}.mdi-file-document-refresh:before{content:"󱱺"}.mdi-file-document-refresh-outline:before{content:"󱱻"}.mdi-file-document-remove:before{content:"󱪟"}.mdi-file-document-remove-outline:before{content:"󱪠"}.mdi-file-download:before{content:"󰥥"}.mdi-file-download-outline:before{content:"󰥦"}.mdi-file-edit:before{content:"󱇧"}.mdi-file-edit-outline:before{content:"󱇨"}.mdi-file-excel:before{content:"󰈛"}.mdi-file-excel-box:before{content:"󰈜"}.mdi-file-excel-box-outline:before{content:"󱀬"}.mdi-file-excel-outline:before{content:"󱀭"}.mdi-file-export:before{content:"󰈝"}.mdi-file-export-outline:before{content:"󱀮"}.mdi-file-eye:before{content:"󰷊"}.mdi-file-eye-outline:before{content:"󰷋"}.mdi-file-find:before{content:"󰈞"}.mdi-file-find-outline:before{content:"󰮗"}.mdi-file-gif-box:before{content:"󰵸"}.mdi-file-hidden:before{content:"󰘓"}.mdi-file-image:before{content:"󰈟"}.mdi-file-image-marker:before{content:"󱝲"}.mdi-file-image-marker-outline:before{content:"󱝳"}.mdi-file-image-minus:before{content:"󱤻"}.mdi-file-image-minus-outline:before{content:"󱤼"}.mdi-file-image-outline:before{content:"󰺰"}.mdi-file-image-plus:before{content:"󱤽"}.mdi-file-image-plus-outline:before{content:"󱤾"}.mdi-file-image-remove:before{content:"󱤿"}.mdi-file-image-remove-outline:before{content:"󱥀"}.mdi-file-import:before{content:"󰈠"}.mdi-file-import-outline:before{content:"󱀯"}.mdi-file-jpg-box:before{content:"󰈥"}.mdi-file-key:before{content:"󱆄"}.mdi-file-key-outline:before{content:"󱆅"}.mdi-file-link:before{content:"󱅷"}.mdi-file-link-outline:before{content:"󱅸"}.mdi-file-lock:before{content:"󰈡"}.mdi-file-lock-open:before{content:"󱧈"}.mdi-file-lock-open-outline:before{content:"󱧉"}.mdi-file-lock-outline:before{content:"󱀰"}.mdi-file-marker:before{content:"󱝴"}.mdi-file-marker-outline:before{content:"󱝵"}.mdi-file-minus:before{content:"󱪡"}.mdi-file-minus-outline:before{content:"󱪢"}.mdi-file-move:before{content:"󰪹"}.mdi-file-move-outline:before{content:"󱀱"}.mdi-file-multiple:before{content:"󰈢"}.mdi-file-multiple-outline:before{content:"󱀲"}.mdi-file-music:before{content:"󰈣"}.mdi-file-music-outline:before{content:"󰸪"}.mdi-file-outline:before{content:"󰈤"}.mdi-file-pdf-box:before{content:"󰈦"}.mdi-file-percent:before{content:"󰠞"}.mdi-file-percent-outline:before{content:"󱀳"}.mdi-file-phone:before{content:"󱅹"}.mdi-file-phone-outline:before{content:"󱅺"}.mdi-file-plus:before{content:"󰝒"}.mdi-file-plus-outline:before{content:"󰻭"}.mdi-file-png-box:before{content:"󰸭"}.mdi-file-powerpoint:before{content:"󰈧"}.mdi-file-powerpoint-box:before{content:"󰈨"}.mdi-file-powerpoint-box-outline:before{content:"󱀴"}.mdi-file-powerpoint-outline:before{content:"󱀵"}.mdi-file-presentation-box:before{content:"󰈩"}.mdi-file-question:before{content:"󰡯"}.mdi-file-question-outline:before{content:"󱀶"}.mdi-file-refresh:before{content:"󰤘"}.mdi-file-refresh-outline:before{content:"󰕁"}.mdi-file-remove:before{content:"󰮘"}.mdi-file-remove-outline:before{content:"󱀷"}.mdi-file-replace:before{content:"󰬲"}.mdi-file-replace-outline:before{content:"󰬳"}.mdi-file-restore:before{content:"󰙰"}.mdi-file-restore-outline:before{content:"󱀸"}.mdi-file-rotate-left:before{content:"󱨻"}.mdi-file-rotate-left-outline:before{content:"󱨼"}.mdi-file-rotate-right:before{content:"󱨽"}.mdi-file-rotate-right-outline:before{content:"󱨾"}.mdi-file-search:before{content:"󰱼"}.mdi-file-search-outline:before{content:"󰱽"}.mdi-file-send:before{content:"󰈪"}.mdi-file-send-outline:before{content:"󱀹"}.mdi-file-settings:before{content:"󱁹"}.mdi-file-settings-outline:before{content:"󱁺"}.mdi-file-sign:before{content:"󱧃"}.mdi-file-star:before{content:"󱀺"}.mdi-file-star-four-points:before{content:"󱰭"}.mdi-file-star-four-points-outline:before{content:"󱰮"}.mdi-file-star-outline:before{content:"󱀻"}.mdi-file-swap:before{content:"󰾴"}.mdi-file-swap-outline:before{content:"󰾵"}.mdi-file-sync:before{content:"󱈖"}.mdi-file-sync-outline:before{content:"󱈗"}.mdi-file-table:before{content:"󰱾"}.mdi-file-table-box:before{content:"󱃡"}.mdi-file-table-box-multiple:before{content:"󱃢"}.mdi-file-table-box-multiple-outline:before{content:"󱃣"}.mdi-file-table-box-outline:before{content:"󱃤"}.mdi-file-table-outline:before{content:"󰱿"}.mdi-file-tree:before{content:"󰙅"}.mdi-file-tree-outline:before{content:"󱏒"}.mdi-file-undo:before{content:"󰣜"}.mdi-file-undo-outline:before{content:"󱀼"}.mdi-file-upload:before{content:"󰩍"}.mdi-file-upload-outline:before{content:"󰩎"}.mdi-file-video:before{content:"󰈫"}.mdi-file-video-outline:before{content:"󰸬"}.mdi-file-word:before{content:"󰈬"}.mdi-file-word-box:before{content:"󰈭"}.mdi-file-word-box-outline:before{content:"󱀽"}.mdi-file-word-outline:before{content:"󱀾"}.mdi-file-xml-box:before{content:"󱭋"}.mdi-film:before{content:"󰈯"}.mdi-filmstrip:before{content:"󰈰"}.mdi-filmstrip-box:before{content:"󰌲"}.mdi-filmstrip-box-multiple:before{content:"󰴘"}.mdi-filmstrip-off:before{content:"󰈱"}.mdi-filter:before{content:"󰈲"}.mdi-filter-check:before{content:"󱣬"}.mdi-filter-check-outline:before{content:"󱣭"}.mdi-filter-cog:before{content:"󱪣"}.mdi-filter-cog-outline:before{content:"󱪤"}.mdi-filter-menu:before{content:"󱃥"}.mdi-filter-menu-outline:before{content:"󱃦"}.mdi-filter-minus:before{content:"󰻮"}.mdi-filter-minus-outline:before{content:"󰻯"}.mdi-filter-multiple:before{content:"󱨿"}.mdi-filter-multiple-outline:before{content:"󱩀"}.mdi-filter-off:before{content:"󱓯"}.mdi-filter-off-outline:before{content:"󱓰"}.mdi-filter-outline:before{content:"󰈳"}.mdi-filter-plus:before{content:"󰻰"}.mdi-filter-plus-outline:before{content:"󰻱"}.mdi-filter-remove:before{content:"󰈴"}.mdi-filter-remove-outline:before{content:"󰈵"}.mdi-filter-settings:before{content:"󱪥"}.mdi-filter-settings-outline:before{content:"󱪦"}.mdi-filter-variant:before{content:"󰈶"}.mdi-filter-variant-minus:before{content:"󱄒"}.mdi-filter-variant-plus:before{content:"󱄓"}.mdi-filter-variant-remove:before{content:"󱀿"}.mdi-finance:before{content:"󰠟"}.mdi-find-replace:before{content:"󰛔"}.mdi-fingerprint:before{content:"󰈷"}.mdi-fingerprint-off:before{content:"󰺱"}.mdi-fire:before{content:"󰈸"}.mdi-fire-alert:before{content:"󱗗"}.mdi-fire-circle:before{content:"󱠇"}.mdi-fire-extinguisher:before{content:"󰻲"}.mdi-fire-hydrant:before{content:"󱄷"}.mdi-fire-hydrant-alert:before{content:"󱄸"}.mdi-fire-hydrant-off:before{content:"󱄹"}.mdi-fire-off:before{content:"󱜢"}.mdi-fire-truck:before{content:"󰢫"}.mdi-firebase:before{content:"󰥧"}.mdi-firefox:before{content:"󰈹"}.mdi-fireplace:before{content:"󰸮"}.mdi-fireplace-off:before{content:"󰸯"}.mdi-firewire:before{content:"󰖾"}.mdi-firework:before{content:"󰸰"}.mdi-firework-off:before{content:"󱜣"}.mdi-fish:before{content:"󰈺"}.mdi-fish-off:before{content:"󱏳"}.mdi-fishbowl:before{content:"󰻳"}.mdi-fishbowl-outline:before{content:"󰻴"}.mdi-fit-to-page:before{content:"󰻵"}.mdi-fit-to-page-outline:before{content:"󰻶"}.mdi-fit-to-screen:before{content:"󱣴"}.mdi-fit-to-screen-outline:before{content:"󱣵"}.mdi-flag:before{content:"󰈻"}.mdi-flag-checkered:before{content:"󰈼"}.mdi-flag-minus:before{content:"󰮙"}.mdi-flag-minus-outline:before{content:"󱂲"}.mdi-flag-off:before{content:"󱣮"}.mdi-flag-off-outline:before{content:"󱣯"}.mdi-flag-outline:before{content:"󰈽"}.mdi-flag-plus:before{content:"󰮚"}.mdi-flag-plus-outline:before{content:"󱂳"}.mdi-flag-remove:before{content:"󰮛"}.mdi-flag-remove-outline:before{content:"󱂴"}.mdi-flag-triangle:before{content:"󰈿"}.mdi-flag-variant:before{content:"󰉀"}.mdi-flag-variant-minus:before{content:"󱮴"}.mdi-flag-variant-minus-outline:before{content:"󱮵"}.mdi-flag-variant-off:before{content:"󱮰"}.mdi-flag-variant-off-outline:before{content:"󱮱"}.mdi-flag-variant-outline:before{content:"󰈾"}.mdi-flag-variant-plus:before{content:"󱮲"}.mdi-flag-variant-plus-outline:before{content:"󱮳"}.mdi-flag-variant-remove:before{content:"󱮶"}.mdi-flag-variant-remove-outline:before{content:"󱮷"}.mdi-flare:before{content:"󰵲"}.mdi-flash:before{content:"󰉁"}.mdi-flash-alert:before{content:"󰻷"}.mdi-flash-alert-outline:before{content:"󰻸"}.mdi-flash-auto:before{content:"󰉂"}.mdi-flash-off:before{content:"󰉃"}.mdi-flash-off-outline:before{content:"󱭅"}.mdi-flash-outline:before{content:"󰛕"}.mdi-flash-red-eye:before{content:"󰙻"}.mdi-flash-triangle:before{content:"󱬝"}.mdi-flash-triangle-outline:before{content:"󱬞"}.mdi-flashlight:before{content:"󰉄"}.mdi-flashlight-off:before{content:"󰉅"}.mdi-flask:before{content:"󰂓"}.mdi-flask-empty:before{content:"󰂔"}.mdi-flask-empty-minus:before{content:"󱈺"}.mdi-flask-empty-minus-outline:before{content:"󱈻"}.mdi-flask-empty-off:before{content:"󱏴"}.mdi-flask-empty-off-outline:before{content:"󱏵"}.mdi-flask-empty-outline:before{content:"󰂕"}.mdi-flask-empty-plus:before{content:"󱈼"}.mdi-flask-empty-plus-outline:before{content:"󱈽"}.mdi-flask-empty-remove:before{content:"󱈾"}.mdi-flask-empty-remove-outline:before{content:"󱈿"}.mdi-flask-minus:before{content:"󱉀"}.mdi-flask-minus-outline:before{content:"󱉁"}.mdi-flask-off:before{content:"󱏶"}.mdi-flask-off-outline:before{content:"󱏷"}.mdi-flask-outline:before{content:"󰂖"}.mdi-flask-plus:before{content:"󱉂"}.mdi-flask-plus-outline:before{content:"󱉃"}.mdi-flask-remove:before{content:"󱉄"}.mdi-flask-remove-outline:before{content:"󱉅"}.mdi-flask-round-bottom:before{content:"󱉋"}.mdi-flask-round-bottom-empty:before{content:"󱉌"}.mdi-flask-round-bottom-empty-outline:before{content:"󱉍"}.mdi-flask-round-bottom-outline:before{content:"󱉎"}.mdi-fleur-de-lis:before{content:"󱌃"}.mdi-flip-horizontal:before{content:"󱃧"}.mdi-flip-to-back:before{content:"󰉇"}.mdi-flip-to-front:before{content:"󰉈"}.mdi-flip-vertical:before{content:"󱃨"}.mdi-floor-lamp:before{content:"󰣝"}.mdi-floor-lamp-dual:before{content:"󱁀"}.mdi-floor-lamp-dual-outline:before{content:"󱟎"}.mdi-floor-lamp-outline:before{content:"󱟈"}.mdi-floor-lamp-torchiere:before{content:"󱝇"}.mdi-floor-lamp-torchiere-outline:before{content:"󱟖"}.mdi-floor-lamp-torchiere-variant:before{content:"󱁁"}.mdi-floor-lamp-torchiere-variant-outline:before{content:"󱟏"}.mdi-floor-plan:before{content:"󰠡"}.mdi-floppy:before{content:"󰉉"}.mdi-floppy-variant:before{content:"󰧯"}.mdi-flower:before{content:"󰉊"}.mdi-flower-outline:before{content:"󰧰"}.mdi-flower-pollen:before{content:"󱢅"}.mdi-flower-pollen-outline:before{content:"󱢆"}.mdi-flower-poppy:before{content:"󰴈"}.mdi-flower-tulip:before{content:"󰧱"}.mdi-flower-tulip-outline:before{content:"󰧲"}.mdi-focus-auto:before{content:"󰽎"}.mdi-focus-field:before{content:"󰽏"}.mdi-focus-field-horizontal:before{content:"󰽐"}.mdi-focus-field-vertical:before{content:"󰽑"}.mdi-folder:before{content:"󰉋"}.mdi-folder-account:before{content:"󰉌"}.mdi-folder-account-outline:before{content:"󰮜"}.mdi-folder-alert:before{content:"󰷌"}.mdi-folder-alert-outline:before{content:"󰷍"}.mdi-folder-arrow-down:before{content:"󱧨"}.mdi-folder-arrow-down-outline:before{content:"󱧩"}.mdi-folder-arrow-left:before{content:"󱧪"}.mdi-folder-arrow-left-outline:before{content:"󱧫"}.mdi-folder-arrow-left-right:before{content:"󱧬"}.mdi-folder-arrow-left-right-outline:before{content:"󱧭"}.mdi-folder-arrow-right:before{content:"󱧮"}.mdi-folder-arrow-right-outline:before{content:"󱧯"}.mdi-folder-arrow-up:before{content:"󱧰"}.mdi-folder-arrow-up-down:before{content:"󱧱"}.mdi-folder-arrow-up-down-outline:before{content:"󱧲"}.mdi-folder-arrow-up-outline:before{content:"󱧳"}.mdi-folder-cancel:before{content:"󱧴"}.mdi-folder-cancel-outline:before{content:"󱧵"}.mdi-folder-check:before{content:"󱥾"}.mdi-folder-check-outline:before{content:"󱥿"}.mdi-folder-clock:before{content:"󰪺"}.mdi-folder-clock-outline:before{content:"󰪻"}.mdi-folder-cog:before{content:"󱁿"}.mdi-folder-cog-outline:before{content:"󱂀"}.mdi-folder-download:before{content:"󰉍"}.mdi-folder-download-outline:before{content:"󱃩"}.mdi-folder-edit:before{content:"󰣞"}.mdi-folder-edit-outline:before{content:"󰷎"}.mdi-folder-eye:before{content:"󱞊"}.mdi-folder-eye-outline:before{content:"󱞋"}.mdi-folder-file:before{content:"󱧶"}.mdi-folder-file-outline:before{content:"󱧷"}.mdi-folder-google-drive:before{content:"󰉎"}.mdi-folder-heart:before{content:"󱃪"}.mdi-folder-heart-outline:before{content:"󱃫"}.mdi-folder-hidden:before{content:"󱞞"}.mdi-folder-home:before{content:"󱂵"}.mdi-folder-home-outline:before{content:"󱂶"}.mdi-folder-image:before{content:"󰉏"}.mdi-folder-information:before{content:"󱂷"}.mdi-folder-information-outline:before{content:"󱂸"}.mdi-folder-key:before{content:"󰢬"}.mdi-folder-key-network:before{content:"󰢭"}.mdi-folder-key-network-outline:before{content:"󰲀"}.mdi-folder-key-outline:before{content:"󱃬"}.mdi-folder-lock:before{content:"󰉐"}.mdi-folder-lock-open:before{content:"󰉑"}.mdi-folder-lock-open-outline:before{content:"󱪧"}.mdi-folder-lock-outline:before{content:"󱪨"}.mdi-folder-marker:before{content:"󱉭"}.mdi-folder-marker-outline:before{content:"󱉮"}.mdi-folder-minus:before{content:"󱭉"}.mdi-folder-minus-outline:before{content:"󱭊"}.mdi-folder-move:before{content:"󰉒"}.mdi-folder-move-outline:before{content:"󱉆"}.mdi-folder-multiple:before{content:"󰉓"}.mdi-folder-multiple-image:before{content:"󰉔"}.mdi-folder-multiple-outline:before{content:"󰉕"}.mdi-folder-multiple-plus:before{content:"󱑾"}.mdi-folder-multiple-plus-outline:before{content:"󱑿"}.mdi-folder-music:before{content:"󱍙"}.mdi-folder-music-outline:before{content:"󱍚"}.mdi-folder-network:before{content:"󰡰"}.mdi-folder-network-outline:before{content:"󰲁"}.mdi-folder-off:before{content:"󱧸"}.mdi-folder-off-outline:before{content:"󱧹"}.mdi-folder-open:before{content:"󰝰"}.mdi-folder-open-outline:before{content:"󰷏"}.mdi-folder-outline:before{content:"󰉖"}.mdi-folder-play:before{content:"󱧺"}.mdi-folder-play-outline:before{content:"󱧻"}.mdi-folder-plus:before{content:"󰉗"}.mdi-folder-plus-outline:before{content:"󰮝"}.mdi-folder-pound:before{content:"󰴉"}.mdi-folder-pound-outline:before{content:"󰴊"}.mdi-folder-question:before{content:"󱧊"}.mdi-folder-question-outline:before{content:"󱧋"}.mdi-folder-refresh:before{content:"󰝉"}.mdi-folder-refresh-outline:before{content:"󰕂"}.mdi-folder-remove:before{content:"󰉘"}.mdi-folder-remove-outline:before{content:"󰮞"}.mdi-folder-search:before{content:"󰥨"}.mdi-folder-search-outline:before{content:"󰥩"}.mdi-folder-settings:before{content:"󱁽"}.mdi-folder-settings-outline:before{content:"󱁾"}.mdi-folder-star:before{content:"󰚝"}.mdi-folder-star-multiple:before{content:"󱏓"}.mdi-folder-star-multiple-outline:before{content:"󱏔"}.mdi-folder-star-outline:before{content:"󰮟"}.mdi-folder-swap:before{content:"󰾶"}.mdi-folder-swap-outline:before{content:"󰾷"}.mdi-folder-sync:before{content:"󰴋"}.mdi-folder-sync-outline:before{content:"󰴌"}.mdi-folder-table:before{content:"󱋣"}.mdi-folder-table-outline:before{content:"󱋤"}.mdi-folder-text:before{content:"󰲂"}.mdi-folder-text-outline:before{content:"󰲃"}.mdi-folder-upload:before{content:"󰉙"}.mdi-folder-upload-outline:before{content:"󱃭"}.mdi-folder-wrench:before{content:"󱧼"}.mdi-folder-wrench-outline:before{content:"󱧽"}.mdi-folder-zip:before{content:"󰛫"}.mdi-folder-zip-outline:before{content:"󰞹"}.mdi-font-awesome:before{content:"󰀺"}.mdi-food:before{content:"󰉚"}.mdi-food-apple:before{content:"󰉛"}.mdi-food-apple-outline:before{content:"󰲄"}.mdi-food-croissant:before{content:"󰟈"}.mdi-food-drumstick:before{content:"󱐟"}.mdi-food-drumstick-off:before{content:"󱑨"}.mdi-food-drumstick-off-outline:before{content:"󱑩"}.mdi-food-drumstick-outline:before{content:"󱐠"}.mdi-food-fork-drink:before{content:"󰗲"}.mdi-food-halal:before{content:"󱕲"}.mdi-food-hot-dog:before{content:"󱡋"}.mdi-food-kosher:before{content:"󱕳"}.mdi-food-off:before{content:"󰗳"}.mdi-food-off-outline:before{content:"󱤕"}.mdi-food-outline:before{content:"󱤖"}.mdi-food-steak:before{content:"󱑪"}.mdi-food-steak-off:before{content:"󱑫"}.mdi-food-takeout-box:before{content:"󱠶"}.mdi-food-takeout-box-outline:before{content:"󱠷"}.mdi-food-turkey:before{content:"󱜜"}.mdi-food-variant:before{content:"󰉜"}.mdi-food-variant-off:before{content:"󱏥"}.mdi-foot-print:before{content:"󰽒"}.mdi-football:before{content:"󰉝"}.mdi-football-australian:before{content:"󰉞"}.mdi-football-helmet:before{content:"󰉟"}.mdi-forest:before{content:"󱢗"}.mdi-forest-outline:before{content:"󱱣"}.mdi-forklift:before{content:"󰟉"}.mdi-form-dropdown:before{content:"󱐀"}.mdi-form-select:before{content:"󱐁"}.mdi-form-textarea:before{content:"󱂕"}.mdi-form-textbox:before{content:"󰘎"}.mdi-form-textbox-lock:before{content:"󱍝"}.mdi-form-textbox-password:before{content:"󰟵"}.mdi-format-align-bottom:before{content:"󰝓"}.mdi-format-align-center:before{content:"󰉠"}.mdi-format-align-justify:before{content:"󰉡"}.mdi-format-align-left:before{content:"󰉢"}.mdi-format-align-middle:before{content:"󰝔"}.mdi-format-align-right:before{content:"󰉣"}.mdi-format-align-top:before{content:"󰝕"}.mdi-format-annotation-minus:before{content:"󰪼"}.mdi-format-annotation-plus:before{content:"󰙆"}.mdi-format-bold:before{content:"󰉤"}.mdi-format-clear:before{content:"󰉥"}.mdi-format-color-fill:before{content:"󰉦"}.mdi-format-color-highlight:before{content:"󰸱"}.mdi-format-color-marker-cancel:before{content:"󱌓"}.mdi-format-color-text:before{content:"󰚞"}.mdi-format-columns:before{content:"󰣟"}.mdi-format-float-center:before{content:"󰉧"}.mdi-format-float-left:before{content:"󰉨"}.mdi-format-float-none:before{content:"󰉩"}.mdi-format-float-right:before{content:"󰉪"}.mdi-format-font:before{content:"󰛖"}.mdi-format-font-size-decrease:before{content:"󰧳"}.mdi-format-font-size-increase:before{content:"󰧴"}.mdi-format-header-1:before{content:"󰉫"}.mdi-format-header-2:before{content:"󰉬"}.mdi-format-header-3:before{content:"󰉭"}.mdi-format-header-4:before{content:"󰉮"}.mdi-format-header-5:before{content:"󰉯"}.mdi-format-header-6:before{content:"󰉰"}.mdi-format-header-decrease:before{content:"󰉱"}.mdi-format-header-equal:before{content:"󰉲"}.mdi-format-header-increase:before{content:"󰉳"}.mdi-format-header-pound:before{content:"󰉴"}.mdi-format-horizontal-align-center:before{content:"󰘞"}.mdi-format-horizontal-align-left:before{content:"󰘟"}.mdi-format-horizontal-align-right:before{content:"󰘠"}.mdi-format-indent-decrease:before{content:"󰉵"}.mdi-format-indent-increase:before{content:"󰉶"}.mdi-format-italic:before{content:"󰉷"}.mdi-format-letter-case:before{content:"󰬴"}.mdi-format-letter-case-lower:before{content:"󰬵"}.mdi-format-letter-case-upper:before{content:"󰬶"}.mdi-format-letter-ends-with:before{content:"󰾸"}.mdi-format-letter-matches:before{content:"󰾹"}.mdi-format-letter-spacing:before{content:"󱥖"}.mdi-format-letter-spacing-variant:before{content:"󱫻"}.mdi-format-letter-starts-with:before{content:"󰾺"}.mdi-format-line-height:before{content:"󱫼"}.mdi-format-line-spacing:before{content:"󰉸"}.mdi-format-line-style:before{content:"󰗈"}.mdi-format-line-weight:before{content:"󰗉"}.mdi-format-list-bulleted:before{content:"󰉹"}.mdi-format-list-bulleted-square:before{content:"󰷐"}.mdi-format-list-bulleted-triangle:before{content:"󰺲"}.mdi-format-list-bulleted-type:before{content:"󰉺"}.mdi-format-list-checkbox:before{content:"󰥪"}.mdi-format-list-checks:before{content:"󰝖"}.mdi-format-list-group:before{content:"󱡠"}.mdi-format-list-group-plus:before{content:"󱭖"}.mdi-format-list-numbered:before{content:"󰉻"}.mdi-format-list-numbered-rtl:before{content:"󰴍"}.mdi-format-list-text:before{content:"󱉯"}.mdi-format-overline:before{content:"󰺳"}.mdi-format-page-break:before{content:"󰛗"}.mdi-format-page-split:before{content:"󱤗"}.mdi-format-paint:before{content:"󰉼"}.mdi-format-paragraph:before{content:"󰉽"}.mdi-format-paragraph-spacing:before{content:"󱫽"}.mdi-format-pilcrow:before{content:"󰛘"}.mdi-format-pilcrow-arrow-left:before{content:"󰊆"}.mdi-format-pilcrow-arrow-right:before{content:"󰊅"}.mdi-format-quote-close:before{content:"󰉾"}.mdi-format-quote-close-outline:before{content:"󱆨"}.mdi-format-quote-open:before{content:"󰝗"}.mdi-format-quote-open-outline:before{content:"󱆧"}.mdi-format-rotate-90:before{content:"󰚪"}.mdi-format-section:before{content:"󰚟"}.mdi-format-size:before{content:"󰉿"}.mdi-format-strikethrough:before{content:"󰊀"}.mdi-format-strikethrough-variant:before{content:"󰊁"}.mdi-format-subscript:before{content:"󰊂"}.mdi-format-superscript:before{content:"󰊃"}.mdi-format-text:before{content:"󰊄"}.mdi-format-text-rotation-angle-down:before{content:"󰾻"}.mdi-format-text-rotation-angle-up:before{content:"󰾼"}.mdi-format-text-rotation-down:before{content:"󰵳"}.mdi-format-text-rotation-down-vertical:before{content:"󰾽"}.mdi-format-text-rotation-none:before{content:"󰵴"}.mdi-format-text-rotation-up:before{content:"󰾾"}.mdi-format-text-rotation-vertical:before{content:"󰾿"}.mdi-format-text-variant:before{content:"󰸲"}.mdi-format-text-variant-outline:before{content:"󱔏"}.mdi-format-text-wrapping-clip:before{content:"󰴎"}.mdi-format-text-wrapping-overflow:before{content:"󰴏"}.mdi-format-text-wrapping-wrap:before{content:"󰴐"}.mdi-format-textbox:before{content:"󰴑"}.mdi-format-title:before{content:"󰗴"}.mdi-format-underline:before{content:"󰊇"}.mdi-format-underline-wavy:before{content:"󱣩"}.mdi-format-vertical-align-bottom:before{content:"󰘡"}.mdi-format-vertical-align-center:before{content:"󰘢"}.mdi-format-vertical-align-top:before{content:"󰘣"}.mdi-format-wrap-inline:before{content:"󰊈"}.mdi-format-wrap-square:before{content:"󰊉"}.mdi-format-wrap-tight:before{content:"󰊊"}.mdi-format-wrap-top-bottom:before{content:"󰊋"}.mdi-forum:before{content:"󰊌"}.mdi-forum-minus:before{content:"󱪩"}.mdi-forum-minus-outline:before{content:"󱪪"}.mdi-forum-outline:before{content:"󰠢"}.mdi-forum-plus:before{content:"󱪫"}.mdi-forum-plus-outline:before{content:"󱪬"}.mdi-forum-remove:before{content:"󱪭"}.mdi-forum-remove-outline:before{content:"󱪮"}.mdi-forward:before{content:"󰊍"}.mdi-forwardburger:before{content:"󰵵"}.mdi-fountain:before{content:"󰥫"}.mdi-fountain-pen:before{content:"󰴒"}.mdi-fountain-pen-tip:before{content:"󰴓"}.mdi-fraction-one-half:before{content:"󱦒"}.mdi-freebsd:before{content:"󰣠"}.mdi-french-fries:before{content:"󱥗"}.mdi-frequently-asked-questions:before{content:"󰺴"}.mdi-fridge:before{content:"󰊐"}.mdi-fridge-alert:before{content:"󱆱"}.mdi-fridge-alert-outline:before{content:"󱆲"}.mdi-fridge-bottom:before{content:"󰊒"}.mdi-fridge-industrial:before{content:"󱗮"}.mdi-fridge-industrial-alert:before{content:"󱗯"}.mdi-fridge-industrial-alert-outline:before{content:"󱗰"}.mdi-fridge-industrial-off:before{content:"󱗱"}.mdi-fridge-industrial-off-outline:before{content:"󱗲"}.mdi-fridge-industrial-outline:before{content:"󱗳"}.mdi-fridge-off:before{content:"󱆯"}.mdi-fridge-off-outline:before{content:"󱆰"}.mdi-fridge-outline:before{content:"󰊏"}.mdi-fridge-top:before{content:"󰊑"}.mdi-fridge-variant:before{content:"󱗴"}.mdi-fridge-variant-alert:before{content:"󱗵"}.mdi-fridge-variant-alert-outline:before{content:"󱗶"}.mdi-fridge-variant-off:before{content:"󱗷"}.mdi-fridge-variant-off-outline:before{content:"󱗸"}.mdi-fridge-variant-outline:before{content:"󱗹"}.mdi-fruit-cherries:before{content:"󱁂"}.mdi-fruit-cherries-off:before{content:"󱏸"}.mdi-fruit-citrus:before{content:"󱁃"}.mdi-fruit-citrus-off:before{content:"󱏹"}.mdi-fruit-grapes:before{content:"󱁄"}.mdi-fruit-grapes-outline:before{content:"󱁅"}.mdi-fruit-pear:before{content:"󱨎"}.mdi-fruit-pineapple:before{content:"󱁆"}.mdi-fruit-watermelon:before{content:"󱁇"}.mdi-fuel:before{content:"󰟊"}.mdi-fuel-cell:before{content:"󱢵"}.mdi-fullscreen:before{content:"󰊓"}.mdi-fullscreen-exit:before{content:"󰊔"}.mdi-function:before{content:"󰊕"}.mdi-function-variant:before{content:"󰡱"}.mdi-furigana-horizontal:before{content:"󱂁"}.mdi-furigana-vertical:before{content:"󱂂"}.mdi-fuse:before{content:"󰲅"}.mdi-fuse-alert:before{content:"󱐭"}.mdi-fuse-blade:before{content:"󰲆"}.mdi-fuse-off:before{content:"󱐬"}.mdi-gamepad:before{content:"󰊖"}.mdi-gamepad-circle:before{content:"󰸳"}.mdi-gamepad-circle-down:before{content:"󰸴"}.mdi-gamepad-circle-left:before{content:"󰸵"}.mdi-gamepad-circle-outline:before{content:"󰸶"}.mdi-gamepad-circle-right:before{content:"󰸷"}.mdi-gamepad-circle-up:before{content:"󰸸"}.mdi-gamepad-down:before{content:"󰸹"}.mdi-gamepad-left:before{content:"󰸺"}.mdi-gamepad-outline:before{content:"󱤙"}.mdi-gamepad-right:before{content:"󰸻"}.mdi-gamepad-round:before{content:"󰸼"}.mdi-gamepad-round-down:before{content:"󰸽"}.mdi-gamepad-round-left:before{content:"󰸾"}.mdi-gamepad-round-outline:before{content:"󰸿"}.mdi-gamepad-round-right:before{content:"󰹀"}.mdi-gamepad-round-up:before{content:"󰹁"}.mdi-gamepad-square:before{content:"󰺵"}.mdi-gamepad-square-outline:before{content:"󰺶"}.mdi-gamepad-up:before{content:"󰹂"}.mdi-gamepad-variant:before{content:"󰊗"}.mdi-gamepad-variant-outline:before{content:"󰺷"}.mdi-gamma:before{content:"󱃮"}.mdi-gantry-crane:before{content:"󰷑"}.mdi-garage:before{content:"󰛙"}.mdi-garage-alert:before{content:"󰡲"}.mdi-garage-alert-variant:before{content:"󱋕"}.mdi-garage-lock:before{content:"󱟻"}.mdi-garage-open:before{content:"󰛚"}.mdi-garage-open-variant:before{content:"󱋔"}.mdi-garage-variant:before{content:"󱋓"}.mdi-garage-variant-lock:before{content:"󱟼"}.mdi-gas-burner:before{content:"󱨛"}.mdi-gas-cylinder:before{content:"󰙇"}.mdi-gas-station:before{content:"󰊘"}.mdi-gas-station-off:before{content:"󱐉"}.mdi-gas-station-off-outline:before{content:"󱐊"}.mdi-gas-station-outline:before{content:"󰺸"}.mdi-gate:before{content:"󰊙"}.mdi-gate-alert:before{content:"󱟸"}.mdi-gate-and:before{content:"󰣡"}.mdi-gate-arrow-left:before{content:"󱟷"}.mdi-gate-arrow-right:before{content:"󱅩"}.mdi-gate-buffer:before{content:"󱫾"}.mdi-gate-nand:before{content:"󰣢"}.mdi-gate-nor:before{content:"󰣣"}.mdi-gate-not:before{content:"󰣤"}.mdi-gate-open:before{content:"󱅪"}.mdi-gate-or:before{content:"󰣥"}.mdi-gate-xnor:before{content:"󰣦"}.mdi-gate-xor:before{content:"󰣧"}.mdi-gatsby:before{content:"󰹃"}.mdi-gauge:before{content:"󰊚"}.mdi-gauge-empty:before{content:"󰡳"}.mdi-gauge-full:before{content:"󰡴"}.mdi-gauge-low:before{content:"󰡵"}.mdi-gavel:before{content:"󰊛"}.mdi-gender-female:before{content:"󰊜"}.mdi-gender-male:before{content:"󰊝"}.mdi-gender-male-female:before{content:"󰊞"}.mdi-gender-male-female-variant:before{content:"󱄿"}.mdi-gender-non-binary:before{content:"󱅀"}.mdi-gender-transgender:before{content:"󰊟"}.mdi-gentoo:before{content:"󰣨"}.mdi-gesture:before{content:"󰟋"}.mdi-gesture-double-tap:before{content:"󰜼"}.mdi-gesture-pinch:before{content:"󰪽"}.mdi-gesture-spread:before{content:"󰪾"}.mdi-gesture-swipe:before{content:"󰵶"}.mdi-gesture-swipe-down:before{content:"󰜽"}.mdi-gesture-swipe-horizontal:before{content:"󰪿"}.mdi-gesture-swipe-left:before{content:"󰜾"}.mdi-gesture-swipe-right:before{content:"󰜿"}.mdi-gesture-swipe-up:before{content:"󰝀"}.mdi-gesture-swipe-vertical:before{content:"󰫀"}.mdi-gesture-tap:before{content:"󰝁"}.mdi-gesture-tap-box:before{content:"󱊩"}.mdi-gesture-tap-button:before{content:"󱊨"}.mdi-gesture-tap-hold:before{content:"󰵷"}.mdi-gesture-two-double-tap:before{content:"󰝂"}.mdi-gesture-two-tap:before{content:"󰝃"}.mdi-ghost:before{content:"󰊠"}.mdi-ghost-off:before{content:"󰧵"}.mdi-ghost-off-outline:before{content:"󱙜"}.mdi-ghost-outline:before{content:"󱙝"}.mdi-gift:before{content:"󰹄"}.mdi-gift-off:before{content:"󱛯"}.mdi-gift-off-outline:before{content:"󱛰"}.mdi-gift-open:before{content:"󱛱"}.mdi-gift-open-outline:before{content:"󱛲"}.mdi-gift-outline:before{content:"󰊡"}.mdi-git:before{content:"󰊢"}.mdi-github:before{content:"󰊤"}.mdi-gitlab:before{content:"󰮠"}.mdi-glass-cocktail:before{content:"󰍖"}.mdi-glass-cocktail-off:before{content:"󱗦"}.mdi-glass-flute:before{content:"󰊥"}.mdi-glass-fragile:before{content:"󱡳"}.mdi-glass-mug:before{content:"󰊦"}.mdi-glass-mug-off:before{content:"󱗧"}.mdi-glass-mug-variant:before{content:"󱄖"}.mdi-glass-mug-variant-off:before{content:"󱗨"}.mdi-glass-pint-outline:before{content:"󱌍"}.mdi-glass-stange:before{content:"󰊧"}.mdi-glass-tulip:before{content:"󰊨"}.mdi-glass-wine:before{content:"󰡶"}.mdi-glasses:before{content:"󰊪"}.mdi-globe-light:before{content:"󰙯"}.mdi-globe-light-outline:before{content:"󱋗"}.mdi-globe-model:before{content:"󰣩"}.mdi-gmail:before{content:"󰊫"}.mdi-gnome:before{content:"󰊬"}.mdi-go-kart:before{content:"󰵹"}.mdi-go-kart-track:before{content:"󰵺"}.mdi-gog:before{content:"󰮡"}.mdi-gold:before{content:"󱉏"}.mdi-golf:before{content:"󰠣"}.mdi-golf-cart:before{content:"󱆤"}.mdi-golf-tee:before{content:"󱂃"}.mdi-gondola:before{content:"󰚆"}.mdi-goodreads:before{content:"󰵻"}.mdi-google:before{content:"󰊭"}.mdi-google-ads:before{content:"󰲇"}.mdi-google-analytics:before{content:"󰟌"}.mdi-google-assistant:before{content:"󰟍"}.mdi-google-cardboard:before{content:"󰊮"}.mdi-google-chrome:before{content:"󰊯"}.mdi-google-circles:before{content:"󰊰"}.mdi-google-circles-communities:before{content:"󰊱"}.mdi-google-circles-extended:before{content:"󰊲"}.mdi-google-circles-group:before{content:"󰊳"}.mdi-google-classroom:before{content:"󰋀"}.mdi-google-cloud:before{content:"󱇶"}.mdi-google-downasaur:before{content:"󱍢"}.mdi-google-drive:before{content:"󰊶"}.mdi-google-earth:before{content:"󰊷"}.mdi-google-fit:before{content:"󰥬"}.mdi-google-glass:before{content:"󰊸"}.mdi-google-hangouts:before{content:"󰋉"}.mdi-google-keep:before{content:"󰛜"}.mdi-google-lens:before{content:"󰧶"}.mdi-google-maps:before{content:"󰗵"}.mdi-google-my-business:before{content:"󱁈"}.mdi-google-nearby:before{content:"󰊹"}.mdi-google-play:before{content:"󰊼"}.mdi-google-plus:before{content:"󰊽"}.mdi-google-podcast:before{content:"󰺹"}.mdi-google-spreadsheet:before{content:"󰧷"}.mdi-google-street-view:before{content:"󰲈"}.mdi-google-translate:before{content:"󰊿"}.mdi-gradient-horizontal:before{content:"󱝊"}.mdi-gradient-vertical:before{content:"󰚠"}.mdi-grain:before{content:"󰵼"}.mdi-graph:before{content:"󱁉"}.mdi-graph-outline:before{content:"󱁊"}.mdi-graphql:before{content:"󰡷"}.mdi-grass:before{content:"󱔐"}.mdi-grave-stone:before{content:"󰮢"}.mdi-grease-pencil:before{content:"󰙈"}.mdi-greater-than:before{content:"󰥭"}.mdi-greater-than-or-equal:before{content:"󰥮"}.mdi-greenhouse:before{content:"󰀭"}.mdi-grid:before{content:"󰋁"}.mdi-grid-large:before{content:"󰝘"}.mdi-grid-off:before{content:"󰋂"}.mdi-grill:before{content:"󰹅"}.mdi-grill-outline:before{content:"󱆊"}.mdi-group:before{content:"󰋃"}.mdi-guitar-acoustic:before{content:"󰝱"}.mdi-guitar-electric:before{content:"󰋄"}.mdi-guitar-pick:before{content:"󰋅"}.mdi-guitar-pick-outline:before{content:"󰋆"}.mdi-guy-fawkes-mask:before{content:"󰠥"}.mdi-gymnastics:before{content:"󱩁"}.mdi-hail:before{content:"󰫁"}.mdi-hair-dryer:before{content:"󱃯"}.mdi-hair-dryer-outline:before{content:"󱃰"}.mdi-halloween:before{content:"󰮣"}.mdi-hamburger:before{content:"󰚅"}.mdi-hamburger-check:before{content:"󱝶"}.mdi-hamburger-minus:before{content:"󱝷"}.mdi-hamburger-off:before{content:"󱝸"}.mdi-hamburger-plus:before{content:"󱝹"}.mdi-hamburger-remove:before{content:"󱝺"}.mdi-hammer:before{content:"󰣪"}.mdi-hammer-screwdriver:before{content:"󱌢"}.mdi-hammer-sickle:before{content:"󱢇"}.mdi-hammer-wrench:before{content:"󱌣"}.mdi-hand-back-left:before{content:"󰹆"}.mdi-hand-back-left-off:before{content:"󱠰"}.mdi-hand-back-left-off-outline:before{content:"󱠲"}.mdi-hand-back-left-outline:before{content:"󱠬"}.mdi-hand-back-right:before{content:"󰹇"}.mdi-hand-back-right-off:before{content:"󱠱"}.mdi-hand-back-right-off-outline:before{content:"󱠳"}.mdi-hand-back-right-outline:before{content:"󱠭"}.mdi-hand-clap:before{content:"󱥋"}.mdi-hand-clap-off:before{content:"󱩂"}.mdi-hand-coin:before{content:"󱢏"}.mdi-hand-coin-outline:before{content:"󱢐"}.mdi-hand-cycle:before{content:"󱮜"}.mdi-hand-extended:before{content:"󱢶"}.mdi-hand-extended-outline:before{content:"󱢷"}.mdi-hand-front-left:before{content:"󱠫"}.mdi-hand-front-left-outline:before{content:"󱠮"}.mdi-hand-front-right:before{content:"󰩏"}.mdi-hand-front-right-outline:before{content:"󱠯"}.mdi-hand-heart:before{content:"󱃱"}.mdi-hand-heart-outline:before{content:"󱕾"}.mdi-hand-okay:before{content:"󰩐"}.mdi-hand-peace:before{content:"󰩑"}.mdi-hand-peace-variant:before{content:"󰩒"}.mdi-hand-pointing-down:before{content:"󰩓"}.mdi-hand-pointing-left:before{content:"󰩔"}.mdi-hand-pointing-right:before{content:"󰋇"}.mdi-hand-pointing-up:before{content:"󰩕"}.mdi-hand-saw:before{content:"󰹈"}.mdi-hand-wash:before{content:"󱕿"}.mdi-hand-wash-outline:before{content:"󱖀"}.mdi-hand-water:before{content:"󱎟"}.mdi-hand-wave:before{content:"󱠡"}.mdi-hand-wave-outline:before{content:"󱠢"}.mdi-handball:before{content:"󰽓"}.mdi-handcuffs:before{content:"󱄾"}.mdi-hands-pray:before{content:"󰕹"}.mdi-handshake:before{content:"󱈘"}.mdi-handshake-outline:before{content:"󱖡"}.mdi-hanger:before{content:"󰋈"}.mdi-hard-hat:before{content:"󰥯"}.mdi-harddisk:before{content:"󰋊"}.mdi-harddisk-plus:before{content:"󱁋"}.mdi-harddisk-remove:before{content:"󱁌"}.mdi-hat-fedora:before{content:"󰮤"}.mdi-hazard-lights:before{content:"󰲉"}.mdi-hdmi-port:before{content:"󱮸"}.mdi-hdr:before{content:"󰵽"}.mdi-hdr-off:before{content:"󰵾"}.mdi-head:before{content:"󱍞"}.mdi-head-alert:before{content:"󱌸"}.mdi-head-alert-outline:before{content:"󱌹"}.mdi-head-check:before{content:"󱌺"}.mdi-head-check-outline:before{content:"󱌻"}.mdi-head-cog:before{content:"󱌼"}.mdi-head-cog-outline:before{content:"󱌽"}.mdi-head-dots-horizontal:before{content:"󱌾"}.mdi-head-dots-horizontal-outline:before{content:"󱌿"}.mdi-head-flash:before{content:"󱍀"}.mdi-head-flash-outline:before{content:"󱍁"}.mdi-head-heart:before{content:"󱍂"}.mdi-head-heart-outline:before{content:"󱍃"}.mdi-head-lightbulb:before{content:"󱍄"}.mdi-head-lightbulb-outline:before{content:"󱍅"}.mdi-head-minus:before{content:"󱍆"}.mdi-head-minus-outline:before{content:"󱍇"}.mdi-head-outline:before{content:"󱍟"}.mdi-head-plus:before{content:"󱍈"}.mdi-head-plus-outline:before{content:"󱍉"}.mdi-head-question:before{content:"󱍊"}.mdi-head-question-outline:before{content:"󱍋"}.mdi-head-remove:before{content:"󱍌"}.mdi-head-remove-outline:before{content:"󱍍"}.mdi-head-snowflake:before{content:"󱍎"}.mdi-head-snowflake-outline:before{content:"󱍏"}.mdi-head-sync:before{content:"󱍐"}.mdi-head-sync-outline:before{content:"󱍑"}.mdi-headphones:before{content:"󰋋"}.mdi-headphones-bluetooth:before{content:"󰥰"}.mdi-headphones-box:before{content:"󰋌"}.mdi-headphones-off:before{content:"󰟎"}.mdi-headphones-settings:before{content:"󰋍"}.mdi-headset:before{content:"󰋎"}.mdi-headset-dock:before{content:"󰋏"}.mdi-headset-off:before{content:"󰋐"}.mdi-heart:before{content:"󰋑"}.mdi-heart-box:before{content:"󰋒"}.mdi-heart-box-outline:before{content:"󰋓"}.mdi-heart-broken:before{content:"󰋔"}.mdi-heart-broken-outline:before{content:"󰴔"}.mdi-heart-circle:before{content:"󰥱"}.mdi-heart-circle-outline:before{content:"󰥲"}.mdi-heart-cog:before{content:"󱙣"}.mdi-heart-cog-outline:before{content:"󱙤"}.mdi-heart-flash:before{content:"󰻹"}.mdi-heart-half:before{content:"󰛟"}.mdi-heart-half-full:before{content:"󰛞"}.mdi-heart-half-outline:before{content:"󰛠"}.mdi-heart-minus:before{content:"󱐯"}.mdi-heart-minus-outline:before{content:"󱐲"}.mdi-heart-multiple:before{content:"󰩖"}.mdi-heart-multiple-outline:before{content:"󰩗"}.mdi-heart-off:before{content:"󰝙"}.mdi-heart-off-outline:before{content:"󱐴"}.mdi-heart-outline:before{content:"󰋕"}.mdi-heart-plus:before{content:"󱐮"}.mdi-heart-plus-outline:before{content:"󱐱"}.mdi-heart-pulse:before{content:"󰗶"}.mdi-heart-remove:before{content:"󱐰"}.mdi-heart-remove-outline:before{content:"󱐳"}.mdi-heart-settings:before{content:"󱙥"}.mdi-heart-settings-outline:before{content:"󱙦"}.mdi-heat-pump:before{content:"󱩃"}.mdi-heat-pump-outline:before{content:"󱩄"}.mdi-heat-wave:before{content:"󱩅"}.mdi-heating-coil:before{content:"󱪯"}.mdi-helicopter:before{content:"󰫂"}.mdi-help:before{content:"󰋖"}.mdi-help-box:before{content:"󰞋"}.mdi-help-box-multiple:before{content:"󱰊"}.mdi-help-box-multiple-outline:before{content:"󱰋"}.mdi-help-box-outline:before{content:"󱰌"}.mdi-help-circle:before{content:"󰋗"}.mdi-help-circle-outline:before{content:"󰘥"}.mdi-help-network:before{content:"󰛵"}.mdi-help-network-outline:before{content:"󰲊"}.mdi-help-rhombus:before{content:"󰮥"}.mdi-help-rhombus-outline:before{content:"󰮦"}.mdi-hexadecimal:before{content:"󱊧"}.mdi-hexagon:before{content:"󰋘"}.mdi-hexagon-multiple:before{content:"󰛡"}.mdi-hexagon-multiple-outline:before{content:"󱃲"}.mdi-hexagon-outline:before{content:"󰋙"}.mdi-hexagon-slice-1:before{content:"󰫃"}.mdi-hexagon-slice-2:before{content:"󰫄"}.mdi-hexagon-slice-3:before{content:"󰫅"}.mdi-hexagon-slice-4:before{content:"󰫆"}.mdi-hexagon-slice-5:before{content:"󰫇"}.mdi-hexagon-slice-6:before{content:"󰫈"}.mdi-hexagram:before{content:"󰫉"}.mdi-hexagram-outline:before{content:"󰫊"}.mdi-high-definition:before{content:"󰟏"}.mdi-high-definition-box:before{content:"󰡸"}.mdi-highway:before{content:"󰗷"}.mdi-hiking:before{content:"󰵿"}.mdi-history:before{content:"󰋚"}.mdi-hockey-puck:before{content:"󰡹"}.mdi-hockey-sticks:before{content:"󰡺"}.mdi-hololens:before{content:"󰋛"}.mdi-home:before{content:"󰋜"}.mdi-home-account:before{content:"󰠦"}.mdi-home-alert:before{content:"󰡻"}.mdi-home-alert-outline:before{content:"󱗐"}.mdi-home-analytics:before{content:"󰺺"}.mdi-home-assistant:before{content:"󰟐"}.mdi-home-automation:before{content:"󰟑"}.mdi-home-battery:before{content:"󱤁"}.mdi-home-battery-outline:before{content:"󱤂"}.mdi-home-circle:before{content:"󰟒"}.mdi-home-circle-outline:before{content:"󱁍"}.mdi-home-city:before{content:"󰴕"}.mdi-home-city-outline:before{content:"󰴖"}.mdi-home-clock:before{content:"󱨒"}.mdi-home-clock-outline:before{content:"󱨓"}.mdi-home-edit:before{content:"󱅙"}.mdi-home-edit-outline:before{content:"󱅚"}.mdi-home-export-outline:before{content:"󰾛"}.mdi-home-flood:before{content:"󰻺"}.mdi-home-floor-0:before{content:"󰷒"}.mdi-home-floor-1:before{content:"󰶀"}.mdi-home-floor-2:before{content:"󰶁"}.mdi-home-floor-3:before{content:"󰶂"}.mdi-home-floor-a:before{content:"󰶃"}.mdi-home-floor-b:before{content:"󰶄"}.mdi-home-floor-g:before{content:"󰶅"}.mdi-home-floor-l:before{content:"󰶆"}.mdi-home-floor-negative-1:before{content:"󰷓"}.mdi-home-group:before{content:"󰷔"}.mdi-home-group-minus:before{content:"󱧁"}.mdi-home-group-plus:before{content:"󱧀"}.mdi-home-group-remove:before{content:"󱧂"}.mdi-home-heart:before{content:"󰠧"}.mdi-home-import-outline:before{content:"󰾜"}.mdi-home-lightbulb:before{content:"󱉑"}.mdi-home-lightbulb-outline:before{content:"󱉒"}.mdi-home-lightning-bolt:before{content:"󱤃"}.mdi-home-lightning-bolt-outline:before{content:"󱤄"}.mdi-home-lock:before{content:"󰣫"}.mdi-home-lock-open:before{content:"󰣬"}.mdi-home-map-marker:before{content:"󰗸"}.mdi-home-minus:before{content:"󰥴"}.mdi-home-minus-outline:before{content:"󱏕"}.mdi-home-modern:before{content:"󰋝"}.mdi-home-off:before{content:"󱩆"}.mdi-home-off-outline:before{content:"󱩇"}.mdi-home-outline:before{content:"󰚡"}.mdi-home-percent:before{content:"󱱼"}.mdi-home-percent-outline:before{content:"󱱽"}.mdi-home-plus:before{content:"󰥵"}.mdi-home-plus-outline:before{content:"󱏖"}.mdi-home-remove:before{content:"󱉇"}.mdi-home-remove-outline:before{content:"󱏗"}.mdi-home-roof:before{content:"󱄫"}.mdi-home-search:before{content:"󱎰"}.mdi-home-search-outline:before{content:"󱎱"}.mdi-home-silo:before{content:"󱮠"}.mdi-home-silo-outline:before{content:"󱮡"}.mdi-home-sound-in:before{content:"󱰯"}.mdi-home-sound-in-outline:before{content:"󱰰"}.mdi-home-sound-out:before{content:"󱰱"}.mdi-home-sound-out-outline:before{content:"󱰲"}.mdi-home-switch:before{content:"󱞔"}.mdi-home-switch-outline:before{content:"󱞕"}.mdi-home-thermometer:before{content:"󰽔"}.mdi-home-thermometer-outline:before{content:"󰽕"}.mdi-home-variant:before{content:"󰋞"}.mdi-home-variant-outline:before{content:"󰮧"}.mdi-hook:before{content:"󰛢"}.mdi-hook-off:before{content:"󰛣"}.mdi-hoop-house:before{content:"󰹖"}.mdi-hops:before{content:"󰋟"}.mdi-horizontal-rotate-clockwise:before{content:"󱃳"}.mdi-horizontal-rotate-counterclockwise:before{content:"󱃴"}.mdi-horse:before{content:"󱖿"}.mdi-horse-human:before{content:"󱗀"}.mdi-horse-variant:before{content:"󱗁"}.mdi-horse-variant-fast:before{content:"󱡮"}.mdi-horseshoe:before{content:"󰩘"}.mdi-hospital:before{content:"󰿶"}.mdi-hospital-box:before{content:"󰋠"}.mdi-hospital-box-outline:before{content:"󰿷"}.mdi-hospital-building:before{content:"󰋡"}.mdi-hospital-marker:before{content:"󰋢"}.mdi-hot-tub:before{content:"󰠨"}.mdi-hours-24:before{content:"󱑸"}.mdi-hubspot:before{content:"󰴗"}.mdi-hulu:before{content:"󰠩"}.mdi-human:before{content:"󰋦"}.mdi-human-baby-changing-table:before{content:"󱎋"}.mdi-human-cane:before{content:"󱖁"}.mdi-human-capacity-decrease:before{content:"󱖛"}.mdi-human-capacity-increase:before{content:"󱖜"}.mdi-human-child:before{content:"󰋧"}.mdi-human-dolly:before{content:"󱦀"}.mdi-human-edit:before{content:"󱓨"}.mdi-human-female:before{content:"󰙉"}.mdi-human-female-boy:before{content:"󰩙"}.mdi-human-female-dance:before{content:"󱗉"}.mdi-human-female-female:before{content:"󰩚"}.mdi-human-female-girl:before{content:"󰩛"}.mdi-human-greeting:before{content:"󱟄"}.mdi-human-greeting-proximity:before{content:"󱖝"}.mdi-human-greeting-variant:before{content:"󰙊"}.mdi-human-handsdown:before{content:"󰙋"}.mdi-human-handsup:before{content:"󰙌"}.mdi-human-male:before{content:"󰙍"}.mdi-human-male-board:before{content:"󰢐"}.mdi-human-male-board-poll:before{content:"󰡆"}.mdi-human-male-boy:before{content:"󰩜"}.mdi-human-male-child:before{content:"󱎌"}.mdi-human-male-female:before{content:"󰋨"}.mdi-human-male-female-child:before{content:"󱠣"}.mdi-human-male-girl:before{content:"󰩝"}.mdi-human-male-height:before{content:"󰻻"}.mdi-human-male-height-variant:before{content:"󰻼"}.mdi-human-male-male:before{content:"󰩞"}.mdi-human-non-binary:before{content:"󱡈"}.mdi-human-pregnant:before{content:"󰗏"}.mdi-human-queue:before{content:"󱕱"}.mdi-human-scooter:before{content:"󱇩"}.mdi-human-walker:before{content:"󱭱"}.mdi-human-wheelchair:before{content:"󱎍"}.mdi-human-white-cane:before{content:"󱦁"}.mdi-humble-bundle:before{content:"󰝄"}.mdi-hvac:before{content:"󱍒"}.mdi-hvac-off:before{content:"󱖞"}.mdi-hydraulic-oil-level:before{content:"󱌤"}.mdi-hydraulic-oil-temperature:before{content:"󱌥"}.mdi-hydro-power:before{content:"󱋥"}.mdi-hydrogen-station:before{content:"󱢔"}.mdi-ice-cream:before{content:"󰠪"}.mdi-ice-cream-off:before{content:"󰹒"}.mdi-ice-pop:before{content:"󰻽"}.mdi-id-card:before{content:"󰿀"}.mdi-identifier:before{content:"󰻾"}.mdi-ideogram-cjk:before{content:"󱌱"}.mdi-ideogram-cjk-variant:before{content:"󱌲"}.mdi-image:before{content:"󰋩"}.mdi-image-album:before{content:"󰋪"}.mdi-image-area:before{content:"󰋫"}.mdi-image-area-close:before{content:"󰋬"}.mdi-image-auto-adjust:before{content:"󰿁"}.mdi-image-broken:before{content:"󰋭"}.mdi-image-broken-variant:before{content:"󰋮"}.mdi-image-check:before{content:"󱬥"}.mdi-image-check-outline:before{content:"󱬦"}.mdi-image-edit:before{content:"󱇣"}.mdi-image-edit-outline:before{content:"󱇤"}.mdi-image-filter-black-white:before{content:"󰋰"}.mdi-image-filter-center-focus:before{content:"󰋱"}.mdi-image-filter-center-focus-strong:before{content:"󰻿"}.mdi-image-filter-center-focus-strong-outline:before{content:"󰼀"}.mdi-image-filter-center-focus-weak:before{content:"󰋲"}.mdi-image-filter-drama:before{content:"󰋳"}.mdi-image-filter-drama-outline:before{content:"󱯿"}.mdi-image-filter-frames:before{content:"󰋴"}.mdi-image-filter-hdr:before{content:"󰋵"}.mdi-image-filter-hdr-outline:before{content:"󱱤"}.mdi-image-filter-none:before{content:"󰋶"}.mdi-image-filter-tilt-shift:before{content:"󰋷"}.mdi-image-filter-vintage:before{content:"󰋸"}.mdi-image-frame:before{content:"󰹉"}.mdi-image-lock:before{content:"󱪰"}.mdi-image-lock-outline:before{content:"󱪱"}.mdi-image-marker:before{content:"󱝻"}.mdi-image-marker-outline:before{content:"󱝼"}.mdi-image-minus:before{content:"󱐙"}.mdi-image-minus-outline:before{content:"󱭇"}.mdi-image-move:before{content:"󰧸"}.mdi-image-multiple:before{content:"󰋹"}.mdi-image-multiple-outline:before{content:"󰋯"}.mdi-image-off:before{content:"󰠫"}.mdi-image-off-outline:before{content:"󱇑"}.mdi-image-outline:before{content:"󰥶"}.mdi-image-plus:before{content:"󰡼"}.mdi-image-plus-outline:before{content:"󱭆"}.mdi-image-refresh:before{content:"󱧾"}.mdi-image-refresh-outline:before{content:"󱧿"}.mdi-image-remove:before{content:"󱐘"}.mdi-image-remove-outline:before{content:"󱭈"}.mdi-image-search:before{content:"󰥷"}.mdi-image-search-outline:before{content:"󰥸"}.mdi-image-size-select-actual:before{content:"󰲍"}.mdi-image-size-select-large:before{content:"󰲎"}.mdi-image-size-select-small:before{content:"󰲏"}.mdi-image-sync:before{content:"󱨀"}.mdi-image-sync-outline:before{content:"󱨁"}.mdi-image-text:before{content:"󱘍"}.mdi-import:before{content:"󰋺"}.mdi-inbox:before{content:"󰚇"}.mdi-inbox-arrow-down:before{content:"󰋻"}.mdi-inbox-arrow-down-outline:before{content:"󱉰"}.mdi-inbox-arrow-up:before{content:"󰏑"}.mdi-inbox-arrow-up-outline:before{content:"󱉱"}.mdi-inbox-full:before{content:"󱉲"}.mdi-inbox-full-outline:before{content:"󱉳"}.mdi-inbox-multiple:before{content:"󰢰"}.mdi-inbox-multiple-outline:before{content:"󰮨"}.mdi-inbox-outline:before{content:"󱉴"}.mdi-inbox-remove:before{content:"󱖟"}.mdi-inbox-remove-outline:before{content:"󱖠"}.mdi-incognito:before{content:"󰗹"}.mdi-incognito-circle:before{content:"󱐡"}.mdi-incognito-circle-off:before{content:"󱐢"}.mdi-incognito-off:before{content:"󰁵"}.mdi-induction:before{content:"󱡌"}.mdi-infinity:before{content:"󰛤"}.mdi-information:before{content:"󰋼"}.mdi-information-box:before{content:"󱱥"}.mdi-information-box-outline:before{content:"󱱦"}.mdi-information-off:before{content:"󱞌"}.mdi-information-off-outline:before{content:"󱞍"}.mdi-information-outline:before{content:"󰋽"}.mdi-information-slab-box:before{content:"󱱧"}.mdi-information-slab-box-outline:before{content:"󱱨"}.mdi-information-slab-circle:before{content:"󱱩"}.mdi-information-slab-circle-outline:before{content:"󱱪"}.mdi-information-slab-symbol:before{content:"󱱫"}.mdi-information-symbol:before{content:"󱱬"}.mdi-information-variant:before{content:"󰙎"}.mdi-information-variant-box:before{content:"󱱭"}.mdi-information-variant-box-outline:before{content:"󱱮"}.mdi-information-variant-circle:before{content:"󱱯"}.mdi-information-variant-circle-outline:before{content:"󱱰"}.mdi-instagram:before{content:"󰋾"}.mdi-instrument-triangle:before{content:"󱁎"}.mdi-integrated-circuit-chip:before{content:"󱤓"}.mdi-invert-colors:before{content:"󰌁"}.mdi-invert-colors-off:before{content:"󰹊"}.mdi-iobroker:before{content:"󱋨"}.mdi-ip:before{content:"󰩟"}.mdi-ip-network:before{content:"󰩠"}.mdi-ip-network-outline:before{content:"󰲐"}.mdi-ip-outline:before{content:"󱦂"}.mdi-ipod:before{content:"󰲑"}.mdi-iron:before{content:"󱠤"}.mdi-iron-board:before{content:"󱠸"}.mdi-iron-outline:before{content:"󱠥"}.mdi-island:before{content:"󱁏"}.mdi-iv-bag:before{content:"󱂹"}.mdi-jabber:before{content:"󰷕"}.mdi-jeepney:before{content:"󰌂"}.mdi-jellyfish:before{content:"󰼁"}.mdi-jellyfish-outline:before{content:"󰼂"}.mdi-jira:before{content:"󰌃"}.mdi-jquery:before{content:"󰡽"}.mdi-jsfiddle:before{content:"󰌄"}.mdi-jump-rope:before{content:"󱋿"}.mdi-kabaddi:before{content:"󰶇"}.mdi-kangaroo:before{content:"󱕘"}.mdi-karate:before{content:"󰠬"}.mdi-kayaking:before{content:"󰢯"}.mdi-keg:before{content:"󰌅"}.mdi-kettle:before{content:"󰗺"}.mdi-kettle-alert:before{content:"󱌗"}.mdi-kettle-alert-outline:before{content:"󱌘"}.mdi-kettle-off:before{content:"󱌛"}.mdi-kettle-off-outline:before{content:"󱌜"}.mdi-kettle-outline:before{content:"󰽖"}.mdi-kettle-pour-over:before{content:"󱜼"}.mdi-kettle-steam:before{content:"󱌙"}.mdi-kettle-steam-outline:before{content:"󱌚"}.mdi-kettlebell:before{content:"󱌀"}.mdi-key:before{content:"󰌆"}.mdi-key-alert:before{content:"󱦃"}.mdi-key-alert-outline:before{content:"󱦄"}.mdi-key-arrow-right:before{content:"󱌒"}.mdi-key-chain:before{content:"󱕴"}.mdi-key-chain-variant:before{content:"󱕵"}.mdi-key-change:before{content:"󰌇"}.mdi-key-link:before{content:"󱆟"}.mdi-key-minus:before{content:"󰌈"}.mdi-key-outline:before{content:"󰷖"}.mdi-key-plus:before{content:"󰌉"}.mdi-key-remove:before{content:"󰌊"}.mdi-key-star:before{content:"󱆞"}.mdi-key-variant:before{content:"󰌋"}.mdi-key-wireless:before{content:"󰿂"}.mdi-keyboard:before{content:"󰌌"}.mdi-keyboard-backspace:before{content:"󰌍"}.mdi-keyboard-caps:before{content:"󰌎"}.mdi-keyboard-close:before{content:"󰌏"}.mdi-keyboard-close-outline:before{content:"󱰀"}.mdi-keyboard-esc:before{content:"󱊷"}.mdi-keyboard-f1:before{content:"󱊫"}.mdi-keyboard-f10:before{content:"󱊴"}.mdi-keyboard-f11:before{content:"󱊵"}.mdi-keyboard-f12:before{content:"󱊶"}.mdi-keyboard-f2:before{content:"󱊬"}.mdi-keyboard-f3:before{content:"󱊭"}.mdi-keyboard-f4:before{content:"󱊮"}.mdi-keyboard-f5:before{content:"󱊯"}.mdi-keyboard-f6:before{content:"󱊰"}.mdi-keyboard-f7:before{content:"󱊱"}.mdi-keyboard-f8:before{content:"󱊲"}.mdi-keyboard-f9:before{content:"󱊳"}.mdi-keyboard-off:before{content:"󰌐"}.mdi-keyboard-off-outline:before{content:"󰹋"}.mdi-keyboard-outline:before{content:"󰥻"}.mdi-keyboard-return:before{content:"󰌑"}.mdi-keyboard-settings:before{content:"󰧹"}.mdi-keyboard-settings-outline:before{content:"󰧺"}.mdi-keyboard-space:before{content:"󱁐"}.mdi-keyboard-tab:before{content:"󰌒"}.mdi-keyboard-tab-reverse:before{content:"󰌥"}.mdi-keyboard-variant:before{content:"󰌓"}.mdi-khanda:before{content:"󱃽"}.mdi-kickstarter:before{content:"󰝅"}.mdi-kite:before{content:"󱦅"}.mdi-kite-outline:before{content:"󱦆"}.mdi-kitesurfing:before{content:"󱝄"}.mdi-klingon:before{content:"󱍛"}.mdi-knife:before{content:"󰧻"}.mdi-knife-military:before{content:"󰧼"}.mdi-knob:before{content:"󱮖"}.mdi-koala:before{content:"󱜿"}.mdi-kodi:before{content:"󰌔"}.mdi-kubernetes:before{content:"󱃾"}.mdi-label:before{content:"󰌕"}.mdi-label-multiple:before{content:"󱍵"}.mdi-label-multiple-outline:before{content:"󱍶"}.mdi-label-off:before{content:"󰫋"}.mdi-label-off-outline:before{content:"󰫌"}.mdi-label-outline:before{content:"󰌖"}.mdi-label-percent:before{content:"󱋪"}.mdi-label-percent-outline:before{content:"󱋫"}.mdi-label-variant:before{content:"󰫍"}.mdi-label-variant-outline:before{content:"󰫎"}.mdi-ladder:before{content:"󱖢"}.mdi-ladybug:before{content:"󰠭"}.mdi-lambda:before{content:"󰘧"}.mdi-lamp:before{content:"󰚵"}.mdi-lamp-outline:before{content:"󱟐"}.mdi-lamps:before{content:"󱕶"}.mdi-lamps-outline:before{content:"󱟑"}.mdi-lan:before{content:"󰌗"}.mdi-lan-check:before{content:"󱊪"}.mdi-lan-connect:before{content:"󰌘"}.mdi-lan-disconnect:before{content:"󰌙"}.mdi-lan-pending:before{content:"󰌚"}.mdi-land-fields:before{content:"󱪲"}.mdi-land-plots:before{content:"󱪳"}.mdi-land-plots-circle:before{content:"󱪴"}.mdi-land-plots-circle-variant:before{content:"󱪵"}.mdi-land-plots-marker:before{content:"󱱝"}.mdi-land-rows-horizontal:before{content:"󱪶"}.mdi-land-rows-vertical:before{content:"󱪷"}.mdi-landslide:before{content:"󱩈"}.mdi-landslide-outline:before{content:"󱩉"}.mdi-language-c:before{content:"󰙱"}.mdi-language-cpp:before{content:"󰙲"}.mdi-language-csharp:before{content:"󰌛"}.mdi-language-css3:before{content:"󰌜"}.mdi-language-fortran:before{content:"󱈚"}.mdi-language-go:before{content:"󰟓"}.mdi-language-haskell:before{content:"󰲒"}.mdi-language-html5:before{content:"󰌝"}.mdi-language-java:before{content:"󰬷"}.mdi-language-javascript:before{content:"󰌞"}.mdi-language-kotlin:before{content:"󱈙"}.mdi-language-lua:before{content:"󰢱"}.mdi-language-markdown:before{content:"󰍔"}.mdi-language-markdown-outline:before{content:"󰽛"}.mdi-language-php:before{content:"󰌟"}.mdi-language-python:before{content:"󰌠"}.mdi-language-r:before{content:"󰟔"}.mdi-language-ruby:before{content:"󰴭"}.mdi-language-ruby-on-rails:before{content:"󰫏"}.mdi-language-rust:before{content:"󱘗"}.mdi-language-swift:before{content:"󰛥"}.mdi-language-typescript:before{content:"󰛦"}.mdi-language-xaml:before{content:"󰙳"}.mdi-laptop:before{content:"󰌢"}.mdi-laptop-account:before{content:"󱩊"}.mdi-laptop-off:before{content:"󰛧"}.mdi-laravel:before{content:"󰫐"}.mdi-laser-pointer:before{content:"󱒄"}.mdi-lasso:before{content:"󰼃"}.mdi-lastpass:before{content:"󰑆"}.mdi-latitude:before{content:"󰽗"}.mdi-launch:before{content:"󰌧"}.mdi-lava-lamp:before{content:"󰟕"}.mdi-layers:before{content:"󰌨"}.mdi-layers-edit:before{content:"󱢒"}.mdi-layers-minus:before{content:"󰹌"}.mdi-layers-off:before{content:"󰌩"}.mdi-layers-off-outline:before{content:"󰧽"}.mdi-layers-outline:before{content:"󰧾"}.mdi-layers-plus:before{content:"󰹍"}.mdi-layers-remove:before{content:"󰹎"}.mdi-layers-search:before{content:"󱈆"}.mdi-layers-search-outline:before{content:"󱈇"}.mdi-layers-triple:before{content:"󰽘"}.mdi-layers-triple-outline:before{content:"󰽙"}.mdi-lead-pencil:before{content:"󰙏"}.mdi-leaf:before{content:"󰌪"}.mdi-leaf-circle:before{content:"󱤅"}.mdi-leaf-circle-outline:before{content:"󱤆"}.mdi-leaf-maple:before{content:"󰲓"}.mdi-leaf-maple-off:before{content:"󱋚"}.mdi-leaf-off:before{content:"󱋙"}.mdi-leak:before{content:"󰷗"}.mdi-leak-off:before{content:"󰷘"}.mdi-lectern:before{content:"󱫰"}.mdi-led-off:before{content:"󰌫"}.mdi-led-on:before{content:"󰌬"}.mdi-led-outline:before{content:"󰌭"}.mdi-led-strip:before{content:"󰟖"}.mdi-led-strip-variant:before{content:"󱁑"}.mdi-led-strip-variant-off:before{content:"󱩋"}.mdi-led-variant-off:before{content:"󰌮"}.mdi-led-variant-on:before{content:"󰌯"}.mdi-led-variant-outline:before{content:"󰌰"}.mdi-leek:before{content:"󱅽"}.mdi-less-than:before{content:"󰥼"}.mdi-less-than-or-equal:before{content:"󰥽"}.mdi-library:before{content:"󰌱"}.mdi-library-outline:before{content:"󱨢"}.mdi-library-shelves:before{content:"󰮩"}.mdi-license:before{content:"󰿃"}.mdi-lifebuoy:before{content:"󰡾"}.mdi-light-flood-down:before{content:"󱦇"}.mdi-light-flood-up:before{content:"󱦈"}.mdi-light-recessed:before{content:"󱞛"}.mdi-light-switch:before{content:"󰥾"}.mdi-light-switch-off:before{content:"󱨤"}.mdi-lightbulb:before{content:"󰌵"}.mdi-lightbulb-alert:before{content:"󱧡"}.mdi-lightbulb-alert-outline:before{content:"󱧢"}.mdi-lightbulb-auto:before{content:"󱠀"}.mdi-lightbulb-auto-outline:before{content:"󱠁"}.mdi-lightbulb-cfl:before{content:"󱈈"}.mdi-lightbulb-cfl-off:before{content:"󱈉"}.mdi-lightbulb-cfl-spiral:before{content:"󱉵"}.mdi-lightbulb-cfl-spiral-off:before{content:"󱋃"}.mdi-lightbulb-fluorescent-tube:before{content:"󱠄"}.mdi-lightbulb-fluorescent-tube-outline:before{content:"󱠅"}.mdi-lightbulb-group:before{content:"󱉓"}.mdi-lightbulb-group-off:before{content:"󱋍"}.mdi-lightbulb-group-off-outline:before{content:"󱋎"}.mdi-lightbulb-group-outline:before{content:"󱉔"}.mdi-lightbulb-multiple:before{content:"󱉕"}.mdi-lightbulb-multiple-off:before{content:"󱋏"}.mdi-lightbulb-multiple-off-outline:before{content:"󱋐"}.mdi-lightbulb-multiple-outline:before{content:"󱉖"}.mdi-lightbulb-night:before{content:"󱩌"}.mdi-lightbulb-night-outline:before{content:"󱩍"}.mdi-lightbulb-off:before{content:"󰹏"}.mdi-lightbulb-off-outline:before{content:"󰹐"}.mdi-lightbulb-on:before{content:"󰛨"}.mdi-lightbulb-on-10:before{content:"󱩎"}.mdi-lightbulb-on-20:before{content:"󱩏"}.mdi-lightbulb-on-30:before{content:"󱩐"}.mdi-lightbulb-on-40:before{content:"󱩑"}.mdi-lightbulb-on-50:before{content:"󱩒"}.mdi-lightbulb-on-60:before{content:"󱩓"}.mdi-lightbulb-on-70:before{content:"󱩔"}.mdi-lightbulb-on-80:before{content:"󱩕"}.mdi-lightbulb-on-90:before{content:"󱩖"}.mdi-lightbulb-on-outline:before{content:"󰛩"}.mdi-lightbulb-outline:before{content:"󰌶"}.mdi-lightbulb-question:before{content:"󱧣"}.mdi-lightbulb-question-outline:before{content:"󱧤"}.mdi-lightbulb-spot:before{content:"󱟴"}.mdi-lightbulb-spot-off:before{content:"󱟵"}.mdi-lightbulb-variant:before{content:"󱠂"}.mdi-lightbulb-variant-outline:before{content:"󱠃"}.mdi-lighthouse:before{content:"󰧿"}.mdi-lighthouse-on:before{content:"󰨀"}.mdi-lightning-bolt:before{content:"󱐋"}.mdi-lightning-bolt-circle:before{content:"󰠠"}.mdi-lightning-bolt-outline:before{content:"󱐌"}.mdi-line-scan:before{content:"󰘤"}.mdi-lingerie:before{content:"󱑶"}.mdi-link:before{content:"󰌷"}.mdi-link-box:before{content:"󰴚"}.mdi-link-box-outline:before{content:"󰴛"}.mdi-link-box-variant:before{content:"󰴜"}.mdi-link-box-variant-outline:before{content:"󰴝"}.mdi-link-lock:before{content:"󱂺"}.mdi-link-off:before{content:"󰌸"}.mdi-link-plus:before{content:"󰲔"}.mdi-link-variant:before{content:"󰌹"}.mdi-link-variant-minus:before{content:"󱃿"}.mdi-link-variant-off:before{content:"󰌺"}.mdi-link-variant-plus:before{content:"󱄀"}.mdi-link-variant-remove:before{content:"󱄁"}.mdi-linkedin:before{content:"󰌻"}.mdi-linux:before{content:"󰌽"}.mdi-linux-mint:before{content:"󰣭"}.mdi-lipstick:before{content:"󱎵"}.mdi-liquid-spot:before{content:"󱠦"}.mdi-liquor:before{content:"󱤞"}.mdi-list-box:before{content:"󱭻"}.mdi-list-box-outline:before{content:"󱭼"}.mdi-list-status:before{content:"󱖫"}.mdi-litecoin:before{content:"󰩡"}.mdi-loading:before{content:"󰝲"}.mdi-location-enter:before{content:"󰿄"}.mdi-location-exit:before{content:"󰿅"}.mdi-lock:before{content:"󰌾"}.mdi-lock-alert:before{content:"󰣮"}.mdi-lock-alert-outline:before{content:"󱗑"}.mdi-lock-check:before{content:"󱎚"}.mdi-lock-check-outline:before{content:"󱚨"}.mdi-lock-clock:before{content:"󰥿"}.mdi-lock-minus:before{content:"󱚩"}.mdi-lock-minus-outline:before{content:"󱚪"}.mdi-lock-off:before{content:"󱙱"}.mdi-lock-off-outline:before{content:"󱙲"}.mdi-lock-open:before{content:"󰌿"}.mdi-lock-open-alert:before{content:"󱎛"}.mdi-lock-open-alert-outline:before{content:"󱗒"}.mdi-lock-open-check:before{content:"󱎜"}.mdi-lock-open-check-outline:before{content:"󱚫"}.mdi-lock-open-minus:before{content:"󱚬"}.mdi-lock-open-minus-outline:before{content:"󱚭"}.mdi-lock-open-outline:before{content:"󰍀"}.mdi-lock-open-plus:before{content:"󱚮"}.mdi-lock-open-plus-outline:before{content:"󱚯"}.mdi-lock-open-remove:before{content:"󱚰"}.mdi-lock-open-remove-outline:before{content:"󱚱"}.mdi-lock-open-variant:before{content:"󰿆"}.mdi-lock-open-variant-outline:before{content:"󰿇"}.mdi-lock-outline:before{content:"󰍁"}.mdi-lock-pattern:before{content:"󰛪"}.mdi-lock-percent:before{content:"󱰒"}.mdi-lock-percent-open:before{content:"󱰓"}.mdi-lock-percent-open-outline:before{content:"󱰔"}.mdi-lock-percent-open-variant:before{content:"󱰕"}.mdi-lock-percent-open-variant-outline:before{content:"󱰖"}.mdi-lock-percent-outline:before{content:"󱰗"}.mdi-lock-plus:before{content:"󰗻"}.mdi-lock-plus-outline:before{content:"󱚲"}.mdi-lock-question:before{content:"󰣯"}.mdi-lock-remove:before{content:"󱚳"}.mdi-lock-remove-outline:before{content:"󱚴"}.mdi-lock-reset:before{content:"󰝳"}.mdi-lock-smart:before{content:"󰢲"}.mdi-locker:before{content:"󰟗"}.mdi-locker-multiple:before{content:"󰟘"}.mdi-login:before{content:"󰍂"}.mdi-login-variant:before{content:"󰗼"}.mdi-logout:before{content:"󰍃"}.mdi-logout-variant:before{content:"󰗽"}.mdi-longitude:before{content:"󰽚"}.mdi-looks:before{content:"󰍄"}.mdi-lotion:before{content:"󱖂"}.mdi-lotion-outline:before{content:"󱖃"}.mdi-lotion-plus:before{content:"󱖄"}.mdi-lotion-plus-outline:before{content:"󱖅"}.mdi-loupe:before{content:"󰍅"}.mdi-lumx:before{content:"󰍆"}.mdi-lungs:before{content:"󱂄"}.mdi-mace:before{content:"󱡃"}.mdi-magazine-pistol:before{content:"󰌤"}.mdi-magazine-rifle:before{content:"󰌣"}.mdi-magic-staff:before{content:"󱡄"}.mdi-magnet:before{content:"󰍇"}.mdi-magnet-on:before{content:"󰍈"}.mdi-magnify:before{content:"󰍉"}.mdi-magnify-close:before{content:"󰦀"}.mdi-magnify-expand:before{content:"󱡴"}.mdi-magnify-minus:before{content:"󰍊"}.mdi-magnify-minus-cursor:before{content:"󰩢"}.mdi-magnify-minus-outline:before{content:"󰛬"}.mdi-magnify-plus:before{content:"󰍋"}.mdi-magnify-plus-cursor:before{content:"󰩣"}.mdi-magnify-plus-outline:before{content:"󰛭"}.mdi-magnify-remove-cursor:before{content:"󱈌"}.mdi-magnify-remove-outline:before{content:"󱈍"}.mdi-magnify-scan:before{content:"󱉶"}.mdi-mail:before{content:"󰺻"}.mdi-mailbox:before{content:"󰛮"}.mdi-mailbox-open:before{content:"󰶈"}.mdi-mailbox-open-outline:before{content:"󰶉"}.mdi-mailbox-open-up:before{content:"󰶊"}.mdi-mailbox-open-up-outline:before{content:"󰶋"}.mdi-mailbox-outline:before{content:"󰶌"}.mdi-mailbox-up:before{content:"󰶍"}.mdi-mailbox-up-outline:before{content:"󰶎"}.mdi-manjaro:before{content:"󱘊"}.mdi-map:before{content:"󰍍"}.mdi-map-check:before{content:"󰺼"}.mdi-map-check-outline:before{content:"󰺽"}.mdi-map-clock:before{content:"󰴞"}.mdi-map-clock-outline:before{content:"󰴟"}.mdi-map-legend:before{content:"󰨁"}.mdi-map-marker:before{content:"󰍎"}.mdi-map-marker-account:before{content:"󱣣"}.mdi-map-marker-account-outline:before{content:"󱣤"}.mdi-map-marker-alert:before{content:"󰼅"}.mdi-map-marker-alert-outline:before{content:"󰼆"}.mdi-map-marker-check:before{content:"󰲕"}.mdi-map-marker-check-outline:before{content:"󱋻"}.mdi-map-marker-circle:before{content:"󰍏"}.mdi-map-marker-distance:before{content:"󰣰"}.mdi-map-marker-down:before{content:"󱄂"}.mdi-map-marker-left:before{content:"󱋛"}.mdi-map-marker-left-outline:before{content:"󱋝"}.mdi-map-marker-minus:before{content:"󰙐"}.mdi-map-marker-minus-outline:before{content:"󱋹"}.mdi-map-marker-multiple:before{content:"󰍐"}.mdi-map-marker-multiple-outline:before{content:"󱉷"}.mdi-map-marker-off:before{content:"󰍑"}.mdi-map-marker-off-outline:before{content:"󱋽"}.mdi-map-marker-outline:before{content:"󰟙"}.mdi-map-marker-path:before{content:"󰴠"}.mdi-map-marker-plus:before{content:"󰙑"}.mdi-map-marker-plus-outline:before{content:"󱋸"}.mdi-map-marker-question:before{content:"󰼇"}.mdi-map-marker-question-outline:before{content:"󰼈"}.mdi-map-marker-radius:before{content:"󰍒"}.mdi-map-marker-radius-outline:before{content:"󱋼"}.mdi-map-marker-remove:before{content:"󰼉"}.mdi-map-marker-remove-outline:before{content:"󱋺"}.mdi-map-marker-remove-variant:before{content:"󰼊"}.mdi-map-marker-right:before{content:"󱋜"}.mdi-map-marker-right-outline:before{content:"󱋞"}.mdi-map-marker-star:before{content:"󱘈"}.mdi-map-marker-star-outline:before{content:"󱘉"}.mdi-map-marker-up:before{content:"󱄃"}.mdi-map-minus:before{content:"󰦁"}.mdi-map-outline:before{content:"󰦂"}.mdi-map-plus:before{content:"󰦃"}.mdi-map-search:before{content:"󰦄"}.mdi-map-search-outline:before{content:"󰦅"}.mdi-mapbox:before{content:"󰮪"}.mdi-margin:before{content:"󰍓"}.mdi-marker:before{content:"󰙒"}.mdi-marker-cancel:before{content:"󰷙"}.mdi-marker-check:before{content:"󰍕"}.mdi-mastodon:before{content:"󰫑"}.mdi-material-design:before{content:"󰦆"}.mdi-material-ui:before{content:"󰍗"}.mdi-math-compass:before{content:"󰍘"}.mdi-math-cos:before{content:"󰲖"}.mdi-math-integral:before{content:"󰿈"}.mdi-math-integral-box:before{content:"󰿉"}.mdi-math-log:before{content:"󱂅"}.mdi-math-norm:before{content:"󰿊"}.mdi-math-norm-box:before{content:"󰿋"}.mdi-math-sin:before{content:"󰲗"}.mdi-math-tan:before{content:"󰲘"}.mdi-matrix:before{content:"󰘨"}.mdi-medal:before{content:"󰦇"}.mdi-medal-outline:before{content:"󱌦"}.mdi-medical-bag:before{content:"󰛯"}.mdi-medical-cotton-swab:before{content:"󱪸"}.mdi-medication:before{content:"󱬔"}.mdi-medication-outline:before{content:"󱬕"}.mdi-meditation:before{content:"󱅻"}.mdi-memory:before{content:"󰍛"}.mdi-menorah:before{content:"󱟔"}.mdi-menorah-fire:before{content:"󱟕"}.mdi-menu:before{content:"󰍜"}.mdi-menu-down:before{content:"󰍝"}.mdi-menu-down-outline:before{content:"󰚶"}.mdi-menu-left:before{content:"󰍞"}.mdi-menu-left-outline:before{content:"󰨂"}.mdi-menu-open:before{content:"󰮫"}.mdi-menu-right:before{content:"󰍟"}.mdi-menu-right-outline:before{content:"󰨃"}.mdi-menu-swap:before{content:"󰩤"}.mdi-menu-swap-outline:before{content:"󰩥"}.mdi-menu-up:before{content:"󰍠"}.mdi-menu-up-outline:before{content:"󰚷"}.mdi-merge:before{content:"󰽜"}.mdi-message:before{content:"󰍡"}.mdi-message-alert:before{content:"󰍢"}.mdi-message-alert-outline:before{content:"󰨄"}.mdi-message-arrow-left:before{content:"󱋲"}.mdi-message-arrow-left-outline:before{content:"󱋳"}.mdi-message-arrow-right:before{content:"󱋴"}.mdi-message-arrow-right-outline:before{content:"󱋵"}.mdi-message-badge:before{content:"󱥁"}.mdi-message-badge-outline:before{content:"󱥂"}.mdi-message-bookmark:before{content:"󱖬"}.mdi-message-bookmark-outline:before{content:"󱖭"}.mdi-message-bulleted:before{content:"󰚢"}.mdi-message-bulleted-off:before{content:"󰚣"}.mdi-message-check:before{content:"󱮊"}.mdi-message-check-outline:before{content:"󱮋"}.mdi-message-cog:before{content:"󰛱"}.mdi-message-cog-outline:before{content:"󱅲"}.mdi-message-draw:before{content:"󰍣"}.mdi-message-fast:before{content:"󱧌"}.mdi-message-fast-outline:before{content:"󱧍"}.mdi-message-flash:before{content:"󱖩"}.mdi-message-flash-outline:before{content:"󱖪"}.mdi-message-image:before{content:"󰍤"}.mdi-message-image-outline:before{content:"󱅬"}.mdi-message-lock:before{content:"󰿌"}.mdi-message-lock-outline:before{content:"󱅭"}.mdi-message-minus:before{content:"󱅮"}.mdi-message-minus-outline:before{content:"󱅯"}.mdi-message-off:before{content:"󱙍"}.mdi-message-off-outline:before{content:"󱙎"}.mdi-message-outline:before{content:"󰍥"}.mdi-message-plus:before{content:"󰙓"}.mdi-message-plus-outline:before{content:"󱂻"}.mdi-message-processing:before{content:"󰍦"}.mdi-message-processing-outline:before{content:"󱅰"}.mdi-message-question:before{content:"󱜺"}.mdi-message-question-outline:before{content:"󱜻"}.mdi-message-reply:before{content:"󰍧"}.mdi-message-reply-outline:before{content:"󱜽"}.mdi-message-reply-text:before{content:"󰍨"}.mdi-message-reply-text-outline:before{content:"󱜾"}.mdi-message-settings:before{content:"󰛰"}.mdi-message-settings-outline:before{content:"󱅱"}.mdi-message-star:before{content:"󰚚"}.mdi-message-star-outline:before{content:"󱉐"}.mdi-message-text:before{content:"󰍩"}.mdi-message-text-clock:before{content:"󱅳"}.mdi-message-text-clock-outline:before{content:"󱅴"}.mdi-message-text-fast:before{content:"󱧎"}.mdi-message-text-fast-outline:before{content:"󱧏"}.mdi-message-text-lock:before{content:"󰿍"}.mdi-message-text-lock-outline:before{content:"󱅵"}.mdi-message-text-outline:before{content:"󰍪"}.mdi-message-video:before{content:"󰍫"}.mdi-meteor:before{content:"󰘩"}.mdi-meter-electric:before{content:"󱩗"}.mdi-meter-electric-outline:before{content:"󱩘"}.mdi-meter-gas:before{content:"󱩙"}.mdi-meter-gas-outline:before{content:"󱩚"}.mdi-metronome:before{content:"󰟚"}.mdi-metronome-tick:before{content:"󰟛"}.mdi-micro-sd:before{content:"󰟜"}.mdi-microphone:before{content:"󰍬"}.mdi-microphone-message:before{content:"󰔊"}.mdi-microphone-message-off:before{content:"󰔋"}.mdi-microphone-minus:before{content:"󰢳"}.mdi-microphone-off:before{content:"󰍭"}.mdi-microphone-outline:before{content:"󰍮"}.mdi-microphone-plus:before{content:"󰢴"}.mdi-microphone-question:before{content:"󱦉"}.mdi-microphone-question-outline:before{content:"󱦊"}.mdi-microphone-settings:before{content:"󰍯"}.mdi-microphone-variant:before{content:"󰍰"}.mdi-microphone-variant-off:before{content:"󰍱"}.mdi-microscope:before{content:"󰙔"}.mdi-microsoft:before{content:"󰍲"}.mdi-microsoft-access:before{content:"󱎎"}.mdi-microsoft-azure:before{content:"󰠅"}.mdi-microsoft-azure-devops:before{content:"󰿕"}.mdi-microsoft-bing:before{content:"󰂤"}.mdi-microsoft-dynamics-365:before{content:"󰦈"}.mdi-microsoft-edge:before{content:"󰇩"}.mdi-microsoft-excel:before{content:"󱎏"}.mdi-microsoft-internet-explorer:before{content:"󰌀"}.mdi-microsoft-office:before{content:"󰏆"}.mdi-microsoft-onedrive:before{content:"󰏊"}.mdi-microsoft-onenote:before{content:"󰝇"}.mdi-microsoft-outlook:before{content:"󰴢"}.mdi-microsoft-powerpoint:before{content:"󱎐"}.mdi-microsoft-sharepoint:before{content:"󱎑"}.mdi-microsoft-teams:before{content:"󰊻"}.mdi-microsoft-visual-studio:before{content:"󰘐"}.mdi-microsoft-visual-studio-code:before{content:"󰨞"}.mdi-microsoft-windows:before{content:"󰖳"}.mdi-microsoft-windows-classic:before{content:"󰨡"}.mdi-microsoft-word:before{content:"󱎒"}.mdi-microsoft-xbox:before{content:"󰖹"}.mdi-microsoft-xbox-controller:before{content:"󰖺"}.mdi-microsoft-xbox-controller-battery-alert:before{content:"󰝋"}.mdi-microsoft-xbox-controller-battery-charging:before{content:"󰨢"}.mdi-microsoft-xbox-controller-battery-empty:before{content:"󰝌"}.mdi-microsoft-xbox-controller-battery-full:before{content:"󰝍"}.mdi-microsoft-xbox-controller-battery-low:before{content:"󰝎"}.mdi-microsoft-xbox-controller-battery-medium:before{content:"󰝏"}.mdi-microsoft-xbox-controller-battery-unknown:before{content:"󰝐"}.mdi-microsoft-xbox-controller-menu:before{content:"󰹯"}.mdi-microsoft-xbox-controller-off:before{content:"󰖻"}.mdi-microsoft-xbox-controller-view:before{content:"󰹰"}.mdi-microwave:before{content:"󰲙"}.mdi-microwave-off:before{content:"󱐣"}.mdi-middleware:before{content:"󰽝"}.mdi-middleware-outline:before{content:"󰽞"}.mdi-midi:before{content:"󰣱"}.mdi-midi-port:before{content:"󰣲"}.mdi-mine:before{content:"󰷚"}.mdi-minecraft:before{content:"󰍳"}.mdi-mini-sd:before{content:"󰨅"}.mdi-minidisc:before{content:"󰨆"}.mdi-minus:before{content:"󰍴"}.mdi-minus-box:before{content:"󰍵"}.mdi-minus-box-multiple:before{content:"󱅁"}.mdi-minus-box-multiple-outline:before{content:"󱅂"}.mdi-minus-box-outline:before{content:"󰛲"}.mdi-minus-circle:before{content:"󰍶"}.mdi-minus-circle-multiple:before{content:"󰍚"}.mdi-minus-circle-multiple-outline:before{content:"󰫓"}.mdi-minus-circle-off:before{content:"󱑙"}.mdi-minus-circle-off-outline:before{content:"󱑚"}.mdi-minus-circle-outline:before{content:"󰍷"}.mdi-minus-network:before{content:"󰍸"}.mdi-minus-network-outline:before{content:"󰲚"}.mdi-minus-thick:before{content:"󱘹"}.mdi-mirror:before{content:"󱇽"}.mdi-mirror-rectangle:before{content:"󱞟"}.mdi-mirror-variant:before{content:"󱞠"}.mdi-mixed-martial-arts:before{content:"󰶏"}.mdi-mixed-reality:before{content:"󰡿"}.mdi-molecule:before{content:"󰮬"}.mdi-molecule-co:before{content:"󱋾"}.mdi-molecule-co2:before{content:"󰟤"}.mdi-monitor:before{content:"󰍹"}.mdi-monitor-account:before{content:"󱩛"}.mdi-monitor-arrow-down:before{content:"󱧐"}.mdi-monitor-arrow-down-variant:before{content:"󱧑"}.mdi-monitor-cellphone:before{content:"󰦉"}.mdi-monitor-cellphone-star:before{content:"󰦊"}.mdi-monitor-dashboard:before{content:"󰨇"}.mdi-monitor-edit:before{content:"󱋆"}.mdi-monitor-eye:before{content:"󱎴"}.mdi-monitor-lock:before{content:"󰷛"}.mdi-monitor-multiple:before{content:"󰍺"}.mdi-monitor-off:before{content:"󰶐"}.mdi-monitor-screenshot:before{content:"󰹑"}.mdi-monitor-share:before{content:"󱒃"}.mdi-monitor-shimmer:before{content:"󱄄"}.mdi-monitor-small:before{content:"󱡶"}.mdi-monitor-speaker:before{content:"󰽟"}.mdi-monitor-speaker-off:before{content:"󰽠"}.mdi-monitor-star:before{content:"󰷜"}.mdi-monitor-vertical:before{content:"󱰳"}.mdi-moon-first-quarter:before{content:"󰽡"}.mdi-moon-full:before{content:"󰽢"}.mdi-moon-last-quarter:before{content:"󰽣"}.mdi-moon-new:before{content:"󰽤"}.mdi-moon-waning-crescent:before{content:"󰽥"}.mdi-moon-waning-gibbous:before{content:"󰽦"}.mdi-moon-waxing-crescent:before{content:"󰽧"}.mdi-moon-waxing-gibbous:before{content:"󰽨"}.mdi-moped:before{content:"󱂆"}.mdi-moped-electric:before{content:"󱖷"}.mdi-moped-electric-outline:before{content:"󱖸"}.mdi-moped-outline:before{content:"󱖹"}.mdi-more:before{content:"󰍻"}.mdi-mortar-pestle:before{content:"󱝈"}.mdi-mortar-pestle-plus:before{content:"󰏱"}.mdi-mosque:before{content:"󰵅"}.mdi-mosque-outline:before{content:"󱠧"}.mdi-mother-heart:before{content:"󱌔"}.mdi-mother-nurse:before{content:"󰴡"}.mdi-motion:before{content:"󱖲"}.mdi-motion-outline:before{content:"󱖳"}.mdi-motion-pause:before{content:"󱖐"}.mdi-motion-pause-outline:before{content:"󱖒"}.mdi-motion-play:before{content:"󱖏"}.mdi-motion-play-outline:before{content:"󱖑"}.mdi-motion-sensor:before{content:"󰶑"}.mdi-motion-sensor-off:before{content:"󱐵"}.mdi-motorbike:before{content:"󰍼"}.mdi-motorbike-electric:before{content:"󱖺"}.mdi-motorbike-off:before{content:"󱬖"}.mdi-mouse:before{content:"󰍽"}.mdi-mouse-bluetooth:before{content:"󰦋"}.mdi-mouse-move-down:before{content:"󱕐"}.mdi-mouse-move-up:before{content:"󱕑"}.mdi-mouse-move-vertical:before{content:"󱕒"}.mdi-mouse-off:before{content:"󰍾"}.mdi-mouse-variant:before{content:"󰍿"}.mdi-mouse-variant-off:before{content:"󰎀"}.mdi-move-resize:before{content:"󰙕"}.mdi-move-resize-variant:before{content:"󰙖"}.mdi-movie:before{content:"󰎁"}.mdi-movie-check:before{content:"󱛳"}.mdi-movie-check-outline:before{content:"󱛴"}.mdi-movie-cog:before{content:"󱛵"}.mdi-movie-cog-outline:before{content:"󱛶"}.mdi-movie-edit:before{content:"󱄢"}.mdi-movie-edit-outline:before{content:"󱄣"}.mdi-movie-filter:before{content:"󱄤"}.mdi-movie-filter-outline:before{content:"󱄥"}.mdi-movie-minus:before{content:"󱛷"}.mdi-movie-minus-outline:before{content:"󱛸"}.mdi-movie-off:before{content:"󱛹"}.mdi-movie-off-outline:before{content:"󱛺"}.mdi-movie-open:before{content:"󰿎"}.mdi-movie-open-check:before{content:"󱛻"}.mdi-movie-open-check-outline:before{content:"󱛼"}.mdi-movie-open-cog:before{content:"󱛽"}.mdi-movie-open-cog-outline:before{content:"󱛾"}.mdi-movie-open-edit:before{content:"󱛿"}.mdi-movie-open-edit-outline:before{content:"󱜀"}.mdi-movie-open-minus:before{content:"󱜁"}.mdi-movie-open-minus-outline:before{content:"󱜂"}.mdi-movie-open-off:before{content:"󱜃"}.mdi-movie-open-off-outline:before{content:"󱜄"}.mdi-movie-open-outline:before{content:"󰿏"}.mdi-movie-open-play:before{content:"󱜅"}.mdi-movie-open-play-outline:before{content:"󱜆"}.mdi-movie-open-plus:before{content:"󱜇"}.mdi-movie-open-plus-outline:before{content:"󱜈"}.mdi-movie-open-remove:before{content:"󱜉"}.mdi-movie-open-remove-outline:before{content:"󱜊"}.mdi-movie-open-settings:before{content:"󱜋"}.mdi-movie-open-settings-outline:before{content:"󱜌"}.mdi-movie-open-star:before{content:"󱜍"}.mdi-movie-open-star-outline:before{content:"󱜎"}.mdi-movie-outline:before{content:"󰷝"}.mdi-movie-play:before{content:"󱜏"}.mdi-movie-play-outline:before{content:"󱜐"}.mdi-movie-plus:before{content:"󱜑"}.mdi-movie-plus-outline:before{content:"󱜒"}.mdi-movie-remove:before{content:"󱜓"}.mdi-movie-remove-outline:before{content:"󱜔"}.mdi-movie-roll:before{content:"󰟞"}.mdi-movie-search:before{content:"󱇒"}.mdi-movie-search-outline:before{content:"󱇓"}.mdi-movie-settings:before{content:"󱜕"}.mdi-movie-settings-outline:before{content:"󱜖"}.mdi-movie-star:before{content:"󱜗"}.mdi-movie-star-outline:before{content:"󱜘"}.mdi-mower:before{content:"󱙯"}.mdi-mower-bag:before{content:"󱙰"}.mdi-mower-bag-on:before{content:"󱭠"}.mdi-mower-on:before{content:"󱭟"}.mdi-muffin:before{content:"󰦌"}.mdi-multicast:before{content:"󱢓"}.mdi-multimedia:before{content:"󱮗"}.mdi-multiplication:before{content:"󰎂"}.mdi-multiplication-box:before{content:"󰎃"}.mdi-mushroom:before{content:"󰟟"}.mdi-mushroom-off:before{content:"󱏺"}.mdi-mushroom-off-outline:before{content:"󱏻"}.mdi-mushroom-outline:before{content:"󰟠"}.mdi-music:before{content:"󰝚"}.mdi-music-accidental-double-flat:before{content:"󰽩"}.mdi-music-accidental-double-sharp:before{content:"󰽪"}.mdi-music-accidental-flat:before{content:"󰽫"}.mdi-music-accidental-natural:before{content:"󰽬"}.mdi-music-accidental-sharp:before{content:"󰽭"}.mdi-music-box:before{content:"󰎄"}.mdi-music-box-multiple:before{content:"󰌳"}.mdi-music-box-multiple-outline:before{content:"󰼄"}.mdi-music-box-outline:before{content:"󰎅"}.mdi-music-circle:before{content:"󰎆"}.mdi-music-circle-outline:before{content:"󰫔"}.mdi-music-clef-alto:before{content:"󰽮"}.mdi-music-clef-bass:before{content:"󰽯"}.mdi-music-clef-treble:before{content:"󰽰"}.mdi-music-note:before{content:"󰎇"}.mdi-music-note-bluetooth:before{content:"󰗾"}.mdi-music-note-bluetooth-off:before{content:"󰗿"}.mdi-music-note-eighth:before{content:"󰎈"}.mdi-music-note-eighth-dotted:before{content:"󰽱"}.mdi-music-note-half:before{content:"󰎉"}.mdi-music-note-half-dotted:before{content:"󰽲"}.mdi-music-note-minus:before{content:"󱮉"}.mdi-music-note-off:before{content:"󰎊"}.mdi-music-note-off-outline:before{content:"󰽳"}.mdi-music-note-outline:before{content:"󰽴"}.mdi-music-note-plus:before{content:"󰷞"}.mdi-music-note-quarter:before{content:"󰎋"}.mdi-music-note-quarter-dotted:before{content:"󰽵"}.mdi-music-note-sixteenth:before{content:"󰎌"}.mdi-music-note-sixteenth-dotted:before{content:"󰽶"}.mdi-music-note-whole:before{content:"󰎍"}.mdi-music-note-whole-dotted:before{content:"󰽷"}.mdi-music-off:before{content:"󰝛"}.mdi-music-rest-eighth:before{content:"󰽸"}.mdi-music-rest-half:before{content:"󰽹"}.mdi-music-rest-quarter:before{content:"󰽺"}.mdi-music-rest-sixteenth:before{content:"󰽻"}.mdi-music-rest-whole:before{content:"󰽼"}.mdi-mustache:before{content:"󱗞"}.mdi-nail:before{content:"󰷟"}.mdi-nas:before{content:"󰣳"}.mdi-nativescript:before{content:"󰢀"}.mdi-nature:before{content:"󰎎"}.mdi-nature-outline:before{content:"󱱱"}.mdi-nature-people:before{content:"󰎏"}.mdi-nature-people-outline:before{content:"󱱲"}.mdi-navigation:before{content:"󰎐"}.mdi-navigation-outline:before{content:"󱘇"}.mdi-navigation-variant:before{content:"󱣰"}.mdi-navigation-variant-outline:before{content:"󱣱"}.mdi-near-me:before{content:"󰗍"}.mdi-necklace:before{content:"󰼋"}.mdi-needle:before{content:"󰎑"}.mdi-needle-off:before{content:"󱧒"}.mdi-netflix:before{content:"󰝆"}.mdi-network:before{content:"󰛳"}.mdi-network-off:before{content:"󰲛"}.mdi-network-off-outline:before{content:"󰲜"}.mdi-network-outline:before{content:"󰲝"}.mdi-network-pos:before{content:"󱫋"}.mdi-network-strength-1:before{content:"󰣴"}.mdi-network-strength-1-alert:before{content:"󰣵"}.mdi-network-strength-2:before{content:"󰣶"}.mdi-network-strength-2-alert:before{content:"󰣷"}.mdi-network-strength-3:before{content:"󰣸"}.mdi-network-strength-3-alert:before{content:"󰣹"}.mdi-network-strength-4:before{content:"󰣺"}.mdi-network-strength-4-alert:before{content:"󰣻"}.mdi-network-strength-4-cog:before{content:"󱤚"}.mdi-network-strength-off:before{content:"󰣼"}.mdi-network-strength-off-outline:before{content:"󰣽"}.mdi-network-strength-outline:before{content:"󰣾"}.mdi-new-box:before{content:"󰎔"}.mdi-newspaper:before{content:"󰎕"}.mdi-newspaper-check:before{content:"󱥃"}.mdi-newspaper-minus:before{content:"󰼌"}.mdi-newspaper-plus:before{content:"󰼍"}.mdi-newspaper-remove:before{content:"󱥄"}.mdi-newspaper-variant:before{content:"󱀁"}.mdi-newspaper-variant-multiple:before{content:"󱀂"}.mdi-newspaper-variant-multiple-outline:before{content:"󱀃"}.mdi-newspaper-variant-outline:before{content:"󱀄"}.mdi-nfc:before{content:"󰎖"}.mdi-nfc-search-variant:before{content:"󰹓"}.mdi-nfc-tap:before{content:"󰎗"}.mdi-nfc-variant:before{content:"󰎘"}.mdi-nfc-variant-off:before{content:"󰹔"}.mdi-ninja:before{content:"󰝴"}.mdi-nintendo-game-boy:before{content:"󱎓"}.mdi-nintendo-switch:before{content:"󰟡"}.mdi-nintendo-wii:before{content:"󰖫"}.mdi-nintendo-wiiu:before{content:"󰜭"}.mdi-nix:before{content:"󱄅"}.mdi-nodejs:before{content:"󰎙"}.mdi-noodles:before{content:"󱅾"}.mdi-not-equal:before{content:"󰦍"}.mdi-not-equal-variant:before{content:"󰦎"}.mdi-note:before{content:"󰎚"}.mdi-note-alert:before{content:"󱝽"}.mdi-note-alert-outline:before{content:"󱝾"}.mdi-note-check:before{content:"󱝿"}.mdi-note-check-outline:before{content:"󱞀"}.mdi-note-edit:before{content:"󱞁"}.mdi-note-edit-outline:before{content:"󱞂"}.mdi-note-minus:before{content:"󱙏"}.mdi-note-minus-outline:before{content:"󱙐"}.mdi-note-multiple:before{content:"󰚸"}.mdi-note-multiple-outline:before{content:"󰚹"}.mdi-note-off:before{content:"󱞃"}.mdi-note-off-outline:before{content:"󱞄"}.mdi-note-outline:before{content:"󰎛"}.mdi-note-plus:before{content:"󰎜"}.mdi-note-plus-outline:before{content:"󰎝"}.mdi-note-remove:before{content:"󱙑"}.mdi-note-remove-outline:before{content:"󱙒"}.mdi-note-search:before{content:"󱙓"}.mdi-note-search-outline:before{content:"󱙔"}.mdi-note-text:before{content:"󰎞"}.mdi-note-text-outline:before{content:"󱇗"}.mdi-notebook:before{content:"󰠮"}.mdi-notebook-check:before{content:"󱓵"}.mdi-notebook-check-outline:before{content:"󱓶"}.mdi-notebook-edit:before{content:"󱓧"}.mdi-notebook-edit-outline:before{content:"󱓩"}.mdi-notebook-heart:before{content:"󱨋"}.mdi-notebook-heart-outline:before{content:"󱨌"}.mdi-notebook-minus:before{content:"󱘐"}.mdi-notebook-minus-outline:before{content:"󱘑"}.mdi-notebook-multiple:before{content:"󰹕"}.mdi-notebook-outline:before{content:"󰺿"}.mdi-notebook-plus:before{content:"󱘒"}.mdi-notebook-plus-outline:before{content:"󱘓"}.mdi-notebook-remove:before{content:"󱘔"}.mdi-notebook-remove-outline:before{content:"󱘕"}.mdi-notification-clear-all:before{content:"󰎟"}.mdi-npm:before{content:"󰛷"}.mdi-nuke:before{content:"󰚤"}.mdi-null:before{content:"󰟢"}.mdi-numeric:before{content:"󰎠"}.mdi-numeric-0:before{content:"󰬹"}.mdi-numeric-0-box:before{content:"󰎡"}.mdi-numeric-0-box-multiple:before{content:"󰼎"}.mdi-numeric-0-box-multiple-outline:before{content:"󰎢"}.mdi-numeric-0-box-outline:before{content:"󰎣"}.mdi-numeric-0-circle:before{content:"󰲞"}.mdi-numeric-0-circle-outline:before{content:"󰲟"}.mdi-numeric-1:before{content:"󰬺"}.mdi-numeric-1-box:before{content:"󰎤"}.mdi-numeric-1-box-multiple:before{content:"󰼏"}.mdi-numeric-1-box-multiple-outline:before{content:"󰎥"}.mdi-numeric-1-box-outline:before{content:"󰎦"}.mdi-numeric-1-circle:before{content:"󰲠"}.mdi-numeric-1-circle-outline:before{content:"󰲡"}.mdi-numeric-10:before{content:"󰿩"}.mdi-numeric-10-box:before{content:"󰽽"}.mdi-numeric-10-box-multiple:before{content:"󰿪"}.mdi-numeric-10-box-multiple-outline:before{content:"󰿫"}.mdi-numeric-10-box-outline:before{content:"󰽾"}.mdi-numeric-10-circle:before{content:"󰿬"}.mdi-numeric-10-circle-outline:before{content:"󰿭"}.mdi-numeric-2:before{content:"󰬻"}.mdi-numeric-2-box:before{content:"󰎧"}.mdi-numeric-2-box-multiple:before{content:"󰼐"}.mdi-numeric-2-box-multiple-outline:before{content:"󰎨"}.mdi-numeric-2-box-outline:before{content:"󰎩"}.mdi-numeric-2-circle:before{content:"󰲢"}.mdi-numeric-2-circle-outline:before{content:"󰲣"}.mdi-numeric-3:before{content:"󰬼"}.mdi-numeric-3-box:before{content:"󰎪"}.mdi-numeric-3-box-multiple:before{content:"󰼑"}.mdi-numeric-3-box-multiple-outline:before{content:"󰎫"}.mdi-numeric-3-box-outline:before{content:"󰎬"}.mdi-numeric-3-circle:before{content:"󰲤"}.mdi-numeric-3-circle-outline:before{content:"󰲥"}.mdi-numeric-4:before{content:"󰬽"}.mdi-numeric-4-box:before{content:"󰎭"}.mdi-numeric-4-box-multiple:before{content:"󰼒"}.mdi-numeric-4-box-multiple-outline:before{content:"󰎲"}.mdi-numeric-4-box-outline:before{content:"󰎮"}.mdi-numeric-4-circle:before{content:"󰲦"}.mdi-numeric-4-circle-outline:before{content:"󰲧"}.mdi-numeric-5:before{content:"󰬾"}.mdi-numeric-5-box:before{content:"󰎱"}.mdi-numeric-5-box-multiple:before{content:"󰼓"}.mdi-numeric-5-box-multiple-outline:before{content:"󰎯"}.mdi-numeric-5-box-outline:before{content:"󰎰"}.mdi-numeric-5-circle:before{content:"󰲨"}.mdi-numeric-5-circle-outline:before{content:"󰲩"}.mdi-numeric-6:before{content:"󰬿"}.mdi-numeric-6-box:before{content:"󰎳"}.mdi-numeric-6-box-multiple:before{content:"󰼔"}.mdi-numeric-6-box-multiple-outline:before{content:"󰎴"}.mdi-numeric-6-box-outline:before{content:"󰎵"}.mdi-numeric-6-circle:before{content:"󰲪"}.mdi-numeric-6-circle-outline:before{content:"󰲫"}.mdi-numeric-7:before{content:"󰭀"}.mdi-numeric-7-box:before{content:"󰎶"}.mdi-numeric-7-box-multiple:before{content:"󰼕"}.mdi-numeric-7-box-multiple-outline:before{content:"󰎷"}.mdi-numeric-7-box-outline:before{content:"󰎸"}.mdi-numeric-7-circle:before{content:"󰲬"}.mdi-numeric-7-circle-outline:before{content:"󰲭"}.mdi-numeric-8:before{content:"󰭁"}.mdi-numeric-8-box:before{content:"󰎹"}.mdi-numeric-8-box-multiple:before{content:"󰼖"}.mdi-numeric-8-box-multiple-outline:before{content:"󰎺"}.mdi-numeric-8-box-outline:before{content:"󰎻"}.mdi-numeric-8-circle:before{content:"󰲮"}.mdi-numeric-8-circle-outline:before{content:"󰲯"}.mdi-numeric-9:before{content:"󰭂"}.mdi-numeric-9-box:before{content:"󰎼"}.mdi-numeric-9-box-multiple:before{content:"󰼗"}.mdi-numeric-9-box-multiple-outline:before{content:"󰎽"}.mdi-numeric-9-box-outline:before{content:"󰎾"}.mdi-numeric-9-circle:before{content:"󰲰"}.mdi-numeric-9-circle-outline:before{content:"󰲱"}.mdi-numeric-9-plus:before{content:"󰿮"}.mdi-numeric-9-plus-box:before{content:"󰎿"}.mdi-numeric-9-plus-box-multiple:before{content:"󰼘"}.mdi-numeric-9-plus-box-multiple-outline:before{content:"󰏀"}.mdi-numeric-9-plus-box-outline:before{content:"󰏁"}.mdi-numeric-9-plus-circle:before{content:"󰲲"}.mdi-numeric-9-plus-circle-outline:before{content:"󰲳"}.mdi-numeric-negative-1:before{content:"󱁒"}.mdi-numeric-off:before{content:"󱧓"}.mdi-numeric-positive-1:before{content:"󱗋"}.mdi-nut:before{content:"󰛸"}.mdi-nutrition:before{content:"󰏂"}.mdi-nuxt:before{content:"󱄆"}.mdi-oar:before{content:"󰙼"}.mdi-ocarina:before{content:"󰷠"}.mdi-oci:before{content:"󱋩"}.mdi-ocr:before{content:"󱄺"}.mdi-octagon:before{content:"󰏃"}.mdi-octagon-outline:before{content:"󰏄"}.mdi-octagram:before{content:"󰛹"}.mdi-octagram-edit:before{content:"󱰴"}.mdi-octagram-edit-outline:before{content:"󱰵"}.mdi-octagram-minus:before{content:"󱰶"}.mdi-octagram-minus-outline:before{content:"󱰷"}.mdi-octagram-outline:before{content:"󰝵"}.mdi-octagram-plus:before{content:"󱰸"}.mdi-octagram-plus-outline:before{content:"󱰹"}.mdi-octahedron:before{content:"󱥐"}.mdi-octahedron-off:before{content:"󱥑"}.mdi-odnoklassniki:before{content:"󰏅"}.mdi-offer:before{content:"󱈛"}.mdi-office-building:before{content:"󰦑"}.mdi-office-building-cog:before{content:"󱥉"}.mdi-office-building-cog-outline:before{content:"󱥊"}.mdi-office-building-marker:before{content:"󱔠"}.mdi-office-building-marker-outline:before{content:"󱔡"}.mdi-office-building-minus:before{content:"󱮪"}.mdi-office-building-minus-outline:before{content:"󱮫"}.mdi-office-building-outline:before{content:"󱔟"}.mdi-office-building-plus:before{content:"󱮨"}.mdi-office-building-plus-outline:before{content:"󱮩"}.mdi-office-building-remove:before{content:"󱮬"}.mdi-office-building-remove-outline:before{content:"󱮭"}.mdi-oil:before{content:"󰏇"}.mdi-oil-lamp:before{content:"󰼙"}.mdi-oil-level:before{content:"󱁓"}.mdi-oil-temperature:before{content:"󰿸"}.mdi-om:before{content:"󰥳"}.mdi-omega:before{content:"󰏉"}.mdi-one-up:before{content:"󰮭"}.mdi-onepassword:before{content:"󰢁"}.mdi-opacity:before{content:"󰗌"}.mdi-open-in-app:before{content:"󰏋"}.mdi-open-in-new:before{content:"󰏌"}.mdi-open-source-initiative:before{content:"󰮮"}.mdi-openid:before{content:"󰏍"}.mdi-opera:before{content:"󰏎"}.mdi-orbit:before{content:"󰀘"}.mdi-orbit-variant:before{content:"󱗛"}.mdi-order-alphabetical-ascending:before{content:"󰈍"}.mdi-order-alphabetical-descending:before{content:"󰴇"}.mdi-order-bool-ascending:before{content:"󰊾"}.mdi-order-bool-ascending-variant:before{content:"󰦏"}.mdi-order-bool-descending:before{content:"󱎄"}.mdi-order-bool-descending-variant:before{content:"󰦐"}.mdi-order-numeric-ascending:before{content:"󰕅"}.mdi-order-numeric-descending:before{content:"󰕆"}.mdi-origin:before{content:"󰭃"}.mdi-ornament:before{content:"󰏏"}.mdi-ornament-variant:before{content:"󰏐"}.mdi-outdoor-lamp:before{content:"󱁔"}.mdi-overscan:before{content:"󱀅"}.mdi-owl:before{content:"󰏒"}.mdi-pac-man:before{content:"󰮯"}.mdi-package:before{content:"󰏓"}.mdi-package-check:before{content:"󱭑"}.mdi-package-down:before{content:"󰏔"}.mdi-package-up:before{content:"󰏕"}.mdi-package-variant:before{content:"󰏖"}.mdi-package-variant-closed:before{content:"󰏗"}.mdi-package-variant-closed-check:before{content:"󱭒"}.mdi-package-variant-closed-minus:before{content:"󱧔"}.mdi-package-variant-closed-plus:before{content:"󱧕"}.mdi-package-variant-closed-remove:before{content:"󱧖"}.mdi-package-variant-minus:before{content:"󱧗"}.mdi-package-variant-plus:before{content:"󱧘"}.mdi-package-variant-remove:before{content:"󱧙"}.mdi-page-first:before{content:"󰘀"}.mdi-page-last:before{content:"󰘁"}.mdi-page-layout-body:before{content:"󰛺"}.mdi-page-layout-footer:before{content:"󰛻"}.mdi-page-layout-header:before{content:"󰛼"}.mdi-page-layout-header-footer:before{content:"󰽿"}.mdi-page-layout-sidebar-left:before{content:"󰛽"}.mdi-page-layout-sidebar-right:before{content:"󰛾"}.mdi-page-next:before{content:"󰮰"}.mdi-page-next-outline:before{content:"󰮱"}.mdi-page-previous:before{content:"󰮲"}.mdi-page-previous-outline:before{content:"󰮳"}.mdi-pail:before{content:"󱐗"}.mdi-pail-minus:before{content:"󱐷"}.mdi-pail-minus-outline:before{content:"󱐼"}.mdi-pail-off:before{content:"󱐹"}.mdi-pail-off-outline:before{content:"󱐾"}.mdi-pail-outline:before{content:"󱐺"}.mdi-pail-plus:before{content:"󱐶"}.mdi-pail-plus-outline:before{content:"󱐻"}.mdi-pail-remove:before{content:"󱐸"}.mdi-pail-remove-outline:before{content:"󱐽"}.mdi-palette:before{content:"󰏘"}.mdi-palette-advanced:before{content:"󰏙"}.mdi-palette-outline:before{content:"󰸌"}.mdi-palette-swatch:before{content:"󰢵"}.mdi-palette-swatch-outline:before{content:"󱍜"}.mdi-palette-swatch-variant:before{content:"󱥚"}.mdi-palm-tree:before{content:"󱁕"}.mdi-pan:before{content:"󰮴"}.mdi-pan-bottom-left:before{content:"󰮵"}.mdi-pan-bottom-right:before{content:"󰮶"}.mdi-pan-down:before{content:"󰮷"}.mdi-pan-horizontal:before{content:"󰮸"}.mdi-pan-left:before{content:"󰮹"}.mdi-pan-right:before{content:"󰮺"}.mdi-pan-top-left:before{content:"󰮻"}.mdi-pan-top-right:before{content:"󰮼"}.mdi-pan-up:before{content:"󰮽"}.mdi-pan-vertical:before{content:"󰮾"}.mdi-panda:before{content:"󰏚"}.mdi-pandora:before{content:"󰏛"}.mdi-panorama:before{content:"󰏜"}.mdi-panorama-fisheye:before{content:"󰏝"}.mdi-panorama-horizontal:before{content:"󱤨"}.mdi-panorama-horizontal-outline:before{content:"󰏞"}.mdi-panorama-outline:before{content:"󱦌"}.mdi-panorama-sphere:before{content:"󱦍"}.mdi-panorama-sphere-outline:before{content:"󱦎"}.mdi-panorama-variant:before{content:"󱦏"}.mdi-panorama-variant-outline:before{content:"󱦐"}.mdi-panorama-vertical:before{content:"󱤩"}.mdi-panorama-vertical-outline:before{content:"󰏟"}.mdi-panorama-wide-angle:before{content:"󱥟"}.mdi-panorama-wide-angle-outline:before{content:"󰏠"}.mdi-paper-cut-vertical:before{content:"󰏡"}.mdi-paper-roll:before{content:"󱅗"}.mdi-paper-roll-outline:before{content:"󱅘"}.mdi-paperclip:before{content:"󰏢"}.mdi-paperclip-check:before{content:"󱫆"}.mdi-paperclip-lock:before{content:"󱧚"}.mdi-paperclip-minus:before{content:"󱫇"}.mdi-paperclip-off:before{content:"󱫈"}.mdi-paperclip-plus:before{content:"󱫉"}.mdi-paperclip-remove:before{content:"󱫊"}.mdi-parachute:before{content:"󰲴"}.mdi-parachute-outline:before{content:"󰲵"}.mdi-paragliding:before{content:"󱝅"}.mdi-parking:before{content:"󰏣"}.mdi-party-popper:before{content:"󱁖"}.mdi-passport:before{content:"󰟣"}.mdi-passport-biometric:before{content:"󰷡"}.mdi-pasta:before{content:"󱅠"}.mdi-patio-heater:before{content:"󰾀"}.mdi-patreon:before{content:"󰢂"}.mdi-pause:before{content:"󰏤"}.mdi-pause-box:before{content:"󰂼"}.mdi-pause-box-outline:before{content:"󱭺"}.mdi-pause-circle:before{content:"󰏥"}.mdi-pause-circle-outline:before{content:"󰏦"}.mdi-pause-octagon:before{content:"󰏧"}.mdi-pause-octagon-outline:before{content:"󰏨"}.mdi-paw:before{content:"󰏩"}.mdi-paw-off:before{content:"󰙗"}.mdi-paw-off-outline:before{content:"󱙶"}.mdi-paw-outline:before{content:"󱙵"}.mdi-peace:before{content:"󰢄"}.mdi-peanut:before{content:"󰿼"}.mdi-peanut-off:before{content:"󰿽"}.mdi-peanut-off-outline:before{content:"󰿿"}.mdi-peanut-outline:before{content:"󰿾"}.mdi-pen:before{content:"󰏪"}.mdi-pen-lock:before{content:"󰷢"}.mdi-pen-minus:before{content:"󰷣"}.mdi-pen-off:before{content:"󰷤"}.mdi-pen-plus:before{content:"󰷥"}.mdi-pen-remove:before{content:"󰷦"}.mdi-pencil:before{content:"󰏫"}.mdi-pencil-box:before{content:"󰏬"}.mdi-pencil-box-multiple:before{content:"󱅄"}.mdi-pencil-box-multiple-outline:before{content:"󱅅"}.mdi-pencil-box-outline:before{content:"󰏭"}.mdi-pencil-circle:before{content:"󰛿"}.mdi-pencil-circle-outline:before{content:"󰝶"}.mdi-pencil-lock:before{content:"󰏮"}.mdi-pencil-lock-outline:before{content:"󰷧"}.mdi-pencil-minus:before{content:"󰷨"}.mdi-pencil-minus-outline:before{content:"󰷩"}.mdi-pencil-off:before{content:"󰏯"}.mdi-pencil-off-outline:before{content:"󰷪"}.mdi-pencil-outline:before{content:"󰲶"}.mdi-pencil-plus:before{content:"󰷫"}.mdi-pencil-plus-outline:before{content:"󰷬"}.mdi-pencil-remove:before{content:"󰷭"}.mdi-pencil-remove-outline:before{content:"󰷮"}.mdi-pencil-ruler:before{content:"󱍓"}.mdi-pencil-ruler-outline:before{content:"󱰑"}.mdi-penguin:before{content:"󰻀"}.mdi-pentagon:before{content:"󰜁"}.mdi-pentagon-outline:before{content:"󰜀"}.mdi-pentagram:before{content:"󱙧"}.mdi-percent:before{content:"󰏰"}.mdi-percent-box:before{content:"󱨂"}.mdi-percent-box-outline:before{content:"󱨃"}.mdi-percent-circle:before{content:"󱨄"}.mdi-percent-circle-outline:before{content:"󱨅"}.mdi-percent-outline:before{content:"󱉸"}.mdi-periodic-table:before{content:"󰢶"}.mdi-perspective-less:before{content:"󰴣"}.mdi-perspective-more:before{content:"󰴤"}.mdi-ph:before{content:"󱟅"}.mdi-phone:before{content:"󰏲"}.mdi-phone-alert:before{content:"󰼚"}.mdi-phone-alert-outline:before{content:"󱆎"}.mdi-phone-bluetooth:before{content:"󰏳"}.mdi-phone-bluetooth-outline:before{content:"󱆏"}.mdi-phone-cancel:before{content:"󱂼"}.mdi-phone-cancel-outline:before{content:"󱆐"}.mdi-phone-check:before{content:"󱆩"}.mdi-phone-check-outline:before{content:"󱆪"}.mdi-phone-classic:before{content:"󰘂"}.mdi-phone-classic-off:before{content:"󱉹"}.mdi-phone-clock:before{content:"󱧛"}.mdi-phone-dial:before{content:"󱕙"}.mdi-phone-dial-outline:before{content:"󱕚"}.mdi-phone-forward:before{content:"󰏴"}.mdi-phone-forward-outline:before{content:"󱆑"}.mdi-phone-hangup:before{content:"󰏵"}.mdi-phone-hangup-outline:before{content:"󱆒"}.mdi-phone-in-talk:before{content:"󰏶"}.mdi-phone-in-talk-outline:before{content:"󱆂"}.mdi-phone-incoming:before{content:"󰏷"}.mdi-phone-incoming-outgoing:before{content:"󱬿"}.mdi-phone-incoming-outgoing-outline:before{content:"󱭀"}.mdi-phone-incoming-outline:before{content:"󱆓"}.mdi-phone-lock:before{content:"󰏸"}.mdi-phone-lock-outline:before{content:"󱆔"}.mdi-phone-log:before{content:"󰏹"}.mdi-phone-log-outline:before{content:"󱆕"}.mdi-phone-message:before{content:"󱆖"}.mdi-phone-message-outline:before{content:"󱆗"}.mdi-phone-minus:before{content:"󰙘"}.mdi-phone-minus-outline:before{content:"󱆘"}.mdi-phone-missed:before{content:"󰏺"}.mdi-phone-missed-outline:before{content:"󱆥"}.mdi-phone-off:before{content:"󰷯"}.mdi-phone-off-outline:before{content:"󱆦"}.mdi-phone-outgoing:before{content:"󰏻"}.mdi-phone-outgoing-outline:before{content:"󱆙"}.mdi-phone-outline:before{content:"󰷰"}.mdi-phone-paused:before{content:"󰏼"}.mdi-phone-paused-outline:before{content:"󱆚"}.mdi-phone-plus:before{content:"󰙙"}.mdi-phone-plus-outline:before{content:"󱆛"}.mdi-phone-refresh:before{content:"󱦓"}.mdi-phone-refresh-outline:before{content:"󱦔"}.mdi-phone-remove:before{content:"󱔯"}.mdi-phone-remove-outline:before{content:"󱔰"}.mdi-phone-return:before{content:"󰠯"}.mdi-phone-return-outline:before{content:"󱆜"}.mdi-phone-ring:before{content:"󱆫"}.mdi-phone-ring-outline:before{content:"󱆬"}.mdi-phone-rotate-landscape:before{content:"󰢅"}.mdi-phone-rotate-portrait:before{content:"󰢆"}.mdi-phone-settings:before{content:"󰏽"}.mdi-phone-settings-outline:before{content:"󱆝"}.mdi-phone-sync:before{content:"󱦕"}.mdi-phone-sync-outline:before{content:"󱦖"}.mdi-phone-voip:before{content:"󰏾"}.mdi-pi:before{content:"󰏿"}.mdi-pi-box:before{content:"󰐀"}.mdi-pi-hole:before{content:"󰷱"}.mdi-piano:before{content:"󰙽"}.mdi-piano-off:before{content:"󰚘"}.mdi-pickaxe:before{content:"󰢷"}.mdi-picture-in-picture-bottom-right:before{content:"󰹗"}.mdi-picture-in-picture-bottom-right-outline:before{content:"󰹘"}.mdi-picture-in-picture-top-right:before{content:"󰹙"}.mdi-picture-in-picture-top-right-outline:before{content:"󰹚"}.mdi-pier:before{content:"󰢇"}.mdi-pier-crane:before{content:"󰢈"}.mdi-pig:before{content:"󰐁"}.mdi-pig-variant:before{content:"󱀆"}.mdi-pig-variant-outline:before{content:"󱙸"}.mdi-piggy-bank:before{content:"󱀇"}.mdi-piggy-bank-outline:before{content:"󱙹"}.mdi-pill:before{content:"󰐂"}.mdi-pill-multiple:before{content:"󱭌"}.mdi-pill-off:before{content:"󱩜"}.mdi-pillar:before{content:"󰜂"}.mdi-pin:before{content:"󰐃"}.mdi-pin-off:before{content:"󰐄"}.mdi-pin-off-outline:before{content:"󰤰"}.mdi-pin-outline:before{content:"󰤱"}.mdi-pine-tree:before{content:"󰐅"}.mdi-pine-tree-box:before{content:"󰐆"}.mdi-pine-tree-fire:before{content:"󱐚"}.mdi-pine-tree-variant:before{content:"󱱳"}.mdi-pine-tree-variant-outline:before{content:"󱱴"}.mdi-pinterest:before{content:"󰐇"}.mdi-pinwheel:before{content:"󰫕"}.mdi-pinwheel-outline:before{content:"󰫖"}.mdi-pipe:before{content:"󰟥"}.mdi-pipe-disconnected:before{content:"󰟦"}.mdi-pipe-leak:before{content:"󰢉"}.mdi-pipe-valve:before{content:"󱡍"}.mdi-pipe-wrench:before{content:"󱍔"}.mdi-pirate:before{content:"󰨈"}.mdi-pistol:before{content:"󰜃"}.mdi-piston:before{content:"󰢊"}.mdi-pitchfork:before{content:"󱕓"}.mdi-pizza:before{content:"󰐉"}.mdi-plane-car:before{content:"󱫿"}.mdi-plane-train:before{content:"󱬀"}.mdi-play:before{content:"󰐊"}.mdi-play-box:before{content:"󱉺"}.mdi-play-box-edit-outline:before{content:"󱰺"}.mdi-play-box-lock:before{content:"󱨖"}.mdi-play-box-lock-open:before{content:"󱨗"}.mdi-play-box-lock-open-outline:before{content:"󱨘"}.mdi-play-box-lock-outline:before{content:"󱨙"}.mdi-play-box-multiple:before{content:"󰴙"}.mdi-play-box-multiple-outline:before{content:"󱏦"}.mdi-play-box-outline:before{content:"󰐋"}.mdi-play-circle:before{content:"󰐌"}.mdi-play-circle-outline:before{content:"󰐍"}.mdi-play-network:before{content:"󰢋"}.mdi-play-network-outline:before{content:"󰲷"}.mdi-play-outline:before{content:"󰼛"}.mdi-play-pause:before{content:"󰐎"}.mdi-play-protected-content:before{content:"󰐏"}.mdi-play-speed:before{content:"󰣿"}.mdi-playlist-check:before{content:"󰗇"}.mdi-playlist-edit:before{content:"󰤀"}.mdi-playlist-minus:before{content:"󰐐"}.mdi-playlist-music:before{content:"󰲸"}.mdi-playlist-music-outline:before{content:"󰲹"}.mdi-playlist-play:before{content:"󰐑"}.mdi-playlist-plus:before{content:"󰐒"}.mdi-playlist-remove:before{content:"󰐓"}.mdi-playlist-star:before{content:"󰷲"}.mdi-plex:before{content:"󰚺"}.mdi-pliers:before{content:"󱦤"}.mdi-plus:before{content:"󰐕"}.mdi-plus-box:before{content:"󰐖"}.mdi-plus-box-multiple:before{content:"󰌴"}.mdi-plus-box-multiple-outline:before{content:"󱅃"}.mdi-plus-box-outline:before{content:"󰜄"}.mdi-plus-circle:before{content:"󰐗"}.mdi-plus-circle-multiple:before{content:"󰍌"}.mdi-plus-circle-multiple-outline:before{content:"󰐘"}.mdi-plus-circle-outline:before{content:"󰐙"}.mdi-plus-lock:before{content:"󱩝"}.mdi-plus-lock-open:before{content:"󱩞"}.mdi-plus-minus:before{content:"󰦒"}.mdi-plus-minus-box:before{content:"󰦓"}.mdi-plus-minus-variant:before{content:"󱓉"}.mdi-plus-network:before{content:"󰐚"}.mdi-plus-network-outline:before{content:"󰲺"}.mdi-plus-outline:before{content:"󰜅"}.mdi-plus-thick:before{content:"󱇬"}.mdi-podcast:before{content:"󰦔"}.mdi-podium:before{content:"󰴥"}.mdi-podium-bronze:before{content:"󰴦"}.mdi-podium-gold:before{content:"󰴧"}.mdi-podium-silver:before{content:"󰴨"}.mdi-point-of-sale:before{content:"󰶒"}.mdi-pokeball:before{content:"󰐝"}.mdi-pokemon-go:before{content:"󰨉"}.mdi-poker-chip:before{content:"󰠰"}.mdi-polaroid:before{content:"󰐞"}.mdi-police-badge:before{content:"󱅧"}.mdi-police-badge-outline:before{content:"󱅨"}.mdi-police-station:before{content:"󱠹"}.mdi-poll:before{content:"󰐟"}.mdi-polo:before{content:"󱓃"}.mdi-polymer:before{content:"󰐡"}.mdi-pool:before{content:"󰘆"}.mdi-pool-thermometer:before{content:"󱩟"}.mdi-popcorn:before{content:"󰐢"}.mdi-post:before{content:"󱀈"}.mdi-post-lamp:before{content:"󱩠"}.mdi-post-outline:before{content:"󱀉"}.mdi-postage-stamp:before{content:"󰲻"}.mdi-pot:before{content:"󰋥"}.mdi-pot-mix:before{content:"󰙛"}.mdi-pot-mix-outline:before{content:"󰙷"}.mdi-pot-outline:before{content:"󰋿"}.mdi-pot-steam:before{content:"󰙚"}.mdi-pot-steam-outline:before{content:"󰌦"}.mdi-pound:before{content:"󰐣"}.mdi-pound-box:before{content:"󰐤"}.mdi-pound-box-outline:before{content:"󱅿"}.mdi-power:before{content:"󰐥"}.mdi-power-cycle:before{content:"󰤁"}.mdi-power-off:before{content:"󰤂"}.mdi-power-on:before{content:"󰤃"}.mdi-power-plug:before{content:"󰚥"}.mdi-power-plug-battery:before{content:"󱰻"}.mdi-power-plug-battery-outline:before{content:"󱰼"}.mdi-power-plug-off:before{content:"󰚦"}.mdi-power-plug-off-outline:before{content:"󱐤"}.mdi-power-plug-outline:before{content:"󱐥"}.mdi-power-settings:before{content:"󰐦"}.mdi-power-sleep:before{content:"󰤄"}.mdi-power-socket:before{content:"󰐧"}.mdi-power-socket-au:before{content:"󰤅"}.mdi-power-socket-ch:before{content:"󰾳"}.mdi-power-socket-de:before{content:"󱄇"}.mdi-power-socket-eu:before{content:"󰟧"}.mdi-power-socket-fr:before{content:"󱄈"}.mdi-power-socket-it:before{content:"󱓿"}.mdi-power-socket-jp:before{content:"󱄉"}.mdi-power-socket-uk:before{content:"󰟨"}.mdi-power-socket-us:before{content:"󰟩"}.mdi-power-standby:before{content:"󰤆"}.mdi-powershell:before{content:"󰨊"}.mdi-prescription:before{content:"󰜆"}.mdi-presentation:before{content:"󰐨"}.mdi-presentation-play:before{content:"󰐩"}.mdi-pretzel:before{content:"󱕢"}.mdi-printer:before{content:"󰐪"}.mdi-printer-3d:before{content:"󰐫"}.mdi-printer-3d-nozzle:before{content:"󰹛"}.mdi-printer-3d-nozzle-alert:before{content:"󱇀"}.mdi-printer-3d-nozzle-alert-outline:before{content:"󱇁"}.mdi-printer-3d-nozzle-heat:before{content:"󱢸"}.mdi-printer-3d-nozzle-heat-outline:before{content:"󱢹"}.mdi-printer-3d-nozzle-off:before{content:"󱬙"}.mdi-printer-3d-nozzle-off-outline:before{content:"󱬚"}.mdi-printer-3d-nozzle-outline:before{content:"󰹜"}.mdi-printer-3d-off:before{content:"󱬎"}.mdi-printer-alert:before{content:"󰐬"}.mdi-printer-check:before{content:"󱅆"}.mdi-printer-eye:before{content:"󱑘"}.mdi-printer-off:before{content:"󰹝"}.mdi-printer-off-outline:before{content:"󱞅"}.mdi-printer-outline:before{content:"󱞆"}.mdi-printer-pos:before{content:"󱁗"}.mdi-printer-pos-alert:before{content:"󱮼"}.mdi-printer-pos-alert-outline:before{content:"󱮽"}.mdi-printer-pos-cancel:before{content:"󱮾"}.mdi-printer-pos-cancel-outline:before{content:"󱮿"}.mdi-printer-pos-check:before{content:"󱯀"}.mdi-printer-pos-check-outline:before{content:"󱯁"}.mdi-printer-pos-cog:before{content:"󱯂"}.mdi-printer-pos-cog-outline:before{content:"󱯃"}.mdi-printer-pos-edit:before{content:"󱯄"}.mdi-printer-pos-edit-outline:before{content:"󱯅"}.mdi-printer-pos-minus:before{content:"󱯆"}.mdi-printer-pos-minus-outline:before{content:"󱯇"}.mdi-printer-pos-network:before{content:"󱯈"}.mdi-printer-pos-network-outline:before{content:"󱯉"}.mdi-printer-pos-off:before{content:"󱯊"}.mdi-printer-pos-off-outline:before{content:"󱯋"}.mdi-printer-pos-outline:before{content:"󱯌"}.mdi-printer-pos-pause:before{content:"󱯍"}.mdi-printer-pos-pause-outline:before{content:"󱯎"}.mdi-printer-pos-play:before{content:"󱯏"}.mdi-printer-pos-play-outline:before{content:"󱯐"}.mdi-printer-pos-plus:before{content:"󱯑"}.mdi-printer-pos-plus-outline:before{content:"󱯒"}.mdi-printer-pos-refresh:before{content:"󱯓"}.mdi-printer-pos-refresh-outline:before{content:"󱯔"}.mdi-printer-pos-remove:before{content:"󱯕"}.mdi-printer-pos-remove-outline:before{content:"󱯖"}.mdi-printer-pos-star:before{content:"󱯗"}.mdi-printer-pos-star-outline:before{content:"󱯘"}.mdi-printer-pos-stop:before{content:"󱯙"}.mdi-printer-pos-stop-outline:before{content:"󱯚"}.mdi-printer-pos-sync:before{content:"󱯛"}.mdi-printer-pos-sync-outline:before{content:"󱯜"}.mdi-printer-pos-wrench:before{content:"󱯝"}.mdi-printer-pos-wrench-outline:before{content:"󱯞"}.mdi-printer-search:before{content:"󱑗"}.mdi-printer-settings:before{content:"󰜇"}.mdi-printer-wireless:before{content:"󰨋"}.mdi-priority-high:before{content:"󰘃"}.mdi-priority-low:before{content:"󰘄"}.mdi-professional-hexagon:before{content:"󰐭"}.mdi-progress-alert:before{content:"󰲼"}.mdi-progress-check:before{content:"󰦕"}.mdi-progress-clock:before{content:"󰦖"}.mdi-progress-close:before{content:"󱄊"}.mdi-progress-download:before{content:"󰦗"}.mdi-progress-helper:before{content:"󱮢"}.mdi-progress-pencil:before{content:"󱞇"}.mdi-progress-question:before{content:"󱔢"}.mdi-progress-star:before{content:"󱞈"}.mdi-progress-star-four-points:before{content:"󱰽"}.mdi-progress-upload:before{content:"󰦘"}.mdi-progress-wrench:before{content:"󰲽"}.mdi-projector:before{content:"󰐮"}.mdi-projector-off:before{content:"󱨣"}.mdi-projector-screen:before{content:"󰐯"}.mdi-projector-screen-off:before{content:"󱠍"}.mdi-projector-screen-off-outline:before{content:"󱠎"}.mdi-projector-screen-outline:before{content:"󱜤"}.mdi-projector-screen-variant:before{content:"󱠏"}.mdi-projector-screen-variant-off:before{content:"󱠐"}.mdi-projector-screen-variant-off-outline:before{content:"󱠑"}.mdi-projector-screen-variant-outline:before{content:"󱠒"}.mdi-propane-tank:before{content:"󱍗"}.mdi-propane-tank-outline:before{content:"󱍘"}.mdi-protocol:before{content:"󰿘"}.mdi-publish:before{content:"󰚧"}.mdi-publish-off:before{content:"󱥅"}.mdi-pulse:before{content:"󰐰"}.mdi-pump:before{content:"󱐂"}.mdi-pump-off:before{content:"󱬢"}.mdi-pumpkin:before{content:"󰮿"}.mdi-purse:before{content:"󰼜"}.mdi-purse-outline:before{content:"󰼝"}.mdi-puzzle:before{content:"󰐱"}.mdi-puzzle-check:before{content:"󱐦"}.mdi-puzzle-check-outline:before{content:"󱐧"}.mdi-puzzle-edit:before{content:"󱓓"}.mdi-puzzle-edit-outline:before{content:"󱓙"}.mdi-puzzle-heart:before{content:"󱓔"}.mdi-puzzle-heart-outline:before{content:"󱓚"}.mdi-puzzle-minus:before{content:"󱓑"}.mdi-puzzle-minus-outline:before{content:"󱓗"}.mdi-puzzle-outline:before{content:"󰩦"}.mdi-puzzle-plus:before{content:"󱓐"}.mdi-puzzle-plus-outline:before{content:"󱓖"}.mdi-puzzle-remove:before{content:"󱓒"}.mdi-puzzle-remove-outline:before{content:"󱓘"}.mdi-puzzle-star:before{content:"󱓕"}.mdi-puzzle-star-outline:before{content:"󱓛"}.mdi-pyramid:before{content:"󱥒"}.mdi-pyramid-off:before{content:"󱥓"}.mdi-qi:before{content:"󰦙"}.mdi-qqchat:before{content:"󰘅"}.mdi-qrcode:before{content:"󰐲"}.mdi-qrcode-edit:before{content:"󰢸"}.mdi-qrcode-minus:before{content:"󱆌"}.mdi-qrcode-plus:before{content:"󱆋"}.mdi-qrcode-remove:before{content:"󱆍"}.mdi-qrcode-scan:before{content:"󰐳"}.mdi-quadcopter:before{content:"󰐴"}.mdi-quality-high:before{content:"󰐵"}.mdi-quality-low:before{content:"󰨌"}.mdi-quality-medium:before{content:"󰨍"}.mdi-quora:before{content:"󰴩"}.mdi-rabbit:before{content:"󰤇"}.mdi-rabbit-variant:before{content:"󱩡"}.mdi-rabbit-variant-outline:before{content:"󱩢"}.mdi-racing-helmet:before{content:"󰶓"}.mdi-racquetball:before{content:"󰶔"}.mdi-radar:before{content:"󰐷"}.mdi-radiator:before{content:"󰐸"}.mdi-radiator-disabled:before{content:"󰫗"}.mdi-radiator-off:before{content:"󰫘"}.mdi-radio:before{content:"󰐹"}.mdi-radio-am:before{content:"󰲾"}.mdi-radio-fm:before{content:"󰲿"}.mdi-radio-handheld:before{content:"󰐺"}.mdi-radio-off:before{content:"󱈜"}.mdi-radio-tower:before{content:"󰐻"}.mdi-radioactive:before{content:"󰐼"}.mdi-radioactive-circle:before{content:"󱡝"}.mdi-radioactive-circle-outline:before{content:"󱡞"}.mdi-radioactive-off:before{content:"󰻁"}.mdi-radiobox-blank:before{content:"󰐽"}.mdi-radiobox-indeterminate-variant:before{content:"󱱞"}.mdi-radiobox-marked:before{content:"󰐾"}.mdi-radiology-box:before{content:"󱓅"}.mdi-radiology-box-outline:before{content:"󱓆"}.mdi-radius:before{content:"󰳀"}.mdi-radius-outline:before{content:"󰳁"}.mdi-railroad-light:before{content:"󰼞"}.mdi-rake:before{content:"󱕄"}.mdi-raspberry-pi:before{content:"󰐿"}.mdi-raw:before{content:"󱨏"}.mdi-raw-off:before{content:"󱨐"}.mdi-ray-end:before{content:"󰑀"}.mdi-ray-end-arrow:before{content:"󰑁"}.mdi-ray-start:before{content:"󰑂"}.mdi-ray-start-arrow:before{content:"󰑃"}.mdi-ray-start-end:before{content:"󰑄"}.mdi-ray-start-vertex-end:before{content:"󱗘"}.mdi-ray-vertex:before{content:"󰑅"}.mdi-razor-double-edge:before{content:"󱦗"}.mdi-razor-single-edge:before{content:"󱦘"}.mdi-react:before{content:"󰜈"}.mdi-read:before{content:"󰑇"}.mdi-receipt:before{content:"󰠤"}.mdi-receipt-clock:before{content:"󱰾"}.mdi-receipt-clock-outline:before{content:"󱰿"}.mdi-receipt-outline:before{content:"󰓷"}.mdi-receipt-send:before{content:"󱱀"}.mdi-receipt-send-outline:before{content:"󱱁"}.mdi-receipt-text:before{content:"󰑉"}.mdi-receipt-text-arrow-left:before{content:"󱱂"}.mdi-receipt-text-arrow-left-outline:before{content:"󱱃"}.mdi-receipt-text-arrow-right:before{content:"󱱄"}.mdi-receipt-text-arrow-right-outline:before{content:"󱱅"}.mdi-receipt-text-check:before{content:"󱩣"}.mdi-receipt-text-check-outline:before{content:"󱩤"}.mdi-receipt-text-clock:before{content:"󱱆"}.mdi-receipt-text-clock-outline:before{content:"󱱇"}.mdi-receipt-text-edit:before{content:"󱱈"}.mdi-receipt-text-edit-outline:before{content:"󱱉"}.mdi-receipt-text-minus:before{content:"󱩥"}.mdi-receipt-text-minus-outline:before{content:"󱩦"}.mdi-receipt-text-outline:before{content:"󱧜"}.mdi-receipt-text-plus:before{content:"󱩧"}.mdi-receipt-text-plus-outline:before{content:"󱩨"}.mdi-receipt-text-remove:before{content:"󱩩"}.mdi-receipt-text-remove-outline:before{content:"󱩪"}.mdi-receipt-text-send:before{content:"󱱊"}.mdi-receipt-text-send-outline:before{content:"󱱋"}.mdi-record:before{content:"󰑊"}.mdi-record-circle:before{content:"󰻂"}.mdi-record-circle-outline:before{content:"󰻃"}.mdi-record-player:before{content:"󰦚"}.mdi-record-rec:before{content:"󰑋"}.mdi-rectangle:before{content:"󰹞"}.mdi-rectangle-outline:before{content:"󰹟"}.mdi-recycle:before{content:"󰑌"}.mdi-recycle-variant:before{content:"󱎝"}.mdi-reddit:before{content:"󰑍"}.mdi-redhat:before{content:"󱄛"}.mdi-redo:before{content:"󰑎"}.mdi-redo-variant:before{content:"󰑏"}.mdi-reflect-horizontal:before{content:"󰨎"}.mdi-reflect-vertical:before{content:"󰨏"}.mdi-refresh:before{content:"󰑐"}.mdi-refresh-auto:before{content:"󱣲"}.mdi-refresh-circle:before{content:"󱍷"}.mdi-regex:before{content:"󰑑"}.mdi-registered-trademark:before{content:"󰩧"}.mdi-reiterate:before{content:"󱖈"}.mdi-relation-many-to-many:before{content:"󱒖"}.mdi-relation-many-to-one:before{content:"󱒗"}.mdi-relation-many-to-one-or-many:before{content:"󱒘"}.mdi-relation-many-to-only-one:before{content:"󱒙"}.mdi-relation-many-to-zero-or-many:before{content:"󱒚"}.mdi-relation-many-to-zero-or-one:before{content:"󱒛"}.mdi-relation-one-or-many-to-many:before{content:"󱒜"}.mdi-relation-one-or-many-to-one:before{content:"󱒝"}.mdi-relation-one-or-many-to-one-or-many:before{content:"󱒞"}.mdi-relation-one-or-many-to-only-one:before{content:"󱒟"}.mdi-relation-one-or-many-to-zero-or-many:before{content:"󱒠"}.mdi-relation-one-or-many-to-zero-or-one:before{content:"󱒡"}.mdi-relation-one-to-many:before{content:"󱒢"}.mdi-relation-one-to-one:before{content:"󱒣"}.mdi-relation-one-to-one-or-many:before{content:"󱒤"}.mdi-relation-one-to-only-one:before{content:"󱒥"}.mdi-relation-one-to-zero-or-many:before{content:"󱒦"}.mdi-relation-one-to-zero-or-one:before{content:"󱒧"}.mdi-relation-only-one-to-many:before{content:"󱒨"}.mdi-relation-only-one-to-one:before{content:"󱒩"}.mdi-relation-only-one-to-one-or-many:before{content:"󱒪"}.mdi-relation-only-one-to-only-one:before{content:"󱒫"}.mdi-relation-only-one-to-zero-or-many:before{content:"󱒬"}.mdi-relation-only-one-to-zero-or-one:before{content:"󱒭"}.mdi-relation-zero-or-many-to-many:before{content:"󱒮"}.mdi-relation-zero-or-many-to-one:before{content:"󱒯"}.mdi-relation-zero-or-many-to-one-or-many:before{content:"󱒰"}.mdi-relation-zero-or-many-to-only-one:before{content:"󱒱"}.mdi-relation-zero-or-many-to-zero-or-many:before{content:"󱒲"}.mdi-relation-zero-or-many-to-zero-or-one:before{content:"󱒳"}.mdi-relation-zero-or-one-to-many:before{content:"󱒴"}.mdi-relation-zero-or-one-to-one:before{content:"󱒵"}.mdi-relation-zero-or-one-to-one-or-many:before{content:"󱒶"}.mdi-relation-zero-or-one-to-only-one:before{content:"󱒷"}.mdi-relation-zero-or-one-to-zero-or-many:before{content:"󱒸"}.mdi-relation-zero-or-one-to-zero-or-one:before{content:"󱒹"}.mdi-relative-scale:before{content:"󰑒"}.mdi-reload:before{content:"󰑓"}.mdi-reload-alert:before{content:"󱄋"}.mdi-reminder:before{content:"󰢌"}.mdi-remote:before{content:"󰑔"}.mdi-remote-desktop:before{content:"󰢹"}.mdi-remote-off:before{content:"󰻄"}.mdi-remote-tv:before{content:"󰻅"}.mdi-remote-tv-off:before{content:"󰻆"}.mdi-rename:before{content:"󱰘"}.mdi-rename-box:before{content:"󰑕"}.mdi-rename-box-outline:before{content:"󱰙"}.mdi-rename-outline:before{content:"󱰚"}.mdi-reorder-horizontal:before{content:"󰚈"}.mdi-reorder-vertical:before{content:"󰚉"}.mdi-repeat:before{content:"󰑖"}.mdi-repeat-off:before{content:"󰑗"}.mdi-repeat-once:before{content:"󰑘"}.mdi-repeat-variant:before{content:"󰕇"}.mdi-replay:before{content:"󰑙"}.mdi-reply:before{content:"󰑚"}.mdi-reply-all:before{content:"󰑛"}.mdi-reply-all-outline:before{content:"󰼟"}.mdi-reply-circle:before{content:"󱆮"}.mdi-reply-outline:before{content:"󰼠"}.mdi-reproduction:before{content:"󰑜"}.mdi-resistor:before{content:"󰭄"}.mdi-resistor-nodes:before{content:"󰭅"}.mdi-resize:before{content:"󰩨"}.mdi-resize-bottom-right:before{content:"󰑝"}.mdi-responsive:before{content:"󰑞"}.mdi-restart:before{content:"󰜉"}.mdi-restart-alert:before{content:"󱄌"}.mdi-restart-off:before{content:"󰶕"}.mdi-restore:before{content:"󰦛"}.mdi-restore-alert:before{content:"󱄍"}.mdi-rewind:before{content:"󰑟"}.mdi-rewind-10:before{content:"󰴪"}.mdi-rewind-15:before{content:"󱥆"}.mdi-rewind-30:before{content:"󰶖"}.mdi-rewind-45:before{content:"󱬓"}.mdi-rewind-5:before{content:"󱇹"}.mdi-rewind-60:before{content:"󱘌"}.mdi-rewind-outline:before{content:"󰜊"}.mdi-rhombus:before{content:"󰜋"}.mdi-rhombus-medium:before{content:"󰨐"}.mdi-rhombus-medium-outline:before{content:"󱓜"}.mdi-rhombus-outline:before{content:"󰜌"}.mdi-rhombus-split:before{content:"󰨑"}.mdi-rhombus-split-outline:before{content:"󱓝"}.mdi-ribbon:before{content:"󰑠"}.mdi-rice:before{content:"󰟪"}.mdi-rickshaw:before{content:"󱖻"}.mdi-rickshaw-electric:before{content:"󱖼"}.mdi-ring:before{content:"󰟫"}.mdi-rivet:before{content:"󰹠"}.mdi-road:before{content:"󰑡"}.mdi-road-variant:before{content:"󰑢"}.mdi-robber:before{content:"󱁘"}.mdi-robot:before{content:"󰚩"}.mdi-robot-angry:before{content:"󱚝"}.mdi-robot-angry-outline:before{content:"󱚞"}.mdi-robot-confused:before{content:"󱚟"}.mdi-robot-confused-outline:before{content:"󱚠"}.mdi-robot-dead:before{content:"󱚡"}.mdi-robot-dead-outline:before{content:"󱚢"}.mdi-robot-excited:before{content:"󱚣"}.mdi-robot-excited-outline:before{content:"󱚤"}.mdi-robot-happy:before{content:"󱜙"}.mdi-robot-happy-outline:before{content:"󱜚"}.mdi-robot-industrial:before{content:"󰭆"}.mdi-robot-industrial-outline:before{content:"󱨚"}.mdi-robot-love:before{content:"󱚥"}.mdi-robot-love-outline:before{content:"󱚦"}.mdi-robot-mower:before{content:"󱇷"}.mdi-robot-mower-outline:before{content:"󱇳"}.mdi-robot-off:before{content:"󱚧"}.mdi-robot-off-outline:before{content:"󱙻"}.mdi-robot-outline:before{content:"󱙺"}.mdi-robot-vacuum:before{content:"󰜍"}.mdi-robot-vacuum-alert:before{content:"󱭝"}.mdi-robot-vacuum-off:before{content:"󱰁"}.mdi-robot-vacuum-variant:before{content:"󰤈"}.mdi-robot-vacuum-variant-alert:before{content:"󱭞"}.mdi-robot-vacuum-variant-off:before{content:"󱰂"}.mdi-rocket:before{content:"󰑣"}.mdi-rocket-launch:before{content:"󱓞"}.mdi-rocket-launch-outline:before{content:"󱓟"}.mdi-rocket-outline:before{content:"󱎯"}.mdi-rodent:before{content:"󱌧"}.mdi-roller-shade:before{content:"󱩫"}.mdi-roller-shade-closed:before{content:"󱩬"}.mdi-roller-skate:before{content:"󰴫"}.mdi-roller-skate-off:before{content:"󰅅"}.mdi-rollerblade:before{content:"󰴬"}.mdi-rollerblade-off:before{content:"󰀮"}.mdi-rollupjs:before{content:"󰯀"}.mdi-rolodex:before{content:"󱪹"}.mdi-rolodex-outline:before{content:"󱪺"}.mdi-roman-numeral-1:before{content:"󱂈"}.mdi-roman-numeral-10:before{content:"󱂑"}.mdi-roman-numeral-2:before{content:"󱂉"}.mdi-roman-numeral-3:before{content:"󱂊"}.mdi-roman-numeral-4:before{content:"󱂋"}.mdi-roman-numeral-5:before{content:"󱂌"}.mdi-roman-numeral-6:before{content:"󱂍"}.mdi-roman-numeral-7:before{content:"󱂎"}.mdi-roman-numeral-8:before{content:"󱂏"}.mdi-roman-numeral-9:before{content:"󱂐"}.mdi-room-service:before{content:"󰢍"}.mdi-room-service-outline:before{content:"󰶗"}.mdi-rotate-360:before{content:"󱦙"}.mdi-rotate-3d:before{content:"󰻇"}.mdi-rotate-3d-variant:before{content:"󰑤"}.mdi-rotate-left:before{content:"󰑥"}.mdi-rotate-left-variant:before{content:"󰑦"}.mdi-rotate-orbit:before{content:"󰶘"}.mdi-rotate-right:before{content:"󰑧"}.mdi-rotate-right-variant:before{content:"󰑨"}.mdi-rounded-corner:before{content:"󰘇"}.mdi-router:before{content:"󱇢"}.mdi-router-network:before{content:"󱂇"}.mdi-router-wireless:before{content:"󰑩"}.mdi-router-wireless-off:before{content:"󱖣"}.mdi-router-wireless-settings:before{content:"󰩩"}.mdi-routes:before{content:"󰑪"}.mdi-routes-clock:before{content:"󱁙"}.mdi-rowing:before{content:"󰘈"}.mdi-rss:before{content:"󰑫"}.mdi-rss-box:before{content:"󰑬"}.mdi-rss-off:before{content:"󰼡"}.mdi-rug:before{content:"󱑵"}.mdi-rugby:before{content:"󰶙"}.mdi-ruler:before{content:"󰑭"}.mdi-ruler-square:before{content:"󰳂"}.mdi-ruler-square-compass:before{content:"󰺾"}.mdi-run:before{content:"󰜎"}.mdi-run-fast:before{content:"󰑮"}.mdi-rv-truck:before{content:"󱇔"}.mdi-sack:before{content:"󰴮"}.mdi-sack-outline:before{content:"󱱌"}.mdi-sack-percent:before{content:"󰴯"}.mdi-safe:before{content:"󰩪"}.mdi-safe-square:before{content:"󱉼"}.mdi-safe-square-outline:before{content:"󱉽"}.mdi-safety-goggles:before{content:"󰴰"}.mdi-sail-boat:before{content:"󰻈"}.mdi-sail-boat-sink:before{content:"󱫯"}.mdi-sale:before{content:"󰑯"}.mdi-sale-outline:before{content:"󱨆"}.mdi-salesforce:before{content:"󰢎"}.mdi-sass:before{content:"󰟬"}.mdi-satellite:before{content:"󰑰"}.mdi-satellite-uplink:before{content:"󰤉"}.mdi-satellite-variant:before{content:"󰑱"}.mdi-sausage:before{content:"󰢺"}.mdi-sausage-off:before{content:"󱞉"}.mdi-saw-blade:before{content:"󰹡"}.mdi-sawtooth-wave:before{content:"󱑺"}.mdi-saxophone:before{content:"󰘉"}.mdi-scale:before{content:"󰑲"}.mdi-scale-balance:before{content:"󰗑"}.mdi-scale-bathroom:before{content:"󰑳"}.mdi-scale-off:before{content:"󱁚"}.mdi-scale-unbalanced:before{content:"󱦸"}.mdi-scan-helper:before{content:"󱏘"}.mdi-scanner:before{content:"󰚫"}.mdi-scanner-off:before{content:"󰤊"}.mdi-scatter-plot:before{content:"󰻉"}.mdi-scatter-plot-outline:before{content:"󰻊"}.mdi-scent:before{content:"󱥘"}.mdi-scent-off:before{content:"󱥙"}.mdi-school:before{content:"󰑴"}.mdi-school-outline:before{content:"󱆀"}.mdi-scissors-cutting:before{content:"󰩫"}.mdi-scooter:before{content:"󱖽"}.mdi-scooter-electric:before{content:"󱖾"}.mdi-scoreboard:before{content:"󱉾"}.mdi-scoreboard-outline:before{content:"󱉿"}.mdi-screen-rotation:before{content:"󰑵"}.mdi-screen-rotation-lock:before{content:"󰑸"}.mdi-screw-flat-top:before{content:"󰷳"}.mdi-screw-lag:before{content:"󰷴"}.mdi-screw-machine-flat-top:before{content:"󰷵"}.mdi-screw-machine-round-top:before{content:"󰷶"}.mdi-screw-round-top:before{content:"󰷷"}.mdi-screwdriver:before{content:"󰑶"}.mdi-script:before{content:"󰯁"}.mdi-script-outline:before{content:"󰑷"}.mdi-script-text:before{content:"󰯂"}.mdi-script-text-key:before{content:"󱜥"}.mdi-script-text-key-outline:before{content:"󱜦"}.mdi-script-text-outline:before{content:"󰯃"}.mdi-script-text-play:before{content:"󱜧"}.mdi-script-text-play-outline:before{content:"󱜨"}.mdi-sd:before{content:"󰑹"}.mdi-seal:before{content:"󰑺"}.mdi-seal-variant:before{content:"󰿙"}.mdi-search-web:before{content:"󰜏"}.mdi-seat:before{content:"󰳃"}.mdi-seat-flat:before{content:"󰑻"}.mdi-seat-flat-angled:before{content:"󰑼"}.mdi-seat-individual-suite:before{content:"󰑽"}.mdi-seat-legroom-extra:before{content:"󰑾"}.mdi-seat-legroom-normal:before{content:"󰑿"}.mdi-seat-legroom-reduced:before{content:"󰒀"}.mdi-seat-outline:before{content:"󰳄"}.mdi-seat-passenger:before{content:"󱉉"}.mdi-seat-recline-extra:before{content:"󰒁"}.mdi-seat-recline-normal:before{content:"󰒂"}.mdi-seatbelt:before{content:"󰳅"}.mdi-security:before{content:"󰒃"}.mdi-security-network:before{content:"󰒄"}.mdi-seed:before{content:"󰹢"}.mdi-seed-off:before{content:"󱏽"}.mdi-seed-off-outline:before{content:"󱏾"}.mdi-seed-outline:before{content:"󰹣"}.mdi-seed-plus:before{content:"󱩭"}.mdi-seed-plus-outline:before{content:"󱩮"}.mdi-seesaw:before{content:"󱖤"}.mdi-segment:before{content:"󰻋"}.mdi-select:before{content:"󰒅"}.mdi-select-all:before{content:"󰒆"}.mdi-select-arrow-down:before{content:"󱭙"}.mdi-select-arrow-up:before{content:"󱭘"}.mdi-select-color:before{content:"󰴱"}.mdi-select-compare:before{content:"󰫙"}.mdi-select-drag:before{content:"󰩬"}.mdi-select-group:before{content:"󰾂"}.mdi-select-inverse:before{content:"󰒇"}.mdi-select-marker:before{content:"󱊀"}.mdi-select-multiple:before{content:"󱊁"}.mdi-select-multiple-marker:before{content:"󱊂"}.mdi-select-off:before{content:"󰒈"}.mdi-select-place:before{content:"󰿚"}.mdi-select-remove:before{content:"󱟁"}.mdi-select-search:before{content:"󱈄"}.mdi-selection:before{content:"󰒉"}.mdi-selection-drag:before{content:"󰩭"}.mdi-selection-ellipse:before{content:"󰴲"}.mdi-selection-ellipse-arrow-inside:before{content:"󰼢"}.mdi-selection-ellipse-remove:before{content:"󱟂"}.mdi-selection-marker:before{content:"󱊃"}.mdi-selection-multiple:before{content:"󱊅"}.mdi-selection-multiple-marker:before{content:"󱊄"}.mdi-selection-off:before{content:"󰝷"}.mdi-selection-remove:before{content:"󱟃"}.mdi-selection-search:before{content:"󱈅"}.mdi-semantic-web:before{content:"󱌖"}.mdi-send:before{content:"󰒊"}.mdi-send-check:before{content:"󱅡"}.mdi-send-check-outline:before{content:"󱅢"}.mdi-send-circle:before{content:"󰷸"}.mdi-send-circle-outline:before{content:"󰷹"}.mdi-send-clock:before{content:"󱅣"}.mdi-send-clock-outline:before{content:"󱅤"}.mdi-send-lock:before{content:"󰟭"}.mdi-send-lock-outline:before{content:"󱅦"}.mdi-send-outline:before{content:"󱅥"}.mdi-send-variant:before{content:"󱱍"}.mdi-send-variant-clock:before{content:"󱱾"}.mdi-send-variant-clock-outline:before{content:"󱱿"}.mdi-send-variant-outline:before{content:"󱱎"}.mdi-serial-port:before{content:"󰙜"}.mdi-server:before{content:"󰒋"}.mdi-server-minus:before{content:"󰒌"}.mdi-server-network:before{content:"󰒍"}.mdi-server-network-off:before{content:"󰒎"}.mdi-server-off:before{content:"󰒏"}.mdi-server-plus:before{content:"󰒐"}.mdi-server-remove:before{content:"󰒑"}.mdi-server-security:before{content:"󰒒"}.mdi-set-all:before{content:"󰝸"}.mdi-set-center:before{content:"󰝹"}.mdi-set-center-right:before{content:"󰝺"}.mdi-set-left:before{content:"󰝻"}.mdi-set-left-center:before{content:"󰝼"}.mdi-set-left-right:before{content:"󰝽"}.mdi-set-merge:before{content:"󱓠"}.mdi-set-none:before{content:"󰝾"}.mdi-set-right:before{content:"󰝿"}.mdi-set-split:before{content:"󱓡"}.mdi-set-square:before{content:"󱑝"}.mdi-set-top-box:before{content:"󰦟"}.mdi-settings-helper:before{content:"󰩮"}.mdi-shaker:before{content:"󱄎"}.mdi-shaker-outline:before{content:"󱄏"}.mdi-shape:before{content:"󰠱"}.mdi-shape-circle-plus:before{content:"󰙝"}.mdi-shape-outline:before{content:"󰠲"}.mdi-shape-oval-plus:before{content:"󱇺"}.mdi-shape-plus:before{content:"󰒕"}.mdi-shape-plus-outline:before{content:"󱱏"}.mdi-shape-polygon-plus:before{content:"󰙞"}.mdi-shape-rectangle-plus:before{content:"󰙟"}.mdi-shape-square-plus:before{content:"󰙠"}.mdi-shape-square-rounded-plus:before{content:"󱓺"}.mdi-share:before{content:"󰒖"}.mdi-share-all:before{content:"󱇴"}.mdi-share-all-outline:before{content:"󱇵"}.mdi-share-circle:before{content:"󱆭"}.mdi-share-off:before{content:"󰼣"}.mdi-share-off-outline:before{content:"󰼤"}.mdi-share-outline:before{content:"󰤲"}.mdi-share-variant:before{content:"󰒗"}.mdi-share-variant-outline:before{content:"󱔔"}.mdi-shark:before{content:"󱢺"}.mdi-shark-fin:before{content:"󱙳"}.mdi-shark-fin-outline:before{content:"󱙴"}.mdi-shark-off:before{content:"󱢻"}.mdi-sheep:before{content:"󰳆"}.mdi-shield:before{content:"󰒘"}.mdi-shield-account:before{content:"󰢏"}.mdi-shield-account-outline:before{content:"󰨒"}.mdi-shield-account-variant:before{content:"󱖧"}.mdi-shield-account-variant-outline:before{content:"󱖨"}.mdi-shield-airplane:before{content:"󰚻"}.mdi-shield-airplane-outline:before{content:"󰳇"}.mdi-shield-alert:before{content:"󰻌"}.mdi-shield-alert-outline:before{content:"󰻍"}.mdi-shield-bug:before{content:"󱏚"}.mdi-shield-bug-outline:before{content:"󱏛"}.mdi-shield-car:before{content:"󰾃"}.mdi-shield-check:before{content:"󰕥"}.mdi-shield-check-outline:before{content:"󰳈"}.mdi-shield-cross:before{content:"󰳉"}.mdi-shield-cross-outline:before{content:"󰳊"}.mdi-shield-crown:before{content:"󱢼"}.mdi-shield-crown-outline:before{content:"󱢽"}.mdi-shield-edit:before{content:"󱆠"}.mdi-shield-edit-outline:before{content:"󱆡"}.mdi-shield-half:before{content:"󱍠"}.mdi-shield-half-full:before{content:"󰞀"}.mdi-shield-home:before{content:"󰚊"}.mdi-shield-home-outline:before{content:"󰳋"}.mdi-shield-key:before{content:"󰯄"}.mdi-shield-key-outline:before{content:"󰯅"}.mdi-shield-link-variant:before{content:"󰴳"}.mdi-shield-link-variant-outline:before{content:"󰴴"}.mdi-shield-lock:before{content:"󰦝"}.mdi-shield-lock-open:before{content:"󱦚"}.mdi-shield-lock-open-outline:before{content:"󱦛"}.mdi-shield-lock-outline:before{content:"󰳌"}.mdi-shield-moon:before{content:"󱠨"}.mdi-shield-moon-outline:before{content:"󱠩"}.mdi-shield-off:before{content:"󰦞"}.mdi-shield-off-outline:before{content:"󰦜"}.mdi-shield-outline:before{content:"󰒙"}.mdi-shield-plus:before{content:"󰫚"}.mdi-shield-plus-outline:before{content:"󰫛"}.mdi-shield-refresh:before{content:"󰂪"}.mdi-shield-refresh-outline:before{content:"󰇠"}.mdi-shield-remove:before{content:"󰫜"}.mdi-shield-remove-outline:before{content:"󰫝"}.mdi-shield-search:before{content:"󰶚"}.mdi-shield-star:before{content:"󱄻"}.mdi-shield-star-outline:before{content:"󱄼"}.mdi-shield-sun:before{content:"󱁝"}.mdi-shield-sun-outline:before{content:"󱁞"}.mdi-shield-sword:before{content:"󱢾"}.mdi-shield-sword-outline:before{content:"󱢿"}.mdi-shield-sync:before{content:"󱆢"}.mdi-shield-sync-outline:before{content:"󱆣"}.mdi-shimmer:before{content:"󱕅"}.mdi-ship-wheel:before{content:"󰠳"}.mdi-shipping-pallet:before{content:"󱡎"}.mdi-shoe-ballet:before{content:"󱗊"}.mdi-shoe-cleat:before{content:"󱗇"}.mdi-shoe-formal:before{content:"󰭇"}.mdi-shoe-heel:before{content:"󰭈"}.mdi-shoe-print:before{content:"󰷺"}.mdi-shoe-sneaker:before{content:"󱗈"}.mdi-shopping:before{content:"󰒚"}.mdi-shopping-music:before{content:"󰒛"}.mdi-shopping-outline:before{content:"󱇕"}.mdi-shopping-search:before{content:"󰾄"}.mdi-shopping-search-outline:before{content:"󱩯"}.mdi-shore:before{content:"󱓹"}.mdi-shovel:before{content:"󰜐"}.mdi-shovel-off:before{content:"󰜑"}.mdi-shower:before{content:"󰦠"}.mdi-shower-head:before{content:"󰦡"}.mdi-shredder:before{content:"󰒜"}.mdi-shuffle:before{content:"󰒝"}.mdi-shuffle-disabled:before{content:"󰒞"}.mdi-shuffle-variant:before{content:"󰒟"}.mdi-shuriken:before{content:"󱍿"}.mdi-sickle:before{content:"󱣀"}.mdi-sigma:before{content:"󰒠"}.mdi-sigma-lower:before{content:"󰘫"}.mdi-sign-caution:before{content:"󰒡"}.mdi-sign-direction:before{content:"󰞁"}.mdi-sign-direction-minus:before{content:"󱀀"}.mdi-sign-direction-plus:before{content:"󰿜"}.mdi-sign-direction-remove:before{content:"󰿝"}.mdi-sign-language:before{content:"󱭍"}.mdi-sign-language-outline:before{content:"󱭎"}.mdi-sign-pole:before{content:"󱓸"}.mdi-sign-real-estate:before{content:"󱄘"}.mdi-sign-text:before{content:"󰞂"}.mdi-sign-yield:before{content:"󱮯"}.mdi-signal:before{content:"󰒢"}.mdi-signal-2g:before{content:"󰜒"}.mdi-signal-3g:before{content:"󰜓"}.mdi-signal-4g:before{content:"󰜔"}.mdi-signal-5g:before{content:"󰩯"}.mdi-signal-cellular-1:before{content:"󰢼"}.mdi-signal-cellular-2:before{content:"󰢽"}.mdi-signal-cellular-3:before{content:"󰢾"}.mdi-signal-cellular-outline:before{content:"󰢿"}.mdi-signal-distance-variant:before{content:"󰹤"}.mdi-signal-hspa:before{content:"󰜕"}.mdi-signal-hspa-plus:before{content:"󰜖"}.mdi-signal-off:before{content:"󰞃"}.mdi-signal-variant:before{content:"󰘊"}.mdi-signature:before{content:"󰷻"}.mdi-signature-freehand:before{content:"󰷼"}.mdi-signature-image:before{content:"󰷽"}.mdi-signature-text:before{content:"󰷾"}.mdi-silo:before{content:"󱮟"}.mdi-silo-outline:before{content:"󰭉"}.mdi-silverware:before{content:"󰒣"}.mdi-silverware-clean:before{content:"󰿞"}.mdi-silverware-fork:before{content:"󰒤"}.mdi-silverware-fork-knife:before{content:"󰩰"}.mdi-silverware-spoon:before{content:"󰒥"}.mdi-silverware-variant:before{content:"󰒦"}.mdi-sim:before{content:"󰒧"}.mdi-sim-alert:before{content:"󰒨"}.mdi-sim-alert-outline:before{content:"󱗓"}.mdi-sim-off:before{content:"󰒩"}.mdi-sim-off-outline:before{content:"󱗔"}.mdi-sim-outline:before{content:"󱗕"}.mdi-simple-icons:before{content:"󱌝"}.mdi-sina-weibo:before{content:"󰫟"}.mdi-sine-wave:before{content:"󰥛"}.mdi-sitemap:before{content:"󰒪"}.mdi-sitemap-outline:before{content:"󱦜"}.mdi-size-l:before{content:"󱎦"}.mdi-size-m:before{content:"󱎥"}.mdi-size-s:before{content:"󱎤"}.mdi-size-xl:before{content:"󱎧"}.mdi-size-xs:before{content:"󱎣"}.mdi-size-xxl:before{content:"󱎨"}.mdi-size-xxs:before{content:"󱎢"}.mdi-size-xxxl:before{content:"󱎩"}.mdi-skate:before{content:"󰴵"}.mdi-skate-off:before{content:"󰚙"}.mdi-skateboard:before{content:"󱓂"}.mdi-skateboarding:before{content:"󰔁"}.mdi-skew-less:before{content:"󰴶"}.mdi-skew-more:before{content:"󰴷"}.mdi-ski:before{content:"󱌄"}.mdi-ski-cross-country:before{content:"󱌅"}.mdi-ski-water:before{content:"󱌆"}.mdi-skip-backward:before{content:"󰒫"}.mdi-skip-backward-outline:before{content:"󰼥"}.mdi-skip-forward:before{content:"󰒬"}.mdi-skip-forward-outline:before{content:"󰼦"}.mdi-skip-next:before{content:"󰒭"}.mdi-skip-next-circle:before{content:"󰙡"}.mdi-skip-next-circle-outline:before{content:"󰙢"}.mdi-skip-next-outline:before{content:"󰼧"}.mdi-skip-previous:before{content:"󰒮"}.mdi-skip-previous-circle:before{content:"󰙣"}.mdi-skip-previous-circle-outline:before{content:"󰙤"}.mdi-skip-previous-outline:before{content:"󰼨"}.mdi-skull:before{content:"󰚌"}.mdi-skull-crossbones:before{content:"󰯆"}.mdi-skull-crossbones-outline:before{content:"󰯇"}.mdi-skull-outline:before{content:"󰯈"}.mdi-skull-scan:before{content:"󱓇"}.mdi-skull-scan-outline:before{content:"󱓈"}.mdi-skype:before{content:"󰒯"}.mdi-skype-business:before{content:"󰒰"}.mdi-slack:before{content:"󰒱"}.mdi-slash-forward:before{content:"󰿟"}.mdi-slash-forward-box:before{content:"󰿠"}.mdi-sledding:before{content:"󰐛"}.mdi-sleep:before{content:"󰒲"}.mdi-sleep-off:before{content:"󰒳"}.mdi-slide:before{content:"󱖥"}.mdi-slope-downhill:before{content:"󰷿"}.mdi-slope-uphill:before{content:"󰸀"}.mdi-slot-machine:before{content:"󱄔"}.mdi-slot-machine-outline:before{content:"󱄕"}.mdi-smart-card:before{content:"󱂽"}.mdi-smart-card-off:before{content:"󱣷"}.mdi-smart-card-off-outline:before{content:"󱣸"}.mdi-smart-card-outline:before{content:"󱂾"}.mdi-smart-card-reader:before{content:"󱂿"}.mdi-smart-card-reader-outline:before{content:"󱃀"}.mdi-smog:before{content:"󰩱"}.mdi-smoke:before{content:"󱞙"}.mdi-smoke-detector:before{content:"󰎒"}.mdi-smoke-detector-alert:before{content:"󱤮"}.mdi-smoke-detector-alert-outline:before{content:"󱤯"}.mdi-smoke-detector-off:before{content:"󱠉"}.mdi-smoke-detector-off-outline:before{content:"󱠊"}.mdi-smoke-detector-outline:before{content:"󱠈"}.mdi-smoke-detector-variant:before{content:"󱠋"}.mdi-smoke-detector-variant-alert:before{content:"󱤰"}.mdi-smoke-detector-variant-off:before{content:"󱠌"}.mdi-smoking:before{content:"󰒴"}.mdi-smoking-off:before{content:"󰒵"}.mdi-smoking-pipe:before{content:"󱐍"}.mdi-smoking-pipe-off:before{content:"󱐨"}.mdi-snail:before{content:"󱙷"}.mdi-snake:before{content:"󱔎"}.mdi-snapchat:before{content:"󰒶"}.mdi-snowboard:before{content:"󱌇"}.mdi-snowflake:before{content:"󰜗"}.mdi-snowflake-alert:before{content:"󰼩"}.mdi-snowflake-check:before{content:"󱩰"}.mdi-snowflake-melt:before{content:"󱋋"}.mdi-snowflake-off:before{content:"󱓣"}.mdi-snowflake-thermometer:before{content:"󱩱"}.mdi-snowflake-variant:before{content:"󰼪"}.mdi-snowman:before{content:"󰒷"}.mdi-snowmobile:before{content:"󰛝"}.mdi-snowshoeing:before{content:"󱩲"}.mdi-soccer:before{content:"󰒸"}.mdi-soccer-field:before{content:"󰠴"}.mdi-social-distance-2-meters:before{content:"󱕹"}.mdi-social-distance-6-feet:before{content:"󱕺"}.mdi-sofa:before{content:"󰒹"}.mdi-sofa-outline:before{content:"󱕭"}.mdi-sofa-single:before{content:"󱕮"}.mdi-sofa-single-outline:before{content:"󱕯"}.mdi-solar-panel:before{content:"󰶛"}.mdi-solar-panel-large:before{content:"󰶜"}.mdi-solar-power:before{content:"󰩲"}.mdi-solar-power-variant:before{content:"󱩳"}.mdi-solar-power-variant-outline:before{content:"󱩴"}.mdi-soldering-iron:before{content:"󱂒"}.mdi-solid:before{content:"󰚍"}.mdi-sony-playstation:before{content:"󰐔"}.mdi-sort:before{content:"󰒺"}.mdi-sort-alphabetical-ascending:before{content:"󰖽"}.mdi-sort-alphabetical-ascending-variant:before{content:"󱅈"}.mdi-sort-alphabetical-descending:before{content:"󰖿"}.mdi-sort-alphabetical-descending-variant:before{content:"󱅉"}.mdi-sort-alphabetical-variant:before{content:"󰒻"}.mdi-sort-ascending:before{content:"󰒼"}.mdi-sort-bool-ascending:before{content:"󱎅"}.mdi-sort-bool-ascending-variant:before{content:"󱎆"}.mdi-sort-bool-descending:before{content:"󱎇"}.mdi-sort-bool-descending-variant:before{content:"󱎈"}.mdi-sort-calendar-ascending:before{content:"󱕇"}.mdi-sort-calendar-descending:before{content:"󱕈"}.mdi-sort-clock-ascending:before{content:"󱕉"}.mdi-sort-clock-ascending-outline:before{content:"󱕊"}.mdi-sort-clock-descending:before{content:"󱕋"}.mdi-sort-clock-descending-outline:before{content:"󱕌"}.mdi-sort-descending:before{content:"󰒽"}.mdi-sort-numeric-ascending:before{content:"󱎉"}.mdi-sort-numeric-ascending-variant:before{content:"󰤍"}.mdi-sort-numeric-descending:before{content:"󱎊"}.mdi-sort-numeric-descending-variant:before{content:"󰫒"}.mdi-sort-numeric-variant:before{content:"󰒾"}.mdi-sort-reverse-variant:before{content:"󰌼"}.mdi-sort-variant:before{content:"󰒿"}.mdi-sort-variant-lock:before{content:"󰳍"}.mdi-sort-variant-lock-open:before{content:"󰳎"}.mdi-sort-variant-off:before{content:"󱪻"}.mdi-sort-variant-remove:before{content:"󱅇"}.mdi-soundbar:before{content:"󱟛"}.mdi-soundcloud:before{content:"󰓀"}.mdi-source-branch:before{content:"󰘬"}.mdi-source-branch-check:before{content:"󱓏"}.mdi-source-branch-minus:before{content:"󱓋"}.mdi-source-branch-plus:before{content:"󱓊"}.mdi-source-branch-refresh:before{content:"󱓍"}.mdi-source-branch-remove:before{content:"󱓌"}.mdi-source-branch-sync:before{content:"󱓎"}.mdi-source-commit:before{content:"󰜘"}.mdi-source-commit-end:before{content:"󰜙"}.mdi-source-commit-end-local:before{content:"󰜚"}.mdi-source-commit-local:before{content:"󰜛"}.mdi-source-commit-next-local:before{content:"󰜜"}.mdi-source-commit-start:before{content:"󰜝"}.mdi-source-commit-start-next-local:before{content:"󰜞"}.mdi-source-fork:before{content:"󰓁"}.mdi-source-merge:before{content:"󰘭"}.mdi-source-pull:before{content:"󰓂"}.mdi-source-repository:before{content:"󰳏"}.mdi-source-repository-multiple:before{content:"󰳐"}.mdi-soy-sauce:before{content:"󰟮"}.mdi-soy-sauce-off:before{content:"󱏼"}.mdi-spa:before{content:"󰳑"}.mdi-spa-outline:before{content:"󰳒"}.mdi-space-invaders:before{content:"󰯉"}.mdi-space-station:before{content:"󱎃"}.mdi-spade:before{content:"󰹥"}.mdi-speaker:before{content:"󰓃"}.mdi-speaker-bluetooth:before{content:"󰦢"}.mdi-speaker-message:before{content:"󱬑"}.mdi-speaker-multiple:before{content:"󰴸"}.mdi-speaker-off:before{content:"󰓄"}.mdi-speaker-pause:before{content:"󱭳"}.mdi-speaker-play:before{content:"󱭲"}.mdi-speaker-stop:before{content:"󱭴"}.mdi-speaker-wireless:before{content:"󰜟"}.mdi-spear:before{content:"󱡅"}.mdi-speedometer:before{content:"󰓅"}.mdi-speedometer-medium:before{content:"󰾅"}.mdi-speedometer-slow:before{content:"󰾆"}.mdi-spellcheck:before{content:"󰓆"}.mdi-sphere:before{content:"󱥔"}.mdi-sphere-off:before{content:"󱥕"}.mdi-spider:before{content:"󱇪"}.mdi-spider-outline:before{content:"󱱵"}.mdi-spider-thread:before{content:"󱇫"}.mdi-spider-web:before{content:"󰯊"}.mdi-spirit-level:before{content:"󱓱"}.mdi-spoon-sugar:before{content:"󱐩"}.mdi-spotify:before{content:"󰓇"}.mdi-spotlight:before{content:"󰓈"}.mdi-spotlight-beam:before{content:"󰓉"}.mdi-spray:before{content:"󰙥"}.mdi-spray-bottle:before{content:"󰫠"}.mdi-sprinkler:before{content:"󱁟"}.mdi-sprinkler-fire:before{content:"󱦝"}.mdi-sprinkler-variant:before{content:"󱁠"}.mdi-sprout:before{content:"󰹦"}.mdi-sprout-outline:before{content:"󰹧"}.mdi-square:before{content:"󰝤"}.mdi-square-circle:before{content:"󱔀"}.mdi-square-circle-outline:before{content:"󱱐"}.mdi-square-edit-outline:before{content:"󰤌"}.mdi-square-medium:before{content:"󰨓"}.mdi-square-medium-outline:before{content:"󰨔"}.mdi-square-off:before{content:"󱋮"}.mdi-square-off-outline:before{content:"󱋯"}.mdi-square-opacity:before{content:"󱡔"}.mdi-square-outline:before{content:"󰝣"}.mdi-square-root:before{content:"󰞄"}.mdi-square-root-box:before{content:"󰦣"}.mdi-square-rounded:before{content:"󱓻"}.mdi-square-rounded-badge:before{content:"󱨇"}.mdi-square-rounded-badge-outline:before{content:"󱨈"}.mdi-square-rounded-outline:before{content:"󱓼"}.mdi-square-small:before{content:"󰨕"}.mdi-square-wave:before{content:"󱑻"}.mdi-squeegee:before{content:"󰫡"}.mdi-ssh:before{content:"󰣀"}.mdi-stack-exchange:before{content:"󰘋"}.mdi-stack-overflow:before{content:"󰓌"}.mdi-stackpath:before{content:"󰍙"}.mdi-stadium:before{content:"󰿹"}.mdi-stadium-outline:before{content:"󱬃"}.mdi-stadium-variant:before{content:"󰜠"}.mdi-stairs:before{content:"󰓍"}.mdi-stairs-box:before{content:"󱎞"}.mdi-stairs-down:before{content:"󱊾"}.mdi-stairs-up:before{content:"󱊽"}.mdi-stamper:before{content:"󰴹"}.mdi-standard-definition:before{content:"󰟯"}.mdi-star:before{content:"󰓎"}.mdi-star-box:before{content:"󰩳"}.mdi-star-box-multiple:before{content:"󱊆"}.mdi-star-box-multiple-outline:before{content:"󱊇"}.mdi-star-box-outline:before{content:"󰩴"}.mdi-star-check:before{content:"󱕦"}.mdi-star-check-outline:before{content:"󱕪"}.mdi-star-circle:before{content:"󰓏"}.mdi-star-circle-outline:before{content:"󰦤"}.mdi-star-cog:before{content:"󱙨"}.mdi-star-cog-outline:before{content:"󱙩"}.mdi-star-crescent:before{content:"󰥹"}.mdi-star-david:before{content:"󰥺"}.mdi-star-face:before{content:"󰦥"}.mdi-star-four-points:before{content:"󰫢"}.mdi-star-four-points-box:before{content:"󱱑"}.mdi-star-four-points-box-outline:before{content:"󱱒"}.mdi-star-four-points-circle:before{content:"󱱓"}.mdi-star-four-points-circle-outline:before{content:"󱱔"}.mdi-star-four-points-outline:before{content:"󰫣"}.mdi-star-four-points-small:before{content:"󱱕"}.mdi-star-half:before{content:"󰉆"}.mdi-star-half-full:before{content:"󰓐"}.mdi-star-minus:before{content:"󱕤"}.mdi-star-minus-outline:before{content:"󱕨"}.mdi-star-off:before{content:"󰓑"}.mdi-star-off-outline:before{content:"󱕛"}.mdi-star-outline:before{content:"󰓒"}.mdi-star-plus:before{content:"󱕣"}.mdi-star-plus-outline:before{content:"󱕧"}.mdi-star-remove:before{content:"󱕥"}.mdi-star-remove-outline:before{content:"󱕩"}.mdi-star-settings:before{content:"󱙪"}.mdi-star-settings-outline:before{content:"󱙫"}.mdi-star-shooting:before{content:"󱝁"}.mdi-star-shooting-outline:before{content:"󱝂"}.mdi-star-three-points:before{content:"󰫤"}.mdi-star-three-points-outline:before{content:"󰫥"}.mdi-state-machine:before{content:"󱇯"}.mdi-steam:before{content:"󰓓"}.mdi-steering:before{content:"󰓔"}.mdi-steering-off:before{content:"󰤎"}.mdi-step-backward:before{content:"󰓕"}.mdi-step-backward-2:before{content:"󰓖"}.mdi-step-forward:before{content:"󰓗"}.mdi-step-forward-2:before{content:"󰓘"}.mdi-stethoscope:before{content:"󰓙"}.mdi-sticker:before{content:"󱍤"}.mdi-sticker-alert:before{content:"󱍥"}.mdi-sticker-alert-outline:before{content:"󱍦"}.mdi-sticker-check:before{content:"󱍧"}.mdi-sticker-check-outline:before{content:"󱍨"}.mdi-sticker-circle-outline:before{content:"󰗐"}.mdi-sticker-emoji:before{content:"󰞅"}.mdi-sticker-minus:before{content:"󱍩"}.mdi-sticker-minus-outline:before{content:"󱍪"}.mdi-sticker-outline:before{content:"󱍫"}.mdi-sticker-plus:before{content:"󱍬"}.mdi-sticker-plus-outline:before{content:"󱍭"}.mdi-sticker-remove:before{content:"󱍮"}.mdi-sticker-remove-outline:before{content:"󱍯"}.mdi-sticker-text:before{content:"󱞎"}.mdi-sticker-text-outline:before{content:"󱞏"}.mdi-stocking:before{content:"󰓚"}.mdi-stomach:before{content:"󱂓"}.mdi-stool:before{content:"󱥝"}.mdi-stool-outline:before{content:"󱥞"}.mdi-stop:before{content:"󰓛"}.mdi-stop-circle:before{content:"󰙦"}.mdi-stop-circle-outline:before{content:"󰙧"}.mdi-storage-tank:before{content:"󱩵"}.mdi-storage-tank-outline:before{content:"󱩶"}.mdi-store:before{content:"󰓜"}.mdi-store-24-hour:before{content:"󰓝"}.mdi-store-alert:before{content:"󱣁"}.mdi-store-alert-outline:before{content:"󱣂"}.mdi-store-check:before{content:"󱣃"}.mdi-store-check-outline:before{content:"󱣄"}.mdi-store-clock:before{content:"󱣅"}.mdi-store-clock-outline:before{content:"󱣆"}.mdi-store-cog:before{content:"󱣇"}.mdi-store-cog-outline:before{content:"󱣈"}.mdi-store-edit:before{content:"󱣉"}.mdi-store-edit-outline:before{content:"󱣊"}.mdi-store-marker:before{content:"󱣋"}.mdi-store-marker-outline:before{content:"󱣌"}.mdi-store-minus:before{content:"󱙞"}.mdi-store-minus-outline:before{content:"󱣍"}.mdi-store-off:before{content:"󱣎"}.mdi-store-off-outline:before{content:"󱣏"}.mdi-store-outline:before{content:"󱍡"}.mdi-store-plus:before{content:"󱙟"}.mdi-store-plus-outline:before{content:"󱣐"}.mdi-store-remove:before{content:"󱙠"}.mdi-store-remove-outline:before{content:"󱣑"}.mdi-store-search:before{content:"󱣒"}.mdi-store-search-outline:before{content:"󱣓"}.mdi-store-settings:before{content:"󱣔"}.mdi-store-settings-outline:before{content:"󱣕"}.mdi-storefront:before{content:"󰟇"}.mdi-storefront-check:before{content:"󱭽"}.mdi-storefront-check-outline:before{content:"󱭾"}.mdi-storefront-edit:before{content:"󱭿"}.mdi-storefront-edit-outline:before{content:"󱮀"}.mdi-storefront-minus:before{content:"󱮃"}.mdi-storefront-minus-outline:before{content:"󱮄"}.mdi-storefront-outline:before{content:"󱃁"}.mdi-storefront-plus:before{content:"󱮁"}.mdi-storefront-plus-outline:before{content:"󱮂"}.mdi-storefront-remove:before{content:"󱮅"}.mdi-storefront-remove-outline:before{content:"󱮆"}.mdi-stove:before{content:"󰓞"}.mdi-strategy:before{content:"󱇖"}.mdi-stretch-to-page:before{content:"󰼫"}.mdi-stretch-to-page-outline:before{content:"󰼬"}.mdi-string-lights:before{content:"󱊺"}.mdi-string-lights-off:before{content:"󱊻"}.mdi-subdirectory-arrow-left:before{content:"󰘌"}.mdi-subdirectory-arrow-right:before{content:"󰘍"}.mdi-submarine:before{content:"󱕬"}.mdi-subtitles:before{content:"󰨖"}.mdi-subtitles-outline:before{content:"󰨗"}.mdi-subway:before{content:"󰚬"}.mdi-subway-alert-variant:before{content:"󰶝"}.mdi-subway-variant:before{content:"󰓟"}.mdi-summit:before{content:"󰞆"}.mdi-sun-angle:before{content:"󱬧"}.mdi-sun-angle-outline:before{content:"󱬨"}.mdi-sun-clock:before{content:"󱩷"}.mdi-sun-clock-outline:before{content:"󱩸"}.mdi-sun-compass:before{content:"󱦥"}.mdi-sun-snowflake:before{content:"󱞖"}.mdi-sun-snowflake-variant:before{content:"󱩹"}.mdi-sun-thermometer:before{content:"󱣖"}.mdi-sun-thermometer-outline:before{content:"󱣗"}.mdi-sun-wireless:before{content:"󱟾"}.mdi-sun-wireless-outline:before{content:"󱟿"}.mdi-sunglasses:before{content:"󰓠"}.mdi-surfing:before{content:"󱝆"}.mdi-surround-sound:before{content:"󰗅"}.mdi-surround-sound-2-0:before{content:"󰟰"}.mdi-surround-sound-2-1:before{content:"󱜩"}.mdi-surround-sound-3-1:before{content:"󰟱"}.mdi-surround-sound-5-1:before{content:"󰟲"}.mdi-surround-sound-5-1-2:before{content:"󱜪"}.mdi-surround-sound-7-1:before{content:"󰟳"}.mdi-svg:before{content:"󰜡"}.mdi-swap-horizontal:before{content:"󰓡"}.mdi-swap-horizontal-bold:before{content:"󰯍"}.mdi-swap-horizontal-circle:before{content:"󰿡"}.mdi-swap-horizontal-circle-outline:before{content:"󰿢"}.mdi-swap-horizontal-variant:before{content:"󰣁"}.mdi-swap-vertical:before{content:"󰓢"}.mdi-swap-vertical-bold:before{content:"󰯎"}.mdi-swap-vertical-circle:before{content:"󰿣"}.mdi-swap-vertical-circle-outline:before{content:"󰿤"}.mdi-swap-vertical-variant:before{content:"󰣂"}.mdi-swim:before{content:"󰓣"}.mdi-switch:before{content:"󰓤"}.mdi-sword:before{content:"󰓥"}.mdi-sword-cross:before{content:"󰞇"}.mdi-syllabary-hangul:before{content:"󱌳"}.mdi-syllabary-hiragana:before{content:"󱌴"}.mdi-syllabary-katakana:before{content:"󱌵"}.mdi-syllabary-katakana-halfwidth:before{content:"󱌶"}.mdi-symbol:before{content:"󱔁"}.mdi-symfony:before{content:"󰫦"}.mdi-synagogue:before{content:"󱬄"}.mdi-synagogue-outline:before{content:"󱬅"}.mdi-sync:before{content:"󰓦"}.mdi-sync-alert:before{content:"󰓧"}.mdi-sync-circle:before{content:"󱍸"}.mdi-sync-off:before{content:"󰓨"}.mdi-tab:before{content:"󰓩"}.mdi-tab-minus:before{content:"󰭋"}.mdi-tab-plus:before{content:"󰝜"}.mdi-tab-remove:before{content:"󰭌"}.mdi-tab-search:before{content:"󱦞"}.mdi-tab-unselected:before{content:"󰓪"}.mdi-table:before{content:"󰓫"}.mdi-table-account:before{content:"󱎹"}.mdi-table-alert:before{content:"󱎺"}.mdi-table-arrow-down:before{content:"󱎻"}.mdi-table-arrow-left:before{content:"󱎼"}.mdi-table-arrow-right:before{content:"󱎽"}.mdi-table-arrow-up:before{content:"󱎾"}.mdi-table-border:before{content:"󰨘"}.mdi-table-cancel:before{content:"󱎿"}.mdi-table-chair:before{content:"󱁡"}.mdi-table-check:before{content:"󱏀"}.mdi-table-clock:before{content:"󱏁"}.mdi-table-cog:before{content:"󱏂"}.mdi-table-column:before{content:"󰠵"}.mdi-table-column-plus-after:before{content:"󰓬"}.mdi-table-column-plus-before:before{content:"󰓭"}.mdi-table-column-remove:before{content:"󰓮"}.mdi-table-column-width:before{content:"󰓯"}.mdi-table-edit:before{content:"󰓰"}.mdi-table-eye:before{content:"󱂔"}.mdi-table-eye-off:before{content:"󱏃"}.mdi-table-filter:before{content:"󱮌"}.mdi-table-furniture:before{content:"󰖼"}.mdi-table-headers-eye:before{content:"󱈝"}.mdi-table-headers-eye-off:before{content:"󱈞"}.mdi-table-heart:before{content:"󱏄"}.mdi-table-key:before{content:"󱏅"}.mdi-table-large:before{content:"󰓱"}.mdi-table-large-plus:before{content:"󰾇"}.mdi-table-large-remove:before{content:"󰾈"}.mdi-table-lock:before{content:"󱏆"}.mdi-table-merge-cells:before{content:"󰦦"}.mdi-table-minus:before{content:"󱏇"}.mdi-table-multiple:before{content:"󱏈"}.mdi-table-network:before{content:"󱏉"}.mdi-table-of-contents:before{content:"󰠶"}.mdi-table-off:before{content:"󱏊"}.mdi-table-picnic:before{content:"󱝃"}.mdi-table-pivot:before{content:"󱠼"}.mdi-table-plus:before{content:"󰩵"}.mdi-table-question:before{content:"󱬡"}.mdi-table-refresh:before{content:"󱎠"}.mdi-table-remove:before{content:"󰩶"}.mdi-table-row:before{content:"󰠷"}.mdi-table-row-height:before{content:"󰓲"}.mdi-table-row-plus-after:before{content:"󰓳"}.mdi-table-row-plus-before:before{content:"󰓴"}.mdi-table-row-remove:before{content:"󰓵"}.mdi-table-search:before{content:"󰤏"}.mdi-table-settings:before{content:"󰠸"}.mdi-table-split-cell:before{content:"󱐪"}.mdi-table-star:before{content:"󱏋"}.mdi-table-sync:before{content:"󱎡"}.mdi-table-tennis:before{content:"󰹨"}.mdi-tablet:before{content:"󰓶"}.mdi-tablet-cellphone:before{content:"󰦧"}.mdi-tablet-dashboard:before{content:"󰻎"}.mdi-taco:before{content:"󰝢"}.mdi-tag:before{content:"󰓹"}.mdi-tag-arrow-down:before{content:"󱜫"}.mdi-tag-arrow-down-outline:before{content:"󱜬"}.mdi-tag-arrow-left:before{content:"󱜭"}.mdi-tag-arrow-left-outline:before{content:"󱜮"}.mdi-tag-arrow-right:before{content:"󱜯"}.mdi-tag-arrow-right-outline:before{content:"󱜰"}.mdi-tag-arrow-up:before{content:"󱜱"}.mdi-tag-arrow-up-outline:before{content:"󱜲"}.mdi-tag-check:before{content:"󱩺"}.mdi-tag-check-outline:before{content:"󱩻"}.mdi-tag-faces:before{content:"󰓺"}.mdi-tag-heart:before{content:"󰚋"}.mdi-tag-heart-outline:before{content:"󰯏"}.mdi-tag-hidden:before{content:"󱱶"}.mdi-tag-minus:before{content:"󰤐"}.mdi-tag-minus-outline:before{content:"󱈟"}.mdi-tag-multiple:before{content:"󰓻"}.mdi-tag-multiple-outline:before{content:"󱋷"}.mdi-tag-off:before{content:"󱈠"}.mdi-tag-off-outline:before{content:"󱈡"}.mdi-tag-outline:before{content:"󰓼"}.mdi-tag-plus:before{content:"󰜢"}.mdi-tag-plus-outline:before{content:"󱈢"}.mdi-tag-remove:before{content:"󰜣"}.mdi-tag-remove-outline:before{content:"󱈣"}.mdi-tag-search:before{content:"󱤇"}.mdi-tag-search-outline:before{content:"󱤈"}.mdi-tag-text:before{content:"󱈤"}.mdi-tag-text-outline:before{content:"󰓽"}.mdi-tailwind:before{content:"󱏿"}.mdi-tally-mark-1:before{content:"󱪼"}.mdi-tally-mark-2:before{content:"󱪽"}.mdi-tally-mark-3:before{content:"󱪾"}.mdi-tally-mark-4:before{content:"󱪿"}.mdi-tally-mark-5:before{content:"󱫀"}.mdi-tangram:before{content:"󰓸"}.mdi-tank:before{content:"󰴺"}.mdi-tanker-truck:before{content:"󰿥"}.mdi-tape-drive:before{content:"󱛟"}.mdi-tape-measure:before{content:"󰭍"}.mdi-target:before{content:"󰓾"}.mdi-target-account:before{content:"󰯐"}.mdi-target-variant:before{content:"󰩷"}.mdi-taxi:before{content:"󰓿"}.mdi-tea:before{content:"󰶞"}.mdi-tea-outline:before{content:"󰶟"}.mdi-teamviewer:before{content:"󰔀"}.mdi-teddy-bear:before{content:"󱣻"}.mdi-telescope:before{content:"󰭎"}.mdi-television:before{content:"󰔂"}.mdi-television-ambient-light:before{content:"󱍖"}.mdi-television-box:before{content:"󰠹"}.mdi-television-classic:before{content:"󰟴"}.mdi-television-classic-off:before{content:"󰠺"}.mdi-television-guide:before{content:"󰔃"}.mdi-television-off:before{content:"󰠻"}.mdi-television-pause:before{content:"󰾉"}.mdi-television-play:before{content:"󰻏"}.mdi-television-shimmer:before{content:"󱄐"}.mdi-television-speaker:before{content:"󱬛"}.mdi-television-speaker-off:before{content:"󱬜"}.mdi-television-stop:before{content:"󰾊"}.mdi-temperature-celsius:before{content:"󰔄"}.mdi-temperature-fahrenheit:before{content:"󰔅"}.mdi-temperature-kelvin:before{content:"󰔆"}.mdi-temple-buddhist:before{content:"󱬆"}.mdi-temple-buddhist-outline:before{content:"󱬇"}.mdi-temple-hindu:before{content:"󱬈"}.mdi-temple-hindu-outline:before{content:"󱬉"}.mdi-tennis:before{content:"󰶠"}.mdi-tennis-ball:before{content:"󰔇"}.mdi-tennis-ball-outline:before{content:"󱱟"}.mdi-tent:before{content:"󰔈"}.mdi-terraform:before{content:"󱁢"}.mdi-terrain:before{content:"󰔉"}.mdi-test-tube:before{content:"󰙨"}.mdi-test-tube-empty:before{content:"󰤑"}.mdi-test-tube-off:before{content:"󰤒"}.mdi-text:before{content:"󰦨"}.mdi-text-account:before{content:"󱕰"}.mdi-text-box:before{content:"󰈚"}.mdi-text-box-check:before{content:"󰺦"}.mdi-text-box-check-outline:before{content:"󰺧"}.mdi-text-box-edit:before{content:"󱩼"}.mdi-text-box-edit-outline:before{content:"󱩽"}.mdi-text-box-minus:before{content:"󰺨"}.mdi-text-box-minus-outline:before{content:"󰺩"}.mdi-text-box-multiple:before{content:"󰪷"}.mdi-text-box-multiple-outline:before{content:"󰪸"}.mdi-text-box-outline:before{content:"󰧭"}.mdi-text-box-plus:before{content:"󰺪"}.mdi-text-box-plus-outline:before{content:"󰺫"}.mdi-text-box-remove:before{content:"󰺬"}.mdi-text-box-remove-outline:before{content:"󰺭"}.mdi-text-box-search:before{content:"󰺮"}.mdi-text-box-search-outline:before{content:"󰺯"}.mdi-text-long:before{content:"󰦪"}.mdi-text-recognition:before{content:"󱄽"}.mdi-text-search:before{content:"󱎸"}.mdi-text-search-variant:before{content:"󱩾"}.mdi-text-shadow:before{content:"󰙩"}.mdi-text-short:before{content:"󰦩"}.mdi-texture:before{content:"󰔌"}.mdi-texture-box:before{content:"󰿦"}.mdi-theater:before{content:"󰔍"}.mdi-theme-light-dark:before{content:"󰔎"}.mdi-thermometer:before{content:"󰔏"}.mdi-thermometer-alert:before{content:"󰸁"}.mdi-thermometer-auto:before{content:"󱬏"}.mdi-thermometer-bluetooth:before{content:"󱢕"}.mdi-thermometer-check:before{content:"󱩿"}.mdi-thermometer-chevron-down:before{content:"󰸂"}.mdi-thermometer-chevron-up:before{content:"󰸃"}.mdi-thermometer-high:before{content:"󱃂"}.mdi-thermometer-lines:before{content:"󰔐"}.mdi-thermometer-low:before{content:"󱃃"}.mdi-thermometer-minus:before{content:"󰸄"}.mdi-thermometer-off:before{content:"󱔱"}.mdi-thermometer-plus:before{content:"󰸅"}.mdi-thermometer-probe:before{content:"󱬫"}.mdi-thermometer-probe-off:before{content:"󱬬"}.mdi-thermometer-water:before{content:"󱪀"}.mdi-thermostat:before{content:"󰎓"}.mdi-thermostat-auto:before{content:"󱬗"}.mdi-thermostat-box:before{content:"󰢑"}.mdi-thermostat-box-auto:before{content:"󱬘"}.mdi-thermostat-cog:before{content:"󱲀"}.mdi-thought-bubble:before{content:"󰟶"}.mdi-thought-bubble-outline:before{content:"󰟷"}.mdi-thumb-down:before{content:"󰔑"}.mdi-thumb-down-outline:before{content:"󰔒"}.mdi-thumb-up:before{content:"󰔓"}.mdi-thumb-up-outline:before{content:"󰔔"}.mdi-thumbs-up-down:before{content:"󰔕"}.mdi-thumbs-up-down-outline:before{content:"󱤔"}.mdi-ticket:before{content:"󰔖"}.mdi-ticket-account:before{content:"󰔗"}.mdi-ticket-confirmation:before{content:"󰔘"}.mdi-ticket-confirmation-outline:before{content:"󱎪"}.mdi-ticket-outline:before{content:"󰤓"}.mdi-ticket-percent:before{content:"󰜤"}.mdi-ticket-percent-outline:before{content:"󱐫"}.mdi-tie:before{content:"󰔙"}.mdi-tilde:before{content:"󰜥"}.mdi-tilde-off:before{content:"󱣳"}.mdi-timelapse:before{content:"󰔚"}.mdi-timeline:before{content:"󰯑"}.mdi-timeline-alert:before{content:"󰾕"}.mdi-timeline-alert-outline:before{content:"󰾘"}.mdi-timeline-check:before{content:"󱔲"}.mdi-timeline-check-outline:before{content:"󱔳"}.mdi-timeline-clock:before{content:"󱇻"}.mdi-timeline-clock-outline:before{content:"󱇼"}.mdi-timeline-minus:before{content:"󱔴"}.mdi-timeline-minus-outline:before{content:"󱔵"}.mdi-timeline-outline:before{content:"󰯒"}.mdi-timeline-plus:before{content:"󰾖"}.mdi-timeline-plus-outline:before{content:"󰾗"}.mdi-timeline-question:before{content:"󰾙"}.mdi-timeline-question-outline:before{content:"󰾚"}.mdi-timeline-remove:before{content:"󱔶"}.mdi-timeline-remove-outline:before{content:"󱔷"}.mdi-timeline-text:before{content:"󰯓"}.mdi-timeline-text-outline:before{content:"󰯔"}.mdi-timer:before{content:"󱎫"}.mdi-timer-10:before{content:"󰔜"}.mdi-timer-3:before{content:"󰔝"}.mdi-timer-alert:before{content:"󱫌"}.mdi-timer-alert-outline:before{content:"󱫍"}.mdi-timer-cancel:before{content:"󱫎"}.mdi-timer-cancel-outline:before{content:"󱫏"}.mdi-timer-check:before{content:"󱫐"}.mdi-timer-check-outline:before{content:"󱫑"}.mdi-timer-cog:before{content:"󱤥"}.mdi-timer-cog-outline:before{content:"󱤦"}.mdi-timer-edit:before{content:"󱫒"}.mdi-timer-edit-outline:before{content:"󱫓"}.mdi-timer-lock:before{content:"󱫔"}.mdi-timer-lock-open:before{content:"󱫕"}.mdi-timer-lock-open-outline:before{content:"󱫖"}.mdi-timer-lock-outline:before{content:"󱫗"}.mdi-timer-marker:before{content:"󱫘"}.mdi-timer-marker-outline:before{content:"󱫙"}.mdi-timer-minus:before{content:"󱫚"}.mdi-timer-minus-outline:before{content:"󱫛"}.mdi-timer-music:before{content:"󱫜"}.mdi-timer-music-outline:before{content:"󱫝"}.mdi-timer-off:before{content:"󱎬"}.mdi-timer-off-outline:before{content:"󰔞"}.mdi-timer-outline:before{content:"󰔛"}.mdi-timer-pause:before{content:"󱫞"}.mdi-timer-pause-outline:before{content:"󱫟"}.mdi-timer-play:before{content:"󱫠"}.mdi-timer-play-outline:before{content:"󱫡"}.mdi-timer-plus:before{content:"󱫢"}.mdi-timer-plus-outline:before{content:"󱫣"}.mdi-timer-refresh:before{content:"󱫤"}.mdi-timer-refresh-outline:before{content:"󱫥"}.mdi-timer-remove:before{content:"󱫦"}.mdi-timer-remove-outline:before{content:"󱫧"}.mdi-timer-sand:before{content:"󰔟"}.mdi-timer-sand-complete:before{content:"󱦟"}.mdi-timer-sand-empty:before{content:"󰚭"}.mdi-timer-sand-full:before{content:"󰞌"}.mdi-timer-sand-paused:before{content:"󱦠"}.mdi-timer-settings:before{content:"󱤣"}.mdi-timer-settings-outline:before{content:"󱤤"}.mdi-timer-star:before{content:"󱫨"}.mdi-timer-star-outline:before{content:"󱫩"}.mdi-timer-stop:before{content:"󱫪"}.mdi-timer-stop-outline:before{content:"󱫫"}.mdi-timer-sync:before{content:"󱫬"}.mdi-timer-sync-outline:before{content:"󱫭"}.mdi-timetable:before{content:"󰔠"}.mdi-tire:before{content:"󱢖"}.mdi-toaster:before{content:"󱁣"}.mdi-toaster-off:before{content:"󱆷"}.mdi-toaster-oven:before{content:"󰳓"}.mdi-toggle-switch:before{content:"󰔡"}.mdi-toggle-switch-off:before{content:"󰔢"}.mdi-toggle-switch-off-outline:before{content:"󰨙"}.mdi-toggle-switch-outline:before{content:"󰨚"}.mdi-toggle-switch-variant:before{content:"󱨥"}.mdi-toggle-switch-variant-off:before{content:"󱨦"}.mdi-toilet:before{content:"󰦫"}.mdi-toolbox:before{content:"󰦬"}.mdi-toolbox-outline:before{content:"󰦭"}.mdi-tools:before{content:"󱁤"}.mdi-tooltip:before{content:"󰔣"}.mdi-tooltip-account:before{content:"󰀌"}.mdi-tooltip-cellphone:before{content:"󱠻"}.mdi-tooltip-check:before{content:"󱕜"}.mdi-tooltip-check-outline:before{content:"󱕝"}.mdi-tooltip-edit:before{content:"󰔤"}.mdi-tooltip-edit-outline:before{content:"󱋅"}.mdi-tooltip-image:before{content:"󰔥"}.mdi-tooltip-image-outline:before{content:"󰯕"}.mdi-tooltip-minus:before{content:"󱕞"}.mdi-tooltip-minus-outline:before{content:"󱕟"}.mdi-tooltip-outline:before{content:"󰔦"}.mdi-tooltip-plus:before{content:"󰯖"}.mdi-tooltip-plus-outline:before{content:"󰔧"}.mdi-tooltip-question:before{content:"󱮺"}.mdi-tooltip-question-outline:before{content:"󱮻"}.mdi-tooltip-remove:before{content:"󱕠"}.mdi-tooltip-remove-outline:before{content:"󱕡"}.mdi-tooltip-text:before{content:"󰔨"}.mdi-tooltip-text-outline:before{content:"󰯗"}.mdi-tooth:before{content:"󰣃"}.mdi-tooth-outline:before{content:"󰔩"}.mdi-toothbrush:before{content:"󱄩"}.mdi-toothbrush-electric:before{content:"󱄬"}.mdi-toothbrush-paste:before{content:"󱄪"}.mdi-torch:before{content:"󱘆"}.mdi-tortoise:before{content:"󰴻"}.mdi-toslink:before{content:"󱊸"}.mdi-touch-text-outline:before{content:"󱱠"}.mdi-tournament:before{content:"󰦮"}.mdi-tow-truck:before{content:"󰠼"}.mdi-tower-beach:before{content:"󰚁"}.mdi-tower-fire:before{content:"󰚂"}.mdi-town-hall:before{content:"󱡵"}.mdi-toy-brick:before{content:"󱊈"}.mdi-toy-brick-marker:before{content:"󱊉"}.mdi-toy-brick-marker-outline:before{content:"󱊊"}.mdi-toy-brick-minus:before{content:"󱊋"}.mdi-toy-brick-minus-outline:before{content:"󱊌"}.mdi-toy-brick-outline:before{content:"󱊍"}.mdi-toy-brick-plus:before{content:"󱊎"}.mdi-toy-brick-plus-outline:before{content:"󱊏"}.mdi-toy-brick-remove:before{content:"󱊐"}.mdi-toy-brick-remove-outline:before{content:"󱊑"}.mdi-toy-brick-search:before{content:"󱊒"}.mdi-toy-brick-search-outline:before{content:"󱊓"}.mdi-track-light:before{content:"󰤔"}.mdi-track-light-off:before{content:"󱬁"}.mdi-trackpad:before{content:"󰟸"}.mdi-trackpad-lock:before{content:"󰤳"}.mdi-tractor:before{content:"󰢒"}.mdi-tractor-variant:before{content:"󱓄"}.mdi-trademark:before{content:"󰩸"}.mdi-traffic-cone:before{content:"󱍼"}.mdi-traffic-light:before{content:"󰔫"}.mdi-traffic-light-outline:before{content:"󱠪"}.mdi-train:before{content:"󰔬"}.mdi-train-car:before{content:"󰯘"}.mdi-train-car-autorack:before{content:"󱬭"}.mdi-train-car-box:before{content:"󱬮"}.mdi-train-car-box-full:before{content:"󱬯"}.mdi-train-car-box-open:before{content:"󱬰"}.mdi-train-car-caboose:before{content:"󱬱"}.mdi-train-car-centerbeam:before{content:"󱬲"}.mdi-train-car-centerbeam-full:before{content:"󱬳"}.mdi-train-car-container:before{content:"󱬴"}.mdi-train-car-flatbed:before{content:"󱬵"}.mdi-train-car-flatbed-car:before{content:"󱬶"}.mdi-train-car-flatbed-tank:before{content:"󱬷"}.mdi-train-car-gondola:before{content:"󱬸"}.mdi-train-car-gondola-full:before{content:"󱬹"}.mdi-train-car-hopper:before{content:"󱬺"}.mdi-train-car-hopper-covered:before{content:"󱬻"}.mdi-train-car-hopper-full:before{content:"󱬼"}.mdi-train-car-intermodal:before{content:"󱬽"}.mdi-train-car-passenger:before{content:"󱜳"}.mdi-train-car-passenger-door:before{content:"󱜴"}.mdi-train-car-passenger-door-open:before{content:"󱜵"}.mdi-train-car-passenger-variant:before{content:"󱜶"}.mdi-train-car-tank:before{content:"󱬾"}.mdi-train-variant:before{content:"󰣄"}.mdi-tram:before{content:"󰔭"}.mdi-tram-side:before{content:"󰿧"}.mdi-transcribe:before{content:"󰔮"}.mdi-transcribe-close:before{content:"󰔯"}.mdi-transfer:before{content:"󱁥"}.mdi-transfer-down:before{content:"󰶡"}.mdi-transfer-left:before{content:"󰶢"}.mdi-transfer-right:before{content:"󰔰"}.mdi-transfer-up:before{content:"󰶣"}.mdi-transit-connection:before{content:"󰴼"}.mdi-transit-connection-horizontal:before{content:"󱕆"}.mdi-transit-connection-variant:before{content:"󰴽"}.mdi-transit-detour:before{content:"󰾋"}.mdi-transit-skip:before{content:"󱔕"}.mdi-transit-transfer:before{content:"󰚮"}.mdi-transition:before{content:"󰤕"}.mdi-transition-masked:before{content:"󰤖"}.mdi-translate:before{content:"󰗊"}.mdi-translate-off:before{content:"󰸆"}.mdi-translate-variant:before{content:"󱮙"}.mdi-transmission-tower:before{content:"󰴾"}.mdi-transmission-tower-export:before{content:"󱤬"}.mdi-transmission-tower-import:before{content:"󱤭"}.mdi-transmission-tower-off:before{content:"󱧝"}.mdi-trash-can:before{content:"󰩹"}.mdi-trash-can-outline:before{content:"󰩺"}.mdi-tray:before{content:"󱊔"}.mdi-tray-alert:before{content:"󱊕"}.mdi-tray-arrow-down:before{content:"󰄠"}.mdi-tray-arrow-up:before{content:"󰄝"}.mdi-tray-full:before{content:"󱊖"}.mdi-tray-minus:before{content:"󱊗"}.mdi-tray-plus:before{content:"󱊘"}.mdi-tray-remove:before{content:"󱊙"}.mdi-treasure-chest:before{content:"󰜦"}.mdi-treasure-chest-outline:before{content:"󱱷"}.mdi-tree:before{content:"󰔱"}.mdi-tree-outline:before{content:"󰹩"}.mdi-trello:before{content:"󰔲"}.mdi-trending-down:before{content:"󰔳"}.mdi-trending-neutral:before{content:"󰔴"}.mdi-trending-up:before{content:"󰔵"}.mdi-triangle:before{content:"󰔶"}.mdi-triangle-down:before{content:"󱱖"}.mdi-triangle-down-outline:before{content:"󱱗"}.mdi-triangle-outline:before{content:"󰔷"}.mdi-triangle-small-down:before{content:"󱨉"}.mdi-triangle-small-up:before{content:"󱨊"}.mdi-triangle-wave:before{content:"󱑼"}.mdi-triforce:before{content:"󰯙"}.mdi-trophy:before{content:"󰔸"}.mdi-trophy-award:before{content:"󰔹"}.mdi-trophy-broken:before{content:"󰶤"}.mdi-trophy-outline:before{content:"󰔺"}.mdi-trophy-variant:before{content:"󰔻"}.mdi-trophy-variant-outline:before{content:"󰔼"}.mdi-truck:before{content:"󰔽"}.mdi-truck-alert:before{content:"󱧞"}.mdi-truck-alert-outline:before{content:"󱧟"}.mdi-truck-cargo-container:before{content:"󱣘"}.mdi-truck-check:before{content:"󰳔"}.mdi-truck-check-outline:before{content:"󱊚"}.mdi-truck-delivery:before{content:"󰔾"}.mdi-truck-delivery-outline:before{content:"󱊛"}.mdi-truck-fast:before{content:"󰞈"}.mdi-truck-fast-outline:before{content:"󱊜"}.mdi-truck-flatbed:before{content:"󱢑"}.mdi-truck-minus:before{content:"󱦮"}.mdi-truck-minus-outline:before{content:"󱦽"}.mdi-truck-outline:before{content:"󱊝"}.mdi-truck-plus:before{content:"󱦭"}.mdi-truck-plus-outline:before{content:"󱦼"}.mdi-truck-remove:before{content:"󱦯"}.mdi-truck-remove-outline:before{content:"󱦾"}.mdi-truck-snowflake:before{content:"󱦦"}.mdi-truck-trailer:before{content:"󰜧"}.mdi-trumpet:before{content:"󱂖"}.mdi-tshirt-crew:before{content:"󰩻"}.mdi-tshirt-crew-outline:before{content:"󰔿"}.mdi-tshirt-v:before{content:"󰩼"}.mdi-tshirt-v-outline:before{content:"󰕀"}.mdi-tsunami:before{content:"󱪁"}.mdi-tumble-dryer:before{content:"󰤗"}.mdi-tumble-dryer-alert:before{content:"󱆺"}.mdi-tumble-dryer-off:before{content:"󱆻"}.mdi-tune:before{content:"󰘮"}.mdi-tune-variant:before{content:"󱕂"}.mdi-tune-vertical:before{content:"󰙪"}.mdi-tune-vertical-variant:before{content:"󱕃"}.mdi-tunnel:before{content:"󱠽"}.mdi-tunnel-outline:before{content:"󱠾"}.mdi-turbine:before{content:"󱪂"}.mdi-turkey:before{content:"󱜛"}.mdi-turnstile:before{content:"󰳕"}.mdi-turnstile-outline:before{content:"󰳖"}.mdi-turtle:before{content:"󰳗"}.mdi-twitch:before{content:"󰕃"}.mdi-twitter:before{content:"󰕄"}.mdi-two-factor-authentication:before{content:"󰦯"}.mdi-typewriter:before{content:"󰼭"}.mdi-ubisoft:before{content:"󰯚"}.mdi-ubuntu:before{content:"󰕈"}.mdi-ufo:before{content:"󱃄"}.mdi-ufo-outline:before{content:"󱃅"}.mdi-ultra-high-definition:before{content:"󰟹"}.mdi-umbraco:before{content:"󰕉"}.mdi-umbrella:before{content:"󰕊"}.mdi-umbrella-beach:before{content:"󱢊"}.mdi-umbrella-beach-outline:before{content:"󱢋"}.mdi-umbrella-closed:before{content:"󰦰"}.mdi-umbrella-closed-outline:before{content:"󱏢"}.mdi-umbrella-closed-variant:before{content:"󱏡"}.mdi-umbrella-outline:before{content:"󰕋"}.mdi-undo:before{content:"󰕌"}.mdi-undo-variant:before{content:"󰕍"}.mdi-unfold-less-horizontal:before{content:"󰕎"}.mdi-unfold-less-vertical:before{content:"󰝠"}.mdi-unfold-more-horizontal:before{content:"󰕏"}.mdi-unfold-more-vertical:before{content:"󰝡"}.mdi-ungroup:before{content:"󰕐"}.mdi-unicode:before{content:"󰻐"}.mdi-unicorn:before{content:"󱗂"}.mdi-unicorn-variant:before{content:"󱗃"}.mdi-unicycle:before{content:"󱗥"}.mdi-unity:before{content:"󰚯"}.mdi-unreal:before{content:"󰦱"}.mdi-update:before{content:"󰚰"}.mdi-upload:before{content:"󰕒"}.mdi-upload-lock:before{content:"󱍳"}.mdi-upload-lock-outline:before{content:"󱍴"}.mdi-upload-multiple:before{content:"󰠽"}.mdi-upload-network:before{content:"󰛶"}.mdi-upload-network-outline:before{content:"󰳘"}.mdi-upload-off:before{content:"󱃆"}.mdi-upload-off-outline:before{content:"󱃇"}.mdi-upload-outline:before{content:"󰸇"}.mdi-usb:before{content:"󰕓"}.mdi-usb-flash-drive:before{content:"󱊞"}.mdi-usb-flash-drive-outline:before{content:"󱊟"}.mdi-usb-port:before{content:"󱇰"}.mdi-vacuum:before{content:"󱦡"}.mdi-vacuum-outline:before{content:"󱦢"}.mdi-valve:before{content:"󱁦"}.mdi-valve-closed:before{content:"󱁧"}.mdi-valve-open:before{content:"󱁨"}.mdi-van-passenger:before{content:"󰟺"}.mdi-van-utility:before{content:"󰟻"}.mdi-vanish:before{content:"󰟼"}.mdi-vanish-quarter:before{content:"󱕔"}.mdi-vanity-light:before{content:"󱇡"}.mdi-variable:before{content:"󰫧"}.mdi-variable-box:before{content:"󱄑"}.mdi-vector-arrange-above:before{content:"󰕔"}.mdi-vector-arrange-below:before{content:"󰕕"}.mdi-vector-bezier:before{content:"󰫨"}.mdi-vector-circle:before{content:"󰕖"}.mdi-vector-circle-variant:before{content:"󰕗"}.mdi-vector-combine:before{content:"󰕘"}.mdi-vector-curve:before{content:"󰕙"}.mdi-vector-difference:before{content:"󰕚"}.mdi-vector-difference-ab:before{content:"󰕛"}.mdi-vector-difference-ba:before{content:"󰕜"}.mdi-vector-ellipse:before{content:"󰢓"}.mdi-vector-intersection:before{content:"󰕝"}.mdi-vector-line:before{content:"󰕞"}.mdi-vector-link:before{content:"󰿨"}.mdi-vector-point:before{content:"󰇄"}.mdi-vector-point-edit:before{content:"󰧨"}.mdi-vector-point-minus:before{content:"󱭸"}.mdi-vector-point-plus:before{content:"󱭹"}.mdi-vector-point-select:before{content:"󰕟"}.mdi-vector-polygon:before{content:"󰕠"}.mdi-vector-polygon-variant:before{content:"󱡖"}.mdi-vector-polyline:before{content:"󰕡"}.mdi-vector-polyline-edit:before{content:"󱈥"}.mdi-vector-polyline-minus:before{content:"󱈦"}.mdi-vector-polyline-plus:before{content:"󱈧"}.mdi-vector-polyline-remove:before{content:"󱈨"}.mdi-vector-radius:before{content:"󰝊"}.mdi-vector-rectangle:before{content:"󰗆"}.mdi-vector-selection:before{content:"󰕢"}.mdi-vector-square:before{content:"󰀁"}.mdi-vector-square-close:before{content:"󱡗"}.mdi-vector-square-edit:before{content:"󱣙"}.mdi-vector-square-minus:before{content:"󱣚"}.mdi-vector-square-open:before{content:"󱡘"}.mdi-vector-square-plus:before{content:"󱣛"}.mdi-vector-square-remove:before{content:"󱣜"}.mdi-vector-triangle:before{content:"󰕣"}.mdi-vector-union:before{content:"󰕤"}.mdi-vhs:before{content:"󰨛"}.mdi-vibrate:before{content:"󰕦"}.mdi-vibrate-off:before{content:"󰳙"}.mdi-video:before{content:"󰕧"}.mdi-video-2d:before{content:"󱨜"}.mdi-video-3d:before{content:"󰟽"}.mdi-video-3d-off:before{content:"󱏙"}.mdi-video-3d-variant:before{content:"󰻑"}.mdi-video-4k-box:before{content:"󰠾"}.mdi-video-account:before{content:"󰤙"}.mdi-video-box:before{content:"󰃽"}.mdi-video-box-off:before{content:"󰃾"}.mdi-video-check:before{content:"󱁩"}.mdi-video-check-outline:before{content:"󱁪"}.mdi-video-high-definition:before{content:"󱔮"}.mdi-video-image:before{content:"󰤚"}.mdi-video-input-antenna:before{content:"󰠿"}.mdi-video-input-component:before{content:"󰡀"}.mdi-video-input-hdmi:before{content:"󰡁"}.mdi-video-input-scart:before{content:"󰾌"}.mdi-video-input-svideo:before{content:"󰡂"}.mdi-video-marker:before{content:"󱦩"}.mdi-video-marker-outline:before{content:"󱦪"}.mdi-video-minus:before{content:"󰦲"}.mdi-video-minus-outline:before{content:"󰊺"}.mdi-video-off:before{content:"󰕨"}.mdi-video-off-outline:before{content:"󰯛"}.mdi-video-outline:before{content:"󰯜"}.mdi-video-plus:before{content:"󰦳"}.mdi-video-plus-outline:before{content:"󰇓"}.mdi-video-stabilization:before{content:"󰤛"}.mdi-video-switch:before{content:"󰕩"}.mdi-video-switch-outline:before{content:"󰞐"}.mdi-video-vintage:before{content:"󰨜"}.mdi-video-wireless:before{content:"󰻒"}.mdi-video-wireless-outline:before{content:"󰻓"}.mdi-view-agenda:before{content:"󰕪"}.mdi-view-agenda-outline:before{content:"󱇘"}.mdi-view-array:before{content:"󰕫"}.mdi-view-array-outline:before{content:"󱒅"}.mdi-view-carousel:before{content:"󰕬"}.mdi-view-carousel-outline:before{content:"󱒆"}.mdi-view-column:before{content:"󰕭"}.mdi-view-column-outline:before{content:"󱒇"}.mdi-view-comfy:before{content:"󰹪"}.mdi-view-comfy-outline:before{content:"󱒈"}.mdi-view-compact:before{content:"󰹫"}.mdi-view-compact-outline:before{content:"󰹬"}.mdi-view-dashboard:before{content:"󰕮"}.mdi-view-dashboard-edit:before{content:"󱥇"}.mdi-view-dashboard-edit-outline:before{content:"󱥈"}.mdi-view-dashboard-outline:before{content:"󰨝"}.mdi-view-dashboard-variant:before{content:"󰡃"}.mdi-view-dashboard-variant-outline:before{content:"󱒉"}.mdi-view-day:before{content:"󰕯"}.mdi-view-day-outline:before{content:"󱒊"}.mdi-view-gallery:before{content:"󱢈"}.mdi-view-gallery-outline:before{content:"󱢉"}.mdi-view-grid:before{content:"󰕰"}.mdi-view-grid-compact:before{content:"󱱡"}.mdi-view-grid-outline:before{content:"󱇙"}.mdi-view-grid-plus:before{content:"󰾍"}.mdi-view-grid-plus-outline:before{content:"󱇚"}.mdi-view-headline:before{content:"󰕱"}.mdi-view-list:before{content:"󰕲"}.mdi-view-list-outline:before{content:"󱒋"}.mdi-view-module:before{content:"󰕳"}.mdi-view-module-outline:before{content:"󱒌"}.mdi-view-parallel:before{content:"󰜨"}.mdi-view-parallel-outline:before{content:"󱒍"}.mdi-view-quilt:before{content:"󰕴"}.mdi-view-quilt-outline:before{content:"󱒎"}.mdi-view-sequential:before{content:"󰜩"}.mdi-view-sequential-outline:before{content:"󱒏"}.mdi-view-split-horizontal:before{content:"󰯋"}.mdi-view-split-vertical:before{content:"󰯌"}.mdi-view-stream:before{content:"󰕵"}.mdi-view-stream-outline:before{content:"󱒐"}.mdi-view-week:before{content:"󰕶"}.mdi-view-week-outline:before{content:"󱒑"}.mdi-vimeo:before{content:"󰕷"}.mdi-violin:before{content:"󰘏"}.mdi-virtual-reality:before{content:"󰢔"}.mdi-virus:before{content:"󱎶"}.mdi-virus-off:before{content:"󱣡"}.mdi-virus-off-outline:before{content:"󱣢"}.mdi-virus-outline:before{content:"󱎷"}.mdi-vlc:before{content:"󰕼"}.mdi-voicemail:before{content:"󰕽"}.mdi-volcano:before{content:"󱪃"}.mdi-volcano-outline:before{content:"󱪄"}.mdi-volleyball:before{content:"󰦴"}.mdi-volume-equal:before{content:"󱬐"}.mdi-volume-high:before{content:"󰕾"}.mdi-volume-low:before{content:"󰕿"}.mdi-volume-medium:before{content:"󰖀"}.mdi-volume-minus:before{content:"󰝞"}.mdi-volume-mute:before{content:"󰝟"}.mdi-volume-off:before{content:"󰖁"}.mdi-volume-plus:before{content:"󰝝"}.mdi-volume-source:before{content:"󱄠"}.mdi-volume-variant-off:before{content:"󰸈"}.mdi-volume-vibrate:before{content:"󱄡"}.mdi-vote:before{content:"󰨟"}.mdi-vote-outline:before{content:"󰨠"}.mdi-vpn:before{content:"󰖂"}.mdi-vuejs:before{content:"󰡄"}.mdi-vuetify:before{content:"󰹭"}.mdi-walk:before{content:"󰖃"}.mdi-wall:before{content:"󰟾"}.mdi-wall-fire:before{content:"󱨑"}.mdi-wall-sconce:before{content:"󰤜"}.mdi-wall-sconce-flat:before{content:"󰤝"}.mdi-wall-sconce-flat-outline:before{content:"󱟉"}.mdi-wall-sconce-flat-variant:before{content:"󰐜"}.mdi-wall-sconce-flat-variant-outline:before{content:"󱟊"}.mdi-wall-sconce-outline:before{content:"󱟋"}.mdi-wall-sconce-round:before{content:"󰝈"}.mdi-wall-sconce-round-outline:before{content:"󱟌"}.mdi-wall-sconce-round-variant:before{content:"󰤞"}.mdi-wall-sconce-round-variant-outline:before{content:"󱟍"}.mdi-wallet:before{content:"󰖄"}.mdi-wallet-bifold:before{content:"󱱘"}.mdi-wallet-bifold-outline:before{content:"󱱙"}.mdi-wallet-giftcard:before{content:"󰖅"}.mdi-wallet-membership:before{content:"󰖆"}.mdi-wallet-outline:before{content:"󰯝"}.mdi-wallet-plus:before{content:"󰾎"}.mdi-wallet-plus-outline:before{content:"󰾏"}.mdi-wallet-travel:before{content:"󰖇"}.mdi-wallpaper:before{content:"󰸉"}.mdi-wan:before{content:"󰖈"}.mdi-wardrobe:before{content:"󰾐"}.mdi-wardrobe-outline:before{content:"󰾑"}.mdi-warehouse:before{content:"󰾁"}.mdi-washing-machine:before{content:"󰜪"}.mdi-washing-machine-alert:before{content:"󱆼"}.mdi-washing-machine-off:before{content:"󱆽"}.mdi-watch:before{content:"󰖉"}.mdi-watch-export:before{content:"󰖊"}.mdi-watch-export-variant:before{content:"󰢕"}.mdi-watch-import:before{content:"󰖋"}.mdi-watch-import-variant:before{content:"󰢖"}.mdi-watch-variant:before{content:"󰢗"}.mdi-watch-vibrate:before{content:"󰚱"}.mdi-watch-vibrate-off:before{content:"󰳚"}.mdi-water:before{content:"󰖌"}.mdi-water-alert:before{content:"󱔂"}.mdi-water-alert-outline:before{content:"󱔃"}.mdi-water-boiler:before{content:"󰾒"}.mdi-water-boiler-alert:before{content:"󱆳"}.mdi-water-boiler-auto:before{content:"󱮘"}.mdi-water-boiler-off:before{content:"󱆴"}.mdi-water-check:before{content:"󱔄"}.mdi-water-check-outline:before{content:"󱔅"}.mdi-water-circle:before{content:"󱠆"}.mdi-water-minus:before{content:"󱔆"}.mdi-water-minus-outline:before{content:"󱔇"}.mdi-water-off:before{content:"󰖍"}.mdi-water-off-outline:before{content:"󱔈"}.mdi-water-opacity:before{content:"󱡕"}.mdi-water-outline:before{content:"󰸊"}.mdi-water-percent:before{content:"󰖎"}.mdi-water-percent-alert:before{content:"󱔉"}.mdi-water-plus:before{content:"󱔊"}.mdi-water-plus-outline:before{content:"󱔋"}.mdi-water-polo:before{content:"󱊠"}.mdi-water-pump:before{content:"󰖏"}.mdi-water-pump-off:before{content:"󰾓"}.mdi-water-remove:before{content:"󱔌"}.mdi-water-remove-outline:before{content:"󱔍"}.mdi-water-sync:before{content:"󱟆"}.mdi-water-thermometer:before{content:"󱪅"}.mdi-water-thermometer-outline:before{content:"󱪆"}.mdi-water-well:before{content:"󱁫"}.mdi-water-well-outline:before{content:"󱁬"}.mdi-waterfall:before{content:"󱡉"}.mdi-watering-can:before{content:"󱒁"}.mdi-watering-can-outline:before{content:"󱒂"}.mdi-watermark:before{content:"󰘒"}.mdi-wave:before{content:"󰼮"}.mdi-waveform:before{content:"󱑽"}.mdi-waves:before{content:"󰞍"}.mdi-waves-arrow-left:before{content:"󱡙"}.mdi-waves-arrow-right:before{content:"󱡚"}.mdi-waves-arrow-up:before{content:"󱡛"}.mdi-waze:before{content:"󰯞"}.mdi-weather-cloudy:before{content:"󰖐"}.mdi-weather-cloudy-alert:before{content:"󰼯"}.mdi-weather-cloudy-arrow-right:before{content:"󰹮"}.mdi-weather-cloudy-clock:before{content:"󱣶"}.mdi-weather-dust:before{content:"󱭚"}.mdi-weather-fog:before{content:"󰖑"}.mdi-weather-hail:before{content:"󰖒"}.mdi-weather-hazy:before{content:"󰼰"}.mdi-weather-hurricane:before{content:"󰢘"}.mdi-weather-hurricane-outline:before{content:"󱱸"}.mdi-weather-lightning:before{content:"󰖓"}.mdi-weather-lightning-rainy:before{content:"󰙾"}.mdi-weather-night:before{content:"󰖔"}.mdi-weather-night-partly-cloudy:before{content:"󰼱"}.mdi-weather-partly-cloudy:before{content:"󰖕"}.mdi-weather-partly-lightning:before{content:"󰼲"}.mdi-weather-partly-rainy:before{content:"󰼳"}.mdi-weather-partly-snowy:before{content:"󰼴"}.mdi-weather-partly-snowy-rainy:before{content:"󰼵"}.mdi-weather-pouring:before{content:"󰖖"}.mdi-weather-rainy:before{content:"󰖗"}.mdi-weather-snowy:before{content:"󰖘"}.mdi-weather-snowy-heavy:before{content:"󰼶"}.mdi-weather-snowy-rainy:before{content:"󰙿"}.mdi-weather-sunny:before{content:"󰖙"}.mdi-weather-sunny-alert:before{content:"󰼷"}.mdi-weather-sunny-off:before{content:"󱓤"}.mdi-weather-sunset:before{content:"󰖚"}.mdi-weather-sunset-down:before{content:"󰖛"}.mdi-weather-sunset-up:before{content:"󰖜"}.mdi-weather-tornado:before{content:"󰼸"}.mdi-weather-windy:before{content:"󰖝"}.mdi-weather-windy-variant:before{content:"󰖞"}.mdi-web:before{content:"󰖟"}.mdi-web-box:before{content:"󰾔"}.mdi-web-cancel:before{content:"󱞐"}.mdi-web-check:before{content:"󰞉"}.mdi-web-clock:before{content:"󱉊"}.mdi-web-minus:before{content:"󱂠"}.mdi-web-off:before{content:"󰪎"}.mdi-web-plus:before{content:"󰀳"}.mdi-web-refresh:before{content:"󱞑"}.mdi-web-remove:before{content:"󰕑"}.mdi-web-sync:before{content:"󱞒"}.mdi-webcam:before{content:"󰖠"}.mdi-webcam-off:before{content:"󱜷"}.mdi-webhook:before{content:"󰘯"}.mdi-webpack:before{content:"󰜫"}.mdi-webrtc:before{content:"󱉈"}.mdi-wechat:before{content:"󰘑"}.mdi-weight:before{content:"󰖡"}.mdi-weight-gram:before{content:"󰴿"}.mdi-weight-kilogram:before{content:"󰖢"}.mdi-weight-lifter:before{content:"󱅝"}.mdi-weight-pound:before{content:"󰦵"}.mdi-whatsapp:before{content:"󰖣"}.mdi-wheel-barrow:before{content:"󱓲"}.mdi-wheelchair:before{content:"󱪇"}.mdi-wheelchair-accessibility:before{content:"󰖤"}.mdi-whistle:before{content:"󰦶"}.mdi-whistle-outline:before{content:"󱊼"}.mdi-white-balance-auto:before{content:"󰖥"}.mdi-white-balance-incandescent:before{content:"󰖦"}.mdi-white-balance-iridescent:before{content:"󰖧"}.mdi-white-balance-sunny:before{content:"󰖨"}.mdi-widgets:before{content:"󰜬"}.mdi-widgets-outline:before{content:"󱍕"}.mdi-wifi:before{content:"󰖩"}.mdi-wifi-alert:before{content:"󱚵"}.mdi-wifi-arrow-down:before{content:"󱚶"}.mdi-wifi-arrow-left:before{content:"󱚷"}.mdi-wifi-arrow-left-right:before{content:"󱚸"}.mdi-wifi-arrow-right:before{content:"󱚹"}.mdi-wifi-arrow-up:before{content:"󱚺"}.mdi-wifi-arrow-up-down:before{content:"󱚻"}.mdi-wifi-cancel:before{content:"󱚼"}.mdi-wifi-check:before{content:"󱚽"}.mdi-wifi-cog:before{content:"󱚾"}.mdi-wifi-lock:before{content:"󱚿"}.mdi-wifi-lock-open:before{content:"󱛀"}.mdi-wifi-marker:before{content:"󱛁"}.mdi-wifi-minus:before{content:"󱛂"}.mdi-wifi-off:before{content:"󰖪"}.mdi-wifi-plus:before{content:"󱛃"}.mdi-wifi-refresh:before{content:"󱛄"}.mdi-wifi-remove:before{content:"󱛅"}.mdi-wifi-settings:before{content:"󱛆"}.mdi-wifi-star:before{content:"󰸋"}.mdi-wifi-strength-1:before{content:"󰤟"}.mdi-wifi-strength-1-alert:before{content:"󰤠"}.mdi-wifi-strength-1-lock:before{content:"󰤡"}.mdi-wifi-strength-1-lock-open:before{content:"󱛋"}.mdi-wifi-strength-2:before{content:"󰤢"}.mdi-wifi-strength-2-alert:before{content:"󰤣"}.mdi-wifi-strength-2-lock:before{content:"󰤤"}.mdi-wifi-strength-2-lock-open:before{content:"󱛌"}.mdi-wifi-strength-3:before{content:"󰤥"}.mdi-wifi-strength-3-alert:before{content:"󰤦"}.mdi-wifi-strength-3-lock:before{content:"󰤧"}.mdi-wifi-strength-3-lock-open:before{content:"󱛍"}.mdi-wifi-strength-4:before{content:"󰤨"}.mdi-wifi-strength-4-alert:before{content:"󰤩"}.mdi-wifi-strength-4-lock:before{content:"󰤪"}.mdi-wifi-strength-4-lock-open:before{content:"󱛎"}.mdi-wifi-strength-alert-outline:before{content:"󰤫"}.mdi-wifi-strength-lock-open-outline:before{content:"󱛏"}.mdi-wifi-strength-lock-outline:before{content:"󰤬"}.mdi-wifi-strength-off:before{content:"󰤭"}.mdi-wifi-strength-off-outline:before{content:"󰤮"}.mdi-wifi-strength-outline:before{content:"󰤯"}.mdi-wifi-sync:before{content:"󱛇"}.mdi-wikipedia:before{content:"󰖬"}.mdi-wind-power:before{content:"󱪈"}.mdi-wind-power-outline:before{content:"󱪉"}.mdi-wind-turbine:before{content:"󰶥"}.mdi-wind-turbine-alert:before{content:"󱦫"}.mdi-wind-turbine-check:before{content:"󱦬"}.mdi-window-close:before{content:"󰖭"}.mdi-window-closed:before{content:"󰖮"}.mdi-window-closed-variant:before{content:"󱇛"}.mdi-window-maximize:before{content:"󰖯"}.mdi-window-minimize:before{content:"󰖰"}.mdi-window-open:before{content:"󰖱"}.mdi-window-open-variant:before{content:"󱇜"}.mdi-window-restore:before{content:"󰖲"}.mdi-window-shutter:before{content:"󱄜"}.mdi-window-shutter-alert:before{content:"󱄝"}.mdi-window-shutter-auto:before{content:"󱮣"}.mdi-window-shutter-cog:before{content:"󱪊"}.mdi-window-shutter-open:before{content:"󱄞"}.mdi-window-shutter-settings:before{content:"󱪋"}.mdi-windsock:before{content:"󱗺"}.mdi-wiper:before{content:"󰫩"}.mdi-wiper-wash:before{content:"󰶦"}.mdi-wiper-wash-alert:before{content:"󱣟"}.mdi-wizard-hat:before{content:"󱑷"}.mdi-wordpress:before{content:"󰖴"}.mdi-wrap:before{content:"󰖶"}.mdi-wrap-disabled:before{content:"󰯟"}.mdi-wrench:before{content:"󰖷"}.mdi-wrench-check:before{content:"󱮏"}.mdi-wrench-check-outline:before{content:"󱮐"}.mdi-wrench-clock:before{content:"󱦣"}.mdi-wrench-clock-outline:before{content:"󱮓"}.mdi-wrench-cog:before{content:"󱮑"}.mdi-wrench-cog-outline:before{content:"󱮒"}.mdi-wrench-outline:before{content:"󰯠"}.mdi-xamarin:before{content:"󰡅"}.mdi-xml:before{content:"󰗀"}.mdi-xmpp:before{content:"󰟿"}.mdi-yahoo:before{content:"󰭏"}.mdi-yeast:before{content:"󰗁"}.mdi-yin-yang:before{content:"󰚀"}.mdi-yoga:before{content:"󱅼"}.mdi-youtube:before{content:"󰗃"}.mdi-youtube-gaming:before{content:"󰡈"}.mdi-youtube-studio:before{content:"󰡇"}.mdi-youtube-subscription:before{content:"󰵀"}.mdi-youtube-tv:before{content:"󰑈"}.mdi-yurt:before{content:"󱔖"}.mdi-z-wave:before{content:"󰫪"}.mdi-zend:before{content:"󰫫"}.mdi-zigbee:before{content:"󰵁"}.mdi-zip-box:before{content:"󰗄"}.mdi-zip-box-outline:before{content:"󰿺"}.mdi-zip-disk:before{content:"󰨣"}.mdi-zodiac-aquarius:before{content:"󰩽"}.mdi-zodiac-aries:before{content:"󰩾"}.mdi-zodiac-cancer:before{content:"󰩿"}.mdi-zodiac-capricorn:before{content:"󰪀"}.mdi-zodiac-gemini:before{content:"󰪁"}.mdi-zodiac-leo:before{content:"󰪂"}.mdi-zodiac-libra:before{content:"󰪃"}.mdi-zodiac-pisces:before{content:"󰪄"}.mdi-zodiac-sagittarius:before{content:"󰪅"}.mdi-zodiac-scorpio:before{content:"󰪆"}.mdi-zodiac-taurus:before{content:"󰪇"}.mdi-zodiac-virgo:before{content:"󰪈"}.mdi-blank:before{content:"";visibility:hidden}.mdi-18px.mdi-set,.mdi-18px.mdi:before{font-size:18px}.mdi-24px.mdi-set,.mdi-24px.mdi:before{font-size:24px}.mdi-36px.mdi-set,.mdi-36px.mdi:before{font-size:36px}.mdi-48px.mdi-set,.mdi-48px.mdi:before{font-size:48px}.mdi-dark:before{color:#0000008a}.mdi-dark.mdi-inactive:before{color:#00000042}.mdi-light:before{color:#fff}.mdi-light.mdi-inactive:before{color:#ffffff4d}.mdi-rotate-45:before{-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.mdi-rotate-90:before{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.mdi-rotate-135:before{-webkit-transform:rotate(135deg);-ms-transform:rotate(135deg);transform:rotate(135deg)}.mdi-rotate-180:before{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.mdi-rotate-225:before{-webkit-transform:rotate(225deg);-ms-transform:rotate(225deg);transform:rotate(225deg)}.mdi-rotate-270:before{-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.mdi-rotate-315:before{-webkit-transform:rotate(315deg);-ms-transform:rotate(315deg);transform:rotate(315deg)}.mdi-flip-h:before{-webkit-transform:scaleX(-1);transform:scaleX(-1);filter:FlipH;-ms-filter:"FlipH"}.mdi-flip-v:before{-webkit-transform:scaleY(-1);transform:scaleY(-1);filter:FlipV;-ms-filter:"FlipV"}.mdi-spin:before{-webkit-animation:mdi-spin 2s infinite linear;animation:mdi-spin 2s infinite linear}@-webkit-keyframes mdi-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes mdi-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes v-shake{59%{margin-left:0}60%,80%{margin-left:2px}70%,90%{margin-left:-2px}}.bg-black{background-color:#000!important;color:#fff!important}.bg-white{background-color:#fff!important;color:#000!important}.bg-transparent{background-color:transparent!important;color:currentColor!important}.bg-red{background-color:#f44336!important;color:#fff!important}.bg-red-lighten-5{background-color:#ffebee!important;color:#000!important}.bg-red-lighten-4{background-color:#ffcdd2!important;color:#000!important}.bg-red-lighten-3{background-color:#ef9a9a!important;color:#000!important}.bg-red-lighten-2{background-color:#e57373!important;color:#fff!important}.bg-red-lighten-1{background-color:#ef5350!important;color:#fff!important}.bg-red-darken-1{background-color:#e53935!important;color:#fff!important}.bg-red-darken-2{background-color:#d32f2f!important;color:#fff!important}.bg-red-darken-3{background-color:#c62828!important;color:#fff!important}.bg-red-darken-4{background-color:#b71c1c!important;color:#fff!important}.bg-red-accent-1{background-color:#ff8a80!important;color:#000!important}.bg-red-accent-2{background-color:#ff5252!important;color:#fff!important}.bg-red-accent-3{background-color:#ff1744!important;color:#fff!important}.bg-red-accent-4{background-color:#d50000!important;color:#fff!important}.bg-pink{background-color:#e91e63!important;color:#fff!important}.bg-pink-lighten-5{background-color:#fce4ec!important;color:#000!important}.bg-pink-lighten-4{background-color:#f8bbd0!important;color:#000!important}.bg-pink-lighten-3{background-color:#f48fb1!important;color:#000!important}.bg-pink-lighten-2{background-color:#f06292!important;color:#fff!important}.bg-pink-lighten-1{background-color:#ec407a!important;color:#fff!important}.bg-pink-darken-1{background-color:#d81b60!important;color:#fff!important}.bg-pink-darken-2{background-color:#c2185b!important;color:#fff!important}.bg-pink-darken-3{background-color:#ad1457!important;color:#fff!important}.bg-pink-darken-4{background-color:#880e4f!important;color:#fff!important}.bg-pink-accent-1{background-color:#ff80ab!important;color:#fff!important}.bg-pink-accent-2{background-color:#ff4081!important;color:#fff!important}.bg-pink-accent-3{background-color:#f50057!important;color:#fff!important}.bg-pink-accent-4{background-color:#c51162!important;color:#fff!important}.bg-purple{background-color:#9c27b0!important;color:#fff!important}.bg-purple-lighten-5{background-color:#f3e5f5!important;color:#000!important}.bg-purple-lighten-4{background-color:#e1bee7!important;color:#000!important}.bg-purple-lighten-3{background-color:#ce93d8!important;color:#fff!important}.bg-purple-lighten-2{background-color:#ba68c8!important;color:#fff!important}.bg-purple-lighten-1{background-color:#ab47bc!important;color:#fff!important}.bg-purple-darken-1{background-color:#8e24aa!important;color:#fff!important}.bg-purple-darken-2{background-color:#7b1fa2!important;color:#fff!important}.bg-purple-darken-3{background-color:#6a1b9a!important;color:#fff!important}.bg-purple-darken-4{background-color:#4a148c!important;color:#fff!important}.bg-purple-accent-1{background-color:#ea80fc!important;color:#fff!important}.bg-purple-accent-2{background-color:#e040fb!important;color:#fff!important}.bg-purple-accent-3{background-color:#d500f9!important;color:#fff!important}.bg-purple-accent-4{background-color:#a0f!important;color:#fff!important}.bg-deep-purple{background-color:#673ab7!important;color:#fff!important}.bg-deep-purple-lighten-5{background-color:#ede7f6!important;color:#000!important}.bg-deep-purple-lighten-4{background-color:#d1c4e9!important;color:#000!important}.bg-deep-purple-lighten-3{background-color:#b39ddb!important;color:#fff!important}.bg-deep-purple-lighten-2{background-color:#9575cd!important;color:#fff!important}.bg-deep-purple-lighten-1{background-color:#7e57c2!important;color:#fff!important}.bg-deep-purple-darken-1{background-color:#5e35b1!important;color:#fff!important}.bg-deep-purple-darken-2{background-color:#512da8!important;color:#fff!important}.bg-deep-purple-darken-3{background-color:#4527a0!important;color:#fff!important}.bg-deep-purple-darken-4{background-color:#311b92!important;color:#fff!important}.bg-deep-purple-accent-1{background-color:#b388ff!important;color:#fff!important}.bg-deep-purple-accent-2{background-color:#7c4dff!important;color:#fff!important}.bg-deep-purple-accent-3{background-color:#651fff!important;color:#fff!important}.bg-deep-purple-accent-4{background-color:#6200ea!important;color:#fff!important}.bg-indigo{background-color:#3f51b5!important;color:#fff!important}.bg-indigo-lighten-5{background-color:#e8eaf6!important;color:#000!important}.bg-indigo-lighten-4{background-color:#c5cae9!important;color:#000!important}.bg-indigo-lighten-3{background-color:#9fa8da!important;color:#fff!important}.bg-indigo-lighten-2{background-color:#7986cb!important;color:#fff!important}.bg-indigo-lighten-1{background-color:#5c6bc0!important;color:#fff!important}.bg-indigo-darken-1{background-color:#3949ab!important;color:#fff!important}.bg-indigo-darken-2{background-color:#303f9f!important;color:#fff!important}.bg-indigo-darken-3{background-color:#283593!important;color:#fff!important}.bg-indigo-darken-4{background-color:#1a237e!important;color:#fff!important}.bg-indigo-accent-1{background-color:#8c9eff!important;color:#fff!important}.bg-indigo-accent-2{background-color:#536dfe!important;color:#fff!important}.bg-indigo-accent-3{background-color:#3d5afe!important;color:#fff!important}.bg-indigo-accent-4{background-color:#304ffe!important;color:#fff!important}.bg-blue{background-color:#2196f3!important;color:#fff!important}.bg-blue-lighten-5{background-color:#e3f2fd!important;color:#000!important}.bg-blue-lighten-4{background-color:#bbdefb!important;color:#000!important}.bg-blue-lighten-3{background-color:#90caf9!important;color:#000!important}.bg-blue-lighten-2{background-color:#64b5f6!important;color:#000!important}.bg-blue-lighten-1{background-color:#42a5f5!important;color:#fff!important}.bg-blue-darken-1{background-color:#1e88e5!important;color:#fff!important}.bg-blue-darken-2{background-color:#1976d2!important;color:#fff!important}.bg-blue-darken-3{background-color:#1565c0!important;color:#fff!important}.bg-blue-darken-4{background-color:#0d47a1!important;color:#fff!important}.bg-blue-accent-1{background-color:#82b1ff!important;color:#000!important}.bg-blue-accent-2{background-color:#448aff!important;color:#fff!important}.bg-blue-accent-3{background-color:#2979ff!important;color:#fff!important}.bg-blue-accent-4{background-color:#2962ff!important;color:#fff!important}.bg-light-blue{background-color:#03a9f4!important;color:#fff!important}.bg-light-blue-lighten-5{background-color:#e1f5fe!important;color:#000!important}.bg-light-blue-lighten-4{background-color:#b3e5fc!important;color:#000!important}.bg-light-blue-lighten-3{background-color:#81d4fa!important;color:#000!important}.bg-light-blue-lighten-2{background-color:#4fc3f7!important;color:#000!important}.bg-light-blue-lighten-1{background-color:#29b6f6!important;color:#000!important}.bg-light-blue-darken-1{background-color:#039be5!important;color:#fff!important}.bg-light-blue-darken-2{background-color:#0288d1!important;color:#fff!important}.bg-light-blue-darken-3{background-color:#0277bd!important;color:#fff!important}.bg-light-blue-darken-4{background-color:#01579b!important;color:#fff!important}.bg-light-blue-accent-1{background-color:#80d8ff!important;color:#000!important}.bg-light-blue-accent-2{background-color:#40c4ff!important;color:#000!important}.bg-light-blue-accent-3{background-color:#00b0ff!important;color:#fff!important}.bg-light-blue-accent-4{background-color:#0091ea!important;color:#fff!important}.bg-cyan{background-color:#00bcd4!important;color:#000!important}.bg-cyan-lighten-5{background-color:#e0f7fa!important;color:#000!important}.bg-cyan-lighten-4{background-color:#b2ebf2!important;color:#000!important}.bg-cyan-lighten-3{background-color:#80deea!important;color:#000!important}.bg-cyan-lighten-2{background-color:#4dd0e1!important;color:#000!important}.bg-cyan-lighten-1{background-color:#26c6da!important;color:#000!important}.bg-cyan-darken-1{background-color:#00acc1!important;color:#fff!important}.bg-cyan-darken-2{background-color:#0097a7!important;color:#fff!important}.bg-cyan-darken-3{background-color:#00838f!important;color:#fff!important}.bg-cyan-darken-4{background-color:#006064!important;color:#fff!important}.bg-cyan-accent-1{background-color:#84ffff!important;color:#000!important}.bg-cyan-accent-2{background-color:#18ffff!important;color:#000!important}.bg-cyan-accent-3{background-color:#00e5ff!important;color:#000!important}.bg-cyan-accent-4{background-color:#00b8d4!important;color:#fff!important}.bg-teal{background-color:#009688!important;color:#fff!important}.bg-teal-lighten-5{background-color:#e0f2f1!important;color:#000!important}.bg-teal-lighten-4{background-color:#b2dfdb!important;color:#000!important}.bg-teal-lighten-3{background-color:#80cbc4!important;color:#000!important}.bg-teal-lighten-2{background-color:#4db6ac!important;color:#fff!important}.bg-teal-lighten-1{background-color:#26a69a!important;color:#fff!important}.bg-teal-darken-1{background-color:#00897b!important;color:#fff!important}.bg-teal-darken-2{background-color:#00796b!important;color:#fff!important}.bg-teal-darken-3{background-color:#00695c!important;color:#fff!important}.bg-teal-darken-4{background-color:#004d40!important;color:#fff!important}.bg-teal-accent-1{background-color:#a7ffeb!important;color:#000!important}.bg-teal-accent-2{background-color:#64ffda!important;color:#000!important}.bg-teal-accent-3{background-color:#1de9b6!important;color:#000!important}.bg-teal-accent-4{background-color:#00bfa5!important;color:#fff!important}.bg-green{background-color:#4caf50!important;color:#fff!important}.bg-green-lighten-5{background-color:#e8f5e9!important;color:#000!important}.bg-green-lighten-4{background-color:#c8e6c9!important;color:#000!important}.bg-green-lighten-3{background-color:#a5d6a7!important;color:#000!important}.bg-green-lighten-2{background-color:#81c784!important;color:#000!important}.bg-green-lighten-1{background-color:#66bb6a!important;color:#fff!important}.bg-green-darken-1{background-color:#43a047!important;color:#fff!important}.bg-green-darken-2{background-color:#388e3c!important;color:#fff!important}.bg-green-darken-3{background-color:#2e7d32!important;color:#fff!important}.bg-green-darken-4{background-color:#1b5e20!important;color:#fff!important}.bg-green-accent-1{background-color:#b9f6ca!important;color:#000!important}.bg-green-accent-2{background-color:#69f0ae!important;color:#000!important}.bg-green-accent-3{background-color:#00e676!important;color:#000!important}.bg-green-accent-4{background-color:#00c853!important;color:#000!important}.bg-light-green{background-color:#8bc34a!important;color:#000!important}.bg-light-green-lighten-5{background-color:#f1f8e9!important;color:#000!important}.bg-light-green-lighten-4{background-color:#dcedc8!important;color:#000!important}.bg-light-green-lighten-3{background-color:#c5e1a5!important;color:#000!important}.bg-light-green-lighten-2{background-color:#aed581!important;color:#000!important}.bg-light-green-lighten-1{background-color:#9ccc65!important;color:#000!important}.bg-light-green-darken-1{background-color:#7cb342!important;color:#fff!important}.bg-light-green-darken-2{background-color:#689f38!important;color:#fff!important}.bg-light-green-darken-3{background-color:#558b2f!important;color:#fff!important}.bg-light-green-darken-4{background-color:#33691e!important;color:#fff!important}.bg-light-green-accent-1{background-color:#ccff90!important;color:#000!important}.bg-light-green-accent-2{background-color:#b2ff59!important;color:#000!important}.bg-light-green-accent-3{background-color:#76ff03!important;color:#000!important}.bg-light-green-accent-4{background-color:#64dd17!important;color:#000!important}.bg-lime{background-color:#cddc39!important;color:#000!important}.bg-lime-lighten-5{background-color:#f9fbe7!important;color:#000!important}.bg-lime-lighten-4{background-color:#f0f4c3!important;color:#000!important}.bg-lime-lighten-3{background-color:#e6ee9c!important;color:#000!important}.bg-lime-lighten-2{background-color:#dce775!important;color:#000!important}.bg-lime-lighten-1{background-color:#d4e157!important;color:#000!important}.bg-lime-darken-1{background-color:#c0ca33!important;color:#000!important}.bg-lime-darken-2{background-color:#afb42b!important;color:#000!important}.bg-lime-darken-3{background-color:#9e9d24!important;color:#fff!important}.bg-lime-darken-4{background-color:#827717!important;color:#fff!important}.bg-lime-accent-1{background-color:#f4ff81!important;color:#000!important}.bg-lime-accent-2{background-color:#eeff41!important;color:#000!important}.bg-lime-accent-3{background-color:#c6ff00!important;color:#000!important}.bg-lime-accent-4{background-color:#aeea00!important;color:#000!important}.bg-yellow{background-color:#ffeb3b!important;color:#000!important}.bg-yellow-lighten-5{background-color:#fffde7!important;color:#000!important}.bg-yellow-lighten-4{background-color:#fff9c4!important;color:#000!important}.bg-yellow-lighten-3{background-color:#fff59d!important;color:#000!important}.bg-yellow-lighten-2{background-color:#fff176!important;color:#000!important}.bg-yellow-lighten-1{background-color:#ffee58!important;color:#000!important}.bg-yellow-darken-1{background-color:#fdd835!important;color:#000!important}.bg-yellow-darken-2{background-color:#fbc02d!important;color:#000!important}.bg-yellow-darken-3{background-color:#f9a825!important;color:#000!important}.bg-yellow-darken-4{background-color:#f57f17!important;color:#fff!important}.bg-yellow-accent-1{background-color:#ffff8d!important;color:#000!important}.bg-yellow-accent-2{background-color:#ff0!important;color:#000!important}.bg-yellow-accent-3{background-color:#ffea00!important;color:#000!important}.bg-yellow-accent-4{background-color:#ffd600!important;color:#000!important}.bg-amber{background-color:#ffc107!important;color:#000!important}.bg-amber-lighten-5{background-color:#fff8e1!important;color:#000!important}.bg-amber-lighten-4{background-color:#ffecb3!important;color:#000!important}.bg-amber-lighten-3{background-color:#ffe082!important;color:#000!important}.bg-amber-lighten-2{background-color:#ffd54f!important;color:#000!important}.bg-amber-lighten-1{background-color:#ffca28!important;color:#000!important}.bg-amber-darken-1{background-color:#ffb300!important;color:#000!important}.bg-amber-darken-2{background-color:#ffa000!important;color:#000!important}.bg-amber-darken-3{background-color:#ff8f00!important;color:#000!important}.bg-amber-darken-4{background-color:#ff6f00!important;color:#fff!important}.bg-amber-accent-1{background-color:#ffe57f!important;color:#000!important}.bg-amber-accent-2{background-color:#ffd740!important;color:#000!important}.bg-amber-accent-3{background-color:#ffc400!important;color:#000!important}.bg-amber-accent-4{background-color:#ffab00!important;color:#000!important}.bg-orange{background-color:#ff9800!important;color:#000!important}.bg-orange-lighten-5{background-color:#fff3e0!important;color:#000!important}.bg-orange-lighten-4{background-color:#ffe0b2!important;color:#000!important}.bg-orange-lighten-3{background-color:#ffcc80!important;color:#000!important}.bg-orange-lighten-2{background-color:#ffb74d!important;color:#000!important}.bg-orange-lighten-1{background-color:#ffa726!important;color:#000!important}.bg-orange-darken-1{background-color:#fb8c00!important;color:#fff!important}.bg-orange-darken-2{background-color:#f57c00!important;color:#fff!important}.bg-orange-darken-3{background-color:#ef6c00!important;color:#fff!important}.bg-orange-darken-4{background-color:#e65100!important;color:#fff!important}.bg-orange-accent-1{background-color:#ffd180!important;color:#000!important}.bg-orange-accent-2{background-color:#ffab40!important;color:#000!important}.bg-orange-accent-3{background-color:#ff9100!important;color:#000!important}.bg-orange-accent-4{background-color:#ff6d00!important;color:#fff!important}.bg-deep-orange{background-color:#ff5722!important;color:#fff!important}.bg-deep-orange-lighten-5{background-color:#fbe9e7!important;color:#000!important}.bg-deep-orange-lighten-4{background-color:#ffccbc!important;color:#000!important}.bg-deep-orange-lighten-3{background-color:#ffab91!important;color:#000!important}.bg-deep-orange-lighten-2{background-color:#ff8a65!important;color:#000!important}.bg-deep-orange-lighten-1{background-color:#ff7043!important;color:#fff!important}.bg-deep-orange-darken-1{background-color:#f4511e!important;color:#fff!important}.bg-deep-orange-darken-2{background-color:#e64a19!important;color:#fff!important}.bg-deep-orange-darken-3{background-color:#d84315!important;color:#fff!important}.bg-deep-orange-darken-4{background-color:#bf360c!important;color:#fff!important}.bg-deep-orange-accent-1{background-color:#ff9e80!important;color:#000!important}.bg-deep-orange-accent-2{background-color:#ff6e40!important;color:#fff!important}.bg-deep-orange-accent-3{background-color:#ff3d00!important;color:#fff!important}.bg-deep-orange-accent-4{background-color:#dd2c00!important;color:#fff!important}.bg-brown{background-color:#795548!important;color:#fff!important}.bg-brown-lighten-5{background-color:#efebe9!important;color:#000!important}.bg-brown-lighten-4{background-color:#d7ccc8!important;color:#000!important}.bg-brown-lighten-3{background-color:#bcaaa4!important;color:#000!important}.bg-brown-lighten-2{background-color:#a1887f!important;color:#fff!important}.bg-brown-lighten-1{background-color:#8d6e63!important;color:#fff!important}.bg-brown-darken-1{background-color:#6d4c41!important;color:#fff!important}.bg-brown-darken-2{background-color:#5d4037!important;color:#fff!important}.bg-brown-darken-3{background-color:#4e342e!important;color:#fff!important}.bg-brown-darken-4{background-color:#3e2723!important;color:#fff!important}.bg-blue-grey{background-color:#607d8b!important;color:#fff!important}.bg-blue-grey-lighten-5{background-color:#eceff1!important;color:#000!important}.bg-blue-grey-lighten-4{background-color:#cfd8dc!important;color:#000!important}.bg-blue-grey-lighten-3{background-color:#b0bec5!important;color:#000!important}.bg-blue-grey-lighten-2{background-color:#90a4ae!important;color:#fff!important}.bg-blue-grey-lighten-1{background-color:#78909c!important;color:#fff!important}.bg-blue-grey-darken-1{background-color:#546e7a!important;color:#fff!important}.bg-blue-grey-darken-2{background-color:#455a64!important;color:#fff!important}.bg-blue-grey-darken-3{background-color:#37474f!important;color:#fff!important}.bg-blue-grey-darken-4{background-color:#263238!important;color:#fff!important}.bg-grey{background-color:#9e9e9e!important;color:#fff!important}.bg-grey-lighten-5{background-color:#fafafa!important;color:#000!important}.bg-grey-lighten-4{background-color:#f5f5f5!important;color:#000!important}.bg-grey-lighten-3{background-color:#eee!important;color:#000!important}.bg-grey-lighten-2{background-color:#e0e0e0!important;color:#000!important}.bg-grey-lighten-1{background-color:#bdbdbd!important;color:#000!important}.bg-grey-darken-1{background-color:#757575!important;color:#fff!important}.bg-grey-darken-2{background-color:#616161!important;color:#fff!important}.bg-grey-darken-3{background-color:#424242!important;color:#fff!important}.bg-grey-darken-4{background-color:#212121!important;color:#fff!important}.bg-shades-black{background-color:#000!important;color:#fff!important}.bg-shades-white{background-color:#fff!important;color:#000!important}.bg-shades-transparent{background-color:transparent!important;color:currentColor!important}.text-black{color:#000!important}.text-white{color:#fff!important}.text-transparent{color:transparent!important}.text-red{color:#f44336!important}.text-red-lighten-5{color:#ffebee!important}.text-red-lighten-4{color:#ffcdd2!important}.text-red-lighten-3{color:#ef9a9a!important}.text-red-lighten-2{color:#e57373!important}.text-red-lighten-1{color:#ef5350!important}.text-red-darken-1{color:#e53935!important}.text-red-darken-2{color:#d32f2f!important}.text-red-darken-3{color:#c62828!important}.text-red-darken-4{color:#b71c1c!important}.text-red-accent-1{color:#ff8a80!important}.text-red-accent-2{color:#ff5252!important}.text-red-accent-3{color:#ff1744!important}.text-red-accent-4{color:#d50000!important}.text-pink{color:#e91e63!important}.text-pink-lighten-5{color:#fce4ec!important}.text-pink-lighten-4{color:#f8bbd0!important}.text-pink-lighten-3{color:#f48fb1!important}.text-pink-lighten-2{color:#f06292!important}.text-pink-lighten-1{color:#ec407a!important}.text-pink-darken-1{color:#d81b60!important}.text-pink-darken-2{color:#c2185b!important}.text-pink-darken-3{color:#ad1457!important}.text-pink-darken-4{color:#880e4f!important}.text-pink-accent-1{color:#ff80ab!important}.text-pink-accent-2{color:#ff4081!important}.text-pink-accent-3{color:#f50057!important}.text-pink-accent-4{color:#c51162!important}.text-purple{color:#9c27b0!important}.text-purple-lighten-5{color:#f3e5f5!important}.text-purple-lighten-4{color:#e1bee7!important}.text-purple-lighten-3{color:#ce93d8!important}.text-purple-lighten-2{color:#ba68c8!important}.text-purple-lighten-1{color:#ab47bc!important}.text-purple-darken-1{color:#8e24aa!important}.text-purple-darken-2{color:#7b1fa2!important}.text-purple-darken-3{color:#6a1b9a!important}.text-purple-darken-4{color:#4a148c!important}.text-purple-accent-1{color:#ea80fc!important}.text-purple-accent-2{color:#e040fb!important}.text-purple-accent-3{color:#d500f9!important}.text-purple-accent-4{color:#a0f!important}.text-deep-purple{color:#673ab7!important}.text-deep-purple-lighten-5{color:#ede7f6!important}.text-deep-purple-lighten-4{color:#d1c4e9!important}.text-deep-purple-lighten-3{color:#b39ddb!important}.text-deep-purple-lighten-2{color:#9575cd!important}.text-deep-purple-lighten-1{color:#7e57c2!important}.text-deep-purple-darken-1{color:#5e35b1!important}.text-deep-purple-darken-2{color:#512da8!important}.text-deep-purple-darken-3{color:#4527a0!important}.text-deep-purple-darken-4{color:#311b92!important}.text-deep-purple-accent-1{color:#b388ff!important}.text-deep-purple-accent-2{color:#7c4dff!important}.text-deep-purple-accent-3{color:#651fff!important}.text-deep-purple-accent-4{color:#6200ea!important}.text-indigo{color:#3f51b5!important}.text-indigo-lighten-5{color:#e8eaf6!important}.text-indigo-lighten-4{color:#c5cae9!important}.text-indigo-lighten-3{color:#9fa8da!important}.text-indigo-lighten-2{color:#7986cb!important}.text-indigo-lighten-1{color:#5c6bc0!important}.text-indigo-darken-1{color:#3949ab!important}.text-indigo-darken-2{color:#303f9f!important}.text-indigo-darken-3{color:#283593!important}.text-indigo-darken-4{color:#1a237e!important}.text-indigo-accent-1{color:#8c9eff!important}.text-indigo-accent-2{color:#536dfe!important}.text-indigo-accent-3{color:#3d5afe!important}.text-indigo-accent-4{color:#304ffe!important}.text-blue{color:#2196f3!important}.text-blue-lighten-5{color:#e3f2fd!important}.text-blue-lighten-4{color:#bbdefb!important}.text-blue-lighten-3{color:#90caf9!important}.text-blue-lighten-2{color:#64b5f6!important}.text-blue-lighten-1{color:#42a5f5!important}.text-blue-darken-1{color:#1e88e5!important}.text-blue-darken-2{color:#1976d2!important}.text-blue-darken-3{color:#1565c0!important}.text-blue-darken-4{color:#0d47a1!important}.text-blue-accent-1{color:#82b1ff!important}.text-blue-accent-2{color:#448aff!important}.text-blue-accent-3{color:#2979ff!important}.text-blue-accent-4{color:#2962ff!important}.text-light-blue{color:#03a9f4!important}.text-light-blue-lighten-5{color:#e1f5fe!important}.text-light-blue-lighten-4{color:#b3e5fc!important}.text-light-blue-lighten-3{color:#81d4fa!important}.text-light-blue-lighten-2{color:#4fc3f7!important}.text-light-blue-lighten-1{color:#29b6f6!important}.text-light-blue-darken-1{color:#039be5!important}.text-light-blue-darken-2{color:#0288d1!important}.text-light-blue-darken-3{color:#0277bd!important}.text-light-blue-darken-4{color:#01579b!important}.text-light-blue-accent-1{color:#80d8ff!important}.text-light-blue-accent-2{color:#40c4ff!important}.text-light-blue-accent-3{color:#00b0ff!important}.text-light-blue-accent-4{color:#0091ea!important}.text-cyan{color:#00bcd4!important}.text-cyan-lighten-5{color:#e0f7fa!important}.text-cyan-lighten-4{color:#b2ebf2!important}.text-cyan-lighten-3{color:#80deea!important}.text-cyan-lighten-2{color:#4dd0e1!important}.text-cyan-lighten-1{color:#26c6da!important}.text-cyan-darken-1{color:#00acc1!important}.text-cyan-darken-2{color:#0097a7!important}.text-cyan-darken-3{color:#00838f!important}.text-cyan-darken-4{color:#006064!important}.text-cyan-accent-1{color:#84ffff!important}.text-cyan-accent-2{color:#18ffff!important}.text-cyan-accent-3{color:#00e5ff!important}.text-cyan-accent-4{color:#00b8d4!important}.text-teal{color:#009688!important}.text-teal-lighten-5{color:#e0f2f1!important}.text-teal-lighten-4{color:#b2dfdb!important}.text-teal-lighten-3{color:#80cbc4!important}.text-teal-lighten-2{color:#4db6ac!important}.text-teal-lighten-1{color:#26a69a!important}.text-teal-darken-1{color:#00897b!important}.text-teal-darken-2{color:#00796b!important}.text-teal-darken-3{color:#00695c!important}.text-teal-darken-4{color:#004d40!important}.text-teal-accent-1{color:#a7ffeb!important}.text-teal-accent-2{color:#64ffda!important}.text-teal-accent-3{color:#1de9b6!important}.text-teal-accent-4{color:#00bfa5!important}.text-green{color:#4caf50!important}.text-green-lighten-5{color:#e8f5e9!important}.text-green-lighten-4{color:#c8e6c9!important}.text-green-lighten-3{color:#a5d6a7!important}.text-green-lighten-2{color:#81c784!important}.text-green-lighten-1{color:#66bb6a!important}.text-green-darken-1{color:#43a047!important}.text-green-darken-2{color:#388e3c!important}.text-green-darken-3{color:#2e7d32!important}.text-green-darken-4{color:#1b5e20!important}.text-green-accent-1{color:#b9f6ca!important}.text-green-accent-2{color:#69f0ae!important}.text-green-accent-3{color:#00e676!important}.text-green-accent-4{color:#00c853!important}.text-light-green{color:#8bc34a!important}.text-light-green-lighten-5{color:#f1f8e9!important}.text-light-green-lighten-4{color:#dcedc8!important}.text-light-green-lighten-3{color:#c5e1a5!important}.text-light-green-lighten-2{color:#aed581!important}.text-light-green-lighten-1{color:#9ccc65!important}.text-light-green-darken-1{color:#7cb342!important}.text-light-green-darken-2{color:#689f38!important}.text-light-green-darken-3{color:#558b2f!important}.text-light-green-darken-4{color:#33691e!important}.text-light-green-accent-1{color:#ccff90!important}.text-light-green-accent-2{color:#b2ff59!important}.text-light-green-accent-3{color:#76ff03!important}.text-light-green-accent-4{color:#64dd17!important}.text-lime{color:#cddc39!important}.text-lime-lighten-5{color:#f9fbe7!important}.text-lime-lighten-4{color:#f0f4c3!important}.text-lime-lighten-3{color:#e6ee9c!important}.text-lime-lighten-2{color:#dce775!important}.text-lime-lighten-1{color:#d4e157!important}.text-lime-darken-1{color:#c0ca33!important}.text-lime-darken-2{color:#afb42b!important}.text-lime-darken-3{color:#9e9d24!important}.text-lime-darken-4{color:#827717!important}.text-lime-accent-1{color:#f4ff81!important}.text-lime-accent-2{color:#eeff41!important}.text-lime-accent-3{color:#c6ff00!important}.text-lime-accent-4{color:#aeea00!important}.text-yellow{color:#ffeb3b!important}.text-yellow-lighten-5{color:#fffde7!important}.text-yellow-lighten-4{color:#fff9c4!important}.text-yellow-lighten-3{color:#fff59d!important}.text-yellow-lighten-2{color:#fff176!important}.text-yellow-lighten-1{color:#ffee58!important}.text-yellow-darken-1{color:#fdd835!important}.text-yellow-darken-2{color:#fbc02d!important}.text-yellow-darken-3{color:#f9a825!important}.text-yellow-darken-4{color:#f57f17!important}.text-yellow-accent-1{color:#ffff8d!important}.text-yellow-accent-2{color:#ff0!important}.text-yellow-accent-3{color:#ffea00!important}.text-yellow-accent-4{color:#ffd600!important}.text-amber{color:#ffc107!important}.text-amber-lighten-5{color:#fff8e1!important}.text-amber-lighten-4{color:#ffecb3!important}.text-amber-lighten-3{color:#ffe082!important}.text-amber-lighten-2{color:#ffd54f!important}.text-amber-lighten-1{color:#ffca28!important}.text-amber-darken-1{color:#ffb300!important}.text-amber-darken-2{color:#ffa000!important}.text-amber-darken-3{color:#ff8f00!important}.text-amber-darken-4{color:#ff6f00!important}.text-amber-accent-1{color:#ffe57f!important}.text-amber-accent-2{color:#ffd740!important}.text-amber-accent-3{color:#ffc400!important}.text-amber-accent-4{color:#ffab00!important}.text-orange{color:#ff9800!important}.text-orange-lighten-5{color:#fff3e0!important}.text-orange-lighten-4{color:#ffe0b2!important}.text-orange-lighten-3{color:#ffcc80!important}.text-orange-lighten-2{color:#ffb74d!important}.text-orange-lighten-1{color:#ffa726!important}.text-orange-darken-1{color:#fb8c00!important}.text-orange-darken-2{color:#f57c00!important}.text-orange-darken-3{color:#ef6c00!important}.text-orange-darken-4{color:#e65100!important}.text-orange-accent-1{color:#ffd180!important}.text-orange-accent-2{color:#ffab40!important}.text-orange-accent-3{color:#ff9100!important}.text-orange-accent-4{color:#ff6d00!important}.text-deep-orange{color:#ff5722!important}.text-deep-orange-lighten-5{color:#fbe9e7!important}.text-deep-orange-lighten-4{color:#ffccbc!important}.text-deep-orange-lighten-3{color:#ffab91!important}.text-deep-orange-lighten-2{color:#ff8a65!important}.text-deep-orange-lighten-1{color:#ff7043!important}.text-deep-orange-darken-1{color:#f4511e!important}.text-deep-orange-darken-2{color:#e64a19!important}.text-deep-orange-darken-3{color:#d84315!important}.text-deep-orange-darken-4{color:#bf360c!important}.text-deep-orange-accent-1{color:#ff9e80!important}.text-deep-orange-accent-2{color:#ff6e40!important}.text-deep-orange-accent-3{color:#ff3d00!important}.text-deep-orange-accent-4{color:#dd2c00!important}.text-brown{color:#795548!important}.text-brown-lighten-5{color:#efebe9!important}.text-brown-lighten-4{color:#d7ccc8!important}.text-brown-lighten-3{color:#bcaaa4!important}.text-brown-lighten-2{color:#a1887f!important}.text-brown-lighten-1{color:#8d6e63!important}.text-brown-darken-1{color:#6d4c41!important}.text-brown-darken-2{color:#5d4037!important}.text-brown-darken-3{color:#4e342e!important}.text-brown-darken-4{color:#3e2723!important}.text-blue-grey{color:#607d8b!important}.text-blue-grey-lighten-5{color:#eceff1!important}.text-blue-grey-lighten-4{color:#cfd8dc!important}.text-blue-grey-lighten-3{color:#b0bec5!important}.text-blue-grey-lighten-2{color:#90a4ae!important}.text-blue-grey-lighten-1{color:#78909c!important}.text-blue-grey-darken-1{color:#546e7a!important}.text-blue-grey-darken-2{color:#455a64!important}.text-blue-grey-darken-3{color:#37474f!important}.text-blue-grey-darken-4{color:#263238!important}.text-grey{color:#9e9e9e!important}.text-grey-lighten-5{color:#fafafa!important}.text-grey-lighten-4{color:#f5f5f5!important}.text-grey-lighten-3{color:#eee!important}.text-grey-lighten-2{color:#e0e0e0!important}.text-grey-lighten-1{color:#bdbdbd!important}.text-grey-darken-1{color:#757575!important}.text-grey-darken-2{color:#616161!important}.text-grey-darken-3{color:#424242!important}.text-grey-darken-4{color:#212121!important}.text-shades-black{color:#000!important}.text-shades-white{color:#fff!important}.text-shades-transparent{color:transparent!important}/*! ->>>>>>>> develop:js-component/dist/assets/index-36755211.css - * ress.css • v2.0.4 - * MIT License - * github.com/filipelinhares/ress - */html{box-sizing:border-box;overflow-y:scroll;-webkit-text-size-adjust:100%;word-break:normal;-moz-tab-size:4;tab-size:4}*,:before,:after{background-repeat:no-repeat;box-sizing:inherit}:before,:after{text-decoration:inherit;vertical-align:inherit}*{padding:0;margin:0}hr{overflow:visible;height:0}details,main{display:block}summary{display:list-item}small{font-size:80%}[hidden]{display:none}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}a{background-color:transparent}a:active,a:hover{outline-width:0}code,kbd,pre,samp{font-family:monospace,monospace}pre{font-size:1em}b,strong{font-weight:bolder}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}input{border-radius:0}[disabled]{cursor:default}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}textarea{overflow:auto;resize:vertical}button,input,optgroup,select,textarea{font:inherit}optgroup{font-weight:700}button{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit],[role=button]{cursor:pointer;color:inherit}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{outline:1px dotted ButtonText}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button,input,select,textarea{background-color:transparent;border-style:none}select{-moz-appearance:none;-webkit-appearance:none}select::-ms-expand{display:none}select::-ms-value{color:currentColor}legend{border:0;color:inherit;display:table;white-space:normal;max-width:100%}::-webkit-file-upload-button{-webkit-appearance:button;color:inherit;font:inherit}::-ms-clear,::-ms-reveal{display:none}img{border-style:none}progress{vertical-align:baseline}@media screen{[hidden~=screen]{display:inherit}[hidden~=screen]:not(:active):not(:focus):not(:target){position:absolute!important;clip:rect(0 0 0 0)!important}}[aria-busy=true]{cursor:progress}[aria-controls]{cursor:pointer}[aria-disabled=true]{cursor:default}.dialog-transition-enter-active,.dialog-bottom-transition-enter-active,.dialog-top-transition-enter-active{transition-duration:225ms!important;transition-timing-function:cubic-bezier(0,0,.2,1)!important}.dialog-transition-leave-active,.dialog-bottom-transition-leave-active,.dialog-top-transition-leave-active{transition-duration:125ms!important;transition-timing-function:cubic-bezier(.4,0,1,1)!important}.dialog-transition-enter-active,.dialog-transition-leave-active,.dialog-bottom-transition-enter-active,.dialog-bottom-transition-leave-active,.dialog-top-transition-enter-active,.dialog-top-transition-leave-active{transition-property:transform,opacity!important;pointer-events:none}.dialog-transition-enter-from,.dialog-transition-leave-to{transform:scale(.9);opacity:0}.dialog-transition-enter-to,.dialog-transition-leave-from{opacity:1}.dialog-bottom-transition-enter-from,.dialog-bottom-transition-leave-to{transform:translateY(calc(50vh + 50%))}.dialog-top-transition-enter-from,.dialog-top-transition-leave-to{transform:translateY(calc(-50vh - 50%))}.picker-transition-enter-active,.picker-reverse-transition-enter-active,.picker-transition-leave-active,.picker-reverse-transition-leave-active{transition-duration:.3s!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.picker-transition-move,.picker-reverse-transition-move{transition-duration:.5s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.picker-transition-enter-from,.picker-transition-leave-to,.picker-reverse-transition-enter-from,.picker-reverse-transition-leave-to{opacity:0}.picker-transition-leave-from,.picker-transition-leave-active,.picker-transition-leave-to,.picker-reverse-transition-leave-from,.picker-reverse-transition-leave-active,.picker-reverse-transition-leave-to{position:absolute!important}.picker-transition-enter-active,.picker-transition-leave-active,.picker-reverse-transition-enter-active,.picker-reverse-transition-leave-active{transition-property:transform,opacity!important}.picker-transition-enter-active,.picker-transition-leave-active{transition-duration:.3s!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.picker-transition-move{transition-duration:.5s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.picker-transition-enter-from{transform:translateY(100%)}.picker-transition-leave-to{transform:translateY(-100%)}.picker-reverse-transition-enter-active,.picker-reverse-transition-leave-active{transition-duration:.3s!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.picker-reverse-transition-move{transition-duration:.5s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.picker-reverse-transition-enter-from{transform:translateY(-100%)}.picker-reverse-transition-leave-to{transform:translateY(100%)}.expand-transition-enter-active,.expand-transition-leave-active{transition-duration:.3s!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.expand-transition-move{transition-duration:.5s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.expand-transition-enter-active,.expand-transition-leave-active{transition-property:height!important}.expand-x-transition-enter-active,.expand-x-transition-leave-active{transition-duration:.3s!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.expand-x-transition-move{transition-duration:.5s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.expand-x-transition-enter-active,.expand-x-transition-leave-active{transition-property:width!important}.scale-transition-enter-active,.scale-transition-leave-active{transition-duration:.3s!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.scale-transition-move{transition-duration:.5s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.scale-transition-leave-to{opacity:0}.scale-transition-leave-active{transition-duration:.1s!important}.scale-transition-enter-from{opacity:0;transform:scale(0)}.scale-transition-enter-active,.scale-transition-leave-active{transition-property:transform,opacity!important}.scale-rotate-transition-enter-active,.scale-rotate-transition-leave-active{transition-duration:.3s!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.scale-rotate-transition-move{transition-duration:.5s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.scale-rotate-transition-leave-to{opacity:0}.scale-rotate-transition-leave-active{transition-duration:.1s!important}.scale-rotate-transition-enter-from{opacity:0;transform:scale(0) rotate(-45deg)}.scale-rotate-transition-enter-active,.scale-rotate-transition-leave-active{transition-property:transform,opacity!important}.scale-rotate-reverse-transition-enter-active,.scale-rotate-reverse-transition-leave-active{transition-duration:.3s!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.scale-rotate-reverse-transition-move{transition-duration:.5s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.scale-rotate-reverse-transition-leave-to{opacity:0}.scale-rotate-reverse-transition-leave-active{transition-duration:.1s!important}.scale-rotate-reverse-transition-enter-from{opacity:0;transform:scale(0) rotate(45deg)}.scale-rotate-reverse-transition-enter-active,.scale-rotate-reverse-transition-leave-active{transition-property:transform,opacity!important}.message-transition-enter-active,.message-transition-leave-active{transition-duration:.3s!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.message-transition-move{transition-duration:.5s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.message-transition-enter-from,.message-transition-leave-to{opacity:0;transform:translateY(-15px)}.message-transition-leave-from,.message-transition-leave-active{position:absolute}.message-transition-enter-active,.message-transition-leave-active{transition-property:transform,opacity!important}.slide-y-transition-enter-active,.slide-y-transition-leave-active{transition-duration:.3s!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.slide-y-transition-move{transition-duration:.5s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.slide-y-transition-enter-from,.slide-y-transition-leave-to{opacity:0;transform:translateY(-15px)}.slide-y-transition-enter-active,.slide-y-transition-leave-active{transition-property:transform,opacity!important}.slide-y-reverse-transition-enter-active,.slide-y-reverse-transition-leave-active{transition-duration:.3s!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.slide-y-reverse-transition-move{transition-duration:.5s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.slide-y-reverse-transition-enter-from,.slide-y-reverse-transition-leave-to{opacity:0;transform:translateY(15px)}.slide-y-reverse-transition-enter-active,.slide-y-reverse-transition-leave-active{transition-property:transform,opacity!important}.scroll-y-transition-enter-active,.scroll-y-transition-leave-active{transition-duration:.3s!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.scroll-y-transition-move{transition-duration:.5s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.scroll-y-transition-enter-from,.scroll-y-transition-leave-to{opacity:0}.scroll-y-transition-enter-from{transform:translateY(-15px)}.scroll-y-transition-leave-to{transform:translateY(15px)}.scroll-y-transition-enter-active,.scroll-y-transition-leave-active{transition-property:transform,opacity!important}.scroll-y-reverse-transition-enter-active,.scroll-y-reverse-transition-leave-active{transition-duration:.3s!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.scroll-y-reverse-transition-move{transition-duration:.5s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.scroll-y-reverse-transition-enter-from,.scroll-y-reverse-transition-leave-to{opacity:0}.scroll-y-reverse-transition-enter-from{transform:translateY(15px)}.scroll-y-reverse-transition-leave-to{transform:translateY(-15px)}.scroll-y-reverse-transition-enter-active,.scroll-y-reverse-transition-leave-active{transition-property:transform,opacity!important}.scroll-x-transition-enter-active,.scroll-x-transition-leave-active{transition-duration:.3s!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.scroll-x-transition-move{transition-duration:.5s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.scroll-x-transition-enter-from,.scroll-x-transition-leave-to{opacity:0}.scroll-x-transition-enter-from{transform:translate(-15px)}.scroll-x-transition-leave-to{transform:translate(15px)}.scroll-x-transition-enter-active,.scroll-x-transition-leave-active{transition-property:transform,opacity!important}.scroll-x-reverse-transition-enter-active,.scroll-x-reverse-transition-leave-active{transition-duration:.3s!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.scroll-x-reverse-transition-move{transition-duration:.5s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.scroll-x-reverse-transition-enter-from,.scroll-x-reverse-transition-leave-to{opacity:0}.scroll-x-reverse-transition-enter-from{transform:translate(15px)}.scroll-x-reverse-transition-leave-to{transform:translate(-15px)}.scroll-x-reverse-transition-enter-active,.scroll-x-reverse-transition-leave-active{transition-property:transform,opacity!important}.slide-x-transition-enter-active,.slide-x-transition-leave-active{transition-duration:.3s!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.slide-x-transition-move{transition-duration:.5s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.slide-x-transition-enter-from,.slide-x-transition-leave-to{opacity:0;transform:translate(-15px)}.slide-x-transition-enter-active,.slide-x-transition-leave-active{transition-property:transform,opacity!important}.slide-x-reverse-transition-enter-active,.slide-x-reverse-transition-leave-active{transition-duration:.3s!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.slide-x-reverse-transition-move{transition-duration:.5s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.slide-x-reverse-transition-enter-from,.slide-x-reverse-transition-leave-to{opacity:0;transform:translate(15px)}.slide-x-reverse-transition-enter-active,.slide-x-reverse-transition-leave-active{transition-property:transform,opacity!important}.fade-transition-enter-active,.fade-transition-leave-active{transition-duration:.3s!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.fade-transition-move{transition-duration:.5s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.fade-transition-enter-from,.fade-transition-leave-to{opacity:0!important}.fade-transition-enter-active,.fade-transition-leave-active{transition-property:opacity!important}.fab-transition-enter-active,.fab-transition-leave-active{transition-duration:.3s!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.fab-transition-move{transition-duration:.5s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.fab-transition-enter-from,.fab-transition-leave-to{transform:scale(0) rotate(-45deg)}.fab-transition-enter-active,.fab-transition-leave-active{transition-property:transform!important}.v-locale--is-rtl{direction:rtl}.v-locale--is-ltr{direction:ltr}.blockquote{padding:16px 0 16px 24px;font-size:18px;font-weight:300}html{font-family:Roboto,sans-serif;line-height:1.5;font-size:1rem;overflow-x:hidden;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-tap-highlight-color:rgba(0,0,0,0)}html.overflow-y-hidden{overflow-y:hidden!important}:root{--v-theme-overlay-multiplier: 1;--v-scrollbar-offset: 0px}@supports (-webkit-touch-callout: none){body{cursor:pointer}}@media only print{.hidden-print-only{display:none!important}}@media only screen{.hidden-screen-only{display:none!important}}@media (max-width: 599.98px){.hidden-xs{display:none!important}}@media (min-width: 600px) and (max-width: 959.98px){.hidden-sm{display:none!important}}@media (min-width: 960px) and (max-width: 1279.98px){.hidden-md{display:none!important}}@media (min-width: 1280px) and (max-width: 1919.98px){.hidden-lg{display:none!important}}@media (min-width: 1920px) and (max-width: 2559.98px){.hidden-xl{display:none!important}}@media (min-width: 2560px){.hidden-xxl{display:none!important}}@media (min-width: 600px){.hidden-sm-and-up{display:none!important}}@media (min-width: 960px){.hidden-md-and-up{display:none!important}}@media (min-width: 1280px){.hidden-lg-and-up{display:none!important}}@media (min-width: 1920px){.hidden-xl-and-up{display:none!important}}@media (max-width: 959.98px){.hidden-sm-and-down{display:none!important}}@media (max-width: 1279.98px){.hidden-md-and-down{display:none!important}}@media (max-width: 1919.98px){.hidden-lg-and-down{display:none!important}}@media (max-width: 2559.98px){.hidden-xl-and-down{display:none!important}}.elevation-24{box-shadow:0 11px 15px -7px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 24px 38px 3px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 9px 46px 8px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-23{box-shadow:0 11px 14px -7px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 23px 36px 3px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 9px 44px 8px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-22{box-shadow:0 10px 14px -6px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 22px 35px 3px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 8px 42px 7px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-21{box-shadow:0 10px 13px -6px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 21px 33px 3px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 8px 40px 7px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-20{box-shadow:0 10px 13px -6px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 20px 31px 3px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 8px 38px 7px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-19{box-shadow:0 9px 12px -6px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 19px 29px 2px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 7px 36px 6px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-18{box-shadow:0 9px 11px -5px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 18px 28px 2px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 7px 34px 6px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-17{box-shadow:0 8px 11px -5px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 17px 26px 2px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 6px 32px 5px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-16{box-shadow:0 8px 10px -5px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 16px 24px 2px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 6px 30px 5px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-15{box-shadow:0 8px 9px -5px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 15px 22px 2px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 6px 28px 5px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-14{box-shadow:0 7px 9px -4px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 14px 21px 2px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 5px 26px 4px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-13{box-shadow:0 7px 8px -4px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 13px 19px 2px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 5px 24px 4px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-12{box-shadow:0 7px 8px -4px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 12px 17px 2px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 5px 22px 4px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-11{box-shadow:0 6px 7px -4px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 11px 15px 1px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 4px 20px 3px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-10{box-shadow:0 6px 6px -3px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 10px 14px 1px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 4px 18px 3px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-9{box-shadow:0 5px 6px -3px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 9px 12px 1px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 3px 16px 2px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-8{box-shadow:0 5px 5px -3px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 8px 10px 1px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 3px 14px 2px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-7{box-shadow:0 4px 5px -2px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 7px 10px 1px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 2px 16px 1px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-6{box-shadow:0 3px 5px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 6px 10px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 18px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-5{box-shadow:0 3px 5px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 5px 8px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 14px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-4{box-shadow:0 2px 4px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 4px 5px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 10px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-3{box-shadow:0 3px 3px -2px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 3px 4px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 8px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-2{box-shadow:0 3px 1px -2px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 2px 2px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 5px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-1{box-shadow:0 2px 1px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 1px 1px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 3px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.elevation-0{box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))!important}.d-sr-only,.d-sr-only-focusable:not(:focus){border:0!important;clip:rect(0,0,0,0)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-visible{overflow:visible!important}.overflow-x-auto{overflow-x:auto!important}.overflow-x-hidden{overflow-x:hidden!important}.overflow-y-auto{overflow-y:auto!important}.overflow-y-hidden{overflow-y:hidden!important}.d-none{display:none!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}.float-none{float:none!important}.float-left{float:left!important}.float-right{float:right!important}.v-locale--is-rtl .float-end{float:left!important}.v-locale--is-rtl .float-start,.v-locale--is-ltr .float-end{float:right!important}.v-locale--is-ltr .float-start{float:left!important}.flex-fill,.flex-1-1{flex:1 1 auto!important}.flex-1-0{flex:1 0 auto!important}.flex-0-1{flex:0 1 auto!important}.flex-0-0{flex:0 0 auto!important}.flex-1-1-100{flex:1 1 100%!important}.flex-1-0-100{flex:1 0 100%!important}.flex-0-1-100{flex:0 1 100%!important}.flex-0-0-100{flex:0 0 100%!important}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-start{justify-content:flex-start!important}.justify-end{justify-content:flex-end!important}.justify-center{justify-content:center!important}.justify-space-between{justify-content:space-between!important}.justify-space-around{justify-content:space-around!important}.justify-space-evenly{justify-content:space-evenly!important}.align-start{align-items:flex-start!important}.align-end{align-items:flex-end!important}.align-center{align-items:center!important}.align-baseline{align-items:baseline!important}.align-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-space-between{align-content:space-between!important}.align-content-space-around{align-content:space-around!important}.align-content-space-evenly{align-content:space-evenly!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}.order-first{order:-1!important}.order-0{order:0!important}.order-1{order:1!important}.order-2{order:2!important}.order-3{order:3!important}.order-4{order:4!important}.order-5{order:5!important}.order-6{order:6!important}.order-7{order:7!important}.order-8{order:8!important}.order-9{order:9!important}.order-10{order:10!important}.order-11{order:11!important}.order-12{order:12!important}.order-last{order:13!important}.ma-0{margin:0!important}.ma-1{margin:4px!important}.ma-2{margin:8px!important}.ma-3{margin:12px!important}.ma-4{margin:16px!important}.ma-5{margin:20px!important}.ma-6{margin:24px!important}.ma-7{margin:28px!important}.ma-8{margin:32px!important}.ma-9{margin:36px!important}.ma-10{margin:40px!important}.ma-11{margin:44px!important}.ma-12{margin:48px!important}.ma-13{margin:52px!important}.ma-14{margin:56px!important}.ma-15{margin:60px!important}.ma-16{margin:64px!important}.ma-auto{margin:auto!important}.mx-0{margin-right:0!important;margin-left:0!important}.mx-1{margin-right:4px!important;margin-left:4px!important}.mx-2{margin-right:8px!important;margin-left:8px!important}.mx-3{margin-right:12px!important;margin-left:12px!important}.mx-4{margin-right:16px!important;margin-left:16px!important}.mx-5{margin-right:20px!important;margin-left:20px!important}.mx-6{margin-right:24px!important;margin-left:24px!important}.mx-7{margin-right:28px!important;margin-left:28px!important}.mx-8{margin-right:32px!important;margin-left:32px!important}.mx-9{margin-right:36px!important;margin-left:36px!important}.mx-10{margin-right:40px!important;margin-left:40px!important}.mx-11{margin-right:44px!important;margin-left:44px!important}.mx-12{margin-right:48px!important;margin-left:48px!important}.mx-13{margin-right:52px!important;margin-left:52px!important}.mx-14{margin-right:56px!important;margin-left:56px!important}.mx-15{margin-right:60px!important;margin-left:60px!important}.mx-16{margin-right:64px!important;margin-left:64px!important}.mx-auto{margin-right:auto!important;margin-left:auto!important}.my-0{margin-top:0!important;margin-bottom:0!important}.my-1{margin-top:4px!important;margin-bottom:4px!important}.my-2{margin-top:8px!important;margin-bottom:8px!important}.my-3{margin-top:12px!important;margin-bottom:12px!important}.my-4{margin-top:16px!important;margin-bottom:16px!important}.my-5{margin-top:20px!important;margin-bottom:20px!important}.my-6{margin-top:24px!important;margin-bottom:24px!important}.my-7{margin-top:28px!important;margin-bottom:28px!important}.my-8{margin-top:32px!important;margin-bottom:32px!important}.my-9{margin-top:36px!important;margin-bottom:36px!important}.my-10{margin-top:40px!important;margin-bottom:40px!important}.my-11{margin-top:44px!important;margin-bottom:44px!important}.my-12{margin-top:48px!important;margin-bottom:48px!important}.my-13{margin-top:52px!important;margin-bottom:52px!important}.my-14{margin-top:56px!important;margin-bottom:56px!important}.my-15{margin-top:60px!important;margin-bottom:60px!important}.my-16{margin-top:64px!important;margin-bottom:64px!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-0{margin-top:0!important}.mt-1{margin-top:4px!important}.mt-2{margin-top:8px!important}.mt-3{margin-top:12px!important}.mt-4{margin-top:16px!important}.mt-5{margin-top:20px!important}.mt-6{margin-top:24px!important}.mt-7{margin-top:28px!important}.mt-8{margin-top:32px!important}.mt-9{margin-top:36px!important}.mt-10{margin-top:40px!important}.mt-11{margin-top:44px!important}.mt-12{margin-top:48px!important}.mt-13{margin-top:52px!important}.mt-14{margin-top:56px!important}.mt-15{margin-top:60px!important}.mt-16{margin-top:64px!important}.mt-auto{margin-top:auto!important}.mr-0{margin-right:0!important}.mr-1{margin-right:4px!important}.mr-2{margin-right:8px!important}.mr-3{margin-right:12px!important}.mr-4{margin-right:16px!important}.mr-5{margin-right:20px!important}.mr-6{margin-right:24px!important}.mr-7{margin-right:28px!important}.mr-8{margin-right:32px!important}.mr-9{margin-right:36px!important}.mr-10{margin-right:40px!important}.mr-11{margin-right:44px!important}.mr-12{margin-right:48px!important}.mr-13{margin-right:52px!important}.mr-14{margin-right:56px!important}.mr-15{margin-right:60px!important}.mr-16{margin-right:64px!important}.mr-auto{margin-right:auto!important}.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:4px!important}.mb-2{margin-bottom:8px!important}.mb-3{margin-bottom:12px!important}.mb-4{margin-bottom:16px!important}.mb-5{margin-bottom:20px!important}.mb-6{margin-bottom:24px!important}.mb-7{margin-bottom:28px!important}.mb-8{margin-bottom:32px!important}.mb-9{margin-bottom:36px!important}.mb-10{margin-bottom:40px!important}.mb-11{margin-bottom:44px!important}.mb-12{margin-bottom:48px!important}.mb-13{margin-bottom:52px!important}.mb-14{margin-bottom:56px!important}.mb-15{margin-bottom:60px!important}.mb-16{margin-bottom:64px!important}.mb-auto{margin-bottom:auto!important}.ml-0{margin-left:0!important}.ml-1{margin-left:4px!important}.ml-2{margin-left:8px!important}.ml-3{margin-left:12px!important}.ml-4{margin-left:16px!important}.ml-5{margin-left:20px!important}.ml-6{margin-left:24px!important}.ml-7{margin-left:28px!important}.ml-8{margin-left:32px!important}.ml-9{margin-left:36px!important}.ml-10{margin-left:40px!important}.ml-11{margin-left:44px!important}.ml-12{margin-left:48px!important}.ml-13{margin-left:52px!important}.ml-14{margin-left:56px!important}.ml-15{margin-left:60px!important}.ml-16{margin-left:64px!important}.ml-auto{margin-left:auto!important}.ms-0{margin-inline-start:0px!important}.ms-1{margin-inline-start:4px!important}.ms-2{margin-inline-start:8px!important}.ms-3{margin-inline-start:12px!important}.ms-4{margin-inline-start:16px!important}.ms-5{margin-inline-start:20px!important}.ms-6{margin-inline-start:24px!important}.ms-7{margin-inline-start:28px!important}.ms-8{margin-inline-start:32px!important}.ms-9{margin-inline-start:36px!important}.ms-10{margin-inline-start:40px!important}.ms-11{margin-inline-start:44px!important}.ms-12{margin-inline-start:48px!important}.ms-13{margin-inline-start:52px!important}.ms-14{margin-inline-start:56px!important}.ms-15{margin-inline-start:60px!important}.ms-16{margin-inline-start:64px!important}.ms-auto{margin-inline-start:auto!important}.me-0{margin-inline-end:0px!important}.me-1{margin-inline-end:4px!important}.me-2{margin-inline-end:8px!important}.me-3{margin-inline-end:12px!important}.me-4{margin-inline-end:16px!important}.me-5{margin-inline-end:20px!important}.me-6{margin-inline-end:24px!important}.me-7{margin-inline-end:28px!important}.me-8{margin-inline-end:32px!important}.me-9{margin-inline-end:36px!important}.me-10{margin-inline-end:40px!important}.me-11{margin-inline-end:44px!important}.me-12{margin-inline-end:48px!important}.me-13{margin-inline-end:52px!important}.me-14{margin-inline-end:56px!important}.me-15{margin-inline-end:60px!important}.me-16{margin-inline-end:64px!important}.me-auto{margin-inline-end:auto!important}.ma-n1{margin:-4px!important}.ma-n2{margin:-8px!important}.ma-n3{margin:-12px!important}.ma-n4{margin:-16px!important}.ma-n5{margin:-20px!important}.ma-n6{margin:-24px!important}.ma-n7{margin:-28px!important}.ma-n8{margin:-32px!important}.ma-n9{margin:-36px!important}.ma-n10{margin:-40px!important}.ma-n11{margin:-44px!important}.ma-n12{margin:-48px!important}.ma-n13{margin:-52px!important}.ma-n14{margin:-56px!important}.ma-n15{margin:-60px!important}.ma-n16{margin:-64px!important}.mx-n1{margin-right:-4px!important;margin-left:-4px!important}.mx-n2{margin-right:-8px!important;margin-left:-8px!important}.mx-n3{margin-right:-12px!important;margin-left:-12px!important}.mx-n4{margin-right:-16px!important;margin-left:-16px!important}.mx-n5{margin-right:-20px!important;margin-left:-20px!important}.mx-n6{margin-right:-24px!important;margin-left:-24px!important}.mx-n7{margin-right:-28px!important;margin-left:-28px!important}.mx-n8{margin-right:-32px!important;margin-left:-32px!important}.mx-n9{margin-right:-36px!important;margin-left:-36px!important}.mx-n10{margin-right:-40px!important;margin-left:-40px!important}.mx-n11{margin-right:-44px!important;margin-left:-44px!important}.mx-n12{margin-right:-48px!important;margin-left:-48px!important}.mx-n13{margin-right:-52px!important;margin-left:-52px!important}.mx-n14{margin-right:-56px!important;margin-left:-56px!important}.mx-n15{margin-right:-60px!important;margin-left:-60px!important}.mx-n16{margin-right:-64px!important;margin-left:-64px!important}.my-n1{margin-top:-4px!important;margin-bottom:-4px!important}.my-n2{margin-top:-8px!important;margin-bottom:-8px!important}.my-n3{margin-top:-12px!important;margin-bottom:-12px!important}.my-n4{margin-top:-16px!important;margin-bottom:-16px!important}.my-n5{margin-top:-20px!important;margin-bottom:-20px!important}.my-n6{margin-top:-24px!important;margin-bottom:-24px!important}.my-n7{margin-top:-28px!important;margin-bottom:-28px!important}.my-n8{margin-top:-32px!important;margin-bottom:-32px!important}.my-n9{margin-top:-36px!important;margin-bottom:-36px!important}.my-n10{margin-top:-40px!important;margin-bottom:-40px!important}.my-n11{margin-top:-44px!important;margin-bottom:-44px!important}.my-n12{margin-top:-48px!important;margin-bottom:-48px!important}.my-n13{margin-top:-52px!important;margin-bottom:-52px!important}.my-n14{margin-top:-56px!important;margin-bottom:-56px!important}.my-n15{margin-top:-60px!important;margin-bottom:-60px!important}.my-n16{margin-top:-64px!important;margin-bottom:-64px!important}.mt-n1{margin-top:-4px!important}.mt-n2{margin-top:-8px!important}.mt-n3{margin-top:-12px!important}.mt-n4{margin-top:-16px!important}.mt-n5{margin-top:-20px!important}.mt-n6{margin-top:-24px!important}.mt-n7{margin-top:-28px!important}.mt-n8{margin-top:-32px!important}.mt-n9{margin-top:-36px!important}.mt-n10{margin-top:-40px!important}.mt-n11{margin-top:-44px!important}.mt-n12{margin-top:-48px!important}.mt-n13{margin-top:-52px!important}.mt-n14{margin-top:-56px!important}.mt-n15{margin-top:-60px!important}.mt-n16{margin-top:-64px!important}.mr-n1{margin-right:-4px!important}.mr-n2{margin-right:-8px!important}.mr-n3{margin-right:-12px!important}.mr-n4{margin-right:-16px!important}.mr-n5{margin-right:-20px!important}.mr-n6{margin-right:-24px!important}.mr-n7{margin-right:-28px!important}.mr-n8{margin-right:-32px!important}.mr-n9{margin-right:-36px!important}.mr-n10{margin-right:-40px!important}.mr-n11{margin-right:-44px!important}.mr-n12{margin-right:-48px!important}.mr-n13{margin-right:-52px!important}.mr-n14{margin-right:-56px!important}.mr-n15{margin-right:-60px!important}.mr-n16{margin-right:-64px!important}.mb-n1{margin-bottom:-4px!important}.mb-n2{margin-bottom:-8px!important}.mb-n3{margin-bottom:-12px!important}.mb-n4{margin-bottom:-16px!important}.mb-n5{margin-bottom:-20px!important}.mb-n6{margin-bottom:-24px!important}.mb-n7{margin-bottom:-28px!important}.mb-n8{margin-bottom:-32px!important}.mb-n9{margin-bottom:-36px!important}.mb-n10{margin-bottom:-40px!important}.mb-n11{margin-bottom:-44px!important}.mb-n12{margin-bottom:-48px!important}.mb-n13{margin-bottom:-52px!important}.mb-n14{margin-bottom:-56px!important}.mb-n15{margin-bottom:-60px!important}.mb-n16{margin-bottom:-64px!important}.ml-n1{margin-left:-4px!important}.ml-n2{margin-left:-8px!important}.ml-n3{margin-left:-12px!important}.ml-n4{margin-left:-16px!important}.ml-n5{margin-left:-20px!important}.ml-n6{margin-left:-24px!important}.ml-n7{margin-left:-28px!important}.ml-n8{margin-left:-32px!important}.ml-n9{margin-left:-36px!important}.ml-n10{margin-left:-40px!important}.ml-n11{margin-left:-44px!important}.ml-n12{margin-left:-48px!important}.ml-n13{margin-left:-52px!important}.ml-n14{margin-left:-56px!important}.ml-n15{margin-left:-60px!important}.ml-n16{margin-left:-64px!important}.ms-n1{margin-inline-start:-4px!important}.ms-n2{margin-inline-start:-8px!important}.ms-n3{margin-inline-start:-12px!important}.ms-n4{margin-inline-start:-16px!important}.ms-n5{margin-inline-start:-20px!important}.ms-n6{margin-inline-start:-24px!important}.ms-n7{margin-inline-start:-28px!important}.ms-n8{margin-inline-start:-32px!important}.ms-n9{margin-inline-start:-36px!important}.ms-n10{margin-inline-start:-40px!important}.ms-n11{margin-inline-start:-44px!important}.ms-n12{margin-inline-start:-48px!important}.ms-n13{margin-inline-start:-52px!important}.ms-n14{margin-inline-start:-56px!important}.ms-n15{margin-inline-start:-60px!important}.ms-n16{margin-inline-start:-64px!important}.me-n1{margin-inline-end:-4px!important}.me-n2{margin-inline-end:-8px!important}.me-n3{margin-inline-end:-12px!important}.me-n4{margin-inline-end:-16px!important}.me-n5{margin-inline-end:-20px!important}.me-n6{margin-inline-end:-24px!important}.me-n7{margin-inline-end:-28px!important}.me-n8{margin-inline-end:-32px!important}.me-n9{margin-inline-end:-36px!important}.me-n10{margin-inline-end:-40px!important}.me-n11{margin-inline-end:-44px!important}.me-n12{margin-inline-end:-48px!important}.me-n13{margin-inline-end:-52px!important}.me-n14{margin-inline-end:-56px!important}.me-n15{margin-inline-end:-60px!important}.me-n16{margin-inline-end:-64px!important}.pa-0{padding:0!important}.pa-1{padding:4px!important}.pa-2{padding:8px!important}.pa-3{padding:12px!important}.pa-4{padding:16px!important}.pa-5{padding:20px!important}.pa-6{padding:24px!important}.pa-7{padding:28px!important}.pa-8{padding:32px!important}.pa-9{padding:36px!important}.pa-10{padding:40px!important}.pa-11{padding:44px!important}.pa-12{padding:48px!important}.pa-13{padding:52px!important}.pa-14{padding:56px!important}.pa-15{padding:60px!important}.pa-16{padding:64px!important}.px-0{padding-right:0!important;padding-left:0!important}.px-1{padding-right:4px!important;padding-left:4px!important}.px-2{padding-right:8px!important;padding-left:8px!important}.px-3{padding-right:12px!important;padding-left:12px!important}.px-4{padding-right:16px!important;padding-left:16px!important}.px-5{padding-right:20px!important;padding-left:20px!important}.px-6{padding-right:24px!important;padding-left:24px!important}.px-7{padding-right:28px!important;padding-left:28px!important}.px-8{padding-right:32px!important;padding-left:32px!important}.px-9{padding-right:36px!important;padding-left:36px!important}.px-10{padding-right:40px!important;padding-left:40px!important}.px-11{padding-right:44px!important;padding-left:44px!important}.px-12{padding-right:48px!important;padding-left:48px!important}.px-13{padding-right:52px!important;padding-left:52px!important}.px-14{padding-right:56px!important;padding-left:56px!important}.px-15{padding-right:60px!important;padding-left:60px!important}.px-16{padding-right:64px!important;padding-left:64px!important}.py-0{padding-top:0!important;padding-bottom:0!important}.py-1{padding-top:4px!important;padding-bottom:4px!important}.py-2{padding-top:8px!important;padding-bottom:8px!important}.py-3{padding-top:12px!important;padding-bottom:12px!important}.py-4{padding-top:16px!important;padding-bottom:16px!important}.py-5{padding-top:20px!important;padding-bottom:20px!important}.py-6{padding-top:24px!important;padding-bottom:24px!important}.py-7{padding-top:28px!important;padding-bottom:28px!important}.py-8{padding-top:32px!important;padding-bottom:32px!important}.py-9{padding-top:36px!important;padding-bottom:36px!important}.py-10{padding-top:40px!important;padding-bottom:40px!important}.py-11{padding-top:44px!important;padding-bottom:44px!important}.py-12{padding-top:48px!important;padding-bottom:48px!important}.py-13{padding-top:52px!important;padding-bottom:52px!important}.py-14{padding-top:56px!important;padding-bottom:56px!important}.py-15{padding-top:60px!important;padding-bottom:60px!important}.py-16{padding-top:64px!important;padding-bottom:64px!important}.pt-0{padding-top:0!important}.pt-1{padding-top:4px!important}.pt-2{padding-top:8px!important}.pt-3{padding-top:12px!important}.pt-4{padding-top:16px!important}.pt-5{padding-top:20px!important}.pt-6{padding-top:24px!important}.pt-7{padding-top:28px!important}.pt-8{padding-top:32px!important}.pt-9{padding-top:36px!important}.pt-10{padding-top:40px!important}.pt-11{padding-top:44px!important}.pt-12{padding-top:48px!important}.pt-13{padding-top:52px!important}.pt-14{padding-top:56px!important}.pt-15{padding-top:60px!important}.pt-16{padding-top:64px!important}.pr-0{padding-right:0!important}.pr-1{padding-right:4px!important}.pr-2{padding-right:8px!important}.pr-3{padding-right:12px!important}.pr-4{padding-right:16px!important}.pr-5{padding-right:20px!important}.pr-6{padding-right:24px!important}.pr-7{padding-right:28px!important}.pr-8{padding-right:32px!important}.pr-9{padding-right:36px!important}.pr-10{padding-right:40px!important}.pr-11{padding-right:44px!important}.pr-12{padding-right:48px!important}.pr-13{padding-right:52px!important}.pr-14{padding-right:56px!important}.pr-15{padding-right:60px!important}.pr-16{padding-right:64px!important}.pb-0{padding-bottom:0!important}.pb-1{padding-bottom:4px!important}.pb-2{padding-bottom:8px!important}.pb-3{padding-bottom:12px!important}.pb-4{padding-bottom:16px!important}.pb-5{padding-bottom:20px!important}.pb-6{padding-bottom:24px!important}.pb-7{padding-bottom:28px!important}.pb-8{padding-bottom:32px!important}.pb-9{padding-bottom:36px!important}.pb-10{padding-bottom:40px!important}.pb-11{padding-bottom:44px!important}.pb-12{padding-bottom:48px!important}.pb-13{padding-bottom:52px!important}.pb-14{padding-bottom:56px!important}.pb-15{padding-bottom:60px!important}.pb-16{padding-bottom:64px!important}.pl-0{padding-left:0!important}.pl-1{padding-left:4px!important}.pl-2{padding-left:8px!important}.pl-3{padding-left:12px!important}.pl-4{padding-left:16px!important}.pl-5{padding-left:20px!important}.pl-6{padding-left:24px!important}.pl-7{padding-left:28px!important}.pl-8{padding-left:32px!important}.pl-9{padding-left:36px!important}.pl-10{padding-left:40px!important}.pl-11{padding-left:44px!important}.pl-12{padding-left:48px!important}.pl-13{padding-left:52px!important}.pl-14{padding-left:56px!important}.pl-15{padding-left:60px!important}.pl-16{padding-left:64px!important}.ps-0{padding-inline-start:0px!important}.ps-1{padding-inline-start:4px!important}.ps-2{padding-inline-start:8px!important}.ps-3{padding-inline-start:12px!important}.ps-4{padding-inline-start:16px!important}.ps-5{padding-inline-start:20px!important}.ps-6{padding-inline-start:24px!important}.ps-7{padding-inline-start:28px!important}.ps-8{padding-inline-start:32px!important}.ps-9{padding-inline-start:36px!important}.ps-10{padding-inline-start:40px!important}.ps-11{padding-inline-start:44px!important}.ps-12{padding-inline-start:48px!important}.ps-13{padding-inline-start:52px!important}.ps-14{padding-inline-start:56px!important}.ps-15{padding-inline-start:60px!important}.ps-16{padding-inline-start:64px!important}.pe-0{padding-inline-end:0px!important}.pe-1{padding-inline-end:4px!important}.pe-2{padding-inline-end:8px!important}.pe-3{padding-inline-end:12px!important}.pe-4{padding-inline-end:16px!important}.pe-5{padding-inline-end:20px!important}.pe-6{padding-inline-end:24px!important}.pe-7{padding-inline-end:28px!important}.pe-8{padding-inline-end:32px!important}.pe-9{padding-inline-end:36px!important}.pe-10{padding-inline-end:40px!important}.pe-11{padding-inline-end:44px!important}.pe-12{padding-inline-end:48px!important}.pe-13{padding-inline-end:52px!important}.pe-14{padding-inline-end:56px!important}.pe-15{padding-inline-end:60px!important}.pe-16{padding-inline-end:64px!important}.rounded-0{border-radius:0!important}.rounded-sm{border-radius:2px!important}.rounded{border-radius:4px!important}.rounded-lg{border-radius:8px!important}.rounded-xl{border-radius:24px!important}.rounded-pill{border-radius:9999px!important}.rounded-circle{border-radius:50%!important}.rounded-shaped{border-radius:24px 0!important}.rounded-t-0{border-top-left-radius:0!important;border-top-right-radius:0!important}.rounded-t-sm{border-top-left-radius:2px!important;border-top-right-radius:2px!important}.rounded-t{border-top-left-radius:4px!important;border-top-right-radius:4px!important}.rounded-t-lg{border-top-left-radius:8px!important;border-top-right-radius:8px!important}.rounded-t-xl{border-top-left-radius:24px!important;border-top-right-radius:24px!important}.rounded-t-pill{border-top-left-radius:9999px!important;border-top-right-radius:9999px!important}.rounded-t-circle{border-top-left-radius:50%!important;border-top-right-radius:50%!important}.rounded-t-shaped{border-top-left-radius:24px!important;border-top-right-radius:0!important}.v-locale--is-ltr .rounded-e-0{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.v-locale--is-rtl .rounded-e-0{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.v-locale--is-ltr .rounded-e-sm{border-top-right-radius:2px!important;border-bottom-right-radius:2px!important}.v-locale--is-rtl .rounded-e-sm{border-top-left-radius:2px!important;border-bottom-left-radius:2px!important}.v-locale--is-ltr .rounded-e{border-top-right-radius:4px!important;border-bottom-right-radius:4px!important}.v-locale--is-rtl .rounded-e{border-top-left-radius:4px!important;border-bottom-left-radius:4px!important}.v-locale--is-ltr .rounded-e-lg{border-top-right-radius:8px!important;border-bottom-right-radius:8px!important}.v-locale--is-rtl .rounded-e-lg{border-top-left-radius:8px!important;border-bottom-left-radius:8px!important}.v-locale--is-ltr .rounded-e-xl{border-top-right-radius:24px!important;border-bottom-right-radius:24px!important}.v-locale--is-rtl .rounded-e-xl{border-top-left-radius:24px!important;border-bottom-left-radius:24px!important}.v-locale--is-ltr .rounded-e-pill{border-top-right-radius:9999px!important;border-bottom-right-radius:9999px!important}.v-locale--is-rtl .rounded-e-pill{border-top-left-radius:9999px!important;border-bottom-left-radius:9999px!important}.v-locale--is-ltr .rounded-e-circle{border-top-right-radius:50%!important;border-bottom-right-radius:50%!important}.v-locale--is-rtl .rounded-e-circle{border-top-left-radius:50%!important;border-bottom-left-radius:50%!important}.v-locale--is-ltr .rounded-e-shaped{border-top-right-radius:24px!important;border-bottom-right-radius:0!important}.v-locale--is-rtl .rounded-e-shaped{border-top-left-radius:24px!important;border-bottom-left-radius:0!important}.rounded-b-0{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.rounded-b-sm{border-bottom-left-radius:2px!important;border-bottom-right-radius:2px!important}.rounded-b{border-bottom-left-radius:4px!important;border-bottom-right-radius:4px!important}.rounded-b-lg{border-bottom-left-radius:8px!important;border-bottom-right-radius:8px!important}.rounded-b-xl{border-bottom-left-radius:24px!important;border-bottom-right-radius:24px!important}.rounded-b-pill{border-bottom-left-radius:9999px!important;border-bottom-right-radius:9999px!important}.rounded-b-circle{border-bottom-left-radius:50%!important;border-bottom-right-radius:50%!important}.rounded-b-shaped{border-bottom-left-radius:24px!important;border-bottom-right-radius:0!important}.v-locale--is-ltr .rounded-s-0{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.v-locale--is-rtl .rounded-s-0{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.v-locale--is-ltr .rounded-s-sm{border-top-left-radius:2px!important;border-bottom-left-radius:2px!important}.v-locale--is-rtl .rounded-s-sm{border-top-right-radius:2px!important;border-bottom-right-radius:2px!important}.v-locale--is-ltr .rounded-s{border-top-left-radius:4px!important;border-bottom-left-radius:4px!important}.v-locale--is-rtl .rounded-s{border-top-right-radius:4px!important;border-bottom-right-radius:4px!important}.v-locale--is-ltr .rounded-s-lg{border-top-left-radius:8px!important;border-bottom-left-radius:8px!important}.v-locale--is-rtl .rounded-s-lg{border-top-right-radius:8px!important;border-bottom-right-radius:8px!important}.v-locale--is-ltr .rounded-s-xl{border-top-left-radius:24px!important;border-bottom-left-radius:24px!important}.v-locale--is-rtl .rounded-s-xl{border-top-right-radius:24px!important;border-bottom-right-radius:24px!important}.v-locale--is-ltr .rounded-s-pill{border-top-left-radius:9999px!important;border-bottom-left-radius:9999px!important}.v-locale--is-rtl .rounded-s-pill{border-top-right-radius:9999px!important;border-bottom-right-radius:9999px!important}.v-locale--is-ltr .rounded-s-circle{border-top-left-radius:50%!important;border-bottom-left-radius:50%!important}.v-locale--is-rtl .rounded-s-circle{border-top-right-radius:50%!important;border-bottom-right-radius:50%!important}.v-locale--is-ltr .rounded-s-shaped{border-top-left-radius:24px!important;border-bottom-left-radius:0!important}.v-locale--is-rtl .rounded-s-shaped{border-top-right-radius:24px!important;border-bottom-right-radius:0!important}.v-locale--is-ltr .rounded-ts-0{border-top-left-radius:0!important}.v-locale--is-rtl .rounded-ts-0{border-top-right-radius:0!important}.v-locale--is-ltr .rounded-ts-sm{border-top-left-radius:2px!important}.v-locale--is-rtl .rounded-ts-sm{border-top-right-radius:2px!important}.v-locale--is-ltr .rounded-ts{border-top-left-radius:4px!important}.v-locale--is-rtl .rounded-ts{border-top-right-radius:4px!important}.v-locale--is-ltr .rounded-ts-lg{border-top-left-radius:8px!important}.v-locale--is-rtl .rounded-ts-lg{border-top-right-radius:8px!important}.v-locale--is-ltr .rounded-ts-xl{border-top-left-radius:24px!important}.v-locale--is-rtl .rounded-ts-xl{border-top-right-radius:24px!important}.v-locale--is-ltr .rounded-ts-pill{border-top-left-radius:9999px!important}.v-locale--is-rtl .rounded-ts-pill{border-top-right-radius:9999px!important}.v-locale--is-ltr .rounded-ts-circle{border-top-left-radius:50%!important}.v-locale--is-rtl .rounded-ts-circle{border-top-right-radius:50%!important}.v-locale--is-ltr .rounded-ts-shaped{border-top-left-radius:24px 0!important}.v-locale--is-rtl .rounded-ts-shaped{border-top-right-radius:24px 0!important}.v-locale--is-ltr .rounded-te-0{border-top-right-radius:0!important}.v-locale--is-rtl .rounded-te-0{border-top-left-radius:0!important}.v-locale--is-ltr .rounded-te-sm{border-top-right-radius:2px!important}.v-locale--is-rtl .rounded-te-sm{border-top-left-radius:2px!important}.v-locale--is-ltr .rounded-te{border-top-right-radius:4px!important}.v-locale--is-rtl .rounded-te{border-top-left-radius:4px!important}.v-locale--is-ltr .rounded-te-lg{border-top-right-radius:8px!important}.v-locale--is-rtl .rounded-te-lg{border-top-left-radius:8px!important}.v-locale--is-ltr .rounded-te-xl{border-top-right-radius:24px!important}.v-locale--is-rtl .rounded-te-xl{border-top-left-radius:24px!important}.v-locale--is-ltr .rounded-te-pill{border-top-right-radius:9999px!important}.v-locale--is-rtl .rounded-te-pill{border-top-left-radius:9999px!important}.v-locale--is-ltr .rounded-te-circle{border-top-right-radius:50%!important}.v-locale--is-rtl .rounded-te-circle{border-top-left-radius:50%!important}.v-locale--is-ltr .rounded-te-shaped{border-top-right-radius:24px 0!important}.v-locale--is-rtl .rounded-te-shaped{border-top-left-radius:24px 0!important}.v-locale--is-ltr .rounded-be-0{border-bottom-right-radius:0!important}.v-locale--is-rtl .rounded-be-0{border-bottom-left-radius:0!important}.v-locale--is-ltr .rounded-be-sm{border-bottom-right-radius:2px!important}.v-locale--is-rtl .rounded-be-sm{border-bottom-left-radius:2px!important}.v-locale--is-ltr .rounded-be{border-bottom-right-radius:4px!important}.v-locale--is-rtl .rounded-be{border-bottom-left-radius:4px!important}.v-locale--is-ltr .rounded-be-lg{border-bottom-right-radius:8px!important}.v-locale--is-rtl .rounded-be-lg{border-bottom-left-radius:8px!important}.v-locale--is-ltr .rounded-be-xl{border-bottom-right-radius:24px!important}.v-locale--is-rtl .rounded-be-xl{border-bottom-left-radius:24px!important}.v-locale--is-ltr .rounded-be-pill{border-bottom-right-radius:9999px!important}.v-locale--is-rtl .rounded-be-pill{border-bottom-left-radius:9999px!important}.v-locale--is-ltr .rounded-be-circle{border-bottom-right-radius:50%!important}.v-locale--is-rtl .rounded-be-circle{border-bottom-left-radius:50%!important}.v-locale--is-ltr .rounded-be-shaped{border-bottom-right-radius:24px 0!important}.v-locale--is-rtl .rounded-be-shaped{border-bottom-left-radius:24px 0!important}.v-locale--is-ltr .rounded-bs-0{border-bottom-left-radius:0!important}.v-locale--is-rtl .rounded-bs-0{border-bottom-right-radius:0!important}.v-locale--is-ltr .rounded-bs-sm{border-bottom-left-radius:2px!important}.v-locale--is-rtl .rounded-bs-sm{border-bottom-right-radius:2px!important}.v-locale--is-ltr .rounded-bs{border-bottom-left-radius:4px!important}.v-locale--is-rtl .rounded-bs{border-bottom-right-radius:4px!important}.v-locale--is-ltr .rounded-bs-lg{border-bottom-left-radius:8px!important}.v-locale--is-rtl .rounded-bs-lg{border-bottom-right-radius:8px!important}.v-locale--is-ltr .rounded-bs-xl{border-bottom-left-radius:24px!important}.v-locale--is-rtl .rounded-bs-xl{border-bottom-right-radius:24px!important}.v-locale--is-ltr .rounded-bs-pill{border-bottom-left-radius:9999px!important}.v-locale--is-rtl .rounded-bs-pill{border-bottom-right-radius:9999px!important}.v-locale--is-ltr .rounded-bs-circle{border-bottom-left-radius:50%!important}.v-locale--is-rtl .rounded-bs-circle{border-bottom-right-radius:50%!important}.v-locale--is-ltr .rounded-bs-shaped{border-bottom-left-radius:24px 0!important}.v-locale--is-rtl .rounded-bs-shaped{border-bottom-right-radius:24px 0!important}.border-0{border-width:0!important;border-style:solid!important;border-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border{border-width:thin!important;border-style:solid!important;border-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-sm{border-width:1px!important;border-style:solid!important;border-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-md{border-width:2px!important;border-style:solid!important;border-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-lg{border-width:4px!important;border-style:solid!important;border-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-xl{border-width:8px!important;border-style:solid!important;border-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-opacity-0{--v-border-opacity: 0 !important}.border-opacity{--v-border-opacity: .12 !important}.border-opacity-25{--v-border-opacity: .25 !important}.border-opacity-50{--v-border-opacity: .5 !important}.border-opacity-75{--v-border-opacity: .75 !important}.border-opacity-100{--v-border-opacity: 1 !important}.border-t-0{border-block-start-width:0!important;border-block-start-style:solid!important;border-block-start-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-t{border-block-start-width:thin!important;border-block-start-style:solid!important;border-block-start-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-t-sm{border-block-start-width:1px!important;border-block-start-style:solid!important;border-block-start-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-t-md{border-block-start-width:2px!important;border-block-start-style:solid!important;border-block-start-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-t-lg{border-block-start-width:4px!important;border-block-start-style:solid!important;border-block-start-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-t-xl{border-block-start-width:8px!important;border-block-start-style:solid!important;border-block-start-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-e-0{border-inline-end-width:0!important;border-inline-end-style:solid!important;border-inline-end-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-e{border-inline-end-width:thin!important;border-inline-end-style:solid!important;border-inline-end-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-e-sm{border-inline-end-width:1px!important;border-inline-end-style:solid!important;border-inline-end-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-e-md{border-inline-end-width:2px!important;border-inline-end-style:solid!important;border-inline-end-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-e-lg{border-inline-end-width:4px!important;border-inline-end-style:solid!important;border-inline-end-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-e-xl{border-inline-end-width:8px!important;border-inline-end-style:solid!important;border-inline-end-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-b-0{border-block-end-width:0!important;border-block-end-style:solid!important;border-block-end-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-b{border-block-end-width:thin!important;border-block-end-style:solid!important;border-block-end-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-b-sm{border-block-end-width:1px!important;border-block-end-style:solid!important;border-block-end-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-b-md{border-block-end-width:2px!important;border-block-end-style:solid!important;border-block-end-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-b-lg{border-block-end-width:4px!important;border-block-end-style:solid!important;border-block-end-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-b-xl{border-block-end-width:8px!important;border-block-end-style:solid!important;border-block-end-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-s-0{border-inline-start-width:0!important;border-inline-start-style:solid!important;border-inline-start-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-s{border-inline-start-width:thin!important;border-inline-start-style:solid!important;border-inline-start-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-s-sm{border-inline-start-width:1px!important;border-inline-start-style:solid!important;border-inline-start-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-s-md{border-inline-start-width:2px!important;border-inline-start-style:solid!important;border-inline-start-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-s-lg{border-inline-start-width:4px!important;border-inline-start-style:solid!important;border-inline-start-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-s-xl{border-inline-start-width:8px!important;border-inline-start-style:solid!important;border-inline-start-color:rgba(var(--v-border-color),var(--v-border-opacity))!important}.border-solid{border-style:solid!important}.border-dashed{border-style:dashed!important}.border-dotted{border-style:dotted!important}.border-double{border-style:double!important}.border-none{border-style:none!important}.text-left{text-align:left!important}.text-right{text-align:right!important}.text-center{text-align:center!important}.text-justify{text-align:justify!important}.text-start{text-align:start!important}.text-end{text-align:end!important}.text-decoration-line-through{text-decoration:line-through!important}.text-decoration-none{text-decoration:none!important}.text-decoration-overline{text-decoration:overline!important}.text-decoration-underline{text-decoration:underline!important}.text-wrap{white-space:normal!important}.text-no-wrap{white-space:nowrap!important}.text-pre{white-space:pre!important}.text-pre-line{white-space:pre-line!important}.text-pre-wrap{white-space:pre-wrap!important}.text-break{overflow-wrap:break-word!important;word-break:break-word!important}.text-high-emphasis{color:rgba(var(--v-theme-on-background),var(--v-high-emphasis-opacity))!important}.text-medium-emphasis{color:rgba(var(--v-theme-on-background),var(--v-medium-emphasis-opacity))!important}.text-disabled{color:rgba(var(--v-theme-on-background),var(--v-disabled-opacity))!important}.text-truncate{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.text-h1{font-size:6rem!important;font-weight:300;line-height:6rem;letter-spacing:-.015625em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-h2{font-size:3.75rem!important;font-weight:300;line-height:3.75rem;letter-spacing:-.0083333333em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-h3{font-size:3rem!important;font-weight:400;line-height:3.125rem;letter-spacing:normal!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-h4{font-size:2.125rem!important;font-weight:400;line-height:2.5rem;letter-spacing:.0073529412em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-h5{font-size:1.5rem!important;font-weight:400;line-height:2rem;letter-spacing:normal!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-h6{font-size:1.25rem!important;font-weight:500;line-height:2rem;letter-spacing:.0125em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-subtitle-1{font-size:1rem!important;font-weight:400;line-height:1.75rem;letter-spacing:.009375em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-subtitle-2{font-size:.875rem!important;font-weight:500;line-height:1.375rem;letter-spacing:.0071428571em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-body-1{font-size:1rem!important;font-weight:400;line-height:1.5rem;letter-spacing:.03125em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-body-2{font-size:.875rem!important;font-weight:400;line-height:1.25rem;letter-spacing:.0178571429em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-button{font-size:.875rem!important;font-weight:500;line-height:2.25rem;letter-spacing:.0892857143em!important;font-family:Roboto,sans-serif!important;text-transform:uppercase!important}.text-caption{font-size:.75rem!important;font-weight:400;line-height:1.25rem;letter-spacing:.0333333333em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-overline{font-size:.75rem!important;font-weight:500;line-height:2rem;letter-spacing:.1666666667em!important;font-family:Roboto,sans-serif!important;text-transform:uppercase!important}.text-none{text-transform:none!important}.text-capitalize{text-transform:capitalize!important}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.font-weight-thin{font-weight:100!important}.font-weight-light{font-weight:300!important}.font-weight-regular{font-weight:400!important}.font-weight-medium{font-weight:500!important}.font-weight-bold{font-weight:700!important}.font-weight-black{font-weight:900!important}.font-italic{font-style:italic!important}.text-mono{font-family:monospace!important}.position-static{position:static!important}.position-relative{position:relative!important}.position-fixed{position:fixed!important}.position-absolute{position:absolute!important}.position-sticky{position:sticky!important}.fill-height{height:100%!important}.h-auto{height:auto!important}.h-screen{height:100vh!important}.h-0{height:0!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-screen{height:100dvh!important}.w-auto{width:auto!important}.w-0{width:0!important}.w-25{width:25%!important}.w-33{width:33%!important}.w-50{width:50%!important}.w-66{width:66%!important}.w-75{width:75%!important}.w-100{width:100%!important}@media (min-width: 600px){.d-sm-none{display:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}.float-sm-none{float:none!important}.float-sm-left{float:left!important}.float-sm-right{float:right!important}.v-locale--is-rtl .float-sm-end{float:left!important}.v-locale--is-rtl .float-sm-start,.v-locale--is-ltr .float-sm-end{float:right!important}.v-locale--is-ltr .float-sm-start{float:left!important}.flex-sm-fill,.flex-sm-1-1{flex:1 1 auto!important}.flex-sm-1-0{flex:1 0 auto!important}.flex-sm-0-1{flex:0 1 auto!important}.flex-sm-0-0{flex:0 0 auto!important}.flex-sm-1-1-100{flex:1 1 100%!important}.flex-sm-1-0-100{flex:1 0 100%!important}.flex-sm-0-1-100{flex:0 1 100%!important}.flex-sm-0-0-100{flex:0 0 100%!important}.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-sm-start{justify-content:flex-start!important}.justify-sm-end{justify-content:flex-end!important}.justify-sm-center{justify-content:center!important}.justify-sm-space-between{justify-content:space-between!important}.justify-sm-space-around{justify-content:space-around!important}.justify-sm-space-evenly{justify-content:space-evenly!important}.align-sm-start{align-items:flex-start!important}.align-sm-end{align-items:flex-end!important}.align-sm-center{align-items:center!important}.align-sm-baseline{align-items:baseline!important}.align-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-space-between{align-content:space-between!important}.align-content-sm-space-around{align-content:space-around!important}.align-content-sm-space-evenly{align-content:space-evenly!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}.order-sm-first{order:-1!important}.order-sm-0{order:0!important}.order-sm-1{order:1!important}.order-sm-2{order:2!important}.order-sm-3{order:3!important}.order-sm-4{order:4!important}.order-sm-5{order:5!important}.order-sm-6{order:6!important}.order-sm-7{order:7!important}.order-sm-8{order:8!important}.order-sm-9{order:9!important}.order-sm-10{order:10!important}.order-sm-11{order:11!important}.order-sm-12{order:12!important}.order-sm-last{order:13!important}.ma-sm-0{margin:0!important}.ma-sm-1{margin:4px!important}.ma-sm-2{margin:8px!important}.ma-sm-3{margin:12px!important}.ma-sm-4{margin:16px!important}.ma-sm-5{margin:20px!important}.ma-sm-6{margin:24px!important}.ma-sm-7{margin:28px!important}.ma-sm-8{margin:32px!important}.ma-sm-9{margin:36px!important}.ma-sm-10{margin:40px!important}.ma-sm-11{margin:44px!important}.ma-sm-12{margin:48px!important}.ma-sm-13{margin:52px!important}.ma-sm-14{margin:56px!important}.ma-sm-15{margin:60px!important}.ma-sm-16{margin:64px!important}.ma-sm-auto{margin:auto!important}.mx-sm-0{margin-right:0!important;margin-left:0!important}.mx-sm-1{margin-right:4px!important;margin-left:4px!important}.mx-sm-2{margin-right:8px!important;margin-left:8px!important}.mx-sm-3{margin-right:12px!important;margin-left:12px!important}.mx-sm-4{margin-right:16px!important;margin-left:16px!important}.mx-sm-5{margin-right:20px!important;margin-left:20px!important}.mx-sm-6{margin-right:24px!important;margin-left:24px!important}.mx-sm-7{margin-right:28px!important;margin-left:28px!important}.mx-sm-8{margin-right:32px!important;margin-left:32px!important}.mx-sm-9{margin-right:36px!important;margin-left:36px!important}.mx-sm-10{margin-right:40px!important;margin-left:40px!important}.mx-sm-11{margin-right:44px!important;margin-left:44px!important}.mx-sm-12{margin-right:48px!important;margin-left:48px!important}.mx-sm-13{margin-right:52px!important;margin-left:52px!important}.mx-sm-14{margin-right:56px!important;margin-left:56px!important}.mx-sm-15{margin-right:60px!important;margin-left:60px!important}.mx-sm-16{margin-right:64px!important;margin-left:64px!important}.mx-sm-auto{margin-right:auto!important;margin-left:auto!important}.my-sm-0{margin-top:0!important;margin-bottom:0!important}.my-sm-1{margin-top:4px!important;margin-bottom:4px!important}.my-sm-2{margin-top:8px!important;margin-bottom:8px!important}.my-sm-3{margin-top:12px!important;margin-bottom:12px!important}.my-sm-4{margin-top:16px!important;margin-bottom:16px!important}.my-sm-5{margin-top:20px!important;margin-bottom:20px!important}.my-sm-6{margin-top:24px!important;margin-bottom:24px!important}.my-sm-7{margin-top:28px!important;margin-bottom:28px!important}.my-sm-8{margin-top:32px!important;margin-bottom:32px!important}.my-sm-9{margin-top:36px!important;margin-bottom:36px!important}.my-sm-10{margin-top:40px!important;margin-bottom:40px!important}.my-sm-11{margin-top:44px!important;margin-bottom:44px!important}.my-sm-12{margin-top:48px!important;margin-bottom:48px!important}.my-sm-13{margin-top:52px!important;margin-bottom:52px!important}.my-sm-14{margin-top:56px!important;margin-bottom:56px!important}.my-sm-15{margin-top:60px!important;margin-bottom:60px!important}.my-sm-16{margin-top:64px!important;margin-bottom:64px!important}.my-sm-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-sm-0{margin-top:0!important}.mt-sm-1{margin-top:4px!important}.mt-sm-2{margin-top:8px!important}.mt-sm-3{margin-top:12px!important}.mt-sm-4{margin-top:16px!important}.mt-sm-5{margin-top:20px!important}.mt-sm-6{margin-top:24px!important}.mt-sm-7{margin-top:28px!important}.mt-sm-8{margin-top:32px!important}.mt-sm-9{margin-top:36px!important}.mt-sm-10{margin-top:40px!important}.mt-sm-11{margin-top:44px!important}.mt-sm-12{margin-top:48px!important}.mt-sm-13{margin-top:52px!important}.mt-sm-14{margin-top:56px!important}.mt-sm-15{margin-top:60px!important}.mt-sm-16{margin-top:64px!important}.mt-sm-auto{margin-top:auto!important}.mr-sm-0{margin-right:0!important}.mr-sm-1{margin-right:4px!important}.mr-sm-2{margin-right:8px!important}.mr-sm-3{margin-right:12px!important}.mr-sm-4{margin-right:16px!important}.mr-sm-5{margin-right:20px!important}.mr-sm-6{margin-right:24px!important}.mr-sm-7{margin-right:28px!important}.mr-sm-8{margin-right:32px!important}.mr-sm-9{margin-right:36px!important}.mr-sm-10{margin-right:40px!important}.mr-sm-11{margin-right:44px!important}.mr-sm-12{margin-right:48px!important}.mr-sm-13{margin-right:52px!important}.mr-sm-14{margin-right:56px!important}.mr-sm-15{margin-right:60px!important}.mr-sm-16{margin-right:64px!important}.mr-sm-auto{margin-right:auto!important}.mb-sm-0{margin-bottom:0!important}.mb-sm-1{margin-bottom:4px!important}.mb-sm-2{margin-bottom:8px!important}.mb-sm-3{margin-bottom:12px!important}.mb-sm-4{margin-bottom:16px!important}.mb-sm-5{margin-bottom:20px!important}.mb-sm-6{margin-bottom:24px!important}.mb-sm-7{margin-bottom:28px!important}.mb-sm-8{margin-bottom:32px!important}.mb-sm-9{margin-bottom:36px!important}.mb-sm-10{margin-bottom:40px!important}.mb-sm-11{margin-bottom:44px!important}.mb-sm-12{margin-bottom:48px!important}.mb-sm-13{margin-bottom:52px!important}.mb-sm-14{margin-bottom:56px!important}.mb-sm-15{margin-bottom:60px!important}.mb-sm-16{margin-bottom:64px!important}.mb-sm-auto{margin-bottom:auto!important}.ml-sm-0{margin-left:0!important}.ml-sm-1{margin-left:4px!important}.ml-sm-2{margin-left:8px!important}.ml-sm-3{margin-left:12px!important}.ml-sm-4{margin-left:16px!important}.ml-sm-5{margin-left:20px!important}.ml-sm-6{margin-left:24px!important}.ml-sm-7{margin-left:28px!important}.ml-sm-8{margin-left:32px!important}.ml-sm-9{margin-left:36px!important}.ml-sm-10{margin-left:40px!important}.ml-sm-11{margin-left:44px!important}.ml-sm-12{margin-left:48px!important}.ml-sm-13{margin-left:52px!important}.ml-sm-14{margin-left:56px!important}.ml-sm-15{margin-left:60px!important}.ml-sm-16{margin-left:64px!important}.ml-sm-auto{margin-left:auto!important}.ms-sm-0{margin-inline-start:0px!important}.ms-sm-1{margin-inline-start:4px!important}.ms-sm-2{margin-inline-start:8px!important}.ms-sm-3{margin-inline-start:12px!important}.ms-sm-4{margin-inline-start:16px!important}.ms-sm-5{margin-inline-start:20px!important}.ms-sm-6{margin-inline-start:24px!important}.ms-sm-7{margin-inline-start:28px!important}.ms-sm-8{margin-inline-start:32px!important}.ms-sm-9{margin-inline-start:36px!important}.ms-sm-10{margin-inline-start:40px!important}.ms-sm-11{margin-inline-start:44px!important}.ms-sm-12{margin-inline-start:48px!important}.ms-sm-13{margin-inline-start:52px!important}.ms-sm-14{margin-inline-start:56px!important}.ms-sm-15{margin-inline-start:60px!important}.ms-sm-16{margin-inline-start:64px!important}.ms-sm-auto{margin-inline-start:auto!important}.me-sm-0{margin-inline-end:0px!important}.me-sm-1{margin-inline-end:4px!important}.me-sm-2{margin-inline-end:8px!important}.me-sm-3{margin-inline-end:12px!important}.me-sm-4{margin-inline-end:16px!important}.me-sm-5{margin-inline-end:20px!important}.me-sm-6{margin-inline-end:24px!important}.me-sm-7{margin-inline-end:28px!important}.me-sm-8{margin-inline-end:32px!important}.me-sm-9{margin-inline-end:36px!important}.me-sm-10{margin-inline-end:40px!important}.me-sm-11{margin-inline-end:44px!important}.me-sm-12{margin-inline-end:48px!important}.me-sm-13{margin-inline-end:52px!important}.me-sm-14{margin-inline-end:56px!important}.me-sm-15{margin-inline-end:60px!important}.me-sm-16{margin-inline-end:64px!important}.me-sm-auto{margin-inline-end:auto!important}.ma-sm-n1{margin:-4px!important}.ma-sm-n2{margin:-8px!important}.ma-sm-n3{margin:-12px!important}.ma-sm-n4{margin:-16px!important}.ma-sm-n5{margin:-20px!important}.ma-sm-n6{margin:-24px!important}.ma-sm-n7{margin:-28px!important}.ma-sm-n8{margin:-32px!important}.ma-sm-n9{margin:-36px!important}.ma-sm-n10{margin:-40px!important}.ma-sm-n11{margin:-44px!important}.ma-sm-n12{margin:-48px!important}.ma-sm-n13{margin:-52px!important}.ma-sm-n14{margin:-56px!important}.ma-sm-n15{margin:-60px!important}.ma-sm-n16{margin:-64px!important}.mx-sm-n1{margin-right:-4px!important;margin-left:-4px!important}.mx-sm-n2{margin-right:-8px!important;margin-left:-8px!important}.mx-sm-n3{margin-right:-12px!important;margin-left:-12px!important}.mx-sm-n4{margin-right:-16px!important;margin-left:-16px!important}.mx-sm-n5{margin-right:-20px!important;margin-left:-20px!important}.mx-sm-n6{margin-right:-24px!important;margin-left:-24px!important}.mx-sm-n7{margin-right:-28px!important;margin-left:-28px!important}.mx-sm-n8{margin-right:-32px!important;margin-left:-32px!important}.mx-sm-n9{margin-right:-36px!important;margin-left:-36px!important}.mx-sm-n10{margin-right:-40px!important;margin-left:-40px!important}.mx-sm-n11{margin-right:-44px!important;margin-left:-44px!important}.mx-sm-n12{margin-right:-48px!important;margin-left:-48px!important}.mx-sm-n13{margin-right:-52px!important;margin-left:-52px!important}.mx-sm-n14{margin-right:-56px!important;margin-left:-56px!important}.mx-sm-n15{margin-right:-60px!important;margin-left:-60px!important}.mx-sm-n16{margin-right:-64px!important;margin-left:-64px!important}.my-sm-n1{margin-top:-4px!important;margin-bottom:-4px!important}.my-sm-n2{margin-top:-8px!important;margin-bottom:-8px!important}.my-sm-n3{margin-top:-12px!important;margin-bottom:-12px!important}.my-sm-n4{margin-top:-16px!important;margin-bottom:-16px!important}.my-sm-n5{margin-top:-20px!important;margin-bottom:-20px!important}.my-sm-n6{margin-top:-24px!important;margin-bottom:-24px!important}.my-sm-n7{margin-top:-28px!important;margin-bottom:-28px!important}.my-sm-n8{margin-top:-32px!important;margin-bottom:-32px!important}.my-sm-n9{margin-top:-36px!important;margin-bottom:-36px!important}.my-sm-n10{margin-top:-40px!important;margin-bottom:-40px!important}.my-sm-n11{margin-top:-44px!important;margin-bottom:-44px!important}.my-sm-n12{margin-top:-48px!important;margin-bottom:-48px!important}.my-sm-n13{margin-top:-52px!important;margin-bottom:-52px!important}.my-sm-n14{margin-top:-56px!important;margin-bottom:-56px!important}.my-sm-n15{margin-top:-60px!important;margin-bottom:-60px!important}.my-sm-n16{margin-top:-64px!important;margin-bottom:-64px!important}.mt-sm-n1{margin-top:-4px!important}.mt-sm-n2{margin-top:-8px!important}.mt-sm-n3{margin-top:-12px!important}.mt-sm-n4{margin-top:-16px!important}.mt-sm-n5{margin-top:-20px!important}.mt-sm-n6{margin-top:-24px!important}.mt-sm-n7{margin-top:-28px!important}.mt-sm-n8{margin-top:-32px!important}.mt-sm-n9{margin-top:-36px!important}.mt-sm-n10{margin-top:-40px!important}.mt-sm-n11{margin-top:-44px!important}.mt-sm-n12{margin-top:-48px!important}.mt-sm-n13{margin-top:-52px!important}.mt-sm-n14{margin-top:-56px!important}.mt-sm-n15{margin-top:-60px!important}.mt-sm-n16{margin-top:-64px!important}.mr-sm-n1{margin-right:-4px!important}.mr-sm-n2{margin-right:-8px!important}.mr-sm-n3{margin-right:-12px!important}.mr-sm-n4{margin-right:-16px!important}.mr-sm-n5{margin-right:-20px!important}.mr-sm-n6{margin-right:-24px!important}.mr-sm-n7{margin-right:-28px!important}.mr-sm-n8{margin-right:-32px!important}.mr-sm-n9{margin-right:-36px!important}.mr-sm-n10{margin-right:-40px!important}.mr-sm-n11{margin-right:-44px!important}.mr-sm-n12{margin-right:-48px!important}.mr-sm-n13{margin-right:-52px!important}.mr-sm-n14{margin-right:-56px!important}.mr-sm-n15{margin-right:-60px!important}.mr-sm-n16{margin-right:-64px!important}.mb-sm-n1{margin-bottom:-4px!important}.mb-sm-n2{margin-bottom:-8px!important}.mb-sm-n3{margin-bottom:-12px!important}.mb-sm-n4{margin-bottom:-16px!important}.mb-sm-n5{margin-bottom:-20px!important}.mb-sm-n6{margin-bottom:-24px!important}.mb-sm-n7{margin-bottom:-28px!important}.mb-sm-n8{margin-bottom:-32px!important}.mb-sm-n9{margin-bottom:-36px!important}.mb-sm-n10{margin-bottom:-40px!important}.mb-sm-n11{margin-bottom:-44px!important}.mb-sm-n12{margin-bottom:-48px!important}.mb-sm-n13{margin-bottom:-52px!important}.mb-sm-n14{margin-bottom:-56px!important}.mb-sm-n15{margin-bottom:-60px!important}.mb-sm-n16{margin-bottom:-64px!important}.ml-sm-n1{margin-left:-4px!important}.ml-sm-n2{margin-left:-8px!important}.ml-sm-n3{margin-left:-12px!important}.ml-sm-n4{margin-left:-16px!important}.ml-sm-n5{margin-left:-20px!important}.ml-sm-n6{margin-left:-24px!important}.ml-sm-n7{margin-left:-28px!important}.ml-sm-n8{margin-left:-32px!important}.ml-sm-n9{margin-left:-36px!important}.ml-sm-n10{margin-left:-40px!important}.ml-sm-n11{margin-left:-44px!important}.ml-sm-n12{margin-left:-48px!important}.ml-sm-n13{margin-left:-52px!important}.ml-sm-n14{margin-left:-56px!important}.ml-sm-n15{margin-left:-60px!important}.ml-sm-n16{margin-left:-64px!important}.ms-sm-n1{margin-inline-start:-4px!important}.ms-sm-n2{margin-inline-start:-8px!important}.ms-sm-n3{margin-inline-start:-12px!important}.ms-sm-n4{margin-inline-start:-16px!important}.ms-sm-n5{margin-inline-start:-20px!important}.ms-sm-n6{margin-inline-start:-24px!important}.ms-sm-n7{margin-inline-start:-28px!important}.ms-sm-n8{margin-inline-start:-32px!important}.ms-sm-n9{margin-inline-start:-36px!important}.ms-sm-n10{margin-inline-start:-40px!important}.ms-sm-n11{margin-inline-start:-44px!important}.ms-sm-n12{margin-inline-start:-48px!important}.ms-sm-n13{margin-inline-start:-52px!important}.ms-sm-n14{margin-inline-start:-56px!important}.ms-sm-n15{margin-inline-start:-60px!important}.ms-sm-n16{margin-inline-start:-64px!important}.me-sm-n1{margin-inline-end:-4px!important}.me-sm-n2{margin-inline-end:-8px!important}.me-sm-n3{margin-inline-end:-12px!important}.me-sm-n4{margin-inline-end:-16px!important}.me-sm-n5{margin-inline-end:-20px!important}.me-sm-n6{margin-inline-end:-24px!important}.me-sm-n7{margin-inline-end:-28px!important}.me-sm-n8{margin-inline-end:-32px!important}.me-sm-n9{margin-inline-end:-36px!important}.me-sm-n10{margin-inline-end:-40px!important}.me-sm-n11{margin-inline-end:-44px!important}.me-sm-n12{margin-inline-end:-48px!important}.me-sm-n13{margin-inline-end:-52px!important}.me-sm-n14{margin-inline-end:-56px!important}.me-sm-n15{margin-inline-end:-60px!important}.me-sm-n16{margin-inline-end:-64px!important}.pa-sm-0{padding:0!important}.pa-sm-1{padding:4px!important}.pa-sm-2{padding:8px!important}.pa-sm-3{padding:12px!important}.pa-sm-4{padding:16px!important}.pa-sm-5{padding:20px!important}.pa-sm-6{padding:24px!important}.pa-sm-7{padding:28px!important}.pa-sm-8{padding:32px!important}.pa-sm-9{padding:36px!important}.pa-sm-10{padding:40px!important}.pa-sm-11{padding:44px!important}.pa-sm-12{padding:48px!important}.pa-sm-13{padding:52px!important}.pa-sm-14{padding:56px!important}.pa-sm-15{padding:60px!important}.pa-sm-16{padding:64px!important}.px-sm-0{padding-right:0!important;padding-left:0!important}.px-sm-1{padding-right:4px!important;padding-left:4px!important}.px-sm-2{padding-right:8px!important;padding-left:8px!important}.px-sm-3{padding-right:12px!important;padding-left:12px!important}.px-sm-4{padding-right:16px!important;padding-left:16px!important}.px-sm-5{padding-right:20px!important;padding-left:20px!important}.px-sm-6{padding-right:24px!important;padding-left:24px!important}.px-sm-7{padding-right:28px!important;padding-left:28px!important}.px-sm-8{padding-right:32px!important;padding-left:32px!important}.px-sm-9{padding-right:36px!important;padding-left:36px!important}.px-sm-10{padding-right:40px!important;padding-left:40px!important}.px-sm-11{padding-right:44px!important;padding-left:44px!important}.px-sm-12{padding-right:48px!important;padding-left:48px!important}.px-sm-13{padding-right:52px!important;padding-left:52px!important}.px-sm-14{padding-right:56px!important;padding-left:56px!important}.px-sm-15{padding-right:60px!important;padding-left:60px!important}.px-sm-16{padding-right:64px!important;padding-left:64px!important}.py-sm-0{padding-top:0!important;padding-bottom:0!important}.py-sm-1{padding-top:4px!important;padding-bottom:4px!important}.py-sm-2{padding-top:8px!important;padding-bottom:8px!important}.py-sm-3{padding-top:12px!important;padding-bottom:12px!important}.py-sm-4{padding-top:16px!important;padding-bottom:16px!important}.py-sm-5{padding-top:20px!important;padding-bottom:20px!important}.py-sm-6{padding-top:24px!important;padding-bottom:24px!important}.py-sm-7{padding-top:28px!important;padding-bottom:28px!important}.py-sm-8{padding-top:32px!important;padding-bottom:32px!important}.py-sm-9{padding-top:36px!important;padding-bottom:36px!important}.py-sm-10{padding-top:40px!important;padding-bottom:40px!important}.py-sm-11{padding-top:44px!important;padding-bottom:44px!important}.py-sm-12{padding-top:48px!important;padding-bottom:48px!important}.py-sm-13{padding-top:52px!important;padding-bottom:52px!important}.py-sm-14{padding-top:56px!important;padding-bottom:56px!important}.py-sm-15{padding-top:60px!important;padding-bottom:60px!important}.py-sm-16{padding-top:64px!important;padding-bottom:64px!important}.pt-sm-0{padding-top:0!important}.pt-sm-1{padding-top:4px!important}.pt-sm-2{padding-top:8px!important}.pt-sm-3{padding-top:12px!important}.pt-sm-4{padding-top:16px!important}.pt-sm-5{padding-top:20px!important}.pt-sm-6{padding-top:24px!important}.pt-sm-7{padding-top:28px!important}.pt-sm-8{padding-top:32px!important}.pt-sm-9{padding-top:36px!important}.pt-sm-10{padding-top:40px!important}.pt-sm-11{padding-top:44px!important}.pt-sm-12{padding-top:48px!important}.pt-sm-13{padding-top:52px!important}.pt-sm-14{padding-top:56px!important}.pt-sm-15{padding-top:60px!important}.pt-sm-16{padding-top:64px!important}.pr-sm-0{padding-right:0!important}.pr-sm-1{padding-right:4px!important}.pr-sm-2{padding-right:8px!important}.pr-sm-3{padding-right:12px!important}.pr-sm-4{padding-right:16px!important}.pr-sm-5{padding-right:20px!important}.pr-sm-6{padding-right:24px!important}.pr-sm-7{padding-right:28px!important}.pr-sm-8{padding-right:32px!important}.pr-sm-9{padding-right:36px!important}.pr-sm-10{padding-right:40px!important}.pr-sm-11{padding-right:44px!important}.pr-sm-12{padding-right:48px!important}.pr-sm-13{padding-right:52px!important}.pr-sm-14{padding-right:56px!important}.pr-sm-15{padding-right:60px!important}.pr-sm-16{padding-right:64px!important}.pb-sm-0{padding-bottom:0!important}.pb-sm-1{padding-bottom:4px!important}.pb-sm-2{padding-bottom:8px!important}.pb-sm-3{padding-bottom:12px!important}.pb-sm-4{padding-bottom:16px!important}.pb-sm-5{padding-bottom:20px!important}.pb-sm-6{padding-bottom:24px!important}.pb-sm-7{padding-bottom:28px!important}.pb-sm-8{padding-bottom:32px!important}.pb-sm-9{padding-bottom:36px!important}.pb-sm-10{padding-bottom:40px!important}.pb-sm-11{padding-bottom:44px!important}.pb-sm-12{padding-bottom:48px!important}.pb-sm-13{padding-bottom:52px!important}.pb-sm-14{padding-bottom:56px!important}.pb-sm-15{padding-bottom:60px!important}.pb-sm-16{padding-bottom:64px!important}.pl-sm-0{padding-left:0!important}.pl-sm-1{padding-left:4px!important}.pl-sm-2{padding-left:8px!important}.pl-sm-3{padding-left:12px!important}.pl-sm-4{padding-left:16px!important}.pl-sm-5{padding-left:20px!important}.pl-sm-6{padding-left:24px!important}.pl-sm-7{padding-left:28px!important}.pl-sm-8{padding-left:32px!important}.pl-sm-9{padding-left:36px!important}.pl-sm-10{padding-left:40px!important}.pl-sm-11{padding-left:44px!important}.pl-sm-12{padding-left:48px!important}.pl-sm-13{padding-left:52px!important}.pl-sm-14{padding-left:56px!important}.pl-sm-15{padding-left:60px!important}.pl-sm-16{padding-left:64px!important}.ps-sm-0{padding-inline-start:0px!important}.ps-sm-1{padding-inline-start:4px!important}.ps-sm-2{padding-inline-start:8px!important}.ps-sm-3{padding-inline-start:12px!important}.ps-sm-4{padding-inline-start:16px!important}.ps-sm-5{padding-inline-start:20px!important}.ps-sm-6{padding-inline-start:24px!important}.ps-sm-7{padding-inline-start:28px!important}.ps-sm-8{padding-inline-start:32px!important}.ps-sm-9{padding-inline-start:36px!important}.ps-sm-10{padding-inline-start:40px!important}.ps-sm-11{padding-inline-start:44px!important}.ps-sm-12{padding-inline-start:48px!important}.ps-sm-13{padding-inline-start:52px!important}.ps-sm-14{padding-inline-start:56px!important}.ps-sm-15{padding-inline-start:60px!important}.ps-sm-16{padding-inline-start:64px!important}.pe-sm-0{padding-inline-end:0px!important}.pe-sm-1{padding-inline-end:4px!important}.pe-sm-2{padding-inline-end:8px!important}.pe-sm-3{padding-inline-end:12px!important}.pe-sm-4{padding-inline-end:16px!important}.pe-sm-5{padding-inline-end:20px!important}.pe-sm-6{padding-inline-end:24px!important}.pe-sm-7{padding-inline-end:28px!important}.pe-sm-8{padding-inline-end:32px!important}.pe-sm-9{padding-inline-end:36px!important}.pe-sm-10{padding-inline-end:40px!important}.pe-sm-11{padding-inline-end:44px!important}.pe-sm-12{padding-inline-end:48px!important}.pe-sm-13{padding-inline-end:52px!important}.pe-sm-14{padding-inline-end:56px!important}.pe-sm-15{padding-inline-end:60px!important}.pe-sm-16{padding-inline-end:64px!important}.text-sm-left{text-align:left!important}.text-sm-right{text-align:right!important}.text-sm-center{text-align:center!important}.text-sm-justify{text-align:justify!important}.text-sm-start{text-align:start!important}.text-sm-end{text-align:end!important}.text-sm-h1{font-size:6rem!important;font-weight:300;line-height:6rem;letter-spacing:-.015625em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-sm-h2{font-size:3.75rem!important;font-weight:300;line-height:3.75rem;letter-spacing:-.0083333333em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-sm-h3{font-size:3rem!important;font-weight:400;line-height:3.125rem;letter-spacing:normal!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-sm-h4{font-size:2.125rem!important;font-weight:400;line-height:2.5rem;letter-spacing:.0073529412em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-sm-h5{font-size:1.5rem!important;font-weight:400;line-height:2rem;letter-spacing:normal!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-sm-h6{font-size:1.25rem!important;font-weight:500;line-height:2rem;letter-spacing:.0125em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-sm-subtitle-1{font-size:1rem!important;font-weight:400;line-height:1.75rem;letter-spacing:.009375em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-sm-subtitle-2{font-size:.875rem!important;font-weight:500;line-height:1.375rem;letter-spacing:.0071428571em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-sm-body-1{font-size:1rem!important;font-weight:400;line-height:1.5rem;letter-spacing:.03125em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-sm-body-2{font-size:.875rem!important;font-weight:400;line-height:1.25rem;letter-spacing:.0178571429em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-sm-button{font-size:.875rem!important;font-weight:500;line-height:2.25rem;letter-spacing:.0892857143em!important;font-family:Roboto,sans-serif!important;text-transform:uppercase!important}.text-sm-caption{font-size:.75rem!important;font-weight:400;line-height:1.25rem;letter-spacing:.0333333333em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-sm-overline{font-size:.75rem!important;font-weight:500;line-height:2rem;letter-spacing:.1666666667em!important;font-family:Roboto,sans-serif!important;text-transform:uppercase!important}}@media (min-width: 960px){.d-md-none{display:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}.float-md-none{float:none!important}.float-md-left{float:left!important}.float-md-right{float:right!important}.v-locale--is-rtl .float-md-end{float:left!important}.v-locale--is-rtl .float-md-start,.v-locale--is-ltr .float-md-end{float:right!important}.v-locale--is-ltr .float-md-start{float:left!important}.flex-md-fill,.flex-md-1-1{flex:1 1 auto!important}.flex-md-1-0{flex:1 0 auto!important}.flex-md-0-1{flex:0 1 auto!important}.flex-md-0-0{flex:0 0 auto!important}.flex-md-1-1-100{flex:1 1 100%!important}.flex-md-1-0-100{flex:1 0 100%!important}.flex-md-0-1-100{flex:0 1 100%!important}.flex-md-0-0-100{flex:0 0 100%!important}.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-md-start{justify-content:flex-start!important}.justify-md-end{justify-content:flex-end!important}.justify-md-center{justify-content:center!important}.justify-md-space-between{justify-content:space-between!important}.justify-md-space-around{justify-content:space-around!important}.justify-md-space-evenly{justify-content:space-evenly!important}.align-md-start{align-items:flex-start!important}.align-md-end{align-items:flex-end!important}.align-md-center{align-items:center!important}.align-md-baseline{align-items:baseline!important}.align-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-space-between{align-content:space-between!important}.align-content-md-space-around{align-content:space-around!important}.align-content-md-space-evenly{align-content:space-evenly!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}.order-md-first{order:-1!important}.order-md-0{order:0!important}.order-md-1{order:1!important}.order-md-2{order:2!important}.order-md-3{order:3!important}.order-md-4{order:4!important}.order-md-5{order:5!important}.order-md-6{order:6!important}.order-md-7{order:7!important}.order-md-8{order:8!important}.order-md-9{order:9!important}.order-md-10{order:10!important}.order-md-11{order:11!important}.order-md-12{order:12!important}.order-md-last{order:13!important}.ma-md-0{margin:0!important}.ma-md-1{margin:4px!important}.ma-md-2{margin:8px!important}.ma-md-3{margin:12px!important}.ma-md-4{margin:16px!important}.ma-md-5{margin:20px!important}.ma-md-6{margin:24px!important}.ma-md-7{margin:28px!important}.ma-md-8{margin:32px!important}.ma-md-9{margin:36px!important}.ma-md-10{margin:40px!important}.ma-md-11{margin:44px!important}.ma-md-12{margin:48px!important}.ma-md-13{margin:52px!important}.ma-md-14{margin:56px!important}.ma-md-15{margin:60px!important}.ma-md-16{margin:64px!important}.ma-md-auto{margin:auto!important}.mx-md-0{margin-right:0!important;margin-left:0!important}.mx-md-1{margin-right:4px!important;margin-left:4px!important}.mx-md-2{margin-right:8px!important;margin-left:8px!important}.mx-md-3{margin-right:12px!important;margin-left:12px!important}.mx-md-4{margin-right:16px!important;margin-left:16px!important}.mx-md-5{margin-right:20px!important;margin-left:20px!important}.mx-md-6{margin-right:24px!important;margin-left:24px!important}.mx-md-7{margin-right:28px!important;margin-left:28px!important}.mx-md-8{margin-right:32px!important;margin-left:32px!important}.mx-md-9{margin-right:36px!important;margin-left:36px!important}.mx-md-10{margin-right:40px!important;margin-left:40px!important}.mx-md-11{margin-right:44px!important;margin-left:44px!important}.mx-md-12{margin-right:48px!important;margin-left:48px!important}.mx-md-13{margin-right:52px!important;margin-left:52px!important}.mx-md-14{margin-right:56px!important;margin-left:56px!important}.mx-md-15{margin-right:60px!important;margin-left:60px!important}.mx-md-16{margin-right:64px!important;margin-left:64px!important}.mx-md-auto{margin-right:auto!important;margin-left:auto!important}.my-md-0{margin-top:0!important;margin-bottom:0!important}.my-md-1{margin-top:4px!important;margin-bottom:4px!important}.my-md-2{margin-top:8px!important;margin-bottom:8px!important}.my-md-3{margin-top:12px!important;margin-bottom:12px!important}.my-md-4{margin-top:16px!important;margin-bottom:16px!important}.my-md-5{margin-top:20px!important;margin-bottom:20px!important}.my-md-6{margin-top:24px!important;margin-bottom:24px!important}.my-md-7{margin-top:28px!important;margin-bottom:28px!important}.my-md-8{margin-top:32px!important;margin-bottom:32px!important}.my-md-9{margin-top:36px!important;margin-bottom:36px!important}.my-md-10{margin-top:40px!important;margin-bottom:40px!important}.my-md-11{margin-top:44px!important;margin-bottom:44px!important}.my-md-12{margin-top:48px!important;margin-bottom:48px!important}.my-md-13{margin-top:52px!important;margin-bottom:52px!important}.my-md-14{margin-top:56px!important;margin-bottom:56px!important}.my-md-15{margin-top:60px!important;margin-bottom:60px!important}.my-md-16{margin-top:64px!important;margin-bottom:64px!important}.my-md-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-md-0{margin-top:0!important}.mt-md-1{margin-top:4px!important}.mt-md-2{margin-top:8px!important}.mt-md-3{margin-top:12px!important}.mt-md-4{margin-top:16px!important}.mt-md-5{margin-top:20px!important}.mt-md-6{margin-top:24px!important}.mt-md-7{margin-top:28px!important}.mt-md-8{margin-top:32px!important}.mt-md-9{margin-top:36px!important}.mt-md-10{margin-top:40px!important}.mt-md-11{margin-top:44px!important}.mt-md-12{margin-top:48px!important}.mt-md-13{margin-top:52px!important}.mt-md-14{margin-top:56px!important}.mt-md-15{margin-top:60px!important}.mt-md-16{margin-top:64px!important}.mt-md-auto{margin-top:auto!important}.mr-md-0{margin-right:0!important}.mr-md-1{margin-right:4px!important}.mr-md-2{margin-right:8px!important}.mr-md-3{margin-right:12px!important}.mr-md-4{margin-right:16px!important}.mr-md-5{margin-right:20px!important}.mr-md-6{margin-right:24px!important}.mr-md-7{margin-right:28px!important}.mr-md-8{margin-right:32px!important}.mr-md-9{margin-right:36px!important}.mr-md-10{margin-right:40px!important}.mr-md-11{margin-right:44px!important}.mr-md-12{margin-right:48px!important}.mr-md-13{margin-right:52px!important}.mr-md-14{margin-right:56px!important}.mr-md-15{margin-right:60px!important}.mr-md-16{margin-right:64px!important}.mr-md-auto{margin-right:auto!important}.mb-md-0{margin-bottom:0!important}.mb-md-1{margin-bottom:4px!important}.mb-md-2{margin-bottom:8px!important}.mb-md-3{margin-bottom:12px!important}.mb-md-4{margin-bottom:16px!important}.mb-md-5{margin-bottom:20px!important}.mb-md-6{margin-bottom:24px!important}.mb-md-7{margin-bottom:28px!important}.mb-md-8{margin-bottom:32px!important}.mb-md-9{margin-bottom:36px!important}.mb-md-10{margin-bottom:40px!important}.mb-md-11{margin-bottom:44px!important}.mb-md-12{margin-bottom:48px!important}.mb-md-13{margin-bottom:52px!important}.mb-md-14{margin-bottom:56px!important}.mb-md-15{margin-bottom:60px!important}.mb-md-16{margin-bottom:64px!important}.mb-md-auto{margin-bottom:auto!important}.ml-md-0{margin-left:0!important}.ml-md-1{margin-left:4px!important}.ml-md-2{margin-left:8px!important}.ml-md-3{margin-left:12px!important}.ml-md-4{margin-left:16px!important}.ml-md-5{margin-left:20px!important}.ml-md-6{margin-left:24px!important}.ml-md-7{margin-left:28px!important}.ml-md-8{margin-left:32px!important}.ml-md-9{margin-left:36px!important}.ml-md-10{margin-left:40px!important}.ml-md-11{margin-left:44px!important}.ml-md-12{margin-left:48px!important}.ml-md-13{margin-left:52px!important}.ml-md-14{margin-left:56px!important}.ml-md-15{margin-left:60px!important}.ml-md-16{margin-left:64px!important}.ml-md-auto{margin-left:auto!important}.ms-md-0{margin-inline-start:0px!important}.ms-md-1{margin-inline-start:4px!important}.ms-md-2{margin-inline-start:8px!important}.ms-md-3{margin-inline-start:12px!important}.ms-md-4{margin-inline-start:16px!important}.ms-md-5{margin-inline-start:20px!important}.ms-md-6{margin-inline-start:24px!important}.ms-md-7{margin-inline-start:28px!important}.ms-md-8{margin-inline-start:32px!important}.ms-md-9{margin-inline-start:36px!important}.ms-md-10{margin-inline-start:40px!important}.ms-md-11{margin-inline-start:44px!important}.ms-md-12{margin-inline-start:48px!important}.ms-md-13{margin-inline-start:52px!important}.ms-md-14{margin-inline-start:56px!important}.ms-md-15{margin-inline-start:60px!important}.ms-md-16{margin-inline-start:64px!important}.ms-md-auto{margin-inline-start:auto!important}.me-md-0{margin-inline-end:0px!important}.me-md-1{margin-inline-end:4px!important}.me-md-2{margin-inline-end:8px!important}.me-md-3{margin-inline-end:12px!important}.me-md-4{margin-inline-end:16px!important}.me-md-5{margin-inline-end:20px!important}.me-md-6{margin-inline-end:24px!important}.me-md-7{margin-inline-end:28px!important}.me-md-8{margin-inline-end:32px!important}.me-md-9{margin-inline-end:36px!important}.me-md-10{margin-inline-end:40px!important}.me-md-11{margin-inline-end:44px!important}.me-md-12{margin-inline-end:48px!important}.me-md-13{margin-inline-end:52px!important}.me-md-14{margin-inline-end:56px!important}.me-md-15{margin-inline-end:60px!important}.me-md-16{margin-inline-end:64px!important}.me-md-auto{margin-inline-end:auto!important}.ma-md-n1{margin:-4px!important}.ma-md-n2{margin:-8px!important}.ma-md-n3{margin:-12px!important}.ma-md-n4{margin:-16px!important}.ma-md-n5{margin:-20px!important}.ma-md-n6{margin:-24px!important}.ma-md-n7{margin:-28px!important}.ma-md-n8{margin:-32px!important}.ma-md-n9{margin:-36px!important}.ma-md-n10{margin:-40px!important}.ma-md-n11{margin:-44px!important}.ma-md-n12{margin:-48px!important}.ma-md-n13{margin:-52px!important}.ma-md-n14{margin:-56px!important}.ma-md-n15{margin:-60px!important}.ma-md-n16{margin:-64px!important}.mx-md-n1{margin-right:-4px!important;margin-left:-4px!important}.mx-md-n2{margin-right:-8px!important;margin-left:-8px!important}.mx-md-n3{margin-right:-12px!important;margin-left:-12px!important}.mx-md-n4{margin-right:-16px!important;margin-left:-16px!important}.mx-md-n5{margin-right:-20px!important;margin-left:-20px!important}.mx-md-n6{margin-right:-24px!important;margin-left:-24px!important}.mx-md-n7{margin-right:-28px!important;margin-left:-28px!important}.mx-md-n8{margin-right:-32px!important;margin-left:-32px!important}.mx-md-n9{margin-right:-36px!important;margin-left:-36px!important}.mx-md-n10{margin-right:-40px!important;margin-left:-40px!important}.mx-md-n11{margin-right:-44px!important;margin-left:-44px!important}.mx-md-n12{margin-right:-48px!important;margin-left:-48px!important}.mx-md-n13{margin-right:-52px!important;margin-left:-52px!important}.mx-md-n14{margin-right:-56px!important;margin-left:-56px!important}.mx-md-n15{margin-right:-60px!important;margin-left:-60px!important}.mx-md-n16{margin-right:-64px!important;margin-left:-64px!important}.my-md-n1{margin-top:-4px!important;margin-bottom:-4px!important}.my-md-n2{margin-top:-8px!important;margin-bottom:-8px!important}.my-md-n3{margin-top:-12px!important;margin-bottom:-12px!important}.my-md-n4{margin-top:-16px!important;margin-bottom:-16px!important}.my-md-n5{margin-top:-20px!important;margin-bottom:-20px!important}.my-md-n6{margin-top:-24px!important;margin-bottom:-24px!important}.my-md-n7{margin-top:-28px!important;margin-bottom:-28px!important}.my-md-n8{margin-top:-32px!important;margin-bottom:-32px!important}.my-md-n9{margin-top:-36px!important;margin-bottom:-36px!important}.my-md-n10{margin-top:-40px!important;margin-bottom:-40px!important}.my-md-n11{margin-top:-44px!important;margin-bottom:-44px!important}.my-md-n12{margin-top:-48px!important;margin-bottom:-48px!important}.my-md-n13{margin-top:-52px!important;margin-bottom:-52px!important}.my-md-n14{margin-top:-56px!important;margin-bottom:-56px!important}.my-md-n15{margin-top:-60px!important;margin-bottom:-60px!important}.my-md-n16{margin-top:-64px!important;margin-bottom:-64px!important}.mt-md-n1{margin-top:-4px!important}.mt-md-n2{margin-top:-8px!important}.mt-md-n3{margin-top:-12px!important}.mt-md-n4{margin-top:-16px!important}.mt-md-n5{margin-top:-20px!important}.mt-md-n6{margin-top:-24px!important}.mt-md-n7{margin-top:-28px!important}.mt-md-n8{margin-top:-32px!important}.mt-md-n9{margin-top:-36px!important}.mt-md-n10{margin-top:-40px!important}.mt-md-n11{margin-top:-44px!important}.mt-md-n12{margin-top:-48px!important}.mt-md-n13{margin-top:-52px!important}.mt-md-n14{margin-top:-56px!important}.mt-md-n15{margin-top:-60px!important}.mt-md-n16{margin-top:-64px!important}.mr-md-n1{margin-right:-4px!important}.mr-md-n2{margin-right:-8px!important}.mr-md-n3{margin-right:-12px!important}.mr-md-n4{margin-right:-16px!important}.mr-md-n5{margin-right:-20px!important}.mr-md-n6{margin-right:-24px!important}.mr-md-n7{margin-right:-28px!important}.mr-md-n8{margin-right:-32px!important}.mr-md-n9{margin-right:-36px!important}.mr-md-n10{margin-right:-40px!important}.mr-md-n11{margin-right:-44px!important}.mr-md-n12{margin-right:-48px!important}.mr-md-n13{margin-right:-52px!important}.mr-md-n14{margin-right:-56px!important}.mr-md-n15{margin-right:-60px!important}.mr-md-n16{margin-right:-64px!important}.mb-md-n1{margin-bottom:-4px!important}.mb-md-n2{margin-bottom:-8px!important}.mb-md-n3{margin-bottom:-12px!important}.mb-md-n4{margin-bottom:-16px!important}.mb-md-n5{margin-bottom:-20px!important}.mb-md-n6{margin-bottom:-24px!important}.mb-md-n7{margin-bottom:-28px!important}.mb-md-n8{margin-bottom:-32px!important}.mb-md-n9{margin-bottom:-36px!important}.mb-md-n10{margin-bottom:-40px!important}.mb-md-n11{margin-bottom:-44px!important}.mb-md-n12{margin-bottom:-48px!important}.mb-md-n13{margin-bottom:-52px!important}.mb-md-n14{margin-bottom:-56px!important}.mb-md-n15{margin-bottom:-60px!important}.mb-md-n16{margin-bottom:-64px!important}.ml-md-n1{margin-left:-4px!important}.ml-md-n2{margin-left:-8px!important}.ml-md-n3{margin-left:-12px!important}.ml-md-n4{margin-left:-16px!important}.ml-md-n5{margin-left:-20px!important}.ml-md-n6{margin-left:-24px!important}.ml-md-n7{margin-left:-28px!important}.ml-md-n8{margin-left:-32px!important}.ml-md-n9{margin-left:-36px!important}.ml-md-n10{margin-left:-40px!important}.ml-md-n11{margin-left:-44px!important}.ml-md-n12{margin-left:-48px!important}.ml-md-n13{margin-left:-52px!important}.ml-md-n14{margin-left:-56px!important}.ml-md-n15{margin-left:-60px!important}.ml-md-n16{margin-left:-64px!important}.ms-md-n1{margin-inline-start:-4px!important}.ms-md-n2{margin-inline-start:-8px!important}.ms-md-n3{margin-inline-start:-12px!important}.ms-md-n4{margin-inline-start:-16px!important}.ms-md-n5{margin-inline-start:-20px!important}.ms-md-n6{margin-inline-start:-24px!important}.ms-md-n7{margin-inline-start:-28px!important}.ms-md-n8{margin-inline-start:-32px!important}.ms-md-n9{margin-inline-start:-36px!important}.ms-md-n10{margin-inline-start:-40px!important}.ms-md-n11{margin-inline-start:-44px!important}.ms-md-n12{margin-inline-start:-48px!important}.ms-md-n13{margin-inline-start:-52px!important}.ms-md-n14{margin-inline-start:-56px!important}.ms-md-n15{margin-inline-start:-60px!important}.ms-md-n16{margin-inline-start:-64px!important}.me-md-n1{margin-inline-end:-4px!important}.me-md-n2{margin-inline-end:-8px!important}.me-md-n3{margin-inline-end:-12px!important}.me-md-n4{margin-inline-end:-16px!important}.me-md-n5{margin-inline-end:-20px!important}.me-md-n6{margin-inline-end:-24px!important}.me-md-n7{margin-inline-end:-28px!important}.me-md-n8{margin-inline-end:-32px!important}.me-md-n9{margin-inline-end:-36px!important}.me-md-n10{margin-inline-end:-40px!important}.me-md-n11{margin-inline-end:-44px!important}.me-md-n12{margin-inline-end:-48px!important}.me-md-n13{margin-inline-end:-52px!important}.me-md-n14{margin-inline-end:-56px!important}.me-md-n15{margin-inline-end:-60px!important}.me-md-n16{margin-inline-end:-64px!important}.pa-md-0{padding:0!important}.pa-md-1{padding:4px!important}.pa-md-2{padding:8px!important}.pa-md-3{padding:12px!important}.pa-md-4{padding:16px!important}.pa-md-5{padding:20px!important}.pa-md-6{padding:24px!important}.pa-md-7{padding:28px!important}.pa-md-8{padding:32px!important}.pa-md-9{padding:36px!important}.pa-md-10{padding:40px!important}.pa-md-11{padding:44px!important}.pa-md-12{padding:48px!important}.pa-md-13{padding:52px!important}.pa-md-14{padding:56px!important}.pa-md-15{padding:60px!important}.pa-md-16{padding:64px!important}.px-md-0{padding-right:0!important;padding-left:0!important}.px-md-1{padding-right:4px!important;padding-left:4px!important}.px-md-2{padding-right:8px!important;padding-left:8px!important}.px-md-3{padding-right:12px!important;padding-left:12px!important}.px-md-4{padding-right:16px!important;padding-left:16px!important}.px-md-5{padding-right:20px!important;padding-left:20px!important}.px-md-6{padding-right:24px!important;padding-left:24px!important}.px-md-7{padding-right:28px!important;padding-left:28px!important}.px-md-8{padding-right:32px!important;padding-left:32px!important}.px-md-9{padding-right:36px!important;padding-left:36px!important}.px-md-10{padding-right:40px!important;padding-left:40px!important}.px-md-11{padding-right:44px!important;padding-left:44px!important}.px-md-12{padding-right:48px!important;padding-left:48px!important}.px-md-13{padding-right:52px!important;padding-left:52px!important}.px-md-14{padding-right:56px!important;padding-left:56px!important}.px-md-15{padding-right:60px!important;padding-left:60px!important}.px-md-16{padding-right:64px!important;padding-left:64px!important}.py-md-0{padding-top:0!important;padding-bottom:0!important}.py-md-1{padding-top:4px!important;padding-bottom:4px!important}.py-md-2{padding-top:8px!important;padding-bottom:8px!important}.py-md-3{padding-top:12px!important;padding-bottom:12px!important}.py-md-4{padding-top:16px!important;padding-bottom:16px!important}.py-md-5{padding-top:20px!important;padding-bottom:20px!important}.py-md-6{padding-top:24px!important;padding-bottom:24px!important}.py-md-7{padding-top:28px!important;padding-bottom:28px!important}.py-md-8{padding-top:32px!important;padding-bottom:32px!important}.py-md-9{padding-top:36px!important;padding-bottom:36px!important}.py-md-10{padding-top:40px!important;padding-bottom:40px!important}.py-md-11{padding-top:44px!important;padding-bottom:44px!important}.py-md-12{padding-top:48px!important;padding-bottom:48px!important}.py-md-13{padding-top:52px!important;padding-bottom:52px!important}.py-md-14{padding-top:56px!important;padding-bottom:56px!important}.py-md-15{padding-top:60px!important;padding-bottom:60px!important}.py-md-16{padding-top:64px!important;padding-bottom:64px!important}.pt-md-0{padding-top:0!important}.pt-md-1{padding-top:4px!important}.pt-md-2{padding-top:8px!important}.pt-md-3{padding-top:12px!important}.pt-md-4{padding-top:16px!important}.pt-md-5{padding-top:20px!important}.pt-md-6{padding-top:24px!important}.pt-md-7{padding-top:28px!important}.pt-md-8{padding-top:32px!important}.pt-md-9{padding-top:36px!important}.pt-md-10{padding-top:40px!important}.pt-md-11{padding-top:44px!important}.pt-md-12{padding-top:48px!important}.pt-md-13{padding-top:52px!important}.pt-md-14{padding-top:56px!important}.pt-md-15{padding-top:60px!important}.pt-md-16{padding-top:64px!important}.pr-md-0{padding-right:0!important}.pr-md-1{padding-right:4px!important}.pr-md-2{padding-right:8px!important}.pr-md-3{padding-right:12px!important}.pr-md-4{padding-right:16px!important}.pr-md-5{padding-right:20px!important}.pr-md-6{padding-right:24px!important}.pr-md-7{padding-right:28px!important}.pr-md-8{padding-right:32px!important}.pr-md-9{padding-right:36px!important}.pr-md-10{padding-right:40px!important}.pr-md-11{padding-right:44px!important}.pr-md-12{padding-right:48px!important}.pr-md-13{padding-right:52px!important}.pr-md-14{padding-right:56px!important}.pr-md-15{padding-right:60px!important}.pr-md-16{padding-right:64px!important}.pb-md-0{padding-bottom:0!important}.pb-md-1{padding-bottom:4px!important}.pb-md-2{padding-bottom:8px!important}.pb-md-3{padding-bottom:12px!important}.pb-md-4{padding-bottom:16px!important}.pb-md-5{padding-bottom:20px!important}.pb-md-6{padding-bottom:24px!important}.pb-md-7{padding-bottom:28px!important}.pb-md-8{padding-bottom:32px!important}.pb-md-9{padding-bottom:36px!important}.pb-md-10{padding-bottom:40px!important}.pb-md-11{padding-bottom:44px!important}.pb-md-12{padding-bottom:48px!important}.pb-md-13{padding-bottom:52px!important}.pb-md-14{padding-bottom:56px!important}.pb-md-15{padding-bottom:60px!important}.pb-md-16{padding-bottom:64px!important}.pl-md-0{padding-left:0!important}.pl-md-1{padding-left:4px!important}.pl-md-2{padding-left:8px!important}.pl-md-3{padding-left:12px!important}.pl-md-4{padding-left:16px!important}.pl-md-5{padding-left:20px!important}.pl-md-6{padding-left:24px!important}.pl-md-7{padding-left:28px!important}.pl-md-8{padding-left:32px!important}.pl-md-9{padding-left:36px!important}.pl-md-10{padding-left:40px!important}.pl-md-11{padding-left:44px!important}.pl-md-12{padding-left:48px!important}.pl-md-13{padding-left:52px!important}.pl-md-14{padding-left:56px!important}.pl-md-15{padding-left:60px!important}.pl-md-16{padding-left:64px!important}.ps-md-0{padding-inline-start:0px!important}.ps-md-1{padding-inline-start:4px!important}.ps-md-2{padding-inline-start:8px!important}.ps-md-3{padding-inline-start:12px!important}.ps-md-4{padding-inline-start:16px!important}.ps-md-5{padding-inline-start:20px!important}.ps-md-6{padding-inline-start:24px!important}.ps-md-7{padding-inline-start:28px!important}.ps-md-8{padding-inline-start:32px!important}.ps-md-9{padding-inline-start:36px!important}.ps-md-10{padding-inline-start:40px!important}.ps-md-11{padding-inline-start:44px!important}.ps-md-12{padding-inline-start:48px!important}.ps-md-13{padding-inline-start:52px!important}.ps-md-14{padding-inline-start:56px!important}.ps-md-15{padding-inline-start:60px!important}.ps-md-16{padding-inline-start:64px!important}.pe-md-0{padding-inline-end:0px!important}.pe-md-1{padding-inline-end:4px!important}.pe-md-2{padding-inline-end:8px!important}.pe-md-3{padding-inline-end:12px!important}.pe-md-4{padding-inline-end:16px!important}.pe-md-5{padding-inline-end:20px!important}.pe-md-6{padding-inline-end:24px!important}.pe-md-7{padding-inline-end:28px!important}.pe-md-8{padding-inline-end:32px!important}.pe-md-9{padding-inline-end:36px!important}.pe-md-10{padding-inline-end:40px!important}.pe-md-11{padding-inline-end:44px!important}.pe-md-12{padding-inline-end:48px!important}.pe-md-13{padding-inline-end:52px!important}.pe-md-14{padding-inline-end:56px!important}.pe-md-15{padding-inline-end:60px!important}.pe-md-16{padding-inline-end:64px!important}.text-md-left{text-align:left!important}.text-md-right{text-align:right!important}.text-md-center{text-align:center!important}.text-md-justify{text-align:justify!important}.text-md-start{text-align:start!important}.text-md-end{text-align:end!important}.text-md-h1{font-size:6rem!important;font-weight:300;line-height:6rem;letter-spacing:-.015625em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-md-h2{font-size:3.75rem!important;font-weight:300;line-height:3.75rem;letter-spacing:-.0083333333em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-md-h3{font-size:3rem!important;font-weight:400;line-height:3.125rem;letter-spacing:normal!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-md-h4{font-size:2.125rem!important;font-weight:400;line-height:2.5rem;letter-spacing:.0073529412em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-md-h5{font-size:1.5rem!important;font-weight:400;line-height:2rem;letter-spacing:normal!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-md-h6{font-size:1.25rem!important;font-weight:500;line-height:2rem;letter-spacing:.0125em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-md-subtitle-1{font-size:1rem!important;font-weight:400;line-height:1.75rem;letter-spacing:.009375em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-md-subtitle-2{font-size:.875rem!important;font-weight:500;line-height:1.375rem;letter-spacing:.0071428571em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-md-body-1{font-size:1rem!important;font-weight:400;line-height:1.5rem;letter-spacing:.03125em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-md-body-2{font-size:.875rem!important;font-weight:400;line-height:1.25rem;letter-spacing:.0178571429em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-md-button{font-size:.875rem!important;font-weight:500;line-height:2.25rem;letter-spacing:.0892857143em!important;font-family:Roboto,sans-serif!important;text-transform:uppercase!important}.text-md-caption{font-size:.75rem!important;font-weight:400;line-height:1.25rem;letter-spacing:.0333333333em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-md-overline{font-size:.75rem!important;font-weight:500;line-height:2rem;letter-spacing:.1666666667em!important;font-family:Roboto,sans-serif!important;text-transform:uppercase!important}}@media (min-width: 1280px){.d-lg-none{display:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}.float-lg-none{float:none!important}.float-lg-left{float:left!important}.float-lg-right{float:right!important}.v-locale--is-rtl .float-lg-end{float:left!important}.v-locale--is-rtl .float-lg-start,.v-locale--is-ltr .float-lg-end{float:right!important}.v-locale--is-ltr .float-lg-start{float:left!important}.flex-lg-fill,.flex-lg-1-1{flex:1 1 auto!important}.flex-lg-1-0{flex:1 0 auto!important}.flex-lg-0-1{flex:0 1 auto!important}.flex-lg-0-0{flex:0 0 auto!important}.flex-lg-1-1-100{flex:1 1 100%!important}.flex-lg-1-0-100{flex:1 0 100%!important}.flex-lg-0-1-100{flex:0 1 100%!important}.flex-lg-0-0-100{flex:0 0 100%!important}.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-lg-start{justify-content:flex-start!important}.justify-lg-end{justify-content:flex-end!important}.justify-lg-center{justify-content:center!important}.justify-lg-space-between{justify-content:space-between!important}.justify-lg-space-around{justify-content:space-around!important}.justify-lg-space-evenly{justify-content:space-evenly!important}.align-lg-start{align-items:flex-start!important}.align-lg-end{align-items:flex-end!important}.align-lg-center{align-items:center!important}.align-lg-baseline{align-items:baseline!important}.align-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-space-between{align-content:space-between!important}.align-content-lg-space-around{align-content:space-around!important}.align-content-lg-space-evenly{align-content:space-evenly!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}.order-lg-first{order:-1!important}.order-lg-0{order:0!important}.order-lg-1{order:1!important}.order-lg-2{order:2!important}.order-lg-3{order:3!important}.order-lg-4{order:4!important}.order-lg-5{order:5!important}.order-lg-6{order:6!important}.order-lg-7{order:7!important}.order-lg-8{order:8!important}.order-lg-9{order:9!important}.order-lg-10{order:10!important}.order-lg-11{order:11!important}.order-lg-12{order:12!important}.order-lg-last{order:13!important}.ma-lg-0{margin:0!important}.ma-lg-1{margin:4px!important}.ma-lg-2{margin:8px!important}.ma-lg-3{margin:12px!important}.ma-lg-4{margin:16px!important}.ma-lg-5{margin:20px!important}.ma-lg-6{margin:24px!important}.ma-lg-7{margin:28px!important}.ma-lg-8{margin:32px!important}.ma-lg-9{margin:36px!important}.ma-lg-10{margin:40px!important}.ma-lg-11{margin:44px!important}.ma-lg-12{margin:48px!important}.ma-lg-13{margin:52px!important}.ma-lg-14{margin:56px!important}.ma-lg-15{margin:60px!important}.ma-lg-16{margin:64px!important}.ma-lg-auto{margin:auto!important}.mx-lg-0{margin-right:0!important;margin-left:0!important}.mx-lg-1{margin-right:4px!important;margin-left:4px!important}.mx-lg-2{margin-right:8px!important;margin-left:8px!important}.mx-lg-3{margin-right:12px!important;margin-left:12px!important}.mx-lg-4{margin-right:16px!important;margin-left:16px!important}.mx-lg-5{margin-right:20px!important;margin-left:20px!important}.mx-lg-6{margin-right:24px!important;margin-left:24px!important}.mx-lg-7{margin-right:28px!important;margin-left:28px!important}.mx-lg-8{margin-right:32px!important;margin-left:32px!important}.mx-lg-9{margin-right:36px!important;margin-left:36px!important}.mx-lg-10{margin-right:40px!important;margin-left:40px!important}.mx-lg-11{margin-right:44px!important;margin-left:44px!important}.mx-lg-12{margin-right:48px!important;margin-left:48px!important}.mx-lg-13{margin-right:52px!important;margin-left:52px!important}.mx-lg-14{margin-right:56px!important;margin-left:56px!important}.mx-lg-15{margin-right:60px!important;margin-left:60px!important}.mx-lg-16{margin-right:64px!important;margin-left:64px!important}.mx-lg-auto{margin-right:auto!important;margin-left:auto!important}.my-lg-0{margin-top:0!important;margin-bottom:0!important}.my-lg-1{margin-top:4px!important;margin-bottom:4px!important}.my-lg-2{margin-top:8px!important;margin-bottom:8px!important}.my-lg-3{margin-top:12px!important;margin-bottom:12px!important}.my-lg-4{margin-top:16px!important;margin-bottom:16px!important}.my-lg-5{margin-top:20px!important;margin-bottom:20px!important}.my-lg-6{margin-top:24px!important;margin-bottom:24px!important}.my-lg-7{margin-top:28px!important;margin-bottom:28px!important}.my-lg-8{margin-top:32px!important;margin-bottom:32px!important}.my-lg-9{margin-top:36px!important;margin-bottom:36px!important}.my-lg-10{margin-top:40px!important;margin-bottom:40px!important}.my-lg-11{margin-top:44px!important;margin-bottom:44px!important}.my-lg-12{margin-top:48px!important;margin-bottom:48px!important}.my-lg-13{margin-top:52px!important;margin-bottom:52px!important}.my-lg-14{margin-top:56px!important;margin-bottom:56px!important}.my-lg-15{margin-top:60px!important;margin-bottom:60px!important}.my-lg-16{margin-top:64px!important;margin-bottom:64px!important}.my-lg-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-lg-0{margin-top:0!important}.mt-lg-1{margin-top:4px!important}.mt-lg-2{margin-top:8px!important}.mt-lg-3{margin-top:12px!important}.mt-lg-4{margin-top:16px!important}.mt-lg-5{margin-top:20px!important}.mt-lg-6{margin-top:24px!important}.mt-lg-7{margin-top:28px!important}.mt-lg-8{margin-top:32px!important}.mt-lg-9{margin-top:36px!important}.mt-lg-10{margin-top:40px!important}.mt-lg-11{margin-top:44px!important}.mt-lg-12{margin-top:48px!important}.mt-lg-13{margin-top:52px!important}.mt-lg-14{margin-top:56px!important}.mt-lg-15{margin-top:60px!important}.mt-lg-16{margin-top:64px!important}.mt-lg-auto{margin-top:auto!important}.mr-lg-0{margin-right:0!important}.mr-lg-1{margin-right:4px!important}.mr-lg-2{margin-right:8px!important}.mr-lg-3{margin-right:12px!important}.mr-lg-4{margin-right:16px!important}.mr-lg-5{margin-right:20px!important}.mr-lg-6{margin-right:24px!important}.mr-lg-7{margin-right:28px!important}.mr-lg-8{margin-right:32px!important}.mr-lg-9{margin-right:36px!important}.mr-lg-10{margin-right:40px!important}.mr-lg-11{margin-right:44px!important}.mr-lg-12{margin-right:48px!important}.mr-lg-13{margin-right:52px!important}.mr-lg-14{margin-right:56px!important}.mr-lg-15{margin-right:60px!important}.mr-lg-16{margin-right:64px!important}.mr-lg-auto{margin-right:auto!important}.mb-lg-0{margin-bottom:0!important}.mb-lg-1{margin-bottom:4px!important}.mb-lg-2{margin-bottom:8px!important}.mb-lg-3{margin-bottom:12px!important}.mb-lg-4{margin-bottom:16px!important}.mb-lg-5{margin-bottom:20px!important}.mb-lg-6{margin-bottom:24px!important}.mb-lg-7{margin-bottom:28px!important}.mb-lg-8{margin-bottom:32px!important}.mb-lg-9{margin-bottom:36px!important}.mb-lg-10{margin-bottom:40px!important}.mb-lg-11{margin-bottom:44px!important}.mb-lg-12{margin-bottom:48px!important}.mb-lg-13{margin-bottom:52px!important}.mb-lg-14{margin-bottom:56px!important}.mb-lg-15{margin-bottom:60px!important}.mb-lg-16{margin-bottom:64px!important}.mb-lg-auto{margin-bottom:auto!important}.ml-lg-0{margin-left:0!important}.ml-lg-1{margin-left:4px!important}.ml-lg-2{margin-left:8px!important}.ml-lg-3{margin-left:12px!important}.ml-lg-4{margin-left:16px!important}.ml-lg-5{margin-left:20px!important}.ml-lg-6{margin-left:24px!important}.ml-lg-7{margin-left:28px!important}.ml-lg-8{margin-left:32px!important}.ml-lg-9{margin-left:36px!important}.ml-lg-10{margin-left:40px!important}.ml-lg-11{margin-left:44px!important}.ml-lg-12{margin-left:48px!important}.ml-lg-13{margin-left:52px!important}.ml-lg-14{margin-left:56px!important}.ml-lg-15{margin-left:60px!important}.ml-lg-16{margin-left:64px!important}.ml-lg-auto{margin-left:auto!important}.ms-lg-0{margin-inline-start:0px!important}.ms-lg-1{margin-inline-start:4px!important}.ms-lg-2{margin-inline-start:8px!important}.ms-lg-3{margin-inline-start:12px!important}.ms-lg-4{margin-inline-start:16px!important}.ms-lg-5{margin-inline-start:20px!important}.ms-lg-6{margin-inline-start:24px!important}.ms-lg-7{margin-inline-start:28px!important}.ms-lg-8{margin-inline-start:32px!important}.ms-lg-9{margin-inline-start:36px!important}.ms-lg-10{margin-inline-start:40px!important}.ms-lg-11{margin-inline-start:44px!important}.ms-lg-12{margin-inline-start:48px!important}.ms-lg-13{margin-inline-start:52px!important}.ms-lg-14{margin-inline-start:56px!important}.ms-lg-15{margin-inline-start:60px!important}.ms-lg-16{margin-inline-start:64px!important}.ms-lg-auto{margin-inline-start:auto!important}.me-lg-0{margin-inline-end:0px!important}.me-lg-1{margin-inline-end:4px!important}.me-lg-2{margin-inline-end:8px!important}.me-lg-3{margin-inline-end:12px!important}.me-lg-4{margin-inline-end:16px!important}.me-lg-5{margin-inline-end:20px!important}.me-lg-6{margin-inline-end:24px!important}.me-lg-7{margin-inline-end:28px!important}.me-lg-8{margin-inline-end:32px!important}.me-lg-9{margin-inline-end:36px!important}.me-lg-10{margin-inline-end:40px!important}.me-lg-11{margin-inline-end:44px!important}.me-lg-12{margin-inline-end:48px!important}.me-lg-13{margin-inline-end:52px!important}.me-lg-14{margin-inline-end:56px!important}.me-lg-15{margin-inline-end:60px!important}.me-lg-16{margin-inline-end:64px!important}.me-lg-auto{margin-inline-end:auto!important}.ma-lg-n1{margin:-4px!important}.ma-lg-n2{margin:-8px!important}.ma-lg-n3{margin:-12px!important}.ma-lg-n4{margin:-16px!important}.ma-lg-n5{margin:-20px!important}.ma-lg-n6{margin:-24px!important}.ma-lg-n7{margin:-28px!important}.ma-lg-n8{margin:-32px!important}.ma-lg-n9{margin:-36px!important}.ma-lg-n10{margin:-40px!important}.ma-lg-n11{margin:-44px!important}.ma-lg-n12{margin:-48px!important}.ma-lg-n13{margin:-52px!important}.ma-lg-n14{margin:-56px!important}.ma-lg-n15{margin:-60px!important}.ma-lg-n16{margin:-64px!important}.mx-lg-n1{margin-right:-4px!important;margin-left:-4px!important}.mx-lg-n2{margin-right:-8px!important;margin-left:-8px!important}.mx-lg-n3{margin-right:-12px!important;margin-left:-12px!important}.mx-lg-n4{margin-right:-16px!important;margin-left:-16px!important}.mx-lg-n5{margin-right:-20px!important;margin-left:-20px!important}.mx-lg-n6{margin-right:-24px!important;margin-left:-24px!important}.mx-lg-n7{margin-right:-28px!important;margin-left:-28px!important}.mx-lg-n8{margin-right:-32px!important;margin-left:-32px!important}.mx-lg-n9{margin-right:-36px!important;margin-left:-36px!important}.mx-lg-n10{margin-right:-40px!important;margin-left:-40px!important}.mx-lg-n11{margin-right:-44px!important;margin-left:-44px!important}.mx-lg-n12{margin-right:-48px!important;margin-left:-48px!important}.mx-lg-n13{margin-right:-52px!important;margin-left:-52px!important}.mx-lg-n14{margin-right:-56px!important;margin-left:-56px!important}.mx-lg-n15{margin-right:-60px!important;margin-left:-60px!important}.mx-lg-n16{margin-right:-64px!important;margin-left:-64px!important}.my-lg-n1{margin-top:-4px!important;margin-bottom:-4px!important}.my-lg-n2{margin-top:-8px!important;margin-bottom:-8px!important}.my-lg-n3{margin-top:-12px!important;margin-bottom:-12px!important}.my-lg-n4{margin-top:-16px!important;margin-bottom:-16px!important}.my-lg-n5{margin-top:-20px!important;margin-bottom:-20px!important}.my-lg-n6{margin-top:-24px!important;margin-bottom:-24px!important}.my-lg-n7{margin-top:-28px!important;margin-bottom:-28px!important}.my-lg-n8{margin-top:-32px!important;margin-bottom:-32px!important}.my-lg-n9{margin-top:-36px!important;margin-bottom:-36px!important}.my-lg-n10{margin-top:-40px!important;margin-bottom:-40px!important}.my-lg-n11{margin-top:-44px!important;margin-bottom:-44px!important}.my-lg-n12{margin-top:-48px!important;margin-bottom:-48px!important}.my-lg-n13{margin-top:-52px!important;margin-bottom:-52px!important}.my-lg-n14{margin-top:-56px!important;margin-bottom:-56px!important}.my-lg-n15{margin-top:-60px!important;margin-bottom:-60px!important}.my-lg-n16{margin-top:-64px!important;margin-bottom:-64px!important}.mt-lg-n1{margin-top:-4px!important}.mt-lg-n2{margin-top:-8px!important}.mt-lg-n3{margin-top:-12px!important}.mt-lg-n4{margin-top:-16px!important}.mt-lg-n5{margin-top:-20px!important}.mt-lg-n6{margin-top:-24px!important}.mt-lg-n7{margin-top:-28px!important}.mt-lg-n8{margin-top:-32px!important}.mt-lg-n9{margin-top:-36px!important}.mt-lg-n10{margin-top:-40px!important}.mt-lg-n11{margin-top:-44px!important}.mt-lg-n12{margin-top:-48px!important}.mt-lg-n13{margin-top:-52px!important}.mt-lg-n14{margin-top:-56px!important}.mt-lg-n15{margin-top:-60px!important}.mt-lg-n16{margin-top:-64px!important}.mr-lg-n1{margin-right:-4px!important}.mr-lg-n2{margin-right:-8px!important}.mr-lg-n3{margin-right:-12px!important}.mr-lg-n4{margin-right:-16px!important}.mr-lg-n5{margin-right:-20px!important}.mr-lg-n6{margin-right:-24px!important}.mr-lg-n7{margin-right:-28px!important}.mr-lg-n8{margin-right:-32px!important}.mr-lg-n9{margin-right:-36px!important}.mr-lg-n10{margin-right:-40px!important}.mr-lg-n11{margin-right:-44px!important}.mr-lg-n12{margin-right:-48px!important}.mr-lg-n13{margin-right:-52px!important}.mr-lg-n14{margin-right:-56px!important}.mr-lg-n15{margin-right:-60px!important}.mr-lg-n16{margin-right:-64px!important}.mb-lg-n1{margin-bottom:-4px!important}.mb-lg-n2{margin-bottom:-8px!important}.mb-lg-n3{margin-bottom:-12px!important}.mb-lg-n4{margin-bottom:-16px!important}.mb-lg-n5{margin-bottom:-20px!important}.mb-lg-n6{margin-bottom:-24px!important}.mb-lg-n7{margin-bottom:-28px!important}.mb-lg-n8{margin-bottom:-32px!important}.mb-lg-n9{margin-bottom:-36px!important}.mb-lg-n10{margin-bottom:-40px!important}.mb-lg-n11{margin-bottom:-44px!important}.mb-lg-n12{margin-bottom:-48px!important}.mb-lg-n13{margin-bottom:-52px!important}.mb-lg-n14{margin-bottom:-56px!important}.mb-lg-n15{margin-bottom:-60px!important}.mb-lg-n16{margin-bottom:-64px!important}.ml-lg-n1{margin-left:-4px!important}.ml-lg-n2{margin-left:-8px!important}.ml-lg-n3{margin-left:-12px!important}.ml-lg-n4{margin-left:-16px!important}.ml-lg-n5{margin-left:-20px!important}.ml-lg-n6{margin-left:-24px!important}.ml-lg-n7{margin-left:-28px!important}.ml-lg-n8{margin-left:-32px!important}.ml-lg-n9{margin-left:-36px!important}.ml-lg-n10{margin-left:-40px!important}.ml-lg-n11{margin-left:-44px!important}.ml-lg-n12{margin-left:-48px!important}.ml-lg-n13{margin-left:-52px!important}.ml-lg-n14{margin-left:-56px!important}.ml-lg-n15{margin-left:-60px!important}.ml-lg-n16{margin-left:-64px!important}.ms-lg-n1{margin-inline-start:-4px!important}.ms-lg-n2{margin-inline-start:-8px!important}.ms-lg-n3{margin-inline-start:-12px!important}.ms-lg-n4{margin-inline-start:-16px!important}.ms-lg-n5{margin-inline-start:-20px!important}.ms-lg-n6{margin-inline-start:-24px!important}.ms-lg-n7{margin-inline-start:-28px!important}.ms-lg-n8{margin-inline-start:-32px!important}.ms-lg-n9{margin-inline-start:-36px!important}.ms-lg-n10{margin-inline-start:-40px!important}.ms-lg-n11{margin-inline-start:-44px!important}.ms-lg-n12{margin-inline-start:-48px!important}.ms-lg-n13{margin-inline-start:-52px!important}.ms-lg-n14{margin-inline-start:-56px!important}.ms-lg-n15{margin-inline-start:-60px!important}.ms-lg-n16{margin-inline-start:-64px!important}.me-lg-n1{margin-inline-end:-4px!important}.me-lg-n2{margin-inline-end:-8px!important}.me-lg-n3{margin-inline-end:-12px!important}.me-lg-n4{margin-inline-end:-16px!important}.me-lg-n5{margin-inline-end:-20px!important}.me-lg-n6{margin-inline-end:-24px!important}.me-lg-n7{margin-inline-end:-28px!important}.me-lg-n8{margin-inline-end:-32px!important}.me-lg-n9{margin-inline-end:-36px!important}.me-lg-n10{margin-inline-end:-40px!important}.me-lg-n11{margin-inline-end:-44px!important}.me-lg-n12{margin-inline-end:-48px!important}.me-lg-n13{margin-inline-end:-52px!important}.me-lg-n14{margin-inline-end:-56px!important}.me-lg-n15{margin-inline-end:-60px!important}.me-lg-n16{margin-inline-end:-64px!important}.pa-lg-0{padding:0!important}.pa-lg-1{padding:4px!important}.pa-lg-2{padding:8px!important}.pa-lg-3{padding:12px!important}.pa-lg-4{padding:16px!important}.pa-lg-5{padding:20px!important}.pa-lg-6{padding:24px!important}.pa-lg-7{padding:28px!important}.pa-lg-8{padding:32px!important}.pa-lg-9{padding:36px!important}.pa-lg-10{padding:40px!important}.pa-lg-11{padding:44px!important}.pa-lg-12{padding:48px!important}.pa-lg-13{padding:52px!important}.pa-lg-14{padding:56px!important}.pa-lg-15{padding:60px!important}.pa-lg-16{padding:64px!important}.px-lg-0{padding-right:0!important;padding-left:0!important}.px-lg-1{padding-right:4px!important;padding-left:4px!important}.px-lg-2{padding-right:8px!important;padding-left:8px!important}.px-lg-3{padding-right:12px!important;padding-left:12px!important}.px-lg-4{padding-right:16px!important;padding-left:16px!important}.px-lg-5{padding-right:20px!important;padding-left:20px!important}.px-lg-6{padding-right:24px!important;padding-left:24px!important}.px-lg-7{padding-right:28px!important;padding-left:28px!important}.px-lg-8{padding-right:32px!important;padding-left:32px!important}.px-lg-9{padding-right:36px!important;padding-left:36px!important}.px-lg-10{padding-right:40px!important;padding-left:40px!important}.px-lg-11{padding-right:44px!important;padding-left:44px!important}.px-lg-12{padding-right:48px!important;padding-left:48px!important}.px-lg-13{padding-right:52px!important;padding-left:52px!important}.px-lg-14{padding-right:56px!important;padding-left:56px!important}.px-lg-15{padding-right:60px!important;padding-left:60px!important}.px-lg-16{padding-right:64px!important;padding-left:64px!important}.py-lg-0{padding-top:0!important;padding-bottom:0!important}.py-lg-1{padding-top:4px!important;padding-bottom:4px!important}.py-lg-2{padding-top:8px!important;padding-bottom:8px!important}.py-lg-3{padding-top:12px!important;padding-bottom:12px!important}.py-lg-4{padding-top:16px!important;padding-bottom:16px!important}.py-lg-5{padding-top:20px!important;padding-bottom:20px!important}.py-lg-6{padding-top:24px!important;padding-bottom:24px!important}.py-lg-7{padding-top:28px!important;padding-bottom:28px!important}.py-lg-8{padding-top:32px!important;padding-bottom:32px!important}.py-lg-9{padding-top:36px!important;padding-bottom:36px!important}.py-lg-10{padding-top:40px!important;padding-bottom:40px!important}.py-lg-11{padding-top:44px!important;padding-bottom:44px!important}.py-lg-12{padding-top:48px!important;padding-bottom:48px!important}.py-lg-13{padding-top:52px!important;padding-bottom:52px!important}.py-lg-14{padding-top:56px!important;padding-bottom:56px!important}.py-lg-15{padding-top:60px!important;padding-bottom:60px!important}.py-lg-16{padding-top:64px!important;padding-bottom:64px!important}.pt-lg-0{padding-top:0!important}.pt-lg-1{padding-top:4px!important}.pt-lg-2{padding-top:8px!important}.pt-lg-3{padding-top:12px!important}.pt-lg-4{padding-top:16px!important}.pt-lg-5{padding-top:20px!important}.pt-lg-6{padding-top:24px!important}.pt-lg-7{padding-top:28px!important}.pt-lg-8{padding-top:32px!important}.pt-lg-9{padding-top:36px!important}.pt-lg-10{padding-top:40px!important}.pt-lg-11{padding-top:44px!important}.pt-lg-12{padding-top:48px!important}.pt-lg-13{padding-top:52px!important}.pt-lg-14{padding-top:56px!important}.pt-lg-15{padding-top:60px!important}.pt-lg-16{padding-top:64px!important}.pr-lg-0{padding-right:0!important}.pr-lg-1{padding-right:4px!important}.pr-lg-2{padding-right:8px!important}.pr-lg-3{padding-right:12px!important}.pr-lg-4{padding-right:16px!important}.pr-lg-5{padding-right:20px!important}.pr-lg-6{padding-right:24px!important}.pr-lg-7{padding-right:28px!important}.pr-lg-8{padding-right:32px!important}.pr-lg-9{padding-right:36px!important}.pr-lg-10{padding-right:40px!important}.pr-lg-11{padding-right:44px!important}.pr-lg-12{padding-right:48px!important}.pr-lg-13{padding-right:52px!important}.pr-lg-14{padding-right:56px!important}.pr-lg-15{padding-right:60px!important}.pr-lg-16{padding-right:64px!important}.pb-lg-0{padding-bottom:0!important}.pb-lg-1{padding-bottom:4px!important}.pb-lg-2{padding-bottom:8px!important}.pb-lg-3{padding-bottom:12px!important}.pb-lg-4{padding-bottom:16px!important}.pb-lg-5{padding-bottom:20px!important}.pb-lg-6{padding-bottom:24px!important}.pb-lg-7{padding-bottom:28px!important}.pb-lg-8{padding-bottom:32px!important}.pb-lg-9{padding-bottom:36px!important}.pb-lg-10{padding-bottom:40px!important}.pb-lg-11{padding-bottom:44px!important}.pb-lg-12{padding-bottom:48px!important}.pb-lg-13{padding-bottom:52px!important}.pb-lg-14{padding-bottom:56px!important}.pb-lg-15{padding-bottom:60px!important}.pb-lg-16{padding-bottom:64px!important}.pl-lg-0{padding-left:0!important}.pl-lg-1{padding-left:4px!important}.pl-lg-2{padding-left:8px!important}.pl-lg-3{padding-left:12px!important}.pl-lg-4{padding-left:16px!important}.pl-lg-5{padding-left:20px!important}.pl-lg-6{padding-left:24px!important}.pl-lg-7{padding-left:28px!important}.pl-lg-8{padding-left:32px!important}.pl-lg-9{padding-left:36px!important}.pl-lg-10{padding-left:40px!important}.pl-lg-11{padding-left:44px!important}.pl-lg-12{padding-left:48px!important}.pl-lg-13{padding-left:52px!important}.pl-lg-14{padding-left:56px!important}.pl-lg-15{padding-left:60px!important}.pl-lg-16{padding-left:64px!important}.ps-lg-0{padding-inline-start:0px!important}.ps-lg-1{padding-inline-start:4px!important}.ps-lg-2{padding-inline-start:8px!important}.ps-lg-3{padding-inline-start:12px!important}.ps-lg-4{padding-inline-start:16px!important}.ps-lg-5{padding-inline-start:20px!important}.ps-lg-6{padding-inline-start:24px!important}.ps-lg-7{padding-inline-start:28px!important}.ps-lg-8{padding-inline-start:32px!important}.ps-lg-9{padding-inline-start:36px!important}.ps-lg-10{padding-inline-start:40px!important}.ps-lg-11{padding-inline-start:44px!important}.ps-lg-12{padding-inline-start:48px!important}.ps-lg-13{padding-inline-start:52px!important}.ps-lg-14{padding-inline-start:56px!important}.ps-lg-15{padding-inline-start:60px!important}.ps-lg-16{padding-inline-start:64px!important}.pe-lg-0{padding-inline-end:0px!important}.pe-lg-1{padding-inline-end:4px!important}.pe-lg-2{padding-inline-end:8px!important}.pe-lg-3{padding-inline-end:12px!important}.pe-lg-4{padding-inline-end:16px!important}.pe-lg-5{padding-inline-end:20px!important}.pe-lg-6{padding-inline-end:24px!important}.pe-lg-7{padding-inline-end:28px!important}.pe-lg-8{padding-inline-end:32px!important}.pe-lg-9{padding-inline-end:36px!important}.pe-lg-10{padding-inline-end:40px!important}.pe-lg-11{padding-inline-end:44px!important}.pe-lg-12{padding-inline-end:48px!important}.pe-lg-13{padding-inline-end:52px!important}.pe-lg-14{padding-inline-end:56px!important}.pe-lg-15{padding-inline-end:60px!important}.pe-lg-16{padding-inline-end:64px!important}.text-lg-left{text-align:left!important}.text-lg-right{text-align:right!important}.text-lg-center{text-align:center!important}.text-lg-justify{text-align:justify!important}.text-lg-start{text-align:start!important}.text-lg-end{text-align:end!important}.text-lg-h1{font-size:6rem!important;font-weight:300;line-height:6rem;letter-spacing:-.015625em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-lg-h2{font-size:3.75rem!important;font-weight:300;line-height:3.75rem;letter-spacing:-.0083333333em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-lg-h3{font-size:3rem!important;font-weight:400;line-height:3.125rem;letter-spacing:normal!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-lg-h4{font-size:2.125rem!important;font-weight:400;line-height:2.5rem;letter-spacing:.0073529412em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-lg-h5{font-size:1.5rem!important;font-weight:400;line-height:2rem;letter-spacing:normal!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-lg-h6{font-size:1.25rem!important;font-weight:500;line-height:2rem;letter-spacing:.0125em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-lg-subtitle-1{font-size:1rem!important;font-weight:400;line-height:1.75rem;letter-spacing:.009375em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-lg-subtitle-2{font-size:.875rem!important;font-weight:500;line-height:1.375rem;letter-spacing:.0071428571em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-lg-body-1{font-size:1rem!important;font-weight:400;line-height:1.5rem;letter-spacing:.03125em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-lg-body-2{font-size:.875rem!important;font-weight:400;line-height:1.25rem;letter-spacing:.0178571429em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-lg-button{font-size:.875rem!important;font-weight:500;line-height:2.25rem;letter-spacing:.0892857143em!important;font-family:Roboto,sans-serif!important;text-transform:uppercase!important}.text-lg-caption{font-size:.75rem!important;font-weight:400;line-height:1.25rem;letter-spacing:.0333333333em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-lg-overline{font-size:.75rem!important;font-weight:500;line-height:2rem;letter-spacing:.1666666667em!important;font-family:Roboto,sans-serif!important;text-transform:uppercase!important}}@media (min-width: 1920px){.d-xl-none{display:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}.float-xl-none{float:none!important}.float-xl-left{float:left!important}.float-xl-right{float:right!important}.v-locale--is-rtl .float-xl-end{float:left!important}.v-locale--is-rtl .float-xl-start,.v-locale--is-ltr .float-xl-end{float:right!important}.v-locale--is-ltr .float-xl-start{float:left!important}.flex-xl-fill,.flex-xl-1-1{flex:1 1 auto!important}.flex-xl-1-0{flex:1 0 auto!important}.flex-xl-0-1{flex:0 1 auto!important}.flex-xl-0-0{flex:0 0 auto!important}.flex-xl-1-1-100{flex:1 1 100%!important}.flex-xl-1-0-100{flex:1 0 100%!important}.flex-xl-0-1-100{flex:0 1 100%!important}.flex-xl-0-0-100{flex:0 0 100%!important}.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-xl-start{justify-content:flex-start!important}.justify-xl-end{justify-content:flex-end!important}.justify-xl-center{justify-content:center!important}.justify-xl-space-between{justify-content:space-between!important}.justify-xl-space-around{justify-content:space-around!important}.justify-xl-space-evenly{justify-content:space-evenly!important}.align-xl-start{align-items:flex-start!important}.align-xl-end{align-items:flex-end!important}.align-xl-center{align-items:center!important}.align-xl-baseline{align-items:baseline!important}.align-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-space-between{align-content:space-between!important}.align-content-xl-space-around{align-content:space-around!important}.align-content-xl-space-evenly{align-content:space-evenly!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}.order-xl-first{order:-1!important}.order-xl-0{order:0!important}.order-xl-1{order:1!important}.order-xl-2{order:2!important}.order-xl-3{order:3!important}.order-xl-4{order:4!important}.order-xl-5{order:5!important}.order-xl-6{order:6!important}.order-xl-7{order:7!important}.order-xl-8{order:8!important}.order-xl-9{order:9!important}.order-xl-10{order:10!important}.order-xl-11{order:11!important}.order-xl-12{order:12!important}.order-xl-last{order:13!important}.ma-xl-0{margin:0!important}.ma-xl-1{margin:4px!important}.ma-xl-2{margin:8px!important}.ma-xl-3{margin:12px!important}.ma-xl-4{margin:16px!important}.ma-xl-5{margin:20px!important}.ma-xl-6{margin:24px!important}.ma-xl-7{margin:28px!important}.ma-xl-8{margin:32px!important}.ma-xl-9{margin:36px!important}.ma-xl-10{margin:40px!important}.ma-xl-11{margin:44px!important}.ma-xl-12{margin:48px!important}.ma-xl-13{margin:52px!important}.ma-xl-14{margin:56px!important}.ma-xl-15{margin:60px!important}.ma-xl-16{margin:64px!important}.ma-xl-auto{margin:auto!important}.mx-xl-0{margin-right:0!important;margin-left:0!important}.mx-xl-1{margin-right:4px!important;margin-left:4px!important}.mx-xl-2{margin-right:8px!important;margin-left:8px!important}.mx-xl-3{margin-right:12px!important;margin-left:12px!important}.mx-xl-4{margin-right:16px!important;margin-left:16px!important}.mx-xl-5{margin-right:20px!important;margin-left:20px!important}.mx-xl-6{margin-right:24px!important;margin-left:24px!important}.mx-xl-7{margin-right:28px!important;margin-left:28px!important}.mx-xl-8{margin-right:32px!important;margin-left:32px!important}.mx-xl-9{margin-right:36px!important;margin-left:36px!important}.mx-xl-10{margin-right:40px!important;margin-left:40px!important}.mx-xl-11{margin-right:44px!important;margin-left:44px!important}.mx-xl-12{margin-right:48px!important;margin-left:48px!important}.mx-xl-13{margin-right:52px!important;margin-left:52px!important}.mx-xl-14{margin-right:56px!important;margin-left:56px!important}.mx-xl-15{margin-right:60px!important;margin-left:60px!important}.mx-xl-16{margin-right:64px!important;margin-left:64px!important}.mx-xl-auto{margin-right:auto!important;margin-left:auto!important}.my-xl-0{margin-top:0!important;margin-bottom:0!important}.my-xl-1{margin-top:4px!important;margin-bottom:4px!important}.my-xl-2{margin-top:8px!important;margin-bottom:8px!important}.my-xl-3{margin-top:12px!important;margin-bottom:12px!important}.my-xl-4{margin-top:16px!important;margin-bottom:16px!important}.my-xl-5{margin-top:20px!important;margin-bottom:20px!important}.my-xl-6{margin-top:24px!important;margin-bottom:24px!important}.my-xl-7{margin-top:28px!important;margin-bottom:28px!important}.my-xl-8{margin-top:32px!important;margin-bottom:32px!important}.my-xl-9{margin-top:36px!important;margin-bottom:36px!important}.my-xl-10{margin-top:40px!important;margin-bottom:40px!important}.my-xl-11{margin-top:44px!important;margin-bottom:44px!important}.my-xl-12{margin-top:48px!important;margin-bottom:48px!important}.my-xl-13{margin-top:52px!important;margin-bottom:52px!important}.my-xl-14{margin-top:56px!important;margin-bottom:56px!important}.my-xl-15{margin-top:60px!important;margin-bottom:60px!important}.my-xl-16{margin-top:64px!important;margin-bottom:64px!important}.my-xl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xl-0{margin-top:0!important}.mt-xl-1{margin-top:4px!important}.mt-xl-2{margin-top:8px!important}.mt-xl-3{margin-top:12px!important}.mt-xl-4{margin-top:16px!important}.mt-xl-5{margin-top:20px!important}.mt-xl-6{margin-top:24px!important}.mt-xl-7{margin-top:28px!important}.mt-xl-8{margin-top:32px!important}.mt-xl-9{margin-top:36px!important}.mt-xl-10{margin-top:40px!important}.mt-xl-11{margin-top:44px!important}.mt-xl-12{margin-top:48px!important}.mt-xl-13{margin-top:52px!important}.mt-xl-14{margin-top:56px!important}.mt-xl-15{margin-top:60px!important}.mt-xl-16{margin-top:64px!important}.mt-xl-auto{margin-top:auto!important}.mr-xl-0{margin-right:0!important}.mr-xl-1{margin-right:4px!important}.mr-xl-2{margin-right:8px!important}.mr-xl-3{margin-right:12px!important}.mr-xl-4{margin-right:16px!important}.mr-xl-5{margin-right:20px!important}.mr-xl-6{margin-right:24px!important}.mr-xl-7{margin-right:28px!important}.mr-xl-8{margin-right:32px!important}.mr-xl-9{margin-right:36px!important}.mr-xl-10{margin-right:40px!important}.mr-xl-11{margin-right:44px!important}.mr-xl-12{margin-right:48px!important}.mr-xl-13{margin-right:52px!important}.mr-xl-14{margin-right:56px!important}.mr-xl-15{margin-right:60px!important}.mr-xl-16{margin-right:64px!important}.mr-xl-auto{margin-right:auto!important}.mb-xl-0{margin-bottom:0!important}.mb-xl-1{margin-bottom:4px!important}.mb-xl-2{margin-bottom:8px!important}.mb-xl-3{margin-bottom:12px!important}.mb-xl-4{margin-bottom:16px!important}.mb-xl-5{margin-bottom:20px!important}.mb-xl-6{margin-bottom:24px!important}.mb-xl-7{margin-bottom:28px!important}.mb-xl-8{margin-bottom:32px!important}.mb-xl-9{margin-bottom:36px!important}.mb-xl-10{margin-bottom:40px!important}.mb-xl-11{margin-bottom:44px!important}.mb-xl-12{margin-bottom:48px!important}.mb-xl-13{margin-bottom:52px!important}.mb-xl-14{margin-bottom:56px!important}.mb-xl-15{margin-bottom:60px!important}.mb-xl-16{margin-bottom:64px!important}.mb-xl-auto{margin-bottom:auto!important}.ml-xl-0{margin-left:0!important}.ml-xl-1{margin-left:4px!important}.ml-xl-2{margin-left:8px!important}.ml-xl-3{margin-left:12px!important}.ml-xl-4{margin-left:16px!important}.ml-xl-5{margin-left:20px!important}.ml-xl-6{margin-left:24px!important}.ml-xl-7{margin-left:28px!important}.ml-xl-8{margin-left:32px!important}.ml-xl-9{margin-left:36px!important}.ml-xl-10{margin-left:40px!important}.ml-xl-11{margin-left:44px!important}.ml-xl-12{margin-left:48px!important}.ml-xl-13{margin-left:52px!important}.ml-xl-14{margin-left:56px!important}.ml-xl-15{margin-left:60px!important}.ml-xl-16{margin-left:64px!important}.ml-xl-auto{margin-left:auto!important}.ms-xl-0{margin-inline-start:0px!important}.ms-xl-1{margin-inline-start:4px!important}.ms-xl-2{margin-inline-start:8px!important}.ms-xl-3{margin-inline-start:12px!important}.ms-xl-4{margin-inline-start:16px!important}.ms-xl-5{margin-inline-start:20px!important}.ms-xl-6{margin-inline-start:24px!important}.ms-xl-7{margin-inline-start:28px!important}.ms-xl-8{margin-inline-start:32px!important}.ms-xl-9{margin-inline-start:36px!important}.ms-xl-10{margin-inline-start:40px!important}.ms-xl-11{margin-inline-start:44px!important}.ms-xl-12{margin-inline-start:48px!important}.ms-xl-13{margin-inline-start:52px!important}.ms-xl-14{margin-inline-start:56px!important}.ms-xl-15{margin-inline-start:60px!important}.ms-xl-16{margin-inline-start:64px!important}.ms-xl-auto{margin-inline-start:auto!important}.me-xl-0{margin-inline-end:0px!important}.me-xl-1{margin-inline-end:4px!important}.me-xl-2{margin-inline-end:8px!important}.me-xl-3{margin-inline-end:12px!important}.me-xl-4{margin-inline-end:16px!important}.me-xl-5{margin-inline-end:20px!important}.me-xl-6{margin-inline-end:24px!important}.me-xl-7{margin-inline-end:28px!important}.me-xl-8{margin-inline-end:32px!important}.me-xl-9{margin-inline-end:36px!important}.me-xl-10{margin-inline-end:40px!important}.me-xl-11{margin-inline-end:44px!important}.me-xl-12{margin-inline-end:48px!important}.me-xl-13{margin-inline-end:52px!important}.me-xl-14{margin-inline-end:56px!important}.me-xl-15{margin-inline-end:60px!important}.me-xl-16{margin-inline-end:64px!important}.me-xl-auto{margin-inline-end:auto!important}.ma-xl-n1{margin:-4px!important}.ma-xl-n2{margin:-8px!important}.ma-xl-n3{margin:-12px!important}.ma-xl-n4{margin:-16px!important}.ma-xl-n5{margin:-20px!important}.ma-xl-n6{margin:-24px!important}.ma-xl-n7{margin:-28px!important}.ma-xl-n8{margin:-32px!important}.ma-xl-n9{margin:-36px!important}.ma-xl-n10{margin:-40px!important}.ma-xl-n11{margin:-44px!important}.ma-xl-n12{margin:-48px!important}.ma-xl-n13{margin:-52px!important}.ma-xl-n14{margin:-56px!important}.ma-xl-n15{margin:-60px!important}.ma-xl-n16{margin:-64px!important}.mx-xl-n1{margin-right:-4px!important;margin-left:-4px!important}.mx-xl-n2{margin-right:-8px!important;margin-left:-8px!important}.mx-xl-n3{margin-right:-12px!important;margin-left:-12px!important}.mx-xl-n4{margin-right:-16px!important;margin-left:-16px!important}.mx-xl-n5{margin-right:-20px!important;margin-left:-20px!important}.mx-xl-n6{margin-right:-24px!important;margin-left:-24px!important}.mx-xl-n7{margin-right:-28px!important;margin-left:-28px!important}.mx-xl-n8{margin-right:-32px!important;margin-left:-32px!important}.mx-xl-n9{margin-right:-36px!important;margin-left:-36px!important}.mx-xl-n10{margin-right:-40px!important;margin-left:-40px!important}.mx-xl-n11{margin-right:-44px!important;margin-left:-44px!important}.mx-xl-n12{margin-right:-48px!important;margin-left:-48px!important}.mx-xl-n13{margin-right:-52px!important;margin-left:-52px!important}.mx-xl-n14{margin-right:-56px!important;margin-left:-56px!important}.mx-xl-n15{margin-right:-60px!important;margin-left:-60px!important}.mx-xl-n16{margin-right:-64px!important;margin-left:-64px!important}.my-xl-n1{margin-top:-4px!important;margin-bottom:-4px!important}.my-xl-n2{margin-top:-8px!important;margin-bottom:-8px!important}.my-xl-n3{margin-top:-12px!important;margin-bottom:-12px!important}.my-xl-n4{margin-top:-16px!important;margin-bottom:-16px!important}.my-xl-n5{margin-top:-20px!important;margin-bottom:-20px!important}.my-xl-n6{margin-top:-24px!important;margin-bottom:-24px!important}.my-xl-n7{margin-top:-28px!important;margin-bottom:-28px!important}.my-xl-n8{margin-top:-32px!important;margin-bottom:-32px!important}.my-xl-n9{margin-top:-36px!important;margin-bottom:-36px!important}.my-xl-n10{margin-top:-40px!important;margin-bottom:-40px!important}.my-xl-n11{margin-top:-44px!important;margin-bottom:-44px!important}.my-xl-n12{margin-top:-48px!important;margin-bottom:-48px!important}.my-xl-n13{margin-top:-52px!important;margin-bottom:-52px!important}.my-xl-n14{margin-top:-56px!important;margin-bottom:-56px!important}.my-xl-n15{margin-top:-60px!important;margin-bottom:-60px!important}.my-xl-n16{margin-top:-64px!important;margin-bottom:-64px!important}.mt-xl-n1{margin-top:-4px!important}.mt-xl-n2{margin-top:-8px!important}.mt-xl-n3{margin-top:-12px!important}.mt-xl-n4{margin-top:-16px!important}.mt-xl-n5{margin-top:-20px!important}.mt-xl-n6{margin-top:-24px!important}.mt-xl-n7{margin-top:-28px!important}.mt-xl-n8{margin-top:-32px!important}.mt-xl-n9{margin-top:-36px!important}.mt-xl-n10{margin-top:-40px!important}.mt-xl-n11{margin-top:-44px!important}.mt-xl-n12{margin-top:-48px!important}.mt-xl-n13{margin-top:-52px!important}.mt-xl-n14{margin-top:-56px!important}.mt-xl-n15{margin-top:-60px!important}.mt-xl-n16{margin-top:-64px!important}.mr-xl-n1{margin-right:-4px!important}.mr-xl-n2{margin-right:-8px!important}.mr-xl-n3{margin-right:-12px!important}.mr-xl-n4{margin-right:-16px!important}.mr-xl-n5{margin-right:-20px!important}.mr-xl-n6{margin-right:-24px!important}.mr-xl-n7{margin-right:-28px!important}.mr-xl-n8{margin-right:-32px!important}.mr-xl-n9{margin-right:-36px!important}.mr-xl-n10{margin-right:-40px!important}.mr-xl-n11{margin-right:-44px!important}.mr-xl-n12{margin-right:-48px!important}.mr-xl-n13{margin-right:-52px!important}.mr-xl-n14{margin-right:-56px!important}.mr-xl-n15{margin-right:-60px!important}.mr-xl-n16{margin-right:-64px!important}.mb-xl-n1{margin-bottom:-4px!important}.mb-xl-n2{margin-bottom:-8px!important}.mb-xl-n3{margin-bottom:-12px!important}.mb-xl-n4{margin-bottom:-16px!important}.mb-xl-n5{margin-bottom:-20px!important}.mb-xl-n6{margin-bottom:-24px!important}.mb-xl-n7{margin-bottom:-28px!important}.mb-xl-n8{margin-bottom:-32px!important}.mb-xl-n9{margin-bottom:-36px!important}.mb-xl-n10{margin-bottom:-40px!important}.mb-xl-n11{margin-bottom:-44px!important}.mb-xl-n12{margin-bottom:-48px!important}.mb-xl-n13{margin-bottom:-52px!important}.mb-xl-n14{margin-bottom:-56px!important}.mb-xl-n15{margin-bottom:-60px!important}.mb-xl-n16{margin-bottom:-64px!important}.ml-xl-n1{margin-left:-4px!important}.ml-xl-n2{margin-left:-8px!important}.ml-xl-n3{margin-left:-12px!important}.ml-xl-n4{margin-left:-16px!important}.ml-xl-n5{margin-left:-20px!important}.ml-xl-n6{margin-left:-24px!important}.ml-xl-n7{margin-left:-28px!important}.ml-xl-n8{margin-left:-32px!important}.ml-xl-n9{margin-left:-36px!important}.ml-xl-n10{margin-left:-40px!important}.ml-xl-n11{margin-left:-44px!important}.ml-xl-n12{margin-left:-48px!important}.ml-xl-n13{margin-left:-52px!important}.ml-xl-n14{margin-left:-56px!important}.ml-xl-n15{margin-left:-60px!important}.ml-xl-n16{margin-left:-64px!important}.ms-xl-n1{margin-inline-start:-4px!important}.ms-xl-n2{margin-inline-start:-8px!important}.ms-xl-n3{margin-inline-start:-12px!important}.ms-xl-n4{margin-inline-start:-16px!important}.ms-xl-n5{margin-inline-start:-20px!important}.ms-xl-n6{margin-inline-start:-24px!important}.ms-xl-n7{margin-inline-start:-28px!important}.ms-xl-n8{margin-inline-start:-32px!important}.ms-xl-n9{margin-inline-start:-36px!important}.ms-xl-n10{margin-inline-start:-40px!important}.ms-xl-n11{margin-inline-start:-44px!important}.ms-xl-n12{margin-inline-start:-48px!important}.ms-xl-n13{margin-inline-start:-52px!important}.ms-xl-n14{margin-inline-start:-56px!important}.ms-xl-n15{margin-inline-start:-60px!important}.ms-xl-n16{margin-inline-start:-64px!important}.me-xl-n1{margin-inline-end:-4px!important}.me-xl-n2{margin-inline-end:-8px!important}.me-xl-n3{margin-inline-end:-12px!important}.me-xl-n4{margin-inline-end:-16px!important}.me-xl-n5{margin-inline-end:-20px!important}.me-xl-n6{margin-inline-end:-24px!important}.me-xl-n7{margin-inline-end:-28px!important}.me-xl-n8{margin-inline-end:-32px!important}.me-xl-n9{margin-inline-end:-36px!important}.me-xl-n10{margin-inline-end:-40px!important}.me-xl-n11{margin-inline-end:-44px!important}.me-xl-n12{margin-inline-end:-48px!important}.me-xl-n13{margin-inline-end:-52px!important}.me-xl-n14{margin-inline-end:-56px!important}.me-xl-n15{margin-inline-end:-60px!important}.me-xl-n16{margin-inline-end:-64px!important}.pa-xl-0{padding:0!important}.pa-xl-1{padding:4px!important}.pa-xl-2{padding:8px!important}.pa-xl-3{padding:12px!important}.pa-xl-4{padding:16px!important}.pa-xl-5{padding:20px!important}.pa-xl-6{padding:24px!important}.pa-xl-7{padding:28px!important}.pa-xl-8{padding:32px!important}.pa-xl-9{padding:36px!important}.pa-xl-10{padding:40px!important}.pa-xl-11{padding:44px!important}.pa-xl-12{padding:48px!important}.pa-xl-13{padding:52px!important}.pa-xl-14{padding:56px!important}.pa-xl-15{padding:60px!important}.pa-xl-16{padding:64px!important}.px-xl-0{padding-right:0!important;padding-left:0!important}.px-xl-1{padding-right:4px!important;padding-left:4px!important}.px-xl-2{padding-right:8px!important;padding-left:8px!important}.px-xl-3{padding-right:12px!important;padding-left:12px!important}.px-xl-4{padding-right:16px!important;padding-left:16px!important}.px-xl-5{padding-right:20px!important;padding-left:20px!important}.px-xl-6{padding-right:24px!important;padding-left:24px!important}.px-xl-7{padding-right:28px!important;padding-left:28px!important}.px-xl-8{padding-right:32px!important;padding-left:32px!important}.px-xl-9{padding-right:36px!important;padding-left:36px!important}.px-xl-10{padding-right:40px!important;padding-left:40px!important}.px-xl-11{padding-right:44px!important;padding-left:44px!important}.px-xl-12{padding-right:48px!important;padding-left:48px!important}.px-xl-13{padding-right:52px!important;padding-left:52px!important}.px-xl-14{padding-right:56px!important;padding-left:56px!important}.px-xl-15{padding-right:60px!important;padding-left:60px!important}.px-xl-16{padding-right:64px!important;padding-left:64px!important}.py-xl-0{padding-top:0!important;padding-bottom:0!important}.py-xl-1{padding-top:4px!important;padding-bottom:4px!important}.py-xl-2{padding-top:8px!important;padding-bottom:8px!important}.py-xl-3{padding-top:12px!important;padding-bottom:12px!important}.py-xl-4{padding-top:16px!important;padding-bottom:16px!important}.py-xl-5{padding-top:20px!important;padding-bottom:20px!important}.py-xl-6{padding-top:24px!important;padding-bottom:24px!important}.py-xl-7{padding-top:28px!important;padding-bottom:28px!important}.py-xl-8{padding-top:32px!important;padding-bottom:32px!important}.py-xl-9{padding-top:36px!important;padding-bottom:36px!important}.py-xl-10{padding-top:40px!important;padding-bottom:40px!important}.py-xl-11{padding-top:44px!important;padding-bottom:44px!important}.py-xl-12{padding-top:48px!important;padding-bottom:48px!important}.py-xl-13{padding-top:52px!important;padding-bottom:52px!important}.py-xl-14{padding-top:56px!important;padding-bottom:56px!important}.py-xl-15{padding-top:60px!important;padding-bottom:60px!important}.py-xl-16{padding-top:64px!important;padding-bottom:64px!important}.pt-xl-0{padding-top:0!important}.pt-xl-1{padding-top:4px!important}.pt-xl-2{padding-top:8px!important}.pt-xl-3{padding-top:12px!important}.pt-xl-4{padding-top:16px!important}.pt-xl-5{padding-top:20px!important}.pt-xl-6{padding-top:24px!important}.pt-xl-7{padding-top:28px!important}.pt-xl-8{padding-top:32px!important}.pt-xl-9{padding-top:36px!important}.pt-xl-10{padding-top:40px!important}.pt-xl-11{padding-top:44px!important}.pt-xl-12{padding-top:48px!important}.pt-xl-13{padding-top:52px!important}.pt-xl-14{padding-top:56px!important}.pt-xl-15{padding-top:60px!important}.pt-xl-16{padding-top:64px!important}.pr-xl-0{padding-right:0!important}.pr-xl-1{padding-right:4px!important}.pr-xl-2{padding-right:8px!important}.pr-xl-3{padding-right:12px!important}.pr-xl-4{padding-right:16px!important}.pr-xl-5{padding-right:20px!important}.pr-xl-6{padding-right:24px!important}.pr-xl-7{padding-right:28px!important}.pr-xl-8{padding-right:32px!important}.pr-xl-9{padding-right:36px!important}.pr-xl-10{padding-right:40px!important}.pr-xl-11{padding-right:44px!important}.pr-xl-12{padding-right:48px!important}.pr-xl-13{padding-right:52px!important}.pr-xl-14{padding-right:56px!important}.pr-xl-15{padding-right:60px!important}.pr-xl-16{padding-right:64px!important}.pb-xl-0{padding-bottom:0!important}.pb-xl-1{padding-bottom:4px!important}.pb-xl-2{padding-bottom:8px!important}.pb-xl-3{padding-bottom:12px!important}.pb-xl-4{padding-bottom:16px!important}.pb-xl-5{padding-bottom:20px!important}.pb-xl-6{padding-bottom:24px!important}.pb-xl-7{padding-bottom:28px!important}.pb-xl-8{padding-bottom:32px!important}.pb-xl-9{padding-bottom:36px!important}.pb-xl-10{padding-bottom:40px!important}.pb-xl-11{padding-bottom:44px!important}.pb-xl-12{padding-bottom:48px!important}.pb-xl-13{padding-bottom:52px!important}.pb-xl-14{padding-bottom:56px!important}.pb-xl-15{padding-bottom:60px!important}.pb-xl-16{padding-bottom:64px!important}.pl-xl-0{padding-left:0!important}.pl-xl-1{padding-left:4px!important}.pl-xl-2{padding-left:8px!important}.pl-xl-3{padding-left:12px!important}.pl-xl-4{padding-left:16px!important}.pl-xl-5{padding-left:20px!important}.pl-xl-6{padding-left:24px!important}.pl-xl-7{padding-left:28px!important}.pl-xl-8{padding-left:32px!important}.pl-xl-9{padding-left:36px!important}.pl-xl-10{padding-left:40px!important}.pl-xl-11{padding-left:44px!important}.pl-xl-12{padding-left:48px!important}.pl-xl-13{padding-left:52px!important}.pl-xl-14{padding-left:56px!important}.pl-xl-15{padding-left:60px!important}.pl-xl-16{padding-left:64px!important}.ps-xl-0{padding-inline-start:0px!important}.ps-xl-1{padding-inline-start:4px!important}.ps-xl-2{padding-inline-start:8px!important}.ps-xl-3{padding-inline-start:12px!important}.ps-xl-4{padding-inline-start:16px!important}.ps-xl-5{padding-inline-start:20px!important}.ps-xl-6{padding-inline-start:24px!important}.ps-xl-7{padding-inline-start:28px!important}.ps-xl-8{padding-inline-start:32px!important}.ps-xl-9{padding-inline-start:36px!important}.ps-xl-10{padding-inline-start:40px!important}.ps-xl-11{padding-inline-start:44px!important}.ps-xl-12{padding-inline-start:48px!important}.ps-xl-13{padding-inline-start:52px!important}.ps-xl-14{padding-inline-start:56px!important}.ps-xl-15{padding-inline-start:60px!important}.ps-xl-16{padding-inline-start:64px!important}.pe-xl-0{padding-inline-end:0px!important}.pe-xl-1{padding-inline-end:4px!important}.pe-xl-2{padding-inline-end:8px!important}.pe-xl-3{padding-inline-end:12px!important}.pe-xl-4{padding-inline-end:16px!important}.pe-xl-5{padding-inline-end:20px!important}.pe-xl-6{padding-inline-end:24px!important}.pe-xl-7{padding-inline-end:28px!important}.pe-xl-8{padding-inline-end:32px!important}.pe-xl-9{padding-inline-end:36px!important}.pe-xl-10{padding-inline-end:40px!important}.pe-xl-11{padding-inline-end:44px!important}.pe-xl-12{padding-inline-end:48px!important}.pe-xl-13{padding-inline-end:52px!important}.pe-xl-14{padding-inline-end:56px!important}.pe-xl-15{padding-inline-end:60px!important}.pe-xl-16{padding-inline-end:64px!important}.text-xl-left{text-align:left!important}.text-xl-right{text-align:right!important}.text-xl-center{text-align:center!important}.text-xl-justify{text-align:justify!important}.text-xl-start{text-align:start!important}.text-xl-end{text-align:end!important}.text-xl-h1{font-size:6rem!important;font-weight:300;line-height:6rem;letter-spacing:-.015625em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-xl-h2{font-size:3.75rem!important;font-weight:300;line-height:3.75rem;letter-spacing:-.0083333333em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-xl-h3{font-size:3rem!important;font-weight:400;line-height:3.125rem;letter-spacing:normal!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-xl-h4{font-size:2.125rem!important;font-weight:400;line-height:2.5rem;letter-spacing:.0073529412em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-xl-h5{font-size:1.5rem!important;font-weight:400;line-height:2rem;letter-spacing:normal!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-xl-h6{font-size:1.25rem!important;font-weight:500;line-height:2rem;letter-spacing:.0125em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-xl-subtitle-1{font-size:1rem!important;font-weight:400;line-height:1.75rem;letter-spacing:.009375em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-xl-subtitle-2{font-size:.875rem!important;font-weight:500;line-height:1.375rem;letter-spacing:.0071428571em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-xl-body-1{font-size:1rem!important;font-weight:400;line-height:1.5rem;letter-spacing:.03125em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-xl-body-2{font-size:.875rem!important;font-weight:400;line-height:1.25rem;letter-spacing:.0178571429em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-xl-button{font-size:.875rem!important;font-weight:500;line-height:2.25rem;letter-spacing:.0892857143em!important;font-family:Roboto,sans-serif!important;text-transform:uppercase!important}.text-xl-caption{font-size:.75rem!important;font-weight:400;line-height:1.25rem;letter-spacing:.0333333333em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-xl-overline{font-size:.75rem!important;font-weight:500;line-height:2rem;letter-spacing:.1666666667em!important;font-family:Roboto,sans-serif!important;text-transform:uppercase!important}}@media (min-width: 2560px){.d-xxl-none{display:none!important}.d-xxl-inline{display:inline!important}.d-xxl-inline-block{display:inline-block!important}.d-xxl-block{display:block!important}.d-xxl-table{display:table!important}.d-xxl-table-row{display:table-row!important}.d-xxl-table-cell{display:table-cell!important}.d-xxl-flex{display:flex!important}.d-xxl-inline-flex{display:inline-flex!important}.float-xxl-none{float:none!important}.float-xxl-left{float:left!important}.float-xxl-right{float:right!important}.v-locale--is-rtl .float-xxl-end{float:left!important}.v-locale--is-rtl .float-xxl-start,.v-locale--is-ltr .float-xxl-end{float:right!important}.v-locale--is-ltr .float-xxl-start{float:left!important}.flex-xxl-fill,.flex-xxl-1-1{flex:1 1 auto!important}.flex-xxl-1-0{flex:1 0 auto!important}.flex-xxl-0-1{flex:0 1 auto!important}.flex-xxl-0-0{flex:0 0 auto!important}.flex-xxl-1-1-100{flex:1 1 100%!important}.flex-xxl-1-0-100{flex:1 0 100%!important}.flex-xxl-0-1-100{flex:0 1 100%!important}.flex-xxl-0-0-100{flex:0 0 100%!important}.flex-xxl-row{flex-direction:row!important}.flex-xxl-column{flex-direction:column!important}.flex-xxl-row-reverse{flex-direction:row-reverse!important}.flex-xxl-column-reverse{flex-direction:column-reverse!important}.flex-xxl-grow-0{flex-grow:0!important}.flex-xxl-grow-1{flex-grow:1!important}.flex-xxl-shrink-0{flex-shrink:0!important}.flex-xxl-shrink-1{flex-shrink:1!important}.flex-xxl-wrap{flex-wrap:wrap!important}.flex-xxl-nowrap{flex-wrap:nowrap!important}.flex-xxl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-xxl-start{justify-content:flex-start!important}.justify-xxl-end{justify-content:flex-end!important}.justify-xxl-center{justify-content:center!important}.justify-xxl-space-between{justify-content:space-between!important}.justify-xxl-space-around{justify-content:space-around!important}.justify-xxl-space-evenly{justify-content:space-evenly!important}.align-xxl-start{align-items:flex-start!important}.align-xxl-end{align-items:flex-end!important}.align-xxl-center{align-items:center!important}.align-xxl-baseline{align-items:baseline!important}.align-xxl-stretch{align-items:stretch!important}.align-content-xxl-start{align-content:flex-start!important}.align-content-xxl-end{align-content:flex-end!important}.align-content-xxl-center{align-content:center!important}.align-content-xxl-space-between{align-content:space-between!important}.align-content-xxl-space-around{align-content:space-around!important}.align-content-xxl-space-evenly{align-content:space-evenly!important}.align-content-xxl-stretch{align-content:stretch!important}.align-self-xxl-auto{align-self:auto!important}.align-self-xxl-start{align-self:flex-start!important}.align-self-xxl-end{align-self:flex-end!important}.align-self-xxl-center{align-self:center!important}.align-self-xxl-baseline{align-self:baseline!important}.align-self-xxl-stretch{align-self:stretch!important}.order-xxl-first{order:-1!important}.order-xxl-0{order:0!important}.order-xxl-1{order:1!important}.order-xxl-2{order:2!important}.order-xxl-3{order:3!important}.order-xxl-4{order:4!important}.order-xxl-5{order:5!important}.order-xxl-6{order:6!important}.order-xxl-7{order:7!important}.order-xxl-8{order:8!important}.order-xxl-9{order:9!important}.order-xxl-10{order:10!important}.order-xxl-11{order:11!important}.order-xxl-12{order:12!important}.order-xxl-last{order:13!important}.ma-xxl-0{margin:0!important}.ma-xxl-1{margin:4px!important}.ma-xxl-2{margin:8px!important}.ma-xxl-3{margin:12px!important}.ma-xxl-4{margin:16px!important}.ma-xxl-5{margin:20px!important}.ma-xxl-6{margin:24px!important}.ma-xxl-7{margin:28px!important}.ma-xxl-8{margin:32px!important}.ma-xxl-9{margin:36px!important}.ma-xxl-10{margin:40px!important}.ma-xxl-11{margin:44px!important}.ma-xxl-12{margin:48px!important}.ma-xxl-13{margin:52px!important}.ma-xxl-14{margin:56px!important}.ma-xxl-15{margin:60px!important}.ma-xxl-16{margin:64px!important}.ma-xxl-auto{margin:auto!important}.mx-xxl-0{margin-right:0!important;margin-left:0!important}.mx-xxl-1{margin-right:4px!important;margin-left:4px!important}.mx-xxl-2{margin-right:8px!important;margin-left:8px!important}.mx-xxl-3{margin-right:12px!important;margin-left:12px!important}.mx-xxl-4{margin-right:16px!important;margin-left:16px!important}.mx-xxl-5{margin-right:20px!important;margin-left:20px!important}.mx-xxl-6{margin-right:24px!important;margin-left:24px!important}.mx-xxl-7{margin-right:28px!important;margin-left:28px!important}.mx-xxl-8{margin-right:32px!important;margin-left:32px!important}.mx-xxl-9{margin-right:36px!important;margin-left:36px!important}.mx-xxl-10{margin-right:40px!important;margin-left:40px!important}.mx-xxl-11{margin-right:44px!important;margin-left:44px!important}.mx-xxl-12{margin-right:48px!important;margin-left:48px!important}.mx-xxl-13{margin-right:52px!important;margin-left:52px!important}.mx-xxl-14{margin-right:56px!important;margin-left:56px!important}.mx-xxl-15{margin-right:60px!important;margin-left:60px!important}.mx-xxl-16{margin-right:64px!important;margin-left:64px!important}.mx-xxl-auto{margin-right:auto!important;margin-left:auto!important}.my-xxl-0{margin-top:0!important;margin-bottom:0!important}.my-xxl-1{margin-top:4px!important;margin-bottom:4px!important}.my-xxl-2{margin-top:8px!important;margin-bottom:8px!important}.my-xxl-3{margin-top:12px!important;margin-bottom:12px!important}.my-xxl-4{margin-top:16px!important;margin-bottom:16px!important}.my-xxl-5{margin-top:20px!important;margin-bottom:20px!important}.my-xxl-6{margin-top:24px!important;margin-bottom:24px!important}.my-xxl-7{margin-top:28px!important;margin-bottom:28px!important}.my-xxl-8{margin-top:32px!important;margin-bottom:32px!important}.my-xxl-9{margin-top:36px!important;margin-bottom:36px!important}.my-xxl-10{margin-top:40px!important;margin-bottom:40px!important}.my-xxl-11{margin-top:44px!important;margin-bottom:44px!important}.my-xxl-12{margin-top:48px!important;margin-bottom:48px!important}.my-xxl-13{margin-top:52px!important;margin-bottom:52px!important}.my-xxl-14{margin-top:56px!important;margin-bottom:56px!important}.my-xxl-15{margin-top:60px!important;margin-bottom:60px!important}.my-xxl-16{margin-top:64px!important;margin-bottom:64px!important}.my-xxl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xxl-0{margin-top:0!important}.mt-xxl-1{margin-top:4px!important}.mt-xxl-2{margin-top:8px!important}.mt-xxl-3{margin-top:12px!important}.mt-xxl-4{margin-top:16px!important}.mt-xxl-5{margin-top:20px!important}.mt-xxl-6{margin-top:24px!important}.mt-xxl-7{margin-top:28px!important}.mt-xxl-8{margin-top:32px!important}.mt-xxl-9{margin-top:36px!important}.mt-xxl-10{margin-top:40px!important}.mt-xxl-11{margin-top:44px!important}.mt-xxl-12{margin-top:48px!important}.mt-xxl-13{margin-top:52px!important}.mt-xxl-14{margin-top:56px!important}.mt-xxl-15{margin-top:60px!important}.mt-xxl-16{margin-top:64px!important}.mt-xxl-auto{margin-top:auto!important}.mr-xxl-0{margin-right:0!important}.mr-xxl-1{margin-right:4px!important}.mr-xxl-2{margin-right:8px!important}.mr-xxl-3{margin-right:12px!important}.mr-xxl-4{margin-right:16px!important}.mr-xxl-5{margin-right:20px!important}.mr-xxl-6{margin-right:24px!important}.mr-xxl-7{margin-right:28px!important}.mr-xxl-8{margin-right:32px!important}.mr-xxl-9{margin-right:36px!important}.mr-xxl-10{margin-right:40px!important}.mr-xxl-11{margin-right:44px!important}.mr-xxl-12{margin-right:48px!important}.mr-xxl-13{margin-right:52px!important}.mr-xxl-14{margin-right:56px!important}.mr-xxl-15{margin-right:60px!important}.mr-xxl-16{margin-right:64px!important}.mr-xxl-auto{margin-right:auto!important}.mb-xxl-0{margin-bottom:0!important}.mb-xxl-1{margin-bottom:4px!important}.mb-xxl-2{margin-bottom:8px!important}.mb-xxl-3{margin-bottom:12px!important}.mb-xxl-4{margin-bottom:16px!important}.mb-xxl-5{margin-bottom:20px!important}.mb-xxl-6{margin-bottom:24px!important}.mb-xxl-7{margin-bottom:28px!important}.mb-xxl-8{margin-bottom:32px!important}.mb-xxl-9{margin-bottom:36px!important}.mb-xxl-10{margin-bottom:40px!important}.mb-xxl-11{margin-bottom:44px!important}.mb-xxl-12{margin-bottom:48px!important}.mb-xxl-13{margin-bottom:52px!important}.mb-xxl-14{margin-bottom:56px!important}.mb-xxl-15{margin-bottom:60px!important}.mb-xxl-16{margin-bottom:64px!important}.mb-xxl-auto{margin-bottom:auto!important}.ml-xxl-0{margin-left:0!important}.ml-xxl-1{margin-left:4px!important}.ml-xxl-2{margin-left:8px!important}.ml-xxl-3{margin-left:12px!important}.ml-xxl-4{margin-left:16px!important}.ml-xxl-5{margin-left:20px!important}.ml-xxl-6{margin-left:24px!important}.ml-xxl-7{margin-left:28px!important}.ml-xxl-8{margin-left:32px!important}.ml-xxl-9{margin-left:36px!important}.ml-xxl-10{margin-left:40px!important}.ml-xxl-11{margin-left:44px!important}.ml-xxl-12{margin-left:48px!important}.ml-xxl-13{margin-left:52px!important}.ml-xxl-14{margin-left:56px!important}.ml-xxl-15{margin-left:60px!important}.ml-xxl-16{margin-left:64px!important}.ml-xxl-auto{margin-left:auto!important}.ms-xxl-0{margin-inline-start:0px!important}.ms-xxl-1{margin-inline-start:4px!important}.ms-xxl-2{margin-inline-start:8px!important}.ms-xxl-3{margin-inline-start:12px!important}.ms-xxl-4{margin-inline-start:16px!important}.ms-xxl-5{margin-inline-start:20px!important}.ms-xxl-6{margin-inline-start:24px!important}.ms-xxl-7{margin-inline-start:28px!important}.ms-xxl-8{margin-inline-start:32px!important}.ms-xxl-9{margin-inline-start:36px!important}.ms-xxl-10{margin-inline-start:40px!important}.ms-xxl-11{margin-inline-start:44px!important}.ms-xxl-12{margin-inline-start:48px!important}.ms-xxl-13{margin-inline-start:52px!important}.ms-xxl-14{margin-inline-start:56px!important}.ms-xxl-15{margin-inline-start:60px!important}.ms-xxl-16{margin-inline-start:64px!important}.ms-xxl-auto{margin-inline-start:auto!important}.me-xxl-0{margin-inline-end:0px!important}.me-xxl-1{margin-inline-end:4px!important}.me-xxl-2{margin-inline-end:8px!important}.me-xxl-3{margin-inline-end:12px!important}.me-xxl-4{margin-inline-end:16px!important}.me-xxl-5{margin-inline-end:20px!important}.me-xxl-6{margin-inline-end:24px!important}.me-xxl-7{margin-inline-end:28px!important}.me-xxl-8{margin-inline-end:32px!important}.me-xxl-9{margin-inline-end:36px!important}.me-xxl-10{margin-inline-end:40px!important}.me-xxl-11{margin-inline-end:44px!important}.me-xxl-12{margin-inline-end:48px!important}.me-xxl-13{margin-inline-end:52px!important}.me-xxl-14{margin-inline-end:56px!important}.me-xxl-15{margin-inline-end:60px!important}.me-xxl-16{margin-inline-end:64px!important}.me-xxl-auto{margin-inline-end:auto!important}.ma-xxl-n1{margin:-4px!important}.ma-xxl-n2{margin:-8px!important}.ma-xxl-n3{margin:-12px!important}.ma-xxl-n4{margin:-16px!important}.ma-xxl-n5{margin:-20px!important}.ma-xxl-n6{margin:-24px!important}.ma-xxl-n7{margin:-28px!important}.ma-xxl-n8{margin:-32px!important}.ma-xxl-n9{margin:-36px!important}.ma-xxl-n10{margin:-40px!important}.ma-xxl-n11{margin:-44px!important}.ma-xxl-n12{margin:-48px!important}.ma-xxl-n13{margin:-52px!important}.ma-xxl-n14{margin:-56px!important}.ma-xxl-n15{margin:-60px!important}.ma-xxl-n16{margin:-64px!important}.mx-xxl-n1{margin-right:-4px!important;margin-left:-4px!important}.mx-xxl-n2{margin-right:-8px!important;margin-left:-8px!important}.mx-xxl-n3{margin-right:-12px!important;margin-left:-12px!important}.mx-xxl-n4{margin-right:-16px!important;margin-left:-16px!important}.mx-xxl-n5{margin-right:-20px!important;margin-left:-20px!important}.mx-xxl-n6{margin-right:-24px!important;margin-left:-24px!important}.mx-xxl-n7{margin-right:-28px!important;margin-left:-28px!important}.mx-xxl-n8{margin-right:-32px!important;margin-left:-32px!important}.mx-xxl-n9{margin-right:-36px!important;margin-left:-36px!important}.mx-xxl-n10{margin-right:-40px!important;margin-left:-40px!important}.mx-xxl-n11{margin-right:-44px!important;margin-left:-44px!important}.mx-xxl-n12{margin-right:-48px!important;margin-left:-48px!important}.mx-xxl-n13{margin-right:-52px!important;margin-left:-52px!important}.mx-xxl-n14{margin-right:-56px!important;margin-left:-56px!important}.mx-xxl-n15{margin-right:-60px!important;margin-left:-60px!important}.mx-xxl-n16{margin-right:-64px!important;margin-left:-64px!important}.my-xxl-n1{margin-top:-4px!important;margin-bottom:-4px!important}.my-xxl-n2{margin-top:-8px!important;margin-bottom:-8px!important}.my-xxl-n3{margin-top:-12px!important;margin-bottom:-12px!important}.my-xxl-n4{margin-top:-16px!important;margin-bottom:-16px!important}.my-xxl-n5{margin-top:-20px!important;margin-bottom:-20px!important}.my-xxl-n6{margin-top:-24px!important;margin-bottom:-24px!important}.my-xxl-n7{margin-top:-28px!important;margin-bottom:-28px!important}.my-xxl-n8{margin-top:-32px!important;margin-bottom:-32px!important}.my-xxl-n9{margin-top:-36px!important;margin-bottom:-36px!important}.my-xxl-n10{margin-top:-40px!important;margin-bottom:-40px!important}.my-xxl-n11{margin-top:-44px!important;margin-bottom:-44px!important}.my-xxl-n12{margin-top:-48px!important;margin-bottom:-48px!important}.my-xxl-n13{margin-top:-52px!important;margin-bottom:-52px!important}.my-xxl-n14{margin-top:-56px!important;margin-bottom:-56px!important}.my-xxl-n15{margin-top:-60px!important;margin-bottom:-60px!important}.my-xxl-n16{margin-top:-64px!important;margin-bottom:-64px!important}.mt-xxl-n1{margin-top:-4px!important}.mt-xxl-n2{margin-top:-8px!important}.mt-xxl-n3{margin-top:-12px!important}.mt-xxl-n4{margin-top:-16px!important}.mt-xxl-n5{margin-top:-20px!important}.mt-xxl-n6{margin-top:-24px!important}.mt-xxl-n7{margin-top:-28px!important}.mt-xxl-n8{margin-top:-32px!important}.mt-xxl-n9{margin-top:-36px!important}.mt-xxl-n10{margin-top:-40px!important}.mt-xxl-n11{margin-top:-44px!important}.mt-xxl-n12{margin-top:-48px!important}.mt-xxl-n13{margin-top:-52px!important}.mt-xxl-n14{margin-top:-56px!important}.mt-xxl-n15{margin-top:-60px!important}.mt-xxl-n16{margin-top:-64px!important}.mr-xxl-n1{margin-right:-4px!important}.mr-xxl-n2{margin-right:-8px!important}.mr-xxl-n3{margin-right:-12px!important}.mr-xxl-n4{margin-right:-16px!important}.mr-xxl-n5{margin-right:-20px!important}.mr-xxl-n6{margin-right:-24px!important}.mr-xxl-n7{margin-right:-28px!important}.mr-xxl-n8{margin-right:-32px!important}.mr-xxl-n9{margin-right:-36px!important}.mr-xxl-n10{margin-right:-40px!important}.mr-xxl-n11{margin-right:-44px!important}.mr-xxl-n12{margin-right:-48px!important}.mr-xxl-n13{margin-right:-52px!important}.mr-xxl-n14{margin-right:-56px!important}.mr-xxl-n15{margin-right:-60px!important}.mr-xxl-n16{margin-right:-64px!important}.mb-xxl-n1{margin-bottom:-4px!important}.mb-xxl-n2{margin-bottom:-8px!important}.mb-xxl-n3{margin-bottom:-12px!important}.mb-xxl-n4{margin-bottom:-16px!important}.mb-xxl-n5{margin-bottom:-20px!important}.mb-xxl-n6{margin-bottom:-24px!important}.mb-xxl-n7{margin-bottom:-28px!important}.mb-xxl-n8{margin-bottom:-32px!important}.mb-xxl-n9{margin-bottom:-36px!important}.mb-xxl-n10{margin-bottom:-40px!important}.mb-xxl-n11{margin-bottom:-44px!important}.mb-xxl-n12{margin-bottom:-48px!important}.mb-xxl-n13{margin-bottom:-52px!important}.mb-xxl-n14{margin-bottom:-56px!important}.mb-xxl-n15{margin-bottom:-60px!important}.mb-xxl-n16{margin-bottom:-64px!important}.ml-xxl-n1{margin-left:-4px!important}.ml-xxl-n2{margin-left:-8px!important}.ml-xxl-n3{margin-left:-12px!important}.ml-xxl-n4{margin-left:-16px!important}.ml-xxl-n5{margin-left:-20px!important}.ml-xxl-n6{margin-left:-24px!important}.ml-xxl-n7{margin-left:-28px!important}.ml-xxl-n8{margin-left:-32px!important}.ml-xxl-n9{margin-left:-36px!important}.ml-xxl-n10{margin-left:-40px!important}.ml-xxl-n11{margin-left:-44px!important}.ml-xxl-n12{margin-left:-48px!important}.ml-xxl-n13{margin-left:-52px!important}.ml-xxl-n14{margin-left:-56px!important}.ml-xxl-n15{margin-left:-60px!important}.ml-xxl-n16{margin-left:-64px!important}.ms-xxl-n1{margin-inline-start:-4px!important}.ms-xxl-n2{margin-inline-start:-8px!important}.ms-xxl-n3{margin-inline-start:-12px!important}.ms-xxl-n4{margin-inline-start:-16px!important}.ms-xxl-n5{margin-inline-start:-20px!important}.ms-xxl-n6{margin-inline-start:-24px!important}.ms-xxl-n7{margin-inline-start:-28px!important}.ms-xxl-n8{margin-inline-start:-32px!important}.ms-xxl-n9{margin-inline-start:-36px!important}.ms-xxl-n10{margin-inline-start:-40px!important}.ms-xxl-n11{margin-inline-start:-44px!important}.ms-xxl-n12{margin-inline-start:-48px!important}.ms-xxl-n13{margin-inline-start:-52px!important}.ms-xxl-n14{margin-inline-start:-56px!important}.ms-xxl-n15{margin-inline-start:-60px!important}.ms-xxl-n16{margin-inline-start:-64px!important}.me-xxl-n1{margin-inline-end:-4px!important}.me-xxl-n2{margin-inline-end:-8px!important}.me-xxl-n3{margin-inline-end:-12px!important}.me-xxl-n4{margin-inline-end:-16px!important}.me-xxl-n5{margin-inline-end:-20px!important}.me-xxl-n6{margin-inline-end:-24px!important}.me-xxl-n7{margin-inline-end:-28px!important}.me-xxl-n8{margin-inline-end:-32px!important}.me-xxl-n9{margin-inline-end:-36px!important}.me-xxl-n10{margin-inline-end:-40px!important}.me-xxl-n11{margin-inline-end:-44px!important}.me-xxl-n12{margin-inline-end:-48px!important}.me-xxl-n13{margin-inline-end:-52px!important}.me-xxl-n14{margin-inline-end:-56px!important}.me-xxl-n15{margin-inline-end:-60px!important}.me-xxl-n16{margin-inline-end:-64px!important}.pa-xxl-0{padding:0!important}.pa-xxl-1{padding:4px!important}.pa-xxl-2{padding:8px!important}.pa-xxl-3{padding:12px!important}.pa-xxl-4{padding:16px!important}.pa-xxl-5{padding:20px!important}.pa-xxl-6{padding:24px!important}.pa-xxl-7{padding:28px!important}.pa-xxl-8{padding:32px!important}.pa-xxl-9{padding:36px!important}.pa-xxl-10{padding:40px!important}.pa-xxl-11{padding:44px!important}.pa-xxl-12{padding:48px!important}.pa-xxl-13{padding:52px!important}.pa-xxl-14{padding:56px!important}.pa-xxl-15{padding:60px!important}.pa-xxl-16{padding:64px!important}.px-xxl-0{padding-right:0!important;padding-left:0!important}.px-xxl-1{padding-right:4px!important;padding-left:4px!important}.px-xxl-2{padding-right:8px!important;padding-left:8px!important}.px-xxl-3{padding-right:12px!important;padding-left:12px!important}.px-xxl-4{padding-right:16px!important;padding-left:16px!important}.px-xxl-5{padding-right:20px!important;padding-left:20px!important}.px-xxl-6{padding-right:24px!important;padding-left:24px!important}.px-xxl-7{padding-right:28px!important;padding-left:28px!important}.px-xxl-8{padding-right:32px!important;padding-left:32px!important}.px-xxl-9{padding-right:36px!important;padding-left:36px!important}.px-xxl-10{padding-right:40px!important;padding-left:40px!important}.px-xxl-11{padding-right:44px!important;padding-left:44px!important}.px-xxl-12{padding-right:48px!important;padding-left:48px!important}.px-xxl-13{padding-right:52px!important;padding-left:52px!important}.px-xxl-14{padding-right:56px!important;padding-left:56px!important}.px-xxl-15{padding-right:60px!important;padding-left:60px!important}.px-xxl-16{padding-right:64px!important;padding-left:64px!important}.py-xxl-0{padding-top:0!important;padding-bottom:0!important}.py-xxl-1{padding-top:4px!important;padding-bottom:4px!important}.py-xxl-2{padding-top:8px!important;padding-bottom:8px!important}.py-xxl-3{padding-top:12px!important;padding-bottom:12px!important}.py-xxl-4{padding-top:16px!important;padding-bottom:16px!important}.py-xxl-5{padding-top:20px!important;padding-bottom:20px!important}.py-xxl-6{padding-top:24px!important;padding-bottom:24px!important}.py-xxl-7{padding-top:28px!important;padding-bottom:28px!important}.py-xxl-8{padding-top:32px!important;padding-bottom:32px!important}.py-xxl-9{padding-top:36px!important;padding-bottom:36px!important}.py-xxl-10{padding-top:40px!important;padding-bottom:40px!important}.py-xxl-11{padding-top:44px!important;padding-bottom:44px!important}.py-xxl-12{padding-top:48px!important;padding-bottom:48px!important}.py-xxl-13{padding-top:52px!important;padding-bottom:52px!important}.py-xxl-14{padding-top:56px!important;padding-bottom:56px!important}.py-xxl-15{padding-top:60px!important;padding-bottom:60px!important}.py-xxl-16{padding-top:64px!important;padding-bottom:64px!important}.pt-xxl-0{padding-top:0!important}.pt-xxl-1{padding-top:4px!important}.pt-xxl-2{padding-top:8px!important}.pt-xxl-3{padding-top:12px!important}.pt-xxl-4{padding-top:16px!important}.pt-xxl-5{padding-top:20px!important}.pt-xxl-6{padding-top:24px!important}.pt-xxl-7{padding-top:28px!important}.pt-xxl-8{padding-top:32px!important}.pt-xxl-9{padding-top:36px!important}.pt-xxl-10{padding-top:40px!important}.pt-xxl-11{padding-top:44px!important}.pt-xxl-12{padding-top:48px!important}.pt-xxl-13{padding-top:52px!important}.pt-xxl-14{padding-top:56px!important}.pt-xxl-15{padding-top:60px!important}.pt-xxl-16{padding-top:64px!important}.pr-xxl-0{padding-right:0!important}.pr-xxl-1{padding-right:4px!important}.pr-xxl-2{padding-right:8px!important}.pr-xxl-3{padding-right:12px!important}.pr-xxl-4{padding-right:16px!important}.pr-xxl-5{padding-right:20px!important}.pr-xxl-6{padding-right:24px!important}.pr-xxl-7{padding-right:28px!important}.pr-xxl-8{padding-right:32px!important}.pr-xxl-9{padding-right:36px!important}.pr-xxl-10{padding-right:40px!important}.pr-xxl-11{padding-right:44px!important}.pr-xxl-12{padding-right:48px!important}.pr-xxl-13{padding-right:52px!important}.pr-xxl-14{padding-right:56px!important}.pr-xxl-15{padding-right:60px!important}.pr-xxl-16{padding-right:64px!important}.pb-xxl-0{padding-bottom:0!important}.pb-xxl-1{padding-bottom:4px!important}.pb-xxl-2{padding-bottom:8px!important}.pb-xxl-3{padding-bottom:12px!important}.pb-xxl-4{padding-bottom:16px!important}.pb-xxl-5{padding-bottom:20px!important}.pb-xxl-6{padding-bottom:24px!important}.pb-xxl-7{padding-bottom:28px!important}.pb-xxl-8{padding-bottom:32px!important}.pb-xxl-9{padding-bottom:36px!important}.pb-xxl-10{padding-bottom:40px!important}.pb-xxl-11{padding-bottom:44px!important}.pb-xxl-12{padding-bottom:48px!important}.pb-xxl-13{padding-bottom:52px!important}.pb-xxl-14{padding-bottom:56px!important}.pb-xxl-15{padding-bottom:60px!important}.pb-xxl-16{padding-bottom:64px!important}.pl-xxl-0{padding-left:0!important}.pl-xxl-1{padding-left:4px!important}.pl-xxl-2{padding-left:8px!important}.pl-xxl-3{padding-left:12px!important}.pl-xxl-4{padding-left:16px!important}.pl-xxl-5{padding-left:20px!important}.pl-xxl-6{padding-left:24px!important}.pl-xxl-7{padding-left:28px!important}.pl-xxl-8{padding-left:32px!important}.pl-xxl-9{padding-left:36px!important}.pl-xxl-10{padding-left:40px!important}.pl-xxl-11{padding-left:44px!important}.pl-xxl-12{padding-left:48px!important}.pl-xxl-13{padding-left:52px!important}.pl-xxl-14{padding-left:56px!important}.pl-xxl-15{padding-left:60px!important}.pl-xxl-16{padding-left:64px!important}.ps-xxl-0{padding-inline-start:0px!important}.ps-xxl-1{padding-inline-start:4px!important}.ps-xxl-2{padding-inline-start:8px!important}.ps-xxl-3{padding-inline-start:12px!important}.ps-xxl-4{padding-inline-start:16px!important}.ps-xxl-5{padding-inline-start:20px!important}.ps-xxl-6{padding-inline-start:24px!important}.ps-xxl-7{padding-inline-start:28px!important}.ps-xxl-8{padding-inline-start:32px!important}.ps-xxl-9{padding-inline-start:36px!important}.ps-xxl-10{padding-inline-start:40px!important}.ps-xxl-11{padding-inline-start:44px!important}.ps-xxl-12{padding-inline-start:48px!important}.ps-xxl-13{padding-inline-start:52px!important}.ps-xxl-14{padding-inline-start:56px!important}.ps-xxl-15{padding-inline-start:60px!important}.ps-xxl-16{padding-inline-start:64px!important}.pe-xxl-0{padding-inline-end:0px!important}.pe-xxl-1{padding-inline-end:4px!important}.pe-xxl-2{padding-inline-end:8px!important}.pe-xxl-3{padding-inline-end:12px!important}.pe-xxl-4{padding-inline-end:16px!important}.pe-xxl-5{padding-inline-end:20px!important}.pe-xxl-6{padding-inline-end:24px!important}.pe-xxl-7{padding-inline-end:28px!important}.pe-xxl-8{padding-inline-end:32px!important}.pe-xxl-9{padding-inline-end:36px!important}.pe-xxl-10{padding-inline-end:40px!important}.pe-xxl-11{padding-inline-end:44px!important}.pe-xxl-12{padding-inline-end:48px!important}.pe-xxl-13{padding-inline-end:52px!important}.pe-xxl-14{padding-inline-end:56px!important}.pe-xxl-15{padding-inline-end:60px!important}.pe-xxl-16{padding-inline-end:64px!important}.text-xxl-left{text-align:left!important}.text-xxl-right{text-align:right!important}.text-xxl-center{text-align:center!important}.text-xxl-justify{text-align:justify!important}.text-xxl-start{text-align:start!important}.text-xxl-end{text-align:end!important}.text-xxl-h1{font-size:6rem!important;font-weight:300;line-height:6rem;letter-spacing:-.015625em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-xxl-h2{font-size:3.75rem!important;font-weight:300;line-height:3.75rem;letter-spacing:-.0083333333em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-xxl-h3{font-size:3rem!important;font-weight:400;line-height:3.125rem;letter-spacing:normal!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-xxl-h4{font-size:2.125rem!important;font-weight:400;line-height:2.5rem;letter-spacing:.0073529412em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-xxl-h5{font-size:1.5rem!important;font-weight:400;line-height:2rem;letter-spacing:normal!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-xxl-h6{font-size:1.25rem!important;font-weight:500;line-height:2rem;letter-spacing:.0125em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-xxl-subtitle-1{font-size:1rem!important;font-weight:400;line-height:1.75rem;letter-spacing:.009375em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-xxl-subtitle-2{font-size:.875rem!important;font-weight:500;line-height:1.375rem;letter-spacing:.0071428571em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-xxl-body-1{font-size:1rem!important;font-weight:400;line-height:1.5rem;letter-spacing:.03125em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-xxl-body-2{font-size:.875rem!important;font-weight:400;line-height:1.25rem;letter-spacing:.0178571429em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-xxl-button{font-size:.875rem!important;font-weight:500;line-height:2.25rem;letter-spacing:.0892857143em!important;font-family:Roboto,sans-serif!important;text-transform:uppercase!important}.text-xxl-caption{font-size:.75rem!important;font-weight:400;line-height:1.25rem;letter-spacing:.0333333333em!important;font-family:Roboto,sans-serif!important;text-transform:none!important}.text-xxl-overline{font-size:.75rem!important;font-weight:500;line-height:2rem;letter-spacing:.1666666667em!important;font-family:Roboto,sans-serif!important;text-transform:uppercase!important}}@media print{.d-print-none{display:none!important}.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}.float-print-none{float:none!important}.float-print-left{float:left!important}.float-print-right{float:right!important}.v-locale--is-rtl .float-print-end{float:left!important}.v-locale--is-rtl .float-print-start,.v-locale--is-ltr .float-print-end{float:right!important}.v-locale--is-ltr .float-print-start{float:left!important}}.v-application{display:flex;background:rgb(var(--v-theme-background));color:rgba(var(--v-theme-on-background),var(--v-high-emphasis-opacity))}.v-application__wrap{backface-visibility:hidden;display:flex;flex-direction:column;flex:1 1 auto;max-width:100%;min-height:100vh;min-height:100dvh;position:relative}.v-app-bar{display:flex}.v-app-bar.v-toolbar{background:rgb(var(--v-theme-surface));color:rgba(var(--v-theme-on-surface),var(--v-high-emphasis-opacity))}.v-app-bar.v-toolbar:not(.v-toolbar--flat){box-shadow:0 2px 4px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 4px 5px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 10px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-app-bar:not(.v-toolbar--absolute){padding-inline-end:var(--v-scrollbar-offset)}.v-toolbar{align-items:flex-start;display:flex;flex:none;flex-direction:column;justify-content:space-between;max-width:100%;overflow:hidden;position:relative;transition:.2s cubic-bezier(.4,0,.2,1);transition-property:height,width,transform,max-width,left,right,top,bottom,box-shadow;width:100%;border-color:rgba(var(--v-border-color),var(--v-border-opacity));border-style:solid;border-width:0;box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12));border-radius:0;background:rgb(var(--v-theme-on-surface-variant));color:rgba(var(--v-theme-on-surface),var(--v-high-emphasis-opacity))}.v-toolbar--border{border-width:thin;box-shadow:none}.v-toolbar--absolute{position:absolute}.v-toolbar--collapse{max-width:112px;overflow:hidden}.v-toolbar--collapse .v-toolbar-title{display:none}.v-locale--is-ltr.v-toolbar--collapse,.v-locale--is-ltr .v-toolbar--collapse{border-bottom-right-radius:24px}.v-locale--is-rtl.v-toolbar--collapse,.v-locale--is-rtl .v-toolbar--collapse{border-bottom-left-radius:24px}.v-toolbar--flat{box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-toolbar--floating{display:inline-flex}.v-toolbar--rounded{border-radius:4px}.v-toolbar__content,.v-toolbar__extension{align-items:center;display:flex;flex:0 0 auto;position:relative;transition:inherit;width:100%}.v-toolbar__content>.v-btn:first-child{margin-inline-start:10px}.v-toolbar__content>.v-btn:last-child{margin-inline-end:10px}.v-toolbar__content>.v-toolbar-title{margin-inline-start:16px}.v-toolbar--density-prominent .v-toolbar__content{align-items:flex-start}.v-toolbar__image{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;opacity:var(--v-toolbar-image-opacity, 1);transition-property:opacity}.v-toolbar__prepend,.v-toolbar__append{align-items:center;align-self:stretch;display:flex}.v-toolbar__prepend{margin-inline-start:10px;margin-inline-end:auto}.v-toolbar__append{margin-inline-start:auto;margin-inline-end:10px}.v-toolbar-title{flex:1 1;min-width:0;font-size:1.25rem;font-weight:400;letter-spacing:0;line-height:1.75rem;text-transform:none}.v-toolbar--density-prominent .v-toolbar-title{align-self:flex-end;padding-bottom:6px;font-size:1.5rem;font-weight:400;letter-spacing:0;line-height:2.25rem;text-transform:none}.v-toolbar-title__placeholder{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v-toolbar-items{display:flex;height:inherit;align-self:stretch}.v-toolbar-items>.v-btn{border-radius:0}.v-img{--v-theme-overlay-multiplier: 3;z-index:0}.v-img--booting .v-responsive__sizer{transition:none}.v-img__img,.v-img__picture,.v-img__gradient,.v-img__placeholder,.v-img__error{z-index:-1;position:absolute;top:0;left:0;width:100%;height:100%}.v-img__img--preload{filter:blur(4px)}.v-img__img--contain{object-fit:contain}.v-img__img--cover{object-fit:cover}.v-img__gradient{background-repeat:no-repeat}.v-responsive{display:flex;flex:1 0 auto;max-height:100%;max-width:100%;overflow:hidden;position:relative}.v-responsive--inline{display:inline-flex;flex:0 0 auto}.v-responsive__content{flex:1 0 0px;max-width:100%}.v-responsive__sizer~.v-responsive__content{margin-inline-start:-100%}.v-responsive__sizer{flex:1 0 0px;transition:padding-bottom .2s cubic-bezier(.4,0,.2,1);pointer-events:none}.v-btn{align-items:center;border-radius:4px;display:inline-grid;grid-template-areas:"prepend content append";grid-template-columns:max-content auto max-content;font-weight:500;justify-content:center;letter-spacing:.0892857143em;line-height:normal;max-width:100%;outline:none;position:relative;text-decoration:none;text-indent:.0892857143em;text-transform:uppercase;transition-property:box-shadow,transform,opacity,background;transition-duration:.28s;transition-timing-function:cubic-bezier(.4,0,.2,1);-webkit-user-select:none;user-select:none;vertical-align:middle;flex-shrink:0;border-color:rgba(var(--v-border-color),var(--v-border-opacity));border-style:solid;border-width:0}.v-btn--size-x-small{--v-btn-size: .625rem;--v-btn-height: 20px;font-size:var(--v-btn-size);min-width:36px;padding:0 8px}.v-btn--size-small{--v-btn-size: .75rem;--v-btn-height: 28px;font-size:var(--v-btn-size);min-width:50px;padding:0 12px}.v-btn--size-default{--v-btn-size: .875rem;--v-btn-height: 36px;font-size:var(--v-btn-size);min-width:64px;padding:0 16px}.v-btn--size-large{--v-btn-size: 1rem;--v-btn-height: 44px;font-size:var(--v-btn-size);min-width:78px;padding:0 20px}.v-btn--size-x-large{--v-btn-size: 1.125rem;--v-btn-height: 52px;font-size:var(--v-btn-size);min-width:92px;padding:0 24px}.v-btn.v-btn--density-default{height:calc(var(--v-btn-height) + 0px)}.v-btn.v-btn--density-comfortable{height:calc(var(--v-btn-height) + -8px)}.v-btn.v-btn--density-compact{height:calc(var(--v-btn-height) + -12px)}.v-btn--border{border-width:thin;box-shadow:none}.v-btn--absolute{position:absolute}.v-btn--fixed{position:fixed}.v-btn:hover>.v-btn__overlay{opacity:calc(var(--v-hover-opacity) * var(--v-theme-overlay-multiplier))}.v-btn:focus-visible>.v-btn__overlay{opacity:calc(var(--v-focus-opacity) * var(--v-theme-overlay-multiplier))}@supports not selector(:focus-visible){.v-btn:focus>.v-btn__overlay{opacity:calc(var(--v-focus-opacity) * var(--v-theme-overlay-multiplier))}}.v-btn--active>.v-btn__overlay,.v-btn[aria-haspopup=menu][aria-expanded=true]>.v-btn__overlay{opacity:calc(var(--v-activated-opacity) * var(--v-theme-overlay-multiplier))}.v-btn--active:hover>.v-btn__overlay,.v-btn[aria-haspopup=menu][aria-expanded=true]:hover>.v-btn__overlay{opacity:calc((var(--v-activated-opacity) + var(--v-hover-opacity)) * var(--v-theme-overlay-multiplier))}.v-btn--active:focus-visible>.v-btn__overlay,.v-btn[aria-haspopup=menu][aria-expanded=true]:focus-visible>.v-btn__overlay{opacity:calc((var(--v-activated-opacity) + var(--v-focus-opacity)) * var(--v-theme-overlay-multiplier))}@supports not selector(:focus-visible){.v-btn--active:focus>.v-btn__overlay,.v-btn[aria-haspopup=menu][aria-expanded=true]:focus>.v-btn__overlay{opacity:calc((var(--v-activated-opacity) + var(--v-focus-opacity)) * var(--v-theme-overlay-multiplier))}}.v-btn--variant-plain,.v-btn--variant-outlined,.v-btn--variant-text,.v-btn--variant-tonal{background:transparent;color:inherit}.v-btn--variant-plain{opacity:.62}.v-btn--variant-plain:focus,.v-btn--variant-plain:hover{opacity:1}.v-btn--variant-plain .v-btn__overlay{display:none}.v-btn--variant-elevated,.v-btn--variant-flat{background:rgb(var(--v-theme-surface));color:rgba(var(--v-theme-on-surface),var(--v-high-emphasis-opacity))}.v-btn--variant-elevated{box-shadow:0 3px 1px -2px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 2px 2px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 5px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-btn--variant-flat{box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-btn--variant-outlined{border:thin solid currentColor}.v-btn--variant-text .v-btn__overlay{background:currentColor}.v-btn--variant-tonal .v-btn__underlay{background:currentColor;opacity:var(--v-activated-opacity);border-radius:inherit;position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}@supports selector(:focus-visible){.v-btn:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;border:2px solid currentColor;border-radius:inherit;opacity:0;transition:opacity .2s ease-in-out}.v-btn:focus-visible:after{opacity:calc(.25 * var(--v-theme-overlay-multiplier))}}.v-btn--icon{border-radius:50%;min-width:0;padding:0}.v-btn--icon.v-btn--size-default{--v-btn-size: 1rem}.v-btn--icon.v-btn--density-default{width:calc(var(--v-btn-height) + 12px);height:calc(var(--v-btn-height) + 12px)}.v-btn--icon.v-btn--density-comfortable{width:calc(var(--v-btn-height) + 0px);height:calc(var(--v-btn-height) + 0px)}.v-btn--icon.v-btn--density-compact{width:calc(var(--v-btn-height) + -8px);height:calc(var(--v-btn-height) + -8px)}.v-btn--elevated:hover,.v-btn--elevated:focus{box-shadow:0 2px 4px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 4px 5px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 10px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-btn--elevated:active{box-shadow:0 5px 5px -3px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 8px 10px 1px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 3px 14px 2px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-btn--flat{box-shadow:none}.v-btn--block{display:flex;flex:1 0 auto;min-width:100%}.v-btn--disabled{pointer-events:none;opacity:.26}.v-btn--disabled:hover{opacity:.26}.v-btn--disabled.v-btn--variant-elevated,.v-btn--disabled.v-btn--variant-flat{box-shadow:none;opacity:1;color:rgba(var(--v-theme-on-surface),.26);background:rgb(var(--v-theme-surface))}.v-btn--disabled.v-btn--variant-elevated .v-btn__overlay,.v-btn--disabled.v-btn--variant-flat .v-btn__overlay{opacity:.4615384615}.v-btn--loading{pointer-events:none}.v-btn--loading .v-btn__content,.v-btn--loading .v-btn__prepend,.v-btn--loading .v-btn__append{opacity:0}.v-btn--stacked{grid-template-areas:"prepend" "content" "append";grid-template-columns:auto;grid-template-rows:max-content max-content max-content;justify-items:center;align-content:center}.v-btn--stacked .v-btn__content{flex-direction:column;line-height:1.25}.v-btn--stacked .v-btn__prepend,.v-btn--stacked .v-btn__append,.v-btn--stacked .v-btn__content>.v-icon--start,.v-btn--stacked .v-btn__content>.v-icon--end{margin-inline-start:0;margin-inline-end:0}.v-btn--stacked .v-btn__prepend,.v-btn--stacked .v-btn__content>.v-icon--start{margin-bottom:4px}.v-btn--stacked .v-btn__append,.v-btn--stacked .v-btn__content>.v-icon--end{margin-top:4px}.v-btn--stacked.v-btn--size-x-small{--v-btn-size: .625rem;--v-btn-height: 56px;font-size:var(--v-btn-size);min-width:56px;padding:0 12px}.v-btn--stacked.v-btn--size-small{--v-btn-size: .75rem;--v-btn-height: 64px;font-size:var(--v-btn-size);min-width:64px;padding:0 14px}.v-btn--stacked.v-btn--size-default{--v-btn-size: .875rem;--v-btn-height: 72px;font-size:var(--v-btn-size);min-width:72px;padding:0 16px}.v-btn--stacked.v-btn--size-large{--v-btn-size: 1rem;--v-btn-height: 80px;font-size:var(--v-btn-size);min-width:80px;padding:0 18px}.v-btn--stacked.v-btn--size-x-large{--v-btn-size: 1.125rem;--v-btn-height: 88px;font-size:var(--v-btn-size);min-width:88px;padding:0 20px}.v-btn--stacked.v-btn--density-default{height:calc(var(--v-btn-height) + 0px)}.v-btn--stacked.v-btn--density-comfortable{height:calc(var(--v-btn-height) + -16px)}.v-btn--stacked.v-btn--density-compact{height:calc(var(--v-btn-height) + -24px)}.v-btn--rounded{border-radius:24px}.v-btn--rounded.v-btn--icon{border-radius:4px}.v-btn .v-icon{--v-icon-size-multiplier: .8571428571}.v-btn--icon .v-icon{--v-icon-size-multiplier: 1}.v-btn--stacked .v-icon{--v-icon-size-multiplier: 1.1428571429}.v-btn__loader{align-items:center;display:flex;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%}.v-btn__content,.v-btn__prepend,.v-btn__append{align-items:center;display:flex;transition:transform,opacity .2s cubic-bezier(.4,0,.2,1)}.v-btn__prepend{grid-area:prepend;margin-inline-start:calc(var(--v-btn-height) / -9);margin-inline-end:calc(var(--v-btn-height) / 4.5)}.v-btn__append{grid-area:append;margin-inline-start:calc(var(--v-btn-height) / 4.5);margin-inline-end:calc(var(--v-btn-height) / -9)}.v-btn__content{grid-area:content;justify-content:center;white-space:nowrap}.v-btn__content>.v-icon--start{margin-inline-start:calc(var(--v-btn-height) / -9);margin-inline-end:calc(var(--v-btn-height) / 4.5)}.v-btn__content>.v-icon--end{margin-inline-start:calc(var(--v-btn-height) / 4.5);margin-inline-end:calc(var(--v-btn-height) / -9)}.v-btn--stacked .v-btn__content{white-space:normal}.v-btn__overlay{background-color:currentColor;border-radius:inherit;opacity:0;transition:opacity .2s ease-in-out}.v-btn__overlay,.v-btn__underlay{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.v-card-actions .v-btn{padding:0 8px}.v-card-actions .v-btn~.v-btn:not(.v-btn-toggle .v-btn){margin-inline-start:.5rem}.v-banner-actions .v-btn{padding:0 8px}.v-pagination .v-btn{border-radius:4px}.v-btn__overlay{transition:none}.v-pagination__item--is-active .v-btn__overlay{opacity:var(--v-border-opacity)}.v-snackbar-actions .v-btn{padding:0 8px}.v-btn-toggle>.v-btn.v-btn--active:not(.v-btn--disabled)>.v-btn__overlay{opacity:calc(var(--v-activated-opacity) * var(--v-theme-overlay-multiplier))}.v-btn-toggle>.v-btn.v-btn--active:not(.v-btn--disabled):hover>.v-btn__overlay{opacity:calc((var(--v-activated-opacity) + var(--v-hover-opacity)) * var(--v-theme-overlay-multiplier))}.v-btn-toggle>.v-btn.v-btn--active:not(.v-btn--disabled):focus-visible>.v-btn__overlay{opacity:calc((var(--v-activated-opacity) + var(--v-focus-opacity)) * var(--v-theme-overlay-multiplier))}@supports not selector(:focus-visible){.v-btn-toggle>.v-btn.v-btn--active:not(.v-btn--disabled):focus>.v-btn__overlay{opacity:calc((var(--v-activated-opacity) + var(--v-focus-opacity)) * var(--v-theme-overlay-multiplier))}}.v-btn-group{display:inline-flex;flex-wrap:nowrap;max-width:100%;min-width:0;overflow:hidden;vertical-align:middle;border-color:rgba(var(--v-border-color),var(--v-border-opacity));border-style:solid;border-width:0;box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12));border-radius:4px;background:transparent;color:rgba(var(--v-theme-on-surface),var(--v-high-emphasis-opacity))}.v-btn-group--border{border-width:thin;box-shadow:none}.v-btn-group--density-default.v-btn-group{height:48px}.v-btn-group--density-comfortable.v-btn-group{height:40px}.v-btn-group--density-compact.v-btn-group{height:36px}.v-btn-group .v-btn{border-radius:0;border-color:inherit}.v-btn-group .v-btn:not(:last-child){border-inline-end:none}.v-btn-group .v-btn:not(:first-child){border-inline-start:none}.v-btn-group .v-btn:first-child{border-start-start-radius:inherit;border-end-start-radius:inherit}.v-btn-group .v-btn:last-child{border-start-end-radius:inherit;border-end-end-radius:inherit}.v-btn-group--divided .v-btn:not(:last-child){border-inline-end-width:thin;border-inline-end-style:solid;border-inline-end-color:rgba(var(--v-border-color),var(--v-border-opacity))}.v-btn-group--tile{border-radius:0}.v-icon{--v-icon-size-multiplier: 1;align-items:center;display:inline-flex;font-feature-settings:"liga";height:1em;justify-content:center;letter-spacing:normal;line-height:1;position:relative;text-indent:0;text-align:center;-webkit-user-select:none;user-select:none;vertical-align:middle;width:1em;min-width:1em}.v-icon--clickable{cursor:pointer}.v-icon--size-x-small{font-size:calc(var(--v-icon-size-multiplier) * 1em)}.v-icon--size-small{font-size:calc(var(--v-icon-size-multiplier) * 1.25em)}.v-icon--size-default{font-size:calc(var(--v-icon-size-multiplier) * 1.5em)}.v-icon--size-large{font-size:calc(var(--v-icon-size-multiplier) * 1.75em)}.v-icon--size-x-large{font-size:calc(var(--v-icon-size-multiplier) * 2em)}.v-icon__svg{fill:currentColor;width:100%;height:100%}.v-icon--start{margin-inline-end:8px}.v-icon--end{margin-inline-start:8px}.v-progress-circular{align-items:center;display:inline-flex;justify-content:center;position:relative;vertical-align:middle}.v-progress-circular>svg{width:100%;height:100%;margin:auto;position:absolute;top:0;bottom:0;left:0;right:0;z-index:0}.v-progress-circular__content{align-items:center;display:flex;justify-content:center}.v-progress-circular__underlay{color:rgba(var(--v-border-color),var(--v-border-opacity));stroke:currentColor;z-index:1}.v-progress-circular__overlay{stroke:currentColor;transition:all .2s ease-in-out,stroke-width 0s;z-index:2}.v-progress-circular--size-x-small{height:16px;width:16px}.v-progress-circular--size-small{height:24px;width:24px}.v-progress-circular--size-default{height:32px;width:32px}.v-progress-circular--size-large{height:48px;width:48px}.v-progress-circular--size-x-large{height:64px;width:64px}.v-progress-circular--indeterminate>svg{animation:progress-circular-rotate 1.4s linear infinite;transform-origin:center center;transition:all .2s ease-in-out}.v-progress-circular--indeterminate .v-progress-circular__overlay{animation:progress-circular-dash 1.4s ease-in-out infinite,progress-circular-rotate 1.4s linear infinite;stroke-dasharray:25,200;stroke-dashoffset:0;stroke-linecap:round;transform-origin:center center;transform:rotate(-90deg)}.v-progress-circular--disable-shrink>svg{animation-duration:.7s}.v-progress-circular--disable-shrink .v-progress-circular__overlay{animation:none}.v-progress-circular--indeterminate:not(.v-progress-circular--visible)>svg,.v-progress-circular--indeterminate:not(.v-progress-circular--visible) .v-progress-circular__overlay{animation-play-state:paused!important}@keyframes progress-circular-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0px}50%{stroke-dasharray:100,200;stroke-dashoffset:-15px}to{stroke-dasharray:100,200;stroke-dashoffset:-124px}}@keyframes progress-circular-rotate{to{transform:rotate(270deg)}}.v-progress-linear{background:transparent;overflow:hidden;position:relative;transition:.2s cubic-bezier(.4,0,.2,1);width:100%}.v-progress-linear__background{background:currentColor;bottom:0;left:0;opacity:var(--v-border-opacity);position:absolute;top:0;transition-property:width,left,right;transition:inherit}.v-progress-linear__content{align-items:center;display:flex;height:100%;justify-content:center;left:0;pointer-events:none;position:absolute;top:0;width:100%}.v-progress-linear__determinate,.v-progress-linear__indeterminate{background:currentColor}.v-progress-linear__determinate{height:inherit;left:0;position:absolute;transition:inherit;transition-property:width,left,right}.v-progress-linear__indeterminate .long,.v-progress-linear__indeterminate .short{animation-play-state:paused;animation-duration:2.2s;animation-iteration-count:infinite;bottom:0;height:inherit;left:0;position:absolute;right:auto;top:0;width:auto;will-change:left,right}.v-progress-linear__indeterminate .long{animation-name:indeterminate-ltr}.v-progress-linear__indeterminate .short{animation-name:indeterminate-short-ltr}.v-progress-linear__stream{animation:stream .25s infinite linear;animation-play-state:paused;bottom:0;left:auto;opacity:.3;pointer-events:none;position:absolute;transition:inherit;transition-property:width,left,right}.v-progress-linear--reverse .v-progress-linear__background,.v-progress-linear--reverse .v-progress-linear__determinate,.v-progress-linear--reverse .v-progress-linear__content,.v-progress-linear--reverse .v-progress-linear__indeterminate .long,.v-progress-linear--reverse .v-progress-linear__indeterminate .short{left:auto;right:0}.v-progress-linear--reverse .v-progress-linear__indeterminate .long{animation-name:indeterminate-rtl}.v-progress-linear--reverse .v-progress-linear__indeterminate .short{animation-name:indeterminate-short-rtl}.v-progress-linear--reverse .v-progress-linear__stream{right:auto}.v-progress-linear--absolute,.v-progress-linear--fixed{left:0;z-index:1}.v-progress-linear--absolute{position:absolute}.v-progress-linear--fixed{position:fixed}.v-progress-linear--rounded{border-radius:9999px}.v-progress-linear--rounded.v-progress-linear--rounded-bar .v-progress-linear__determinate,.v-progress-linear--rounded.v-progress-linear--rounded-bar .v-progress-linear__indeterminate{border-radius:inherit}.v-progress-linear--striped .v-progress-linear__determinate{animation:progress-linear-stripes 1s infinite linear;background-image:linear-gradient(135deg,hsla(0,0%,100%,.25) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.25) 0,hsla(0,0%,100%,.25) 75%,transparent 0,transparent);background-repeat:repeat;background-size:var(--v-progress-linear-height)}.v-progress-linear--active .v-progress-linear__indeterminate .long,.v-progress-linear--active .v-progress-linear__indeterminate .short,.v-progress-linear--active .v-progress-linear__stream{animation-play-state:running}.v-progress-linear--rounded-bar .v-progress-linear__determinate,.v-progress-linear--rounded-bar .v-progress-linear__indeterminate,.v-progress-linear--rounded-bar .v-progress-linear__stream+.v-progress-linear__background{border-radius:9999px}.v-locale--is-ltr.v-progress-linear--rounded-bar .v-progress-linear__determinate,.v-locale--is-ltr .v-progress-linear--rounded-bar .v-progress-linear__determinate{border-top-left-radius:0;border-bottom-left-radius:0}.v-locale--is-rtl.v-progress-linear--rounded-bar .v-progress-linear__determinate,.v-locale--is-rtl .v-progress-linear--rounded-bar .v-progress-linear__determinate{border-top-right-radius:0;border-bottom-right-radius:0}@keyframes indeterminate-ltr{0%{left:-90%;right:100%}60%{left:-90%;right:100%}to{left:100%;right:-35%}}@keyframes indeterminate-rtl{0%{left:100%;right:-90%}60%{left:100%;right:-90%}to{left:-35%;right:100%}}@keyframes indeterminate-short-ltr{0%{left:-200%;right:100%}60%{left:107%;right:-8%}to{left:107%;right:-8%}}@keyframes indeterminate-short-rtl{0%{left:100%;right:-200%}60%{left:-8%;right:107%}to{left:-8%;right:107%}}@keyframes stream{to{transform:translate(var(--v-progress-linear-stream-to))}}@keyframes progress-linear-stripes{0%{background-position-x:var(--v-progress-linear-height)}}.v-ripple__container{color:inherit;border-radius:inherit;position:absolute;width:100%;height:100%;left:0;top:0;overflow:hidden;z-index:0;pointer-events:none;contain:strict}.v-ripple__animation{color:inherit;position:absolute;top:0;left:0;border-radius:50%;background:currentColor;opacity:0;pointer-events:none;overflow:hidden;will-change:transform,opacity}.v-ripple__animation--enter{transition:none;opacity:0}.v-ripple__animation--in{transition:transform .25s cubic-bezier(0,0,.2,1),opacity .1s cubic-bezier(0,0,.2,1);opacity:calc(.25 * var(--v-theme-overlay-multiplier))}.v-ripple__animation--out{transition:opacity .3s cubic-bezier(0,0,.2,1);opacity:0}.v-alert{display:grid;flex:1 1;grid-template-areas:"prepend content append close" ". content . .";grid-template-columns:max-content auto max-content max-content;position:relative;padding:16px;overflow:hidden;--v-border-color: currentColor;border-radius:4px}.v-alert--absolute{position:absolute}.v-alert--fixed{position:fixed}.v-alert--sticky{position:sticky}.v-alert--variant-plain,.v-alert--variant-outlined,.v-alert--variant-text,.v-alert--variant-tonal{background:transparent;color:inherit}.v-alert--variant-plain{opacity:.62}.v-alert--variant-plain:focus,.v-alert--variant-plain:hover{opacity:1}.v-alert--variant-plain .v-alert__overlay{display:none}.v-alert--variant-elevated,.v-alert--variant-flat{background:rgb(var(--v-theme-on-surface-variant));color:rgba(var(--v-theme-on-surface),var(--v-high-emphasis-opacity))}.v-alert--variant-elevated{box-shadow:0 2px 1px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 1px 1px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 3px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-alert--variant-flat{box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-alert--variant-outlined{border:thin solid currentColor}.v-alert--variant-text .v-alert__overlay{background:currentColor}.v-alert--variant-tonal .v-alert__underlay{background:currentColor;opacity:var(--v-activated-opacity);border-radius:inherit;position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.v-alert--prominent{grid-template-areas:"prepend content append close" "prepend content . ."}.v-alert.v-alert--border{--v-border-opacity: .38}.v-alert.v-alert--border.v-alert--border-start{padding-inline-start:24px}.v-alert.v-alert--border.v-alert--border-end{padding-inline-end:24px}.v-alert--variant-plain{transition:.2s opacity cubic-bezier(.4,0,.2,1)}.v-alert--density-default{padding-bottom:16px;padding-top:16px}.v-alert--density-default.v-alert--border-top{padding-top:24px}.v-alert--density-default.v-alert--border-bottom{padding-bottom:24px}.v-alert--density-comfortable{padding-bottom:12px;padding-top:12px}.v-alert--density-comfortable.v-alert--border-top{padding-top:20px}.v-alert--density-comfortable.v-alert--border-bottom{padding-bottom:20px}.v-alert--density-compact{padding-bottom:8px;padding-top:8px}.v-alert--density-compact.v-alert--border-top{padding-top:16px}.v-alert--density-compact.v-alert--border-bottom{padding-bottom:16px}.v-alert__border{border-radius:inherit;bottom:0;left:0;opacity:var(--v-border-opacity);position:absolute;pointer-events:none;right:0;top:0;width:100%;border-color:currentColor;border-style:solid;border-width:0}.v-alert__border--border{border-width:8px;box-shadow:none}.v-alert--border-start .v-alert__border{border-inline-start-width:8px}.v-alert--border-end .v-alert__border{border-inline-end-width:8px}.v-alert--border-top .v-alert__border{border-top-width:8px}.v-alert--border-bottom .v-alert__border{border-bottom-width:8px}.v-alert__close{flex:0 1 auto;grid-area:close}.v-alert__content{align-self:center;grid-area:content;overflow:hidden}.v-alert__append,.v-alert__close{align-self:flex-start;margin-inline-start:16px}.v-alert__append{align-self:flex-start;grid-area:append}.v-alert__append+.v-alert__close{margin-inline-start:16px}.v-alert__prepend{align-self:flex-start;display:flex;align-items:center;grid-area:prepend;margin-inline-end:16px}.v-alert--prominent .v-alert__prepend{align-self:center}.v-alert__underlay{grid-area:none;position:absolute}.v-alert--border-start .v-alert__underlay{border-top-left-radius:0;border-bottom-left-radius:0}.v-alert--border-end .v-alert__underlay{border-top-right-radius:0;border-bottom-right-radius:0}.v-alert--border-top .v-alert__underlay{border-top-left-radius:0;border-top-right-radius:0}.v-alert--border-bottom .v-alert__underlay{border-bottom-left-radius:0;border-bottom-right-radius:0}.v-alert-title{align-items:center;align-self:center;display:flex;font-size:1.25rem;font-weight:500;-webkit-hyphens:auto;hyphens:auto;letter-spacing:.0125em;line-height:1.75rem;overflow-wrap:normal;text-transform:none;word-break:normal;word-wrap:break-word}.v-autocomplete .v-field .v-text-field__prefix,.v-autocomplete .v-field .v-text-field__suffix,.v-autocomplete .v-field .v-field__input,.v-autocomplete .v-field.v-field{cursor:text}.v-autocomplete .v-field .v-field__input>input{align-self:flex-start;flex:1 1}.v-autocomplete .v-field input{min-width:64px}.v-autocomplete .v-field:not(.v-field--focused) input{min-width:0}.v-autocomplete .v-field--dirty .v-autocomplete__selection{margin-inline-end:2px}.v-autocomplete .v-autocomplete__selection-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v-autocomplete__content{overflow:hidden;box-shadow:0 2px 4px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 4px 5px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 10px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12));border-radius:4px}.v-autocomplete__mask{background:rgb(var(--v-theme-on-surface-variant))}.v-autocomplete__selection{display:inline-flex;align-items:center;letter-spacing:inherit;line-height:inherit;max-width:90%}.v-autocomplete__selection{margin-top:var(--v-input-chips-margin-top);margin-bottom:var(--v-input-chips-margin-bottom)}.v-autocomplete__selection:first-child{margin-inline-start:0}.v-autocomplete--selecting-index .v-autocomplete__selection{opacity:var(--v-medium-emphasis-opacity)}.v-autocomplete--selecting-index .v-autocomplete__selection--selected{opacity:1}.v-autocomplete--selecting-index .v-field__input>input{caret-color:transparent}.v-autocomplete--single.v-text-field input{flex:1 1;position:absolute;left:0;right:0;width:100%;padding-inline-start:inherit;padding-inline-end:inherit}.v-autocomplete--single .v-field--variant-outlined input{top:50%;transform:translateY(calc(-50% - (var(--v-input-chips-margin-top) + var(--v-input-chips-margin-bottom)) / 2))}.v-autocomplete--single .v-field--active input{transition:none}.v-autocomplete--single .v-field--dirty:not(.v-field--focused) input{opacity:0}.v-autocomplete--single .v-field--focused .v-autocomplete__selection{opacity:0}.v-autocomplete__menu-icon{margin-inline-start:4px;transition:.2s cubic-bezier(.4,0,.2,1)}.v-autocomplete--active-menu .v-autocomplete__menu-icon{opacity:var(--v-high-emphasis-opacity);transform:rotate(180deg)}.v-checkbox .v-selection-control{min-height:var(--v-input-control-height)}.v-selection-control{align-items:center;contain:layout;display:flex;flex:1 0;grid-area:control;position:relative;-webkit-user-select:none;user-select:none}.v-selection-control .v-label{white-space:normal;word-break:break-word;height:100%;width:max-content}.v-selection-control--disabled{opacity:var(--v-disabled-opacity);pointer-events:none}.v-selection-control--error .v-label,.v-selection-control--disabled .v-label{opacity:1}.v-selection-control--error:not(.v-selection-control--disabled) .v-label{color:rgb(var(--v-theme-error))}.v-selection-control--inline{display:inline-flex;flex:0 0 auto;min-width:0;max-width:100%}.v-selection-control--inline .v-label{width:auto}.v-selection-control--density-default{--v-selection-control-size: 40px}.v-selection-control--density-comfortable{--v-selection-control-size: 36px}.v-selection-control--density-compact{--v-selection-control-size: 28px}.v-selection-control__wrapper{width:var(--v-selection-control-size);height:var(--v-selection-control-size);display:inline-flex;align-items:center;position:relative;justify-content:center;flex:none}.v-selection-control__input{width:var(--v-selection-control-size);height:var(--v-selection-control-size);align-items:center;display:flex;flex:none;justify-content:center;position:relative;border-radius:50%}.v-selection-control__input input{cursor:pointer;position:absolute;left:0;top:0;width:100%;height:100%;opacity:0}.v-selection-control__input:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;border-radius:100%;background-color:currentColor;opacity:0;pointer-events:none}.v-selection-control__input:hover:before{opacity:calc(var(--v-hover-opacity) * var(--v-theme-overlay-multiplier))}.v-selection-control__input>.v-icon{opacity:var(--v-medium-emphasis-opacity)}.v-selection-control--disabled .v-selection-control__input>.v-icon,.v-selection-control--dirty .v-selection-control__input>.v-icon,.v-selection-control--error .v-selection-control__input>.v-icon{opacity:1}.v-selection-control--error:not(.v-selection-control--disabled) .v-selection-control__input>.v-icon{color:rgb(var(--v-theme-error))}.v-selection-control--focus-visible .v-selection-control__input:before{opacity:calc(var(--v-focus-opacity) * var(--v-theme-overlay-multiplier))}.v-label{align-items:center;color:inherit;display:inline-flex;font-size:1rem;letter-spacing:.009375em;min-width:0;opacity:var(--v-medium-emphasis-opacity);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v-label--clickable{cursor:pointer}.v-selection-control-group{grid-area:control;display:flex;flex-direction:column}.v-selection-control-group--inline{flex-direction:row;flex-wrap:wrap}.v-input{display:grid;flex:1 1 auto;font-size:1rem;font-weight:400;line-height:1.5;--v-input-chips-margin-top: 2px}.v-input--disabled{pointer-events:none}.v-input--density-default{--v-input-control-height: 56px;--v-input-padding-top: 15px}.v-input--density-comfortable{--v-input-control-height: 48px;--v-input-padding-top: 11px}.v-input--density-compact{--v-input-control-height: 40px;--v-input-padding-top: 7px}.v-input--density-default{--v-input-chips-margin-bottom: 0px}.v-input--density-comfortable{--v-input-chips-margin-bottom: 2px}.v-input--density-compact{--v-input-chips-margin-bottom: 4px}.v-input--vertical{grid-template-areas:"append" "control" "prepend";grid-template-rows:max-content auto max-content;grid-template-columns:min-content}.v-input--vertical .v-input__prepend{margin-block-start:16px}.v-input--vertical .v-input__append{margin-block-end:16px}.v-input--horizontal{grid-template-areas:"prepend control append" "a messages b";grid-template-columns:max-content minmax(0,1fr) max-content;grid-template-rows:auto auto}.v-input--horizontal .v-input__prepend{margin-inline-end:16px}.v-input--horizontal .v-input__append{margin-inline-start:16px}.v-input__details{align-items:flex-end;display:flex;font-size:.75rem;font-weight:400;grid-area:messages;letter-spacing:.0333333333em;line-height:normal;min-height:22px;padding-top:6px;overflow:hidden;justify-content:space-between}.v-input__details>.v-icon,.v-input__prepend>.v-icon,.v-input__append>.v-icon{opacity:var(--v-medium-emphasis-opacity)}.v-input--disabled .v-input__details>.v-icon,.v-input--disabled .v-input__details .v-messages,.v-input--error .v-input__details>.v-icon,.v-input--error .v-input__details .v-messages,.v-input--disabled .v-input__prepend>.v-icon,.v-input--disabled .v-input__prepend .v-messages,.v-input--error .v-input__prepend>.v-icon,.v-input--error .v-input__prepend .v-messages,.v-input--disabled .v-input__append>.v-icon,.v-input--disabled .v-input__append .v-messages,.v-input--error .v-input__append>.v-icon,.v-input--error .v-input__append .v-messages{opacity:1}.v-input--disabled .v-input__details,.v-input--disabled .v-input__prepend,.v-input--disabled .v-input__append{opacity:var(--v-disabled-opacity)}.v-input--error:not(.v-input--disabled) .v-input__details>.v-icon,.v-input--error:not(.v-input--disabled) .v-input__details .v-messages,.v-input--error:not(.v-input--disabled) .v-input__prepend>.v-icon,.v-input--error:not(.v-input--disabled) .v-input__prepend .v-messages,.v-input--error:not(.v-input--disabled) .v-input__append>.v-icon,.v-input--error:not(.v-input--disabled) .v-input__append .v-messages{color:rgb(var(--v-theme-error))}.v-input__prepend,.v-input__append{display:flex;align-items:flex-start;padding-top:var(--v-input-padding-top)}.v-input--center-affix .v-input__prepend,.v-input--center-affix .v-input__append{align-items:center;padding-top:0}.v-input__prepend{grid-area:prepend}.v-input__append{grid-area:append}.v-input__control{display:flex;grid-area:control}.v-messages{flex:1 1 auto;font-size:12px;min-height:14px;min-width:1px;opacity:var(--v-medium-emphasis-opacity);position:relative}.v-messages__message{line-height:12px;word-break:break-word;overflow-wrap:break-word;word-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;transition-duration:.15s}.v-chip{align-items:center;cursor:default;display:inline-flex;font-weight:400;max-width:100%;min-width:0;overflow:hidden;position:relative;text-decoration:none;white-space:nowrap;vertical-align:middle;border-color:rgba(var(--v-border-color),var(--v-border-opacity));border-style:solid;border-width:0;border-radius:9999px}.v-chip.v-chip--size-x-small{--v-chip-size: .625rem;--v-chip-height: 18px;font-size:.625rem;padding:0 7px}.v-chip.v-chip--size-x-small .v-avatar{--v-avatar-height: 12px}.v-chip--pill.v-chip.v-chip--size-x-small .v-avatar{--v-avatar-height: 18px}.v-chip.v-chip--size-x-small .v-avatar--start{margin-inline-start:-4.9px;margin-inline-end:3.5px}.v-chip--pill.v-chip.v-chip--size-x-small .v-avatar--start{margin-inline-start:-7px}.v-chip.v-chip--size-x-small .v-avatar--end{margin-inline-start:3.5px;margin-inline-end:-4.9px}.v-chip--pill.v-chip.v-chip--size-x-small .v-avatar--end{margin-inline-end:-7px}.v-chip--pill.v-chip.v-chip--size-x-small .v-avatar--end+.v-chip__close{margin-inline-start:10.5px}.v-chip.v-chip--size-x-small .v-icon--start,.v-chip.v-chip--size-x-small .v-chip__filter{margin-inline-start:-3.5px;margin-inline-end:3.5px}.v-chip.v-chip--size-x-small .v-icon--end,.v-chip.v-chip--size-x-small .v-chip__close{margin-inline-start:3.5px;margin-inline-end:-3.5px}.v-chip.v-chip--size-x-small .v-icon--end+.v-chip__close,.v-chip.v-chip--size-x-small .v-avatar--end+.v-chip__close,.v-chip.v-chip--size-x-small .v-chip__append+.v-chip__close{margin-inline-start:7px}.v-chip.v-chip--size-small{--v-chip-size: .75rem;--v-chip-height: 24px;font-size:.75rem;padding:0 9px}.v-chip.v-chip--size-small .v-avatar{--v-avatar-height: 18px}.v-chip--pill.v-chip.v-chip--size-small .v-avatar{--v-avatar-height: 24px}.v-chip.v-chip--size-small .v-avatar--start{margin-inline-start:-6.3px;margin-inline-end:4.5px}.v-chip--pill.v-chip.v-chip--size-small .v-avatar--start{margin-inline-start:-9px}.v-chip.v-chip--size-small .v-avatar--end{margin-inline-start:4.5px;margin-inline-end:-6.3px}.v-chip--pill.v-chip.v-chip--size-small .v-avatar--end{margin-inline-end:-9px}.v-chip--pill.v-chip.v-chip--size-small .v-avatar--end+.v-chip__close{margin-inline-start:13.5px}.v-chip.v-chip--size-small .v-icon--start,.v-chip.v-chip--size-small .v-chip__filter{margin-inline-start:-4.5px;margin-inline-end:4.5px}.v-chip.v-chip--size-small .v-icon--end,.v-chip.v-chip--size-small .v-chip__close{margin-inline-start:4.5px;margin-inline-end:-4.5px}.v-chip.v-chip--size-small .v-icon--end+.v-chip__close,.v-chip.v-chip--size-small .v-avatar--end+.v-chip__close,.v-chip.v-chip--size-small .v-chip__append+.v-chip__close{margin-inline-start:9px}.v-chip.v-chip--size-default{--v-chip-size: .875rem;--v-chip-height: 30px;font-size:.875rem;padding:0 11px}.v-chip.v-chip--size-default .v-avatar{--v-avatar-height: 24px}.v-chip--pill.v-chip.v-chip--size-default .v-avatar{--v-avatar-height: 30px}.v-chip.v-chip--size-default .v-avatar--start{margin-inline-start:-7.7px;margin-inline-end:5.5px}.v-chip--pill.v-chip.v-chip--size-default .v-avatar--start{margin-inline-start:-11px}.v-chip.v-chip--size-default .v-avatar--end{margin-inline-start:5.5px;margin-inline-end:-7.7px}.v-chip--pill.v-chip.v-chip--size-default .v-avatar--end{margin-inline-end:-11px}.v-chip--pill.v-chip.v-chip--size-default .v-avatar--end+.v-chip__close{margin-inline-start:16.5px}.v-chip.v-chip--size-default .v-icon--start,.v-chip.v-chip--size-default .v-chip__filter{margin-inline-start:-5.5px;margin-inline-end:5.5px}.v-chip.v-chip--size-default .v-icon--end,.v-chip.v-chip--size-default .v-chip__close{margin-inline-start:5.5px;margin-inline-end:-5.5px}.v-chip.v-chip--size-default .v-icon--end+.v-chip__close,.v-chip.v-chip--size-default .v-avatar--end+.v-chip__close,.v-chip.v-chip--size-default .v-chip__append+.v-chip__close{margin-inline-start:11px}.v-chip.v-chip--size-large{--v-chip-size: 1rem;--v-chip-height: 36px;font-size:1rem;padding:0 14px}.v-chip.v-chip--size-large .v-avatar{--v-avatar-height: 30px}.v-chip--pill.v-chip.v-chip--size-large .v-avatar{--v-avatar-height: 36px}.v-chip.v-chip--size-large .v-avatar--start{margin-inline-start:-9.8px;margin-inline-end:7px}.v-chip--pill.v-chip.v-chip--size-large .v-avatar--start{margin-inline-start:-14px}.v-chip.v-chip--size-large .v-avatar--end{margin-inline-start:7px;margin-inline-end:-9.8px}.v-chip--pill.v-chip.v-chip--size-large .v-avatar--end{margin-inline-end:-14px}.v-chip--pill.v-chip.v-chip--size-large .v-avatar--end+.v-chip__close{margin-inline-start:21px}.v-chip.v-chip--size-large .v-icon--start,.v-chip.v-chip--size-large .v-chip__filter{margin-inline-start:-7px;margin-inline-end:7px}.v-chip.v-chip--size-large .v-icon--end,.v-chip.v-chip--size-large .v-chip__close{margin-inline-start:7px;margin-inline-end:-7px}.v-chip.v-chip--size-large .v-icon--end+.v-chip__close,.v-chip.v-chip--size-large .v-avatar--end+.v-chip__close,.v-chip.v-chip--size-large .v-chip__append+.v-chip__close{margin-inline-start:14px}.v-chip.v-chip--size-x-large{--v-chip-size: 1.125rem;--v-chip-height: 42px;font-size:1.125rem;padding:0 16px}.v-chip.v-chip--size-x-large .v-avatar{--v-avatar-height: 36px}.v-chip--pill.v-chip.v-chip--size-x-large .v-avatar{--v-avatar-height: 42px}.v-chip.v-chip--size-x-large .v-avatar--start{margin-inline-start:-11.2px;margin-inline-end:8px}.v-chip--pill.v-chip.v-chip--size-x-large .v-avatar--start{margin-inline-start:-16px}.v-chip.v-chip--size-x-large .v-avatar--end{margin-inline-start:8px;margin-inline-end:-11.2px}.v-chip--pill.v-chip.v-chip--size-x-large .v-avatar--end{margin-inline-end:-16px}.v-chip--pill.v-chip.v-chip--size-x-large .v-avatar--end+.v-chip__close{margin-inline-start:24px}.v-chip.v-chip--size-x-large .v-icon--start,.v-chip.v-chip--size-x-large .v-chip__filter{margin-inline-start:-8px;margin-inline-end:8px}.v-chip.v-chip--size-x-large .v-icon--end,.v-chip.v-chip--size-x-large .v-chip__close{margin-inline-start:8px;margin-inline-end:-8px}.v-chip.v-chip--size-x-large .v-icon--end+.v-chip__close,.v-chip.v-chip--size-x-large .v-avatar--end+.v-chip__close,.v-chip.v-chip--size-x-large .v-chip__append+.v-chip__close{margin-inline-start:16px}.v-chip.v-chip--density-default{height:calc(var(--v-chip-height) + 0px)}.v-chip.v-chip--density-comfortable{height:calc(var(--v-chip-height) + -8px)}.v-chip.v-chip--density-compact{height:calc(var(--v-chip-height) + -12px)}.v-chip:hover>.v-chip__overlay{opacity:calc(var(--v-hover-opacity) * var(--v-theme-overlay-multiplier))}.v-chip:focus-visible>.v-chip__overlay{opacity:calc(var(--v-focus-opacity) * var(--v-theme-overlay-multiplier))}@supports not selector(:focus-visible){.v-chip:focus>.v-chip__overlay{opacity:calc(var(--v-focus-opacity) * var(--v-theme-overlay-multiplier))}}.v-chip--active>.v-chip__overlay,.v-chip[aria-haspopup=menu][aria-expanded=true]>.v-chip__overlay{opacity:calc(var(--v-activated-opacity) * var(--v-theme-overlay-multiplier))}.v-chip--active:hover>.v-chip__overlay,.v-chip[aria-haspopup=menu][aria-expanded=true]:hover>.v-chip__overlay{opacity:calc((var(--v-activated-opacity) + var(--v-hover-opacity)) * var(--v-theme-overlay-multiplier))}.v-chip--active:focus-visible>.v-chip__overlay,.v-chip[aria-haspopup=menu][aria-expanded=true]:focus-visible>.v-chip__overlay{opacity:calc((var(--v-activated-opacity) + var(--v-focus-opacity)) * var(--v-theme-overlay-multiplier))}@supports not selector(:focus-visible){.v-chip--active:focus>.v-chip__overlay,.v-chip[aria-haspopup=menu][aria-expanded=true]:focus>.v-chip__overlay{opacity:calc((var(--v-activated-opacity) + var(--v-focus-opacity)) * var(--v-theme-overlay-multiplier))}}.v-chip--variant-plain,.v-chip--variant-outlined,.v-chip--variant-text,.v-chip--variant-tonal{background:transparent;color:inherit}.v-chip--variant-plain{opacity:.26}.v-chip--variant-plain:focus,.v-chip--variant-plain:hover{opacity:1}.v-chip--variant-plain .v-chip__overlay{display:none}.v-chip--variant-elevated,.v-chip--variant-flat{background:rgb(var(--v-theme-surface-variant));color:rgb(var(--v-theme-on-surface-variant))}.v-chip--variant-elevated{box-shadow:0 2px 1px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 1px 1px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 3px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-chip--variant-flat{box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-chip--variant-outlined{border:thin solid currentColor}.v-chip--variant-text .v-chip__overlay{background:currentColor}.v-chip--variant-tonal .v-chip__underlay{background:currentColor;opacity:var(--v-activated-opacity);border-radius:inherit;position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.v-chip--border{border-width:thin}.v-chip--link{cursor:pointer}.v-chip--filter{-webkit-user-select:none;user-select:none}.v-chip__content{align-items:center;display:inline-flex}.v-autocomplete__selection .v-chip__content,.v-combobox__selection .v-chip__content,.v-select__selection .v-chip__content{overflow:hidden}.v-chip__filter,.v-chip__prepend,.v-chip__append,.v-chip__close{align-items:center;display:inline-flex}.v-chip__close{cursor:pointer;flex:0 1 auto;font-size:18px;max-height:18px;max-width:18px;-webkit-user-select:none;user-select:none}.v-chip__close .v-icon{font-size:inherit}.v-chip__filter{transition:.15s cubic-bezier(.4,0,.2,1)}.v-chip__overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:currentColor;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity .2s ease-in-out}.v-chip--disabled{opacity:.3;pointer-events:none;-webkit-user-select:none;user-select:none}.v-chip--label{border-radius:4px}.v-avatar{flex:none;align-items:center;display:inline-flex;justify-content:center;line-height:normal;overflow:hidden;position:relative;text-align:center;transition:.2s cubic-bezier(.4,0,.2,1);transition-property:width,height;vertical-align:middle;border-radius:50%}.v-avatar.v-avatar--size-x-small{--v-avatar-height: 24px}.v-avatar.v-avatar--size-small{--v-avatar-height: 32px}.v-avatar.v-avatar--size-default{--v-avatar-height: 40px}.v-avatar.v-avatar--size-large{--v-avatar-height: 48px}.v-avatar.v-avatar--size-x-large{--v-avatar-height: 56px}.v-avatar.v-avatar--density-default{height:calc(var(--v-avatar-height) + 0px);width:calc(var(--v-avatar-height) + 0px)}.v-avatar.v-avatar--density-comfortable{height:calc(var(--v-avatar-height) + -4px);width:calc(var(--v-avatar-height) + -4px)}.v-avatar.v-avatar--density-compact{height:calc(var(--v-avatar-height) + -8px);width:calc(var(--v-avatar-height) + -8px)}.v-avatar--variant-plain,.v-avatar--variant-outlined,.v-avatar--variant-text,.v-avatar--variant-tonal{background:transparent;color:inherit}.v-avatar--variant-plain{opacity:.62}.v-avatar--variant-plain:focus,.v-avatar--variant-plain:hover{opacity:1}.v-avatar--variant-plain .v-avatar__overlay{display:none}.v-avatar--variant-elevated,.v-avatar--variant-flat{background:var(--v-theme-surface);color:rgba(var(--v-theme-on-surface),var(--v-medium-emphasis-opacity))}.v-avatar--variant-elevated{box-shadow:0 2px 1px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 1px 1px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 3px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-avatar--variant-flat{box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-avatar--variant-outlined{border:thin solid currentColor}.v-avatar--variant-text .v-avatar__overlay{background:currentColor}.v-avatar--variant-tonal .v-avatar__underlay{background:currentColor;opacity:var(--v-activated-opacity);border-radius:inherit;position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.v-avatar--rounded{border-radius:4px}.v-avatar .v-img{height:100%;width:100%}.v-chip-group{display:flex;max-width:100%;min-width:0;overflow-x:auto;padding:4px 0;flex-wrap:wrap}.v-chip-group .v-chip{margin:4px 8px 4px 0}.v-chip-group .v-chip.v-chip--selected:not(.v-chip--disabled) .v-chip__overlay{opacity:var(--v-activated-opacity)}.v-chip-group--column{flex-wrap:wrap;white-space:normal}.v-list{overflow:auto;padding:8px 0;position:relative;outline:none;border-color:rgba(var(--v-border-color),var(--v-border-opacity));border-style:solid;border-width:0;box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12));border-radius:0;background:rgba(var(--v-theme-surface));color:rgba(var(--v-theme-on-surface),var(--v-high-emphasis-opacity))}.v-list--border{border-width:thin;box-shadow:none}.v-list--disabled{pointer-events:none;-webkit-user-select:none;user-select:none}.v-list--nav{padding-inline-start:8px;padding-inline-end:8px}.v-navigation-drawer--rail:not(.v-navigation-drawer--is-hovering.v-navigation-drawer--expand-on-hover) .v-list .v-avatar{--v-avatar-height: 24px}.v-list--rounded{border-radius:4px}.v-list--subheader{padding-top:0}.v-list-img{border-radius:inherit;display:flex;height:100%;left:0;overflow:hidden;position:absolute;top:0;width:100%;z-index:-1}.v-list-subheader{align-items:center;background:inherit;color:rgba(var(--v-theme-on-surface),var(--v-medium-emphasis-opacity));display:flex;font-size:.875rem;font-weight:400;line-height:1.375rem;padding-inline-end:16px;min-height:40px;transition:.2s min-height cubic-bezier(.4,0,.2,1)}.v-list-subheader__text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v-list--density-default .v-list-subheader{min-height:40px;padding-inline-start:calc(16px + var(--indent-padding))!important}.v-list--density-comfortable .v-list-subheader{min-height:36px;padding-inline-start:calc(16px + var(--indent-padding))!important}.v-list--density-compact .v-list-subheader{min-height:32px;padding-inline-start:calc(16px + var(--indent-padding))!important}.v-list-subheader--inset{--indent-padding: 56px}.v-list--nav .v-list-subheader{font-size:.75rem}.v-list-subheader--sticky{background:inherit;left:0;position:sticky;top:0;z-index:1}.v-list__overlay{background-color:currentColor;border-radius:inherit;bottom:0;left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0;transition:opacity .2s ease-in-out}.v-list-item{align-items:center;display:grid;flex:none;grid-template-areas:"prepend content append";grid-template-columns:max-content auto max-content;outline:none;max-width:100%;padding:4px 16px;position:relative;text-decoration:none;border-color:rgba(var(--v-border-color),var(--v-border-opacity));border-style:solid;border-width:0;border-radius:0}.v-list-item--border{border-width:thin;box-shadow:none}.v-list-item:hover>.v-list-item__overlay{opacity:calc(var(--v-hover-opacity) * var(--v-theme-overlay-multiplier))}.v-list-item:focus-visible>.v-list-item__overlay{opacity:calc(var(--v-focus-opacity) * var(--v-theme-overlay-multiplier))}@supports not selector(:focus-visible){.v-list-item:focus>.v-list-item__overlay{opacity:calc(var(--v-focus-opacity) * var(--v-theme-overlay-multiplier))}}.v-list-item--active>.v-list-item__overlay,.v-list-item[aria-haspopup=menu][aria-expanded=true]>.v-list-item__overlay{opacity:calc(var(--v-activated-opacity) * var(--v-theme-overlay-multiplier))}.v-list-item--active:hover>.v-list-item__overlay,.v-list-item[aria-haspopup=menu][aria-expanded=true]:hover>.v-list-item__overlay{opacity:calc((var(--v-activated-opacity) + var(--v-hover-opacity)) * var(--v-theme-overlay-multiplier))}.v-list-item--active:focus-visible>.v-list-item__overlay,.v-list-item[aria-haspopup=menu][aria-expanded=true]:focus-visible>.v-list-item__overlay{opacity:calc((var(--v-activated-opacity) + var(--v-focus-opacity)) * var(--v-theme-overlay-multiplier))}@supports not selector(:focus-visible){.v-list-item--active:focus>.v-list-item__overlay,.v-list-item[aria-haspopup=menu][aria-expanded=true]:focus>.v-list-item__overlay{opacity:calc((var(--v-activated-opacity) + var(--v-focus-opacity)) * var(--v-theme-overlay-multiplier))}}.v-list-item--variant-plain,.v-list-item--variant-outlined,.v-list-item--variant-text,.v-list-item--variant-tonal{background:transparent;color:inherit}.v-list-item--variant-plain{opacity:.62}.v-list-item--variant-plain:focus,.v-list-item--variant-plain:hover{opacity:1}.v-list-item--variant-plain .v-list-item__overlay{display:none}.v-list-item--variant-elevated,.v-list-item--variant-flat{background:rgba(var(--v-theme-surface));color:rgba(var(--v-theme-on-surface),var(--v-high-emphasis-opacity))}.v-list-item--variant-elevated{box-shadow:0 2px 1px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 1px 1px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 3px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-list-item--variant-flat{box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-list-item--variant-outlined{border:thin solid currentColor}.v-list-item--variant-text .v-list-item__overlay{background:currentColor}.v-list-item--variant-tonal .v-list-item__underlay{background:currentColor;opacity:var(--v-activated-opacity);border-radius:inherit;position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}@supports selector(:focus-visible){.v-list-item:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;border:2px solid currentColor;border-radius:4px;opacity:0;transition:opacity .2s ease-in-out}.v-list-item:focus-visible:after{opacity:calc(.15 * var(--v-theme-overlay-multiplier))}}.v-list-item__prepend>.v-badge .v-icon,.v-list-item__prepend>.v-icon,.v-list-item__append>.v-badge .v-icon,.v-list-item__append>.v-icon{opacity:var(--v-medium-emphasis-opacity)}.v-list-item--active .v-list-item__prepend>.v-badge .v-icon,.v-list-item--active .v-list-item__prepend>.v-icon,.v-list-item--active .v-list-item__append>.v-badge .v-icon,.v-list-item--active .v-list-item__append>.v-icon{opacity:1}.v-list-item--rounded{border-radius:4px}.v-list-item--disabled{pointer-events:none;-webkit-user-select:none;user-select:none;opacity:.6}.v-list-item--link{cursor:pointer}.v-list-item__prepend{align-items:center;align-self:center;display:flex;grid-area:prepend}.v-list-item__prepend>.v-badge~.v-list-item__spacer,.v-list-item__prepend>.v-icon~.v-list-item__spacer,.v-list-item__prepend>.v-tooltip~.v-list-item__spacer{width:32px}.v-list-item__prepend>.v-avatar~.v-list-item__spacer{width:16px}.v-list-item--three-line .v-list-item__prepend{align-self:start}.v-list-item__append{align-self:center;display:flex;align-items:center;grid-area:append}.v-list-item__append .v-list-item__spacer{order:-1}.v-list-item__append>.v-badge~.v-list-item__spacer,.v-list-item__append>.v-icon~.v-list-item__spacer,.v-list-item__append>.v-tooltip~.v-list-item__spacer{width:32px}.v-list-item__append>.v-avatar~.v-list-item__spacer{width:16px}.v-list-item--three-line .v-list-item__append{align-self:start}.v-list-item__content{align-self:center;grid-area:content;overflow:hidden}.v-list-item-action{align-self:center;display:flex;align-items:center;grid-area:prepend;flex:none;transition:inherit;transition-property:height,width}.v-list-item-action--start{margin-inline-end:12px}.v-list-item-action--end{margin-inline-start:12px}.v-list-item-media{margin-top:0;margin-bottom:0}.v-list-item-media--start{margin-inline-end:16px}.v-list-item-media--end{margin-inline-start:16px}.v-list-item--two-line .v-list-item-media{margin-top:-4px;margin-bottom:-4px}.v-list-item--three-line .v-list-item-media{margin-top:0;margin-bottom:0}.v-list-item-subtitle{-webkit-box-orient:vertical;display:-webkit-box;opacity:var(--v-medium-emphasis-opacity);overflow:hidden;padding:0;text-overflow:ellipsis;font-size:.875rem;font-weight:400;letter-spacing:.0178571429em;line-height:1rem;text-transform:none}.v-list-item--one-line .v-list-item-subtitle{-webkit-line-clamp:1}.v-list-item--two-line .v-list-item-subtitle{-webkit-line-clamp:2}.v-list-item--three-line .v-list-item-subtitle{-webkit-line-clamp:3}.v-list-item--nav .v-list-item-subtitle{font-size:.75rem;font-weight:400;letter-spacing:.0178571429em;line-height:1rem}.v-list-item-title{-webkit-hyphens:auto;hyphens:auto;overflow-wrap:normal;overflow:hidden;padding:0;white-space:nowrap;text-overflow:ellipsis;word-break:normal;word-wrap:break-word;font-size:1rem;font-weight:400;letter-spacing:.009375em;line-height:1.5rem;text-transform:none}.v-list-item--nav .v-list-item-title{font-size:.8125rem;font-weight:500;letter-spacing:normal;line-height:1rem}.v-list-item--density-default{min-height:40px}.v-list-item--density-default.v-list-item--one-line{min-height:48px;padding-top:4px;padding-bottom:4px}.v-list-item--density-default.v-list-item--two-line{min-height:64px;padding-top:12px;padding-bottom:12px}.v-list-item--density-default.v-list-item--three-line{min-height:88px;padding-top:16px;padding-bottom:16px}.v-list-item--density-default.v-list-item--three-line .v-list-item__prepend,.v-list-item--density-default.v-list-item--three-line .v-list-item__append{padding-top:8px}.v-list-item--density-default:not(.v-list-item--nav).v-list-item--one-line{padding-inline-start:16px;padding-inline-end:16px}.v-list-item--density-default:not(.v-list-item--nav).v-list-item--two-line{padding-inline-start:16px;padding-inline-end:16px}.v-list-item--density-default:not(.v-list-item--nav).v-list-item--three-line{padding-inline-start:16px;padding-inline-end:16px}.v-list-item--density-comfortable{min-height:36px}.v-list-item--density-comfortable.v-list-item--one-line{min-height:44px}.v-list-item--density-comfortable.v-list-item--two-line{min-height:60px;padding-top:8px;padding-bottom:8px}.v-list-item--density-comfortable.v-list-item--three-line{min-height:84px;padding-top:12px;padding-bottom:12px}.v-list-item--density-comfortable.v-list-item--three-line .v-list-item__prepend,.v-list-item--density-comfortable.v-list-item--three-line .v-list-item__append{padding-top:6px}.v-list-item--density-comfortable:not(.v-list-item--nav).v-list-item--one-line{padding-inline-start:16px;padding-inline-end:16px}.v-list-item--density-comfortable:not(.v-list-item--nav).v-list-item--two-line{padding-inline-start:16px;padding-inline-end:16px}.v-list-item--density-comfortable:not(.v-list-item--nav).v-list-item--three-line{padding-inline-start:16px;padding-inline-end:16px}.v-list-item--density-compact{min-height:32px}.v-list-item--density-compact.v-list-item--one-line{min-height:40px}.v-list-item--density-compact.v-list-item--two-line{min-height:56px;padding-top:4px;padding-bottom:4px}.v-list-item--density-compact.v-list-item--three-line{min-height:80px;padding-top:8px;padding-bottom:8px}.v-list-item--density-compact.v-list-item--three-line .v-list-item__prepend,.v-list-item--density-compact.v-list-item--three-line .v-list-item__append{padding-top:4px}.v-list-item--density-compact:not(.v-list-item--nav).v-list-item--one-line{padding-inline-start:16px;padding-inline-end:16px}.v-list-item--density-compact:not(.v-list-item--nav).v-list-item--two-line{padding-inline-start:16px;padding-inline-end:16px}.v-list-item--density-compact:not(.v-list-item--nav).v-list-item--three-line{padding-inline-start:16px;padding-inline-end:16px}.v-list-item--nav{padding-inline-start:8px;padding-inline-end:8px}.v-list .v-list-item--nav:not(:only-child){margin-bottom:4px}.v-list-item__underlay{position:absolute}.v-list-item__overlay{background-color:currentColor;border-radius:inherit;bottom:0;left:0;opacity:0;pointer-events:none;position:absolute;right:0;top:0;transition:opacity .2s ease-in-out}.v-list-item--active.v-list-item--variant-elevated .v-list-item__overlay{--v-theme-overlay-multiplier: 0}.v-list{--indent-padding: 0px}.v-list--nav{--indent-padding: -8px}.v-list-group{--list-indent-size: 16px;--parent-padding: var(--indent-padding);--prepend-width: 40px}.v-list-group--fluid{--list-indent-size: 0px}.v-list-group--prepend{--parent-padding: calc(var(--indent-padding) + var(--prepend-width))}.v-list-group--fluid.v-list-group--prepend{--parent-padding: var(--indent-padding)}.v-list-group__items{--indent-padding: calc(var(--parent-padding) + var(--list-indent-size))}.v-list-group__items .v-list-item{padding-inline-start:calc(16px + var(--indent-padding))!important}.v-list-group__header.v-list-item--active:not(:focus-visible) .v-list-item__overlay{opacity:0}.v-list-group__header.v-list-item--active:hover .v-list-item__overlay{opacity:calc(var(--v-hover-opacity) * var(--v-theme-overlay-multiplier))}.v-divider{display:block;flex:1 1 100%;height:0px;max-height:0px;opacity:var(--v-border-opacity);transition:inherit;border-style:solid;border-width:thin 0 0 0}.v-divider--vertical{align-self:stretch;border-width:0 thin 0 0;display:inline-flex;height:inherit;margin-left:-1px;max-height:100%;max-width:0px;vertical-align:text-bottom;width:0px}.v-divider--inset:not(.v-divider--vertical){max-width:calc(100% - 72px);margin-inline-start:72px}.v-divider--inset.v-divider--vertical{margin-bottom:8px;margin-top:8px;max-height:calc(100% - 16px)}.v-menu>.v-overlay__content{display:flex;flex-direction:column;border-radius:4px}.v-menu>.v-overlay__content>.v-card,.v-menu>.v-overlay__content>.v-sheet,.v-menu>.v-overlay__content>.v-list{background:rgb(var(--v-theme-surface));border-radius:inherit;overflow:auto;height:100%;box-shadow:0 5px 5px -3px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 8px 10px 1px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 3px 14px 2px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-overlay-container{contain:layout;left:0;pointer-events:none;position:absolute;top:0;display:contents}.v-overlay-scroll-blocked{padding-inline-end:var(--v-scrollbar-offset)}.v-overlay-scroll-blocked:not(html){overflow-y:hidden!important}html.v-overlay-scroll-blocked{position:fixed;top:var(--v-body-scroll-y);left:var(--v-body-scroll-x);width:100%;height:100%}.v-overlay{border-radius:inherit;display:flex;left:0;pointer-events:none;position:fixed;top:0;bottom:0;right:0}.v-overlay__content{outline:none;position:absolute;pointer-events:auto;contain:layout}.v-overlay__scrim{pointer-events:auto;background:rgb(var(--v-theme-on-surface));border-radius:inherit;bottom:0;left:0;opacity:.32;position:fixed;right:0;top:0}.v-overlay--absolute,.v-overlay--contained .v-overlay__scrim{position:absolute}.v-overlay--scroll-blocked{padding-inline-end:var(--v-scrollbar-offset)}.v-select .v-field .v-text-field__prefix,.v-select .v-field .v-text-field__suffix,.v-select .v-field .v-field__input,.v-select .v-field.v-field{cursor:pointer}.v-select .v-field .v-field__input>input{align-self:flex-start;opacity:1;flex:0 0;position:absolute;width:100%;transition:none;pointer-events:none;caret-color:transparent}.v-select .v-field--dirty .v-select__selection{margin-inline-end:2px}.v-select .v-select__selection-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v-select__content{overflow:hidden;box-shadow:0 2px 4px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 4px 5px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 10px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12));border-radius:4px}.v-select__selection{display:inline-flex;align-items:center;letter-spacing:inherit;line-height:inherit;max-width:100%}.v-select .v-select__selection{margin-top:var(--v-input-chips-margin-top);margin-bottom:var(--v-input-chips-margin-bottom)}.v-select .v-select__selection:first-child{margin-inline-start:0}.v-select--selected .v-field .v-field__input>input{opacity:0}.v-select__menu-icon{margin-inline-start:4px;transition:.2s cubic-bezier(.4,0,.2,1)}.v-select--active-menu .v-select__menu-icon{opacity:var(--v-high-emphasis-opacity);transform:rotate(180deg)}.v-text-field input{color:inherit;opacity:0;flex:1;transition:.15s opacity cubic-bezier(.4,0,.2,1);min-width:0}.v-text-field input:focus,.v-text-field input:active{outline:none}.v-text-field input:invalid{box-shadow:none}.v-text-field .v-field{cursor:text}.v-text-field--prefixed.v-text-field .v-field__input{--v-field-padding-start: 6px}.v-text-field--suffixed.v-text-field .v-field__input{--v-field-padding-end: 0}.v-text-field .v-field__input input{margin-top:var(--v-input-chips-margin-top);margin-bottom:var(--v-input-chips-margin-bottom)}.v-text-field input.v-field__input{min-height:calc(max(var(--v-input-control-height, 56px),1.5rem + var(--v-field-input-padding-top) + var(--v-field-input-padding-bottom) + var(--v-input-chips-margin-bottom) + 2px) - var(--v-input-chips-margin-top) - var(--v-input-chips-margin-bottom));padding-top:calc(var(--v-input-chips-margin-top) + var(--v-field-input-padding-top));padding-bottom:calc(var(--v-input-chips-margin-bottom) + var(--v-field-input-padding-bottom))}.v-text-field .v-input__details{padding-inline-start:16px;padding-inline-end:16px}.v-text-field .v-field--no-label input,.v-text-field .v-field--active input{opacity:1}.v-text-field .v-field--single-line input{transition:none}.v-text-field__prefix,.v-text-field__suffix{align-items:center;color:rgba(var(--v-theme-on-surface),var(--v-medium-emphasis-opacity));cursor:default;display:flex;opacity:0;transition:inherit;white-space:nowrap;min-height:max(var(--v-input-control-height, 56px),1.5rem + var(--v-field-input-padding-top) + var(--v-field-input-padding-bottom) + var(--v-input-chips-margin-bottom) + 2px);padding-top:calc(var(--v-field-padding-top, 4px) + var(--v-input-padding-top, 0));padding-bottom:var(--v-field-padding-bottom, 6px)}.v-text-field__prefix__text,.v-text-field__suffix__text{margin-top:var(--v-input-chips-margin-top);margin-bottom:var(--v-input-chips-margin-bottom)}.v-field--active .v-text-field__prefix,.v-field--active .v-text-field__suffix{opacity:1}.v-field--disabled .v-text-field__prefix,.v-field--disabled .v-text-field__suffix{color:rgba(var(--v-theme-on-surface),var(--v-disabled-opacity))}.v-text-field__prefix{padding-inline-start:var(--v-field-padding-start)}.v-text-field__suffix{padding-inline-end:var(--v-field-padding-end)}.v-text-field--plain-underlined{--v-field-padding-top--plain-underlined: 6px}.v-text-field--plain-underlined .v-input__details{padding:0}.v-text-field--plain-underlined .v-input__prepend,.v-text-field--plain-underlined .v-input__append{align-items:flex-start;padding-top:calc(var(--v-field-padding-top--plain-underlined) + var(--v-input-padding-top))}.v-counter{color:rgba(var(--v-theme-on-surface),var(--v-medium-emphasis-opacity));flex:0 1 auto;font-size:12px;transition-duration:.15s}.v-field{display:grid;grid-template-areas:"prepend-inner field clear append-inner";grid-template-columns:min-content minmax(0,1fr) min-content min-content;font-size:16px;letter-spacing:.009375em;max-width:100%;border-radius:4px;contain:layout;flex:1 0;grid-area:control;position:relative;--v-field-padding-start: 16px;--v-field-padding-end: 16px;--v-field-padding-top: 10px;--v-field-padding-bottom: 5px;--v-field-input-padding-top: calc(var(--v-field-padding-top, 10px) + var(--v-input-padding-top, 0));--v-field-input-padding-bottom: var(--v-field-padding-bottom, 5px)}.v-field--disabled{opacity:var(--v-disabled-opacity);pointer-events:none}.v-field--prepended{padding-inline-start:12px}.v-field--appended{padding-inline-end:12px}.v-field--variant-solo,.v-field--variant-solo-filled,.v-field--variant-solo-inverted{background:rgb(var(--v-theme-surface));border-color:transparent;color:rgba(var(--v-theme-on-surface),var(--v-high-emphasis-opacity));box-shadow:0 3px 1px -2px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 2px 2px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 5px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-field--variant-solo-inverted.v-field--focused{color:rgb(var(--v-theme-on-surface-variant))}.v-field--variant-filled{border-bottom-left-radius:0;border-bottom-right-radius:0}.v-input--density-default .v-field--variant-solo,.v-input--density-default .v-field--variant-solo-inverted,.v-input--density-default .v-field--variant-solo-filled,.v-input--density-default .v-field--variant-filled{--v-input-control-height: 56px;--v-field-padding-bottom: 5px}.v-input--density-comfortable .v-field--variant-solo,.v-input--density-comfortable .v-field--variant-solo-inverted,.v-input--density-comfortable .v-field--variant-solo-filled,.v-input--density-comfortable .v-field--variant-filled{--v-input-control-height: 48px;--v-field-padding-bottom: 1px}.v-input--density-compact .v-field--variant-solo,.v-input--density-compact .v-field--variant-solo-inverted,.v-input--density-compact .v-field--variant-solo-filled,.v-input--density-compact .v-field--variant-filled{--v-input-control-height: 40px;--v-field-padding-bottom: 0px}.v-field--variant-outlined,.v-field--single-line,.v-field--no-label{--v-field-padding-top: 0px}.v-input--density-default .v-field--variant-outlined,.v-input--density-default .v-field--single-line,.v-input--density-default .v-field--no-label{--v-field-padding-bottom: 15px}.v-input--density-comfortable .v-field--variant-outlined,.v-input--density-comfortable .v-field--single-line,.v-input--density-comfortable .v-field--no-label{--v-field-padding-bottom: 11px}.v-input--density-compact .v-field--variant-outlined,.v-input--density-compact .v-field--single-line,.v-input--density-compact .v-field--no-label{--v-field-padding-bottom: 7px}.v-field--variant-plain,.v-field--variant-underlined{border-radius:0;padding:0}.v-field--variant-plain.v-field,.v-field--variant-underlined.v-field{--v-field-padding-start: 0px;--v-field-padding-end: 0px;--v-field-padding-top: var(--v-field-padding-top--plain-underlined, 6px)}.v-input--density-default .v-field--variant-plain,.v-input--density-default .v-field--variant-underlined{--v-input-control-height: 48px;--v-field-padding-bottom: 5px}.v-input--density-comfortable .v-field--variant-plain,.v-input--density-comfortable .v-field--variant-underlined{--v-input-control-height: 40px;--v-field-padding-bottom: 1px}.v-input--density-compact .v-field--variant-plain,.v-input--density-compact .v-field--variant-underlined{--v-input-control-height: 32px;--v-field-padding-bottom: 0px}.v-field--flat{box-shadow:none}.v-field--rounded{border-radius:9999px}.v-field.v-field--prepended{--v-field-padding-start: 6px}.v-field.v-field--appended{--v-field-padding-end: 6px}.v-field__input{color:inherit;display:flex;flex-wrap:wrap;letter-spacing:.009375em;opacity:var(--v-high-emphasis-opacity);min-height:max(var(--v-input-control-height, 56px),1.5rem + var(--v-field-input-padding-top) + var(--v-field-input-padding-bottom) + var(--v-input-chips-margin-bottom) + 2px);min-width:0;padding-inline-start:var(--v-field-padding-start);padding-inline-end:var(--v-field-padding-end);padding-top:var(--v-field-input-padding-top);padding-bottom:var(--v-field-input-padding-bottom);position:relative;width:100%}.v-field__input input{letter-spacing:inherit}.v-field__input input::placeholder,input.v-field__input::placeholder,textarea.v-field__input::placeholder{color:currentColor;opacity:var(--v-disabled-opacity)}.v-field__input:focus,.v-field__input:active{outline:none}.v-field__input:invalid{box-shadow:none}.v-field__field{flex:1 0;grid-area:field;position:relative;align-items:flex-start;display:flex}.v-field__prepend-inner{grid-area:prepend-inner;padding-inline-end:var(--v-field-padding-after)}.v-field__clearable{grid-area:clear}.v-field__append-inner{grid-area:append-inner;padding-inline-start:var(--v-field-padding-after)}.v-field__append-inner,.v-field__clearable,.v-field__prepend-inner{display:flex;align-items:flex-start;padding-top:var(--v-input-padding-top, 10px)}.v-field--center-affix .v-field__append-inner,.v-field--center-affix .v-field__clearable,.v-field--center-affix .v-field__prepend-inner{align-items:center;padding-top:0}.v-field.v-field--variant-underlined .v-field__append-inner,.v-field.v-field--variant-underlined .v-field__clearable,.v-field.v-field--variant-underlined .v-field__prepend-inner,.v-field.v-field--variant-plain .v-field__append-inner,.v-field.v-field--variant-plain .v-field__clearable,.v-field.v-field--variant-plain .v-field__prepend-inner{align-items:flex-start;padding-top:calc(var(--v-field-padding-top, 10px) + var(--v-input-padding-top, 0));padding-bottom:var(--v-field-padding-bottom, 5px)}.v-field--focused .v-field__prepend-inner,.v-field--focused .v-field__append-inner{opacity:1}.v-field__prepend-inner>.v-icon,.v-field__append-inner>.v-icon,.v-field__clearable>.v-icon{opacity:var(--v-medium-emphasis-opacity)}.v-field--disabled .v-field__prepend-inner>.v-icon,.v-field--error .v-field__prepend-inner>.v-icon,.v-field--disabled .v-field__append-inner>.v-icon,.v-field--error .v-field__append-inner>.v-icon,.v-field--disabled .v-field__clearable>.v-icon,.v-field--error .v-field__clearable>.v-icon{opacity:1}.v-field--error:not(.v-field--disabled) .v-field__prepend-inner>.v-icon,.v-field--error:not(.v-field--disabled) .v-field__append-inner>.v-icon,.v-field--error:not(.v-field--disabled) .v-field__clearable>.v-icon{color:rgb(var(--v-theme-error))}.v-field__clearable{cursor:pointer;opacity:0;overflow:hidden;margin-inline-start:4px;margin-inline-end:4px;transition:.15s cubic-bezier(.4,0,.2,1);transition-property:opacity,transform,width}.v-field--focused .v-field__clearable,.v-field--persistent-clear .v-field__clearable{opacity:1}@media (hover: hover){.v-field:hover .v-field__clearable{opacity:1}}.v-label.v-field-label{contain:layout paint;margin-inline-start:var(--v-field-padding-start);margin-inline-end:var(--v-field-padding-end);max-width:calc(100% - var(--v-field-padding-start) - var(--v-field-padding-end));pointer-events:none;position:absolute;top:var(--v-input-padding-top);transform-origin:left center;transition:.15s cubic-bezier(.4,0,.2,1);transition-property:opacity,transform;z-index:1}.v-field--variant-underlined .v-label.v-field-label,.v-field--variant-plain .v-label.v-field-label{top:calc(var(--v-input-padding-top) + var(--v-field-padding-top))}.v-field--center-affix .v-label.v-field-label{top:50%;transform:translateY(-50%)}.v-field--active .v-label.v-field-label{visibility:hidden}.v-field--focused .v-label.v-field-label,.v-field--error .v-label.v-field-label{opacity:1}.v-field--error:not(.v-field--disabled) .v-label.v-field-label{color:rgb(var(--v-theme-error))}.v-label.v-field-label--floating{--v-field-label-scale: .75em;font-size:var(--v-field-label-scale);visibility:hidden;max-width:100%}.v-field--center-affix .v-label.v-field-label--floating{transform:none}.v-field.v-field--active .v-label.v-field-label--floating{visibility:unset}.v-input--density-default .v-field--variant-solo .v-label.v-field-label--floating,.v-input--density-default .v-field--variant-solo-inverted .v-label.v-field-label--floating,.v-input--density-default .v-field--variant-filled .v-label.v-field-label--floating,.v-input--density-default .v-field--variant-solo-filled .v-label.v-field-label--floating{top:7px}.v-input--density-comfortable .v-field--variant-solo .v-label.v-field-label--floating,.v-input--density-comfortable .v-field--variant-solo-inverted .v-label.v-field-label--floating,.v-input--density-comfortable .v-field--variant-filled .v-label.v-field-label--floating,.v-input--density-comfortable .v-field--variant-solo-filled .v-label.v-field-label--floating{top:5px}.v-input--density-compact .v-field--variant-solo .v-label.v-field-label--floating,.v-input--density-compact .v-field--variant-solo-inverted .v-label.v-field-label--floating,.v-input--density-compact .v-field--variant-filled .v-label.v-field-label--floating,.v-input--density-compact .v-field--variant-solo-filled .v-label.v-field-label--floating{top:3px}.v-field--variant-plain .v-label.v-field-label--floating,.v-field--variant-underlined .v-label.v-field-label--floating{transform:translateY(-16px);margin:0;top:var(--v-input-padding-top)}.v-field--variant-outlined .v-label.v-field-label--floating{transform:translateY(-50%);transform-origin:center;position:static;margin:0 4px}.v-field__outline{--v-field-border-width: 1px;--v-field-border-opacity: .38;align-items:stretch;contain:layout;display:flex;height:100%;left:0;pointer-events:none;position:absolute;right:0;width:100%}@media (hover: hover){.v-field:hover .v-field__outline{--v-field-border-opacity: var(--v-high-emphasis-opacity)}}.v-field--error:not(.v-field--disabled) .v-field__outline{color:rgb(var(--v-theme-error))}.v-field.v-field--focused .v-field__outline,.v-input.v-input--error .v-field__outline{--v-field-border-opacity: 1}.v-field--variant-outlined.v-field--focused .v-field__outline{--v-field-border-width: 2px}.v-field--variant-filled .v-field__outline:before,.v-field--variant-underlined .v-field__outline:before{border-color:currentColor;border-style:solid;border-width:0 0 var(--v-field-border-width);opacity:var(--v-field-border-opacity);transition:opacity .25s cubic-bezier(.4,0,.2,1);content:"";position:absolute;top:0;left:0;width:100%;height:100%}.v-field--variant-filled .v-field__outline:after,.v-field--variant-underlined .v-field__outline:after{border-color:currentColor;border-style:solid;border-width:0 0 2px;transform:scaleX(0);transition:transform .15s cubic-bezier(.4,0,.2,1);content:"";position:absolute;top:0;left:0;width:100%;height:100%}.v-field--focused.v-field--variant-filled .v-field__outline:after,.v-field--focused.v-field--variant-underlined .v-field__outline:after{transform:scaleX(1)}.v-field--variant-outlined .v-field__outline{border-radius:inherit}.v-field--variant-outlined .v-field__outline__start,.v-field--variant-outlined .v-field__outline__notch:before,.v-field--variant-outlined .v-field__outline__notch:after,.v-field--variant-outlined .v-field__outline__end{border:0 solid currentColor;opacity:var(--v-field-border-opacity);transition:opacity .25s cubic-bezier(.4,0,.2,1)}.v-field--variant-outlined .v-field__outline__start{flex:0 0 12px;border-top-width:var(--v-field-border-width);border-bottom-width:var(--v-field-border-width);border-inline-start-width:var(--v-field-border-width)}.v-field--rounded.v-field--variant-outlined .v-field__outline__start,[class^=rounded-].v-field--variant-outlined .v-field__outline__start,[class*=" rounded-"].v-field--variant-outlined .v-field__outline__start{flex-basis:calc(var(--v-input-control-height) / 2 + 2px)}.v-locale--is-ltr.v-field--variant-outlined .v-field__outline__start,.v-locale--is-ltr .v-field--variant-outlined .v-field__outline__start{border-top-left-radius:inherit;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:inherit}.v-locale--is-rtl.v-field--variant-outlined .v-field__outline__start,.v-locale--is-rtl .v-field--variant-outlined .v-field__outline__start{border-top-left-radius:0;border-top-right-radius:inherit;border-bottom-right-radius:inherit;border-bottom-left-radius:0}.v-field--variant-outlined .v-field__outline__notch{flex:none;position:relative}.v-field--variant-outlined .v-field__outline__notch:before,.v-field--variant-outlined .v-field__outline__notch:after{opacity:var(--v-field-border-opacity);transition:opacity .25s cubic-bezier(.4,0,.2,1);content:"";position:absolute;top:0;left:0;width:100%;height:100%}.v-field--variant-outlined .v-field__outline__notch:before{border-width:var(--v-field-border-width) 0 0}.v-field--variant-outlined .v-field__outline__notch:after{bottom:0;border-width:0 0 var(--v-field-border-width)}.v-field--active.v-field--variant-outlined .v-field__outline__notch:before{opacity:0}.v-field--variant-outlined .v-field__outline__end{flex:1;border-top-width:var(--v-field-border-width);border-bottom-width:var(--v-field-border-width);border-inline-end-width:var(--v-field-border-width)}.v-locale--is-ltr.v-field--variant-outlined .v-field__outline__end,.v-locale--is-ltr .v-field--variant-outlined .v-field__outline__end{border-top-left-radius:0;border-top-right-radius:inherit;border-bottom-right-radius:inherit;border-bottom-left-radius:0}.v-locale--is-rtl.v-field--variant-outlined .v-field__outline__end,.v-locale--is-rtl .v-field--variant-outlined .v-field__outline__end{border-top-left-radius:inherit;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:inherit}.v-field__loader{top:calc(100% - 2px);left:0;position:absolute;right:0;width:100%;border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;overflow:hidden}.v-field--variant-outlined .v-field__loader{top:calc(100% - 3px)}.v-field__overlay{border-radius:inherit;pointer-events:none;position:absolute;top:0;left:0;width:100%;height:100%}.v-field--variant-filled .v-field__overlay{background-color:currentColor;opacity:.04;transition:opacity .25s cubic-bezier(.4,0,.2,1)}.v-field--variant-filled.v-field--has-background .v-field__overlay{opacity:0}@media (hover: hover){.v-field--variant-filled:hover .v-field__overlay{opacity:calc((.04 + var(--v-hover-opacity)) * var(--v-theme-overlay-multiplier))}}.v-field--variant-filled.v-field--focused .v-field__overlay{opacity:calc((.04 + var(--v-focus-opacity)) * var(--v-theme-overlay-multiplier))}.v-field--variant-solo-filled .v-field__overlay{background-color:currentColor;opacity:.04;transition:opacity .25s cubic-bezier(.4,0,.2,1)}@media (hover: hover){.v-field--variant-solo-filled:hover .v-field__overlay{opacity:calc((.04 + var(--v-hover-opacity)) * var(--v-theme-overlay-multiplier))}}.v-field--variant-solo-filled.v-field--focused .v-field__overlay{opacity:calc((.04 + var(--v-focus-opacity)) * var(--v-theme-overlay-multiplier))}.v-field--variant-solo-inverted .v-field__overlay{transition:opacity .25s cubic-bezier(.4,0,.2,1)}.v-field--variant-solo-inverted.v-field--has-background .v-field__overlay{opacity:0}@media (hover: hover){.v-field--variant-solo-inverted:hover .v-field__overlay{opacity:calc((.04 + var(--v-hover-opacity)) * var(--v-theme-overlay-multiplier))}}.v-field--variant-solo-inverted.v-field--focused .v-field__overlay{background-color:rgb(var(--v-theme-surface-variant));opacity:1}.v-field--reverse .v-field__field,.v-field--reverse .v-field__input{flex-direction:row-reverse}.v-locale--is-ltr.v-field--reverse .v-field__input,.v-locale--is-ltr.v-field--reverse input,.v-locale--is-ltr .v-field--reverse .v-field__input,.v-locale--is-ltr .v-field--reverse input{text-align:right}.v-locale--is-rtl.v-field--reverse .v-field__input,.v-locale--is-rtl.v-field--reverse input,.v-locale--is-rtl .v-field--reverse .v-field__input,.v-locale--is-rtl .v-field--reverse input{text-align:left}.v-input--disabled .v-field--variant-filled .v-field__outline:before,.v-input--disabled .v-field--variant-underlined .v-field__outline:before{border-image:repeating-linear-gradient(to right,rgba(var(--v-theme-on-surface),var(--v-disabled-opacity)) 0px,rgba(var(--v-theme-on-surface),var(--v-disabled-opacity)) 2px,transparent 2px,transparent 4px) 1 repeat}.v-field--loading .v-field__outline:after,.v-field--loading .v-field__outline:before{opacity:0}.v-virtual-scroll{display:block;flex:1 1 auto;max-width:100%;overflow:auto;position:relative}.v-virtual-scroll__container{display:block}.v-badge{display:inline-block;line-height:1}.v-badge__badge{align-items:center;display:inline-flex;border-radius:10px;font-size:.75rem;font-weight:500;height:1.25rem;justify-content:center;min-width:20px;padding:4px 6px;pointer-events:auto;position:absolute;text-align:center;text-indent:0;transition:.225s cubic-bezier(.4,0,.2,1);white-space:nowrap;background:rgb(var(--v-theme-surface-variant));color:rgba(var(--v-theme-on-surface-variant),var(--v-high-emphasis-opacity))}.v-badge--bordered .v-badge__badge:after{border-radius:inherit;border-style:solid;border-width:2px;bottom:0;color:rgb(var(--v-theme-background));content:"";left:0;position:absolute;right:0;top:0;transform:scale(1.05)}.v-badge--dot .v-badge__badge{border-radius:4.5px;height:9px;min-width:0;padding:0;width:9px}.v-badge--dot .v-badge__badge:after{border-width:1.5px}.v-badge--inline .v-badge__badge{position:relative;vertical-align:middle}.v-badge__badge .v-icon{color:inherit;font-size:.75rem;margin:0 -2px}.v-badge__badge img,.v-badge__badge .v-img{height:100%;width:100%}.v-badge__wrapper{display:flex;position:relative}.v-badge--inline .v-badge__wrapper{align-items:center;display:inline-flex;justify-content:center;margin:0 4px}.v-banner{display:grid;flex:1 1;font-size:.875rem;grid-template-areas:"prepend content actions";grid-template-columns:max-content auto max-content;grid-template-rows:max-content max-content;line-height:1.375rem;overflow:hidden;padding-inline-start:16px;padding-inline-end:8px;padding-top:16px;padding-bottom:16px;position:relative;width:100%;border-color:rgba(var(--v-border-color),var(--v-border-opacity));border-style:solid;border-width:0 0 thin 0;box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12));border-radius:0;background:rgb(var(--v-theme-surface));color:rgba(var(--v-theme-on-surface),var(--v-high-emphasis-opacity))}.v-banner--border{border-width:thin;box-shadow:none}.v-banner--absolute{position:absolute}.v-banner--fixed{position:fixed}.v-banner--sticky{position:sticky}.v-banner--rounded{border-radius:4px}.v-banner--stacked:not(.v-banner--one-line){grid-template-areas:"prepend content" ". actions"}.v-banner--stacked .v-banner-text{padding-inline-end:36px}.v-banner--density-default .v-banner-actions{margin-bottom:-8px}.v-banner--density-default.v-banner--one-line{padding-top:8px;padding-bottom:8px}.v-banner--density-default.v-banner--one-line .v-banner-actions{margin-bottom:0}.v-banner--density-default.v-banner--one-line{padding-top:10px}.v-banner--density-default.v-banner--two-line{padding-top:16px;padding-bottom:16px}.v-banner--density-default.v-banner--three-line{padding-top:24px;padding-bottom:16px}.v-banner--density-default:not(.v-banner--one-line) .v-banner-actions,.v-banner--density-default.v-banner--two-line .v-banner-actions,.v-banner--density-default.v-banner--three-line .v-banner-actions{margin-top:20px}.v-banner--density-comfortable .v-banner-actions{margin-bottom:-4px}.v-banner--density-comfortable.v-banner--one-line{padding-top:4px;padding-bottom:4px}.v-banner--density-comfortable.v-banner--one-line .v-banner-actions{margin-bottom:0}.v-banner--density-comfortable.v-banner--two-line{padding-top:12px;padding-bottom:12px}.v-banner--density-comfortable.v-banner--three-line{padding-top:20px;padding-bottom:12px}.v-banner--density-comfortable:not(.v-banner--one-line) .v-banner-actions,.v-banner--density-comfortable.v-banner--two-line .v-banner-actions,.v-banner--density-comfortable.v-banner--three-line .v-banner-actions{margin-top:16px}.v-banner--density-compact .v-banner-actions{margin-bottom:0}.v-banner--density-compact.v-banner--one-line{padding-top:0;padding-bottom:0}.v-banner--density-compact.v-banner--one-line .v-banner-actions{margin-bottom:0}.v-banner--density-compact.v-banner--two-line{padding-top:8px;padding-bottom:8px}.v-banner--density-compact.v-banner--three-line{padding-top:16px;padding-bottom:8px}.v-banner--density-compact:not(.v-banner--one-line) .v-banner-actions,.v-banner--density-compact.v-banner--two-line .v-banner-actions,.v-banner--density-compact.v-banner--three-line .v-banner-actions{margin-top:12px}.v-banner--sticky{top:0}.v-banner__content{align-items:center;display:flex;grid-area:content}.v-banner__prepend{align-self:flex-start;grid-area:prepend;margin-inline-end:24px}.v-banner-actions{align-self:flex-end;display:flex;flex:0 1;grid-area:actions;justify-content:flex-end}.v-banner--two-line .v-banner-actions,.v-banner--three-line .v-banner-actions{margin-top:20px}.v-banner-text{-webkit-box-orient:vertical;display:-webkit-box;padding-inline-end:90px;overflow:hidden}.v-banner--one-line .v-banner-text{-webkit-line-clamp:1}.v-banner--two-line .v-banner-text{-webkit-line-clamp:2}.v-banner--three-line .v-banner-text{-webkit-line-clamp:3}.v-banner--two-line .v-banner-text,.v-banner--three-line .v-banner-text{align-self:flex-start}.v-bottom-navigation{display:flex;max-width:100%;overflow:hidden;position:absolute;transition:transform,color .2s,.2s cubic-bezier(.4,0,.2,1);border-color:rgba(var(--v-border-color),var(--v-border-opacity));border-style:solid;border-width:0;border-radius:0;background:rgb(var(--v-theme-surface));color:rgba(var(--v-theme-on-surface),var(--v-high-emphasis-opacity))}.v-bottom-navigation--border{border-width:thin;box-shadow:none}.v-bottom-navigation--active{box-shadow:0 2px 4px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 4px 5px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 10px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-bottom-navigation__content{display:flex;flex:none;font-size:.75rem;justify-content:center;transition:inherit;width:100%}.v-bottom-navigation .v-bottom-navigation__content>.v-btn{font-size:inherit;height:100%;max-width:168px;min-width:80px;text-transform:none;transition:inherit;width:auto;border-radius:0}.v-bottom-navigation .v-bottom-navigation__content>.v-btn .v-btn__content,.v-bottom-navigation .v-bottom-navigation__content>.v-btn .v-btn__icon{transition:inherit}.v-bottom-navigation .v-bottom-navigation__content>.v-btn .v-btn__icon{font-size:1.5rem}.v-bottom-navigation--grow .v-bottom-navigation__content>.v-btn{flex-grow:1}.v-bottom-navigation--shift .v-bottom-navigation__content .v-btn:not(.v-btn--selected) .v-btn__content>span{transition:inherit;opacity:0}.v-bottom-navigation--shift .v-bottom-navigation__content .v-btn:not(.v-btn--selected) .v-btn__content{transform:translateY(.5rem)}.v-breadcrumbs{display:flex;align-items:center;line-height:1.375rem;padding:16px 12px}.v-breadcrumbs--rounded{border-radius:4px}.v-breadcrumbs--density-default{padding-top:16px;padding-bottom:16px}.v-breadcrumbs--density-comfortable{padding-top:12px;padding-bottom:12px}.v-breadcrumbs--density-compact{padding-top:8px;padding-bottom:8px}.v-breadcrumbs__prepend{align-items:center;display:inline-flex}.v-breadcrumbs-item{align-items:center;color:inherit;display:inline-flex;padding:0 4px;text-decoration:none;vertical-align:middle}.v-breadcrumbs-item--disabled{opacity:var(--v-disabled-opacity);pointer-events:none}.v-breadcrumbs-item--link{color:inherit;text-decoration:none}.v-breadcrumbs-item--link:hover{text-decoration:underline}.v-breadcrumbs-item .v-icon{font-size:1rem;margin-inline-start:-4px;margin-inline-end:2px}.v-breadcrumbs-divider{display:inline-block;padding:0 8px;vertical-align:middle}.v-card{display:block;overflow:hidden;overflow-wrap:break-word;position:relative;padding:0;text-decoration:none;transition-duration:.28s;transition-property:box-shadow,opacity,background;transition-timing-function:cubic-bezier(.4,0,.2,1);z-index:0;border-color:rgba(var(--v-border-color),var(--v-border-opacity));border-style:solid;border-width:0;border-radius:4px}.v-card--border{border-width:thin;box-shadow:none}.v-card--absolute{position:absolute}.v-card--fixed{position:fixed}.v-card:hover>.v-card__overlay{opacity:calc(var(--v-hover-opacity) * var(--v-theme-overlay-multiplier))}.v-card:focus-visible>.v-card__overlay{opacity:calc(var(--v-focus-opacity) * var(--v-theme-overlay-multiplier))}@supports not selector(:focus-visible){.v-card:focus>.v-card__overlay{opacity:calc(var(--v-focus-opacity) * var(--v-theme-overlay-multiplier))}}.v-card--active>.v-card__overlay,.v-card[aria-haspopup=menu][aria-expanded=true]>.v-card__overlay{opacity:calc(var(--v-activated-opacity) * var(--v-theme-overlay-multiplier))}.v-card--active:hover>.v-card__overlay,.v-card[aria-haspopup=menu][aria-expanded=true]:hover>.v-card__overlay{opacity:calc((var(--v-activated-opacity) + var(--v-hover-opacity)) * var(--v-theme-overlay-multiplier))}.v-card--active:focus-visible>.v-card__overlay,.v-card[aria-haspopup=menu][aria-expanded=true]:focus-visible>.v-card__overlay{opacity:calc((var(--v-activated-opacity) + var(--v-focus-opacity)) * var(--v-theme-overlay-multiplier))}@supports not selector(:focus-visible){.v-card--active:focus>.v-card__overlay,.v-card[aria-haspopup=menu][aria-expanded=true]:focus>.v-card__overlay{opacity:calc((var(--v-activated-opacity) + var(--v-focus-opacity)) * var(--v-theme-overlay-multiplier))}}.v-card--variant-plain,.v-card--variant-outlined,.v-card--variant-text,.v-card--variant-tonal{background:transparent;color:inherit}.v-card--variant-plain{opacity:.62}.v-card--variant-plain:focus,.v-card--variant-plain:hover{opacity:1}.v-card--variant-plain .v-card__overlay{display:none}.v-card--variant-elevated,.v-card--variant-flat{background:rgb(var(--v-theme-surface));color:rgba(var(--v-theme-on-surface),var(--v-high-emphasis-opacity))}.v-card--variant-elevated{box-shadow:0 2px 1px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 1px 1px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 3px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-card--variant-flat{box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-card--variant-outlined{border:thin solid currentColor}.v-card--variant-text .v-card__overlay{background:currentColor}.v-card--variant-tonal .v-card__underlay{background:currentColor;opacity:var(--v-activated-opacity);border-radius:inherit;position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.v-card--disabled{pointer-events:none;-webkit-user-select:none;user-select:none}.v-card--disabled>:not(.v-card__loader){opacity:.6}.v-card--flat{box-shadow:none}.v-card--hover{cursor:pointer;box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-card--hover:before,.v-card--hover:after{border-radius:inherit;bottom:0;content:"";display:block;left:0;pointer-events:none;position:absolute;right:0;top:0;transition:inherit}.v-card--hover:before{opacity:1;z-index:-1;box-shadow:0 2px 1px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 1px 1px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 3px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-card--hover:after{z-index:1;opacity:0;box-shadow:0 5px 5px -3px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 8px 10px 1px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 3px 14px 2px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-card--hover:hover:after{opacity:1}.v-card--hover:hover:before{opacity:0}.v-card--link{cursor:pointer}.v-card-actions{align-items:center;display:flex;flex:none;min-height:52px;padding:.5rem}.v-card-item{align-items:center;display:grid;flex:none;grid-template-areas:"prepend content append";grid-template-columns:max-content auto max-content;padding:.625rem 1rem}.v-card-item+.v-card-text{padding-top:0}.v-card-item__prepend{grid-area:prepend;padding-inline-end:1rem}.v-card-item__append{grid-area:append;padding-inline-start:1rem}.v-card-item__content{align-self:center;grid-area:content;overflow:hidden}.v-card-title{display:block;flex:none;font-size:1.25rem;font-weight:500;-webkit-hyphens:auto;hyphens:auto;letter-spacing:.0125em;min-width:0;overflow-wrap:normal;overflow:hidden;padding:.5rem 1rem;text-overflow:ellipsis;text-transform:none;white-space:nowrap;word-break:normal;word-wrap:break-word}.v-card .v-card-title{line-height:2rem}.v-card--density-comfortable .v-card-title{line-height:1.75rem}.v-card--density-compact .v-card-title{line-height:1.55rem}.v-card-item .v-card-title{padding:0}.v-card-title+.v-card-text,.v-card-title+.v-card-actions{padding-top:0}.v-card-subtitle{display:block;flex:none;font-size:.875rem;font-weight:400;letter-spacing:.0178571429em;opacity:var(--v-medium-emphasis-opacity);overflow:hidden;padding:0 1rem;text-overflow:ellipsis;text-transform:none;white-space:nowrap}.v-card .v-card-subtitle{line-height:1.25rem}.v-card--density-comfortable .v-card-subtitle{line-height:1.125rem}.v-card--density-compact .v-card-subtitle{line-height:1rem}.v-card-item .v-card-subtitle{padding:0 0 .25rem}.v-card-text{flex:1 1 auto;font-size:.875rem;font-weight:400;letter-spacing:.0178571429em;padding:1rem;text-transform:none}.v-card .v-card-text{line-height:1.25rem}.v-card--density-comfortable .v-card-text{line-height:1.2rem}.v-card--density-compact .v-card-text{line-height:1.15rem}.v-card__image{display:flex;height:100%;flex:1 1 auto;left:0;overflow:hidden;position:absolute;top:0;width:100%;z-index:-1}.v-card__content{border-radius:inherit;overflow:hidden;position:relative}.v-card__loader{bottom:auto;top:0;left:0;position:absolute;right:0;width:100%;z-index:1}.v-card__overlay{background-color:currentColor;border-radius:inherit;position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;opacity:0;transition:opacity .2s ease-in-out}.v-carousel{overflow:hidden;position:relative;width:100%}.v-carousel__controls{align-items:center;background:rgba(var(--v-theme-surface-variant),.3);bottom:0;display:flex;height:50px;justify-content:center;list-style-type:none;position:absolute;width:100%;z-index:1}.v-carousel__controls>.v-item-group{flex:0 1 auto}.v-carousel__controls__item{margin:0 8px}.v-carousel__controls__item .v-icon{opacity:.5}.v-carousel__controls__item--active .v-icon{opacity:1;vertical-align:middle}.v-carousel__controls__item:hover{background:none}.v-carousel__controls__item:hover .v-icon{opacity:.8}.v-carousel__progress{margin:0;position:absolute;bottom:0;left:0;right:0}.v-carousel-item{display:block;height:inherit;text-decoration:none}.v-carousel-item>.v-img{height:inherit}.v-carousel--hide-delimiter-background .v-carousel__controls{background:transparent}.v-carousel--vertical-delimiters .v-carousel__controls{flex-direction:column;height:100%!important;width:50px}.v-window{overflow:hidden}.v-window__container{display:flex;flex-direction:column;height:inherit;position:relative;transition:.3s cubic-bezier(.25,.8,.5,1)}.v-window__controls{position:absolute;left:0;top:0;width:100%;height:100%;display:flex;align-items:center;justify-content:space-between;padding:0 16px;pointer-events:none}.v-window__controls *{pointer-events:auto}.v-window--show-arrows-on-hover{overflow:hidden}.v-window--show-arrows-on-hover .v-window__left{transform:translate(-200%)}.v-window--show-arrows-on-hover .v-window__right{transform:translate(200%)}.v-window--show-arrows-on-hover:hover .v-window__left,.v-window--show-arrows-on-hover:hover .v-window__right{transform:translate(0)}.v-window-x-transition-enter-active,.v-window-x-transition-leave-active,.v-window-x-reverse-transition-enter-active,.v-window-x-reverse-transition-leave-active,.v-window-y-transition-enter-active,.v-window-y-transition-leave-active,.v-window-y-reverse-transition-enter-active,.v-window-y-reverse-transition-leave-active{transition:.3s cubic-bezier(.25,.8,.5,1)}.v-window-x-transition-leave-from,.v-window-x-transition-leave-to,.v-window-x-reverse-transition-leave-from,.v-window-x-reverse-transition-leave-to,.v-window-y-transition-leave-from,.v-window-y-transition-leave-to,.v-window-y-reverse-transition-leave-from,.v-window-y-reverse-transition-leave-to{position:absolute!important;top:0;width:100%}.v-window-x-transition-enter-from{transform:translate(100%)}.v-window-x-transition-leave-to,.v-window-x-reverse-transition-enter-from{transform:translate(-100%)}.v-window-x-reverse-transition-leave-to{transform:translate(100%)}.v-window-y-transition-enter-from{transform:translateY(100%)}.v-window-y-transition-leave-to,.v-window-y-reverse-transition-enter-from{transform:translateY(-100%)}.v-window-y-reverse-transition-leave-to{transform:translateY(100%)}.v-code{background-color:rgb(var(--v-theme-code));color:rgb(var(--v-theme-on-code));border-radius:4px;line-height:1.8;font-size:.9em;font-weight:400;padding:.2em .4em}.v-color-picker{align-self:flex-start;contain:content}.v-color-picker.v-sheet{box-shadow:0 3px 1px -2px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 2px 2px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 5px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12));border-radius:4px}.v-color-picker__controls{display:flex;flex-direction:column;padding:16px}.v-color-picker--flat{box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-color-picker--flat .v-color-picker__track:not(.v-input--is-disabled) .v-slider__thumb{box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-color-picker-canvas{display:flex;position:relative;overflow:hidden;contain:content;touch-action:none}.v-color-picker-canvas__dot{position:absolute;top:0;left:0;width:15px;height:15px;background:transparent;border-radius:50%;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1.5px #0000004d}.v-color-picker-canvas__dot--disabled{box-shadow:0 0 0 1.5px #ffffffb3,inset 0 0 1px 1.5px #0000004d}.v-color-picker-canvas:hover .v-color-picker-canvas__dot{will-change:transform}.v-color-picker-edit{display:flex;margin-top:24px}.v-color-picker-edit__input{width:100%;display:flex;flex-wrap:wrap;justify-content:center;text-align:center}.v-locale--is-ltr.v-color-picker-edit__input:not(:last-child),.v-locale--is-ltr .v-color-picker-edit__input:not(:last-child){margin-right:8px}.v-locale--is-rtl.v-color-picker-edit__input:not(:last-child),.v-locale--is-rtl .v-color-picker-edit__input:not(:last-child){margin-left:8px}.v-color-picker-edit__input input{border-radius:4px;margin-bottom:8px;min-width:0;outline:none;text-align:center;width:100%;height:32px;background:rgba(var(--v-theme-surface-variant),.2);color:rgba(var(--v-theme-on-surface))}.v-color-picker-edit__input span{font-size:.75rem}.v-color-picker-preview__alpha .v-slider-track__background{background-color:transparent!important}.v-locale--is-ltr.v-color-picker-preview__alpha .v-slider-track__background,.v-locale--is-ltr .v-color-picker-preview__alpha .v-slider-track__background{background-image:linear-gradient(to right,transparent,var(--v-color-picker-color-hsv))}.v-locale--is-rtl.v-color-picker-preview__alpha .v-slider-track__background,.v-locale--is-rtl .v-color-picker-preview__alpha .v-slider-track__background{background-image:linear-gradient(to left,transparent,var(--v-color-picker-color-hsv))}.v-color-picker-preview__alpha .v-slider-track__background:after{content:"";z-index:-1;left:0;top:0;width:100%;height:100%;position:absolute;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAAXNSR0IArs4c6QAAACRJREFUKFNjPHTo0H8GJGBnZ8eIzGekgwJk+0BsdCtRHEQbBQBbbh0dIGKknQAAAABJRU5ErkJggg==) repeat;border-radius:inherit}.v-color-picker-preview__sliders{display:flex;flex:1 0 auto;flex-direction:column}.v-color-picker-preview__dot{position:relative;height:30px;width:30px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAAXNSR0IArs4c6QAAACRJREFUKFNjPHTo0H8GJGBnZ8eIzGekgwJk+0BsdCtRHEQbBQBbbh0dIGKknQAAAABJRU5ErkJggg==) repeat;border-radius:50%;overflow:hidden}.v-locale--is-ltr.v-color-picker-preview__dot,.v-locale--is-ltr .v-color-picker-preview__dot{margin-right:24px}.v-locale--is-rtl.v-color-picker-preview__dot,.v-locale--is-rtl .v-color-picker-preview__dot{margin-left:24px}.v-color-picker-preview__dot>div{width:100%;height:100%}.v-locale--is-ltr.v-color-picker-preview__hue:not(.v-input--is-disabled) .v-slider-track__background,.v-locale--is-ltr .v-color-picker-preview__hue:not(.v-input--is-disabled) .v-slider-track__background{background:linear-gradient(to right,#F00 0%,#FF0 16.66%,#0F0 33.33%,#0FF 50%,#00F 66.66%,#F0F 83.33%,#F00 100%)}.v-locale--is-rtl.v-color-picker-preview__hue:not(.v-input--is-disabled) .v-slider-track__background,.v-locale--is-rtl .v-color-picker-preview__hue:not(.v-input--is-disabled) .v-slider-track__background{background:linear-gradient(to left,#F00 0%,#FF0 16.66%,#0F0 33.33%,#0FF 50%,#00F 66.66%,#F0F 83.33%,#F00 100%)}.v-color-picker-preview__track{position:relative;width:100%;margin:0!important}.v-color-picker-preview__track .v-slider-track__fill{display:none}.v-color-picker-preview{align-items:center;display:flex;margin-bottom:0}.v-slider .v-slider__container input{cursor:default;padding:0;width:100%;display:none}.v-slider>.v-input__append,.v-slider>.v-input__prepend{padding:0}.v-slider__container{position:relative;min-height:inherit;width:100%;height:100%;display:flex;justify-content:center;align-items:center;cursor:pointer}.v-input--disabled .v-slider__container{opacity:var(--v-disabled-opacity)}.v-input--error:not(.v-input--disabled) .v-slider__container{color:rgb(var(--v-theme-error))}.v-slider.v-input--horizontal{align-items:center;margin-inline-start:8px;margin-inline-end:8px}.v-slider.v-input--horizontal>.v-input__control{min-height:32px;display:flex;align-items:center}.v-slider.v-input--vertical{justify-content:center;margin-top:12px;margin-bottom:12px}.v-slider.v-input--vertical>.v-input__control{min-height:300px}.v-slider.v-input--disabled{pointer-events:none}.v-slider--has-labels>.v-input__control{margin-bottom:4px}.v-slider__label{margin-inline-end:12px}.v-slider-thumb{touch-action:none;color:rgb(var(--v-theme-surface-variant))}.v-input--error:not(.v-input--disabled) .v-slider-thumb{color:inherit}.v-slider-thumb__label{background:rgba(var(--v-theme-surface-variant),.7);color:rgb(var(--v-theme-on-surface-variant))}.v-slider-thumb__label:before{color:rgba(var(--v-theme-surface-variant),.7)}.v-slider-thumb{outline:none;position:absolute;transition:.3s cubic-bezier(.25,.8,.5,1)}.v-slider-thumb__surface{cursor:pointer;width:var(--v-slider-thumb-size);height:var(--v-slider-thumb-size);border-radius:50%;-webkit-user-select:none;user-select:none;background-color:currentColor}.v-slider-thumb__surface:before{transition:.3s cubic-bezier(.4,0,.2,1);content:"";color:inherit;top:0;left:0;width:100%;height:100%;border-radius:50%;background:currentColor;position:absolute;pointer-events:none;opacity:0}.v-slider-thumb__surface:after{content:"";width:42px;height:42px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.v-slider-thumb__label-container{position:absolute;transition:.2s cubic-bezier(.4,0,1,1)}.v-slider-thumb__label{display:flex;align-items:center;justify-content:center;font-size:.75rem;min-width:35px;height:25px;border-radius:4px;padding:6px;position:absolute;-webkit-user-select:none;user-select:none;transition:.2s cubic-bezier(.4,0,1,1)}.v-slider-thumb__label:before{content:"";width:0;height:0;position:absolute}.v-slider-thumb__ripple{position:absolute;left:calc(var(--v-slider-thumb-size) / -2);top:calc(var(--v-slider-thumb-size) / -2);width:calc(var(--v-slider-thumb-size) * 2);height:calc(var(--v-slider-thumb-size) * 2);background:inherit}.v-slider.v-input--horizontal .v-slider-thumb{top:50%;transform:translateY(-50%)}.v-locale--is-ltr.v-slider.v-input--horizontal .v-slider-thumb,.v-locale--is-ltr .v-slider.v-input--horizontal .v-slider-thumb{left:calc(var(--v-slider-thumb-position) - var(--v-slider-thumb-size) / 2)}.v-locale--is-rtl.v-slider.v-input--horizontal .v-slider-thumb,.v-locale--is-rtl .v-slider.v-input--horizontal .v-slider-thumb{right:calc(var(--v-slider-thumb-position) - var(--v-slider-thumb-size) / 2)}.v-slider.v-input--horizontal .v-slider-thumb__label-container{left:calc(var(--v-slider-thumb-size) / 2);top:0}.v-slider.v-input--horizontal .v-slider-thumb__label{bottom:calc(var(--v-slider-thumb-size) / 2)}.v-locale--is-ltr.v-slider.v-input--horizontal .v-slider-thumb__label,.v-locale--is-ltr .v-slider.v-input--horizontal .v-slider-thumb__label{transform:translate(-50%)}.v-locale--is-rtl.v-slider.v-input--horizontal .v-slider-thumb__label,.v-locale--is-rtl .v-slider.v-input--horizontal .v-slider-thumb__label{transform:translate(50%)}.v-slider.v-input--horizontal .v-slider-thumb__label:before{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid currentColor;bottom:-6px}.v-slider.v-input--vertical .v-slider-thumb{top:calc(var(--v-slider-thumb-position) - var(--v-slider-thumb-size) / 2)}.v-slider.v-input--vertical .v-slider-thumb__label-container{top:calc(var(--v-slider-thumb-size) / 2);right:0}.v-slider.v-input--vertical .v-slider-thumb__label{top:-12.5px;left:calc(var(--v-slider-thumb-size) / 2)}.v-slider.v-input--vertical .v-slider-thumb__label:before{border-right:6px solid currentColor;border-top:6px solid transparent;border-bottom:6px solid transparent;left:-6px}.v-slider-thumb--focused .v-slider-thumb__surface:before{transform:scale(2);opacity:var(--v-focus-opacity)}.v-slider-thumb--pressed{transition:none}.v-slider-thumb--pressed .v-slider-thumb__surface:before{opacity:var(--v-pressed-opacity)}@media (hover: hover){.v-slider-thumb:hover .v-slider-thumb__surface:before{transform:scale(2)}.v-slider-thumb:hover:not(.v-slider-thumb--focused) .v-slider-thumb__surface:before{opacity:var(--v-hover-opacity)}}.v-slider-track__background,.v-slider-track__fill,.v-slider-track__tick{background-color:rgb(var(--v-theme-surface-variant))}.v-slider-track__tick--filled{background-color:rgb(var(--v-theme-on-surface-variant))}.v-slider-track{border-radius:6px}.v-slider-track__background,.v-slider-track__fill{position:absolute;transition:.3s cubic-bezier(.25,.8,.5,1);border-radius:inherit}.v-slider--pressed .v-slider-track__background,.v-slider--pressed .v-slider-track__fill{transition:none}.v-input--error:not(.v-input--disabled) .v-slider-track__background,.v-input--error:not(.v-input--disabled) .v-slider-track__fill{background-color:currentColor}.v-slider-track__ticks{height:100%;width:100%;position:relative}.v-slider-track__tick{position:absolute;opacity:0;transition:.2s opacity cubic-bezier(.4,0,.2,1);border-radius:2px;width:var(--v-slider-tick-size);height:var(--v-slider-tick-size);transform:translate(calc(var(--v-slider-tick-size) / -2),calc(var(--v-slider-tick-size) / -2))}.v-locale--is-ltr.v-slider-track__tick--first .v-slider-track__tick-label,.v-locale--is-ltr .v-slider-track__tick--first .v-slider-track__tick-label{transform:none}.v-locale--is-rtl.v-slider-track__tick--first .v-slider-track__tick-label,.v-locale--is-rtl .v-slider-track__tick--first .v-slider-track__tick-label{transform:translate(100%)}.v-locale--is-ltr.v-slider-track__tick--last .v-slider-track__tick-label,.v-locale--is-ltr .v-slider-track__tick--last .v-slider-track__tick-label{transform:translate(-100%)}.v-locale--is-rtl.v-slider-track__tick--last .v-slider-track__tick-label,.v-locale--is-rtl .v-slider-track__tick--last .v-slider-track__tick-label{transform:none}.v-slider-track__tick-label{position:absolute;-webkit-user-select:none;user-select:none;white-space:nowrap}.v-slider.v-input--horizontal .v-slider-track{display:flex;align-items:center;width:100%;height:calc(var(--v-slider-track-size) + 2px);touch-action:pan-y}.v-slider.v-input--horizontal .v-slider-track__background{height:var(--v-slider-track-size)}.v-slider.v-input--horizontal .v-slider-track__fill{height:inherit}.v-slider.v-input--horizontal .v-slider-track__tick{margin-top:calc(calc(var(--v-slider-track-size) + 2px) / 2)}.v-locale--is-rtl.v-slider.v-input--horizontal .v-slider-track__tick,.v-locale--is-rtl .v-slider.v-input--horizontal .v-slider-track__tick{transform:translate(calc(var(--v-slider-tick-size) / 2),calc(var(--v-slider-tick-size) / -2))}.v-slider.v-input--horizontal .v-slider-track__tick .v-slider-track__tick-label{margin-top:calc(var(--v-slider-track-size) / 2 + 8px)}.v-locale--is-ltr.v-slider.v-input--horizontal .v-slider-track__tick .v-slider-track__tick-label,.v-locale--is-ltr .v-slider.v-input--horizontal .v-slider-track__tick .v-slider-track__tick-label{transform:translate(-50%)}.v-locale--is-rtl.v-slider.v-input--horizontal .v-slider-track__tick .v-slider-track__tick-label,.v-locale--is-rtl .v-slider.v-input--horizontal .v-slider-track__tick .v-slider-track__tick-label{transform:translate(50%)}.v-slider.v-input--horizontal .v-slider-track__tick--first{margin-inline-start:calc(var(--v-slider-tick-size) + 1px)}.v-locale--is-ltr.v-slider.v-input--horizontal .v-slider-track__tick--first .v-slider-track__tick-label,.v-locale--is-ltr .v-slider.v-input--horizontal .v-slider-track__tick--first .v-slider-track__tick-label,.v-locale--is-rtl.v-slider.v-input--horizontal .v-slider-track__tick--first .v-slider-track__tick-label,.v-locale--is-rtl .v-slider.v-input--horizontal .v-slider-track__tick--first .v-slider-track__tick-label{transform:translate(0)}.v-slider.v-input--horizontal .v-slider-track__tick--last{margin-inline-start:calc(100% - var(--v-slider-tick-size) - 1px)}.v-locale--is-ltr.v-slider.v-input--horizontal .v-slider-track__tick--last .v-slider-track__tick-label,.v-locale--is-ltr .v-slider.v-input--horizontal .v-slider-track__tick--last .v-slider-track__tick-label{transform:translate(-100%)}.v-locale--is-rtl.v-slider.v-input--horizontal .v-slider-track__tick--last .v-slider-track__tick-label,.v-locale--is-rtl .v-slider.v-input--horizontal .v-slider-track__tick--last .v-slider-track__tick-label{transform:translate(100%)}.v-slider.v-input--vertical .v-slider-track{height:100%;display:flex;justify-content:center;width:calc(var(--v-slider-track-size) + 2px);touch-action:pan-x}.v-slider.v-input--vertical .v-slider-track__background{width:var(--v-slider-track-size)}.v-slider.v-input--vertical .v-slider-track__fill{width:inherit}.v-slider.v-input--vertical .v-slider-track__ticks{height:100%}.v-slider.v-input--vertical .v-slider-track__tick{margin-inline-start:calc(calc(var(--v-slider-track-size) + 2px) / 2);transform:translate(calc(var(--v-slider-tick-size) / -2),calc(var(--v-slider-tick-size) / 2))}.v-locale--is-rtl.v-slider.v-input--vertical .v-slider-track__tick,.v-locale--is-rtl .v-slider.v-input--vertical .v-slider-track__tick{transform:translate(calc(var(--v-slider-tick-size) / 2),calc(var(--v-slider-tick-size) / 2))}.v-slider.v-input--vertical .v-slider-track__tick--first{bottom:calc(0% + var(--v-slider-tick-size) + 1px)}.v-slider.v-input--vertical .v-slider-track__tick--last{bottom:calc(100% - var(--v-slider-tick-size) - 1px)}.v-slider.v-input--vertical .v-slider-track__tick .v-slider-track__tick-label{margin-inline-start:calc(var(--v-slider-track-size) / 2 + 12px);transform:translateY(-50%)}.v-slider-track__ticks--always-show .v-slider-track__tick,.v-slider--focused .v-slider-track__tick{opacity:1}.v-slider-track__background--opacity{opacity:.38}.v-color-picker-swatches{overflow-y:auto}.v-color-picker-swatches>div{display:flex;flex-wrap:wrap;justify-content:center;padding:8px}.v-color-picker-swatches__swatch{display:flex;flex-direction:column;margin-bottom:10px}.v-color-picker-swatches__color{position:relative;height:18px;max-height:18px;width:45px;margin:2px 4px;border-radius:2px;-webkit-user-select:none;user-select:none;overflow:hidden;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAAXNSR0IArs4c6QAAACRJREFUKFNjPHTo0H8GJGBnZ8eIzGekgwJk+0BsdCtRHEQbBQBbbh0dIGKknQAAAABJRU5ErkJggg==) repeat;cursor:pointer}.v-color-picker-swatches__color>div{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.v-sheet{display:block;border-color:rgba(var(--v-border-color),var(--v-border-opacity));border-style:solid;border-width:0;box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12));border-radius:0;background:rgb(var(--v-theme-surface));color:rgba(var(--v-theme-on-background),var(--v-high-emphasis-opacity))}.v-sheet--border{border-width:thin;box-shadow:none}.v-sheet--absolute{position:absolute}.v-sheet--fixed{position:fixed}.v-sheet--relative{position:relative}.v-sheet--sticky{position:sticky}.v-sheet--rounded{border-radius:4px}.v-combobox .v-field .v-text-field__prefix,.v-combobox .v-field .v-text-field__suffix,.v-combobox .v-field .v-field__input,.v-combobox .v-field.v-field{cursor:text}.v-combobox .v-field .v-field__input>input{align-self:flex-start;flex:1 1}.v-combobox .v-field input{min-width:64px}.v-combobox .v-field:not(.v-field--focused) input{min-width:0}.v-combobox .v-field--dirty .v-combobox__selection{margin-inline-end:2px}.v-combobox .v-combobox__selection-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v-combobox__content{overflow:hidden;box-shadow:0 2px 4px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 4px 5px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 10px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12));border-radius:4px}.v-combobox__mask{background:rgb(var(--v-theme-on-surface-variant))}.v-combobox__selection{display:inline-flex;align-items:center;letter-spacing:inherit;line-height:inherit;max-width:90%}.v-combobox__selection{margin-top:var(--v-input-chips-margin-top);margin-bottom:var(--v-input-chips-margin-bottom)}.v-combobox__selection:first-child{margin-inline-start:0}.v-combobox--selecting-index .v-combobox__selection{opacity:var(--v-medium-emphasis-opacity)}.v-combobox--selecting-index .v-combobox__selection--selected{opacity:1}.v-combobox--selecting-index .v-field__input>input{caret-color:transparent}.v-combobox--single.v-text-field input{flex:1 1;position:absolute;left:0;right:0;width:100%;padding-inline-start:inherit;padding-inline-end:inherit}.v-combobox--single .v-field--variant-outlined input{top:50%;transform:translateY(calc(-50% - (var(--v-input-chips-margin-top) + var(--v-input-chips-margin-bottom)) / 2))}.v-combobox--single .v-field--active input{transition:none}.v-combobox--single .v-field--dirty:not(.v-field--focused) input{opacity:0}.v-combobox--single .v-field--focused .v-combobox__selection{opacity:0}.v-combobox__menu-icon{margin-inline-start:4px;transition:.2s cubic-bezier(.4,0,.2,1)}.v-combobox--active-menu .v-combobox__menu-icon{opacity:var(--v-high-emphasis-opacity);transform:rotate(180deg)}.v-dialog{align-items:center;justify-content:center;margin:auto}.v-dialog>.v-overlay__content{max-height:calc(100% - 48px);width:calc(100% - 48px);max-width:calc(100% - 48px);margin:24px;display:flex;flex-direction:column}.v-dialog>.v-overlay__content>.v-card,.v-dialog>.v-overlay__content>.v-sheet,.v-dialog>.v-overlay__content>form>.v-card,.v-dialog>.v-overlay__content>form>.v-sheet{--v-scrollbar-offset: 0px;border-radius:4px;overflow-y:auto;box-shadow:0 11px 15px -7px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 24px 38px 3px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 9px 46px 8px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-dialog>.v-overlay__content>.v-card,.v-dialog>.v-overlay__content>form>.v-card{display:flex;flex-direction:column}.v-dialog>.v-overlay__content>.v-card>.v-card-item,.v-dialog>.v-overlay__content>form>.v-card>.v-card-item{padding:14px 24px 0}.v-dialog>.v-overlay__content>.v-card>.v-card-item+.v-card-text,.v-dialog>.v-overlay__content>form>.v-card>.v-card-item+.v-card-text{padding-top:10px}.v-dialog>.v-overlay__content>.v-card>.v-card-text,.v-dialog>.v-overlay__content>form>.v-card>.v-card-text{font-size:inherit;letter-spacing:.03125em;line-height:inherit;padding:16px 24px 10px}.v-dialog--fullscreen{--v-scrollbar-offset: 0px}.v-dialog--fullscreen>.v-overlay__content{border-radius:0;margin:0;padding:0;width:100%;height:100%;max-width:100%;max-height:100%;overflow-y:auto;top:0;left:0}.v-dialog--fullscreen>.v-overlay__content>.v-card,.v-dialog--fullscreen>.v-overlay__content>.v-sheet,.v-dialog--fullscreen>.v-overlay__content>form>.v-card,.v-dialog--fullscreen>.v-overlay__content>form>.v-sheet{min-height:100%;min-width:100%;border-radius:0}.v-dialog--scrollable>.v-overlay__content,.v-dialog--scrollable>.v-overlay__content>form{display:flex;overflow:hidden}.v-dialog--scrollable>.v-overlay__content>.v-card,.v-dialog--scrollable>.v-overlay__content>form>.v-card{display:flex;flex:1 1 100%;flex-direction:column;max-height:100%;max-width:100%}.v-dialog--scrollable>.v-overlay__content>.v-card>.v-card-text,.v-dialog--scrollable>.v-overlay__content>form>.v-card>.v-card-text{backface-visibility:hidden;overflow-y:auto}.v-expansion-panel{background-color:rgb(var(--v-theme-surface));color:rgba(var(--v-theme-on-surface),var(--v-high-emphasis-opacity))}.v-expansion-panel:not(:first-child):after{border-color:rgba(var(--v-border-color),var(--v-border-opacity))}.v-expansion-panel--disabled .v-expansion-panel-title{color:rgba(var(--v-theme-on-surface),.26)}.v-expansion-panel--disabled .v-expansion-panel-title .v-expansion-panel-title__overlay{opacity:.4615384615}.v-expansion-panels{display:flex;flex-wrap:wrap;justify-content:center;list-style-type:none;padding:0;width:100%;position:relative;z-index:1}.v-expansion-panels:not(.v-expansion-panels--variant-accordion)>:not(:first-child):not(:last-child):not(.v-expansion-panel--active):not(.v-expansion-panel--before-active){border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.v-expansion-panels:not(.v-expansion-panels--variant-accordion)>:not(:first-child):not(:last-child):not(.v-expansion-panel--active):not(.v-expansion-panel--after-active){border-top-left-radius:0!important;border-top-right-radius:0!important}.v-expansion-panels:not(.v-expansion-panels--variant-accordion)>:first-child:not(:last-child):not(.v-expansion-panel--active):not(.v-expansion-panel--before-active){border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.v-expansion-panels:not(.v-expansion-panels--variant-accordion)>:last-child:not(:first-child):not(.v-expansion-panel--active):not(.v-expansion-panel--after-active){border-top-left-radius:0!important;border-top-right-radius:0!important}.v-expansion-panels--variant-accordion>:first-child{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.v-expansion-panels--variant-accordion>:last-child{border-top-left-radius:0!important;border-top-right-radius:0!important}.v-expansion-panels--variant-accordion>:last-child .v-expansion-panel-title--active{border-bottom-left-radius:initial;border-bottom-right-radius:initial}.v-expansion-panels--variant-accordion>:not(:first-child):not(:last-child){border-radius:0!important}.v-expansion-panels--variant-accordion .v-expansion-panel-title__overlay{transition:.3s border-radius cubic-bezier(.4,0,.2,1)}.v-expansion-panel{flex:1 0 100%;max-width:100%;position:relative;transition:.3s all cubic-bezier(.4,0,.2,1);transition-property:margin-top,border-radius,border,max-width;border-radius:4px}.v-expansion-panel:not(:first-child):after{border-top-style:solid;border-top-width:thin;content:"";left:0;position:absolute;right:0;top:0;transition:.3s opacity cubic-bezier(.4,0,.2,1)}.v-expansion-panel--disabled .v-expansion-panel-title{pointer-events:none}.v-expansion-panel--active:not(:first-child),.v-expansion-panel--active+.v-expansion-panel{margin-top:16px}.v-expansion-panel--active:not(:first-child):after,.v-expansion-panel--active+.v-expansion-panel:after{opacity:0}.v-expansion-panel--active>.v-expansion-panel-title{border-bottom-left-radius:0;border-bottom-right-radius:0;min-height:64px}.v-expansion-panel__shadow{position:absolute;top:0;left:0;width:100%;height:100%;box-shadow:0 3px 1px -2px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 2px 2px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 5px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12));border-radius:inherit;z-index:-1}.v-expansion-panel-title{align-items:center;text-align:start;border-radius:inherit;display:flex;font-size:.9375rem;line-height:1;min-height:48px;outline:none;padding:16px 24px;position:relative;transition:.3s min-height cubic-bezier(.4,0,.2,1);width:100%;justify-content:space-between}.v-expansion-panel-title:hover>.v-expansion-panel-title__overlay{opacity:calc(var(--v-hover-opacity) * var(--v-theme-overlay-multiplier))}.v-expansion-panel-title:focus-visible>.v-expansion-panel-title__overlay{opacity:calc(var(--v-focus-opacity) * var(--v-theme-overlay-multiplier))}@supports not selector(:focus-visible){.v-expansion-panel-title:focus>.v-expansion-panel-title__overlay{opacity:calc(var(--v-focus-opacity) * var(--v-theme-overlay-multiplier))}}.v-expansion-panel-title--active>.v-expansion-panel-title__overlay,.v-expansion-panel-title[aria-haspopup=menu][aria-expanded=true]>.v-expansion-panel-title__overlay{opacity:calc(var(--v-activated-opacity) * var(--v-theme-overlay-multiplier))}.v-expansion-panel-title--active:hover>.v-expansion-panel-title__overlay,.v-expansion-panel-title[aria-haspopup=menu][aria-expanded=true]:hover>.v-expansion-panel-title__overlay{opacity:calc((var(--v-activated-opacity) + var(--v-hover-opacity)) * var(--v-theme-overlay-multiplier))}.v-expansion-panel-title--active:focus-visible>.v-expansion-panel-title__overlay,.v-expansion-panel-title[aria-haspopup=menu][aria-expanded=true]:focus-visible>.v-expansion-panel-title__overlay{opacity:calc((var(--v-activated-opacity) + var(--v-focus-opacity)) * var(--v-theme-overlay-multiplier))}@supports not selector(:focus-visible){.v-expansion-panel-title--active:focus>.v-expansion-panel-title__overlay,.v-expansion-panel-title[aria-haspopup=menu][aria-expanded=true]:focus>.v-expansion-panel-title__overlay{opacity:calc((var(--v-activated-opacity) + var(--v-focus-opacity)) * var(--v-theme-overlay-multiplier))}}.v-expansion-panel-title--active:before{opacity:.12}.v-expansion-panel-title__overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:currentColor;border-radius:inherit;opacity:0}.v-expansion-panel-title__icon{display:inline-flex;margin-bottom:-4px;margin-top:-4px;-webkit-user-select:none;user-select:none;margin-inline-start:auto}.v-expansion-panel-text{display:flex}.v-expansion-panel-text__wrapper{padding:8px 24px 16px;flex:1 1 auto;max-width:100%}.v-expansion-panels--variant-accordion>.v-expansion-panel{margin-top:0}.v-expansion-panels--variant-accordion>.v-expansion-panel:after{opacity:1}.v-expansion-panels--variant-popout>.v-expansion-panel{max-width:calc(100% - 32px)}.v-expansion-panels--variant-popout>.v-expansion-panel--active{max-width:calc(100% + 16px)}.v-expansion-panels--variant-inset>.v-expansion-panel{max-width:100%}.v-expansion-panels--variant-inset>.v-expansion-panel--active{max-width:calc(100% - 32px)}.v-file-input input[type=file]{height:100%;left:0;opacity:0;position:absolute;top:0;width:100%;z-index:1}.v-file-input .v-input__details{padding-inline-start:16px;padding-inline-end:16px}.v-file-input .v-chip{margin-top:var(--v-input-chips-margin-top);margin-bottom:var(--v-input-chips-margin-bottom)}.v-footer{align-items:center;display:flex;flex:1 1 auto;padding:8px 16px;position:relative;transition:.2s cubic-bezier(.4,0,.2,1);transition-property:height,width,transform,max-width,left,right,top,bottom;border-color:rgba(var(--v-border-color),var(--v-border-opacity));border-style:solid;border-width:0;box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12));border-radius:0;background:rgb(var(--v-theme-surface));color:rgba(var(--v-theme-on-surface),var(--v-high-emphasis-opacity))}.v-footer--border{border-width:thin;box-shadow:none}.v-footer--absolute{position:absolute}.v-footer--fixed{position:fixed}.v-footer--rounded{border-radius:4px}.v-container{width:100%;padding:16px;margin-right:auto;margin-left:auto}@media (min-width: 960px){.v-container{max-width:900px}}@media (min-width: 1280px){.v-container{max-width:1200px}}@media (min-width: 1920px){.v-container{max-width:1800px}}@media (min-width: 2560px){.v-container{max-width:2400px}}.v-container--fluid{max-width:100%}.v-container.fill-height{align-items:center;display:flex;flex-wrap:wrap}.v-row{display:flex;flex-wrap:wrap;flex:1 1 auto;margin:-12px}.v-row+.v-row{margin-top:12px}.v-row+.v-row--dense{margin-top:4px}.v-row--dense{margin:-4px}.v-row--dense>.v-col,.v-row--dense>[class*=v-col-]{padding:4px}.v-row.v-row--no-gutters{margin:0}.v-row.v-row--no-gutters>.v-col,.v-row.v-row--no-gutters>[class*=v-col-]{padding:0}.v-spacer{flex-grow:1}.v-col-xxl,.v-col-xxl-auto,.v-col-xxl-12,.v-col-xxl-11,.v-col-xxl-10,.v-col-xxl-9,.v-col-xxl-8,.v-col-xxl-7,.v-col-xxl-6,.v-col-xxl-5,.v-col-xxl-4,.v-col-xxl-3,.v-col-xxl-2,.v-col-xxl-1,.v-col-xl,.v-col-xl-auto,.v-col-xl-12,.v-col-xl-11,.v-col-xl-10,.v-col-xl-9,.v-col-xl-8,.v-col-xl-7,.v-col-xl-6,.v-col-xl-5,.v-col-xl-4,.v-col-xl-3,.v-col-xl-2,.v-col-xl-1,.v-col-lg,.v-col-lg-auto,.v-col-lg-12,.v-col-lg-11,.v-col-lg-10,.v-col-lg-9,.v-col-lg-8,.v-col-lg-7,.v-col-lg-6,.v-col-lg-5,.v-col-lg-4,.v-col-lg-3,.v-col-lg-2,.v-col-lg-1,.v-col-md,.v-col-md-auto,.v-col-md-12,.v-col-md-11,.v-col-md-10,.v-col-md-9,.v-col-md-8,.v-col-md-7,.v-col-md-6,.v-col-md-5,.v-col-md-4,.v-col-md-3,.v-col-md-2,.v-col-md-1,.v-col-sm,.v-col-sm-auto,.v-col-sm-12,.v-col-sm-11,.v-col-sm-10,.v-col-sm-9,.v-col-sm-8,.v-col-sm-7,.v-col-sm-6,.v-col-sm-5,.v-col-sm-4,.v-col-sm-3,.v-col-sm-2,.v-col-sm-1,.v-col,.v-col-auto,.v-col-12,.v-col-11,.v-col-10,.v-col-9,.v-col-8,.v-col-7,.v-col-6,.v-col-5,.v-col-4,.v-col-3,.v-col-2,.v-col-1{width:100%;padding:12px}.v-col{flex-basis:0;flex-grow:1;max-width:100%}.v-col-auto{flex:0 0 auto;width:auto;max-width:100%}.v-col-1{flex:0 0 8.3333333333%;max-width:8.3333333333%}.v-col-2{flex:0 0 16.6666666667%;max-width:16.6666666667%}.v-col-3{flex:0 0 25%;max-width:25%}.v-col-4{flex:0 0 33.3333333333%;max-width:33.3333333333%}.v-col-5{flex:0 0 41.6666666667%;max-width:41.6666666667%}.v-col-6{flex:0 0 50%;max-width:50%}.v-col-7{flex:0 0 58.3333333333%;max-width:58.3333333333%}.v-col-8{flex:0 0 66.6666666667%;max-width:66.6666666667%}.v-col-9{flex:0 0 75%;max-width:75%}.v-col-10{flex:0 0 83.3333333333%;max-width:83.3333333333%}.v-col-11{flex:0 0 91.6666666667%;max-width:91.6666666667%}.v-col-12{flex:0 0 100%;max-width:100%}.v-locale--is-ltr.offset-1,.v-locale--is-ltr .offset-1{margin-left:8.3333333333%}.v-locale--is-rtl.offset-1,.v-locale--is-rtl .offset-1{margin-right:8.3333333333%}.v-locale--is-ltr.offset-2,.v-locale--is-ltr .offset-2{margin-left:16.6666666667%}.v-locale--is-rtl.offset-2,.v-locale--is-rtl .offset-2{margin-right:16.6666666667%}.v-locale--is-ltr.offset-3,.v-locale--is-ltr .offset-3{margin-left:25%}.v-locale--is-rtl.offset-3,.v-locale--is-rtl .offset-3{margin-right:25%}.v-locale--is-ltr.offset-4,.v-locale--is-ltr .offset-4{margin-left:33.3333333333%}.v-locale--is-rtl.offset-4,.v-locale--is-rtl .offset-4{margin-right:33.3333333333%}.v-locale--is-ltr.offset-5,.v-locale--is-ltr .offset-5{margin-left:41.6666666667%}.v-locale--is-rtl.offset-5,.v-locale--is-rtl .offset-5{margin-right:41.6666666667%}.v-locale--is-ltr.offset-6,.v-locale--is-ltr .offset-6{margin-left:50%}.v-locale--is-rtl.offset-6,.v-locale--is-rtl .offset-6{margin-right:50%}.v-locale--is-ltr.offset-7,.v-locale--is-ltr .offset-7{margin-left:58.3333333333%}.v-locale--is-rtl.offset-7,.v-locale--is-rtl .offset-7{margin-right:58.3333333333%}.v-locale--is-ltr.offset-8,.v-locale--is-ltr .offset-8{margin-left:66.6666666667%}.v-locale--is-rtl.offset-8,.v-locale--is-rtl .offset-8{margin-right:66.6666666667%}.v-locale--is-ltr.offset-9,.v-locale--is-ltr .offset-9{margin-left:75%}.v-locale--is-rtl.offset-9,.v-locale--is-rtl .offset-9{margin-right:75%}.v-locale--is-ltr.offset-10,.v-locale--is-ltr .offset-10{margin-left:83.3333333333%}.v-locale--is-rtl.offset-10,.v-locale--is-rtl .offset-10{margin-right:83.3333333333%}.v-locale--is-ltr.offset-11,.v-locale--is-ltr .offset-11{margin-left:91.6666666667%}.v-locale--is-rtl.offset-11,.v-locale--is-rtl .offset-11{margin-right:91.6666666667%}@media (min-width: 600px){.v-col-sm{flex-basis:0;flex-grow:1;max-width:100%}.v-col-sm-auto{flex:0 0 auto;width:auto;max-width:100%}.v-col-sm-1{flex:0 0 8.3333333333%;max-width:8.3333333333%}.v-col-sm-2{flex:0 0 16.6666666667%;max-width:16.6666666667%}.v-col-sm-3{flex:0 0 25%;max-width:25%}.v-col-sm-4{flex:0 0 33.3333333333%;max-width:33.3333333333%}.v-col-sm-5{flex:0 0 41.6666666667%;max-width:41.6666666667%}.v-col-sm-6{flex:0 0 50%;max-width:50%}.v-col-sm-7{flex:0 0 58.3333333333%;max-width:58.3333333333%}.v-col-sm-8{flex:0 0 66.6666666667%;max-width:66.6666666667%}.v-col-sm-9{flex:0 0 75%;max-width:75%}.v-col-sm-10{flex:0 0 83.3333333333%;max-width:83.3333333333%}.v-col-sm-11{flex:0 0 91.6666666667%;max-width:91.6666666667%}.v-col-sm-12{flex:0 0 100%;max-width:100%}.v-locale--is-ltr.offset-sm-0,.v-locale--is-ltr .offset-sm-0{margin-left:0}.v-locale--is-rtl.offset-sm-0,.v-locale--is-rtl .offset-sm-0{margin-right:0}.v-locale--is-ltr.offset-sm-1,.v-locale--is-ltr .offset-sm-1{margin-left:8.3333333333%}.v-locale--is-rtl.offset-sm-1,.v-locale--is-rtl .offset-sm-1{margin-right:8.3333333333%}.v-locale--is-ltr.offset-sm-2,.v-locale--is-ltr .offset-sm-2{margin-left:16.6666666667%}.v-locale--is-rtl.offset-sm-2,.v-locale--is-rtl .offset-sm-2{margin-right:16.6666666667%}.v-locale--is-ltr.offset-sm-3,.v-locale--is-ltr .offset-sm-3{margin-left:25%}.v-locale--is-rtl.offset-sm-3,.v-locale--is-rtl .offset-sm-3{margin-right:25%}.v-locale--is-ltr.offset-sm-4,.v-locale--is-ltr .offset-sm-4{margin-left:33.3333333333%}.v-locale--is-rtl.offset-sm-4,.v-locale--is-rtl .offset-sm-4{margin-right:33.3333333333%}.v-locale--is-ltr.offset-sm-5,.v-locale--is-ltr .offset-sm-5{margin-left:41.6666666667%}.v-locale--is-rtl.offset-sm-5,.v-locale--is-rtl .offset-sm-5{margin-right:41.6666666667%}.v-locale--is-ltr.offset-sm-6,.v-locale--is-ltr .offset-sm-6{margin-left:50%}.v-locale--is-rtl.offset-sm-6,.v-locale--is-rtl .offset-sm-6{margin-right:50%}.v-locale--is-ltr.offset-sm-7,.v-locale--is-ltr .offset-sm-7{margin-left:58.3333333333%}.v-locale--is-rtl.offset-sm-7,.v-locale--is-rtl .offset-sm-7{margin-right:58.3333333333%}.v-locale--is-ltr.offset-sm-8,.v-locale--is-ltr .offset-sm-8{margin-left:66.6666666667%}.v-locale--is-rtl.offset-sm-8,.v-locale--is-rtl .offset-sm-8{margin-right:66.6666666667%}.v-locale--is-ltr.offset-sm-9,.v-locale--is-ltr .offset-sm-9{margin-left:75%}.v-locale--is-rtl.offset-sm-9,.v-locale--is-rtl .offset-sm-9{margin-right:75%}.v-locale--is-ltr.offset-sm-10,.v-locale--is-ltr .offset-sm-10{margin-left:83.3333333333%}.v-locale--is-rtl.offset-sm-10,.v-locale--is-rtl .offset-sm-10{margin-right:83.3333333333%}.v-locale--is-ltr.offset-sm-11,.v-locale--is-ltr .offset-sm-11{margin-left:91.6666666667%}.v-locale--is-rtl.offset-sm-11,.v-locale--is-rtl .offset-sm-11{margin-right:91.6666666667%}}@media (min-width: 960px){.v-col-md{flex-basis:0;flex-grow:1;max-width:100%}.v-col-md-auto{flex:0 0 auto;width:auto;max-width:100%}.v-col-md-1{flex:0 0 8.3333333333%;max-width:8.3333333333%}.v-col-md-2{flex:0 0 16.6666666667%;max-width:16.6666666667%}.v-col-md-3{flex:0 0 25%;max-width:25%}.v-col-md-4{flex:0 0 33.3333333333%;max-width:33.3333333333%}.v-col-md-5{flex:0 0 41.6666666667%;max-width:41.6666666667%}.v-col-md-6{flex:0 0 50%;max-width:50%}.v-col-md-7{flex:0 0 58.3333333333%;max-width:58.3333333333%}.v-col-md-8{flex:0 0 66.6666666667%;max-width:66.6666666667%}.v-col-md-9{flex:0 0 75%;max-width:75%}.v-col-md-10{flex:0 0 83.3333333333%;max-width:83.3333333333%}.v-col-md-11{flex:0 0 91.6666666667%;max-width:91.6666666667%}.v-col-md-12{flex:0 0 100%;max-width:100%}.v-locale--is-ltr.offset-md-0,.v-locale--is-ltr .offset-md-0{margin-left:0}.v-locale--is-rtl.offset-md-0,.v-locale--is-rtl .offset-md-0{margin-right:0}.v-locale--is-ltr.offset-md-1,.v-locale--is-ltr .offset-md-1{margin-left:8.3333333333%}.v-locale--is-rtl.offset-md-1,.v-locale--is-rtl .offset-md-1{margin-right:8.3333333333%}.v-locale--is-ltr.offset-md-2,.v-locale--is-ltr .offset-md-2{margin-left:16.6666666667%}.v-locale--is-rtl.offset-md-2,.v-locale--is-rtl .offset-md-2{margin-right:16.6666666667%}.v-locale--is-ltr.offset-md-3,.v-locale--is-ltr .offset-md-3{margin-left:25%}.v-locale--is-rtl.offset-md-3,.v-locale--is-rtl .offset-md-3{margin-right:25%}.v-locale--is-ltr.offset-md-4,.v-locale--is-ltr .offset-md-4{margin-left:33.3333333333%}.v-locale--is-rtl.offset-md-4,.v-locale--is-rtl .offset-md-4{margin-right:33.3333333333%}.v-locale--is-ltr.offset-md-5,.v-locale--is-ltr .offset-md-5{margin-left:41.6666666667%}.v-locale--is-rtl.offset-md-5,.v-locale--is-rtl .offset-md-5{margin-right:41.6666666667%}.v-locale--is-ltr.offset-md-6,.v-locale--is-ltr .offset-md-6{margin-left:50%}.v-locale--is-rtl.offset-md-6,.v-locale--is-rtl .offset-md-6{margin-right:50%}.v-locale--is-ltr.offset-md-7,.v-locale--is-ltr .offset-md-7{margin-left:58.3333333333%}.v-locale--is-rtl.offset-md-7,.v-locale--is-rtl .offset-md-7{margin-right:58.3333333333%}.v-locale--is-ltr.offset-md-8,.v-locale--is-ltr .offset-md-8{margin-left:66.6666666667%}.v-locale--is-rtl.offset-md-8,.v-locale--is-rtl .offset-md-8{margin-right:66.6666666667%}.v-locale--is-ltr.offset-md-9,.v-locale--is-ltr .offset-md-9{margin-left:75%}.v-locale--is-rtl.offset-md-9,.v-locale--is-rtl .offset-md-9{margin-right:75%}.v-locale--is-ltr.offset-md-10,.v-locale--is-ltr .offset-md-10{margin-left:83.3333333333%}.v-locale--is-rtl.offset-md-10,.v-locale--is-rtl .offset-md-10{margin-right:83.3333333333%}.v-locale--is-ltr.offset-md-11,.v-locale--is-ltr .offset-md-11{margin-left:91.6666666667%}.v-locale--is-rtl.offset-md-11,.v-locale--is-rtl .offset-md-11{margin-right:91.6666666667%}}@media (min-width: 1280px){.v-col-lg{flex-basis:0;flex-grow:1;max-width:100%}.v-col-lg-auto{flex:0 0 auto;width:auto;max-width:100%}.v-col-lg-1{flex:0 0 8.3333333333%;max-width:8.3333333333%}.v-col-lg-2{flex:0 0 16.6666666667%;max-width:16.6666666667%}.v-col-lg-3{flex:0 0 25%;max-width:25%}.v-col-lg-4{flex:0 0 33.3333333333%;max-width:33.3333333333%}.v-col-lg-5{flex:0 0 41.6666666667%;max-width:41.6666666667%}.v-col-lg-6{flex:0 0 50%;max-width:50%}.v-col-lg-7{flex:0 0 58.3333333333%;max-width:58.3333333333%}.v-col-lg-8{flex:0 0 66.6666666667%;max-width:66.6666666667%}.v-col-lg-9{flex:0 0 75%;max-width:75%}.v-col-lg-10{flex:0 0 83.3333333333%;max-width:83.3333333333%}.v-col-lg-11{flex:0 0 91.6666666667%;max-width:91.6666666667%}.v-col-lg-12{flex:0 0 100%;max-width:100%}.v-locale--is-ltr.offset-lg-0,.v-locale--is-ltr .offset-lg-0{margin-left:0}.v-locale--is-rtl.offset-lg-0,.v-locale--is-rtl .offset-lg-0{margin-right:0}.v-locale--is-ltr.offset-lg-1,.v-locale--is-ltr .offset-lg-1{margin-left:8.3333333333%}.v-locale--is-rtl.offset-lg-1,.v-locale--is-rtl .offset-lg-1{margin-right:8.3333333333%}.v-locale--is-ltr.offset-lg-2,.v-locale--is-ltr .offset-lg-2{margin-left:16.6666666667%}.v-locale--is-rtl.offset-lg-2,.v-locale--is-rtl .offset-lg-2{margin-right:16.6666666667%}.v-locale--is-ltr.offset-lg-3,.v-locale--is-ltr .offset-lg-3{margin-left:25%}.v-locale--is-rtl.offset-lg-3,.v-locale--is-rtl .offset-lg-3{margin-right:25%}.v-locale--is-ltr.offset-lg-4,.v-locale--is-ltr .offset-lg-4{margin-left:33.3333333333%}.v-locale--is-rtl.offset-lg-4,.v-locale--is-rtl .offset-lg-4{margin-right:33.3333333333%}.v-locale--is-ltr.offset-lg-5,.v-locale--is-ltr .offset-lg-5{margin-left:41.6666666667%}.v-locale--is-rtl.offset-lg-5,.v-locale--is-rtl .offset-lg-5{margin-right:41.6666666667%}.v-locale--is-ltr.offset-lg-6,.v-locale--is-ltr .offset-lg-6{margin-left:50%}.v-locale--is-rtl.offset-lg-6,.v-locale--is-rtl .offset-lg-6{margin-right:50%}.v-locale--is-ltr.offset-lg-7,.v-locale--is-ltr .offset-lg-7{margin-left:58.3333333333%}.v-locale--is-rtl.offset-lg-7,.v-locale--is-rtl .offset-lg-7{margin-right:58.3333333333%}.v-locale--is-ltr.offset-lg-8,.v-locale--is-ltr .offset-lg-8{margin-left:66.6666666667%}.v-locale--is-rtl.offset-lg-8,.v-locale--is-rtl .offset-lg-8{margin-right:66.6666666667%}.v-locale--is-ltr.offset-lg-9,.v-locale--is-ltr .offset-lg-9{margin-left:75%}.v-locale--is-rtl.offset-lg-9,.v-locale--is-rtl .offset-lg-9{margin-right:75%}.v-locale--is-ltr.offset-lg-10,.v-locale--is-ltr .offset-lg-10{margin-left:83.3333333333%}.v-locale--is-rtl.offset-lg-10,.v-locale--is-rtl .offset-lg-10{margin-right:83.3333333333%}.v-locale--is-ltr.offset-lg-11,.v-locale--is-ltr .offset-lg-11{margin-left:91.6666666667%}.v-locale--is-rtl.offset-lg-11,.v-locale--is-rtl .offset-lg-11{margin-right:91.6666666667%}}@media (min-width: 1920px){.v-col-xl{flex-basis:0;flex-grow:1;max-width:100%}.v-col-xl-auto{flex:0 0 auto;width:auto;max-width:100%}.v-col-xl-1{flex:0 0 8.3333333333%;max-width:8.3333333333%}.v-col-xl-2{flex:0 0 16.6666666667%;max-width:16.6666666667%}.v-col-xl-3{flex:0 0 25%;max-width:25%}.v-col-xl-4{flex:0 0 33.3333333333%;max-width:33.3333333333%}.v-col-xl-5{flex:0 0 41.6666666667%;max-width:41.6666666667%}.v-col-xl-6{flex:0 0 50%;max-width:50%}.v-col-xl-7{flex:0 0 58.3333333333%;max-width:58.3333333333%}.v-col-xl-8{flex:0 0 66.6666666667%;max-width:66.6666666667%}.v-col-xl-9{flex:0 0 75%;max-width:75%}.v-col-xl-10{flex:0 0 83.3333333333%;max-width:83.3333333333%}.v-col-xl-11{flex:0 0 91.6666666667%;max-width:91.6666666667%}.v-col-xl-12{flex:0 0 100%;max-width:100%}.v-locale--is-ltr.offset-xl-0,.v-locale--is-ltr .offset-xl-0{margin-left:0}.v-locale--is-rtl.offset-xl-0,.v-locale--is-rtl .offset-xl-0{margin-right:0}.v-locale--is-ltr.offset-xl-1,.v-locale--is-ltr .offset-xl-1{margin-left:8.3333333333%}.v-locale--is-rtl.offset-xl-1,.v-locale--is-rtl .offset-xl-1{margin-right:8.3333333333%}.v-locale--is-ltr.offset-xl-2,.v-locale--is-ltr .offset-xl-2{margin-left:16.6666666667%}.v-locale--is-rtl.offset-xl-2,.v-locale--is-rtl .offset-xl-2{margin-right:16.6666666667%}.v-locale--is-ltr.offset-xl-3,.v-locale--is-ltr .offset-xl-3{margin-left:25%}.v-locale--is-rtl.offset-xl-3,.v-locale--is-rtl .offset-xl-3{margin-right:25%}.v-locale--is-ltr.offset-xl-4,.v-locale--is-ltr .offset-xl-4{margin-left:33.3333333333%}.v-locale--is-rtl.offset-xl-4,.v-locale--is-rtl .offset-xl-4{margin-right:33.3333333333%}.v-locale--is-ltr.offset-xl-5,.v-locale--is-ltr .offset-xl-5{margin-left:41.6666666667%}.v-locale--is-rtl.offset-xl-5,.v-locale--is-rtl .offset-xl-5{margin-right:41.6666666667%}.v-locale--is-ltr.offset-xl-6,.v-locale--is-ltr .offset-xl-6{margin-left:50%}.v-locale--is-rtl.offset-xl-6,.v-locale--is-rtl .offset-xl-6{margin-right:50%}.v-locale--is-ltr.offset-xl-7,.v-locale--is-ltr .offset-xl-7{margin-left:58.3333333333%}.v-locale--is-rtl.offset-xl-7,.v-locale--is-rtl .offset-xl-7{margin-right:58.3333333333%}.v-locale--is-ltr.offset-xl-8,.v-locale--is-ltr .offset-xl-8{margin-left:66.6666666667%}.v-locale--is-rtl.offset-xl-8,.v-locale--is-rtl .offset-xl-8{margin-right:66.6666666667%}.v-locale--is-ltr.offset-xl-9,.v-locale--is-ltr .offset-xl-9{margin-left:75%}.v-locale--is-rtl.offset-xl-9,.v-locale--is-rtl .offset-xl-9{margin-right:75%}.v-locale--is-ltr.offset-xl-10,.v-locale--is-ltr .offset-xl-10{margin-left:83.3333333333%}.v-locale--is-rtl.offset-xl-10,.v-locale--is-rtl .offset-xl-10{margin-right:83.3333333333%}.v-locale--is-ltr.offset-xl-11,.v-locale--is-ltr .offset-xl-11{margin-left:91.6666666667%}.v-locale--is-rtl.offset-xl-11,.v-locale--is-rtl .offset-xl-11{margin-right:91.6666666667%}}@media (min-width: 2560px){.v-col-xxl{flex-basis:0;flex-grow:1;max-width:100%}.v-col-xxl-auto{flex:0 0 auto;width:auto;max-width:100%}.v-col-xxl-1{flex:0 0 8.3333333333%;max-width:8.3333333333%}.v-col-xxl-2{flex:0 0 16.6666666667%;max-width:16.6666666667%}.v-col-xxl-3{flex:0 0 25%;max-width:25%}.v-col-xxl-4{flex:0 0 33.3333333333%;max-width:33.3333333333%}.v-col-xxl-5{flex:0 0 41.6666666667%;max-width:41.6666666667%}.v-col-xxl-6{flex:0 0 50%;max-width:50%}.v-col-xxl-7{flex:0 0 58.3333333333%;max-width:58.3333333333%}.v-col-xxl-8{flex:0 0 66.6666666667%;max-width:66.6666666667%}.v-col-xxl-9{flex:0 0 75%;max-width:75%}.v-col-xxl-10{flex:0 0 83.3333333333%;max-width:83.3333333333%}.v-col-xxl-11{flex:0 0 91.6666666667%;max-width:91.6666666667%}.v-col-xxl-12{flex:0 0 100%;max-width:100%}.v-locale--is-ltr.offset-xxl-0,.v-locale--is-ltr .offset-xxl-0{margin-left:0}.v-locale--is-rtl.offset-xxl-0,.v-locale--is-rtl .offset-xxl-0{margin-right:0}.v-locale--is-ltr.offset-xxl-1,.v-locale--is-ltr .offset-xxl-1{margin-left:8.3333333333%}.v-locale--is-rtl.offset-xxl-1,.v-locale--is-rtl .offset-xxl-1{margin-right:8.3333333333%}.v-locale--is-ltr.offset-xxl-2,.v-locale--is-ltr .offset-xxl-2{margin-left:16.6666666667%}.v-locale--is-rtl.offset-xxl-2,.v-locale--is-rtl .offset-xxl-2{margin-right:16.6666666667%}.v-locale--is-ltr.offset-xxl-3,.v-locale--is-ltr .offset-xxl-3{margin-left:25%}.v-locale--is-rtl.offset-xxl-3,.v-locale--is-rtl .offset-xxl-3{margin-right:25%}.v-locale--is-ltr.offset-xxl-4,.v-locale--is-ltr .offset-xxl-4{margin-left:33.3333333333%}.v-locale--is-rtl.offset-xxl-4,.v-locale--is-rtl .offset-xxl-4{margin-right:33.3333333333%}.v-locale--is-ltr.offset-xxl-5,.v-locale--is-ltr .offset-xxl-5{margin-left:41.6666666667%}.v-locale--is-rtl.offset-xxl-5,.v-locale--is-rtl .offset-xxl-5{margin-right:41.6666666667%}.v-locale--is-ltr.offset-xxl-6,.v-locale--is-ltr .offset-xxl-6{margin-left:50%}.v-locale--is-rtl.offset-xxl-6,.v-locale--is-rtl .offset-xxl-6{margin-right:50%}.v-locale--is-ltr.offset-xxl-7,.v-locale--is-ltr .offset-xxl-7{margin-left:58.3333333333%}.v-locale--is-rtl.offset-xxl-7,.v-locale--is-rtl .offset-xxl-7{margin-right:58.3333333333%}.v-locale--is-ltr.offset-xxl-8,.v-locale--is-ltr .offset-xxl-8{margin-left:66.6666666667%}.v-locale--is-rtl.offset-xxl-8,.v-locale--is-rtl .offset-xxl-8{margin-right:66.6666666667%}.v-locale--is-ltr.offset-xxl-9,.v-locale--is-ltr .offset-xxl-9{margin-left:75%}.v-locale--is-rtl.offset-xxl-9,.v-locale--is-rtl .offset-xxl-9{margin-right:75%}.v-locale--is-ltr.offset-xxl-10,.v-locale--is-ltr .offset-xxl-10{margin-left:83.3333333333%}.v-locale--is-rtl.offset-xxl-10,.v-locale--is-rtl .offset-xxl-10{margin-right:83.3333333333%}.v-locale--is-ltr.offset-xxl-11,.v-locale--is-ltr .offset-xxl-11{margin-left:91.6666666667%}.v-locale--is-rtl.offset-xxl-11,.v-locale--is-rtl .offset-xxl-11{margin-right:91.6666666667%}}.v-item-group{flex:0 1 auto;max-width:100%;position:relative;transition:.2s cubic-bezier(.4,0,.2,1)}.v-kbd{background:rgb(var(--v-theme-kbd));color:rgb(var(--v-theme-on-kbd));border-radius:3px;display:inline;font-size:85%;font-weight:400;padding:.2em .4rem;box-shadow:0 3px 1px -2px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 2px 2px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 5px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-layout{--v-scrollbar-offset: 0px;display:flex;flex:1 1 auto}.v-layout--full-height{--v-scrollbar-offset: inherit;height:100%}.v-layout-item{position:absolute;transition:.2s cubic-bezier(.4,0,.2,1)}.v-layout-item--absolute{position:absolute}.v-locale-provider{display:contents}.v-main{flex:1 0 auto;max-width:100%;transition:.2s cubic-bezier(.4,0,.2,1);padding-left:var(--v-layout-left);padding-right:var(--v-layout-right);padding-top:var(--v-layout-top);padding-bottom:var(--v-layout-bottom)}.v-main__scroller{max-width:100%;position:relative}.v-main--scrollable{display:flex;position:absolute;top:0;left:0;width:100%;height:100%}.v-main--scrollable>.v-main__scroller{flex:1 1 auto;overflow-y:auto;--v-layout-left: 0px;--v-layout-right: 0px;--v-layout-top: 0px;--v-layout-bottom: 0px}.v-navigation-drawer{-webkit-overflow-scrolling:touch;display:flex;flex-direction:column;height:100%;max-width:100%;pointer-events:auto;transition-duration:.2s;transition-property:box-shadow,transform,visibility,width,height,left,right,top,bottom;transition-timing-function:cubic-bezier(.4,0,.2,1);position:absolute;border-color:rgba(var(--v-border-color),var(--v-border-opacity));border-style:solid;border-width:0;box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12));background:rgb(var(--v-theme-surface));color:rgba(var(--v-theme-on-surface),var(--v-high-emphasis-opacity))}.v-navigation-drawer--border{border-width:thin;box-shadow:none}.v-navigation-drawer--rounded{border-radius:4px}.v-navigation-drawer--top{top:0;border-bottom-width:thin}.v-navigation-drawer--bottom{left:0;border-top-width:thin}.v-navigation-drawer--left{top:0;left:0;right:auto;border-right-width:thin}.v-navigation-drawer--right{top:0;left:auto;right:0;border-left-width:thin}.v-navigation-drawer--floating{border:none}.v-navigation-drawer--temporary{box-shadow:0 8px 10px -5px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 16px 24px 2px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 6px 30px 5px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-navigation-drawer--sticky{height:auto;transition:box-shadow,transform,visibility,width,height,left,right}.v-navigation-drawer .v-list{overflow:hidden}.v-navigation-drawer__content{flex:0 1 auto;height:100%;max-width:100%;overflow-x:hidden;overflow-y:auto}.v-navigation-drawer__img{height:100%;left:0;position:absolute;top:0;width:100%;z-index:-1}.v-navigation-drawer__img img{height:inherit;object-fit:cover;width:inherit}.v-navigation-drawer__scrim{position:absolute;top:0;left:0;width:100%;height:100%;background:black;opacity:.2;transition:opacity .2s cubic-bezier(.4,0,.2,1);z-index:1}.v-pagination__list{display:inline-flex;list-style-type:none;justify-content:center;width:100%}.v-pagination__item,.v-pagination__first,.v-pagination__prev,.v-pagination__next,.v-pagination__last{margin:.3rem}.v-parallax{position:relative;overflow:hidden}.v-parallax--active>.v-img__img{will-change:transform}.v-radio-group>.v-input__control{flex-direction:column}.v-radio-group>.v-input__control>.v-label{margin-inline-start:16px}.v-radio-group>.v-input__control>.v-label+.v-selection-control-group{padding-inline-start:6px;margin-top:8px}.v-radio-group .v-input__details{padding-inline-start:16px;padding-inline-end:16px}.v-rating{max-width:100%;display:inline-flex;white-space:nowrap}.v-rating--readonly{pointer-events:none}.v-rating__wrapper{align-items:center;display:inline-flex;flex-direction:column}.v-rating__wrapper--bottom{flex-direction:column-reverse}.v-rating__item{display:inline-flex;position:relative}.v-rating__item label{cursor:pointer}.v-rating__item .v-btn--variant-plain{opacity:1}.v-rating__item .v-btn{transition-property:transform}.v-rating__item .v-btn .v-icon{transition:inherit;transition-timing-function:cubic-bezier(0,0,.2,1)}.v-rating--hover .v-rating__item:hover:not(.v-rating__item--focused) .v-btn{transform:scale(1.25)}.v-rating__item--half{overflow:hidden;position:absolute;clip-path:polygon(0 0,50% 0,50% 100%,0 100%);z-index:1}.v-rating__item--half .v-btn__overlay,.v-rating__item--half:hover .v-btn__overlay{opacity:0}.v-rating__hidden{height:0;opacity:0;position:absolute;width:0}.v-slide-group{display:flex;overflow:hidden}.v-slide-group__next,.v-slide-group__prev{align-items:center;display:flex;flex:0 1 52px;justify-content:center;min-width:52px;cursor:pointer}.v-slide-group__next--disabled,.v-slide-group__prev--disabled{pointer-events:none;opacity:var(--v-disabled-opacity)}.v-slide-group__content{display:flex;flex:1 0 auto;position:relative;transition:.2s all cubic-bezier(.4,0,.2,1);white-space:nowrap}.v-slide-group__content>*{white-space:initial}.v-slide-group__container{contain:content;display:flex;flex:1 1 auto;overflow:hidden}.v-slide-group--vertical,.v-slide-group--vertical .v-slide-group__container,.v-slide-group--vertical .v-slide-group__content{flex-direction:column}.v-snackbar{justify-content:center;z-index:10000;margin:8px;margin-inline-end:calc(8px + var(--v-scrollbar-offset))}.v-snackbar:not(.v-snackbar--centered):not(.v-snackbar--top){align-items:flex-end}.v-snackbar__wrapper{align-items:center;display:flex;max-width:672px;min-height:48px;min-width:344px;padding:0;border-radius:4px}.v-snackbar--variant-plain,.v-snackbar--variant-outlined,.v-snackbar--variant-text,.v-snackbar--variant-tonal{background:transparent;color:inherit}.v-snackbar--variant-plain{opacity:.62}.v-snackbar--variant-plain:focus,.v-snackbar--variant-plain:hover{opacity:1}.v-snackbar--variant-plain .v-snackbar__overlay{display:none}.v-snackbar--variant-elevated,.v-snackbar--variant-flat{background:rgb(var(--v-theme-surface-variant));color:rgb(var(--v-theme-on-surface-variant))}.v-snackbar--variant-elevated{box-shadow:0 3px 5px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 6px 10px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 18px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-snackbar--variant-flat{box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-snackbar--variant-outlined{border:thin solid currentColor}.v-snackbar--variant-text .v-snackbar__overlay{background:currentColor}.v-snackbar--variant-tonal .v-snackbar__underlay{background:currentColor;opacity:var(--v-activated-opacity);border-radius:inherit;position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.v-snackbar__content{flex-grow:1;font-size:.875rem;font-weight:400;letter-spacing:.0178571429em;line-height:1.25rem;margin-right:auto;padding:14px 16px;text-align:initial}.v-snackbar__actions{align-items:center;align-self:center;display:flex;margin-inline-end:8px}.v-snackbar__actions>.v-btn{padding:0 8px;min-width:auto}.v-snackbar--absolute{position:absolute;z-index:1}.v-snackbar--multi-line .v-snackbar__wrapper{min-height:68px}.v-snackbar--vertical .v-snackbar__wrapper{flex-direction:column}.v-snackbar--vertical .v-snackbar__wrapper .v-snackbar__actions{align-self:flex-end;margin-bottom:8px}.v-snackbar-transition-enter-active,.v-snackbar-transition-leave-active{transition-duration:.15s;transition-timing-function:cubic-bezier(0,0,.2,1)}.v-snackbar-transition-enter-active{transition-property:opacity,transform}.v-snackbar-transition-enter-from{opacity:0;transform:scale(.8)}.v-snackbar-transition-leave-active{transition-property:opacity}.v-snackbar-transition-leave-to{opacity:0}.v-switch .v-label{padding-inline-start:10px}.v-switch .v-switch__thumb{background-color:rgb(var(--v-theme-surface-bright));color:rgb(var(--v-theme-on-surface-bright))}.v-switch__loader{display:flex}.v-switch__loader .v-progress-circular{color:rgb(var(--v-theme-surface))}.v-switch__track,.v-switch__thumb{transition:none}.v-selection-control--error:not(.v-selection-control--disabled) .v-switch__track,.v-selection-control--error:not(.v-selection-control--disabled) .v-switch__thumb{background-color:rgb(var(--v-theme-error));color:rgb(var(--v-theme-on-error))}.v-switch__track{background-color:rgb(var(--v-theme-surface-variant));border-radius:9999px;height:14px;opacity:.6;width:36px;cursor:pointer;transition:.2s background-color cubic-bezier(.4,0,.2,1)}.v-switch--inset .v-switch__track{border-radius:9999px;height:32px;width:52px}.v-switch__thumb{align-items:center;border-radius:50%;display:flex;height:20px;justify-content:center;width:20px;pointer-events:none;transition:.15s .05s transform cubic-bezier(0,0,.2,1),.2s color cubic-bezier(.4,0,.2,1),.2s background-color cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden;box-shadow:0 2px 4px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 4px 5px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 10px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-switch--inset .v-switch__thumb{height:24px;width:24px;transform:scale(.6666666667);box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-switch--inset .v-switch__thumb--filled{transform:none}.v-switch--inset .v-selection-control--dirty .v-switch__thumb{transform:none;transition:.15s .05s transform cubic-bezier(0,0,.2,1)}.v-switch .v-selection-control{min-height:var(--v-input-control-height)}.v-switch .v-selection-control__input{border-radius:50%;transition:.2s transform cubic-bezier(.4,0,.2,1);transform:translate(-10px);position:absolute}.v-switch .v-selection-control__input .v-icon{position:absolute}.v-switch .v-selection-control--dirty .v-selection-control__input{transform:translate(10px)}.v-switch.v-switch--indeterminate .v-selection-control__input{transform:scale(.8)}.v-switch.v-switch--indeterminate .v-switch__thumb{transform:scale(.75);box-shadow:none}.v-switch.v-switch--inset .v-selection-control__wrapper{width:auto}.v-system-bar{align-items:center;display:flex;flex:1 1 auto;height:24px;justify-content:flex-end;max-width:100%;padding-inline-start:8px;padding-inline-end:8px;position:relative;text-align:end;width:100%;box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12));background:rgba(var(--v-theme-on-surface-variant));color:rgba(var(--v-theme-on-surface),var(--v-medium-emphasis-opacity));font-size:.75rem;font-weight:400;letter-spacing:.0333333333em;line-height:1.25rem;text-transform:none}.v-system-bar .v-icon{opacity:var(--v-medium-emphasis-opacity)}.v-system-bar--absolute{position:absolute}.v-system-bar--fixed{position:fixed}.v-system-bar--rounded{border-radius:0}.v-system-bar--window{height:32px}.v-system-bar:not(.v-system-bar--absolute){padding-inline-end:calc(var(--v-scrollbar-offset) + 8px)}.v-tabs{display:flex;height:var(--v-tabs-height)}.v-tabs--density-default{--v-tabs-height: 48px}.v-tabs--density-default.v-tabs--stacked{--v-tabs-height: 72px}.v-tabs--density-comfortable{--v-tabs-height: 44px}.v-tabs--density-comfortable.v-tabs--stacked{--v-tabs-height: 68px}.v-tabs--density-compact{--v-tabs-height: 36px}.v-tabs--density-compact.v-tabs--stacked{--v-tabs-height: 60px}.v-tabs.v-slide-group--vertical{height:auto;flex:none;--v-tabs-height: 48px}.v-tabs--align-tabs-title:not(.v-slide-group--has-affixes) .v-tab:first-child{margin-inline-start:42px}.v-tabs--fixed-tabs .v-slide-group__content>*:last-child,.v-tabs--align-tabs-center .v-slide-group__content>*:last-child{margin-inline-end:auto}.v-tabs--fixed-tabs .v-slide-group__content>*:first-child,.v-tabs--align-tabs-center .v-slide-group__content>*:first-child{margin-inline-start:auto}.v-tabs--grow{flex-grow:1}.v-tabs--grow .v-tab{flex:1 0 auto;max-width:none}.v-tabs--align-tabs-end .v-tab:first-child{margin-inline-start:auto}.v-tabs--align-tabs-end .v-tab:last-child{margin-inline-end:0}@media (max-width: 1279.98px){.v-tabs.v-slide-group--is-overflowing.v-slide-group--horizontal:not(.v-slide-group--has-affixes) .v-tab:first-child{margin-inline-start:52px}.v-tabs.v-slide-group--is-overflowing.v-slide-group--horizontal:not(.v-slide-group--has-affixes) .v-tab:last-child{margin-inline-end:52px}}.v-tab.v-tab{--v-btn-height: var(--v-tabs-height);border-radius:0;min-width:90px}.v-slide-group--horizontal .v-tab{max-width:360px}.v-slide-group--vertical .v-tab{justify-content:start}.v-tab__slider{position:absolute;bottom:0;left:0;height:2px;width:100%;background:currentColor;pointer-events:none;opacity:0}.v-tab--selected .v-tab__slider{opacity:1}.v-slide-group--vertical .v-tab__slider{top:0;height:100%;width:2px}.v-table{background:rgb(var(--v-theme-surface));color:rgba(var(--v-theme-on-surface),var(--v-high-emphasis-opacity));transition-duration:.28s;transition-property:box-shadow,opacity,background;transition-timing-function:cubic-bezier(.4,0,.2,1)}.v-table .v-table-divider{border-right:thin solid rgba(var(--v-border-color),var(--v-border-opacity))}.v-table .v-table__wrapper>table>thead>tr>th{border-bottom:thin solid rgba(var(--v-border-color),var(--v-border-opacity));color:rgba(var(--v-theme-on-surface),var(--v-medium-emphasis-opacity))}.v-table .v-table__wrapper>table>tbody>tr:not(:last-child)>td,.v-table .v-table__wrapper>table>tbody>tr:not(:last-child)>th{border-bottom:thin solid rgba(var(--v-border-color),var(--v-border-opacity))}.v-table .v-table__wrapper>table>tfoot>tr>td,.v-table .v-table__wrapper>table>tfoot>tr>th{border-top:thin solid rgba(var(--v-border-color),var(--v-border-opacity))}.v-table.v-table--hover>.v-table__wrapper>table>tbody>tr:hover td{background:rgba(var(--v-border-color),var(--v-hover-opacity))}.v-table.v-table--fixed-header>.v-table__wrapper>table>thead>tr>th{background:rgb(var(--v-theme-surface));box-shadow:inset 0 -1px 0 rgba(var(--v-border-color),var(--v-border-opacity));z-index:1}.v-table.v-table--fixed-footer>tfoot>tr>th,.v-table.v-table--fixed-footer>tfoot>tr>td{background:rgb(var(--v-theme-surface));box-shadow:inset 0 1px 0 rgba(var(--v-border-color),var(--v-border-opacity))}.v-table{--v-table-header-height: 56px;border-radius:inherit;line-height:1.5;max-width:100%}.v-table>.v-table__wrapper>table{width:100%;border-spacing:0}.v-table>.v-table__wrapper>table>tbody>tr>td,.v-table>.v-table__wrapper>table>tbody>tr>th,.v-table>.v-table__wrapper>table>thead>tr>td,.v-table>.v-table__wrapper>table>thead>tr>th,.v-table>.v-table__wrapper>table>tfoot>tr>td,.v-table>.v-table__wrapper>table>tfoot>tr>th{padding:0 16px;transition:height cubic-bezier(.4,0,.2,1)}.v-table>.v-table__wrapper>table>tbody>tr>th,.v-table>.v-table__wrapper>table>thead>tr>th,.v-table>.v-table__wrapper>table>tfoot>tr>th{font-weight:500;-webkit-user-select:none;user-select:none;text-align:start}.v-table--density-default>.v-table__wrapper>table>tbody>tr>th,.v-table--density-default>.v-table__wrapper>table>thead>tr>th,.v-table--density-default>.v-table__wrapper>table>tfoot>tr>th{height:calc(var(--v-table-header-height) + 0px)}.v-table--density-default>.v-table__wrapper>table>tbody>tr>td,.v-table--density-default>.v-table__wrapper>table>thead>tr>td,.v-table--density-default>.v-table__wrapper>table>tfoot>tr>td{height:calc(var(--v-table-row-height, 52px) + 0px)}.v-table--density-comfortable>.v-table__wrapper>table>tbody>tr>th,.v-table--density-comfortable>.v-table__wrapper>table>thead>tr>th,.v-table--density-comfortable>.v-table__wrapper>table>tfoot>tr>th{height:calc(var(--v-table-header-height) - 8px)}.v-table--density-comfortable>.v-table__wrapper>table>tbody>tr>td,.v-table--density-comfortable>.v-table__wrapper>table>thead>tr>td,.v-table--density-comfortable>.v-table__wrapper>table>tfoot>tr>td{height:calc(var(--v-table-row-height, 52px) - 8px)}.v-table--density-compact>.v-table__wrapper>table>tbody>tr>th,.v-table--density-compact>.v-table__wrapper>table>thead>tr>th,.v-table--density-compact>.v-table__wrapper>table>tfoot>tr>th{height:calc(var(--v-table-header-height) - 16px)}.v-table--density-compact>.v-table__wrapper>table>tbody>tr>td,.v-table--density-compact>.v-table__wrapper>table>thead>tr>td,.v-table--density-compact>.v-table__wrapper>table>tfoot>tr>td{height:calc(var(--v-table-row-height, 52px) - 16px)}.v-table__wrapper{border-radius:inherit;overflow:auto}.v-table--has-top>.v-table__wrapper>table>tbody>tr:first-child:hover>td:first-child{border-top-left-radius:0}.v-table--has-top>.v-table__wrapper>table>tbody>tr:first-child:hover>td:last-child{border-top-right-radius:0}.v-table--has-bottom>.v-table__wrapper>table>tbody>tr:last-child:hover>td:first-child{border-bottom-left-radius:0}.v-table--has-bottom>.v-table__wrapper>table>tbody>tr:last-child:hover>td:last-child{border-bottom-right-radius:0}.v-table--fixed-height>.v-table__wrapper{overflow-y:auto}.v-table--fixed-header>.v-table__wrapper>table>thead{position:sticky;top:0;z-index:1}.v-table--fixed-header>.v-table__wrapper>table>thead>tr>th{border-bottom:0px!important}.v-table--fixed-footer>.v-table__wrapper>table>tfoot>tr{position:sticky;bottom:0;z-index:1}.v-table--fixed-footer>.v-table__wrapper>table>tfoot>tr>td,.v-table--fixed-footer>.v-table__wrapper>table>tfoot>tr>th{border-top:0px!important}.v-textarea .v-field{--v-textarea-control-height: var(--v-input-control-height)}.v-textarea .v-field__field{--v-input-control-height: var(--v-textarea-control-height)}.v-textarea .v-field__input{flex:1 1 auto;outline:none;-webkit-mask-image:linear-gradient(to bottom,transparent,transparent calc(var(--v-field-padding-top, 0) + var(--v-input-padding-top, 0) - 6px),black calc(var(--v-field-padding-top, 0) + var(--v-input-padding-top, 0) + 4px));mask-image:linear-gradient(to bottom,transparent,transparent calc(var(--v-field-padding-top, 0) + var(--v-input-padding-top, 0) - 6px),black calc(var(--v-field-padding-top, 0) + var(--v-input-padding-top, 0) + 4px))}.v-textarea .v-field__input.v-textarea__sizer{visibility:hidden;position:absolute;top:0;left:0;height:0!important;min-height:0!important;pointer-events:none}.v-textarea--no-resize .v-field__input{resize:none}.v-textarea .v-field--no-label textarea,.v-textarea .v-field--active textarea{opacity:1}.v-textarea textarea{opacity:0;flex:1;min-width:0;transition:.15s opacity cubic-bezier(.4,0,.2,1)}.v-textarea textarea:focus,.v-textarea textarea:active{outline:none}.v-textarea textarea:invalid{box-shadow:none}.v-theme-provider{background:rgb(var(--v-theme-background));color:rgb(var(--v-theme-on-background))}.v-timeline .v-timeline-divider__dot{background:rgb(var(--v-theme-on-surface-variant))}.v-timeline .v-timeline-divider__inner-dot{background:rgb(var(--v-theme-on-surface))}.v-timeline{display:grid;grid-auto-flow:dense;position:relative}.v-timeline--horizontal.v-timeline{width:100%}.v-timeline--horizontal.v-timeline .v-timeline-item:first-child .v-timeline-divider,.v-timeline--horizontal.v-timeline .v-timeline-item:first-child .v-timeline-item__body,.v-timeline--horizontal.v-timeline .v-timeline-item:first-child .v-timeline-item__opposite{padding-inline-start:24px}.v-timeline--horizontal.v-timeline .v-timeline-item:last-child .v-timeline-divider,.v-timeline--horizontal.v-timeline .v-timeline-item:last-child .v-timeline-item__body,.v-timeline--horizontal.v-timeline .v-timeline-item:last-child .v-timeline-item__opposite{padding-inline-end:24px}.v-timeline--horizontal.v-timeline .v-timeline-item__body,.v-timeline--horizontal.v-timeline .v-timeline-item__opposite{padding-inline-end:24px}.v-timeline--horizontal.v-timeline .v-timeline-item:nth-child(2n) .v-timeline-item__body{grid-row:3;padding-block-start:24px}.v-timeline--horizontal.v-timeline .v-timeline-item:nth-child(2n) .v-timeline-item__opposite{grid-row:1;padding-block-end:24px;align-self:flex-end}.v-timeline--horizontal.v-timeline .v-timeline-item:nth-child(odd) .v-timeline-item__body{grid-row:1;padding-block-end:24px;align-self:flex-end}.v-timeline--horizontal.v-timeline .v-timeline-item:nth-child(odd) .v-timeline-item__opposite{grid-row:3;padding-block-start:24px}.v-timeline--vertical.v-timeline{grid-row-gap:24px;height:100%}.v-timeline--vertical.v-timeline .v-timeline-item:first-child .v-timeline-divider,.v-timeline--vertical.v-timeline .v-timeline-item:first-child .v-timeline-item__body,.v-timeline--vertical.v-timeline .v-timeline-item:first-child .v-timeline-item__opposite{padding-block-start:24px}.v-timeline--vertical.v-timeline .v-timeline-item:last-child .v-timeline-divider,.v-timeline--vertical.v-timeline .v-timeline-item:last-child .v-timeline-item__body,.v-timeline--vertical.v-timeline .v-timeline-item:last-child .v-timeline-item__opposite{padding-block-end:24px}.v-timeline--vertical.v-timeline .v-timeline-item:nth-child(2n) .v-timeline-item__body{grid-column:1;justify-self:flex-end;padding-inline-end:24px}.v-timeline--vertical.v-timeline .v-timeline-item:nth-child(2n) .v-timeline-item__opposite{grid-column:3;padding-inline-start:24px}.v-timeline--vertical.v-timeline .v-timeline-item:nth-child(odd) .v-timeline-item__body{grid-column:3;padding-inline-start:24px}.v-timeline--vertical.v-timeline .v-timeline-item:nth-child(odd) .v-timeline-item__opposite{grid-column:1;justify-self:flex-end;padding-inline-end:24px}.v-timeline-item{display:contents}.v-timeline-divider{position:relative;display:flex;align-items:center}.v-timeline--horizontal .v-timeline-divider{flex-direction:row;grid-row:2;width:100%}.v-timeline--vertical .v-timeline-divider{height:100%;flex-direction:column;grid-column:2}.v-timeline-divider__before{background:rgba(var(--v-border-color),var(--v-border-opacity))}.v-timeline--horizontal .v-timeline-divider__before{height:var(--v-timeline-line-thickness);width:calc(var(--v-timeline-line-size-base) + 12px - var(--v-timeline-line-inset))}.v-locale--is-ltr.v-timeline--horizontal .v-timeline-divider__before,.v-locale--is-ltr .v-timeline--horizontal .v-timeline-divider__before{left:-12px;right:initial}.v-locale--is-rtl.v-timeline--horizontal .v-timeline-divider__before,.v-locale--is-rtl .v-timeline--horizontal .v-timeline-divider__before{right:-12px;left:initial}.v-timeline--vertical .v-timeline-divider__before{position:absolute;height:calc(var(--v-timeline-line-size-base) + 12px - var(--v-timeline-line-inset));width:var(--v-timeline-line-thickness);top:-12px}.v-timeline-divider__after{background:rgba(var(--v-border-color),var(--v-border-opacity))}.v-timeline--horizontal .v-timeline-divider__after{height:var(--v-timeline-line-thickness);width:calc(var(--v-timeline-line-size-base) + 12px - var(--v-timeline-line-inset))}.v-locale--is-ltr.v-timeline--horizontal .v-timeline-divider__after,.v-locale--is-ltr .v-timeline--horizontal .v-timeline-divider__after{right:-12px;left:initial}.v-locale--is-rtl.v-timeline--horizontal .v-timeline-divider__after,.v-locale--is-rtl .v-timeline--horizontal .v-timeline-divider__after{left:-12px;right:initial}.v-timeline--vertical .v-timeline-divider__after{position:absolute;height:calc(var(--v-timeline-line-size-base) + 12px - var(--v-timeline-line-inset));width:var(--v-timeline-line-thickness);bottom:-12px}.v-timeline--vertical .v-timeline-item:first-child .v-timeline-divider__before{height:calc(var(--v-timeline-line-size-base) + 12px - var(--v-timeline-line-inset));top:0}.v-timeline--horizontal .v-timeline-item:first-child .v-timeline-divider__before{width:calc(var(--v-timeline-line-size-base) + 12px - var(--v-timeline-line-inset))}.v-locale--is-ltr.v-timeline--horizontal .v-timeline-item:first-child .v-timeline-divider__before,.v-locale--is-ltr .v-timeline--horizontal .v-timeline-item:first-child .v-timeline-divider__before{left:0;right:initial}.v-locale--is-rtl.v-timeline--horizontal .v-timeline-item:first-child .v-timeline-divider__before,.v-locale--is-rtl .v-timeline--horizontal .v-timeline-item:first-child .v-timeline-divider__before{right:0;left:initial}.v-timeline--vertical .v-timeline-item:first-child .v-timeline-divider__after{height:calc(var(--v-timeline-line-size-base) - var(--v-timeline-line-inset) + var(--v-timeline-line-size-offset))}.v-timeline--horizontal .v-timeline-item:first-child .v-timeline-divider__after{width:calc(var(--v-timeline-line-size-base) - var(--v-timeline-line-inset) + var(--v-timeline-line-size-offset))}.v-locale--is-ltr.v-timeline--horizontal .v-timeline-item:first-child .v-timeline-divider__after,.v-locale--is-ltr .v-timeline--horizontal .v-timeline-item:first-child .v-timeline-divider__after{right:-12px;left:initial}.v-locale--is-rtl.v-timeline--horizontal .v-timeline-item:first-child .v-timeline-divider__after,.v-locale--is-rtl .v-timeline--horizontal .v-timeline-item:first-child .v-timeline-divider__after{left:-12px;right:initial}.v-timeline--vertical .v-timeline-item:last-child .v-timeline-divider__before{height:calc(var(--v-timeline-line-size-base) - var(--v-timeline-line-inset) + var(--v-timeline-line-size-offset))}.v-timeline--horizontal .v-timeline-item:last-child .v-timeline-divider__before{width:calc(var(--v-timeline-line-size-base) - var(--v-timeline-line-inset) + var(--v-timeline-line-size-offset))}.v-timeline--vertical .v-timeline-item:last-child .v-timeline-divider__after{height:calc(var(--v-timeline-line-size-base) + 12px - var(--v-timeline-line-inset));bottom:0}.v-timeline--horizontal .v-timeline-item:last-child .v-timeline-divider__after{width:calc(var(--v-timeline-line-size-base) + 12px - var(--v-timeline-line-inset))}.v-locale--is-ltr.v-timeline--horizontal .v-timeline-item:last-child .v-timeline-divider__after,.v-locale--is-ltr .v-timeline--horizontal .v-timeline-item:last-child .v-timeline-divider__after{right:0;left:initial}.v-locale--is-rtl.v-timeline--horizontal .v-timeline-item:last-child .v-timeline-divider__after,.v-locale--is-rtl .v-timeline--horizontal .v-timeline-item:last-child .v-timeline-divider__after{left:0;right:initial}.v-timeline--vertical .v-timeline-item:only-child .v-timeline-divider__after{height:calc(var(--v-timeline-line-size-base) - var(--v-timeline-line-inset))}.v-timeline-divider__dot{z-index:1;flex-shrink:0;border-radius:50%;display:flex;justify-content:center;align-items:center;box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-timeline-divider__dot--size-x-small{height:22px;width:22px}.v-timeline-divider__dot--size-x-small .v-timeline-divider__inner-dot{height:calc(100% - 6px);width:calc(100% - 6px)}.v-timeline-divider__dot--size-small{height:30px;width:30px}.v-timeline-divider__dot--size-small .v-timeline-divider__inner-dot{height:calc(100% - 8px);width:calc(100% - 8px)}.v-timeline-divider__dot--size-default{height:38px;width:38px}.v-timeline-divider__dot--size-default .v-timeline-divider__inner-dot{height:calc(100% - 8px);width:calc(100% - 8px)}.v-timeline-divider__dot--size-large{height:46px;width:46px}.v-timeline-divider__dot--size-large .v-timeline-divider__inner-dot{height:calc(100% - 8px);width:calc(100% - 8px)}.v-timeline-divider__dot--size-x-large{height:54px;width:54px}.v-timeline-divider__dot--size-x-large .v-timeline-divider__inner-dot{height:calc(100% - 10px);width:calc(100% - 10px)}.v-timeline-divider__inner-dot{align-items:center;border-radius:50%;display:flex;justify-content:center}.v-timeline--horizontal.v-timeline--justify-center{grid-template-rows:minmax(auto,50%) min-content minmax(auto,50%)}.v-timeline--vertical.v-timeline--justify-center{grid-template-columns:minmax(auto,50%) min-content minmax(auto,50%)}.v-timeline--horizontal.v-timeline--justify-auto{grid-template-rows:auto min-content auto}.v-timeline--vertical.v-timeline--justify-auto{grid-template-columns:auto min-content auto}.v-timeline--horizontal.v-timeline--density-comfortable{height:100%}.v-timeline--horizontal.v-timeline--density-comfortable.v-timeline--side-end{grid-template-rows:min-content min-content auto}.v-timeline--horizontal.v-timeline--density-comfortable.v-timeline--side-start{grid-template-rows:auto min-content min-content}.v-timeline--vertical.v-timeline--density-comfortable{width:100%}.v-timeline--vertical.v-timeline--density-comfortable.v-timeline--side-end{grid-template-columns:min-content min-content auto}.v-timeline--vertical.v-timeline--density-comfortable.v-timeline--side-start{grid-template-columns:auto min-content min-content}.v-timeline--horizontal.v-timeline--density-compact.v-timeline--side-end{grid-template-rows:0 min-content auto}.v-timeline--horizontal.v-timeline--density-compact.v-timeline--side-start{grid-template-rows:auto min-content 0}.v-timeline--horizontal.v-timeline--density-compact .v-timeline-item__body{grid-row:1}.v-timeline--vertical.v-timeline--density-compact.v-timeline--side-end{grid-template-columns:0 min-content auto}.v-timeline--vertical.v-timeline--density-compact.v-timeline--side-start{grid-template-columns:auto min-content 0}.v-timeline--vertical.v-timeline--density-compact .v-timeline-item__body{grid-column:3}.v-timeline--horizontal.v-timeline.v-timeline--side-end .v-timeline-item .v-timeline-item__body{grid-row:3;padding-block-end:initial;padding-block-start:24px}.v-timeline--horizontal.v-timeline.v-timeline--side-end .v-timeline-item .v-timeline-item__opposite{grid-row:1;padding-block-end:24px;padding-block-start:initial}.v-timeline--vertical.v-timeline.v-timeline--side-end .v-timeline-item .v-timeline-item__body{grid-column:3;padding-inline-start:24px;padding-inline-end:initial;justify-self:flex-start}.v-timeline--vertical.v-timeline.v-timeline--side-end .v-timeline-item .v-timeline-item__opposite{grid-column:1;justify-self:flex-end;padding-inline-end:24px;padding-inline-start:initial}.v-timeline--horizontal.v-timeline.v-timeline--side-start .v-timeline-item .v-timeline-item__body{grid-row:1;padding-block-end:24px;padding-block-start:initial}.v-timeline--horizontal.v-timeline.v-timeline--side-start .v-timeline-item .v-timeline-item__opposite{grid-row:3;padding-block-end:initial;padding-block-start:24px}.v-timeline--vertical.v-timeline.v-timeline--side-start .v-timeline-item .v-timeline-item__body{grid-column:1;justify-self:flex-end;padding-inline-end:24px}.v-timeline--vertical.v-timeline.v-timeline--side-start .v-timeline-item .v-timeline-item__opposite{grid-column:3;padding-inline-start:24px;justify-self:flex-start}.v-timeline-divider--fill-dot .v-timeline-divider__inner-dot{height:inherit;width:inherit}.v-timeline--truncate-line-start .v-timeline-item:first-child .v-timeline-divider__before{display:none}.v-timeline--truncate-line-end .v-timeline-item:last-child .v-timeline-divider__after{display:none}.v-timeline--align-center{--v-timeline-line-size-base: 50%;--v-timeline-line-size-offset: 0px}.v-timeline--horizontal.v-timeline--align-center{justify-items:center}.v-timeline--horizontal.v-timeline--align-center .v-timeline-divider{justify-content:center}.v-timeline--vertical.v-timeline--align-center{align-items:center}.v-timeline--vertical.v-timeline--align-center .v-timeline-divider{justify-content:center}.v-timeline--align-start{--v-timeline-line-size-base: 100%;--v-timeline-line-size-offset: 12px}.v-timeline--align-start .v-timeline-item:first-child .v-timeline-divider__before{--v-timeline-line-size-offset: 24px}.v-timeline--align-start .v-timeline-item:first-child .v-timeline-divider__after{--v-timeline-line-size-offset: -12px}.v-timeline--align-start .v-timeline-item:last-child .v-timeline-divider__after{--v-timeline-line-size-offset: 0px}.v-timeline--horizontal.v-timeline--align-start{justify-items:flex-start}.v-timeline--horizontal.v-timeline--align-start .v-timeline-divider{justify-content:flex-start}.v-timeline--horizontal.v-timeline--align-start .v-timeline-divider .v-timeline-divider__before{width:calc(var(--v-timeline-line-size-offset) + var(--v-timeline-dot-size) / 2 - var(--v-timeline-line-inset))}.v-timeline--horizontal.v-timeline--align-start .v-timeline-divider .v-timeline-divider__after{width:calc(var(--v-timeline-line-size-base) - var(--v-timeline-dot-size) / 2 + var(--v-timeline-line-size-offset) - var(--v-timeline-line-inset))}.v-timeline--vertical.v-timeline--align-start{align-items:flex-start}.v-timeline--vertical.v-timeline--align-start .v-timeline-divider{justify-content:flex-start}.v-timeline--vertical.v-timeline--align-start .v-timeline-divider .v-timeline-divider__before{height:calc(var(--v-timeline-line-size-offset) + var(--v-timeline-dot-size) / 2 - var(--v-timeline-line-inset))}.v-timeline--vertical.v-timeline--align-start .v-timeline-divider .v-timeline-divider__after{height:calc(var(--v-timeline-line-size-base) - var(--v-timeline-dot-size) / 2 + var(--v-timeline-line-size-offset) - var(--v-timeline-line-inset))}.v-timeline--truncate-line-start .v-timeline-item:first-child .v-timeline-divider__after{--v-timeline-line-size-offset: 12px}.v-timeline--vertical.v-timeline--truncate-line-start .v-timeline-item:first-child .v-timeline-divider,.v-timeline--vertical.v-timeline--truncate-line-start .v-timeline-item:first-child .v-timeline-item__body,.v-timeline--vertical.v-timeline--truncate-line-start .v-timeline-item:first-child .v-timeline-item__opposite{padding-block-start:0}.v-timeline--horizontal.v-timeline--truncate-line-start .v-timeline-item:first-child .v-timeline-divider,.v-timeline--horizontal.v-timeline--truncate-line-start .v-timeline-item:first-child .v-timeline-item__body,.v-timeline--horizontal.v-timeline--truncate-line-start .v-timeline-item:first-child .v-timeline-item__opposite{padding-inline-start:0}.v-timeline--truncate-line-end .v-timeline-item:last-child .v-timeline-divider__before{--v-timeline-line-size-offset: 12px}.v-timeline--vertical.v-timeline--truncate-line-end .v-timeline-item:last-child .v-timeline-divider,.v-timeline--vertical.v-timeline--truncate-line-end .v-timeline-item:last-child .v-timeline-item__body,.v-timeline--vertical.v-timeline--truncate-line-end .v-timeline-item:last-child .v-timeline-item__opposite{padding-block-end:0}.v-timeline--horizontal.v-timeline--truncate-line-end .v-timeline-item:last-child .v-timeline-divider,.v-timeline--horizontal.v-timeline--truncate-line-end .v-timeline-item:last-child .v-timeline-item__body,.v-timeline--horizontal.v-timeline--truncate-line-end .v-timeline-item:last-child .v-timeline-item__opposite{padding-inline-end:0}.v-tooltip>.v-overlay__content{background:rgb(var(--v-theme-surface-variant));color:rgb(var(--v-theme-on-surface-variant));border-radius:4px;font-size:.875rem;line-height:1.6;display:inline-block;padding:5px 16px;text-transform:initial;width:auto;opacity:1;pointer-events:none;transition-property:opacity,transform}.v-tooltip>.v-overlay__content[class*=enter-active]{transition-timing-function:cubic-bezier(0,0,.2,1);transition-duration:.15s}.v-tooltip>.v-overlay__content[class*=leave-active]{transition-timing-function:cubic-bezier(.4,0,1,1);transition-duration:75ms} diff --git a/js-component/dist/assets/index-5ed08cb5.js b/js-component/dist/assets/index-5ed08cb5.js index 5cfd2cfd..f68b53ed 100644 --- a/js-component/dist/assets/index-5ed08cb5.js +++ b/js-component/dist/assets/index-5ed08cb5.js @@ -1,16 +1,8 @@ -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js (function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const D of document.querySelectorAll('link[rel="modulepreload"]'))S(D);new MutationObserver(D=>{for(const T of D)if(T.type==="childList")for(const p of T.addedNodes)p.tagName==="LINK"&&p.rel==="modulepreload"&&S(p)}).observe(document,{childList:!0,subtree:!0});function r(D){const T={};return D.integrity&&(T.integrity=D.integrity),D.referrerPolicy&&(T.referrerPolicy=D.referrerPolicy),D.crossOrigin==="use-credentials"?T.credentials="include":D.crossOrigin==="anonymous"?T.credentials="omit":T.credentials="same-origin",T}function S(D){if(D.ep)return;D.ep=!0;const T=r(D);fetch(D.href,T)}})();function zx(n,e){const r=Object.create(null),S=n.split(",");for(let D=0;D!!r[D.toLowerCase()]:D=>!!r[D]}function zs(n){if(gi(n)){const e={};for(let r=0;r{if(r){const S=r.split(a8);S.length>1&&(e[S[0].trim()]=S[1].trim())}}),e}function Ju(n){let e="";if(Po(n))e=n;else if(gi(n))for(let r=0;rPo(n)?n:n==null?"":gi(n)||lo(n)&&(n.toString===bT||!Fi(n.toString))?JSON.stringify(n,gT,2):String(n),gT=(n,e)=>e&&e.__v_isRef?gT(n,e.value):Np(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((r,[S,D])=>(r[`${S} =>`]=D,r),{})}:vT(e)?{[`Set(${e.size})`]:[...e.values()]}:lo(e)&&!gi(e)&&!xT(e)?String(e):e,ao={},Bp=[],Dc=()=>{},c8=()=>!1,h8=/^on[^a-z]/,my=n=>h8.test(n),Fx=n=>n.startsWith("onUpdate:"),Ms=Object.assign,Bx=(n,e)=>{const r=n.indexOf(e);r>-1&&n.splice(r,1)},f8=Object.prototype.hasOwnProperty,ga=(n,e)=>f8.call(n,e),gi=Array.isArray,Np=n=>gy(n)==="[object Map]",vT=n=>gy(n)==="[object Set]",Fi=n=>typeof n=="function",Po=n=>typeof n=="string",Nx=n=>typeof n=="symbol",lo=n=>n!==null&&typeof n=="object",yT=n=>lo(n)&&Fi(n.then)&&Fi(n.catch),bT=Object.prototype.toString,gy=n=>bT.call(n),d8=n=>gy(n).slice(8,-1),xT=n=>gy(n)==="[object Object]",Vx=n=>Po(n)&&n!=="NaN"&&n[0]!=="-"&&""+parseInt(n,10)===n,hv=zx(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),vy=n=>{const e=Object.create(null);return r=>e[r]||(e[r]=n(r))},p8=/-(\w)/g,tc=vy(n=>n.replace(p8,(e,r)=>r?r.toUpperCase():"")),m8=/\B([A-Z])/g,f0=vy(n=>n.replace(m8,"-$1").toLowerCase()),sf=vy(n=>n.charAt(0).toUpperCase()+n.slice(1)),Q1=vy(n=>n?`on${sf(n)}`:""),xm=(n,e)=>!Object.is(n,e),fv=(n,e)=>{for(let r=0;r{Object.defineProperty(n,e,{configurable:!0,enumerable:!1,value:r})},kb=n=>{const e=parseFloat(n);return isNaN(e)?n:e},g8=n=>{const e=Po(n)?Number(n):NaN;return isNaN(e)?n:e};let c3;const v8=()=>c3||(c3=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let du;class _T{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=du,!e&&du&&(this.index=(du.scopes||(du.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const r=du;try{return du=this,e()}finally{du=r}}}on(){du=this}off(){du=this.parent}stop(e){if(this._active){let r,S;for(r=0,S=this.effects.length;r{const e=new Set(n);return e.w=0,e.n=0,e},TT=n=>(n.w&jf)>0,kT=n=>(n.n&jf)>0,b8=({deps:n})=>{if(n.length)for(let e=0;e{const{deps:e}=n;if(e.length){let r=0;for(let S=0;S{(i==="length"||i>=d)&&t.push(g)})}else switch(r!==void 0&&t.push(p.get(r)),e){case"add":gi(n)?Vx(r)&&t.push(p.get("length")):(t.push(p.get(Fd)),Np(n)&&t.push(p.get(Ab)));break;case"delete":gi(n)||(t.push(p.get(Fd)),Np(n)&&t.push(p.get(Ab)));break;case"set":Np(n)&&t.push(p.get(Fd));break}if(t.length===1)t[0]&&Sb(t[0]);else{const d=[];for(const g of t)g&&d.push(...g);Sb(jx(d))}}function Sb(n,e){const r=gi(n)?n:[...n];for(const S of r)S.computed&&f3(S);for(const S of r)S.computed||f3(S)}function f3(n,e){(n!==Lc||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}function _8(n,e){var r;return(r=Sv.get(n))===null||r===void 0?void 0:r.get(e)}const w8=zx("__proto__,__v_isRef,__isVue"),ST=new Set(Object.getOwnPropertyNames(Symbol).filter(n=>n!=="arguments"&&n!=="caller").map(n=>Symbol[n]).filter(Nx)),T8=Hx(),k8=Hx(!1,!0),M8=Hx(!0),d3=A8();function A8(){const n={};return["includes","indexOf","lastIndexOf"].forEach(e=>{n[e]=function(...r){const S=wi(this);for(let T=0,p=this.length;T{n[e]=function(...r){d0();const S=wi(this)[e].apply(this,r);return p0(),S}}),n}function S8(n){const e=wi(this);return $l(e,"has",n),e.hasOwnProperty(n)}function Hx(n=!1,e=!1){return function(S,D,T){if(D==="__v_isReactive")return!n;if(D==="__v_isReadonly")return n;if(D==="__v_isShallow")return e;if(D==="__v_raw"&&T===(n?e?H8:RT:e?IT:LT).get(S))return S;const p=gi(S);if(!n){if(p&&ga(d3,D))return Reflect.get(d3,D,T);if(D==="hasOwnProperty")return S8}const t=Reflect.get(S,D,T);return(Nx(D)?ST.has(D):w8(D))||(n||$l(S,"get",D),e)?t:eo(t)?p&&Vx(D)?t:t.value:lo(t)?n?Hm(t):yl(t):t}}const C8=CT(),E8=CT(!0);function CT(n=!1){return function(r,S,D,T){let p=r[S];if($p(p)&&eo(p)&&!eo(D))return!1;if(!n&&(!Cv(D)&&!$p(D)&&(p=wi(p),D=wi(D)),!gi(r)&&eo(p)&&!eo(D)))return p.value=D,!0;const t=gi(r)&&Vx(S)?Number(S)n,yy=n=>Reflect.getPrototypeOf(n);function Kg(n,e,r=!1,S=!1){n=n.__v_raw;const D=wi(n),T=wi(e);r||(e!==T&&$l(D,"get",e),$l(D,"get",T));const{has:p}=yy(D),t=S?Gx:r?Yx:_m;if(p.call(D,e))return t(n.get(e));if(p.call(D,T))return t(n.get(T));n!==D&&n.get(e)}function Jg(n,e=!1){const r=this.__v_raw,S=wi(r),D=wi(n);return e||(n!==D&&$l(S,"has",n),$l(S,"has",D)),n===D?r.has(n):r.has(n)||r.has(D)}function Qg(n,e=!1){return n=n.__v_raw,!e&&$l(wi(n),"iterate",Fd),Reflect.get(n,"size",n)}function p3(n){n=wi(n);const e=wi(this);return yy(e).has.call(e,n)||(e.add(n),ef(e,"add",n,n)),this}function m3(n,e){e=wi(e);const r=wi(this),{has:S,get:D}=yy(r);let T=S.call(r,n);T||(n=wi(n),T=S.call(r,n));const p=D.call(r,n);return r.set(n,e),T?xm(e,p)&&ef(r,"set",n,e):ef(r,"add",n,e),this}function g3(n){const e=wi(this),{has:r,get:S}=yy(e);let D=r.call(e,n);D||(n=wi(n),D=r.call(e,n)),S&&S.call(e,n);const T=e.delete(n);return D&&ef(e,"delete",n,void 0),T}function v3(){const n=wi(this),e=n.size!==0,r=n.clear();return e&&ef(n,"clear",void 0,void 0),r}function ev(n,e){return function(S,D){const T=this,p=T.__v_raw,t=wi(p),d=e?Gx:n?Yx:_m;return!n&&$l(t,"iterate",Fd),p.forEach((g,i)=>S.call(D,d(g),d(i),T))}}function tv(n,e,r){return function(...S){const D=this.__v_raw,T=wi(D),p=Np(T),t=n==="entries"||n===Symbol.iterator&&p,d=n==="keys"&&p,g=D[n](...S),i=r?Gx:e?Yx:_m;return!e&&$l(T,"iterate",d?Ab:Fd),{next(){const{value:M,done:v}=g.next();return v?{value:M,done:v}:{value:t?[i(M[0]),i(M[1])]:i(M),done:v}},[Symbol.iterator](){return this}}}}function Sf(n){return function(...e){return n==="delete"?!1:this}}function D8(){const n={get(T){return Kg(this,T)},get size(){return Qg(this)},has:Jg,add:p3,set:m3,delete:g3,clear:v3,forEach:ev(!1,!1)},e={get(T){return Kg(this,T,!1,!0)},get size(){return Qg(this)},has:Jg,add:p3,set:m3,delete:g3,clear:v3,forEach:ev(!1,!0)},r={get(T){return Kg(this,T,!0)},get size(){return Qg(this,!0)},has(T){return Jg.call(this,T,!0)},add:Sf("add"),set:Sf("set"),delete:Sf("delete"),clear:Sf("clear"),forEach:ev(!0,!1)},S={get(T){return Kg(this,T,!0,!0)},get size(){return Qg(this,!0)},has(T){return Jg.call(this,T,!0)},add:Sf("add"),set:Sf("set"),delete:Sf("delete"),clear:Sf("clear"),forEach:ev(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(T=>{n[T]=tv(T,!1,!1),r[T]=tv(T,!0,!1),e[T]=tv(T,!1,!0),S[T]=tv(T,!0,!0)}),[n,r,e,S]}const[z8,F8,B8,N8]=D8();function qx(n,e){const r=e?n?N8:B8:n?F8:z8;return(S,D,T)=>D==="__v_isReactive"?!n:D==="__v_isReadonly"?n:D==="__v_raw"?S:Reflect.get(ga(r,D)&&D in S?r:S,D,T)}const V8={get:qx(!1,!1)},j8={get:qx(!1,!0)},U8={get:qx(!0,!1)},LT=new WeakMap,IT=new WeakMap,RT=new WeakMap,H8=new WeakMap;function G8(n){switch(n){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function q8(n){return n.__v_skip||!Object.isExtensible(n)?0:G8(d8(n))}function yl(n){return $p(n)?n:Wx(n,!1,ET,V8,LT)}function W8(n){return Wx(n,!1,O8,j8,IT)}function Hm(n){return Wx(n,!0,P8,U8,RT)}function Wx(n,e,r,S,D){if(!lo(n)||n.__v_raw&&!(e&&n.__v_isReactive))return n;const T=D.get(n);if(T)return T;const p=q8(n);if(p===0)return n;const t=new Proxy(n,p===2?S:r);return D.set(n,t),t}function Bf(n){return $p(n)?Bf(n.__v_raw):!!(n&&n.__v_isReactive)}function $p(n){return!!(n&&n.__v_isReadonly)}function Cv(n){return!!(n&&n.__v_isShallow)}function PT(n){return Bf(n)||$p(n)}function wi(n){const e=n&&n.__v_raw;return e?wi(e):n}function Zp(n){return Av(n,"__v_skip",!0),n}const _m=n=>lo(n)?yl(n):n,Yx=n=>lo(n)?Hm(n):n;function OT(n){Ff&&Lc&&(n=wi(n),AT(n.dep||(n.dep=jx())))}function DT(n,e){n=wi(n);const r=n.dep;r&&Sb(r)}function eo(n){return!!(n&&n.__v_isRef===!0)}function Vr(n){return zT(n,!1)}function Wr(n){return zT(n,!0)}function zT(n,e){return eo(n)?n:new Y8(n,e)}class Y8{constructor(e,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?e:wi(e),this._value=r?e:_m(e)}get value(){return OT(this),this._value}set value(e){const r=this.__v_isShallow||Cv(e)||$p(e);e=r?e:wi(e),xm(e,this._rawValue)&&(this._rawValue=e,this._value=r?e:_m(e),DT(this))}}function yu(n){return eo(n)?n.value:n}const $8={get:(n,e,r)=>yu(Reflect.get(n,e,r)),set:(n,e,r,S)=>{const D=n[e];return eo(D)&&!eo(r)?(D.value=r,!0):Reflect.set(n,e,r,S)}};function FT(n){return Bf(n)?n:new Proxy(n,$8)}function by(n){const e=gi(n)?new Array(n.length):{};for(const r in n)e[r]=Cr(n,r);return e}class Z8{constructor(e,r,S){this._object=e,this._key=r,this._defaultValue=S,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return _8(wi(this._object),this._key)}}function Cr(n,e,r){const S=n[e];return eo(S)?S:new Z8(n,e,r)}var BT;class X8{constructor(e,r,S,D){this._setter=r,this.dep=void 0,this.__v_isRef=!0,this[BT]=!1,this._dirty=!0,this.effect=new Ux(e,()=>{this._dirty||(this._dirty=!0,DT(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!D,this.__v_isReadonly=S}get value(){const e=wi(this);return OT(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}BT="__v_isReadonly";function K8(n,e,r=!1){let S,D;const T=Fi(n);return T?(S=n,D=Dc):(S=n.get,D=n.set),new X8(S,D,T||!D,r)}function Nf(n,e,r,S){let D;try{D=S?n(...S):n()}catch(T){xy(T,e,r)}return D}function Qu(n,e,r,S){if(Fi(n)){const T=Nf(n,e,r,S);return T&&yT(T)&&T.catch(p=>{xy(p,e,r)}),T}const D=[];for(let T=0;T>>1;Tm($s[S])sh&&$s.splice(e,1)}function tE(n){gi(n)?Vp.push(...n):(!Gh||!Gh.includes(n,n.allowRecurse?kd+1:kd))&&Vp.push(n),VT()}function y3(n,e=wm?sh+1:0){for(;e<$s.length;e++){const r=$s[e];r&&r.pre&&($s.splice(e,1),e--,r())}}function jT(n){if(Vp.length){const e=[...new Set(Vp)];if(Vp.length=0,Gh){Gh.push(...e);return}for(Gh=e,Gh.sort((r,S)=>Tm(r)-Tm(S)),kd=0;kdn.id==null?1/0:n.id,nE=(n,e)=>{const r=Tm(n)-Tm(e);if(r===0){if(n.pre&&!e.pre)return-1;if(e.pre&&!n.pre)return 1}return r};function UT(n){Cb=!1,wm=!0,$s.sort(nE);const e=Dc;try{for(sh=0;sh<$s.length;sh++){const r=$s[sh];r&&r.active!==!1&&Nf(r,null,14)}}finally{sh=0,$s.length=0,jT(),wm=!1,$x=null,($s.length||Vp.length)&&UT()}}function rE(n,e,...r){if(n.isUnmounted)return;const S=n.vnode.props||ao;let D=r;const T=e.startsWith("update:"),p=T&&e.slice(7);if(p&&p in S){const i=`${p==="modelValue"?"model":p}Modifiers`,{number:M,trim:v}=S[i]||ao;v&&(D=r.map(f=>Po(f)?f.trim():f)),M&&(D=r.map(kb))}let t,d=S[t=Q1(e)]||S[t=Q1(tc(e))];!d&&T&&(d=S[t=Q1(f0(e))]),d&&Qu(d,n,6,D);const g=S[t+"Once"];if(g){if(!n.emitted)n.emitted={};else if(n.emitted[t])return;n.emitted[t]=!0,Qu(g,n,6,D)}}function HT(n,e,r=!1){const S=e.emitsCache,D=S.get(n);if(D!==void 0)return D;const T=n.emits;let p={},t=!1;if(!Fi(n)){const d=g=>{const i=HT(g,e,!0);i&&(t=!0,Ms(p,i))};!r&&e.mixins.length&&e.mixins.forEach(d),n.extends&&d(n.extends),n.mixins&&n.mixins.forEach(d)}return!T&&!t?(lo(n)&&S.set(n,null),null):(gi(T)?T.forEach(d=>p[d]=null):Ms(p,T),lo(n)&&S.set(n,p),p)}function _y(n,e){return!n||!my(e)?!1:(e=e.slice(2).replace(/Once$/,""),ga(n,e[0].toLowerCase()+e.slice(1))||ga(n,f0(e))||ga(n,e))}let Fs=null,wy=null;function Ev(n){const e=Fs;return Fs=n,wy=n&&n.type.__scopeId||null,e}function Ty(n){wy=n}function ky(){wy=null}function ci(n,e=Fs,r){if(!e||n._n)return n;const S=(...D)=>{S._d&&E3(-1);const T=Ev(e);let p;try{p=n(...D)}finally{Ev(T),S._d&&E3(1)}return p};return S._n=!0,S._c=!0,S._d=!0,S}function eb(n){const{type:e,vnode:r,proxy:S,withProxy:D,props:T,propsOptions:[p],slots:t,attrs:d,emit:g,render:i,renderCache:M,data:v,setupState:f,ctx:l,inheritAttrs:a}=n;let u,o;const s=Ev(n);try{if(r.shapeFlag&4){const c=D||S;u=oh(i.call(c,c,M,T,f,v,l)),o=d}else{const c=e;u=oh(c.length>1?c(T,{attrs:d,slots:t,emit:g}):c(T,null)),o=e.props?d:iE(d)}}catch(c){dm.length=0,xy(c,n,1),u=gt(ec)}let h=u;if(o&&a!==!1){const c=Object.keys(o),{shapeFlag:m}=h;c.length&&m&7&&(p&&c.some(Fx)&&(o=aE(o,p)),h=tf(h,o))}return r.dirs&&(h=tf(h),h.dirs=h.dirs?h.dirs.concat(r.dirs):r.dirs),r.transition&&(h.transition=r.transition),u=h,Ev(s),u}const iE=n=>{let e;for(const r in n)(r==="class"||r==="style"||my(r))&&((e||(e={}))[r]=n[r]);return e},aE=(n,e)=>{const r={};for(const S in n)(!Fx(S)||!(S.slice(9)in e))&&(r[S]=n[S]);return r};function oE(n,e,r){const{props:S,children:D,component:T}=n,{props:p,children:t,patchFlag:d}=e,g=T.emitsOptions;if(e.dirs||e.transition)return!0;if(r&&d>=0){if(d&1024)return!0;if(d&16)return S?b3(S,p,g):!!p;if(d&8){const i=e.dynamicProps;for(let M=0;Mn.__isSuspense;function uE(n,e){e&&e.pendingBranch?gi(n)?e.effects.push(...n):e.effects.push(n):tE(n)}function ts(n,e){if(Wo){let r=Wo.provides;const S=Wo.parent&&Wo.parent.provides;S===r&&(r=Wo.provides=Object.create(S)),r[n]=e}}function ka(n,e,r=!1){const S=Wo||Fs;if(S){const D=S.parent==null?S.vnode.appContext&&S.vnode.appContext.provides:S.parent.provides;if(D&&n in D)return D[n];if(arguments.length>1)return r&&Fi(e)?e.call(S.proxy):e}}function wu(n,e){return Xx(n,null,e)}const nv={};function $r(n,e,r){return Xx(n,e,r)}function Xx(n,e,{immediate:r,deep:S,flush:D,onTrack:T,onTrigger:p}=ao){const t=wT()===(Wo==null?void 0:Wo.scope)?Wo:null;let d,g=!1,i=!1;if(eo(n)?(d=()=>n.value,g=Cv(n)):Bf(n)?(d=()=>n,S=!0):gi(n)?(i=!0,g=n.some(h=>Bf(h)||Cv(h)),d=()=>n.map(h=>{if(eo(h))return h.value;if(Bf(h))return Sd(h);if(Fi(h))return Nf(h,t,2)})):Fi(n)?e?d=()=>Nf(n,t,2):d=()=>{if(!(t&&t.isUnmounted))return M&&M(),Qu(n,t,3,[v])}:d=Dc,e&&S){const h=d;d=()=>Sd(h())}let M,v=h=>{M=o.onStop=()=>{Nf(h,t,4)}},f;if(Sm)if(v=Dc,e?r&&Qu(e,t,3,[d(),i?[]:void 0,v]):d(),D==="sync"){const h=QE();f=h.__watcherHandles||(h.__watcherHandles=[])}else return Dc;let l=i?new Array(n.length).fill(nv):nv;const a=()=>{if(o.active)if(e){const h=o.run();(S||g||(i?h.some((c,m)=>xm(c,l[m])):xm(h,l)))&&(M&&M(),Qu(e,t,3,[h,l===nv?void 0:i&&l[0]===nv?[]:l,v]),l=h)}else o.run()};a.allowRecurse=!!e;let u;D==="sync"?u=a:D==="post"?u=()=>Vl(a,t&&t.suspense):(a.pre=!0,t&&(a.id=t.uid),u=()=>Zx(a));const o=new Ux(d,u);e?r?a():l=o.run():D==="post"?Vl(o.run.bind(o),t&&t.suspense):o.run();const s=()=>{o.stop(),t&&t.scope&&Bx(t.scope.effects,o)};return f&&f.push(s),s}function cE(n,e,r){const S=this.proxy,D=Po(n)?n.includes(".")?GT(S,n):()=>S[n]:n.bind(S,S);let T;Fi(e)?T=e:(T=e.handler,r=e);const p=Wo;Xp(this);const t=Xx(D,T.bind(S),r);return p?Xp(p):Bd(),t}function GT(n,e){const r=e.split(".");return()=>{let S=n;for(let D=0;D{Sd(r,e)});else if(xT(n))for(const r in n)Sd(n[r],e);return n}function qT(){const n={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ks(()=>{n.isMounted=!0}),kl(()=>{n.isUnmounting=!0}),n}const Gu=[Function,Array],hE={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Gu,onEnter:Gu,onAfterEnter:Gu,onEnterCancelled:Gu,onBeforeLeave:Gu,onLeave:Gu,onAfterLeave:Gu,onLeaveCancelled:Gu,onBeforeAppear:Gu,onAppear:Gu,onAfterAppear:Gu,onAppearCancelled:Gu},setup(n,{slots:e}){const r=Ey(),S=qT();let D;return()=>{const T=e.default&&Kx(e.default(),!0);if(!T||!T.length)return;let p=T[0];if(T.length>1){for(const a of T)if(a.type!==ec){p=a;break}}const t=wi(n),{mode:d}=t;if(S.isLeaving)return tb(p);const g=x3(p);if(!g)return tb(p);const i=km(g,t,S,r);Mm(g,i);const M=r.subTree,v=M&&x3(M);let f=!1;const{getTransitionKey:l}=g.type;if(l){const a=l();D===void 0?D=a:a!==D&&(D=a,f=!0)}if(v&&v.type!==ec&&(!Md(g,v)||f)){const a=km(v,t,S,r);if(Mm(v,a),d==="out-in")return S.isLeaving=!0,a.afterLeave=()=>{S.isLeaving=!1,r.update.active!==!1&&r.update()},tb(p);d==="in-out"&&g.type!==ec&&(a.delayLeave=(u,o,s)=>{const h=YT(S,v);h[String(v.key)]=v,u._leaveCb=()=>{o(),u._leaveCb=void 0,delete i.delayedLeave},i.delayedLeave=s})}return p}}},WT=hE;function YT(n,e){const{leavingVNodes:r}=n;let S=r.get(e.type);return S||(S=Object.create(null),r.set(e.type,S)),S}function km(n,e,r,S){const{appear:D,mode:T,persisted:p=!1,onBeforeEnter:t,onEnter:d,onAfterEnter:g,onEnterCancelled:i,onBeforeLeave:M,onLeave:v,onAfterLeave:f,onLeaveCancelled:l,onBeforeAppear:a,onAppear:u,onAfterAppear:o,onAppearCancelled:s}=e,h=String(n.key),c=YT(r,n),m=(C,_)=>{C&&Qu(C,S,9,_)},w=(C,_)=>{const k=_[1];m(C,_),gi(C)?C.every(E=>E.length<=1)&&k():C.length<=1&&k()},y={mode:T,persisted:p,beforeEnter(C){let _=t;if(!r.isMounted)if(D)_=a||t;else return;C._leaveCb&&C._leaveCb(!0);const k=c[h];k&&Md(n,k)&&k.el._leaveCb&&k.el._leaveCb(),m(_,[C])},enter(C){let _=d,k=g,E=i;if(!r.isMounted)if(D)_=u||d,k=o||g,E=s||i;else return;let x=!1;const A=C._enterCb=L=>{x||(x=!0,L?m(E,[C]):m(k,[C]),y.delayedLeave&&y.delayedLeave(),C._enterCb=void 0)};_?w(_,[C,A]):A()},leave(C,_){const k=String(n.key);if(C._enterCb&&C._enterCb(!0),r.isUnmounting)return _();m(M,[C]);let E=!1;const x=C._leaveCb=A=>{E||(E=!0,_(),A?m(l,[C]):m(f,[C]),C._leaveCb=void 0,c[k]===n&&delete c[k])};c[k]=n,v?w(v,[C,x]):x()},clone(C){return km(C,e,r,S)}};return y}function tb(n){if(My(n))return n=tf(n),n.children=null,n}function x3(n){return My(n)?n.children?n.children[0]:void 0:n}function Mm(n,e){n.shapeFlag&6&&n.component?Mm(n.component.subTree,e):n.shapeFlag&128?(n.ssContent.transition=e.clone(n.ssContent),n.ssFallback.transition=e.clone(n.ssFallback)):n.transition=e}function Kx(n,e=!1,r){let S=[],D=0;for(let T=0;T1)for(let T=0;T!!n.type.__asyncLoader,My=n=>n.type.__isKeepAlive;function $T(n,e){XT(n,"a",e)}function ZT(n,e){XT(n,"da",e)}function XT(n,e,r=Wo){const S=n.__wdc||(n.__wdc=()=>{let D=r;for(;D;){if(D.isDeactivated)return;D=D.parent}return n()});if(Ay(e,S,r),r){let D=r.parent;for(;D&&D.parent;)My(D.parent.vnode)&&fE(S,e,r,D),D=D.parent}}function fE(n,e,r,S){const D=Ay(e,n,S,!0);QT(()=>{Bx(S[e],D)},r)}function Ay(n,e,r=Wo,S=!1){if(r){const D=r[n]||(r[n]=[]),T=e.__weh||(e.__weh=(...p)=>{if(r.isUnmounted)return;d0(),Xp(r);const t=Qu(e,r,n,p);return Bd(),p0(),t});return S?D.unshift(T):D.push(T),T}}const lf=n=>(e,r=Wo)=>(!Sm||n==="sp")&&Ay(n,(...S)=>e(...S),r),Sy=lf("bm"),Ks=lf("m"),KT=lf("bu"),JT=lf("u"),kl=lf("bum"),QT=lf("um"),dE=lf("sp"),pE=lf("rtg"),mE=lf("rtc");function gE(n,e=Wo){Ay("ec",n,e)}function Co(n,e){const r=Fs;if(r===null)return n;const S=Ly(r)||r.proxy,D=n.dirs||(n.dirs=[]);for(let T=0;Te(p,t,void 0,T&&T[t]));else{const p=Object.keys(n);D=new Array(p.length);for(let t=0,d=p.length;tIv(e)?!(e.type===ec||e.type===Yr&&!t4(e.children)):!0)?n:null}const Eb=n=>n?f4(n)?Ly(n)||n.proxy:Eb(n.parent):null,hm=Ms(Object.create(null),{$:n=>n,$el:n=>n.vnode.el,$data:n=>n.data,$props:n=>n.props,$attrs:n=>n.attrs,$slots:n=>n.slots,$refs:n=>n.refs,$parent:n=>Eb(n.parent),$root:n=>Eb(n.root),$emit:n=>n.emit,$options:n=>e2(n),$forceUpdate:n=>n.f||(n.f=()=>Zx(n.update)),$nextTick:n=>n.n||(n.n=Ua.bind(n.proxy)),$watch:n=>cE.bind(n)}),rb=(n,e)=>n!==ao&&!n.__isScriptSetup&&ga(n,e),bE={get({_:n},e){const{ctx:r,setupState:S,data:D,props:T,accessCache:p,type:t,appContext:d}=n;let g;if(e[0]!=="$"){const f=p[e];if(f!==void 0)switch(f){case 1:return S[e];case 2:return D[e];case 4:return r[e];case 3:return T[e]}else{if(rb(S,e))return p[e]=1,S[e];if(D!==ao&&ga(D,e))return p[e]=2,D[e];if((g=n.propsOptions[0])&&ga(g,e))return p[e]=3,T[e];if(r!==ao&&ga(r,e))return p[e]=4,r[e];Lb&&(p[e]=0)}}const i=hm[e];let M,v;if(i)return e==="$attrs"&&$l(n,"get",e),i(n);if((M=t.__cssModules)&&(M=M[e]))return M;if(r!==ao&&ga(r,e))return p[e]=4,r[e];if(v=d.config.globalProperties,ga(v,e))return v[e]},set({_:n},e,r){const{data:S,setupState:D,ctx:T}=n;return rb(D,e)?(D[e]=r,!0):S!==ao&&ga(S,e)?(S[e]=r,!0):ga(n.props,e)||e[0]==="$"&&e.slice(1)in n?!1:(T[e]=r,!0)},has({_:{data:n,setupState:e,accessCache:r,ctx:S,appContext:D,propsOptions:T}},p){let t;return!!r[p]||n!==ao&&ga(n,p)||rb(e,p)||(t=T[0])&&ga(t,p)||ga(S,p)||ga(hm,p)||ga(D.config.globalProperties,p)},defineProperty(n,e,r){return r.get!=null?n._.accessCache[e]=0:ga(r,"value")&&this.set(n,e,r.value,null),Reflect.defineProperty(n,e,r)}};let Lb=!0;function xE(n){const e=e2(n),r=n.proxy,S=n.ctx;Lb=!1,e.beforeCreate&&w3(e.beforeCreate,n,"bc");const{data:D,computed:T,methods:p,watch:t,provide:d,inject:g,created:i,beforeMount:M,mounted:v,beforeUpdate:f,updated:l,activated:a,deactivated:u,beforeDestroy:o,beforeUnmount:s,destroyed:h,unmounted:c,render:m,renderTracked:w,renderTriggered:y,errorCaptured:C,serverPrefetch:_,expose:k,inheritAttrs:E,components:x,directives:A,filters:L}=e;if(g&&_E(g,S,null,n.appContext.config.unwrapInjectedRef),p)for(const I in p){const O=p[I];Fi(O)&&(S[I]=O.bind(r))}if(D){const I=D.call(r,r);lo(I)&&(n.data=yl(I))}if(Lb=!0,T)for(const I in T){const O=T[I],z=Fi(O)?O.bind(r,r):Fi(O.get)?O.get.bind(r,r):Dc,F=!Fi(O)&&Fi(O.set)?O.set.bind(r):Dc,B=cn({get:z,set:F});Object.defineProperty(S,I,{enumerable:!0,configurable:!0,get:()=>B.value,set:N=>B.value=N})}if(t)for(const I in t)n4(t[I],S,r,I);if(d){const I=Fi(d)?d.call(r):d;Reflect.ownKeys(I).forEach(O=>{ts(O,I[O])})}i&&w3(i,n,"c");function R(I,O){gi(O)?O.forEach(z=>I(z.bind(r))):O&&I(O.bind(r))}if(R(Sy,M),R(Ks,v),R(KT,f),R(JT,l),R($T,a),R(ZT,u),R(gE,C),R(mE,w),R(pE,y),R(kl,s),R(QT,c),R(dE,_),gi(k))if(k.length){const I=n.exposed||(n.exposed={});k.forEach(O=>{Object.defineProperty(I,O,{get:()=>r[O],set:z=>r[O]=z})})}else n.exposed||(n.exposed={});m&&n.render===Dc&&(n.render=m),E!=null&&(n.inheritAttrs=E),x&&(n.components=x),A&&(n.directives=A)}function _E(n,e,r=Dc,S=!1){gi(n)&&(n=Ib(n));for(const D in n){const T=n[D];let p;lo(T)?"default"in T?p=ka(T.from||D,T.default,!0):p=ka(T.from||D):p=ka(T),eo(p)&&S?Object.defineProperty(e,D,{enumerable:!0,configurable:!0,get:()=>p.value,set:t=>p.value=t}):e[D]=p}}function w3(n,e,r){Qu(gi(n)?n.map(S=>S.bind(e.proxy)):n.bind(e.proxy),e,r)}function n4(n,e,r,S){const D=S.includes(".")?GT(r,S):()=>r[S];if(Po(n)){const T=e[n];Fi(T)&&$r(D,T)}else if(Fi(n))$r(D,n.bind(r));else if(lo(n))if(gi(n))n.forEach(T=>n4(T,e,r,S));else{const T=Fi(n.handler)?n.handler.bind(r):e[n.handler];Fi(T)&&$r(D,T,n)}}function e2(n){const e=n.type,{mixins:r,extends:S}=e,{mixins:D,optionsCache:T,config:{optionMergeStrategies:p}}=n.appContext,t=T.get(e);let d;return t?d=t:!D.length&&!r&&!S?d=e:(d={},D.length&&D.forEach(g=>Lv(d,g,p,!0)),Lv(d,e,p)),lo(e)&&T.set(e,d),d}function Lv(n,e,r,S=!1){const{mixins:D,extends:T}=e;T&&Lv(n,T,r,!0),D&&D.forEach(p=>Lv(n,p,r,!0));for(const p in e)if(!(S&&p==="expose")){const t=wE[p]||r&&r[p];n[p]=t?t(n[p],e[p]):e[p]}return n}const wE={data:T3,props:Td,emits:Td,methods:Td,computed:Td,beforeCreate:pl,created:pl,beforeMount:pl,mounted:pl,beforeUpdate:pl,updated:pl,beforeDestroy:pl,beforeUnmount:pl,destroyed:pl,unmounted:pl,activated:pl,deactivated:pl,errorCaptured:pl,serverPrefetch:pl,components:Td,directives:Td,watch:kE,provide:T3,inject:TE};function T3(n,e){return e?n?function(){return Ms(Fi(n)?n.call(this,this):n,Fi(e)?e.call(this,this):e)}:e:n}function TE(n,e){return Td(Ib(n),Ib(e))}function Ib(n){if(gi(n)){const e={};for(let r=0;r0)&&!(p&16)){if(p&8){const i=n.vnode.dynamicProps;for(let M=0;M{d=!0;const[v,f]=i4(M,e,!0);Ms(p,v),f&&t.push(...f)};!r&&e.mixins.length&&e.mixins.forEach(i),n.extends&&i(n.extends),n.mixins&&n.mixins.forEach(i)}if(!T&&!d)return lo(n)&&S.set(n,Bp),Bp;if(gi(T))for(let i=0;i-1,f[1]=a<0||l-1||ga(f,"default"))&&t.push(M)}}}const g=[p,t];return lo(n)&&S.set(n,g),g}function k3(n){return n[0]!=="$"}function M3(n){const e=n&&n.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:n===null?"null":""}function A3(n,e){return M3(n)===M3(e)}function S3(n,e){return gi(e)?e.findIndex(r=>A3(r,n)):Fi(e)&&A3(e,n)?0:-1}const a4=n=>n[0]==="_"||n==="$stable",t2=n=>gi(n)?n.map(oh):[oh(n)],SE=(n,e,r)=>{if(e._n)return e;const S=ci((...D)=>t2(e(...D)),r);return S._c=!1,S},o4=(n,e,r)=>{const S=n._ctx;for(const D in n){if(a4(D))continue;const T=n[D];if(Fi(T))e[D]=SE(D,T,S);else if(T!=null){const p=t2(T);e[D]=()=>p}}},s4=(n,e)=>{const r=t2(e);n.slots.default=()=>r},CE=(n,e)=>{if(n.vnode.shapeFlag&32){const r=e._;r?(n.slots=wi(e),Av(e,"_",r)):o4(e,n.slots={})}else n.slots={},e&&s4(n,e);Av(n.slots,Cy,1)},EE=(n,e,r)=>{const{vnode:S,slots:D}=n;let T=!0,p=ao;if(S.shapeFlag&32){const t=e._;t?r&&t===1?T=!1:(Ms(D,e),!r&&t===1&&delete D._):(T=!e.$stable,o4(e,D)),p=e}else e&&(s4(n,e),p={default:1});if(T)for(const t in D)!a4(t)&&!(t in p)&&delete D[t]};function l4(){return{app:null,config:{isNativeTag:c8,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let LE=0;function IE(n,e){return function(S,D=null){Fi(S)||(S=Object.assign({},S)),D!=null&&!lo(D)&&(D=null);const T=l4(),p=new Set;let t=!1;const d=T.app={_uid:LE++,_component:S,_props:D,_container:null,_context:T,_instance:null,version:e7,get config(){return T.config},set config(g){},use(g,...i){return p.has(g)||(g&&Fi(g.install)?(p.add(g),g.install(d,...i)):Fi(g)&&(p.add(g),g(d,...i))),d},mixin(g){return T.mixins.includes(g)||T.mixins.push(g),d},component(g,i){return i?(T.components[g]=i,d):T.components[g]},directive(g,i){return i?(T.directives[g]=i,d):T.directives[g]},mount(g,i,M){if(!t){const v=gt(S,D);return v.appContext=T,i&&e?e(v,g):n(v,g,M),t=!0,d._container=g,g.__vue_app__=d,Ly(v.component)||v.component.proxy}},unmount(){t&&(n(null,d._container),delete d._container.__vue_app__)},provide(g,i){return T.provides[g]=i,d}};return d}}function Pb(n,e,r,S,D=!1){if(gi(n)){n.forEach((v,f)=>Pb(v,e&&(gi(e)?e[f]:e),r,S,D));return}if(cm(S)&&!D)return;const T=S.shapeFlag&4?Ly(S.component)||S.component.proxy:S.el,p=D?null:T,{i:t,r:d}=n,g=e&&e.r,i=t.refs===ao?t.refs={}:t.refs,M=t.setupState;if(g!=null&&g!==d&&(Po(g)?(i[g]=null,ga(M,g)&&(M[g]=null)):eo(g)&&(g.value=null)),Fi(d))Nf(d,t,12,[p,i]);else{const v=Po(d),f=eo(d);if(v||f){const l=()=>{if(n.f){const a=v?ga(M,d)?M[d]:i[d]:d.value;D?gi(a)&&Bx(a,T):gi(a)?a.includes(T)||a.push(T):v?(i[d]=[T],ga(M,d)&&(M[d]=i[d])):(d.value=[T],n.k&&(i[n.k]=d.value))}else v?(i[d]=p,ga(M,d)&&(M[d]=p)):f&&(d.value=p,n.k&&(i[n.k]=p))};p?(l.id=-1,Vl(l,r)):l()}}}const Vl=uE;function RE(n){return PE(n)}function PE(n,e){const r=v8();r.__VUE__=!0;const{insert:S,remove:D,patchProp:T,createElement:p,createText:t,createComment:d,setText:g,setElementText:i,parentNode:M,nextSibling:v,setScopeId:f=Dc,insertStaticContent:l}=n,a=(Z,X,Q,re=null,ie=null,oe=null,ue=!1,ce=null,ye=!!X.dynamicChildren)=>{if(Z===X)return;Z&&!Md(Z,X)&&(re=G(Z),N(Z,ie,oe,!0),Z=null),X.patchFlag===-2&&(ye=!1,X.dynamicChildren=null);const{type:de,ref:me,shapeFlag:pe}=X;switch(de){case Gm:u(Z,X,Q,re);break;case ec:o(Z,X,Q,re);break;case dv:Z==null&&s(X,Q,re,ue);break;case Yr:x(Z,X,Q,re,ie,oe,ue,ce,ye);break;default:pe&1?m(Z,X,Q,re,ie,oe,ue,ce,ye):pe&6?A(Z,X,Q,re,ie,oe,ue,ce,ye):(pe&64||pe&128)&&de.process(Z,X,Q,re,ie,oe,ue,ce,ye,H)}me!=null&&ie&&Pb(me,Z&&Z.ref,oe,X||Z,!X)},u=(Z,X,Q,re)=>{if(Z==null)S(X.el=t(X.children),Q,re);else{const ie=X.el=Z.el;X.children!==Z.children&&g(ie,X.children)}},o=(Z,X,Q,re)=>{Z==null?S(X.el=d(X.children||""),Q,re):X.el=Z.el},s=(Z,X,Q,re)=>{[Z.el,Z.anchor]=l(Z.children,X,Q,re,Z.el,Z.anchor)},h=({el:Z,anchor:X},Q,re)=>{let ie;for(;Z&&Z!==X;)ie=v(Z),S(Z,Q,re),Z=ie;S(X,Q,re)},c=({el:Z,anchor:X})=>{let Q;for(;Z&&Z!==X;)Q=v(Z),D(Z),Z=Q;D(X)},m=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{ue=ue||X.type==="svg",Z==null?w(X,Q,re,ie,oe,ue,ce,ye):_(Z,X,ie,oe,ue,ce,ye)},w=(Z,X,Q,re,ie,oe,ue,ce)=>{let ye,de;const{type:me,props:pe,shapeFlag:xe,transition:Pe,dirs:_e}=Z;if(ye=Z.el=p(Z.type,oe,pe&&pe.is,pe),xe&8?i(ye,Z.children):xe&16&&C(Z.children,ye,null,re,ie,oe&&me!=="foreignObject",ue,ce),_e&&vd(Z,null,re,"created"),y(ye,Z,Z.scopeId,ue,re),pe){for(const Se in pe)Se!=="value"&&!hv(Se)&&T(ye,Se,null,pe[Se],oe,Z.children,re,ie,U);"value"in pe&&T(ye,"value",null,pe.value),(de=pe.onVnodeBeforeMount)&&nh(de,re,Z)}_e&&vd(Z,null,re,"beforeMount");const Me=(!ie||ie&&!ie.pendingBranch)&&Pe&&!Pe.persisted;Me&&Pe.beforeEnter(ye),S(ye,X,Q),((de=pe&&pe.onVnodeMounted)||Me||_e)&&Vl(()=>{de&&nh(de,re,Z),Me&&Pe.enter(ye),_e&&vd(Z,null,re,"mounted")},ie)},y=(Z,X,Q,re,ie)=>{if(Q&&f(Z,Q),re)for(let oe=0;oe{for(let de=ye;de{const ce=X.el=Z.el;let{patchFlag:ye,dynamicChildren:de,dirs:me}=X;ye|=Z.patchFlag&16;const pe=Z.props||ao,xe=X.props||ao;let Pe;Q&&yd(Q,!1),(Pe=xe.onVnodeBeforeUpdate)&&nh(Pe,Q,X,Z),me&&vd(X,Z,Q,"beforeUpdate"),Q&&yd(Q,!0);const _e=ie&&X.type!=="foreignObject";if(de?k(Z.dynamicChildren,de,ce,Q,re,_e,oe):ue||O(Z,X,ce,null,Q,re,_e,oe,!1),ye>0){if(ye&16)E(ce,X,pe,xe,Q,re,ie);else if(ye&2&&pe.class!==xe.class&&T(ce,"class",null,xe.class,ie),ye&4&&T(ce,"style",pe.style,xe.style,ie),ye&8){const Me=X.dynamicProps;for(let Se=0;Se{Pe&&nh(Pe,Q,X,Z),me&&vd(X,Z,Q,"updated")},re)},k=(Z,X,Q,re,ie,oe,ue)=>{for(let ce=0;ce{if(Q!==re){if(Q!==ao)for(const ce in Q)!hv(ce)&&!(ce in re)&&T(Z,ce,Q[ce],null,ue,X.children,ie,oe,U);for(const ce in re){if(hv(ce))continue;const ye=re[ce],de=Q[ce];ye!==de&&ce!=="value"&&T(Z,ce,de,ye,ue,X.children,ie,oe,U)}"value"in re&&T(Z,"value",Q.value,re.value)}},x=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{const de=X.el=Z?Z.el:t(""),me=X.anchor=Z?Z.anchor:t("");let{patchFlag:pe,dynamicChildren:xe,slotScopeIds:Pe}=X;Pe&&(ce=ce?ce.concat(Pe):Pe),Z==null?(S(de,Q,re),S(me,Q,re),C(X.children,Q,me,ie,oe,ue,ce,ye)):pe>0&&pe&64&&xe&&Z.dynamicChildren?(k(Z.dynamicChildren,xe,Q,ie,oe,ue,ce),(X.key!=null||ie&&X===ie.subTree)&&n2(Z,X,!0)):O(Z,X,Q,me,ie,oe,ue,ce,ye)},A=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{X.slotScopeIds=ce,Z==null?X.shapeFlag&512?ie.ctx.activate(X,Q,re,ue,ye):L(X,Q,re,ie,oe,ue,ye):b(Z,X,ye)},L=(Z,X,Q,re,ie,oe,ue)=>{const ce=Z.component=qE(Z,re,ie);if(My(Z)&&(ce.ctx.renderer=H),WE(ce),ce.asyncDep){if(ie&&ie.registerDep(ce,R),!Z.el){const ye=ce.subTree=gt(ec);o(null,ye,X,Q)}return}R(ce,Z,X,Q,ie,oe,ue)},b=(Z,X,Q)=>{const re=X.component=Z.component;if(oE(Z,X,Q))if(re.asyncDep&&!re.asyncResolved){I(re,X,Q);return}else re.next=X,eE(re.update),re.update();else X.el=Z.el,re.vnode=X},R=(Z,X,Q,re,ie,oe,ue)=>{const ce=()=>{if(Z.isMounted){let{next:me,bu:pe,u:xe,parent:Pe,vnode:_e}=Z,Me=me,Se;yd(Z,!1),me?(me.el=_e.el,I(Z,me,ue)):me=_e,pe&&fv(pe),(Se=me.props&&me.props.onVnodeBeforeUpdate)&&nh(Se,Pe,me,_e),yd(Z,!0);const Ce=eb(Z),ae=Z.subTree;Z.subTree=Ce,a(ae,Ce,M(ae.el),G(ae),Z,ie,oe),me.el=Ce.el,Me===null&&sE(Z,Ce.el),xe&&Vl(xe,ie),(Se=me.props&&me.props.onVnodeUpdated)&&Vl(()=>nh(Se,Pe,me,_e),ie)}else{let me;const{el:pe,props:xe}=X,{bm:Pe,m:_e,parent:Me}=Z,Se=cm(X);if(yd(Z,!1),Pe&&fv(Pe),!Se&&(me=xe&&xe.onVnodeBeforeMount)&&nh(me,Me,X),yd(Z,!0),pe&&te){const Ce=()=>{Z.subTree=eb(Z),te(pe,Z.subTree,Z,ie,null)};Se?X.type.__asyncLoader().then(()=>!Z.isUnmounted&&Ce()):Ce()}else{const Ce=Z.subTree=eb(Z);a(null,Ce,Q,re,Z,ie,oe),X.el=Ce.el}if(_e&&Vl(_e,ie),!Se&&(me=xe&&xe.onVnodeMounted)){const Ce=X;Vl(()=>nh(me,Me,Ce),ie)}(X.shapeFlag&256||Me&&cm(Me.vnode)&&Me.vnode.shapeFlag&256)&&Z.a&&Vl(Z.a,ie),Z.isMounted=!0,X=Q=re=null}},ye=Z.effect=new Ux(ce,()=>Zx(de),Z.scope),de=Z.update=()=>ye.run();de.id=Z.uid,yd(Z,!0),de()},I=(Z,X,Q)=>{X.component=Z;const re=Z.vnode.props;Z.vnode=X,Z.next=null,AE(Z,X.props,re,Q),EE(Z,X.children,Q),d0(),y3(),p0()},O=(Z,X,Q,re,ie,oe,ue,ce,ye=!1)=>{const de=Z&&Z.children,me=Z?Z.shapeFlag:0,pe=X.children,{patchFlag:xe,shapeFlag:Pe}=X;if(xe>0){if(xe&128){F(de,pe,Q,re,ie,oe,ue,ce,ye);return}else if(xe&256){z(de,pe,Q,re,ie,oe,ue,ce,ye);return}}Pe&8?(me&16&&U(de,ie,oe),pe!==de&&i(Q,pe)):me&16?Pe&16?F(de,pe,Q,re,ie,oe,ue,ce,ye):U(de,ie,oe,!0):(me&8&&i(Q,""),Pe&16&&C(pe,Q,re,ie,oe,ue,ce,ye))},z=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{Z=Z||Bp,X=X||Bp;const de=Z.length,me=X.length,pe=Math.min(de,me);let xe;for(xe=0;xeme?U(Z,ie,oe,!0,!1,pe):C(X,Q,re,ie,oe,ue,ce,ye,pe)},F=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{let de=0;const me=X.length;let pe=Z.length-1,xe=me-1;for(;de<=pe&&de<=xe;){const Pe=Z[de],_e=X[de]=ye?Rf(X[de]):oh(X[de]);if(Md(Pe,_e))a(Pe,_e,Q,null,ie,oe,ue,ce,ye);else break;de++}for(;de<=pe&&de<=xe;){const Pe=Z[pe],_e=X[xe]=ye?Rf(X[xe]):oh(X[xe]);if(Md(Pe,_e))a(Pe,_e,Q,null,ie,oe,ue,ce,ye);else break;pe--,xe--}if(de>pe){if(de<=xe){const Pe=xe+1,_e=Pexe)for(;de<=pe;)N(Z[de],ie,oe,!0),de++;else{const Pe=de,_e=de,Me=new Map;for(de=_e;de<=xe;de++){const Be=X[de]=ye?Rf(X[de]):oh(X[de]);Be.key!=null&&Me.set(Be.key,de)}let Se,Ce=0;const ae=xe-_e+1;let fe=!1,be=0;const ke=new Array(ae);for(de=0;de=ae){N(Be,ie,oe,!0);continue}let ze;if(Be.key!=null)ze=Me.get(Be.key);else for(Se=_e;Se<=xe;Se++)if(ke[Se-_e]===0&&Md(Be,X[Se])){ze=Se;break}ze===void 0?N(Be,ie,oe,!0):(ke[ze-_e]=de+1,ze>=be?be=ze:fe=!0,a(Be,X[ze],Q,null,ie,oe,ue,ce,ye),Ce++)}const Le=fe?OE(ke):Bp;for(Se=Le.length-1,de=ae-1;de>=0;de--){const Be=_e+de,ze=X[Be],je=Be+1{const{el:oe,type:ue,transition:ce,children:ye,shapeFlag:de}=Z;if(de&6){B(Z.component.subTree,X,Q,re);return}if(de&128){Z.suspense.move(X,Q,re);return}if(de&64){ue.move(Z,X,Q,H);return}if(ue===Yr){S(oe,X,Q);for(let pe=0;pece.enter(oe),ie);else{const{leave:pe,delayLeave:xe,afterLeave:Pe}=ce,_e=()=>S(oe,X,Q),Me=()=>{pe(oe,()=>{_e(),Pe&&Pe()})};xe?xe(oe,_e,Me):Me()}else S(oe,X,Q)},N=(Z,X,Q,re=!1,ie=!1)=>{const{type:oe,props:ue,ref:ce,children:ye,dynamicChildren:de,shapeFlag:me,patchFlag:pe,dirs:xe}=Z;if(ce!=null&&Pb(ce,null,Q,Z,!0),me&256){X.ctx.deactivate(Z);return}const Pe=me&1&&xe,_e=!cm(Z);let Me;if(_e&&(Me=ue&&ue.onVnodeBeforeUnmount)&&nh(Me,X,Z),me&6)$(Z.component,Q,re);else{if(me&128){Z.suspense.unmount(Q,re);return}Pe&&vd(Z,null,X,"beforeUnmount"),me&64?Z.type.remove(Z,X,Q,ie,H,re):de&&(oe!==Yr||pe>0&&pe&64)?U(de,X,Q,!1,!0):(oe===Yr&&pe&384||!ie&&me&16)&&U(ye,X,Q),re&&W(Z)}(_e&&(Me=ue&&ue.onVnodeUnmounted)||Pe)&&Vl(()=>{Me&&nh(Me,X,Z),Pe&&vd(Z,null,X,"unmounted")},Q)},W=Z=>{const{type:X,el:Q,anchor:re,transition:ie}=Z;if(X===Yr){j(Q,re);return}if(X===dv){c(Z);return}const oe=()=>{D(Q),ie&&!ie.persisted&&ie.afterLeave&&ie.afterLeave()};if(Z.shapeFlag&1&&ie&&!ie.persisted){const{leave:ue,delayLeave:ce}=ie,ye=()=>ue(Q,oe);ce?ce(Z.el,oe,ye):ye()}else oe()},j=(Z,X)=>{let Q;for(;Z!==X;)Q=v(Z),D(Z),Z=Q;D(X)},$=(Z,X,Q)=>{const{bum:re,scope:ie,update:oe,subTree:ue,um:ce}=Z;re&&fv(re),ie.stop(),oe&&(oe.active=!1,N(ue,Z,X,Q)),ce&&Vl(ce,X),Vl(()=>{Z.isUnmounted=!0},X),X&&X.pendingBranch&&!X.isUnmounted&&Z.asyncDep&&!Z.asyncResolved&&Z.suspenseId===X.pendingId&&(X.deps--,X.deps===0&&X.resolve())},U=(Z,X,Q,re=!1,ie=!1,oe=0)=>{for(let ue=oe;ueZ.shapeFlag&6?G(Z.component.subTree):Z.shapeFlag&128?Z.suspense.next():v(Z.anchor||Z.el),q=(Z,X,Q)=>{Z==null?X._vnode&&N(X._vnode,null,null,!0):a(X._vnode||null,Z,X,null,null,null,Q),y3(),jT(),X._vnode=Z},H={p:a,um:N,m:B,r:W,mt:L,mc:C,pc:O,pbc:k,n:G,o:n};let ne,te;return e&&([ne,te]=e(H)),{render:q,hydrate:ne,createApp:IE(q,ne)}}function yd({effect:n,update:e},r){n.allowRecurse=e.allowRecurse=r}function n2(n,e,r=!1){const S=n.children,D=e.children;if(gi(S)&&gi(D))for(let T=0;T>1,n[r[t]]0&&(e[S]=r[T-1]),r[T]=S)}}for(T=r.length,p=r[T-1];T-- >0;)r[T]=p,p=e[p];return r}const DE=n=>n.__isTeleport,fm=n=>n&&(n.disabled||n.disabled===""),C3=n=>typeof SVGElement<"u"&&n instanceof SVGElement,Ob=(n,e)=>{const r=n&&n.to;return Po(r)?e?e(r):null:r},zE={__isTeleport:!0,process(n,e,r,S,D,T,p,t,d,g){const{mc:i,pc:M,pbc:v,o:{insert:f,querySelector:l,createText:a,createComment:u}}=g,o=fm(e.props);let{shapeFlag:s,children:h,dynamicChildren:c}=e;if(n==null){const m=e.el=a(""),w=e.anchor=a("");f(m,r,S),f(w,r,S);const y=e.target=Ob(e.props,l),C=e.targetAnchor=a("");y&&(f(C,y),p=p||C3(y));const _=(k,E)=>{s&16&&i(h,k,E,D,T,p,t,d)};o?_(r,w):y&&_(y,C)}else{e.el=n.el;const m=e.anchor=n.anchor,w=e.target=n.target,y=e.targetAnchor=n.targetAnchor,C=fm(n.props),_=C?r:w,k=C?m:y;if(p=p||C3(w),c?(v(n.dynamicChildren,c,_,D,T,p,t),n2(n,e,!0)):d||M(n,e,_,k,D,T,p,t,!1),o)C||rv(e,r,m,g,1);else if((e.props&&e.props.to)!==(n.props&&n.props.to)){const E=e.target=Ob(e.props,l);E&&rv(e,E,null,g,0)}else C&&rv(e,w,y,g,1)}u4(e)},remove(n,e,r,S,{um:D,o:{remove:T}},p){const{shapeFlag:t,children:d,anchor:g,targetAnchor:i,target:M,props:v}=n;if(M&&T(i),(p||!fm(v))&&(T(g),t&16))for(let f=0;f0?Ic||Bp:null,NE(),Am>0&&Ic&&Ic.push(n),n}function ei(n,e,r,S,D,T){return c4(ti(n,e,r,S,D,T,!0))}function za(n,e,r,S,D){return c4(gt(n,e,r,S,D,!0))}function Iv(n){return n?n.__v_isVNode===!0:!1}function Md(n,e){return n.type===e.type&&n.key===e.key}const Cy="__vInternal",h4=({key:n})=>n??null,pv=({ref:n,ref_key:e,ref_for:r})=>n!=null?Po(n)||eo(n)||Fi(n)?{i:Fs,r:n,k:e,f:!!r}:n:null;function ti(n,e=null,r=null,S=0,D=null,T=n===Yr?0:1,p=!1,t=!1){const d={__v_isVNode:!0,__v_skip:!0,type:n,props:e,key:e&&h4(e),ref:e&&pv(e),scopeId:wy,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:T,patchFlag:S,dynamicProps:D,dynamicChildren:null,appContext:null,ctx:Fs};return t?(r2(d,r),T&128&&n.normalize(d)):r&&(d.shapeFlag|=Po(r)?8:16),Am>0&&!p&&Ic&&(d.patchFlag>0||T&6)&&d.patchFlag!==32&&Ic.push(d),d}const gt=VE;function VE(n,e=null,r=null,S=0,D=null,T=!1){if((!n||n===e4)&&(n=ec),Iv(n)){const t=tf(n,e,!0);return r&&r2(t,r),Am>0&&!T&&Ic&&(t.shapeFlag&6?Ic[Ic.indexOf(n)]=t:Ic.push(t)),t.patchFlag|=-2,t}if(KE(n)&&(n=n.__vccOpts),e){e=jE(e);let{class:t,style:d}=e;t&&!Po(t)&&(e.class=Ju(t)),lo(d)&&(PT(d)&&!gi(d)&&(d=Ms({},d)),e.style=zs(d))}const p=Po(n)?1:lE(n)?128:DE(n)?64:lo(n)?4:Fi(n)?2:0;return ti(n,e,r,S,D,p,T,!0)}function jE(n){return n?PT(n)||Cy in n?Ms({},n):n:null}function tf(n,e,r=!1){const{props:S,ref:D,patchFlag:T,children:p}=n,t=e?qr(S||{},e):S;return{__v_isVNode:!0,__v_skip:!0,type:n.type,props:t,key:t&&h4(t),ref:e&&e.ref?r&&D?gi(D)?D.concat(pv(e)):[D,pv(e)]:pv(e):D,scopeId:n.scopeId,slotScopeIds:n.slotScopeIds,children:p,target:n.target,targetAnchor:n.targetAnchor,staticCount:n.staticCount,shapeFlag:n.shapeFlag,patchFlag:e&&n.type!==Yr?T===-1?16:T|16:T,dynamicProps:n.dynamicProps,dynamicChildren:n.dynamicChildren,appContext:n.appContext,dirs:n.dirs,transition:n.transition,component:n.component,suspense:n.suspense,ssContent:n.ssContent&&tf(n.ssContent),ssFallback:n.ssFallback&&tf(n.ssFallback),el:n.el,anchor:n.anchor,ctx:n.ctx,ce:n.ce}}function ia(n=" ",e=0){return gt(Gm,null,n,e)}function UE(n,e){const r=gt(dv,null,n);return r.staticCount=e,r}function Yi(n="",e=!1){return e?(Ir(),za(ec,null,n)):gt(ec,null,n)}function oh(n){return n==null||typeof n=="boolean"?gt(ec):gi(n)?gt(Yr,null,n.slice()):typeof n=="object"?Rf(n):gt(Gm,null,String(n))}function Rf(n){return n.el===null&&n.patchFlag!==-1||n.memo?n:tf(n)}function r2(n,e){let r=0;const{shapeFlag:S}=n;if(e==null)e=null;else if(gi(e))r=16;else if(typeof e=="object")if(S&65){const D=e.default;D&&(D._c&&(D._d=!1),r2(n,D()),D._c&&(D._d=!0));return}else{r=32;const D=e._;!D&&!(Cy in e)?e._ctx=Fs:D===3&&Fs&&(Fs.slots._===1?e._=1:(e._=2,n.patchFlag|=1024))}else Fi(e)?(e={default:e,_ctx:Fs},r=32):(e=String(e),S&64?(r=16,e=[ia(e)]):r=8);n.children=e,n.shapeFlag|=r}function qr(...n){const e={};for(let r=0;rWo||Fs,Xp=n=>{Wo=n,n.scope.on()},Bd=()=>{Wo&&Wo.scope.off(),Wo=null};function f4(n){return n.vnode.shapeFlag&4}let Sm=!1;function WE(n,e=!1){Sm=e;const{props:r,children:S}=n.vnode,D=f4(n);ME(n,r,D,e),CE(n,S);const T=D?YE(n,e):void 0;return Sm=!1,T}function YE(n,e){const r=n.type;n.accessCache=Object.create(null),n.proxy=Zp(new Proxy(n.ctx,bE));const{setup:S}=r;if(S){const D=n.setupContext=S.length>1?ZE(n):null;Xp(n),d0();const T=Nf(S,n,0,[n.props,D]);if(p0(),Bd(),yT(T)){if(T.then(Bd,Bd),e)return T.then(p=>{L3(n,p,e)}).catch(p=>{xy(p,n,0)});n.asyncDep=T}else L3(n,T,e)}else d4(n,e)}function L3(n,e,r){Fi(e)?n.type.__ssrInlineRender?n.ssrRender=e:n.render=e:lo(e)&&(n.setupState=FT(e)),d4(n,r)}let I3;function d4(n,e,r){const S=n.type;if(!n.render){if(!e&&I3&&!S.render){const D=S.template||e2(n).template;if(D){const{isCustomElement:T,compilerOptions:p}=n.appContext.config,{delimiters:t,compilerOptions:d}=S,g=Ms(Ms({isCustomElement:T,delimiters:t},p),d);S.render=I3(D,g)}}n.render=S.render||Dc}Xp(n),d0(),xE(n),p0(),Bd()}function $E(n){return new Proxy(n.attrs,{get(e,r){return $l(n,"get","$attrs"),e[r]}})}function ZE(n){const e=S=>{n.exposed=S||{}};let r;return{get attrs(){return r||(r=$E(n))},slots:n.slots,emit:n.emit,expose:e}}function Ly(n){if(n.exposed)return n.exposeProxy||(n.exposeProxy=new Proxy(FT(Zp(n.exposed)),{get(e,r){if(r in e)return e[r];if(r in hm)return hm[r](n)},has(e,r){return r in e||r in hm}}))}function XE(n,e=!0){return Fi(n)?n.displayName||n.name:n.name||e&&n.__name}function KE(n){return Fi(n)&&"__vccOpts"in n}const cn=(n,e)=>K8(n,e,Sm);function Xf(n,e,r){const S=arguments.length;return S===2?lo(e)&&!gi(e)?Iv(e)?gt(n,null,[e]):gt(n,e):gt(n,null,e):(S>3?r=Array.prototype.slice.call(arguments,2):S===3&&Iv(r)&&(r=[r]),gt(n,e,r))}const JE=Symbol(""),QE=()=>ka(JE),e7="3.2.47",t7="http://www.w3.org/2000/svg",Ad=typeof document<"u"?document:null,R3=Ad&&Ad.createElement("template"),n7={insert:(n,e,r)=>{e.insertBefore(n,r||null)},remove:n=>{const e=n.parentNode;e&&e.removeChild(n)},createElement:(n,e,r,S)=>{const D=e?Ad.createElementNS(t7,n):Ad.createElement(n,r?{is:r}:void 0);return n==="select"&&S&&S.multiple!=null&&D.setAttribute("multiple",S.multiple),D},createText:n=>Ad.createTextNode(n),createComment:n=>Ad.createComment(n),setText:(n,e)=>{n.nodeValue=e},setElementText:(n,e)=>{n.textContent=e},parentNode:n=>n.parentNode,nextSibling:n=>n.nextSibling,querySelector:n=>Ad.querySelector(n),setScopeId(n,e){n.setAttribute(e,"")},insertStaticContent(n,e,r,S,D,T){const p=r?r.previousSibling:e.lastChild;if(D&&(D===T||D.nextSibling))for(;e.insertBefore(D.cloneNode(!0),r),!(D===T||!(D=D.nextSibling)););else{R3.innerHTML=S?`${n}`:n;const t=R3.content;if(S){const d=t.firstChild;for(;d.firstChild;)t.appendChild(d.firstChild);t.removeChild(d)}e.insertBefore(t,r)}return[p?p.nextSibling:e.firstChild,r?r.previousSibling:e.lastChild]}};function r7(n,e,r){const S=n._vtc;S&&(e=(e?[e,...S]:[...S]).join(" ")),e==null?n.removeAttribute("class"):r?n.setAttribute("class",e):n.className=e}function i7(n,e,r){const S=n.style,D=Po(r);if(r&&!D){if(e&&!Po(e))for(const T in e)r[T]==null&&Db(S,T,"");for(const T in r)Db(S,T,r[T])}else{const T=S.display;D?e!==r&&(S.cssText=r):e&&n.removeAttribute("style"),"_vod"in n&&(S.display=T)}}const P3=/\s*!important$/;function Db(n,e,r){if(gi(r))r.forEach(S=>Db(n,e,S));else if(r==null&&(r=""),e.startsWith("--"))n.setProperty(e,r);else{const S=a7(n,e);P3.test(r)?n.setProperty(f0(S),r.replace(P3,""),"important"):n[S]=r}}const O3=["Webkit","Moz","ms"],ib={};function a7(n,e){const r=ib[e];if(r)return r;let S=tc(e);if(S!=="filter"&&S in n)return ib[e]=S;S=sf(S);for(let D=0;Dab||(h7.then(()=>ab=0),ab=Date.now());function d7(n,e){const r=S=>{if(!S._vts)S._vts=Date.now();else if(S._vts<=r.attached)return;Qu(p7(S,r.value),e,5,[S])};return r.value=n,r.attached=f7(),r}function p7(n,e){if(gi(e)){const r=n.stopImmediatePropagation;return n.stopImmediatePropagation=()=>{r.call(n),n._stopped=!0},e.map(S=>D=>!D._stopped&&S&&S(D))}else return e}const F3=/^on[a-z]/,m7=(n,e,r,S,D=!1,T,p,t,d)=>{e==="class"?r7(n,S,D):e==="style"?i7(n,r,S):my(e)?Fx(e)||u7(n,e,r,S,p):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):g7(n,e,S,D))?s7(n,e,S,T,p,t,d):(e==="true-value"?n._trueValue=S:e==="false-value"&&(n._falseValue=S),o7(n,e,S,D))};function g7(n,e,r,S){return S?!!(e==="innerHTML"||e==="textContent"||e in n&&F3.test(e)&&Fi(r)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&n.tagName==="INPUT"||e==="type"&&n.tagName==="TEXTAREA"||F3.test(e)&&Po(r)?!1:e in n}const Cf="transition",tm="animation",bh=(n,{slots:e})=>Xf(WT,m4(n),e);bh.displayName="Transition";const p4={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},v7=bh.props=Ms({},WT.props,p4),bd=(n,e=[])=>{gi(n)?n.forEach(r=>r(...e)):n&&n(...e)},B3=n=>n?gi(n)?n.some(e=>e.length>1):n.length>1:!1;function m4(n){const e={};for(const x in n)x in p4||(e[x]=n[x]);if(n.css===!1)return e;const{name:r="v",type:S,duration:D,enterFromClass:T=`${r}-enter-from`,enterActiveClass:p=`${r}-enter-active`,enterToClass:t=`${r}-enter-to`,appearFromClass:d=T,appearActiveClass:g=p,appearToClass:i=t,leaveFromClass:M=`${r}-leave-from`,leaveActiveClass:v=`${r}-leave-active`,leaveToClass:f=`${r}-leave-to`}=n,l=y7(D),a=l&&l[0],u=l&&l[1],{onBeforeEnter:o,onEnter:s,onEnterCancelled:h,onLeave:c,onLeaveCancelled:m,onBeforeAppear:w=o,onAppear:y=s,onAppearCancelled:C=h}=e,_=(x,A,L)=>{Lf(x,A?i:t),Lf(x,A?g:p),L&&L()},k=(x,A)=>{x._isLeaving=!1,Lf(x,M),Lf(x,f),Lf(x,v),A&&A()},E=x=>(A,L)=>{const b=x?y:s,R=()=>_(A,x,L);bd(b,[A,R]),N3(()=>{Lf(A,x?d:T),Uh(A,x?i:t),B3(b)||V3(A,S,a,R)})};return Ms(e,{onBeforeEnter(x){bd(o,[x]),Uh(x,T),Uh(x,p)},onBeforeAppear(x){bd(w,[x]),Uh(x,d),Uh(x,g)},onEnter:E(!1),onAppear:E(!0),onLeave(x,A){x._isLeaving=!0;const L=()=>k(x,A);Uh(x,M),v4(),Uh(x,v),N3(()=>{x._isLeaving&&(Lf(x,M),Uh(x,f),B3(c)||V3(x,S,u,L))}),bd(c,[x,L])},onEnterCancelled(x){_(x,!1),bd(h,[x])},onAppearCancelled(x){_(x,!0),bd(C,[x])},onLeaveCancelled(x){k(x),bd(m,[x])}})}function y7(n){if(n==null)return null;if(lo(n))return[ob(n.enter),ob(n.leave)];{const e=ob(n);return[e,e]}}function ob(n){return g8(n)}function Uh(n,e){e.split(/\s+/).forEach(r=>r&&n.classList.add(r)),(n._vtc||(n._vtc=new Set)).add(e)}function Lf(n,e){e.split(/\s+/).forEach(S=>S&&n.classList.remove(S));const{_vtc:r}=n;r&&(r.delete(e),r.size||(n._vtc=void 0))}function N3(n){requestAnimationFrame(()=>{requestAnimationFrame(n)})}let b7=0;function V3(n,e,r,S){const D=n._endId=++b7,T=()=>{D===n._endId&&S()};if(r)return setTimeout(T,r);const{type:p,timeout:t,propCount:d}=g4(n,e);if(!p)return S();const g=p+"end";let i=0;const M=()=>{n.removeEventListener(g,v),T()},v=f=>{f.target===n&&++i>=d&&M()};setTimeout(()=>{i(r[l]||"").split(", "),D=S(`${Cf}Delay`),T=S(`${Cf}Duration`),p=j3(D,T),t=S(`${tm}Delay`),d=S(`${tm}Duration`),g=j3(t,d);let i=null,M=0,v=0;e===Cf?p>0&&(i=Cf,M=p,v=T.length):e===tm?g>0&&(i=tm,M=g,v=d.length):(M=Math.max(p,g),i=M>0?p>g?Cf:tm:null,v=i?i===Cf?T.length:d.length:0);const f=i===Cf&&/\b(transform|all)(,|$)/.test(S(`${Cf}Property`).toString());return{type:i,timeout:M,propCount:v,hasTransform:f}}function j3(n,e){for(;n.lengthU3(r)+U3(n[S])))}function U3(n){return Number(n.slice(0,-1).replace(",","."))*1e3}function v4(){return document.body.offsetHeight}const y4=new WeakMap,b4=new WeakMap,x4={name:"TransitionGroup",props:Ms({},v7,{tag:String,moveClass:String}),setup(n,{slots:e}){const r=Ey(),S=qT();let D,T;return JT(()=>{if(!D.length)return;const p=n.moveClass||`${n.name||"v"}-move`;if(!M7(D[0].el,r.vnode.el,p))return;D.forEach(w7),D.forEach(T7);const t=D.filter(k7);v4(),t.forEach(d=>{const g=d.el,i=g.style;Uh(g,p),i.transform=i.webkitTransform=i.transitionDuration="";const M=g._moveCb=v=>{v&&v.target!==g||(!v||/transform$/.test(v.propertyName))&&(g.removeEventListener("transitionend",M),g._moveCb=null,Lf(g,p))};g.addEventListener("transitionend",M)})}),()=>{const p=wi(n),t=m4(p);let d=p.tag||Yr;D=T,T=e.default?Kx(e.default()):[];for(let g=0;gdelete n.mode;x4.props;const _7=x4;function w7(n){const e=n.el;e._moveCb&&e._moveCb(),e._enterCb&&e._enterCb()}function T7(n){b4.set(n,n.el.getBoundingClientRect())}function k7(n){const e=y4.get(n),r=b4.get(n),S=e.left-r.left,D=e.top-r.top;if(S||D){const T=n.el.style;return T.transform=T.webkitTransform=`translate(${S}px,${D}px)`,T.transitionDuration="0s",n}}function M7(n,e,r){const S=n.cloneNode();n._vtc&&n._vtc.forEach(p=>{p.split(/\s+/).forEach(t=>t&&S.classList.remove(t))}),r.split(/\s+/).forEach(p=>p&&S.classList.add(p)),S.style.display="none";const D=e.nodeType===1?e:e.parentNode;D.appendChild(S);const{hasTransform:T}=g4(S);return D.removeChild(S),T}const H3=n=>{const e=n.props["onUpdate:modelValue"]||!1;return gi(e)?r=>fv(e,r):e};function A7(n){n.target.composing=!0}function G3(n){const e=n.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const S7={created(n,{modifiers:{lazy:e,trim:r,number:S}},D){n._assign=H3(D);const T=S||D.props&&D.props.type==="number";Ip(n,e?"change":"input",p=>{if(p.target.composing)return;let t=n.value;r&&(t=t.trim()),T&&(t=kb(t)),n._assign(t)}),r&&Ip(n,"change",()=>{n.value=n.value.trim()}),e||(Ip(n,"compositionstart",A7),Ip(n,"compositionend",G3),Ip(n,"change",G3))},mounted(n,{value:e}){n.value=e??""},beforeUpdate(n,{value:e,modifiers:{lazy:r,trim:S,number:D}},T){if(n._assign=H3(T),n.composing||document.activeElement===n&&n.type!=="range"&&(r||S&&n.value.trim()===e||(D||n.type==="number")&&kb(n.value)===e))return;const p=e??"";n.value!==p&&(n.value=p)}},C7=["ctrl","shift","alt","meta"],E7={stop:n=>n.stopPropagation(),prevent:n=>n.preventDefault(),self:n=>n.target!==n.currentTarget,ctrl:n=>!n.ctrlKey,shift:n=>!n.shiftKey,alt:n=>!n.altKey,meta:n=>!n.metaKey,left:n=>"button"in n&&n.button!==0,middle:n=>"button"in n&&n.button!==1,right:n=>"button"in n&&n.button!==2,exact:(n,e)=>C7.some(r=>n[`${r}Key`]&&!e.includes(r))},jp=(n,e)=>(r,...S)=>{for(let D=0;D{nm(n,!1)}):nm(n,e))},beforeUnmount(n,{value:e}){nm(n,e)}};function nm(n,e){n.style.display=e?n._vod:"none"}const L7=Ms({patchProp:m7},n7);let q3;function I7(){return q3||(q3=RE(L7))}const R7=(...n)=>{const e=I7().createApp(...n),{mount:r}=e;return e.mount=S=>{const D=P7(S);if(!D)return;const T=e._component;!Fi(T)&&!T.render&&!T.template&&(T.template=D.innerHTML),D.innerHTML="";const p=r(D,!1,D instanceof SVGElement);return D instanceof Element&&(D.removeAttribute("v-cloak"),D.setAttribute("data-v-app","")),p},e};function P7(n){return Po(n)?document.querySelector(n):n}var O7=!1;/*! * pinia v2.0.35 * (c) 2023 Eduardo San Martin Morote * @license MIT */let _4;const Iy=n=>_4=n,w4=Symbol();function zb(n){return n&&typeof n=="object"&&Object.prototype.toString.call(n)==="[object Object]"&&typeof n.toJSON!="function"}var pm;(function(n){n.direct="direct",n.patchObject="patch object",n.patchFunction="patch function"})(pm||(pm={}));function D7(){const n=Um(!0),e=n.run(()=>Vr({}));let r=[],S=[];const D=Zp({install(T){Iy(D),D._a=T,T.provide(w4,D),T.config.globalProperties.$pinia=D,S.forEach(p=>r.push(p)),S=[]},use(T){return!this._a&&!O7?S.push(T):r.push(T),this},_p:r,_a:null,_e:n,_s:new Map,state:e});return D}const T4=()=>{};function W3(n,e,r,S=T4){n.push(e);const D=()=>{const T=n.indexOf(e);T>-1&&(n.splice(T,1),S())};return!r&&wT()&&Tl(D),D}function Mp(n,...e){n.slice().forEach(r=>{r(...e)})}function Fb(n,e){n instanceof Map&&e instanceof Map&&e.forEach((r,S)=>n.set(S,r)),n instanceof Set&&e instanceof Set&&e.forEach(n.add,n);for(const r in e){if(!e.hasOwnProperty(r))continue;const S=e[r],D=n[r];zb(D)&&zb(S)&&n.hasOwnProperty(r)&&!eo(S)&&!Bf(S)?n[r]=Fb(D,S):n[r]=S}return n}const z7=Symbol();function F7(n){return!zb(n)||!n.hasOwnProperty(z7)}const{assign:If}=Object;function B7(n){return!!(eo(n)&&n.effect)}function N7(n,e,r,S){const{state:D,actions:T,getters:p}=e,t=r.state.value[n];let d;function g(){t||(r.state.value[n]=D?D():{});const i=by(r.state.value[n]);return If(i,T,Object.keys(p||{}).reduce((M,v)=>(M[v]=Zp(cn(()=>{Iy(r);const f=r._s.get(n);return p[v].call(f,f)})),M),{}))}return d=k4(n,g,e,r,S,!0),d}function k4(n,e,r={},S,D,T){let p;const t=If({actions:{}},r),d={deep:!0};let g,i,M=Zp([]),v=Zp([]),f;const l=S.state.value[n];!T&&!l&&(S.state.value[n]={}),Vr({});let a;function u(y){let C;g=i=!1,typeof y=="function"?(y(S.state.value[n]),C={type:pm.patchFunction,storeId:n,events:f}):(Fb(S.state.value[n],y),C={type:pm.patchObject,payload:y,storeId:n,events:f});const _=a=Symbol();Ua().then(()=>{a===_&&(g=!0)}),i=!0,Mp(M,C,S.state.value[n])}const o=T?function(){const{state:C}=r,_=C?C():{};this.$patch(k=>{If(k,_)})}:T4;function s(){p.stop(),M=[],v=[],S._s.delete(n)}function h(y,C){return function(){Iy(S);const _=Array.from(arguments),k=[],E=[];function x(b){k.push(b)}function A(b){E.push(b)}Mp(v,{args:_,name:y,store:m,after:x,onError:A});let L;try{L=C.apply(this&&this.$id===n?this:m,_)}catch(b){throw Mp(E,b),b}return L instanceof Promise?L.then(b=>(Mp(k,b),b)).catch(b=>(Mp(E,b),Promise.reject(b))):(Mp(k,L),L)}}const c={_p:S,$id:n,$onAction:W3.bind(null,v),$patch:u,$reset:o,$subscribe(y,C={}){const _=W3(M,y,C.detached,()=>k()),k=p.run(()=>$r(()=>S.state.value[n],E=>{(C.flush==="sync"?i:g)&&y({storeId:n,type:pm.direct,events:f},E)},If({},d,C)));return _},$dispose:s},m=yl(c);S._s.set(n,m);const w=S._e.run(()=>(p=Um(),p.run(()=>e())));for(const y in w){const C=w[y];if(eo(C)&&!B7(C)||Bf(C))T||(l&&F7(C)&&(eo(C)?C.value=l[y]:Fb(C,l[y])),S.state.value[n][y]=C);else if(typeof C=="function"){const _=h(y,C);w[y]=_,t.actions[y]=C}}return If(m,w),If(wi(m),w),Object.defineProperty(m,"$state",{get:()=>S.state.value[n],set:y=>{u(C=>{If(C,y)})}}),S._p.forEach(y=>{If(m,p.run(()=>y({store:m,app:S._a,pinia:S,options:t})))}),l&&T&&r.hydrate&&r.hydrate(m.$state,l),g=!0,i=!0,m}function i2(n,e,r){let S,D;const T=typeof e=="function";typeof n=="string"?(S=n,D=T?r:e):(D=n,S=n.id);function p(t,d){const g=Ey();return t=t||g&&ka(w4,null),t&&Iy(t),t=_4,t._s.has(S)||(T?k4(S,e,D,t):N7(S,D,t)),t._s.get(S)}return p.$id=S,p}var V7=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function a2(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var M4={exports:{}},Ba={};/** @license React v16.13.1 -======== -(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const D of document.querySelectorAll('link[rel="modulepreload"]'))C(D);new MutationObserver(D=>{for(const T of D)if(T.type==="childList")for(const p of T.addedNodes)p.tagName==="LINK"&&p.rel==="modulepreload"&&C(p)}).observe(document,{childList:!0,subtree:!0});function r(D){const T={};return D.integrity&&(T.integrity=D.integrity),D.referrerPolicy&&(T.referrerPolicy=D.referrerPolicy),D.crossOrigin==="use-credentials"?T.credentials="include":D.crossOrigin==="anonymous"?T.credentials="omit":T.credentials="same-origin",T}function C(D){if(D.ep)return;D.ep=!0;const T=r(D);fetch(D.href,T)}})();function zx(n,e){const r=Object.create(null),C=n.split(",");for(let D=0;D!!r[D.toLowerCase()]:D=>!!r[D]}function zs(n){if(gi(n)){const e={};for(let r=0;r{if(r){const C=r.split(a8);C.length>1&&(e[C[0].trim()]=C[1].trim())}}),e}function Ju(n){let e="";if(Po(n))e=n;else if(gi(n))for(let r=0;rPo(n)?n:n==null?"":gi(n)||so(n)&&(n.toString===bT||!Fi(n.toString))?JSON.stringify(n,gT,2):String(n),gT=(n,e)=>e&&e.__v_isRef?gT(n,e.value):Np(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((r,[C,D])=>(r[`${C} =>`]=D,r),{})}:vT(e)?{[`Set(${e.size})`]:[...e.values()]}:so(e)&&!gi(e)&&!xT(e)?String(e):e,io={},Bp=[],Dc=()=>{},c8=()=>!1,h8=/^on[^a-z]/,my=n=>h8.test(n),Fx=n=>n.startsWith("onUpdate:"),Ms=Object.assign,Bx=(n,e)=>{const r=n.indexOf(e);r>-1&&n.splice(r,1)},f8=Object.prototype.hasOwnProperty,ga=(n,e)=>f8.call(n,e),gi=Array.isArray,Np=n=>gy(n)==="[object Map]",vT=n=>gy(n)==="[object Set]",Fi=n=>typeof n=="function",Po=n=>typeof n=="string",Nx=n=>typeof n=="symbol",so=n=>n!==null&&typeof n=="object",yT=n=>so(n)&&Fi(n.then)&&Fi(n.catch),bT=Object.prototype.toString,gy=n=>bT.call(n),d8=n=>gy(n).slice(8,-1),xT=n=>gy(n)==="[object Object]",Vx=n=>Po(n)&&n!=="NaN"&&n[0]!=="-"&&""+parseInt(n,10)===n,hv=zx(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),vy=n=>{const e=Object.create(null);return r=>e[r]||(e[r]=n(r))},p8=/-(\w)/g,tc=vy(n=>n.replace(p8,(e,r)=>r?r.toUpperCase():"")),m8=/\B([A-Z])/g,f0=vy(n=>n.replace(m8,"-$1").toLowerCase()),sf=vy(n=>n.charAt(0).toUpperCase()+n.slice(1)),Q1=vy(n=>n?`on${sf(n)}`:""),xm=(n,e)=>!Object.is(n,e),fv=(n,e)=>{for(let r=0;r{Object.defineProperty(n,e,{configurable:!0,enumerable:!1,value:r})},kb=n=>{const e=parseFloat(n);return isNaN(e)?n:e},g8=n=>{const e=Po(n)?Number(n):NaN;return isNaN(e)?n:e};let c3;const v8=()=>c3||(c3=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let du;class _T{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=du,!e&&du&&(this.index=(du.scopes||(du.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const r=du;try{return du=this,e()}finally{du=r}}}on(){du=this}off(){du=this.parent}stop(e){if(this._active){let r,C;for(r=0,C=this.effects.length;r{const e=new Set(n);return e.w=0,e.n=0,e},TT=n=>(n.w&jf)>0,kT=n=>(n.n&jf)>0,b8=({deps:n})=>{if(n.length)for(let e=0;e{const{deps:e}=n;if(e.length){let r=0;for(let C=0;C{(i==="length"||i>=d)&&t.push(g)})}else switch(r!==void 0&&t.push(p.get(r)),e){case"add":gi(n)?Vx(r)&&t.push(p.get("length")):(t.push(p.get(Fd)),Np(n)&&t.push(p.get(Ab)));break;case"delete":gi(n)||(t.push(p.get(Fd)),Np(n)&&t.push(p.get(Ab)));break;case"set":Np(n)&&t.push(p.get(Fd));break}if(t.length===1)t[0]&&Sb(t[0]);else{const d=[];for(const g of t)g&&d.push(...g);Sb(jx(d))}}function Sb(n,e){const r=gi(n)?n:[...n];for(const C of r)C.computed&&f3(C);for(const C of r)C.computed||f3(C)}function f3(n,e){(n!==Lc||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}function _8(n,e){var r;return(r=Sv.get(n))===null||r===void 0?void 0:r.get(e)}const w8=zx("__proto__,__v_isRef,__isVue"),ST=new Set(Object.getOwnPropertyNames(Symbol).filter(n=>n!=="arguments"&&n!=="caller").map(n=>Symbol[n]).filter(Nx)),T8=Hx(),k8=Hx(!1,!0),M8=Hx(!0),d3=A8();function A8(){const n={};return["includes","indexOf","lastIndexOf"].forEach(e=>{n[e]=function(...r){const C=wi(this);for(let T=0,p=this.length;T{n[e]=function(...r){d0();const C=wi(this)[e].apply(this,r);return p0(),C}}),n}function S8(n){const e=wi(this);return $l(e,"has",n),e.hasOwnProperty(n)}function Hx(n=!1,e=!1){return function(C,D,T){if(D==="__v_isReactive")return!n;if(D==="__v_isReadonly")return n;if(D==="__v_isShallow")return e;if(D==="__v_raw"&&T===(n?e?H8:RT:e?IT:LT).get(C))return C;const p=gi(C);if(!n){if(p&&ga(d3,D))return Reflect.get(d3,D,T);if(D==="hasOwnProperty")return S8}const t=Reflect.get(C,D,T);return(Nx(D)?ST.has(D):w8(D))||(n||$l(C,"get",D),e)?t:eo(t)?p&&Vx(D)?t:t.value:so(t)?n?Hm(t):yl(t):t}}const C8=CT(),E8=CT(!0);function CT(n=!1){return function(r,C,D,T){let p=r[C];if($p(p)&&eo(p)&&!eo(D))return!1;if(!n&&(!Cv(D)&&!$p(D)&&(p=wi(p),D=wi(D)),!gi(r)&&eo(p)&&!eo(D)))return p.value=D,!0;const t=gi(r)&&Vx(C)?Number(C)n,yy=n=>Reflect.getPrototypeOf(n);function Kg(n,e,r=!1,C=!1){n=n.__v_raw;const D=wi(n),T=wi(e);r||(e!==T&&$l(D,"get",e),$l(D,"get",T));const{has:p}=yy(D),t=C?Gx:r?Yx:_m;if(p.call(D,e))return t(n.get(e));if(p.call(D,T))return t(n.get(T));n!==D&&n.get(e)}function Jg(n,e=!1){const r=this.__v_raw,C=wi(r),D=wi(n);return e||(n!==D&&$l(C,"has",n),$l(C,"has",D)),n===D?r.has(n):r.has(n)||r.has(D)}function Qg(n,e=!1){return n=n.__v_raw,!e&&$l(wi(n),"iterate",Fd),Reflect.get(n,"size",n)}function p3(n){n=wi(n);const e=wi(this);return yy(e).has.call(e,n)||(e.add(n),ef(e,"add",n,n)),this}function m3(n,e){e=wi(e);const r=wi(this),{has:C,get:D}=yy(r);let T=C.call(r,n);T||(n=wi(n),T=C.call(r,n));const p=D.call(r,n);return r.set(n,e),T?xm(e,p)&&ef(r,"set",n,e):ef(r,"add",n,e),this}function g3(n){const e=wi(this),{has:r,get:C}=yy(e);let D=r.call(e,n);D||(n=wi(n),D=r.call(e,n)),C&&C.call(e,n);const T=e.delete(n);return D&&ef(e,"delete",n,void 0),T}function v3(){const n=wi(this),e=n.size!==0,r=n.clear();return e&&ef(n,"clear",void 0,void 0),r}function ev(n,e){return function(C,D){const T=this,p=T.__v_raw,t=wi(p),d=e?Gx:n?Yx:_m;return!n&&$l(t,"iterate",Fd),p.forEach((g,i)=>C.call(D,d(g),d(i),T))}}function tv(n,e,r){return function(...C){const D=this.__v_raw,T=wi(D),p=Np(T),t=n==="entries"||n===Symbol.iterator&&p,d=n==="keys"&&p,g=D[n](...C),i=r?Gx:e?Yx:_m;return!e&&$l(T,"iterate",d?Ab:Fd),{next(){const{value:M,done:v}=g.next();return v?{value:M,done:v}:{value:t?[i(M[0]),i(M[1])]:i(M),done:v}},[Symbol.iterator](){return this}}}}function Sf(n){return function(...e){return n==="delete"?!1:this}}function D8(){const n={get(T){return Kg(this,T)},get size(){return Qg(this)},has:Jg,add:p3,set:m3,delete:g3,clear:v3,forEach:ev(!1,!1)},e={get(T){return Kg(this,T,!1,!0)},get size(){return Qg(this)},has:Jg,add:p3,set:m3,delete:g3,clear:v3,forEach:ev(!1,!0)},r={get(T){return Kg(this,T,!0)},get size(){return Qg(this,!0)},has(T){return Jg.call(this,T,!0)},add:Sf("add"),set:Sf("set"),delete:Sf("delete"),clear:Sf("clear"),forEach:ev(!0,!1)},C={get(T){return Kg(this,T,!0,!0)},get size(){return Qg(this,!0)},has(T){return Jg.call(this,T,!0)},add:Sf("add"),set:Sf("set"),delete:Sf("delete"),clear:Sf("clear"),forEach:ev(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(T=>{n[T]=tv(T,!1,!1),r[T]=tv(T,!0,!1),e[T]=tv(T,!1,!0),C[T]=tv(T,!0,!0)}),[n,r,e,C]}const[z8,F8,B8,N8]=D8();function qx(n,e){const r=e?n?N8:B8:n?F8:z8;return(C,D,T)=>D==="__v_isReactive"?!n:D==="__v_isReadonly"?n:D==="__v_raw"?C:Reflect.get(ga(r,D)&&D in C?r:C,D,T)}const V8={get:qx(!1,!1)},j8={get:qx(!1,!0)},U8={get:qx(!0,!1)},LT=new WeakMap,IT=new WeakMap,RT=new WeakMap,H8=new WeakMap;function G8(n){switch(n){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function q8(n){return n.__v_skip||!Object.isExtensible(n)?0:G8(d8(n))}function yl(n){return $p(n)?n:Wx(n,!1,ET,V8,LT)}function W8(n){return Wx(n,!1,O8,j8,IT)}function Hm(n){return Wx(n,!0,P8,U8,RT)}function Wx(n,e,r,C,D){if(!so(n)||n.__v_raw&&!(e&&n.__v_isReactive))return n;const T=D.get(n);if(T)return T;const p=q8(n);if(p===0)return n;const t=new Proxy(n,p===2?C:r);return D.set(n,t),t}function Bf(n){return $p(n)?Bf(n.__v_raw):!!(n&&n.__v_isReactive)}function $p(n){return!!(n&&n.__v_isReadonly)}function Cv(n){return!!(n&&n.__v_isShallow)}function PT(n){return Bf(n)||$p(n)}function wi(n){const e=n&&n.__v_raw;return e?wi(e):n}function Zp(n){return Av(n,"__v_skip",!0),n}const _m=n=>so(n)?yl(n):n,Yx=n=>so(n)?Hm(n):n;function OT(n){Ff&&Lc&&(n=wi(n),AT(n.dep||(n.dep=jx())))}function DT(n,e){n=wi(n);const r=n.dep;r&&Sb(r)}function eo(n){return!!(n&&n.__v_isRef===!0)}function Vr(n){return zT(n,!1)}function Wr(n){return zT(n,!0)}function zT(n,e){return eo(n)?n:new Y8(n,e)}class Y8{constructor(e,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?e:wi(e),this._value=r?e:_m(e)}get value(){return OT(this),this._value}set value(e){const r=this.__v_isShallow||Cv(e)||$p(e);e=r?e:wi(e),xm(e,this._rawValue)&&(this._rawValue=e,this._value=r?e:_m(e),DT(this))}}function yu(n){return eo(n)?n.value:n}const $8={get:(n,e,r)=>yu(Reflect.get(n,e,r)),set:(n,e,r,C)=>{const D=n[e];return eo(D)&&!eo(r)?(D.value=r,!0):Reflect.set(n,e,r,C)}};function FT(n){return Bf(n)?n:new Proxy(n,$8)}function by(n){const e=gi(n)?new Array(n.length):{};for(const r in n)e[r]=Cr(n,r);return e}class Z8{constructor(e,r,C){this._object=e,this._key=r,this._defaultValue=C,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return _8(wi(this._object),this._key)}}function Cr(n,e,r){const C=n[e];return eo(C)?C:new Z8(n,e,r)}var BT;class X8{constructor(e,r,C,D){this._setter=r,this.dep=void 0,this.__v_isRef=!0,this[BT]=!1,this._dirty=!0,this.effect=new Ux(e,()=>{this._dirty||(this._dirty=!0,DT(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!D,this.__v_isReadonly=C}get value(){const e=wi(this);return OT(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}BT="__v_isReadonly";function K8(n,e,r=!1){let C,D;const T=Fi(n);return T?(C=n,D=Dc):(C=n.get,D=n.set),new X8(C,D,T||!D,r)}function Nf(n,e,r,C){let D;try{D=C?n(...C):n()}catch(T){xy(T,e,r)}return D}function Qu(n,e,r,C){if(Fi(n)){const T=Nf(n,e,r,C);return T&&yT(T)&&T.catch(p=>{xy(p,e,r)}),T}const D=[];for(let T=0;T>>1;Tm($s[C])sh&&$s.splice(e,1)}function tE(n){gi(n)?Vp.push(...n):(!Gh||!Gh.includes(n,n.allowRecurse?kd+1:kd))&&Vp.push(n),VT()}function y3(n,e=wm?sh+1:0){for(;e<$s.length;e++){const r=$s[e];r&&r.pre&&($s.splice(e,1),e--,r())}}function jT(n){if(Vp.length){const e=[...new Set(Vp)];if(Vp.length=0,Gh){Gh.push(...e);return}for(Gh=e,Gh.sort((r,C)=>Tm(r)-Tm(C)),kd=0;kdn.id==null?1/0:n.id,nE=(n,e)=>{const r=Tm(n)-Tm(e);if(r===0){if(n.pre&&!e.pre)return-1;if(e.pre&&!n.pre)return 1}return r};function UT(n){Cb=!1,wm=!0,$s.sort(nE);const e=Dc;try{for(sh=0;sh<$s.length;sh++){const r=$s[sh];r&&r.active!==!1&&Nf(r,null,14)}}finally{sh=0,$s.length=0,jT(),wm=!1,$x=null,($s.length||Vp.length)&&UT()}}function rE(n,e,...r){if(n.isUnmounted)return;const C=n.vnode.props||io;let D=r;const T=e.startsWith("update:"),p=T&&e.slice(7);if(p&&p in C){const i=`${p==="modelValue"?"model":p}Modifiers`,{number:M,trim:v}=C[i]||io;v&&(D=r.map(f=>Po(f)?f.trim():f)),M&&(D=r.map(kb))}let t,d=C[t=Q1(e)]||C[t=Q1(tc(e))];!d&&T&&(d=C[t=Q1(f0(e))]),d&&Qu(d,n,6,D);const g=C[t+"Once"];if(g){if(!n.emitted)n.emitted={};else if(n.emitted[t])return;n.emitted[t]=!0,Qu(g,n,6,D)}}function HT(n,e,r=!1){const C=e.emitsCache,D=C.get(n);if(D!==void 0)return D;const T=n.emits;let p={},t=!1;if(!Fi(n)){const d=g=>{const i=HT(g,e,!0);i&&(t=!0,Ms(p,i))};!r&&e.mixins.length&&e.mixins.forEach(d),n.extends&&d(n.extends),n.mixins&&n.mixins.forEach(d)}return!T&&!t?(so(n)&&C.set(n,null),null):(gi(T)?T.forEach(d=>p[d]=null):Ms(p,T),so(n)&&C.set(n,p),p)}function _y(n,e){return!n||!my(e)?!1:(e=e.slice(2).replace(/Once$/,""),ga(n,e[0].toLowerCase()+e.slice(1))||ga(n,f0(e))||ga(n,e))}let Fs=null,wy=null;function Ev(n){const e=Fs;return Fs=n,wy=n&&n.type.__scopeId||null,e}function Ty(n){wy=n}function ky(){wy=null}function ci(n,e=Fs,r){if(!e||n._n)return n;const C=(...D)=>{C._d&&E3(-1);const T=Ev(e);let p;try{p=n(...D)}finally{Ev(T),C._d&&E3(1)}return p};return C._n=!0,C._c=!0,C._d=!0,C}function eb(n){const{type:e,vnode:r,proxy:C,withProxy:D,props:T,propsOptions:[p],slots:t,attrs:d,emit:g,render:i,renderCache:M,data:v,setupState:f,ctx:l,inheritAttrs:a}=n;let u,o;const s=Ev(n);try{if(r.shapeFlag&4){const h=D||C;u=oh(i.call(h,h,M,T,f,v,l)),o=d}else{const h=e;u=oh(h.length>1?h(T,{attrs:d,slots:t,emit:g}):h(T,null)),o=e.props?d:iE(d)}}catch(h){dm.length=0,xy(h,n,1),u=gt(ec)}let c=u;if(o&&a!==!1){const h=Object.keys(o),{shapeFlag:m}=c;h.length&&m&7&&(p&&h.some(Fx)&&(o=aE(o,p)),c=tf(c,o))}return r.dirs&&(c=tf(c),c.dirs=c.dirs?c.dirs.concat(r.dirs):r.dirs),r.transition&&(c.transition=r.transition),u=c,Ev(s),u}const iE=n=>{let e;for(const r in n)(r==="class"||r==="style"||my(r))&&((e||(e={}))[r]=n[r]);return e},aE=(n,e)=>{const r={};for(const C in n)(!Fx(C)||!(C.slice(9)in e))&&(r[C]=n[C]);return r};function oE(n,e,r){const{props:C,children:D,component:T}=n,{props:p,children:t,patchFlag:d}=e,g=T.emitsOptions;if(e.dirs||e.transition)return!0;if(r&&d>=0){if(d&1024)return!0;if(d&16)return C?b3(C,p,g):!!p;if(d&8){const i=e.dynamicProps;for(let M=0;Mn.__isSuspense;function uE(n,e){e&&e.pendingBranch?gi(n)?e.effects.push(...n):e.effects.push(n):tE(n)}function ts(n,e){if(Wo){let r=Wo.provides;const C=Wo.parent&&Wo.parent.provides;C===r&&(r=Wo.provides=Object.create(C)),r[n]=e}}function ka(n,e,r=!1){const C=Wo||Fs;if(C){const D=C.parent==null?C.vnode.appContext&&C.vnode.appContext.provides:C.parent.provides;if(D&&n in D)return D[n];if(arguments.length>1)return r&&Fi(e)?e.call(C.proxy):e}}function wu(n,e){return Xx(n,null,e)}const nv={};function $r(n,e,r){return Xx(n,e,r)}function Xx(n,e,{immediate:r,deep:C,flush:D,onTrack:T,onTrigger:p}=io){const t=wT()===(Wo==null?void 0:Wo.scope)?Wo:null;let d,g=!1,i=!1;if(eo(n)?(d=()=>n.value,g=Cv(n)):Bf(n)?(d=()=>n,C=!0):gi(n)?(i=!0,g=n.some(c=>Bf(c)||Cv(c)),d=()=>n.map(c=>{if(eo(c))return c.value;if(Bf(c))return Sd(c);if(Fi(c))return Nf(c,t,2)})):Fi(n)?e?d=()=>Nf(n,t,2):d=()=>{if(!(t&&t.isUnmounted))return M&&M(),Qu(n,t,3,[v])}:d=Dc,e&&C){const c=d;d=()=>Sd(c())}let M,v=c=>{M=o.onStop=()=>{Nf(c,t,4)}},f;if(Sm)if(v=Dc,e?r&&Qu(e,t,3,[d(),i?[]:void 0,v]):d(),D==="sync"){const c=QE();f=c.__watcherHandles||(c.__watcherHandles=[])}else return Dc;let l=i?new Array(n.length).fill(nv):nv;const a=()=>{if(o.active)if(e){const c=o.run();(C||g||(i?c.some((h,m)=>xm(h,l[m])):xm(c,l)))&&(M&&M(),Qu(e,t,3,[c,l===nv?void 0:i&&l[0]===nv?[]:l,v]),l=c)}else o.run()};a.allowRecurse=!!e;let u;D==="sync"?u=a:D==="post"?u=()=>Nl(a,t&&t.suspense):(a.pre=!0,t&&(a.id=t.uid),u=()=>Zx(a));const o=new Ux(d,u);e?r?a():l=o.run():D==="post"?Nl(o.run.bind(o),t&&t.suspense):o.run();const s=()=>{o.stop(),t&&t.scope&&Bx(t.scope.effects,o)};return f&&f.push(s),s}function cE(n,e,r){const C=this.proxy,D=Po(n)?n.includes(".")?GT(C,n):()=>C[n]:n.bind(C,C);let T;Fi(e)?T=e:(T=e.handler,r=e);const p=Wo;Xp(this);const t=Xx(D,T.bind(C),r);return p?Xp(p):Bd(),t}function GT(n,e){const r=e.split(".");return()=>{let C=n;for(let D=0;D{Sd(r,e)});else if(xT(n))for(const r in n)Sd(n[r],e);return n}function qT(){const n={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ks(()=>{n.isMounted=!0}),Tl(()=>{n.isUnmounting=!0}),n}const Gu=[Function,Array],hE={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Gu,onEnter:Gu,onAfterEnter:Gu,onEnterCancelled:Gu,onBeforeLeave:Gu,onLeave:Gu,onAfterLeave:Gu,onLeaveCancelled:Gu,onBeforeAppear:Gu,onAppear:Gu,onAfterAppear:Gu,onAppearCancelled:Gu},setup(n,{slots:e}){const r=Ey(),C=qT();let D;return()=>{const T=e.default&&Kx(e.default(),!0);if(!T||!T.length)return;let p=T[0];if(T.length>1){for(const a of T)if(a.type!==ec){p=a;break}}const t=wi(n),{mode:d}=t;if(C.isLeaving)return tb(p);const g=x3(p);if(!g)return tb(p);const i=km(g,t,C,r);Mm(g,i);const M=r.subTree,v=M&&x3(M);let f=!1;const{getTransitionKey:l}=g.type;if(l){const a=l();D===void 0?D=a:a!==D&&(D=a,f=!0)}if(v&&v.type!==ec&&(!Md(g,v)||f)){const a=km(v,t,C,r);if(Mm(v,a),d==="out-in")return C.isLeaving=!0,a.afterLeave=()=>{C.isLeaving=!1,r.update.active!==!1&&r.update()},tb(p);d==="in-out"&&g.type!==ec&&(a.delayLeave=(u,o,s)=>{const c=YT(C,v);c[String(v.key)]=v,u._leaveCb=()=>{o(),u._leaveCb=void 0,delete i.delayedLeave},i.delayedLeave=s})}return p}}},WT=hE;function YT(n,e){const{leavingVNodes:r}=n;let C=r.get(e.type);return C||(C=Object.create(null),r.set(e.type,C)),C}function km(n,e,r,C){const{appear:D,mode:T,persisted:p=!1,onBeforeEnter:t,onEnter:d,onAfterEnter:g,onEnterCancelled:i,onBeforeLeave:M,onLeave:v,onAfterLeave:f,onLeaveCancelled:l,onBeforeAppear:a,onAppear:u,onAfterAppear:o,onAppearCancelled:s}=e,c=String(n.key),h=YT(r,n),m=(S,_)=>{S&&Qu(S,C,9,_)},w=(S,_)=>{const k=_[1];m(S,_),gi(S)?S.every(E=>E.length<=1)&&k():S.length<=1&&k()},y={mode:T,persisted:p,beforeEnter(S){let _=t;if(!r.isMounted)if(D)_=a||t;else return;S._leaveCb&&S._leaveCb(!0);const k=h[c];k&&Md(n,k)&&k.el._leaveCb&&k.el._leaveCb(),m(_,[S])},enter(S){let _=d,k=g,E=i;if(!r.isMounted)if(D)_=u||d,k=o||g,E=s||i;else return;let x=!1;const A=S._enterCb=L=>{x||(x=!0,L?m(E,[S]):m(k,[S]),y.delayedLeave&&y.delayedLeave(),S._enterCb=void 0)};_?w(_,[S,A]):A()},leave(S,_){const k=String(n.key);if(S._enterCb&&S._enterCb(!0),r.isUnmounting)return _();m(M,[S]);let E=!1;const x=S._leaveCb=A=>{E||(E=!0,_(),A?m(l,[S]):m(f,[S]),S._leaveCb=void 0,h[k]===n&&delete h[k])};h[k]=n,v?w(v,[S,x]):x()},clone(S){return km(S,e,r,C)}};return y}function tb(n){if(My(n))return n=tf(n),n.children=null,n}function x3(n){return My(n)?n.children?n.children[0]:void 0:n}function Mm(n,e){n.shapeFlag&6&&n.component?Mm(n.component.subTree,e):n.shapeFlag&128?(n.ssContent.transition=e.clone(n.ssContent),n.ssFallback.transition=e.clone(n.ssFallback)):n.transition=e}function Kx(n,e=!1,r){let C=[],D=0;for(let T=0;T1)for(let T=0;T!!n.type.__asyncLoader,My=n=>n.type.__isKeepAlive;function $T(n,e){XT(n,"a",e)}function ZT(n,e){XT(n,"da",e)}function XT(n,e,r=Wo){const C=n.__wdc||(n.__wdc=()=>{let D=r;for(;D;){if(D.isDeactivated)return;D=D.parent}return n()});if(Ay(e,C,r),r){let D=r.parent;for(;D&&D.parent;)My(D.parent.vnode)&&fE(C,e,r,D),D=D.parent}}function fE(n,e,r,C){const D=Ay(e,n,C,!0);QT(()=>{Bx(C[e],D)},r)}function Ay(n,e,r=Wo,C=!1){if(r){const D=r[n]||(r[n]=[]),T=e.__weh||(e.__weh=(...p)=>{if(r.isUnmounted)return;d0(),Xp(r);const t=Qu(e,r,n,p);return Bd(),p0(),t});return C?D.unshift(T):D.push(T),T}}const lf=n=>(e,r=Wo)=>(!Sm||n==="sp")&&Ay(n,(...C)=>e(...C),r),Sy=lf("bm"),Ks=lf("m"),KT=lf("bu"),JT=lf("u"),Tl=lf("bum"),QT=lf("um"),dE=lf("sp"),pE=lf("rtg"),mE=lf("rtc");function gE(n,e=Wo){Ay("ec",n,e)}function Co(n,e){const r=Fs;if(r===null)return n;const C=Ly(r)||r.proxy,D=n.dirs||(n.dirs=[]);for(let T=0;Te(p,t,void 0,T&&T[t]));else{const p=Object.keys(n);D=new Array(p.length);for(let t=0,d=p.length;tIv(e)?!(e.type===ec||e.type===Yr&&!t4(e.children)):!0)?n:null}const Eb=n=>n?f4(n)?Ly(n)||n.proxy:Eb(n.parent):null,hm=Ms(Object.create(null),{$:n=>n,$el:n=>n.vnode.el,$data:n=>n.data,$props:n=>n.props,$attrs:n=>n.attrs,$slots:n=>n.slots,$refs:n=>n.refs,$parent:n=>Eb(n.parent),$root:n=>Eb(n.root),$emit:n=>n.emit,$options:n=>e2(n),$forceUpdate:n=>n.f||(n.f=()=>Zx(n.update)),$nextTick:n=>n.n||(n.n=Ua.bind(n.proxy)),$watch:n=>cE.bind(n)}),rb=(n,e)=>n!==io&&!n.__isScriptSetup&&ga(n,e),bE={get({_:n},e){const{ctx:r,setupState:C,data:D,props:T,accessCache:p,type:t,appContext:d}=n;let g;if(e[0]!=="$"){const f=p[e];if(f!==void 0)switch(f){case 1:return C[e];case 2:return D[e];case 4:return r[e];case 3:return T[e]}else{if(rb(C,e))return p[e]=1,C[e];if(D!==io&&ga(D,e))return p[e]=2,D[e];if((g=n.propsOptions[0])&&ga(g,e))return p[e]=3,T[e];if(r!==io&&ga(r,e))return p[e]=4,r[e];Lb&&(p[e]=0)}}const i=hm[e];let M,v;if(i)return e==="$attrs"&&$l(n,"get",e),i(n);if((M=t.__cssModules)&&(M=M[e]))return M;if(r!==io&&ga(r,e))return p[e]=4,r[e];if(v=d.config.globalProperties,ga(v,e))return v[e]},set({_:n},e,r){const{data:C,setupState:D,ctx:T}=n;return rb(D,e)?(D[e]=r,!0):C!==io&&ga(C,e)?(C[e]=r,!0):ga(n.props,e)||e[0]==="$"&&e.slice(1)in n?!1:(T[e]=r,!0)},has({_:{data:n,setupState:e,accessCache:r,ctx:C,appContext:D,propsOptions:T}},p){let t;return!!r[p]||n!==io&&ga(n,p)||rb(e,p)||(t=T[0])&&ga(t,p)||ga(C,p)||ga(hm,p)||ga(D.config.globalProperties,p)},defineProperty(n,e,r){return r.get!=null?n._.accessCache[e]=0:ga(r,"value")&&this.set(n,e,r.value,null),Reflect.defineProperty(n,e,r)}};let Lb=!0;function xE(n){const e=e2(n),r=n.proxy,C=n.ctx;Lb=!1,e.beforeCreate&&w3(e.beforeCreate,n,"bc");const{data:D,computed:T,methods:p,watch:t,provide:d,inject:g,created:i,beforeMount:M,mounted:v,beforeUpdate:f,updated:l,activated:a,deactivated:u,beforeDestroy:o,beforeUnmount:s,destroyed:c,unmounted:h,render:m,renderTracked:w,renderTriggered:y,errorCaptured:S,serverPrefetch:_,expose:k,inheritAttrs:E,components:x,directives:A,filters:L}=e;if(g&&_E(g,C,null,n.appContext.config.unwrapInjectedRef),p)for(const I in p){const O=p[I];Fi(O)&&(C[I]=O.bind(r))}if(D){const I=D.call(r,r);so(I)&&(n.data=yl(I))}if(Lb=!0,T)for(const I in T){const O=T[I],z=Fi(O)?O.bind(r,r):Fi(O.get)?O.get.bind(r,r):Dc,F=!Fi(O)&&Fi(O.set)?O.set.bind(r):Dc,B=cn({get:z,set:F});Object.defineProperty(C,I,{enumerable:!0,configurable:!0,get:()=>B.value,set:N=>B.value=N})}if(t)for(const I in t)n4(t[I],C,r,I);if(d){const I=Fi(d)?d.call(r):d;Reflect.ownKeys(I).forEach(O=>{ts(O,I[O])})}i&&w3(i,n,"c");function R(I,O){gi(O)?O.forEach(z=>I(z.bind(r))):O&&I(O.bind(r))}if(R(Sy,M),R(Ks,v),R(KT,f),R(JT,l),R($T,a),R(ZT,u),R(gE,S),R(mE,w),R(pE,y),R(Tl,s),R(QT,h),R(dE,_),gi(k))if(k.length){const I=n.exposed||(n.exposed={});k.forEach(O=>{Object.defineProperty(I,O,{get:()=>r[O],set:z=>r[O]=z})})}else n.exposed||(n.exposed={});m&&n.render===Dc&&(n.render=m),E!=null&&(n.inheritAttrs=E),x&&(n.components=x),A&&(n.directives=A)}function _E(n,e,r=Dc,C=!1){gi(n)&&(n=Ib(n));for(const D in n){const T=n[D];let p;so(T)?"default"in T?p=ka(T.from||D,T.default,!0):p=ka(T.from||D):p=ka(T),eo(p)&&C?Object.defineProperty(e,D,{enumerable:!0,configurable:!0,get:()=>p.value,set:t=>p.value=t}):e[D]=p}}function w3(n,e,r){Qu(gi(n)?n.map(C=>C.bind(e.proxy)):n.bind(e.proxy),e,r)}function n4(n,e,r,C){const D=C.includes(".")?GT(r,C):()=>r[C];if(Po(n)){const T=e[n];Fi(T)&&$r(D,T)}else if(Fi(n))$r(D,n.bind(r));else if(so(n))if(gi(n))n.forEach(T=>n4(T,e,r,C));else{const T=Fi(n.handler)?n.handler.bind(r):e[n.handler];Fi(T)&&$r(D,T,n)}}function e2(n){const e=n.type,{mixins:r,extends:C}=e,{mixins:D,optionsCache:T,config:{optionMergeStrategies:p}}=n.appContext,t=T.get(e);let d;return t?d=t:!D.length&&!r&&!C?d=e:(d={},D.length&&D.forEach(g=>Lv(d,g,p,!0)),Lv(d,e,p)),so(e)&&T.set(e,d),d}function Lv(n,e,r,C=!1){const{mixins:D,extends:T}=e;T&&Lv(n,T,r,!0),D&&D.forEach(p=>Lv(n,p,r,!0));for(const p in e)if(!(C&&p==="expose")){const t=wE[p]||r&&r[p];n[p]=t?t(n[p],e[p]):e[p]}return n}const wE={data:T3,props:Td,emits:Td,methods:Td,computed:Td,beforeCreate:pl,created:pl,beforeMount:pl,mounted:pl,beforeUpdate:pl,updated:pl,beforeDestroy:pl,beforeUnmount:pl,destroyed:pl,unmounted:pl,activated:pl,deactivated:pl,errorCaptured:pl,serverPrefetch:pl,components:Td,directives:Td,watch:kE,provide:T3,inject:TE};function T3(n,e){return e?n?function(){return Ms(Fi(n)?n.call(this,this):n,Fi(e)?e.call(this,this):e)}:e:n}function TE(n,e){return Td(Ib(n),Ib(e))}function Ib(n){if(gi(n)){const e={};for(let r=0;r0)&&!(p&16)){if(p&8){const i=n.vnode.dynamicProps;for(let M=0;M{d=!0;const[v,f]=i4(M,e,!0);Ms(p,v),f&&t.push(...f)};!r&&e.mixins.length&&e.mixins.forEach(i),n.extends&&i(n.extends),n.mixins&&n.mixins.forEach(i)}if(!T&&!d)return so(n)&&C.set(n,Bp),Bp;if(gi(T))for(let i=0;i-1,f[1]=a<0||l-1||ga(f,"default"))&&t.push(M)}}}const g=[p,t];return so(n)&&C.set(n,g),g}function k3(n){return n[0]!=="$"}function M3(n){const e=n&&n.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:n===null?"null":""}function A3(n,e){return M3(n)===M3(e)}function S3(n,e){return gi(e)?e.findIndex(r=>A3(r,n)):Fi(e)&&A3(e,n)?0:-1}const a4=n=>n[0]==="_"||n==="$stable",t2=n=>gi(n)?n.map(oh):[oh(n)],SE=(n,e,r)=>{if(e._n)return e;const C=ci((...D)=>t2(e(...D)),r);return C._c=!1,C},o4=(n,e,r)=>{const C=n._ctx;for(const D in n){if(a4(D))continue;const T=n[D];if(Fi(T))e[D]=SE(D,T,C);else if(T!=null){const p=t2(T);e[D]=()=>p}}},s4=(n,e)=>{const r=t2(e);n.slots.default=()=>r},CE=(n,e)=>{if(n.vnode.shapeFlag&32){const r=e._;r?(n.slots=wi(e),Av(e,"_",r)):o4(e,n.slots={})}else n.slots={},e&&s4(n,e);Av(n.slots,Cy,1)},EE=(n,e,r)=>{const{vnode:C,slots:D}=n;let T=!0,p=io;if(C.shapeFlag&32){const t=e._;t?r&&t===1?T=!1:(Ms(D,e),!r&&t===1&&delete D._):(T=!e.$stable,o4(e,D)),p=e}else e&&(s4(n,e),p={default:1});if(T)for(const t in D)!a4(t)&&!(t in p)&&delete D[t]};function l4(){return{app:null,config:{isNativeTag:c8,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let LE=0;function IE(n,e){return function(C,D=null){Fi(C)||(C=Object.assign({},C)),D!=null&&!so(D)&&(D=null);const T=l4(),p=new Set;let t=!1;const d=T.app={_uid:LE++,_component:C,_props:D,_container:null,_context:T,_instance:null,version:e7,get config(){return T.config},set config(g){},use(g,...i){return p.has(g)||(g&&Fi(g.install)?(p.add(g),g.install(d,...i)):Fi(g)&&(p.add(g),g(d,...i))),d},mixin(g){return T.mixins.includes(g)||T.mixins.push(g),d},component(g,i){return i?(T.components[g]=i,d):T.components[g]},directive(g,i){return i?(T.directives[g]=i,d):T.directives[g]},mount(g,i,M){if(!t){const v=gt(C,D);return v.appContext=T,i&&e?e(v,g):n(v,g,M),t=!0,d._container=g,g.__vue_app__=d,Ly(v.component)||v.component.proxy}},unmount(){t&&(n(null,d._container),delete d._container.__vue_app__)},provide(g,i){return T.provides[g]=i,d}};return d}}function Pb(n,e,r,C,D=!1){if(gi(n)){n.forEach((v,f)=>Pb(v,e&&(gi(e)?e[f]:e),r,C,D));return}if(cm(C)&&!D)return;const T=C.shapeFlag&4?Ly(C.component)||C.component.proxy:C.el,p=D?null:T,{i:t,r:d}=n,g=e&&e.r,i=t.refs===io?t.refs={}:t.refs,M=t.setupState;if(g!=null&&g!==d&&(Po(g)?(i[g]=null,ga(M,g)&&(M[g]=null)):eo(g)&&(g.value=null)),Fi(d))Nf(d,t,12,[p,i]);else{const v=Po(d),f=eo(d);if(v||f){const l=()=>{if(n.f){const a=v?ga(M,d)?M[d]:i[d]:d.value;D?gi(a)&&Bx(a,T):gi(a)?a.includes(T)||a.push(T):v?(i[d]=[T],ga(M,d)&&(M[d]=i[d])):(d.value=[T],n.k&&(i[n.k]=d.value))}else v?(i[d]=p,ga(M,d)&&(M[d]=p)):f&&(d.value=p,n.k&&(i[n.k]=p))};p?(l.id=-1,Nl(l,r)):l()}}}const Nl=uE;function RE(n){return PE(n)}function PE(n,e){const r=v8();r.__VUE__=!0;const{insert:C,remove:D,patchProp:T,createElement:p,createText:t,createComment:d,setText:g,setElementText:i,parentNode:M,nextSibling:v,setScopeId:f=Dc,insertStaticContent:l}=n,a=(Z,X,Q,re=null,ie=null,oe=null,ue=!1,ce=null,ye=!!X.dynamicChildren)=>{if(Z===X)return;Z&&!Md(Z,X)&&(re=G(Z),N(Z,ie,oe,!0),Z=null),X.patchFlag===-2&&(ye=!1,X.dynamicChildren=null);const{type:de,ref:me,shapeFlag:pe}=X;switch(de){case Gm:u(Z,X,Q,re);break;case ec:o(Z,X,Q,re);break;case dv:Z==null&&s(X,Q,re,ue);break;case Yr:x(Z,X,Q,re,ie,oe,ue,ce,ye);break;default:pe&1?m(Z,X,Q,re,ie,oe,ue,ce,ye):pe&6?A(Z,X,Q,re,ie,oe,ue,ce,ye):(pe&64||pe&128)&&de.process(Z,X,Q,re,ie,oe,ue,ce,ye,H)}me!=null&&ie&&Pb(me,Z&&Z.ref,oe,X||Z,!X)},u=(Z,X,Q,re)=>{if(Z==null)C(X.el=t(X.children),Q,re);else{const ie=X.el=Z.el;X.children!==Z.children&&g(ie,X.children)}},o=(Z,X,Q,re)=>{Z==null?C(X.el=d(X.children||""),Q,re):X.el=Z.el},s=(Z,X,Q,re)=>{[Z.el,Z.anchor]=l(Z.children,X,Q,re,Z.el,Z.anchor)},c=({el:Z,anchor:X},Q,re)=>{let ie;for(;Z&&Z!==X;)ie=v(Z),C(Z,Q,re),Z=ie;C(X,Q,re)},h=({el:Z,anchor:X})=>{let Q;for(;Z&&Z!==X;)Q=v(Z),D(Z),Z=Q;D(X)},m=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{ue=ue||X.type==="svg",Z==null?w(X,Q,re,ie,oe,ue,ce,ye):_(Z,X,ie,oe,ue,ce,ye)},w=(Z,X,Q,re,ie,oe,ue,ce)=>{let ye,de;const{type:me,props:pe,shapeFlag:xe,transition:Pe,dirs:_e}=Z;if(ye=Z.el=p(Z.type,oe,pe&&pe.is,pe),xe&8?i(ye,Z.children):xe&16&&S(Z.children,ye,null,re,ie,oe&&me!=="foreignObject",ue,ce),_e&&vd(Z,null,re,"created"),y(ye,Z,Z.scopeId,ue,re),pe){for(const Se in pe)Se!=="value"&&!hv(Se)&&T(ye,Se,null,pe[Se],oe,Z.children,re,ie,U);"value"in pe&&T(ye,"value",null,pe.value),(de=pe.onVnodeBeforeMount)&&nh(de,re,Z)}_e&&vd(Z,null,re,"beforeMount");const Me=(!ie||ie&&!ie.pendingBranch)&&Pe&&!Pe.persisted;Me&&Pe.beforeEnter(ye),C(ye,X,Q),((de=pe&&pe.onVnodeMounted)||Me||_e)&&Nl(()=>{de&&nh(de,re,Z),Me&&Pe.enter(ye),_e&&vd(Z,null,re,"mounted")},ie)},y=(Z,X,Q,re,ie)=>{if(Q&&f(Z,Q),re)for(let oe=0;oe{for(let de=ye;de{const ce=X.el=Z.el;let{patchFlag:ye,dynamicChildren:de,dirs:me}=X;ye|=Z.patchFlag&16;const pe=Z.props||io,xe=X.props||io;let Pe;Q&&yd(Q,!1),(Pe=xe.onVnodeBeforeUpdate)&&nh(Pe,Q,X,Z),me&&vd(X,Z,Q,"beforeUpdate"),Q&&yd(Q,!0);const _e=ie&&X.type!=="foreignObject";if(de?k(Z.dynamicChildren,de,ce,Q,re,_e,oe):ue||O(Z,X,ce,null,Q,re,_e,oe,!1),ye>0){if(ye&16)E(ce,X,pe,xe,Q,re,ie);else if(ye&2&&pe.class!==xe.class&&T(ce,"class",null,xe.class,ie),ye&4&&T(ce,"style",pe.style,xe.style,ie),ye&8){const Me=X.dynamicProps;for(let Se=0;Se{Pe&&nh(Pe,Q,X,Z),me&&vd(X,Z,Q,"updated")},re)},k=(Z,X,Q,re,ie,oe,ue)=>{for(let ce=0;ce{if(Q!==re){if(Q!==io)for(const ce in Q)!hv(ce)&&!(ce in re)&&T(Z,ce,Q[ce],null,ue,X.children,ie,oe,U);for(const ce in re){if(hv(ce))continue;const ye=re[ce],de=Q[ce];ye!==de&&ce!=="value"&&T(Z,ce,de,ye,ue,X.children,ie,oe,U)}"value"in re&&T(Z,"value",Q.value,re.value)}},x=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{const de=X.el=Z?Z.el:t(""),me=X.anchor=Z?Z.anchor:t("");let{patchFlag:pe,dynamicChildren:xe,slotScopeIds:Pe}=X;Pe&&(ce=ce?ce.concat(Pe):Pe),Z==null?(C(de,Q,re),C(me,Q,re),S(X.children,Q,me,ie,oe,ue,ce,ye)):pe>0&&pe&64&&xe&&Z.dynamicChildren?(k(Z.dynamicChildren,xe,Q,ie,oe,ue,ce),(X.key!=null||ie&&X===ie.subTree)&&n2(Z,X,!0)):O(Z,X,Q,me,ie,oe,ue,ce,ye)},A=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{X.slotScopeIds=ce,Z==null?X.shapeFlag&512?ie.ctx.activate(X,Q,re,ue,ye):L(X,Q,re,ie,oe,ue,ye):b(Z,X,ye)},L=(Z,X,Q,re,ie,oe,ue)=>{const ce=Z.component=qE(Z,re,ie);if(My(Z)&&(ce.ctx.renderer=H),WE(ce),ce.asyncDep){if(ie&&ie.registerDep(ce,R),!Z.el){const ye=ce.subTree=gt(ec);o(null,ye,X,Q)}return}R(ce,Z,X,Q,ie,oe,ue)},b=(Z,X,Q)=>{const re=X.component=Z.component;if(oE(Z,X,Q))if(re.asyncDep&&!re.asyncResolved){I(re,X,Q);return}else re.next=X,eE(re.update),re.update();else X.el=Z.el,re.vnode=X},R=(Z,X,Q,re,ie,oe,ue)=>{const ce=()=>{if(Z.isMounted){let{next:me,bu:pe,u:xe,parent:Pe,vnode:_e}=Z,Me=me,Se;yd(Z,!1),me?(me.el=_e.el,I(Z,me,ue)):me=_e,pe&&fv(pe),(Se=me.props&&me.props.onVnodeBeforeUpdate)&&nh(Se,Pe,me,_e),yd(Z,!0);const Ce=eb(Z),ae=Z.subTree;Z.subTree=Ce,a(ae,Ce,M(ae.el),G(ae),Z,ie,oe),me.el=Ce.el,Me===null&&sE(Z,Ce.el),xe&&Nl(xe,ie),(Se=me.props&&me.props.onVnodeUpdated)&&Nl(()=>nh(Se,Pe,me,_e),ie)}else{let me;const{el:pe,props:xe}=X,{bm:Pe,m:_e,parent:Me}=Z,Se=cm(X);if(yd(Z,!1),Pe&&fv(Pe),!Se&&(me=xe&&xe.onVnodeBeforeMount)&&nh(me,Me,X),yd(Z,!0),pe&&te){const Ce=()=>{Z.subTree=eb(Z),te(pe,Z.subTree,Z,ie,null)};Se?X.type.__asyncLoader().then(()=>!Z.isUnmounted&&Ce()):Ce()}else{const Ce=Z.subTree=eb(Z);a(null,Ce,Q,re,Z,ie,oe),X.el=Ce.el}if(_e&&Nl(_e,ie),!Se&&(me=xe&&xe.onVnodeMounted)){const Ce=X;Nl(()=>nh(me,Me,Ce),ie)}(X.shapeFlag&256||Me&&cm(Me.vnode)&&Me.vnode.shapeFlag&256)&&Z.a&&Nl(Z.a,ie),Z.isMounted=!0,X=Q=re=null}},ye=Z.effect=new Ux(ce,()=>Zx(de),Z.scope),de=Z.update=()=>ye.run();de.id=Z.uid,yd(Z,!0),de()},I=(Z,X,Q)=>{X.component=Z;const re=Z.vnode.props;Z.vnode=X,Z.next=null,AE(Z,X.props,re,Q),EE(Z,X.children,Q),d0(),y3(),p0()},O=(Z,X,Q,re,ie,oe,ue,ce,ye=!1)=>{const de=Z&&Z.children,me=Z?Z.shapeFlag:0,pe=X.children,{patchFlag:xe,shapeFlag:Pe}=X;if(xe>0){if(xe&128){F(de,pe,Q,re,ie,oe,ue,ce,ye);return}else if(xe&256){z(de,pe,Q,re,ie,oe,ue,ce,ye);return}}Pe&8?(me&16&&U(de,ie,oe),pe!==de&&i(Q,pe)):me&16?Pe&16?F(de,pe,Q,re,ie,oe,ue,ce,ye):U(de,ie,oe,!0):(me&8&&i(Q,""),Pe&16&&S(pe,Q,re,ie,oe,ue,ce,ye))},z=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{Z=Z||Bp,X=X||Bp;const de=Z.length,me=X.length,pe=Math.min(de,me);let xe;for(xe=0;xeme?U(Z,ie,oe,!0,!1,pe):S(X,Q,re,ie,oe,ue,ce,ye,pe)},F=(Z,X,Q,re,ie,oe,ue,ce,ye)=>{let de=0;const me=X.length;let pe=Z.length-1,xe=me-1;for(;de<=pe&&de<=xe;){const Pe=Z[de],_e=X[de]=ye?Rf(X[de]):oh(X[de]);if(Md(Pe,_e))a(Pe,_e,Q,null,ie,oe,ue,ce,ye);else break;de++}for(;de<=pe&&de<=xe;){const Pe=Z[pe],_e=X[xe]=ye?Rf(X[xe]):oh(X[xe]);if(Md(Pe,_e))a(Pe,_e,Q,null,ie,oe,ue,ce,ye);else break;pe--,xe--}if(de>pe){if(de<=xe){const Pe=xe+1,_e=Pexe)for(;de<=pe;)N(Z[de],ie,oe,!0),de++;else{const Pe=de,_e=de,Me=new Map;for(de=_e;de<=xe;de++){const Be=X[de]=ye?Rf(X[de]):oh(X[de]);Be.key!=null&&Me.set(Be.key,de)}let Se,Ce=0;const ae=xe-_e+1;let fe=!1,be=0;const ke=new Array(ae);for(de=0;de=ae){N(Be,ie,oe,!0);continue}let ze;if(Be.key!=null)ze=Me.get(Be.key);else for(Se=_e;Se<=xe;Se++)if(ke[Se-_e]===0&&Md(Be,X[Se])){ze=Se;break}ze===void 0?N(Be,ie,oe,!0):(ke[ze-_e]=de+1,ze>=be?be=ze:fe=!0,a(Be,X[ze],Q,null,ie,oe,ue,ce,ye),Ce++)}const Le=fe?OE(ke):Bp;for(Se=Le.length-1,de=ae-1;de>=0;de--){const Be=_e+de,ze=X[Be],je=Be+1{const{el:oe,type:ue,transition:ce,children:ye,shapeFlag:de}=Z;if(de&6){B(Z.component.subTree,X,Q,re);return}if(de&128){Z.suspense.move(X,Q,re);return}if(de&64){ue.move(Z,X,Q,H);return}if(ue===Yr){C(oe,X,Q);for(let pe=0;pece.enter(oe),ie);else{const{leave:pe,delayLeave:xe,afterLeave:Pe}=ce,_e=()=>C(oe,X,Q),Me=()=>{pe(oe,()=>{_e(),Pe&&Pe()})};xe?xe(oe,_e,Me):Me()}else C(oe,X,Q)},N=(Z,X,Q,re=!1,ie=!1)=>{const{type:oe,props:ue,ref:ce,children:ye,dynamicChildren:de,shapeFlag:me,patchFlag:pe,dirs:xe}=Z;if(ce!=null&&Pb(ce,null,Q,Z,!0),me&256){X.ctx.deactivate(Z);return}const Pe=me&1&&xe,_e=!cm(Z);let Me;if(_e&&(Me=ue&&ue.onVnodeBeforeUnmount)&&nh(Me,X,Z),me&6)$(Z.component,Q,re);else{if(me&128){Z.suspense.unmount(Q,re);return}Pe&&vd(Z,null,X,"beforeUnmount"),me&64?Z.type.remove(Z,X,Q,ie,H,re):de&&(oe!==Yr||pe>0&&pe&64)?U(de,X,Q,!1,!0):(oe===Yr&&pe&384||!ie&&me&16)&&U(ye,X,Q),re&&W(Z)}(_e&&(Me=ue&&ue.onVnodeUnmounted)||Pe)&&Nl(()=>{Me&&nh(Me,X,Z),Pe&&vd(Z,null,X,"unmounted")},Q)},W=Z=>{const{type:X,el:Q,anchor:re,transition:ie}=Z;if(X===Yr){j(Q,re);return}if(X===dv){h(Z);return}const oe=()=>{D(Q),ie&&!ie.persisted&&ie.afterLeave&&ie.afterLeave()};if(Z.shapeFlag&1&&ie&&!ie.persisted){const{leave:ue,delayLeave:ce}=ie,ye=()=>ue(Q,oe);ce?ce(Z.el,oe,ye):ye()}else oe()},j=(Z,X)=>{let Q;for(;Z!==X;)Q=v(Z),D(Z),Z=Q;D(X)},$=(Z,X,Q)=>{const{bum:re,scope:ie,update:oe,subTree:ue,um:ce}=Z;re&&fv(re),ie.stop(),oe&&(oe.active=!1,N(ue,Z,X,Q)),ce&&Nl(ce,X),Nl(()=>{Z.isUnmounted=!0},X),X&&X.pendingBranch&&!X.isUnmounted&&Z.asyncDep&&!Z.asyncResolved&&Z.suspenseId===X.pendingId&&(X.deps--,X.deps===0&&X.resolve())},U=(Z,X,Q,re=!1,ie=!1,oe=0)=>{for(let ue=oe;ueZ.shapeFlag&6?G(Z.component.subTree):Z.shapeFlag&128?Z.suspense.next():v(Z.anchor||Z.el),q=(Z,X,Q)=>{Z==null?X._vnode&&N(X._vnode,null,null,!0):a(X._vnode||null,Z,X,null,null,null,Q),y3(),jT(),X._vnode=Z},H={p:a,um:N,m:B,r:W,mt:L,mc:S,pc:O,pbc:k,n:G,o:n};let ne,te;return e&&([ne,te]=e(H)),{render:q,hydrate:ne,createApp:IE(q,ne)}}function yd({effect:n,update:e},r){n.allowRecurse=e.allowRecurse=r}function n2(n,e,r=!1){const C=n.children,D=e.children;if(gi(C)&&gi(D))for(let T=0;T>1,n[r[t]]0&&(e[C]=r[T-1]),r[T]=C)}}for(T=r.length,p=r[T-1];T-- >0;)r[T]=p,p=e[p];return r}const DE=n=>n.__isTeleport,fm=n=>n&&(n.disabled||n.disabled===""),C3=n=>typeof SVGElement<"u"&&n instanceof SVGElement,Ob=(n,e)=>{const r=n&&n.to;return Po(r)?e?e(r):null:r},zE={__isTeleport:!0,process(n,e,r,C,D,T,p,t,d,g){const{mc:i,pc:M,pbc:v,o:{insert:f,querySelector:l,createText:a,createComment:u}}=g,o=fm(e.props);let{shapeFlag:s,children:c,dynamicChildren:h}=e;if(n==null){const m=e.el=a(""),w=e.anchor=a("");f(m,r,C),f(w,r,C);const y=e.target=Ob(e.props,l),S=e.targetAnchor=a("");y&&(f(S,y),p=p||C3(y));const _=(k,E)=>{s&16&&i(c,k,E,D,T,p,t,d)};o?_(r,w):y&&_(y,S)}else{e.el=n.el;const m=e.anchor=n.anchor,w=e.target=n.target,y=e.targetAnchor=n.targetAnchor,S=fm(n.props),_=S?r:w,k=S?m:y;if(p=p||C3(w),h?(v(n.dynamicChildren,h,_,D,T,p,t),n2(n,e,!0)):d||M(n,e,_,k,D,T,p,t,!1),o)S||rv(e,r,m,g,1);else if((e.props&&e.props.to)!==(n.props&&n.props.to)){const E=e.target=Ob(e.props,l);E&&rv(e,E,null,g,0)}else S&&rv(e,w,y,g,1)}u4(e)},remove(n,e,r,C,{um:D,o:{remove:T}},p){const{shapeFlag:t,children:d,anchor:g,targetAnchor:i,target:M,props:v}=n;if(M&&T(i),(p||!fm(v))&&(T(g),t&16))for(let f=0;f0?Ic||Bp:null,NE(),Am>0&&Ic&&Ic.push(n),n}function ei(n,e,r,C,D,T){return c4(ti(n,e,r,C,D,T,!0))}function za(n,e,r,C,D){return c4(gt(n,e,r,C,D,!0))}function Iv(n){return n?n.__v_isVNode===!0:!1}function Md(n,e){return n.type===e.type&&n.key===e.key}const Cy="__vInternal",h4=({key:n})=>n??null,pv=({ref:n,ref_key:e,ref_for:r})=>n!=null?Po(n)||eo(n)||Fi(n)?{i:Fs,r:n,k:e,f:!!r}:n:null;function ti(n,e=null,r=null,C=0,D=null,T=n===Yr?0:1,p=!1,t=!1){const d={__v_isVNode:!0,__v_skip:!0,type:n,props:e,key:e&&h4(e),ref:e&&pv(e),scopeId:wy,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:T,patchFlag:C,dynamicProps:D,dynamicChildren:null,appContext:null,ctx:Fs};return t?(r2(d,r),T&128&&n.normalize(d)):r&&(d.shapeFlag|=Po(r)?8:16),Am>0&&!p&&Ic&&(d.patchFlag>0||T&6)&&d.patchFlag!==32&&Ic.push(d),d}const gt=VE;function VE(n,e=null,r=null,C=0,D=null,T=!1){if((!n||n===e4)&&(n=ec),Iv(n)){const t=tf(n,e,!0);return r&&r2(t,r),Am>0&&!T&&Ic&&(t.shapeFlag&6?Ic[Ic.indexOf(n)]=t:Ic.push(t)),t.patchFlag|=-2,t}if(KE(n)&&(n=n.__vccOpts),e){e=jE(e);let{class:t,style:d}=e;t&&!Po(t)&&(e.class=Ju(t)),so(d)&&(PT(d)&&!gi(d)&&(d=Ms({},d)),e.style=zs(d))}const p=Po(n)?1:lE(n)?128:DE(n)?64:so(n)?4:Fi(n)?2:0;return ti(n,e,r,C,D,p,T,!0)}function jE(n){return n?PT(n)||Cy in n?Ms({},n):n:null}function tf(n,e,r=!1){const{props:C,ref:D,patchFlag:T,children:p}=n,t=e?qr(C||{},e):C;return{__v_isVNode:!0,__v_skip:!0,type:n.type,props:t,key:t&&h4(t),ref:e&&e.ref?r&&D?gi(D)?D.concat(pv(e)):[D,pv(e)]:pv(e):D,scopeId:n.scopeId,slotScopeIds:n.slotScopeIds,children:p,target:n.target,targetAnchor:n.targetAnchor,staticCount:n.staticCount,shapeFlag:n.shapeFlag,patchFlag:e&&n.type!==Yr?T===-1?16:T|16:T,dynamicProps:n.dynamicProps,dynamicChildren:n.dynamicChildren,appContext:n.appContext,dirs:n.dirs,transition:n.transition,component:n.component,suspense:n.suspense,ssContent:n.ssContent&&tf(n.ssContent),ssFallback:n.ssFallback&&tf(n.ssFallback),el:n.el,anchor:n.anchor,ctx:n.ctx,ce:n.ce}}function ia(n=" ",e=0){return gt(Gm,null,n,e)}function UE(n,e){const r=gt(dv,null,n);return r.staticCount=e,r}function Zi(n="",e=!1){return e?(Rr(),za(ec,null,n)):gt(ec,null,n)}function oh(n){return n==null||typeof n=="boolean"?gt(ec):gi(n)?gt(Yr,null,n.slice()):typeof n=="object"?Rf(n):gt(Gm,null,String(n))}function Rf(n){return n.el===null&&n.patchFlag!==-1||n.memo?n:tf(n)}function r2(n,e){let r=0;const{shapeFlag:C}=n;if(e==null)e=null;else if(gi(e))r=16;else if(typeof e=="object")if(C&65){const D=e.default;D&&(D._c&&(D._d=!1),r2(n,D()),D._c&&(D._d=!0));return}else{r=32;const D=e._;!D&&!(Cy in e)?e._ctx=Fs:D===3&&Fs&&(Fs.slots._===1?e._=1:(e._=2,n.patchFlag|=1024))}else Fi(e)?(e={default:e,_ctx:Fs},r=32):(e=String(e),C&64?(r=16,e=[ia(e)]):r=8);n.children=e,n.shapeFlag|=r}function qr(...n){const e={};for(let r=0;rWo||Fs,Xp=n=>{Wo=n,n.scope.on()},Bd=()=>{Wo&&Wo.scope.off(),Wo=null};function f4(n){return n.vnode.shapeFlag&4}let Sm=!1;function WE(n,e=!1){Sm=e;const{props:r,children:C}=n.vnode,D=f4(n);ME(n,r,D,e),CE(n,C);const T=D?YE(n,e):void 0;return Sm=!1,T}function YE(n,e){const r=n.type;n.accessCache=Object.create(null),n.proxy=Zp(new Proxy(n.ctx,bE));const{setup:C}=r;if(C){const D=n.setupContext=C.length>1?ZE(n):null;Xp(n),d0();const T=Nf(C,n,0,[n.props,D]);if(p0(),Bd(),yT(T)){if(T.then(Bd,Bd),e)return T.then(p=>{L3(n,p,e)}).catch(p=>{xy(p,n,0)});n.asyncDep=T}else L3(n,T,e)}else d4(n,e)}function L3(n,e,r){Fi(e)?n.type.__ssrInlineRender?n.ssrRender=e:n.render=e:so(e)&&(n.setupState=FT(e)),d4(n,r)}let I3;function d4(n,e,r){const C=n.type;if(!n.render){if(!e&&I3&&!C.render){const D=C.template||e2(n).template;if(D){const{isCustomElement:T,compilerOptions:p}=n.appContext.config,{delimiters:t,compilerOptions:d}=C,g=Ms(Ms({isCustomElement:T,delimiters:t},p),d);C.render=I3(D,g)}}n.render=C.render||Dc}Xp(n),d0(),xE(n),p0(),Bd()}function $E(n){return new Proxy(n.attrs,{get(e,r){return $l(n,"get","$attrs"),e[r]}})}function ZE(n){const e=C=>{n.exposed=C||{}};let r;return{get attrs(){return r||(r=$E(n))},slots:n.slots,emit:n.emit,expose:e}}function Ly(n){if(n.exposed)return n.exposeProxy||(n.exposeProxy=new Proxy(FT(Zp(n.exposed)),{get(e,r){if(r in e)return e[r];if(r in hm)return hm[r](n)},has(e,r){return r in e||r in hm}}))}function XE(n,e=!0){return Fi(n)?n.displayName||n.name:n.name||e&&n.__name}function KE(n){return Fi(n)&&"__vccOpts"in n}const cn=(n,e)=>K8(n,e,Sm);function Xf(n,e,r){const C=arguments.length;return C===2?so(e)&&!gi(e)?Iv(e)?gt(n,null,[e]):gt(n,e):gt(n,null,e):(C>3?r=Array.prototype.slice.call(arguments,2):C===3&&Iv(r)&&(r=[r]),gt(n,e,r))}const JE=Symbol(""),QE=()=>ka(JE),e7="3.2.47",t7="http://www.w3.org/2000/svg",Ad=typeof document<"u"?document:null,R3=Ad&&Ad.createElement("template"),n7={insert:(n,e,r)=>{e.insertBefore(n,r||null)},remove:n=>{const e=n.parentNode;e&&e.removeChild(n)},createElement:(n,e,r,C)=>{const D=e?Ad.createElementNS(t7,n):Ad.createElement(n,r?{is:r}:void 0);return n==="select"&&C&&C.multiple!=null&&D.setAttribute("multiple",C.multiple),D},createText:n=>Ad.createTextNode(n),createComment:n=>Ad.createComment(n),setText:(n,e)=>{n.nodeValue=e},setElementText:(n,e)=>{n.textContent=e},parentNode:n=>n.parentNode,nextSibling:n=>n.nextSibling,querySelector:n=>Ad.querySelector(n),setScopeId(n,e){n.setAttribute(e,"")},insertStaticContent(n,e,r,C,D,T){const p=r?r.previousSibling:e.lastChild;if(D&&(D===T||D.nextSibling))for(;e.insertBefore(D.cloneNode(!0),r),!(D===T||!(D=D.nextSibling)););else{R3.innerHTML=C?`${n}`:n;const t=R3.content;if(C){const d=t.firstChild;for(;d.firstChild;)t.appendChild(d.firstChild);t.removeChild(d)}e.insertBefore(t,r)}return[p?p.nextSibling:e.firstChild,r?r.previousSibling:e.lastChild]}};function r7(n,e,r){const C=n._vtc;C&&(e=(e?[e,...C]:[...C]).join(" ")),e==null?n.removeAttribute("class"):r?n.setAttribute("class",e):n.className=e}function i7(n,e,r){const C=n.style,D=Po(r);if(r&&!D){if(e&&!Po(e))for(const T in e)r[T]==null&&Db(C,T,"");for(const T in r)Db(C,T,r[T])}else{const T=C.display;D?e!==r&&(C.cssText=r):e&&n.removeAttribute("style"),"_vod"in n&&(C.display=T)}}const P3=/\s*!important$/;function Db(n,e,r){if(gi(r))r.forEach(C=>Db(n,e,C));else if(r==null&&(r=""),e.startsWith("--"))n.setProperty(e,r);else{const C=a7(n,e);P3.test(r)?n.setProperty(f0(C),r.replace(P3,""),"important"):n[C]=r}}const O3=["Webkit","Moz","ms"],ib={};function a7(n,e){const r=ib[e];if(r)return r;let C=tc(e);if(C!=="filter"&&C in n)return ib[e]=C;C=sf(C);for(let D=0;Dab||(h7.then(()=>ab=0),ab=Date.now());function d7(n,e){const r=C=>{if(!C._vts)C._vts=Date.now();else if(C._vts<=r.attached)return;Qu(p7(C,r.value),e,5,[C])};return r.value=n,r.attached=f7(),r}function p7(n,e){if(gi(e)){const r=n.stopImmediatePropagation;return n.stopImmediatePropagation=()=>{r.call(n),n._stopped=!0},e.map(C=>D=>!D._stopped&&C&&C(D))}else return e}const F3=/^on[a-z]/,m7=(n,e,r,C,D=!1,T,p,t,d)=>{e==="class"?r7(n,C,D):e==="style"?i7(n,r,C):my(e)?Fx(e)||u7(n,e,r,C,p):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):g7(n,e,C,D))?s7(n,e,C,T,p,t,d):(e==="true-value"?n._trueValue=C:e==="false-value"&&(n._falseValue=C),o7(n,e,C,D))};function g7(n,e,r,C){return C?!!(e==="innerHTML"||e==="textContent"||e in n&&F3.test(e)&&Fi(r)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&n.tagName==="INPUT"||e==="type"&&n.tagName==="TEXTAREA"||F3.test(e)&&Po(r)?!1:e in n}const Cf="transition",tm="animation",bh=(n,{slots:e})=>Xf(WT,m4(n),e);bh.displayName="Transition";const p4={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},v7=bh.props=Ms({},WT.props,p4),bd=(n,e=[])=>{gi(n)?n.forEach(r=>r(...e)):n&&n(...e)},B3=n=>n?gi(n)?n.some(e=>e.length>1):n.length>1:!1;function m4(n){const e={};for(const x in n)x in p4||(e[x]=n[x]);if(n.css===!1)return e;const{name:r="v",type:C,duration:D,enterFromClass:T=`${r}-enter-from`,enterActiveClass:p=`${r}-enter-active`,enterToClass:t=`${r}-enter-to`,appearFromClass:d=T,appearActiveClass:g=p,appearToClass:i=t,leaveFromClass:M=`${r}-leave-from`,leaveActiveClass:v=`${r}-leave-active`,leaveToClass:f=`${r}-leave-to`}=n,l=y7(D),a=l&&l[0],u=l&&l[1],{onBeforeEnter:o,onEnter:s,onEnterCancelled:c,onLeave:h,onLeaveCancelled:m,onBeforeAppear:w=o,onAppear:y=s,onAppearCancelled:S=c}=e,_=(x,A,L)=>{Lf(x,A?i:t),Lf(x,A?g:p),L&&L()},k=(x,A)=>{x._isLeaving=!1,Lf(x,M),Lf(x,f),Lf(x,v),A&&A()},E=x=>(A,L)=>{const b=x?y:s,R=()=>_(A,x,L);bd(b,[A,R]),N3(()=>{Lf(A,x?d:T),Uh(A,x?i:t),B3(b)||V3(A,C,a,R)})};return Ms(e,{onBeforeEnter(x){bd(o,[x]),Uh(x,T),Uh(x,p)},onBeforeAppear(x){bd(w,[x]),Uh(x,d),Uh(x,g)},onEnter:E(!1),onAppear:E(!0),onLeave(x,A){x._isLeaving=!0;const L=()=>k(x,A);Uh(x,M),v4(),Uh(x,v),N3(()=>{x._isLeaving&&(Lf(x,M),Uh(x,f),B3(h)||V3(x,C,u,L))}),bd(h,[x,L])},onEnterCancelled(x){_(x,!1),bd(c,[x])},onAppearCancelled(x){_(x,!0),bd(S,[x])},onLeaveCancelled(x){k(x),bd(m,[x])}})}function y7(n){if(n==null)return null;if(so(n))return[ob(n.enter),ob(n.leave)];{const e=ob(n);return[e,e]}}function ob(n){return g8(n)}function Uh(n,e){e.split(/\s+/).forEach(r=>r&&n.classList.add(r)),(n._vtc||(n._vtc=new Set)).add(e)}function Lf(n,e){e.split(/\s+/).forEach(C=>C&&n.classList.remove(C));const{_vtc:r}=n;r&&(r.delete(e),r.size||(n._vtc=void 0))}function N3(n){requestAnimationFrame(()=>{requestAnimationFrame(n)})}let b7=0;function V3(n,e,r,C){const D=n._endId=++b7,T=()=>{D===n._endId&&C()};if(r)return setTimeout(T,r);const{type:p,timeout:t,propCount:d}=g4(n,e);if(!p)return C();const g=p+"end";let i=0;const M=()=>{n.removeEventListener(g,v),T()},v=f=>{f.target===n&&++i>=d&&M()};setTimeout(()=>{i(r[l]||"").split(", "),D=C(`${Cf}Delay`),T=C(`${Cf}Duration`),p=j3(D,T),t=C(`${tm}Delay`),d=C(`${tm}Duration`),g=j3(t,d);let i=null,M=0,v=0;e===Cf?p>0&&(i=Cf,M=p,v=T.length):e===tm?g>0&&(i=tm,M=g,v=d.length):(M=Math.max(p,g),i=M>0?p>g?Cf:tm:null,v=i?i===Cf?T.length:d.length:0);const f=i===Cf&&/\b(transform|all)(,|$)/.test(C(`${Cf}Property`).toString());return{type:i,timeout:M,propCount:v,hasTransform:f}}function j3(n,e){for(;n.lengthU3(r)+U3(n[C])))}function U3(n){return Number(n.slice(0,-1).replace(",","."))*1e3}function v4(){return document.body.offsetHeight}const y4=new WeakMap,b4=new WeakMap,x4={name:"TransitionGroup",props:Ms({},v7,{tag:String,moveClass:String}),setup(n,{slots:e}){const r=Ey(),C=qT();let D,T;return JT(()=>{if(!D.length)return;const p=n.moveClass||`${n.name||"v"}-move`;if(!M7(D[0].el,r.vnode.el,p))return;D.forEach(w7),D.forEach(T7);const t=D.filter(k7);v4(),t.forEach(d=>{const g=d.el,i=g.style;Uh(g,p),i.transform=i.webkitTransform=i.transitionDuration="";const M=g._moveCb=v=>{v&&v.target!==g||(!v||/transform$/.test(v.propertyName))&&(g.removeEventListener("transitionend",M),g._moveCb=null,Lf(g,p))};g.addEventListener("transitionend",M)})}),()=>{const p=wi(n),t=m4(p);let d=p.tag||Yr;D=T,T=e.default?Kx(e.default()):[];for(let g=0;gdelete n.mode;x4.props;const _7=x4;function w7(n){const e=n.el;e._moveCb&&e._moveCb(),e._enterCb&&e._enterCb()}function T7(n){b4.set(n,n.el.getBoundingClientRect())}function k7(n){const e=y4.get(n),r=b4.get(n),C=e.left-r.left,D=e.top-r.top;if(C||D){const T=n.el.style;return T.transform=T.webkitTransform=`translate(${C}px,${D}px)`,T.transitionDuration="0s",n}}function M7(n,e,r){const C=n.cloneNode();n._vtc&&n._vtc.forEach(p=>{p.split(/\s+/).forEach(t=>t&&C.classList.remove(t))}),r.split(/\s+/).forEach(p=>p&&C.classList.add(p)),C.style.display="none";const D=e.nodeType===1?e:e.parentNode;D.appendChild(C);const{hasTransform:T}=g4(C);return D.removeChild(C),T}const H3=n=>{const e=n.props["onUpdate:modelValue"]||!1;return gi(e)?r=>fv(e,r):e};function A7(n){n.target.composing=!0}function G3(n){const e=n.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const S7={created(n,{modifiers:{lazy:e,trim:r,number:C}},D){n._assign=H3(D);const T=C||D.props&&D.props.type==="number";Ip(n,e?"change":"input",p=>{if(p.target.composing)return;let t=n.value;r&&(t=t.trim()),T&&(t=kb(t)),n._assign(t)}),r&&Ip(n,"change",()=>{n.value=n.value.trim()}),e||(Ip(n,"compositionstart",A7),Ip(n,"compositionend",G3),Ip(n,"change",G3))},mounted(n,{value:e}){n.value=e??""},beforeUpdate(n,{value:e,modifiers:{lazy:r,trim:C,number:D}},T){if(n._assign=H3(T),n.composing||document.activeElement===n&&n.type!=="range"&&(r||C&&n.value.trim()===e||(D||n.type==="number")&&kb(n.value)===e))return;const p=e??"";n.value!==p&&(n.value=p)}},C7=["ctrl","shift","alt","meta"],E7={stop:n=>n.stopPropagation(),prevent:n=>n.preventDefault(),self:n=>n.target!==n.currentTarget,ctrl:n=>!n.ctrlKey,shift:n=>!n.shiftKey,alt:n=>!n.altKey,meta:n=>!n.metaKey,left:n=>"button"in n&&n.button!==0,middle:n=>"button"in n&&n.button!==1,right:n=>"button"in n&&n.button!==2,exact:(n,e)=>C7.some(r=>n[`${r}Key`]&&!e.includes(r))},jp=(n,e)=>(r,...C)=>{for(let D=0;D{nm(n,!1)}):nm(n,e))},beforeUnmount(n,{value:e}){nm(n,e)}};function nm(n,e){n.style.display=e?n._vod:"none"}const L7=Ms({patchProp:m7},n7);let q3;function I7(){return q3||(q3=RE(L7))}const R7=(...n)=>{const e=I7().createApp(...n),{mount:r}=e;return e.mount=C=>{const D=P7(C);if(!D)return;const T=e._component;!Fi(T)&&!T.render&&!T.template&&(T.template=D.innerHTML),D.innerHTML="";const p=r(D,!1,D instanceof SVGElement);return D instanceof Element&&(D.removeAttribute("v-cloak"),D.setAttribute("data-v-app","")),p},e};function P7(n){return Po(n)?document.querySelector(n):n}var O7=!1;/*! - * pinia v2.0.35 - * (c) 2023 Eduardo San Martin Morote - * @license MIT - */let _4;const Iy=n=>_4=n,w4=Symbol();function zb(n){return n&&typeof n=="object"&&Object.prototype.toString.call(n)==="[object Object]"&&typeof n.toJSON!="function"}var pm;(function(n){n.direct="direct",n.patchObject="patch object",n.patchFunction="patch function"})(pm||(pm={}));function D7(){const n=Um(!0),e=n.run(()=>Vr({}));let r=[],C=[];const D=Zp({install(T){Iy(D),D._a=T,T.provide(w4,D),T.config.globalProperties.$pinia=D,C.forEach(p=>r.push(p)),C=[]},use(T){return!this._a&&!O7?C.push(T):r.push(T),this},_p:r,_a:null,_e:n,_s:new Map,state:e});return D}const T4=()=>{};function W3(n,e,r,C=T4){n.push(e);const D=()=>{const T=n.indexOf(e);T>-1&&(n.splice(T,1),C())};return!r&&wT()&&wl(D),D}function Mp(n,...e){n.slice().forEach(r=>{r(...e)})}function Fb(n,e){n instanceof Map&&e instanceof Map&&e.forEach((r,C)=>n.set(C,r)),n instanceof Set&&e instanceof Set&&e.forEach(n.add,n);for(const r in e){if(!e.hasOwnProperty(r))continue;const C=e[r],D=n[r];zb(D)&&zb(C)&&n.hasOwnProperty(r)&&!eo(C)&&!Bf(C)?n[r]=Fb(D,C):n[r]=C}return n}const z7=Symbol();function F7(n){return!zb(n)||!n.hasOwnProperty(z7)}const{assign:If}=Object;function B7(n){return!!(eo(n)&&n.effect)}function N7(n,e,r,C){const{state:D,actions:T,getters:p}=e,t=r.state.value[n];let d;function g(){t||(r.state.value[n]=D?D():{});const i=by(r.state.value[n]);return If(i,T,Object.keys(p||{}).reduce((M,v)=>(M[v]=Zp(cn(()=>{Iy(r);const f=r._s.get(n);return p[v].call(f,f)})),M),{}))}return d=k4(n,g,e,r,C,!0),d}function k4(n,e,r={},C,D,T){let p;const t=If({actions:{}},r),d={deep:!0};let g,i,M=Zp([]),v=Zp([]),f;const l=C.state.value[n];!T&&!l&&(C.state.value[n]={}),Vr({});let a;function u(y){let S;g=i=!1,typeof y=="function"?(y(C.state.value[n]),S={type:pm.patchFunction,storeId:n,events:f}):(Fb(C.state.value[n],y),S={type:pm.patchObject,payload:y,storeId:n,events:f});const _=a=Symbol();Ua().then(()=>{a===_&&(g=!0)}),i=!0,Mp(M,S,C.state.value[n])}const o=T?function(){const{state:S}=r,_=S?S():{};this.$patch(k=>{If(k,_)})}:T4;function s(){p.stop(),M=[],v=[],C._s.delete(n)}function c(y,S){return function(){Iy(C);const _=Array.from(arguments),k=[],E=[];function x(b){k.push(b)}function A(b){E.push(b)}Mp(v,{args:_,name:y,store:m,after:x,onError:A});let L;try{L=S.apply(this&&this.$id===n?this:m,_)}catch(b){throw Mp(E,b),b}return L instanceof Promise?L.then(b=>(Mp(k,b),b)).catch(b=>(Mp(E,b),Promise.reject(b))):(Mp(k,L),L)}}const h={_p:C,$id:n,$onAction:W3.bind(null,v),$patch:u,$reset:o,$subscribe(y,S={}){const _=W3(M,y,S.detached,()=>k()),k=p.run(()=>$r(()=>C.state.value[n],E=>{(S.flush==="sync"?i:g)&&y({storeId:n,type:pm.direct,events:f},E)},If({},d,S)));return _},$dispose:s},m=yl(h);C._s.set(n,m);const w=C._e.run(()=>(p=Um(),p.run(()=>e())));for(const y in w){const S=w[y];if(eo(S)&&!B7(S)||Bf(S))T||(l&&F7(S)&&(eo(S)?S.value=l[y]:Fb(S,l[y])),C.state.value[n][y]=S);else if(typeof S=="function"){const _=c(y,S);w[y]=_,t.actions[y]=S}}return If(m,w),If(wi(m),w),Object.defineProperty(m,"$state",{get:()=>C.state.value[n],set:y=>{u(S=>{If(S,y)})}}),C._p.forEach(y=>{If(m,p.run(()=>y({store:m,app:C._a,pinia:C,options:t})))}),l&&T&&r.hydrate&&r.hydrate(m.$state,l),g=!0,i=!0,m}function i2(n,e,r){let C,D;const T=typeof e=="function";typeof n=="string"?(C=n,D=T?r:e):(D=n,C=n.id);function p(t,d){const g=Ey();return t=t||g&&ka(w4,null),t&&Iy(t),t=_4,t._s.has(C)||(T?k4(C,e,D,t):N7(C,D,t)),t._s.get(C)}return p.$id=C,p}var V7=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function a2(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var M4={exports:{}},Ba={};/** @license React v16.13.1 ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. @@ -21,28 +13,17 @@ object-assign (c) Sindre Sorhus @license MIT -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js */var Y3=Object.getOwnPropertySymbols,Z7=Object.prototype.hasOwnProperty,X7=Object.prototype.propertyIsEnumerable;function K7(n){if(n==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(n)}function J7(){try{if(!Object.assign)return!1;var n=new String("abc");if(n[5]="de",Object.getOwnPropertyNames(n)[0]==="5")return!1;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;var S=Object.getOwnPropertyNames(e).map(function(T){return e[T]});if(S.join("")!=="0123456789")return!1;var D={};return"abcdefghijklmnopqrst".split("").forEach(function(T){D[T]=T}),Object.keys(Object.assign({},D)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var Q7=J7()?Object.assign:function(n,e){for(var r,S=K7(n),D,T=1;T>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js */var u2=Q7,Fc=typeof Symbol=="function"&&Symbol.for,qm=Fc?Symbol.for("react.element"):60103,e9=Fc?Symbol.for("react.portal"):60106,t9=Fc?Symbol.for("react.fragment"):60107,n9=Fc?Symbol.for("react.strict_mode"):60108,r9=Fc?Symbol.for("react.profiler"):60114,i9=Fc?Symbol.for("react.provider"):60109,a9=Fc?Symbol.for("react.context"):60110,o9=Fc?Symbol.for("react.forward_ref"):60112,s9=Fc?Symbol.for("react.suspense"):60113,l9=Fc?Symbol.for("react.memo"):60115,u9=Fc?Symbol.for("react.lazy"):60116,$3=typeof Symbol=="function"&&Symbol.iterator;function Wm(n){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+n,r=1;rRv.length&&Rv.push(n)}function Bb(n,e,r,S){var D=typeof n;(D==="undefined"||D==="boolean")&&(n=null);var T=!1;if(n===null)T=!0;else switch(D){case"string":case"number":T=!0;break;case"object":switch(n.$$typeof){case qm:case e9:T=!0}}if(T)return r(S,n,e===""?"."+sb(n,0):e),1;if(T=0,e=e===""?".":e+":",Array.isArray(n))for(var p=0;p=n.length&&(n=void 0),{value:n&&n[S++],done:!n}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function zi(n){return this instanceof zi?(this.v=n,this):new zi(n)}function mh(n,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var S=r.apply(n,e||[]),D,T=[];return D=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),t("next"),t("throw"),t("return",p),D[Symbol.asyncIterator]=function(){return this},D;function p(f){return function(l){return Promise.resolve(l).then(f,M)}}function t(f,l){S[f]&&(D[f]=function(a){return new Promise(function(u,o){T.push([f,a,u,o])>1||d(f,a)})},l&&(D[f]=l(D[f])))}function d(f,l){try{g(S[f](l))}catch(a){v(T[0][3],a)}}function g(f){f.value instanceof zi?Promise.resolve(f.value.v).then(i,M):v(T[0][2],f)}function i(f){d("next",f)}function M(f){d("throw",f)}function v(f,l){f(l),T.shift(),T.length&&d(T[0][0],T[0][1])}}function mv(n){var e,r;return e={},S("next"),S("throw",function(D){throw D}),S("return"),e[Symbol.iterator]=function(){return this},e;function S(D,T){e[D]=n[D]?function(p){return(r=!r)?{value:zi(n[D](p)),done:!1}:T?T(p):p}:T}}function Nd(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=n[Symbol.asyncIterator],r;return e?e.call(n):(n=typeof Z3=="function"?Z3(n):n[Symbol.iterator](),r={},S("next"),S("throw"),S("return"),r[Symbol.asyncIterator]=function(){return this},r);function S(T){r[T]=n[T]&&function(p){return new Promise(function(t,d){p=n[T](p),D(t,d,p.done,p.value)})}}function D(T,p,t,d){Promise.resolve(d).then(function(g){T({value:g,done:t})},p)}}const v9=new TextDecoder("utf-8"),jb=n=>v9.decode(n),y9=new TextEncoder,p2=n=>y9.encode(n),[jH,b9]=(()=>{const n=()=>{throw new Error("BigInt is not available in this environment")};function e(){throw n()}return e.asIntN=()=>{throw n()},e.asUintN=()=>{throw n()},typeof BigInt<"u"?[BigInt,!0]:[e,!1]})(),[Ym,UH]=(()=>{const n=()=>{throw new Error("BigInt64Array is not available in this environment")};class e{static get BYTES_PER_ELEMENT(){return 8}static of(){throw n()}static from(){throw n()}constructor(){throw n()}}return typeof BigInt64Array<"u"?[BigInt64Array,!0]:[e,!1]})(),[$m,HH]=(()=>{const n=()=>{throw new Error("BigUint64Array is not available in this environment")};class e{static get BYTES_PER_ELEMENT(){return 8}static of(){throw n()}static from(){throw n()}constructor(){throw n()}}return typeof BigUint64Array<"u"?[BigUint64Array,!0]:[e,!1]})(),x9=n=>typeof n=="number",V4=n=>typeof n=="boolean",us=n=>typeof n=="function",Zl=n=>n!=null&&Object(n)===n,Uf=n=>Zl(n)&&us(n.then),Zm=n=>Zl(n)&&us(n[Symbol.iterator]),g0=n=>Zl(n)&&us(n[Symbol.asyncIterator]),Ub=n=>Zl(n)&&Zl(n.schema),j4=n=>Zl(n)&&"done"in n&&"value"in n,U4=n=>Zl(n)&&us(n.stat)&&x9(n.fd),H4=n=>Zl(n)&&m2(n.body),Uy=n=>"_getDOMStream"in n&&"_getNodeStream"in n,_9=n=>Zl(n)&&us(n.abort)&&us(n.getWriter)&&!Uy(n),m2=n=>Zl(n)&&us(n.cancel)&&us(n.getReader)&&!Uy(n),w9=n=>Zl(n)&&us(n.end)&&us(n.write)&&V4(n.writable)&&!Uy(n),G4=n=>Zl(n)&&us(n.read)&&us(n.pipe)&&V4(n.readable)&&!Uy(n),T9=n=>Zl(n)&&us(n.clear)&&us(n.bytes)&&us(n.position)&&us(n.setPosition)&&us(n.capacity)&&us(n.getBufferIdentifier)&&us(n.createLong),g2=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:ArrayBuffer;function k9(n){const e=n[0]?[n[0]]:[];let r,S,D,T;for(let p,t,d=0,g=0,i=n.length;++di+M.byteLength,0);let D,T,p,t=0,d=-1;const g=Math.min(e||Number.POSITIVE_INFINITY,S);for(const i=r.length;++dqa(Int32Array,n),_a=n=>qa(Uint8Array,n),Hb=n=>(n.next(),n);function*M9(n,e){const r=function*(D){yield D},S=typeof e=="string"||ArrayBuffer.isView(e)||e instanceof ArrayBuffer||e instanceof g2?r(e):Zm(e)?e:r(e);return yield*Hb(function*(D){let T=null;do T=D.next(yield qa(n,T));while(!T.done)}(S[Symbol.iterator]())),new n}const A9=n=>M9(Uint8Array,n);function q4(n,e){return mh(this,arguments,function*(){if(Uf(e))return yield zi(yield zi(yield*mv(Nd(q4(n,yield zi(e))))));const S=function(p){return mh(this,arguments,function*(){yield yield zi(yield zi(p))})},D=function(p){return mh(this,arguments,function*(){yield zi(yield*mv(Nd(Hb(function*(t){let d=null;do d=t.next(yield d==null?void 0:d.value);while(!d.done)}(p[Symbol.iterator]())))))})},T=typeof e=="string"||ArrayBuffer.isView(e)||e instanceof ArrayBuffer||e instanceof g2?S(e):Zm(e)?D(e):g0(e)?e:S(e);return yield zi(yield*mv(Nd(Hb(function(p){return mh(this,arguments,function*(){let t=null;do t=yield zi(p.next(yield yield zi(qa(n,t))));while(!t.done)})}(T[Symbol.asyncIterator]()))))),yield zi(new n)})}const S9=n=>q4(Uint8Array,n);function v2(n,e,r){if(n!==0){r=r.slice(0,e+1);for(let S=-1;++S<=e;)r[S]+=n}return r}function C9(n,e){let r=0;const S=n.length;if(S!==e.length)return!1;if(S>0)do if(n[r]!==e[r])return!1;while(++r(n.next(),n);function*E9(n){let e,r=!1,S=[],D,T,p,t=0;function d(){return T==="peek"?xh(S,p)[0]:([D,S,t]=xh(S,p),D)}({cmd:T,size:p}=yield null);const g=A9(n)[Symbol.iterator]();try{do if({done:e,value:D}=Number.isNaN(p-t)?g.next():g.next(p-t),!e&&D.byteLength>0&&(S.push(D),t+=D.byteLength),e||p<=t)do({cmd:T,size:p}=yield d());while(p0&&(D.push(T),d+=T.byteLength),r||t<=d)do({cmd:p,size:t}=yield yield zi(g()));while(t0&&(D.push(_a(T)),d+=T.byteLength),r||t<=d)do({cmd:p,size:t}=yield yield zi(g()));while(t{})}get closed(){return this.reader?this.reader.closed.catch(()=>{}):Promise.resolve()}releaseLock(){this.reader&&this.reader.releaseLock(),this.reader=null}cancel(e){return yi(this,void 0,void 0,function*(){const{reader:r,source:S}=this;r&&(yield r.cancel(e).catch(()=>{})),S&&S.locked&&this.releaseLock()})}read(e){return yi(this,void 0,void 0,function*(){if(e===0)return{done:this.reader==null,value:new Uint8Array(0)};const r=yield this.reader.read();return!r.done&&(r.value=_a(r)),r})}}const lb=(n,e)=>{const r=D=>S([e,D]);let S;return[e,r,new Promise(D=>(S=D)&&n.once(e,r))]};function P9(n){return mh(this,arguments,function*(){const r=[];let S="error",D=!1,T=null,p,t,d=0,g=[],i;function M(){return p==="peek"?xh(g,t)[0]:([i,g,d]=xh(g,t),i)}if({cmd:p,size:t}=yield yield zi(null),n.isTTY)return yield yield zi(new Uint8Array(0)),yield zi(null);try{r[0]=lb(n,"end"),r[1]=lb(n,"error");do{if(r[2]=lb(n,"readable"),[S,T]=yield zi(Promise.race(r.map(f=>f[2]))),S==="error")break;if((D=S==="end")||(Number.isFinite(t-d)?(i=_a(n.read(t-d)),i.byteLength0&&(g.push(i),d+=i.byteLength)),D||t<=d)do({cmd:p,size:t}=yield yield zi(M()));while(t{for(const[o,s]of f)n.off(o,s);try{const o=n.destroy;o&&o.call(n,l),l=void 0}catch(o){l=o||l}finally{l!=null?u(l):a()}})}})}var gu;(function(n){n[n.V1=0]="V1",n[n.V2=1]="V2",n[n.V3=2]="V3",n[n.V4=3]="V4",n[n.V5=4]="V5"})(gu||(gu={}));var xu;(function(n){n[n.Sparse=0]="Sparse",n[n.Dense=1]="Dense"})(xu||(xu={}));var Yl;(function(n){n[n.HALF=0]="HALF",n[n.SINGLE=1]="SINGLE",n[n.DOUBLE=2]="DOUBLE"})(Yl||(Yl={}));var nf;(function(n){n[n.DAY=0]="DAY",n[n.MILLISECOND=1]="MILLISECOND"})(nf||(nf={}));var wa;(function(n){n[n.SECOND=0]="SECOND",n[n.MILLISECOND=1]="MILLISECOND",n[n.MICROSECOND=2]="MICROSECOND",n[n.NANOSECOND=3]="NANOSECOND"})(wa||(wa={}));var Hf;(function(n){n[n.YEAR_MONTH=0]="YEAR_MONTH",n[n.DAY_TIME=1]="DAY_TIME",n[n.MONTH_DAY_NANO=2]="MONTH_DAY_NANO"})(Hf||(Hf={}));var Ca;(function(n){n[n.NONE=0]="NONE",n[n.Schema=1]="Schema",n[n.DictionaryBatch=2]="DictionaryBatch",n[n.RecordBatch=3]="RecordBatch",n[n.Tensor=4]="Tensor",n[n.SparseTensor=5]="SparseTensor"})(Ca||(Ca={}));var Jn;(function(n){n[n.NONE=0]="NONE",n[n.Null=1]="Null",n[n.Int=2]="Int",n[n.Float=3]="Float",n[n.Binary=4]="Binary",n[n.Utf8=5]="Utf8",n[n.Bool=6]="Bool",n[n.Decimal=7]="Decimal",n[n.Date=8]="Date",n[n.Time=9]="Time",n[n.Timestamp=10]="Timestamp",n[n.Interval=11]="Interval",n[n.List=12]="List",n[n.Struct=13]="Struct",n[n.Union=14]="Union",n[n.FixedSizeBinary=15]="FixedSizeBinary",n[n.FixedSizeList=16]="FixedSizeList",n[n.Map=17]="Map",n[n.Dictionary=-1]="Dictionary",n[n.Int8=-2]="Int8",n[n.Int16=-3]="Int16",n[n.Int32=-4]="Int32",n[n.Int64=-5]="Int64",n[n.Uint8=-6]="Uint8",n[n.Uint16=-7]="Uint16",n[n.Uint32=-8]="Uint32",n[n.Uint64=-9]="Uint64",n[n.Float16=-10]="Float16",n[n.Float32=-11]="Float32",n[n.Float64=-12]="Float64",n[n.DateDay=-13]="DateDay",n[n.DateMillisecond=-14]="DateMillisecond",n[n.TimestampSecond=-15]="TimestampSecond",n[n.TimestampMillisecond=-16]="TimestampMillisecond",n[n.TimestampMicrosecond=-17]="TimestampMicrosecond",n[n.TimestampNanosecond=-18]="TimestampNanosecond",n[n.TimeSecond=-19]="TimeSecond",n[n.TimeMillisecond=-20]="TimeMillisecond",n[n.TimeMicrosecond=-21]="TimeMicrosecond",n[n.TimeNanosecond=-22]="TimeNanosecond",n[n.DenseUnion=-23]="DenseUnion",n[n.SparseUnion=-24]="SparseUnion",n[n.IntervalDayTime=-25]="IntervalDayTime",n[n.IntervalYearMonth=-26]="IntervalYearMonth"})(Jn||(Jn={}));var qh;(function(n){n[n.OFFSET=0]="OFFSET",n[n.DATA=1]="DATA",n[n.VALIDITY=2]="VALIDITY",n[n.TYPE=3]="TYPE"})(qh||(qh={}));const O9=void 0;function Cm(n){if(n===null)return"null";if(n===O9)return"undefined";switch(typeof n){case"number":return`${n}`;case"bigint":return`${n}`;case"string":return`"${n}"`}return typeof n[Symbol.toPrimitive]=="function"?n[Symbol.toPrimitive]("string"):ArrayBuffer.isView(n)?n instanceof Ym||n instanceof $m?`[${[...n].map(e=>Cm(e))}]`:`[${n}]`:ArrayBuffer.isView(n)?`[${n}]`:JSON.stringify(n,(e,r)=>typeof r=="bigint"?`${r}`:r)}const D9=Symbol.for("isArrowBigNum");function Bc(n,...e){return e.length===0?Object.setPrototypeOf(qa(this.TypedArray,n),this.constructor.prototype):Object.setPrototypeOf(new this.TypedArray(n,...e),this.constructor.prototype)}Bc.prototype[D9]=!0;Bc.prototype.toJSON=function(){return`"${Vd(this)}"`};Bc.prototype.valueOf=function(){return W4(this)};Bc.prototype.toString=function(){return Vd(this)};Bc.prototype[Symbol.toPrimitive]=function(n="default"){switch(n){case"number":return W4(this);case"string":return Vd(this);case"default":return Gb(this)}return Vd(this)};function Up(...n){return Bc.apply(this,n)}function Hp(...n){return Bc.apply(this,n)}function Em(...n){return Bc.apply(this,n)}Object.setPrototypeOf(Up.prototype,Object.create(Int32Array.prototype));Object.setPrototypeOf(Hp.prototype,Object.create(Uint32Array.prototype));Object.setPrototypeOf(Em.prototype,Object.create(Uint32Array.prototype));Object.assign(Up.prototype,Bc.prototype,{constructor:Up,signed:!0,TypedArray:Int32Array,BigIntArray:Ym});Object.assign(Hp.prototype,Bc.prototype,{constructor:Hp,signed:!1,TypedArray:Uint32Array,BigIntArray:$m});Object.assign(Em.prototype,Bc.prototype,{constructor:Em,signed:!0,TypedArray:Uint32Array,BigIntArray:$m});function W4(n){const{buffer:e,byteOffset:r,length:S,signed:D}=n,T=new $m(e,r,S),p=D&&T[T.length-1]&BigInt(1)<n.byteLength===8?new n.BigIntArray(n.buffer,n.byteOffset,1)[0]:ub(n),Vd=n=>n.byteLength===8?`${new n.BigIntArray(n.buffer,n.byteOffset,1)[0]}`:ub(n)):(Vd=ub,Gb=Vd);function ub(n){let e="";const r=new Uint32Array(2);let S=new Uint16Array(n.buffer,n.byteOffset,n.byteLength/2);const D=new Uint32Array((S=new Uint16Array(S).reverse()).buffer);let T=-1;const p=S.length-1;do{for(r[0]=S[T=0];T(n.children=null,n.ArrayType=Array,n[Symbol.toStringTag]="DataType"))(_i.prototype);let Gf=class extends _i{toString(){return"Null"}get typeId(){return Jn.Null}};$4=Symbol.toStringTag;Gf[$4]=(n=>n[Symbol.toStringTag]="Null")(Gf.prototype);class qf extends _i{constructor(e,r){super(),this.isSigned=e,this.bitWidth=r}get typeId(){return Jn.Int}get ArrayType(){switch(this.bitWidth){case 8:return this.isSigned?Int8Array:Uint8Array;case 16:return this.isSigned?Int16Array:Uint16Array;case 32:return this.isSigned?Int32Array:Uint32Array;case 64:return this.isSigned?Ym:$m}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`${this.isSigned?"I":"Ui"}nt${this.bitWidth}`}}Z4=Symbol.toStringTag;qf[Z4]=(n=>(n.isSigned=null,n.bitWidth=null,n[Symbol.toStringTag]="Int"))(qf.prototype);class Lm extends qf{constructor(){super(!0,32)}get ArrayType(){return Int32Array}}Object.defineProperty(Lm.prototype,"ArrayType",{value:Int32Array});class Im extends _i{constructor(e){super(),this.precision=e}get typeId(){return Jn.Float}get ArrayType(){switch(this.precision){case Yl.HALF:return Uint16Array;case Yl.SINGLE:return Float32Array;case Yl.DOUBLE:return Float64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`Float${this.precision<<5||16}`}}X4=Symbol.toStringTag;Im[X4]=(n=>(n.precision=null,n[Symbol.toStringTag]="Float"))(Im.prototype);let Pv=class extends _i{constructor(){super()}get typeId(){return Jn.Binary}toString(){return"Binary"}};K4=Symbol.toStringTag;Pv[K4]=(n=>(n.ArrayType=Uint8Array,n[Symbol.toStringTag]="Binary"))(Pv.prototype);let Ov=class extends _i{constructor(){super()}get typeId(){return Jn.Utf8}toString(){return"Utf8"}};J4=Symbol.toStringTag;Ov[J4]=(n=>(n.ArrayType=Uint8Array,n[Symbol.toStringTag]="Utf8"))(Ov.prototype);let Dv=class extends _i{constructor(){super()}get typeId(){return Jn.Bool}toString(){return"Bool"}};Q4=Symbol.toStringTag;Dv[Q4]=(n=>(n.ArrayType=Uint8Array,n[Symbol.toStringTag]="Bool"))(Dv.prototype);let zv=class extends _i{constructor(e,r,S=128){super(),this.scale=e,this.precision=r,this.bitWidth=S}get typeId(){return Jn.Decimal}toString(){return`Decimal[${this.precision}e${this.scale>0?"+":""}${this.scale}]`}};ek=Symbol.toStringTag;zv[ek]=(n=>(n.scale=null,n.precision=null,n.ArrayType=Uint32Array,n[Symbol.toStringTag]="Decimal"))(zv.prototype);class Fv extends _i{constructor(e){super(),this.unit=e}get typeId(){return Jn.Date}toString(){return`Date${(this.unit+1)*32}<${nf[this.unit]}>`}}tk=Symbol.toStringTag;Fv[tk]=(n=>(n.unit=null,n.ArrayType=Int32Array,n[Symbol.toStringTag]="Date"))(Fv.prototype);class Rm extends _i{constructor(e,r){super(),this.unit=e,this.bitWidth=r}get typeId(){return Jn.Time}toString(){return`Time${this.bitWidth}<${wa[this.unit]}>`}get ArrayType(){switch(this.bitWidth){case 32:return Int32Array;case 64:return Ym}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}}nk=Symbol.toStringTag;Rm[nk]=(n=>(n.unit=null,n.bitWidth=null,n[Symbol.toStringTag]="Time"))(Rm.prototype);class Bv extends _i{constructor(e,r){super(),this.unit=e,this.timezone=r}get typeId(){return Jn.Timestamp}toString(){return`Timestamp<${wa[this.unit]}${this.timezone?`, ${this.timezone}`:""}>`}}rk=Symbol.toStringTag;Bv[rk]=(n=>(n.unit=null,n.timezone=null,n.ArrayType=Int32Array,n[Symbol.toStringTag]="Timestamp"))(Bv.prototype);class Nv extends _i{constructor(e){super(),this.unit=e}get typeId(){return Jn.Interval}toString(){return`Interval<${Hf[this.unit]}>`}}ik=Symbol.toStringTag;Nv[ik]=(n=>(n.unit=null,n.ArrayType=Int32Array,n[Symbol.toStringTag]="Interval"))(Nv.prototype);let Vv=class extends _i{constructor(e){super(),this.children=[e]}get typeId(){return Jn.List}toString(){return`List<${this.valueType}>`}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}};ak=Symbol.toStringTag;Vv[ak]=(n=>(n.children=null,n[Symbol.toStringTag]="List"))(Vv.prototype);class bl extends _i{constructor(e){super(),this.children=e}get typeId(){return Jn.Struct}toString(){return`Struct<{${this.children.map(e=>`${e.name}:${e.type}`).join(", ")}}>`}}ok=Symbol.toStringTag;bl[ok]=(n=>(n.children=null,n[Symbol.toStringTag]="Struct"))(bl.prototype);class jv extends _i{constructor(e,r,S){super(),this.mode=e,this.children=S,this.typeIds=r=Int32Array.from(r),this.typeIdToChildIndex=r.reduce((D,T,p)=>(D[T]=p)&&D||D,Object.create(null))}get typeId(){return Jn.Union}toString(){return`${this[Symbol.toStringTag]}<${this.children.map(e=>`${e.type}`).join(" | ")}>`}}sk=Symbol.toStringTag;jv[sk]=(n=>(n.mode=null,n.typeIds=null,n.children=null,n.typeIdToChildIndex=null,n.ArrayType=Int8Array,n[Symbol.toStringTag]="Union"))(jv.prototype);let Uv=class extends _i{constructor(e){super(),this.byteWidth=e}get typeId(){return Jn.FixedSizeBinary}toString(){return`FixedSizeBinary[${this.byteWidth}]`}};lk=Symbol.toStringTag;Uv[lk]=(n=>(n.byteWidth=null,n.ArrayType=Uint8Array,n[Symbol.toStringTag]="FixedSizeBinary"))(Uv.prototype);let Hv=class extends _i{constructor(e,r){super(),this.listSize=e,this.children=[r]}get typeId(){return Jn.FixedSizeList}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}toString(){return`FixedSizeList[${this.listSize}]<${this.valueType}>`}};uk=Symbol.toStringTag;Hv[uk]=(n=>(n.children=null,n.listSize=null,n[Symbol.toStringTag]="FixedSizeList"))(Hv.prototype);class Gv extends _i{constructor(e,r=!1){super(),this.children=[e],this.keysSorted=r}get typeId(){return Jn.Map}get keyType(){return this.children[0].type.children[0].type}get valueType(){return this.children[0].type.children[1].type}get childType(){return this.children[0].type}toString(){return`Map<{${this.children[0].type.children.map(e=>`${e.name}:${e.type}`).join(", ")}}>`}}ck=Symbol.toStringTag;Gv[ck]=(n=>(n.children=null,n.keysSorted=null,n[Symbol.toStringTag]="Map_"))(Gv.prototype);const z9=(n=>()=>++n)(-1);class Kp extends _i{constructor(e,r,S,D){super(),this.indices=r,this.dictionary=e,this.isOrdered=D||!1,this.id=S==null?z9():typeof S=="number"?S:S.low}get typeId(){return Jn.Dictionary}get children(){return this.dictionary.children}get valueType(){return this.dictionary}get ArrayType(){return this.dictionary.ArrayType}toString(){return`Dictionary<${this.indices}, ${this.dictionary}>`}}hk=Symbol.toStringTag;Kp[hk]=(n=>(n.id=null,n.indices=null,n.isOrdered=null,n.dictionary=null,n[Symbol.toStringTag]="Dictionary"))(Kp.prototype);function Wh(n){const e=n;switch(n.typeId){case Jn.Decimal:return n.bitWidth/32;case Jn.Timestamp:return 2;case Jn.Date:return 1+e.unit;case Jn.Interval:return 1+e.unit;case Jn.FixedSizeList:return e.listSize;case Jn.FixedSizeBinary:return e.byteWidth;default:return 1}}class aa{visitMany(e,...r){return e.map((S,D)=>this.visit(S,...r.map(T=>T[D])))}visit(...e){return this.getVisitFn(e[0],!1).apply(this,e)}getVisitFn(e,r=!0){return F9(this,e,r)}getVisitFnByTypeId(e,r=!0){return Rp(this,e,r)}visitNull(e,...r){return null}visitBool(e,...r){return null}visitInt(e,...r){return null}visitFloat(e,...r){return null}visitUtf8(e,...r){return null}visitBinary(e,...r){return null}visitFixedSizeBinary(e,...r){return null}visitDate(e,...r){return null}visitTimestamp(e,...r){return null}visitTime(e,...r){return null}visitDecimal(e,...r){return null}visitList(e,...r){return null}visitStruct(e,...r){return null}visitUnion(e,...r){return null}visitDictionary(e,...r){return null}visitInterval(e,...r){return null}visitFixedSizeList(e,...r){return null}visitMap(e,...r){return null}}function F9(n,e,r=!0){return typeof e=="number"?Rp(n,e,r):typeof e=="string"&&e in Jn?Rp(n,Jn[e],r):e&&e instanceof _i?Rp(n,K3(e),r):e!=null&&e.type&&e.type instanceof _i?Rp(n,K3(e.type),r):Rp(n,Jn.NONE,r)}function Rp(n,e,r=!0){let S=null;switch(e){case Jn.Null:S=n.visitNull;break;case Jn.Bool:S=n.visitBool;break;case Jn.Int:S=n.visitInt;break;case Jn.Int8:S=n.visitInt8||n.visitInt;break;case Jn.Int16:S=n.visitInt16||n.visitInt;break;case Jn.Int32:S=n.visitInt32||n.visitInt;break;case Jn.Int64:S=n.visitInt64||n.visitInt;break;case Jn.Uint8:S=n.visitUint8||n.visitInt;break;case Jn.Uint16:S=n.visitUint16||n.visitInt;break;case Jn.Uint32:S=n.visitUint32||n.visitInt;break;case Jn.Uint64:S=n.visitUint64||n.visitInt;break;case Jn.Float:S=n.visitFloat;break;case Jn.Float16:S=n.visitFloat16||n.visitFloat;break;case Jn.Float32:S=n.visitFloat32||n.visitFloat;break;case Jn.Float64:S=n.visitFloat64||n.visitFloat;break;case Jn.Utf8:S=n.visitUtf8;break;case Jn.Binary:S=n.visitBinary;break;case Jn.FixedSizeBinary:S=n.visitFixedSizeBinary;break;case Jn.Date:S=n.visitDate;break;case Jn.DateDay:S=n.visitDateDay||n.visitDate;break;case Jn.DateMillisecond:S=n.visitDateMillisecond||n.visitDate;break;case Jn.Timestamp:S=n.visitTimestamp;break;case Jn.TimestampSecond:S=n.visitTimestampSecond||n.visitTimestamp;break;case Jn.TimestampMillisecond:S=n.visitTimestampMillisecond||n.visitTimestamp;break;case Jn.TimestampMicrosecond:S=n.visitTimestampMicrosecond||n.visitTimestamp;break;case Jn.TimestampNanosecond:S=n.visitTimestampNanosecond||n.visitTimestamp;break;case Jn.Time:S=n.visitTime;break;case Jn.TimeSecond:S=n.visitTimeSecond||n.visitTime;break;case Jn.TimeMillisecond:S=n.visitTimeMillisecond||n.visitTime;break;case Jn.TimeMicrosecond:S=n.visitTimeMicrosecond||n.visitTime;break;case Jn.TimeNanosecond:S=n.visitTimeNanosecond||n.visitTime;break;case Jn.Decimal:S=n.visitDecimal;break;case Jn.List:S=n.visitList;break;case Jn.Struct:S=n.visitStruct;break;case Jn.Union:S=n.visitUnion;break;case Jn.DenseUnion:S=n.visitDenseUnion||n.visitUnion;break;case Jn.SparseUnion:S=n.visitSparseUnion||n.visitUnion;break;case Jn.Dictionary:S=n.visitDictionary;break;case Jn.Interval:S=n.visitInterval;break;case Jn.IntervalDayTime:S=n.visitIntervalDayTime||n.visitInterval;break;case Jn.IntervalYearMonth:S=n.visitIntervalYearMonth||n.visitInterval;break;case Jn.FixedSizeList:S=n.visitFixedSizeList;break;case Jn.Map:S=n.visitMap;break}if(typeof S=="function")return S;if(!r)return()=>null;throw new Error(`Unrecognized type '${Jn[e]}'`)}function K3(n){switch(n.typeId){case Jn.Null:return Jn.Null;case Jn.Int:{const{bitWidth:e,isSigned:r}=n;switch(e){case 8:return r?Jn.Int8:Jn.Uint8;case 16:return r?Jn.Int16:Jn.Uint16;case 32:return r?Jn.Int32:Jn.Uint32;case 64:return r?Jn.Int64:Jn.Uint64}return Jn.Int}case Jn.Float:switch(n.precision){case Yl.HALF:return Jn.Float16;case Yl.SINGLE:return Jn.Float32;case Yl.DOUBLE:return Jn.Float64}return Jn.Float;case Jn.Binary:return Jn.Binary;case Jn.Utf8:return Jn.Utf8;case Jn.Bool:return Jn.Bool;case Jn.Decimal:return Jn.Decimal;case Jn.Time:switch(n.unit){case wa.SECOND:return Jn.TimeSecond;case wa.MILLISECOND:return Jn.TimeMillisecond;case wa.MICROSECOND:return Jn.TimeMicrosecond;case wa.NANOSECOND:return Jn.TimeNanosecond}return Jn.Time;case Jn.Timestamp:switch(n.unit){case wa.SECOND:return Jn.TimestampSecond;case wa.MILLISECOND:return Jn.TimestampMillisecond;case wa.MICROSECOND:return Jn.TimestampMicrosecond;case wa.NANOSECOND:return Jn.TimestampNanosecond}return Jn.Timestamp;case Jn.Date:switch(n.unit){case nf.DAY:return Jn.DateDay;case nf.MILLISECOND:return Jn.DateMillisecond}return Jn.Date;case Jn.Interval:switch(n.unit){case Hf.DAY_TIME:return Jn.IntervalDayTime;case Hf.YEAR_MONTH:return Jn.IntervalYearMonth}return Jn.Interval;case Jn.Map:return Jn.Map;case Jn.List:return Jn.List;case Jn.Struct:return Jn.Struct;case Jn.Union:switch(n.mode){case xu.Dense:return Jn.DenseUnion;case xu.Sparse:return Jn.SparseUnion}return Jn.Union;case Jn.FixedSizeBinary:return Jn.FixedSizeBinary;case Jn.FixedSizeList:return Jn.FixedSizeList;case Jn.Dictionary:return Jn.Dictionary}throw new Error(`Unrecognized type '${Jn[n.typeId]}'`)}aa.prototype.visitInt8=null;aa.prototype.visitInt16=null;aa.prototype.visitInt32=null;aa.prototype.visitInt64=null;aa.prototype.visitUint8=null;aa.prototype.visitUint16=null;aa.prototype.visitUint32=null;aa.prototype.visitUint64=null;aa.prototype.visitFloat16=null;aa.prototype.visitFloat32=null;aa.prototype.visitFloat64=null;aa.prototype.visitDateDay=null;aa.prototype.visitDateMillisecond=null;aa.prototype.visitTimestampSecond=null;aa.prototype.visitTimestampMillisecond=null;aa.prototype.visitTimestampMicrosecond=null;aa.prototype.visitTimestampNanosecond=null;aa.prototype.visitTimeSecond=null;aa.prototype.visitTimeMillisecond=null;aa.prototype.visitTimeMicrosecond=null;aa.prototype.visitTimeNanosecond=null;aa.prototype.visitDenseUnion=null;aa.prototype.visitSparseUnion=null;aa.prototype.visitIntervalDayTime=null;aa.prototype.visitIntervalYearMonth=null;const fk=new Float64Array(1),Ap=new Uint32Array(fk.buffer);function dk(n){const e=(n&31744)>>10,r=(n&1023)/1024,S=Math.pow(-1,(n&32768)>>15);switch(e){case 31:return S*(r?Number.NaN:1/0);case 0:return S*(r?6103515625e-14*r:0)}return S*Math.pow(2,e-15)*(1+r)}function B9(n){if(n!==n)return 32256;fk[0]=n;const e=(Ap[1]&2147483648)>>16&65535;let r=Ap[1]&2146435072,S=0;return r>=1089470464?Ap[0]>0?r=31744:(r=(r&2080374784)>>16,S=(Ap[1]&1048575)>>10):r<=1056964608?(S=1048576+(Ap[1]&1048575),S=1048576+(S<<(r>>20)-998)>>21,r=0):(r=r-1056964608>>10,S=(Ap[1]&1048575)+512>>10),e|r|S&65535}class Ci extends aa{}function Pi(n){return(e,r,S)=>{if(e.setValid(r,S!=null))return n(e,r,S)}}const N9=(n,e,r)=>{n[e]=Math.trunc(r/864e5)},b2=(n,e,r)=>{n[e]=Math.trunc(r%4294967296),n[e+1]=Math.trunc(r/4294967296)},V9=(n,e,r)=>{n[e]=Math.trunc(r*1e3%4294967296),n[e+1]=Math.trunc(r*1e3/4294967296)},j9=(n,e,r)=>{n[e]=Math.trunc(r*1e6%4294967296),n[e+1]=Math.trunc(r*1e6/4294967296)},pk=(n,e,r,S)=>{if(r+1{const D=n+r;S?e[D>>3]|=1<>3]&=~(1<{n[e]=r},x2=({values:n},e,r)=>{n[e]=r},mk=({values:n},e,r)=>{n[e]=B9(r)},H9=(n,e,r)=>{switch(n.type.precision){case Yl.HALF:return mk(n,e,r);case Yl.SINGLE:case Yl.DOUBLE:return x2(n,e,r)}},gk=({values:n},e,r)=>{N9(n,e,r.valueOf())},vk=({values:n},e,r)=>{b2(n,e*2,r.valueOf())},G9=({stride:n,values:e},r,S)=>{e.set(S.subarray(0,n),n*r)},q9=({values:n,valueOffsets:e},r,S)=>pk(n,e,r,S),W9=({values:n,valueOffsets:e},r,S)=>{pk(n,e,r,p2(S))},Y9=(n,e,r)=>{n.type.unit===nf.DAY?gk(n,e,r):vk(n,e,r)},yk=({values:n},e,r)=>b2(n,e*2,r/1e3),bk=({values:n},e,r)=>b2(n,e*2,r),xk=({values:n},e,r)=>V9(n,e*2,r),_k=({values:n},e,r)=>j9(n,e*2,r),$9=(n,e,r)=>{switch(n.type.unit){case wa.SECOND:return yk(n,e,r);case wa.MILLISECOND:return bk(n,e,r);case wa.MICROSECOND:return xk(n,e,r);case wa.NANOSECOND:return _k(n,e,r)}},wk=({values:n},e,r)=>{n[e]=r},Tk=({values:n},e,r)=>{n[e]=r},kk=({values:n},e,r)=>{n[e]=r},Mk=({values:n},e,r)=>{n[e]=r},Z9=(n,e,r)=>{switch(n.type.unit){case wa.SECOND:return wk(n,e,r);case wa.MILLISECOND:return Tk(n,e,r);case wa.MICROSECOND:return kk(n,e,r);case wa.NANOSECOND:return Mk(n,e,r)}},X9=({values:n,stride:e},r,S)=>{n.set(S.subarray(0,e),e*r)},K9=(n,e,r)=>{const S=n.children[0],D=n.valueOffsets,T=nc.getVisitFn(S);if(Array.isArray(r))for(let p=-1,t=D[e],d=D[e+1];t{const S=n.children[0],{valueOffsets:D}=n,T=nc.getVisitFn(S);let{[e]:p,[e+1]:t}=D;const d=r instanceof Map?r.entries():Object.entries(r);for(const g of d)if(T(S,p,g),++p>=t)break},Q9=(n,e)=>(r,S,D,T)=>S&&r(S,n,e[T]),eL=(n,e)=>(r,S,D,T)=>S&&r(S,n,e.get(T)),tL=(n,e)=>(r,S,D,T)=>S&&r(S,n,e.get(D.name)),nL=(n,e)=>(r,S,D,T)=>S&&r(S,n,e[D.name]),rL=(n,e,r)=>{const S=n.type.children.map(T=>nc.getVisitFn(T.type)),D=r instanceof Map?tL(e,r):r instanceof Ta?eL(e,r):Array.isArray(r)?Q9(e,r):nL(e,r);n.type.children.forEach((T,p)=>D(S[p],n.children[p],T,p))},iL=(n,e,r)=>{n.type.mode===xu.Dense?Ak(n,e,r):Sk(n,e,r)},Ak=(n,e,r)=>{const S=n.type.typeIdToChildIndex[n.typeIds[e]],D=n.children[S];nc.visit(D,n.valueOffsets[e],r)},Sk=(n,e,r)=>{const S=n.type.typeIdToChildIndex[n.typeIds[e]],D=n.children[S];nc.visit(D,e,r)},aL=(n,e,r)=>{var S;(S=n.dictionary)===null||S===void 0||S.set(n.values[e],r)},oL=(n,e,r)=>{n.type.unit===Hf.DAY_TIME?Ck(n,e,r):Ek(n,e,r)},Ck=({values:n},e,r)=>{n.set(r.subarray(0,2),2*e)},Ek=({values:n},e,r)=>{n[e]=r[0]*12+r[1]%12},sL=(n,e,r)=>{const{stride:S}=n,D=n.children[0],T=nc.getVisitFn(D);if(Array.isArray(r))for(let p=-1,t=e*S;++p`${Cm(e)}: ${Cm(r)}`).join(", ")}}`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}[Symbol.iterator](){return new lL(this[Ec],this[Gp])}}class lL{constructor(e,r){this.childIndex=0,this.children=e.children,this.rowIndex=r,this.childFields=e.type.children,this.numChildren=this.childFields.length}[Symbol.iterator](){return this}next(){const e=this.childIndex;return er.name)}has(e,r){return e[Ec].type.children.findIndex(S=>S.name===r)!==-1}getOwnPropertyDescriptor(e,r){if(e[Ec].type.children.findIndex(S=>S.name===r)!==-1)return{writable:!0,enumerable:!0,configurable:!0}}get(e,r){if(Reflect.has(e,r))return e[r];const S=e[Ec].type.children.findIndex(D=>D.name===r);if(S!==-1){const D=Xl.visit(e[Ec].children[S],e[Gp]);return Reflect.set(e,r,D),D}}set(e,r,S){const D=e[Ec].type.children.findIndex(T=>T.name===r);return D!==-1?(nc.visit(e[Ec].children[D],e[Gp],S),Reflect.set(e,r,S)):Reflect.has(e,r)||typeof r=="symbol"?Reflect.set(e,r,S):!1}}class Ti extends aa{}function Ei(n){return(e,r)=>e.getValid(r)?n(e,r):null}const cL=(n,e)=>864e5*n[e],w2=(n,e)=>4294967296*n[e+1]+(n[e]>>>0),hL=(n,e)=>4294967296*(n[e+1]/1e3)+(n[e]>>>0)/1e3,fL=(n,e)=>4294967296*(n[e+1]/1e6)+(n[e]>>>0)/1e6,Lk=n=>new Date(n),dL=(n,e)=>Lk(cL(n,e)),pL=(n,e)=>Lk(w2(n,e)),mL=(n,e)=>null,Ik=(n,e,r)=>{if(r+1>=e.length)return null;const S=e[r],D=e[r+1];return n.subarray(S,D)},gL=({offset:n,values:e},r)=>{const S=n+r;return(e[S>>3]&1<dL(n,e),Pk=({values:n},e)=>pL(n,e*2),Kf=({stride:n,values:e},r)=>e[n*r],vL=({stride:n,values:e},r)=>dk(e[n*r]),Ok=({values:n},e)=>n[e],yL=({stride:n,values:e},r)=>e.subarray(n*r,n*(r+1)),bL=({values:n,valueOffsets:e},r)=>Ik(n,e,r),xL=({values:n,valueOffsets:e},r)=>{const S=Ik(n,e,r);return S!==null?jb(S):null},_L=({values:n},e)=>n[e],wL=({type:n,values:e},r)=>n.precision!==Yl.HALF?e[r]:dk(e[r]),TL=(n,e)=>n.type.unit===nf.DAY?Rk(n,e):Pk(n,e),Dk=({values:n},e)=>1e3*w2(n,e*2),zk=({values:n},e)=>w2(n,e*2),Fk=({values:n},e)=>hL(n,e*2),Bk=({values:n},e)=>fL(n,e*2),kL=(n,e)=>{switch(n.type.unit){case wa.SECOND:return Dk(n,e);case wa.MILLISECOND:return zk(n,e);case wa.MICROSECOND:return Fk(n,e);case wa.NANOSECOND:return Bk(n,e)}},Nk=({values:n},e)=>n[e],Vk=({values:n},e)=>n[e],jk=({values:n},e)=>n[e],Uk=({values:n},e)=>n[e],ML=(n,e)=>{switch(n.type.unit){case wa.SECOND:return Nk(n,e);case wa.MILLISECOND:return Vk(n,e);case wa.MICROSECOND:return jk(n,e);case wa.NANOSECOND:return Uk(n,e)}},AL=({values:n,stride:e},r)=>y2.decimal(n.subarray(e*r,e*(r+1))),SL=(n,e)=>{const{valueOffsets:r,stride:S,children:D}=n,{[e*S]:T,[e*S+1]:p}=r,d=D[0].slice(T,p-T);return new Ta([d])},CL=(n,e)=>{const{valueOffsets:r,children:S}=n,{[e]:D,[e+1]:T}=r,p=S[0];return new T2(p.slice(D,T-D))},EL=(n,e)=>new _2(n,e),LL=(n,e)=>n.type.mode===xu.Dense?Hk(n,e):Gk(n,e),Hk=(n,e)=>{const r=n.type.typeIdToChildIndex[n.typeIds[e]],S=n.children[r];return Xl.visit(S,n.valueOffsets[e])},Gk=(n,e)=>{const r=n.type.typeIdToChildIndex[n.typeIds[e]],S=n.children[r];return Xl.visit(S,e)},IL=(n,e)=>{var r;return(r=n.dictionary)===null||r===void 0?void 0:r.get(n.values[e])},RL=(n,e)=>n.type.unit===Hf.DAY_TIME?qk(n,e):Wk(n,e),qk=({values:n},e)=>n.subarray(2*e,2*(e+1)),Wk=({values:n},e)=>{const r=n[e],S=new Int32Array(2);return S[0]=Math.trunc(r/12),S[1]=Math.trunc(r%12),S},PL=(n,e)=>{const{stride:r,children:S}=n,T=S[0].slice(e*r,r);return new Ta([T])};Ti.prototype.visitNull=Ei(mL);Ti.prototype.visitBool=Ei(gL);Ti.prototype.visitInt=Ei(_L);Ti.prototype.visitInt8=Ei(Kf);Ti.prototype.visitInt16=Ei(Kf);Ti.prototype.visitInt32=Ei(Kf);Ti.prototype.visitInt64=Ei(Ok);Ti.prototype.visitUint8=Ei(Kf);Ti.prototype.visitUint16=Ei(Kf);Ti.prototype.visitUint32=Ei(Kf);Ti.prototype.visitUint64=Ei(Ok);Ti.prototype.visitFloat=Ei(wL);Ti.prototype.visitFloat16=Ei(vL);Ti.prototype.visitFloat32=Ei(Kf);Ti.prototype.visitFloat64=Ei(Kf);Ti.prototype.visitUtf8=Ei(xL);Ti.prototype.visitBinary=Ei(bL);Ti.prototype.visitFixedSizeBinary=Ei(yL);Ti.prototype.visitDate=Ei(TL);Ti.prototype.visitDateDay=Ei(Rk);Ti.prototype.visitDateMillisecond=Ei(Pk);Ti.prototype.visitTimestamp=Ei(kL);Ti.prototype.visitTimestampSecond=Ei(Dk);Ti.prototype.visitTimestampMillisecond=Ei(zk);Ti.prototype.visitTimestampMicrosecond=Ei(Fk);Ti.prototype.visitTimestampNanosecond=Ei(Bk);Ti.prototype.visitTime=Ei(ML);Ti.prototype.visitTimeSecond=Ei(Nk);Ti.prototype.visitTimeMillisecond=Ei(Vk);Ti.prototype.visitTimeMicrosecond=Ei(jk);Ti.prototype.visitTimeNanosecond=Ei(Uk);Ti.prototype.visitDecimal=Ei(AL);Ti.prototype.visitList=Ei(SL);Ti.prototype.visitStruct=Ei(EL);Ti.prototype.visitUnion=Ei(LL);Ti.prototype.visitDenseUnion=Ei(Hk);Ti.prototype.visitSparseUnion=Ei(Gk);Ti.prototype.visitDictionary=Ei(IL);Ti.prototype.visitInterval=Ei(RL);Ti.prototype.visitIntervalDayTime=Ei(qk);Ti.prototype.visitIntervalYearMonth=Ei(Wk);Ti.prototype.visitFixedSizeList=Ei(PL);Ti.prototype.visitMap=Ei(CL);const Xl=new Ti,lh=Symbol.for("keys"),qp=Symbol.for("vals");class T2{constructor(e){return this[lh]=new Ta([e.children[0]]).memoize(),this[qp]=e.children[1],new Proxy(this,new DL)}[Symbol.iterator](){return new OL(this[lh],this[qp])}get size(){return this[lh].length}toArray(){return Object.values(this.toJSON())}toJSON(){const e=this[lh],r=this[qp],S={};for(let D=-1,T=e.length;++D`${Cm(e)}: ${Cm(r)}`).join(", ")}}`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}}class OL{constructor(e,r){this.keys=e,this.vals=r,this.keyIndex=0,this.numKeys=e.length}[Symbol.iterator](){return this}next(){const e=this.keyIndex;return e===this.numKeys?{done:!0,value:null}:(this.keyIndex++,{done:!1,value:[this.keys.get(e),Xl.visit(this.vals,e)]})}}class DL{isExtensible(){return!1}deleteProperty(){return!1}preventExtensions(){return!0}ownKeys(e){return e[lh].toArray().map(String)}has(e,r){return e[lh].includes(r)}getOwnPropertyDescriptor(e,r){if(e[lh].indexOf(r)!==-1)return{writable:!0,enumerable:!0,configurable:!0}}get(e,r){if(Reflect.has(e,r))return e[r];const S=e[lh].indexOf(r);if(S!==-1){const D=Xl.visit(Reflect.get(e,qp),S);return Reflect.set(e,r,D),D}}set(e,r,S){const D=e[lh].indexOf(r);return D!==-1?(nc.visit(Reflect.get(e,qp),D,S),Reflect.set(e,r,S)):Reflect.has(e,r)?Reflect.set(e,r,S):!1}}Object.defineProperties(T2.prototype,{[Symbol.toStringTag]:{enumerable:!1,configurable:!1,value:"Row"},[lh]:{writable:!0,enumerable:!1,configurable:!1,value:null},[qp]:{writable:!0,enumerable:!1,configurable:!1,value:null}});let J3;function Yk(n,e,r,S){const{length:D=0}=n;let T=typeof e!="number"?0:e,p=typeof r!="number"?D:r;return T<0&&(T=(T%D+D)%D),p<0&&(p=(p%D+D)%D),pD&&(p=D),S?S(n,T,p):[T,p]}const Q3=n=>n!==n;function v0(n){if(typeof n!=="object"||n===null)return Q3(n)?Q3:r=>r===n;if(n instanceof Date){const r=n.valueOf();return S=>S instanceof Date?S.valueOf()===r:!1}return ArrayBuffer.isView(n)?r=>r?C9(n,r):!1:n instanceof Map?FL(n):Array.isArray(n)?zL(n):n instanceof Ta?BL(n):NL(n,!0)}function zL(n){const e=[];for(let r=-1,S=n.length;++r!1;const S=[];for(let D=-1,T=r.length;++D{if(!r||typeof r!="object")return!1;switch(r.constructor){case Array:return VL(n,r);case Map:return e5(n,r,r.keys());case T2:case _2:case Object:case void 0:return e5(n,r,e||Object.keys(r))}return r instanceof Ta?jL(n,r):!1}}function VL(n,e){const r=n.length;if(e.length!==r)return!1;for(let S=-1;++S>S}function k2(n,e,r){const S=r.byteLength+7&-8;if(n>0||r.byteLength>3):qv(new M2(r,n,e,null,$k)).subarray(0,S)),D}return r}function qv(n){const e=[];let r=0,S=0,D=0;for(const p of n)p&&(D|=1<0)&&(e[r++]=D);const T=new Uint8Array(e.length+7&-8);return T.set(e),T}class M2{constructor(e,r,S,D,T){this.bytes=e,this.length=S,this.context=D,this.get=T,this.bit=r%8,this.byteIndex=r>>3,this.byte=e[this.byteIndex++],this.index=0}next(){return this.index>3<<3,D=e+(e%8===0?0:8-e%8);return qb(n,e,D)+qb(n,S,r)+HL(n,D>>3,S-D>>3)}function HL(n,e,r){let S=0,D=Math.trunc(e);const T=new DataView(n.buffer,n.byteOffset,n.byteLength),p=r===void 0?n.byteLength:D+r;for(;p-D>=4;)S+=cb(T.getUint32(D)),D+=4;for(;p-D>=2;)S+=cb(T.getUint16(D)),D+=2;for(;p-D>=1;)S+=cb(T.getUint8(D)),D+=1;return S}function cb(n){let e=Math.trunc(n);return e=e-(e>>>1&1431655765),e=(e&858993459)+(e>>>2&858993459),(e+(e>>>4)&252645135)*16843009>>>24}const GL=-1;class Qa{constructor(e,r,S,D,T,p=[],t){this.type=e,this.children=p,this.dictionary=t,this.offset=Math.floor(Math.max(r||0,0)),this.length=Math.floor(Math.max(S||0,0)),this._nullCount=Math.floor(Math.max(D||0,-1));let d;T instanceof Qa?(this.stride=T.stride,this.values=T.values,this.typeIds=T.typeIds,this.nullBitmap=T.nullBitmap,this.valueOffsets=T.valueOffsets):(this.stride=Wh(e),T&&((d=T[0])&&(this.valueOffsets=d),(d=T[1])&&(this.values=d),(d=T[2])&&(this.nullBitmap=d),(d=T[3])&&(this.typeIds=d))),this.nullable=this._nullCount!==0&&this.nullBitmap&&this.nullBitmap.byteLength>0}get typeId(){return this.type.typeId}get ArrayType(){return this.type.ArrayType}get buffers(){return[this.valueOffsets,this.values,this.nullBitmap,this.typeIds]}get byteLength(){let e=0;const{valueOffsets:r,values:S,nullBitmap:D,typeIds:T}=this;return r&&(e+=r.byteLength),S&&(e+=S.byteLength),D&&(e+=D.byteLength),T&&(e+=T.byteLength),this.children.reduce((p,t)=>p+t.byteLength,e)}get nullCount(){let e=this._nullCount,r;return e<=GL&&(r=this.nullBitmap)&&(this._nullCount=e=this.length-qb(r,this.offset,this.offset+this.length)),e}getValid(e){if(this.nullable&&this.nullCount>0){const r=this.offset+e;return(this.nullBitmap[r>>3]&1<>3){const{nullBitmap:d}=this._changeLengthAndBackfillNullBitmap(this.length);Object.assign(this,{nullBitmap:d,_nullCount:0})}const{nullBitmap:S,offset:D}=this,T=D+e>>3,p=(D+e)%8,t=S[T]>>p&1;return r?t===0&&(S[T]|=1<>3).fill(255,0,r>>3);D[r>>3]=(1<0&&D.set(k2(this.offset,r,this.nullBitmap),0);const T=this.buffers;return T[qh.VALIDITY]=D,this.clone(this.type,0,e,S+(e-r),T)}_sliceBuffers(e,r,S,D){let T;const{buffers:p}=this;return(T=p[qh.TYPE])&&(p[qh.TYPE]=T.subarray(e,e+r)),(T=p[qh.OFFSET])&&(p[qh.OFFSET]=T.subarray(e,e+r+1))||(T=p[qh.DATA])&&(p[qh.DATA]=D===6?T:T.subarray(S*e,S*(e+r))),p}_sliceChildren(e,r,S){return e.map(D=>D.slice(r,S))}}Qa.prototype.children=Object.freeze([]);class mm extends aa{visit(e){return this.getVisitFn(e.type).call(this,e)}visitNull(e){const{["type"]:r,["offset"]:S=0,["length"]:D=0}=e;return new Qa(r,S,D,0)}visitBool(e){const{["type"]:r,["offset"]:S=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length>>3,["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,S,p,t,[void 0,T,D])}visitInt(e){const{["type"]:r,["offset"]:S=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length,["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,S,p,t,[void 0,T,D])}visitFloat(e){const{["type"]:r,["offset"]:S=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length,["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,S,p,t,[void 0,T,D])}visitUtf8(e){const{["type"]:r,["offset"]:S=0}=e,D=_a(e.data),T=_a(e.nullBitmap),p=rm(e.valueOffsets),{["length"]:t=p.length-1,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,S,t,d,[p,D,T])}visitBinary(e){const{["type"]:r,["offset"]:S=0}=e,D=_a(e.data),T=_a(e.nullBitmap),p=rm(e.valueOffsets),{["length"]:t=p.length-1,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,S,t,d,[p,D,T])}visitFixedSizeBinary(e){const{["type"]:r,["offset"]:S=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,S,p,t,[void 0,T,D])}visitDate(e){const{["type"]:r,["offset"]:S=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,S,p,t,[void 0,T,D])}visitTimestamp(e){const{["type"]:r,["offset"]:S=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,S,p,t,[void 0,T,D])}visitTime(e){const{["type"]:r,["offset"]:S=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,S,p,t,[void 0,T,D])}visitDecimal(e){const{["type"]:r,["offset"]:S=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,S,p,t,[void 0,T,D])}visitList(e){const{["type"]:r,["offset"]:S=0,["child"]:D}=e,T=_a(e.nullBitmap),p=rm(e.valueOffsets),{["length"]:t=p.length-1,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,S,t,d,[p,void 0,T],[D])}visitStruct(e){const{["type"]:r,["offset"]:S=0,["children"]:D=[]}=e,T=_a(e.nullBitmap),{length:p=D.reduce((d,{length:g})=>Math.max(d,g),0),nullCount:t=e.nullBitmap?-1:0}=e;return new Qa(r,S,p,t,[void 0,void 0,T],D)}visitUnion(e){const{["type"]:r,["offset"]:S=0,["children"]:D=[]}=e,T=_a(e.nullBitmap),p=qa(r.ArrayType,e.typeIds),{["length"]:t=p.length,["nullCount"]:d=e.nullBitmap?-1:0}=e;if(_i.isSparseUnion(r))return new Qa(r,S,t,d,[void 0,void 0,T,p],D);const g=rm(e.valueOffsets);return new Qa(r,S,t,d,[g,void 0,T,p],D)}visitDictionary(e){const{["type"]:r,["offset"]:S=0}=e,D=_a(e.nullBitmap),T=qa(r.indices.ArrayType,e.data),{["dictionary"]:p=new Ta([new mm().visit({type:r.dictionary})])}=e,{["length"]:t=T.length,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,S,t,d,[void 0,T,D],[],p)}visitInterval(e){const{["type"]:r,["offset"]:S=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,S,p,t,[void 0,T,D])}visitFixedSizeList(e){const{["type"]:r,["offset"]:S=0,["child"]:D=new mm().visit({type:r.valueType})}=e,T=_a(e.nullBitmap),{["length"]:p=D.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,S,p,t,[void 0,void 0,T],[D])}visitMap(e){const{["type"]:r,["offset"]:S=0,["child"]:D=new mm().visit({type:r.childType})}=e,T=_a(e.nullBitmap),p=rm(e.valueOffsets),{["length"]:t=p.length-1,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,S,t,d,[p,void 0,T],[D])}}function ra(n){return new mm().visit(n)}class t5{constructor(e=0,r){this.numChunks=e,this.getChunkIterator=r,this.chunkIndex=0,this.chunkIterator=this.getChunkIterator(0)}next(){for(;this.chunkIndexe+r.nullCount,0)}function Xk(n){return n.reduce((e,r,S)=>(e[S+1]=e[S]+r.length,e),new Uint32Array(n.length+1))}function Kk(n,e,r,S){const D=[];for(let T=-1,p=n.length;++T=S)break;if(r>=d+g)continue;if(d>=r&&d+g<=S){D.push(t);continue}const i=Math.max(0,r-d),M=Math.min(S-d,g);D.push(t.slice(i,M-i))}return D.length===0&&D.push(n[0].slice(0,0)),D}function A2(n,e,r,S){let D=0,T=0,p=e.length-1;do{if(D>=p-1)return r0?0:-1}function WL(n,e){const{nullBitmap:r}=n;if(!r||n.nullCount<=0)return-1;let S=0;for(const D of new M2(r,n.offset+(e||0),n.length,r,$k)){if(!D)return S;++S}return-1}function Vi(n,e,r){if(e===void 0)return-1;if(e===null)return WL(n,r);const S=Xl.getVisitFn(n),D=v0(e);for(let T=(r||0)-1,p=n.length;++T{const D=n.data[S];return D.values.subarray(0,D.length)[Symbol.iterator]()});let r=0;return new t5(n.data.length,S=>{const T=n.data[S].length,p=n.slice(r,r+T);return r+=T,new YL(p)})}class YL{constructor(e){this.vector=e,this.index=0}next(){return this.indexn+e;class Jf extends aa{visitNull(e,r){return 0}visitInt(e,r){return e.type.bitWidth/8}visitFloat(e,r){return e.type.ArrayType.BYTES_PER_ELEMENT}visitBool(e,r){return 1/8}visitDecimal(e,r){return e.type.bitWidth/8}visitDate(e,r){return(e.type.unit+1)*4}visitTime(e,r){return e.type.bitWidth/8}visitTimestamp(e,r){return e.type.unit===wa.SECOND?4:8}visitInterval(e,r){return(e.type.unit+1)*4}visitStruct(e,r){return e.children.reduce((S,D)=>S+_h.visit(D,r),0)}visitFixedSizeBinary(e,r){return e.type.byteWidth}visitMap(e,r){return 8+e.children.reduce((S,D)=>S+_h.visit(D,r),0)}visitDictionary(e,r){var S;return e.type.indices.bitWidth/8+(((S=e.dictionary)===null||S===void 0?void 0:S.getByteLength(e.values[r]))||0)}}const ZL=({valueOffsets:n},e)=>8+(n[e+1]-n[e]),XL=({valueOffsets:n},e)=>8+(n[e+1]-n[e]),KL=({valueOffsets:n,stride:e,children:r},S)=>{const D=r[0],{[S*e]:T}=n,{[S*e+1]:p}=n,t=_h.getVisitFn(D.type),d=D.slice(T,p-T);let g=8;for(let i=-1,M=p-T;++i{const S=e[0],D=S.slice(r*n,n),T=_h.getVisitFn(S.type);let p=0;for(let t=-1,d=D.length;++tn.type.mode===xu.Dense?tM(n,e):nM(n,e),tM=({type:n,children:e,typeIds:r,valueOffsets:S},D)=>{const T=n.typeIdToChildIndex[r[D]];return 8+_h.visit(e[T],S[D])},nM=({children:n},e)=>4+_h.visitMany(n,n.map(()=>e)).reduce($L,0);Jf.prototype.visitUtf8=ZL;Jf.prototype.visitBinary=XL;Jf.prototype.visitList=KL;Jf.prototype.visitFixedSizeList=JL;Jf.prototype.visitUnion=QL;Jf.prototype.visitDenseUnion=tM;Jf.prototype.visitSparseUnion=nM;const _h=new Jf;var rM;const iM={},aM={};class Ta{constructor(e){var r,S,D;const T=e[0]instanceof Ta?e.flatMap(t=>t.data):e;if(T.length===0||T.some(t=>!(t instanceof Qa)))throw new TypeError("Vector constructor expects an Array of Data instances.");const p=(r=T[0])===null||r===void 0?void 0:r.type;switch(T.length){case 0:this._offsets=[0];break;case 1:{const{get:t,set:d,indexOf:g,byteLength:i}=iM[p.typeId],M=T[0];this.isValid=v=>S2(M,v),this.get=v=>t(M,v),this.set=(v,f)=>d(M,v,f),this.indexOf=v=>g(M,v),this.getByteLength=v=>i(M,v),this._offsets=[0,M.length];break}default:Object.setPrototypeOf(this,aM[p.typeId]),this._offsets=Xk(T);break}this.data=T,this.type=p,this.stride=Wh(p),this.numChildren=(D=(S=p.children)===null||S===void 0?void 0:S.length)!==null&&D!==void 0?D:0,this.length=this._offsets[this._offsets.length-1]}get byteLength(){return this._byteLength===-1&&(this._byteLength=this.data.reduce((e,r)=>e+r.byteLength,0)),this._byteLength}get nullCount(){return this._nullCount===-1&&(this._nullCount=Zk(this.data)),this._nullCount}get ArrayType(){return this.type.ArrayType}get[Symbol.toStringTag](){return`${this.VectorName}<${this.type[Symbol.toStringTag]}>`}get VectorName(){return`${Jn[this.type.typeId]}Vector`}isValid(e){return!1}get(e){return null}set(e,r){}indexOf(e,r){return-1}includes(e,r){return this.indexOf(e,r)>0}getByteLength(e){return 0}[Symbol.iterator](){return C2.visit(this)}concat(...e){return new Ta(this.data.concat(e.flatMap(r=>r.data).flat(Number.POSITIVE_INFINITY)))}slice(e,r){return new Ta(Yk(this,e,r,({data:S,_offsets:D},T,p)=>Kk(S,D,T,p)))}toJSON(){return[...this]}toArray(){const{type:e,data:r,length:S,stride:D,ArrayType:T}=this;switch(e.typeId){case Jn.Int:case Jn.Float:case Jn.Decimal:case Jn.Time:case Jn.Timestamp:switch(r.length){case 0:return new T;case 1:return r[0].values.subarray(0,S*D);default:return r.reduce((p,{values:t,length:d})=>(p.array.set(t.subarray(0,d*D),p.offset),p.offset+=d*D,p),{array:new T(S*D),offset:0}).array}}return[...this]}toString(){return`[${[...this].join(",")}]`}getChild(e){var r;return this.getChildAt((r=this.type.children)===null||r===void 0?void 0:r.findIndex(S=>S.name===e))}getChildAt(e){return e>-1&&er[e])):null}get isMemoized(){return _i.isDictionary(this.type)?this.data[0].dictionary.isMemoized:!1}memoize(){if(_i.isDictionary(this.type)){const e=new Yv(this.data[0].dictionary),r=this.data.map(S=>{const D=S.clone();return D.dictionary=e,D});return new Ta(r)}return new Yv(this)}unmemoize(){if(_i.isDictionary(this.type)&&this.isMemoized){const e=this.data[0].dictionary.unmemoize(),r=this.data.map(S=>{const D=S.clone();return D.dictionary=e,D});return new Ta(r)}return this}}rM=Symbol.toStringTag;Ta[rM]=(n=>{n.type=_i.prototype,n.data=[],n.length=0,n.stride=1,n.numChildren=0,n._nullCount=-1,n._byteLength=-1,n._offsets=new Uint32Array([0]),n[Symbol.isConcatSpreadable]=!0;const e=Object.keys(Jn).map(r=>Jn[r]).filter(r=>typeof r=="number"&&r!==Jn.NONE);for(const r of e){const S=Xl.getVisitFnByTypeId(r),D=nc.getVisitFnByTypeId(r),T=Wv.getVisitFnByTypeId(r),p=_h.getVisitFnByTypeId(r);iM[r]={get:S,set:D,indexOf:T,byteLength:p},aM[r]=Object.create(n,{isValid:{value:Wp(S2)},get:{value:Wp(Xl.getVisitFnByTypeId(r))},set:{value:Jk(nc.getVisitFnByTypeId(r))},indexOf:{value:Qk(Wv.getVisitFnByTypeId(r))},getByteLength:{value:Wp(_h.getVisitFnByTypeId(r))}})}return"Vector"})(Ta.prototype);class Yv extends Ta{constructor(e){super(e.data);const r=this.get,S=this.set,D=this.slice,T=new Array(this.length);Object.defineProperty(this,"get",{value(p){const t=T[p];if(t!==void 0)return t;const d=r.call(this,p);return T[p]=d,d}}),Object.defineProperty(this,"set",{value(p,t){S.call(this,p,t),T[p]=t}}),Object.defineProperty(this,"slice",{value:(p,t)=>new Yv(D.call(this,p,t))}),Object.defineProperty(this,"isMemoized",{value:!0}),Object.defineProperty(this,"unmemoize",{value:()=>new Ta(this.data)}),Object.defineProperty(this,"memoize",{value:()=>this})}}class Wb{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}offset(){return this.bb.readInt64(this.bb_pos)}metaDataLength(){return this.bb.readInt32(this.bb_pos+8)}bodyLength(){return this.bb.readInt64(this.bb_pos+16)}static sizeOf(){return 24}static createBlock(e,r,S,D){return e.prep(8,24),e.writeInt64(D),e.pad(4),e.writeInt32(S),e.writeInt64(r),e.offset()}}const hb=2,uh=4,$h=4,Wa=4,Pf=new Int32Array(2),n5=new Float32Array(Pf.buffer),r5=new Float64Array(Pf.buffer),av=new Uint16Array(new Uint8Array([1,0]).buffer)[0]===1;let Jh=class Yb{constructor(e,r){this.low=e|0,this.high=r|0}static create(e,r){return e==0&&r==0?Yb.ZERO:new Yb(e,r)}toFloat64(){return(this.low>>>0)+this.high*4294967296}equals(e){return this.low==e.low&&this.high==e.high}};Jh.ZERO=new Jh(0,0);var $b;(function(n){n[n.UTF8_BYTES=1]="UTF8_BYTES",n[n.UTF16_STRING=2]="UTF16_STRING"})($b||($b={}));let Jp=class oM{constructor(e){this.bytes_=e,this.position_=0}static allocate(e){return new oM(new Uint8Array(e))}clear(){this.position_=0}bytes(){return this.bytes_}position(){return this.position_}setPosition(e){this.position_=e}capacity(){return this.bytes_.length}readInt8(e){return this.readUint8(e)<<24>>24}readUint8(e){return this.bytes_[e]}readInt16(e){return this.readUint16(e)<<16>>16}readUint16(e){return this.bytes_[e]|this.bytes_[e+1]<<8}readInt32(e){return this.bytes_[e]|this.bytes_[e+1]<<8|this.bytes_[e+2]<<16|this.bytes_[e+3]<<24}readUint32(e){return this.readInt32(e)>>>0}readInt64(e){return new Jh(this.readInt32(e),this.readInt32(e+4))}readUint64(e){return new Jh(this.readUint32(e),this.readUint32(e+4))}readFloat32(e){return Pf[0]=this.readInt32(e),n5[0]}readFloat64(e){return Pf[av?0:1]=this.readInt32(e),Pf[av?1:0]=this.readInt32(e+4),r5[0]}writeInt8(e,r){this.bytes_[e]=r}writeUint8(e,r){this.bytes_[e]=r}writeInt16(e,r){this.bytes_[e]=r,this.bytes_[e+1]=r>>8}writeUint16(e,r){this.bytes_[e]=r,this.bytes_[e+1]=r>>8}writeInt32(e,r){this.bytes_[e]=r,this.bytes_[e+1]=r>>8,this.bytes_[e+2]=r>>16,this.bytes_[e+3]=r>>24}writeUint32(e,r){this.bytes_[e]=r,this.bytes_[e+1]=r>>8,this.bytes_[e+2]=r>>16,this.bytes_[e+3]=r>>24}writeInt64(e,r){this.writeInt32(e,r.low),this.writeInt32(e+4,r.high)}writeUint64(e,r){this.writeUint32(e,r.low),this.writeUint32(e+4,r.high)}writeFloat32(e,r){n5[0]=r,this.writeInt32(e,Pf[0])}writeFloat64(e,r){r5[0]=r,this.writeInt32(e,Pf[av?0:1]),this.writeInt32(e+4,Pf[av?1:0])}getBufferIdentifier(){if(this.bytes_.length>10)+55296,(p&1024-1)+56320))}return D}__union_with_string(e,r){return typeof e=="string"?this.__string(r):this.__union(e,r)}__indirect(e){return e+this.readInt32(e)}__vector(e){return e+this.readInt32(e)+uh}__vector_len(e){return this.readInt32(e+this.readInt32(e))}__has_identifier(e){if(e.length!=$h)throw new Error("FlatBuffers: file identifier must be length "+$h);for(let r=0;r<$h;r++)if(e.charCodeAt(r)!=this.readInt8(this.position()+uh+r))return!1;return!0}createLong(e,r){return Jh.create(e,r)}createScalarList(e,r){const S=[];for(let D=0;Dthis.minalign&&(this.minalign=e);const S=~(this.bb.capacity()-this.space+r)+1&e-1;for(;this.space=0&&this.vtable[r]==0;r--);const S=r+1;for(;r>=0;r--)this.addInt16(this.vtable[r]!=0?e-this.vtable[r]:0);const D=2;this.addInt16(e-this.object_start);const T=(S+D)*hb;this.addInt16(T);let p=0;const t=this.space;e:for(r=0;r=0;p--)this.writeInt8(T.charCodeAt(p))}this.prep(this.minalign,uh+D),this.addOffset(e),D&&this.addInt32(this.bb.capacity()-this.space),this.bb.setPosition(this.space)}finishSizePrefixed(e,r){this.finish(e,r,!0)}requiredField(e,r){const S=this.bb.capacity()-e,D=S-this.bb.readInt32(S);if(!(this.bb.readInt16(D+r)!=0))throw new Error("FlatBuffers: field "+r+" must be set")}startVector(e,r,S){this.notNested(),this.vector_num_elems=r,this.prep(uh,e*r),this.prep(S,e*r)}endVector(){return this.writeInt32(this.vector_num_elems),this.offset()}createSharedString(e){if(!e)return 0;if(this.string_maps||(this.string_maps=new Map),this.string_maps.has(e))return this.string_maps.get(e);const r=this.createString(e);return this.string_maps.set(e,r),r}createString(e){if(!e)return 0;let r;if(e instanceof Uint8Array)r=e;else{r=[];let S=0;for(;S=56320)D=T;else{const p=e.charCodeAt(S++);D=(T<<10)+p+(65536-56623104-56320)}D<128?r.push(D):(D<2048?r.push(D>>6&31|192):(D<65536?r.push(D>>12&15|224):r.push(D>>18&7|240,D>>12&63|128),r.push(D>>6&63|128)),r.push(D&63|128))}}this.addInt8(0),this.startVector(1,r.length,1),this.bb.setPosition(this.space-=r.length);for(let S=0,D=this.space,T=this.bb.bytes();S=0;S--)e.addInt32(r[S]);return e.endVector()}static startTypeIdsVector(e,r){e.startVector(4,r,4)}static endUnion(e){return e.endObject()}static createUnion(e,r,S){return ql.startUnion(e),ql.addMode(e,r),ql.addTypeIds(e,S),ql.endUnion(e)}}class Pd{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsUtf8(e,r){return(r||new Pd).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsUtf8(e,r){return e.setPosition(e.position()+Wa),(r||new Pd).__init(e.readInt32(e.position())+e.position(),e)}static startUtf8(e){e.startObject(0)}static endUtf8(e){return e.endObject()}static createUtf8(e){return Pd.startUtf8(e),Pd.endUtf8(e)}}var Ao;(function(n){n[n.NONE=0]="NONE",n[n.Null=1]="Null",n[n.Int=2]="Int",n[n.FloatingPoint=3]="FloatingPoint",n[n.Binary=4]="Binary",n[n.Utf8=5]="Utf8",n[n.Bool=6]="Bool",n[n.Decimal=7]="Decimal",n[n.Date=8]="Date",n[n.Time=9]="Time",n[n.Timestamp=10]="Timestamp",n[n.Interval=11]="Interval",n[n.List=12]="List",n[n.Struct_=13]="Struct_",n[n.Union=14]="Union",n[n.FixedSizeBinary=15]="FixedSizeBinary",n[n.FixedSizeList=16]="FixedSizeList",n[n.Map=17]="Map",n[n.Duration=18]="Duration",n[n.LargeBinary=19]="LargeBinary",n[n.LargeUtf8=20]="LargeUtf8",n[n.LargeList=21]="LargeList"})(Ao||(Ao={}));let qu=class yv{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsField(e,r){return(r||new yv).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsField(e,r){return e.setPosition(e.position()+Wa),(r||new yv).__init(e.readInt32(e.position())+e.position(),e)}name(e){const r=this.bb.__offset(this.bb_pos,4);return r?this.bb.__string(this.bb_pos+r,e):null}nullable(){const e=this.bb.__offset(this.bb_pos,6);return e?!!this.bb.readInt8(this.bb_pos+e):!1}typeType(){const e=this.bb.__offset(this.bb_pos,8);return e?this.bb.readUint8(this.bb_pos+e):Ao.NONE}type(e){const r=this.bb.__offset(this.bb_pos,10);return r?this.bb.__union(e,this.bb_pos+r):null}dictionary(e){const r=this.bb.__offset(this.bb_pos,12);return r?(e||new Zh).__init(this.bb.__indirect(this.bb_pos+r),this.bb):null}children(e,r){const S=this.bb.__offset(this.bb_pos,14);return S?(r||new yv).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+S)+e*4),this.bb):null}childrenLength(){const e=this.bb.__offset(this.bb_pos,14);return e?this.bb.__vector_len(this.bb_pos+e):0}customMetadata(e,r){const S=this.bb.__offset(this.bb_pos,16);return S?(r||new cs).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+S)+e*4),this.bb):null}customMetadataLength(){const e=this.bb.__offset(this.bb_pos,16);return e?this.bb.__vector_len(this.bb_pos+e):0}static startField(e){e.startObject(7)}static addName(e,r){e.addFieldOffset(0,r,0)}static addNullable(e,r){e.addFieldInt8(1,+r,0)}static addTypeType(e,r){e.addFieldInt8(2,r,Ao.NONE)}static addType(e,r){e.addFieldOffset(3,r,0)}static addDictionary(e,r){e.addFieldOffset(4,r,0)}static addChildren(e,r){e.addFieldOffset(5,r,0)}static createChildrenVector(e,r){e.startVector(4,r.length,4);for(let S=r.length-1;S>=0;S--)e.addOffset(r[S]);return e.endVector()}static startChildrenVector(e,r){e.startVector(4,r,4)}static addCustomMetadata(e,r){e.addFieldOffset(6,r,0)}static createCustomMetadataVector(e,r){e.startVector(4,r.length,4);for(let S=r.length-1;S>=0;S--)e.addOffset(r[S]);return e.endVector()}static startCustomMetadataVector(e,r){e.startVector(4,r,4)}static endField(e){return e.endObject()}},ih=class Hh{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsSchema(e,r){return(r||new Hh).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsSchema(e,r){return e.setPosition(e.position()+Wa),(r||new Hh).__init(e.readInt32(e.position())+e.position(),e)}endianness(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):e0.Little}fields(e,r){const S=this.bb.__offset(this.bb_pos,6);return S?(r||new qu).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+S)+e*4),this.bb):null}fieldsLength(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.__vector_len(this.bb_pos+e):0}customMetadata(e,r){const S=this.bb.__offset(this.bb_pos,8);return S?(r||new cs).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+S)+e*4),this.bb):null}customMetadataLength(){const e=this.bb.__offset(this.bb_pos,8);return e?this.bb.__vector_len(this.bb_pos+e):0}features(e){const r=this.bb.__offset(this.bb_pos,10);return r?this.bb.readInt64(this.bb.__vector(this.bb_pos+r)+e*8):this.bb.createLong(0,0)}featuresLength(){const e=this.bb.__offset(this.bb_pos,10);return e?this.bb.__vector_len(this.bb_pos+e):0}static startSchema(e){e.startObject(4)}static addEndianness(e,r){e.addFieldInt16(0,r,e0.Little)}static addFields(e,r){e.addFieldOffset(1,r,0)}static createFieldsVector(e,r){e.startVector(4,r.length,4);for(let S=r.length-1;S>=0;S--)e.addOffset(r[S]);return e.endVector()}static startFieldsVector(e,r){e.startVector(4,r,4)}static addCustomMetadata(e,r){e.addFieldOffset(2,r,0)}static createCustomMetadataVector(e,r){e.startVector(4,r.length,4);for(let S=r.length-1;S>=0;S--)e.addOffset(r[S]);return e.endVector()}static startCustomMetadataVector(e,r){e.startVector(4,r,4)}static addFeatures(e,r){e.addFieldOffset(3,r,0)}static createFeaturesVector(e,r){e.startVector(8,r.length,8);for(let S=r.length-1;S>=0;S--)e.addInt64(r[S]);return e.endVector()}static startFeaturesVector(e,r){e.startVector(8,r,8)}static endSchema(e){return e.endObject()}static finishSchemaBuffer(e,r){e.finish(r)}static finishSizePrefixedSchemaBuffer(e,r){e.finish(r,void 0,!0)}static createSchema(e,r,S,D,T){return Hh.startSchema(e),Hh.addEndianness(e,r),Hh.addFields(e,S),Hh.addCustomMetadata(e,D),Hh.addFeatures(e,T),Hh.endSchema(e)}};class fu{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsFooter(e,r){return(r||new fu).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsFooter(e,r){return e.setPosition(e.position()+Wa),(r||new fu).__init(e.readInt32(e.position())+e.position(),e)}version(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):Qp.V1}schema(e){const r=this.bb.__offset(this.bb_pos,6);return r?(e||new ih).__init(this.bb.__indirect(this.bb_pos+r),this.bb):null}dictionaries(e,r){const S=this.bb.__offset(this.bb_pos,8);return S?(r||new Wb).__init(this.bb.__vector(this.bb_pos+S)+e*24,this.bb):null}dictionariesLength(){const e=this.bb.__offset(this.bb_pos,8);return e?this.bb.__vector_len(this.bb_pos+e):0}recordBatches(e,r){const S=this.bb.__offset(this.bb_pos,10);return S?(r||new Wb).__init(this.bb.__vector(this.bb_pos+S)+e*24,this.bb):null}recordBatchesLength(){const e=this.bb.__offset(this.bb_pos,10);return e?this.bb.__vector_len(this.bb_pos+e):0}customMetadata(e,r){const S=this.bb.__offset(this.bb_pos,12);return S?(r||new cs).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+S)+e*4),this.bb):null}customMetadataLength(){const e=this.bb.__offset(this.bb_pos,12);return e?this.bb.__vector_len(this.bb_pos+e):0}static startFooter(e){e.startObject(5)}static addVersion(e,r){e.addFieldInt16(0,r,Qp.V1)}static addSchema(e,r){e.addFieldOffset(1,r,0)}static addDictionaries(e,r){e.addFieldOffset(2,r,0)}static startDictionariesVector(e,r){e.startVector(24,r,8)}static addRecordBatches(e,r){e.addFieldOffset(3,r,0)}static startRecordBatchesVector(e,r){e.startVector(24,r,8)}static addCustomMetadata(e,r){e.addFieldOffset(4,r,0)}static createCustomMetadataVector(e,r){e.startVector(4,r.length,4);for(let S=r.length-1;S>=0;S--)e.addOffset(r[S]);return e.endVector()}static startCustomMetadataVector(e,r){e.startVector(4,r,4)}static endFooter(e){return e.endObject()}static finishFooterBuffer(e,r){e.finish(r)}static finishSizePrefixedFooterBuffer(e,r){e.finish(r,void 0,!0)}}class Ea{constructor(e=[],r,S){this.fields=e||[],this.metadata=r||new Map,S||(S=Zb(e)),this.dictionaries=S}get[Symbol.toStringTag](){return"Schema"}get names(){return this.fields.map(e=>e.name)}toString(){return`Schema<{ ${this.fields.map((e,r)=>`${r}: ${e}`).join(", ")} }>`}select(e){const r=new Set(e),S=this.fields.filter(D=>r.has(D.name));return new Ea(S,this.metadata)}selectAt(e){const r=e.map(S=>this.fields[S]).filter(Boolean);return new Ea(r,this.metadata)}assign(...e){const r=e[0]instanceof Ea?e[0]:Array.isArray(e[0])?new Ea(e[0]):new Ea(e),S=[...this.fields],D=ov(ov(new Map,this.metadata),r.metadata),T=r.fields.filter(t=>{const d=S.findIndex(g=>g.name===t.name);return~d?(S[d]=t.clone({metadata:ov(ov(new Map,S[d].metadata),t.metadata)}))&&!1:!0}),p=Zb(T,new Map);return new Ea([...S,...T],D,new Map([...this.dictionaries,...p]))}}Ea.prototype.fields=null;Ea.prototype.metadata=null;Ea.prototype.dictionaries=null;class oo{constructor(e,r,S=!1,D){this.name=e,this.type=r,this.nullable=S,this.metadata=D||new Map}static new(...e){let[r,S,D,T]=e;return e[0]&&typeof e[0]=="object"&&({name:r}=e[0],S===void 0&&(S=e[0].type),D===void 0&&(D=e[0].nullable),T===void 0&&(T=e[0].metadata)),new oo(`${r}`,S,D,T)}get typeId(){return this.type.typeId}get[Symbol.toStringTag](){return"Field"}toString(){return`${this.name}: ${this.type}`}clone(...e){let[r,S,D,T]=e;return!e[0]||typeof e[0]!="object"?[r=this.name,S=this.type,D=this.nullable,T=this.metadata]=e:{name:r=this.name,type:S=this.type,nullable:D=this.nullable,metadata:T=this.metadata}=e[0],oo.new(r,S,D,T)}}oo.prototype.type=null;oo.prototype.name=null;oo.prototype.nullable=null;oo.prototype.metadata=null;function ov(n,e){return new Map([...n||new Map,...e||new Map])}function Zb(n,e=new Map){for(let r=-1,S=n.length;++r0&&Zb(T.children,e)}return e}var i5=Jh,eI=sM,tI=Jp;class Pm{constructor(e,r=gu.V4,S,D){this.schema=e,this.version=r,S&&(this._recordBatches=S),D&&(this._dictionaryBatches=D)}static decode(e){e=new tI(_a(e));const r=fu.getRootAsFooter(e),S=Ea.decode(r.schema());return new nI(S,r)}static encode(e){const r=new eI,S=Ea.encode(r,e.schema);fu.startRecordBatchesVector(r,e.numRecordBatches);for(const p of[...e.recordBatches()].slice().reverse())Wf.encode(r,p);const D=r.endVector();fu.startDictionariesVector(r,e.numDictionaries);for(const p of[...e.dictionaryBatches()].slice().reverse())Wf.encode(r,p);const T=r.endVector();return fu.startFooter(r),fu.addSchema(r,S),fu.addVersion(r,gu.V4),fu.addRecordBatches(r,D),fu.addDictionaries(r,T),fu.finishFooterBuffer(r,fu.endFooter(r)),r.asUint8Array()}get numRecordBatches(){return this._recordBatches.length}get numDictionaries(){return this._dictionaryBatches.length}*recordBatches(){for(let e,r=-1,S=this.numRecordBatches;++r=0&&e=0&&e=0&&e=0&&ethis._closedPromiseResolve=e)}get closed(){return this._closedPromise}cancel(e){return yi(this,void 0,void 0,function*(){yield this.return(e)})}write(e){this._ensureOpen()&&(this.resolvers.length<=0?this._values.push(e):this.resolvers.shift().resolve({done:!1,value:e}))}abort(e){this._closedPromiseResolve&&(this.resolvers.length<=0?this._error={error:e}:this.resolvers.shift().reject({done:!0,value:e}))}close(){if(this._closedPromiseResolve){const{resolvers:e}=this;for(;e.length>0;)e.shift().resolve(So);this._closedPromiseResolve(),this._closedPromiseResolve=void 0}}[Symbol.asyncIterator](){return this}toDOMStream(e){return $u.toDOMStream(this._closedPromiseResolve||this._error?this:this._values,e)}toNodeStream(e){return $u.toNodeStream(this._closedPromiseResolve||this._error?this:this._values,e)}throw(e){return yi(this,void 0,void 0,function*(){return yield this.abort(e),So})}return(e){return yi(this,void 0,void 0,function*(){return yield this.close(),So})}read(e){return yi(this,void 0,void 0,function*(){return(yield this.next(e,"read")).value})}peek(e){return yi(this,void 0,void 0,function*(){return(yield this.next(e,"peek")).value})}next(...e){return this._values.length>0?Promise.resolve({done:!1,value:this._values.shift()}):this._error?Promise.reject({done:!0,value:this._error.error}):this._closedPromiseResolve?new Promise((r,S)=>{this.resolvers.push({resolve:r,reject:S})}):Promise.resolve(So)}_ensureOpen(){if(this._closedPromiseResolve)return!0;throw new Error("AsyncQueue is closed")}}class bv extends rI{write(e){if((e=_a(e)).byteLength>0)return super.write(e)}toString(e=!1){return e?jb(this.toUint8Array(!0)):this.toUint8Array(!1).then(jb)}toUint8Array(e=!1){return e?xh(this._values)[0]:(()=>yi(this,void 0,void 0,function*(){var r,S;const D=[];let T=0;try{for(var p=Nd(this),t;t=yield p.next(),!t.done;){const d=t.value;D.push(d),T+=d.byteLength}}catch(d){r={error:d}}finally{try{t&&!t.done&&(S=p.return)&&(yield S.call(p))}finally{if(r)throw r.error}}return xh(D,T)[0]}))()}}class Qv{constructor(e){e&&(this.source=new iI($u.fromIterable(e)))}[Symbol.iterator](){return this}next(e){return this.source.next(e)}throw(e){return this.source.throw(e)}return(e){return this.source.return(e)}peek(e){return this.source.peek(e)}read(e){return this.source.read(e)}}class n0{constructor(e){e instanceof n0?this.source=e.source:e instanceof bv?this.source=new xd($u.fromAsyncIterable(e)):G4(e)?this.source=new xd($u.fromNodeStream(e)):m2(e)?this.source=new xd($u.fromDOMStream(e)):H4(e)?this.source=new xd($u.fromDOMStream(e.body)):Zm(e)?this.source=new xd($u.fromIterable(e)):Uf(e)?this.source=new xd($u.fromAsyncIterable(e)):g0(e)&&(this.source=new xd($u.fromAsyncIterable(e)))}[Symbol.asyncIterator](){return this}next(e){return this.source.next(e)}throw(e){return this.source.throw(e)}return(e){return this.source.return(e)}get closed(){return this.source.closed}cancel(e){return this.source.cancel(e)}peek(e){return this.source.peek(e)}read(e){return this.source.read(e)}}class iI{constructor(e){this.source=e}cancel(e){this.return(e)}peek(e){return this.next(e,"peek").value}read(e){return this.next(e,"read").value}next(e,r="read"){return this.source.next({cmd:r,size:e})}throw(e){return Object.create(this.source.throw&&this.source.throw(e)||So)}return(e){return Object.create(this.source.return&&this.source.return(e)||So)}}class xd{constructor(e){this.source=e,this._closedPromise=new Promise(r=>this._closedPromiseResolve=r)}cancel(e){return yi(this,void 0,void 0,function*(){yield this.return(e)})}get closed(){return this._closedPromise}read(e){return yi(this,void 0,void 0,function*(){return(yield this.next(e,"read")).value})}peek(e){return yi(this,void 0,void 0,function*(){return(yield this.next(e,"peek")).value})}next(e,r="read"){return yi(this,void 0,void 0,function*(){return yield this.source.next({cmd:r,size:e})})}throw(e){return yi(this,void 0,void 0,function*(){const r=this.source.throw&&(yield this.source.throw(e))||So;return this._closedPromiseResolve&&this._closedPromiseResolve(),this._closedPromiseResolve=void 0,Object.create(r)})}return(e){return yi(this,void 0,void 0,function*(){const r=this.source.return&&(yield this.source.return(e))||So;return this._closedPromiseResolve&&this._closedPromiseResolve(),this._closedPromiseResolve=void 0,Object.create(r)})}}class o5 extends Qv{constructor(e,r){super(),this.position=0,this.buffer=_a(e),this.size=typeof r>"u"?this.buffer.byteLength:r}readInt32(e){const{buffer:r,byteOffset:S}=this.readAt(e,4);return new DataView(r,S).getInt32(0,!0)}seek(e){return this.position=Math.min(e,this.size),eyi(this,void 0,void 0,function*(){this.size=(yield e.stat()).size,delete this._pending}))()}readInt32(e){return yi(this,void 0,void 0,function*(){const{buffer:r,byteOffset:S}=yield this.readAt(e,4);return new DataView(r,S).getInt32(0,!0)})}seek(e){return yi(this,void 0,void 0,function*(){return this._pending&&(yield this._pending),this.position=Math.min(e,this.size),e>>16,this.buffer[1]&65535,this.buffer[0]>>>16,this.buffer[0]&65535]),S=new Uint32Array([e.buffer[1]>>>16,e.buffer[1]&65535,e.buffer[0]>>>16,e.buffer[0]&65535]);let D=r[3]*S[3];this.buffer[0]=D&65535;let T=D>>>16;return D=r[2]*S[3],T+=D,D=r[3]*S[2]>>>0,T+=D,this.buffer[0]+=T<<16,this.buffer[1]=T>>>0>>16,this.buffer[1]+=r[1]*S[3]+r[2]*S[2]+r[3]*S[1],this.buffer[1]+=r[0]*S[3]+r[1]*S[2]+r[2]*S[1]+r[3]*S[0]<<16,this}_plus(e){const r=this.buffer[0]+e.buffer[0]>>>0;this.buffer[1]+=e.buffer[1],r>>0&&++this.buffer[1],this.buffer[0]=r}lessThan(e){return this.buffer[1]>>0,r[2]=this.buffer[2]+e.buffer[2]>>>0,r[1]=this.buffer[1]+e.buffer[1]>>>0,r[0]=this.buffer[0]+e.buffer[0]>>>0,r[0]>>0&&++r[1],r[1]>>0&&++r[2],r[2]>>0&&++r[3],this.buffer[3]=r[3],this.buffer[2]=r[2],this.buffer[1]=r[1],this.buffer[0]=r[0],this}hex(){return`${zp(this.buffer[3])} ${zp(this.buffer[2])} ${zp(this.buffer[1])} ${zp(this.buffer[0])}`}static multiply(e,r){return new ah(new Uint32Array(e.buffer)).times(r)}static add(e,r){return new ah(new Uint32Array(e.buffer)).plus(r)}static from(e,r=new Uint32Array(4)){return ah.fromString(typeof e=="string"?e:e.toString(),r)}static fromNumber(e,r=new Uint32Array(4)){return ah.fromString(e.toString(),r)}static fromString(e,r=new Uint32Array(4)){const S=e.startsWith("-"),D=e.length,T=new ah(r);for(let p=S?1:0;p0&&this.readData(e,S)||new Uint8Array(0)}readOffsets(e,r){return this.readData(e,r)}readTypeIds(e,r){return this.readData(e,r)}readData(e,{length:r,offset:S}=this.nextBufferRange()){return this.bytes.subarray(S,S+r)}readDictionary(e){return this.dictionaries.get(e.id)}}class oI extends cM{constructor(e,r,S,D){super(new Uint8Array(0),r,S,D),this.sources=e}readNullBitmap(e,r,{offset:S}=this.nextBufferRange()){return r<=0?new Uint8Array(0):qv(this.sources[S])}readOffsets(e,{offset:r}=this.nextBufferRange()){return qa(Uint8Array,qa(Int32Array,this.sources[r]))}readTypeIds(e,{offset:r}=this.nextBufferRange()){return qa(Uint8Array,qa(e.ArrayType,this.sources[r]))}readData(e,{offset:r}=this.nextBufferRange()){const{sources:S}=this;return _i.isTimestamp(e)||(_i.isInt(e)||_i.isTime(e))&&e.bitWidth===64||_i.isDate(e)&&e.unit===nf.MILLISECOND?qa(Uint8Array,jl.convertArray(S[r])):_i.isDecimal(e)?qa(Uint8Array,ah.convertArray(S[r])):_i.isBinary(e)||_i.isFixedSizeBinary(e)?sI(S[r]):_i.isBool(e)?qv(S[r]):_i.isUtf8(e)?p2(S[r].join("")):qa(Uint8Array,qa(e.ArrayType,S[r].map(D=>+D)))}}function sI(n){const e=n.join(""),r=new Uint8Array(e.length/2);for(let S=0;S>1]=Number.parseInt(e.slice(S,S+2),16);return r}class Ai extends aa{compareSchemas(e,r){return e===r||r instanceof e.constructor&&this.compareManyFields(e.fields,r.fields)}compareManyFields(e,r){return e===r||Array.isArray(e)&&Array.isArray(r)&&e.length===r.length&&e.every((S,D)=>this.compareFields(S,r[D]))}compareFields(e,r){return e===r||r instanceof e.constructor&&e.name===r.name&&e.nullable===r.nullable&&this.visit(e.type,r.type)}}function Kl(n,e){return e instanceof n.constructor}function Xm(n,e){return n===e||Kl(n,e)}function hf(n,e){return n===e||Kl(n,e)&&n.bitWidth===e.bitWidth&&n.isSigned===e.isSigned}function Gy(n,e){return n===e||Kl(n,e)&&n.precision===e.precision}function lI(n,e){return n===e||Kl(n,e)&&n.byteWidth===e.byteWidth}function I2(n,e){return n===e||Kl(n,e)&&n.unit===e.unit}function Km(n,e){return n===e||Kl(n,e)&&n.unit===e.unit&&n.timezone===e.timezone}function Jm(n,e){return n===e||Kl(n,e)&&n.unit===e.unit&&n.bitWidth===e.bitWidth}function uI(n,e){return n===e||Kl(n,e)&&n.children.length===e.children.length&&Yf.compareManyFields(n.children,e.children)}function cI(n,e){return n===e||Kl(n,e)&&n.children.length===e.children.length&&Yf.compareManyFields(n.children,e.children)}function R2(n,e){return n===e||Kl(n,e)&&n.mode===e.mode&&n.typeIds.every((r,S)=>r===e.typeIds[S])&&Yf.compareManyFields(n.children,e.children)}function hI(n,e){return n===e||Kl(n,e)&&n.id===e.id&&n.isOrdered===e.isOrdered&&Yf.visit(n.indices,e.indices)&&Yf.visit(n.dictionary,e.dictionary)}function P2(n,e){return n===e||Kl(n,e)&&n.unit===e.unit}function fI(n,e){return n===e||Kl(n,e)&&n.listSize===e.listSize&&n.children.length===e.children.length&&Yf.compareManyFields(n.children,e.children)}function dI(n,e){return n===e||Kl(n,e)&&n.keysSorted===e.keysSorted&&n.children.length===e.children.length&&Yf.compareManyFields(n.children,e.children)}Ai.prototype.visitNull=Xm;Ai.prototype.visitBool=Xm;Ai.prototype.visitInt=hf;Ai.prototype.visitInt8=hf;Ai.prototype.visitInt16=hf;Ai.prototype.visitInt32=hf;Ai.prototype.visitInt64=hf;Ai.prototype.visitUint8=hf;Ai.prototype.visitUint16=hf;Ai.prototype.visitUint32=hf;Ai.prototype.visitUint64=hf;Ai.prototype.visitFloat=Gy;Ai.prototype.visitFloat16=Gy;Ai.prototype.visitFloat32=Gy;Ai.prototype.visitFloat64=Gy;Ai.prototype.visitUtf8=Xm;Ai.prototype.visitBinary=Xm;Ai.prototype.visitFixedSizeBinary=lI;Ai.prototype.visitDate=I2;Ai.prototype.visitDateDay=I2;Ai.prototype.visitDateMillisecond=I2;Ai.prototype.visitTimestamp=Km;Ai.prototype.visitTimestampSecond=Km;Ai.prototype.visitTimestampMillisecond=Km;Ai.prototype.visitTimestampMicrosecond=Km;Ai.prototype.visitTimestampNanosecond=Km;Ai.prototype.visitTime=Jm;Ai.prototype.visitTimeSecond=Jm;Ai.prototype.visitTimeMillisecond=Jm;Ai.prototype.visitTimeMicrosecond=Jm;Ai.prototype.visitTimeNanosecond=Jm;Ai.prototype.visitDecimal=Xm;Ai.prototype.visitList=uI;Ai.prototype.visitStruct=cI;Ai.prototype.visitUnion=R2;Ai.prototype.visitDenseUnion=R2;Ai.prototype.visitSparseUnion=R2;Ai.prototype.visitDictionary=hI;Ai.prototype.visitInterval=P2;Ai.prototype.visitIntervalDayTime=P2;Ai.prototype.visitIntervalYearMonth=P2;Ai.prototype.visitFixedSizeList=fI;Ai.prototype.visitMap=dI;const Yf=new Ai;function Xb(n,e){return Yf.compareSchemas(n,e)}function fb(n,e){return pI(n,e.map(r=>r.data.concat()))}function pI(n,e){const r=[...n.fields],S=[],D={numBatches:e.reduce((M,v)=>Math.max(M,v.length),0)};let T=0,p=0,t=-1;const d=e.length;let g,i=[];for(;D.numBatches-- >0;){for(p=Number.POSITIVE_INFINITY,t=-1;++t0&&(S[T++]=ra({type:new bl(r),length:p,nullCount:0,children:i.slice()})))}return[n=n.assign(r),S.map(M=>new Wl(n,M))]}function mI(n,e,r,S,D){var T;const p=(e+63&-64)>>3;for(let t=-1,d=S.length;++t=e)i===e?r[t]=g:(r[t]=g.slice(0,e),D.numBatches=Math.max(D.numBatches,S[t].unshift(g.slice(e,i-e))));else{const M=n[t];n[t]=M.clone({nullable:!0}),r[t]=(T=g==null?void 0:g._changeLengthAndBackfillNullBitmap(e))!==null&&T!==void 0?T:ra({type:M.type,length:e,nullCount:e,nullBitmap:new Uint8Array(p)})}}return r}var hM;class ml{constructor(...e){var r,S;if(e.length===0)return this.batches=[],this.schema=new Ea([]),this._offsets=[0],this;let D,T;e[0]instanceof Ea&&(D=e.shift()),e[e.length-1]instanceof Uint32Array&&(T=e.pop());const p=d=>{if(d){if(d instanceof Wl)return[d];if(d instanceof ml)return d.batches;if(d instanceof Qa){if(d.type instanceof bl)return[new Wl(new Ea(d.type.children),d)]}else{if(Array.isArray(d))return d.flatMap(g=>p(g));if(typeof d[Symbol.iterator]=="function")return[...d].flatMap(g=>p(g));if(typeof d=="object"){const g=Object.keys(d),i=g.map(f=>new Ta([d[f]])),M=new Ea(g.map((f,l)=>new oo(String(f),i[l].type))),[,v]=fb(M,i);return v.length===0?[new Wl(d)]:v}}}return[]},t=e.flatMap(d=>p(d));if(D=(S=D??((r=t[0])===null||r===void 0?void 0:r.schema))!==null&&S!==void 0?S:new Ea([]),!(D instanceof Ea))throw new TypeError("Table constructor expects a [Schema, RecordBatch[]] pair.");for(const d of t){if(!(d instanceof Wl))throw new TypeError("Table constructor expects a [Schema, RecordBatch[]] pair.");if(!Xb(D,d.schema))throw new TypeError("Table and inner RecordBatch schemas must be equivalent.")}this.schema=D,this.batches=t,this._offsets=T??Xk(this.data)}get data(){return this.batches.map(({data:e})=>e)}get numCols(){return this.schema.fields.length}get numRows(){return this.data.reduce((e,r)=>e+r.length,0)}get nullCount(){return this._nullCount===-1&&(this._nullCount=Zk(this.data)),this._nullCount}isValid(e){return!1}get(e){return null}set(e,r){}indexOf(e,r){return-1}getByteLength(e){return 0}[Symbol.iterator](){return this.batches.length>0?C2.visit(new Ta(this.data)):new Array(0)[Symbol.iterator]()}toArray(){return[...this]}toString(){return`[ ${this.toArray().join(`, `)} ]`}concat(...e){const r=this.schema,S=this.data.concat(e.flatMap(({data:D})=>D));return new ml(r,S.map(D=>new Wl(r,D)))}slice(e,r){const S=this.schema;[e,r]=Yk({length:this.numRows},e,r);const D=Kk(this.data,this._offsets,e,r);return new ml(S,D.map(T=>new Wl(S,T)))}getChild(e){return this.getChildAt(this.schema.fields.findIndex(r=>r.name===e))}getChildAt(e){if(e>-1&&eS.children[e]);if(r.length===0){const{type:S}=this.schema.fields[e],D=ra({type:S,length:0,nullCount:0});r.push(D._changeLengthAndBackfillNullBitmap(this.numRows))}return new Ta(r)}return null}setChild(e,r){var S;return this.setChildAt((S=this.schema.fields)===null||S===void 0?void 0:S.findIndex(D=>D.name===e),r)}setChildAt(e,r){let S=this.schema,D=[...this.batches];if(e>-1&&ethis.getChildAt(g));[T[e],t[e]]=[p,r],[S,D]=fb(S,t)}return new ml(S,D)}select(e){const r=this.schema.fields.reduce((S,D,T)=>S.set(D.name,T),new Map);return this.selectAt(e.map(S=>r.get(S)).filter(S=>S>-1))}selectAt(e){const r=this.schema.selectAt(e),S=this.batches.map(D=>D.selectAt(e));return new ml(r,S)}assign(e){const r=this.schema.fields,[S,D]=e.schema.fields.reduce((t,d,g)=>{const[i,M]=t,v=r.findIndex(f=>f.name===d.name);return~v?M[v]=g:i.push(g),t},[[],[]]),T=this.schema.assign(e.schema),p=[...r.map((t,d)=>[d,D[d]]).map(([t,d])=>d===void 0?this.getChildAt(t):e.getChildAt(d)),...S.map(t=>e.getChildAt(t))].filter(Boolean);return new ml(...fb(T,p))}}hM=Symbol.toStringTag;ml[hM]=(n=>(n.schema=null,n.batches=[],n._offsets=new Uint32Array([0]),n._nullCount=-1,n[Symbol.isConcatSpreadable]=!0,n.isValid=Wp(S2),n.get=Wp(Xl.getVisitFn(Jn.Struct)),n.set=Jk(nc.getVisitFn(Jn.Struct)),n.indexOf=Qk(Wv.getVisitFn(Jn.Struct)),n.getByteLength=Wp(_h.getVisitFn(Jn.Struct)),"Table"))(ml.prototype);var fM;let Wl=class sm{constructor(...e){switch(e.length){case 2:{if([this.schema]=e,!(this.schema instanceof Ea))throw new TypeError("RecordBatch constructor expects a [Schema, Data] pair.");if([,this.data=ra({nullCount:0,type:new bl(this.schema.fields),children:this.schema.fields.map(r=>ra({type:r.type,nullCount:0}))})]=e,!(this.data instanceof Qa))throw new TypeError("RecordBatch constructor expects a [Schema, Data] pair.");[this.schema,this.data]=s5(this.schema,this.data.children);break}case 1:{const[r]=e,{fields:S,children:D,length:T}=Object.keys(r).reduce((d,g,i)=>(d.children[i]=r[g],d.length=Math.max(d.length,r[g].length),d.fields[i]=oo.new({name:g,type:r[g].type,nullable:!0}),d),{length:0,fields:new Array,children:new Array}),p=new Ea(S),t=ra({type:new bl(S),length:T,children:D,nullCount:0});[this.schema,this.data]=s5(p,t.children,T);break}default:throw new TypeError("RecordBatch constructor expects an Object mapping names to child Data, or a [Schema, Data] pair.")}}get dictionaries(){return this._dictionaries||(this._dictionaries=dM(this.schema.fields,this.data.children))}get numCols(){return this.schema.fields.length}get numRows(){return this.data.length}get nullCount(){return this.data.nullCount}isValid(e){return this.data.getValid(e)}get(e){return Xl.visit(this.data,e)}set(e,r){return nc.visit(this.data,e,r)}indexOf(e,r){return Wv.visit(this.data,e,r)}getByteLength(e){return _h.visit(this.data,e)}[Symbol.iterator](){return C2.visit(new Ta([this.data]))}toArray(){return[...this]}concat(...e){return new ml(this.schema,[this,...e])}slice(e,r){const[S]=new Ta([this.data]).slice(e,r).data;return new sm(this.schema,S)}getChild(e){var r;return this.getChildAt((r=this.schema.fields)===null||r===void 0?void 0:r.findIndex(S=>S.name===e))}getChildAt(e){return e>-1&&eD.name===e),r)}setChildAt(e,r){let S=this.schema,D=this.data;if(e>-1&&et.name===T);~p&&(D[p]=this.data.children[p])}return new sm(r,ra({type:S,length:this.numRows,children:D}))}selectAt(e){const r=this.schema.selectAt(e),S=e.map(T=>this.data.children[T]).filter(Boolean),D=ra({type:new bl(r.fields),length:this.numRows,children:S});return new sm(r,D)}};fM=Symbol.toStringTag;Wl[fM]=(n=>(n._nullCount=-1,n[Symbol.isConcatSpreadable]=!0,"RecordBatch"))(Wl.prototype);function s5(n,e,r=e.reduce((S,D)=>Math.max(S,D.length),0)){var S;const D=[...n.fields],T=[...e],p=(r+63&-64)>>3;for(const[t,d]of n.fields.entries()){const g=e[t];(!g||g.length!==r)&&(D[t]=d.clone({nullable:!0}),T[t]=(S=g==null?void 0:g._changeLengthAndBackfillNullBitmap(r))!==null&&S!==void 0?S:ra({type:d.type,length:r,nullCount:r,nullBitmap:new Uint8Array(p)}))}return[n.assign(D),ra({type:new bl(D),length:r,children:T})]}function dM(n,e,r=new Map){for(let S=-1,D=n.length;++S0&&dM(p.children,t.children,r)}return r}class O2 extends Wl{constructor(e){const r=e.fields.map(D=>ra({type:D.type})),S=ra({type:new bl(e.fields),nullCount:0,children:r});super(e,S)}}var ty;(function(n){n[n.BUFFER=0]="BUFFER"})(ty||(ty={}));var ny;(function(n){n[n.LZ4_FRAME=0]="LZ4_FRAME",n[n.ZSTD=1]="ZSTD"})(ny||(ny={}));class Of{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsBodyCompression(e,r){return(r||new Of).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsBodyCompression(e,r){return e.setPosition(e.position()+Wa),(r||new Of).__init(e.readInt32(e.position())+e.position(),e)}codec(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt8(this.bb_pos+e):ny.LZ4_FRAME}method(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.readInt8(this.bb_pos+e):ty.BUFFER}static startBodyCompression(e){e.startObject(2)}static addCodec(e,r){e.addFieldInt8(0,r,ny.LZ4_FRAME)}static addMethod(e,r){e.addFieldInt8(1,r,ty.BUFFER)}static endBodyCompression(e){return e.endObject()}static createBodyCompression(e,r,S){return Of.startBodyCompression(e),Of.addCodec(e,r),Of.addMethod(e,S),Of.endBodyCompression(e)}}let pM=class{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}offset(){return this.bb.readInt64(this.bb_pos)}length(){return this.bb.readInt64(this.bb_pos+8)}static sizeOf(){return 16}static createBuffer(e,r,S){return e.prep(8,16),e.writeInt64(S),e.writeInt64(r),e.offset()}},mM=class{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}length(){return this.bb.readInt64(this.bb_pos)}nullCount(){return this.bb.readInt64(this.bb_pos+8)}static sizeOf(){return 16}static createFieldNode(e,r,S){return e.prep(8,16),e.writeInt64(S),e.writeInt64(r),e.offset()}},Yh=class Kb{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsRecordBatch(e,r){return(r||new Kb).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsRecordBatch(e,r){return e.setPosition(e.position()+Wa),(r||new Kb).__init(e.readInt32(e.position())+e.position(),e)}length(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt64(this.bb_pos+e):this.bb.createLong(0,0)}nodes(e,r){const S=this.bb.__offset(this.bb_pos,6);return S?(r||new mM).__init(this.bb.__vector(this.bb_pos+S)+e*16,this.bb):null}nodesLength(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.__vector_len(this.bb_pos+e):0}buffers(e,r){const S=this.bb.__offset(this.bb_pos,8);return S?(r||new pM).__init(this.bb.__vector(this.bb_pos+S)+e*16,this.bb):null}buffersLength(){const e=this.bb.__offset(this.bb_pos,8);return e?this.bb.__vector_len(this.bb_pos+e):0}compression(e){const r=this.bb.__offset(this.bb_pos,10);return r?(e||new Of).__init(this.bb.__indirect(this.bb_pos+r),this.bb):null}static startRecordBatch(e){e.startObject(4)}static addLength(e,r){e.addFieldInt64(0,r,e.createLong(0,0))}static addNodes(e,r){e.addFieldOffset(1,r,0)}static startNodesVector(e,r){e.startVector(16,r,8)}static addBuffers(e,r){e.addFieldOffset(2,r,0)}static startBuffersVector(e,r){e.startVector(16,r,8)}static addCompression(e,r){e.addFieldOffset(3,r,0)}static endRecordBatch(e){return e.endObject()}},Dp=class Jb{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsDictionaryBatch(e,r){return(r||new Jb).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsDictionaryBatch(e,r){return e.setPosition(e.position()+Wa),(r||new Jb).__init(e.readInt32(e.position())+e.position(),e)}id(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt64(this.bb_pos+e):this.bb.createLong(0,0)}data(e){const r=this.bb.__offset(this.bb_pos,6);return r?(e||new Yh).__init(this.bb.__indirect(this.bb_pos+r),this.bb):null}isDelta(){const e=this.bb.__offset(this.bb_pos,8);return e?!!this.bb.readInt8(this.bb_pos+e):!1}static startDictionaryBatch(e){e.startObject(3)}static addId(e,r){e.addFieldInt64(0,r,e.createLong(0,0))}static addData(e,r){e.addFieldOffset(1,r,0)}static addIsDelta(e,r){e.addFieldInt8(2,+r,0)}static endDictionaryBatch(e){return e.endObject()}};var ry;(function(n){n[n.NONE=0]="NONE",n[n.Schema=1]="Schema",n[n.DictionaryBatch=2]="DictionaryBatch",n[n.RecordBatch=3]="RecordBatch",n[n.Tensor=4]="Tensor",n[n.SparseTensor=5]="SparseTensor"})(ry||(ry={}));let Ef=class rh{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsMessage(e,r){return(r||new rh).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsMessage(e,r){return e.setPosition(e.position()+Wa),(r||new rh).__init(e.readInt32(e.position())+e.position(),e)}version(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):Qp.V1}headerType(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.readUint8(this.bb_pos+e):ry.NONE}header(e){const r=this.bb.__offset(this.bb_pos,8);return r?this.bb.__union(e,this.bb_pos+r):null}bodyLength(){const e=this.bb.__offset(this.bb_pos,10);return e?this.bb.readInt64(this.bb_pos+e):this.bb.createLong(0,0)}customMetadata(e,r){const S=this.bb.__offset(this.bb_pos,12);return S?(r||new cs).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+S)+e*4),this.bb):null}customMetadataLength(){const e=this.bb.__offset(this.bb_pos,12);return e?this.bb.__vector_len(this.bb_pos+e):0}static startMessage(e){e.startObject(5)}static addVersion(e,r){e.addFieldInt16(0,r,Qp.V1)}static addHeaderType(e,r){e.addFieldInt8(1,r,ry.NONE)}static addHeader(e,r){e.addFieldOffset(2,r,0)}static addBodyLength(e,r){e.addFieldInt64(3,r,e.createLong(0,0))}static addCustomMetadata(e,r){e.addFieldOffset(4,r,0)}static createCustomMetadataVector(e,r){e.startVector(4,r.length,4);for(let S=r.length-1;S>=0;S--)e.addOffset(r[S]);return e.endVector()}static startCustomMetadataVector(e,r){e.startVector(4,r,4)}static endMessage(e){return e.endObject()}static finishMessageBuffer(e,r){e.finish(r)}static finishSizePrefixedMessageBuffer(e,r){e.finish(r,void 0,!0)}static createMessage(e,r,S,D,T,p){return rh.startMessage(e),rh.addVersion(e,r),rh.addHeaderType(e,S),rh.addHeader(e,D),rh.addBodyLength(e,T),rh.addCustomMetadata(e,p),rh.endMessage(e)}};var gI=Jh;class vI extends aa{visit(e,r){return e==null||r==null?void 0:super.visit(e,r)}visitNull(e,r){return Id.startNull(r),Id.endNull(r)}visitInt(e,r){return mu.startInt(r),mu.addBitWidth(r,e.bitWidth),mu.addIsSigned(r,e.isSigned),mu.endInt(r)}visitFloat(e,r){return fh.startFloatingPoint(r),fh.addPrecision(r,e.precision),fh.endFloatingPoint(r)}visitBinary(e,r){return Cd.startBinary(r),Cd.endBinary(r)}visitBool(e,r){return Ed.startBool(r),Ed.endBool(r)}visitUtf8(e,r){return Pd.startUtf8(r),Pd.endUtf8(r)}visitDecimal(e,r){return Gl.startDecimal(r),Gl.addScale(r,e.scale),Gl.addPrecision(r,e.precision),Gl.addBitWidth(r,e.bitWidth),Gl.endDecimal(r)}visitDate(e,r){return gv.startDate(r),gv.addUnit(r,e.unit),gv.endDate(r)}visitTime(e,r){return Zu.startTime(r),Zu.addUnit(r,e.unit),Zu.addBitWidth(r,e.bitWidth),Zu.endTime(r)}visitTimestamp(e,r){const S=e.timezone&&r.createString(e.timezone)||void 0;return Xu.startTimestamp(r),Xu.addUnit(r,e.unit),S!==void 0&&Xu.addTimezone(r,S),Xu.endTimestamp(r)}visitInterval(e,r){return dh.startInterval(r),dh.addUnit(r,e.unit),dh.endInterval(r)}visitList(e,r){return Ld.startList(r),Ld.endList(r)}visitStruct(e,r){return Rd.startStruct_(r),Rd.endStruct_(r)}visitUnion(e,r){ql.startTypeIdsVector(r,e.typeIds.length);const S=ql.createTypeIdsVector(r,e.typeIds);return ql.startUnion(r),ql.addMode(r,e.mode),ql.addTypeIds(r,S),ql.endUnion(r)}visitDictionary(e,r){const S=this.visit(e.indices,r);return Zh.startDictionaryEncoding(r),Zh.addId(r,new gI(e.id,0)),Zh.addIsOrdered(r,e.isOrdered),S!==void 0&&Zh.addIndexType(r,S),Zh.endDictionaryEncoding(r)}visitFixedSizeBinary(e,r){return ch.startFixedSizeBinary(r),ch.addByteWidth(r,e.byteWidth),ch.endFixedSizeBinary(r)}visitFixedSizeList(e,r){return hh.startFixedSizeList(r),hh.addListSize(r,e.listSize),hh.endFixedSizeList(r)}visitMap(e,r){return vv.startMap(r),vv.addKeysSorted(r,e.keysSorted),vv.endMap(r)}}const db=new vI;function yI(n,e=new Map){return new Ea(xI(n,e),xv(n.customMetadata),e)}function gM(n){return new _u(n.count,vM(n.columns),yM(n.columns))}function bI(n){return new wh(gM(n.data),n.id,n.isDelta)}function xI(n,e){return(n.fields||[]).filter(Boolean).map(r=>oo.fromJSON(r,e))}function l5(n,e){return(n.children||[]).filter(Boolean).map(r=>oo.fromJSON(r,e))}function vM(n){return(n||[]).reduce((e,r)=>[...e,new Jd(r.count,_I(r.VALIDITY)),...vM(r.children)],[])}function yM(n,e=[]){for(let r=-1,S=(n||[]).length;++re+ +(r===0),0)}function wI(n,e){let r,S,D,T,p,t;return!e||!(T=n.dictionary)?(p=c5(n,l5(n,e)),D=new oo(n.name,p,n.nullable,xv(n.customMetadata))):e.has(r=T.id)?(S=(S=T.indexType)?u5(S):new Lm,t=new Kp(e.get(r),S,r,T.isOrdered),D=new oo(n.name,t,n.nullable,xv(n.customMetadata))):(S=(S=T.indexType)?u5(S):new Lm,e.set(r,p=c5(n,l5(n,e))),t=new Kp(p,S,r,T.isOrdered),D=new oo(n.name,t,n.nullable,xv(n.customMetadata))),D||null}function xv(n){return new Map(Object.entries(n||{}))}function u5(n){return new qf(n.isSigned,n.bitWidth)}function c5(n,e){const r=n.type.name;switch(r){case"NONE":return new Gf;case"null":return new Gf;case"binary":return new Pv;case"utf8":return new Ov;case"bool":return new Dv;case"list":return new Vv((e||[])[0]);case"struct":return new bl(e||[]);case"struct_":return new bl(e||[])}switch(r){case"int":{const S=n.type;return new qf(S.isSigned,S.bitWidth)}case"floatingpoint":{const S=n.type;return new Im(Yl[S.precision])}case"decimal":{const S=n.type;return new zv(S.scale,S.precision,S.bitWidth)}case"date":{const S=n.type;return new Fv(nf[S.unit])}case"time":{const S=n.type;return new Rm(wa[S.unit],S.bitWidth)}case"timestamp":{const S=n.type;return new Bv(wa[S.unit],S.timezone)}case"interval":{const S=n.type;return new Nv(Hf[S.unit])}case"union":{const S=n.type;return new jv(xu[S.mode],S.typeIds||[],e||[])}case"fixedsizebinary":{const S=n.type;return new Uv(S.byteWidth)}case"fixedsizelist":{const S=n.type;return new Hv(S.listSize,(e||[])[0])}case"map":{const S=n.type;return new Gv((e||[])[0],S.keysSorted)}}throw new Error(`Unrecognized type: "${r}"`)}var Gd=Jh,TI=sM,kI=Jp;class xl{constructor(e,r,S,D){this._version=r,this._headerType=S,this.body=new Uint8Array(0),D&&(this._createHeader=()=>D),this._bodyLength=typeof e=="number"?e:e.low}static fromJSON(e,r){const S=new xl(0,gu.V4,r);return S._createHeader=MI(e,r),S}static decode(e){e=new kI(_a(e));const r=Ef.getRootAsMessage(e),S=r.bodyLength(),D=r.version(),T=r.headerType(),p=new xl(S,D,T);return p._createHeader=AI(r,T),p}static encode(e){const r=new TI;let S=-1;return e.isSchema()?S=Ea.encode(r,e.header()):e.isRecordBatch()?S=_u.encode(r,e.header()):e.isDictionaryBatch()&&(S=wh.encode(r,e.header())),Ef.startMessage(r),Ef.addVersion(r,gu.V4),Ef.addHeader(r,S),Ef.addHeaderType(r,e.headerType),Ef.addBodyLength(r,new Gd(e.bodyLength,0)),Ef.finishMessageBuffer(r,Ef.endMessage(r)),r.asUint8Array()}static from(e,r=0){if(e instanceof Ea)return new xl(0,gu.V4,Ca.Schema,e);if(e instanceof _u)return new xl(r,gu.V4,Ca.RecordBatch,e);if(e instanceof wh)return new xl(r,gu.V4,Ca.DictionaryBatch,e);throw new Error(`Unrecognized Message header: ${e}`)}get type(){return this.headerType}get version(){return this._version}get headerType(){return this._headerType}get bodyLength(){return this._bodyLength}header(){return this._createHeader()}isSchema(){return this.headerType===Ca.Schema}isRecordBatch(){return this.headerType===Ca.RecordBatch}isDictionaryBatch(){return this.headerType===Ca.DictionaryBatch}}class _u{constructor(e,r,S){this._nodes=r,this._buffers=S,this._length=typeof e=="number"?e:e.low}get nodes(){return this._nodes}get length(){return this._length}get buffers(){return this._buffers}}class wh{constructor(e,r,S=!1){this._data=e,this._isDelta=S,this._id=typeof r=="number"?r:r.low}get id(){return this._id}get data(){return this._data}get isDelta(){return this._isDelta}get length(){return this.data.length}get nodes(){return this.data.nodes}get buffers(){return this.data.buffers}}class gh{constructor(e,r){this.offset=typeof e=="number"?e:e.low,this.length=typeof r=="number"?r:r.low}}class Jd{constructor(e,r){this.length=typeof e=="number"?e:e.low,this.nullCount=typeof r=="number"?r:r.low}}function MI(n,e){return()=>{switch(e){case Ca.Schema:return Ea.fromJSON(n);case Ca.RecordBatch:return _u.fromJSON(n);case Ca.DictionaryBatch:return wh.fromJSON(n)}throw new Error(`Unrecognized Message type: { name: ${Ca[e]}, type: ${e} }`)}}function AI(n,e){return()=>{switch(e){case Ca.Schema:return Ea.decode(n.header(new ih));case Ca.RecordBatch:return _u.decode(n.header(new Yh),n.version());case Ca.DictionaryBatch:return wh.decode(n.header(new Dp),n.version())}throw new Error(`Unrecognized Message type: { name: ${Ca[e]}, type: ${e} }`)}}oo.encode=FI;oo.decode=DI;oo.fromJSON=wI;Ea.encode=zI;Ea.decode=SI;Ea.fromJSON=yI;_u.encode=BI;_u.decode=CI;_u.fromJSON=gM;wh.encode=NI;wh.decode=EI;wh.fromJSON=bI;Jd.encode=VI;Jd.decode=II;gh.encode=jI;gh.decode=LI;function SI(n,e=new Map){const r=OI(n,e);return new Ea(r,_v(n),e)}function CI(n,e=gu.V4){if(n.compression()!==null)throw new Error("Record batch compression not implemented");return new _u(n.length(),RI(n),PI(n,e))}function EI(n,e=gu.V4){return new wh(_u.decode(n.data(),e),n.id(),n.isDelta())}function LI(n){return new gh(n.offset(),n.length())}function II(n){return new Jd(n.length(),n.nullCount())}function RI(n){const e=[];for(let r,S=-1,D=-1,T=n.nodesLength();++Soo.encode(n,T));ih.startFieldsVector(n,r.length);const S=ih.createFieldsVector(n,r),D=e.metadata&&e.metadata.size>0?ih.createCustomMetadataVector(n,[...e.metadata].map(([T,p])=>{const t=n.createString(`${T}`),d=n.createString(`${p}`);return cs.startKeyValue(n),cs.addKey(n,t),cs.addValue(n,d),cs.endKeyValue(n)})):-1;return ih.startSchema(n),ih.addFields(n,S),ih.addEndianness(n,UI?e0.Little:e0.Big),D!==-1&&ih.addCustomMetadata(n,D),ih.endSchema(n)}function FI(n,e){let r=-1,S=-1,D=-1;const T=e.type;let p=e.typeId;_i.isDictionary(T)?(p=T.dictionary.typeId,D=db.visit(T,n),S=db.visit(T.dictionary,n)):S=db.visit(T,n);const t=(T.children||[]).map(i=>oo.encode(n,i)),d=qu.createChildrenVector(n,t),g=e.metadata&&e.metadata.size>0?qu.createCustomMetadataVector(n,[...e.metadata].map(([i,M])=>{const v=n.createString(`${i}`),f=n.createString(`${M}`);return cs.startKeyValue(n),cs.addKey(n,v),cs.addValue(n,f),cs.endKeyValue(n)})):-1;return e.name&&(r=n.createString(e.name)),qu.startField(n),qu.addType(n,S),qu.addTypeType(n,p),qu.addChildren(n,d),qu.addNullable(n,!!e.nullable),r!==-1&&qu.addName(n,r),D!==-1&&qu.addDictionary(n,D),g!==-1&&qu.addCustomMetadata(n,g),qu.endField(n)}function BI(n,e){const r=e.nodes||[],S=e.buffers||[];Yh.startNodesVector(n,r.length);for(const p of r.slice().reverse())Jd.encode(n,p);const D=n.endVector();Yh.startBuffersVector(n,S.length);for(const p of S.slice().reverse())gh.encode(n,p);const T=n.endVector();return Yh.startRecordBatch(n),Yh.addLength(n,new Gd(e.length,0)),Yh.addNodes(n,D),Yh.addBuffers(n,T),Yh.endRecordBatch(n)}function NI(n,e){const r=_u.encode(n,e.data);return Dp.startDictionaryBatch(n),Dp.addId(n,new Gd(e.id,0)),Dp.addIsDelta(n,e.isDelta),Dp.addData(n,r),Dp.endDictionaryBatch(n)}function VI(n,e){return mM.createFieldNode(n,new Gd(e.length,0),new Gd(e.nullCount,0))}function jI(n,e){return pM.createBuffer(n,new Gd(e.offset,0),new Gd(e.length,0))}const UI=(()=>{const n=new ArrayBuffer(2);return new DataView(n).setInt16(0,256,!0),new Int16Array(n)[0]===256})(),D2=n=>`Expected ${Ca[n]} Message in stream, but was null or length 0.`,z2=n=>`Header pointer of flatbuffer-encoded ${Ca[n]} Message is null or length 0.`,bM=(n,e)=>`Expected to read ${n} metadata bytes, but only read ${e}.`,xM=(n,e)=>`Expected to read ${n} bytes for message body, but only read ${e}.`;class _M{constructor(e){this.source=e instanceof Qv?e:new Qv(e)}[Symbol.iterator](){return this}next(){let e;return(e=this.readMetadataLength()).done||e.value===-1&&(e=this.readMetadataLength()).done||(e=this.readMetadata(e.value)).done?So:e}throw(e){return this.source.throw(e)}return(e){return this.source.return(e)}readMessage(e){let r;if((r=this.next()).done)return null;if(e!=null&&r.value.headerType!==e)throw new Error(D2(e));return r.value}readMessageBody(e){if(e<=0)return new Uint8Array(0);const r=_a(this.source.read(e));if(r.byteLength[...D,...T.VALIDITY&&[T.VALIDITY]||[],...T.TYPE&&[T.TYPE]||[],...T.OFFSET&&[T.OFFSET]||[],...T.DATA&&[T.DATA]||[],...r(T.children)],[])}}readMessage(e){let r;if((r=this.next()).done)return null;if(e!=null&&r.value.headerType!==e)throw new Error(D2(e));return r.value}readSchema(){const e=Ca.Schema,r=this.readMessage(e),S=r==null?void 0:r.header();if(!r||!S)throw new Error(z2(e));return S}}const qy=4,Qb="ARROW1",Om=new Uint8Array(Qb.length);for(let n=0;nthis):this}readRecordBatch(e){return this._impl.isFile()?this._impl.readRecordBatch(e):null}[Symbol.iterator](){return this._impl[Symbol.iterator]()}[Symbol.asyncIterator](){return this._impl[Symbol.asyncIterator]()}toDOMStream(){return $u.toDOMStream(this.isSync()?{[Symbol.iterator]:()=>this}:{[Symbol.asyncIterator]:()=>this})}toNodeStream(){return $u.toNodeStream(this.isSync()?{[Symbol.iterator]:()=>this}:{[Symbol.asyncIterator]:()=>this},{objectMode:!0})}static throughNode(e){throw new Error('"throughNode" not available in this environment')}static throughDOM(e,r){throw new Error('"throughDOM" not available in this environment')}static from(e){return e instanceof Qh?e:Ub(e)?ZI(e):U4(e)?JI(e):Uf(e)?(()=>yi(this,void 0,void 0,function*(){return yield Qh.from(yield e)}))():H4(e)||m2(e)||G4(e)||g0(e)?KI(new n0(e)):XI(new Qv(e))}static readAll(e){return e instanceof Qh?e.isSync()?p5(e):m5(e):Ub(e)||ArrayBuffer.isView(e)||Zm(e)||j4(e)?p5(e):m5(e)}}class iy extends Qh{constructor(e){super(e),this._impl=e}readAll(){return[...this]}[Symbol.iterator](){return this._impl[Symbol.iterator]()}[Symbol.asyncIterator](){return mh(this,arguments,function*(){yield zi(yield*mv(Nd(this[Symbol.iterator]())))})}}class ay extends Qh{constructor(e){super(e),this._impl=e}readAll(){var e,r;return yi(this,void 0,void 0,function*(){const S=new Array;try{for(var D=Nd(this),T;T=yield D.next(),!T.done;){const p=T.value;S.push(p)}}catch(p){e={error:p}}finally{try{T&&!T.done&&(r=D.return)&&(yield r.call(D))}finally{if(e)throw e.error}}return S})}[Symbol.iterator](){throw new Error("AsyncRecordBatchStreamReader is not Iterable")}[Symbol.asyncIterator](){return this._impl[Symbol.asyncIterator]()}}class TM extends iy{constructor(e){super(e),this._impl=e}}class WI extends ay{constructor(e){super(e),this._impl=e}}class kM{constructor(e=new Map){this.closed=!1,this.autoDestroy=!0,this._dictionaryIndex=0,this._recordBatchIndex=0,this.dictionaries=e}get numDictionaries(){return this._dictionaryIndex}get numRecordBatches(){return this._recordBatchIndex}isSync(){return!1}isAsync(){return!1}isFile(){return!1}isStream(){return!1}reset(e){return this._dictionaryIndex=0,this._recordBatchIndex=0,this.schema=e,this.dictionaries=new Map,this}_loadRecordBatch(e,r){const S=this._loadVectors(e,r,this.schema.fields),D=ra({type:new bl(this.schema.fields),length:e.length,children:S});return new Wl(this.schema,D)}_loadDictionaryBatch(e,r){const{id:S,isDelta:D}=e,{dictionaries:T,schema:p}=this,t=T.get(S);if(D||!t){const d=p.dictionaries.get(S),g=this._loadVectors(e.data,r,[d]);return(t&&D?t.concat(new Ta(g)):new Ta(g)).memoize()}return t.memoize()}_loadVectors(e,r,S){return new cM(r,e.nodes,e.buffers,this.dictionaries).visitMany(S)}}class oy extends kM{constructor(e,r){super(r),this._reader=Ub(e)?new GI(this._handle=e):new _M(this._handle=e)}isSync(){return!0}isStream(){return!0}[Symbol.iterator](){return this}cancel(){!this.closed&&(this.closed=!0)&&(this.reset()._reader.return(),this._reader=null,this.dictionaries=null)}open(e){return this.closed||(this.autoDestroy=AM(this,e),this.schema||(this.schema=this._reader.readSchema())||this.cancel()),this}throw(e){return!this.closed&&this.autoDestroy&&(this.closed=!0)?this.reset()._reader.throw(e):So}return(e){return!this.closed&&this.autoDestroy&&(this.closed=!0)?this.reset()._reader.return(e):So}next(){if(this.closed)return So;let e;const{_reader:r}=this;for(;e=this._readNextMessageAndValidate();)if(e.isSchema())this.reset(e.header());else if(e.isRecordBatch()){this._recordBatchIndex++;const S=e.header(),D=r.readMessageBody(e.bodyLength);return{done:!1,value:this._loadRecordBatch(S,D)}}else if(e.isDictionaryBatch()){this._dictionaryIndex++;const S=e.header(),D=r.readMessageBody(e.bodyLength),T=this._loadDictionaryBatch(S,D);this.dictionaries.set(S.id,T)}return this.schema&&this._recordBatchIndex===0?(this._recordBatchIndex++,{done:!1,value:new O2(this.schema)}):this.return()}_readNextMessageAndValidate(e){return this._reader.readMessage(e)}}class sy extends kM{constructor(e,r){super(r),this._reader=new HI(this._handle=e)}isAsync(){return!0}isStream(){return!0}[Symbol.asyncIterator](){return this}cancel(){return yi(this,void 0,void 0,function*(){!this.closed&&(this.closed=!0)&&(yield this.reset()._reader.return(),this._reader=null,this.dictionaries=null)})}open(e){return yi(this,void 0,void 0,function*(){return this.closed||(this.autoDestroy=AM(this,e),this.schema||(this.schema=yield this._reader.readSchema())||(yield this.cancel())),this})}throw(e){return yi(this,void 0,void 0,function*(){return!this.closed&&this.autoDestroy&&(this.closed=!0)?yield this.reset()._reader.throw(e):So})}return(e){return yi(this,void 0,void 0,function*(){return!this.closed&&this.autoDestroy&&(this.closed=!0)?yield this.reset()._reader.return(e):So})}next(){return yi(this,void 0,void 0,function*(){if(this.closed)return So;let e;const{_reader:r}=this;for(;e=yield this._readNextMessageAndValidate();)if(e.isSchema())yield this.reset(e.header());else if(e.isRecordBatch()){this._recordBatchIndex++;const S=e.header(),D=yield r.readMessageBody(e.bodyLength);return{done:!1,value:this._loadRecordBatch(S,D)}}else if(e.isDictionaryBatch()){this._dictionaryIndex++;const S=e.header(),D=yield r.readMessageBody(e.bodyLength),T=this._loadDictionaryBatch(S,D);this.dictionaries.set(S.id,T)}return this.schema&&this._recordBatchIndex===0?(this._recordBatchIndex++,{done:!1,value:new O2(this.schema)}):yield this.return()})}_readNextMessageAndValidate(e){return yi(this,void 0,void 0,function*(){return yield this._reader.readMessage(e)})}}class MM extends oy{constructor(e,r){super(e instanceof o5?e:new o5(e),r)}get footer(){return this._footer}get numDictionaries(){return this._footer?this._footer.numDictionaries:0}get numRecordBatches(){return this._footer?this._footer.numRecordBatches:0}isSync(){return!0}isFile(){return!0}open(e){if(!this.closed&&!this._footer){this.schema=(this._footer=this._readFooter()).schema;for(const r of this._footer.dictionaryBatches())r&&this._readDictionaryBatch(this._dictionaryIndex++)}return super.open(e)}readRecordBatch(e){var r;if(this.closed)return null;this._footer||this.open();const S=(r=this._footer)===null||r===void 0?void 0:r.getRecordBatch(e);if(S&&this._handle.seek(S.offset)){const D=this._reader.readMessage(Ca.RecordBatch);if(D!=null&&D.isRecordBatch()){const T=D.header(),p=this._reader.readMessageBody(D.bodyLength);return this._loadRecordBatch(T,p)}}return null}_readDictionaryBatch(e){var r;const S=(r=this._footer)===null||r===void 0?void 0:r.getDictionaryBatch(e);if(S&&this._handle.seek(S.offset)){const D=this._reader.readMessage(Ca.DictionaryBatch);if(D!=null&&D.isDictionaryBatch()){const T=D.header(),p=this._reader.readMessageBody(D.bodyLength),t=this._loadDictionaryBatch(T,p);this.dictionaries.set(T.id,t)}}}_readFooter(){const{_handle:e}=this,r=e.size-wM,S=e.readInt32(r),D=e.readAt(r-S,S);return Pm.decode(D)}_readNextMessageAndValidate(e){var r;if(this._footer||this.open(),this._footer&&this._recordBatchIndexsuper.open}});return yi(this,void 0,void 0,function*(){if(!this.closed&&!this._footer){this.schema=(this._footer=yield this._readFooter()).schema;for(const S of this._footer.dictionaryBatches())S&&(yield this._readDictionaryBatch(this._dictionaryIndex++))}return yield r.open.call(this,e)})}readRecordBatch(e){var r;return yi(this,void 0,void 0,function*(){if(this.closed)return null;this._footer||(yield this.open());const S=(r=this._footer)===null||r===void 0?void 0:r.getRecordBatch(e);if(S&&(yield this._handle.seek(S.offset))){const D=yield this._reader.readMessage(Ca.RecordBatch);if(D!=null&&D.isRecordBatch()){const T=D.header(),p=yield this._reader.readMessageBody(D.bodyLength);return this._loadRecordBatch(T,p)}}return null})}_readDictionaryBatch(e){var r;return yi(this,void 0,void 0,function*(){const S=(r=this._footer)===null||r===void 0?void 0:r.getDictionaryBatch(e);if(S&&(yield this._handle.seek(S.offset))){const D=yield this._reader.readMessage(Ca.DictionaryBatch);if(D!=null&&D.isDictionaryBatch()){const T=D.header(),p=yield this._reader.readMessageBody(D.bodyLength),t=this._loadDictionaryBatch(T,p);this.dictionaries.set(T.id,t)}}})}_readFooter(){return yi(this,void 0,void 0,function*(){const{_handle:e}=this;e._pending&&(yield e._pending);const r=e.size-wM,S=yield e.readInt32(r),D=yield e.readAt(r-S,S);return Pm.decode(D)})}_readNextMessageAndValidate(e){return yi(this,void 0,void 0,function*(){if(this._footer||(yield this.open()),this._footer&&this._recordBatchIndex=4?F2(e)?new TM(new MM(n.read())):new iy(new oy(n)):new iy(new oy(function*(){}()))}function KI(n){return yi(this,void 0,void 0,function*(){const e=yield n.peek(Qm+7&-8);return e&&e.byteLength>=4?F2(e)?new TM(new MM(yield n.read())):new ay(new sy(n)):new ay(new sy(function(){return mh(this,arguments,function*(){})}()))})}function JI(n){return yi(this,void 0,void 0,function*(){const{size:e}=yield n.stat(),r=new ey(n,e);return e>=qI&&F2(yield r.readAt(0,Qm+7&-8))?new WI(new YI(r)):new ay(new sy(r))})}class Qo extends aa{constructor(){super(),this._byteLength=0,this._nodes=[],this._buffers=[],this._bufferRegions=[]}static assemble(...e){const r=D=>D.flatMap(T=>Array.isArray(T)?r(T):T instanceof Wl?T.data.children:T.data),S=new Qo;return S.visitMany(r(e)),S}visit(e){if(e instanceof Ta)return this.visitMany(e.data),this;const{type:r}=e;if(!_i.isDictionary(r)){const{length:S,nullCount:D}=e;if(S>2147483647)throw new RangeError("Cannot write arrays larger than 2^31 - 1 in length");_i.isNull(r)||zc.call(this,D<=0?new Uint8Array(0):k2(e.offset,S,e.nullBitmap)),this.nodes.push(new Jd(S,D))}return super.visit(e)}visitNull(e){return this}visitDictionary(e){return this.visit(e.clone(e.type.indices))}get nodes(){return this._nodes}get buffers(){return this._buffers}get byteLength(){return this._byteLength}get bufferRegions(){return this._bufferRegions}}function zc(n){const e=n.byteLength+7&-8;return this.buffers.push(n),this.bufferRegions.push(new gh(this._byteLength,e)),this._byteLength+=e,this}function QI(n){const{type:e,length:r,typeIds:S,valueOffsets:D}=n;if(zc.call(this,S),e.mode===xu.Sparse)return ex.call(this,n);if(e.mode===xu.Dense){if(n.offset<=0)return zc.call(this,D),ex.call(this,n);{const T=S.reduce((i,M)=>Math.max(i,M),S[0]),p=new Int32Array(T+1),t=new Int32Array(T+1).fill(-1),d=new Int32Array(r),g=v2(-D[0],r,D);for(let i,M,v=-1;++v=n.length?zc.call(this,new Uint8Array(0)):(e=n.values)instanceof Uint8Array?zc.call(this,k2(n.offset,n.length,e)):zc.call(this,qv(n.values))}function Qf(n){return zc.call(this,n.values.subarray(0,n.length*n.stride))}function SM(n){const{length:e,values:r,valueOffsets:S}=n,D=S[0],T=S[e],p=Math.min(T-D,r.byteLength-D);return zc.call(this,v2(-S[0],e,S)),zc.call(this,r.subarray(D,D+p)),this}function B2(n){const{length:e,valueOffsets:r}=n;return r&&zc.call(this,v2(r[0],e,r)),this.visit(n.children[0])}function ex(n){return this.visitMany(n.type.children.map((e,r)=>n.children[r]).filter(Boolean))[0]}Qo.prototype.visitBool=eR;Qo.prototype.visitInt=Qf;Qo.prototype.visitFloat=Qf;Qo.prototype.visitUtf8=SM;Qo.prototype.visitBinary=SM;Qo.prototype.visitFixedSizeBinary=Qf;Qo.prototype.visitDate=Qf;Qo.prototype.visitTimestamp=Qf;Qo.prototype.visitTime=Qf;Qo.prototype.visitDecimal=Qf;Qo.prototype.visitList=B2;Qo.prototype.visitStruct=ex;Qo.prototype.visitUnion=QI;Qo.prototype.visitInterval=Qf;Qo.prototype.visitFixedSizeList=B2;Qo.prototype.visitMap=B2;class CM extends E2{constructor(e){super(),this._position=0,this._started=!1,this._sink=new bv,this._schema=null,this._dictionaryBlocks=[],this._recordBatchBlocks=[],this._dictionaryDeltaOffsets=new Map,Zl(e)||(e={autoDestroy:!0,writeLegacyIpcFormat:!1}),this._autoDestroy=typeof e.autoDestroy=="boolean"?e.autoDestroy:!0,this._writeLegacyIpcFormat=typeof e.writeLegacyIpcFormat=="boolean"?e.writeLegacyIpcFormat:!1}static throughNode(e){throw new Error('"throughNode" not available in this environment')}static throughDOM(e,r){throw new Error('"throughDOM" not available in this environment')}toString(e=!1){return this._sink.toString(e)}toUint8Array(e=!1){return this._sink.toUint8Array(e)}writeAll(e){return Uf(e)?e.then(r=>this.writeAll(r)):g0(e)?U2(this,e):j2(this,e)}get closed(){return this._sink.closed}[Symbol.asyncIterator](){return this._sink[Symbol.asyncIterator]()}toDOMStream(e){return this._sink.toDOMStream(e)}toNodeStream(e){return this._sink.toNodeStream(e)}close(){return this.reset()._sink.close()}abort(e){return this.reset()._sink.abort(e)}finish(){return this._autoDestroy?this.close():this.reset(this._sink,this._schema),this}reset(e=this._sink,r=null){return e===this._sink||e instanceof bv?this._sink=e:(this._sink=new bv,e&&_9(e)?this.toDOMStream({type:"bytes"}).pipeTo(e):e&&w9(e)&&this.toNodeStream({objectMode:!1}).pipe(e)),this._started&&this._schema&&this._writeFooter(this._schema),this._started=!1,this._dictionaryBlocks=[],this._recordBatchBlocks=[],this._dictionaryDeltaOffsets=new Map,(!r||!Xb(r,this._schema))&&(r==null?(this._position=0,this._schema=null):(this._started=!0,this._schema=r,this._writeSchema(r))),this}write(e){let r=null;if(this._sink){if(e==null)return this.finish()&&void 0;if(e instanceof ml&&!(r=e.schema))return this.finish()&&void 0;if(e instanceof Wl&&!(r=e.schema))return this.finish()&&void 0}else throw new Error("RecordBatchWriter is closed");if(r&&!Xb(r,this._schema)){if(this._started&&this._autoDestroy)return this.close();this.reset(this._sink,r)}e instanceof Wl?e instanceof O2||this._writeRecordBatch(e):e instanceof ml?this.writeAll(e.batches):Zm(e)&&this.writeAll(e)}_writeMessage(e,r=8){const S=r-1,D=xl.encode(e),T=D.byteLength,p=this._writeLegacyIpcFormat?4:8,t=T+p+S&~S,d=t-T-p;return e.headerType===Ca.RecordBatch?this._recordBatchBlocks.push(new Wf(t,e.bodyLength,this._position)):e.headerType===Ca.DictionaryBatch&&this._dictionaryBlocks.push(new Wf(t,e.bodyLength,this._position)),this._writeLegacyIpcFormat||this._write(Int32Array.of(-1)),this._write(Int32Array.of(t-p)),T>0&&this._write(D),this._writePadding(d)}_write(e){if(this._started){const r=_a(e);r&&r.byteLength>0&&(this._sink.write(r),this._position+=r.byteLength)}return this}_writeSchema(e){return this._writeMessage(xl.from(e))}_writeFooter(e){return this._writeLegacyIpcFormat?this._write(Int32Array.of(0)):this._write(Int32Array.of(-1,0))}_writeMagic(){return this._write(Om)}_writePadding(e){return e>0?this._write(new Uint8Array(e)):this}_writeRecordBatch(e){const{byteLength:r,nodes:S,bufferRegions:D,buffers:T}=Qo.assemble(e),p=new _u(e.numRows,S,D),t=xl.from(p,r);return this._writeDictionaries(e)._writeMessage(t)._writeBodyBuffers(T)}_writeDictionaryBatch(e,r,S=!1){this._dictionaryDeltaOffsets.set(r,e.length+(this._dictionaryDeltaOffsets.get(r)||0));const{byteLength:D,nodes:T,bufferRegions:p,buffers:t}=Qo.assemble(new Ta([e])),d=new _u(e.length,T,p),g=new wh(d,r,S),i=xl.from(g,D);return this._writeMessage(i)._writeBodyBuffers(t)}_writeBodyBuffers(e){let r,S,D;for(let T=-1,p=e.length;++T0&&(this._write(r),(D=(S+7&-8)-S)>0&&this._writePadding(D));return this}_writeDictionaries(e){for(let[r,S]of e.dictionaries){let D=this._dictionaryDeltaOffsets.get(r)||0;if(D===0||(S=S==null?void 0:S.slice(D)).length>0)for(const T of S.data)this._writeDictionaryBatch(T,r,D>0),D+=T.length}return this}}class N2 extends CM{static writeAll(e,r){const S=new N2(r);return Uf(e)?e.then(D=>S.writeAll(D)):g0(e)?U2(S,e):j2(S,e)}}class V2 extends CM{static writeAll(e){const r=new V2;return Uf(e)?e.then(S=>r.writeAll(S)):g0(e)?U2(r,e):j2(r,e)}constructor(){super(),this._autoDestroy=!0}_writeSchema(e){return this._writeMagic()._writePadding(2)}_writeFooter(e){const r=Pm.encode(new Pm(e,gu.V4,this._recordBatchBlocks,this._dictionaryBlocks));return super._writeFooter(e)._write(r)._write(Int32Array.of(r.byteLength))._writeMagic()}}function j2(n,e){let r=e;e instanceof ml&&(r=e.batches,n.reset(void 0,e.schema));for(const S of r)n.write(S);return n.finish()}function U2(n,e){var r,S,D,T;return yi(this,void 0,void 0,function*(){try{for(r=Nd(e);S=yield r.next(),!S.done;){const p=S.value;n.write(p)}}catch(p){D={error:p}}finally{try{S&&!S.done&&(T=r.return)&&(yield T.call(r))}finally{if(D)throw D.error}}return n.finish()})}function lm(n){const e=Qh.from(n);return Uf(e)?e.then(r=>lm(r)):e.isAsync()?e.readAll().then(r=>new ml(r)):new ml(e.readAll())}function pb(n,e="stream"){return(e==="stream"?N2:V2).writeAll(n).toUint8Array(!0)}var tx=function(){function n(e,r,S,D){var T=this;this.getCell=function(p,t){var d=p=T.headerRows&&t=T.headerColumns;if(d){var M=["blank"];return t>0&&M.push("level"+p),{type:"blank",classNames:M.join(" "),content:""}}else if(i){var v=t-T.headerColumns,M=["col_heading","level"+p,"col"+v];return{type:"columns",classNames:M.join(" "),content:T.getContent(T.columnsTable,v,p)}}else if(g){var f=p-T.headerRows,M=["row_heading","level"+t,"row"+f];return{type:"index",id:"T_".concat(T.uuid,"level").concat(t,"_row").concat(f),classNames:M.join(" "),content:T.getContent(T.indexTable,f,t)}}else{var f=p-T.headerRows,v=t-T.headerColumns,M=["data","row"+f,"col"+v],l=T.styler?T.getContent(T.styler.displayValuesTable,f,v):T.getContent(T.dataTable,f,v);return{type:"data",id:"T_".concat(T.uuid,"row").concat(f,"_col").concat(v),classNames:M.join(" "),content:l}}},this.getContent=function(p,t,d){var g=p.getChildAt(d);if(g===null)return"";var i=T.getColumnTypeId(p,d);switch(i){case Jn.Timestamp:return T.nanosToDate(g.get(t));default:return g.get(t)}},this.dataTable=lm(e),this.indexTable=lm(r),this.columnsTable=lm(S),this.styler=D?{caption:D.caption,displayValuesTable:lm(D.displayValues),styles:D.styles,uuid:D.uuid}:void 0}return Object.defineProperty(n.prototype,"rows",{get:function(){return this.indexTable.numRows+this.columnsTable.numCols},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"columns",{get:function(){return this.indexTable.numCols+this.columnsTable.numRows},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"headerRows",{get:function(){return this.rows-this.dataRows},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"headerColumns",{get:function(){return this.columns-this.dataColumns},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dataRows",{get:function(){return this.dataTable.numRows},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dataColumns",{get:function(){return this.dataTable.numCols},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uuid",{get:function(){return this.styler&&this.styler.uuid},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"caption",{get:function(){return this.styler&&this.styler.caption},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"styles",{get:function(){return this.styler&&this.styler.styles},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"table",{get:function(){return this.dataTable},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"index",{get:function(){return this.indexTable},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"columnTable",{get:function(){return this.columnsTable},enumerable:!1,configurable:!0}),n.prototype.serialize=function(){return{data:pb(this.dataTable),index:pb(this.indexTable),columns:pb(this.columnsTable)}},n.prototype.getColumnTypeId=function(e,r){return e.schema.fields[r].type.typeId},n.prototype.nanosToDate=function(e){return new Date(e/1e6)},n}(),gm=globalThis&&globalThis.__assign||function(){return gm=Object.assign||function(n){for(var e,r=1,S=arguments.length;r0?n.argsDataframeToObject(e.dfs):{};r=gm(gm({},r),S);var D=!!e.disabled,T=e.theme;T&&tR(T);var p={disabled:D,args:r,theme:T},t=new CustomEvent(n.RENDER_EVENT,{detail:p});n.events.dispatchEvent(t)},n.argsDataframeToObject=function(e){var r=e.map(function(S){var D=S.key,T=S.value;return[D,n.toArrowTable(T)]});return Object.fromEntries(r)},n.toArrowTable=function(e){var r,S=(r=e.data,r.data),D=r.index,T=r.columns,p=r.styler;return new tx(S,D,T,p)},n.sendBackMsg=function(e,r){window.parent.postMessage(gm({isStreamlitMessage:!0,type:e},r),"*")},n}(),tR=function(n){var e=document.createElement("style");document.head.appendChild(e),e.innerHTML=` -======== - */var u2=Q7,Fc=typeof Symbol=="function"&&Symbol.for,qm=Fc?Symbol.for("react.element"):60103,e9=Fc?Symbol.for("react.portal"):60106,t9=Fc?Symbol.for("react.fragment"):60107,n9=Fc?Symbol.for("react.strict_mode"):60108,r9=Fc?Symbol.for("react.profiler"):60114,i9=Fc?Symbol.for("react.provider"):60109,a9=Fc?Symbol.for("react.context"):60110,o9=Fc?Symbol.for("react.forward_ref"):60112,s9=Fc?Symbol.for("react.suspense"):60113,l9=Fc?Symbol.for("react.memo"):60115,u9=Fc?Symbol.for("react.lazy"):60116,$3=typeof Symbol=="function"&&Symbol.iterator;function Wm(n){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+n,r=1;rRv.length&&Rv.push(n)}function Bb(n,e,r,C){var D=typeof n;(D==="undefined"||D==="boolean")&&(n=null);var T=!1;if(n===null)T=!0;else switch(D){case"string":case"number":T=!0;break;case"object":switch(n.$$typeof){case qm:case e9:T=!0}}if(T)return r(C,n,e===""?"."+sb(n,0):e),1;if(T=0,e=e===""?".":e+":",Array.isArray(n))for(var p=0;p=n.length&&(n=void 0),{value:n&&n[C++],done:!n}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function zi(n){return this instanceof zi?(this.v=n,this):new zi(n)}function mh(n,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var C=r.apply(n,e||[]),D,T=[];return D=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),t("next"),t("throw"),t("return",p),D[Symbol.asyncIterator]=function(){return this},D;function p(f){return function(l){return Promise.resolve(l).then(f,M)}}function t(f,l){C[f]&&(D[f]=function(a){return new Promise(function(u,o){T.push([f,a,u,o])>1||d(f,a)})},l&&(D[f]=l(D[f])))}function d(f,l){try{g(C[f](l))}catch(a){v(T[0][3],a)}}function g(f){f.value instanceof zi?Promise.resolve(f.value.v).then(i,M):v(T[0][2],f)}function i(f){d("next",f)}function M(f){d("throw",f)}function v(f,l){f(l),T.shift(),T.length&&d(T[0][0],T[0][1])}}function mv(n){var e,r;return e={},C("next"),C("throw",function(D){throw D}),C("return"),e[Symbol.iterator]=function(){return this},e;function C(D,T){e[D]=n[D]?function(p){return(r=!r)?{value:zi(n[D](p)),done:!1}:T?T(p):p}:T}}function Nd(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=n[Symbol.asyncIterator],r;return e?e.call(n):(n=typeof Z3=="function"?Z3(n):n[Symbol.iterator](),r={},C("next"),C("throw"),C("return"),r[Symbol.asyncIterator]=function(){return this},r);function C(T){r[T]=n[T]&&function(p){return new Promise(function(t,d){p=n[T](p),D(t,d,p.done,p.value)})}}function D(T,p,t,d){Promise.resolve(d).then(function(g){T({value:g,done:t})},p)}}const v9=new TextDecoder("utf-8"),jb=n=>v9.decode(n),y9=new TextEncoder,p2=n=>y9.encode(n),[NH,b9]=(()=>{const n=()=>{throw new Error("BigInt is not available in this environment")};function e(){throw n()}return e.asIntN=()=>{throw n()},e.asUintN=()=>{throw n()},typeof BigInt<"u"?[BigInt,!0]:[e,!1]})(),[Ym,VH]=(()=>{const n=()=>{throw new Error("BigInt64Array is not available in this environment")};class e{static get BYTES_PER_ELEMENT(){return 8}static of(){throw n()}static from(){throw n()}constructor(){throw n()}}return typeof BigInt64Array<"u"?[BigInt64Array,!0]:[e,!1]})(),[$m,jH]=(()=>{const n=()=>{throw new Error("BigUint64Array is not available in this environment")};class e{static get BYTES_PER_ELEMENT(){return 8}static of(){throw n()}static from(){throw n()}constructor(){throw n()}}return typeof BigUint64Array<"u"?[BigUint64Array,!0]:[e,!1]})(),x9=n=>typeof n=="number",V4=n=>typeof n=="boolean",us=n=>typeof n=="function",Zl=n=>n!=null&&Object(n)===n,Uf=n=>Zl(n)&&us(n.then),Zm=n=>Zl(n)&&us(n[Symbol.iterator]),g0=n=>Zl(n)&&us(n[Symbol.asyncIterator]),Ub=n=>Zl(n)&&Zl(n.schema),j4=n=>Zl(n)&&"done"in n&&"value"in n,U4=n=>Zl(n)&&us(n.stat)&&x9(n.fd),H4=n=>Zl(n)&&m2(n.body),Uy=n=>"_getDOMStream"in n&&"_getNodeStream"in n,_9=n=>Zl(n)&&us(n.abort)&&us(n.getWriter)&&!Uy(n),m2=n=>Zl(n)&&us(n.cancel)&&us(n.getReader)&&!Uy(n),w9=n=>Zl(n)&&us(n.end)&&us(n.write)&&V4(n.writable)&&!Uy(n),G4=n=>Zl(n)&&us(n.read)&&us(n.pipe)&&V4(n.readable)&&!Uy(n),T9=n=>Zl(n)&&us(n.clear)&&us(n.bytes)&&us(n.position)&&us(n.setPosition)&&us(n.capacity)&&us(n.getBufferIdentifier)&&us(n.createLong),g2=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:ArrayBuffer;function k9(n){const e=n[0]?[n[0]]:[];let r,C,D,T;for(let p,t,d=0,g=0,i=n.length;++di+M.byteLength,0);let D,T,p,t=0,d=-1;const g=Math.min(e||Number.POSITIVE_INFINITY,C);for(const i=r.length;++dqa(Int32Array,n),_a=n=>qa(Uint8Array,n),Hb=n=>(n.next(),n);function*M9(n,e){const r=function*(D){yield D},C=typeof e=="string"||ArrayBuffer.isView(e)||e instanceof ArrayBuffer||e instanceof g2?r(e):Zm(e)?e:r(e);return yield*Hb(function*(D){let T=null;do T=D.next(yield qa(n,T));while(!T.done)}(C[Symbol.iterator]())),new n}const A9=n=>M9(Uint8Array,n);function q4(n,e){return mh(this,arguments,function*(){if(Uf(e))return yield zi(yield zi(yield*mv(Nd(q4(n,yield zi(e))))));const C=function(p){return mh(this,arguments,function*(){yield yield zi(yield zi(p))})},D=function(p){return mh(this,arguments,function*(){yield zi(yield*mv(Nd(Hb(function*(t){let d=null;do d=t.next(yield d==null?void 0:d.value);while(!d.done)}(p[Symbol.iterator]())))))})},T=typeof e=="string"||ArrayBuffer.isView(e)||e instanceof ArrayBuffer||e instanceof g2?C(e):Zm(e)?D(e):g0(e)?e:C(e);return yield zi(yield*mv(Nd(Hb(function(p){return mh(this,arguments,function*(){let t=null;do t=yield zi(p.next(yield yield zi(qa(n,t))));while(!t.done)})}(T[Symbol.asyncIterator]()))))),yield zi(new n)})}const S9=n=>q4(Uint8Array,n);function v2(n,e,r){if(n!==0){r=r.slice(0,e+1);for(let C=-1;++C<=e;)r[C]+=n}return r}function C9(n,e){let r=0;const C=n.length;if(C!==e.length)return!1;if(C>0)do if(n[r]!==e[r])return!1;while(++r(n.next(),n);function*E9(n){let e,r=!1,C=[],D,T,p,t=0;function d(){return T==="peek"?xh(C,p)[0]:([D,C,t]=xh(C,p),D)}({cmd:T,size:p}=yield null);const g=A9(n)[Symbol.iterator]();try{do if({done:e,value:D}=Number.isNaN(p-t)?g.next():g.next(p-t),!e&&D.byteLength>0&&(C.push(D),t+=D.byteLength),e||p<=t)do({cmd:T,size:p}=yield d());while(p0&&(D.push(T),d+=T.byteLength),r||t<=d)do({cmd:p,size:t}=yield yield zi(g()));while(t0&&(D.push(_a(T)),d+=T.byteLength),r||t<=d)do({cmd:p,size:t}=yield yield zi(g()));while(t{})}get closed(){return this.reader?this.reader.closed.catch(()=>{}):Promise.resolve()}releaseLock(){this.reader&&this.reader.releaseLock(),this.reader=null}cancel(e){return yi(this,void 0,void 0,function*(){const{reader:r,source:C}=this;r&&(yield r.cancel(e).catch(()=>{})),C&&C.locked&&this.releaseLock()})}read(e){return yi(this,void 0,void 0,function*(){if(e===0)return{done:this.reader==null,value:new Uint8Array(0)};const r=yield this.reader.read();return!r.done&&(r.value=_a(r)),r})}}const lb=(n,e)=>{const r=D=>C([e,D]);let C;return[e,r,new Promise(D=>(C=D)&&n.once(e,r))]};function P9(n){return mh(this,arguments,function*(){const r=[];let C="error",D=!1,T=null,p,t,d=0,g=[],i;function M(){return p==="peek"?xh(g,t)[0]:([i,g,d]=xh(g,t),i)}if({cmd:p,size:t}=yield yield zi(null),n.isTTY)return yield yield zi(new Uint8Array(0)),yield zi(null);try{r[0]=lb(n,"end"),r[1]=lb(n,"error");do{if(r[2]=lb(n,"readable"),[C,T]=yield zi(Promise.race(r.map(f=>f[2]))),C==="error")break;if((D=C==="end")||(Number.isFinite(t-d)?(i=_a(n.read(t-d)),i.byteLength0&&(g.push(i),d+=i.byteLength)),D||t<=d)do({cmd:p,size:t}=yield yield zi(M()));while(t{for(const[o,s]of f)n.off(o,s);try{const o=n.destroy;o&&o.call(n,l),l=void 0}catch(o){l=o||l}finally{l!=null?u(l):a()}})}})}var gu;(function(n){n[n.V1=0]="V1",n[n.V2=1]="V2",n[n.V3=2]="V3",n[n.V4=3]="V4",n[n.V5=4]="V5"})(gu||(gu={}));var xu;(function(n){n[n.Sparse=0]="Sparse",n[n.Dense=1]="Dense"})(xu||(xu={}));var Yl;(function(n){n[n.HALF=0]="HALF",n[n.SINGLE=1]="SINGLE",n[n.DOUBLE=2]="DOUBLE"})(Yl||(Yl={}));var nf;(function(n){n[n.DAY=0]="DAY",n[n.MILLISECOND=1]="MILLISECOND"})(nf||(nf={}));var wa;(function(n){n[n.SECOND=0]="SECOND",n[n.MILLISECOND=1]="MILLISECOND",n[n.MICROSECOND=2]="MICROSECOND",n[n.NANOSECOND=3]="NANOSECOND"})(wa||(wa={}));var Hf;(function(n){n[n.YEAR_MONTH=0]="YEAR_MONTH",n[n.DAY_TIME=1]="DAY_TIME",n[n.MONTH_DAY_NANO=2]="MONTH_DAY_NANO"})(Hf||(Hf={}));var Ca;(function(n){n[n.NONE=0]="NONE",n[n.Schema=1]="Schema",n[n.DictionaryBatch=2]="DictionaryBatch",n[n.RecordBatch=3]="RecordBatch",n[n.Tensor=4]="Tensor",n[n.SparseTensor=5]="SparseTensor"})(Ca||(Ca={}));var Jn;(function(n){n[n.NONE=0]="NONE",n[n.Null=1]="Null",n[n.Int=2]="Int",n[n.Float=3]="Float",n[n.Binary=4]="Binary",n[n.Utf8=5]="Utf8",n[n.Bool=6]="Bool",n[n.Decimal=7]="Decimal",n[n.Date=8]="Date",n[n.Time=9]="Time",n[n.Timestamp=10]="Timestamp",n[n.Interval=11]="Interval",n[n.List=12]="List",n[n.Struct=13]="Struct",n[n.Union=14]="Union",n[n.FixedSizeBinary=15]="FixedSizeBinary",n[n.FixedSizeList=16]="FixedSizeList",n[n.Map=17]="Map",n[n.Dictionary=-1]="Dictionary",n[n.Int8=-2]="Int8",n[n.Int16=-3]="Int16",n[n.Int32=-4]="Int32",n[n.Int64=-5]="Int64",n[n.Uint8=-6]="Uint8",n[n.Uint16=-7]="Uint16",n[n.Uint32=-8]="Uint32",n[n.Uint64=-9]="Uint64",n[n.Float16=-10]="Float16",n[n.Float32=-11]="Float32",n[n.Float64=-12]="Float64",n[n.DateDay=-13]="DateDay",n[n.DateMillisecond=-14]="DateMillisecond",n[n.TimestampSecond=-15]="TimestampSecond",n[n.TimestampMillisecond=-16]="TimestampMillisecond",n[n.TimestampMicrosecond=-17]="TimestampMicrosecond",n[n.TimestampNanosecond=-18]="TimestampNanosecond",n[n.TimeSecond=-19]="TimeSecond",n[n.TimeMillisecond=-20]="TimeMillisecond",n[n.TimeMicrosecond=-21]="TimeMicrosecond",n[n.TimeNanosecond=-22]="TimeNanosecond",n[n.DenseUnion=-23]="DenseUnion",n[n.SparseUnion=-24]="SparseUnion",n[n.IntervalDayTime=-25]="IntervalDayTime",n[n.IntervalYearMonth=-26]="IntervalYearMonth"})(Jn||(Jn={}));var qh;(function(n){n[n.OFFSET=0]="OFFSET",n[n.DATA=1]="DATA",n[n.VALIDITY=2]="VALIDITY",n[n.TYPE=3]="TYPE"})(qh||(qh={}));const O9=void 0;function Cm(n){if(n===null)return"null";if(n===O9)return"undefined";switch(typeof n){case"number":return`${n}`;case"bigint":return`${n}`;case"string":return`"${n}"`}return typeof n[Symbol.toPrimitive]=="function"?n[Symbol.toPrimitive]("string"):ArrayBuffer.isView(n)?n instanceof Ym||n instanceof $m?`[${[...n].map(e=>Cm(e))}]`:`[${n}]`:ArrayBuffer.isView(n)?`[${n}]`:JSON.stringify(n,(e,r)=>typeof r=="bigint"?`${r}`:r)}const D9=Symbol.for("isArrowBigNum");function Bc(n,...e){return e.length===0?Object.setPrototypeOf(qa(this.TypedArray,n),this.constructor.prototype):Object.setPrototypeOf(new this.TypedArray(n,...e),this.constructor.prototype)}Bc.prototype[D9]=!0;Bc.prototype.toJSON=function(){return`"${Vd(this)}"`};Bc.prototype.valueOf=function(){return W4(this)};Bc.prototype.toString=function(){return Vd(this)};Bc.prototype[Symbol.toPrimitive]=function(n="default"){switch(n){case"number":return W4(this);case"string":return Vd(this);case"default":return Gb(this)}return Vd(this)};function Up(...n){return Bc.apply(this,n)}function Hp(...n){return Bc.apply(this,n)}function Em(...n){return Bc.apply(this,n)}Object.setPrototypeOf(Up.prototype,Object.create(Int32Array.prototype));Object.setPrototypeOf(Hp.prototype,Object.create(Uint32Array.prototype));Object.setPrototypeOf(Em.prototype,Object.create(Uint32Array.prototype));Object.assign(Up.prototype,Bc.prototype,{constructor:Up,signed:!0,TypedArray:Int32Array,BigIntArray:Ym});Object.assign(Hp.prototype,Bc.prototype,{constructor:Hp,signed:!1,TypedArray:Uint32Array,BigIntArray:$m});Object.assign(Em.prototype,Bc.prototype,{constructor:Em,signed:!0,TypedArray:Uint32Array,BigIntArray:$m});function W4(n){const{buffer:e,byteOffset:r,length:C,signed:D}=n,T=new $m(e,r,C),p=D&&T[T.length-1]&BigInt(1)<n.byteLength===8?new n.BigIntArray(n.buffer,n.byteOffset,1)[0]:ub(n),Vd=n=>n.byteLength===8?`${new n.BigIntArray(n.buffer,n.byteOffset,1)[0]}`:ub(n)):(Vd=ub,Gb=Vd);function ub(n){let e="";const r=new Uint32Array(2);let C=new Uint16Array(n.buffer,n.byteOffset,n.byteLength/2);const D=new Uint32Array((C=new Uint16Array(C).reverse()).buffer);let T=-1;const p=C.length-1;do{for(r[0]=C[T=0];T(n.children=null,n.ArrayType=Array,n[Symbol.toStringTag]="DataType"))(_i.prototype);let Gf=class extends _i{toString(){return"Null"}get typeId(){return Jn.Null}};$4=Symbol.toStringTag;Gf[$4]=(n=>n[Symbol.toStringTag]="Null")(Gf.prototype);class qf extends _i{constructor(e,r){super(),this.isSigned=e,this.bitWidth=r}get typeId(){return Jn.Int}get ArrayType(){switch(this.bitWidth){case 8:return this.isSigned?Int8Array:Uint8Array;case 16:return this.isSigned?Int16Array:Uint16Array;case 32:return this.isSigned?Int32Array:Uint32Array;case 64:return this.isSigned?Ym:$m}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`${this.isSigned?"I":"Ui"}nt${this.bitWidth}`}}Z4=Symbol.toStringTag;qf[Z4]=(n=>(n.isSigned=null,n.bitWidth=null,n[Symbol.toStringTag]="Int"))(qf.prototype);class Lm extends qf{constructor(){super(!0,32)}get ArrayType(){return Int32Array}}Object.defineProperty(Lm.prototype,"ArrayType",{value:Int32Array});class Im extends _i{constructor(e){super(),this.precision=e}get typeId(){return Jn.Float}get ArrayType(){switch(this.precision){case Yl.HALF:return Uint16Array;case Yl.SINGLE:return Float32Array;case Yl.DOUBLE:return Float64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`Float${this.precision<<5||16}`}}X4=Symbol.toStringTag;Im[X4]=(n=>(n.precision=null,n[Symbol.toStringTag]="Float"))(Im.prototype);let Pv=class extends _i{constructor(){super()}get typeId(){return Jn.Binary}toString(){return"Binary"}};K4=Symbol.toStringTag;Pv[K4]=(n=>(n.ArrayType=Uint8Array,n[Symbol.toStringTag]="Binary"))(Pv.prototype);let Ov=class extends _i{constructor(){super()}get typeId(){return Jn.Utf8}toString(){return"Utf8"}};J4=Symbol.toStringTag;Ov[J4]=(n=>(n.ArrayType=Uint8Array,n[Symbol.toStringTag]="Utf8"))(Ov.prototype);let Dv=class extends _i{constructor(){super()}get typeId(){return Jn.Bool}toString(){return"Bool"}};Q4=Symbol.toStringTag;Dv[Q4]=(n=>(n.ArrayType=Uint8Array,n[Symbol.toStringTag]="Bool"))(Dv.prototype);let zv=class extends _i{constructor(e,r,C=128){super(),this.scale=e,this.precision=r,this.bitWidth=C}get typeId(){return Jn.Decimal}toString(){return`Decimal[${this.precision}e${this.scale>0?"+":""}${this.scale}]`}};ek=Symbol.toStringTag;zv[ek]=(n=>(n.scale=null,n.precision=null,n.ArrayType=Uint32Array,n[Symbol.toStringTag]="Decimal"))(zv.prototype);class Fv extends _i{constructor(e){super(),this.unit=e}get typeId(){return Jn.Date}toString(){return`Date${(this.unit+1)*32}<${nf[this.unit]}>`}}tk=Symbol.toStringTag;Fv[tk]=(n=>(n.unit=null,n.ArrayType=Int32Array,n[Symbol.toStringTag]="Date"))(Fv.prototype);class Rm extends _i{constructor(e,r){super(),this.unit=e,this.bitWidth=r}get typeId(){return Jn.Time}toString(){return`Time${this.bitWidth}<${wa[this.unit]}>`}get ArrayType(){switch(this.bitWidth){case 32:return Int32Array;case 64:return Ym}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}}nk=Symbol.toStringTag;Rm[nk]=(n=>(n.unit=null,n.bitWidth=null,n[Symbol.toStringTag]="Time"))(Rm.prototype);class Bv extends _i{constructor(e,r){super(),this.unit=e,this.timezone=r}get typeId(){return Jn.Timestamp}toString(){return`Timestamp<${wa[this.unit]}${this.timezone?`, ${this.timezone}`:""}>`}}rk=Symbol.toStringTag;Bv[rk]=(n=>(n.unit=null,n.timezone=null,n.ArrayType=Int32Array,n[Symbol.toStringTag]="Timestamp"))(Bv.prototype);class Nv extends _i{constructor(e){super(),this.unit=e}get typeId(){return Jn.Interval}toString(){return`Interval<${Hf[this.unit]}>`}}ik=Symbol.toStringTag;Nv[ik]=(n=>(n.unit=null,n.ArrayType=Int32Array,n[Symbol.toStringTag]="Interval"))(Nv.prototype);let Vv=class extends _i{constructor(e){super(),this.children=[e]}get typeId(){return Jn.List}toString(){return`List<${this.valueType}>`}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}};ak=Symbol.toStringTag;Vv[ak]=(n=>(n.children=null,n[Symbol.toStringTag]="List"))(Vv.prototype);class bl extends _i{constructor(e){super(),this.children=e}get typeId(){return Jn.Struct}toString(){return`Struct<{${this.children.map(e=>`${e.name}:${e.type}`).join(", ")}}>`}}ok=Symbol.toStringTag;bl[ok]=(n=>(n.children=null,n[Symbol.toStringTag]="Struct"))(bl.prototype);class jv extends _i{constructor(e,r,C){super(),this.mode=e,this.children=C,this.typeIds=r=Int32Array.from(r),this.typeIdToChildIndex=r.reduce((D,T,p)=>(D[T]=p)&&D||D,Object.create(null))}get typeId(){return Jn.Union}toString(){return`${this[Symbol.toStringTag]}<${this.children.map(e=>`${e.type}`).join(" | ")}>`}}sk=Symbol.toStringTag;jv[sk]=(n=>(n.mode=null,n.typeIds=null,n.children=null,n.typeIdToChildIndex=null,n.ArrayType=Int8Array,n[Symbol.toStringTag]="Union"))(jv.prototype);let Uv=class extends _i{constructor(e){super(),this.byteWidth=e}get typeId(){return Jn.FixedSizeBinary}toString(){return`FixedSizeBinary[${this.byteWidth}]`}};lk=Symbol.toStringTag;Uv[lk]=(n=>(n.byteWidth=null,n.ArrayType=Uint8Array,n[Symbol.toStringTag]="FixedSizeBinary"))(Uv.prototype);let Hv=class extends _i{constructor(e,r){super(),this.listSize=e,this.children=[r]}get typeId(){return Jn.FixedSizeList}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}toString(){return`FixedSizeList[${this.listSize}]<${this.valueType}>`}};uk=Symbol.toStringTag;Hv[uk]=(n=>(n.children=null,n.listSize=null,n[Symbol.toStringTag]="FixedSizeList"))(Hv.prototype);class Gv extends _i{constructor(e,r=!1){super(),this.children=[e],this.keysSorted=r}get typeId(){return Jn.Map}get keyType(){return this.children[0].type.children[0].type}get valueType(){return this.children[0].type.children[1].type}get childType(){return this.children[0].type}toString(){return`Map<{${this.children[0].type.children.map(e=>`${e.name}:${e.type}`).join(", ")}}>`}}ck=Symbol.toStringTag;Gv[ck]=(n=>(n.children=null,n.keysSorted=null,n[Symbol.toStringTag]="Map_"))(Gv.prototype);const z9=(n=>()=>++n)(-1);class Kp extends _i{constructor(e,r,C,D){super(),this.indices=r,this.dictionary=e,this.isOrdered=D||!1,this.id=C==null?z9():typeof C=="number"?C:C.low}get typeId(){return Jn.Dictionary}get children(){return this.dictionary.children}get valueType(){return this.dictionary}get ArrayType(){return this.dictionary.ArrayType}toString(){return`Dictionary<${this.indices}, ${this.dictionary}>`}}hk=Symbol.toStringTag;Kp[hk]=(n=>(n.id=null,n.indices=null,n.isOrdered=null,n.dictionary=null,n[Symbol.toStringTag]="Dictionary"))(Kp.prototype);function Wh(n){const e=n;switch(n.typeId){case Jn.Decimal:return n.bitWidth/32;case Jn.Timestamp:return 2;case Jn.Date:return 1+e.unit;case Jn.Interval:return 1+e.unit;case Jn.FixedSizeList:return e.listSize;case Jn.FixedSizeBinary:return e.byteWidth;default:return 1}}class aa{visitMany(e,...r){return e.map((C,D)=>this.visit(C,...r.map(T=>T[D])))}visit(...e){return this.getVisitFn(e[0],!1).apply(this,e)}getVisitFn(e,r=!0){return F9(this,e,r)}getVisitFnByTypeId(e,r=!0){return Rp(this,e,r)}visitNull(e,...r){return null}visitBool(e,...r){return null}visitInt(e,...r){return null}visitFloat(e,...r){return null}visitUtf8(e,...r){return null}visitBinary(e,...r){return null}visitFixedSizeBinary(e,...r){return null}visitDate(e,...r){return null}visitTimestamp(e,...r){return null}visitTime(e,...r){return null}visitDecimal(e,...r){return null}visitList(e,...r){return null}visitStruct(e,...r){return null}visitUnion(e,...r){return null}visitDictionary(e,...r){return null}visitInterval(e,...r){return null}visitFixedSizeList(e,...r){return null}visitMap(e,...r){return null}}function F9(n,e,r=!0){return typeof e=="number"?Rp(n,e,r):typeof e=="string"&&e in Jn?Rp(n,Jn[e],r):e&&e instanceof _i?Rp(n,K3(e),r):e!=null&&e.type&&e.type instanceof _i?Rp(n,K3(e.type),r):Rp(n,Jn.NONE,r)}function Rp(n,e,r=!0){let C=null;switch(e){case Jn.Null:C=n.visitNull;break;case Jn.Bool:C=n.visitBool;break;case Jn.Int:C=n.visitInt;break;case Jn.Int8:C=n.visitInt8||n.visitInt;break;case Jn.Int16:C=n.visitInt16||n.visitInt;break;case Jn.Int32:C=n.visitInt32||n.visitInt;break;case Jn.Int64:C=n.visitInt64||n.visitInt;break;case Jn.Uint8:C=n.visitUint8||n.visitInt;break;case Jn.Uint16:C=n.visitUint16||n.visitInt;break;case Jn.Uint32:C=n.visitUint32||n.visitInt;break;case Jn.Uint64:C=n.visitUint64||n.visitInt;break;case Jn.Float:C=n.visitFloat;break;case Jn.Float16:C=n.visitFloat16||n.visitFloat;break;case Jn.Float32:C=n.visitFloat32||n.visitFloat;break;case Jn.Float64:C=n.visitFloat64||n.visitFloat;break;case Jn.Utf8:C=n.visitUtf8;break;case Jn.Binary:C=n.visitBinary;break;case Jn.FixedSizeBinary:C=n.visitFixedSizeBinary;break;case Jn.Date:C=n.visitDate;break;case Jn.DateDay:C=n.visitDateDay||n.visitDate;break;case Jn.DateMillisecond:C=n.visitDateMillisecond||n.visitDate;break;case Jn.Timestamp:C=n.visitTimestamp;break;case Jn.TimestampSecond:C=n.visitTimestampSecond||n.visitTimestamp;break;case Jn.TimestampMillisecond:C=n.visitTimestampMillisecond||n.visitTimestamp;break;case Jn.TimestampMicrosecond:C=n.visitTimestampMicrosecond||n.visitTimestamp;break;case Jn.TimestampNanosecond:C=n.visitTimestampNanosecond||n.visitTimestamp;break;case Jn.Time:C=n.visitTime;break;case Jn.TimeSecond:C=n.visitTimeSecond||n.visitTime;break;case Jn.TimeMillisecond:C=n.visitTimeMillisecond||n.visitTime;break;case Jn.TimeMicrosecond:C=n.visitTimeMicrosecond||n.visitTime;break;case Jn.TimeNanosecond:C=n.visitTimeNanosecond||n.visitTime;break;case Jn.Decimal:C=n.visitDecimal;break;case Jn.List:C=n.visitList;break;case Jn.Struct:C=n.visitStruct;break;case Jn.Union:C=n.visitUnion;break;case Jn.DenseUnion:C=n.visitDenseUnion||n.visitUnion;break;case Jn.SparseUnion:C=n.visitSparseUnion||n.visitUnion;break;case Jn.Dictionary:C=n.visitDictionary;break;case Jn.Interval:C=n.visitInterval;break;case Jn.IntervalDayTime:C=n.visitIntervalDayTime||n.visitInterval;break;case Jn.IntervalYearMonth:C=n.visitIntervalYearMonth||n.visitInterval;break;case Jn.FixedSizeList:C=n.visitFixedSizeList;break;case Jn.Map:C=n.visitMap;break}if(typeof C=="function")return C;if(!r)return()=>null;throw new Error(`Unrecognized type '${Jn[e]}'`)}function K3(n){switch(n.typeId){case Jn.Null:return Jn.Null;case Jn.Int:{const{bitWidth:e,isSigned:r}=n;switch(e){case 8:return r?Jn.Int8:Jn.Uint8;case 16:return r?Jn.Int16:Jn.Uint16;case 32:return r?Jn.Int32:Jn.Uint32;case 64:return r?Jn.Int64:Jn.Uint64}return Jn.Int}case Jn.Float:switch(n.precision){case Yl.HALF:return Jn.Float16;case Yl.SINGLE:return Jn.Float32;case Yl.DOUBLE:return Jn.Float64}return Jn.Float;case Jn.Binary:return Jn.Binary;case Jn.Utf8:return Jn.Utf8;case Jn.Bool:return Jn.Bool;case Jn.Decimal:return Jn.Decimal;case Jn.Time:switch(n.unit){case wa.SECOND:return Jn.TimeSecond;case wa.MILLISECOND:return Jn.TimeMillisecond;case wa.MICROSECOND:return Jn.TimeMicrosecond;case wa.NANOSECOND:return Jn.TimeNanosecond}return Jn.Time;case Jn.Timestamp:switch(n.unit){case wa.SECOND:return Jn.TimestampSecond;case wa.MILLISECOND:return Jn.TimestampMillisecond;case wa.MICROSECOND:return Jn.TimestampMicrosecond;case wa.NANOSECOND:return Jn.TimestampNanosecond}return Jn.Timestamp;case Jn.Date:switch(n.unit){case nf.DAY:return Jn.DateDay;case nf.MILLISECOND:return Jn.DateMillisecond}return Jn.Date;case Jn.Interval:switch(n.unit){case Hf.DAY_TIME:return Jn.IntervalDayTime;case Hf.YEAR_MONTH:return Jn.IntervalYearMonth}return Jn.Interval;case Jn.Map:return Jn.Map;case Jn.List:return Jn.List;case Jn.Struct:return Jn.Struct;case Jn.Union:switch(n.mode){case xu.Dense:return Jn.DenseUnion;case xu.Sparse:return Jn.SparseUnion}return Jn.Union;case Jn.FixedSizeBinary:return Jn.FixedSizeBinary;case Jn.FixedSizeList:return Jn.FixedSizeList;case Jn.Dictionary:return Jn.Dictionary}throw new Error(`Unrecognized type '${Jn[n.typeId]}'`)}aa.prototype.visitInt8=null;aa.prototype.visitInt16=null;aa.prototype.visitInt32=null;aa.prototype.visitInt64=null;aa.prototype.visitUint8=null;aa.prototype.visitUint16=null;aa.prototype.visitUint32=null;aa.prototype.visitUint64=null;aa.prototype.visitFloat16=null;aa.prototype.visitFloat32=null;aa.prototype.visitFloat64=null;aa.prototype.visitDateDay=null;aa.prototype.visitDateMillisecond=null;aa.prototype.visitTimestampSecond=null;aa.prototype.visitTimestampMillisecond=null;aa.prototype.visitTimestampMicrosecond=null;aa.prototype.visitTimestampNanosecond=null;aa.prototype.visitTimeSecond=null;aa.prototype.visitTimeMillisecond=null;aa.prototype.visitTimeMicrosecond=null;aa.prototype.visitTimeNanosecond=null;aa.prototype.visitDenseUnion=null;aa.prototype.visitSparseUnion=null;aa.prototype.visitIntervalDayTime=null;aa.prototype.visitIntervalYearMonth=null;const fk=new Float64Array(1),Ap=new Uint32Array(fk.buffer);function dk(n){const e=(n&31744)>>10,r=(n&1023)/1024,C=Math.pow(-1,(n&32768)>>15);switch(e){case 31:return C*(r?Number.NaN:1/0);case 0:return C*(r?6103515625e-14*r:0)}return C*Math.pow(2,e-15)*(1+r)}function B9(n){if(n!==n)return 32256;fk[0]=n;const e=(Ap[1]&2147483648)>>16&65535;let r=Ap[1]&2146435072,C=0;return r>=1089470464?Ap[0]>0?r=31744:(r=(r&2080374784)>>16,C=(Ap[1]&1048575)>>10):r<=1056964608?(C=1048576+(Ap[1]&1048575),C=1048576+(C<<(r>>20)-998)>>21,r=0):(r=r-1056964608>>10,C=(Ap[1]&1048575)+512>>10),e|r|C&65535}class Ci extends aa{}function Pi(n){return(e,r,C)=>{if(e.setValid(r,C!=null))return n(e,r,C)}}const N9=(n,e,r)=>{n[e]=Math.trunc(r/864e5)},b2=(n,e,r)=>{n[e]=Math.trunc(r%4294967296),n[e+1]=Math.trunc(r/4294967296)},V9=(n,e,r)=>{n[e]=Math.trunc(r*1e3%4294967296),n[e+1]=Math.trunc(r*1e3/4294967296)},j9=(n,e,r)=>{n[e]=Math.trunc(r*1e6%4294967296),n[e+1]=Math.trunc(r*1e6/4294967296)},pk=(n,e,r,C)=>{if(r+1{const D=n+r;C?e[D>>3]|=1<>3]&=~(1<{n[e]=r},x2=({values:n},e,r)=>{n[e]=r},mk=({values:n},e,r)=>{n[e]=B9(r)},H9=(n,e,r)=>{switch(n.type.precision){case Yl.HALF:return mk(n,e,r);case Yl.SINGLE:case Yl.DOUBLE:return x2(n,e,r)}},gk=({values:n},e,r)=>{N9(n,e,r.valueOf())},vk=({values:n},e,r)=>{b2(n,e*2,r.valueOf())},G9=({stride:n,values:e},r,C)=>{e.set(C.subarray(0,n),n*r)},q9=({values:n,valueOffsets:e},r,C)=>pk(n,e,r,C),W9=({values:n,valueOffsets:e},r,C)=>{pk(n,e,r,p2(C))},Y9=(n,e,r)=>{n.type.unit===nf.DAY?gk(n,e,r):vk(n,e,r)},yk=({values:n},e,r)=>b2(n,e*2,r/1e3),bk=({values:n},e,r)=>b2(n,e*2,r),xk=({values:n},e,r)=>V9(n,e*2,r),_k=({values:n},e,r)=>j9(n,e*2,r),$9=(n,e,r)=>{switch(n.type.unit){case wa.SECOND:return yk(n,e,r);case wa.MILLISECOND:return bk(n,e,r);case wa.MICROSECOND:return xk(n,e,r);case wa.NANOSECOND:return _k(n,e,r)}},wk=({values:n},e,r)=>{n[e]=r},Tk=({values:n},e,r)=>{n[e]=r},kk=({values:n},e,r)=>{n[e]=r},Mk=({values:n},e,r)=>{n[e]=r},Z9=(n,e,r)=>{switch(n.type.unit){case wa.SECOND:return wk(n,e,r);case wa.MILLISECOND:return Tk(n,e,r);case wa.MICROSECOND:return kk(n,e,r);case wa.NANOSECOND:return Mk(n,e,r)}},X9=({values:n,stride:e},r,C)=>{n.set(C.subarray(0,e),e*r)},K9=(n,e,r)=>{const C=n.children[0],D=n.valueOffsets,T=nc.getVisitFn(C);if(Array.isArray(r))for(let p=-1,t=D[e],d=D[e+1];t{const C=n.children[0],{valueOffsets:D}=n,T=nc.getVisitFn(C);let{[e]:p,[e+1]:t}=D;const d=r instanceof Map?r.entries():Object.entries(r);for(const g of d)if(T(C,p,g),++p>=t)break},Q9=(n,e)=>(r,C,D,T)=>C&&r(C,n,e[T]),eL=(n,e)=>(r,C,D,T)=>C&&r(C,n,e.get(T)),tL=(n,e)=>(r,C,D,T)=>C&&r(C,n,e.get(D.name)),nL=(n,e)=>(r,C,D,T)=>C&&r(C,n,e[D.name]),rL=(n,e,r)=>{const C=n.type.children.map(T=>nc.getVisitFn(T.type)),D=r instanceof Map?tL(e,r):r instanceof Ta?eL(e,r):Array.isArray(r)?Q9(e,r):nL(e,r);n.type.children.forEach((T,p)=>D(C[p],n.children[p],T,p))},iL=(n,e,r)=>{n.type.mode===xu.Dense?Ak(n,e,r):Sk(n,e,r)},Ak=(n,e,r)=>{const C=n.type.typeIdToChildIndex[n.typeIds[e]],D=n.children[C];nc.visit(D,n.valueOffsets[e],r)},Sk=(n,e,r)=>{const C=n.type.typeIdToChildIndex[n.typeIds[e]],D=n.children[C];nc.visit(D,e,r)},aL=(n,e,r)=>{var C;(C=n.dictionary)===null||C===void 0||C.set(n.values[e],r)},oL=(n,e,r)=>{n.type.unit===Hf.DAY_TIME?Ck(n,e,r):Ek(n,e,r)},Ck=({values:n},e,r)=>{n.set(r.subarray(0,2),2*e)},Ek=({values:n},e,r)=>{n[e]=r[0]*12+r[1]%12},sL=(n,e,r)=>{const{stride:C}=n,D=n.children[0],T=nc.getVisitFn(D);if(Array.isArray(r))for(let p=-1,t=e*C;++p`${Cm(e)}: ${Cm(r)}`).join(", ")}}`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}[Symbol.iterator](){return new lL(this[Ec],this[Gp])}}class lL{constructor(e,r){this.childIndex=0,this.children=e.children,this.rowIndex=r,this.childFields=e.type.children,this.numChildren=this.childFields.length}[Symbol.iterator](){return this}next(){const e=this.childIndex;return er.name)}has(e,r){return e[Ec].type.children.findIndex(C=>C.name===r)!==-1}getOwnPropertyDescriptor(e,r){if(e[Ec].type.children.findIndex(C=>C.name===r)!==-1)return{writable:!0,enumerable:!0,configurable:!0}}get(e,r){if(Reflect.has(e,r))return e[r];const C=e[Ec].type.children.findIndex(D=>D.name===r);if(C!==-1){const D=Xl.visit(e[Ec].children[C],e[Gp]);return Reflect.set(e,r,D),D}}set(e,r,C){const D=e[Ec].type.children.findIndex(T=>T.name===r);return D!==-1?(nc.visit(e[Ec].children[D],e[Gp],C),Reflect.set(e,r,C)):Reflect.has(e,r)||typeof r=="symbol"?Reflect.set(e,r,C):!1}}class Ti extends aa{}function Ei(n){return(e,r)=>e.getValid(r)?n(e,r):null}const cL=(n,e)=>864e5*n[e],w2=(n,e)=>4294967296*n[e+1]+(n[e]>>>0),hL=(n,e)=>4294967296*(n[e+1]/1e3)+(n[e]>>>0)/1e3,fL=(n,e)=>4294967296*(n[e+1]/1e6)+(n[e]>>>0)/1e6,Lk=n=>new Date(n),dL=(n,e)=>Lk(cL(n,e)),pL=(n,e)=>Lk(w2(n,e)),mL=(n,e)=>null,Ik=(n,e,r)=>{if(r+1>=e.length)return null;const C=e[r],D=e[r+1];return n.subarray(C,D)},gL=({offset:n,values:e},r)=>{const C=n+r;return(e[C>>3]&1<dL(n,e),Pk=({values:n},e)=>pL(n,e*2),Kf=({stride:n,values:e},r)=>e[n*r],vL=({stride:n,values:e},r)=>dk(e[n*r]),Ok=({values:n},e)=>n[e],yL=({stride:n,values:e},r)=>e.subarray(n*r,n*(r+1)),bL=({values:n,valueOffsets:e},r)=>Ik(n,e,r),xL=({values:n,valueOffsets:e},r)=>{const C=Ik(n,e,r);return C!==null?jb(C):null},_L=({values:n},e)=>n[e],wL=({type:n,values:e},r)=>n.precision!==Yl.HALF?e[r]:dk(e[r]),TL=(n,e)=>n.type.unit===nf.DAY?Rk(n,e):Pk(n,e),Dk=({values:n},e)=>1e3*w2(n,e*2),zk=({values:n},e)=>w2(n,e*2),Fk=({values:n},e)=>hL(n,e*2),Bk=({values:n},e)=>fL(n,e*2),kL=(n,e)=>{switch(n.type.unit){case wa.SECOND:return Dk(n,e);case wa.MILLISECOND:return zk(n,e);case wa.MICROSECOND:return Fk(n,e);case wa.NANOSECOND:return Bk(n,e)}},Nk=({values:n},e)=>n[e],Vk=({values:n},e)=>n[e],jk=({values:n},e)=>n[e],Uk=({values:n},e)=>n[e],ML=(n,e)=>{switch(n.type.unit){case wa.SECOND:return Nk(n,e);case wa.MILLISECOND:return Vk(n,e);case wa.MICROSECOND:return jk(n,e);case wa.NANOSECOND:return Uk(n,e)}},AL=({values:n,stride:e},r)=>y2.decimal(n.subarray(e*r,e*(r+1))),SL=(n,e)=>{const{valueOffsets:r,stride:C,children:D}=n,{[e*C]:T,[e*C+1]:p}=r,d=D[0].slice(T,p-T);return new Ta([d])},CL=(n,e)=>{const{valueOffsets:r,children:C}=n,{[e]:D,[e+1]:T}=r,p=C[0];return new T2(p.slice(D,T-D))},EL=(n,e)=>new _2(n,e),LL=(n,e)=>n.type.mode===xu.Dense?Hk(n,e):Gk(n,e),Hk=(n,e)=>{const r=n.type.typeIdToChildIndex[n.typeIds[e]],C=n.children[r];return Xl.visit(C,n.valueOffsets[e])},Gk=(n,e)=>{const r=n.type.typeIdToChildIndex[n.typeIds[e]],C=n.children[r];return Xl.visit(C,e)},IL=(n,e)=>{var r;return(r=n.dictionary)===null||r===void 0?void 0:r.get(n.values[e])},RL=(n,e)=>n.type.unit===Hf.DAY_TIME?qk(n,e):Wk(n,e),qk=({values:n},e)=>n.subarray(2*e,2*(e+1)),Wk=({values:n},e)=>{const r=n[e],C=new Int32Array(2);return C[0]=Math.trunc(r/12),C[1]=Math.trunc(r%12),C},PL=(n,e)=>{const{stride:r,children:C}=n,T=C[0].slice(e*r,r);return new Ta([T])};Ti.prototype.visitNull=Ei(mL);Ti.prototype.visitBool=Ei(gL);Ti.prototype.visitInt=Ei(_L);Ti.prototype.visitInt8=Ei(Kf);Ti.prototype.visitInt16=Ei(Kf);Ti.prototype.visitInt32=Ei(Kf);Ti.prototype.visitInt64=Ei(Ok);Ti.prototype.visitUint8=Ei(Kf);Ti.prototype.visitUint16=Ei(Kf);Ti.prototype.visitUint32=Ei(Kf);Ti.prototype.visitUint64=Ei(Ok);Ti.prototype.visitFloat=Ei(wL);Ti.prototype.visitFloat16=Ei(vL);Ti.prototype.visitFloat32=Ei(Kf);Ti.prototype.visitFloat64=Ei(Kf);Ti.prototype.visitUtf8=Ei(xL);Ti.prototype.visitBinary=Ei(bL);Ti.prototype.visitFixedSizeBinary=Ei(yL);Ti.prototype.visitDate=Ei(TL);Ti.prototype.visitDateDay=Ei(Rk);Ti.prototype.visitDateMillisecond=Ei(Pk);Ti.prototype.visitTimestamp=Ei(kL);Ti.prototype.visitTimestampSecond=Ei(Dk);Ti.prototype.visitTimestampMillisecond=Ei(zk);Ti.prototype.visitTimestampMicrosecond=Ei(Fk);Ti.prototype.visitTimestampNanosecond=Ei(Bk);Ti.prototype.visitTime=Ei(ML);Ti.prototype.visitTimeSecond=Ei(Nk);Ti.prototype.visitTimeMillisecond=Ei(Vk);Ti.prototype.visitTimeMicrosecond=Ei(jk);Ti.prototype.visitTimeNanosecond=Ei(Uk);Ti.prototype.visitDecimal=Ei(AL);Ti.prototype.visitList=Ei(SL);Ti.prototype.visitStruct=Ei(EL);Ti.prototype.visitUnion=Ei(LL);Ti.prototype.visitDenseUnion=Ei(Hk);Ti.prototype.visitSparseUnion=Ei(Gk);Ti.prototype.visitDictionary=Ei(IL);Ti.prototype.visitInterval=Ei(RL);Ti.prototype.visitIntervalDayTime=Ei(qk);Ti.prototype.visitIntervalYearMonth=Ei(Wk);Ti.prototype.visitFixedSizeList=Ei(PL);Ti.prototype.visitMap=Ei(CL);const Xl=new Ti,lh=Symbol.for("keys"),qp=Symbol.for("vals");class T2{constructor(e){return this[lh]=new Ta([e.children[0]]).memoize(),this[qp]=e.children[1],new Proxy(this,new DL)}[Symbol.iterator](){return new OL(this[lh],this[qp])}get size(){return this[lh].length}toArray(){return Object.values(this.toJSON())}toJSON(){const e=this[lh],r=this[qp],C={};for(let D=-1,T=e.length;++D`${Cm(e)}: ${Cm(r)}`).join(", ")}}`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}}class OL{constructor(e,r){this.keys=e,this.vals=r,this.keyIndex=0,this.numKeys=e.length}[Symbol.iterator](){return this}next(){const e=this.keyIndex;return e===this.numKeys?{done:!0,value:null}:(this.keyIndex++,{done:!1,value:[this.keys.get(e),Xl.visit(this.vals,e)]})}}class DL{isExtensible(){return!1}deleteProperty(){return!1}preventExtensions(){return!0}ownKeys(e){return e[lh].toArray().map(String)}has(e,r){return e[lh].includes(r)}getOwnPropertyDescriptor(e,r){if(e[lh].indexOf(r)!==-1)return{writable:!0,enumerable:!0,configurable:!0}}get(e,r){if(Reflect.has(e,r))return e[r];const C=e[lh].indexOf(r);if(C!==-1){const D=Xl.visit(Reflect.get(e,qp),C);return Reflect.set(e,r,D),D}}set(e,r,C){const D=e[lh].indexOf(r);return D!==-1?(nc.visit(Reflect.get(e,qp),D,C),Reflect.set(e,r,C)):Reflect.has(e,r)?Reflect.set(e,r,C):!1}}Object.defineProperties(T2.prototype,{[Symbol.toStringTag]:{enumerable:!1,configurable:!1,value:"Row"},[lh]:{writable:!0,enumerable:!1,configurable:!1,value:null},[qp]:{writable:!0,enumerable:!1,configurable:!1,value:null}});let J3;function Yk(n,e,r,C){const{length:D=0}=n;let T=typeof e!="number"?0:e,p=typeof r!="number"?D:r;return T<0&&(T=(T%D+D)%D),p<0&&(p=(p%D+D)%D),pD&&(p=D),C?C(n,T,p):[T,p]}const Q3=n=>n!==n;function v0(n){if(typeof n!=="object"||n===null)return Q3(n)?Q3:r=>r===n;if(n instanceof Date){const r=n.valueOf();return C=>C instanceof Date?C.valueOf()===r:!1}return ArrayBuffer.isView(n)?r=>r?C9(n,r):!1:n instanceof Map?FL(n):Array.isArray(n)?zL(n):n instanceof Ta?BL(n):NL(n,!0)}function zL(n){const e=[];for(let r=-1,C=n.length;++r!1;const C=[];for(let D=-1,T=r.length;++D{if(!r||typeof r!="object")return!1;switch(r.constructor){case Array:return VL(n,r);case Map:return e5(n,r,r.keys());case T2:case _2:case Object:case void 0:return e5(n,r,e||Object.keys(r))}return r instanceof Ta?jL(n,r):!1}}function VL(n,e){const r=n.length;if(e.length!==r)return!1;for(let C=-1;++C>C}function k2(n,e,r){const C=r.byteLength+7&-8;if(n>0||r.byteLength>3):qv(new M2(r,n,e,null,$k)).subarray(0,C)),D}return r}function qv(n){const e=[];let r=0,C=0,D=0;for(const p of n)p&&(D|=1<0)&&(e[r++]=D);const T=new Uint8Array(e.length+7&-8);return T.set(e),T}class M2{constructor(e,r,C,D,T){this.bytes=e,this.length=C,this.context=D,this.get=T,this.bit=r%8,this.byteIndex=r>>3,this.byte=e[this.byteIndex++],this.index=0}next(){return this.index>3<<3,D=e+(e%8===0?0:8-e%8);return qb(n,e,D)+qb(n,C,r)+HL(n,D>>3,C-D>>3)}function HL(n,e,r){let C=0,D=Math.trunc(e);const T=new DataView(n.buffer,n.byteOffset,n.byteLength),p=r===void 0?n.byteLength:D+r;for(;p-D>=4;)C+=cb(T.getUint32(D)),D+=4;for(;p-D>=2;)C+=cb(T.getUint16(D)),D+=2;for(;p-D>=1;)C+=cb(T.getUint8(D)),D+=1;return C}function cb(n){let e=Math.trunc(n);return e=e-(e>>>1&1431655765),e=(e&858993459)+(e>>>2&858993459),(e+(e>>>4)&252645135)*16843009>>>24}const GL=-1;class Qa{constructor(e,r,C,D,T,p=[],t){this.type=e,this.children=p,this.dictionary=t,this.offset=Math.floor(Math.max(r||0,0)),this.length=Math.floor(Math.max(C||0,0)),this._nullCount=Math.floor(Math.max(D||0,-1));let d;T instanceof Qa?(this.stride=T.stride,this.values=T.values,this.typeIds=T.typeIds,this.nullBitmap=T.nullBitmap,this.valueOffsets=T.valueOffsets):(this.stride=Wh(e),T&&((d=T[0])&&(this.valueOffsets=d),(d=T[1])&&(this.values=d),(d=T[2])&&(this.nullBitmap=d),(d=T[3])&&(this.typeIds=d))),this.nullable=this._nullCount!==0&&this.nullBitmap&&this.nullBitmap.byteLength>0}get typeId(){return this.type.typeId}get ArrayType(){return this.type.ArrayType}get buffers(){return[this.valueOffsets,this.values,this.nullBitmap,this.typeIds]}get byteLength(){let e=0;const{valueOffsets:r,values:C,nullBitmap:D,typeIds:T}=this;return r&&(e+=r.byteLength),C&&(e+=C.byteLength),D&&(e+=D.byteLength),T&&(e+=T.byteLength),this.children.reduce((p,t)=>p+t.byteLength,e)}get nullCount(){let e=this._nullCount,r;return e<=GL&&(r=this.nullBitmap)&&(this._nullCount=e=this.length-qb(r,this.offset,this.offset+this.length)),e}getValid(e){if(this.nullable&&this.nullCount>0){const r=this.offset+e;return(this.nullBitmap[r>>3]&1<>3){const{nullBitmap:d}=this._changeLengthAndBackfillNullBitmap(this.length);Object.assign(this,{nullBitmap:d,_nullCount:0})}const{nullBitmap:C,offset:D}=this,T=D+e>>3,p=(D+e)%8,t=C[T]>>p&1;return r?t===0&&(C[T]|=1<>3).fill(255,0,r>>3);D[r>>3]=(1<0&&D.set(k2(this.offset,r,this.nullBitmap),0);const T=this.buffers;return T[qh.VALIDITY]=D,this.clone(this.type,0,e,C+(e-r),T)}_sliceBuffers(e,r,C,D){let T;const{buffers:p}=this;return(T=p[qh.TYPE])&&(p[qh.TYPE]=T.subarray(e,e+r)),(T=p[qh.OFFSET])&&(p[qh.OFFSET]=T.subarray(e,e+r+1))||(T=p[qh.DATA])&&(p[qh.DATA]=D===6?T:T.subarray(C*e,C*(e+r))),p}_sliceChildren(e,r,C){return e.map(D=>D.slice(r,C))}}Qa.prototype.children=Object.freeze([]);class mm extends aa{visit(e){return this.getVisitFn(e.type).call(this,e)}visitNull(e){const{["type"]:r,["offset"]:C=0,["length"]:D=0}=e;return new Qa(r,C,D,0)}visitBool(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length>>3,["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,p,t,[void 0,T,D])}visitInt(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length,["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,p,t,[void 0,T,D])}visitFloat(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length,["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,p,t,[void 0,T,D])}visitUtf8(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.data),T=_a(e.nullBitmap),p=rm(e.valueOffsets),{["length"]:t=p.length-1,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,C,t,d,[p,D,T])}visitBinary(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.data),T=_a(e.nullBitmap),p=rm(e.valueOffsets),{["length"]:t=p.length-1,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,C,t,d,[p,D,T])}visitFixedSizeBinary(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,p,t,[void 0,T,D])}visitDate(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,p,t,[void 0,T,D])}visitTimestamp(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,p,t,[void 0,T,D])}visitTime(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,p,t,[void 0,T,D])}visitDecimal(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,p,t,[void 0,T,D])}visitList(e){const{["type"]:r,["offset"]:C=0,["child"]:D}=e,T=_a(e.nullBitmap),p=rm(e.valueOffsets),{["length"]:t=p.length-1,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,C,t,d,[p,void 0,T],[D])}visitStruct(e){const{["type"]:r,["offset"]:C=0,["children"]:D=[]}=e,T=_a(e.nullBitmap),{length:p=D.reduce((d,{length:g})=>Math.max(d,g),0),nullCount:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,p,t,[void 0,void 0,T],D)}visitUnion(e){const{["type"]:r,["offset"]:C=0,["children"]:D=[]}=e,T=_a(e.nullBitmap),p=qa(r.ArrayType,e.typeIds),{["length"]:t=p.length,["nullCount"]:d=e.nullBitmap?-1:0}=e;if(_i.isSparseUnion(r))return new Qa(r,C,t,d,[void 0,void 0,T,p],D);const g=rm(e.valueOffsets);return new Qa(r,C,t,d,[g,void 0,T,p],D)}visitDictionary(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),T=qa(r.indices.ArrayType,e.data),{["dictionary"]:p=new Ta([new mm().visit({type:r.dictionary})])}=e,{["length"]:t=T.length,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,C,t,d,[void 0,T,D],[],p)}visitInterval(e){const{["type"]:r,["offset"]:C=0}=e,D=_a(e.nullBitmap),T=qa(r.ArrayType,e.data),{["length"]:p=T.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,p,t,[void 0,T,D])}visitFixedSizeList(e){const{["type"]:r,["offset"]:C=0,["child"]:D=new mm().visit({type:r.valueType})}=e,T=_a(e.nullBitmap),{["length"]:p=D.length/Wh(r),["nullCount"]:t=e.nullBitmap?-1:0}=e;return new Qa(r,C,p,t,[void 0,void 0,T],[D])}visitMap(e){const{["type"]:r,["offset"]:C=0,["child"]:D=new mm().visit({type:r.childType})}=e,T=_a(e.nullBitmap),p=rm(e.valueOffsets),{["length"]:t=p.length-1,["nullCount"]:d=e.nullBitmap?-1:0}=e;return new Qa(r,C,t,d,[p,void 0,T],[D])}}function ra(n){return new mm().visit(n)}class t5{constructor(e=0,r){this.numChunks=e,this.getChunkIterator=r,this.chunkIndex=0,this.chunkIterator=this.getChunkIterator(0)}next(){for(;this.chunkIndexe+r.nullCount,0)}function Xk(n){return n.reduce((e,r,C)=>(e[C+1]=e[C]+r.length,e),new Uint32Array(n.length+1))}function Kk(n,e,r,C){const D=[];for(let T=-1,p=n.length;++T=C)break;if(r>=d+g)continue;if(d>=r&&d+g<=C){D.push(t);continue}const i=Math.max(0,r-d),M=Math.min(C-d,g);D.push(t.slice(i,M-i))}return D.length===0&&D.push(n[0].slice(0,0)),D}function A2(n,e,r,C){let D=0,T=0,p=e.length-1;do{if(D>=p-1)return r0?0:-1}function WL(n,e){const{nullBitmap:r}=n;if(!r||n.nullCount<=0)return-1;let C=0;for(const D of new M2(r,n.offset+(e||0),n.length,r,$k)){if(!D)return C;++C}return-1}function Vi(n,e,r){if(e===void 0)return-1;if(e===null)return WL(n,r);const C=Xl.getVisitFn(n),D=v0(e);for(let T=(r||0)-1,p=n.length;++T{const D=n.data[C];return D.values.subarray(0,D.length)[Symbol.iterator]()});let r=0;return new t5(n.data.length,C=>{const T=n.data[C].length,p=n.slice(r,r+T);return r+=T,new YL(p)})}class YL{constructor(e){this.vector=e,this.index=0}next(){return this.indexn+e;class Jf extends aa{visitNull(e,r){return 0}visitInt(e,r){return e.type.bitWidth/8}visitFloat(e,r){return e.type.ArrayType.BYTES_PER_ELEMENT}visitBool(e,r){return 1/8}visitDecimal(e,r){return e.type.bitWidth/8}visitDate(e,r){return(e.type.unit+1)*4}visitTime(e,r){return e.type.bitWidth/8}visitTimestamp(e,r){return e.type.unit===wa.SECOND?4:8}visitInterval(e,r){return(e.type.unit+1)*4}visitStruct(e,r){return e.children.reduce((C,D)=>C+_h.visit(D,r),0)}visitFixedSizeBinary(e,r){return e.type.byteWidth}visitMap(e,r){return 8+e.children.reduce((C,D)=>C+_h.visit(D,r),0)}visitDictionary(e,r){var C;return e.type.indices.bitWidth/8+(((C=e.dictionary)===null||C===void 0?void 0:C.getByteLength(e.values[r]))||0)}}const ZL=({valueOffsets:n},e)=>8+(n[e+1]-n[e]),XL=({valueOffsets:n},e)=>8+(n[e+1]-n[e]),KL=({valueOffsets:n,stride:e,children:r},C)=>{const D=r[0],{[C*e]:T}=n,{[C*e+1]:p}=n,t=_h.getVisitFn(D.type),d=D.slice(T,p-T);let g=8;for(let i=-1,M=p-T;++i{const C=e[0],D=C.slice(r*n,n),T=_h.getVisitFn(C.type);let p=0;for(let t=-1,d=D.length;++tn.type.mode===xu.Dense?tM(n,e):nM(n,e),tM=({type:n,children:e,typeIds:r,valueOffsets:C},D)=>{const T=n.typeIdToChildIndex[r[D]];return 8+_h.visit(e[T],C[D])},nM=({children:n},e)=>4+_h.visitMany(n,n.map(()=>e)).reduce($L,0);Jf.prototype.visitUtf8=ZL;Jf.prototype.visitBinary=XL;Jf.prototype.visitList=KL;Jf.prototype.visitFixedSizeList=JL;Jf.prototype.visitUnion=QL;Jf.prototype.visitDenseUnion=tM;Jf.prototype.visitSparseUnion=nM;const _h=new Jf;var rM;const iM={},aM={};class Ta{constructor(e){var r,C,D;const T=e[0]instanceof Ta?e.flatMap(t=>t.data):e;if(T.length===0||T.some(t=>!(t instanceof Qa)))throw new TypeError("Vector constructor expects an Array of Data instances.");const p=(r=T[0])===null||r===void 0?void 0:r.type;switch(T.length){case 0:this._offsets=[0];break;case 1:{const{get:t,set:d,indexOf:g,byteLength:i}=iM[p.typeId],M=T[0];this.isValid=v=>S2(M,v),this.get=v=>t(M,v),this.set=(v,f)=>d(M,v,f),this.indexOf=v=>g(M,v),this.getByteLength=v=>i(M,v),this._offsets=[0,M.length];break}default:Object.setPrototypeOf(this,aM[p.typeId]),this._offsets=Xk(T);break}this.data=T,this.type=p,this.stride=Wh(p),this.numChildren=(D=(C=p.children)===null||C===void 0?void 0:C.length)!==null&&D!==void 0?D:0,this.length=this._offsets[this._offsets.length-1]}get byteLength(){return this._byteLength===-1&&(this._byteLength=this.data.reduce((e,r)=>e+r.byteLength,0)),this._byteLength}get nullCount(){return this._nullCount===-1&&(this._nullCount=Zk(this.data)),this._nullCount}get ArrayType(){return this.type.ArrayType}get[Symbol.toStringTag](){return`${this.VectorName}<${this.type[Symbol.toStringTag]}>`}get VectorName(){return`${Jn[this.type.typeId]}Vector`}isValid(e){return!1}get(e){return null}set(e,r){}indexOf(e,r){return-1}includes(e,r){return this.indexOf(e,r)>0}getByteLength(e){return 0}[Symbol.iterator](){return C2.visit(this)}concat(...e){return new Ta(this.data.concat(e.flatMap(r=>r.data).flat(Number.POSITIVE_INFINITY)))}slice(e,r){return new Ta(Yk(this,e,r,({data:C,_offsets:D},T,p)=>Kk(C,D,T,p)))}toJSON(){return[...this]}toArray(){const{type:e,data:r,length:C,stride:D,ArrayType:T}=this;switch(e.typeId){case Jn.Int:case Jn.Float:case Jn.Decimal:case Jn.Time:case Jn.Timestamp:switch(r.length){case 0:return new T;case 1:return r[0].values.subarray(0,C*D);default:return r.reduce((p,{values:t,length:d})=>(p.array.set(t.subarray(0,d*D),p.offset),p.offset+=d*D,p),{array:new T(C*D),offset:0}).array}}return[...this]}toString(){return`[${[...this].join(",")}]`}getChild(e){var r;return this.getChildAt((r=this.type.children)===null||r===void 0?void 0:r.findIndex(C=>C.name===e))}getChildAt(e){return e>-1&&er[e])):null}get isMemoized(){return _i.isDictionary(this.type)?this.data[0].dictionary.isMemoized:!1}memoize(){if(_i.isDictionary(this.type)){const e=new Yv(this.data[0].dictionary),r=this.data.map(C=>{const D=C.clone();return D.dictionary=e,D});return new Ta(r)}return new Yv(this)}unmemoize(){if(_i.isDictionary(this.type)&&this.isMemoized){const e=this.data[0].dictionary.unmemoize(),r=this.data.map(C=>{const D=C.clone();return D.dictionary=e,D});return new Ta(r)}return this}}rM=Symbol.toStringTag;Ta[rM]=(n=>{n.type=_i.prototype,n.data=[],n.length=0,n.stride=1,n.numChildren=0,n._nullCount=-1,n._byteLength=-1,n._offsets=new Uint32Array([0]),n[Symbol.isConcatSpreadable]=!0;const e=Object.keys(Jn).map(r=>Jn[r]).filter(r=>typeof r=="number"&&r!==Jn.NONE);for(const r of e){const C=Xl.getVisitFnByTypeId(r),D=nc.getVisitFnByTypeId(r),T=Wv.getVisitFnByTypeId(r),p=_h.getVisitFnByTypeId(r);iM[r]={get:C,set:D,indexOf:T,byteLength:p},aM[r]=Object.create(n,{isValid:{value:Wp(S2)},get:{value:Wp(Xl.getVisitFnByTypeId(r))},set:{value:Jk(nc.getVisitFnByTypeId(r))},indexOf:{value:Qk(Wv.getVisitFnByTypeId(r))},getByteLength:{value:Wp(_h.getVisitFnByTypeId(r))}})}return"Vector"})(Ta.prototype);class Yv extends Ta{constructor(e){super(e.data);const r=this.get,C=this.set,D=this.slice,T=new Array(this.length);Object.defineProperty(this,"get",{value(p){const t=T[p];if(t!==void 0)return t;const d=r.call(this,p);return T[p]=d,d}}),Object.defineProperty(this,"set",{value(p,t){C.call(this,p,t),T[p]=t}}),Object.defineProperty(this,"slice",{value:(p,t)=>new Yv(D.call(this,p,t))}),Object.defineProperty(this,"isMemoized",{value:!0}),Object.defineProperty(this,"unmemoize",{value:()=>new Ta(this.data)}),Object.defineProperty(this,"memoize",{value:()=>this})}}class Wb{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}offset(){return this.bb.readInt64(this.bb_pos)}metaDataLength(){return this.bb.readInt32(this.bb_pos+8)}bodyLength(){return this.bb.readInt64(this.bb_pos+16)}static sizeOf(){return 24}static createBlock(e,r,C,D){return e.prep(8,24),e.writeInt64(D),e.pad(4),e.writeInt32(C),e.writeInt64(r),e.offset()}}const hb=2,uh=4,$h=4,Wa=4,Pf=new Int32Array(2),n5=new Float32Array(Pf.buffer),r5=new Float64Array(Pf.buffer),av=new Uint16Array(new Uint8Array([1,0]).buffer)[0]===1;let Jh=class Yb{constructor(e,r){this.low=e|0,this.high=r|0}static create(e,r){return e==0&&r==0?Yb.ZERO:new Yb(e,r)}toFloat64(){return(this.low>>>0)+this.high*4294967296}equals(e){return this.low==e.low&&this.high==e.high}};Jh.ZERO=new Jh(0,0);var $b;(function(n){n[n.UTF8_BYTES=1]="UTF8_BYTES",n[n.UTF16_STRING=2]="UTF16_STRING"})($b||($b={}));let Jp=class oM{constructor(e){this.bytes_=e,this.position_=0}static allocate(e){return new oM(new Uint8Array(e))}clear(){this.position_=0}bytes(){return this.bytes_}position(){return this.position_}setPosition(e){this.position_=e}capacity(){return this.bytes_.length}readInt8(e){return this.readUint8(e)<<24>>24}readUint8(e){return this.bytes_[e]}readInt16(e){return this.readUint16(e)<<16>>16}readUint16(e){return this.bytes_[e]|this.bytes_[e+1]<<8}readInt32(e){return this.bytes_[e]|this.bytes_[e+1]<<8|this.bytes_[e+2]<<16|this.bytes_[e+3]<<24}readUint32(e){return this.readInt32(e)>>>0}readInt64(e){return new Jh(this.readInt32(e),this.readInt32(e+4))}readUint64(e){return new Jh(this.readUint32(e),this.readUint32(e+4))}readFloat32(e){return Pf[0]=this.readInt32(e),n5[0]}readFloat64(e){return Pf[av?0:1]=this.readInt32(e),Pf[av?1:0]=this.readInt32(e+4),r5[0]}writeInt8(e,r){this.bytes_[e]=r}writeUint8(e,r){this.bytes_[e]=r}writeInt16(e,r){this.bytes_[e]=r,this.bytes_[e+1]=r>>8}writeUint16(e,r){this.bytes_[e]=r,this.bytes_[e+1]=r>>8}writeInt32(e,r){this.bytes_[e]=r,this.bytes_[e+1]=r>>8,this.bytes_[e+2]=r>>16,this.bytes_[e+3]=r>>24}writeUint32(e,r){this.bytes_[e]=r,this.bytes_[e+1]=r>>8,this.bytes_[e+2]=r>>16,this.bytes_[e+3]=r>>24}writeInt64(e,r){this.writeInt32(e,r.low),this.writeInt32(e+4,r.high)}writeUint64(e,r){this.writeUint32(e,r.low),this.writeUint32(e+4,r.high)}writeFloat32(e,r){n5[0]=r,this.writeInt32(e,Pf[0])}writeFloat64(e,r){r5[0]=r,this.writeInt32(e,Pf[av?0:1]),this.writeInt32(e+4,Pf[av?1:0])}getBufferIdentifier(){if(this.bytes_.length>10)+55296,(p&1024-1)+56320))}return D}__union_with_string(e,r){return typeof e=="string"?this.__string(r):this.__union(e,r)}__indirect(e){return e+this.readInt32(e)}__vector(e){return e+this.readInt32(e)+uh}__vector_len(e){return this.readInt32(e+this.readInt32(e))}__has_identifier(e){if(e.length!=$h)throw new Error("FlatBuffers: file identifier must be length "+$h);for(let r=0;r<$h;r++)if(e.charCodeAt(r)!=this.readInt8(this.position()+uh+r))return!1;return!0}createLong(e,r){return Jh.create(e,r)}createScalarList(e,r){const C=[];for(let D=0;Dthis.minalign&&(this.minalign=e);const C=~(this.bb.capacity()-this.space+r)+1&e-1;for(;this.space=0&&this.vtable[r]==0;r--);const C=r+1;for(;r>=0;r--)this.addInt16(this.vtable[r]!=0?e-this.vtable[r]:0);const D=2;this.addInt16(e-this.object_start);const T=(C+D)*hb;this.addInt16(T);let p=0;const t=this.space;e:for(r=0;r=0;p--)this.writeInt8(T.charCodeAt(p))}this.prep(this.minalign,uh+D),this.addOffset(e),D&&this.addInt32(this.bb.capacity()-this.space),this.bb.setPosition(this.space)}finishSizePrefixed(e,r){this.finish(e,r,!0)}requiredField(e,r){const C=this.bb.capacity()-e,D=C-this.bb.readInt32(C);if(!(this.bb.readInt16(D+r)!=0))throw new Error("FlatBuffers: field "+r+" must be set")}startVector(e,r,C){this.notNested(),this.vector_num_elems=r,this.prep(uh,e*r),this.prep(C,e*r)}endVector(){return this.writeInt32(this.vector_num_elems),this.offset()}createSharedString(e){if(!e)return 0;if(this.string_maps||(this.string_maps=new Map),this.string_maps.has(e))return this.string_maps.get(e);const r=this.createString(e);return this.string_maps.set(e,r),r}createString(e){if(!e)return 0;let r;if(e instanceof Uint8Array)r=e;else{r=[];let C=0;for(;C=56320)D=T;else{const p=e.charCodeAt(C++);D=(T<<10)+p+(65536-56623104-56320)}D<128?r.push(D):(D<2048?r.push(D>>6&31|192):(D<65536?r.push(D>>12&15|224):r.push(D>>18&7|240,D>>12&63|128),r.push(D>>6&63|128)),r.push(D&63|128))}}this.addInt8(0),this.startVector(1,r.length,1),this.bb.setPosition(this.space-=r.length);for(let C=0,D=this.space,T=this.bb.bytes();C=0;C--)e.addInt32(r[C]);return e.endVector()}static startTypeIdsVector(e,r){e.startVector(4,r,4)}static endUnion(e){return e.endObject()}static createUnion(e,r,C){return Gl.startUnion(e),Gl.addMode(e,r),Gl.addTypeIds(e,C),Gl.endUnion(e)}}class Pd{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsUtf8(e,r){return(r||new Pd).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsUtf8(e,r){return e.setPosition(e.position()+Wa),(r||new Pd).__init(e.readInt32(e.position())+e.position(),e)}static startUtf8(e){e.startObject(0)}static endUtf8(e){return e.endObject()}static createUtf8(e){return Pd.startUtf8(e),Pd.endUtf8(e)}}var Ao;(function(n){n[n.NONE=0]="NONE",n[n.Null=1]="Null",n[n.Int=2]="Int",n[n.FloatingPoint=3]="FloatingPoint",n[n.Binary=4]="Binary",n[n.Utf8=5]="Utf8",n[n.Bool=6]="Bool",n[n.Decimal=7]="Decimal",n[n.Date=8]="Date",n[n.Time=9]="Time",n[n.Timestamp=10]="Timestamp",n[n.Interval=11]="Interval",n[n.List=12]="List",n[n.Struct_=13]="Struct_",n[n.Union=14]="Union",n[n.FixedSizeBinary=15]="FixedSizeBinary",n[n.FixedSizeList=16]="FixedSizeList",n[n.Map=17]="Map",n[n.Duration=18]="Duration",n[n.LargeBinary=19]="LargeBinary",n[n.LargeUtf8=20]="LargeUtf8",n[n.LargeList=21]="LargeList"})(Ao||(Ao={}));let qu=class yv{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsField(e,r){return(r||new yv).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsField(e,r){return e.setPosition(e.position()+Wa),(r||new yv).__init(e.readInt32(e.position())+e.position(),e)}name(e){const r=this.bb.__offset(this.bb_pos,4);return r?this.bb.__string(this.bb_pos+r,e):null}nullable(){const e=this.bb.__offset(this.bb_pos,6);return e?!!this.bb.readInt8(this.bb_pos+e):!1}typeType(){const e=this.bb.__offset(this.bb_pos,8);return e?this.bb.readUint8(this.bb_pos+e):Ao.NONE}type(e){const r=this.bb.__offset(this.bb_pos,10);return r?this.bb.__union(e,this.bb_pos+r):null}dictionary(e){const r=this.bb.__offset(this.bb_pos,12);return r?(e||new Zh).__init(this.bb.__indirect(this.bb_pos+r),this.bb):null}children(e,r){const C=this.bb.__offset(this.bb_pos,14);return C?(r||new yv).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+C)+e*4),this.bb):null}childrenLength(){const e=this.bb.__offset(this.bb_pos,14);return e?this.bb.__vector_len(this.bb_pos+e):0}customMetadata(e,r){const C=this.bb.__offset(this.bb_pos,16);return C?(r||new cs).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+C)+e*4),this.bb):null}customMetadataLength(){const e=this.bb.__offset(this.bb_pos,16);return e?this.bb.__vector_len(this.bb_pos+e):0}static startField(e){e.startObject(7)}static addName(e,r){e.addFieldOffset(0,r,0)}static addNullable(e,r){e.addFieldInt8(1,+r,0)}static addTypeType(e,r){e.addFieldInt8(2,r,Ao.NONE)}static addType(e,r){e.addFieldOffset(3,r,0)}static addDictionary(e,r){e.addFieldOffset(4,r,0)}static addChildren(e,r){e.addFieldOffset(5,r,0)}static createChildrenVector(e,r){e.startVector(4,r.length,4);for(let C=r.length-1;C>=0;C--)e.addOffset(r[C]);return e.endVector()}static startChildrenVector(e,r){e.startVector(4,r,4)}static addCustomMetadata(e,r){e.addFieldOffset(6,r,0)}static createCustomMetadataVector(e,r){e.startVector(4,r.length,4);for(let C=r.length-1;C>=0;C--)e.addOffset(r[C]);return e.endVector()}static startCustomMetadataVector(e,r){e.startVector(4,r,4)}static endField(e){return e.endObject()}},ih=class Hh{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsSchema(e,r){return(r||new Hh).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsSchema(e,r){return e.setPosition(e.position()+Wa),(r||new Hh).__init(e.readInt32(e.position())+e.position(),e)}endianness(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):e0.Little}fields(e,r){const C=this.bb.__offset(this.bb_pos,6);return C?(r||new qu).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+C)+e*4),this.bb):null}fieldsLength(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.__vector_len(this.bb_pos+e):0}customMetadata(e,r){const C=this.bb.__offset(this.bb_pos,8);return C?(r||new cs).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+C)+e*4),this.bb):null}customMetadataLength(){const e=this.bb.__offset(this.bb_pos,8);return e?this.bb.__vector_len(this.bb_pos+e):0}features(e){const r=this.bb.__offset(this.bb_pos,10);return r?this.bb.readInt64(this.bb.__vector(this.bb_pos+r)+e*8):this.bb.createLong(0,0)}featuresLength(){const e=this.bb.__offset(this.bb_pos,10);return e?this.bb.__vector_len(this.bb_pos+e):0}static startSchema(e){e.startObject(4)}static addEndianness(e,r){e.addFieldInt16(0,r,e0.Little)}static addFields(e,r){e.addFieldOffset(1,r,0)}static createFieldsVector(e,r){e.startVector(4,r.length,4);for(let C=r.length-1;C>=0;C--)e.addOffset(r[C]);return e.endVector()}static startFieldsVector(e,r){e.startVector(4,r,4)}static addCustomMetadata(e,r){e.addFieldOffset(2,r,0)}static createCustomMetadataVector(e,r){e.startVector(4,r.length,4);for(let C=r.length-1;C>=0;C--)e.addOffset(r[C]);return e.endVector()}static startCustomMetadataVector(e,r){e.startVector(4,r,4)}static addFeatures(e,r){e.addFieldOffset(3,r,0)}static createFeaturesVector(e,r){e.startVector(8,r.length,8);for(let C=r.length-1;C>=0;C--)e.addInt64(r[C]);return e.endVector()}static startFeaturesVector(e,r){e.startVector(8,r,8)}static endSchema(e){return e.endObject()}static finishSchemaBuffer(e,r){e.finish(r)}static finishSizePrefixedSchemaBuffer(e,r){e.finish(r,void 0,!0)}static createSchema(e,r,C,D,T){return Hh.startSchema(e),Hh.addEndianness(e,r),Hh.addFields(e,C),Hh.addCustomMetadata(e,D),Hh.addFeatures(e,T),Hh.endSchema(e)}};class fu{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsFooter(e,r){return(r||new fu).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsFooter(e,r){return e.setPosition(e.position()+Wa),(r||new fu).__init(e.readInt32(e.position())+e.position(),e)}version(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):Qp.V1}schema(e){const r=this.bb.__offset(this.bb_pos,6);return r?(e||new ih).__init(this.bb.__indirect(this.bb_pos+r),this.bb):null}dictionaries(e,r){const C=this.bb.__offset(this.bb_pos,8);return C?(r||new Wb).__init(this.bb.__vector(this.bb_pos+C)+e*24,this.bb):null}dictionariesLength(){const e=this.bb.__offset(this.bb_pos,8);return e?this.bb.__vector_len(this.bb_pos+e):0}recordBatches(e,r){const C=this.bb.__offset(this.bb_pos,10);return C?(r||new Wb).__init(this.bb.__vector(this.bb_pos+C)+e*24,this.bb):null}recordBatchesLength(){const e=this.bb.__offset(this.bb_pos,10);return e?this.bb.__vector_len(this.bb_pos+e):0}customMetadata(e,r){const C=this.bb.__offset(this.bb_pos,12);return C?(r||new cs).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+C)+e*4),this.bb):null}customMetadataLength(){const e=this.bb.__offset(this.bb_pos,12);return e?this.bb.__vector_len(this.bb_pos+e):0}static startFooter(e){e.startObject(5)}static addVersion(e,r){e.addFieldInt16(0,r,Qp.V1)}static addSchema(e,r){e.addFieldOffset(1,r,0)}static addDictionaries(e,r){e.addFieldOffset(2,r,0)}static startDictionariesVector(e,r){e.startVector(24,r,8)}static addRecordBatches(e,r){e.addFieldOffset(3,r,0)}static startRecordBatchesVector(e,r){e.startVector(24,r,8)}static addCustomMetadata(e,r){e.addFieldOffset(4,r,0)}static createCustomMetadataVector(e,r){e.startVector(4,r.length,4);for(let C=r.length-1;C>=0;C--)e.addOffset(r[C]);return e.endVector()}static startCustomMetadataVector(e,r){e.startVector(4,r,4)}static endFooter(e){return e.endObject()}static finishFooterBuffer(e,r){e.finish(r)}static finishSizePrefixedFooterBuffer(e,r){e.finish(r,void 0,!0)}}class Ea{constructor(e=[],r,C){this.fields=e||[],this.metadata=r||new Map,C||(C=Zb(e)),this.dictionaries=C}get[Symbol.toStringTag](){return"Schema"}get names(){return this.fields.map(e=>e.name)}toString(){return`Schema<{ ${this.fields.map((e,r)=>`${r}: ${e}`).join(", ")} }>`}select(e){const r=new Set(e),C=this.fields.filter(D=>r.has(D.name));return new Ea(C,this.metadata)}selectAt(e){const r=e.map(C=>this.fields[C]).filter(Boolean);return new Ea(r,this.metadata)}assign(...e){const r=e[0]instanceof Ea?e[0]:Array.isArray(e[0])?new Ea(e[0]):new Ea(e),C=[...this.fields],D=ov(ov(new Map,this.metadata),r.metadata),T=r.fields.filter(t=>{const d=C.findIndex(g=>g.name===t.name);return~d?(C[d]=t.clone({metadata:ov(ov(new Map,C[d].metadata),t.metadata)}))&&!1:!0}),p=Zb(T,new Map);return new Ea([...C,...T],D,new Map([...this.dictionaries,...p]))}}Ea.prototype.fields=null;Ea.prototype.metadata=null;Ea.prototype.dictionaries=null;class ao{constructor(e,r,C=!1,D){this.name=e,this.type=r,this.nullable=C,this.metadata=D||new Map}static new(...e){let[r,C,D,T]=e;return e[0]&&typeof e[0]=="object"&&({name:r}=e[0],C===void 0&&(C=e[0].type),D===void 0&&(D=e[0].nullable),T===void 0&&(T=e[0].metadata)),new ao(`${r}`,C,D,T)}get typeId(){return this.type.typeId}get[Symbol.toStringTag](){return"Field"}toString(){return`${this.name}: ${this.type}`}clone(...e){let[r,C,D,T]=e;return!e[0]||typeof e[0]!="object"?[r=this.name,C=this.type,D=this.nullable,T=this.metadata]=e:{name:r=this.name,type:C=this.type,nullable:D=this.nullable,metadata:T=this.metadata}=e[0],ao.new(r,C,D,T)}}ao.prototype.type=null;ao.prototype.name=null;ao.prototype.nullable=null;ao.prototype.metadata=null;function ov(n,e){return new Map([...n||new Map,...e||new Map])}function Zb(n,e=new Map){for(let r=-1,C=n.length;++r0&&Zb(T.children,e)}return e}var i5=Jh,eI=sM,tI=Jp;class Pm{constructor(e,r=gu.V4,C,D){this.schema=e,this.version=r,C&&(this._recordBatches=C),D&&(this._dictionaryBatches=D)}static decode(e){e=new tI(_a(e));const r=fu.getRootAsFooter(e),C=Ea.decode(r.schema());return new nI(C,r)}static encode(e){const r=new eI,C=Ea.encode(r,e.schema);fu.startRecordBatchesVector(r,e.numRecordBatches);for(const p of[...e.recordBatches()].slice().reverse())Wf.encode(r,p);const D=r.endVector();fu.startDictionariesVector(r,e.numDictionaries);for(const p of[...e.dictionaryBatches()].slice().reverse())Wf.encode(r,p);const T=r.endVector();return fu.startFooter(r),fu.addSchema(r,C),fu.addVersion(r,gu.V4),fu.addRecordBatches(r,D),fu.addDictionaries(r,T),fu.finishFooterBuffer(r,fu.endFooter(r)),r.asUint8Array()}get numRecordBatches(){return this._recordBatches.length}get numDictionaries(){return this._dictionaryBatches.length}*recordBatches(){for(let e,r=-1,C=this.numRecordBatches;++r=0&&e=0&&e=0&&e=0&&ethis._closedPromiseResolve=e)}get closed(){return this._closedPromise}cancel(e){return yi(this,void 0,void 0,function*(){yield this.return(e)})}write(e){this._ensureOpen()&&(this.resolvers.length<=0?this._values.push(e):this.resolvers.shift().resolve({done:!1,value:e}))}abort(e){this._closedPromiseResolve&&(this.resolvers.length<=0?this._error={error:e}:this.resolvers.shift().reject({done:!0,value:e}))}close(){if(this._closedPromiseResolve){const{resolvers:e}=this;for(;e.length>0;)e.shift().resolve(So);this._closedPromiseResolve(),this._closedPromiseResolve=void 0}}[Symbol.asyncIterator](){return this}toDOMStream(e){return $u.toDOMStream(this._closedPromiseResolve||this._error?this:this._values,e)}toNodeStream(e){return $u.toNodeStream(this._closedPromiseResolve||this._error?this:this._values,e)}throw(e){return yi(this,void 0,void 0,function*(){return yield this.abort(e),So})}return(e){return yi(this,void 0,void 0,function*(){return yield this.close(),So})}read(e){return yi(this,void 0,void 0,function*(){return(yield this.next(e,"read")).value})}peek(e){return yi(this,void 0,void 0,function*(){return(yield this.next(e,"peek")).value})}next(...e){return this._values.length>0?Promise.resolve({done:!1,value:this._values.shift()}):this._error?Promise.reject({done:!0,value:this._error.error}):this._closedPromiseResolve?new Promise((r,C)=>{this.resolvers.push({resolve:r,reject:C})}):Promise.resolve(So)}_ensureOpen(){if(this._closedPromiseResolve)return!0;throw new Error("AsyncQueue is closed")}}class bv extends rI{write(e){if((e=_a(e)).byteLength>0)return super.write(e)}toString(e=!1){return e?jb(this.toUint8Array(!0)):this.toUint8Array(!1).then(jb)}toUint8Array(e=!1){return e?xh(this._values)[0]:(()=>yi(this,void 0,void 0,function*(){var r,C;const D=[];let T=0;try{for(var p=Nd(this),t;t=yield p.next(),!t.done;){const d=t.value;D.push(d),T+=d.byteLength}}catch(d){r={error:d}}finally{try{t&&!t.done&&(C=p.return)&&(yield C.call(p))}finally{if(r)throw r.error}}return xh(D,T)[0]}))()}}class Qv{constructor(e){e&&(this.source=new iI($u.fromIterable(e)))}[Symbol.iterator](){return this}next(e){return this.source.next(e)}throw(e){return this.source.throw(e)}return(e){return this.source.return(e)}peek(e){return this.source.peek(e)}read(e){return this.source.read(e)}}class n0{constructor(e){e instanceof n0?this.source=e.source:e instanceof bv?this.source=new xd($u.fromAsyncIterable(e)):G4(e)?this.source=new xd($u.fromNodeStream(e)):m2(e)?this.source=new xd($u.fromDOMStream(e)):H4(e)?this.source=new xd($u.fromDOMStream(e.body)):Zm(e)?this.source=new xd($u.fromIterable(e)):Uf(e)?this.source=new xd($u.fromAsyncIterable(e)):g0(e)&&(this.source=new xd($u.fromAsyncIterable(e)))}[Symbol.asyncIterator](){return this}next(e){return this.source.next(e)}throw(e){return this.source.throw(e)}return(e){return this.source.return(e)}get closed(){return this.source.closed}cancel(e){return this.source.cancel(e)}peek(e){return this.source.peek(e)}read(e){return this.source.read(e)}}class iI{constructor(e){this.source=e}cancel(e){this.return(e)}peek(e){return this.next(e,"peek").value}read(e){return this.next(e,"read").value}next(e,r="read"){return this.source.next({cmd:r,size:e})}throw(e){return Object.create(this.source.throw&&this.source.throw(e)||So)}return(e){return Object.create(this.source.return&&this.source.return(e)||So)}}class xd{constructor(e){this.source=e,this._closedPromise=new Promise(r=>this._closedPromiseResolve=r)}cancel(e){return yi(this,void 0,void 0,function*(){yield this.return(e)})}get closed(){return this._closedPromise}read(e){return yi(this,void 0,void 0,function*(){return(yield this.next(e,"read")).value})}peek(e){return yi(this,void 0,void 0,function*(){return(yield this.next(e,"peek")).value})}next(e,r="read"){return yi(this,void 0,void 0,function*(){return yield this.source.next({cmd:r,size:e})})}throw(e){return yi(this,void 0,void 0,function*(){const r=this.source.throw&&(yield this.source.throw(e))||So;return this._closedPromiseResolve&&this._closedPromiseResolve(),this._closedPromiseResolve=void 0,Object.create(r)})}return(e){return yi(this,void 0,void 0,function*(){const r=this.source.return&&(yield this.source.return(e))||So;return this._closedPromiseResolve&&this._closedPromiseResolve(),this._closedPromiseResolve=void 0,Object.create(r)})}}class o5 extends Qv{constructor(e,r){super(),this.position=0,this.buffer=_a(e),this.size=typeof r>"u"?this.buffer.byteLength:r}readInt32(e){const{buffer:r,byteOffset:C}=this.readAt(e,4);return new DataView(r,C).getInt32(0,!0)}seek(e){return this.position=Math.min(e,this.size),eyi(this,void 0,void 0,function*(){this.size=(yield e.stat()).size,delete this._pending}))()}readInt32(e){return yi(this,void 0,void 0,function*(){const{buffer:r,byteOffset:C}=yield this.readAt(e,4);return new DataView(r,C).getInt32(0,!0)})}seek(e){return yi(this,void 0,void 0,function*(){return this._pending&&(yield this._pending),this.position=Math.min(e,this.size),e>>16,this.buffer[1]&65535,this.buffer[0]>>>16,this.buffer[0]&65535]),C=new Uint32Array([e.buffer[1]>>>16,e.buffer[1]&65535,e.buffer[0]>>>16,e.buffer[0]&65535]);let D=r[3]*C[3];this.buffer[0]=D&65535;let T=D>>>16;return D=r[2]*C[3],T+=D,D=r[3]*C[2]>>>0,T+=D,this.buffer[0]+=T<<16,this.buffer[1]=T>>>0>>16,this.buffer[1]+=r[1]*C[3]+r[2]*C[2]+r[3]*C[1],this.buffer[1]+=r[0]*C[3]+r[1]*C[2]+r[2]*C[1]+r[3]*C[0]<<16,this}_plus(e){const r=this.buffer[0]+e.buffer[0]>>>0;this.buffer[1]+=e.buffer[1],r>>0&&++this.buffer[1],this.buffer[0]=r}lessThan(e){return this.buffer[1]>>0,r[2]=this.buffer[2]+e.buffer[2]>>>0,r[1]=this.buffer[1]+e.buffer[1]>>>0,r[0]=this.buffer[0]+e.buffer[0]>>>0,r[0]>>0&&++r[1],r[1]>>0&&++r[2],r[2]>>0&&++r[3],this.buffer[3]=r[3],this.buffer[2]=r[2],this.buffer[1]=r[1],this.buffer[0]=r[0],this}hex(){return`${zp(this.buffer[3])} ${zp(this.buffer[2])} ${zp(this.buffer[1])} ${zp(this.buffer[0])}`}static multiply(e,r){return new ah(new Uint32Array(e.buffer)).times(r)}static add(e,r){return new ah(new Uint32Array(e.buffer)).plus(r)}static from(e,r=new Uint32Array(4)){return ah.fromString(typeof e=="string"?e:e.toString(),r)}static fromNumber(e,r=new Uint32Array(4)){return ah.fromString(e.toString(),r)}static fromString(e,r=new Uint32Array(4)){const C=e.startsWith("-"),D=e.length,T=new ah(r);for(let p=C?1:0;p0&&this.readData(e,C)||new Uint8Array(0)}readOffsets(e,r){return this.readData(e,r)}readTypeIds(e,r){return this.readData(e,r)}readData(e,{length:r,offset:C}=this.nextBufferRange()){return this.bytes.subarray(C,C+r)}readDictionary(e){return this.dictionaries.get(e.id)}}class oI extends cM{constructor(e,r,C,D){super(new Uint8Array(0),r,C,D),this.sources=e}readNullBitmap(e,r,{offset:C}=this.nextBufferRange()){return r<=0?new Uint8Array(0):qv(this.sources[C])}readOffsets(e,{offset:r}=this.nextBufferRange()){return qa(Uint8Array,qa(Int32Array,this.sources[r]))}readTypeIds(e,{offset:r}=this.nextBufferRange()){return qa(Uint8Array,qa(e.ArrayType,this.sources[r]))}readData(e,{offset:r}=this.nextBufferRange()){const{sources:C}=this;return _i.isTimestamp(e)||(_i.isInt(e)||_i.isTime(e))&&e.bitWidth===64||_i.isDate(e)&&e.unit===nf.MILLISECOND?qa(Uint8Array,Vl.convertArray(C[r])):_i.isDecimal(e)?qa(Uint8Array,ah.convertArray(C[r])):_i.isBinary(e)||_i.isFixedSizeBinary(e)?sI(C[r]):_i.isBool(e)?qv(C[r]):_i.isUtf8(e)?p2(C[r].join("")):qa(Uint8Array,qa(e.ArrayType,C[r].map(D=>+D)))}}function sI(n){const e=n.join(""),r=new Uint8Array(e.length/2);for(let C=0;C>1]=Number.parseInt(e.slice(C,C+2),16);return r}class Ai extends aa{compareSchemas(e,r){return e===r||r instanceof e.constructor&&this.compareManyFields(e.fields,r.fields)}compareManyFields(e,r){return e===r||Array.isArray(e)&&Array.isArray(r)&&e.length===r.length&&e.every((C,D)=>this.compareFields(C,r[D]))}compareFields(e,r){return e===r||r instanceof e.constructor&&e.name===r.name&&e.nullable===r.nullable&&this.visit(e.type,r.type)}}function Kl(n,e){return e instanceof n.constructor}function Xm(n,e){return n===e||Kl(n,e)}function hf(n,e){return n===e||Kl(n,e)&&n.bitWidth===e.bitWidth&&n.isSigned===e.isSigned}function Gy(n,e){return n===e||Kl(n,e)&&n.precision===e.precision}function lI(n,e){return n===e||Kl(n,e)&&n.byteWidth===e.byteWidth}function I2(n,e){return n===e||Kl(n,e)&&n.unit===e.unit}function Km(n,e){return n===e||Kl(n,e)&&n.unit===e.unit&&n.timezone===e.timezone}function Jm(n,e){return n===e||Kl(n,e)&&n.unit===e.unit&&n.bitWidth===e.bitWidth}function uI(n,e){return n===e||Kl(n,e)&&n.children.length===e.children.length&&Yf.compareManyFields(n.children,e.children)}function cI(n,e){return n===e||Kl(n,e)&&n.children.length===e.children.length&&Yf.compareManyFields(n.children,e.children)}function R2(n,e){return n===e||Kl(n,e)&&n.mode===e.mode&&n.typeIds.every((r,C)=>r===e.typeIds[C])&&Yf.compareManyFields(n.children,e.children)}function hI(n,e){return n===e||Kl(n,e)&&n.id===e.id&&n.isOrdered===e.isOrdered&&Yf.visit(n.indices,e.indices)&&Yf.visit(n.dictionary,e.dictionary)}function P2(n,e){return n===e||Kl(n,e)&&n.unit===e.unit}function fI(n,e){return n===e||Kl(n,e)&&n.listSize===e.listSize&&n.children.length===e.children.length&&Yf.compareManyFields(n.children,e.children)}function dI(n,e){return n===e||Kl(n,e)&&n.keysSorted===e.keysSorted&&n.children.length===e.children.length&&Yf.compareManyFields(n.children,e.children)}Ai.prototype.visitNull=Xm;Ai.prototype.visitBool=Xm;Ai.prototype.visitInt=hf;Ai.prototype.visitInt8=hf;Ai.prototype.visitInt16=hf;Ai.prototype.visitInt32=hf;Ai.prototype.visitInt64=hf;Ai.prototype.visitUint8=hf;Ai.prototype.visitUint16=hf;Ai.prototype.visitUint32=hf;Ai.prototype.visitUint64=hf;Ai.prototype.visitFloat=Gy;Ai.prototype.visitFloat16=Gy;Ai.prototype.visitFloat32=Gy;Ai.prototype.visitFloat64=Gy;Ai.prototype.visitUtf8=Xm;Ai.prototype.visitBinary=Xm;Ai.prototype.visitFixedSizeBinary=lI;Ai.prototype.visitDate=I2;Ai.prototype.visitDateDay=I2;Ai.prototype.visitDateMillisecond=I2;Ai.prototype.visitTimestamp=Km;Ai.prototype.visitTimestampSecond=Km;Ai.prototype.visitTimestampMillisecond=Km;Ai.prototype.visitTimestampMicrosecond=Km;Ai.prototype.visitTimestampNanosecond=Km;Ai.prototype.visitTime=Jm;Ai.prototype.visitTimeSecond=Jm;Ai.prototype.visitTimeMillisecond=Jm;Ai.prototype.visitTimeMicrosecond=Jm;Ai.prototype.visitTimeNanosecond=Jm;Ai.prototype.visitDecimal=Xm;Ai.prototype.visitList=uI;Ai.prototype.visitStruct=cI;Ai.prototype.visitUnion=R2;Ai.prototype.visitDenseUnion=R2;Ai.prototype.visitSparseUnion=R2;Ai.prototype.visitDictionary=hI;Ai.prototype.visitInterval=P2;Ai.prototype.visitIntervalDayTime=P2;Ai.prototype.visitIntervalYearMonth=P2;Ai.prototype.visitFixedSizeList=fI;Ai.prototype.visitMap=dI;const Yf=new Ai;function Xb(n,e){return Yf.compareSchemas(n,e)}function fb(n,e){return pI(n,e.map(r=>r.data.concat()))}function pI(n,e){const r=[...n.fields],C=[],D={numBatches:e.reduce((M,v)=>Math.max(M,v.length),0)};let T=0,p=0,t=-1;const d=e.length;let g,i=[];for(;D.numBatches-- >0;){for(p=Number.POSITIVE_INFINITY,t=-1;++t0&&(C[T++]=ra({type:new bl(r),length:p,nullCount:0,children:i.slice()})))}return[n=n.assign(r),C.map(M=>new ql(n,M))]}function mI(n,e,r,C,D){var T;const p=(e+63&-64)>>3;for(let t=-1,d=C.length;++t=e)i===e?r[t]=g:(r[t]=g.slice(0,e),D.numBatches=Math.max(D.numBatches,C[t].unshift(g.slice(e,i-e))));else{const M=n[t];n[t]=M.clone({nullable:!0}),r[t]=(T=g==null?void 0:g._changeLengthAndBackfillNullBitmap(e))!==null&&T!==void 0?T:ra({type:M.type,length:e,nullCount:e,nullBitmap:new Uint8Array(p)})}}return r}var hM;class ml{constructor(...e){var r,C;if(e.length===0)return this.batches=[],this.schema=new Ea([]),this._offsets=[0],this;let D,T;e[0]instanceof Ea&&(D=e.shift()),e[e.length-1]instanceof Uint32Array&&(T=e.pop());const p=d=>{if(d){if(d instanceof ql)return[d];if(d instanceof ml)return d.batches;if(d instanceof Qa){if(d.type instanceof bl)return[new ql(new Ea(d.type.children),d)]}else{if(Array.isArray(d))return d.flatMap(g=>p(g));if(typeof d[Symbol.iterator]=="function")return[...d].flatMap(g=>p(g));if(typeof d=="object"){const g=Object.keys(d),i=g.map(f=>new Ta([d[f]])),M=new Ea(g.map((f,l)=>new ao(String(f),i[l].type))),[,v]=fb(M,i);return v.length===0?[new ql(d)]:v}}}return[]},t=e.flatMap(d=>p(d));if(D=(C=D??((r=t[0])===null||r===void 0?void 0:r.schema))!==null&&C!==void 0?C:new Ea([]),!(D instanceof Ea))throw new TypeError("Table constructor expects a [Schema, RecordBatch[]] pair.");for(const d of t){if(!(d instanceof ql))throw new TypeError("Table constructor expects a [Schema, RecordBatch[]] pair.");if(!Xb(D,d.schema))throw new TypeError("Table and inner RecordBatch schemas must be equivalent.")}this.schema=D,this.batches=t,this._offsets=T??Xk(this.data)}get data(){return this.batches.map(({data:e})=>e)}get numCols(){return this.schema.fields.length}get numRows(){return this.data.reduce((e,r)=>e+r.length,0)}get nullCount(){return this._nullCount===-1&&(this._nullCount=Zk(this.data)),this._nullCount}isValid(e){return!1}get(e){return null}set(e,r){}indexOf(e,r){return-1}getByteLength(e){return 0}[Symbol.iterator](){return this.batches.length>0?C2.visit(new Ta(this.data)):new Array(0)[Symbol.iterator]()}toArray(){return[...this]}toString(){return`[ - ${this.toArray().join(`, - `)} -]`}concat(...e){const r=this.schema,C=this.data.concat(e.flatMap(({data:D})=>D));return new ml(r,C.map(D=>new ql(r,D)))}slice(e,r){const C=this.schema;[e,r]=Yk({length:this.numRows},e,r);const D=Kk(this.data,this._offsets,e,r);return new ml(C,D.map(T=>new ql(C,T)))}getChild(e){return this.getChildAt(this.schema.fields.findIndex(r=>r.name===e))}getChildAt(e){if(e>-1&&eC.children[e]);if(r.length===0){const{type:C}=this.schema.fields[e],D=ra({type:C,length:0,nullCount:0});r.push(D._changeLengthAndBackfillNullBitmap(this.numRows))}return new Ta(r)}return null}setChild(e,r){var C;return this.setChildAt((C=this.schema.fields)===null||C===void 0?void 0:C.findIndex(D=>D.name===e),r)}setChildAt(e,r){let C=this.schema,D=[...this.batches];if(e>-1&&ethis.getChildAt(g));[T[e],t[e]]=[p,r],[C,D]=fb(C,t)}return new ml(C,D)}select(e){const r=this.schema.fields.reduce((C,D,T)=>C.set(D.name,T),new Map);return this.selectAt(e.map(C=>r.get(C)).filter(C=>C>-1))}selectAt(e){const r=this.schema.selectAt(e),C=this.batches.map(D=>D.selectAt(e));return new ml(r,C)}assign(e){const r=this.schema.fields,[C,D]=e.schema.fields.reduce((t,d,g)=>{const[i,M]=t,v=r.findIndex(f=>f.name===d.name);return~v?M[v]=g:i.push(g),t},[[],[]]),T=this.schema.assign(e.schema),p=[...r.map((t,d)=>[d,D[d]]).map(([t,d])=>d===void 0?this.getChildAt(t):e.getChildAt(d)),...C.map(t=>e.getChildAt(t))].filter(Boolean);return new ml(...fb(T,p))}}hM=Symbol.toStringTag;ml[hM]=(n=>(n.schema=null,n.batches=[],n._offsets=new Uint32Array([0]),n._nullCount=-1,n[Symbol.isConcatSpreadable]=!0,n.isValid=Wp(S2),n.get=Wp(Xl.getVisitFn(Jn.Struct)),n.set=Jk(nc.getVisitFn(Jn.Struct)),n.indexOf=Qk(Wv.getVisitFn(Jn.Struct)),n.getByteLength=Wp(_h.getVisitFn(Jn.Struct)),"Table"))(ml.prototype);var fM;let ql=class sm{constructor(...e){switch(e.length){case 2:{if([this.schema]=e,!(this.schema instanceof Ea))throw new TypeError("RecordBatch constructor expects a [Schema, Data] pair.");if([,this.data=ra({nullCount:0,type:new bl(this.schema.fields),children:this.schema.fields.map(r=>ra({type:r.type,nullCount:0}))})]=e,!(this.data instanceof Qa))throw new TypeError("RecordBatch constructor expects a [Schema, Data] pair.");[this.schema,this.data]=s5(this.schema,this.data.children);break}case 1:{const[r]=e,{fields:C,children:D,length:T}=Object.keys(r).reduce((d,g,i)=>(d.children[i]=r[g],d.length=Math.max(d.length,r[g].length),d.fields[i]=ao.new({name:g,type:r[g].type,nullable:!0}),d),{length:0,fields:new Array,children:new Array}),p=new Ea(C),t=ra({type:new bl(C),length:T,children:D,nullCount:0});[this.schema,this.data]=s5(p,t.children,T);break}default:throw new TypeError("RecordBatch constructor expects an Object mapping names to child Data, or a [Schema, Data] pair.")}}get dictionaries(){return this._dictionaries||(this._dictionaries=dM(this.schema.fields,this.data.children))}get numCols(){return this.schema.fields.length}get numRows(){return this.data.length}get nullCount(){return this.data.nullCount}isValid(e){return this.data.getValid(e)}get(e){return Xl.visit(this.data,e)}set(e,r){return nc.visit(this.data,e,r)}indexOf(e,r){return Wv.visit(this.data,e,r)}getByteLength(e){return _h.visit(this.data,e)}[Symbol.iterator](){return C2.visit(new Ta([this.data]))}toArray(){return[...this]}concat(...e){return new ml(this.schema,[this,...e])}slice(e,r){const[C]=new Ta([this.data]).slice(e,r).data;return new sm(this.schema,C)}getChild(e){var r;return this.getChildAt((r=this.schema.fields)===null||r===void 0?void 0:r.findIndex(C=>C.name===e))}getChildAt(e){return e>-1&&eD.name===e),r)}setChildAt(e,r){let C=this.schema,D=this.data;if(e>-1&&et.name===T);~p&&(D[p]=this.data.children[p])}return new sm(r,ra({type:C,length:this.numRows,children:D}))}selectAt(e){const r=this.schema.selectAt(e),C=e.map(T=>this.data.children[T]).filter(Boolean),D=ra({type:new bl(r.fields),length:this.numRows,children:C});return new sm(r,D)}};fM=Symbol.toStringTag;ql[fM]=(n=>(n._nullCount=-1,n[Symbol.isConcatSpreadable]=!0,"RecordBatch"))(ql.prototype);function s5(n,e,r=e.reduce((C,D)=>Math.max(C,D.length),0)){var C;const D=[...n.fields],T=[...e],p=(r+63&-64)>>3;for(const[t,d]of n.fields.entries()){const g=e[t];(!g||g.length!==r)&&(D[t]=d.clone({nullable:!0}),T[t]=(C=g==null?void 0:g._changeLengthAndBackfillNullBitmap(r))!==null&&C!==void 0?C:ra({type:d.type,length:r,nullCount:r,nullBitmap:new Uint8Array(p)}))}return[n.assign(D),ra({type:new bl(D),length:r,children:T})]}function dM(n,e,r=new Map){for(let C=-1,D=n.length;++C0&&dM(p.children,t.children,r)}return r}class O2 extends ql{constructor(e){const r=e.fields.map(D=>ra({type:D.type})),C=ra({type:new bl(e.fields),nullCount:0,children:r});super(e,C)}}var ty;(function(n){n[n.BUFFER=0]="BUFFER"})(ty||(ty={}));var ny;(function(n){n[n.LZ4_FRAME=0]="LZ4_FRAME",n[n.ZSTD=1]="ZSTD"})(ny||(ny={}));class Of{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsBodyCompression(e,r){return(r||new Of).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsBodyCompression(e,r){return e.setPosition(e.position()+Wa),(r||new Of).__init(e.readInt32(e.position())+e.position(),e)}codec(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt8(this.bb_pos+e):ny.LZ4_FRAME}method(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.readInt8(this.bb_pos+e):ty.BUFFER}static startBodyCompression(e){e.startObject(2)}static addCodec(e,r){e.addFieldInt8(0,r,ny.LZ4_FRAME)}static addMethod(e,r){e.addFieldInt8(1,r,ty.BUFFER)}static endBodyCompression(e){return e.endObject()}static createBodyCompression(e,r,C){return Of.startBodyCompression(e),Of.addCodec(e,r),Of.addMethod(e,C),Of.endBodyCompression(e)}}let pM=class{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}offset(){return this.bb.readInt64(this.bb_pos)}length(){return this.bb.readInt64(this.bb_pos+8)}static sizeOf(){return 16}static createBuffer(e,r,C){return e.prep(8,16),e.writeInt64(C),e.writeInt64(r),e.offset()}},mM=class{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}length(){return this.bb.readInt64(this.bb_pos)}nullCount(){return this.bb.readInt64(this.bb_pos+8)}static sizeOf(){return 16}static createFieldNode(e,r,C){return e.prep(8,16),e.writeInt64(C),e.writeInt64(r),e.offset()}},Yh=class Kb{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsRecordBatch(e,r){return(r||new Kb).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsRecordBatch(e,r){return e.setPosition(e.position()+Wa),(r||new Kb).__init(e.readInt32(e.position())+e.position(),e)}length(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt64(this.bb_pos+e):this.bb.createLong(0,0)}nodes(e,r){const C=this.bb.__offset(this.bb_pos,6);return C?(r||new mM).__init(this.bb.__vector(this.bb_pos+C)+e*16,this.bb):null}nodesLength(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.__vector_len(this.bb_pos+e):0}buffers(e,r){const C=this.bb.__offset(this.bb_pos,8);return C?(r||new pM).__init(this.bb.__vector(this.bb_pos+C)+e*16,this.bb):null}buffersLength(){const e=this.bb.__offset(this.bb_pos,8);return e?this.bb.__vector_len(this.bb_pos+e):0}compression(e){const r=this.bb.__offset(this.bb_pos,10);return r?(e||new Of).__init(this.bb.__indirect(this.bb_pos+r),this.bb):null}static startRecordBatch(e){e.startObject(4)}static addLength(e,r){e.addFieldInt64(0,r,e.createLong(0,0))}static addNodes(e,r){e.addFieldOffset(1,r,0)}static startNodesVector(e,r){e.startVector(16,r,8)}static addBuffers(e,r){e.addFieldOffset(2,r,0)}static startBuffersVector(e,r){e.startVector(16,r,8)}static addCompression(e,r){e.addFieldOffset(3,r,0)}static endRecordBatch(e){return e.endObject()}},Dp=class Jb{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsDictionaryBatch(e,r){return(r||new Jb).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsDictionaryBatch(e,r){return e.setPosition(e.position()+Wa),(r||new Jb).__init(e.readInt32(e.position())+e.position(),e)}id(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt64(this.bb_pos+e):this.bb.createLong(0,0)}data(e){const r=this.bb.__offset(this.bb_pos,6);return r?(e||new Yh).__init(this.bb.__indirect(this.bb_pos+r),this.bb):null}isDelta(){const e=this.bb.__offset(this.bb_pos,8);return e?!!this.bb.readInt8(this.bb_pos+e):!1}static startDictionaryBatch(e){e.startObject(3)}static addId(e,r){e.addFieldInt64(0,r,e.createLong(0,0))}static addData(e,r){e.addFieldOffset(1,r,0)}static addIsDelta(e,r){e.addFieldInt8(2,+r,0)}static endDictionaryBatch(e){return e.endObject()}};var ry;(function(n){n[n.NONE=0]="NONE",n[n.Schema=1]="Schema",n[n.DictionaryBatch=2]="DictionaryBatch",n[n.RecordBatch=3]="RecordBatch",n[n.Tensor=4]="Tensor",n[n.SparseTensor=5]="SparseTensor"})(ry||(ry={}));let Ef=class rh{constructor(){this.bb=null,this.bb_pos=0}__init(e,r){return this.bb_pos=e,this.bb=r,this}static getRootAsMessage(e,r){return(r||new rh).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsMessage(e,r){return e.setPosition(e.position()+Wa),(r||new rh).__init(e.readInt32(e.position())+e.position(),e)}version(){const e=this.bb.__offset(this.bb_pos,4);return e?this.bb.readInt16(this.bb_pos+e):Qp.V1}headerType(){const e=this.bb.__offset(this.bb_pos,6);return e?this.bb.readUint8(this.bb_pos+e):ry.NONE}header(e){const r=this.bb.__offset(this.bb_pos,8);return r?this.bb.__union(e,this.bb_pos+r):null}bodyLength(){const e=this.bb.__offset(this.bb_pos,10);return e?this.bb.readInt64(this.bb_pos+e):this.bb.createLong(0,0)}customMetadata(e,r){const C=this.bb.__offset(this.bb_pos,12);return C?(r||new cs).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+C)+e*4),this.bb):null}customMetadataLength(){const e=this.bb.__offset(this.bb_pos,12);return e?this.bb.__vector_len(this.bb_pos+e):0}static startMessage(e){e.startObject(5)}static addVersion(e,r){e.addFieldInt16(0,r,Qp.V1)}static addHeaderType(e,r){e.addFieldInt8(1,r,ry.NONE)}static addHeader(e,r){e.addFieldOffset(2,r,0)}static addBodyLength(e,r){e.addFieldInt64(3,r,e.createLong(0,0))}static addCustomMetadata(e,r){e.addFieldOffset(4,r,0)}static createCustomMetadataVector(e,r){e.startVector(4,r.length,4);for(let C=r.length-1;C>=0;C--)e.addOffset(r[C]);return e.endVector()}static startCustomMetadataVector(e,r){e.startVector(4,r,4)}static endMessage(e){return e.endObject()}static finishMessageBuffer(e,r){e.finish(r)}static finishSizePrefixedMessageBuffer(e,r){e.finish(r,void 0,!0)}static createMessage(e,r,C,D,T,p){return rh.startMessage(e),rh.addVersion(e,r),rh.addHeaderType(e,C),rh.addHeader(e,D),rh.addBodyLength(e,T),rh.addCustomMetadata(e,p),rh.endMessage(e)}};var gI=Jh;class vI extends aa{visit(e,r){return e==null||r==null?void 0:super.visit(e,r)}visitNull(e,r){return Id.startNull(r),Id.endNull(r)}visitInt(e,r){return mu.startInt(r),mu.addBitWidth(r,e.bitWidth),mu.addIsSigned(r,e.isSigned),mu.endInt(r)}visitFloat(e,r){return fh.startFloatingPoint(r),fh.addPrecision(r,e.precision),fh.endFloatingPoint(r)}visitBinary(e,r){return Cd.startBinary(r),Cd.endBinary(r)}visitBool(e,r){return Ed.startBool(r),Ed.endBool(r)}visitUtf8(e,r){return Pd.startUtf8(r),Pd.endUtf8(r)}visitDecimal(e,r){return Hl.startDecimal(r),Hl.addScale(r,e.scale),Hl.addPrecision(r,e.precision),Hl.addBitWidth(r,e.bitWidth),Hl.endDecimal(r)}visitDate(e,r){return gv.startDate(r),gv.addUnit(r,e.unit),gv.endDate(r)}visitTime(e,r){return Zu.startTime(r),Zu.addUnit(r,e.unit),Zu.addBitWidth(r,e.bitWidth),Zu.endTime(r)}visitTimestamp(e,r){const C=e.timezone&&r.createString(e.timezone)||void 0;return Xu.startTimestamp(r),Xu.addUnit(r,e.unit),C!==void 0&&Xu.addTimezone(r,C),Xu.endTimestamp(r)}visitInterval(e,r){return dh.startInterval(r),dh.addUnit(r,e.unit),dh.endInterval(r)}visitList(e,r){return Ld.startList(r),Ld.endList(r)}visitStruct(e,r){return Rd.startStruct_(r),Rd.endStruct_(r)}visitUnion(e,r){Gl.startTypeIdsVector(r,e.typeIds.length);const C=Gl.createTypeIdsVector(r,e.typeIds);return Gl.startUnion(r),Gl.addMode(r,e.mode),Gl.addTypeIds(r,C),Gl.endUnion(r)}visitDictionary(e,r){const C=this.visit(e.indices,r);return Zh.startDictionaryEncoding(r),Zh.addId(r,new gI(e.id,0)),Zh.addIsOrdered(r,e.isOrdered),C!==void 0&&Zh.addIndexType(r,C),Zh.endDictionaryEncoding(r)}visitFixedSizeBinary(e,r){return ch.startFixedSizeBinary(r),ch.addByteWidth(r,e.byteWidth),ch.endFixedSizeBinary(r)}visitFixedSizeList(e,r){return hh.startFixedSizeList(r),hh.addListSize(r,e.listSize),hh.endFixedSizeList(r)}visitMap(e,r){return vv.startMap(r),vv.addKeysSorted(r,e.keysSorted),vv.endMap(r)}}const db=new vI;function yI(n,e=new Map){return new Ea(xI(n,e),xv(n.customMetadata),e)}function gM(n){return new _u(n.count,vM(n.columns),yM(n.columns))}function bI(n){return new wh(gM(n.data),n.id,n.isDelta)}function xI(n,e){return(n.fields||[]).filter(Boolean).map(r=>ao.fromJSON(r,e))}function l5(n,e){return(n.children||[]).filter(Boolean).map(r=>ao.fromJSON(r,e))}function vM(n){return(n||[]).reduce((e,r)=>[...e,new Jd(r.count,_I(r.VALIDITY)),...vM(r.children)],[])}function yM(n,e=[]){for(let r=-1,C=(n||[]).length;++re+ +(r===0),0)}function wI(n,e){let r,C,D,T,p,t;return!e||!(T=n.dictionary)?(p=c5(n,l5(n,e)),D=new ao(n.name,p,n.nullable,xv(n.customMetadata))):e.has(r=T.id)?(C=(C=T.indexType)?u5(C):new Lm,t=new Kp(e.get(r),C,r,T.isOrdered),D=new ao(n.name,t,n.nullable,xv(n.customMetadata))):(C=(C=T.indexType)?u5(C):new Lm,e.set(r,p=c5(n,l5(n,e))),t=new Kp(p,C,r,T.isOrdered),D=new ao(n.name,t,n.nullable,xv(n.customMetadata))),D||null}function xv(n){return new Map(Object.entries(n||{}))}function u5(n){return new qf(n.isSigned,n.bitWidth)}function c5(n,e){const r=n.type.name;switch(r){case"NONE":return new Gf;case"null":return new Gf;case"binary":return new Pv;case"utf8":return new Ov;case"bool":return new Dv;case"list":return new Vv((e||[])[0]);case"struct":return new bl(e||[]);case"struct_":return new bl(e||[])}switch(r){case"int":{const C=n.type;return new qf(C.isSigned,C.bitWidth)}case"floatingpoint":{const C=n.type;return new Im(Yl[C.precision])}case"decimal":{const C=n.type;return new zv(C.scale,C.precision,C.bitWidth)}case"date":{const C=n.type;return new Fv(nf[C.unit])}case"time":{const C=n.type;return new Rm(wa[C.unit],C.bitWidth)}case"timestamp":{const C=n.type;return new Bv(wa[C.unit],C.timezone)}case"interval":{const C=n.type;return new Nv(Hf[C.unit])}case"union":{const C=n.type;return new jv(xu[C.mode],C.typeIds||[],e||[])}case"fixedsizebinary":{const C=n.type;return new Uv(C.byteWidth)}case"fixedsizelist":{const C=n.type;return new Hv(C.listSize,(e||[])[0])}case"map":{const C=n.type;return new Gv((e||[])[0],C.keysSorted)}}throw new Error(`Unrecognized type: "${r}"`)}var Gd=Jh,TI=sM,kI=Jp;class xl{constructor(e,r,C,D){this._version=r,this._headerType=C,this.body=new Uint8Array(0),D&&(this._createHeader=()=>D),this._bodyLength=typeof e=="number"?e:e.low}static fromJSON(e,r){const C=new xl(0,gu.V4,r);return C._createHeader=MI(e,r),C}static decode(e){e=new kI(_a(e));const r=Ef.getRootAsMessage(e),C=r.bodyLength(),D=r.version(),T=r.headerType(),p=new xl(C,D,T);return p._createHeader=AI(r,T),p}static encode(e){const r=new TI;let C=-1;return e.isSchema()?C=Ea.encode(r,e.header()):e.isRecordBatch()?C=_u.encode(r,e.header()):e.isDictionaryBatch()&&(C=wh.encode(r,e.header())),Ef.startMessage(r),Ef.addVersion(r,gu.V4),Ef.addHeader(r,C),Ef.addHeaderType(r,e.headerType),Ef.addBodyLength(r,new Gd(e.bodyLength,0)),Ef.finishMessageBuffer(r,Ef.endMessage(r)),r.asUint8Array()}static from(e,r=0){if(e instanceof Ea)return new xl(0,gu.V4,Ca.Schema,e);if(e instanceof _u)return new xl(r,gu.V4,Ca.RecordBatch,e);if(e instanceof wh)return new xl(r,gu.V4,Ca.DictionaryBatch,e);throw new Error(`Unrecognized Message header: ${e}`)}get type(){return this.headerType}get version(){return this._version}get headerType(){return this._headerType}get bodyLength(){return this._bodyLength}header(){return this._createHeader()}isSchema(){return this.headerType===Ca.Schema}isRecordBatch(){return this.headerType===Ca.RecordBatch}isDictionaryBatch(){return this.headerType===Ca.DictionaryBatch}}class _u{constructor(e,r,C){this._nodes=r,this._buffers=C,this._length=typeof e=="number"?e:e.low}get nodes(){return this._nodes}get length(){return this._length}get buffers(){return this._buffers}}class wh{constructor(e,r,C=!1){this._data=e,this._isDelta=C,this._id=typeof r=="number"?r:r.low}get id(){return this._id}get data(){return this._data}get isDelta(){return this._isDelta}get length(){return this.data.length}get nodes(){return this.data.nodes}get buffers(){return this.data.buffers}}class gh{constructor(e,r){this.offset=typeof e=="number"?e:e.low,this.length=typeof r=="number"?r:r.low}}class Jd{constructor(e,r){this.length=typeof e=="number"?e:e.low,this.nullCount=typeof r=="number"?r:r.low}}function MI(n,e){return()=>{switch(e){case Ca.Schema:return Ea.fromJSON(n);case Ca.RecordBatch:return _u.fromJSON(n);case Ca.DictionaryBatch:return wh.fromJSON(n)}throw new Error(`Unrecognized Message type: { name: ${Ca[e]}, type: ${e} }`)}}function AI(n,e){return()=>{switch(e){case Ca.Schema:return Ea.decode(n.header(new ih));case Ca.RecordBatch:return _u.decode(n.header(new Yh),n.version());case Ca.DictionaryBatch:return wh.decode(n.header(new Dp),n.version())}throw new Error(`Unrecognized Message type: { name: ${Ca[e]}, type: ${e} }`)}}ao.encode=FI;ao.decode=DI;ao.fromJSON=wI;Ea.encode=zI;Ea.decode=SI;Ea.fromJSON=yI;_u.encode=BI;_u.decode=CI;_u.fromJSON=gM;wh.encode=NI;wh.decode=EI;wh.fromJSON=bI;Jd.encode=VI;Jd.decode=II;gh.encode=jI;gh.decode=LI;function SI(n,e=new Map){const r=OI(n,e);return new Ea(r,_v(n),e)}function CI(n,e=gu.V4){if(n.compression()!==null)throw new Error("Record batch compression not implemented");return new _u(n.length(),RI(n),PI(n,e))}function EI(n,e=gu.V4){return new wh(_u.decode(n.data(),e),n.id(),n.isDelta())}function LI(n){return new gh(n.offset(),n.length())}function II(n){return new Jd(n.length(),n.nullCount())}function RI(n){const e=[];for(let r,C=-1,D=-1,T=n.nodesLength();++Cao.encode(n,T));ih.startFieldsVector(n,r.length);const C=ih.createFieldsVector(n,r),D=e.metadata&&e.metadata.size>0?ih.createCustomMetadataVector(n,[...e.metadata].map(([T,p])=>{const t=n.createString(`${T}`),d=n.createString(`${p}`);return cs.startKeyValue(n),cs.addKey(n,t),cs.addValue(n,d),cs.endKeyValue(n)})):-1;return ih.startSchema(n),ih.addFields(n,C),ih.addEndianness(n,UI?e0.Little:e0.Big),D!==-1&&ih.addCustomMetadata(n,D),ih.endSchema(n)}function FI(n,e){let r=-1,C=-1,D=-1;const T=e.type;let p=e.typeId;_i.isDictionary(T)?(p=T.dictionary.typeId,D=db.visit(T,n),C=db.visit(T.dictionary,n)):C=db.visit(T,n);const t=(T.children||[]).map(i=>ao.encode(n,i)),d=qu.createChildrenVector(n,t),g=e.metadata&&e.metadata.size>0?qu.createCustomMetadataVector(n,[...e.metadata].map(([i,M])=>{const v=n.createString(`${i}`),f=n.createString(`${M}`);return cs.startKeyValue(n),cs.addKey(n,v),cs.addValue(n,f),cs.endKeyValue(n)})):-1;return e.name&&(r=n.createString(e.name)),qu.startField(n),qu.addType(n,C),qu.addTypeType(n,p),qu.addChildren(n,d),qu.addNullable(n,!!e.nullable),r!==-1&&qu.addName(n,r),D!==-1&&qu.addDictionary(n,D),g!==-1&&qu.addCustomMetadata(n,g),qu.endField(n)}function BI(n,e){const r=e.nodes||[],C=e.buffers||[];Yh.startNodesVector(n,r.length);for(const p of r.slice().reverse())Jd.encode(n,p);const D=n.endVector();Yh.startBuffersVector(n,C.length);for(const p of C.slice().reverse())gh.encode(n,p);const T=n.endVector();return Yh.startRecordBatch(n),Yh.addLength(n,new Gd(e.length,0)),Yh.addNodes(n,D),Yh.addBuffers(n,T),Yh.endRecordBatch(n)}function NI(n,e){const r=_u.encode(n,e.data);return Dp.startDictionaryBatch(n),Dp.addId(n,new Gd(e.id,0)),Dp.addIsDelta(n,e.isDelta),Dp.addData(n,r),Dp.endDictionaryBatch(n)}function VI(n,e){return mM.createFieldNode(n,new Gd(e.length,0),new Gd(e.nullCount,0))}function jI(n,e){return pM.createBuffer(n,new Gd(e.offset,0),new Gd(e.length,0))}const UI=(()=>{const n=new ArrayBuffer(2);return new DataView(n).setInt16(0,256,!0),new Int16Array(n)[0]===256})(),D2=n=>`Expected ${Ca[n]} Message in stream, but was null or length 0.`,z2=n=>`Header pointer of flatbuffer-encoded ${Ca[n]} Message is null or length 0.`,bM=(n,e)=>`Expected to read ${n} metadata bytes, but only read ${e}.`,xM=(n,e)=>`Expected to read ${n} bytes for message body, but only read ${e}.`;class _M{constructor(e){this.source=e instanceof Qv?e:new Qv(e)}[Symbol.iterator](){return this}next(){let e;return(e=this.readMetadataLength()).done||e.value===-1&&(e=this.readMetadataLength()).done||(e=this.readMetadata(e.value)).done?So:e}throw(e){return this.source.throw(e)}return(e){return this.source.return(e)}readMessage(e){let r;if((r=this.next()).done)return null;if(e!=null&&r.value.headerType!==e)throw new Error(D2(e));return r.value}readMessageBody(e){if(e<=0)return new Uint8Array(0);const r=_a(this.source.read(e));if(r.byteLength[...D,...T.VALIDITY&&[T.VALIDITY]||[],...T.TYPE&&[T.TYPE]||[],...T.OFFSET&&[T.OFFSET]||[],...T.DATA&&[T.DATA]||[],...r(T.children)],[])}}readMessage(e){let r;if((r=this.next()).done)return null;if(e!=null&&r.value.headerType!==e)throw new Error(D2(e));return r.value}readSchema(){const e=Ca.Schema,r=this.readMessage(e),C=r==null?void 0:r.header();if(!r||!C)throw new Error(z2(e));return C}}const qy=4,Qb="ARROW1",Om=new Uint8Array(Qb.length);for(let n=0;nthis):this}readRecordBatch(e){return this._impl.isFile()?this._impl.readRecordBatch(e):null}[Symbol.iterator](){return this._impl[Symbol.iterator]()}[Symbol.asyncIterator](){return this._impl[Symbol.asyncIterator]()}toDOMStream(){return $u.toDOMStream(this.isSync()?{[Symbol.iterator]:()=>this}:{[Symbol.asyncIterator]:()=>this})}toNodeStream(){return $u.toNodeStream(this.isSync()?{[Symbol.iterator]:()=>this}:{[Symbol.asyncIterator]:()=>this},{objectMode:!0})}static throughNode(e){throw new Error('"throughNode" not available in this environment')}static throughDOM(e,r){throw new Error('"throughDOM" not available in this environment')}static from(e){return e instanceof Qh?e:Ub(e)?ZI(e):U4(e)?JI(e):Uf(e)?(()=>yi(this,void 0,void 0,function*(){return yield Qh.from(yield e)}))():H4(e)||m2(e)||G4(e)||g0(e)?KI(new n0(e)):XI(new Qv(e))}static readAll(e){return e instanceof Qh?e.isSync()?p5(e):m5(e):Ub(e)||ArrayBuffer.isView(e)||Zm(e)||j4(e)?p5(e):m5(e)}}class iy extends Qh{constructor(e){super(e),this._impl=e}readAll(){return[...this]}[Symbol.iterator](){return this._impl[Symbol.iterator]()}[Symbol.asyncIterator](){return mh(this,arguments,function*(){yield zi(yield*mv(Nd(this[Symbol.iterator]())))})}}class ay extends Qh{constructor(e){super(e),this._impl=e}readAll(){var e,r;return yi(this,void 0,void 0,function*(){const C=new Array;try{for(var D=Nd(this),T;T=yield D.next(),!T.done;){const p=T.value;C.push(p)}}catch(p){e={error:p}}finally{try{T&&!T.done&&(r=D.return)&&(yield r.call(D))}finally{if(e)throw e.error}}return C})}[Symbol.iterator](){throw new Error("AsyncRecordBatchStreamReader is not Iterable")}[Symbol.asyncIterator](){return this._impl[Symbol.asyncIterator]()}}class TM extends iy{constructor(e){super(e),this._impl=e}}class WI extends ay{constructor(e){super(e),this._impl=e}}class kM{constructor(e=new Map){this.closed=!1,this.autoDestroy=!0,this._dictionaryIndex=0,this._recordBatchIndex=0,this.dictionaries=e}get numDictionaries(){return this._dictionaryIndex}get numRecordBatches(){return this._recordBatchIndex}isSync(){return!1}isAsync(){return!1}isFile(){return!1}isStream(){return!1}reset(e){return this._dictionaryIndex=0,this._recordBatchIndex=0,this.schema=e,this.dictionaries=new Map,this}_loadRecordBatch(e,r){const C=this._loadVectors(e,r,this.schema.fields),D=ra({type:new bl(this.schema.fields),length:e.length,children:C});return new ql(this.schema,D)}_loadDictionaryBatch(e,r){const{id:C,isDelta:D}=e,{dictionaries:T,schema:p}=this,t=T.get(C);if(D||!t){const d=p.dictionaries.get(C),g=this._loadVectors(e.data,r,[d]);return(t&&D?t.concat(new Ta(g)):new Ta(g)).memoize()}return t.memoize()}_loadVectors(e,r,C){return new cM(r,e.nodes,e.buffers,this.dictionaries).visitMany(C)}}class oy extends kM{constructor(e,r){super(r),this._reader=Ub(e)?new GI(this._handle=e):new _M(this._handle=e)}isSync(){return!0}isStream(){return!0}[Symbol.iterator](){return this}cancel(){!this.closed&&(this.closed=!0)&&(this.reset()._reader.return(),this._reader=null,this.dictionaries=null)}open(e){return this.closed||(this.autoDestroy=AM(this,e),this.schema||(this.schema=this._reader.readSchema())||this.cancel()),this}throw(e){return!this.closed&&this.autoDestroy&&(this.closed=!0)?this.reset()._reader.throw(e):So}return(e){return!this.closed&&this.autoDestroy&&(this.closed=!0)?this.reset()._reader.return(e):So}next(){if(this.closed)return So;let e;const{_reader:r}=this;for(;e=this._readNextMessageAndValidate();)if(e.isSchema())this.reset(e.header());else if(e.isRecordBatch()){this._recordBatchIndex++;const C=e.header(),D=r.readMessageBody(e.bodyLength);return{done:!1,value:this._loadRecordBatch(C,D)}}else if(e.isDictionaryBatch()){this._dictionaryIndex++;const C=e.header(),D=r.readMessageBody(e.bodyLength),T=this._loadDictionaryBatch(C,D);this.dictionaries.set(C.id,T)}return this.schema&&this._recordBatchIndex===0?(this._recordBatchIndex++,{done:!1,value:new O2(this.schema)}):this.return()}_readNextMessageAndValidate(e){return this._reader.readMessage(e)}}class sy extends kM{constructor(e,r){super(r),this._reader=new HI(this._handle=e)}isAsync(){return!0}isStream(){return!0}[Symbol.asyncIterator](){return this}cancel(){return yi(this,void 0,void 0,function*(){!this.closed&&(this.closed=!0)&&(yield this.reset()._reader.return(),this._reader=null,this.dictionaries=null)})}open(e){return yi(this,void 0,void 0,function*(){return this.closed||(this.autoDestroy=AM(this,e),this.schema||(this.schema=yield this._reader.readSchema())||(yield this.cancel())),this})}throw(e){return yi(this,void 0,void 0,function*(){return!this.closed&&this.autoDestroy&&(this.closed=!0)?yield this.reset()._reader.throw(e):So})}return(e){return yi(this,void 0,void 0,function*(){return!this.closed&&this.autoDestroy&&(this.closed=!0)?yield this.reset()._reader.return(e):So})}next(){return yi(this,void 0,void 0,function*(){if(this.closed)return So;let e;const{_reader:r}=this;for(;e=yield this._readNextMessageAndValidate();)if(e.isSchema())yield this.reset(e.header());else if(e.isRecordBatch()){this._recordBatchIndex++;const C=e.header(),D=yield r.readMessageBody(e.bodyLength);return{done:!1,value:this._loadRecordBatch(C,D)}}else if(e.isDictionaryBatch()){this._dictionaryIndex++;const C=e.header(),D=yield r.readMessageBody(e.bodyLength),T=this._loadDictionaryBatch(C,D);this.dictionaries.set(C.id,T)}return this.schema&&this._recordBatchIndex===0?(this._recordBatchIndex++,{done:!1,value:new O2(this.schema)}):yield this.return()})}_readNextMessageAndValidate(e){return yi(this,void 0,void 0,function*(){return yield this._reader.readMessage(e)})}}class MM extends oy{constructor(e,r){super(e instanceof o5?e:new o5(e),r)}get footer(){return this._footer}get numDictionaries(){return this._footer?this._footer.numDictionaries:0}get numRecordBatches(){return this._footer?this._footer.numRecordBatches:0}isSync(){return!0}isFile(){return!0}open(e){if(!this.closed&&!this._footer){this.schema=(this._footer=this._readFooter()).schema;for(const r of this._footer.dictionaryBatches())r&&this._readDictionaryBatch(this._dictionaryIndex++)}return super.open(e)}readRecordBatch(e){var r;if(this.closed)return null;this._footer||this.open();const C=(r=this._footer)===null||r===void 0?void 0:r.getRecordBatch(e);if(C&&this._handle.seek(C.offset)){const D=this._reader.readMessage(Ca.RecordBatch);if(D!=null&&D.isRecordBatch()){const T=D.header(),p=this._reader.readMessageBody(D.bodyLength);return this._loadRecordBatch(T,p)}}return null}_readDictionaryBatch(e){var r;const C=(r=this._footer)===null||r===void 0?void 0:r.getDictionaryBatch(e);if(C&&this._handle.seek(C.offset)){const D=this._reader.readMessage(Ca.DictionaryBatch);if(D!=null&&D.isDictionaryBatch()){const T=D.header(),p=this._reader.readMessageBody(D.bodyLength),t=this._loadDictionaryBatch(T,p);this.dictionaries.set(T.id,t)}}}_readFooter(){const{_handle:e}=this,r=e.size-wM,C=e.readInt32(r),D=e.readAt(r-C,C);return Pm.decode(D)}_readNextMessageAndValidate(e){var r;if(this._footer||this.open(),this._footer&&this._recordBatchIndexsuper.open}});return yi(this,void 0,void 0,function*(){if(!this.closed&&!this._footer){this.schema=(this._footer=yield this._readFooter()).schema;for(const C of this._footer.dictionaryBatches())C&&(yield this._readDictionaryBatch(this._dictionaryIndex++))}return yield r.open.call(this,e)})}readRecordBatch(e){var r;return yi(this,void 0,void 0,function*(){if(this.closed)return null;this._footer||(yield this.open());const C=(r=this._footer)===null||r===void 0?void 0:r.getRecordBatch(e);if(C&&(yield this._handle.seek(C.offset))){const D=yield this._reader.readMessage(Ca.RecordBatch);if(D!=null&&D.isRecordBatch()){const T=D.header(),p=yield this._reader.readMessageBody(D.bodyLength);return this._loadRecordBatch(T,p)}}return null})}_readDictionaryBatch(e){var r;return yi(this,void 0,void 0,function*(){const C=(r=this._footer)===null||r===void 0?void 0:r.getDictionaryBatch(e);if(C&&(yield this._handle.seek(C.offset))){const D=yield this._reader.readMessage(Ca.DictionaryBatch);if(D!=null&&D.isDictionaryBatch()){const T=D.header(),p=yield this._reader.readMessageBody(D.bodyLength),t=this._loadDictionaryBatch(T,p);this.dictionaries.set(T.id,t)}}})}_readFooter(){return yi(this,void 0,void 0,function*(){const{_handle:e}=this;e._pending&&(yield e._pending);const r=e.size-wM,C=yield e.readInt32(r),D=yield e.readAt(r-C,C);return Pm.decode(D)})}_readNextMessageAndValidate(e){return yi(this,void 0,void 0,function*(){if(this._footer||(yield this.open()),this._footer&&this._recordBatchIndex=4?F2(e)?new TM(new MM(n.read())):new iy(new oy(n)):new iy(new oy(function*(){}()))}function KI(n){return yi(this,void 0,void 0,function*(){const e=yield n.peek(Qm+7&-8);return e&&e.byteLength>=4?F2(e)?new TM(new MM(yield n.read())):new ay(new sy(n)):new ay(new sy(function(){return mh(this,arguments,function*(){})}()))})}function JI(n){return yi(this,void 0,void 0,function*(){const{size:e}=yield n.stat(),r=new ey(n,e);return e>=qI&&F2(yield r.readAt(0,Qm+7&-8))?new WI(new YI(r)):new ay(new sy(r))})}class Qo extends aa{constructor(){super(),this._byteLength=0,this._nodes=[],this._buffers=[],this._bufferRegions=[]}static assemble(...e){const r=D=>D.flatMap(T=>Array.isArray(T)?r(T):T instanceof ql?T.data.children:T.data),C=new Qo;return C.visitMany(r(e)),C}visit(e){if(e instanceof Ta)return this.visitMany(e.data),this;const{type:r}=e;if(!_i.isDictionary(r)){const{length:C,nullCount:D}=e;if(C>2147483647)throw new RangeError("Cannot write arrays larger than 2^31 - 1 in length");_i.isNull(r)||zc.call(this,D<=0?new Uint8Array(0):k2(e.offset,C,e.nullBitmap)),this.nodes.push(new Jd(C,D))}return super.visit(e)}visitNull(e){return this}visitDictionary(e){return this.visit(e.clone(e.type.indices))}get nodes(){return this._nodes}get buffers(){return this._buffers}get byteLength(){return this._byteLength}get bufferRegions(){return this._bufferRegions}}function zc(n){const e=n.byteLength+7&-8;return this.buffers.push(n),this.bufferRegions.push(new gh(this._byteLength,e)),this._byteLength+=e,this}function QI(n){const{type:e,length:r,typeIds:C,valueOffsets:D}=n;if(zc.call(this,C),e.mode===xu.Sparse)return ex.call(this,n);if(e.mode===xu.Dense){if(n.offset<=0)return zc.call(this,D),ex.call(this,n);{const T=C.reduce((i,M)=>Math.max(i,M),C[0]),p=new Int32Array(T+1),t=new Int32Array(T+1).fill(-1),d=new Int32Array(r),g=v2(-D[0],r,D);for(let i,M,v=-1;++v=n.length?zc.call(this,new Uint8Array(0)):(e=n.values)instanceof Uint8Array?zc.call(this,k2(n.offset,n.length,e)):zc.call(this,qv(n.values))}function Qf(n){return zc.call(this,n.values.subarray(0,n.length*n.stride))}function SM(n){const{length:e,values:r,valueOffsets:C}=n,D=C[0],T=C[e],p=Math.min(T-D,r.byteLength-D);return zc.call(this,v2(-C[0],e,C)),zc.call(this,r.subarray(D,D+p)),this}function B2(n){const{length:e,valueOffsets:r}=n;return r&&zc.call(this,v2(r[0],e,r)),this.visit(n.children[0])}function ex(n){return this.visitMany(n.type.children.map((e,r)=>n.children[r]).filter(Boolean))[0]}Qo.prototype.visitBool=eR;Qo.prototype.visitInt=Qf;Qo.prototype.visitFloat=Qf;Qo.prototype.visitUtf8=SM;Qo.prototype.visitBinary=SM;Qo.prototype.visitFixedSizeBinary=Qf;Qo.prototype.visitDate=Qf;Qo.prototype.visitTimestamp=Qf;Qo.prototype.visitTime=Qf;Qo.prototype.visitDecimal=Qf;Qo.prototype.visitList=B2;Qo.prototype.visitStruct=ex;Qo.prototype.visitUnion=QI;Qo.prototype.visitInterval=Qf;Qo.prototype.visitFixedSizeList=B2;Qo.prototype.visitMap=B2;class CM extends E2{constructor(e){super(),this._position=0,this._started=!1,this._sink=new bv,this._schema=null,this._dictionaryBlocks=[],this._recordBatchBlocks=[],this._dictionaryDeltaOffsets=new Map,Zl(e)||(e={autoDestroy:!0,writeLegacyIpcFormat:!1}),this._autoDestroy=typeof e.autoDestroy=="boolean"?e.autoDestroy:!0,this._writeLegacyIpcFormat=typeof e.writeLegacyIpcFormat=="boolean"?e.writeLegacyIpcFormat:!1}static throughNode(e){throw new Error('"throughNode" not available in this environment')}static throughDOM(e,r){throw new Error('"throughDOM" not available in this environment')}toString(e=!1){return this._sink.toString(e)}toUint8Array(e=!1){return this._sink.toUint8Array(e)}writeAll(e){return Uf(e)?e.then(r=>this.writeAll(r)):g0(e)?U2(this,e):j2(this,e)}get closed(){return this._sink.closed}[Symbol.asyncIterator](){return this._sink[Symbol.asyncIterator]()}toDOMStream(e){return this._sink.toDOMStream(e)}toNodeStream(e){return this._sink.toNodeStream(e)}close(){return this.reset()._sink.close()}abort(e){return this.reset()._sink.abort(e)}finish(){return this._autoDestroy?this.close():this.reset(this._sink,this._schema),this}reset(e=this._sink,r=null){return e===this._sink||e instanceof bv?this._sink=e:(this._sink=new bv,e&&_9(e)?this.toDOMStream({type:"bytes"}).pipeTo(e):e&&w9(e)&&this.toNodeStream({objectMode:!1}).pipe(e)),this._started&&this._schema&&this._writeFooter(this._schema),this._started=!1,this._dictionaryBlocks=[],this._recordBatchBlocks=[],this._dictionaryDeltaOffsets=new Map,(!r||!Xb(r,this._schema))&&(r==null?(this._position=0,this._schema=null):(this._started=!0,this._schema=r,this._writeSchema(r))),this}write(e){let r=null;if(this._sink){if(e==null)return this.finish()&&void 0;if(e instanceof ml&&!(r=e.schema))return this.finish()&&void 0;if(e instanceof ql&&!(r=e.schema))return this.finish()&&void 0}else throw new Error("RecordBatchWriter is closed");if(r&&!Xb(r,this._schema)){if(this._started&&this._autoDestroy)return this.close();this.reset(this._sink,r)}e instanceof ql?e instanceof O2||this._writeRecordBatch(e):e instanceof ml?this.writeAll(e.batches):Zm(e)&&this.writeAll(e)}_writeMessage(e,r=8){const C=r-1,D=xl.encode(e),T=D.byteLength,p=this._writeLegacyIpcFormat?4:8,t=T+p+C&~C,d=t-T-p;return e.headerType===Ca.RecordBatch?this._recordBatchBlocks.push(new Wf(t,e.bodyLength,this._position)):e.headerType===Ca.DictionaryBatch&&this._dictionaryBlocks.push(new Wf(t,e.bodyLength,this._position)),this._writeLegacyIpcFormat||this._write(Int32Array.of(-1)),this._write(Int32Array.of(t-p)),T>0&&this._write(D),this._writePadding(d)}_write(e){if(this._started){const r=_a(e);r&&r.byteLength>0&&(this._sink.write(r),this._position+=r.byteLength)}return this}_writeSchema(e){return this._writeMessage(xl.from(e))}_writeFooter(e){return this._writeLegacyIpcFormat?this._write(Int32Array.of(0)):this._write(Int32Array.of(-1,0))}_writeMagic(){return this._write(Om)}_writePadding(e){return e>0?this._write(new Uint8Array(e)):this}_writeRecordBatch(e){const{byteLength:r,nodes:C,bufferRegions:D,buffers:T}=Qo.assemble(e),p=new _u(e.numRows,C,D),t=xl.from(p,r);return this._writeDictionaries(e)._writeMessage(t)._writeBodyBuffers(T)}_writeDictionaryBatch(e,r,C=!1){this._dictionaryDeltaOffsets.set(r,e.length+(this._dictionaryDeltaOffsets.get(r)||0));const{byteLength:D,nodes:T,bufferRegions:p,buffers:t}=Qo.assemble(new Ta([e])),d=new _u(e.length,T,p),g=new wh(d,r,C),i=xl.from(g,D);return this._writeMessage(i)._writeBodyBuffers(t)}_writeBodyBuffers(e){let r,C,D;for(let T=-1,p=e.length;++T0&&(this._write(r),(D=(C+7&-8)-C)>0&&this._writePadding(D));return this}_writeDictionaries(e){for(let[r,C]of e.dictionaries){let D=this._dictionaryDeltaOffsets.get(r)||0;if(D===0||(C=C==null?void 0:C.slice(D)).length>0)for(const T of C.data)this._writeDictionaryBatch(T,r,D>0),D+=T.length}return this}}class N2 extends CM{static writeAll(e,r){const C=new N2(r);return Uf(e)?e.then(D=>C.writeAll(D)):g0(e)?U2(C,e):j2(C,e)}}class V2 extends CM{static writeAll(e){const r=new V2;return Uf(e)?e.then(C=>r.writeAll(C)):g0(e)?U2(r,e):j2(r,e)}constructor(){super(),this._autoDestroy=!0}_writeSchema(e){return this._writeMagic()._writePadding(2)}_writeFooter(e){const r=Pm.encode(new Pm(e,gu.V4,this._recordBatchBlocks,this._dictionaryBlocks));return super._writeFooter(e)._write(r)._write(Int32Array.of(r.byteLength))._writeMagic()}}function j2(n,e){let r=e;e instanceof ml&&(r=e.batches,n.reset(void 0,e.schema));for(const C of r)n.write(C);return n.finish()}function U2(n,e){var r,C,D,T;return yi(this,void 0,void 0,function*(){try{for(r=Nd(e);C=yield r.next(),!C.done;){const p=C.value;n.write(p)}}catch(p){D={error:p}}finally{try{C&&!C.done&&(T=r.return)&&(yield T.call(r))}finally{if(D)throw D.error}}return n.finish()})}function lm(n){const e=Qh.from(n);return Uf(e)?e.then(r=>lm(r)):e.isAsync()?e.readAll().then(r=>new ml(r)):new ml(e.readAll())}function pb(n,e="stream"){return(e==="stream"?N2:V2).writeAll(n).toUint8Array(!0)}var tx=function(){function n(e,r,C,D){var T=this;this.getCell=function(p,t){var d=p=T.headerRows&&t=T.headerColumns;if(d){var M=["blank"];return t>0&&M.push("level"+p),{type:"blank",classNames:M.join(" "),content:""}}else if(i){var v=t-T.headerColumns,M=["col_heading","level"+p,"col"+v];return{type:"columns",classNames:M.join(" "),content:T.getContent(T.columnsTable,v,p)}}else if(g){var f=p-T.headerRows,M=["row_heading","level"+t,"row"+f];return{type:"index",id:"T_".concat(T.uuid,"level").concat(t,"_row").concat(f),classNames:M.join(" "),content:T.getContent(T.indexTable,f,t)}}else{var f=p-T.headerRows,v=t-T.headerColumns,M=["data","row"+f,"col"+v],l=T.styler?T.getContent(T.styler.displayValuesTable,f,v):T.getContent(T.dataTable,f,v);return{type:"data",id:"T_".concat(T.uuid,"row").concat(f,"_col").concat(v),classNames:M.join(" "),content:l}}},this.getContent=function(p,t,d){var g=p.getChildAt(d);if(g===null)return"";var i=T.getColumnTypeId(p,d);switch(i){case Jn.Timestamp:return T.nanosToDate(g.get(t));default:return g.get(t)}},this.dataTable=lm(e),this.indexTable=lm(r),this.columnsTable=lm(C),this.styler=D?{caption:D.caption,displayValuesTable:lm(D.displayValues),styles:D.styles,uuid:D.uuid}:void 0}return Object.defineProperty(n.prototype,"rows",{get:function(){return this.indexTable.numRows+this.columnsTable.numCols},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"columns",{get:function(){return this.indexTable.numCols+this.columnsTable.numRows},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"headerRows",{get:function(){return this.rows-this.dataRows},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"headerColumns",{get:function(){return this.columns-this.dataColumns},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dataRows",{get:function(){return this.dataTable.numRows},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dataColumns",{get:function(){return this.dataTable.numCols},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uuid",{get:function(){return this.styler&&this.styler.uuid},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"caption",{get:function(){return this.styler&&this.styler.caption},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"styles",{get:function(){return this.styler&&this.styler.styles},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"table",{get:function(){return this.dataTable},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"index",{get:function(){return this.indexTable},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"columnTable",{get:function(){return this.columnsTable},enumerable:!1,configurable:!0}),n.prototype.serialize=function(){return{data:pb(this.dataTable),index:pb(this.indexTable),columns:pb(this.columnsTable)}},n.prototype.getColumnTypeId=function(e,r){return e.schema.fields[r].type.typeId},n.prototype.nanosToDate=function(e){return new Date(e/1e6)},n}(),gm=globalThis&&globalThis.__assign||function(){return gm=Object.assign||function(n){for(var e,r=1,C=arguments.length;r0?n.argsDataframeToObject(e.dfs):{};r=gm(gm({},r),C);var D=!!e.disabled,T=e.theme;T&&tR(T);var p={disabled:D,args:r,theme:T},t=new CustomEvent(n.RENDER_EVENT,{detail:p});n.events.dispatchEvent(t)},n.argsDataframeToObject=function(e){var r=e.map(function(C){var D=C.key,T=C.value;return[D,n.toArrowTable(T)]});return Object.fromEntries(r)},n.toArrowTable=function(e){var r,C=(r=e.data,r.data),D=r.index,T=r.columns,p=r.styler;return new tx(C,D,T,p)},n.sendBackMsg=function(e,r){window.parent.postMessage(gm({isStreamlitMessage:!0,type:e},r),"*")},n}(),tR=function(n){var e=document.createElement("style");document.head.appendChild(e),e.innerHTML=` ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js :root { --primary-color: `.concat(n.primaryColor,`; --background-color: `).concat(n.backgroundColor,`; @@ -55,7 +36,6 @@ object-assign background-color: var(--background-color); color: var(--text-color); } -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js `)};function nR(n){var e=!1;try{e=n instanceof BigInt64Array||n instanceof BigUint64Array}catch{}return n instanceof Int8Array||n instanceof Uint8Array||n instanceof Uint8ClampedArray||n instanceof Int16Array||n instanceof Uint16Array||n instanceof Int32Array||n instanceof Uint32Array||n instanceof Float32Array||n instanceof Float64Array||e}var rR=globalThis&&globalThis.__extends||function(){var n=function(e,r){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,D){S.__proto__=D}||function(S,D){for(var T in D)Object.prototype.hasOwnProperty.call(D,T)&&(S[T]=D[T])},n(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");n(e,r);function S(){this.constructor=e}e.prototype=r===null?Object.create(r):(S.prototype=r.prototype,new S)}}();(function(n){rR(e,n);function e(){return n!==null&&n.apply(this,arguments)||this}return e.prototype.componentDidMount=function(){Wu.setFrameHeight()},e.prototype.componentDidUpdate=function(){Wu.setFrameHeight()},e})(g9.PureComponent);const rc=i2("selection",{state:()=>({scanIndex:void 0,massIndex:void 0,proteinIndex:void 0,tagIndex:void 0,selectedObservedMass:void 0,AApos:void 0,tagData:void 0,counter:void 0,id:void 0,heatmap_deconv:void 0,heatmap_deconv2:void 0,heatmap_raw:void 0,heatmap_raw2:void 0}),getters:{selectedScanIndex:n=>n.scanIndex,selectedMassIndex:n=>n.massIndex,selectedProteinIndex:n=>n.proteinIndex,selectedTagIndex:n=>n.tagIndex,selectedAApos:n=>n.AApos,selectedTag:n=>n.tagData,selectedDeconvMS2Heatmap:n=>n.heatmap_deconv2,selectedDeconvHeatmap:n=>n.heatmap_deconv,selectedRawHeatmap:n=>n.heatmap_raw,selectedRawMS2Heatmap:n=>n.heatmap_raw2,selectedObservedMassFromFragmentTable:n=>n.selectedObservedMass},actions:{updateSelectedScan(n){this.scanIndex=n},updateSelectedMass(n){this.massIndex=n},updateSelectedProtein(n){this.proteinIndex=n},updateSelectedTag(n){this.tagIndex=n},selectedAminoAcid(n){this.selectedObservedMass=n},updateSelectedAA(n){this.AApos=n},updateTagData(n){this.tagData=n},updateRawHeatmapSelection(n){this.heatmap_raw=n},updateRawMS2HeatmapSelection(n){this.heatmap_raw2=n},updateDeconvHeatmapSelection(n){this.heatmap_deconv=n},updateDeconvMS2HeatmapSelection(n){this.heatmap_deconv2=n}}}),Ns=i2("streamlit-data",{state:()=>({renderData:null,dataForDrawing:{},dataset:"",hash:""}),getters:{args:n=>{var e;return(e=n.renderData)==null?void 0:e.args},components(){return this.args.components},allDataForDrawing:n=>n.dataForDrawing,sequenceData:n=>n.dataForDrawing.sequence_data,settings:n=>n.dataForDrawing.settings,internalFragmentData:n=>n.dataForDrawing.internal_fragment_data,theme:n=>{var e;return(e=n.renderData)==null?void 0:e.theme}},actions:{updateRenderData(n){var D;if(rc().$patch(T=>{if(n.args.selection_store.id!==T.id)for(const p in T)T[p]=void 0;Object.assign(T,n.args.selection_store)}),console.log(n.args.selection_store.id),this.hash===n.args.hash)return;this.hash=n.args.hash,delete n.args.selection_store,delete n.args.hash,this.dataForDrawing={},this.dataset=(D=n.args)==null?void 0:D.dataset,this.renderData=n;function r(T){if(typeof T=="bigint")return Number(T);if(T instanceof Ta){const p=[];for(let t=0;t{if(p instanceof tx){const t=[],d=p.table.schema.fields.map(g=>g.name);for(let g=0;g{var f;i[M]=r((f=p.table.getChildAt(v))==null?void 0:f.get(g))}),t.push(i)}this.dataForDrawing[T]=t}else this.dataForDrawing[T]=p})}}});var EM={exports:{}};(function(n,e){/*! For license information please see plotly.min.js.LICENSE.txt */(function(r,S){n.exports=S()})(self,function(){return function(){var r={98847:function(T,p,t){var d=t(71828),g={"X,X div":'direction:ltr;font-family:"Open Sans",verdana,arial,sans-serif;margin:0;padding:0;',"X input,X button":'font-family:"Open Sans",verdana,arial,sans-serif;',"X input:focus,X button:focus":"outline:none;","X a":"text-decoration:none;","X a:hover":"text-decoration:none;","X .crisp":"shape-rendering:crispEdges;","X .user-select-none":"-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;","X svg":"overflow:hidden;","X svg a":"fill:#447adb;","X svg a:hover":"fill:#3c6dc5;","X .main-svg":"position:absolute;top:0;left:0;pointer-events:none;","X .main-svg .draglayer":"pointer-events:all;","X .cursor-default":"cursor:default;","X .cursor-pointer":"cursor:pointer;","X .cursor-crosshair":"cursor:crosshair;","X .cursor-move":"cursor:move;","X .cursor-col-resize":"cursor:col-resize;","X .cursor-row-resize":"cursor:row-resize;","X .cursor-ns-resize":"cursor:ns-resize;","X .cursor-ew-resize":"cursor:ew-resize;","X .cursor-sw-resize":"cursor:sw-resize;","X .cursor-s-resize":"cursor:s-resize;","X .cursor-se-resize":"cursor:se-resize;","X .cursor-w-resize":"cursor:w-resize;","X .cursor-e-resize":"cursor:e-resize;","X .cursor-nw-resize":"cursor:nw-resize;","X .cursor-n-resize":"cursor:n-resize;","X .cursor-ne-resize":"cursor:ne-resize;","X .cursor-grab":"cursor:-webkit-grab;cursor:grab;","X .modebar":"position:absolute;top:2px;right:2px;","X .ease-bg":"-webkit-transition:background-color .3s ease 0s;-moz-transition:background-color .3s ease 0s;-ms-transition:background-color .3s ease 0s;-o-transition:background-color .3s ease 0s;transition:background-color .3s ease 0s;","X .modebar--hover>:not(.watermark)":"opacity:0;-webkit-transition:opacity .3s ease 0s;-moz-transition:opacity .3s ease 0s;-ms-transition:opacity .3s ease 0s;-o-transition:opacity .3s ease 0s;transition:opacity .3s ease 0s;","X:hover .modebar--hover .modebar-group":"opacity:1;","X .modebar-group":"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;","X .modebar-btn":"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;","X .modebar-btn svg":"position:relative;top:2px;","X .modebar.vertical":"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;","X .modebar.vertical svg":"top:-1px;","X .modebar.vertical .modebar-group":"display:block;float:none;padding-left:0px;padding-bottom:8px;","X .modebar.vertical .modebar-group .modebar-btn":"display:block;text-align:center;","X [data-title]:before,X [data-title]:after":"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none;opacity:0;z-index:1001;pointer-events:none;top:110%;right:50%;","X [data-title]:hover:before,X [data-title]:hover:after":"display:block;opacity:1;","X [data-title]:before":'content:"";position:absolute;background:rgba(0,0,0,0);border:6px solid rgba(0,0,0,0);z-index:1002;margin-top:-12px;border-bottom-color:#69738a;margin-right:-6px;',"X [data-title]:after":"content:attr(data-title);background:#69738a;color:#fff;padding:8px 10px;font-size:12px;line-height:12px;white-space:nowrap;margin-right:-18px;border-radius:2px;","X .vertical [data-title]:before,X .vertical [data-title]:after":"top:0%;right:200%;","X .vertical [data-title]:before":"border:6px solid rgba(0,0,0,0);border-left-color:#69738a;margin-top:8px;margin-right:-30px;",Y:'font-family:"Open Sans",verdana,arial,sans-serif;position:fixed;top:50px;right:20px;z-index:10000;font-size:10pt;max-width:180px;',"Y p":"margin:0;","Y .notifier-note":"min-width:180px;max-width:250px;border:1px solid #fff;z-index:3000;margin:0;background-color:#8c97af;background-color:rgba(140,151,175,.9);color:#fff;padding:10px;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-webkit-hyphens:auto;hyphens:auto;","Y .notifier-close":"color:#fff;opacity:.8;float:right;padding:0 5px;background:none;border:none;font-size:20px;font-weight:bold;line-height:20px;","Y .notifier-close:hover":"color:#444;text-decoration:none;cursor:pointer;"};for(var i in g){var M=i.replace(/^,/," ,").replace(/X/g,".js-plotly-plot .plotly").replace(/Y/g,".plotly-notifier");d.addStyleRule(M,g[i])}},98222:function(T,p,t){T.exports=t(82887)},27206:function(T,p,t){T.exports=t(60822)},59893:function(T,p,t){T.exports=t(23381)},5224:function(T,p,t){T.exports=t(83832)},59509:function(T,p,t){T.exports=t(72201)},75557:function(T,p,t){T.exports=t(91815)},40338:function(T,p,t){T.exports=t(21462)},35080:function(T,p,t){T.exports=t(51319)},61396:function(T,p,t){T.exports=t(57516)},40549:function(T,p,t){T.exports=t(98128)},49866:function(T,p,t){T.exports=t(99442)},36089:function(T,p,t){T.exports=t(93740)},19548:function(T,p,t){T.exports=t(8729)},35831:function(T,p,t){T.exports=t(93814)},61039:function(T,p,t){T.exports=t(14382)},97040:function(T,p,t){T.exports=t(51759)},77986:function(T,p,t){T.exports=t(10421)},24296:function(T,p,t){T.exports=t(43102)},58872:function(T,p,t){T.exports=t(92165)},29626:function(T,p,t){T.exports=t(3325)},65591:function(T,p,t){T.exports=t(36071)},69738:function(T,p,t){T.exports=t(43905)},92650:function(T,p,t){T.exports=t(35902)},35630:function(T,p,t){T.exports=t(69816)},73434:function(T,p,t){T.exports=t(94507)},27909:function(T,p,t){var d=t(19548);d.register([t(27206),t(5224),t(58872),t(65591),t(69738),t(92650),t(49866),t(25743),t(6197),t(97040),t(85461),t(73434),t(54201),t(81299),t(47645),t(35630),t(77986),t(83043),t(93005),t(96881),t(4534),t(50581),t(40549),t(77900),t(47582),t(35080),t(21641),t(17280),t(5861),t(29626),t(10021),t(65317),t(96268),t(61396),t(35831),t(16122),t(46163),t(40344),t(40338),t(48131),t(36089),t(55334),t(75557),t(19440),t(99488),t(59893),t(97393),t(98222),t(61039),t(24296),t(66398),t(59509)]),T.exports=d},46163:function(T,p,t){T.exports=t(15154)},96881:function(T,p,t){T.exports=t(64943)},50581:function(T,p,t){T.exports=t(21164)},55334:function(T,p,t){T.exports=t(54186)},65317:function(T,p,t){T.exports=t(94873)},10021:function(T,p,t){T.exports=t(67618)},54201:function(T,p,t){T.exports=t(58810)},5861:function(T,p,t){T.exports=t(20593)},16122:function(T,p,t){T.exports=t(29396)},83043:function(T,p,t){T.exports=t(13551)},48131:function(T,p,t){T.exports=t(46858)},47582:function(T,p,t){T.exports=t(17988)},21641:function(T,p,t){T.exports=t(68868)},96268:function(T,p,t){T.exports=t(20467)},19440:function(T,p,t){T.exports=t(91271)},99488:function(T,p,t){T.exports=t(21461)},97393:function(T,p,t){T.exports=t(85956)},25743:function(T,p,t){T.exports=t(52979)},66398:function(T,p,t){T.exports=t(32275)},17280:function(T,p,t){T.exports=t(6419)},77900:function(T,p,t){T.exports=t(61510)},81299:function(T,p,t){T.exports=t(87619)},93005:function(T,p,t){T.exports=t(93601)},40344:function(T,p,t){T.exports=t(96595)},47645:function(T,p,t){T.exports=t(70954)},6197:function(T,p,t){T.exports=t(47462)},4534:function(T,p,t){T.exports=t(17659)},85461:function(T,p,t){T.exports=t(19990)},82884:function(T){T.exports=[{path:"",backoff:0},{path:"M-2.4,-3V3L0.6,0Z",backoff:.6},{path:"M-3.7,-2.5V2.5L1.3,0Z",backoff:1.3},{path:"M-4.45,-3L-1.65,-0.2V0.2L-4.45,3L1.55,0Z",backoff:1.55},{path:"M-2.2,-2.2L-0.2,-0.2V0.2L-2.2,2.2L-1.4,3L1.6,0L-1.4,-3Z",backoff:1.6},{path:"M-4.4,-2.1L-0.6,-0.2V0.2L-4.4,2.1L-4,3L2,0L-4,-3Z",backoff:2},{path:"M2,0A2,2 0 1,1 0,-2A2,2 0 0,1 2,0Z",backoff:0,noRotate:!0},{path:"M2,2V-2H-2V2Z",backoff:0,noRotate:!0}]},50215:function(T,p,t){var d=t(82884),g=t(41940),i=t(85555),M=t(44467).templatedArray;t(24695),T.exports=M("annotation",{visible:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},text:{valType:"string",editType:"calc+arraydraw"},textangle:{valType:"angle",dflt:0,editType:"calc+arraydraw"},font:g({editType:"calc+arraydraw",colorEditType:"arraydraw"}),width:{valType:"number",min:1,dflt:null,editType:"calc+arraydraw"},height:{valType:"number",min:1,dflt:null,editType:"calc+arraydraw"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"arraydraw"},align:{valType:"enumerated",values:["left","center","right"],dflt:"center",editType:"arraydraw"},valign:{valType:"enumerated",values:["top","middle","bottom"],dflt:"middle",editType:"arraydraw"},bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},bordercolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},borderpad:{valType:"number",min:0,dflt:1,editType:"calc+arraydraw"},borderwidth:{valType:"number",min:0,dflt:1,editType:"calc+arraydraw"},showarrow:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},arrowcolor:{valType:"color",editType:"arraydraw"},arrowhead:{valType:"integer",min:0,max:d.length,dflt:1,editType:"arraydraw"},startarrowhead:{valType:"integer",min:0,max:d.length,dflt:1,editType:"arraydraw"},arrowside:{valType:"flaglist",flags:["end","start"],extras:["none"],dflt:"end",editType:"arraydraw"},arrowsize:{valType:"number",min:.3,dflt:1,editType:"calc+arraydraw"},startarrowsize:{valType:"number",min:.3,dflt:1,editType:"calc+arraydraw"},arrowwidth:{valType:"number",min:.1,editType:"calc+arraydraw"},standoff:{valType:"number",min:0,dflt:0,editType:"calc+arraydraw"},startstandoff:{valType:"number",min:0,dflt:0,editType:"calc+arraydraw"},ax:{valType:"any",editType:"calc+arraydraw"},ay:{valType:"any",editType:"calc+arraydraw"},axref:{valType:"enumerated",dflt:"pixel",values:["pixel",i.idRegex.x.toString()],editType:"calc"},ayref:{valType:"enumerated",dflt:"pixel",values:["pixel",i.idRegex.y.toString()],editType:"calc"},xref:{valType:"enumerated",values:["paper",i.idRegex.x.toString()],editType:"calc"},x:{valType:"any",editType:"calc+arraydraw"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto",editType:"calc+arraydraw"},xshift:{valType:"number",dflt:0,editType:"calc+arraydraw"},yref:{valType:"enumerated",values:["paper",i.idRegex.y.toString()],editType:"calc"},y:{valType:"any",editType:"calc+arraydraw"},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"auto",editType:"calc+arraydraw"},yshift:{valType:"number",dflt:0,editType:"calc+arraydraw"},clicktoshow:{valType:"enumerated",values:[!1,"onoff","onout"],dflt:!1,editType:"arraydraw"},xclick:{valType:"any",editType:"arraydraw"},yclick:{valType:"any",editType:"arraydraw"},hovertext:{valType:"string",editType:"arraydraw"},hoverlabel:{bgcolor:{valType:"color",editType:"arraydraw"},bordercolor:{valType:"color",editType:"arraydraw"},font:g({editType:"arraydraw"}),editType:"arraydraw"},captureevents:{valType:"boolean",editType:"arraydraw"},editType:"calc",_deprecated:{ref:{valType:"string",editType:"calc"}}})},3749:function(T,p,t){var d=t(71828),g=t(89298),i=t(92605).draw;function M(f){var l=f._fullLayout;d.filterVisible(l.annotations).forEach(function(a){var u=g.getFromId(f,a.xref),o=g.getFromId(f,a.yref),s=g.getRefType(a.xref),h=g.getRefType(a.yref);a._extremes={},s==="range"&&v(a,u),h==="range"&&v(a,o)})}function v(f,l){var a,u=l._id,o=u.charAt(0),s=f[o],h=f["a"+o],c=f[o+"ref"],m=f["a"+o+"ref"],w=f["_"+o+"padplus"],y=f["_"+o+"padminus"],C={x:1,y:-1}[o]*f[o+"shift"],_=3*f.arrowsize*f.arrowwidth||0,k=_+C,E=_-C,x=3*f.startarrowsize*f.arrowwidth||0,A=x+C,L=x-C;if(m===c){var b=g.findExtremes(l,[l.r2c(s)],{ppadplus:k,ppadminus:E}),R=g.findExtremes(l,[l.r2c(h)],{ppadplus:Math.max(w,A),ppadminus:Math.max(y,L)});a={min:[b.min[0],R.min[0]],max:[b.max[0],R.max[0]]}}else A=h?A+h:A,L=h?L-h:L,a=g.findExtremes(l,[l.r2c(s)],{ppadplus:Math.max(w,k,A),ppadminus:Math.max(y,E,L)});f._extremes[u]=a}T.exports=function(f){var l=f._fullLayout;if(d.filterVisible(l.annotations).length&&f._fullData.length)return d.syncOrAsync([i,M],f)}},44317:function(T,p,t){var d=t(71828),g=t(73972),i=t(44467).arrayEditor;function M(f,l){var a,u,o,s,h,c,m,w=f._fullLayout.annotations,y=[],C=[],_=[],k=(l||[]).length;for(a=0;a0||a.explicitOff.length>0},onClick:function(f,l){var a,u,o=M(f,l),s=o.on,h=o.off.concat(o.explicitOff),c={},m=f._fullLayout.annotations;if(s.length||h.length){for(a=0;a.6666666666666666?"right":"center"),{center:0,middle:0,left:.5,bottom:-.5,right:-.5,top:.5}[yt]}for(var Be=!1,ze=["x","y"],je=0;je1)&&(ot===st?((Vt=ht.r2fraction(k["a"+Ye]))<0||Vt>1)&&(Be=!0):Be=!0),ge=ht._offset+ht.r2p(k[Ye]),Ve=.5}else{var Ke=qt==="domain";Ye==="x"?(Ee=k[Ye],ge=Ke?ht._offset+ht._length*Ee:ge=O.l+O.w*Ee):(Ee=1-k[Ye],ge=Ke?ht._offset+ht._length*Ee:ge=O.t+O.h*Ee),Ve=k.showarrow?.5:Ee}if(k.showarrow){Bt.head=ge;var Je=k["a"+Ye];if($e=Et*Le(.5,k.xanchor)-kt*Le(.5,k.yanchor),ot===st){var qe=f.getRefType(ot);qe==="domain"?(Ye==="y"&&(Je=1-Je),Bt.tail=ht._offset+ht._length*Je):qe==="paper"?Ye==="y"?(Je=1-Je,Bt.tail=O.t+O.h*Je):Bt.tail=O.l+O.w*Je:Bt.tail=ht._offset+ht.r2p(Je),we=$e}else Bt.tail=ge+Je,we=$e+Je;Bt.text=Bt.tail+$e;var nt=I[Ye==="x"?"width":"height"];if(st==="paper"&&(Bt.head=M.constrain(Bt.head,1,nt-1)),ot==="pixel"){var ft=-Math.max(Bt.tail-3,Bt.text),Re=Math.min(Bt.tail+3,Bt.text)-nt;ft>0?(Bt.tail+=ft,Bt.text+=ft):Re>0&&(Bt.tail-=Re,Bt.text-=Re)}Bt.tail+=Ot,Bt.head+=Ot}else we=$e=xt*Le(Ve,Ft),Bt.text=ge+$e;Bt.text+=Ot,$e+=Ot,we+=Ot,k["_"+Ye+"padplus"]=xt/2+we,k["_"+Ye+"padminus"]=xt/2-we,k["_"+Ye+"size"]=xt,k["_"+Ye+"shift"]=$e}if(Be)te.remove();else{var Ne=0,Qe=0;if(k.align!=="left"&&(Ne=(ae-Se)*(k.align==="center"?.5:1)),k.valign!=="top"&&(Qe=(fe-Ce)*(k.valign==="middle"?.5:1)),_e)Pe.select("svg").attr({x:Q+Ne-1,y:Q+Qe}).call(a.setClipUrl,ie?j:null,_);else{var ut=Q+Qe-Me.top,dt=Q+Ne-Me.left;ye.call(o.positionText,dt,ut).call(a.setClipUrl,ie?j:null,_)}oe.select("rect").call(a.setRect,Q,Q,ae,fe),re.call(a.setRect,Z/2,Z/2,be-Z,ke-Z),te.call(a.setTranslate,Math.round($.x.text-be/2),Math.round($.y.text-ke/2)),q.attr({transform:"rotate("+U+","+$.x.text+","+$.y.text+")"});var _t,It=function(Lt,yt){G.selectAll(".annotation-arrow-g").remove();var Pt=$.x.head,wt=$.y.head,Rt=$.x.tail+Lt,Nt=$.y.tail+yt,Yt=$.x.text+Lt,Wt=$.y.text+yt,Xt=M.rotationXYMatrix(U,Yt,Wt),Qt=M.apply2DTransform(Xt),rn=M.apply2DTransform2(Xt),xn=+re.attr("width"),un=+re.attr("height"),An=Yt-.5*xn,Yn=An+xn,kn=Wt-.5*un,sn=kn+un,Tn=[[An,kn,An,sn],[An,sn,Yn,sn],[Yn,sn,Yn,kn],[Yn,kn,An,kn]].map(rn);if(!Tn.reduce(function(or,vr){return or^!!M.segmentsIntersect(Pt,wt,Pt+1e6,wt+1e6,vr[0],vr[1],vr[2],vr[3])},!1)){Tn.forEach(function(or){var vr=M.segmentsIntersect(Rt,Nt,Pt,wt,or[0],or[1],or[2],or[3]);vr&&(Rt=vr.x,Nt=vr.y)});var dn=k.arrowwidth,pn=k.arrowcolor,Dn=k.arrowside,In=G.append("g").style({opacity:l.opacity(pn)}).classed("annotation-arrow-g",!0),jn=In.append("path").attr("d","M"+Rt+","+Nt+"L"+Pt+","+wt).style("stroke-width",dn+"px").call(l.stroke,l.rgb(pn));if(m(jn,Dn,k),z.annotationPosition&&jn.node().parentNode&&!x){var Gn=Pt,qn=wt;if(k.standoff){var lr=Math.sqrt(Math.pow(Pt-Rt,2)+Math.pow(wt-Nt,2));Gn+=k.standoff*(Rt-Pt)/lr,qn+=k.standoff*(Nt-wt)/lr}var rr,Sr,yr=In.append("path").classed("annotation-arrow",!0).classed("anndrag",!0).classed("cursor-move",!0).attr({d:"M3,3H-3V-3H3ZM0,0L"+(Rt-Gn)+","+(Nt-qn),transform:v(Gn,qn)}).style("stroke-width",dn+6+"px").call(l.stroke,"rgba(0,0,0,0)").call(l.fill,"rgba(0,0,0,0)");h.init({element:yr.node(),gd:_,prepFn:function(){var or=a.getTranslate(te);rr=or.x,Sr=or.y,A&&A.autorange&&B(A._name+".autorange",!0),L&&L.autorange&&B(L._name+".autorange",!0)},moveFn:function(or,vr){var _r=Qt(rr,Sr),Kt=_r[0]+or,bn=_r[1]+vr;te.call(a.setTranslate,Kt,bn),N("x",y(A,or,"x",O,k)),N("y",y(L,vr,"y",O,k)),k.axref===k.xref&&N("ax",y(A,or,"ax",O,k)),k.ayref===k.yref&&N("ay",y(L,vr,"ay",O,k)),In.attr("transform",v(or,vr)),q.attr({transform:"rotate("+U+","+Kt+","+bn+")"})},doneFn:function(){g.call("_guiRelayout",_,W());var or=document.querySelector(".js-notes-box-panel");or&&or.redraw(or.selectedObj)}})}}};k.showarrow&&It(0,0),H&&h.init({element:te.node(),gd:_,prepFn:function(){_t=q.attr("transform")},moveFn:function(Lt,yt){var Pt="pointer";if(k.showarrow)k.axref===k.xref?N("ax",y(A,Lt,"ax",O,k)):N("ax",k.ax+Lt),k.ayref===k.yref?N("ay",y(L,yt,"ay",O.w,k)):N("ay",k.ay+yt),It(Lt,yt);else{if(x)return;var wt,Rt;if(A)wt=y(A,Lt,"x",O,k);else{var Nt=k._xsize/O.w,Yt=k.x+(k._xshift-k.xshift)/O.w-Nt/2;wt=h.align(Yt+Lt/O.w,Nt,0,1,k.xanchor)}if(L)Rt=y(L,yt,"y",O,k);else{var Wt=k._ysize/O.h,Xt=k.y-(k._yshift+k.yshift)/O.h-Wt/2;Rt=h.align(Xt-yt/O.h,Wt,0,1,k.yanchor)}N("x",wt),N("y",Rt),A&&L||(Pt=h.getCursor(A?.5:wt,L?.5:Rt,k.xanchor,k.yanchor))}q.attr({transform:v(Lt,yt)+_t}),s(te,Pt)},clickFn:function(Lt,yt){k.captureevents&&_.emit("plotly_clickannotation",de(yt))},doneFn:function(){s(te),g.call("_guiRelayout",_,W());var Lt=document.querySelector(".js-notes-box-panel");Lt&&Lt.redraw(Lt.selectedObj)}})}}}T.exports={draw:function(_){var k=_._fullLayout;k._infolayer.selectAll(".annotation").remove();for(var E=0;E=0,x=u.indexOf("end")>=0,A=y.backoff*_+o.standoff,L=C.backoff*k+o.startstandoff;if(w.nodeName==="line"){s={x:+a.attr("x1"),y:+a.attr("y1")},h={x:+a.attr("x2"),y:+a.attr("y2")};var b=s.x-h.x,R=s.y-h.y;if(m=(c=Math.atan2(R,b))+Math.PI,A&&L&&A+L>Math.sqrt(b*b+R*R))return void G();if(A){if(A*A>b*b+R*R)return void G();var I=A*Math.cos(c),O=A*Math.sin(c);h.x+=I,h.y+=O,a.attr({x2:h.x,y2:h.y})}if(L){if(L*L>b*b+R*R)return void G();var z=L*Math.cos(c),F=L*Math.sin(c);s.x-=z,s.y-=F,a.attr({x1:s.x,y1:s.y})}}else if(w.nodeName==="path"){var B=w.getTotalLength(),N="";if(B1){o=!0;break}}o?M.fullLayout._infolayer.select(".annotation-"+M.id+'[data-index="'+a+'"]').remove():(u._pdata=g(M.glplot.cameraParams,[v.xaxis.r2l(u.x)*f[0],v.yaxis.r2l(u.y)*f[1],v.zaxis.r2l(u.z)*f[2]]),d(M.graphDiv,u,a,M.id,u._xa,u._ya))}}},2468:function(T,p,t){var d=t(73972),g=t(71828);T.exports={moduleType:"component",name:"annotations3d",schema:{subplots:{scene:{annotations:t(26997)}}},layoutAttributes:t(26997),handleDefaults:t(20226),includeBasePlot:function(i,M){var v=d.subplotsRegistry.gl3d;if(v)for(var f=v.attrRegex,l=Object.keys(i),a=0;a=0)))return u;if(m===3)h[m]>1&&(h[m]=1);else if(h[m]>=1)return u}var w=Math.round(255*h[0])+", "+Math.round(255*h[1])+", "+Math.round(255*h[2]);return c?"rgba("+w+", "+h[3]+")":"rgb("+w+")"}M.tinyRGB=function(u){var o=u.toRgb();return"rgb("+Math.round(o.r)+", "+Math.round(o.g)+", "+Math.round(o.b)+")"},M.rgb=function(u){return M.tinyRGB(d(u))},M.opacity=function(u){return u?d(u).getAlpha():0},M.addOpacity=function(u,o){var s=d(u).toRgb();return"rgba("+Math.round(s.r)+", "+Math.round(s.g)+", "+Math.round(s.b)+", "+o+")"},M.combine=function(u,o){var s=d(u).toRgb();if(s.a===1)return d(u).toRgbString();var h=d(o||l).toRgb(),c=h.a===1?h:{r:255*(1-h.a)+h.r*h.a,g:255*(1-h.a)+h.g*h.a,b:255*(1-h.a)+h.b*h.a},m={r:c.r*(1-s.a)+s.r*s.a,g:c.g*(1-s.a)+s.g*s.a,b:c.b*(1-s.a)+s.b*s.a};return d(m).toRgbString()},M.contrast=function(u,o,s){var h=d(u);return h.getAlpha()!==1&&(h=d(M.combine(u,l))),(h.isDark()?o?h.lighten(o):l:s?h.darken(s):f).toString()},M.stroke=function(u,o){var s=d(o);u.style({stroke:M.tinyRGB(s),"stroke-opacity":s.getAlpha()})},M.fill=function(u,o){var s=d(o);u.style({fill:M.tinyRGB(s),"fill-opacity":s.getAlpha()})},M.clean=function(u){if(u&&typeof u=="object"){var o,s,h,c,m=Object.keys(u);for(o=0;o0?Je>=Ne:Je<=Ne));qe++)Je>ut&&Je0?Je>=Ne:Je<=Ne));qe++)Je>Ke[0]&&Je1){var ot=Math.pow(10,Math.floor(Math.log(st)/Math.LN10));$e*=ot*l.roundUp(st/ot,[2,5,10]),(Math.abs(_e.start)/_e.size+1e-6)%1<2e-6&&(Ee.tick0=0)}Ee.dtick=$e}Ee.domain=W?[ge+Q/ue.h,ge+ke-Q/ue.h]:[ge+X/ue.w,ge+ke-X/ue.w],Ee.setScale(),F.attr("transform",a(Math.round(ue.l),Math.round(ue.t)));var ht,bt=F.select("."+L.cbtitleunshift).attr("transform",a(-Math.round(ue.l),-Math.round(ue.t))),Et=Ee.ticklabelposition,kt=Ee.title.font.size,xt=F.select("."+L.cbaxis),Ft=0,Ot=0;function Bt(qt,Vt){var Ke={propContainer:Ee,propName:B._propPrefix+"title",traceIndex:B._traceIndex,_meta:B._meta,placeholder:oe._dfltTitle.colorbar,containerGroup:F.select("."+L.cbtitle)},Je=qt.charAt(0)==="h"?qt.substr(1):"h"+qt;F.selectAll("."+Je+",."+Je+"-math-group").remove(),c.draw(N,qt,u(Ke,Vt||{}))}return l.syncOrAsync([i.previousPromises,function(){var qt,Vt;(W&&Ve||!W&&!Ve)&&(me==="top"&&(qt=X+ue.l+ue.w*re,Vt=Q+ue.t+ue.h*(1-ge-ke)+3+.75*kt),me==="bottom"&&(qt=X+ue.l+ue.w*re,Vt=Q+ue.t+ue.h*(1-ge)-3-.25*kt),me==="right"&&(Vt=Q+ue.t+ue.h*ie+3+.75*kt,qt=X+ue.l+ue.w*ge),Bt(Ee._id+"title",{attributes:{x:qt,y:Vt,"text-anchor":W?"start":"middle"}}))},function(){if(!W&&!Ve||W&&Ve){var qt,Vt=F.select("."+L.cbtitle),Ke=Vt.select("text"),Je=[-q/2,q/2],qe=Vt.select(".h"+Ee._id+"title-math-group").node(),nt=15.6;if(Ke.node()&&(nt=parseInt(Ke.node().style.fontSize,10)*E),qe?(qt=s.bBox(qe),Ot=qt.width,(Ft=qt.height)>nt&&(Je[1]-=(Ft-nt)/2)):Ke.node()&&!Ke.classed(L.jsPlaceholder)&&(qt=s.bBox(Ke.node()),Ot=qt.width,Ft=qt.height),W){if(Ft){if(Ft+=5,me==="top")Ee.domain[1]-=Ft/ue.h,Je[1]*=-1;else{Ee.domain[0]+=Ft/ue.h;var ft=m.lineCount(Ke);Je[1]+=(1-ft)*nt}Vt.attr("transform",a(Je[0],Je[1])),Ee.setScale()}}else Ot&&(me==="right"&&(Ee.domain[0]+=(Ot+kt/2)/ue.w),Vt.attr("transform",a(Je[0],Je[1])),Ee.setScale())}F.selectAll("."+L.cbfills+",."+L.cblines).attr("transform",W?a(0,Math.round(ue.h*(1-Ee.domain[1]))):a(Math.round(ue.w*Ee.domain[0]),0)),xt.attr("transform",W?a(0,Math.round(-ue.t)):a(Math.round(-ue.l),0));var Re=F.select("."+L.cbfills).selectAll("rect."+L.cbfill).attr("style","").data(Se);Re.enter().append("rect").classed(L.cbfill,!0).style("stroke","none"),Re.exit().remove();var Ne=pe.map(Ee.c2p).map(Math.round).sort(function(It,Lt){return It-Lt});Re.each(function(It,Lt){var yt=[Lt===0?pe[0]:(Se[Lt]+Se[Lt-1])/2,Lt===Se.length-1?pe[1]:(Se[Lt]+Se[Lt+1])/2].map(Ee.c2p).map(Math.round);W&&(yt[1]=l.constrain(yt[1]+(yt[1]>yt[0])?1:-1,Ne[0],Ne[1]));var Pt=d.select(this).attr(W?"x":"y",Le).attr(W?"y":"x",d.min(yt)).attr(W?"width":"height",Math.max(ae,2)).attr(W?"height":"width",Math.max(d.max(yt)-d.min(yt),2));if(B._fillgradient)s.gradient(Pt,N,B._id,W?"vertical":"horizontalreversed",B._fillgradient,"fill");else{var wt=Pe(It).replace("e-","");Pt.attr("fill",g(wt).toHexString())}});var Qe=F.select("."+L.cblines).selectAll("path."+L.cbline).data(ye.color&&ye.width?Ce:[]);Qe.enter().append("path").classed(L.cbline,!0),Qe.exit().remove(),Qe.each(function(It){var Lt=Le,yt=Math.round(Ee.c2p(It))+ye.width/2%1;d.select(this).attr("d","M"+(W?Lt+","+yt:yt+","+Lt)+(W?"h":"v")+ae).call(s.lineGroupStyle,ye.width,xe(It),ye.dash)}),xt.selectAll("g."+Ee._id+"tick,path").remove();var ut=Le+ae+(q||0)/2-(B.ticks==="outside"?1:0),dt=v.calcTicks(Ee),_t=v.getTickSigns(Ee)[2];return v.drawTicks(N,Ee,{vals:Ee.ticks==="inside"?v.clipEnds(Ee,dt):dt,layer:xt,path:v.makeTickPath(Ee,ut,_t),transFn:v.makeTransTickFn(Ee)}),v.drawLabels(N,Ee,{vals:dt,layer:xt,transFn:v.makeTransTickLabelFn(Ee),labelFns:v.makeLabelFns(Ee,ut)})},function(){if(W&&!Ve||!W&&Ve){var qt,Vt,Ke=Ee.position||0,Je=Ee._offset+Ee._length/2;if(me==="right")Vt=Je,qt=ue.l+ue.w*Ke+10+kt*(Ee.showticklabels?1:.5);else if(qt=Je,me==="bottom"&&(Vt=ue.t+ue.h*Ke+10+(Et.indexOf("inside")===-1?Ee.tickfont.size:0)+(Ee.ticks!=="intside"&&B.ticklen||0)),me==="top"){var qe=de.text.split("
").length;Vt=ue.t+ue.h*Ke+10-ae-E*kt*qe}Bt((W?"h":"v")+Ee._id+"title",{avoid:{selection:d.select(N).selectAll("g."+Ee._id+"tick"),side:me,offsetTop:W?0:ue.t,offsetLeft:W?ue.l:0,maxShift:W?oe.width:oe.height},attributes:{x:qt,y:Vt,"text-anchor":"middle"},transform:{rotate:W?-90:0,offset:0}})}},i.previousPromises,function(){var qt,Vt=ae+q/2;Et.indexOf("inside")===-1&&(qt=s.bBox(xt.node()),Vt+=W?qt.width:qt.height),ht=bt.select("text");var Ke=0,Je=W&&me==="top",qe=!W&&me==="right",nt=0;if(ht.node()&&!ht.classed(L.jsPlaceholder)){var ft,Re=bt.select(".h"+Ee._id+"title-math-group").node();Re&&(W&&Ve||!W&&!Ve)?(Ke=(qt=s.bBox(Re)).width,ft=qt.height):(Ke=(qt=s.bBox(bt.node())).right-ue.l-(W?Le:we),ft=qt.bottom-ue.t-(W?we:Le),W||me!=="top"||(Vt+=qt.height,nt=qt.height)),qe&&(ht.attr("transform",a(Ke/2+kt/2,0)),Ke*=2),Vt=Math.max(Vt,W?Ke:ft)}var Ne=2*(W?X:Q)+Vt+H+q/2,Qe=0;!W&&de.text&&Z==="bottom"&&ie<=0&&(Ne+=Qe=Ne/2,nt+=Qe),oe._hColorbarMoveTitle=Qe,oe._hColorbarMoveCBTitle=nt;var ut=H+q;F.select("."+L.cbbg).attr("x",(W?Le:we)-ut/2-(W?X:0)).attr("y",(W?we:Le)-(W?be:Q+nt-Qe)).attr(W?"width":"height",Math.max(Ne-Qe,2)).attr(W?"height":"width",Math.max(be+ut,2)).call(h.fill,ne).call(h.stroke,B.bordercolor).style("stroke-width",H);var dt=qe?Math.max(Ke-10,0):0;if(F.selectAll("."+L.cboutline).attr("x",(W?Le:we+X)+dt).attr("y",(W?we+Q-be:Le)+(Je?Ft:0)).attr(W?"width":"height",Math.max(ae,2)).attr(W?"height":"width",Math.max(be-(W?2*Q+Ft:2*X+dt),2)).call(h.stroke,B.outlinecolor).style({fill:"none","stroke-width":q}),F.attr("transform",a(ue.l-(W?Be*Ne:0),ue.t-(W?0:(1-ze)*Ne-nt))),!W&&(H||g(ne).getAlpha()&&!g.equals(oe.paper_bgcolor,ne))){var _t=xt.selectAll("text"),It=_t[0].length,Lt=F.select("."+L.cbbg).node(),yt=s.bBox(Lt),Pt=s.getTranslate(F);_t.each(function(Qt,rn){var xn=It-1;if(rn===0||rn===xn){var un,An=s.bBox(this),Yn=s.getTranslate(this);if(rn===xn){var kn=An.right+Yn.x;(un=yt.right+Pt.x+we-H-2+re-kn)>0&&(un=0)}else if(rn===0){var sn=An.left+Yn.x;(un=yt.left+Pt.x+we+H+2-sn)<0&&(un=0)}un&&(It<3?this.setAttribute("transform","translate("+un+",0) "+this.getAttribute("transform")):this.setAttribute("visibility","hidden"))}})}var wt={},Rt=x[te],Nt=A[te],Yt=x[Z],Wt=A[Z],Xt=Ne-ae;W?($==="pixels"?(wt.y=ie,wt.t=be*Yt,wt.b=be*Wt):(wt.t=wt.b=0,wt.yt=ie+j*Yt,wt.yb=ie-j*Wt),G==="pixels"?(wt.x=re,wt.l=Ne*Rt,wt.r=Ne*Nt):(wt.l=Xt*Rt,wt.r=Xt*Nt,wt.xl=re-U*Rt,wt.xr=re+U*Nt)):($==="pixels"?(wt.x=re,wt.l=be*Rt,wt.r=be*Nt):(wt.l=wt.r=0,wt.xl=re+j*Rt,wt.xr=re-j*Nt),G==="pixels"?(wt.y=1-ie,wt.t=Ne*Yt,wt.b=Ne*Wt):(wt.t=Xt*Yt,wt.b=Xt*Wt,wt.yt=ie-U*Yt,wt.yb=ie+U*Wt)),i.autoMargin(N,B._id,wt)}],N)}(O,I,b);z&&z.then&&(b._promises||[]).push(z),b._context.edits.colorbarPosition&&function(F,B,N){var W,j,$,U=B.orientation==="v",G=N._fullLayout._size;f.init({element:F.node(),gd:N,prepFn:function(){W=F.attr("transform"),o(F)},moveFn:function(q,H){F.attr("transform",W+a(q,H)),j=f.align((U?B._uFrac:B._vFrac)+q/G.w,U?B._thickFrac:B._lenFrac,0,1,B.xanchor),$=f.align((U?B._vFrac:1-B._uFrac)-H/G.h,U?B._lenFrac:B._thickFrac,0,1,B.yanchor);var ne=f.getCursor(j,$,B.xanchor,B.yanchor);o(F,ne)},doneFn:function(){if(o(F),j!==void 0&&$!==void 0){var q={};q[B._propPrefix+"x"]=j,q[B._propPrefix+"y"]=$,B._traceIndex!==void 0?M.call("_guiRestyle",N,q,B._traceIndex):M.call("_guiRelayout",N,q)}}})}(O,I,b)}),R.exit().each(function(I){i.autoMargin(b,I._id)}).remove(),R.order()}}},76228:function(T,p,t){var d=t(71828);T.exports=function(g){return d.isPlainObject(g.colorbar)}},12311:function(T,p,t){T.exports={moduleType:"component",name:"colorbar",attributes:t(63583),supplyDefaults:t(62499),draw:t(98981).draw,hasColorbar:t(76228)}},50693:function(T,p,t){var d=t(63583),g=t(30587).counter,i=t(78607),M=t(63282).scales;function v(f){return"`"+f+"`"}i(M),T.exports=function(f,l){f=f||"";var a,u=(l=l||{}).cLetter||"c",o=("onlyIfNumerical"in l&&l.onlyIfNumerical,"noScale"in l?l.noScale:f==="marker.line"),s="showScaleDflt"in l?l.showScaleDflt:u==="z",h=typeof l.colorscaleDflt=="string"?M[l.colorscaleDflt]:null,c=l.editTypeOverride||"",m=f?f+".":"";"colorAttr"in l?(a=l.colorAttr,l.colorAttr):v(m+(a={z:"z",c:"color"}[u]));var w=u+"auto",y=u+"min",C=u+"max",_=u+"mid",k={};k[y]=k[C]=void 0;var E={};E[w]=!1;var x={};return a==="color"&&(x.color={valType:"color",arrayOk:!0,editType:c||"style"},l.anim&&(x.color.anim=!0)),x[w]={valType:"boolean",dflt:!0,editType:"calc",impliedEdits:k},x[y]={valType:"number",dflt:null,editType:c||"plot",impliedEdits:E},x[C]={valType:"number",dflt:null,editType:c||"plot",impliedEdits:E},x[_]={valType:"number",dflt:null,editType:"calc",impliedEdits:k},x.colorscale={valType:"colorscale",editType:"calc",dflt:h,impliedEdits:{autocolorscale:!1}},x.autocolorscale={valType:"boolean",dflt:l.autoColorDflt!==!1,editType:"calc",impliedEdits:{colorscale:void 0}},x.reversescale={valType:"boolean",dflt:!1,editType:"plot"},o||(x.showscale={valType:"boolean",dflt:s,editType:"calc"},x.colorbar=d),l.noColorAxis||(x.coloraxis={valType:"subplotid",regex:g("coloraxis"),dflt:null,editType:"calc"}),x}},78803:function(T,p,t){var d=t(92770),g=t(71828),i=t(52075).extractOpts;T.exports=function(M,v,f){var l,a=M._fullLayout,u=f.vals,o=f.containerStr,s=o?g.nestedProperty(v,o).get():v,h=i(s),c=h.auto!==!1,m=h.min,w=h.max,y=h.mid,C=function(){return g.aggNums(Math.min,null,u)},_=function(){return g.aggNums(Math.max,null,u)};m===void 0?m=C():c&&(m=s._colorAx&&d(m)?Math.min(m,C()):C()),w===void 0?w=_():c&&(w=s._colorAx&&d(w)?Math.max(w,_()):_()),c&&y!==void 0&&(w-y>y-m?m=y-(w-y):w-y=0?a.colorscale.sequential:a.colorscale.sequentialminus,h._sync("colorscale",l))}},33046:function(T,p,t){var d=t(71828),g=t(52075).hasColorscale,i=t(52075).extractOpts;T.exports=function(M,v){function f(c,m){var w=c["_"+m];w!==void 0&&(c[m]=w)}function l(c,m){var w=m.container?d.nestedProperty(c,m.container).get():c;if(w)if(w.coloraxis)w._colorAx=v[w.coloraxis];else{var y=i(w),C=y.auto;(C||y.min===void 0)&&f(w,m.min),(C||y.max===void 0)&&f(w,m.max),y.autocolorscale&&f(w,"colorscale")}}for(var a=0;a=0;C--,_++){var k=m[C];y[_]=[1-k[0],k[1]]}return y}function h(m,w){w=w||{};for(var y=m.domain,C=m.range,_=C.length,k=new Array(_),E=0;E<_;E++){var x=g(C[E]).toRgb();k[E]=[x.r,x.g,x.b,x.a]}var A,L=d.scale.linear().domain(y).range(k).clamp(!0),b=w.noNumericCheck,R=w.returnArray;return(A=b&&R?L:b?function(I){return c(L(I))}:R?function(I){return i(I)?L(I):g(I).isValid()?I:v.defaultLine}:function(I){return i(I)?c(L(I)):g(I).isValid()?I:v.defaultLine}).domain=L.domain,A.range=function(){return C},A}function c(m){var w={r:m[0],g:m[1],b:m[2],a:m[3]};return g(w).toRgbString()}T.exports={hasColorscale:function(m,w,y){var C=w?M.nestedProperty(m,w).get()||{}:m,_=C[y||"color"],k=!1;if(M.isArrayOrTypedArray(_)){for(var E=0;E<_.length;E++)if(i(_[E])){k=!0;break}}return M.isPlainObject(C)&&(k||C.showscale===!0||i(C.cmin)&&i(C.cmax)||f(C.colorscale)||M.isPlainObject(C.colorbar))},extractOpts:u,extractScale:o,flipScale:s,makeColorScaleFunc:h,makeColorScaleFuncFromTrace:function(m,w){return h(o(m),w)}}},21081:function(T,p,t){var d=t(63282),g=t(52075);T.exports={moduleType:"component",name:"colorscale",attributes:t(50693),layoutAttributes:t(72673),supplyLayoutDefaults:t(30959),handleDefaults:t(1586),crossTraceDefaults:t(33046),calc:t(78803),scales:d.scales,defaultScale:d.defaultScale,getScale:d.get,isValidScale:d.isValid,hasColorscale:g.hasColorscale,extractOpts:g.extractOpts,extractScale:g.extractScale,flipScale:g.flipScale,makeColorScaleFunc:g.makeColorScaleFunc,makeColorScaleFuncFromTrace:g.makeColorScaleFuncFromTrace}},72673:function(T,p,t){var d=t(1426).extendFlat,g=t(50693),i=t(63282).scales;T.exports={editType:"calc",colorscale:{editType:"calc",sequential:{valType:"colorscale",dflt:i.Reds,editType:"calc"},sequentialminus:{valType:"colorscale",dflt:i.Blues,editType:"calc"},diverging:{valType:"colorscale",dflt:i.RdBu,editType:"calc"}},coloraxis:d({_isSubplotObj:!0,editType:"calc"},g("",{colorAttr:"corresponding trace color array(s)",noColorAxis:!0,showScaleDflt:!0}))}},30959:function(T,p,t){var d=t(71828),g=t(44467),i=t(72673),M=t(1586);T.exports=function(v,f){function l(w,y){return d.coerce(v,f,i,w,y)}l("colorscale.sequential"),l("colorscale.sequentialminus"),l("colorscale.diverging");var a,u,o=f._colorAxes;function s(w,y){return d.coerce(a,u,i.coloraxis,w,y)}for(var h in o){var c=o[h];if(c[0])a=v[h]||{},(u=g.newContainer(f,h,"coloraxis"))._name=h,M(a,u,f,s,{prefix:"",cLetter:"c"});else{for(var m=0;m1.3333333333333333-f?v:f}},70461:function(T,p,t){var d=t(71828),g=[["sw-resize","s-resize","se-resize"],["w-resize","move","e-resize"],["nw-resize","n-resize","ne-resize"]];T.exports=function(i,M,v,f){return i=v==="left"?0:v==="center"?1:v==="right"?2:d.constrain(Math.floor(3*i),0,2),M=f==="bottom"?0:f==="middle"?1:f==="top"?2:d.constrain(Math.floor(3*M),0,2),g[M][i]}},64505:function(T,p){p.selectMode=function(t){return t==="lasso"||t==="select"},p.drawMode=function(t){return t==="drawclosedpath"||t==="drawopenpath"||t==="drawline"||t==="drawrect"||t==="drawcircle"},p.openMode=function(t){return t==="drawline"||t==="drawopenpath"},p.rectMode=function(t){return t==="select"||t==="drawline"||t==="drawrect"||t==="drawcircle"},p.freeMode=function(t){return t==="lasso"||t==="drawclosedpath"||t==="drawopenpath"},p.selectingOrDrawing=function(t){return p.freeMode(t)||p.rectMode(t)}},28569:function(T,p,t){var d=t(48956),g=t(57035),i=t(38520),M=t(71828).removeElement,v=t(85555),f=T.exports={};f.align=t(92807),f.getCursor=t(70461);var l=t(26041);function a(){var o=document.createElement("div");o.className="dragcover";var s=o.style;return s.position="fixed",s.left=0,s.right=0,s.top=0,s.bottom=0,s.zIndex=999999999,s.background="none",document.body.appendChild(o),o}function u(o){return d(o.changedTouches?o.changedTouches[0]:o,document.body)}f.unhover=l.wrapped,f.unhoverRaw=l.raw,f.init=function(o){var s,h,c,m,w,y,C,_,k=o.gd,E=1,x=k._context.doubleClickDelay,A=o.element;k._mouseDownTime||(k._mouseDownTime=0),A.style.pointerEvents="all",A.onmousedown=b,i?(A._ontouchstart&&A.removeEventListener("touchstart",A._ontouchstart),A._ontouchstart=b,A.addEventListener("touchstart",b,{passive:!1})):A.ontouchstart=b;var L=o.clampFn||function(O,z,F){return Math.abs(O)x&&(E=Math.max(E-1,1)),k._dragged)o.doneFn&&o.doneFn();else if(o.clickFn&&o.clickFn(E,y),!_){var z;try{z=new MouseEvent("click",O)}catch{var F=u(O);(z=document.createEvent("MouseEvents")).initMouseEvent("click",O.bubbles,O.cancelable,O.view,O.detail,O.screenX,O.screenY,F[0],F[1],O.ctrlKey,O.altKey,O.shiftKey,O.metaKey,O.button,O.relatedTarget)}C.dispatchEvent(z)}k._dragging=!1,k._dragged=!1}else k._dragged=!1}},f.coverSlip=a},26041:function(T,p,t){var d=t(11086),g=t(79990),i=t(24401).getGraphDiv,M=t(26675),v=T.exports={};v.wrapped=function(f,l,a){(f=i(f))._fullLayout&&g.clear(f._fullLayout._uid+M.HOVERID),v.raw(f,l,a)},v.raw=function(f,l){var a=f._fullLayout,u=f._hoverdata;l||(l={}),l.target&&!f._dragged&&d.triggerHandler(f,"plotly_beforehover",l)===!1||(a._hoverlayer.selectAll("g").remove(),a._hoverlayer.selectAll("line").remove(),a._hoverlayer.selectAll("circle").remove(),f._hoverdata=void 0,l.target&&u&&f.emit("plotly_unhover",{event:l,points:u}))}},79952:function(T,p){p.P={valType:"string",values:["solid","dot","dash","longdash","dashdot","longdashdot"],dflt:"solid",editType:"style"},p.u={shape:{valType:"enumerated",values:["","/","\\","x","-","|","+","."],dflt:"",arrayOk:!0,editType:"style"},fillmode:{valType:"enumerated",values:["replace","overlay"],dflt:"replace",editType:"style"},bgcolor:{valType:"color",arrayOk:!0,editType:"style"},fgcolor:{valType:"color",arrayOk:!0,editType:"style"},fgopacity:{valType:"number",editType:"style",min:0,max:1},size:{valType:"number",min:0,dflt:8,arrayOk:!0,editType:"style"},solidity:{valType:"number",min:0,max:1,dflt:.3,arrayOk:!0,editType:"style"},editType:"style"}},91424:function(T,p,t){var d=t(39898),g=t(71828),i=g.numberFormat,M=t(92770),v=t(84267),f=t(73972),l=t(7901),a=t(21081),u=g.strTranslate,o=t(63893),s=t(77922),h=t(18783).LINE_SPACING,c=t(37822).DESELECTDIM,m=t(34098),w=t(39984),y=t(23469).appendArrayPointValue,C=T.exports={};function _(_e,Me,Se){var Ce=Me.fillpattern,ae=Ce&&C.getPatternAttr(Ce.shape,0,"");if(ae){var fe=C.getPatternAttr(Ce.bgcolor,0,null),be=C.getPatternAttr(Ce.fgcolor,0,null),ke=Ce.fgopacity,Le=C.getPatternAttr(Ce.size,0,8),Be=C.getPatternAttr(Ce.solidity,0,.3),ze=Me.uid;C.pattern(_e,"point",Se,ze,ae,Le,Be,void 0,Ce.fillmode,fe,be,ke)}else Me.fillcolor&&_e.call(l.fill,Me.fillcolor)}C.font=function(_e,Me,Se,Ce){g.isPlainObject(Me)&&(Ce=Me.color,Se=Me.size,Me=Me.family),Me&&_e.style("font-family",Me),Se+1&&_e.style("font-size",Se+"px"),Ce&&_e.call(l.fill,Ce)},C.setPosition=function(_e,Me,Se){_e.attr("x",Me).attr("y",Se)},C.setSize=function(_e,Me,Se){_e.attr("width",Me).attr("height",Se)},C.setRect=function(_e,Me,Se,Ce,ae){_e.call(C.setPosition,Me,Se).call(C.setSize,Ce,ae)},C.translatePoint=function(_e,Me,Se,Ce){var ae=Se.c2p(_e.x),fe=Ce.c2p(_e.y);return!!(M(ae)&&M(fe)&&Me.node())&&(Me.node().nodeName==="text"?Me.attr("x",ae).attr("y",fe):Me.attr("transform",u(ae,fe)),!0)},C.translatePoints=function(_e,Me,Se){_e.each(function(Ce){var ae=d.select(this);C.translatePoint(Ce,ae,Me,Se)})},C.hideOutsideRangePoint=function(_e,Me,Se,Ce,ae,fe){Me.attr("display",Se.isPtWithinRange(_e,ae)&&Ce.isPtWithinRange(_e,fe)?null:"none")},C.hideOutsideRangePoints=function(_e,Me){if(Me._hasClipOnAxisFalse){var Se=Me.xaxis,Ce=Me.yaxis;_e.each(function(ae){var fe=ae[0].trace,be=fe.xcalendar,ke=fe.ycalendar,Le=f.traceIs(fe,"bar-like")?".bartext":".point,.textpoint";_e.selectAll(Le).each(function(Be){C.hideOutsideRangePoint(Be,d.select(this),Se,Ce,be,ke)})})}},C.crispRound=function(_e,Me,Se){return Me&&M(Me)?_e._context.staticPlot?Me:Me<1?1:Math.round(Me):Se||0},C.singleLineStyle=function(_e,Me,Se,Ce,ae){Me.style("fill","none");var fe=(((_e||[])[0]||{}).trace||{}).line||{},be=Se||fe.width||0,ke=ae||fe.dash||"";l.stroke(Me,Ce||fe.color),C.dashLine(Me,ke,be)},C.lineGroupStyle=function(_e,Me,Se,Ce){_e.style("fill","none").each(function(ae){var fe=(((ae||[])[0]||{}).trace||{}).line||{},be=Me||fe.width||0,ke=Ce||fe.dash||"";d.select(this).call(l.stroke,Se||fe.color).call(C.dashLine,ke,be)})},C.dashLine=function(_e,Me,Se){Se=+Se||0,Me=C.dashStyle(Me,Se),_e.style({"stroke-dasharray":Me,"stroke-width":Se+"px"})},C.dashStyle=function(_e,Me){Me=+Me||1;var Se=Math.max(Me,3);return _e==="solid"?_e="":_e==="dot"?_e=Se+"px,"+Se+"px":_e==="dash"?_e=3*Se+"px,"+3*Se+"px":_e==="longdash"?_e=5*Se+"px,"+5*Se+"px":_e==="dashdot"?_e=3*Se+"px,"+Se+"px,"+Se+"px,"+Se+"px":_e==="longdashdot"&&(_e=5*Se+"px,"+2*Se+"px,"+Se+"px,"+2*Se+"px"),_e},C.singleFillStyle=function(_e,Me){var Se=d.select(_e.node());_(_e,((Se.data()[0]||[])[0]||{}).trace||{},Me)},C.fillGroupStyle=function(_e,Me){_e.style("stroke-width",0).each(function(Se){var Ce=d.select(this);Se[0].trace&&_(Ce,Se[0].trace,Me)})};var k=t(90998);C.symbolNames=[],C.symbolFuncs=[],C.symbolBackOffs=[],C.symbolNeedLines={},C.symbolNoDot={},C.symbolNoFill={},C.symbolList=[],Object.keys(k).forEach(function(_e){var Me=k[_e],Se=Me.n;C.symbolList.push(Se,String(Se),_e,Se+100,String(Se+100),_e+"-open"),C.symbolNames[Se]=_e,C.symbolFuncs[Se]=Me.f,C.symbolBackOffs[Se]=Me.backoff||0,Me.needLine&&(C.symbolNeedLines[Se]=!0),Me.noDot?C.symbolNoDot[Se]=!0:C.symbolList.push(Se+200,String(Se+200),_e+"-dot",Se+300,String(Se+300),_e+"-open-dot"),Me.noFill&&(C.symbolNoFill[Se]=!0)});var E=C.symbolNames.length;function x(_e,Me,Se,Ce){var ae=_e%100;return C.symbolFuncs[ae](Me,Se,Ce)+(_e>=200?"M0,0.5L0.5,0L0,-0.5L-0.5,0Z":"")}C.symbolNumber=function(_e){if(M(_e))_e=+_e;else if(typeof _e=="string"){var Me=0;_e.indexOf("-open")>0&&(Me=100,_e=_e.replace("-open","")),_e.indexOf("-dot")>0&&(Me+=200,_e=_e.replace("-dot","")),(_e=C.symbolNames.indexOf(_e))>=0&&(_e+=Me)}return _e%100>=E||_e>=400?0:Math.floor(Math.max(_e,0))};var A={x1:1,x2:0,y1:0,y2:0},L={x1:0,x2:0,y1:1,y2:0},b=i("~f"),R={radial:{node:"radialGradient"},radialreversed:{node:"radialGradient",reversed:!0},horizontal:{node:"linearGradient",attrs:A},horizontalreversed:{node:"linearGradient",attrs:A,reversed:!0},vertical:{node:"linearGradient",attrs:L},verticalreversed:{node:"linearGradient",attrs:L,reversed:!0}};C.gradient=function(_e,Me,Se,Ce,ae,fe){for(var be=ae.length,ke=R[Ce],Le=new Array(be),Be=0;Be=100;var Be=Pe(_e,Se),ze=Q(_e,Se);Me.attr("d",x(Le,ke,Be,ze))}var je,ge,we,Ee=!1;if(_e.so)we=be.outlierwidth,ge=be.outliercolor,je=fe.outliercolor;else{var Ve=(be||{}).width;we=(_e.mlw+1||Ve+1||(_e.trace?(_e.trace.marker.line||{}).width:0)+1)-1||0,ge="mlc"in _e?_e.mlcc=Ce.lineScale(_e.mlc):g.isArrayOrTypedArray(be.color)?l.defaultLine:be.color,g.isArrayOrTypedArray(fe.color)&&(je=l.defaultLine,Ee=!0),je="mc"in _e?_e.mcc=Ce.markerScale(_e.mc):fe.color||"rgba(0,0,0,0)",Ce.selectedColorFn&&(je=Ce.selectedColorFn(_e))}if(_e.om)Me.call(l.stroke,je).style({"stroke-width":(we||1)+"px",fill:"none"});else{Me.style("stroke-width",(_e.isBlank?0:we)+"px");var $e=fe.gradient,Ye=_e.mgt;Ye?Ee=!0:Ye=$e&&$e.type,g.isArrayOrTypedArray(Ye)&&(Ye=Ye[0],R[Ye]||(Ye=0));var st=fe.pattern,ot=st&&C.getPatternAttr(st.shape,_e.i,"");if(Ye&&Ye!=="none"){var ht=_e.mgc;ht?Ee=!0:ht=$e.color;var bt=Se.uid;Ee&&(bt+="-"+_e.i),C.gradient(Me,ae,bt,Ye,[[0,ht],[1,je]],"fill")}else if(ot){var Et=C.getPatternAttr(st.bgcolor,_e.i,null),kt=C.getPatternAttr(st.fgcolor,_e.i,null),xt=st.fgopacity,Ft=C.getPatternAttr(st.size,_e.i,8),Ot=C.getPatternAttr(st.solidity,_e.i,.3),Bt=_e.mcc||g.isArrayOrTypedArray(st.shape)||g.isArrayOrTypedArray(st.bgcolor)||g.isArrayOrTypedArray(st.size)||g.isArrayOrTypedArray(st.solidity),qt=Se.uid;Bt&&(qt+="-"+_e.i),C.pattern(Me,"point",ae,qt,ot,Ft,Ot,_e.mcc,st.fillmode,Et,kt,xt)}else l.fill(Me,je);we&&l.stroke(Me,ge)}},C.makePointStyleFns=function(_e){var Me={},Se=_e.marker;return Me.markerScale=C.tryColorscale(Se,""),Me.lineScale=C.tryColorscale(Se,"line"),f.traceIs(_e,"symbols")&&(Me.ms2mrc=m.isBubble(_e)?w(_e):function(){return(Se.size||6)/2}),_e.selectedpoints&&g.extendFlat(Me,C.makeSelectedPointStyleFns(_e)),Me},C.makeSelectedPointStyleFns=function(_e){var Me={},Se=_e.selected||{},Ce=_e.unselected||{},ae=_e.marker||{},fe=Se.marker||{},be=Ce.marker||{},ke=ae.opacity,Le=fe.opacity,Be=be.opacity,ze=Le!==void 0,je=Be!==void 0;(g.isArrayOrTypedArray(ke)||ze||je)&&(Me.selectedOpacityFn=function(ht){var bt=ht.mo===void 0?ae.opacity:ht.mo;return ht.selected?ze?Le:bt:je?Be:c*bt});var ge=ae.color,we=fe.color,Ee=be.color;(we||Ee)&&(Me.selectedColorFn=function(ht){var bt=ht.mcc||ge;return ht.selected?we||bt:Ee||bt});var Ve=ae.size,$e=fe.size,Ye=be.size,st=$e!==void 0,ot=Ye!==void 0;return f.traceIs(_e,"symbols")&&(st||ot)&&(Me.selectedSizeFn=function(ht){var bt=ht.mrc||Ve/2;return ht.selected?st?$e/2:bt:ot?Ye/2:bt}),Me},C.makeSelectedTextStyleFns=function(_e){var Me={},Se=_e.selected||{},Ce=_e.unselected||{},ae=_e.textfont||{},fe=Se.textfont||{},be=Ce.textfont||{},ke=ae.color,Le=fe.color,Be=be.color;return Me.selectedTextColorFn=function(ze){var je=ze.tc||ke;return ze.selected?Le||je:Be||(Le?je:l.addOpacity(je,c))},Me},C.selectedPointStyle=function(_e,Me){if(_e.size()&&Me.selectedpoints){var Se=C.makeSelectedPointStyleFns(Me),Ce=Me.marker||{},ae=[];Se.selectedOpacityFn&&ae.push(function(fe,be){fe.style("opacity",Se.selectedOpacityFn(be))}),Se.selectedColorFn&&ae.push(function(fe,be){l.fill(fe,Se.selectedColorFn(be))}),Se.selectedSizeFn&&ae.push(function(fe,be){var ke=be.mx||Ce.symbol||0,Le=Se.selectedSizeFn(be);fe.attr("d",x(C.symbolNumber(ke),Le,Pe(be,Me),Q(be,Me))),be.mrc2=Le}),ae.length&&_e.each(function(fe){for(var be=d.select(this),ke=0;ke0?Se:0}function N(_e,Me,Se){return Se&&(_e=q(_e)),Me?j(_e[1]):W(_e[0])}function W(_e){var Me=d.round(_e,2);return I=Me,Me}function j(_e){var Me=d.round(_e,2);return O=Me,Me}function $(_e,Me,Se,Ce){var ae=_e[0]-Me[0],fe=_e[1]-Me[1],be=Se[0]-Me[0],ke=Se[1]-Me[1],Le=Math.pow(ae*ae+fe*fe,.25),Be=Math.pow(be*be+ke*ke,.25),ze=(Be*Be*ae-Le*Le*be)*Ce,je=(Be*Be*fe-Le*Le*ke)*Ce,ge=3*Be*(Le+Be),we=3*Le*(Le+Be);return[[W(Me[0]+(ge&&ze/ge)),j(Me[1]+(ge&&je/ge))],[W(Me[0]-(we&&ze/we)),j(Me[1]-(we&&je/we))]]}C.textPointStyle=function(_e,Me,Se){if(_e.size()){var Ce;if(Me.selectedpoints){var ae=C.makeSelectedTextStyleFns(Me);Ce=ae.selectedTextColorFn}var fe=Me.texttemplate,be=Se._fullLayout;_e.each(function(ke){var Le=d.select(this),Be=fe?g.extractOption(ke,Me,"txt","texttemplate"):g.extractOption(ke,Me,"tx","text");if(Be||Be===0){if(fe){var ze=Me._module.formatLabels,je=ze?ze(ke,Me,be):{},ge={};y(ge,Me,ke.i);var we=Me._meta||{};Be=g.texttemplateString(Be,je,be._d3locale,ge,ke,we)}var Ee=ke.tp||Me.textposition,Ve=B(ke,Me),$e=Ce?Ce(ke):ke.tc||Me.textfont.color;Le.call(C.font,ke.tf||Me.textfont.family,Ve,$e).text(Be).call(o.convertToTspans,Se).call(F,Ee,Ve,ke.mrc)}else Le.remove()})}},C.selectedTextStyle=function(_e,Me){if(_e.size()&&Me.selectedpoints){var Se=C.makeSelectedTextStyleFns(Me);_e.each(function(Ce){var ae=d.select(this),fe=Se.selectedTextColorFn(Ce),be=Ce.tp||Me.textposition,ke=B(Ce,Me);l.fill(ae,fe);var Le=f.traceIs(Me,"bar-like");F(ae,be,ke,Ce.mrc2||Ce.mrc,Le)})}},C.smoothopen=function(_e,Me){if(_e.length<3)return"M"+_e.join("L");var Se,Ce="M"+_e[0],ae=[];for(Se=1;Se<_e.length-1;Se++)ae.push($(_e[Se-1],_e[Se],_e[Se+1],Me));for(Ce+="Q"+ae[0][0]+" "+_e[1],Se=2;Se<_e.length-1;Se++)Ce+="C"+ae[Se-2][1]+" "+ae[Se-1][0]+" "+_e[Se];return Ce+"Q"+ae[_e.length-3][1]+" "+_e[_e.length-1]},C.smoothclosed=function(_e,Me){if(_e.length<3)return"M"+_e.join("L")+"Z";var Se,Ce="M"+_e[0],ae=_e.length-1,fe=[$(_e[ae],_e[0],_e[1],Me)];for(Se=1;Se=Le||ht>=ze&&ht<=Le)&&(bt<=je&&bt>=Be||bt>=je&&bt<=Be)&&(_e=[ht,bt])}return _e}C.steps=function(_e){var Me=U[_e]||G;return function(Se){for(var Ce="M"+W(Se[0][0])+","+j(Se[0][1]),ae=Se.length,fe=1;fe=1e4&&(C.savedBBoxes={},H=0),Se&&(C.savedBBoxes[Se]=we),H++,g.extendFlat({},we)},C.setClipUrl=function(_e,Me,Se){_e.attr("clip-path",te(Me,Se))},C.getTranslate=function(_e){var Me=(_e[_e.attr?"attr":"getAttribute"]("transform")||"").replace(/.*\btranslate\((-?\d*\.?\d*)[^-\d]*(-?\d*\.?\d*)[^\d].*/,function(Se,Ce,ae){return[Ce,ae].join(" ")}).split(" ");return{x:+Me[0]||0,y:+Me[1]||0}},C.setTranslate=function(_e,Me,Se){var Ce=_e.attr?"attr":"getAttribute",ae=_e.attr?"attr":"setAttribute",fe=_e[Ce]("transform")||"";return Me=Me||0,Se=Se||0,fe=fe.replace(/(\btranslate\(.*?\);?)/,"").trim(),fe=(fe+=u(Me,Se)).trim(),_e[ae]("transform",fe),fe},C.getScale=function(_e){var Me=(_e[_e.attr?"attr":"getAttribute"]("transform")||"").replace(/.*\bscale\((\d*\.?\d*)[^\d]*(\d*\.?\d*)[^\d].*/,function(Se,Ce,ae){return[Ce,ae].join(" ")}).split(" ");return{x:+Me[0]||1,y:+Me[1]||1}},C.setScale=function(_e,Me,Se){var Ce=_e.attr?"attr":"getAttribute",ae=_e.attr?"attr":"setAttribute",fe=_e[Ce]("transform")||"";return Me=Me||1,Se=Se||1,fe=fe.replace(/(\bscale\(.*?\);?)/,"").trim(),fe=(fe+="scale("+Me+","+Se+")").trim(),_e[ae]("transform",fe),fe};var Z=/\s*sc.*/;C.setPointGroupScale=function(_e,Me,Se){if(Me=Me||1,Se=Se||1,_e){var Ce=Me===1&&Se===1?"":"scale("+Me+","+Se+")";_e.each(function(){var ae=(this.getAttribute("transform")||"").replace(Z,"");ae=(ae+=Ce).trim(),this.setAttribute("transform",ae)})}};var X=/translate\([^)]*\)\s*$/;function Q(_e,Me){var Se;return _e&&(Se=_e.mf),Se===void 0&&(Se=Me.marker&&Me.marker.standoff||0),Me._geo||Me._xA?Se:-Se}C.setTextPointsScale=function(_e,Me,Se){_e&&_e.each(function(){var Ce,ae=d.select(this),fe=ae.select("text");if(fe.node()){var be=parseFloat(fe.attr("x")||0),ke=parseFloat(fe.attr("y")||0),Le=(ae.attr("transform")||"").match(X);Ce=Me===1&&Se===1?[]:[u(be,ke),"scale("+Me+","+Se+")",u(-be,-ke)],Le&&Ce.push(Le),ae.attr("transform",Ce.join(""))}})},C.getMarkerStandoff=Q;var re,ie,oe,ue,ce,ye,de=Math.atan2,me=Math.cos,pe=Math.sin;function xe(_e,Me){var Se=Me[0],Ce=Me[1];return[Se*me(_e)-Ce*pe(_e),Se*pe(_e)+Ce*me(_e)]}function Pe(_e,Me){var Se,Ce,ae=_e.ma;ae===void 0&&(ae=Me.marker.angle||0);var fe=Me.marker.angleref;if(fe==="previous"||fe==="north"){if(Me._geo){var be=Me._geo.project(_e.lonlat);Se=be[0],Ce=be[1]}else{var ke=Me._xA,Le=Me._yA;if(!ke||!Le)return 90;Se=ke.c2p(_e.x),Ce=Le.c2p(_e.y)}if(Me._geo){var Be,ze=_e.lonlat[0],je=_e.lonlat[1],ge=Me._geo.project([ze,je+1e-5]),we=Me._geo.project([ze+1e-5,je]),Ee=de(we[1]-Ce,we[0]-Se),Ve=de(ge[1]-Ce,ge[0]-Se);if(fe==="north")Be=ae/180*Math.PI;else if(fe==="previous"){var $e=ze/180*Math.PI,Ye=je/180*Math.PI,st=re/180*Math.PI,ot=ie/180*Math.PI,ht=st-$e,bt=me(ot)*pe(ht),Et=pe(ot)*me(Ye)-me(ot)*pe(Ye)*me(ht);Be=-de(bt,Et)-Math.PI,re=ze,ie=je}var kt=xe(Ee,[me(Be),0]),xt=xe(Ve,[pe(Be),0]);ae=de(kt[1]+xt[1],kt[0]+xt[0])/Math.PI*180,fe!=="previous"||ye===Me.uid&&_e.i===ce+1||(ae=null)}if(fe==="previous"&&!Me._geo)if(ye===Me.uid&&_e.i===ce+1&&M(Se)&&M(Ce)){var Ft=Se-oe,Ot=Ce-ue,Bt=Me.line&&Me.line.shape||"",qt=Bt.slice(Bt.length-1);qt==="h"&&(Ot=0),qt==="v"&&(Ft=0),ae+=de(Ot,Ft)/Math.PI*180+90}else ae=null}return oe=Se,ue=Ce,ce=_e.i,ye=Me.uid,ae}C.getMarkerAngle=Pe},90998:function(T,p,t){var d,g,i,M,v=t(95616),f=t(39898).round,l="M0,0Z",a=Math.sqrt(2),u=Math.sqrt(3),o=Math.PI,s=Math.cos,h=Math.sin;function c(w){return w===null}function m(w,y,C){if(!(w&&w%360!=0||y))return C;if(i===w&&M===y&&d===C)return g;function _(N,W){var j=s(N),$=h(N),U=W[0],G=W[1]+(y||0);return[U*j-G*$,U*$+G*j]}i=w,M=y,d=C;for(var k=w/180*o,E=0,x=0,A=v(C),L="",b=0;b0,h=v._context.staticPlot;f.each(function(c){var m,w=c[0].trace,y=w.error_x||{},C=w.error_y||{};w.ids&&(m=function(x){return x.id});var _=M.hasMarkers(w)&&w.marker.maxdisplayed>0;C.visible||y.visible||(c=[]);var k=d.select(this).selectAll("g.errorbar").data(c,m);if(k.exit().remove(),c.length){y.visible||k.selectAll("path.xerror").remove(),C.visible||k.selectAll("path.yerror").remove(),k.style("opacity",1);var E=k.enter().append("g").classed("errorbar",!0);s&&E.style("opacity",0).transition().duration(a.duration).style("opacity",1),i.setClipUrl(k,l.layerClipId,v),k.each(function(x){var A=d.select(this),L=function(F,B,N){var W={x:B.c2p(F.x),y:N.c2p(F.y)};return F.yh!==void 0&&(W.yh=N.c2p(F.yh),W.ys=N.c2p(F.ys),g(W.ys)||(W.noYS=!0,W.ys=N.c2p(F.ys,!0))),F.xh!==void 0&&(W.xh=B.c2p(F.xh),W.xs=B.c2p(F.xs),g(W.xs)||(W.noXS=!0,W.xs=B.c2p(F.xs,!0))),W}(x,u,o);if(!_||x.vis){var b,R=A.select("path.yerror");if(C.visible&&g(L.x)&&g(L.yh)&&g(L.ys)){var I=C.width;b="M"+(L.x-I)+","+L.yh+"h"+2*I+"m-"+I+",0V"+L.ys,L.noYS||(b+="m-"+I+",0h"+2*I),R.size()?s&&(R=R.transition().duration(a.duration).ease(a.easing)):R=A.append("path").style("vector-effect",h?"none":"non-scaling-stroke").classed("yerror",!0),R.attr("d",b)}else R.remove();var O=A.select("path.xerror");if(y.visible&&g(L.y)&&g(L.xh)&&g(L.xs)){var z=(y.copy_ystyle?C:y).width;b="M"+L.xh+","+(L.y-z)+"v"+2*z+"m0,-"+z+"H"+L.xs,L.noXS||(b+="m0,-"+z+"v"+2*z),O.size()?s&&(O=O.transition().duration(a.duration).ease(a.easing)):O=A.append("path").style("vector-effect",h?"none":"non-scaling-stroke").classed("xerror",!0),O.attr("d",b)}else O.remove()}})}})}},62662:function(T,p,t){var d=t(39898),g=t(7901);T.exports=function(i){i.each(function(M){var v=M[0].trace,f=v.error_y||{},l=v.error_x||{},a=d.select(this);a.selectAll("path.yerror").style("stroke-width",f.thickness+"px").call(g.stroke,f.color),l.copy_ystyle&&(l=f),a.selectAll("path.xerror").style("stroke-width",l.thickness+"px").call(g.stroke,l.color)})}},77914:function(T,p,t){var d=t(41940),g=t(528).hoverlabel,i=t(1426).extendFlat;T.exports={hoverlabel:{bgcolor:i({},g.bgcolor,{arrayOk:!0}),bordercolor:i({},g.bordercolor,{arrayOk:!0}),font:d({arrayOk:!0,editType:"none"}),align:i({},g.align,{arrayOk:!0}),namelength:i({},g.namelength,{arrayOk:!0}),editType:"none"}}},30732:function(T,p,t){var d=t(71828),g=t(73972);function i(M,v,f,l){l=l||d.identity,Array.isArray(M)&&(v[0][f]=l(M))}T.exports=function(M){var v=M.calcdata,f=M._fullLayout;function l(h){return function(c){return d.coerceHoverinfo({hoverinfo:c},{_module:h._module},f)}}for(var a=0;a=0&&u.indexae[0]._length||Je<0||Je>fe[0]._length)return h.unhoverRaw(ue,ce)}else Ke="xpx"in ce?ce.xpx:ae[0]._length/2,Je="ypx"in ce?ce.ypx:fe[0]._length/2;if(ce.pointerX=Ke+ae[0]._offset,ce.pointerY=Je+fe[0]._offset,we="xval"in ce?w.flat(pe,ce.xval):w.p2c(ae,Ke),Ee="yval"in ce?w.flat(pe,ce.yval):w.p2c(fe,Je),!g(we[0])||!g(Ee[0]))return M.warn("Fx.hover failed",ce,ue),h.unhoverRaw(ue,ce)}var ft=1/0;function Re(Kt,bn){for($e=0;$eFt&&(Ot.splice(0,Ft),ft=Ot[0].distance),Me&&ge!==0&&Ot.length===0){xt.distance=ge,xt.index=!1;var $n=st._module.hoverPoints(xt,Et,kt,"closest",{hoverLayer:xe._hoverlayer});if($n&&($n=$n.filter(function(Jt){return Jt.spikeDistance<=ge})),$n&&$n.length){var tr,mr=$n.filter(function(Jt){return Jt.xa.showspikes&&Jt.xa.spikesnap!=="hovered data"});if(mr.length){var nn=mr[0];g(nn.x0)&&g(nn.y0)&&(tr=Qe(nn),(!qt.vLinePoint||qt.vLinePoint.spikeDistance>tr.spikeDistance)&&(qt.vLinePoint=tr))}var Pn=$n.filter(function(Jt){return Jt.ya.showspikes&&Jt.ya.spikesnap!=="hovered data"});if(Pn.length){var jt=Pn[0];g(jt.x0)&&g(jt.y0)&&(tr=Qe(jt),(!qt.hLinePoint||qt.hLinePoint.spikeDistance>tr.spikeDistance)&&(qt.hLinePoint=tr))}}}}}function Ne(Kt,bn,Rn){for(var Ln,Un=null,Kn=1/0,$n=0;$n0&&Math.abs(Kt.distance)Yt-1;Wt--)xn(Ot[Wt]);Ot=Xt,It()}var un=ue._hoverdata,An=[],Yn=ne(ue),kn=te(ue);for(Ve=0;Ve1||Ot.length>1)||ze==="closest"&&Vt&&Ot.length>1,yr=s.combine(xe.plot_bgcolor||s.background,xe.paper_bgcolor),or=B(Ot,{gd:ue,hovermode:ze,rotateLabels:Sr,bgColor:yr,container:xe._hoverlayer,outerContainer:xe._paper.node(),commonLabelOpts:xe.hoverlabel,hoverdistance:xe.hoverdistance}),vr=or.hoverLabels;if(w.isUnifiedHover(ze)||(function(Kt,bn,Rn,Ln){var Un,Kn,$n,tr,mr,nn,Pn,jt=bn?"xa":"ya",Jt=bn?"ya":"xa",hn=0,zn=1,On=Kt.size(),En=new Array(On),mn=0,wn=Ln.minX,gn=Ln.maxX,yn=Ln.minY,Sn=Ln.maxY,Vn=function(Lr){return Lr*Rn._invScaleX},Xn=function(Lr){return Lr*Rn._invScaleY};function nr(Lr){var zr=Lr[0],gr=Lr[Lr.length-1];if(Kn=zr.pmin-zr.pos-zr.dp+zr.size,$n=gr.pos+gr.dp+gr.size-zr.pmax,Kn>.01){for(mr=Lr.length-1;mr>=0;mr--)Lr[mr].dp+=Kn;Un=!1}if(!($n<.01)){if(Kn<-.01){for(mr=Lr.length-1;mr>=0;mr--)Lr[mr].dp-=$n;Un=!1}if(Un){var Fr=0;for(tr=0;trzr.pmax&&Fr++;for(tr=Lr.length-1;tr>=0&&!(Fr<=0);tr--)(nn=Lr[tr]).pos>zr.pmax-1&&(nn.del=!0,Fr--);for(tr=0;tr=0;mr--)Lr[mr].dp-=$n;for(tr=Lr.length-1;tr>=0&&!(Fr<=0);tr--)(nn=Lr[tr]).pos+nn.dp+nn.size>zr.pmax&&(nn.del=!0,Fr--)}}}for(Kt.each(function(Lr){var zr=Lr[jt],gr=Lr[Jt],Fr=zr._id.charAt(0)==="x",ii=zr.range;mn===0&&ii&&ii[0]>ii[1]!==Fr&&(zn=-1);var ji=0,ea=Fr?Rn.width:Rn.height;if(Rn.hovermode==="x"||Rn.hovermode==="y"){var sa,co,La=W(Lr,bn),Xi=Lr.anchor,Do=Xi==="end"?-1:1;if(Xi==="middle")co=(sa=Lr.crossPos+(Fr?Xn(La.y-Lr.by/2):Vn(Lr.bx/2+Lr.tx2width/2)))+(Fr?Xn(Lr.by):Vn(Lr.bx));else if(Fr)co=(sa=Lr.crossPos+Xn(b+La.y)-Xn(Lr.by/2-b))+Xn(Lr.by);else{var rs=Vn(Do*b+La.x),el=rs+Vn(Do*Lr.bx);sa=Lr.crossPos+Math.min(rs,el),co=Lr.crossPos+Math.max(rs,el)}Fr?yn!==void 0&&Sn!==void 0&&Math.min(co,Sn)-Math.max(sa,yn)>1&&(gr.side==="left"?(ji=gr._mainLinePosition,ea=Rn.width):ea=gr._mainLinePosition):wn!==void 0&&gn!==void 0&&Math.min(co,gn)-Math.max(sa,wn)>1&&(gr.side==="top"?(ji=gr._mainLinePosition,ea=Rn.height):ea=gr._mainLinePosition)}En[mn++]=[{datum:Lr,traceIndex:Lr.trace.index,dp:0,pos:Lr.pos,posref:Lr.posref,size:Lr.by*(Fr?x:1)/2,pmin:ji,pmax:ea}]}),En.sort(function(Lr,zr){return Lr[0].posref-zr[0].posref||zn*(zr[0].traceIndex-Lr[0].traceIndex)});!Un&&hn<=On;){for(hn++,Un=!0,tr=0;tr.01&&cr.pmin===pr.pmin&&cr.pmax===pr.pmax){for(mr=hr.length-1;mr>=0;mr--)hr[mr].dp+=Kn;for(Qn.push.apply(Qn,hr),En.splice(tr+1,1),Pn=0,mr=Qn.length-1;mr>=0;mr--)Pn+=Qn[mr].dp;for($n=Pn/Qn.length,mr=Qn.length-1;mr>=0;mr--)Qn[mr].dp-=$n;Un=!1}else tr++}En.forEach(nr)}for(tr=En.length-1;tr>=0;tr--){var dr=En[tr];for(mr=dr.length-1;mr>=0;mr--){var br=dr[mr],Rr=br.datum;Rr.offset=br.dp,Rr.del=br.del}}}(vr,Sr,xe,or.commonLabelBoundingBox),j(vr,Sr,xe._invScaleX,xe._invScaleY)),me&&me.tagName){var _r=m.getComponentMethod("annotations","hasClickToShow")(ue,An);u(d.select(me),_r?"pointer":"")}me&&!de&&function(Kt,bn,Rn){if(!Rn||Rn.length!==Kt._hoverdata.length)return!0;for(var Ln=Rn.length-1;Ln>=0;Ln--){var Un=Rn[Ln],Kn=Kt._hoverdata[Ln];if(Un.curveNumber!==Kn.curveNumber||String(Un.pointNumber)!==String(Kn.pointNumber)||String(Un.pointNumbers)!==String(Kn.pointNumbers))return!0}return!1}(ue,0,un)&&(un&&ue.emit("plotly_unhover",{event:ce,points:un}),ue.emit("plotly_hover",{event:ce,points:ue._hoverdata,xaxes:ae,yaxes:fe,xvals:we,yvals:Ee}))})(X,Q,re,ie,oe)})},p.loneHover=function(X,Q){var re=!0;Array.isArray(X)||(re=!1,X=[X]);var ie=Q.gd,oe=ne(ie),ue=te(ie),ce=B(X.map(function(me){var pe=me._x0||me.x0||me.x||0,xe=me._x1||me.x1||me.x||0,Pe=me._y0||me.y0||me.y||0,_e=me._y1||me.y1||me.y||0,Me=me.eventData;if(Me){var Se=Math.min(pe,xe),Ce=Math.max(pe,xe),ae=Math.min(Pe,_e),fe=Math.max(Pe,_e),be=me.trace;if(m.traceIs(be,"gl3d")){var ke=ie._fullLayout[be.scene]._scene.container,Le=ke.offsetLeft,Be=ke.offsetTop;Se+=Le,Ce+=Le,ae+=Be,fe+=Be}Me.bbox={x0:Se+ue,x1:Ce+ue,y0:ae+oe,y1:fe+oe},Q.inOut_bbox&&Q.inOut_bbox.push(Me.bbox)}else Me=!1;return{color:me.color||s.defaultLine,x0:me.x0||me.x||0,x1:me.x1||me.x||0,y0:me.y0||me.y||0,y1:me.y1||me.y||0,xLabel:me.xLabel,yLabel:me.yLabel,zLabel:me.zLabel,text:me.text,name:me.name,idealAlign:me.idealAlign,borderColor:me.borderColor,fontFamily:me.fontFamily,fontSize:me.fontSize,fontColor:me.fontColor,nameLength:me.nameLength,textAlign:me.textAlign,trace:me.trace||{index:0,hoverinfo:""},xa:{_offset:0},ya:{_offset:0},index:0,hovertemplate:me.hovertemplate||!1,hovertemplateLabels:me.hovertemplateLabels||!1,eventData:Me}}),{gd:ie,hovermode:"closest",rotateLabels:!1,bgColor:Q.bgColor||s.background,container:d.select(Q.container),outerContainer:Q.outerContainer||Q.container}).hoverLabels,ye=0,de=0;return ce.sort(function(me,pe){return me.y0-pe.y0}).each(function(me,pe){var xe=me.y0-me.by/2;me.offset=xe-5([\s\S]*)<\/extra>/;function B(X,Q){var re=Q.gd,ie=re._fullLayout,oe=Q.hovermode,ue=Q.rotateLabels,ce=Q.bgColor,ye=Q.container,de=Q.outerContainer,me=Q.commonLabelOpts||{};if(X.length===0)return[[]];var pe=Q.fontFamily||y.HOVERFONT,xe=Q.fontSize||y.HOVERFONTSIZE,Pe=X[0],_e=Pe.xa,Me=Pe.ya,Se=oe.charAt(0),Ce=Se+"Label",ae=Pe[Ce];if(ae===void 0&&_e.type==="multicategory")for(var fe=0;feie.width-kn?(xn=ie.width-kn,Nt.attr("d","M"+(kn-b)+",0L"+kn+","+Yn+b+"v"+Yn+(2*R+An.height)+"H-"+kn+"V"+Yn+b+"H"+(kn-2*b)+"Z")):Nt.attr("d","M0,0L"+b+","+Yn+b+"H"+kn+"v"+Yn+(2*R+An.height)+"H-"+kn+"V"+Yn+b+"H-"+b+"Z"),$e.minX=xn-kn,$e.maxX=xn+kn,_e.side==="top"?($e.minY=un-(2*R+An.height),$e.maxY=un-R):($e.minY=un+R,$e.maxY=un+(2*R+An.height))}else{var sn,Tn,dn;Me.side==="right"?(sn="start",Tn=1,dn="",xn=_e._offset+_e._length):(sn="end",Tn=-1,dn="-",xn=_e._offset),un=Me._offset+(Pe.y0+Pe.y1)/2,Yt.attr("text-anchor",sn),Nt.attr("d","M0,0L"+dn+b+","+b+"V"+(R+An.height/2)+"h"+dn+(2*R+An.width)+"V-"+(R+An.height/2)+"H"+dn+b+"V-"+b+"Z"),$e.minY=un-(R+An.height/2),$e.maxY=un+(R+An.height/2),Me.side==="right"?($e.minX=xn+b,$e.maxX=xn+b+(2*R+An.width)):($e.minX=xn-b-(2*R+An.width),$e.maxX=xn-b);var pn,Dn=An.height/2,In=ke-An.top-Dn,jn="clip"+ie._uid+"commonlabel"+Me._id;if(xn=0?Je:qe+Re=0?qe:yt+Re=0?Vt:Ke+Ne=0?Ke:Pt+Ne=0,Rt.idealAlign!=="top"&&rr||!Sr?rr?(Dn+=jn/2,Rt.anchor="start"):Rt.anchor="middle":(Dn-=jn/2,Rt.anchor="end"),Rt.crossPos=Dn;else{if(Rt.pos=Dn,rr=pn+In/2+yr<=Le,Sr=pn-In/2-yr>=0,Rt.idealAlign!=="left"&&rr||!Sr)if(rr)pn+=In/2,Rt.anchor="start";else{Rt.anchor="middle";var or=yr/2,vr=pn+or-Le,_r=pn-or;vr>0&&(pn-=vr),_r<0&&(pn+=-_r)}else pn-=In/2,Rt.anchor="end";Rt.crossPos=pn}Yn.attr("text-anchor",Rt.anchor),sn&&kn.attr("text-anchor",Rt.anchor),Nt.attr("transform",v(pn,Dn)+(ue?f(k):""))}),{hoverLabels:wt,commonLabelBoundingBox:$e}}function N(X,Q,re,ie,oe,ue){var ce="",ye="";X.nameOverride!==void 0&&(X.name=X.nameOverride),X.name&&(X.trace._meta&&(X.name=M.templateString(X.name,X.trace._meta)),ce=q(X.name,X.nameLength));var de=re.charAt(0),me=de==="x"?"y":"x";X.zLabel!==void 0?(X.xLabel!==void 0&&(ye+="x: "+X.xLabel+"
"),X.yLabel!==void 0&&(ye+="y: "+X.yLabel+"
"),X.trace.type!=="choropleth"&&X.trace.type!=="choroplethmapbox"&&(ye+=(ye?"z: ":"")+X.zLabel)):Q&&X[de+"Label"]===oe?ye=X[me+"Label"]||"":X.xLabel===void 0?X.yLabel!==void 0&&X.trace.type!=="scattercarpet"&&(ye=X.yLabel):ye=X.yLabel===void 0?X.xLabel:"("+X.xLabel+", "+X.yLabel+")",!X.text&&X.text!==0||Array.isArray(X.text)||(ye+=(ye?"
":"")+X.text),X.extraText!==void 0&&(ye+=(ye?"
":"")+X.extraText),ue&&ye===""&&!X.hovertemplate&&(ce===""&&ue.remove(),ye=ce);var pe=X.hovertemplate||!1;if(pe){var xe=X.hovertemplateLabels||X;X[de+"Label"]!==oe&&(xe[de+"other"]=xe[de+"Val"],xe[de+"otherLabel"]=xe[de+"Label"]),ye=(ye=M.hovertemplateString(pe,xe,ie._d3locale,X.eventData[0]||{},X.trace._meta)).replace(F,function(Pe,_e){return ce=q(_e,X.nameLength),""})}return[ye,ce]}function W(X,Q){var re=0,ie=X.offset;return Q&&(ie*=-L,re=X.offset*A),{x:re,y:ie}}function j(X,Q,re,ie){var oe=function(ce){return ce*re},ue=function(ce){return ce*ie};X.each(function(ce){var ye=d.select(this);if(ce.del)return ye.remove();var de,me,pe,xe,Pe=ye.select("text.nums"),_e=ce.anchor,Me=_e==="end"?-1:1,Se=(xe=(pe=(me={start:1,end:-1,middle:0}[(de=ce).anchor])*(b+R))+me*(de.txwidth+R),de.anchor==="middle"&&(pe-=de.tx2width/2,xe+=de.txwidth/2+R),{alignShift:me,textShiftX:pe,text2ShiftX:xe}),Ce=W(ce,Q),ae=Ce.x,fe=Ce.y,be=_e==="middle";ye.select("path").attr("d",be?"M-"+oe(ce.bx/2+ce.tx2width/2)+","+ue(fe-ce.by/2)+"h"+oe(ce.bx)+"v"+ue(ce.by)+"h-"+oe(ce.bx)+"Z":"M0,0L"+oe(Me*b+ae)+","+ue(b+fe)+"v"+ue(ce.by/2-b)+"h"+oe(Me*ce.bx)+"v-"+ue(ce.by)+"H"+oe(Me*b+ae)+"V"+ue(fe-b)+"Z");var ke=ae+Se.textShiftX,Le=fe+ce.ty0-ce.by/2+R,Be=ce.textAlign||"auto";Be!=="auto"&&(Be==="left"&&_e!=="start"?(Pe.attr("text-anchor","start"),ke=be?-ce.bx/2-ce.tx2width/2+R:-ce.bx-R):Be==="right"&&_e!=="end"&&(Pe.attr("text-anchor","end"),ke=be?ce.bx/2-ce.tx2width/2-R:ce.bx+R)),Pe.call(a.positionText,oe(ke),ue(Le)),ce.tx2width&&(ye.select("text.name").call(a.positionText,oe(Se.text2ShiftX+Se.alignShift*R+ae),ue(fe+ce.ty0-ce.by/2+R)),ye.select("rect").call(o.setRect,oe(Se.text2ShiftX+(Se.alignShift-1)*ce.tx2width/2+ae),ue(fe-ce.by/2-1),oe(ce.tx2width),ue(ce.by+2)))})}function $(X,Q){var re=X.index,ie=X.trace||{},oe=X.cd[0],ue=X.cd[re]||{};function ce(Pe){return Pe||g(Pe)&&Pe===0}var ye=Array.isArray(re)?function(Pe,_e){var Me=M.castOption(oe,re,Pe);return ce(Me)?Me:M.extractOption({},ie,"",_e)}:function(Pe,_e){return M.extractOption(ue,ie,Pe,_e)};function de(Pe,_e,Me){var Se=ye(_e,Me);ce(Se)&&(X[Pe]=Se)}if(de("hoverinfo","hi","hoverinfo"),de("bgcolor","hbg","hoverlabel.bgcolor"),de("borderColor","hbc","hoverlabel.bordercolor"),de("fontFamily","htf","hoverlabel.font.family"),de("fontSize","hts","hoverlabel.font.size"),de("fontColor","htc","hoverlabel.font.color"),de("nameLength","hnl","hoverlabel.namelength"),de("textAlign","hta","hoverlabel.align"),X.posref=Q==="y"||Q==="closest"&&ie.orientation==="h"?X.xa._offset+(X.x0+X.x1)/2:X.ya._offset+(X.y0+X.y1)/2,X.x0=M.constrain(X.x0,0,X.xa._length),X.x1=M.constrain(X.x1,0,X.xa._length),X.y0=M.constrain(X.y0,0,X.ya._length),X.y1=M.constrain(X.y1,0,X.ya._length),X.xLabelVal!==void 0&&(X.xLabel="xLabel"in X?X.xLabel:c.hoverLabelText(X.xa,X.xLabelVal,ie.xhoverformat),X.xVal=X.xa.c2d(X.xLabelVal)),X.yLabelVal!==void 0&&(X.yLabel="yLabel"in X?X.yLabel:c.hoverLabelText(X.ya,X.yLabelVal,ie.yhoverformat),X.yVal=X.ya.c2d(X.yLabelVal)),X.zLabelVal!==void 0&&X.zLabel===void 0&&(X.zLabel=String(X.zLabelVal)),!(isNaN(X.xerr)||X.xa.type==="log"&&X.xerr<=0)){var me=c.tickText(X.xa,X.xa.c2l(X.xerr),"hover").text;X.xerrneg!==void 0?X.xLabel+=" +"+me+" / -"+c.tickText(X.xa,X.xa.c2l(X.xerrneg),"hover").text:X.xLabel+=" ± "+me,Q==="x"&&(X.distance+=1)}if(!(isNaN(X.yerr)||X.ya.type==="log"&&X.yerr<=0)){var pe=c.tickText(X.ya,X.ya.c2l(X.yerr),"hover").text;X.yerrneg!==void 0?X.yLabel+=" +"+pe+" / -"+c.tickText(X.ya,X.ya.c2l(X.yerrneg),"hover").text:X.yLabel+=" ± "+pe,Q==="y"&&(X.distance+=1)}var xe=X.hoverinfo||X.trace.hoverinfo;return xe&&xe!=="all"&&((xe=Array.isArray(xe)?xe:xe.split("+")).indexOf("x")===-1&&(X.xLabel=void 0),xe.indexOf("y")===-1&&(X.yLabel=void 0),xe.indexOf("z")===-1&&(X.zLabel=void 0),xe.indexOf("text")===-1&&(X.text=void 0),xe.indexOf("name")===-1&&(X.name=void 0)),X}function U(X,Q,re){var ie,oe,ue=re.container,ce=re.fullLayout,ye=ce._size,de=re.event,me=!!Q.hLinePoint,pe=!!Q.vLinePoint;if(ue.selectAll(".spikeline").remove(),pe||me){var xe=s.combine(ce.plot_bgcolor,ce.paper_bgcolor);if(me){var Pe,_e,Me=Q.hLinePoint;ie=Me&&Me.xa,(oe=Me&&Me.ya).spikesnap==="cursor"?(Pe=de.pointerX,_e=de.pointerY):(Pe=ie._offset+Me.x,_e=oe._offset+Me.y);var Se,Ce,ae=i.readability(Me.color,xe)<1.5?s.contrast(xe):Me.color,fe=oe.spikemode,be=oe.spikethickness,ke=oe.spikecolor||ae,Le=c.getPxPosition(X,oe);if(fe.indexOf("toaxis")!==-1||fe.indexOf("across")!==-1){if(fe.indexOf("toaxis")!==-1&&(Se=Le,Ce=Pe),fe.indexOf("across")!==-1){var Be=oe._counterDomainMin,ze=oe._counterDomainMax;oe.anchor==="free"&&(Be=Math.min(Be,oe.position),ze=Math.max(ze,oe.position)),Se=ye.l+Be*ye.w,Ce=ye.l+ze*ye.w}ue.insert("line",":first-child").attr({x1:Se,x2:Ce,y1:_e,y2:_e,"stroke-width":be,stroke:ke,"stroke-dasharray":o.dashStyle(oe.spikedash,be)}).classed("spikeline",!0).classed("crisp",!0),ue.insert("line",":first-child").attr({x1:Se,x2:Ce,y1:_e,y2:_e,"stroke-width":be+2,stroke:xe}).classed("spikeline",!0).classed("crisp",!0)}fe.indexOf("marker")!==-1&&ue.insert("circle",":first-child").attr({cx:Le+(oe.side!=="right"?be:-be),cy:_e,r:be,fill:ke}).classed("spikeline",!0)}if(pe){var je,ge,we=Q.vLinePoint;ie=we&&we.xa,oe=we&&we.ya,ie.spikesnap==="cursor"?(je=de.pointerX,ge=de.pointerY):(je=ie._offset+we.x,ge=oe._offset+we.y);var Ee,Ve,$e=i.readability(we.color,xe)<1.5?s.contrast(xe):we.color,Ye=ie.spikemode,st=ie.spikethickness,ot=ie.spikecolor||$e,ht=c.getPxPosition(X,ie);if(Ye.indexOf("toaxis")!==-1||Ye.indexOf("across")!==-1){if(Ye.indexOf("toaxis")!==-1&&(Ee=ht,Ve=ge),Ye.indexOf("across")!==-1){var bt=ie._counterDomainMin,Et=ie._counterDomainMax;ie.anchor==="free"&&(bt=Math.min(bt,ie.position),Et=Math.max(Et,ie.position)),Ee=ye.t+(1-Et)*ye.h,Ve=ye.t+(1-bt)*ye.h}ue.insert("line",":first-child").attr({x1:je,x2:je,y1:Ee,y2:Ve,"stroke-width":st,stroke:ot,"stroke-dasharray":o.dashStyle(ie.spikedash,st)}).classed("spikeline",!0).classed("crisp",!0),ue.insert("line",":first-child").attr({x1:je,x2:je,y1:Ee,y2:Ve,"stroke-width":st+2,stroke:xe}).classed("spikeline",!0).classed("crisp",!0)}Ye.indexOf("marker")!==-1&&ue.insert("circle",":first-child").attr({cx:je,cy:ht-(ie.side!=="top"?st:-st),r:st,fill:ot}).classed("spikeline",!0)}}}function G(X,Q){return!Q||Q.vLinePoint!==X._spikepoints.vLinePoint||Q.hLinePoint!==X._spikepoints.hLinePoint}function q(X,Q){return a.plainText(X||"",{len:Q,allowedTags:["br","sub","sup","b","i","em"]})}function H(X,Q,re){var ie=Q[X+"a"],oe=Q[X+"Val"],ue=Q.cd[0];if(ie.type==="category"||ie.type==="multicategory")oe=ie._categoriesMap[oe];else if(ie.type==="date"){var ce=Q.trace[X+"periodalignment"];if(ce){var ye=Q.cd[Q.index],de=ye[X+"Start"];de===void 0&&(de=ye[X]);var me=ye[X+"End"];me===void 0&&(me=ye[X]);var pe=me-de;ce==="end"?oe+=pe:ce==="middle"&&(oe+=pe/2)}oe=ie.d2c(oe)}return ue&&ue.t&&ue.t.posLetter===ie._id&&(re.boxmode!=="group"&&re.violinmode!=="group"||(oe+=ue.t.dPos)),oe}function ne(X){return X.offsetTop+X.clientTop}function te(X){return X.offsetLeft+X.clientLeft}function Z(X,Q){var re=X._fullLayout,ie=Q.getBoundingClientRect(),oe=ie.left,ue=ie.top,ce=oe+ie.width,ye=ue+ie.height,de=M.apply3DTransform(re._invTransform)(oe,ue),me=M.apply3DTransform(re._invTransform)(ce,ye),pe=de[0],xe=de[1],Pe=me[0],_e=me[1];return{x:pe,y:xe,width:Pe-pe,height:_e-xe,top:Math.min(xe,_e),left:Math.min(pe,Pe),right:Math.max(pe,Pe),bottom:Math.max(xe,_e)}}},38048:function(T,p,t){var d=t(71828),g=t(7901),i=t(23469).isUnifiedHover;T.exports=function(M,v,f,l){l=l||{};var a=v.legend;function u(o){l.font[o]||(l.font[o]=a?v.legend.font[o]:v.font[o])}v&&i(v.hovermode)&&(l.font||(l.font={}),u("size"),u("family"),u("color"),a?(l.bgcolor||(l.bgcolor=g.combine(v.legend.bgcolor,v.paper_bgcolor)),l.bordercolor||(l.bordercolor=v.legend.bordercolor)):l.bgcolor||(l.bgcolor=v.paper_bgcolor)),f("hoverlabel.bgcolor",l.bgcolor),f("hoverlabel.bordercolor",l.bordercolor),f("hoverlabel.namelength",l.namelength),d.coerceFont(f,"hoverlabel.font",l.font),f("hoverlabel.align",l.align)}},98212:function(T,p,t){var d=t(71828),g=t(528);T.exports=function(i,M){function v(f,l){return M[f]!==void 0?M[f]:d.coerce(i,M,g,f,l)}return v("clickmode"),v("hovermode")}},30211:function(T,p,t){var d=t(39898),g=t(71828),i=t(28569),M=t(23469),v=t(528),f=t(88335);T.exports={moduleType:"component",name:"fx",constants:t(26675),schema:{layout:v},attributes:t(77914),layoutAttributes:v,supplyLayoutGlobalDefaults:t(22774),supplyDefaults:t(54268),supplyLayoutDefaults:t(34938),calc:t(30732),getDistanceFunction:M.getDistanceFunction,getClosest:M.getClosest,inbox:M.inbox,quadrature:M.quadrature,appendArrayPointValue:M.appendArrayPointValue,castHoverOption:function(l,a,u){return g.castOption(l,a,"hoverlabel."+u)},castHoverinfo:function(l,a,u){return g.castOption(l,u,"hoverinfo",function(o){return g.coerceHoverinfo({hoverinfo:o},{_module:l._module},a)})},hover:f.hover,unhover:i.unhover,loneHover:f.loneHover,loneUnhover:function(l){var a=g.isD3Selection(l)?l:d.select(l);a.selectAll("g.hovertext").remove(),a.selectAll(".spikeline").remove()},click:t(75914)}},528:function(T,p,t){var d=t(26675),g=t(41940),i=g({editType:"none"});i.family.dflt=d.HOVERFONT,i.size.dflt=d.HOVERFONTSIZE,T.exports={clickmode:{valType:"flaglist",flags:["event","select"],dflt:"event",editType:"plot",extras:["none"]},dragmode:{valType:"enumerated",values:["zoom","pan","select","lasso","drawclosedpath","drawopenpath","drawline","drawrect","drawcircle","orbit","turntable",!1],dflt:"zoom",editType:"modebar"},hovermode:{valType:"enumerated",values:["x","y","closest",!1,"x unified","y unified"],dflt:"closest",editType:"modebar"},hoverdistance:{valType:"integer",min:-1,dflt:20,editType:"none"},spikedistance:{valType:"integer",min:-1,dflt:-1,editType:"none"},hoverlabel:{bgcolor:{valType:"color",editType:"none"},bordercolor:{valType:"color",editType:"none"},font:i,grouptitlefont:g({editType:"none"}),align:{valType:"enumerated",values:["left","right","auto"],dflt:"auto",editType:"none"},namelength:{valType:"integer",min:-1,dflt:15,editType:"none"},editType:"none"},selectdirection:{valType:"enumerated",values:["h","v","d","any"],dflt:"any",editType:"none"}}},34938:function(T,p,t){var d=t(71828),g=t(528),i=t(98212),M=t(38048);T.exports=function(v,f){function l(s,h){return d.coerce(v,f,g,s,h)}i(v,f)&&(l("hoverdistance"),l("spikedistance")),l("dragmode")==="select"&&l("selectdirection");var a=f._has("mapbox"),u=f._has("geo"),o=f._basePlotModules.length;f.dragmode==="zoom"&&((a||u)&&o===1||a&&u&&o===2)&&(f.dragmode="pan"),M(v,f,l),d.coerceFont(l,"hoverlabel.grouptitlefont",f.hoverlabel.font)}},22774:function(T,p,t){var d=t(71828),g=t(38048),i=t(528);T.exports=function(M,v){g(M,v,function(f,l){return d.coerce(M,v,i,f,l)})}},83312:function(T,p,t){var d=t(71828),g=t(30587).counter,i=t(27670).Y,M=t(85555).idRegex,v=t(44467),f={rows:{valType:"integer",min:1,editType:"plot"},roworder:{valType:"enumerated",values:["top to bottom","bottom to top"],dflt:"top to bottom",editType:"plot"},columns:{valType:"integer",min:1,editType:"plot"},subplots:{valType:"info_array",freeLength:!0,dimensions:2,items:{valType:"enumerated",values:[g("xy").toString(),""],editType:"plot"},editType:"plot"},xaxes:{valType:"info_array",freeLength:!0,items:{valType:"enumerated",values:[M.x.toString(),""],editType:"plot"},editType:"plot"},yaxes:{valType:"info_array",freeLength:!0,items:{valType:"enumerated",values:[M.y.toString(),""],editType:"plot"},editType:"plot"},pattern:{valType:"enumerated",values:["independent","coupled"],dflt:"coupled",editType:"plot"},xgap:{valType:"number",min:0,max:1,editType:"plot"},ygap:{valType:"number",min:0,max:1,editType:"plot"},domain:i({name:"grid",editType:"plot",noGridCell:!0},{}),xside:{valType:"enumerated",values:["bottom","bottom plot","top plot","top"],dflt:"bottom plot",editType:"plot"},yside:{valType:"enumerated",values:["left","left plot","right plot","right"],dflt:"left plot",editType:"plot"},editType:"plot"};function l(o,s,h){var c=s[h+"axes"],m=Object.keys((o._splomAxes||{})[h]||{});return Array.isArray(c)?c:m.length?m:void 0}function a(o,s,h,c,m,w){var y=s(o+"gap",h),C=s("domain."+o);s(o+"side",c);for(var _=new Array(m),k=C[0],E=(C[1]-k)/(m-y),x=E*(1-y),A=0;A1){C||_||k||F("pattern")==="independent"&&(C=!0),x._hasSubplotGrid=C;var b,R,I=F("roworder")==="top to bottom",O=C?.2:.1,z=C?.3:.1;E&&s._splomGridDflt&&(b=s._splomGridDflt.xside,R=s._splomGridDflt.yside),x._domains={x:a("x",F,O,b,L),y:a("y",F,z,R,A,I)}}else delete s.grid}function F(B,N){return d.coerce(h,x,f,B,N)}},contentDefaults:function(o,s){var h=s.grid;if(h&&h._domains){var c,m,w,y,C,_,k,E=o.grid||{},x=s._subplots,A=h._hasSubplotGrid,L=h.rows,b=h.columns,R=h.pattern==="independent",I=h._axisMap={};if(A){var O=E.subplots||[];_=h.subplots=new Array(L);var z=1;for(c=0;c1);if(R===!1&&(s.legend=void 0),(R!==!1||c.uirevision)&&(w("uirevision",s.uirevision),R!==!1)){w("borderwidth");var I,O,z,F=w("orientation")==="h";if(F?(I=0,d.getComponentMethod("rangeslider","isVisible")(o.xaxis)?(O=1.1,z="bottom"):(O=-.1,z="top")):(I=1.02,O=1,z="auto"),w("traceorder",L),l.isGrouped(s.legend)&&w("tracegroupgap"),w("entrywidth"),w("entrywidthmode"),w("itemsizing"),w("itemwidth"),w("itemclick"),w("itemdoubleclick"),w("groupclick"),w("x",I),w("xanchor"),w("y",O),w("yanchor",z),w("valign"),g.noneOrAll(c,m,["x","y"]),w("title.text")){w("title.side",F?"left":"top");var B=g.extendFlat({},y,{size:g.bigFont(y.size)});g.coerceFont(w,"title.font",B)}}}}T.exports=function(u,o,s){var h,c=["legend"];for(h=0;h1)}var ne=U.hiddenlabels||[];if(!(q||U.showlegend&&H.length))return j.selectAll("."+G).remove(),U._topdefs.select("#"+W).remove(),i.autoMargin(B,G);var te=g.ensureSingle(j,"g",G,function(ye){q||ye.attr("pointer-events","all")}),Z=g.ensureSingleById(U._topdefs,"clipPath",W,function(ye){ye.append("rect")}),X=g.ensureSingle(te,"rect","bg",function(ye){ye.attr("shape-rendering","crispEdges")});X.call(a.stroke,$.bordercolor).call(a.fill,$.bgcolor).style("stroke-width",$.borderwidth+"px");var Q=g.ensureSingle(te,"g","scrollbox"),re=$.title;if($._titleWidth=0,$._titleHeight=0,re.text){var ie=g.ensureSingle(Q,"text",G+"titletext");ie.attr("text-anchor","start").call(l.font,re.font).text(re.text),I(ie,Q,B,$,1)}else Q.selectAll("."+G+"titletext").remove();var oe=g.ensureSingle(te,"rect","scrollbar",function(ye){ye.attr(s.scrollBarEnterAttrs).call(a.fill,s.scrollBarColor)}),ue=Q.selectAll("g.groups").data(H);ue.enter().append("g").attr("class","groups"),ue.exit().remove();var ce=ue.selectAll("g.traces").data(g.identity);ce.enter().append("g").attr("class","traces"),ce.exit().remove(),ce.style("opacity",function(ye){var de=ye[0].trace;return M.traceIs(de,"pie-like")?ne.indexOf(ye[0].label)!==-1?.5:1:de.visible==="legendonly"?.5:1}).each(function(){d.select(this).call(L,B,$)}).call(C,B,$).each(function(){q||d.select(this).call(R,B,G)}),g.syncOrAsync([i.previousPromises,function(){return function(ye,de,me,pe){var xe=ye._fullLayout,Pe=F(pe);pe||(pe=xe[Pe]);var _e=xe._size,Me=_.isVertical(pe),Se=_.isGrouped(pe),Ce=pe.entrywidthmode==="fraction",ae=pe.borderwidth,fe=2*ae,be=s.itemGap,ke=pe.itemwidth+2*be,Le=2*(ae+be),Be=z(pe),ze=pe.y<0||pe.y===0&&Be==="top",je=pe.y>1||pe.y===1&&Be==="bottom",ge=pe.tracegroupgap,we={};pe._maxHeight=Math.max(ze||je?xe.height/2:_e.h,30);var Ee=0;pe._width=0,pe._height=0;var Ve=function(Re){var Ne=0,Qe=0,ut=Re.title.side;return ut&&(ut.indexOf("left")!==-1&&(Ne=Re._titleWidth),ut.indexOf("top")!==-1&&(Qe=Re._titleHeight)),[Ne,Qe]}(pe);if(Me)me.each(function(Re){var Ne=Re[0].height;l.setTranslate(this,ae+Ve[0],ae+Ve[1]+pe._height+Ne/2+be),pe._height+=Ne,pe._width=Math.max(pe._width,Re[0].width)}),Ee=ke+pe._width,pe._width+=be+ke+fe,pe._height+=Le,Se&&(de.each(function(Re,Ne){l.setTranslate(this,0,Ne*pe.tracegroupgap)}),pe._height+=(pe._lgroupsLength-1)*pe.tracegroupgap);else{var $e=O(pe),Ye=pe.x<0||pe.x===0&&$e==="right",st=pe.x>1||pe.x===1&&$e==="left",ot=je||ze,ht=xe.width/2;pe._maxWidth=Math.max(Ye?ot&&$e==="left"?_e.l+_e.w:ht:st?ot&&$e==="right"?_e.r+_e.w:ht:_e.w,2*ke);var bt=0,Et=0;me.each(function(Re){var Ne=x(Re,pe,ke);bt=Math.max(bt,Ne),Et+=Ne}),Ee=null;var kt=0;if(Se){var xt=0,Ft=0,Ot=0;de.each(function(){var Re=0,Ne=0;d.select(this).selectAll("g.traces").each(function(ut){var dt=x(ut,pe,ke),_t=ut[0].height;l.setTranslate(this,Ve[0],Ve[1]+ae+be+_t/2+Ne),Ne+=_t,Re=Math.max(Re,dt),we[ut[0].trace.legendgroup]=Re});var Qe=Re+be;Ft>0&&Qe+ae+Ft>pe._maxWidth?(kt=Math.max(kt,Ft),Ft=0,Ot+=xt+ge,xt=Ne):xt=Math.max(xt,Ne),l.setTranslate(this,Ft,Ot),Ft+=Qe}),pe._width=Math.max(kt,Ft)+ae,pe._height=Ot+xt+Le}else{var Bt=me.size(),qt=Et+fe+(Bt-1)*be=pe._maxWidth&&(kt=Math.max(kt,qe),Ke=0,Je+=Vt,pe._height+=Vt,Vt=0),l.setTranslate(this,Ve[0]+ae+Ke,Ve[1]+ae+Je+Ne/2+be),qe=Ke+Qe+be,Ke+=ut,Vt=Math.max(Vt,Ne)}),qt?(pe._width=Ke+fe,pe._height=Vt+Le):(pe._width=Math.max(kt,qe)+fe,pe._height+=Vt+Le)}}pe._width=Math.ceil(Math.max(pe._width+Ve[0],pe._titleWidth+2*(ae+s.titlePad))),pe._height=Math.ceil(Math.max(pe._height+Ve[1],pe._titleHeight+2*(ae+s.itemGap))),pe._effHeight=Math.min(pe._height,pe._maxHeight);var nt=ye._context.edits,ft=nt.legendText||nt.legendPosition;me.each(function(Re){var Ne=d.select(this).select("."+Pe+"toggle"),Qe=Re[0].height,ut=Re[0].trace.legendgroup,dt=x(Re,pe,ke);Se&&ut!==""&&(dt=we[ut]);var _t=ft?ke:Ee||dt;Me||Ce||(_t+=be/2),l.setRect(Ne,0,-Qe/2,_t,Qe)})}(B,ue,ce,$)},function(){var ye,de,me,pe,xe=U._size,Pe=$.borderwidth;if(!q){var _e=function(Ye,st){var ot=Ye._fullLayout[st],ht=O(ot),bt=z(ot);return i.autoMargin(Ye,st,{x:ot.x,y:ot.y,l:ot._width*m[ht],r:ot._width*w[ht],b:ot._effHeight*w[bt],t:ot._effHeight*m[bt]})}(B,G);if(_e)return;var Me=xe.l+xe.w*$.x-m[O($)]*$._width,Se=xe.t+xe.h*(1-$.y)-m[z($)]*$._effHeight;if(U.margin.autoexpand){var Ce=Me,ae=Se;Me=g.constrain(Me,0,U.width-$._width),Se=g.constrain(Se,0,U.height-$._effHeight),Me!==Ce&&g.log("Constrain "+G+".x to make legend fit inside graph"),Se!==ae&&g.log("Constrain "+G+".y to make legend fit inside graph")}l.setTranslate(te,Me,Se)}if(oe.on(".drag",null),te.on("wheel",null),q||$._height<=$._maxHeight||B._context.staticPlot){var fe=$._effHeight;q&&(fe=$._height),X.attr({width:$._width-Pe,height:fe-Pe,x:Pe/2,y:Pe/2}),l.setTranslate(Q,0,0),Z.select("rect").attr({width:$._width-2*Pe,height:fe-2*Pe,x:Pe,y:Pe}),l.setClipUrl(Q,W,B),l.setRect(oe,0,0,0,0),delete $._scrollY}else{var be,ke,Le,Be=Math.max(s.scrollBarMinHeight,$._effHeight*$._effHeight/$._height),ze=$._effHeight-Be-2*s.scrollBarMargin,je=$._height-$._effHeight,ge=ze/je,we=Math.min($._scrollY||0,je);X.attr({width:$._width-2*Pe+s.scrollBarWidth+s.scrollBarMargin,height:$._effHeight-Pe,x:Pe/2,y:Pe/2}),Z.select("rect").attr({width:$._width-2*Pe+s.scrollBarWidth+s.scrollBarMargin,height:$._effHeight-2*Pe,x:Pe,y:Pe+we}),l.setClipUrl(Q,W,B),$e(we,Be,ge),te.on("wheel",function(){$e(we=g.constrain($._scrollY+d.event.deltaY/ze*je,0,je),Be,ge),we!==0&&we!==je&&d.event.preventDefault()});var Ee=d.behavior.drag().on("dragstart",function(){var Ye=d.event.sourceEvent;be=Ye.type==="touchstart"?Ye.changedTouches[0].clientY:Ye.clientY,Le=we}).on("drag",function(){var Ye=d.event.sourceEvent;Ye.buttons===2||Ye.ctrlKey||(ke=Ye.type==="touchmove"?Ye.changedTouches[0].clientY:Ye.clientY,we=function(st,ot,ht){var bt=(ht-ot)/ge+st;return g.constrain(bt,0,je)}(Le,be,ke),$e(we,Be,ge))});oe.call(Ee);var Ve=d.behavior.drag().on("dragstart",function(){var Ye=d.event.sourceEvent;Ye.type==="touchstart"&&(be=Ye.changedTouches[0].clientY,Le=we)}).on("drag",function(){var Ye=d.event.sourceEvent;Ye.type==="touchmove"&&(ke=Ye.changedTouches[0].clientY,we=function(st,ot,ht){var bt=(ot-ht)/ge+st;return g.constrain(bt,0,je)}(Le,be,ke),$e(we,Be,ge))});Q.call(Ve)}function $e(Ye,st,ot){$._scrollY=B._fullLayout[G]._scrollY=Ye,l.setTranslate(Q,0,-Ye),l.setRect(oe,$._width,s.scrollBarMargin+Ye*ot,s.scrollBarWidth,st),Z.select("rect").attr("y",Pe+Ye)}B._context.edits.legendPosition&&(te.classed("cursor-move",!0),f.init({element:te.node(),gd:B,prepFn:function(){var Ye=l.getTranslate(te);me=Ye.x,pe=Ye.y},moveFn:function(Ye,st){var ot=me+Ye,ht=pe+st;l.setTranslate(te,ot,ht),ye=f.align(ot,$._width,xe.l,xe.l+xe.w,$.xanchor),de=f.align(ht+$._height,-$._height,xe.t+xe.h,xe.t,$.yanchor)},doneFn:function(){if(ye!==void 0&&de!==void 0){var Ye={};Ye[G+".x"]=ye,Ye[G+".y"]=de,M.call("_guiRelayout",B,Ye)}},clickFn:function(Ye,st){var ot=ue.selectAll("g.traces").filter(function(){var ht=this.getBoundingClientRect();return st.clientX>=ht.left&&st.clientX<=ht.right&&st.clientY>=ht.top&&st.clientY<=ht.bottom});ot.size()>0&&A(B,te,ot,Ye,st)}}))}],B)}}function x(B,N,W){var j=B[0],$=j.width,U=N.entrywidthmode,G=j.trace.legendwidth||N.entrywidth;return U==="fraction"?N._maxWidth*G:W+(G||$)}function A(B,N,W,j,$){var U=W.data()[0][0].trace,G={event:$,node:W.node(),curveNumber:U.index,expandedIndex:U._expandedIndex,data:B.data,layout:B.layout,frames:B._transitionData._frames,config:B._context,fullData:B._fullData,fullLayout:B._fullLayout};U._group&&(G.group=U._group),M.traceIs(U,"pie-like")&&(G.label=W.datum()[0].label),v.triggerHandler(B,"plotly_legendclick",G)!==!1&&(j===1?N._clickTimeout=setTimeout(function(){B._fullLayout&&o(W,B,j)},B._context.doubleClickDelay):j===2&&(N._clickTimeout&&clearTimeout(N._clickTimeout),B._legendMouseDownTime=0,v.triggerHandler(B,"plotly_legenddoubleclick",G)!==!1&&o(W,B,j)))}function L(B,N,W){var j,$,U=F(W),G=B.data()[0][0],q=G.trace,H=M.traceIs(q,"pie-like"),ne=!W._inHover&&N._context.edits.legendText&&!H,te=W._maxNameLength;G.groupTitle?(j=G.groupTitle.text,$=G.groupTitle.font):($=W.font,W.entries?j=G.text:(j=H?G.label:q.name,q._meta&&(j=g.templateString(j,q._meta))));var Z=g.ensureSingle(B,"text",U+"text");Z.attr("text-anchor","start").call(l.font,$).text(ne?b(j,te):j);var X=W.itemwidth+2*s.itemGap;u.positionText(Z,X,0),ne?Z.call(u.makeEditable,{gd:N,text:j}).call(I,B,N,W).on("edit",function(Q){this.text(b(Q,te)).call(I,B,N,W);var re=G.trace._fullInput||{},ie={};if(M.hasTransform(re,"groupby")){var oe=M.getTransformIndices(re,"groupby"),ue=oe[oe.length-1],ce=g.keyedContainer(re,"transforms["+ue+"].styles","target","value.name");ce.set(G.trace._group,Q),ie=ce.constructUpdate()}else ie.name=Q;return M.call("_guiRestyle",N,ie,q.index)}):I(Z,B,N,W)}function b(B,N){var W=Math.max(4,N);if(B&&B.trim().length>=W/2)return B;for(var j=W-(B=B||"").length;j>0;j--)B+=" ";return B}function R(B,N,W){var j,$=N._context.doubleClickDelay,U=1,G=g.ensureSingle(B,"rect",W+"toggle",function(q){N._context.staticPlot||q.style("cursor","pointer").attr("pointer-events","all"),q.call(a.fill,"rgba(0,0,0,0)")});N._context.staticPlot||(G.on("mousedown",function(){(j=new Date().getTime())-N._legendMouseDownTime<$?U+=1:(U=1,N._legendMouseDownTime=j)}),G.on("mouseup",function(){if(!N._dragged&&!N._editing){var q=N._fullLayout[W];new Date().getTime()-N._legendMouseDownTime>$&&(U=Math.max(U-1,1)),A(N,q,B,U,d.event)}}))}function I(B,N,W,j,$){j._inHover&&B.attr("data-notex",!0),u.convertToTspans(B,W,function(){(function(U,G,q,H){var ne=U.data()[0][0];if(q._inHover||!ne||ne.trace.showlegend){var te=U.select("g[class*=math-group]"),Z=te.node(),X=F(q);q||(q=G._fullLayout[X]);var Q,re,ie=q.borderwidth,oe=(H===1?q.title.font:ne.groupTitle?ne.groupTitle.font:q.font).size*c;if(Z){var ue=l.bBox(Z);Q=ue.height,re=ue.width,H===1?l.setTranslate(te,ie,ie+.75*Q):l.setTranslate(te,0,.25*Q)}else{var ce="."+X+(H===1?"title":"")+"text",ye=U.select(ce),de=u.lineCount(ye),me=ye.node();if(Q=oe*de,re=me?l.bBox(me).width:0,H===1)q.title.side==="left"&&(re+=2*s.itemGap),u.positionText(ye,ie+s.titlePad,ie+oe);else{var pe=2*s.itemGap+q.itemwidth;ne.groupTitle&&(pe=s.itemGap,re-=q.itemwidth),u.positionText(ye,pe,-oe*((de-1)/2-.3))}}H===1?(q._titleWidth=re,q._titleHeight=Q):(ne.lineHeight=oe,ne.height=Math.max(Q,16)+3,ne.width=re)}else U.remove()})(N,W,j,$)})}function O(B){return g.isRightAnchor(B)?"right":g.isCenterAnchor(B)?"center":"left"}function z(B){return g.isBottomAnchor(B)?"bottom":g.isMiddleAnchor(B)?"middle":"top"}function F(B){return B._id||"legend"}T.exports=function(B,N){if(N)E(B,N);else{var W=B._fullLayout,j=W._legends;W._infolayer.selectAll('[class^="legend"]').each(function(){var G=d.select(this),q=G.attr("class").split(" ")[0];q.match(k)&&j.indexOf(q)===-1&&G.remove()});for(var $=0;$z&&(O=z)}R[f][0]._groupMinRank=O,R[f][0]._preGroupSort=f}var F=function($,U){return $.trace.legendrank-U.trace.legendrank||$._preSort-U._preSort};for(R.forEach(function($,U){$[0]._preGroupSort=U}),R.sort(function($,U){return $[0]._groupMinRank-U[0]._groupMinRank||$[0]._preGroupSort-U[0]._preGroupSort}),f=0;fC?C:w}T.exports=function(w,y,C){var _=y._fullLayout;C||(C=_.legend);var k=C.itemsizing==="constant",E=C.itemwidth,x=(E+2*s.itemGap)/2,A=M(x,0),L=function(I,O,z,F){var B;if(I+1)B=I;else{if(!(O&&O.width>0))return 0;B=O.width}return k?F:Math.min(B,z)};function b(I,O,z){var F=I[0].trace,B=F.marker||{},N=B.line||{},W=z?F.visible&&F.type===z:g.traceIs(F,"bar"),j=d.select(O).select("g.legendpoints").selectAll("path.legend"+z).data(W?[I]:[]);j.enter().append("path").classed("legend"+z,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",A),j.exit().remove(),j.each(function($){var U=d.select(this),G=$[0],q=L(G.mlw,B.line,5,2);U.style("stroke-width",q+"px");var H=G.mcc;if(!C._inHover&&"mc"in G){var ne=l(B),te=ne.mid;te===void 0&&(te=(ne.max+ne.min)/2),H=v.tryColorscale(B,"")(te)}var Z=H||G.mc||B.color,X=B.pattern,Q=X&&v.getPatternAttr(X.shape,0,"");if(Q){var re=v.getPatternAttr(X.bgcolor,0,null),ie=v.getPatternAttr(X.fgcolor,0,null),oe=X.fgopacity,ue=m(X.size,8,10),ce=m(X.solidity,.5,1),ye="legend-"+F.uid;U.call(v.pattern,"legend",y,ye,Q,ue,ce,H,X.fillmode,re,ie,oe)}else U.call(f.fill,Z);q&&f.stroke(U,G.mlc||N.color)})}function R(I,O,z){var F=I[0],B=F.trace,N=z?B.visible&&B.type===z:g.traceIs(B,z),W=d.select(O).select("g.legendpoints").selectAll("path.legend"+z).data(N?[I]:[]);if(W.enter().append("path").classed("legend"+z,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",A),W.exit().remove(),W.size()){var j=(B.marker||{}).line,$=L(o(j.width,F.pts),j,5,2),U=i.minExtend(B,{marker:{line:{width:$}}});U.marker.line.color=j.color;var G=i.minExtend(F,{trace:U});u(W,G,U)}}w.each(function(I){var O=d.select(this),z=i.ensureSingle(O,"g","layers");z.style("opacity",I[0].trace.opacity);var F=C.valign,B=I[0].lineHeight,N=I[0].height;if(F!=="middle"&&B&&N){var W={top:1,bottom:-1}[F]*(.5*(B-N+3));z.attr("transform",M(0,W))}else z.attr("transform",null);z.selectAll("g.legendfill").data([I]).enter().append("g").classed("legendfill",!0),z.selectAll("g.legendlines").data([I]).enter().append("g").classed("legendlines",!0);var j=z.selectAll("g.legendsymbols").data([I]);j.enter().append("g").classed("legendsymbols",!0),j.selectAll("g.legendpoints").data([I]).enter().append("g").classed("legendpoints",!0)}).each(function(I){var O,z=I[0].trace,F=[];if(z.visible)switch(z.type){case"histogram2d":case"heatmap":F=[["M-15,-2V4H15V-2Z"]],O=!0;break;case"choropleth":case"choroplethmapbox":F=[["M-6,-6V6H6V-6Z"]],O=!0;break;case"densitymapbox":F=[["M-6,0 a6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0"]],O="radial";break;case"cone":F=[["M-6,2 A2,2 0 0,0 -6,6 V6L6,4Z"],["M-6,-6 A2,2 0 0,0 -6,-2 L6,-4Z"],["M-6,-2 A2,2 0 0,0 -6,2 L6,0Z"]],O=!1;break;case"streamtube":F=[["M-6,2 A2,2 0 0,0 -6,6 H6 A2,2 0 0,1 6,2 Z"],["M-6,-6 A2,2 0 0,0 -6,-2 H6 A2,2 0 0,1 6,-6 Z"],["M-6,-2 A2,2 0 0,0 -6,2 H6 A2,2 0 0,1 6,-2 Z"]],O=!1;break;case"surface":F=[["M-6,-6 A2,3 0 0,0 -6,0 H6 A2,3 0 0,1 6,-6 Z"],["M-6,1 A2,3 0 0,1 -6,6 H6 A2,3 0 0,0 6,0 Z"]],O=!0;break;case"mesh3d":F=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],O=!1;break;case"volume":F=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],O=!0;break;case"isosurface":F=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6 A12,24 0 0,0 6,-6 L0,6Z"]],O=!1}var B=d.select(this).select("g.legendpoints").selectAll("path.legend3dandfriends").data(F);B.enter().append("path").classed("legend3dandfriends",!0).attr("transform",A).style("stroke-miterlimit",1),B.exit().remove(),B.each(function(N,W){var j,$=d.select(this),U=l(z),G=U.colorscale,q=U.reversescale;if(G){if(!O){var H=G.length;j=W===0?G[q?H-1:0][1]:W===1?G[q?0:H-1][1]:G[Math.floor((H-1)/2)][1]}}else{var ne=z.vertexcolor||z.facecolor||z.color;j=i.isArrayOrTypedArray(ne)?ne[W]||ne[0]:ne}$.attr("d",N[0]),j?$.call(f.fill,j):$.call(function(te){if(te.size()){var Z="legendfill-"+z.uid;v.gradient(te,y,Z,h(q,O==="radial"),G,"fill")}})})}).each(function(I){var O=I[0].trace,z=O.type==="waterfall";if(I[0]._distinct&&z){var F=I[0].trace[I[0].dir].marker;return I[0].mc=F.color,I[0].mlw=F.line.width,I[0].mlc=F.line.color,b(I,this,"waterfall")}var B=[];O.visible&&z&&(B=I[0].hasTotals?[["increasing","M-6,-6V6H0Z"],["totals","M6,6H0L-6,-6H-0Z"],["decreasing","M6,6V-6H0Z"]]:[["increasing","M-6,-6V6H6Z"],["decreasing","M6,6V-6H-6Z"]]);var N=d.select(this).select("g.legendpoints").selectAll("path.legendwaterfall").data(B);N.enter().append("path").classed("legendwaterfall",!0).attr("transform",A).style("stroke-miterlimit",1),N.exit().remove(),N.each(function(W){var j=d.select(this),$=O[W[0]].marker,U=L(void 0,$.line,5,2);j.attr("d",W[1]).style("stroke-width",U+"px").call(f.fill,$.color),U&&j.call(f.stroke,$.line.color)})}).each(function(I){b(I,this,"funnel")}).each(function(I){b(I,this)}).each(function(I){var O=I[0].trace,z=d.select(this).select("g.legendpoints").selectAll("path.legendbox").data(O.visible&&g.traceIs(O,"box-violin")?[I]:[]);z.enter().append("path").classed("legendbox",!0).attr("d","M6,6H-6V-6H6Z").attr("transform",A),z.exit().remove(),z.each(function(){var F=d.select(this);if(O.boxpoints!=="all"&&O.points!=="all"||f.opacity(O.fillcolor)!==0||f.opacity((O.line||{}).color)!==0){var B=L(void 0,O.line,5,2);F.style("stroke-width",B+"px").call(f.fill,O.fillcolor),B&&f.stroke(F,O.line.color)}else{var N=i.minExtend(O,{marker:{size:k?12:i.constrain(O.marker.size,2,16),sizeref:1,sizemin:1,sizemode:"diameter"}});z.call(v.pointStyle,N,y)}})}).each(function(I){R(I,this,"funnelarea")}).each(function(I){R(I,this,"pie")}).each(function(I){var O,z,F=c(I),B=F.showFill,N=F.showLine,W=F.showGradientLine,j=F.showGradientFill,$=F.anyFill,U=F.anyLine,G=I[0],q=G.trace,H=l(q),ne=H.colorscale,te=H.reversescale,Z=a.hasMarkers(q)||!$?"M5,0":U?"M5,-2":"M5,-3",X=d.select(this),Q=X.select(".legendfill").selectAll("path").data(B||j?[I]:[]);if(Q.enter().append("path").classed("js-fill",!0),Q.exit().remove(),Q.attr("d",Z+"h"+E+"v6h-"+E+"z").call(function(oe){if(oe.size())if(B)v.fillGroupStyle(oe,y);else{var ue="legendfill-"+q.uid;v.gradient(oe,y,ue,h(te),ne,"fill")}}),N||W){var re=L(void 0,q.line,10,5);z=i.minExtend(q,{line:{width:re}}),O=[i.minExtend(G,{trace:z})]}var ie=X.select(".legendlines").selectAll("path").data(N||W?[O]:[]);ie.enter().append("path").classed("js-line",!0),ie.exit().remove(),ie.attr("d",Z+(W?"l"+E+",0.0001":"h"+E)).call(N?v.lineGroupStyle:function(oe){if(oe.size()){var ue="legendline-"+q.uid;v.lineGroupStyle(oe),v.gradient(oe,y,ue,h(te),ne,"stroke")}})}).each(function(I){var O,z,F=c(I),B=F.anyFill,N=F.anyLine,W=F.showLine,j=F.showMarker,$=I[0],U=$.trace,G=!j&&!N&&!B&&a.hasText(U);function q(ie,oe,ue,ce){var ye=i.nestedProperty(U,ie).get(),de=i.isArrayOrTypedArray(ye)&&oe?oe(ye):ye;if(k&&de&&ce!==void 0&&(de=ce),ue){if(deue[1])return ue[1]}return de}function H(ie){return $._distinct&&$.index&&ie[$.index]?ie[$.index]:ie[0]}if(j||G||W){var ne={},te={};if(j){ne.mc=q("marker.color",H),ne.mx=q("marker.symbol",H),ne.mo=q("marker.opacity",i.mean,[.2,1]),ne.mlc=q("marker.line.color",H),ne.mlw=q("marker.line.width",i.mean,[0,5],2),te.marker={sizeref:1,sizemin:1,sizemode:"diameter"};var Z=q("marker.size",i.mean,[2,16],12);ne.ms=Z,te.marker.size=Z}W&&(te.line={width:q("line.width",H,[0,10],5)}),G&&(ne.tx="Aa",ne.tp=q("textposition",H),ne.ts=10,ne.tc=q("textfont.color",H),ne.tf=q("textfont.family",H)),O=[i.minExtend($,ne)],(z=i.minExtend(U,te)).selectedpoints=null,z.texttemplate=null}var X=d.select(this).select("g.legendpoints"),Q=X.selectAll("path.scatterpts").data(j?O:[]);Q.enter().insert("path",":first-child").classed("scatterpts",!0).attr("transform",A),Q.exit().remove(),Q.call(v.pointStyle,z,y),j&&(O[0].mrc=3);var re=X.selectAll("g.pointtext").data(G?O:[]);re.enter().append("g").classed("pointtext",!0).append("text").attr("transform",A),re.exit().remove(),re.selectAll("text").call(v.textPointStyle,z,y)}).each(function(I){var O=I[0].trace,z=d.select(this).select("g.legendpoints").selectAll("path.legendcandle").data(O.visible&&O.type==="candlestick"?[I,I]:[]);z.enter().append("path").classed("legendcandle",!0).attr("d",function(F,B){return B?"M-15,0H-8M-8,6V-6H8Z":"M15,0H8M8,-6V6H-8Z"}).attr("transform",A).style("stroke-miterlimit",1),z.exit().remove(),z.each(function(F,B){var N=d.select(this),W=O[B?"increasing":"decreasing"],j=L(void 0,W.line,5,2);N.style("stroke-width",j+"px").call(f.fill,W.fillcolor),j&&f.stroke(N,W.line.color)})}).each(function(I){var O=I[0].trace,z=d.select(this).select("g.legendpoints").selectAll("path.legendohlc").data(O.visible&&O.type==="ohlc"?[I,I]:[]);z.enter().append("path").classed("legendohlc",!0).attr("d",function(F,B){return B?"M-15,0H0M-8,-6V0":"M15,0H0M8,6V0"}).attr("transform",A).style("stroke-miterlimit",1),z.exit().remove(),z.each(function(F,B){var N=d.select(this),W=O[B?"increasing":"decreasing"],j=L(void 0,W.line,5,2);N.style("fill","none").call(v.dashLine,W.line.dash,j),j&&f.stroke(N,W.line.color)})})}},42068:function(T,p,t){t(93348),T.exports={editType:"modebar",orientation:{valType:"enumerated",values:["v","h"],dflt:"h",editType:"modebar"},bgcolor:{valType:"color",editType:"modebar"},color:{valType:"color",editType:"modebar"},activecolor:{valType:"color",editType:"modebar"},uirevision:{valType:"any",editType:"none"},add:{valType:"string",arrayOk:!0,dflt:"",editType:"modebar"},remove:{valType:"string",arrayOk:!0,dflt:"",editType:"modebar"}}},26023:function(T,p,t){var d=t(73972),g=t(74875),i=t(41675),M=t(24255),v=t(34031).eraseActiveShape,f=t(71828),l=f._,a=T.exports={};function u(_,k){var E,x,A=k.currentTarget,L=A.getAttribute("data-attr"),b=A.getAttribute("data-val")||!0,R=_._fullLayout,I={},O=i.list(_,null,!0),z=R._cartesianSpikesEnabled;if(L==="zoom"){var F,B=b==="in"?.5:2,N=(1+B)/2,W=(1-B)/2;for(x=0;x1?(Z=["toggleHover"],X=["resetViews"]):I?(te=["zoomInGeo","zoomOutGeo"],Z=["hoverClosestGeo"],X=["resetGeo"]):R?(Z=["hoverClosest3d"],X=["resetCameraDefault3d","resetCameraLastSave3d"]):N?(te=["zoomInMapbox","zoomOutMapbox"],Z=["toggleHover"],X=["resetViewMapbox"]):F?Z=["hoverClosestGl2d"]:O?Z=["hoverClosestPie"]:$?(Z=["hoverClosestCartesian","hoverCompareCartesian"],X=["resetViewSankey"]):Z=["toggleHover"],b&&(Z=["toggleSpikelines","hoverClosestCartesian","hoverCompareCartesian"]),(function(ye){for(var de=0;de0)){var y=function(_,k,E){for(var x=E.filter(function(R){return k[R].anchor===_._id}),A=0,L=0;L=pe.max)de=oe[me+1];else if(ye=pe.pmax)de=oe[me+1];else if(yeme._length||ke+Ve<0)return;ge=be+Ve,we=ke+Ve;break;case Pe:if(Ee="col-resize",be+Ve>me._length)return;ge=be+Ve,we=ke;break;case _e:if(Ee="col-resize",ke+Ve<0)return;ge=be,we=ke+Ve;break;default:Ee="ew-resize",ge=fe,we=fe+Ve}if(we=0;F--){var B=k.append("path").attr(x).style("opacity",F?.1:A).call(M.stroke,b).call(M.fill,L).call(v.dashLine,F?"solid":I,F?4+R:R);if(h(B,m,C),O){var N=f(m.layout,"selections",C);B.style({cursor:"move"});var W={element:B.node(),plotinfo:_,gd:m,editHelpers:N,isActiveSelection:!0},j=d(E,m);g(j,B,W)}else B.style("pointer-events",F?"all":"none");z[F]=B}var $=z[0];z[1].node().addEventListener("click",function(){return function(U,G){if(o(U)){var q=+G.node().getAttribute("data-index");if(q>=0){if(q===U._fullLayout._activeSelectionIndex)return void c(U);U._fullLayout._activeSelectionIndex=q,U._fullLayout._deactivateSelection=c,u(U)}}}(m,$)})}(m._fullLayout._selectionLayer)}function h(m,w,y){var C=y.xref+y.yref;v.setClipUrl(m,"clip"+w._fullLayout._uid+C,w)}function c(m){o(m)&&m._fullLayout._activeSelectionIndex>=0&&(i(m),delete m._fullLayout._activeSelectionIndex,u(m))}T.exports={draw:u,drawOne:s,activateLastSelection:function(m){if(o(m)){var w=m._fullLayout.selections.length-1;m._fullLayout._activeSelectionIndex=w,m._fullLayout._deactivateSelection=c,u(m)}}}},53777:function(T,p,t){var d=t(79952).P,g=t(1426).extendFlat;T.exports={newselection:{mode:{valType:"enumerated",values:["immediate","gradual"],dflt:"immediate",editType:"none"},line:{color:{valType:"color",editType:"none"},width:{valType:"number",min:1,dflt:1,editType:"none"},dash:g({},d,{dflt:"dot",editType:"none"}),editType:"none"},editType:"none"},activeselection:{fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"none"},opacity:{valType:"number",min:0,max:1,dflt:.5,editType:"none"},editType:"none"}}},90849:function(T){T.exports=function(p,t,d){d("newselection.mode"),d("newselection.line.width")&&(d("newselection.line.color"),d("newselection.line.dash")),d("activeselection.fillcolor"),d("activeselection.opacity")}},35855:function(T,p,t){var d=t(64505).selectMode,g=t(51873).clearOutline,i=t(60165),M=i.readPaths,v=i.writePaths,f=i.fixDatesForPaths;T.exports=function(l,a){if(l.length){var u=l[0][0];if(u){var o=u.getAttribute("d"),s=a.gd,h=s._fullLayout.newselection,c=a.plotinfo,m=c.xaxis,w=c.yaxis,y=a.isActiveSelection,C=a.dragmode,_=(s.layout||{}).selections||[];if(!d(C)&&y!==void 0){var k=s._fullLayout._activeSelectionIndex;if(k<_.length)switch(s._fullLayout.selections[k].type){case"rect":C="select";break;case"path":C="lasso"}}var E,x=M(o,s,c,y),A={xref:m._id,yref:w._id,opacity:h.opacity,line:{color:h.line.color,width:h.line.width,dash:h.line.dash}};x.length===1&&(E=x[0]),E&&E.length===5&&C==="select"?(A.type="rect",A.x0=E[0][1],A.y0=E[0][2],A.x1=E[2][1],A.y1=E[2][2]):(A.type="path",m&&w&&f(x,m,w),A.path=v(x),E=null),g(s);for(var L=a.editHelpers,b=(L||{}).modifyItem,R=[],I=0;I<_.length;I++){var O=s._fullLayout.selections[I];if(O){if(R[I]=O._input,y!==void 0&&I===s._fullLayout._activeSelectionIndex){var z=A;switch(O.type){case"rect":b("x0",z.x0),b("x1",z.x1),b("y0",z.y0),b("y1",z.y1);break;case"path":b("path",z.path)}}}else R[I]=O}return y===void 0?(R.push(A),R):L?L.getUpdateObj():{}}}}},75549:function(T,p,t){var d=t(71828).strTranslate;function g(i,M){switch(i.type){case"log":return i.p2d(M);case"date":return i.p2r(M,0,i.calendar);default:return i.p2r(M)}}T.exports={p2r:g,r2p:function(i,M){switch(i.type){case"log":return i.d2p(M);case"date":return i.r2p(M,0,i.calendar);default:return i.r2p(M)}},axValue:function(i){var M=i._id.charAt(0)==="y"?1:0;return function(v){return g(i,v[M])}},getTransform:function(i){return d(i.xaxis._offset,i.yaxis._offset)}}},47322:function(T,p,t){var d=t(32485),g=t(3937);T.exports={moduleType:"component",name:"selections",layoutAttributes:t(8389),supplyLayoutDefaults:t(59402),supplyDrawNewSelectionDefaults:t(90849),includeBasePlot:t(76325)("selections"),draw:d.draw,drawOne:d.drawOne,reselect:g.reselect,prepSelect:g.prepSelect,clearOutline:g.clearOutline,clearSelectionsCache:g.clearSelectionsCache,selectOnClick:g.selectOnClick}},3937:function(T,p,t){var d=t(52142),g=t(38258),i=t(73972),M=t(91424).dashStyle,v=t(7901),f=t(30211),l=t(23469).makeEventData,a=t(64505),u=a.freeMode,o=a.rectMode,s=a.drawMode,h=a.openMode,c=a.selectMode,m=t(30477),w=t(21459),y=t(42359),C=t(51873).clearOutline,_=t(60165),k=_.handleEllipse,E=_.readPaths,x=t(90551),A=t(35855),L=t(32485).activateLastSelection,b=t(71828),R=b.sorterAsc,I=t(61082),O=t(79990),z=t(41675).getFromId,F=t(33306),B=t(61549).redrawReglTraces,N=t(34122),W=N.MINSELECT,j=I.filter,$=I.tester,U=t(75549),G=U.p2r,q=U.axValue,H=U.getTransform;function ne(ze){return ze.subplot!==void 0}function te(ze,je,ge,we,Ee,Ve,$e){var Ye,st,ot,ht,bt,Et,kt,xt,Ft,Ot=je._hoverdata,Bt=je._fullLayout.clickmode.indexOf("event")>-1,qt=[];if(function(nt){return nt&&Array.isArray(nt)&&nt[0].hoverOnBox!==!0}(Ot)){re(ze,je,Ve);var Vt=function(nt,ft){var Re,Ne,Qe=nt[0],ut=-1,dt=[];for(Ne=0;Ne0?function(nt,ft){var Re,Ne,Qe,ut=[];for(Qe=0;Qe0&&ut.push(Re);if(ut.length===1&&ut[0]===ft.searchInfo&&(Ne=ft.searchInfo.cd[0].trace).selectedpoints.length===ft.pointNumbers.length){for(Qe=0;Qe1||(Ne+=ft.selectedpoints.length)>1))return!1;return Ne===1}(Ye)&&(Et=ye(Vt))){for($e&&$e.remove(),Ft=0;Ft=0})(Ee)&&Ee._fullLayout._deactivateShape(Ee),function(bt){return bt._fullLayout._activeSelectionIndex>=0}(Ee)&&Ee._fullLayout._deactivateSelection(Ee);var Ve=Ee._fullLayout._zoomlayer,$e=s(ge),Ye=c(ge);if($e||Ye){var st,ot,ht=Ve.selectAll(".select-outline-"+we.id);ht&&Ee._fullLayout._outlining&&($e&&(st=x(ht,ze)),st&&i.call("_guiRelayout",Ee,{shapes:st}),Ye&&!ne(ze)&&(ot=A(ht,ze)),ot&&(Ee._fullLayout._noEmitSelectedAtStart=!0,i.call("_guiRelayout",Ee,{selections:ot}).then(function(){je&&L(Ee)})),Ee._fullLayout._outlining=!1)}we.selection={},we.selection.selectionDefs=ze.selectionDefs=[],we.selection.mergedPolygons=ze.mergedPolygons=[]}function oe(ze){return ze._id}function ue(ze,je,ge,we){if(!ze.calcdata)return[];var Ee,Ve,$e,Ye=[],st=je.map(oe),ot=ge.map(oe);for($e=0;$e0?we[0]:ge;return!!je.selectedpoints&&je.selectedpoints.indexOf(Ee)>-1}function de(ze,je,ge){var we,Ee;for(we=0;we-1&&je;if(!Ve&&je){var Tn=Ce(ze,!0);if(Tn.length){var dn=Tn[0].xref,pn=Tn[0].yref;if(dn&&pn){var Dn=be(Tn);ke([z(ze,dn,"x"),z(ze,pn,"y")])(kn,Dn)}}ze._fullLayout._noEmitSelectedAtStart?ze._fullLayout._noEmitSelectedAtStart=!1:sn&&Le(ze,kn),Et._reselect=!1}if(!Ve&&Et._deselect){var In=Et._deselect;(function(jn,Gn,qn){for(var lr=0;lr=0)kt._fullLayout._deactivateShape(kt);else if(!ot){var pn=xt.clickmode;O.done(An).then(function(){if(O.clear(An),Tn===2){for(Xt.remove(),Qe=0;Qe-1&&te(dn,kt,we.xaxes,we.yaxes,we.subplot,we,Xt),pn==="event"&&Le(kt,void 0);f.click(kt,dn)}).catch(b.error)}},we.doneFn=function(){un.remove(),O.done(An).then(function(){O.clear(An),!Ft&&Ne&&we.selectionDefs&&(Ne.subtract=Wt,we.selectionDefs.push(Ne),we.mergedPolygons.length=0,[].push.apply(we.mergedPolygons,Re)),(Ft||ot)&&ie(we,Ft),we.doneFnCompleted&&we.doneFnCompleted(Yn),ht&&Le(kt,dt)}).catch(b.error)}},clearOutline:C,clearSelectionsCache:ie,selectOnClick:te}},89827:function(T,p,t){var d=t(50215),g=t(41940),i=t(82196).line,M=t(79952).P,v=t(1426).extendFlat,f=t(44467).templatedArray,l=(t(24695),t(5386).R),a=t(37281);T.exports=f("shape",{visible:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},type:{valType:"enumerated",values:["circle","rect","path","line"],editType:"calc+arraydraw"},layer:{valType:"enumerated",values:["below","above"],dflt:"above",editType:"arraydraw"},xref:v({},d.xref,{}),xsizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",editType:"calc+arraydraw"},xanchor:{valType:"any",editType:"calc+arraydraw"},x0:{valType:"any",editType:"calc+arraydraw"},x1:{valType:"any",editType:"calc+arraydraw"},yref:v({},d.yref,{}),ysizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",editType:"calc+arraydraw"},yanchor:{valType:"any",editType:"calc+arraydraw"},y0:{valType:"any",editType:"calc+arraydraw"},y1:{valType:"any",editType:"calc+arraydraw"},path:{valType:"string",editType:"calc+arraydraw"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"arraydraw"},line:{color:v({},i.color,{editType:"arraydraw"}),width:v({},i.width,{editType:"calc+arraydraw"}),dash:v({},M,{editType:"arraydraw"}),editType:"calc+arraydraw"},fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},fillrule:{valType:"enumerated",values:["evenodd","nonzero"],dflt:"evenodd",editType:"arraydraw"},editable:{valType:"boolean",dflt:!1,editType:"calc+arraydraw"},label:{text:{valType:"string",dflt:"",editType:"arraydraw"},texttemplate:l({},{keys:Object.keys(a)}),font:g({editType:"calc+arraydraw",colorEditType:"arraydraw"}),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right","start","middle","end"],editType:"arraydraw"},textangle:{valType:"angle",dflt:"auto",editType:"calc+arraydraw"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto",editType:"calc+arraydraw"},yanchor:{valType:"enumerated",values:["top","middle","bottom"],editType:"calc+arraydraw"},padding:{valType:"number",dflt:3,min:0,editType:"arraydraw"},editType:"arraydraw"},editType:"arraydraw"})},5627:function(T,p,t){var d=t(71828),g=t(89298),i=t(21459),M=t(30477);function v(u){return l(u.line.width,u.xsizemode,u.x0,u.x1,u.path,!1)}function f(u){return l(u.line.width,u.ysizemode,u.y0,u.y1,u.path,!0)}function l(u,o,s,h,c,m){var w=u/2,y=m;if(o==="pixel"){var C=c?M.extractPathCoords(c,m?i.paramIsY:i.paramIsX):[s,h],_=d.aggNums(Math.max,null,C),k=d.aggNums(Math.min,null,C),E=k<0?Math.abs(k)+w:w,x=_>0?_+w:w;return{ppad:w,ppadplus:y?E:x,ppadminus:y?x:E}}return{ppad:w}}function a(u,o,s,h,c){var m=u.type==="category"||u.type==="multicategory"?u.r2c:u.d2c;if(o!==void 0)return[m(o),m(s)];if(h){var w,y,C,_,k=1/0,E=-1/0,x=h.match(i.segmentRE);for(u.type==="date"&&(m=M.decodeDate(m)),w=0;wE&&(E=_)));return E>=k?[k,E]:void 0}}T.exports=function(u){var o=u._fullLayout,s=d.filterVisible(o.shapes);if(s.length&&u._fullData.length)for(var h=0;h1&&(ye.length!==2||ye[1][0]!=="Z")&&(W===0&&(ye[0][0]="M"),A[N]=ye,O(),z())}}()}}function X(oe,ue){(function(ce,ye){if(A.length)for(var de=0;deSe?(fe=_e,Be="y0",be=Se,ze="y1"):(fe=Se,Be="y1",be=_e,ze="y0"),Je(Ne),ft(pe,de),function(Qe,ut,dt){var _t=ut.xref,It=ut.yref,Lt=M.getFromId(dt,_t),yt=M.getFromId(dt,It),Pt="";_t==="paper"||Lt.autorange||(Pt+=_t),It==="paper"||yt.autorange||(Pt+=It),u.setClipUrl(Qe,Pt?"clip"+dt._fullLayout._uid+Pt:null,dt)}(ye,de,ce),Ke.moveFn=Ee==="move"?qe:nt,Ke.altKey=Ne.altKey)},doneFn:function(){E(ce)||(h(ye),Re(pe),L(ye,ce,de),g.call("_guiRelayout",ce,xe.getUpdateObj()))},clickFn:function(){E(ce)||Re(pe)}};function Je(Ne){if(E(ce))Ee=null;else if(Ye)Ee=Ne.target.tagName==="path"?"move":Ne.target.attributes["data-line-point"].value==="start-point"?"resize-over-start-point":"resize-over-end-point";else{var Qe=Ke.element.getBoundingClientRect(),ut=Qe.right-Qe.left,dt=Qe.bottom-Qe.top,_t=Ne.clientX-Qe.left,It=Ne.clientY-Qe.top,Lt=!st&&ut>10&&dt>10&&!Ne.shiftKey?s.getCursor(_t/ut,1-It/dt):"move";h(ye,Lt),Ee=Lt.split("-")[0]}}function qe(Ne,Qe){if(de.type==="path"){var ut=function(It){return It},dt=ut,_t=ut;Ve?ot("xanchor",de.xanchor=Bt(Ce+Ne)):(dt=function(It){return Bt(Ft(It)+Ne)},bt&&bt.type==="date"&&(dt=w.encodeDate(dt))),$e?ot("yanchor",de.yanchor=qt(ae+Qe)):(_t=function(It){return qt(Ot(It)+Qe)},kt&&kt.type==="date"&&(_t=w.encodeDate(_t))),ot("path",de.path=R(we,dt,_t))}else Ve?ot("xanchor",de.xanchor=Bt(Ce+Ne)):(ot("x0",de.x0=Bt(Pe+Ne)),ot("x1",de.x1=Bt(Me+Ne))),$e?ot("yanchor",de.yanchor=qt(ae+Qe)):(ot("y0",de.y0=qt(_e+Qe)),ot("y1",de.y1=qt(Se+Qe)));ye.attr("d",y(ce,de)),ft(pe,de),b(ce,me,de,ht)}function nt(Ne,Qe){if(st){var ut=function(un){return un},dt=ut,_t=ut;Ve?ot("xanchor",de.xanchor=Bt(Ce+Ne)):(dt=function(un){return Bt(Ft(un)+Ne)},bt&&bt.type==="date"&&(dt=w.encodeDate(dt))),$e?ot("yanchor",de.yanchor=qt(ae+Qe)):(_t=function(un){return qt(Ot(un)+Qe)},kt&&kt.type==="date"&&(_t=w.encodeDate(_t))),ot("path",de.path=R(we,dt,_t))}else if(Ye){if(Ee==="resize-over-start-point"){var It=Pe+Ne,Lt=$e?_e-Qe:_e+Qe;ot("x0",de.x0=Ve?It:Bt(It)),ot("y0",de.y0=$e?Lt:qt(Lt))}else if(Ee==="resize-over-end-point"){var yt=Me+Ne,Pt=$e?Se-Qe:Se+Qe;ot("x1",de.x1=Ve?yt:Bt(yt)),ot("y1",de.y1=$e?Pt:qt(Pt))}}else{var wt=function(un){return Ee.indexOf(un)!==-1},Rt=wt("n"),Nt=wt("s"),Yt=wt("w"),Wt=wt("e"),Xt=Rt?fe+Qe:fe,Qt=Nt?be+Qe:be,rn=Yt?ke+Ne:ke,xn=Wt?Le+Ne:Le;$e&&(Rt&&(Xt=fe-Qe),Nt&&(Qt=be-Qe)),(!$e&&Qt-Xt>10||$e&&Xt-Qt>10)&&(ot(Be,de[Be]=$e?Xt:qt(Xt)),ot(ze,de[ze]=$e?Qt:qt(Qt))),xn-rn>10&&(ot(je,de[je]=Ve?rn:Bt(rn)),ot(ge,de[ge]=Ve?xn:Bt(xn)))}ye.attr("d",y(ce,de)),ft(pe,de),b(ce,me,de,ht)}function ft(Ne,Qe){(Ve||$e)&&function(){var ut=Qe.type!=="path",dt=Ne.selectAll(".visual-cue").data([0]);dt.enter().append("path").attr({fill:"#fff","fill-rule":"evenodd",stroke:"#000","stroke-width":1}).classed("visual-cue",!0);var _t=Ft(Ve?Qe.xanchor:i.midRange(ut?[Qe.x0,Qe.x1]:w.extractPathCoords(Qe.path,m.paramIsX))),It=Ot($e?Qe.yanchor:i.midRange(ut?[Qe.y0,Qe.y1]:w.extractPathCoords(Qe.path,m.paramIsY)));if(_t=w.roundPositionForSharpStrokeRendering(_t,1),It=w.roundPositionForSharpStrokeRendering(It,1),Ve&&$e){var Lt="M"+(_t-1-1)+","+(It-1-1)+"h-8v2h8 v8h2v-8 h8v-2h-8 v-8h-2 Z";dt.attr("d",Lt)}else if(Ve){var yt="M"+(_t-1-1)+","+(It-9-1)+"v18 h2 v-18 Z";dt.attr("d",yt)}else{var Pt="M"+(_t-9-1)+","+(It-1-1)+"h18 v2 h-18 Z";dt.attr("d",Pt)}}()}function Re(Ne){Ne.selectAll(".visual-cue").remove()}s.init(Ke),Vt.node().onmousemove=Je}(O,ie,B,z,j,Q):B.editable===!0&&ie.style("pointer-events",Z||a.opacity(q)*G<=.5?"stroke":"all");ie.node().addEventListener("click",function(){return function(ce,ye){if(x(ce)){var de=+ye.node().getAttribute("data-index");if(de>=0){if(de===ce._fullLayout._activeShapeIndex)return void I(ce);ce._fullLayout._activeShapeIndex=de,ce._fullLayout._deactivateShape=I,k(ce)}}}(O,ie)})}B._input&&B.visible!==!1&&(B.layer!=="below"?W(O._fullLayout._shapeUpperLayer):B.xref==="paper"||B.yref==="paper"?W(O._fullLayout._shapeLowerLayer):N._hadPlotinfo?W((N.mainplotinfo||N).shapelayer):W(O._fullLayout._shapeLowerLayer))}function L(O,z,F){var B=(F.xref+F.yref).replace(/paper/g,"").replace(/[xyz][1-9]* *domain/g,"");u.setClipUrl(O,B?"clip"+z._fullLayout._uid+B:null,z)}function b(O,z,F,B){if(B.selectAll(".shape-label").remove(),F.label.text||F.label.texttemplate){var N;if(F.label.texttemplate){var W={};if(F.type!=="path"){var j=M.getFromId(O,F.xref),$=M.getFromId(O,F.yref);for(var U in C){var G=C[U](F,j,$);G!==void 0&&(W[U]=G)}}N=i.texttemplateStringForShapes(F.label.texttemplate,{},O._fullLayout._d3locale,W)}else N=F.label.text;var q,H,ne,te,Z={"data-index":z},X=F.label.font,Q=B.append("g").attr(Z).classed("shape-label",!0).append("text").attr({"data-notex":1}).classed("shape-label-text",!0).text(N);if(F.path){var re=y(O,F),ie=v(re,O);q=1/0,ne=1/0,H=-1/0,te=-1/0;for(var oe=0;oe=Le?Be-je:je-Be,-180/Math.PI*Math.atan2(ge,we)}(q,ne,H,te):0),Q.call(function(Le){return Le.call(u.font,X).attr({}),c.convertToTspans(Le,O),Le});var ae=function(Le,Be,ze,je,ge,we,Ee){var Ve,$e,Ye,st,ot=ge.label.textposition,ht=ge.label.textangle,bt=ge.label.padding,Et=ge.type,kt=Math.PI/180*we,xt=Math.sin(kt),Ft=Math.cos(kt),Ot=ge.label.xanchor,Bt=ge.label.yanchor;if(Et==="line"){ot==="start"?(Ve=Le,$e=Be):ot==="end"?(Ve=ze,$e=je):(Ve=(Le+ze)/2,$e=(Be+je)/2),Ot==="auto"&&(Ot=ot==="start"?ht==="auto"?ze>Le?"left":zeLe?"right":zeLe?"right":zeLe?"left":ze=U||(j[N]?G=z(G):$[N]&&(G=F(G)),N++),G})})}function I(O){x(O)&&O._fullLayout._activeShapeIndex>=0&&(l(O),delete O._fullLayout._activeShapeIndex,k(O))}T.exports={draw:k,drawOne:A,eraseActiveShape:function(O){if(x(O)){l(O);var z=O._fullLayout._activeShapeIndex,F=(O.layout||{}).shapes||[];if(z0&&EZ&&(Q="X"),Q});return q>Z&&(X=X.replace(/[\s,]*X.*/,""),g.log("Ignoring extra params in segment "+G)),H+X})}(v,l,u);if(v.xsizemode==="pixel"){var E=l(v.xanchor);o=E+v.x0,s=E+v.x1}else o=l(v.x0),s=l(v.x1);if(v.ysizemode==="pixel"){var x=u(v.yanchor);h=x-v.y0,c=x-v.y1}else h=u(v.y0),c=u(v.y1);if(m==="line")return"M"+o+","+h+"L"+s+","+c;if(m==="rect")return"M"+o+","+h+"H"+s+"V"+c+"H"+o+"Z";var A=(o+s)/2,L=(h+c)/2,b=Math.abs(A-o),R=Math.abs(L-h),I="A"+b+","+R,O=A+b+","+L;return"M"+O+I+" 0 1,1 "+A+","+(L-R)+I+" 0 0,1 "+O+"Z"}},89853:function(T,p,t){var d=t(34031);T.exports={moduleType:"component",name:"shapes",layoutAttributes:t(89827),supplyLayoutDefaults:t(84726),supplyDrawNewShapeDefaults:t(45547),includeBasePlot:t(76325)("shapes"),calcAutorange:t(5627),draw:d.draw,drawOne:d.drawOne}},37281:function(T){function p(i,M){return M?M.d2l(i):i}function t(i,M){return M?M.l2d(i):i}function d(i,M){return p(i.x1,M)-p(i.x0,M)}function g(i,M,v){return p(i.y1,v)-p(i.y0,v)}T.exports={x0:function(i){return i.x0},x1:function(i){return i.x1},y0:function(i){return i.y0},y1:function(i){return i.y1},slope:function(i,M,v){return i.type!=="line"?void 0:g(i,0,v)/d(i,M)},dx:d,dy:g,width:function(i,M){return Math.abs(d(i,M))},height:function(i,M,v){return Math.abs(g(i,0,v))},length:function(i,M,v){return i.type!=="line"?void 0:Math.sqrt(Math.pow(d(i,M),2)+Math.pow(g(i,0,v),2))},xcenter:function(i,M){return t((p(i.x1,M)+p(i.x0,M))/2,M)},ycenter:function(i,M,v){return t((p(i.y1,v)+p(i.y0,v))/2,v)}}},75067:function(T,p,t){var d=t(41940),g=t(35025),i=t(1426).extendDeepAll,M=t(30962).overrideAll,v=t(85594),f=t(44467).templatedArray,l=t(98292),a=f("step",{visible:{valType:"boolean",dflt:!0},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle"},args:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},label:{valType:"string"},value:{valType:"string"},execute:{valType:"boolean",dflt:!0}});T.exports=M(f("slider",{visible:{valType:"boolean",dflt:!0},active:{valType:"number",min:0,dflt:0},steps:a,lenmode:{valType:"enumerated",values:["fraction","pixels"],dflt:"fraction"},len:{valType:"number",min:0,dflt:1},x:{valType:"number",min:-2,max:3,dflt:0},pad:i(g({editType:"arraydraw"}),{},{t:{dflt:20}}),xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left"},y:{valType:"number",min:-2,max:3,dflt:0},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top"},transition:{duration:{valType:"number",min:0,dflt:150},easing:{valType:"enumerated",values:v.transition.easing.values,dflt:"cubic-in-out"}},currentvalue:{visible:{valType:"boolean",dflt:!0},xanchor:{valType:"enumerated",values:["left","center","right"],dflt:"left"},offset:{valType:"number",dflt:10},prefix:{valType:"string"},suffix:{valType:"string"},font:d({})},font:d({}),activebgcolor:{valType:"color",dflt:l.gripBgActiveColor},bgcolor:{valType:"color",dflt:l.railBgColor},bordercolor:{valType:"color",dflt:l.railBorderColor},borderwidth:{valType:"number",min:0,dflt:l.railBorderWidth},ticklen:{valType:"number",min:0,dflt:l.tickLength},tickcolor:{valType:"color",dflt:l.tickColor},tickwidth:{valType:"number",min:0,dflt:1},minorticklen:{valType:"number",min:0,dflt:l.minorTickLength}}),"arraydraw","from-root")},98292:function(T){T.exports={name:"sliders",containerClassName:"slider-container",groupClassName:"slider-group",inputAreaClass:"slider-input-area",railRectClass:"slider-rail-rect",railTouchRectClass:"slider-rail-touch-rect",gripRectClass:"slider-grip-rect",tickRectClass:"slider-tick-rect",inputProxyClass:"slider-input-proxy",labelsClass:"slider-labels",labelGroupClass:"slider-label-group",labelClass:"slider-label",currentValueClass:"slider-current-value",railHeight:5,menuIndexAttrName:"slider-active-index",autoMarginIdRoot:"slider-",minWidth:30,minHeight:30,textPadX:40,arrowOffsetX:4,railRadius:2,railWidth:5,railBorder:4,railBorderWidth:1,railBorderColor:"#bec8d9",railBgColor:"#f8fafc",railInset:8,stepInset:10,gripRadius:10,gripWidth:20,gripHeight:20,gripBorder:20,gripBorderWidth:1,gripBorderColor:"#bec8d9",gripBgColor:"#f6f8fa",gripBgActiveColor:"#dbdde0",labelPadding:8,labelOffset:0,tickWidth:1,tickColor:"#333",tickOffset:25,tickLength:7,minorTickOffset:25,minorTickColor:"#333",minorTickLength:4,currentValuePadding:8,currentValueInset:0}},12343:function(T,p,t){var d=t(71828),g=t(85501),i=t(75067),M=t(98292).name,v=i.steps;function f(a,u,o){function s(y,C){return d.coerce(a,u,i,y,C)}for(var h=g(a,u,{name:"steps",handleItemDefaults:l}),c=0,m=0;m0&&(q=q.transition().duration(N.transition.duration).ease(N.transition.easing)),q.attr("transform",f(G-.5*u.gripWidth,N._dims.currentValueTotalHeight))}}function I(B,N){var W=B._dims;return W.inputAreaStart+u.stepInset+(W.inputAreaLength-2*u.stepInset)*Math.min(1,Math.max(0,N))}function O(B,N){var W=B._dims;return Math.min(1,Math.max(0,(N-u.stepInset-W.inputAreaStart)/(W.inputAreaLength-2*u.stepInset-2*W.inputAreaStart)))}function z(B,N,W){var j=W._dims,$=v.ensureSingle(B,"rect",u.railTouchRectClass,function(U){U.call(L,N,B,W).style("pointer-events","all")});$.attr({width:j.inputAreaLength,height:Math.max(j.inputAreaWidth,u.tickOffset+W.ticklen+j.labelHeight)}).call(i.fill,W.bgcolor).attr("opacity",0),M.setTranslate($,0,j.currentValueTotalHeight)}function F(B,N){var W=N._dims,j=W.inputAreaLength-2*u.railInset,$=v.ensureSingle(B,"rect",u.railRectClass);$.attr({width:j,height:u.railWidth,rx:u.railRadius,ry:u.railRadius,"shape-rendering":"crispEdges"}).call(i.stroke,N.bordercolor).call(i.fill,N.bgcolor).style("stroke-width",N.borderwidth+"px"),M.setTranslate($,u.railInset,.5*(W.inputAreaWidth-u.railWidth)+W.currentValueTotalHeight)}T.exports=function(B){var N=B._context.staticPlot,W=B._fullLayout,j=function(ne,te){for(var Z=ne[u.name],X=[],Q=0;Q0?[0]:[]);function U(ne){ne._commandObserver&&(ne._commandObserver.remove(),delete ne._commandObserver),g.autoMargin(B,m(ne))}if($.enter().append("g").classed(u.containerClassName,!0).style("cursor",N?null:"ew-resize"),$.exit().each(function(){d.select(this).selectAll("g."+u.groupClassName).each(U)}).remove(),j.length!==0){var G=$.selectAll("g."+u.groupClassName).data(j,w);G.enter().append("g").classed(u.groupClassName,!0),G.exit().each(U).remove();for(var q=0;q0||xe<0){var Se={left:[-Pe,0],right:[Pe,0],top:[0,-Pe],bottom:[0,Pe]}[x.side];X.attr("transform",f(Se[0],Se[1]))}}}return q.call(H),$&&(F?q.on(".opacity",null):(I=0,O=!0,q.text(k).on("mouseover.opacity",function(){d.select(this).transition().duration(o.SHOW_PLACEHOLDER).style("opacity",1)}).on("mouseout.opacity",function(){d.select(this).transition().duration(o.HIDE_PLACEHOLDER).style("opacity",0)})),q.call(u.makeEditable,{gd:c}).on("edit",function(Z){E!==void 0?M.call("_guiRestyle",c,_,Z,E):M.call("_guiRelayout",c,_,Z)}).on("cancel",function(){this.text(this.attr("data-unformatted")).call(H)}).on("input",function(Z){this.text(Z||" ").call(u.positionText,A.x,A.y)})),q.classed("js-placeholder",O),b}}},7163:function(T,p,t){var d=t(41940),g=t(22399),i=t(1426).extendFlat,M=t(30962).overrideAll,v=t(35025),f=t(44467).templatedArray,l=f("button",{visible:{valType:"boolean"},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle"},args:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},args2:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},label:{valType:"string",dflt:""},execute:{valType:"boolean",dflt:!0}});T.exports=M(f("updatemenu",{_arrayAttrRegexps:[/^updatemenus\[(0|[1-9][0-9]+)\]\.buttons/],visible:{valType:"boolean"},type:{valType:"enumerated",values:["dropdown","buttons"],dflt:"dropdown"},direction:{valType:"enumerated",values:["left","right","up","down"],dflt:"down"},active:{valType:"integer",min:-1,dflt:0},showactive:{valType:"boolean",dflt:!0},buttons:l,x:{valType:"number",min:-2,max:3,dflt:-.05},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"right"},y:{valType:"number",min:-2,max:3,dflt:1},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top"},pad:i(v({editType:"arraydraw"}),{}),font:d({}),bgcolor:{valType:"color"},bordercolor:{valType:"color",dflt:g.borderLine},borderwidth:{valType:"number",min:0,dflt:1,editType:"arraydraw"}}),"arraydraw","from-root")},75909:function(T){T.exports={name:"updatemenus",containerClassName:"updatemenu-container",headerGroupClassName:"updatemenu-header-group",headerClassName:"updatemenu-header",headerArrowClassName:"updatemenu-header-arrow",dropdownButtonGroupClassName:"updatemenu-dropdown-button-group",dropdownButtonClassName:"updatemenu-dropdown-button",buttonClassName:"updatemenu-button",itemRectClassName:"updatemenu-item-rect",itemTextClassName:"updatemenu-item-text",menuIndexAttrName:"updatemenu-active-index",autoMarginIdRoot:"updatemenu-",blankHeaderOpts:{label:" "},minWidth:30,minHeight:30,textPadX:24,arrowPadX:16,rx:2,ry:2,textOffsetX:12,textOffsetY:3,arrowOffsetX:4,gapButtonHeader:5,gapButton:2,activeColor:"#F4FAFF",hoverColor:"#F4FAFF",arrowSymbol:{left:"◄",right:"►",up:"▲",down:"▼"}}},64897:function(T,p,t){var d=t(71828),g=t(85501),i=t(7163),M=t(75909).name,v=i.buttons;function f(a,u,o){function s(h,c){return d.coerce(a,u,i,h,c)}s("visible",g(a,u,{name:"buttons",handleItemDefaults:l}).length>0)&&(s("active"),s("direction"),s("type"),s("showactive"),s("x"),s("y"),d.noneOrAll(a,u,["x","y"]),s("xanchor"),s("yanchor"),s("pad.t"),s("pad.r"),s("pad.b"),s("pad.l"),d.coerceFont(s,"font",o.font),s("bgcolor",o.paper_bgcolor),s("bordercolor"),s("borderwidth"))}function l(a,u){function o(s,h){return d.coerce(a,u,v,s,h)}o("visible",a.method==="skip"||Array.isArray(a.args))&&(o("method"),o("args"),o("args2"),o("label"),o("execute"))}T.exports=function(a,u){g(a,u,{name:M,handleItemDefaults:f})}},13689:function(T,p,t){var d=t(39898),g=t(74875),i=t(7901),M=t(91424),v=t(71828),f=t(63893),l=t(44467).arrayEditor,a=t(18783).LINE_SPACING,u=t(75909),o=t(25849);function s(I){return I._index}function h(I,O){return+I.attr(u.menuIndexAttrName)===O._index}function c(I,O,z,F,B,N,W,j){O.active=W,l(I.layout,u.name,O).applyUpdate("active",W),O.type==="buttons"?w(I,F,null,null,O):O.type==="dropdown"&&(B.attr(u.menuIndexAttrName,"-1"),m(I,F,B,N,O),j||w(I,F,B,N,O))}function m(I,O,z,F,B){var N=v.ensureSingle(O,"g",u.headerClassName,function(q){q.style("pointer-events","all")}),W=B._dims,j=B.active,$=B.buttons[j]||u.blankHeaderOpts,U={y:B.pad.t,yPad:0,x:B.pad.l,xPad:0,index:0},G={width:W.headerWidth,height:W.headerHeight};N.call(y,B,$,I).call(b,B,U,G),v.ensureSingle(O,"text",u.headerArrowClassName,function(q){q.attr("text-anchor","end").call(M.font,B.font).text(u.arrowSymbol[B.direction])}).attr({x:W.headerWidth-u.arrowOffsetX+B.pad.l,y:W.headerHeight/2+u.textOffsetY+B.pad.t}),N.on("click",function(){z.call(R,String(h(z,B)?-1:B._index)),w(I,O,z,F,B)}),N.on("mouseover",function(){N.call(E)}),N.on("mouseout",function(){N.call(x,B)}),M.setTranslate(O,W.lx,W.ly)}function w(I,O,z,F,B){z||(z=O).attr("pointer-events","all");var N=function(X){return+X.attr(u.menuIndexAttrName)==-1}(z)&&B.type!=="buttons"?[]:B.buttons,W=B.type==="dropdown"?u.dropdownButtonClassName:u.buttonClassName,j=z.selectAll("g."+W).data(v.filterVisible(N)),$=j.enter().append("g").classed(W,!0),U=j.exit();B.type==="dropdown"?($.attr("opacity","0").transition().attr("opacity","1"),U.transition().attr("opacity","0").remove()):U.remove();var G=0,q=0,H=B._dims,ne=["up","down"].indexOf(B.direction)!==-1;B.type==="dropdown"&&(ne?q=H.headerHeight+u.gapButtonHeader:G=H.headerWidth+u.gapButtonHeader),B.type==="dropdown"&&B.direction==="up"&&(q=-u.gapButtonHeader+u.gapButton-H.openHeight),B.type==="dropdown"&&B.direction==="left"&&(G=-u.gapButtonHeader+u.gapButton-H.openWidth);var te={x:H.lx+G+B.pad.l,y:H.ly+q+B.pad.t,yPad:u.gapButton,xPad:u.gapButton,index:0},Z={l:te.x+B.borderwidth,t:te.y+B.borderwidth};j.each(function(X,Q){var re=d.select(this);re.call(y,B,X,I).call(b,B,te),re.on("click",function(){d.event.defaultPrevented||(X.execute&&(X.args2&&B.active===Q?(c(I,B,0,O,z,F,-1),g.executeAPICommand(I,X.method,X.args2)):(c(I,B,0,O,z,F,Q),g.executeAPICommand(I,X.method,X.args))),I.emit("plotly_buttonclicked",{menu:B,button:X,active:B.active}))}),re.on("mouseover",function(){re.call(E)}),re.on("mouseout",function(){re.call(x,B),j.call(k,B)})}),j.call(k,B),ne?(Z.w=Math.max(H.openWidth,H.headerWidth),Z.h=te.y-Z.t):(Z.w=te.x-Z.l,Z.h=Math.max(H.openHeight,H.headerHeight)),Z.direction=B.direction,F&&(j.size()?function(X,Q,re,ie,oe,ue){var ce,ye,de,me=oe.direction,pe=me==="up"||me==="down",xe=oe._dims,Pe=oe.active;if(pe)for(ye=0,de=0;de0?[0]:[]);if(B.enter().append("g").classed(u.containerClassName,!0).style("cursor","pointer"),B.exit().each(function(){d.select(this).selectAll("g."+u.headerGroupClassName).each(F)}).remove(),z.length!==0){var N=B.selectAll("g."+u.headerGroupClassName).data(z,s);N.enter().append("g").classed(u.headerGroupClassName,!0);for(var W=v.ensureSingle(B,"g",u.dropdownButtonGroupClassName,function(q){q.style("pointer-events","all")}),j=0;jb,O=v.barLength+2*v.barPad,z=v.barWidth+2*v.barPad,F=y,B=_+k;B+z>s&&(B=s-z);var N=this.container.selectAll("rect.scrollbar-horizontal").data(I?[0]:[]);N.exit().on(".drag",null).remove(),N.enter().append("rect").classed("scrollbar-horizontal",!0).call(g.fill,v.barColor),I?(this.hbar=N.attr({rx:v.barRadius,ry:v.barRadius,x:F,y:B,width:O,height:z}),this._hbarXMin=F+O/2,this._hbarTranslateMax=b-O):(delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax);var W=k>R,j=v.barWidth+2*v.barPad,$=v.barLength+2*v.barPad,U=y+C,G=_;U+j>o&&(U=o-j);var q=this.container.selectAll("rect.scrollbar-vertical").data(W?[0]:[]);q.exit().on(".drag",null).remove(),q.enter().append("rect").classed("scrollbar-vertical",!0).call(g.fill,v.barColor),W?(this.vbar=q.attr({rx:v.barRadius,ry:v.barRadius,x:U,y:G,width:j,height:$}),this._vbarYMin=G+$/2,this._vbarTranslateMax=R-$):(delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax);var H=this.id,ne=h-.5,te=W?c+j+.5:c+.5,Z=m-.5,X=I?w+z+.5:w+.5,Q=u._topdefs.selectAll("#"+H).data(I||W?[0]:[]);if(Q.exit().remove(),Q.enter().append("clipPath").attr("id",H).append("rect"),I||W?(this._clipRect=Q.select("rect").attr({x:Math.floor(ne),y:Math.floor(Z),width:Math.ceil(te)-Math.floor(ne),height:Math.ceil(X)-Math.floor(Z)}),this.container.call(i.setClipUrl,H,this.gd),this.bg.attr({x:y,y:_,width:C,height:k})):(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(i.setClipUrl,null),delete this._clipRect),I||W){var re=d.behavior.drag().on("dragstart",function(){d.event.sourceEvent.preventDefault()}).on("drag",this._onBoxDrag.bind(this));this.container.on("wheel",null).on("wheel",this._onBoxWheel.bind(this)).on(".drag",null).call(re);var ie=d.behavior.drag().on("dragstart",function(){d.event.sourceEvent.preventDefault(),d.event.sourceEvent.stopPropagation()}).on("drag",this._onBarDrag.bind(this));I&&this.hbar.on(".drag",null).call(ie),W&&this.vbar.on(".drag",null).call(ie)}this.setTranslate(l,a)},v.prototype.disable=function(){(this.hbar||this.vbar)&&(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(i.setClipUrl,null),delete this._clipRect),this.hbar&&(this.hbar.on(".drag",null),this.hbar.remove(),delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax),this.vbar&&(this.vbar.on(".drag",null),this.vbar.remove(),delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax)},v.prototype._onBoxDrag=function(){var f=this.translateX,l=this.translateY;this.hbar&&(f-=d.event.dx),this.vbar&&(l-=d.event.dy),this.setTranslate(f,l)},v.prototype._onBoxWheel=function(){var f=this.translateX,l=this.translateY;this.hbar&&(f+=d.event.deltaY),this.vbar&&(l+=d.event.deltaY),this.setTranslate(f,l)},v.prototype._onBarDrag=function(){var f=this.translateX,l=this.translateY;if(this.hbar){var a=f+this._hbarXMin,u=a+this._hbarTranslateMax;f=(M.constrain(d.event.x,a,u)-a)/(u-a)*(this.position.w-this._box.w)}if(this.vbar){var o=l+this._vbarYMin,s=o+this._vbarTranslateMax;l=(M.constrain(d.event.y,o,s)-o)/(s-o)*(this.position.h-this._box.h)}this.setTranslate(f,l)},v.prototype.setTranslate=function(f,l){var a=this.position.w-this._box.w,u=this.position.h-this._box.h;if(f=M.constrain(f||0,0,a),l=M.constrain(l||0,0,u),this.translateX=f,this.translateY=l,this.container.call(i.setTranslate,this._box.l-this.position.l-f,this._box.t-this.position.t-l),this._clipRect&&this._clipRect.attr({x:Math.floor(this.position.l+f-.5),y:Math.floor(this.position.t+l-.5)}),this.hbar){var o=f/a;this.hbar.call(i.setTranslate,f+o*this._hbarTranslateMax,l)}if(this.vbar){var s=l/u;this.vbar.call(i.setTranslate,f,l+s*this._vbarTranslateMax)}}},18783:function(T){T.exports={FROM_BL:{left:0,center:.5,right:1,bottom:0,middle:.5,top:1},FROM_TL:{left:0,center:.5,right:1,bottom:1,middle:.5,top:0},FROM_BR:{left:1,center:.5,right:0,bottom:0,middle:.5,top:1},LINE_SPACING:1.3,CAP_SHIFT:.7,MID_SHIFT:.35,OPPOSITE_SIDE:{left:"right",right:"left",top:"bottom",bottom:"top"}}},24695:function(T){T.exports={axisRefDescription:function(p,t,d){return["If set to a",p,"axis id (e.g. *"+p+"* or","*"+p+"2*), the `"+p+"` position refers to a",p,"coordinate. If set to *paper*, the `"+p+"`","position refers to the distance from the",t,"of the plotting","area in normalized coordinates where *0* (*1*) corresponds to the",t,"("+d+"). If set to a",p,"axis ID followed by","*domain* (separated by a space), the position behaves like for","*paper*, but refers to the distance in fractions of the domain","length from the",t,"of the domain of that axis: e.g.,","*"+p+"2 domain* refers to the domain of the second",p," axis and a",p,"position of 0.5 refers to the","point between the",t,"and the",d,"of the domain of the","second",p,"axis."].join(" ")}}},22372:function(T){T.exports={INCREASING:{COLOR:"#3D9970",SYMBOL:"▲"},DECREASING:{COLOR:"#FF4136",SYMBOL:"▼"}}},31562:function(T){T.exports={FORMAT_LINK:"https://github.com/d3/d3-format/tree/v1.4.5#d3-format",DATE_FORMAT_LINK:"https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format"}},74808:function(T){T.exports={COMPARISON_OPS:["=","!=","<",">=",">","<="],COMPARISON_OPS2:["=","<",">=",">","<="],INTERVAL_OPS:["[]","()","[)","(]","][",")(","](",")["],SET_OPS:["{}","}{"],CONSTRAINT_REDUCTION:{"=":"=","<":"<","<=":"<",">":">",">=":">","[]":"[]","()":"[]","[)":"[]","(]":"[]","][":"][",")(":"][","](":"][",")[":"]["}}},29659:function(T){T.exports={solid:[[],0],dot:[[.5,1],200],dash:[[.5,1],50],longdash:[[.5,1],10],dashdot:[[.5,.625,.875,1],50],longdashdot:[[.5,.7,.8,1],10]}},87381:function(T){T.exports={circle:"●","circle-open":"○",square:"■","square-open":"□",diamond:"◆","diamond-open":"◇",cross:"+",x:"❌"}},37822:function(T){T.exports={SHOW_PLACEHOLDER:100,HIDE_PLACEHOLDER:1e3,DESELECTDIM:.2}},50606:function(T){T.exports={BADNUM:void 0,FP_SAFE:1e-4*Number.MAX_VALUE,ONEMAXYEAR:316224e5,ONEAVGYEAR:315576e5,ONEMINYEAR:31536e6,ONEMAXQUARTER:79488e5,ONEAVGQUARTER:78894e5,ONEMINQUARTER:76896e5,ONEMAXMONTH:26784e5,ONEAVGMONTH:26298e5,ONEMINMONTH:24192e5,ONEWEEK:6048e5,ONEDAY:864e5,ONEHOUR:36e5,ONEMIN:6e4,ONESEC:1e3,EPOCHJD:24405875e-1,ALMOST_EQUAL:.999999,LOG_CLIP:10,MINUS_SIGN:"−"}},77922:function(T,p){p.xmlns="http://www.w3.org/2000/xmlns/",p.svg="http://www.w3.org/2000/svg",p.xlink="http://www.w3.org/1999/xlink",p.svgAttrs={xmlns:p.svg,"xmlns:xlink":p.xlink}},8729:function(T,p,t){p.version=t(11506).version,t(7417),t(98847);for(var d=t(73972),g=p.register=d.register,i=t(10641),M=Object.keys(i),v=0;v",""," ",""," plotly-logomark"," "," "," "," "," "," "," "," "," "," "," "," "," ",""].join("")}}},99863:function(T,p){p.isLeftAnchor=function(t){return t.xanchor==="left"||t.xanchor==="auto"&&t.x<=.3333333333333333},p.isCenterAnchor=function(t){return t.xanchor==="center"||t.xanchor==="auto"&&t.x>.3333333333333333&&t.x<.6666666666666666},p.isRightAnchor=function(t){return t.xanchor==="right"||t.xanchor==="auto"&&t.x>=.6666666666666666},p.isTopAnchor=function(t){return t.yanchor==="top"||t.yanchor==="auto"&&t.y>=.6666666666666666},p.isMiddleAnchor=function(t){return t.yanchor==="middle"||t.yanchor==="auto"&&t.y>.3333333333333333&&t.y<.6666666666666666},p.isBottomAnchor=function(t){return t.yanchor==="bottom"||t.yanchor==="auto"&&t.y<=.3333333333333333}},26348:function(T,p,t){var d=t(64872),g=d.mod,i=d.modHalf,M=Math.PI,v=2*M;function f(o){return Math.abs(o[1]-o[0])>v-1e-14}function l(o,s){return i(s-o,v)}function a(o,s){if(f(s))return!0;var h,c;s[0](c=g(c,v))&&(c+=v);var m=g(o,v),w=m+v;return m>=h&&m<=c||w>=h&&w<=c}function u(o,s,h,c,m,w,y){m=m||0,w=w||0;var C,_,k,E,x,A=f([h,c]);function L(O,z){return[O*Math.cos(z)+m,w-O*Math.sin(z)]}A?(C=0,_=M,k=v):h=m&&o<=w);var m,w},pathArc:function(o,s,h,c,m){return u(null,o,s,h,c,m,0)},pathSector:function(o,s,h,c,m){return u(null,o,s,h,c,m,1)},pathAnnulus:function(o,s,h,c,m,w){return u(o,s,h,c,m,w,1)}}},73627:function(T,p){var t=Array.isArray,d=ArrayBuffer,g=DataView;function i(f){return d.isView(f)&&!(f instanceof g)}function M(f){return t(f)||i(f)}function v(f,l,a){if(M(f)){if(M(f[0])){for(var u=a,o=0;ow.max?c.set(m):c.set(+h)}},integer:{coerceFunction:function(h,c,m,w){h%1||!d(h)||w.min!==void 0&&hw.max?c.set(m):c.set(+h)}},string:{coerceFunction:function(h,c,m,w){if(typeof h!="string"){var y=typeof h=="number";w.strict!==!0&&y?c.set(String(h)):c.set(m)}else w.noBlank&&!h?c.set(m):c.set(h)}},color:{coerceFunction:function(h,c,m){g(h).isValid()?c.set(h):c.set(m)}},colorlist:{coerceFunction:function(h,c,m){Array.isArray(h)&&h.length&&h.every(function(w){return g(w).isValid()})?c.set(h):c.set(m)}},colorscale:{coerceFunction:function(h,c,m){c.set(M.get(h,m))}},angle:{coerceFunction:function(h,c,m){h==="auto"?c.set("auto"):d(h)?c.set(u(+h,360)):c.set(m)}},subplotid:{coerceFunction:function(h,c,m,w){var y=w.regex||a(m);typeof h=="string"&&y.test(h)?c.set(h):c.set(m)},validateFunction:function(h,c){var m=c.dflt;return h===m||typeof h=="string"&&!!a(m).test(h)}},flaglist:{coerceFunction:function(h,c,m,w){if((w.extras||[]).indexOf(h)===-1)if(typeof h=="string"){for(var y=h.split("+"),C=0;C=d&&N<=g?N:a}if(typeof N!="string"&&typeof N!="number")return a;N=String(N);var G=k(W),q=N.charAt(0);!G||q!=="G"&&q!=="g"||(N=N.substr(1),W="");var H=G&&W.substr(0,7)==="chinese",ne=N.match(H?C:y);if(!ne)return a;var te=ne[1],Z=ne[3]||"1",X=Number(ne[5]||1),Q=Number(ne[7]||0),re=Number(ne[9]||0),ie=Number(ne[11]||0);if(G){if(te.length===2)return a;var oe;te=Number(te);try{var ue=m.getComponentMethod("calendars","getCal")(W);if(H){var ce=Z.charAt(Z.length-1)==="i";Z=parseInt(Z,10),oe=ue.newDate(te,ue.toMonthIndex(te,Z,ce),X)}else oe=ue.newDate(te,Number(Z),X)}catch{return a}return oe?(oe.toJD()-c)*u+Q*o+re*s+ie*h:a}te=te.length===2?(Number(te)+2e3-_)%100+_:Number(te),Z-=1;var ye=new Date(Date.UTC(2e3,Z,X,Q,re));return ye.setUTCFullYear(te),ye.getUTCMonth()!==Z||ye.getUTCDate()!==X?a:ye.getTime()+ie*h},d=p.MIN_MS=p.dateTime2ms("-9999"),g=p.MAX_MS=p.dateTime2ms("9999-12-31 23:59:59.9999"),p.isDateTime=function(N,W){return p.dateTime2ms(N,W)!==a};var x=90*u,A=3*o,L=5*s;function b(N,W,j,$,U){if((W||j||$||U)&&(N+=" "+E(W,2)+":"+E(j,2),($||U)&&(N+=":"+E($,2),U))){for(var G=4;U%10==0;)G-=1,U/=10;N+="."+E(U,G)}return N}p.ms2DateTime=function(N,W,j){if(typeof N!="number"||!(N>=d&&N<=g))return a;W||(W=0);var $,U,G,q,H,ne,te=Math.floor(10*f(N+.05,1)),Z=Math.round(N-te/10);if(k(j)){var X=Math.floor(Z/u)+c,Q=Math.floor(f(N,u));try{$=m.getComponentMethod("calendars","getCal")(j).fromJD(X).formatDate("yyyy-mm-dd")}catch{$=w("G%Y-%m-%d")(new Date(Z))}if($.charAt(0)==="-")for(;$.length<11;)$="-0"+$.substr(1);else for(;$.length<10;)$="0"+$;U=W=d+u&&N<=g-u))return a;var W=Math.floor(10*f(N+.05,1)),j=new Date(Math.round(N-W/10));return b(i("%Y-%m-%d")(j),j.getHours(),j.getMinutes(),j.getSeconds(),10*j.getUTCMilliseconds()+W)},p.cleanDate=function(N,W,j){if(N===a)return W;if(p.isJSDate(N)||typeof N=="number"&&isFinite(N)){if(k(j))return v.error("JS Dates and milliseconds are incompatible with world calendars",N),W;if(!(N=p.ms2DateTimeLocal(+N))&&W!==void 0)return W}else if(!p.isDateTime(N,j))return v.error("unrecognized date",N),W;return N};var R=/%\d?f/g,I=/%h/g,O={1:"1",2:"1",3:"2",4:"2"};function z(N,W,j,$){N=N.replace(R,function(G){var q=Math.min(+G.charAt(1)||6,6);return(W/1e3%1+2).toFixed(q).substr(2).replace(/0+$/,"")||"0"});var U=new Date(Math.floor(W+.05));if(N=N.replace(I,function(){return O[j("%q")(U)]}),k($))try{N=m.getComponentMethod("calendars","worldCalFmt")(N,W,$)}catch{return"Invalid"}return j(N)(U)}var F=[59,59.9,59.99,59.999,59.9999];p.formatDate=function(N,W,j,$,U,G){if(U=k(U)&&U,!W)if(j==="y")W=G.year;else if(j==="m")W=G.month;else{if(j!=="d")return function(q,H){var ne=f(q+.05,u),te=E(Math.floor(ne/o),2)+":"+E(f(Math.floor(ne/s),60),2);if(H!=="M"){M(H)||(H=0);var Z=(100+Math.min(f(q/h,60),F[H])).toFixed(H).substr(1);H>0&&(Z=Z.replace(/0+$/,"").replace(/[\.]$/,"")),te+=":"+Z}return te}(N,j)+` `+z(G.dayMonthYear,N,$,U);W=G.dayMonth+` `+G.year}return z(W,N,$,U)};var B=3*u;p.incrementMonth=function(N,W,j){j=k(j)&&j;var $=f(N,u);if(N=Math.round(N-$),j)try{var U=Math.round(N/u)+c,G=m.getComponentMethod("calendars","getCal")(j),q=G.fromJD(U);return W%12?G.add(q,W,"m"):G.add(q,W/12,"y"),(q.toJD()-c)*u+$}catch{v.error("invalid ms "+N+" in calendar "+j)}var H=new Date(N+B);return H.setUTCMonth(H.getUTCMonth()+W)+$-B},p.findExactDates=function(N,W){for(var j,$,U=0,G=0,q=0,H=0,ne=k(W)&&m.getComponentMethod("calendars","getCal")(W),te=0;te0&&b[R+1][0]<0)return R;return null}switch(w=x==="RUS"||x==="FJI"?function(b){var R;if(L(b)===null)R=b;else for(R=new Array(b.length),_=0;_R?I[O++]=[b[_][0]+360,b[_][1]]:_===R?(I[O++]=b[_],I[O++]=[b[_][0],-90]):I[O++]=b[_];var z=o.tester(I);z.pts.pop(),A.push(z)}:function(b){A.push(o.tester(b))},k.type){case"MultiPolygon":for(y=0;yj&&(j=G,B=U)}else B=N;return M.default(B).geometry.coordinates}(z),I.fIn=b,I.fOut=z,k.push(z)}else l.log(["Location",I.loc,"does not have a valid GeoJSON geometry.","Traces with locationmode *geojson-id* only support","*Polygon* and *MultiPolygon* geometries."].join(" "))}delete _[R]}switch(y.type){case"FeatureCollection":var A=y.features;for(C=0;C100?(clearInterval(R),L("Unexpected error while fetching from "+x)):void b++},50)})}for(var k=0;k0&&(M.push(v),v=[])}return v.length>0&&M.push(v),M},p.makeLine=function(g){return g.length===1?{type:"LineString",coordinates:g[0]}:{type:"MultiLineString",coordinates:g}},p.makePolygon=function(g){if(g.length===1)return{type:"Polygon",coordinates:g};for(var i=new Array(g.length),M=0;M1||A<0||A>1?null:{x:l+w*A,y:a+_*A}}function f(l,a,u,o,s){var h=o*l+s*a;if(h<0)return o*o+s*s;if(h>u){var c=o-l,m=s-a;return c*c+m*m}var w=o*a-s*l;return w*w/u}p.segmentsIntersect=v,p.segmentDistance=function(l,a,u,o,s,h,c,m){if(v(l,a,u,o,s,h,c,m))return 0;var w=u-l,y=o-a,C=c-s,_=m-h,k=w*w+y*y,E=C*C+_*_,x=Math.min(f(w,y,k,s-l,h-a),f(w,y,k,c-l,m-a),f(C,_,E,l-s,a-h),f(C,_,E,u-s,o-h));return Math.sqrt(x)},p.getTextLocation=function(l,a,u,o){if(l===g&&o===i||(d={},g=l,i=o),d[u])return d[u];var s=l.getPointAtLength(M(u-o/2,a)),h=l.getPointAtLength(M(u+o/2,a)),c=Math.atan((h.y-s.y)/(h.x-s.x)),m=l.getPointAtLength(M(u,a)),w={x:(4*m.x+s.x+h.x)/6,y:(4*m.y+s.y+h.y)/6,theta:c};return d[u]=w,w},p.clearLocationCache=function(){g=null},p.getVisibleSegment=function(l,a,u){var o,s,h=a.left,c=a.right,m=a.top,w=a.bottom,y=0,C=l.getTotalLength(),_=C;function k(x){var A=l.getPointAtLength(x);x===0?o=A:x===C&&(s=A);var L=A.xc?A.x-c:0,b=A.yw?A.y-w:0;return Math.sqrt(L*L+b*b)}for(var E=k(y);E;){if((y+=E+u)>_)return;E=k(y)}for(E=k(_);E;){if(y>(_-=E+u))return;E=k(_)}return{min:y,max:_,len:_-y,total:C,isClosed:y===0&&_===C&&Math.abs(o.x-s.x)<.1&&Math.abs(o.y-s.y)<.1}},p.findPointOnPath=function(l,a,u,o){for(var s,h,c,m=(o=o||{}).pathLength||l.getTotalLength(),w=o.tolerance||.001,y=o.iterationLimit||30,C=l.getPointAtLength(0)[u]>l.getPointAtLength(m)[u]?-1:1,_=0,k=0,E=m;_0?E=s:k=s,_++}return h}},81697:function(T,p,t){var d=t(92770),g=t(84267),i=t(25075),M=t(21081),v=t(22399).defaultLine,f=t(73627).isArrayOrTypedArray,l=i(v);function a(s,h){var c=s;return c[3]*=h,c}function u(s){if(d(s))return l;var h=i(s);return h.length?h:l}function o(s){return d(s)?s:1}T.exports={formatColor:function(s,h,c){var m,w,y,C,_,k=s.color,E=f(k),x=f(h),A=M.extractOpts(s),L=[];if(m=A.colorscale!==void 0?M.makeColorScaleFuncFromTrace(s):u,w=E?function(R,I){return R[I]===void 0?l:i(m(R[I]))}:u,y=x?function(R,I){return R[I]===void 0?1:o(R[I])}:o,E||x)for(var b=0;b1?(d*p+d*t)/d:p+t,i=String(g).length;if(i>16){var M=String(t).length;if(i>=String(p).length+M){var v=parseFloat(g).toPrecision(12);v.indexOf("e+")===-1&&(g=+v)}}return g}},71828:function(T,p,t){var d=t(39898),g=t(84096).g0,i=t(60721).WU,M=t(92770),v=t(50606),f=v.FP_SAFE,l=-f,a=v.BADNUM,u=T.exports={};u.adjustFormat=function(Q){return!Q||/^\d[.]\df/.test(Q)||/[.]\d%/.test(Q)?Q:Q==="0.f"?"~f":/^\d%/.test(Q)?"~%":/^\ds/.test(Q)?"~s":!/^[~,.0$]/.test(Q)&&/[&fps]/.test(Q)?"~"+Q:Q};var o={};u.warnBadFormat=function(Q){var re=String(Q);o[re]||(o[re]=1,u.warn('encountered bad format: "'+re+'"'))},u.noFormat=function(Q){return String(Q)},u.numberFormat=function(Q){var re;try{re=i(u.adjustFormat(Q))}catch{return u.warnBadFormat(Q),u.noFormat}return re},u.nestedProperty=t(65487),u.keyedContainer=t(66636),u.relativeAttr=t(6962),u.isPlainObject=t(41965),u.toLogRange=t(58163),u.relinkPrivateKeys=t(51332);var s=t(73627);u.isTypedArray=s.isTypedArray,u.isArrayOrTypedArray=s.isArrayOrTypedArray,u.isArray1D=s.isArray1D,u.ensureArray=s.ensureArray,u.concat=s.concat,u.maxRowLength=s.maxRowLength,u.minRowLength=s.minRowLength;var h=t(64872);u.mod=h.mod,u.modHalf=h.modHalf;var c=t(96554);u.valObjectMeta=c.valObjectMeta,u.coerce=c.coerce,u.coerce2=c.coerce2,u.coerceFont=c.coerceFont,u.coercePattern=c.coercePattern,u.coerceHoverinfo=c.coerceHoverinfo,u.coerceSelectionMarkerOpacity=c.coerceSelectionMarkerOpacity,u.validate=c.validate;var m=t(41631);u.dateTime2ms=m.dateTime2ms,u.isDateTime=m.isDateTime,u.ms2DateTime=m.ms2DateTime,u.ms2DateTimeLocal=m.ms2DateTimeLocal,u.cleanDate=m.cleanDate,u.isJSDate=m.isJSDate,u.formatDate=m.formatDate,u.incrementMonth=m.incrementMonth,u.dateTick0=m.dateTick0,u.dfltRange=m.dfltRange,u.findExactDates=m.findExactDates,u.MIN_MS=m.MIN_MS,u.MAX_MS=m.MAX_MS;var w=t(65888);u.findBin=w.findBin,u.sorterAsc=w.sorterAsc,u.sorterDes=w.sorterDes,u.distinctVals=w.distinctVals,u.roundUp=w.roundUp,u.sort=w.sort,u.findIndexOfMin=w.findIndexOfMin,u.sortObjectKeys=t(78607);var y=t(80038);u.aggNums=y.aggNums,u.len=y.len,u.mean=y.mean,u.median=y.median,u.midRange=y.midRange,u.variance=y.variance,u.stdev=y.stdev,u.interp=y.interp;var C=t(35657);u.init2dArray=C.init2dArray,u.transposeRagged=C.transposeRagged,u.dot=C.dot,u.translationMatrix=C.translationMatrix,u.rotationMatrix=C.rotationMatrix,u.rotationXYMatrix=C.rotationXYMatrix,u.apply3DTransform=C.apply3DTransform,u.apply2DTransform=C.apply2DTransform,u.apply2DTransform2=C.apply2DTransform2,u.convertCssMatrix=C.convertCssMatrix,u.inverseTransformMatrix=C.inverseTransformMatrix;var _=t(26348);u.deg2rad=_.deg2rad,u.rad2deg=_.rad2deg,u.angleDelta=_.angleDelta,u.angleDist=_.angleDist,u.isFullCircle=_.isFullCircle,u.isAngleInsideSector=_.isAngleInsideSector,u.isPtInsideSector=_.isPtInsideSector,u.pathArc=_.pathArc,u.pathSector=_.pathSector,u.pathAnnulus=_.pathAnnulus;var k=t(99863);u.isLeftAnchor=k.isLeftAnchor,u.isCenterAnchor=k.isCenterAnchor,u.isRightAnchor=k.isRightAnchor,u.isTopAnchor=k.isTopAnchor,u.isMiddleAnchor=k.isMiddleAnchor,u.isBottomAnchor=k.isBottomAnchor;var E=t(87642);u.segmentsIntersect=E.segmentsIntersect,u.segmentDistance=E.segmentDistance,u.getTextLocation=E.getTextLocation,u.clearLocationCache=E.clearLocationCache,u.getVisibleSegment=E.getVisibleSegment,u.findPointOnPath=E.findPointOnPath;var x=t(1426);u.extendFlat=x.extendFlat,u.extendDeep=x.extendDeep,u.extendDeepAll=x.extendDeepAll,u.extendDeepNoArrays=x.extendDeepNoArrays;var A=t(47769);u.log=A.log,u.warn=A.warn,u.error=A.error;var L=t(30587);u.counterRegex=L.counter;var b=t(79990);u.throttle=b.throttle,u.throttleDone=b.done,u.clearThrottle=b.clear;var R=t(24401);function I(Q){var re={};for(var ie in Q)for(var oe=Q[ie],ue=0;uef||Q=re)&&M(Q)&&Q>=0&&Q%1==0},u.noop=t(64213),u.identity=t(23389),u.repeat=function(Q,re){for(var ie=new Array(re),oe=0;oeie?Math.max(ie,Math.min(re,Q)):Math.max(re,Math.min(ie,Q))},u.bBoxIntersect=function(Q,re,ie){return ie=ie||0,Q.left<=re.right+ie&&re.left<=Q.right+ie&&Q.top<=re.bottom+ie&&re.top<=Q.bottom+ie},u.simpleMap=function(Q,re,ie,oe,ue){for(var ce=Q.length,ye=new Array(ce),de=0;de=Math.pow(2,ie)?ue>10?(u.warn("randstr failed uniqueness"),me):Q(re,ie,oe,(ue||0)+1):me},u.OptionControl=function(Q,re){Q||(Q={}),re||(re="opt");var ie={optionList:[],_newoption:function(oe){oe[re]=Q,ie[oe.name]=oe,ie.optionList.push(oe)}};return ie["_"+re]=Q,ie},u.smooth=function(Q,re){if((re=Math.round(re)||0)<2)return Q;var ie,oe,ue,ce,ye=Q.length,de=2*ye,me=2*re-1,pe=new Array(me),xe=new Array(ye);for(ie=0;ie=de&&(ue-=de*Math.floor(ue/de)),ue<0?ue=-1-ue:ue>=ye&&(ue=de-1-ue),ce+=Q[ue]*pe[oe];xe[ie]=ce}return xe},u.syncOrAsync=function(Q,re,ie){var oe;function ue(){return u.syncOrAsync(Q,re,ie)}for(;Q.length;)if((oe=(0,Q.splice(0,1)[0])(re))&&oe.then)return oe.then(ue);return ie&&ie(re)},u.stripTrailingSlash=function(Q){return Q.substr(-1)==="/"?Q.substr(0,Q.length-1):Q},u.noneOrAll=function(Q,re,ie){if(Q){var oe,ue=!1,ce=!0;for(oe=0;oe0?ue:0})},u.fillArray=function(Q,re,ie,oe){if(oe=oe||u.identity,u.isArrayOrTypedArray(Q))for(var ue=0;ue1?ue+ye[1]:"";if(ce&&(ye.length>1||de.length>4||ie))for(;oe.test(de);)de=de.replace(oe,"$1"+ce+"$2");return de+me},u.TEMPLATE_STRING_REGEX=/%{([^\s%{}:]*)([:|\|][^}]*)?}/g;var W=/^\w*$/;u.templateString=function(Q,re){var ie={};return Q.replace(u.TEMPLATE_STRING_REGEX,function(oe,ue){var ce;return W.test(ue)?ce=re[ue]:(ie[ue]=ie[ue]||u.nestedProperty(re,ue).get,ce=ie[ue]()),u.isValidTextValue(ce)?ce:""})};var j={max:10,count:0,name:"hovertemplate"};u.hovertemplateString=function(){return ne.apply(j,arguments)};var $={max:10,count:0,name:"texttemplate"};u.texttemplateString=function(){return ne.apply($,arguments)};var U=/^(\S+)([\*\/])(-?\d+(\.\d+)?)$/;function G(Q){var re=Q.match(U);return re?{key:re[1],op:re[2],number:Number(re[3])}:{key:Q,op:null,number:null}}var q={max:10,count:0,name:"texttemplate",parseMultDiv:!0};u.texttemplateStringForShapes=function(){return ne.apply(q,arguments)};var H=/^[:|\|]/;function ne(Q,re,ie){var oe=this,ue=arguments;re||(re={});var ce={};return Q.replace(u.TEMPLATE_STRING_REGEX,function(ye,de,me){var pe=de==="_xother"||de==="_yother",xe=de==="_xother_"||de==="_yother_",Pe=de==="xother_"||de==="yother_",_e=de==="xother"||de==="yother"||pe||Pe||xe,Me=de;(pe||xe)&&(Me=Me.substring(1)),(Pe||xe)&&(Me=Me.substring(0,Me.length-1));var Se,Ce,ae,fe=null,be=null;if(oe.parseMultDiv){var ke=G(Me);Me=ke.key,fe=ke.op,be=ke.number}if(_e){if((Se=re[Me])===void 0)return""}else for(ae=3;ae=48&&ye<=57,pe=de>=48&&de<=57;if(me&&(oe=10*oe+ye-48),pe&&(ue=10*ue+de-48),!me||!pe){if(oe!==ue)return oe-ue;if(ye!==de)return ye-de}}return ue-oe};var te=2e9;u.seedPseudoRandom=function(){te=2e9},u.pseudoRandom=function(){var Q=te;return te=(69069*te+1)%4294967296,Math.abs(te-Q)<429496729?u.pseudoRandom():te/4294967296},u.fillText=function(Q,re,ie){var oe=Array.isArray(ie)?function(ye){ie.push(ye)}:function(ye){ie.text=ye},ue=u.extractOption(Q,re,"htx","hovertext");if(u.isValidTextValue(ue))return oe(ue);var ce=u.extractOption(Q,re,"tx","text");return u.isValidTextValue(ce)?oe(ce):void 0},u.isValidTextValue=function(Q){return Q||Q===0},u.formatPercent=function(Q,re){re=re||0;for(var ie=(Math.round(100*Q*Math.pow(10,re))*Math.pow(.1,re)).toFixed(re)+"%",oe=0;oe1&&(pe=1):pe=0,u.strTranslate(ue-pe*(ie+ye),ce-pe*(oe+de))+u.strScale(pe)+(me?"rotate("+me+(re?"":" "+ie+" "+oe)+")":"")},u.setTransormAndDisplay=function(Q,re){Q.attr("transform",u.getTextTransform(re)),Q.style("display",re.scale?null:"none")},u.ensureUniformFontSize=function(Q,re){var ie=u.extendFlat({},re);return ie.size=Math.max(re.size,Q._fullLayout.uniformtext.minsize||0),ie},u.join2=function(Q,re,ie){var oe=Q.length;return oe>1?Q.slice(0,-1).join(re)+ie+Q[oe-1]:Q.join(re)},u.bigFont=function(Q){return Math.round(1.2*Q)};var Z=u.getFirefoxVersion(),X=Z!==null&&Z<86;u.getPositionFromD3Event=function(){return X?[d.event.layerX,d.event.layerY]:[d.event.offsetX,d.event.offsetY]}},41965:function(T){T.exports=function(p){return window&&window.process&&window.process.versions?Object.prototype.toString.call(p)==="[object Object]":Object.prototype.toString.call(p)==="[object Object]"&&Object.getPrototypeOf(p).hasOwnProperty("hasOwnProperty")}},66636:function(T,p,t){var d=t(65487),g=/^\w*$/;T.exports=function(i,M,v,f){var l,a,u;v=v||"name",f=f||"value";var o={};M&&M.length?(u=d(i,M),a=u.get()):a=i,M=M||"";var s={};if(a)for(l=0;l2)return o[w]=2|o[w],c.set(m,null);if(h){for(l=w;l1){var v=["LOG:"];for(M=0;M1){var f=[];for(M=0;M"),"long")}},i.warn=function(){var M;if(d.logging>0){var v=["WARN:"];for(M=0;M0){var f=[];for(M=0;M"),"stick")}},i.error=function(){var M;if(d.logging>0){var v=["ERROR:"];for(M=0;M0){var f=[];for(M=0;M"),"stick")}}},77310:function(T,p,t){var d=t(39898);T.exports=function(g,i,M){var v=g.selectAll("g."+M.replace(/\s/g,".")).data(i,function(l){return l[0].trace.uid});v.exit().remove(),v.enter().append("g").attr("class",M),v.order();var f=g.classed("rangeplot")?"nodeRangePlot3":"node3";return v.each(function(l){l[0][f]=d.select(this)}),v}},35657:function(T,p,t){var d=t(79576);p.init2dArray=function(g,i){for(var M=new Array(g),v=0;vt/2?p-Math.round(p/t)*t:p}}},65487:function(T,p,t){var d=t(92770),g=t(73627).isArrayOrTypedArray;function i(o,s){return function(){var h,c,m,w,y,C=o;for(w=0;w/g),c=0;ca||_===g||_o||y&&s(w))}:function(w,y){var C=w[0],_=w[1];if(C===g||Ca||_===g||_o)return!1;var k,E,x,A,L,b=f.length,R=f[0][0],I=f[0][1],O=0;for(k=1;kMath.max(E,R)||_>Math.max(x,I)))if(_c||Math.abs(d(u,w))>l)return!0;return!1},i.filter=function(M,v){var f=[M[0]],l=0,a=0;function u(o){M.push(o);var s=f.length,h=l;f.splice(a+1);for(var c=h+1;c1&&u(M.pop()),{addPt:u,raw:M,filtered:f}}},79749:function(T,p,t){var d=t(58617),g=t(98580);T.exports=function(i,M,v){var f=i._fullLayout,l=!0;return f._glcanvas.each(function(a){if(a.regl)a.regl.preloadCachedCode(v);else if(!a.pick||f._has("parcoords")){try{a.regl=g({canvas:this,attributes:{antialias:!a.pick,preserveDrawingBuffer:!0},pixelRatio:i._context.plotGlPixelRatio||t.g.devicePixelRatio,extensions:M||[],cachedCode:v||{}})}catch{l=!1}a.regl||(l=!1),l&&this.addEventListener("webglcontextlost",function(u){i&&i.emit&&i.emit("plotly_webglcontextlost",{event:u,layer:a.key})},!1)}}),l||d({container:f._glcontainer.node()}),l}},45142:function(T,p,t){var d=t(92770),g=t(35791);T.exports=function(i){var M;if(typeof(M=i&&i.hasOwnProperty("userAgent")?i.userAgent:function(){var s;return typeof navigator<"u"&&(s=navigator.userAgent),s&&s.headers&&typeof s.headers["user-agent"]=="string"&&(s=s.headers["user-agent"]),s}())!="string")return!0;var v=g({ua:{headers:{"user-agent":M}},tablet:!0,featureDetect:!1});if(!v){for(var f=M.split(" "),l=1;l-1;a--){var u=f[a];if(u.substr(0,8)==="Version/"){var o=u.substr(8).split(".")[0];if(d(o)&&(o=+o),o>=13)return!0}}}return v}},75138:function(T){T.exports=function(p,t){if(t instanceof RegExp){for(var d=t.toString(),g=0;gg.queueLength&&(M.undoQueue.queue.shift(),M.undoQueue.index--))},startSequence:function(M){M.undoQueue=M.undoQueue||{index:0,queue:[],sequence:!1},M.undoQueue.sequence=!0,M.undoQueue.beginSequence=!0},stopSequence:function(M){M.undoQueue=M.undoQueue||{index:0,queue:[],sequence:!1},M.undoQueue.sequence=!1,M.undoQueue.beginSequence=!1},undo:function(M){var v,f;if(!(M.undoQueue===void 0||isNaN(M.undoQueue.index)||M.undoQueue.index<=0)){for(M.undoQueue.index--,v=M.undoQueue.queue[M.undoQueue.index],M.undoQueue.inSequence=!0,f=0;f=M.undoQueue.queue.length)){for(v=M.undoQueue.queue[M.undoQueue.index],M.undoQueue.inSequence=!0,f=0;fs}function u(o,s){return o>=s}p.findBin=function(o,s,h){if(d(s.start))return h?Math.ceil((o-s.start)/s.size-v)-1:Math.floor((o-s.start)/s.size+v);var c,m,w=0,y=s.length,C=0,_=y>1?(s[y-1]-s[0])/(y-1):1;for(m=_>=0?h?f:l:h?u:a,o+=_*v*(h?-1:1)*(_>=0?1:-1);w90&&g.log("Long binary search..."),w-1},p.sorterAsc=function(o,s){return o-s},p.sorterDes=function(o,s){return s-o},p.distinctVals=function(o){var s,h=o.slice();for(h.sort(p.sorterAsc),s=h.length-1;s>-1&&h[s]===M;s--);for(var c,m=h[s]-h[0]||1,w=m/(s||1)/1e4,y=[],C=0;C<=s;C++){var _=h[C],k=_-c;c===void 0?(y.push(_),c=_):k>w&&(m=Math.min(m,k),y.push(_),c=_)}return{vals:y,minDiff:m}},p.roundUp=function(o,s,h){for(var c,m=0,w=s.length-1,y=0,C=h?0:1,_=h?1:0,k=h?Math.ceil:Math.floor;m0&&(c=1),h&&c)return o.sort(s)}return c?o:o.reverse()},p.findIndexOfMin=function(o,s){s=s||i;for(var h,c=1/0,m=0;mv.length)&&(f=v.length),d(M)||(M=!1),g(v[0])){for(a=new Array(f),l=0;li.length-1)return i[i.length-1];var v=M%1;return v*i[Math.ceil(M)]+(1-v)*i[Math.floor(M)]}},78614:function(T,p,t){var d=t(25075);T.exports=function(g){return g?d(g):[0,0,0,1]}},63893:function(T,p,t){var d=t(39898),g=t(71828),i=g.strTranslate,M=t(77922),v=t(18783).LINE_SPACING,f=/([^$]*)([$]+[^$]*[$]+)([^$]*)/;p.convertToTspans=function(N,W,j){var $=N.text(),U=!N.attr("data-notex")&&W&&W._context.typesetMath&&typeof MathJax<"u"&&$.match(f),G=d.select(N.node().parentNode);if(!G.empty()){var q=N.attr("class")?N.attr("class").split(" ")[0]:"text";return q+="-math",G.selectAll("svg."+q).remove(),G.selectAll("g."+q+"-group").remove(),N.style("display",null).attr({"data-unformatted":$,"data-math":"N"}),U?(W&&W._promises||[]).push(new Promise(function(ne){N.style("display","none");var te=parseInt(N.node().style.fontSize,10),Z={fontSize:te};(function(X,Q,re){var ie,oe,ue,ce,ye=parseInt((MathJax.version||"").split(".")[0]);if(ye===2||ye===3){var de=function(){var pe="math-output-"+g.randstr({},64),xe=(ce=d.select("body").append("div").attr({id:pe}).style({visibility:"hidden",position:"absolute","font-size":Q.fontSize+"px"}).text(X.replace(l,"\\lt ").replace(a,"\\gt "))).node();return ye===2?MathJax.Hub.Typeset(xe):MathJax.typeset([xe])},me=function(){var pe=ce.select(ye===2?".MathJax_SVG":".MathJax"),xe=!pe.empty()&&ce.select("svg").node();if(xe){var Pe,_e=xe.getBoundingClientRect();Pe=ye===2?d.select("body").select("#MathJax_SVG_glyphs"):pe.select("defs"),re(pe,Pe,_e)}else g.log("There was an error in the tex syntax.",X),re();ce.remove()};ye===2?MathJax.Hub.Queue(function(){return oe=g.extendDeepAll({},MathJax.Hub.config),ue=MathJax.Hub.processSectionDelay,MathJax.Hub.processSectionDelay!==void 0&&(MathJax.Hub.processSectionDelay=0),MathJax.Hub.Config({messageStyle:"none",tex2jax:{inlineMath:u},displayAlign:"left"})},function(){if((ie=MathJax.Hub.config.menuSettings.renderer)!=="SVG")return MathJax.Hub.setRenderer("SVG")},de,me,function(){if(ie!=="SVG")return MathJax.Hub.setRenderer(ie)},function(){return ue!==void 0&&(MathJax.Hub.processSectionDelay=ue),MathJax.Hub.Config(oe)}):ye===3&&(oe=g.extendDeepAll({},MathJax.config),MathJax.config.tex||(MathJax.config.tex={}),MathJax.config.tex.inlineMath=u,(ie=MathJax.config.startup.output)!=="svg"&&(MathJax.config.startup.output="svg"),MathJax.startup.defaultReady(),MathJax.startup.promise.then(function(){de(),me(),ie!=="svg"&&(MathJax.config.startup.output=ie),MathJax.config=oe}))}else g.warn("No MathJax version:",MathJax.version)})(U[2],Z,function(X,Q,re){G.selectAll("svg."+q).remove(),G.selectAll("g."+q+"-group").remove();var ie=X&&X.select("svg");if(!ie||!ie.node())return H(),void ne();var oe=G.append("g").classed(q+"-group",!0).attr({"pointer-events":"none","data-unformatted":$,"data-math":"Y"});oe.node().appendChild(ie.node()),Q&&Q.node()&&ie.node().insertBefore(Q.node().cloneNode(!0),ie.node().firstChild);var ue=re.width,ce=re.height;ie.attr({class:q,height:ce,preserveAspectRatio:"xMinYMin meet"}).style({overflow:"visible","pointer-events":"none"});var ye=N.node().style.fill||"black",de=ie.select("g");de.attr({fill:ye,stroke:ye});var me=de.node().getBoundingClientRect(),pe=me.width,xe=me.height;(pe>ue||xe>ce)&&(ie.style("overflow","hidden"),pe=(me=ie.node().getBoundingClientRect()).width,xe=me.height);var Pe=+N.attr("x"),_e=+N.attr("y"),Me=-(te||N.node().getBoundingClientRect().height)/4;if(q[0]==="y")oe.attr({transform:"rotate("+[-90,Pe,_e]+")"+i(-pe/2,Me-xe/2)});else if(q[0]==="l")_e=Me-xe/2;else if(q[0]==="a"&&q.indexOf("atitle")!==0)Pe=0,_e=Me;else{var Se=N.attr("text-anchor");Pe-=pe*(Se==="middle"?.5:Se==="end"?1:0),_e=_e+Me-xe/2}ie.attr({x:Pe,y:_e}),j&&j.call(N,oe),ne(oe)})})):H(),N}function H(){G.empty()||(q=N.attr("class")+"-math",G.select("svg."+q).remove()),N.text("").style("white-space","pre");var ne=function(te,Z){Z=Z.replace(w," ");var X,Q=!1,re=[],ie=-1;function oe(){ie++;var be=document.createElementNS(M.svg,"tspan");d.select(be).attr({class:"line",dy:ie*v+"em"}),te.appendChild(be),X=be;var ke=re;if(re=[{node:be}],ke.length>1)for(var Le=1;Le doesnt match end tag <"+be+">. Pretending it did match.",Z),X=re[re.length-1].node}else g.log("Ignoring unexpected end tag .",Z)}_.test(Z)?oe():(X=te,re=[{node:te}]);for(var de=Z.split(y),me=0;me|>|>)/g,u=[["$","$"],["\\(","\\)"]],o={sup:"font-size:70%",sub:"font-size:70%",b:"font-weight:bold",i:"font-style:italic",a:"cursor:pointer",span:"",em:"font-style:italic;font-weight:bold"},s={sub:"0.3em",sup:"-0.6em"},h={sub:"-0.21em",sup:"0.42em"},c="​",m=["http:","https:","mailto:","",void 0,":"],w=p.NEWLINES=/(\r\n?|\n)/g,y=/(<[^<>]*>)/,C=/<(\/?)([^ >]*)(\s+(.*))?>/i,_=//i;p.BR_TAG_ALL=//gi;var k=/(^|[\s"'])style\s*=\s*("([^"]*);?"|'([^']*);?')/i,E=/(^|[\s"'])href\s*=\s*("([^"]*)"|'([^']*)')/i,x=/(^|[\s"'])target\s*=\s*("([^"\s]*)"|'([^'\s]*)')/i,A=/(^|[\s"'])popup\s*=\s*("([\w=,]*)"|'([\w=,]*)')/i;function L(N,W){if(!N)return null;var j=N.match(W),$=j&&(j[3]||j[4]);return $&&O($)}var b=/(^|;)\s*color:/;p.plainText=function(N,W){for(var j=(W=W||{}).len!==void 0&&W.len!==-1?W.len:1/0,$=W.allowedTags!==void 0?W.allowedTags:["br"],U=3,G=N.split(y),q=[],H="",ne=0,te=0;teU?q.push(Z.substr(0,ie-U)+"..."):q.push(Z.substr(0,ie));break}H=""}}return q.join("")};var R={mu:"μ",amp:"&",lt:"<",gt:">",nbsp:" ",times:"×",plusmn:"±",deg:"°"},I=/&(#\d+|#x[\da-fA-F]+|[a-z]+);/g;function O(N){return N.replace(I,function(W,j){return(j.charAt(0)==="#"?function($){if(!($>1114111)){var U=String.fromCodePoint;if(U)return U($);var G=String.fromCharCode;return $<=65535?G($):G(55232+($>>10),$%1024+56320)}}(j.charAt(1)==="x"?parseInt(j.substr(2),16):parseInt(j.substr(1),10)):R[j])||W})}function z(N){var W=encodeURI(decodeURI(N)),j=document.createElement("a"),$=document.createElement("a");j.href=N,$.href=W;var U=j.protocol,G=$.protocol;return m.indexOf(U)!==-1&&m.indexOf(G)!==-1?W:""}function F(N,W,j){var $,U,G,q=j.horizontalAlign,H=j.verticalAlign||"top",ne=N.node().getBoundingClientRect(),te=W.node().getBoundingClientRect();return U=H==="bottom"?function(){return ne.bottom-$.height}:H==="middle"?function(){return ne.top+(ne.height-$.height)/2}:function(){return ne.top},G=q==="right"?function(){return ne.right-$.width}:q==="center"?function(){return ne.left+(ne.width-$.width)/2}:function(){return ne.left},function(){$=this.node().getBoundingClientRect();var Z=G()-te.left,X=U()-te.top,Q=j.gd||{};if(j.gd){Q._fullLayout._calcInverseTransform(Q);var re=g.apply3DTransform(Q._fullLayout._invTransform)(Z,X);Z=re[0],X=re[1]}return this.style({top:X+"px",left:Z+"px","z-index":1e3}),this}}p.convertEntities=O,p.sanitizeHTML=function(N){N=N.replace(w," ");for(var W=document.createElement("p"),j=W,$=[],U=N.split(y),G=0;Gv.ts+i?a():v.timer=setTimeout(function(){a(),v.timer=null},i)},p.done=function(g){var i=t[g];return i&&i.timer?new Promise(function(M){var v=i.onDone;i.onDone=function(){v&&v(),M(),i.onDone=null}}):Promise.resolve()},p.clear=function(g){if(g)d(t[g]),delete t[g];else for(var i in t)p.clear(i)}},58163:function(T,p,t){var d=t(92770);T.exports=function(g,i){if(g>0)return Math.log(g)/Math.LN10;var M=Math.log(Math.min(i[0],i[1]))/Math.LN10;return d(M)||(M=Math.log(Math.max(i[0],i[1]))/Math.LN10-6),M}},90973:function(T,p,t){var d=T.exports={},g=t(78776).locationmodeToLayer,i=t(96892).zL;d.getTopojsonName=function(M){return[M.scope.replace(/ /g,"-"),"_",M.resolution.toString(),"m"].join("")},d.getTopojsonPath=function(M,v){return M+v+".json"},d.getTopojsonFeatures=function(M,v){var f=g[M.locationmode],l=v.objects[f];return i(v,l).features}},37815:function(T){T.exports={moduleType:"locale",name:"en-US",dictionary:{"Click to enter Colorscale title":"Click to enter Colorscale title"},format:{date:"%m/%d/%Y"}}},92177:function(T){T.exports={moduleType:"locale",name:"en",dictionary:{"Click to enter Colorscale title":"Click to enter Colourscale title"},format:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],periods:["AM","PM"],dateTime:"%a %b %e %X %Y",date:"%d/%m/%Y",time:"%H:%M:%S",decimal:".",thousands:",",grouping:[3],currency:["$",""],year:"%Y",month:"%b %Y",dayMonth:"%b %-d",dayMonthYear:"%b %-d, %Y"}}},14458:function(T,p,t){var d=t(73972);T.exports=function(g){for(var i,M,v=d.layoutArrayContainers,f=d.layoutArrayRegexes,l=g.split("[")[0],a=0;a0&&M.log("Clearing previous rejected promises from queue."),E._promises=[]},p.cleanLayout=function(E){var x,A;E||(E={}),E.xaxis1&&(E.xaxis||(E.xaxis=E.xaxis1),delete E.xaxis1),E.yaxis1&&(E.yaxis||(E.yaxis=E.yaxis1),delete E.yaxis1),E.scene1&&(E.scene||(E.scene=E.scene1),delete E.scene1);var L=(v.subplotsRegistry.cartesian||{}).attrRegex,b=(v.subplotsRegistry.polar||{}).attrRegex,R=(v.subplotsRegistry.ternary||{}).attrRegex,I=(v.subplotsRegistry.gl3d||{}).attrRegex,O=Object.keys(E);for(x=0;x3?(re.x=1.02,re.xanchor="left"):re.x<-2&&(re.x=-.02,re.xanchor="right"),re.y>3?(re.y=1.02,re.yanchor="bottom"):re.y<-2&&(re.y=-.02,re.yanchor="top")),h(E),E.dragmode==="rotate"&&(E.dragmode="orbit"),l.clean(E),E.template&&E.template.layout&&p.cleanLayout(E.template.layout),E},p.cleanData=function(E){for(var x=0;x0)return E.substr(0,x)}p.hasParent=function(E,x){for(var A=_(x);A;){if(A in E)return!0;A=_(A)}return!1};var k=["x","y","z"];p.clearAxisTypes=function(E,x,A){for(var L=0;L1&&i.warn("Full array edits are incompatible with other edits",c);var E=o[""][""];if(l(E))u.set(null);else{if(!Array.isArray(E))return i.warn("Unrecognized full array edit value",c,E),!0;u.set(E)}return!C&&(m(_,k),w(a),!0)}var x,A,L,b,R,I,O,z,F=Object.keys(o).map(Number).sort(M),B=u.get(),N=B||[],W=h(k,c).get(),j=[],$=-1,U=N.length;for(x=0;xN.length-(O?0:1))i.warn("index out of range",c,L);else if(I!==void 0)R.length>1&&i.warn("Insertion & removal are incompatible with edits to the same index.",c,L),l(I)?j.push(L):O?(I==="add"&&(I={}),N.splice(L,0,I),W&&W.splice(L,0,{})):i.warn("Unrecognized full object edit value",c,L,I),$===-1&&($=L);else for(A=0;A=0;x--)N.splice(j[x],1),W&&W.splice(j[x],1);if(N.length?B||u.set(N):u.set(null),C)return!1;if(m(_,k),y!==g){var G;if($===-1)G=F;else{for(U=Math.max(N.length,U),G=[],x=0;x=$);x++)G.push(L);for(x=$;x=ae.data.length||Le<-ae.data.length)throw new Error(be+" must be valid indices for gd.data.");if(fe.indexOf(Le,ke+1)>-1||Le>=0&&fe.indexOf(-ae.data.length+Le)>-1||Le<0&&fe.indexOf(ae.data.length+Le)>-1)throw new Error("each index in "+be+" must be unique.")}}function B(ae,fe,be){if(!Array.isArray(ae.data))throw new Error("gd.data must be an array.");if(fe===void 0)throw new Error("currentIndices is a required argument.");if(Array.isArray(fe)||(fe=[fe]),F(ae,fe,"currentIndices"),be===void 0||Array.isArray(be)||(be=[be]),be!==void 0&&F(ae,be,"newIndices"),be!==void 0&&fe.length!==be.length)throw new Error("current and new indices must be of equal length.")}function N(ae,fe,be,ke,Le){(function($e,Ye,st,ot){var ht=M.isPlainObject(ot);if(!Array.isArray($e.data))throw new Error("gd.data must be an array");if(!M.isPlainObject(Ye))throw new Error("update must be a key:value object");if(st===void 0)throw new Error("indices must be an integer or array of integers");for(var bt in F($e,st,"indices"),Ye){if(!Array.isArray(Ye[bt])||Ye[bt].length!==st.length)throw new Error("attribute "+bt+" must be an array of length equal to indices array length");if(ht&&(!(bt in ot)||!Array.isArray(ot[bt])||ot[bt].length!==Ye[bt].length))throw new Error("when maxPoints is set as a key:value object it must contain a 1:1 corrispondence with the keys and number of traces in the update object")}})(ae,fe,be,ke);for(var Be=function($e,Ye,st,ot){var ht,bt,Et,kt,xt,Ft=M.isPlainObject(ot),Ot=[];for(var Bt in Array.isArray(st)||(st=[st]),st=z(st,$e.data.length-1),Ye)for(var qt=0;qt-1&&be.indexOf("grouptitlefont")===-1?je(be,be.replace("titlefont","title.font")):be.indexOf("titleposition")>-1?je(be,be.replace("titleposition","title.position")):be.indexOf("titleside")>-1?je(be,be.replace("titleside","title.side")):be.indexOf("titleoffset")>-1&&je(be,be.replace("titleoffset","title.offset")):je(be,be.replace("title","title.text"));function je(ge,we){ae[we]=ae[ge],delete ae[ge]}}function ne(ae,fe,be){ae=M.getGraphDiv(ae),k.clearPromiseQueue(ae);var ke={};if(typeof fe=="string")ke[fe]=be;else{if(!M.isPlainObject(fe))return M.warn("Relayout fail.",fe,be),Promise.reject();ke=M.extendFlat({},fe)}Object.keys(ke).length&&(ae.changed=!0);var Le=ie(ae,ke),Be=Le.flags;Be.calc&&(ae.calcdata=void 0);var ze=[o.previousPromises];Be.layoutReplot?ze.push(E.layoutReplot):Object.keys(ke).length&&(te(ae,Be,Le)||o.supplyDefaults(ae),Be.legend&&ze.push(E.doLegend),Be.layoutstyle&&ze.push(E.layoutStyles),Be.axrange&&Z(ze,Le.rangesAltered),Be.ticks&&ze.push(E.doTicksRelayout),Be.modebar&&ze.push(E.doModeBar),Be.camera&&ze.push(E.doCamera),Be.colorbars&&ze.push(E.doColorBars),ze.push(b)),ze.push(o.rehover,o.redrag,o.reselect),l.add(ae,ne,[ae,Le.undoit],ne,[ae,Le.redoit]);var je=M.syncOrAsync(ze,ae);return je&&je.then||(je=Promise.resolve(ae)),je.then(function(){return ae.emit("plotly_relayout",Le.eventData),ae})}function te(ae,fe,be){var ke=ae._fullLayout;if(!fe.axrange)return!1;for(var Le in fe)if(Le!=="axrange"&&fe[Le])return!1;for(var Be in be.rangesAltered){var ze=s.id2name(Be),je=ae.layout[ze],ge=ke[ze];if(ge.autorange=je.autorange,je.range&&(ge.range=je.range.slice()),ge.cleanRange(),ge._matchGroup){for(var we in ge._matchGroup)if(we!==Be){var Ee=ke[s.id2name(we)];Ee.autorange=ge.autorange,Ee.range=ge.range.slice(),Ee._input.range=ge.range.slice()}}}return!0}function Z(ae,fe){var be=fe?function(ke){var Le=[];for(var Be in fe){var ze=s.getFromId(ke,Be);if(Le.push(Be),(ze.ticklabelposition||"").indexOf("inside")!==-1&&ze._anchorAxis&&Le.push(ze._anchorAxis._id),ze._matchGroup)for(var je in ze._matchGroup)fe[je]||Le.push(je)}return s.draw(ke,Le,{skipTitle:!0})}:function(ke){return s.draw(ke,"redraw")};ae.push(y,E.doAutoRangeAndConstraints,be,E.drawData,E.finalDraw)}var X=/^[xyz]axis[0-9]*\.range(\[[0|1]\])?$/,Q=/^[xyz]axis[0-9]*\.autorange$/,re=/^[xyz]axis[0-9]*\.domain(\[[0|1]\])?$/;function ie(ae,fe){var be,ke,Le,Be=ae.layout,ze=ae._fullLayout,je=ze._guiEditing,ge=U(ze._preGUI,je),we=Object.keys(fe),Ee=s.list(ae),Ve=M.extendDeepAll({},fe),$e={};for(H(fe),we=Object.keys(fe),ke=0;ke0&&typeof qt.parts[Ke]!="string";)Ke--;var Je=qt.parts[Ke],qe=qt.parts[Ke-1]+"."+Je,nt=qt.parts.slice(0,Ke).join("."),ft=v(ae.layout,nt).get(),Re=v(ze,nt).get(),Ne=qt.get();if(Vt!==void 0){bt[Bt]=Vt,Et[Bt]=Je==="reverse"?Vt:$(Ne);var Qe=u.getLayoutValObject(ze,qt.parts);if(Qe&&Qe.impliedEdits&&Vt!==null)for(var ut in Qe.impliedEdits)kt(M.relativeAttr(Bt,ut),Qe.impliedEdits[ut]);if(["width","height"].indexOf(Bt)!==-1)if(Vt){kt("autosize",null);var dt=Bt==="height"?"width":"height";kt(dt,ze[dt])}else ze[Bt]=ae._initialAutoSize[Bt];else if(Bt==="autosize")kt("width",Vt?null:ze.width),kt("height",Vt?null:ze.height);else if(qe.match(X))Ot(qe),v(ze,nt+"._inputRange").set(null);else if(qe.match(Q)){Ot(qe),v(ze,nt+"._inputRange").set(null);var _t=v(ze,nt).get();_t._inputDomain&&(_t._input.domain=_t._inputDomain.slice())}else qe.match(re)&&v(ze,nt+"._inputDomain").set(null);if(Je==="type"){xt=ft;var It=Re.type==="linear"&&Vt==="log",Lt=Re.type==="log"&&Vt==="linear";if(It||Lt){if(xt&&xt.range)if(Re.autorange)It&&(xt.range=xt.range[1]>xt.range[0]?[1,2]:[2,1]);else{var yt=xt.range[0],Pt=xt.range[1];It?(yt<=0&&Pt<=0&&kt(nt+".autorange",!0),yt<=0?yt=Pt/1e6:Pt<=0&&(Pt=yt/1e6),kt(nt+".range[0]",Math.log(yt)/Math.LN10),kt(nt+".range[1]",Math.log(Pt)/Math.LN10)):(kt(nt+".range[0]",Math.pow(10,yt)),kt(nt+".range[1]",Math.pow(10,Pt)))}else kt(nt+".autorange",!0);Array.isArray(ze._subplots.polar)&&ze._subplots.polar.length&&ze[qt.parts[0]]&&qt.parts[1]==="radialaxis"&&delete ze[qt.parts[0]]._subplot.viewInitial["radialaxis.range"],a.getComponentMethod("annotations","convertCoords")(ae,Re,Vt,kt),a.getComponentMethod("images","convertCoords")(ae,Re,Vt,kt)}else kt(nt+".autorange",!0),kt(nt+".range",null);v(ze,nt+"._inputRange").set(null)}else if(Je.match(A)){var wt=v(ze,Bt).get(),Rt=(Vt||{}).type;Rt&&Rt!=="-"||(Rt="linear"),a.getComponentMethod("annotations","convertCoords")(ae,wt,Rt,kt),a.getComponentMethod("images","convertCoords")(ae,wt,Rt,kt)}var Nt=_.containerArrayMatch(Bt);if(Nt){be=Nt.array,ke=Nt.index;var Yt=Nt.property,Wt=Qe||{editType:"calc"};ke!==""&&Yt===""&&(_.isAddVal(Vt)?Et[Bt]=null:_.isRemoveVal(Vt)?Et[Bt]=(v(Be,be).get()||[])[ke]:M.warn("unrecognized full object value",fe)),x.update(ht,Wt),$e[be]||($e[be]={});var Xt=$e[be][ke];Xt||(Xt=$e[be][ke]={}),Xt[Yt]=Vt,delete fe[Bt]}else Je==="reverse"?(ft.range?ft.range.reverse():(kt(nt+".autorange",!0),ft.range=[1,0]),Re.autorange?ht.calc=!0:ht.plot=!0):(Bt==="dragmode"&&(Vt===!1&&Ne!==!1||Vt!==!1&&Ne===!1)||ze._has("scatter-like")&&ze._has("regl")&&Bt==="dragmode"&&(Vt==="lasso"||Vt==="select")&&Ne!=="lasso"&&Ne!=="select"||ze._has("gl2d")?ht.plot=!0:Qe?x.update(ht,Qe):ht.calc=!0,qt.set(Vt))}}for(be in $e)_.applyContainerArrayChanges(ae,ge(Be,be),$e[be],ht,ge)||(ht.plot=!0);for(var Qt in Ft){var rn=(xt=s.getFromId(ae,Qt))&&xt._constraintGroup;if(rn)for(var xn in ht.calc=!0,rn)Ft[xn]||(s.getFromId(ae,xn)._constraintShrinkable=!0)}return(oe(ae)||fe.height||fe.width)&&(ht.plot=!0),(ht.plot||ht.calc)&&(ht.layoutReplot=!0),{flags:ht,rangesAltered:Ft,undoit:Et,redoit:bt,eventData:Ve}}function oe(ae){var fe=ae._fullLayout,be=fe.width,ke=fe.height;return ae.layout.autosize&&o.plotAutoSize(ae,ae.layout,fe),fe.width!==be||fe.height!==ke}function ue(ae,fe,be,ke){ae=M.getGraphDiv(ae),k.clearPromiseQueue(ae),M.isPlainObject(fe)||(fe={}),M.isPlainObject(be)||(be={}),Object.keys(fe).length&&(ae.changed=!0),Object.keys(be).length&&(ae.changed=!0);var Le=k.coerceTraceIndices(ae,ke),Be=q(ae,M.extendFlat({},fe),Le),ze=Be.flags,je=ie(ae,M.extendFlat({},be)),ge=je.flags;(ze.calc||ge.calc)&&(ae.calcdata=void 0),ze.clearAxisTypes&&k.clearAxisTypes(ae,Le,be);var we=[];ge.layoutReplot?we.push(E.layoutReplot):ze.fullReplot?we.push(p._doPlot):(we.push(o.previousPromises),te(ae,ge,je)||o.supplyDefaults(ae),ze.style&&we.push(E.doTraceStyle),(ze.colorbars||ge.colorbars)&&we.push(E.doColorBars),ge.legend&&we.push(E.doLegend),ge.layoutstyle&&we.push(E.layoutStyles),ge.axrange&&Z(we,je.rangesAltered),ge.ticks&&we.push(E.doTicksRelayout),ge.modebar&&we.push(E.doModeBar),ge.camera&&we.push(E.doCamera),we.push(b)),we.push(o.rehover,o.redrag,o.reselect),l.add(ae,ue,[ae,Be.undoit,je.undoit,Be.traces],ue,[ae,Be.redoit,je.redoit,Be.traces]);var Ee=M.syncOrAsync(we,ae);return Ee&&Ee.then||(Ee=Promise.resolve(ae)),Ee.then(function(){return ae.emit("plotly_update",{data:Be.eventData,layout:je.eventData}),ae})}function ce(ae){return function(fe){fe._fullLayout._guiEditing=!0;var be=ae.apply(null,arguments);return fe._fullLayout._guiEditing=!1,be}}var ye=[{pattern:/^hiddenlabels/,attr:"legend.uirevision"},{pattern:/^((x|y)axis\d*)\.((auto)?range|title\.text)/},{pattern:/axis\d*\.showspikes$/,attr:"modebar.uirevision"},{pattern:/(hover|drag)mode$/,attr:"modebar.uirevision"},{pattern:/^(scene\d*)\.camera/},{pattern:/^(geo\d*)\.(projection|center|fitbounds)/},{pattern:/^(ternary\d*\.[abc]axis)\.(min|title\.text)$/},{pattern:/^(polar\d*\.radialaxis)\.((auto)?range|angle|title\.text)/},{pattern:/^(polar\d*\.angularaxis)\.rotation/},{pattern:/^(mapbox\d*)\.(center|zoom|bearing|pitch)/},{pattern:/^legend\.(x|y)$/,attr:"editrevision"},{pattern:/^(shapes|annotations)/,attr:"editrevision"},{pattern:/^title\.text$/,attr:"editrevision"}],de=[{pattern:/^selectedpoints$/,attr:"selectionrevision"},{pattern:/(^|value\.)visible$/,attr:"legend.uirevision"},{pattern:/^dimensions\[\d+\]\.constraintrange/},{pattern:/^node\.(x|y|groups)/},{pattern:/^level$/},{pattern:/(^|value\.)name$/},{pattern:/colorbar\.title\.text$/},{pattern:/colorbar\.(x|y)$/,attr:"editrevision"}];function me(ae,fe){for(var be=0;be1;)if(ke.pop(),(be=v(fe,ke.join(".")+".uirevision").get())!==void 0)return be;return fe.uirevision}function xe(ae,fe){for(var be=0;be=Le.length?Le[0]:Le[we]:Le}function je(we){return Array.isArray(Be)?we>=Be.length?Be[0]:Be[we]:Be}function ge(we,Ee){var Ve=0;return function(){if(we&&++Ve===Ee)return we()}}return ke._frameWaitingCnt===void 0&&(ke._frameWaitingCnt=0),new Promise(function(we,Ee){function Ve(){ae.emit("plotly_animating"),ke._lastFrameAt=-1/0,ke._timeToNext=0,ke._runningTransitions=0,ke._currentFrame=null;var Bt=function(){ke._animationRaf=window.requestAnimationFrame(Bt),Date.now()-ke._lastFrameAt>ke._timeToNext&&function(){ke._currentFrame&&ke._currentFrame.onComplete&&ke._currentFrame.onComplete();var qt=ke._currentFrame=ke._frameQueue.shift();if(qt){var Vt=qt.name?qt.name.toString():null;ae._fullLayout._currentFrame=Vt,ke._lastFrameAt=Date.now(),ke._timeToNext=qt.frameOpts.duration,o.transition(ae,qt.frame.data,qt.frame.layout,k.coerceTraceIndices(ae,qt.frame.traces),qt.frameOpts,qt.transitionOpts).then(function(){qt.onComplete&&qt.onComplete()}),ae.emit("plotly_animatingframe",{name:Vt,frame:qt.frame,animation:{frame:qt.frameOpts,transition:qt.transitionOpts}})}else ae.emit("plotly_animated"),window.cancelAnimationFrame(ke._animationRaf),ke._animationRaf=null}()};Bt()}var $e,Ye,st=0;function ot(Bt){return Array.isArray(Le)?st>=Le.length?Bt.transitionOpts=Le[st]:Bt.transitionOpts=Le[0]:Bt.transitionOpts=Le,st++,Bt}var ht=[],bt=fe==null,Et=Array.isArray(fe);if(bt||Et||!M.isPlainObject(fe)){if(bt||["string","number"].indexOf(typeof fe)!==-1)for($e=0;$e0&&FtFt)&&Ot.push(Ye);ht=Ot}}ht.length>0?function(Bt){if(Bt.length!==0){for(var qt=0;qt=0;ke--)if(M.isPlainObject(fe[ke])){var $e=fe[ke].name,Ye=(ge[$e]||Ve[$e]||{}).name,st=fe[ke].name,ot=ge[Ye]||Ve[Ye];Ye&&st&&typeof st=="number"&&ot&&L<5&&(L++,M.warn('addFrames: overwriting frame "'+(ge[Ye]||Ve[Ye]).name+'" with a frame whose name of type "number" also equates to "'+Ye+'". This is valid but may potentially lead to unexpected behavior since all plotly.js frame names are stored internally as strings.'),L===5&&M.warn("addFrames: This API call has yielded too many of these warnings. For the rest of this call, further warnings about numeric frame names will be suppressed.")),Ve[$e]={name:$e},Ee.push({frame:o.supplyFrameDefaults(fe[ke]),index:be&&be[ke]!==void 0&&be[ke]!==null?be[ke]:we+ke})}Ee.sort(function(Bt,qt){return Bt.index>qt.index?-1:Bt.index=0;ke--){if(typeof(Le=Ee[ke].frame).name=="number"&&M.warn("Warning: addFrames accepts frames with numeric names, but the numbers areimplicitly cast to strings"),!Le.name)for(;ge[Le.name="frame "+ae._transitionData._counter++];);if(ge[Le.name]){for(Be=0;Be=0;be--)ke=fe[be],Be.push({type:"delete",index:ke}),ze.unshift({type:"insert",index:ke,value:Le[ke]});var je=o.modifyFrames,ge=o.modifyFrames,we=[ae,ze],Ee=[ae,Be];return l&&l.add(ae,je,we,ge,Ee),o.modifyFrames(ae,Be)},p.addTraces=function ae(fe,be,ke){fe=M.getGraphDiv(fe);var Le,Be,ze=[],je=p.deleteTraces,ge=ae,we=[fe,ze],Ee=[fe,be];for(function(Ve,$e,Ye){var st,ot;if(!Array.isArray(Ve.data))throw new Error("gd.data must be an array.");if($e===void 0)throw new Error("traces must be defined.");for(Array.isArray($e)||($e=[$e]),st=0;st<$e.length;st++)if(typeof(ot=$e[st])!="object"||Array.isArray(ot)||ot===null)throw new Error("all values in traces array must be non-array objects");if(Ye===void 0||Array.isArray(Ye)||(Ye=[Ye]),Ye!==void 0&&Ye.length!==$e.length)throw new Error("if indices is specified, traces.length must equal indices.length")}(fe,be,ke),Array.isArray(be)||(be=[be]),be=be.map(function(Ve){return M.extendFlat({},Ve)}),k.cleanData(be),Le=0;Le=0&&Ve<$e.length?$e.splice(0,$e.length-Ve):[];return[$e,Ye]}var ze=N(fe=M.getGraphDiv(fe),be,ke,Le,Be),je=p.redraw(fe),ge=[fe,ze.update,ke,ze.maxPoints];return l.add(fe,p.prependTraces,ge,ae,arguments),je},p.moveTraces=function ae(fe,be,ke){var Le,Be=[],ze=[],je=ae,ge=ae,we=[fe=M.getGraphDiv(fe),ke,be],Ee=[fe,be,ke];if(B(fe,be,ke),be=Array.isArray(be)?be:[be],ke===void 0)for(ke=[],Le=0;Le=0&&Ve<$e.length?$e.splice(Ve,$e.length):[];return[$e,Ye]}var ze=N(fe=M.getGraphDiv(fe),be,ke,Le,Be),je=p.redraw(fe),ge=[fe,ze.update,ke,ze.maxPoints];return l.add(fe,p.extendTraces,ge,ae,arguments),je},p.newPlot=function(ae,fe,be,ke){return ae=M.getGraphDiv(ae),o.cleanPlot([],{},ae._fullData||[],ae._fullLayout||{}),o.purge(ae),p._doPlot(ae,fe,be,ke)},p._doPlot=function(ae,fe,be,ke){var Le;if(ae=M.getGraphDiv(ae),f.init(ae),M.isPlainObject(fe)){var Be=fe;fe=Be.data,be=Be.layout,ke=Be.config,Le=Be.frames}if(f.triggerHandler(ae,"plotly_beforeplot",[fe,be,ke])===!1)return Promise.reject();fe||be||M.isPlotDiv(ae)||M.warn("Calling _doPlot as if redrawing but this container doesn't yet have a plot.",ae),O(ae,ke),be||(be={}),d.select(ae).classed("js-plotly-plot",!0),h.makeTester(),Array.isArray(ae._promises)||(ae._promises=[]);var ze=(ae.data||[]).length===0&&Array.isArray(fe);Array.isArray(fe)&&(k.cleanData(fe),ze?ae.data=fe:ae.data.push.apply(ae.data,fe),ae.empty=!1),ae.layout&&!ze||(ae.layout=k.cleanLayout(be)),o.supplyDefaults(ae);var je=ae._fullLayout,ge=je._has("cartesian");je._replotting=!0,(ze||je._shouldCreateBgLayer)&&(function(bt){var Et=d.select(bt),kt=bt._fullLayout;if(kt._calcInverseTransform=Ce,kt._calcInverseTransform(bt),kt._container=Et.selectAll(".plot-container").data([0]),kt._container.enter().insert("div",":first-child").classed("plot-container",!0).classed("plotly",!0),kt._paperdiv=kt._container.selectAll(".svg-container").data([0]),kt._paperdiv.enter().append("div").classed("user-select-none",!0).classed("svg-container",!0).style("position","relative"),kt._glcontainer=kt._paperdiv.selectAll(".gl-container").data([{}]),kt._glcontainer.enter().append("div").classed("gl-container",!0),kt._paperdiv.selectAll(".main-svg").remove(),kt._paperdiv.select(".modebar-container").remove(),kt._paper=kt._paperdiv.insert("svg",":first-child").classed("main-svg",!0),kt._toppaper=kt._paperdiv.append("svg").classed("main-svg",!0),kt._modebardiv=kt._paperdiv.append("div"),delete kt._modeBar,kt._hoverpaper=kt._paperdiv.append("svg").classed("main-svg",!0),!kt._uid){var xt={};d.selectAll("defs").each(function(){this.id&&(xt[this.id.split("-")[1]]=1)}),kt._uid=M.randstr(xt)}kt._paperdiv.selectAll(".main-svg").attr(w.svgAttrs),kt._defs=kt._paper.append("defs").attr("id","defs-"+kt._uid),kt._clips=kt._defs.append("g").classed("clips",!0),kt._topdefs=kt._toppaper.append("defs").attr("id","topdefs-"+kt._uid),kt._topclips=kt._topdefs.append("g").classed("clips",!0),kt._bgLayer=kt._paper.append("g").classed("bglayer",!0),kt._draggers=kt._paper.append("g").classed("draglayer",!0);var Ft=kt._paper.append("g").classed("layer-below",!0);kt._imageLowerLayer=Ft.append("g").classed("imagelayer",!0),kt._shapeLowerLayer=Ft.append("g").classed("shapelayer",!0),kt._cartesianlayer=kt._paper.append("g").classed("cartesianlayer",!0),kt._polarlayer=kt._paper.append("g").classed("polarlayer",!0),kt._smithlayer=kt._paper.append("g").classed("smithlayer",!0),kt._ternarylayer=kt._paper.append("g").classed("ternarylayer",!0),kt._geolayer=kt._paper.append("g").classed("geolayer",!0),kt._funnelarealayer=kt._paper.append("g").classed("funnelarealayer",!0),kt._pielayer=kt._paper.append("g").classed("pielayer",!0),kt._iciclelayer=kt._paper.append("g").classed("iciclelayer",!0),kt._treemaplayer=kt._paper.append("g").classed("treemaplayer",!0),kt._sunburstlayer=kt._paper.append("g").classed("sunburstlayer",!0),kt._indicatorlayer=kt._toppaper.append("g").classed("indicatorlayer",!0),kt._glimages=kt._paper.append("g").classed("glimages",!0);var Ot=kt._toppaper.append("g").classed("layer-above",!0);kt._imageUpperLayer=Ot.append("g").classed("imagelayer",!0),kt._shapeUpperLayer=Ot.append("g").classed("shapelayer",!0),kt._selectionLayer=kt._toppaper.append("g").classed("selectionlayer",!0),kt._infolayer=kt._toppaper.append("g").classed("infolayer",!0),kt._menulayer=kt._toppaper.append("g").classed("menulayer",!0),kt._zoomlayer=kt._toppaper.append("g").classed("zoomlayer",!0),kt._hoverlayer=kt._hoverpaper.append("g").classed("hoverlayer",!0),kt._modebardiv.classed("modebar-container",!0).style("position","absolute").style("top","0px").style("right","0px"),bt.emit("plotly_framework")}(ae),je._shouldCreateBgLayer&&delete je._shouldCreateBgLayer),h.initGradients(ae),h.initPatterns(ae),ze&&s.saveShowSpikeInitial(ae);var we=!ae.calcdata||ae.calcdata.length!==(ae._fullData||[]).length;we&&o.doCalcdata(ae);for(var Ee=0;Ee=F.length)return!1;if(b.dimensions===2){if(I++,R.length===I)return b;var B=R[I];if(!k(B))return!1;b=F[z][B]}else b=F[z]}else b=F}}return b}function k(b){return b===Math.round(b)&&b>=0}function E(){var b,R,I={};for(b in u(I,M),d.subplotsRegistry)if((R=d.subplotsRegistry[b]).layoutAttributes)if(Array.isArray(R.attr))for(var O=0;O=B.length)return!1;O=(I=(d.transformsRegistry[B[N].type]||{}).attributes)&&I[R[2]],F=3}else{var W=b._module;if(W||(W=(d.modules[b.type||i.type.dflt]||{})._module),!W)return!1;if(!(O=(I=W.attributes)&&I[z])){var j=W.basePlotModule;j&&j.attributes&&(O=j.attributes[z])}O||(O=i[z])}return _(O,R,F)},p.getLayoutValObject=function(b,R){var I=function(O,z){var F,B,N,W,j=O._basePlotModules;if(j){var $;for(F=0;F=u&&(a._input||{})._templateitemname;s&&(o=u);var h,c=l+"["+o+"]";function m(){h={},s&&(h[c]={},h[c].templateitemname=s)}function w(C,_){s?d.nestedProperty(h[c],C).set(_):h[c+"."+C]=_}function y(){var C=h;return m(),C}return m(),{modifyBase:function(C,_){h[C]=_},modifyItem:w,getUpdateObj:y,applyUpdate:function(C,_){C&&w(C,_);var k=y();for(var E in k)d.nestedProperty(f,E).set(k[E])}}}},61549:function(T,p,t){var d=t(39898),g=t(73972),i=t(74875),M=t(71828),v=t(63893),f=t(33306),l=t(7901),a=t(91424),u=t(92998),o=t(64168),s=t(89298),h=t(18783),c=t(99082),m=c.enforce,w=c.clean,y=t(71739).doAutoRange,C="start";function _(L,b,R){for(var I=0;I=L[1]||O[1]<=L[0])&&z[0]b[0])return!0}return!1}function k(L){var b,R,I,O,z,F,B=L._fullLayout,N=B._size,W=N.p,j=s.list(L,"",!0);if(B._paperdiv.style({width:L._context.responsive&&B.autosize&&!L._context._hasZeroWidth&&!L.layout.width?"100%":B.width+"px",height:L._context.responsive&&B.autosize&&!L._context._hasZeroHeight&&!L.layout.height?"100%":B.height+"px"}).selectAll(".main-svg").call(a.setSize,B.width,B.height),L._context.setBackground(L,B.paper_bgcolor),p.drawMainTitle(L),o.manage(L),!B._has("cartesian"))return i.previousPromises(L);function $(Ve,$e,Ye){var st=Ve._lw/2;return Ve._id.charAt(0)==="x"?$e?Ye==="top"?$e._offset-W-st:$e._offset+$e._length+W+st:N.t+N.h*(1-(Ve.position||0))+st%1:$e?Ye==="right"?$e._offset+$e._length+W+st:$e._offset-W-st:N.l+N.w*(Ve.position||0)+st%1}for(b=0;b.5?"t":"b",te=$._fullLayout.margin[ne],Z=0;return U.yref==="paper"?Z=G+U.pad.t+U.pad.b:U.yref==="container"&&(Z=function(X,Q,re,ie,oe){var ue=0;return re==="middle"&&(ue+=oe/2),X==="t"?(re==="top"&&(ue+=oe),ue+=ie-Q*ie):(re==="bottom"&&(ue+=oe),ue+=Q*ie),ue}(ne,q,H,$._fullLayout.height,G)+U.pad.t+U.pad.b),Z>te?Z:0}(L,R,W);j>0&&(function($,U,G,q){var H="title.automargin",ne=$._fullLayout.title,te=ne.y>.5?"t":"b",Z={x:ne.x,y:ne.y,t:0,b:0},X={};ne.yref==="paper"&&function(Q,re,ie,oe,ue){var ce=re.yref==="paper"?Q._fullLayout._size.h:Q._fullLayout.height,ye=M.isTopAnchor(re)?oe:oe-ue,de=ie==="b"?ce-ye:ye;return!(M.isTopAnchor(re)&&ie==="t"||M.isBottomAnchor(re)&&ie==="b")&&deN?A.push({code:"unused",traceType:I,templateCount:B,dataCount:N}):N>B&&A.push({code:"reused",traceType:I,templateCount:B,dataCount:N})}}else A.push({code:"data"});if(function W(j,$){for(var U in j)if(U.charAt(0)!=="_"){var G=j[U],q=c(j,U,$);g(G)?(Array.isArray(j)&&G._template===!1&&G.templateitemname&&A.push({code:"missing",path:q,templateitemname:G.templateitemname}),W(G,q)):Array.isArray(G)&&m(G)&&W(G,q)}}({data:b,layout:L},""),A.length)return A.map(w)}},403:function(T,p,t){var d=t(92770),g=t(72391),i=t(74875),M=t(71828),v=t(25095),f=t(5900),l=t(70942),a=t(11506).version,u={format:{valType:"enumerated",values:["png","jpeg","webp","svg","full-json"],dflt:"png"},width:{valType:"number",min:1},height:{valType:"number",min:1},scale:{valType:"number",min:0,dflt:1},setBackground:{valType:"any",dflt:!1},imageDataOnly:{valType:"boolean",dflt:!1}};T.exports=function(o,s){var h,c,m,w;function y(N){return!(N in s)||M.validate(s[N],u[N])}if(s=s||{},M.isPlainObject(o)?(h=o.data||[],c=o.layout||{},m=o.config||{},w={}):(o=M.getGraphDiv(o),h=M.extendDeep([],o.data),c=M.extendDeep({},o.layout),m=o._context,w=o._fullLayout||{}),!y("width")&&s.width!==null||!y("height")&&s.height!==null)throw new Error("Height and width should be pixel values.");if(!y("format"))throw new Error("Export format is not "+M.join2(u.format.values,", "," or ")+".");var C={};function _(N,W){return M.coerce(s,C,u,N,W)}var k=_("format"),E=_("width"),x=_("height"),A=_("scale"),L=_("setBackground"),b=_("imageDataOnly"),R=document.createElement("div");R.style.position="absolute",R.style.left="-5000px",document.body.appendChild(R);var I=M.extendFlat({},c);E?I.width=E:s.width===null&&d(w.width)&&(I.width=w.width),x?I.height=x:s.height===null&&d(w.height)&&(I.height=w.height);var O=M.extendFlat({},m,{_exportedPlot:!0,staticPlot:!0,setBackground:L}),z=v.getRedrawFunc(R);function F(){return new Promise(function(N){setTimeout(N,v.getDelay(R._fullLayout))})}function B(){return new Promise(function(N,W){var j=f(R,k,A),$=R._fullLayout.width,U=R._fullLayout.height;function G(){g.purge(R),document.body.removeChild(R)}if(k==="full-json"){var q=i.graphJson(R,!1,"keepdata","object",!0,!0);return q.version=a,q=JSON.stringify(q),G(),N(b?q:v.encodeJSON(q))}if(G(),k==="svg")return N(b?j:v.encodeSVG(j));var H=document.createElement("canvas");H.id=M.randstr(),l({format:k,width:$,height:U,scale:A,canvas:H,svg:j,promise:!0}).then(N).catch(W)})}return new Promise(function(N,W){g.newPlot(R,h,I,O).then(z).then(F).then(B).then(function(j){N(function($){return b?$.replace(v.IMAGE_URL_PREFIX,""):$}(j))}).catch(function(j){W(j)})})}},84936:function(T,p,t){var d=t(71828),g=t(74875),i=t(86281),M=t(72075).dfltConfig,v=d.isPlainObject,f=Array.isArray,l=d.isArrayOrTypedArray;function a(C,_,k,E,x,A){A=A||[];for(var L=Object.keys(C),b=0;bz.length&&E.push(h("unused",x,I.concat(z.length)));var $,U,G,q,H,ne=z.length,te=Array.isArray(j);if(te&&(ne=Math.min(ne,j.length)),F.dimensions===2)for(U=0;Uz[U].length&&E.push(h("unused",x,I.concat(U,z[U].length)));var Z=z[U].length;for($=0;$<(te?Math.min(Z,j[U].length):Z);$++)G=te?j[U][$]:j,q=O[U][$],H=z[U][$],d.validate(q,G)?H!==q&&H!==+q&&E.push(h("dynamic",x,I.concat(U,$),q,H)):E.push(h("value",x,I.concat(U,$),q))}else E.push(h("array",x,I.concat(U),O[U]));else for(U=0;U1&&A.push(h("object","layout"))),g.supplyDefaults(L);for(var b=L._fullData,R=k.length,I=0;I0&&Math.round(c)===c))return{vals:u};s=c}for(var m=l.calendar,w=o==="start",y=o==="end",C=f[a+"period0"],_=i(C,m)||0,k=[],E=[],x=[],A=u.length,L=0;LO;)I=M(I,-s,m);for(;I<=O;)I=M(I,s,m);R=M(I,-s,m)}else{for(I=_+(b=Math.round((O-_)/h))*h;I>O;)I-=h;for(;I<=O;)I+=h;R=I-h}k[L]=w?R:y?I:(R+I)/2,E[L]=R,x[L]=I}return{vals:k,starts:E,ends:x}}},89502:function(T){T.exports={xaxis:{valType:"subplotid",dflt:"x",editType:"calc+clearAxisTypes"},yaxis:{valType:"subplotid",dflt:"y",editType:"calc+clearAxisTypes"}}},71739:function(T,p,t){var d=t(39898),g=t(92770),i=t(71828),M=t(50606).FP_SAFE,v=t(73972),f=t(91424),l=t(41675),a=l.getFromId,u=l.isLinked;function o(E,x){var A,L,b=[],R=E._fullLayout,I=h(R,x,0),O=h(R,x,1),z=c(E,x),F=z.min,B=z.max;if(F.length===0||B.length===0)return i.simpleMap(x.range,x.r2l);var N=F[0].val,W=B[0].val;for(A=1;A0&&((ne=re-I(U)-O(G))>ie?te/ne>oe&&(q=U,H=G,oe=te/ne):te/re>oe&&(q={val:U.val,nopad:1},H={val:G.val,nopad:1},oe=te/re));if(N===W){var ue=N-1,ce=N+1;if(X)if(N===0)b=[0,1];else{var ye=(N>0?B:F).reduce(function(me,pe){return Math.max(me,O(pe))},0),de=N/(1-Math.min(.5,ye/re));b=N>0?[0,de]:[de,0]}else b=Q?[Math.max(0,ue),Math.max(1,ce)]:[ue,ce]}else X?(q.val>=0&&(q={val:0,nopad:1}),H.val<=0&&(H={val:0,nopad:1})):Q&&(q.val-oe*I(q)<0&&(q={val:0,nopad:1}),H.val<=0&&(H={val:1,nopad:1})),oe=(H.val-q.val-s(x,U.val,G.val))/(re-I(q)-O(H)),b=[q.val-oe*I(q),H.val+oe*O(H)];return j&&b.reverse(),i.simpleMap(b,x.l2r||Number)}function s(E,x,A){var L=0;if(E.rangebreaks)for(var b=E.locateBreaks(x,A),R=0;R=A&&(F.extrapad||!I)){O=!1;break}b(x,F.val)&&F.pad<=A&&(I||!F.extrapad)&&(E.splice(z,1),z--)}if(O){var B=R&&x===0;E.push({val:x,pad:B?0:A,extrapad:!B&&I})}}function C(E){return g(E)&&Math.abs(E)=x}T.exports={getAutoRange:o,makePadFn:h,doAutoRange:function(E,x,A){if(x.setScale(),x.autorange){x.range=A?A.slice():o(E,x),x._r=x.range.slice(),x._rl=i.simpleMap(x._r,x.r2l);var L=x._input,b={};b[x._attr+".range"]=x.range,b[x._attr+".autorange"]=x.autorange,v.call("_storeDirectGUIEdit",E.layout,E._fullLayout._preGUI,b),L.range=x.range.slice(),L.autorange=x.autorange}var R=x._anchorAxis;if(R&&R.rangeslider){var I=R.rangeslider[x._name];I&&I.rangemode==="auto"&&(I.range=o(E,x)),R._input.rangeslider[x._name]=i.extendFlat({},I)}},findExtremes:function(E,x,A){A||(A={}),E._m||E.setScale();var L,b,R,I,O,z,F,B,N,W=[],j=[],$=x.length,U=A.padded||!1,G=A.tozero&&(E.type==="linear"||E.type==="-"),q=E.type==="log",H=!1,ne=A.vpadLinearized||!1;function te(ce){if(Array.isArray(ce))return H=!0,function(de){return Math.max(Number(ce[de]||0),0)};var ye=Math.max(Number(ce||0),0);return function(){return ye}}var Z=te((E._m>0?A.ppadplus:A.ppadminus)||A.ppad||0),X=te((E._m>0?A.ppadminus:A.ppadplus)||A.ppad||0),Q=te(A.vpadplus||A.vpad),re=te(A.vpadminus||A.vpad);if(!H){if(B=1/0,N=-1/0,q)for(L=0;L<$;L++)(b=x[L])0&&(B=b),b>N&&b-M&&(B=b),b>N&&b=ue;L--)oe(L);return{min:W,max:j,opts:A}},concatExtremes:c}},89298:function(T,p,t){var d=t(39898),g=t(92770),i=t(74875),M=t(73972),v=t(71828),f=v.strTranslate,l=t(63893),a=t(92998),u=t(7901),o=t(91424),s=t(13838),h=t(66287),c=t(50606),m=c.ONEMAXYEAR,w=c.ONEAVGYEAR,y=c.ONEMINYEAR,C=c.ONEMAXQUARTER,_=c.ONEAVGQUARTER,k=c.ONEMINQUARTER,E=c.ONEMAXMONTH,x=c.ONEAVGMONTH,A=c.ONEMINMONTH,L=c.ONEWEEK,b=c.ONEDAY,R=b/2,I=c.ONEHOUR,O=c.ONEMIN,z=c.ONESEC,F=c.MINUS_SIGN,B=c.BADNUM,N={K:"zeroline"},W={K:"gridline",L:"path"},j={K:"minor-gridline",L:"path"},$={K:"tick",L:"path"},U={K:"tick",L:"text"},G={width:["x","r","l","xl","xr"],height:["y","t","b","yt","yb"],right:["r","xr"],left:["l","xl"],top:["t","yt"],bottom:["b","yb"]},q=t(18783),H=q.MID_SHIFT,ne=q.CAP_SHIFT,te=q.LINE_SPACING,Z=q.OPPOSITE_SIDE,X=T.exports={};X.setConvert=t(21994);var Q=t(4322),re=t(41675),ie=re.idSort,oe=re.isLinked;X.id2name=re.id2name,X.name2id=re.name2id,X.cleanId=re.cleanId,X.list=re.list,X.listIds=re.listIds,X.getFromId=re.getFromId,X.getFromTrace=re.getFromTrace;var ue=t(71739);function ce(Re){var Ne=1e-4*(Re[1]-Re[0]);return[Re[0]-Ne,Re[1]+Ne]}X.getAutoRange=ue.getAutoRange,X.findExtremes=ue.findExtremes,X.coerceRef=function(Re,Ne,Qe,ut,dt,_t){var It=ut.charAt(ut.length-1),Lt=Qe._fullLayout._subplots[It+"axis"],yt=ut+"ref",Pt={};return dt||(dt=Lt[0]||(typeof _t=="string"?_t:_t[0])),_t||(_t=dt),Lt=Lt.concat(Lt.map(function(wt){return wt+" domain"})),Pt[yt]={valType:"enumerated",values:Lt.concat(_t?typeof _t=="string"?[_t]:_t:[]),dflt:dt},v.coerce(Re,Ne,Pt,yt)},X.getRefType=function(Re){return Re===void 0?Re:Re==="paper"?"paper":Re==="pixel"?"pixel":/( domain)$/.test(Re)?"domain":"range"},X.coercePosition=function(Re,Ne,Qe,ut,dt,_t){var It,Lt;if(X.getRefType(ut)!=="range")It=v.ensureNumber,Lt=Qe(dt,_t);else{var yt=X.getFromId(Ne,ut);Lt=Qe(dt,_t=yt.fraction2r(_t)),It=yt.cleanPos}Re[dt]=It(Lt)},X.cleanPosition=function(Re,Ne,Qe){return(Qe==="paper"||Qe==="pixel"?v.ensureNumber:X.getFromId(Ne,Qe).cleanPos)(Re)},X.redrawComponents=function(Re,Ne){Ne=Ne||X.listIds(Re);var Qe=Re._fullLayout;function ut(dt,_t,It,Lt){for(var yt=M.getComponentMethod(dt,_t),Pt={},wt=0;wtQe&&wt2e-6||((Qe-Re._forceTick0)/Re._minDtick%1+1.000001)%1>2e-6)&&(Re._minDtick=0)):Re._minDtick=0},X.saveRangeInitial=function(Re,Ne){for(var Qe=X.list(Re,"",!0),ut=!1,dt=0;dt.3*Dn||dn(un)||dn(An))){var In=xn.dtick/2;Qt+=Qt+In.8){var kn=Number(xn.substr(1));Yn.exactYears>.8&&kn%12==0?Qt=X.tickIncrement(Qt,"M6","reverse")+1.5*b:Yn.exactMonths>.8?Qt=X.tickIncrement(Qt,"M1","reverse")+15.5*b:Qt-=R;var sn=X.tickIncrement(Qt,xn);if(sn<=un)return sn}return Qt}(Xt,Re,Wt,Lt,dt)),Yt=Xt;Yt<=yt;)Yt=X.tickIncrement(Yt,Wt,!1,dt);return{start:Ne.c2r(Xt,0,dt),end:Ne.c2r(Yt,0,dt),size:Wt,_dataSpan:yt-Lt}},X.prepMinorTicks=function(Re,Ne,Qe){if(!Ne.minor.dtick){delete Re.dtick;var ut,dt=Ne.dtick&&g(Ne._tmin);if(dt){var _t=X.tickIncrement(Ne._tmin,Ne.dtick,!0);ut=[Ne._tmin,.99*_t+.01*Ne._tmin]}else{var It=v.simpleMap(Ne.range,Ne.r2l);ut=[It[0],.8*It[0]+.2*It[1]]}if(Re.range=v.simpleMap(ut,Ne.l2r),Re._isMinor=!0,X.prepTicks(Re,Qe),dt){var Lt=g(Ne.dtick),yt=g(Re.dtick),Pt=Lt?Ne.dtick:+Ne.dtick.substring(1),wt=yt?Re.dtick:+Re.dtick.substring(1);Lt&&yt?pe(Pt,wt)?Pt===2*L&&wt===2*b&&(Re.dtick=L):Pt===2*L&&wt===3*b?Re.dtick=L:Pt!==L||(Ne._input.minor||{}).nticks?xe(Pt/wt,2.5)?Re.dtick=Pt/2:Re.dtick=Pt:Re.dtick=b:String(Ne.dtick).charAt(0)==="M"?yt?Re.dtick="M1":pe(Pt,wt)?Pt>=12&&wt===2&&(Re.dtick="M3"):Re.dtick=Ne.dtick:String(Re.dtick).charAt(0)==="L"?String(Ne.dtick).charAt(0)==="L"?pe(Pt,wt)||(Re.dtick=xe(Pt/wt,2.5)?Ne.dtick/2:Ne.dtick):Re.dtick="D1":Re.dtick==="D2"&&+Ne.dtick>1&&(Re.dtick=1)}Re.range=Ne.range}Ne.minor._tick0Init===void 0&&(Re.tick0=Ne.tick0)},X.prepTicks=function(Re,Ne){var Qe=v.simpleMap(Re.range,Re.r2l,void 0,void 0,Ne);if(Re.tickmode==="auto"||!Re.dtick){var ut,dt=Re.nticks;dt||(Re.type==="category"||Re.type==="multicategory"?(ut=Re.tickfont?v.bigFont(Re.tickfont.size||12):15,dt=Re._length/ut):(ut=Re._id.charAt(0)==="y"?40:80,dt=v.constrain(Re._length/ut,4,9)+1),Re._name==="radialaxis"&&(dt*=2)),Re.minor&&Re.minor.tickmode!=="array"||Re.tickmode==="array"&&(dt*=100),Re._roughDTick=Math.abs(Qe[1]-Qe[0])/dt,X.autoTicks(Re,Re._roughDTick),Re._minDtick>0&&Re.dtick<2*Re._minDtick&&(Re.dtick=Re._minDtick,Re.tick0=Re.l2r(Re._forceTick0))}Re.ticklabelmode==="period"&&function(_t){var It;function Lt(){return!(g(_t.dtick)||_t.dtick.charAt(0)!=="M")}var yt=Lt(),Pt=X.getTickFormat(_t);if(Pt){var wt=_t._dtickInit!==_t.dtick;/%[fLQsSMX]/.test(Pt)||(/%[HI]/.test(Pt)?(It=I,wt&&!yt&&_t.dtick=(rn?0:1);xn--){var un=!xn;xn?(Re._dtickInit=Re.dtick,Re._tick0Init=Re.tick0):(Re.minor._dtickInit=Re.minor.dtick,Re.minor._tick0Init=Re.minor.tick0);var An=xn?Re:v.extendFlat({},Re,Re.minor);if(un?X.prepMinorTicks(An,Re,Ne):X.prepTicks(An,Ne),An.tickmode!=="array")if(An.tickmode!=="sync"){var Yn=ce(yt),kn=Yn[0],sn=Yn[1],Tn=g(An.dtick),dn=dt==="log"&&!(Tn||An.dtick.charAt(0)==="L"),pn=X.tickFirst(An,Ne);if(xn){if(Re._tmin=pn,pn=sn:Gn<=sn;Gn=X.tickIncrement(Gn,qn,Pt,_t)){if(xn&&Dn++,An.rangebreaks&&!Pt){if(Gn=Rt)break}if(Xt.length>Nt||Gn===jn)break;jn=Gn;var lr={value:Gn};xn?(dn&&Gn!==(0|Gn)&&(lr.simpleLabel=!0),It>1&&Dn%It&&(lr.skipLabel=!0),Xt.push(lr)):(lr.minor=!0,Qt.push(lr))}}else Xt=[],Yt=Me(Re);else xn?(Xt=[],Yt=Se(Re)):(Qt=[],Wt=Se(Re))}if(rn&&!(Re.minor.ticks==="inside"&&Re.ticks==="outside"||Re.minor.ticks==="outside"&&Re.ticks==="inside")){for(var rr=Xt.map(function(Pn){return Pn.value}),Sr=[],yr=0;yr0?(On=hn-1,En=hn):(On=hn,En=hn);var mn,wn=Pn[On].value,gn=Pn[En].value,yn=Math.abs(gn-wn),Sn=Jt||yn,Vn=0;Sn>=y?Vn=yn>=y&&yn<=m?yn:w:Jt===_&&Sn>=k?Vn=yn>=k&&yn<=C?yn:_:Sn>=A?Vn=yn>=A&&yn<=E?yn:x:Jt===L&&Sn>=L?Vn=L:Sn>=b?Vn=b:Jt===R&&Sn>=R?Vn=R:Jt===I&&Sn>=I&&(Vn=I),Vn>=yn&&(Vn=yn,mn=!0);var Xn=zn+Vn;if(jt.rangebreaks&&Vn>0){for(var nr=0,Qn=0;Qn<84;Qn++){var hr=(Qn+.5)/84;jt.maskBreaks(zn*(1-hr)+hr*Xn)!==B&&nr++}(Vn*=nr/84)||(Pn[hn].drop=!0),mn&&yn>L&&(Vn=yn)}(Vn>0||hn===0)&&(Pn[hn].periodX=zn+Vn/2)}}(Xt,Re,Re._definedDelta),Re.rangebreaks){var bn=Re._id.charAt(0)==="y",Rn=1;Re.tickmode==="auto"&&(Rn=Re.tickfont?Re.tickfont.size:12);var Ln=NaN;for(Qe=Xt.length-1;Qe>-1;Qe--)if(Xt[Qe].drop)Xt.splice(Qe,1);else{Xt[Qe].value=Je(Xt[Qe].value,Re);var Un=Re.c2p(Xt[Qe].value);(bn?Ln>Un-Rn:LnRt||$nRt&&(Kn.periodX=Rt),$n10||ut.substr(5)!=="01-01"?Re._tickround="d":Re._tickround=+Ne.substr(1)%12==0?"y":"m";else if(Ne>=b&&dt<=10||Ne>=15*b)Re._tickround="d";else if(Ne>=O&&dt<=16||Ne>=I)Re._tickround="M";else if(Ne>=z&&dt<=19||Ne>=O)Re._tickround="S";else{var _t=Re.l2r(Qe+Ne).replace(/^-/,"").length;Re._tickround=Math.max(dt,_t)-20,Re._tickround<0&&(Re._tickround=4)}}else if(g(Ne)||Ne.charAt(0)==="L"){var It=Re.range.map(Re.r2d||Number);g(Ne)||(Ne=Number(Ne.substr(1))),Re._tickround=2-Math.floor(Math.log(Ne)/Math.LN10+.01);var Lt=Math.max(Math.abs(It[0]),Math.abs(It[1])),yt=Math.floor(Math.log(Lt)/Math.LN10+.01),Pt=Re.minexponent===void 0?3:Re.minexponent;Math.abs(yt)>Pt&&(Ee(Re.exponentformat)&&!Ve(yt)?Re._tickexponent=3*Math.round((yt-1)/3):Re._tickexponent=yt)}else Re._tickround=null}function ge(Re,Ne,Qe){var ut=Re.tickfont||{};return{x:Ne,dx:0,dy:0,text:Qe||"",fontSize:ut.size,font:ut.family,fontColor:ut.color}}X.autoTicks=function(Re,Ne,Qe){var ut;function dt(Rt){return Math.pow(Rt,Math.floor(Math.log(Ne)/Math.LN10))}if(Re.type==="date"){Re.tick0=v.dateTick0(Re.calendar,0);var _t=2*Ne;if(_t>w)Ne/=w,ut=dt(10),Re.dtick="M"+12*ze(Ne,ut,Ce);else if(_t>x)Ne/=x,Re.dtick="M"+ze(Ne,1,ae);else if(_t>b){if(Re.dtick=ze(Ne,b,Re._hasDayOfWeekBreaks?[1,2,7,14]:be),!Qe){var It=X.getTickFormat(Re),Lt=Re.ticklabelmode==="period";Lt&&(Re._rawTick0=Re.tick0),/%[uVW]/.test(It)?Re.tick0=v.dateTick0(Re.calendar,2):Re.tick0=v.dateTick0(Re.calendar,1),Lt&&(Re._dowTick0=Re.tick0)}}else _t>I?Re.dtick=ze(Ne,I,ae):_t>O?Re.dtick=ze(Ne,O,fe):_t>z?Re.dtick=ze(Ne,z,fe):(ut=dt(10),Re.dtick=ze(Ne,ut,Ce))}else if(Re.type==="log"){Re.tick0=0;var yt=v.simpleMap(Re.range,Re.r2l);if(Re._isMinor&&(Ne*=1.5),Ne>.7)Re.dtick=Math.ceil(Ne);else if(Math.abs(yt[1]-yt[0])<1){var Pt=1.5*Math.abs((yt[1]-yt[0])/Ne);Ne=Math.abs(Math.pow(10,yt[1])-Math.pow(10,yt[0]))/Pt,ut=dt(10),Re.dtick="L"+ze(Ne,ut,Ce)}else Re.dtick=Ne>.3?"D2":"D1"}else Re.type==="category"||Re.type==="multicategory"?(Re.tick0=0,Re.dtick=Math.ceil(Math.max(Ne,1))):Ke(Re)?(Re.tick0=0,ut=1,Re.dtick=ze(Ne,ut,Be)):(Re.tick0=0,ut=dt(10),Re.dtick=ze(Ne,ut,Ce));if(Re.dtick===0&&(Re.dtick=1),!g(Re.dtick)&&typeof Re.dtick!="string"){var wt=Re.dtick;throw Re.dtick=1,"ax.dtick error: "+String(wt)}},X.tickIncrement=function(Re,Ne,Qe,ut){var dt=Qe?-1:1;if(g(Ne))return v.increment(Re,dt*Ne);var _t=Ne.charAt(0),It=dt*Number(Ne.substr(1));if(_t==="M")return v.incrementMonth(Re,It,ut);if(_t==="L")return Math.log(Math.pow(10,Re)+It)/Math.LN10;if(_t==="D"){var Lt=Ne==="D2"?Le:ke,yt=Re+.01*dt,Pt=v.roundUp(v.mod(yt,1),Lt,Qe);return Math.floor(yt)+Math.log(d.round(Math.pow(10,Pt),1))/Math.LN10}throw"unrecognized dtick "+String(Ne)},X.tickFirst=function(Re,Ne){var Qe=Re.r2l||Number,ut=v.simpleMap(Re.range,Qe,void 0,void 0,Ne),dt=ut[1] .mapboxgl-ctrl-attrib.mapboxgl-compact::after":"bottom: 0; right: 0","ctrl-bottom-left > .mapboxgl-ctrl-attrib.mapboxgl-compact::after":"bottom: 0; left: 0","ctrl-bottom-left .mapboxgl-ctrl":"margin: 0 0 10px 10px; float: left;","ctrl-bottom-right .mapboxgl-ctrl":"margin: 0 10px 10px 0; float: right;","ctrl-attrib":"color: rgba(0, 0, 0, 0.75); text-decoration: none; font-size: 12px","ctrl-attrib a":"color: rgba(0, 0, 0, 0.75); text-decoration: none; font-size: 12px","ctrl-attrib a:hover":"color: inherit; text-decoration: underline;","ctrl-attrib .mapbox-improve-map":"font-weight: bold; margin-left: 2px;","attrib-empty":"display: none;","ctrl-logo":`display:block; width: 21px; height: 21px; background-image: url('data:image/svg+xml;charset=utf-8,%3C?xml version="1.0" encoding="utf-8"?%3E %3Csvg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 21 21" style="enable-background:new 0 0 21 21;" xml:space="preserve"%3E%3Cg transform="translate(0,0.01)"%3E%3Cpath d="m 10.5,1.24 c -5.11,0 -9.25,4.15 -9.25,9.25 0,5.1 4.15,9.25 9.25,9.25 5.1,0 9.25,-4.15 9.25,-9.25 0,-5.11 -4.14,-9.25 -9.25,-9.25 z m 4.39,11.53 c -1.93,1.93 -4.78,2.31 -6.7,2.31 -0.7,0 -1.41,-0.05 -2.1,-0.16 0,0 -1.02,-5.64 2.14,-8.81 0.83,-0.83 1.95,-1.28 3.13,-1.28 1.27,0 2.49,0.51 3.39,1.42 1.84,1.84 1.89,4.75 0.14,6.52 z" style="opacity:0.9;fill:%23ffffff;enable-background:new" class="st0"/%3E%3Cpath d="M 10.5,-0.01 C 4.7,-0.01 0,4.7 0,10.49 c 0,5.79 4.7,10.5 10.5,10.5 5.8,0 10.5,-4.7 10.5,-10.5 C 20.99,4.7 16.3,-0.01 10.5,-0.01 Z m 0,19.75 c -5.11,0 -9.25,-4.15 -9.25,-9.25 0,-5.1 4.14,-9.26 9.25,-9.26 5.11,0 9.25,4.15 9.25,9.25 0,5.13 -4.14,9.26 -9.25,9.26 z" style="opacity:0.35;enable-background:new" class="st1"/%3E%3Cpath d="M 14.74,6.25 C 12.9,4.41 9.98,4.35 8.23,6.1 5.07,9.27 6.09,14.91 6.09,14.91 c 0,0 5.64,1.02 8.81,-2.14 C 16.64,11 16.59,8.09 14.74,6.25 Z m -2.27,4.09 -0.91,1.87 -0.9,-1.87 -1.86,-0.91 1.86,-0.9 0.9,-1.87 0.91,1.87 1.86,0.9 z" style="opacity:0.35;enable-background:new" class="st1"/%3E%3Cpolygon points="11.56,12.21 10.66,10.34 8.8,9.43 10.66,8.53 11.56,6.66 12.47,8.53 14.33,9.43 12.47,10.34 " style="opacity:0.9;fill:%23ffffff;enable-background:new" class="st0"/%3E%3C/g%3E%3C/svg%3E')`}}},13056:function(T,p,t){var d=t(71828);T.exports=function(g,i){var M=g.split(" "),v=M[0],f=M[1],l=d.isArrayOrTypedArray(i)?d.mean(i):i,a=.5+l/100,u=1.5+l/100,o=["",""],s=[0,0];switch(v){case"top":o[0]="top",s[1]=-u;break;case"bottom":o[0]="bottom",s[1]=u}switch(f){case"left":o[1]="right",s[0]=-a;break;case"right":o[1]="left",s[0]=a}return{anchor:o[0]&&o[1]?o.join("-"):o[0]?o[0]:o[1]?o[1]:"center",offset:s}}},50101:function(T,p,t){var d=t(44517),g=t(71828),i=g.strTranslate,M=g.strScale,v=t(27659).AU,f=t(77922),l=t(39898),a=t(91424),u=t(63893),o=t(10481),s="mapbox",h=p.constants=t(77734);function c(m){return typeof m=="string"&&(h.styleValuesMapbox.indexOf(m)!==-1||m.indexOf("mapbox://")===0)}p.name=s,p.attr="subplot",p.idRoot=s,p.idRegex=p.attrRegex=g.counterRegex(s),p.attributes={subplot:{valType:"subplotid",dflt:"mapbox",editType:"calc"}},p.layoutAttributes=t(23585),p.supplyLayoutDefaults=t(77882),p.plot=function(m){var w=m._fullLayout,y=m.calcdata,C=w._subplots.mapbox;if(d.version!==h.requiredVersion)throw new Error(h.wrongVersionErrorMsg);var _=function(b,R){var I=b._fullLayout;if(b._context.mapboxAccessToken==="")return"";for(var O=[],z=[],F=!1,B=!1,N=0;N1&&g.warn(h.multipleTokensErrorMsg),O[0]):(z.length&&g.log(["Listed mapbox access token(s)",z.join(","),"but did not use a Mapbox map style, ignoring token(s)."].join(" ")),"")}(m,C);d.accessToken=_;for(var k=0;kz/2){var F=b.split("|").join("
");I.text(F).attr("data-unformatted",F).call(u.convertToTspans,m),O=a.bBox(I.node())}I.attr("transform",i(-3,8-O.height)),R.insert("rect",".static-attribution").attr({x:-O.width-6,y:-O.height-3,width:O.width+6,height:O.height+3,fill:"rgba(255, 255, 255, 0.75)"});var B=1;O.width+6>z&&(B=z/(O.width+6));var N=[C.l+C.w*E.x[1],C.t+C.h*(1-E.y[0])];R.attr("transform",i(N[0],N[1])+M(B))}},p.updateFx=function(m){for(var w=m._fullLayout,y=w._subplots.mapbox,C=0;C0){for(var s=0;s0}function a(u){var o={},s={};switch(u.type){case"circle":d.extendFlat(s,{"circle-radius":u.circle.radius,"circle-color":u.color,"circle-opacity":u.opacity});break;case"line":d.extendFlat(s,{"line-width":u.line.width,"line-color":u.color,"line-opacity":u.opacity,"line-dasharray":u.line.dash});break;case"fill":d.extendFlat(s,{"fill-color":u.color,"fill-outline-color":u.fill.outlinecolor,"fill-opacity":u.opacity});break;case"symbol":var h=u.symbol,c=i(h.textposition,h.iconsize);d.extendFlat(o,{"icon-image":h.icon+"-15","icon-size":h.iconsize/10,"text-field":h.text,"text-size":h.textfont.size,"text-anchor":c.anchor,"text-offset":c.offset,"symbol-placement":h.placement}),d.extendFlat(s,{"icon-color":u.color,"text-color":h.textfont.color,"text-opacity":u.opacity});break;case"raster":d.extendFlat(s,{"raster-fade-duration":0,"raster-opacity":u.opacity})}return{layout:o,paint:s}}f.update=function(u){this.visible?this.needsNewImage(u)?this.updateImage(u):this.needsNewSource(u)?(this.removeLayer(),this.updateSource(u),this.updateLayer(u)):this.needsNewLayer(u)?this.updateLayer(u):this.updateStyle(u):(this.updateSource(u),this.updateLayer(u)),this.visible=l(u)},f.needsNewImage=function(u){return this.subplot.map.getSource(this.idSource)&&this.sourceType==="image"&&u.sourcetype==="image"&&(this.source!==u.source||JSON.stringify(this.coordinates)!==JSON.stringify(u.coordinates))},f.needsNewSource=function(u){return this.sourceType!==u.sourcetype||JSON.stringify(this.source)!==JSON.stringify(u.source)||this.layerType!==u.type},f.needsNewLayer=function(u){return this.layerType!==u.type||this.below!==this.subplot.belowLookup["layout-"+this.index]},f.lookupBelow=function(){return this.subplot.belowLookup["layout-"+this.index]},f.updateImage=function(u){this.subplot.map.getSource(this.idSource).updateImage({url:u.source,coordinates:u.coordinates});var o=this.findFollowingMapboxLayerId(this.lookupBelow());o!==null&&this.subplot.map.moveLayer(this.idLayer,o)},f.updateSource=function(u){var o=this.subplot.map;if(o.getSource(this.idSource)&&o.removeSource(this.idSource),this.sourceType=u.sourcetype,this.source=u.source,l(u)){var s=function(h){var c,m=h.sourcetype,w=h.source,y={type:m};return m==="geojson"?c="data":m==="vector"?c=typeof w=="string"?"url":"tiles":m==="raster"?(c="tiles",y.tileSize=256):m==="image"&&(c="url",y.coordinates=h.coordinates),y[c]=w,h.sourceattribution&&(y.attribution=g(h.sourceattribution)),y}(u);o.addSource(this.idSource,s)}},f.findFollowingMapboxLayerId=function(u){if(u==="traces")for(var o=this.subplot.getMapLayers(),s=0;s1)for(R=0;R-1&&m(N.originalEvent,I,[R.xaxis],[R.yaxis],R.id,B),W.indexOf("event")>-1&&l.click(I,N.originalEvent)}}},_.updateFx=function(L){var b=this,R=b.map,I=b.gd;if(!b.isStatic){var O,z=L.dragmode;O=function(N,W){W.isRect?(N.range={})[b.id]=[B([W.xmin,W.ymin]),B([W.xmax,W.ymax])]:(N.lassoPoints={})[b.id]=W.map(B)};var F=b.dragOptions;b.dragOptions=g.extendDeep(F||{},{dragmode:L.dragmode,element:b.div,gd:I,plotinfo:{id:b.id,domain:L[b.id].domain,xaxis:b.xaxis,yaxis:b.yaxis,fillRangeItems:O},xaxes:[b.xaxis],yaxes:[b.yaxis],subplot:b.id}),R.off("click",b.onClickInPanHandler),o(z)||u(z)?(R.dragPan.disable(),R.on("zoomstart",b.clearOutline),b.dragOptions.prepFn=function(N,W,j){s(N,W,j,b.dragOptions,z)},f.init(b.dragOptions)):(R.dragPan.enable(),R.off("zoomstart",b.clearOutline),b.div.onmousedown=null,b.div.ontouchstart=null,b.div.removeEventListener("touchstart",b.div._ontouchstart),b.onClickInPanHandler=b.onClickInPanFn(b.dragOptions),R.on("click",b.onClickInPanHandler))}function B(N){var W=b.map.unproject(N);return[W.lng,W.lat]}},_.updateFramework=function(L){var b=L[this.id].domain,R=L._size,I=this.div.style;I.width=R.w*(b.x[1]-b.x[0])+"px",I.height=R.h*(b.y[1]-b.y[0])+"px",I.left=R.l+b.x[0]*R.w+"px",I.top=R.t+(1-b.y[1])*R.h+"px",this.xaxis._offset=R.l+b.x[0]*R.w,this.xaxis._length=R.w*(b.x[1]-b.x[0]),this.yaxis._offset=R.t+(1-b.y[1])*R.h,this.yaxis._length=R.h*(b.y[1]-b.y[0])},_.updateLayers=function(L){var b,R=L[this.id].layers,I=this.layerList;if(R.length!==I.length){for(b=0;b=G.width-20?(ne["text-anchor"]="start",ne.x=5):(ne["text-anchor"]="end",ne.x=G._paper.attr("width")-7),q.attr(ne);var te=q.select(".js-link-to-tool"),Z=q.select(".js-link-spacer"),X=q.select(".js-sourcelinks");U._context.showSources&&U._context.showSources(U),U._context.showLink&&function(Q,re){re.text("");var ie=re.append("a").attr({"xlink:xlink:href":"#",class:"link--impt link--embedview","font-weight":"bold"}).text(Q._context.linkText+" "+String.fromCharCode(187));if(Q._context.sendData)ie.on("click",function(){k.sendDataToCloud(Q)});else{var oe=window.location.pathname.split("/"),ue=window.location.search;ie.attr({"xlink:xlink:show":"new","xlink:xlink:href":"/"+oe[2].split(".")[0]+"/"+oe[1]+ue})}}(U,te),Z.text(te.text()&&X.text()?" - ":"")}},k.sendDataToCloud=function(U){var G=(window.PLOTLYENV||{}).BASE_URL||U._context.plotlyServerURL;if(G){U.emit("plotly_beforeexport");var q=d.select(U).append("div").attr("id","hiddenform").style("display","none"),H=q.append("form").attr({action:G+"/external",method:"post",target:"_blank"});return H.append("input").attr({type:"text",name:"data"}).node().value=k.graphJson(U,!1,"keepdata"),H.node().submit(),q.remove(),U.emit("plotly_afterexport"),!1}};var A=["days","shortDays","months","shortMonths","periods","dateTime","date","time","decimal","thousands","grouping","currency"],L=["year","month","dayMonth","dayMonthYear"];function b(U,G){var q=U._context.locale;q||(q="en-US");var H=!1,ne={};function te(oe){for(var ue=!0,ce=0;ce1&&Se.length>1){for(v.getComponentMethod("grid","sizeDefaults")(Z,te),ne=0;ne15&&Se.length>15&&te.shapes.length===0&&te.images.length===0,k.linkSubplots(Q,te,X,H),k.cleanPlot(Q,te,X,H);var ke=!(!H._has||!H._has("gl2d")),Le=!(!te._has||!te._has("gl2d")),Be=!(!H._has||!H._has("cartesian"))||ke,ze=!(!te._has||!te._has("cartesian"))||Le;Be&&!ze?H._bgLayer.remove():ze&&!Be&&(te._shouldCreateBgLayer=!0),H._zoomlayer&&!U._dragging&&h({_fullLayout:H}),function(Ee,Ve){var $e,Ye=[];Ve.meta&&($e=Ve._meta={meta:Ve.meta,layout:{meta:Ve.meta}});for(var st=0;st0){var re=1-2*Z;H=Math.round(re*H),ne=Math.round(re*ne)}}var ie=k.layoutAttributes.width.min,oe=k.layoutAttributes.height.min;H1,ce=!G.height&&Math.abs(q.height-ne)>1;(ce||ue)&&(ue&&(q.width=H),ce&&(q.height=ne)),U._initialAutoSize||(U._initialAutoSize={width:H,height:ne}),k.sanitizeMargins(q)},k.supplyLayoutModuleDefaults=function(U,G,q,H){var ne,te,Z,X=v.componentsRegistry,Q=G._basePlotModules,re=v.subplotsRegistry.cartesian;for(ne in X)(Z=X[ne]).includeBasePlot&&Z.includeBasePlot(U,G);for(var ie in Q.length||Q.push(re),G._has("cartesian")&&(v.getComponentMethod("grid","contentDefaults")(U,G),re.finalizeSubplots(U,G)),G._subplots)G._subplots[ie].sort(a.subplotSort);for(te=0;te1&&(q.l/=me,q.r/=me)}if(ue){var pe=(q.t+q.b)/ue;pe>1&&(q.t/=pe,q.b/=pe)}var xe=q.xl!==void 0?q.xl:q.x,Pe=q.xr!==void 0?q.xr:q.x,_e=q.yt!==void 0?q.yt:q.y,Me=q.yb!==void 0?q.yb:q.y;ce[G]={l:{val:xe,size:q.l+de},r:{val:Pe,size:q.r+de},b:{val:Me,size:q.b+de},t:{val:_e,size:q.t+de}},ye[G]=1}else delete ce[G],delete ye[G];if(!H._replotting)return k.doAutoMargin(U)}},k.doAutoMargin=function(U){var G=U._fullLayout,q=G.width,H=G.height;G._size||(G._size={}),F(G);var ne=G._size,te=G.margin,Z={t:0,b:0,l:0,r:0},X=a.extendFlat({},ne),Q=U._fullLayout._reservedMargin;for(var re in Q)for(var ie in Q[re]){var oe=Q[re][ie];Z[ie]=Math.max(Z[ie],oe)}var ue=te.l,ce=te.r,ye=te.t,de=te.b,me=G._pushmargin,pe=G._pushmarginIds,xe=G.minreducedwidth,Pe=G.minreducedheight;if(G.margin.autoexpand!==!1){for(var _e in me)pe[_e]||delete me[_e];for(var Me in me.base={l:{val:0,size:ue},r:{val:1,size:ce},t:{val:1,size:ye},b:{val:0,size:de}},me){var Se=me[Me].l||{},Ce=me[Me].b||{},ae=Se.val,fe=Se.size,be=Ce.val,ke=Ce.size,Le=q-Z.r-Z.l,Be=H-Z.t-Z.b;for(var ze in me){if(M(fe)&&me[ze].r){var je=me[ze].r.val,ge=me[ze].r.size;if(je>ae){var we=(fe*je+(ge-Le)*ae)/(je-ae),Ee=(ge*(1-ae)+(fe-Le)*(1-je))/(je-ae);we+Ee>ue+ce&&(ue=we,ce=Ee)}}if(M(ke)&&me[ze].t){var Ve=me[ze].t.val,$e=me[ze].t.size;if(Ve>be){var Ye=(ke*Ve+($e-Be)*be)/(Ve-be),st=($e*(1-be)+(ke-Be)*(1-Ve))/(Ve-be);Ye+st>de+ye&&(de=Ye,ye=st)}}}}}var ot=a.constrain(q-te.l-te.r,2,xe),ht=a.constrain(H-te.t-te.b,2,Pe),bt=Math.max(0,q-ot),Et=Math.max(0,H-ht);if(bt){var kt=(ue+ce)/bt;kt>1&&(ue/=kt,ce/=kt)}if(Et){var xt=(de+ye)/Et;xt>1&&(de/=xt,ye/=xt)}if(ne.l=Math.round(ue)+Z.l,ne.r=Math.round(ce)+Z.r,ne.t=Math.round(ye)+Z.t,ne.b=Math.round(de)+Z.b,ne.p=Math.round(te.pad),ne.w=Math.round(q)-ne.l-ne.r,ne.h=Math.round(H)-ne.t-ne.b,!G._replotting&&(k.didMarginChange(X,ne)||function(Ot){if("_redrawFromAutoMarginCount"in Ot._fullLayout)return!1;var Bt=s.list(Ot,"",!0);for(var qt in Bt)if(Bt[qt].autoshift||Bt[qt].shift)return!0;return!1}(U))){"_redrawFromAutoMarginCount"in G?G._redrawFromAutoMarginCount++:G._redrawFromAutoMarginCount=1;var Ft=3*(1+Object.keys(pe).length);if(G._redrawFromAutoMarginCount0&&(U._transitioningWithDuration=!0),U._transitionData._interruptCallbacks.push(function(){H=!0}),q.redraw&&U._transitionData._interruptCallbacks.push(function(){return v.call("redraw",U)}),U._transitionData._interruptCallbacks.push(function(){U.emit("plotly_transitioninterrupted",[])});var X=0,Q=0;function re(){return X++,function(){var ie;Q++,H||Q!==X||(ie=Z,U._transitionData&&(function(oe){if(oe)for(;oe.length;)oe.shift()}(U._transitionData._interruptCallbacks),Promise.resolve().then(function(){if(q.redraw)return v.call("redraw",U)}).then(function(){U._transitioning=!1,U._transitioningWithDuration=!1,U.emit("plotly_transitioned",[])}).then(ie)))}}q.runFn(re),setTimeout(re())})}],te=a.syncOrAsync(ne,U);return te&&te.then||(te=Promise.resolve()),te.then(function(){return U})}k.didMarginChange=function(U,G){for(var q=0;q1)return!0}return!1},k.graphJson=function(U,G,q,H,ne,te){(ne&&G&&!U._fullData||ne&&!G&&!U._fullLayout)&&k.supplyDefaults(U);var Z=ne?U._fullData:U.data,X=ne?U._fullLayout:U.layout,Q=(U._transitionData||{})._frames;function re(ue,ce){if(typeof ue=="function")return ce?"_function_":null;if(a.isPlainObject(ue)){var ye,de={};return Object.keys(ue).sort().forEach(function(me){if(["_","["].indexOf(me.charAt(0))===-1)if(typeof ue[me]!="function"){if(q==="keepdata"){if(me.substr(me.length-3)==="src")return}else if(q==="keepstream"){if(typeof(ye=ue[me+"src"])=="string"&&ye.indexOf(":")>0&&!a.isPlainObject(ue.stream))return}else if(q!=="keepall"&&typeof(ye=ue[me+"src"])=="string"&&ye.indexOf(":")>0)return;de[me]=re(ue[me],ce)}else ce&&(de[me]="_function")}),de}return Array.isArray(ue)?ue.map(function(me){return re(me,ce)}):a.isTypedArray(ue)?a.simpleMap(ue,a.identity):a.isJSDate(ue)?a.ms2DateTimeLocal(+ue):ue}var ie={data:(Z||[]).map(function(ue){var ce=re(ue);return G&&delete ce.fit,ce})};if(!G&&(ie.layout=re(X),ne)){var oe=X._size;ie.layout.computed={margin:{b:oe.b,l:oe.l,r:oe.r,t:oe.t}}}return Q&&(ie.frames=re(Q)),te&&(ie.config=re(U._context,!0)),H==="object"?ie:JSON.stringify(ie)},k.modifyFrames=function(U,G){var q,H,ne,te=U._transitionData._frames,Z=U._transitionData._frameHash;for(q=0;q=0;te--)if(Me[te].enabled){q._indexToPoints=Me[te]._indexToPoints;break}H&&H.calc&&(_e=H.calc(U,q))}Array.isArray(_e)&&_e[0]||(_e=[{x:o,y:o}]),_e[0].t||(_e[0].t={}),_e[0].trace=q,re[xe]=_e}}for(j(Z,X,Q),ne=0;ne1e-10?s:0}function o(s,h,c){h=h||0,c=c||0;for(var m=s.length,w=new Array(m),y=0;y0?y:1/0}),m=d.mod(c+1,h.length);return[h[c],h[m]]},findIntersectionXY:l,findXYatLength:function(s,h,c,m){var w=-h*c,y=h*h+1,C=2*(h*w-c),_=w*w+c*c-s*s,k=Math.sqrt(C*C-4*y*_),E=(-C+k)/(2*y),x=(-C-k)/(2*y);return[[E,h*E+w+m],[x,h*x+w+m]]},clampTiny:u,pathPolygon:function(s,h,c,m,w,y){return"M"+o(a(s,h,c,m),w,y).join("L")},pathPolygonAnnulus:function(s,h,c,m,w,y,C){var _,k;s=90||kt>90&&xt>=450?1:Ot<=0&&qt<=0?0:Math.max(Ot,qt),[kt<=180&&xt>=180||kt>180&&xt>=540?-1:Ft>=0&&Bt>=0?0:Math.min(Ft,Bt),kt<=270&&xt>=270||kt>270&&xt>=630?-1:Ot>=0&&qt>=0?0:Math.min(Ot,qt),xt>=360?1:Ft<=0&&Bt<=0?0:Math.max(Ft,Bt),ht]}(pe),ae=Ce[2]-Ce[0],fe=Ce[3]-Ce[1],be=me/de,ke=Math.abs(fe/ae);be>ke?(xe=de,Se=(me-(Pe=de*ke))/ie.h/2,_e=[ce[0],ce[1]],Me=[ye[0]+Se,ye[1]-Se]):(Pe=me,Se=(de-(xe=me/ke))/ie.w/2,_e=[ce[0]+Se,ce[1]-Se],Me=[ye[0],ye[1]]),Q.xLength2=xe,Q.yLength2=Pe,Q.xDomain2=_e,Q.yDomain2=Me;var Le,Be=Q.xOffset2=ie.l+ie.w*_e[0],ze=Q.yOffset2=ie.t+ie.h*(1-Me[1]),je=Q.radius=xe/ae,ge=Q.innerRadius=Q.getHole(X)*je,we=Q.cx=Be-je*Ce[0],Ee=Q.cy=ze+je*Ce[3],Ve=Q.cxx=we-Be,$e=Q.cyy=Ee-ze,Ye=oe.side;Ye==="counterclockwise"?(Le=Ye,Ye="top"):Ye==="clockwise"&&(Le=Ye,Ye="bottom"),Q.radialAxis=Q.mockAxis(Z,X,oe,{_id:"x",side:Ye,_trueSide:Le,domain:[ge/ie.w,je/ie.w]}),Q.angularAxis=Q.mockAxis(Z,X,ue,{side:"right",domain:[0,Math.PI],autorange:!1}),Q.doAutoRange(Z,X),Q.updateAngularAxis(Z,X),Q.updateRadialAxis(Z,X),Q.updateRadialAxisTitle(Z,X),Q.xaxis=Q.mockCartesianAxis(Z,X,{_id:"x",domain:_e}),Q.yaxis=Q.mockCartesianAxis(Z,X,{_id:"y",domain:Me});var st=Q.pathSubplot();Q.clipPaths.forTraces.select("path").attr("d",st).attr("transform",f(Ve,$e)),re.frontplot.attr("transform",f(Be,ze)).call(a.setClipUrl,Q._hasClipOnAxisFalse?null:Q.clipIds.forTraces,Q.gd),re.bg.attr("d",st).attr("transform",f(we,Ee)).call(l.fill,X.bgcolor)},q.mockAxis=function(Z,X,Q,re){var ie=M.extendFlat({},Q,re);return h(ie,X,Z),ie},q.mockCartesianAxis=function(Z,X,Q){var re=this,ie=re.isSmith,oe=Q._id,ue=M.extendFlat({type:"linear"},Q);s(ue,Z);var ce={x:[0,2],y:[1,3]};return ue.setRange=function(){var ye=re.sectorBBox,de=ce[oe],me=re.radialAxis._rl,pe=(me[1]-me[0])/(1-re.getHole(X));ue.range=[ye[de[0]]*pe,ye[de[1]]*pe]},ue.isPtWithinRange=oe!=="x"||ie?function(){return!0}:function(ye){return re.isPtInside(ye)},ue.setRange(),ue.setScale(),ue},q.doAutoRange=function(Z,X){var Q=this,re=Q.gd,ie=Q.radialAxis,oe=Q.getRadial(X);c(re,ie);var ue=ie.range;oe.range=ue.slice(),oe._input.range=ue.slice(),ie._rl=[ie.r2l(ue[0],null,"gregorian"),ie.r2l(ue[1],null,"gregorian")]},q.updateRadialAxis=function(Z,X){var Q=this,re=Q.gd,ie=Q.layers,oe=Q.radius,ue=Q.innerRadius,ce=Q.cx,ye=Q.cy,de=Q.getRadial(X),me=j(Q.getSector(X)[0],360),pe=Q.radialAxis,xe=ue90&&me<=270&&(pe.tickangle=180);var _e=Pe?function(ze){var je=N(Q,z([ze.x,0]));return f(je[0]-ce,je[1]-ye)}:function(ze){return f(pe.l2p(ze.x)+ue,0)},Me=Pe?function(ze){return B(Q,ze.x,-1/0,1/0)}:function(ze){return Q.pathArc(pe.r2p(ze.x)+ue)},Se=H(de);if(Q.radialTickLayout!==Se&&(ie["radial-axis"].selectAll(".xtick").remove(),Q.radialTickLayout=Se),xe){pe.setScale();var Ce=0,ae=Pe?(pe.tickvals||[]).filter(function(ze){return ze>=0}).map(function(ze){return o.tickText(pe,ze,!0,!1)}):o.calcTicks(pe),fe=Pe?ae:o.clipEnds(pe,ae),be=o.getTickSigns(pe)[2];Pe&&((pe.ticks==="top"&&pe.side==="bottom"||pe.ticks==="bottom"&&pe.side==="top")&&(be=-be),pe.ticks==="top"&&pe.side==="top"&&(Ce=-pe.ticklen),pe.ticks==="bottom"&&pe.side==="bottom"&&(Ce=pe.ticklen)),o.drawTicks(re,pe,{vals:ae,layer:ie["radial-axis"],path:o.makeTickPath(pe,0,be),transFn:_e,crisp:!1}),o.drawGrid(re,pe,{vals:fe,layer:ie["radial-grid"],path:Me,transFn:M.noop,crisp:!1}),o.drawLabels(re,pe,{vals:ae,layer:ie["radial-axis"],transFn:_e,labelFns:o.makeLabelFns(pe,Ce)})}var ke=Q.radialAxisAngle=Q.vangles?U(ne($(de.angle),Q.vangles)):de.angle,Le=f(ce,ye),Be=Le+v(-ke);te(ie["radial-axis"],xe&&(de.showticklabels||de.ticks),{transform:Be}),te(ie["radial-grid"],xe&&de.showgrid,{transform:Pe?"":Le}),te(ie["radial-line"].select("line"),xe&&de.showline,{x1:Pe?-oe:ue,y1:0,x2:oe,y2:0,transform:Be}).attr("stroke-width",de.linewidth).call(l.stroke,de.linecolor)},q.updateRadialAxisTitle=function(Z,X,Q){if(!this.isSmith){var re=this,ie=re.gd,oe=re.radius,ue=re.cx,ce=re.cy,ye=re.getRadial(X),de=re.id+"title",me=0;if(ye.title){var pe=a.bBox(re.layers["radial-axis"].node()).height,xe=ye.title.font.size,Pe=ye.side;me=Pe==="top"?xe:Pe==="counterclockwise"?-(pe+.4*xe):pe+.8*xe}var _e=Q!==void 0?Q:re.radialAxisAngle,Me=$(_e),Se=Math.cos(Me),Ce=Math.sin(Me),ae=ue+oe/2*Se+me*Ce,fe=ce-oe/2*Ce+me*Se;re.layers["radial-axis-title"]=C.draw(ie,de,{propContainer:ye,propName:re.id+".radialaxis.title",placeholder:W(ie,"Click to enter radial axis title"),attributes:{x:ae,y:fe,"text-anchor":"middle"},transform:{rotate:-_e}})}},q.updateAngularAxis=function(Z,X){var Q=this,re=Q.gd,ie=Q.layers,oe=Q.radius,ue=Q.innerRadius,ce=Q.cx,ye=Q.cy,de=Q.getAngular(X),me=Q.angularAxis,pe=Q.isSmith;pe||(Q.fillViewInitialKey("angularaxis.rotation",de.rotation),me.setGeometry(),me.setScale());var xe=pe?function(ze){var je=N(Q,z([0,ze.x]));return Math.atan2(je[0]-ce,je[1]-ye)-Math.PI/2}:function(ze){return me.t2g(ze.x)};me.type==="linear"&&me.thetaunit==="radians"&&(me.tick0=U(me.tick0),me.dtick=U(me.dtick));var Pe=function(ze){return f(ce+oe*Math.cos(ze),ye-oe*Math.sin(ze))},_e=pe?function(ze){var je=N(Q,z([0,ze.x]));return f(je[0],je[1])}:function(ze){return Pe(xe(ze))},Me=pe?function(ze){var je=N(Q,z([0,ze.x])),ge=Math.atan2(je[0]-ce,je[1]-ye)-Math.PI/2;return f(je[0],je[1])+v(-U(ge))}:function(ze){var je=xe(ze);return Pe(je)+v(-U(je))},Se=pe?function(ze){return F(Q,ze.x,0,1/0)}:function(ze){var je=xe(ze),ge=Math.cos(je),we=Math.sin(je);return"M"+[ce+ue*ge,ye-ue*we]+"L"+[ce+oe*ge,ye-oe*we]},Ce=o.makeLabelFns(me,0).labelStandoff,ae={xFn:function(ze){var je=xe(ze);return Math.cos(je)*Ce},yFn:function(ze){var je=xe(ze),ge=Math.sin(je)>0?.2:1;return-Math.sin(je)*(Ce+ze.fontSize*ge)+Math.abs(Math.cos(je))*(ze.fontSize*b)},anchorFn:function(ze){var je=xe(ze),ge=Math.cos(je);return Math.abs(ge)<.1?"middle":ge>0?"start":"end"},heightFn:function(ze,je,ge){var we=xe(ze);return-.5*(1+Math.sin(we))*ge}},fe=H(de);Q.angularTickLayout!==fe&&(ie["angular-axis"].selectAll("."+me._id+"tick").remove(),Q.angularTickLayout=fe);var be,ke=pe?[1/0].concat(me.tickvals||[]).map(function(ze){return o.tickText(me,ze,!0,!1)}):o.calcTicks(me);if(pe&&(ke[0].text="∞",ke[0].fontSize*=1.75),X.gridshape==="linear"?(be=ke.map(xe),M.angleDelta(be[0],be[1])<0&&(be=be.slice().reverse())):be=null,Q.vangles=be,me.type==="category"&&(ke=ke.filter(function(ze){return M.isAngleInsideSector(xe(ze),Q.sectorInRad)})),me.visible){var Le=me.ticks==="inside"?-1:1,Be=(me.linewidth||1)/2;o.drawTicks(re,me,{vals:ke,layer:ie["angular-axis"],path:"M"+Le*Be+",0h"+Le*me.ticklen,transFn:Me,crisp:!1}),o.drawGrid(re,me,{vals:ke,layer:ie["angular-grid"],path:Se,transFn:M.noop,crisp:!1}),o.drawLabels(re,me,{vals:ke,layer:ie["angular-axis"],repositionOnUpdate:!0,transFn:_e,labelFns:ae})}te(ie["angular-line"].select("path"),de.showline,{d:Q.pathSubplot(),transform:f(ce,ye)}).attr("stroke-width",de.linewidth).call(l.stroke,de.linecolor)},q.updateFx=function(Z,X){this.gd._context.staticPlot||(!this.isSmith&&(this.updateAngularDrag(Z),this.updateRadialDrag(Z,X,0),this.updateRadialDrag(Z,X,1)),this.updateHoverAndMainDrag(Z))},q.updateHoverAndMainDrag=function(Z){var X,Q,re=this,ie=re.isSmith,oe=re.gd,ue=re.layers,ce=Z._zoomlayer,ye=R.MINZOOM,de=R.OFFEDGE,me=re.radius,pe=re.innerRadius,xe=re.cx,Pe=re.cy,_e=re.cxx,Me=re.cyy,Se=re.sectorInRad,Ce=re.vangles,ae=re.radialAxis,fe=I.clampTiny,be=I.findXYatLength,ke=I.findEnclosingVertexAngles,Le=R.cornerHalfWidth,Be=R.cornerLen/2,ze=m.makeDragger(ue,"path","maindrag",Z.dragmode===!1?"none":"crosshair");d.select(ze).attr("d",re.pathSubplot()).attr("transform",f(xe,Pe)),ze.onmousemove=function(Re){y.hover(oe,Re,re.id),oe._fullLayout._lasthover=ze,oe._fullLayout._hoversubplot=re.id},ze.onmouseout=function(Re){oe._dragging||w.unhover(oe,Re)};var je,ge,we,Ee,Ve,$e,Ye,st,ot,ht={element:ze,gd:oe,subplot:re.id,plotinfo:{id:re.id,xaxis:re.xaxis,yaxis:re.yaxis},xaxes:[re.xaxis],yaxes:[re.yaxis]};function bt(Re,Ne){return Math.sqrt(Re*Re+Ne*Ne)}function Et(Re,Ne){return bt(Re-_e,Ne-Me)}function kt(Re,Ne){return Math.atan2(Me-Ne,Re-_e)}function xt(Re,Ne){return[Re*Math.cos(Ne),Re*Math.sin(-Ne)]}function Ft(Re,Ne){if(Re===0)return re.pathSector(2*Le);var Qe=Be/Re,ut=Ne-Qe,dt=Ne+Qe,_t=Math.max(0,Math.min(Re,me)),It=_t-Le,Lt=_t+Le;return"M"+xt(It,ut)+"A"+[It,It]+" 0,0,0 "+xt(It,dt)+"L"+xt(Lt,dt)+"A"+[Lt,Lt]+" 0,0,1 "+xt(Lt,ut)+"Z"}function Ot(Re,Ne,Qe){if(Re===0)return re.pathSector(2*Le);var ut,dt,_t=xt(Re,Ne),It=xt(Re,Qe),Lt=fe((_t[0]+It[0])/2),yt=fe((_t[1]+It[1])/2);if(Lt&&yt){var Pt=yt/Lt,wt=-1/Pt,Rt=be(Le,Pt,Lt,yt);ut=be(Be,wt,Rt[0][0],Rt[0][1]),dt=be(Be,wt,Rt[1][0],Rt[1][1])}else{var Nt,Yt;yt?(Nt=Be,Yt=Le):(Nt=Le,Yt=Be),ut=[[Lt-Nt,yt-Yt],[Lt+Nt,yt-Yt]],dt=[[Lt-Nt,yt+Yt],[Lt+Nt,yt+Yt]]}return"M"+ut.join("L")+"L"+dt.reverse().join("L")+"Z"}function Bt(Re,Ne){return Ne=Math.max(Math.min(Ne,me),pe),Reye?(Re-1&&Re===1&&k(Ne,oe,[re.xaxis],[re.yaxis],re.id,ht),Qe.indexOf("event")>-1&&y.click(oe,Ne,re.id)}ht.prepFn=function(Re,Ne,Qe){var ut=oe._fullLayout.dragmode,dt=ze.getBoundingClientRect();oe._fullLayout._calcInverseTransform(oe);var _t=oe._fullLayout._invTransform;X=oe._fullLayout._invScaleX,Q=oe._fullLayout._invScaleY;var It=M.apply3DTransform(_t)(Ne-dt.left,Qe-dt.top);if(je=It[0],ge=It[1],Ce){var Lt=I.findPolygonOffset(me,Se[0],Se[1],Ce);je+=_e+Lt[0],ge+=Me+Lt[1]}switch(ut){case"zoom":ht.clickFn=ft,ie||(ht.moveFn=Ce?Je:Vt,ht.doneFn=qe,function(){we=null,Ee=null,Ve=re.pathSubplot(),$e=!1;var yt=oe._fullLayout[re.id];Ye=g(yt.bgcolor).getLuminance(),(st=m.makeZoombox(ce,Ye,xe,Pe,Ve)).attr("fill-rule","evenodd"),ot=m.makeCorners(ce,xe,Pe),E(oe)}());break;case"select":case"lasso":_(Re,Ne,Qe,ht,ut)}},w.init(ht)},q.updateRadialDrag=function(Z,X,Q){var re=this,ie=re.gd,oe=re.layers,ue=re.radius,ce=re.innerRadius,ye=re.cx,de=re.cy,me=re.radialAxis,pe=R.radialDragBoxSize,xe=pe/2;if(me.visible){var Pe,_e,Me,Se=$(re.radialAxisAngle),Ce=me._rl,ae=Ce[0],fe=Ce[1],be=Ce[Q],ke=.75*(Ce[1]-Ce[0])/(1-re.getHole(X))/ue;Q?(Pe=ye+(ue+xe)*Math.cos(Se),_e=de-(ue+xe)*Math.sin(Se),Me="radialdrag"):(Pe=ye+(ce-xe)*Math.cos(Se),_e=de-(ce-xe)*Math.sin(Se),Me="radialdrag-inner");var Le,Be,ze,je=m.makeRectDragger(oe,Me,"crosshair",-xe,-xe,pe,pe),ge={element:je,gd:ie};Z.dragmode===!1&&(ge.dragmode=!1),te(d.select(je),me.visible&&ce0==(Q?ze>ae:zeh?function(C){return C<=0}:function(C){return C>=0};a.c2g=function(C){var _=a.c2l(C)-s;return(y(_)?_:0)+w},a.g2c=function(C){return a.l2c(C+s-w)},a.g2p=function(C){return C*m},a.c2p=function(C){return a.g2p(a.c2g(C))}}})(v,f);break;case"angularaxis":(function(a,u){var o=a.type;if(o==="linear"){var s=a.d2c,h=a.c2d;a.d2c=function(c,m){return function(w,y){return y==="degrees"?i(w):w}(s(c),m)},a.c2d=function(c,m){return h(function(w,y){return y==="degrees"?M(w):w}(c,m))}}a.makeCalcdata=function(c,m){var w,y,C=c[m],_=c._length,k=function(b){return a.d2c(b,c.thetaunit)};if(C){if(d.isTypedArray(C)&&o==="linear"){if(_===C.length)return C;if(C.subarray)return C.subarray(0,_)}for(w=new Array(_),y=0;y<_;y++)w[y]=k(C[y])}else{var E=m+"0",x="d"+m,A=E in c?k(c[E]):0,L=c[x]?k(c[x]):(a.period||2*Math.PI)/_;for(w=new Array(_),y=0;y<_;y++)w[y]=A+y*L}return w},a.setGeometry=function(){var c,m,w,y,C=u.sector,_=C.map(i),k={clockwise:-1,counterclockwise:1}[a.direction],E=i(a.rotation),x=function(R){return k*R+E},A=function(R){return(R-E)/k};switch(o){case"linear":m=c=d.identity,y=i,w=M,a.range=d.isFullCircle(_)?[C[0],C[0]+360]:_.map(A).map(M);break;case"category":var L=a._categories.length,b=a.period?Math.max(a.period,L):L;b===0&&(b=1),m=y=function(R){return 2*R*Math.PI/b},c=w=function(R){return R*b/Math.PI/2},a.range=[0,b]}a.c2g=function(R){return x(m(R))},a.g2c=function(R){return c(A(R))},a.t2g=function(R){return x(y(R))},a.g2t=function(R){return w(A(R))}}})(v,f)}}},39779:function(T){T.exports={attr:"subplot",name:"smith",axisNames:["realaxis","imaginaryaxis"],axisName2dataArray:{imaginaryaxis:"imag",realaxis:"real"}}},23893:function(T){function p(i){return i<0?-1:i>0?1:0}function t(i){var M=i[0],v=i[1];if(!isFinite(M)||!isFinite(v))return[1,0];var f=(M+1)*(M+1)+v*v;return[(M*M+v*v-1)/f,2*v/f]}function d(i,M){var v=M[0],f=M[1];return[v*i.radius+i.cx,-f*i.radius+i.cy]}function g(i,M){return M*i.radius}T.exports={smith:t,reactanceArc:function(i,M,v,f){var l=d(i,t([v,M])),a=l[0],u=l[1],o=d(i,t([f,M])),s=o[0],h=o[1];if(M===0)return["M"+a+","+u,"L"+s+","+h].join(" ");var c=g(i,1/Math.abs(M));return["M"+a+","+u,"A"+c+","+c+" 0 0,"+(M<0?1:0)+" "+s+","+h].join(" ")},resistanceArc:function(i,M,v,f){var l=g(i,1/(M+1)),a=d(i,t([M,v])),u=a[0],o=a[1],s=d(i,t([M,f])),h=s[0],c=s[1];if(p(v)!==p(f)){var m=d(i,t([M,0]));return["M"+u+","+o,"A"+l+","+l+" 0 0,"+(00){for(var f=[],l=0;l=A&&(b.min=0,R.min=0,I.min=0,m.aaxis&&delete m.aaxis.min,m.baxis&&delete m.baxis.min,m.caxis&&delete m.caxis.min)}function c(m,w,y,C){var _=o[w._name];function k(R,I){return i.coerce(m,w,_,R,I)}k("uirevision",C.uirevision),w.type="linear";var E=k("color"),x=E!==_.color.dflt?E:y.font.color,A=w._name.charAt(0).toUpperCase(),L="Component "+A,b=k("title.text",L);w._hovertitle=b===L?b:A,i.coerceFont(k,"title.font",{family:y.font.family,size:i.bigFont(y.font.size),color:x}),k("min"),a(m,w,k,"linear"),f(m,w,k,"linear"),v(m,w,k,"linear"),l(m,w,k,{outerTicks:!0}),k("showticklabels")&&(i.coerceFont(k,"tickfont",{family:y.font.family,size:y.font.size,color:x}),k("tickangle"),k("tickformat")),u(m,w,k,{dfltColor:E,bgColor:y.bgColor,blend:60,showLine:!0,showGrid:!0,noZeroLine:!0,attributes:_}),k("hoverformat"),k("layer")}T.exports=function(m,w,y){M(m,w,y,{type:"ternary",attributes:o,handleDefaults:h,font:w.font,paper_bgcolor:w.paper_bgcolor})}},64380:function(T,p,t){var d=t(39898),g=t(84267),i=t(73972),M=t(71828),v=M.strTranslate,f=M._,l=t(7901),a=t(91424),u=t(21994),o=t(1426).extendFlat,s=t(74875),h=t(89298),c=t(28569),m=t(30211),w=t(64505),y=w.freeMode,C=w.rectMode,_=t(92998),k=t(47322).prepSelect,E=t(47322).selectOnClick,x=t(47322).clearOutline,A=t(47322).clearSelectionsCache,L=t(85555);function b(j,$){this.id=j.id,this.graphDiv=j.graphDiv,this.init($),this.makeFramework($),this.aTickLayout=null,this.bTickLayout=null,this.cTickLayout=null}T.exports=b;var R=b.prototype;R.init=function(j){this.container=j._ternarylayer,this.defs=j._defs,this.layoutId=j._uid,this.traceHash={},this.layers={}},R.plot=function(j,$){var U=this,G=$[U.id],q=$._size;U._hasClipOnAxisFalse=!1;for(var H=0;HI*ce?q=(H=ce)*I:H=(q=ue)/I,ne=ie*q/ue,te=oe*H/ce,U=$.l+$.w*Q-q/2,G=$.t+$.h*(1-re)-H/2,Z.x0=U,Z.y0=G,Z.w=q,Z.h=H,Z.sum=ye,Z.xaxis={type:"linear",range:[de+2*pe-ye,ye-de-2*me],domain:[Q-ne/2,Q+ne/2],_id:"x"},u(Z.xaxis,Z.graphDiv._fullLayout),Z.xaxis.setScale(),Z.xaxis.isPtWithinRange=function(Le){return Le.a>=Z.aaxis.range[0]&&Le.a<=Z.aaxis.range[1]&&Le.b>=Z.baxis.range[1]&&Le.b<=Z.baxis.range[0]&&Le.c>=Z.caxis.range[1]&&Le.c<=Z.caxis.range[0]},Z.yaxis={type:"linear",range:[de,ye-me-pe],domain:[re-te/2,re+te/2],_id:"y"},u(Z.yaxis,Z.graphDiv._fullLayout),Z.yaxis.setScale(),Z.yaxis.isPtWithinRange=function(){return!0};var xe=Z.yaxis.domain[0],Pe=Z.aaxis=o({},j.aaxis,{range:[de,ye-me-pe],side:"left",tickangle:(+j.aaxis.tickangle||0)-30,domain:[xe,xe+te*I],anchor:"free",position:0,_id:"y",_length:q});u(Pe,Z.graphDiv._fullLayout),Pe.setScale();var _e=Z.baxis=o({},j.baxis,{range:[ye-de-pe,me],side:"bottom",domain:Z.xaxis.domain,anchor:"free",position:0,_id:"x",_length:q});u(_e,Z.graphDiv._fullLayout),_e.setScale();var Me=Z.caxis=o({},j.caxis,{range:[ye-de-me,pe],side:"right",tickangle:(+j.caxis.tickangle||0)+30,domain:[xe,xe+te*I],anchor:"free",position:0,_id:"y",_length:q});u(Me,Z.graphDiv._fullLayout),Me.setScale();var Se="M"+U+","+(G+H)+"h"+q+"l-"+q/2+",-"+H+"Z";Z.clipDef.select("path").attr("d",Se),Z.layers.plotbg.select("path").attr("d",Se);var Ce="M0,"+H+"h"+q+"l-"+q/2+",-"+H+"Z";Z.clipDefRelative.select("path").attr("d",Ce);var ae=v(U,G);Z.plotContainer.selectAll(".scatterlayer,.maplayer").attr("transform",ae),Z.clipDefRelative.select("path").attr("transform",null);var fe=v(U-_e._offset,G+H);Z.layers.baxis.attr("transform",fe),Z.layers.bgrid.attr("transform",fe);var be=v(U+q/2,G)+"rotate(30)"+v(0,-Pe._offset);Z.layers.aaxis.attr("transform",be),Z.layers.agrid.attr("transform",be);var ke=v(U+q/2,G)+"rotate(-30)"+v(0,-Me._offset);Z.layers.caxis.attr("transform",ke),Z.layers.cgrid.attr("transform",ke),Z.drawAxes(!0),Z.layers.aline.select("path").attr("d",Pe.showline?"M"+U+","+(G+H)+"l"+q/2+",-"+H:"M0,0").call(l.stroke,Pe.linecolor||"#000").style("stroke-width",(Pe.linewidth||0)+"px"),Z.layers.bline.select("path").attr("d",_e.showline?"M"+U+","+(G+H)+"h"+q:"M0,0").call(l.stroke,_e.linecolor||"#000").style("stroke-width",(_e.linewidth||0)+"px"),Z.layers.cline.select("path").attr("d",Me.showline?"M"+(U+q/2)+","+G+"l"+q/2+","+H:"M0,0").call(l.stroke,Me.linecolor||"#000").style("stroke-width",(Me.linewidth||0)+"px"),Z.graphDiv._context.staticPlot||Z.initInteractions(),a.setClipUrl(Z.layers.frontplot,Z._hasClipOnAxisFalse?null:Z.clipId,Z.graphDiv)},R.drawAxes=function(j){var $=this,U=$.graphDiv,G=$.id.substr(7)+"title",q=$.layers,H=$.aaxis,ne=$.baxis,te=$.caxis;if($.drawAx(H),$.drawAx(ne),$.drawAx(te),j){var Z=Math.max(H.showticklabels?H.tickfont.size/2:0,(te.showticklabels?.75*te.tickfont.size:0)+(te.ticks==="outside"?.87*te.ticklen:0)),X=(ne.showticklabels?ne.tickfont.size:0)+(ne.ticks==="outside"?ne.ticklen:0)+3;q["a-title"]=_.draw(U,"a"+G,{propContainer:H,propName:$.id+".aaxis.title",placeholder:f(U,"Click to enter Component A title"),attributes:{x:$.x0+$.w/2,y:$.y0-H.title.font.size/3-Z,"text-anchor":"middle"}}),q["b-title"]=_.draw(U,"b"+G,{propContainer:ne,propName:$.id+".baxis.title",placeholder:f(U,"Click to enter Component B title"),attributes:{x:$.x0-X,y:$.y0+$.h+.83*ne.title.font.size+X,"text-anchor":"middle"}}),q["c-title"]=_.draw(U,"c"+G,{propContainer:te,propName:$.id+".caxis.title",placeholder:f(U,"Click to enter Component C title"),attributes:{x:$.x0+$.w+X,y:$.y0+$.h+.83*te.title.font.size+X,"text-anchor":"middle"}})}},R.drawAx=function(j){var $,U=this,G=U.graphDiv,q=j._name,H=q.charAt(0),ne=j._id,te=U.layers[q],Z=H+"tickLayout",X=($=j).ticks+String($.ticklen)+String($.showticklabels);U[Z]!==X&&(te.selectAll("."+ne+"tick").remove(),U[Z]=X),j.setScale();var Q=h.calcTicks(j),re=h.clipEnds(j,Q),ie=h.makeTransTickFn(j),oe=h.getTickSigns(j)[2],ue=M.deg2rad(30),ce=oe*(j.linewidth||1)/2,ye=oe*j.ticklen,de=U.w,me=U.h,pe=H==="b"?"M0,"+ce+"l"+Math.sin(ue)*ye+","+Math.cos(ue)*ye:"M"+ce+",0l"+Math.cos(ue)*ye+","+-Math.sin(ue)*ye,xe={a:"M0,0l"+me+",-"+de/2,b:"M0,0l-"+de/2+",-"+me,c:"M0,0l-"+me+","+de/2}[H];h.drawTicks(G,j,{vals:j.ticks==="inside"?re:Q,layer:te,path:pe,transFn:ie,crisp:!1}),h.drawGrid(G,j,{vals:re,layer:U.layers[H+"grid"],path:xe,transFn:ie,crisp:!1}),h.drawLabels(G,j,{vals:Q,layer:te,transFn:ie,labelFns:h.makeLabelFns(j,0,30)})};var O=L.MINZOOM/2+.87,z="m-0.87,.5h"+O+"v3h-"+(O+5.2)+"l"+(O/2+2.6)+",-"+(.87*O+4.5)+"l2.6,1.5l-"+O/2+","+.87*O+"Z",F="m0.87,.5h-"+O+"v3h"+(O+5.2)+"l-"+(O/2+2.6)+",-"+(.87*O+4.5)+"l-2.6,1.5l"+O/2+","+.87*O+"Z",B="m0,1l"+O/2+","+.87*O+"l2.6,-1.5l-"+(O/2+2.6)+",-"+(.87*O+4.5)+"l-"+(O/2+2.6)+","+(.87*O+4.5)+"l2.6,1.5l"+O/2+",-"+.87*O+"Z",N=!0;function W(j){d.select(j).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}R.clearOutline=function(){A(this.dragOptions),x(this.dragOptions.gd)},R.initInteractions=function(){var j,$,U,G,q,H,ne,te,Z,X,Q,re,ie=this,oe=ie.layers.plotbg.select("path").node(),ue=ie.graphDiv,ce=ue._fullLayout._zoomlayer;function ye(Ce){var ae={};return ae[ie.id+".aaxis.min"]=Ce.a,ae[ie.id+".baxis.min"]=Ce.b,ae[ie.id+".caxis.min"]=Ce.c,ae}function de(Ce,ae){var fe=ue._fullLayout.clickmode;W(ue),Ce===2&&(ue.emit("plotly_doubleclick",null),i.call("_guiRelayout",ue,ye({a:0,b:0,c:0}))),fe.indexOf("select")>-1&&Ce===1&&E(ae,ue,[ie.xaxis],[ie.yaxis],ie.id,ie.dragOptions),fe.indexOf("event")>-1&&m.click(ue,ae,ie.id)}function me(Ce,ae){return 1-ae/ie.h}function pe(Ce,ae){return 1-(Ce+(ie.h-ae)/Math.sqrt(3))/ie.w}function xe(Ce,ae){return(Ce-(ie.h-ae)/Math.sqrt(3))/ie.w}function Pe(Ce,ae){var fe=U+Ce*j,be=G+ae*$,ke=Math.max(0,Math.min(1,me(0,G),me(0,be))),Le=Math.max(0,Math.min(1,pe(U,G),pe(fe,be))),Be=Math.max(0,Math.min(1,xe(U,G),xe(fe,be))),ze=(ke/2+Be)*ie.w,je=(1-ke/2-Le)*ie.w,ge=(ze+je)/2,we=je-ze,Ee=(1-ke)*ie.h,Ve=Ee-we/I;we.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),re.transition().style("opacity",1).duration(200),X=!0),ue.emit("plotly_relayouting",ye(ne))}function _e(){W(ue),ne!==q&&(i.call("_guiRelayout",ue,ye(ne)),N&&ue.data&&ue._context.showTips&&(M.notifier(f(ue,"Double-click to zoom back out"),"long"),N=!1))}function Me(Ce,ae){var fe=Ce/ie.xaxis._m,be=ae/ie.yaxis._m,ke=[(ne={a:q.a-be,b:q.b+(fe+be)/2,c:q.c-(fe-be)/2}).a,ne.b,ne.c].sort(M.sorterAsc),Le=ke.indexOf(ne.a),Be=ke.indexOf(ne.b),ze=ke.indexOf(ne.c);ke[0]<0&&(ke[1]+ke[0]/2<0?(ke[2]+=ke[0]+ke[1],ke[0]=ke[1]=0):(ke[2]+=ke[0]/2,ke[1]+=ke[0]/2,ke[0]=0),ne={a:ke[Le],b:ke[Be],c:ke[ze]},ae=(q.a-ne.a)*ie.yaxis._m,Ce=(q.c-ne.c-q.b+ne.b)*ie.xaxis._m);var je=v(ie.x0+Ce,ie.y0+ae);ie.plotContainer.selectAll(".scatterlayer,.maplayer").attr("transform",je);var ge=v(-Ce,-ae);ie.clipDefRelative.select("path").attr("transform",ge),ie.aaxis.range=[ne.a,ie.sum-ne.b-ne.c],ie.baxis.range=[ie.sum-ne.a-ne.c,ne.b],ie.caxis.range=[ie.sum-ne.a-ne.b,ne.c],ie.drawAxes(!1),ie._hasClipOnAxisFalse&&ie.plotContainer.select(".scatterlayer").selectAll(".trace").call(a.hideOutsideRangePoints,ie),ue.emit("plotly_relayouting",ye(ne))}function Se(){i.call("_guiRelayout",ue,ye(ne))}this.dragOptions={element:oe,gd:ue,plotinfo:{id:ie.id,domain:ue._fullLayout[ie.id].domain,xaxis:ie.xaxis,yaxis:ie.yaxis},subplot:ie.id,prepFn:function(Ce,ae,fe){ie.dragOptions.xaxes=[ie.xaxis],ie.dragOptions.yaxes=[ie.yaxis],j=ue._fullLayout._invScaleX,$=ue._fullLayout._invScaleY;var be=ie.dragOptions.dragmode=ue._fullLayout.dragmode;y(be)?ie.dragOptions.minDrag=1:ie.dragOptions.minDrag=void 0,be==="zoom"?(ie.dragOptions.moveFn=Pe,ie.dragOptions.clickFn=de,ie.dragOptions.doneFn=_e,function(ke,Le,Be){var ze=oe.getBoundingClientRect();U=Le-ze.left,G=Be-ze.top,ue._fullLayout._calcInverseTransform(ue);var je=ue._fullLayout._invTransform,ge=M.apply3DTransform(je)(U,G);U=ge[0],G=ge[1],q={a:ie.aaxis.range[0],b:ie.baxis.range[1],c:ie.caxis.range[1]},ne=q,H=ie.aaxis.range[1]-q.a,te=g(ie.graphDiv._fullLayout[ie.id].bgcolor).getLuminance(),Z="M0,"+ie.h+"L"+ie.w/2+", 0L"+ie.w+","+ie.h+"Z",X=!1,Q=ce.append("path").attr("class","zoombox").attr("transform",v(ie.x0,ie.y0)).style({fill:te>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("d",Z),re=ce.append("path").attr("class","zoombox-corners").attr("transform",v(ie.x0,ie.y0)).style({fill:l.background,stroke:l.defaultLine,"stroke-width":1,opacity:0}).attr("d","M0,0Z"),ie.clearOutline(ue)}(0,ae,fe)):be==="pan"?(ie.dragOptions.moveFn=Me,ie.dragOptions.clickFn=de,ie.dragOptions.doneFn=Se,q={a:ie.aaxis.range[0],b:ie.baxis.range[1],c:ie.caxis.range[1]},ne=q,ie.clearOutline(ue)):(C(be)||y(be))&&k(Ce,ae,fe,ie.dragOptions,be)}},oe.onmousemove=function(Ce){m.hover(ue,Ce,ie.id),ue._fullLayout._lasthover=oe,ue._fullLayout._hoversubplot=ie.id},oe.onmouseout=function(Ce){ue._dragging||c.unhover(ue,Ce)},c.init(this.dragOptions)}},73972:function(T,p,t){var d=t(47769),g=t(64213),i=t(75138),M=t(41965),v=t(24401).addStyleRule,f=t(1426),l=t(9012),a=t(10820),u=f.extendFlat,o=f.extendDeepAll;function s(E){var x=E.name,A=E.categories,L=E.meta;if(p.modules[x])d.log("Type "+x+" already registered");else{p.subplotsRegistry[E.basePlotModule.name]||function(N){var W=N.name;if(p.subplotsRegistry[W])d.log("Plot type "+W+" already registered.");else for(var j in w(N),p.subplotsRegistry[W]=N,p.componentsRegistry)_(j,N.name)}(E.basePlotModule);for(var b={},R=0;R-1&&(c[w[a]].title={text:""});for(a=0;a")!==-1?"":R.html(O).text()});return R.remove(),I}(L)).replace(/&(?!\w+;|\#[0-9]+;| \#x[0-9A-F]+;)/g,"&")).replace(a,"'"),g.isIE()&&(L=(L=(L=L.replace(/"/gi,"'")).replace(/(\('#)([^']*)('\))/gi,'("#$2")')).replace(/(\\')/gi,'"')),L}},75341:function(T,p,t){var d=t(71828);T.exports=function(g,i){for(var M=0;MI+b||!d(R))}for(var z=0;za))return v}return f!==void 0?f:M.dflt},p.coerceColor=function(M,v,f){return g(v).isValid()?v:f!==void 0?f:M.dflt},p.coerceEnumerated=function(M,v,f){return M.coerceNumber&&(v=+v),M.values.indexOf(v)!==-1?v:f!==void 0?f:M.dflt},p.getValue=function(M,v){var f;return Array.isArray(M)?v0?ye+=de:y<0&&(ye-=de)}return ye}function te(ce){var ye=y,de=ce.b,me=ne(ce);return d.inbox(de-ye,me-ye,O+(me-ye)/(me-de)-1)}var Z=o[C+"a"],X=o[_+"a"];x=Math.abs(Z.r2c(Z.range[1])-Z.r2c(Z.range[0]));var Q=d.getDistanceFunction(c,k,E,function(ce){return(k(ce)+E(ce))/2});if(d.getClosest(A,Q,o),o.index!==!1&&A[o.index].p!==l){B||(U=function(ce){return Math.min(N(ce),ce.p-b.bargroupwidth/2)},G=function(ce){return Math.max(W(ce),ce.p+b.bargroupwidth/2)});var re=A[o.index],ie=L.base?re.b+re.s:re.s;o[_+"0"]=o[_+"1"]=X.c2p(re[_],!0),o[_+"LabelVal"]=ie;var oe=b.extents[b.extents.round(re.p)];o[C+"0"]=Z.c2p(R?U(re):oe[0],!0),o[C+"1"]=Z.c2p(R?G(re):oe[1],!0);var ue=re.orig_p!==void 0;return o[C+"LabelVal"]=ue?re.orig_p:re.p,o.labelLabel=f(Z,o[C+"LabelVal"],L[C+"hoverformat"]),o.valueLabel=f(X,o[_+"LabelVal"],L[_+"hoverformat"]),o.baseLabel=f(X,re.b,L[_+"hoverformat"]),o.spikeDistance=(function(ce){var ye=y,de=ce.b,me=ne(ce);return d.inbox(de-ye,me-ye,z+(me-ye)/(me-de)-1)}(re)+function(ce){return q(N(ce),W(ce),z)}(re))/2,o[C+"Spike"]=Z.c2p(re.p,!0),M(re,L,o),o.hovertemplate=L.hovertemplate,o}}function u(o,s){var h=s.mcc||o.marker.color,c=s.mlcc||o.marker.line.color,m=v(o,s);return i.opacity(h)?h:i.opacity(c)&&m?c:void 0}T.exports={hoverPoints:function(o,s,h,c,m){var w=a(o,s,h,c,m);if(w){var y=w.cd,C=y[0].trace,_=y[w.index];return w.color=u(C,_),g.getComponentMethod("errorbars","hoverInfo")(_,C,w),[w]}},hoverOnBars:a,getTraceColor:u}},60822:function(T,p,t){T.exports={attributes:t(1486),layoutAttributes:t(43641),supplyDefaults:t(90769).supplyDefaults,crossTraceDefaults:t(90769).crossTraceDefaults,supplyLayoutDefaults:t(13957),calc:t(92290),crossTraceCalc:t(11661).crossTraceCalc,colorbar:t(4898),arraysToCalcdata:t(75341),plot:t(17295).plot,style:t(16688).style,styleOnSelect:t(16688).styleOnSelect,hoverPoints:t(95423).hoverPoints,eventData:t(58065),selectPoints:t(81974),moduleType:"trace",name:"bar",basePlotModule:t(93612),categories:["bar-like","cartesian","svg","bar","oriented","errorBarsOK","showLegend","zoomScale"],animatable:!0,meta:{}}},43641:function(T){T.exports={barmode:{valType:"enumerated",values:["stack","group","overlay","relative"],dflt:"group",editType:"calc"},barnorm:{valType:"enumerated",values:["","fraction","percent"],dflt:"",editType:"calc"},bargap:{valType:"number",min:0,max:1,editType:"calc"},bargroupgap:{valType:"number",min:0,max:1,dflt:0,editType:"calc"}}},13957:function(T,p,t){var d=t(73972),g=t(89298),i=t(71828),M=t(43641);T.exports=function(v,f,l){function a(C,_){return i.coerce(v,f,M,C,_)}for(var u=!1,o=!1,s=!1,h={},c=a("barmode"),m=0;m0}function R(z){return z==="auto"?0:z}function I(z,F){var B=Math.PI/180*F,N=Math.abs(Math.sin(B)),W=Math.abs(Math.cos(B));return{x:z.width*W+z.height*N,y:z.width*N+z.height*W}}function O(z,F,B,N,W,j){var $=!!j.isHorizontal,U=!!j.constrained,G=j.angle||0,q=j.anchor||"end",H=q==="end",ne=q==="start",te=((j.leftToRight||0)+1)/2,Z=1-te,X=W.width,Q=W.height,re=Math.abs(F-z),ie=Math.abs(N-B),oe=re>2*k&&ie>2*k?k:0;re-=2*oe,ie-=2*oe;var ue=R(G);G!=="auto"||X<=re&&Q<=ie||!(X>re||Q>ie)||(X>ie||Q>re)&&X.01?Be:function(we,Ee,Ve){return Ve&&we===Ee?we:Math.abs(we-Ee)>=2?Be(we):we>Ee?Math.ceil(we):Math.floor(we)};Ce=ze(Ce,ae,oe),ae=ze(ae,Ce,oe),fe=ze(fe,be,!oe),be=ze(be,fe,!oe)}var je=L(i.ensureSingle(Me,"path"),G,W,j);if(je.style("vector-effect",q?"none":"non-scaling-stroke").attr("d",isNaN((ae-Ce)*(be-fe))||ke&&z._context.staticPlot?"M0,0Z":"M"+Ce+","+fe+"V"+be+"H"+ae+"V"+fe+"Z").call(f.setClipUrl,F.layerClipId,z),!G.uniformtext.mode&&ue){var ge=f.makePointStyleFns(Z);f.singlePointStyle(pe,je,Z,ge,z)}(function(we,Ee,Ve,$e,Ye,st,ot,ht,bt,Et,kt){var xt,Ft=Ee.xaxis,Ot=Ee.yaxis,Bt=we._fullLayout;function qt(Qt,rn,xn){return i.ensureSingle(Qt,"text").text(rn).attr({class:"bartext bartext-"+xt,"text-anchor":"middle","data-notex":1}).call(f.font,xn).call(M.convertToTspans,we)}var Vt=$e[0].trace,Ke=Vt.orientation==="h",Je=function(Qt,rn,xn,un,An){var Yn,kn=rn[0].trace;return Yn=kn.texttemplate?function(sn,Tn,dn,pn,Dn){var In=Tn[0].trace,jn=i.castOption(In,dn,"texttemplate");if(!jn)return"";var Gn,qn,lr,rr,Sr=In.type==="histogram",yr=In.type==="waterfall",or=In.type==="funnel",vr=In.orientation==="h";function _r($n){return a(rr,rr.c2l($n),!0).text}vr?(Gn="y",qn=Dn,lr="x",rr=pn):(Gn="x",qn=pn,lr="y",rr=Dn);var Kt,bn=Tn[dn],Rn={};Rn.label=bn.p,Rn.labelLabel=Rn[Gn+"Label"]=(Kt=bn.p,a(qn,qn.c2l(Kt),!0).text);var Ln=i.castOption(In,bn.i,"text");(Ln===0||Ln)&&(Rn.text=Ln),Rn.value=bn.s,Rn.valueLabel=Rn[lr+"Label"]=_r(bn.s);var Un={};_(Un,In,bn.i),(Sr||Un.x===void 0)&&(Un.x=vr?Rn.value:Rn.label),(Sr||Un.y===void 0)&&(Un.y=vr?Rn.label:Rn.value),(Sr||Un.xLabel===void 0)&&(Un.xLabel=vr?Rn.valueLabel:Rn.labelLabel),(Sr||Un.yLabel===void 0)&&(Un.yLabel=vr?Rn.labelLabel:Rn.valueLabel),yr&&(Rn.delta=+bn.rawS||bn.s,Rn.deltaLabel=_r(Rn.delta),Rn.final=bn.v,Rn.finalLabel=_r(Rn.final),Rn.initial=Rn.final-Rn.delta,Rn.initialLabel=_r(Rn.initial)),or&&(Rn.value=bn.s,Rn.valueLabel=_r(Rn.value),Rn.percentInitial=bn.begR,Rn.percentInitialLabel=i.formatPercent(bn.begR),Rn.percentPrevious=bn.difR,Rn.percentPreviousLabel=i.formatPercent(bn.difR),Rn.percentTotal=bn.sumR,Rn.percenTotalLabel=i.formatPercent(bn.sumR));var Kn=i.castOption(In,bn.i,"customdata");return Kn&&(Rn.customdata=Kn),i.texttemplateString(jn,Rn,sn._d3locale,Un,Rn,In._meta||{})}(Qt,rn,xn,un,An):kn.textinfo?function(sn,Tn,dn,pn){var Dn=sn[0].trace,In=Dn.orientation==="h",jn=Dn.type==="waterfall",Gn=Dn.type==="funnel";function qn(Kn){return a(In?dn:pn,+Kn,!0).text}var lr,rr,Sr=Dn.textinfo,yr=sn[Tn],or=Sr.split("+"),vr=[],_r=function(Kn){return or.indexOf(Kn)!==-1};if(_r("label")&&vr.push((rr=sn[Tn].p,a(In?pn:dn,rr,!0).text)),_r("text")&&((lr=i.castOption(Dn,yr.i,"text"))===0||lr)&&vr.push(lr),jn){var Kt=+yr.rawS||yr.s,bn=yr.v,Rn=bn-Kt;_r("initial")&&vr.push(qn(Rn)),_r("delta")&&vr.push(qn(Kt)),_r("final")&&vr.push(qn(bn))}if(Gn){_r("value")&&vr.push(qn(yr.s));var Ln=0;_r("percent initial")&&Ln++,_r("percent previous")&&Ln++,_r("percent total")&&Ln++;var Un=Ln>1;_r("percent initial")&&(lr=i.formatPercent(yr.begR),Un&&(lr+=" of initial"),vr.push(lr)),_r("percent previous")&&(lr=i.formatPercent(yr.difR),Un&&(lr+=" of previous"),vr.push(lr)),_r("percent total")&&(lr=i.formatPercent(yr.sumR),Un&&(lr+=" of total"),vr.push(lr))}return vr.join("
")}(rn,xn,un,An):c.getValue(kn.text,xn),c.coerceString(y,Yn)}(Bt,$e,Ye,Ft,Ot);xt=function(Qt,rn){var xn=c.getValue(Qt.textposition,rn);return c.coerceEnumerated(C,xn)}(Vt,Ye);var qe=Et.mode==="stack"||Et.mode==="relative",nt=$e[Ye],ft=!qe||nt._outmost;if(Je&&xt!=="none"&&(!nt.isBlank&&st!==ot&&ht!==bt||xt!=="auto"&&xt!=="inside")){var Re=Bt.font,Ne=h.getBarColor($e[Ye],Vt),Qe=h.getInsideTextFont(Vt,Ye,Re,Ne),ut=h.getOutsideTextFont(Vt,Ye,Re),dt=Ve.datum();Ke?Ft.type==="log"&&dt.s0<=0&&(st=Ft.range[0]0&&yt>0&&(Lt<=wt&&yt<=Rt||Lt<=Rt&&yt<=wt||(Ke?wt>=Lt*(Rt/yt):Rt>=yt*(wt/Lt)))?xt="inside":(xt="outside",_t.remove(),_t=null)):xt="inside"),!_t){var Nt=(_t=qt(Ve,Je,Pt=i.ensureUniformFontSize(we,xt==="outside"?ut:Qe))).attr("transform");if(_t.attr("transform",""),Lt=(It=f.bBox(_t.node())).width,yt=It.height,_t.attr("transform",Nt),Lt<=0||yt<=0)return void _t.remove()}var Yt,Wt=Vt.textangle;Yt=xt==="outside"?function(Qt,rn,xn,un,An,Yn){var kn,sn=!!Yn.isHorizontal,Tn=!!Yn.constrained,dn=Yn.angle||0,pn=An.width,Dn=An.height,In=Math.abs(rn-Qt),jn=Math.abs(un-xn);kn=sn?jn>2*k?k:0:In>2*k?k:0;var Gn=1;Tn&&(Gn=sn?Math.min(1,jn/Dn):Math.min(1,In/pn));var qn=R(dn),lr=I(An,qn),rr=(sn?lr.x:lr.y)/2,Sr=(An.left+An.right)/2,yr=(An.top+An.bottom)/2,or=(Qt+rn)/2,vr=(xn+un)/2,_r=0,Kt=0,bn=sn?A(rn,Qt):A(xn,un);return sn?(or=rn-bn*kn,_r=bn*rr):(vr=un+bn*kn,Kt=-bn*rr),{textX:Sr,textY:yr,targetX:or,targetY:vr,anchorX:_r,anchorY:Kt,scale:Gn,rotate:qn}}(st,ot,ht,bt,It,{isHorizontal:Ke,constrained:Vt.constraintext==="both"||Vt.constraintext==="outside",angle:Wt}):O(st,ot,ht,bt,It,{isHorizontal:Ke,constrained:Vt.constraintext==="both"||Vt.constraintext==="inside",angle:Wt,anchor:Vt.insidetextanchor}),Yt.fontSize=Pt.size,o(Vt.type==="histogram"?"bar":Vt.type,Yt,Bt),nt.transform=Yt;var Xt=L(_t,Bt,Et,kt);i.setTransormAndDisplay(Xt,Yt)}else Ve.select("text").remove()})(z,F,Me,ne,xe,Ce,ae,fe,be,W,j),F.layerClipId&&f.hideOutsideRangePoint(pe,Me.select("text"),$,U,Z.xcalendar,Z.ycalendar)});var me=Z.cliponaxis===!1;f.setClipUrl(te,me?null:F.layerClipId,z)});l.getComponentMethod("errorbars","plot")(z,H,F,W)},toMoveInsideBar:O}},81974:function(T){function p(t,d,g,i,M){var v=d.c2p(i?t.s0:t.p0,!0),f=d.c2p(i?t.s1:t.p1,!0),l=g.c2p(i?t.p0:t.s0,!0),a=g.c2p(i?t.p1:t.s1,!0);return M?[(v+f)/2,(l+a)/2]:i?[f,(l+a)/2]:[(v+f)/2,a]}T.exports=function(t,d){var g,i=t.cd,M=t.xaxis,v=t.yaxis,f=i[0].trace,l=f.type==="funnel",a=f.orientation==="h",u=[];if(d===!1)for(g=0;g1||L.bargap===0&&L.bargroupgap===0&&!b[0].trace.marker.line.width)&&d.select(this).attr("shape-rendering","crispEdges")}),x.selectAll("g.points").each(function(b){h(d.select(this),b[0].trace,E)}),v.getComponentMethod("errorbars","style")(x)},styleTextPoints:c,styleOnSelect:function(E,x,A){var L=x[0].trace;L.selectedpoints?function(b,R,I){i.selectedPointStyle(b.selectAll("path"),R),function(O,z,F){O.each(function(B){var N,W=d.select(this);if(B.selected){N=M.ensureUniformFontSize(F,m(W,B,z,F));var j=z.selected.textfont&&z.selected.textfont.color;j&&(N.color=j),i.font(W,N)}else i.selectedTextStyle(W,z)})}(b.selectAll("text"),R,I)}(A,L,E):(h(A,L,E),v.getComponentMethod("errorbars","style")(A))},getInsideTextFont:y,getOutsideTextFont:C,getBarColor:k,resizeText:f}},98340:function(T,p,t){var d=t(7901),g=t(52075).hasColorscale,i=t(1586),M=t(71828).coercePattern;T.exports=function(v,f,l,a,u){var o=l("marker.color",a),s=g(v,"marker");s&&i(v,f,u,l,{prefix:"marker.",cLetter:"c"}),l("marker.line.color",d.defaultLine),g(v,"marker.line")&&i(v,f,u,l,{prefix:"marker.line.",cLetter:"c"}),l("marker.line.width"),l("marker.opacity"),M(l,"marker.pattern",o,s),l("selected.marker.color"),l("unselected.marker.color")}},72597:function(T,p,t){var d=t(39898),g=t(71828);function i(M){return"_"+M+"Text_minsize"}T.exports={recordMinTextSize:function(M,v,f){if(f.uniformtext.mode){var l=i(M),a=f.uniformtext.minsize,u=v.scale*v.fontSize;v.hide=uc.range[1]&&(E+=Math.PI),d.getClosest(o,function(L){return y(k,E,[L.rp0,L.rp1],[L.thetag0,L.thetag1],w)?C+Math.min(1,Math.abs(L.thetag1-L.thetag0)/_)-1+(L.rp1-k)/(L.rp1-L.rp0)-1:1/0},l),l.index!==!1){var x=o[l.index];l.x0=l.x1=x.ct[0],l.y0=l.y1=x.ct[1];var A=g.extendFlat({},x,{r:x.s,theta:x.p});return M(x,s,l),v(A,s,h,l),l.hovertemplate=s.hovertemplate,l.color=i(s,x),l.xLabelVal=l.yLabelVal=void 0,x.s<0&&(l.idealAlign="left"),[l]}}},23381:function(T,p,t){T.exports={moduleType:"trace",name:"barpolar",basePlotModule:t(23580),categories:["polar","bar","showLegend"],attributes:t(55023),layoutAttributes:t(40151),supplyDefaults:t(6135),supplyLayoutDefaults:t(19860),calc:t(74692).calc,crossTraceCalc:t(74692).crossTraceCalc,plot:t(60173),colorbar:t(4898),formatLabels:t(98608),style:t(16688).style,styleOnSelect:t(16688).styleOnSelect,hoverPoints:t(27379),selectPoints:t(81974),meta:{}}},40151:function(T){T.exports={barmode:{valType:"enumerated",values:["stack","overlay"],dflt:"stack",editType:"calc"},bargap:{valType:"number",dflt:.1,min:0,max:1,editType:"calc"}}},19860:function(T,p,t){var d=t(71828),g=t(40151);T.exports=function(i,M,v){var f,l={};function a(s,h){return d.coerce(i[f]||{},M[f],g,s,h)}for(var u=0;u0?(L=x,b=A):(L=A,b=x);var R=[v.findEnclosingVertexAngles(L,y.vangles)[0],(L+b)/2,v.findEnclosingVertexAngles(b,y.vangles)[1]];return v.pathPolygonAnnulus(k,E,L,b,R,C,_)}:function(k,E,x,A){return i.pathAnnulus(k,E,x,A,C,_)}}(l),w=l.layers.frontplot.select("g.barlayer");i.makeTraceGroups(w,a,"trace bars").each(function(){var y=d.select(this),C=i.ensureSingle(y,"g","points").selectAll("g.point").data(i.identity);C.enter().append("g").style("vector-effect",u?"none":"non-scaling-stroke").style("stroke-miterlimit",2).classed("point",!0),C.exit().remove(),C.each(function(_){var k,E=d.select(this),x=_.rp0=h.c2p(_.s0),A=_.rp1=h.c2p(_.s1),L=_.thetag0=c.c2g(_.p0),b=_.thetag1=c.c2g(_.p1);if(g(x)&&g(A)&&g(L)&&g(b)&&x!==A&&L!==b){var R=h.c2g(_.s1),I=(L+b)/2;_.ct=[o.c2p(R*Math.cos(I)),s.c2p(R*Math.sin(I))],k=m(x,A,L,b)}else k="M0,0Z";i.ensureSingle(E,"path").attr("d",k)}),M.setClipUrl(y,l._hasClipOnAxisFalse?l.clipIds.forTraces:null,f)})}},53522:function(T,p,t){var d=t(82196),g=t(1486),i=t(22399),M=t(12663).axisHoverFormat,v=t(5386).fF,f=t(1426).extendFlat,l=d.marker,a=l.line;T.exports={y:{valType:"data_array",editType:"calc+clearAxisTypes"},x:{valType:"data_array",editType:"calc+clearAxisTypes"},x0:{valType:"any",editType:"calc+clearAxisTypes"},y0:{valType:"any",editType:"calc+clearAxisTypes"},dx:{valType:"number",editType:"calc"},dy:{valType:"number",editType:"calc"},xperiod:d.xperiod,yperiod:d.yperiod,xperiod0:d.xperiod0,yperiod0:d.yperiod0,xperiodalignment:d.xperiodalignment,yperiodalignment:d.yperiodalignment,xhoverformat:M("x"),yhoverformat:M("y"),name:{valType:"string",editType:"calc+clearAxisTypes"},q1:{valType:"data_array",editType:"calc+clearAxisTypes"},median:{valType:"data_array",editType:"calc+clearAxisTypes"},q3:{valType:"data_array",editType:"calc+clearAxisTypes"},lowerfence:{valType:"data_array",editType:"calc"},upperfence:{valType:"data_array",editType:"calc"},notched:{valType:"boolean",editType:"calc"},notchwidth:{valType:"number",min:0,max:.5,dflt:.25,editType:"calc"},notchspan:{valType:"data_array",editType:"calc"},boxpoints:{valType:"enumerated",values:["all","outliers","suspectedoutliers",!1],editType:"calc"},jitter:{valType:"number",min:0,max:1,editType:"calc"},pointpos:{valType:"number",min:-2,max:2,editType:"calc"},boxmean:{valType:"enumerated",values:[!0,"sd",!1],editType:"calc"},mean:{valType:"data_array",editType:"calc"},sd:{valType:"data_array",editType:"calc"},orientation:{valType:"enumerated",values:["v","h"],editType:"calc+clearAxisTypes"},quartilemethod:{valType:"enumerated",values:["linear","exclusive","inclusive"],dflt:"linear",editType:"calc"},width:{valType:"number",min:0,dflt:0,editType:"calc"},marker:{outliercolor:{valType:"color",dflt:"rgba(0, 0, 0, 0)",editType:"style"},symbol:f({},l.symbol,{arrayOk:!1,editType:"plot"}),opacity:f({},l.opacity,{arrayOk:!1,dflt:1,editType:"style"}),angle:f({},l.angle,{arrayOk:!1,editType:"calc"}),size:f({},l.size,{arrayOk:!1,editType:"calc"}),color:f({},l.color,{arrayOk:!1,editType:"style"}),line:{color:f({},a.color,{arrayOk:!1,dflt:i.defaultLine,editType:"style"}),width:f({},a.width,{arrayOk:!1,dflt:0,editType:"style"}),outliercolor:{valType:"color",editType:"style"},outlierwidth:{valType:"number",min:0,dflt:1,editType:"style"},editType:"style"},editType:"plot"},line:{color:{valType:"color",editType:"style"},width:{valType:"number",min:0,dflt:2,editType:"style"},editType:"plot"},fillcolor:d.fillcolor,whiskerwidth:{valType:"number",min:0,max:1,dflt:.5,editType:"calc"},offsetgroup:g.offsetgroup,alignmentgroup:g.alignmentgroup,selected:{marker:d.selected.marker,editType:"style"},unselected:{marker:d.unselected.marker,editType:"style"},text:f({},d.text,{}),hovertext:f({},d.hovertext,{}),hovertemplate:v({}),hoveron:{valType:"flaglist",flags:["boxes","points"],dflt:"boxes+points",editType:"style"}}},48518:function(T,p,t){var d=t(92770),g=t(89298),i=t(42973),M=t(71828),v=t(50606).BADNUM,f=M._;T.exports=function(y,C){var _,k,E,x,A,L,b,R=y._fullLayout,I=g.getFromId(y,C.xaxis||"x"),O=g.getFromId(y,C.yaxis||"y"),z=[],F=C.type==="violin"?"_numViolins":"_numBoxes";C.orientation==="h"?(E=I,x="x",A=O,L="y",b=!!C.yperiodalignment):(E=O,x="y",A=I,L="x",b=!!C.xperiodalignment);var B,N,W,j,$,U,G=function(Ee,Ve,$e,Ye){var st,ot=Ve+"0"in Ee;if(Ve in Ee||ot&&"d"+Ve in Ee){var ht=$e.makeCalcdata(Ee,Ve);return[i(Ee,$e,Ve,ht).vals,ht]}st=ot?Ee[Ve+"0"]:"name"in Ee&&($e.type==="category"||d(Ee.name)&&["linear","log"].indexOf($e.type)!==-1||M.isDateTime(Ee.name)&&$e.type==="date")?Ee.name:Ye;for(var bt=$e.type==="multicategory"?$e.r2c_just_indices(st):$e.d2c(st,0,Ee[Ve+"calendar"]),Et=Ee._length,kt=new Array(Et),xt=0;xtB.uf};if(C._hasPreCompStats){var Q=C[x],re=function(Ee){return E.d2c((C[Ee]||[])[_])},ie=1/0,oe=-1/0;for(_=0;_=B.q1&&B.q3>=B.med){var ce=re("lowerfence");B.lf=ce!==v&&ce<=B.q1?ce:s(B,W,j);var ye=re("upperfence");B.uf=ye!==v&&ye>=B.q3?ye:h(B,W,j);var de=re("mean");B.mean=de!==v?de:j?M.mean(W,j):(B.q1+B.q3)/2;var me=re("sd");B.sd=de!==v&&me>=0?me:j?M.stdev(W,j,B.mean):B.q3-B.q1,B.lo=c(B),B.uo=m(B);var pe=re("notchspan");pe=pe!==v&&pe>0?pe:w(B,j),B.ln=B.med-pe,B.un=B.med+pe;var xe=B.lf,Pe=B.uf;C.boxpoints&&W.length&&(xe=Math.min(xe,W[0]),Pe=Math.max(Pe,W[j-1])),C.notched&&(xe=Math.min(xe,B.ln),Pe=Math.max(Pe,B.un)),B.min=xe,B.max=Pe}else{var _e;M.warn(["Invalid input - make sure that q1 <= median <= q3","q1 = "+B.q1,"median = "+B.med,"q3 = "+B.q3].join(` `)),_e=B.med!==v?B.med:B.q1!==v?B.q3!==v?(B.q1+B.q3)/2:B.q1:B.q3!==v?B.q3:0,B.med=_e,B.q1=B.q3=_e,B.lf=B.uf=_e,B.mean=B.sd=_e,B.ln=B.un=_e,B.min=B.max=_e}ie=Math.min(ie,B.min),oe=Math.max(oe,B.max),B.pts2=N.filter(X),z.push(B)}}C._extremes[E._id]=g.findExtremes(E,[ie,oe],{padded:!0})}else{var Me=E.makeCalcdata(C,x),Se=function(Ee,Ve){for(var $e=Ee.length,Ye=new Array($e+1),st=0;st<$e;st++)Ye[st]=Ee[st]-Ve;return Ye[$e]=Ee[$e-1]+Ve,Ye}(te,Z),Ce=te.length,ae=function(Ee){for(var Ve=new Array(Ee),$e=0;$e=0&&fe0){var je,ge;(B={}).pos=B[L]=te[_],N=B.pts=ae[_].sort(u),j=(W=B[x]=N.map(o)).length,B.min=W[0],B.max=W[j-1],B.mean=M.mean(W,j),B.sd=M.stdev(W,j,B.mean),B.med=M.interp(W,.5),j%2&&(Be||ze)?(Be?(je=W.slice(0,j/2),ge=W.slice(j/2+1)):ze&&(je=W.slice(0,j/2+1),ge=W.slice(j/2)),B.q1=M.interp(je,.5),B.q3=M.interp(ge,.5)):(B.q1=M.interp(W,.25),B.q3=M.interp(W,.75)),B.lf=s(B,W,j),B.uf=h(B,W,j),B.lo=c(B),B.uo=m(B);var we=w(B,j);B.ln=B.med-we,B.un=B.med+we,be=Math.min(be,B.ln),ke=Math.max(ke,B.un),B.pts2=N.filter(X),z.push(B)}C._extremes[E._id]=g.findExtremes(E,C.notched?Me.concat([be,ke]):Me,{padded:!0})}return function(Ee,Ve){if(M.isArrayOrTypedArray(Ve.selectedpoints))for(var $e=0;$e0?(z[0].t={num:R[F],dPos:Z,posLetter:L,valLetter:x,labels:{med:f(y,"median:"),min:f(y,"min:"),q1:f(y,"q1:"),q3:f(y,"q3:"),max:f(y,"max:"),mean:C.boxmean==="sd"?f(y,"mean ± σ:"):f(y,"mean:"),lf:f(y,"lower fence:"),uf:f(y,"upper fence:")}},R[F]++,z):[{t:{empty:!0}}]};var l={text:"tx",hovertext:"htx"};function a(y,C,_){for(var k in l)M.isArrayOrTypedArray(C[k])&&(Array.isArray(_)?M.isArrayOrTypedArray(C[k][_[0]])&&(y[l[k]]=C[k][_[0]][_[1]]):y[l[k]]=C[k][_])}function u(y,C){return y.v-C.v}function o(y){return y.v}function s(y,C,_){return _===0?y.q1:Math.min(y.q1,C[Math.min(M.findBin(2.5*y.q1-1.5*y.q3,C,!0)+1,_-1)])}function h(y,C,_){return _===0?y.q3:Math.max(y.q3,C[Math.max(M.findBin(2.5*y.q3-1.5*y.q1,C),0)])}function c(y){return 4*y.q1-3*y.q3}function m(y){return 4*y.q3-3*y.q1}function w(y,C){return C===0?0:1.57*(y.q3-y.q1)/Math.sqrt(C)}},37188:function(T,p,t){var d=t(89298),g=t(71828),i=t(99082).getAxisGroup,M=["v","h"];function v(f,l,a,u){var o,s,h,c=l.calcdata,m=l._fullLayout,w=u._id,y=w.charAt(0),C=[],_=0;for(o=0;o1,L=1-m[f+"gap"],b=1-m[f+"groupgap"];for(o=0;o0){var ue=N.pointpos,ce=N.jitter,ye=N.marker.size/2,de=0;ue+ce>=0&&((de=ie*(ue+ce))>F?(oe=!0,Q=ye,Z=de):de>ne&&(Q=ye,Z=F)),de<=F&&(Z=F);var me=0;ue-ce<=0&&((me=-ie*(ue-ce))>B?(oe=!0,re=ye,X=me):me>te&&(re=ye,X=B)),me<=B&&(X=B)}else Z=F,X=B;var pe=new Array(h.length);for(s=0;s0?(A="v",L=R>0?Math.min(O,I):Math.min(I)):R>0?(A="h",L=Math.min(O)):L=0;if(L){s._length=L;var j=h("orientation",A);s._hasPreCompStats?j==="v"&&R===0?(h("x0",0),h("dx",1)):j==="h"&&b===0&&(h("y0",0),h("dy",1)):j==="v"&&R===0?h("x0"):j==="h"&&b===0&&h("y0"),g.getComponentMethod("calendars","handleTraceDefaults")(o,s,["x","y"],c)}else s.visible=!1}function u(o,s,h,c){var m=c.prefix,w=d.coerce2(o,s,l,"marker.outliercolor"),y=h("marker.line.outliercolor"),C="outliers";s._hasPreCompStats?C="all":(w||y)&&(C="suspectedoutliers");var _=h(m+"points",C);_?(h("jitter",_==="all"?.3:0),h("pointpos",_==="all"?-1.5:0),h("marker.symbol"),h("marker.opacity"),h("marker.size"),h("marker.angle"),h("marker.color",s.line.color),h("marker.line.color"),h("marker.line.width"),_==="suspectedoutliers"&&(h("marker.line.outliercolor",s.marker.color),h("marker.line.outlierwidth")),h("selected.marker.color"),h("unselected.marker.color"),h("selected.marker.size"),h("unselected.marker.size"),h("text"),h("hovertext")):delete s.marker;var k=h("hoveron");k!=="all"&&k.indexOf("points")===-1||h("hovertemplate"),d.coerceSelectionMarkerOpacity(s,h)}T.exports={supplyDefaults:function(o,s,h,c){function m(x,A){return d.coerce(o,s,l,x,A)}if(a(o,s,m,c),s.visible!==!1){M(o,s,c,m),m("xhoverformat"),m("yhoverformat");var w=s._hasPreCompStats;w&&(m("lowerfence"),m("upperfence")),m("line.color",(o.marker||{}).color||h),m("line.width"),m("fillcolor",i.addOpacity(s.line.color,.5));var y=!1;if(w){var C=m("mean"),_=m("sd");C&&C.length&&(y=!0,_&&_.length&&(y="sd"))}m("boxmean",y),m("whiskerwidth"),m("width"),m("quartilemethod");var k=!1;if(w){var E=m("notchspan");E&&E.length&&(k=!0)}else d.validate(o.notchwidth,l.notchwidth)&&(k=!0);m("notched",k)&&m("notchwidth"),u(o,s,m,{prefix:"box"})}},crossTraceDefaults:function(o,s){var h,c;function m(C){return d.coerce(c._input,c,l,C)}for(var w=0;w_.lo&&(W.so=!0)}return x});C.enter().append("path").classed("point",!0),C.exit().remove(),C.call(i.translatePoints,s,h)}function f(l,a,u,o){var s,h,c=a.val,m=a.pos,w=!!m.rangebreaks,y=o.bPos,C=o.bPosPxOffset||0,_=u.boxmean||(u.meanline||{}).visible;Array.isArray(o.bdPos)?(s=o.bdPos[0],h=o.bdPos[1]):(s=o.bdPos,h=o.bdPos);var k=l.selectAll("path.mean").data(u.type==="box"&&u.boxmean||u.type==="violin"&&u.box.visible&&u.meanline.visible?g.identity:[]);k.enter().append("path").attr("class","mean").style({fill:"none","vector-effect":"non-scaling-stroke"}),k.exit().remove(),k.each(function(E){var x=m.c2l(E.pos+y,!0),A=m.l2p(x-s)+C,L=m.l2p(x+h)+C,b=w?(A+L)/2:m.l2p(x)+C,R=c.c2p(E.mean,!0),I=c.c2p(E.mean-E.sd,!0),O=c.c2p(E.mean+E.sd,!0);u.orientation==="h"?d.select(this).attr("d","M"+R+","+A+"V"+L+(_==="sd"?"m0,0L"+I+","+b+"L"+R+","+A+"L"+O+","+b+"Z":"")):d.select(this).attr("d","M"+A+","+R+"H"+L+(_==="sd"?"m0,0L"+b+","+I+"L"+A+","+R+"L"+b+","+O+"Z":""))})}T.exports={plot:function(l,a,u,o){var s=l._context.staticPlot,h=a.xaxis,c=a.yaxis;g.makeTraceGroups(o,u,"trace boxes").each(function(m){var w,y,C=d.select(this),_=m[0],k=_.t,E=_.trace;k.wdPos=k.bdPos*E.whiskerwidth,E.visible!==!0||k.empty?C.remove():(E.orientation==="h"?(w=c,y=h):(w=h,y=c),M(C,{pos:w,val:y},E,k,s),v(C,{x:h,y:c},E,k),f(C,{pos:w,val:y},E,k))})},plotBoxAndWhiskers:M,plotPoints:v,plotBoxMean:f}},24626:function(T){T.exports=function(p,t){var d,g,i=p.cd,M=p.xaxis,v=p.yaxis,f=[];if(t===!1)for(d=0;d=10)return null;for(var v=1/0,f=-1/0,l=i.length,a=0;a0?Math.floor:Math.ceil,j=B>0?Math.ceil:Math.floor,$=B>0?Math.min:Math.max,U=B>0?Math.max:Math.min,G=W(z+N),q=j(F-N),H=[[h=O(z)]];for(f=G;f*B=0;i--)M[u-i]=p[o][i],v[u-i]=t[o][i];for(f.push({x:M,y:v,bicubic:l}),i=o,M=[],v=[];i>=0;i--)M[o-i]=p[i][0],v[o-i]=t[i][0];return f.push({x:M,y:v,bicubic:a}),f}},20347:function(T,p,t){var d=t(89298),g=t(1426).extendFlat;T.exports=function(i,M,v){var f,l,a,u,o,s,h,c,m,w,y,C,_,k,E=i["_"+M],x=i[M+"axis"],A=x._gridlines=[],L=x._minorgridlines=[],b=x._boundarylines=[],R=i["_"+v],I=i[v+"axis"];x.tickmode==="array"&&(x.tickvals=E.slice());var O=i._xctrl,z=i._yctrl,F=O[0].length,B=O.length,N=i._a.length,W=i._b.length;d.prepTicks(x),x.tickmode==="array"&&delete x.tickvals;var j=x.smoothing?3:1;function $(G){var q,H,ne,te,Z,X,Q,re,ie,oe,ue,ce,ye=[],de=[],me={};if(M==="b")for(H=i.b2j(G),ne=Math.floor(Math.max(0,Math.min(W-2,H))),te=H-ne,me.length=W,me.crossLength=N,me.xy=function(pe){return i.evalxy([],pe,H)},me.dxy=function(pe,xe){return i.dxydi([],pe,ne,xe,te)},q=0;q0&&(ie=i.dxydi([],q-1,ne,0,te),ye.push(Z[0]+ie[0]/3),de.push(Z[1]+ie[1]/3),oe=i.dxydi([],q-1,ne,1,te),ye.push(re[0]-oe[0]/3),de.push(re[1]-oe[1]/3)),ye.push(re[0]),de.push(re[1]),Z=re;else for(q=i.a2i(G),X=Math.floor(Math.max(0,Math.min(N-2,q))),Q=q-X,me.length=N,me.crossLength=W,me.xy=function(pe){return i.evalxy([],q,pe)},me.dxy=function(pe,xe){return i.dxydj([],X,pe,Q,xe)},H=0;H0&&(ue=i.dxydj([],X,H-1,Q,0),ye.push(Z[0]+ue[0]/3),de.push(Z[1]+ue[1]/3),ce=i.dxydj([],X,H-1,Q,1),ye.push(re[0]-ce[0]/3),de.push(re[1]-ce[1]/3)),ye.push(re[0]),de.push(re[1]),Z=re;return me.axisLetter=M,me.axis=x,me.crossAxis=I,me.value=G,me.constvar=v,me.index=c,me.x=ye,me.y=de,me.smoothing=I.smoothing,me}function U(G){var q,H,ne,te,Z,X=[],Q=[],re={};if(re.length=E.length,re.crossLength=R.length,M==="b")for(ne=Math.max(0,Math.min(W-2,G)),Z=Math.min(1,Math.max(0,G-ne)),re.xy=function(ie){return i.evalxy([],ie,G)},re.dxy=function(ie,oe){return i.dxydi([],ie,ne,oe,Z)},q=0;qE.length-1||A.push(g(U(l),{color:x.gridcolor,width:x.gridwidth,dash:x.griddash}));for(c=s;cE.length-1||y<0||y>E.length-1))for(C=E[a],_=E[y],f=0;fE[E.length-1]||L.push(g($(w),{color:x.minorgridcolor,width:x.minorgridwidth,dash:x.minorgriddash}));x.startline&&b.push(g(U(0),{color:x.startlinecolor,width:x.startlinewidth})),x.endline&&b.push(g(U(E.length-1),{color:x.endlinecolor,width:x.endlinewidth}))}else{for(u=5e-15,s=(o=[Math.floor((E[E.length-1]-x.tick0)/x.dtick*(1+u)),Math.ceil((E[0]-x.tick0)/x.dtick/(1+u))].sort(function(G,q){return G-q}))[0],h=o[1],c=s;c<=h;c++)m=x.tick0+x.dtick*c,A.push(g($(m),{color:x.gridcolor,width:x.gridwidth,dash:x.griddash}));for(c=s-1;cE[E.length-1]||L.push(g($(w),{color:x.minorgridcolor,width:x.minorgridwidth,dash:x.minorgriddash}));x.startline&&b.push(g($(E[0]),{color:x.startlinecolor,width:x.startlinewidth})),x.endline&&b.push(g($(E[E.length-1]),{color:x.endlinecolor,width:x.endlinewidth}))}}},83311:function(T,p,t){var d=t(89298),g=t(1426).extendFlat;T.exports=function(i,M){var v,f,l,a=M._labels=[],u=M._gridlines;for(v=0;vi.length&&(g=g.slice(0,i.length)):g=[],v=0;v90&&(h-=180,l=-l),{angle:h,flip:l,p:p.c2p(g,t,d),offsetMultplier:a}}},89740:function(T,p,t){var d=t(39898),g=t(91424),i=t(27669),M=t(67961),v=t(11651),f=t(63893),l=t(71828),a=l.strRotate,u=l.strTranslate,o=t(18783);function s(y,C,_,k,E,x,A){var L="const-"+E+"-lines",b=_.selectAll("."+L).data(x);b.enter().append("path").classed(L,!0).style("vector-effect",A?"none":"non-scaling-stroke"),b.each(function(R){var I=R,O=I.x,z=I.y,F=i([],O,y.c2p),B=i([],z,C.c2p),N="M"+M(F,B,I.smoothing);d.select(this).attr("d",N).style("stroke-width",I.width).style("stroke",I.color).style("stroke-dasharray",g.dashStyle(I.dash,I.width)).style("fill","none")}),b.exit().remove()}function h(y,C,_,k,E,x,A,L){var b=x.selectAll("text."+L).data(A);b.enter().append("text").classed(L,!0);var R=0,I={};return b.each(function(O,z){var F;if(O.axis.tickangle==="auto")F=v(k,C,_,O.xy,O.dxy);else{var B=(O.axis.tickangle+180)*Math.PI/180;F=v(k,C,_,O.xy,[Math.cos(B),Math.sin(B)])}z||(I={angle:F.angle,flip:F.flip});var N=(O.endAnchor?-1:1)*F.flip,W=d.select(this).attr({"text-anchor":N>0?"start":"end","data-notex":1}).call(g.font,O.font).text(O.text).call(f.convertToTspans,y),j=g.bBox(this);W.attr("transform",u(F.p[0],F.p[1])+a(F.angle)+u(O.axis.labelpadding*N,.3*j.height)),R=Math.max(R,j.width+O.axis.labelpadding)}),b.exit().remove(),I.maxExtent=R,I}T.exports=function(y,C,_,k){var E=y._context.staticPlot,x=C.xaxis,A=C.yaxis,L=y._fullLayout._clips;l.makeTraceGroups(k,_,"trace").each(function(b){var R=d.select(this),I=b[0],O=I.trace,z=O.aaxis,F=O.baxis,B=l.ensureSingle(R,"g","minorlayer"),N=l.ensureSingle(R,"g","majorlayer"),W=l.ensureSingle(R,"g","boundarylayer"),j=l.ensureSingle(R,"g","labellayer");R.style("opacity",O.opacity),s(x,A,N,0,"a",z._gridlines,!0),s(x,A,N,0,"b",F._gridlines,!0),s(x,A,B,0,"a",z._minorgridlines,!0),s(x,A,B,0,"b",F._minorgridlines,!0),s(x,A,W,0,"a-boundary",z._boundarylines,E),s(x,A,W,0,"b-boundary",F._boundarylines,E);var $=h(y,x,A,O,0,j,z._labels,"a-label"),U=h(y,x,A,O,0,j,F._labels,"b-label");(function(G,q,H,ne,te,Z,X,Q){var re,ie,oe,ue,ce=l.aggNums(Math.min,null,H.a),ye=l.aggNums(Math.max,null,H.a),de=l.aggNums(Math.min,null,H.b),me=l.aggNums(Math.max,null,H.b);re=.5*(ce+ye),ie=de,oe=H.ab2xy(re,ie,!0),ue=H.dxyda_rough(re,ie),X.angle===void 0&&l.extendFlat(X,v(H,te,Z,oe,H.dxydb_rough(re,ie))),w(G,q,H,0,oe,ue,H.aaxis,te,Z,X,"a-title"),re=ce,ie=.5*(de+me),oe=H.ab2xy(re,ie,!0),ue=H.dxydb_rough(re,ie),Q.angle===void 0&&l.extendFlat(Q,v(H,te,Z,oe,H.dxyda_rough(re,ie))),w(G,q,H,0,oe,ue,H.baxis,te,Z,Q,"b-title")})(y,j,O,0,x,A,$,U),function(G,q,H,ne,te){var Z,X,Q,re,ie=H.select("#"+G._clipPathId);ie.size()||(ie=H.append("clipPath").classed("carpetclip",!0));var oe=l.ensureSingle(ie,"path","carpetboundary"),ue=q.clipsegments,ce=[];for(re=0;re90&&W<270,$=d.select(this);$.text(A.title.text).call(f.convertToTspans,y),j&&(F=(-f.lineCount($)+m)*c*N-F),$.attr("transform",u(B.p[0],B.p[1])+a(B.angle)+u(0,F)).attr("text-anchor","middle").call(g.font,A.title.font)}),z.exit().remove()}},11435:function(T,p,t){var d=t(35509),g=t(65888).findBin,i=t(45664),M=t(20349),v=t(54495),f=t(73057);T.exports=function(l){var a=l._a,u=l._b,o=a.length,s=u.length,h=l.aaxis,c=l.baxis,m=a[0],w=a[o-1],y=u[0],C=u[s-1],_=a[a.length-1]-a[0],k=u[u.length-1]-u[0],E=_*d.RELATIVE_CULL_TOLERANCE,x=k*d.RELATIVE_CULL_TOLERANCE;m-=E,w+=E,y-=x,C+=x,l.isVisible=function(A,L){return A>m&&Ay&&Lw||LC},l.setScale=function(){var A=l._x,L=l._y,b=i(l._xctrl,l._yctrl,A,L,h.smoothing,c.smoothing);l._xctrl=b[0],l._yctrl=b[1],l.evalxy=M([l._xctrl,l._yctrl],o,s,h.smoothing,c.smoothing),l.dxydi=v([l._xctrl,l._yctrl],h.smoothing,c.smoothing),l.dxydj=f([l._xctrl,l._yctrl],h.smoothing,c.smoothing)},l.i2a=function(A){var L=Math.max(0,Math.floor(A[0]),o-2),b=A[0]-L;return(1-b)*a[L]+b*a[L+1]},l.j2b=function(A){var L=Math.max(0,Math.floor(A[1]),o-2),b=A[1]-L;return(1-b)*u[L]+b*u[L+1]},l.ij2ab=function(A){return[l.i2a(A[0]),l.j2b(A[1])]},l.a2i=function(A){var L=Math.max(0,Math.min(g(A,a),o-2)),b=a[L],R=a[L+1];return Math.max(0,Math.min(o-1,L+(A-b)/(R-b)))},l.b2j=function(A){var L=Math.max(0,Math.min(g(A,u),s-2)),b=u[L],R=u[L+1];return Math.max(0,Math.min(s-1,L+(A-b)/(R-b)))},l.ab2ij=function(A){return[l.a2i(A[0]),l.b2j(A[1])]},l.i2c=function(A,L){return l.evalxy([],A,L)},l.ab2xy=function(A,L,b){if(!b&&(Aa[o-1]|Lu[s-1]))return[!1,!1];var R=l.a2i(A),I=l.b2j(L),O=l.evalxy([],R,I);if(b){var z,F,B,N,W=0,j=0,$=[];Aa[o-1]?(z=o-2,F=1,W=(A-a[o-1])/(a[o-1]-a[o-2])):F=R-(z=Math.max(0,Math.min(o-2,Math.floor(R)))),Lu[s-1]?(B=s-2,N=1,j=(L-u[s-1])/(u[s-1]-u[s-2])):N=I-(B=Math.max(0,Math.min(s-2,Math.floor(I)))),W&&(l.dxydi($,z,B,F,N),O[0]+=$[0]*W,O[1]+=$[1]*W),j&&(l.dxydj($,z,B,F,N),O[0]+=$[0]*j,O[1]+=$[1]*j)}return O},l.c2p=function(A,L,b){return[L.c2p(A[0]),b.c2p(A[1])]},l.p2x=function(A,L,b){return[L.p2c(A[0]),b.p2c(A[1])]},l.dadi=function(A){var L=Math.max(0,Math.min(a.length-2,A));return a[L+1]-a[L]},l.dbdj=function(A){var L=Math.max(0,Math.min(u.length-2,A));return u[L+1]-u[L]},l.dxyda=function(A,L,b,R){var I=l.dxydi(null,A,L,b,R),O=l.dadi(A,b);return[I[0]/O,I[1]/O]},l.dxydb=function(A,L,b,R){var I=l.dxydj(null,A,L,b,R),O=l.dbdj(L,R);return[I[0]/O,I[1]/O]},l.dxyda_rough=function(A,L,b){var R=_*(b||.1),I=l.ab2xy(A+R,L,!0),O=l.ab2xy(A-R,L,!0);return[.5*(I[0]-O[0])/R,.5*(I[1]-O[1])/R]},l.dxydb_rough=function(A,L,b){var R=k*(b||.1),I=l.ab2xy(A,L+R,!0),O=l.ab2xy(A,L-R,!0);return[.5*(I[0]-O[0])/R,.5*(I[1]-O[1])/R]},l.dpdx=function(A){return A._m},l.dpdy=function(A){return A._m}}},72505:function(T,p,t){var d=t(71828);T.exports=function(g,i,M){var v,f,l,a=[],u=[],o=g[0].length,s=g.length;function h(G,q){var H,ne=0,te=0;return G>0&&(H=g[q][G-1])!==void 0&&(te++,ne+=H),G0&&(H=g[q-1][G])!==void 0&&(te++,ne+=H),q0&&f0&&v1e-5);return d.log("Smoother converged to",R,"after",I,"iterations"),g}},19237:function(T,p,t){var d=t(71828).isArray1D;T.exports=function(g,i,M){var v=M("x"),f=v&&v.length,l=M("y"),a=l&&l.length;if(!f&&!a)return!1;if(i._cheater=!v,f&&!d(v)||a&&!d(l))i._length=null;else{var u=f?v.length:1/0;a&&(u=Math.min(u,l.length)),i.a&&i.a.length&&(u=Math.min(u,i.a.length)),i.b&&i.b.length&&(u=Math.min(u,i.b.length)),i._length=u}return!0}},69568:function(T,p,t){var d=t(5386).fF,g=t(19316),i=t(50693),M=t(9012),v=t(22399).defaultLine,f=t(1426).extendFlat,l=g.marker.line;T.exports=f({locations:{valType:"data_array",editType:"calc"},locationmode:g.locationmode,z:{valType:"data_array",editType:"calc"},geojson:f({},g.geojson,{}),featureidkey:g.featureidkey,text:f({},g.text,{}),hovertext:f({},g.hovertext,{}),marker:{line:{color:f({},l.color,{dflt:v}),width:f({},l.width,{dflt:1}),editType:"calc"},opacity:{valType:"number",arrayOk:!0,min:0,max:1,dflt:1,editType:"style"},editType:"calc"},selected:{marker:{opacity:g.selected.marker.opacity,editType:"plot"},editType:"plot"},unselected:{marker:{opacity:g.unselected.marker.opacity,editType:"plot"},editType:"plot"},hoverinfo:f({},M.hoverinfo,{editType:"calc",flags:["location","z","text","name"]}),hovertemplate:d(),showlegend:f({},M.showlegend,{dflt:!1})},i("",{cLetter:"z",editTypeOverride:"calc"}))},38675:function(T,p,t){var d=t(92770),g=t(50606).BADNUM,i=t(78803),M=t(75225),v=t(66279);function f(l){return l&&typeof l=="string"}T.exports=function(l,a){var u,o=a._length,s=new Array(o);u=a.geojson?function(y){return f(y)||d(y)}:f;for(var h=0;h")}}(M,h,l),[M]}},51319:function(T,p,t){T.exports={attributes:t(69568),supplyDefaults:t(61869),colorbar:t(61243),calc:t(38675),calcGeoJSON:t(99841).calcGeoJSON,plot:t(99841).plot,style:t(99636).style,styleOnSelect:t(99636).styleOnSelect,hoverPoints:t(42300),eventData:t(92069),selectPoints:t(81253),moduleType:"trace",name:"choropleth",basePlotModule:t(44622),categories:["geo","noOpacity","showLegend"],meta:{}}},99841:function(T,p,t){var d=t(39898),g=t(71828),i=t(41327),M=t(90973).getTopojsonFeatures,v=t(71739).findExtremes,f=t(99636).style;T.exports={calcGeoJSON:function(l,a){for(var u=l[0].trace,o=a[u.geo],s=o._subplot,h=u.locationmode,c=u._length,m=h==="geojson-id"?i.extractTraceFeature(l):M(u,s.topojson),w=[],y=[],C=0;C=0;M--){var v=i[M].id;if(typeof v=="string"&&v.indexOf("water")===0){for(var f=M+1;f=0;a--)f.removeLayer(l[a][1])},v.dispose=function(){var f=this.subplot.map;this._removeLayers(),f.removeSource(this.sourceId)},T.exports=function(f,l){var a=l[0].trace,u=new M(f,a.uid),o=u.sourceId,s=d(l),h=u.below=f.belowLookup["trace-"+a.uid];return f.map.addSource(o,{type:"geojson",data:s.geojson}),u._addLayers(s,h),l[0].trace._glTrace=u,u}},12674:function(T,p,t){var d=t(50693),g=t(12663).axisHoverFormat,i=t(5386).fF,M=t(2418),v=t(9012),f=t(1426).extendFlat,l={x:{valType:"data_array",editType:"calc+clearAxisTypes"},y:{valType:"data_array",editType:"calc+clearAxisTypes"},z:{valType:"data_array",editType:"calc+clearAxisTypes"},u:{valType:"data_array",editType:"calc"},v:{valType:"data_array",editType:"calc"},w:{valType:"data_array",editType:"calc"},sizemode:{valType:"enumerated",values:["scaled","absolute"],editType:"calc",dflt:"scaled"},sizeref:{valType:"number",editType:"calc",min:0},anchor:{valType:"enumerated",editType:"calc",values:["tip","tail","cm","center"],dflt:"cm"},text:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertemplate:i({editType:"calc"},{keys:["norm"]}),uhoverformat:g("u",1),vhoverformat:g("v",1),whoverformat:g("w",1),xhoverformat:g("x"),yhoverformat:g("y"),zhoverformat:g("z"),showlegend:f({},v.showlegend,{dflt:!1})};f(l,d("",{colorAttr:"u/v/w norm",showScaleDflt:!0,editTypeOverride:"calc"})),["opacity","lightposition","lighting"].forEach(function(a){l[a]=M[a]}),l.hoverinfo=f({},v.hoverinfo,{editType:"calc",flags:["x","y","z","u","v","w","norm","text","name"],dflt:"x+y+z+norm+text+name"}),l.transforms=void 0,T.exports=l},31371:function(T,p,t){var d=t(78803);T.exports=function(g,i){for(var M=i.u,v=i.v,f=i.w,l=Math.min(i.x.length,i.y.length,i.z.length,M.length,v.length,f.length),a=-1/0,u=1/0,o=0;ov.level||v.starts.length&&M===v.level)}break;case"constraint":if(g.prefixBoundary=!1,g.edgepaths.length)return;var f=g.x.length,l=g.y.length,a=-1/0,u=1/0;for(d=0;d":h>a&&(g.prefixBoundary=!0);break;case"<":(ha||g.starts.length&&s===u)&&(g.prefixBoundary=!0);break;case"][":o=Math.min(h[0],h[1]),s=Math.max(h[0],h[1]),oa&&(g.prefixBoundary=!0)}}}},90654:function(T,p,t){var d=t(21081),g=t(86068),i=t(53572);T.exports={min:"zmin",max:"zmax",calc:function(M,v,f){var l=v.contours,a=v.line,u=l.size||1,o=l.coloring,s=g(v,{isColorbar:!0});if(o==="heatmap"){var h=d.extractOpts(v);f._fillgradient=h.reversescale?d.flipScale(h.colorscale):h.colorscale,f._zrange=[h.min,h.max]}else o==="fill"&&(f._fillcolor=s);f._line={color:o==="lines"?s:a.color,width:l.showlines!==!1?a.width:0,dash:a.dash},f._levels={start:l.start,end:i(l),size:u}}}},36914:function(T){T.exports={BOTTOMSTART:[1,9,13,104,713],TOPSTART:[4,6,7,104,713],LEFTSTART:[8,12,14,208,1114],RIGHTSTART:[2,3,11,208,1114],NEWDELTA:[null,[-1,0],[0,-1],[-1,0],[1,0],null,[0,-1],[-1,0],[0,1],[0,1],null,[0,1],[1,0],[1,0],[0,-1]],CHOOSESADDLE:{104:[4,1],208:[2,8],713:[7,13],1114:[11,14]},SADDLEREMAINDER:{1:4,2:8,4:1,7:13,8:2,11:14,13:7,14:11},LABELDISTANCE:2,LABELINCREASE:10,LABELMIN:3,LABELMAX:10,LABELOPTIMIZER:{EDGECOST:1,ANGLECOST:1,NEIGHBORCOST:5,SAMELEVELFACTOR:10,SAMELEVELDISTANCE:5,MAXCOST:100,INITIALSEARCHPOINTS:10,ITERATIONS:5}}},83179:function(T,p,t){var d=t(92770),g=t(14523),i=t(7901),M=i.addOpacity,v=i.opacity,f=t(74808),l=f.CONSTRAINT_REDUCTION,a=f.COMPARISON_OPS2;T.exports=function(u,o,s,h,c,m){var w,y,C,_=o.contours,k=s("contours.operation");_._operation=l[k],function(E,x){var A;a.indexOf(x.operation)===-1?(E("contours.value",[0,1]),Array.isArray(x.value)?x.value.length>2?x.value=x.value.slice(2):x.length===0?x.value=[0,1]:x.length<2?(A=parseFloat(x.value[0]),x.value=[A,A+1]):x.value=[parseFloat(x.value[0]),parseFloat(x.value[1])]:d(x.value)&&(A=parseFloat(x.value),x.value=[A,A+1])):(E("contours.value",0),d(x.value)||(Array.isArray(x.value)?x.value=parseFloat(x.value[0]):x.value=0))}(s,_),k==="="?w=_.showlines=!0:(w=s("contours.showlines"),C=s("fillcolor",M((u.line||{}).color||c,.5))),w&&(y=s("line.color",C&&v(C)?M(o.fillcolor,1):c),s("line.width",2),s("line.dash")),s("line.smoothing"),g(s,h,y,m)}},64237:function(T,p,t){var d=t(74808),g=t(92770);function i(f,l){var a,u=Array.isArray(l);function o(s){return g(s)?+s:null}return d.COMPARISON_OPS2.indexOf(f)!==-1?a=o(u?l[0]:l):d.INTERVAL_OPS.indexOf(f)!==-1?a=u?[o(l[0]),o(l[1])]:[o(l),o(l)]:d.SET_OPS.indexOf(f)!==-1&&(a=u?l.map(o):[o(l)]),a}function M(f){return function(l){l=i(f,l);var a=Math.min(l[0],l[1]),u=Math.max(l[0],l[1]);return{start:a,end:u,size:u-a}}}function v(f){return function(l){return{start:l=i(f,l),end:1/0,size:1/0}}}T.exports={"[]":M("[]"),"][":M("]["),">":v(">"),"<":v("<"),"=":v("=")}},67217:function(T){T.exports=function(p,t,d,g){var i=g("contours.start"),M=g("contours.end"),v=i===!1||M===!1,f=d("contours.size");!(v?t.autocontour=!0:d("autocontour",!1))&&f||d("ncontours")}},84857:function(T,p,t){var d=t(71828);function g(i){return d.extendFlat({},i,{edgepaths:d.extendDeep([],i.edgepaths),paths:d.extendDeep([],i.paths),starts:d.extendDeep([],i.starts)})}T.exports=function(i,M){var v,f,l,a=function(s){return s.reverse()},u=function(s){return s};switch(M){case"=":case"<":return i;case">":for(i.length!==1&&d.warn("Contour data invalid for the specified inequality operation."),f=i[0],v=0;v1e3){d.warn("Too many contours, clipping at 1000",M);break}return u}},53572:function(T){T.exports=function(p){return p.end+p.size/1e6}},81696:function(T,p,t){var d=t(71828),g=t(36914);function i(f,l,a,u){return Math.abs(f[0]-l[0])20&&oe?ie===208||ie===1114?ce=ue[0]===0?1:-1:ye=ue[1]===0?1:-1:g.BOTTOMSTART.indexOf(ie)!==-1?ye=1:g.LEFTSTART.indexOf(ie)!==-1?ce=1:g.TOPSTART.indexOf(ie)!==-1?ye=-1:ce=-1,[ce,ye]}(c,a,l),w=[v(f,l,[-m[0],-m[1]])],y=f.z.length,C=f.z[0].length,_=l.slice(),k=m.slice();for(s=0;s<1e4;s++){if(c>20?(c=g.CHOOSESADDLE[c][(m[0]||m[1])<0?0:1],f.crossings[h]=g.SADDLEREMAINDER[c]):delete f.crossings[h],!(m=g.NEWDELTA[c])){d.log("Found bad marching index:",c,l,f.level);break}w.push(v(f,l,m)),l[0]+=m[0],l[1]+=m[1],h=l.join(","),i(w[w.length-1],w[w.length-2],u,o)&&w.pop();var E=m[0]&&(l[0]<0||l[0]>C-2)||m[1]&&(l[1]<0||l[1]>y-2);if(l[0]===_[0]&&l[1]===_[1]&&m[0]===k[0]&&m[1]===k[1]||a&&E)break;c=f.crossings[h]}s===1e4&&d.log("Infinite loop in contour?");var x,A,L,b,R,I,O,z,F,B,N,W,j,$,U,G=i(w[0],w[w.length-1],u,o),q=0,H=.2*f.smoothing,ne=[],te=0;for(s=1;s=te;s--)if((x=ne[s])=te&&x+ne[A]z&&F--,f.edgepaths[F]=N.concat(w,B));break}re||(f.edgepaths[z]=w.concat(B))}for(z=0;zi?0:1)+(M[0][1]>i?0:2)+(M[1][1]>i?0:4)+(M[1][0]>i?0:8);return v===5||v===10?i>(M[0][0]+M[0][1]+M[1][0]+M[1][1])/4?v===5?713:1114:v===5?104:208:v===15?0:v}T.exports=function(i){var M,v,f,l,a,u,o,s,h,c=i[0].z,m=c.length,w=c[0].length,y=m===2||w===2;for(v=0;v=0&&(A=U,b=R):Math.abs(x[1]-A[1])<.01?Math.abs(x[1]-U[1])<.01&&(U[0]-x[0])*(A[0]-U[0])>=0&&(A=U,b=R):g.log("endpt to newendpt is not vert. or horz.",x,A,U)}if(x=A,b>=0)break;z+="L"+A}if(b===k.edgepaths.length){g.log("unclosed perimeter path");break}F=b,(N=B.indexOf(F)===-1)&&(F=B[0],z+="Z")}for(F=0;FA.center?A.right-R:R-A.left)/(z+Math.abs(Math.sin(O)*b)),N=(I>A.middle?A.bottom-I:I-A.top)/(Math.abs(F)+Math.cos(O)*b);if(B<1||N<1)return 1/0;var W=w.EDGECOST*(1/(B-1)+1/(N-1));W+=w.ANGLECOST*O*O;for(var j=R-z,$=I-F,U=R+z,G=I+F,q=0;q2*w.MAXCOST)break;N&&(R/=2),I=(b=O-R/2)+1.5*R}if(B<=w.MAXCOST)return z},p.addLabelData=function(k,E,x,A){var L=E.fontSize,b=E.width+L/3,R=Math.max(0,E.height-L/3),I=k.x,O=k.y,z=k.theta,F=Math.sin(z),B=Math.cos(z),N=function(j,$){return[I+j*B-$*F,O+j*F+$*B]},W=[N(-b/2,-R/2),N(-b/2,R/2),N(b/2,R/2),N(b/2,-R/2)];x.push({text:E.text,x:I,y:O,dy:E.dy,theta:z,level:E.level,width:b,height:R}),A.push(W)},p.drawLabels=function(k,E,x,A,L){var b=k.selectAll("text").data(E,function(O){return O.text+","+O.x+","+O.y+","+O.theta});if(b.exit().remove(),b.enter().append("text").attr({"data-notex":1,"text-anchor":"middle"}).each(function(O){var z=O.x+Math.sin(O.theta)*O.dy,F=O.y-Math.cos(O.theta)*O.dy;d.select(this).text(O.text).attr({x:z,y:F,transform:"rotate("+180*O.theta/Math.PI+" "+z+" "+F+")"}).call(v.convertToTspans,x)}),L){for(var R="",I=0;If.end&&(f.start=f.end=(f.start+f.end)/2),M._input.contours||(M._input.contours={}),g.extendFlat(M._input.contours,{start:f.start,end:f.end,size:f.size}),M._input.autocontour=!0}else if(f.type!=="constraint"){var o,s=f.start,h=f.end,c=M._input.contours;s>h&&(f.start=c.start=h,h=f.end=c.end=s,s=f.start),f.size>0||(o=s===h?1:i(s,h,M.ncontours).dtick,c.size=f.size=o)}}},84426:function(T,p,t){var d=t(39898),g=t(91424),i=t(70035),M=t(86068);T.exports=function(v){var f=d.select(v).selectAll("g.contour");f.style("opacity",function(l){return l[0].trace.opacity}),f.each(function(l){var a=d.select(this),u=l[0].trace,o=u.contours,s=u.line,h=o.size||1,c=o.start,m=o.type==="constraint",w=!m&&o.coloring==="lines",y=!m&&o.coloring==="fill",C=w||y?M(u):null;a.selectAll("g.contourlevel").each(function(E){d.select(this).selectAll("path").call(g.lineGroupStyle,s.width,w?C(E.level):s.color,s.dash)});var _=o.labelfont;if(a.selectAll("g.contourlabels text").each(function(E){g.font(d.select(this),{family:_.family,size:_.size,color:_.color||(w?C(E.level):s.color)})}),m)a.selectAll("g.contourfill path").style("fill",u.fillcolor);else if(y){var k;a.selectAll("g.contourfill path").style("fill",function(E){return k===void 0&&(k=E.level),C(E.level+.5*h)}),k===void 0&&(k=c),a.selectAll("g.contourbg path").style("fill",C(k-.5*h))}}),i(v)}},8724:function(T,p,t){var d=t(1586),g=t(14523);T.exports=function(i,M,v,f,l){var a,u=v("contours.coloring"),o="";u==="fill"&&(a=v("contours.showlines")),a!==!1&&(u!=="lines"&&(o=v("line.color","#000")),v("line.width",.5),v("line.dash")),u!=="none"&&(i.showlegend!==!0&&(M.showlegend=!1),M._dfltShowLegend=!1,d(i,M,f,v,{prefix:"",cLetter:"z"})),v("line.smoothing"),g(v,f,o,l)}},88085:function(T,p,t){var d=t(21606),g=t(70600),i=t(50693),M=t(1426).extendFlat,v=g.contours;T.exports=M({carpet:{valType:"string",editType:"calc"},z:d.z,a:d.x,a0:d.x0,da:d.dx,b:d.y,b0:d.y0,db:d.dy,text:d.text,hovertext:d.hovertext,transpose:d.transpose,atype:d.xtype,btype:d.ytype,fillcolor:g.fillcolor,autocontour:g.autocontour,ncontours:g.ncontours,contours:{type:v.type,start:v.start,end:v.end,size:v.size,coloring:{valType:"enumerated",values:["fill","lines","none"],dflt:"fill",editType:"calc"},showlines:v.showlines,showlabels:v.showlabels,labelfont:v.labelfont,labelformat:v.labelformat,operation:v.operation,value:v.value,editType:"calc",impliedEdits:{autocontour:!1}},line:{color:g.line.color,width:g.line.width,dash:g.line.dash,smoothing:g.line.smoothing,editType:"plot"},transforms:void 0},i("",{cLetter:"z",autoColorDflt:!1}))},59885:function(T,p,t){var d=t(78803),g=t(71828),i=t(68296),M=t(4742),v=t(824),f=t(43907),l=t(70769),a=t(75005),u=t(22882),o=t(18670);T.exports=function(s,h){var c=h._carpetTrace=u(s,h);if(c&&c.visible&&c.visible!=="legendonly"){if(!h.a||!h.b){var m=s.data[c.index],w=s.data[h.index];w.a||(w.a=m.a),w.b||(w.b=m.b),a(w,h,h._defaultColor,s._fullLayout)}var y=function(C,_){var k,E,x,A,L,b,R,I=_._carpetTrace,O=I.aaxis,z=I.baxis;O._minDtick=0,z._minDtick=0,g.isArray1D(_.z)&&i(_,O,z,"a","b",["z"]),k=_._a=_._a||_.a,A=_._b=_._b||_.b,k=k?O.makeCalcdata(_,"_a"):[],A=A?z.makeCalcdata(_,"_b"):[],E=_.a0||0,x=_.da||1,L=_.b0||0,b=_.db||1,R=_._z=M(_._z||_.z,_.transpose),_._emptypoints=f(R),v(R,_._emptypoints);var F=g.maxRowLength(R),B=_.xtype==="scaled"?"":k,N=l(_,B,E,x,F,O),W=_.ytype==="scaled"?"":A,j={a:N,b:l(_,W,L,b,R.length,z),z:R};return _.contours.type==="levels"&&_.contours.coloring!=="none"&&d(C,_,{vals:R,containerStr:"",cLetter:"z"}),[j]}(s,h);return o(h,h._z),y}}},75005:function(T,p,t){var d=t(71828),g=t(67684),i=t(88085),M=t(83179),v=t(67217),f=t(8724);T.exports=function(l,a,u,o){function s(h,c){return d.coerce(l,a,i,h,c)}if(s("carpet"),l.a&&l.b){if(!g(l,a,s,o,"a","b"))return void(a.visible=!1);s("text"),s("contours.type")==="constraint"?M(l,a,s,o,u,{hasHover:!1}):(v(l,a,s,function(h){return d.coerce2(l,a,i,h)}),f(l,a,s,o,{hasHover:!1}))}else a._defaultColor=u,a._length=null}},93740:function(T,p,t){T.exports={attributes:t(88085),supplyDefaults:t(75005),colorbar:t(90654),calc:t(59885),plot:t(51048),style:t(84426),moduleType:"trace",name:"contourcarpet",basePlotModule:t(93612),categories:["cartesian","svg","carpet","contour","symbols","showLegend","hasLines","carpetDependent","noHover","noSortingByValue"],meta:{}}},51048:function(T,p,t){var d=t(39898),g=t(27669),i=t(67961),M=t(91424),v=t(71828),f=t(87678),l=t(81696),a=t(29854),u=t(36914),o=t(84857),s=t(87558),h=t(20083),c=t(22882),m=t(4536);function w(_,k,E){var x=_.getPointAtLength(k),A=_.getPointAtLength(E),L=A.x-x.x,b=A.y-x.y,R=Math.sqrt(L*L+b*b);return[L/R,b/R]}function y(_){var k=Math.sqrt(_[0]*_[0]+_[1]*_[1]);return[_[0]/k,_[1]/k]}function C(_,k){var E=Math.abs(_[0]*k[0]+_[1]*k[1]);return Math.sqrt(1-E*E)/E}T.exports=function(_,k,E,x){var A=k.xaxis,L=k.yaxis;v.makeTraceGroups(x,E,"contour").each(function(b){var R=d.select(this),I=b[0],O=I.trace,z=O._carpetTrace=c(_,O),F=_.calcdata[z.index][0];if(z.visible&&z.visible!=="legendonly"){var B=I.a,N=I.b,W=O.contours,j=s(W,k,I),$=W.type==="constraint",U=W._operation,G=$?U==="="?"lines":"fill":W.coloring,q=[[B[0],N[N.length-1]],[B[B.length-1],N[N.length-1]],[B[B.length-1],N[0]],[B[0],N[0]]];f(j);var H=1e-8*(B[B.length-1]-B[0]),ne=1e-8*(N[N.length-1]-N[0]);l(j,H,ne);var te,Z,X,Q,re=j;W.type==="constraint"&&(re=o(j,U)),function(ce,ye){var de,me,pe,xe,Pe,_e,Me,Se,Ce;for(de=0;de=0;Q--)te=F.clipsegments[Q],Z=g([],te.x,A.c2p),X=g([],te.y,L.c2p),Z.reverse(),X.reverse(),ie.push(i(Z,X,te.bicubic));var oe="M"+ie.join("L")+"Z";(function(ce,ye,de,me,pe,xe){var Pe,_e,Me,Se,Ce=v.ensureSingle(ce,"g","contourbg").selectAll("path").data(xe!=="fill"||pe?[]:[0]);Ce.enter().append("path"),Ce.exit().remove();var ae=[];for(Se=0;Se=0&&(st=ft,ht=bt):Math.abs(Ye[1]-st[1])=0&&(st=ft,ht=bt):v.log("endpt to newendpt is not vert. or horz.",Ye,st,ft)}if(ht>=0)break;kt+=qe(Ye,st),Ye=st}if(ht===Be.edgepaths.length){v.log("unclosed perimeter path");break}$e=ht,(Ft=xt.indexOf($e)===-1)&&($e=xt[0],kt+=qe(Ye,st)+"Z",Ye=null)}for($e=0;$eLt&&(Ke.max=Lt),Ke.len=Ke.max-Ke.min}function yt(Pt,wt){var Rt,Nt=0,Yt=.1;return(Math.abs(Pt[0]-Re)0?+m[s]:0),h.push({type:"Feature",geometry:{type:"Point",coordinates:_},properties:k})}}var x=M.extractOpts(a),A=x.reversescale?M.flipScale(x.colorscale):x.colorscale,L=A[0][1],b=["interpolate",["linear"],["heatmap-density"],0,i.opacity(L)<1?L:i.addOpacity(L,0)];for(s=1;s=0;l--)v.removeLayer(f[l][1])},M.dispose=function(){var v=this.subplot.map;this._removeLayers(),v.removeSource(this.sourceId)},T.exports=function(v,f){var l=f[0].trace,a=new i(v,l.uid),u=a.sourceId,o=d(f),s=a.below=v.belowLookup["trace-"+l.uid];return v.map.addSource(u,{type:"geojson",data:o.geojson}),a._addLayers(o,s),a}},49789:function(T,p,t){var d=t(71828);T.exports=function(g,i){for(var M=0;M"),u.color=function(k,E){var x=k.marker,A=E.mc||x.color,L=E.mlc||x.line.color,b=E.mlw||x.line.width;return d(A)?A:d(L)&&b?L:void 0}(s,c),[u]}}},51759:function(T,p,t){T.exports={attributes:t(1285),layoutAttributes:t(10440),supplyDefaults:t(26199).supplyDefaults,crossTraceDefaults:t(26199).crossTraceDefaults,supplyLayoutDefaults:t(93138),calc:t(9532),crossTraceCalc:t(8984),plot:t(80461),style:t(68266).style,hoverPoints:t(63341),eventData:t(34598),selectPoints:t(81974),moduleType:"trace",name:"funnel",basePlotModule:t(93612),categories:["bar-like","cartesian","svg","oriented","showLegend","zoomScale"],meta:{}}},10440:function(T){T.exports={funnelmode:{valType:"enumerated",values:["stack","group","overlay"],dflt:"stack",editType:"calc"},funnelgap:{valType:"number",min:0,max:1,editType:"calc"},funnelgroupgap:{valType:"number",min:0,max:1,dflt:0,editType:"calc"}}},93138:function(T,p,t){var d=t(71828),g=t(10440);T.exports=function(i,M,v){var f=!1;function l(o,s){return d.coerce(i,M,g,o,s)}for(var a=0;a path").each(function(w){if(!w.isBlank){var y=m.marker;d.select(this).call(i.fill,w.mc||y.color).call(i.stroke,w.mlc||y.line.color).call(g.dashLine,y.line.dash,w.mlw||y.line.width).style("opacity",m.selectedpoints&&!w.selected?M:1)}}),l(c,m,a),c.selectAll(".regions").each(function(){d.select(this).selectAll("path").style("stroke-width",0).call(i.fill,m.connector.fillcolor)}),c.selectAll(".lines").each(function(){var w=m.connector.line;g.lineGroupStyle(d.select(this).selectAll("path"),w.width,w.color,w.dash)})})}}},86807:function(T,p,t){var d=t(34e3),g=t(9012),i=t(27670).Y,M=t(5386).fF,v=t(5386).si,f=t(1426).extendFlat;T.exports={labels:d.labels,label0:d.label0,dlabel:d.dlabel,values:d.values,marker:{colors:d.marker.colors,line:{color:f({},d.marker.line.color,{dflt:null}),width:f({},d.marker.line.width,{dflt:1}),editType:"calc"},editType:"calc"},text:d.text,hovertext:d.hovertext,scalegroup:f({},d.scalegroup,{}),textinfo:f({},d.textinfo,{flags:["label","text","value","percent"]}),texttemplate:v({editType:"plot"},{keys:["label","color","value","text","percent"]}),hoverinfo:f({},g.hoverinfo,{flags:["label","text","value","percent","name"]}),hovertemplate:M({},{keys:["label","color","value","text","percent"]}),textposition:f({},d.textposition,{values:["inside","none"],dflt:"inside"}),textfont:d.textfont,insidetextfont:d.insidetextfont,title:{text:d.title.text,font:d.title.font,position:f({},d.title.position,{values:["top left","top center","top right"],dflt:"top center"}),editType:"plot"},domain:i({name:"funnelarea",trace:!0,editType:"calc"}),aspectratio:{valType:"number",min:0,dflt:1,editType:"plot"},baseratio:{valType:"number",min:0,max:1,dflt:.333,editType:"plot"}}},6452:function(T,p,t){var d=t(74875);p.name="funnelarea",p.plot=function(g,i,M,v){d.plotBasePlot(p.name,g,i,M,v)},p.clean=function(g,i,M,v){d.cleanBasePlot(p.name,g,i,M,v)}},89574:function(T,p,t){var d=t(32354);T.exports={calc:function(g,i){return d.calc(g,i)},crossTraceCalc:function(g){d.crossTraceCalc(g,{type:"funnelarea"})}}},86282:function(T,p,t){var d=t(71828),g=t(86807),i=t(27670).c,M=t(90769).handleText,v=t(37434).handleLabelsAndValues;T.exports=function(f,l,a,u){function o(k,E){return d.coerce(f,l,g,k,E)}var s=o("labels"),h=o("values"),c=v(s,h),m=c.len;if(l._hasLabels=c.hasLabels,l._hasValues=c.hasValues,!l._hasLabels&&l._hasValues&&(o("label0"),o("dlabel")),m){l._length=m,o("marker.line.width")&&o("marker.line.color",u.paper_bgcolor),o("marker.colors"),o("scalegroup");var w,y=o("text"),C=o("texttemplate");if(C||(w=o("textinfo",Array.isArray(y)?"text+percent":"percent")),o("hovertext"),o("hovertemplate"),C||w&&w!=="none"){var _=o("textposition");M(f,l,u,o,_,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1})}i(l,u,o),o("title.text")&&(o("title.position"),d.coerceFont(o,"title.font",u.font)),o("aspectratio"),o("baseratio")}else l.visible=!1}},10421:function(T,p,t){T.exports={moduleType:"trace",name:"funnelarea",basePlotModule:t(6452),categories:["pie-like","funnelarea","showLegend"],attributes:t(86807),layoutAttributes:t(80097),supplyDefaults:t(86282),supplyLayoutDefaults:t(57402),calc:t(89574).calc,crossTraceCalc:t(89574).crossTraceCalc,plot:t(79187),style:t(71858),styleOne:t(63463),meta:{}}},80097:function(T,p,t){var d=t(92774).hiddenlabels;T.exports={hiddenlabels:d,funnelareacolorway:{valType:"colorlist",editType:"calc"},extendfunnelareacolors:{valType:"boolean",dflt:!0,editType:"calc"}}},57402:function(T,p,t){var d=t(71828),g=t(80097);T.exports=function(i,M){function v(f,l){return d.coerce(i,M,g,f,l)}v("hiddenlabels"),v("funnelareacolorway",M.colorway),v("extendfunnelareacolors")}},79187:function(T,p,t){var d=t(39898),g=t(91424),i=t(71828),M=i.strScale,v=i.strTranslate,f=t(63893),l=t(17295).toMoveInsideBar,a=t(72597),u=a.recordMinTextSize,o=a.clearMinTextSize,s=t(53581),h=t(14575),c=h.attachFxHandlers,m=h.determineInsideTextFont,w=h.layoutAreas,y=h.prerenderTitles,C=h.positionTitleOutside,_=h.formatSliceLabel;function k(E,x){return"l"+(x[0]-E[0])+","+(x[1]-E[1])}T.exports=function(E,x){var A=E._context.staticPlot,L=E._fullLayout;o("funnelarea",L),y(x,E),w(x,L._size),i.makeTraceGroups(L._funnelarealayer,x,"trace").each(function(b){var R=d.select(this),I=b[0],O=I.trace;(function(z){if(z.length){var F=z[0],B=F.trace,N=B.aspectratio,W=B.baseratio;W>.999&&(W=.999);var j,$,U,G=Math.pow(W,2),q=F.vTotal,H=q,ne=q*G/(1-G)/q,te=[];for(te.push(Me()),$=z.length-1;$>-1;$--)if(!(U=z[$]).hidden){var Z=U.v/H;ne+=Z,te.push(Me())}var X=1/0,Q=-1/0;for($=0;$-1;$--)if(!(U=z[$]).hidden){var Pe=te[xe+=1][0],_e=te[xe][1];U.TL=[-Pe,_e],U.TR=[Pe,_e],U.BL=me,U.BR=pe,U.pxmid=(ye=U.TR,de=U.BR,[.5*(ye[0]+de[0]),.5*(ye[1]+de[1])]),me=U.TL,pe=U.TR}}function Me(){var Se,Ce={x:Se=Math.sqrt(ne),y:-Se};return[Ce.x,Ce.y]}})(b),R.each(function(){var z=d.select(this).selectAll("g.slice").data(b);z.enter().append("g").classed("slice",!0),z.exit().remove(),z.each(function(B,N){if(B.hidden)d.select(this).selectAll("path,g").remove();else{B.pointNumber=B.i,B.curveNumber=O.index;var W=I.cx,j=I.cy,$=d.select(this),U=$.selectAll("path.surface").data([B]);U.enter().append("path").classed("surface",!0).style({"pointer-events":A?"none":"all"}),$.call(c,E,b);var G="M"+(W+B.TR[0])+","+(j+B.TR[1])+k(B.TR,B.BR)+k(B.BR,B.BL)+k(B.BL,B.TL)+"Z";U.attr("d",G),_(E,B,I);var q=s.castOption(O.textposition,B.pts),H=$.selectAll("g.slicetext").data(B.text&&q!=="none"?[0]:[]);H.enter().append("g").classed("slicetext",!0),H.exit().remove(),H.each(function(){var ne=i.ensureSingle(d.select(this),"text","",function(ue){ue.attr("data-notex",1)}),te=i.ensureUniformFontSize(E,m(O,B,L.font));ne.text(B.text).attr({class:"slicetext",transform:"","text-anchor":"middle"}).call(g.font,te).call(f.convertToTspans,E);var Z,X,Q,re=g.bBox(ne.node()),ie=Math.min(B.BL[1],B.BR[1])+j,oe=Math.max(B.TL[1],B.TR[1])+j;X=Math.max(B.TL[0],B.BL[0])+W,Q=Math.min(B.TR[0],B.BR[0])+W,(Z=l(X,Q,ie,oe,re,{isHorizontal:!0,constrained:!0,angle:0,anchor:"middle"})).fontSize=te.size,u(O.type,Z,L),b[N].transform=Z,i.setTransormAndDisplay(ne,Z)})}});var F=d.select(this).selectAll("g.titletext").data(O.title.text?[0]:[]);F.enter().append("g").classed("titletext",!0),F.exit().remove(),F.each(function(){var B=i.ensureSingle(d.select(this),"text","",function(j){j.attr("data-notex",1)}),N=O.title.text;O._meta&&(N=i.templateString(N,O._meta)),B.text(N).attr({class:"titletext",transform:"","text-anchor":"middle"}).call(g.font,O.title.font).call(f.convertToTspans,E);var W=C(I,L._size);B.attr("transform",v(W.x,W.y)+M(Math.min(1,W.scale))+v(W.tx,W.ty))})})})}},71858:function(T,p,t){var d=t(39898),g=t(63463),i=t(72597).resizeText;T.exports=function(M){var v=M._fullLayout._funnelarealayer.selectAll(".trace");i(M,v,"funnelarea"),v.each(function(f){var l=f[0].trace,a=d.select(this);a.style({opacity:l.opacity}),a.selectAll("path.surface").each(function(u){d.select(this).call(g,u,l)})})}},21606:function(T,p,t){var d=t(82196),g=t(9012),i=t(41940),M=t(12663).axisHoverFormat,v=t(5386).fF,f=t(5386).si,l=t(50693),a=t(1426).extendFlat;T.exports=a({z:{valType:"data_array",editType:"calc"},x:a({},d.x,{impliedEdits:{xtype:"array"}}),x0:a({},d.x0,{impliedEdits:{xtype:"scaled"}}),dx:a({},d.dx,{impliedEdits:{xtype:"scaled"}}),y:a({},d.y,{impliedEdits:{ytype:"array"}}),y0:a({},d.y0,{impliedEdits:{ytype:"scaled"}}),dy:a({},d.dy,{impliedEdits:{ytype:"scaled"}}),xperiod:a({},d.xperiod,{impliedEdits:{xtype:"scaled"}}),yperiod:a({},d.yperiod,{impliedEdits:{ytype:"scaled"}}),xperiod0:a({},d.xperiod0,{impliedEdits:{xtype:"scaled"}}),yperiod0:a({},d.yperiod0,{impliedEdits:{ytype:"scaled"}}),xperiodalignment:a({},d.xperiodalignment,{impliedEdits:{xtype:"scaled"}}),yperiodalignment:a({},d.yperiodalignment,{impliedEdits:{ytype:"scaled"}}),text:{valType:"data_array",editType:"calc"},hovertext:{valType:"data_array",editType:"calc"},transpose:{valType:"boolean",dflt:!1,editType:"calc"},xtype:{valType:"enumerated",values:["array","scaled"],editType:"calc+clearAxisTypes"},ytype:{valType:"enumerated",values:["array","scaled"],editType:"calc+clearAxisTypes"},zsmooth:{valType:"enumerated",values:["fast","best",!1],dflt:!1,editType:"calc"},hoverongaps:{valType:"boolean",dflt:!0,editType:"none"},connectgaps:{valType:"boolean",editType:"calc"},xgap:{valType:"number",dflt:0,min:0,editType:"plot"},ygap:{valType:"number",dflt:0,min:0,editType:"plot"},xhoverformat:M("x"),yhoverformat:M("y"),zhoverformat:M("z",1),hovertemplate:v(),texttemplate:f({arrayOk:!1,editType:"plot"},{keys:["x","y","z","text"]}),textfont:i({editType:"plot",autoSize:!0,autoColor:!0,colorEditType:"style"}),showlegend:a({},g.showlegend,{dflt:!1})},{transforms:void 0},l("",{cLetter:"z",autoColorDflt:!1}))},90757:function(T,p,t){var d=t(73972),g=t(71828),i=t(89298),M=t(42973),v=t(17562),f=t(78803),l=t(68296),a=t(4742),u=t(824),o=t(43907),s=t(70769),h=t(50606).BADNUM;function c(m){for(var w=[],y=m.length,C=0;CG){$("x scale is not linear");break}}if(E.length&&W==="fast"){var q=(E[E.length-1]-E[0])/(E.length-1),H=Math.abs(q/100);for(R=0;RH){$("y scale is not linear");break}}}}var ne=g.maxRowLength(b),te=w.xtype==="scaled"?"":y,Z=s(w,te,C,_,ne,O),X=w.ytype==="scaled"?"":E,Q=s(w,X,x,A,b.length,z);N||(w._extremes[O._id]=i.findExtremes(O,Z),w._extremes[z._id]=i.findExtremes(z,Q));var re={x:Z,y:Q,z:b,text:w._text||w.text,hovertext:w._hovertext||w.hovertext};if(w.xperiodalignment&&k&&(re.orig_x=k),w.yperiodalignment&&L&&(re.orig_y=L),te&&te.length===Z.length-1&&(re.xCenter=te),X&&X.length===Q.length-1&&(re.yCenter=X),B&&(re.xRanges=I.xRanges,re.yRanges=I.yRanges,re.pts=I.pts),F||f(m,w,{vals:b,cLetter:"z"}),F&&w.contours&&w.contours.coloring==="heatmap"){var ie={type:w.type==="contour"?"heatmap":"histogram2d",xcalendar:w.xcalendar,ycalendar:w.ycalendar};re.xfill=s(ie,te,C,_,ne,O),re.yfill=s(ie,X,x,A,b.length,z)}return[re]}},4742:function(T,p,t){var d=t(92770),g=t(71828),i=t(50606).BADNUM;T.exports=function(M,v,f,l){var a,u,o,s,h,c;function m(E){if(d(E))return+E}if(v&&v.transpose){for(a=0,h=0;h=0;l--)(a=((h[[(M=(f=c[l])[0])-1,v=f[1]]]||y)[2]+(h[[M+1,v]]||y)[2]+(h[[M,v-1]]||y)[2]+(h[[M,v+1]]||y)[2])/20)&&(u[f]=[M,v,a],c.splice(l,1),o=!0);if(!o)throw"findEmpties iterated with no new neighbors";for(f in u)h[f]=u[f],s.push(u[f])}return s.sort(function(_,k){return k[2]-_[2]})}},46248:function(T,p,t){var d=t(30211),g=t(71828),i=t(89298),M=t(21081).extractOpts;T.exports=function(v,f,l,a,u){u||(u={});var o,s,h,c,m=u.isContour,w=v.cd[0],y=w.trace,C=v.xa,_=v.ya,k=w.x,E=w.y,x=w.z,A=w.xCenter,L=w.yCenter,b=w.zmask,R=y.zhoverformat,I=k,O=E;if(v.index!==!1){try{h=Math.round(v.index[1]),c=Math.round(v.index[0])}catch{return void g.error("Error hovering on heatmap, pointNumber must be [row,col], found:",v.index)}if(h<0||h>=x[0].length||c<0||c>x.length)return}else{if(d.inbox(f-k[0],f-k[k.length-1],0)>0||d.inbox(l-E[0],l-E[E.length-1],0)>0)return;if(m){var z;for(I=[2*k[0]-k[1]],z=1;zk&&(x=Math.max(x,Math.abs(v[u][o]-_)/(E-k))))}return x}T.exports=function(v,f){var l,a=1;for(M(v,f),l=0;l.01;l++)a=M(v,f,i(a));return a>.01&&d.log("interp2d didn't converge quickly",a),v}},58623:function(T,p,t){var d=t(71828);T.exports=function(g,i){g("texttemplate");var M=d.extendFlat({},i.font,{color:"auto",size:"auto"});d.coerceFont(g,"textfont",M)}},70769:function(T,p,t){var d=t(73972),g=t(71828).isArrayOrTypedArray;T.exports=function(i,M,v,f,l,a){var u,o,s,h=[],c=d.traceIs(i,"contour"),m=d.traceIs(i,"histogram"),w=d.traceIs(i,"gl2d");if(g(M)&&M.length>1&&!m&&a.type!=="category"){var y=M.length;if(!(y<=l))return c?M.slice(0,l):M.slice(0,l+1);if(c||w)h=M.slice(0,l);else if(l===1)h=[M[0]-.5,M[0]+.5];else{for(h=[1.5*M[0]-.5*M[1]],s=1;s0;)z=b.c2p(Z[W]),W--;for(z0;)N=R.c2p(X[W]),W--;if(NWt||Wt>R._length))for(j=wt;jQt||Qt>b._length)){var rn=a({x:Xt,y:Yt},q,E._fullLayout);rn.x=Xt,rn.y=Yt;var xn=G.z[W][j];xn===void 0?(rn.z="",rn.zLabel=""):(rn.z=xn,rn.zLabel=v.tickText(It,xn,"hover").text);var un=G.text&&G.text[W]&&G.text[W][j];un!==void 0&&un!==!1||(un=""),rn.text=un;var An=f.texttemplateString(dt,rn,E._fullLayout._d3locale,rn,q._meta||{});if(An){var Yn=An.split("
"),kn=Yn.length,sn=0;for($=0;$0&&(k=!0);for(var A=0;Af){var l=f-M[g];return M[g]=f,l}}return 0},max:function(g,i,M,v){var f=v[i];if(d(f)){if(f=Number(f),!d(M[g]))return M[g]=f,f;if(M[g]l?c>M?c>1.1*g?g:c>1.1*i?i:M:c>v?v:c>f?f:l:Math.pow(10,Math.floor(Math.log(c)/Math.LN10))}function s(c,m,w,y,C,_){if(y&&c>M){var k=h(m,C,_),E=h(w,C,_),x=c===g?0:1;return k[x]!==E[x]}return Math.floor(w/c)-Math.floor(m/c)>.1}function h(c,m,w){var y=m.c2d(c,g,w).split("-");return y[0]===""&&(y.unshift(),y[0]="-"+y[0]),y}T.exports=function(c,m,w,y,C){var _,k,E=-1.1*m,x=-.1*m,A=c-x,L=w[0],b=w[1],R=Math.min(u(L+x,L+A,y,C),u(b+x,b+A,y,C)),I=Math.min(u(L+E,L+x,y,C),u(b+E,b+x,y,C));if(R>I&&IM){var O=_===g?1:6,z=_===g?"M12":"M1";return function(F,B){var N=y.c2d(F,g,C),W=N.indexOf("-",O);W>0&&(N=N.substr(0,W));var j=y.d2c(N,0,C);if(jc.r2l(re)&&(oe=M.tickIncrement(oe,I.size,!0,k)),te.start=c.l2r(oe),Q||g.nestedProperty(h,L+".start").set(te.start)}var ue=I.end,ce=c.r2l(ne.end),ye=ce!==void 0;if((I.endFound||ye)&&ce!==c.r2l(ue)){var de=ye?ce:g.aggNums(Math.max,null,E);te.end=c.l2r(de),ye||g.nestedProperty(h,L+".start").set(te.end)}var me="autobin"+m;return h._input[me]===!1&&(h._input[L]=g.extendFlat({},h[L]||{}),delete h._input[me],delete h[me]),[te,E]}T.exports={calc:function(s,h){var c,m,w,y,C=[],_=[],k=h.orientation==="h",E=M.getFromId(s,k?h.yaxis:h.xaxis),x=k?"y":"x",A={x:"y",y:"x"}[x],L=h[x+"calendar"],b=h.cumulative,R=o(s,h,E,x),I=R[0],O=R[1],z=typeof I.size=="string",F=[],B=z?F:I,N=[],W=[],j=[],$=0,U=h.histnorm,G=h.histfunc,q=U.indexOf("density")!==-1;b.enabled&&q&&(U=U.replace(/ ?density$/,""),q=!1);var H,ne=G==="max"||G==="min"?null:0,te=f.count,Z=l[U],X=!1,Q=function(Ce){return E.r2c(Ce,0,L)};for(g.isArrayOrTypedArray(h[A])&&G!=="count"&&(H=h[A],X=G==="avg",te=f[G]),c=Q(I.start),w=Q(I.end)+(c-M.tickIncrement(c,I.size,!1,L))/1e6;c=0&&y=0;be--)ze(be);else if(ae==="increasing"){for(be=1;be=0;be--)Ce[be]+=Ce[be+1];fe==="exclude"&&(Ce.push(0),Ce.shift())}}(_,b.direction,b.currentbin);var xe=Math.min(C.length,_.length),Pe=[],_e=0,Me=xe-1;for(c=0;c=_e;c--)if(_[c]){Me=c;break}for(c=_e;c<=Me;c++)if(d(C[c])&&d(_[c])){var Se={p:C[c],s:_[c],b:0};b.enabled||(Se.pts=j[c],ce?Se.ph0=Se.ph1=j[c].length?O[j[c][0]]:C[c]:(h._computePh=!0,Se.ph0=oe(F[c]),Se.ph1=oe(F[c+1],!0))),Pe.push(Se)}return Pe.length===1&&(Pe[0].width1=M.tickIncrement(Pe[0].p,I.size,!1,L)-Pe[0].p),v(Pe,h),g.isArrayOrTypedArray(h.selectedpoints)&&g.tagSelected(Pe,h,me),Pe},calcAllAutoBins:o}},72406:function(T){T.exports={eventDataKeys:["binNumber"]}},82222:function(T,p,t){var d=t(71828),g=t(41675),i=t(73972).traceIs,M=t(26125),v=d.nestedProperty,f=t(99082).getAxisGroup,l=[{aStr:{x:"xbins.start",y:"ybins.start"},name:"start"},{aStr:{x:"xbins.end",y:"ybins.end"},name:"end"},{aStr:{x:"xbins.size",y:"ybins.size"},name:"size"},{aStr:{x:"nbinsx",y:"nbinsy"},name:"nbins"}],a=["x","y"];T.exports=function(u,o){var s,h,c,m,w,y,C,_=o._histogramBinOpts={},k=[],E={},x=[];function A(q,H){return d.coerce(s._input,s,s._module.attributes,q,H)}function L(q){return q.orientation==="v"?"x":"y"}function b(q,H,ne){var te=q.uid+"__"+ne;H||(H=te);var Z=function(ie,oe){return g.getFromTrace({_fullLayout:o},ie,oe).type}(q,ne),X=q[ne+"calendar"]||"",Q=_[H],re=!0;Q&&(Z===Q.axType&&X===Q.calendar?(re=!1,Q.traces.push(q),Q.dirs.push(ne)):(H=te,Z!==Q.axType&&d.warn(["Attempted to group the bins of trace",q.index,"set on a","type:"+Z,"axis","with bins on","type:"+Q.axType,"axis."].join(" ")),X!==Q.calendar&&d.warn(["Attempted to group the bins of trace",q.index,"set with a",X,"calendar","with bins",Q.calendar?"on a "+Q.calendar+" calendar":"w/o a set calendar"].join(" ")))),re&&(_[H]={traces:[q],dirs:[ne],axType:Z,calendar:q[ne+"calendar"]||""}),q["_"+ne+"bingroup"]=H}for(w=0;wF&&R.splice(F,R.length-F),z.length>F&&z.splice(F,z.length-F);var B=[],N=[],W=[],j=typeof b.size=="string",$=typeof O.size=="string",U=[],G=[],q=j?U:b,H=$?G:O,ne=0,te=[],Z=[],X=h.histnorm,Q=h.histfunc,re=X.indexOf("density")!==-1,ie=Q==="max"||Q==="min"?null:0,oe=i.count,ue=M[X],ce=!1,ye=[],de=[],me="z"in h?h.z:"marker"in h&&Array.isArray(h.marker.color)?h.marker.color:"";me&&Q!=="count"&&(ce=Q==="avg",oe=i[Q]);var pe=b.size,xe=x(b.start),Pe=x(b.end)+(xe-g.tickIncrement(xe,pe,!1,k))/1e6;for(c=xe;c=0&&w=0&&y-1,flipY:N.tiling.flip.indexOf("y")>-1,orientation:N.tiling.orientation,pad:{inner:N.tiling.pad},maxDepth:N._maxDepth}).descendants(),G=1/0,q=-1/0;U.forEach(function(X){var Q=X.depth;Q>=N._maxDepth?(X.x0=X.x1=(X.x0+X.x1)/2,X.y0=X.y1=(X.y0+X.y1)/2):(G=Math.min(G,Q),q=Math.max(q,Q))}),w=w.data(U,a.getPtId),N._maxVisibleLayers=isFinite(q)?q-G+1:0,w.enter().append("g").classed("slice",!0),R(w,s,{},[C,_],x),w.order();var H=null;if(b&&z){var ne=a.getPtId(z);w.each(function(X){H===null&&a.getPtId(X)===ne&&(H={x0:X.x0,x1:X.x1,y0:X.y0,y1:X.y1})})}var te=function(){return H||{x0:0,x1:C,y0:0,y1:_}},Z=w;return b&&(Z=Z.transition().each("end",function(){var X=d.select(this);a.setSliceCursor(X,h,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})})),Z.each(function(X){X._x0=k(X.x0),X._x1=k(X.x1),X._y0=E(X.y0),X._y1=E(X.y1),X._hoverX=k(X.x1-N.tiling.pad),X._hoverY=E($?X.y1-N.tiling.pad/2:X.y0+N.tiling.pad/2);var Q=d.select(this),re=g.ensureSingle(Q,"path","surface",function(ce){ce.style("pointer-events",F?"none":"all")});b?re.transition().attrTween("d",function(ce){var ye=I(ce,s,te(),[C,_],{orientation:N.tiling.orientation,flipX:N.tiling.flip.indexOf("x")>-1,flipY:N.tiling.flip.indexOf("y")>-1});return function(de){return x(ye(de))}}):re.attr("d",x),Q.call(u,m,h,c,{styleOne:f,eventDataKeys:l.eventDataKeys,transitionTime:l.CLICK_TRANSITION_TIME,transitionEasing:l.CLICK_TRANSITION_EASING}).call(a.setSliceCursor,h,{isTransitioning:h._transitioning}),re.call(f,X,N,{hovered:!1}),X.x0===X.x1||X.y0===X.y1?X._text="":X._text=o(X,m,N,c,B)||"";var ie=g.ensureSingle(Q,"g","slicetext"),oe=g.ensureSingle(ie,"text","",function(ce){ce.attr("data-notex",1)}),ue=g.ensureUniformFontSize(h,a.determineTextFont(N,X,B.font));oe.text(X._text||" ").classed("slicetext",!0).attr("text-anchor",j?"end":W?"start":"middle").call(i.font,ue).call(M.convertToTspans,h),X.textBB=i.bBox(oe.node()),X.transform=A(X,{fontSize:ue.size}),X.transform.fontSize=ue.size,b?oe.transition().attrTween("transform",function(ce){var ye=O(ce,s,te(),[C,_]);return function(de){return L(ye(de))}}):oe.attr("transform",L(X))}),H}},69816:function(T,p,t){T.exports={moduleType:"trace",name:"icicle",basePlotModule:t(96346),categories:[],animatable:!0,attributes:t(46291),layoutAttributes:t(92894),supplyDefaults:t(56524),supplyLayoutDefaults:t(21070),calc:t(46584).y,crossTraceCalc:t(46584).T,plot:t(85596),style:t(82454).style,colorbar:t(4898),meta:{}}},92894:function(T){T.exports={iciclecolorway:{valType:"colorlist",editType:"calc"},extendiciclecolors:{valType:"boolean",dflt:!0,editType:"calc"}}},21070:function(T,p,t){var d=t(71828),g=t(92894);T.exports=function(i,M){function v(f,l){return d.coerce(i,M,g,f,l)}v("iciclecolorway",M.colorway),v("extendiciclecolors")}},21538:function(T,p,t){var d=t(674),g=t(14102);T.exports=function(i,M,v){var f=v.flipX,l=v.flipY,a=v.orientation==="h",u=v.maxDepth,o=M[0],s=M[1];u&&(o=(i.height+1)*M[0]/Math.min(i.height+1,u),s=(i.height+1)*M[1]/Math.min(i.height+1,u));var h=d.partition().padding(v.pad.inner).size(a?[M[1],o]:[M[0],s])(i);return(a||f||l)&&g(h,M,{swapXY:a,flipX:f,flipY:l}),h}},85596:function(T,p,t){var d=t(80694),g=t(90666);T.exports=function(i,M,v,f){return d(i,M,v,f,{type:"icicle",drawDescendants:g})}},82454:function(T,p,t){var d=t(39898),g=t(7901),i=t(71828),M=t(72597).resizeText;function v(f,l,a){var u=l.data.data,o=!l.children,s=u.i,h=i.castOption(a,s,"marker.line.color")||g.defaultLine,c=i.castOption(a,s,"marker.line.width")||0;f.style("stroke-width",c).call(g.fill,u.color).call(g.stroke,h).style("opacity",o?a.leaf.opacity:null)}T.exports={style:function(f){var l=f._fullLayout._iciclelayer.selectAll(".trace");M(f,l,"icicle"),l.each(function(a){var u=d.select(this),o=a[0].trace;u.style("opacity",o.opacity),u.selectAll("path.surface").each(function(s){d.select(this).call(v,s,o)})})},styleOne:v}},17230:function(T,p,t){for(var d=t(9012),g=t(5386).fF,i=t(1426).extendFlat,M=t(51877).colormodel,v=["rgb","rgba","rgba256","hsl","hsla"],f=[],l=[],a=0;a0||d.inbox(f-l.y0,f-(l.y0+l.h*a.dy),0)>0)){var s,h=Math.floor((v-l.x0)/a.dx),c=Math.floor(Math.abs(f-l.y0)/a.dy);if(a._hasZ?s=l.z[c][h]:a._hasSource&&(s=a._canvas.el.getContext("2d",{willReadFrequently:!0}).getImageData(h,c,1,1).data),s){var m,w=l.hi||a.hoverinfo;if(w){var y=w.split("+");y.indexOf("all")!==-1&&(y=["color"]),y.indexOf("color")!==-1&&(m=!0)}var C,_=i.colormodel[a.colormodel],k=_.colormodel||a.colormodel,E=k.length,x=a._scaler(s),A=_.suffix,L=[];(a.hovertemplate||m)&&(L.push("["+[x[0]+A[0],x[1]+A[1],x[2]+A[2]].join(", ")),E===4&&L.push(", "+x[3]+A[3]),L.push("]"),L=L.join(""),M.extraText=k.toUpperCase()+": "+L),Array.isArray(a.hovertext)&&Array.isArray(a.hovertext[c])?C=a.hovertext[c][h]:Array.isArray(a.text)&&Array.isArray(a.text[c])&&(C=a.text[c][h]);var b=o.c2p(l.y0+(c+.5)*a.dy),R=l.x0+(h+.5)*a.dx,I=l.y0+(c+.5)*a.dy,O="["+s.slice(0,a.colormodel.length).join(", ")+"]";return[g.extendFlat(M,{index:[c,h],x0:u.c2p(l.x0+h*a.dx),x1:u.c2p(l.x0+(h+1)*a.dx),y0:b,y1:b,color:x,xVal:R,xLabelVal:R,yVal:I,yLabelVal:I,zLabelVal:O,text:C,hovertemplateLabels:{zLabel:O,colorLabel:L,"color[0]Label":x[0]+A[0],"color[1]Label":x[1]+A[1],"color[2]Label":x[2]+A[2],"color[3]Label":x[3]+A[3]}})]}}}},94507:function(T,p,t){T.exports={attributes:t(17230),supplyDefaults:t(13245),calc:t(71113),plot:t(60775),style:t(12826),hoverPoints:t(28749),eventData:t(30835),moduleType:"trace",name:"image",basePlotModule:t(93612),categories:["cartesian","svg","2dMap","noSortingByValue"],animatable:!1,meta:{}}},60775:function(T,p,t){var d=t(39898),g=t(71828),i=g.strTranslate,M=t(77922),v=t(51877),f=g.isIOS()||g.isSafari()||g.isIE();T.exports=function(l,a,u,o){var s=a.xaxis,h=a.yaxis,c=!(f||l._context._exportedPlot);g.makeTraceGroups(o,u,"im").each(function(m){var w=d.select(this),y=m[0],C=y.trace,_=(C.zsmooth==="fast"||C.zsmooth===!1&&c)&&!C._hasZ&&C._hasSource&&s.type==="linear"&&h.type==="linear";C._realImage=_;var k,E,x,A,L,b,R=y.z,I=y.x0,O=y.y0,z=y.w,F=y.h,B=C.dx,N=C.dy;for(b=0;k===void 0&&b0;)E=s.c2p(I+b*B),b--;for(b=0;A===void 0&&b0;)L=h.c2p(O+b*N),b--;Eq[0];if(H||ne){var te=k+W/2,Z=A+j/2;U+="transform:"+i(te+"px",Z+"px")+"scale("+(H?-1:1)+","+(ne?-1:1)+")"+i(-te+"px",-Z+"px")+";"}}$.attr("style",U);var X=new Promise(function(re){if(C._hasZ)re();else if(C._hasSource)if(C._canvas&&C._canvas.el.width===z&&C._canvas.el.height===F&&C._canvas.source===C.source)re();else{var ie=document.createElement("canvas");ie.width=z,ie.height=F;var oe=ie.getContext("2d",{willReadFrequently:!0});C._image=C._image||new Image;var ue=C._image;ue.onload=function(){oe.drawImage(ue,0,0),C._canvas={el:ie,source:C.source},re()},ue.setAttribute("src",C.source)}}).then(function(){var re,ie;if(C._hasZ)ie=Q(function(ue,ce){return R[ce][ue]}),re=ie.toDataURL("image/png");else if(C._hasSource)if(_)re=C.source;else{var oe=C._canvas.el.getContext("2d",{willReadFrequently:!0}).getImageData(0,0,z,F).data;ie=Q(function(ue,ce){var ye=4*(ce*z+ue);return[oe[ye],oe[ye+1],oe[ye+2],oe[ye+3]]}),re=ie.toDataURL("image/png")}$.attr({"xlink:href":re,height:j,width:W,x:k,y:A})});l._promises.push(X)}function Q(re){var ie=document.createElement("canvas");ie.width=W,ie.height=j;var oe,ue=ie.getContext("2d",{willReadFrequently:!0}),ce=function(Ce){return g.constrain(Math.round(s.c2p(I+Ce*B)-k),0,W)},ye=function(Ce){return g.constrain(Math.round(h.c2p(O+Ce*N)-A),0,j)},de=v.colormodel[C.colormodel],me=de.colormodel||C.colormodel,pe=de.fmt;for(b=0;b0}function x(I){I.each(function(O){y.stroke(d.select(this),O.line.color)}).each(function(O){y.fill(d.select(this),O.color)}).style("stroke-width",function(O){return O.line.width})}function A(I,O,z){var F=I._fullLayout,B=M.extendFlat({type:"linear",ticks:"outside",range:z,showline:!0},O),N={type:"linear",_id:"x"+O._id},W={letter:"x",font:F.font,noHover:!0,noTickson:!0};function j($,U){return M.coerce(B,N,w,$,U)}return c(B,N,j,W,F),m(B,N,j,W),N}function L(I,O,z){return[Math.min(O/I.width,z/I.height),I,O+"x"+z]}function b(I,O,z,F){var B=document.createElementNS("http://www.w3.org/2000/svg","text"),N=d.select(B);return N.text(I).attr("x",0).attr("y",0).attr("text-anchor",z).attr("data-unformatted",I).call(s.convertToTspans,F).call(u.font,O),u.bBox(N.node())}function R(I,O,z,F,B,N){var W="_cache"+O;I[W]&&I[W].key===B||(I[W]={key:B,value:z});var j=M.aggNums(N,null,[I[W].value,F],2);return I[W].value=j,j}T.exports=function(I,O,z,F){var B,N=I._fullLayout;E(z)&&F&&(B=F()),M.makeTraceGroups(N._indicatorlayer,O,"trace").each(function(W){var j,$,U,G,q,H=W[0].trace,ne=d.select(this),te=H._hasGauge,Z=H._isAngular,X=H._isBullet,Q=H.domain,re={w:N._size.w*(Q.x[1]-Q.x[0]),h:N._size.h*(Q.y[1]-Q.y[0]),l:N._size.l+N._size.w*Q.x[0],r:N._size.r+N._size.w*(1-Q.x[1]),t:N._size.t+N._size.h*(1-Q.y[1]),b:N._size.b+N._size.h*Q.y[0]},ie=re.l+re.w/2,oe=re.t+re.h/2,ue=Math.min(re.w/2,re.h),ce=o.innerRadius*ue,ye=H.align||"center";if($=oe,te){if(Z&&(j=ie,$=oe+ue/2,U=function(Se){return function(Ce,ae){return[ae/Math.sqrt(Ce.width/2*(Ce.width/2)+Ce.height*Ce.height),Ce,ae]}(Se,.9*ce)}),X){var de=o.bulletPadding,me=1-o.bulletNumberDomainSize+de;j=re.l+(me+(1-me)*_[ye])*re.w,U=function(Se){return L(Se,(o.bulletNumberDomainSize-de)*re.w,re.h)}}}else j=re.l+_[ye]*re.w,U=function(Se){return L(Se,re.w,re.h)};(function(Se,Ce,ae,fe){var be,ke,Le,Be=ae[0].trace,ze=fe.numbersX,je=fe.numbersY,ge=Be.align||"center",we=C[ge],Ee=fe.transitionOpts,Ve=fe.onComplete,$e=M.ensureSingle(Ce,"g","numbers"),Ye=[];Be._hasNumber&&Ye.push("number"),Be._hasDelta&&(Ye.push("delta"),Be.delta.position==="left"&&Ye.reverse());var st=$e.selectAll("text").data(Ye);function ot(Bt,qt,Vt,Ke){if(!Bt.match("s")||Vt>=0==Ke>=0||qt(Vt).slice(-1).match(k)||qt(Ke).slice(-1).match(k))return qt;var Je=Bt.slice().replace("s","f").replace(/\d+/,function(nt){return parseInt(nt)-1}),qe=A(Se,{tickformat:Je});return function(nt){return Math.abs(nt)<1?h.tickText(qe,nt).text:qt(nt)}}st.enter().append("text"),st.attr("text-anchor",function(){return we}).attr("class",function(Bt){return Bt}).attr("x",null).attr("y",null).attr("dx",null).attr("dy",null),st.exit().remove();var ht,bt=Be.mode+Be.align;if(Be._hasDelta&&(ht=function(){var Bt=A(Se,{tickformat:Be.delta.valueformat},Be._range);Bt.setScale(),h.prepTicks(Bt);var qt=function(Ne){return h.tickText(Bt,Ne).text},Vt=Be.delta.suffix,Ke=Be.delta.prefix,Je=function(Ne){return Be.delta.relative?Ne.relativeDelta:Ne.delta},qe=function(Ne,Qe){return Ne===0||typeof Ne!="number"||isNaN(Ne)?"-":(Ne>0?Be.delta.increasing.symbol:Be.delta.decreasing.symbol)+Ke+Qe(Ne)+Vt},nt=function(Ne){return Ne.delta>=0?Be.delta.increasing.color:Be.delta.decreasing.color};Be._deltaLastValue===void 0&&(Be._deltaLastValue=Je(ae[0]));var ft=$e.select("text.delta");function Re(){ft.text(qe(Je(ae[0]),qt)).call(y.fill,nt(ae[0])).call(s.convertToTspans,Se)}return ft.call(u.font,Be.delta.font).call(y.fill,nt({delta:Be._deltaLastValue})),E(Ee)?ft.transition().duration(Ee.duration).ease(Ee.easing).tween("text",function(){var Ne=d.select(this),Qe=Je(ae[0]),ut=Be._deltaLastValue,dt=ot(Be.delta.valueformat,qt,ut,Qe),_t=i(ut,Qe);return Be._deltaLastValue=Qe,function(It){Ne.text(qe(_t(It),dt)),Ne.call(y.fill,nt({delta:_t(It)}))}}).each("end",function(){Re(),Ve&&Ve()}).each("interrupt",function(){Re(),Ve&&Ve()}):Re(),ke=b(qe(Je(ae[0]),qt),Be.delta.font,we,Se),ft}(),bt+=Be.delta.position+Be.delta.font.size+Be.delta.font.family+Be.delta.valueformat,bt+=Be.delta.increasing.symbol+Be.delta.decreasing.symbol,Le=ke),Be._hasNumber&&(function(){var Bt=A(Se,{tickformat:Be.number.valueformat},Be._range);Bt.setScale(),h.prepTicks(Bt);var qt=function(nt){return h.tickText(Bt,nt).text},Vt=Be.number.suffix,Ke=Be.number.prefix,Je=$e.select("text.number");function qe(){var nt=typeof ae[0].y=="number"?Ke+qt(ae[0].y)+Vt:"-";Je.text(nt).call(u.font,Be.number.font).call(s.convertToTspans,Se)}E(Ee)?Je.transition().duration(Ee.duration).ease(Ee.easing).each("end",function(){qe(),Ve&&Ve()}).each("interrupt",function(){qe(),Ve&&Ve()}).attrTween("text",function(){var nt=d.select(this),ft=i(ae[0].lastY,ae[0].y);Be._lastValue=ae[0].y;var Re=ot(Be.number.valueformat,qt,ae[0].lastY,ae[0].y);return function(Ne){nt.text(Ke+Re(ft(Ne))+Vt)}}):qe(),be=b(Ke+qt(ae[0].y)+Vt,Be.number.font,we,Se)}(),bt+=Be.number.font.size+Be.number.font.family+Be.number.valueformat+Be.number.suffix+Be.number.prefix,Le=be),Be._hasDelta&&Be._hasNumber){var Et,kt,xt=[(be.left+be.right)/2,(be.top+be.bottom)/2],Ft=[(ke.left+ke.right)/2,(ke.top+ke.bottom)/2],Ot=.75*Be.delta.font.size;Be.delta.position==="left"&&(Et=R(Be,"deltaPos",0,-1*(be.width*_[Be.align]+ke.width*(1-_[Be.align])+Ot),bt,Math.min),kt=xt[1]-Ft[1],Le={width:be.width+ke.width+Ot,height:Math.max(be.height,ke.height),left:ke.left+Et,right:be.right,top:Math.min(be.top,ke.top+kt),bottom:Math.max(be.bottom,ke.bottom+kt)}),Be.delta.position==="right"&&(Et=R(Be,"deltaPos",0,be.width*(1-_[Be.align])+ke.width*_[Be.align]+Ot,bt,Math.max),kt=xt[1]-Ft[1],Le={width:be.width+ke.width+Ot,height:Math.max(be.height,ke.height),left:be.left,right:ke.right+Et,top:Math.min(be.top,ke.top+kt),bottom:Math.max(be.bottom,ke.bottom+kt)}),Be.delta.position==="bottom"&&(Et=null,kt=ke.height,Le={width:Math.max(be.width,ke.width),height:be.height+ke.height,left:Math.min(be.left,ke.left),right:Math.max(be.right,ke.right),top:be.bottom-be.height,bottom:be.bottom+ke.height}),Be.delta.position==="top"&&(Et=null,kt=be.top,Le={width:Math.max(be.width,ke.width),height:be.height+ke.height,left:Math.min(be.left,ke.left),right:Math.max(be.right,ke.right),top:be.bottom-be.height-ke.height,bottom:be.bottom}),ht.attr({dx:Et,dy:kt})}(Be._hasNumber||Be._hasDelta)&&$e.attr("transform",function(){var Bt=fe.numbersScaler(Le);bt+=Bt[2];var qt,Vt=R(Be,"numbersScale",1,Bt[0],bt,Math.min);Be._scaleNumbers||(Vt=1),qt=Be._isAngular?je-Vt*Le.bottom:je-Vt*(Le.top+Le.bottom)/2,Be._numbersTop=Vt*Le.top+qt;var Ke=Le[ge];ge==="center"&&(Ke=(Le.left+Le.right)/2);var Je=ze-Vt*Ke;return Je=R(Be,"numbersTranslate",0,Je,bt,Math.max),f(Je,qt)+v(Vt)})})(I,ne,W,{numbersX:j,numbersY:$,numbersScaler:U,transitionOpts:z,onComplete:B}),te&&(G={range:H.gauge.axis.range,color:H.gauge.bgcolor,line:{color:H.gauge.bordercolor,width:0},thickness:1},q={range:H.gauge.axis.range,color:"rgba(0, 0, 0, 0)",line:{color:H.gauge.bordercolor,width:H.gauge.borderwidth},thickness:1});var pe=ne.selectAll("g.angular").data(Z?W:[]);pe.exit().remove();var xe=ne.selectAll("g.angularaxis").data(Z?W:[]);xe.exit().remove(),Z&&function(Se,Ce,ae,fe){var be,ke,Le,Be,ze=ae[0].trace,je=fe.size,ge=fe.radius,we=fe.innerRadius,Ee=fe.gaugeBg,Ve=fe.gaugeOutline,$e=[je.l+je.w/2,je.t+je.h/2+ge/2],Ye=fe.gauge,st=fe.layer,ot=fe.transitionOpts,ht=fe.onComplete,bt=Math.PI/2;function Et(It){var Lt=ze.gauge.axis.range[0],yt=(It-Lt)/(ze.gauge.axis.range[1]-Lt)*Math.PI-bt;return yt<-bt?-bt:yt>bt?bt:yt}function kt(It){return d.svg.arc().innerRadius((we+ge)/2-It/2*(ge-we)).outerRadius((we+ge)/2+It/2*(ge-we)).startAngle(-bt)}function xt(It){It.attr("d",function(Lt){return kt(Lt.thickness).startAngle(Et(Lt.range[0])).endAngle(Et(Lt.range[1]))()})}Ye.enter().append("g").classed("angular",!0),Ye.attr("transform",f($e[0],$e[1])),st.enter().append("g").classed("angularaxis",!0).classed("crisp",!0),st.selectAll("g.xangularaxistick,path,text").remove(),(be=A(Se,ze.gauge.axis)).type="linear",be.range=ze.gauge.axis.range,be._id="xangularaxis",be.ticklabeloverflow="allow",be.setScale();var Ft=function(It){return(be.range[0]-It.x)/(be.range[1]-be.range[0])*Math.PI+Math.PI},Ot={},Bt=h.makeLabelFns(be,0).labelStandoff;Ot.xFn=function(It){var Lt=Ft(It);return Math.cos(Lt)*Bt},Ot.yFn=function(It){var Lt=Ft(It),yt=Math.sin(Lt)>0?.2:1;return-Math.sin(Lt)*(Bt+It.fontSize*yt)+Math.abs(Math.cos(Lt))*(It.fontSize*a)},Ot.anchorFn=function(It){var Lt=Ft(It),yt=Math.cos(Lt);return Math.abs(yt)<.1?"middle":yt>0?"start":"end"},Ot.heightFn=function(It,Lt,yt){var Pt=Ft(It);return-.5*(1+Math.sin(Pt))*yt};var qt=function(It){return f($e[0]+ge*Math.cos(It),$e[1]-ge*Math.sin(It))};if(Le=function(It){return qt(Ft(It))},ke=h.calcTicks(be),Be=h.getTickSigns(be)[2],be.visible){Be=be.ticks==="inside"?-1:1;var Vt=(be.linewidth||1)/2;h.drawTicks(Se,be,{vals:ke,layer:st,path:"M"+Be*Vt+",0h"+Be*be.ticklen,transFn:function(It){var Lt=Ft(It);return qt(Lt)+"rotate("+-l(Lt)+")"}}),h.drawLabels(Se,be,{vals:ke,layer:st,transFn:Le,labelFns:Ot})}var Ke=[Ee].concat(ze.gauge.steps),Je=Ye.selectAll("g.bg-arc").data(Ke);Je.enter().append("g").classed("bg-arc",!0).append("path"),Je.select("path").call(xt).call(x),Je.exit().remove();var qe=kt(ze.gauge.bar.thickness),nt=Ye.selectAll("g.value-arc").data([ze.gauge.bar]);nt.enter().append("g").classed("value-arc",!0).append("path");var ft,Re,Ne,Qe=nt.select("path");E(ot)?(Qe.transition().duration(ot.duration).ease(ot.easing).each("end",function(){ht&&ht()}).each("interrupt",function(){ht&&ht()}).attrTween("d",(ft=qe,Re=Et(ae[0].lastY),Ne=Et(ae[0].y),function(){var It=g(Re,Ne);return function(Lt){return ft.endAngle(It(Lt))()}})),ze._lastValue=ae[0].y):Qe.attr("d",typeof ae[0].y=="number"?qe.endAngle(Et(ae[0].y)):"M0,0Z"),Qe.call(x),nt.exit().remove(),Ke=[];var ut=ze.gauge.threshold.value;(ut||ut===0)&&Ke.push({range:[ut,ut],color:ze.gauge.threshold.color,line:{color:ze.gauge.threshold.line.color,width:ze.gauge.threshold.line.width},thickness:ze.gauge.threshold.thickness});var dt=Ye.selectAll("g.threshold-arc").data(Ke);dt.enter().append("g").classed("threshold-arc",!0).append("path"),dt.select("path").call(xt).call(x),dt.exit().remove();var _t=Ye.selectAll("g.gauge-outline").data([Ve]);_t.enter().append("g").classed("gauge-outline",!0).append("path"),_t.select("path").call(xt).call(x),_t.exit().remove()}(I,0,W,{radius:ue,innerRadius:ce,gauge:pe,layer:xe,size:re,gaugeBg:G,gaugeOutline:q,transitionOpts:z,onComplete:B});var Pe=ne.selectAll("g.bullet").data(X?W:[]);Pe.exit().remove();var _e=ne.selectAll("g.bulletaxis").data(X?W:[]);_e.exit().remove(),X&&function(Se,Ce,ae,fe){var be,ke,Le,Be,ze,je=ae[0].trace,ge=fe.gauge,we=fe.layer,Ee=fe.gaugeBg,Ve=fe.gaugeOutline,$e=fe.size,Ye=je.domain,st=fe.transitionOpts,ot=fe.onComplete;ge.enter().append("g").classed("bullet",!0),ge.attr("transform",f($e.l,$e.t)),we.enter().append("g").classed("bulletaxis",!0).classed("crisp",!0),we.selectAll("g.xbulletaxistick,path,text").remove();var ht=$e.h,bt=je.gauge.bar.thickness*ht,Et=Ye.x[0],kt=Ye.x[0]+(Ye.x[1]-Ye.x[0])*(je._hasNumber||je._hasDelta?1-o.bulletNumberDomainSize:1);function xt(Je){Je.attr("width",function(qe){return Math.max(0,be.c2p(qe.range[1])-be.c2p(qe.range[0]))}).attr("x",function(qe){return be.c2p(qe.range[0])}).attr("y",function(qe){return .5*(1-qe.thickness)*ht}).attr("height",function(qe){return qe.thickness*ht})}(be=A(Se,je.gauge.axis))._id="xbulletaxis",be.domain=[Et,kt],be.setScale(),ke=h.calcTicks(be),Le=h.makeTransTickFn(be),Be=h.getTickSigns(be)[2],ze=$e.t+$e.h,be.visible&&(h.drawTicks(Se,be,{vals:be.ticks==="inside"?h.clipEnds(be,ke):ke,layer:we,path:h.makeTickPath(be,ze,Be),transFn:Le}),h.drawLabels(Se,be,{vals:ke,layer:we,transFn:Le,labelFns:h.makeLabelFns(be,ze)}));var Ft=[Ee].concat(je.gauge.steps),Ot=ge.selectAll("g.bg-bullet").data(Ft);Ot.enter().append("g").classed("bg-bullet",!0).append("rect"),Ot.select("rect").call(xt).call(x),Ot.exit().remove();var Bt=ge.selectAll("g.value-bullet").data([je.gauge.bar]);Bt.enter().append("g").classed("value-bullet",!0).append("rect"),Bt.select("rect").attr("height",bt).attr("y",(ht-bt)/2).call(x),E(st)?Bt.select("rect").transition().duration(st.duration).ease(st.easing).each("end",function(){ot&&ot()}).each("interrupt",function(){ot&&ot()}).attr("width",Math.max(0,be.c2p(Math.min(je.gauge.axis.range[1],ae[0].y)))):Bt.select("rect").attr("width",typeof ae[0].y=="number"?Math.max(0,be.c2p(Math.min(je.gauge.axis.range[1],ae[0].y))):0),Bt.exit().remove();var qt=ae.filter(function(){return je.gauge.threshold.value||je.gauge.threshold.value===0}),Vt=ge.selectAll("g.threshold-bullet").data(qt);Vt.enter().append("g").classed("threshold-bullet",!0).append("line"),Vt.select("line").attr("x1",be.c2p(je.gauge.threshold.value)).attr("x2",be.c2p(je.gauge.threshold.value)).attr("y1",(1-je.gauge.threshold.thickness)/2*ht).attr("y2",(1-(1-je.gauge.threshold.thickness)/2)*ht).call(y.stroke,je.gauge.threshold.line.color).style("stroke-width",je.gauge.threshold.line.width),Vt.exit().remove();var Ke=ge.selectAll("g.gauge-outline").data([Ve]);Ke.enter().append("g").classed("gauge-outline",!0).append("rect"),Ke.select("rect").call(xt).call(x),Ke.exit().remove()}(I,0,W,{gauge:Pe,layer:_e,size:re,gaugeBg:G,gaugeOutline:q,transitionOpts:z,onComplete:B});var Me=ne.selectAll("text.title").data(W);Me.exit().remove(),Me.enter().append("text").classed("title",!0),Me.attr("text-anchor",function(){return X?C.right:C[H.title.align]}).text(H.title.text).call(u.font,H.title.font).call(s.convertToTspans,I),Me.attr("transform",function(){var Se,Ce=re.l+re.w*_[H.title.align],ae=o.titlePadding,fe=u.bBox(Me.node());return te?(Z&&(Se=H.gauge.axis.visible?u.bBox(xe.node()).top-ae-fe.bottom:re.t+re.h/2-ue/2-fe.bottom-ae),X&&(Se=$-(fe.top+fe.bottom)/2,Ce=re.l-o.bulletPadding*re.w)):Se=H._numbersTop-ae-fe.bottom,f(Ce,Se)})})}},16249:function(T,p,t){var d=t(50693),g=t(12663).axisHoverFormat,i=t(5386).fF,M=t(2418),v=t(9012),f=t(1426).extendFlat,l=t(30962).overrideAll,a=T.exports=l(f({x:{valType:"data_array"},y:{valType:"data_array"},z:{valType:"data_array"},value:{valType:"data_array"},isomin:{valType:"number"},isomax:{valType:"number"},surface:{show:{valType:"boolean",dflt:!0},count:{valType:"integer",dflt:2,min:1},fill:{valType:"number",min:0,max:1,dflt:1},pattern:{valType:"flaglist",flags:["A","B","C","D","E"],extras:["all","odd","even"],dflt:"all"}},spaceframe:{show:{valType:"boolean",dflt:!1},fill:{valType:"number",min:0,max:1,dflt:.15}},slices:{x:{show:{valType:"boolean",dflt:!1},locations:{valType:"data_array",dflt:[]},fill:{valType:"number",min:0,max:1,dflt:1}},y:{show:{valType:"boolean",dflt:!1},locations:{valType:"data_array",dflt:[]},fill:{valType:"number",min:0,max:1,dflt:1}},z:{show:{valType:"boolean",dflt:!1},locations:{valType:"data_array",dflt:[]},fill:{valType:"number",min:0,max:1,dflt:1}}},caps:{x:{show:{valType:"boolean",dflt:!0},fill:{valType:"number",min:0,max:1,dflt:1}},y:{show:{valType:"boolean",dflt:!0},fill:{valType:"number",min:0,max:1,dflt:1}},z:{show:{valType:"boolean",dflt:!0},fill:{valType:"number",min:0,max:1,dflt:1}}},text:{valType:"string",dflt:"",arrayOk:!0},hovertext:{valType:"string",dflt:"",arrayOk:!0},hovertemplate:i(),xhoverformat:g("x"),yhoverformat:g("y"),zhoverformat:g("z"),valuehoverformat:g("value",1),showlegend:f({},v.showlegend,{dflt:!1})},d("",{colorAttr:"`value`",showScaleDflt:!0,editTypeOverride:"calc"}),{opacity:M.opacity,lightposition:M.lightposition,lighting:M.lighting,flatshading:M.flatshading,contour:M.contour,hoverinfo:f({},v.hoverinfo)}),"calc","nested");a.flatshading.dflt=!0,a.lighting.facenormalsepsilon.dflt=0,a.x.editType=a.y.editType=a.z.editType=a.value.editType="calc+clearAxisTypes",a.transforms=void 0},56959:function(T,p,t){var d=t(78803),g=t(88489).processGrid,i=t(88489).filter;T.exports=function(M,v){v._len=Math.min(v.x.length,v.y.length,v.z.length,v.value.length),v._x=i(v.x,v._len),v._y=i(v.y,v._len),v._z=i(v.z,v._len),v._value=i(v.value,v._len);var f=g(v);v._gridFill=f.fill,v._Xs=f.Xs,v._Ys=f.Ys,v._Zs=f.Zs,v._len=f.len;for(var l=1/0,a=-1/0,u=0;u0;c--){var m=Math.min(h[c],h[c-1]),w=Math.max(h[c],h[c-1]);if(w>m&&m-1}function ie(je,ge){return je===null?ge:je}function oe(je,ge,we){ne();var Ee,Ve,$e,Ye=[ge],st=[we];if(_>=1)Ye=[ge],st=[we];else if(_>0){var ot=function(qt,Vt){var Ke=qt[0],Je=qt[1],qe=qt[2],nt=function(It,Lt,yt){for(var Pt=[],wt=0;wt-1?we[Et]:H(kt,xt,Ft);bt[Et]=Bt>-1?Bt:Z(kt,xt,Ft,ie(je,Ot))}Ee=bt[0],Ve=bt[1],$e=bt[2],s._meshI.push(Ee),s._meshJ.push(Ve),s._meshK.push($e),++R}}function ue(je,ge,we,Ee){var Ve=je[3];VeEe&&(Ve=Ee);for(var $e=(je[3]-Ve)/(je[3]-ge[3]+1e-9),Ye=[],st=0;st<4;st++)Ye[st]=(1-$e)*je[st]+$e*ge[st];return Ye}function ce(je,ge,we){return je>=ge&&je<=we}function ye(je){var ge=.001*(q-G);return je>=G-ge&&je<=q+ge}function de(je){for(var ge=[],we=0;we<4;we++){var Ee=je[we];ge.push([s._x[Ee],s._y[Ee],s._z[Ee],s._value[Ee]])}return ge}function me(je,ge,we,Ee,Ve,$e){$e||($e=1),we=[-1,-1,-1];var Ye=!1,st=[ce(ge[0][3],Ee,Ve),ce(ge[1][3],Ee,Ve),ce(ge[2][3],Ee,Ve)];if(!st[0]&&!st[1]&&!st[2])return!1;var ot=function(bt,Et,kt){return ye(Et[0][3])&&ye(Et[1][3])&&ye(Et[2][3])?(oe(bt,Et,kt),!0):$e<3&&me(bt,Et,kt,G,q,++$e)};if(st[0]&&st[1]&&st[2])return ot(je,ge,we)||Ye;var ht=!1;return[[0,1,2],[2,0,1],[1,2,0]].forEach(function(bt){if(st[bt[0]]&&st[bt[1]]&&!st[bt[2]]){var Et=ge[bt[0]],kt=ge[bt[1]],xt=ge[bt[2]],Ft=ue(xt,Et,Ee,Ve),Ot=ue(xt,kt,Ee,Ve);Ye=ot(je,[Ot,Ft,Et],[-1,-1,we[bt[0]]])||Ye,Ye=ot(je,[Et,kt,Ot],[we[bt[0]],we[bt[1]],-1])||Ye,ht=!0}}),ht||[[0,1,2],[1,2,0],[2,0,1]].forEach(function(bt){if(st[bt[0]]&&!st[bt[1]]&&!st[bt[2]]){var Et=ge[bt[0]],kt=ge[bt[1]],xt=ge[bt[2]],Ft=ue(kt,Et,Ee,Ve),Ot=ue(xt,Et,Ee,Ve);Ye=ot(je,[Ot,Ft,Et],[-1,-1,we[bt[0]]])||Ye,ht=!0}}),Ye}function pe(je,ge,we,Ee){var Ve=!1,$e=de(ge),Ye=[ce($e[0][3],we,Ee),ce($e[1][3],we,Ee),ce($e[2][3],we,Ee),ce($e[3][3],we,Ee)];if(!(Ye[0]||Ye[1]||Ye[2]||Ye[3]))return Ve;if(Ye[0]&&Ye[1]&&Ye[2]&&Ye[3])return b&&(Ve=function(ot,ht,bt){var Et=function(kt,xt,Ft){oe(ot,[ht[kt],ht[xt],ht[Ft]],[bt[kt],bt[xt],bt[Ft]])};Et(0,1,2),Et(3,0,1),Et(2,3,0),Et(1,2,3)}(je,$e,ge)||Ve),Ve;var st=!1;return[[0,1,2,3],[3,0,1,2],[2,3,0,1],[1,2,3,0]].forEach(function(ot){if(Ye[ot[0]]&&Ye[ot[1]]&&Ye[ot[2]]&&!Ye[ot[3]]){var ht=$e[ot[0]],bt=$e[ot[1]],Et=$e[ot[2]],kt=$e[ot[3]];if(b)Ve=oe(je,[ht,bt,Et],[ge[ot[0]],ge[ot[1]],ge[ot[2]]])||Ve;else{var xt=ue(kt,ht,we,Ee),Ft=ue(kt,bt,we,Ee),Ot=ue(kt,Et,we,Ee);Ve=oe(null,[xt,Ft,Ot],[-1,-1,-1])||Ve}st=!0}}),st||([[0,1,2,3],[1,2,3,0],[2,3,0,1],[3,0,1,2],[0,2,3,1],[1,3,2,0]].forEach(function(ot){if(Ye[ot[0]]&&Ye[ot[1]]&&!Ye[ot[2]]&&!Ye[ot[3]]){var ht=$e[ot[0]],bt=$e[ot[1]],Et=$e[ot[2]],kt=$e[ot[3]],xt=ue(Et,ht,we,Ee),Ft=ue(Et,bt,we,Ee),Ot=ue(kt,bt,we,Ee),Bt=ue(kt,ht,we,Ee);b?(Ve=oe(je,[ht,Bt,xt],[ge[ot[0]],-1,-1])||Ve,Ve=oe(je,[bt,Ft,Ot],[ge[ot[1]],-1,-1])||Ve):Ve=function(qt,Vt,Ke){var Je=function(qe,nt,ft){oe(null,[Vt[qe],Vt[nt],Vt[ft]],[Ke[qe],Ke[nt],Ke[ft]])};Je(0,1,2),Je(2,3,0)}(0,[xt,Ft,Ot,Bt],[-1,-1,-1,-1])||Ve,st=!0}}),st||[[0,1,2,3],[1,2,3,0],[2,3,0,1],[3,0,1,2]].forEach(function(ot){if(Ye[ot[0]]&&!Ye[ot[1]]&&!Ye[ot[2]]&&!Ye[ot[3]]){var ht=$e[ot[0]],bt=$e[ot[1]],Et=$e[ot[2]],kt=$e[ot[3]],xt=ue(bt,ht,we,Ee),Ft=ue(Et,ht,we,Ee),Ot=ue(kt,ht,we,Ee);b?(Ve=oe(je,[ht,xt,Ft],[ge[ot[0]],-1,-1])||Ve,Ve=oe(je,[ht,Ft,Ot],[ge[ot[0]],-1,-1])||Ve,Ve=oe(je,[ht,Ot,xt],[ge[ot[0]],-1,-1])||Ve):Ve=oe(null,[xt,Ft,Ot],[-1,-1,-1])||Ve,st=!0}})),Ve}function xe(je,ge,we,Ee,Ve,$e,Ye,st,ot,ht,bt){var Et=!1;return L&&(re(je,"A")&&(Et=pe(null,[ge,we,Ee,$e],ht,bt)||Et),re(je,"B")&&(Et=pe(null,[we,Ee,Ve,ot],ht,bt)||Et),re(je,"C")&&(Et=pe(null,[we,$e,Ye,ot],ht,bt)||Et),re(je,"D")&&(Et=pe(null,[Ee,$e,st,ot],ht,bt)||Et),re(je,"E")&&(Et=pe(null,[we,Ee,$e,ot],ht,bt)||Et)),b&&(Et=pe(je,[we,Ee,$e,ot],ht,bt)||Et),Et}function Pe(je,ge,we,Ee,Ve,$e,Ye,st){return[st[0]===!0||me(je,de([ge,we,Ee]),[ge,we,Ee],$e,Ye),st[1]===!0||me(je,de([Ee,Ve,ge]),[Ee,Ve,ge],$e,Ye)]}function _e(je,ge,we,Ee,Ve,$e,Ye,st,ot){return st?Pe(je,ge,we,Ve,Ee,$e,Ye,ot):Pe(je,we,Ve,Ee,ge,$e,Ye,ot)}function Me(je,ge,we,Ee,Ve,$e,Ye){var st,ot,ht,bt,Et=!1,kt=function(){Et=me(je,[st,ot,ht],[-1,-1,-1],Ve,$e)||Et,Et=me(je,[ht,bt,st],[-1,-1,-1],Ve,$e)||Et},xt=Ye[0],Ft=Ye[1],Ot=Ye[2];return xt&&(st=X(de([j(ge,we-0,Ee-0)])[0],de([j(ge-1,we-0,Ee-0)])[0],xt),ot=X(de([j(ge,we-0,Ee-1)])[0],de([j(ge-1,we-0,Ee-1)])[0],xt),ht=X(de([j(ge,we-1,Ee-1)])[0],de([j(ge-1,we-1,Ee-1)])[0],xt),bt=X(de([j(ge,we-1,Ee-0)])[0],de([j(ge-1,we-1,Ee-0)])[0],xt),kt()),Ft&&(st=X(de([j(ge-0,we,Ee-0)])[0],de([j(ge-0,we-1,Ee-0)])[0],Ft),ot=X(de([j(ge-0,we,Ee-1)])[0],de([j(ge-0,we-1,Ee-1)])[0],Ft),ht=X(de([j(ge-1,we,Ee-1)])[0],de([j(ge-1,we-1,Ee-1)])[0],Ft),bt=X(de([j(ge-1,we,Ee-0)])[0],de([j(ge-1,we-1,Ee-0)])[0],Ft),kt()),Ot&&(st=X(de([j(ge-0,we-0,Ee)])[0],de([j(ge-0,we-0,Ee-1)])[0],Ot),ot=X(de([j(ge-0,we-1,Ee)])[0],de([j(ge-0,we-1,Ee-1)])[0],Ot),ht=X(de([j(ge-1,we-1,Ee)])[0],de([j(ge-1,we-1,Ee-1)])[0],Ot),bt=X(de([j(ge-1,we-0,Ee)])[0],de([j(ge-1,we-0,Ee-1)])[0],Ot),kt()),Et}function Se(je,ge,we,Ee,Ve,$e,Ye,st,ot,ht,bt,Et){var kt=je;return Et?(L&&je==="even"&&(kt=null),xe(kt,ge,we,Ee,Ve,$e,Ye,st,ot,ht,bt)):(L&&je==="odd"&&(kt=null),xe(kt,ot,st,Ye,$e,Ve,Ee,we,ge,ht,bt))}function Ce(je,ge,we,Ee,Ve){for(var $e=[],Ye=0,st=0;stMath.abs($e-U)?[$,$e]:[$e,U];L=!0,be(ge,Ye[0],Ye[1]),L=!1}}var st=[[Math.min(G,U),Math.max(G,U)],[Math.min($,q),Math.max($,q)]];["x","y","z"].forEach(function(ot){for(var ht=[],bt=0;bt0&&(Bt.push(Ke.id),ot==="x"?qt.push([Ke.distRatio,0,0]):ot==="y"?qt.push([0,Ke.distRatio,0]):qt.push([0,0,Ke.distRatio]))}else Ot=ze(1,ot==="x"?F-1:ot==="y"?B-1:N-1);Bt.length>0&&(ht[Et]=ot==="x"?ke(je,Bt,kt,xt,qt,ht[Et]):ot==="y"?Le(je,Bt,kt,xt,qt,ht[Et]):Be(je,Bt,kt,xt,qt,ht[Et]),Et++),Ot.length>0&&(ht[Et]=ot==="x"?Ce(je,Ot,kt,xt,ht[Et]):ot==="y"?ae(je,Ot,kt,xt,ht[Et]):fe(je,Ot,kt,xt,ht[Et]),Et++)}var Je=s.caps[ot];Je.show&&Je.fill&&(Q(Je.fill),ht[Et]=ot==="x"?Ce(je,[0,F-1],kt,xt,ht[Et]):ot==="y"?ae(je,[0,B-1],kt,xt,ht[Et]):fe(je,[0,N-1],kt,xt,ht[Et]),Et++)}}),R===0&&te(),s._meshX=m,s._meshY=w,s._meshZ=y,s._meshIntensity=C,s._Xs=I,s._Ys=O,s._Zs=z}(),s}T.exports={findNearestOnAxis:f,generateIsoMeshes:o,createIsosurfaceTrace:function(s,h){var c=s.glplot.gl,m=d({gl:c}),w=new l(s,m,h.uid);return m._trace=w,w.update(h),s.glplot.add(m),w}}},82738:function(T,p,t){var d=t(71828),g=t(73972),i=t(16249),M=t(1586);function v(f,l,a,u,o){var s=o("isomin"),h=o("isomax");h!=null&&s!=null&&s>h&&(l.isomin=null,l.isomax=null);var c=o("x"),m=o("y"),w=o("z"),y=o("value");c&&c.length&&m&&m.length&&w&&w.length&&y&&y.length?(g.getComponentMethod("calendars","handleTraceDefaults")(f,l,["x","y","z"],u),o("valuehoverformat"),["x","y","z"].forEach(function(C){o(C+"hoverformat");var _="caps."+C;o(_+".show")&&o(_+".fill");var k="slices."+C;o(k+".show")&&(o(k+".fill"),o(k+".locations"))}),o("spaceframe.show")&&o("spaceframe.fill"),o("surface.show")&&(o("surface.count"),o("surface.fill"),o("surface.pattern")),o("contour.show")&&(o("contour.color"),o("contour.width")),["text","hovertext","hovertemplate","lighting.ambient","lighting.diffuse","lighting.specular","lighting.roughness","lighting.fresnel","lighting.vertexnormalsepsilon","lighting.facenormalsepsilon","lightposition.x","lightposition.y","lightposition.z","flatshading","opacity"].forEach(function(C){o(C)}),M(f,l,u,o,{prefix:"",cLetter:"c"}),l._length=null):l.visible=!1}T.exports={supplyDefaults:function(f,l,a,u){v(f,l,0,u,function(o,s){return d.coerce(f,l,i,o,s)})},supplyIsoDefaults:v}},64943:function(T,p,t){T.exports={attributes:t(16249),supplyDefaults:t(82738).supplyDefaults,calc:t(56959),colorbar:{min:"cmin",max:"cmax"},plot:t(22674).createIsosurfaceTrace,moduleType:"trace",name:"isosurface",basePlotModule:t(58547),categories:["gl3d","showLegend"],meta:{}}},2418:function(T,p,t){var d=t(50693),g=t(12663).axisHoverFormat,i=t(5386).fF,M=t(54532),v=t(9012),f=t(1426).extendFlat;T.exports=f({x:{valType:"data_array",editType:"calc+clearAxisTypes"},y:{valType:"data_array",editType:"calc+clearAxisTypes"},z:{valType:"data_array",editType:"calc+clearAxisTypes"},i:{valType:"data_array",editType:"calc"},j:{valType:"data_array",editType:"calc"},k:{valType:"data_array",editType:"calc"},text:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertemplate:i({editType:"calc"}),xhoverformat:g("x"),yhoverformat:g("y"),zhoverformat:g("z"),delaunayaxis:{valType:"enumerated",values:["x","y","z"],dflt:"z",editType:"calc"},alphahull:{valType:"number",dflt:-1,editType:"calc"},intensity:{valType:"data_array",editType:"calc"},intensitymode:{valType:"enumerated",values:["vertex","cell"],dflt:"vertex",editType:"calc"},color:{valType:"color",editType:"calc"},vertexcolor:{valType:"data_array",editType:"calc"},facecolor:{valType:"data_array",editType:"calc"},transforms:void 0},d("",{colorAttr:"`intensity`",showScaleDflt:!0,editTypeOverride:"calc"}),{opacity:M.opacity,flatshading:{valType:"boolean",dflt:!1,editType:"calc"},contour:{show:f({},M.contours.x.show,{}),color:M.contours.x.color,width:M.contours.x.width,editType:"calc"},lightposition:{x:f({},M.lightposition.x,{dflt:1e5}),y:f({},M.lightposition.y,{dflt:1e5}),z:f({},M.lightposition.z,{dflt:0}),editType:"calc"},lighting:f({vertexnormalsepsilon:{valType:"number",min:0,max:1,dflt:1e-12,editType:"calc"},facenormalsepsilon:{valType:"number",min:0,max:1,dflt:1e-6,editType:"calc"},editType:"calc"},M.lighting),hoverinfo:f({},v.hoverinfo,{editType:"calc"}),showlegend:f({},v.showlegend,{dflt:!1})})},82932:function(T,p,t){var d=t(78803);T.exports=function(g,i){i.intensity&&d(g,i,{vals:i.intensity,containerStr:"",cLetter:"c"})}},91134:function(T,p,t){var d=t(9330).gl_mesh3d,g=t(9330).delaunay_triangulate,i=t(9330).alpha_shape,M=t(9330).convex_hull,v=t(81697).parseColorScale,f=t(78614),l=t(21081).extractOpts,a=t(90060);function u(w,y,C){this.scene=w,this.uid=C,this.mesh=y,this.name="",this.color="#fff",this.data=null,this.showContour=!1}var o=u.prototype;function s(w){for(var y=[],C=w.length,_=0;_=y-.5)return!1;return!0}o.handlePick=function(w){if(w.object===this.mesh){var y=w.index=w.data.index;w.data._cellCenter?w.traceCoordinate=w.data.dataCoordinate:w.traceCoordinate=[this.data.x[y],this.data.y[y],this.data.z[y]];var C=this.data.hovertext||this.data.text;return Array.isArray(C)&&C[y]!==void 0?w.textLabel=C[y]:C&&(w.textLabel=C),!0}},o.update=function(w){var y=this.scene,C=y.fullSceneLayout;this.data=w;var _,k=w.x.length,E=a(h(C.xaxis,w.x,y.dataScale[0],w.xcalendar),h(C.yaxis,w.y,y.dataScale[1],w.ycalendar),h(C.zaxis,w.z,y.dataScale[2],w.zcalendar));if(w.i&&w.j&&w.k){if(w.i.length!==w.j.length||w.j.length!==w.k.length||!m(w.i,k)||!m(w.j,k)||!m(w.k,k))return;_=a(c(w.i),c(w.j),c(w.k))}else _=w.alphahull===0?M(E):w.alphahull>0?i(w.alphahull,E):function(b,R){for(var I=["x","y","z"].indexOf(b),O=[],z=R.length,F=0;Fx):E=F>I,x=F;var B=c(I,O,z,F);B.pos=R,B.yc=(I+F)/2,B.i=b,B.dir=E?"increasing":"decreasing",B.x=B.pos,B.y=[z,O],A&&(B.orig_p=o[b]),_&&(B.tx=u.text[b]),k&&(B.htx=u.hovertext[b]),L.push(B)}else L.push({pos:R,empty:!0})}return u._extremes[h._id]=i.findExtremes(h,d.concat(y,w),{padded:!0}),L.length&&(L[0].t={labels:{open:g(a,"open:")+" ",high:g(a,"high:")+" ",low:g(a,"low:")+" ",close:g(a,"close:")+" "}}),L}T.exports={calc:function(a,u){var o=i.getFromId(a,u.xaxis),s=i.getFromId(a,u.yaxis),h=function(C,_,k){var E=k._minDiff;if(!E){var x,A=C._fullData,L=[];for(E=1/0,x=0;x"+_.labels[O]+d.hoverLabelText(y,z,C.yhoverformat):((I=g.extendFlat({},E)).y0=I.y1=F,I.yLabelVal=z,I.yLabel=_.labels[O]+d.hoverLabelText(y,z,C.yhoverformat),I.name="",k.push(I),b[z]=I)}return k}function o(s,h,c,m){var w=s.cd,y=s.ya,C=w[0].trace,_=w[0].t,k=a(s,h,c,m);if(!k)return[];var E=w[k.index],x=k.index=E.i,A=E.dir;function L(B){return _.labels[B]+d.hoverLabelText(y,C[B][x],C.yhoverformat)}var b=E.hi||C.hoverinfo,R=b.split("+"),I=b==="all",O=I||R.indexOf("y")!==-1,z=I||R.indexOf("text")!==-1,F=O?[L("open"),L("high"),L("low"),L("close")+" "+l[A]]:[];return z&&v(E,C,F),k.extraText=F.join("
"),k.y0=k.y1=y.c2p(E.yc,!0),[k]}T.exports={hoverPoints:function(s,h,c,m){return s.cd[0].trace.hoverlabel.split?u(s,h,c,m):o(s,h,c,m)},hoverSplit:u,hoverOnPoints:o}},54186:function(T,p,t){T.exports={moduleType:"trace",name:"ohlc",basePlotModule:t(93612),categories:["cartesian","svg","showLegend"],meta:{},attributes:t(2522),supplyDefaults:t(16169),calc:t(3485).calc,plot:t(72314),style:t(53101),hoverPoints:t(66449).hoverPoints,selectPoints:t(67324)}},14555:function(T,p,t){var d=t(73972),g=t(71828);T.exports=function(i,M,v,f){var l=v("x"),a=v("open"),u=v("high"),o=v("low"),s=v("close");if(v("hoverlabel.split"),d.getComponentMethod("calendars","handleTraceDefaults")(i,M,["x"],f),a&&u&&o&&s){var h=Math.min(a.length,u.length,o.length,s.length);return l&&(h=Math.min(h,g.minRowLength(l))),M._length=h,h}}},72314:function(T,p,t){var d=t(39898),g=t(71828);T.exports=function(i,M,v,f){var l=M.yaxis,a=M.xaxis,u=!!a.rangebreaks;g.makeTraceGroups(f,v,"trace ohlc").each(function(o){var s=d.select(this),h=o[0],c=h.t;if(h.trace.visible!==!0||c.empty)s.remove();else{var m=c.tickLen,w=s.selectAll("path").data(g.identity);w.enter().append("path"),w.exit().remove(),w.attr("d",function(y){if(y.empty)return"M0,0Z";var C=a.c2p(y.pos-m,!0),_=a.c2p(y.pos+m,!0),k=u?(C+_)/2:a.c2p(y.pos,!0);return"M"+C+","+l.c2p(y.o,!0)+"H"+k+"M"+k+","+l.c2p(y.h,!0)+"V"+l.c2p(y.l,!0)+"M"+_+","+l.c2p(y.c,!0)+"H"+k})}})}},67324:function(T){T.exports=function(p,t){var d,g=p.cd,i=p.xaxis,M=p.yaxis,v=[],f=g[0].t.bPos||0;if(t===!1)for(d=0;d=Z.length||X[Z[Q]]!==void 0)return!1;X[Z[Q]]=!0}return!0}(te))for(ne=0;ne0;y&&(m="array");var C=s("categoryorder",m);C==="array"?(s("categoryarray"),s("ticktext")):(delete u.categoryarray,delete u.ticktext),y||C!=="array"||(o.categoryorder="trace")}}T.exports=function(u,o,s,h){function c(_,k){return d.coerce(u,o,f,_,k)}var m=v(u,o,{name:"dimensions",handleItemDefaults:a}),w=function(_,k,E,x,A){A("line.shape"),A("line.hovertemplate");var L=A("line.color",x.colorway[0]);if(g(_,"line")&&d.isArrayOrTypedArray(L)){if(L.length)return A("line.colorscale"),i(_,k,x,A,{prefix:"line.",cLetter:"c"}),L.length;k.line.color=E}return 1/0}(u,o,s,h,c);M(o,h,c),Array.isArray(m)&&m.length||(o.visible=!1),l(o,m,"values",w),c("hoveron"),c("hovertemplate"),c("arrangement"),c("bundlecolors"),c("sortpaths"),c("counts");var y={family:h.font.family,size:Math.round(h.font.size),color:h.font.color};d.coerceFont(c,"labelfont",y);var C={family:h.font.family,size:Math.round(h.font.size/1.2),color:h.font.color};d.coerceFont(c,"tickfont",C)}},94873:function(T,p,t){T.exports={attributes:t(99506),supplyDefaults:t(14647),calc:t(28699),plot:t(45784),colorbar:{container:"line",min:"cmin",max:"cmax"},moduleType:"trace",name:"parcats",basePlotModule:t(27677),categories:["noOpacity"],meta:{}}},45460:function(T,p,t){var d=t(39898),g=t(81684).k4,i=t(72391),M=t(30211),v=t(71828),f=v.strTranslate,l=t(91424),a=t(84267),u=t(63893);function o(te,Z,X,Q){var re=Z._context.staticPlot,ie=te.map(U.bind(0,Z,X)),oe=Q.selectAll("g.parcatslayer").data([null]);oe.enter().append("g").attr("class","parcatslayer").style("pointer-events",re?"none":"all");var ue=oe.selectAll("g.trace.parcats").data(ie,s),ce=ue.enter().append("g").attr("class","trace parcats");ue.attr("transform",function(Se){return f(Se.x,Se.y)}),ce.append("g").attr("class","paths");var ye=ue.select("g.paths").selectAll("path.path").data(function(Se){return Se.paths},s);ye.attr("fill",function(Se){return Se.model.color});var de=ye.enter().append("path").attr("class","path").attr("stroke-opacity",0).attr("fill",function(Se){return Se.model.color}).attr("fill-opacity",0);k(de),ye.attr("d",function(Se){return Se.svgD}),de.empty()||ye.sort(c),ye.exit().remove(),ye.on("mouseover",m).on("mouseout",w).on("click",_),ce.append("g").attr("class","dimensions");var me=ue.select("g.dimensions").selectAll("g.dimension").data(function(Se){return Se.dimensions},s);me.enter().append("g").attr("class","dimension"),me.attr("transform",function(Se){return f(Se.x,0)}),me.exit().remove();var pe=me.selectAll("g.category").data(function(Se){return Se.categories},s),xe=pe.enter().append("g").attr("class","category");pe.attr("transform",function(Se){return f(0,Se.y)}),xe.append("rect").attr("class","catrect").attr("pointer-events","none"),pe.select("rect.catrect").attr("fill","none").attr("width",function(Se){return Se.width}).attr("height",function(Se){return Se.height}),x(xe);var Pe=pe.selectAll("rect.bandrect").data(function(Se){return Se.bands},s);Pe.each(function(){v.raiseToTop(this)}),Pe.attr("fill",function(Se){return Se.color});var _e=Pe.enter().append("rect").attr("class","bandrect").attr("stroke-opacity",0).attr("fill",function(Se){return Se.color}).attr("fill-opacity",0);Pe.attr("fill",function(Se){return Se.color}).attr("width",function(Se){return Se.width}).attr("height",function(Se){return Se.height}).attr("y",function(Se){return Se.y}).attr("cursor",function(Se){return Se.parcatsViewModel.arrangement==="fixed"?"default":Se.parcatsViewModel.arrangement==="perpendicular"?"ns-resize":"move"}),A(_e),Pe.exit().remove(),xe.append("text").attr("class","catlabel").attr("pointer-events","none");var Me=Z._fullLayout.paper_bgcolor;pe.select("text.catlabel").attr("text-anchor",function(Se){return h(Se)?"start":"end"}).attr("alignment-baseline","middle").style("text-shadow",u.makeTextShadow(Me)).style("fill","rgb(0, 0, 0)").attr("x",function(Se){return h(Se)?Se.width+5:-5}).attr("y",function(Se){return Se.height/2}).text(function(Se){return Se.model.categoryLabel}).each(function(Se){l.font(d.select(this),Se.parcatsViewModel.categorylabelfont),u.convertToTspans(d.select(this),Z)}),xe.append("text").attr("class","dimlabel"),pe.select("text.dimlabel").attr("text-anchor","middle").attr("alignment-baseline","baseline").attr("cursor",function(Se){return Se.parcatsViewModel.arrangement==="fixed"?"default":"ew-resize"}).attr("x",function(Se){return Se.width/2}).attr("y",-5).text(function(Se,Ce){return Ce===0?Se.parcatsViewModel.model.dimensions[Se.model.dimensionInd].dimensionLabel:null}).each(function(Se){l.font(d.select(this),Se.parcatsViewModel.labelfont)}),pe.selectAll("rect.bandrect").on("mouseover",O).on("mouseout",z),pe.exit().remove(),me.call(d.behavior.drag().origin(function(Se){return{x:Se.x,y:0}}).on("dragstart",F).on("drag",B).on("dragend",N)),ue.each(function(Se){Se.traceSelection=d.select(this),Se.pathSelection=d.select(this).selectAll("g.paths").selectAll("path.path"),Se.dimensionSelection=d.select(this).selectAll("g.dimensions").selectAll("g.dimension")}),ue.exit().remove()}function s(te){return te.key}function h(te){var Z=te.parcatsViewModel.dimensions.length,X=te.parcatsViewModel.dimensions[Z-1].model.dimensionInd;return te.model.dimensionInd===X}function c(te,Z){return te.model.rawColor>Z.model.rawColor?1:te.model.rawColor"),ke=d.mouse(ue)[0];M.loneHover({trace:ce,x:Pe-de.left+me.left,y:_e-de.top+me.top,text:be,color:te.model.color,borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontSize:10,fontColor:Me,idealAlign:ke1&&me.displayInd===de.dimensions.length-1?(Q=ce.left,re="left"):(Q=ce.left+ce.width,re="right");var Pe=ye.model.count,_e=ye.model.categoryLabel,Me=Pe/ye.parcatsViewModel.model.count,Se={countLabel:Pe,categoryLabel:_e,probabilityLabel:Me.toFixed(3)},Ce=[];ye.parcatsViewModel.hoverinfoItems.indexOf("count")!==-1&&Ce.push(["Count:",Se.countLabel].join(" ")),ye.parcatsViewModel.hoverinfoItems.indexOf("probability")!==-1&&Ce.push(["P("+Se.categoryLabel+"):",Se.probabilityLabel].join(" "));var ae=Ce.join("
");return{trace:pe,x:ie*(Q-Z.left),y:oe*(xe-Z.top),text:ae,color:"lightgray",borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontSize:12,fontColor:"black",idealAlign:re,hovertemplate:pe.hovertemplate,hovertemplateLabels:Se,eventData:[{data:pe._input,fullData:pe,count:Pe,category:_e,probability:Me}]}}function O(te){if(!te.parcatsViewModel.dragDimension&&te.parcatsViewModel.hoverinfoItems.indexOf("skip")===-1){if(d.mouse(this)[1]<-1)return;var Z,X=te.parcatsViewModel.graphDiv,Q=X._fullLayout,re=Q._paperdiv.node().getBoundingClientRect(),ie=te.parcatsViewModel.hoveron,oe=this;ie==="color"?(function(ue){var ce=d.select(ue).datum(),ye=L(ce);E(ye),ye.each(function(){v.raiseToTop(this)}),d.select(ue.parentNode).selectAll("rect.bandrect").filter(function(de){return de.color===ce.color}).each(function(){v.raiseToTop(this),d.select(this).attr("stroke","black").attr("stroke-width",1.5)})}(oe),R(oe,"plotly_hover",d.event)):(function(ue){d.select(ue.parentNode).selectAll("rect.bandrect").each(function(ce){var ye=L(ce);E(ye),ye.each(function(){v.raiseToTop(this)})}),d.select(ue.parentNode).select("rect.catrect").attr("stroke","black").attr("stroke-width",2.5)}(oe),b(oe,"plotly_hover",d.event)),te.parcatsViewModel.hoverinfoItems.indexOf("none")===-1&&(ie==="category"?Z=I(X,re,oe):ie==="color"?Z=function(ue,ce,ye){ue._fullLayout._calcInverseTransform(ue);var de,me,pe=ue._fullLayout._invScaleX,xe=ue._fullLayout._invScaleY,Pe=ye.getBoundingClientRect(),_e=d.select(ye).datum(),Me=_e.categoryViewModel,Se=Me.parcatsViewModel,Ce=Se.model.dimensions[Me.model.dimensionInd],ae=Se.trace,fe=Pe.y+Pe.height/2;Se.dimensions.length>1&&Ce.displayInd===Se.dimensions.length-1?(de=Pe.left,me="left"):(de=Pe.left+Pe.width,me="right");var be=Me.model.categoryLabel,ke=_e.parcatsViewModel.model.count,Le=0;_e.categoryViewModel.bands.forEach(function(st){st.color===_e.color&&(Le+=st.count)});var Be=Me.model.count,ze=0;Se.pathSelection.each(function(st){st.model.color===_e.color&&(ze+=st.model.count)});var je=Le/ke,ge=Le/ze,we=Le/Be,Ee={countLabel:ke,categoryLabel:be,probabilityLabel:je.toFixed(3)},Ve=[];Me.parcatsViewModel.hoverinfoItems.indexOf("count")!==-1&&Ve.push(["Count:",Ee.countLabel].join(" ")),Me.parcatsViewModel.hoverinfoItems.indexOf("probability")!==-1&&(Ve.push("P(color ∩ "+be+"): "+Ee.probabilityLabel),Ve.push("P("+be+" | color): "+ge.toFixed(3)),Ve.push("P(color | "+be+"): "+we.toFixed(3)));var $e=Ve.join("
"),Ye=a.mostReadable(_e.color,["black","white"]);return{trace:ae,x:pe*(de-ce.left),y:xe*(fe-ce.top),text:$e,color:_e.color,borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontColor:Ye,fontSize:10,idealAlign:me,hovertemplate:ae.hovertemplate,hovertemplateLabels:Ee,eventData:[{data:ae._input,fullData:ae,category:be,count:ke,probability:je,categorycount:Be,colorcount:ze,bandcolorcount:Le}]}}(X,re,oe):ie==="dimension"&&(Z=function(ue,ce,ye){var de=[];return d.select(ye.parentNode.parentNode).selectAll("g.category").select("rect.catrect").each(function(){de.push(I(ue,ce,this))}),de}(X,re,oe)),Z&&M.loneHover(Z,{container:Q._hoverlayer.node(),outerContainer:Q._paper.node(),gd:X}))}}function z(te){var Z=te.parcatsViewModel;Z.dragDimension||(k(Z.pathSelection),x(Z.dimensionSelection.selectAll("g.category")),A(Z.dimensionSelection.selectAll("g.category").selectAll("rect.bandrect")),M.loneUnhover(Z.graphDiv._fullLayout._hoverlayer.node()),Z.pathSelection.sort(c),Z.hoverinfoItems.indexOf("skip")!==-1)||(te.parcatsViewModel.hoveron==="color"?R(this,"plotly_unhover",d.event):b(this,"plotly_unhover",d.event))}function F(te){te.parcatsViewModel.arrangement!=="fixed"&&(te.dragDimensionDisplayInd=te.model.displayInd,te.initialDragDimensionDisplayInds=te.parcatsViewModel.model.dimensions.map(function(Z){return Z.displayInd}),te.dragHasMoved=!1,te.dragCategoryDisplayInd=null,d.select(this).selectAll("g.category").select("rect.catrect").each(function(Z){var X=d.mouse(this)[0],Q=d.mouse(this)[1];-2<=X&&X<=Z.width+2&&-2<=Q&&Q<=Z.height+2&&(te.dragCategoryDisplayInd=Z.model.displayInd,te.initialDragCategoryDisplayInds=te.model.categories.map(function(re){return re.displayInd}),Z.model.dragY=Z.y,v.raiseToTop(this.parentNode),d.select(this.parentNode).selectAll("rect.bandrect").each(function(re){re.yde.y+de.height/2&&(ie.model.displayInd=de.model.displayInd,de.model.displayInd=ue),te.dragCategoryDisplayInd=ie.model.displayInd}if(te.dragCategoryDisplayInd===null||te.parcatsViewModel.arrangement==="freeform"){re.model.dragX=d.event.x;var me=te.parcatsViewModel.dimensions[X],pe=te.parcatsViewModel.dimensions[Q];me!==void 0&&re.model.dragXpe.x&&(re.model.displayInd=pe.model.displayInd,pe.model.displayInd=te.dragDimensionDisplayInd),te.dragDimensionDisplayInd=re.model.displayInd}H(te.parcatsViewModel),q(te.parcatsViewModel),$(te.parcatsViewModel),j(te.parcatsViewModel)}}function N(te){if(te.parcatsViewModel.arrangement!=="fixed"&&te.dragDimensionDisplayInd!==null){d.select(this).selectAll("text").attr("font-weight","normal");var Z={},X=W(te.parcatsViewModel),Q=te.parcatsViewModel.model.dimensions.map(function(de){return de.displayInd}),re=te.initialDragDimensionDisplayInds.some(function(de,me){return de!==Q[me]});re&&Q.forEach(function(de,me){var pe=te.parcatsViewModel.model.dimensions[me].containerInd;Z["dimensions["+pe+"].displayindex"]=de});var ie=!1;if(te.dragCategoryDisplayInd!==null){var oe=te.model.categories.map(function(de){return de.displayInd});if(ie=te.initialDragCategoryDisplayInds.some(function(de,me){return de!==oe[me]})){var ue=te.model.categories.slice().sort(function(de,me){return de.displayInd-me.displayInd}),ce=ue.map(function(de){return de.categoryValue}),ye=ue.map(function(de){return de.categoryLabel});Z["dimensions["+te.model.containerInd+"].categoryarray"]=[ce],Z["dimensions["+te.model.containerInd+"].ticktext"]=[ye],Z["dimensions["+te.model.containerInd+"].categoryorder"]="array"}}te.parcatsViewModel.hoverinfoItems.indexOf("skip")===-1&&!te.dragHasMoved&&te.potentialClickBand&&(te.parcatsViewModel.hoveron==="color"?R(te.potentialClickBand,"plotly_click",d.event.sourceEvent):b(te.potentialClickBand,"plotly_click",d.event.sourceEvent)),te.model.dragX=null,te.dragCategoryDisplayInd!==null&&(te.parcatsViewModel.dimensions[te.dragDimensionDisplayInd].categories[te.dragCategoryDisplayInd].model.dragY=null,te.dragCategoryDisplayInd=null),te.dragDimensionDisplayInd=null,te.parcatsViewModel.dragDimension=null,te.dragHasMoved=null,te.potentialClickBand=null,H(te.parcatsViewModel),q(te.parcatsViewModel),d.transition().duration(300).ease("cubic-in-out").each(function(){$(te.parcatsViewModel,!0),j(te.parcatsViewModel,!0)}).each("end",function(){(re||ie)&&i.restyle(te.parcatsViewModel.graphDiv,Z,[X])})}}function W(te){for(var Z,X=te.graphDiv._fullData,Q=0;Q=0;oe--)ye+="C"+ce[oe]+","+(Z[oe+1]+Q)+" "+ue[oe]+","+(Z[oe]+Q)+" "+(te[oe]+X[oe])+","+(Z[oe]+Q),ye+="l-"+X[oe]+",0 ";return ye+"Z"}function q(te){var Z=te.dimensions,X=te.model,Q=Z.map(function(Ee){return Ee.categories.map(function(Ve){return Ve.y})}),re=te.model.dimensions.map(function(Ee){return Ee.categories.map(function(Ve){return Ve.displayInd})}),ie=te.model.dimensions.map(function(Ee){return Ee.displayInd}),oe=te.dimensions.map(function(Ee){return Ee.model.dimensionInd}),ue=Z.map(function(Ee){return Ee.x}),ce=Z.map(function(Ee){return Ee.width}),ye=[];for(var de in X.paths)X.paths.hasOwnProperty(de)&&ye.push(X.paths[de]);function me(Ee){var Ve=Ee.categoryInds.map(function($e,Ye){return re[Ye][$e]});return oe.map(function($e){return Ve[$e]})}ye.sort(function(Ee,Ve){var $e=me(Ee),Ye=me(Ve);return te.sortpaths==="backward"&&($e.reverse(),Ye.reverse()),$e.push(Ee.valueInds[0]),Ye.push(Ve.valueInds[0]),te.bundlecolors&&($e.unshift(Ee.rawColor),Ye.unshift(Ve.rawColor)),$eYe?1:0});for(var pe=new Array(ye.length),xe=Z[0].model.count,Pe=Z[0].categories.map(function(Ee){return Ee.height}).reduce(function(Ee,Ve){return Ee+Ve}),_e=0;_e0?Pe*(Se.count/xe):0;for(var Ce,ae=new Array(Q.length),fe=0;fe1?(te.width-80-16)/(Q-1):0)*re;var ie,oe,ue,ce,ye,de=[],me=te.model.maxCats,pe=Z.categories.length,xe=Z.count,Pe=te.height-8*(me-1),_e=8*(me-pe)/2,Me=Z.categories.map(function(Se){return{displayInd:Se.displayInd,categoryInd:Se.categoryInd}});for(Me.sort(function(Se,Ce){return Se.displayInd-Ce.displayInd}),ye=0;ye0?oe.count/xe*Pe:0,ue={key:oe.valueInds[0],model:oe,width:16,height:ie,y:oe.dragY!==null?oe.dragY:_e,bands:[],parcatsViewModel:te},_e=_e+ie+8,de.push(ue);return{key:Z.dimensionInd,x:Z.dragX!==null?Z.dragX:X,y:0,width:16,model:Z,categories:de,parcatsViewModel:te,dragCategoryDisplayInd:null,dragDimensionDisplayInd:null,initialDragDimensionDisplayInds:null,initialDragCategoryDisplayInds:null,dragHasMoved:null,potentialClickBand:null}}T.exports=function(te,Z,X,Q){o(X,te,Q,Z)}},45784:function(T,p,t){var d=t(45460);T.exports=function(g,i,M,v){var f=g._fullLayout,l=f._paper,a=f._size;d(g,l,i,{width:a.w,height:a.h,margin:{t:a.t,r:a.r,b:a.b,l:a.l}},M,v)}},73362:function(T,p,t){var d=t(50693),g=t(13838),i=t(41940),M=t(27670).Y,v=t(1426).extendFlat,f=t(44467).templatedArray;T.exports={domain:M({name:"parcoords",trace:!0,editType:"plot"}),labelangle:{valType:"angle",dflt:0,editType:"plot"},labelside:{valType:"enumerated",values:["top","bottom"],dflt:"top",editType:"plot"},labelfont:i({editType:"plot"}),tickfont:i({editType:"plot"}),rangefont:i({editType:"plot"}),dimensions:f("dimension",{label:{valType:"string",editType:"plot"},tickvals:v({},g.tickvals,{editType:"plot"}),ticktext:v({},g.ticktext,{editType:"plot"}),tickformat:v({},g.tickformat,{editType:"plot"}),visible:{valType:"boolean",dflt:!0,editType:"plot"},range:{valType:"info_array",items:[{valType:"number",editType:"plot"},{valType:"number",editType:"plot"}],editType:"plot"},constraintrange:{valType:"info_array",freeLength:!0,dimensions:"1-2",items:[{valType:"any",editType:"plot"},{valType:"any",editType:"plot"}],editType:"plot"},multiselect:{valType:"boolean",dflt:!0,editType:"plot"},values:{valType:"data_array",editType:"calc"},editType:"calc"}),line:v({editType:"calc"},d("line",{colorscaleDflt:"Viridis",autoColorDflt:!1,editTypeOverride:"calc"})),unselected:{line:{color:{valType:"color",dflt:"#7f7f7f",editType:"plot"},opacity:{valType:"number",min:0,max:1,dflt:"auto",editType:"plot"},editType:"plot"},editType:"plot"}}},57920:function(T,p,t){var d=t(25706),g=t(39898),i=t(28984).keyFun,M=t(28984).repeat,v=t(71828).sorterAsc,f=t(71828).strTranslate,l=d.bar.snapRatio;function a(I,O){return I*(1-l)+O*l}var u=d.bar.snapClose;function o(I,O){return I*(1-u)+O*u}function s(I,O,z,F){if(function(ne,te){for(var Z=0;Z=te[Z][0]&&ne<=te[Z][1])return!0;return!1}(z,F))return z;var B=I?-1:1,N=0,W=O.length-1;if(B<0){var j=N;N=W,W=j}for(var $=O[N],U=$,G=N;B*GO){q=z;break}}if(B=U,isNaN(B)&&(B=isNaN(G)||isNaN(q)?isNaN(G)?q:G:O-$[G][1]<$[q][0]-O?G:q),!isNaN(B)){var ne=$[B],te=function(re,ie){var oe=d.bar.handleHeight;if(!(ie>re[1]+oe||ie=.9*re[1]+.1*re[0]?"n":ie<=.9*re[0]+.1*re[1]?"s":"ns"}(ne,O);te&&(N.interval=j[B],N.intervalPix=ne,N.region=te)}}if(I.ordinal&&!N.region){var Z=I.unitTickvals,X=I.unitToPaddedPx.invert(O);for(z=0;z=Q[0]&&X<=Q[1]){N.clickableOrdinalRange=Q;break}}}return N}function E(I,O){g.event.sourceEvent.stopPropagation();var z=O.height-g.mouse(I)[1]-2*d.verticalPadding,F=O.brush.svgBrush;F.wasDragged=!0,F._dragging=!0,F.grabbingBar?F.newExtent=[z-F.grabPoint,z+F.barLength-F.grabPoint].map(O.unitToPaddedPx.invert):F.newExtent=[F.startExtent,O.unitToPaddedPx.invert(z)].sort(v),O.brush.filterSpecified=!0,F.extent=F.stayingIntervals.concat([F.newExtent]),F.brushCallback(O),_(I.parentNode)}function x(I,O){var z=k(O,O.height-g.mouse(I)[1]-2*d.verticalPadding),F="crosshair";z.clickableOrdinalRange?F="pointer":z.region&&(F=z.region+"-resize"),g.select(document.body).style("cursor",F)}function A(I){I.on("mousemove",function(O){g.event.preventDefault(),O.parent.inBrushDrag||x(this,O)}).on("mouseleave",function(O){O.parent.inBrushDrag||y()}).call(g.behavior.drag().on("dragstart",function(O){(function(z,F){g.event.sourceEvent.stopPropagation();var B=F.height-g.mouse(z)[1]-2*d.verticalPadding,N=F.unitToPaddedPx.invert(B),W=F.brush,j=k(F,B),$=j.interval,U=W.svgBrush;if(U.wasDragged=!1,U.grabbingBar=j.region==="ns",U.grabbingBar){var G=$.map(F.unitToPaddedPx);U.grabPoint=B-G[0]-d.verticalPadding,U.barLength=G[1]-G[0]}U.clickableOrdinalRange=j.clickableOrdinalRange,U.stayingIntervals=F.multiselect&&W.filterSpecified?W.filter.getConsolidated():[],$&&(U.stayingIntervals=U.stayingIntervals.filter(function(q){return q[0]!==$[0]&&q[1]!==$[1]})),U.startExtent=j.region?$[j.region==="s"?1:0]:N,F.parent.inBrushDrag=!0,U.brushStartCallback()})(this,O)}).on("drag",function(O){E(this,O)}).on("dragend",function(O){(function(z,F){var B=F.brush,N=B.filter,W=B.svgBrush;W._dragging||(x(z,F),E(z,F),F.brush.svgBrush.wasDragged=!1),W._dragging=!1,g.event.sourceEvent.stopPropagation();var j=W.grabbingBar;if(W.grabbingBar=!1,W.grabLocation=void 0,F.parent.inBrushDrag=!1,y(),!W.wasDragged)return W.wasDragged=void 0,W.clickableOrdinalRange?B.filterSpecified&&F.multiselect?W.extent.push(W.clickableOrdinalRange):(W.extent=[W.clickableOrdinalRange],B.filterSpecified=!0):j?(W.extent=W.stayingIntervals,W.extent.length===0&&b(B)):b(B),W.brushCallback(F),_(z.parentNode),void W.brushEndCallback(B.filterSpecified?N.getConsolidated():[]);var $=function(){N.set(N.getConsolidated())};if(F.ordinal){var U=F.unitTickvals;U[U.length-1]W.newExtent[0];W.extent=W.stayingIntervals.concat(G?[W.newExtent]:[]),W.extent.length||b(B),W.brushCallback(F),G?_(z.parentNode,$):($(),_(z.parentNode))}else $();W.brushEndCallback(B.filterSpecified?N.getConsolidated():[])})(this,O)}))}function L(I,O){return I[0]-O[0]}function b(I){I.filterSpecified=!1,I.svgBrush.extent=[[-1/0,1/0]]}function R(I){for(var O,z=I.slice(),F=[],B=z.shift();B;){for(O=B.slice();(B=z.shift())&&B[0]<=O[1];)O[1]=Math.max(O[1],B[1]);F.push(O)}return F.length===1&&F[0][0]>F[0][1]&&(F=[]),F}T.exports={makeBrush:function(I,O,z,F,B,N){var W,j=function(){var $,U,G=[];return{set:function(q){(G=q.map(function(H){return H.slice().sort(v)}).sort(L)).length===1&&G[0][0]===-1/0&&G[0][1]===1/0&&(G=[[0,-1]]),$=R(G),U=G.reduce(function(H,ne){return[Math.min(H[0],ne[0]),Math.max(H[1],ne[1])]},[1/0,-1/0])},get:function(){return G.slice()},getConsolidated:function(){return $},getBounds:function(){return U}}}();return j.set(z),{filter:j,filterSpecified:O,svgBrush:{extent:[],brushStartCallback:F,brushCallback:(W=B,function($){var U=$.brush,G=function(H){return H.svgBrush.extent.map(function(ne){return ne.slice()})}(U),q=G.slice();U.filter.set(q),W()}),brushEndCallback:N}}},ensureAxisBrush:function(I,O,z){var F=I.selectAll("."+d.cn.axisBrush).data(M,i);F.enter().append("g").classed(d.cn.axisBrush,!0),function(B,N,W){var j=W._context.staticPlot,$=B.selectAll(".background").data(M);$.enter().append("rect").classed("background",!0).call(h).call(c).style("pointer-events",j?"none":"auto").attr("transform",f(0,d.verticalPadding)),$.call(A).attr("height",function(q){return q.height-d.verticalPadding});var U=B.selectAll(".highlight-shadow").data(M);U.enter().append("line").classed("highlight-shadow",!0).attr("x",-d.bar.width/2).attr("stroke-width",d.bar.width+d.bar.strokeWidth).attr("stroke",N).attr("opacity",d.bar.strokeOpacity).attr("stroke-linecap","butt"),U.attr("y1",function(q){return q.height}).call(C);var G=B.selectAll(".highlight").data(M);G.enter().append("line").classed("highlight",!0).attr("x",-d.bar.width/2).attr("stroke-width",d.bar.width-d.bar.strokeWidth).attr("stroke",d.bar.fillColor).attr("opacity",d.bar.fillOpacity).attr("stroke-linecap","butt"),G.attr("y1",function(q){return q.height}).call(C)}(F,O,z)},cleanRanges:function(I,O){if(Array.isArray(I[0])?(I=I.map(function(F){return F.sort(v)}),I=O.multiselect?R(I.sort(L)):[I[0]]):I=[I.sort(v)],O.tickvals){var z=O.tickvals.slice().sort(v);if(!(I=I.map(function(F){var B=[s(0,z,F[0],[]),s(1,z,F[1],[])];if(B[1]>B[0])return B}).filter(function(F){return F})).length)return}return I.length>1?I:I[0]}}},71791:function(T,p,t){T.exports={attributes:t(73362),supplyDefaults:t(3633),calc:t(24639),colorbar:{container:"line",min:"cmin",max:"cmax"},moduleType:"trace",name:"parcoords",basePlotModule:t(49351),categories:["gl","regl","noOpacity","noHover"],meta:{}}},49351:function(T,p,t){var d=t(39898),g=t(27659).a0,i=t(21341),M=t(77922);p.name="parcoords",p.plot=function(v){var f=g(v.calcdata,"parcoords")[0];f.length&&i(v,f)},p.clean=function(v,f,l,a){var u=a._has&&a._has("parcoords"),o=f._has&&f._has("parcoords");u&&!o&&(a._paperdiv.selectAll(".parcoords").remove(),a._glimages.selectAll("*").remove())},p.toSVG=function(v){var f=v._fullLayout._glimages,l=d.select(v).selectAll(".svg-container");l.filter(function(a,u){return u===l.size()-1}).selectAll(".gl-canvas-context, .gl-canvas-focus").each(function(){var a=this,u=a.toDataURL("image/png");f.append("svg:image").attr({xmlns:M.svg,"xlink:href":u,preserveAspectRatio:"none",x:0,y:0,width:a.style.width,height:a.style.height})}),window.setTimeout(function(){d.selectAll("#filterBarPattern").attr("id","filterBarPattern")},60)}},24639:function(T,p,t){var d=t(71828).isArrayOrTypedArray,g=t(21081),i=t(28984).wrap;T.exports=function(M,v){var f,l;return g.hasColorscale(v,"line")&&d(v.line.color)?(f=v.line.color,l=g.extractOpts(v.line).colorscale,g.calc(M,v,{vals:f,containerStr:"line",cLetter:"c"})):(f=function(a){for(var u=new Array(a),o=0;ou&&(d.log("parcoords traces support up to "+u+" dimensions at the moment"),C.splice(u));var _=v(h,c,{name:"dimensions",layout:w,handleItemDefaults:s}),k=function(x,A,L,b,R){var I=R("line.color",L);if(g(x,"line")&&d.isArrayOrTypedArray(I)){if(I.length)return R("line.colorscale"),i(x,A,b,R,{prefix:"line.",cLetter:"c"}),I.length;A.line.color=L}return 1/0}(h,c,m,w,y);M(c,w,y),Array.isArray(_)&&_.length||(c.visible=!1),o(c,_,"values",k);var E={family:w.font.family,size:Math.round(w.font.size/1.2),color:w.font.color};d.coerceFont(y,"labelfont",E),d.coerceFont(y,"tickfont",E),d.coerceFont(y,"rangefont",E),y("labelangle"),y("labelside"),y("unselected.line.color"),y("unselected.line.opacity")}},1602:function(T,p,t){var d=t(71828).isTypedArray;p.convertTypedArray=function(g){return d(g)?Array.prototype.slice.call(g):g},p.isOrdinal=function(g){return!!g.tickvals},p.isVisible=function(g){return g.visible||!("visible"in g)}},67618:function(T,p,t){var d=t(71791);d.plot=t(21341),T.exports=d},83398:function(T,p,t){var d=t(56068),g=d([`precision highp float; -======== - `)};function nR(n){var e=!1;try{e=n instanceof BigInt64Array||n instanceof BigUint64Array}catch{}return n instanceof Int8Array||n instanceof Uint8Array||n instanceof Uint8ClampedArray||n instanceof Int16Array||n instanceof Uint16Array||n instanceof Int32Array||n instanceof Uint32Array||n instanceof Float32Array||n instanceof Float64Array||e}var rR=globalThis&&globalThis.__extends||function(){var n=function(e,r){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,D){C.__proto__=D}||function(C,D){for(var T in D)Object.prototype.hasOwnProperty.call(D,T)&&(C[T]=D[T])},n(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");n(e,r);function C(){this.constructor=e}e.prototype=r===null?Object.create(r):(C.prototype=r.prototype,new C)}}();(function(n){rR(e,n);function e(){return n!==null&&n.apply(this,arguments)||this}return e.prototype.componentDidMount=function(){Wu.setFrameHeight()},e.prototype.componentDidUpdate=function(){Wu.setFrameHeight()},e})(g9.PureComponent);const rc=i2("selection",{state:()=>({scanIndex:void 0,massIndex:void 0,proteinIndex:void 0,tagIndex:void 0,selectedObservedMass:void 0,AApos:void 0,tagData:void 0,counter:void 0,id:void 0,heatmap_deconv:void 0,heatmap_deconv2:void 0,heatmap_raw:void 0,heatmap_raw2:void 0}),getters:{selectedScanIndex:n=>n.scanIndex,selectedMassIndex:n=>n.massIndex,selectedProteinIndex:n=>n.proteinIndex,selectedTagIndex:n=>n.tagIndex,selectedAApos:n=>n.AApos,selectedTag:n=>n.tagData,selectedDeconvMS2Heatmap:n=>n.heatmap_deconv2,selectedDeconvHeatmap:n=>n.heatmap_deconv,selectedRawHeatmap:n=>n.heatmap_raw,selectedRawMS2Heatmap:n=>n.heatmap_raw2,selectedObservedMassFromFragmentTable:n=>n.selectedObservedMass},actions:{updateSelectedScan(n){this.scanIndex=n},updateSelectedMass(n){this.massIndex=n},updateSelectedProtein(n){this.proteinIndex=n},updateSelectedTag(n){this.tagIndex=n},selectedAminoAcid(n){this.selectedObservedMass=n},updateSelectedAA(n){this.AApos=n},updateTagData(n){this.tagData=n},updateRawHeatmapSelection(n){this.heatmap_raw=n},updateRawMS2HeatmapSelection(n){this.heatmap_raw2=n},updateDeconvHeatmapSelection(n){this.heatmap_deconv=n},updateDeconvMS2HeatmapSelection(n){this.heatmap_deconv2=n}}}),Ns=i2("streamlit-data",{state:()=>({renderData:null,dataForDrawing:{},dataset:"",hash:""}),getters:{args:n=>{var e;return(e=n.renderData)==null?void 0:e.args},components(){return this.args.components},allDataForDrawing:n=>n.dataForDrawing,sequenceData:n=>n.dataForDrawing.sequence_data,settings:n=>n.dataForDrawing.settings,internalFragmentData:n=>n.dataForDrawing.internal_fragment_data,theme:n=>{var e;return(e=n.renderData)==null?void 0:e.theme}},actions:{updateRenderData(n){var D;if(rc().$patch(T=>{if(n.args.selection_store.id!==T.id)for(const p in T)T[p]=void 0;Object.assign(T,n.args.selection_store)}),console.log(n.args.selection_store.id),this.hash===n.args.hash)return;this.hash=n.args.hash,delete n.args.selection_store,delete n.args.hash,this.dataForDrawing={},this.dataset=(D=n.args)==null?void 0:D.dataset,this.renderData=n;function r(T){if(typeof T=="bigint")return Number(T);if(T instanceof Ta){const p=[];for(let t=0;t{if(p instanceof tx){const t=[],d=p.table.schema.fields.map(g=>g.name);for(let g=0;g{var f;i[M]=r((f=p.table.getChildAt(v))==null?void 0:f.get(g))}),t.push(i)}this.dataForDrawing[T]=t}else this.dataForDrawing[T]=p})}}});var EM={exports:{}};(function(n,e){/*! For license information please see plotly.min.js.LICENSE.txt */(function(r,C){n.exports=C()})(self,function(){return function(){var r={98847:function(T,p,t){var d=t(71828),g={"X,X div":'direction:ltr;font-family:"Open Sans",verdana,arial,sans-serif;margin:0;padding:0;',"X input,X button":'font-family:"Open Sans",verdana,arial,sans-serif;',"X input:focus,X button:focus":"outline:none;","X a":"text-decoration:none;","X a:hover":"text-decoration:none;","X .crisp":"shape-rendering:crispEdges;","X .user-select-none":"-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;","X svg":"overflow:hidden;","X svg a":"fill:#447adb;","X svg a:hover":"fill:#3c6dc5;","X .main-svg":"position:absolute;top:0;left:0;pointer-events:none;","X .main-svg .draglayer":"pointer-events:all;","X .cursor-default":"cursor:default;","X .cursor-pointer":"cursor:pointer;","X .cursor-crosshair":"cursor:crosshair;","X .cursor-move":"cursor:move;","X .cursor-col-resize":"cursor:col-resize;","X .cursor-row-resize":"cursor:row-resize;","X .cursor-ns-resize":"cursor:ns-resize;","X .cursor-ew-resize":"cursor:ew-resize;","X .cursor-sw-resize":"cursor:sw-resize;","X .cursor-s-resize":"cursor:s-resize;","X .cursor-se-resize":"cursor:se-resize;","X .cursor-w-resize":"cursor:w-resize;","X .cursor-e-resize":"cursor:e-resize;","X .cursor-nw-resize":"cursor:nw-resize;","X .cursor-n-resize":"cursor:n-resize;","X .cursor-ne-resize":"cursor:ne-resize;","X .cursor-grab":"cursor:-webkit-grab;cursor:grab;","X .modebar":"position:absolute;top:2px;right:2px;","X .ease-bg":"-webkit-transition:background-color .3s ease 0s;-moz-transition:background-color .3s ease 0s;-ms-transition:background-color .3s ease 0s;-o-transition:background-color .3s ease 0s;transition:background-color .3s ease 0s;","X .modebar--hover>:not(.watermark)":"opacity:0;-webkit-transition:opacity .3s ease 0s;-moz-transition:opacity .3s ease 0s;-ms-transition:opacity .3s ease 0s;-o-transition:opacity .3s ease 0s;transition:opacity .3s ease 0s;","X:hover .modebar--hover .modebar-group":"opacity:1;","X .modebar-group":"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;","X .modebar-btn":"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;","X .modebar-btn svg":"position:relative;top:2px;","X .modebar.vertical":"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;","X .modebar.vertical svg":"top:-1px;","X .modebar.vertical .modebar-group":"display:block;float:none;padding-left:0px;padding-bottom:8px;","X .modebar.vertical .modebar-group .modebar-btn":"display:block;text-align:center;","X [data-title]:before,X [data-title]:after":"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none;opacity:0;z-index:1001;pointer-events:none;top:110%;right:50%;","X [data-title]:hover:before,X [data-title]:hover:after":"display:block;opacity:1;","X [data-title]:before":'content:"";position:absolute;background:rgba(0,0,0,0);border:6px solid rgba(0,0,0,0);z-index:1002;margin-top:-12px;border-bottom-color:#69738a;margin-right:-6px;',"X [data-title]:after":"content:attr(data-title);background:#69738a;color:#fff;padding:8px 10px;font-size:12px;line-height:12px;white-space:nowrap;margin-right:-18px;border-radius:2px;","X .vertical [data-title]:before,X .vertical [data-title]:after":"top:0%;right:200%;","X .vertical [data-title]:before":"border:6px solid rgba(0,0,0,0);border-left-color:#69738a;margin-top:8px;margin-right:-30px;",Y:'font-family:"Open Sans",verdana,arial,sans-serif;position:fixed;top:50px;right:20px;z-index:10000;font-size:10pt;max-width:180px;',"Y p":"margin:0;","Y .notifier-note":"min-width:180px;max-width:250px;border:1px solid #fff;z-index:3000;margin:0;background-color:#8c97af;background-color:rgba(140,151,175,.9);color:#fff;padding:10px;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-webkit-hyphens:auto;hyphens:auto;","Y .notifier-close":"color:#fff;opacity:.8;float:right;padding:0 5px;background:none;border:none;font-size:20px;font-weight:bold;line-height:20px;","Y .notifier-close:hover":"color:#444;text-decoration:none;cursor:pointer;"};for(var i in g){var M=i.replace(/^,/," ,").replace(/X/g,".js-plotly-plot .plotly").replace(/Y/g,".plotly-notifier");d.addStyleRule(M,g[i])}},98222:function(T,p,t){T.exports=t(82887)},27206:function(T,p,t){T.exports=t(60822)},59893:function(T,p,t){T.exports=t(23381)},5224:function(T,p,t){T.exports=t(83832)},59509:function(T,p,t){T.exports=t(72201)},75557:function(T,p,t){T.exports=t(91815)},40338:function(T,p,t){T.exports=t(21462)},35080:function(T,p,t){T.exports=t(51319)},61396:function(T,p,t){T.exports=t(57516)},40549:function(T,p,t){T.exports=t(98128)},49866:function(T,p,t){T.exports=t(99442)},36089:function(T,p,t){T.exports=t(93740)},19548:function(T,p,t){T.exports=t(8729)},35831:function(T,p,t){T.exports=t(93814)},61039:function(T,p,t){T.exports=t(14382)},97040:function(T,p,t){T.exports=t(51759)},77986:function(T,p,t){T.exports=t(10421)},24296:function(T,p,t){T.exports=t(43102)},58872:function(T,p,t){T.exports=t(92165)},29626:function(T,p,t){T.exports=t(3325)},65591:function(T,p,t){T.exports=t(36071)},69738:function(T,p,t){T.exports=t(43905)},92650:function(T,p,t){T.exports=t(35902)},35630:function(T,p,t){T.exports=t(69816)},73434:function(T,p,t){T.exports=t(94507)},27909:function(T,p,t){var d=t(19548);d.register([t(27206),t(5224),t(58872),t(65591),t(69738),t(92650),t(49866),t(25743),t(6197),t(97040),t(85461),t(73434),t(54201),t(81299),t(47645),t(35630),t(77986),t(83043),t(93005),t(96881),t(4534),t(50581),t(40549),t(77900),t(47582),t(35080),t(21641),t(17280),t(5861),t(29626),t(10021),t(65317),t(96268),t(61396),t(35831),t(16122),t(46163),t(40344),t(40338),t(48131),t(36089),t(55334),t(75557),t(19440),t(99488),t(59893),t(97393),t(98222),t(61039),t(24296),t(66398),t(59509)]),T.exports=d},46163:function(T,p,t){T.exports=t(15154)},96881:function(T,p,t){T.exports=t(64943)},50581:function(T,p,t){T.exports=t(21164)},55334:function(T,p,t){T.exports=t(54186)},65317:function(T,p,t){T.exports=t(94873)},10021:function(T,p,t){T.exports=t(67618)},54201:function(T,p,t){T.exports=t(58810)},5861:function(T,p,t){T.exports=t(20593)},16122:function(T,p,t){T.exports=t(29396)},83043:function(T,p,t){T.exports=t(13551)},48131:function(T,p,t){T.exports=t(46858)},47582:function(T,p,t){T.exports=t(17988)},21641:function(T,p,t){T.exports=t(68868)},96268:function(T,p,t){T.exports=t(20467)},19440:function(T,p,t){T.exports=t(91271)},99488:function(T,p,t){T.exports=t(21461)},97393:function(T,p,t){T.exports=t(85956)},25743:function(T,p,t){T.exports=t(52979)},66398:function(T,p,t){T.exports=t(32275)},17280:function(T,p,t){T.exports=t(6419)},77900:function(T,p,t){T.exports=t(61510)},81299:function(T,p,t){T.exports=t(87619)},93005:function(T,p,t){T.exports=t(93601)},40344:function(T,p,t){T.exports=t(96595)},47645:function(T,p,t){T.exports=t(70954)},6197:function(T,p,t){T.exports=t(47462)},4534:function(T,p,t){T.exports=t(17659)},85461:function(T,p,t){T.exports=t(19990)},82884:function(T){T.exports=[{path:"",backoff:0},{path:"M-2.4,-3V3L0.6,0Z",backoff:.6},{path:"M-3.7,-2.5V2.5L1.3,0Z",backoff:1.3},{path:"M-4.45,-3L-1.65,-0.2V0.2L-4.45,3L1.55,0Z",backoff:1.55},{path:"M-2.2,-2.2L-0.2,-0.2V0.2L-2.2,2.2L-1.4,3L1.6,0L-1.4,-3Z",backoff:1.6},{path:"M-4.4,-2.1L-0.6,-0.2V0.2L-4.4,2.1L-4,3L2,0L-4,-3Z",backoff:2},{path:"M2,0A2,2 0 1,1 0,-2A2,2 0 0,1 2,0Z",backoff:0,noRotate:!0},{path:"M2,2V-2H-2V2Z",backoff:0,noRotate:!0}]},50215:function(T,p,t){var d=t(82884),g=t(41940),i=t(85555),M=t(44467).templatedArray;t(24695),T.exports=M("annotation",{visible:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},text:{valType:"string",editType:"calc+arraydraw"},textangle:{valType:"angle",dflt:0,editType:"calc+arraydraw"},font:g({editType:"calc+arraydraw",colorEditType:"arraydraw"}),width:{valType:"number",min:1,dflt:null,editType:"calc+arraydraw"},height:{valType:"number",min:1,dflt:null,editType:"calc+arraydraw"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"arraydraw"},align:{valType:"enumerated",values:["left","center","right"],dflt:"center",editType:"arraydraw"},valign:{valType:"enumerated",values:["top","middle","bottom"],dflt:"middle",editType:"arraydraw"},bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},bordercolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},borderpad:{valType:"number",min:0,dflt:1,editType:"calc+arraydraw"},borderwidth:{valType:"number",min:0,dflt:1,editType:"calc+arraydraw"},showarrow:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},arrowcolor:{valType:"color",editType:"arraydraw"},arrowhead:{valType:"integer",min:0,max:d.length,dflt:1,editType:"arraydraw"},startarrowhead:{valType:"integer",min:0,max:d.length,dflt:1,editType:"arraydraw"},arrowside:{valType:"flaglist",flags:["end","start"],extras:["none"],dflt:"end",editType:"arraydraw"},arrowsize:{valType:"number",min:.3,dflt:1,editType:"calc+arraydraw"},startarrowsize:{valType:"number",min:.3,dflt:1,editType:"calc+arraydraw"},arrowwidth:{valType:"number",min:.1,editType:"calc+arraydraw"},standoff:{valType:"number",min:0,dflt:0,editType:"calc+arraydraw"},startstandoff:{valType:"number",min:0,dflt:0,editType:"calc+arraydraw"},ax:{valType:"any",editType:"calc+arraydraw"},ay:{valType:"any",editType:"calc+arraydraw"},axref:{valType:"enumerated",dflt:"pixel",values:["pixel",i.idRegex.x.toString()],editType:"calc"},ayref:{valType:"enumerated",dflt:"pixel",values:["pixel",i.idRegex.y.toString()],editType:"calc"},xref:{valType:"enumerated",values:["paper",i.idRegex.x.toString()],editType:"calc"},x:{valType:"any",editType:"calc+arraydraw"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto",editType:"calc+arraydraw"},xshift:{valType:"number",dflt:0,editType:"calc+arraydraw"},yref:{valType:"enumerated",values:["paper",i.idRegex.y.toString()],editType:"calc"},y:{valType:"any",editType:"calc+arraydraw"},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"auto",editType:"calc+arraydraw"},yshift:{valType:"number",dflt:0,editType:"calc+arraydraw"},clicktoshow:{valType:"enumerated",values:[!1,"onoff","onout"],dflt:!1,editType:"arraydraw"},xclick:{valType:"any",editType:"arraydraw"},yclick:{valType:"any",editType:"arraydraw"},hovertext:{valType:"string",editType:"arraydraw"},hoverlabel:{bgcolor:{valType:"color",editType:"arraydraw"},bordercolor:{valType:"color",editType:"arraydraw"},font:g({editType:"arraydraw"}),editType:"arraydraw"},captureevents:{valType:"boolean",editType:"arraydraw"},editType:"calc",_deprecated:{ref:{valType:"string",editType:"calc"}}})},3749:function(T,p,t){var d=t(71828),g=t(89298),i=t(92605).draw;function M(f){var l=f._fullLayout;d.filterVisible(l.annotations).forEach(function(a){var u=g.getFromId(f,a.xref),o=g.getFromId(f,a.yref),s=g.getRefType(a.xref),c=g.getRefType(a.yref);a._extremes={},s==="range"&&v(a,u),c==="range"&&v(a,o)})}function v(f,l){var a,u=l._id,o=u.charAt(0),s=f[o],c=f["a"+o],h=f[o+"ref"],m=f["a"+o+"ref"],w=f["_"+o+"padplus"],y=f["_"+o+"padminus"],S={x:1,y:-1}[o]*f[o+"shift"],_=3*f.arrowsize*f.arrowwidth||0,k=_+S,E=_-S,x=3*f.startarrowsize*f.arrowwidth||0,A=x+S,L=x-S;if(m===h){var b=g.findExtremes(l,[l.r2c(s)],{ppadplus:k,ppadminus:E}),R=g.findExtremes(l,[l.r2c(c)],{ppadplus:Math.max(w,A),ppadminus:Math.max(y,L)});a={min:[b.min[0],R.min[0]],max:[b.max[0],R.max[0]]}}else A=c?A+c:A,L=c?L-c:L,a=g.findExtremes(l,[l.r2c(s)],{ppadplus:Math.max(w,k,A),ppadminus:Math.max(y,E,L)});f._extremes[u]=a}T.exports=function(f){var l=f._fullLayout;if(d.filterVisible(l.annotations).length&&f._fullData.length)return d.syncOrAsync([i,M],f)}},44317:function(T,p,t){var d=t(71828),g=t(73972),i=t(44467).arrayEditor;function M(f,l){var a,u,o,s,c,h,m,w=f._fullLayout.annotations,y=[],S=[],_=[],k=(l||[]).length;for(a=0;a0||a.explicitOff.length>0},onClick:function(f,l){var a,u,o=M(f,l),s=o.on,c=o.off.concat(o.explicitOff),h={},m=f._fullLayout.annotations;if(s.length||c.length){for(a=0;a.6666666666666666?"right":"center"),{center:0,middle:0,left:.5,bottom:-.5,right:-.5,top:.5}[yt]}for(var Be=!1,ze=["x","y"],je=0;je1)&&(ot===st?((Vt=ht.r2fraction(k["a"+Ye]))<0||Vt>1)&&(Be=!0):Be=!0),ge=ht._offset+ht.r2p(k[Ye]),Ve=.5}else{var Ke=qt==="domain";Ye==="x"?(Ee=k[Ye],ge=Ke?ht._offset+ht._length*Ee:ge=O.l+O.w*Ee):(Ee=1-k[Ye],ge=Ke?ht._offset+ht._length*Ee:ge=O.t+O.h*Ee),Ve=k.showarrow?.5:Ee}if(k.showarrow){Bt.head=ge;var Je=k["a"+Ye];if($e=Et*Le(.5,k.xanchor)-kt*Le(.5,k.yanchor),ot===st){var qe=f.getRefType(ot);qe==="domain"?(Ye==="y"&&(Je=1-Je),Bt.tail=ht._offset+ht._length*Je):qe==="paper"?Ye==="y"?(Je=1-Je,Bt.tail=O.t+O.h*Je):Bt.tail=O.l+O.w*Je:Bt.tail=ht._offset+ht.r2p(Je),we=$e}else Bt.tail=ge+Je,we=$e+Je;Bt.text=Bt.tail+$e;var nt=I[Ye==="x"?"width":"height"];if(st==="paper"&&(Bt.head=M.constrain(Bt.head,1,nt-1)),ot==="pixel"){var ft=-Math.max(Bt.tail-3,Bt.text),Re=Math.min(Bt.tail+3,Bt.text)-nt;ft>0?(Bt.tail+=ft,Bt.text+=ft):Re>0&&(Bt.tail-=Re,Bt.text-=Re)}Bt.tail+=Ot,Bt.head+=Ot}else we=$e=xt*Le(Ve,Ft),Bt.text=ge+$e;Bt.text+=Ot,$e+=Ot,we+=Ot,k["_"+Ye+"padplus"]=xt/2+we,k["_"+Ye+"padminus"]=xt/2-we,k["_"+Ye+"size"]=xt,k["_"+Ye+"shift"]=$e}if(Be)te.remove();else{var Ne=0,Qe=0;if(k.align!=="left"&&(Ne=(ae-Se)*(k.align==="center"?.5:1)),k.valign!=="top"&&(Qe=(fe-Ce)*(k.valign==="middle"?.5:1)),_e)Pe.select("svg").attr({x:Q+Ne-1,y:Q+Qe}).call(a.setClipUrl,ie?j:null,_);else{var ut=Q+Qe-Me.top,dt=Q+Ne-Me.left;ye.call(o.positionText,dt,ut).call(a.setClipUrl,ie?j:null,_)}oe.select("rect").call(a.setRect,Q,Q,ae,fe),re.call(a.setRect,Z/2,Z/2,be-Z,ke-Z),te.call(a.setTranslate,Math.round($.x.text-be/2),Math.round($.y.text-ke/2)),q.attr({transform:"rotate("+U+","+$.x.text+","+$.y.text+")"});var _t,It=function(Lt,yt){G.selectAll(".annotation-arrow-g").remove();var Pt=$.x.head,wt=$.y.head,Rt=$.x.tail+Lt,Nt=$.y.tail+yt,Yt=$.x.text+Lt,Wt=$.y.text+yt,Xt=M.rotationXYMatrix(U,Yt,Wt),Qt=M.apply2DTransform(Xt),rn=M.apply2DTransform2(Xt),xn=+re.attr("width"),un=+re.attr("height"),An=Yt-.5*xn,Yn=An+xn,kn=Wt-.5*un,sn=kn+un,Tn=[[An,kn,An,sn],[An,sn,Yn,sn],[Yn,sn,Yn,kn],[Yn,kn,An,kn]].map(rn);if(!Tn.reduce(function(or,vr){return or^!!M.segmentsIntersect(Pt,wt,Pt+1e6,wt+1e6,vr[0],vr[1],vr[2],vr[3])},!1)){Tn.forEach(function(or){var vr=M.segmentsIntersect(Rt,Nt,Pt,wt,or[0],or[1],or[2],or[3]);vr&&(Rt=vr.x,Nt=vr.y)});var dn=k.arrowwidth,pn=k.arrowcolor,Dn=k.arrowside,In=G.append("g").style({opacity:l.opacity(pn)}).classed("annotation-arrow-g",!0),jn=In.append("path").attr("d","M"+Rt+","+Nt+"L"+Pt+","+wt).style("stroke-width",dn+"px").call(l.stroke,l.rgb(pn));if(m(jn,Dn,k),z.annotationPosition&&jn.node().parentNode&&!x){var Gn=Pt,qn=wt;if(k.standoff){var lr=Math.sqrt(Math.pow(Pt-Rt,2)+Math.pow(wt-Nt,2));Gn+=k.standoff*(Rt-Pt)/lr,qn+=k.standoff*(Nt-wt)/lr}var rr,Sr,yr=In.append("path").classed("annotation-arrow",!0).classed("anndrag",!0).classed("cursor-move",!0).attr({d:"M3,3H-3V-3H3ZM0,0L"+(Rt-Gn)+","+(Nt-qn),transform:v(Gn,qn)}).style("stroke-width",dn+6+"px").call(l.stroke,"rgba(0,0,0,0)").call(l.fill,"rgba(0,0,0,0)");c.init({element:yr.node(),gd:_,prepFn:function(){var or=a.getTranslate(te);rr=or.x,Sr=or.y,A&&A.autorange&&B(A._name+".autorange",!0),L&&L.autorange&&B(L._name+".autorange",!0)},moveFn:function(or,vr){var _r=Qt(rr,Sr),Kt=_r[0]+or,bn=_r[1]+vr;te.call(a.setTranslate,Kt,bn),N("x",y(A,or,"x",O,k)),N("y",y(L,vr,"y",O,k)),k.axref===k.xref&&N("ax",y(A,or,"ax",O,k)),k.ayref===k.yref&&N("ay",y(L,vr,"ay",O,k)),In.attr("transform",v(or,vr)),q.attr({transform:"rotate("+U+","+Kt+","+bn+")"})},doneFn:function(){g.call("_guiRelayout",_,W());var or=document.querySelector(".js-notes-box-panel");or&&or.redraw(or.selectedObj)}})}}};k.showarrow&&It(0,0),H&&c.init({element:te.node(),gd:_,prepFn:function(){_t=q.attr("transform")},moveFn:function(Lt,yt){var Pt="pointer";if(k.showarrow)k.axref===k.xref?N("ax",y(A,Lt,"ax",O,k)):N("ax",k.ax+Lt),k.ayref===k.yref?N("ay",y(L,yt,"ay",O.w,k)):N("ay",k.ay+yt),It(Lt,yt);else{if(x)return;var wt,Rt;if(A)wt=y(A,Lt,"x",O,k);else{var Nt=k._xsize/O.w,Yt=k.x+(k._xshift-k.xshift)/O.w-Nt/2;wt=c.align(Yt+Lt/O.w,Nt,0,1,k.xanchor)}if(L)Rt=y(L,yt,"y",O,k);else{var Wt=k._ysize/O.h,Xt=k.y-(k._yshift+k.yshift)/O.h-Wt/2;Rt=c.align(Xt-yt/O.h,Wt,0,1,k.yanchor)}N("x",wt),N("y",Rt),A&&L||(Pt=c.getCursor(A?.5:wt,L?.5:Rt,k.xanchor,k.yanchor))}q.attr({transform:v(Lt,yt)+_t}),s(te,Pt)},clickFn:function(Lt,yt){k.captureevents&&_.emit("plotly_clickannotation",de(yt))},doneFn:function(){s(te),g.call("_guiRelayout",_,W());var Lt=document.querySelector(".js-notes-box-panel");Lt&&Lt.redraw(Lt.selectedObj)}})}}}T.exports={draw:function(_){var k=_._fullLayout;k._infolayer.selectAll(".annotation").remove();for(var E=0;E=0,x=u.indexOf("end")>=0,A=y.backoff*_+o.standoff,L=S.backoff*k+o.startstandoff;if(w.nodeName==="line"){s={x:+a.attr("x1"),y:+a.attr("y1")},c={x:+a.attr("x2"),y:+a.attr("y2")};var b=s.x-c.x,R=s.y-c.y;if(m=(h=Math.atan2(R,b))+Math.PI,A&&L&&A+L>Math.sqrt(b*b+R*R))return void G();if(A){if(A*A>b*b+R*R)return void G();var I=A*Math.cos(h),O=A*Math.sin(h);c.x+=I,c.y+=O,a.attr({x2:c.x,y2:c.y})}if(L){if(L*L>b*b+R*R)return void G();var z=L*Math.cos(h),F=L*Math.sin(h);s.x-=z,s.y-=F,a.attr({x1:s.x,y1:s.y})}}else if(w.nodeName==="path"){var B=w.getTotalLength(),N="";if(B1){o=!0;break}}o?M.fullLayout._infolayer.select(".annotation-"+M.id+'[data-index="'+a+'"]').remove():(u._pdata=g(M.glplot.cameraParams,[v.xaxis.r2l(u.x)*f[0],v.yaxis.r2l(u.y)*f[1],v.zaxis.r2l(u.z)*f[2]]),d(M.graphDiv,u,a,M.id,u._xa,u._ya))}}},2468:function(T,p,t){var d=t(73972),g=t(71828);T.exports={moduleType:"component",name:"annotations3d",schema:{subplots:{scene:{annotations:t(26997)}}},layoutAttributes:t(26997),handleDefaults:t(20226),includeBasePlot:function(i,M){var v=d.subplotsRegistry.gl3d;if(v)for(var f=v.attrRegex,l=Object.keys(i),a=0;a=0)))return u;if(m===3)c[m]>1&&(c[m]=1);else if(c[m]>=1)return u}var w=Math.round(255*c[0])+", "+Math.round(255*c[1])+", "+Math.round(255*c[2]);return h?"rgba("+w+", "+c[3]+")":"rgb("+w+")"}M.tinyRGB=function(u){var o=u.toRgb();return"rgb("+Math.round(o.r)+", "+Math.round(o.g)+", "+Math.round(o.b)+")"},M.rgb=function(u){return M.tinyRGB(d(u))},M.opacity=function(u){return u?d(u).getAlpha():0},M.addOpacity=function(u,o){var s=d(u).toRgb();return"rgba("+Math.round(s.r)+", "+Math.round(s.g)+", "+Math.round(s.b)+", "+o+")"},M.combine=function(u,o){var s=d(u).toRgb();if(s.a===1)return d(u).toRgbString();var c=d(o||l).toRgb(),h=c.a===1?c:{r:255*(1-c.a)+c.r*c.a,g:255*(1-c.a)+c.g*c.a,b:255*(1-c.a)+c.b*c.a},m={r:h.r*(1-s.a)+s.r*s.a,g:h.g*(1-s.a)+s.g*s.a,b:h.b*(1-s.a)+s.b*s.a};return d(m).toRgbString()},M.contrast=function(u,o,s){var c=d(u);return c.getAlpha()!==1&&(c=d(M.combine(u,l))),(c.isDark()?o?c.lighten(o):l:s?c.darken(s):f).toString()},M.stroke=function(u,o){var s=d(o);u.style({stroke:M.tinyRGB(s),"stroke-opacity":s.getAlpha()})},M.fill=function(u,o){var s=d(o);u.style({fill:M.tinyRGB(s),"fill-opacity":s.getAlpha()})},M.clean=function(u){if(u&&typeof u=="object"){var o,s,c,h,m=Object.keys(u);for(o=0;o0?Je>=Ne:Je<=Ne));qe++)Je>ut&&Je0?Je>=Ne:Je<=Ne));qe++)Je>Ke[0]&&Je1){var ot=Math.pow(10,Math.floor(Math.log(st)/Math.LN10));$e*=ot*l.roundUp(st/ot,[2,5,10]),(Math.abs(_e.start)/_e.size+1e-6)%1<2e-6&&(Ee.tick0=0)}Ee.dtick=$e}Ee.domain=W?[ge+Q/ue.h,ge+ke-Q/ue.h]:[ge+X/ue.w,ge+ke-X/ue.w],Ee.setScale(),F.attr("transform",a(Math.round(ue.l),Math.round(ue.t)));var ht,bt=F.select("."+L.cbtitleunshift).attr("transform",a(-Math.round(ue.l),-Math.round(ue.t))),Et=Ee.ticklabelposition,kt=Ee.title.font.size,xt=F.select("."+L.cbaxis),Ft=0,Ot=0;function Bt(qt,Vt){var Ke={propContainer:Ee,propName:B._propPrefix+"title",traceIndex:B._traceIndex,_meta:B._meta,placeholder:oe._dfltTitle.colorbar,containerGroup:F.select("."+L.cbtitle)},Je=qt.charAt(0)==="h"?qt.substr(1):"h"+qt;F.selectAll("."+Je+",."+Je+"-math-group").remove(),h.draw(N,qt,u(Ke,Vt||{}))}return l.syncOrAsync([i.previousPromises,function(){var qt,Vt;(W&&Ve||!W&&!Ve)&&(me==="top"&&(qt=X+ue.l+ue.w*re,Vt=Q+ue.t+ue.h*(1-ge-ke)+3+.75*kt),me==="bottom"&&(qt=X+ue.l+ue.w*re,Vt=Q+ue.t+ue.h*(1-ge)-3-.25*kt),me==="right"&&(Vt=Q+ue.t+ue.h*ie+3+.75*kt,qt=X+ue.l+ue.w*ge),Bt(Ee._id+"title",{attributes:{x:qt,y:Vt,"text-anchor":W?"start":"middle"}}))},function(){if(!W&&!Ve||W&&Ve){var qt,Vt=F.select("."+L.cbtitle),Ke=Vt.select("text"),Je=[-q/2,q/2],qe=Vt.select(".h"+Ee._id+"title-math-group").node(),nt=15.6;if(Ke.node()&&(nt=parseInt(Ke.node().style.fontSize,10)*E),qe?(qt=s.bBox(qe),Ot=qt.width,(Ft=qt.height)>nt&&(Je[1]-=(Ft-nt)/2)):Ke.node()&&!Ke.classed(L.jsPlaceholder)&&(qt=s.bBox(Ke.node()),Ot=qt.width,Ft=qt.height),W){if(Ft){if(Ft+=5,me==="top")Ee.domain[1]-=Ft/ue.h,Je[1]*=-1;else{Ee.domain[0]+=Ft/ue.h;var ft=m.lineCount(Ke);Je[1]+=(1-ft)*nt}Vt.attr("transform",a(Je[0],Je[1])),Ee.setScale()}}else Ot&&(me==="right"&&(Ee.domain[0]+=(Ot+kt/2)/ue.w),Vt.attr("transform",a(Je[0],Je[1])),Ee.setScale())}F.selectAll("."+L.cbfills+",."+L.cblines).attr("transform",W?a(0,Math.round(ue.h*(1-Ee.domain[1]))):a(Math.round(ue.w*Ee.domain[0]),0)),xt.attr("transform",W?a(0,Math.round(-ue.t)):a(Math.round(-ue.l),0));var Re=F.select("."+L.cbfills).selectAll("rect."+L.cbfill).attr("style","").data(Se);Re.enter().append("rect").classed(L.cbfill,!0).style("stroke","none"),Re.exit().remove();var Ne=pe.map(Ee.c2p).map(Math.round).sort(function(It,Lt){return It-Lt});Re.each(function(It,Lt){var yt=[Lt===0?pe[0]:(Se[Lt]+Se[Lt-1])/2,Lt===Se.length-1?pe[1]:(Se[Lt]+Se[Lt+1])/2].map(Ee.c2p).map(Math.round);W&&(yt[1]=l.constrain(yt[1]+(yt[1]>yt[0])?1:-1,Ne[0],Ne[1]));var Pt=d.select(this).attr(W?"x":"y",Le).attr(W?"y":"x",d.min(yt)).attr(W?"width":"height",Math.max(ae,2)).attr(W?"height":"width",Math.max(d.max(yt)-d.min(yt),2));if(B._fillgradient)s.gradient(Pt,N,B._id,W?"vertical":"horizontalreversed",B._fillgradient,"fill");else{var wt=Pe(It).replace("e-","");Pt.attr("fill",g(wt).toHexString())}});var Qe=F.select("."+L.cblines).selectAll("path."+L.cbline).data(ye.color&&ye.width?Ce:[]);Qe.enter().append("path").classed(L.cbline,!0),Qe.exit().remove(),Qe.each(function(It){var Lt=Le,yt=Math.round(Ee.c2p(It))+ye.width/2%1;d.select(this).attr("d","M"+(W?Lt+","+yt:yt+","+Lt)+(W?"h":"v")+ae).call(s.lineGroupStyle,ye.width,xe(It),ye.dash)}),xt.selectAll("g."+Ee._id+"tick,path").remove();var ut=Le+ae+(q||0)/2-(B.ticks==="outside"?1:0),dt=v.calcTicks(Ee),_t=v.getTickSigns(Ee)[2];return v.drawTicks(N,Ee,{vals:Ee.ticks==="inside"?v.clipEnds(Ee,dt):dt,layer:xt,path:v.makeTickPath(Ee,ut,_t),transFn:v.makeTransTickFn(Ee)}),v.drawLabels(N,Ee,{vals:dt,layer:xt,transFn:v.makeTransTickLabelFn(Ee),labelFns:v.makeLabelFns(Ee,ut)})},function(){if(W&&!Ve||!W&&Ve){var qt,Vt,Ke=Ee.position||0,Je=Ee._offset+Ee._length/2;if(me==="right")Vt=Je,qt=ue.l+ue.w*Ke+10+kt*(Ee.showticklabels?1:.5);else if(qt=Je,me==="bottom"&&(Vt=ue.t+ue.h*Ke+10+(Et.indexOf("inside")===-1?Ee.tickfont.size:0)+(Ee.ticks!=="intside"&&B.ticklen||0)),me==="top"){var qe=de.text.split("
").length;Vt=ue.t+ue.h*Ke+10-ae-E*kt*qe}Bt((W?"h":"v")+Ee._id+"title",{avoid:{selection:d.select(N).selectAll("g."+Ee._id+"tick"),side:me,offsetTop:W?0:ue.t,offsetLeft:W?ue.l:0,maxShift:W?oe.width:oe.height},attributes:{x:qt,y:Vt,"text-anchor":"middle"},transform:{rotate:W?-90:0,offset:0}})}},i.previousPromises,function(){var qt,Vt=ae+q/2;Et.indexOf("inside")===-1&&(qt=s.bBox(xt.node()),Vt+=W?qt.width:qt.height),ht=bt.select("text");var Ke=0,Je=W&&me==="top",qe=!W&&me==="right",nt=0;if(ht.node()&&!ht.classed(L.jsPlaceholder)){var ft,Re=bt.select(".h"+Ee._id+"title-math-group").node();Re&&(W&&Ve||!W&&!Ve)?(Ke=(qt=s.bBox(Re)).width,ft=qt.height):(Ke=(qt=s.bBox(bt.node())).right-ue.l-(W?Le:we),ft=qt.bottom-ue.t-(W?we:Le),W||me!=="top"||(Vt+=qt.height,nt=qt.height)),qe&&(ht.attr("transform",a(Ke/2+kt/2,0)),Ke*=2),Vt=Math.max(Vt,W?Ke:ft)}var Ne=2*(W?X:Q)+Vt+H+q/2,Qe=0;!W&&de.text&&Z==="bottom"&&ie<=0&&(Ne+=Qe=Ne/2,nt+=Qe),oe._hColorbarMoveTitle=Qe,oe._hColorbarMoveCBTitle=nt;var ut=H+q;F.select("."+L.cbbg).attr("x",(W?Le:we)-ut/2-(W?X:0)).attr("y",(W?we:Le)-(W?be:Q+nt-Qe)).attr(W?"width":"height",Math.max(Ne-Qe,2)).attr(W?"height":"width",Math.max(be+ut,2)).call(c.fill,ne).call(c.stroke,B.bordercolor).style("stroke-width",H);var dt=qe?Math.max(Ke-10,0):0;if(F.selectAll("."+L.cboutline).attr("x",(W?Le:we+X)+dt).attr("y",(W?we+Q-be:Le)+(Je?Ft:0)).attr(W?"width":"height",Math.max(ae,2)).attr(W?"height":"width",Math.max(be-(W?2*Q+Ft:2*X+dt),2)).call(c.stroke,B.outlinecolor).style({fill:"none","stroke-width":q}),F.attr("transform",a(ue.l-(W?Be*Ne:0),ue.t-(W?0:(1-ze)*Ne-nt))),!W&&(H||g(ne).getAlpha()&&!g.equals(oe.paper_bgcolor,ne))){var _t=xt.selectAll("text"),It=_t[0].length,Lt=F.select("."+L.cbbg).node(),yt=s.bBox(Lt),Pt=s.getTranslate(F);_t.each(function(Qt,rn){var xn=It-1;if(rn===0||rn===xn){var un,An=s.bBox(this),Yn=s.getTranslate(this);if(rn===xn){var kn=An.right+Yn.x;(un=yt.right+Pt.x+we-H-2+re-kn)>0&&(un=0)}else if(rn===0){var sn=An.left+Yn.x;(un=yt.left+Pt.x+we+H+2-sn)<0&&(un=0)}un&&(It<3?this.setAttribute("transform","translate("+un+",0) "+this.getAttribute("transform")):this.setAttribute("visibility","hidden"))}})}var wt={},Rt=x[te],Nt=A[te],Yt=x[Z],Wt=A[Z],Xt=Ne-ae;W?($==="pixels"?(wt.y=ie,wt.t=be*Yt,wt.b=be*Wt):(wt.t=wt.b=0,wt.yt=ie+j*Yt,wt.yb=ie-j*Wt),G==="pixels"?(wt.x=re,wt.l=Ne*Rt,wt.r=Ne*Nt):(wt.l=Xt*Rt,wt.r=Xt*Nt,wt.xl=re-U*Rt,wt.xr=re+U*Nt)):($==="pixels"?(wt.x=re,wt.l=be*Rt,wt.r=be*Nt):(wt.l=wt.r=0,wt.xl=re+j*Rt,wt.xr=re-j*Nt),G==="pixels"?(wt.y=1-ie,wt.t=Ne*Yt,wt.b=Ne*Wt):(wt.t=Xt*Yt,wt.b=Xt*Wt,wt.yt=ie-U*Yt,wt.yb=ie+U*Wt)),i.autoMargin(N,B._id,wt)}],N)}(O,I,b);z&&z.then&&(b._promises||[]).push(z),b._context.edits.colorbarPosition&&function(F,B,N){var W,j,$,U=B.orientation==="v",G=N._fullLayout._size;f.init({element:F.node(),gd:N,prepFn:function(){W=F.attr("transform"),o(F)},moveFn:function(q,H){F.attr("transform",W+a(q,H)),j=f.align((U?B._uFrac:B._vFrac)+q/G.w,U?B._thickFrac:B._lenFrac,0,1,B.xanchor),$=f.align((U?B._vFrac:1-B._uFrac)-H/G.h,U?B._lenFrac:B._thickFrac,0,1,B.yanchor);var ne=f.getCursor(j,$,B.xanchor,B.yanchor);o(F,ne)},doneFn:function(){if(o(F),j!==void 0&&$!==void 0){var q={};q[B._propPrefix+"x"]=j,q[B._propPrefix+"y"]=$,B._traceIndex!==void 0?M.call("_guiRestyle",N,q,B._traceIndex):M.call("_guiRelayout",N,q)}}})}(O,I,b)}),R.exit().each(function(I){i.autoMargin(b,I._id)}).remove(),R.order()}}},76228:function(T,p,t){var d=t(71828);T.exports=function(g){return d.isPlainObject(g.colorbar)}},12311:function(T,p,t){T.exports={moduleType:"component",name:"colorbar",attributes:t(63583),supplyDefaults:t(62499),draw:t(98981).draw,hasColorbar:t(76228)}},50693:function(T,p,t){var d=t(63583),g=t(30587).counter,i=t(78607),M=t(63282).scales;function v(f){return"`"+f+"`"}i(M),T.exports=function(f,l){f=f||"";var a,u=(l=l||{}).cLetter||"c",o=("onlyIfNumerical"in l&&l.onlyIfNumerical,"noScale"in l?l.noScale:f==="marker.line"),s="showScaleDflt"in l?l.showScaleDflt:u==="z",c=typeof l.colorscaleDflt=="string"?M[l.colorscaleDflt]:null,h=l.editTypeOverride||"",m=f?f+".":"";"colorAttr"in l?(a=l.colorAttr,l.colorAttr):v(m+(a={z:"z",c:"color"}[u]));var w=u+"auto",y=u+"min",S=u+"max",_=u+"mid",k={};k[y]=k[S]=void 0;var E={};E[w]=!1;var x={};return a==="color"&&(x.color={valType:"color",arrayOk:!0,editType:h||"style"},l.anim&&(x.color.anim=!0)),x[w]={valType:"boolean",dflt:!0,editType:"calc",impliedEdits:k},x[y]={valType:"number",dflt:null,editType:h||"plot",impliedEdits:E},x[S]={valType:"number",dflt:null,editType:h||"plot",impliedEdits:E},x[_]={valType:"number",dflt:null,editType:"calc",impliedEdits:k},x.colorscale={valType:"colorscale",editType:"calc",dflt:c,impliedEdits:{autocolorscale:!1}},x.autocolorscale={valType:"boolean",dflt:l.autoColorDflt!==!1,editType:"calc",impliedEdits:{colorscale:void 0}},x.reversescale={valType:"boolean",dflt:!1,editType:"plot"},o||(x.showscale={valType:"boolean",dflt:s,editType:"calc"},x.colorbar=d),l.noColorAxis||(x.coloraxis={valType:"subplotid",regex:g("coloraxis"),dflt:null,editType:"calc"}),x}},78803:function(T,p,t){var d=t(92770),g=t(71828),i=t(52075).extractOpts;T.exports=function(M,v,f){var l,a=M._fullLayout,u=f.vals,o=f.containerStr,s=o?g.nestedProperty(v,o).get():v,c=i(s),h=c.auto!==!1,m=c.min,w=c.max,y=c.mid,S=function(){return g.aggNums(Math.min,null,u)},_=function(){return g.aggNums(Math.max,null,u)};m===void 0?m=S():h&&(m=s._colorAx&&d(m)?Math.min(m,S()):S()),w===void 0?w=_():h&&(w=s._colorAx&&d(w)?Math.max(w,_()):_()),h&&y!==void 0&&(w-y>y-m?m=y-(w-y):w-y=0?a.colorscale.sequential:a.colorscale.sequentialminus,c._sync("colorscale",l))}},33046:function(T,p,t){var d=t(71828),g=t(52075).hasColorscale,i=t(52075).extractOpts;T.exports=function(M,v){function f(h,m){var w=h["_"+m];w!==void 0&&(h[m]=w)}function l(h,m){var w=m.container?d.nestedProperty(h,m.container).get():h;if(w)if(w.coloraxis)w._colorAx=v[w.coloraxis];else{var y=i(w),S=y.auto;(S||y.min===void 0)&&f(w,m.min),(S||y.max===void 0)&&f(w,m.max),y.autocolorscale&&f(w,"colorscale")}}for(var a=0;a=0;S--,_++){var k=m[S];y[_]=[1-k[0],k[1]]}return y}function c(m,w){w=w||{};for(var y=m.domain,S=m.range,_=S.length,k=new Array(_),E=0;E<_;E++){var x=g(S[E]).toRgb();k[E]=[x.r,x.g,x.b,x.a]}var A,L=d.scale.linear().domain(y).range(k).clamp(!0),b=w.noNumericCheck,R=w.returnArray;return(A=b&&R?L:b?function(I){return h(L(I))}:R?function(I){return i(I)?L(I):g(I).isValid()?I:v.defaultLine}:function(I){return i(I)?h(L(I)):g(I).isValid()?I:v.defaultLine}).domain=L.domain,A.range=function(){return S},A}function h(m){var w={r:m[0],g:m[1],b:m[2],a:m[3]};return g(w).toRgbString()}T.exports={hasColorscale:function(m,w,y){var S=w?M.nestedProperty(m,w).get()||{}:m,_=S[y||"color"],k=!1;if(M.isArrayOrTypedArray(_)){for(var E=0;E<_.length;E++)if(i(_[E])){k=!0;break}}return M.isPlainObject(S)&&(k||S.showscale===!0||i(S.cmin)&&i(S.cmax)||f(S.colorscale)||M.isPlainObject(S.colorbar))},extractOpts:u,extractScale:o,flipScale:s,makeColorScaleFunc:c,makeColorScaleFuncFromTrace:function(m,w){return c(o(m),w)}}},21081:function(T,p,t){var d=t(63282),g=t(52075);T.exports={moduleType:"component",name:"colorscale",attributes:t(50693),layoutAttributes:t(72673),supplyLayoutDefaults:t(30959),handleDefaults:t(1586),crossTraceDefaults:t(33046),calc:t(78803),scales:d.scales,defaultScale:d.defaultScale,getScale:d.get,isValidScale:d.isValid,hasColorscale:g.hasColorscale,extractOpts:g.extractOpts,extractScale:g.extractScale,flipScale:g.flipScale,makeColorScaleFunc:g.makeColorScaleFunc,makeColorScaleFuncFromTrace:g.makeColorScaleFuncFromTrace}},72673:function(T,p,t){var d=t(1426).extendFlat,g=t(50693),i=t(63282).scales;T.exports={editType:"calc",colorscale:{editType:"calc",sequential:{valType:"colorscale",dflt:i.Reds,editType:"calc"},sequentialminus:{valType:"colorscale",dflt:i.Blues,editType:"calc"},diverging:{valType:"colorscale",dflt:i.RdBu,editType:"calc"}},coloraxis:d({_isSubplotObj:!0,editType:"calc"},g("",{colorAttr:"corresponding trace color array(s)",noColorAxis:!0,showScaleDflt:!0}))}},30959:function(T,p,t){var d=t(71828),g=t(44467),i=t(72673),M=t(1586);T.exports=function(v,f){function l(w,y){return d.coerce(v,f,i,w,y)}l("colorscale.sequential"),l("colorscale.sequentialminus"),l("colorscale.diverging");var a,u,o=f._colorAxes;function s(w,y){return d.coerce(a,u,i.coloraxis,w,y)}for(var c in o){var h=o[c];if(h[0])a=v[c]||{},(u=g.newContainer(f,c,"coloraxis"))._name=c,M(a,u,f,s,{prefix:"",cLetter:"c"});else{for(var m=0;m1.3333333333333333-f?v:f}},70461:function(T,p,t){var d=t(71828),g=[["sw-resize","s-resize","se-resize"],["w-resize","move","e-resize"],["nw-resize","n-resize","ne-resize"]];T.exports=function(i,M,v,f){return i=v==="left"?0:v==="center"?1:v==="right"?2:d.constrain(Math.floor(3*i),0,2),M=f==="bottom"?0:f==="middle"?1:f==="top"?2:d.constrain(Math.floor(3*M),0,2),g[M][i]}},64505:function(T,p){p.selectMode=function(t){return t==="lasso"||t==="select"},p.drawMode=function(t){return t==="drawclosedpath"||t==="drawopenpath"||t==="drawline"||t==="drawrect"||t==="drawcircle"},p.openMode=function(t){return t==="drawline"||t==="drawopenpath"},p.rectMode=function(t){return t==="select"||t==="drawline"||t==="drawrect"||t==="drawcircle"},p.freeMode=function(t){return t==="lasso"||t==="drawclosedpath"||t==="drawopenpath"},p.selectingOrDrawing=function(t){return p.freeMode(t)||p.rectMode(t)}},28569:function(T,p,t){var d=t(48956),g=t(57035),i=t(38520),M=t(71828).removeElement,v=t(85555),f=T.exports={};f.align=t(92807),f.getCursor=t(70461);var l=t(26041);function a(){var o=document.createElement("div");o.className="dragcover";var s=o.style;return s.position="fixed",s.left=0,s.right=0,s.top=0,s.bottom=0,s.zIndex=999999999,s.background="none",document.body.appendChild(o),o}function u(o){return d(o.changedTouches?o.changedTouches[0]:o,document.body)}f.unhover=l.wrapped,f.unhoverRaw=l.raw,f.init=function(o){var s,c,h,m,w,y,S,_,k=o.gd,E=1,x=k._context.doubleClickDelay,A=o.element;k._mouseDownTime||(k._mouseDownTime=0),A.style.pointerEvents="all",A.onmousedown=b,i?(A._ontouchstart&&A.removeEventListener("touchstart",A._ontouchstart),A._ontouchstart=b,A.addEventListener("touchstart",b,{passive:!1})):A.ontouchstart=b;var L=o.clampFn||function(O,z,F){return Math.abs(O)x&&(E=Math.max(E-1,1)),k._dragged)o.doneFn&&o.doneFn();else if(o.clickFn&&o.clickFn(E,y),!_){var z;try{z=new MouseEvent("click",O)}catch{var F=u(O);(z=document.createEvent("MouseEvents")).initMouseEvent("click",O.bubbles,O.cancelable,O.view,O.detail,O.screenX,O.screenY,F[0],F[1],O.ctrlKey,O.altKey,O.shiftKey,O.metaKey,O.button,O.relatedTarget)}S.dispatchEvent(z)}k._dragging=!1,k._dragged=!1}else k._dragged=!1}},f.coverSlip=a},26041:function(T,p,t){var d=t(11086),g=t(79990),i=t(24401).getGraphDiv,M=t(26675),v=T.exports={};v.wrapped=function(f,l,a){(f=i(f))._fullLayout&&g.clear(f._fullLayout._uid+M.HOVERID),v.raw(f,l,a)},v.raw=function(f,l){var a=f._fullLayout,u=f._hoverdata;l||(l={}),l.target&&!f._dragged&&d.triggerHandler(f,"plotly_beforehover",l)===!1||(a._hoverlayer.selectAll("g").remove(),a._hoverlayer.selectAll("line").remove(),a._hoverlayer.selectAll("circle").remove(),f._hoverdata=void 0,l.target&&u&&f.emit("plotly_unhover",{event:l,points:u}))}},79952:function(T,p){p.P={valType:"string",values:["solid","dot","dash","longdash","dashdot","longdashdot"],dflt:"solid",editType:"style"},p.u={shape:{valType:"enumerated",values:["","/","\\","x","-","|","+","."],dflt:"",arrayOk:!0,editType:"style"},fillmode:{valType:"enumerated",values:["replace","overlay"],dflt:"replace",editType:"style"},bgcolor:{valType:"color",arrayOk:!0,editType:"style"},fgcolor:{valType:"color",arrayOk:!0,editType:"style"},fgopacity:{valType:"number",editType:"style",min:0,max:1},size:{valType:"number",min:0,dflt:8,arrayOk:!0,editType:"style"},solidity:{valType:"number",min:0,max:1,dflt:.3,arrayOk:!0,editType:"style"},editType:"style"}},91424:function(T,p,t){var d=t(39898),g=t(71828),i=g.numberFormat,M=t(92770),v=t(84267),f=t(73972),l=t(7901),a=t(21081),u=g.strTranslate,o=t(63893),s=t(77922),c=t(18783).LINE_SPACING,h=t(37822).DESELECTDIM,m=t(34098),w=t(39984),y=t(23469).appendArrayPointValue,S=T.exports={};function _(_e,Me,Se){var Ce=Me.fillpattern,ae=Ce&&S.getPatternAttr(Ce.shape,0,"");if(ae){var fe=S.getPatternAttr(Ce.bgcolor,0,null),be=S.getPatternAttr(Ce.fgcolor,0,null),ke=Ce.fgopacity,Le=S.getPatternAttr(Ce.size,0,8),Be=S.getPatternAttr(Ce.solidity,0,.3),ze=Me.uid;S.pattern(_e,"point",Se,ze,ae,Le,Be,void 0,Ce.fillmode,fe,be,ke)}else Me.fillcolor&&_e.call(l.fill,Me.fillcolor)}S.font=function(_e,Me,Se,Ce){g.isPlainObject(Me)&&(Ce=Me.color,Se=Me.size,Me=Me.family),Me&&_e.style("font-family",Me),Se+1&&_e.style("font-size",Se+"px"),Ce&&_e.call(l.fill,Ce)},S.setPosition=function(_e,Me,Se){_e.attr("x",Me).attr("y",Se)},S.setSize=function(_e,Me,Se){_e.attr("width",Me).attr("height",Se)},S.setRect=function(_e,Me,Se,Ce,ae){_e.call(S.setPosition,Me,Se).call(S.setSize,Ce,ae)},S.translatePoint=function(_e,Me,Se,Ce){var ae=Se.c2p(_e.x),fe=Ce.c2p(_e.y);return!!(M(ae)&&M(fe)&&Me.node())&&(Me.node().nodeName==="text"?Me.attr("x",ae).attr("y",fe):Me.attr("transform",u(ae,fe)),!0)},S.translatePoints=function(_e,Me,Se){_e.each(function(Ce){var ae=d.select(this);S.translatePoint(Ce,ae,Me,Se)})},S.hideOutsideRangePoint=function(_e,Me,Se,Ce,ae,fe){Me.attr("display",Se.isPtWithinRange(_e,ae)&&Ce.isPtWithinRange(_e,fe)?null:"none")},S.hideOutsideRangePoints=function(_e,Me){if(Me._hasClipOnAxisFalse){var Se=Me.xaxis,Ce=Me.yaxis;_e.each(function(ae){var fe=ae[0].trace,be=fe.xcalendar,ke=fe.ycalendar,Le=f.traceIs(fe,"bar-like")?".bartext":".point,.textpoint";_e.selectAll(Le).each(function(Be){S.hideOutsideRangePoint(Be,d.select(this),Se,Ce,be,ke)})})}},S.crispRound=function(_e,Me,Se){return Me&&M(Me)?_e._context.staticPlot?Me:Me<1?1:Math.round(Me):Se||0},S.singleLineStyle=function(_e,Me,Se,Ce,ae){Me.style("fill","none");var fe=(((_e||[])[0]||{}).trace||{}).line||{},be=Se||fe.width||0,ke=ae||fe.dash||"";l.stroke(Me,Ce||fe.color),S.dashLine(Me,ke,be)},S.lineGroupStyle=function(_e,Me,Se,Ce){_e.style("fill","none").each(function(ae){var fe=(((ae||[])[0]||{}).trace||{}).line||{},be=Me||fe.width||0,ke=Ce||fe.dash||"";d.select(this).call(l.stroke,Se||fe.color).call(S.dashLine,ke,be)})},S.dashLine=function(_e,Me,Se){Se=+Se||0,Me=S.dashStyle(Me,Se),_e.style({"stroke-dasharray":Me,"stroke-width":Se+"px"})},S.dashStyle=function(_e,Me){Me=+Me||1;var Se=Math.max(Me,3);return _e==="solid"?_e="":_e==="dot"?_e=Se+"px,"+Se+"px":_e==="dash"?_e=3*Se+"px,"+3*Se+"px":_e==="longdash"?_e=5*Se+"px,"+5*Se+"px":_e==="dashdot"?_e=3*Se+"px,"+Se+"px,"+Se+"px,"+Se+"px":_e==="longdashdot"&&(_e=5*Se+"px,"+2*Se+"px,"+Se+"px,"+2*Se+"px"),_e},S.singleFillStyle=function(_e,Me){var Se=d.select(_e.node());_(_e,((Se.data()[0]||[])[0]||{}).trace||{},Me)},S.fillGroupStyle=function(_e,Me){_e.style("stroke-width",0).each(function(Se){var Ce=d.select(this);Se[0].trace&&_(Ce,Se[0].trace,Me)})};var k=t(90998);S.symbolNames=[],S.symbolFuncs=[],S.symbolBackOffs=[],S.symbolNeedLines={},S.symbolNoDot={},S.symbolNoFill={},S.symbolList=[],Object.keys(k).forEach(function(_e){var Me=k[_e],Se=Me.n;S.symbolList.push(Se,String(Se),_e,Se+100,String(Se+100),_e+"-open"),S.symbolNames[Se]=_e,S.symbolFuncs[Se]=Me.f,S.symbolBackOffs[Se]=Me.backoff||0,Me.needLine&&(S.symbolNeedLines[Se]=!0),Me.noDot?S.symbolNoDot[Se]=!0:S.symbolList.push(Se+200,String(Se+200),_e+"-dot",Se+300,String(Se+300),_e+"-open-dot"),Me.noFill&&(S.symbolNoFill[Se]=!0)});var E=S.symbolNames.length;function x(_e,Me,Se,Ce){var ae=_e%100;return S.symbolFuncs[ae](Me,Se,Ce)+(_e>=200?"M0,0.5L0.5,0L0,-0.5L-0.5,0Z":"")}S.symbolNumber=function(_e){if(M(_e))_e=+_e;else if(typeof _e=="string"){var Me=0;_e.indexOf("-open")>0&&(Me=100,_e=_e.replace("-open","")),_e.indexOf("-dot")>0&&(Me+=200,_e=_e.replace("-dot","")),(_e=S.symbolNames.indexOf(_e))>=0&&(_e+=Me)}return _e%100>=E||_e>=400?0:Math.floor(Math.max(_e,0))};var A={x1:1,x2:0,y1:0,y2:0},L={x1:0,x2:0,y1:1,y2:0},b=i("~f"),R={radial:{node:"radialGradient"},radialreversed:{node:"radialGradient",reversed:!0},horizontal:{node:"linearGradient",attrs:A},horizontalreversed:{node:"linearGradient",attrs:A,reversed:!0},vertical:{node:"linearGradient",attrs:L},verticalreversed:{node:"linearGradient",attrs:L,reversed:!0}};S.gradient=function(_e,Me,Se,Ce,ae,fe){for(var be=ae.length,ke=R[Ce],Le=new Array(be),Be=0;Be=100;var Be=Pe(_e,Se),ze=Q(_e,Se);Me.attr("d",x(Le,ke,Be,ze))}var je,ge,we,Ee=!1;if(_e.so)we=be.outlierwidth,ge=be.outliercolor,je=fe.outliercolor;else{var Ve=(be||{}).width;we=(_e.mlw+1||Ve+1||(_e.trace?(_e.trace.marker.line||{}).width:0)+1)-1||0,ge="mlc"in _e?_e.mlcc=Ce.lineScale(_e.mlc):g.isArrayOrTypedArray(be.color)?l.defaultLine:be.color,g.isArrayOrTypedArray(fe.color)&&(je=l.defaultLine,Ee=!0),je="mc"in _e?_e.mcc=Ce.markerScale(_e.mc):fe.color||"rgba(0,0,0,0)",Ce.selectedColorFn&&(je=Ce.selectedColorFn(_e))}if(_e.om)Me.call(l.stroke,je).style({"stroke-width":(we||1)+"px",fill:"none"});else{Me.style("stroke-width",(_e.isBlank?0:we)+"px");var $e=fe.gradient,Ye=_e.mgt;Ye?Ee=!0:Ye=$e&&$e.type,g.isArrayOrTypedArray(Ye)&&(Ye=Ye[0],R[Ye]||(Ye=0));var st=fe.pattern,ot=st&&S.getPatternAttr(st.shape,_e.i,"");if(Ye&&Ye!=="none"){var ht=_e.mgc;ht?Ee=!0:ht=$e.color;var bt=Se.uid;Ee&&(bt+="-"+_e.i),S.gradient(Me,ae,bt,Ye,[[0,ht],[1,je]],"fill")}else if(ot){var Et=S.getPatternAttr(st.bgcolor,_e.i,null),kt=S.getPatternAttr(st.fgcolor,_e.i,null),xt=st.fgopacity,Ft=S.getPatternAttr(st.size,_e.i,8),Ot=S.getPatternAttr(st.solidity,_e.i,.3),Bt=_e.mcc||g.isArrayOrTypedArray(st.shape)||g.isArrayOrTypedArray(st.bgcolor)||g.isArrayOrTypedArray(st.size)||g.isArrayOrTypedArray(st.solidity),qt=Se.uid;Bt&&(qt+="-"+_e.i),S.pattern(Me,"point",ae,qt,ot,Ft,Ot,_e.mcc,st.fillmode,Et,kt,xt)}else l.fill(Me,je);we&&l.stroke(Me,ge)}},S.makePointStyleFns=function(_e){var Me={},Se=_e.marker;return Me.markerScale=S.tryColorscale(Se,""),Me.lineScale=S.tryColorscale(Se,"line"),f.traceIs(_e,"symbols")&&(Me.ms2mrc=m.isBubble(_e)?w(_e):function(){return(Se.size||6)/2}),_e.selectedpoints&&g.extendFlat(Me,S.makeSelectedPointStyleFns(_e)),Me},S.makeSelectedPointStyleFns=function(_e){var Me={},Se=_e.selected||{},Ce=_e.unselected||{},ae=_e.marker||{},fe=Se.marker||{},be=Ce.marker||{},ke=ae.opacity,Le=fe.opacity,Be=be.opacity,ze=Le!==void 0,je=Be!==void 0;(g.isArrayOrTypedArray(ke)||ze||je)&&(Me.selectedOpacityFn=function(ht){var bt=ht.mo===void 0?ae.opacity:ht.mo;return ht.selected?ze?Le:bt:je?Be:h*bt});var ge=ae.color,we=fe.color,Ee=be.color;(we||Ee)&&(Me.selectedColorFn=function(ht){var bt=ht.mcc||ge;return ht.selected?we||bt:Ee||bt});var Ve=ae.size,$e=fe.size,Ye=be.size,st=$e!==void 0,ot=Ye!==void 0;return f.traceIs(_e,"symbols")&&(st||ot)&&(Me.selectedSizeFn=function(ht){var bt=ht.mrc||Ve/2;return ht.selected?st?$e/2:bt:ot?Ye/2:bt}),Me},S.makeSelectedTextStyleFns=function(_e){var Me={},Se=_e.selected||{},Ce=_e.unselected||{},ae=_e.textfont||{},fe=Se.textfont||{},be=Ce.textfont||{},ke=ae.color,Le=fe.color,Be=be.color;return Me.selectedTextColorFn=function(ze){var je=ze.tc||ke;return ze.selected?Le||je:Be||(Le?je:l.addOpacity(je,h))},Me},S.selectedPointStyle=function(_e,Me){if(_e.size()&&Me.selectedpoints){var Se=S.makeSelectedPointStyleFns(Me),Ce=Me.marker||{},ae=[];Se.selectedOpacityFn&&ae.push(function(fe,be){fe.style("opacity",Se.selectedOpacityFn(be))}),Se.selectedColorFn&&ae.push(function(fe,be){l.fill(fe,Se.selectedColorFn(be))}),Se.selectedSizeFn&&ae.push(function(fe,be){var ke=be.mx||Ce.symbol||0,Le=Se.selectedSizeFn(be);fe.attr("d",x(S.symbolNumber(ke),Le,Pe(be,Me),Q(be,Me))),be.mrc2=Le}),ae.length&&_e.each(function(fe){for(var be=d.select(this),ke=0;ke0?Se:0}function N(_e,Me,Se){return Se&&(_e=q(_e)),Me?j(_e[1]):W(_e[0])}function W(_e){var Me=d.round(_e,2);return I=Me,Me}function j(_e){var Me=d.round(_e,2);return O=Me,Me}function $(_e,Me,Se,Ce){var ae=_e[0]-Me[0],fe=_e[1]-Me[1],be=Se[0]-Me[0],ke=Se[1]-Me[1],Le=Math.pow(ae*ae+fe*fe,.25),Be=Math.pow(be*be+ke*ke,.25),ze=(Be*Be*ae-Le*Le*be)*Ce,je=(Be*Be*fe-Le*Le*ke)*Ce,ge=3*Be*(Le+Be),we=3*Le*(Le+Be);return[[W(Me[0]+(ge&&ze/ge)),j(Me[1]+(ge&&je/ge))],[W(Me[0]-(we&&ze/we)),j(Me[1]-(we&&je/we))]]}S.textPointStyle=function(_e,Me,Se){if(_e.size()){var Ce;if(Me.selectedpoints){var ae=S.makeSelectedTextStyleFns(Me);Ce=ae.selectedTextColorFn}var fe=Me.texttemplate,be=Se._fullLayout;_e.each(function(ke){var Le=d.select(this),Be=fe?g.extractOption(ke,Me,"txt","texttemplate"):g.extractOption(ke,Me,"tx","text");if(Be||Be===0){if(fe){var ze=Me._module.formatLabels,je=ze?ze(ke,Me,be):{},ge={};y(ge,Me,ke.i);var we=Me._meta||{};Be=g.texttemplateString(Be,je,be._d3locale,ge,ke,we)}var Ee=ke.tp||Me.textposition,Ve=B(ke,Me),$e=Ce?Ce(ke):ke.tc||Me.textfont.color;Le.call(S.font,ke.tf||Me.textfont.family,Ve,$e).text(Be).call(o.convertToTspans,Se).call(F,Ee,Ve,ke.mrc)}else Le.remove()})}},S.selectedTextStyle=function(_e,Me){if(_e.size()&&Me.selectedpoints){var Se=S.makeSelectedTextStyleFns(Me);_e.each(function(Ce){var ae=d.select(this),fe=Se.selectedTextColorFn(Ce),be=Ce.tp||Me.textposition,ke=B(Ce,Me);l.fill(ae,fe);var Le=f.traceIs(Me,"bar-like");F(ae,be,ke,Ce.mrc2||Ce.mrc,Le)})}},S.smoothopen=function(_e,Me){if(_e.length<3)return"M"+_e.join("L");var Se,Ce="M"+_e[0],ae=[];for(Se=1;Se<_e.length-1;Se++)ae.push($(_e[Se-1],_e[Se],_e[Se+1],Me));for(Ce+="Q"+ae[0][0]+" "+_e[1],Se=2;Se<_e.length-1;Se++)Ce+="C"+ae[Se-2][1]+" "+ae[Se-1][0]+" "+_e[Se];return Ce+"Q"+ae[_e.length-3][1]+" "+_e[_e.length-1]},S.smoothclosed=function(_e,Me){if(_e.length<3)return"M"+_e.join("L")+"Z";var Se,Ce="M"+_e[0],ae=_e.length-1,fe=[$(_e[ae],_e[0],_e[1],Me)];for(Se=1;Se=Le||ht>=ze&&ht<=Le)&&(bt<=je&&bt>=Be||bt>=je&&bt<=Be)&&(_e=[ht,bt])}return _e}S.steps=function(_e){var Me=U[_e]||G;return function(Se){for(var Ce="M"+W(Se[0][0])+","+j(Se[0][1]),ae=Se.length,fe=1;fe=1e4&&(S.savedBBoxes={},H=0),Se&&(S.savedBBoxes[Se]=we),H++,g.extendFlat({},we)},S.setClipUrl=function(_e,Me,Se){_e.attr("clip-path",te(Me,Se))},S.getTranslate=function(_e){var Me=(_e[_e.attr?"attr":"getAttribute"]("transform")||"").replace(/.*\btranslate\((-?\d*\.?\d*)[^-\d]*(-?\d*\.?\d*)[^\d].*/,function(Se,Ce,ae){return[Ce,ae].join(" ")}).split(" ");return{x:+Me[0]||0,y:+Me[1]||0}},S.setTranslate=function(_e,Me,Se){var Ce=_e.attr?"attr":"getAttribute",ae=_e.attr?"attr":"setAttribute",fe=_e[Ce]("transform")||"";return Me=Me||0,Se=Se||0,fe=fe.replace(/(\btranslate\(.*?\);?)/,"").trim(),fe=(fe+=u(Me,Se)).trim(),_e[ae]("transform",fe),fe},S.getScale=function(_e){var Me=(_e[_e.attr?"attr":"getAttribute"]("transform")||"").replace(/.*\bscale\((\d*\.?\d*)[^\d]*(\d*\.?\d*)[^\d].*/,function(Se,Ce,ae){return[Ce,ae].join(" ")}).split(" ");return{x:+Me[0]||1,y:+Me[1]||1}},S.setScale=function(_e,Me,Se){var Ce=_e.attr?"attr":"getAttribute",ae=_e.attr?"attr":"setAttribute",fe=_e[Ce]("transform")||"";return Me=Me||1,Se=Se||1,fe=fe.replace(/(\bscale\(.*?\);?)/,"").trim(),fe=(fe+="scale("+Me+","+Se+")").trim(),_e[ae]("transform",fe),fe};var Z=/\s*sc.*/;S.setPointGroupScale=function(_e,Me,Se){if(Me=Me||1,Se=Se||1,_e){var Ce=Me===1&&Se===1?"":"scale("+Me+","+Se+")";_e.each(function(){var ae=(this.getAttribute("transform")||"").replace(Z,"");ae=(ae+=Ce).trim(),this.setAttribute("transform",ae)})}};var X=/translate\([^)]*\)\s*$/;function Q(_e,Me){var Se;return _e&&(Se=_e.mf),Se===void 0&&(Se=Me.marker&&Me.marker.standoff||0),Me._geo||Me._xA?Se:-Se}S.setTextPointsScale=function(_e,Me,Se){_e&&_e.each(function(){var Ce,ae=d.select(this),fe=ae.select("text");if(fe.node()){var be=parseFloat(fe.attr("x")||0),ke=parseFloat(fe.attr("y")||0),Le=(ae.attr("transform")||"").match(X);Ce=Me===1&&Se===1?[]:[u(be,ke),"scale("+Me+","+Se+")",u(-be,-ke)],Le&&Ce.push(Le),ae.attr("transform",Ce.join(""))}})},S.getMarkerStandoff=Q;var re,ie,oe,ue,ce,ye,de=Math.atan2,me=Math.cos,pe=Math.sin;function xe(_e,Me){var Se=Me[0],Ce=Me[1];return[Se*me(_e)-Ce*pe(_e),Se*pe(_e)+Ce*me(_e)]}function Pe(_e,Me){var Se,Ce,ae=_e.ma;ae===void 0&&(ae=Me.marker.angle||0);var fe=Me.marker.angleref;if(fe==="previous"||fe==="north"){if(Me._geo){var be=Me._geo.project(_e.lonlat);Se=be[0],Ce=be[1]}else{var ke=Me._xA,Le=Me._yA;if(!ke||!Le)return 90;Se=ke.c2p(_e.x),Ce=Le.c2p(_e.y)}if(Me._geo){var Be,ze=_e.lonlat[0],je=_e.lonlat[1],ge=Me._geo.project([ze,je+1e-5]),we=Me._geo.project([ze+1e-5,je]),Ee=de(we[1]-Ce,we[0]-Se),Ve=de(ge[1]-Ce,ge[0]-Se);if(fe==="north")Be=ae/180*Math.PI;else if(fe==="previous"){var $e=ze/180*Math.PI,Ye=je/180*Math.PI,st=re/180*Math.PI,ot=ie/180*Math.PI,ht=st-$e,bt=me(ot)*pe(ht),Et=pe(ot)*me(Ye)-me(ot)*pe(Ye)*me(ht);Be=-de(bt,Et)-Math.PI,re=ze,ie=je}var kt=xe(Ee,[me(Be),0]),xt=xe(Ve,[pe(Be),0]);ae=de(kt[1]+xt[1],kt[0]+xt[0])/Math.PI*180,fe!=="previous"||ye===Me.uid&&_e.i===ce+1||(ae=null)}if(fe==="previous"&&!Me._geo)if(ye===Me.uid&&_e.i===ce+1&&M(Se)&&M(Ce)){var Ft=Se-oe,Ot=Ce-ue,Bt=Me.line&&Me.line.shape||"",qt=Bt.slice(Bt.length-1);qt==="h"&&(Ot=0),qt==="v"&&(Ft=0),ae+=de(Ot,Ft)/Math.PI*180+90}else ae=null}return oe=Se,ue=Ce,ce=_e.i,ye=Me.uid,ae}S.getMarkerAngle=Pe},90998:function(T,p,t){var d,g,i,M,v=t(95616),f=t(39898).round,l="M0,0Z",a=Math.sqrt(2),u=Math.sqrt(3),o=Math.PI,s=Math.cos,c=Math.sin;function h(w){return w===null}function m(w,y,S){if(!(w&&w%360!=0||y))return S;if(i===w&&M===y&&d===S)return g;function _(N,W){var j=s(N),$=c(N),U=W[0],G=W[1]+(y||0);return[U*j-G*$,U*$+G*j]}i=w,M=y,d=S;for(var k=w/180*o,E=0,x=0,A=v(S),L="",b=0;b0,c=v._context.staticPlot;f.each(function(h){var m,w=h[0].trace,y=w.error_x||{},S=w.error_y||{};w.ids&&(m=function(x){return x.id});var _=M.hasMarkers(w)&&w.marker.maxdisplayed>0;S.visible||y.visible||(h=[]);var k=d.select(this).selectAll("g.errorbar").data(h,m);if(k.exit().remove(),h.length){y.visible||k.selectAll("path.xerror").remove(),S.visible||k.selectAll("path.yerror").remove(),k.style("opacity",1);var E=k.enter().append("g").classed("errorbar",!0);s&&E.style("opacity",0).transition().duration(a.duration).style("opacity",1),i.setClipUrl(k,l.layerClipId,v),k.each(function(x){var A=d.select(this),L=function(F,B,N){var W={x:B.c2p(F.x),y:N.c2p(F.y)};return F.yh!==void 0&&(W.yh=N.c2p(F.yh),W.ys=N.c2p(F.ys),g(W.ys)||(W.noYS=!0,W.ys=N.c2p(F.ys,!0))),F.xh!==void 0&&(W.xh=B.c2p(F.xh),W.xs=B.c2p(F.xs),g(W.xs)||(W.noXS=!0,W.xs=B.c2p(F.xs,!0))),W}(x,u,o);if(!_||x.vis){var b,R=A.select("path.yerror");if(S.visible&&g(L.x)&&g(L.yh)&&g(L.ys)){var I=S.width;b="M"+(L.x-I)+","+L.yh+"h"+2*I+"m-"+I+",0V"+L.ys,L.noYS||(b+="m-"+I+",0h"+2*I),R.size()?s&&(R=R.transition().duration(a.duration).ease(a.easing)):R=A.append("path").style("vector-effect",c?"none":"non-scaling-stroke").classed("yerror",!0),R.attr("d",b)}else R.remove();var O=A.select("path.xerror");if(y.visible&&g(L.y)&&g(L.xh)&&g(L.xs)){var z=(y.copy_ystyle?S:y).width;b="M"+L.xh+","+(L.y-z)+"v"+2*z+"m0,-"+z+"H"+L.xs,L.noXS||(b+="m0,-"+z+"v"+2*z),O.size()?s&&(O=O.transition().duration(a.duration).ease(a.easing)):O=A.append("path").style("vector-effect",c?"none":"non-scaling-stroke").classed("xerror",!0),O.attr("d",b)}else O.remove()}})}})}},62662:function(T,p,t){var d=t(39898),g=t(7901);T.exports=function(i){i.each(function(M){var v=M[0].trace,f=v.error_y||{},l=v.error_x||{},a=d.select(this);a.selectAll("path.yerror").style("stroke-width",f.thickness+"px").call(g.stroke,f.color),l.copy_ystyle&&(l=f),a.selectAll("path.xerror").style("stroke-width",l.thickness+"px").call(g.stroke,l.color)})}},77914:function(T,p,t){var d=t(41940),g=t(528).hoverlabel,i=t(1426).extendFlat;T.exports={hoverlabel:{bgcolor:i({},g.bgcolor,{arrayOk:!0}),bordercolor:i({},g.bordercolor,{arrayOk:!0}),font:d({arrayOk:!0,editType:"none"}),align:i({},g.align,{arrayOk:!0}),namelength:i({},g.namelength,{arrayOk:!0}),editType:"none"}}},30732:function(T,p,t){var d=t(71828),g=t(73972);function i(M,v,f,l){l=l||d.identity,Array.isArray(M)&&(v[0][f]=l(M))}T.exports=function(M){var v=M.calcdata,f=M._fullLayout;function l(c){return function(h){return d.coerceHoverinfo({hoverinfo:h},{_module:c._module},f)}}for(var a=0;a=0&&u.indexae[0]._length||Je<0||Je>fe[0]._length)return c.unhoverRaw(ue,ce)}else Ke="xpx"in ce?ce.xpx:ae[0]._length/2,Je="ypx"in ce?ce.ypx:fe[0]._length/2;if(ce.pointerX=Ke+ae[0]._offset,ce.pointerY=Je+fe[0]._offset,we="xval"in ce?w.flat(pe,ce.xval):w.p2c(ae,Ke),Ee="yval"in ce?w.flat(pe,ce.yval):w.p2c(fe,Je),!g(we[0])||!g(Ee[0]))return M.warn("Fx.hover failed",ce,ue),c.unhoverRaw(ue,ce)}var ft=1/0;function Re(Kt,bn){for($e=0;$eFt&&(Ot.splice(0,Ft),ft=Ot[0].distance),Me&&ge!==0&&Ot.length===0){xt.distance=ge,xt.index=!1;var $n=st._module.hoverPoints(xt,Et,kt,"closest",{hoverLayer:xe._hoverlayer});if($n&&($n=$n.filter(function(Jt){return Jt.spikeDistance<=ge})),$n&&$n.length){var tr,mr=$n.filter(function(Jt){return Jt.xa.showspikes&&Jt.xa.spikesnap!=="hovered data"});if(mr.length){var nn=mr[0];g(nn.x0)&&g(nn.y0)&&(tr=Qe(nn),(!qt.vLinePoint||qt.vLinePoint.spikeDistance>tr.spikeDistance)&&(qt.vLinePoint=tr))}var Pn=$n.filter(function(Jt){return Jt.ya.showspikes&&Jt.ya.spikesnap!=="hovered data"});if(Pn.length){var jt=Pn[0];g(jt.x0)&&g(jt.y0)&&(tr=Qe(jt),(!qt.hLinePoint||qt.hLinePoint.spikeDistance>tr.spikeDistance)&&(qt.hLinePoint=tr))}}}}}function Ne(Kt,bn,Rn){for(var Ln,Un=null,Kn=1/0,$n=0;$n0&&Math.abs(Kt.distance)Yt-1;Wt--)xn(Ot[Wt]);Ot=Xt,It()}var un=ue._hoverdata,An=[],Yn=ne(ue),kn=te(ue);for(Ve=0;Ve1||Ot.length>1)||ze==="closest"&&Vt&&Ot.length>1,yr=s.combine(xe.plot_bgcolor||s.background,xe.paper_bgcolor),or=B(Ot,{gd:ue,hovermode:ze,rotateLabels:Sr,bgColor:yr,container:xe._hoverlayer,outerContainer:xe._paper.node(),commonLabelOpts:xe.hoverlabel,hoverdistance:xe.hoverdistance}),vr=or.hoverLabels;if(w.isUnifiedHover(ze)||(function(Kt,bn,Rn,Ln){var Un,Kn,$n,tr,mr,nn,Pn,jt=bn?"xa":"ya",Jt=bn?"ya":"xa",hn=0,zn=1,On=Kt.size(),En=new Array(On),mn=0,wn=Ln.minX,gn=Ln.maxX,yn=Ln.minY,Sn=Ln.maxY,Vn=function(Lr){return Lr*Rn._invScaleX},Xn=function(Lr){return Lr*Rn._invScaleY};function nr(Lr){var zr=Lr[0],gr=Lr[Lr.length-1];if(Kn=zr.pmin-zr.pos-zr.dp+zr.size,$n=gr.pos+gr.dp+gr.size-zr.pmax,Kn>.01){for(mr=Lr.length-1;mr>=0;mr--)Lr[mr].dp+=Kn;Un=!1}if(!($n<.01)){if(Kn<-.01){for(mr=Lr.length-1;mr>=0;mr--)Lr[mr].dp-=$n;Un=!1}if(Un){var Fr=0;for(tr=0;trzr.pmax&&Fr++;for(tr=Lr.length-1;tr>=0&&!(Fr<=0);tr--)(nn=Lr[tr]).pos>zr.pmax-1&&(nn.del=!0,Fr--);for(tr=0;tr=0;mr--)Lr[mr].dp-=$n;for(tr=Lr.length-1;tr>=0&&!(Fr<=0);tr--)(nn=Lr[tr]).pos+nn.dp+nn.size>zr.pmax&&(nn.del=!0,Fr--)}}}for(Kt.each(function(Lr){var zr=Lr[jt],gr=Lr[Jt],Fr=zr._id.charAt(0)==="x",ii=zr.range;mn===0&&ii&&ii[0]>ii[1]!==Fr&&(zn=-1);var ji=0,ea=Fr?Rn.width:Rn.height;if(Rn.hovermode==="x"||Rn.hovermode==="y"){var sa,uo,La=W(Lr,bn),Xi=Lr.anchor,Do=Xi==="end"?-1:1;if(Xi==="middle")uo=(sa=Lr.crossPos+(Fr?Xn(La.y-Lr.by/2):Vn(Lr.bx/2+Lr.tx2width/2)))+(Fr?Xn(Lr.by):Vn(Lr.bx));else if(Fr)uo=(sa=Lr.crossPos+Xn(b+La.y)-Xn(Lr.by/2-b))+Xn(Lr.by);else{var rs=Vn(Do*b+La.x),el=rs+Vn(Do*Lr.bx);sa=Lr.crossPos+Math.min(rs,el),uo=Lr.crossPos+Math.max(rs,el)}Fr?yn!==void 0&&Sn!==void 0&&Math.min(uo,Sn)-Math.max(sa,yn)>1&&(gr.side==="left"?(ji=gr._mainLinePosition,ea=Rn.width):ea=gr._mainLinePosition):wn!==void 0&&gn!==void 0&&Math.min(uo,gn)-Math.max(sa,wn)>1&&(gr.side==="top"?(ji=gr._mainLinePosition,ea=Rn.height):ea=gr._mainLinePosition)}En[mn++]=[{datum:Lr,traceIndex:Lr.trace.index,dp:0,pos:Lr.pos,posref:Lr.posref,size:Lr.by*(Fr?x:1)/2,pmin:ji,pmax:ea}]}),En.sort(function(Lr,zr){return Lr[0].posref-zr[0].posref||zn*(zr[0].traceIndex-Lr[0].traceIndex)});!Un&&hn<=On;){for(hn++,Un=!0,tr=0;tr.01&&cr.pmin===pr.pmin&&cr.pmax===pr.pmax){for(mr=hr.length-1;mr>=0;mr--)hr[mr].dp+=Kn;for(Qn.push.apply(Qn,hr),En.splice(tr+1,1),Pn=0,mr=Qn.length-1;mr>=0;mr--)Pn+=Qn[mr].dp;for($n=Pn/Qn.length,mr=Qn.length-1;mr>=0;mr--)Qn[mr].dp-=$n;Un=!1}else tr++}En.forEach(nr)}for(tr=En.length-1;tr>=0;tr--){var dr=En[tr];for(mr=dr.length-1;mr>=0;mr--){var br=dr[mr],Ir=br.datum;Ir.offset=br.dp,Ir.del=br.del}}}(vr,Sr,xe,or.commonLabelBoundingBox),j(vr,Sr,xe._invScaleX,xe._invScaleY)),me&&me.tagName){var _r=m.getComponentMethod("annotations","hasClickToShow")(ue,An);u(d.select(me),_r?"pointer":"")}me&&!de&&function(Kt,bn,Rn){if(!Rn||Rn.length!==Kt._hoverdata.length)return!0;for(var Ln=Rn.length-1;Ln>=0;Ln--){var Un=Rn[Ln],Kn=Kt._hoverdata[Ln];if(Un.curveNumber!==Kn.curveNumber||String(Un.pointNumber)!==String(Kn.pointNumber)||String(Un.pointNumbers)!==String(Kn.pointNumbers))return!0}return!1}(ue,0,un)&&(un&&ue.emit("plotly_unhover",{event:ce,points:un}),ue.emit("plotly_hover",{event:ce,points:ue._hoverdata,xaxes:ae,yaxes:fe,xvals:we,yvals:Ee}))})(X,Q,re,ie,oe)})},p.loneHover=function(X,Q){var re=!0;Array.isArray(X)||(re=!1,X=[X]);var ie=Q.gd,oe=ne(ie),ue=te(ie),ce=B(X.map(function(me){var pe=me._x0||me.x0||me.x||0,xe=me._x1||me.x1||me.x||0,Pe=me._y0||me.y0||me.y||0,_e=me._y1||me.y1||me.y||0,Me=me.eventData;if(Me){var Se=Math.min(pe,xe),Ce=Math.max(pe,xe),ae=Math.min(Pe,_e),fe=Math.max(Pe,_e),be=me.trace;if(m.traceIs(be,"gl3d")){var ke=ie._fullLayout[be.scene]._scene.container,Le=ke.offsetLeft,Be=ke.offsetTop;Se+=Le,Ce+=Le,ae+=Be,fe+=Be}Me.bbox={x0:Se+ue,x1:Ce+ue,y0:ae+oe,y1:fe+oe},Q.inOut_bbox&&Q.inOut_bbox.push(Me.bbox)}else Me=!1;return{color:me.color||s.defaultLine,x0:me.x0||me.x||0,x1:me.x1||me.x||0,y0:me.y0||me.y||0,y1:me.y1||me.y||0,xLabel:me.xLabel,yLabel:me.yLabel,zLabel:me.zLabel,text:me.text,name:me.name,idealAlign:me.idealAlign,borderColor:me.borderColor,fontFamily:me.fontFamily,fontSize:me.fontSize,fontColor:me.fontColor,nameLength:me.nameLength,textAlign:me.textAlign,trace:me.trace||{index:0,hoverinfo:""},xa:{_offset:0},ya:{_offset:0},index:0,hovertemplate:me.hovertemplate||!1,hovertemplateLabels:me.hovertemplateLabels||!1,eventData:Me}}),{gd:ie,hovermode:"closest",rotateLabels:!1,bgColor:Q.bgColor||s.background,container:d.select(Q.container),outerContainer:Q.outerContainer||Q.container}).hoverLabels,ye=0,de=0;return ce.sort(function(me,pe){return me.y0-pe.y0}).each(function(me,pe){var xe=me.y0-me.by/2;me.offset=xe-5([\s\S]*)<\/extra>/;function B(X,Q){var re=Q.gd,ie=re._fullLayout,oe=Q.hovermode,ue=Q.rotateLabels,ce=Q.bgColor,ye=Q.container,de=Q.outerContainer,me=Q.commonLabelOpts||{};if(X.length===0)return[[]];var pe=Q.fontFamily||y.HOVERFONT,xe=Q.fontSize||y.HOVERFONTSIZE,Pe=X[0],_e=Pe.xa,Me=Pe.ya,Se=oe.charAt(0),Ce=Se+"Label",ae=Pe[Ce];if(ae===void 0&&_e.type==="multicategory")for(var fe=0;feie.width-kn?(xn=ie.width-kn,Nt.attr("d","M"+(kn-b)+",0L"+kn+","+Yn+b+"v"+Yn+(2*R+An.height)+"H-"+kn+"V"+Yn+b+"H"+(kn-2*b)+"Z")):Nt.attr("d","M0,0L"+b+","+Yn+b+"H"+kn+"v"+Yn+(2*R+An.height)+"H-"+kn+"V"+Yn+b+"H-"+b+"Z"),$e.minX=xn-kn,$e.maxX=xn+kn,_e.side==="top"?($e.minY=un-(2*R+An.height),$e.maxY=un-R):($e.minY=un+R,$e.maxY=un+(2*R+An.height))}else{var sn,Tn,dn;Me.side==="right"?(sn="start",Tn=1,dn="",xn=_e._offset+_e._length):(sn="end",Tn=-1,dn="-",xn=_e._offset),un=Me._offset+(Pe.y0+Pe.y1)/2,Yt.attr("text-anchor",sn),Nt.attr("d","M0,0L"+dn+b+","+b+"V"+(R+An.height/2)+"h"+dn+(2*R+An.width)+"V-"+(R+An.height/2)+"H"+dn+b+"V-"+b+"Z"),$e.minY=un-(R+An.height/2),$e.maxY=un+(R+An.height/2),Me.side==="right"?($e.minX=xn+b,$e.maxX=xn+b+(2*R+An.width)):($e.minX=xn-b-(2*R+An.width),$e.maxX=xn-b);var pn,Dn=An.height/2,In=ke-An.top-Dn,jn="clip"+ie._uid+"commonlabel"+Me._id;if(xn=0?Je:qe+Re=0?qe:yt+Re=0?Vt:Ke+Ne=0?Ke:Pt+Ne=0,Rt.idealAlign!=="top"&&rr||!Sr?rr?(Dn+=jn/2,Rt.anchor="start"):Rt.anchor="middle":(Dn-=jn/2,Rt.anchor="end"),Rt.crossPos=Dn;else{if(Rt.pos=Dn,rr=pn+In/2+yr<=Le,Sr=pn-In/2-yr>=0,Rt.idealAlign!=="left"&&rr||!Sr)if(rr)pn+=In/2,Rt.anchor="start";else{Rt.anchor="middle";var or=yr/2,vr=pn+or-Le,_r=pn-or;vr>0&&(pn-=vr),_r<0&&(pn+=-_r)}else pn-=In/2,Rt.anchor="end";Rt.crossPos=pn}Yn.attr("text-anchor",Rt.anchor),sn&&kn.attr("text-anchor",Rt.anchor),Nt.attr("transform",v(pn,Dn)+(ue?f(k):""))}),{hoverLabels:wt,commonLabelBoundingBox:$e}}function N(X,Q,re,ie,oe,ue){var ce="",ye="";X.nameOverride!==void 0&&(X.name=X.nameOverride),X.name&&(X.trace._meta&&(X.name=M.templateString(X.name,X.trace._meta)),ce=q(X.name,X.nameLength));var de=re.charAt(0),me=de==="x"?"y":"x";X.zLabel!==void 0?(X.xLabel!==void 0&&(ye+="x: "+X.xLabel+"
"),X.yLabel!==void 0&&(ye+="y: "+X.yLabel+"
"),X.trace.type!=="choropleth"&&X.trace.type!=="choroplethmapbox"&&(ye+=(ye?"z: ":"")+X.zLabel)):Q&&X[de+"Label"]===oe?ye=X[me+"Label"]||"":X.xLabel===void 0?X.yLabel!==void 0&&X.trace.type!=="scattercarpet"&&(ye=X.yLabel):ye=X.yLabel===void 0?X.xLabel:"("+X.xLabel+", "+X.yLabel+")",!X.text&&X.text!==0||Array.isArray(X.text)||(ye+=(ye?"
":"")+X.text),X.extraText!==void 0&&(ye+=(ye?"
":"")+X.extraText),ue&&ye===""&&!X.hovertemplate&&(ce===""&&ue.remove(),ye=ce);var pe=X.hovertemplate||!1;if(pe){var xe=X.hovertemplateLabels||X;X[de+"Label"]!==oe&&(xe[de+"other"]=xe[de+"Val"],xe[de+"otherLabel"]=xe[de+"Label"]),ye=(ye=M.hovertemplateString(pe,xe,ie._d3locale,X.eventData[0]||{},X.trace._meta)).replace(F,function(Pe,_e){return ce=q(_e,X.nameLength),""})}return[ye,ce]}function W(X,Q){var re=0,ie=X.offset;return Q&&(ie*=-L,re=X.offset*A),{x:re,y:ie}}function j(X,Q,re,ie){var oe=function(ce){return ce*re},ue=function(ce){return ce*ie};X.each(function(ce){var ye=d.select(this);if(ce.del)return ye.remove();var de,me,pe,xe,Pe=ye.select("text.nums"),_e=ce.anchor,Me=_e==="end"?-1:1,Se=(xe=(pe=(me={start:1,end:-1,middle:0}[(de=ce).anchor])*(b+R))+me*(de.txwidth+R),de.anchor==="middle"&&(pe-=de.tx2width/2,xe+=de.txwidth/2+R),{alignShift:me,textShiftX:pe,text2ShiftX:xe}),Ce=W(ce,Q),ae=Ce.x,fe=Ce.y,be=_e==="middle";ye.select("path").attr("d",be?"M-"+oe(ce.bx/2+ce.tx2width/2)+","+ue(fe-ce.by/2)+"h"+oe(ce.bx)+"v"+ue(ce.by)+"h-"+oe(ce.bx)+"Z":"M0,0L"+oe(Me*b+ae)+","+ue(b+fe)+"v"+ue(ce.by/2-b)+"h"+oe(Me*ce.bx)+"v-"+ue(ce.by)+"H"+oe(Me*b+ae)+"V"+ue(fe-b)+"Z");var ke=ae+Se.textShiftX,Le=fe+ce.ty0-ce.by/2+R,Be=ce.textAlign||"auto";Be!=="auto"&&(Be==="left"&&_e!=="start"?(Pe.attr("text-anchor","start"),ke=be?-ce.bx/2-ce.tx2width/2+R:-ce.bx-R):Be==="right"&&_e!=="end"&&(Pe.attr("text-anchor","end"),ke=be?ce.bx/2-ce.tx2width/2-R:ce.bx+R)),Pe.call(a.positionText,oe(ke),ue(Le)),ce.tx2width&&(ye.select("text.name").call(a.positionText,oe(Se.text2ShiftX+Se.alignShift*R+ae),ue(fe+ce.ty0-ce.by/2+R)),ye.select("rect").call(o.setRect,oe(Se.text2ShiftX+(Se.alignShift-1)*ce.tx2width/2+ae),ue(fe-ce.by/2-1),oe(ce.tx2width),ue(ce.by+2)))})}function $(X,Q){var re=X.index,ie=X.trace||{},oe=X.cd[0],ue=X.cd[re]||{};function ce(Pe){return Pe||g(Pe)&&Pe===0}var ye=Array.isArray(re)?function(Pe,_e){var Me=M.castOption(oe,re,Pe);return ce(Me)?Me:M.extractOption({},ie,"",_e)}:function(Pe,_e){return M.extractOption(ue,ie,Pe,_e)};function de(Pe,_e,Me){var Se=ye(_e,Me);ce(Se)&&(X[Pe]=Se)}if(de("hoverinfo","hi","hoverinfo"),de("bgcolor","hbg","hoverlabel.bgcolor"),de("borderColor","hbc","hoverlabel.bordercolor"),de("fontFamily","htf","hoverlabel.font.family"),de("fontSize","hts","hoverlabel.font.size"),de("fontColor","htc","hoverlabel.font.color"),de("nameLength","hnl","hoverlabel.namelength"),de("textAlign","hta","hoverlabel.align"),X.posref=Q==="y"||Q==="closest"&&ie.orientation==="h"?X.xa._offset+(X.x0+X.x1)/2:X.ya._offset+(X.y0+X.y1)/2,X.x0=M.constrain(X.x0,0,X.xa._length),X.x1=M.constrain(X.x1,0,X.xa._length),X.y0=M.constrain(X.y0,0,X.ya._length),X.y1=M.constrain(X.y1,0,X.ya._length),X.xLabelVal!==void 0&&(X.xLabel="xLabel"in X?X.xLabel:h.hoverLabelText(X.xa,X.xLabelVal,ie.xhoverformat),X.xVal=X.xa.c2d(X.xLabelVal)),X.yLabelVal!==void 0&&(X.yLabel="yLabel"in X?X.yLabel:h.hoverLabelText(X.ya,X.yLabelVal,ie.yhoverformat),X.yVal=X.ya.c2d(X.yLabelVal)),X.zLabelVal!==void 0&&X.zLabel===void 0&&(X.zLabel=String(X.zLabelVal)),!(isNaN(X.xerr)||X.xa.type==="log"&&X.xerr<=0)){var me=h.tickText(X.xa,X.xa.c2l(X.xerr),"hover").text;X.xerrneg!==void 0?X.xLabel+=" +"+me+" / -"+h.tickText(X.xa,X.xa.c2l(X.xerrneg),"hover").text:X.xLabel+=" ± "+me,Q==="x"&&(X.distance+=1)}if(!(isNaN(X.yerr)||X.ya.type==="log"&&X.yerr<=0)){var pe=h.tickText(X.ya,X.ya.c2l(X.yerr),"hover").text;X.yerrneg!==void 0?X.yLabel+=" +"+pe+" / -"+h.tickText(X.ya,X.ya.c2l(X.yerrneg),"hover").text:X.yLabel+=" ± "+pe,Q==="y"&&(X.distance+=1)}var xe=X.hoverinfo||X.trace.hoverinfo;return xe&&xe!=="all"&&((xe=Array.isArray(xe)?xe:xe.split("+")).indexOf("x")===-1&&(X.xLabel=void 0),xe.indexOf("y")===-1&&(X.yLabel=void 0),xe.indexOf("z")===-1&&(X.zLabel=void 0),xe.indexOf("text")===-1&&(X.text=void 0),xe.indexOf("name")===-1&&(X.name=void 0)),X}function U(X,Q,re){var ie,oe,ue=re.container,ce=re.fullLayout,ye=ce._size,de=re.event,me=!!Q.hLinePoint,pe=!!Q.vLinePoint;if(ue.selectAll(".spikeline").remove(),pe||me){var xe=s.combine(ce.plot_bgcolor,ce.paper_bgcolor);if(me){var Pe,_e,Me=Q.hLinePoint;ie=Me&&Me.xa,(oe=Me&&Me.ya).spikesnap==="cursor"?(Pe=de.pointerX,_e=de.pointerY):(Pe=ie._offset+Me.x,_e=oe._offset+Me.y);var Se,Ce,ae=i.readability(Me.color,xe)<1.5?s.contrast(xe):Me.color,fe=oe.spikemode,be=oe.spikethickness,ke=oe.spikecolor||ae,Le=h.getPxPosition(X,oe);if(fe.indexOf("toaxis")!==-1||fe.indexOf("across")!==-1){if(fe.indexOf("toaxis")!==-1&&(Se=Le,Ce=Pe),fe.indexOf("across")!==-1){var Be=oe._counterDomainMin,ze=oe._counterDomainMax;oe.anchor==="free"&&(Be=Math.min(Be,oe.position),ze=Math.max(ze,oe.position)),Se=ye.l+Be*ye.w,Ce=ye.l+ze*ye.w}ue.insert("line",":first-child").attr({x1:Se,x2:Ce,y1:_e,y2:_e,"stroke-width":be,stroke:ke,"stroke-dasharray":o.dashStyle(oe.spikedash,be)}).classed("spikeline",!0).classed("crisp",!0),ue.insert("line",":first-child").attr({x1:Se,x2:Ce,y1:_e,y2:_e,"stroke-width":be+2,stroke:xe}).classed("spikeline",!0).classed("crisp",!0)}fe.indexOf("marker")!==-1&&ue.insert("circle",":first-child").attr({cx:Le+(oe.side!=="right"?be:-be),cy:_e,r:be,fill:ke}).classed("spikeline",!0)}if(pe){var je,ge,we=Q.vLinePoint;ie=we&&we.xa,oe=we&&we.ya,ie.spikesnap==="cursor"?(je=de.pointerX,ge=de.pointerY):(je=ie._offset+we.x,ge=oe._offset+we.y);var Ee,Ve,$e=i.readability(we.color,xe)<1.5?s.contrast(xe):we.color,Ye=ie.spikemode,st=ie.spikethickness,ot=ie.spikecolor||$e,ht=h.getPxPosition(X,ie);if(Ye.indexOf("toaxis")!==-1||Ye.indexOf("across")!==-1){if(Ye.indexOf("toaxis")!==-1&&(Ee=ht,Ve=ge),Ye.indexOf("across")!==-1){var bt=ie._counterDomainMin,Et=ie._counterDomainMax;ie.anchor==="free"&&(bt=Math.min(bt,ie.position),Et=Math.max(Et,ie.position)),Ee=ye.t+(1-Et)*ye.h,Ve=ye.t+(1-bt)*ye.h}ue.insert("line",":first-child").attr({x1:je,x2:je,y1:Ee,y2:Ve,"stroke-width":st,stroke:ot,"stroke-dasharray":o.dashStyle(ie.spikedash,st)}).classed("spikeline",!0).classed("crisp",!0),ue.insert("line",":first-child").attr({x1:je,x2:je,y1:Ee,y2:Ve,"stroke-width":st+2,stroke:xe}).classed("spikeline",!0).classed("crisp",!0)}Ye.indexOf("marker")!==-1&&ue.insert("circle",":first-child").attr({cx:je,cy:ht-(ie.side!=="top"?st:-st),r:st,fill:ot}).classed("spikeline",!0)}}}function G(X,Q){return!Q||Q.vLinePoint!==X._spikepoints.vLinePoint||Q.hLinePoint!==X._spikepoints.hLinePoint}function q(X,Q){return a.plainText(X||"",{len:Q,allowedTags:["br","sub","sup","b","i","em"]})}function H(X,Q,re){var ie=Q[X+"a"],oe=Q[X+"Val"],ue=Q.cd[0];if(ie.type==="category"||ie.type==="multicategory")oe=ie._categoriesMap[oe];else if(ie.type==="date"){var ce=Q.trace[X+"periodalignment"];if(ce){var ye=Q.cd[Q.index],de=ye[X+"Start"];de===void 0&&(de=ye[X]);var me=ye[X+"End"];me===void 0&&(me=ye[X]);var pe=me-de;ce==="end"?oe+=pe:ce==="middle"&&(oe+=pe/2)}oe=ie.d2c(oe)}return ue&&ue.t&&ue.t.posLetter===ie._id&&(re.boxmode!=="group"&&re.violinmode!=="group"||(oe+=ue.t.dPos)),oe}function ne(X){return X.offsetTop+X.clientTop}function te(X){return X.offsetLeft+X.clientLeft}function Z(X,Q){var re=X._fullLayout,ie=Q.getBoundingClientRect(),oe=ie.left,ue=ie.top,ce=oe+ie.width,ye=ue+ie.height,de=M.apply3DTransform(re._invTransform)(oe,ue),me=M.apply3DTransform(re._invTransform)(ce,ye),pe=de[0],xe=de[1],Pe=me[0],_e=me[1];return{x:pe,y:xe,width:Pe-pe,height:_e-xe,top:Math.min(xe,_e),left:Math.min(pe,Pe),right:Math.max(pe,Pe),bottom:Math.max(xe,_e)}}},38048:function(T,p,t){var d=t(71828),g=t(7901),i=t(23469).isUnifiedHover;T.exports=function(M,v,f,l){l=l||{};var a=v.legend;function u(o){l.font[o]||(l.font[o]=a?v.legend.font[o]:v.font[o])}v&&i(v.hovermode)&&(l.font||(l.font={}),u("size"),u("family"),u("color"),a?(l.bgcolor||(l.bgcolor=g.combine(v.legend.bgcolor,v.paper_bgcolor)),l.bordercolor||(l.bordercolor=v.legend.bordercolor)):l.bgcolor||(l.bgcolor=v.paper_bgcolor)),f("hoverlabel.bgcolor",l.bgcolor),f("hoverlabel.bordercolor",l.bordercolor),f("hoverlabel.namelength",l.namelength),d.coerceFont(f,"hoverlabel.font",l.font),f("hoverlabel.align",l.align)}},98212:function(T,p,t){var d=t(71828),g=t(528);T.exports=function(i,M){function v(f,l){return M[f]!==void 0?M[f]:d.coerce(i,M,g,f,l)}return v("clickmode"),v("hovermode")}},30211:function(T,p,t){var d=t(39898),g=t(71828),i=t(28569),M=t(23469),v=t(528),f=t(88335);T.exports={moduleType:"component",name:"fx",constants:t(26675),schema:{layout:v},attributes:t(77914),layoutAttributes:v,supplyLayoutGlobalDefaults:t(22774),supplyDefaults:t(54268),supplyLayoutDefaults:t(34938),calc:t(30732),getDistanceFunction:M.getDistanceFunction,getClosest:M.getClosest,inbox:M.inbox,quadrature:M.quadrature,appendArrayPointValue:M.appendArrayPointValue,castHoverOption:function(l,a,u){return g.castOption(l,a,"hoverlabel."+u)},castHoverinfo:function(l,a,u){return g.castOption(l,u,"hoverinfo",function(o){return g.coerceHoverinfo({hoverinfo:o},{_module:l._module},a)})},hover:f.hover,unhover:i.unhover,loneHover:f.loneHover,loneUnhover:function(l){var a=g.isD3Selection(l)?l:d.select(l);a.selectAll("g.hovertext").remove(),a.selectAll(".spikeline").remove()},click:t(75914)}},528:function(T,p,t){var d=t(26675),g=t(41940),i=g({editType:"none"});i.family.dflt=d.HOVERFONT,i.size.dflt=d.HOVERFONTSIZE,T.exports={clickmode:{valType:"flaglist",flags:["event","select"],dflt:"event",editType:"plot",extras:["none"]},dragmode:{valType:"enumerated",values:["zoom","pan","select","lasso","drawclosedpath","drawopenpath","drawline","drawrect","drawcircle","orbit","turntable",!1],dflt:"zoom",editType:"modebar"},hovermode:{valType:"enumerated",values:["x","y","closest",!1,"x unified","y unified"],dflt:"closest",editType:"modebar"},hoverdistance:{valType:"integer",min:-1,dflt:20,editType:"none"},spikedistance:{valType:"integer",min:-1,dflt:-1,editType:"none"},hoverlabel:{bgcolor:{valType:"color",editType:"none"},bordercolor:{valType:"color",editType:"none"},font:i,grouptitlefont:g({editType:"none"}),align:{valType:"enumerated",values:["left","right","auto"],dflt:"auto",editType:"none"},namelength:{valType:"integer",min:-1,dflt:15,editType:"none"},editType:"none"},selectdirection:{valType:"enumerated",values:["h","v","d","any"],dflt:"any",editType:"none"}}},34938:function(T,p,t){var d=t(71828),g=t(528),i=t(98212),M=t(38048);T.exports=function(v,f){function l(s,c){return d.coerce(v,f,g,s,c)}i(v,f)&&(l("hoverdistance"),l("spikedistance")),l("dragmode")==="select"&&l("selectdirection");var a=f._has("mapbox"),u=f._has("geo"),o=f._basePlotModules.length;f.dragmode==="zoom"&&((a||u)&&o===1||a&&u&&o===2)&&(f.dragmode="pan"),M(v,f,l),d.coerceFont(l,"hoverlabel.grouptitlefont",f.hoverlabel.font)}},22774:function(T,p,t){var d=t(71828),g=t(38048),i=t(528);T.exports=function(M,v){g(M,v,function(f,l){return d.coerce(M,v,i,f,l)})}},83312:function(T,p,t){var d=t(71828),g=t(30587).counter,i=t(27670).Y,M=t(85555).idRegex,v=t(44467),f={rows:{valType:"integer",min:1,editType:"plot"},roworder:{valType:"enumerated",values:["top to bottom","bottom to top"],dflt:"top to bottom",editType:"plot"},columns:{valType:"integer",min:1,editType:"plot"},subplots:{valType:"info_array",freeLength:!0,dimensions:2,items:{valType:"enumerated",values:[g("xy").toString(),""],editType:"plot"},editType:"plot"},xaxes:{valType:"info_array",freeLength:!0,items:{valType:"enumerated",values:[M.x.toString(),""],editType:"plot"},editType:"plot"},yaxes:{valType:"info_array",freeLength:!0,items:{valType:"enumerated",values:[M.y.toString(),""],editType:"plot"},editType:"plot"},pattern:{valType:"enumerated",values:["independent","coupled"],dflt:"coupled",editType:"plot"},xgap:{valType:"number",min:0,max:1,editType:"plot"},ygap:{valType:"number",min:0,max:1,editType:"plot"},domain:i({name:"grid",editType:"plot",noGridCell:!0},{}),xside:{valType:"enumerated",values:["bottom","bottom plot","top plot","top"],dflt:"bottom plot",editType:"plot"},yside:{valType:"enumerated",values:["left","left plot","right plot","right"],dflt:"left plot",editType:"plot"},editType:"plot"};function l(o,s,c){var h=s[c+"axes"],m=Object.keys((o._splomAxes||{})[c]||{});return Array.isArray(h)?h:m.length?m:void 0}function a(o,s,c,h,m,w){var y=s(o+"gap",c),S=s("domain."+o);s(o+"side",h);for(var _=new Array(m),k=S[0],E=(S[1]-k)/(m-y),x=E*(1-y),A=0;A1){S||_||k||F("pattern")==="independent"&&(S=!0),x._hasSubplotGrid=S;var b,R,I=F("roworder")==="top to bottom",O=S?.2:.1,z=S?.3:.1;E&&s._splomGridDflt&&(b=s._splomGridDflt.xside,R=s._splomGridDflt.yside),x._domains={x:a("x",F,O,b,L),y:a("y",F,z,R,A,I)}}else delete s.grid}function F(B,N){return d.coerce(c,x,f,B,N)}},contentDefaults:function(o,s){var c=s.grid;if(c&&c._domains){var h,m,w,y,S,_,k,E=o.grid||{},x=s._subplots,A=c._hasSubplotGrid,L=c.rows,b=c.columns,R=c.pattern==="independent",I=c._axisMap={};if(A){var O=E.subplots||[];_=c.subplots=new Array(L);var z=1;for(h=0;h1);if(R===!1&&(s.legend=void 0),(R!==!1||h.uirevision)&&(w("uirevision",s.uirevision),R!==!1)){w("borderwidth");var I,O,z,F=w("orientation")==="h";if(F?(I=0,d.getComponentMethod("rangeslider","isVisible")(o.xaxis)?(O=1.1,z="bottom"):(O=-.1,z="top")):(I=1.02,O=1,z="auto"),w("traceorder",L),l.isGrouped(s.legend)&&w("tracegroupgap"),w("entrywidth"),w("entrywidthmode"),w("itemsizing"),w("itemwidth"),w("itemclick"),w("itemdoubleclick"),w("groupclick"),w("x",I),w("xanchor"),w("y",O),w("yanchor",z),w("valign"),g.noneOrAll(h,m,["x","y"]),w("title.text")){w("title.side",F?"left":"top");var B=g.extendFlat({},y,{size:g.bigFont(y.size)});g.coerceFont(w,"title.font",B)}}}}T.exports=function(u,o,s){var c,h=["legend"];for(c=0;c1)}var ne=U.hiddenlabels||[];if(!(q||U.showlegend&&H.length))return j.selectAll("."+G).remove(),U._topdefs.select("#"+W).remove(),i.autoMargin(B,G);var te=g.ensureSingle(j,"g",G,function(ye){q||ye.attr("pointer-events","all")}),Z=g.ensureSingleById(U._topdefs,"clipPath",W,function(ye){ye.append("rect")}),X=g.ensureSingle(te,"rect","bg",function(ye){ye.attr("shape-rendering","crispEdges")});X.call(a.stroke,$.bordercolor).call(a.fill,$.bgcolor).style("stroke-width",$.borderwidth+"px");var Q=g.ensureSingle(te,"g","scrollbox"),re=$.title;if($._titleWidth=0,$._titleHeight=0,re.text){var ie=g.ensureSingle(Q,"text",G+"titletext");ie.attr("text-anchor","start").call(l.font,re.font).text(re.text),I(ie,Q,B,$,1)}else Q.selectAll("."+G+"titletext").remove();var oe=g.ensureSingle(te,"rect","scrollbar",function(ye){ye.attr(s.scrollBarEnterAttrs).call(a.fill,s.scrollBarColor)}),ue=Q.selectAll("g.groups").data(H);ue.enter().append("g").attr("class","groups"),ue.exit().remove();var ce=ue.selectAll("g.traces").data(g.identity);ce.enter().append("g").attr("class","traces"),ce.exit().remove(),ce.style("opacity",function(ye){var de=ye[0].trace;return M.traceIs(de,"pie-like")?ne.indexOf(ye[0].label)!==-1?.5:1:de.visible==="legendonly"?.5:1}).each(function(){d.select(this).call(L,B,$)}).call(S,B,$).each(function(){q||d.select(this).call(R,B,G)}),g.syncOrAsync([i.previousPromises,function(){return function(ye,de,me,pe){var xe=ye._fullLayout,Pe=F(pe);pe||(pe=xe[Pe]);var _e=xe._size,Me=_.isVertical(pe),Se=_.isGrouped(pe),Ce=pe.entrywidthmode==="fraction",ae=pe.borderwidth,fe=2*ae,be=s.itemGap,ke=pe.itemwidth+2*be,Le=2*(ae+be),Be=z(pe),ze=pe.y<0||pe.y===0&&Be==="top",je=pe.y>1||pe.y===1&&Be==="bottom",ge=pe.tracegroupgap,we={};pe._maxHeight=Math.max(ze||je?xe.height/2:_e.h,30);var Ee=0;pe._width=0,pe._height=0;var Ve=function(Re){var Ne=0,Qe=0,ut=Re.title.side;return ut&&(ut.indexOf("left")!==-1&&(Ne=Re._titleWidth),ut.indexOf("top")!==-1&&(Qe=Re._titleHeight)),[Ne,Qe]}(pe);if(Me)me.each(function(Re){var Ne=Re[0].height;l.setTranslate(this,ae+Ve[0],ae+Ve[1]+pe._height+Ne/2+be),pe._height+=Ne,pe._width=Math.max(pe._width,Re[0].width)}),Ee=ke+pe._width,pe._width+=be+ke+fe,pe._height+=Le,Se&&(de.each(function(Re,Ne){l.setTranslate(this,0,Ne*pe.tracegroupgap)}),pe._height+=(pe._lgroupsLength-1)*pe.tracegroupgap);else{var $e=O(pe),Ye=pe.x<0||pe.x===0&&$e==="right",st=pe.x>1||pe.x===1&&$e==="left",ot=je||ze,ht=xe.width/2;pe._maxWidth=Math.max(Ye?ot&&$e==="left"?_e.l+_e.w:ht:st?ot&&$e==="right"?_e.r+_e.w:ht:_e.w,2*ke);var bt=0,Et=0;me.each(function(Re){var Ne=x(Re,pe,ke);bt=Math.max(bt,Ne),Et+=Ne}),Ee=null;var kt=0;if(Se){var xt=0,Ft=0,Ot=0;de.each(function(){var Re=0,Ne=0;d.select(this).selectAll("g.traces").each(function(ut){var dt=x(ut,pe,ke),_t=ut[0].height;l.setTranslate(this,Ve[0],Ve[1]+ae+be+_t/2+Ne),Ne+=_t,Re=Math.max(Re,dt),we[ut[0].trace.legendgroup]=Re});var Qe=Re+be;Ft>0&&Qe+ae+Ft>pe._maxWidth?(kt=Math.max(kt,Ft),Ft=0,Ot+=xt+ge,xt=Ne):xt=Math.max(xt,Ne),l.setTranslate(this,Ft,Ot),Ft+=Qe}),pe._width=Math.max(kt,Ft)+ae,pe._height=Ot+xt+Le}else{var Bt=me.size(),qt=Et+fe+(Bt-1)*be=pe._maxWidth&&(kt=Math.max(kt,qe),Ke=0,Je+=Vt,pe._height+=Vt,Vt=0),l.setTranslate(this,Ve[0]+ae+Ke,Ve[1]+ae+Je+Ne/2+be),qe=Ke+Qe+be,Ke+=ut,Vt=Math.max(Vt,Ne)}),qt?(pe._width=Ke+fe,pe._height=Vt+Le):(pe._width=Math.max(kt,qe)+fe,pe._height+=Vt+Le)}}pe._width=Math.ceil(Math.max(pe._width+Ve[0],pe._titleWidth+2*(ae+s.titlePad))),pe._height=Math.ceil(Math.max(pe._height+Ve[1],pe._titleHeight+2*(ae+s.itemGap))),pe._effHeight=Math.min(pe._height,pe._maxHeight);var nt=ye._context.edits,ft=nt.legendText||nt.legendPosition;me.each(function(Re){var Ne=d.select(this).select("."+Pe+"toggle"),Qe=Re[0].height,ut=Re[0].trace.legendgroup,dt=x(Re,pe,ke);Se&&ut!==""&&(dt=we[ut]);var _t=ft?ke:Ee||dt;Me||Ce||(_t+=be/2),l.setRect(Ne,0,-Qe/2,_t,Qe)})}(B,ue,ce,$)},function(){var ye,de,me,pe,xe=U._size,Pe=$.borderwidth;if(!q){var _e=function(Ye,st){var ot=Ye._fullLayout[st],ht=O(ot),bt=z(ot);return i.autoMargin(Ye,st,{x:ot.x,y:ot.y,l:ot._width*m[ht],r:ot._width*w[ht],b:ot._effHeight*w[bt],t:ot._effHeight*m[bt]})}(B,G);if(_e)return;var Me=xe.l+xe.w*$.x-m[O($)]*$._width,Se=xe.t+xe.h*(1-$.y)-m[z($)]*$._effHeight;if(U.margin.autoexpand){var Ce=Me,ae=Se;Me=g.constrain(Me,0,U.width-$._width),Se=g.constrain(Se,0,U.height-$._effHeight),Me!==Ce&&g.log("Constrain "+G+".x to make legend fit inside graph"),Se!==ae&&g.log("Constrain "+G+".y to make legend fit inside graph")}l.setTranslate(te,Me,Se)}if(oe.on(".drag",null),te.on("wheel",null),q||$._height<=$._maxHeight||B._context.staticPlot){var fe=$._effHeight;q&&(fe=$._height),X.attr({width:$._width-Pe,height:fe-Pe,x:Pe/2,y:Pe/2}),l.setTranslate(Q,0,0),Z.select("rect").attr({width:$._width-2*Pe,height:fe-2*Pe,x:Pe,y:Pe}),l.setClipUrl(Q,W,B),l.setRect(oe,0,0,0,0),delete $._scrollY}else{var be,ke,Le,Be=Math.max(s.scrollBarMinHeight,$._effHeight*$._effHeight/$._height),ze=$._effHeight-Be-2*s.scrollBarMargin,je=$._height-$._effHeight,ge=ze/je,we=Math.min($._scrollY||0,je);X.attr({width:$._width-2*Pe+s.scrollBarWidth+s.scrollBarMargin,height:$._effHeight-Pe,x:Pe/2,y:Pe/2}),Z.select("rect").attr({width:$._width-2*Pe+s.scrollBarWidth+s.scrollBarMargin,height:$._effHeight-2*Pe,x:Pe,y:Pe+we}),l.setClipUrl(Q,W,B),$e(we,Be,ge),te.on("wheel",function(){$e(we=g.constrain($._scrollY+d.event.deltaY/ze*je,0,je),Be,ge),we!==0&&we!==je&&d.event.preventDefault()});var Ee=d.behavior.drag().on("dragstart",function(){var Ye=d.event.sourceEvent;be=Ye.type==="touchstart"?Ye.changedTouches[0].clientY:Ye.clientY,Le=we}).on("drag",function(){var Ye=d.event.sourceEvent;Ye.buttons===2||Ye.ctrlKey||(ke=Ye.type==="touchmove"?Ye.changedTouches[0].clientY:Ye.clientY,we=function(st,ot,ht){var bt=(ht-ot)/ge+st;return g.constrain(bt,0,je)}(Le,be,ke),$e(we,Be,ge))});oe.call(Ee);var Ve=d.behavior.drag().on("dragstart",function(){var Ye=d.event.sourceEvent;Ye.type==="touchstart"&&(be=Ye.changedTouches[0].clientY,Le=we)}).on("drag",function(){var Ye=d.event.sourceEvent;Ye.type==="touchmove"&&(ke=Ye.changedTouches[0].clientY,we=function(st,ot,ht){var bt=(ot-ht)/ge+st;return g.constrain(bt,0,je)}(Le,be,ke),$e(we,Be,ge))});Q.call(Ve)}function $e(Ye,st,ot){$._scrollY=B._fullLayout[G]._scrollY=Ye,l.setTranslate(Q,0,-Ye),l.setRect(oe,$._width,s.scrollBarMargin+Ye*ot,s.scrollBarWidth,st),Z.select("rect").attr("y",Pe+Ye)}B._context.edits.legendPosition&&(te.classed("cursor-move",!0),f.init({element:te.node(),gd:B,prepFn:function(){var Ye=l.getTranslate(te);me=Ye.x,pe=Ye.y},moveFn:function(Ye,st){var ot=me+Ye,ht=pe+st;l.setTranslate(te,ot,ht),ye=f.align(ot,$._width,xe.l,xe.l+xe.w,$.xanchor),de=f.align(ht+$._height,-$._height,xe.t+xe.h,xe.t,$.yanchor)},doneFn:function(){if(ye!==void 0&&de!==void 0){var Ye={};Ye[G+".x"]=ye,Ye[G+".y"]=de,M.call("_guiRelayout",B,Ye)}},clickFn:function(Ye,st){var ot=ue.selectAll("g.traces").filter(function(){var ht=this.getBoundingClientRect();return st.clientX>=ht.left&&st.clientX<=ht.right&&st.clientY>=ht.top&&st.clientY<=ht.bottom});ot.size()>0&&A(B,te,ot,Ye,st)}}))}],B)}}function x(B,N,W){var j=B[0],$=j.width,U=N.entrywidthmode,G=j.trace.legendwidth||N.entrywidth;return U==="fraction"?N._maxWidth*G:W+(G||$)}function A(B,N,W,j,$){var U=W.data()[0][0].trace,G={event:$,node:W.node(),curveNumber:U.index,expandedIndex:U._expandedIndex,data:B.data,layout:B.layout,frames:B._transitionData._frames,config:B._context,fullData:B._fullData,fullLayout:B._fullLayout};U._group&&(G.group=U._group),M.traceIs(U,"pie-like")&&(G.label=W.datum()[0].label),v.triggerHandler(B,"plotly_legendclick",G)!==!1&&(j===1?N._clickTimeout=setTimeout(function(){B._fullLayout&&o(W,B,j)},B._context.doubleClickDelay):j===2&&(N._clickTimeout&&clearTimeout(N._clickTimeout),B._legendMouseDownTime=0,v.triggerHandler(B,"plotly_legenddoubleclick",G)!==!1&&o(W,B,j)))}function L(B,N,W){var j,$,U=F(W),G=B.data()[0][0],q=G.trace,H=M.traceIs(q,"pie-like"),ne=!W._inHover&&N._context.edits.legendText&&!H,te=W._maxNameLength;G.groupTitle?(j=G.groupTitle.text,$=G.groupTitle.font):($=W.font,W.entries?j=G.text:(j=H?G.label:q.name,q._meta&&(j=g.templateString(j,q._meta))));var Z=g.ensureSingle(B,"text",U+"text");Z.attr("text-anchor","start").call(l.font,$).text(ne?b(j,te):j);var X=W.itemwidth+2*s.itemGap;u.positionText(Z,X,0),ne?Z.call(u.makeEditable,{gd:N,text:j}).call(I,B,N,W).on("edit",function(Q){this.text(b(Q,te)).call(I,B,N,W);var re=G.trace._fullInput||{},ie={};if(M.hasTransform(re,"groupby")){var oe=M.getTransformIndices(re,"groupby"),ue=oe[oe.length-1],ce=g.keyedContainer(re,"transforms["+ue+"].styles","target","value.name");ce.set(G.trace._group,Q),ie=ce.constructUpdate()}else ie.name=Q;return M.call("_guiRestyle",N,ie,q.index)}):I(Z,B,N,W)}function b(B,N){var W=Math.max(4,N);if(B&&B.trim().length>=W/2)return B;for(var j=W-(B=B||"").length;j>0;j--)B+=" ";return B}function R(B,N,W){var j,$=N._context.doubleClickDelay,U=1,G=g.ensureSingle(B,"rect",W+"toggle",function(q){N._context.staticPlot||q.style("cursor","pointer").attr("pointer-events","all"),q.call(a.fill,"rgba(0,0,0,0)")});N._context.staticPlot||(G.on("mousedown",function(){(j=new Date().getTime())-N._legendMouseDownTime<$?U+=1:(U=1,N._legendMouseDownTime=j)}),G.on("mouseup",function(){if(!N._dragged&&!N._editing){var q=N._fullLayout[W];new Date().getTime()-N._legendMouseDownTime>$&&(U=Math.max(U-1,1)),A(N,q,B,U,d.event)}}))}function I(B,N,W,j,$){j._inHover&&B.attr("data-notex",!0),u.convertToTspans(B,W,function(){(function(U,G,q,H){var ne=U.data()[0][0];if(q._inHover||!ne||ne.trace.showlegend){var te=U.select("g[class*=math-group]"),Z=te.node(),X=F(q);q||(q=G._fullLayout[X]);var Q,re,ie=q.borderwidth,oe=(H===1?q.title.font:ne.groupTitle?ne.groupTitle.font:q.font).size*h;if(Z){var ue=l.bBox(Z);Q=ue.height,re=ue.width,H===1?l.setTranslate(te,ie,ie+.75*Q):l.setTranslate(te,0,.25*Q)}else{var ce="."+X+(H===1?"title":"")+"text",ye=U.select(ce),de=u.lineCount(ye),me=ye.node();if(Q=oe*de,re=me?l.bBox(me).width:0,H===1)q.title.side==="left"&&(re+=2*s.itemGap),u.positionText(ye,ie+s.titlePad,ie+oe);else{var pe=2*s.itemGap+q.itemwidth;ne.groupTitle&&(pe=s.itemGap,re-=q.itemwidth),u.positionText(ye,pe,-oe*((de-1)/2-.3))}}H===1?(q._titleWidth=re,q._titleHeight=Q):(ne.lineHeight=oe,ne.height=Math.max(Q,16)+3,ne.width=re)}else U.remove()})(N,W,j,$)})}function O(B){return g.isRightAnchor(B)?"right":g.isCenterAnchor(B)?"center":"left"}function z(B){return g.isBottomAnchor(B)?"bottom":g.isMiddleAnchor(B)?"middle":"top"}function F(B){return B._id||"legend"}T.exports=function(B,N){if(N)E(B,N);else{var W=B._fullLayout,j=W._legends;W._infolayer.selectAll('[class^="legend"]').each(function(){var G=d.select(this),q=G.attr("class").split(" ")[0];q.match(k)&&j.indexOf(q)===-1&&G.remove()});for(var $=0;$z&&(O=z)}R[f][0]._groupMinRank=O,R[f][0]._preGroupSort=f}var F=function($,U){return $.trace.legendrank-U.trace.legendrank||$._preSort-U._preSort};for(R.forEach(function($,U){$[0]._preGroupSort=U}),R.sort(function($,U){return $[0]._groupMinRank-U[0]._groupMinRank||$[0]._preGroupSort-U[0]._preGroupSort}),f=0;fS?S:w}T.exports=function(w,y,S){var _=y._fullLayout;S||(S=_.legend);var k=S.itemsizing==="constant",E=S.itemwidth,x=(E+2*s.itemGap)/2,A=M(x,0),L=function(I,O,z,F){var B;if(I+1)B=I;else{if(!(O&&O.width>0))return 0;B=O.width}return k?F:Math.min(B,z)};function b(I,O,z){var F=I[0].trace,B=F.marker||{},N=B.line||{},W=z?F.visible&&F.type===z:g.traceIs(F,"bar"),j=d.select(O).select("g.legendpoints").selectAll("path.legend"+z).data(W?[I]:[]);j.enter().append("path").classed("legend"+z,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",A),j.exit().remove(),j.each(function($){var U=d.select(this),G=$[0],q=L(G.mlw,B.line,5,2);U.style("stroke-width",q+"px");var H=G.mcc;if(!S._inHover&&"mc"in G){var ne=l(B),te=ne.mid;te===void 0&&(te=(ne.max+ne.min)/2),H=v.tryColorscale(B,"")(te)}var Z=H||G.mc||B.color,X=B.pattern,Q=X&&v.getPatternAttr(X.shape,0,"");if(Q){var re=v.getPatternAttr(X.bgcolor,0,null),ie=v.getPatternAttr(X.fgcolor,0,null),oe=X.fgopacity,ue=m(X.size,8,10),ce=m(X.solidity,.5,1),ye="legend-"+F.uid;U.call(v.pattern,"legend",y,ye,Q,ue,ce,H,X.fillmode,re,ie,oe)}else U.call(f.fill,Z);q&&f.stroke(U,G.mlc||N.color)})}function R(I,O,z){var F=I[0],B=F.trace,N=z?B.visible&&B.type===z:g.traceIs(B,z),W=d.select(O).select("g.legendpoints").selectAll("path.legend"+z).data(N?[I]:[]);if(W.enter().append("path").classed("legend"+z,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",A),W.exit().remove(),W.size()){var j=(B.marker||{}).line,$=L(o(j.width,F.pts),j,5,2),U=i.minExtend(B,{marker:{line:{width:$}}});U.marker.line.color=j.color;var G=i.minExtend(F,{trace:U});u(W,G,U)}}w.each(function(I){var O=d.select(this),z=i.ensureSingle(O,"g","layers");z.style("opacity",I[0].trace.opacity);var F=S.valign,B=I[0].lineHeight,N=I[0].height;if(F!=="middle"&&B&&N){var W={top:1,bottom:-1}[F]*(.5*(B-N+3));z.attr("transform",M(0,W))}else z.attr("transform",null);z.selectAll("g.legendfill").data([I]).enter().append("g").classed("legendfill",!0),z.selectAll("g.legendlines").data([I]).enter().append("g").classed("legendlines",!0);var j=z.selectAll("g.legendsymbols").data([I]);j.enter().append("g").classed("legendsymbols",!0),j.selectAll("g.legendpoints").data([I]).enter().append("g").classed("legendpoints",!0)}).each(function(I){var O,z=I[0].trace,F=[];if(z.visible)switch(z.type){case"histogram2d":case"heatmap":F=[["M-15,-2V4H15V-2Z"]],O=!0;break;case"choropleth":case"choroplethmapbox":F=[["M-6,-6V6H6V-6Z"]],O=!0;break;case"densitymapbox":F=[["M-6,0 a6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0"]],O="radial";break;case"cone":F=[["M-6,2 A2,2 0 0,0 -6,6 V6L6,4Z"],["M-6,-6 A2,2 0 0,0 -6,-2 L6,-4Z"],["M-6,-2 A2,2 0 0,0 -6,2 L6,0Z"]],O=!1;break;case"streamtube":F=[["M-6,2 A2,2 0 0,0 -6,6 H6 A2,2 0 0,1 6,2 Z"],["M-6,-6 A2,2 0 0,0 -6,-2 H6 A2,2 0 0,1 6,-6 Z"],["M-6,-2 A2,2 0 0,0 -6,2 H6 A2,2 0 0,1 6,-2 Z"]],O=!1;break;case"surface":F=[["M-6,-6 A2,3 0 0,0 -6,0 H6 A2,3 0 0,1 6,-6 Z"],["M-6,1 A2,3 0 0,1 -6,6 H6 A2,3 0 0,0 6,0 Z"]],O=!0;break;case"mesh3d":F=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],O=!1;break;case"volume":F=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],O=!0;break;case"isosurface":F=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6 A12,24 0 0,0 6,-6 L0,6Z"]],O=!1}var B=d.select(this).select("g.legendpoints").selectAll("path.legend3dandfriends").data(F);B.enter().append("path").classed("legend3dandfriends",!0).attr("transform",A).style("stroke-miterlimit",1),B.exit().remove(),B.each(function(N,W){var j,$=d.select(this),U=l(z),G=U.colorscale,q=U.reversescale;if(G){if(!O){var H=G.length;j=W===0?G[q?H-1:0][1]:W===1?G[q?0:H-1][1]:G[Math.floor((H-1)/2)][1]}}else{var ne=z.vertexcolor||z.facecolor||z.color;j=i.isArrayOrTypedArray(ne)?ne[W]||ne[0]:ne}$.attr("d",N[0]),j?$.call(f.fill,j):$.call(function(te){if(te.size()){var Z="legendfill-"+z.uid;v.gradient(te,y,Z,c(q,O==="radial"),G,"fill")}})})}).each(function(I){var O=I[0].trace,z=O.type==="waterfall";if(I[0]._distinct&&z){var F=I[0].trace[I[0].dir].marker;return I[0].mc=F.color,I[0].mlw=F.line.width,I[0].mlc=F.line.color,b(I,this,"waterfall")}var B=[];O.visible&&z&&(B=I[0].hasTotals?[["increasing","M-6,-6V6H0Z"],["totals","M6,6H0L-6,-6H-0Z"],["decreasing","M6,6V-6H0Z"]]:[["increasing","M-6,-6V6H6Z"],["decreasing","M6,6V-6H-6Z"]]);var N=d.select(this).select("g.legendpoints").selectAll("path.legendwaterfall").data(B);N.enter().append("path").classed("legendwaterfall",!0).attr("transform",A).style("stroke-miterlimit",1),N.exit().remove(),N.each(function(W){var j=d.select(this),$=O[W[0]].marker,U=L(void 0,$.line,5,2);j.attr("d",W[1]).style("stroke-width",U+"px").call(f.fill,$.color),U&&j.call(f.stroke,$.line.color)})}).each(function(I){b(I,this,"funnel")}).each(function(I){b(I,this)}).each(function(I){var O=I[0].trace,z=d.select(this).select("g.legendpoints").selectAll("path.legendbox").data(O.visible&&g.traceIs(O,"box-violin")?[I]:[]);z.enter().append("path").classed("legendbox",!0).attr("d","M6,6H-6V-6H6Z").attr("transform",A),z.exit().remove(),z.each(function(){var F=d.select(this);if(O.boxpoints!=="all"&&O.points!=="all"||f.opacity(O.fillcolor)!==0||f.opacity((O.line||{}).color)!==0){var B=L(void 0,O.line,5,2);F.style("stroke-width",B+"px").call(f.fill,O.fillcolor),B&&f.stroke(F,O.line.color)}else{var N=i.minExtend(O,{marker:{size:k?12:i.constrain(O.marker.size,2,16),sizeref:1,sizemin:1,sizemode:"diameter"}});z.call(v.pointStyle,N,y)}})}).each(function(I){R(I,this,"funnelarea")}).each(function(I){R(I,this,"pie")}).each(function(I){var O,z,F=h(I),B=F.showFill,N=F.showLine,W=F.showGradientLine,j=F.showGradientFill,$=F.anyFill,U=F.anyLine,G=I[0],q=G.trace,H=l(q),ne=H.colorscale,te=H.reversescale,Z=a.hasMarkers(q)||!$?"M5,0":U?"M5,-2":"M5,-3",X=d.select(this),Q=X.select(".legendfill").selectAll("path").data(B||j?[I]:[]);if(Q.enter().append("path").classed("js-fill",!0),Q.exit().remove(),Q.attr("d",Z+"h"+E+"v6h-"+E+"z").call(function(oe){if(oe.size())if(B)v.fillGroupStyle(oe,y);else{var ue="legendfill-"+q.uid;v.gradient(oe,y,ue,c(te),ne,"fill")}}),N||W){var re=L(void 0,q.line,10,5);z=i.minExtend(q,{line:{width:re}}),O=[i.minExtend(G,{trace:z})]}var ie=X.select(".legendlines").selectAll("path").data(N||W?[O]:[]);ie.enter().append("path").classed("js-line",!0),ie.exit().remove(),ie.attr("d",Z+(W?"l"+E+",0.0001":"h"+E)).call(N?v.lineGroupStyle:function(oe){if(oe.size()){var ue="legendline-"+q.uid;v.lineGroupStyle(oe),v.gradient(oe,y,ue,c(te),ne,"stroke")}})}).each(function(I){var O,z,F=h(I),B=F.anyFill,N=F.anyLine,W=F.showLine,j=F.showMarker,$=I[0],U=$.trace,G=!j&&!N&&!B&&a.hasText(U);function q(ie,oe,ue,ce){var ye=i.nestedProperty(U,ie).get(),de=i.isArrayOrTypedArray(ye)&&oe?oe(ye):ye;if(k&&de&&ce!==void 0&&(de=ce),ue){if(deue[1])return ue[1]}return de}function H(ie){return $._distinct&&$.index&&ie[$.index]?ie[$.index]:ie[0]}if(j||G||W){var ne={},te={};if(j){ne.mc=q("marker.color",H),ne.mx=q("marker.symbol",H),ne.mo=q("marker.opacity",i.mean,[.2,1]),ne.mlc=q("marker.line.color",H),ne.mlw=q("marker.line.width",i.mean,[0,5],2),te.marker={sizeref:1,sizemin:1,sizemode:"diameter"};var Z=q("marker.size",i.mean,[2,16],12);ne.ms=Z,te.marker.size=Z}W&&(te.line={width:q("line.width",H,[0,10],5)}),G&&(ne.tx="Aa",ne.tp=q("textposition",H),ne.ts=10,ne.tc=q("textfont.color",H),ne.tf=q("textfont.family",H)),O=[i.minExtend($,ne)],(z=i.minExtend(U,te)).selectedpoints=null,z.texttemplate=null}var X=d.select(this).select("g.legendpoints"),Q=X.selectAll("path.scatterpts").data(j?O:[]);Q.enter().insert("path",":first-child").classed("scatterpts",!0).attr("transform",A),Q.exit().remove(),Q.call(v.pointStyle,z,y),j&&(O[0].mrc=3);var re=X.selectAll("g.pointtext").data(G?O:[]);re.enter().append("g").classed("pointtext",!0).append("text").attr("transform",A),re.exit().remove(),re.selectAll("text").call(v.textPointStyle,z,y)}).each(function(I){var O=I[0].trace,z=d.select(this).select("g.legendpoints").selectAll("path.legendcandle").data(O.visible&&O.type==="candlestick"?[I,I]:[]);z.enter().append("path").classed("legendcandle",!0).attr("d",function(F,B){return B?"M-15,0H-8M-8,6V-6H8Z":"M15,0H8M8,-6V6H-8Z"}).attr("transform",A).style("stroke-miterlimit",1),z.exit().remove(),z.each(function(F,B){var N=d.select(this),W=O[B?"increasing":"decreasing"],j=L(void 0,W.line,5,2);N.style("stroke-width",j+"px").call(f.fill,W.fillcolor),j&&f.stroke(N,W.line.color)})}).each(function(I){var O=I[0].trace,z=d.select(this).select("g.legendpoints").selectAll("path.legendohlc").data(O.visible&&O.type==="ohlc"?[I,I]:[]);z.enter().append("path").classed("legendohlc",!0).attr("d",function(F,B){return B?"M-15,0H0M-8,-6V0":"M15,0H0M8,6V0"}).attr("transform",A).style("stroke-miterlimit",1),z.exit().remove(),z.each(function(F,B){var N=d.select(this),W=O[B?"increasing":"decreasing"],j=L(void 0,W.line,5,2);N.style("fill","none").call(v.dashLine,W.line.dash,j),j&&f.stroke(N,W.line.color)})})}},42068:function(T,p,t){t(93348),T.exports={editType:"modebar",orientation:{valType:"enumerated",values:["v","h"],dflt:"h",editType:"modebar"},bgcolor:{valType:"color",editType:"modebar"},color:{valType:"color",editType:"modebar"},activecolor:{valType:"color",editType:"modebar"},uirevision:{valType:"any",editType:"none"},add:{valType:"string",arrayOk:!0,dflt:"",editType:"modebar"},remove:{valType:"string",arrayOk:!0,dflt:"",editType:"modebar"}}},26023:function(T,p,t){var d=t(73972),g=t(74875),i=t(41675),M=t(24255),v=t(34031).eraseActiveShape,f=t(71828),l=f._,a=T.exports={};function u(_,k){var E,x,A=k.currentTarget,L=A.getAttribute("data-attr"),b=A.getAttribute("data-val")||!0,R=_._fullLayout,I={},O=i.list(_,null,!0),z=R._cartesianSpikesEnabled;if(L==="zoom"){var F,B=b==="in"?.5:2,N=(1+B)/2,W=(1-B)/2;for(x=0;x1?(Z=["toggleHover"],X=["resetViews"]):I?(te=["zoomInGeo","zoomOutGeo"],Z=["hoverClosestGeo"],X=["resetGeo"]):R?(Z=["hoverClosest3d"],X=["resetCameraDefault3d","resetCameraLastSave3d"]):N?(te=["zoomInMapbox","zoomOutMapbox"],Z=["toggleHover"],X=["resetViewMapbox"]):F?Z=["hoverClosestGl2d"]:O?Z=["hoverClosestPie"]:$?(Z=["hoverClosestCartesian","hoverCompareCartesian"],X=["resetViewSankey"]):Z=["toggleHover"],b&&(Z=["toggleSpikelines","hoverClosestCartesian","hoverCompareCartesian"]),(function(ye){for(var de=0;de0)){var y=function(_,k,E){for(var x=E.filter(function(R){return k[R].anchor===_._id}),A=0,L=0;L=pe.max)de=oe[me+1];else if(ye=pe.pmax)de=oe[me+1];else if(yeme._length||ke+Ve<0)return;ge=be+Ve,we=ke+Ve;break;case Pe:if(Ee="col-resize",be+Ve>me._length)return;ge=be+Ve,we=ke;break;case _e:if(Ee="col-resize",ke+Ve<0)return;ge=be,we=ke+Ve;break;default:Ee="ew-resize",ge=fe,we=fe+Ve}if(we=0;F--){var B=k.append("path").attr(x).style("opacity",F?.1:A).call(M.stroke,b).call(M.fill,L).call(v.dashLine,F?"solid":I,F?4+R:R);if(c(B,m,S),O){var N=f(m.layout,"selections",S);B.style({cursor:"move"});var W={element:B.node(),plotinfo:_,gd:m,editHelpers:N,isActiveSelection:!0},j=d(E,m);g(j,B,W)}else B.style("pointer-events",F?"all":"none");z[F]=B}var $=z[0];z[1].node().addEventListener("click",function(){return function(U,G){if(o(U)){var q=+G.node().getAttribute("data-index");if(q>=0){if(q===U._fullLayout._activeSelectionIndex)return void h(U);U._fullLayout._activeSelectionIndex=q,U._fullLayout._deactivateSelection=h,u(U)}}}(m,$)})}(m._fullLayout._selectionLayer)}function c(m,w,y){var S=y.xref+y.yref;v.setClipUrl(m,"clip"+w._fullLayout._uid+S,w)}function h(m){o(m)&&m._fullLayout._activeSelectionIndex>=0&&(i(m),delete m._fullLayout._activeSelectionIndex,u(m))}T.exports={draw:u,drawOne:s,activateLastSelection:function(m){if(o(m)){var w=m._fullLayout.selections.length-1;m._fullLayout._activeSelectionIndex=w,m._fullLayout._deactivateSelection=h,u(m)}}}},53777:function(T,p,t){var d=t(79952).P,g=t(1426).extendFlat;T.exports={newselection:{mode:{valType:"enumerated",values:["immediate","gradual"],dflt:"immediate",editType:"none"},line:{color:{valType:"color",editType:"none"},width:{valType:"number",min:1,dflt:1,editType:"none"},dash:g({},d,{dflt:"dot",editType:"none"}),editType:"none"},editType:"none"},activeselection:{fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"none"},opacity:{valType:"number",min:0,max:1,dflt:.5,editType:"none"},editType:"none"}}},90849:function(T){T.exports=function(p,t,d){d("newselection.mode"),d("newselection.line.width")&&(d("newselection.line.color"),d("newselection.line.dash")),d("activeselection.fillcolor"),d("activeselection.opacity")}},35855:function(T,p,t){var d=t(64505).selectMode,g=t(51873).clearOutline,i=t(60165),M=i.readPaths,v=i.writePaths,f=i.fixDatesForPaths;T.exports=function(l,a){if(l.length){var u=l[0][0];if(u){var o=u.getAttribute("d"),s=a.gd,c=s._fullLayout.newselection,h=a.plotinfo,m=h.xaxis,w=h.yaxis,y=a.isActiveSelection,S=a.dragmode,_=(s.layout||{}).selections||[];if(!d(S)&&y!==void 0){var k=s._fullLayout._activeSelectionIndex;if(k<_.length)switch(s._fullLayout.selections[k].type){case"rect":S="select";break;case"path":S="lasso"}}var E,x=M(o,s,h,y),A={xref:m._id,yref:w._id,opacity:c.opacity,line:{color:c.line.color,width:c.line.width,dash:c.line.dash}};x.length===1&&(E=x[0]),E&&E.length===5&&S==="select"?(A.type="rect",A.x0=E[0][1],A.y0=E[0][2],A.x1=E[2][1],A.y1=E[2][2]):(A.type="path",m&&w&&f(x,m,w),A.path=v(x),E=null),g(s);for(var L=a.editHelpers,b=(L||{}).modifyItem,R=[],I=0;I<_.length;I++){var O=s._fullLayout.selections[I];if(O){if(R[I]=O._input,y!==void 0&&I===s._fullLayout._activeSelectionIndex){var z=A;switch(O.type){case"rect":b("x0",z.x0),b("x1",z.x1),b("y0",z.y0),b("y1",z.y1);break;case"path":b("path",z.path)}}}else R[I]=O}return y===void 0?(R.push(A),R):L?L.getUpdateObj():{}}}}},75549:function(T,p,t){var d=t(71828).strTranslate;function g(i,M){switch(i.type){case"log":return i.p2d(M);case"date":return i.p2r(M,0,i.calendar);default:return i.p2r(M)}}T.exports={p2r:g,r2p:function(i,M){switch(i.type){case"log":return i.d2p(M);case"date":return i.r2p(M,0,i.calendar);default:return i.r2p(M)}},axValue:function(i){var M=i._id.charAt(0)==="y"?1:0;return function(v){return g(i,v[M])}},getTransform:function(i){return d(i.xaxis._offset,i.yaxis._offset)}}},47322:function(T,p,t){var d=t(32485),g=t(3937);T.exports={moduleType:"component",name:"selections",layoutAttributes:t(8389),supplyLayoutDefaults:t(59402),supplyDrawNewSelectionDefaults:t(90849),includeBasePlot:t(76325)("selections"),draw:d.draw,drawOne:d.drawOne,reselect:g.reselect,prepSelect:g.prepSelect,clearOutline:g.clearOutline,clearSelectionsCache:g.clearSelectionsCache,selectOnClick:g.selectOnClick}},3937:function(T,p,t){var d=t(52142),g=t(38258),i=t(73972),M=t(91424).dashStyle,v=t(7901),f=t(30211),l=t(23469).makeEventData,a=t(64505),u=a.freeMode,o=a.rectMode,s=a.drawMode,c=a.openMode,h=a.selectMode,m=t(30477),w=t(21459),y=t(42359),S=t(51873).clearOutline,_=t(60165),k=_.handleEllipse,E=_.readPaths,x=t(90551),A=t(35855),L=t(32485).activateLastSelection,b=t(71828),R=b.sorterAsc,I=t(61082),O=t(79990),z=t(41675).getFromId,F=t(33306),B=t(61549).redrawReglTraces,N=t(34122),W=N.MINSELECT,j=I.filter,$=I.tester,U=t(75549),G=U.p2r,q=U.axValue,H=U.getTransform;function ne(ze){return ze.subplot!==void 0}function te(ze,je,ge,we,Ee,Ve,$e){var Ye,st,ot,ht,bt,Et,kt,xt,Ft,Ot=je._hoverdata,Bt=je._fullLayout.clickmode.indexOf("event")>-1,qt=[];if(function(nt){return nt&&Array.isArray(nt)&&nt[0].hoverOnBox!==!0}(Ot)){re(ze,je,Ve);var Vt=function(nt,ft){var Re,Ne,Qe=nt[0],ut=-1,dt=[];for(Ne=0;Ne0?function(nt,ft){var Re,Ne,Qe,ut=[];for(Qe=0;Qe0&&ut.push(Re);if(ut.length===1&&ut[0]===ft.searchInfo&&(Ne=ft.searchInfo.cd[0].trace).selectedpoints.length===ft.pointNumbers.length){for(Qe=0;Qe1||(Ne+=ft.selectedpoints.length)>1))return!1;return Ne===1}(Ye)&&(Et=ye(Vt))){for($e&&$e.remove(),Ft=0;Ft=0})(Ee)&&Ee._fullLayout._deactivateShape(Ee),function(bt){return bt._fullLayout._activeSelectionIndex>=0}(Ee)&&Ee._fullLayout._deactivateSelection(Ee);var Ve=Ee._fullLayout._zoomlayer,$e=s(ge),Ye=h(ge);if($e||Ye){var st,ot,ht=Ve.selectAll(".select-outline-"+we.id);ht&&Ee._fullLayout._outlining&&($e&&(st=x(ht,ze)),st&&i.call("_guiRelayout",Ee,{shapes:st}),Ye&&!ne(ze)&&(ot=A(ht,ze)),ot&&(Ee._fullLayout._noEmitSelectedAtStart=!0,i.call("_guiRelayout",Ee,{selections:ot}).then(function(){je&&L(Ee)})),Ee._fullLayout._outlining=!1)}we.selection={},we.selection.selectionDefs=ze.selectionDefs=[],we.selection.mergedPolygons=ze.mergedPolygons=[]}function oe(ze){return ze._id}function ue(ze,je,ge,we){if(!ze.calcdata)return[];var Ee,Ve,$e,Ye=[],st=je.map(oe),ot=ge.map(oe);for($e=0;$e0?we[0]:ge;return!!je.selectedpoints&&je.selectedpoints.indexOf(Ee)>-1}function de(ze,je,ge){var we,Ee;for(we=0;we-1&&je;if(!Ve&&je){var Tn=Ce(ze,!0);if(Tn.length){var dn=Tn[0].xref,pn=Tn[0].yref;if(dn&&pn){var Dn=be(Tn);ke([z(ze,dn,"x"),z(ze,pn,"y")])(kn,Dn)}}ze._fullLayout._noEmitSelectedAtStart?ze._fullLayout._noEmitSelectedAtStart=!1:sn&&Le(ze,kn),Et._reselect=!1}if(!Ve&&Et._deselect){var In=Et._deselect;(function(jn,Gn,qn){for(var lr=0;lr=0)kt._fullLayout._deactivateShape(kt);else if(!ot){var pn=xt.clickmode;O.done(An).then(function(){if(O.clear(An),Tn===2){for(Xt.remove(),Qe=0;Qe-1&&te(dn,kt,we.xaxes,we.yaxes,we.subplot,we,Xt),pn==="event"&&Le(kt,void 0);f.click(kt,dn)}).catch(b.error)}},we.doneFn=function(){un.remove(),O.done(An).then(function(){O.clear(An),!Ft&&Ne&&we.selectionDefs&&(Ne.subtract=Wt,we.selectionDefs.push(Ne),we.mergedPolygons.length=0,[].push.apply(we.mergedPolygons,Re)),(Ft||ot)&&ie(we,Ft),we.doneFnCompleted&&we.doneFnCompleted(Yn),ht&&Le(kt,dt)}).catch(b.error)}},clearOutline:S,clearSelectionsCache:ie,selectOnClick:te}},89827:function(T,p,t){var d=t(50215),g=t(41940),i=t(82196).line,M=t(79952).P,v=t(1426).extendFlat,f=t(44467).templatedArray,l=(t(24695),t(5386).R),a=t(37281);T.exports=f("shape",{visible:{valType:"boolean",dflt:!0,editType:"calc+arraydraw"},type:{valType:"enumerated",values:["circle","rect","path","line"],editType:"calc+arraydraw"},layer:{valType:"enumerated",values:["below","above"],dflt:"above",editType:"arraydraw"},xref:v({},d.xref,{}),xsizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",editType:"calc+arraydraw"},xanchor:{valType:"any",editType:"calc+arraydraw"},x0:{valType:"any",editType:"calc+arraydraw"},x1:{valType:"any",editType:"calc+arraydraw"},yref:v({},d.yref,{}),ysizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",editType:"calc+arraydraw"},yanchor:{valType:"any",editType:"calc+arraydraw"},y0:{valType:"any",editType:"calc+arraydraw"},y1:{valType:"any",editType:"calc+arraydraw"},path:{valType:"string",editType:"calc+arraydraw"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"arraydraw"},line:{color:v({},i.color,{editType:"arraydraw"}),width:v({},i.width,{editType:"calc+arraydraw"}),dash:v({},M,{editType:"arraydraw"}),editType:"calc+arraydraw"},fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw"},fillrule:{valType:"enumerated",values:["evenodd","nonzero"],dflt:"evenodd",editType:"arraydraw"},editable:{valType:"boolean",dflt:!1,editType:"calc+arraydraw"},label:{text:{valType:"string",dflt:"",editType:"arraydraw"},texttemplate:l({},{keys:Object.keys(a)}),font:g({editType:"calc+arraydraw",colorEditType:"arraydraw"}),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right","start","middle","end"],editType:"arraydraw"},textangle:{valType:"angle",dflt:"auto",editType:"calc+arraydraw"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto",editType:"calc+arraydraw"},yanchor:{valType:"enumerated",values:["top","middle","bottom"],editType:"calc+arraydraw"},padding:{valType:"number",dflt:3,min:0,editType:"arraydraw"},editType:"arraydraw"},editType:"arraydraw"})},5627:function(T,p,t){var d=t(71828),g=t(89298),i=t(21459),M=t(30477);function v(u){return l(u.line.width,u.xsizemode,u.x0,u.x1,u.path,!1)}function f(u){return l(u.line.width,u.ysizemode,u.y0,u.y1,u.path,!0)}function l(u,o,s,c,h,m){var w=u/2,y=m;if(o==="pixel"){var S=h?M.extractPathCoords(h,m?i.paramIsY:i.paramIsX):[s,c],_=d.aggNums(Math.max,null,S),k=d.aggNums(Math.min,null,S),E=k<0?Math.abs(k)+w:w,x=_>0?_+w:w;return{ppad:w,ppadplus:y?E:x,ppadminus:y?x:E}}return{ppad:w}}function a(u,o,s,c,h){var m=u.type==="category"||u.type==="multicategory"?u.r2c:u.d2c;if(o!==void 0)return[m(o),m(s)];if(c){var w,y,S,_,k=1/0,E=-1/0,x=c.match(i.segmentRE);for(u.type==="date"&&(m=M.decodeDate(m)),w=0;wE&&(E=_)));return E>=k?[k,E]:void 0}}T.exports=function(u){var o=u._fullLayout,s=d.filterVisible(o.shapes);if(s.length&&u._fullData.length)for(var c=0;c1&&(ye.length!==2||ye[1][0]!=="Z")&&(W===0&&(ye[0][0]="M"),A[N]=ye,O(),z())}}()}}function X(oe,ue){(function(ce,ye){if(A.length)for(var de=0;deSe?(fe=_e,Be="y0",be=Se,ze="y1"):(fe=Se,Be="y1",be=_e,ze="y0"),Je(Ne),ft(pe,de),function(Qe,ut,dt){var _t=ut.xref,It=ut.yref,Lt=M.getFromId(dt,_t),yt=M.getFromId(dt,It),Pt="";_t==="paper"||Lt.autorange||(Pt+=_t),It==="paper"||yt.autorange||(Pt+=It),u.setClipUrl(Qe,Pt?"clip"+dt._fullLayout._uid+Pt:null,dt)}(ye,de,ce),Ke.moveFn=Ee==="move"?qe:nt,Ke.altKey=Ne.altKey)},doneFn:function(){E(ce)||(c(ye),Re(pe),L(ye,ce,de),g.call("_guiRelayout",ce,xe.getUpdateObj()))},clickFn:function(){E(ce)||Re(pe)}};function Je(Ne){if(E(ce))Ee=null;else if(Ye)Ee=Ne.target.tagName==="path"?"move":Ne.target.attributes["data-line-point"].value==="start-point"?"resize-over-start-point":"resize-over-end-point";else{var Qe=Ke.element.getBoundingClientRect(),ut=Qe.right-Qe.left,dt=Qe.bottom-Qe.top,_t=Ne.clientX-Qe.left,It=Ne.clientY-Qe.top,Lt=!st&&ut>10&&dt>10&&!Ne.shiftKey?s.getCursor(_t/ut,1-It/dt):"move";c(ye,Lt),Ee=Lt.split("-")[0]}}function qe(Ne,Qe){if(de.type==="path"){var ut=function(It){return It},dt=ut,_t=ut;Ve?ot("xanchor",de.xanchor=Bt(Ce+Ne)):(dt=function(It){return Bt(Ft(It)+Ne)},bt&&bt.type==="date"&&(dt=w.encodeDate(dt))),$e?ot("yanchor",de.yanchor=qt(ae+Qe)):(_t=function(It){return qt(Ot(It)+Qe)},kt&&kt.type==="date"&&(_t=w.encodeDate(_t))),ot("path",de.path=R(we,dt,_t))}else Ve?ot("xanchor",de.xanchor=Bt(Ce+Ne)):(ot("x0",de.x0=Bt(Pe+Ne)),ot("x1",de.x1=Bt(Me+Ne))),$e?ot("yanchor",de.yanchor=qt(ae+Qe)):(ot("y0",de.y0=qt(_e+Qe)),ot("y1",de.y1=qt(Se+Qe)));ye.attr("d",y(ce,de)),ft(pe,de),b(ce,me,de,ht)}function nt(Ne,Qe){if(st){var ut=function(un){return un},dt=ut,_t=ut;Ve?ot("xanchor",de.xanchor=Bt(Ce+Ne)):(dt=function(un){return Bt(Ft(un)+Ne)},bt&&bt.type==="date"&&(dt=w.encodeDate(dt))),$e?ot("yanchor",de.yanchor=qt(ae+Qe)):(_t=function(un){return qt(Ot(un)+Qe)},kt&&kt.type==="date"&&(_t=w.encodeDate(_t))),ot("path",de.path=R(we,dt,_t))}else if(Ye){if(Ee==="resize-over-start-point"){var It=Pe+Ne,Lt=$e?_e-Qe:_e+Qe;ot("x0",de.x0=Ve?It:Bt(It)),ot("y0",de.y0=$e?Lt:qt(Lt))}else if(Ee==="resize-over-end-point"){var yt=Me+Ne,Pt=$e?Se-Qe:Se+Qe;ot("x1",de.x1=Ve?yt:Bt(yt)),ot("y1",de.y1=$e?Pt:qt(Pt))}}else{var wt=function(un){return Ee.indexOf(un)!==-1},Rt=wt("n"),Nt=wt("s"),Yt=wt("w"),Wt=wt("e"),Xt=Rt?fe+Qe:fe,Qt=Nt?be+Qe:be,rn=Yt?ke+Ne:ke,xn=Wt?Le+Ne:Le;$e&&(Rt&&(Xt=fe-Qe),Nt&&(Qt=be-Qe)),(!$e&&Qt-Xt>10||$e&&Xt-Qt>10)&&(ot(Be,de[Be]=$e?Xt:qt(Xt)),ot(ze,de[ze]=$e?Qt:qt(Qt))),xn-rn>10&&(ot(je,de[je]=Ve?rn:Bt(rn)),ot(ge,de[ge]=Ve?xn:Bt(xn)))}ye.attr("d",y(ce,de)),ft(pe,de),b(ce,me,de,ht)}function ft(Ne,Qe){(Ve||$e)&&function(){var ut=Qe.type!=="path",dt=Ne.selectAll(".visual-cue").data([0]);dt.enter().append("path").attr({fill:"#fff","fill-rule":"evenodd",stroke:"#000","stroke-width":1}).classed("visual-cue",!0);var _t=Ft(Ve?Qe.xanchor:i.midRange(ut?[Qe.x0,Qe.x1]:w.extractPathCoords(Qe.path,m.paramIsX))),It=Ot($e?Qe.yanchor:i.midRange(ut?[Qe.y0,Qe.y1]:w.extractPathCoords(Qe.path,m.paramIsY)));if(_t=w.roundPositionForSharpStrokeRendering(_t,1),It=w.roundPositionForSharpStrokeRendering(It,1),Ve&&$e){var Lt="M"+(_t-1-1)+","+(It-1-1)+"h-8v2h8 v8h2v-8 h8v-2h-8 v-8h-2 Z";dt.attr("d",Lt)}else if(Ve){var yt="M"+(_t-1-1)+","+(It-9-1)+"v18 h2 v-18 Z";dt.attr("d",yt)}else{var Pt="M"+(_t-9-1)+","+(It-1-1)+"h18 v2 h-18 Z";dt.attr("d",Pt)}}()}function Re(Ne){Ne.selectAll(".visual-cue").remove()}s.init(Ke),Vt.node().onmousemove=Je}(O,ie,B,z,j,Q):B.editable===!0&&ie.style("pointer-events",Z||a.opacity(q)*G<=.5?"stroke":"all");ie.node().addEventListener("click",function(){return function(ce,ye){if(x(ce)){var de=+ye.node().getAttribute("data-index");if(de>=0){if(de===ce._fullLayout._activeShapeIndex)return void I(ce);ce._fullLayout._activeShapeIndex=de,ce._fullLayout._deactivateShape=I,k(ce)}}}(O,ie)})}B._input&&B.visible!==!1&&(B.layer!=="below"?W(O._fullLayout._shapeUpperLayer):B.xref==="paper"||B.yref==="paper"?W(O._fullLayout._shapeLowerLayer):N._hadPlotinfo?W((N.mainplotinfo||N).shapelayer):W(O._fullLayout._shapeLowerLayer))}function L(O,z,F){var B=(F.xref+F.yref).replace(/paper/g,"").replace(/[xyz][1-9]* *domain/g,"");u.setClipUrl(O,B?"clip"+z._fullLayout._uid+B:null,z)}function b(O,z,F,B){if(B.selectAll(".shape-label").remove(),F.label.text||F.label.texttemplate){var N;if(F.label.texttemplate){var W={};if(F.type!=="path"){var j=M.getFromId(O,F.xref),$=M.getFromId(O,F.yref);for(var U in S){var G=S[U](F,j,$);G!==void 0&&(W[U]=G)}}N=i.texttemplateStringForShapes(F.label.texttemplate,{},O._fullLayout._d3locale,W)}else N=F.label.text;var q,H,ne,te,Z={"data-index":z},X=F.label.font,Q=B.append("g").attr(Z).classed("shape-label",!0).append("text").attr({"data-notex":1}).classed("shape-label-text",!0).text(N);if(F.path){var re=y(O,F),ie=v(re,O);q=1/0,ne=1/0,H=-1/0,te=-1/0;for(var oe=0;oe=Le?Be-je:je-Be,-180/Math.PI*Math.atan2(ge,we)}(q,ne,H,te):0),Q.call(function(Le){return Le.call(u.font,X).attr({}),h.convertToTspans(Le,O),Le});var ae=function(Le,Be,ze,je,ge,we,Ee){var Ve,$e,Ye,st,ot=ge.label.textposition,ht=ge.label.textangle,bt=ge.label.padding,Et=ge.type,kt=Math.PI/180*we,xt=Math.sin(kt),Ft=Math.cos(kt),Ot=ge.label.xanchor,Bt=ge.label.yanchor;if(Et==="line"){ot==="start"?(Ve=Le,$e=Be):ot==="end"?(Ve=ze,$e=je):(Ve=(Le+ze)/2,$e=(Be+je)/2),Ot==="auto"&&(Ot=ot==="start"?ht==="auto"?ze>Le?"left":zeLe?"right":zeLe?"right":zeLe?"left":ze=U||(j[N]?G=z(G):$[N]&&(G=F(G)),N++),G})})}function I(O){x(O)&&O._fullLayout._activeShapeIndex>=0&&(l(O),delete O._fullLayout._activeShapeIndex,k(O))}T.exports={draw:k,drawOne:A,eraseActiveShape:function(O){if(x(O)){l(O);var z=O._fullLayout._activeShapeIndex,F=(O.layout||{}).shapes||[];if(z0&&EZ&&(Q="X"),Q});return q>Z&&(X=X.replace(/[\s,]*X.*/,""),g.log("Ignoring extra params in segment "+G)),H+X})}(v,l,u);if(v.xsizemode==="pixel"){var E=l(v.xanchor);o=E+v.x0,s=E+v.x1}else o=l(v.x0),s=l(v.x1);if(v.ysizemode==="pixel"){var x=u(v.yanchor);c=x-v.y0,h=x-v.y1}else c=u(v.y0),h=u(v.y1);if(m==="line")return"M"+o+","+c+"L"+s+","+h;if(m==="rect")return"M"+o+","+c+"H"+s+"V"+h+"H"+o+"Z";var A=(o+s)/2,L=(c+h)/2,b=Math.abs(A-o),R=Math.abs(L-c),I="A"+b+","+R,O=A+b+","+L;return"M"+O+I+" 0 1,1 "+A+","+(L-R)+I+" 0 0,1 "+O+"Z"}},89853:function(T,p,t){var d=t(34031);T.exports={moduleType:"component",name:"shapes",layoutAttributes:t(89827),supplyLayoutDefaults:t(84726),supplyDrawNewShapeDefaults:t(45547),includeBasePlot:t(76325)("shapes"),calcAutorange:t(5627),draw:d.draw,drawOne:d.drawOne}},37281:function(T){function p(i,M){return M?M.d2l(i):i}function t(i,M){return M?M.l2d(i):i}function d(i,M){return p(i.x1,M)-p(i.x0,M)}function g(i,M,v){return p(i.y1,v)-p(i.y0,v)}T.exports={x0:function(i){return i.x0},x1:function(i){return i.x1},y0:function(i){return i.y0},y1:function(i){return i.y1},slope:function(i,M,v){return i.type!=="line"?void 0:g(i,0,v)/d(i,M)},dx:d,dy:g,width:function(i,M){return Math.abs(d(i,M))},height:function(i,M,v){return Math.abs(g(i,0,v))},length:function(i,M,v){return i.type!=="line"?void 0:Math.sqrt(Math.pow(d(i,M),2)+Math.pow(g(i,0,v),2))},xcenter:function(i,M){return t((p(i.x1,M)+p(i.x0,M))/2,M)},ycenter:function(i,M,v){return t((p(i.y1,v)+p(i.y0,v))/2,v)}}},75067:function(T,p,t){var d=t(41940),g=t(35025),i=t(1426).extendDeepAll,M=t(30962).overrideAll,v=t(85594),f=t(44467).templatedArray,l=t(98292),a=f("step",{visible:{valType:"boolean",dflt:!0},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle"},args:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},label:{valType:"string"},value:{valType:"string"},execute:{valType:"boolean",dflt:!0}});T.exports=M(f("slider",{visible:{valType:"boolean",dflt:!0},active:{valType:"number",min:0,dflt:0},steps:a,lenmode:{valType:"enumerated",values:["fraction","pixels"],dflt:"fraction"},len:{valType:"number",min:0,dflt:1},x:{valType:"number",min:-2,max:3,dflt:0},pad:i(g({editType:"arraydraw"}),{},{t:{dflt:20}}),xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left"},y:{valType:"number",min:-2,max:3,dflt:0},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top"},transition:{duration:{valType:"number",min:0,dflt:150},easing:{valType:"enumerated",values:v.transition.easing.values,dflt:"cubic-in-out"}},currentvalue:{visible:{valType:"boolean",dflt:!0},xanchor:{valType:"enumerated",values:["left","center","right"],dflt:"left"},offset:{valType:"number",dflt:10},prefix:{valType:"string"},suffix:{valType:"string"},font:d({})},font:d({}),activebgcolor:{valType:"color",dflt:l.gripBgActiveColor},bgcolor:{valType:"color",dflt:l.railBgColor},bordercolor:{valType:"color",dflt:l.railBorderColor},borderwidth:{valType:"number",min:0,dflt:l.railBorderWidth},ticklen:{valType:"number",min:0,dflt:l.tickLength},tickcolor:{valType:"color",dflt:l.tickColor},tickwidth:{valType:"number",min:0,dflt:1},minorticklen:{valType:"number",min:0,dflt:l.minorTickLength}}),"arraydraw","from-root")},98292:function(T){T.exports={name:"sliders",containerClassName:"slider-container",groupClassName:"slider-group",inputAreaClass:"slider-input-area",railRectClass:"slider-rail-rect",railTouchRectClass:"slider-rail-touch-rect",gripRectClass:"slider-grip-rect",tickRectClass:"slider-tick-rect",inputProxyClass:"slider-input-proxy",labelsClass:"slider-labels",labelGroupClass:"slider-label-group",labelClass:"slider-label",currentValueClass:"slider-current-value",railHeight:5,menuIndexAttrName:"slider-active-index",autoMarginIdRoot:"slider-",minWidth:30,minHeight:30,textPadX:40,arrowOffsetX:4,railRadius:2,railWidth:5,railBorder:4,railBorderWidth:1,railBorderColor:"#bec8d9",railBgColor:"#f8fafc",railInset:8,stepInset:10,gripRadius:10,gripWidth:20,gripHeight:20,gripBorder:20,gripBorderWidth:1,gripBorderColor:"#bec8d9",gripBgColor:"#f6f8fa",gripBgActiveColor:"#dbdde0",labelPadding:8,labelOffset:0,tickWidth:1,tickColor:"#333",tickOffset:25,tickLength:7,minorTickOffset:25,minorTickColor:"#333",minorTickLength:4,currentValuePadding:8,currentValueInset:0}},12343:function(T,p,t){var d=t(71828),g=t(85501),i=t(75067),M=t(98292).name,v=i.steps;function f(a,u,o){function s(y,S){return d.coerce(a,u,i,y,S)}for(var c=g(a,u,{name:"steps",handleItemDefaults:l}),h=0,m=0;m0&&(q=q.transition().duration(N.transition.duration).ease(N.transition.easing)),q.attr("transform",f(G-.5*u.gripWidth,N._dims.currentValueTotalHeight))}}function I(B,N){var W=B._dims;return W.inputAreaStart+u.stepInset+(W.inputAreaLength-2*u.stepInset)*Math.min(1,Math.max(0,N))}function O(B,N){var W=B._dims;return Math.min(1,Math.max(0,(N-u.stepInset-W.inputAreaStart)/(W.inputAreaLength-2*u.stepInset-2*W.inputAreaStart)))}function z(B,N,W){var j=W._dims,$=v.ensureSingle(B,"rect",u.railTouchRectClass,function(U){U.call(L,N,B,W).style("pointer-events","all")});$.attr({width:j.inputAreaLength,height:Math.max(j.inputAreaWidth,u.tickOffset+W.ticklen+j.labelHeight)}).call(i.fill,W.bgcolor).attr("opacity",0),M.setTranslate($,0,j.currentValueTotalHeight)}function F(B,N){var W=N._dims,j=W.inputAreaLength-2*u.railInset,$=v.ensureSingle(B,"rect",u.railRectClass);$.attr({width:j,height:u.railWidth,rx:u.railRadius,ry:u.railRadius,"shape-rendering":"crispEdges"}).call(i.stroke,N.bordercolor).call(i.fill,N.bgcolor).style("stroke-width",N.borderwidth+"px"),M.setTranslate($,u.railInset,.5*(W.inputAreaWidth-u.railWidth)+W.currentValueTotalHeight)}T.exports=function(B){var N=B._context.staticPlot,W=B._fullLayout,j=function(ne,te){for(var Z=ne[u.name],X=[],Q=0;Q0?[0]:[]);function U(ne){ne._commandObserver&&(ne._commandObserver.remove(),delete ne._commandObserver),g.autoMargin(B,m(ne))}if($.enter().append("g").classed(u.containerClassName,!0).style("cursor",N?null:"ew-resize"),$.exit().each(function(){d.select(this).selectAll("g."+u.groupClassName).each(U)}).remove(),j.length!==0){var G=$.selectAll("g."+u.groupClassName).data(j,w);G.enter().append("g").classed(u.groupClassName,!0),G.exit().each(U).remove();for(var q=0;q0||xe<0){var Se={left:[-Pe,0],right:[Pe,0],top:[0,-Pe],bottom:[0,Pe]}[x.side];X.attr("transform",f(Se[0],Se[1]))}}}return q.call(H),$&&(F?q.on(".opacity",null):(I=0,O=!0,q.text(k).on("mouseover.opacity",function(){d.select(this).transition().duration(o.SHOW_PLACEHOLDER).style("opacity",1)}).on("mouseout.opacity",function(){d.select(this).transition().duration(o.HIDE_PLACEHOLDER).style("opacity",0)})),q.call(u.makeEditable,{gd:h}).on("edit",function(Z){E!==void 0?M.call("_guiRestyle",h,_,Z,E):M.call("_guiRelayout",h,_,Z)}).on("cancel",function(){this.text(this.attr("data-unformatted")).call(H)}).on("input",function(Z){this.text(Z||" ").call(u.positionText,A.x,A.y)})),q.classed("js-placeholder",O),b}}},7163:function(T,p,t){var d=t(41940),g=t(22399),i=t(1426).extendFlat,M=t(30962).overrideAll,v=t(35025),f=t(44467).templatedArray,l=f("button",{visible:{valType:"boolean"},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle"},args:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},args2:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},label:{valType:"string",dflt:""},execute:{valType:"boolean",dflt:!0}});T.exports=M(f("updatemenu",{_arrayAttrRegexps:[/^updatemenus\[(0|[1-9][0-9]+)\]\.buttons/],visible:{valType:"boolean"},type:{valType:"enumerated",values:["dropdown","buttons"],dflt:"dropdown"},direction:{valType:"enumerated",values:["left","right","up","down"],dflt:"down"},active:{valType:"integer",min:-1,dflt:0},showactive:{valType:"boolean",dflt:!0},buttons:l,x:{valType:"number",min:-2,max:3,dflt:-.05},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"right"},y:{valType:"number",min:-2,max:3,dflt:1},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top"},pad:i(v({editType:"arraydraw"}),{}),font:d({}),bgcolor:{valType:"color"},bordercolor:{valType:"color",dflt:g.borderLine},borderwidth:{valType:"number",min:0,dflt:1,editType:"arraydraw"}}),"arraydraw","from-root")},75909:function(T){T.exports={name:"updatemenus",containerClassName:"updatemenu-container",headerGroupClassName:"updatemenu-header-group",headerClassName:"updatemenu-header",headerArrowClassName:"updatemenu-header-arrow",dropdownButtonGroupClassName:"updatemenu-dropdown-button-group",dropdownButtonClassName:"updatemenu-dropdown-button",buttonClassName:"updatemenu-button",itemRectClassName:"updatemenu-item-rect",itemTextClassName:"updatemenu-item-text",menuIndexAttrName:"updatemenu-active-index",autoMarginIdRoot:"updatemenu-",blankHeaderOpts:{label:" "},minWidth:30,minHeight:30,textPadX:24,arrowPadX:16,rx:2,ry:2,textOffsetX:12,textOffsetY:3,arrowOffsetX:4,gapButtonHeader:5,gapButton:2,activeColor:"#F4FAFF",hoverColor:"#F4FAFF",arrowSymbol:{left:"◄",right:"►",up:"▲",down:"▼"}}},64897:function(T,p,t){var d=t(71828),g=t(85501),i=t(7163),M=t(75909).name,v=i.buttons;function f(a,u,o){function s(c,h){return d.coerce(a,u,i,c,h)}s("visible",g(a,u,{name:"buttons",handleItemDefaults:l}).length>0)&&(s("active"),s("direction"),s("type"),s("showactive"),s("x"),s("y"),d.noneOrAll(a,u,["x","y"]),s("xanchor"),s("yanchor"),s("pad.t"),s("pad.r"),s("pad.b"),s("pad.l"),d.coerceFont(s,"font",o.font),s("bgcolor",o.paper_bgcolor),s("bordercolor"),s("borderwidth"))}function l(a,u){function o(s,c){return d.coerce(a,u,v,s,c)}o("visible",a.method==="skip"||Array.isArray(a.args))&&(o("method"),o("args"),o("args2"),o("label"),o("execute"))}T.exports=function(a,u){g(a,u,{name:M,handleItemDefaults:f})}},13689:function(T,p,t){var d=t(39898),g=t(74875),i=t(7901),M=t(91424),v=t(71828),f=t(63893),l=t(44467).arrayEditor,a=t(18783).LINE_SPACING,u=t(75909),o=t(25849);function s(I){return I._index}function c(I,O){return+I.attr(u.menuIndexAttrName)===O._index}function h(I,O,z,F,B,N,W,j){O.active=W,l(I.layout,u.name,O).applyUpdate("active",W),O.type==="buttons"?w(I,F,null,null,O):O.type==="dropdown"&&(B.attr(u.menuIndexAttrName,"-1"),m(I,F,B,N,O),j||w(I,F,B,N,O))}function m(I,O,z,F,B){var N=v.ensureSingle(O,"g",u.headerClassName,function(q){q.style("pointer-events","all")}),W=B._dims,j=B.active,$=B.buttons[j]||u.blankHeaderOpts,U={y:B.pad.t,yPad:0,x:B.pad.l,xPad:0,index:0},G={width:W.headerWidth,height:W.headerHeight};N.call(y,B,$,I).call(b,B,U,G),v.ensureSingle(O,"text",u.headerArrowClassName,function(q){q.attr("text-anchor","end").call(M.font,B.font).text(u.arrowSymbol[B.direction])}).attr({x:W.headerWidth-u.arrowOffsetX+B.pad.l,y:W.headerHeight/2+u.textOffsetY+B.pad.t}),N.on("click",function(){z.call(R,String(c(z,B)?-1:B._index)),w(I,O,z,F,B)}),N.on("mouseover",function(){N.call(E)}),N.on("mouseout",function(){N.call(x,B)}),M.setTranslate(O,W.lx,W.ly)}function w(I,O,z,F,B){z||(z=O).attr("pointer-events","all");var N=function(X){return+X.attr(u.menuIndexAttrName)==-1}(z)&&B.type!=="buttons"?[]:B.buttons,W=B.type==="dropdown"?u.dropdownButtonClassName:u.buttonClassName,j=z.selectAll("g."+W).data(v.filterVisible(N)),$=j.enter().append("g").classed(W,!0),U=j.exit();B.type==="dropdown"?($.attr("opacity","0").transition().attr("opacity","1"),U.transition().attr("opacity","0").remove()):U.remove();var G=0,q=0,H=B._dims,ne=["up","down"].indexOf(B.direction)!==-1;B.type==="dropdown"&&(ne?q=H.headerHeight+u.gapButtonHeader:G=H.headerWidth+u.gapButtonHeader),B.type==="dropdown"&&B.direction==="up"&&(q=-u.gapButtonHeader+u.gapButton-H.openHeight),B.type==="dropdown"&&B.direction==="left"&&(G=-u.gapButtonHeader+u.gapButton-H.openWidth);var te={x:H.lx+G+B.pad.l,y:H.ly+q+B.pad.t,yPad:u.gapButton,xPad:u.gapButton,index:0},Z={l:te.x+B.borderwidth,t:te.y+B.borderwidth};j.each(function(X,Q){var re=d.select(this);re.call(y,B,X,I).call(b,B,te),re.on("click",function(){d.event.defaultPrevented||(X.execute&&(X.args2&&B.active===Q?(h(I,B,0,O,z,F,-1),g.executeAPICommand(I,X.method,X.args2)):(h(I,B,0,O,z,F,Q),g.executeAPICommand(I,X.method,X.args))),I.emit("plotly_buttonclicked",{menu:B,button:X,active:B.active}))}),re.on("mouseover",function(){re.call(E)}),re.on("mouseout",function(){re.call(x,B),j.call(k,B)})}),j.call(k,B),ne?(Z.w=Math.max(H.openWidth,H.headerWidth),Z.h=te.y-Z.t):(Z.w=te.x-Z.l,Z.h=Math.max(H.openHeight,H.headerHeight)),Z.direction=B.direction,F&&(j.size()?function(X,Q,re,ie,oe,ue){var ce,ye,de,me=oe.direction,pe=me==="up"||me==="down",xe=oe._dims,Pe=oe.active;if(pe)for(ye=0,de=0;de0?[0]:[]);if(B.enter().append("g").classed(u.containerClassName,!0).style("cursor","pointer"),B.exit().each(function(){d.select(this).selectAll("g."+u.headerGroupClassName).each(F)}).remove(),z.length!==0){var N=B.selectAll("g."+u.headerGroupClassName).data(z,s);N.enter().append("g").classed(u.headerGroupClassName,!0);for(var W=v.ensureSingle(B,"g",u.dropdownButtonGroupClassName,function(q){q.style("pointer-events","all")}),j=0;jb,O=v.barLength+2*v.barPad,z=v.barWidth+2*v.barPad,F=y,B=_+k;B+z>s&&(B=s-z);var N=this.container.selectAll("rect.scrollbar-horizontal").data(I?[0]:[]);N.exit().on(".drag",null).remove(),N.enter().append("rect").classed("scrollbar-horizontal",!0).call(g.fill,v.barColor),I?(this.hbar=N.attr({rx:v.barRadius,ry:v.barRadius,x:F,y:B,width:O,height:z}),this._hbarXMin=F+O/2,this._hbarTranslateMax=b-O):(delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax);var W=k>R,j=v.barWidth+2*v.barPad,$=v.barLength+2*v.barPad,U=y+S,G=_;U+j>o&&(U=o-j);var q=this.container.selectAll("rect.scrollbar-vertical").data(W?[0]:[]);q.exit().on(".drag",null).remove(),q.enter().append("rect").classed("scrollbar-vertical",!0).call(g.fill,v.barColor),W?(this.vbar=q.attr({rx:v.barRadius,ry:v.barRadius,x:U,y:G,width:j,height:$}),this._vbarYMin=G+$/2,this._vbarTranslateMax=R-$):(delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax);var H=this.id,ne=c-.5,te=W?h+j+.5:h+.5,Z=m-.5,X=I?w+z+.5:w+.5,Q=u._topdefs.selectAll("#"+H).data(I||W?[0]:[]);if(Q.exit().remove(),Q.enter().append("clipPath").attr("id",H).append("rect"),I||W?(this._clipRect=Q.select("rect").attr({x:Math.floor(ne),y:Math.floor(Z),width:Math.ceil(te)-Math.floor(ne),height:Math.ceil(X)-Math.floor(Z)}),this.container.call(i.setClipUrl,H,this.gd),this.bg.attr({x:y,y:_,width:S,height:k})):(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(i.setClipUrl,null),delete this._clipRect),I||W){var re=d.behavior.drag().on("dragstart",function(){d.event.sourceEvent.preventDefault()}).on("drag",this._onBoxDrag.bind(this));this.container.on("wheel",null).on("wheel",this._onBoxWheel.bind(this)).on(".drag",null).call(re);var ie=d.behavior.drag().on("dragstart",function(){d.event.sourceEvent.preventDefault(),d.event.sourceEvent.stopPropagation()}).on("drag",this._onBarDrag.bind(this));I&&this.hbar.on(".drag",null).call(ie),W&&this.vbar.on(".drag",null).call(ie)}this.setTranslate(l,a)},v.prototype.disable=function(){(this.hbar||this.vbar)&&(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(i.setClipUrl,null),delete this._clipRect),this.hbar&&(this.hbar.on(".drag",null),this.hbar.remove(),delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax),this.vbar&&(this.vbar.on(".drag",null),this.vbar.remove(),delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax)},v.prototype._onBoxDrag=function(){var f=this.translateX,l=this.translateY;this.hbar&&(f-=d.event.dx),this.vbar&&(l-=d.event.dy),this.setTranslate(f,l)},v.prototype._onBoxWheel=function(){var f=this.translateX,l=this.translateY;this.hbar&&(f+=d.event.deltaY),this.vbar&&(l+=d.event.deltaY),this.setTranslate(f,l)},v.prototype._onBarDrag=function(){var f=this.translateX,l=this.translateY;if(this.hbar){var a=f+this._hbarXMin,u=a+this._hbarTranslateMax;f=(M.constrain(d.event.x,a,u)-a)/(u-a)*(this.position.w-this._box.w)}if(this.vbar){var o=l+this._vbarYMin,s=o+this._vbarTranslateMax;l=(M.constrain(d.event.y,o,s)-o)/(s-o)*(this.position.h-this._box.h)}this.setTranslate(f,l)},v.prototype.setTranslate=function(f,l){var a=this.position.w-this._box.w,u=this.position.h-this._box.h;if(f=M.constrain(f||0,0,a),l=M.constrain(l||0,0,u),this.translateX=f,this.translateY=l,this.container.call(i.setTranslate,this._box.l-this.position.l-f,this._box.t-this.position.t-l),this._clipRect&&this._clipRect.attr({x:Math.floor(this.position.l+f-.5),y:Math.floor(this.position.t+l-.5)}),this.hbar){var o=f/a;this.hbar.call(i.setTranslate,f+o*this._hbarTranslateMax,l)}if(this.vbar){var s=l/u;this.vbar.call(i.setTranslate,f,l+s*this._vbarTranslateMax)}}},18783:function(T){T.exports={FROM_BL:{left:0,center:.5,right:1,bottom:0,middle:.5,top:1},FROM_TL:{left:0,center:.5,right:1,bottom:1,middle:.5,top:0},FROM_BR:{left:1,center:.5,right:0,bottom:0,middle:.5,top:1},LINE_SPACING:1.3,CAP_SHIFT:.7,MID_SHIFT:.35,OPPOSITE_SIDE:{left:"right",right:"left",top:"bottom",bottom:"top"}}},24695:function(T){T.exports={axisRefDescription:function(p,t,d){return["If set to a",p,"axis id (e.g. *"+p+"* or","*"+p+"2*), the `"+p+"` position refers to a",p,"coordinate. If set to *paper*, the `"+p+"`","position refers to the distance from the",t,"of the plotting","area in normalized coordinates where *0* (*1*) corresponds to the",t,"("+d+"). If set to a",p,"axis ID followed by","*domain* (separated by a space), the position behaves like for","*paper*, but refers to the distance in fractions of the domain","length from the",t,"of the domain of that axis: e.g.,","*"+p+"2 domain* refers to the domain of the second",p," axis and a",p,"position of 0.5 refers to the","point between the",t,"and the",d,"of the domain of the","second",p,"axis."].join(" ")}}},22372:function(T){T.exports={INCREASING:{COLOR:"#3D9970",SYMBOL:"▲"},DECREASING:{COLOR:"#FF4136",SYMBOL:"▼"}}},31562:function(T){T.exports={FORMAT_LINK:"https://github.com/d3/d3-format/tree/v1.4.5#d3-format",DATE_FORMAT_LINK:"https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format"}},74808:function(T){T.exports={COMPARISON_OPS:["=","!=","<",">=",">","<="],COMPARISON_OPS2:["=","<",">=",">","<="],INTERVAL_OPS:["[]","()","[)","(]","][",")(","](",")["],SET_OPS:["{}","}{"],CONSTRAINT_REDUCTION:{"=":"=","<":"<","<=":"<",">":">",">=":">","[]":"[]","()":"[]","[)":"[]","(]":"[]","][":"][",")(":"][","](":"][",")[":"]["}}},29659:function(T){T.exports={solid:[[],0],dot:[[.5,1],200],dash:[[.5,1],50],longdash:[[.5,1],10],dashdot:[[.5,.625,.875,1],50],longdashdot:[[.5,.7,.8,1],10]}},87381:function(T){T.exports={circle:"●","circle-open":"○",square:"■","square-open":"□",diamond:"◆","diamond-open":"◇",cross:"+",x:"❌"}},37822:function(T){T.exports={SHOW_PLACEHOLDER:100,HIDE_PLACEHOLDER:1e3,DESELECTDIM:.2}},50606:function(T){T.exports={BADNUM:void 0,FP_SAFE:1e-4*Number.MAX_VALUE,ONEMAXYEAR:316224e5,ONEAVGYEAR:315576e5,ONEMINYEAR:31536e6,ONEMAXQUARTER:79488e5,ONEAVGQUARTER:78894e5,ONEMINQUARTER:76896e5,ONEMAXMONTH:26784e5,ONEAVGMONTH:26298e5,ONEMINMONTH:24192e5,ONEWEEK:6048e5,ONEDAY:864e5,ONEHOUR:36e5,ONEMIN:6e4,ONESEC:1e3,EPOCHJD:24405875e-1,ALMOST_EQUAL:.999999,LOG_CLIP:10,MINUS_SIGN:"−"}},77922:function(T,p){p.xmlns="http://www.w3.org/2000/xmlns/",p.svg="http://www.w3.org/2000/svg",p.xlink="http://www.w3.org/1999/xlink",p.svgAttrs={xmlns:p.svg,"xmlns:xlink":p.xlink}},8729:function(T,p,t){p.version=t(11506).version,t(7417),t(98847);for(var d=t(73972),g=p.register=d.register,i=t(10641),M=Object.keys(i),v=0;v",""," ",""," plotly-logomark"," "," "," "," "," "," "," "," "," "," "," "," "," ",""].join("")}}},99863:function(T,p){p.isLeftAnchor=function(t){return t.xanchor==="left"||t.xanchor==="auto"&&t.x<=.3333333333333333},p.isCenterAnchor=function(t){return t.xanchor==="center"||t.xanchor==="auto"&&t.x>.3333333333333333&&t.x<.6666666666666666},p.isRightAnchor=function(t){return t.xanchor==="right"||t.xanchor==="auto"&&t.x>=.6666666666666666},p.isTopAnchor=function(t){return t.yanchor==="top"||t.yanchor==="auto"&&t.y>=.6666666666666666},p.isMiddleAnchor=function(t){return t.yanchor==="middle"||t.yanchor==="auto"&&t.y>.3333333333333333&&t.y<.6666666666666666},p.isBottomAnchor=function(t){return t.yanchor==="bottom"||t.yanchor==="auto"&&t.y<=.3333333333333333}},26348:function(T,p,t){var d=t(64872),g=d.mod,i=d.modHalf,M=Math.PI,v=2*M;function f(o){return Math.abs(o[1]-o[0])>v-1e-14}function l(o,s){return i(s-o,v)}function a(o,s){if(f(s))return!0;var c,h;s[0](h=g(h,v))&&(h+=v);var m=g(o,v),w=m+v;return m>=c&&m<=h||w>=c&&w<=h}function u(o,s,c,h,m,w,y){m=m||0,w=w||0;var S,_,k,E,x,A=f([c,h]);function L(O,z){return[O*Math.cos(z)+m,w-O*Math.sin(z)]}A?(S=0,_=M,k=v):c=m&&o<=w);var m,w},pathArc:function(o,s,c,h,m){return u(null,o,s,c,h,m,0)},pathSector:function(o,s,c,h,m){return u(null,o,s,c,h,m,1)},pathAnnulus:function(o,s,c,h,m,w){return u(o,s,c,h,m,w,1)}}},73627:function(T,p){var t=Array.isArray,d=ArrayBuffer,g=DataView;function i(f){return d.isView(f)&&!(f instanceof g)}function M(f){return t(f)||i(f)}function v(f,l,a){if(M(f)){if(M(f[0])){for(var u=a,o=0;ow.max?h.set(m):h.set(+c)}},integer:{coerceFunction:function(c,h,m,w){c%1||!d(c)||w.min!==void 0&&cw.max?h.set(m):h.set(+c)}},string:{coerceFunction:function(c,h,m,w){if(typeof c!="string"){var y=typeof c=="number";w.strict!==!0&&y?h.set(String(c)):h.set(m)}else w.noBlank&&!c?h.set(m):h.set(c)}},color:{coerceFunction:function(c,h,m){g(c).isValid()?h.set(c):h.set(m)}},colorlist:{coerceFunction:function(c,h,m){Array.isArray(c)&&c.length&&c.every(function(w){return g(w).isValid()})?h.set(c):h.set(m)}},colorscale:{coerceFunction:function(c,h,m){h.set(M.get(c,m))}},angle:{coerceFunction:function(c,h,m){c==="auto"?h.set("auto"):d(c)?h.set(u(+c,360)):h.set(m)}},subplotid:{coerceFunction:function(c,h,m,w){var y=w.regex||a(m);typeof c=="string"&&y.test(c)?h.set(c):h.set(m)},validateFunction:function(c,h){var m=h.dflt;return c===m||typeof c=="string"&&!!a(m).test(c)}},flaglist:{coerceFunction:function(c,h,m,w){if((w.extras||[]).indexOf(c)===-1)if(typeof c=="string"){for(var y=c.split("+"),S=0;S=d&&N<=g?N:a}if(typeof N!="string"&&typeof N!="number")return a;N=String(N);var G=k(W),q=N.charAt(0);!G||q!=="G"&&q!=="g"||(N=N.substr(1),W="");var H=G&&W.substr(0,7)==="chinese",ne=N.match(H?S:y);if(!ne)return a;var te=ne[1],Z=ne[3]||"1",X=Number(ne[5]||1),Q=Number(ne[7]||0),re=Number(ne[9]||0),ie=Number(ne[11]||0);if(G){if(te.length===2)return a;var oe;te=Number(te);try{var ue=m.getComponentMethod("calendars","getCal")(W);if(H){var ce=Z.charAt(Z.length-1)==="i";Z=parseInt(Z,10),oe=ue.newDate(te,ue.toMonthIndex(te,Z,ce),X)}else oe=ue.newDate(te,Number(Z),X)}catch{return a}return oe?(oe.toJD()-h)*u+Q*o+re*s+ie*c:a}te=te.length===2?(Number(te)+2e3-_)%100+_:Number(te),Z-=1;var ye=new Date(Date.UTC(2e3,Z,X,Q,re));return ye.setUTCFullYear(te),ye.getUTCMonth()!==Z||ye.getUTCDate()!==X?a:ye.getTime()+ie*c},d=p.MIN_MS=p.dateTime2ms("-9999"),g=p.MAX_MS=p.dateTime2ms("9999-12-31 23:59:59.9999"),p.isDateTime=function(N,W){return p.dateTime2ms(N,W)!==a};var x=90*u,A=3*o,L=5*s;function b(N,W,j,$,U){if((W||j||$||U)&&(N+=" "+E(W,2)+":"+E(j,2),($||U)&&(N+=":"+E($,2),U))){for(var G=4;U%10==0;)G-=1,U/=10;N+="."+E(U,G)}return N}p.ms2DateTime=function(N,W,j){if(typeof N!="number"||!(N>=d&&N<=g))return a;W||(W=0);var $,U,G,q,H,ne,te=Math.floor(10*f(N+.05,1)),Z=Math.round(N-te/10);if(k(j)){var X=Math.floor(Z/u)+h,Q=Math.floor(f(N,u));try{$=m.getComponentMethod("calendars","getCal")(j).fromJD(X).formatDate("yyyy-mm-dd")}catch{$=w("G%Y-%m-%d")(new Date(Z))}if($.charAt(0)==="-")for(;$.length<11;)$="-0"+$.substr(1);else for(;$.length<10;)$="0"+$;U=W=d+u&&N<=g-u))return a;var W=Math.floor(10*f(N+.05,1)),j=new Date(Math.round(N-W/10));return b(i("%Y-%m-%d")(j),j.getHours(),j.getMinutes(),j.getSeconds(),10*j.getUTCMilliseconds()+W)},p.cleanDate=function(N,W,j){if(N===a)return W;if(p.isJSDate(N)||typeof N=="number"&&isFinite(N)){if(k(j))return v.error("JS Dates and milliseconds are incompatible with world calendars",N),W;if(!(N=p.ms2DateTimeLocal(+N))&&W!==void 0)return W}else if(!p.isDateTime(N,j))return v.error("unrecognized date",N),W;return N};var R=/%\d?f/g,I=/%h/g,O={1:"1",2:"1",3:"2",4:"2"};function z(N,W,j,$){N=N.replace(R,function(G){var q=Math.min(+G.charAt(1)||6,6);return(W/1e3%1+2).toFixed(q).substr(2).replace(/0+$/,"")||"0"});var U=new Date(Math.floor(W+.05));if(N=N.replace(I,function(){return O[j("%q")(U)]}),k($))try{N=m.getComponentMethod("calendars","worldCalFmt")(N,W,$)}catch{return"Invalid"}return j(N)(U)}var F=[59,59.9,59.99,59.999,59.9999];p.formatDate=function(N,W,j,$,U,G){if(U=k(U)&&U,!W)if(j==="y")W=G.year;else if(j==="m")W=G.month;else{if(j!=="d")return function(q,H){var ne=f(q+.05,u),te=E(Math.floor(ne/o),2)+":"+E(f(Math.floor(ne/s),60),2);if(H!=="M"){M(H)||(H=0);var Z=(100+Math.min(f(q/c,60),F[H])).toFixed(H).substr(1);H>0&&(Z=Z.replace(/0+$/,"").replace(/[\.]$/,"")),te+=":"+Z}return te}(N,j)+` -`+z(G.dayMonthYear,N,$,U);W=G.dayMonth+` -`+G.year}return z(W,N,$,U)};var B=3*u;p.incrementMonth=function(N,W,j){j=k(j)&&j;var $=f(N,u);if(N=Math.round(N-$),j)try{var U=Math.round(N/u)+h,G=m.getComponentMethod("calendars","getCal")(j),q=G.fromJD(U);return W%12?G.add(q,W,"m"):G.add(q,W/12,"y"),(q.toJD()-h)*u+$}catch{v.error("invalid ms "+N+" in calendar "+j)}var H=new Date(N+B);return H.setUTCMonth(H.getUTCMonth()+W)+$-B},p.findExactDates=function(N,W){for(var j,$,U=0,G=0,q=0,H=0,ne=k(W)&&m.getComponentMethod("calendars","getCal")(W),te=0;te0&&b[R+1][0]<0)return R;return null}switch(w=x==="RUS"||x==="FJI"?function(b){var R;if(L(b)===null)R=b;else for(R=new Array(b.length),_=0;_R?I[O++]=[b[_][0]+360,b[_][1]]:_===R?(I[O++]=b[_],I[O++]=[b[_][0],-90]):I[O++]=b[_];var z=o.tester(I);z.pts.pop(),A.push(z)}:function(b){A.push(o.tester(b))},k.type){case"MultiPolygon":for(y=0;yj&&(j=G,B=U)}else B=N;return M.default(B).geometry.coordinates}(z),I.fIn=b,I.fOut=z,k.push(z)}else l.log(["Location",I.loc,"does not have a valid GeoJSON geometry.","Traces with locationmode *geojson-id* only support","*Polygon* and *MultiPolygon* geometries."].join(" "))}delete _[R]}switch(y.type){case"FeatureCollection":var A=y.features;for(S=0;S100?(clearInterval(R),L("Unexpected error while fetching from "+x)):void b++},50)})}for(var k=0;k0&&(M.push(v),v=[])}return v.length>0&&M.push(v),M},p.makeLine=function(g){return g.length===1?{type:"LineString",coordinates:g[0]}:{type:"MultiLineString",coordinates:g}},p.makePolygon=function(g){if(g.length===1)return{type:"Polygon",coordinates:g};for(var i=new Array(g.length),M=0;M1||A<0||A>1?null:{x:l+w*A,y:a+_*A}}function f(l,a,u,o,s){var c=o*l+s*a;if(c<0)return o*o+s*s;if(c>u){var h=o-l,m=s-a;return h*h+m*m}var w=o*a-s*l;return w*w/u}p.segmentsIntersect=v,p.segmentDistance=function(l,a,u,o,s,c,h,m){if(v(l,a,u,o,s,c,h,m))return 0;var w=u-l,y=o-a,S=h-s,_=m-c,k=w*w+y*y,E=S*S+_*_,x=Math.min(f(w,y,k,s-l,c-a),f(w,y,k,h-l,m-a),f(S,_,E,l-s,a-c),f(S,_,E,u-s,o-c));return Math.sqrt(x)},p.getTextLocation=function(l,a,u,o){if(l===g&&o===i||(d={},g=l,i=o),d[u])return d[u];var s=l.getPointAtLength(M(u-o/2,a)),c=l.getPointAtLength(M(u+o/2,a)),h=Math.atan((c.y-s.y)/(c.x-s.x)),m=l.getPointAtLength(M(u,a)),w={x:(4*m.x+s.x+c.x)/6,y:(4*m.y+s.y+c.y)/6,theta:h};return d[u]=w,w},p.clearLocationCache=function(){g=null},p.getVisibleSegment=function(l,a,u){var o,s,c=a.left,h=a.right,m=a.top,w=a.bottom,y=0,S=l.getTotalLength(),_=S;function k(x){var A=l.getPointAtLength(x);x===0?o=A:x===S&&(s=A);var L=A.xh?A.x-h:0,b=A.yw?A.y-w:0;return Math.sqrt(L*L+b*b)}for(var E=k(y);E;){if((y+=E+u)>_)return;E=k(y)}for(E=k(_);E;){if(y>(_-=E+u))return;E=k(_)}return{min:y,max:_,len:_-y,total:S,isClosed:y===0&&_===S&&Math.abs(o.x-s.x)<.1&&Math.abs(o.y-s.y)<.1}},p.findPointOnPath=function(l,a,u,o){for(var s,c,h,m=(o=o||{}).pathLength||l.getTotalLength(),w=o.tolerance||.001,y=o.iterationLimit||30,S=l.getPointAtLength(0)[u]>l.getPointAtLength(m)[u]?-1:1,_=0,k=0,E=m;_0?E=s:k=s,_++}return c}},81697:function(T,p,t){var d=t(92770),g=t(84267),i=t(25075),M=t(21081),v=t(22399).defaultLine,f=t(73627).isArrayOrTypedArray,l=i(v);function a(s,c){var h=s;return h[3]*=c,h}function u(s){if(d(s))return l;var c=i(s);return c.length?c:l}function o(s){return d(s)?s:1}T.exports={formatColor:function(s,c,h){var m,w,y,S,_,k=s.color,E=f(k),x=f(c),A=M.extractOpts(s),L=[];if(m=A.colorscale!==void 0?M.makeColorScaleFuncFromTrace(s):u,w=E?function(R,I){return R[I]===void 0?l:i(m(R[I]))}:u,y=x?function(R,I){return R[I]===void 0?1:o(R[I])}:o,E||x)for(var b=0;b1?(d*p+d*t)/d:p+t,i=String(g).length;if(i>16){var M=String(t).length;if(i>=String(p).length+M){var v=parseFloat(g).toPrecision(12);v.indexOf("e+")===-1&&(g=+v)}}return g}},71828:function(T,p,t){var d=t(39898),g=t(84096).g0,i=t(60721).WU,M=t(92770),v=t(50606),f=v.FP_SAFE,l=-f,a=v.BADNUM,u=T.exports={};u.adjustFormat=function(Q){return!Q||/^\d[.]\df/.test(Q)||/[.]\d%/.test(Q)?Q:Q==="0.f"?"~f":/^\d%/.test(Q)?"~%":/^\ds/.test(Q)?"~s":!/^[~,.0$]/.test(Q)&&/[&fps]/.test(Q)?"~"+Q:Q};var o={};u.warnBadFormat=function(Q){var re=String(Q);o[re]||(o[re]=1,u.warn('encountered bad format: "'+re+'"'))},u.noFormat=function(Q){return String(Q)},u.numberFormat=function(Q){var re;try{re=i(u.adjustFormat(Q))}catch{return u.warnBadFormat(Q),u.noFormat}return re},u.nestedProperty=t(65487),u.keyedContainer=t(66636),u.relativeAttr=t(6962),u.isPlainObject=t(41965),u.toLogRange=t(58163),u.relinkPrivateKeys=t(51332);var s=t(73627);u.isTypedArray=s.isTypedArray,u.isArrayOrTypedArray=s.isArrayOrTypedArray,u.isArray1D=s.isArray1D,u.ensureArray=s.ensureArray,u.concat=s.concat,u.maxRowLength=s.maxRowLength,u.minRowLength=s.minRowLength;var c=t(64872);u.mod=c.mod,u.modHalf=c.modHalf;var h=t(96554);u.valObjectMeta=h.valObjectMeta,u.coerce=h.coerce,u.coerce2=h.coerce2,u.coerceFont=h.coerceFont,u.coercePattern=h.coercePattern,u.coerceHoverinfo=h.coerceHoverinfo,u.coerceSelectionMarkerOpacity=h.coerceSelectionMarkerOpacity,u.validate=h.validate;var m=t(41631);u.dateTime2ms=m.dateTime2ms,u.isDateTime=m.isDateTime,u.ms2DateTime=m.ms2DateTime,u.ms2DateTimeLocal=m.ms2DateTimeLocal,u.cleanDate=m.cleanDate,u.isJSDate=m.isJSDate,u.formatDate=m.formatDate,u.incrementMonth=m.incrementMonth,u.dateTick0=m.dateTick0,u.dfltRange=m.dfltRange,u.findExactDates=m.findExactDates,u.MIN_MS=m.MIN_MS,u.MAX_MS=m.MAX_MS;var w=t(65888);u.findBin=w.findBin,u.sorterAsc=w.sorterAsc,u.sorterDes=w.sorterDes,u.distinctVals=w.distinctVals,u.roundUp=w.roundUp,u.sort=w.sort,u.findIndexOfMin=w.findIndexOfMin,u.sortObjectKeys=t(78607);var y=t(80038);u.aggNums=y.aggNums,u.len=y.len,u.mean=y.mean,u.median=y.median,u.midRange=y.midRange,u.variance=y.variance,u.stdev=y.stdev,u.interp=y.interp;var S=t(35657);u.init2dArray=S.init2dArray,u.transposeRagged=S.transposeRagged,u.dot=S.dot,u.translationMatrix=S.translationMatrix,u.rotationMatrix=S.rotationMatrix,u.rotationXYMatrix=S.rotationXYMatrix,u.apply3DTransform=S.apply3DTransform,u.apply2DTransform=S.apply2DTransform,u.apply2DTransform2=S.apply2DTransform2,u.convertCssMatrix=S.convertCssMatrix,u.inverseTransformMatrix=S.inverseTransformMatrix;var _=t(26348);u.deg2rad=_.deg2rad,u.rad2deg=_.rad2deg,u.angleDelta=_.angleDelta,u.angleDist=_.angleDist,u.isFullCircle=_.isFullCircle,u.isAngleInsideSector=_.isAngleInsideSector,u.isPtInsideSector=_.isPtInsideSector,u.pathArc=_.pathArc,u.pathSector=_.pathSector,u.pathAnnulus=_.pathAnnulus;var k=t(99863);u.isLeftAnchor=k.isLeftAnchor,u.isCenterAnchor=k.isCenterAnchor,u.isRightAnchor=k.isRightAnchor,u.isTopAnchor=k.isTopAnchor,u.isMiddleAnchor=k.isMiddleAnchor,u.isBottomAnchor=k.isBottomAnchor;var E=t(87642);u.segmentsIntersect=E.segmentsIntersect,u.segmentDistance=E.segmentDistance,u.getTextLocation=E.getTextLocation,u.clearLocationCache=E.clearLocationCache,u.getVisibleSegment=E.getVisibleSegment,u.findPointOnPath=E.findPointOnPath;var x=t(1426);u.extendFlat=x.extendFlat,u.extendDeep=x.extendDeep,u.extendDeepAll=x.extendDeepAll,u.extendDeepNoArrays=x.extendDeepNoArrays;var A=t(47769);u.log=A.log,u.warn=A.warn,u.error=A.error;var L=t(30587);u.counterRegex=L.counter;var b=t(79990);u.throttle=b.throttle,u.throttleDone=b.done,u.clearThrottle=b.clear;var R=t(24401);function I(Q){var re={};for(var ie in Q)for(var oe=Q[ie],ue=0;uef||Q=re)&&M(Q)&&Q>=0&&Q%1==0},u.noop=t(64213),u.identity=t(23389),u.repeat=function(Q,re){for(var ie=new Array(re),oe=0;oeie?Math.max(ie,Math.min(re,Q)):Math.max(re,Math.min(ie,Q))},u.bBoxIntersect=function(Q,re,ie){return ie=ie||0,Q.left<=re.right+ie&&re.left<=Q.right+ie&&Q.top<=re.bottom+ie&&re.top<=Q.bottom+ie},u.simpleMap=function(Q,re,ie,oe,ue){for(var ce=Q.length,ye=new Array(ce),de=0;de=Math.pow(2,ie)?ue>10?(u.warn("randstr failed uniqueness"),me):Q(re,ie,oe,(ue||0)+1):me},u.OptionControl=function(Q,re){Q||(Q={}),re||(re="opt");var ie={optionList:[],_newoption:function(oe){oe[re]=Q,ie[oe.name]=oe,ie.optionList.push(oe)}};return ie["_"+re]=Q,ie},u.smooth=function(Q,re){if((re=Math.round(re)||0)<2)return Q;var ie,oe,ue,ce,ye=Q.length,de=2*ye,me=2*re-1,pe=new Array(me),xe=new Array(ye);for(ie=0;ie=de&&(ue-=de*Math.floor(ue/de)),ue<0?ue=-1-ue:ue>=ye&&(ue=de-1-ue),ce+=Q[ue]*pe[oe];xe[ie]=ce}return xe},u.syncOrAsync=function(Q,re,ie){var oe;function ue(){return u.syncOrAsync(Q,re,ie)}for(;Q.length;)if((oe=(0,Q.splice(0,1)[0])(re))&&oe.then)return oe.then(ue);return ie&&ie(re)},u.stripTrailingSlash=function(Q){return Q.substr(-1)==="/"?Q.substr(0,Q.length-1):Q},u.noneOrAll=function(Q,re,ie){if(Q){var oe,ue=!1,ce=!0;for(oe=0;oe0?ue:0})},u.fillArray=function(Q,re,ie,oe){if(oe=oe||u.identity,u.isArrayOrTypedArray(Q))for(var ue=0;ue1?ue+ye[1]:"";if(ce&&(ye.length>1||de.length>4||ie))for(;oe.test(de);)de=de.replace(oe,"$1"+ce+"$2");return de+me},u.TEMPLATE_STRING_REGEX=/%{([^\s%{}:]*)([:|\|][^}]*)?}/g;var W=/^\w*$/;u.templateString=function(Q,re){var ie={};return Q.replace(u.TEMPLATE_STRING_REGEX,function(oe,ue){var ce;return W.test(ue)?ce=re[ue]:(ie[ue]=ie[ue]||u.nestedProperty(re,ue).get,ce=ie[ue]()),u.isValidTextValue(ce)?ce:""})};var j={max:10,count:0,name:"hovertemplate"};u.hovertemplateString=function(){return ne.apply(j,arguments)};var $={max:10,count:0,name:"texttemplate"};u.texttemplateString=function(){return ne.apply($,arguments)};var U=/^(\S+)([\*\/])(-?\d+(\.\d+)?)$/;function G(Q){var re=Q.match(U);return re?{key:re[1],op:re[2],number:Number(re[3])}:{key:Q,op:null,number:null}}var q={max:10,count:0,name:"texttemplate",parseMultDiv:!0};u.texttemplateStringForShapes=function(){return ne.apply(q,arguments)};var H=/^[:|\|]/;function ne(Q,re,ie){var oe=this,ue=arguments;re||(re={});var ce={};return Q.replace(u.TEMPLATE_STRING_REGEX,function(ye,de,me){var pe=de==="_xother"||de==="_yother",xe=de==="_xother_"||de==="_yother_",Pe=de==="xother_"||de==="yother_",_e=de==="xother"||de==="yother"||pe||Pe||xe,Me=de;(pe||xe)&&(Me=Me.substring(1)),(Pe||xe)&&(Me=Me.substring(0,Me.length-1));var Se,Ce,ae,fe=null,be=null;if(oe.parseMultDiv){var ke=G(Me);Me=ke.key,fe=ke.op,be=ke.number}if(_e){if((Se=re[Me])===void 0)return""}else for(ae=3;ae=48&&ye<=57,pe=de>=48&&de<=57;if(me&&(oe=10*oe+ye-48),pe&&(ue=10*ue+de-48),!me||!pe){if(oe!==ue)return oe-ue;if(ye!==de)return ye-de}}return ue-oe};var te=2e9;u.seedPseudoRandom=function(){te=2e9},u.pseudoRandom=function(){var Q=te;return te=(69069*te+1)%4294967296,Math.abs(te-Q)<429496729?u.pseudoRandom():te/4294967296},u.fillText=function(Q,re,ie){var oe=Array.isArray(ie)?function(ye){ie.push(ye)}:function(ye){ie.text=ye},ue=u.extractOption(Q,re,"htx","hovertext");if(u.isValidTextValue(ue))return oe(ue);var ce=u.extractOption(Q,re,"tx","text");return u.isValidTextValue(ce)?oe(ce):void 0},u.isValidTextValue=function(Q){return Q||Q===0},u.formatPercent=function(Q,re){re=re||0;for(var ie=(Math.round(100*Q*Math.pow(10,re))*Math.pow(.1,re)).toFixed(re)+"%",oe=0;oe1&&(pe=1):pe=0,u.strTranslate(ue-pe*(ie+ye),ce-pe*(oe+de))+u.strScale(pe)+(me?"rotate("+me+(re?"":" "+ie+" "+oe)+")":"")},u.setTransormAndDisplay=function(Q,re){Q.attr("transform",u.getTextTransform(re)),Q.style("display",re.scale?null:"none")},u.ensureUniformFontSize=function(Q,re){var ie=u.extendFlat({},re);return ie.size=Math.max(re.size,Q._fullLayout.uniformtext.minsize||0),ie},u.join2=function(Q,re,ie){var oe=Q.length;return oe>1?Q.slice(0,-1).join(re)+ie+Q[oe-1]:Q.join(re)},u.bigFont=function(Q){return Math.round(1.2*Q)};var Z=u.getFirefoxVersion(),X=Z!==null&&Z<86;u.getPositionFromD3Event=function(){return X?[d.event.layerX,d.event.layerY]:[d.event.offsetX,d.event.offsetY]}},41965:function(T){T.exports=function(p){return window&&window.process&&window.process.versions?Object.prototype.toString.call(p)==="[object Object]":Object.prototype.toString.call(p)==="[object Object]"&&Object.getPrototypeOf(p).hasOwnProperty("hasOwnProperty")}},66636:function(T,p,t){var d=t(65487),g=/^\w*$/;T.exports=function(i,M,v,f){var l,a,u;v=v||"name",f=f||"value";var o={};M&&M.length?(u=d(i,M),a=u.get()):a=i,M=M||"";var s={};if(a)for(l=0;l2)return o[w]=2|o[w],h.set(m,null);if(c){for(l=w;l1){var v=["LOG:"];for(M=0;M1){var f=[];for(M=0;M"),"long")}},i.warn=function(){var M;if(d.logging>0){var v=["WARN:"];for(M=0;M0){var f=[];for(M=0;M"),"stick")}},i.error=function(){var M;if(d.logging>0){var v=["ERROR:"];for(M=0;M0){var f=[];for(M=0;M"),"stick")}}},77310:function(T,p,t){var d=t(39898);T.exports=function(g,i,M){var v=g.selectAll("g."+M.replace(/\s/g,".")).data(i,function(l){return l[0].trace.uid});v.exit().remove(),v.enter().append("g").attr("class",M),v.order();var f=g.classed("rangeplot")?"nodeRangePlot3":"node3";return v.each(function(l){l[0][f]=d.select(this)}),v}},35657:function(T,p,t){var d=t(79576);p.init2dArray=function(g,i){for(var M=new Array(g),v=0;vt/2?p-Math.round(p/t)*t:p}}},65487:function(T,p,t){var d=t(92770),g=t(73627).isArrayOrTypedArray;function i(o,s){return function(){var c,h,m,w,y,S=o;for(w=0;w/g),h=0;ha||_===g||_o||y&&s(w))}:function(w,y){var S=w[0],_=w[1];if(S===g||Sa||_===g||_o)return!1;var k,E,x,A,L,b=f.length,R=f[0][0],I=f[0][1],O=0;for(k=1;kMath.max(E,R)||_>Math.max(x,I)))if(_h||Math.abs(d(u,w))>l)return!0;return!1},i.filter=function(M,v){var f=[M[0]],l=0,a=0;function u(o){M.push(o);var s=f.length,c=l;f.splice(a+1);for(var h=c+1;h1&&u(M.pop()),{addPt:u,raw:M,filtered:f}}},79749:function(T,p,t){var d=t(58617),g=t(98580);T.exports=function(i,M,v){var f=i._fullLayout,l=!0;return f._glcanvas.each(function(a){if(a.regl)a.regl.preloadCachedCode(v);else if(!a.pick||f._has("parcoords")){try{a.regl=g({canvas:this,attributes:{antialias:!a.pick,preserveDrawingBuffer:!0},pixelRatio:i._context.plotGlPixelRatio||t.g.devicePixelRatio,extensions:M||[],cachedCode:v||{}})}catch{l=!1}a.regl||(l=!1),l&&this.addEventListener("webglcontextlost",function(u){i&&i.emit&&i.emit("plotly_webglcontextlost",{event:u,layer:a.key})},!1)}}),l||d({container:f._glcontainer.node()}),l}},45142:function(T,p,t){var d=t(92770),g=t(35791);T.exports=function(i){var M;if(typeof(M=i&&i.hasOwnProperty("userAgent")?i.userAgent:function(){var s;return typeof navigator<"u"&&(s=navigator.userAgent),s&&s.headers&&typeof s.headers["user-agent"]=="string"&&(s=s.headers["user-agent"]),s}())!="string")return!0;var v=g({ua:{headers:{"user-agent":M}},tablet:!0,featureDetect:!1});if(!v){for(var f=M.split(" "),l=1;l-1;a--){var u=f[a];if(u.substr(0,8)==="Version/"){var o=u.substr(8).split(".")[0];if(d(o)&&(o=+o),o>=13)return!0}}}return v}},75138:function(T){T.exports=function(p,t){if(t instanceof RegExp){for(var d=t.toString(),g=0;gg.queueLength&&(M.undoQueue.queue.shift(),M.undoQueue.index--))},startSequence:function(M){M.undoQueue=M.undoQueue||{index:0,queue:[],sequence:!1},M.undoQueue.sequence=!0,M.undoQueue.beginSequence=!0},stopSequence:function(M){M.undoQueue=M.undoQueue||{index:0,queue:[],sequence:!1},M.undoQueue.sequence=!1,M.undoQueue.beginSequence=!1},undo:function(M){var v,f;if(!(M.undoQueue===void 0||isNaN(M.undoQueue.index)||M.undoQueue.index<=0)){for(M.undoQueue.index--,v=M.undoQueue.queue[M.undoQueue.index],M.undoQueue.inSequence=!0,f=0;f=M.undoQueue.queue.length)){for(v=M.undoQueue.queue[M.undoQueue.index],M.undoQueue.inSequence=!0,f=0;fs}function u(o,s){return o>=s}p.findBin=function(o,s,c){if(d(s.start))return c?Math.ceil((o-s.start)/s.size-v)-1:Math.floor((o-s.start)/s.size+v);var h,m,w=0,y=s.length,S=0,_=y>1?(s[y-1]-s[0])/(y-1):1;for(m=_>=0?c?f:l:c?u:a,o+=_*v*(c?-1:1)*(_>=0?1:-1);w90&&g.log("Long binary search..."),w-1},p.sorterAsc=function(o,s){return o-s},p.sorterDes=function(o,s){return s-o},p.distinctVals=function(o){var s,c=o.slice();for(c.sort(p.sorterAsc),s=c.length-1;s>-1&&c[s]===M;s--);for(var h,m=c[s]-c[0]||1,w=m/(s||1)/1e4,y=[],S=0;S<=s;S++){var _=c[S],k=_-h;h===void 0?(y.push(_),h=_):k>w&&(m=Math.min(m,k),y.push(_),h=_)}return{vals:y,minDiff:m}},p.roundUp=function(o,s,c){for(var h,m=0,w=s.length-1,y=0,S=c?0:1,_=c?1:0,k=c?Math.ceil:Math.floor;m0&&(h=1),c&&h)return o.sort(s)}return h?o:o.reverse()},p.findIndexOfMin=function(o,s){s=s||i;for(var c,h=1/0,m=0;mv.length)&&(f=v.length),d(M)||(M=!1),g(v[0])){for(a=new Array(f),l=0;li.length-1)return i[i.length-1];var v=M%1;return v*i[Math.ceil(M)]+(1-v)*i[Math.floor(M)]}},78614:function(T,p,t){var d=t(25075);T.exports=function(g){return g?d(g):[0,0,0,1]}},63893:function(T,p,t){var d=t(39898),g=t(71828),i=g.strTranslate,M=t(77922),v=t(18783).LINE_SPACING,f=/([^$]*)([$]+[^$]*[$]+)([^$]*)/;p.convertToTspans=function(N,W,j){var $=N.text(),U=!N.attr("data-notex")&&W&&W._context.typesetMath&&typeof MathJax<"u"&&$.match(f),G=d.select(N.node().parentNode);if(!G.empty()){var q=N.attr("class")?N.attr("class").split(" ")[0]:"text";return q+="-math",G.selectAll("svg."+q).remove(),G.selectAll("g."+q+"-group").remove(),N.style("display",null).attr({"data-unformatted":$,"data-math":"N"}),U?(W&&W._promises||[]).push(new Promise(function(ne){N.style("display","none");var te=parseInt(N.node().style.fontSize,10),Z={fontSize:te};(function(X,Q,re){var ie,oe,ue,ce,ye=parseInt((MathJax.version||"").split(".")[0]);if(ye===2||ye===3){var de=function(){var pe="math-output-"+g.randstr({},64),xe=(ce=d.select("body").append("div").attr({id:pe}).style({visibility:"hidden",position:"absolute","font-size":Q.fontSize+"px"}).text(X.replace(l,"\\lt ").replace(a,"\\gt "))).node();return ye===2?MathJax.Hub.Typeset(xe):MathJax.typeset([xe])},me=function(){var pe=ce.select(ye===2?".MathJax_SVG":".MathJax"),xe=!pe.empty()&&ce.select("svg").node();if(xe){var Pe,_e=xe.getBoundingClientRect();Pe=ye===2?d.select("body").select("#MathJax_SVG_glyphs"):pe.select("defs"),re(pe,Pe,_e)}else g.log("There was an error in the tex syntax.",X),re();ce.remove()};ye===2?MathJax.Hub.Queue(function(){return oe=g.extendDeepAll({},MathJax.Hub.config),ue=MathJax.Hub.processSectionDelay,MathJax.Hub.processSectionDelay!==void 0&&(MathJax.Hub.processSectionDelay=0),MathJax.Hub.Config({messageStyle:"none",tex2jax:{inlineMath:u},displayAlign:"left"})},function(){if((ie=MathJax.Hub.config.menuSettings.renderer)!=="SVG")return MathJax.Hub.setRenderer("SVG")},de,me,function(){if(ie!=="SVG")return MathJax.Hub.setRenderer(ie)},function(){return ue!==void 0&&(MathJax.Hub.processSectionDelay=ue),MathJax.Hub.Config(oe)}):ye===3&&(oe=g.extendDeepAll({},MathJax.config),MathJax.config.tex||(MathJax.config.tex={}),MathJax.config.tex.inlineMath=u,(ie=MathJax.config.startup.output)!=="svg"&&(MathJax.config.startup.output="svg"),MathJax.startup.defaultReady(),MathJax.startup.promise.then(function(){de(),me(),ie!=="svg"&&(MathJax.config.startup.output=ie),MathJax.config=oe}))}else g.warn("No MathJax version:",MathJax.version)})(U[2],Z,function(X,Q,re){G.selectAll("svg."+q).remove(),G.selectAll("g."+q+"-group").remove();var ie=X&&X.select("svg");if(!ie||!ie.node())return H(),void ne();var oe=G.append("g").classed(q+"-group",!0).attr({"pointer-events":"none","data-unformatted":$,"data-math":"Y"});oe.node().appendChild(ie.node()),Q&&Q.node()&&ie.node().insertBefore(Q.node().cloneNode(!0),ie.node().firstChild);var ue=re.width,ce=re.height;ie.attr({class:q,height:ce,preserveAspectRatio:"xMinYMin meet"}).style({overflow:"visible","pointer-events":"none"});var ye=N.node().style.fill||"black",de=ie.select("g");de.attr({fill:ye,stroke:ye});var me=de.node().getBoundingClientRect(),pe=me.width,xe=me.height;(pe>ue||xe>ce)&&(ie.style("overflow","hidden"),pe=(me=ie.node().getBoundingClientRect()).width,xe=me.height);var Pe=+N.attr("x"),_e=+N.attr("y"),Me=-(te||N.node().getBoundingClientRect().height)/4;if(q[0]==="y")oe.attr({transform:"rotate("+[-90,Pe,_e]+")"+i(-pe/2,Me-xe/2)});else if(q[0]==="l")_e=Me-xe/2;else if(q[0]==="a"&&q.indexOf("atitle")!==0)Pe=0,_e=Me;else{var Se=N.attr("text-anchor");Pe-=pe*(Se==="middle"?.5:Se==="end"?1:0),_e=_e+Me-xe/2}ie.attr({x:Pe,y:_e}),j&&j.call(N,oe),ne(oe)})})):H(),N}function H(){G.empty()||(q=N.attr("class")+"-math",G.select("svg."+q).remove()),N.text("").style("white-space","pre");var ne=function(te,Z){Z=Z.replace(w," ");var X,Q=!1,re=[],ie=-1;function oe(){ie++;var be=document.createElementNS(M.svg,"tspan");d.select(be).attr({class:"line",dy:ie*v+"em"}),te.appendChild(be),X=be;var ke=re;if(re=[{node:be}],ke.length>1)for(var Le=1;Le doesnt match end tag <"+be+">. Pretending it did match.",Z),X=re[re.length-1].node}else g.log("Ignoring unexpected end tag .",Z)}_.test(Z)?oe():(X=te,re=[{node:te}]);for(var de=Z.split(y),me=0;me|>|>)/g,u=[["$","$"],["\\(","\\)"]],o={sup:"font-size:70%",sub:"font-size:70%",b:"font-weight:bold",i:"font-style:italic",a:"cursor:pointer",span:"",em:"font-style:italic;font-weight:bold"},s={sub:"0.3em",sup:"-0.6em"},c={sub:"-0.21em",sup:"0.42em"},h="​",m=["http:","https:","mailto:","",void 0,":"],w=p.NEWLINES=/(\r\n?|\n)/g,y=/(<[^<>]*>)/,S=/<(\/?)([^ >]*)(\s+(.*))?>/i,_=//i;p.BR_TAG_ALL=//gi;var k=/(^|[\s"'])style\s*=\s*("([^"]*);?"|'([^']*);?')/i,E=/(^|[\s"'])href\s*=\s*("([^"]*)"|'([^']*)')/i,x=/(^|[\s"'])target\s*=\s*("([^"\s]*)"|'([^'\s]*)')/i,A=/(^|[\s"'])popup\s*=\s*("([\w=,]*)"|'([\w=,]*)')/i;function L(N,W){if(!N)return null;var j=N.match(W),$=j&&(j[3]||j[4]);return $&&O($)}var b=/(^|;)\s*color:/;p.plainText=function(N,W){for(var j=(W=W||{}).len!==void 0&&W.len!==-1?W.len:1/0,$=W.allowedTags!==void 0?W.allowedTags:["br"],U=3,G=N.split(y),q=[],H="",ne=0,te=0;teU?q.push(Z.substr(0,ie-U)+"..."):q.push(Z.substr(0,ie));break}H=""}}return q.join("")};var R={mu:"μ",amp:"&",lt:"<",gt:">",nbsp:" ",times:"×",plusmn:"±",deg:"°"},I=/&(#\d+|#x[\da-fA-F]+|[a-z]+);/g;function O(N){return N.replace(I,function(W,j){return(j.charAt(0)==="#"?function($){if(!($>1114111)){var U=String.fromCodePoint;if(U)return U($);var G=String.fromCharCode;return $<=65535?G($):G(55232+($>>10),$%1024+56320)}}(j.charAt(1)==="x"?parseInt(j.substr(2),16):parseInt(j.substr(1),10)):R[j])||W})}function z(N){var W=encodeURI(decodeURI(N)),j=document.createElement("a"),$=document.createElement("a");j.href=N,$.href=W;var U=j.protocol,G=$.protocol;return m.indexOf(U)!==-1&&m.indexOf(G)!==-1?W:""}function F(N,W,j){var $,U,G,q=j.horizontalAlign,H=j.verticalAlign||"top",ne=N.node().getBoundingClientRect(),te=W.node().getBoundingClientRect();return U=H==="bottom"?function(){return ne.bottom-$.height}:H==="middle"?function(){return ne.top+(ne.height-$.height)/2}:function(){return ne.top},G=q==="right"?function(){return ne.right-$.width}:q==="center"?function(){return ne.left+(ne.width-$.width)/2}:function(){return ne.left},function(){$=this.node().getBoundingClientRect();var Z=G()-te.left,X=U()-te.top,Q=j.gd||{};if(j.gd){Q._fullLayout._calcInverseTransform(Q);var re=g.apply3DTransform(Q._fullLayout._invTransform)(Z,X);Z=re[0],X=re[1]}return this.style({top:X+"px",left:Z+"px","z-index":1e3}),this}}p.convertEntities=O,p.sanitizeHTML=function(N){N=N.replace(w," ");for(var W=document.createElement("p"),j=W,$=[],U=N.split(y),G=0;Gv.ts+i?a():v.timer=setTimeout(function(){a(),v.timer=null},i)},p.done=function(g){var i=t[g];return i&&i.timer?new Promise(function(M){var v=i.onDone;i.onDone=function(){v&&v(),M(),i.onDone=null}}):Promise.resolve()},p.clear=function(g){if(g)d(t[g]),delete t[g];else for(var i in t)p.clear(i)}},58163:function(T,p,t){var d=t(92770);T.exports=function(g,i){if(g>0)return Math.log(g)/Math.LN10;var M=Math.log(Math.min(i[0],i[1]))/Math.LN10;return d(M)||(M=Math.log(Math.max(i[0],i[1]))/Math.LN10-6),M}},90973:function(T,p,t){var d=T.exports={},g=t(78776).locationmodeToLayer,i=t(96892).zL;d.getTopojsonName=function(M){return[M.scope.replace(/ /g,"-"),"_",M.resolution.toString(),"m"].join("")},d.getTopojsonPath=function(M,v){return M+v+".json"},d.getTopojsonFeatures=function(M,v){var f=g[M.locationmode],l=v.objects[f];return i(v,l).features}},37815:function(T){T.exports={moduleType:"locale",name:"en-US",dictionary:{"Click to enter Colorscale title":"Click to enter Colorscale title"},format:{date:"%m/%d/%Y"}}},92177:function(T){T.exports={moduleType:"locale",name:"en",dictionary:{"Click to enter Colorscale title":"Click to enter Colourscale title"},format:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],periods:["AM","PM"],dateTime:"%a %b %e %X %Y",date:"%d/%m/%Y",time:"%H:%M:%S",decimal:".",thousands:",",grouping:[3],currency:["$",""],year:"%Y",month:"%b %Y",dayMonth:"%b %-d",dayMonthYear:"%b %-d, %Y"}}},14458:function(T,p,t){var d=t(73972);T.exports=function(g){for(var i,M,v=d.layoutArrayContainers,f=d.layoutArrayRegexes,l=g.split("[")[0],a=0;a0&&M.log("Clearing previous rejected promises from queue."),E._promises=[]},p.cleanLayout=function(E){var x,A;E||(E={}),E.xaxis1&&(E.xaxis||(E.xaxis=E.xaxis1),delete E.xaxis1),E.yaxis1&&(E.yaxis||(E.yaxis=E.yaxis1),delete E.yaxis1),E.scene1&&(E.scene||(E.scene=E.scene1),delete E.scene1);var L=(v.subplotsRegistry.cartesian||{}).attrRegex,b=(v.subplotsRegistry.polar||{}).attrRegex,R=(v.subplotsRegistry.ternary||{}).attrRegex,I=(v.subplotsRegistry.gl3d||{}).attrRegex,O=Object.keys(E);for(x=0;x3?(re.x=1.02,re.xanchor="left"):re.x<-2&&(re.x=-.02,re.xanchor="right"),re.y>3?(re.y=1.02,re.yanchor="bottom"):re.y<-2&&(re.y=-.02,re.yanchor="top")),c(E),E.dragmode==="rotate"&&(E.dragmode="orbit"),l.clean(E),E.template&&E.template.layout&&p.cleanLayout(E.template.layout),E},p.cleanData=function(E){for(var x=0;x0)return E.substr(0,x)}p.hasParent=function(E,x){for(var A=_(x);A;){if(A in E)return!0;A=_(A)}return!1};var k=["x","y","z"];p.clearAxisTypes=function(E,x,A){for(var L=0;L1&&i.warn("Full array edits are incompatible with other edits",h);var E=o[""][""];if(l(E))u.set(null);else{if(!Array.isArray(E))return i.warn("Unrecognized full array edit value",h,E),!0;u.set(E)}return!S&&(m(_,k),w(a),!0)}var x,A,L,b,R,I,O,z,F=Object.keys(o).map(Number).sort(M),B=u.get(),N=B||[],W=c(k,h).get(),j=[],$=-1,U=N.length;for(x=0;xN.length-(O?0:1))i.warn("index out of range",h,L);else if(I!==void 0)R.length>1&&i.warn("Insertion & removal are incompatible with edits to the same index.",h,L),l(I)?j.push(L):O?(I==="add"&&(I={}),N.splice(L,0,I),W&&W.splice(L,0,{})):i.warn("Unrecognized full object edit value",h,L,I),$===-1&&($=L);else for(A=0;A=0;x--)N.splice(j[x],1),W&&W.splice(j[x],1);if(N.length?B||u.set(N):u.set(null),S)return!1;if(m(_,k),y!==g){var G;if($===-1)G=F;else{for(U=Math.max(N.length,U),G=[],x=0;x=$);x++)G.push(L);for(x=$;x=ae.data.length||Le<-ae.data.length)throw new Error(be+" must be valid indices for gd.data.");if(fe.indexOf(Le,ke+1)>-1||Le>=0&&fe.indexOf(-ae.data.length+Le)>-1||Le<0&&fe.indexOf(ae.data.length+Le)>-1)throw new Error("each index in "+be+" must be unique.")}}function B(ae,fe,be){if(!Array.isArray(ae.data))throw new Error("gd.data must be an array.");if(fe===void 0)throw new Error("currentIndices is a required argument.");if(Array.isArray(fe)||(fe=[fe]),F(ae,fe,"currentIndices"),be===void 0||Array.isArray(be)||(be=[be]),be!==void 0&&F(ae,be,"newIndices"),be!==void 0&&fe.length!==be.length)throw new Error("current and new indices must be of equal length.")}function N(ae,fe,be,ke,Le){(function($e,Ye,st,ot){var ht=M.isPlainObject(ot);if(!Array.isArray($e.data))throw new Error("gd.data must be an array");if(!M.isPlainObject(Ye))throw new Error("update must be a key:value object");if(st===void 0)throw new Error("indices must be an integer or array of integers");for(var bt in F($e,st,"indices"),Ye){if(!Array.isArray(Ye[bt])||Ye[bt].length!==st.length)throw new Error("attribute "+bt+" must be an array of length equal to indices array length");if(ht&&(!(bt in ot)||!Array.isArray(ot[bt])||ot[bt].length!==Ye[bt].length))throw new Error("when maxPoints is set as a key:value object it must contain a 1:1 corrispondence with the keys and number of traces in the update object")}})(ae,fe,be,ke);for(var Be=function($e,Ye,st,ot){var ht,bt,Et,kt,xt,Ft=M.isPlainObject(ot),Ot=[];for(var Bt in Array.isArray(st)||(st=[st]),st=z(st,$e.data.length-1),Ye)for(var qt=0;qt-1&&be.indexOf("grouptitlefont")===-1?je(be,be.replace("titlefont","title.font")):be.indexOf("titleposition")>-1?je(be,be.replace("titleposition","title.position")):be.indexOf("titleside")>-1?je(be,be.replace("titleside","title.side")):be.indexOf("titleoffset")>-1&&je(be,be.replace("titleoffset","title.offset")):je(be,be.replace("title","title.text"));function je(ge,we){ae[we]=ae[ge],delete ae[ge]}}function ne(ae,fe,be){ae=M.getGraphDiv(ae),k.clearPromiseQueue(ae);var ke={};if(typeof fe=="string")ke[fe]=be;else{if(!M.isPlainObject(fe))return M.warn("Relayout fail.",fe,be),Promise.reject();ke=M.extendFlat({},fe)}Object.keys(ke).length&&(ae.changed=!0);var Le=ie(ae,ke),Be=Le.flags;Be.calc&&(ae.calcdata=void 0);var ze=[o.previousPromises];Be.layoutReplot?ze.push(E.layoutReplot):Object.keys(ke).length&&(te(ae,Be,Le)||o.supplyDefaults(ae),Be.legend&&ze.push(E.doLegend),Be.layoutstyle&&ze.push(E.layoutStyles),Be.axrange&&Z(ze,Le.rangesAltered),Be.ticks&&ze.push(E.doTicksRelayout),Be.modebar&&ze.push(E.doModeBar),Be.camera&&ze.push(E.doCamera),Be.colorbars&&ze.push(E.doColorBars),ze.push(b)),ze.push(o.rehover,o.redrag,o.reselect),l.add(ae,ne,[ae,Le.undoit],ne,[ae,Le.redoit]);var je=M.syncOrAsync(ze,ae);return je&&je.then||(je=Promise.resolve(ae)),je.then(function(){return ae.emit("plotly_relayout",Le.eventData),ae})}function te(ae,fe,be){var ke=ae._fullLayout;if(!fe.axrange)return!1;for(var Le in fe)if(Le!=="axrange"&&fe[Le])return!1;for(var Be in be.rangesAltered){var ze=s.id2name(Be),je=ae.layout[ze],ge=ke[ze];if(ge.autorange=je.autorange,je.range&&(ge.range=je.range.slice()),ge.cleanRange(),ge._matchGroup){for(var we in ge._matchGroup)if(we!==Be){var Ee=ke[s.id2name(we)];Ee.autorange=ge.autorange,Ee.range=ge.range.slice(),Ee._input.range=ge.range.slice()}}}return!0}function Z(ae,fe){var be=fe?function(ke){var Le=[];for(var Be in fe){var ze=s.getFromId(ke,Be);if(Le.push(Be),(ze.ticklabelposition||"").indexOf("inside")!==-1&&ze._anchorAxis&&Le.push(ze._anchorAxis._id),ze._matchGroup)for(var je in ze._matchGroup)fe[je]||Le.push(je)}return s.draw(ke,Le,{skipTitle:!0})}:function(ke){return s.draw(ke,"redraw")};ae.push(y,E.doAutoRangeAndConstraints,be,E.drawData,E.finalDraw)}var X=/^[xyz]axis[0-9]*\.range(\[[0|1]\])?$/,Q=/^[xyz]axis[0-9]*\.autorange$/,re=/^[xyz]axis[0-9]*\.domain(\[[0|1]\])?$/;function ie(ae,fe){var be,ke,Le,Be=ae.layout,ze=ae._fullLayout,je=ze._guiEditing,ge=U(ze._preGUI,je),we=Object.keys(fe),Ee=s.list(ae),Ve=M.extendDeepAll({},fe),$e={};for(H(fe),we=Object.keys(fe),ke=0;ke0&&typeof qt.parts[Ke]!="string";)Ke--;var Je=qt.parts[Ke],qe=qt.parts[Ke-1]+"."+Je,nt=qt.parts.slice(0,Ke).join("."),ft=v(ae.layout,nt).get(),Re=v(ze,nt).get(),Ne=qt.get();if(Vt!==void 0){bt[Bt]=Vt,Et[Bt]=Je==="reverse"?Vt:$(Ne);var Qe=u.getLayoutValObject(ze,qt.parts);if(Qe&&Qe.impliedEdits&&Vt!==null)for(var ut in Qe.impliedEdits)kt(M.relativeAttr(Bt,ut),Qe.impliedEdits[ut]);if(["width","height"].indexOf(Bt)!==-1)if(Vt){kt("autosize",null);var dt=Bt==="height"?"width":"height";kt(dt,ze[dt])}else ze[Bt]=ae._initialAutoSize[Bt];else if(Bt==="autosize")kt("width",Vt?null:ze.width),kt("height",Vt?null:ze.height);else if(qe.match(X))Ot(qe),v(ze,nt+"._inputRange").set(null);else if(qe.match(Q)){Ot(qe),v(ze,nt+"._inputRange").set(null);var _t=v(ze,nt).get();_t._inputDomain&&(_t._input.domain=_t._inputDomain.slice())}else qe.match(re)&&v(ze,nt+"._inputDomain").set(null);if(Je==="type"){xt=ft;var It=Re.type==="linear"&&Vt==="log",Lt=Re.type==="log"&&Vt==="linear";if(It||Lt){if(xt&&xt.range)if(Re.autorange)It&&(xt.range=xt.range[1]>xt.range[0]?[1,2]:[2,1]);else{var yt=xt.range[0],Pt=xt.range[1];It?(yt<=0&&Pt<=0&&kt(nt+".autorange",!0),yt<=0?yt=Pt/1e6:Pt<=0&&(Pt=yt/1e6),kt(nt+".range[0]",Math.log(yt)/Math.LN10),kt(nt+".range[1]",Math.log(Pt)/Math.LN10)):(kt(nt+".range[0]",Math.pow(10,yt)),kt(nt+".range[1]",Math.pow(10,Pt)))}else kt(nt+".autorange",!0);Array.isArray(ze._subplots.polar)&&ze._subplots.polar.length&&ze[qt.parts[0]]&&qt.parts[1]==="radialaxis"&&delete ze[qt.parts[0]]._subplot.viewInitial["radialaxis.range"],a.getComponentMethod("annotations","convertCoords")(ae,Re,Vt,kt),a.getComponentMethod("images","convertCoords")(ae,Re,Vt,kt)}else kt(nt+".autorange",!0),kt(nt+".range",null);v(ze,nt+"._inputRange").set(null)}else if(Je.match(A)){var wt=v(ze,Bt).get(),Rt=(Vt||{}).type;Rt&&Rt!=="-"||(Rt="linear"),a.getComponentMethod("annotations","convertCoords")(ae,wt,Rt,kt),a.getComponentMethod("images","convertCoords")(ae,wt,Rt,kt)}var Nt=_.containerArrayMatch(Bt);if(Nt){be=Nt.array,ke=Nt.index;var Yt=Nt.property,Wt=Qe||{editType:"calc"};ke!==""&&Yt===""&&(_.isAddVal(Vt)?Et[Bt]=null:_.isRemoveVal(Vt)?Et[Bt]=(v(Be,be).get()||[])[ke]:M.warn("unrecognized full object value",fe)),x.update(ht,Wt),$e[be]||($e[be]={});var Xt=$e[be][ke];Xt||(Xt=$e[be][ke]={}),Xt[Yt]=Vt,delete fe[Bt]}else Je==="reverse"?(ft.range?ft.range.reverse():(kt(nt+".autorange",!0),ft.range=[1,0]),Re.autorange?ht.calc=!0:ht.plot=!0):(Bt==="dragmode"&&(Vt===!1&&Ne!==!1||Vt!==!1&&Ne===!1)||ze._has("scatter-like")&&ze._has("regl")&&Bt==="dragmode"&&(Vt==="lasso"||Vt==="select")&&Ne!=="lasso"&&Ne!=="select"||ze._has("gl2d")?ht.plot=!0:Qe?x.update(ht,Qe):ht.calc=!0,qt.set(Vt))}}for(be in $e)_.applyContainerArrayChanges(ae,ge(Be,be),$e[be],ht,ge)||(ht.plot=!0);for(var Qt in Ft){var rn=(xt=s.getFromId(ae,Qt))&&xt._constraintGroup;if(rn)for(var xn in ht.calc=!0,rn)Ft[xn]||(s.getFromId(ae,xn)._constraintShrinkable=!0)}return(oe(ae)||fe.height||fe.width)&&(ht.plot=!0),(ht.plot||ht.calc)&&(ht.layoutReplot=!0),{flags:ht,rangesAltered:Ft,undoit:Et,redoit:bt,eventData:Ve}}function oe(ae){var fe=ae._fullLayout,be=fe.width,ke=fe.height;return ae.layout.autosize&&o.plotAutoSize(ae,ae.layout,fe),fe.width!==be||fe.height!==ke}function ue(ae,fe,be,ke){ae=M.getGraphDiv(ae),k.clearPromiseQueue(ae),M.isPlainObject(fe)||(fe={}),M.isPlainObject(be)||(be={}),Object.keys(fe).length&&(ae.changed=!0),Object.keys(be).length&&(ae.changed=!0);var Le=k.coerceTraceIndices(ae,ke),Be=q(ae,M.extendFlat({},fe),Le),ze=Be.flags,je=ie(ae,M.extendFlat({},be)),ge=je.flags;(ze.calc||ge.calc)&&(ae.calcdata=void 0),ze.clearAxisTypes&&k.clearAxisTypes(ae,Le,be);var we=[];ge.layoutReplot?we.push(E.layoutReplot):ze.fullReplot?we.push(p._doPlot):(we.push(o.previousPromises),te(ae,ge,je)||o.supplyDefaults(ae),ze.style&&we.push(E.doTraceStyle),(ze.colorbars||ge.colorbars)&&we.push(E.doColorBars),ge.legend&&we.push(E.doLegend),ge.layoutstyle&&we.push(E.layoutStyles),ge.axrange&&Z(we,je.rangesAltered),ge.ticks&&we.push(E.doTicksRelayout),ge.modebar&&we.push(E.doModeBar),ge.camera&&we.push(E.doCamera),we.push(b)),we.push(o.rehover,o.redrag,o.reselect),l.add(ae,ue,[ae,Be.undoit,je.undoit,Be.traces],ue,[ae,Be.redoit,je.redoit,Be.traces]);var Ee=M.syncOrAsync(we,ae);return Ee&&Ee.then||(Ee=Promise.resolve(ae)),Ee.then(function(){return ae.emit("plotly_update",{data:Be.eventData,layout:je.eventData}),ae})}function ce(ae){return function(fe){fe._fullLayout._guiEditing=!0;var be=ae.apply(null,arguments);return fe._fullLayout._guiEditing=!1,be}}var ye=[{pattern:/^hiddenlabels/,attr:"legend.uirevision"},{pattern:/^((x|y)axis\d*)\.((auto)?range|title\.text)/},{pattern:/axis\d*\.showspikes$/,attr:"modebar.uirevision"},{pattern:/(hover|drag)mode$/,attr:"modebar.uirevision"},{pattern:/^(scene\d*)\.camera/},{pattern:/^(geo\d*)\.(projection|center|fitbounds)/},{pattern:/^(ternary\d*\.[abc]axis)\.(min|title\.text)$/},{pattern:/^(polar\d*\.radialaxis)\.((auto)?range|angle|title\.text)/},{pattern:/^(polar\d*\.angularaxis)\.rotation/},{pattern:/^(mapbox\d*)\.(center|zoom|bearing|pitch)/},{pattern:/^legend\.(x|y)$/,attr:"editrevision"},{pattern:/^(shapes|annotations)/,attr:"editrevision"},{pattern:/^title\.text$/,attr:"editrevision"}],de=[{pattern:/^selectedpoints$/,attr:"selectionrevision"},{pattern:/(^|value\.)visible$/,attr:"legend.uirevision"},{pattern:/^dimensions\[\d+\]\.constraintrange/},{pattern:/^node\.(x|y|groups)/},{pattern:/^level$/},{pattern:/(^|value\.)name$/},{pattern:/colorbar\.title\.text$/},{pattern:/colorbar\.(x|y)$/,attr:"editrevision"}];function me(ae,fe){for(var be=0;be1;)if(ke.pop(),(be=v(fe,ke.join(".")+".uirevision").get())!==void 0)return be;return fe.uirevision}function xe(ae,fe){for(var be=0;be=Le.length?Le[0]:Le[we]:Le}function je(we){return Array.isArray(Be)?we>=Be.length?Be[0]:Be[we]:Be}function ge(we,Ee){var Ve=0;return function(){if(we&&++Ve===Ee)return we()}}return ke._frameWaitingCnt===void 0&&(ke._frameWaitingCnt=0),new Promise(function(we,Ee){function Ve(){ae.emit("plotly_animating"),ke._lastFrameAt=-1/0,ke._timeToNext=0,ke._runningTransitions=0,ke._currentFrame=null;var Bt=function(){ke._animationRaf=window.requestAnimationFrame(Bt),Date.now()-ke._lastFrameAt>ke._timeToNext&&function(){ke._currentFrame&&ke._currentFrame.onComplete&&ke._currentFrame.onComplete();var qt=ke._currentFrame=ke._frameQueue.shift();if(qt){var Vt=qt.name?qt.name.toString():null;ae._fullLayout._currentFrame=Vt,ke._lastFrameAt=Date.now(),ke._timeToNext=qt.frameOpts.duration,o.transition(ae,qt.frame.data,qt.frame.layout,k.coerceTraceIndices(ae,qt.frame.traces),qt.frameOpts,qt.transitionOpts).then(function(){qt.onComplete&&qt.onComplete()}),ae.emit("plotly_animatingframe",{name:Vt,frame:qt.frame,animation:{frame:qt.frameOpts,transition:qt.transitionOpts}})}else ae.emit("plotly_animated"),window.cancelAnimationFrame(ke._animationRaf),ke._animationRaf=null}()};Bt()}var $e,Ye,st=0;function ot(Bt){return Array.isArray(Le)?st>=Le.length?Bt.transitionOpts=Le[st]:Bt.transitionOpts=Le[0]:Bt.transitionOpts=Le,st++,Bt}var ht=[],bt=fe==null,Et=Array.isArray(fe);if(bt||Et||!M.isPlainObject(fe)){if(bt||["string","number"].indexOf(typeof fe)!==-1)for($e=0;$e0&&FtFt)&&Ot.push(Ye);ht=Ot}}ht.length>0?function(Bt){if(Bt.length!==0){for(var qt=0;qt=0;ke--)if(M.isPlainObject(fe[ke])){var $e=fe[ke].name,Ye=(ge[$e]||Ve[$e]||{}).name,st=fe[ke].name,ot=ge[Ye]||Ve[Ye];Ye&&st&&typeof st=="number"&&ot&&L<5&&(L++,M.warn('addFrames: overwriting frame "'+(ge[Ye]||Ve[Ye]).name+'" with a frame whose name of type "number" also equates to "'+Ye+'". This is valid but may potentially lead to unexpected behavior since all plotly.js frame names are stored internally as strings.'),L===5&&M.warn("addFrames: This API call has yielded too many of these warnings. For the rest of this call, further warnings about numeric frame names will be suppressed.")),Ve[$e]={name:$e},Ee.push({frame:o.supplyFrameDefaults(fe[ke]),index:be&&be[ke]!==void 0&&be[ke]!==null?be[ke]:we+ke})}Ee.sort(function(Bt,qt){return Bt.index>qt.index?-1:Bt.index=0;ke--){if(typeof(Le=Ee[ke].frame).name=="number"&&M.warn("Warning: addFrames accepts frames with numeric names, but the numbers areimplicitly cast to strings"),!Le.name)for(;ge[Le.name="frame "+ae._transitionData._counter++];);if(ge[Le.name]){for(Be=0;Be=0;be--)ke=fe[be],Be.push({type:"delete",index:ke}),ze.unshift({type:"insert",index:ke,value:Le[ke]});var je=o.modifyFrames,ge=o.modifyFrames,we=[ae,ze],Ee=[ae,Be];return l&&l.add(ae,je,we,ge,Ee),o.modifyFrames(ae,Be)},p.addTraces=function ae(fe,be,ke){fe=M.getGraphDiv(fe);var Le,Be,ze=[],je=p.deleteTraces,ge=ae,we=[fe,ze],Ee=[fe,be];for(function(Ve,$e,Ye){var st,ot;if(!Array.isArray(Ve.data))throw new Error("gd.data must be an array.");if($e===void 0)throw new Error("traces must be defined.");for(Array.isArray($e)||($e=[$e]),st=0;st<$e.length;st++)if(typeof(ot=$e[st])!="object"||Array.isArray(ot)||ot===null)throw new Error("all values in traces array must be non-array objects");if(Ye===void 0||Array.isArray(Ye)||(Ye=[Ye]),Ye!==void 0&&Ye.length!==$e.length)throw new Error("if indices is specified, traces.length must equal indices.length")}(fe,be,ke),Array.isArray(be)||(be=[be]),be=be.map(function(Ve){return M.extendFlat({},Ve)}),k.cleanData(be),Le=0;Le=0&&Ve<$e.length?$e.splice(0,$e.length-Ve):[];return[$e,Ye]}var ze=N(fe=M.getGraphDiv(fe),be,ke,Le,Be),je=p.redraw(fe),ge=[fe,ze.update,ke,ze.maxPoints];return l.add(fe,p.prependTraces,ge,ae,arguments),je},p.moveTraces=function ae(fe,be,ke){var Le,Be=[],ze=[],je=ae,ge=ae,we=[fe=M.getGraphDiv(fe),ke,be],Ee=[fe,be,ke];if(B(fe,be,ke),be=Array.isArray(be)?be:[be],ke===void 0)for(ke=[],Le=0;Le=0&&Ve<$e.length?$e.splice(Ve,$e.length):[];return[$e,Ye]}var ze=N(fe=M.getGraphDiv(fe),be,ke,Le,Be),je=p.redraw(fe),ge=[fe,ze.update,ke,ze.maxPoints];return l.add(fe,p.extendTraces,ge,ae,arguments),je},p.newPlot=function(ae,fe,be,ke){return ae=M.getGraphDiv(ae),o.cleanPlot([],{},ae._fullData||[],ae._fullLayout||{}),o.purge(ae),p._doPlot(ae,fe,be,ke)},p._doPlot=function(ae,fe,be,ke){var Le;if(ae=M.getGraphDiv(ae),f.init(ae),M.isPlainObject(fe)){var Be=fe;fe=Be.data,be=Be.layout,ke=Be.config,Le=Be.frames}if(f.triggerHandler(ae,"plotly_beforeplot",[fe,be,ke])===!1)return Promise.reject();fe||be||M.isPlotDiv(ae)||M.warn("Calling _doPlot as if redrawing but this container doesn't yet have a plot.",ae),O(ae,ke),be||(be={}),d.select(ae).classed("js-plotly-plot",!0),c.makeTester(),Array.isArray(ae._promises)||(ae._promises=[]);var ze=(ae.data||[]).length===0&&Array.isArray(fe);Array.isArray(fe)&&(k.cleanData(fe),ze?ae.data=fe:ae.data.push.apply(ae.data,fe),ae.empty=!1),ae.layout&&!ze||(ae.layout=k.cleanLayout(be)),o.supplyDefaults(ae);var je=ae._fullLayout,ge=je._has("cartesian");je._replotting=!0,(ze||je._shouldCreateBgLayer)&&(function(bt){var Et=d.select(bt),kt=bt._fullLayout;if(kt._calcInverseTransform=Ce,kt._calcInverseTransform(bt),kt._container=Et.selectAll(".plot-container").data([0]),kt._container.enter().insert("div",":first-child").classed("plot-container",!0).classed("plotly",!0),kt._paperdiv=kt._container.selectAll(".svg-container").data([0]),kt._paperdiv.enter().append("div").classed("user-select-none",!0).classed("svg-container",!0).style("position","relative"),kt._glcontainer=kt._paperdiv.selectAll(".gl-container").data([{}]),kt._glcontainer.enter().append("div").classed("gl-container",!0),kt._paperdiv.selectAll(".main-svg").remove(),kt._paperdiv.select(".modebar-container").remove(),kt._paper=kt._paperdiv.insert("svg",":first-child").classed("main-svg",!0),kt._toppaper=kt._paperdiv.append("svg").classed("main-svg",!0),kt._modebardiv=kt._paperdiv.append("div"),delete kt._modeBar,kt._hoverpaper=kt._paperdiv.append("svg").classed("main-svg",!0),!kt._uid){var xt={};d.selectAll("defs").each(function(){this.id&&(xt[this.id.split("-")[1]]=1)}),kt._uid=M.randstr(xt)}kt._paperdiv.selectAll(".main-svg").attr(w.svgAttrs),kt._defs=kt._paper.append("defs").attr("id","defs-"+kt._uid),kt._clips=kt._defs.append("g").classed("clips",!0),kt._topdefs=kt._toppaper.append("defs").attr("id","topdefs-"+kt._uid),kt._topclips=kt._topdefs.append("g").classed("clips",!0),kt._bgLayer=kt._paper.append("g").classed("bglayer",!0),kt._draggers=kt._paper.append("g").classed("draglayer",!0);var Ft=kt._paper.append("g").classed("layer-below",!0);kt._imageLowerLayer=Ft.append("g").classed("imagelayer",!0),kt._shapeLowerLayer=Ft.append("g").classed("shapelayer",!0),kt._cartesianlayer=kt._paper.append("g").classed("cartesianlayer",!0),kt._polarlayer=kt._paper.append("g").classed("polarlayer",!0),kt._smithlayer=kt._paper.append("g").classed("smithlayer",!0),kt._ternarylayer=kt._paper.append("g").classed("ternarylayer",!0),kt._geolayer=kt._paper.append("g").classed("geolayer",!0),kt._funnelarealayer=kt._paper.append("g").classed("funnelarealayer",!0),kt._pielayer=kt._paper.append("g").classed("pielayer",!0),kt._iciclelayer=kt._paper.append("g").classed("iciclelayer",!0),kt._treemaplayer=kt._paper.append("g").classed("treemaplayer",!0),kt._sunburstlayer=kt._paper.append("g").classed("sunburstlayer",!0),kt._indicatorlayer=kt._toppaper.append("g").classed("indicatorlayer",!0),kt._glimages=kt._paper.append("g").classed("glimages",!0);var Ot=kt._toppaper.append("g").classed("layer-above",!0);kt._imageUpperLayer=Ot.append("g").classed("imagelayer",!0),kt._shapeUpperLayer=Ot.append("g").classed("shapelayer",!0),kt._selectionLayer=kt._toppaper.append("g").classed("selectionlayer",!0),kt._infolayer=kt._toppaper.append("g").classed("infolayer",!0),kt._menulayer=kt._toppaper.append("g").classed("menulayer",!0),kt._zoomlayer=kt._toppaper.append("g").classed("zoomlayer",!0),kt._hoverlayer=kt._hoverpaper.append("g").classed("hoverlayer",!0),kt._modebardiv.classed("modebar-container",!0).style("position","absolute").style("top","0px").style("right","0px"),bt.emit("plotly_framework")}(ae),je._shouldCreateBgLayer&&delete je._shouldCreateBgLayer),c.initGradients(ae),c.initPatterns(ae),ze&&s.saveShowSpikeInitial(ae);var we=!ae.calcdata||ae.calcdata.length!==(ae._fullData||[]).length;we&&o.doCalcdata(ae);for(var Ee=0;Ee=F.length)return!1;if(b.dimensions===2){if(I++,R.length===I)return b;var B=R[I];if(!k(B))return!1;b=F[z][B]}else b=F[z]}else b=F}}return b}function k(b){return b===Math.round(b)&&b>=0}function E(){var b,R,I={};for(b in u(I,M),d.subplotsRegistry)if((R=d.subplotsRegistry[b]).layoutAttributes)if(Array.isArray(R.attr))for(var O=0;O=B.length)return!1;O=(I=(d.transformsRegistry[B[N].type]||{}).attributes)&&I[R[2]],F=3}else{var W=b._module;if(W||(W=(d.modules[b.type||i.type.dflt]||{})._module),!W)return!1;if(!(O=(I=W.attributes)&&I[z])){var j=W.basePlotModule;j&&j.attributes&&(O=j.attributes[z])}O||(O=i[z])}return _(O,R,F)},p.getLayoutValObject=function(b,R){var I=function(O,z){var F,B,N,W,j=O._basePlotModules;if(j){var $;for(F=0;F=u&&(a._input||{})._templateitemname;s&&(o=u);var c,h=l+"["+o+"]";function m(){c={},s&&(c[h]={},c[h].templateitemname=s)}function w(S,_){s?d.nestedProperty(c[h],S).set(_):c[h+"."+S]=_}function y(){var S=c;return m(),S}return m(),{modifyBase:function(S,_){c[S]=_},modifyItem:w,getUpdateObj:y,applyUpdate:function(S,_){S&&w(S,_);var k=y();for(var E in k)d.nestedProperty(f,E).set(k[E])}}}},61549:function(T,p,t){var d=t(39898),g=t(73972),i=t(74875),M=t(71828),v=t(63893),f=t(33306),l=t(7901),a=t(91424),u=t(92998),o=t(64168),s=t(89298),c=t(18783),h=t(99082),m=h.enforce,w=h.clean,y=t(71739).doAutoRange,S="start";function _(L,b,R){for(var I=0;I=L[1]||O[1]<=L[0])&&z[0]b[0])return!0}return!1}function k(L){var b,R,I,O,z,F,B=L._fullLayout,N=B._size,W=N.p,j=s.list(L,"",!0);if(B._paperdiv.style({width:L._context.responsive&&B.autosize&&!L._context._hasZeroWidth&&!L.layout.width?"100%":B.width+"px",height:L._context.responsive&&B.autosize&&!L._context._hasZeroHeight&&!L.layout.height?"100%":B.height+"px"}).selectAll(".main-svg").call(a.setSize,B.width,B.height),L._context.setBackground(L,B.paper_bgcolor),p.drawMainTitle(L),o.manage(L),!B._has("cartesian"))return i.previousPromises(L);function $(Ve,$e,Ye){var st=Ve._lw/2;return Ve._id.charAt(0)==="x"?$e?Ye==="top"?$e._offset-W-st:$e._offset+$e._length+W+st:N.t+N.h*(1-(Ve.position||0))+st%1:$e?Ye==="right"?$e._offset+$e._length+W+st:$e._offset-W-st:N.l+N.w*(Ve.position||0)+st%1}for(b=0;b.5?"t":"b",te=$._fullLayout.margin[ne],Z=0;return U.yref==="paper"?Z=G+U.pad.t+U.pad.b:U.yref==="container"&&(Z=function(X,Q,re,ie,oe){var ue=0;return re==="middle"&&(ue+=oe/2),X==="t"?(re==="top"&&(ue+=oe),ue+=ie-Q*ie):(re==="bottom"&&(ue+=oe),ue+=Q*ie),ue}(ne,q,H,$._fullLayout.height,G)+U.pad.t+U.pad.b),Z>te?Z:0}(L,R,W);j>0&&(function($,U,G,q){var H="title.automargin",ne=$._fullLayout.title,te=ne.y>.5?"t":"b",Z={x:ne.x,y:ne.y,t:0,b:0},X={};ne.yref==="paper"&&function(Q,re,ie,oe,ue){var ce=re.yref==="paper"?Q._fullLayout._size.h:Q._fullLayout.height,ye=M.isTopAnchor(re)?oe:oe-ue,de=ie==="b"?ce-ye:ye;return!(M.isTopAnchor(re)&&ie==="t"||M.isBottomAnchor(re)&&ie==="b")&&deN?A.push({code:"unused",traceType:I,templateCount:B,dataCount:N}):N>B&&A.push({code:"reused",traceType:I,templateCount:B,dataCount:N})}}else A.push({code:"data"});if(function W(j,$){for(var U in j)if(U.charAt(0)!=="_"){var G=j[U],q=h(j,U,$);g(G)?(Array.isArray(j)&&G._template===!1&&G.templateitemname&&A.push({code:"missing",path:q,templateitemname:G.templateitemname}),W(G,q)):Array.isArray(G)&&m(G)&&W(G,q)}}({data:b,layout:L},""),A.length)return A.map(w)}},403:function(T,p,t){var d=t(92770),g=t(72391),i=t(74875),M=t(71828),v=t(25095),f=t(5900),l=t(70942),a=t(11506).version,u={format:{valType:"enumerated",values:["png","jpeg","webp","svg","full-json"],dflt:"png"},width:{valType:"number",min:1},height:{valType:"number",min:1},scale:{valType:"number",min:0,dflt:1},setBackground:{valType:"any",dflt:!1},imageDataOnly:{valType:"boolean",dflt:!1}};T.exports=function(o,s){var c,h,m,w;function y(N){return!(N in s)||M.validate(s[N],u[N])}if(s=s||{},M.isPlainObject(o)?(c=o.data||[],h=o.layout||{},m=o.config||{},w={}):(o=M.getGraphDiv(o),c=M.extendDeep([],o.data),h=M.extendDeep({},o.layout),m=o._context,w=o._fullLayout||{}),!y("width")&&s.width!==null||!y("height")&&s.height!==null)throw new Error("Height and width should be pixel values.");if(!y("format"))throw new Error("Export format is not "+M.join2(u.format.values,", "," or ")+".");var S={};function _(N,W){return M.coerce(s,S,u,N,W)}var k=_("format"),E=_("width"),x=_("height"),A=_("scale"),L=_("setBackground"),b=_("imageDataOnly"),R=document.createElement("div");R.style.position="absolute",R.style.left="-5000px",document.body.appendChild(R);var I=M.extendFlat({},h);E?I.width=E:s.width===null&&d(w.width)&&(I.width=w.width),x?I.height=x:s.height===null&&d(w.height)&&(I.height=w.height);var O=M.extendFlat({},m,{_exportedPlot:!0,staticPlot:!0,setBackground:L}),z=v.getRedrawFunc(R);function F(){return new Promise(function(N){setTimeout(N,v.getDelay(R._fullLayout))})}function B(){return new Promise(function(N,W){var j=f(R,k,A),$=R._fullLayout.width,U=R._fullLayout.height;function G(){g.purge(R),document.body.removeChild(R)}if(k==="full-json"){var q=i.graphJson(R,!1,"keepdata","object",!0,!0);return q.version=a,q=JSON.stringify(q),G(),N(b?q:v.encodeJSON(q))}if(G(),k==="svg")return N(b?j:v.encodeSVG(j));var H=document.createElement("canvas");H.id=M.randstr(),l({format:k,width:$,height:U,scale:A,canvas:H,svg:j,promise:!0}).then(N).catch(W)})}return new Promise(function(N,W){g.newPlot(R,c,I,O).then(z).then(F).then(B).then(function(j){N(function($){return b?$.replace(v.IMAGE_URL_PREFIX,""):$}(j))}).catch(function(j){W(j)})})}},84936:function(T,p,t){var d=t(71828),g=t(74875),i=t(86281),M=t(72075).dfltConfig,v=d.isPlainObject,f=Array.isArray,l=d.isArrayOrTypedArray;function a(S,_,k,E,x,A){A=A||[];for(var L=Object.keys(S),b=0;bz.length&&E.push(c("unused",x,I.concat(z.length)));var $,U,G,q,H,ne=z.length,te=Array.isArray(j);if(te&&(ne=Math.min(ne,j.length)),F.dimensions===2)for(U=0;Uz[U].length&&E.push(c("unused",x,I.concat(U,z[U].length)));var Z=z[U].length;for($=0;$<(te?Math.min(Z,j[U].length):Z);$++)G=te?j[U][$]:j,q=O[U][$],H=z[U][$],d.validate(q,G)?H!==q&&H!==+q&&E.push(c("dynamic",x,I.concat(U,$),q,H)):E.push(c("value",x,I.concat(U,$),q))}else E.push(c("array",x,I.concat(U),O[U]));else for(U=0;U1&&A.push(c("object","layout"))),g.supplyDefaults(L);for(var b=L._fullData,R=k.length,I=0;I0&&Math.round(h)===h))return{vals:u};s=h}for(var m=l.calendar,w=o==="start",y=o==="end",S=f[a+"period0"],_=i(S,m)||0,k=[],E=[],x=[],A=u.length,L=0;LO;)I=M(I,-s,m);for(;I<=O;)I=M(I,s,m);R=M(I,-s,m)}else{for(I=_+(b=Math.round((O-_)/c))*c;I>O;)I-=c;for(;I<=O;)I+=c;R=I-c}k[L]=w?R:y?I:(R+I)/2,E[L]=R,x[L]=I}return{vals:k,starts:E,ends:x}}},89502:function(T){T.exports={xaxis:{valType:"subplotid",dflt:"x",editType:"calc+clearAxisTypes"},yaxis:{valType:"subplotid",dflt:"y",editType:"calc+clearAxisTypes"}}},71739:function(T,p,t){var d=t(39898),g=t(92770),i=t(71828),M=t(50606).FP_SAFE,v=t(73972),f=t(91424),l=t(41675),a=l.getFromId,u=l.isLinked;function o(E,x){var A,L,b=[],R=E._fullLayout,I=c(R,x,0),O=c(R,x,1),z=h(E,x),F=z.min,B=z.max;if(F.length===0||B.length===0)return i.simpleMap(x.range,x.r2l);var N=F[0].val,W=B[0].val;for(A=1;A0&&((ne=re-I(U)-O(G))>ie?te/ne>oe&&(q=U,H=G,oe=te/ne):te/re>oe&&(q={val:U.val,nopad:1},H={val:G.val,nopad:1},oe=te/re));if(N===W){var ue=N-1,ce=N+1;if(X)if(N===0)b=[0,1];else{var ye=(N>0?B:F).reduce(function(me,pe){return Math.max(me,O(pe))},0),de=N/(1-Math.min(.5,ye/re));b=N>0?[0,de]:[de,0]}else b=Q?[Math.max(0,ue),Math.max(1,ce)]:[ue,ce]}else X?(q.val>=0&&(q={val:0,nopad:1}),H.val<=0&&(H={val:0,nopad:1})):Q&&(q.val-oe*I(q)<0&&(q={val:0,nopad:1}),H.val<=0&&(H={val:1,nopad:1})),oe=(H.val-q.val-s(x,U.val,G.val))/(re-I(q)-O(H)),b=[q.val-oe*I(q),H.val+oe*O(H)];return j&&b.reverse(),i.simpleMap(b,x.l2r||Number)}function s(E,x,A){var L=0;if(E.rangebreaks)for(var b=E.locateBreaks(x,A),R=0;R=A&&(F.extrapad||!I)){O=!1;break}b(x,F.val)&&F.pad<=A&&(I||!F.extrapad)&&(E.splice(z,1),z--)}if(O){var B=R&&x===0;E.push({val:x,pad:B?0:A,extrapad:!B&&I})}}function S(E){return g(E)&&Math.abs(E)=x}T.exports={getAutoRange:o,makePadFn:c,doAutoRange:function(E,x,A){if(x.setScale(),x.autorange){x.range=A?A.slice():o(E,x),x._r=x.range.slice(),x._rl=i.simpleMap(x._r,x.r2l);var L=x._input,b={};b[x._attr+".range"]=x.range,b[x._attr+".autorange"]=x.autorange,v.call("_storeDirectGUIEdit",E.layout,E._fullLayout._preGUI,b),L.range=x.range.slice(),L.autorange=x.autorange}var R=x._anchorAxis;if(R&&R.rangeslider){var I=R.rangeslider[x._name];I&&I.rangemode==="auto"&&(I.range=o(E,x)),R._input.rangeslider[x._name]=i.extendFlat({},I)}},findExtremes:function(E,x,A){A||(A={}),E._m||E.setScale();var L,b,R,I,O,z,F,B,N,W=[],j=[],$=x.length,U=A.padded||!1,G=A.tozero&&(E.type==="linear"||E.type==="-"),q=E.type==="log",H=!1,ne=A.vpadLinearized||!1;function te(ce){if(Array.isArray(ce))return H=!0,function(de){return Math.max(Number(ce[de]||0),0)};var ye=Math.max(Number(ce||0),0);return function(){return ye}}var Z=te((E._m>0?A.ppadplus:A.ppadminus)||A.ppad||0),X=te((E._m>0?A.ppadminus:A.ppadplus)||A.ppad||0),Q=te(A.vpadplus||A.vpad),re=te(A.vpadminus||A.vpad);if(!H){if(B=1/0,N=-1/0,q)for(L=0;L<$;L++)(b=x[L])0&&(B=b),b>N&&b-M&&(B=b),b>N&&b=ue;L--)oe(L);return{min:W,max:j,opts:A}},concatExtremes:h}},89298:function(T,p,t){var d=t(39898),g=t(92770),i=t(74875),M=t(73972),v=t(71828),f=v.strTranslate,l=t(63893),a=t(92998),u=t(7901),o=t(91424),s=t(13838),c=t(66287),h=t(50606),m=h.ONEMAXYEAR,w=h.ONEAVGYEAR,y=h.ONEMINYEAR,S=h.ONEMAXQUARTER,_=h.ONEAVGQUARTER,k=h.ONEMINQUARTER,E=h.ONEMAXMONTH,x=h.ONEAVGMONTH,A=h.ONEMINMONTH,L=h.ONEWEEK,b=h.ONEDAY,R=b/2,I=h.ONEHOUR,O=h.ONEMIN,z=h.ONESEC,F=h.MINUS_SIGN,B=h.BADNUM,N={K:"zeroline"},W={K:"gridline",L:"path"},j={K:"minor-gridline",L:"path"},$={K:"tick",L:"path"},U={K:"tick",L:"text"},G={width:["x","r","l","xl","xr"],height:["y","t","b","yt","yb"],right:["r","xr"],left:["l","xl"],top:["t","yt"],bottom:["b","yb"]},q=t(18783),H=q.MID_SHIFT,ne=q.CAP_SHIFT,te=q.LINE_SPACING,Z=q.OPPOSITE_SIDE,X=T.exports={};X.setConvert=t(21994);var Q=t(4322),re=t(41675),ie=re.idSort,oe=re.isLinked;X.id2name=re.id2name,X.name2id=re.name2id,X.cleanId=re.cleanId,X.list=re.list,X.listIds=re.listIds,X.getFromId=re.getFromId,X.getFromTrace=re.getFromTrace;var ue=t(71739);function ce(Re){var Ne=1e-4*(Re[1]-Re[0]);return[Re[0]-Ne,Re[1]+Ne]}X.getAutoRange=ue.getAutoRange,X.findExtremes=ue.findExtremes,X.coerceRef=function(Re,Ne,Qe,ut,dt,_t){var It=ut.charAt(ut.length-1),Lt=Qe._fullLayout._subplots[It+"axis"],yt=ut+"ref",Pt={};return dt||(dt=Lt[0]||(typeof _t=="string"?_t:_t[0])),_t||(_t=dt),Lt=Lt.concat(Lt.map(function(wt){return wt+" domain"})),Pt[yt]={valType:"enumerated",values:Lt.concat(_t?typeof _t=="string"?[_t]:_t:[]),dflt:dt},v.coerce(Re,Ne,Pt,yt)},X.getRefType=function(Re){return Re===void 0?Re:Re==="paper"?"paper":Re==="pixel"?"pixel":/( domain)$/.test(Re)?"domain":"range"},X.coercePosition=function(Re,Ne,Qe,ut,dt,_t){var It,Lt;if(X.getRefType(ut)!=="range")It=v.ensureNumber,Lt=Qe(dt,_t);else{var yt=X.getFromId(Ne,ut);Lt=Qe(dt,_t=yt.fraction2r(_t)),It=yt.cleanPos}Re[dt]=It(Lt)},X.cleanPosition=function(Re,Ne,Qe){return(Qe==="paper"||Qe==="pixel"?v.ensureNumber:X.getFromId(Ne,Qe).cleanPos)(Re)},X.redrawComponents=function(Re,Ne){Ne=Ne||X.listIds(Re);var Qe=Re._fullLayout;function ut(dt,_t,It,Lt){for(var yt=M.getComponentMethod(dt,_t),Pt={},wt=0;wtQe&&wt2e-6||((Qe-Re._forceTick0)/Re._minDtick%1+1.000001)%1>2e-6)&&(Re._minDtick=0)):Re._minDtick=0},X.saveRangeInitial=function(Re,Ne){for(var Qe=X.list(Re,"",!0),ut=!1,dt=0;dt.3*Dn||dn(un)||dn(An))){var In=xn.dtick/2;Qt+=Qt+In.8){var kn=Number(xn.substr(1));Yn.exactYears>.8&&kn%12==0?Qt=X.tickIncrement(Qt,"M6","reverse")+1.5*b:Yn.exactMonths>.8?Qt=X.tickIncrement(Qt,"M1","reverse")+15.5*b:Qt-=R;var sn=X.tickIncrement(Qt,xn);if(sn<=un)return sn}return Qt}(Xt,Re,Wt,Lt,dt)),Yt=Xt;Yt<=yt;)Yt=X.tickIncrement(Yt,Wt,!1,dt);return{start:Ne.c2r(Xt,0,dt),end:Ne.c2r(Yt,0,dt),size:Wt,_dataSpan:yt-Lt}},X.prepMinorTicks=function(Re,Ne,Qe){if(!Ne.minor.dtick){delete Re.dtick;var ut,dt=Ne.dtick&&g(Ne._tmin);if(dt){var _t=X.tickIncrement(Ne._tmin,Ne.dtick,!0);ut=[Ne._tmin,.99*_t+.01*Ne._tmin]}else{var It=v.simpleMap(Ne.range,Ne.r2l);ut=[It[0],.8*It[0]+.2*It[1]]}if(Re.range=v.simpleMap(ut,Ne.l2r),Re._isMinor=!0,X.prepTicks(Re,Qe),dt){var Lt=g(Ne.dtick),yt=g(Re.dtick),Pt=Lt?Ne.dtick:+Ne.dtick.substring(1),wt=yt?Re.dtick:+Re.dtick.substring(1);Lt&&yt?pe(Pt,wt)?Pt===2*L&&wt===2*b&&(Re.dtick=L):Pt===2*L&&wt===3*b?Re.dtick=L:Pt!==L||(Ne._input.minor||{}).nticks?xe(Pt/wt,2.5)?Re.dtick=Pt/2:Re.dtick=Pt:Re.dtick=b:String(Ne.dtick).charAt(0)==="M"?yt?Re.dtick="M1":pe(Pt,wt)?Pt>=12&&wt===2&&(Re.dtick="M3"):Re.dtick=Ne.dtick:String(Re.dtick).charAt(0)==="L"?String(Ne.dtick).charAt(0)==="L"?pe(Pt,wt)||(Re.dtick=xe(Pt/wt,2.5)?Ne.dtick/2:Ne.dtick):Re.dtick="D1":Re.dtick==="D2"&&+Ne.dtick>1&&(Re.dtick=1)}Re.range=Ne.range}Ne.minor._tick0Init===void 0&&(Re.tick0=Ne.tick0)},X.prepTicks=function(Re,Ne){var Qe=v.simpleMap(Re.range,Re.r2l,void 0,void 0,Ne);if(Re.tickmode==="auto"||!Re.dtick){var ut,dt=Re.nticks;dt||(Re.type==="category"||Re.type==="multicategory"?(ut=Re.tickfont?v.bigFont(Re.tickfont.size||12):15,dt=Re._length/ut):(ut=Re._id.charAt(0)==="y"?40:80,dt=v.constrain(Re._length/ut,4,9)+1),Re._name==="radialaxis"&&(dt*=2)),Re.minor&&Re.minor.tickmode!=="array"||Re.tickmode==="array"&&(dt*=100),Re._roughDTick=Math.abs(Qe[1]-Qe[0])/dt,X.autoTicks(Re,Re._roughDTick),Re._minDtick>0&&Re.dtick<2*Re._minDtick&&(Re.dtick=Re._minDtick,Re.tick0=Re.l2r(Re._forceTick0))}Re.ticklabelmode==="period"&&function(_t){var It;function Lt(){return!(g(_t.dtick)||_t.dtick.charAt(0)!=="M")}var yt=Lt(),Pt=X.getTickFormat(_t);if(Pt){var wt=_t._dtickInit!==_t.dtick;/%[fLQsSMX]/.test(Pt)||(/%[HI]/.test(Pt)?(It=I,wt&&!yt&&_t.dtick=(rn?0:1);xn--){var un=!xn;xn?(Re._dtickInit=Re.dtick,Re._tick0Init=Re.tick0):(Re.minor._dtickInit=Re.minor.dtick,Re.minor._tick0Init=Re.minor.tick0);var An=xn?Re:v.extendFlat({},Re,Re.minor);if(un?X.prepMinorTicks(An,Re,Ne):X.prepTicks(An,Ne),An.tickmode!=="array")if(An.tickmode!=="sync"){var Yn=ce(yt),kn=Yn[0],sn=Yn[1],Tn=g(An.dtick),dn=dt==="log"&&!(Tn||An.dtick.charAt(0)==="L"),pn=X.tickFirst(An,Ne);if(xn){if(Re._tmin=pn,pn=sn:Gn<=sn;Gn=X.tickIncrement(Gn,qn,Pt,_t)){if(xn&&Dn++,An.rangebreaks&&!Pt){if(Gn=Rt)break}if(Xt.length>Nt||Gn===jn)break;jn=Gn;var lr={value:Gn};xn?(dn&&Gn!==(0|Gn)&&(lr.simpleLabel=!0),It>1&&Dn%It&&(lr.skipLabel=!0),Xt.push(lr)):(lr.minor=!0,Qt.push(lr))}}else Xt=[],Yt=Me(Re);else xn?(Xt=[],Yt=Se(Re)):(Qt=[],Wt=Se(Re))}if(rn&&!(Re.minor.ticks==="inside"&&Re.ticks==="outside"||Re.minor.ticks==="outside"&&Re.ticks==="inside")){for(var rr=Xt.map(function(Pn){return Pn.value}),Sr=[],yr=0;yr0?(On=hn-1,En=hn):(On=hn,En=hn);var mn,wn=Pn[On].value,gn=Pn[En].value,yn=Math.abs(gn-wn),Sn=Jt||yn,Vn=0;Sn>=y?Vn=yn>=y&&yn<=m?yn:w:Jt===_&&Sn>=k?Vn=yn>=k&&yn<=S?yn:_:Sn>=A?Vn=yn>=A&&yn<=E?yn:x:Jt===L&&Sn>=L?Vn=L:Sn>=b?Vn=b:Jt===R&&Sn>=R?Vn=R:Jt===I&&Sn>=I&&(Vn=I),Vn>=yn&&(Vn=yn,mn=!0);var Xn=zn+Vn;if(jt.rangebreaks&&Vn>0){for(var nr=0,Qn=0;Qn<84;Qn++){var hr=(Qn+.5)/84;jt.maskBreaks(zn*(1-hr)+hr*Xn)!==B&&nr++}(Vn*=nr/84)||(Pn[hn].drop=!0),mn&&yn>L&&(Vn=yn)}(Vn>0||hn===0)&&(Pn[hn].periodX=zn+Vn/2)}}(Xt,Re,Re._definedDelta),Re.rangebreaks){var bn=Re._id.charAt(0)==="y",Rn=1;Re.tickmode==="auto"&&(Rn=Re.tickfont?Re.tickfont.size:12);var Ln=NaN;for(Qe=Xt.length-1;Qe>-1;Qe--)if(Xt[Qe].drop)Xt.splice(Qe,1);else{Xt[Qe].value=Je(Xt[Qe].value,Re);var Un=Re.c2p(Xt[Qe].value);(bn?Ln>Un-Rn:LnRt||$nRt&&(Kn.periodX=Rt),$n10||ut.substr(5)!=="01-01"?Re._tickround="d":Re._tickround=+Ne.substr(1)%12==0?"y":"m";else if(Ne>=b&&dt<=10||Ne>=15*b)Re._tickround="d";else if(Ne>=O&&dt<=16||Ne>=I)Re._tickround="M";else if(Ne>=z&&dt<=19||Ne>=O)Re._tickround="S";else{var _t=Re.l2r(Qe+Ne).replace(/^-/,"").length;Re._tickround=Math.max(dt,_t)-20,Re._tickround<0&&(Re._tickround=4)}}else if(g(Ne)||Ne.charAt(0)==="L"){var It=Re.range.map(Re.r2d||Number);g(Ne)||(Ne=Number(Ne.substr(1))),Re._tickround=2-Math.floor(Math.log(Ne)/Math.LN10+.01);var Lt=Math.max(Math.abs(It[0]),Math.abs(It[1])),yt=Math.floor(Math.log(Lt)/Math.LN10+.01),Pt=Re.minexponent===void 0?3:Re.minexponent;Math.abs(yt)>Pt&&(Ee(Re.exponentformat)&&!Ve(yt)?Re._tickexponent=3*Math.round((yt-1)/3):Re._tickexponent=yt)}else Re._tickround=null}function ge(Re,Ne,Qe){var ut=Re.tickfont||{};return{x:Ne,dx:0,dy:0,text:Qe||"",fontSize:ut.size,font:ut.family,fontColor:ut.color}}X.autoTicks=function(Re,Ne,Qe){var ut;function dt(Rt){return Math.pow(Rt,Math.floor(Math.log(Ne)/Math.LN10))}if(Re.type==="date"){Re.tick0=v.dateTick0(Re.calendar,0);var _t=2*Ne;if(_t>w)Ne/=w,ut=dt(10),Re.dtick="M"+12*ze(Ne,ut,Ce);else if(_t>x)Ne/=x,Re.dtick="M"+ze(Ne,1,ae);else if(_t>b){if(Re.dtick=ze(Ne,b,Re._hasDayOfWeekBreaks?[1,2,7,14]:be),!Qe){var It=X.getTickFormat(Re),Lt=Re.ticklabelmode==="period";Lt&&(Re._rawTick0=Re.tick0),/%[uVW]/.test(It)?Re.tick0=v.dateTick0(Re.calendar,2):Re.tick0=v.dateTick0(Re.calendar,1),Lt&&(Re._dowTick0=Re.tick0)}}else _t>I?Re.dtick=ze(Ne,I,ae):_t>O?Re.dtick=ze(Ne,O,fe):_t>z?Re.dtick=ze(Ne,z,fe):(ut=dt(10),Re.dtick=ze(Ne,ut,Ce))}else if(Re.type==="log"){Re.tick0=0;var yt=v.simpleMap(Re.range,Re.r2l);if(Re._isMinor&&(Ne*=1.5),Ne>.7)Re.dtick=Math.ceil(Ne);else if(Math.abs(yt[1]-yt[0])<1){var Pt=1.5*Math.abs((yt[1]-yt[0])/Ne);Ne=Math.abs(Math.pow(10,yt[1])-Math.pow(10,yt[0]))/Pt,ut=dt(10),Re.dtick="L"+ze(Ne,ut,Ce)}else Re.dtick=Ne>.3?"D2":"D1"}else Re.type==="category"||Re.type==="multicategory"?(Re.tick0=0,Re.dtick=Math.ceil(Math.max(Ne,1))):Ke(Re)?(Re.tick0=0,ut=1,Re.dtick=ze(Ne,ut,Be)):(Re.tick0=0,ut=dt(10),Re.dtick=ze(Ne,ut,Ce));if(Re.dtick===0&&(Re.dtick=1),!g(Re.dtick)&&typeof Re.dtick!="string"){var wt=Re.dtick;throw Re.dtick=1,"ax.dtick error: "+String(wt)}},X.tickIncrement=function(Re,Ne,Qe,ut){var dt=Qe?-1:1;if(g(Ne))return v.increment(Re,dt*Ne);var _t=Ne.charAt(0),It=dt*Number(Ne.substr(1));if(_t==="M")return v.incrementMonth(Re,It,ut);if(_t==="L")return Math.log(Math.pow(10,Re)+It)/Math.LN10;if(_t==="D"){var Lt=Ne==="D2"?Le:ke,yt=Re+.01*dt,Pt=v.roundUp(v.mod(yt,1),Lt,Qe);return Math.floor(yt)+Math.log(d.round(Math.pow(10,Pt),1))/Math.LN10}throw"unrecognized dtick "+String(Ne)},X.tickFirst=function(Re,Ne){var Qe=Re.r2l||Number,ut=v.simpleMap(Re.range,Qe,void 0,void 0,Ne),dt=ut[1] ")}else Qt._prevDateHead=kn,sn+="
"+kn;rn.text=sn}(Re,_t,Qe,Lt):yt==="log"?function(Qt,rn,xn,un,An){var Yn=Qt.dtick,kn=rn.x,sn=Qt.tickformat,Tn=typeof Yn=="string"&&Yn.charAt(0);if(An==="never"&&(An=""),un&&Tn!=="L"&&(Yn="L3",Tn="L"),sn||Tn==="L")rn.text=$e(Math.pow(10,kn),Qt,An,un);else if(g(Yn)||Tn==="D"&&v.mod(kn+.01,1)<.1){var dn=Math.round(kn),pn=Math.abs(dn),Dn=Qt.exponentformat;Dn==="power"||Ee(Dn)&&Ve(dn)?(rn.text=dn===0?1:dn===1?"10":"10"+(dn>1?"":F)+pn+"",rn.fontSize*=1.25):(Dn==="e"||Dn==="E")&&pn>2?rn.text="1"+Dn+(dn>0?"+":F)+pn:(rn.text=$e(Math.pow(10,kn),Qt,"","fakehover"),Yn==="D1"&&Qt._id.charAt(0)==="y"&&(rn.dy-=rn.fontSize/6))}else{if(Tn!=="D")throw"unrecognized dtick "+String(Yn);rn.text=String(Math.round(Math.pow(10,v.mod(kn,1)))),rn.fontSize*=.75}if(Qt.dtick==="D1"){var In=String(rn.text).charAt(0);In!=="0"&&In!=="1"||(Qt._id.charAt(0)==="y"?rn.dx-=rn.fontSize/4:(rn.dy+=rn.fontSize/2,rn.dx+=(Qt.range[1]>Qt.range[0]?1:-1)*rn.fontSize*(kn<0?.5:.25)))}}(Re,_t,0,Lt,Yt):yt==="category"?function(Qt,rn){var xn=Qt._categories[Math.round(rn.x)];xn===void 0&&(xn=""),rn.text=String(xn)}(Re,_t):yt==="multicategory"?function(Qt,rn,xn){var un=Math.round(rn.x),An=Qt._categories[un]||[],Yn=An[1]===void 0?"":String(An[1]),kn=An[0]===void 0?"":String(An[0]);xn?rn.text=kn+" - "+Yn:(rn.text=Yn,rn.text2=kn)}(Re,_t,Qe):Ke(Re)?function(Qt,rn,xn,un,An){if(Qt.thetaunit!=="radians"||xn)rn.text=$e(rn.x,Qt,An,un);else{var Yn=rn.x/180;if(Yn===0)rn.text="0";else{var kn=function(Tn){function dn(jn,Gn){return Math.abs(jn-Gn)<=1e-6}var pn=function(jn){for(var Gn=1;!dn(Math.round(jn*Gn)/Gn,jn);)Gn*=10;return Gn}(Tn),Dn=Tn*pn,In=Math.abs(function jn(Gn,qn){return dn(qn,0)?Gn:jn(qn,Gn%qn)}(Dn,pn));return[Math.round(Dn/In),Math.round(pn/In)]}(Yn);if(kn[1]>=100)rn.text=$e(v.deg2rad(rn.x),Qt,An,un);else{var sn=rn.x<0;kn[1]===1?kn[0]===1?rn.text="π":rn.text=kn[0]+"π":rn.text=["",kn[0],"","⁄","",kn[1],"","π"].join(""),sn&&(rn.text=F+rn.text)}}}}(Re,_t,Qe,Lt,Yt):function(Qt,rn,xn,un,An){An==="never"?An="":Qt.showexponent==="all"&&Math.abs(rn.x/Qt.dtick)<1e-6&&(An="hide"),rn.text=$e(rn.x,Qt,An,un)}(Re,_t,0,Lt,Yt),ut||(Re.tickprefix&&!Nt(Re.showtickprefix)&&(_t.text=Re.tickprefix+_t.text),Re.ticksuffix&&!Nt(Re.showticksuffix)&&(_t.text+=Re.ticksuffix)),Re.labelalias&&Re.labelalias.hasOwnProperty(_t.text)){var Wt=Re.labelalias[_t.text];typeof Wt=="string"&&(_t.text=Wt)}if(Re.tickson==="boundaries"||Re.showdividers){var Xt=function(Qt){var rn=Re.l2p(Qt);return rn>=0&&rn<=Re._length?Qt:null};_t.xbnd=[Xt(_t.x-.5),Xt(_t.x+Re.dtick-.5)]}return _t},X.hoverLabelText=function(Re,Ne,Qe){Qe&&(Re=v.extendFlat({},Re,{hoverformat:Qe}));var ut=Array.isArray(Ne)?Ne[0]:Ne,dt=Array.isArray(Ne)?Ne[1]:void 0;if(dt!==void 0&&dt!==ut)return X.hoverLabelText(Re,ut,Qe)+" - "+X.hoverLabelText(Re,dt,Qe);var _t=Re.type==="log"&&ut<=0,It=X.tickText(Re,Re.c2l(_t?-ut:ut),"hover").text;return _t?ut===0?"0":F+It:It};var we=["f","p","n","μ","m","","k","M","G","T"];function Ee(Re){return Re==="SI"||Re==="B"}function Ve(Re){return Re>14||Re<-15}function $e(Re,Ne,Qe,ut){var dt=Re<0,_t=Ne._tickround,It=Qe||Ne.exponentformat||"B",Lt=Ne._tickexponent,yt=X.getTickFormat(Ne),Pt=Ne.separatethousands;if(ut){var wt={exponentformat:It,minexponent:Ne.minexponent,dtick:Ne.showexponent==="none"?Ne.dtick:g(Re)&&Math.abs(Re)||1,range:Ne.showexponent==="none"?Ne.range.map(Ne.r2d):[0,Re||1]};je(wt),_t=(Number(wt._tickround)||0)+4,Lt=wt._tickexponent,Ne.hoverformat&&(yt=Ne.hoverformat)}if(yt)return Ne._numFormat(yt)(Re).replace(/-/g,F);var Rt,Nt=Math.pow(10,-_t)/2;if(It==="none"&&(Lt=0),(Re=Math.abs(Re))"+Rt+"":It==="B"&&Lt===9?Re+="B":Ee(It)&&(Re+=we[Lt/3+5])),dt?F+Re:Re}function Ye(Re,Ne){if(Re){var Qe=Object.keys(G).reduce(function(ut,dt){return Ne.indexOf(dt)!==-1&&G[dt].forEach(function(_t){ut[_t]=1}),ut},{});Object.keys(Re).forEach(function(ut){Qe[ut]||(ut.length===1?Re[ut]=0:delete Re[ut])})}}function st(Re,Ne){for(var Qe=[],ut={},dt=0;dt1&&Qe=dt.min&&Re=0,rn=wt(Nt,Yt[1])<=0;return(Wt||Qt)&&(Xt||rn)}if(Re.tickformatstops&&Re.tickformatstops.length>0)switch(Re.type){case"date":case"linear":for(Ne=0;Ne=It(dt)))){Qe=ut;break}break;case"log":for(Ne=0;Ne=0&&dt.unshift(dt.splice(Pt,1).shift())}});var It={false:{left:0,right:0}};return v.syncOrAsync(dt.map(function(Lt){return function(){if(Lt){var yt=X.getFromId(Re,Lt);Qe||(Qe={}),Qe.axShifts=It,Qe.overlayingShiftedAx=_t;var Pt=X.drawOne(Re,yt,Qe);return yt._shiftPusher&&ft(yt,yt._fullDepth||0,It,!0),yt._r=yt.range.slice(),yt._rl=v.simpleMap(yt._r,yt.r2l),Pt}}}))},X.drawOne=function(Re,Ne,Qe){var ut,dt,_t,It=(Qe=Qe||{}).axShifts||{},Lt=Qe.overlayingShiftedAx||[];Ne.setScale();var yt=Re._fullLayout,Pt=Ne._id,wt=Pt.charAt(0),Rt=X.counterLetter(Pt),Nt=yt._plots[Ne._mainSubplot];if(Nt){if(Ne._shiftPusher=Ne.autoshift||Lt.indexOf(Ne._id)!==-1||Lt.indexOf(Ne.overlaying)!==-1,Ne._shiftPusher&Ne.anchor==="free"){var Yt=Ne.linewidth/2||0;Ne.ticks==="inside"&&(Yt+=Ne.ticklen),ft(Ne,Yt,It,!0),ft(Ne,Ne.shift||0,It,!1)}Qe.skipTitle===!0&&Ne._shift!==void 0||(Ne._shift=function(En,mn){return En.autoshift?mn[En.overlaying][En.side]:En.shift||0}(Ne,It));var Wt=Nt[wt+"axislayer"],Xt=Ne._mainLinePosition,Qt=Xt+=Ne._shift,rn=Ne._mainMirrorPosition,xn=Ne._vals=X.calcTicks(Ne),un=[Ne.mirror,Qt,rn].join("_");for(ut=0;ut0?En.bottom-Vn:0,Xn))));var nr=0,Qn=0;if(Ne._shiftPusher&&(nr=Math.max(Xn,En.height>0?yn==="l"?Vn-En.left:En.right-Vn:0),Ne.title.text!==yt._dfltTitle[wt]&&(Qn=(Ne._titleStandoff||0)+(Ne._titleScoot||0),yn==="l"&&(Qn+=bt(Ne))),Ne._fullDepth=Math.max(nr,Qn)),Ne.automargin){mn={x:0,y:0,r:0,l:0,t:0,b:0};var hr=[0,1],cr=typeof Ne._shift=="number"?Ne._shift:0;if(wt==="x"){if(yn==="b"?mn[yn]=Ne._depth:(mn[yn]=Ne._depth=Math.max(En.width>0?Vn-En.top:0,Xn),hr.reverse()),En.width>0){var pr=En.right-(Ne._offset+Ne._length);pr>0&&(mn.xr=1,mn.r=pr);var dr=Ne._offset-En.left;dr>0&&(mn.xl=0,mn.l=dr)}}else if(yn==="l"?(Ne._depth=Math.max(En.height>0?Vn-En.left:0,Xn),mn[yn]=Ne._depth-cr):(Ne._depth=Math.max(En.height>0?En.right-Vn:0,Xn),mn[yn]=Ne._depth+cr,hr.reverse()),En.height>0){var br=En.bottom-(Ne._offset+Ne._length);br>0&&(mn.yb=0,mn.b=br);var Ir=Ne._offset-En.top;Ir>0&&(mn.yt=1,mn.t=Ir)}mn[Rt]=Ne.anchor==="free"?Ne.position:Ne._anchorAxis.domain[hr[0]],Ne.title.text!==yt._dfltTitle[wt]&&(mn[yn]+=bt(Ne)+(Ne.title.standoff||0)),Ne.mirror&&Ne.anchor!=="free"&&((wn={x:0,y:0,r:0,l:0,t:0,b:0})[Sn]=Ne.linewidth,Ne.mirror&&Ne.mirror!==!0&&(wn[Sn]+=Xn),Ne.mirror===!0||Ne.mirror==="ticks"?wn[Rt]=Ne._anchorAxis.domain[hr[1]]:Ne.mirror!=="all"&&Ne.mirror!=="allticks"||(wn[Rt]=[Ne._counterDomainMin,Ne._counterDomainMax][hr[1]]))}zn&&(gn=M.getComponentMethod("rangeslider","autoMarginOpts")(Re,Ne)),typeof Ne.automargin=="string"&&(Ye(mn,Ne.automargin),Ye(wn,Ne.automargin)),i.autoMargin(Re,xt(Ne),mn),i.autoMargin(Re,Ft(Ne),wn),i.autoMargin(Re,Ot(Ne),gn)}),v.syncOrAsync(Jt)}}function On(En){var mn=Pt+(En||"tick");return An[mn]||(An[mn]=function(wn,gn){var yn,Sn,Vn,Xn;return wn._selections[gn].size()?(yn=1/0,Sn=-1/0,Vn=1/0,Xn=-1/0,wn._selections[gn].each(function(){var nr=kt(this),Qn=o.bBox(nr.node().parentNode);yn=Math.min(yn,Qn.top),Sn=Math.max(Sn,Qn.bottom),Vn=Math.min(Vn,Qn.left),Xn=Math.max(Xn,Qn.right)})):(yn=0,Sn=0,Vn=0,Xn=0),{top:yn,bottom:Sn,left:Vn,right:Xn,height:Sn-yn,width:Xn-Vn}}(Ne,mn)),An[mn]}},X.getTickSigns=function(Re,Ne){var Qe=Re._id.charAt(0),ut={x:"top",y:"right"}[Qe],dt=Re.side===ut?1:-1,_t=[-1,1,dt,-dt];return(Ne?(Re.minor||{}).ticks:Re.ticks)!=="inside"==(Qe==="x")&&(_t=_t.map(function(It){return-It})),Re.side&&_t.push({l:-1,t:-1,r:1,b:1}[Re.side.charAt(0)]),_t},X.makeTransTickFn=function(Re){return Re._id.charAt(0)==="x"?function(Ne){return f(Re._offset+Re.l2p(Ne.x),0)}:function(Ne){return f(0,Re._offset+Re.l2p(Ne.x))}},X.makeTransTickLabelFn=function(Re){var Ne=function(dt){var _t=dt.ticklabelposition||"",It=function(rn){return _t.indexOf(rn)!==-1},Lt=It("top"),yt=It("left"),Pt=It("right"),wt=It("bottom"),Rt=It("inside"),Nt=wt||yt||Lt||Pt;if(!Nt&&!Rt)return[0,0];var Yt=dt.side,Wt=Nt?(dt.tickwidth||0)/2:0,Xt=3,Qt=dt.tickfont?dt.tickfont.size:12;return(wt||Lt)&&(Wt+=Qt*ne,Xt+=(dt.linewidth||0)/2),(yt||Pt)&&(Wt+=(dt.linewidth||0)/2,Xt+=3),Rt&&Yt==="top"&&(Xt-=Qt*(1-ne)),(yt||Lt)&&(Wt=-Wt),Yt!=="bottom"&&Yt!=="right"||(Xt=-Xt),[Nt?Wt:0,Rt?Xt:0]}(Re),Qe=Ne[0],ut=Ne[1];return Re._id.charAt(0)==="x"?function(dt){return f(Qe+Re._offset+Re.l2p(ot(dt)),ut)}:function(dt){return f(ut,Qe+Re._offset+Re.l2p(ot(dt)))}},X.makeTickPath=function(Re,Ne,Qe,ut){ut||(ut={});var dt=ut.minor;if(dt&&!Re.minor)return"";var _t=ut.len!==void 0?ut.len:dt?Re.minor.ticklen:Re.ticklen,It=Re._id.charAt(0),Lt=(Re.linewidth||1)/2;return It==="x"?"M0,"+(Ne+Lt*Qe)+"v"+_t*Qe:"M"+(Ne+Lt*Qe)+",0h"+_t*Qe},X.makeLabelFns=function(Re,Ne,Qe){var ut=Re.ticklabelposition||"",dt=function(Dn){return ut.indexOf(Dn)!==-1},_t=dt("top"),It=dt("left"),Lt=dt("right"),yt=dt("bottom")||It||_t||Lt,Pt=dt("inside"),wt=ut==="inside"&&Re.ticks==="inside"||!Pt&&Re.ticks==="outside"&&Re.tickson!=="boundaries",Rt=0,Nt=0,Yt=wt?Re.ticklen:0;if(Pt?Yt*=-1:yt&&(Yt=0),wt&&(Rt+=Yt,Qe)){var Wt=v.deg2rad(Qe);Rt=Yt*Math.cos(Wt)+1,Nt=Yt*Math.sin(Wt)}Re.showticklabels&&(wt||Re.showline)&&(Rt+=.2*Re.tickfont.size);var Xt,Qt,rn,xn,un,An={labelStandoff:Rt+=(Re.linewidth||1)/2*(Pt?-1:1),labelShift:Nt},Yn=0,kn=Re.side,sn=Re._id.charAt(0),Tn=Re.tickangle;if(sn==="x")xn=(un=!Pt&&kn==="bottom"||Pt&&kn==="top")?1:-1,Pt&&(xn*=-1),Xt=Nt*xn,Qt=Ne+Rt*xn,rn=un?1:-.2,Math.abs(Tn)===90&&(Pt?rn+=H:rn=Tn===-90&&kn==="bottom"?ne:Tn===90&&kn==="top"?H:.5,Yn=H/2*(Tn/90)),An.xFn=function(Dn){return Dn.dx+Xt+Yn*Dn.fontSize},An.yFn=function(Dn){return Dn.dy+Qt+Dn.fontSize*rn},An.anchorFn=function(Dn,In){if(yt){if(It)return"end";if(Lt)return"start"}return g(In)&&In!==0&&In!==180?In*xn<0!==Pt?"end":"start":"middle"},An.heightFn=function(Dn,In,jn){return In<-60||In>60?-.5*jn:Re.side==="top"!==Pt?-jn:0};else if(sn==="y"){if(xn=(un=!Pt&&kn==="left"||Pt&&kn==="right")?1:-1,Pt&&(xn*=-1),Xt=Rt,Qt=Nt*xn,rn=0,Pt||Math.abs(Tn)!==90||(rn=Tn===-90&&kn==="left"||Tn===90&&kn==="right"?ne:.5),Pt){var dn=g(Tn)?+Tn:0;if(dn!==0){var pn=v.deg2rad(dn);Yn=Math.abs(Math.sin(pn))*ne*xn,rn=0}}An.xFn=function(Dn){return Dn.dx+Ne-(Xt+Dn.fontSize*rn)*xn+Yn*Dn.fontSize},An.yFn=function(Dn){return Dn.dy+Qt+Dn.fontSize*H},An.anchorFn=function(Dn,In){return g(In)&&Math.abs(In)===90?"middle":un?"end":"start"},An.heightFn=function(Dn,In,jn){return Re.side==="right"&&(In*=-1),In<-30?-jn:In<30?-.5*jn:0}}return An},X.drawTicks=function(Re,Ne,Qe){Qe=Qe||{};var ut=Ne._id+"tick",dt=[].concat(Ne.minor&&Ne.minor.ticks?Qe.vals.filter(function(It){return It.minor&&!It.noTick}):[]).concat(Ne.ticks?Qe.vals.filter(function(It){return!It.minor&&!It.noTick}):[]),_t=Qe.layer.selectAll("path."+ut).data(dt,ht);_t.exit().remove(),_t.enter().append("path").classed(ut,1).classed("ticks",1).classed("crisp",Qe.crisp!==!1).each(function(It){return u.stroke(d.select(this),It.minor?Ne.minor.tickcolor:Ne.tickcolor)}).style("stroke-width",function(It){return o.crispRound(Re,It.minor?Ne.minor.tickwidth:Ne.tickwidth,1)+"px"}).attr("d",Qe.path).style("display",null),nt(Ne,[$]),_t.attr("transform",Qe.transFn)},X.drawGrid=function(Re,Ne,Qe){if(Qe=Qe||{},Ne.tickmode!=="sync"){var ut=Ne._id+"grid",dt=Ne.minor&&Ne.minor.showgrid,_t=dt?Qe.vals.filter(function(rn){return rn.minor}):[],It=Ne.showgrid?Qe.vals.filter(function(rn){return!rn.minor}):[],Lt=Qe.counterAxis;if(Lt&&X.shouldShowZeroLine(Re,Ne,Lt))for(var yt=Ne.tickmode==="array",Pt=0;Pt=0;Wt--){var Xt=Wt?Nt:Yt;if(Xt){var Qt=Xt.selectAll("path."+ut).data(Wt?It:_t,ht);Qt.exit().remove(),Qt.enter().append("path").classed(ut,1).classed("crisp",Qe.crisp!==!1),Qt.attr("transform",Qe.transFn).attr("d",Qe.path).each(function(rn){return u.stroke(d.select(this),rn.minor?Ne.minor.gridcolor:Ne.gridcolor||"#ddd")}).style("stroke-dasharray",function(rn){return o.dashStyle(rn.minor?Ne.minor.griddash:Ne.griddash,rn.minor?Ne.minor.gridwidth:Ne.gridwidth)}).style("stroke-width",function(rn){return(rn.minor?Rt:Ne._gw)+"px"}).style("display",null),typeof Qe.path=="function"&&Qt.attr("d",Qe.path)}}nt(Ne,[W,j])}},X.drawZeroLine=function(Re,Ne,Qe){Qe=Qe||Qe;var ut=Ne._id+"zl",dt=X.shouldShowZeroLine(Re,Ne,Qe.counterAxis),_t=Qe.layer.selectAll("path."+ut).data(dt?[{x:0,id:Ne._id}]:[]);_t.exit().remove(),_t.enter().append("path").classed(ut,1).classed("zl",1).classed("crisp",Qe.crisp!==!1).each(function(){Qe.layer.selectAll("path").sort(function(It,Lt){return ie(It.id,Lt.id)})}),_t.attr("transform",Qe.transFn).attr("d",Qe.path).call(u.stroke,Ne.zerolinecolor||u.defaultLine).style("stroke-width",o.crispRound(Re,Ne.zerolinewidth,Ne._gw||1)+"px").style("display",null),nt(Ne,[N])},X.drawLabels=function(Re,Ne,Qe){Qe=Qe||{};var ut=Re._fullLayout,dt=Ne._id,_t=dt.charAt(0),It=Qe.cls||dt+"tick",Lt=Qe.vals.filter(function(xn){return xn.text}),yt=Qe.labelFns,Pt=Qe.secondary?0:Ne.tickangle,wt=(Ne._prevTickAngles||{})[It],Rt=Qe.layer.selectAll("g."+It).data(Ne.showticklabels?Lt:[],ht),Nt=[];function Yt(xn,un){xn.each(function(An){var Yn=d.select(this),kn=Yn.select(".text-math-group"),sn=yt.anchorFn(An,un),Tn=Qe.transFn.call(Yn.node(),An)+(g(un)&&+un!=0?" rotate("+un+","+yt.xFn(An)+","+(yt.yFn(An)-An.fontSize/2)+")":""),dn=l.lineCount(Yn),pn=te*An.fontSize,Dn=yt.heightFn(An,g(un)?+un:0,(dn-1)*pn);if(Dn&&(Tn+=f(0,Dn)),kn.empty()){var In=Yn.select("text");In.attr({transform:Tn,"text-anchor":sn}),In.style("opacity",1),Ne._adjustTickLabelsOverflow&&Ne._adjustTickLabelsOverflow()}else{var jn=o.bBox(kn.node()).width*{end:-.5,start:.5}[sn];kn.attr("transform",Tn+f(jn,0))}})}Rt.enter().append("g").classed(It,1).append("text").attr("text-anchor","middle").each(function(xn){var un=d.select(this),An=Re._promises.length;un.call(l.positionText,yt.xFn(xn),yt.yFn(xn)).call(o.font,xn.font,xn.fontSize,xn.fontColor).text(xn.text).call(l.convertToTspans,Re),Re._promises[An]?Nt.push(Re._promises.pop().then(function(){Yt(un,Pt)})):Yt(un,Pt)}),nt(Ne,[U]),Rt.exit().remove(),Qe.repositionOnUpdate&&Rt.each(function(xn){d.select(this).select("text").call(l.positionText,yt.xFn(xn),yt.yFn(xn))}),Ne._adjustTickLabelsOverflow=function(){var xn=Ne.ticklabeloverflow;if(xn&&xn!=="allow"){var un=xn.indexOf("hide")!==-1,An=Ne._id.charAt(0)==="x",Yn=0,kn=An?Re._fullLayout.width:Re._fullLayout.height;if(xn.indexOf("domain")!==-1){var sn=v.simpleMap(Ne.range,Ne.r2l);Yn=Ne.l2p(sn[0])+Ne._offset,kn=Ne.l2p(sn[1])+Ne._offset}var Tn=Math.min(Yn,kn),dn=Math.max(Yn,kn),pn=Ne.side,Dn=1/0,In=-1/0;for(var jn in Rt.each(function(lr){var rr=d.select(this);if(rr.select(".text-math-group").empty()){var Sr=o.bBox(rr.node()),yr=0;An?(Sr.right>dn||Sr.leftdn||Sr.top+(Ne.tickangle?0:lr.fontSize/4)Ne["_visibleLabelMin_"+sn._id]?qn.style("display","none"):dn.K!=="tick"||Tn||qn.style("display",null)})})})})},Yt(Rt,wt+1?wt:Pt);var Wt=null;Ne._selections&&(Ne._selections[It]=Rt);var Xt=[function(){return Nt.length&&Promise.all(Nt)}];Ne.automargin&&ut._redrawFromAutoMarginCount&&wt===90?(Wt=90,Xt.push(function(){Yt(Rt,wt)})):Xt.push(function(){if(Yt(Rt,Pt),Lt.length&&_t==="x"&&!g(Pt)&&(Ne.type!=="log"||String(Ne.dtick).charAt(0)!=="D")){Wt=0;var xn,un=0,An=[];if(Rt.each(function(rr){un=Math.max(un,rr.fontSize);var Sr=Ne.l2p(rr.x),yr=kt(this),or=o.bBox(yr.node());An.push({top:0,bottom:10,height:10,left:Sr-or.width/2,right:Sr+or.width/2+2,width:or.width+2})}),Ne.tickson!=="boundaries"&&!Ne.showdividers||Qe.secondary){var Yn=Lt.length,kn=Math.abs((Lt[Yn-1].x-Lt[0].x)*Ne._m)/(Yn-1),sn=Ne.ticklabelposition||"",Tn=function(rr){return sn.indexOf(rr)!==-1},dn=Tn("top"),pn=Tn("left"),Dn=Tn("right"),In=Tn("bottom")||pn||dn||Dn?(Ne.tickwidth||0)+6:0,jn=kn<2.5*un||Ne.type==="multicategory"||Ne._name==="realaxis";for(xn=0;xn1)for(Lt=1;Lt2*b}(h,s))return"date";var _=c.autotypenumbers!=="strict";return function(k,E){for(var x=k.length,A=u(x),L=0,b=0,R={},I=0;I2*L}(h,_)?"category":function(k,E){for(var x=k.length,A=0;A=2){var b,R,I="";if(L.length===2){for(b=0;b<2;b++)if(R=_(L[b])){I=m;break}}var O=A("pattern",I);if(O===m)for(b=0;b<2;b++)(R=_(L[b]))&&(E.bounds[b]=L[b]=R-1);if(O)for(b=0;b<2;b++)switch(R=L[b],O){case m:if(!d(R)||(R=+R)!==Math.floor(R)||R<0||R>=7)return void(E.enabled=!1);E.bounds[b]=L[b]=R;break;case w:if(!d(R)||(R=+R)<0||R>24)return void(E.enabled=!1);E.bounds[b]=L[b]=R}if(x.autorange===!1){var z=x.range;if(z[0]z[1])return void(E.enabled=!1)}else if(L[0]>z[0]&&L[1]l?1:-1:+(M.substr(1)||1)-+(v.substr(1)||1)},p.ref2id=function(M){return!!/^[xyz]/.test(M)&&M.split(" ")[0]},p.isLinked=function(M,v){return i(v,M._axisMatchGroups)||i(v,M._axisConstraintGroups)}},15258:function(T){T.exports=function(p,t,d,g){if(t.type==="category"){var i,M=p.categoryarray,v=Array.isArray(M)&&M.length>0;v&&(i="array");var f,l=d("categoryorder",i);l==="array"&&(f=d("categoryarray")),v||l!=="array"||(l=t.categoryorder="trace"),l==="trace"?t._initialCategories=[]:l==="array"?t._initialCategories=f.slice():(f=function(a,u){var o,s,c,h=u.dataAttr||a._id.charAt(0),m={};if(u.axData)o=u.axData;else for(o=[],s=0;sk?E.substr(k):x.substr(_))+A:E+x+y*S:A}function m(y,S){for(var _=S._size,k=_.h/_.w,E={},x=Object.keys(y),A=0;Al*F)||j){for(_=0;_Q&&ueZ&&(Z=ue);b/=(Z-te)/(2*X),te=x.l2r(te),Z=x.l2r(Z),x.range=x._input.range=q=0?Math.min(ue,.9):1/(1/Math.max(ue,-.3)+3.222))}function q(ue,ce,ye,de,me){return ue.append("path").attr("class","zoombox").style({fill:ce>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("transform",l(ye,de)).attr("d",me+"Z")}function H(ue,ce,ye){return ue.append("path").attr("class","zoombox-corners").style({fill:u.background,stroke:u.defaultLine,"stroke-width":1,opacity:0}).attr("transform",l(ce,ye)).attr("d","M0,0Z")}function ne(ue,ce,ye,de,me,pe){ue.attr("d",de+"M"+ye.l+","+ye.t+"v"+ye.h+"h"+ye.w+"v-"+ye.h+"h-"+ye.w+"Z"),te(ue,ce,me,pe)}function te(ue,ce,ye,de){ye||(ue.transition().style("fill",de>.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),ce.transition().style("opacity",1).duration(200))}function Z(ue){d.select(ue).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}function X(ue){B&&ue.data&&ue._context.showTips&&(g.notifier(g._(ue,"Double-click to zoom back out"),"long"),B=!1)}function Q(ue){var ce=Math.floor(Math.min(ue.b-ue.t,ue.r-ue.l,F)/2);return"M"+(ue.l-3.5)+","+(ue.t-.5+ce)+"h3v"+-ce+"h"+ce+"v-3h-"+(ce+3)+"ZM"+(ue.r+3.5)+","+(ue.t-.5+ce)+"h-3v"+-ce+"h"+-ce+"v-3h"+(ce+3)+"ZM"+(ue.r+3.5)+","+(ue.b+.5-ce)+"h-3v"+ce+"h"+-ce+"v3h"+(ce+3)+"ZM"+(ue.l-3.5)+","+(ue.b+.5-ce)+"h3v"+ce+"h"+ce+"v3h-"+(ce+3)+"Z"}function re(ue,ce,ye,de,me){for(var pe,xe,Pe,_e,Me=!1,Se={},Ce={},ae=(me||{}).xaHash,fe=(me||{}).yaHash,be=0;be=0)dn._fullLayout._deactivateShape(dn);else{var pn=dn._fullLayout.clickmode;if(Z(dn),sn!==2||Ft||rn(),xt)pn.indexOf("select")>-1&&R(Tn,dn,ae,fe,ce.id,dt),pn.indexOf("event")>-1&&s.click(dn,Tn,ce.id);else if(sn===1&&Ft){var Dn=xe?Me:_e,In=xe==="s"||Pe==="w"?0:1,jn=Dn._name+".range["+In+"]",Gn=function(rr,Sr){var yr,or=rr.range[Sr],vr=Math.abs(or-rr.range[1-Sr]);return rr.type==="date"?or:rr.type==="log"?(yr=Math.ceil(Math.max(0,-Math.log(vr)/Math.LN10))+3,i("."+yr+"g")(Math.pow(10,or))):(yr=Math.floor(Math.log(Math.abs(or))/Math.LN10)-Math.floor(Math.log(vr)/Math.LN10)+4,i("."+String(yr)+"g")(or))}(Dn,In),qn="left",lr="middle";if(Dn.fixedrange)return;xe?(lr=xe==="n"?"top":"bottom",Dn.side==="right"&&(qn="right")):Pe==="e"&&(qn="right"),dn._context.showAxisRangeEntryBoxes&&d.select(qt).call(a.makeEditable,{gd:dn,immediate:!0,background:dn._fullLayout.paper_bgcolor,text:String(Gn),fill:Dn.tickfont?Dn.tickfont.color:"#444",horizontalAlign:qn,verticalAlign:lr}).on("edit",function(rr){var Sr=Dn.d2r(rr);Sr!==void 0&&f.call("_guiRelayout",dn,jn,Sr)})}}}function Lt(sn,Tn){if(ue._transitioningWithDuration)return!1;var dn=Math.max(0,Math.min(Le,bt*sn+Vt)),pn=Math.max(0,Math.min(Be,Et*Tn+Ke)),Dn=Math.abs(dn-Vt),In=Math.abs(pn-Ke);function jn(){Re="",Je.r=Je.l,Je.t=Je.b,Qe.attr("d","M0,0Z")}if(Je.l=Math.min(Vt,dn),Je.r=Math.max(Vt,dn),Je.t=Math.min(Ke,pn),Je.b=Math.max(Ke,pn),ze.isSubplotConstrained)Dn>F||In>F?(Re="xy",Dn/Le>In/Be?(In=Dn*Be/Le,Ke>pn?Je.t=Ke-In:Je.b=Ke+In):(Dn=In*Le/Be,Vt>dn?Je.l=Vt-Dn:Je.r=Vt+Dn),Qe.attr("d",Q(Je))):jn();else if(je.isSubplotConstrained)if(Dn>F||In>F){Re="xy";var Gn=Math.min(Je.l/Le,(Be-Je.b)/Be),qn=Math.max(Je.r/Le,(Be-Je.t)/Be);Je.l=Gn*Le,Je.r=qn*Le,Je.b=(1-Gn)*Be,Je.t=(1-qn)*Be,Qe.attr("d",Q(Je))}else jn();else!we||In0){var lr;if(je.isSubplotConstrained||!ge&&we.length===1){for(lr=0;lrx[1]-.000244140625&&(M.domain=a),g.noneOrAll(i.domain,M.domain,a),M.tickmode==="sync"&&(M.tickmode="auto")}return v("layer"),M}},89426:function(T,p,t){var d=t(59652);T.exports=function(g,i,M,v,f){f||(f={});var l=f.tickSuffixDflt,a=d(g);M("tickprefix")&&M("showtickprefix",a),M("ticksuffix",l)&&M("showticksuffix",a)}},42449:function(T,p,t){var d=t(18783).FROM_BL;T.exports=function(g,i,M){M===void 0&&(M=d[g.constraintoward||"center"]);var v=[g.r2l(g.range[0]),g.r2l(g.range[1])],f=v[0]+(v[1]-v[0])*M;g.range=g._input.range=[g.l2r(f+(v[0]-f)*i),g.l2r(f+(v[1]-f)*i)],g.setScale()}},21994:function(T,p,t){var d=t(39898),g=t(84096).g0,i=t(71828),M=i.numberFormat,v=t(92770),f=i.cleanNumber,l=i.ms2DateTime,a=i.dateTime2ms,u=i.ensureNumber,o=i.isArrayOrTypedArray,s=t(50606),c=s.FP_SAFE,h=s.BADNUM,m=s.LOG_CLIP,w=s.ONEWEEK,y=s.ONEDAY,S=s.ONEHOUR,_=s.ONEMIN,k=s.ONESEC,E=t(41675),x=t(85555),A=x.HOUR_PATTERN,L=x.WEEKDAY_PATTERN;function b(I){return Math.pow(10,I)}function R(I){return I!=null}T.exports=function(I,O){O=O||{};var z=I._id||"x",F=z.charAt(0);function B(re,ie){if(re>0)return Math.log(re)/Math.LN10;if(re<=0&&ie&&I.range&&I.range.length===2){var oe=I.range[0],ue=I.range[1];return .5*(oe+ue-2*m*Math.abs(oe-ue))}return h}function N(re,ie,oe,ue){if((ue||{}).msUTC&&v(re))return+re;var ce=a(re,oe||I.calendar);if(ce===h){if(!v(re))return h;re=+re;var ye=Math.floor(10*i.mod(re+.05,1)),de=Math.round(re-ye/10);ce=a(new Date(de))+ye/10}return ce}function W(re,ie,oe){return l(re,ie,oe||I.calendar)}function j(re){return I._categories[Math.round(re)]}function $(re){if(R(re)){if(I._categoriesMap===void 0&&(I._categoriesMap={}),I._categoriesMap[re]!==void 0)return I._categoriesMap[re];I._categories.push(typeof re=="number"?String(re):re);var ie=I._categories.length-1;return I._categoriesMap[re]=ie,ie}return h}function U(re){if(I._categoriesMap)return I._categoriesMap[re]}function G(re){var ie=U(re);return ie!==void 0?ie:v(re)?+re:void 0}function q(re){return v(re)?+re:U(re)}function H(re,ie,oe){return d.round(oe+ie*re,2)}function ne(re,ie,oe){return(re-oe)/ie}var te=function(re){return v(re)?H(re,I._m,I._b):h},Z=function(re){return ne(re,I._m,I._b)};if(I.rangebreaks){var X=F==="y";te=function(re){if(!v(re))return h;var ie=I._rangebreaks.length;if(!ie)return H(re,I._m,I._b);var oe=X;I.range[0]>I.range[1]&&(oe=!oe);for(var ue=oe?-1:1,ce=ue*re,ye=0,de=0;depe)){ye=ce<(me+pe)/2?de:de+1;break}ye=de+1}var xe=I._B[ye]||0;return isFinite(xe)?H(re,I._m2,xe):0},Z=function(re){var ie=I._rangebreaks.length;if(!ie)return ne(re,I._m,I._b);for(var oe=0,ue=0;ueI._rangebreaks[ue].pmax&&(oe=ue+1);return ne(re,I._m2,I._B[oe])}}I.c2l=I.type==="log"?B:u,I.l2c=I.type==="log"?b:u,I.l2p=te,I.p2l=Z,I.c2p=I.type==="log"?function(re,ie){return te(B(re,ie))}:te,I.p2c=I.type==="log"?function(re){return b(Z(re))}:Z,["linear","-"].indexOf(I.type)!==-1?(I.d2r=I.r2d=I.d2c=I.r2c=I.d2l=I.r2l=f,I.c2d=I.c2r=I.l2d=I.l2r=u,I.d2p=I.r2p=function(re){return I.l2p(f(re))},I.p2d=I.p2r=Z,I.cleanPos=u):I.type==="log"?(I.d2r=I.d2l=function(re,ie){return B(f(re),ie)},I.r2d=I.r2c=function(re){return b(f(re))},I.d2c=I.r2l=f,I.c2d=I.l2r=u,I.c2r=B,I.l2d=b,I.d2p=function(re,ie){return I.l2p(I.d2r(re,ie))},I.p2d=function(re){return b(Z(re))},I.r2p=function(re){return I.l2p(f(re))},I.p2r=Z,I.cleanPos=u):I.type==="date"?(I.d2r=I.r2d=i.identity,I.d2c=I.r2c=I.d2l=I.r2l=N,I.c2d=I.c2r=I.l2d=I.l2r=W,I.d2p=I.r2p=function(re,ie,oe){return I.l2p(N(re,0,oe))},I.p2d=I.p2r=function(re,ie,oe){return W(Z(re),ie,oe)},I.cleanPos=function(re){return i.cleanDate(re,h,I.calendar)}):I.type==="category"?(I.d2c=I.d2l=$,I.r2d=I.c2d=I.l2d=j,I.d2r=I.d2l_noadd=G,I.r2c=function(re){var ie=q(re);return ie!==void 0?ie:I.fraction2r(.5)},I.l2r=I.c2r=u,I.r2l=q,I.d2p=function(re){return I.l2p(I.r2c(re))},I.p2d=function(re){return j(Z(re))},I.r2p=I.d2p,I.p2r=Z,I.cleanPos=function(re){return typeof re=="string"&&re!==""?re:u(re)}):I.type==="multicategory"&&(I.r2d=I.c2d=I.l2d=j,I.d2r=I.d2l_noadd=G,I.r2c=function(re){var ie=G(re);return ie!==void 0?ie:I.fraction2r(.5)},I.r2c_just_indices=U,I.l2r=I.c2r=u,I.r2l=G,I.d2p=function(re){return I.l2p(I.r2c(re))},I.p2d=function(re){return j(Z(re))},I.r2p=I.d2p,I.p2r=Z,I.cleanPos=function(re){return Array.isArray(re)||typeof re=="string"&&re!==""?re:u(re)},I.setupMultiCategory=function(re){var ie,oe,ue=I._traceIndices,ce=I._matchGroup;if(ce&&I._categories.length===0){for(var ye in ce)if(ye!==z){var de=O[E.id2name(ye)];ue=ue.concat(de._traceIndices)}}var me=[[0,{}],[0,{}]],pe=[];for(ie=0;iec&&(ce[oe]=c),ce[0]===ce[1]){var de=Math.max(1,Math.abs(1e-6*ce[0]));ce[0]-=de,ce[1]+=de}}else i.nestedProperty(I,re).set(ue)},I.setScale=function(re){var ie=O._size;if(I.overlaying){var oe=E.getFromId({_fullLayout:O},I.overlaying);I.domain=oe.domain}var ue=re&&I._r?"_r":"range",ce=I.calendar;I.cleanRange(ue);var ye,de,me=I.r2l(I[ue][0],ce),pe=I.r2l(I[ue][1],ce),xe=F==="y";if(xe?(I._offset=ie.t+(1-I.domain[1])*ie.h,I._length=ie.h*(I.domain[1]-I.domain[0]),I._m=I._length/(me-pe),I._b=-I._m*pe):(I._offset=ie.l+I.domain[0]*ie.w,I._length=ie.w*(I.domain[1]-I.domain[0]),I._m=I._length/(pe-me),I._b=-I._m*me),I._rangebreaks=[],I._lBreaks=0,I._m2=0,I._B=[],I.rangebreaks&&(I._rangebreaks=I.locateBreaks(Math.min(me,pe),Math.max(me,pe)),I._rangebreaks.length)){for(ye=0;yepe&&(Pe=!Pe),Pe&&I._rangebreaks.reverse();var _e=Pe?-1:1;for(I._m2=_e*I._length/(Math.abs(pe-me)-I._lBreaks),I._B.push(-I._m2*(xe?pe:me)),ye=0;yeue&&(ue+=7,ceue&&(ue+=24,ce=oe&&ce=oe&&re=je.min&&(keje.max&&(je.max=Le),Be=!1)}Be&&de.push({min:ke,max:Le})}};for(oe=0;oea.duration?(function(){for(var A={},L=0;L rect").call(M.setTranslate,0,0).call(M.setScale,1,1),_.plot.call(M.setTranslate,k._offset,E._offset).call(M.setScale,1,1);var x=_.plot.selectAll(".scatterlayer .trace");x.selectAll(".point").call(M.setPointGroupScale,1,1),x.selectAll(".textpoint").call(M.setTextPointsScale,1,1),x.call(M.hideOutsideRangePoints,_)}function S(_,k){var E=_.plotinfo,x=E.xaxis,A=E.yaxis,L=x._length,b=A._length,R=!!_.xr1,I=!!_.yr1,O=[];if(R){var z=i.simpleMap(_.xr0,x.r2l),F=i.simpleMap(_.xr1,x.r2l),B=z[1]-z[0],N=F[1]-F[0];O[0]=(z[0]*(1-k)+k*F[0]-z[0])/(z[1]-z[0])*L,O[2]=L*(1-k+k*N/B),x.range[0]=x.l2r(z[0]*(1-k)+k*F[0]),x.range[1]=x.l2r(z[1]*(1-k)+k*F[1])}else O[0]=0,O[2]=L;if(I){var W=i.simpleMap(_.yr0,A.r2l),j=i.simpleMap(_.yr1,A.r2l),$=W[1]-W[0],U=j[1]-j[0];O[1]=(W[1]*(1-k)+k*j[1]-W[1])/(W[0]-W[1])*b,O[3]=b*(1-k+k*U/$),A.range[0]=x.l2r(W[0]*(1-k)+k*j[0]),A.range[1]=A.l2r(W[1]*(1-k)+k*j[1])}else O[1]=0,O[3]=b;v.drawOne(f,x,{skipTitle:!0}),v.drawOne(f,A,{skipTitle:!0}),v.redrawComponents(f,[x._id,A._id]);var G=R?L/O[2]:1,q=I?b/O[3]:1,H=R?O[0]:0,ne=I?O[1]:0,te=R?O[0]/O[2]*L:0,Z=I?O[1]/O[3]*b:0,X=x._offset-te,Q=A._offset-Z;E.clipRect.call(M.setTranslate,H,ne).call(M.setScale,1/G,1/q),E.plot.call(M.setTranslate,X,Q).call(M.setScale,G,q),M.setPointGroupScale(E.zoomScalePts,1/G,1/q),M.setTextPointsScale(E.zoomScaleTxt,1/G,1/q)}v.redrawComponents(f)}},951:function(T,p,t){var d=t(73972).traceIs,g=t(4322);function i(v){return{v:"x",h:"y"}[v.orientation||"v"]}function M(v,f){var l=i(v),a=d(v,"box-violin"),u=d(v._fullInput||{},"candlestick");return a&&!u&&f===l&&v[l]===void 0&&v[l+"0"]===void 0}T.exports=function(v,f,l,a){l("autotypenumbers",a.autotypenumbersDflt),l("type",(a.splomStash||{}).type)==="-"&&(function(u,o){if(u.type==="-"){var s,c=u._id,h=c.charAt(0);c.indexOf("scene")!==-1&&(c=h);var m=function(A,L,b){for(var R=0;R0&&(I["_"+b+"axes"]||{})[L]||(I[b+"axis"]||b)===L&&(M(I,b)||(I[b]||[]).length||I[b+"0"]))return I}}(o,c,h);if(m)if(m.type!=="histogram"||h!=={v:"y",h:"x"}[m.orientation||"v"]){var w=h+"calendar",y=m[w],S={noMultiCategory:!d(m,"cartesian")||d(m,"noMultiCategory")};if(m.type==="box"&&m._hasPreCompStats&&h==={h:"x",v:"y"}[m.orientation||"v"]&&(S.noMultiCategory=!0),S.autotypenumbers=u.autotypenumbers,M(m,h)){var _=i(m),k=[];for(s=0;s0?".":"")+s;g.isPlainObject(c)?f(c,a,h,o+1):a(h,s,c)}})}p.manageCommandObserver=function(l,a,u,o){var s={},c=!0;a&&a._commandObserver&&(s=a._commandObserver),s.cache||(s.cache={}),s.lookupTable={};var h=p.hasSimpleAPICommandBindings(l,u,s.lookupTable);if(a&&a._commandObserver){if(h)return s;if(a._commandObserver.remove)return a._commandObserver.remove(),a._commandObserver=null,s}if(h){i(l,h,s.cache),s.check=function(){if(c){var y=i(l,h,s.cache);return y.changed&&o&&s.lookupTable[y.value]!==void 0&&(s.disable(),Promise.resolve(o({value:y.value,type:h.type,prop:h.prop,traces:h.traces,index:s.lookupTable[y.value]})).then(s.enable,s.enable)),y.changed}};for(var m=["plotly_relayout","plotly_redraw","plotly_restyle","plotly_update","plotly_animatingframe","plotly_afterplot"],w=0;w0&&N<0&&(N+=360);var $=(N-B)/4;return{type:"Polygon",coordinates:[[[B,W],[B,j],[B+$,j],[B+2*$,j],[B+3*$,j],[N,j],[N,W],[N-$,W],[N-2*$,W],[N-3*$,W],[B,W]]]}}T.exports=function(O){return new b(O)},R.plot=function(O,z,F,B){var N=this;if(B)return N.update(O,z,!0);N._geoCalcData=O,N._fullLayout=z;var W=z[this.id],j=[],$=!1;for(var U in E.layerNameToAdjective)if(U!=="frame"&&W["show"+U]){$=!0;break}for(var G=!1,q=0;q0&&j._module.calcGeoJSON(W,z)}if(!F){if(this.updateProjection(O,z))return;this.viewInitial&&this.scope===B.scope||this.saveViewInitial(B)}this.scope=B.scope,this.updateBaseLayers(z,B),this.updateDims(z,B),this.updateFx(z,B),c.generalUpdatePerTraceModule(this.graphDiv,this,O,B);var $=this.layers.frontplot.select(".scatterlayer");this.dataPoints.point=$.selectAll(".point"),this.dataPoints.text=$.selectAll("text"),this.dataPaths.line=$.selectAll(".js-line");var U=this.layers.backplot.select(".choroplethlayer");this.dataPaths.choropleth=U.selectAll("path"),this._render()},R.updateProjection=function(O,z){var F=this.graphDiv,B=z[this.id],N=z._size,W=B.domain,j=B.projection,$=B.lonaxis,U=B.lataxis,G=$._ax,q=U._ax,H=this.projection=function(Ce){var ae=Ce.projection,fe=ae.type,be=E.projNames[fe];be="geo"+l.titleCase(be);for(var ke=(g[be]||v[be])(),Le=Ce._isSatellite?180*Math.acos(1/ae.distance)/Math.PI:Ce._isClipped?E.lonaxisSpan[fe]/2:null,Be=["center","rotate","parallels","clipExtent"],ze=function(we){return we?ke:[]},je=0;jeLe*Math.PI/180}return!1},ke.getPath=function(){return i().projection(ke)},ke.getBounds=function(we){return ke.getPath().bounds(we)},ke.precision(E.precision),Ce._isSatellite&&ke.tilt(ae.tilt).distance(ae.distance),Le&&ke.clipAngle(Le-E.clipPad),ke}(B),ne=[[N.l+N.w*W.x[0],N.t+N.h*(1-W.y[1])],[N.l+N.w*W.x[1],N.t+N.h*(1-W.y[0])]],te=B.center||{},Z=j.rotation||{},X=$.range||[],Q=U.range||[];if(B.fitbounds){G._length=ne[1][0]-ne[0][0],q._length=ne[1][1]-ne[0][1],G.range=m(F,G),q.range=m(F,q);var re=(G.range[0]+G.range[1])/2,ie=(q.range[0]+q.range[1])/2;if(B._isScoped)te={lon:re,lat:ie};else if(B._isClipped){te={lon:re,lat:ie},Z={lon:re,lat:ie,roll:Z.roll};var oe=j.type,ue=E.lonaxisSpan[oe]/2||180,ce=E.lataxisSpan[oe]/2||90;X=[re-ue,re+ue],Q=[ie-ce,ie+ce]}else te={lon:re,lat:ie},Z={lon:re,lat:Z.lat,roll:Z.roll}}H.center([te.lon-Z.lon,te.lat-Z.lat]).rotate([-Z.lon,-Z.lat,Z.roll]).parallels(j.parallels);var ye=I(X,Q);H.fitExtent(ne,ye);var de=this.bounds=H.getBounds(ye),me=this.fitScale=H.scale(),pe=H.translate();if(B.fitbounds){var xe=H.getBounds(I(G.range,q.range)),Pe=Math.min((de[1][0]-de[0][0])/(xe[1][0]-xe[0][0]),(de[1][1]-de[0][1])/(xe[1][1]-xe[0][1]));isFinite(Pe)?H.scale(Pe*me):l.warn("Something went wrong during"+this.id+"fitbounds computations.")}else H.scale(j.scale*me);var _e=this.midPt=[(de[0][0]+de[1][0])/2,(de[0][1]+de[1][1])/2];if(H.translate([pe[0]+(_e[0]-pe[0]),pe[1]+(_e[1]-pe[1])]).clipExtent(de),B._isAlbersUsa){var Me=H([te.lon,te.lat]),Se=H.translate();H.translate([Se[0]-(Me[0]-Se[0]),Se[1]-(Me[1]-Se[1])])}},R.updateBaseLayers=function(O,z){var F=this,B=F.topojson,N=F.layers,W=F.basePaths;function j(H){return H==="lonaxis"||H==="lataxis"}function $(H){return!!E.lineLayers[H]}function U(H){return!!E.fillLayers[H]}var G=(this.hasChoropleth?E.layersForChoropleth:E.layers).filter(function(H){return $(H)||U(H)?z["show"+H]:!j(H)||z[H].showgrid}),q=F.framework.selectAll(".layer").data(G,String);q.exit().each(function(H){delete N[H],delete W[H],d.select(this).remove()}),q.enter().append("g").attr("class",function(H){return"layer "+H}).each(function(H){var ne=N[H]=d.select(this);H==="bg"?F.bgRect=ne.append("rect").style("pointer-events","all"):j(H)?W[H]=ne.append("path").style("fill","none"):H==="backplot"?ne.append("g").classed("choroplethlayer",!0):H==="frontplot"?ne.append("g").classed("scatterlayer",!0):$(H)?W[H]=ne.append("path").style("fill","none").style("stroke-miterlimit",2):U(H)&&(W[H]=ne.append("path").style("stroke","none"))}),q.order(),q.each(function(H){var ne=W[H],te=E.layerNameToAdjective[H];H==="frame"?ne.datum(E.sphereSVG):$(H)||U(H)?ne.datum(L(B,B.objects[H])):j(H)&&ne.datum(function(Z,X,Q){var re,ie,oe,ue=X[Z],ce=E.scopeDefaults[X.scope];Z==="lonaxis"?(re=ce.lonaxisRange,ie=ce.lataxisRange,oe=function(Se,Ce){return[Se,Ce]}):Z==="lataxis"&&(re=ce.lataxisRange,ie=ce.lonaxisRange,oe=function(Se,Ce){return[Ce,Se]});var ye={type:"linear",range:[re[0],re[1]-1e-6],tick0:ue.tick0,dtick:ue.dtick};h.setConvert(ye,Q);var de=h.calcTicks(ye);X.isScoped||Z!=="lonaxis"||de.pop();for(var me=de.length,pe=new Array(me),xe=0;xe-1&&_(d.event,B,[F.xaxis],[F.yaxis],F.id,$),j.indexOf("event")>-1&&s.click(B,d.event))})}function U(G){return F.projection.invert([G[0]+F.xaxis._offset,G[1]+F.yaxis._offset])}},R.makeFramework=function(){var O=this,z=O.graphDiv,F=z._fullLayout,B="clip"+F._uid+O.id;O.clipDef=F._clips.append("clipPath").attr("id",B),O.clipRect=O.clipDef.append("rect"),O.framework=d.select(O.container).append("g").attr("class","geo "+O.id).call(o.setClipUrl,B,z),O.project=function(N){var W=O.projection(N);return W?[W[0]-O.xaxis._offset,W[1]-O.yaxis._offset]:[null,null]},O.xaxis={_id:"x",c2p:function(N){return O.project(N)[0]}},O.yaxis={_id:"y",c2p:function(N){return O.project(N)[1]}},O.mockAxis={type:"linear",showexponent:"all",exponentformat:"B"},h.setConvert(O.mockAxis,F)},R.saveViewInitial=function(O){var z,F=O.center||{},B=O.projection,N=B.rotation||{};this.viewInitial={fitbounds:O.fitbounds,"projection.scale":B.scale},z=O._isScoped?{"center.lon":F.lon,"center.lat":F.lat}:O._isClipped?{"projection.rotation.lon":N.lon,"projection.rotation.lat":N.lat}:{"center.lon":F.lon,"center.lat":F.lat,"projection.rotation.lon":N.lon},l.extendFlat(this.viewInitial,z)},R.render=function(O){this._hasMarkerAngles&&O?this.plot(this._geoCalcData,this._fullLayout,[],!0):this._render()},R._render=function(){var O,z=this.projection,F=z.getPath();function B(W){var j=z(W.lonlat);return j?a(j[0],j[1]):null}function N(W){return z.isLonLatOverEdges(W.lonlat)?"none":null}for(O in this.basePaths)this.basePaths[O].attr("d",F);for(O in this.dataPaths)this.dataPaths[O].attr("d",function(W){return F(W.geojson)});for(O in this.dataPoints)this.dataPoints[O].attr("display",N).attr("transform",B)}},44622:function(T,p,t){var d=t(27659).AU,g=t(71828).counterRegex,i=t(69082),M="geo",v=g(M),f={};f.geo={valType:"subplotid",dflt:M,editType:"calc"},T.exports={attr:M,name:M,idRoot:M,idRegex:v,attrRegex:v,attributes:f,layoutAttributes:t(77519),supplyLayoutDefaults:t(82161),plot:function(l){for(var a=l._fullLayout,u=l.calcdata,o=a._subplots.geo,s=0;s0&&U<0&&(U+=360);var G,q,H,ne=($+U)/2;if(!S){var te=_?w.projRotate:[ne,0,0];G=o("projection.rotation.lon",te[0]),o("projection.rotation.lat",te[1]),o("projection.rotation.roll",te[2]),o("showcoastlines",!_&&L)&&(o("coastlinecolor"),o("coastlinewidth")),o("showocean",!!L&&void 0)&&o("oceancolor")}S?(q=-96.6,H=38.7):(q=_?ne:G,H=(j[0]+j[1])/2),o("center.lon",q),o("center.lat",H),k&&(o("projection.tilt"),o("projection.distance")),E&&o("projection.parallels",w.projParallels||[0,60]),o("projection.scale"),o("showland",!!L&&void 0)&&o("landcolor"),o("showlakes",!!L&&void 0)&&o("lakecolor"),o("showrivers",!!L&&void 0)&&(o("rivercolor"),o("riverwidth")),o("showcountries",_&&m!=="usa"&&L)&&(o("countrycolor"),o("countrywidth")),(m==="usa"||m==="north america"&&h===50)&&(o("showsubunits",L),o("subunitcolor"),o("subunitwidth")),_||o("showframe",L)&&(o("framecolor"),o("framewidth")),o("bgcolor"),o("fitbounds")&&(delete u.projection.scale,_?(delete u.center.lon,delete u.center.lat):x?(delete u.center.lon,delete u.center.lat,delete u.projection.rotation.lon,delete u.projection.rotation.lat,delete u.lonaxis.range,delete u.lataxis.range):(delete u.center.lon,delete u.center.lat,delete u.projection.rotation.lon))}T.exports=function(a,u,o){g(a,u,o,{type:"geo",attributes:v,handleDefaults:l,fullData:o,partition:"y"})}},74455:function(T,p,t){var d=t(39898),g=t(71828),i=t(73972),M=Math.PI/180,v=180/Math.PI,f={cursor:"pointer"},l={cursor:"auto"};function a(L,b){return d.behavior.zoom().translate(b.translate()).scale(b.scale())}function u(L,b,R){var I=L.id,O=L.graphDiv,z=O.layout,F=z[I],B=O._fullLayout,N=B[I],W={},j={};function $(U,G){W[I+"."+U]=g.nestedProperty(F,U).get(),i.call("_storeDirectGUIEdit",z,B._preGUI,W);var q=g.nestedProperty(N,U);q.get()!==G&&(q.set(G),g.nestedProperty(F,U).set(G),j[I+"."+U]=G)}R($),$("projection.scale",b.scale()/L.fitScale),$("fitbounds",!1),O.emit("plotly_relayout",j)}function o(L,b){var R=a(0,b);function I(O){var z=b.invert(L.midPt);O("center.lon",z[0]),O("center.lat",z[1])}return R.on("zoomstart",function(){d.select(this).style(f)}).on("zoom",function(){b.scale(d.event.scale).translate(d.event.translate),L.render(!0);var O=b.invert(L.midPt);L.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":b.scale()/L.fitScale,"geo.center.lon":O[0],"geo.center.lat":O[1]})}).on("zoomend",function(){d.select(this).style(l),u(L,b,I)}),R}function s(L,b){var R,I,O,z,F,B,N,W,j,$=a(0,b);function U(q){return b.invert(q)}function G(q){var H=b.rotate(),ne=b.invert(L.midPt);q("projection.rotation.lon",-H[0]),q("center.lon",ne[0]),q("center.lat",ne[1])}return $.on("zoomstart",function(){d.select(this).style(f),R=d.mouse(this),I=b.rotate(),O=b.translate(),z=I,F=U(R)}).on("zoom",function(){if(B=d.mouse(this),function(ne){var te=U(ne);if(!te)return!0;var Z=b(te);return Math.abs(Z[0]-ne[0])>2||Math.abs(Z[1]-ne[1])>2}(R))return $.scale(b.scale()),void $.translate(b.translate());b.scale(d.event.scale),b.translate([O[0],d.event.translate[1]]),F?U(B)&&(W=U(B),N=[z[0]+(W[0]-F[0]),I[1],I[2]],b.rotate(N),z=N):F=U(R=B),j=!0,L.render(!0);var q=b.rotate(),H=b.invert(L.midPt);L.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":b.scale()/L.fitScale,"geo.center.lon":H[0],"geo.center.lat":H[1],"geo.projection.rotation.lon":-q[0]})}).on("zoomend",function(){d.select(this).style(l),j&&u(L,b,G)}),$}function c(L,b){var R;b.rotate(),b.scale();var I=a(0,b),O=function($){for(var U=0,G=arguments.length,q=[];++UG?(z=(j>0?90:-90)-U,O=0):(z=Math.asin(j/G)*v-U,O=Math.sqrt(G*G-j*j));var q=180-z-2*U,H=(Math.atan2($,W)-Math.atan2(N,O))*v,ne=(Math.atan2($,W)-Math.atan2(N,-O))*v;return _(R[0],R[1],z,H)<=_(R[0],R[1],q,ne)?[z,H,R[2]]:[q,ne,R[2]]}function _(L,b,R,I){var O=k(R-L),z=k(I-b);return Math.sqrt(O*O+z*z)}function k(L){return(L%360+540)%360-180}function E(L,b,R){var I=R*M,O=L.slice(),z=b===0?1:0,F=b===2?1:2,B=Math.cos(I),N=Math.sin(I);return O[z]=L[z]*B-L[F]*N,O[F]=L[F]*B+L[z]*N,O}function x(L){return[Math.atan2(2*(L[0]*L[1]+L[2]*L[3]),1-2*(L[1]*L[1]+L[2]*L[2]))*v,Math.asin(Math.max(-1,Math.min(1,2*(L[0]*L[2]-L[3]*L[1]))))*v,Math.atan2(2*(L[0]*L[3]+L[1]*L[2]),1-2*(L[2]*L[2]+L[3]*L[3]))*v]}function A(L,b){for(var R=0,I=0,O=L.length;IMath.abs(S)?(o.boxEnd[1]=o.boxStart[1]+Math.abs(y)*F*(S>=0?1:-1),o.boxEnd[1]<_[1]?(o.boxEnd[1]=_[1],o.boxEnd[0]=o.boxStart[0]+(_[1]-o.boxStart[1])/Math.abs(F)):o.boxEnd[1]>_[3]&&(o.boxEnd[1]=_[3],o.boxEnd[0]=o.boxStart[0]+(_[3]-o.boxStart[1])/Math.abs(F))):(o.boxEnd[0]=o.boxStart[0]+Math.abs(S)/F*(y>=0?1:-1),o.boxEnd[0]<_[0]?(o.boxEnd[0]=_[0],o.boxEnd[1]=o.boxStart[1]+(_[0]-o.boxStart[0])*Math.abs(F)):o.boxEnd[0]>_[2]&&(o.boxEnd[0]=_[2],o.boxEnd[1]=o.boxStart[1]+(_[2]-o.boxStart[0])*Math.abs(F)))}}else o.boxEnabled?(y=o.boxStart[0]!==o.boxEnd[0],S=o.boxStart[1]!==o.boxEnd[1],y||S?(y&&(b(0,o.boxStart[0],o.boxEnd[0]),l.xaxis.autorange=!1),S&&(b(1,o.boxStart[1],o.boxEnd[1]),l.yaxis.autorange=!1),l.relayoutCallback()):l.glplot.setDirty(),o.boxEnabled=!1,o.boxInited=!1):o.boxInited&&(o.boxInited=!1);break;case"pan":o.boxEnabled=!1,o.boxInited=!1,h?(o.panning||(o.dragStart[0]=m,o.dragStart[1]=w),Math.abs(o.dragStart[0]-m).999&&(x="turntable"):x="turntable")}else x="turntable";c("dragmode",x),c("hovermode",h.getDfltFromLayout("hovermode"))}T.exports=function(o,s,c){var h=s._basePlotModules.length>1;M(o,s,c,{type:a,attributes:f,handleDefaults:u,fullLayout:s,font:s.font,fullData:c,getDfltFromLayout:function(m){if(!h)return d.validate(o[m],f[m])?o[m]:void 0},autotypenumbersDflt:s.autotypenumbers,paper_bgcolor:s.paper_bgcolor,calendar:s.calendar})}},65500:function(T,p,t){var d=t(77894),g=t(27670).Y,i=t(1426).extendFlat,M=t(71828).counterRegex;function v(f,l,a){return{x:{valType:"number",dflt:f,editType:"camera"},y:{valType:"number",dflt:l,editType:"camera"},z:{valType:"number",dflt:a,editType:"camera"},editType:"camera"}}T.exports={_arrayAttrRegexps:[M("scene",".annotations",!0)],bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"plot"},camera:{up:i(v(0,0,1),{}),center:i(v(0,0,0),{}),eye:i(v(1.25,1.25,1.25),{}),projection:{type:{valType:"enumerated",values:["perspective","orthographic"],dflt:"perspective",editType:"calc"},editType:"calc"},editType:"camera"},domain:g({name:"scene",editType:"plot"}),aspectmode:{valType:"enumerated",values:["auto","cube","data","manual"],dflt:"auto",editType:"plot",impliedEdits:{"aspectratio.x":void 0,"aspectratio.y":void 0,"aspectratio.z":void 0}},aspectratio:{x:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},y:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},z:{valType:"number",min:0,editType:"plot",impliedEdits:{"^aspectmode":"manual"}},editType:"plot",impliedEdits:{aspectmode:"manual"}},xaxis:d,yaxis:d,zaxis:d,dragmode:{valType:"enumerated",values:["orbit","turntable","zoom","pan",!1],editType:"plot"},hovermode:{valType:"enumerated",values:["closest",!1],dflt:"closest",editType:"modebar"},uirevision:{valType:"any",editType:"none"},editType:"plot",_deprecated:{cameraposition:{valType:"info_array",editType:"camera"}}}},13133:function(T,p,t){var d=t(78614),g=["xaxis","yaxis","zaxis"];function i(){this.enabled=[!0,!0,!0],this.colors=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.drawSides=[!0,!0,!0],this.lineWidth=[1,1,1]}i.prototype.merge=function(M){for(var v=0;v<3;++v){var f=M[g[v]];f.visible?(this.enabled[v]=f.showspikes,this.colors[v]=d(f.spikecolor),this.drawSides[v]=f.spikesides,this.lineWidth[v]=f.spikethickness):(this.enabled[v]=!1,this.drawSides[v]=!1)}},T.exports=function(M){var v=new i;return v.merge(M),v}},96085:function(T,p,t){T.exports=function(v){for(var f=v.axesOptions,l=v.glplot.axesPixels,a=v.fullSceneLayout,u=[[],[],[]],o=0;o<3;++o){var s=a[i[o]];if(s._length=(l[o].hi-l[o].lo)*l[o].pixelsPerDataUnit/v.dataScale[o],Math.abs(s._length)===1/0||isNaN(s._length))u[o]=[];else{s._input_range=s.range.slice(),s.range[0]=l[o].lo/v.dataScale[o],s.range[1]=l[o].hi/v.dataScale[o],s._m=1/(v.dataScale[o]*l[o].pixelsPerDataUnit),s.range[0]===s.range[1]&&(s.range[0]-=1,s.range[1]+=1);var c=s.tickmode;if(s.tickmode==="auto"){s.tickmode="linear";var h=s.nticks||g.constrain(s._length/40,4,9);d.autoTicks(s,Math.abs(s.range[1]-s.range[0])/h)}for(var m=d.calcTicks(s,{msUTC:!0}),w=0;w/g," "));u[o]=m,s.tickmode=c}}for(f.ticks=u,o=0;o<3;++o)for(M[o]=.5*(v.glplot.bounds[0][o]+v.glplot.bounds[1][o]),w=0;w<2;++w)f.bounds[w][o]=v.glplot.bounds[w][o];v.contourLevels=function(y){for(var S=new Array(3),_=0;_<3;++_){for(var k=y[_],E=new Array(k.length),x=0;xB.deltaY?1.1:.9090909090909091,W=R.glplot.getAspectratio();R.glplot.setAspectratio({x:N*W.x,y:N*W.y,z:N*W.z})}F(R)}},!!l&&{passive:!1}),R.glplot.canvas.addEventListener("mousemove",function(){if(R.fullSceneLayout.dragmode!==!1&&R.camera.mouseListener.buttons!==0){var B=z();R.graphDiv.emit("plotly_relayouting",B)}}),R.staticMode||R.glplot.canvas.addEventListener("webglcontextlost",function(B){I&&I.emit&&I.emit("plotly_webglcontextlost",{event:B,layer:R.id})},!1)),R.glplot.oncontextloss=function(){R.recoverContext()},R.glplot.onrender=function(){R.render()},!0},x.render=function(){var R,I=this,O=I.graphDiv,z=I.svgContainer,F=I.container.getBoundingClientRect();O._fullLayout._calcInverseTransform(O);var B=O._fullLayout._invScaleX,N=O._fullLayout._invScaleY,W=F.width*B,j=F.height*N;z.setAttributeNS(null,"viewBox","0 0 "+W+" "+j),z.setAttributeNS(null,"width",W),z.setAttributeNS(null,"height",j),_(I),I.glplot.axes.update(I.axesOptions);for(var $=Object.keys(I.traces),U=null,G=I.glplot.selection,q=0;q<$.length;++q)(R=I.traces[$[q]]).data.hoverinfo!=="skip"&&R.handlePick(G)&&(U=R),R.setContourLevels&&R.setContourLevels();function H(me,pe,xe){var Pe=I.fullSceneLayout[me+"axis"];return Pe.type!=="log"&&(pe=Pe.d2l(pe)),s.hoverLabelText(Pe,pe,xe)}if(U!==null){var ne=w(I.glplot.cameraParams,G.dataCoordinate);R=U.data;var te,Z=O._fullData[R.index],X=G.index,Q={xLabel:H("x",G.traceCoordinate[0],R.xhoverformat),yLabel:H("y",G.traceCoordinate[1],R.yhoverformat),zLabel:H("z",G.traceCoordinate[2],R.zhoverformat)},re=c.castHoverinfo(Z,I.fullLayout,X),ie=(re||"").split("+"),oe=re&&re==="all";Z.hovertemplate||oe||(ie.indexOf("x")===-1&&(Q.xLabel=void 0),ie.indexOf("y")===-1&&(Q.yLabel=void 0),ie.indexOf("z")===-1&&(Q.zLabel=void 0),ie.indexOf("text")===-1&&(G.textLabel=void 0),ie.indexOf("name")===-1&&(U.name=void 0));var ue=[];R.type==="cone"||R.type==="streamtube"?(Q.uLabel=H("x",G.traceCoordinate[3],R.uhoverformat),(oe||ie.indexOf("u")!==-1)&&ue.push("u: "+Q.uLabel),Q.vLabel=H("y",G.traceCoordinate[4],R.vhoverformat),(oe||ie.indexOf("v")!==-1)&&ue.push("v: "+Q.vLabel),Q.wLabel=H("z",G.traceCoordinate[5],R.whoverformat),(oe||ie.indexOf("w")!==-1)&&ue.push("w: "+Q.wLabel),Q.normLabel=G.traceCoordinate[6].toPrecision(3),(oe||ie.indexOf("norm")!==-1)&&ue.push("norm: "+Q.normLabel),R.type==="streamtube"&&(Q.divergenceLabel=G.traceCoordinate[7].toPrecision(3),(oe||ie.indexOf("divergence")!==-1)&&ue.push("divergence: "+Q.divergenceLabel)),G.textLabel&&ue.push(G.textLabel),te=ue.join("
")):R.type==="isosurface"||R.type==="volume"?(Q.valueLabel=s.hoverLabelText(I._mockAxis,I._mockAxis.d2l(G.traceCoordinate[3]),R.valuehoverformat),ue.push("value: "+Q.valueLabel),G.textLabel&&ue.push(G.textLabel),te=ue.join("
")):te=G.textLabel;var ce={x:G.traceCoordinate[0],y:G.traceCoordinate[1],z:G.traceCoordinate[2],data:Z._input,fullData:Z,curveNumber:Z.index,pointNumber:X};c.appendArrayPointValue(ce,Z,X),R._module.eventData&&(ce=Z._module.eventData(ce,G,Z,{},X));var ye={points:[ce]};if(I.fullSceneLayout.hovermode){var de=[];c.loneHover({trace:Z,x:(.5+.5*ne[0]/ne[3])*W,y:(.5-.5*ne[1]/ne[3])*j,xLabel:Q.xLabel,yLabel:Q.yLabel,zLabel:Q.zLabel,text:te,name:U.name,color:c.castHoverOption(Z,X,"bgcolor")||U.color,borderColor:c.castHoverOption(Z,X,"bordercolor"),fontFamily:c.castHoverOption(Z,X,"font.family"),fontSize:c.castHoverOption(Z,X,"font.size"),fontColor:c.castHoverOption(Z,X,"font.color"),nameLength:c.castHoverOption(Z,X,"namelength"),textAlign:c.castHoverOption(Z,X,"align"),hovertemplate:u.castOption(Z,X,"hovertemplate"),hovertemplateLabels:u.extendFlat({},ce,Q),eventData:[ce]},{container:z,gd:O,inOut_bbox:de}),ce.bbox=de[0]}G.distance<5&&(G.buttons||k)?O.emit("plotly_click",ye):O.emit("plotly_hover",ye),this.oldEventData=ye}else c.loneUnhover(z),this.oldEventData&&O.emit("plotly_unhover",this.oldEventData),this.oldEventData=void 0;I.drawAnnotations(I)},x.recoverContext=function(){var R=this;R.glplot.dispose();var I=function(){R.glplot.gl.isContextLost()?requestAnimationFrame(I):R.initializeGLPlot()?R.plot.apply(R,R.plotArgs):u.error("Catastrophic and unrecoverable WebGL error. Context lost.")};requestAnimationFrame(I)};var L=["xaxis","yaxis","zaxis"];function b(R,I,O){for(var z=R.fullSceneLayout,F=0;F<3;F++){var B=L[F],N=B.charAt(0),W=z[B],j=I[N],$=I[N+"calendar"],U=I["_"+N+"length"];if(u.isArrayOrTypedArray(j))for(var G,q=0;q<(U||j.length);q++)if(u.isArrayOrTypedArray(j[q]))for(var H=0;HZ[1][N])Z[0][N]=-1,Z[1][N]=1;else{var pe=Z[1][N]-Z[0][N];Z[0][N]-=pe/32,Z[1][N]+=pe/32}if(j.autorange==="reversed"){var xe=Z[0][N];Z[0][N]=Z[1][N],Z[1][N]=xe}}else{var Pe=j.range;Z[0][N]=j.r2l(Pe[0]),Z[1][N]=j.r2l(Pe[1])}Z[0][N]===Z[1][N]&&(Z[0][N]-=1,Z[1][N]+=1),X[N]=Z[1][N]-Z[0][N],z.glplot.setBounds(N,{min:Z[0][N]*H[N],max:Z[1][N]*H[N]})}var _e=U.aspectmode;if(_e==="cube")te=[1,1,1];else if(_e==="manual"){var Me=U.aspectratio;te=[Me.x,Me.y,Me.z]}else{if(_e!=="auto"&&_e!=="data")throw new Error("scene.js aspectRatio was not one of the enumerated types");var Se=[1,1,1];for(N=0;N<3;++N){var Ce=Q[$=(j=U[L[N]]).type];Se[N]=Math.pow(Ce.acc,1/Ce.count)/H[N]}te=_e==="data"||Math.max.apply(null,Se)/Math.min.apply(null,Se)<=4?Se:[1,1,1]}U.aspectratio.x=G.aspectratio.x=te[0],U.aspectratio.y=G.aspectratio.y=te[1],U.aspectratio.z=G.aspectratio.z=te[2],z.glplot.setAspectratio(U.aspectratio),z.viewInitial.aspectratio||(z.viewInitial.aspectratio={x:U.aspectratio.x,y:U.aspectratio.y,z:U.aspectratio.z}),z.viewInitial.aspectmode||(z.viewInitial.aspectmode=U.aspectmode);var ae=U.domain||null,fe=I._size||null;if(ae&&fe){var be=z.container.style;be.position="absolute",be.left=fe.l+ae.x[0]*fe.w+"px",be.top=fe.t+(1-ae.y[1])*fe.h+"px",be.width=fe.w*(ae.x[1]-ae.x[0])+"px",be.height=fe.h*(ae.y[1]-ae.y[0])+"px"}z.glplot.redraw()}},x.destroy=function(){var R=this;R.glplot&&(R.camera.mouseListener.enabled=!1,R.container.removeEventListener("wheel",R.camera.wheelListener),R.camera=null,R.glplot.dispose(),R.container.parentNode.removeChild(R.container),R.glplot=null)},x.getCamera=function(){var R,I=this;return I.camera.view.recalcMatrix(I.camera.view.lastT()),{up:{x:(R=I.camera).up[0],y:R.up[1],z:R.up[2]},center:{x:R.center[0],y:R.center[1],z:R.center[2]},eye:{x:R.eye[0],y:R.eye[1],z:R.eye[2]},projection:{type:R._ortho===!0?"orthographic":"perspective"}}},x.setViewport=function(R){var I,O=this,z=R.camera;O.camera.lookAt.apply(this,[[(I=z).eye.x,I.eye.y,I.eye.z],[I.center.x,I.center.y,I.center.z],[I.up.x,I.up.y,I.up.z]]),O.glplot.setAspectratio(R.aspectratio),z.projection.type==="orthographic"!==O.camera._ortho&&(O.glplot.redraw(),O.glplot.clearRGBA(),O.glplot.dispose(),O.initializeGLPlot())},x.isCameraChanged=function(R){var I=this.getCamera(),O=u.nestedProperty(R,this.id+".camera").get();function z(W,j,$,U){var G=["up","center","eye"],q=["x","y","z"];return j[G[$]]&&W[G[$]][q[U]]===j[G[$]][q[U]]}var F=!1;if(O===void 0)F=!0;else{for(var B=0;B<3;B++)for(var N=0;N<3;N++)if(!z(I,O,B,N)){F=!0;break}(!O.projection||I.projection&&I.projection.type!==O.projection.type)&&(F=!0)}return F},x.isAspectChanged=function(R){var I=this.glplot.getAspectratio(),O=u.nestedProperty(R,this.id+".aspectratio").get();return O===void 0||O.x!==I.x||O.y!==I.y||O.z!==I.z},x.saveLayout=function(R){var I,O,z,F,B,N,W=this,j=W.fullLayout,$=W.isCameraChanged(R),U=W.isAspectChanged(R),G=$||U;if(G){var q={};$&&(I=W.getCamera(),z=(O=u.nestedProperty(R,W.id+".camera")).get(),q[W.id+".camera"]=z),U&&(F=W.glplot.getAspectratio(),N=(B=u.nestedProperty(R,W.id+".aspectratio")).get(),q[W.id+".aspectratio"]=N),a.call("_storeDirectGUIEdit",R,j._preGUI,q),$&&(O.set(I),u.nestedProperty(j,W.id+".camera").set(I)),U&&(B.set(F),u.nestedProperty(j,W.id+".aspectratio").set(F),W.glplot.redraw())}return G},x.updateFx=function(R,I){var O=this,z=O.camera;if(z)if(R==="orbit")z.mode="orbit",z.keyBindingMode="rotate";else if(R==="turntable"){z.up=[0,0,1],z.mode="turntable",z.keyBindingMode="rotate";var F=O.graphDiv,B=F._fullLayout,N=O.fullSceneLayout.camera,W=N.up.x,j=N.up.y,$=N.up.z;if($/Math.sqrt(W*W+j*j+$*$)<.999){var U=O.id+".camera.up",G={x:0,y:0,z:1},q={};q[U]=G;var H=F.layout;a.call("_storeDirectGUIEdit",H,B._preGUI,q),N.up=G,u.nestedProperty(H,U).set(G)}}else z.keyBindingMode=R;O.fullSceneLayout.hovermode=I},x.toImage=function(R){var I=this;R||(R="png"),I.staticMode&&I.container.appendChild(d),I.glplot.redraw();var O=I.glplot.gl,z=O.drawingBufferWidth,F=O.drawingBufferHeight;O.bindFramebuffer(O.FRAMEBUFFER,null);var B=new Uint8Array(z*F*4);O.readPixels(0,0,z,F,O.RGBA,O.UNSIGNED_BYTE,B),function(U,G,q){for(var H=0,ne=q-1;H0)for(var X=255/Z,Q=0;Q<3;++Q)U[te+Q]=Math.min(X*U[te+Q],255)}}(B,z,F);var N=document.createElement("canvas");N.width=z,N.height=F;var W,j=N.getContext("2d",{willReadFrequently:!0}),$=j.createImageData(z,F);switch($.data.set(B),j.putImageData($,0,0),R){case"jpeg":W=N.toDataURL("image/jpeg");break;case"webp":W=N.toDataURL("image/webp");break;default:W=N.toDataURL("image/png")}return I.staticMode&&I.container.removeChild(d),W},x.setConvert=function(){for(var R=0;R<3;R++){var I=this.fullSceneLayout[L[R]];s.setConvert(I,this.fullLayout),I.setScale=u.noop}},x.make4thDimension=function(){var R=this,I=R.graphDiv._fullLayout;R._mockAxis={type:"linear",showexponent:"all",exponentformat:"B"},s.setConvert(R._mockAxis,I)},T.exports=E},90060:function(T){T.exports=function(p,t,d,g){g=g||p.length;for(var i=new Array(g),M=0;MOpenStreetMap
contributors',i=['© Carto',g].join(" "),M=['Map tiles by Stamen Design','under CC BY 3.0',"|",'Data by OpenStreetMap contributors','under ODbL'].join(" "),v={"open-street-map":{id:"osm",version:8,sources:{"plotly-osm-tiles":{type:"raster",attribution:g,tiles:["https://a.tile.openstreetmap.org/{z}/{x}/{y}.png","https://b.tile.openstreetmap.org/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-osm-tiles",type:"raster",source:"plotly-osm-tiles",minzoom:0,maxzoom:22}]},"white-bg":{id:"white-bg",version:8,sources:{},layers:[{id:"white-bg",type:"background",paint:{"background-color":"#FFFFFF"},minzoom:0,maxzoom:22}]},"carto-positron":{id:"carto-positron",version:8,sources:{"plotly-carto-positron":{type:"raster",attribution:i,tiles:["https://cartodb-basemaps-c.global.ssl.fastly.net/light_all/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-carto-positron",type:"raster",source:"plotly-carto-positron",minzoom:0,maxzoom:22}]},"carto-darkmatter":{id:"carto-darkmatter",version:8,sources:{"plotly-carto-darkmatter":{type:"raster",attribution:i,tiles:["https://cartodb-basemaps-c.global.ssl.fastly.net/dark_all/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-carto-darkmatter",type:"raster",source:"plotly-carto-darkmatter",minzoom:0,maxzoom:22}]},"stamen-terrain":{id:"stamen-terrain",version:8,sources:{"plotly-stamen-terrain":{type:"raster",attribution:M,tiles:["https://stamen-tiles.a.ssl.fastly.net/terrain/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-terrain",type:"raster",source:"plotly-stamen-terrain",minzoom:0,maxzoom:22}]},"stamen-toner":{id:"stamen-toner",version:8,sources:{"plotly-stamen-toner":{type:"raster",attribution:M,tiles:["https://stamen-tiles.a.ssl.fastly.net/toner/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-toner",type:"raster",source:"plotly-stamen-toner",minzoom:0,maxzoom:22}]},"stamen-watercolor":{id:"stamen-watercolor",version:8,sources:{"plotly-stamen-watercolor":{type:"raster",attribution:['Map tiles by Stamen Design','under CC BY 3.0',"|",'Data by OpenStreetMap contributors','under CC BY SA'].join(" "),tiles:["https://stamen-tiles.a.ssl.fastly.net/watercolor/{z}/{x}/{y}.png"],tileSize:256}},layers:[{id:"plotly-stamen-watercolor",type:"raster",source:"plotly-stamen-watercolor",minzoom:0,maxzoom:22}]}},f=d(v);T.exports={requiredVersion:"1.10.1",styleUrlPrefix:"mapbox://styles/mapbox/",styleUrlSuffix:"v9",styleValuesMapbox:["basic","streets","outdoors","light","dark","satellite","satellite-streets"],styleValueDflt:"basic",stylesNonMapbox:v,styleValuesNonMapbox:f,traceLayerPrefix:"plotly-trace-layer-",layoutLayerPrefix:"plotly-layout-layer-",wrongVersionErrorMsg:["Your custom plotly.js bundle is not using the correct mapbox-gl version","Please install mapbox-gl@1.10.1."].join(` -`),noAccessTokenErrorMsg:["Missing Mapbox access token.","Mapbox trace type require a Mapbox access token to be registered.","For example:"," Plotly.newPlot(gd, data, layout, { mapboxAccessToken: 'my-access-token' });","More info here: https://www.mapbox.com/help/define-access-token/"].join(` -`),missingStyleErrorMsg:["No valid mapbox style found, please set `mapbox.style` to one of:",f.join(", "),"or register a Mapbox access token to use a Mapbox-served style."].join(` -`),multipleTokensErrorMsg:["Set multiple mapbox access token across different mapbox subplot,","using first token found as mapbox-gl does not allow multipleaccess tokens on the same page."].join(` -`),mapOnErrorMsg:"Mapbox error.",mapboxLogo:{path0:"m 10.5,1.24 c -5.11,0 -9.25,4.15 -9.25,9.25 0,5.1 4.15,9.25 9.25,9.25 5.1,0 9.25,-4.15 9.25,-9.25 0,-5.11 -4.14,-9.25 -9.25,-9.25 z m 4.39,11.53 c -1.93,1.93 -4.78,2.31 -6.7,2.31 -0.7,0 -1.41,-0.05 -2.1,-0.16 0,0 -1.02,-5.64 2.14,-8.81 0.83,-0.83 1.95,-1.28 3.13,-1.28 1.27,0 2.49,0.51 3.39,1.42 1.84,1.84 1.89,4.75 0.14,6.52 z",path1:"M 10.5,-0.01 C 4.7,-0.01 0,4.7 0,10.49 c 0,5.79 4.7,10.5 10.5,10.5 5.8,0 10.5,-4.7 10.5,-10.5 C 20.99,4.7 16.3,-0.01 10.5,-0.01 Z m 0,19.75 c -5.11,0 -9.25,-4.15 -9.25,-9.25 0,-5.1 4.14,-9.26 9.25,-9.26 5.11,0 9.25,4.15 9.25,9.25 0,5.13 -4.14,9.26 -9.25,9.26 z",path2:"M 14.74,6.25 C 12.9,4.41 9.98,4.35 8.23,6.1 5.07,9.27 6.09,14.91 6.09,14.91 c 0,0 5.64,1.02 8.81,-2.14 C 16.64,11 16.59,8.09 14.74,6.25 Z m -2.27,4.09 -0.91,1.87 -0.9,-1.87 -1.86,-0.91 1.86,-0.9 0.9,-1.87 0.91,1.87 1.86,0.9 z",polygon:"11.56,12.21 10.66,10.34 8.8,9.43 10.66,8.53 11.56,6.66 12.47,8.53 14.33,9.43 12.47,10.34"},styleRules:{map:"overflow:hidden;position:relative;","missing-css":"display:none;",canary:"background-color:salmon;","ctrl-bottom-left":"position: absolute; pointer-events: none; z-index: 2; bottom: 0; left: 0;","ctrl-bottom-right":"position: absolute; pointer-events: none; z-index: 2; right: 0; bottom: 0;",ctrl:"clear: both; pointer-events: auto; transform: translate(0, 0);","ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-inner":"display: none;","ctrl-attrib.mapboxgl-compact:hover .mapboxgl-ctrl-attrib-inner":"display: block; margin-top:2px","ctrl-attrib.mapboxgl-compact:hover":"padding: 2px 24px 2px 4px; visibility: visible; margin-top: 6px;","ctrl-attrib.mapboxgl-compact::after":`content: ""; cursor: pointer; position: absolute; background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"%3E %3Cpath fill="%23333333" fill-rule="evenodd" d="M4,10a6,6 0 1,0 12,0a6,6 0 1,0 -12,0 M9,7a1,1 0 1,0 2,0a1,1 0 1,0 -2,0 M9,10a1,1 0 1,1 2,0l0,3a1,1 0 1,1 -2,0"/%3E %3C/svg%3E'); background-color: rgba(255, 255, 255, 0.5); width: 24px; height: 24px; box-sizing: border-box; border-radius: 12px;`,"ctrl-attrib.mapboxgl-compact":"min-height: 20px; padding: 0; margin: 10px; position: relative; background-color: #fff; border-radius: 3px 12px 12px 3px;","ctrl-bottom-right > .mapboxgl-ctrl-attrib.mapboxgl-compact::after":"bottom: 0; right: 0","ctrl-bottom-left > .mapboxgl-ctrl-attrib.mapboxgl-compact::after":"bottom: 0; left: 0","ctrl-bottom-left .mapboxgl-ctrl":"margin: 0 0 10px 10px; float: left;","ctrl-bottom-right .mapboxgl-ctrl":"margin: 0 10px 10px 0; float: right;","ctrl-attrib":"color: rgba(0, 0, 0, 0.75); text-decoration: none; font-size: 12px","ctrl-attrib a":"color: rgba(0, 0, 0, 0.75); text-decoration: none; font-size: 12px","ctrl-attrib a:hover":"color: inherit; text-decoration: underline;","ctrl-attrib .mapbox-improve-map":"font-weight: bold; margin-left: 2px;","attrib-empty":"display: none;","ctrl-logo":`display:block; width: 21px; height: 21px; background-image: url('data:image/svg+xml;charset=utf-8,%3C?xml version="1.0" encoding="utf-8"?%3E %3Csvg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 21 21" style="enable-background:new 0 0 21 21;" xml:space="preserve"%3E%3Cg transform="translate(0,0.01)"%3E%3Cpath d="m 10.5,1.24 c -5.11,0 -9.25,4.15 -9.25,9.25 0,5.1 4.15,9.25 9.25,9.25 5.1,0 9.25,-4.15 9.25,-9.25 0,-5.11 -4.14,-9.25 -9.25,-9.25 z m 4.39,11.53 c -1.93,1.93 -4.78,2.31 -6.7,2.31 -0.7,0 -1.41,-0.05 -2.1,-0.16 0,0 -1.02,-5.64 2.14,-8.81 0.83,-0.83 1.95,-1.28 3.13,-1.28 1.27,0 2.49,0.51 3.39,1.42 1.84,1.84 1.89,4.75 0.14,6.52 z" style="opacity:0.9;fill:%23ffffff;enable-background:new" class="st0"/%3E%3Cpath d="M 10.5,-0.01 C 4.7,-0.01 0,4.7 0,10.49 c 0,5.79 4.7,10.5 10.5,10.5 5.8,0 10.5,-4.7 10.5,-10.5 C 20.99,4.7 16.3,-0.01 10.5,-0.01 Z m 0,19.75 c -5.11,0 -9.25,-4.15 -9.25,-9.25 0,-5.1 4.14,-9.26 9.25,-9.26 5.11,0 9.25,4.15 9.25,9.25 0,5.13 -4.14,9.26 -9.25,9.26 z" style="opacity:0.35;enable-background:new" class="st1"/%3E%3Cpath d="M 14.74,6.25 C 12.9,4.41 9.98,4.35 8.23,6.1 5.07,9.27 6.09,14.91 6.09,14.91 c 0,0 5.64,1.02 8.81,-2.14 C 16.64,11 16.59,8.09 14.74,6.25 Z m -2.27,4.09 -0.91,1.87 -0.9,-1.87 -1.86,-0.91 1.86,-0.9 0.9,-1.87 0.91,1.87 1.86,0.9 z" style="opacity:0.35;enable-background:new" class="st1"/%3E%3Cpolygon points="11.56,12.21 10.66,10.34 8.8,9.43 10.66,8.53 11.56,6.66 12.47,8.53 14.33,9.43 12.47,10.34 " style="opacity:0.9;fill:%23ffffff;enable-background:new" class="st0"/%3E%3C/g%3E%3C/svg%3E')`}}},13056:function(T,p,t){var d=t(71828);T.exports=function(g,i){var M=g.split(" "),v=M[0],f=M[1],l=d.isArrayOrTypedArray(i)?d.mean(i):i,a=.5+l/100,u=1.5+l/100,o=["",""],s=[0,0];switch(v){case"top":o[0]="top",s[1]=-u;break;case"bottom":o[0]="bottom",s[1]=u}switch(f){case"left":o[1]="right",s[0]=-a;break;case"right":o[1]="left",s[0]=a}return{anchor:o[0]&&o[1]?o.join("-"):o[0]?o[0]:o[1]?o[1]:"center",offset:s}}},50101:function(T,p,t){var d=t(44517),g=t(71828),i=g.strTranslate,M=g.strScale,v=t(27659).AU,f=t(77922),l=t(39898),a=t(91424),u=t(63893),o=t(10481),s="mapbox",c=p.constants=t(77734);function h(m){return typeof m=="string"&&(c.styleValuesMapbox.indexOf(m)!==-1||m.indexOf("mapbox://")===0)}p.name=s,p.attr="subplot",p.idRoot=s,p.idRegex=p.attrRegex=g.counterRegex(s),p.attributes={subplot:{valType:"subplotid",dflt:"mapbox",editType:"calc"}},p.layoutAttributes=t(23585),p.supplyLayoutDefaults=t(77882),p.plot=function(m){var w=m._fullLayout,y=m.calcdata,S=w._subplots.mapbox;if(d.version!==c.requiredVersion)throw new Error(c.wrongVersionErrorMsg);var _=function(b,R){var I=b._fullLayout;if(b._context.mapboxAccessToken==="")return"";for(var O=[],z=[],F=!1,B=!1,N=0;N1&&g.warn(c.multipleTokensErrorMsg),O[0]):(z.length&&g.log(["Listed mapbox access token(s)",z.join(","),"but did not use a Mapbox map style, ignoring token(s)."].join(" ")),"")}(m,S);d.accessToken=_;for(var k=0;kz/2){var F=b.split("|").join("
");I.text(F).attr("data-unformatted",F).call(u.convertToTspans,m),O=a.bBox(I.node())}I.attr("transform",i(-3,8-O.height)),R.insert("rect",".static-attribution").attr({x:-O.width-6,y:-O.height-3,width:O.width+6,height:O.height+3,fill:"rgba(255, 255, 255, 0.75)"});var B=1;O.width+6>z&&(B=z/(O.width+6));var N=[S.l+S.w*E.x[1],S.t+S.h*(1-E.y[0])];R.attr("transform",i(N[0],N[1])+M(B))}},p.updateFx=function(m){for(var w=m._fullLayout,y=w._subplots.mapbox,S=0;S0){for(var s=0;s0}function a(u){var o={},s={};switch(u.type){case"circle":d.extendFlat(s,{"circle-radius":u.circle.radius,"circle-color":u.color,"circle-opacity":u.opacity});break;case"line":d.extendFlat(s,{"line-width":u.line.width,"line-color":u.color,"line-opacity":u.opacity,"line-dasharray":u.line.dash});break;case"fill":d.extendFlat(s,{"fill-color":u.color,"fill-outline-color":u.fill.outlinecolor,"fill-opacity":u.opacity});break;case"symbol":var c=u.symbol,h=i(c.textposition,c.iconsize);d.extendFlat(o,{"icon-image":c.icon+"-15","icon-size":c.iconsize/10,"text-field":c.text,"text-size":c.textfont.size,"text-anchor":h.anchor,"text-offset":h.offset,"symbol-placement":c.placement}),d.extendFlat(s,{"icon-color":u.color,"text-color":c.textfont.color,"text-opacity":u.opacity});break;case"raster":d.extendFlat(s,{"raster-fade-duration":0,"raster-opacity":u.opacity})}return{layout:o,paint:s}}f.update=function(u){this.visible?this.needsNewImage(u)?this.updateImage(u):this.needsNewSource(u)?(this.removeLayer(),this.updateSource(u),this.updateLayer(u)):this.needsNewLayer(u)?this.updateLayer(u):this.updateStyle(u):(this.updateSource(u),this.updateLayer(u)),this.visible=l(u)},f.needsNewImage=function(u){return this.subplot.map.getSource(this.idSource)&&this.sourceType==="image"&&u.sourcetype==="image"&&(this.source!==u.source||JSON.stringify(this.coordinates)!==JSON.stringify(u.coordinates))},f.needsNewSource=function(u){return this.sourceType!==u.sourcetype||JSON.stringify(this.source)!==JSON.stringify(u.source)||this.layerType!==u.type},f.needsNewLayer=function(u){return this.layerType!==u.type||this.below!==this.subplot.belowLookup["layout-"+this.index]},f.lookupBelow=function(){return this.subplot.belowLookup["layout-"+this.index]},f.updateImage=function(u){this.subplot.map.getSource(this.idSource).updateImage({url:u.source,coordinates:u.coordinates});var o=this.findFollowingMapboxLayerId(this.lookupBelow());o!==null&&this.subplot.map.moveLayer(this.idLayer,o)},f.updateSource=function(u){var o=this.subplot.map;if(o.getSource(this.idSource)&&o.removeSource(this.idSource),this.sourceType=u.sourcetype,this.source=u.source,l(u)){var s=function(c){var h,m=c.sourcetype,w=c.source,y={type:m};return m==="geojson"?h="data":m==="vector"?h=typeof w=="string"?"url":"tiles":m==="raster"?(h="tiles",y.tileSize=256):m==="image"&&(h="url",y.coordinates=c.coordinates),y[h]=w,c.sourceattribution&&(y.attribution=g(c.sourceattribution)),y}(u);o.addSource(this.idSource,s)}},f.findFollowingMapboxLayerId=function(u){if(u==="traces")for(var o=this.subplot.getMapLayers(),s=0;s1)for(R=0;R-1&&m(N.originalEvent,I,[R.xaxis],[R.yaxis],R.id,B),W.indexOf("event")>-1&&l.click(I,N.originalEvent)}}},_.updateFx=function(L){var b=this,R=b.map,I=b.gd;if(!b.isStatic){var O,z=L.dragmode;O=function(N,W){W.isRect?(N.range={})[b.id]=[B([W.xmin,W.ymin]),B([W.xmax,W.ymax])]:(N.lassoPoints={})[b.id]=W.map(B)};var F=b.dragOptions;b.dragOptions=g.extendDeep(F||{},{dragmode:L.dragmode,element:b.div,gd:I,plotinfo:{id:b.id,domain:L[b.id].domain,xaxis:b.xaxis,yaxis:b.yaxis,fillRangeItems:O},xaxes:[b.xaxis],yaxes:[b.yaxis],subplot:b.id}),R.off("click",b.onClickInPanHandler),o(z)||u(z)?(R.dragPan.disable(),R.on("zoomstart",b.clearOutline),b.dragOptions.prepFn=function(N,W,j){s(N,W,j,b.dragOptions,z)},f.init(b.dragOptions)):(R.dragPan.enable(),R.off("zoomstart",b.clearOutline),b.div.onmousedown=null,b.div.ontouchstart=null,b.div.removeEventListener("touchstart",b.div._ontouchstart),b.onClickInPanHandler=b.onClickInPanFn(b.dragOptions),R.on("click",b.onClickInPanHandler))}function B(N){var W=b.map.unproject(N);return[W.lng,W.lat]}},_.updateFramework=function(L){var b=L[this.id].domain,R=L._size,I=this.div.style;I.width=R.w*(b.x[1]-b.x[0])+"px",I.height=R.h*(b.y[1]-b.y[0])+"px",I.left=R.l+b.x[0]*R.w+"px",I.top=R.t+(1-b.y[1])*R.h+"px",this.xaxis._offset=R.l+b.x[0]*R.w,this.xaxis._length=R.w*(b.x[1]-b.x[0]),this.yaxis._offset=R.t+(1-b.y[1])*R.h,this.yaxis._length=R.h*(b.y[1]-b.y[0])},_.updateLayers=function(L){var b,R=L[this.id].layers,I=this.layerList;if(R.length!==I.length){for(b=0;b=G.width-20?(ne["text-anchor"]="start",ne.x=5):(ne["text-anchor"]="end",ne.x=G._paper.attr("width")-7),q.attr(ne);var te=q.select(".js-link-to-tool"),Z=q.select(".js-link-spacer"),X=q.select(".js-sourcelinks");U._context.showSources&&U._context.showSources(U),U._context.showLink&&function(Q,re){re.text("");var ie=re.append("a").attr({"xlink:xlink:href":"#",class:"link--impt link--embedview","font-weight":"bold"}).text(Q._context.linkText+" "+String.fromCharCode(187));if(Q._context.sendData)ie.on("click",function(){k.sendDataToCloud(Q)});else{var oe=window.location.pathname.split("/"),ue=window.location.search;ie.attr({"xlink:xlink:show":"new","xlink:xlink:href":"/"+oe[2].split(".")[0]+"/"+oe[1]+ue})}}(U,te),Z.text(te.text()&&X.text()?" - ":"")}},k.sendDataToCloud=function(U){var G=(window.PLOTLYENV||{}).BASE_URL||U._context.plotlyServerURL;if(G){U.emit("plotly_beforeexport");var q=d.select(U).append("div").attr("id","hiddenform").style("display","none"),H=q.append("form").attr({action:G+"/external",method:"post",target:"_blank"});return H.append("input").attr({type:"text",name:"data"}).node().value=k.graphJson(U,!1,"keepdata"),H.node().submit(),q.remove(),U.emit("plotly_afterexport"),!1}};var A=["days","shortDays","months","shortMonths","periods","dateTime","date","time","decimal","thousands","grouping","currency"],L=["year","month","dayMonth","dayMonthYear"];function b(U,G){var q=U._context.locale;q||(q="en-US");var H=!1,ne={};function te(oe){for(var ue=!0,ce=0;ce1&&Se.length>1){for(v.getComponentMethod("grid","sizeDefaults")(Z,te),ne=0;ne15&&Se.length>15&&te.shapes.length===0&&te.images.length===0,k.linkSubplots(Q,te,X,H),k.cleanPlot(Q,te,X,H);var ke=!(!H._has||!H._has("gl2d")),Le=!(!te._has||!te._has("gl2d")),Be=!(!H._has||!H._has("cartesian"))||ke,ze=!(!te._has||!te._has("cartesian"))||Le;Be&&!ze?H._bgLayer.remove():ze&&!Be&&(te._shouldCreateBgLayer=!0),H._zoomlayer&&!U._dragging&&c({_fullLayout:H}),function(Ee,Ve){var $e,Ye=[];Ve.meta&&($e=Ve._meta={meta:Ve.meta,layout:{meta:Ve.meta}});for(var st=0;st0){var re=1-2*Z;H=Math.round(re*H),ne=Math.round(re*ne)}}var ie=k.layoutAttributes.width.min,oe=k.layoutAttributes.height.min;H1,ce=!G.height&&Math.abs(q.height-ne)>1;(ce||ue)&&(ue&&(q.width=H),ce&&(q.height=ne)),U._initialAutoSize||(U._initialAutoSize={width:H,height:ne}),k.sanitizeMargins(q)},k.supplyLayoutModuleDefaults=function(U,G,q,H){var ne,te,Z,X=v.componentsRegistry,Q=G._basePlotModules,re=v.subplotsRegistry.cartesian;for(ne in X)(Z=X[ne]).includeBasePlot&&Z.includeBasePlot(U,G);for(var ie in Q.length||Q.push(re),G._has("cartesian")&&(v.getComponentMethod("grid","contentDefaults")(U,G),re.finalizeSubplots(U,G)),G._subplots)G._subplots[ie].sort(a.subplotSort);for(te=0;te1&&(q.l/=me,q.r/=me)}if(ue){var pe=(q.t+q.b)/ue;pe>1&&(q.t/=pe,q.b/=pe)}var xe=q.xl!==void 0?q.xl:q.x,Pe=q.xr!==void 0?q.xr:q.x,_e=q.yt!==void 0?q.yt:q.y,Me=q.yb!==void 0?q.yb:q.y;ce[G]={l:{val:xe,size:q.l+de},r:{val:Pe,size:q.r+de},b:{val:Me,size:q.b+de},t:{val:_e,size:q.t+de}},ye[G]=1}else delete ce[G],delete ye[G];if(!H._replotting)return k.doAutoMargin(U)}},k.doAutoMargin=function(U){var G=U._fullLayout,q=G.width,H=G.height;G._size||(G._size={}),F(G);var ne=G._size,te=G.margin,Z={t:0,b:0,l:0,r:0},X=a.extendFlat({},ne),Q=U._fullLayout._reservedMargin;for(var re in Q)for(var ie in Q[re]){var oe=Q[re][ie];Z[ie]=Math.max(Z[ie],oe)}var ue=te.l,ce=te.r,ye=te.t,de=te.b,me=G._pushmargin,pe=G._pushmarginIds,xe=G.minreducedwidth,Pe=G.minreducedheight;if(G.margin.autoexpand!==!1){for(var _e in me)pe[_e]||delete me[_e];for(var Me in me.base={l:{val:0,size:ue},r:{val:1,size:ce},t:{val:1,size:ye},b:{val:0,size:de}},me){var Se=me[Me].l||{},Ce=me[Me].b||{},ae=Se.val,fe=Se.size,be=Ce.val,ke=Ce.size,Le=q-Z.r-Z.l,Be=H-Z.t-Z.b;for(var ze in me){if(M(fe)&&me[ze].r){var je=me[ze].r.val,ge=me[ze].r.size;if(je>ae){var we=(fe*je+(ge-Le)*ae)/(je-ae),Ee=(ge*(1-ae)+(fe-Le)*(1-je))/(je-ae);we+Ee>ue+ce&&(ue=we,ce=Ee)}}if(M(ke)&&me[ze].t){var Ve=me[ze].t.val,$e=me[ze].t.size;if(Ve>be){var Ye=(ke*Ve+($e-Be)*be)/(Ve-be),st=($e*(1-be)+(ke-Be)*(1-Ve))/(Ve-be);Ye+st>de+ye&&(de=Ye,ye=st)}}}}}var ot=a.constrain(q-te.l-te.r,2,xe),ht=a.constrain(H-te.t-te.b,2,Pe),bt=Math.max(0,q-ot),Et=Math.max(0,H-ht);if(bt){var kt=(ue+ce)/bt;kt>1&&(ue/=kt,ce/=kt)}if(Et){var xt=(de+ye)/Et;xt>1&&(de/=xt,ye/=xt)}if(ne.l=Math.round(ue)+Z.l,ne.r=Math.round(ce)+Z.r,ne.t=Math.round(ye)+Z.t,ne.b=Math.round(de)+Z.b,ne.p=Math.round(te.pad),ne.w=Math.round(q)-ne.l-ne.r,ne.h=Math.round(H)-ne.t-ne.b,!G._replotting&&(k.didMarginChange(X,ne)||function(Ot){if("_redrawFromAutoMarginCount"in Ot._fullLayout)return!1;var Bt=s.list(Ot,"",!0);for(var qt in Bt)if(Bt[qt].autoshift||Bt[qt].shift)return!0;return!1}(U))){"_redrawFromAutoMarginCount"in G?G._redrawFromAutoMarginCount++:G._redrawFromAutoMarginCount=1;var Ft=3*(1+Object.keys(pe).length);if(G._redrawFromAutoMarginCount0&&(U._transitioningWithDuration=!0),U._transitionData._interruptCallbacks.push(function(){H=!0}),q.redraw&&U._transitionData._interruptCallbacks.push(function(){return v.call("redraw",U)}),U._transitionData._interruptCallbacks.push(function(){U.emit("plotly_transitioninterrupted",[])});var X=0,Q=0;function re(){return X++,function(){var ie;Q++,H||Q!==X||(ie=Z,U._transitionData&&(function(oe){if(oe)for(;oe.length;)oe.shift()}(U._transitionData._interruptCallbacks),Promise.resolve().then(function(){if(q.redraw)return v.call("redraw",U)}).then(function(){U._transitioning=!1,U._transitioningWithDuration=!1,U.emit("plotly_transitioned",[])}).then(ie)))}}q.runFn(re),setTimeout(re())})}],te=a.syncOrAsync(ne,U);return te&&te.then||(te=Promise.resolve()),te.then(function(){return U})}k.didMarginChange=function(U,G){for(var q=0;q1)return!0}return!1},k.graphJson=function(U,G,q,H,ne,te){(ne&&G&&!U._fullData||ne&&!G&&!U._fullLayout)&&k.supplyDefaults(U);var Z=ne?U._fullData:U.data,X=ne?U._fullLayout:U.layout,Q=(U._transitionData||{})._frames;function re(ue,ce){if(typeof ue=="function")return ce?"_function_":null;if(a.isPlainObject(ue)){var ye,de={};return Object.keys(ue).sort().forEach(function(me){if(["_","["].indexOf(me.charAt(0))===-1)if(typeof ue[me]!="function"){if(q==="keepdata"){if(me.substr(me.length-3)==="src")return}else if(q==="keepstream"){if(typeof(ye=ue[me+"src"])=="string"&&ye.indexOf(":")>0&&!a.isPlainObject(ue.stream))return}else if(q!=="keepall"&&typeof(ye=ue[me+"src"])=="string"&&ye.indexOf(":")>0)return;de[me]=re(ue[me],ce)}else ce&&(de[me]="_function")}),de}return Array.isArray(ue)?ue.map(function(me){return re(me,ce)}):a.isTypedArray(ue)?a.simpleMap(ue,a.identity):a.isJSDate(ue)?a.ms2DateTimeLocal(+ue):ue}var ie={data:(Z||[]).map(function(ue){var ce=re(ue);return G&&delete ce.fit,ce})};if(!G&&(ie.layout=re(X),ne)){var oe=X._size;ie.layout.computed={margin:{b:oe.b,l:oe.l,r:oe.r,t:oe.t}}}return Q&&(ie.frames=re(Q)),te&&(ie.config=re(U._context,!0)),H==="object"?ie:JSON.stringify(ie)},k.modifyFrames=function(U,G){var q,H,ne,te=U._transitionData._frames,Z=U._transitionData._frameHash;for(q=0;q=0;te--)if(Me[te].enabled){q._indexToPoints=Me[te]._indexToPoints;break}H&&H.calc&&(_e=H.calc(U,q))}Array.isArray(_e)&&_e[0]||(_e=[{x:o,y:o}]),_e[0].t||(_e[0].t={}),_e[0].trace=q,re[xe]=_e}}for(j(Z,X,Q),ne=0;ne1e-10?s:0}function o(s,c,h){c=c||0,h=h||0;for(var m=s.length,w=new Array(m),y=0;y0?y:1/0}),m=d.mod(h+1,c.length);return[c[h],c[m]]},findIntersectionXY:l,findXYatLength:function(s,c,h,m){var w=-c*h,y=c*c+1,S=2*(c*w-h),_=w*w+h*h-s*s,k=Math.sqrt(S*S-4*y*_),E=(-S+k)/(2*y),x=(-S-k)/(2*y);return[[E,c*E+w+m],[x,c*x+w+m]]},clampTiny:u,pathPolygon:function(s,c,h,m,w,y){return"M"+o(a(s,c,h,m),w,y).join("L")},pathPolygonAnnulus:function(s,c,h,m,w,y,S){var _,k;s=90||kt>90&&xt>=450?1:Ot<=0&&qt<=0?0:Math.max(Ot,qt),[kt<=180&&xt>=180||kt>180&&xt>=540?-1:Ft>=0&&Bt>=0?0:Math.min(Ft,Bt),kt<=270&&xt>=270||kt>270&&xt>=630?-1:Ot>=0&&qt>=0?0:Math.min(Ot,qt),xt>=360?1:Ft<=0&&Bt<=0?0:Math.max(Ft,Bt),ht]}(pe),ae=Ce[2]-Ce[0],fe=Ce[3]-Ce[1],be=me/de,ke=Math.abs(fe/ae);be>ke?(xe=de,Se=(me-(Pe=de*ke))/ie.h/2,_e=[ce[0],ce[1]],Me=[ye[0]+Se,ye[1]-Se]):(Pe=me,Se=(de-(xe=me/ke))/ie.w/2,_e=[ce[0]+Se,ce[1]-Se],Me=[ye[0],ye[1]]),Q.xLength2=xe,Q.yLength2=Pe,Q.xDomain2=_e,Q.yDomain2=Me;var Le,Be=Q.xOffset2=ie.l+ie.w*_e[0],ze=Q.yOffset2=ie.t+ie.h*(1-Me[1]),je=Q.radius=xe/ae,ge=Q.innerRadius=Q.getHole(X)*je,we=Q.cx=Be-je*Ce[0],Ee=Q.cy=ze+je*Ce[3],Ve=Q.cxx=we-Be,$e=Q.cyy=Ee-ze,Ye=oe.side;Ye==="counterclockwise"?(Le=Ye,Ye="top"):Ye==="clockwise"&&(Le=Ye,Ye="bottom"),Q.radialAxis=Q.mockAxis(Z,X,oe,{_id:"x",side:Ye,_trueSide:Le,domain:[ge/ie.w,je/ie.w]}),Q.angularAxis=Q.mockAxis(Z,X,ue,{side:"right",domain:[0,Math.PI],autorange:!1}),Q.doAutoRange(Z,X),Q.updateAngularAxis(Z,X),Q.updateRadialAxis(Z,X),Q.updateRadialAxisTitle(Z,X),Q.xaxis=Q.mockCartesianAxis(Z,X,{_id:"x",domain:_e}),Q.yaxis=Q.mockCartesianAxis(Z,X,{_id:"y",domain:Me});var st=Q.pathSubplot();Q.clipPaths.forTraces.select("path").attr("d",st).attr("transform",f(Ve,$e)),re.frontplot.attr("transform",f(Be,ze)).call(a.setClipUrl,Q._hasClipOnAxisFalse?null:Q.clipIds.forTraces,Q.gd),re.bg.attr("d",st).attr("transform",f(we,Ee)).call(l.fill,X.bgcolor)},q.mockAxis=function(Z,X,Q,re){var ie=M.extendFlat({},Q,re);return c(ie,X,Z),ie},q.mockCartesianAxis=function(Z,X,Q){var re=this,ie=re.isSmith,oe=Q._id,ue=M.extendFlat({type:"linear"},Q);s(ue,Z);var ce={x:[0,2],y:[1,3]};return ue.setRange=function(){var ye=re.sectorBBox,de=ce[oe],me=re.radialAxis._rl,pe=(me[1]-me[0])/(1-re.getHole(X));ue.range=[ye[de[0]]*pe,ye[de[1]]*pe]},ue.isPtWithinRange=oe!=="x"||ie?function(){return!0}:function(ye){return re.isPtInside(ye)},ue.setRange(),ue.setScale(),ue},q.doAutoRange=function(Z,X){var Q=this,re=Q.gd,ie=Q.radialAxis,oe=Q.getRadial(X);h(re,ie);var ue=ie.range;oe.range=ue.slice(),oe._input.range=ue.slice(),ie._rl=[ie.r2l(ue[0],null,"gregorian"),ie.r2l(ue[1],null,"gregorian")]},q.updateRadialAxis=function(Z,X){var Q=this,re=Q.gd,ie=Q.layers,oe=Q.radius,ue=Q.innerRadius,ce=Q.cx,ye=Q.cy,de=Q.getRadial(X),me=j(Q.getSector(X)[0],360),pe=Q.radialAxis,xe=ue90&&me<=270&&(pe.tickangle=180);var _e=Pe?function(ze){var je=N(Q,z([ze.x,0]));return f(je[0]-ce,je[1]-ye)}:function(ze){return f(pe.l2p(ze.x)+ue,0)},Me=Pe?function(ze){return B(Q,ze.x,-1/0,1/0)}:function(ze){return Q.pathArc(pe.r2p(ze.x)+ue)},Se=H(de);if(Q.radialTickLayout!==Se&&(ie["radial-axis"].selectAll(".xtick").remove(),Q.radialTickLayout=Se),xe){pe.setScale();var Ce=0,ae=Pe?(pe.tickvals||[]).filter(function(ze){return ze>=0}).map(function(ze){return o.tickText(pe,ze,!0,!1)}):o.calcTicks(pe),fe=Pe?ae:o.clipEnds(pe,ae),be=o.getTickSigns(pe)[2];Pe&&((pe.ticks==="top"&&pe.side==="bottom"||pe.ticks==="bottom"&&pe.side==="top")&&(be=-be),pe.ticks==="top"&&pe.side==="top"&&(Ce=-pe.ticklen),pe.ticks==="bottom"&&pe.side==="bottom"&&(Ce=pe.ticklen)),o.drawTicks(re,pe,{vals:ae,layer:ie["radial-axis"],path:o.makeTickPath(pe,0,be),transFn:_e,crisp:!1}),o.drawGrid(re,pe,{vals:fe,layer:ie["radial-grid"],path:Me,transFn:M.noop,crisp:!1}),o.drawLabels(re,pe,{vals:ae,layer:ie["radial-axis"],transFn:_e,labelFns:o.makeLabelFns(pe,Ce)})}var ke=Q.radialAxisAngle=Q.vangles?U(ne($(de.angle),Q.vangles)):de.angle,Le=f(ce,ye),Be=Le+v(-ke);te(ie["radial-axis"],xe&&(de.showticklabels||de.ticks),{transform:Be}),te(ie["radial-grid"],xe&&de.showgrid,{transform:Pe?"":Le}),te(ie["radial-line"].select("line"),xe&&de.showline,{x1:Pe?-oe:ue,y1:0,x2:oe,y2:0,transform:Be}).attr("stroke-width",de.linewidth).call(l.stroke,de.linecolor)},q.updateRadialAxisTitle=function(Z,X,Q){if(!this.isSmith){var re=this,ie=re.gd,oe=re.radius,ue=re.cx,ce=re.cy,ye=re.getRadial(X),de=re.id+"title",me=0;if(ye.title){var pe=a.bBox(re.layers["radial-axis"].node()).height,xe=ye.title.font.size,Pe=ye.side;me=Pe==="top"?xe:Pe==="counterclockwise"?-(pe+.4*xe):pe+.8*xe}var _e=Q!==void 0?Q:re.radialAxisAngle,Me=$(_e),Se=Math.cos(Me),Ce=Math.sin(Me),ae=ue+oe/2*Se+me*Ce,fe=ce-oe/2*Ce+me*Se;re.layers["radial-axis-title"]=S.draw(ie,de,{propContainer:ye,propName:re.id+".radialaxis.title",placeholder:W(ie,"Click to enter radial axis title"),attributes:{x:ae,y:fe,"text-anchor":"middle"},transform:{rotate:-_e}})}},q.updateAngularAxis=function(Z,X){var Q=this,re=Q.gd,ie=Q.layers,oe=Q.radius,ue=Q.innerRadius,ce=Q.cx,ye=Q.cy,de=Q.getAngular(X),me=Q.angularAxis,pe=Q.isSmith;pe||(Q.fillViewInitialKey("angularaxis.rotation",de.rotation),me.setGeometry(),me.setScale());var xe=pe?function(ze){var je=N(Q,z([0,ze.x]));return Math.atan2(je[0]-ce,je[1]-ye)-Math.PI/2}:function(ze){return me.t2g(ze.x)};me.type==="linear"&&me.thetaunit==="radians"&&(me.tick0=U(me.tick0),me.dtick=U(me.dtick));var Pe=function(ze){return f(ce+oe*Math.cos(ze),ye-oe*Math.sin(ze))},_e=pe?function(ze){var je=N(Q,z([0,ze.x]));return f(je[0],je[1])}:function(ze){return Pe(xe(ze))},Me=pe?function(ze){var je=N(Q,z([0,ze.x])),ge=Math.atan2(je[0]-ce,je[1]-ye)-Math.PI/2;return f(je[0],je[1])+v(-U(ge))}:function(ze){var je=xe(ze);return Pe(je)+v(-U(je))},Se=pe?function(ze){return F(Q,ze.x,0,1/0)}:function(ze){var je=xe(ze),ge=Math.cos(je),we=Math.sin(je);return"M"+[ce+ue*ge,ye-ue*we]+"L"+[ce+oe*ge,ye-oe*we]},Ce=o.makeLabelFns(me,0).labelStandoff,ae={xFn:function(ze){var je=xe(ze);return Math.cos(je)*Ce},yFn:function(ze){var je=xe(ze),ge=Math.sin(je)>0?.2:1;return-Math.sin(je)*(Ce+ze.fontSize*ge)+Math.abs(Math.cos(je))*(ze.fontSize*b)},anchorFn:function(ze){var je=xe(ze),ge=Math.cos(je);return Math.abs(ge)<.1?"middle":ge>0?"start":"end"},heightFn:function(ze,je,ge){var we=xe(ze);return-.5*(1+Math.sin(we))*ge}},fe=H(de);Q.angularTickLayout!==fe&&(ie["angular-axis"].selectAll("."+me._id+"tick").remove(),Q.angularTickLayout=fe);var be,ke=pe?[1/0].concat(me.tickvals||[]).map(function(ze){return o.tickText(me,ze,!0,!1)}):o.calcTicks(me);if(pe&&(ke[0].text="∞",ke[0].fontSize*=1.75),X.gridshape==="linear"?(be=ke.map(xe),M.angleDelta(be[0],be[1])<0&&(be=be.slice().reverse())):be=null,Q.vangles=be,me.type==="category"&&(ke=ke.filter(function(ze){return M.isAngleInsideSector(xe(ze),Q.sectorInRad)})),me.visible){var Le=me.ticks==="inside"?-1:1,Be=(me.linewidth||1)/2;o.drawTicks(re,me,{vals:ke,layer:ie["angular-axis"],path:"M"+Le*Be+",0h"+Le*me.ticklen,transFn:Me,crisp:!1}),o.drawGrid(re,me,{vals:ke,layer:ie["angular-grid"],path:Se,transFn:M.noop,crisp:!1}),o.drawLabels(re,me,{vals:ke,layer:ie["angular-axis"],repositionOnUpdate:!0,transFn:_e,labelFns:ae})}te(ie["angular-line"].select("path"),de.showline,{d:Q.pathSubplot(),transform:f(ce,ye)}).attr("stroke-width",de.linewidth).call(l.stroke,de.linecolor)},q.updateFx=function(Z,X){this.gd._context.staticPlot||(!this.isSmith&&(this.updateAngularDrag(Z),this.updateRadialDrag(Z,X,0),this.updateRadialDrag(Z,X,1)),this.updateHoverAndMainDrag(Z))},q.updateHoverAndMainDrag=function(Z){var X,Q,re=this,ie=re.isSmith,oe=re.gd,ue=re.layers,ce=Z._zoomlayer,ye=R.MINZOOM,de=R.OFFEDGE,me=re.radius,pe=re.innerRadius,xe=re.cx,Pe=re.cy,_e=re.cxx,Me=re.cyy,Se=re.sectorInRad,Ce=re.vangles,ae=re.radialAxis,fe=I.clampTiny,be=I.findXYatLength,ke=I.findEnclosingVertexAngles,Le=R.cornerHalfWidth,Be=R.cornerLen/2,ze=m.makeDragger(ue,"path","maindrag",Z.dragmode===!1?"none":"crosshair");d.select(ze).attr("d",re.pathSubplot()).attr("transform",f(xe,Pe)),ze.onmousemove=function(Re){y.hover(oe,Re,re.id),oe._fullLayout._lasthover=ze,oe._fullLayout._hoversubplot=re.id},ze.onmouseout=function(Re){oe._dragging||w.unhover(oe,Re)};var je,ge,we,Ee,Ve,$e,Ye,st,ot,ht={element:ze,gd:oe,subplot:re.id,plotinfo:{id:re.id,xaxis:re.xaxis,yaxis:re.yaxis},xaxes:[re.xaxis],yaxes:[re.yaxis]};function bt(Re,Ne){return Math.sqrt(Re*Re+Ne*Ne)}function Et(Re,Ne){return bt(Re-_e,Ne-Me)}function kt(Re,Ne){return Math.atan2(Me-Ne,Re-_e)}function xt(Re,Ne){return[Re*Math.cos(Ne),Re*Math.sin(-Ne)]}function Ft(Re,Ne){if(Re===0)return re.pathSector(2*Le);var Qe=Be/Re,ut=Ne-Qe,dt=Ne+Qe,_t=Math.max(0,Math.min(Re,me)),It=_t-Le,Lt=_t+Le;return"M"+xt(It,ut)+"A"+[It,It]+" 0,0,0 "+xt(It,dt)+"L"+xt(Lt,dt)+"A"+[Lt,Lt]+" 0,0,1 "+xt(Lt,ut)+"Z"}function Ot(Re,Ne,Qe){if(Re===0)return re.pathSector(2*Le);var ut,dt,_t=xt(Re,Ne),It=xt(Re,Qe),Lt=fe((_t[0]+It[0])/2),yt=fe((_t[1]+It[1])/2);if(Lt&&yt){var Pt=yt/Lt,wt=-1/Pt,Rt=be(Le,Pt,Lt,yt);ut=be(Be,wt,Rt[0][0],Rt[0][1]),dt=be(Be,wt,Rt[1][0],Rt[1][1])}else{var Nt,Yt;yt?(Nt=Be,Yt=Le):(Nt=Le,Yt=Be),ut=[[Lt-Nt,yt-Yt],[Lt+Nt,yt-Yt]],dt=[[Lt-Nt,yt+Yt],[Lt+Nt,yt+Yt]]}return"M"+ut.join("L")+"L"+dt.reverse().join("L")+"Z"}function Bt(Re,Ne){return Ne=Math.max(Math.min(Ne,me),pe),Reye?(Re-1&&Re===1&&k(Ne,oe,[re.xaxis],[re.yaxis],re.id,ht),Qe.indexOf("event")>-1&&y.click(oe,Ne,re.id)}ht.prepFn=function(Re,Ne,Qe){var ut=oe._fullLayout.dragmode,dt=ze.getBoundingClientRect();oe._fullLayout._calcInverseTransform(oe);var _t=oe._fullLayout._invTransform;X=oe._fullLayout._invScaleX,Q=oe._fullLayout._invScaleY;var It=M.apply3DTransform(_t)(Ne-dt.left,Qe-dt.top);if(je=It[0],ge=It[1],Ce){var Lt=I.findPolygonOffset(me,Se[0],Se[1],Ce);je+=_e+Lt[0],ge+=Me+Lt[1]}switch(ut){case"zoom":ht.clickFn=ft,ie||(ht.moveFn=Ce?Je:Vt,ht.doneFn=qe,function(){we=null,Ee=null,Ve=re.pathSubplot(),$e=!1;var yt=oe._fullLayout[re.id];Ye=g(yt.bgcolor).getLuminance(),(st=m.makeZoombox(ce,Ye,xe,Pe,Ve)).attr("fill-rule","evenodd"),ot=m.makeCorners(ce,xe,Pe),E(oe)}());break;case"select":case"lasso":_(Re,Ne,Qe,ht,ut)}},w.init(ht)},q.updateRadialDrag=function(Z,X,Q){var re=this,ie=re.gd,oe=re.layers,ue=re.radius,ce=re.innerRadius,ye=re.cx,de=re.cy,me=re.radialAxis,pe=R.radialDragBoxSize,xe=pe/2;if(me.visible){var Pe,_e,Me,Se=$(re.radialAxisAngle),Ce=me._rl,ae=Ce[0],fe=Ce[1],be=Ce[Q],ke=.75*(Ce[1]-Ce[0])/(1-re.getHole(X))/ue;Q?(Pe=ye+(ue+xe)*Math.cos(Se),_e=de-(ue+xe)*Math.sin(Se),Me="radialdrag"):(Pe=ye+(ce-xe)*Math.cos(Se),_e=de-(ce-xe)*Math.sin(Se),Me="radialdrag-inner");var Le,Be,ze,je=m.makeRectDragger(oe,Me,"crosshair",-xe,-xe,pe,pe),ge={element:je,gd:ie};Z.dragmode===!1&&(ge.dragmode=!1),te(d.select(je),me.visible&&ce0==(Q?ze>ae:zec?function(S){return S<=0}:function(S){return S>=0};a.c2g=function(S){var _=a.c2l(S)-s;return(y(_)?_:0)+w},a.g2c=function(S){return a.l2c(S+s-w)},a.g2p=function(S){return S*m},a.c2p=function(S){return a.g2p(a.c2g(S))}}})(v,f);break;case"angularaxis":(function(a,u){var o=a.type;if(o==="linear"){var s=a.d2c,c=a.c2d;a.d2c=function(h,m){return function(w,y){return y==="degrees"?i(w):w}(s(h),m)},a.c2d=function(h,m){return c(function(w,y){return y==="degrees"?M(w):w}(h,m))}}a.makeCalcdata=function(h,m){var w,y,S=h[m],_=h._length,k=function(b){return a.d2c(b,h.thetaunit)};if(S){if(d.isTypedArray(S)&&o==="linear"){if(_===S.length)return S;if(S.subarray)return S.subarray(0,_)}for(w=new Array(_),y=0;y<_;y++)w[y]=k(S[y])}else{var E=m+"0",x="d"+m,A=E in h?k(h[E]):0,L=h[x]?k(h[x]):(a.period||2*Math.PI)/_;for(w=new Array(_),y=0;y<_;y++)w[y]=A+y*L}return w},a.setGeometry=function(){var h,m,w,y,S=u.sector,_=S.map(i),k={clockwise:-1,counterclockwise:1}[a.direction],E=i(a.rotation),x=function(R){return k*R+E},A=function(R){return(R-E)/k};switch(o){case"linear":m=h=d.identity,y=i,w=M,a.range=d.isFullCircle(_)?[S[0],S[0]+360]:_.map(A).map(M);break;case"category":var L=a._categories.length,b=a.period?Math.max(a.period,L):L;b===0&&(b=1),m=y=function(R){return 2*R*Math.PI/b},h=w=function(R){return R*b/Math.PI/2},a.range=[0,b]}a.c2g=function(R){return x(m(R))},a.g2c=function(R){return h(A(R))},a.t2g=function(R){return x(y(R))},a.g2t=function(R){return w(A(R))}}})(v,f)}}},39779:function(T){T.exports={attr:"subplot",name:"smith",axisNames:["realaxis","imaginaryaxis"],axisName2dataArray:{imaginaryaxis:"imag",realaxis:"real"}}},23893:function(T){function p(i){return i<0?-1:i>0?1:0}function t(i){var M=i[0],v=i[1];if(!isFinite(M)||!isFinite(v))return[1,0];var f=(M+1)*(M+1)+v*v;return[(M*M+v*v-1)/f,2*v/f]}function d(i,M){var v=M[0],f=M[1];return[v*i.radius+i.cx,-f*i.radius+i.cy]}function g(i,M){return M*i.radius}T.exports={smith:t,reactanceArc:function(i,M,v,f){var l=d(i,t([v,M])),a=l[0],u=l[1],o=d(i,t([f,M])),s=o[0],c=o[1];if(M===0)return["M"+a+","+u,"L"+s+","+c].join(" ");var h=g(i,1/Math.abs(M));return["M"+a+","+u,"A"+h+","+h+" 0 0,"+(M<0?1:0)+" "+s+","+c].join(" ")},resistanceArc:function(i,M,v,f){var l=g(i,1/(M+1)),a=d(i,t([M,v])),u=a[0],o=a[1],s=d(i,t([M,f])),c=s[0],h=s[1];if(p(v)!==p(f)){var m=d(i,t([M,0]));return["M"+u+","+o,"A"+l+","+l+" 0 0,"+(00){for(var f=[],l=0;l=A&&(b.min=0,R.min=0,I.min=0,m.aaxis&&delete m.aaxis.min,m.baxis&&delete m.baxis.min,m.caxis&&delete m.caxis.min)}function h(m,w,y,S){var _=o[w._name];function k(R,I){return i.coerce(m,w,_,R,I)}k("uirevision",S.uirevision),w.type="linear";var E=k("color"),x=E!==_.color.dflt?E:y.font.color,A=w._name.charAt(0).toUpperCase(),L="Component "+A,b=k("title.text",L);w._hovertitle=b===L?b:A,i.coerceFont(k,"title.font",{family:y.font.family,size:i.bigFont(y.font.size),color:x}),k("min"),a(m,w,k,"linear"),f(m,w,k,"linear"),v(m,w,k,"linear"),l(m,w,k,{outerTicks:!0}),k("showticklabels")&&(i.coerceFont(k,"tickfont",{family:y.font.family,size:y.font.size,color:x}),k("tickangle"),k("tickformat")),u(m,w,k,{dfltColor:E,bgColor:y.bgColor,blend:60,showLine:!0,showGrid:!0,noZeroLine:!0,attributes:_}),k("hoverformat"),k("layer")}T.exports=function(m,w,y){M(m,w,y,{type:"ternary",attributes:o,handleDefaults:c,font:w.font,paper_bgcolor:w.paper_bgcolor})}},64380:function(T,p,t){var d=t(39898),g=t(84267),i=t(73972),M=t(71828),v=M.strTranslate,f=M._,l=t(7901),a=t(91424),u=t(21994),o=t(1426).extendFlat,s=t(74875),c=t(89298),h=t(28569),m=t(30211),w=t(64505),y=w.freeMode,S=w.rectMode,_=t(92998),k=t(47322).prepSelect,E=t(47322).selectOnClick,x=t(47322).clearOutline,A=t(47322).clearSelectionsCache,L=t(85555);function b(j,$){this.id=j.id,this.graphDiv=j.graphDiv,this.init($),this.makeFramework($),this.aTickLayout=null,this.bTickLayout=null,this.cTickLayout=null}T.exports=b;var R=b.prototype;R.init=function(j){this.container=j._ternarylayer,this.defs=j._defs,this.layoutId=j._uid,this.traceHash={},this.layers={}},R.plot=function(j,$){var U=this,G=$[U.id],q=$._size;U._hasClipOnAxisFalse=!1;for(var H=0;HI*ce?q=(H=ce)*I:H=(q=ue)/I,ne=ie*q/ue,te=oe*H/ce,U=$.l+$.w*Q-q/2,G=$.t+$.h*(1-re)-H/2,Z.x0=U,Z.y0=G,Z.w=q,Z.h=H,Z.sum=ye,Z.xaxis={type:"linear",range:[de+2*pe-ye,ye-de-2*me],domain:[Q-ne/2,Q+ne/2],_id:"x"},u(Z.xaxis,Z.graphDiv._fullLayout),Z.xaxis.setScale(),Z.xaxis.isPtWithinRange=function(Le){return Le.a>=Z.aaxis.range[0]&&Le.a<=Z.aaxis.range[1]&&Le.b>=Z.baxis.range[1]&&Le.b<=Z.baxis.range[0]&&Le.c>=Z.caxis.range[1]&&Le.c<=Z.caxis.range[0]},Z.yaxis={type:"linear",range:[de,ye-me-pe],domain:[re-te/2,re+te/2],_id:"y"},u(Z.yaxis,Z.graphDiv._fullLayout),Z.yaxis.setScale(),Z.yaxis.isPtWithinRange=function(){return!0};var xe=Z.yaxis.domain[0],Pe=Z.aaxis=o({},j.aaxis,{range:[de,ye-me-pe],side:"left",tickangle:(+j.aaxis.tickangle||0)-30,domain:[xe,xe+te*I],anchor:"free",position:0,_id:"y",_length:q});u(Pe,Z.graphDiv._fullLayout),Pe.setScale();var _e=Z.baxis=o({},j.baxis,{range:[ye-de-pe,me],side:"bottom",domain:Z.xaxis.domain,anchor:"free",position:0,_id:"x",_length:q});u(_e,Z.graphDiv._fullLayout),_e.setScale();var Me=Z.caxis=o({},j.caxis,{range:[ye-de-me,pe],side:"right",tickangle:(+j.caxis.tickangle||0)+30,domain:[xe,xe+te*I],anchor:"free",position:0,_id:"y",_length:q});u(Me,Z.graphDiv._fullLayout),Me.setScale();var Se="M"+U+","+(G+H)+"h"+q+"l-"+q/2+",-"+H+"Z";Z.clipDef.select("path").attr("d",Se),Z.layers.plotbg.select("path").attr("d",Se);var Ce="M0,"+H+"h"+q+"l-"+q/2+",-"+H+"Z";Z.clipDefRelative.select("path").attr("d",Ce);var ae=v(U,G);Z.plotContainer.selectAll(".scatterlayer,.maplayer").attr("transform",ae),Z.clipDefRelative.select("path").attr("transform",null);var fe=v(U-_e._offset,G+H);Z.layers.baxis.attr("transform",fe),Z.layers.bgrid.attr("transform",fe);var be=v(U+q/2,G)+"rotate(30)"+v(0,-Pe._offset);Z.layers.aaxis.attr("transform",be),Z.layers.agrid.attr("transform",be);var ke=v(U+q/2,G)+"rotate(-30)"+v(0,-Me._offset);Z.layers.caxis.attr("transform",ke),Z.layers.cgrid.attr("transform",ke),Z.drawAxes(!0),Z.layers.aline.select("path").attr("d",Pe.showline?"M"+U+","+(G+H)+"l"+q/2+",-"+H:"M0,0").call(l.stroke,Pe.linecolor||"#000").style("stroke-width",(Pe.linewidth||0)+"px"),Z.layers.bline.select("path").attr("d",_e.showline?"M"+U+","+(G+H)+"h"+q:"M0,0").call(l.stroke,_e.linecolor||"#000").style("stroke-width",(_e.linewidth||0)+"px"),Z.layers.cline.select("path").attr("d",Me.showline?"M"+(U+q/2)+","+G+"l"+q/2+","+H:"M0,0").call(l.stroke,Me.linecolor||"#000").style("stroke-width",(Me.linewidth||0)+"px"),Z.graphDiv._context.staticPlot||Z.initInteractions(),a.setClipUrl(Z.layers.frontplot,Z._hasClipOnAxisFalse?null:Z.clipId,Z.graphDiv)},R.drawAxes=function(j){var $=this,U=$.graphDiv,G=$.id.substr(7)+"title",q=$.layers,H=$.aaxis,ne=$.baxis,te=$.caxis;if($.drawAx(H),$.drawAx(ne),$.drawAx(te),j){var Z=Math.max(H.showticklabels?H.tickfont.size/2:0,(te.showticklabels?.75*te.tickfont.size:0)+(te.ticks==="outside"?.87*te.ticklen:0)),X=(ne.showticklabels?ne.tickfont.size:0)+(ne.ticks==="outside"?ne.ticklen:0)+3;q["a-title"]=_.draw(U,"a"+G,{propContainer:H,propName:$.id+".aaxis.title",placeholder:f(U,"Click to enter Component A title"),attributes:{x:$.x0+$.w/2,y:$.y0-H.title.font.size/3-Z,"text-anchor":"middle"}}),q["b-title"]=_.draw(U,"b"+G,{propContainer:ne,propName:$.id+".baxis.title",placeholder:f(U,"Click to enter Component B title"),attributes:{x:$.x0-X,y:$.y0+$.h+.83*ne.title.font.size+X,"text-anchor":"middle"}}),q["c-title"]=_.draw(U,"c"+G,{propContainer:te,propName:$.id+".caxis.title",placeholder:f(U,"Click to enter Component C title"),attributes:{x:$.x0+$.w+X,y:$.y0+$.h+.83*te.title.font.size+X,"text-anchor":"middle"}})}},R.drawAx=function(j){var $,U=this,G=U.graphDiv,q=j._name,H=q.charAt(0),ne=j._id,te=U.layers[q],Z=H+"tickLayout",X=($=j).ticks+String($.ticklen)+String($.showticklabels);U[Z]!==X&&(te.selectAll("."+ne+"tick").remove(),U[Z]=X),j.setScale();var Q=c.calcTicks(j),re=c.clipEnds(j,Q),ie=c.makeTransTickFn(j),oe=c.getTickSigns(j)[2],ue=M.deg2rad(30),ce=oe*(j.linewidth||1)/2,ye=oe*j.ticklen,de=U.w,me=U.h,pe=H==="b"?"M0,"+ce+"l"+Math.sin(ue)*ye+","+Math.cos(ue)*ye:"M"+ce+",0l"+Math.cos(ue)*ye+","+-Math.sin(ue)*ye,xe={a:"M0,0l"+me+",-"+de/2,b:"M0,0l-"+de/2+",-"+me,c:"M0,0l-"+me+","+de/2}[H];c.drawTicks(G,j,{vals:j.ticks==="inside"?re:Q,layer:te,path:pe,transFn:ie,crisp:!1}),c.drawGrid(G,j,{vals:re,layer:U.layers[H+"grid"],path:xe,transFn:ie,crisp:!1}),c.drawLabels(G,j,{vals:Q,layer:te,transFn:ie,labelFns:c.makeLabelFns(j,0,30)})};var O=L.MINZOOM/2+.87,z="m-0.87,.5h"+O+"v3h-"+(O+5.2)+"l"+(O/2+2.6)+",-"+(.87*O+4.5)+"l2.6,1.5l-"+O/2+","+.87*O+"Z",F="m0.87,.5h-"+O+"v3h"+(O+5.2)+"l-"+(O/2+2.6)+",-"+(.87*O+4.5)+"l-2.6,1.5l"+O/2+","+.87*O+"Z",B="m0,1l"+O/2+","+.87*O+"l2.6,-1.5l-"+(O/2+2.6)+",-"+(.87*O+4.5)+"l-"+(O/2+2.6)+","+(.87*O+4.5)+"l2.6,1.5l"+O/2+",-"+.87*O+"Z",N=!0;function W(j){d.select(j).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}R.clearOutline=function(){A(this.dragOptions),x(this.dragOptions.gd)},R.initInteractions=function(){var j,$,U,G,q,H,ne,te,Z,X,Q,re,ie=this,oe=ie.layers.plotbg.select("path").node(),ue=ie.graphDiv,ce=ue._fullLayout._zoomlayer;function ye(Ce){var ae={};return ae[ie.id+".aaxis.min"]=Ce.a,ae[ie.id+".baxis.min"]=Ce.b,ae[ie.id+".caxis.min"]=Ce.c,ae}function de(Ce,ae){var fe=ue._fullLayout.clickmode;W(ue),Ce===2&&(ue.emit("plotly_doubleclick",null),i.call("_guiRelayout",ue,ye({a:0,b:0,c:0}))),fe.indexOf("select")>-1&&Ce===1&&E(ae,ue,[ie.xaxis],[ie.yaxis],ie.id,ie.dragOptions),fe.indexOf("event")>-1&&m.click(ue,ae,ie.id)}function me(Ce,ae){return 1-ae/ie.h}function pe(Ce,ae){return 1-(Ce+(ie.h-ae)/Math.sqrt(3))/ie.w}function xe(Ce,ae){return(Ce-(ie.h-ae)/Math.sqrt(3))/ie.w}function Pe(Ce,ae){var fe=U+Ce*j,be=G+ae*$,ke=Math.max(0,Math.min(1,me(0,G),me(0,be))),Le=Math.max(0,Math.min(1,pe(U,G),pe(fe,be))),Be=Math.max(0,Math.min(1,xe(U,G),xe(fe,be))),ze=(ke/2+Be)*ie.w,je=(1-ke/2-Le)*ie.w,ge=(ze+je)/2,we=je-ze,Ee=(1-ke)*ie.h,Ve=Ee-we/I;we.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),re.transition().style("opacity",1).duration(200),X=!0),ue.emit("plotly_relayouting",ye(ne))}function _e(){W(ue),ne!==q&&(i.call("_guiRelayout",ue,ye(ne)),N&&ue.data&&ue._context.showTips&&(M.notifier(f(ue,"Double-click to zoom back out"),"long"),N=!1))}function Me(Ce,ae){var fe=Ce/ie.xaxis._m,be=ae/ie.yaxis._m,ke=[(ne={a:q.a-be,b:q.b+(fe+be)/2,c:q.c-(fe-be)/2}).a,ne.b,ne.c].sort(M.sorterAsc),Le=ke.indexOf(ne.a),Be=ke.indexOf(ne.b),ze=ke.indexOf(ne.c);ke[0]<0&&(ke[1]+ke[0]/2<0?(ke[2]+=ke[0]+ke[1],ke[0]=ke[1]=0):(ke[2]+=ke[0]/2,ke[1]+=ke[0]/2,ke[0]=0),ne={a:ke[Le],b:ke[Be],c:ke[ze]},ae=(q.a-ne.a)*ie.yaxis._m,Ce=(q.c-ne.c-q.b+ne.b)*ie.xaxis._m);var je=v(ie.x0+Ce,ie.y0+ae);ie.plotContainer.selectAll(".scatterlayer,.maplayer").attr("transform",je);var ge=v(-Ce,-ae);ie.clipDefRelative.select("path").attr("transform",ge),ie.aaxis.range=[ne.a,ie.sum-ne.b-ne.c],ie.baxis.range=[ie.sum-ne.a-ne.c,ne.b],ie.caxis.range=[ie.sum-ne.a-ne.b,ne.c],ie.drawAxes(!1),ie._hasClipOnAxisFalse&&ie.plotContainer.select(".scatterlayer").selectAll(".trace").call(a.hideOutsideRangePoints,ie),ue.emit("plotly_relayouting",ye(ne))}function Se(){i.call("_guiRelayout",ue,ye(ne))}this.dragOptions={element:oe,gd:ue,plotinfo:{id:ie.id,domain:ue._fullLayout[ie.id].domain,xaxis:ie.xaxis,yaxis:ie.yaxis},subplot:ie.id,prepFn:function(Ce,ae,fe){ie.dragOptions.xaxes=[ie.xaxis],ie.dragOptions.yaxes=[ie.yaxis],j=ue._fullLayout._invScaleX,$=ue._fullLayout._invScaleY;var be=ie.dragOptions.dragmode=ue._fullLayout.dragmode;y(be)?ie.dragOptions.minDrag=1:ie.dragOptions.minDrag=void 0,be==="zoom"?(ie.dragOptions.moveFn=Pe,ie.dragOptions.clickFn=de,ie.dragOptions.doneFn=_e,function(ke,Le,Be){var ze=oe.getBoundingClientRect();U=Le-ze.left,G=Be-ze.top,ue._fullLayout._calcInverseTransform(ue);var je=ue._fullLayout._invTransform,ge=M.apply3DTransform(je)(U,G);U=ge[0],G=ge[1],q={a:ie.aaxis.range[0],b:ie.baxis.range[1],c:ie.caxis.range[1]},ne=q,H=ie.aaxis.range[1]-q.a,te=g(ie.graphDiv._fullLayout[ie.id].bgcolor).getLuminance(),Z="M0,"+ie.h+"L"+ie.w/2+", 0L"+ie.w+","+ie.h+"Z",X=!1,Q=ce.append("path").attr("class","zoombox").attr("transform",v(ie.x0,ie.y0)).style({fill:te>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("d",Z),re=ce.append("path").attr("class","zoombox-corners").attr("transform",v(ie.x0,ie.y0)).style({fill:l.background,stroke:l.defaultLine,"stroke-width":1,opacity:0}).attr("d","M0,0Z"),ie.clearOutline(ue)}(0,ae,fe)):be==="pan"?(ie.dragOptions.moveFn=Me,ie.dragOptions.clickFn=de,ie.dragOptions.doneFn=Se,q={a:ie.aaxis.range[0],b:ie.baxis.range[1],c:ie.caxis.range[1]},ne=q,ie.clearOutline(ue)):(S(be)||y(be))&&k(Ce,ae,fe,ie.dragOptions,be)}},oe.onmousemove=function(Ce){m.hover(ue,Ce,ie.id),ue._fullLayout._lasthover=oe,ue._fullLayout._hoversubplot=ie.id},oe.onmouseout=function(Ce){ue._dragging||h.unhover(ue,Ce)},h.init(this.dragOptions)}},73972:function(T,p,t){var d=t(47769),g=t(64213),i=t(75138),M=t(41965),v=t(24401).addStyleRule,f=t(1426),l=t(9012),a=t(10820),u=f.extendFlat,o=f.extendDeepAll;function s(E){var x=E.name,A=E.categories,L=E.meta;if(p.modules[x])d.log("Type "+x+" already registered");else{p.subplotsRegistry[E.basePlotModule.name]||function(N){var W=N.name;if(p.subplotsRegistry[W])d.log("Plot type "+W+" already registered.");else for(var j in w(N),p.subplotsRegistry[W]=N,p.componentsRegistry)_(j,N.name)}(E.basePlotModule);for(var b={},R=0;R-1&&(h[w[a]].title={text:""});for(a=0;a")!==-1?"":R.html(O).text()});return R.remove(),I}(L)).replace(/&(?!\w+;|\#[0-9]+;| \#x[0-9A-F]+;)/g,"&")).replace(a,"'"),g.isIE()&&(L=(L=(L=L.replace(/"/gi,"'")).replace(/(\('#)([^']*)('\))/gi,'("#$2")')).replace(/(\\')/gi,'"')),L}},75341:function(T,p,t){var d=t(71828);T.exports=function(g,i){for(var M=0;MI+b||!d(R))}for(var z=0;za))return v}return f!==void 0?f:M.dflt},p.coerceColor=function(M,v,f){return g(v).isValid()?v:f!==void 0?f:M.dflt},p.coerceEnumerated=function(M,v,f){return M.coerceNumber&&(v=+v),M.values.indexOf(v)!==-1?v:f!==void 0?f:M.dflt},p.getValue=function(M,v){var f;return Array.isArray(M)?v0?ye+=de:y<0&&(ye-=de)}return ye}function te(ce){var ye=y,de=ce.b,me=ne(ce);return d.inbox(de-ye,me-ye,O+(me-ye)/(me-de)-1)}var Z=o[S+"a"],X=o[_+"a"];x=Math.abs(Z.r2c(Z.range[1])-Z.r2c(Z.range[0]));var Q=d.getDistanceFunction(h,k,E,function(ce){return(k(ce)+E(ce))/2});if(d.getClosest(A,Q,o),o.index!==!1&&A[o.index].p!==l){B||(U=function(ce){return Math.min(N(ce),ce.p-b.bargroupwidth/2)},G=function(ce){return Math.max(W(ce),ce.p+b.bargroupwidth/2)});var re=A[o.index],ie=L.base?re.b+re.s:re.s;o[_+"0"]=o[_+"1"]=X.c2p(re[_],!0),o[_+"LabelVal"]=ie;var oe=b.extents[b.extents.round(re.p)];o[S+"0"]=Z.c2p(R?U(re):oe[0],!0),o[S+"1"]=Z.c2p(R?G(re):oe[1],!0);var ue=re.orig_p!==void 0;return o[S+"LabelVal"]=ue?re.orig_p:re.p,o.labelLabel=f(Z,o[S+"LabelVal"],L[S+"hoverformat"]),o.valueLabel=f(X,o[_+"LabelVal"],L[_+"hoverformat"]),o.baseLabel=f(X,re.b,L[_+"hoverformat"]),o.spikeDistance=(function(ce){var ye=y,de=ce.b,me=ne(ce);return d.inbox(de-ye,me-ye,z+(me-ye)/(me-de)-1)}(re)+function(ce){return q(N(ce),W(ce),z)}(re))/2,o[S+"Spike"]=Z.c2p(re.p,!0),M(re,L,o),o.hovertemplate=L.hovertemplate,o}}function u(o,s){var c=s.mcc||o.marker.color,h=s.mlcc||o.marker.line.color,m=v(o,s);return i.opacity(c)?c:i.opacity(h)&&m?h:void 0}T.exports={hoverPoints:function(o,s,c,h,m){var w=a(o,s,c,h,m);if(w){var y=w.cd,S=y[0].trace,_=y[w.index];return w.color=u(S,_),g.getComponentMethod("errorbars","hoverInfo")(_,S,w),[w]}},hoverOnBars:a,getTraceColor:u}},60822:function(T,p,t){T.exports={attributes:t(1486),layoutAttributes:t(43641),supplyDefaults:t(90769).supplyDefaults,crossTraceDefaults:t(90769).crossTraceDefaults,supplyLayoutDefaults:t(13957),calc:t(92290),crossTraceCalc:t(11661).crossTraceCalc,colorbar:t(4898),arraysToCalcdata:t(75341),plot:t(17295).plot,style:t(16688).style,styleOnSelect:t(16688).styleOnSelect,hoverPoints:t(95423).hoverPoints,eventData:t(58065),selectPoints:t(81974),moduleType:"trace",name:"bar",basePlotModule:t(93612),categories:["bar-like","cartesian","svg","bar","oriented","errorBarsOK","showLegend","zoomScale"],animatable:!0,meta:{}}},43641:function(T){T.exports={barmode:{valType:"enumerated",values:["stack","group","overlay","relative"],dflt:"group",editType:"calc"},barnorm:{valType:"enumerated",values:["","fraction","percent"],dflt:"",editType:"calc"},bargap:{valType:"number",min:0,max:1,editType:"calc"},bargroupgap:{valType:"number",min:0,max:1,dflt:0,editType:"calc"}}},13957:function(T,p,t){var d=t(73972),g=t(89298),i=t(71828),M=t(43641);T.exports=function(v,f,l){function a(S,_){return i.coerce(v,f,M,S,_)}for(var u=!1,o=!1,s=!1,c={},h=a("barmode"),m=0;m0}function R(z){return z==="auto"?0:z}function I(z,F){var B=Math.PI/180*F,N=Math.abs(Math.sin(B)),W=Math.abs(Math.cos(B));return{x:z.width*W+z.height*N,y:z.width*N+z.height*W}}function O(z,F,B,N,W,j){var $=!!j.isHorizontal,U=!!j.constrained,G=j.angle||0,q=j.anchor||"end",H=q==="end",ne=q==="start",te=((j.leftToRight||0)+1)/2,Z=1-te,X=W.width,Q=W.height,re=Math.abs(F-z),ie=Math.abs(N-B),oe=re>2*k&&ie>2*k?k:0;re-=2*oe,ie-=2*oe;var ue=R(G);G!=="auto"||X<=re&&Q<=ie||!(X>re||Q>ie)||(X>ie||Q>re)&&X.01?Be:function(we,Ee,Ve){return Ve&&we===Ee?we:Math.abs(we-Ee)>=2?Be(we):we>Ee?Math.ceil(we):Math.floor(we)};Ce=ze(Ce,ae,oe),ae=ze(ae,Ce,oe),fe=ze(fe,be,!oe),be=ze(be,fe,!oe)}var je=L(i.ensureSingle(Me,"path"),G,W,j);if(je.style("vector-effect",q?"none":"non-scaling-stroke").attr("d",isNaN((ae-Ce)*(be-fe))||ke&&z._context.staticPlot?"M0,0Z":"M"+Ce+","+fe+"V"+be+"H"+ae+"V"+fe+"Z").call(f.setClipUrl,F.layerClipId,z),!G.uniformtext.mode&&ue){var ge=f.makePointStyleFns(Z);f.singlePointStyle(pe,je,Z,ge,z)}(function(we,Ee,Ve,$e,Ye,st,ot,ht,bt,Et,kt){var xt,Ft=Ee.xaxis,Ot=Ee.yaxis,Bt=we._fullLayout;function qt(Qt,rn,xn){return i.ensureSingle(Qt,"text").text(rn).attr({class:"bartext bartext-"+xt,"text-anchor":"middle","data-notex":1}).call(f.font,xn).call(M.convertToTspans,we)}var Vt=$e[0].trace,Ke=Vt.orientation==="h",Je=function(Qt,rn,xn,un,An){var Yn,kn=rn[0].trace;return Yn=kn.texttemplate?function(sn,Tn,dn,pn,Dn){var In=Tn[0].trace,jn=i.castOption(In,dn,"texttemplate");if(!jn)return"";var Gn,qn,lr,rr,Sr=In.type==="histogram",yr=In.type==="waterfall",or=In.type==="funnel",vr=In.orientation==="h";function _r($n){return a(rr,rr.c2l($n),!0).text}vr?(Gn="y",qn=Dn,lr="x",rr=pn):(Gn="x",qn=pn,lr="y",rr=Dn);var Kt,bn=Tn[dn],Rn={};Rn.label=bn.p,Rn.labelLabel=Rn[Gn+"Label"]=(Kt=bn.p,a(qn,qn.c2l(Kt),!0).text);var Ln=i.castOption(In,bn.i,"text");(Ln===0||Ln)&&(Rn.text=Ln),Rn.value=bn.s,Rn.valueLabel=Rn[lr+"Label"]=_r(bn.s);var Un={};_(Un,In,bn.i),(Sr||Un.x===void 0)&&(Un.x=vr?Rn.value:Rn.label),(Sr||Un.y===void 0)&&(Un.y=vr?Rn.label:Rn.value),(Sr||Un.xLabel===void 0)&&(Un.xLabel=vr?Rn.valueLabel:Rn.labelLabel),(Sr||Un.yLabel===void 0)&&(Un.yLabel=vr?Rn.labelLabel:Rn.valueLabel),yr&&(Rn.delta=+bn.rawS||bn.s,Rn.deltaLabel=_r(Rn.delta),Rn.final=bn.v,Rn.finalLabel=_r(Rn.final),Rn.initial=Rn.final-Rn.delta,Rn.initialLabel=_r(Rn.initial)),or&&(Rn.value=bn.s,Rn.valueLabel=_r(Rn.value),Rn.percentInitial=bn.begR,Rn.percentInitialLabel=i.formatPercent(bn.begR),Rn.percentPrevious=bn.difR,Rn.percentPreviousLabel=i.formatPercent(bn.difR),Rn.percentTotal=bn.sumR,Rn.percenTotalLabel=i.formatPercent(bn.sumR));var Kn=i.castOption(In,bn.i,"customdata");return Kn&&(Rn.customdata=Kn),i.texttemplateString(jn,Rn,sn._d3locale,Un,Rn,In._meta||{})}(Qt,rn,xn,un,An):kn.textinfo?function(sn,Tn,dn,pn){var Dn=sn[0].trace,In=Dn.orientation==="h",jn=Dn.type==="waterfall",Gn=Dn.type==="funnel";function qn(Kn){return a(In?dn:pn,+Kn,!0).text}var lr,rr,Sr=Dn.textinfo,yr=sn[Tn],or=Sr.split("+"),vr=[],_r=function(Kn){return or.indexOf(Kn)!==-1};if(_r("label")&&vr.push((rr=sn[Tn].p,a(In?pn:dn,rr,!0).text)),_r("text")&&((lr=i.castOption(Dn,yr.i,"text"))===0||lr)&&vr.push(lr),jn){var Kt=+yr.rawS||yr.s,bn=yr.v,Rn=bn-Kt;_r("initial")&&vr.push(qn(Rn)),_r("delta")&&vr.push(qn(Kt)),_r("final")&&vr.push(qn(bn))}if(Gn){_r("value")&&vr.push(qn(yr.s));var Ln=0;_r("percent initial")&&Ln++,_r("percent previous")&&Ln++,_r("percent total")&&Ln++;var Un=Ln>1;_r("percent initial")&&(lr=i.formatPercent(yr.begR),Un&&(lr+=" of initial"),vr.push(lr)),_r("percent previous")&&(lr=i.formatPercent(yr.difR),Un&&(lr+=" of previous"),vr.push(lr)),_r("percent total")&&(lr=i.formatPercent(yr.sumR),Un&&(lr+=" of total"),vr.push(lr))}return vr.join("
")}(rn,xn,un,An):h.getValue(kn.text,xn),h.coerceString(y,Yn)}(Bt,$e,Ye,Ft,Ot);xt=function(Qt,rn){var xn=h.getValue(Qt.textposition,rn);return h.coerceEnumerated(S,xn)}(Vt,Ye);var qe=Et.mode==="stack"||Et.mode==="relative",nt=$e[Ye],ft=!qe||nt._outmost;if(Je&&xt!=="none"&&(!nt.isBlank&&st!==ot&&ht!==bt||xt!=="auto"&&xt!=="inside")){var Re=Bt.font,Ne=c.getBarColor($e[Ye],Vt),Qe=c.getInsideTextFont(Vt,Ye,Re,Ne),ut=c.getOutsideTextFont(Vt,Ye,Re),dt=Ve.datum();Ke?Ft.type==="log"&&dt.s0<=0&&(st=Ft.range[0]0&&yt>0&&(Lt<=wt&&yt<=Rt||Lt<=Rt&&yt<=wt||(Ke?wt>=Lt*(Rt/yt):Rt>=yt*(wt/Lt)))?xt="inside":(xt="outside",_t.remove(),_t=null)):xt="inside"),!_t){var Nt=(_t=qt(Ve,Je,Pt=i.ensureUniformFontSize(we,xt==="outside"?ut:Qe))).attr("transform");if(_t.attr("transform",""),Lt=(It=f.bBox(_t.node())).width,yt=It.height,_t.attr("transform",Nt),Lt<=0||yt<=0)return void _t.remove()}var Yt,Wt=Vt.textangle;Yt=xt==="outside"?function(Qt,rn,xn,un,An,Yn){var kn,sn=!!Yn.isHorizontal,Tn=!!Yn.constrained,dn=Yn.angle||0,pn=An.width,Dn=An.height,In=Math.abs(rn-Qt),jn=Math.abs(un-xn);kn=sn?jn>2*k?k:0:In>2*k?k:0;var Gn=1;Tn&&(Gn=sn?Math.min(1,jn/Dn):Math.min(1,In/pn));var qn=R(dn),lr=I(An,qn),rr=(sn?lr.x:lr.y)/2,Sr=(An.left+An.right)/2,yr=(An.top+An.bottom)/2,or=(Qt+rn)/2,vr=(xn+un)/2,_r=0,Kt=0,bn=sn?A(rn,Qt):A(xn,un);return sn?(or=rn-bn*kn,_r=bn*rr):(vr=un+bn*kn,Kt=-bn*rr),{textX:Sr,textY:yr,targetX:or,targetY:vr,anchorX:_r,anchorY:Kt,scale:Gn,rotate:qn}}(st,ot,ht,bt,It,{isHorizontal:Ke,constrained:Vt.constraintext==="both"||Vt.constraintext==="outside",angle:Wt}):O(st,ot,ht,bt,It,{isHorizontal:Ke,constrained:Vt.constraintext==="both"||Vt.constraintext==="inside",angle:Wt,anchor:Vt.insidetextanchor}),Yt.fontSize=Pt.size,o(Vt.type==="histogram"?"bar":Vt.type,Yt,Bt),nt.transform=Yt;var Xt=L(_t,Bt,Et,kt);i.setTransormAndDisplay(Xt,Yt)}else Ve.select("text").remove()})(z,F,Me,ne,xe,Ce,ae,fe,be,W,j),F.layerClipId&&f.hideOutsideRangePoint(pe,Me.select("text"),$,U,Z.xcalendar,Z.ycalendar)});var me=Z.cliponaxis===!1;f.setClipUrl(te,me?null:F.layerClipId,z)});l.getComponentMethod("errorbars","plot")(z,H,F,W)},toMoveInsideBar:O}},81974:function(T){function p(t,d,g,i,M){var v=d.c2p(i?t.s0:t.p0,!0),f=d.c2p(i?t.s1:t.p1,!0),l=g.c2p(i?t.p0:t.s0,!0),a=g.c2p(i?t.p1:t.s1,!0);return M?[(v+f)/2,(l+a)/2]:i?[f,(l+a)/2]:[(v+f)/2,a]}T.exports=function(t,d){var g,i=t.cd,M=t.xaxis,v=t.yaxis,f=i[0].trace,l=f.type==="funnel",a=f.orientation==="h",u=[];if(d===!1)for(g=0;g1||L.bargap===0&&L.bargroupgap===0&&!b[0].trace.marker.line.width)&&d.select(this).attr("shape-rendering","crispEdges")}),x.selectAll("g.points").each(function(b){c(d.select(this),b[0].trace,E)}),v.getComponentMethod("errorbars","style")(x)},styleTextPoints:h,styleOnSelect:function(E,x,A){var L=x[0].trace;L.selectedpoints?function(b,R,I){i.selectedPointStyle(b.selectAll("path"),R),function(O,z,F){O.each(function(B){var N,W=d.select(this);if(B.selected){N=M.ensureUniformFontSize(F,m(W,B,z,F));var j=z.selected.textfont&&z.selected.textfont.color;j&&(N.color=j),i.font(W,N)}else i.selectedTextStyle(W,z)})}(b.selectAll("text"),R,I)}(A,L,E):(c(A,L,E),v.getComponentMethod("errorbars","style")(A))},getInsideTextFont:y,getOutsideTextFont:S,getBarColor:k,resizeText:f}},98340:function(T,p,t){var d=t(7901),g=t(52075).hasColorscale,i=t(1586),M=t(71828).coercePattern;T.exports=function(v,f,l,a,u){var o=l("marker.color",a),s=g(v,"marker");s&&i(v,f,u,l,{prefix:"marker.",cLetter:"c"}),l("marker.line.color",d.defaultLine),g(v,"marker.line")&&i(v,f,u,l,{prefix:"marker.line.",cLetter:"c"}),l("marker.line.width"),l("marker.opacity"),M(l,"marker.pattern",o,s),l("selected.marker.color"),l("unselected.marker.color")}},72597:function(T,p,t){var d=t(39898),g=t(71828);function i(M){return"_"+M+"Text_minsize"}T.exports={recordMinTextSize:function(M,v,f){if(f.uniformtext.mode){var l=i(M),a=f.uniformtext.minsize,u=v.scale*v.fontSize;v.hide=uh.range[1]&&(E+=Math.PI),d.getClosest(o,function(L){return y(k,E,[L.rp0,L.rp1],[L.thetag0,L.thetag1],w)?S+Math.min(1,Math.abs(L.thetag1-L.thetag0)/_)-1+(L.rp1-k)/(L.rp1-L.rp0)-1:1/0},l),l.index!==!1){var x=o[l.index];l.x0=l.x1=x.ct[0],l.y0=l.y1=x.ct[1];var A=g.extendFlat({},x,{r:x.s,theta:x.p});return M(x,s,l),v(A,s,c,l),l.hovertemplate=s.hovertemplate,l.color=i(s,x),l.xLabelVal=l.yLabelVal=void 0,x.s<0&&(l.idealAlign="left"),[l]}}},23381:function(T,p,t){T.exports={moduleType:"trace",name:"barpolar",basePlotModule:t(23580),categories:["polar","bar","showLegend"],attributes:t(55023),layoutAttributes:t(40151),supplyDefaults:t(6135),supplyLayoutDefaults:t(19860),calc:t(74692).calc,crossTraceCalc:t(74692).crossTraceCalc,plot:t(60173),colorbar:t(4898),formatLabels:t(98608),style:t(16688).style,styleOnSelect:t(16688).styleOnSelect,hoverPoints:t(27379),selectPoints:t(81974),meta:{}}},40151:function(T){T.exports={barmode:{valType:"enumerated",values:["stack","overlay"],dflt:"stack",editType:"calc"},bargap:{valType:"number",dflt:.1,min:0,max:1,editType:"calc"}}},19860:function(T,p,t){var d=t(71828),g=t(40151);T.exports=function(i,M,v){var f,l={};function a(s,c){return d.coerce(i[f]||{},M[f],g,s,c)}for(var u=0;u0?(L=x,b=A):(L=A,b=x);var R=[v.findEnclosingVertexAngles(L,y.vangles)[0],(L+b)/2,v.findEnclosingVertexAngles(b,y.vangles)[1]];return v.pathPolygonAnnulus(k,E,L,b,R,S,_)}:function(k,E,x,A){return i.pathAnnulus(k,E,x,A,S,_)}}(l),w=l.layers.frontplot.select("g.barlayer");i.makeTraceGroups(w,a,"trace bars").each(function(){var y=d.select(this),S=i.ensureSingle(y,"g","points").selectAll("g.point").data(i.identity);S.enter().append("g").style("vector-effect",u?"none":"non-scaling-stroke").style("stroke-miterlimit",2).classed("point",!0),S.exit().remove(),S.each(function(_){var k,E=d.select(this),x=_.rp0=c.c2p(_.s0),A=_.rp1=c.c2p(_.s1),L=_.thetag0=h.c2g(_.p0),b=_.thetag1=h.c2g(_.p1);if(g(x)&&g(A)&&g(L)&&g(b)&&x!==A&&L!==b){var R=c.c2g(_.s1),I=(L+b)/2;_.ct=[o.c2p(R*Math.cos(I)),s.c2p(R*Math.sin(I))],k=m(x,A,L,b)}else k="M0,0Z";i.ensureSingle(E,"path").attr("d",k)}),M.setClipUrl(y,l._hasClipOnAxisFalse?l.clipIds.forTraces:null,f)})}},53522:function(T,p,t){var d=t(82196),g=t(1486),i=t(22399),M=t(12663).axisHoverFormat,v=t(5386).fF,f=t(1426).extendFlat,l=d.marker,a=l.line;T.exports={y:{valType:"data_array",editType:"calc+clearAxisTypes"},x:{valType:"data_array",editType:"calc+clearAxisTypes"},x0:{valType:"any",editType:"calc+clearAxisTypes"},y0:{valType:"any",editType:"calc+clearAxisTypes"},dx:{valType:"number",editType:"calc"},dy:{valType:"number",editType:"calc"},xperiod:d.xperiod,yperiod:d.yperiod,xperiod0:d.xperiod0,yperiod0:d.yperiod0,xperiodalignment:d.xperiodalignment,yperiodalignment:d.yperiodalignment,xhoverformat:M("x"),yhoverformat:M("y"),name:{valType:"string",editType:"calc+clearAxisTypes"},q1:{valType:"data_array",editType:"calc+clearAxisTypes"},median:{valType:"data_array",editType:"calc+clearAxisTypes"},q3:{valType:"data_array",editType:"calc+clearAxisTypes"},lowerfence:{valType:"data_array",editType:"calc"},upperfence:{valType:"data_array",editType:"calc"},notched:{valType:"boolean",editType:"calc"},notchwidth:{valType:"number",min:0,max:.5,dflt:.25,editType:"calc"},notchspan:{valType:"data_array",editType:"calc"},boxpoints:{valType:"enumerated",values:["all","outliers","suspectedoutliers",!1],editType:"calc"},jitter:{valType:"number",min:0,max:1,editType:"calc"},pointpos:{valType:"number",min:-2,max:2,editType:"calc"},boxmean:{valType:"enumerated",values:[!0,"sd",!1],editType:"calc"},mean:{valType:"data_array",editType:"calc"},sd:{valType:"data_array",editType:"calc"},orientation:{valType:"enumerated",values:["v","h"],editType:"calc+clearAxisTypes"},quartilemethod:{valType:"enumerated",values:["linear","exclusive","inclusive"],dflt:"linear",editType:"calc"},width:{valType:"number",min:0,dflt:0,editType:"calc"},marker:{outliercolor:{valType:"color",dflt:"rgba(0, 0, 0, 0)",editType:"style"},symbol:f({},l.symbol,{arrayOk:!1,editType:"plot"}),opacity:f({},l.opacity,{arrayOk:!1,dflt:1,editType:"style"}),angle:f({},l.angle,{arrayOk:!1,editType:"calc"}),size:f({},l.size,{arrayOk:!1,editType:"calc"}),color:f({},l.color,{arrayOk:!1,editType:"style"}),line:{color:f({},a.color,{arrayOk:!1,dflt:i.defaultLine,editType:"style"}),width:f({},a.width,{arrayOk:!1,dflt:0,editType:"style"}),outliercolor:{valType:"color",editType:"style"},outlierwidth:{valType:"number",min:0,dflt:1,editType:"style"},editType:"style"},editType:"plot"},line:{color:{valType:"color",editType:"style"},width:{valType:"number",min:0,dflt:2,editType:"style"},editType:"plot"},fillcolor:d.fillcolor,whiskerwidth:{valType:"number",min:0,max:1,dflt:.5,editType:"calc"},offsetgroup:g.offsetgroup,alignmentgroup:g.alignmentgroup,selected:{marker:d.selected.marker,editType:"style"},unselected:{marker:d.unselected.marker,editType:"style"},text:f({},d.text,{}),hovertext:f({},d.hovertext,{}),hovertemplate:v({}),hoveron:{valType:"flaglist",flags:["boxes","points"],dflt:"boxes+points",editType:"style"}}},48518:function(T,p,t){var d=t(92770),g=t(89298),i=t(42973),M=t(71828),v=t(50606).BADNUM,f=M._;T.exports=function(y,S){var _,k,E,x,A,L,b,R=y._fullLayout,I=g.getFromId(y,S.xaxis||"x"),O=g.getFromId(y,S.yaxis||"y"),z=[],F=S.type==="violin"?"_numViolins":"_numBoxes";S.orientation==="h"?(E=I,x="x",A=O,L="y",b=!!S.yperiodalignment):(E=O,x="y",A=I,L="x",b=!!S.xperiodalignment);var B,N,W,j,$,U,G=function(Ee,Ve,$e,Ye){var st,ot=Ve+"0"in Ee;if(Ve in Ee||ot&&"d"+Ve in Ee){var ht=$e.makeCalcdata(Ee,Ve);return[i(Ee,$e,Ve,ht).vals,ht]}st=ot?Ee[Ve+"0"]:"name"in Ee&&($e.type==="category"||d(Ee.name)&&["linear","log"].indexOf($e.type)!==-1||M.isDateTime(Ee.name)&&$e.type==="date")?Ee.name:Ye;for(var bt=$e.type==="multicategory"?$e.r2c_just_indices(st):$e.d2c(st,0,Ee[Ve+"calendar"]),Et=Ee._length,kt=new Array(Et),xt=0;xtB.uf};if(S._hasPreCompStats){var Q=S[x],re=function(Ee){return E.d2c((S[Ee]||[])[_])},ie=1/0,oe=-1/0;for(_=0;_=B.q1&&B.q3>=B.med){var ce=re("lowerfence");B.lf=ce!==v&&ce<=B.q1?ce:s(B,W,j);var ye=re("upperfence");B.uf=ye!==v&&ye>=B.q3?ye:c(B,W,j);var de=re("mean");B.mean=de!==v?de:j?M.mean(W,j):(B.q1+B.q3)/2;var me=re("sd");B.sd=de!==v&&me>=0?me:j?M.stdev(W,j,B.mean):B.q3-B.q1,B.lo=h(B),B.uo=m(B);var pe=re("notchspan");pe=pe!==v&&pe>0?pe:w(B,j),B.ln=B.med-pe,B.un=B.med+pe;var xe=B.lf,Pe=B.uf;S.boxpoints&&W.length&&(xe=Math.min(xe,W[0]),Pe=Math.max(Pe,W[j-1])),S.notched&&(xe=Math.min(xe,B.ln),Pe=Math.max(Pe,B.un)),B.min=xe,B.max=Pe}else{var _e;M.warn(["Invalid input - make sure that q1 <= median <= q3","q1 = "+B.q1,"median = "+B.med,"q3 = "+B.q3].join(` -`)),_e=B.med!==v?B.med:B.q1!==v?B.q3!==v?(B.q1+B.q3)/2:B.q1:B.q3!==v?B.q3:0,B.med=_e,B.q1=B.q3=_e,B.lf=B.uf=_e,B.mean=B.sd=_e,B.ln=B.un=_e,B.min=B.max=_e}ie=Math.min(ie,B.min),oe=Math.max(oe,B.max),B.pts2=N.filter(X),z.push(B)}}S._extremes[E._id]=g.findExtremes(E,[ie,oe],{padded:!0})}else{var Me=E.makeCalcdata(S,x),Se=function(Ee,Ve){for(var $e=Ee.length,Ye=new Array($e+1),st=0;st<$e;st++)Ye[st]=Ee[st]-Ve;return Ye[$e]=Ee[$e-1]+Ve,Ye}(te,Z),Ce=te.length,ae=function(Ee){for(var Ve=new Array(Ee),$e=0;$e=0&&fe0){var je,ge;(B={}).pos=B[L]=te[_],N=B.pts=ae[_].sort(u),j=(W=B[x]=N.map(o)).length,B.min=W[0],B.max=W[j-1],B.mean=M.mean(W,j),B.sd=M.stdev(W,j,B.mean),B.med=M.interp(W,.5),j%2&&(Be||ze)?(Be?(je=W.slice(0,j/2),ge=W.slice(j/2+1)):ze&&(je=W.slice(0,j/2+1),ge=W.slice(j/2)),B.q1=M.interp(je,.5),B.q3=M.interp(ge,.5)):(B.q1=M.interp(W,.25),B.q3=M.interp(W,.75)),B.lf=s(B,W,j),B.uf=c(B,W,j),B.lo=h(B),B.uo=m(B);var we=w(B,j);B.ln=B.med-we,B.un=B.med+we,be=Math.min(be,B.ln),ke=Math.max(ke,B.un),B.pts2=N.filter(X),z.push(B)}S._extremes[E._id]=g.findExtremes(E,S.notched?Me.concat([be,ke]):Me,{padded:!0})}return function(Ee,Ve){if(M.isArrayOrTypedArray(Ve.selectedpoints))for(var $e=0;$e0?(z[0].t={num:R[F],dPos:Z,posLetter:L,valLetter:x,labels:{med:f(y,"median:"),min:f(y,"min:"),q1:f(y,"q1:"),q3:f(y,"q3:"),max:f(y,"max:"),mean:S.boxmean==="sd"?f(y,"mean ± σ:"):f(y,"mean:"),lf:f(y,"lower fence:"),uf:f(y,"upper fence:")}},R[F]++,z):[{t:{empty:!0}}]};var l={text:"tx",hovertext:"htx"};function a(y,S,_){for(var k in l)M.isArrayOrTypedArray(S[k])&&(Array.isArray(_)?M.isArrayOrTypedArray(S[k][_[0]])&&(y[l[k]]=S[k][_[0]][_[1]]):y[l[k]]=S[k][_])}function u(y,S){return y.v-S.v}function o(y){return y.v}function s(y,S,_){return _===0?y.q1:Math.min(y.q1,S[Math.min(M.findBin(2.5*y.q1-1.5*y.q3,S,!0)+1,_-1)])}function c(y,S,_){return _===0?y.q3:Math.max(y.q3,S[Math.max(M.findBin(2.5*y.q3-1.5*y.q1,S),0)])}function h(y){return 4*y.q1-3*y.q3}function m(y){return 4*y.q3-3*y.q1}function w(y,S){return S===0?0:1.57*(y.q3-y.q1)/Math.sqrt(S)}},37188:function(T,p,t){var d=t(89298),g=t(71828),i=t(99082).getAxisGroup,M=["v","h"];function v(f,l,a,u){var o,s,c,h=l.calcdata,m=l._fullLayout,w=u._id,y=w.charAt(0),S=[],_=0;for(o=0;o1,L=1-m[f+"gap"],b=1-m[f+"groupgap"];for(o=0;o0){var ue=N.pointpos,ce=N.jitter,ye=N.marker.size/2,de=0;ue+ce>=0&&((de=ie*(ue+ce))>F?(oe=!0,Q=ye,Z=de):de>ne&&(Q=ye,Z=F)),de<=F&&(Z=F);var me=0;ue-ce<=0&&((me=-ie*(ue-ce))>B?(oe=!0,re=ye,X=me):me>te&&(re=ye,X=B)),me<=B&&(X=B)}else Z=F,X=B;var pe=new Array(c.length);for(s=0;s0?(A="v",L=R>0?Math.min(O,I):Math.min(I)):R>0?(A="h",L=Math.min(O)):L=0;if(L){s._length=L;var j=c("orientation",A);s._hasPreCompStats?j==="v"&&R===0?(c("x0",0),c("dx",1)):j==="h"&&b===0&&(c("y0",0),c("dy",1)):j==="v"&&R===0?c("x0"):j==="h"&&b===0&&c("y0"),g.getComponentMethod("calendars","handleTraceDefaults")(o,s,["x","y"],h)}else s.visible=!1}function u(o,s,c,h){var m=h.prefix,w=d.coerce2(o,s,l,"marker.outliercolor"),y=c("marker.line.outliercolor"),S="outliers";s._hasPreCompStats?S="all":(w||y)&&(S="suspectedoutliers");var _=c(m+"points",S);_?(c("jitter",_==="all"?.3:0),c("pointpos",_==="all"?-1.5:0),c("marker.symbol"),c("marker.opacity"),c("marker.size"),c("marker.angle"),c("marker.color",s.line.color),c("marker.line.color"),c("marker.line.width"),_==="suspectedoutliers"&&(c("marker.line.outliercolor",s.marker.color),c("marker.line.outlierwidth")),c("selected.marker.color"),c("unselected.marker.color"),c("selected.marker.size"),c("unselected.marker.size"),c("text"),c("hovertext")):delete s.marker;var k=c("hoveron");k!=="all"&&k.indexOf("points")===-1||c("hovertemplate"),d.coerceSelectionMarkerOpacity(s,c)}T.exports={supplyDefaults:function(o,s,c,h){function m(x,A){return d.coerce(o,s,l,x,A)}if(a(o,s,m,h),s.visible!==!1){M(o,s,h,m),m("xhoverformat"),m("yhoverformat");var w=s._hasPreCompStats;w&&(m("lowerfence"),m("upperfence")),m("line.color",(o.marker||{}).color||c),m("line.width"),m("fillcolor",i.addOpacity(s.line.color,.5));var y=!1;if(w){var S=m("mean"),_=m("sd");S&&S.length&&(y=!0,_&&_.length&&(y="sd"))}m("boxmean",y),m("whiskerwidth"),m("width"),m("quartilemethod");var k=!1;if(w){var E=m("notchspan");E&&E.length&&(k=!0)}else d.validate(o.notchwidth,l.notchwidth)&&(k=!0);m("notched",k)&&m("notchwidth"),u(o,s,m,{prefix:"box"})}},crossTraceDefaults:function(o,s){var c,h;function m(S){return d.coerce(h._input,h,l,S)}for(var w=0;w_.lo&&(W.so=!0)}return x});S.enter().append("path").classed("point",!0),S.exit().remove(),S.call(i.translatePoints,s,c)}function f(l,a,u,o){var s,c,h=a.val,m=a.pos,w=!!m.rangebreaks,y=o.bPos,S=o.bPosPxOffset||0,_=u.boxmean||(u.meanline||{}).visible;Array.isArray(o.bdPos)?(s=o.bdPos[0],c=o.bdPos[1]):(s=o.bdPos,c=o.bdPos);var k=l.selectAll("path.mean").data(u.type==="box"&&u.boxmean||u.type==="violin"&&u.box.visible&&u.meanline.visible?g.identity:[]);k.enter().append("path").attr("class","mean").style({fill:"none","vector-effect":"non-scaling-stroke"}),k.exit().remove(),k.each(function(E){var x=m.c2l(E.pos+y,!0),A=m.l2p(x-s)+S,L=m.l2p(x+c)+S,b=w?(A+L)/2:m.l2p(x)+S,R=h.c2p(E.mean,!0),I=h.c2p(E.mean-E.sd,!0),O=h.c2p(E.mean+E.sd,!0);u.orientation==="h"?d.select(this).attr("d","M"+R+","+A+"V"+L+(_==="sd"?"m0,0L"+I+","+b+"L"+R+","+A+"L"+O+","+b+"Z":"")):d.select(this).attr("d","M"+A+","+R+"H"+L+(_==="sd"?"m0,0L"+b+","+I+"L"+A+","+R+"L"+b+","+O+"Z":""))})}T.exports={plot:function(l,a,u,o){var s=l._context.staticPlot,c=a.xaxis,h=a.yaxis;g.makeTraceGroups(o,u,"trace boxes").each(function(m){var w,y,S=d.select(this),_=m[0],k=_.t,E=_.trace;k.wdPos=k.bdPos*E.whiskerwidth,E.visible!==!0||k.empty?S.remove():(E.orientation==="h"?(w=h,y=c):(w=c,y=h),M(S,{pos:w,val:y},E,k,s),v(S,{x:c,y:h},E,k),f(S,{pos:w,val:y},E,k))})},plotBoxAndWhiskers:M,plotPoints:v,plotBoxMean:f}},24626:function(T){T.exports=function(p,t){var d,g,i=p.cd,M=p.xaxis,v=p.yaxis,f=[];if(t===!1)for(d=0;d=10)return null;for(var v=1/0,f=-1/0,l=i.length,a=0;a0?Math.floor:Math.ceil,j=B>0?Math.ceil:Math.floor,$=B>0?Math.min:Math.max,U=B>0?Math.max:Math.min,G=W(z+N),q=j(F-N),H=[[c=O(z)]];for(f=G;f*B=0;i--)M[u-i]=p[o][i],v[u-i]=t[o][i];for(f.push({x:M,y:v,bicubic:l}),i=o,M=[],v=[];i>=0;i--)M[o-i]=p[i][0],v[o-i]=t[i][0];return f.push({x:M,y:v,bicubic:a}),f}},20347:function(T,p,t){var d=t(89298),g=t(1426).extendFlat;T.exports=function(i,M,v){var f,l,a,u,o,s,c,h,m,w,y,S,_,k,E=i["_"+M],x=i[M+"axis"],A=x._gridlines=[],L=x._minorgridlines=[],b=x._boundarylines=[],R=i["_"+v],I=i[v+"axis"];x.tickmode==="array"&&(x.tickvals=E.slice());var O=i._xctrl,z=i._yctrl,F=O[0].length,B=O.length,N=i._a.length,W=i._b.length;d.prepTicks(x),x.tickmode==="array"&&delete x.tickvals;var j=x.smoothing?3:1;function $(G){var q,H,ne,te,Z,X,Q,re,ie,oe,ue,ce,ye=[],de=[],me={};if(M==="b")for(H=i.b2j(G),ne=Math.floor(Math.max(0,Math.min(W-2,H))),te=H-ne,me.length=W,me.crossLength=N,me.xy=function(pe){return i.evalxy([],pe,H)},me.dxy=function(pe,xe){return i.dxydi([],pe,ne,xe,te)},q=0;q0&&(ie=i.dxydi([],q-1,ne,0,te),ye.push(Z[0]+ie[0]/3),de.push(Z[1]+ie[1]/3),oe=i.dxydi([],q-1,ne,1,te),ye.push(re[0]-oe[0]/3),de.push(re[1]-oe[1]/3)),ye.push(re[0]),de.push(re[1]),Z=re;else for(q=i.a2i(G),X=Math.floor(Math.max(0,Math.min(N-2,q))),Q=q-X,me.length=N,me.crossLength=W,me.xy=function(pe){return i.evalxy([],q,pe)},me.dxy=function(pe,xe){return i.dxydj([],X,pe,Q,xe)},H=0;H0&&(ue=i.dxydj([],X,H-1,Q,0),ye.push(Z[0]+ue[0]/3),de.push(Z[1]+ue[1]/3),ce=i.dxydj([],X,H-1,Q,1),ye.push(re[0]-ce[0]/3),de.push(re[1]-ce[1]/3)),ye.push(re[0]),de.push(re[1]),Z=re;return me.axisLetter=M,me.axis=x,me.crossAxis=I,me.value=G,me.constvar=v,me.index=h,me.x=ye,me.y=de,me.smoothing=I.smoothing,me}function U(G){var q,H,ne,te,Z,X=[],Q=[],re={};if(re.length=E.length,re.crossLength=R.length,M==="b")for(ne=Math.max(0,Math.min(W-2,G)),Z=Math.min(1,Math.max(0,G-ne)),re.xy=function(ie){return i.evalxy([],ie,G)},re.dxy=function(ie,oe){return i.dxydi([],ie,ne,oe,Z)},q=0;qE.length-1||A.push(g(U(l),{color:x.gridcolor,width:x.gridwidth,dash:x.griddash}));for(h=s;hE.length-1||y<0||y>E.length-1))for(S=E[a],_=E[y],f=0;fE[E.length-1]||L.push(g($(w),{color:x.minorgridcolor,width:x.minorgridwidth,dash:x.minorgriddash}));x.startline&&b.push(g(U(0),{color:x.startlinecolor,width:x.startlinewidth})),x.endline&&b.push(g(U(E.length-1),{color:x.endlinecolor,width:x.endlinewidth}))}else{for(u=5e-15,s=(o=[Math.floor((E[E.length-1]-x.tick0)/x.dtick*(1+u)),Math.ceil((E[0]-x.tick0)/x.dtick/(1+u))].sort(function(G,q){return G-q}))[0],c=o[1],h=s;h<=c;h++)m=x.tick0+x.dtick*h,A.push(g($(m),{color:x.gridcolor,width:x.gridwidth,dash:x.griddash}));for(h=s-1;hE[E.length-1]||L.push(g($(w),{color:x.minorgridcolor,width:x.minorgridwidth,dash:x.minorgriddash}));x.startline&&b.push(g($(E[0]),{color:x.startlinecolor,width:x.startlinewidth})),x.endline&&b.push(g($(E[E.length-1]),{color:x.endlinecolor,width:x.endlinewidth}))}}},83311:function(T,p,t){var d=t(89298),g=t(1426).extendFlat;T.exports=function(i,M){var v,f,l,a=M._labels=[],u=M._gridlines;for(v=0;vi.length&&(g=g.slice(0,i.length)):g=[],v=0;v90&&(c-=180,l=-l),{angle:c,flip:l,p:p.c2p(g,t,d),offsetMultplier:a}}},89740:function(T,p,t){var d=t(39898),g=t(91424),i=t(27669),M=t(67961),v=t(11651),f=t(63893),l=t(71828),a=l.strRotate,u=l.strTranslate,o=t(18783);function s(y,S,_,k,E,x,A){var L="const-"+E+"-lines",b=_.selectAll("."+L).data(x);b.enter().append("path").classed(L,!0).style("vector-effect",A?"none":"non-scaling-stroke"),b.each(function(R){var I=R,O=I.x,z=I.y,F=i([],O,y.c2p),B=i([],z,S.c2p),N="M"+M(F,B,I.smoothing);d.select(this).attr("d",N).style("stroke-width",I.width).style("stroke",I.color).style("stroke-dasharray",g.dashStyle(I.dash,I.width)).style("fill","none")}),b.exit().remove()}function c(y,S,_,k,E,x,A,L){var b=x.selectAll("text."+L).data(A);b.enter().append("text").classed(L,!0);var R=0,I={};return b.each(function(O,z){var F;if(O.axis.tickangle==="auto")F=v(k,S,_,O.xy,O.dxy);else{var B=(O.axis.tickangle+180)*Math.PI/180;F=v(k,S,_,O.xy,[Math.cos(B),Math.sin(B)])}z||(I={angle:F.angle,flip:F.flip});var N=(O.endAnchor?-1:1)*F.flip,W=d.select(this).attr({"text-anchor":N>0?"start":"end","data-notex":1}).call(g.font,O.font).text(O.text).call(f.convertToTspans,y),j=g.bBox(this);W.attr("transform",u(F.p[0],F.p[1])+a(F.angle)+u(O.axis.labelpadding*N,.3*j.height)),R=Math.max(R,j.width+O.axis.labelpadding)}),b.exit().remove(),I.maxExtent=R,I}T.exports=function(y,S,_,k){var E=y._context.staticPlot,x=S.xaxis,A=S.yaxis,L=y._fullLayout._clips;l.makeTraceGroups(k,_,"trace").each(function(b){var R=d.select(this),I=b[0],O=I.trace,z=O.aaxis,F=O.baxis,B=l.ensureSingle(R,"g","minorlayer"),N=l.ensureSingle(R,"g","majorlayer"),W=l.ensureSingle(R,"g","boundarylayer"),j=l.ensureSingle(R,"g","labellayer");R.style("opacity",O.opacity),s(x,A,N,0,"a",z._gridlines,!0),s(x,A,N,0,"b",F._gridlines,!0),s(x,A,B,0,"a",z._minorgridlines,!0),s(x,A,B,0,"b",F._minorgridlines,!0),s(x,A,W,0,"a-boundary",z._boundarylines,E),s(x,A,W,0,"b-boundary",F._boundarylines,E);var $=c(y,x,A,O,0,j,z._labels,"a-label"),U=c(y,x,A,O,0,j,F._labels,"b-label");(function(G,q,H,ne,te,Z,X,Q){var re,ie,oe,ue,ce=l.aggNums(Math.min,null,H.a),ye=l.aggNums(Math.max,null,H.a),de=l.aggNums(Math.min,null,H.b),me=l.aggNums(Math.max,null,H.b);re=.5*(ce+ye),ie=de,oe=H.ab2xy(re,ie,!0),ue=H.dxyda_rough(re,ie),X.angle===void 0&&l.extendFlat(X,v(H,te,Z,oe,H.dxydb_rough(re,ie))),w(G,q,H,0,oe,ue,H.aaxis,te,Z,X,"a-title"),re=ce,ie=.5*(de+me),oe=H.ab2xy(re,ie,!0),ue=H.dxydb_rough(re,ie),Q.angle===void 0&&l.extendFlat(Q,v(H,te,Z,oe,H.dxyda_rough(re,ie))),w(G,q,H,0,oe,ue,H.baxis,te,Z,Q,"b-title")})(y,j,O,0,x,A,$,U),function(G,q,H,ne,te){var Z,X,Q,re,ie=H.select("#"+G._clipPathId);ie.size()||(ie=H.append("clipPath").classed("carpetclip",!0));var oe=l.ensureSingle(ie,"path","carpetboundary"),ue=q.clipsegments,ce=[];for(re=0;re90&&W<270,$=d.select(this);$.text(A.title.text).call(f.convertToTspans,y),j&&(F=(-f.lineCount($)+m)*h*N-F),$.attr("transform",u(B.p[0],B.p[1])+a(B.angle)+u(0,F)).attr("text-anchor","middle").call(g.font,A.title.font)}),z.exit().remove()}},11435:function(T,p,t){var d=t(35509),g=t(65888).findBin,i=t(45664),M=t(20349),v=t(54495),f=t(73057);T.exports=function(l){var a=l._a,u=l._b,o=a.length,s=u.length,c=l.aaxis,h=l.baxis,m=a[0],w=a[o-1],y=u[0],S=u[s-1],_=a[a.length-1]-a[0],k=u[u.length-1]-u[0],E=_*d.RELATIVE_CULL_TOLERANCE,x=k*d.RELATIVE_CULL_TOLERANCE;m-=E,w+=E,y-=x,S+=x,l.isVisible=function(A,L){return A>m&&Ay&&Lw||LS},l.setScale=function(){var A=l._x,L=l._y,b=i(l._xctrl,l._yctrl,A,L,c.smoothing,h.smoothing);l._xctrl=b[0],l._yctrl=b[1],l.evalxy=M([l._xctrl,l._yctrl],o,s,c.smoothing,h.smoothing),l.dxydi=v([l._xctrl,l._yctrl],c.smoothing,h.smoothing),l.dxydj=f([l._xctrl,l._yctrl],c.smoothing,h.smoothing)},l.i2a=function(A){var L=Math.max(0,Math.floor(A[0]),o-2),b=A[0]-L;return(1-b)*a[L]+b*a[L+1]},l.j2b=function(A){var L=Math.max(0,Math.floor(A[1]),o-2),b=A[1]-L;return(1-b)*u[L]+b*u[L+1]},l.ij2ab=function(A){return[l.i2a(A[0]),l.j2b(A[1])]},l.a2i=function(A){var L=Math.max(0,Math.min(g(A,a),o-2)),b=a[L],R=a[L+1];return Math.max(0,Math.min(o-1,L+(A-b)/(R-b)))},l.b2j=function(A){var L=Math.max(0,Math.min(g(A,u),s-2)),b=u[L],R=u[L+1];return Math.max(0,Math.min(s-1,L+(A-b)/(R-b)))},l.ab2ij=function(A){return[l.a2i(A[0]),l.b2j(A[1])]},l.i2c=function(A,L){return l.evalxy([],A,L)},l.ab2xy=function(A,L,b){if(!b&&(Aa[o-1]|Lu[s-1]))return[!1,!1];var R=l.a2i(A),I=l.b2j(L),O=l.evalxy([],R,I);if(b){var z,F,B,N,W=0,j=0,$=[];Aa[o-1]?(z=o-2,F=1,W=(A-a[o-1])/(a[o-1]-a[o-2])):F=R-(z=Math.max(0,Math.min(o-2,Math.floor(R)))),Lu[s-1]?(B=s-2,N=1,j=(L-u[s-1])/(u[s-1]-u[s-2])):N=I-(B=Math.max(0,Math.min(s-2,Math.floor(I)))),W&&(l.dxydi($,z,B,F,N),O[0]+=$[0]*W,O[1]+=$[1]*W),j&&(l.dxydj($,z,B,F,N),O[0]+=$[0]*j,O[1]+=$[1]*j)}return O},l.c2p=function(A,L,b){return[L.c2p(A[0]),b.c2p(A[1])]},l.p2x=function(A,L,b){return[L.p2c(A[0]),b.p2c(A[1])]},l.dadi=function(A){var L=Math.max(0,Math.min(a.length-2,A));return a[L+1]-a[L]},l.dbdj=function(A){var L=Math.max(0,Math.min(u.length-2,A));return u[L+1]-u[L]},l.dxyda=function(A,L,b,R){var I=l.dxydi(null,A,L,b,R),O=l.dadi(A,b);return[I[0]/O,I[1]/O]},l.dxydb=function(A,L,b,R){var I=l.dxydj(null,A,L,b,R),O=l.dbdj(L,R);return[I[0]/O,I[1]/O]},l.dxyda_rough=function(A,L,b){var R=_*(b||.1),I=l.ab2xy(A+R,L,!0),O=l.ab2xy(A-R,L,!0);return[.5*(I[0]-O[0])/R,.5*(I[1]-O[1])/R]},l.dxydb_rough=function(A,L,b){var R=k*(b||.1),I=l.ab2xy(A,L+R,!0),O=l.ab2xy(A,L-R,!0);return[.5*(I[0]-O[0])/R,.5*(I[1]-O[1])/R]},l.dpdx=function(A){return A._m},l.dpdy=function(A){return A._m}}},72505:function(T,p,t){var d=t(71828);T.exports=function(g,i,M){var v,f,l,a=[],u=[],o=g[0].length,s=g.length;function c(G,q){var H,ne=0,te=0;return G>0&&(H=g[q][G-1])!==void 0&&(te++,ne+=H),G0&&(H=g[q-1][G])!==void 0&&(te++,ne+=H),q0&&f0&&v1e-5);return d.log("Smoother converged to",R,"after",I,"iterations"),g}},19237:function(T,p,t){var d=t(71828).isArray1D;T.exports=function(g,i,M){var v=M("x"),f=v&&v.length,l=M("y"),a=l&&l.length;if(!f&&!a)return!1;if(i._cheater=!v,f&&!d(v)||a&&!d(l))i._length=null;else{var u=f?v.length:1/0;a&&(u=Math.min(u,l.length)),i.a&&i.a.length&&(u=Math.min(u,i.a.length)),i.b&&i.b.length&&(u=Math.min(u,i.b.length)),i._length=u}return!0}},69568:function(T,p,t){var d=t(5386).fF,g=t(19316),i=t(50693),M=t(9012),v=t(22399).defaultLine,f=t(1426).extendFlat,l=g.marker.line;T.exports=f({locations:{valType:"data_array",editType:"calc"},locationmode:g.locationmode,z:{valType:"data_array",editType:"calc"},geojson:f({},g.geojson,{}),featureidkey:g.featureidkey,text:f({},g.text,{}),hovertext:f({},g.hovertext,{}),marker:{line:{color:f({},l.color,{dflt:v}),width:f({},l.width,{dflt:1}),editType:"calc"},opacity:{valType:"number",arrayOk:!0,min:0,max:1,dflt:1,editType:"style"},editType:"calc"},selected:{marker:{opacity:g.selected.marker.opacity,editType:"plot"},editType:"plot"},unselected:{marker:{opacity:g.unselected.marker.opacity,editType:"plot"},editType:"plot"},hoverinfo:f({},M.hoverinfo,{editType:"calc",flags:["location","z","text","name"]}),hovertemplate:d(),showlegend:f({},M.showlegend,{dflt:!1})},i("",{cLetter:"z",editTypeOverride:"calc"}))},38675:function(T,p,t){var d=t(92770),g=t(50606).BADNUM,i=t(78803),M=t(75225),v=t(66279);function f(l){return l&&typeof l=="string"}T.exports=function(l,a){var u,o=a._length,s=new Array(o);u=a.geojson?function(y){return f(y)||d(y)}:f;for(var c=0;c")}}(M,c,l),[M]}},51319:function(T,p,t){T.exports={attributes:t(69568),supplyDefaults:t(61869),colorbar:t(61243),calc:t(38675),calcGeoJSON:t(99841).calcGeoJSON,plot:t(99841).plot,style:t(99636).style,styleOnSelect:t(99636).styleOnSelect,hoverPoints:t(42300),eventData:t(92069),selectPoints:t(81253),moduleType:"trace",name:"choropleth",basePlotModule:t(44622),categories:["geo","noOpacity","showLegend"],meta:{}}},99841:function(T,p,t){var d=t(39898),g=t(71828),i=t(41327),M=t(90973).getTopojsonFeatures,v=t(71739).findExtremes,f=t(99636).style;T.exports={calcGeoJSON:function(l,a){for(var u=l[0].trace,o=a[u.geo],s=o._subplot,c=u.locationmode,h=u._length,m=c==="geojson-id"?i.extractTraceFeature(l):M(u,s.topojson),w=[],y=[],S=0;S=0;M--){var v=i[M].id;if(typeof v=="string"&&v.indexOf("water")===0){for(var f=M+1;f=0;a--)f.removeLayer(l[a][1])},v.dispose=function(){var f=this.subplot.map;this._removeLayers(),f.removeSource(this.sourceId)},T.exports=function(f,l){var a=l[0].trace,u=new M(f,a.uid),o=u.sourceId,s=d(l),c=u.below=f.belowLookup["trace-"+a.uid];return f.map.addSource(o,{type:"geojson",data:s.geojson}),u._addLayers(s,c),l[0].trace._glTrace=u,u}},12674:function(T,p,t){var d=t(50693),g=t(12663).axisHoverFormat,i=t(5386).fF,M=t(2418),v=t(9012),f=t(1426).extendFlat,l={x:{valType:"data_array",editType:"calc+clearAxisTypes"},y:{valType:"data_array",editType:"calc+clearAxisTypes"},z:{valType:"data_array",editType:"calc+clearAxisTypes"},u:{valType:"data_array",editType:"calc"},v:{valType:"data_array",editType:"calc"},w:{valType:"data_array",editType:"calc"},sizemode:{valType:"enumerated",values:["scaled","absolute"],editType:"calc",dflt:"scaled"},sizeref:{valType:"number",editType:"calc",min:0},anchor:{valType:"enumerated",editType:"calc",values:["tip","tail","cm","center"],dflt:"cm"},text:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertemplate:i({editType:"calc"},{keys:["norm"]}),uhoverformat:g("u",1),vhoverformat:g("v",1),whoverformat:g("w",1),xhoverformat:g("x"),yhoverformat:g("y"),zhoverformat:g("z"),showlegend:f({},v.showlegend,{dflt:!1})};f(l,d("",{colorAttr:"u/v/w norm",showScaleDflt:!0,editTypeOverride:"calc"})),["opacity","lightposition","lighting"].forEach(function(a){l[a]=M[a]}),l.hoverinfo=f({},v.hoverinfo,{editType:"calc",flags:["x","y","z","u","v","w","norm","text","name"],dflt:"x+y+z+norm+text+name"}),l.transforms=void 0,T.exports=l},31371:function(T,p,t){var d=t(78803);T.exports=function(g,i){for(var M=i.u,v=i.v,f=i.w,l=Math.min(i.x.length,i.y.length,i.z.length,M.length,v.length,f.length),a=-1/0,u=1/0,o=0;ov.level||v.starts.length&&M===v.level)}break;case"constraint":if(g.prefixBoundary=!1,g.edgepaths.length)return;var f=g.x.length,l=g.y.length,a=-1/0,u=1/0;for(d=0;d":c>a&&(g.prefixBoundary=!0);break;case"<":(ca||g.starts.length&&s===u)&&(g.prefixBoundary=!0);break;case"][":o=Math.min(c[0],c[1]),s=Math.max(c[0],c[1]),oa&&(g.prefixBoundary=!0)}}}},90654:function(T,p,t){var d=t(21081),g=t(86068),i=t(53572);T.exports={min:"zmin",max:"zmax",calc:function(M,v,f){var l=v.contours,a=v.line,u=l.size||1,o=l.coloring,s=g(v,{isColorbar:!0});if(o==="heatmap"){var c=d.extractOpts(v);f._fillgradient=c.reversescale?d.flipScale(c.colorscale):c.colorscale,f._zrange=[c.min,c.max]}else o==="fill"&&(f._fillcolor=s);f._line={color:o==="lines"?s:a.color,width:l.showlines!==!1?a.width:0,dash:a.dash},f._levels={start:l.start,end:i(l),size:u}}}},36914:function(T){T.exports={BOTTOMSTART:[1,9,13,104,713],TOPSTART:[4,6,7,104,713],LEFTSTART:[8,12,14,208,1114],RIGHTSTART:[2,3,11,208,1114],NEWDELTA:[null,[-1,0],[0,-1],[-1,0],[1,0],null,[0,-1],[-1,0],[0,1],[0,1],null,[0,1],[1,0],[1,0],[0,-1]],CHOOSESADDLE:{104:[4,1],208:[2,8],713:[7,13],1114:[11,14]},SADDLEREMAINDER:{1:4,2:8,4:1,7:13,8:2,11:14,13:7,14:11},LABELDISTANCE:2,LABELINCREASE:10,LABELMIN:3,LABELMAX:10,LABELOPTIMIZER:{EDGECOST:1,ANGLECOST:1,NEIGHBORCOST:5,SAMELEVELFACTOR:10,SAMELEVELDISTANCE:5,MAXCOST:100,INITIALSEARCHPOINTS:10,ITERATIONS:5}}},83179:function(T,p,t){var d=t(92770),g=t(14523),i=t(7901),M=i.addOpacity,v=i.opacity,f=t(74808),l=f.CONSTRAINT_REDUCTION,a=f.COMPARISON_OPS2;T.exports=function(u,o,s,c,h,m){var w,y,S,_=o.contours,k=s("contours.operation");_._operation=l[k],function(E,x){var A;a.indexOf(x.operation)===-1?(E("contours.value",[0,1]),Array.isArray(x.value)?x.value.length>2?x.value=x.value.slice(2):x.length===0?x.value=[0,1]:x.length<2?(A=parseFloat(x.value[0]),x.value=[A,A+1]):x.value=[parseFloat(x.value[0]),parseFloat(x.value[1])]:d(x.value)&&(A=parseFloat(x.value),x.value=[A,A+1])):(E("contours.value",0),d(x.value)||(Array.isArray(x.value)?x.value=parseFloat(x.value[0]):x.value=0))}(s,_),k==="="?w=_.showlines=!0:(w=s("contours.showlines"),S=s("fillcolor",M((u.line||{}).color||h,.5))),w&&(y=s("line.color",S&&v(S)?M(o.fillcolor,1):h),s("line.width",2),s("line.dash")),s("line.smoothing"),g(s,c,y,m)}},64237:function(T,p,t){var d=t(74808),g=t(92770);function i(f,l){var a,u=Array.isArray(l);function o(s){return g(s)?+s:null}return d.COMPARISON_OPS2.indexOf(f)!==-1?a=o(u?l[0]:l):d.INTERVAL_OPS.indexOf(f)!==-1?a=u?[o(l[0]),o(l[1])]:[o(l),o(l)]:d.SET_OPS.indexOf(f)!==-1&&(a=u?l.map(o):[o(l)]),a}function M(f){return function(l){l=i(f,l);var a=Math.min(l[0],l[1]),u=Math.max(l[0],l[1]);return{start:a,end:u,size:u-a}}}function v(f){return function(l){return{start:l=i(f,l),end:1/0,size:1/0}}}T.exports={"[]":M("[]"),"][":M("]["),">":v(">"),"<":v("<"),"=":v("=")}},67217:function(T){T.exports=function(p,t,d,g){var i=g("contours.start"),M=g("contours.end"),v=i===!1||M===!1,f=d("contours.size");!(v?t.autocontour=!0:d("autocontour",!1))&&f||d("ncontours")}},84857:function(T,p,t){var d=t(71828);function g(i){return d.extendFlat({},i,{edgepaths:d.extendDeep([],i.edgepaths),paths:d.extendDeep([],i.paths),starts:d.extendDeep([],i.starts)})}T.exports=function(i,M){var v,f,l,a=function(s){return s.reverse()},u=function(s){return s};switch(M){case"=":case"<":return i;case">":for(i.length!==1&&d.warn("Contour data invalid for the specified inequality operation."),f=i[0],v=0;v1e3){d.warn("Too many contours, clipping at 1000",M);break}return u}},53572:function(T){T.exports=function(p){return p.end+p.size/1e6}},81696:function(T,p,t){var d=t(71828),g=t(36914);function i(f,l,a,u){return Math.abs(f[0]-l[0])20&&oe?ie===208||ie===1114?ce=ue[0]===0?1:-1:ye=ue[1]===0?1:-1:g.BOTTOMSTART.indexOf(ie)!==-1?ye=1:g.LEFTSTART.indexOf(ie)!==-1?ce=1:g.TOPSTART.indexOf(ie)!==-1?ye=-1:ce=-1,[ce,ye]}(h,a,l),w=[v(f,l,[-m[0],-m[1]])],y=f.z.length,S=f.z[0].length,_=l.slice(),k=m.slice();for(s=0;s<1e4;s++){if(h>20?(h=g.CHOOSESADDLE[h][(m[0]||m[1])<0?0:1],f.crossings[c]=g.SADDLEREMAINDER[h]):delete f.crossings[c],!(m=g.NEWDELTA[h])){d.log("Found bad marching index:",h,l,f.level);break}w.push(v(f,l,m)),l[0]+=m[0],l[1]+=m[1],c=l.join(","),i(w[w.length-1],w[w.length-2],u,o)&&w.pop();var E=m[0]&&(l[0]<0||l[0]>S-2)||m[1]&&(l[1]<0||l[1]>y-2);if(l[0]===_[0]&&l[1]===_[1]&&m[0]===k[0]&&m[1]===k[1]||a&&E)break;h=f.crossings[c]}s===1e4&&d.log("Infinite loop in contour?");var x,A,L,b,R,I,O,z,F,B,N,W,j,$,U,G=i(w[0],w[w.length-1],u,o),q=0,H=.2*f.smoothing,ne=[],te=0;for(s=1;s=te;s--)if((x=ne[s])=te&&x+ne[A]z&&F--,f.edgepaths[F]=N.concat(w,B));break}re||(f.edgepaths[z]=w.concat(B))}for(z=0;zi?0:1)+(M[0][1]>i?0:2)+(M[1][1]>i?0:4)+(M[1][0]>i?0:8);return v===5||v===10?i>(M[0][0]+M[0][1]+M[1][0]+M[1][1])/4?v===5?713:1114:v===5?104:208:v===15?0:v}T.exports=function(i){var M,v,f,l,a,u,o,s,c,h=i[0].z,m=h.length,w=h[0].length,y=m===2||w===2;for(v=0;v=0&&(A=U,b=R):Math.abs(x[1]-A[1])<.01?Math.abs(x[1]-U[1])<.01&&(U[0]-x[0])*(A[0]-U[0])>=0&&(A=U,b=R):g.log("endpt to newendpt is not vert. or horz.",x,A,U)}if(x=A,b>=0)break;z+="L"+A}if(b===k.edgepaths.length){g.log("unclosed perimeter path");break}F=b,(N=B.indexOf(F)===-1)&&(F=B[0],z+="Z")}for(F=0;FA.center?A.right-R:R-A.left)/(z+Math.abs(Math.sin(O)*b)),N=(I>A.middle?A.bottom-I:I-A.top)/(Math.abs(F)+Math.cos(O)*b);if(B<1||N<1)return 1/0;var W=w.EDGECOST*(1/(B-1)+1/(N-1));W+=w.ANGLECOST*O*O;for(var j=R-z,$=I-F,U=R+z,G=I+F,q=0;q2*w.MAXCOST)break;N&&(R/=2),I=(b=O-R/2)+1.5*R}if(B<=w.MAXCOST)return z},p.addLabelData=function(k,E,x,A){var L=E.fontSize,b=E.width+L/3,R=Math.max(0,E.height-L/3),I=k.x,O=k.y,z=k.theta,F=Math.sin(z),B=Math.cos(z),N=function(j,$){return[I+j*B-$*F,O+j*F+$*B]},W=[N(-b/2,-R/2),N(-b/2,R/2),N(b/2,R/2),N(b/2,-R/2)];x.push({text:E.text,x:I,y:O,dy:E.dy,theta:z,level:E.level,width:b,height:R}),A.push(W)},p.drawLabels=function(k,E,x,A,L){var b=k.selectAll("text").data(E,function(O){return O.text+","+O.x+","+O.y+","+O.theta});if(b.exit().remove(),b.enter().append("text").attr({"data-notex":1,"text-anchor":"middle"}).each(function(O){var z=O.x+Math.sin(O.theta)*O.dy,F=O.y-Math.cos(O.theta)*O.dy;d.select(this).text(O.text).attr({x:z,y:F,transform:"rotate("+180*O.theta/Math.PI+" "+z+" "+F+")"}).call(v.convertToTspans,x)}),L){for(var R="",I=0;If.end&&(f.start=f.end=(f.start+f.end)/2),M._input.contours||(M._input.contours={}),g.extendFlat(M._input.contours,{start:f.start,end:f.end,size:f.size}),M._input.autocontour=!0}else if(f.type!=="constraint"){var o,s=f.start,c=f.end,h=M._input.contours;s>c&&(f.start=h.start=c,c=f.end=h.end=s,s=f.start),f.size>0||(o=s===c?1:i(s,c,M.ncontours).dtick,h.size=f.size=o)}}},84426:function(T,p,t){var d=t(39898),g=t(91424),i=t(70035),M=t(86068);T.exports=function(v){var f=d.select(v).selectAll("g.contour");f.style("opacity",function(l){return l[0].trace.opacity}),f.each(function(l){var a=d.select(this),u=l[0].trace,o=u.contours,s=u.line,c=o.size||1,h=o.start,m=o.type==="constraint",w=!m&&o.coloring==="lines",y=!m&&o.coloring==="fill",S=w||y?M(u):null;a.selectAll("g.contourlevel").each(function(E){d.select(this).selectAll("path").call(g.lineGroupStyle,s.width,w?S(E.level):s.color,s.dash)});var _=o.labelfont;if(a.selectAll("g.contourlabels text").each(function(E){g.font(d.select(this),{family:_.family,size:_.size,color:_.color||(w?S(E.level):s.color)})}),m)a.selectAll("g.contourfill path").style("fill",u.fillcolor);else if(y){var k;a.selectAll("g.contourfill path").style("fill",function(E){return k===void 0&&(k=E.level),S(E.level+.5*c)}),k===void 0&&(k=h),a.selectAll("g.contourbg path").style("fill",S(k-.5*c))}}),i(v)}},8724:function(T,p,t){var d=t(1586),g=t(14523);T.exports=function(i,M,v,f,l){var a,u=v("contours.coloring"),o="";u==="fill"&&(a=v("contours.showlines")),a!==!1&&(u!=="lines"&&(o=v("line.color","#000")),v("line.width",.5),v("line.dash")),u!=="none"&&(i.showlegend!==!0&&(M.showlegend=!1),M._dfltShowLegend=!1,d(i,M,f,v,{prefix:"",cLetter:"z"})),v("line.smoothing"),g(v,f,o,l)}},88085:function(T,p,t){var d=t(21606),g=t(70600),i=t(50693),M=t(1426).extendFlat,v=g.contours;T.exports=M({carpet:{valType:"string",editType:"calc"},z:d.z,a:d.x,a0:d.x0,da:d.dx,b:d.y,b0:d.y0,db:d.dy,text:d.text,hovertext:d.hovertext,transpose:d.transpose,atype:d.xtype,btype:d.ytype,fillcolor:g.fillcolor,autocontour:g.autocontour,ncontours:g.ncontours,contours:{type:v.type,start:v.start,end:v.end,size:v.size,coloring:{valType:"enumerated",values:["fill","lines","none"],dflt:"fill",editType:"calc"},showlines:v.showlines,showlabels:v.showlabels,labelfont:v.labelfont,labelformat:v.labelformat,operation:v.operation,value:v.value,editType:"calc",impliedEdits:{autocontour:!1}},line:{color:g.line.color,width:g.line.width,dash:g.line.dash,smoothing:g.line.smoothing,editType:"plot"},transforms:void 0},i("",{cLetter:"z",autoColorDflt:!1}))},59885:function(T,p,t){var d=t(78803),g=t(71828),i=t(68296),M=t(4742),v=t(824),f=t(43907),l=t(70769),a=t(75005),u=t(22882),o=t(18670);T.exports=function(s,c){var h=c._carpetTrace=u(s,c);if(h&&h.visible&&h.visible!=="legendonly"){if(!c.a||!c.b){var m=s.data[h.index],w=s.data[c.index];w.a||(w.a=m.a),w.b||(w.b=m.b),a(w,c,c._defaultColor,s._fullLayout)}var y=function(S,_){var k,E,x,A,L,b,R,I=_._carpetTrace,O=I.aaxis,z=I.baxis;O._minDtick=0,z._minDtick=0,g.isArray1D(_.z)&&i(_,O,z,"a","b",["z"]),k=_._a=_._a||_.a,A=_._b=_._b||_.b,k=k?O.makeCalcdata(_,"_a"):[],A=A?z.makeCalcdata(_,"_b"):[],E=_.a0||0,x=_.da||1,L=_.b0||0,b=_.db||1,R=_._z=M(_._z||_.z,_.transpose),_._emptypoints=f(R),v(R,_._emptypoints);var F=g.maxRowLength(R),B=_.xtype==="scaled"?"":k,N=l(_,B,E,x,F,O),W=_.ytype==="scaled"?"":A,j={a:N,b:l(_,W,L,b,R.length,z),z:R};return _.contours.type==="levels"&&_.contours.coloring!=="none"&&d(S,_,{vals:R,containerStr:"",cLetter:"z"}),[j]}(s,c);return o(c,c._z),y}}},75005:function(T,p,t){var d=t(71828),g=t(67684),i=t(88085),M=t(83179),v=t(67217),f=t(8724);T.exports=function(l,a,u,o){function s(c,h){return d.coerce(l,a,i,c,h)}if(s("carpet"),l.a&&l.b){if(!g(l,a,s,o,"a","b"))return void(a.visible=!1);s("text"),s("contours.type")==="constraint"?M(l,a,s,o,u,{hasHover:!1}):(v(l,a,s,function(c){return d.coerce2(l,a,i,c)}),f(l,a,s,o,{hasHover:!1}))}else a._defaultColor=u,a._length=null}},93740:function(T,p,t){T.exports={attributes:t(88085),supplyDefaults:t(75005),colorbar:t(90654),calc:t(59885),plot:t(51048),style:t(84426),moduleType:"trace",name:"contourcarpet",basePlotModule:t(93612),categories:["cartesian","svg","carpet","contour","symbols","showLegend","hasLines","carpetDependent","noHover","noSortingByValue"],meta:{}}},51048:function(T,p,t){var d=t(39898),g=t(27669),i=t(67961),M=t(91424),v=t(71828),f=t(87678),l=t(81696),a=t(29854),u=t(36914),o=t(84857),s=t(87558),c=t(20083),h=t(22882),m=t(4536);function w(_,k,E){var x=_.getPointAtLength(k),A=_.getPointAtLength(E),L=A.x-x.x,b=A.y-x.y,R=Math.sqrt(L*L+b*b);return[L/R,b/R]}function y(_){var k=Math.sqrt(_[0]*_[0]+_[1]*_[1]);return[_[0]/k,_[1]/k]}function S(_,k){var E=Math.abs(_[0]*k[0]+_[1]*k[1]);return Math.sqrt(1-E*E)/E}T.exports=function(_,k,E,x){var A=k.xaxis,L=k.yaxis;v.makeTraceGroups(x,E,"contour").each(function(b){var R=d.select(this),I=b[0],O=I.trace,z=O._carpetTrace=h(_,O),F=_.calcdata[z.index][0];if(z.visible&&z.visible!=="legendonly"){var B=I.a,N=I.b,W=O.contours,j=s(W,k,I),$=W.type==="constraint",U=W._operation,G=$?U==="="?"lines":"fill":W.coloring,q=[[B[0],N[N.length-1]],[B[B.length-1],N[N.length-1]],[B[B.length-1],N[0]],[B[0],N[0]]];f(j);var H=1e-8*(B[B.length-1]-B[0]),ne=1e-8*(N[N.length-1]-N[0]);l(j,H,ne);var te,Z,X,Q,re=j;W.type==="constraint"&&(re=o(j,U)),function(ce,ye){var de,me,pe,xe,Pe,_e,Me,Se,Ce;for(de=0;de=0;Q--)te=F.clipsegments[Q],Z=g([],te.x,A.c2p),X=g([],te.y,L.c2p),Z.reverse(),X.reverse(),ie.push(i(Z,X,te.bicubic));var oe="M"+ie.join("L")+"Z";(function(ce,ye,de,me,pe,xe){var Pe,_e,Me,Se,Ce=v.ensureSingle(ce,"g","contourbg").selectAll("path").data(xe!=="fill"||pe?[]:[0]);Ce.enter().append("path"),Ce.exit().remove();var ae=[];for(Se=0;Se=0&&(st=ft,ht=bt):Math.abs(Ye[1]-st[1])=0&&(st=ft,ht=bt):v.log("endpt to newendpt is not vert. or horz.",Ye,st,ft)}if(ht>=0)break;kt+=qe(Ye,st),Ye=st}if(ht===Be.edgepaths.length){v.log("unclosed perimeter path");break}$e=ht,(Ft=xt.indexOf($e)===-1)&&($e=xt[0],kt+=qe(Ye,st)+"Z",Ye=null)}for($e=0;$eLt&&(Ke.max=Lt),Ke.len=Ke.max-Ke.min}function yt(Pt,wt){var Rt,Nt=0,Yt=.1;return(Math.abs(Pt[0]-Re)0?+m[s]:0),c.push({type:"Feature",geometry:{type:"Point",coordinates:_},properties:k})}}var x=M.extractOpts(a),A=x.reversescale?M.flipScale(x.colorscale):x.colorscale,L=A[0][1],b=["interpolate",["linear"],["heatmap-density"],0,i.opacity(L)<1?L:i.addOpacity(L,0)];for(s=1;s=0;l--)v.removeLayer(f[l][1])},M.dispose=function(){var v=this.subplot.map;this._removeLayers(),v.removeSource(this.sourceId)},T.exports=function(v,f){var l=f[0].trace,a=new i(v,l.uid),u=a.sourceId,o=d(f),s=a.below=v.belowLookup["trace-"+l.uid];return v.map.addSource(u,{type:"geojson",data:o.geojson}),a._addLayers(o,s),a}},49789:function(T,p,t){var d=t(71828);T.exports=function(g,i){for(var M=0;M"),u.color=function(k,E){var x=k.marker,A=E.mc||x.color,L=E.mlc||x.line.color,b=E.mlw||x.line.width;return d(A)?A:d(L)&&b?L:void 0}(s,h),[u]}}},51759:function(T,p,t){T.exports={attributes:t(1285),layoutAttributes:t(10440),supplyDefaults:t(26199).supplyDefaults,crossTraceDefaults:t(26199).crossTraceDefaults,supplyLayoutDefaults:t(93138),calc:t(9532),crossTraceCalc:t(8984),plot:t(80461),style:t(68266).style,hoverPoints:t(63341),eventData:t(34598),selectPoints:t(81974),moduleType:"trace",name:"funnel",basePlotModule:t(93612),categories:["bar-like","cartesian","svg","oriented","showLegend","zoomScale"],meta:{}}},10440:function(T){T.exports={funnelmode:{valType:"enumerated",values:["stack","group","overlay"],dflt:"stack",editType:"calc"},funnelgap:{valType:"number",min:0,max:1,editType:"calc"},funnelgroupgap:{valType:"number",min:0,max:1,dflt:0,editType:"calc"}}},93138:function(T,p,t){var d=t(71828),g=t(10440);T.exports=function(i,M,v){var f=!1;function l(o,s){return d.coerce(i,M,g,o,s)}for(var a=0;a path").each(function(w){if(!w.isBlank){var y=m.marker;d.select(this).call(i.fill,w.mc||y.color).call(i.stroke,w.mlc||y.line.color).call(g.dashLine,y.line.dash,w.mlw||y.line.width).style("opacity",m.selectedpoints&&!w.selected?M:1)}}),l(h,m,a),h.selectAll(".regions").each(function(){d.select(this).selectAll("path").style("stroke-width",0).call(i.fill,m.connector.fillcolor)}),h.selectAll(".lines").each(function(){var w=m.connector.line;g.lineGroupStyle(d.select(this).selectAll("path"),w.width,w.color,w.dash)})})}}},86807:function(T,p,t){var d=t(34e3),g=t(9012),i=t(27670).Y,M=t(5386).fF,v=t(5386).si,f=t(1426).extendFlat;T.exports={labels:d.labels,label0:d.label0,dlabel:d.dlabel,values:d.values,marker:{colors:d.marker.colors,line:{color:f({},d.marker.line.color,{dflt:null}),width:f({},d.marker.line.width,{dflt:1}),editType:"calc"},editType:"calc"},text:d.text,hovertext:d.hovertext,scalegroup:f({},d.scalegroup,{}),textinfo:f({},d.textinfo,{flags:["label","text","value","percent"]}),texttemplate:v({editType:"plot"},{keys:["label","color","value","text","percent"]}),hoverinfo:f({},g.hoverinfo,{flags:["label","text","value","percent","name"]}),hovertemplate:M({},{keys:["label","color","value","text","percent"]}),textposition:f({},d.textposition,{values:["inside","none"],dflt:"inside"}),textfont:d.textfont,insidetextfont:d.insidetextfont,title:{text:d.title.text,font:d.title.font,position:f({},d.title.position,{values:["top left","top center","top right"],dflt:"top center"}),editType:"plot"},domain:i({name:"funnelarea",trace:!0,editType:"calc"}),aspectratio:{valType:"number",min:0,dflt:1,editType:"plot"},baseratio:{valType:"number",min:0,max:1,dflt:.333,editType:"plot"}}},6452:function(T,p,t){var d=t(74875);p.name="funnelarea",p.plot=function(g,i,M,v){d.plotBasePlot(p.name,g,i,M,v)},p.clean=function(g,i,M,v){d.cleanBasePlot(p.name,g,i,M,v)}},89574:function(T,p,t){var d=t(32354);T.exports={calc:function(g,i){return d.calc(g,i)},crossTraceCalc:function(g){d.crossTraceCalc(g,{type:"funnelarea"})}}},86282:function(T,p,t){var d=t(71828),g=t(86807),i=t(27670).c,M=t(90769).handleText,v=t(37434).handleLabelsAndValues;T.exports=function(f,l,a,u){function o(k,E){return d.coerce(f,l,g,k,E)}var s=o("labels"),c=o("values"),h=v(s,c),m=h.len;if(l._hasLabels=h.hasLabels,l._hasValues=h.hasValues,!l._hasLabels&&l._hasValues&&(o("label0"),o("dlabel")),m){l._length=m,o("marker.line.width")&&o("marker.line.color",u.paper_bgcolor),o("marker.colors"),o("scalegroup");var w,y=o("text"),S=o("texttemplate");if(S||(w=o("textinfo",Array.isArray(y)?"text+percent":"percent")),o("hovertext"),o("hovertemplate"),S||w&&w!=="none"){var _=o("textposition");M(f,l,u,o,_,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1})}i(l,u,o),o("title.text")&&(o("title.position"),d.coerceFont(o,"title.font",u.font)),o("aspectratio"),o("baseratio")}else l.visible=!1}},10421:function(T,p,t){T.exports={moduleType:"trace",name:"funnelarea",basePlotModule:t(6452),categories:["pie-like","funnelarea","showLegend"],attributes:t(86807),layoutAttributes:t(80097),supplyDefaults:t(86282),supplyLayoutDefaults:t(57402),calc:t(89574).calc,crossTraceCalc:t(89574).crossTraceCalc,plot:t(79187),style:t(71858),styleOne:t(63463),meta:{}}},80097:function(T,p,t){var d=t(92774).hiddenlabels;T.exports={hiddenlabels:d,funnelareacolorway:{valType:"colorlist",editType:"calc"},extendfunnelareacolors:{valType:"boolean",dflt:!0,editType:"calc"}}},57402:function(T,p,t){var d=t(71828),g=t(80097);T.exports=function(i,M){function v(f,l){return d.coerce(i,M,g,f,l)}v("hiddenlabels"),v("funnelareacolorway",M.colorway),v("extendfunnelareacolors")}},79187:function(T,p,t){var d=t(39898),g=t(91424),i=t(71828),M=i.strScale,v=i.strTranslate,f=t(63893),l=t(17295).toMoveInsideBar,a=t(72597),u=a.recordMinTextSize,o=a.clearMinTextSize,s=t(53581),c=t(14575),h=c.attachFxHandlers,m=c.determineInsideTextFont,w=c.layoutAreas,y=c.prerenderTitles,S=c.positionTitleOutside,_=c.formatSliceLabel;function k(E,x){return"l"+(x[0]-E[0])+","+(x[1]-E[1])}T.exports=function(E,x){var A=E._context.staticPlot,L=E._fullLayout;o("funnelarea",L),y(x,E),w(x,L._size),i.makeTraceGroups(L._funnelarealayer,x,"trace").each(function(b){var R=d.select(this),I=b[0],O=I.trace;(function(z){if(z.length){var F=z[0],B=F.trace,N=B.aspectratio,W=B.baseratio;W>.999&&(W=.999);var j,$,U,G=Math.pow(W,2),q=F.vTotal,H=q,ne=q*G/(1-G)/q,te=[];for(te.push(Me()),$=z.length-1;$>-1;$--)if(!(U=z[$]).hidden){var Z=U.v/H;ne+=Z,te.push(Me())}var X=1/0,Q=-1/0;for($=0;$-1;$--)if(!(U=z[$]).hidden){var Pe=te[xe+=1][0],_e=te[xe][1];U.TL=[-Pe,_e],U.TR=[Pe,_e],U.BL=me,U.BR=pe,U.pxmid=(ye=U.TR,de=U.BR,[.5*(ye[0]+de[0]),.5*(ye[1]+de[1])]),me=U.TL,pe=U.TR}}function Me(){var Se,Ce={x:Se=Math.sqrt(ne),y:-Se};return[Ce.x,Ce.y]}})(b),R.each(function(){var z=d.select(this).selectAll("g.slice").data(b);z.enter().append("g").classed("slice",!0),z.exit().remove(),z.each(function(B,N){if(B.hidden)d.select(this).selectAll("path,g").remove();else{B.pointNumber=B.i,B.curveNumber=O.index;var W=I.cx,j=I.cy,$=d.select(this),U=$.selectAll("path.surface").data([B]);U.enter().append("path").classed("surface",!0).style({"pointer-events":A?"none":"all"}),$.call(h,E,b);var G="M"+(W+B.TR[0])+","+(j+B.TR[1])+k(B.TR,B.BR)+k(B.BR,B.BL)+k(B.BL,B.TL)+"Z";U.attr("d",G),_(E,B,I);var q=s.castOption(O.textposition,B.pts),H=$.selectAll("g.slicetext").data(B.text&&q!=="none"?[0]:[]);H.enter().append("g").classed("slicetext",!0),H.exit().remove(),H.each(function(){var ne=i.ensureSingle(d.select(this),"text","",function(ue){ue.attr("data-notex",1)}),te=i.ensureUniformFontSize(E,m(O,B,L.font));ne.text(B.text).attr({class:"slicetext",transform:"","text-anchor":"middle"}).call(g.font,te).call(f.convertToTspans,E);var Z,X,Q,re=g.bBox(ne.node()),ie=Math.min(B.BL[1],B.BR[1])+j,oe=Math.max(B.TL[1],B.TR[1])+j;X=Math.max(B.TL[0],B.BL[0])+W,Q=Math.min(B.TR[0],B.BR[0])+W,(Z=l(X,Q,ie,oe,re,{isHorizontal:!0,constrained:!0,angle:0,anchor:"middle"})).fontSize=te.size,u(O.type,Z,L),b[N].transform=Z,i.setTransormAndDisplay(ne,Z)})}});var F=d.select(this).selectAll("g.titletext").data(O.title.text?[0]:[]);F.enter().append("g").classed("titletext",!0),F.exit().remove(),F.each(function(){var B=i.ensureSingle(d.select(this),"text","",function(j){j.attr("data-notex",1)}),N=O.title.text;O._meta&&(N=i.templateString(N,O._meta)),B.text(N).attr({class:"titletext",transform:"","text-anchor":"middle"}).call(g.font,O.title.font).call(f.convertToTspans,E);var W=S(I,L._size);B.attr("transform",v(W.x,W.y)+M(Math.min(1,W.scale))+v(W.tx,W.ty))})})})}},71858:function(T,p,t){var d=t(39898),g=t(63463),i=t(72597).resizeText;T.exports=function(M){var v=M._fullLayout._funnelarealayer.selectAll(".trace");i(M,v,"funnelarea"),v.each(function(f){var l=f[0].trace,a=d.select(this);a.style({opacity:l.opacity}),a.selectAll("path.surface").each(function(u){d.select(this).call(g,u,l)})})}},21606:function(T,p,t){var d=t(82196),g=t(9012),i=t(41940),M=t(12663).axisHoverFormat,v=t(5386).fF,f=t(5386).si,l=t(50693),a=t(1426).extendFlat;T.exports=a({z:{valType:"data_array",editType:"calc"},x:a({},d.x,{impliedEdits:{xtype:"array"}}),x0:a({},d.x0,{impliedEdits:{xtype:"scaled"}}),dx:a({},d.dx,{impliedEdits:{xtype:"scaled"}}),y:a({},d.y,{impliedEdits:{ytype:"array"}}),y0:a({},d.y0,{impliedEdits:{ytype:"scaled"}}),dy:a({},d.dy,{impliedEdits:{ytype:"scaled"}}),xperiod:a({},d.xperiod,{impliedEdits:{xtype:"scaled"}}),yperiod:a({},d.yperiod,{impliedEdits:{ytype:"scaled"}}),xperiod0:a({},d.xperiod0,{impliedEdits:{xtype:"scaled"}}),yperiod0:a({},d.yperiod0,{impliedEdits:{ytype:"scaled"}}),xperiodalignment:a({},d.xperiodalignment,{impliedEdits:{xtype:"scaled"}}),yperiodalignment:a({},d.yperiodalignment,{impliedEdits:{ytype:"scaled"}}),text:{valType:"data_array",editType:"calc"},hovertext:{valType:"data_array",editType:"calc"},transpose:{valType:"boolean",dflt:!1,editType:"calc"},xtype:{valType:"enumerated",values:["array","scaled"],editType:"calc+clearAxisTypes"},ytype:{valType:"enumerated",values:["array","scaled"],editType:"calc+clearAxisTypes"},zsmooth:{valType:"enumerated",values:["fast","best",!1],dflt:!1,editType:"calc"},hoverongaps:{valType:"boolean",dflt:!0,editType:"none"},connectgaps:{valType:"boolean",editType:"calc"},xgap:{valType:"number",dflt:0,min:0,editType:"plot"},ygap:{valType:"number",dflt:0,min:0,editType:"plot"},xhoverformat:M("x"),yhoverformat:M("y"),zhoverformat:M("z",1),hovertemplate:v(),texttemplate:f({arrayOk:!1,editType:"plot"},{keys:["x","y","z","text"]}),textfont:i({editType:"plot",autoSize:!0,autoColor:!0,colorEditType:"style"}),showlegend:a({},g.showlegend,{dflt:!1})},{transforms:void 0},l("",{cLetter:"z",autoColorDflt:!1}))},90757:function(T,p,t){var d=t(73972),g=t(71828),i=t(89298),M=t(42973),v=t(17562),f=t(78803),l=t(68296),a=t(4742),u=t(824),o=t(43907),s=t(70769),c=t(50606).BADNUM;function h(m){for(var w=[],y=m.length,S=0;SG){$("x scale is not linear");break}}if(E.length&&W==="fast"){var q=(E[E.length-1]-E[0])/(E.length-1),H=Math.abs(q/100);for(R=0;RH){$("y scale is not linear");break}}}}var ne=g.maxRowLength(b),te=w.xtype==="scaled"?"":y,Z=s(w,te,S,_,ne,O),X=w.ytype==="scaled"?"":E,Q=s(w,X,x,A,b.length,z);N||(w._extremes[O._id]=i.findExtremes(O,Z),w._extremes[z._id]=i.findExtremes(z,Q));var re={x:Z,y:Q,z:b,text:w._text||w.text,hovertext:w._hovertext||w.hovertext};if(w.xperiodalignment&&k&&(re.orig_x=k),w.yperiodalignment&&L&&(re.orig_y=L),te&&te.length===Z.length-1&&(re.xCenter=te),X&&X.length===Q.length-1&&(re.yCenter=X),B&&(re.xRanges=I.xRanges,re.yRanges=I.yRanges,re.pts=I.pts),F||f(m,w,{vals:b,cLetter:"z"}),F&&w.contours&&w.contours.coloring==="heatmap"){var ie={type:w.type==="contour"?"heatmap":"histogram2d",xcalendar:w.xcalendar,ycalendar:w.ycalendar};re.xfill=s(ie,te,S,_,ne,O),re.yfill=s(ie,X,x,A,b.length,z)}return[re]}},4742:function(T,p,t){var d=t(92770),g=t(71828),i=t(50606).BADNUM;T.exports=function(M,v,f,l){var a,u,o,s,c,h;function m(E){if(d(E))return+E}if(v&&v.transpose){for(a=0,c=0;c=0;l--)(a=((c[[(M=(f=h[l])[0])-1,v=f[1]]]||y)[2]+(c[[M+1,v]]||y)[2]+(c[[M,v-1]]||y)[2]+(c[[M,v+1]]||y)[2])/20)&&(u[f]=[M,v,a],h.splice(l,1),o=!0);if(!o)throw"findEmpties iterated with no new neighbors";for(f in u)c[f]=u[f],s.push(u[f])}return s.sort(function(_,k){return k[2]-_[2]})}},46248:function(T,p,t){var d=t(30211),g=t(71828),i=t(89298),M=t(21081).extractOpts;T.exports=function(v,f,l,a,u){u||(u={});var o,s,c,h,m=u.isContour,w=v.cd[0],y=w.trace,S=v.xa,_=v.ya,k=w.x,E=w.y,x=w.z,A=w.xCenter,L=w.yCenter,b=w.zmask,R=y.zhoverformat,I=k,O=E;if(v.index!==!1){try{c=Math.round(v.index[1]),h=Math.round(v.index[0])}catch{return void g.error("Error hovering on heatmap, pointNumber must be [row,col], found:",v.index)}if(c<0||c>=x[0].length||h<0||h>x.length)return}else{if(d.inbox(f-k[0],f-k[k.length-1],0)>0||d.inbox(l-E[0],l-E[E.length-1],0)>0)return;if(m){var z;for(I=[2*k[0]-k[1]],z=1;zk&&(x=Math.max(x,Math.abs(v[u][o]-_)/(E-k))))}return x}T.exports=function(v,f){var l,a=1;for(M(v,f),l=0;l.01;l++)a=M(v,f,i(a));return a>.01&&d.log("interp2d didn't converge quickly",a),v}},58623:function(T,p,t){var d=t(71828);T.exports=function(g,i){g("texttemplate");var M=d.extendFlat({},i.font,{color:"auto",size:"auto"});d.coerceFont(g,"textfont",M)}},70769:function(T,p,t){var d=t(73972),g=t(71828).isArrayOrTypedArray;T.exports=function(i,M,v,f,l,a){var u,o,s,c=[],h=d.traceIs(i,"contour"),m=d.traceIs(i,"histogram"),w=d.traceIs(i,"gl2d");if(g(M)&&M.length>1&&!m&&a.type!=="category"){var y=M.length;if(!(y<=l))return h?M.slice(0,l):M.slice(0,l+1);if(h||w)c=M.slice(0,l);else if(l===1)c=[M[0]-.5,M[0]+.5];else{for(c=[1.5*M[0]-.5*M[1]],s=1;s0;)z=b.c2p(Z[W]),W--;for(z0;)N=R.c2p(X[W]),W--;if(NWt||Wt>R._length))for(j=wt;jQt||Qt>b._length)){var rn=a({x:Xt,y:Yt},q,E._fullLayout);rn.x=Xt,rn.y=Yt;var xn=G.z[W][j];xn===void 0?(rn.z="",rn.zLabel=""):(rn.z=xn,rn.zLabel=v.tickText(It,xn,"hover").text);var un=G.text&&G.text[W]&&G.text[W][j];un!==void 0&&un!==!1||(un=""),rn.text=un;var An=f.texttemplateString(dt,rn,E._fullLayout._d3locale,rn,q._meta||{});if(An){var Yn=An.split("
"),kn=Yn.length,sn=0;for($=0;$0&&(k=!0);for(var A=0;Af){var l=f-M[g];return M[g]=f,l}}return 0},max:function(g,i,M,v){var f=v[i];if(d(f)){if(f=Number(f),!d(M[g]))return M[g]=f,f;if(M[g]l?h>M?h>1.1*g?g:h>1.1*i?i:M:h>v?v:h>f?f:l:Math.pow(10,Math.floor(Math.log(h)/Math.LN10))}function s(h,m,w,y,S,_){if(y&&h>M){var k=c(m,S,_),E=c(w,S,_),x=h===g?0:1;return k[x]!==E[x]}return Math.floor(w/h)-Math.floor(m/h)>.1}function c(h,m,w){var y=m.c2d(h,g,w).split("-");return y[0]===""&&(y.unshift(),y[0]="-"+y[0]),y}T.exports=function(h,m,w,y,S){var _,k,E=-1.1*m,x=-.1*m,A=h-x,L=w[0],b=w[1],R=Math.min(u(L+x,L+A,y,S),u(b+x,b+A,y,S)),I=Math.min(u(L+E,L+x,y,S),u(b+E,b+x,y,S));if(R>I&&IM){var O=_===g?1:6,z=_===g?"M12":"M1";return function(F,B){var N=y.c2d(F,g,S),W=N.indexOf("-",O);W>0&&(N=N.substr(0,W));var j=y.d2c(N,0,S);if(jh.r2l(re)&&(oe=M.tickIncrement(oe,I.size,!0,k)),te.start=h.l2r(oe),Q||g.nestedProperty(c,L+".start").set(te.start)}var ue=I.end,ce=h.r2l(ne.end),ye=ce!==void 0;if((I.endFound||ye)&&ce!==h.r2l(ue)){var de=ye?ce:g.aggNums(Math.max,null,E);te.end=h.l2r(de),ye||g.nestedProperty(c,L+".start").set(te.end)}var me="autobin"+m;return c._input[me]===!1&&(c._input[L]=g.extendFlat({},c[L]||{}),delete c._input[me],delete c[me]),[te,E]}T.exports={calc:function(s,c){var h,m,w,y,S=[],_=[],k=c.orientation==="h",E=M.getFromId(s,k?c.yaxis:c.xaxis),x=k?"y":"x",A={x:"y",y:"x"}[x],L=c[x+"calendar"],b=c.cumulative,R=o(s,c,E,x),I=R[0],O=R[1],z=typeof I.size=="string",F=[],B=z?F:I,N=[],W=[],j=[],$=0,U=c.histnorm,G=c.histfunc,q=U.indexOf("density")!==-1;b.enabled&&q&&(U=U.replace(/ ?density$/,""),q=!1);var H,ne=G==="max"||G==="min"?null:0,te=f.count,Z=l[U],X=!1,Q=function(Ce){return E.r2c(Ce,0,L)};for(g.isArrayOrTypedArray(c[A])&&G!=="count"&&(H=c[A],X=G==="avg",te=f[G]),h=Q(I.start),w=Q(I.end)+(h-M.tickIncrement(h,I.size,!1,L))/1e6;h=0&&y=0;be--)ze(be);else if(ae==="increasing"){for(be=1;be=0;be--)Ce[be]+=Ce[be+1];fe==="exclude"&&(Ce.push(0),Ce.shift())}}(_,b.direction,b.currentbin);var xe=Math.min(S.length,_.length),Pe=[],_e=0,Me=xe-1;for(h=0;h=_e;h--)if(_[h]){Me=h;break}for(h=_e;h<=Me;h++)if(d(S[h])&&d(_[h])){var Se={p:S[h],s:_[h],b:0};b.enabled||(Se.pts=j[h],ce?Se.ph0=Se.ph1=j[h].length?O[j[h][0]]:S[h]:(c._computePh=!0,Se.ph0=oe(F[h]),Se.ph1=oe(F[h+1],!0))),Pe.push(Se)}return Pe.length===1&&(Pe[0].width1=M.tickIncrement(Pe[0].p,I.size,!1,L)-Pe[0].p),v(Pe,c),g.isArrayOrTypedArray(c.selectedpoints)&&g.tagSelected(Pe,c,me),Pe},calcAllAutoBins:o}},72406:function(T){T.exports={eventDataKeys:["binNumber"]}},82222:function(T,p,t){var d=t(71828),g=t(41675),i=t(73972).traceIs,M=t(26125),v=d.nestedProperty,f=t(99082).getAxisGroup,l=[{aStr:{x:"xbins.start",y:"ybins.start"},name:"start"},{aStr:{x:"xbins.end",y:"ybins.end"},name:"end"},{aStr:{x:"xbins.size",y:"ybins.size"},name:"size"},{aStr:{x:"nbinsx",y:"nbinsy"},name:"nbins"}],a=["x","y"];T.exports=function(u,o){var s,c,h,m,w,y,S,_=o._histogramBinOpts={},k=[],E={},x=[];function A(q,H){return d.coerce(s._input,s,s._module.attributes,q,H)}function L(q){return q.orientation==="v"?"x":"y"}function b(q,H,ne){var te=q.uid+"__"+ne;H||(H=te);var Z=function(ie,oe){return g.getFromTrace({_fullLayout:o},ie,oe).type}(q,ne),X=q[ne+"calendar"]||"",Q=_[H],re=!0;Q&&(Z===Q.axType&&X===Q.calendar?(re=!1,Q.traces.push(q),Q.dirs.push(ne)):(H=te,Z!==Q.axType&&d.warn(["Attempted to group the bins of trace",q.index,"set on a","type:"+Z,"axis","with bins on","type:"+Q.axType,"axis."].join(" ")),X!==Q.calendar&&d.warn(["Attempted to group the bins of trace",q.index,"set with a",X,"calendar","with bins",Q.calendar?"on a "+Q.calendar+" calendar":"w/o a set calendar"].join(" ")))),re&&(_[H]={traces:[q],dirs:[ne],axType:Z,calendar:q[ne+"calendar"]||""}),q["_"+ne+"bingroup"]=H}for(w=0;wF&&R.splice(F,R.length-F),z.length>F&&z.splice(F,z.length-F);var B=[],N=[],W=[],j=typeof b.size=="string",$=typeof O.size=="string",U=[],G=[],q=j?U:b,H=$?G:O,ne=0,te=[],Z=[],X=c.histnorm,Q=c.histfunc,re=X.indexOf("density")!==-1,ie=Q==="max"||Q==="min"?null:0,oe=i.count,ue=M[X],ce=!1,ye=[],de=[],me="z"in c?c.z:"marker"in c&&Array.isArray(c.marker.color)?c.marker.color:"";me&&Q!=="count"&&(ce=Q==="avg",oe=i[Q]);var pe=b.size,xe=x(b.start),Pe=x(b.end)+(xe-g.tickIncrement(xe,pe,!1,k))/1e6;for(h=xe;h=0&&w=0&&y-1,flipY:N.tiling.flip.indexOf("y")>-1,orientation:N.tiling.orientation,pad:{inner:N.tiling.pad},maxDepth:N._maxDepth}).descendants(),G=1/0,q=-1/0;U.forEach(function(X){var Q=X.depth;Q>=N._maxDepth?(X.x0=X.x1=(X.x0+X.x1)/2,X.y0=X.y1=(X.y0+X.y1)/2):(G=Math.min(G,Q),q=Math.max(q,Q))}),w=w.data(U,a.getPtId),N._maxVisibleLayers=isFinite(q)?q-G+1:0,w.enter().append("g").classed("slice",!0),R(w,s,{},[S,_],x),w.order();var H=null;if(b&&z){var ne=a.getPtId(z);w.each(function(X){H===null&&a.getPtId(X)===ne&&(H={x0:X.x0,x1:X.x1,y0:X.y0,y1:X.y1})})}var te=function(){return H||{x0:0,x1:S,y0:0,y1:_}},Z=w;return b&&(Z=Z.transition().each("end",function(){var X=d.select(this);a.setSliceCursor(X,c,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})})),Z.each(function(X){X._x0=k(X.x0),X._x1=k(X.x1),X._y0=E(X.y0),X._y1=E(X.y1),X._hoverX=k(X.x1-N.tiling.pad),X._hoverY=E($?X.y1-N.tiling.pad/2:X.y0+N.tiling.pad/2);var Q=d.select(this),re=g.ensureSingle(Q,"path","surface",function(ce){ce.style("pointer-events",F?"none":"all")});b?re.transition().attrTween("d",function(ce){var ye=I(ce,s,te(),[S,_],{orientation:N.tiling.orientation,flipX:N.tiling.flip.indexOf("x")>-1,flipY:N.tiling.flip.indexOf("y")>-1});return function(de){return x(ye(de))}}):re.attr("d",x),Q.call(u,m,c,h,{styleOne:f,eventDataKeys:l.eventDataKeys,transitionTime:l.CLICK_TRANSITION_TIME,transitionEasing:l.CLICK_TRANSITION_EASING}).call(a.setSliceCursor,c,{isTransitioning:c._transitioning}),re.call(f,X,N,{hovered:!1}),X.x0===X.x1||X.y0===X.y1?X._text="":X._text=o(X,m,N,h,B)||"";var ie=g.ensureSingle(Q,"g","slicetext"),oe=g.ensureSingle(ie,"text","",function(ce){ce.attr("data-notex",1)}),ue=g.ensureUniformFontSize(c,a.determineTextFont(N,X,B.font));oe.text(X._text||" ").classed("slicetext",!0).attr("text-anchor",j?"end":W?"start":"middle").call(i.font,ue).call(M.convertToTspans,c),X.textBB=i.bBox(oe.node()),X.transform=A(X,{fontSize:ue.size}),X.transform.fontSize=ue.size,b?oe.transition().attrTween("transform",function(ce){var ye=O(ce,s,te(),[S,_]);return function(de){return L(ye(de))}}):oe.attr("transform",L(X))}),H}},69816:function(T,p,t){T.exports={moduleType:"trace",name:"icicle",basePlotModule:t(96346),categories:[],animatable:!0,attributes:t(46291),layoutAttributes:t(92894),supplyDefaults:t(56524),supplyLayoutDefaults:t(21070),calc:t(46584).y,crossTraceCalc:t(46584).T,plot:t(85596),style:t(82454).style,colorbar:t(4898),meta:{}}},92894:function(T){T.exports={iciclecolorway:{valType:"colorlist",editType:"calc"},extendiciclecolors:{valType:"boolean",dflt:!0,editType:"calc"}}},21070:function(T,p,t){var d=t(71828),g=t(92894);T.exports=function(i,M){function v(f,l){return d.coerce(i,M,g,f,l)}v("iciclecolorway",M.colorway),v("extendiciclecolors")}},21538:function(T,p,t){var d=t(674),g=t(14102);T.exports=function(i,M,v){var f=v.flipX,l=v.flipY,a=v.orientation==="h",u=v.maxDepth,o=M[0],s=M[1];u&&(o=(i.height+1)*M[0]/Math.min(i.height+1,u),s=(i.height+1)*M[1]/Math.min(i.height+1,u));var c=d.partition().padding(v.pad.inner).size(a?[M[1],o]:[M[0],s])(i);return(a||f||l)&&g(c,M,{swapXY:a,flipX:f,flipY:l}),c}},85596:function(T,p,t){var d=t(80694),g=t(90666);T.exports=function(i,M,v,f){return d(i,M,v,f,{type:"icicle",drawDescendants:g})}},82454:function(T,p,t){var d=t(39898),g=t(7901),i=t(71828),M=t(72597).resizeText;function v(f,l,a){var u=l.data.data,o=!l.children,s=u.i,c=i.castOption(a,s,"marker.line.color")||g.defaultLine,h=i.castOption(a,s,"marker.line.width")||0;f.style("stroke-width",h).call(g.fill,u.color).call(g.stroke,c).style("opacity",o?a.leaf.opacity:null)}T.exports={style:function(f){var l=f._fullLayout._iciclelayer.selectAll(".trace");M(f,l,"icicle"),l.each(function(a){var u=d.select(this),o=a[0].trace;u.style("opacity",o.opacity),u.selectAll("path.surface").each(function(s){d.select(this).call(v,s,o)})})},styleOne:v}},17230:function(T,p,t){for(var d=t(9012),g=t(5386).fF,i=t(1426).extendFlat,M=t(51877).colormodel,v=["rgb","rgba","rgba256","hsl","hsla"],f=[],l=[],a=0;a0||d.inbox(f-l.y0,f-(l.y0+l.h*a.dy),0)>0)){var s,c=Math.floor((v-l.x0)/a.dx),h=Math.floor(Math.abs(f-l.y0)/a.dy);if(a._hasZ?s=l.z[h][c]:a._hasSource&&(s=a._canvas.el.getContext("2d",{willReadFrequently:!0}).getImageData(c,h,1,1).data),s){var m,w=l.hi||a.hoverinfo;if(w){var y=w.split("+");y.indexOf("all")!==-1&&(y=["color"]),y.indexOf("color")!==-1&&(m=!0)}var S,_=i.colormodel[a.colormodel],k=_.colormodel||a.colormodel,E=k.length,x=a._scaler(s),A=_.suffix,L=[];(a.hovertemplate||m)&&(L.push("["+[x[0]+A[0],x[1]+A[1],x[2]+A[2]].join(", ")),E===4&&L.push(", "+x[3]+A[3]),L.push("]"),L=L.join(""),M.extraText=k.toUpperCase()+": "+L),Array.isArray(a.hovertext)&&Array.isArray(a.hovertext[h])?S=a.hovertext[h][c]:Array.isArray(a.text)&&Array.isArray(a.text[h])&&(S=a.text[h][c]);var b=o.c2p(l.y0+(h+.5)*a.dy),R=l.x0+(c+.5)*a.dx,I=l.y0+(h+.5)*a.dy,O="["+s.slice(0,a.colormodel.length).join(", ")+"]";return[g.extendFlat(M,{index:[h,c],x0:u.c2p(l.x0+c*a.dx),x1:u.c2p(l.x0+(c+1)*a.dx),y0:b,y1:b,color:x,xVal:R,xLabelVal:R,yVal:I,yLabelVal:I,zLabelVal:O,text:S,hovertemplateLabels:{zLabel:O,colorLabel:L,"color[0]Label":x[0]+A[0],"color[1]Label":x[1]+A[1],"color[2]Label":x[2]+A[2],"color[3]Label":x[3]+A[3]}})]}}}},94507:function(T,p,t){T.exports={attributes:t(17230),supplyDefaults:t(13245),calc:t(71113),plot:t(60775),style:t(12826),hoverPoints:t(28749),eventData:t(30835),moduleType:"trace",name:"image",basePlotModule:t(93612),categories:["cartesian","svg","2dMap","noSortingByValue"],animatable:!1,meta:{}}},60775:function(T,p,t){var d=t(39898),g=t(71828),i=g.strTranslate,M=t(77922),v=t(51877),f=g.isIOS()||g.isSafari()||g.isIE();T.exports=function(l,a,u,o){var s=a.xaxis,c=a.yaxis,h=!(f||l._context._exportedPlot);g.makeTraceGroups(o,u,"im").each(function(m){var w=d.select(this),y=m[0],S=y.trace,_=(S.zsmooth==="fast"||S.zsmooth===!1&&h)&&!S._hasZ&&S._hasSource&&s.type==="linear"&&c.type==="linear";S._realImage=_;var k,E,x,A,L,b,R=y.z,I=y.x0,O=y.y0,z=y.w,F=y.h,B=S.dx,N=S.dy;for(b=0;k===void 0&&b0;)E=s.c2p(I+b*B),b--;for(b=0;A===void 0&&b0;)L=c.c2p(O+b*N),b--;Eq[0];if(H||ne){var te=k+W/2,Z=A+j/2;U+="transform:"+i(te+"px",Z+"px")+"scale("+(H?-1:1)+","+(ne?-1:1)+")"+i(-te+"px",-Z+"px")+";"}}$.attr("style",U);var X=new Promise(function(re){if(S._hasZ)re();else if(S._hasSource)if(S._canvas&&S._canvas.el.width===z&&S._canvas.el.height===F&&S._canvas.source===S.source)re();else{var ie=document.createElement("canvas");ie.width=z,ie.height=F;var oe=ie.getContext("2d",{willReadFrequently:!0});S._image=S._image||new Image;var ue=S._image;ue.onload=function(){oe.drawImage(ue,0,0),S._canvas={el:ie,source:S.source},re()},ue.setAttribute("src",S.source)}}).then(function(){var re,ie;if(S._hasZ)ie=Q(function(ue,ce){return R[ce][ue]}),re=ie.toDataURL("image/png");else if(S._hasSource)if(_)re=S.source;else{var oe=S._canvas.el.getContext("2d",{willReadFrequently:!0}).getImageData(0,0,z,F).data;ie=Q(function(ue,ce){var ye=4*(ce*z+ue);return[oe[ye],oe[ye+1],oe[ye+2],oe[ye+3]]}),re=ie.toDataURL("image/png")}$.attr({"xlink:href":re,height:j,width:W,x:k,y:A})});l._promises.push(X)}function Q(re){var ie=document.createElement("canvas");ie.width=W,ie.height=j;var oe,ue=ie.getContext("2d",{willReadFrequently:!0}),ce=function(Ce){return g.constrain(Math.round(s.c2p(I+Ce*B)-k),0,W)},ye=function(Ce){return g.constrain(Math.round(c.c2p(O+Ce*N)-A),0,j)},de=v.colormodel[S.colormodel],me=de.colormodel||S.colormodel,pe=de.fmt;for(b=0;b0}function x(I){I.each(function(O){y.stroke(d.select(this),O.line.color)}).each(function(O){y.fill(d.select(this),O.color)}).style("stroke-width",function(O){return O.line.width})}function A(I,O,z){var F=I._fullLayout,B=M.extendFlat({type:"linear",ticks:"outside",range:z,showline:!0},O),N={type:"linear",_id:"x"+O._id},W={letter:"x",font:F.font,noHover:!0,noTickson:!0};function j($,U){return M.coerce(B,N,w,$,U)}return h(B,N,j,W,F),m(B,N,j,W),N}function L(I,O,z){return[Math.min(O/I.width,z/I.height),I,O+"x"+z]}function b(I,O,z,F){var B=document.createElementNS("http://www.w3.org/2000/svg","text"),N=d.select(B);return N.text(I).attr("x",0).attr("y",0).attr("text-anchor",z).attr("data-unformatted",I).call(s.convertToTspans,F).call(u.font,O),u.bBox(N.node())}function R(I,O,z,F,B,N){var W="_cache"+O;I[W]&&I[W].key===B||(I[W]={key:B,value:z});var j=M.aggNums(N,null,[I[W].value,F],2);return I[W].value=j,j}T.exports=function(I,O,z,F){var B,N=I._fullLayout;E(z)&&F&&(B=F()),M.makeTraceGroups(N._indicatorlayer,O,"trace").each(function(W){var j,$,U,G,q,H=W[0].trace,ne=d.select(this),te=H._hasGauge,Z=H._isAngular,X=H._isBullet,Q=H.domain,re={w:N._size.w*(Q.x[1]-Q.x[0]),h:N._size.h*(Q.y[1]-Q.y[0]),l:N._size.l+N._size.w*Q.x[0],r:N._size.r+N._size.w*(1-Q.x[1]),t:N._size.t+N._size.h*(1-Q.y[1]),b:N._size.b+N._size.h*Q.y[0]},ie=re.l+re.w/2,oe=re.t+re.h/2,ue=Math.min(re.w/2,re.h),ce=o.innerRadius*ue,ye=H.align||"center";if($=oe,te){if(Z&&(j=ie,$=oe+ue/2,U=function(Se){return function(Ce,ae){return[ae/Math.sqrt(Ce.width/2*(Ce.width/2)+Ce.height*Ce.height),Ce,ae]}(Se,.9*ce)}),X){var de=o.bulletPadding,me=1-o.bulletNumberDomainSize+de;j=re.l+(me+(1-me)*_[ye])*re.w,U=function(Se){return L(Se,(o.bulletNumberDomainSize-de)*re.w,re.h)}}}else j=re.l+_[ye]*re.w,U=function(Se){return L(Se,re.w,re.h)};(function(Se,Ce,ae,fe){var be,ke,Le,Be=ae[0].trace,ze=fe.numbersX,je=fe.numbersY,ge=Be.align||"center",we=S[ge],Ee=fe.transitionOpts,Ve=fe.onComplete,$e=M.ensureSingle(Ce,"g","numbers"),Ye=[];Be._hasNumber&&Ye.push("number"),Be._hasDelta&&(Ye.push("delta"),Be.delta.position==="left"&&Ye.reverse());var st=$e.selectAll("text").data(Ye);function ot(Bt,qt,Vt,Ke){if(!Bt.match("s")||Vt>=0==Ke>=0||qt(Vt).slice(-1).match(k)||qt(Ke).slice(-1).match(k))return qt;var Je=Bt.slice().replace("s","f").replace(/\d+/,function(nt){return parseInt(nt)-1}),qe=A(Se,{tickformat:Je});return function(nt){return Math.abs(nt)<1?c.tickText(qe,nt).text:qt(nt)}}st.enter().append("text"),st.attr("text-anchor",function(){return we}).attr("class",function(Bt){return Bt}).attr("x",null).attr("y",null).attr("dx",null).attr("dy",null),st.exit().remove();var ht,bt=Be.mode+Be.align;if(Be._hasDelta&&(ht=function(){var Bt=A(Se,{tickformat:Be.delta.valueformat},Be._range);Bt.setScale(),c.prepTicks(Bt);var qt=function(Ne){return c.tickText(Bt,Ne).text},Vt=Be.delta.suffix,Ke=Be.delta.prefix,Je=function(Ne){return Be.delta.relative?Ne.relativeDelta:Ne.delta},qe=function(Ne,Qe){return Ne===0||typeof Ne!="number"||isNaN(Ne)?"-":(Ne>0?Be.delta.increasing.symbol:Be.delta.decreasing.symbol)+Ke+Qe(Ne)+Vt},nt=function(Ne){return Ne.delta>=0?Be.delta.increasing.color:Be.delta.decreasing.color};Be._deltaLastValue===void 0&&(Be._deltaLastValue=Je(ae[0]));var ft=$e.select("text.delta");function Re(){ft.text(qe(Je(ae[0]),qt)).call(y.fill,nt(ae[0])).call(s.convertToTspans,Se)}return ft.call(u.font,Be.delta.font).call(y.fill,nt({delta:Be._deltaLastValue})),E(Ee)?ft.transition().duration(Ee.duration).ease(Ee.easing).tween("text",function(){var Ne=d.select(this),Qe=Je(ae[0]),ut=Be._deltaLastValue,dt=ot(Be.delta.valueformat,qt,ut,Qe),_t=i(ut,Qe);return Be._deltaLastValue=Qe,function(It){Ne.text(qe(_t(It),dt)),Ne.call(y.fill,nt({delta:_t(It)}))}}).each("end",function(){Re(),Ve&&Ve()}).each("interrupt",function(){Re(),Ve&&Ve()}):Re(),ke=b(qe(Je(ae[0]),qt),Be.delta.font,we,Se),ft}(),bt+=Be.delta.position+Be.delta.font.size+Be.delta.font.family+Be.delta.valueformat,bt+=Be.delta.increasing.symbol+Be.delta.decreasing.symbol,Le=ke),Be._hasNumber&&(function(){var Bt=A(Se,{tickformat:Be.number.valueformat},Be._range);Bt.setScale(),c.prepTicks(Bt);var qt=function(nt){return c.tickText(Bt,nt).text},Vt=Be.number.suffix,Ke=Be.number.prefix,Je=$e.select("text.number");function qe(){var nt=typeof ae[0].y=="number"?Ke+qt(ae[0].y)+Vt:"-";Je.text(nt).call(u.font,Be.number.font).call(s.convertToTspans,Se)}E(Ee)?Je.transition().duration(Ee.duration).ease(Ee.easing).each("end",function(){qe(),Ve&&Ve()}).each("interrupt",function(){qe(),Ve&&Ve()}).attrTween("text",function(){var nt=d.select(this),ft=i(ae[0].lastY,ae[0].y);Be._lastValue=ae[0].y;var Re=ot(Be.number.valueformat,qt,ae[0].lastY,ae[0].y);return function(Ne){nt.text(Ke+Re(ft(Ne))+Vt)}}):qe(),be=b(Ke+qt(ae[0].y)+Vt,Be.number.font,we,Se)}(),bt+=Be.number.font.size+Be.number.font.family+Be.number.valueformat+Be.number.suffix+Be.number.prefix,Le=be),Be._hasDelta&&Be._hasNumber){var Et,kt,xt=[(be.left+be.right)/2,(be.top+be.bottom)/2],Ft=[(ke.left+ke.right)/2,(ke.top+ke.bottom)/2],Ot=.75*Be.delta.font.size;Be.delta.position==="left"&&(Et=R(Be,"deltaPos",0,-1*(be.width*_[Be.align]+ke.width*(1-_[Be.align])+Ot),bt,Math.min),kt=xt[1]-Ft[1],Le={width:be.width+ke.width+Ot,height:Math.max(be.height,ke.height),left:ke.left+Et,right:be.right,top:Math.min(be.top,ke.top+kt),bottom:Math.max(be.bottom,ke.bottom+kt)}),Be.delta.position==="right"&&(Et=R(Be,"deltaPos",0,be.width*(1-_[Be.align])+ke.width*_[Be.align]+Ot,bt,Math.max),kt=xt[1]-Ft[1],Le={width:be.width+ke.width+Ot,height:Math.max(be.height,ke.height),left:be.left,right:ke.right+Et,top:Math.min(be.top,ke.top+kt),bottom:Math.max(be.bottom,ke.bottom+kt)}),Be.delta.position==="bottom"&&(Et=null,kt=ke.height,Le={width:Math.max(be.width,ke.width),height:be.height+ke.height,left:Math.min(be.left,ke.left),right:Math.max(be.right,ke.right),top:be.bottom-be.height,bottom:be.bottom+ke.height}),Be.delta.position==="top"&&(Et=null,kt=be.top,Le={width:Math.max(be.width,ke.width),height:be.height+ke.height,left:Math.min(be.left,ke.left),right:Math.max(be.right,ke.right),top:be.bottom-be.height-ke.height,bottom:be.bottom}),ht.attr({dx:Et,dy:kt})}(Be._hasNumber||Be._hasDelta)&&$e.attr("transform",function(){var Bt=fe.numbersScaler(Le);bt+=Bt[2];var qt,Vt=R(Be,"numbersScale",1,Bt[0],bt,Math.min);Be._scaleNumbers||(Vt=1),qt=Be._isAngular?je-Vt*Le.bottom:je-Vt*(Le.top+Le.bottom)/2,Be._numbersTop=Vt*Le.top+qt;var Ke=Le[ge];ge==="center"&&(Ke=(Le.left+Le.right)/2);var Je=ze-Vt*Ke;return Je=R(Be,"numbersTranslate",0,Je,bt,Math.max),f(Je,qt)+v(Vt)})})(I,ne,W,{numbersX:j,numbersY:$,numbersScaler:U,transitionOpts:z,onComplete:B}),te&&(G={range:H.gauge.axis.range,color:H.gauge.bgcolor,line:{color:H.gauge.bordercolor,width:0},thickness:1},q={range:H.gauge.axis.range,color:"rgba(0, 0, 0, 0)",line:{color:H.gauge.bordercolor,width:H.gauge.borderwidth},thickness:1});var pe=ne.selectAll("g.angular").data(Z?W:[]);pe.exit().remove();var xe=ne.selectAll("g.angularaxis").data(Z?W:[]);xe.exit().remove(),Z&&function(Se,Ce,ae,fe){var be,ke,Le,Be,ze=ae[0].trace,je=fe.size,ge=fe.radius,we=fe.innerRadius,Ee=fe.gaugeBg,Ve=fe.gaugeOutline,$e=[je.l+je.w/2,je.t+je.h/2+ge/2],Ye=fe.gauge,st=fe.layer,ot=fe.transitionOpts,ht=fe.onComplete,bt=Math.PI/2;function Et(It){var Lt=ze.gauge.axis.range[0],yt=(It-Lt)/(ze.gauge.axis.range[1]-Lt)*Math.PI-bt;return yt<-bt?-bt:yt>bt?bt:yt}function kt(It){return d.svg.arc().innerRadius((we+ge)/2-It/2*(ge-we)).outerRadius((we+ge)/2+It/2*(ge-we)).startAngle(-bt)}function xt(It){It.attr("d",function(Lt){return kt(Lt.thickness).startAngle(Et(Lt.range[0])).endAngle(Et(Lt.range[1]))()})}Ye.enter().append("g").classed("angular",!0),Ye.attr("transform",f($e[0],$e[1])),st.enter().append("g").classed("angularaxis",!0).classed("crisp",!0),st.selectAll("g.xangularaxistick,path,text").remove(),(be=A(Se,ze.gauge.axis)).type="linear",be.range=ze.gauge.axis.range,be._id="xangularaxis",be.ticklabeloverflow="allow",be.setScale();var Ft=function(It){return(be.range[0]-It.x)/(be.range[1]-be.range[0])*Math.PI+Math.PI},Ot={},Bt=c.makeLabelFns(be,0).labelStandoff;Ot.xFn=function(It){var Lt=Ft(It);return Math.cos(Lt)*Bt},Ot.yFn=function(It){var Lt=Ft(It),yt=Math.sin(Lt)>0?.2:1;return-Math.sin(Lt)*(Bt+It.fontSize*yt)+Math.abs(Math.cos(Lt))*(It.fontSize*a)},Ot.anchorFn=function(It){var Lt=Ft(It),yt=Math.cos(Lt);return Math.abs(yt)<.1?"middle":yt>0?"start":"end"},Ot.heightFn=function(It,Lt,yt){var Pt=Ft(It);return-.5*(1+Math.sin(Pt))*yt};var qt=function(It){return f($e[0]+ge*Math.cos(It),$e[1]-ge*Math.sin(It))};if(Le=function(It){return qt(Ft(It))},ke=c.calcTicks(be),Be=c.getTickSigns(be)[2],be.visible){Be=be.ticks==="inside"?-1:1;var Vt=(be.linewidth||1)/2;c.drawTicks(Se,be,{vals:ke,layer:st,path:"M"+Be*Vt+",0h"+Be*be.ticklen,transFn:function(It){var Lt=Ft(It);return qt(Lt)+"rotate("+-l(Lt)+")"}}),c.drawLabels(Se,be,{vals:ke,layer:st,transFn:Le,labelFns:Ot})}var Ke=[Ee].concat(ze.gauge.steps),Je=Ye.selectAll("g.bg-arc").data(Ke);Je.enter().append("g").classed("bg-arc",!0).append("path"),Je.select("path").call(xt).call(x),Je.exit().remove();var qe=kt(ze.gauge.bar.thickness),nt=Ye.selectAll("g.value-arc").data([ze.gauge.bar]);nt.enter().append("g").classed("value-arc",!0).append("path");var ft,Re,Ne,Qe=nt.select("path");E(ot)?(Qe.transition().duration(ot.duration).ease(ot.easing).each("end",function(){ht&&ht()}).each("interrupt",function(){ht&&ht()}).attrTween("d",(ft=qe,Re=Et(ae[0].lastY),Ne=Et(ae[0].y),function(){var It=g(Re,Ne);return function(Lt){return ft.endAngle(It(Lt))()}})),ze._lastValue=ae[0].y):Qe.attr("d",typeof ae[0].y=="number"?qe.endAngle(Et(ae[0].y)):"M0,0Z"),Qe.call(x),nt.exit().remove(),Ke=[];var ut=ze.gauge.threshold.value;(ut||ut===0)&&Ke.push({range:[ut,ut],color:ze.gauge.threshold.color,line:{color:ze.gauge.threshold.line.color,width:ze.gauge.threshold.line.width},thickness:ze.gauge.threshold.thickness});var dt=Ye.selectAll("g.threshold-arc").data(Ke);dt.enter().append("g").classed("threshold-arc",!0).append("path"),dt.select("path").call(xt).call(x),dt.exit().remove();var _t=Ye.selectAll("g.gauge-outline").data([Ve]);_t.enter().append("g").classed("gauge-outline",!0).append("path"),_t.select("path").call(xt).call(x),_t.exit().remove()}(I,0,W,{radius:ue,innerRadius:ce,gauge:pe,layer:xe,size:re,gaugeBg:G,gaugeOutline:q,transitionOpts:z,onComplete:B});var Pe=ne.selectAll("g.bullet").data(X?W:[]);Pe.exit().remove();var _e=ne.selectAll("g.bulletaxis").data(X?W:[]);_e.exit().remove(),X&&function(Se,Ce,ae,fe){var be,ke,Le,Be,ze,je=ae[0].trace,ge=fe.gauge,we=fe.layer,Ee=fe.gaugeBg,Ve=fe.gaugeOutline,$e=fe.size,Ye=je.domain,st=fe.transitionOpts,ot=fe.onComplete;ge.enter().append("g").classed("bullet",!0),ge.attr("transform",f($e.l,$e.t)),we.enter().append("g").classed("bulletaxis",!0).classed("crisp",!0),we.selectAll("g.xbulletaxistick,path,text").remove();var ht=$e.h,bt=je.gauge.bar.thickness*ht,Et=Ye.x[0],kt=Ye.x[0]+(Ye.x[1]-Ye.x[0])*(je._hasNumber||je._hasDelta?1-o.bulletNumberDomainSize:1);function xt(Je){Je.attr("width",function(qe){return Math.max(0,be.c2p(qe.range[1])-be.c2p(qe.range[0]))}).attr("x",function(qe){return be.c2p(qe.range[0])}).attr("y",function(qe){return .5*(1-qe.thickness)*ht}).attr("height",function(qe){return qe.thickness*ht})}(be=A(Se,je.gauge.axis))._id="xbulletaxis",be.domain=[Et,kt],be.setScale(),ke=c.calcTicks(be),Le=c.makeTransTickFn(be),Be=c.getTickSigns(be)[2],ze=$e.t+$e.h,be.visible&&(c.drawTicks(Se,be,{vals:be.ticks==="inside"?c.clipEnds(be,ke):ke,layer:we,path:c.makeTickPath(be,ze,Be),transFn:Le}),c.drawLabels(Se,be,{vals:ke,layer:we,transFn:Le,labelFns:c.makeLabelFns(be,ze)}));var Ft=[Ee].concat(je.gauge.steps),Ot=ge.selectAll("g.bg-bullet").data(Ft);Ot.enter().append("g").classed("bg-bullet",!0).append("rect"),Ot.select("rect").call(xt).call(x),Ot.exit().remove();var Bt=ge.selectAll("g.value-bullet").data([je.gauge.bar]);Bt.enter().append("g").classed("value-bullet",!0).append("rect"),Bt.select("rect").attr("height",bt).attr("y",(ht-bt)/2).call(x),E(st)?Bt.select("rect").transition().duration(st.duration).ease(st.easing).each("end",function(){ot&&ot()}).each("interrupt",function(){ot&&ot()}).attr("width",Math.max(0,be.c2p(Math.min(je.gauge.axis.range[1],ae[0].y)))):Bt.select("rect").attr("width",typeof ae[0].y=="number"?Math.max(0,be.c2p(Math.min(je.gauge.axis.range[1],ae[0].y))):0),Bt.exit().remove();var qt=ae.filter(function(){return je.gauge.threshold.value||je.gauge.threshold.value===0}),Vt=ge.selectAll("g.threshold-bullet").data(qt);Vt.enter().append("g").classed("threshold-bullet",!0).append("line"),Vt.select("line").attr("x1",be.c2p(je.gauge.threshold.value)).attr("x2",be.c2p(je.gauge.threshold.value)).attr("y1",(1-je.gauge.threshold.thickness)/2*ht).attr("y2",(1-(1-je.gauge.threshold.thickness)/2)*ht).call(y.stroke,je.gauge.threshold.line.color).style("stroke-width",je.gauge.threshold.line.width),Vt.exit().remove();var Ke=ge.selectAll("g.gauge-outline").data([Ve]);Ke.enter().append("g").classed("gauge-outline",!0).append("rect"),Ke.select("rect").call(xt).call(x),Ke.exit().remove()}(I,0,W,{gauge:Pe,layer:_e,size:re,gaugeBg:G,gaugeOutline:q,transitionOpts:z,onComplete:B});var Me=ne.selectAll("text.title").data(W);Me.exit().remove(),Me.enter().append("text").classed("title",!0),Me.attr("text-anchor",function(){return X?S.right:S[H.title.align]}).text(H.title.text).call(u.font,H.title.font).call(s.convertToTspans,I),Me.attr("transform",function(){var Se,Ce=re.l+re.w*_[H.title.align],ae=o.titlePadding,fe=u.bBox(Me.node());return te?(Z&&(Se=H.gauge.axis.visible?u.bBox(xe.node()).top-ae-fe.bottom:re.t+re.h/2-ue/2-fe.bottom-ae),X&&(Se=$-(fe.top+fe.bottom)/2,Ce=re.l-o.bulletPadding*re.w)):Se=H._numbersTop-ae-fe.bottom,f(Ce,Se)})})}},16249:function(T,p,t){var d=t(50693),g=t(12663).axisHoverFormat,i=t(5386).fF,M=t(2418),v=t(9012),f=t(1426).extendFlat,l=t(30962).overrideAll,a=T.exports=l(f({x:{valType:"data_array"},y:{valType:"data_array"},z:{valType:"data_array"},value:{valType:"data_array"},isomin:{valType:"number"},isomax:{valType:"number"},surface:{show:{valType:"boolean",dflt:!0},count:{valType:"integer",dflt:2,min:1},fill:{valType:"number",min:0,max:1,dflt:1},pattern:{valType:"flaglist",flags:["A","B","C","D","E"],extras:["all","odd","even"],dflt:"all"}},spaceframe:{show:{valType:"boolean",dflt:!1},fill:{valType:"number",min:0,max:1,dflt:.15}},slices:{x:{show:{valType:"boolean",dflt:!1},locations:{valType:"data_array",dflt:[]},fill:{valType:"number",min:0,max:1,dflt:1}},y:{show:{valType:"boolean",dflt:!1},locations:{valType:"data_array",dflt:[]},fill:{valType:"number",min:0,max:1,dflt:1}},z:{show:{valType:"boolean",dflt:!1},locations:{valType:"data_array",dflt:[]},fill:{valType:"number",min:0,max:1,dflt:1}}},caps:{x:{show:{valType:"boolean",dflt:!0},fill:{valType:"number",min:0,max:1,dflt:1}},y:{show:{valType:"boolean",dflt:!0},fill:{valType:"number",min:0,max:1,dflt:1}},z:{show:{valType:"boolean",dflt:!0},fill:{valType:"number",min:0,max:1,dflt:1}}},text:{valType:"string",dflt:"",arrayOk:!0},hovertext:{valType:"string",dflt:"",arrayOk:!0},hovertemplate:i(),xhoverformat:g("x"),yhoverformat:g("y"),zhoverformat:g("z"),valuehoverformat:g("value",1),showlegend:f({},v.showlegend,{dflt:!1})},d("",{colorAttr:"`value`",showScaleDflt:!0,editTypeOverride:"calc"}),{opacity:M.opacity,lightposition:M.lightposition,lighting:M.lighting,flatshading:M.flatshading,contour:M.contour,hoverinfo:f({},v.hoverinfo)}),"calc","nested");a.flatshading.dflt=!0,a.lighting.facenormalsepsilon.dflt=0,a.x.editType=a.y.editType=a.z.editType=a.value.editType="calc+clearAxisTypes",a.transforms=void 0},56959:function(T,p,t){var d=t(78803),g=t(88489).processGrid,i=t(88489).filter;T.exports=function(M,v){v._len=Math.min(v.x.length,v.y.length,v.z.length,v.value.length),v._x=i(v.x,v._len),v._y=i(v.y,v._len),v._z=i(v.z,v._len),v._value=i(v.value,v._len);var f=g(v);v._gridFill=f.fill,v._Xs=f.Xs,v._Ys=f.Ys,v._Zs=f.Zs,v._len=f.len;for(var l=1/0,a=-1/0,u=0;u0;h--){var m=Math.min(c[h],c[h-1]),w=Math.max(c[h],c[h-1]);if(w>m&&m-1}function ie(je,ge){return je===null?ge:je}function oe(je,ge,we){ne();var Ee,Ve,$e,Ye=[ge],st=[we];if(_>=1)Ye=[ge],st=[we];else if(_>0){var ot=function(qt,Vt){var Ke=qt[0],Je=qt[1],qe=qt[2],nt=function(It,Lt,yt){for(var Pt=[],wt=0;wt-1?we[Et]:H(kt,xt,Ft);bt[Et]=Bt>-1?Bt:Z(kt,xt,Ft,ie(je,Ot))}Ee=bt[0],Ve=bt[1],$e=bt[2],s._meshI.push(Ee),s._meshJ.push(Ve),s._meshK.push($e),++R}}function ue(je,ge,we,Ee){var Ve=je[3];VeEe&&(Ve=Ee);for(var $e=(je[3]-Ve)/(je[3]-ge[3]+1e-9),Ye=[],st=0;st<4;st++)Ye[st]=(1-$e)*je[st]+$e*ge[st];return Ye}function ce(je,ge,we){return je>=ge&&je<=we}function ye(je){var ge=.001*(q-G);return je>=G-ge&&je<=q+ge}function de(je){for(var ge=[],we=0;we<4;we++){var Ee=je[we];ge.push([s._x[Ee],s._y[Ee],s._z[Ee],s._value[Ee]])}return ge}function me(je,ge,we,Ee,Ve,$e){$e||($e=1),we=[-1,-1,-1];var Ye=!1,st=[ce(ge[0][3],Ee,Ve),ce(ge[1][3],Ee,Ve),ce(ge[2][3],Ee,Ve)];if(!st[0]&&!st[1]&&!st[2])return!1;var ot=function(bt,Et,kt){return ye(Et[0][3])&&ye(Et[1][3])&&ye(Et[2][3])?(oe(bt,Et,kt),!0):$e<3&&me(bt,Et,kt,G,q,++$e)};if(st[0]&&st[1]&&st[2])return ot(je,ge,we)||Ye;var ht=!1;return[[0,1,2],[2,0,1],[1,2,0]].forEach(function(bt){if(st[bt[0]]&&st[bt[1]]&&!st[bt[2]]){var Et=ge[bt[0]],kt=ge[bt[1]],xt=ge[bt[2]],Ft=ue(xt,Et,Ee,Ve),Ot=ue(xt,kt,Ee,Ve);Ye=ot(je,[Ot,Ft,Et],[-1,-1,we[bt[0]]])||Ye,Ye=ot(je,[Et,kt,Ot],[we[bt[0]],we[bt[1]],-1])||Ye,ht=!0}}),ht||[[0,1,2],[1,2,0],[2,0,1]].forEach(function(bt){if(st[bt[0]]&&!st[bt[1]]&&!st[bt[2]]){var Et=ge[bt[0]],kt=ge[bt[1]],xt=ge[bt[2]],Ft=ue(kt,Et,Ee,Ve),Ot=ue(xt,Et,Ee,Ve);Ye=ot(je,[Ot,Ft,Et],[-1,-1,we[bt[0]]])||Ye,ht=!0}}),Ye}function pe(je,ge,we,Ee){var Ve=!1,$e=de(ge),Ye=[ce($e[0][3],we,Ee),ce($e[1][3],we,Ee),ce($e[2][3],we,Ee),ce($e[3][3],we,Ee)];if(!(Ye[0]||Ye[1]||Ye[2]||Ye[3]))return Ve;if(Ye[0]&&Ye[1]&&Ye[2]&&Ye[3])return b&&(Ve=function(ot,ht,bt){var Et=function(kt,xt,Ft){oe(ot,[ht[kt],ht[xt],ht[Ft]],[bt[kt],bt[xt],bt[Ft]])};Et(0,1,2),Et(3,0,1),Et(2,3,0),Et(1,2,3)}(je,$e,ge)||Ve),Ve;var st=!1;return[[0,1,2,3],[3,0,1,2],[2,3,0,1],[1,2,3,0]].forEach(function(ot){if(Ye[ot[0]]&&Ye[ot[1]]&&Ye[ot[2]]&&!Ye[ot[3]]){var ht=$e[ot[0]],bt=$e[ot[1]],Et=$e[ot[2]],kt=$e[ot[3]];if(b)Ve=oe(je,[ht,bt,Et],[ge[ot[0]],ge[ot[1]],ge[ot[2]]])||Ve;else{var xt=ue(kt,ht,we,Ee),Ft=ue(kt,bt,we,Ee),Ot=ue(kt,Et,we,Ee);Ve=oe(null,[xt,Ft,Ot],[-1,-1,-1])||Ve}st=!0}}),st||([[0,1,2,3],[1,2,3,0],[2,3,0,1],[3,0,1,2],[0,2,3,1],[1,3,2,0]].forEach(function(ot){if(Ye[ot[0]]&&Ye[ot[1]]&&!Ye[ot[2]]&&!Ye[ot[3]]){var ht=$e[ot[0]],bt=$e[ot[1]],Et=$e[ot[2]],kt=$e[ot[3]],xt=ue(Et,ht,we,Ee),Ft=ue(Et,bt,we,Ee),Ot=ue(kt,bt,we,Ee),Bt=ue(kt,ht,we,Ee);b?(Ve=oe(je,[ht,Bt,xt],[ge[ot[0]],-1,-1])||Ve,Ve=oe(je,[bt,Ft,Ot],[ge[ot[1]],-1,-1])||Ve):Ve=function(qt,Vt,Ke){var Je=function(qe,nt,ft){oe(null,[Vt[qe],Vt[nt],Vt[ft]],[Ke[qe],Ke[nt],Ke[ft]])};Je(0,1,2),Je(2,3,0)}(0,[xt,Ft,Ot,Bt],[-1,-1,-1,-1])||Ve,st=!0}}),st||[[0,1,2,3],[1,2,3,0],[2,3,0,1],[3,0,1,2]].forEach(function(ot){if(Ye[ot[0]]&&!Ye[ot[1]]&&!Ye[ot[2]]&&!Ye[ot[3]]){var ht=$e[ot[0]],bt=$e[ot[1]],Et=$e[ot[2]],kt=$e[ot[3]],xt=ue(bt,ht,we,Ee),Ft=ue(Et,ht,we,Ee),Ot=ue(kt,ht,we,Ee);b?(Ve=oe(je,[ht,xt,Ft],[ge[ot[0]],-1,-1])||Ve,Ve=oe(je,[ht,Ft,Ot],[ge[ot[0]],-1,-1])||Ve,Ve=oe(je,[ht,Ot,xt],[ge[ot[0]],-1,-1])||Ve):Ve=oe(null,[xt,Ft,Ot],[-1,-1,-1])||Ve,st=!0}})),Ve}function xe(je,ge,we,Ee,Ve,$e,Ye,st,ot,ht,bt){var Et=!1;return L&&(re(je,"A")&&(Et=pe(null,[ge,we,Ee,$e],ht,bt)||Et),re(je,"B")&&(Et=pe(null,[we,Ee,Ve,ot],ht,bt)||Et),re(je,"C")&&(Et=pe(null,[we,$e,Ye,ot],ht,bt)||Et),re(je,"D")&&(Et=pe(null,[Ee,$e,st,ot],ht,bt)||Et),re(je,"E")&&(Et=pe(null,[we,Ee,$e,ot],ht,bt)||Et)),b&&(Et=pe(je,[we,Ee,$e,ot],ht,bt)||Et),Et}function Pe(je,ge,we,Ee,Ve,$e,Ye,st){return[st[0]===!0||me(je,de([ge,we,Ee]),[ge,we,Ee],$e,Ye),st[1]===!0||me(je,de([Ee,Ve,ge]),[Ee,Ve,ge],$e,Ye)]}function _e(je,ge,we,Ee,Ve,$e,Ye,st,ot){return st?Pe(je,ge,we,Ve,Ee,$e,Ye,ot):Pe(je,we,Ve,Ee,ge,$e,Ye,ot)}function Me(je,ge,we,Ee,Ve,$e,Ye){var st,ot,ht,bt,Et=!1,kt=function(){Et=me(je,[st,ot,ht],[-1,-1,-1],Ve,$e)||Et,Et=me(je,[ht,bt,st],[-1,-1,-1],Ve,$e)||Et},xt=Ye[0],Ft=Ye[1],Ot=Ye[2];return xt&&(st=X(de([j(ge,we-0,Ee-0)])[0],de([j(ge-1,we-0,Ee-0)])[0],xt),ot=X(de([j(ge,we-0,Ee-1)])[0],de([j(ge-1,we-0,Ee-1)])[0],xt),ht=X(de([j(ge,we-1,Ee-1)])[0],de([j(ge-1,we-1,Ee-1)])[0],xt),bt=X(de([j(ge,we-1,Ee-0)])[0],de([j(ge-1,we-1,Ee-0)])[0],xt),kt()),Ft&&(st=X(de([j(ge-0,we,Ee-0)])[0],de([j(ge-0,we-1,Ee-0)])[0],Ft),ot=X(de([j(ge-0,we,Ee-1)])[0],de([j(ge-0,we-1,Ee-1)])[0],Ft),ht=X(de([j(ge-1,we,Ee-1)])[0],de([j(ge-1,we-1,Ee-1)])[0],Ft),bt=X(de([j(ge-1,we,Ee-0)])[0],de([j(ge-1,we-1,Ee-0)])[0],Ft),kt()),Ot&&(st=X(de([j(ge-0,we-0,Ee)])[0],de([j(ge-0,we-0,Ee-1)])[0],Ot),ot=X(de([j(ge-0,we-1,Ee)])[0],de([j(ge-0,we-1,Ee-1)])[0],Ot),ht=X(de([j(ge-1,we-1,Ee)])[0],de([j(ge-1,we-1,Ee-1)])[0],Ot),bt=X(de([j(ge-1,we-0,Ee)])[0],de([j(ge-1,we-0,Ee-1)])[0],Ot),kt()),Et}function Se(je,ge,we,Ee,Ve,$e,Ye,st,ot,ht,bt,Et){var kt=je;return Et?(L&&je==="even"&&(kt=null),xe(kt,ge,we,Ee,Ve,$e,Ye,st,ot,ht,bt)):(L&&je==="odd"&&(kt=null),xe(kt,ot,st,Ye,$e,Ve,Ee,we,ge,ht,bt))}function Ce(je,ge,we,Ee,Ve){for(var $e=[],Ye=0,st=0;stMath.abs($e-U)?[$,$e]:[$e,U];L=!0,be(ge,Ye[0],Ye[1]),L=!1}}var st=[[Math.min(G,U),Math.max(G,U)],[Math.min($,q),Math.max($,q)]];["x","y","z"].forEach(function(ot){for(var ht=[],bt=0;bt0&&(Bt.push(Ke.id),ot==="x"?qt.push([Ke.distRatio,0,0]):ot==="y"?qt.push([0,Ke.distRatio,0]):qt.push([0,0,Ke.distRatio]))}else Ot=ze(1,ot==="x"?F-1:ot==="y"?B-1:N-1);Bt.length>0&&(ht[Et]=ot==="x"?ke(je,Bt,kt,xt,qt,ht[Et]):ot==="y"?Le(je,Bt,kt,xt,qt,ht[Et]):Be(je,Bt,kt,xt,qt,ht[Et]),Et++),Ot.length>0&&(ht[Et]=ot==="x"?Ce(je,Ot,kt,xt,ht[Et]):ot==="y"?ae(je,Ot,kt,xt,ht[Et]):fe(je,Ot,kt,xt,ht[Et]),Et++)}var Je=s.caps[ot];Je.show&&Je.fill&&(Q(Je.fill),ht[Et]=ot==="x"?Ce(je,[0,F-1],kt,xt,ht[Et]):ot==="y"?ae(je,[0,B-1],kt,xt,ht[Et]):fe(je,[0,N-1],kt,xt,ht[Et]),Et++)}}),R===0&&te(),s._meshX=m,s._meshY=w,s._meshZ=y,s._meshIntensity=S,s._Xs=I,s._Ys=O,s._Zs=z}(),s}T.exports={findNearestOnAxis:f,generateIsoMeshes:o,createIsosurfaceTrace:function(s,c){var h=s.glplot.gl,m=d({gl:h}),w=new l(s,m,c.uid);return m._trace=w,w.update(c),s.glplot.add(m),w}}},82738:function(T,p,t){var d=t(71828),g=t(73972),i=t(16249),M=t(1586);function v(f,l,a,u,o){var s=o("isomin"),c=o("isomax");c!=null&&s!=null&&s>c&&(l.isomin=null,l.isomax=null);var h=o("x"),m=o("y"),w=o("z"),y=o("value");h&&h.length&&m&&m.length&&w&&w.length&&y&&y.length?(g.getComponentMethod("calendars","handleTraceDefaults")(f,l,["x","y","z"],u),o("valuehoverformat"),["x","y","z"].forEach(function(S){o(S+"hoverformat");var _="caps."+S;o(_+".show")&&o(_+".fill");var k="slices."+S;o(k+".show")&&(o(k+".fill"),o(k+".locations"))}),o("spaceframe.show")&&o("spaceframe.fill"),o("surface.show")&&(o("surface.count"),o("surface.fill"),o("surface.pattern")),o("contour.show")&&(o("contour.color"),o("contour.width")),["text","hovertext","hovertemplate","lighting.ambient","lighting.diffuse","lighting.specular","lighting.roughness","lighting.fresnel","lighting.vertexnormalsepsilon","lighting.facenormalsepsilon","lightposition.x","lightposition.y","lightposition.z","flatshading","opacity"].forEach(function(S){o(S)}),M(f,l,u,o,{prefix:"",cLetter:"c"}),l._length=null):l.visible=!1}T.exports={supplyDefaults:function(f,l,a,u){v(f,l,0,u,function(o,s){return d.coerce(f,l,i,o,s)})},supplyIsoDefaults:v}},64943:function(T,p,t){T.exports={attributes:t(16249),supplyDefaults:t(82738).supplyDefaults,calc:t(56959),colorbar:{min:"cmin",max:"cmax"},plot:t(22674).createIsosurfaceTrace,moduleType:"trace",name:"isosurface",basePlotModule:t(58547),categories:["gl3d","showLegend"],meta:{}}},2418:function(T,p,t){var d=t(50693),g=t(12663).axisHoverFormat,i=t(5386).fF,M=t(54532),v=t(9012),f=t(1426).extendFlat;T.exports=f({x:{valType:"data_array",editType:"calc+clearAxisTypes"},y:{valType:"data_array",editType:"calc+clearAxisTypes"},z:{valType:"data_array",editType:"calc+clearAxisTypes"},i:{valType:"data_array",editType:"calc"},j:{valType:"data_array",editType:"calc"},k:{valType:"data_array",editType:"calc"},text:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"calc"},hovertemplate:i({editType:"calc"}),xhoverformat:g("x"),yhoverformat:g("y"),zhoverformat:g("z"),delaunayaxis:{valType:"enumerated",values:["x","y","z"],dflt:"z",editType:"calc"},alphahull:{valType:"number",dflt:-1,editType:"calc"},intensity:{valType:"data_array",editType:"calc"},intensitymode:{valType:"enumerated",values:["vertex","cell"],dflt:"vertex",editType:"calc"},color:{valType:"color",editType:"calc"},vertexcolor:{valType:"data_array",editType:"calc"},facecolor:{valType:"data_array",editType:"calc"},transforms:void 0},d("",{colorAttr:"`intensity`",showScaleDflt:!0,editTypeOverride:"calc"}),{opacity:M.opacity,flatshading:{valType:"boolean",dflt:!1,editType:"calc"},contour:{show:f({},M.contours.x.show,{}),color:M.contours.x.color,width:M.contours.x.width,editType:"calc"},lightposition:{x:f({},M.lightposition.x,{dflt:1e5}),y:f({},M.lightposition.y,{dflt:1e5}),z:f({},M.lightposition.z,{dflt:0}),editType:"calc"},lighting:f({vertexnormalsepsilon:{valType:"number",min:0,max:1,dflt:1e-12,editType:"calc"},facenormalsepsilon:{valType:"number",min:0,max:1,dflt:1e-6,editType:"calc"},editType:"calc"},M.lighting),hoverinfo:f({},v.hoverinfo,{editType:"calc"}),showlegend:f({},v.showlegend,{dflt:!1})})},82932:function(T,p,t){var d=t(78803);T.exports=function(g,i){i.intensity&&d(g,i,{vals:i.intensity,containerStr:"",cLetter:"c"})}},91134:function(T,p,t){var d=t(9330).gl_mesh3d,g=t(9330).delaunay_triangulate,i=t(9330).alpha_shape,M=t(9330).convex_hull,v=t(81697).parseColorScale,f=t(78614),l=t(21081).extractOpts,a=t(90060);function u(w,y,S){this.scene=w,this.uid=S,this.mesh=y,this.name="",this.color="#fff",this.data=null,this.showContour=!1}var o=u.prototype;function s(w){for(var y=[],S=w.length,_=0;_=y-.5)return!1;return!0}o.handlePick=function(w){if(w.object===this.mesh){var y=w.index=w.data.index;w.data._cellCenter?w.traceCoordinate=w.data.dataCoordinate:w.traceCoordinate=[this.data.x[y],this.data.y[y],this.data.z[y]];var S=this.data.hovertext||this.data.text;return Array.isArray(S)&&S[y]!==void 0?w.textLabel=S[y]:S&&(w.textLabel=S),!0}},o.update=function(w){var y=this.scene,S=y.fullSceneLayout;this.data=w;var _,k=w.x.length,E=a(c(S.xaxis,w.x,y.dataScale[0],w.xcalendar),c(S.yaxis,w.y,y.dataScale[1],w.ycalendar),c(S.zaxis,w.z,y.dataScale[2],w.zcalendar));if(w.i&&w.j&&w.k){if(w.i.length!==w.j.length||w.j.length!==w.k.length||!m(w.i,k)||!m(w.j,k)||!m(w.k,k))return;_=a(h(w.i),h(w.j),h(w.k))}else _=w.alphahull===0?M(E):w.alphahull>0?i(w.alphahull,E):function(b,R){for(var I=["x","y","z"].indexOf(b),O=[],z=R.length,F=0;Fx):E=F>I,x=F;var B=h(I,O,z,F);B.pos=R,B.yc=(I+F)/2,B.i=b,B.dir=E?"increasing":"decreasing",B.x=B.pos,B.y=[z,O],A&&(B.orig_p=o[b]),_&&(B.tx=u.text[b]),k&&(B.htx=u.hovertext[b]),L.push(B)}else L.push({pos:R,empty:!0})}return u._extremes[c._id]=i.findExtremes(c,d.concat(y,w),{padded:!0}),L.length&&(L[0].t={labels:{open:g(a,"open:")+" ",high:g(a,"high:")+" ",low:g(a,"low:")+" ",close:g(a,"close:")+" "}}),L}T.exports={calc:function(a,u){var o=i.getFromId(a,u.xaxis),s=i.getFromId(a,u.yaxis),c=function(S,_,k){var E=k._minDiff;if(!E){var x,A=S._fullData,L=[];for(E=1/0,x=0;x"+_.labels[O]+d.hoverLabelText(y,z,S.yhoverformat):((I=g.extendFlat({},E)).y0=I.y1=F,I.yLabelVal=z,I.yLabel=_.labels[O]+d.hoverLabelText(y,z,S.yhoverformat),I.name="",k.push(I),b[z]=I)}return k}function o(s,c,h,m){var w=s.cd,y=s.ya,S=w[0].trace,_=w[0].t,k=a(s,c,h,m);if(!k)return[];var E=w[k.index],x=k.index=E.i,A=E.dir;function L(B){return _.labels[B]+d.hoverLabelText(y,S[B][x],S.yhoverformat)}var b=E.hi||S.hoverinfo,R=b.split("+"),I=b==="all",O=I||R.indexOf("y")!==-1,z=I||R.indexOf("text")!==-1,F=O?[L("open"),L("high"),L("low"),L("close")+" "+l[A]]:[];return z&&v(E,S,F),k.extraText=F.join("
"),k.y0=k.y1=y.c2p(E.yc,!0),[k]}T.exports={hoverPoints:function(s,c,h,m){return s.cd[0].trace.hoverlabel.split?u(s,c,h,m):o(s,c,h,m)},hoverSplit:u,hoverOnPoints:o}},54186:function(T,p,t){T.exports={moduleType:"trace",name:"ohlc",basePlotModule:t(93612),categories:["cartesian","svg","showLegend"],meta:{},attributes:t(2522),supplyDefaults:t(16169),calc:t(3485).calc,plot:t(72314),style:t(53101),hoverPoints:t(66449).hoverPoints,selectPoints:t(67324)}},14555:function(T,p,t){var d=t(73972),g=t(71828);T.exports=function(i,M,v,f){var l=v("x"),a=v("open"),u=v("high"),o=v("low"),s=v("close");if(v("hoverlabel.split"),d.getComponentMethod("calendars","handleTraceDefaults")(i,M,["x"],f),a&&u&&o&&s){var c=Math.min(a.length,u.length,o.length,s.length);return l&&(c=Math.min(c,g.minRowLength(l))),M._length=c,c}}},72314:function(T,p,t){var d=t(39898),g=t(71828);T.exports=function(i,M,v,f){var l=M.yaxis,a=M.xaxis,u=!!a.rangebreaks;g.makeTraceGroups(f,v,"trace ohlc").each(function(o){var s=d.select(this),c=o[0],h=c.t;if(c.trace.visible!==!0||h.empty)s.remove();else{var m=h.tickLen,w=s.selectAll("path").data(g.identity);w.enter().append("path"),w.exit().remove(),w.attr("d",function(y){if(y.empty)return"M0,0Z";var S=a.c2p(y.pos-m,!0),_=a.c2p(y.pos+m,!0),k=u?(S+_)/2:a.c2p(y.pos,!0);return"M"+S+","+l.c2p(y.o,!0)+"H"+k+"M"+k+","+l.c2p(y.h,!0)+"V"+l.c2p(y.l,!0)+"M"+_+","+l.c2p(y.c,!0)+"H"+k})}})}},67324:function(T){T.exports=function(p,t){var d,g=p.cd,i=p.xaxis,M=p.yaxis,v=[],f=g[0].t.bPos||0;if(t===!1)for(d=0;d=Z.length||X[Z[Q]]!==void 0)return!1;X[Z[Q]]=!0}return!0}(te))for(ne=0;ne0;y&&(m="array");var S=s("categoryorder",m);S==="array"?(s("categoryarray"),s("ticktext")):(delete u.categoryarray,delete u.ticktext),y||S!=="array"||(o.categoryorder="trace")}}T.exports=function(u,o,s,c){function h(_,k){return d.coerce(u,o,f,_,k)}var m=v(u,o,{name:"dimensions",handleItemDefaults:a}),w=function(_,k,E,x,A){A("line.shape"),A("line.hovertemplate");var L=A("line.color",x.colorway[0]);if(g(_,"line")&&d.isArrayOrTypedArray(L)){if(L.length)return A("line.colorscale"),i(_,k,x,A,{prefix:"line.",cLetter:"c"}),L.length;k.line.color=E}return 1/0}(u,o,s,c,h);M(o,c,h),Array.isArray(m)&&m.length||(o.visible=!1),l(o,m,"values",w),h("hoveron"),h("hovertemplate"),h("arrangement"),h("bundlecolors"),h("sortpaths"),h("counts");var y={family:c.font.family,size:Math.round(c.font.size),color:c.font.color};d.coerceFont(h,"labelfont",y);var S={family:c.font.family,size:Math.round(c.font.size/1.2),color:c.font.color};d.coerceFont(h,"tickfont",S)}},94873:function(T,p,t){T.exports={attributes:t(99506),supplyDefaults:t(14647),calc:t(28699),plot:t(45784),colorbar:{container:"line",min:"cmin",max:"cmax"},moduleType:"trace",name:"parcats",basePlotModule:t(27677),categories:["noOpacity"],meta:{}}},45460:function(T,p,t){var d=t(39898),g=t(81684).k4,i=t(72391),M=t(30211),v=t(71828),f=v.strTranslate,l=t(91424),a=t(84267),u=t(63893);function o(te,Z,X,Q){var re=Z._context.staticPlot,ie=te.map(U.bind(0,Z,X)),oe=Q.selectAll("g.parcatslayer").data([null]);oe.enter().append("g").attr("class","parcatslayer").style("pointer-events",re?"none":"all");var ue=oe.selectAll("g.trace.parcats").data(ie,s),ce=ue.enter().append("g").attr("class","trace parcats");ue.attr("transform",function(Se){return f(Se.x,Se.y)}),ce.append("g").attr("class","paths");var ye=ue.select("g.paths").selectAll("path.path").data(function(Se){return Se.paths},s);ye.attr("fill",function(Se){return Se.model.color});var de=ye.enter().append("path").attr("class","path").attr("stroke-opacity",0).attr("fill",function(Se){return Se.model.color}).attr("fill-opacity",0);k(de),ye.attr("d",function(Se){return Se.svgD}),de.empty()||ye.sort(h),ye.exit().remove(),ye.on("mouseover",m).on("mouseout",w).on("click",_),ce.append("g").attr("class","dimensions");var me=ue.select("g.dimensions").selectAll("g.dimension").data(function(Se){return Se.dimensions},s);me.enter().append("g").attr("class","dimension"),me.attr("transform",function(Se){return f(Se.x,0)}),me.exit().remove();var pe=me.selectAll("g.category").data(function(Se){return Se.categories},s),xe=pe.enter().append("g").attr("class","category");pe.attr("transform",function(Se){return f(0,Se.y)}),xe.append("rect").attr("class","catrect").attr("pointer-events","none"),pe.select("rect.catrect").attr("fill","none").attr("width",function(Se){return Se.width}).attr("height",function(Se){return Se.height}),x(xe);var Pe=pe.selectAll("rect.bandrect").data(function(Se){return Se.bands},s);Pe.each(function(){v.raiseToTop(this)}),Pe.attr("fill",function(Se){return Se.color});var _e=Pe.enter().append("rect").attr("class","bandrect").attr("stroke-opacity",0).attr("fill",function(Se){return Se.color}).attr("fill-opacity",0);Pe.attr("fill",function(Se){return Se.color}).attr("width",function(Se){return Se.width}).attr("height",function(Se){return Se.height}).attr("y",function(Se){return Se.y}).attr("cursor",function(Se){return Se.parcatsViewModel.arrangement==="fixed"?"default":Se.parcatsViewModel.arrangement==="perpendicular"?"ns-resize":"move"}),A(_e),Pe.exit().remove(),xe.append("text").attr("class","catlabel").attr("pointer-events","none");var Me=Z._fullLayout.paper_bgcolor;pe.select("text.catlabel").attr("text-anchor",function(Se){return c(Se)?"start":"end"}).attr("alignment-baseline","middle").style("text-shadow",u.makeTextShadow(Me)).style("fill","rgb(0, 0, 0)").attr("x",function(Se){return c(Se)?Se.width+5:-5}).attr("y",function(Se){return Se.height/2}).text(function(Se){return Se.model.categoryLabel}).each(function(Se){l.font(d.select(this),Se.parcatsViewModel.categorylabelfont),u.convertToTspans(d.select(this),Z)}),xe.append("text").attr("class","dimlabel"),pe.select("text.dimlabel").attr("text-anchor","middle").attr("alignment-baseline","baseline").attr("cursor",function(Se){return Se.parcatsViewModel.arrangement==="fixed"?"default":"ew-resize"}).attr("x",function(Se){return Se.width/2}).attr("y",-5).text(function(Se,Ce){return Ce===0?Se.parcatsViewModel.model.dimensions[Se.model.dimensionInd].dimensionLabel:null}).each(function(Se){l.font(d.select(this),Se.parcatsViewModel.labelfont)}),pe.selectAll("rect.bandrect").on("mouseover",O).on("mouseout",z),pe.exit().remove(),me.call(d.behavior.drag().origin(function(Se){return{x:Se.x,y:0}}).on("dragstart",F).on("drag",B).on("dragend",N)),ue.each(function(Se){Se.traceSelection=d.select(this),Se.pathSelection=d.select(this).selectAll("g.paths").selectAll("path.path"),Se.dimensionSelection=d.select(this).selectAll("g.dimensions").selectAll("g.dimension")}),ue.exit().remove()}function s(te){return te.key}function c(te){var Z=te.parcatsViewModel.dimensions.length,X=te.parcatsViewModel.dimensions[Z-1].model.dimensionInd;return te.model.dimensionInd===X}function h(te,Z){return te.model.rawColor>Z.model.rawColor?1:te.model.rawColor"),ke=d.mouse(ue)[0];M.loneHover({trace:ce,x:Pe-de.left+me.left,y:_e-de.top+me.top,text:be,color:te.model.color,borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontSize:10,fontColor:Me,idealAlign:ke1&&me.displayInd===de.dimensions.length-1?(Q=ce.left,re="left"):(Q=ce.left+ce.width,re="right");var Pe=ye.model.count,_e=ye.model.categoryLabel,Me=Pe/ye.parcatsViewModel.model.count,Se={countLabel:Pe,categoryLabel:_e,probabilityLabel:Me.toFixed(3)},Ce=[];ye.parcatsViewModel.hoverinfoItems.indexOf("count")!==-1&&Ce.push(["Count:",Se.countLabel].join(" ")),ye.parcatsViewModel.hoverinfoItems.indexOf("probability")!==-1&&Ce.push(["P("+Se.categoryLabel+"):",Se.probabilityLabel].join(" "));var ae=Ce.join("
");return{trace:pe,x:ie*(Q-Z.left),y:oe*(xe-Z.top),text:ae,color:"lightgray",borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontSize:12,fontColor:"black",idealAlign:re,hovertemplate:pe.hovertemplate,hovertemplateLabels:Se,eventData:[{data:pe._input,fullData:pe,count:Pe,category:_e,probability:Me}]}}function O(te){if(!te.parcatsViewModel.dragDimension&&te.parcatsViewModel.hoverinfoItems.indexOf("skip")===-1){if(d.mouse(this)[1]<-1)return;var Z,X=te.parcatsViewModel.graphDiv,Q=X._fullLayout,re=Q._paperdiv.node().getBoundingClientRect(),ie=te.parcatsViewModel.hoveron,oe=this;ie==="color"?(function(ue){var ce=d.select(ue).datum(),ye=L(ce);E(ye),ye.each(function(){v.raiseToTop(this)}),d.select(ue.parentNode).selectAll("rect.bandrect").filter(function(de){return de.color===ce.color}).each(function(){v.raiseToTop(this),d.select(this).attr("stroke","black").attr("stroke-width",1.5)})}(oe),R(oe,"plotly_hover",d.event)):(function(ue){d.select(ue.parentNode).selectAll("rect.bandrect").each(function(ce){var ye=L(ce);E(ye),ye.each(function(){v.raiseToTop(this)})}),d.select(ue.parentNode).select("rect.catrect").attr("stroke","black").attr("stroke-width",2.5)}(oe),b(oe,"plotly_hover",d.event)),te.parcatsViewModel.hoverinfoItems.indexOf("none")===-1&&(ie==="category"?Z=I(X,re,oe):ie==="color"?Z=function(ue,ce,ye){ue._fullLayout._calcInverseTransform(ue);var de,me,pe=ue._fullLayout._invScaleX,xe=ue._fullLayout._invScaleY,Pe=ye.getBoundingClientRect(),_e=d.select(ye).datum(),Me=_e.categoryViewModel,Se=Me.parcatsViewModel,Ce=Se.model.dimensions[Me.model.dimensionInd],ae=Se.trace,fe=Pe.y+Pe.height/2;Se.dimensions.length>1&&Ce.displayInd===Se.dimensions.length-1?(de=Pe.left,me="left"):(de=Pe.left+Pe.width,me="right");var be=Me.model.categoryLabel,ke=_e.parcatsViewModel.model.count,Le=0;_e.categoryViewModel.bands.forEach(function(st){st.color===_e.color&&(Le+=st.count)});var Be=Me.model.count,ze=0;Se.pathSelection.each(function(st){st.model.color===_e.color&&(ze+=st.model.count)});var je=Le/ke,ge=Le/ze,we=Le/Be,Ee={countLabel:ke,categoryLabel:be,probabilityLabel:je.toFixed(3)},Ve=[];Me.parcatsViewModel.hoverinfoItems.indexOf("count")!==-1&&Ve.push(["Count:",Ee.countLabel].join(" ")),Me.parcatsViewModel.hoverinfoItems.indexOf("probability")!==-1&&(Ve.push("P(color ∩ "+be+"): "+Ee.probabilityLabel),Ve.push("P("+be+" | color): "+ge.toFixed(3)),Ve.push("P(color | "+be+"): "+we.toFixed(3)));var $e=Ve.join("
"),Ye=a.mostReadable(_e.color,["black","white"]);return{trace:ae,x:pe*(de-ce.left),y:xe*(fe-ce.top),text:$e,color:_e.color,borderColor:"black",fontFamily:'Monaco, "Courier New", monospace',fontColor:Ye,fontSize:10,idealAlign:me,hovertemplate:ae.hovertemplate,hovertemplateLabels:Ee,eventData:[{data:ae._input,fullData:ae,category:be,count:ke,probability:je,categorycount:Be,colorcount:ze,bandcolorcount:Le}]}}(X,re,oe):ie==="dimension"&&(Z=function(ue,ce,ye){var de=[];return d.select(ye.parentNode.parentNode).selectAll("g.category").select("rect.catrect").each(function(){de.push(I(ue,ce,this))}),de}(X,re,oe)),Z&&M.loneHover(Z,{container:Q._hoverlayer.node(),outerContainer:Q._paper.node(),gd:X}))}}function z(te){var Z=te.parcatsViewModel;Z.dragDimension||(k(Z.pathSelection),x(Z.dimensionSelection.selectAll("g.category")),A(Z.dimensionSelection.selectAll("g.category").selectAll("rect.bandrect")),M.loneUnhover(Z.graphDiv._fullLayout._hoverlayer.node()),Z.pathSelection.sort(h),Z.hoverinfoItems.indexOf("skip")!==-1)||(te.parcatsViewModel.hoveron==="color"?R(this,"plotly_unhover",d.event):b(this,"plotly_unhover",d.event))}function F(te){te.parcatsViewModel.arrangement!=="fixed"&&(te.dragDimensionDisplayInd=te.model.displayInd,te.initialDragDimensionDisplayInds=te.parcatsViewModel.model.dimensions.map(function(Z){return Z.displayInd}),te.dragHasMoved=!1,te.dragCategoryDisplayInd=null,d.select(this).selectAll("g.category").select("rect.catrect").each(function(Z){var X=d.mouse(this)[0],Q=d.mouse(this)[1];-2<=X&&X<=Z.width+2&&-2<=Q&&Q<=Z.height+2&&(te.dragCategoryDisplayInd=Z.model.displayInd,te.initialDragCategoryDisplayInds=te.model.categories.map(function(re){return re.displayInd}),Z.model.dragY=Z.y,v.raiseToTop(this.parentNode),d.select(this.parentNode).selectAll("rect.bandrect").each(function(re){re.yde.y+de.height/2&&(ie.model.displayInd=de.model.displayInd,de.model.displayInd=ue),te.dragCategoryDisplayInd=ie.model.displayInd}if(te.dragCategoryDisplayInd===null||te.parcatsViewModel.arrangement==="freeform"){re.model.dragX=d.event.x;var me=te.parcatsViewModel.dimensions[X],pe=te.parcatsViewModel.dimensions[Q];me!==void 0&&re.model.dragXpe.x&&(re.model.displayInd=pe.model.displayInd,pe.model.displayInd=te.dragDimensionDisplayInd),te.dragDimensionDisplayInd=re.model.displayInd}H(te.parcatsViewModel),q(te.parcatsViewModel),$(te.parcatsViewModel),j(te.parcatsViewModel)}}function N(te){if(te.parcatsViewModel.arrangement!=="fixed"&&te.dragDimensionDisplayInd!==null){d.select(this).selectAll("text").attr("font-weight","normal");var Z={},X=W(te.parcatsViewModel),Q=te.parcatsViewModel.model.dimensions.map(function(de){return de.displayInd}),re=te.initialDragDimensionDisplayInds.some(function(de,me){return de!==Q[me]});re&&Q.forEach(function(de,me){var pe=te.parcatsViewModel.model.dimensions[me].containerInd;Z["dimensions["+pe+"].displayindex"]=de});var ie=!1;if(te.dragCategoryDisplayInd!==null){var oe=te.model.categories.map(function(de){return de.displayInd});if(ie=te.initialDragCategoryDisplayInds.some(function(de,me){return de!==oe[me]})){var ue=te.model.categories.slice().sort(function(de,me){return de.displayInd-me.displayInd}),ce=ue.map(function(de){return de.categoryValue}),ye=ue.map(function(de){return de.categoryLabel});Z["dimensions["+te.model.containerInd+"].categoryarray"]=[ce],Z["dimensions["+te.model.containerInd+"].ticktext"]=[ye],Z["dimensions["+te.model.containerInd+"].categoryorder"]="array"}}te.parcatsViewModel.hoverinfoItems.indexOf("skip")===-1&&!te.dragHasMoved&&te.potentialClickBand&&(te.parcatsViewModel.hoveron==="color"?R(te.potentialClickBand,"plotly_click",d.event.sourceEvent):b(te.potentialClickBand,"plotly_click",d.event.sourceEvent)),te.model.dragX=null,te.dragCategoryDisplayInd!==null&&(te.parcatsViewModel.dimensions[te.dragDimensionDisplayInd].categories[te.dragCategoryDisplayInd].model.dragY=null,te.dragCategoryDisplayInd=null),te.dragDimensionDisplayInd=null,te.parcatsViewModel.dragDimension=null,te.dragHasMoved=null,te.potentialClickBand=null,H(te.parcatsViewModel),q(te.parcatsViewModel),d.transition().duration(300).ease("cubic-in-out").each(function(){$(te.parcatsViewModel,!0),j(te.parcatsViewModel,!0)}).each("end",function(){(re||ie)&&i.restyle(te.parcatsViewModel.graphDiv,Z,[X])})}}function W(te){for(var Z,X=te.graphDiv._fullData,Q=0;Q=0;oe--)ye+="C"+ce[oe]+","+(Z[oe+1]+Q)+" "+ue[oe]+","+(Z[oe]+Q)+" "+(te[oe]+X[oe])+","+(Z[oe]+Q),ye+="l-"+X[oe]+",0 ";return ye+"Z"}function q(te){var Z=te.dimensions,X=te.model,Q=Z.map(function(Ee){return Ee.categories.map(function(Ve){return Ve.y})}),re=te.model.dimensions.map(function(Ee){return Ee.categories.map(function(Ve){return Ve.displayInd})}),ie=te.model.dimensions.map(function(Ee){return Ee.displayInd}),oe=te.dimensions.map(function(Ee){return Ee.model.dimensionInd}),ue=Z.map(function(Ee){return Ee.x}),ce=Z.map(function(Ee){return Ee.width}),ye=[];for(var de in X.paths)X.paths.hasOwnProperty(de)&&ye.push(X.paths[de]);function me(Ee){var Ve=Ee.categoryInds.map(function($e,Ye){return re[Ye][$e]});return oe.map(function($e){return Ve[$e]})}ye.sort(function(Ee,Ve){var $e=me(Ee),Ye=me(Ve);return te.sortpaths==="backward"&&($e.reverse(),Ye.reverse()),$e.push(Ee.valueInds[0]),Ye.push(Ve.valueInds[0]),te.bundlecolors&&($e.unshift(Ee.rawColor),Ye.unshift(Ve.rawColor)),$eYe?1:0});for(var pe=new Array(ye.length),xe=Z[0].model.count,Pe=Z[0].categories.map(function(Ee){return Ee.height}).reduce(function(Ee,Ve){return Ee+Ve}),_e=0;_e0?Pe*(Se.count/xe):0;for(var Ce,ae=new Array(Q.length),fe=0;fe1?(te.width-80-16)/(Q-1):0)*re;var ie,oe,ue,ce,ye,de=[],me=te.model.maxCats,pe=Z.categories.length,xe=Z.count,Pe=te.height-8*(me-1),_e=8*(me-pe)/2,Me=Z.categories.map(function(Se){return{displayInd:Se.displayInd,categoryInd:Se.categoryInd}});for(Me.sort(function(Se,Ce){return Se.displayInd-Ce.displayInd}),ye=0;ye0?oe.count/xe*Pe:0,ue={key:oe.valueInds[0],model:oe,width:16,height:ie,y:oe.dragY!==null?oe.dragY:_e,bands:[],parcatsViewModel:te},_e=_e+ie+8,de.push(ue);return{key:Z.dimensionInd,x:Z.dragX!==null?Z.dragX:X,y:0,width:16,model:Z,categories:de,parcatsViewModel:te,dragCategoryDisplayInd:null,dragDimensionDisplayInd:null,initialDragDimensionDisplayInds:null,initialDragCategoryDisplayInds:null,dragHasMoved:null,potentialClickBand:null}}T.exports=function(te,Z,X,Q){o(X,te,Q,Z)}},45784:function(T,p,t){var d=t(45460);T.exports=function(g,i,M,v){var f=g._fullLayout,l=f._paper,a=f._size;d(g,l,i,{width:a.w,height:a.h,margin:{t:a.t,r:a.r,b:a.b,l:a.l}},M,v)}},73362:function(T,p,t){var d=t(50693),g=t(13838),i=t(41940),M=t(27670).Y,v=t(1426).extendFlat,f=t(44467).templatedArray;T.exports={domain:M({name:"parcoords",trace:!0,editType:"plot"}),labelangle:{valType:"angle",dflt:0,editType:"plot"},labelside:{valType:"enumerated",values:["top","bottom"],dflt:"top",editType:"plot"},labelfont:i({editType:"plot"}),tickfont:i({editType:"plot"}),rangefont:i({editType:"plot"}),dimensions:f("dimension",{label:{valType:"string",editType:"plot"},tickvals:v({},g.tickvals,{editType:"plot"}),ticktext:v({},g.ticktext,{editType:"plot"}),tickformat:v({},g.tickformat,{editType:"plot"}),visible:{valType:"boolean",dflt:!0,editType:"plot"},range:{valType:"info_array",items:[{valType:"number",editType:"plot"},{valType:"number",editType:"plot"}],editType:"plot"},constraintrange:{valType:"info_array",freeLength:!0,dimensions:"1-2",items:[{valType:"any",editType:"plot"},{valType:"any",editType:"plot"}],editType:"plot"},multiselect:{valType:"boolean",dflt:!0,editType:"plot"},values:{valType:"data_array",editType:"calc"},editType:"calc"}),line:v({editType:"calc"},d("line",{colorscaleDflt:"Viridis",autoColorDflt:!1,editTypeOverride:"calc"})),unselected:{line:{color:{valType:"color",dflt:"#7f7f7f",editType:"plot"},opacity:{valType:"number",min:0,max:1,dflt:"auto",editType:"plot"},editType:"plot"},editType:"plot"}}},57920:function(T,p,t){var d=t(25706),g=t(39898),i=t(28984).keyFun,M=t(28984).repeat,v=t(71828).sorterAsc,f=t(71828).strTranslate,l=d.bar.snapRatio;function a(I,O){return I*(1-l)+O*l}var u=d.bar.snapClose;function o(I,O){return I*(1-u)+O*u}function s(I,O,z,F){if(function(ne,te){for(var Z=0;Z=te[Z][0]&&ne<=te[Z][1])return!0;return!1}(z,F))return z;var B=I?-1:1,N=0,W=O.length-1;if(B<0){var j=N;N=W,W=j}for(var $=O[N],U=$,G=N;B*GO){q=z;break}}if(B=U,isNaN(B)&&(B=isNaN(G)||isNaN(q)?isNaN(G)?q:G:O-$[G][1]<$[q][0]-O?G:q),!isNaN(B)){var ne=$[B],te=function(re,ie){var oe=d.bar.handleHeight;if(!(ie>re[1]+oe||ie=.9*re[1]+.1*re[0]?"n":ie<=.9*re[0]+.1*re[1]?"s":"ns"}(ne,O);te&&(N.interval=j[B],N.intervalPix=ne,N.region=te)}}if(I.ordinal&&!N.region){var Z=I.unitTickvals,X=I.unitToPaddedPx.invert(O);for(z=0;z=Q[0]&&X<=Q[1]){N.clickableOrdinalRange=Q;break}}}return N}function E(I,O){g.event.sourceEvent.stopPropagation();var z=O.height-g.mouse(I)[1]-2*d.verticalPadding,F=O.brush.svgBrush;F.wasDragged=!0,F._dragging=!0,F.grabbingBar?F.newExtent=[z-F.grabPoint,z+F.barLength-F.grabPoint].map(O.unitToPaddedPx.invert):F.newExtent=[F.startExtent,O.unitToPaddedPx.invert(z)].sort(v),O.brush.filterSpecified=!0,F.extent=F.stayingIntervals.concat([F.newExtent]),F.brushCallback(O),_(I.parentNode)}function x(I,O){var z=k(O,O.height-g.mouse(I)[1]-2*d.verticalPadding),F="crosshair";z.clickableOrdinalRange?F="pointer":z.region&&(F=z.region+"-resize"),g.select(document.body).style("cursor",F)}function A(I){I.on("mousemove",function(O){g.event.preventDefault(),O.parent.inBrushDrag||x(this,O)}).on("mouseleave",function(O){O.parent.inBrushDrag||y()}).call(g.behavior.drag().on("dragstart",function(O){(function(z,F){g.event.sourceEvent.stopPropagation();var B=F.height-g.mouse(z)[1]-2*d.verticalPadding,N=F.unitToPaddedPx.invert(B),W=F.brush,j=k(F,B),$=j.interval,U=W.svgBrush;if(U.wasDragged=!1,U.grabbingBar=j.region==="ns",U.grabbingBar){var G=$.map(F.unitToPaddedPx);U.grabPoint=B-G[0]-d.verticalPadding,U.barLength=G[1]-G[0]}U.clickableOrdinalRange=j.clickableOrdinalRange,U.stayingIntervals=F.multiselect&&W.filterSpecified?W.filter.getConsolidated():[],$&&(U.stayingIntervals=U.stayingIntervals.filter(function(q){return q[0]!==$[0]&&q[1]!==$[1]})),U.startExtent=j.region?$[j.region==="s"?1:0]:N,F.parent.inBrushDrag=!0,U.brushStartCallback()})(this,O)}).on("drag",function(O){E(this,O)}).on("dragend",function(O){(function(z,F){var B=F.brush,N=B.filter,W=B.svgBrush;W._dragging||(x(z,F),E(z,F),F.brush.svgBrush.wasDragged=!1),W._dragging=!1,g.event.sourceEvent.stopPropagation();var j=W.grabbingBar;if(W.grabbingBar=!1,W.grabLocation=void 0,F.parent.inBrushDrag=!1,y(),!W.wasDragged)return W.wasDragged=void 0,W.clickableOrdinalRange?B.filterSpecified&&F.multiselect?W.extent.push(W.clickableOrdinalRange):(W.extent=[W.clickableOrdinalRange],B.filterSpecified=!0):j?(W.extent=W.stayingIntervals,W.extent.length===0&&b(B)):b(B),W.brushCallback(F),_(z.parentNode),void W.brushEndCallback(B.filterSpecified?N.getConsolidated():[]);var $=function(){N.set(N.getConsolidated())};if(F.ordinal){var U=F.unitTickvals;U[U.length-1]W.newExtent[0];W.extent=W.stayingIntervals.concat(G?[W.newExtent]:[]),W.extent.length||b(B),W.brushCallback(F),G?_(z.parentNode,$):($(),_(z.parentNode))}else $();W.brushEndCallback(B.filterSpecified?N.getConsolidated():[])})(this,O)}))}function L(I,O){return I[0]-O[0]}function b(I){I.filterSpecified=!1,I.svgBrush.extent=[[-1/0,1/0]]}function R(I){for(var O,z=I.slice(),F=[],B=z.shift();B;){for(O=B.slice();(B=z.shift())&&B[0]<=O[1];)O[1]=Math.max(O[1],B[1]);F.push(O)}return F.length===1&&F[0][0]>F[0][1]&&(F=[]),F}T.exports={makeBrush:function(I,O,z,F,B,N){var W,j=function(){var $,U,G=[];return{set:function(q){(G=q.map(function(H){return H.slice().sort(v)}).sort(L)).length===1&&G[0][0]===-1/0&&G[0][1]===1/0&&(G=[[0,-1]]),$=R(G),U=G.reduce(function(H,ne){return[Math.min(H[0],ne[0]),Math.max(H[1],ne[1])]},[1/0,-1/0])},get:function(){return G.slice()},getConsolidated:function(){return $},getBounds:function(){return U}}}();return j.set(z),{filter:j,filterSpecified:O,svgBrush:{extent:[],brushStartCallback:F,brushCallback:(W=B,function($){var U=$.brush,G=function(H){return H.svgBrush.extent.map(function(ne){return ne.slice()})}(U),q=G.slice();U.filter.set(q),W()}),brushEndCallback:N}}},ensureAxisBrush:function(I,O,z){var F=I.selectAll("."+d.cn.axisBrush).data(M,i);F.enter().append("g").classed(d.cn.axisBrush,!0),function(B,N,W){var j=W._context.staticPlot,$=B.selectAll(".background").data(M);$.enter().append("rect").classed("background",!0).call(c).call(h).style("pointer-events",j?"none":"auto").attr("transform",f(0,d.verticalPadding)),$.call(A).attr("height",function(q){return q.height-d.verticalPadding});var U=B.selectAll(".highlight-shadow").data(M);U.enter().append("line").classed("highlight-shadow",!0).attr("x",-d.bar.width/2).attr("stroke-width",d.bar.width+d.bar.strokeWidth).attr("stroke",N).attr("opacity",d.bar.strokeOpacity).attr("stroke-linecap","butt"),U.attr("y1",function(q){return q.height}).call(S);var G=B.selectAll(".highlight").data(M);G.enter().append("line").classed("highlight",!0).attr("x",-d.bar.width/2).attr("stroke-width",d.bar.width-d.bar.strokeWidth).attr("stroke",d.bar.fillColor).attr("opacity",d.bar.fillOpacity).attr("stroke-linecap","butt"),G.attr("y1",function(q){return q.height}).call(S)}(F,O,z)},cleanRanges:function(I,O){if(Array.isArray(I[0])?(I=I.map(function(F){return F.sort(v)}),I=O.multiselect?R(I.sort(L)):[I[0]]):I=[I.sort(v)],O.tickvals){var z=O.tickvals.slice().sort(v);if(!(I=I.map(function(F){var B=[s(0,z,F[0],[]),s(1,z,F[1],[])];if(B[1]>B[0])return B}).filter(function(F){return F})).length)return}return I.length>1?I:I[0]}}},71791:function(T,p,t){T.exports={attributes:t(73362),supplyDefaults:t(3633),calc:t(24639),colorbar:{container:"line",min:"cmin",max:"cmax"},moduleType:"trace",name:"parcoords",basePlotModule:t(49351),categories:["gl","regl","noOpacity","noHover"],meta:{}}},49351:function(T,p,t){var d=t(39898),g=t(27659).a0,i=t(21341),M=t(77922);p.name="parcoords",p.plot=function(v){var f=g(v.calcdata,"parcoords")[0];f.length&&i(v,f)},p.clean=function(v,f,l,a){var u=a._has&&a._has("parcoords"),o=f._has&&f._has("parcoords");u&&!o&&(a._paperdiv.selectAll(".parcoords").remove(),a._glimages.selectAll("*").remove())},p.toSVG=function(v){var f=v._fullLayout._glimages,l=d.select(v).selectAll(".svg-container");l.filter(function(a,u){return u===l.size()-1}).selectAll(".gl-canvas-context, .gl-canvas-focus").each(function(){var a=this,u=a.toDataURL("image/png");f.append("svg:image").attr({xmlns:M.svg,"xlink:href":u,preserveAspectRatio:"none",x:0,y:0,width:a.style.width,height:a.style.height})}),window.setTimeout(function(){d.selectAll("#filterBarPattern").attr("id","filterBarPattern")},60)}},24639:function(T,p,t){var d=t(71828).isArrayOrTypedArray,g=t(21081),i=t(28984).wrap;T.exports=function(M,v){var f,l;return g.hasColorscale(v,"line")&&d(v.line.color)?(f=v.line.color,l=g.extractOpts(v.line).colorscale,g.calc(M,v,{vals:f,containerStr:"line",cLetter:"c"})):(f=function(a){for(var u=new Array(a),o=0;ou&&(d.log("parcoords traces support up to "+u+" dimensions at the moment"),S.splice(u));var _=v(c,h,{name:"dimensions",layout:w,handleItemDefaults:s}),k=function(x,A,L,b,R){var I=R("line.color",L);if(g(x,"line")&&d.isArrayOrTypedArray(I)){if(I.length)return R("line.colorscale"),i(x,A,b,R,{prefix:"line.",cLetter:"c"}),I.length;A.line.color=L}return 1/0}(c,h,m,w,y);M(h,w,y),Array.isArray(_)&&_.length||(h.visible=!1),o(h,_,"values",k);var E={family:w.font.family,size:Math.round(w.font.size/1.2),color:w.font.color};d.coerceFont(y,"labelfont",E),d.coerceFont(y,"tickfont",E),d.coerceFont(y,"rangefont",E),y("labelangle"),y("labelside"),y("unselected.line.color"),y("unselected.line.opacity")}},1602:function(T,p,t){var d=t(71828).isTypedArray;p.convertTypedArray=function(g){return d(g)?Array.prototype.slice.call(g):g},p.isOrdinal=function(g){return!!g.tickvals},p.isVisible=function(g){return g.visible||!("visible"in g)}},67618:function(T,p,t){var d=t(71791);d.plot=t(21341),T.exports=d},83398:function(T,p,t){var d=t(56068),g=d([`precision highp float; ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js #define GLSLIFY 1 varying vec4 fragColor; @@ -207,19 +176,11 @@ varying vec4 fragColor; void main() { gl_FragColor = fragColor; } -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js `]),M=t(25706).maxDimensionCount,v=t(71828),f=new Uint8Array(4),l=new Uint8Array(4),a={shape:[256,1],format:"rgba",type:"uint8",mag:"nearest",min:"nearest"};function u(_,k,E,x,A){var L=_._gl;L.enable(L.SCISSOR_TEST),L.scissor(k,E,x,A),_.clear({color:[0,0,0,0],depth:1})}function o(_,k,E,x,A,L){var b=L.key;E.drawCompleted||(function(R){R.read({x:0,y:0,width:1,height:1,data:f})}(_),E.drawCompleted=!0),function R(I){var O=Math.min(x,A-I*x);I===0&&(window.cancelAnimationFrame(E.currentRafs[b]),delete E.currentRafs[b],u(_,L.scissorX,L.scissorY,L.scissorWidth,L.viewBoxSize[1])),E.clearOnly||(L.count=2*O,L.offset=2*I*x,k(L),I*x+O>>8*k)%256/255}function c(_,k,E){for(var x=new Array(8*k),A=0,L=0;Lie&&(ie=q[te].dim1.canvasX,X=te);Q===0&&u(O,0,0,E.canvasWidth,E.canvasHeight);var oe=function(Me){var Se,Ce,ae,fe=[[],[]];for(ae=0;ae<64;ae++){var be=!Me&&aeoe._length&&(Pe=Pe.slice(0,oe._length));var _e,Me=oe.tickvals;function Se(ke,Le){return{val:ke,text:_e[Le]}}function Ce(ke,Le){return ke.val-Le.val}if(Array.isArray(Me)&&Me.length){_e=oe.ticktext,Array.isArray(_e)&&_e.length?_e.length>Me.length?_e=_e.slice(0,Me.length):Me.length>_e.length&&(Me=Me.slice(0,_e.length)):_e=Me.map(i(oe.tickformat));for(var ae=1;ae=Be||we>=ze)return;var Ee=ke.lineLayer.readPixel(ge,ze-1-we),Ve=Ee[3]!==0,$e=Ve?Ee[2]+256*(Ee[1]+256*Ee[0]):null,Ye={x:ge,y:we,clientX:Le.clientX,clientY:Le.clientY,dataIndex:ke.model.key,curveNumber:$e};$e!==ye&&(Ve?q.hover(Ye):q.unhover&&q.unhover(Ye),ye=$e)}}),ce.style("opacity",function(ke){return ke.pick?0:1}),te.style("background","rgba(255, 255, 255, 0)");var de=te.selectAll("."+y.cn.parcoords).data(ue,h);de.exit().remove(),de.enter().append("g").classed(y.cn.parcoords,!0).style("shape-rendering","crispEdges").style("pointer-events","none"),de.attr("transform",function(ke){return l(ke.model.translateX,ke.model.translateY)});var me=de.selectAll("."+y.cn.parcoordsControlView).data(c,h);me.enter().append("g").classed(y.cn.parcoordsControlView,!0),me.attr("transform",function(ke){return l(ke.model.pad.l,ke.model.pad.t)});var pe=me.selectAll("."+y.cn.yAxis).data(function(ke){return ke.dimensions},h);pe.enter().append("g").classed(y.cn.yAxis,!0),me.each(function(ke){N(pe,ke,X)}),ce.each(function(ke){if(ke.viewModel){!ke.lineLayer||q?ke.lineLayer=_(this,ke):ke.lineLayer.update(ke),(ke.key||ke.key===0)&&(ke.viewModel[ke.key]=ke.lineLayer);var Le=!ke.context||q;ke.lineLayer.render(ke.viewModel.panels,Le)}}),pe.attr("transform",function(ke){return l(ke.xScale(ke.xIndex),0)}),pe.call(d.behavior.drag().origin(function(ke){return ke}).on("drag",function(ke){var Le=ke.parent;oe.linePickActive(!1),ke.x=Math.max(-y.overdrag,Math.min(ke.model.width+y.overdrag,d.event.x)),ke.canvasX=ke.x*ke.model.canvasPixelRatio,pe.sort(function(Be,ze){return Be.x-ze.x}).each(function(Be,ze){Be.xIndex=ze,Be.x=ke===Be?Be.x:Be.xScale(Be.xIndex),Be.canvasX=Be.x*Be.model.canvasPixelRatio}),N(pe,Le,X),pe.filter(function(Be){return Math.abs(ke.xIndex-Be.xIndex)!==0}).attr("transform",function(Be){return l(Be.xScale(Be.xIndex),0)}),d.select(this).attr("transform",l(ke.x,0)),pe.each(function(Be,ze,je){je===ke.parent.key&&(Le.dimensions[ze]=Be)}),Le.contextLayer&&Le.contextLayer.render(Le.panels,!1,!I(Le)),Le.focusLayer.render&&Le.focusLayer.render(Le.panels)}).on("dragend",function(ke){var Le=ke.parent;ke.x=ke.xScale(ke.xIndex),ke.canvasX=ke.x*ke.model.canvasPixelRatio,N(pe,Le,X),d.select(this).attr("transform",function(Be){return l(Be.x,0)}),Le.contextLayer&&Le.contextLayer.render(Le.panels,!1,!I(Le)),Le.focusLayer&&Le.focusLayer.render(Le.panels),Le.pickLayer&&Le.pickLayer.render(Le.panels,!0),oe.linePickActive(!0),q&&q.axesMoved&&q.axesMoved(Le.key,Le.dimensions.map(function(Be){return Be.crossfilterDimensionIndex}))})),pe.exit().remove();var xe=pe.selectAll("."+y.cn.axisOverlays).data(c,h);xe.enter().append("g").classed(y.cn.axisOverlays,!0),xe.selectAll("."+y.cn.axis).remove();var Pe=xe.selectAll("."+y.cn.axis).data(c,h);Pe.enter().append("g").classed(y.cn.axis,!0),Pe.each(function(ke){var Le=ke.model.height/ke.model.tickDistance,Be=ke.domainScale,ze=Be.domain();d.select(this).call(d.svg.axis().orient("left").tickSize(4).outerTickSize(2).ticks(Le,ke.tickFormat).tickValues(ke.ordinal?ze:null).tickFormat(function(je){return w.isOrdinal(ke)?je:W(ke.model.dimensions[ke.visibleIndex],je)}).scale(Be)),u.font(Pe.selectAll("text"),ke.model.tickFont)}),Pe.selectAll(".domain, .tick>line").attr("fill","none").attr("stroke","black").attr("stroke-opacity",.25).attr("stroke-width","1px"),Pe.selectAll("text").style("text-shadow",a.makeTextShadow(Q)).style("cursor","default");var _e=xe.selectAll("."+y.cn.axisHeading).data(c,h);_e.enter().append("g").classed(y.cn.axisHeading,!0);var Me=_e.selectAll("."+y.cn.axisTitle).data(c,h);Me.enter().append("text").classed(y.cn.axisTitle,!0).attr("text-anchor","middle").style("cursor","ew-resize").style("pointer-events",H?"none":"auto"),Me.text(function(ke){return ke.label}).each(function(ke){var Le=d.select(this);u.font(Le,ke.model.labelFont),a.convertToTspans(Le,$)}).attr("transform",function(ke){var Le=B(ke.model.labelAngle,ke.model.labelSide),Be=y.axisTitleOffset;return(Le.dir>0?"":l(0,2*Be+ke.model.height))+f(Le.degrees)+l(-Be*Le.dx,-Be*Le.dy)}).attr("text-anchor",function(ke){var Le=B(ke.model.labelAngle,ke.model.labelSide);return 2*Math.abs(Le.dx)>Math.abs(Le.dy)?Le.dir*Le.dx<0?"start":"end":"middle"});var Se=xe.selectAll("."+y.cn.axisExtent).data(c,h);Se.enter().append("g").classed(y.cn.axisExtent,!0);var Ce=Se.selectAll("."+y.cn.axisExtentTop).data(c,h);Ce.enter().append("g").classed(y.cn.axisExtentTop,!0),Ce.attr("transform",l(0,-y.axisExtentOffset));var ae=Ce.selectAll("."+y.cn.axisExtentTopText).data(c,h);ae.enter().append("text").classed(y.cn.axisExtentTopText,!0).call(F),ae.text(function(ke){return j(ke,!0)}).each(function(ke){u.font(d.select(this),ke.model.rangeFont)});var fe=Se.selectAll("."+y.cn.axisExtentBottom).data(c,h);fe.enter().append("g").classed(y.cn.axisExtentBottom,!0),fe.attr("transform",function(ke){return l(0,ke.model.height+y.axisExtentOffset)});var be=fe.selectAll("."+y.cn.axisExtentBottomText).data(c,h);be.enter().append("text").classed(y.cn.axisExtentBottomText,!0).attr("dy","0.75em").call(F),be.text(function(ke){return j(ke,!1)}).each(function(ke){u.font(d.select(this),ke.model.rangeFont)}),C.ensureAxisBrush(xe,Q,$)}},21341:function(T,p,t){var d=t(17171),g=t(79749),i=t(1602).isVisible,M={};function v(f,l,a){var u=l.indexOf(a),o=f.indexOf(u);return o===-1&&(o+=l.length),o}(T.exports=function(f,l){var a=f._fullLayout;if(g(f,[],M)){var u={},o={},s={},h={},c=a._size;l.forEach(function(m,w){var y=m[0].trace;s[w]=y.index;var C=h[w]=y._fullInput.index;u[w]=f.data[C].dimensions,o[w]=f.data[C].dimensions.slice()}),d(f,l,{width:c.w,height:c.h,margin:{t:c.t,r:c.r,b:c.b,l:c.l}},{filterChanged:function(m,w,y){var C=o[m][w],_=y.map(function(b){return b.slice()}),k="dimensions["+w+"].constraintrange",E=a._tracePreGUI[f._fullData[s[m]]._fullInput.uid];if(E[k]===void 0){var x=C.constraintrange;E[k]=x||null}var A=f._fullData[s[m]].dimensions[w];_.length?(_.length===1&&(_=_[0]),C.constraintrange=_,A.constraintrange=_.slice(),_=[_]):(delete C.constraintrange,delete A.constraintrange,_=null);var L={};L[k]=_,f.emit("plotly_restyle",[L,[h[m]]])},hover:function(m){f.emit("plotly_hover",m)},unhover:function(m){f.emit("plotly_unhover",m)},axesMoved:function(m,w){var y=function(C,_){return function(k,E){return v(C,_,k)-v(C,_,E)}}(w,o[m].filter(i));u[m].sort(y),o[m].filter(function(C){return!i(C)}).sort(function(C){return o[m].indexOf(C)}).forEach(function(C){u[m].splice(u[m].indexOf(C),1),u[m].splice(o[m].indexOf(C),0,C)}),f.emit("plotly_restyle",[{dimensions:[u[m]]},[h[m]]])}})}}).reglPrecompiled=M},34e3:function(T,p,t){var d=t(9012),g=t(27670).Y,i=t(41940),M=t(22399),v=t(5386).fF,f=t(5386).si,l=t(1426).extendFlat,a=i({editType:"plot",arrayOk:!0,colorEditType:"plot"});T.exports={labels:{valType:"data_array",editType:"calc"},label0:{valType:"number",dflt:0,editType:"calc"},dlabel:{valType:"number",dflt:1,editType:"calc"},values:{valType:"data_array",editType:"calc"},marker:{colors:{valType:"data_array",editType:"calc"},line:{color:{valType:"color",dflt:M.defaultLine,arrayOk:!0,editType:"style"},width:{valType:"number",min:0,dflt:0,arrayOk:!0,editType:"style"},editType:"calc"},editType:"calc"},text:{valType:"data_array",editType:"plot"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"style"},scalegroup:{valType:"string",dflt:"",editType:"calc"},textinfo:{valType:"flaglist",flags:["label","text","value","percent"],extras:["none"],editType:"calc"},hoverinfo:l({},d.hoverinfo,{flags:["label","text","value","percent","name"]}),hovertemplate:v({},{keys:["label","color","value","percent","text"]}),texttemplate:f({editType:"plot"},{keys:["label","color","value","percent","text"]}),textposition:{valType:"enumerated",values:["inside","outside","auto","none"],dflt:"auto",arrayOk:!0,editType:"plot"},textfont:l({},a,{}),insidetextorientation:{valType:"enumerated",values:["horizontal","radial","tangential","auto"],dflt:"auto",editType:"plot"},insidetextfont:l({},a,{}),outsidetextfont:l({},a,{}),automargin:{valType:"boolean",dflt:!1,editType:"plot"},title:{text:{valType:"string",dflt:"",editType:"plot"},font:l({},a,{}),position:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],editType:"plot"},editType:"plot"},domain:g({name:"pie",trace:!0,editType:"calc"}),hole:{valType:"number",min:0,max:1,dflt:0,editType:"calc"},sort:{valType:"boolean",dflt:!0,editType:"calc"},direction:{valType:"enumerated",values:["clockwise","counterclockwise"],dflt:"counterclockwise",editType:"calc"},rotation:{valType:"angle",dflt:0,editType:"calc"},pull:{valType:"number",min:0,max:1,dflt:0,arrayOk:!0,editType:"calc"},_deprecated:{title:{valType:"string",dflt:"",editType:"calc"},titlefont:l({},a,{}),titleposition:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],editType:"calc"}}}},13584:function(T,p,t){var d=t(74875);p.name="pie",p.plot=function(g,i,M,v){d.plotBasePlot(p.name,g,i,M,v)},p.clean=function(g,i,M,v){d.cleanBasePlot(p.name,g,i,M,v)}},32354:function(T,p,t){var d=t(92770),g=t(84267),i=t(7901),M={};function v(l){return function(a,u){return!!a&&!!(a=g(a)).isValid()&&(a=i.addOpacity(a,a.getAlpha()),l[u]||(l[u]=a),a)}}function f(l,a){var u,o=JSON.stringify(l),s=a[o];if(!s){for(s=l.slice(),u=0;u=0}),(a.type==="funnelarea"?A:a.sort)&&s.sort(function(O,z){return z.v-O.v}),s[0]&&(s[0].vTotal=x),s},crossTraceCalc:function(l,a){var u=(a||{}).type;u||(u="pie");var o=l._fullLayout,s=l.calcdata,h=o[u+"colorway"],c=o["_"+u+"colormap"];o["extend"+u+"colors"]&&(h=f(h,M));for(var m=0,w=0;w0){h=!0;break}}h||(s=0)}return{hasLabels:u,hasValues:o,len:s}}T.exports={handleLabelsAndValues:f,supplyDefaults:function(l,a,u,o){function s(E,x){return g.coerce(l,a,i,E,x)}var h=f(s("labels"),s("values")),c=h.len;if(a._hasLabels=h.hasLabels,a._hasValues=h.hasValues,!a._hasLabels&&a._hasValues&&(s("label0"),s("dlabel")),c){a._length=c,s("marker.line.width")&&s("marker.line.color"),s("marker.colors"),s("scalegroup");var m,w=s("text"),y=s("texttemplate");if(y||(m=s("textinfo",Array.isArray(w)?"text+percent":"percent")),s("hovertext"),s("hovertemplate"),y||m&&m!=="none"){var C=s("textposition");v(l,a,o,s,C,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),(Array.isArray(C)||C==="auto"||C==="outside")&&s("automargin"),(C==="inside"||C==="auto"||Array.isArray(C))&&s("insidetextorientation")}M(a,o,s);var _=s("hole");if(s("title.text")){var k=s("title.position",_?"middle center":"top center");_||k!=="middle center"||(a.title.position="top center"),g.coerceFont(s,"title.font",o.font)}s("sort"),s("direction"),s("rotation"),s("pull")}else a.visible=!1}}},20007:function(T,p,t){var d=t(23469).appendArrayMultiPointValues;T.exports=function(g,i){var M={curveNumber:i.index,pointNumbers:g.pts,data:i._input,fullData:i,label:g.label,color:g.color,value:g.v,percent:g.percent,text:g.text,bbox:g.bbox,v:g.v};return g.pts.length===1&&(M.pointNumber=M.i=g.pts[0]),d(M,i,g.pts),i.type==="funnelarea"&&(delete M.v,delete M.i),M}},53581:function(T,p,t){var d=t(71828);function g(i){return i.indexOf("e")!==-1?i.replace(/[.]?0+e/,"e"):i.indexOf(".")!==-1?i.replace(/[.]?0+$/,""):i}p.formatPiePercent=function(i,M){var v=g((100*i).toPrecision(3));return d.numSeparate(v,M)+"%"},p.formatPieValue=function(i,M){var v=g(i.toPrecision(10));return d.numSeparate(v,M)},p.getFirstFilled=function(i,M){if(Array.isArray(i))for(var v=0;v"),name:ie.hovertemplate||oe.indexOf("name")!==-1?ie.name:void 0,idealAlign:Q.pxmid[0]<0?"left":"right",color:m.castOption(xe.bgcolor,Q.pts)||Q.color,borderColor:m.castOption(xe.bordercolor,Q.pts),fontFamily:m.castOption(Pe.family,Q.pts),fontSize:m.castOption(Pe.size,Q.pts),fontColor:m.castOption(Pe.color,Q.pts),nameLength:m.castOption(xe.namelength,Q.pts),textAlign:m.castOption(xe.align,Q.pts),hovertemplate:m.castOption(ie.hovertemplate,Q.pts),hovertemplateLabels:Q,eventData:[w(Q,ie)]},{container:re._hoverlayer.node(),outerContainer:re._paper.node(),gd:G,inOut_bbox:_e}),Q.bbox=_e[0],Z._hasHoverLabel=!0}Z._hasHoverEvent=!0,G.emit("plotly_hover",{points:[w(Q,ie)],event:d.event})}}),U.on("mouseout",function(Q){var re=G._fullLayout,ie=G._fullData[Z.index],oe=d.select(this).datum();Z._hasHoverEvent&&(Q.originalEvent=d.event,G.emit("plotly_unhover",{points:[w(oe,ie)],event:d.event}),Z._hasHoverEvent=!1),Z._hasHoverLabel&&(i.loneUnhover(re._hoverlayer.node()),Z._hasHoverLabel=!1)}),U.on("click",function(Q){var re=G._fullLayout,ie=G._fullData[Z.index];G._dragging||re.hovermode===!1||(G._hoverdata=[w(Q,ie)],i.click(G,d.event))})}function _(U,G,q){var H=m.castOption(U.insidetextfont.color,G.pts);!H&&U._input.textfont&&(H=m.castOption(U._input.textfont.color,G.pts));var ne=m.castOption(U.insidetextfont.family,G.pts)||m.castOption(U.textfont.family,G.pts)||q.family,te=m.castOption(U.insidetextfont.size,G.pts)||m.castOption(U.textfont.size,G.pts)||q.size;return{color:H||M.contrast(G.color),family:ne,size:te}}function k(U,G){for(var q,H,ne=0;neBe&&Be>je||ze=-4;me-=2)pe(Math.PI*me,"tan");for(me=4;me>=-4;me-=2)pe(Math.PI*(me+1),"tan")}if(oe||ce){for(me=4;me>=-4;me-=2)pe(Math.PI*(me+1.5),"rad");for(me=4;me>=-4;me-=2)pe(Math.PI*(me+.5),"rad")}}if(X||ye||oe){var xe=Math.sqrt(U.width*U.width+U.height*U.height);if((te={scale:ne*H*2/xe,rCenter:1-ne,rotate:0}).textPosAngle=(G.startangle+G.stopangle)/2,te.scale>=1)return te;de.push(te)}(ye||ce)&&((te=x(U,H,Z,Q,re)).textPosAngle=(G.startangle+G.stopangle)/2,de.push(te)),(ye||ue)&&((te=A(U,H,Z,Q,re)).textPosAngle=(G.startangle+G.stopangle)/2,de.push(te));for(var Pe=0,_e=0,Me=0;Me=1)break}return de[Pe]}function x(U,G,q,H,ne){G=Math.max(0,G-2*c);var te=U.width/U.height,Z=R(te,H,G,q);return{scale:2*Z/U.height,rCenter:L(te,Z/G),rotate:b(ne)}}function A(U,G,q,H,ne){G=Math.max(0,G-2*c);var te=U.height/U.width,Z=R(te,H,G,q);return{scale:2*Z/U.width,rCenter:L(te,Z/G),rotate:b(ne+Math.PI/2)}}function L(U,G){return Math.cos(G)-U*G}function b(U){return(180/Math.PI*U+720)%180-90}function R(U,G,q,H){var ne=U+1/(2*Math.tan(G));return q*Math.min(1/(Math.sqrt(ne*ne+.5)+ne),H/(Math.sqrt(U*U+H/2)+U))}function I(U,G){return U.v!==G.vTotal||G.trace.hole?Math.min(1/(1+1/Math.sin(U.halfangle)),U.ring/2):1}function O(U,G){var q=G.pxmid[0],H=G.pxmid[1],ne=U.width/2,te=U.height/2;return q<0&&(ne*=-1),H<0&&(te*=-1),{scale:1,rCenter:1,rotate:0,x:ne+Math.abs(te)*(ne>0?1:-1)/2,y:te/(1+q*q/(H*H)),outside:!0}}function z(U,G){var q,H,ne,te=U.trace,Z={x:U.cx,y:U.cy},X={tx:0,ty:0};X.ty+=te.title.font.size,ne=B(te),te.title.position.indexOf("top")!==-1?(Z.y-=(1+ne)*U.r,X.ty-=U.titleBox.height):te.title.position.indexOf("bottom")!==-1&&(Z.y+=(1+ne)*U.r);var Q,re=U.r/((Q=U.trace.aspectratio)===void 0?1:Q),ie=G.w*(te.domain.x[1]-te.domain.x[0])/2;return te.title.position.indexOf("left")!==-1?(ie+=re,Z.x-=(1+ne)*re,X.tx+=U.titleBox.width/2):te.title.position.indexOf("center")!==-1?ie*=2:te.title.position.indexOf("right")!==-1&&(ie+=re,Z.x+=(1+ne)*re,X.tx-=U.titleBox.width/2),q=ie/U.titleBox.width,H=F(U,G)/U.titleBox.height,{x:Z.x,y:Z.y,scale:Math.min(q,H),tx:X.tx,ty:X.ty}}function F(U,G){var q=U.trace,H=G.h*(q.domain.y[1]-q.domain.y[0]);return Math.min(U.titleBox.height,H/2)}function B(U){var G,q=U.pull;if(!q)return 0;if(Array.isArray(q))for(q=0,G=0;Gq&&(q=U.pull[G]);return q}function N(U,G){for(var q=[],H=0;H1?Me=(_e=ce.r)/de.aspectratio:_e=(Me=ce.r)*de.aspectratio,Pe=(_e*=(1+de.baseratio)/2)*Me}pe=Math.min(pe,Pe/ce.vTotal)}for(ye=0;ye")}if(te){var me=f.castOption(ne,G.i,"texttemplate");if(me){var pe=function(Pe){return{label:Pe.label,value:Pe.v,valueLabel:m.formatPieValue(Pe.v,H.separators),percent:Pe.v/q.vTotal,percentLabel:m.formatPiePercent(Pe.v/q.vTotal,H.separators),color:Pe.color,text:Pe.text,customdata:f.castOption(ne,Pe.i,"customdata")}}(G),xe=m.getFirstFilled(ne.text,G.pts);(y(xe)||xe==="")&&(pe.text=xe),G.text=f.texttemplateString(me,pe,U._fullLayout._d3locale,pe,ne._meta||{})}else G.text=""}}function $(U,G){var q=U.rotate*Math.PI/180,H=Math.cos(q),ne=Math.sin(q),te=(G.left+G.right)/2,Z=(G.top+G.bottom)/2;U.textX=te*H-Z*ne,U.textY=te*ne+Z*H,U.noCenter=!0}T.exports={plot:function(U,G){var q=U._context.staticPlot,H=U._fullLayout,ne=H._size;h("pie",H),k(G,U),N(G,ne);var te=f.makeTraceGroups(H._pielayer,G,"trace").each(function(Z){var X=d.select(this),Q=Z[0],re=Q.trace;(function(ie){var oe,ue,ce,ye=ie[0],de=ye.r,me=ye.trace,pe=m.getRotationAngle(me.rotation),xe=2*Math.PI/ye.vTotal,Pe="px0",_e="px1";if(me.direction==="counterclockwise"){for(oe=0;oeye.vTotal/2?1:0,ue.halfangle=Math.PI*Math.min(ue.v/ye.vTotal,.5),ue.ring=1-me.hole,ue.rInscribed=I(ue,ye))})(Z),X.attr("stroke-linejoin","round"),X.each(function(){var ie=d.select(this).selectAll("g.slice").data(Z);ie.enter().append("g").classed("slice",!0),ie.exit().remove();var oe=[[[],[]],[[],[]]],ue=!1;ie.each(function(_e,Me){if(_e.hidden)d.select(this).selectAll("path,g").remove();else{_e.pointNumber=_e.i,_e.curveNumber=re.index,oe[_e.pxmid[1]<0?0:1][_e.pxmid[0]<0?0:1].push(_e);var Se=Q.cx,Ce=Q.cy,ae=d.select(this),fe=ae.selectAll("path.surface").data([_e]);if(fe.enter().append("path").classed("surface",!0).style({"pointer-events":q?"none":"all"}),ae.call(C,U,Z),re.pull){var be=+m.castOption(re.pull,_e.pts)||0;be>0&&(Se+=be*_e.pxmid[0],Ce+=be*_e.pxmid[1])}_e.cxFinal=Se,_e.cyFinal=Ce;var ke=re.hole;if(_e.v===Q.vTotal){var Le="M"+(Se+_e.px0[0])+","+(Ce+_e.px0[1])+we(_e.px0,_e.pxmid,!0,1)+we(_e.pxmid,_e.px0,!0,1)+"Z";ke?fe.attr("d","M"+(Se+ke*_e.px0[0])+","+(Ce+ke*_e.px0[1])+we(_e.px0,_e.pxmid,!1,ke)+we(_e.pxmid,_e.px0,!1,ke)+"Z"+Le):fe.attr("d",Le)}else{var Be=we(_e.px0,_e.px1,!0,1);if(ke){var ze=1-ke;fe.attr("d","M"+(Se+ke*_e.px1[0])+","+(Ce+ke*_e.px1[1])+we(_e.px1,_e.px0,!1,ke)+"l"+ze*_e.px0[0]+","+ze*_e.px0[1]+Be+"Z")}else fe.attr("d","M"+Se+","+Ce+"l"+_e.px0[0]+","+_e.px0[1]+Be+"Z")}j(U,_e,Q);var je=m.castOption(re.textposition,_e.pts),ge=ae.selectAll("g.slicetext").data(_e.text&&je!=="none"?[0]:[]);ge.enter().append("g").classed("slicetext",!0),ge.exit().remove(),ge.each(function(){var Ee=f.ensureSingle(d.select(this),"text","",function(Et){Et.attr("data-notex",1)}),Ve=f.ensureUniformFontSize(U,je==="outside"?function(Et,kt,xt){return{color:m.castOption(Et.outsidetextfont.color,kt.pts)||m.castOption(Et.textfont.color,kt.pts)||xt.color,family:m.castOption(Et.outsidetextfont.family,kt.pts)||m.castOption(Et.textfont.family,kt.pts)||xt.family,size:m.castOption(Et.outsidetextfont.size,kt.pts)||m.castOption(Et.textfont.size,kt.pts)||xt.size}}(re,_e,H.font):_(re,_e,H.font));Ee.text(_e.text).attr({class:"slicetext",transform:"","text-anchor":"middle"}).call(v.font,Ve).call(u.convertToTspans,U);var $e,Ye=v.bBox(Ee.node());if(je==="outside")$e=O(Ye,_e);else if($e=E(Ye,_e,Q),je==="auto"&&$e.scale<1){var st=f.ensureUniformFontSize(U,re.outsidetextfont);Ee.call(v.font,st),$e=O(Ye=v.bBox(Ee.node()),_e)}var ot=$e.textPosAngle,ht=ot===void 0?_e.pxmid:W(Q.r,ot);if($e.targetX=Se+ht[0]*$e.rCenter+($e.x||0),$e.targetY=Ce+ht[1]*$e.rCenter+($e.y||0),$($e,Ye),$e.outside){var bt=$e.targetY;_e.yLabelMin=bt-Ye.height/2,_e.yLabelMid=bt,_e.yLabelMax=bt+Ye.height/2,_e.labelExtraX=0,_e.labelExtraY=0,ue=!0}$e.fontSize=Ve.size,s(re.type,$e,H),Z[Me].transform=$e,f.setTransormAndDisplay(Ee,$e)})}function we(Ee,Ve,$e,Ye){var st=Ye*(Ve[0]-Ee[0]),ot=Ye*(Ve[1]-Ee[1]);return"a"+Ye*Q.r+","+Ye*Q.r+" 0 "+_e.largeArc+($e?" 1 ":" 0 ")+st+","+ot}});var ce=d.select(this).selectAll("g.titletext").data(re.title.text?[0]:[]);if(ce.enter().append("g").classed("titletext",!0),ce.exit().remove(),ce.each(function(){var _e,Me=f.ensureSingle(d.select(this),"text","",function(Ce){Ce.attr("data-notex",1)}),Se=re.title.text;re._meta&&(Se=f.templateString(Se,re._meta)),Me.text(Se).attr({class:"titletext",transform:"","text-anchor":"middle"}).call(v.font,re.title.font).call(u.convertToTspans,U),_e=re.title.position==="middle center"?function(Ce){var ae=Math.sqrt(Ce.titleBox.width*Ce.titleBox.width+Ce.titleBox.height*Ce.titleBox.height);return{x:Ce.cx,y:Ce.cy,scale:Ce.trace.hole*Ce.r*2/ae,tx:0,ty:-Ce.titleBox.height/2+Ce.trace.title.font.size}}(Q):z(Q,ne),Me.attr("transform",a(_e.x,_e.y)+l(Math.min(1,_e.scale))+a(_e.tx,_e.ty))}),ue&&function(_e,Me){var Se,Ce,ae,fe,be,ke,Le,Be,ze,je,ge,we,Ee;function Ve(ot,ht){return ot.pxmid[1]-ht.pxmid[1]}function $e(ot,ht){return ht.pxmid[1]-ot.pxmid[1]}function Ye(ot,ht){ht||(ht={});var bt,Et,kt,xt,Ft=ht.labelExtraY+(Ce?ht.yLabelMax:ht.yLabelMin),Ot=Ce?ot.yLabelMin:ot.yLabelMax,Bt=Ce?ot.yLabelMax:ot.yLabelMin,qt=ot.cyFinal+be(ot.px0[1],ot.px1[1]),Vt=Ft-Ot;if(Vt*Le>0&&(ot.labelExtraY=Vt),Array.isArray(Me.pull))for(Et=0;Et=(m.castOption(Me.pull,kt.pts)||0)||((ot.pxmid[1]-kt.pxmid[1])*Le>0?(Vt=kt.cyFinal+be(kt.px0[1],kt.px1[1])-Ot-ot.labelExtraY)*Le>0&&(ot.labelExtraY+=Vt):(Bt+ot.labelExtraY-qt)*Le>0&&(bt=3*ke*Math.abs(Et-je.indexOf(ot)),(xt=kt.cxFinal+fe(kt.px0[0],kt.px1[0])+bt-(ot.cxFinal+ot.pxmid[0])-ot.labelExtraX)*ke>0&&(ot.labelExtraX+=xt)))}for(Ce=0;Ce<2;Ce++)for(ae=Ce?Ve:$e,be=Ce?Math.max:Math.min,Le=Ce?1:-1,Se=0;Se<2;Se++){for(fe=Se?Math.max:Math.min,ke=Se?1:-1,(Be=_e[Ce][Se]).sort(ae),ze=_e[1-Ce][Se],je=ze.concat(Be),we=[],ge=0;geMath.abs(Be)?be+="l"+Be*Se.pxmid[0]/Se.pxmid[1]+","+Be+"H"+(fe+Se.labelExtraX+ke):be+="l"+Se.labelExtraX+","+Le+"v"+(Be-Le)+"h"+ke}else be+="V"+(Se.yLabelMid+Se.labelExtraY)+"h"+ke;f.ensureSingle(Ce,"path","textline").call(M.stroke,Me.outsidetextfont.color).attr({"stroke-width":Math.min(2,Me.outsidetextfont.size/8),d:be,fill:"none"})}else Ce.select("path.textline").remove()})}(ie,re),ue&&re.automargin){var ye=v.bBox(X.node()),de=re.domain,me=ne.w*(de.x[1]-de.x[0]),pe=ne.h*(de.y[1]-de.y[0]),xe=(.5*me-Q.r)/ne.w,Pe=(.5*pe-Q.r)/ne.h;g.autoMargin(U,"pie."+re.uid+".automargin",{xl:de.x[0]-xe,xr:de.x[1]+xe,yb:de.y[0]-Pe,yt:de.y[1]+Pe,l:Math.max(Q.cx-Q.r-ye.left,0),r:Math.max(ye.right-(Q.cx+Q.r),0),b:Math.max(ye.bottom-(Q.cy+Q.r),0),t:Math.max(Q.cy-Q.r-ye.top,0),pad:5})}})});setTimeout(function(){te.selectAll("tspan").each(function(){var Z=d.select(this);Z.attr("dy")&&Z.attr("dy",Z.attr("dy"))})},0)},formatSliceLabel:j,transformInsideText:E,determineInsideTextFont:_,positionTitleOutside:z,prerenderTitles:k,layoutAreas:N,attachFxHandlers:C,computeTransform:$}},68357:function(T,p,t){var d=t(39898),g=t(63463),i=t(72597).resizeText;T.exports=function(M){var v=M._fullLayout._pielayer.selectAll(".trace");i(M,v,"pie"),v.each(function(f){var l=f[0].trace,a=d.select(this);a.style({opacity:l.opacity}),a.selectAll("path.surface").each(function(u){d.select(this).call(g,u,l)})})}},63463:function(T,p,t){var d=t(7901),g=t(53581).castOption;T.exports=function(i,M,v){var f=v.marker.line,l=g(f.color,M.pts)||d.defaultLine,a=g(f.width,M.pts)||0;i.style("stroke-width",a).call(d.fill,M.color).call(d.stroke,l)}},10959:function(T,p,t){var d=t(82196);T.exports={x:d.x,y:d.y,xy:{valType:"data_array",editType:"calc"},indices:{valType:"data_array",editType:"calc"},xbounds:{valType:"data_array",editType:"calc"},ybounds:{valType:"data_array",editType:"calc"},text:d.text,marker:{color:{valType:"color",arrayOk:!1,editType:"calc"},opacity:{valType:"number",min:0,max:1,dflt:1,arrayOk:!1,editType:"calc"},blend:{valType:"boolean",dflt:null,editType:"calc"},sizemin:{valType:"number",min:.1,max:2,dflt:.5,editType:"calc"},sizemax:{valType:"number",min:.1,dflt:20,editType:"calc"},border:{color:{valType:"color",arrayOk:!1,editType:"calc"},arearatio:{valType:"number",min:0,max:1,dflt:0,editType:"calc"},editType:"calc"},editType:"calc"},transforms:void 0}},42743:function(T,p,t){var d=t(9330).gl_pointcloud2d,g=t(78614),i=t(71739).findExtremes,M=t(34603);function v(l,a){this.scene=l,this.uid=a,this.type="pointcloud",this.pickXData=[],this.pickYData=[],this.xData=[],this.yData=[],this.textLabels=[],this.color="rgb(0, 0, 0)",this.name="",this.hoverinfo="all",this.idToIndex=new Int32Array(0),this.bounds=[0,0,0,0],this.pointcloudOptions={positions:new Float32Array(0),idToIndex:this.idToIndex,sizemin:.5,sizemax:12,color:[0,0,0,1],areaRatio:1,borderColor:[0,0,0,1]},this.pointcloud=d(l.glplot,this.pointcloudOptions),this.pointcloud._trace=this}var f=v.prototype;f.handlePick=function(l){var a=this.idToIndex[l.pointId];return{trace:this,dataCoord:l.dataCoord,traceCoord:this.pickXYData?[this.pickXYData[2*a],this.pickXYData[2*a+1]]:[this.pickXData[a],this.pickYData[a]],textLabel:Array.isArray(this.textLabels)?this.textLabels[a]:this.textLabels,color:this.color,name:this.name,pointIndex:a,hoverinfo:this.hoverinfo}},f.update=function(l){this.index=l.index,this.textLabels=l.text,this.name=l.name,this.hoverinfo=l.hoverinfo,this.bounds=[1/0,1/0,-1/0,-1/0],this.updateFast(l),this.color=M(l,{})},f.updateFast=function(l){var a,u,o,s,h,c,m=this.xData=this.pickXData=l.x,w=this.yData=this.pickYData=l.y,y=this.pickXYData=l.xy,C=l.xbounds&&l.ybounds,_=l.indices,k=this.bounds;if(y){if(o=y,a=y.length>>>1,C)k[0]=l.xbounds[0],k[2]=l.xbounds[1],k[1]=l.ybounds[0],k[3]=l.ybounds[1];else for(c=0;ck[2]&&(k[2]=s),hk[3]&&(k[3]=h);if(_)u=_;else for(u=new Int32Array(a),c=0;ck[2]&&(k[2]=s),hk[3]&&(k[3]=h);this.idToIndex=u,this.pointcloudOptions.idToIndex=u,this.pointcloudOptions.positions=o;var E=g(l.marker.color),x=g(l.marker.border.color),A=l.opacity*l.marker.opacity;E[3]*=A,this.pointcloudOptions.color=E;var L=l.marker.blend;L===null&&(L=m.length<100||w.length<100),this.pointcloudOptions.blend=L,x[3]*=A,this.pointcloudOptions.borderColor=x;var b=l.marker.sizemin,R=Math.max(l.marker.sizemax,l.marker.sizemin);this.pointcloudOptions.sizeMin=b,this.pointcloudOptions.sizeMax=R,this.pointcloudOptions.areaRatio=l.marker.border.arearatio,this.pointcloud.update(this.pointcloudOptions);var I=this.scene.xaxis,O=this.scene.yaxis,z=R/2||.5;l._extremes[I._id]=i(I,[k[0],k[2]],{ppad:z}),l._extremes[O._id]=i(O,[k[1],k[3]],{ppad:z})},f.dispose=function(){this.pointcloud.dispose()},T.exports=function(l,a){var u=new v(l,a.uid);return u.update(a),u}},33876:function(T,p,t){var d=t(71828),g=t(10959);T.exports=function(i,M,v){function f(l,a){return d.coerce(i,M,g,l,a)}f("x"),f("y"),f("xbounds"),f("ybounds"),i.xy&&i.xy instanceof Float32Array&&(M.xy=i.xy),i.indices&&i.indices instanceof Int32Array&&(M.indices=i.indices),f("text"),f("marker.color",v),f("marker.opacity"),f("marker.blend"),f("marker.sizemin"),f("marker.sizemax"),f("marker.border.color",v),f("marker.border.arearatio"),M._length=null}},20593:function(T,p,t){T.exports={attributes:t(10959),supplyDefaults:t(33876),calc:t(36563),plot:t(42743),moduleType:"trace",name:"pointcloud",basePlotModule:t(4796),categories:["gl","gl2d","showLegend"],meta:{}}},39953:function(T,p,t){var d=t(41940),g=t(9012),i=t(22399),M=t(77914),v=t(27670).Y,f=t(5386).fF,l=t(50693),a=t(44467).templatedArray,u=t(12663).descriptionOnlyNumbers,o=t(1426).extendFlat,s=t(30962).overrideAll;(T.exports=s({hoverinfo:o({},g.hoverinfo,{flags:[],arrayOk:!1}),hoverlabel:M.hoverlabel,domain:v({name:"sankey",trace:!0}),orientation:{valType:"enumerated",values:["v","h"],dflt:"h"},valueformat:{valType:"string",dflt:".3s",description:u("value")},valuesuffix:{valType:"string",dflt:""},arrangement:{valType:"enumerated",values:["snap","perpendicular","freeform","fixed"],dflt:"snap"},textfont:d({}),customdata:void 0,node:{label:{valType:"data_array",dflt:[]},groups:{valType:"info_array",impliedEdits:{x:[],y:[]},dimensions:2,freeLength:!0,dflt:[],items:{valType:"number",editType:"calc"}},x:{valType:"data_array",dflt:[]},y:{valType:"data_array",dflt:[]},color:{valType:"color",arrayOk:!0},customdata:{valType:"data_array",editType:"calc"},line:{color:{valType:"color",dflt:i.defaultLine,arrayOk:!0},width:{valType:"number",min:0,dflt:.5,arrayOk:!0}},pad:{valType:"number",arrayOk:!1,min:0,dflt:20},thickness:{valType:"number",arrayOk:!1,min:1,dflt:20},hoverinfo:{valType:"enumerated",values:["all","none","skip"],dflt:"all"},hoverlabel:M.hoverlabel,hovertemplate:f({},{keys:["value","label"]})},link:{arrowlen:{valType:"number",min:0,dflt:0},label:{valType:"data_array",dflt:[]},color:{valType:"color",arrayOk:!0},customdata:{valType:"data_array",editType:"calc"},line:{color:{valType:"color",dflt:i.defaultLine,arrayOk:!0},width:{valType:"number",min:0,dflt:0,arrayOk:!0}},source:{valType:"data_array",dflt:[]},target:{valType:"data_array",dflt:[]},value:{valType:"data_array",dflt:[]},hoverinfo:{valType:"enumerated",values:["all","none","skip"],dflt:"all"},hoverlabel:M.hoverlabel,hovertemplate:f({},{keys:["value","label"]}),colorscales:a("concentrationscales",{editType:"calc",label:{valType:"string",editType:"calc",dflt:""},cmax:{valType:"number",editType:"calc",dflt:1},cmin:{valType:"number",editType:"calc",dflt:0},colorscale:o(l().colorscale,{dflt:[[0,"white"],[1,"black"]]})})}},"calc","nested")).transforms=void 0},75536:function(T,p,t){var d=t(30962).overrideAll,g=t(27659).a0,i=t(60436),M=t(528),v=t(6964),f=t(28569),l=t(47322).prepSelect,a=t(71828),u=t(73972),o="sankey";function s(h,c){var m=h._fullData[c],w=h._fullLayout,y=w.dragmode,C=w.dragmode==="pan"?"move":"crosshair",_=m._bgRect;if(_&&y!=="pan"&&y!=="zoom"){v(_,C);var k={_id:"x",c2p:a.identity,_offset:m._sankey.translateX,_length:m._sankey.width},E={_id:"y",c2p:a.identity,_offset:m._sankey.translateY,_length:m._sankey.height},x={gd:h,element:_.node(),plotinfo:{id:c,xaxis:k,yaxis:E,fillRangeItems:a.noop},subplot:c,xaxes:[k],yaxes:[E],doneFnCompleted:function(A){var L,b=h._fullData[c],R=b.node.groups.slice(),I=[];function O(N){for(var W=b._sankey.graph.nodes,j=0;jL&&(L=c.source[s]),c.target[s]>L&&(L=c.target[s]);var b,R=L+1;o.node._count=R;var I=o.node.groups,O={};for(s=0;s0&&v(j,R)&&v($,R)&&(!O.hasOwnProperty(j)||!O.hasOwnProperty($)||O[j]!==O[$])){O.hasOwnProperty($)&&($=O[$]),O.hasOwnProperty(j)&&(j=O[j]),$=+$,C[j=+j]=C[$]=!0;var U="";c.label&&c.label[s]&&(U=c.label[s]);var G=null;U&&_.hasOwnProperty(U)&&(G=_[U]),m.push({pointNumber:s,label:U,color:w?c.color[s]:c.color,customdata:y?c.customdata[s]:c.customdata,concentrationscale:G,source:j,target:$,value:+W}),N.source.push(j),N.target.push($)}}var q=R+I.length,H=M(h.color),ne=M(h.customdata),te=[];for(s=0;sR-1,childrenNodes:[],pointNumber:s,label:Z,color:H?h.color[s]:h.color,customdata:ne?h.customdata[s]:h.customdata})}var X=!1;return function(Q,re,ie){for(var oe=g.init2dArray(Q,0),ue=0;ue1})}(q,N.source,N.target)&&(X=!0),{circular:X,links:m,nodes:te,groups:I,groupLookup:O}}(a);return i({circular:u.circular,_nodes:u.nodes,_links:u.links,_groups:u.groups,_groupLookup:u.groupLookup})}},85247:function(T){T.exports={nodeTextOffsetHorizontal:4,nodeTextOffsetVertical:3,nodePadAcross:10,sankeyIterations:50,forceIterations:5,forceTicksPerFrame:10,duration:500,ease:"linear",cn:{sankey:"sankey",sankeyLinks:"sankey-links",sankeyLink:"sankey-link",sankeyNodeSet:"sankey-node-set",sankeyNode:"sankey-node",nodeRect:"node-rect",nodeLabel:"node-label"}}},26857:function(T,p,t){var d=t(71828),g=t(39953),i=t(7901),M=t(84267),v=t(27670).c,f=t(38048),l=t(44467),a=t(85501);function u(o,s){function h(c,m){return d.coerce(o,s,g.link.colorscales,c,m)}h("label"),h("cmin"),h("cmax"),h("colorscale")}T.exports=function(o,s,h,c){function m(R,I){return d.coerce(o,s,g,R,I)}var w=d.extendDeep(c.hoverlabel,o.hoverlabel),y=o.node,C=l.newContainer(s,"node");function _(R,I){return d.coerce(y,C,g.node,R,I)}_("label"),_("groups"),_("x"),_("y"),_("pad"),_("thickness"),_("line.color"),_("line.width"),_("hoverinfo",o.hoverinfo),f(y,C,_,w),_("hovertemplate");var k=c.colorway;_("color",C.label.map(function(R,I){return i.addOpacity(function(O){return k[O%k.length]}(I),.8)})),_("customdata");var E=o.link||{},x=l.newContainer(s,"link");function A(R,I){return d.coerce(E,x,g.link,R,I)}A("label"),A("arrowlen"),A("source"),A("target"),A("value"),A("line.color"),A("line.width"),A("hoverinfo",o.hoverinfo),f(E,x,A,w),A("hovertemplate");var L,b=M(c.paper_bgcolor).getLuminance()<.333?"rgba(255, 255, 255, 0.6)":"rgba(0, 0, 0, 0.2)";A("color",d.repeat(b,x.value.length)),A("customdata"),a(E,x,{name:"colorscales",handleItemDefaults:u}),v(s,c,m),m("orientation"),m("valueformat"),m("valuesuffix"),C.x.length&&C.y.length&&(L="freeform"),m("arrangement",L),d.coerceFont(m,"textfont",d.extendFlat({},c.font)),s._length=null}},29396:function(T,p,t){T.exports={attributes:t(39953),supplyDefaults:t(26857),calc:t(92930),plot:t(60436),moduleType:"trace",name:"sankey",basePlotModule:t(75536),selectPoints:t(84564),categories:["noOpacity"],meta:{}}},60436:function(T,p,t){var d=t(39898),g=t(71828),i=g.numberFormat,M=t(3393),v=t(30211),f=t(7901),l=t(85247).cn,a=g._;function u(E){return E!==""}function o(E,x){return E.filter(function(A){return A.key===x.traceId})}function s(E,x){d.select(E).select("path").style("fill-opacity",x),d.select(E).select("rect").style("fill-opacity",x)}function h(E){d.select(E).select("text.name").style("fill","black")}function c(E){return function(x){return E.node.sourceLinks.indexOf(x.link)!==-1||E.node.targetLinks.indexOf(x.link)!==-1}}function m(E){return function(x){return x.node.sourceLinks.indexOf(E.link)!==-1||x.node.targetLinks.indexOf(E.link)!==-1}}function w(E,x,A){x&&A&&o(A,x).selectAll("."+l.sankeyLink).filter(c(x)).call(C.bind(0,x,A,!1))}function y(E,x,A){x&&A&&o(A,x).selectAll("."+l.sankeyLink).filter(c(x)).call(_.bind(0,x,A,!1))}function C(E,x,A,L){var b=L.datum().link.label;L.style("fill-opacity",function(R){if(!R.link.concentrationscale)return .4}),b&&o(x,E).selectAll("."+l.sankeyLink).filter(function(R){return R.link.label===b}).style("fill-opacity",function(R){if(!R.link.concentrationscale)return .4}),A&&o(x,E).selectAll("."+l.sankeyNode).filter(m(E)).call(w)}function _(E,x,A,L){var b=L.datum().link.label;L.style("fill-opacity",function(R){return R.tinyColorAlpha}),b&&o(x,E).selectAll("."+l.sankeyLink).filter(function(R){return R.link.label===b}).style("fill-opacity",function(R){return R.tinyColorAlpha}),A&&o(x,E).selectAll(l.sankeyNode).filter(m(E)).call(y)}function k(E,x){var A=E.hoverlabel||{},L=g.nestedProperty(A,x).get();return!Array.isArray(L)&&L}T.exports=function(E,x){for(var A=E._fullLayout,L=A._paper,b=A._size,R=0;R"),color:k($,"bgcolor")||f.addOpacity(H.color,1),borderColor:k($,"bordercolor"),fontFamily:k($,"font.family"),fontSize:k($,"font.size"),fontColor:k($,"font.color"),nameLength:k($,"namelength"),textAlign:k($,"align"),idealAlign:d.event.x"),color:k($,"bgcolor")||j.tinyColorHue,borderColor:k($,"bordercolor"),fontFamily:k($,"font.family"),fontSize:k($,"font.size"),fontColor:k($,"font.color"),nameLength:k($,"namelength"),textAlign:k($,"align"),idealAlign:"left",hovertemplate:$.hovertemplate,hovertemplateLabels:Z,eventData:[j.node]},{container:A._hoverlayer.node(),outerContainer:A._paper.node(),gd:E});s(re,.85),h(re)}}},unhover:function(W,j,$){E._fullLayout.hovermode!==!1&&(d.select(W).call(y,j,$),j.node.trace.node.hoverinfo!=="skip"&&(j.node.fullData=j.node.trace,E.emit("plotly_unhover",{event:d.event,points:[j.node]})),v.loneUnhover(A._hoverlayer.node()))},select:function(W,j,$){var U=j.node;U.originalEvent=d.event,E._hoverdata=[U],d.select(W).call(y,j,$),v.click(E,{target:!0})}}})}},3393:function(T,p,t){var d=t(49887),g=t(81684).k4,i=t(39898),M=t(30838),v=t(86781),f=t(85247),l=t(84267),a=t(7901),u=t(91424),o=t(71828),s=o.strTranslate,h=o.strRotate,c=t(28984),m=c.keyFun,w=c.repeat,y=c.unwrap,C=t(63893),_=t(73972),k=t(18783),E=k.CAP_SHIFT,x=k.LINE_SPACING;function A(q,H,ne){var te,Z=y(H),X=Z.trace,Q=X.domain,re=X.orientation==="h",ie=X.node.pad,oe=X.node.thickness,ue=q.width*(Q.x[1]-Q.x[0]),ce=q.height*(Q.y[1]-Q.y[0]),ye=Z._nodes,de=Z._links,me=Z.circular;(te=me?v.sankeyCircular().circularLinkGap(0):M.sankey()).iterations(f.sankeyIterations).size(re?[ue,ce]:[ce,ue]).nodeWidth(oe).nodePadding(ie).nodeId(function(ke){return ke.pointNumber}).nodes(ye).links(de);var pe,xe,Pe,_e=te();for(var Me in te.nodePadding()we+oe&&(ge+=1,Le=Ee.x0),we=Ee.x0,je[ge]||(je[ge]=[]),je[ge].push(Ee),Be=Le-Ee.x0,Ee.x0+=Be,Ee.x1+=Be}return je}(ye=_e.nodes).forEach(function(ke){var Le,Be,ze,je=0,ge=ke.length;for(ke.sort(function(we,Ee){return we.y0-Ee.y0}),ze=0;ze=je||(Be=je-Le.y0)>1e-6&&(Le.y0+=Be,Le.y1+=Be),je=Le.y1+ie}),te.update(_e)}return{circular:me,key:ne,trace:X,guid:o.randstr(),horizontal:re,width:ue,height:ce,nodePad:X.node.pad,nodeLineColor:X.node.line.color,nodeLineWidth:X.node.line.width,linkLineColor:X.link.line.color,linkLineWidth:X.link.line.width,linkArrowLength:X.link.arrowlen,valueFormat:X.valueformat,valueSuffix:X.valuesuffix,textFont:X.textfont,translateX:Q.x[0]*q.width+q.margin.l,translateY:q.height-Q.y[1]*q.height+q.margin.t,dragParallel:re?ce:ue,dragPerpendicular:re?ue:ce,arrangement:X.arrangement,sankey:te,graph:_e,forceLayouts:{},interactionState:{dragInProgress:!1,hovered:!1}}}function L(q,H,ne){var te=l(H.color),Z=H.source.label+"|"+H.target.label+"__"+ne;return H.trace=q.trace,H.curveNumber=q.trace.index,{circular:q.circular,key:Z,traceId:q.key,pointNumber:H.pointNumber,link:H,tinyColorHue:a.tinyRGB(te),tinyColorAlpha:te.getAlpha(),linkPath:b,linkLineColor:q.linkLineColor,linkLineWidth:q.linkLineWidth,linkArrowLength:q.linkArrowLength,valueFormat:q.valueFormat,valueSuffix:q.valueSuffix,sankey:q.sankey,parent:q,interactionState:q.interactionState,flow:H.flow}}function b(){return function(q){var H=q.linkArrowLength;if(q.link.circular)return function(xe,Pe){var _e=xe.width/2,Me=xe.circularPathData;return xe.circularLinkType==="top"?"M "+(Me.targetX-Pe)+" "+(Me.targetY+_e)+" L"+(Me.rightInnerExtent-Pe)+" "+(Me.targetY+_e)+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightSmallArcRadius+_e)+" 0 0 1 "+(Me.rightFullExtent-_e-Pe)+" "+(Me.targetY-Me.rightSmallArcRadius)+"L"+(Me.rightFullExtent-_e-Pe)+" "+Me.verticalRightInnerExtent+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightLargeArcRadius+_e)+" 0 0 1 "+(Me.rightInnerExtent-Pe)+" "+(Me.verticalFullExtent-_e)+"L"+Me.leftInnerExtent+" "+(Me.verticalFullExtent-_e)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftLargeArcRadius+_e)+" 0 0 1 "+(Me.leftFullExtent+_e)+" "+Me.verticalLeftInnerExtent+"L"+(Me.leftFullExtent+_e)+" "+(Me.sourceY-Me.leftSmallArcRadius)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftSmallArcRadius+_e)+" 0 0 1 "+Me.leftInnerExtent+" "+(Me.sourceY+_e)+"L"+Me.sourceX+" "+(Me.sourceY+_e)+"L"+Me.sourceX+" "+(Me.sourceY-_e)+"L"+Me.leftInnerExtent+" "+(Me.sourceY-_e)+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftSmallArcRadius-_e)+" 0 0 0 "+(Me.leftFullExtent-_e)+" "+(Me.sourceY-Me.leftSmallArcRadius)+"L"+(Me.leftFullExtent-_e)+" "+Me.verticalLeftInnerExtent+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftLargeArcRadius-_e)+" 0 0 0 "+Me.leftInnerExtent+" "+(Me.verticalFullExtent+_e)+"L"+(Me.rightInnerExtent-Pe)+" "+(Me.verticalFullExtent+_e)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightLargeArcRadius-_e)+" 0 0 0 "+(Me.rightFullExtent+_e-Pe)+" "+Me.verticalRightInnerExtent+"L"+(Me.rightFullExtent+_e-Pe)+" "+(Me.targetY-Me.rightSmallArcRadius)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightSmallArcRadius-_e)+" 0 0 0 "+(Me.rightInnerExtent-Pe)+" "+(Me.targetY-_e)+"L"+(Me.targetX-Pe)+" "+(Me.targetY-_e)+(Pe>0?"L"+Me.targetX+" "+Me.targetY:"")+"Z":"M "+(Me.targetX-Pe)+" "+(Me.targetY-_e)+" L"+(Me.rightInnerExtent-Pe)+" "+(Me.targetY-_e)+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightSmallArcRadius+_e)+" 0 0 0 "+(Me.rightFullExtent-_e-Pe)+" "+(Me.targetY+Me.rightSmallArcRadius)+"L"+(Me.rightFullExtent-_e-Pe)+" "+Me.verticalRightInnerExtent+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightLargeArcRadius+_e)+" 0 0 0 "+(Me.rightInnerExtent-Pe)+" "+(Me.verticalFullExtent+_e)+"L"+Me.leftInnerExtent+" "+(Me.verticalFullExtent+_e)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftLargeArcRadius+_e)+" 0 0 0 "+(Me.leftFullExtent+_e)+" "+Me.verticalLeftInnerExtent+"L"+(Me.leftFullExtent+_e)+" "+(Me.sourceY+Me.leftSmallArcRadius)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftSmallArcRadius+_e)+" 0 0 0 "+Me.leftInnerExtent+" "+(Me.sourceY-_e)+"L"+Me.sourceX+" "+(Me.sourceY-_e)+"L"+Me.sourceX+" "+(Me.sourceY+_e)+"L"+Me.leftInnerExtent+" "+(Me.sourceY+_e)+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftSmallArcRadius-_e)+" 0 0 1 "+(Me.leftFullExtent-_e)+" "+(Me.sourceY+Me.leftSmallArcRadius)+"L"+(Me.leftFullExtent-_e)+" "+Me.verticalLeftInnerExtent+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftLargeArcRadius-_e)+" 0 0 1 "+Me.leftInnerExtent+" "+(Me.verticalFullExtent-_e)+"L"+(Me.rightInnerExtent-Pe)+" "+(Me.verticalFullExtent-_e)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightLargeArcRadius-_e)+" 0 0 1 "+(Me.rightFullExtent+_e-Pe)+" "+Me.verticalRightInnerExtent+"L"+(Me.rightFullExtent+_e-Pe)+" "+(Me.targetY+Me.rightSmallArcRadius)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightSmallArcRadius-_e)+" 0 0 1 "+(Me.rightInnerExtent-Pe)+" "+(Me.targetY+_e)+"L"+(Me.targetX-Pe)+" "+(Me.targetY+_e)+(Pe>0?"L"+Me.targetX+" "+Me.targetY:"")+"Z"}(q.link,H);var ne=Math.abs((q.link.target.x0-q.link.source.x1)/2);H>ne&&(H=ne);var te=q.link.source.x1,Z=q.link.target.x0-H,X=g(te,Z),Q=X(.5),re=X(.5),ie=q.link.y0-q.link.width/2,oe=q.link.y0+q.link.width/2,ue=q.link.y1-q.link.width/2,ce=q.link.y1+q.link.width/2,ye="M"+te+","+ie,de="C"+Q+","+ie+" "+re+","+ue+" "+Z+","+ue,me="C"+re+","+ce+" "+Q+","+oe+" "+te+","+oe,pe=H>0?"L"+(Z+H)+","+(ue+q.link.width/2):"";return ye+de+(pe+="L"+Z+","+ce)+me+"Z"}}function R(q,H){var ne=l(H.color),te=f.nodePadAcross,Z=q.nodePad/2;H.dx=H.x1-H.x0,H.dy=H.y1-H.y0;var X=H.dx,Q=Math.max(.5,H.dy),re="node_"+H.pointNumber;return H.group&&(re=o.randstr()),H.trace=q.trace,H.curveNumber=q.trace.index,{index:H.pointNumber,key:re,partOfGroup:H.partOfGroup||!1,group:H.group,traceId:q.key,trace:q.trace,node:H,nodePad:q.nodePad,nodeLineColor:q.nodeLineColor,nodeLineWidth:q.nodeLineWidth,textFont:q.textFont,size:q.horizontal?q.height:q.width,visibleWidth:Math.ceil(X),visibleHeight:Q,zoneX:-te,zoneY:-Z,zoneWidth:X+2*te,zoneHeight:Q+2*Z,labelY:q.horizontal?H.dy/2+1:H.dx/2+1,left:H.originalLayer===1,sizeAcross:q.width,forceLayouts:q.forceLayouts,horizontal:q.horizontal,darkBackground:ne.getBrightness()<=128,tinyColorHue:a.tinyRGB(ne),tinyColorAlpha:ne.getAlpha(),valueFormat:q.valueFormat,valueSuffix:q.valueSuffix,sankey:q.sankey,graph:q.graph,arrangement:q.arrangement,uniqueNodeLabelPathId:[q.guid,q.key,re].join("_"),interactionState:q.interactionState,figure:q}}function I(q){q.attr("transform",function(H){return s(H.node.x0.toFixed(3),H.node.y0.toFixed(3))})}function O(q){q.call(I)}function z(q,H){q.call(O),H.attr("d",b())}function F(q){q.attr("width",function(H){return H.node.x1-H.node.x0}).attr("height",function(H){return H.visibleHeight})}function B(q){return q.link.width>1||q.linkLineWidth>0}function N(q){return s(q.translateX,q.translateY)+(q.horizontal?"matrix(1 0 0 1 0 0)":"matrix(0 1 1 0 0 0)")}function W(q,H,ne){q.on(".basic",null).on("mouseover.basic",function(te){te.interactionState.dragInProgress||te.partOfGroup||(ne.hover(this,te,H),te.interactionState.hovered=[this,te])}).on("mousemove.basic",function(te){te.interactionState.dragInProgress||te.partOfGroup||(ne.follow(this,te),te.interactionState.hovered=[this,te])}).on("mouseout.basic",function(te){te.interactionState.dragInProgress||te.partOfGroup||(ne.unhover(this,te,H),te.interactionState.hovered=!1)}).on("click.basic",function(te){te.interactionState.hovered&&(ne.unhover(this,te,H),te.interactionState.hovered=!1),te.interactionState.dragInProgress||te.partOfGroup||ne.select(this,te,H)})}function j(q,H,ne,te){var Z=i.behavior.drag().origin(function(X){return{x:X.node.x0+X.visibleWidth/2,y:X.node.y0+X.visibleHeight/2}}).on("dragstart",function(X){if(X.arrangement!=="fixed"&&(o.ensureSingle(te._fullLayout._infolayer,"g","dragcover",function(re){te._fullLayout._dragCover=re}),o.raiseToTop(this),X.interactionState.dragInProgress=X.node,U(X.node),X.interactionState.hovered&&(ne.nodeEvents.unhover.apply(0,X.interactionState.hovered),X.interactionState.hovered=!1),X.arrangement==="snap")){var Q=X.traceId+"|"+X.key;X.forceLayouts[Q]?X.forceLayouts[Q].alpha(1):function(re,ie,oe,ue){(function(ye){for(var de=0;de0&&pe.forceLayouts[de].alpha(0)}}(0,ie,ce,oe)).stop()}(0,Q,X),function(re,ie,oe,ue,ce){window.requestAnimationFrame(function ye(){var de;for(de=0;de0)window.requestAnimationFrame(ye);else{var me=oe.node.originalX;oe.node.x0=me-oe.visibleWidth/2,oe.node.x1=me+oe.visibleWidth/2,$(oe,ce)}})}(q,H,X,Q,te)}}).on("drag",function(X){if(X.arrangement!=="fixed"){var Q=i.event.x,re=i.event.y;X.arrangement==="snap"?(X.node.x0=Q-X.visibleWidth/2,X.node.x1=Q+X.visibleWidth/2,X.node.y0=re-X.visibleHeight/2,X.node.y1=re+X.visibleHeight/2):(X.arrangement==="freeform"&&(X.node.x0=Q-X.visibleWidth/2,X.node.x1=Q+X.visibleWidth/2),re=Math.max(0,Math.min(X.size-X.visibleHeight/2,re)),X.node.y0=re-X.visibleHeight/2,X.node.y1=re+X.visibleHeight/2),U(X.node),X.arrangement!=="snap"&&(X.sankey.update(X.graph),z(q.filter(G(X)),H))}}).on("dragend",function(X){if(X.arrangement!=="fixed"){X.interactionState.dragInProgress=!1;for(var Q=0;Q_&&j[E].gap;)E--;for(A=j[E].s,k=j.length-1;k>E;k--)j[k].s=A;for(;_z[h]&&h=0;h--){var c=M[h];if(c.type==="scatter"&&c.xaxis===o.xaxis&&c.yaxis===o.yaxis){c.opacity=void 0;break}}}}}},17438:function(T,p,t){var d=t(71828),g=t(73972),i=t(82196),M=t(47581),v=t(34098),f=t(67513),l=t(73927),a=t(565),u=t(49508),o=t(11058),s=t(94039),h=t(82410),c=t(28908),m=t(71828).coercePattern;T.exports=function(w,y,C,_){function k(O,z){return d.coerce(w,y,i,O,z)}var E=f(w,y,_,k);if(E||(y.visible=!1),y.visible){l(w,y,_,k),k("xhoverformat"),k("yhoverformat");var x=a(w,y,_,k);_.scattermode==="group"&&y.orientation===void 0&&k("orientation","v");var A=!x&&E=Math.min(me,pe)&&w<=Math.max(me,pe)?0:1/0}var xe=Math.max(3,de.mrc||0),Pe=1-1/xe,_e=Math.abs(c.c2p(de.x)-w);return _e=Math.min(me,pe)&&y<=Math.max(me,pe)?0:1/0}var xe=Math.max(3,de.mrc||0),Pe=1-1/xe,_e=Math.abs(m.c2p(de.y)-y);return _ece!=(te=U[j][1])>=ce&&(q=U[j-1][0],H=U[j][0],te-ne&&(G=q+(H-q)*(ce-ne)/(te-ne),re=Math.min(re,G),ie=Math.max(ie,G)));re=Math.max(re,0),ie=Math.min(ie,c._length);var ye=v.defaultLine;return v.opacity(h.fillcolor)?ye=h.fillcolor:v.opacity((h.line||{}).color)&&(ye=h.line.color),d.extendFlat(l,{distance:l.maxHoverDistance,x0:re,x1:ie,y0:ce,y1:ce,color:ye,hovertemplate:!1}),delete l.index,h.text&&!Array.isArray(h.text)?l.text=String(h.text):l.text=h.name,[l]}}}},67368:function(T,p,t){var d=t(34098);T.exports={hasLines:d.hasLines,hasMarkers:d.hasMarkers,hasText:d.hasText,isBubble:d.isBubble,attributes:t(82196),layoutAttributes:t(21479),supplyDefaults:t(17438),crossTraceDefaults:t(34936),supplyLayoutDefaults:t(79334),calc:t(47761).calc,crossTraceCalc:t(72626),arraysToCalcdata:t(75225),plot:t(32663),colorbar:t(4898),formatLabels:t(8225),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(33720),selectPoints:t(98002),animatable:!0,moduleType:"trace",name:"scatter",basePlotModule:t(93612),categories:["cartesian","svg","symbols","errorBarsOK","showLegend","scatter-like","zoomScale"],meta:{}}},21479:function(T){T.exports={scattermode:{valType:"enumerated",values:["group","overlay"],dflt:"overlay",editType:"calc"},scattergap:{valType:"number",min:0,max:1,editType:"calc"}}},79334:function(T,p,t){var d=t(71828),g=t(21479);T.exports=function(i,M){var v,f=M.barmode==="group";M.scattermode==="group"&&(v=f?M.bargap:.2,d.coerce(i,M,g,"scattergap",v))}},11058:function(T,p,t){var d=t(71828).isArrayOrTypedArray,g=t(52075).hasColorscale,i=t(1586);T.exports=function(M,v,f,l,a,u){u||(u={});var o=(M.marker||{}).color;a("line.color",f),g(M,"line")?i(M,v,l,a,{prefix:"line.",cLetter:"c"}):a("line.color",!d(o)&&o||f),a("line.width"),u.noDash||a("line.dash"),u.backoff&&a("line.backoff")}},34621:function(T,p,t){var d=t(91424),g=t(50606),i=g.BADNUM,M=g.LOG_CLIP,v=M+.5,f=M-.5,l=t(71828),a=l.segmentsIntersect,u=l.constrain,o=t(47581);T.exports=function(s,h){var c,m,w,y,C,_,k,E,x,A,L,b,R,I,O,z,F,B,N=h.trace||{},W=h.xaxis,j=h.yaxis,$=W.type==="log",U=j.type==="log",G=W._length,q=j._length,H=h.backoff,ne=N.marker,te=h.connectGaps,Z=h.baseTolerance,X=h.shape,Q=X==="linear",re=N.fill&&N.fill!=="none",ie=[],oe=o.minTolerance,ue=s.length,ce=new Array(ue),ye=0;function de(Vt){var Ke=s[Vt];if(!Ke)return!1;var Je=h.linearized?W.l2p(Ke.x):W.c2p(Ke.x),qe=h.linearized?j.l2p(Ke.y):j.c2p(Ke.y);if(Je===i){if($&&(Je=W.c2p(Ke.x,!0)),Je===i)return!1;U&&qe===i&&(Je*=Math.abs(W._m*q*(W._m>0?v:f)/(j._m*G*(j._m>0?v:f)))),Je*=1e3}if(qe===i){if(U&&(qe=j.c2p(Ke.y,!0)),qe===i)return!1;qe*=1e3}return[Je,qe]}function me(Vt,Ke,Je,qe){var nt=Je-Vt,ft=qe-Ke,Re=.5-Vt,Ne=.5-Ke,Qe=nt*nt+ft*ft,ut=nt*Re+ft*Ne;if(ut>0&&utLe||Vt[1]ze)return[u(Vt[0],ke,Le),u(Vt[1],Be,ze)]}function we(Vt,Ke){return Vt[0]===Ke[0]&&(Vt[0]===ke||Vt[0]===Le)||Vt[1]===Ke[1]&&(Vt[1]===Be||Vt[1]===ze)||void 0}function Ee(Vt,Ke,Je){return function(qe,nt){var ft=ge(qe),Re=ge(nt),Ne=[];if(ft&&Re&&we(ft,Re))return Ne;ft&&Ne.push(ft),Re&&Ne.push(Re);var Qe=2*l.constrain((qe[Vt]+nt[Vt])/2,Ke,Je)-((ft||qe)[Vt]+(Re||nt)[Vt]);return Qe&&((ft&&Re?Qe>0==ft[Vt]>Re[Vt]?ft:Re:ft||Re)[Vt]+=Qe),Ne}}function Ve(Vt){var Ke=Vt[0],Je=Vt[1],qe=Ke===ce[ye-1][0],nt=Je===ce[ye-1][1];if(!qe||!nt)if(ye>1){var ft=Ke===ce[ye-2][0],Re=Je===ce[ye-2][1];qe&&(Ke===ke||Ke===Le)&&ft?Re?ye--:ce[ye-1]=Vt:nt&&(Je===Be||Je===ze)&&Re?ft?ye--:ce[ye-1]=Vt:ce[ye++]=Vt}else ce[ye++]=Vt}function $e(Vt){ce[ye-1][0]!==Vt[0]&&ce[ye-1][1]!==Vt[1]&&Ve([Me,Se]),Ve(Vt),Ce=null,Me=Se=0}X==="linear"||X==="spline"?fe=function(Vt,Ke){for(var Je=[],qe=0,nt=0;nt<4;nt++){var ft=je[nt],Re=a(Vt[0],Vt[1],Ke[0],Ke[1],ft[0],ft[1],ft[2],ft[3]);Re&&(!qe||Math.abs(Re.x-Je[0][0])>1||Math.abs(Re.y-Je[0][1])>1)&&(Re=[Re.x,Re.y],qe&&xe(Re,Vt)Le?Le:0,_e=Vt[1]ze?ze:0,Pe||_e){if(ye)if(Ce){var Ke=fe(Ce,Vt);Ke.length>1&&($e(Ke[0]),ce[ye++]=Ke[1])}else ae=fe(ce[ye-1],Vt)[0],ce[ye++]=ae;else ce[ye++]=[Pe||Vt[0],_e||Vt[1]];var Je=ce[ye-1];Pe&&_e&&(Je[0]!==Pe||Je[1]!==_e)?(Ce&&(Me!==Pe&&Se!==_e?Ve(Me&&Se?(qe=Ce,ft=(nt=Vt)[0]-qe[0],Re=(nt[1]-qe[1])/ft,(qe[1]*nt[0]-nt[1]*qe[0])/ft>0?[Re>0?ke:Le,ze]:[Re>0?Le:ke,Be]):[Me||Pe,Se||_e]):Me&&Se&&Ve([Me,Se])),Ve([Pe,_e])):Me-Pe&&Se-_e&&Ve([Pe||Me,_e||Se]),Ce=Vt,Me=Pe,Se=_e}else Ce&&$e(fe(Ce,Vt)[0]),ce[ye++]=Vt;var qe,nt,ft,Re}for(c=0;cpe(_,ot))break;w=_,(R=x[0]*E[0]+x[1]*E[1])>L?(L=R,y=_,k=!1):R=s.length||!_)break;st(_),m=_}}else st(y)}Ce&&Ve([Me||Ce[0],Se||Ce[1]]),ie.push(ce.slice(0,ye))}var ht=X.slice(X.length-1);if(H&&ht!=="h"&&ht!=="v"){for(var bt=!1,Et=-1,kt=[],xt=0;xt=0?l=h:(l=h=s,s++),l0?Math.max(u,f):0}}},4898:function(T){T.exports={container:"marker",min:"cmin",max:"cmax"}},49508:function(T,p,t){var d=t(7901),g=t(52075).hasColorscale,i=t(1586),M=t(34098);T.exports=function(v,f,l,a,u,o){var s=M.isBubble(v),h=(v.line||{}).color;o=o||{},h&&(l=h),u("marker.symbol"),u("marker.opacity",s?.7:1),u("marker.size"),o.noAngle||(u("marker.angle"),o.noAngleRef||u("marker.angleref"),o.noStandOff||u("marker.standoff")),u("marker.color",l),g(v,"marker")&&i(v,f,a,u,{prefix:"marker.",cLetter:"c"}),o.noSelect||(u("selected.marker.color"),u("unselected.marker.color"),u("selected.marker.size"),u("unselected.marker.size")),o.noLine||(u("marker.line.color",h&&!Array.isArray(h)&&f.marker.color!==h?h:s?d.background:d.defaultLine),g(v,"marker.line")&&i(v,f,a,u,{prefix:"marker.line.",cLetter:"c"}),u("marker.line.width",s?1:0)),s&&(u("marker.sizeref"),u("marker.sizemin"),u("marker.sizemode")),o.gradient&&u("marker.gradient.type")!=="none"&&u("marker.gradient.color")}},73927:function(T,p,t){var d=t(71828).dateTick0,g=t(50606).ONEWEEK;function i(M,v){return d(v,M%g==0?1:0)}T.exports=function(M,v,f,l,a){if(a||(a={x:!0,y:!0}),a.x){var u=l("xperiod");u&&(l("xperiod0",i(u,v.xcalendar)),l("xperiodalignment"))}if(a.y){var o=l("yperiod");o&&(l("yperiod0",i(o,v.ycalendar)),l("yperiodalignment"))}}},32663:function(T,p,t){var d=t(39898),g=t(73972),i=t(71828),M=i.ensureSingle,v=i.identity,f=t(91424),l=t(34098),a=t(34621),u=t(68687),o=t(61082).tester;function s(h,c,m,w,y,C,_){var k,E=h._context.staticPlot;(function(fe,be,ke,Le,Be){var ze=ke.xaxis,je=ke.yaxis,ge=d.extent(i.simpleMap(ze.range,ze.r2c)),we=d.extent(i.simpleMap(je.range,je.r2c)),Ee=Le[0].trace;if(l.hasMarkers(Ee)){var Ve=Ee.marker.maxdisplayed;if(Ve!==0){var $e=Le.filter(function(ht){return ht.x>=ge[0]&&ht.x<=ge[1]&&ht.y>=we[0]&&ht.y<=we[1]}),Ye=Math.ceil($e.length/Ve),st=0;Be.forEach(function(ht,bt){var Et=ht[0].trace;l.hasMarkers(Et)&&Et.marker.maxdisplayed>0&&bt0;function A(fe){return x?fe.transition():fe}var L=m.xaxis,b=m.yaxis,R=w[0].trace,I=R.line,O=d.select(C),z=M(O,"g","errorbars"),F=M(O,"g","lines"),B=M(O,"g","points"),N=M(O,"g","text");if(g.getComponentMethod("errorbars","plot")(h,z,m,_),R.visible===!0){var W,j;A(O).style("opacity",R.opacity);var $=R.fill.charAt(R.fill.length-1);$!=="x"&&$!=="y"&&($=""),w[0][m.isRangePlot?"nodeRangePlot3":"node3"]=O;var U,G,q="",H=[],ne=R._prevtrace;ne&&(q=ne._prevRevpath||"",j=ne._nextFill,H=ne._polygons);var te,Z,X,Q,re,ie,oe,ue="",ce="",ye=[],de=i.noop;if(W=R._ownFill,l.hasLines(R)||R.fill!=="none"){for(j&&j.datum(w),["hv","vh","hvh","vhv"].indexOf(I.shape)!==-1?(te=f.steps(I.shape),Z=f.steps(I.shape.split("").reverse().join(""))):te=Z=I.shape==="spline"?function(fe){var be=fe[fe.length-1];return fe.length>1&&fe[0][0]===be[0]&&fe[0][1]===be[1]?f.smoothclosed(fe.slice(1),I.smoothing):f.smoothopen(fe,I.smoothing)}:function(fe){return"M"+fe.join("L")},X=function(fe){return Z(fe.reverse())},ye=a(w,{xaxis:L,yaxis:b,trace:R,connectGaps:R.connectgaps,baseTolerance:Math.max(I.width||1,3)/4,shape:I.shape,backoff:I.backoff,simplify:I.simplify,fill:R.fill}),oe=R._polygons=new Array(ye.length),k=0;k0,A=u(h,c,m);(_=w.selectAll("g.trace").data(A,function(L){return L[0].trace.uid})).enter().append("g").attr("class",function(L){return"trace scatter trace"+L[0].trace.uid}).style("stroke-miterlimit",2),_.order(),function(L,b,R){b.each(function(I){var O=M(d.select(this),"g","fills");f.setClipUrl(O,R.layerClipId,L);var z=I[0].trace,F=[];z._ownfill&&F.push("_ownFill"),z._nexttrace&&F.push("_nextFill");var B=O.selectAll("g").data(F,v);B.enter().append("g"),B.exit().each(function(N){z[N]=null}).remove(),B.order().each(function(N){z[N]=M(d.select(this),"path","js-fill")})})}(h,_,c),x?(C&&(k=C()),d.transition().duration(y.duration).ease(y.easing).each("end",function(){k&&k()}).each("interrupt",function(){k&&k()}).each(function(){w.selectAll("g.trace").each(function(L,b){s(h,b,c,L,A,this,y)})})):_.each(function(L,b){s(h,b,c,L,A,this,y)}),E&&_.exit().remove(),w.selectAll("path:not([d])").remove()}},98002:function(T,p,t){var d=t(34098);T.exports=function(g,i){var M,v,f,l,a=g.cd,u=g.xaxis,o=g.yaxis,s=[],h=a[0].trace;if(!d.hasMarkers(h)&&!d.hasText(h))return[];if(i===!1)for(M=0;M0){var m=f.c2l(h);f._lowerLogErrorBound||(f._lowerLogErrorBound=m),f._lowerErrorBound=Math.min(f._lowerLogErrorBound,m)}}else a[u]=[-o[0]*v,o[1]*v]}return a}T.exports=function(i,M,v){var f=[g(i.x,i.error_x,M[0],v.xaxis),g(i.y,i.error_y,M[1],v.yaxis),g(i.z,i.error_z,M[2],v.zaxis)],l=function(c){for(var m=0;m-1?-1:b.indexOf("right")>-1?1:0}function _(b){return b==null?0:b.indexOf("top")>-1?-1:b.indexOf("bottom")>-1?1:0}function k(b,R){return R(4*b)}function E(b){return s[b]}function x(b,R,I,O,z){var F=null;if(f.isArrayOrTypedArray(b)){F=[];for(var B=0;B=0){var j=function($,U,G){var q,H=(G+1)%3,ne=(G+2)%3,te=[],Z=[];for(q=0;q<$.length;++q){var X=$[q];!isNaN(X[H])&&isFinite(X[H])&&!isNaN(X[ne])&&isFinite(X[ne])&&(te.push([X[H],X[ne]]),Z.push(q))}var Q=v(te);for(q=0;q=0&&h("surfacecolor",m||w);for(var y=["x","y","z"],C=0;C<3;++C){var _="projection."+y[C];h(_+".show")&&(h(_+".opacity"),h(_+".scale"))}var k=d.getComponentMethod("errorbars","supplyDefaults");k(a,u,m||w||o,{axis:"z"}),k(a,u,m||w||o,{axis:"y",inherit:"z"}),k(a,u,m||w||o,{axis:"x",inherit:"z"})}else u.visible=!1}},13551:function(T,p,t){T.exports={plot:t(58925),attributes:t(44542),markerSymbols:t(87381),supplyDefaults:t(21428),colorbar:[{container:"marker",min:"cmin",max:"cmax"},{container:"line",min:"cmin",max:"cmax"}],calc:t(36563),moduleType:"trace",name:"scatter3d",basePlotModule:t(58547),categories:["gl3d","symbols","showLegend","scatter-like"],meta:{}}},97001:function(T,p,t){var d=t(82196),g=t(9012),i=t(5386).fF,M=t(5386).si,v=t(50693),f=t(1426).extendFlat,l=d.marker,a=d.line,u=l.line;T.exports={carpet:{valType:"string",editType:"calc"},a:{valType:"data_array",editType:"calc"},b:{valType:"data_array",editType:"calc"},mode:f({},d.mode,{dflt:"markers"}),text:f({},d.text,{}),texttemplate:M({editType:"plot"},{keys:["a","b","text"]}),hovertext:f({},d.hovertext,{}),line:{color:a.color,width:a.width,dash:a.dash,backoff:a.backoff,shape:f({},a.shape,{values:["linear","spline"]}),smoothing:a.smoothing,editType:"calc"},connectgaps:d.connectgaps,fill:f({},d.fill,{values:["none","toself","tonext"],dflt:"none"}),fillcolor:d.fillcolor,marker:f({symbol:l.symbol,opacity:l.opacity,maxdisplayed:l.maxdisplayed,angle:l.angle,angleref:l.angleref,standoff:l.standoff,size:l.size,sizeref:l.sizeref,sizemin:l.sizemin,sizemode:l.sizemode,line:f({width:u.width,editType:"calc"},v("marker.line")),gradient:l.gradient,editType:"calc"},v("marker")),textfont:d.textfont,textposition:d.textposition,selected:d.selected,unselected:d.unselected,hoverinfo:f({},g.hoverinfo,{flags:["a","b","text","name"]}),hoveron:d.hoveron,hovertemplate:i()}},34618:function(T,p,t){var d=t(92770),g=t(36922),i=t(75225),M=t(66279),v=t(47761).calcMarkerSize,f=t(22882);T.exports=function(l,a){var u=a._carpetTrace=f(l,a);if(u&&u.visible&&u.visible!=="legendonly"){var o;a.xaxis=u.xaxis,a.yaxis=u.yaxis;var s,h,c=a._length,m=new Array(c),w=!1;for(o=0;o")}return l}function k(E,x){var A;A=E.labelprefix&&E.labelprefix.length>0?E.labelprefix.replace(/ = $/,""):E._hovertitle,C.push(A+": "+x.toFixed(3)+E.labelsuffix)}}},46858:function(T,p,t){T.exports={attributes:t(97001),supplyDefaults:t(98965),colorbar:t(4898),formatLabels:t(48953),calc:t(34618),plot:t(1913),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(22931),selectPoints:t(98002),eventData:t(16165),moduleType:"trace",name:"scattercarpet",basePlotModule:t(93612),categories:["svg","carpet","symbols","showLegend","carpetDependent","zoomScale"],meta:{}}},1913:function(T,p,t){var d=t(32663),g=t(89298),i=t(91424);T.exports=function(M,v,f,l){var a,u,o,s=f[0][0].carpet,h=g.getFromId(M,s.xaxis||"x"),c=g.getFromId(M,s.yaxis||"y"),m={xaxis:h,yaxis:c,plot:v.plot};for(a=0;a")}function j($){return $+"°"}}(o,y,f,u[0].t.labels),f.hovertemplate=o.hovertemplate,[f]}}},17988:function(T,p,t){T.exports={attributes:t(19316),supplyDefaults:t(10659),colorbar:t(4898),formatLabels:t(82719),calc:t(84622),calcGeoJSON:t(89171).calcGeoJSON,plot:t(89171).plot,style:t(33095),styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(14977),eventData:t(84084),selectPoints:t(20548),moduleType:"trace",name:"scattergeo",basePlotModule:t(44622),categories:["geo","symbols","showLegend","scatter-like"],meta:{}}},89171:function(T,p,t){var d=t(39898),g=t(71828),i=t(90973).getTopojsonFeatures,M=t(18214),v=t(41327),f=t(71739).findExtremes,l=t(50606).BADNUM,a=t(47761).calcMarkerSize,u=t(34098),o=t(33095);T.exports={calcGeoJSON:function(s,h){var c,m,w=s[0].trace,y=h[w.geo],C=y._subplot,_=w._length;if(Array.isArray(w.locations)){var k=w.locationmode,E=k==="geojson-id"?v.extractTraceFeature(s):i(w,C.topojson);for(c=0;c<_;c++){m=s[c];var x=k==="geojson-id"?m.fOut:v.locationToFeature(k,m.loc,E);m.lonlat=x?x.properties.ct:[l,l]}}var A,L,b={padded:!0};if(y.fitbounds==="geojson"&&w.locationmode==="geojson-id"){var R=v.computeBbox(v.getTraceGeojson(w));A=[R[0],R[2]],L=[R[1],R[3]]}else{for(A=new Array(_),L=new Array(_),c=0;c<_;c++)m=s[c],A[c]=m.lonlat[0],L[c]=m.lonlat[1];b.ppad=a(w,_)}w._extremes.lon=f(y.lonaxis._ax,A,b),w._extremes.lat=f(y.lataxis._ax,L,b)},plot:function(s,h,c){var m=h.layers.frontplot.select(".scatterlayer"),w=g.makeTraceGroups(m,c,"trace scattergeo");function y(C,_){C.lonlat[0]===l&&d.select(_).remove()}w.selectAll("*").remove(),w.each(function(C){var _=d.select(this),k=C[0].trace;if(u.hasLines(k)||k.fill!=="none"){var E=M.calcTraceToLineCoords(C),x=k.fill!=="none"?M.makePolygon(E):M.makeLine(E);_.selectAll("path.js-line").data([{geojson:x,trace:k}]).enter().append("path").classed("js-line",!0).style("stroke-miterlimit",2)}u.hasMarkers(k)&&_.selectAll("path.point").data(g.identity).enter().append("path").classed("point",!0).each(function(A){y(A,this)}),u.hasText(k)&&_.selectAll("g").data(g.identity).enter().append("g").append("text").each(function(A){y(A,this)}),o(s,C)})}}},20548:function(T,p,t){var d=t(34098),g=t(50606).BADNUM;T.exports=function(i,M){var v,f,l,a,u,o=i.cd,s=i.xaxis,h=i.yaxis,c=[],m=o[0].trace;if(!d.hasMarkers(m)&&!d.hasText(m))return[];if(M===!1)for(u=0;u=m,R=2*L,I={},O=E.makeCalcdata(C,"x"),z=x.makeCalcdata(C,"y"),F=v(C,E,"x",O),B=v(C,x,"y",z),N=F.vals,W=B.vals;C._x=N,C._y=W,C.xperiodalignment&&(C._origX=O,C._xStarts=F.starts,C._xEnds=F.ends),C.yperiodalignment&&(C._origY=z,C._yStarts=B.starts,C._yEnds=B.ends);var j=new Array(R),$=new Array(L);for(_=0;_1&&g.extendFlat(re.line,s.linePositions(H,te,Z)),re.errorX||re.errorY){var ie=s.errorBarPositions(H,te,Z,X,Q);re.errorX&&g.extendFlat(re.errorX,ie.x),re.errorY&&g.extendFlat(re.errorY,ie.y)}return re.text&&(g.extendFlat(re.text,{positions:Z},s.textPosition(H,te,re.text,re.marker)),g.extendFlat(re.textSel,{positions:Z},s.textPosition(H,te,re.text,re.markerSel)),g.extendFlat(re.textUnsel,{positions:Z},s.textPosition(H,te,re.text,re.markerUnsel))),re}(y,0,C,j,N,W),q=h(y,A);return u(k,C),b?G.marker&&(U=G.marker.sizeAvg||Math.max(G.marker.size,3)):U=l(C,L),a(y,C,E,x,N,W,U),G.errorX&&w(C,E,G.errorX),G.errorY&&w(C,x,G.errorY),G.fill&&!q.fill2d&&(q.fill2d=!0),G.marker&&!q.scatter2d&&(q.scatter2d=!0),G.line&&!q.line2d&&(q.line2d=!0),!G.errorX&&!G.errorY||q.error2d||(q.error2d=!0),G.text&&!q.glText&&(q.glText=!0),G.marker&&(G.marker.snap=L),q.lineOptions.push(G.line),q.errorXOptions.push(G.errorX),q.errorYOptions.push(G.errorY),q.fillOptions.push(G.fill),q.markerOptions.push(G.marker),q.markerSelectedOptions.push(G.markerSel),q.markerUnselectedOptions.push(G.markerUnsel),q.textOptions.push(G.text),q.textSelectedOptions.push(G.textSel),q.textUnselectedOptions.push(G.textUnsel),q.selectBatch.push([]),q.unselectBatch.push([]),I._scene=q,I.index=q.count,I.x=N,I.y=W,I.positions=j,q.count++,[{x:!1,y:!1,t:I,trace:C}]}},78232:function(T){T.exports={TOO_MANY_POINTS:1e5,SYMBOL_SDF_SIZE:200,SYMBOL_SIZE:20,SYMBOL_STROKE:1,DOT_RE:/-dot/,OPEN_RE:/-open/,DASHES:{solid:[1],dot:[1,1],dash:[4,1],longdash:[8,1],dashdot:[4,1,1,1],longdashdot:[8,1,1,1]}}},19635:function(T,p,t){var d=t(92770),g=t(82019),i=t(25075),M=t(73972),v=t(71828),f=t(91424),l=t(41675),a=t(81697).formatColor,u=t(34098),o=t(39984),s=t(68645),h=t(78232),c=t(37822).DESELECTDIM,m={start:1,left:1,end:-1,right:-1,middle:0,center:0,bottom:1,top:-1},w=t(23469).appendArrayPointValue;function y(O,z){var F,B=O._fullLayout,N=z._length,W=z.textfont,j=z.textposition,$=Array.isArray(j)?j:[j],U=W.color,G=W.size,q=W.family,H={},ne=O._context.plotGlPixelRatio,te=z.texttemplate;if(te){H.text=[];var Z=B._d3locale,X=Array.isArray(te),Q=X?Math.min(te.length,N):N,re=X?function(me){return te[me]}:function(){return te};for(F=0;Fh.TOO_MANY_POINTS||u.hasMarkers(z)?"rect":"round";if(G&&z.connectgaps){var H=B[0],ne=B[1];for(N=0;N1?U[N]:U[0]:U,te=Array.isArray(G)?G.length>1?G[N]:G[0]:G,Z=m[ne],X=m[te],Q=q?q/.8+1:0,re=-X*Q-.5*X;j.offset[N]=[Z*Q/H,re/H]}}return j}}},47148:function(T,p,t){var d=t(71828),g=t(73972),i=t(68645),M=t(42341),v=t(47581),f=t(34098),l=t(67513),a=t(73927),u=t(49508),o=t(11058),s=t(28908),h=t(82410);T.exports=function(c,m,w,y){function C(R,I){return d.coerce(c,m,M,R,I)}var _=!!c.marker&&i.isOpenSymbol(c.marker.symbol),k=f.isBubble(c),E=l(c,m,y,C);if(E){a(c,m,y,C),C("xhoverformat"),C("yhoverformat");var x=E100},p.isDotSymbol=function(g){return typeof g=="string"?d.DOT_RE.test(g):g>200}},20794:function(T,p,t){var d=t(73972),g=t(71828),i=t(34603);function M(v,f,l,a){var u=v.xa,o=v.ya,s=v.distance,h=v.dxy,c=v.index,m={pointNumber:c,x:f[c],y:l[c]};m.tx=Array.isArray(a.text)?a.text[c]:a.text,m.htx=Array.isArray(a.hovertext)?a.hovertext[c]:a.hovertext,m.data=Array.isArray(a.customdata)?a.customdata[c]:a.customdata,m.tp=Array.isArray(a.textposition)?a.textposition[c]:a.textposition;var w=a.textfont;w&&(m.ts=g.isArrayOrTypedArray(w.size)?w.size[c]:w.size,m.tc=Array.isArray(w.color)?w.color[c]:w.color,m.tf=Array.isArray(w.family)?w.family[c]:w.family);var y=a.marker;y&&(m.ms=g.isArrayOrTypedArray(y.size)?y.size[c]:y.size,m.mo=g.isArrayOrTypedArray(y.opacity)?y.opacity[c]:y.opacity,m.mx=g.isArrayOrTypedArray(y.symbol)?y.symbol[c]:y.symbol,m.ma=g.isArrayOrTypedArray(y.angle)?y.angle[c]:y.angle,m.mc=g.isArrayOrTypedArray(y.color)?y.color[c]:y.color);var C=y&&y.line;C&&(m.mlc=Array.isArray(C.color)?C.color[c]:C.color,m.mlw=g.isArrayOrTypedArray(C.width)?C.width[c]:C.width);var _=y&&y.gradient;_&&_.type!=="none"&&(m.mgt=Array.isArray(_.type)?_.type[c]:_.type,m.mgc=Array.isArray(_.color)?_.color[c]:_.color);var k=u.c2p(m.x,!0),E=o.c2p(m.y,!0),x=m.mrc||1,A=a.hoverlabel;A&&(m.hbg=Array.isArray(A.bgcolor)?A.bgcolor[c]:A.bgcolor,m.hbc=Array.isArray(A.bordercolor)?A.bordercolor[c]:A.bordercolor,m.hts=g.isArrayOrTypedArray(A.font.size)?A.font.size[c]:A.font.size,m.htc=Array.isArray(A.font.color)?A.font.color[c]:A.font.color,m.htf=Array.isArray(A.font.family)?A.font.family[c]:A.font.family,m.hnl=g.isArrayOrTypedArray(A.namelength)?A.namelength[c]:A.namelength);var L=a.hoverinfo;L&&(m.hi=Array.isArray(L)?L[c]:L);var b=a.hovertemplate;b&&(m.ht=Array.isArray(b)?b[c]:b);var R={};R[v.index]=m;var I=a._origX,O=a._origY,z=g.extendFlat({},v,{color:i(a,m),x0:k-x,x1:k+x,xLabelVal:I?I[c]:m.x,y0:E-x,y1:E+x,yLabelVal:O?O[c]:m.y,cd:R,distance:s,spikeDistance:h,hovertemplate:m.ht});return m.htx?z.text=m.htx:m.tx?z.text=m.tx:a.text&&(z.text=a.text),g.fillText(m,a,z),d.getComponentMethod("errorbars","hoverInfo")(m,a,z),z}T.exports={hoverPoints:function(v,f,l,a){var u,o,s,h,c,m,w,y,C,_,k=v.cd,E=k[0].t,x=k[0].trace,A=v.xa,L=v.ya,b=E.x,R=E.y,I=A.c2p(f),O=L.c2p(l),z=v.distance;if(E.tree){var F=A.p2c(I-z),B=A.p2c(I+z),N=L.p2c(O-z),W=L.p2c(O+z);u=a==="x"?E.tree.range(Math.min(F,B),Math.min(L._rl[0],L._rl[1]),Math.max(F,B),Math.max(L._rl[0],L._rl[1])):E.tree.range(Math.min(F,B),Math.min(N,W),Math.max(F,B),Math.max(N,W))}else u=E.ids;var j=z;if(a==="x"){var $=!!x.xperiodalignment,U=!!x.yperiodalignment;for(m=0;m=Math.min(G,q)&&I<=Math.max(G,q)?0:1/0}if(w=Math.min(H,ne)&&O<=Math.max(H,ne)?0:1/0}_=Math.sqrt(w*w+y*y),s=u[m]}}}else for(m=u.length-1;m>-1;m--)h=b[o=u[m]],c=R[o],w=A.c2p(h)-I,y=L.c2p(c)-O,(C=Math.sqrt(w*w+y*y))k.glText.length){var b=A-k.glText.length;for(y=0;yue&&(isNaN(oe[ce])||isNaN(oe[ce+1]));)ce-=2;ie.positions=oe.slice(ue,ce+2)}return ie}),k.line2d.update(k.lineOptions)),k.error2d){var I=(k.errorXOptions||[]).concat(k.errorYOptions||[]);k.error2d.update(I)}k.scatter2d&&k.scatter2d.update(k.markerOptions),k.fillOrder=v.repeat(null,A),k.fill2d&&(k.fillOptions=k.fillOptions.map(function(ie,oe){var ue=w[oe];if(ie&&ue&&ue[0]&&ue[0].trace){var ce,ye,de=ue[0],me=de.trace,pe=de.t,xe=k.lineOptions[oe],Pe=[];me._ownfill&&Pe.push(oe),me._nexttrace&&Pe.push(oe+1),Pe.length&&(k.fillOrder[oe]=Pe);var _e,Me,Se=[],Ce=xe&&xe.positions||pe.positions;if(me.fill==="tozeroy"){for(_e=0;_e_e&&isNaN(Ce[Me+1]);)Me-=2;Ce[_e+1]!==0&&(Se=[Ce[_e],0]),Se=Se.concat(Ce.slice(_e,Me+2)),Ce[Me+1]!==0&&(Se=Se.concat([Ce[Me],0]))}else if(me.fill==="tozerox"){for(_e=0;_e_e&&isNaN(Ce[Me]);)Me-=2;Ce[_e]!==0&&(Se=[0,Ce[_e+1]]),Se=Se.concat(Ce.slice(_e,Me+2)),Ce[Me]!==0&&(Se=Se.concat([0,Ce[Me+1]]))}else if(me.fill==="toself"||me.fill==="tonext"){for(Se=[],ce=0,ie.splitNull=!0,ye=0;ye-1;for(y=0;y")}function C(_){return _+"°"}}T.exports={hoverPoints:function(a,u,o){var s=a.cd,h=s[0].trace,c=a.xa,m=a.ya,w=a.subplot,y=[],C=f+h.uid+"-circle",_=h.cluster&&h.cluster.enabled;if(_){var k=w.map.queryRenderedFeatures(null,{layers:[C]});y=k.map(function(B){return B.id})}var E=360*(u>=0?Math.floor((u+180)/360):Math.ceil((u-180)/360)),x=u-E;if(d.getClosest(s,function(B){var N=B.lonlat;if(N[0]===v||_&&y.indexOf(B.i+1)===-1)return 1/0;var W=g.modHalf(N[0],360),j=N[1],$=w.project([W,j]),U=$.x-c.c2p([x,j]),G=$.y-m.c2p([W,o]),q=Math.max(3,B.mrc||0);return Math.max(Math.sqrt(U*U+G*G)-q,1-3/q)},a),a.index!==!1){var A=s[a.index],L=A.lonlat,b=[g.modHalf(L[0],360)+E,L[1]],R=c.c2p(b),I=m.c2p(b),O=A.mrc||1;a.x0=R-O,a.x1=R+O,a.y0=I-O,a.y1=I+O;var z={};z[h.subplot]={_subplot:w};var F=h._module.formatLabels(A,h,z);return a.lonLabel=F.lonLabel,a.latLabel=F.latLabel,a.color=i(h,A),a.extraText=l(h,A,s[0].t.labels),a.hovertemplate=h.hovertemplate,[a]}},getExtraText:l}},20467:function(T,p,t){T.exports={attributes:t(99181),supplyDefaults:t(76645),colorbar:t(4898),formatLabels:t(15636),calc:t(84622),plot:t(86951),hoverPoints:t(28178).hoverPoints,eventData:t(53353),selectPoints:t(86387),styleOnSelect:function(d,g){g&&g[0].trace._glTrace.update(g)},moduleType:"trace",name:"scattermapbox",basePlotModule:t(50101),categories:["mapbox","gl","symbols","showLegend","scatter-like"],meta:{}}},86951:function(T,p,t){var d=t(71828),g=t(15790),i=t(77734).traceLayerPrefix,M={cluster:["cluster","clusterCount","circle"],nonCluster:["fill","line","circle","symbol"]};function v(l,a,u,o){this.type="scattermapbox",this.subplot=l,this.uid=a,this.clusterEnabled=u,this.isHidden=o,this.sourceIds={fill:"source-"+a+"-fill",line:"source-"+a+"-line",circle:"source-"+a+"-circle",symbol:"source-"+a+"-symbol",cluster:"source-"+a+"-circle",clusterCount:"source-"+a+"-circle"},this.layerIds={fill:i+a+"-fill",line:i+a+"-line",circle:i+a+"-circle",symbol:i+a+"-symbol",cluster:i+a+"-cluster",clusterCount:i+a+"-cluster-count"},this.below=null}var f=v.prototype;f.addSource=function(l,a,u){var o={type:"geojson",data:a.geojson};u&&u.enabled&&d.extendFlat(o,{cluster:!0,clusterMaxZoom:u.maxzoom});var s=this.subplot.map.getSource(this.sourceIds[l]);s?s.setData(a.geojson):this.subplot.map.addSource(this.sourceIds[l],o)},f.setSourceData=function(l,a){this.subplot.map.getSource(this.sourceIds[l]).setData(a.geojson)},f.addLayer=function(l,a,u){var o={type:a.type,id:this.layerIds[l],source:this.sourceIds[l],layout:a.layout,paint:a.paint};a.filter&&(o.filter=a.filter);for(var s,h=this.layerIds[l],c=this.subplot.getMapLayers(),m=0;m=0;b--){var R=L[b];o.removeLayer(w.layerIds[R])}A||o.removeSource(w.sourceIds.circle)}(x):function(A){for(var L=M.nonCluster,b=L.length-1;b>=0;b--){var R=L[b];o.removeLayer(w.layerIds[R]),A||o.removeSource(w.sourceIds[R])}}(x)}function C(x){c?function(A){A||w.addSource("circle",s.circle,a.cluster);for(var L=M.cluster,b=0;b=0;u--){var o=a[u];l.removeLayer(this.layerIds[o]),l.removeSource(this.sourceIds[o])}},T.exports=function(l,a){var u,o,s,h=a[0].trace,c=h.cluster&&h.cluster.enabled,m=h.visible!==!0,w=new v(l,h.uid,c,m),y=g(l.gd,a),C=w.below=l.belowLookup["trace-"+h.uid];if(c)for(w.addSource("circle",y.circle,h.cluster),u=0;u")}}T.exports={hoverPoints:function(i,M,v,f){var l=d(i,M,v,f);if(l&&l[0].index!==!1){var a=l[0];if(a.index===void 0)return l;var u=i.subplot,o=a.cd[a.index],s=a.trace;if(u.isPtInside(o))return a.xLabelVal=void 0,a.yLabelVal=void 0,g(o,s,u,a),a.hovertemplate=s.hovertemplate,l}},makeHoverPointText:g}},91271:function(T,p,t){T.exports={moduleType:"trace",name:"scatterpolar",basePlotModule:t(23580),categories:["polar","symbols","showLegend","scatter-like"],attributes:t(81245),supplyDefaults:t(22184).supplyDefaults,colorbar:t(4898),formatLabels:t(98608),calc:t(26442),plot:t(45162),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(59150).hoverPoints,selectPoints:t(98002),meta:{}}},45162:function(T,p,t){var d=t(32663),g=t(50606).BADNUM;T.exports=function(i,M,v){for(var f=M.layers.frontplot.select("g.scatterlayer"),l=M.xaxis,a=M.yaxis,u={xaxis:l,yaxis:a,plot:M.framework,layerClipId:M._hasClipOnAxisFalse?M.clipIds.forTraces:null},o=M.radialAxis,s=M.angularAxis,h=0;h=l&&(A.marker.cluster=_.tree),A.marker&&(A.markerSel.positions=A.markerUnsel.positions=A.marker.positions=R),A.line&&R.length>1&&f.extendFlat(A.line,v.linePositions(a,C,R)),A.text&&(f.extendFlat(A.text,{positions:R},v.textPosition(a,C,A.text,A.marker)),f.extendFlat(A.textSel,{positions:R},v.textPosition(a,C,A.text,A.markerSel)),f.extendFlat(A.textUnsel,{positions:R},v.textPosition(a,C,A.text,A.markerUnsel))),A.fill&&!c.fill2d&&(c.fill2d=!0),A.marker&&!c.scatter2d&&(c.scatter2d=!0),A.line&&!c.line2d&&(c.line2d=!0),A.text&&!c.glText&&(c.glText=!0),c.lineOptions.push(A.line),c.fillOptions.push(A.fill),c.markerOptions.push(A.marker),c.markerSelectedOptions.push(A.markerSel),c.markerUnselectedOptions.push(A.markerUnsel),c.textOptions.push(A.text),c.textSelectedOptions.push(A.textSel),c.textUnselectedOptions.push(A.textUnsel),c.selectBatch.push([]),c.unselectBatch.push([]),_.x=I,_.y=O,_.rawx=I,_.rawy=O,_.r=E,_.theta=x,_.positions=R,_._scene=c,_.index=c.count,c.count++}}),i(a,u,o)}},T.exports.reglPrecompiled={}},48300:function(T,p,t){var d=t(5386).fF,g=t(5386).si,i=t(1426).extendFlat,M=t(82196),v=t(9012),f=M.line;T.exports={mode:M.mode,real:{valType:"data_array",editType:"calc+clearAxisTypes"},imag:{valType:"data_array",editType:"calc+clearAxisTypes"},text:M.text,texttemplate:g({editType:"plot"},{keys:["real","imag","text"]}),hovertext:M.hovertext,line:{color:f.color,width:f.width,dash:f.dash,backoff:f.backoff,shape:i({},f.shape,{values:["linear","spline"]}),smoothing:f.smoothing,editType:"calc"},connectgaps:M.connectgaps,marker:M.marker,cliponaxis:i({},M.cliponaxis,{dflt:!1}),textposition:M.textposition,textfont:M.textfont,fill:i({},M.fill,{values:["none","toself","tonext"],dflt:"none"}),fillcolor:M.fillcolor,hoverinfo:i({},v.hoverinfo,{flags:["real","imag","text","name"]}),hoveron:M.hoveron,hovertemplate:d(),selected:M.selected,unselected:M.unselected}},30621:function(T,p,t){var d=t(92770),g=t(50606).BADNUM,i=t(36922),M=t(75225),v=t(66279),f=t(47761).calcMarkerSize;T.exports=function(l,a){for(var u=l._fullLayout,o=a.subplot,s=u[o].realaxis,h=u[o].imaginaryaxis,c=s.makeCalcdata(a,"real"),m=h.makeCalcdata(a,"imag"),w=a._length,y=new Array(w),C=0;C")}}T.exports={hoverPoints:function(i,M,v,f){var l=d(i,M,v,f);if(l&&l[0].index!==!1){var a=l[0];if(a.index===void 0)return l;var u=i.subplot,o=a.cd[a.index],s=a.trace;if(u.isPtInside(o))return a.xLabelVal=void 0,a.yLabelVal=void 0,g(o,s,u,a),a.hovertemplate=s.hovertemplate,l}},makeHoverPointText:g}},85956:function(T,p,t){T.exports={moduleType:"trace",name:"scattersmith",basePlotModule:t(7504),categories:["smith","symbols","showLegend","scatter-like"],attributes:t(48300),supplyDefaults:t(65269),colorbar:t(4898),formatLabels:t(62047),calc:t(30621),plot:t(12480),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(11350).hoverPoints,selectPoints:t(98002),meta:{}}},12480:function(T,p,t){var d=t(32663),g=t(50606).BADNUM,i=t(23893).smith;T.exports=function(M,v,f){for(var l=v.layers.frontplot.select("g.scatterlayer"),a=v.xaxis,u=v.yaxis,o={xaxis:a,yaxis:u,plot:v.framework,layerClipId:v._hasClipOnAxisFalse?v.clipIds.forTraces:null},s=0;s"),l.hovertemplate=c.hovertemplate,f}function E(x,A){_.push(x._hovertitle+": "+A)}}},52979:function(T,p,t){T.exports={attributes:t(50413),supplyDefaults:t(46008),colorbar:t(4898),formatLabels:t(93645),calc:t(54337),plot:t(7507),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(47250),selectPoints:t(98002),eventData:t(4524),moduleType:"trace",name:"scatterternary",basePlotModule:t(61639),categories:["ternary","symbols","showLegend","scatter-like"],meta:{}}},7507:function(T,p,t){var d=t(32663);T.exports=function(g,i,M){var v=i.plotContainer;v.select(".scatterlayer").selectAll("*").remove();for(var f=i.xaxis,l=i.yaxis,a={xaxis:f,yaxis:l,plot:v,layerClipId:i._hasClipOnAxisFalse?i.clipIdRelative:null},u=i.layers.frontplot.select("g.scatterlayer"),o=0;oo?x.sizeAvg||Math.max(x.size,3):i(h,E),m=0;mR&&z||b-1,j=!0;if(M(x)||w.selectedpoints||W){var $=w._length;if(w.selectedpoints){C.selectBatch=w.selectedpoints;var U=w.selectedpoints,G={};for(o=0;o1&&(m=k[A-1],y=E[A-1],_=x[A-1]),l=0;lm?"-":"+")+"x")).replace("y",(w>y?"-":"+")+"y")).replace("z",(C>_?"-":"+")+"z");var j=function(){A=0,B=[],N=[],W=[]};(!A||A2?c.slice(1,m-1):m===2?[(c[0]+c[1])/2]:c}function s(c){var m=c.length;return m===1?[.5,.5]:[c[1]-c[0],c[m-1]-c[m-2]]}function h(c,m){var w=c.fullSceneLayout,y=c.dataScale,C=m._len,_={};function k(te,Z){var X=w[Z],Q=y[l[Z]];return i.simpleMap(te,function(re){return X.d2l(re)*Q})}if(_.vectors=f(k(m._u,"xaxis"),k(m._v,"yaxis"),k(m._w,"zaxis"),C),!C)return{positions:[],cells:[]};var E=k(m._Xs,"xaxis"),x=k(m._Ys,"yaxis"),A=k(m._Zs,"zaxis");if(_.meshgrid=[E,x,A],_.gridFill=m._gridFill,m._slen)_.startingPositions=f(k(m._startsX,"xaxis"),k(m._startsY,"yaxis"),k(m._startsZ,"zaxis"));else{for(var L=x[0],b=o(E),R=o(A),I=new Array(b.length*R.length),O=0,z=0;z=0};L?(w=Math.min(A.length,R.length),y=function(ue){return N(A[ue])&&W(ue)},C=function(ue){return String(A[ue])}):(w=Math.min(b.length,R.length),y=function(ue){return N(b[ue])&&W(ue)},C=function(ue){return String(b[ue])}),O&&(w=Math.min(w,I.length));for(var j=0;j1){for(var q=i.randstr(),H=0;H"),name:B||ne("name")?L.name:void 0,color:F("hoverlabel.bgcolor")||b.color,borderColor:F("hoverlabel.bordercolor"),fontFamily:F("hoverlabel.font.family"),fontSize:F("hoverlabel.font.size"),fontColor:F("hoverlabel.font.color"),nameLength:F("hoverlabel.namelength"),textAlign:F("hoverlabel.align"),hovertemplate:B,hovertemplateLabels:G,eventData:A};_&&(X.x0=j-E.rInscribed*E.rpx1,X.x1=j+E.rInscribed*E.rpx1,X.idealAlign=E.pxmid[0]<0?"left":"right"),k&&(X.x=j,X.idealAlign=j<0?"left":"right");var Q=[];M.loneHover(X,{container:x._hoverlayer.node(),outerContainer:x._paper.node(),gd:h,inOut_bbox:Q}),A[0].bbox=Q[0],y._hasHoverLabel=!0}if(k){var re=o.select("path.surface");m.styleOne(re,E,L,{hovered:!0})}y._hasHoverEvent=!0,h.emit("plotly_hover",{points:A||[u(E,L,m.eventDataKeys)],event:d.event})}}),o.on("mouseout",function(E){var x=h._fullLayout,A=h._fullData[y.index],L=d.select(this).datum();if(y._hasHoverEvent&&(E.originalEvent=d.event,h.emit("plotly_unhover",{points:[u(L,A,m.eventDataKeys)],event:d.event}),y._hasHoverEvent=!1),y._hasHoverLabel&&(M.loneUnhover(x._hoverlayer.node()),y._hasHoverLabel=!1),k){var b=o.select("path.surface");m.styleOne(b,L,A,{hovered:!1})}}),o.on("click",function(E){var x=h._fullLayout,A=h._fullData[y.index],L=_&&(l.isHierarchyRoot(E)||l.isLeaf(E)),b=l.getPtId(E),R=l.isEntry(E)?l.findEntryWithChild(C,b):l.findEntryWithLevel(C,b),I=l.getPtId(R),O={points:[u(E,A,m.eventDataKeys)],event:d.event};L||(O.nextLevel=I);var z=f.triggerHandler(h,"plotly_"+y.type+"click",O);if(z!==!1&&x.hovermode&&(h._hoverdata=[u(E,A,m.eventDataKeys)],M.click(h,d.event)),!L&&z!==!1&&!h._dragging&&!h._transitioning){g.call("_storeDirectGUIEdit",A,x._tracePreGUI[A.uid],{level:A.level});var F={data:[{level:I}],traces:[y.index]},B={frame:{redraw:!1,duration:m.transitionTime},transition:{duration:m.transitionTime,easing:m.transitionEasing},mode:"immediate",fromcurrent:!0};M.loneUnhover(x._hoverlayer.node()),g.call("animate",h,F,B)}})}},2791:function(T,p,t){var d=t(71828),g=t(7901),i=t(6964),M=t(53581);function v(f){return f.data.data.pid}p.findEntryWithLevel=function(f,l){var a;return l&&f.eachAfter(function(u){if(p.getPtId(u)===l)return a=u.copy()}),a||f},p.findEntryWithChild=function(f,l){var a;return f.eachAfter(function(u){for(var o=u.children||[],s=0;s0)},p.getMaxDepth=function(f){return f.maxdepth>=0?f.maxdepth:1/0},p.isHeader=function(f,l){return!(p.isLeaf(f)||f.depth===l._maxDepth-1)},p.getParent=function(f,l){return p.findEntryWithLevel(f,v(l))},p.listPath=function(f,l){var a=f.parent;if(!a)return[];var u=l?[a.data[l]]:[a];return p.listPath(a,l).concat(u)},p.getPath=function(f){return p.listPath(f,"label").join("/")+"/"},p.formatValue=M.formatPieValue,p.formatPercent=function(f,l){var a=d.formatPercent(f,0);return a==="0%"&&(a=M.formatPiePercent(f,l)),a}},87619:function(T,p,t){T.exports={moduleType:"trace",name:"sunburst",basePlotModule:t(66888),categories:[],animatable:!0,attributes:t(57564),layoutAttributes:t(2654),supplyDefaults:t(17094),supplyLayoutDefaults:t(57034),calc:t(52147).calc,crossTraceCalc:t(52147).crossTraceCalc,plot:t(24714).plot,style:t(29969).style,colorbar:t(4898),meta:{}}},2654:function(T){T.exports={sunburstcolorway:{valType:"colorlist",editType:"calc"},extendsunburstcolors:{valType:"boolean",dflt:!0,editType:"calc"}}},57034:function(T,p,t){var d=t(71828),g=t(2654);T.exports=function(i,M){function v(f,l){return d.coerce(i,M,g,f,l)}v("sunburstcolorway",M.colorway),v("extendsunburstcolors")}},24714:function(T,p,t){var d=t(39898),g=t(674),i=t(81684).sX,M=t(91424),v=t(71828),f=t(63893),l=t(72597),a=l.recordMinTextSize,u=l.clearMinTextSize,o=t(14575),s=t(53581).getRotationAngle,h=o.computeTransform,c=o.transformInsideText,m=t(29969).styleOne,w=t(16688).resizeText,y=t(83523),C=t(7055),_=t(2791);function k(x,A,L,b){var R=x._context.staticPlot,I=x._fullLayout,O=!I.uniformtext.mode&&_.hasTransition(b),z=d.select(L).selectAll("g.slice"),F=A[0],B=F.trace,N=F.hierarchy,W=_.findEntryWithLevel(N,B.level),j=_.getMaxDepth(B),$=I._size,U=B.domain,G=$.w*(U.x[1]-U.x[0]),q=$.h*(U.y[1]-U.y[0]),H=.5*Math.min(G,q),ne=F.cx=$.l+$.w*(U.x[1]+U.x[0])/2,te=F.cy=$.t+$.h*(1-U.y[0])-q/2;if(!W)return z.remove();var Z=null,X={};O&&z.each(function(Ce){X[_.getPtId(Ce)]={rpx0:Ce.rpx0,rpx1:Ce.rpx1,x0:Ce.x0,x1:Ce.x1,transform:Ce.transform},!Z&&_.isEntry(Ce)&&(Z=Ce)});var Q=function(Ce){return g.partition().size([2*Math.PI,Ce.height+1])(Ce)}(W).descendants(),re=W.height+1,ie=0,oe=j;F.hasMultipleRoots&&_.isHierarchyRoot(W)&&(Q=Q.slice(1),re-=1,ie=1,oe+=1),Q=Q.filter(function(Ce){return Ce.y1<=oe});var ue=s(B.rotation);ue&&Q.forEach(function(Ce){Ce.x0+=ue,Ce.x1+=ue});var ce=Math.min(re,j),ye=function(Ce){return(Ce-ie)/ce*H},de=function(Ce,ae){return[Ce*Math.cos(ae),-Ce*Math.sin(ae)]},me=function(Ce){return v.pathAnnulus(Ce.rpx0,Ce.rpx1,Ce.x0,Ce.x1,ne,te)},pe=function(Ce){return ne+E(Ce)[0]*(Ce.transform.rCenter||0)+(Ce.transform.x||0)},xe=function(Ce){return te+E(Ce)[1]*(Ce.transform.rCenter||0)+(Ce.transform.y||0)};(z=z.data(Q,_.getPtId)).enter().append("g").classed("slice",!0),O?z.exit().transition().each(function(){var Ce=d.select(this);Ce.select("path.surface").transition().attrTween("d",function(ae){var fe=function(be){var ke,Le=_.getPtId(be),Be=X[Le],ze=X[_.getPtId(W)];if(ze){var je=(be.x1>ze.x1?2*Math.PI:0)+ue;ke=be.rpx1Pe?2*Math.PI:0)+ue;Ee={x0:Ye,x1:Ye}}else Ee={rpx0:H,rpx1:H},v.extendFlat(Ee,Se(we));else Ee={rpx0:0,rpx1:0};else Ee={x0:ue,x1:ue};return i(Ee,$e)}(je);return function(we){return me(ge(we))}}):fe.attr("d",me),ae.call(y,W,x,A,{eventDataKeys:C.eventDataKeys,transitionTime:C.CLICK_TRANSITION_TIME,transitionEasing:C.CLICK_TRANSITION_EASING}).call(_.setSliceCursor,x,{hideOnRoot:!0,hideOnLeaves:!0,isTransitioning:x._transitioning}),fe.call(m,Ce,B);var be=v.ensureSingle(ae,"g","slicetext"),ke=v.ensureSingle(be,"text","",function(je){je.attr("data-notex",1)}),Le=v.ensureUniformFontSize(x,_.determineTextFont(B,Ce,I.font));ke.text(p.formatSliceLabel(Ce,W,B,A,I)).classed("slicetext",!0).attr("text-anchor","middle").call(M.font,Le).call(f.convertToTspans,x);var Be=M.bBox(ke.node());Ce.transform=c(Be,Ce,F),Ce.transform.targetX=pe(Ce),Ce.transform.targetY=xe(Ce);var ze=function(je,ge){var we=je.transform;return h(we,ge),we.fontSize=Le.size,a(B.type,we,I),v.getTextTransform(we)};O?ke.transition().attrTween("transform",function(je){var ge=function(we){var Ee,Ve=X[_.getPtId(we)],$e=we.transform;if(Ve)Ee=Ve;else if(Ee={rpx1:we.rpx1,transform:{textPosAngle:$e.textPosAngle,scale:0,rotate:$e.rotate,rCenter:$e.rCenter,x:$e.x,y:$e.y}},Z)if(we.parent)if(Pe){var Ye=we.x1>Pe?2*Math.PI:0;Ee.x0=Ee.x1=Ye}else v.extendFlat(Ee,Se(we));else Ee.x0=Ee.x1=ue;else Ee.x0=Ee.x1=ue;var st=i(Ee.transform.textPosAngle,we.transform.textPosAngle),ot=i(Ee.rpx1,we.rpx1),ht=i(Ee.x0,we.x0),bt=i(Ee.x1,we.x1),Et=i(Ee.transform.scale,$e.scale),kt=i(Ee.transform.rotate,$e.rotate),xt=$e.rCenter===0?3:Ee.transform.rCenter===0?1/3:1,Ft=i(Ee.transform.rCenter,$e.rCenter);return function(Ot){var Bt=ot(Ot),qt=ht(Ot),Vt=bt(Ot),Ke=function(qe){return Ft(Math.pow(qe,xt))}(Ot),Je={pxmid:de(Bt,(qt+Vt)/2),rpx1:Bt,transform:{textPosAngle:st(Ot),rCenter:Ke,x:$e.x,y:$e.y}};return a(B.type,$e,I),{transform:{targetX:pe(Je),targetY:xe(Je),scale:Et(Ot),rotate:kt(Ot),rCenter:Ke}}}}(je);return function(we){return ze(ge(we),Be)}}):ke.attr("transform",ze(Ce,Be))})}function E(x){return A=x.rpx1,L=x.transform.textPosAngle,[A*Math.sin(L),-A*Math.cos(L)];var A,L}p.plot=function(x,A,L,b){var R,I,O=x._fullLayout,z=O._sunburstlayer,F=!L,B=!O.uniformtext.mode&&_.hasTransition(L);u("sunburst",O),(R=z.selectAll("g.trace.sunburst").data(A,function(N){return N[0].trace.uid})).enter().append("g").classed("trace",!0).classed("sunburst",!0).attr("stroke-linejoin","round"),R.order(),B?(b&&(I=b()),d.transition().duration(L.duration).ease(L.easing).each("end",function(){I&&I()}).each("interrupt",function(){I&&I()}).each(function(){z.selectAll("g.trace").each(function(N){k(x,N,this,L)})})):(R.each(function(N){k(x,N,this,L)}),O.uniformtext.mode&&w(x,O._sunburstlayer.selectAll(".trace"),"sunburst")),F&&R.exit().remove()},p.formatSliceLabel=function(x,A,L,b,R){var I=L.texttemplate,O=L.textinfo;if(!(I||O&&O!=="none"))return"";var z=R.separators,F=b[0],B=x.data.data,N=F.hierarchy,W=_.isHierarchyRoot(x),j=_.getParent(N,x),$=_.getValue(x);if(!I){var U,G=O.split("+"),q=function(oe){return G.indexOf(oe)!==-1},H=[];if(q("label")&&B.label&&H.push(B.label),B.hasOwnProperty("v")&&q("value")&&H.push(_.formatValue(B.v,z)),!W){q("current path")&&H.push(_.getPath(x.data));var ne=0;q("percent parent")&&ne++,q("percent entry")&&ne++,q("percent root")&&ne++;var te=ne>1;if(ne){var Z,X=function(oe){U=_.formatPercent(Z,z),te&&(U+=" of "+oe),H.push(U)};q("percent parent")&&!W&&(Z=$/_.getValue(j),X("parent")),q("percent entry")&&(Z=$/_.getValue(A),X("entry")),q("percent root")&&(Z=$/_.getValue(N),X("root"))}}return q("text")&&(U=v.castOption(L,B.i,"text"),v.isValidTextValue(U)&&H.push(U)),H.join("
")}var Q=v.castOption(L,B.i,"texttemplate");if(!Q)return"";var re={};B.label&&(re.label=B.label),B.hasOwnProperty("v")&&(re.value=B.v,re.valueLabel=_.formatValue(B.v,z)),re.currentPath=_.getPath(x.data),W||(re.percentParent=$/_.getValue(j),re.percentParentLabel=_.formatPercent(re.percentParent,z),re.parent=_.getPtLabel(j)),re.percentEntry=$/_.getValue(A),re.percentEntryLabel=_.formatPercent(re.percentEntry,z),re.entry=_.getPtLabel(A),re.percentRoot=$/_.getValue(N),re.percentRootLabel=_.formatPercent(re.percentRoot,z),re.root=_.getPtLabel(N),B.hasOwnProperty("color")&&(re.color=B.color);var ie=v.castOption(L,B.i,"text");return(v.isValidTextValue(ie)||ie==="")&&(re.text=ie),re.customdata=v.castOption(L,B.i,"customdata"),v.texttemplateString(Q,re,R._d3locale,re,L._meta||{})}},29969:function(T,p,t){var d=t(39898),g=t(7901),i=t(71828),M=t(72597).resizeText;function v(f,l,a){var u=l.data.data,o=!l.children,s=u.i,h=i.castOption(a,s,"marker.line.color")||g.defaultLine,c=i.castOption(a,s,"marker.line.width")||0;f.style("stroke-width",c).call(g.fill,u.color).call(g.stroke,h).style("opacity",o?a.leaf.opacity:null)}T.exports={style:function(f){var l=f._fullLayout._sunburstlayer.selectAll(".trace");M(f,l,"sunburst"),l.each(function(a){var u=d.select(this),o=a[0].trace;u.style("opacity",o.opacity),u.selectAll("path.surface").each(function(s){d.select(this).call(v,s,o)})})},styleOne:v}},54532:function(T,p,t){var d=t(7901),g=t(50693),i=t(12663).axisHoverFormat,M=t(5386).fF,v=t(9012),f=t(1426).extendFlat,l=t(30962).overrideAll;function a(o){return{show:{valType:"boolean",dflt:!1},start:{valType:"number",dflt:null,editType:"plot"},end:{valType:"number",dflt:null,editType:"plot"},size:{valType:"number",dflt:null,min:0,editType:"plot"},project:{x:{valType:"boolean",dflt:!1},y:{valType:"boolean",dflt:!1},z:{valType:"boolean",dflt:!1}},color:{valType:"color",dflt:d.defaultLine},usecolormap:{valType:"boolean",dflt:!1},width:{valType:"number",min:1,max:16,dflt:2},highlight:{valType:"boolean",dflt:!0},highlightcolor:{valType:"color",dflt:d.defaultLine},highlightwidth:{valType:"number",min:1,max:16,dflt:2}}}var u=T.exports=l(f({z:{valType:"data_array"},x:{valType:"data_array"},y:{valType:"data_array"},text:{valType:"string",dflt:"",arrayOk:!0},hovertext:{valType:"string",dflt:"",arrayOk:!0},hovertemplate:M(),xhoverformat:i("x"),yhoverformat:i("y"),zhoverformat:i("z"),connectgaps:{valType:"boolean",dflt:!1,editType:"calc"},surfacecolor:{valType:"data_array"}},g("",{colorAttr:"z or surfacecolor",showScaleDflt:!0,autoColorDflt:!1,editTypeOverride:"calc"}),{contours:{x:a(),y:a(),z:a()},hidesurface:{valType:"boolean",dflt:!1},lightposition:{x:{valType:"number",min:-1e5,max:1e5,dflt:10},y:{valType:"number",min:-1e5,max:1e5,dflt:1e4},z:{valType:"number",min:-1e5,max:1e5,dflt:0}},lighting:{ambient:{valType:"number",min:0,max:1,dflt:.8},diffuse:{valType:"number",min:0,max:1,dflt:.8},specular:{valType:"number",min:0,max:2,dflt:.05},roughness:{valType:"number",min:0,max:1,dflt:.5},fresnel:{valType:"number",min:0,max:5,dflt:.2}},opacity:{valType:"number",min:0,max:1,dflt:1},opacityscale:{valType:"any",editType:"calc"},_deprecated:{zauto:f({},g.zauto,{}),zmin:f({},g.zmin,{}),zmax:f({},g.zmax,{})},hoverinfo:f({},v.hoverinfo),showlegend:f({},v.showlegend,{dflt:!1})}),"calc","nested");u.x.editType=u.y.editType=u.z.editType="calc+clearAxisTypes",u.transforms=void 0},18396:function(T,p,t){var d=t(78803);T.exports=function(g,i){i.surfacecolor?d(g,i,{vals:i.surfacecolor,containerStr:"",cLetter:"c"}):d(g,i,{vals:i.z,containerStr:"",cLetter:"c"})}},43768:function(T,p,t){var d=t(9330).gl_surface3d,g=t(9330).ndarray,i=t(9330).ndarray_linear_interpolate.d2,M=t(824),v=t(43907),f=t(71828).isArrayOrTypedArray,l=t(81697).parseColorScale,a=t(78614),u=t(21081).extractOpts;function o(L,b,R){this.scene=L,this.uid=R,this.surface=b,this.data=null,this.showContour=[!1,!1,!1],this.contourStart=[null,null,null],this.contourEnd=[null,null,null],this.contourSize=[0,0,0],this.minValues=[1/0,1/0,1/0],this.maxValues=[-1/0,-1/0,-1/0],this.dataScaleX=1,this.dataScaleY=1,this.refineData=!0,this.objectOffset=[0,0,0]}var s=o.prototype;s.getXat=function(L,b,R,I){var O=f(this.data.x)?f(this.data.x[0])?this.data.x[b][L]:this.data.x[L]:L;return R===void 0?O:I.d2l(O,0,R)},s.getYat=function(L,b,R,I){var O=f(this.data.y)?f(this.data.y[0])?this.data.y[b][L]:this.data.y[b]:b;return R===void 0?O:I.d2l(O,0,R)},s.getZat=function(L,b,R,I){var O=this.data.z[b][L];return O===null&&this.data.connectgaps&&this.data._interpolatedZ&&(O=this.data._interpolatedZ[b][L]),R===void 0?O:I.d2l(O,0,R)},s.handlePick=function(L){if(L.object===this.surface){var b=(L.data.index[0]-1)/this.dataScaleX-1,R=(L.data.index[1]-1)/this.dataScaleY-1,I=Math.max(Math.min(Math.round(b),this.data.z[0].length-1),0),O=Math.max(Math.min(Math.round(R),this.data._ylength-1),0);L.index=[I,O],L.traceCoordinate=[this.getXat(I,O),this.getYat(I,O),this.getZat(I,O)],L.dataCoordinate=[this.getXat(I,O,this.data.xcalendar,this.scene.fullSceneLayout.xaxis),this.getYat(I,O,this.data.ycalendar,this.scene.fullSceneLayout.yaxis),this.getZat(I,O,this.data.zcalendar,this.scene.fullSceneLayout.zaxis)];for(var z=0;z<3;z++)L.dataCoordinate[z]!=null&&(L.dataCoordinate[z]*=this.scene.dataScale[z]);var F=this.data.hovertext||this.data.text;return Array.isArray(F)&&F[O]&&F[O][I]!==void 0?L.textLabel=F[O][I]:L.textLabel=F||"",L.data.dataCoordinate=L.dataCoordinate.slice(),this.surface.highlight(L.data),this.scene.glplot.spikes.position=L.dataCoordinate,!0}};var h=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997,1009,1013,1019,1021,1031,1033,1039,1049,1051,1061,1063,1069,1087,1091,1093,1097,1103,1109,1117,1123,1129,1151,1153,1163,1171,1181,1187,1193,1201,1213,1217,1223,1229,1231,1237,1249,1259,1277,1279,1283,1289,1291,1297,1301,1303,1307,1319,1321,1327,1361,1367,1373,1381,1399,1409,1423,1427,1429,1433,1439,1447,1451,1453,1459,1471,1481,1483,1487,1489,1493,1499,1511,1523,1531,1543,1549,1553,1559,1567,1571,1579,1583,1597,1601,1607,1609,1613,1619,1621,1627,1637,1657,1663,1667,1669,1693,1697,1699,1709,1721,1723,1733,1741,1747,1753,1759,1777,1783,1787,1789,1801,1811,1823,1831,1847,1861,1867,1871,1873,1877,1879,1889,1901,1907,1913,1931,1933,1949,1951,1973,1979,1987,1993,1997,1999,2003,2011,2017,2027,2029,2039,2053,2063,2069,2081,2083,2087,2089,2099,2111,2113,2129,2131,2137,2141,2143,2153,2161,2179,2203,2207,2213,2221,2237,2239,2243,2251,2267,2269,2273,2281,2287,2293,2297,2309,2311,2333,2339,2341,2347,2351,2357,2371,2377,2381,2383,2389,2393,2399,2411,2417,2423,2437,2441,2447,2459,2467,2473,2477,2503,2521,2531,2539,2543,2549,2551,2557,2579,2591,2593,2609,2617,2621,2633,2647,2657,2659,2663,2671,2677,2683,2687,2689,2693,2699,2707,2711,2713,2719,2729,2731,2741,2749,2753,2767,2777,2789,2791,2797,2801,2803,2819,2833,2837,2843,2851,2857,2861,2879,2887,2897,2903,2909,2917,2927,2939,2953,2957,2963,2969,2971,2999];function c(L,b){if(L0){R=h[I];break}return R}function y(L,b){if(!(L<1||b<1)){for(var R=m(L),I=m(b),O=1,z=0;zk;)R--,R/=w(R),++R<_&&(R=k);var I=Math.round(R/L);return I>1?I:1},s.refineCoords=function(L){for(var b=this.dataScaleX,R=this.dataScaleY,I=L[0].shape[0],O=L[0].shape[1],z=0|Math.floor(L[0].shape[0]*b+1),F=0|Math.floor(L[0].shape[1]*R+1),B=1+I+1,N=1+O+1,W=g(new Float32Array(B*N),[B,N]),j=[1/b,0,0,0,1/R,0,0,0,1],$=0;$0&&this.contourStart[L]!==null&&this.contourEnd[L]!==null&&this.contourEnd[L]>this.contourStart[L]))for(O[L]=!0,b=this.contourStart[L];bO&&(this.minValues[b]=O),this.maxValues[b]",maxDimensionCount:60,overdrag:45,releaseTransitionDuration:120,releaseTransitionEase:"cubic-out",scrollbarCaptureWidth:18,scrollbarHideDelay:1e3,scrollbarHideDuration:1e3,scrollbarOffset:5,scrollbarWidth:8,transitionDuration:100,transitionEase:"cubic-out",uplift:5,wrapSpacer:" ",wrapSplitCharacter:" ",cn:{table:"table",tableControlView:"table-control-view",scrollBackground:"scroll-background",yColumn:"y-column",columnBlock:"column-block",scrollAreaClip:"scroll-area-clip",scrollAreaClipRect:"scroll-area-clip-rect",columnBoundary:"column-boundary",columnBoundaryClippath:"column-boundary-clippath",columnBoundaryRect:"column-boundary-rect",columnCells:"column-cells",columnCell:"column-cell",cellRect:"cell-rect",cellText:"cell-text",cellTextHolder:"cell-text-holder",scrollbarKit:"scrollbar-kit",scrollbar:"scrollbar",scrollbarSlider:"scrollbar-slider",scrollbarGlyph:"scrollbar-glyph",scrollbarCaptureZone:"scrollbar-capture-zone"}}},51018:function(T,p,t){var d=t(49850),g=t(1426).extendFlat,i=t(92770);function M(s){if(Array.isArray(s)){for(var h=0,c=0;c=h||E===s.length-1)&&(m[w]=C,C.key=k++,C.firstRowIndex=_,C.lastRowIndex=E,C={firstRowIndex:null,lastRowIndex:null,rows:[]},w+=y,_=E+1,y=0);return m}T.exports=function(s,h){var c=f(h.cells.values),m=function(W){return W.slice(h.header.values.length,W.length)},w=f(h.header.values);w.length&&!w[0].length&&(w[0]=[""],w=f(w));var y=w.concat(m(c).map(function(){return l((w[0]||[""]).length)})),C=h.domain,_=Math.floor(s._fullLayout._size.w*(C.x[1]-C.x[0])),k=Math.floor(s._fullLayout._size.h*(C.y[1]-C.y[0])),E=h.header.values.length?y[0].map(function(){return h.header.height}):[d.emptyHeaderHeight],x=c.length?c[0].map(function(){return h.cells.height}):[],A=E.reduce(v,0),L=o(x,k-A+d.uplift),b=u(o(E,A),[]),R=u(L,b),I={},O=h._fullInput.columnorder.concat(m(c.map(function(W,j){return j}))),z=y.map(function(W,j){var $=Array.isArray(h.columnwidth)?h.columnwidth[Math.min(j,h.columnwidth.length-1)]:h.columnwidth;return i($)?Number($):1}),F=z.reduce(v,0);z=z.map(function(W){return W/F*_});var B=Math.max(M(h.header.line.width),M(h.cells.line.width)),N={key:h.uid+s._context.staticPlot,translateX:C.x[0]*s._fullLayout._size.w,translateY:s._fullLayout._size.h*(1-C.y[1]),size:s._fullLayout._size,width:_,maxLineWidth:B,height:k,columnOrder:O,groupHeight:k,rowBlocks:R,headerRowBlocks:b,scrollY:0,cells:g({},h.cells,{values:c}),headerCells:g({},h.header,{values:y}),gdColumns:y.map(function(W){return W[0]}),gdColumnsOriginalOrder:y.map(function(W){return W[0]}),prevPages:[0,0],scrollbarState:{scrollbarScrollInProgress:!1},columns:y.map(function(W,j){var $=I[W];return I[W]=($||0)+1,{key:W+"__"+I[W],label:W,specIndex:j,xIndex:O[j],xScale:a,x:void 0,calcdata:void 0,columnWidth:z[j]}})};return N.columns.forEach(function(W){W.calcdata=N,W.x=a(W)}),N}},56269:function(T,p,t){var d=t(1426).extendFlat;p.splitToPanels=function(g){var i=[0,0],M=d({},g,{key:"header",type:"header",page:0,prevPages:i,currentRepaint:[null,null],dragHandle:!0,values:g.calcdata.headerCells.values[g.specIndex],rowBlocks:g.calcdata.headerRowBlocks,calcdata:d({},g.calcdata,{cells:g.calcdata.headerCells})});return[d({},g,{key:"cells1",type:"cells",page:0,prevPages:i,currentRepaint:[null,null],dragHandle:!1,values:g.calcdata.cells.values[g.specIndex],rowBlocks:g.calcdata.rowBlocks}),d({},g,{key:"cells2",type:"cells",page:1,prevPages:i,currentRepaint:[null,null],dragHandle:!1,values:g.calcdata.cells.values[g.specIndex],rowBlocks:g.calcdata.rowBlocks}),M]},p.splitToCells=function(g){var i=function(M){var v=M.rowBlocks[M.page],f=v?v.rows[0].rowIndex:0;return[f,v?f+v.rows.length:0]}(g);return(g.values||[]).slice(i[0],i[1]).map(function(M,v){return{keyWithinBlock:v+(typeof M=="string"&&M.match(/[<$&> ]/)?"_keybuster_"+Math.random():""),key:i[0]+v,column:g,calcdata:g.calcdata,page:g.page,rowBlocks:g.rowBlocks,value:M}})}},39754:function(T,p,t){var d=t(71828),g=t(44464),i=t(27670).c;T.exports=function(M,v,f,l){function a(u,o){return d.coerce(M,v,g,u,o)}i(v,l,a),a("columnwidth"),a("header.values"),a("header.format"),a("header.align"),a("header.prefix"),a("header.suffix"),a("header.height"),a("header.line.width"),a("header.line.color"),a("header.fill.color"),d.coerceFont(a,"header.font",d.extendFlat({},l.font)),function(u,o){for(var s=u.columnorder||[],h=u.header.values.length,c=s.slice(0,h),m=c.slice().sort(function(C,_){return C-_}),w=c.map(function(C){return m.indexOf(C)}),y=w.length;y/i),ue=!ie||oe;Z.mayHaveMarkup=ie&&re.match(/[<&>]/);var ce,ye=typeof(ce=re)=="string"&&ce.match(d.latexCheck);Z.latex=ye;var de,me,pe=ye?"":x(Z.calcdata.cells.prefix,X,Q)||"",xe=ye?"":x(Z.calcdata.cells.suffix,X,Q)||"",Pe=ye?null:x(Z.calcdata.cells.format,X,Q)||null,_e=pe+(Pe?i(Pe)(Z.value):Z.value)+xe;if(Z.wrappingNeeded=!Z.wrapped&&!ue&&!ye&&(de=E(_e)),Z.cellHeightMayIncrease=oe||ye||Z.mayHaveMarkup||(de===void 0?E(_e):de),Z.needsConvertToTspans=Z.mayHaveMarkup||Z.wrappingNeeded||Z.latex,Z.wrappingNeeded){var Me=(d.wrapSplitCharacter===" "?_e.replace(/me&&de.push(pe),me+=_e}return de}(Z,ie,re);oe.length===1&&(oe[0]===Z.length-1?oe.unshift(oe[0]-1):oe.push(oe[0]+1)),oe[0]%2&&oe.reverse(),H.each(function(ue,ce){ue.page=oe[ce],ue.scrollY=ie}),H.attr("transform",function(ue){var ce=j(ue.rowBlocks,ue.page)-ue.scrollY;return a(0,ce)}),q&&(z(q,ne,H,oe,te.prevPages,te,0),z(q,ne,H,oe,te.prevPages,te,1),C(ne,q))}}function O(q,H,ne,te){return function(Z){var X=Z.calcdata?Z.calcdata:Z,Q=H.filter(function(ue){return X.key===ue.key}),re=ne||X.scrollbarState.dragMultiplier,ie=X.scrollY;X.scrollY=te===void 0?X.scrollY+re*g.event.dy:te;var oe=Q.selectAll("."+d.cn.yColumn).selectAll("."+d.cn.columnBlock).filter(L);return I(q,oe,Q),X.scrollY===ie}}function z(q,H,ne,te,Z,X,Q){te[Q]!==Z[Q]&&(clearTimeout(X.currentRepaint[Q]),X.currentRepaint[Q]=setTimeout(function(){var re=ne.filter(function(ie,oe){return oe===Q&&te[oe]!==Z[oe]});_(q,H,re,ne),Z[Q]=te[Q]}))}function F(q,H,ne,te){return function(){var Z=g.select(H.parentNode);Z.each(function(X){var Q=X.fragments;Z.selectAll("tspan.line").each(function(me,pe){Q[pe].width=this.getComputedTextLength()});var re,ie,oe=Q[Q.length-1].width,ue=Q.slice(0,-1),ce=[],ye=0,de=X.column.columnWidth-2*d.cellPad;for(X.value="";ue.length;)ye+(ie=(re=ue.shift()).width+oe)>de&&(X.value+=ce.join(d.wrapSpacer)+d.lineBreaker,ce=[],ye=0),ce.push(re.text),ye+=ie;ye&&(X.value+=ce.join(d.wrapSpacer)),X.wrapped=!0}),Z.selectAll("tspan.line").remove(),k(Z.select("."+d.cn.cellText),ne,q,te),g.select(H.parentNode.parentNode).call(W)}}function B(q,H,ne,te,Z){return function(){if(!Z.settledY){var X=g.select(H.parentNode),Q=G(Z),re=Z.key-Q.firstRowIndex,ie=Q.rows[re].rowHeight,oe=Z.cellHeightMayIncrease?H.parentNode.getBoundingClientRect().height+2*d.cellPad:ie,ue=Math.max(oe,ie);ue-Q.rows[re].rowHeight&&(Q.rows[re].rowHeight=ue,q.selectAll("."+d.cn.columnCell).call(W),I(null,q.filter(L),0),C(ne,te,!0)),X.attr("transform",function(){var ce=this,ye=ce.parentNode.getBoundingClientRect(),de=g.select(ce.parentNode).select("."+d.cn.cellRect).node().getBoundingClientRect(),me=ce.transform.baseVal.consolidate(),pe=de.top-ye.top+(me?me.matrix.f:d.cellPad);return a(N(Z,g.select(ce.parentNode).select("."+d.cn.cellTextHolder).node().getBoundingClientRect().width),pe)}),Z.settledY=!0}}}function N(q,H){switch(q.align){case"left":default:return d.cellPad;case"right":return q.column.columnWidth-(H||0)-d.cellPad;case"center":return(q.column.columnWidth-(H||0))/2}}function W(q){q.attr("transform",function(H){var ne=H.rowBlocks[0].auxiliaryBlocks.reduce(function(Z,X){return Z+$(X,1/0)},0),te=$(G(H),H.key);return a(0,te+ne)}).selectAll("."+d.cn.cellRect).attr("height",function(H){return(ne=G(H),te=H.key,ne.rows[te-ne.firstRowIndex]).rowHeight;var ne,te})}function j(q,H){for(var ne=0,te=H-1;te>=0;te--)ne+=U(q[te]);return ne}function $(q,H){for(var ne=0,te=0;te","<","|","/","\\"],dflt:">",editType:"plot"},thickness:{valType:"number",min:12,editType:"plot"},textfont:a({},v.textfont,{}),editType:"calc"},text:v.text,textinfo:f.textinfo,texttemplate:g({editType:"plot"},{keys:l.eventDataKeys.concat(["label","value"])}),hovertext:v.hovertext,hoverinfo:f.hoverinfo,hovertemplate:d({},{keys:l.eventDataKeys}),textfont:v.textfont,insidetextfont:v.insidetextfont,outsidetextfont:a({},v.outsidetextfont,{}),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],dflt:"top left",editType:"plot"},sort:v.sort,root:f.root,domain:M({name:"treemap",trace:!0,editType:"calc"})}},78018:function(T,p,t){var d=t(74875);p.name="treemap",p.plot=function(g,i,M,v){d.plotBasePlot(p.name,g,i,M,v)},p.clean=function(g,i,M,v){d.cleanBasePlot(p.name,g,i,M,v)}},65039:function(T,p,t){var d=t(52147);p.y=function(g,i){return d.calc(g,i)},p.T=function(g){return d._runCrossTraceCalc("treemap",g)}},43473:function(T){T.exports={CLICK_TRANSITION_TIME:750,CLICK_TRANSITION_EASING:"poly",eventDataKeys:["currentPath","root","entry","percentRoot","percentEntry","percentParent"],gapWithPathbar:1}},91174:function(T,p,t){var d=t(71828),g=t(45802),i=t(7901),M=t(27670).c,v=t(90769).handleText,f=t(97313).TEXTPAD,l=t(21081),a=l.hasColorscale,u=l.handleDefaults;T.exports=function(o,s,h,c){function m(L,b){return d.coerce(o,s,g,L,b)}var w=m("labels"),y=m("parents");if(w&&w.length&&y&&y.length){var C=m("values");C&&C.length?m("branchvalues"):m("count"),m("level"),m("maxdepth"),m("tiling.packing")==="squarify"&&m("tiling.squarifyratio"),m("tiling.flip"),m("tiling.pad");var _=m("text");m("texttemplate"),s.texttemplate||m("textinfo",Array.isArray(_)?"text+label":"label"),m("hovertext"),m("hovertemplate");var k=m("pathbar.visible");v(o,s,c,m,"auto",{hasPathbar:k,moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),m("textposition");var E=s.textposition.indexOf("bottom")!==-1;m("marker.line.width")&&m("marker.line.color",c.paper_bgcolor);var x=m("marker.colors");(s._hasColorscale=a(o,"marker","colors")||(o.marker||{}).coloraxis)?u(o,s,c,m,{prefix:"marker.",cLetter:"c"}):m("marker.depthfade",!(x||[]).length);var A=2*s.textfont.size;m("marker.pad.t",E?A/4:A),m("marker.pad.l",A/4),m("marker.pad.r",A/4),m("marker.pad.b",E?A:A/4),m("marker.cornerradius"),s._hovered={marker:{line:{width:2,color:i.contrast(c.paper_bgcolor)}}},k&&(m("pathbar.thickness",s.pathbar.textfont.size+2*f),m("pathbar.side"),m("pathbar.edgeshape")),m("sort"),m("root.color"),M(s,c,m),s._length=null}else s.visible=!1}},80694:function(T,p,t){var d=t(39898),g=t(2791),i=t(72597).clearMinTextSize,M=t(16688).resizeText,v=t(46650);T.exports=function(f,l,a,u,o){var s,h,c=o.type,m=o.drawDescendants,w=f._fullLayout,y=w["_"+c+"layer"],C=!a;i(c,w),(s=y.selectAll("g.trace."+c).data(l,function(_){return _[0].trace.uid})).enter().append("g").classed("trace",!0).classed(c,!0),s.order(),!w.uniformtext.mode&&g.hasTransition(a)?(u&&(h=u()),d.transition().duration(a.duration).ease(a.easing).each("end",function(){h&&h()}).each("interrupt",function(){h&&h()}).each(function(){y.selectAll("g.trace").each(function(_){v(f,_,this,a,m)})})):(s.each(function(_){v(f,_,this,a,m)}),w.uniformtext.mode&&M(f,y.selectAll(".trace"),c)),C&&s.exit().remove()}},66209:function(T,p,t){var d=t(39898),g=t(71828),i=t(91424),M=t(63893),v=t(37210),f=t(96362).styleOne,l=t(43473),a=t(2791),u=t(83523),o=!0;T.exports=function(s,h,c,m,w){var y=w.barDifY,C=w.width,_=w.height,k=w.viewX,E=w.viewY,x=w.pathSlice,A=w.toMoveInsideSlice,L=w.strTransform,b=w.hasTransition,R=w.handleSlicesExit,I=w.makeUpdateSliceInterpolator,O=w.makeUpdateTextInterpolator,z={},F=s._context.staticPlot,B=s._fullLayout,N=h[0],W=N.trace,j=N.hierarchy,$=C/W._entryDepth,U=a.listPath(c.data,"id"),G=v(j.copy(),[C,_],{packing:"dice",pad:{inner:0,top:0,left:0,right:0,bottom:0}}).descendants();(G=G.filter(function(H){var ne=U.indexOf(H.data.id);return ne!==-1&&(H.x0=$*ne,H.x1=$*(ne+1),H.y0=y,H.y1=y+_,H.onPathbar=!0,!0)})).reverse(),(m=m.data(G,a.getPtId)).enter().append("g").classed("pathbar",!0),R(m,o,z,[C,_],x),m.order();var q=m;b&&(q=q.transition().each("end",function(){var H=d.select(this);a.setSliceCursor(H,s,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:!1})})),q.each(function(H){H._x0=k(H.x0),H._x1=k(H.x1),H._y0=E(H.y0),H._y1=E(H.y1),H._hoverX=k(H.x1-Math.min(C,_)/2),H._hoverY=E(H.y1-_/2);var ne=d.select(this),te=g.ensureSingle(ne,"path","surface",function(re){re.style("pointer-events",F?"none":"all")});b?te.transition().attrTween("d",function(re){var ie=I(re,o,z,[C,_]);return function(oe){return x(ie(oe))}}):te.attr("d",x),ne.call(u,c,s,h,{styleOne:f,eventDataKeys:l.eventDataKeys,transitionTime:l.CLICK_TRANSITION_TIME,transitionEasing:l.CLICK_TRANSITION_EASING}).call(a.setSliceCursor,s,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:s._transitioning}),te.call(f,H,W,{hovered:!1}),H._text=(a.getPtLabel(H)||"").split("
").join(" ")||"";var Z=g.ensureSingle(ne,"g","slicetext"),X=g.ensureSingle(Z,"text","",function(re){re.attr("data-notex",1)}),Q=g.ensureUniformFontSize(s,a.determineTextFont(W,H,B.font,{onPathbar:!0}));X.text(H._text||" ").classed("slicetext",!0).attr("text-anchor","start").call(i.font,Q).call(M.convertToTspans,s),H.textBB=i.bBox(X.node()),H.transform=A(H,{fontSize:Q.size,onPathbar:!0}),H.transform.fontSize=Q.size,b?X.transition().attrTween("transform",function(re){var ie=O(re,o,z,[C,_]);return function(oe){return L(ie(oe))}}):X.attr("transform",L(H))})}},52583:function(T,p,t){var d=t(39898),g=t(71828),i=t(91424),M=t(63893),v=t(37210),f=t(96362).styleOne,l=t(43473),a=t(2791),u=t(83523),o=t(24714).formatSliceLabel,s=!1;T.exports=function(h,c,m,w,y){var C=y.width,_=y.height,k=y.viewX,E=y.viewY,x=y.pathSlice,A=y.toMoveInsideSlice,L=y.strTransform,b=y.hasTransition,R=y.handleSlicesExit,I=y.makeUpdateSliceInterpolator,O=y.makeUpdateTextInterpolator,z=y.prevEntry,F=h._context.staticPlot,B=h._fullLayout,N=c[0].trace,W=N.textposition.indexOf("left")!==-1,j=N.textposition.indexOf("right")!==-1,$=N.textposition.indexOf("bottom")!==-1,U=!$&&!N.marker.pad.t||$&&!N.marker.pad.b,G=v(m,[C,_],{packing:N.tiling.packing,squarifyratio:N.tiling.squarifyratio,flipX:N.tiling.flip.indexOf("x")>-1,flipY:N.tiling.flip.indexOf("y")>-1,pad:{inner:N.tiling.pad,top:N.marker.pad.t,left:N.marker.pad.l,right:N.marker.pad.r,bottom:N.marker.pad.b}}).descendants(),q=1/0,H=-1/0;G.forEach(function(Q){var re=Q.depth;re>=N._maxDepth?(Q.x0=Q.x1=(Q.x0+Q.x1)/2,Q.y0=Q.y1=(Q.y0+Q.y1)/2):(q=Math.min(q,re),H=Math.max(H,re))}),w=w.data(G,a.getPtId),N._maxVisibleLayers=isFinite(H)?H-q+1:0,w.enter().append("g").classed("slice",!0),R(w,s,{},[C,_],x),w.order();var ne=null;if(b&&z){var te=a.getPtId(z);w.each(function(Q){ne===null&&a.getPtId(Q)===te&&(ne={x0:Q.x0,x1:Q.x1,y0:Q.y0,y1:Q.y1})})}var Z=function(){return ne||{x0:0,x1:C,y0:0,y1:_}},X=w;return b&&(X=X.transition().each("end",function(){var Q=d.select(this);a.setSliceCursor(Q,h,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})})),X.each(function(Q){var re=a.isHeader(Q,N);Q._x0=k(Q.x0),Q._x1=k(Q.x1),Q._y0=E(Q.y0),Q._y1=E(Q.y1),Q._hoverX=k(Q.x1-N.marker.pad.r),Q._hoverY=E($?Q.y1-N.marker.pad.b/2:Q.y0+N.marker.pad.t/2);var ie=d.select(this),oe=g.ensureSingle(ie,"path","surface",function(de){de.style("pointer-events",F?"none":"all")});b?oe.transition().attrTween("d",function(de){var me=I(de,s,Z(),[C,_]);return function(pe){return x(me(pe))}}):oe.attr("d",x),ie.call(u,m,h,c,{styleOne:f,eventDataKeys:l.eventDataKeys,transitionTime:l.CLICK_TRANSITION_TIME,transitionEasing:l.CLICK_TRANSITION_EASING}).call(a.setSliceCursor,h,{isTransitioning:h._transitioning}),oe.call(f,Q,N,{hovered:!1}),Q.x0===Q.x1||Q.y0===Q.y1?Q._text="":Q._text=re?U?"":a.getPtLabel(Q)||"":o(Q,m,N,c,B)||"";var ue=g.ensureSingle(ie,"g","slicetext"),ce=g.ensureSingle(ue,"text","",function(de){de.attr("data-notex",1)}),ye=g.ensureUniformFontSize(h,a.determineTextFont(N,Q,B.font));ce.text(Q._text||" ").classed("slicetext",!0).attr("text-anchor",j?"end":W||re?"start":"middle").call(i.font,ye).call(M.convertToTspans,h),Q.textBB=i.bBox(ce.node()),Q.transform=A(Q,{fontSize:ye.size,isHeader:re}),Q.transform.fontSize=ye.size,b?ce.transition().attrTween("transform",function(de){var me=O(de,s,Z(),[C,_]);return function(pe){return L(me(pe))}}):ce.attr("transform",L(Q))}),ne}},14102:function(T){T.exports=function p(t,d,g){var i;g.swapXY&&(i=t.x0,t.x0=t.y0,t.y0=i,i=t.x1,t.x1=t.y1,t.y1=i),g.flipX&&(i=t.x0,t.x0=d[0]-t.x1,t.x1=d[0]-i),g.flipY&&(i=t.y0,t.y0=d[1]-t.y1,t.y1=d[1]-i);var M=t.children;if(M)for(var v=0;v-1?N+$:-(j+$):0,G={x0:W,x1:W,y0:U,y1:U+j},q=function(ge,we,Ee){var Ve=_.tiling.pad,$e=function(ht){return ht-Ve<=we.x0},Ye=function(ht){return ht+Ve>=we.x1},st=function(ht){return ht-Ve<=we.y0},ot=function(ht){return ht+Ve>=we.y1};return ge.x0===we.x0&&ge.x1===we.x1&&ge.y0===we.y0&&ge.y1===we.y1?{x0:ge.x0,x1:ge.x1,y0:ge.y0,y1:ge.y1}:{x0:$e(ge.x0-Ve)?0:Ye(ge.x0-Ve)?Ee[0]:ge.x0,x1:$e(ge.x1+Ve)?0:Ye(ge.x1+Ve)?Ee[0]:ge.x1,y0:st(ge.y0-Ve)?0:ot(ge.y0-Ve)?Ee[1]:ge.y0,y1:st(ge.y1+Ve)?0:ot(ge.y1+Ve)?Ee[1]:ge.y1}},H=null,ne={},te={},Z=null,X=function(ge,we){return we?ne[o(ge)]:te[o(ge)]};C.hasMultipleRoots&&R&&O++,_._maxDepth=O,_._backgroundColor=y.paper_bgcolor,_._entryDepth=x.data.depth,_._atRootLevel=R;var Q=-B/2+z.l+z.w*(F.x[1]+F.x[0])/2,re=-N/2+z.t+z.h*(1-(F.y[1]+F.y[0])/2),ie=function(ge){return Q+ge},oe=function(ge){return re+ge},ue=oe(0),ce=ie(0),ye=function(ge){return ce+ge},de=function(ge){return ue+ge};function me(ge,we){return ge+","+we}var pe=ye(0),xe=function(ge){ge.x=Math.max(pe,ge.x)},Pe=_.pathbar.edgeshape,_e=_[k?"tiling":"marker"].pad,Me=function(ge){return _.textposition.indexOf(ge)!==-1},Se=Me("top"),Ce=Me("left"),ae=Me("right"),fe=Me("bottom"),be=function(ge,we){var Ee=ge.x0,Ve=ge.x1,$e=ge.y0,Ye=ge.y1,st=ge.textBB,ot=Se||we.isHeader&&!fe?"start":fe?"end":"middle",ht=Me("right"),bt=Me("left")||we.onPathbar?-1:ht?1:0;if(we.isHeader){if((Ee+=(k?_e:_e.l)-v)>=(Ve-=(k?_e:_e.r)-v)){var Et=(Ee+Ve)/2;Ee=Et,Ve=Et}var kt;fe?$e<(kt=Ye-(k?_e:_e.b))&&kt"?(ht.x-=Ye,bt.x-=Ye,Et.x-=Ye,kt.x-=Ye):Pe==="/"?(Et.x-=Ye,kt.x-=Ye,st.x-=Ye/2,ot.x-=Ye/2):Pe==="\\"?(ht.x-=Ye,bt.x-=Ye,st.x-=Ye/2,ot.x-=Ye/2):Pe==="<"&&(st.x-=Ye,ot.x-=Ye),xe(ht),xe(kt),xe(st),xe(bt),xe(Et),xe(ot),"M"+me(ht.x,ht.y)+"L"+me(bt.x,bt.y)+"L"+me(ot.x,ot.y)+"L"+me(Et.x,Et.y)+"L"+me(kt.x,kt.y)+"L"+me(st.x,st.y)+"Z"},toMoveInsideSlice:be,makeUpdateSliceInterpolator:Le,makeUpdateTextInterpolator:Be,handleSlicesExit:ze,hasTransition:I,strTransform:je}):L.remove()}},96362:function(T,p,t){var d=t(39898),g=t(7901),i=t(71828),M=t(2791),v=t(72597).resizeText;function f(l,a,u,o){var s,h,c=(o||{}).hovered,m=a.data.data,w=m.i,y=m.color,C=M.isHierarchyRoot(a),_=1;if(c)s=u._hovered.marker.line.color,h=u._hovered.marker.line.width;else if(C&&y===u.root.color)_=100,s="rgba(0,0,0,0)",h=0;else if(s=i.castOption(u,w,"marker.line.color")||g.defaultLine,h=i.castOption(u,w,"marker.line.width")||0,!u._hasColorscale&&!a.onPathbar){var k=u.marker.depthfade;if(k){var E,x=g.combine(g.addOpacity(u._backgroundColor,.75),y);if(k===!0){var A=M.getMaxDepth(u);E=isFinite(A)?M.isLeaf(a)?0:u._maxVisibleLayers-(a.data.depth-u._entryDepth):a.data.height+1}else E=a.data.depth-u._entryDepth,u._atRootLevel||E++;if(E>0)for(var L=0;L0){var x,A,L,b,R,I=f.xa,O=f.ya;w.orientation==="h"?(R=l,x="y",L=O,A="x",b=I):(R=a,x="x",L=I,A="y",b=O);var z=m[f.index];if(R>=z.span[0]&&R<=z.span[1]){var F=g.extendFlat({},f),B=b.c2p(R,!0),N=v.getKdeValue(z,w,R),W=v.getPositionOnKdePath(z,w,B),j=L._offset,$=L._length;F[x+"0"]=W[0],F[x+"1"]=W[1],F[A+"0"]=F[A+"1"]=B,F[A+"Label"]=A+": "+i.hoverLabelText(b,R,w[A+"hoverformat"])+", "+m[0].t.labels.kde+" "+N.toFixed(3);for(var U=0,G=0;G")),h.color=function(O,z){var F=O[z.dir].marker,B=F.color,N=F.line.color,W=F.line.width;return g(B)?B:g(N)&&W?N:void 0}(m,_),[h]}function I(O){return d(C,O,m[y+"hoverformat"])}}},19990:function(T,p,t){T.exports={attributes:t(43037),layoutAttributes:t(13494),supplyDefaults:t(83266).supplyDefaults,crossTraceDefaults:t(83266).crossTraceDefaults,supplyLayoutDefaults:t(5176),calc:t(52752),crossTraceCalc:t(70766),plot:t(30436),style:t(55750).style,hoverPoints:t(61326),eventData:t(58593),selectPoints:t(81974),moduleType:"trace",name:"waterfall",basePlotModule:t(93612),categories:["bar-like","cartesian","svg","oriented","showLegend","zoomScale"],meta:{}}},13494:function(T){T.exports={waterfallmode:{valType:"enumerated",values:["group","overlay"],dflt:"group",editType:"calc"},waterfallgap:{valType:"number",min:0,max:1,editType:"calc"},waterfallgroupgap:{valType:"number",min:0,max:1,dflt:0,editType:"calc"}}},5176:function(T,p,t){var d=t(71828),g=t(13494);T.exports=function(i,M,v){var f=!1;function l(o,s){return d.coerce(i,M,g,o,s)}for(var a=0;a0&&(N+=A?"M"+F[0]+","+B[1]+"V"+B[0]:"M"+F[1]+","+B[0]+"H"+F[0]),L!=="between"&&(I.isSum||O path").each(function(w){if(!w.isBlank){var y=m[w.dir].marker;d.select(this).call(i.fill,y.color).call(i.stroke,y.line.color).call(g.dashLine,y.line.dash,y.line.width).style("opacity",m.selectedpoints&&!w.selected?M:1)}}),l(c,m,a),c.selectAll(".lines").each(function(){var w=m.connector.line;g.lineGroupStyle(d.select(this).selectAll("path"),w.width,w.color,w.dash)})})}}},82887:function(T,p,t){var d=t(89298),g=t(71828),i=t(86281),M=t(79344).p,v=t(50606).BADNUM;p.moduleType="transform",p.name="aggregate";var f=p.attributes={enabled:{valType:"boolean",dflt:!0,editType:"calc"},groups:{valType:"string",strict:!0,noBlank:!0,arrayOk:!0,dflt:"x",editType:"calc"},aggregations:{_isLinkedToArray:"aggregation",target:{valType:"string",editType:"calc"},func:{valType:"enumerated",values:["count","sum","avg","median","mode","rms","stddev","min","max","first","last","change","range"],dflt:"first",editType:"calc"},funcmode:{valType:"enumerated",values:["sample","population"],dflt:"sample",editType:"calc"},enabled:{valType:"boolean",dflt:!0,editType:"calc"},editType:"calc"},editType:"calc"},l=f.aggregations;function a(h,c,m,w){if(w.enabled){for(var y=w.target,C=g.nestedProperty(c,y),_=C.get(),k=function(A,L){var b=A.func,R=L.d2c,I=L.c2d;switch(b){case"count":return u;case"first":return o;case"last":return s;case"sum":return function(O,z){for(var F=0,B=0;BB&&(B=$,N=j)}}return B?I(N):v};case"rms":return function(O,z){for(var F=0,B=0,N=0;N":return function(H){return q(H)>U};case">=":return function(H){return q(H)>=U};case"[]":return function(H){var ne=q(H);return ne>=U[0]&&ne<=U[1]};case"()":return function(H){var ne=q(H);return ne>U[0]&&ne=U[0]&&neU[0]&&ne<=U[1]};case"][":return function(H){var ne=q(H);return ne<=U[0]||ne>=U[1]};case")(":return function(H){var ne=q(H);return neU[1]};case"](":return function(H){var ne=q(H);return ne<=U[0]||ne>U[1]};case")[":return function(H){var ne=q(H);return ne=U[1]};case"{}":return function(H){return U.indexOf(q(H))!==-1};case"}{":return function(H){return U.indexOf(q(H))===-1}}}(s,i.getDataToCoordFunc(u,o,c,h),w),A={},L={},b=0;C?(k=function(z){A[z.astr]=d.extendDeep([],z.get()),z.set(new Array(m))},E=function(z,F){var B=A[z.astr][F];z.get()[F]=B}):(k=function(z){A[z.astr]=d.extendDeep([],z.get()),z.set([])},E=function(z,F){var B=A[z.astr][F];z.get().push(B)}),O(k);for(var R=M(o.transforms,s),I=0;I1?"%{group} (%{trace})":"%{group}");var h=f.styles,c=o.styles=[];if(h)for(u=0;uk)throw new RangeError('The value "'+ge+'" is invalid for option "size"');var we=new Uint8Array(ge);return Object.setPrototypeOf(we,x.prototype),we}function x(ge,we,Ee){if(typeof ge=="number"){if(typeof we=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return b(ge)}return A(ge,we,Ee)}function A(ge,we,Ee){if(typeof ge=="string")return function(Ye,st){if(typeof st=="string"&&st!==""||(st="utf8"),!x.isEncoding(st))throw new TypeError("Unknown encoding: "+st);var ot=0|z(Ye,st),ht=E(ot),bt=ht.write(Ye,st);return bt!==ot&&(ht=ht.slice(0,bt)),ht}(ge,we);if(ArrayBuffer.isView(ge))return function(Ye){if(ke(Ye,Uint8Array)){var st=new Uint8Array(Ye);return I(st.buffer,st.byteOffset,st.byteLength)}return R(Ye)}(ge);if(ge==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+w(ge));if(ke(ge,ArrayBuffer)||ge&&ke(ge.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(ke(ge,SharedArrayBuffer)||ge&&ke(ge.buffer,SharedArrayBuffer)))return I(ge,we,Ee);if(typeof ge=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var Ve=ge.valueOf&&ge.valueOf();if(Ve!=null&&Ve!==ge)return x.from(Ve,we,Ee);var $e=function(Ye){if(x.isBuffer(Ye)){var st=0|O(Ye.length),ot=E(st);return ot.length===0||Ye.copy(ot,0,0,st),ot}return Ye.length!==void 0?typeof Ye.length!="number"||Le(Ye.length)?E(0):R(Ye):Ye.type==="Buffer"&&Array.isArray(Ye.data)?R(Ye.data):void 0}(ge);if($e)return $e;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof ge[Symbol.toPrimitive]=="function")return x.from(ge[Symbol.toPrimitive]("string"),we,Ee);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+w(ge))}function L(ge){if(typeof ge!="number")throw new TypeError('"size" argument must be of type number');if(ge<0)throw new RangeError('The value "'+ge+'" is invalid for option "size"')}function b(ge){return L(ge),E(ge<0?0:0|O(ge))}function R(ge){for(var we=ge.length<0?0:0|O(ge.length),Ee=E(we),Ve=0;Ve=k)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+k.toString(16)+" bytes");return 0|ge}function z(ge,we){if(x.isBuffer(ge))return ge.length;if(ArrayBuffer.isView(ge)||ke(ge,ArrayBuffer))return ge.byteLength;if(typeof ge!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+w(ge));var Ee=ge.length,Ve=arguments.length>2&&arguments[2]===!0;if(!Ve&&Ee===0)return 0;for(var $e=!1;;)switch(we){case"ascii":case"latin1":case"binary":return Ee;case"utf8":case"utf-8":return ae(ge).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*Ee;case"hex":return Ee>>>1;case"base64":return fe(ge).length;default:if($e)return Ve?-1:ae(ge).length;we=(""+we).toLowerCase(),$e=!0}}function F(ge,we,Ee){var Ve=!1;if((we===void 0||we<0)&&(we=0),we>this.length||((Ee===void 0||Ee>this.length)&&(Ee=this.length),Ee<=0)||(Ee>>>=0)<=(we>>>=0))return"";for(ge||(ge="utf8");;)switch(ge){case"hex":return Q(this,we,Ee);case"utf8":case"utf-8":return ne(this,we,Ee);case"ascii":return Z(this,we,Ee);case"latin1":case"binary":return X(this,we,Ee);case"base64":return H(this,we,Ee);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return re(this,we,Ee);default:if(Ve)throw new TypeError("Unknown encoding: "+ge);ge=(ge+"").toLowerCase(),Ve=!0}}function B(ge,we,Ee){var Ve=ge[we];ge[we]=ge[Ee],ge[Ee]=Ve}function N(ge,we,Ee,Ve,$e){if(ge.length===0)return-1;if(typeof Ee=="string"?(Ve=Ee,Ee=0):Ee>2147483647?Ee=2147483647:Ee<-2147483648&&(Ee=-2147483648),Le(Ee=+Ee)&&(Ee=$e?0:ge.length-1),Ee<0&&(Ee=ge.length+Ee),Ee>=ge.length){if($e)return-1;Ee=ge.length-1}else if(Ee<0){if(!$e)return-1;Ee=0}if(typeof we=="string"&&(we=x.from(we,Ve)),x.isBuffer(we))return we.length===0?-1:W(ge,we,Ee,Ve,$e);if(typeof we=="number")return we&=255,typeof Uint8Array.prototype.indexOf=="function"?$e?Uint8Array.prototype.indexOf.call(ge,we,Ee):Uint8Array.prototype.lastIndexOf.call(ge,we,Ee):W(ge,[we],Ee,Ve,$e);throw new TypeError("val must be string, number or Buffer")}function W(ge,we,Ee,Ve,$e){var Ye,st=1,ot=ge.length,ht=we.length;if(Ve!==void 0&&((Ve=String(Ve).toLowerCase())==="ucs2"||Ve==="ucs-2"||Ve==="utf16le"||Ve==="utf-16le")){if(ge.length<2||we.length<2)return-1;st=2,ot/=2,ht/=2,Ee/=2}function bt(Ft,Ot){return st===1?Ft[Ot]:Ft.readUInt16BE(Ot*st)}if($e){var Et=-1;for(Ye=Ee;Yeot&&(Ee=ot-ht),Ye=Ee;Ye>=0;Ye--){for(var kt=!0,xt=0;xt$e&&(Ve=$e):Ve=$e;var Ye,st=we.length;for(Ve>st/2&&(Ve=st/2),Ye=0;Ye>8,ht=st%256,bt.push(ht),bt.push(ot);return bt}(we,ge.length-Ee),ge,Ee,Ve)}function H(ge,we,Ee){return we===0&&Ee===ge.length?y.fromByteArray(ge):y.fromByteArray(ge.slice(we,Ee))}function ne(ge,we,Ee){Ee=Math.min(ge.length,Ee);for(var Ve=[],$e=we;$e239?4:Ye>223?3:Ye>191?2:1;if($e+ot<=Ee){var ht=void 0,bt=void 0,Et=void 0,kt=void 0;switch(ot){case 1:Ye<128&&(st=Ye);break;case 2:(192&(ht=ge[$e+1]))==128&&(kt=(31&Ye)<<6|63&ht)>127&&(st=kt);break;case 3:ht=ge[$e+1],bt=ge[$e+2],(192&ht)==128&&(192&bt)==128&&(kt=(15&Ye)<<12|(63&ht)<<6|63&bt)>2047&&(kt<55296||kt>57343)&&(st=kt);break;case 4:ht=ge[$e+1],bt=ge[$e+2],Et=ge[$e+3],(192&ht)==128&&(192&bt)==128&&(192&Et)==128&&(kt=(15&Ye)<<18|(63&ht)<<12|(63&bt)<<6|63&Et)>65535&&kt<1114112&&(st=kt)}}st===null?(st=65533,ot=1):st>65535&&(st-=65536,Ve.push(st>>>10&1023|55296),st=56320|1023&st),Ve.push(st),$e+=ot}return function(xt){var Ft=xt.length;if(Ft<=te)return String.fromCharCode.apply(String,xt);for(var Ot="",Bt=0;Bt"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(x.prototype,"parent",{enumerable:!0,get:function(){if(x.isBuffer(this))return this.buffer}}),Object.defineProperty(x.prototype,"offset",{enumerable:!0,get:function(){if(x.isBuffer(this))return this.byteOffset}}),x.poolSize=8192,x.from=function(ge,we,Ee){return A(ge,we,Ee)},Object.setPrototypeOf(x.prototype,Uint8Array.prototype),Object.setPrototypeOf(x,Uint8Array),x.alloc=function(ge,we,Ee){return function(Ve,$e,Ye){return L(Ve),Ve<=0?E(Ve):$e!==void 0?typeof Ye=="string"?E(Ve).fill($e,Ye):E(Ve).fill($e):E(Ve)}(ge,we,Ee)},x.allocUnsafe=function(ge){return b(ge)},x.allocUnsafeSlow=function(ge){return b(ge)},x.isBuffer=function(ge){return ge!=null&&ge._isBuffer===!0&&ge!==x.prototype},x.compare=function(ge,we){if(ke(ge,Uint8Array)&&(ge=x.from(ge,ge.offset,ge.byteLength)),ke(we,Uint8Array)&&(we=x.from(we,we.offset,we.byteLength)),!x.isBuffer(ge)||!x.isBuffer(we))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ge===we)return 0;for(var Ee=ge.length,Ve=we.length,$e=0,Ye=Math.min(Ee,Ve);$eVe.length?(x.isBuffer(Ye)||(Ye=x.from(Ye)),Ye.copy(Ve,$e)):Uint8Array.prototype.set.call(Ve,Ye,$e);else{if(!x.isBuffer(Ye))throw new TypeError('"list" argument must be an Array of Buffers');Ye.copy(Ve,$e)}$e+=Ye.length}return Ve},x.byteLength=z,x.prototype._isBuffer=!0,x.prototype.swap16=function(){var ge=this.length;if(ge%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var we=0;wewe&&(ge+=" ... "),""},_&&(x.prototype[_]=x.prototype.inspect),x.prototype.compare=function(ge,we,Ee,Ve,$e){if(ke(ge,Uint8Array)&&(ge=x.from(ge,ge.offset,ge.byteLength)),!x.isBuffer(ge))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+w(ge));if(we===void 0&&(we=0),Ee===void 0&&(Ee=ge?ge.length:0),Ve===void 0&&(Ve=0),$e===void 0&&($e=this.length),we<0||Ee>ge.length||Ve<0||$e>this.length)throw new RangeError("out of range index");if(Ve>=$e&&we>=Ee)return 0;if(Ve>=$e)return-1;if(we>=Ee)return 1;if(this===ge)return 0;for(var Ye=($e>>>=0)-(Ve>>>=0),st=(Ee>>>=0)-(we>>>=0),ot=Math.min(Ye,st),ht=this.slice(Ve,$e),bt=ge.slice(we,Ee),Et=0;Et>>=0,isFinite(Ee)?(Ee>>>=0,Ve===void 0&&(Ve="utf8")):(Ve=Ee,Ee=void 0)}var $e=this.length-we;if((Ee===void 0||Ee>$e)&&(Ee=$e),ge.length>0&&(Ee<0||we<0)||we>this.length)throw new RangeError("Attempt to write outside buffer bounds");Ve||(Ve="utf8");for(var Ye=!1;;)switch(Ve){case"hex":return j(this,ge,we,Ee);case"utf8":case"utf-8":return $(this,ge,we,Ee);case"ascii":case"latin1":case"binary":return U(this,ge,we,Ee);case"base64":return G(this,ge,we,Ee);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return q(this,ge,we,Ee);default:if(Ye)throw new TypeError("Unknown encoding: "+Ve);Ve=(""+Ve).toLowerCase(),Ye=!0}},x.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var te=4096;function Z(ge,we,Ee){var Ve="";Ee=Math.min(ge.length,Ee);for(var $e=we;$eVe)&&(Ee=Ve);for(var $e="",Ye=we;YeEe)throw new RangeError("Trying to access beyond buffer length")}function oe(ge,we,Ee,Ve,$e,Ye){if(!x.isBuffer(ge))throw new TypeError('"buffer" argument must be a Buffer instance');if(we>$e||wege.length)throw new RangeError("Index out of range")}function ue(ge,we,Ee,Ve,$e){_e(we,Ve,$e,ge,Ee,7);var Ye=Number(we&BigInt(4294967295));ge[Ee++]=Ye,Ye>>=8,ge[Ee++]=Ye,Ye>>=8,ge[Ee++]=Ye,Ye>>=8,ge[Ee++]=Ye;var st=Number(we>>BigInt(32)&BigInt(4294967295));return ge[Ee++]=st,st>>=8,ge[Ee++]=st,st>>=8,ge[Ee++]=st,st>>=8,ge[Ee++]=st,Ee}function ce(ge,we,Ee,Ve,$e){_e(we,Ve,$e,ge,Ee,7);var Ye=Number(we&BigInt(4294967295));ge[Ee+7]=Ye,Ye>>=8,ge[Ee+6]=Ye,Ye>>=8,ge[Ee+5]=Ye,Ye>>=8,ge[Ee+4]=Ye;var st=Number(we>>BigInt(32)&BigInt(4294967295));return ge[Ee+3]=st,st>>=8,ge[Ee+2]=st,st>>=8,ge[Ee+1]=st,st>>=8,ge[Ee]=st,Ee+8}function ye(ge,we,Ee,Ve,$e,Ye){if(Ee+Ve>ge.length)throw new RangeError("Index out of range");if(Ee<0)throw new RangeError("Index out of range")}function de(ge,we,Ee,Ve,$e){return we=+we,Ee>>>=0,$e||ye(ge,0,Ee,4),C.write(ge,we,Ee,Ve,23,4),Ee+4}function me(ge,we,Ee,Ve,$e){return we=+we,Ee>>>=0,$e||ye(ge,0,Ee,8),C.write(ge,we,Ee,Ve,52,8),Ee+8}x.prototype.slice=function(ge,we){var Ee=this.length;(ge=~~ge)<0?(ge+=Ee)<0&&(ge=0):ge>Ee&&(ge=Ee),(we=we===void 0?Ee:~~we)<0?(we+=Ee)<0&&(we=0):we>Ee&&(we=Ee),we>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=this[ge],$e=1,Ye=0;++Ye>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=this[ge+--we],$e=1;we>0&&($e*=256);)Ve+=this[ge+--we]*$e;return Ve},x.prototype.readUint8=x.prototype.readUInt8=function(ge,we){return ge>>>=0,we||ie(ge,1,this.length),this[ge]},x.prototype.readUint16LE=x.prototype.readUInt16LE=function(ge,we){return ge>>>=0,we||ie(ge,2,this.length),this[ge]|this[ge+1]<<8},x.prototype.readUint16BE=x.prototype.readUInt16BE=function(ge,we){return ge>>>=0,we||ie(ge,2,this.length),this[ge]<<8|this[ge+1]},x.prototype.readUint32LE=x.prototype.readUInt32LE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),(this[ge]|this[ge+1]<<8|this[ge+2]<<16)+16777216*this[ge+3]},x.prototype.readUint32BE=x.prototype.readUInt32BE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),16777216*this[ge]+(this[ge+1]<<16|this[ge+2]<<8|this[ge+3])},x.prototype.readBigUInt64LE=ze(function(ge){Me(ge>>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=we+this[++ge]*Math.pow(2,8)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,24),$e=this[++ge]+this[++ge]*Math.pow(2,8)+this[++ge]*Math.pow(2,16)+Ee*Math.pow(2,24);return BigInt(Ve)+(BigInt($e)<>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=we*Math.pow(2,24)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,8)+this[++ge],$e=this[++ge]*Math.pow(2,24)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,8)+Ee;return(BigInt(Ve)<>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=this[ge],$e=1,Ye=0;++Ye=($e*=128)&&(Ve-=Math.pow(2,8*we)),Ve},x.prototype.readIntBE=function(ge,we,Ee){ge>>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=we,$e=1,Ye=this[ge+--Ve];Ve>0&&($e*=256);)Ye+=this[ge+--Ve]*$e;return Ye>=($e*=128)&&(Ye-=Math.pow(2,8*we)),Ye},x.prototype.readInt8=function(ge,we){return ge>>>=0,we||ie(ge,1,this.length),128&this[ge]?-1*(255-this[ge]+1):this[ge]},x.prototype.readInt16LE=function(ge,we){ge>>>=0,we||ie(ge,2,this.length);var Ee=this[ge]|this[ge+1]<<8;return 32768&Ee?4294901760|Ee:Ee},x.prototype.readInt16BE=function(ge,we){ge>>>=0,we||ie(ge,2,this.length);var Ee=this[ge+1]|this[ge]<<8;return 32768&Ee?4294901760|Ee:Ee},x.prototype.readInt32LE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),this[ge]|this[ge+1]<<8|this[ge+2]<<16|this[ge+3]<<24},x.prototype.readInt32BE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),this[ge]<<24|this[ge+1]<<16|this[ge+2]<<8|this[ge+3]},x.prototype.readBigInt64LE=ze(function(ge){Me(ge>>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=this[ge+4]+this[ge+5]*Math.pow(2,8)+this[ge+6]*Math.pow(2,16)+(Ee<<24);return(BigInt(Ve)<>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=(we<<24)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,8)+this[++ge];return(BigInt(Ve)<>>=0,we||ie(ge,4,this.length),C.read(this,ge,!0,23,4)},x.prototype.readFloatBE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),C.read(this,ge,!1,23,4)},x.prototype.readDoubleLE=function(ge,we){return ge>>>=0,we||ie(ge,8,this.length),C.read(this,ge,!0,52,8)},x.prototype.readDoubleBE=function(ge,we){return ge>>>=0,we||ie(ge,8,this.length),C.read(this,ge,!1,52,8)},x.prototype.writeUintLE=x.prototype.writeUIntLE=function(ge,we,Ee,Ve){ge=+ge,we>>>=0,Ee>>>=0,Ve||oe(this,ge,we,Ee,Math.pow(2,8*Ee)-1,0);var $e=1,Ye=0;for(this[we]=255≥++Ye>>=0,Ee>>>=0,Ve||oe(this,ge,we,Ee,Math.pow(2,8*Ee)-1,0);var $e=Ee-1,Ye=1;for(this[we+$e]=255≥--$e>=0&&(Ye*=256);)this[we+$e]=ge/Ye&255;return we+Ee},x.prototype.writeUint8=x.prototype.writeUInt8=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,1,255,0),this[we]=255&ge,we+1},x.prototype.writeUint16LE=x.prototype.writeUInt16LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,65535,0),this[we]=255&ge,this[we+1]=ge>>>8,we+2},x.prototype.writeUint16BE=x.prototype.writeUInt16BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,65535,0),this[we]=ge>>>8,this[we+1]=255&ge,we+2},x.prototype.writeUint32LE=x.prototype.writeUInt32LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,4294967295,0),this[we+3]=ge>>>24,this[we+2]=ge>>>16,this[we+1]=ge>>>8,this[we]=255&ge,we+4},x.prototype.writeUint32BE=x.prototype.writeUInt32BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,4294967295,0),this[we]=ge>>>24,this[we+1]=ge>>>16,this[we+2]=ge>>>8,this[we+3]=255&ge,we+4},x.prototype.writeBigUInt64LE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ue(this,ge,we,BigInt(0),BigInt("0xffffffffffffffff"))}),x.prototype.writeBigUInt64BE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ce(this,ge,we,BigInt(0),BigInt("0xffffffffffffffff"))}),x.prototype.writeIntLE=function(ge,we,Ee,Ve){if(ge=+ge,we>>>=0,!Ve){var $e=Math.pow(2,8*Ee-1);oe(this,ge,we,Ee,$e-1,-$e)}var Ye=0,st=1,ot=0;for(this[we]=255≥++Ye>0)-ot&255;return we+Ee},x.prototype.writeIntBE=function(ge,we,Ee,Ve){if(ge=+ge,we>>>=0,!Ve){var $e=Math.pow(2,8*Ee-1);oe(this,ge,we,Ee,$e-1,-$e)}var Ye=Ee-1,st=1,ot=0;for(this[we+Ye]=255≥--Ye>=0&&(st*=256);)ge<0&&ot===0&&this[we+Ye+1]!==0&&(ot=1),this[we+Ye]=(ge/st>>0)-ot&255;return we+Ee},x.prototype.writeInt8=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,1,127,-128),ge<0&&(ge=255+ge+1),this[we]=255&ge,we+1},x.prototype.writeInt16LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,32767,-32768),this[we]=255&ge,this[we+1]=ge>>>8,we+2},x.prototype.writeInt16BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,32767,-32768),this[we]=ge>>>8,this[we+1]=255&ge,we+2},x.prototype.writeInt32LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,2147483647,-2147483648),this[we]=255&ge,this[we+1]=ge>>>8,this[we+2]=ge>>>16,this[we+3]=ge>>>24,we+4},x.prototype.writeInt32BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,2147483647,-2147483648),ge<0&&(ge=4294967295+ge+1),this[we]=ge>>>24,this[we+1]=ge>>>16,this[we+2]=ge>>>8,this[we+3]=255&ge,we+4},x.prototype.writeBigInt64LE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ue(this,ge,we,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),x.prototype.writeBigInt64BE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ce(this,ge,we,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),x.prototype.writeFloatLE=function(ge,we,Ee){return de(this,ge,we,!0,Ee)},x.prototype.writeFloatBE=function(ge,we,Ee){return de(this,ge,we,!1,Ee)},x.prototype.writeDoubleLE=function(ge,we,Ee){return me(this,ge,we,!0,Ee)},x.prototype.writeDoubleBE=function(ge,we,Ee){return me(this,ge,we,!1,Ee)},x.prototype.copy=function(ge,we,Ee,Ve){if(!x.isBuffer(ge))throw new TypeError("argument should be a Buffer");if(Ee||(Ee=0),Ve||Ve===0||(Ve=this.length),we>=ge.length&&(we=ge.length),we||(we=0),Ve>0&&Ve=this.length)throw new RangeError("Index out of range");if(Ve<0)throw new RangeError("sourceEnd out of bounds");Ve>this.length&&(Ve=this.length),ge.length-we>>=0,Ee=Ee===void 0?this.length:Ee>>>0,ge||(ge=0),typeof ge=="number")for(Ye=we;Ye"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var Et,kt=m(st);if(ot){var xt=m(this).constructor;Et=Reflect.construct(kt,arguments,xt)}else Et=kt.apply(this,arguments);return h(this,Et)});function bt(){var Et;return u(this,bt),Et=ht.call(this),Object.defineProperty(c(Et),"message",{value:we.apply(c(Et),arguments),writable:!0,configurable:!0}),Et.name="".concat(Et.name," [").concat(ge,"]"),Et.stack,delete Et.name,Et}return $e=bt,(Ye=[{key:"code",get:function(){return ge},set:function(Et){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:Et,writable:!0})}},{key:"toString",value:function(){return"".concat(this.name," [").concat(ge,"]: ").concat(this.message)}}])&&o($e.prototype,Ye),Object.defineProperty($e,"prototype",{writable:!1}),bt}(Ee)}function Pe(ge){for(var we="",Ee=ge.length,Ve=ge[0]==="-"?1:0;Ee>=Ve+4;Ee-=3)we="_".concat(ge.slice(Ee-3,Ee)).concat(we);return"".concat(ge.slice(0,Ee)).concat(we)}function _e(ge,we,Ee,Ve,$e,Ye){if(ge>Ee||ge3?we===0||we===BigInt(0)?">= 0".concat(ot," and < 2").concat(ot," ** ").concat(8*(Ye+1)).concat(ot):">= -(2".concat(ot," ** ").concat(8*(Ye+1)-1).concat(ot,") and < 2 ** ")+"".concat(8*(Ye+1)-1).concat(ot):">= ".concat(we).concat(ot," and <= ").concat(Ee).concat(ot),new pe.ERR_OUT_OF_RANGE("value",st,ge)}(function(ht,bt,Et){Me(bt,"offset"),ht[bt]!==void 0&&ht[bt+Et]!==void 0||Se(bt,ht.length-(Et+1))})(Ve,$e,Ye)}function Me(ge,we){if(typeof ge!="number")throw new pe.ERR_INVALID_ARG_TYPE(we,"number",ge)}function Se(ge,we,Ee){throw Math.floor(ge)!==ge?(Me(ge,Ee),new pe.ERR_OUT_OF_RANGE(Ee||"offset","an integer",ge)):we<0?new pe.ERR_BUFFER_OUT_OF_BOUNDS:new pe.ERR_OUT_OF_RANGE(Ee||"offset",">= ".concat(Ee?1:0," and <= ").concat(we),ge)}xe("ERR_BUFFER_OUT_OF_BOUNDS",function(ge){return ge?"".concat(ge," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"},RangeError),xe("ERR_INVALID_ARG_TYPE",function(ge,we){return'The "'.concat(ge,'" argument must be of type number. Received type ').concat(w(we))},TypeError),xe("ERR_OUT_OF_RANGE",function(ge,we,Ee){var Ve='The value of "'.concat(ge,'" is out of range.'),$e=Ee;return Number.isInteger(Ee)&&Math.abs(Ee)>Math.pow(2,32)?$e=Pe(String(Ee)):typeof Ee=="bigint"&&($e=String(Ee),(Ee>Math.pow(BigInt(2),BigInt(32))||Ee<-Math.pow(BigInt(2),BigInt(32)))&&($e=Pe($e)),$e+="n"),Ve+" It must be ".concat(we,". Received ").concat($e)},RangeError);var Ce=/[^+/0-9A-Za-z-_]/g;function ae(ge,we){var Ee;we=we||1/0;for(var Ve=ge.length,$e=null,Ye=[],st=0;st55295&&Ee<57344){if(!$e){if(Ee>56319){(we-=3)>-1&&Ye.push(239,191,189);continue}if(st+1===Ve){(we-=3)>-1&&Ye.push(239,191,189);continue}$e=Ee;continue}if(Ee<56320){(we-=3)>-1&&Ye.push(239,191,189),$e=Ee;continue}Ee=65536+($e-55296<<10|Ee-56320)}else $e&&(we-=3)>-1&&Ye.push(239,191,189);if($e=null,Ee<128){if((we-=1)<0)break;Ye.push(Ee)}else if(Ee<2048){if((we-=2)<0)break;Ye.push(Ee>>6|192,63&Ee|128)}else if(Ee<65536){if((we-=3)<0)break;Ye.push(Ee>>12|224,Ee>>6&63|128,63&Ee|128)}else{if(!(Ee<1114112))throw new Error("Invalid code point");if((we-=4)<0)break;Ye.push(Ee>>18|240,Ee>>12&63|128,Ee>>6&63|128,63&Ee|128)}}return Ye}function fe(ge){return y.toByteArray(function(we){if((we=(we=we.split("=")[0]).trim().replace(Ce,"")).length<2)return"";for(;we.length%4!=0;)we+="=";return we}(ge))}function be(ge,we,Ee,Ve){var $e;for($e=0;$e=we.length||$e>=ge.length);++$e)we[$e+Ee]=ge[$e];return $e}function ke(ge,we){return ge instanceof we||ge!=null&&ge.constructor!=null&&ge.constructor.name!=null&&ge.constructor.name===we.name}function Le(ge){return ge!=ge}var Be=function(){for(var ge="0123456789abcdef",we=new Array(256),Ee=0;Ee<16;++Ee)for(var Ve=16*Ee,$e=0;$e<16;++$e)we[Ve+$e]=ge[Ee]+ge[$e];return we}();function ze(ge){return typeof BigInt>"u"?je:ge}function je(){throw new Error("BigInt not supported")}},2321:function(f){f.exports=o,f.exports.isMobile=o,f.exports.default=o;var l=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,a=/CrOS/,u=/android|ipad|playbook|silk/i;function o(s){s||(s={});var h=s.ua;if(h||typeof navigator>"u"||(h=navigator.userAgent),h&&h.headers&&typeof h.headers["user-agent"]=="string"&&(h=h.headers["user-agent"]),typeof h!="string")return!1;var c=l.test(h)&&!a.test(h)||!!s.tablet&&u.test(h);return!c&&s.tablet&&s.featureDetect&&navigator&&navigator.maxTouchPoints>1&&h.indexOf("Macintosh")!==-1&&h.indexOf("Safari")!==-1&&(c=!0),c}},3910:function(f,l){l.byteLength=function(y){var C=m(y),_=C[0],k=C[1];return 3*(_+k)/4-k},l.toByteArray=function(y){var C,_,k=m(y),E=k[0],x=k[1],A=new o(function(R,I,O){return 3*(I+O)/4-O}(0,E,x)),L=0,b=x>0?E-4:E;for(_=0;_>16&255,A[L++]=C>>8&255,A[L++]=255&C;return x===2&&(C=u[y.charCodeAt(_)]<<2|u[y.charCodeAt(_+1)]>>4,A[L++]=255&C),x===1&&(C=u[y.charCodeAt(_)]<<10|u[y.charCodeAt(_+1)]<<4|u[y.charCodeAt(_+2)]>>2,A[L++]=C>>8&255,A[L++]=255&C),A},l.fromByteArray=function(y){for(var C,_=y.length,k=_%3,E=[],x=16383,A=0,L=_-k;AL?L:A+x));return k===1?(C=y[_-1],E.push(a[C>>2]+a[C<<4&63]+"==")):k===2&&(C=(y[_-2]<<8)+y[_-1],E.push(a[C>>10]+a[C>>4&63]+a[C<<2&63]+"=")),E.join("")};for(var a=[],u=[],o=typeof Uint8Array<"u"?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h=0,c=s.length;h0)throw new Error("Invalid string. Length must be a multiple of 4");var _=y.indexOf("=");return _===-1&&(_=C),[_,_===C?0:4-_%4]}function w(y,C,_){for(var k,E,x=[],A=C;A<_;A+=3)k=(y[A]<<16&16711680)+(y[A+1]<<8&65280)+(255&y[A+2]),x.push(a[(E=k)>>18&63]+a[E>>12&63]+a[E>>6&63]+a[63&E]);return x.join("")}u["-".charCodeAt(0)]=62,u["_".charCodeAt(0)]=63},3187:function(f,l){l.read=function(a,u,o,s,h){var c,m,w=8*h-s-1,y=(1<>1,_=-7,k=o?h-1:0,E=o?-1:1,x=a[u+k];for(k+=E,c=x&(1<<-_)-1,x>>=-_,_+=w;_>0;c=256*c+a[u+k],k+=E,_-=8);for(m=c&(1<<-_)-1,c>>=-_,_+=s;_>0;m=256*m+a[u+k],k+=E,_-=8);if(c===0)c=1-C;else{if(c===y)return m?NaN:1/0*(x?-1:1);m+=Math.pow(2,s),c-=C}return(x?-1:1)*m*Math.pow(2,c-s)},l.write=function(a,u,o,s,h,c){var m,w,y,C=8*c-h-1,_=(1<>1,E=h===23?Math.pow(2,-24)-Math.pow(2,-77):0,x=s?0:c-1,A=s?1:-1,L=u<0||u===0&&1/u<0?1:0;for(u=Math.abs(u),isNaN(u)||u===1/0?(w=isNaN(u)?1:0,m=_):(m=Math.floor(Math.log(u)/Math.LN2),u*(y=Math.pow(2,-m))<1&&(m--,y*=2),(u+=m+k>=1?E/y:E*Math.pow(2,1-k))*y>=2&&(m++,y/=2),m+k>=_?(w=0,m=_):m+k>=1?(w=(u*y-1)*Math.pow(2,h),m+=k):(w=u*Math.pow(2,k-1)*Math.pow(2,h),m=0));h>=8;a[o+x]=255&w,x+=A,w/=256,h-=8);for(m=m<0;a[o+x]=255&m,x+=A,m/=256,C-=8);a[o+x-A]|=128*L}},1152:function(f,l,a){f.exports=function(m){var w=(m=m||{}).eye||[0,0,1],y=m.center||[0,0,0],C=m.up||[0,1,0],_=m.distanceLimits||[0,1/0],k=m.mode||"turntable",E=u(),x=o(),A=s();return E.setDistanceLimits(_[0],_[1]),E.lookAt(0,w,y,C),x.setDistanceLimits(_[0],_[1]),x.lookAt(0,w,y,C),A.setDistanceLimits(_[0],_[1]),A.lookAt(0,w,y,C),new h({turntable:E,orbit:x,matrix:A},k)};var u=a(3440),o=a(7774),s=a(9298);function h(m,w){this._controllerNames=Object.keys(m),this._controllerList=this._controllerNames.map(function(y){return m[y]}),this._mode=w,this._active=m[w],this._active||(this._mode="turntable",this._active=m.turntable),this.modes=this._controllerNames,this.computedMatrix=this._active.computedMatrix,this.computedEye=this._active.computedEye,this.computedUp=this._active.computedUp,this.computedCenter=this._active.computedCenter,this.computedRadius=this._active.computedRadius}var c=h.prototype;c.flush=function(m){for(var w=this._controllerList,y=0;y"u"?a(5346):WeakMap,o=a(5827),s=a(2944),h=new u;f.exports=function(c){var m=h.get(c),w=m&&(m._triangleBuffer.handle||m._triangleBuffer.buffer);if(!w||!c.isBuffer(w)){var y=o(c,new Float32Array([-1,-1,-1,4,4,-1]));(m=s(c,[{buffer:y,type:c.FLOAT,size:2}]))._triangleBuffer=y,h.set(c,m)}m.bind(),c.drawArrays(c.TRIANGLES,0,3),m.unbind()}},8008:function(f,l,a){var u=a(4930);f.exports=function(o,s,h){s=typeof s=="number"?s:1,h=h||": ";var c=o.split(/\r?\n/),m=String(c.length+s-1).length;return c.map(function(w,y){var C=y+s,_=String(C).length;return u(C,m-_)+h+w}).join(` `)}},2153:function(f,l,a){f.exports=function(s){var h=s.length;if(h===0)return[];if(h===1)return[0];for(var c=s[0].length,m=[s[0]],w=[0],y=1;y0?_=_.ushln(E):E<0&&(k=k.ushln(-E)),c(_,k)}},234:function(f,l,a){var u=a(3218);f.exports=function(o){return Array.isArray(o)&&o.length===2&&u(o[0])&&u(o[1])}},4275:function(f,l,a){var u=a(1928);f.exports=function(o){return o.cmp(new u(0))}},9958:function(f,l,a){var u=a(4275);f.exports=function(o){var s=o.length,h=o.words,c=0;if(s===1)c=h[0];else if(s===2)c=h[0]+67108864*h[1];else for(var m=0;m20?52:c+32}},3218:function(f,l,a){a(1928),f.exports=function(u){return u&&typeof u=="object"&&!!u.words}},5514:function(f,l,a){var u=a(1928),o=a(8362);f.exports=function(s){var h=o.exponent(s);return h<52?new u(s):new u(s*Math.pow(2,52-h)).ushln(h-52)}},8524:function(f,l,a){var u=a(5514),o=a(4275);f.exports=function(s,h){var c=o(s),m=o(h);if(c===0)return[u(0),u(1)];if(m===0)return[u(0),u(0)];m<0&&(s=s.neg(),h=h.neg());var w=s.gcd(h);return w.cmpn(1)?[s.div(w),h.div(w)]:[s,h]}},2813:function(f,l,a){var u=a(1928);f.exports=function(o){return new u(o)}},3962:function(f,l,a){var u=a(8524);f.exports=function(o,s){return u(o[0].mul(s[0]),o[1].mul(s[1]))}},4951:function(f,l,a){var u=a(4275);f.exports=function(o){return u(o[0])*u(o[1])}},4354:function(f,l,a){var u=a(8524);f.exports=function(o,s){return u(o[0].mul(s[1]).sub(o[1].mul(s[0])),o[1].mul(s[1]))}},7999:function(f,l,a){var u=a(9958),o=a(1112);f.exports=function(s){var h=s[0],c=s[1];if(h.cmpn(0)===0)return 0;var m=h.abs().divmod(c.abs()),w=m.div,y=u(w),C=m.mod,_=h.negative!==c.negative?-1:1;if(C.cmpn(0)===0)return _*y;if(y){var k=o(y)+4,E=u(C.ushln(k).divRound(c));return _*(y+E*Math.pow(2,-k))}var x=c.bitLength()-C.bitLength()+53;return E=u(C.ushln(x).divRound(c)),x<1023?_*E*Math.pow(2,-x):_*(E*=Math.pow(2,-1023))*Math.pow(2,1023-x)}},5070:function(f){function l(c,m,w,y,C){for(var _=C+1;y<=C;){var k=y+C>>>1,E=c[k];(w!==void 0?w(E,m):E-m)>=0?(_=k,C=k-1):y=k+1}return _}function a(c,m,w,y,C){for(var _=C+1;y<=C;){var k=y+C>>>1,E=c[k];(w!==void 0?w(E,m):E-m)>0?(_=k,C=k-1):y=k+1}return _}function u(c,m,w,y,C){for(var _=y-1;y<=C;){var k=y+C>>>1,E=c[k];(w!==void 0?w(E,m):E-m)<0?(_=k,y=k+1):C=k-1}return _}function o(c,m,w,y,C){for(var _=y-1;y<=C;){var k=y+C>>>1,E=c[k];(w!==void 0?w(E,m):E-m)<=0?(_=k,y=k+1):C=k-1}return _}function s(c,m,w,y,C){for(;y<=C;){var _=y+C>>>1,k=c[_],E=w!==void 0?w(k,m):k-m;if(E===0)return _;E<=0?y=_+1:C=_-1}return-1}function h(c,m,w,y,C,_){return typeof w=="function"?_(c,m,w,y===void 0?0:0|y,C===void 0?c.length-1:0|C):_(c,m,void 0,w===void 0?0:0|w,y===void 0?c.length-1:0|y)}f.exports={ge:function(c,m,w,y,C){return h(c,m,w,y,C,l)},gt:function(c,m,w,y,C){return h(c,m,w,y,C,a)},lt:function(c,m,w,y,C){return h(c,m,w,y,C,u)},le:function(c,m,w,y,C){return h(c,m,w,y,C,o)},eq:function(c,m,w,y,C){return h(c,m,w,y,C,s)}}},2288:function(f,l){function a(o){var s=32;return(o&=-o)&&s--,65535&o&&(s-=16),16711935&o&&(s-=8),252645135&o&&(s-=4),858993459&o&&(s-=2),1431655765&o&&(s-=1),s}l.INT_BITS=32,l.INT_MAX=2147483647,l.INT_MIN=-2147483648,l.sign=function(o){return(o>0)-(o<0)},l.abs=function(o){var s=o>>31;return(o^s)-s},l.min=function(o,s){return s^(o^s)&-(o65535)<<4,s|=h=((o>>>=s)>255)<<3,s|=h=((o>>>=h)>15)<<2,(s|=h=((o>>>=h)>3)<<1)|(o>>>=h)>>1},l.log10=function(o){return o>=1e9?9:o>=1e8?8:o>=1e7?7:o>=1e6?6:o>=1e5?5:o>=1e4?4:o>=1e3?3:o>=100?2:o>=10?1:0},l.popCount=function(o){return 16843009*((o=(858993459&(o-=o>>>1&1431655765))+(o>>>2&858993459))+(o>>>4)&252645135)>>>24},l.countTrailingZeros=a,l.nextPow2=function(o){return o+=o===0,--o,o|=o>>>1,o|=o>>>2,o|=o>>>4,1+((o|=o>>>8)|o>>>16)},l.prevPow2=function(o){return o|=o>>>1,o|=o>>>2,o|=o>>>4,o|=o>>>8,(o|=o>>>16)-(o>>>1)},l.parity=function(o){return o^=o>>>16,o^=o>>>8,o^=o>>>4,27030>>>(o&=15)&1};var u=new Array(256);(function(o){for(var s=0;s<256;++s){var h=s,c=s,m=7;for(h>>>=1;h;h>>>=1)c<<=1,c|=1&h,--m;o[s]=c<>>8&255]<<16|u[o>>>16&255]<<8|u[o>>>24&255]},l.interleave2=function(o,s){return(o=1431655765&((o=858993459&((o=252645135&((o=16711935&((o&=65535)|o<<8))|o<<4))|o<<2))|o<<1))|(s=1431655765&((s=858993459&((s=252645135&((s=16711935&((s&=65535)|s<<8))|s<<4))|s<<2))|s<<1))<<1},l.deinterleave2=function(o,s){return(o=65535&((o=16711935&((o=252645135&((o=858993459&((o=o>>>s&1431655765)|o>>>1))|o>>>2))|o>>>4))|o>>>16))<<16>>16},l.interleave3=function(o,s,h){return o=1227133513&((o=3272356035&((o=251719695&((o=4278190335&((o&=1023)|o<<16))|o<<8))|o<<4))|o<<2),(o|=(s=1227133513&((s=3272356035&((s=251719695&((s=4278190335&((s&=1023)|s<<16))|s<<8))|s<<4))|s<<2))<<1)|(h=1227133513&((h=3272356035&((h=251719695&((h=4278190335&((h&=1023)|h<<16))|h<<8))|h<<4))|h<<2))<<2},l.deinterleave3=function(o,s){return(o=1023&((o=4278190335&((o=251719695&((o=3272356035&((o=o>>>s&1227133513)|o>>>2))|o>>>4))|o>>>8))|o>>>16))<<22>>22},l.nextCombination=function(o){var s=o|o-1;return s+1|(~s&-~s)-1>>>a(o)+1}},1928:function(f,l,a){(function(u,o){function s(j,$){if(!j)throw new Error($||"Assertion failed")}function h(j,$){j.super_=$;var U=function(){};U.prototype=$.prototype,j.prototype=new U,j.prototype.constructor=j}function c(j,$,U){if(c.isBN(j))return j;this.negative=0,this.words=null,this.length=0,this.red=null,j!==null&&($!=="le"&&$!=="be"||(U=$,$=10),this._init(j||0,$||10,U||"be"))}var m;typeof u=="object"?u.exports=c:o.BN=c,c.BN=c,c.wordSize=26;try{m=typeof window<"u"&&window.Buffer!==void 0?window.Buffer:a(6601).Buffer}catch{}function w(j,$){var U=j.charCodeAt($);return U>=65&&U<=70?U-55:U>=97&&U<=102?U-87:U-48&15}function y(j,$,U){var G=w(j,U);return U-1>=$&&(G|=w(j,U-1)<<4),G}function C(j,$,U,G){for(var q=0,H=Math.min(j.length,U),ne=$;ne=49?te-49+10:te>=17?te-17+10:te}return q}c.isBN=function(j){return j instanceof c||j!==null&&typeof j=="object"&&j.constructor.wordSize===c.wordSize&&Array.isArray(j.words)},c.max=function(j,$){return j.cmp($)>0?j:$},c.min=function(j,$){return j.cmp($)<0?j:$},c.prototype._init=function(j,$,U){if(typeof j=="number")return this._initNumber(j,$,U);if(typeof j=="object")return this._initArray(j,$,U);$==="hex"&&($=16),s($===(0|$)&&$>=2&&$<=36);var G=0;(j=j.toString().replace(/\s+/g,""))[0]==="-"&&(G++,this.negative=1),G=0;G-=3)H=j[G]|j[G-1]<<8|j[G-2]<<16,this.words[q]|=H<>>26-ne&67108863,(ne+=24)>=26&&(ne-=26,q++);else if(U==="le")for(G=0,q=0;G>>26-ne&67108863,(ne+=24)>=26&&(ne-=26,q++);return this.strip()},c.prototype._parseHex=function(j,$,U){this.length=Math.ceil((j.length-$)/6),this.words=new Array(this.length);for(var G=0;G=$;G-=2)q=y(j,$,G)<=18?(H-=18,ne+=1,this.words[ne]|=q>>>26):H+=8;else for(G=(j.length-$)%2==0?$+1:$;G=18?(H-=18,ne+=1,this.words[ne]|=q>>>26):H+=8;this.strip()},c.prototype._parseBase=function(j,$,U){this.words=[0],this.length=1;for(var G=0,q=1;q<=67108863;q*=$)G++;G--,q=q/$|0;for(var H=j.length-U,ne=H%G,te=Math.min(H,H-ne)+U,Z=0,X=U;X1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},c.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},c.prototype.inspect=function(){return(this.red?""};var _=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],k=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],E=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function x(j,$,U){U.negative=$.negative^j.negative;var G=j.length+$.length|0;U.length=G,G=G-1|0;var q=0|j.words[0],H=0|$.words[0],ne=q*H,te=67108863&ne,Z=ne/67108864|0;U.words[0]=te;for(var X=1;X>>26,re=67108863&Z,ie=Math.min(X,$.length-1),oe=Math.max(0,X-j.length+1);oe<=ie;oe++){var ue=X-oe|0;Q+=(ne=(q=0|j.words[ue])*(H=0|$.words[oe])+re)/67108864|0,re=67108863&ne}U.words[X]=0|re,Z=0|Q}return Z!==0?U.words[X]=0|Z:U.length--,U.strip()}c.prototype.toString=function(j,$){var U;if($=0|$||1,(j=j||10)===16||j==="hex"){U="";for(var G=0,q=0,H=0;H>>24-G&16777215)!=0||H!==this.length-1?_[6-te.length]+te+U:te+U,(G+=2)>=26&&(G-=26,H--)}for(q!==0&&(U=q.toString(16)+U);U.length%$!=0;)U="0"+U;return this.negative!==0&&(U="-"+U),U}if(j===(0|j)&&j>=2&&j<=36){var Z=k[j],X=E[j];U="";var Q=this.clone();for(Q.negative=0;!Q.isZero();){var re=Q.modn(X).toString(j);U=(Q=Q.idivn(X)).isZero()?re+U:_[Z-re.length]+re+U}for(this.isZero()&&(U="0"+U);U.length%$!=0;)U="0"+U;return this.negative!==0&&(U="-"+U),U}s(!1,"Base should be between 2 and 36")},c.prototype.toNumber=function(){var j=this.words[0];return this.length===2?j+=67108864*this.words[1]:this.length===3&&this.words[2]===1?j+=4503599627370496+67108864*this.words[1]:this.length>2&&s(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-j:j},c.prototype.toJSON=function(){return this.toString(16)},c.prototype.toBuffer=function(j,$){return s(m!==void 0),this.toArrayLike(m,j,$)},c.prototype.toArray=function(j,$){return this.toArrayLike(Array,j,$)},c.prototype.toArrayLike=function(j,$,U){var G=this.byteLength(),q=U||Math.max(1,G);s(G<=q,"byte array longer than desired length"),s(q>0,"Requested array length <= 0"),this.strip();var H,ne,te=$==="le",Z=new j(q),X=this.clone();if(te){for(ne=0;!X.isZero();ne++)H=X.andln(255),X.iushrn(8),Z[ne]=H;for(;ne=4096&&(U+=13,$>>>=13),$>=64&&(U+=7,$>>>=7),$>=8&&(U+=4,$>>>=4),$>=2&&(U+=2,$>>>=2),U+$},c.prototype._zeroBits=function(j){if(j===0)return 26;var $=j,U=0;return!(8191&$)&&(U+=13,$>>>=13),!(127&$)&&(U+=7,$>>>=7),!(15&$)&&(U+=4,$>>>=4),!(3&$)&&(U+=2,$>>>=2),!(1&$)&&U++,U},c.prototype.bitLength=function(){var j=this.words[this.length-1],$=this._countBits(j);return 26*(this.length-1)+$},c.prototype.zeroBits=function(){if(this.isZero())return 0;for(var j=0,$=0;$j.length?this.clone().ior(j):j.clone().ior(this)},c.prototype.uor=function(j){return this.length>j.length?this.clone().iuor(j):j.clone().iuor(this)},c.prototype.iuand=function(j){var $;$=this.length>j.length?j:this;for(var U=0;U<$.length;U++)this.words[U]=this.words[U]&j.words[U];return this.length=$.length,this.strip()},c.prototype.iand=function(j){return s((this.negative|j.negative)==0),this.iuand(j)},c.prototype.and=function(j){return this.length>j.length?this.clone().iand(j):j.clone().iand(this)},c.prototype.uand=function(j){return this.length>j.length?this.clone().iuand(j):j.clone().iuand(this)},c.prototype.iuxor=function(j){var $,U;this.length>j.length?($=this,U=j):($=j,U=this);for(var G=0;Gj.length?this.clone().ixor(j):j.clone().ixor(this)},c.prototype.uxor=function(j){return this.length>j.length?this.clone().iuxor(j):j.clone().iuxor(this)},c.prototype.inotn=function(j){s(typeof j=="number"&&j>=0);var $=0|Math.ceil(j/26),U=j%26;this._expand($),U>0&&$--;for(var G=0;G<$;G++)this.words[G]=67108863&~this.words[G];return U>0&&(this.words[G]=~this.words[G]&67108863>>26-U),this.strip()},c.prototype.notn=function(j){return this.clone().inotn(j)},c.prototype.setn=function(j,$){s(typeof j=="number"&&j>=0);var U=j/26|0,G=j%26;return this._expand(U+1),this.words[U]=$?this.words[U]|1<j.length?(U=this,G=j):(U=j,G=this);for(var q=0,H=0;H>>26;for(;q!==0&&H>>26;if(this.length=U.length,q!==0)this.words[this.length]=q,this.length++;else if(U!==this)for(;Hj.length?this.clone().iadd(j):j.clone().iadd(this)},c.prototype.isub=function(j){if(j.negative!==0){j.negative=0;var $=this.iadd(j);return j.negative=1,$._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(j),this.negative=1,this._normSign();var U,G,q=this.cmp(j);if(q===0)return this.negative=0,this.length=1,this.words[0]=0,this;q>0?(U=this,G=j):(U=j,G=this);for(var H=0,ne=0;ne>26,this.words[ne]=67108863&$;for(;H!==0&&ne>26,this.words[ne]=67108863&$;if(H===0&&ne>>13,oe=0|ne[1],ue=8191&oe,ce=oe>>>13,ye=0|ne[2],de=8191&ye,me=ye>>>13,pe=0|ne[3],xe=8191&pe,Pe=pe>>>13,_e=0|ne[4],Me=8191&_e,Se=_e>>>13,Ce=0|ne[5],ae=8191&Ce,fe=Ce>>>13,be=0|ne[6],ke=8191&be,Le=be>>>13,Be=0|ne[7],ze=8191&Be,je=Be>>>13,ge=0|ne[8],we=8191&ge,Ee=ge>>>13,Ve=0|ne[9],$e=8191&Ve,Ye=Ve>>>13,st=0|te[0],ot=8191&st,ht=st>>>13,bt=0|te[1],Et=8191&bt,kt=bt>>>13,xt=0|te[2],Ft=8191&xt,Ot=xt>>>13,Bt=0|te[3],qt=8191&Bt,Vt=Bt>>>13,Ke=0|te[4],Je=8191&Ke,qe=Ke>>>13,nt=0|te[5],ft=8191&nt,Re=nt>>>13,Ne=0|te[6],Qe=8191&Ne,ut=Ne>>>13,dt=0|te[7],_t=8191&dt,It=dt>>>13,Lt=0|te[8],yt=8191&Lt,Pt=Lt>>>13,wt=0|te[9],Rt=8191&wt,Nt=wt>>>13;U.negative=j.negative^$.negative,U.length=19;var Yt=(X+(G=Math.imul(re,ot))|0)+((8191&(q=(q=Math.imul(re,ht))+Math.imul(ie,ot)|0))<<13)|0;X=((H=Math.imul(ie,ht))+(q>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,G=Math.imul(ue,ot),q=(q=Math.imul(ue,ht))+Math.imul(ce,ot)|0,H=Math.imul(ce,ht);var Wt=(X+(G=G+Math.imul(re,Et)|0)|0)+((8191&(q=(q=q+Math.imul(re,kt)|0)+Math.imul(ie,Et)|0))<<13)|0;X=((H=H+Math.imul(ie,kt)|0)+(q>>>13)|0)+(Wt>>>26)|0,Wt&=67108863,G=Math.imul(de,ot),q=(q=Math.imul(de,ht))+Math.imul(me,ot)|0,H=Math.imul(me,ht),G=G+Math.imul(ue,Et)|0,q=(q=q+Math.imul(ue,kt)|0)+Math.imul(ce,Et)|0,H=H+Math.imul(ce,kt)|0;var Xt=(X+(G=G+Math.imul(re,Ft)|0)|0)+((8191&(q=(q=q+Math.imul(re,Ot)|0)+Math.imul(ie,Ft)|0))<<13)|0;X=((H=H+Math.imul(ie,Ot)|0)+(q>>>13)|0)+(Xt>>>26)|0,Xt&=67108863,G=Math.imul(xe,ot),q=(q=Math.imul(xe,ht))+Math.imul(Pe,ot)|0,H=Math.imul(Pe,ht),G=G+Math.imul(de,Et)|0,q=(q=q+Math.imul(de,kt)|0)+Math.imul(me,Et)|0,H=H+Math.imul(me,kt)|0,G=G+Math.imul(ue,Ft)|0,q=(q=q+Math.imul(ue,Ot)|0)+Math.imul(ce,Ft)|0,H=H+Math.imul(ce,Ot)|0;var Qt=(X+(G=G+Math.imul(re,qt)|0)|0)+((8191&(q=(q=q+Math.imul(re,Vt)|0)+Math.imul(ie,qt)|0))<<13)|0;X=((H=H+Math.imul(ie,Vt)|0)+(q>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,G=Math.imul(Me,ot),q=(q=Math.imul(Me,ht))+Math.imul(Se,ot)|0,H=Math.imul(Se,ht),G=G+Math.imul(xe,Et)|0,q=(q=q+Math.imul(xe,kt)|0)+Math.imul(Pe,Et)|0,H=H+Math.imul(Pe,kt)|0,G=G+Math.imul(de,Ft)|0,q=(q=q+Math.imul(de,Ot)|0)+Math.imul(me,Ft)|0,H=H+Math.imul(me,Ot)|0,G=G+Math.imul(ue,qt)|0,q=(q=q+Math.imul(ue,Vt)|0)+Math.imul(ce,qt)|0,H=H+Math.imul(ce,Vt)|0;var rn=(X+(G=G+Math.imul(re,Je)|0)|0)+((8191&(q=(q=q+Math.imul(re,qe)|0)+Math.imul(ie,Je)|0))<<13)|0;X=((H=H+Math.imul(ie,qe)|0)+(q>>>13)|0)+(rn>>>26)|0,rn&=67108863,G=Math.imul(ae,ot),q=(q=Math.imul(ae,ht))+Math.imul(fe,ot)|0,H=Math.imul(fe,ht),G=G+Math.imul(Me,Et)|0,q=(q=q+Math.imul(Me,kt)|0)+Math.imul(Se,Et)|0,H=H+Math.imul(Se,kt)|0,G=G+Math.imul(xe,Ft)|0,q=(q=q+Math.imul(xe,Ot)|0)+Math.imul(Pe,Ft)|0,H=H+Math.imul(Pe,Ot)|0,G=G+Math.imul(de,qt)|0,q=(q=q+Math.imul(de,Vt)|0)+Math.imul(me,qt)|0,H=H+Math.imul(me,Vt)|0,G=G+Math.imul(ue,Je)|0,q=(q=q+Math.imul(ue,qe)|0)+Math.imul(ce,Je)|0,H=H+Math.imul(ce,qe)|0;var xn=(X+(G=G+Math.imul(re,ft)|0)|0)+((8191&(q=(q=q+Math.imul(re,Re)|0)+Math.imul(ie,ft)|0))<<13)|0;X=((H=H+Math.imul(ie,Re)|0)+(q>>>13)|0)+(xn>>>26)|0,xn&=67108863,G=Math.imul(ke,ot),q=(q=Math.imul(ke,ht))+Math.imul(Le,ot)|0,H=Math.imul(Le,ht),G=G+Math.imul(ae,Et)|0,q=(q=q+Math.imul(ae,kt)|0)+Math.imul(fe,Et)|0,H=H+Math.imul(fe,kt)|0,G=G+Math.imul(Me,Ft)|0,q=(q=q+Math.imul(Me,Ot)|0)+Math.imul(Se,Ft)|0,H=H+Math.imul(Se,Ot)|0,G=G+Math.imul(xe,qt)|0,q=(q=q+Math.imul(xe,Vt)|0)+Math.imul(Pe,qt)|0,H=H+Math.imul(Pe,Vt)|0,G=G+Math.imul(de,Je)|0,q=(q=q+Math.imul(de,qe)|0)+Math.imul(me,Je)|0,H=H+Math.imul(me,qe)|0,G=G+Math.imul(ue,ft)|0,q=(q=q+Math.imul(ue,Re)|0)+Math.imul(ce,ft)|0,H=H+Math.imul(ce,Re)|0;var un=(X+(G=G+Math.imul(re,Qe)|0)|0)+((8191&(q=(q=q+Math.imul(re,ut)|0)+Math.imul(ie,Qe)|0))<<13)|0;X=((H=H+Math.imul(ie,ut)|0)+(q>>>13)|0)+(un>>>26)|0,un&=67108863,G=Math.imul(ze,ot),q=(q=Math.imul(ze,ht))+Math.imul(je,ot)|0,H=Math.imul(je,ht),G=G+Math.imul(ke,Et)|0,q=(q=q+Math.imul(ke,kt)|0)+Math.imul(Le,Et)|0,H=H+Math.imul(Le,kt)|0,G=G+Math.imul(ae,Ft)|0,q=(q=q+Math.imul(ae,Ot)|0)+Math.imul(fe,Ft)|0,H=H+Math.imul(fe,Ot)|0,G=G+Math.imul(Me,qt)|0,q=(q=q+Math.imul(Me,Vt)|0)+Math.imul(Se,qt)|0,H=H+Math.imul(Se,Vt)|0,G=G+Math.imul(xe,Je)|0,q=(q=q+Math.imul(xe,qe)|0)+Math.imul(Pe,Je)|0,H=H+Math.imul(Pe,qe)|0,G=G+Math.imul(de,ft)|0,q=(q=q+Math.imul(de,Re)|0)+Math.imul(me,ft)|0,H=H+Math.imul(me,Re)|0,G=G+Math.imul(ue,Qe)|0,q=(q=q+Math.imul(ue,ut)|0)+Math.imul(ce,Qe)|0,H=H+Math.imul(ce,ut)|0;var An=(X+(G=G+Math.imul(re,_t)|0)|0)+((8191&(q=(q=q+Math.imul(re,It)|0)+Math.imul(ie,_t)|0))<<13)|0;X=((H=H+Math.imul(ie,It)|0)+(q>>>13)|0)+(An>>>26)|0,An&=67108863,G=Math.imul(we,ot),q=(q=Math.imul(we,ht))+Math.imul(Ee,ot)|0,H=Math.imul(Ee,ht),G=G+Math.imul(ze,Et)|0,q=(q=q+Math.imul(ze,kt)|0)+Math.imul(je,Et)|0,H=H+Math.imul(je,kt)|0,G=G+Math.imul(ke,Ft)|0,q=(q=q+Math.imul(ke,Ot)|0)+Math.imul(Le,Ft)|0,H=H+Math.imul(Le,Ot)|0,G=G+Math.imul(ae,qt)|0,q=(q=q+Math.imul(ae,Vt)|0)+Math.imul(fe,qt)|0,H=H+Math.imul(fe,Vt)|0,G=G+Math.imul(Me,Je)|0,q=(q=q+Math.imul(Me,qe)|0)+Math.imul(Se,Je)|0,H=H+Math.imul(Se,qe)|0,G=G+Math.imul(xe,ft)|0,q=(q=q+Math.imul(xe,Re)|0)+Math.imul(Pe,ft)|0,H=H+Math.imul(Pe,Re)|0,G=G+Math.imul(de,Qe)|0,q=(q=q+Math.imul(de,ut)|0)+Math.imul(me,Qe)|0,H=H+Math.imul(me,ut)|0,G=G+Math.imul(ue,_t)|0,q=(q=q+Math.imul(ue,It)|0)+Math.imul(ce,_t)|0,H=H+Math.imul(ce,It)|0;var Yn=(X+(G=G+Math.imul(re,yt)|0)|0)+((8191&(q=(q=q+Math.imul(re,Pt)|0)+Math.imul(ie,yt)|0))<<13)|0;X=((H=H+Math.imul(ie,Pt)|0)+(q>>>13)|0)+(Yn>>>26)|0,Yn&=67108863,G=Math.imul($e,ot),q=(q=Math.imul($e,ht))+Math.imul(Ye,ot)|0,H=Math.imul(Ye,ht),G=G+Math.imul(we,Et)|0,q=(q=q+Math.imul(we,kt)|0)+Math.imul(Ee,Et)|0,H=H+Math.imul(Ee,kt)|0,G=G+Math.imul(ze,Ft)|0,q=(q=q+Math.imul(ze,Ot)|0)+Math.imul(je,Ft)|0,H=H+Math.imul(je,Ot)|0,G=G+Math.imul(ke,qt)|0,q=(q=q+Math.imul(ke,Vt)|0)+Math.imul(Le,qt)|0,H=H+Math.imul(Le,Vt)|0,G=G+Math.imul(ae,Je)|0,q=(q=q+Math.imul(ae,qe)|0)+Math.imul(fe,Je)|0,H=H+Math.imul(fe,qe)|0,G=G+Math.imul(Me,ft)|0,q=(q=q+Math.imul(Me,Re)|0)+Math.imul(Se,ft)|0,H=H+Math.imul(Se,Re)|0,G=G+Math.imul(xe,Qe)|0,q=(q=q+Math.imul(xe,ut)|0)+Math.imul(Pe,Qe)|0,H=H+Math.imul(Pe,ut)|0,G=G+Math.imul(de,_t)|0,q=(q=q+Math.imul(de,It)|0)+Math.imul(me,_t)|0,H=H+Math.imul(me,It)|0,G=G+Math.imul(ue,yt)|0,q=(q=q+Math.imul(ue,Pt)|0)+Math.imul(ce,yt)|0,H=H+Math.imul(ce,Pt)|0;var kn=(X+(G=G+Math.imul(re,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(re,Nt)|0)+Math.imul(ie,Rt)|0))<<13)|0;X=((H=H+Math.imul(ie,Nt)|0)+(q>>>13)|0)+(kn>>>26)|0,kn&=67108863,G=Math.imul($e,Et),q=(q=Math.imul($e,kt))+Math.imul(Ye,Et)|0,H=Math.imul(Ye,kt),G=G+Math.imul(we,Ft)|0,q=(q=q+Math.imul(we,Ot)|0)+Math.imul(Ee,Ft)|0,H=H+Math.imul(Ee,Ot)|0,G=G+Math.imul(ze,qt)|0,q=(q=q+Math.imul(ze,Vt)|0)+Math.imul(je,qt)|0,H=H+Math.imul(je,Vt)|0,G=G+Math.imul(ke,Je)|0,q=(q=q+Math.imul(ke,qe)|0)+Math.imul(Le,Je)|0,H=H+Math.imul(Le,qe)|0,G=G+Math.imul(ae,ft)|0,q=(q=q+Math.imul(ae,Re)|0)+Math.imul(fe,ft)|0,H=H+Math.imul(fe,Re)|0,G=G+Math.imul(Me,Qe)|0,q=(q=q+Math.imul(Me,ut)|0)+Math.imul(Se,Qe)|0,H=H+Math.imul(Se,ut)|0,G=G+Math.imul(xe,_t)|0,q=(q=q+Math.imul(xe,It)|0)+Math.imul(Pe,_t)|0,H=H+Math.imul(Pe,It)|0,G=G+Math.imul(de,yt)|0,q=(q=q+Math.imul(de,Pt)|0)+Math.imul(me,yt)|0,H=H+Math.imul(me,Pt)|0;var sn=(X+(G=G+Math.imul(ue,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(ue,Nt)|0)+Math.imul(ce,Rt)|0))<<13)|0;X=((H=H+Math.imul(ce,Nt)|0)+(q>>>13)|0)+(sn>>>26)|0,sn&=67108863,G=Math.imul($e,Ft),q=(q=Math.imul($e,Ot))+Math.imul(Ye,Ft)|0,H=Math.imul(Ye,Ot),G=G+Math.imul(we,qt)|0,q=(q=q+Math.imul(we,Vt)|0)+Math.imul(Ee,qt)|0,H=H+Math.imul(Ee,Vt)|0,G=G+Math.imul(ze,Je)|0,q=(q=q+Math.imul(ze,qe)|0)+Math.imul(je,Je)|0,H=H+Math.imul(je,qe)|0,G=G+Math.imul(ke,ft)|0,q=(q=q+Math.imul(ke,Re)|0)+Math.imul(Le,ft)|0,H=H+Math.imul(Le,Re)|0,G=G+Math.imul(ae,Qe)|0,q=(q=q+Math.imul(ae,ut)|0)+Math.imul(fe,Qe)|0,H=H+Math.imul(fe,ut)|0,G=G+Math.imul(Me,_t)|0,q=(q=q+Math.imul(Me,It)|0)+Math.imul(Se,_t)|0,H=H+Math.imul(Se,It)|0,G=G+Math.imul(xe,yt)|0,q=(q=q+Math.imul(xe,Pt)|0)+Math.imul(Pe,yt)|0,H=H+Math.imul(Pe,Pt)|0;var Tn=(X+(G=G+Math.imul(de,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(de,Nt)|0)+Math.imul(me,Rt)|0))<<13)|0;X=((H=H+Math.imul(me,Nt)|0)+(q>>>13)|0)+(Tn>>>26)|0,Tn&=67108863,G=Math.imul($e,qt),q=(q=Math.imul($e,Vt))+Math.imul(Ye,qt)|0,H=Math.imul(Ye,Vt),G=G+Math.imul(we,Je)|0,q=(q=q+Math.imul(we,qe)|0)+Math.imul(Ee,Je)|0,H=H+Math.imul(Ee,qe)|0,G=G+Math.imul(ze,ft)|0,q=(q=q+Math.imul(ze,Re)|0)+Math.imul(je,ft)|0,H=H+Math.imul(je,Re)|0,G=G+Math.imul(ke,Qe)|0,q=(q=q+Math.imul(ke,ut)|0)+Math.imul(Le,Qe)|0,H=H+Math.imul(Le,ut)|0,G=G+Math.imul(ae,_t)|0,q=(q=q+Math.imul(ae,It)|0)+Math.imul(fe,_t)|0,H=H+Math.imul(fe,It)|0,G=G+Math.imul(Me,yt)|0,q=(q=q+Math.imul(Me,Pt)|0)+Math.imul(Se,yt)|0,H=H+Math.imul(Se,Pt)|0;var dn=(X+(G=G+Math.imul(xe,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(xe,Nt)|0)+Math.imul(Pe,Rt)|0))<<13)|0;X=((H=H+Math.imul(Pe,Nt)|0)+(q>>>13)|0)+(dn>>>26)|0,dn&=67108863,G=Math.imul($e,Je),q=(q=Math.imul($e,qe))+Math.imul(Ye,Je)|0,H=Math.imul(Ye,qe),G=G+Math.imul(we,ft)|0,q=(q=q+Math.imul(we,Re)|0)+Math.imul(Ee,ft)|0,H=H+Math.imul(Ee,Re)|0,G=G+Math.imul(ze,Qe)|0,q=(q=q+Math.imul(ze,ut)|0)+Math.imul(je,Qe)|0,H=H+Math.imul(je,ut)|0,G=G+Math.imul(ke,_t)|0,q=(q=q+Math.imul(ke,It)|0)+Math.imul(Le,_t)|0,H=H+Math.imul(Le,It)|0,G=G+Math.imul(ae,yt)|0,q=(q=q+Math.imul(ae,Pt)|0)+Math.imul(fe,yt)|0,H=H+Math.imul(fe,Pt)|0;var pn=(X+(G=G+Math.imul(Me,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(Me,Nt)|0)+Math.imul(Se,Rt)|0))<<13)|0;X=((H=H+Math.imul(Se,Nt)|0)+(q>>>13)|0)+(pn>>>26)|0,pn&=67108863,G=Math.imul($e,ft),q=(q=Math.imul($e,Re))+Math.imul(Ye,ft)|0,H=Math.imul(Ye,Re),G=G+Math.imul(we,Qe)|0,q=(q=q+Math.imul(we,ut)|0)+Math.imul(Ee,Qe)|0,H=H+Math.imul(Ee,ut)|0,G=G+Math.imul(ze,_t)|0,q=(q=q+Math.imul(ze,It)|0)+Math.imul(je,_t)|0,H=H+Math.imul(je,It)|0,G=G+Math.imul(ke,yt)|0,q=(q=q+Math.imul(ke,Pt)|0)+Math.imul(Le,yt)|0,H=H+Math.imul(Le,Pt)|0;var Dn=(X+(G=G+Math.imul(ae,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(ae,Nt)|0)+Math.imul(fe,Rt)|0))<<13)|0;X=((H=H+Math.imul(fe,Nt)|0)+(q>>>13)|0)+(Dn>>>26)|0,Dn&=67108863,G=Math.imul($e,Qe),q=(q=Math.imul($e,ut))+Math.imul(Ye,Qe)|0,H=Math.imul(Ye,ut),G=G+Math.imul(we,_t)|0,q=(q=q+Math.imul(we,It)|0)+Math.imul(Ee,_t)|0,H=H+Math.imul(Ee,It)|0,G=G+Math.imul(ze,yt)|0,q=(q=q+Math.imul(ze,Pt)|0)+Math.imul(je,yt)|0,H=H+Math.imul(je,Pt)|0;var In=(X+(G=G+Math.imul(ke,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(ke,Nt)|0)+Math.imul(Le,Rt)|0))<<13)|0;X=((H=H+Math.imul(Le,Nt)|0)+(q>>>13)|0)+(In>>>26)|0,In&=67108863,G=Math.imul($e,_t),q=(q=Math.imul($e,It))+Math.imul(Ye,_t)|0,H=Math.imul(Ye,It),G=G+Math.imul(we,yt)|0,q=(q=q+Math.imul(we,Pt)|0)+Math.imul(Ee,yt)|0,H=H+Math.imul(Ee,Pt)|0;var jn=(X+(G=G+Math.imul(ze,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(ze,Nt)|0)+Math.imul(je,Rt)|0))<<13)|0;X=((H=H+Math.imul(je,Nt)|0)+(q>>>13)|0)+(jn>>>26)|0,jn&=67108863,G=Math.imul($e,yt),q=(q=Math.imul($e,Pt))+Math.imul(Ye,yt)|0,H=Math.imul(Ye,Pt);var Gn=(X+(G=G+Math.imul(we,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(we,Nt)|0)+Math.imul(Ee,Rt)|0))<<13)|0;X=((H=H+Math.imul(Ee,Nt)|0)+(q>>>13)|0)+(Gn>>>26)|0,Gn&=67108863;var qn=(X+(G=Math.imul($e,Rt))|0)+((8191&(q=(q=Math.imul($e,Nt))+Math.imul(Ye,Rt)|0))<<13)|0;return X=((H=Math.imul(Ye,Nt))+(q>>>13)|0)+(qn>>>26)|0,qn&=67108863,Z[0]=Yt,Z[1]=Wt,Z[2]=Xt,Z[3]=Qt,Z[4]=rn,Z[5]=xn,Z[6]=un,Z[7]=An,Z[8]=Yn,Z[9]=kn,Z[10]=sn,Z[11]=Tn,Z[12]=dn,Z[13]=pn,Z[14]=Dn,Z[15]=In,Z[16]=jn,Z[17]=Gn,Z[18]=qn,X!==0&&(Z[19]=X,U.length++),U};function L(j,$,U){return new b().mulp(j,$,U)}function b(j,$){this.x=j,this.y=$}Math.imul||(A=x),c.prototype.mulTo=function(j,$){var U,G=this.length+j.length;return U=this.length===10&&j.length===10?A(this,j,$):G<63?x(this,j,$):G<1024?function(q,H,ne){ne.negative=H.negative^q.negative,ne.length=q.length+H.length;for(var te=0,Z=0,X=0;X>>26)|0)>>>26,Q&=67108863}ne.words[X]=re,te=Q,Q=Z}return te!==0?ne.words[X]=te:ne.length--,ne.strip()}(this,j,$):L(this,j,$),U},b.prototype.makeRBT=function(j){for(var $=new Array(j),U=c.prototype._countBits(j)-1,G=0;G>=1;return G},b.prototype.permute=function(j,$,U,G,q,H){for(var ne=0;ne>>=1)q++;return 1<>>=13,U[2*H+1]=8191&q,q>>>=13;for(H=2*$;H>=26,$+=G/67108864|0,$+=q>>>26,this.words[U]=67108863&q}return $!==0&&(this.words[U]=$,this.length++),this},c.prototype.muln=function(j){return this.clone().imuln(j)},c.prototype.sqr=function(){return this.mul(this)},c.prototype.isqr=function(){return this.imul(this.clone())},c.prototype.pow=function(j){var $=function(H){for(var ne=new Array(H.bitLength()),te=0;te>>X}return ne}(j);if($.length===0)return new c(1);for(var U=this,G=0;G<$.length&&$[G]===0;G++,U=U.sqr());if(++G<$.length)for(var q=U.sqr();G<$.length;G++,q=q.sqr())$[G]!==0&&(U=U.mul(q));return U},c.prototype.iushln=function(j){s(typeof j=="number"&&j>=0);var $,U=j%26,G=(j-U)/26,q=67108863>>>26-U<<26-U;if(U!==0){var H=0;for($=0;$>>26-U}H&&(this.words[$]=H,this.length++)}if(G!==0){for($=this.length-1;$>=0;$--)this.words[$+G]=this.words[$];for($=0;$=0),G=$?($-$%26)/26:0;var q=j%26,H=Math.min((j-q)/26,this.length),ne=67108863^67108863>>>q<H)for(this.length-=H,Z=0;Z=0&&(X!==0||Z>=G);Z--){var Q=0|this.words[Z];this.words[Z]=X<<26-q|Q>>>q,X=Q&ne}return te&&X!==0&&(te.words[te.length++]=X),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},c.prototype.ishrn=function(j,$,U){return s(this.negative===0),this.iushrn(j,$,U)},c.prototype.shln=function(j){return this.clone().ishln(j)},c.prototype.ushln=function(j){return this.clone().iushln(j)},c.prototype.shrn=function(j){return this.clone().ishrn(j)},c.prototype.ushrn=function(j){return this.clone().iushrn(j)},c.prototype.testn=function(j){s(typeof j=="number"&&j>=0);var $=j%26,U=(j-$)/26,G=1<<$;return!(this.length<=U||!(this.words[U]&G))},c.prototype.imaskn=function(j){s(typeof j=="number"&&j>=0);var $=j%26,U=(j-$)/26;if(s(this.negative===0,"imaskn works only with positive numbers"),this.length<=U)return this;if($!==0&&U++,this.length=Math.min(U,this.length),$!==0){var G=67108863^67108863>>>$<<$;this.words[this.length-1]&=G}return this.strip()},c.prototype.maskn=function(j){return this.clone().imaskn(j)},c.prototype.iaddn=function(j){return s(typeof j=="number"),s(j<67108864),j<0?this.isubn(-j):this.negative!==0?this.length===1&&(0|this.words[0])=67108864;$++)this.words[$]-=67108864,$===this.length-1?this.words[$+1]=1:this.words[$+1]++;return this.length=Math.max(this.length,$+1),this},c.prototype.isubn=function(j){if(s(typeof j=="number"),s(j<67108864),j<0)return this.iaddn(-j);if(this.negative!==0)return this.negative=0,this.iaddn(j),this.negative=1,this;if(this.words[0]-=j,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var $=0;$>26)-(te/67108864|0),this.words[G+U]=67108863&q}for(;G>26,this.words[G+U]=67108863&q;if(ne===0)return this.strip();for(s(ne===-1),ne=0,G=0;G>26,this.words[G]=67108863&q;return this.negative=1,this.strip()},c.prototype._wordDiv=function(j,$){var U=(this.length,j.length),G=this.clone(),q=j,H=0|q.words[q.length-1];(U=26-this._countBits(H))!=0&&(q=q.ushln(U),G.iushln(U),H=0|q.words[q.length-1]);var ne,te=G.length-q.length;if($!=="mod"){(ne=new c(null)).length=te+1,ne.words=new Array(ne.length);for(var Z=0;Z=0;Q--){var re=67108864*(0|G.words[q.length+Q])+(0|G.words[q.length+Q-1]);for(re=Math.min(re/H|0,67108863),G._ishlnsubmul(q,re,Q);G.negative!==0;)re--,G.negative=0,G._ishlnsubmul(q,1,Q),G.isZero()||(G.negative^=1);ne&&(ne.words[Q]=re)}return ne&&ne.strip(),G.strip(),$!=="div"&&U!==0&&G.iushrn(U),{div:ne||null,mod:G}},c.prototype.divmod=function(j,$,U){return s(!j.isZero()),this.isZero()?{div:new c(0),mod:new c(0)}:this.negative!==0&&j.negative===0?(H=this.neg().divmod(j,$),$!=="mod"&&(G=H.div.neg()),$!=="div"&&(q=H.mod.neg(),U&&q.negative!==0&&q.iadd(j)),{div:G,mod:q}):this.negative===0&&j.negative!==0?(H=this.divmod(j.neg(),$),$!=="mod"&&(G=H.div.neg()),{div:G,mod:H.mod}):this.negative&j.negative?(H=this.neg().divmod(j.neg(),$),$!=="div"&&(q=H.mod.neg(),U&&q.negative!==0&&q.isub(j)),{div:H.div,mod:q}):j.length>this.length||this.cmp(j)<0?{div:new c(0),mod:this}:j.length===1?$==="div"?{div:this.divn(j.words[0]),mod:null}:$==="mod"?{div:null,mod:new c(this.modn(j.words[0]))}:{div:this.divn(j.words[0]),mod:new c(this.modn(j.words[0]))}:this._wordDiv(j,$);var G,q,H},c.prototype.div=function(j){return this.divmod(j,"div",!1).div},c.prototype.mod=function(j){return this.divmod(j,"mod",!1).mod},c.prototype.umod=function(j){return this.divmod(j,"mod",!0).mod},c.prototype.divRound=function(j){var $=this.divmod(j);if($.mod.isZero())return $.div;var U=$.div.negative!==0?$.mod.isub(j):$.mod,G=j.ushrn(1),q=j.andln(1),H=U.cmp(G);return H<0||q===1&&H===0?$.div:$.div.negative!==0?$.div.isubn(1):$.div.iaddn(1)},c.prototype.modn=function(j){s(j<=67108863);for(var $=67108864%j,U=0,G=this.length-1;G>=0;G--)U=($*U+(0|this.words[G]))%j;return U},c.prototype.idivn=function(j){s(j<=67108863);for(var $=0,U=this.length-1;U>=0;U--){var G=(0|this.words[U])+67108864*$;this.words[U]=G/j|0,$=G%j}return this.strip()},c.prototype.divn=function(j){return this.clone().idivn(j)},c.prototype.egcd=function(j){s(j.negative===0),s(!j.isZero());var $=this,U=j.clone();$=$.negative!==0?$.umod(j):$.clone();for(var G=new c(1),q=new c(0),H=new c(0),ne=new c(1),te=0;$.isEven()&&U.isEven();)$.iushrn(1),U.iushrn(1),++te;for(var Z=U.clone(),X=$.clone();!$.isZero();){for(var Q=0,re=1;!($.words[0]&re)&&Q<26;++Q,re<<=1);if(Q>0)for($.iushrn(Q);Q-- >0;)(G.isOdd()||q.isOdd())&&(G.iadd(Z),q.isub(X)),G.iushrn(1),q.iushrn(1);for(var ie=0,oe=1;!(U.words[0]&oe)&&ie<26;++ie,oe<<=1);if(ie>0)for(U.iushrn(ie);ie-- >0;)(H.isOdd()||ne.isOdd())&&(H.iadd(Z),ne.isub(X)),H.iushrn(1),ne.iushrn(1);$.cmp(U)>=0?($.isub(U),G.isub(H),q.isub(ne)):(U.isub($),H.isub(G),ne.isub(q))}return{a:H,b:ne,gcd:U.iushln(te)}},c.prototype._invmp=function(j){s(j.negative===0),s(!j.isZero());var $=this,U=j.clone();$=$.negative!==0?$.umod(j):$.clone();for(var G,q=new c(1),H=new c(0),ne=U.clone();$.cmpn(1)>0&&U.cmpn(1)>0;){for(var te=0,Z=1;!($.words[0]&Z)&&te<26;++te,Z<<=1);if(te>0)for($.iushrn(te);te-- >0;)q.isOdd()&&q.iadd(ne),q.iushrn(1);for(var X=0,Q=1;!(U.words[0]&Q)&&X<26;++X,Q<<=1);if(X>0)for(U.iushrn(X);X-- >0;)H.isOdd()&&H.iadd(ne),H.iushrn(1);$.cmp(U)>=0?($.isub(U),q.isub(H)):(U.isub($),H.isub(q))}return(G=$.cmpn(1)===0?q:H).cmpn(0)<0&&G.iadd(j),G},c.prototype.gcd=function(j){if(this.isZero())return j.abs();if(j.isZero())return this.abs();var $=this.clone(),U=j.clone();$.negative=0,U.negative=0;for(var G=0;$.isEven()&&U.isEven();G++)$.iushrn(1),U.iushrn(1);for(;;){for(;$.isEven();)$.iushrn(1);for(;U.isEven();)U.iushrn(1);var q=$.cmp(U);if(q<0){var H=$;$=U,U=H}else if(q===0||U.cmpn(1)===0)break;$.isub(U)}return U.iushln(G)},c.prototype.invm=function(j){return this.egcd(j).a.umod(j)},c.prototype.isEven=function(){return(1&this.words[0])==0},c.prototype.isOdd=function(){return(1&this.words[0])==1},c.prototype.andln=function(j){return this.words[0]&j},c.prototype.bincn=function(j){s(typeof j=="number");var $=j%26,U=(j-$)/26,G=1<<$;if(this.length<=U)return this._expand(U+1),this.words[U]|=G,this;for(var q=G,H=U;q!==0&&H>>26,ne&=67108863,this.words[H]=ne}return q!==0&&(this.words[H]=q,this.length++),this},c.prototype.isZero=function(){return this.length===1&&this.words[0]===0},c.prototype.cmpn=function(j){var $,U=j<0;if(this.negative!==0&&!U)return-1;if(this.negative===0&&U)return 1;if(this.strip(),this.length>1)$=1;else{U&&(j=-j),s(j<=67108863,"Number is too big");var G=0|this.words[0];$=G===j?0:Gj.length)return 1;if(this.length=0;U--){var G=0|this.words[U],q=0|j.words[U];if(G!==q){Gq&&($=1);break}}return $},c.prototype.gtn=function(j){return this.cmpn(j)===1},c.prototype.gt=function(j){return this.cmp(j)===1},c.prototype.gten=function(j){return this.cmpn(j)>=0},c.prototype.gte=function(j){return this.cmp(j)>=0},c.prototype.ltn=function(j){return this.cmpn(j)===-1},c.prototype.lt=function(j){return this.cmp(j)===-1},c.prototype.lten=function(j){return this.cmpn(j)<=0},c.prototype.lte=function(j){return this.cmp(j)<=0},c.prototype.eqn=function(j){return this.cmpn(j)===0},c.prototype.eq=function(j){return this.cmp(j)===0},c.red=function(j){return new N(j)},c.prototype.toRed=function(j){return s(!this.red,"Already a number in reduction context"),s(this.negative===0,"red works only with positives"),j.convertTo(this)._forceRed(j)},c.prototype.fromRed=function(){return s(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},c.prototype._forceRed=function(j){return this.red=j,this},c.prototype.forceRed=function(j){return s(!this.red,"Already a number in reduction context"),this._forceRed(j)},c.prototype.redAdd=function(j){return s(this.red,"redAdd works only with red numbers"),this.red.add(this,j)},c.prototype.redIAdd=function(j){return s(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,j)},c.prototype.redSub=function(j){return s(this.red,"redSub works only with red numbers"),this.red.sub(this,j)},c.prototype.redISub=function(j){return s(this.red,"redISub works only with red numbers"),this.red.isub(this,j)},c.prototype.redShl=function(j){return s(this.red,"redShl works only with red numbers"),this.red.shl(this,j)},c.prototype.redMul=function(j){return s(this.red,"redMul works only with red numbers"),this.red._verify2(this,j),this.red.mul(this,j)},c.prototype.redIMul=function(j){return s(this.red,"redMul works only with red numbers"),this.red._verify2(this,j),this.red.imul(this,j)},c.prototype.redSqr=function(){return s(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},c.prototype.redISqr=function(){return s(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},c.prototype.redSqrt=function(){return s(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},c.prototype.redInvm=function(){return s(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},c.prototype.redNeg=function(){return s(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},c.prototype.redPow=function(j){return s(this.red&&!j.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,j)};var R={k256:null,p224:null,p192:null,p25519:null};function I(j,$){this.name=j,this.p=new c($,16),this.n=this.p.bitLength(),this.k=new c(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function O(){I.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function z(){I.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function F(){I.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function B(){I.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function N(j){if(typeof j=="string"){var $=c._prime(j);this.m=$.p,this.prime=$}else s(j.gtn(1),"modulus must be greater than 1"),this.m=j,this.prime=null}function W(j){N.call(this,j),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new c(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}I.prototype._tmp=function(){var j=new c(null);return j.words=new Array(Math.ceil(this.n/13)),j},I.prototype.ireduce=function(j){var $,U=j;do this.split(U,this.tmp),$=(U=(U=this.imulK(U)).iadd(this.tmp)).bitLength();while($>this.n);var G=$0?U.isub(this.p):U.strip!==void 0?U.strip():U._strip(),U},I.prototype.split=function(j,$){j.iushrn(this.n,0,$)},I.prototype.imulK=function(j){return j.imul(this.k)},h(O,I),O.prototype.split=function(j,$){for(var U=4194303,G=Math.min(j.length,9),q=0;q>>22,H=ne}H>>>=22,j.words[q-10]=H,H===0&&j.length>10?j.length-=10:j.length-=9},O.prototype.imulK=function(j){j.words[j.length]=0,j.words[j.length+1]=0,j.length+=2;for(var $=0,U=0;U>>=26,j.words[U]=q,$=G}return $!==0&&(j.words[j.length++]=$),j},c._prime=function(j){if(R[j])return R[j];var $;if(j==="k256")$=new O;else if(j==="p224")$=new z;else if(j==="p192")$=new F;else{if(j!=="p25519")throw new Error("Unknown prime "+j);$=new B}return R[j]=$,$},N.prototype._verify1=function(j){s(j.negative===0,"red works only with positives"),s(j.red,"red works only with red numbers")},N.prototype._verify2=function(j,$){s((j.negative|$.negative)==0,"red works only with positives"),s(j.red&&j.red===$.red,"red works only with red numbers")},N.prototype.imod=function(j){return this.prime?this.prime.ireduce(j)._forceRed(this):j.umod(this.m)._forceRed(this)},N.prototype.neg=function(j){return j.isZero()?j.clone():this.m.sub(j)._forceRed(this)},N.prototype.add=function(j,$){this._verify2(j,$);var U=j.add($);return U.cmp(this.m)>=0&&U.isub(this.m),U._forceRed(this)},N.prototype.iadd=function(j,$){this._verify2(j,$);var U=j.iadd($);return U.cmp(this.m)>=0&&U.isub(this.m),U},N.prototype.sub=function(j,$){this._verify2(j,$);var U=j.sub($);return U.cmpn(0)<0&&U.iadd(this.m),U._forceRed(this)},N.prototype.isub=function(j,$){this._verify2(j,$);var U=j.isub($);return U.cmpn(0)<0&&U.iadd(this.m),U},N.prototype.shl=function(j,$){return this._verify1(j),this.imod(j.ushln($))},N.prototype.imul=function(j,$){return this._verify2(j,$),this.imod(j.imul($))},N.prototype.mul=function(j,$){return this._verify2(j,$),this.imod(j.mul($))},N.prototype.isqr=function(j){return this.imul(j,j.clone())},N.prototype.sqr=function(j){return this.mul(j,j)},N.prototype.sqrt=function(j){if(j.isZero())return j.clone();var $=this.m.andln(3);if(s($%2==1),$===3){var U=this.m.add(new c(1)).iushrn(2);return this.pow(j,U)}for(var G=this.m.subn(1),q=0;!G.isZero()&&G.andln(1)===0;)q++,G.iushrn(1);s(!G.isZero());var H=new c(1).toRed(this),ne=H.redNeg(),te=this.m.subn(1).iushrn(1),Z=this.m.bitLength();for(Z=new c(2*Z*Z).toRed(this);this.pow(Z,te).cmp(ne)!==0;)Z.redIAdd(ne);for(var X=this.pow(Z,G),Q=this.pow(j,G.addn(1).iushrn(1)),re=this.pow(j,G),ie=q;re.cmp(H)!==0;){for(var oe=re,ue=0;oe.cmp(H)!==0;ue++)oe=oe.redSqr();s(ue=0;G--){for(var Z=$.words[G],X=te-1;X>=0;X--){var Q=Z>>X&1;q!==U[0]&&(q=this.sqr(q)),Q!==0||H!==0?(H<<=1,H|=Q,(++ne==4||G===0&&X===0)&&(q=this.mul(q,U[H]),ne=0,H=0)):ne=0}te=26}return q},N.prototype.convertTo=function(j){var $=j.umod(this.m);return $===j?$.clone():$},N.prototype.convertFrom=function(j){var $=j.clone();return $.red=null,$},c.mont=function(j){return new W(j)},h(W,N),W.prototype.convertTo=function(j){return this.imod(j.ushln(this.shift))},W.prototype.convertFrom=function(j){var $=this.imod(j.mul(this.rinv));return $.red=null,$},W.prototype.imul=function(j,$){if(j.isZero()||$.isZero())return j.words[0]=0,j.length=1,j;var U=j.imul($),G=U.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),q=U.isub(G).iushrn(this.shift),H=q;return q.cmp(this.m)>=0?H=q.isub(this.m):q.cmpn(0)<0&&(H=q.iadd(this.m)),H._forceRed(this)},W.prototype.mul=function(j,$){if(j.isZero()||$.isZero())return new c(0)._forceRed(this);var U=j.mul($),G=U.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),q=U.isub(G).iushrn(this.shift),H=q;return q.cmp(this.m)>=0?H=q.isub(this.m):q.cmpn(0)<0&&(H=q.iadd(this.m)),H._forceRed(this)},W.prototype.invm=function(j){return this.imod(j._invmp(this.m).mul(this.r2))._forceRed(this)}})(f=a.nmd(f),this)},2692:function(f){f.exports=function(l){var a,u,o,s=l.length,h=0;for(a=0;a>>1;if(!(R<=0)){var I,O=o.mallocDouble(2*R*L),z=o.mallocInt32(L);if((L=m(k,R,O,z))>0){if(R===1&&A)s.init(L),I=s.sweepComplete(R,x,0,L,O,z,0,L,O,z);else{var F=o.mallocDouble(2*R*b),B=o.mallocInt32(b);(b=m(E,R,F,B))>0&&(s.init(L+b),I=R===1?s.sweepBipartite(R,x,0,L,O,z,0,b,F,B):h(R,x,A,L,O,z,b,F,B),o.free(F),o.free(B))}o.free(O),o.free(z)}return I}}}function y(k,E){u.push([k,E])}function C(k){return u=[],w(k,k,y,!0),u}function _(k,E){return u=[],w(k,E,y,!1),u}},7333:function(f,l){function a(u){return u?function(o,s,h,c,m,w,y,C,_,k,E){return m-c>_-C?function(x,A,L,b,R,I,O,z,F,B,N){for(var W=2*x,j=b,$=W*b;jk-_?c?function(A,L,b,R,I,O,z,F,B,N,W){for(var j=2*A,$=R,U=j*R;$0;){var te=6*(H-=1),Z=L[te],X=L[te+1],Q=L[te+2],re=L[te+3],ie=L[te+4],oe=L[te+5],ue=2*H,ce=b[ue],ye=b[ue+1],de=1&oe,me=!!(16&oe),pe=W,xe=j,Pe=U,_e=G;if(de&&(pe=U,xe=G,Pe=W,_e=j),!(2&oe&&(Q=k(z,Z,X,Q,pe,xe,ye),X>=Q)||4&oe&&(X=E(z,Z,X,Q,pe,xe,ce))>=Q)){var Me=Q-X,Se=ie-re;if(me){if(z*Me*(Me+Se)<4194304){if((q=m.scanComplete(z,Z,F,X,Q,pe,xe,re,ie,Pe,_e))!==void 0)return q;continue}}else{if(z*Math.min(Me,Se)<128){if((q=h(z,Z,F,de,X,Q,pe,xe,re,ie,Pe,_e))!==void 0)return q;continue}if(z*Me*Se<4194304){if((q=m.scanBipartite(z,Z,F,de,X,Q,pe,xe,re,ie,Pe,_e))!==void 0)return q;continue}}var Ce=C(z,Z,X,Q,pe,xe,ce,ye);if(X=p0)&&!(p1>=hi)"),_=y("lo===p0"),k=y("lo>>1,E=2*s,x=k,A=w[E*k+h];C<_;){if(_-C<8){o(s,h,C,_,w,y),A=w[E*k+h];break}var L=_-C,b=Math.random()*L+C|0,R=w[E*b+h],I=Math.random()*L+C|0,O=w[E*I+h],z=Math.random()*L+C|0,F=w[E*z+h];R<=O?F>=O?(x=I,A=O):R>=F?(x=b,A=R):(x=z,A=F):O>=F?(x=I,A=O):F>=R?(x=b,A=R):(x=z,A=F);for(var B=E*(_-1),N=E*x,W=0;Wc&&w[A+h]>E;--x,A-=C){for(var L=A,b=A+C,R=0;RE;++E,y+=w)if(h[y+k]===m)if(_===E)_+=1,C+=w;else{for(var x=0;w>x;++x){var A=h[y+x];h[y+x]=h[C],h[C++]=A}var L=c[E];c[E]=c[_],c[_++]=L}return _},"loE;++E,y+=w)if(h[y+k]x;++x){var A=h[y+x];h[y+x]=h[C],h[C++]=A}var L=c[E];c[E]=c[_],c[_++]=L}return _},"lo<=p0":function(a,u,o,s,h,c,m){for(var w=2*a,y=w*o,C=y,_=o,k=a+u,E=o;s>E;++E,y+=w)if(h[y+k]<=m)if(_===E)_+=1,C+=w;else{for(var x=0;w>x;++x){var A=h[y+x];h[y+x]=h[C],h[C++]=A}var L=c[E];c[E]=c[_],c[_++]=L}return _},"hi<=p0":function(a,u,o,s,h,c,m){for(var w=2*a,y=w*o,C=y,_=o,k=a+u,E=o;s>E;++E,y+=w)if(h[y+k]<=m)if(_===E)_+=1,C+=w;else{for(var x=0;w>x;++x){var A=h[y+x];h[y+x]=h[C],h[C++]=A}var L=c[E];c[E]=c[_],c[_++]=L}return _},"lox;++x,y+=w){var A=h[y+k],L=h[y+E];if(Ab;++b){var R=h[y+b];h[y+b]=h[C],h[C++]=R}var I=c[x];c[x]=c[_],c[_++]=I}}return _},"lo<=p0&&p0<=hi":function(a,u,o,s,h,c,m){for(var w=2*a,y=w*o,C=y,_=o,k=u,E=a+u,x=o;s>x;++x,y+=w){var A=h[y+k],L=h[y+E];if(A<=m&&m<=L)if(_===x)_+=1,C+=w;else{for(var b=0;w>b;++b){var R=h[y+b];h[y+b]=h[C],h[C++]=R}var I=c[x];c[x]=c[_],c[_++]=I}}return _},"!(lo>=p0)&&!(p1>=hi)":function(a,u,o,s,h,c,m,w){for(var y=2*a,C=y*o,_=C,k=o,E=u,x=a+u,A=o;s>A;++A,C+=y){var L=h[C+E],b=h[C+x];if(!(L>=m||w>=b))if(k===A)k+=1,_+=y;else{for(var R=0;y>R;++R){var I=h[C+R];h[C+R]=h[_],h[_++]=I}var O=c[A];c[A]=c[k],c[k++]=O}}return k}}},309:function(f){function l(w,y,C){for(var _=2*(w+1),k=w+1;k<=y;++k){for(var E=C[_++],x=C[_++],A=k,L=_-2;A-- >w;){var b=C[L-2],R=C[L-1];if(bC[y+1])}function c(w,y,C,_){var k=_[w*=2];return k>1,A=x-_,L=x+_,b=k,R=A,I=x,O=L,z=E,F=w+1,B=y-1,N=0;h(b,R,C)&&(N=b,b=R,R=N),h(O,z,C)&&(N=O,O=z,z=N),h(b,I,C)&&(N=b,b=I,I=N),h(R,I,C)&&(N=R,R=I,I=N),h(b,O,C)&&(N=b,b=O,O=N),h(I,O,C)&&(N=I,I=O,O=N),h(R,z,C)&&(N=R,R=z,z=N),h(R,I,C)&&(N=R,R=I,I=N),h(O,z,C)&&(N=O,O=z,z=N);for(var W=C[2*R],j=C[2*R+1],$=C[2*O],U=C[2*O+1],G=2*b,q=2*I,H=2*z,ne=2*k,te=2*x,Z=2*E,X=0;X<2;++X){var Q=C[G+X],re=C[q+X],ie=C[H+X];C[ne+X]=Q,C[te+X]=re,C[Z+X]=ie}u(A,w,C),u(L,y,C);for(var oe=F;oe<=B;++oe)if(c(oe,W,j,C))oe!==F&&a(oe,F,C),++F;else if(!c(oe,$,U,C))for(;;){if(c(B,$,U,C)){c(B,W,j,C)?(o(oe,F,B,C),++F,--B):(a(oe,B,C),--B);break}if(--B>>1;s(E,Z);var X=0,Q=0;for(q=0;q=h)x(y,C,Q--,re=re-h|0);else if(re>=0)x(m,w,X--,re);else if(re<=-268435456){re=-re-h|0;for(var ie=0;ie>>1;s(E,Z);var X=0,Q=0,re=0;for(q=0;q>1==E[2*q+3]>>1&&(oe=2,q+=1),ie<0){for(var ue=-(ie>>1)-1,ce=0;ce>1)-1,oe===0?x(m,w,X--,ue):oe===1?x(y,C,Q--,ue):oe===2&&x(_,k,re--,ue)}},scanBipartite:function(L,b,R,I,O,z,F,B,N,W,j,$){var U=0,G=2*L,q=b,H=b+L,ne=1,te=1;I?te=h:ne=h;for(var Z=O;Z>>1;s(E,ie);var oe=0;for(Z=0;Z=h?(ce=!I,X-=h):(ce=!!I,X-=1),ce)A(m,w,oe++,X);else{var ye=$[X],de=G*X,me=j[de+b+1],pe=j[de+b+1+L];e:for(var xe=0;xe>>1;s(E,X);var Q=0;for(H=0;H=h)m[Q++]=ne-h;else{var ie=j[ne-=1],oe=U*ne,ue=W[oe+b+1],ce=W[oe+b+1+L];e:for(var ye=0;ye=0;--ye)if(m[ye]===ne){for(xe=ye+1;xe0;){for(var A=c.pop(),L=(k=-1,E=-1,C=w[y=c.pop()],1);L=0||(h.flip(y,A),o(s,h,c,k,y,E),o(s,h,c,y,E,k),o(s,h,c,E,A,k),o(s,h,c,A,k,E))}}},7098:function(f,l,a){var u,o=a(5070);function s(c,m,w,y,C,_,k){this.cells=c,this.neighbor=m,this.flags=y,this.constraint=w,this.active=C,this.next=_,this.boundary=k}function h(c,m){return c[0]-m[0]||c[1]-m[1]||c[2]-m[2]}f.exports=function(c,m,w){var y=function(F,B){for(var N=F.cells(),W=N.length,j=0;j0||k.length>0;){for(;_.length>0;){var b=_.pop();if(E[b]!==-C){E[b]=C,x[b];for(var R=0;R<3;++R){var I=L[3*b+R];I>=0&&E[I]===0&&(A[3*b+R]?k.push(I):(_.push(I),E[I]=C))}}}var O=k;k=_,_=O,k.length=0,C=-C}var z=function(F,B,N){for(var W=0,j=0;j1&&o(x[z[F-2]],x[z[F-1]],A)>0;)k.push([z[F-1],z[F-2],L]),F-=1;z.length=F,z.push(L);var B=O.upperIds;for(F=B.length;F>1&&o(x[B[F-2]],x[B[F-1]],A)<0;)k.push([B[F-2],B[F-1],L]),F-=1;B.length=F,B.push(L)}}function y(k,E){var x;return(x=k.a[0]O[0]&&L.push(new h(O,I,2,b),new h(I,O,1,b))}L.sort(c);for(var z=L[0].a[0]-(1+Math.abs(L[0].a[0]))*Math.pow(2,-52),F=[new s([z,1],[z,0],-1,[],[])],B=[],N=(b=0,L.length);b=0}}(),s.removeTriangle=function(c,m,w){var y=this.stars;h(y[c],m,w),h(y[m],w,c),h(y[w],c,m)},s.addTriangle=function(c,m,w){var y=this.stars;y[c].push(m,w),y[m].push(w,c),y[w].push(c,m)},s.opposite=function(c,m){for(var w=this.stars[m],y=1,C=w.length;yI[2]?1:0)}function L(R,I,O){if(R.length!==0){if(I)for(var z=0;z=0;--H){var ue=$[ne=(_e=G[H])[0]],ce=ue[0],ye=ue[1],de=j[ce],me=j[ye];if((de[0]-me[0]||de[1]-me[1])<0){var pe=ce;ce=ye,ye=pe}ue[0]=ce;var xe,Pe=ue[1]=_e[1];for(q&&(xe=ue[2]);H>0&&G[H-1][0]===ne;){var _e,Me=(_e=G[--H])[1];q?$.push([Pe,Me,xe]):$.push([Pe,Me]),Pe=Me}q?$.push([Pe,ye,xe]):$.push([Pe,ye])}return te}(R,I,F,B,O),W=E(R,N);return L(I,W,O),!!W||F.length>0||B.length>0}},5528:function(f,l,a){f.exports=function(C,_,k,E){var x=c(_,C),A=c(E,k),L=y(x,A);if(h(L)===0)return null;var b=y(A,c(C,k)),R=o(b,L),I=w(x,R);return m(C,I)};var u=a(3962),o=a(9189),s=a(4354),h=a(4951),c=a(6695),m=a(7584),w=a(4469);function y(C,_){return s(u(C[0],_[1]),u(C[1],_[0]))}},5692:function(f){f.exports={jet:[{index:0,rgb:[0,0,131]},{index:.125,rgb:[0,60,170]},{index:.375,rgb:[5,255,255]},{index:.625,rgb:[255,255,0]},{index:.875,rgb:[250,0,0]},{index:1,rgb:[128,0,0]}],hsv:[{index:0,rgb:[255,0,0]},{index:.169,rgb:[253,255,2]},{index:.173,rgb:[247,255,2]},{index:.337,rgb:[0,252,4]},{index:.341,rgb:[0,252,10]},{index:.506,rgb:[1,249,255]},{index:.671,rgb:[2,0,253]},{index:.675,rgb:[8,0,253]},{index:.839,rgb:[255,0,251]},{index:.843,rgb:[255,0,245]},{index:1,rgb:[255,0,6]}],hot:[{index:0,rgb:[0,0,0]},{index:.3,rgb:[230,0,0]},{index:.6,rgb:[255,210,0]},{index:1,rgb:[255,255,255]}],spring:[{index:0,rgb:[255,0,255]},{index:1,rgb:[255,255,0]}],summer:[{index:0,rgb:[0,128,102]},{index:1,rgb:[255,255,102]}],autumn:[{index:0,rgb:[255,0,0]},{index:1,rgb:[255,255,0]}],winter:[{index:0,rgb:[0,0,255]},{index:1,rgb:[0,255,128]}],bone:[{index:0,rgb:[0,0,0]},{index:.376,rgb:[84,84,116]},{index:.753,rgb:[169,200,200]},{index:1,rgb:[255,255,255]}],copper:[{index:0,rgb:[0,0,0]},{index:.804,rgb:[255,160,102]},{index:1,rgb:[255,199,127]}],greys:[{index:0,rgb:[0,0,0]},{index:1,rgb:[255,255,255]}],yignbu:[{index:0,rgb:[8,29,88]},{index:.125,rgb:[37,52,148]},{index:.25,rgb:[34,94,168]},{index:.375,rgb:[29,145,192]},{index:.5,rgb:[65,182,196]},{index:.625,rgb:[127,205,187]},{index:.75,rgb:[199,233,180]},{index:.875,rgb:[237,248,217]},{index:1,rgb:[255,255,217]}],greens:[{index:0,rgb:[0,68,27]},{index:.125,rgb:[0,109,44]},{index:.25,rgb:[35,139,69]},{index:.375,rgb:[65,171,93]},{index:.5,rgb:[116,196,118]},{index:.625,rgb:[161,217,155]},{index:.75,rgb:[199,233,192]},{index:.875,rgb:[229,245,224]},{index:1,rgb:[247,252,245]}],yiorrd:[{index:0,rgb:[128,0,38]},{index:.125,rgb:[189,0,38]},{index:.25,rgb:[227,26,28]},{index:.375,rgb:[252,78,42]},{index:.5,rgb:[253,141,60]},{index:.625,rgb:[254,178,76]},{index:.75,rgb:[254,217,118]},{index:.875,rgb:[255,237,160]},{index:1,rgb:[255,255,204]}],bluered:[{index:0,rgb:[0,0,255]},{index:1,rgb:[255,0,0]}],rdbu:[{index:0,rgb:[5,10,172]},{index:.35,rgb:[106,137,247]},{index:.5,rgb:[190,190,190]},{index:.6,rgb:[220,170,132]},{index:.7,rgb:[230,145,90]},{index:1,rgb:[178,10,28]}],picnic:[{index:0,rgb:[0,0,255]},{index:.1,rgb:[51,153,255]},{index:.2,rgb:[102,204,255]},{index:.3,rgb:[153,204,255]},{index:.4,rgb:[204,204,255]},{index:.5,rgb:[255,255,255]},{index:.6,rgb:[255,204,255]},{index:.7,rgb:[255,153,255]},{index:.8,rgb:[255,102,204]},{index:.9,rgb:[255,102,102]},{index:1,rgb:[255,0,0]}],rainbow:[{index:0,rgb:[150,0,90]},{index:.125,rgb:[0,0,200]},{index:.25,rgb:[0,25,255]},{index:.375,rgb:[0,152,255]},{index:.5,rgb:[44,255,150]},{index:.625,rgb:[151,255,0]},{index:.75,rgb:[255,234,0]},{index:.875,rgb:[255,111,0]},{index:1,rgb:[255,0,0]}],portland:[{index:0,rgb:[12,51,131]},{index:.25,rgb:[10,136,186]},{index:.5,rgb:[242,211,56]},{index:.75,rgb:[242,143,56]},{index:1,rgb:[217,30,30]}],blackbody:[{index:0,rgb:[0,0,0]},{index:.2,rgb:[230,0,0]},{index:.4,rgb:[230,210,0]},{index:.7,rgb:[255,255,255]},{index:1,rgb:[160,200,255]}],earth:[{index:0,rgb:[0,0,130]},{index:.1,rgb:[0,180,180]},{index:.2,rgb:[40,210,40]},{index:.4,rgb:[230,230,50]},{index:.6,rgb:[120,70,20]},{index:1,rgb:[255,255,255]}],electric:[{index:0,rgb:[0,0,0]},{index:.15,rgb:[30,0,100]},{index:.4,rgb:[120,0,100]},{index:.6,rgb:[160,90,0]},{index:.8,rgb:[230,200,0]},{index:1,rgb:[255,250,220]}],alpha:[{index:0,rgb:[255,255,255,0]},{index:1,rgb:[255,255,255,1]}],viridis:[{index:0,rgb:[68,1,84]},{index:.13,rgb:[71,44,122]},{index:.25,rgb:[59,81,139]},{index:.38,rgb:[44,113,142]},{index:.5,rgb:[33,144,141]},{index:.63,rgb:[39,173,129]},{index:.75,rgb:[92,200,99]},{index:.88,rgb:[170,220,50]},{index:1,rgb:[253,231,37]}],inferno:[{index:0,rgb:[0,0,4]},{index:.13,rgb:[31,12,72]},{index:.25,rgb:[85,15,109]},{index:.38,rgb:[136,34,106]},{index:.5,rgb:[186,54,85]},{index:.63,rgb:[227,89,51]},{index:.75,rgb:[249,140,10]},{index:.88,rgb:[249,201,50]},{index:1,rgb:[252,255,164]}],magma:[{index:0,rgb:[0,0,4]},{index:.13,rgb:[28,16,68]},{index:.25,rgb:[79,18,123]},{index:.38,rgb:[129,37,129]},{index:.5,rgb:[181,54,122]},{index:.63,rgb:[229,80,100]},{index:.75,rgb:[251,135,97]},{index:.88,rgb:[254,194,135]},{index:1,rgb:[252,253,191]}],plasma:[{index:0,rgb:[13,8,135]},{index:.13,rgb:[75,3,161]},{index:.25,rgb:[125,3,168]},{index:.38,rgb:[168,34,150]},{index:.5,rgb:[203,70,121]},{index:.63,rgb:[229,107,93]},{index:.75,rgb:[248,148,65]},{index:.88,rgb:[253,195,40]},{index:1,rgb:[240,249,33]}],warm:[{index:0,rgb:[125,0,179]},{index:.13,rgb:[172,0,187]},{index:.25,rgb:[219,0,170]},{index:.38,rgb:[255,0,130]},{index:.5,rgb:[255,63,74]},{index:.63,rgb:[255,123,0]},{index:.75,rgb:[234,176,0]},{index:.88,rgb:[190,228,0]},{index:1,rgb:[147,255,0]}],cool:[{index:0,rgb:[125,0,179]},{index:.13,rgb:[116,0,218]},{index:.25,rgb:[98,74,237]},{index:.38,rgb:[68,146,231]},{index:.5,rgb:[0,204,197]},{index:.63,rgb:[0,247,146]},{index:.75,rgb:[0,255,88]},{index:.88,rgb:[40,255,8]},{index:1,rgb:[147,255,0]}],"rainbow-soft":[{index:0,rgb:[125,0,179]},{index:.1,rgb:[199,0,180]},{index:.2,rgb:[255,0,121]},{index:.3,rgb:[255,108,0]},{index:.4,rgb:[222,194,0]},{index:.5,rgb:[150,255,0]},{index:.6,rgb:[0,255,55]},{index:.7,rgb:[0,246,150]},{index:.8,rgb:[50,167,222]},{index:.9,rgb:[103,51,235]},{index:1,rgb:[124,0,186]}],bathymetry:[{index:0,rgb:[40,26,44]},{index:.13,rgb:[59,49,90]},{index:.25,rgb:[64,76,139]},{index:.38,rgb:[63,110,151]},{index:.5,rgb:[72,142,158]},{index:.63,rgb:[85,174,163]},{index:.75,rgb:[120,206,163]},{index:.88,rgb:[187,230,172]},{index:1,rgb:[253,254,204]}],cdom:[{index:0,rgb:[47,15,62]},{index:.13,rgb:[87,23,86]},{index:.25,rgb:[130,28,99]},{index:.38,rgb:[171,41,96]},{index:.5,rgb:[206,67,86]},{index:.63,rgb:[230,106,84]},{index:.75,rgb:[242,149,103]},{index:.88,rgb:[249,193,135]},{index:1,rgb:[254,237,176]}],chlorophyll:[{index:0,rgb:[18,36,20]},{index:.13,rgb:[25,63,41]},{index:.25,rgb:[24,91,59]},{index:.38,rgb:[13,119,72]},{index:.5,rgb:[18,148,80]},{index:.63,rgb:[80,173,89]},{index:.75,rgb:[132,196,122]},{index:.88,rgb:[175,221,162]},{index:1,rgb:[215,249,208]}],density:[{index:0,rgb:[54,14,36]},{index:.13,rgb:[89,23,80]},{index:.25,rgb:[110,45,132]},{index:.38,rgb:[120,77,178]},{index:.5,rgb:[120,113,213]},{index:.63,rgb:[115,151,228]},{index:.75,rgb:[134,185,227]},{index:.88,rgb:[177,214,227]},{index:1,rgb:[230,241,241]}],"freesurface-blue":[{index:0,rgb:[30,4,110]},{index:.13,rgb:[47,14,176]},{index:.25,rgb:[41,45,236]},{index:.38,rgb:[25,99,212]},{index:.5,rgb:[68,131,200]},{index:.63,rgb:[114,156,197]},{index:.75,rgb:[157,181,203]},{index:.88,rgb:[200,208,216]},{index:1,rgb:[241,237,236]}],"freesurface-red":[{index:0,rgb:[60,9,18]},{index:.13,rgb:[100,17,27]},{index:.25,rgb:[142,20,29]},{index:.38,rgb:[177,43,27]},{index:.5,rgb:[192,87,63]},{index:.63,rgb:[205,125,105]},{index:.75,rgb:[216,162,148]},{index:.88,rgb:[227,199,193]},{index:1,rgb:[241,237,236]}],oxygen:[{index:0,rgb:[64,5,5]},{index:.13,rgb:[106,6,15]},{index:.25,rgb:[144,26,7]},{index:.38,rgb:[168,64,3]},{index:.5,rgb:[188,100,4]},{index:.63,rgb:[206,136,11]},{index:.75,rgb:[220,174,25]},{index:.88,rgb:[231,215,44]},{index:1,rgb:[248,254,105]}],par:[{index:0,rgb:[51,20,24]},{index:.13,rgb:[90,32,35]},{index:.25,rgb:[129,44,34]},{index:.38,rgb:[159,68,25]},{index:.5,rgb:[182,99,19]},{index:.63,rgb:[199,134,22]},{index:.75,rgb:[212,171,35]},{index:.88,rgb:[221,210,54]},{index:1,rgb:[225,253,75]}],phase:[{index:0,rgb:[145,105,18]},{index:.13,rgb:[184,71,38]},{index:.25,rgb:[186,58,115]},{index:.38,rgb:[160,71,185]},{index:.5,rgb:[110,97,218]},{index:.63,rgb:[50,123,164]},{index:.75,rgb:[31,131,110]},{index:.88,rgb:[77,129,34]},{index:1,rgb:[145,105,18]}],salinity:[{index:0,rgb:[42,24,108]},{index:.13,rgb:[33,50,162]},{index:.25,rgb:[15,90,145]},{index:.38,rgb:[40,118,137]},{index:.5,rgb:[59,146,135]},{index:.63,rgb:[79,175,126]},{index:.75,rgb:[120,203,104]},{index:.88,rgb:[193,221,100]},{index:1,rgb:[253,239,154]}],temperature:[{index:0,rgb:[4,35,51]},{index:.13,rgb:[23,51,122]},{index:.25,rgb:[85,59,157]},{index:.38,rgb:[129,79,143]},{index:.5,rgb:[175,95,130]},{index:.63,rgb:[222,112,101]},{index:.75,rgb:[249,146,66]},{index:.88,rgb:[249,196,65]},{index:1,rgb:[232,250,91]}],turbidity:[{index:0,rgb:[34,31,27]},{index:.13,rgb:[65,50,41]},{index:.25,rgb:[98,69,52]},{index:.38,rgb:[131,89,57]},{index:.5,rgb:[161,112,59]},{index:.63,rgb:[185,140,66]},{index:.75,rgb:[202,174,88]},{index:.88,rgb:[216,209,126]},{index:1,rgb:[233,246,171]}],"velocity-blue":[{index:0,rgb:[17,32,64]},{index:.13,rgb:[35,52,116]},{index:.25,rgb:[29,81,156]},{index:.38,rgb:[31,113,162]},{index:.5,rgb:[50,144,169]},{index:.63,rgb:[87,173,176]},{index:.75,rgb:[149,196,189]},{index:.88,rgb:[203,221,211]},{index:1,rgb:[254,251,230]}],"velocity-green":[{index:0,rgb:[23,35,19]},{index:.13,rgb:[24,64,38]},{index:.25,rgb:[11,95,45]},{index:.38,rgb:[39,123,35]},{index:.5,rgb:[95,146,12]},{index:.63,rgb:[152,165,18]},{index:.75,rgb:[201,186,69]},{index:.88,rgb:[233,216,137]},{index:1,rgb:[255,253,205]}],cubehelix:[{index:0,rgb:[0,0,0]},{index:.07,rgb:[22,5,59]},{index:.13,rgb:[60,4,105]},{index:.2,rgb:[109,1,135]},{index:.27,rgb:[161,0,147]},{index:.33,rgb:[210,2,142]},{index:.4,rgb:[251,11,123]},{index:.47,rgb:[255,29,97]},{index:.53,rgb:[255,54,69]},{index:.6,rgb:[255,85,46]},{index:.67,rgb:[255,120,34]},{index:.73,rgb:[255,157,37]},{index:.8,rgb:[241,191,57]},{index:.87,rgb:[224,220,93]},{index:.93,rgb:[218,241,142]},{index:1,rgb:[227,253,198]}]}},9156:function(f,l,a){var u=a(5692),o=a(3578);function s(m){return[m[0]/255,m[1]/255,m[2]/255,m[3]]}function h(m){for(var w,y="#",C=0;C<3;++C)y+=("00"+(w=(w=m[C]).toString(16))).substr(w.length);return y}function c(m){return"rgba("+m.join(",")+")"}f.exports=function(m){var w,y,C,_,k,E,x,A,L,b;if(m||(m={}),A=(m.nshades||72)-1,x=m.format||"hex",(E=m.colormap)||(E="jet"),typeof E=="string"){if(E=E.toLowerCase(),!u[E])throw Error(E+" not a supported colorscale");k=u[E]}else{if(!Array.isArray(E))throw Error("unsupported colormap option",E);k=E.slice()}if(k.length>A+1)throw new Error(E+" map requires nshades to be at least size "+k.length);L=Array.isArray(m.alpha)?m.alpha.length!==2?[1,1]:m.alpha.slice():typeof m.alpha=="number"?[m.alpha,m.alpha]:[1,1],w=k.map(function(F){return Math.round(F.index*A)}),L[0]=Math.min(Math.max(L[0],0),1),L[1]=Math.min(Math.max(L[1],0),1);var R=k.map(function(F,B){var N=k[B].index,W=k[B].rgb.slice();return W.length===4&&W[3]>=0&&W[3]<=1||(W[3]=L[0]+(L[1]-L[0])*N),W}),I=[];for(b=0;b0||m(w,y,_)?-1:1:E===0?x>0||m(w,y,C)?1:-1:o(x-E)}var L=u(w,y,C);return L>0?k>0&&u(w,y,_)>0?1:-1:L<0?k>0||u(w,y,_)>0?1:-1:u(w,y,_)>0||m(w,y,C)?1:-1};var u=a(417),o=a(7538),s=a(87),h=a(2019),c=a(9662);function m(w,y,C){var _=s(w[0],-y[0]),k=s(w[1],-y[1]),E=s(C[0],-y[0]),x=s(C[1],-y[1]),A=c(h(_,E),h(k,x));return A[A.length-1]>=0}},7538:function(f){f.exports=function(l){return l<0?-1:l>0?1:0}},9209:function(f){f.exports=function(u,o){var s=u.length,h=u.length-o.length;if(h)return h;switch(s){case 0:return 0;case 1:return u[0]-o[0];case 2:return u[0]+u[1]-o[0]-o[1]||l(u[0],u[1])-l(o[0],o[1]);case 3:var c=u[0]+u[1],m=o[0]+o[1];if(h=c+u[2]-(m+o[2]))return h;var w=l(u[0],u[1]),y=l(o[0],o[1]);return l(w,u[2])-l(y,o[2])||l(w+u[2],c)-l(y+o[2],m);case 4:var C=u[0],_=u[1],k=u[2],E=u[3],x=o[0],A=o[1],L=o[2],b=o[3];return C+_+k+E-(x+A+L+b)||l(C,_,k,E)-l(x,A,L,b,x)||l(C+_,C+k,C+E,_+k,_+E,k+E)-l(x+A,x+L,x+b,A+L,A+b,L+b)||l(C+_+k,C+_+E,C+k+E,_+k+E)-l(x+A+L,x+A+b,x+L+b,A+L+b);default:for(var R=u.slice().sort(a),I=o.slice().sort(a),O=0;Ol[u][0]&&(u=o);return au?[[u],[a]]:[[a]]}},8722:function(f,l,a){f.exports=function(o){var s=u(o),h=s.length;if(h<=2)return[];for(var c=new Array(h),m=s[h-1],w=0;w=C[b]&&(L+=1);x[A]=L}}return y}(u(m,!0),c)}};var u=a(2183),o=a(2153)},9680:function(f){f.exports=function(l,a,u,o,s,h){var c=s-1,m=s*s,w=c*c,y=(1+2*s)*w,C=s*w,_=m*(3-2*s),k=m*c;if(l.length){h||(h=new Array(l.length));for(var E=l.length-1;E>=0;--E)h[E]=y*l[E]+C*a[E]+_*u[E]+k*o[E];return h}return y*l+C*a+_*u+k*o},f.exports.derivative=function(l,a,u,o,s,h){var c=6*s*s-6*s,m=3*s*s-4*s+1,w=-6*s*s+6*s,y=3*s*s-2*s;if(l.length){h||(h=new Array(l.length));for(var C=l.length-1;C>=0;--C)h[C]=c*l[C]+m*a[C]+w*u[C]+y*o[C];return h}return c*l+m*a+w*u[C]+y*o}},4419:function(f,l,a){var u=a(2183),o=a(1215);function s(c,m){this.point=c,this.index=m}function h(c,m){for(var w=c.point,y=m.point,C=w.length,_=0;_=2)return!1;N[j]=$}return!0}):B.filter(function(N){for(var W=0;W<=y;++W){var j=I[N[W]];if(j<0)return!1;N[W]=j}return!0}),1&y)for(k=0;k>>31},f.exports.exponent=function(s){return(f.exports.hi(s)<<1>>>21)-1023},f.exports.fraction=function(s){var h=f.exports.lo(s),c=f.exports.hi(s),m=1048575&c;return 2146435072&c&&(m+=1048576),[h,m]},f.exports.denormalized=function(s){return!(2146435072&f.exports.hi(s))}},3094:function(f){function l(a,u,o){var s=0|a[o];if(s<=0)return[];var h,c=new Array(s);if(o===a.length-1)for(h=0;h0)return function(o,s){var h,c;for(h=new Array(o),c=0;c=C-1){b=E.length-1;var I=w-y[C-1];for(R=0;R=C-1)for(var L=E.length-1,b=(y[C-1],0);b=0;--C)if(w[--y])return!1;return!0},c.jump=function(w){var y=this.lastT(),C=this.dimension;if(!(w0;--R)_.push(s(A[R-1],L[R-1],arguments[R])),k.push(0)}},c.push=function(w){var y=this.lastT(),C=this.dimension;if(!(w1e-6?1/x:0;this._time.push(w);for(var I=C;I>0;--I){var O=s(L[I-1],b[I-1],arguments[I]);_.push(O),k.push((O-_[E++])*R)}}},c.set=function(w){var y=this.dimension;if(!(w0;--A)C.push(s(E[A-1],x[A-1],arguments[A])),_.push(0)}},c.move=function(w){var y=this.lastT(),C=this.dimension;if(!(w<=y||arguments.length!==C+1)){var _=this._state,k=this._velocity,E=_.length-this.dimension,x=this.bounds,A=x[0],L=x[1],b=w-y,R=b>1e-6?1/b:0;this._time.push(w);for(var I=C;I>0;--I){var O=arguments[I];_.push(s(A[I-1],L[I-1],_[E++]+O)),k.push(O*R)}}},c.idle=function(w){var y=this.lastT();if(!(w=0;--R)_.push(s(A[R],L[R],_[E]+b*k[E])),k.push(0),E+=1}}},7080:function(f){function l(E,x,A,L,b,R){this._color=E,this.key=x,this.value=A,this.left=L,this.right=b,this._count=R}function a(E){return new l(E._color,E.key,E.value,E.left,E.right,E._count)}function u(E,x){return new l(E,x.key,x.value,x.left,x.right,x._count)}function o(E){E._count=1+(E.left?E.left._count:0)+(E.right?E.right._count:0)}function s(E,x){this._compare=E,this.root=x}f.exports=function(E){return new s(E||k,null)};var h=s.prototype;function c(E,x){var A;return x.left&&(A=c(E,x.left))?A:(A=E(x.key,x.value))||(x.right?c(E,x.right):void 0)}function m(E,x,A,L){if(x(E,L.key)<=0){var b;if(L.left&&(b=m(E,x,A,L.left))||(b=A(L.key,L.value)))return b}if(L.right)return m(E,x,A,L.right)}function w(E,x,A,L,b){var R,I=A(E,b.key),O=A(x,b.key);if(I<=0&&(b.left&&(R=w(E,x,A,L,b.left))||O>0&&(R=L(b.key,b.value))))return R;if(O>0&&b.right)return w(E,x,A,L,b.right)}function y(E,x){this.tree=E,this._stack=x}Object.defineProperty(h,"keys",{get:function(){var E=[];return this.forEach(function(x,A){E.push(x)}),E}}),Object.defineProperty(h,"values",{get:function(){var E=[];return this.forEach(function(x,A){E.push(A)}),E}}),Object.defineProperty(h,"length",{get:function(){return this.root?this.root._count:0}}),h.insert=function(E,x){for(var A=this._compare,L=this.root,b=[],R=[];L;){var I=A(E,L.key);b.push(L),R.push(I),L=I<=0?L.left:L.right}b.push(new l(0,E,x,null,null,1));for(var O=b.length-2;O>=0;--O)L=b[O],R[O]<=0?b[O]=new l(L._color,L.key,L.value,b[O+1],L.right,L._count+1):b[O]=new l(L._color,L.key,L.value,L.left,b[O+1],L._count+1);for(O=b.length-1;O>1;--O){var z=b[O-1];if(L=b[O],z._color===1||L._color===1)break;var F=b[O-2];if(F.left===z)if(z.left===L){if(!(B=F.right)||B._color!==0){F._color=0,F.left=z.right,z._color=1,z.right=F,b[O-2]=z,b[O-1]=L,o(F),o(z),O>=3&&((N=b[O-3]).left===F?N.left=z:N.right=z);break}z._color=1,F.right=u(1,B),F._color=0,O-=1}else{if(!(B=F.right)||B._color!==0){z.right=L.left,F._color=0,F.left=L.right,L._color=1,L.left=z,L.right=F,b[O-2]=L,b[O-1]=z,o(F),o(z),o(L),O>=3&&((N=b[O-3]).left===F?N.left=L:N.right=L);break}z._color=1,F.right=u(1,B),F._color=0,O-=1}else if(z.right===L){if(!(B=F.left)||B._color!==0){F._color=0,F.right=z.left,z._color=1,z.left=F,b[O-2]=z,b[O-1]=L,o(F),o(z),O>=3&&((N=b[O-3]).right===F?N.right=z:N.left=z);break}z._color=1,F.left=u(1,B),F._color=0,O-=1}else{var B;if(!(B=F.left)||B._color!==0){var N;z.left=L.right,F._color=0,F.right=L.left,L._color=1,L.right=z,L.left=F,b[O-2]=L,b[O-1]=z,o(F),o(z),o(L),O>=3&&((N=b[O-3]).right===F?N.right=L:N.left=L);break}z._color=1,F.left=u(1,B),F._color=0,O-=1}}return b[0]._color=1,new s(A,b[0])},h.forEach=function(E,x,A){if(this.root)switch(arguments.length){case 1:return c(E,this.root);case 2:return m(x,this._compare,E,this.root);case 3:return this._compare(x,A)>=0?void 0:w(x,A,this._compare,E,this.root)}},Object.defineProperty(h,"begin",{get:function(){for(var E=[],x=this.root;x;)E.push(x),x=x.left;return new y(this,E)}}),Object.defineProperty(h,"end",{get:function(){for(var E=[],x=this.root;x;)E.push(x),x=x.right;return new y(this,E)}}),h.at=function(E){if(E<0)return new y(this,[]);for(var x=this.root,A=[];;){if(A.push(x),x.left){if(E=x.right._count)break;x=x.right}return new y(this,[])},h.ge=function(E){for(var x=this._compare,A=this.root,L=[],b=0;A;){var R=x(E,A.key);L.push(A),R<=0&&(b=L.length),A=R<=0?A.left:A.right}return L.length=b,new y(this,L)},h.gt=function(E){for(var x=this._compare,A=this.root,L=[],b=0;A;){var R=x(E,A.key);L.push(A),R<0&&(b=L.length),A=R<0?A.left:A.right}return L.length=b,new y(this,L)},h.lt=function(E){for(var x=this._compare,A=this.root,L=[],b=0;A;){var R=x(E,A.key);L.push(A),R>0&&(b=L.length),A=R<=0?A.left:A.right}return L.length=b,new y(this,L)},h.le=function(E){for(var x=this._compare,A=this.root,L=[],b=0;A;){var R=x(E,A.key);L.push(A),R>=0&&(b=L.length),A=R<0?A.left:A.right}return L.length=b,new y(this,L)},h.find=function(E){for(var x=this._compare,A=this.root,L=[];A;){var b=x(E,A.key);if(L.push(A),b===0)return new y(this,L);A=b<=0?A.left:A.right}return new y(this,[])},h.remove=function(E){var x=this.find(E);return x?x.remove():this},h.get=function(E){for(var x=this._compare,A=this.root;A;){var L=x(E,A.key);if(L===0)return A.value;A=L<=0?A.left:A.right}};var C=y.prototype;function _(E,x){E.key=x.key,E.value=x.value,E.left=x.left,E.right=x.right,E._color=x._color,E._count=x._count}function k(E,x){return Ex?1:0}Object.defineProperty(C,"valid",{get:function(){return this._stack.length>0}}),Object.defineProperty(C,"node",{get:function(){return this._stack.length>0?this._stack[this._stack.length-1]:null},enumerable:!0}),C.clone=function(){return new y(this.tree,this._stack.slice())},C.remove=function(){var E=this._stack;if(E.length===0)return this.tree;var x=new Array(E.length),A=E[E.length-1];x[x.length-1]=new l(A._color,A.key,A.value,A.left,A.right,A._count);for(var L=E.length-2;L>=0;--L)(A=E[L]).left===E[L+1]?x[L]=new l(A._color,A.key,A.value,x[L+1],A.right,A._count):x[L]=new l(A._color,A.key,A.value,A.left,x[L+1],A._count);if((A=x[x.length-1]).left&&A.right){var b=x.length;for(A=A.left;A.right;)x.push(A),A=A.right;var R=x[b-1];for(x.push(new l(A._color,R.key,R.value,A.left,A.right,A._count)),x[b-1].key=A.key,x[b-1].value=A.value,L=x.length-2;L>=b;--L)A=x[L],x[L]=new l(A._color,A.key,A.value,A.left,x[L+1],A._count);x[b-1].left=x[b]}if((A=x[x.length-1])._color===0){var I=x[x.length-2];for(I.left===A?I.left=null:I.right===A&&(I.right=null),x.pop(),L=0;L=0;--j){if(F=z[j],j===0)return void(F._color=1);if((B=z[j-1]).left===F){if((N=B.right).right&&N.right._color===0)return W=(N=B.right=a(N)).right=a(N.right),B.right=N.left,N.left=B,N.right=W,N._color=B._color,F._color=1,B._color=1,W._color=1,o(B),o(N),j>1&&(($=z[j-2]).left===B?$.left=N:$.right=N),void(z[j-1]=N);if(N.left&&N.left._color===0)return W=(N=B.right=a(N)).left=a(N.left),B.right=W.left,N.left=W.right,W.left=B,W.right=N,W._color=B._color,B._color=1,N._color=1,F._color=1,o(B),o(N),o(W),j>1&&(($=z[j-2]).left===B?$.left=W:$.right=W),void(z[j-1]=W);if(N._color===1){if(B._color===0)return B._color=1,void(B.right=u(0,N));B.right=u(0,N);continue}N=a(N),B.right=N.left,N.left=B,N._color=B._color,B._color=0,o(B),o(N),j>1&&(($=z[j-2]).left===B?$.left=N:$.right=N),z[j-1]=N,z[j]=B,j+11&&(($=z[j-2]).right===B?$.right=N:$.left=N),void(z[j-1]=N);if(N.right&&N.right._color===0)return W=(N=B.left=a(N)).right=a(N.right),B.left=W.right,N.right=W.left,W.right=B,W.left=N,W._color=B._color,B._color=1,N._color=1,F._color=1,o(B),o(N),o(W),j>1&&(($=z[j-2]).right===B?$.right=W:$.left=W),void(z[j-1]=W);if(N._color===1){if(B._color===0)return B._color=1,void(B.left=u(0,N));B.left=u(0,N);continue}var $;N=a(N),B.left=N.right,N.right=B,N._color=B._color,B._color=0,o(B),o(N),j>1&&(($=z[j-2]).right===B?$.right=N:$.left=N),z[j-1]=N,z[j]=B,j+10)return this._stack[this._stack.length-1].key},enumerable:!0}),Object.defineProperty(C,"value",{get:function(){if(this._stack.length>0)return this._stack[this._stack.length-1].value},enumerable:!0}),Object.defineProperty(C,"index",{get:function(){var E=0,x=this._stack;if(x.length===0){var A=this.tree.root;return A?A._count:0}x[x.length-1].left&&(E=x[x.length-1].left._count);for(var L=x.length-2;L>=0;--L)x[L+1]===x[L].right&&(++E,x[L].left&&(E+=x[L].left._count));return E},enumerable:!0}),C.next=function(){var E=this._stack;if(E.length!==0){var x=E[E.length-1];if(x.right)for(x=x.right;x;)E.push(x),x=x.left;else for(E.pop();E.length>0&&E[E.length-1].right===x;)x=E[E.length-1],E.pop()}},Object.defineProperty(C,"hasNext",{get:function(){var E=this._stack;if(E.length===0)return!1;if(E[E.length-1].right)return!0;for(var x=E.length-1;x>0;--x)if(E[x-1].left===E[x])return!0;return!1}}),C.update=function(E){var x=this._stack;if(x.length===0)throw new Error("Can't update empty node!");var A=new Array(x.length),L=x[x.length-1];A[A.length-1]=new l(L._color,L.key,E,L.left,L.right,L._count);for(var b=x.length-2;b>=0;--b)(L=x[b]).left===x[b+1]?A[b]=new l(L._color,L.key,L.value,A[b+1],L.right,L._count):A[b]=new l(L._color,L.key,L.value,L.left,A[b+1],L._count);return new s(this.tree._compare,A[0])},C.prev=function(){var E=this._stack;if(E.length!==0){var x=E[E.length-1];if(x.left)for(x=x.left;x;)E.push(x),x=x.right;else for(E.pop();E.length>0&&E[E.length-1].left===x;)x=E[E.length-1],E.pop()}},Object.defineProperty(C,"hasPrev",{get:function(){var E=this._stack;if(E.length===0)return!1;if(E[E.length-1].left)return!0;for(var x=E.length-1;x>0;--x)if(E[x-1].right===E[x])return!0;return!1}})},7453:function(f,l,a){f.exports=function(I,O){var z=new y(I);return z.update(O),z};var u=a(9557),o=a(1681),s=a(1011),h=a(2864),c=a(8468),m=new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]);function w(I,O){return I[0]=O[0],I[1]=O[1],I[2]=O[2],I}function y(I){this.gl=I,this.pixelRatio=1,this.bounds=[[-10,-10,-10],[10,10,10]],this.ticks=[[],[],[]],this.autoTicks=!0,this.tickSpacing=[1,1,1],this.tickEnable=[!0,!0,!0],this.tickFont=["sans-serif","sans-serif","sans-serif"],this.tickSize=[12,12,12],this.tickAngle=[0,0,0],this.tickAlign=["auto","auto","auto"],this.tickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.tickPad=[10,10,10],this.lastCubeProps={cubeEdges:[0,0,0],axis:[0,0,0]},this.labels=["x","y","z"],this.labelEnable=[!0,!0,!0],this.labelFont="sans-serif",this.labelSize=[20,20,20],this.labelAngle=[0,0,0],this.labelAlign=["auto","auto","auto"],this.labelColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.labelPad=[10,10,10],this.lineEnable=[!0,!0,!0],this.lineMirror=[!1,!1,!1],this.lineWidth=[1,1,1],this.lineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.lineTickEnable=[!0,!0,!0],this.lineTickMirror=[!1,!1,!1],this.lineTickLength=[0,0,0],this.lineTickWidth=[1,1,1],this.lineTickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.gridEnable=[!0,!0,!0],this.gridWidth=[1,1,1],this.gridColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroEnable=[!0,!0,!0],this.zeroLineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroLineWidth=[2,2,2],this.backgroundEnable=[!1,!1,!1],this.backgroundColor=[[.8,.8,.8,.5],[.8,.8,.8,.5],[.8,.8,.8,.5]],this._firstInit=!0,this._text=null,this._lines=null,this._background=s(I)}var C=y.prototype;function _(){this.primalOffset=[0,0,0],this.primalMinor=[0,0,0],this.mirrorOffset=[0,0,0],this.mirrorMinor=[0,0,0]}C.update=function(I){function O(ne,te,Z){if(Z in I){var X,Q=I[Z],re=this[Z];(ne?Array.isArray(Q)&&Array.isArray(Q[0]):Array.isArray(Q))?this[Z]=X=[te(Q[0]),te(Q[1]),te(Q[2])]:this[Z]=X=[te(Q),te(Q),te(Q)];for(var ie=0;ie<3;++ie)if(X[ie]!==re[ie])return!0}return!1}I=I||{};var z,F=O.bind(this,!1,Number),B=O.bind(this,!1,Boolean),N=O.bind(this,!1,String),W=O.bind(this,!0,function(ne){if(Array.isArray(ne)){if(ne.length===3)return[+ne[0],+ne[1],+ne[2],1];if(ne.length===4)return[+ne[0],+ne[1],+ne[2],+ne[3]]}return[0,0,0,1]}),j=!1,$=!1;if("bounds"in I)for(var U=I.bounds,G=0;G<2;++G)for(var q=0;q<3;++q)U[G][q]!==this.bounds[G][q]&&($=!0),this.bounds[G][q]=U[G][q];if("ticks"in I)for(z=I.ticks,j=!0,this.autoTicks=!1,G=0;G<3;++G)this.tickSpacing[G]=0;else F("tickSpacing")&&(this.autoTicks=!0,$=!0);if(this._firstInit&&("ticks"in I||"tickSpacing"in I||(this.autoTicks=!0),$=!0,j=!0,this._firstInit=!1),$&&this.autoTicks&&(z=c.create(this.bounds,this.tickSpacing),j=!0),j){for(G=0;G<3;++G)z[G].sort(function(ne,te){return ne.x-te.x});c.equal(z,this.ticks)?j=!1:this.ticks=z}B("tickEnable"),N("tickFont")&&(j=!0),F("tickSize"),F("tickAngle"),F("tickPad"),W("tickColor");var H=N("labels");N("labelFont")&&(H=!0),B("labelEnable"),F("labelSize"),F("labelPad"),W("labelColor"),B("lineEnable"),B("lineMirror"),F("lineWidth"),W("lineColor"),B("lineTickEnable"),B("lineTickMirror"),F("lineTickLength"),F("lineTickWidth"),W("lineTickColor"),B("gridEnable"),F("gridWidth"),W("gridColor"),B("zeroEnable"),W("zeroLineColor"),F("zeroLineWidth"),B("backgroundEnable"),W("backgroundColor"),this._text?this._text&&(H||j)&&this._text.update(this.bounds,this.labels,this.labelFont,this.ticks,this.tickFont):this._text=u(this.gl,this.bounds,this.labels,this.labelFont,this.ticks,this.tickFont),this._lines&&j&&(this._lines.dispose(),this._lines=null),this._lines||(this._lines=o(this.gl,this.bounds,this.ticks))};var k=[new _,new _,new _];function E(I,O,z,F,B){for(var N=I.primalOffset,W=I.primalMinor,j=I.mirrorOffset,$=I.mirrorMinor,U=F[O],G=0;G<3;++G)if(O!==G){var q=N,H=j,ne=W,te=$;U&1<0?(ne[G]=-1,te[G]=0):(ne[G]=0,te[G]=1)}}var x=[0,0,0],A={model:m,view:m,projection:m,_ortho:!1};C.isOpaque=function(){return!0},C.isTransparent=function(){return!1},C.drawTransparent=function(I){};var L=[0,0,0],b=[0,0,0],R=[0,0,0];C.draw=function(I){I=I||A;for(var O=this.gl,z=I.model||m,F=I.view||m,B=I.projection||m,N=this.bounds,W=I._ortho||!1,j=h(z,F,B,N,W),$=j.cubeEdges,U=j.axis,G=F[12],q=F[13],H=F[14],ne=F[15],te=(W?2:1)*this.pixelRatio*(B[3]*G+B[7]*q+B[11]*H+B[15]*ne)/O.drawingBufferHeight,Z=0;Z<3;++Z)this.lastCubeProps.cubeEdges[Z]=$[Z],this.lastCubeProps.axis[Z]=U[Z];var X=k;for(Z=0;Z<3;++Z)E(k[Z],Z,this.bounds,$,U);O=this.gl;var Q,re,ie,oe=x;for(Z=0;Z<3;++Z)this.backgroundEnable[Z]?oe[Z]=U[Z]:oe[Z]=0;for(this._background.draw(z,F,B,N,oe,this.backgroundColor),this._lines.bind(z,F,B,this),Z=0;Z<3;++Z){var ue=[0,0,0];U[Z]>0?ue[Z]=N[1][Z]:ue[Z]=N[0][Z];for(var ce=0;ce<2;++ce){var ye=(Z+1+ce)%3,de=(Z+1+(1^ce))%3;this.gridEnable[ye]&&this._lines.drawGrid(ye,de,this.bounds,ue,this.gridColor[ye],this.gridWidth[ye]*this.pixelRatio)}for(ce=0;ce<2;++ce)ye=(Z+1+ce)%3,de=(Z+1+(1^ce))%3,this.zeroEnable[de]&&Math.min(N[0][de],N[1][de])<=0&&Math.max(N[0][de],N[1][de])>=0&&this._lines.drawZero(ye,de,this.bounds,ue,this.zeroLineColor[de],this.zeroLineWidth[de]*this.pixelRatio)}for(Z=0;Z<3;++Z){this.lineEnable[Z]&&this._lines.drawAxisLine(Z,this.bounds,X[Z].primalOffset,this.lineColor[Z],this.lineWidth[Z]*this.pixelRatio),this.lineMirror[Z]&&this._lines.drawAxisLine(Z,this.bounds,X[Z].mirrorOffset,this.lineColor[Z],this.lineWidth[Z]*this.pixelRatio);var me=w(L,X[Z].primalMinor),pe=w(b,X[Z].mirrorMinor),xe=this.lineTickLength;for(ce=0;ce<3;++ce){var Pe=te/z[5*ce];me[ce]*=xe[ce]*Pe,pe[ce]*=xe[ce]*Pe}this.lineTickEnable[Z]&&this._lines.drawAxisTicks(Z,X[Z].primalOffset,me,this.lineTickColor[Z],this.lineTickWidth[Z]*this.pixelRatio),this.lineTickMirror[Z]&&this._lines.drawAxisTicks(Z,X[Z].mirrorOffset,pe,this.lineTickColor[Z],this.lineTickWidth[Z]*this.pixelRatio)}function _e(be){(ie=[0,0,0])[be]=1}function Me(be,ke,Le){var Be=(be+1)%3,ze=(be+2)%3,je=ke[Be],ge=ke[ze],we=Le[Be],Ee=Le[ze];je>0&&Ee>0||je>0&&Ee<0||je<0&&Ee>0||je<0&&Ee<0?_e(Be):(ge>0&&we>0||ge>0&&we<0||ge<0&&we>0||ge<0&&we<0)&&_e(ze)}for(this._lines.unbind(),this._text.bind(z,F,B,this.pixelRatio),Z=0;Z<3;++Z){var Se=X[Z].primalMinor,Ce=X[Z].mirrorMinor,ae=w(R,X[Z].primalOffset);for(ce=0;ce<3;++ce)this.lineTickEnable[Z]&&(ae[ce]+=te*Se[ce]*Math.max(this.lineTickLength[ce],0)/z[5*ce]);var fe=[0,0,0];if(fe[Z]=1,this.tickEnable[Z]){for(this.tickAngle[Z]===-3600?(this.tickAngle[Z]=0,this.tickAlign[Z]="auto"):this.tickAlign[Z]=-1,re=1,(Q=[this.tickAlign[Z],.5,re])[0]==="auto"?Q[0]=0:Q[0]=parseInt(""+Q[0]),ie=[0,0,0],Me(Z,Se,Ce),ce=0;ce<3;++ce)ae[ce]+=te*Se[ce]*this.tickPad[ce]/z[5*ce];this._text.drawTicks(Z,this.tickSize[Z],this.tickAngle[Z],ae,this.tickColor[Z],fe,ie,Q)}if(this.labelEnable[Z]){for(re=0,ie=[0,0,0],this.labels[Z].length>4&&(_e(Z),re=1),(Q=[this.labelAlign[Z],.5,re])[0]==="auto"?Q[0]=0:Q[0]=parseInt(""+Q[0]),ce=0;ce<3;++ce)ae[ce]+=te*Se[ce]*this.labelPad[ce]/z[5*ce];ae[Z]+=.5*(N[0][Z]+N[1][Z]),this._text.drawLabel(Z,this.labelSize[Z],this.labelAngle[Z],ae,this.labelColor[Z],[0,0,0],ie,Q)}}this._text.unbind()},C.dispose=function(){this._text.dispose(),this._lines.dispose(),this._background.dispose(),this._lines=null,this._text=null,this._background=null,this.gl=null}},1011:function(f,l,a){f.exports=function(m){for(var w=[],y=[],C=0,_=0;_<3;++_)for(var k=(_+1)%3,E=(_+2)%3,x=[0,0,0],A=[0,0,0],L=-1;L<=1;L+=2){y.push(C,C+2,C+1,C+1,C+2,C+3),x[_]=L,A[_]=L;for(var b=-1;b<=1;b+=2){x[k]=b;for(var R=-1;R<=1;R+=2)x[E]=R,w.push(x[0],x[1],x[2],A[0],A[1],A[2]),C+=1}var I=k;k=E,E=I}var O=u(m,new Float32Array(w)),z=u(m,new Uint16Array(y),m.ELEMENT_ARRAY_BUFFER),F=o(m,[{buffer:O,type:m.FLOAT,size:3,offset:0,stride:24},{buffer:O,type:m.FLOAT,size:3,offset:12,stride:24}],z),B=s(m);return B.attributes.position.location=0,B.attributes.normal.location=1,new h(m,O,F,B)};var u=a(5827),o=a(2944),s=a(1943).bg;function h(m,w,y,C){this.gl=m,this.buffer=w,this.vao=y,this.shader=C}var c=h.prototype;c.draw=function(m,w,y,C,_,k){for(var E=!1,x=0;x<3;++x)E=E||_[x];if(E){var A=this.gl;A.enable(A.POLYGON_OFFSET_FILL),A.polygonOffset(1,2),this.shader.bind(),this.shader.uniforms={model:m,view:w,projection:y,bounds:C,enable:_,colors:k},this.vao.bind(),this.vao.draw(this.gl.TRIANGLES,36),this.vao.unbind(),A.disable(A.POLYGON_OFFSET_FILL)}},c.dispose=function(){this.vao.dispose(),this.buffer.dispose(),this.shader.dispose()}},2864:function(f,l,a){f.exports=function(b,R,I,O,z){o(c,R,b),o(c,I,c);for(var F=0,B=0;B<2;++B){y[2]=O[B][2];for(var N=0;N<2;++N){y[1]=O[N][1];for(var W=0;W<2;++W)y[0]=O[W][0],_(m[F],y,c),F+=1}}var j=-1;for(B=0;B<8;++B){for(var $=m[B][3],U=0;U<3;++U)w[B][U]=m[B][U]/$;z&&(w[B][2]*=-1),$<0&&(j<0||w[B][2]ne&&(j|=1<ne&&(j|=1<w[B][1])&&(ue=B);var ce=-1;for(B=0;B<3;++B)(de=ue^1<w[ye][0]&&(ye=de))}var me=x;me[0]=me[1]=me[2]=0,me[u.log2(ce^ue)]=ue&ce,me[u.log2(ue^ye)]=ue&ye;var pe=7^ye;pe===j||pe===oe?(pe=7^ce,me[u.log2(ye^pe)]=pe&ye):me[u.log2(ce^pe)]=pe&ce;var xe=A,Pe=j;for(G=0;G<3;++G)xe[G]=Pe&1<>>8*k)%256/255}function h(_,k,E){for(var x=new Array(8*k),A=0,L=0;Lie&&(ie=q[te].dim1.canvasX,X=te);Q===0&&u(O,0,0,E.canvasWidth,E.canvasHeight);var oe=function(Me){var Se,Ce,ae,fe=[[],[]];for(ae=0;ae<64;ae++){var be=!Me&&aeoe._length&&(Pe=Pe.slice(0,oe._length));var _e,Me=oe.tickvals;function Se(ke,Le){return{val:ke,text:_e[Le]}}function Ce(ke,Le){return ke.val-Le.val}if(Array.isArray(Me)&&Me.length){_e=oe.ticktext,Array.isArray(_e)&&_e.length?_e.length>Me.length?_e=_e.slice(0,Me.length):Me.length>_e.length&&(Me=Me.slice(0,_e.length)):_e=Me.map(i(oe.tickformat));for(var ae=1;ae=Be||we>=ze)return;var Ee=ke.lineLayer.readPixel(ge,ze-1-we),Ve=Ee[3]!==0,$e=Ve?Ee[2]+256*(Ee[1]+256*Ee[0]):null,Ye={x:ge,y:we,clientX:Le.clientX,clientY:Le.clientY,dataIndex:ke.model.key,curveNumber:$e};$e!==ye&&(Ve?q.hover(Ye):q.unhover&&q.unhover(Ye),ye=$e)}}),ce.style("opacity",function(ke){return ke.pick?0:1}),te.style("background","rgba(255, 255, 255, 0)");var de=te.selectAll("."+y.cn.parcoords).data(ue,c);de.exit().remove(),de.enter().append("g").classed(y.cn.parcoords,!0).style("shape-rendering","crispEdges").style("pointer-events","none"),de.attr("transform",function(ke){return l(ke.model.translateX,ke.model.translateY)});var me=de.selectAll("."+y.cn.parcoordsControlView).data(h,c);me.enter().append("g").classed(y.cn.parcoordsControlView,!0),me.attr("transform",function(ke){return l(ke.model.pad.l,ke.model.pad.t)});var pe=me.selectAll("."+y.cn.yAxis).data(function(ke){return ke.dimensions},c);pe.enter().append("g").classed(y.cn.yAxis,!0),me.each(function(ke){N(pe,ke,X)}),ce.each(function(ke){if(ke.viewModel){!ke.lineLayer||q?ke.lineLayer=_(this,ke):ke.lineLayer.update(ke),(ke.key||ke.key===0)&&(ke.viewModel[ke.key]=ke.lineLayer);var Le=!ke.context||q;ke.lineLayer.render(ke.viewModel.panels,Le)}}),pe.attr("transform",function(ke){return l(ke.xScale(ke.xIndex),0)}),pe.call(d.behavior.drag().origin(function(ke){return ke}).on("drag",function(ke){var Le=ke.parent;oe.linePickActive(!1),ke.x=Math.max(-y.overdrag,Math.min(ke.model.width+y.overdrag,d.event.x)),ke.canvasX=ke.x*ke.model.canvasPixelRatio,pe.sort(function(Be,ze){return Be.x-ze.x}).each(function(Be,ze){Be.xIndex=ze,Be.x=ke===Be?Be.x:Be.xScale(Be.xIndex),Be.canvasX=Be.x*Be.model.canvasPixelRatio}),N(pe,Le,X),pe.filter(function(Be){return Math.abs(ke.xIndex-Be.xIndex)!==0}).attr("transform",function(Be){return l(Be.xScale(Be.xIndex),0)}),d.select(this).attr("transform",l(ke.x,0)),pe.each(function(Be,ze,je){je===ke.parent.key&&(Le.dimensions[ze]=Be)}),Le.contextLayer&&Le.contextLayer.render(Le.panels,!1,!I(Le)),Le.focusLayer.render&&Le.focusLayer.render(Le.panels)}).on("dragend",function(ke){var Le=ke.parent;ke.x=ke.xScale(ke.xIndex),ke.canvasX=ke.x*ke.model.canvasPixelRatio,N(pe,Le,X),d.select(this).attr("transform",function(Be){return l(Be.x,0)}),Le.contextLayer&&Le.contextLayer.render(Le.panels,!1,!I(Le)),Le.focusLayer&&Le.focusLayer.render(Le.panels),Le.pickLayer&&Le.pickLayer.render(Le.panels,!0),oe.linePickActive(!0),q&&q.axesMoved&&q.axesMoved(Le.key,Le.dimensions.map(function(Be){return Be.crossfilterDimensionIndex}))})),pe.exit().remove();var xe=pe.selectAll("."+y.cn.axisOverlays).data(h,c);xe.enter().append("g").classed(y.cn.axisOverlays,!0),xe.selectAll("."+y.cn.axis).remove();var Pe=xe.selectAll("."+y.cn.axis).data(h,c);Pe.enter().append("g").classed(y.cn.axis,!0),Pe.each(function(ke){var Le=ke.model.height/ke.model.tickDistance,Be=ke.domainScale,ze=Be.domain();d.select(this).call(d.svg.axis().orient("left").tickSize(4).outerTickSize(2).ticks(Le,ke.tickFormat).tickValues(ke.ordinal?ze:null).tickFormat(function(je){return w.isOrdinal(ke)?je:W(ke.model.dimensions[ke.visibleIndex],je)}).scale(Be)),u.font(Pe.selectAll("text"),ke.model.tickFont)}),Pe.selectAll(".domain, .tick>line").attr("fill","none").attr("stroke","black").attr("stroke-opacity",.25).attr("stroke-width","1px"),Pe.selectAll("text").style("text-shadow",a.makeTextShadow(Q)).style("cursor","default");var _e=xe.selectAll("."+y.cn.axisHeading).data(h,c);_e.enter().append("g").classed(y.cn.axisHeading,!0);var Me=_e.selectAll("."+y.cn.axisTitle).data(h,c);Me.enter().append("text").classed(y.cn.axisTitle,!0).attr("text-anchor","middle").style("cursor","ew-resize").style("pointer-events",H?"none":"auto"),Me.text(function(ke){return ke.label}).each(function(ke){var Le=d.select(this);u.font(Le,ke.model.labelFont),a.convertToTspans(Le,$)}).attr("transform",function(ke){var Le=B(ke.model.labelAngle,ke.model.labelSide),Be=y.axisTitleOffset;return(Le.dir>0?"":l(0,2*Be+ke.model.height))+f(Le.degrees)+l(-Be*Le.dx,-Be*Le.dy)}).attr("text-anchor",function(ke){var Le=B(ke.model.labelAngle,ke.model.labelSide);return 2*Math.abs(Le.dx)>Math.abs(Le.dy)?Le.dir*Le.dx<0?"start":"end":"middle"});var Se=xe.selectAll("."+y.cn.axisExtent).data(h,c);Se.enter().append("g").classed(y.cn.axisExtent,!0);var Ce=Se.selectAll("."+y.cn.axisExtentTop).data(h,c);Ce.enter().append("g").classed(y.cn.axisExtentTop,!0),Ce.attr("transform",l(0,-y.axisExtentOffset));var ae=Ce.selectAll("."+y.cn.axisExtentTopText).data(h,c);ae.enter().append("text").classed(y.cn.axisExtentTopText,!0).call(F),ae.text(function(ke){return j(ke,!0)}).each(function(ke){u.font(d.select(this),ke.model.rangeFont)});var fe=Se.selectAll("."+y.cn.axisExtentBottom).data(h,c);fe.enter().append("g").classed(y.cn.axisExtentBottom,!0),fe.attr("transform",function(ke){return l(0,ke.model.height+y.axisExtentOffset)});var be=fe.selectAll("."+y.cn.axisExtentBottomText).data(h,c);be.enter().append("text").classed(y.cn.axisExtentBottomText,!0).attr("dy","0.75em").call(F),be.text(function(ke){return j(ke,!1)}).each(function(ke){u.font(d.select(this),ke.model.rangeFont)}),S.ensureAxisBrush(xe,Q,$)}},21341:function(T,p,t){var d=t(17171),g=t(79749),i=t(1602).isVisible,M={};function v(f,l,a){var u=l.indexOf(a),o=f.indexOf(u);return o===-1&&(o+=l.length),o}(T.exports=function(f,l){var a=f._fullLayout;if(g(f,[],M)){var u={},o={},s={},c={},h=a._size;l.forEach(function(m,w){var y=m[0].trace;s[w]=y.index;var S=c[w]=y._fullInput.index;u[w]=f.data[S].dimensions,o[w]=f.data[S].dimensions.slice()}),d(f,l,{width:h.w,height:h.h,margin:{t:h.t,r:h.r,b:h.b,l:h.l}},{filterChanged:function(m,w,y){var S=o[m][w],_=y.map(function(b){return b.slice()}),k="dimensions["+w+"].constraintrange",E=a._tracePreGUI[f._fullData[s[m]]._fullInput.uid];if(E[k]===void 0){var x=S.constraintrange;E[k]=x||null}var A=f._fullData[s[m]].dimensions[w];_.length?(_.length===1&&(_=_[0]),S.constraintrange=_,A.constraintrange=_.slice(),_=[_]):(delete S.constraintrange,delete A.constraintrange,_=null);var L={};L[k]=_,f.emit("plotly_restyle",[L,[c[m]]])},hover:function(m){f.emit("plotly_hover",m)},unhover:function(m){f.emit("plotly_unhover",m)},axesMoved:function(m,w){var y=function(S,_){return function(k,E){return v(S,_,k)-v(S,_,E)}}(w,o[m].filter(i));u[m].sort(y),o[m].filter(function(S){return!i(S)}).sort(function(S){return o[m].indexOf(S)}).forEach(function(S){u[m].splice(u[m].indexOf(S),1),u[m].splice(o[m].indexOf(S),0,S)}),f.emit("plotly_restyle",[{dimensions:[u[m]]},[c[m]]])}})}}).reglPrecompiled=M},34e3:function(T,p,t){var d=t(9012),g=t(27670).Y,i=t(41940),M=t(22399),v=t(5386).fF,f=t(5386).si,l=t(1426).extendFlat,a=i({editType:"plot",arrayOk:!0,colorEditType:"plot"});T.exports={labels:{valType:"data_array",editType:"calc"},label0:{valType:"number",dflt:0,editType:"calc"},dlabel:{valType:"number",dflt:1,editType:"calc"},values:{valType:"data_array",editType:"calc"},marker:{colors:{valType:"data_array",editType:"calc"},line:{color:{valType:"color",dflt:M.defaultLine,arrayOk:!0,editType:"style"},width:{valType:"number",min:0,dflt:0,arrayOk:!0,editType:"style"},editType:"calc"},editType:"calc"},text:{valType:"data_array",editType:"plot"},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"style"},scalegroup:{valType:"string",dflt:"",editType:"calc"},textinfo:{valType:"flaglist",flags:["label","text","value","percent"],extras:["none"],editType:"calc"},hoverinfo:l({},d.hoverinfo,{flags:["label","text","value","percent","name"]}),hovertemplate:v({},{keys:["label","color","value","percent","text"]}),texttemplate:f({editType:"plot"},{keys:["label","color","value","percent","text"]}),textposition:{valType:"enumerated",values:["inside","outside","auto","none"],dflt:"auto",arrayOk:!0,editType:"plot"},textfont:l({},a,{}),insidetextorientation:{valType:"enumerated",values:["horizontal","radial","tangential","auto"],dflt:"auto",editType:"plot"},insidetextfont:l({},a,{}),outsidetextfont:l({},a,{}),automargin:{valType:"boolean",dflt:!1,editType:"plot"},title:{text:{valType:"string",dflt:"",editType:"plot"},font:l({},a,{}),position:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],editType:"plot"},editType:"plot"},domain:g({name:"pie",trace:!0,editType:"calc"}),hole:{valType:"number",min:0,max:1,dflt:0,editType:"calc"},sort:{valType:"boolean",dflt:!0,editType:"calc"},direction:{valType:"enumerated",values:["clockwise","counterclockwise"],dflt:"counterclockwise",editType:"calc"},rotation:{valType:"angle",dflt:0,editType:"calc"},pull:{valType:"number",min:0,max:1,dflt:0,arrayOk:!0,editType:"calc"},_deprecated:{title:{valType:"string",dflt:"",editType:"calc"},titlefont:l({},a,{}),titleposition:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],editType:"calc"}}}},13584:function(T,p,t){var d=t(74875);p.name="pie",p.plot=function(g,i,M,v){d.plotBasePlot(p.name,g,i,M,v)},p.clean=function(g,i,M,v){d.cleanBasePlot(p.name,g,i,M,v)}},32354:function(T,p,t){var d=t(92770),g=t(84267),i=t(7901),M={};function v(l){return function(a,u){return!!a&&!!(a=g(a)).isValid()&&(a=i.addOpacity(a,a.getAlpha()),l[u]||(l[u]=a),a)}}function f(l,a){var u,o=JSON.stringify(l),s=a[o];if(!s){for(s=l.slice(),u=0;u=0}),(a.type==="funnelarea"?A:a.sort)&&s.sort(function(O,z){return z.v-O.v}),s[0]&&(s[0].vTotal=x),s},crossTraceCalc:function(l,a){var u=(a||{}).type;u||(u="pie");var o=l._fullLayout,s=l.calcdata,c=o[u+"colorway"],h=o["_"+u+"colormap"];o["extend"+u+"colors"]&&(c=f(c,M));for(var m=0,w=0;w0){c=!0;break}}c||(s=0)}return{hasLabels:u,hasValues:o,len:s}}T.exports={handleLabelsAndValues:f,supplyDefaults:function(l,a,u,o){function s(E,x){return g.coerce(l,a,i,E,x)}var c=f(s("labels"),s("values")),h=c.len;if(a._hasLabels=c.hasLabels,a._hasValues=c.hasValues,!a._hasLabels&&a._hasValues&&(s("label0"),s("dlabel")),h){a._length=h,s("marker.line.width")&&s("marker.line.color"),s("marker.colors"),s("scalegroup");var m,w=s("text"),y=s("texttemplate");if(y||(m=s("textinfo",Array.isArray(w)?"text+percent":"percent")),s("hovertext"),s("hovertemplate"),y||m&&m!=="none"){var S=s("textposition");v(l,a,o,s,S,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),(Array.isArray(S)||S==="auto"||S==="outside")&&s("automargin"),(S==="inside"||S==="auto"||Array.isArray(S))&&s("insidetextorientation")}M(a,o,s);var _=s("hole");if(s("title.text")){var k=s("title.position",_?"middle center":"top center");_||k!=="middle center"||(a.title.position="top center"),g.coerceFont(s,"title.font",o.font)}s("sort"),s("direction"),s("rotation"),s("pull")}else a.visible=!1}}},20007:function(T,p,t){var d=t(23469).appendArrayMultiPointValues;T.exports=function(g,i){var M={curveNumber:i.index,pointNumbers:g.pts,data:i._input,fullData:i,label:g.label,color:g.color,value:g.v,percent:g.percent,text:g.text,bbox:g.bbox,v:g.v};return g.pts.length===1&&(M.pointNumber=M.i=g.pts[0]),d(M,i,g.pts),i.type==="funnelarea"&&(delete M.v,delete M.i),M}},53581:function(T,p,t){var d=t(71828);function g(i){return i.indexOf("e")!==-1?i.replace(/[.]?0+e/,"e"):i.indexOf(".")!==-1?i.replace(/[.]?0+$/,""):i}p.formatPiePercent=function(i,M){var v=g((100*i).toPrecision(3));return d.numSeparate(v,M)+"%"},p.formatPieValue=function(i,M){var v=g(i.toPrecision(10));return d.numSeparate(v,M)},p.getFirstFilled=function(i,M){if(Array.isArray(i))for(var v=0;v"),name:ie.hovertemplate||oe.indexOf("name")!==-1?ie.name:void 0,idealAlign:Q.pxmid[0]<0?"left":"right",color:m.castOption(xe.bgcolor,Q.pts)||Q.color,borderColor:m.castOption(xe.bordercolor,Q.pts),fontFamily:m.castOption(Pe.family,Q.pts),fontSize:m.castOption(Pe.size,Q.pts),fontColor:m.castOption(Pe.color,Q.pts),nameLength:m.castOption(xe.namelength,Q.pts),textAlign:m.castOption(xe.align,Q.pts),hovertemplate:m.castOption(ie.hovertemplate,Q.pts),hovertemplateLabels:Q,eventData:[w(Q,ie)]},{container:re._hoverlayer.node(),outerContainer:re._paper.node(),gd:G,inOut_bbox:_e}),Q.bbox=_e[0],Z._hasHoverLabel=!0}Z._hasHoverEvent=!0,G.emit("plotly_hover",{points:[w(Q,ie)],event:d.event})}}),U.on("mouseout",function(Q){var re=G._fullLayout,ie=G._fullData[Z.index],oe=d.select(this).datum();Z._hasHoverEvent&&(Q.originalEvent=d.event,G.emit("plotly_unhover",{points:[w(oe,ie)],event:d.event}),Z._hasHoverEvent=!1),Z._hasHoverLabel&&(i.loneUnhover(re._hoverlayer.node()),Z._hasHoverLabel=!1)}),U.on("click",function(Q){var re=G._fullLayout,ie=G._fullData[Z.index];G._dragging||re.hovermode===!1||(G._hoverdata=[w(Q,ie)],i.click(G,d.event))})}function _(U,G,q){var H=m.castOption(U.insidetextfont.color,G.pts);!H&&U._input.textfont&&(H=m.castOption(U._input.textfont.color,G.pts));var ne=m.castOption(U.insidetextfont.family,G.pts)||m.castOption(U.textfont.family,G.pts)||q.family,te=m.castOption(U.insidetextfont.size,G.pts)||m.castOption(U.textfont.size,G.pts)||q.size;return{color:H||M.contrast(G.color),family:ne,size:te}}function k(U,G){for(var q,H,ne=0;neBe&&Be>je||ze=-4;me-=2)pe(Math.PI*me,"tan");for(me=4;me>=-4;me-=2)pe(Math.PI*(me+1),"tan")}if(oe||ce){for(me=4;me>=-4;me-=2)pe(Math.PI*(me+1.5),"rad");for(me=4;me>=-4;me-=2)pe(Math.PI*(me+.5),"rad")}}if(X||ye||oe){var xe=Math.sqrt(U.width*U.width+U.height*U.height);if((te={scale:ne*H*2/xe,rCenter:1-ne,rotate:0}).textPosAngle=(G.startangle+G.stopangle)/2,te.scale>=1)return te;de.push(te)}(ye||ce)&&((te=x(U,H,Z,Q,re)).textPosAngle=(G.startangle+G.stopangle)/2,de.push(te)),(ye||ue)&&((te=A(U,H,Z,Q,re)).textPosAngle=(G.startangle+G.stopangle)/2,de.push(te));for(var Pe=0,_e=0,Me=0;Me=1)break}return de[Pe]}function x(U,G,q,H,ne){G=Math.max(0,G-2*h);var te=U.width/U.height,Z=R(te,H,G,q);return{scale:2*Z/U.height,rCenter:L(te,Z/G),rotate:b(ne)}}function A(U,G,q,H,ne){G=Math.max(0,G-2*h);var te=U.height/U.width,Z=R(te,H,G,q);return{scale:2*Z/U.width,rCenter:L(te,Z/G),rotate:b(ne+Math.PI/2)}}function L(U,G){return Math.cos(G)-U*G}function b(U){return(180/Math.PI*U+720)%180-90}function R(U,G,q,H){var ne=U+1/(2*Math.tan(G));return q*Math.min(1/(Math.sqrt(ne*ne+.5)+ne),H/(Math.sqrt(U*U+H/2)+U))}function I(U,G){return U.v!==G.vTotal||G.trace.hole?Math.min(1/(1+1/Math.sin(U.halfangle)),U.ring/2):1}function O(U,G){var q=G.pxmid[0],H=G.pxmid[1],ne=U.width/2,te=U.height/2;return q<0&&(ne*=-1),H<0&&(te*=-1),{scale:1,rCenter:1,rotate:0,x:ne+Math.abs(te)*(ne>0?1:-1)/2,y:te/(1+q*q/(H*H)),outside:!0}}function z(U,G){var q,H,ne,te=U.trace,Z={x:U.cx,y:U.cy},X={tx:0,ty:0};X.ty+=te.title.font.size,ne=B(te),te.title.position.indexOf("top")!==-1?(Z.y-=(1+ne)*U.r,X.ty-=U.titleBox.height):te.title.position.indexOf("bottom")!==-1&&(Z.y+=(1+ne)*U.r);var Q,re=U.r/((Q=U.trace.aspectratio)===void 0?1:Q),ie=G.w*(te.domain.x[1]-te.domain.x[0])/2;return te.title.position.indexOf("left")!==-1?(ie+=re,Z.x-=(1+ne)*re,X.tx+=U.titleBox.width/2):te.title.position.indexOf("center")!==-1?ie*=2:te.title.position.indexOf("right")!==-1&&(ie+=re,Z.x+=(1+ne)*re,X.tx-=U.titleBox.width/2),q=ie/U.titleBox.width,H=F(U,G)/U.titleBox.height,{x:Z.x,y:Z.y,scale:Math.min(q,H),tx:X.tx,ty:X.ty}}function F(U,G){var q=U.trace,H=G.h*(q.domain.y[1]-q.domain.y[0]);return Math.min(U.titleBox.height,H/2)}function B(U){var G,q=U.pull;if(!q)return 0;if(Array.isArray(q))for(q=0,G=0;Gq&&(q=U.pull[G]);return q}function N(U,G){for(var q=[],H=0;H1?Me=(_e=ce.r)/de.aspectratio:_e=(Me=ce.r)*de.aspectratio,Pe=(_e*=(1+de.baseratio)/2)*Me}pe=Math.min(pe,Pe/ce.vTotal)}for(ye=0;ye")}if(te){var me=f.castOption(ne,G.i,"texttemplate");if(me){var pe=function(Pe){return{label:Pe.label,value:Pe.v,valueLabel:m.formatPieValue(Pe.v,H.separators),percent:Pe.v/q.vTotal,percentLabel:m.formatPiePercent(Pe.v/q.vTotal,H.separators),color:Pe.color,text:Pe.text,customdata:f.castOption(ne,Pe.i,"customdata")}}(G),xe=m.getFirstFilled(ne.text,G.pts);(y(xe)||xe==="")&&(pe.text=xe),G.text=f.texttemplateString(me,pe,U._fullLayout._d3locale,pe,ne._meta||{})}else G.text=""}}function $(U,G){var q=U.rotate*Math.PI/180,H=Math.cos(q),ne=Math.sin(q),te=(G.left+G.right)/2,Z=(G.top+G.bottom)/2;U.textX=te*H-Z*ne,U.textY=te*ne+Z*H,U.noCenter=!0}T.exports={plot:function(U,G){var q=U._context.staticPlot,H=U._fullLayout,ne=H._size;c("pie",H),k(G,U),N(G,ne);var te=f.makeTraceGroups(H._pielayer,G,"trace").each(function(Z){var X=d.select(this),Q=Z[0],re=Q.trace;(function(ie){var oe,ue,ce,ye=ie[0],de=ye.r,me=ye.trace,pe=m.getRotationAngle(me.rotation),xe=2*Math.PI/ye.vTotal,Pe="px0",_e="px1";if(me.direction==="counterclockwise"){for(oe=0;oeye.vTotal/2?1:0,ue.halfangle=Math.PI*Math.min(ue.v/ye.vTotal,.5),ue.ring=1-me.hole,ue.rInscribed=I(ue,ye))})(Z),X.attr("stroke-linejoin","round"),X.each(function(){var ie=d.select(this).selectAll("g.slice").data(Z);ie.enter().append("g").classed("slice",!0),ie.exit().remove();var oe=[[[],[]],[[],[]]],ue=!1;ie.each(function(_e,Me){if(_e.hidden)d.select(this).selectAll("path,g").remove();else{_e.pointNumber=_e.i,_e.curveNumber=re.index,oe[_e.pxmid[1]<0?0:1][_e.pxmid[0]<0?0:1].push(_e);var Se=Q.cx,Ce=Q.cy,ae=d.select(this),fe=ae.selectAll("path.surface").data([_e]);if(fe.enter().append("path").classed("surface",!0).style({"pointer-events":q?"none":"all"}),ae.call(S,U,Z),re.pull){var be=+m.castOption(re.pull,_e.pts)||0;be>0&&(Se+=be*_e.pxmid[0],Ce+=be*_e.pxmid[1])}_e.cxFinal=Se,_e.cyFinal=Ce;var ke=re.hole;if(_e.v===Q.vTotal){var Le="M"+(Se+_e.px0[0])+","+(Ce+_e.px0[1])+we(_e.px0,_e.pxmid,!0,1)+we(_e.pxmid,_e.px0,!0,1)+"Z";ke?fe.attr("d","M"+(Se+ke*_e.px0[0])+","+(Ce+ke*_e.px0[1])+we(_e.px0,_e.pxmid,!1,ke)+we(_e.pxmid,_e.px0,!1,ke)+"Z"+Le):fe.attr("d",Le)}else{var Be=we(_e.px0,_e.px1,!0,1);if(ke){var ze=1-ke;fe.attr("d","M"+(Se+ke*_e.px1[0])+","+(Ce+ke*_e.px1[1])+we(_e.px1,_e.px0,!1,ke)+"l"+ze*_e.px0[0]+","+ze*_e.px0[1]+Be+"Z")}else fe.attr("d","M"+Se+","+Ce+"l"+_e.px0[0]+","+_e.px0[1]+Be+"Z")}j(U,_e,Q);var je=m.castOption(re.textposition,_e.pts),ge=ae.selectAll("g.slicetext").data(_e.text&&je!=="none"?[0]:[]);ge.enter().append("g").classed("slicetext",!0),ge.exit().remove(),ge.each(function(){var Ee=f.ensureSingle(d.select(this),"text","",function(Et){Et.attr("data-notex",1)}),Ve=f.ensureUniformFontSize(U,je==="outside"?function(Et,kt,xt){return{color:m.castOption(Et.outsidetextfont.color,kt.pts)||m.castOption(Et.textfont.color,kt.pts)||xt.color,family:m.castOption(Et.outsidetextfont.family,kt.pts)||m.castOption(Et.textfont.family,kt.pts)||xt.family,size:m.castOption(Et.outsidetextfont.size,kt.pts)||m.castOption(Et.textfont.size,kt.pts)||xt.size}}(re,_e,H.font):_(re,_e,H.font));Ee.text(_e.text).attr({class:"slicetext",transform:"","text-anchor":"middle"}).call(v.font,Ve).call(u.convertToTspans,U);var $e,Ye=v.bBox(Ee.node());if(je==="outside")$e=O(Ye,_e);else if($e=E(Ye,_e,Q),je==="auto"&&$e.scale<1){var st=f.ensureUniformFontSize(U,re.outsidetextfont);Ee.call(v.font,st),$e=O(Ye=v.bBox(Ee.node()),_e)}var ot=$e.textPosAngle,ht=ot===void 0?_e.pxmid:W(Q.r,ot);if($e.targetX=Se+ht[0]*$e.rCenter+($e.x||0),$e.targetY=Ce+ht[1]*$e.rCenter+($e.y||0),$($e,Ye),$e.outside){var bt=$e.targetY;_e.yLabelMin=bt-Ye.height/2,_e.yLabelMid=bt,_e.yLabelMax=bt+Ye.height/2,_e.labelExtraX=0,_e.labelExtraY=0,ue=!0}$e.fontSize=Ve.size,s(re.type,$e,H),Z[Me].transform=$e,f.setTransormAndDisplay(Ee,$e)})}function we(Ee,Ve,$e,Ye){var st=Ye*(Ve[0]-Ee[0]),ot=Ye*(Ve[1]-Ee[1]);return"a"+Ye*Q.r+","+Ye*Q.r+" 0 "+_e.largeArc+($e?" 1 ":" 0 ")+st+","+ot}});var ce=d.select(this).selectAll("g.titletext").data(re.title.text?[0]:[]);if(ce.enter().append("g").classed("titletext",!0),ce.exit().remove(),ce.each(function(){var _e,Me=f.ensureSingle(d.select(this),"text","",function(Ce){Ce.attr("data-notex",1)}),Se=re.title.text;re._meta&&(Se=f.templateString(Se,re._meta)),Me.text(Se).attr({class:"titletext",transform:"","text-anchor":"middle"}).call(v.font,re.title.font).call(u.convertToTspans,U),_e=re.title.position==="middle center"?function(Ce){var ae=Math.sqrt(Ce.titleBox.width*Ce.titleBox.width+Ce.titleBox.height*Ce.titleBox.height);return{x:Ce.cx,y:Ce.cy,scale:Ce.trace.hole*Ce.r*2/ae,tx:0,ty:-Ce.titleBox.height/2+Ce.trace.title.font.size}}(Q):z(Q,ne),Me.attr("transform",a(_e.x,_e.y)+l(Math.min(1,_e.scale))+a(_e.tx,_e.ty))}),ue&&function(_e,Me){var Se,Ce,ae,fe,be,ke,Le,Be,ze,je,ge,we,Ee;function Ve(ot,ht){return ot.pxmid[1]-ht.pxmid[1]}function $e(ot,ht){return ht.pxmid[1]-ot.pxmid[1]}function Ye(ot,ht){ht||(ht={});var bt,Et,kt,xt,Ft=ht.labelExtraY+(Ce?ht.yLabelMax:ht.yLabelMin),Ot=Ce?ot.yLabelMin:ot.yLabelMax,Bt=Ce?ot.yLabelMax:ot.yLabelMin,qt=ot.cyFinal+be(ot.px0[1],ot.px1[1]),Vt=Ft-Ot;if(Vt*Le>0&&(ot.labelExtraY=Vt),Array.isArray(Me.pull))for(Et=0;Et=(m.castOption(Me.pull,kt.pts)||0)||((ot.pxmid[1]-kt.pxmid[1])*Le>0?(Vt=kt.cyFinal+be(kt.px0[1],kt.px1[1])-Ot-ot.labelExtraY)*Le>0&&(ot.labelExtraY+=Vt):(Bt+ot.labelExtraY-qt)*Le>0&&(bt=3*ke*Math.abs(Et-je.indexOf(ot)),(xt=kt.cxFinal+fe(kt.px0[0],kt.px1[0])+bt-(ot.cxFinal+ot.pxmid[0])-ot.labelExtraX)*ke>0&&(ot.labelExtraX+=xt)))}for(Ce=0;Ce<2;Ce++)for(ae=Ce?Ve:$e,be=Ce?Math.max:Math.min,Le=Ce?1:-1,Se=0;Se<2;Se++){for(fe=Se?Math.max:Math.min,ke=Se?1:-1,(Be=_e[Ce][Se]).sort(ae),ze=_e[1-Ce][Se],je=ze.concat(Be),we=[],ge=0;geMath.abs(Be)?be+="l"+Be*Se.pxmid[0]/Se.pxmid[1]+","+Be+"H"+(fe+Se.labelExtraX+ke):be+="l"+Se.labelExtraX+","+Le+"v"+(Be-Le)+"h"+ke}else be+="V"+(Se.yLabelMid+Se.labelExtraY)+"h"+ke;f.ensureSingle(Ce,"path","textline").call(M.stroke,Me.outsidetextfont.color).attr({"stroke-width":Math.min(2,Me.outsidetextfont.size/8),d:be,fill:"none"})}else Ce.select("path.textline").remove()})}(ie,re),ue&&re.automargin){var ye=v.bBox(X.node()),de=re.domain,me=ne.w*(de.x[1]-de.x[0]),pe=ne.h*(de.y[1]-de.y[0]),xe=(.5*me-Q.r)/ne.w,Pe=(.5*pe-Q.r)/ne.h;g.autoMargin(U,"pie."+re.uid+".automargin",{xl:de.x[0]-xe,xr:de.x[1]+xe,yb:de.y[0]-Pe,yt:de.y[1]+Pe,l:Math.max(Q.cx-Q.r-ye.left,0),r:Math.max(ye.right-(Q.cx+Q.r),0),b:Math.max(ye.bottom-(Q.cy+Q.r),0),t:Math.max(Q.cy-Q.r-ye.top,0),pad:5})}})});setTimeout(function(){te.selectAll("tspan").each(function(){var Z=d.select(this);Z.attr("dy")&&Z.attr("dy",Z.attr("dy"))})},0)},formatSliceLabel:j,transformInsideText:E,determineInsideTextFont:_,positionTitleOutside:z,prerenderTitles:k,layoutAreas:N,attachFxHandlers:S,computeTransform:$}},68357:function(T,p,t){var d=t(39898),g=t(63463),i=t(72597).resizeText;T.exports=function(M){var v=M._fullLayout._pielayer.selectAll(".trace");i(M,v,"pie"),v.each(function(f){var l=f[0].trace,a=d.select(this);a.style({opacity:l.opacity}),a.selectAll("path.surface").each(function(u){d.select(this).call(g,u,l)})})}},63463:function(T,p,t){var d=t(7901),g=t(53581).castOption;T.exports=function(i,M,v){var f=v.marker.line,l=g(f.color,M.pts)||d.defaultLine,a=g(f.width,M.pts)||0;i.style("stroke-width",a).call(d.fill,M.color).call(d.stroke,l)}},10959:function(T,p,t){var d=t(82196);T.exports={x:d.x,y:d.y,xy:{valType:"data_array",editType:"calc"},indices:{valType:"data_array",editType:"calc"},xbounds:{valType:"data_array",editType:"calc"},ybounds:{valType:"data_array",editType:"calc"},text:d.text,marker:{color:{valType:"color",arrayOk:!1,editType:"calc"},opacity:{valType:"number",min:0,max:1,dflt:1,arrayOk:!1,editType:"calc"},blend:{valType:"boolean",dflt:null,editType:"calc"},sizemin:{valType:"number",min:.1,max:2,dflt:.5,editType:"calc"},sizemax:{valType:"number",min:.1,dflt:20,editType:"calc"},border:{color:{valType:"color",arrayOk:!1,editType:"calc"},arearatio:{valType:"number",min:0,max:1,dflt:0,editType:"calc"},editType:"calc"},editType:"calc"},transforms:void 0}},42743:function(T,p,t){var d=t(9330).gl_pointcloud2d,g=t(78614),i=t(71739).findExtremes,M=t(34603);function v(l,a){this.scene=l,this.uid=a,this.type="pointcloud",this.pickXData=[],this.pickYData=[],this.xData=[],this.yData=[],this.textLabels=[],this.color="rgb(0, 0, 0)",this.name="",this.hoverinfo="all",this.idToIndex=new Int32Array(0),this.bounds=[0,0,0,0],this.pointcloudOptions={positions:new Float32Array(0),idToIndex:this.idToIndex,sizemin:.5,sizemax:12,color:[0,0,0,1],areaRatio:1,borderColor:[0,0,0,1]},this.pointcloud=d(l.glplot,this.pointcloudOptions),this.pointcloud._trace=this}var f=v.prototype;f.handlePick=function(l){var a=this.idToIndex[l.pointId];return{trace:this,dataCoord:l.dataCoord,traceCoord:this.pickXYData?[this.pickXYData[2*a],this.pickXYData[2*a+1]]:[this.pickXData[a],this.pickYData[a]],textLabel:Array.isArray(this.textLabels)?this.textLabels[a]:this.textLabels,color:this.color,name:this.name,pointIndex:a,hoverinfo:this.hoverinfo}},f.update=function(l){this.index=l.index,this.textLabels=l.text,this.name=l.name,this.hoverinfo=l.hoverinfo,this.bounds=[1/0,1/0,-1/0,-1/0],this.updateFast(l),this.color=M(l,{})},f.updateFast=function(l){var a,u,o,s,c,h,m=this.xData=this.pickXData=l.x,w=this.yData=this.pickYData=l.y,y=this.pickXYData=l.xy,S=l.xbounds&&l.ybounds,_=l.indices,k=this.bounds;if(y){if(o=y,a=y.length>>>1,S)k[0]=l.xbounds[0],k[2]=l.xbounds[1],k[1]=l.ybounds[0],k[3]=l.ybounds[1];else for(h=0;hk[2]&&(k[2]=s),ck[3]&&(k[3]=c);if(_)u=_;else for(u=new Int32Array(a),h=0;hk[2]&&(k[2]=s),ck[3]&&(k[3]=c);this.idToIndex=u,this.pointcloudOptions.idToIndex=u,this.pointcloudOptions.positions=o;var E=g(l.marker.color),x=g(l.marker.border.color),A=l.opacity*l.marker.opacity;E[3]*=A,this.pointcloudOptions.color=E;var L=l.marker.blend;L===null&&(L=m.length<100||w.length<100),this.pointcloudOptions.blend=L,x[3]*=A,this.pointcloudOptions.borderColor=x;var b=l.marker.sizemin,R=Math.max(l.marker.sizemax,l.marker.sizemin);this.pointcloudOptions.sizeMin=b,this.pointcloudOptions.sizeMax=R,this.pointcloudOptions.areaRatio=l.marker.border.arearatio,this.pointcloud.update(this.pointcloudOptions);var I=this.scene.xaxis,O=this.scene.yaxis,z=R/2||.5;l._extremes[I._id]=i(I,[k[0],k[2]],{ppad:z}),l._extremes[O._id]=i(O,[k[1],k[3]],{ppad:z})},f.dispose=function(){this.pointcloud.dispose()},T.exports=function(l,a){var u=new v(l,a.uid);return u.update(a),u}},33876:function(T,p,t){var d=t(71828),g=t(10959);T.exports=function(i,M,v){function f(l,a){return d.coerce(i,M,g,l,a)}f("x"),f("y"),f("xbounds"),f("ybounds"),i.xy&&i.xy instanceof Float32Array&&(M.xy=i.xy),i.indices&&i.indices instanceof Int32Array&&(M.indices=i.indices),f("text"),f("marker.color",v),f("marker.opacity"),f("marker.blend"),f("marker.sizemin"),f("marker.sizemax"),f("marker.border.color",v),f("marker.border.arearatio"),M._length=null}},20593:function(T,p,t){T.exports={attributes:t(10959),supplyDefaults:t(33876),calc:t(36563),plot:t(42743),moduleType:"trace",name:"pointcloud",basePlotModule:t(4796),categories:["gl","gl2d","showLegend"],meta:{}}},39953:function(T,p,t){var d=t(41940),g=t(9012),i=t(22399),M=t(77914),v=t(27670).Y,f=t(5386).fF,l=t(50693),a=t(44467).templatedArray,u=t(12663).descriptionOnlyNumbers,o=t(1426).extendFlat,s=t(30962).overrideAll;(T.exports=s({hoverinfo:o({},g.hoverinfo,{flags:[],arrayOk:!1}),hoverlabel:M.hoverlabel,domain:v({name:"sankey",trace:!0}),orientation:{valType:"enumerated",values:["v","h"],dflt:"h"},valueformat:{valType:"string",dflt:".3s",description:u("value")},valuesuffix:{valType:"string",dflt:""},arrangement:{valType:"enumerated",values:["snap","perpendicular","freeform","fixed"],dflt:"snap"},textfont:d({}),customdata:void 0,node:{label:{valType:"data_array",dflt:[]},groups:{valType:"info_array",impliedEdits:{x:[],y:[]},dimensions:2,freeLength:!0,dflt:[],items:{valType:"number",editType:"calc"}},x:{valType:"data_array",dflt:[]},y:{valType:"data_array",dflt:[]},color:{valType:"color",arrayOk:!0},customdata:{valType:"data_array",editType:"calc"},line:{color:{valType:"color",dflt:i.defaultLine,arrayOk:!0},width:{valType:"number",min:0,dflt:.5,arrayOk:!0}},pad:{valType:"number",arrayOk:!1,min:0,dflt:20},thickness:{valType:"number",arrayOk:!1,min:1,dflt:20},hoverinfo:{valType:"enumerated",values:["all","none","skip"],dflt:"all"},hoverlabel:M.hoverlabel,hovertemplate:f({},{keys:["value","label"]})},link:{arrowlen:{valType:"number",min:0,dflt:0},label:{valType:"data_array",dflt:[]},color:{valType:"color",arrayOk:!0},customdata:{valType:"data_array",editType:"calc"},line:{color:{valType:"color",dflt:i.defaultLine,arrayOk:!0},width:{valType:"number",min:0,dflt:0,arrayOk:!0}},source:{valType:"data_array",dflt:[]},target:{valType:"data_array",dflt:[]},value:{valType:"data_array",dflt:[]},hoverinfo:{valType:"enumerated",values:["all","none","skip"],dflt:"all"},hoverlabel:M.hoverlabel,hovertemplate:f({},{keys:["value","label"]}),colorscales:a("concentrationscales",{editType:"calc",label:{valType:"string",editType:"calc",dflt:""},cmax:{valType:"number",editType:"calc",dflt:1},cmin:{valType:"number",editType:"calc",dflt:0},colorscale:o(l().colorscale,{dflt:[[0,"white"],[1,"black"]]})})}},"calc","nested")).transforms=void 0},75536:function(T,p,t){var d=t(30962).overrideAll,g=t(27659).a0,i=t(60436),M=t(528),v=t(6964),f=t(28569),l=t(47322).prepSelect,a=t(71828),u=t(73972),o="sankey";function s(c,h){var m=c._fullData[h],w=c._fullLayout,y=w.dragmode,S=w.dragmode==="pan"?"move":"crosshair",_=m._bgRect;if(_&&y!=="pan"&&y!=="zoom"){v(_,S);var k={_id:"x",c2p:a.identity,_offset:m._sankey.translateX,_length:m._sankey.width},E={_id:"y",c2p:a.identity,_offset:m._sankey.translateY,_length:m._sankey.height},x={gd:c,element:_.node(),plotinfo:{id:h,xaxis:k,yaxis:E,fillRangeItems:a.noop},subplot:h,xaxes:[k],yaxes:[E],doneFnCompleted:function(A){var L,b=c._fullData[h],R=b.node.groups.slice(),I=[];function O(N){for(var W=b._sankey.graph.nodes,j=0;jL&&(L=h.source[s]),h.target[s]>L&&(L=h.target[s]);var b,R=L+1;o.node._count=R;var I=o.node.groups,O={};for(s=0;s0&&v(j,R)&&v($,R)&&(!O.hasOwnProperty(j)||!O.hasOwnProperty($)||O[j]!==O[$])){O.hasOwnProperty($)&&($=O[$]),O.hasOwnProperty(j)&&(j=O[j]),$=+$,S[j=+j]=S[$]=!0;var U="";h.label&&h.label[s]&&(U=h.label[s]);var G=null;U&&_.hasOwnProperty(U)&&(G=_[U]),m.push({pointNumber:s,label:U,color:w?h.color[s]:h.color,customdata:y?h.customdata[s]:h.customdata,concentrationscale:G,source:j,target:$,value:+W}),N.source.push(j),N.target.push($)}}var q=R+I.length,H=M(c.color),ne=M(c.customdata),te=[];for(s=0;sR-1,childrenNodes:[],pointNumber:s,label:Z,color:H?c.color[s]:c.color,customdata:ne?c.customdata[s]:c.customdata})}var X=!1;return function(Q,re,ie){for(var oe=g.init2dArray(Q,0),ue=0;ue1})}(q,N.source,N.target)&&(X=!0),{circular:X,links:m,nodes:te,groups:I,groupLookup:O}}(a);return i({circular:u.circular,_nodes:u.nodes,_links:u.links,_groups:u.groups,_groupLookup:u.groupLookup})}},85247:function(T){T.exports={nodeTextOffsetHorizontal:4,nodeTextOffsetVertical:3,nodePadAcross:10,sankeyIterations:50,forceIterations:5,forceTicksPerFrame:10,duration:500,ease:"linear",cn:{sankey:"sankey",sankeyLinks:"sankey-links",sankeyLink:"sankey-link",sankeyNodeSet:"sankey-node-set",sankeyNode:"sankey-node",nodeRect:"node-rect",nodeLabel:"node-label"}}},26857:function(T,p,t){var d=t(71828),g=t(39953),i=t(7901),M=t(84267),v=t(27670).c,f=t(38048),l=t(44467),a=t(85501);function u(o,s){function c(h,m){return d.coerce(o,s,g.link.colorscales,h,m)}c("label"),c("cmin"),c("cmax"),c("colorscale")}T.exports=function(o,s,c,h){function m(R,I){return d.coerce(o,s,g,R,I)}var w=d.extendDeep(h.hoverlabel,o.hoverlabel),y=o.node,S=l.newContainer(s,"node");function _(R,I){return d.coerce(y,S,g.node,R,I)}_("label"),_("groups"),_("x"),_("y"),_("pad"),_("thickness"),_("line.color"),_("line.width"),_("hoverinfo",o.hoverinfo),f(y,S,_,w),_("hovertemplate");var k=h.colorway;_("color",S.label.map(function(R,I){return i.addOpacity(function(O){return k[O%k.length]}(I),.8)})),_("customdata");var E=o.link||{},x=l.newContainer(s,"link");function A(R,I){return d.coerce(E,x,g.link,R,I)}A("label"),A("arrowlen"),A("source"),A("target"),A("value"),A("line.color"),A("line.width"),A("hoverinfo",o.hoverinfo),f(E,x,A,w),A("hovertemplate");var L,b=M(h.paper_bgcolor).getLuminance()<.333?"rgba(255, 255, 255, 0.6)":"rgba(0, 0, 0, 0.2)";A("color",d.repeat(b,x.value.length)),A("customdata"),a(E,x,{name:"colorscales",handleItemDefaults:u}),v(s,h,m),m("orientation"),m("valueformat"),m("valuesuffix"),S.x.length&&S.y.length&&(L="freeform"),m("arrangement",L),d.coerceFont(m,"textfont",d.extendFlat({},h.font)),s._length=null}},29396:function(T,p,t){T.exports={attributes:t(39953),supplyDefaults:t(26857),calc:t(92930),plot:t(60436),moduleType:"trace",name:"sankey",basePlotModule:t(75536),selectPoints:t(84564),categories:["noOpacity"],meta:{}}},60436:function(T,p,t){var d=t(39898),g=t(71828),i=g.numberFormat,M=t(3393),v=t(30211),f=t(7901),l=t(85247).cn,a=g._;function u(E){return E!==""}function o(E,x){return E.filter(function(A){return A.key===x.traceId})}function s(E,x){d.select(E).select("path").style("fill-opacity",x),d.select(E).select("rect").style("fill-opacity",x)}function c(E){d.select(E).select("text.name").style("fill","black")}function h(E){return function(x){return E.node.sourceLinks.indexOf(x.link)!==-1||E.node.targetLinks.indexOf(x.link)!==-1}}function m(E){return function(x){return x.node.sourceLinks.indexOf(E.link)!==-1||x.node.targetLinks.indexOf(E.link)!==-1}}function w(E,x,A){x&&A&&o(A,x).selectAll("."+l.sankeyLink).filter(h(x)).call(S.bind(0,x,A,!1))}function y(E,x,A){x&&A&&o(A,x).selectAll("."+l.sankeyLink).filter(h(x)).call(_.bind(0,x,A,!1))}function S(E,x,A,L){var b=L.datum().link.label;L.style("fill-opacity",function(R){if(!R.link.concentrationscale)return .4}),b&&o(x,E).selectAll("."+l.sankeyLink).filter(function(R){return R.link.label===b}).style("fill-opacity",function(R){if(!R.link.concentrationscale)return .4}),A&&o(x,E).selectAll("."+l.sankeyNode).filter(m(E)).call(w)}function _(E,x,A,L){var b=L.datum().link.label;L.style("fill-opacity",function(R){return R.tinyColorAlpha}),b&&o(x,E).selectAll("."+l.sankeyLink).filter(function(R){return R.link.label===b}).style("fill-opacity",function(R){return R.tinyColorAlpha}),A&&o(x,E).selectAll(l.sankeyNode).filter(m(E)).call(y)}function k(E,x){var A=E.hoverlabel||{},L=g.nestedProperty(A,x).get();return!Array.isArray(L)&&L}T.exports=function(E,x){for(var A=E._fullLayout,L=A._paper,b=A._size,R=0;R"),color:k($,"bgcolor")||f.addOpacity(H.color,1),borderColor:k($,"bordercolor"),fontFamily:k($,"font.family"),fontSize:k($,"font.size"),fontColor:k($,"font.color"),nameLength:k($,"namelength"),textAlign:k($,"align"),idealAlign:d.event.x"),color:k($,"bgcolor")||j.tinyColorHue,borderColor:k($,"bordercolor"),fontFamily:k($,"font.family"),fontSize:k($,"font.size"),fontColor:k($,"font.color"),nameLength:k($,"namelength"),textAlign:k($,"align"),idealAlign:"left",hovertemplate:$.hovertemplate,hovertemplateLabels:Z,eventData:[j.node]},{container:A._hoverlayer.node(),outerContainer:A._paper.node(),gd:E});s(re,.85),c(re)}}},unhover:function(W,j,$){E._fullLayout.hovermode!==!1&&(d.select(W).call(y,j,$),j.node.trace.node.hoverinfo!=="skip"&&(j.node.fullData=j.node.trace,E.emit("plotly_unhover",{event:d.event,points:[j.node]})),v.loneUnhover(A._hoverlayer.node()))},select:function(W,j,$){var U=j.node;U.originalEvent=d.event,E._hoverdata=[U],d.select(W).call(y,j,$),v.click(E,{target:!0})}}})}},3393:function(T,p,t){var d=t(49887),g=t(81684).k4,i=t(39898),M=t(30838),v=t(86781),f=t(85247),l=t(84267),a=t(7901),u=t(91424),o=t(71828),s=o.strTranslate,c=o.strRotate,h=t(28984),m=h.keyFun,w=h.repeat,y=h.unwrap,S=t(63893),_=t(73972),k=t(18783),E=k.CAP_SHIFT,x=k.LINE_SPACING;function A(q,H,ne){var te,Z=y(H),X=Z.trace,Q=X.domain,re=X.orientation==="h",ie=X.node.pad,oe=X.node.thickness,ue=q.width*(Q.x[1]-Q.x[0]),ce=q.height*(Q.y[1]-Q.y[0]),ye=Z._nodes,de=Z._links,me=Z.circular;(te=me?v.sankeyCircular().circularLinkGap(0):M.sankey()).iterations(f.sankeyIterations).size(re?[ue,ce]:[ce,ue]).nodeWidth(oe).nodePadding(ie).nodeId(function(ke){return ke.pointNumber}).nodes(ye).links(de);var pe,xe,Pe,_e=te();for(var Me in te.nodePadding()we+oe&&(ge+=1,Le=Ee.x0),we=Ee.x0,je[ge]||(je[ge]=[]),je[ge].push(Ee),Be=Le-Ee.x0,Ee.x0+=Be,Ee.x1+=Be}return je}(ye=_e.nodes).forEach(function(ke){var Le,Be,ze,je=0,ge=ke.length;for(ke.sort(function(we,Ee){return we.y0-Ee.y0}),ze=0;ze=je||(Be=je-Le.y0)>1e-6&&(Le.y0+=Be,Le.y1+=Be),je=Le.y1+ie}),te.update(_e)}return{circular:me,key:ne,trace:X,guid:o.randstr(),horizontal:re,width:ue,height:ce,nodePad:X.node.pad,nodeLineColor:X.node.line.color,nodeLineWidth:X.node.line.width,linkLineColor:X.link.line.color,linkLineWidth:X.link.line.width,linkArrowLength:X.link.arrowlen,valueFormat:X.valueformat,valueSuffix:X.valuesuffix,textFont:X.textfont,translateX:Q.x[0]*q.width+q.margin.l,translateY:q.height-Q.y[1]*q.height+q.margin.t,dragParallel:re?ce:ue,dragPerpendicular:re?ue:ce,arrangement:X.arrangement,sankey:te,graph:_e,forceLayouts:{},interactionState:{dragInProgress:!1,hovered:!1}}}function L(q,H,ne){var te=l(H.color),Z=H.source.label+"|"+H.target.label+"__"+ne;return H.trace=q.trace,H.curveNumber=q.trace.index,{circular:q.circular,key:Z,traceId:q.key,pointNumber:H.pointNumber,link:H,tinyColorHue:a.tinyRGB(te),tinyColorAlpha:te.getAlpha(),linkPath:b,linkLineColor:q.linkLineColor,linkLineWidth:q.linkLineWidth,linkArrowLength:q.linkArrowLength,valueFormat:q.valueFormat,valueSuffix:q.valueSuffix,sankey:q.sankey,parent:q,interactionState:q.interactionState,flow:H.flow}}function b(){return function(q){var H=q.linkArrowLength;if(q.link.circular)return function(xe,Pe){var _e=xe.width/2,Me=xe.circularPathData;return xe.circularLinkType==="top"?"M "+(Me.targetX-Pe)+" "+(Me.targetY+_e)+" L"+(Me.rightInnerExtent-Pe)+" "+(Me.targetY+_e)+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightSmallArcRadius+_e)+" 0 0 1 "+(Me.rightFullExtent-_e-Pe)+" "+(Me.targetY-Me.rightSmallArcRadius)+"L"+(Me.rightFullExtent-_e-Pe)+" "+Me.verticalRightInnerExtent+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightLargeArcRadius+_e)+" 0 0 1 "+(Me.rightInnerExtent-Pe)+" "+(Me.verticalFullExtent-_e)+"L"+Me.leftInnerExtent+" "+(Me.verticalFullExtent-_e)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftLargeArcRadius+_e)+" 0 0 1 "+(Me.leftFullExtent+_e)+" "+Me.verticalLeftInnerExtent+"L"+(Me.leftFullExtent+_e)+" "+(Me.sourceY-Me.leftSmallArcRadius)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftSmallArcRadius+_e)+" 0 0 1 "+Me.leftInnerExtent+" "+(Me.sourceY+_e)+"L"+Me.sourceX+" "+(Me.sourceY+_e)+"L"+Me.sourceX+" "+(Me.sourceY-_e)+"L"+Me.leftInnerExtent+" "+(Me.sourceY-_e)+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftSmallArcRadius-_e)+" 0 0 0 "+(Me.leftFullExtent-_e)+" "+(Me.sourceY-Me.leftSmallArcRadius)+"L"+(Me.leftFullExtent-_e)+" "+Me.verticalLeftInnerExtent+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftLargeArcRadius-_e)+" 0 0 0 "+Me.leftInnerExtent+" "+(Me.verticalFullExtent+_e)+"L"+(Me.rightInnerExtent-Pe)+" "+(Me.verticalFullExtent+_e)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightLargeArcRadius-_e)+" 0 0 0 "+(Me.rightFullExtent+_e-Pe)+" "+Me.verticalRightInnerExtent+"L"+(Me.rightFullExtent+_e-Pe)+" "+(Me.targetY-Me.rightSmallArcRadius)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightSmallArcRadius-_e)+" 0 0 0 "+(Me.rightInnerExtent-Pe)+" "+(Me.targetY-_e)+"L"+(Me.targetX-Pe)+" "+(Me.targetY-_e)+(Pe>0?"L"+Me.targetX+" "+Me.targetY:"")+"Z":"M "+(Me.targetX-Pe)+" "+(Me.targetY-_e)+" L"+(Me.rightInnerExtent-Pe)+" "+(Me.targetY-_e)+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightSmallArcRadius+_e)+" 0 0 0 "+(Me.rightFullExtent-_e-Pe)+" "+(Me.targetY+Me.rightSmallArcRadius)+"L"+(Me.rightFullExtent-_e-Pe)+" "+Me.verticalRightInnerExtent+"A"+(Me.rightLargeArcRadius+_e)+" "+(Me.rightLargeArcRadius+_e)+" 0 0 0 "+(Me.rightInnerExtent-Pe)+" "+(Me.verticalFullExtent+_e)+"L"+Me.leftInnerExtent+" "+(Me.verticalFullExtent+_e)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftLargeArcRadius+_e)+" 0 0 0 "+(Me.leftFullExtent+_e)+" "+Me.verticalLeftInnerExtent+"L"+(Me.leftFullExtent+_e)+" "+(Me.sourceY+Me.leftSmallArcRadius)+"A"+(Me.leftLargeArcRadius+_e)+" "+(Me.leftSmallArcRadius+_e)+" 0 0 0 "+Me.leftInnerExtent+" "+(Me.sourceY-_e)+"L"+Me.sourceX+" "+(Me.sourceY-_e)+"L"+Me.sourceX+" "+(Me.sourceY+_e)+"L"+Me.leftInnerExtent+" "+(Me.sourceY+_e)+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftSmallArcRadius-_e)+" 0 0 1 "+(Me.leftFullExtent-_e)+" "+(Me.sourceY+Me.leftSmallArcRadius)+"L"+(Me.leftFullExtent-_e)+" "+Me.verticalLeftInnerExtent+"A"+(Me.leftLargeArcRadius-_e)+" "+(Me.leftLargeArcRadius-_e)+" 0 0 1 "+Me.leftInnerExtent+" "+(Me.verticalFullExtent-_e)+"L"+(Me.rightInnerExtent-Pe)+" "+(Me.verticalFullExtent-_e)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightLargeArcRadius-_e)+" 0 0 1 "+(Me.rightFullExtent+_e-Pe)+" "+Me.verticalRightInnerExtent+"L"+(Me.rightFullExtent+_e-Pe)+" "+(Me.targetY+Me.rightSmallArcRadius)+"A"+(Me.rightLargeArcRadius-_e)+" "+(Me.rightSmallArcRadius-_e)+" 0 0 1 "+(Me.rightInnerExtent-Pe)+" "+(Me.targetY+_e)+"L"+(Me.targetX-Pe)+" "+(Me.targetY+_e)+(Pe>0?"L"+Me.targetX+" "+Me.targetY:"")+"Z"}(q.link,H);var ne=Math.abs((q.link.target.x0-q.link.source.x1)/2);H>ne&&(H=ne);var te=q.link.source.x1,Z=q.link.target.x0-H,X=g(te,Z),Q=X(.5),re=X(.5),ie=q.link.y0-q.link.width/2,oe=q.link.y0+q.link.width/2,ue=q.link.y1-q.link.width/2,ce=q.link.y1+q.link.width/2,ye="M"+te+","+ie,de="C"+Q+","+ie+" "+re+","+ue+" "+Z+","+ue,me="C"+re+","+ce+" "+Q+","+oe+" "+te+","+oe,pe=H>0?"L"+(Z+H)+","+(ue+q.link.width/2):"";return ye+de+(pe+="L"+Z+","+ce)+me+"Z"}}function R(q,H){var ne=l(H.color),te=f.nodePadAcross,Z=q.nodePad/2;H.dx=H.x1-H.x0,H.dy=H.y1-H.y0;var X=H.dx,Q=Math.max(.5,H.dy),re="node_"+H.pointNumber;return H.group&&(re=o.randstr()),H.trace=q.trace,H.curveNumber=q.trace.index,{index:H.pointNumber,key:re,partOfGroup:H.partOfGroup||!1,group:H.group,traceId:q.key,trace:q.trace,node:H,nodePad:q.nodePad,nodeLineColor:q.nodeLineColor,nodeLineWidth:q.nodeLineWidth,textFont:q.textFont,size:q.horizontal?q.height:q.width,visibleWidth:Math.ceil(X),visibleHeight:Q,zoneX:-te,zoneY:-Z,zoneWidth:X+2*te,zoneHeight:Q+2*Z,labelY:q.horizontal?H.dy/2+1:H.dx/2+1,left:H.originalLayer===1,sizeAcross:q.width,forceLayouts:q.forceLayouts,horizontal:q.horizontal,darkBackground:ne.getBrightness()<=128,tinyColorHue:a.tinyRGB(ne),tinyColorAlpha:ne.getAlpha(),valueFormat:q.valueFormat,valueSuffix:q.valueSuffix,sankey:q.sankey,graph:q.graph,arrangement:q.arrangement,uniqueNodeLabelPathId:[q.guid,q.key,re].join("_"),interactionState:q.interactionState,figure:q}}function I(q){q.attr("transform",function(H){return s(H.node.x0.toFixed(3),H.node.y0.toFixed(3))})}function O(q){q.call(I)}function z(q,H){q.call(O),H.attr("d",b())}function F(q){q.attr("width",function(H){return H.node.x1-H.node.x0}).attr("height",function(H){return H.visibleHeight})}function B(q){return q.link.width>1||q.linkLineWidth>0}function N(q){return s(q.translateX,q.translateY)+(q.horizontal?"matrix(1 0 0 1 0 0)":"matrix(0 1 1 0 0 0)")}function W(q,H,ne){q.on(".basic",null).on("mouseover.basic",function(te){te.interactionState.dragInProgress||te.partOfGroup||(ne.hover(this,te,H),te.interactionState.hovered=[this,te])}).on("mousemove.basic",function(te){te.interactionState.dragInProgress||te.partOfGroup||(ne.follow(this,te),te.interactionState.hovered=[this,te])}).on("mouseout.basic",function(te){te.interactionState.dragInProgress||te.partOfGroup||(ne.unhover(this,te,H),te.interactionState.hovered=!1)}).on("click.basic",function(te){te.interactionState.hovered&&(ne.unhover(this,te,H),te.interactionState.hovered=!1),te.interactionState.dragInProgress||te.partOfGroup||ne.select(this,te,H)})}function j(q,H,ne,te){var Z=i.behavior.drag().origin(function(X){return{x:X.node.x0+X.visibleWidth/2,y:X.node.y0+X.visibleHeight/2}}).on("dragstart",function(X){if(X.arrangement!=="fixed"&&(o.ensureSingle(te._fullLayout._infolayer,"g","dragcover",function(re){te._fullLayout._dragCover=re}),o.raiseToTop(this),X.interactionState.dragInProgress=X.node,U(X.node),X.interactionState.hovered&&(ne.nodeEvents.unhover.apply(0,X.interactionState.hovered),X.interactionState.hovered=!1),X.arrangement==="snap")){var Q=X.traceId+"|"+X.key;X.forceLayouts[Q]?X.forceLayouts[Q].alpha(1):function(re,ie,oe,ue){(function(ye){for(var de=0;de0&&pe.forceLayouts[de].alpha(0)}}(0,ie,ce,oe)).stop()}(0,Q,X),function(re,ie,oe,ue,ce){window.requestAnimationFrame(function ye(){var de;for(de=0;de0)window.requestAnimationFrame(ye);else{var me=oe.node.originalX;oe.node.x0=me-oe.visibleWidth/2,oe.node.x1=me+oe.visibleWidth/2,$(oe,ce)}})}(q,H,X,Q,te)}}).on("drag",function(X){if(X.arrangement!=="fixed"){var Q=i.event.x,re=i.event.y;X.arrangement==="snap"?(X.node.x0=Q-X.visibleWidth/2,X.node.x1=Q+X.visibleWidth/2,X.node.y0=re-X.visibleHeight/2,X.node.y1=re+X.visibleHeight/2):(X.arrangement==="freeform"&&(X.node.x0=Q-X.visibleWidth/2,X.node.x1=Q+X.visibleWidth/2),re=Math.max(0,Math.min(X.size-X.visibleHeight/2,re)),X.node.y0=re-X.visibleHeight/2,X.node.y1=re+X.visibleHeight/2),U(X.node),X.arrangement!=="snap"&&(X.sankey.update(X.graph),z(q.filter(G(X)),H))}}).on("dragend",function(X){if(X.arrangement!=="fixed"){X.interactionState.dragInProgress=!1;for(var Q=0;Q_&&j[E].gap;)E--;for(A=j[E].s,k=j.length-1;k>E;k--)j[k].s=A;for(;_z[c]&&c=0;c--){var h=M[c];if(h.type==="scatter"&&h.xaxis===o.xaxis&&h.yaxis===o.yaxis){h.opacity=void 0;break}}}}}},17438:function(T,p,t){var d=t(71828),g=t(73972),i=t(82196),M=t(47581),v=t(34098),f=t(67513),l=t(73927),a=t(565),u=t(49508),o=t(11058),s=t(94039),c=t(82410),h=t(28908),m=t(71828).coercePattern;T.exports=function(w,y,S,_){function k(O,z){return d.coerce(w,y,i,O,z)}var E=f(w,y,_,k);if(E||(y.visible=!1),y.visible){l(w,y,_,k),k("xhoverformat"),k("yhoverformat");var x=a(w,y,_,k);_.scattermode==="group"&&y.orientation===void 0&&k("orientation","v");var A=!x&&E=Math.min(me,pe)&&w<=Math.max(me,pe)?0:1/0}var xe=Math.max(3,de.mrc||0),Pe=1-1/xe,_e=Math.abs(h.c2p(de.x)-w);return _e=Math.min(me,pe)&&y<=Math.max(me,pe)?0:1/0}var xe=Math.max(3,de.mrc||0),Pe=1-1/xe,_e=Math.abs(m.c2p(de.y)-y);return _ece!=(te=U[j][1])>=ce&&(q=U[j-1][0],H=U[j][0],te-ne&&(G=q+(H-q)*(ce-ne)/(te-ne),re=Math.min(re,G),ie=Math.max(ie,G)));re=Math.max(re,0),ie=Math.min(ie,h._length);var ye=v.defaultLine;return v.opacity(c.fillcolor)?ye=c.fillcolor:v.opacity((c.line||{}).color)&&(ye=c.line.color),d.extendFlat(l,{distance:l.maxHoverDistance,x0:re,x1:ie,y0:ce,y1:ce,color:ye,hovertemplate:!1}),delete l.index,c.text&&!Array.isArray(c.text)?l.text=String(c.text):l.text=c.name,[l]}}}},67368:function(T,p,t){var d=t(34098);T.exports={hasLines:d.hasLines,hasMarkers:d.hasMarkers,hasText:d.hasText,isBubble:d.isBubble,attributes:t(82196),layoutAttributes:t(21479),supplyDefaults:t(17438),crossTraceDefaults:t(34936),supplyLayoutDefaults:t(79334),calc:t(47761).calc,crossTraceCalc:t(72626),arraysToCalcdata:t(75225),plot:t(32663),colorbar:t(4898),formatLabels:t(8225),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(33720),selectPoints:t(98002),animatable:!0,moduleType:"trace",name:"scatter",basePlotModule:t(93612),categories:["cartesian","svg","symbols","errorBarsOK","showLegend","scatter-like","zoomScale"],meta:{}}},21479:function(T){T.exports={scattermode:{valType:"enumerated",values:["group","overlay"],dflt:"overlay",editType:"calc"},scattergap:{valType:"number",min:0,max:1,editType:"calc"}}},79334:function(T,p,t){var d=t(71828),g=t(21479);T.exports=function(i,M){var v,f=M.barmode==="group";M.scattermode==="group"&&(v=f?M.bargap:.2,d.coerce(i,M,g,"scattergap",v))}},11058:function(T,p,t){var d=t(71828).isArrayOrTypedArray,g=t(52075).hasColorscale,i=t(1586);T.exports=function(M,v,f,l,a,u){u||(u={});var o=(M.marker||{}).color;a("line.color",f),g(M,"line")?i(M,v,l,a,{prefix:"line.",cLetter:"c"}):a("line.color",!d(o)&&o||f),a("line.width"),u.noDash||a("line.dash"),u.backoff&&a("line.backoff")}},34621:function(T,p,t){var d=t(91424),g=t(50606),i=g.BADNUM,M=g.LOG_CLIP,v=M+.5,f=M-.5,l=t(71828),a=l.segmentsIntersect,u=l.constrain,o=t(47581);T.exports=function(s,c){var h,m,w,y,S,_,k,E,x,A,L,b,R,I,O,z,F,B,N=c.trace||{},W=c.xaxis,j=c.yaxis,$=W.type==="log",U=j.type==="log",G=W._length,q=j._length,H=c.backoff,ne=N.marker,te=c.connectGaps,Z=c.baseTolerance,X=c.shape,Q=X==="linear",re=N.fill&&N.fill!=="none",ie=[],oe=o.minTolerance,ue=s.length,ce=new Array(ue),ye=0;function de(Vt){var Ke=s[Vt];if(!Ke)return!1;var Je=c.linearized?W.l2p(Ke.x):W.c2p(Ke.x),qe=c.linearized?j.l2p(Ke.y):j.c2p(Ke.y);if(Je===i){if($&&(Je=W.c2p(Ke.x,!0)),Je===i)return!1;U&&qe===i&&(Je*=Math.abs(W._m*q*(W._m>0?v:f)/(j._m*G*(j._m>0?v:f)))),Je*=1e3}if(qe===i){if(U&&(qe=j.c2p(Ke.y,!0)),qe===i)return!1;qe*=1e3}return[Je,qe]}function me(Vt,Ke,Je,qe){var nt=Je-Vt,ft=qe-Ke,Re=.5-Vt,Ne=.5-Ke,Qe=nt*nt+ft*ft,ut=nt*Re+ft*Ne;if(ut>0&&utLe||Vt[1]ze)return[u(Vt[0],ke,Le),u(Vt[1],Be,ze)]}function we(Vt,Ke){return Vt[0]===Ke[0]&&(Vt[0]===ke||Vt[0]===Le)||Vt[1]===Ke[1]&&(Vt[1]===Be||Vt[1]===ze)||void 0}function Ee(Vt,Ke,Je){return function(qe,nt){var ft=ge(qe),Re=ge(nt),Ne=[];if(ft&&Re&&we(ft,Re))return Ne;ft&&Ne.push(ft),Re&&Ne.push(Re);var Qe=2*l.constrain((qe[Vt]+nt[Vt])/2,Ke,Je)-((ft||qe)[Vt]+(Re||nt)[Vt]);return Qe&&((ft&&Re?Qe>0==ft[Vt]>Re[Vt]?ft:Re:ft||Re)[Vt]+=Qe),Ne}}function Ve(Vt){var Ke=Vt[0],Je=Vt[1],qe=Ke===ce[ye-1][0],nt=Je===ce[ye-1][1];if(!qe||!nt)if(ye>1){var ft=Ke===ce[ye-2][0],Re=Je===ce[ye-2][1];qe&&(Ke===ke||Ke===Le)&&ft?Re?ye--:ce[ye-1]=Vt:nt&&(Je===Be||Je===ze)&&Re?ft?ye--:ce[ye-1]=Vt:ce[ye++]=Vt}else ce[ye++]=Vt}function $e(Vt){ce[ye-1][0]!==Vt[0]&&ce[ye-1][1]!==Vt[1]&&Ve([Me,Se]),Ve(Vt),Ce=null,Me=Se=0}X==="linear"||X==="spline"?fe=function(Vt,Ke){for(var Je=[],qe=0,nt=0;nt<4;nt++){var ft=je[nt],Re=a(Vt[0],Vt[1],Ke[0],Ke[1],ft[0],ft[1],ft[2],ft[3]);Re&&(!qe||Math.abs(Re.x-Je[0][0])>1||Math.abs(Re.y-Je[0][1])>1)&&(Re=[Re.x,Re.y],qe&&xe(Re,Vt)Le?Le:0,_e=Vt[1]ze?ze:0,Pe||_e){if(ye)if(Ce){var Ke=fe(Ce,Vt);Ke.length>1&&($e(Ke[0]),ce[ye++]=Ke[1])}else ae=fe(ce[ye-1],Vt)[0],ce[ye++]=ae;else ce[ye++]=[Pe||Vt[0],_e||Vt[1]];var Je=ce[ye-1];Pe&&_e&&(Je[0]!==Pe||Je[1]!==_e)?(Ce&&(Me!==Pe&&Se!==_e?Ve(Me&&Se?(qe=Ce,ft=(nt=Vt)[0]-qe[0],Re=(nt[1]-qe[1])/ft,(qe[1]*nt[0]-nt[1]*qe[0])/ft>0?[Re>0?ke:Le,ze]:[Re>0?Le:ke,Be]):[Me||Pe,Se||_e]):Me&&Se&&Ve([Me,Se])),Ve([Pe,_e])):Me-Pe&&Se-_e&&Ve([Pe||Me,_e||Se]),Ce=Vt,Me=Pe,Se=_e}else Ce&&$e(fe(Ce,Vt)[0]),ce[ye++]=Vt;var qe,nt,ft,Re}for(h=0;hpe(_,ot))break;w=_,(R=x[0]*E[0]+x[1]*E[1])>L?(L=R,y=_,k=!1):R=s.length||!_)break;st(_),m=_}}else st(y)}Ce&&Ve([Me||Ce[0],Se||Ce[1]]),ie.push(ce.slice(0,ye))}var ht=X.slice(X.length-1);if(H&&ht!=="h"&&ht!=="v"){for(var bt=!1,Et=-1,kt=[],xt=0;xt=0?l=c:(l=c=s,s++),l0?Math.max(u,f):0}}},4898:function(T){T.exports={container:"marker",min:"cmin",max:"cmax"}},49508:function(T,p,t){var d=t(7901),g=t(52075).hasColorscale,i=t(1586),M=t(34098);T.exports=function(v,f,l,a,u,o){var s=M.isBubble(v),c=(v.line||{}).color;o=o||{},c&&(l=c),u("marker.symbol"),u("marker.opacity",s?.7:1),u("marker.size"),o.noAngle||(u("marker.angle"),o.noAngleRef||u("marker.angleref"),o.noStandOff||u("marker.standoff")),u("marker.color",l),g(v,"marker")&&i(v,f,a,u,{prefix:"marker.",cLetter:"c"}),o.noSelect||(u("selected.marker.color"),u("unselected.marker.color"),u("selected.marker.size"),u("unselected.marker.size")),o.noLine||(u("marker.line.color",c&&!Array.isArray(c)&&f.marker.color!==c?c:s?d.background:d.defaultLine),g(v,"marker.line")&&i(v,f,a,u,{prefix:"marker.line.",cLetter:"c"}),u("marker.line.width",s?1:0)),s&&(u("marker.sizeref"),u("marker.sizemin"),u("marker.sizemode")),o.gradient&&u("marker.gradient.type")!=="none"&&u("marker.gradient.color")}},73927:function(T,p,t){var d=t(71828).dateTick0,g=t(50606).ONEWEEK;function i(M,v){return d(v,M%g==0?1:0)}T.exports=function(M,v,f,l,a){if(a||(a={x:!0,y:!0}),a.x){var u=l("xperiod");u&&(l("xperiod0",i(u,v.xcalendar)),l("xperiodalignment"))}if(a.y){var o=l("yperiod");o&&(l("yperiod0",i(o,v.ycalendar)),l("yperiodalignment"))}}},32663:function(T,p,t){var d=t(39898),g=t(73972),i=t(71828),M=i.ensureSingle,v=i.identity,f=t(91424),l=t(34098),a=t(34621),u=t(68687),o=t(61082).tester;function s(c,h,m,w,y,S,_){var k,E=c._context.staticPlot;(function(fe,be,ke,Le,Be){var ze=ke.xaxis,je=ke.yaxis,ge=d.extent(i.simpleMap(ze.range,ze.r2c)),we=d.extent(i.simpleMap(je.range,je.r2c)),Ee=Le[0].trace;if(l.hasMarkers(Ee)){var Ve=Ee.marker.maxdisplayed;if(Ve!==0){var $e=Le.filter(function(ht){return ht.x>=ge[0]&&ht.x<=ge[1]&&ht.y>=we[0]&&ht.y<=we[1]}),Ye=Math.ceil($e.length/Ve),st=0;Be.forEach(function(ht,bt){var Et=ht[0].trace;l.hasMarkers(Et)&&Et.marker.maxdisplayed>0&&bt0;function A(fe){return x?fe.transition():fe}var L=m.xaxis,b=m.yaxis,R=w[0].trace,I=R.line,O=d.select(S),z=M(O,"g","errorbars"),F=M(O,"g","lines"),B=M(O,"g","points"),N=M(O,"g","text");if(g.getComponentMethod("errorbars","plot")(c,z,m,_),R.visible===!0){var W,j;A(O).style("opacity",R.opacity);var $=R.fill.charAt(R.fill.length-1);$!=="x"&&$!=="y"&&($=""),w[0][m.isRangePlot?"nodeRangePlot3":"node3"]=O;var U,G,q="",H=[],ne=R._prevtrace;ne&&(q=ne._prevRevpath||"",j=ne._nextFill,H=ne._polygons);var te,Z,X,Q,re,ie,oe,ue="",ce="",ye=[],de=i.noop;if(W=R._ownFill,l.hasLines(R)||R.fill!=="none"){for(j&&j.datum(w),["hv","vh","hvh","vhv"].indexOf(I.shape)!==-1?(te=f.steps(I.shape),Z=f.steps(I.shape.split("").reverse().join(""))):te=Z=I.shape==="spline"?function(fe){var be=fe[fe.length-1];return fe.length>1&&fe[0][0]===be[0]&&fe[0][1]===be[1]?f.smoothclosed(fe.slice(1),I.smoothing):f.smoothopen(fe,I.smoothing)}:function(fe){return"M"+fe.join("L")},X=function(fe){return Z(fe.reverse())},ye=a(w,{xaxis:L,yaxis:b,trace:R,connectGaps:R.connectgaps,baseTolerance:Math.max(I.width||1,3)/4,shape:I.shape,backoff:I.backoff,simplify:I.simplify,fill:R.fill}),oe=R._polygons=new Array(ye.length),k=0;k0,A=u(c,h,m);(_=w.selectAll("g.trace").data(A,function(L){return L[0].trace.uid})).enter().append("g").attr("class",function(L){return"trace scatter trace"+L[0].trace.uid}).style("stroke-miterlimit",2),_.order(),function(L,b,R){b.each(function(I){var O=M(d.select(this),"g","fills");f.setClipUrl(O,R.layerClipId,L);var z=I[0].trace,F=[];z._ownfill&&F.push("_ownFill"),z._nexttrace&&F.push("_nextFill");var B=O.selectAll("g").data(F,v);B.enter().append("g"),B.exit().each(function(N){z[N]=null}).remove(),B.order().each(function(N){z[N]=M(d.select(this),"path","js-fill")})})}(c,_,h),x?(S&&(k=S()),d.transition().duration(y.duration).ease(y.easing).each("end",function(){k&&k()}).each("interrupt",function(){k&&k()}).each(function(){w.selectAll("g.trace").each(function(L,b){s(c,b,h,L,A,this,y)})})):_.each(function(L,b){s(c,b,h,L,A,this,y)}),E&&_.exit().remove(),w.selectAll("path:not([d])").remove()}},98002:function(T,p,t){var d=t(34098);T.exports=function(g,i){var M,v,f,l,a=g.cd,u=g.xaxis,o=g.yaxis,s=[],c=a[0].trace;if(!d.hasMarkers(c)&&!d.hasText(c))return[];if(i===!1)for(M=0;M0){var m=f.c2l(c);f._lowerLogErrorBound||(f._lowerLogErrorBound=m),f._lowerErrorBound=Math.min(f._lowerLogErrorBound,m)}}else a[u]=[-o[0]*v,o[1]*v]}return a}T.exports=function(i,M,v){var f=[g(i.x,i.error_x,M[0],v.xaxis),g(i.y,i.error_y,M[1],v.yaxis),g(i.z,i.error_z,M[2],v.zaxis)],l=function(h){for(var m=0;m-1?-1:b.indexOf("right")>-1?1:0}function _(b){return b==null?0:b.indexOf("top")>-1?-1:b.indexOf("bottom")>-1?1:0}function k(b,R){return R(4*b)}function E(b){return s[b]}function x(b,R,I,O,z){var F=null;if(f.isArrayOrTypedArray(b)){F=[];for(var B=0;B=0){var j=function($,U,G){var q,H=(G+1)%3,ne=(G+2)%3,te=[],Z=[];for(q=0;q<$.length;++q){var X=$[q];!isNaN(X[H])&&isFinite(X[H])&&!isNaN(X[ne])&&isFinite(X[ne])&&(te.push([X[H],X[ne]]),Z.push(q))}var Q=v(te);for(q=0;q=0&&c("surfacecolor",m||w);for(var y=["x","y","z"],S=0;S<3;++S){var _="projection."+y[S];c(_+".show")&&(c(_+".opacity"),c(_+".scale"))}var k=d.getComponentMethod("errorbars","supplyDefaults");k(a,u,m||w||o,{axis:"z"}),k(a,u,m||w||o,{axis:"y",inherit:"z"}),k(a,u,m||w||o,{axis:"x",inherit:"z"})}else u.visible=!1}},13551:function(T,p,t){T.exports={plot:t(58925),attributes:t(44542),markerSymbols:t(87381),supplyDefaults:t(21428),colorbar:[{container:"marker",min:"cmin",max:"cmax"},{container:"line",min:"cmin",max:"cmax"}],calc:t(36563),moduleType:"trace",name:"scatter3d",basePlotModule:t(58547),categories:["gl3d","symbols","showLegend","scatter-like"],meta:{}}},97001:function(T,p,t){var d=t(82196),g=t(9012),i=t(5386).fF,M=t(5386).si,v=t(50693),f=t(1426).extendFlat,l=d.marker,a=d.line,u=l.line;T.exports={carpet:{valType:"string",editType:"calc"},a:{valType:"data_array",editType:"calc"},b:{valType:"data_array",editType:"calc"},mode:f({},d.mode,{dflt:"markers"}),text:f({},d.text,{}),texttemplate:M({editType:"plot"},{keys:["a","b","text"]}),hovertext:f({},d.hovertext,{}),line:{color:a.color,width:a.width,dash:a.dash,backoff:a.backoff,shape:f({},a.shape,{values:["linear","spline"]}),smoothing:a.smoothing,editType:"calc"},connectgaps:d.connectgaps,fill:f({},d.fill,{values:["none","toself","tonext"],dflt:"none"}),fillcolor:d.fillcolor,marker:f({symbol:l.symbol,opacity:l.opacity,maxdisplayed:l.maxdisplayed,angle:l.angle,angleref:l.angleref,standoff:l.standoff,size:l.size,sizeref:l.sizeref,sizemin:l.sizemin,sizemode:l.sizemode,line:f({width:u.width,editType:"calc"},v("marker.line")),gradient:l.gradient,editType:"calc"},v("marker")),textfont:d.textfont,textposition:d.textposition,selected:d.selected,unselected:d.unselected,hoverinfo:f({},g.hoverinfo,{flags:["a","b","text","name"]}),hoveron:d.hoveron,hovertemplate:i()}},34618:function(T,p,t){var d=t(92770),g=t(36922),i=t(75225),M=t(66279),v=t(47761).calcMarkerSize,f=t(22882);T.exports=function(l,a){var u=a._carpetTrace=f(l,a);if(u&&u.visible&&u.visible!=="legendonly"){var o;a.xaxis=u.xaxis,a.yaxis=u.yaxis;var s,c,h=a._length,m=new Array(h),w=!1;for(o=0;o")}return l}function k(E,x){var A;A=E.labelprefix&&E.labelprefix.length>0?E.labelprefix.replace(/ = $/,""):E._hovertitle,S.push(A+": "+x.toFixed(3)+E.labelsuffix)}}},46858:function(T,p,t){T.exports={attributes:t(97001),supplyDefaults:t(98965),colorbar:t(4898),formatLabels:t(48953),calc:t(34618),plot:t(1913),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(22931),selectPoints:t(98002),eventData:t(16165),moduleType:"trace",name:"scattercarpet",basePlotModule:t(93612),categories:["svg","carpet","symbols","showLegend","carpetDependent","zoomScale"],meta:{}}},1913:function(T,p,t){var d=t(32663),g=t(89298),i=t(91424);T.exports=function(M,v,f,l){var a,u,o,s=f[0][0].carpet,c=g.getFromId(M,s.xaxis||"x"),h=g.getFromId(M,s.yaxis||"y"),m={xaxis:c,yaxis:h,plot:v.plot};for(a=0;a")}function j($){return $+"°"}}(o,y,f,u[0].t.labels),f.hovertemplate=o.hovertemplate,[f]}}},17988:function(T,p,t){T.exports={attributes:t(19316),supplyDefaults:t(10659),colorbar:t(4898),formatLabels:t(82719),calc:t(84622),calcGeoJSON:t(89171).calcGeoJSON,plot:t(89171).plot,style:t(33095),styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(14977),eventData:t(84084),selectPoints:t(20548),moduleType:"trace",name:"scattergeo",basePlotModule:t(44622),categories:["geo","symbols","showLegend","scatter-like"],meta:{}}},89171:function(T,p,t){var d=t(39898),g=t(71828),i=t(90973).getTopojsonFeatures,M=t(18214),v=t(41327),f=t(71739).findExtremes,l=t(50606).BADNUM,a=t(47761).calcMarkerSize,u=t(34098),o=t(33095);T.exports={calcGeoJSON:function(s,c){var h,m,w=s[0].trace,y=c[w.geo],S=y._subplot,_=w._length;if(Array.isArray(w.locations)){var k=w.locationmode,E=k==="geojson-id"?v.extractTraceFeature(s):i(w,S.topojson);for(h=0;h<_;h++){m=s[h];var x=k==="geojson-id"?m.fOut:v.locationToFeature(k,m.loc,E);m.lonlat=x?x.properties.ct:[l,l]}}var A,L,b={padded:!0};if(y.fitbounds==="geojson"&&w.locationmode==="geojson-id"){var R=v.computeBbox(v.getTraceGeojson(w));A=[R[0],R[2]],L=[R[1],R[3]]}else{for(A=new Array(_),L=new Array(_),h=0;h<_;h++)m=s[h],A[h]=m.lonlat[0],L[h]=m.lonlat[1];b.ppad=a(w,_)}w._extremes.lon=f(y.lonaxis._ax,A,b),w._extremes.lat=f(y.lataxis._ax,L,b)},plot:function(s,c,h){var m=c.layers.frontplot.select(".scatterlayer"),w=g.makeTraceGroups(m,h,"trace scattergeo");function y(S,_){S.lonlat[0]===l&&d.select(_).remove()}w.selectAll("*").remove(),w.each(function(S){var _=d.select(this),k=S[0].trace;if(u.hasLines(k)||k.fill!=="none"){var E=M.calcTraceToLineCoords(S),x=k.fill!=="none"?M.makePolygon(E):M.makeLine(E);_.selectAll("path.js-line").data([{geojson:x,trace:k}]).enter().append("path").classed("js-line",!0).style("stroke-miterlimit",2)}u.hasMarkers(k)&&_.selectAll("path.point").data(g.identity).enter().append("path").classed("point",!0).each(function(A){y(A,this)}),u.hasText(k)&&_.selectAll("g").data(g.identity).enter().append("g").append("text").each(function(A){y(A,this)}),o(s,S)})}}},20548:function(T,p,t){var d=t(34098),g=t(50606).BADNUM;T.exports=function(i,M){var v,f,l,a,u,o=i.cd,s=i.xaxis,c=i.yaxis,h=[],m=o[0].trace;if(!d.hasMarkers(m)&&!d.hasText(m))return[];if(M===!1)for(u=0;u=m,R=2*L,I={},O=E.makeCalcdata(S,"x"),z=x.makeCalcdata(S,"y"),F=v(S,E,"x",O),B=v(S,x,"y",z),N=F.vals,W=B.vals;S._x=N,S._y=W,S.xperiodalignment&&(S._origX=O,S._xStarts=F.starts,S._xEnds=F.ends),S.yperiodalignment&&(S._origY=z,S._yStarts=B.starts,S._yEnds=B.ends);var j=new Array(R),$=new Array(L);for(_=0;_1&&g.extendFlat(re.line,s.linePositions(H,te,Z)),re.errorX||re.errorY){var ie=s.errorBarPositions(H,te,Z,X,Q);re.errorX&&g.extendFlat(re.errorX,ie.x),re.errorY&&g.extendFlat(re.errorY,ie.y)}return re.text&&(g.extendFlat(re.text,{positions:Z},s.textPosition(H,te,re.text,re.marker)),g.extendFlat(re.textSel,{positions:Z},s.textPosition(H,te,re.text,re.markerSel)),g.extendFlat(re.textUnsel,{positions:Z},s.textPosition(H,te,re.text,re.markerUnsel))),re}(y,0,S,j,N,W),q=c(y,A);return u(k,S),b?G.marker&&(U=G.marker.sizeAvg||Math.max(G.marker.size,3)):U=l(S,L),a(y,S,E,x,N,W,U),G.errorX&&w(S,E,G.errorX),G.errorY&&w(S,x,G.errorY),G.fill&&!q.fill2d&&(q.fill2d=!0),G.marker&&!q.scatter2d&&(q.scatter2d=!0),G.line&&!q.line2d&&(q.line2d=!0),!G.errorX&&!G.errorY||q.error2d||(q.error2d=!0),G.text&&!q.glText&&(q.glText=!0),G.marker&&(G.marker.snap=L),q.lineOptions.push(G.line),q.errorXOptions.push(G.errorX),q.errorYOptions.push(G.errorY),q.fillOptions.push(G.fill),q.markerOptions.push(G.marker),q.markerSelectedOptions.push(G.markerSel),q.markerUnselectedOptions.push(G.markerUnsel),q.textOptions.push(G.text),q.textSelectedOptions.push(G.textSel),q.textUnselectedOptions.push(G.textUnsel),q.selectBatch.push([]),q.unselectBatch.push([]),I._scene=q,I.index=q.count,I.x=N,I.y=W,I.positions=j,q.count++,[{x:!1,y:!1,t:I,trace:S}]}},78232:function(T){T.exports={TOO_MANY_POINTS:1e5,SYMBOL_SDF_SIZE:200,SYMBOL_SIZE:20,SYMBOL_STROKE:1,DOT_RE:/-dot/,OPEN_RE:/-open/,DASHES:{solid:[1],dot:[1,1],dash:[4,1],longdash:[8,1],dashdot:[4,1,1,1],longdashdot:[8,1,1,1]}}},19635:function(T,p,t){var d=t(92770),g=t(82019),i=t(25075),M=t(73972),v=t(71828),f=t(91424),l=t(41675),a=t(81697).formatColor,u=t(34098),o=t(39984),s=t(68645),c=t(78232),h=t(37822).DESELECTDIM,m={start:1,left:1,end:-1,right:-1,middle:0,center:0,bottom:1,top:-1},w=t(23469).appendArrayPointValue;function y(O,z){var F,B=O._fullLayout,N=z._length,W=z.textfont,j=z.textposition,$=Array.isArray(j)?j:[j],U=W.color,G=W.size,q=W.family,H={},ne=O._context.plotGlPixelRatio,te=z.texttemplate;if(te){H.text=[];var Z=B._d3locale,X=Array.isArray(te),Q=X?Math.min(te.length,N):N,re=X?function(me){return te[me]}:function(){return te};for(F=0;Fc.TOO_MANY_POINTS||u.hasMarkers(z)?"rect":"round";if(G&&z.connectgaps){var H=B[0],ne=B[1];for(N=0;N1?U[N]:U[0]:U,te=Array.isArray(G)?G.length>1?G[N]:G[0]:G,Z=m[ne],X=m[te],Q=q?q/.8+1:0,re=-X*Q-.5*X;j.offset[N]=[Z*Q/H,re/H]}}return j}}},47148:function(T,p,t){var d=t(71828),g=t(73972),i=t(68645),M=t(42341),v=t(47581),f=t(34098),l=t(67513),a=t(73927),u=t(49508),o=t(11058),s=t(28908),c=t(82410);T.exports=function(h,m,w,y){function S(R,I){return d.coerce(h,m,M,R,I)}var _=!!h.marker&&i.isOpenSymbol(h.marker.symbol),k=f.isBubble(h),E=l(h,m,y,S);if(E){a(h,m,y,S),S("xhoverformat"),S("yhoverformat");var x=E100},p.isDotSymbol=function(g){return typeof g=="string"?d.DOT_RE.test(g):g>200}},20794:function(T,p,t){var d=t(73972),g=t(71828),i=t(34603);function M(v,f,l,a){var u=v.xa,o=v.ya,s=v.distance,c=v.dxy,h=v.index,m={pointNumber:h,x:f[h],y:l[h]};m.tx=Array.isArray(a.text)?a.text[h]:a.text,m.htx=Array.isArray(a.hovertext)?a.hovertext[h]:a.hovertext,m.data=Array.isArray(a.customdata)?a.customdata[h]:a.customdata,m.tp=Array.isArray(a.textposition)?a.textposition[h]:a.textposition;var w=a.textfont;w&&(m.ts=g.isArrayOrTypedArray(w.size)?w.size[h]:w.size,m.tc=Array.isArray(w.color)?w.color[h]:w.color,m.tf=Array.isArray(w.family)?w.family[h]:w.family);var y=a.marker;y&&(m.ms=g.isArrayOrTypedArray(y.size)?y.size[h]:y.size,m.mo=g.isArrayOrTypedArray(y.opacity)?y.opacity[h]:y.opacity,m.mx=g.isArrayOrTypedArray(y.symbol)?y.symbol[h]:y.symbol,m.ma=g.isArrayOrTypedArray(y.angle)?y.angle[h]:y.angle,m.mc=g.isArrayOrTypedArray(y.color)?y.color[h]:y.color);var S=y&&y.line;S&&(m.mlc=Array.isArray(S.color)?S.color[h]:S.color,m.mlw=g.isArrayOrTypedArray(S.width)?S.width[h]:S.width);var _=y&&y.gradient;_&&_.type!=="none"&&(m.mgt=Array.isArray(_.type)?_.type[h]:_.type,m.mgc=Array.isArray(_.color)?_.color[h]:_.color);var k=u.c2p(m.x,!0),E=o.c2p(m.y,!0),x=m.mrc||1,A=a.hoverlabel;A&&(m.hbg=Array.isArray(A.bgcolor)?A.bgcolor[h]:A.bgcolor,m.hbc=Array.isArray(A.bordercolor)?A.bordercolor[h]:A.bordercolor,m.hts=g.isArrayOrTypedArray(A.font.size)?A.font.size[h]:A.font.size,m.htc=Array.isArray(A.font.color)?A.font.color[h]:A.font.color,m.htf=Array.isArray(A.font.family)?A.font.family[h]:A.font.family,m.hnl=g.isArrayOrTypedArray(A.namelength)?A.namelength[h]:A.namelength);var L=a.hoverinfo;L&&(m.hi=Array.isArray(L)?L[h]:L);var b=a.hovertemplate;b&&(m.ht=Array.isArray(b)?b[h]:b);var R={};R[v.index]=m;var I=a._origX,O=a._origY,z=g.extendFlat({},v,{color:i(a,m),x0:k-x,x1:k+x,xLabelVal:I?I[h]:m.x,y0:E-x,y1:E+x,yLabelVal:O?O[h]:m.y,cd:R,distance:s,spikeDistance:c,hovertemplate:m.ht});return m.htx?z.text=m.htx:m.tx?z.text=m.tx:a.text&&(z.text=a.text),g.fillText(m,a,z),d.getComponentMethod("errorbars","hoverInfo")(m,a,z),z}T.exports={hoverPoints:function(v,f,l,a){var u,o,s,c,h,m,w,y,S,_,k=v.cd,E=k[0].t,x=k[0].trace,A=v.xa,L=v.ya,b=E.x,R=E.y,I=A.c2p(f),O=L.c2p(l),z=v.distance;if(E.tree){var F=A.p2c(I-z),B=A.p2c(I+z),N=L.p2c(O-z),W=L.p2c(O+z);u=a==="x"?E.tree.range(Math.min(F,B),Math.min(L._rl[0],L._rl[1]),Math.max(F,B),Math.max(L._rl[0],L._rl[1])):E.tree.range(Math.min(F,B),Math.min(N,W),Math.max(F,B),Math.max(N,W))}else u=E.ids;var j=z;if(a==="x"){var $=!!x.xperiodalignment,U=!!x.yperiodalignment;for(m=0;m=Math.min(G,q)&&I<=Math.max(G,q)?0:1/0}if(w=Math.min(H,ne)&&O<=Math.max(H,ne)?0:1/0}_=Math.sqrt(w*w+y*y),s=u[m]}}}else for(m=u.length-1;m>-1;m--)c=b[o=u[m]],h=R[o],w=A.c2p(c)-I,y=L.c2p(h)-O,(S=Math.sqrt(w*w+y*y))k.glText.length){var b=A-k.glText.length;for(y=0;yue&&(isNaN(oe[ce])||isNaN(oe[ce+1]));)ce-=2;ie.positions=oe.slice(ue,ce+2)}return ie}),k.line2d.update(k.lineOptions)),k.error2d){var I=(k.errorXOptions||[]).concat(k.errorYOptions||[]);k.error2d.update(I)}k.scatter2d&&k.scatter2d.update(k.markerOptions),k.fillOrder=v.repeat(null,A),k.fill2d&&(k.fillOptions=k.fillOptions.map(function(ie,oe){var ue=w[oe];if(ie&&ue&&ue[0]&&ue[0].trace){var ce,ye,de=ue[0],me=de.trace,pe=de.t,xe=k.lineOptions[oe],Pe=[];me._ownfill&&Pe.push(oe),me._nexttrace&&Pe.push(oe+1),Pe.length&&(k.fillOrder[oe]=Pe);var _e,Me,Se=[],Ce=xe&&xe.positions||pe.positions;if(me.fill==="tozeroy"){for(_e=0;_e_e&&isNaN(Ce[Me+1]);)Me-=2;Ce[_e+1]!==0&&(Se=[Ce[_e],0]),Se=Se.concat(Ce.slice(_e,Me+2)),Ce[Me+1]!==0&&(Se=Se.concat([Ce[Me],0]))}else if(me.fill==="tozerox"){for(_e=0;_e_e&&isNaN(Ce[Me]);)Me-=2;Ce[_e]!==0&&(Se=[0,Ce[_e+1]]),Se=Se.concat(Ce.slice(_e,Me+2)),Ce[Me]!==0&&(Se=Se.concat([0,Ce[Me+1]]))}else if(me.fill==="toself"||me.fill==="tonext"){for(Se=[],ce=0,ie.splitNull=!0,ye=0;ye-1;for(y=0;y")}function S(_){return _+"°"}}T.exports={hoverPoints:function(a,u,o){var s=a.cd,c=s[0].trace,h=a.xa,m=a.ya,w=a.subplot,y=[],S=f+c.uid+"-circle",_=c.cluster&&c.cluster.enabled;if(_){var k=w.map.queryRenderedFeatures(null,{layers:[S]});y=k.map(function(B){return B.id})}var E=360*(u>=0?Math.floor((u+180)/360):Math.ceil((u-180)/360)),x=u-E;if(d.getClosest(s,function(B){var N=B.lonlat;if(N[0]===v||_&&y.indexOf(B.i+1)===-1)return 1/0;var W=g.modHalf(N[0],360),j=N[1],$=w.project([W,j]),U=$.x-h.c2p([x,j]),G=$.y-m.c2p([W,o]),q=Math.max(3,B.mrc||0);return Math.max(Math.sqrt(U*U+G*G)-q,1-3/q)},a),a.index!==!1){var A=s[a.index],L=A.lonlat,b=[g.modHalf(L[0],360)+E,L[1]],R=h.c2p(b),I=m.c2p(b),O=A.mrc||1;a.x0=R-O,a.x1=R+O,a.y0=I-O,a.y1=I+O;var z={};z[c.subplot]={_subplot:w};var F=c._module.formatLabels(A,c,z);return a.lonLabel=F.lonLabel,a.latLabel=F.latLabel,a.color=i(c,A),a.extraText=l(c,A,s[0].t.labels),a.hovertemplate=c.hovertemplate,[a]}},getExtraText:l}},20467:function(T,p,t){T.exports={attributes:t(99181),supplyDefaults:t(76645),colorbar:t(4898),formatLabels:t(15636),calc:t(84622),plot:t(86951),hoverPoints:t(28178).hoverPoints,eventData:t(53353),selectPoints:t(86387),styleOnSelect:function(d,g){g&&g[0].trace._glTrace.update(g)},moduleType:"trace",name:"scattermapbox",basePlotModule:t(50101),categories:["mapbox","gl","symbols","showLegend","scatter-like"],meta:{}}},86951:function(T,p,t){var d=t(71828),g=t(15790),i=t(77734).traceLayerPrefix,M={cluster:["cluster","clusterCount","circle"],nonCluster:["fill","line","circle","symbol"]};function v(l,a,u,o){this.type="scattermapbox",this.subplot=l,this.uid=a,this.clusterEnabled=u,this.isHidden=o,this.sourceIds={fill:"source-"+a+"-fill",line:"source-"+a+"-line",circle:"source-"+a+"-circle",symbol:"source-"+a+"-symbol",cluster:"source-"+a+"-circle",clusterCount:"source-"+a+"-circle"},this.layerIds={fill:i+a+"-fill",line:i+a+"-line",circle:i+a+"-circle",symbol:i+a+"-symbol",cluster:i+a+"-cluster",clusterCount:i+a+"-cluster-count"},this.below=null}var f=v.prototype;f.addSource=function(l,a,u){var o={type:"geojson",data:a.geojson};u&&u.enabled&&d.extendFlat(o,{cluster:!0,clusterMaxZoom:u.maxzoom});var s=this.subplot.map.getSource(this.sourceIds[l]);s?s.setData(a.geojson):this.subplot.map.addSource(this.sourceIds[l],o)},f.setSourceData=function(l,a){this.subplot.map.getSource(this.sourceIds[l]).setData(a.geojson)},f.addLayer=function(l,a,u){var o={type:a.type,id:this.layerIds[l],source:this.sourceIds[l],layout:a.layout,paint:a.paint};a.filter&&(o.filter=a.filter);for(var s,c=this.layerIds[l],h=this.subplot.getMapLayers(),m=0;m=0;b--){var R=L[b];o.removeLayer(w.layerIds[R])}A||o.removeSource(w.sourceIds.circle)}(x):function(A){for(var L=M.nonCluster,b=L.length-1;b>=0;b--){var R=L[b];o.removeLayer(w.layerIds[R]),A||o.removeSource(w.sourceIds[R])}}(x)}function S(x){h?function(A){A||w.addSource("circle",s.circle,a.cluster);for(var L=M.cluster,b=0;b=0;u--){var o=a[u];l.removeLayer(this.layerIds[o]),l.removeSource(this.sourceIds[o])}},T.exports=function(l,a){var u,o,s,c=a[0].trace,h=c.cluster&&c.cluster.enabled,m=c.visible!==!0,w=new v(l,c.uid,h,m),y=g(l.gd,a),S=w.below=l.belowLookup["trace-"+c.uid];if(h)for(w.addSource("circle",y.circle,c.cluster),u=0;u")}}T.exports={hoverPoints:function(i,M,v,f){var l=d(i,M,v,f);if(l&&l[0].index!==!1){var a=l[0];if(a.index===void 0)return l;var u=i.subplot,o=a.cd[a.index],s=a.trace;if(u.isPtInside(o))return a.xLabelVal=void 0,a.yLabelVal=void 0,g(o,s,u,a),a.hovertemplate=s.hovertemplate,l}},makeHoverPointText:g}},91271:function(T,p,t){T.exports={moduleType:"trace",name:"scatterpolar",basePlotModule:t(23580),categories:["polar","symbols","showLegend","scatter-like"],attributes:t(81245),supplyDefaults:t(22184).supplyDefaults,colorbar:t(4898),formatLabels:t(98608),calc:t(26442),plot:t(45162),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(59150).hoverPoints,selectPoints:t(98002),meta:{}}},45162:function(T,p,t){var d=t(32663),g=t(50606).BADNUM;T.exports=function(i,M,v){for(var f=M.layers.frontplot.select("g.scatterlayer"),l=M.xaxis,a=M.yaxis,u={xaxis:l,yaxis:a,plot:M.framework,layerClipId:M._hasClipOnAxisFalse?M.clipIds.forTraces:null},o=M.radialAxis,s=M.angularAxis,c=0;c=l&&(A.marker.cluster=_.tree),A.marker&&(A.markerSel.positions=A.markerUnsel.positions=A.marker.positions=R),A.line&&R.length>1&&f.extendFlat(A.line,v.linePositions(a,S,R)),A.text&&(f.extendFlat(A.text,{positions:R},v.textPosition(a,S,A.text,A.marker)),f.extendFlat(A.textSel,{positions:R},v.textPosition(a,S,A.text,A.markerSel)),f.extendFlat(A.textUnsel,{positions:R},v.textPosition(a,S,A.text,A.markerUnsel))),A.fill&&!h.fill2d&&(h.fill2d=!0),A.marker&&!h.scatter2d&&(h.scatter2d=!0),A.line&&!h.line2d&&(h.line2d=!0),A.text&&!h.glText&&(h.glText=!0),h.lineOptions.push(A.line),h.fillOptions.push(A.fill),h.markerOptions.push(A.marker),h.markerSelectedOptions.push(A.markerSel),h.markerUnselectedOptions.push(A.markerUnsel),h.textOptions.push(A.text),h.textSelectedOptions.push(A.textSel),h.textUnselectedOptions.push(A.textUnsel),h.selectBatch.push([]),h.unselectBatch.push([]),_.x=I,_.y=O,_.rawx=I,_.rawy=O,_.r=E,_.theta=x,_.positions=R,_._scene=h,_.index=h.count,h.count++}}),i(a,u,o)}},T.exports.reglPrecompiled={}},48300:function(T,p,t){var d=t(5386).fF,g=t(5386).si,i=t(1426).extendFlat,M=t(82196),v=t(9012),f=M.line;T.exports={mode:M.mode,real:{valType:"data_array",editType:"calc+clearAxisTypes"},imag:{valType:"data_array",editType:"calc+clearAxisTypes"},text:M.text,texttemplate:g({editType:"plot"},{keys:["real","imag","text"]}),hovertext:M.hovertext,line:{color:f.color,width:f.width,dash:f.dash,backoff:f.backoff,shape:i({},f.shape,{values:["linear","spline"]}),smoothing:f.smoothing,editType:"calc"},connectgaps:M.connectgaps,marker:M.marker,cliponaxis:i({},M.cliponaxis,{dflt:!1}),textposition:M.textposition,textfont:M.textfont,fill:i({},M.fill,{values:["none","toself","tonext"],dflt:"none"}),fillcolor:M.fillcolor,hoverinfo:i({},v.hoverinfo,{flags:["real","imag","text","name"]}),hoveron:M.hoveron,hovertemplate:d(),selected:M.selected,unselected:M.unselected}},30621:function(T,p,t){var d=t(92770),g=t(50606).BADNUM,i=t(36922),M=t(75225),v=t(66279),f=t(47761).calcMarkerSize;T.exports=function(l,a){for(var u=l._fullLayout,o=a.subplot,s=u[o].realaxis,c=u[o].imaginaryaxis,h=s.makeCalcdata(a,"real"),m=c.makeCalcdata(a,"imag"),w=a._length,y=new Array(w),S=0;S")}}T.exports={hoverPoints:function(i,M,v,f){var l=d(i,M,v,f);if(l&&l[0].index!==!1){var a=l[0];if(a.index===void 0)return l;var u=i.subplot,o=a.cd[a.index],s=a.trace;if(u.isPtInside(o))return a.xLabelVal=void 0,a.yLabelVal=void 0,g(o,s,u,a),a.hovertemplate=s.hovertemplate,l}},makeHoverPointText:g}},85956:function(T,p,t){T.exports={moduleType:"trace",name:"scattersmith",basePlotModule:t(7504),categories:["smith","symbols","showLegend","scatter-like"],attributes:t(48300),supplyDefaults:t(65269),colorbar:t(4898),formatLabels:t(62047),calc:t(30621),plot:t(12480),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(11350).hoverPoints,selectPoints:t(98002),meta:{}}},12480:function(T,p,t){var d=t(32663),g=t(50606).BADNUM,i=t(23893).smith;T.exports=function(M,v,f){for(var l=v.layers.frontplot.select("g.scatterlayer"),a=v.xaxis,u=v.yaxis,o={xaxis:a,yaxis:u,plot:v.framework,layerClipId:v._hasClipOnAxisFalse?v.clipIds.forTraces:null},s=0;s"),l.hovertemplate=h.hovertemplate,f}function E(x,A){_.push(x._hovertitle+": "+A)}}},52979:function(T,p,t){T.exports={attributes:t(50413),supplyDefaults:t(46008),colorbar:t(4898),formatLabels:t(93645),calc:t(54337),plot:t(7507),style:t(16296).style,styleOnSelect:t(16296).styleOnSelect,hoverPoints:t(47250),selectPoints:t(98002),eventData:t(4524),moduleType:"trace",name:"scatterternary",basePlotModule:t(61639),categories:["ternary","symbols","showLegend","scatter-like"],meta:{}}},7507:function(T,p,t){var d=t(32663);T.exports=function(g,i,M){var v=i.plotContainer;v.select(".scatterlayer").selectAll("*").remove();for(var f=i.xaxis,l=i.yaxis,a={xaxis:f,yaxis:l,plot:v,layerClipId:i._hasClipOnAxisFalse?i.clipIdRelative:null},u=i.layers.frontplot.select("g.scatterlayer"),o=0;oo?x.sizeAvg||Math.max(x.size,3):i(c,E),m=0;mR&&z||b-1,j=!0;if(M(x)||w.selectedpoints||W){var $=w._length;if(w.selectedpoints){S.selectBatch=w.selectedpoints;var U=w.selectedpoints,G={};for(o=0;o1&&(m=k[A-1],y=E[A-1],_=x[A-1]),l=0;lm?"-":"+")+"x")).replace("y",(w>y?"-":"+")+"y")).replace("z",(S>_?"-":"+")+"z");var j=function(){A=0,B=[],N=[],W=[]};(!A||A2?h.slice(1,m-1):m===2?[(h[0]+h[1])/2]:h}function s(h){var m=h.length;return m===1?[.5,.5]:[h[1]-h[0],h[m-1]-h[m-2]]}function c(h,m){var w=h.fullSceneLayout,y=h.dataScale,S=m._len,_={};function k(te,Z){var X=w[Z],Q=y[l[Z]];return i.simpleMap(te,function(re){return X.d2l(re)*Q})}if(_.vectors=f(k(m._u,"xaxis"),k(m._v,"yaxis"),k(m._w,"zaxis"),S),!S)return{positions:[],cells:[]};var E=k(m._Xs,"xaxis"),x=k(m._Ys,"yaxis"),A=k(m._Zs,"zaxis");if(_.meshgrid=[E,x,A],_.gridFill=m._gridFill,m._slen)_.startingPositions=f(k(m._startsX,"xaxis"),k(m._startsY,"yaxis"),k(m._startsZ,"zaxis"));else{for(var L=x[0],b=o(E),R=o(A),I=new Array(b.length*R.length),O=0,z=0;z=0};L?(w=Math.min(A.length,R.length),y=function(ue){return N(A[ue])&&W(ue)},S=function(ue){return String(A[ue])}):(w=Math.min(b.length,R.length),y=function(ue){return N(b[ue])&&W(ue)},S=function(ue){return String(b[ue])}),O&&(w=Math.min(w,I.length));for(var j=0;j1){for(var q=i.randstr(),H=0;H"),name:B||ne("name")?L.name:void 0,color:F("hoverlabel.bgcolor")||b.color,borderColor:F("hoverlabel.bordercolor"),fontFamily:F("hoverlabel.font.family"),fontSize:F("hoverlabel.font.size"),fontColor:F("hoverlabel.font.color"),nameLength:F("hoverlabel.namelength"),textAlign:F("hoverlabel.align"),hovertemplate:B,hovertemplateLabels:G,eventData:A};_&&(X.x0=j-E.rInscribed*E.rpx1,X.x1=j+E.rInscribed*E.rpx1,X.idealAlign=E.pxmid[0]<0?"left":"right"),k&&(X.x=j,X.idealAlign=j<0?"left":"right");var Q=[];M.loneHover(X,{container:x._hoverlayer.node(),outerContainer:x._paper.node(),gd:c,inOut_bbox:Q}),A[0].bbox=Q[0],y._hasHoverLabel=!0}if(k){var re=o.select("path.surface");m.styleOne(re,E,L,{hovered:!0})}y._hasHoverEvent=!0,c.emit("plotly_hover",{points:A||[u(E,L,m.eventDataKeys)],event:d.event})}}),o.on("mouseout",function(E){var x=c._fullLayout,A=c._fullData[y.index],L=d.select(this).datum();if(y._hasHoverEvent&&(E.originalEvent=d.event,c.emit("plotly_unhover",{points:[u(L,A,m.eventDataKeys)],event:d.event}),y._hasHoverEvent=!1),y._hasHoverLabel&&(M.loneUnhover(x._hoverlayer.node()),y._hasHoverLabel=!1),k){var b=o.select("path.surface");m.styleOne(b,L,A,{hovered:!1})}}),o.on("click",function(E){var x=c._fullLayout,A=c._fullData[y.index],L=_&&(l.isHierarchyRoot(E)||l.isLeaf(E)),b=l.getPtId(E),R=l.isEntry(E)?l.findEntryWithChild(S,b):l.findEntryWithLevel(S,b),I=l.getPtId(R),O={points:[u(E,A,m.eventDataKeys)],event:d.event};L||(O.nextLevel=I);var z=f.triggerHandler(c,"plotly_"+y.type+"click",O);if(z!==!1&&x.hovermode&&(c._hoverdata=[u(E,A,m.eventDataKeys)],M.click(c,d.event)),!L&&z!==!1&&!c._dragging&&!c._transitioning){g.call("_storeDirectGUIEdit",A,x._tracePreGUI[A.uid],{level:A.level});var F={data:[{level:I}],traces:[y.index]},B={frame:{redraw:!1,duration:m.transitionTime},transition:{duration:m.transitionTime,easing:m.transitionEasing},mode:"immediate",fromcurrent:!0};M.loneUnhover(x._hoverlayer.node()),g.call("animate",c,F,B)}})}},2791:function(T,p,t){var d=t(71828),g=t(7901),i=t(6964),M=t(53581);function v(f){return f.data.data.pid}p.findEntryWithLevel=function(f,l){var a;return l&&f.eachAfter(function(u){if(p.getPtId(u)===l)return a=u.copy()}),a||f},p.findEntryWithChild=function(f,l){var a;return f.eachAfter(function(u){for(var o=u.children||[],s=0;s0)},p.getMaxDepth=function(f){return f.maxdepth>=0?f.maxdepth:1/0},p.isHeader=function(f,l){return!(p.isLeaf(f)||f.depth===l._maxDepth-1)},p.getParent=function(f,l){return p.findEntryWithLevel(f,v(l))},p.listPath=function(f,l){var a=f.parent;if(!a)return[];var u=l?[a.data[l]]:[a];return p.listPath(a,l).concat(u)},p.getPath=function(f){return p.listPath(f,"label").join("/")+"/"},p.formatValue=M.formatPieValue,p.formatPercent=function(f,l){var a=d.formatPercent(f,0);return a==="0%"&&(a=M.formatPiePercent(f,l)),a}},87619:function(T,p,t){T.exports={moduleType:"trace",name:"sunburst",basePlotModule:t(66888),categories:[],animatable:!0,attributes:t(57564),layoutAttributes:t(2654),supplyDefaults:t(17094),supplyLayoutDefaults:t(57034),calc:t(52147).calc,crossTraceCalc:t(52147).crossTraceCalc,plot:t(24714).plot,style:t(29969).style,colorbar:t(4898),meta:{}}},2654:function(T){T.exports={sunburstcolorway:{valType:"colorlist",editType:"calc"},extendsunburstcolors:{valType:"boolean",dflt:!0,editType:"calc"}}},57034:function(T,p,t){var d=t(71828),g=t(2654);T.exports=function(i,M){function v(f,l){return d.coerce(i,M,g,f,l)}v("sunburstcolorway",M.colorway),v("extendsunburstcolors")}},24714:function(T,p,t){var d=t(39898),g=t(674),i=t(81684).sX,M=t(91424),v=t(71828),f=t(63893),l=t(72597),a=l.recordMinTextSize,u=l.clearMinTextSize,o=t(14575),s=t(53581).getRotationAngle,c=o.computeTransform,h=o.transformInsideText,m=t(29969).styleOne,w=t(16688).resizeText,y=t(83523),S=t(7055),_=t(2791);function k(x,A,L,b){var R=x._context.staticPlot,I=x._fullLayout,O=!I.uniformtext.mode&&_.hasTransition(b),z=d.select(L).selectAll("g.slice"),F=A[0],B=F.trace,N=F.hierarchy,W=_.findEntryWithLevel(N,B.level),j=_.getMaxDepth(B),$=I._size,U=B.domain,G=$.w*(U.x[1]-U.x[0]),q=$.h*(U.y[1]-U.y[0]),H=.5*Math.min(G,q),ne=F.cx=$.l+$.w*(U.x[1]+U.x[0])/2,te=F.cy=$.t+$.h*(1-U.y[0])-q/2;if(!W)return z.remove();var Z=null,X={};O&&z.each(function(Ce){X[_.getPtId(Ce)]={rpx0:Ce.rpx0,rpx1:Ce.rpx1,x0:Ce.x0,x1:Ce.x1,transform:Ce.transform},!Z&&_.isEntry(Ce)&&(Z=Ce)});var Q=function(Ce){return g.partition().size([2*Math.PI,Ce.height+1])(Ce)}(W).descendants(),re=W.height+1,ie=0,oe=j;F.hasMultipleRoots&&_.isHierarchyRoot(W)&&(Q=Q.slice(1),re-=1,ie=1,oe+=1),Q=Q.filter(function(Ce){return Ce.y1<=oe});var ue=s(B.rotation);ue&&Q.forEach(function(Ce){Ce.x0+=ue,Ce.x1+=ue});var ce=Math.min(re,j),ye=function(Ce){return(Ce-ie)/ce*H},de=function(Ce,ae){return[Ce*Math.cos(ae),-Ce*Math.sin(ae)]},me=function(Ce){return v.pathAnnulus(Ce.rpx0,Ce.rpx1,Ce.x0,Ce.x1,ne,te)},pe=function(Ce){return ne+E(Ce)[0]*(Ce.transform.rCenter||0)+(Ce.transform.x||0)},xe=function(Ce){return te+E(Ce)[1]*(Ce.transform.rCenter||0)+(Ce.transform.y||0)};(z=z.data(Q,_.getPtId)).enter().append("g").classed("slice",!0),O?z.exit().transition().each(function(){var Ce=d.select(this);Ce.select("path.surface").transition().attrTween("d",function(ae){var fe=function(be){var ke,Le=_.getPtId(be),Be=X[Le],ze=X[_.getPtId(W)];if(ze){var je=(be.x1>ze.x1?2*Math.PI:0)+ue;ke=be.rpx1Pe?2*Math.PI:0)+ue;Ee={x0:Ye,x1:Ye}}else Ee={rpx0:H,rpx1:H},v.extendFlat(Ee,Se(we));else Ee={rpx0:0,rpx1:0};else Ee={x0:ue,x1:ue};return i(Ee,$e)}(je);return function(we){return me(ge(we))}}):fe.attr("d",me),ae.call(y,W,x,A,{eventDataKeys:S.eventDataKeys,transitionTime:S.CLICK_TRANSITION_TIME,transitionEasing:S.CLICK_TRANSITION_EASING}).call(_.setSliceCursor,x,{hideOnRoot:!0,hideOnLeaves:!0,isTransitioning:x._transitioning}),fe.call(m,Ce,B);var be=v.ensureSingle(ae,"g","slicetext"),ke=v.ensureSingle(be,"text","",function(je){je.attr("data-notex",1)}),Le=v.ensureUniformFontSize(x,_.determineTextFont(B,Ce,I.font));ke.text(p.formatSliceLabel(Ce,W,B,A,I)).classed("slicetext",!0).attr("text-anchor","middle").call(M.font,Le).call(f.convertToTspans,x);var Be=M.bBox(ke.node());Ce.transform=h(Be,Ce,F),Ce.transform.targetX=pe(Ce),Ce.transform.targetY=xe(Ce);var ze=function(je,ge){var we=je.transform;return c(we,ge),we.fontSize=Le.size,a(B.type,we,I),v.getTextTransform(we)};O?ke.transition().attrTween("transform",function(je){var ge=function(we){var Ee,Ve=X[_.getPtId(we)],$e=we.transform;if(Ve)Ee=Ve;else if(Ee={rpx1:we.rpx1,transform:{textPosAngle:$e.textPosAngle,scale:0,rotate:$e.rotate,rCenter:$e.rCenter,x:$e.x,y:$e.y}},Z)if(we.parent)if(Pe){var Ye=we.x1>Pe?2*Math.PI:0;Ee.x0=Ee.x1=Ye}else v.extendFlat(Ee,Se(we));else Ee.x0=Ee.x1=ue;else Ee.x0=Ee.x1=ue;var st=i(Ee.transform.textPosAngle,we.transform.textPosAngle),ot=i(Ee.rpx1,we.rpx1),ht=i(Ee.x0,we.x0),bt=i(Ee.x1,we.x1),Et=i(Ee.transform.scale,$e.scale),kt=i(Ee.transform.rotate,$e.rotate),xt=$e.rCenter===0?3:Ee.transform.rCenter===0?1/3:1,Ft=i(Ee.transform.rCenter,$e.rCenter);return function(Ot){var Bt=ot(Ot),qt=ht(Ot),Vt=bt(Ot),Ke=function(qe){return Ft(Math.pow(qe,xt))}(Ot),Je={pxmid:de(Bt,(qt+Vt)/2),rpx1:Bt,transform:{textPosAngle:st(Ot),rCenter:Ke,x:$e.x,y:$e.y}};return a(B.type,$e,I),{transform:{targetX:pe(Je),targetY:xe(Je),scale:Et(Ot),rotate:kt(Ot),rCenter:Ke}}}}(je);return function(we){return ze(ge(we),Be)}}):ke.attr("transform",ze(Ce,Be))})}function E(x){return A=x.rpx1,L=x.transform.textPosAngle,[A*Math.sin(L),-A*Math.cos(L)];var A,L}p.plot=function(x,A,L,b){var R,I,O=x._fullLayout,z=O._sunburstlayer,F=!L,B=!O.uniformtext.mode&&_.hasTransition(L);u("sunburst",O),(R=z.selectAll("g.trace.sunburst").data(A,function(N){return N[0].trace.uid})).enter().append("g").classed("trace",!0).classed("sunburst",!0).attr("stroke-linejoin","round"),R.order(),B?(b&&(I=b()),d.transition().duration(L.duration).ease(L.easing).each("end",function(){I&&I()}).each("interrupt",function(){I&&I()}).each(function(){z.selectAll("g.trace").each(function(N){k(x,N,this,L)})})):(R.each(function(N){k(x,N,this,L)}),O.uniformtext.mode&&w(x,O._sunburstlayer.selectAll(".trace"),"sunburst")),F&&R.exit().remove()},p.formatSliceLabel=function(x,A,L,b,R){var I=L.texttemplate,O=L.textinfo;if(!(I||O&&O!=="none"))return"";var z=R.separators,F=b[0],B=x.data.data,N=F.hierarchy,W=_.isHierarchyRoot(x),j=_.getParent(N,x),$=_.getValue(x);if(!I){var U,G=O.split("+"),q=function(oe){return G.indexOf(oe)!==-1},H=[];if(q("label")&&B.label&&H.push(B.label),B.hasOwnProperty("v")&&q("value")&&H.push(_.formatValue(B.v,z)),!W){q("current path")&&H.push(_.getPath(x.data));var ne=0;q("percent parent")&&ne++,q("percent entry")&&ne++,q("percent root")&&ne++;var te=ne>1;if(ne){var Z,X=function(oe){U=_.formatPercent(Z,z),te&&(U+=" of "+oe),H.push(U)};q("percent parent")&&!W&&(Z=$/_.getValue(j),X("parent")),q("percent entry")&&(Z=$/_.getValue(A),X("entry")),q("percent root")&&(Z=$/_.getValue(N),X("root"))}}return q("text")&&(U=v.castOption(L,B.i,"text"),v.isValidTextValue(U)&&H.push(U)),H.join("
")}var Q=v.castOption(L,B.i,"texttemplate");if(!Q)return"";var re={};B.label&&(re.label=B.label),B.hasOwnProperty("v")&&(re.value=B.v,re.valueLabel=_.formatValue(B.v,z)),re.currentPath=_.getPath(x.data),W||(re.percentParent=$/_.getValue(j),re.percentParentLabel=_.formatPercent(re.percentParent,z),re.parent=_.getPtLabel(j)),re.percentEntry=$/_.getValue(A),re.percentEntryLabel=_.formatPercent(re.percentEntry,z),re.entry=_.getPtLabel(A),re.percentRoot=$/_.getValue(N),re.percentRootLabel=_.formatPercent(re.percentRoot,z),re.root=_.getPtLabel(N),B.hasOwnProperty("color")&&(re.color=B.color);var ie=v.castOption(L,B.i,"text");return(v.isValidTextValue(ie)||ie==="")&&(re.text=ie),re.customdata=v.castOption(L,B.i,"customdata"),v.texttemplateString(Q,re,R._d3locale,re,L._meta||{})}},29969:function(T,p,t){var d=t(39898),g=t(7901),i=t(71828),M=t(72597).resizeText;function v(f,l,a){var u=l.data.data,o=!l.children,s=u.i,c=i.castOption(a,s,"marker.line.color")||g.defaultLine,h=i.castOption(a,s,"marker.line.width")||0;f.style("stroke-width",h).call(g.fill,u.color).call(g.stroke,c).style("opacity",o?a.leaf.opacity:null)}T.exports={style:function(f){var l=f._fullLayout._sunburstlayer.selectAll(".trace");M(f,l,"sunburst"),l.each(function(a){var u=d.select(this),o=a[0].trace;u.style("opacity",o.opacity),u.selectAll("path.surface").each(function(s){d.select(this).call(v,s,o)})})},styleOne:v}},54532:function(T,p,t){var d=t(7901),g=t(50693),i=t(12663).axisHoverFormat,M=t(5386).fF,v=t(9012),f=t(1426).extendFlat,l=t(30962).overrideAll;function a(o){return{show:{valType:"boolean",dflt:!1},start:{valType:"number",dflt:null,editType:"plot"},end:{valType:"number",dflt:null,editType:"plot"},size:{valType:"number",dflt:null,min:0,editType:"plot"},project:{x:{valType:"boolean",dflt:!1},y:{valType:"boolean",dflt:!1},z:{valType:"boolean",dflt:!1}},color:{valType:"color",dflt:d.defaultLine},usecolormap:{valType:"boolean",dflt:!1},width:{valType:"number",min:1,max:16,dflt:2},highlight:{valType:"boolean",dflt:!0},highlightcolor:{valType:"color",dflt:d.defaultLine},highlightwidth:{valType:"number",min:1,max:16,dflt:2}}}var u=T.exports=l(f({z:{valType:"data_array"},x:{valType:"data_array"},y:{valType:"data_array"},text:{valType:"string",dflt:"",arrayOk:!0},hovertext:{valType:"string",dflt:"",arrayOk:!0},hovertemplate:M(),xhoverformat:i("x"),yhoverformat:i("y"),zhoverformat:i("z"),connectgaps:{valType:"boolean",dflt:!1,editType:"calc"},surfacecolor:{valType:"data_array"}},g("",{colorAttr:"z or surfacecolor",showScaleDflt:!0,autoColorDflt:!1,editTypeOverride:"calc"}),{contours:{x:a(),y:a(),z:a()},hidesurface:{valType:"boolean",dflt:!1},lightposition:{x:{valType:"number",min:-1e5,max:1e5,dflt:10},y:{valType:"number",min:-1e5,max:1e5,dflt:1e4},z:{valType:"number",min:-1e5,max:1e5,dflt:0}},lighting:{ambient:{valType:"number",min:0,max:1,dflt:.8},diffuse:{valType:"number",min:0,max:1,dflt:.8},specular:{valType:"number",min:0,max:2,dflt:.05},roughness:{valType:"number",min:0,max:1,dflt:.5},fresnel:{valType:"number",min:0,max:5,dflt:.2}},opacity:{valType:"number",min:0,max:1,dflt:1},opacityscale:{valType:"any",editType:"calc"},_deprecated:{zauto:f({},g.zauto,{}),zmin:f({},g.zmin,{}),zmax:f({},g.zmax,{})},hoverinfo:f({},v.hoverinfo),showlegend:f({},v.showlegend,{dflt:!1})}),"calc","nested");u.x.editType=u.y.editType=u.z.editType="calc+clearAxisTypes",u.transforms=void 0},18396:function(T,p,t){var d=t(78803);T.exports=function(g,i){i.surfacecolor?d(g,i,{vals:i.surfacecolor,containerStr:"",cLetter:"c"}):d(g,i,{vals:i.z,containerStr:"",cLetter:"c"})}},43768:function(T,p,t){var d=t(9330).gl_surface3d,g=t(9330).ndarray,i=t(9330).ndarray_linear_interpolate.d2,M=t(824),v=t(43907),f=t(71828).isArrayOrTypedArray,l=t(81697).parseColorScale,a=t(78614),u=t(21081).extractOpts;function o(L,b,R){this.scene=L,this.uid=R,this.surface=b,this.data=null,this.showContour=[!1,!1,!1],this.contourStart=[null,null,null],this.contourEnd=[null,null,null],this.contourSize=[0,0,0],this.minValues=[1/0,1/0,1/0],this.maxValues=[-1/0,-1/0,-1/0],this.dataScaleX=1,this.dataScaleY=1,this.refineData=!0,this.objectOffset=[0,0,0]}var s=o.prototype;s.getXat=function(L,b,R,I){var O=f(this.data.x)?f(this.data.x[0])?this.data.x[b][L]:this.data.x[L]:L;return R===void 0?O:I.d2l(O,0,R)},s.getYat=function(L,b,R,I){var O=f(this.data.y)?f(this.data.y[0])?this.data.y[b][L]:this.data.y[b]:b;return R===void 0?O:I.d2l(O,0,R)},s.getZat=function(L,b,R,I){var O=this.data.z[b][L];return O===null&&this.data.connectgaps&&this.data._interpolatedZ&&(O=this.data._interpolatedZ[b][L]),R===void 0?O:I.d2l(O,0,R)},s.handlePick=function(L){if(L.object===this.surface){var b=(L.data.index[0]-1)/this.dataScaleX-1,R=(L.data.index[1]-1)/this.dataScaleY-1,I=Math.max(Math.min(Math.round(b),this.data.z[0].length-1),0),O=Math.max(Math.min(Math.round(R),this.data._ylength-1),0);L.index=[I,O],L.traceCoordinate=[this.getXat(I,O),this.getYat(I,O),this.getZat(I,O)],L.dataCoordinate=[this.getXat(I,O,this.data.xcalendar,this.scene.fullSceneLayout.xaxis),this.getYat(I,O,this.data.ycalendar,this.scene.fullSceneLayout.yaxis),this.getZat(I,O,this.data.zcalendar,this.scene.fullSceneLayout.zaxis)];for(var z=0;z<3;z++)L.dataCoordinate[z]!=null&&(L.dataCoordinate[z]*=this.scene.dataScale[z]);var F=this.data.hovertext||this.data.text;return Array.isArray(F)&&F[O]&&F[O][I]!==void 0?L.textLabel=F[O][I]:L.textLabel=F||"",L.data.dataCoordinate=L.dataCoordinate.slice(),this.surface.highlight(L.data),this.scene.glplot.spikes.position=L.dataCoordinate,!0}};var c=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997,1009,1013,1019,1021,1031,1033,1039,1049,1051,1061,1063,1069,1087,1091,1093,1097,1103,1109,1117,1123,1129,1151,1153,1163,1171,1181,1187,1193,1201,1213,1217,1223,1229,1231,1237,1249,1259,1277,1279,1283,1289,1291,1297,1301,1303,1307,1319,1321,1327,1361,1367,1373,1381,1399,1409,1423,1427,1429,1433,1439,1447,1451,1453,1459,1471,1481,1483,1487,1489,1493,1499,1511,1523,1531,1543,1549,1553,1559,1567,1571,1579,1583,1597,1601,1607,1609,1613,1619,1621,1627,1637,1657,1663,1667,1669,1693,1697,1699,1709,1721,1723,1733,1741,1747,1753,1759,1777,1783,1787,1789,1801,1811,1823,1831,1847,1861,1867,1871,1873,1877,1879,1889,1901,1907,1913,1931,1933,1949,1951,1973,1979,1987,1993,1997,1999,2003,2011,2017,2027,2029,2039,2053,2063,2069,2081,2083,2087,2089,2099,2111,2113,2129,2131,2137,2141,2143,2153,2161,2179,2203,2207,2213,2221,2237,2239,2243,2251,2267,2269,2273,2281,2287,2293,2297,2309,2311,2333,2339,2341,2347,2351,2357,2371,2377,2381,2383,2389,2393,2399,2411,2417,2423,2437,2441,2447,2459,2467,2473,2477,2503,2521,2531,2539,2543,2549,2551,2557,2579,2591,2593,2609,2617,2621,2633,2647,2657,2659,2663,2671,2677,2683,2687,2689,2693,2699,2707,2711,2713,2719,2729,2731,2741,2749,2753,2767,2777,2789,2791,2797,2801,2803,2819,2833,2837,2843,2851,2857,2861,2879,2887,2897,2903,2909,2917,2927,2939,2953,2957,2963,2969,2971,2999];function h(L,b){if(L0){R=c[I];break}return R}function y(L,b){if(!(L<1||b<1)){for(var R=m(L),I=m(b),O=1,z=0;zk;)R--,R/=w(R),++R<_&&(R=k);var I=Math.round(R/L);return I>1?I:1},s.refineCoords=function(L){for(var b=this.dataScaleX,R=this.dataScaleY,I=L[0].shape[0],O=L[0].shape[1],z=0|Math.floor(L[0].shape[0]*b+1),F=0|Math.floor(L[0].shape[1]*R+1),B=1+I+1,N=1+O+1,W=g(new Float32Array(B*N),[B,N]),j=[1/b,0,0,0,1/R,0,0,0,1],$=0;$0&&this.contourStart[L]!==null&&this.contourEnd[L]!==null&&this.contourEnd[L]>this.contourStart[L]))for(O[L]=!0,b=this.contourStart[L];bO&&(this.minValues[b]=O),this.maxValues[b]",maxDimensionCount:60,overdrag:45,releaseTransitionDuration:120,releaseTransitionEase:"cubic-out",scrollbarCaptureWidth:18,scrollbarHideDelay:1e3,scrollbarHideDuration:1e3,scrollbarOffset:5,scrollbarWidth:8,transitionDuration:100,transitionEase:"cubic-out",uplift:5,wrapSpacer:" ",wrapSplitCharacter:" ",cn:{table:"table",tableControlView:"table-control-view",scrollBackground:"scroll-background",yColumn:"y-column",columnBlock:"column-block",scrollAreaClip:"scroll-area-clip",scrollAreaClipRect:"scroll-area-clip-rect",columnBoundary:"column-boundary",columnBoundaryClippath:"column-boundary-clippath",columnBoundaryRect:"column-boundary-rect",columnCells:"column-cells",columnCell:"column-cell",cellRect:"cell-rect",cellText:"cell-text",cellTextHolder:"cell-text-holder",scrollbarKit:"scrollbar-kit",scrollbar:"scrollbar",scrollbarSlider:"scrollbar-slider",scrollbarGlyph:"scrollbar-glyph",scrollbarCaptureZone:"scrollbar-capture-zone"}}},51018:function(T,p,t){var d=t(49850),g=t(1426).extendFlat,i=t(92770);function M(s){if(Array.isArray(s)){for(var c=0,h=0;h=c||E===s.length-1)&&(m[w]=S,S.key=k++,S.firstRowIndex=_,S.lastRowIndex=E,S={firstRowIndex:null,lastRowIndex:null,rows:[]},w+=y,_=E+1,y=0);return m}T.exports=function(s,c){var h=f(c.cells.values),m=function(W){return W.slice(c.header.values.length,W.length)},w=f(c.header.values);w.length&&!w[0].length&&(w[0]=[""],w=f(w));var y=w.concat(m(h).map(function(){return l((w[0]||[""]).length)})),S=c.domain,_=Math.floor(s._fullLayout._size.w*(S.x[1]-S.x[0])),k=Math.floor(s._fullLayout._size.h*(S.y[1]-S.y[0])),E=c.header.values.length?y[0].map(function(){return c.header.height}):[d.emptyHeaderHeight],x=h.length?h[0].map(function(){return c.cells.height}):[],A=E.reduce(v,0),L=o(x,k-A+d.uplift),b=u(o(E,A),[]),R=u(L,b),I={},O=c._fullInput.columnorder.concat(m(h.map(function(W,j){return j}))),z=y.map(function(W,j){var $=Array.isArray(c.columnwidth)?c.columnwidth[Math.min(j,c.columnwidth.length-1)]:c.columnwidth;return i($)?Number($):1}),F=z.reduce(v,0);z=z.map(function(W){return W/F*_});var B=Math.max(M(c.header.line.width),M(c.cells.line.width)),N={key:c.uid+s._context.staticPlot,translateX:S.x[0]*s._fullLayout._size.w,translateY:s._fullLayout._size.h*(1-S.y[1]),size:s._fullLayout._size,width:_,maxLineWidth:B,height:k,columnOrder:O,groupHeight:k,rowBlocks:R,headerRowBlocks:b,scrollY:0,cells:g({},c.cells,{values:h}),headerCells:g({},c.header,{values:y}),gdColumns:y.map(function(W){return W[0]}),gdColumnsOriginalOrder:y.map(function(W){return W[0]}),prevPages:[0,0],scrollbarState:{scrollbarScrollInProgress:!1},columns:y.map(function(W,j){var $=I[W];return I[W]=($||0)+1,{key:W+"__"+I[W],label:W,specIndex:j,xIndex:O[j],xScale:a,x:void 0,calcdata:void 0,columnWidth:z[j]}})};return N.columns.forEach(function(W){W.calcdata=N,W.x=a(W)}),N}},56269:function(T,p,t){var d=t(1426).extendFlat;p.splitToPanels=function(g){var i=[0,0],M=d({},g,{key:"header",type:"header",page:0,prevPages:i,currentRepaint:[null,null],dragHandle:!0,values:g.calcdata.headerCells.values[g.specIndex],rowBlocks:g.calcdata.headerRowBlocks,calcdata:d({},g.calcdata,{cells:g.calcdata.headerCells})});return[d({},g,{key:"cells1",type:"cells",page:0,prevPages:i,currentRepaint:[null,null],dragHandle:!1,values:g.calcdata.cells.values[g.specIndex],rowBlocks:g.calcdata.rowBlocks}),d({},g,{key:"cells2",type:"cells",page:1,prevPages:i,currentRepaint:[null,null],dragHandle:!1,values:g.calcdata.cells.values[g.specIndex],rowBlocks:g.calcdata.rowBlocks}),M]},p.splitToCells=function(g){var i=function(M){var v=M.rowBlocks[M.page],f=v?v.rows[0].rowIndex:0;return[f,v?f+v.rows.length:0]}(g);return(g.values||[]).slice(i[0],i[1]).map(function(M,v){return{keyWithinBlock:v+(typeof M=="string"&&M.match(/[<$&> ]/)?"_keybuster_"+Math.random():""),key:i[0]+v,column:g,calcdata:g.calcdata,page:g.page,rowBlocks:g.rowBlocks,value:M}})}},39754:function(T,p,t){var d=t(71828),g=t(44464),i=t(27670).c;T.exports=function(M,v,f,l){function a(u,o){return d.coerce(M,v,g,u,o)}i(v,l,a),a("columnwidth"),a("header.values"),a("header.format"),a("header.align"),a("header.prefix"),a("header.suffix"),a("header.height"),a("header.line.width"),a("header.line.color"),a("header.fill.color"),d.coerceFont(a,"header.font",d.extendFlat({},l.font)),function(u,o){for(var s=u.columnorder||[],c=u.header.values.length,h=s.slice(0,c),m=h.slice().sort(function(S,_){return S-_}),w=h.map(function(S){return m.indexOf(S)}),y=w.length;y/i),ue=!ie||oe;Z.mayHaveMarkup=ie&&re.match(/[<&>]/);var ce,ye=typeof(ce=re)=="string"&&ce.match(d.latexCheck);Z.latex=ye;var de,me,pe=ye?"":x(Z.calcdata.cells.prefix,X,Q)||"",xe=ye?"":x(Z.calcdata.cells.suffix,X,Q)||"",Pe=ye?null:x(Z.calcdata.cells.format,X,Q)||null,_e=pe+(Pe?i(Pe)(Z.value):Z.value)+xe;if(Z.wrappingNeeded=!Z.wrapped&&!ue&&!ye&&(de=E(_e)),Z.cellHeightMayIncrease=oe||ye||Z.mayHaveMarkup||(de===void 0?E(_e):de),Z.needsConvertToTspans=Z.mayHaveMarkup||Z.wrappingNeeded||Z.latex,Z.wrappingNeeded){var Me=(d.wrapSplitCharacter===" "?_e.replace(/
me&&de.push(pe),me+=_e}return de}(Z,ie,re);oe.length===1&&(oe[0]===Z.length-1?oe.unshift(oe[0]-1):oe.push(oe[0]+1)),oe[0]%2&&oe.reverse(),H.each(function(ue,ce){ue.page=oe[ce],ue.scrollY=ie}),H.attr("transform",function(ue){var ce=j(ue.rowBlocks,ue.page)-ue.scrollY;return a(0,ce)}),q&&(z(q,ne,H,oe,te.prevPages,te,0),z(q,ne,H,oe,te.prevPages,te,1),S(ne,q))}}function O(q,H,ne,te){return function(Z){var X=Z.calcdata?Z.calcdata:Z,Q=H.filter(function(ue){return X.key===ue.key}),re=ne||X.scrollbarState.dragMultiplier,ie=X.scrollY;X.scrollY=te===void 0?X.scrollY+re*g.event.dy:te;var oe=Q.selectAll("."+d.cn.yColumn).selectAll("."+d.cn.columnBlock).filter(L);return I(q,oe,Q),X.scrollY===ie}}function z(q,H,ne,te,Z,X,Q){te[Q]!==Z[Q]&&(clearTimeout(X.currentRepaint[Q]),X.currentRepaint[Q]=setTimeout(function(){var re=ne.filter(function(ie,oe){return oe===Q&&te[oe]!==Z[oe]});_(q,H,re,ne),Z[Q]=te[Q]}))}function F(q,H,ne,te){return function(){var Z=g.select(H.parentNode);Z.each(function(X){var Q=X.fragments;Z.selectAll("tspan.line").each(function(me,pe){Q[pe].width=this.getComputedTextLength()});var re,ie,oe=Q[Q.length-1].width,ue=Q.slice(0,-1),ce=[],ye=0,de=X.column.columnWidth-2*d.cellPad;for(X.value="";ue.length;)ye+(ie=(re=ue.shift()).width+oe)>de&&(X.value+=ce.join(d.wrapSpacer)+d.lineBreaker,ce=[],ye=0),ce.push(re.text),ye+=ie;ye&&(X.value+=ce.join(d.wrapSpacer)),X.wrapped=!0}),Z.selectAll("tspan.line").remove(),k(Z.select("."+d.cn.cellText),ne,q,te),g.select(H.parentNode.parentNode).call(W)}}function B(q,H,ne,te,Z){return function(){if(!Z.settledY){var X=g.select(H.parentNode),Q=G(Z),re=Z.key-Q.firstRowIndex,ie=Q.rows[re].rowHeight,oe=Z.cellHeightMayIncrease?H.parentNode.getBoundingClientRect().height+2*d.cellPad:ie,ue=Math.max(oe,ie);ue-Q.rows[re].rowHeight&&(Q.rows[re].rowHeight=ue,q.selectAll("."+d.cn.columnCell).call(W),I(null,q.filter(L),0),S(ne,te,!0)),X.attr("transform",function(){var ce=this,ye=ce.parentNode.getBoundingClientRect(),de=g.select(ce.parentNode).select("."+d.cn.cellRect).node().getBoundingClientRect(),me=ce.transform.baseVal.consolidate(),pe=de.top-ye.top+(me?me.matrix.f:d.cellPad);return a(N(Z,g.select(ce.parentNode).select("."+d.cn.cellTextHolder).node().getBoundingClientRect().width),pe)}),Z.settledY=!0}}}function N(q,H){switch(q.align){case"left":default:return d.cellPad;case"right":return q.column.columnWidth-(H||0)-d.cellPad;case"center":return(q.column.columnWidth-(H||0))/2}}function W(q){q.attr("transform",function(H){var ne=H.rowBlocks[0].auxiliaryBlocks.reduce(function(Z,X){return Z+$(X,1/0)},0),te=$(G(H),H.key);return a(0,te+ne)}).selectAll("."+d.cn.cellRect).attr("height",function(H){return(ne=G(H),te=H.key,ne.rows[te-ne.firstRowIndex]).rowHeight;var ne,te})}function j(q,H){for(var ne=0,te=H-1;te>=0;te--)ne+=U(q[te]);return ne}function $(q,H){for(var ne=0,te=0;te","<","|","/","\\"],dflt:">",editType:"plot"},thickness:{valType:"number",min:12,editType:"plot"},textfont:a({},v.textfont,{}),editType:"calc"},text:v.text,textinfo:f.textinfo,texttemplate:g({editType:"plot"},{keys:l.eventDataKeys.concat(["label","value"])}),hovertext:v.hovertext,hoverinfo:f.hoverinfo,hovertemplate:d({},{keys:l.eventDataKeys}),textfont:v.textfont,insidetextfont:v.insidetextfont,outsidetextfont:a({},v.outsidetextfont,{}),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],dflt:"top left",editType:"plot"},sort:v.sort,root:f.root,domain:M({name:"treemap",trace:!0,editType:"calc"})}},78018:function(T,p,t){var d=t(74875);p.name="treemap",p.plot=function(g,i,M,v){d.plotBasePlot(p.name,g,i,M,v)},p.clean=function(g,i,M,v){d.cleanBasePlot(p.name,g,i,M,v)}},65039:function(T,p,t){var d=t(52147);p.y=function(g,i){return d.calc(g,i)},p.T=function(g){return d._runCrossTraceCalc("treemap",g)}},43473:function(T){T.exports={CLICK_TRANSITION_TIME:750,CLICK_TRANSITION_EASING:"poly",eventDataKeys:["currentPath","root","entry","percentRoot","percentEntry","percentParent"],gapWithPathbar:1}},91174:function(T,p,t){var d=t(71828),g=t(45802),i=t(7901),M=t(27670).c,v=t(90769).handleText,f=t(97313).TEXTPAD,l=t(21081),a=l.hasColorscale,u=l.handleDefaults;T.exports=function(o,s,c,h){function m(L,b){return d.coerce(o,s,g,L,b)}var w=m("labels"),y=m("parents");if(w&&w.length&&y&&y.length){var S=m("values");S&&S.length?m("branchvalues"):m("count"),m("level"),m("maxdepth"),m("tiling.packing")==="squarify"&&m("tiling.squarifyratio"),m("tiling.flip"),m("tiling.pad");var _=m("text");m("texttemplate"),s.texttemplate||m("textinfo",Array.isArray(_)?"text+label":"label"),m("hovertext"),m("hovertemplate");var k=m("pathbar.visible");v(o,s,h,m,"auto",{hasPathbar:k,moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),m("textposition");var E=s.textposition.indexOf("bottom")!==-1;m("marker.line.width")&&m("marker.line.color",h.paper_bgcolor);var x=m("marker.colors");(s._hasColorscale=a(o,"marker","colors")||(o.marker||{}).coloraxis)?u(o,s,h,m,{prefix:"marker.",cLetter:"c"}):m("marker.depthfade",!(x||[]).length);var A=2*s.textfont.size;m("marker.pad.t",E?A/4:A),m("marker.pad.l",A/4),m("marker.pad.r",A/4),m("marker.pad.b",E?A:A/4),m("marker.cornerradius"),s._hovered={marker:{line:{width:2,color:i.contrast(h.paper_bgcolor)}}},k&&(m("pathbar.thickness",s.pathbar.textfont.size+2*f),m("pathbar.side"),m("pathbar.edgeshape")),m("sort"),m("root.color"),M(s,h,m),s._length=null}else s.visible=!1}},80694:function(T,p,t){var d=t(39898),g=t(2791),i=t(72597).clearMinTextSize,M=t(16688).resizeText,v=t(46650);T.exports=function(f,l,a,u,o){var s,c,h=o.type,m=o.drawDescendants,w=f._fullLayout,y=w["_"+h+"layer"],S=!a;i(h,w),(s=y.selectAll("g.trace."+h).data(l,function(_){return _[0].trace.uid})).enter().append("g").classed("trace",!0).classed(h,!0),s.order(),!w.uniformtext.mode&&g.hasTransition(a)?(u&&(c=u()),d.transition().duration(a.duration).ease(a.easing).each("end",function(){c&&c()}).each("interrupt",function(){c&&c()}).each(function(){y.selectAll("g.trace").each(function(_){v(f,_,this,a,m)})})):(s.each(function(_){v(f,_,this,a,m)}),w.uniformtext.mode&&M(f,y.selectAll(".trace"),h)),S&&s.exit().remove()}},66209:function(T,p,t){var d=t(39898),g=t(71828),i=t(91424),M=t(63893),v=t(37210),f=t(96362).styleOne,l=t(43473),a=t(2791),u=t(83523),o=!0;T.exports=function(s,c,h,m,w){var y=w.barDifY,S=w.width,_=w.height,k=w.viewX,E=w.viewY,x=w.pathSlice,A=w.toMoveInsideSlice,L=w.strTransform,b=w.hasTransition,R=w.handleSlicesExit,I=w.makeUpdateSliceInterpolator,O=w.makeUpdateTextInterpolator,z={},F=s._context.staticPlot,B=s._fullLayout,N=c[0],W=N.trace,j=N.hierarchy,$=S/W._entryDepth,U=a.listPath(h.data,"id"),G=v(j.copy(),[S,_],{packing:"dice",pad:{inner:0,top:0,left:0,right:0,bottom:0}}).descendants();(G=G.filter(function(H){var ne=U.indexOf(H.data.id);return ne!==-1&&(H.x0=$*ne,H.x1=$*(ne+1),H.y0=y,H.y1=y+_,H.onPathbar=!0,!0)})).reverse(),(m=m.data(G,a.getPtId)).enter().append("g").classed("pathbar",!0),R(m,o,z,[S,_],x),m.order();var q=m;b&&(q=q.transition().each("end",function(){var H=d.select(this);a.setSliceCursor(H,s,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:!1})})),q.each(function(H){H._x0=k(H.x0),H._x1=k(H.x1),H._y0=E(H.y0),H._y1=E(H.y1),H._hoverX=k(H.x1-Math.min(S,_)/2),H._hoverY=E(H.y1-_/2);var ne=d.select(this),te=g.ensureSingle(ne,"path","surface",function(re){re.style("pointer-events",F?"none":"all")});b?te.transition().attrTween("d",function(re){var ie=I(re,o,z,[S,_]);return function(oe){return x(ie(oe))}}):te.attr("d",x),ne.call(u,h,s,c,{styleOne:f,eventDataKeys:l.eventDataKeys,transitionTime:l.CLICK_TRANSITION_TIME,transitionEasing:l.CLICK_TRANSITION_EASING}).call(a.setSliceCursor,s,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:s._transitioning}),te.call(f,H,W,{hovered:!1}),H._text=(a.getPtLabel(H)||"").split("
").join(" ")||"";var Z=g.ensureSingle(ne,"g","slicetext"),X=g.ensureSingle(Z,"text","",function(re){re.attr("data-notex",1)}),Q=g.ensureUniformFontSize(s,a.determineTextFont(W,H,B.font,{onPathbar:!0}));X.text(H._text||" ").classed("slicetext",!0).attr("text-anchor","start").call(i.font,Q).call(M.convertToTspans,s),H.textBB=i.bBox(X.node()),H.transform=A(H,{fontSize:Q.size,onPathbar:!0}),H.transform.fontSize=Q.size,b?X.transition().attrTween("transform",function(re){var ie=O(re,o,z,[S,_]);return function(oe){return L(ie(oe))}}):X.attr("transform",L(H))})}},52583:function(T,p,t){var d=t(39898),g=t(71828),i=t(91424),M=t(63893),v=t(37210),f=t(96362).styleOne,l=t(43473),a=t(2791),u=t(83523),o=t(24714).formatSliceLabel,s=!1;T.exports=function(c,h,m,w,y){var S=y.width,_=y.height,k=y.viewX,E=y.viewY,x=y.pathSlice,A=y.toMoveInsideSlice,L=y.strTransform,b=y.hasTransition,R=y.handleSlicesExit,I=y.makeUpdateSliceInterpolator,O=y.makeUpdateTextInterpolator,z=y.prevEntry,F=c._context.staticPlot,B=c._fullLayout,N=h[0].trace,W=N.textposition.indexOf("left")!==-1,j=N.textposition.indexOf("right")!==-1,$=N.textposition.indexOf("bottom")!==-1,U=!$&&!N.marker.pad.t||$&&!N.marker.pad.b,G=v(m,[S,_],{packing:N.tiling.packing,squarifyratio:N.tiling.squarifyratio,flipX:N.tiling.flip.indexOf("x")>-1,flipY:N.tiling.flip.indexOf("y")>-1,pad:{inner:N.tiling.pad,top:N.marker.pad.t,left:N.marker.pad.l,right:N.marker.pad.r,bottom:N.marker.pad.b}}).descendants(),q=1/0,H=-1/0;G.forEach(function(Q){var re=Q.depth;re>=N._maxDepth?(Q.x0=Q.x1=(Q.x0+Q.x1)/2,Q.y0=Q.y1=(Q.y0+Q.y1)/2):(q=Math.min(q,re),H=Math.max(H,re))}),w=w.data(G,a.getPtId),N._maxVisibleLayers=isFinite(H)?H-q+1:0,w.enter().append("g").classed("slice",!0),R(w,s,{},[S,_],x),w.order();var ne=null;if(b&&z){var te=a.getPtId(z);w.each(function(Q){ne===null&&a.getPtId(Q)===te&&(ne={x0:Q.x0,x1:Q.x1,y0:Q.y0,y1:Q.y1})})}var Z=function(){return ne||{x0:0,x1:S,y0:0,y1:_}},X=w;return b&&(X=X.transition().each("end",function(){var Q=d.select(this);a.setSliceCursor(Q,c,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})})),X.each(function(Q){var re=a.isHeader(Q,N);Q._x0=k(Q.x0),Q._x1=k(Q.x1),Q._y0=E(Q.y0),Q._y1=E(Q.y1),Q._hoverX=k(Q.x1-N.marker.pad.r),Q._hoverY=E($?Q.y1-N.marker.pad.b/2:Q.y0+N.marker.pad.t/2);var ie=d.select(this),oe=g.ensureSingle(ie,"path","surface",function(de){de.style("pointer-events",F?"none":"all")});b?oe.transition().attrTween("d",function(de){var me=I(de,s,Z(),[S,_]);return function(pe){return x(me(pe))}}):oe.attr("d",x),ie.call(u,m,c,h,{styleOne:f,eventDataKeys:l.eventDataKeys,transitionTime:l.CLICK_TRANSITION_TIME,transitionEasing:l.CLICK_TRANSITION_EASING}).call(a.setSliceCursor,c,{isTransitioning:c._transitioning}),oe.call(f,Q,N,{hovered:!1}),Q.x0===Q.x1||Q.y0===Q.y1?Q._text="":Q._text=re?U?"":a.getPtLabel(Q)||"":o(Q,m,N,h,B)||"";var ue=g.ensureSingle(ie,"g","slicetext"),ce=g.ensureSingle(ue,"text","",function(de){de.attr("data-notex",1)}),ye=g.ensureUniformFontSize(c,a.determineTextFont(N,Q,B.font));ce.text(Q._text||" ").classed("slicetext",!0).attr("text-anchor",j?"end":W||re?"start":"middle").call(i.font,ye).call(M.convertToTspans,c),Q.textBB=i.bBox(ce.node()),Q.transform=A(Q,{fontSize:ye.size,isHeader:re}),Q.transform.fontSize=ye.size,b?ce.transition().attrTween("transform",function(de){var me=O(de,s,Z(),[S,_]);return function(pe){return L(me(pe))}}):ce.attr("transform",L(Q))}),ne}},14102:function(T){T.exports=function p(t,d,g){var i;g.swapXY&&(i=t.x0,t.x0=t.y0,t.y0=i,i=t.x1,t.x1=t.y1,t.y1=i),g.flipX&&(i=t.x0,t.x0=d[0]-t.x1,t.x1=d[0]-i),g.flipY&&(i=t.y0,t.y0=d[1]-t.y1,t.y1=d[1]-i);var M=t.children;if(M)for(var v=0;v-1?N+$:-(j+$):0,G={x0:W,x1:W,y0:U,y1:U+j},q=function(ge,we,Ee){var Ve=_.tiling.pad,$e=function(ht){return ht-Ve<=we.x0},Ye=function(ht){return ht+Ve>=we.x1},st=function(ht){return ht-Ve<=we.y0},ot=function(ht){return ht+Ve>=we.y1};return ge.x0===we.x0&&ge.x1===we.x1&&ge.y0===we.y0&&ge.y1===we.y1?{x0:ge.x0,x1:ge.x1,y0:ge.y0,y1:ge.y1}:{x0:$e(ge.x0-Ve)?0:Ye(ge.x0-Ve)?Ee[0]:ge.x0,x1:$e(ge.x1+Ve)?0:Ye(ge.x1+Ve)?Ee[0]:ge.x1,y0:st(ge.y0-Ve)?0:ot(ge.y0-Ve)?Ee[1]:ge.y0,y1:st(ge.y1+Ve)?0:ot(ge.y1+Ve)?Ee[1]:ge.y1}},H=null,ne={},te={},Z=null,X=function(ge,we){return we?ne[o(ge)]:te[o(ge)]};S.hasMultipleRoots&&R&&O++,_._maxDepth=O,_._backgroundColor=y.paper_bgcolor,_._entryDepth=x.data.depth,_._atRootLevel=R;var Q=-B/2+z.l+z.w*(F.x[1]+F.x[0])/2,re=-N/2+z.t+z.h*(1-(F.y[1]+F.y[0])/2),ie=function(ge){return Q+ge},oe=function(ge){return re+ge},ue=oe(0),ce=ie(0),ye=function(ge){return ce+ge},de=function(ge){return ue+ge};function me(ge,we){return ge+","+we}var pe=ye(0),xe=function(ge){ge.x=Math.max(pe,ge.x)},Pe=_.pathbar.edgeshape,_e=_[k?"tiling":"marker"].pad,Me=function(ge){return _.textposition.indexOf(ge)!==-1},Se=Me("top"),Ce=Me("left"),ae=Me("right"),fe=Me("bottom"),be=function(ge,we){var Ee=ge.x0,Ve=ge.x1,$e=ge.y0,Ye=ge.y1,st=ge.textBB,ot=Se||we.isHeader&&!fe?"start":fe?"end":"middle",ht=Me("right"),bt=Me("left")||we.onPathbar?-1:ht?1:0;if(we.isHeader){if((Ee+=(k?_e:_e.l)-v)>=(Ve-=(k?_e:_e.r)-v)){var Et=(Ee+Ve)/2;Ee=Et,Ve=Et}var kt;fe?$e<(kt=Ye-(k?_e:_e.b))&&kt"?(ht.x-=Ye,bt.x-=Ye,Et.x-=Ye,kt.x-=Ye):Pe==="/"?(Et.x-=Ye,kt.x-=Ye,st.x-=Ye/2,ot.x-=Ye/2):Pe==="\\"?(ht.x-=Ye,bt.x-=Ye,st.x-=Ye/2,ot.x-=Ye/2):Pe==="<"&&(st.x-=Ye,ot.x-=Ye),xe(ht),xe(kt),xe(st),xe(bt),xe(Et),xe(ot),"M"+me(ht.x,ht.y)+"L"+me(bt.x,bt.y)+"L"+me(ot.x,ot.y)+"L"+me(Et.x,Et.y)+"L"+me(kt.x,kt.y)+"L"+me(st.x,st.y)+"Z"},toMoveInsideSlice:be,makeUpdateSliceInterpolator:Le,makeUpdateTextInterpolator:Be,handleSlicesExit:ze,hasTransition:I,strTransform:je}):L.remove()}},96362:function(T,p,t){var d=t(39898),g=t(7901),i=t(71828),M=t(2791),v=t(72597).resizeText;function f(l,a,u,o){var s,c,h=(o||{}).hovered,m=a.data.data,w=m.i,y=m.color,S=M.isHierarchyRoot(a),_=1;if(h)s=u._hovered.marker.line.color,c=u._hovered.marker.line.width;else if(S&&y===u.root.color)_=100,s="rgba(0,0,0,0)",c=0;else if(s=i.castOption(u,w,"marker.line.color")||g.defaultLine,c=i.castOption(u,w,"marker.line.width")||0,!u._hasColorscale&&!a.onPathbar){var k=u.marker.depthfade;if(k){var E,x=g.combine(g.addOpacity(u._backgroundColor,.75),y);if(k===!0){var A=M.getMaxDepth(u);E=isFinite(A)?M.isLeaf(a)?0:u._maxVisibleLayers-(a.data.depth-u._entryDepth):a.data.height+1}else E=a.data.depth-u._entryDepth,u._atRootLevel||E++;if(E>0)for(var L=0;L0){var x,A,L,b,R,I=f.xa,O=f.ya;w.orientation==="h"?(R=l,x="y",L=O,A="x",b=I):(R=a,x="x",L=I,A="y",b=O);var z=m[f.index];if(R>=z.span[0]&&R<=z.span[1]){var F=g.extendFlat({},f),B=b.c2p(R,!0),N=v.getKdeValue(z,w,R),W=v.getPositionOnKdePath(z,w,B),j=L._offset,$=L._length;F[x+"0"]=W[0],F[x+"1"]=W[1],F[A+"0"]=F[A+"1"]=B,F[A+"Label"]=A+": "+i.hoverLabelText(b,R,w[A+"hoverformat"])+", "+m[0].t.labels.kde+" "+N.toFixed(3);for(var U=0,G=0;G")),c.color=function(O,z){var F=O[z.dir].marker,B=F.color,N=F.line.color,W=F.line.width;return g(B)?B:g(N)&&W?N:void 0}(m,_),[c]}function I(O){return d(S,O,m[y+"hoverformat"])}}},19990:function(T,p,t){T.exports={attributes:t(43037),layoutAttributes:t(13494),supplyDefaults:t(83266).supplyDefaults,crossTraceDefaults:t(83266).crossTraceDefaults,supplyLayoutDefaults:t(5176),calc:t(52752),crossTraceCalc:t(70766),plot:t(30436),style:t(55750).style,hoverPoints:t(61326),eventData:t(58593),selectPoints:t(81974),moduleType:"trace",name:"waterfall",basePlotModule:t(93612),categories:["bar-like","cartesian","svg","oriented","showLegend","zoomScale"],meta:{}}},13494:function(T){T.exports={waterfallmode:{valType:"enumerated",values:["group","overlay"],dflt:"group",editType:"calc"},waterfallgap:{valType:"number",min:0,max:1,editType:"calc"},waterfallgroupgap:{valType:"number",min:0,max:1,dflt:0,editType:"calc"}}},5176:function(T,p,t){var d=t(71828),g=t(13494);T.exports=function(i,M,v){var f=!1;function l(o,s){return d.coerce(i,M,g,o,s)}for(var a=0;a0&&(N+=A?"M"+F[0]+","+B[1]+"V"+B[0]:"M"+F[1]+","+B[0]+"H"+F[0]),L!=="between"&&(I.isSum||O path").each(function(w){if(!w.isBlank){var y=m[w.dir].marker;d.select(this).call(i.fill,y.color).call(i.stroke,y.line.color).call(g.dashLine,y.line.dash,y.line.width).style("opacity",m.selectedpoints&&!w.selected?M:1)}}),l(h,m,a),h.selectAll(".lines").each(function(){var w=m.connector.line;g.lineGroupStyle(d.select(this).selectAll("path"),w.width,w.color,w.dash)})})}}},82887:function(T,p,t){var d=t(89298),g=t(71828),i=t(86281),M=t(79344).p,v=t(50606).BADNUM;p.moduleType="transform",p.name="aggregate";var f=p.attributes={enabled:{valType:"boolean",dflt:!0,editType:"calc"},groups:{valType:"string",strict:!0,noBlank:!0,arrayOk:!0,dflt:"x",editType:"calc"},aggregations:{_isLinkedToArray:"aggregation",target:{valType:"string",editType:"calc"},func:{valType:"enumerated",values:["count","sum","avg","median","mode","rms","stddev","min","max","first","last","change","range"],dflt:"first",editType:"calc"},funcmode:{valType:"enumerated",values:["sample","population"],dflt:"sample",editType:"calc"},enabled:{valType:"boolean",dflt:!0,editType:"calc"},editType:"calc"},editType:"calc"},l=f.aggregations;function a(c,h,m,w){if(w.enabled){for(var y=w.target,S=g.nestedProperty(h,y),_=S.get(),k=function(A,L){var b=A.func,R=L.d2c,I=L.c2d;switch(b){case"count":return u;case"first":return o;case"last":return s;case"sum":return function(O,z){for(var F=0,B=0;BB&&(B=$,N=j)}}return B?I(N):v};case"rms":return function(O,z){for(var F=0,B=0,N=0;N":return function(H){return q(H)>U};case">=":return function(H){return q(H)>=U};case"[]":return function(H){var ne=q(H);return ne>=U[0]&&ne<=U[1]};case"()":return function(H){var ne=q(H);return ne>U[0]&&ne=U[0]&&neU[0]&&ne<=U[1]};case"][":return function(H){var ne=q(H);return ne<=U[0]||ne>=U[1]};case")(":return function(H){var ne=q(H);return neU[1]};case"](":return function(H){var ne=q(H);return ne<=U[0]||ne>U[1]};case")[":return function(H){var ne=q(H);return ne=U[1]};case"{}":return function(H){return U.indexOf(q(H))!==-1};case"}{":return function(H){return U.indexOf(q(H))===-1}}}(s,i.getDataToCoordFunc(u,o,h,c),w),A={},L={},b=0;S?(k=function(z){A[z.astr]=d.extendDeep([],z.get()),z.set(new Array(m))},E=function(z,F){var B=A[z.astr][F];z.get()[F]=B}):(k=function(z){A[z.astr]=d.extendDeep([],z.get()),z.set([])},E=function(z,F){var B=A[z.astr][F];z.get().push(B)}),O(k);for(var R=M(o.transforms,s),I=0;I1?"%{group} (%{trace})":"%{group}");var c=f.styles,h=o.styles=[];if(c)for(u=0;uk)throw new RangeError('The value "'+ge+'" is invalid for option "size"');var we=new Uint8Array(ge);return Object.setPrototypeOf(we,x.prototype),we}function x(ge,we,Ee){if(typeof ge=="number"){if(typeof we=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return b(ge)}return A(ge,we,Ee)}function A(ge,we,Ee){if(typeof ge=="string")return function(Ye,st){if(typeof st=="string"&&st!==""||(st="utf8"),!x.isEncoding(st))throw new TypeError("Unknown encoding: "+st);var ot=0|z(Ye,st),ht=E(ot),bt=ht.write(Ye,st);return bt!==ot&&(ht=ht.slice(0,bt)),ht}(ge,we);if(ArrayBuffer.isView(ge))return function(Ye){if(ke(Ye,Uint8Array)){var st=new Uint8Array(Ye);return I(st.buffer,st.byteOffset,st.byteLength)}return R(Ye)}(ge);if(ge==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+w(ge));if(ke(ge,ArrayBuffer)||ge&&ke(ge.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(ke(ge,SharedArrayBuffer)||ge&&ke(ge.buffer,SharedArrayBuffer)))return I(ge,we,Ee);if(typeof ge=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var Ve=ge.valueOf&&ge.valueOf();if(Ve!=null&&Ve!==ge)return x.from(Ve,we,Ee);var $e=function(Ye){if(x.isBuffer(Ye)){var st=0|O(Ye.length),ot=E(st);return ot.length===0||Ye.copy(ot,0,0,st),ot}return Ye.length!==void 0?typeof Ye.length!="number"||Le(Ye.length)?E(0):R(Ye):Ye.type==="Buffer"&&Array.isArray(Ye.data)?R(Ye.data):void 0}(ge);if($e)return $e;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof ge[Symbol.toPrimitive]=="function")return x.from(ge[Symbol.toPrimitive]("string"),we,Ee);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+w(ge))}function L(ge){if(typeof ge!="number")throw new TypeError('"size" argument must be of type number');if(ge<0)throw new RangeError('The value "'+ge+'" is invalid for option "size"')}function b(ge){return L(ge),E(ge<0?0:0|O(ge))}function R(ge){for(var we=ge.length<0?0:0|O(ge.length),Ee=E(we),Ve=0;Ve=k)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+k.toString(16)+" bytes");return 0|ge}function z(ge,we){if(x.isBuffer(ge))return ge.length;if(ArrayBuffer.isView(ge)||ke(ge,ArrayBuffer))return ge.byteLength;if(typeof ge!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+w(ge));var Ee=ge.length,Ve=arguments.length>2&&arguments[2]===!0;if(!Ve&&Ee===0)return 0;for(var $e=!1;;)switch(we){case"ascii":case"latin1":case"binary":return Ee;case"utf8":case"utf-8":return ae(ge).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*Ee;case"hex":return Ee>>>1;case"base64":return fe(ge).length;default:if($e)return Ve?-1:ae(ge).length;we=(""+we).toLowerCase(),$e=!0}}function F(ge,we,Ee){var Ve=!1;if((we===void 0||we<0)&&(we=0),we>this.length||((Ee===void 0||Ee>this.length)&&(Ee=this.length),Ee<=0)||(Ee>>>=0)<=(we>>>=0))return"";for(ge||(ge="utf8");;)switch(ge){case"hex":return Q(this,we,Ee);case"utf8":case"utf-8":return ne(this,we,Ee);case"ascii":return Z(this,we,Ee);case"latin1":case"binary":return X(this,we,Ee);case"base64":return H(this,we,Ee);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return re(this,we,Ee);default:if(Ve)throw new TypeError("Unknown encoding: "+ge);ge=(ge+"").toLowerCase(),Ve=!0}}function B(ge,we,Ee){var Ve=ge[we];ge[we]=ge[Ee],ge[Ee]=Ve}function N(ge,we,Ee,Ve,$e){if(ge.length===0)return-1;if(typeof Ee=="string"?(Ve=Ee,Ee=0):Ee>2147483647?Ee=2147483647:Ee<-2147483648&&(Ee=-2147483648),Le(Ee=+Ee)&&(Ee=$e?0:ge.length-1),Ee<0&&(Ee=ge.length+Ee),Ee>=ge.length){if($e)return-1;Ee=ge.length-1}else if(Ee<0){if(!$e)return-1;Ee=0}if(typeof we=="string"&&(we=x.from(we,Ve)),x.isBuffer(we))return we.length===0?-1:W(ge,we,Ee,Ve,$e);if(typeof we=="number")return we&=255,typeof Uint8Array.prototype.indexOf=="function"?$e?Uint8Array.prototype.indexOf.call(ge,we,Ee):Uint8Array.prototype.lastIndexOf.call(ge,we,Ee):W(ge,[we],Ee,Ve,$e);throw new TypeError("val must be string, number or Buffer")}function W(ge,we,Ee,Ve,$e){var Ye,st=1,ot=ge.length,ht=we.length;if(Ve!==void 0&&((Ve=String(Ve).toLowerCase())==="ucs2"||Ve==="ucs-2"||Ve==="utf16le"||Ve==="utf-16le")){if(ge.length<2||we.length<2)return-1;st=2,ot/=2,ht/=2,Ee/=2}function bt(Ft,Ot){return st===1?Ft[Ot]:Ft.readUInt16BE(Ot*st)}if($e){var Et=-1;for(Ye=Ee;Yeot&&(Ee=ot-ht),Ye=Ee;Ye>=0;Ye--){for(var kt=!0,xt=0;xt$e&&(Ve=$e):Ve=$e;var Ye,st=we.length;for(Ve>st/2&&(Ve=st/2),Ye=0;Ye>8,ht=st%256,bt.push(ht),bt.push(ot);return bt}(we,ge.length-Ee),ge,Ee,Ve)}function H(ge,we,Ee){return we===0&&Ee===ge.length?y.fromByteArray(ge):y.fromByteArray(ge.slice(we,Ee))}function ne(ge,we,Ee){Ee=Math.min(ge.length,Ee);for(var Ve=[],$e=we;$e239?4:Ye>223?3:Ye>191?2:1;if($e+ot<=Ee){var ht=void 0,bt=void 0,Et=void 0,kt=void 0;switch(ot){case 1:Ye<128&&(st=Ye);break;case 2:(192&(ht=ge[$e+1]))==128&&(kt=(31&Ye)<<6|63&ht)>127&&(st=kt);break;case 3:ht=ge[$e+1],bt=ge[$e+2],(192&ht)==128&&(192&bt)==128&&(kt=(15&Ye)<<12|(63&ht)<<6|63&bt)>2047&&(kt<55296||kt>57343)&&(st=kt);break;case 4:ht=ge[$e+1],bt=ge[$e+2],Et=ge[$e+3],(192&ht)==128&&(192&bt)==128&&(192&Et)==128&&(kt=(15&Ye)<<18|(63&ht)<<12|(63&bt)<<6|63&Et)>65535&&kt<1114112&&(st=kt)}}st===null?(st=65533,ot=1):st>65535&&(st-=65536,Ve.push(st>>>10&1023|55296),st=56320|1023&st),Ve.push(st),$e+=ot}return function(xt){var Ft=xt.length;if(Ft<=te)return String.fromCharCode.apply(String,xt);for(var Ot="",Bt=0;Bt"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(x.prototype,"parent",{enumerable:!0,get:function(){if(x.isBuffer(this))return this.buffer}}),Object.defineProperty(x.prototype,"offset",{enumerable:!0,get:function(){if(x.isBuffer(this))return this.byteOffset}}),x.poolSize=8192,x.from=function(ge,we,Ee){return A(ge,we,Ee)},Object.setPrototypeOf(x.prototype,Uint8Array.prototype),Object.setPrototypeOf(x,Uint8Array),x.alloc=function(ge,we,Ee){return function(Ve,$e,Ye){return L(Ve),Ve<=0?E(Ve):$e!==void 0?typeof Ye=="string"?E(Ve).fill($e,Ye):E(Ve).fill($e):E(Ve)}(ge,we,Ee)},x.allocUnsafe=function(ge){return b(ge)},x.allocUnsafeSlow=function(ge){return b(ge)},x.isBuffer=function(ge){return ge!=null&&ge._isBuffer===!0&&ge!==x.prototype},x.compare=function(ge,we){if(ke(ge,Uint8Array)&&(ge=x.from(ge,ge.offset,ge.byteLength)),ke(we,Uint8Array)&&(we=x.from(we,we.offset,we.byteLength)),!x.isBuffer(ge)||!x.isBuffer(we))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ge===we)return 0;for(var Ee=ge.length,Ve=we.length,$e=0,Ye=Math.min(Ee,Ve);$eVe.length?(x.isBuffer(Ye)||(Ye=x.from(Ye)),Ye.copy(Ve,$e)):Uint8Array.prototype.set.call(Ve,Ye,$e);else{if(!x.isBuffer(Ye))throw new TypeError('"list" argument must be an Array of Buffers');Ye.copy(Ve,$e)}$e+=Ye.length}return Ve},x.byteLength=z,x.prototype._isBuffer=!0,x.prototype.swap16=function(){var ge=this.length;if(ge%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var we=0;wewe&&(ge+=" ... "),""},_&&(x.prototype[_]=x.prototype.inspect),x.prototype.compare=function(ge,we,Ee,Ve,$e){if(ke(ge,Uint8Array)&&(ge=x.from(ge,ge.offset,ge.byteLength)),!x.isBuffer(ge))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+w(ge));if(we===void 0&&(we=0),Ee===void 0&&(Ee=ge?ge.length:0),Ve===void 0&&(Ve=0),$e===void 0&&($e=this.length),we<0||Ee>ge.length||Ve<0||$e>this.length)throw new RangeError("out of range index");if(Ve>=$e&&we>=Ee)return 0;if(Ve>=$e)return-1;if(we>=Ee)return 1;if(this===ge)return 0;for(var Ye=($e>>>=0)-(Ve>>>=0),st=(Ee>>>=0)-(we>>>=0),ot=Math.min(Ye,st),ht=this.slice(Ve,$e),bt=ge.slice(we,Ee),Et=0;Et>>=0,isFinite(Ee)?(Ee>>>=0,Ve===void 0&&(Ve="utf8")):(Ve=Ee,Ee=void 0)}var $e=this.length-we;if((Ee===void 0||Ee>$e)&&(Ee=$e),ge.length>0&&(Ee<0||we<0)||we>this.length)throw new RangeError("Attempt to write outside buffer bounds");Ve||(Ve="utf8");for(var Ye=!1;;)switch(Ve){case"hex":return j(this,ge,we,Ee);case"utf8":case"utf-8":return $(this,ge,we,Ee);case"ascii":case"latin1":case"binary":return U(this,ge,we,Ee);case"base64":return G(this,ge,we,Ee);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return q(this,ge,we,Ee);default:if(Ye)throw new TypeError("Unknown encoding: "+Ve);Ve=(""+Ve).toLowerCase(),Ye=!0}},x.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var te=4096;function Z(ge,we,Ee){var Ve="";Ee=Math.min(ge.length,Ee);for(var $e=we;$eVe)&&(Ee=Ve);for(var $e="",Ye=we;YeEe)throw new RangeError("Trying to access beyond buffer length")}function oe(ge,we,Ee,Ve,$e,Ye){if(!x.isBuffer(ge))throw new TypeError('"buffer" argument must be a Buffer instance');if(we>$e||wege.length)throw new RangeError("Index out of range")}function ue(ge,we,Ee,Ve,$e){_e(we,Ve,$e,ge,Ee,7);var Ye=Number(we&BigInt(4294967295));ge[Ee++]=Ye,Ye>>=8,ge[Ee++]=Ye,Ye>>=8,ge[Ee++]=Ye,Ye>>=8,ge[Ee++]=Ye;var st=Number(we>>BigInt(32)&BigInt(4294967295));return ge[Ee++]=st,st>>=8,ge[Ee++]=st,st>>=8,ge[Ee++]=st,st>>=8,ge[Ee++]=st,Ee}function ce(ge,we,Ee,Ve,$e){_e(we,Ve,$e,ge,Ee,7);var Ye=Number(we&BigInt(4294967295));ge[Ee+7]=Ye,Ye>>=8,ge[Ee+6]=Ye,Ye>>=8,ge[Ee+5]=Ye,Ye>>=8,ge[Ee+4]=Ye;var st=Number(we>>BigInt(32)&BigInt(4294967295));return ge[Ee+3]=st,st>>=8,ge[Ee+2]=st,st>>=8,ge[Ee+1]=st,st>>=8,ge[Ee]=st,Ee+8}function ye(ge,we,Ee,Ve,$e,Ye){if(Ee+Ve>ge.length)throw new RangeError("Index out of range");if(Ee<0)throw new RangeError("Index out of range")}function de(ge,we,Ee,Ve,$e){return we=+we,Ee>>>=0,$e||ye(ge,0,Ee,4),S.write(ge,we,Ee,Ve,23,4),Ee+4}function me(ge,we,Ee,Ve,$e){return we=+we,Ee>>>=0,$e||ye(ge,0,Ee,8),S.write(ge,we,Ee,Ve,52,8),Ee+8}x.prototype.slice=function(ge,we){var Ee=this.length;(ge=~~ge)<0?(ge+=Ee)<0&&(ge=0):ge>Ee&&(ge=Ee),(we=we===void 0?Ee:~~we)<0?(we+=Ee)<0&&(we=0):we>Ee&&(we=Ee),we>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=this[ge],$e=1,Ye=0;++Ye>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=this[ge+--we],$e=1;we>0&&($e*=256);)Ve+=this[ge+--we]*$e;return Ve},x.prototype.readUint8=x.prototype.readUInt8=function(ge,we){return ge>>>=0,we||ie(ge,1,this.length),this[ge]},x.prototype.readUint16LE=x.prototype.readUInt16LE=function(ge,we){return ge>>>=0,we||ie(ge,2,this.length),this[ge]|this[ge+1]<<8},x.prototype.readUint16BE=x.prototype.readUInt16BE=function(ge,we){return ge>>>=0,we||ie(ge,2,this.length),this[ge]<<8|this[ge+1]},x.prototype.readUint32LE=x.prototype.readUInt32LE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),(this[ge]|this[ge+1]<<8|this[ge+2]<<16)+16777216*this[ge+3]},x.prototype.readUint32BE=x.prototype.readUInt32BE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),16777216*this[ge]+(this[ge+1]<<16|this[ge+2]<<8|this[ge+3])},x.prototype.readBigUInt64LE=ze(function(ge){Me(ge>>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=we+this[++ge]*Math.pow(2,8)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,24),$e=this[++ge]+this[++ge]*Math.pow(2,8)+this[++ge]*Math.pow(2,16)+Ee*Math.pow(2,24);return BigInt(Ve)+(BigInt($e)<>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=we*Math.pow(2,24)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,8)+this[++ge],$e=this[++ge]*Math.pow(2,24)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,8)+Ee;return(BigInt(Ve)<>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=this[ge],$e=1,Ye=0;++Ye=($e*=128)&&(Ve-=Math.pow(2,8*we)),Ve},x.prototype.readIntBE=function(ge,we,Ee){ge>>>=0,we>>>=0,Ee||ie(ge,we,this.length);for(var Ve=we,$e=1,Ye=this[ge+--Ve];Ve>0&&($e*=256);)Ye+=this[ge+--Ve]*$e;return Ye>=($e*=128)&&(Ye-=Math.pow(2,8*we)),Ye},x.prototype.readInt8=function(ge,we){return ge>>>=0,we||ie(ge,1,this.length),128&this[ge]?-1*(255-this[ge]+1):this[ge]},x.prototype.readInt16LE=function(ge,we){ge>>>=0,we||ie(ge,2,this.length);var Ee=this[ge]|this[ge+1]<<8;return 32768&Ee?4294901760|Ee:Ee},x.prototype.readInt16BE=function(ge,we){ge>>>=0,we||ie(ge,2,this.length);var Ee=this[ge+1]|this[ge]<<8;return 32768&Ee?4294901760|Ee:Ee},x.prototype.readInt32LE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),this[ge]|this[ge+1]<<8|this[ge+2]<<16|this[ge+3]<<24},x.prototype.readInt32BE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),this[ge]<<24|this[ge+1]<<16|this[ge+2]<<8|this[ge+3]},x.prototype.readBigInt64LE=ze(function(ge){Me(ge>>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=this[ge+4]+this[ge+5]*Math.pow(2,8)+this[ge+6]*Math.pow(2,16)+(Ee<<24);return(BigInt(Ve)<>>=0,"offset");var we=this[ge],Ee=this[ge+7];we!==void 0&&Ee!==void 0||Se(ge,this.length-8);var Ve=(we<<24)+this[++ge]*Math.pow(2,16)+this[++ge]*Math.pow(2,8)+this[++ge];return(BigInt(Ve)<>>=0,we||ie(ge,4,this.length),S.read(this,ge,!0,23,4)},x.prototype.readFloatBE=function(ge,we){return ge>>>=0,we||ie(ge,4,this.length),S.read(this,ge,!1,23,4)},x.prototype.readDoubleLE=function(ge,we){return ge>>>=0,we||ie(ge,8,this.length),S.read(this,ge,!0,52,8)},x.prototype.readDoubleBE=function(ge,we){return ge>>>=0,we||ie(ge,8,this.length),S.read(this,ge,!1,52,8)},x.prototype.writeUintLE=x.prototype.writeUIntLE=function(ge,we,Ee,Ve){ge=+ge,we>>>=0,Ee>>>=0,Ve||oe(this,ge,we,Ee,Math.pow(2,8*Ee)-1,0);var $e=1,Ye=0;for(this[we]=255≥++Ye>>=0,Ee>>>=0,Ve||oe(this,ge,we,Ee,Math.pow(2,8*Ee)-1,0);var $e=Ee-1,Ye=1;for(this[we+$e]=255≥--$e>=0&&(Ye*=256);)this[we+$e]=ge/Ye&255;return we+Ee},x.prototype.writeUint8=x.prototype.writeUInt8=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,1,255,0),this[we]=255&ge,we+1},x.prototype.writeUint16LE=x.prototype.writeUInt16LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,65535,0),this[we]=255&ge,this[we+1]=ge>>>8,we+2},x.prototype.writeUint16BE=x.prototype.writeUInt16BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,65535,0),this[we]=ge>>>8,this[we+1]=255&ge,we+2},x.prototype.writeUint32LE=x.prototype.writeUInt32LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,4294967295,0),this[we+3]=ge>>>24,this[we+2]=ge>>>16,this[we+1]=ge>>>8,this[we]=255&ge,we+4},x.prototype.writeUint32BE=x.prototype.writeUInt32BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,4294967295,0),this[we]=ge>>>24,this[we+1]=ge>>>16,this[we+2]=ge>>>8,this[we+3]=255&ge,we+4},x.prototype.writeBigUInt64LE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ue(this,ge,we,BigInt(0),BigInt("0xffffffffffffffff"))}),x.prototype.writeBigUInt64BE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ce(this,ge,we,BigInt(0),BigInt("0xffffffffffffffff"))}),x.prototype.writeIntLE=function(ge,we,Ee,Ve){if(ge=+ge,we>>>=0,!Ve){var $e=Math.pow(2,8*Ee-1);oe(this,ge,we,Ee,$e-1,-$e)}var Ye=0,st=1,ot=0;for(this[we]=255≥++Ye>0)-ot&255;return we+Ee},x.prototype.writeIntBE=function(ge,we,Ee,Ve){if(ge=+ge,we>>>=0,!Ve){var $e=Math.pow(2,8*Ee-1);oe(this,ge,we,Ee,$e-1,-$e)}var Ye=Ee-1,st=1,ot=0;for(this[we+Ye]=255≥--Ye>=0&&(st*=256);)ge<0&&ot===0&&this[we+Ye+1]!==0&&(ot=1),this[we+Ye]=(ge/st>>0)-ot&255;return we+Ee},x.prototype.writeInt8=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,1,127,-128),ge<0&&(ge=255+ge+1),this[we]=255&ge,we+1},x.prototype.writeInt16LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,32767,-32768),this[we]=255&ge,this[we+1]=ge>>>8,we+2},x.prototype.writeInt16BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,2,32767,-32768),this[we]=ge>>>8,this[we+1]=255&ge,we+2},x.prototype.writeInt32LE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,2147483647,-2147483648),this[we]=255&ge,this[we+1]=ge>>>8,this[we+2]=ge>>>16,this[we+3]=ge>>>24,we+4},x.prototype.writeInt32BE=function(ge,we,Ee){return ge=+ge,we>>>=0,Ee||oe(this,ge,we,4,2147483647,-2147483648),ge<0&&(ge=4294967295+ge+1),this[we]=ge>>>24,this[we+1]=ge>>>16,this[we+2]=ge>>>8,this[we+3]=255&ge,we+4},x.prototype.writeBigInt64LE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ue(this,ge,we,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),x.prototype.writeBigInt64BE=ze(function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ce(this,ge,we,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),x.prototype.writeFloatLE=function(ge,we,Ee){return de(this,ge,we,!0,Ee)},x.prototype.writeFloatBE=function(ge,we,Ee){return de(this,ge,we,!1,Ee)},x.prototype.writeDoubleLE=function(ge,we,Ee){return me(this,ge,we,!0,Ee)},x.prototype.writeDoubleBE=function(ge,we,Ee){return me(this,ge,we,!1,Ee)},x.prototype.copy=function(ge,we,Ee,Ve){if(!x.isBuffer(ge))throw new TypeError("argument should be a Buffer");if(Ee||(Ee=0),Ve||Ve===0||(Ve=this.length),we>=ge.length&&(we=ge.length),we||(we=0),Ve>0&&Ve=this.length)throw new RangeError("Index out of range");if(Ve<0)throw new RangeError("sourceEnd out of bounds");Ve>this.length&&(Ve=this.length),ge.length-we>>=0,Ee=Ee===void 0?this.length:Ee>>>0,ge||(ge=0),typeof ge=="number")for(Ye=we;Ye"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var Et,kt=m(st);if(ot){var xt=m(this).constructor;Et=Reflect.construct(kt,arguments,xt)}else Et=kt.apply(this,arguments);return c(this,Et)});function bt(){var Et;return u(this,bt),Et=ht.call(this),Object.defineProperty(h(Et),"message",{value:we.apply(h(Et),arguments),writable:!0,configurable:!0}),Et.name="".concat(Et.name," [").concat(ge,"]"),Et.stack,delete Et.name,Et}return $e=bt,(Ye=[{key:"code",get:function(){return ge},set:function(Et){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:Et,writable:!0})}},{key:"toString",value:function(){return"".concat(this.name," [").concat(ge,"]: ").concat(this.message)}}])&&o($e.prototype,Ye),Object.defineProperty($e,"prototype",{writable:!1}),bt}(Ee)}function Pe(ge){for(var we="",Ee=ge.length,Ve=ge[0]==="-"?1:0;Ee>=Ve+4;Ee-=3)we="_".concat(ge.slice(Ee-3,Ee)).concat(we);return"".concat(ge.slice(0,Ee)).concat(we)}function _e(ge,we,Ee,Ve,$e,Ye){if(ge>Ee||ge3?we===0||we===BigInt(0)?">= 0".concat(ot," and < 2").concat(ot," ** ").concat(8*(Ye+1)).concat(ot):">= -(2".concat(ot," ** ").concat(8*(Ye+1)-1).concat(ot,") and < 2 ** ")+"".concat(8*(Ye+1)-1).concat(ot):">= ".concat(we).concat(ot," and <= ").concat(Ee).concat(ot),new pe.ERR_OUT_OF_RANGE("value",st,ge)}(function(ht,bt,Et){Me(bt,"offset"),ht[bt]!==void 0&&ht[bt+Et]!==void 0||Se(bt,ht.length-(Et+1))})(Ve,$e,Ye)}function Me(ge,we){if(typeof ge!="number")throw new pe.ERR_INVALID_ARG_TYPE(we,"number",ge)}function Se(ge,we,Ee){throw Math.floor(ge)!==ge?(Me(ge,Ee),new pe.ERR_OUT_OF_RANGE(Ee||"offset","an integer",ge)):we<0?new pe.ERR_BUFFER_OUT_OF_BOUNDS:new pe.ERR_OUT_OF_RANGE(Ee||"offset",">= ".concat(Ee?1:0," and <= ").concat(we),ge)}xe("ERR_BUFFER_OUT_OF_BOUNDS",function(ge){return ge?"".concat(ge," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"},RangeError),xe("ERR_INVALID_ARG_TYPE",function(ge,we){return'The "'.concat(ge,'" argument must be of type number. Received type ').concat(w(we))},TypeError),xe("ERR_OUT_OF_RANGE",function(ge,we,Ee){var Ve='The value of "'.concat(ge,'" is out of range.'),$e=Ee;return Number.isInteger(Ee)&&Math.abs(Ee)>Math.pow(2,32)?$e=Pe(String(Ee)):typeof Ee=="bigint"&&($e=String(Ee),(Ee>Math.pow(BigInt(2),BigInt(32))||Ee<-Math.pow(BigInt(2),BigInt(32)))&&($e=Pe($e)),$e+="n"),Ve+" It must be ".concat(we,". Received ").concat($e)},RangeError);var Ce=/[^+/0-9A-Za-z-_]/g;function ae(ge,we){var Ee;we=we||1/0;for(var Ve=ge.length,$e=null,Ye=[],st=0;st55295&&Ee<57344){if(!$e){if(Ee>56319){(we-=3)>-1&&Ye.push(239,191,189);continue}if(st+1===Ve){(we-=3)>-1&&Ye.push(239,191,189);continue}$e=Ee;continue}if(Ee<56320){(we-=3)>-1&&Ye.push(239,191,189),$e=Ee;continue}Ee=65536+($e-55296<<10|Ee-56320)}else $e&&(we-=3)>-1&&Ye.push(239,191,189);if($e=null,Ee<128){if((we-=1)<0)break;Ye.push(Ee)}else if(Ee<2048){if((we-=2)<0)break;Ye.push(Ee>>6|192,63&Ee|128)}else if(Ee<65536){if((we-=3)<0)break;Ye.push(Ee>>12|224,Ee>>6&63|128,63&Ee|128)}else{if(!(Ee<1114112))throw new Error("Invalid code point");if((we-=4)<0)break;Ye.push(Ee>>18|240,Ee>>12&63|128,Ee>>6&63|128,63&Ee|128)}}return Ye}function fe(ge){return y.toByteArray(function(we){if((we=(we=we.split("=")[0]).trim().replace(Ce,"")).length<2)return"";for(;we.length%4!=0;)we+="=";return we}(ge))}function be(ge,we,Ee,Ve){var $e;for($e=0;$e=we.length||$e>=ge.length);++$e)we[$e+Ee]=ge[$e];return $e}function ke(ge,we){return ge instanceof we||ge!=null&&ge.constructor!=null&&ge.constructor.name!=null&&ge.constructor.name===we.name}function Le(ge){return ge!=ge}var Be=function(){for(var ge="0123456789abcdef",we=new Array(256),Ee=0;Ee<16;++Ee)for(var Ve=16*Ee,$e=0;$e<16;++$e)we[Ve+$e]=ge[Ee]+ge[$e];return we}();function ze(ge){return typeof BigInt>"u"?je:ge}function je(){throw new Error("BigInt not supported")}},2321:function(f){f.exports=o,f.exports.isMobile=o,f.exports.default=o;var l=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,a=/CrOS/,u=/android|ipad|playbook|silk/i;function o(s){s||(s={});var c=s.ua;if(c||typeof navigator>"u"||(c=navigator.userAgent),c&&c.headers&&typeof c.headers["user-agent"]=="string"&&(c=c.headers["user-agent"]),typeof c!="string")return!1;var h=l.test(c)&&!a.test(c)||!!s.tablet&&u.test(c);return!h&&s.tablet&&s.featureDetect&&navigator&&navigator.maxTouchPoints>1&&c.indexOf("Macintosh")!==-1&&c.indexOf("Safari")!==-1&&(h=!0),h}},3910:function(f,l){l.byteLength=function(y){var S=m(y),_=S[0],k=S[1];return 3*(_+k)/4-k},l.toByteArray=function(y){var S,_,k=m(y),E=k[0],x=k[1],A=new o(function(R,I,O){return 3*(I+O)/4-O}(0,E,x)),L=0,b=x>0?E-4:E;for(_=0;_>16&255,A[L++]=S>>8&255,A[L++]=255&S;return x===2&&(S=u[y.charCodeAt(_)]<<2|u[y.charCodeAt(_+1)]>>4,A[L++]=255&S),x===1&&(S=u[y.charCodeAt(_)]<<10|u[y.charCodeAt(_+1)]<<4|u[y.charCodeAt(_+2)]>>2,A[L++]=S>>8&255,A[L++]=255&S),A},l.fromByteArray=function(y){for(var S,_=y.length,k=_%3,E=[],x=16383,A=0,L=_-k;AL?L:A+x));return k===1?(S=y[_-1],E.push(a[S>>2]+a[S<<4&63]+"==")):k===2&&(S=(y[_-2]<<8)+y[_-1],E.push(a[S>>10]+a[S>>4&63]+a[S<<2&63]+"=")),E.join("")};for(var a=[],u=[],o=typeof Uint8Array<"u"?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=0,h=s.length;c0)throw new Error("Invalid string. Length must be a multiple of 4");var _=y.indexOf("=");return _===-1&&(_=S),[_,_===S?0:4-_%4]}function w(y,S,_){for(var k,E,x=[],A=S;A<_;A+=3)k=(y[A]<<16&16711680)+(y[A+1]<<8&65280)+(255&y[A+2]),x.push(a[(E=k)>>18&63]+a[E>>12&63]+a[E>>6&63]+a[63&E]);return x.join("")}u["-".charCodeAt(0)]=62,u["_".charCodeAt(0)]=63},3187:function(f,l){l.read=function(a,u,o,s,c){var h,m,w=8*c-s-1,y=(1<>1,_=-7,k=o?c-1:0,E=o?-1:1,x=a[u+k];for(k+=E,h=x&(1<<-_)-1,x>>=-_,_+=w;_>0;h=256*h+a[u+k],k+=E,_-=8);for(m=h&(1<<-_)-1,h>>=-_,_+=s;_>0;m=256*m+a[u+k],k+=E,_-=8);if(h===0)h=1-S;else{if(h===y)return m?NaN:1/0*(x?-1:1);m+=Math.pow(2,s),h-=S}return(x?-1:1)*m*Math.pow(2,h-s)},l.write=function(a,u,o,s,c,h){var m,w,y,S=8*h-c-1,_=(1<>1,E=c===23?Math.pow(2,-24)-Math.pow(2,-77):0,x=s?0:h-1,A=s?1:-1,L=u<0||u===0&&1/u<0?1:0;for(u=Math.abs(u),isNaN(u)||u===1/0?(w=isNaN(u)?1:0,m=_):(m=Math.floor(Math.log(u)/Math.LN2),u*(y=Math.pow(2,-m))<1&&(m--,y*=2),(u+=m+k>=1?E/y:E*Math.pow(2,1-k))*y>=2&&(m++,y/=2),m+k>=_?(w=0,m=_):m+k>=1?(w=(u*y-1)*Math.pow(2,c),m+=k):(w=u*Math.pow(2,k-1)*Math.pow(2,c),m=0));c>=8;a[o+x]=255&w,x+=A,w/=256,c-=8);for(m=m<0;a[o+x]=255&m,x+=A,m/=256,S-=8);a[o+x-A]|=128*L}},1152:function(f,l,a){f.exports=function(m){var w=(m=m||{}).eye||[0,0,1],y=m.center||[0,0,0],S=m.up||[0,1,0],_=m.distanceLimits||[0,1/0],k=m.mode||"turntable",E=u(),x=o(),A=s();return E.setDistanceLimits(_[0],_[1]),E.lookAt(0,w,y,S),x.setDistanceLimits(_[0],_[1]),x.lookAt(0,w,y,S),A.setDistanceLimits(_[0],_[1]),A.lookAt(0,w,y,S),new c({turntable:E,orbit:x,matrix:A},k)};var u=a(3440),o=a(7774),s=a(9298);function c(m,w){this._controllerNames=Object.keys(m),this._controllerList=this._controllerNames.map(function(y){return m[y]}),this._mode=w,this._active=m[w],this._active||(this._mode="turntable",this._active=m.turntable),this.modes=this._controllerNames,this.computedMatrix=this._active.computedMatrix,this.computedEye=this._active.computedEye,this.computedUp=this._active.computedUp,this.computedCenter=this._active.computedCenter,this.computedRadius=this._active.computedRadius}var h=c.prototype;h.flush=function(m){for(var w=this._controllerList,y=0;y"u"?a(5346):WeakMap,o=a(5827),s=a(2944),c=new u;f.exports=function(h){var m=c.get(h),w=m&&(m._triangleBuffer.handle||m._triangleBuffer.buffer);if(!w||!h.isBuffer(w)){var y=o(h,new Float32Array([-1,-1,-1,4,4,-1]));(m=s(h,[{buffer:y,type:h.FLOAT,size:2}]))._triangleBuffer=y,c.set(h,m)}m.bind(),h.drawArrays(h.TRIANGLES,0,3),m.unbind()}},8008:function(f,l,a){var u=a(4930);f.exports=function(o,s,c){s=typeof s=="number"?s:1,c=c||": ";var h=o.split(/\r?\n/),m=String(h.length+s-1).length;return h.map(function(w,y){var S=y+s,_=String(S).length;return u(S,m-_)+c+w}).join(` -`)}},2153:function(f,l,a){f.exports=function(s){var c=s.length;if(c===0)return[];if(c===1)return[0];for(var h=s[0].length,m=[s[0]],w=[0],y=1;y0?_=_.ushln(E):E<0&&(k=k.ushln(-E)),h(_,k)}},234:function(f,l,a){var u=a(3218);f.exports=function(o){return Array.isArray(o)&&o.length===2&&u(o[0])&&u(o[1])}},4275:function(f,l,a){var u=a(1928);f.exports=function(o){return o.cmp(new u(0))}},9958:function(f,l,a){var u=a(4275);f.exports=function(o){var s=o.length,c=o.words,h=0;if(s===1)h=c[0];else if(s===2)h=c[0]+67108864*c[1];else for(var m=0;m20?52:h+32}},3218:function(f,l,a){a(1928),f.exports=function(u){return u&&typeof u=="object"&&!!u.words}},5514:function(f,l,a){var u=a(1928),o=a(8362);f.exports=function(s){var c=o.exponent(s);return c<52?new u(s):new u(s*Math.pow(2,52-c)).ushln(c-52)}},8524:function(f,l,a){var u=a(5514),o=a(4275);f.exports=function(s,c){var h=o(s),m=o(c);if(h===0)return[u(0),u(1)];if(m===0)return[u(0),u(0)];m<0&&(s=s.neg(),c=c.neg());var w=s.gcd(c);return w.cmpn(1)?[s.div(w),c.div(w)]:[s,c]}},2813:function(f,l,a){var u=a(1928);f.exports=function(o){return new u(o)}},3962:function(f,l,a){var u=a(8524);f.exports=function(o,s){return u(o[0].mul(s[0]),o[1].mul(s[1]))}},4951:function(f,l,a){var u=a(4275);f.exports=function(o){return u(o[0])*u(o[1])}},4354:function(f,l,a){var u=a(8524);f.exports=function(o,s){return u(o[0].mul(s[1]).sub(o[1].mul(s[0])),o[1].mul(s[1]))}},7999:function(f,l,a){var u=a(9958),o=a(1112);f.exports=function(s){var c=s[0],h=s[1];if(c.cmpn(0)===0)return 0;var m=c.abs().divmod(h.abs()),w=m.div,y=u(w),S=m.mod,_=c.negative!==h.negative?-1:1;if(S.cmpn(0)===0)return _*y;if(y){var k=o(y)+4,E=u(S.ushln(k).divRound(h));return _*(y+E*Math.pow(2,-k))}var x=h.bitLength()-S.bitLength()+53;return E=u(S.ushln(x).divRound(h)),x<1023?_*E*Math.pow(2,-x):_*(E*=Math.pow(2,-1023))*Math.pow(2,1023-x)}},5070:function(f){function l(h,m,w,y,S){for(var _=S+1;y<=S;){var k=y+S>>>1,E=h[k];(w!==void 0?w(E,m):E-m)>=0?(_=k,S=k-1):y=k+1}return _}function a(h,m,w,y,S){for(var _=S+1;y<=S;){var k=y+S>>>1,E=h[k];(w!==void 0?w(E,m):E-m)>0?(_=k,S=k-1):y=k+1}return _}function u(h,m,w,y,S){for(var _=y-1;y<=S;){var k=y+S>>>1,E=h[k];(w!==void 0?w(E,m):E-m)<0?(_=k,y=k+1):S=k-1}return _}function o(h,m,w,y,S){for(var _=y-1;y<=S;){var k=y+S>>>1,E=h[k];(w!==void 0?w(E,m):E-m)<=0?(_=k,y=k+1):S=k-1}return _}function s(h,m,w,y,S){for(;y<=S;){var _=y+S>>>1,k=h[_],E=w!==void 0?w(k,m):k-m;if(E===0)return _;E<=0?y=_+1:S=_-1}return-1}function c(h,m,w,y,S,_){return typeof w=="function"?_(h,m,w,y===void 0?0:0|y,S===void 0?h.length-1:0|S):_(h,m,void 0,w===void 0?0:0|w,y===void 0?h.length-1:0|y)}f.exports={ge:function(h,m,w,y,S){return c(h,m,w,y,S,l)},gt:function(h,m,w,y,S){return c(h,m,w,y,S,a)},lt:function(h,m,w,y,S){return c(h,m,w,y,S,u)},le:function(h,m,w,y,S){return c(h,m,w,y,S,o)},eq:function(h,m,w,y,S){return c(h,m,w,y,S,s)}}},2288:function(f,l){function a(o){var s=32;return(o&=-o)&&s--,65535&o&&(s-=16),16711935&o&&(s-=8),252645135&o&&(s-=4),858993459&o&&(s-=2),1431655765&o&&(s-=1),s}l.INT_BITS=32,l.INT_MAX=2147483647,l.INT_MIN=-2147483648,l.sign=function(o){return(o>0)-(o<0)},l.abs=function(o){var s=o>>31;return(o^s)-s},l.min=function(o,s){return s^(o^s)&-(o65535)<<4,s|=c=((o>>>=s)>255)<<3,s|=c=((o>>>=c)>15)<<2,(s|=c=((o>>>=c)>3)<<1)|(o>>>=c)>>1},l.log10=function(o){return o>=1e9?9:o>=1e8?8:o>=1e7?7:o>=1e6?6:o>=1e5?5:o>=1e4?4:o>=1e3?3:o>=100?2:o>=10?1:0},l.popCount=function(o){return 16843009*((o=(858993459&(o-=o>>>1&1431655765))+(o>>>2&858993459))+(o>>>4)&252645135)>>>24},l.countTrailingZeros=a,l.nextPow2=function(o){return o+=o===0,--o,o|=o>>>1,o|=o>>>2,o|=o>>>4,1+((o|=o>>>8)|o>>>16)},l.prevPow2=function(o){return o|=o>>>1,o|=o>>>2,o|=o>>>4,o|=o>>>8,(o|=o>>>16)-(o>>>1)},l.parity=function(o){return o^=o>>>16,o^=o>>>8,o^=o>>>4,27030>>>(o&=15)&1};var u=new Array(256);(function(o){for(var s=0;s<256;++s){var c=s,h=s,m=7;for(c>>>=1;c;c>>>=1)h<<=1,h|=1&c,--m;o[s]=h<>>8&255]<<16|u[o>>>16&255]<<8|u[o>>>24&255]},l.interleave2=function(o,s){return(o=1431655765&((o=858993459&((o=252645135&((o=16711935&((o&=65535)|o<<8))|o<<4))|o<<2))|o<<1))|(s=1431655765&((s=858993459&((s=252645135&((s=16711935&((s&=65535)|s<<8))|s<<4))|s<<2))|s<<1))<<1},l.deinterleave2=function(o,s){return(o=65535&((o=16711935&((o=252645135&((o=858993459&((o=o>>>s&1431655765)|o>>>1))|o>>>2))|o>>>4))|o>>>16))<<16>>16},l.interleave3=function(o,s,c){return o=1227133513&((o=3272356035&((o=251719695&((o=4278190335&((o&=1023)|o<<16))|o<<8))|o<<4))|o<<2),(o|=(s=1227133513&((s=3272356035&((s=251719695&((s=4278190335&((s&=1023)|s<<16))|s<<8))|s<<4))|s<<2))<<1)|(c=1227133513&((c=3272356035&((c=251719695&((c=4278190335&((c&=1023)|c<<16))|c<<8))|c<<4))|c<<2))<<2},l.deinterleave3=function(o,s){return(o=1023&((o=4278190335&((o=251719695&((o=3272356035&((o=o>>>s&1227133513)|o>>>2))|o>>>4))|o>>>8))|o>>>16))<<22>>22},l.nextCombination=function(o){var s=o|o-1;return s+1|(~s&-~s)-1>>>a(o)+1}},1928:function(f,l,a){(function(u,o){function s(j,$){if(!j)throw new Error($||"Assertion failed")}function c(j,$){j.super_=$;var U=function(){};U.prototype=$.prototype,j.prototype=new U,j.prototype.constructor=j}function h(j,$,U){if(h.isBN(j))return j;this.negative=0,this.words=null,this.length=0,this.red=null,j!==null&&($!=="le"&&$!=="be"||(U=$,$=10),this._init(j||0,$||10,U||"be"))}var m;typeof u=="object"?u.exports=h:o.BN=h,h.BN=h,h.wordSize=26;try{m=typeof window<"u"&&window.Buffer!==void 0?window.Buffer:a(6601).Buffer}catch{}function w(j,$){var U=j.charCodeAt($);return U>=65&&U<=70?U-55:U>=97&&U<=102?U-87:U-48&15}function y(j,$,U){var G=w(j,U);return U-1>=$&&(G|=w(j,U-1)<<4),G}function S(j,$,U,G){for(var q=0,H=Math.min(j.length,U),ne=$;ne=49?te-49+10:te>=17?te-17+10:te}return q}h.isBN=function(j){return j instanceof h||j!==null&&typeof j=="object"&&j.constructor.wordSize===h.wordSize&&Array.isArray(j.words)},h.max=function(j,$){return j.cmp($)>0?j:$},h.min=function(j,$){return j.cmp($)<0?j:$},h.prototype._init=function(j,$,U){if(typeof j=="number")return this._initNumber(j,$,U);if(typeof j=="object")return this._initArray(j,$,U);$==="hex"&&($=16),s($===(0|$)&&$>=2&&$<=36);var G=0;(j=j.toString().replace(/\s+/g,""))[0]==="-"&&(G++,this.negative=1),G=0;G-=3)H=j[G]|j[G-1]<<8|j[G-2]<<16,this.words[q]|=H<>>26-ne&67108863,(ne+=24)>=26&&(ne-=26,q++);else if(U==="le")for(G=0,q=0;G>>26-ne&67108863,(ne+=24)>=26&&(ne-=26,q++);return this.strip()},h.prototype._parseHex=function(j,$,U){this.length=Math.ceil((j.length-$)/6),this.words=new Array(this.length);for(var G=0;G=$;G-=2)q=y(j,$,G)<=18?(H-=18,ne+=1,this.words[ne]|=q>>>26):H+=8;else for(G=(j.length-$)%2==0?$+1:$;G=18?(H-=18,ne+=1,this.words[ne]|=q>>>26):H+=8;this.strip()},h.prototype._parseBase=function(j,$,U){this.words=[0],this.length=1;for(var G=0,q=1;q<=67108863;q*=$)G++;G--,q=q/$|0;for(var H=j.length-U,ne=H%G,te=Math.min(H,H-ne)+U,Z=0,X=U;X1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},h.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},h.prototype.inspect=function(){return(this.red?""};var _=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],k=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],E=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function x(j,$,U){U.negative=$.negative^j.negative;var G=j.length+$.length|0;U.length=G,G=G-1|0;var q=0|j.words[0],H=0|$.words[0],ne=q*H,te=67108863&ne,Z=ne/67108864|0;U.words[0]=te;for(var X=1;X>>26,re=67108863&Z,ie=Math.min(X,$.length-1),oe=Math.max(0,X-j.length+1);oe<=ie;oe++){var ue=X-oe|0;Q+=(ne=(q=0|j.words[ue])*(H=0|$.words[oe])+re)/67108864|0,re=67108863&ne}U.words[X]=0|re,Z=0|Q}return Z!==0?U.words[X]=0|Z:U.length--,U.strip()}h.prototype.toString=function(j,$){var U;if($=0|$||1,(j=j||10)===16||j==="hex"){U="";for(var G=0,q=0,H=0;H>>24-G&16777215)!=0||H!==this.length-1?_[6-te.length]+te+U:te+U,(G+=2)>=26&&(G-=26,H--)}for(q!==0&&(U=q.toString(16)+U);U.length%$!=0;)U="0"+U;return this.negative!==0&&(U="-"+U),U}if(j===(0|j)&&j>=2&&j<=36){var Z=k[j],X=E[j];U="";var Q=this.clone();for(Q.negative=0;!Q.isZero();){var re=Q.modn(X).toString(j);U=(Q=Q.idivn(X)).isZero()?re+U:_[Z-re.length]+re+U}for(this.isZero()&&(U="0"+U);U.length%$!=0;)U="0"+U;return this.negative!==0&&(U="-"+U),U}s(!1,"Base should be between 2 and 36")},h.prototype.toNumber=function(){var j=this.words[0];return this.length===2?j+=67108864*this.words[1]:this.length===3&&this.words[2]===1?j+=4503599627370496+67108864*this.words[1]:this.length>2&&s(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-j:j},h.prototype.toJSON=function(){return this.toString(16)},h.prototype.toBuffer=function(j,$){return s(m!==void 0),this.toArrayLike(m,j,$)},h.prototype.toArray=function(j,$){return this.toArrayLike(Array,j,$)},h.prototype.toArrayLike=function(j,$,U){var G=this.byteLength(),q=U||Math.max(1,G);s(G<=q,"byte array longer than desired length"),s(q>0,"Requested array length <= 0"),this.strip();var H,ne,te=$==="le",Z=new j(q),X=this.clone();if(te){for(ne=0;!X.isZero();ne++)H=X.andln(255),X.iushrn(8),Z[ne]=H;for(;ne=4096&&(U+=13,$>>>=13),$>=64&&(U+=7,$>>>=7),$>=8&&(U+=4,$>>>=4),$>=2&&(U+=2,$>>>=2),U+$},h.prototype._zeroBits=function(j){if(j===0)return 26;var $=j,U=0;return!(8191&$)&&(U+=13,$>>>=13),!(127&$)&&(U+=7,$>>>=7),!(15&$)&&(U+=4,$>>>=4),!(3&$)&&(U+=2,$>>>=2),!(1&$)&&U++,U},h.prototype.bitLength=function(){var j=this.words[this.length-1],$=this._countBits(j);return 26*(this.length-1)+$},h.prototype.zeroBits=function(){if(this.isZero())return 0;for(var j=0,$=0;$j.length?this.clone().ior(j):j.clone().ior(this)},h.prototype.uor=function(j){return this.length>j.length?this.clone().iuor(j):j.clone().iuor(this)},h.prototype.iuand=function(j){var $;$=this.length>j.length?j:this;for(var U=0;U<$.length;U++)this.words[U]=this.words[U]&j.words[U];return this.length=$.length,this.strip()},h.prototype.iand=function(j){return s((this.negative|j.negative)==0),this.iuand(j)},h.prototype.and=function(j){return this.length>j.length?this.clone().iand(j):j.clone().iand(this)},h.prototype.uand=function(j){return this.length>j.length?this.clone().iuand(j):j.clone().iuand(this)},h.prototype.iuxor=function(j){var $,U;this.length>j.length?($=this,U=j):($=j,U=this);for(var G=0;Gj.length?this.clone().ixor(j):j.clone().ixor(this)},h.prototype.uxor=function(j){return this.length>j.length?this.clone().iuxor(j):j.clone().iuxor(this)},h.prototype.inotn=function(j){s(typeof j=="number"&&j>=0);var $=0|Math.ceil(j/26),U=j%26;this._expand($),U>0&&$--;for(var G=0;G<$;G++)this.words[G]=67108863&~this.words[G];return U>0&&(this.words[G]=~this.words[G]&67108863>>26-U),this.strip()},h.prototype.notn=function(j){return this.clone().inotn(j)},h.prototype.setn=function(j,$){s(typeof j=="number"&&j>=0);var U=j/26|0,G=j%26;return this._expand(U+1),this.words[U]=$?this.words[U]|1<j.length?(U=this,G=j):(U=j,G=this);for(var q=0,H=0;H>>26;for(;q!==0&&H>>26;if(this.length=U.length,q!==0)this.words[this.length]=q,this.length++;else if(U!==this)for(;Hj.length?this.clone().iadd(j):j.clone().iadd(this)},h.prototype.isub=function(j){if(j.negative!==0){j.negative=0;var $=this.iadd(j);return j.negative=1,$._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(j),this.negative=1,this._normSign();var U,G,q=this.cmp(j);if(q===0)return this.negative=0,this.length=1,this.words[0]=0,this;q>0?(U=this,G=j):(U=j,G=this);for(var H=0,ne=0;ne>26,this.words[ne]=67108863&$;for(;H!==0&&ne>26,this.words[ne]=67108863&$;if(H===0&&ne>>13,oe=0|ne[1],ue=8191&oe,ce=oe>>>13,ye=0|ne[2],de=8191&ye,me=ye>>>13,pe=0|ne[3],xe=8191&pe,Pe=pe>>>13,_e=0|ne[4],Me=8191&_e,Se=_e>>>13,Ce=0|ne[5],ae=8191&Ce,fe=Ce>>>13,be=0|ne[6],ke=8191&be,Le=be>>>13,Be=0|ne[7],ze=8191&Be,je=Be>>>13,ge=0|ne[8],we=8191&ge,Ee=ge>>>13,Ve=0|ne[9],$e=8191&Ve,Ye=Ve>>>13,st=0|te[0],ot=8191&st,ht=st>>>13,bt=0|te[1],Et=8191&bt,kt=bt>>>13,xt=0|te[2],Ft=8191&xt,Ot=xt>>>13,Bt=0|te[3],qt=8191&Bt,Vt=Bt>>>13,Ke=0|te[4],Je=8191&Ke,qe=Ke>>>13,nt=0|te[5],ft=8191&nt,Re=nt>>>13,Ne=0|te[6],Qe=8191&Ne,ut=Ne>>>13,dt=0|te[7],_t=8191&dt,It=dt>>>13,Lt=0|te[8],yt=8191&Lt,Pt=Lt>>>13,wt=0|te[9],Rt=8191&wt,Nt=wt>>>13;U.negative=j.negative^$.negative,U.length=19;var Yt=(X+(G=Math.imul(re,ot))|0)+((8191&(q=(q=Math.imul(re,ht))+Math.imul(ie,ot)|0))<<13)|0;X=((H=Math.imul(ie,ht))+(q>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,G=Math.imul(ue,ot),q=(q=Math.imul(ue,ht))+Math.imul(ce,ot)|0,H=Math.imul(ce,ht);var Wt=(X+(G=G+Math.imul(re,Et)|0)|0)+((8191&(q=(q=q+Math.imul(re,kt)|0)+Math.imul(ie,Et)|0))<<13)|0;X=((H=H+Math.imul(ie,kt)|0)+(q>>>13)|0)+(Wt>>>26)|0,Wt&=67108863,G=Math.imul(de,ot),q=(q=Math.imul(de,ht))+Math.imul(me,ot)|0,H=Math.imul(me,ht),G=G+Math.imul(ue,Et)|0,q=(q=q+Math.imul(ue,kt)|0)+Math.imul(ce,Et)|0,H=H+Math.imul(ce,kt)|0;var Xt=(X+(G=G+Math.imul(re,Ft)|0)|0)+((8191&(q=(q=q+Math.imul(re,Ot)|0)+Math.imul(ie,Ft)|0))<<13)|0;X=((H=H+Math.imul(ie,Ot)|0)+(q>>>13)|0)+(Xt>>>26)|0,Xt&=67108863,G=Math.imul(xe,ot),q=(q=Math.imul(xe,ht))+Math.imul(Pe,ot)|0,H=Math.imul(Pe,ht),G=G+Math.imul(de,Et)|0,q=(q=q+Math.imul(de,kt)|0)+Math.imul(me,Et)|0,H=H+Math.imul(me,kt)|0,G=G+Math.imul(ue,Ft)|0,q=(q=q+Math.imul(ue,Ot)|0)+Math.imul(ce,Ft)|0,H=H+Math.imul(ce,Ot)|0;var Qt=(X+(G=G+Math.imul(re,qt)|0)|0)+((8191&(q=(q=q+Math.imul(re,Vt)|0)+Math.imul(ie,qt)|0))<<13)|0;X=((H=H+Math.imul(ie,Vt)|0)+(q>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,G=Math.imul(Me,ot),q=(q=Math.imul(Me,ht))+Math.imul(Se,ot)|0,H=Math.imul(Se,ht),G=G+Math.imul(xe,Et)|0,q=(q=q+Math.imul(xe,kt)|0)+Math.imul(Pe,Et)|0,H=H+Math.imul(Pe,kt)|0,G=G+Math.imul(de,Ft)|0,q=(q=q+Math.imul(de,Ot)|0)+Math.imul(me,Ft)|0,H=H+Math.imul(me,Ot)|0,G=G+Math.imul(ue,qt)|0,q=(q=q+Math.imul(ue,Vt)|0)+Math.imul(ce,qt)|0,H=H+Math.imul(ce,Vt)|0;var rn=(X+(G=G+Math.imul(re,Je)|0)|0)+((8191&(q=(q=q+Math.imul(re,qe)|0)+Math.imul(ie,Je)|0))<<13)|0;X=((H=H+Math.imul(ie,qe)|0)+(q>>>13)|0)+(rn>>>26)|0,rn&=67108863,G=Math.imul(ae,ot),q=(q=Math.imul(ae,ht))+Math.imul(fe,ot)|0,H=Math.imul(fe,ht),G=G+Math.imul(Me,Et)|0,q=(q=q+Math.imul(Me,kt)|0)+Math.imul(Se,Et)|0,H=H+Math.imul(Se,kt)|0,G=G+Math.imul(xe,Ft)|0,q=(q=q+Math.imul(xe,Ot)|0)+Math.imul(Pe,Ft)|0,H=H+Math.imul(Pe,Ot)|0,G=G+Math.imul(de,qt)|0,q=(q=q+Math.imul(de,Vt)|0)+Math.imul(me,qt)|0,H=H+Math.imul(me,Vt)|0,G=G+Math.imul(ue,Je)|0,q=(q=q+Math.imul(ue,qe)|0)+Math.imul(ce,Je)|0,H=H+Math.imul(ce,qe)|0;var xn=(X+(G=G+Math.imul(re,ft)|0)|0)+((8191&(q=(q=q+Math.imul(re,Re)|0)+Math.imul(ie,ft)|0))<<13)|0;X=((H=H+Math.imul(ie,Re)|0)+(q>>>13)|0)+(xn>>>26)|0,xn&=67108863,G=Math.imul(ke,ot),q=(q=Math.imul(ke,ht))+Math.imul(Le,ot)|0,H=Math.imul(Le,ht),G=G+Math.imul(ae,Et)|0,q=(q=q+Math.imul(ae,kt)|0)+Math.imul(fe,Et)|0,H=H+Math.imul(fe,kt)|0,G=G+Math.imul(Me,Ft)|0,q=(q=q+Math.imul(Me,Ot)|0)+Math.imul(Se,Ft)|0,H=H+Math.imul(Se,Ot)|0,G=G+Math.imul(xe,qt)|0,q=(q=q+Math.imul(xe,Vt)|0)+Math.imul(Pe,qt)|0,H=H+Math.imul(Pe,Vt)|0,G=G+Math.imul(de,Je)|0,q=(q=q+Math.imul(de,qe)|0)+Math.imul(me,Je)|0,H=H+Math.imul(me,qe)|0,G=G+Math.imul(ue,ft)|0,q=(q=q+Math.imul(ue,Re)|0)+Math.imul(ce,ft)|0,H=H+Math.imul(ce,Re)|0;var un=(X+(G=G+Math.imul(re,Qe)|0)|0)+((8191&(q=(q=q+Math.imul(re,ut)|0)+Math.imul(ie,Qe)|0))<<13)|0;X=((H=H+Math.imul(ie,ut)|0)+(q>>>13)|0)+(un>>>26)|0,un&=67108863,G=Math.imul(ze,ot),q=(q=Math.imul(ze,ht))+Math.imul(je,ot)|0,H=Math.imul(je,ht),G=G+Math.imul(ke,Et)|0,q=(q=q+Math.imul(ke,kt)|0)+Math.imul(Le,Et)|0,H=H+Math.imul(Le,kt)|0,G=G+Math.imul(ae,Ft)|0,q=(q=q+Math.imul(ae,Ot)|0)+Math.imul(fe,Ft)|0,H=H+Math.imul(fe,Ot)|0,G=G+Math.imul(Me,qt)|0,q=(q=q+Math.imul(Me,Vt)|0)+Math.imul(Se,qt)|0,H=H+Math.imul(Se,Vt)|0,G=G+Math.imul(xe,Je)|0,q=(q=q+Math.imul(xe,qe)|0)+Math.imul(Pe,Je)|0,H=H+Math.imul(Pe,qe)|0,G=G+Math.imul(de,ft)|0,q=(q=q+Math.imul(de,Re)|0)+Math.imul(me,ft)|0,H=H+Math.imul(me,Re)|0,G=G+Math.imul(ue,Qe)|0,q=(q=q+Math.imul(ue,ut)|0)+Math.imul(ce,Qe)|0,H=H+Math.imul(ce,ut)|0;var An=(X+(G=G+Math.imul(re,_t)|0)|0)+((8191&(q=(q=q+Math.imul(re,It)|0)+Math.imul(ie,_t)|0))<<13)|0;X=((H=H+Math.imul(ie,It)|0)+(q>>>13)|0)+(An>>>26)|0,An&=67108863,G=Math.imul(we,ot),q=(q=Math.imul(we,ht))+Math.imul(Ee,ot)|0,H=Math.imul(Ee,ht),G=G+Math.imul(ze,Et)|0,q=(q=q+Math.imul(ze,kt)|0)+Math.imul(je,Et)|0,H=H+Math.imul(je,kt)|0,G=G+Math.imul(ke,Ft)|0,q=(q=q+Math.imul(ke,Ot)|0)+Math.imul(Le,Ft)|0,H=H+Math.imul(Le,Ot)|0,G=G+Math.imul(ae,qt)|0,q=(q=q+Math.imul(ae,Vt)|0)+Math.imul(fe,qt)|0,H=H+Math.imul(fe,Vt)|0,G=G+Math.imul(Me,Je)|0,q=(q=q+Math.imul(Me,qe)|0)+Math.imul(Se,Je)|0,H=H+Math.imul(Se,qe)|0,G=G+Math.imul(xe,ft)|0,q=(q=q+Math.imul(xe,Re)|0)+Math.imul(Pe,ft)|0,H=H+Math.imul(Pe,Re)|0,G=G+Math.imul(de,Qe)|0,q=(q=q+Math.imul(de,ut)|0)+Math.imul(me,Qe)|0,H=H+Math.imul(me,ut)|0,G=G+Math.imul(ue,_t)|0,q=(q=q+Math.imul(ue,It)|0)+Math.imul(ce,_t)|0,H=H+Math.imul(ce,It)|0;var Yn=(X+(G=G+Math.imul(re,yt)|0)|0)+((8191&(q=(q=q+Math.imul(re,Pt)|0)+Math.imul(ie,yt)|0))<<13)|0;X=((H=H+Math.imul(ie,Pt)|0)+(q>>>13)|0)+(Yn>>>26)|0,Yn&=67108863,G=Math.imul($e,ot),q=(q=Math.imul($e,ht))+Math.imul(Ye,ot)|0,H=Math.imul(Ye,ht),G=G+Math.imul(we,Et)|0,q=(q=q+Math.imul(we,kt)|0)+Math.imul(Ee,Et)|0,H=H+Math.imul(Ee,kt)|0,G=G+Math.imul(ze,Ft)|0,q=(q=q+Math.imul(ze,Ot)|0)+Math.imul(je,Ft)|0,H=H+Math.imul(je,Ot)|0,G=G+Math.imul(ke,qt)|0,q=(q=q+Math.imul(ke,Vt)|0)+Math.imul(Le,qt)|0,H=H+Math.imul(Le,Vt)|0,G=G+Math.imul(ae,Je)|0,q=(q=q+Math.imul(ae,qe)|0)+Math.imul(fe,Je)|0,H=H+Math.imul(fe,qe)|0,G=G+Math.imul(Me,ft)|0,q=(q=q+Math.imul(Me,Re)|0)+Math.imul(Se,ft)|0,H=H+Math.imul(Se,Re)|0,G=G+Math.imul(xe,Qe)|0,q=(q=q+Math.imul(xe,ut)|0)+Math.imul(Pe,Qe)|0,H=H+Math.imul(Pe,ut)|0,G=G+Math.imul(de,_t)|0,q=(q=q+Math.imul(de,It)|0)+Math.imul(me,_t)|0,H=H+Math.imul(me,It)|0,G=G+Math.imul(ue,yt)|0,q=(q=q+Math.imul(ue,Pt)|0)+Math.imul(ce,yt)|0,H=H+Math.imul(ce,Pt)|0;var kn=(X+(G=G+Math.imul(re,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(re,Nt)|0)+Math.imul(ie,Rt)|0))<<13)|0;X=((H=H+Math.imul(ie,Nt)|0)+(q>>>13)|0)+(kn>>>26)|0,kn&=67108863,G=Math.imul($e,Et),q=(q=Math.imul($e,kt))+Math.imul(Ye,Et)|0,H=Math.imul(Ye,kt),G=G+Math.imul(we,Ft)|0,q=(q=q+Math.imul(we,Ot)|0)+Math.imul(Ee,Ft)|0,H=H+Math.imul(Ee,Ot)|0,G=G+Math.imul(ze,qt)|0,q=(q=q+Math.imul(ze,Vt)|0)+Math.imul(je,qt)|0,H=H+Math.imul(je,Vt)|0,G=G+Math.imul(ke,Je)|0,q=(q=q+Math.imul(ke,qe)|0)+Math.imul(Le,Je)|0,H=H+Math.imul(Le,qe)|0,G=G+Math.imul(ae,ft)|0,q=(q=q+Math.imul(ae,Re)|0)+Math.imul(fe,ft)|0,H=H+Math.imul(fe,Re)|0,G=G+Math.imul(Me,Qe)|0,q=(q=q+Math.imul(Me,ut)|0)+Math.imul(Se,Qe)|0,H=H+Math.imul(Se,ut)|0,G=G+Math.imul(xe,_t)|0,q=(q=q+Math.imul(xe,It)|0)+Math.imul(Pe,_t)|0,H=H+Math.imul(Pe,It)|0,G=G+Math.imul(de,yt)|0,q=(q=q+Math.imul(de,Pt)|0)+Math.imul(me,yt)|0,H=H+Math.imul(me,Pt)|0;var sn=(X+(G=G+Math.imul(ue,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(ue,Nt)|0)+Math.imul(ce,Rt)|0))<<13)|0;X=((H=H+Math.imul(ce,Nt)|0)+(q>>>13)|0)+(sn>>>26)|0,sn&=67108863,G=Math.imul($e,Ft),q=(q=Math.imul($e,Ot))+Math.imul(Ye,Ft)|0,H=Math.imul(Ye,Ot),G=G+Math.imul(we,qt)|0,q=(q=q+Math.imul(we,Vt)|0)+Math.imul(Ee,qt)|0,H=H+Math.imul(Ee,Vt)|0,G=G+Math.imul(ze,Je)|0,q=(q=q+Math.imul(ze,qe)|0)+Math.imul(je,Je)|0,H=H+Math.imul(je,qe)|0,G=G+Math.imul(ke,ft)|0,q=(q=q+Math.imul(ke,Re)|0)+Math.imul(Le,ft)|0,H=H+Math.imul(Le,Re)|0,G=G+Math.imul(ae,Qe)|0,q=(q=q+Math.imul(ae,ut)|0)+Math.imul(fe,Qe)|0,H=H+Math.imul(fe,ut)|0,G=G+Math.imul(Me,_t)|0,q=(q=q+Math.imul(Me,It)|0)+Math.imul(Se,_t)|0,H=H+Math.imul(Se,It)|0,G=G+Math.imul(xe,yt)|0,q=(q=q+Math.imul(xe,Pt)|0)+Math.imul(Pe,yt)|0,H=H+Math.imul(Pe,Pt)|0;var Tn=(X+(G=G+Math.imul(de,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(de,Nt)|0)+Math.imul(me,Rt)|0))<<13)|0;X=((H=H+Math.imul(me,Nt)|0)+(q>>>13)|0)+(Tn>>>26)|0,Tn&=67108863,G=Math.imul($e,qt),q=(q=Math.imul($e,Vt))+Math.imul(Ye,qt)|0,H=Math.imul(Ye,Vt),G=G+Math.imul(we,Je)|0,q=(q=q+Math.imul(we,qe)|0)+Math.imul(Ee,Je)|0,H=H+Math.imul(Ee,qe)|0,G=G+Math.imul(ze,ft)|0,q=(q=q+Math.imul(ze,Re)|0)+Math.imul(je,ft)|0,H=H+Math.imul(je,Re)|0,G=G+Math.imul(ke,Qe)|0,q=(q=q+Math.imul(ke,ut)|0)+Math.imul(Le,Qe)|0,H=H+Math.imul(Le,ut)|0,G=G+Math.imul(ae,_t)|0,q=(q=q+Math.imul(ae,It)|0)+Math.imul(fe,_t)|0,H=H+Math.imul(fe,It)|0,G=G+Math.imul(Me,yt)|0,q=(q=q+Math.imul(Me,Pt)|0)+Math.imul(Se,yt)|0,H=H+Math.imul(Se,Pt)|0;var dn=(X+(G=G+Math.imul(xe,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(xe,Nt)|0)+Math.imul(Pe,Rt)|0))<<13)|0;X=((H=H+Math.imul(Pe,Nt)|0)+(q>>>13)|0)+(dn>>>26)|0,dn&=67108863,G=Math.imul($e,Je),q=(q=Math.imul($e,qe))+Math.imul(Ye,Je)|0,H=Math.imul(Ye,qe),G=G+Math.imul(we,ft)|0,q=(q=q+Math.imul(we,Re)|0)+Math.imul(Ee,ft)|0,H=H+Math.imul(Ee,Re)|0,G=G+Math.imul(ze,Qe)|0,q=(q=q+Math.imul(ze,ut)|0)+Math.imul(je,Qe)|0,H=H+Math.imul(je,ut)|0,G=G+Math.imul(ke,_t)|0,q=(q=q+Math.imul(ke,It)|0)+Math.imul(Le,_t)|0,H=H+Math.imul(Le,It)|0,G=G+Math.imul(ae,yt)|0,q=(q=q+Math.imul(ae,Pt)|0)+Math.imul(fe,yt)|0,H=H+Math.imul(fe,Pt)|0;var pn=(X+(G=G+Math.imul(Me,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(Me,Nt)|0)+Math.imul(Se,Rt)|0))<<13)|0;X=((H=H+Math.imul(Se,Nt)|0)+(q>>>13)|0)+(pn>>>26)|0,pn&=67108863,G=Math.imul($e,ft),q=(q=Math.imul($e,Re))+Math.imul(Ye,ft)|0,H=Math.imul(Ye,Re),G=G+Math.imul(we,Qe)|0,q=(q=q+Math.imul(we,ut)|0)+Math.imul(Ee,Qe)|0,H=H+Math.imul(Ee,ut)|0,G=G+Math.imul(ze,_t)|0,q=(q=q+Math.imul(ze,It)|0)+Math.imul(je,_t)|0,H=H+Math.imul(je,It)|0,G=G+Math.imul(ke,yt)|0,q=(q=q+Math.imul(ke,Pt)|0)+Math.imul(Le,yt)|0,H=H+Math.imul(Le,Pt)|0;var Dn=(X+(G=G+Math.imul(ae,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(ae,Nt)|0)+Math.imul(fe,Rt)|0))<<13)|0;X=((H=H+Math.imul(fe,Nt)|0)+(q>>>13)|0)+(Dn>>>26)|0,Dn&=67108863,G=Math.imul($e,Qe),q=(q=Math.imul($e,ut))+Math.imul(Ye,Qe)|0,H=Math.imul(Ye,ut),G=G+Math.imul(we,_t)|0,q=(q=q+Math.imul(we,It)|0)+Math.imul(Ee,_t)|0,H=H+Math.imul(Ee,It)|0,G=G+Math.imul(ze,yt)|0,q=(q=q+Math.imul(ze,Pt)|0)+Math.imul(je,yt)|0,H=H+Math.imul(je,Pt)|0;var In=(X+(G=G+Math.imul(ke,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(ke,Nt)|0)+Math.imul(Le,Rt)|0))<<13)|0;X=((H=H+Math.imul(Le,Nt)|0)+(q>>>13)|0)+(In>>>26)|0,In&=67108863,G=Math.imul($e,_t),q=(q=Math.imul($e,It))+Math.imul(Ye,_t)|0,H=Math.imul(Ye,It),G=G+Math.imul(we,yt)|0,q=(q=q+Math.imul(we,Pt)|0)+Math.imul(Ee,yt)|0,H=H+Math.imul(Ee,Pt)|0;var jn=(X+(G=G+Math.imul(ze,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(ze,Nt)|0)+Math.imul(je,Rt)|0))<<13)|0;X=((H=H+Math.imul(je,Nt)|0)+(q>>>13)|0)+(jn>>>26)|0,jn&=67108863,G=Math.imul($e,yt),q=(q=Math.imul($e,Pt))+Math.imul(Ye,yt)|0,H=Math.imul(Ye,Pt);var Gn=(X+(G=G+Math.imul(we,Rt)|0)|0)+((8191&(q=(q=q+Math.imul(we,Nt)|0)+Math.imul(Ee,Rt)|0))<<13)|0;X=((H=H+Math.imul(Ee,Nt)|0)+(q>>>13)|0)+(Gn>>>26)|0,Gn&=67108863;var qn=(X+(G=Math.imul($e,Rt))|0)+((8191&(q=(q=Math.imul($e,Nt))+Math.imul(Ye,Rt)|0))<<13)|0;return X=((H=Math.imul(Ye,Nt))+(q>>>13)|0)+(qn>>>26)|0,qn&=67108863,Z[0]=Yt,Z[1]=Wt,Z[2]=Xt,Z[3]=Qt,Z[4]=rn,Z[5]=xn,Z[6]=un,Z[7]=An,Z[8]=Yn,Z[9]=kn,Z[10]=sn,Z[11]=Tn,Z[12]=dn,Z[13]=pn,Z[14]=Dn,Z[15]=In,Z[16]=jn,Z[17]=Gn,Z[18]=qn,X!==0&&(Z[19]=X,U.length++),U};function L(j,$,U){return new b().mulp(j,$,U)}function b(j,$){this.x=j,this.y=$}Math.imul||(A=x),h.prototype.mulTo=function(j,$){var U,G=this.length+j.length;return U=this.length===10&&j.length===10?A(this,j,$):G<63?x(this,j,$):G<1024?function(q,H,ne){ne.negative=H.negative^q.negative,ne.length=q.length+H.length;for(var te=0,Z=0,X=0;X>>26)|0)>>>26,Q&=67108863}ne.words[X]=re,te=Q,Q=Z}return te!==0?ne.words[X]=te:ne.length--,ne.strip()}(this,j,$):L(this,j,$),U},b.prototype.makeRBT=function(j){for(var $=new Array(j),U=h.prototype._countBits(j)-1,G=0;G>=1;return G},b.prototype.permute=function(j,$,U,G,q,H){for(var ne=0;ne>>=1)q++;return 1<>>=13,U[2*H+1]=8191&q,q>>>=13;for(H=2*$;H>=26,$+=G/67108864|0,$+=q>>>26,this.words[U]=67108863&q}return $!==0&&(this.words[U]=$,this.length++),this},h.prototype.muln=function(j){return this.clone().imuln(j)},h.prototype.sqr=function(){return this.mul(this)},h.prototype.isqr=function(){return this.imul(this.clone())},h.prototype.pow=function(j){var $=function(H){for(var ne=new Array(H.bitLength()),te=0;te>>X}return ne}(j);if($.length===0)return new h(1);for(var U=this,G=0;G<$.length&&$[G]===0;G++,U=U.sqr());if(++G<$.length)for(var q=U.sqr();G<$.length;G++,q=q.sqr())$[G]!==0&&(U=U.mul(q));return U},h.prototype.iushln=function(j){s(typeof j=="number"&&j>=0);var $,U=j%26,G=(j-U)/26,q=67108863>>>26-U<<26-U;if(U!==0){var H=0;for($=0;$>>26-U}H&&(this.words[$]=H,this.length++)}if(G!==0){for($=this.length-1;$>=0;$--)this.words[$+G]=this.words[$];for($=0;$=0),G=$?($-$%26)/26:0;var q=j%26,H=Math.min((j-q)/26,this.length),ne=67108863^67108863>>>q<H)for(this.length-=H,Z=0;Z=0&&(X!==0||Z>=G);Z--){var Q=0|this.words[Z];this.words[Z]=X<<26-q|Q>>>q,X=Q&ne}return te&&X!==0&&(te.words[te.length++]=X),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},h.prototype.ishrn=function(j,$,U){return s(this.negative===0),this.iushrn(j,$,U)},h.prototype.shln=function(j){return this.clone().ishln(j)},h.prototype.ushln=function(j){return this.clone().iushln(j)},h.prototype.shrn=function(j){return this.clone().ishrn(j)},h.prototype.ushrn=function(j){return this.clone().iushrn(j)},h.prototype.testn=function(j){s(typeof j=="number"&&j>=0);var $=j%26,U=(j-$)/26,G=1<<$;return!(this.length<=U||!(this.words[U]&G))},h.prototype.imaskn=function(j){s(typeof j=="number"&&j>=0);var $=j%26,U=(j-$)/26;if(s(this.negative===0,"imaskn works only with positive numbers"),this.length<=U)return this;if($!==0&&U++,this.length=Math.min(U,this.length),$!==0){var G=67108863^67108863>>>$<<$;this.words[this.length-1]&=G}return this.strip()},h.prototype.maskn=function(j){return this.clone().imaskn(j)},h.prototype.iaddn=function(j){return s(typeof j=="number"),s(j<67108864),j<0?this.isubn(-j):this.negative!==0?this.length===1&&(0|this.words[0])=67108864;$++)this.words[$]-=67108864,$===this.length-1?this.words[$+1]=1:this.words[$+1]++;return this.length=Math.max(this.length,$+1),this},h.prototype.isubn=function(j){if(s(typeof j=="number"),s(j<67108864),j<0)return this.iaddn(-j);if(this.negative!==0)return this.negative=0,this.iaddn(j),this.negative=1,this;if(this.words[0]-=j,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var $=0;$>26)-(te/67108864|0),this.words[G+U]=67108863&q}for(;G>26,this.words[G+U]=67108863&q;if(ne===0)return this.strip();for(s(ne===-1),ne=0,G=0;G>26,this.words[G]=67108863&q;return this.negative=1,this.strip()},h.prototype._wordDiv=function(j,$){var U=(this.length,j.length),G=this.clone(),q=j,H=0|q.words[q.length-1];(U=26-this._countBits(H))!=0&&(q=q.ushln(U),G.iushln(U),H=0|q.words[q.length-1]);var ne,te=G.length-q.length;if($!=="mod"){(ne=new h(null)).length=te+1,ne.words=new Array(ne.length);for(var Z=0;Z=0;Q--){var re=67108864*(0|G.words[q.length+Q])+(0|G.words[q.length+Q-1]);for(re=Math.min(re/H|0,67108863),G._ishlnsubmul(q,re,Q);G.negative!==0;)re--,G.negative=0,G._ishlnsubmul(q,1,Q),G.isZero()||(G.negative^=1);ne&&(ne.words[Q]=re)}return ne&&ne.strip(),G.strip(),$!=="div"&&U!==0&&G.iushrn(U),{div:ne||null,mod:G}},h.prototype.divmod=function(j,$,U){return s(!j.isZero()),this.isZero()?{div:new h(0),mod:new h(0)}:this.negative!==0&&j.negative===0?(H=this.neg().divmod(j,$),$!=="mod"&&(G=H.div.neg()),$!=="div"&&(q=H.mod.neg(),U&&q.negative!==0&&q.iadd(j)),{div:G,mod:q}):this.negative===0&&j.negative!==0?(H=this.divmod(j.neg(),$),$!=="mod"&&(G=H.div.neg()),{div:G,mod:H.mod}):this.negative&j.negative?(H=this.neg().divmod(j.neg(),$),$!=="div"&&(q=H.mod.neg(),U&&q.negative!==0&&q.isub(j)),{div:H.div,mod:q}):j.length>this.length||this.cmp(j)<0?{div:new h(0),mod:this}:j.length===1?$==="div"?{div:this.divn(j.words[0]),mod:null}:$==="mod"?{div:null,mod:new h(this.modn(j.words[0]))}:{div:this.divn(j.words[0]),mod:new h(this.modn(j.words[0]))}:this._wordDiv(j,$);var G,q,H},h.prototype.div=function(j){return this.divmod(j,"div",!1).div},h.prototype.mod=function(j){return this.divmod(j,"mod",!1).mod},h.prototype.umod=function(j){return this.divmod(j,"mod",!0).mod},h.prototype.divRound=function(j){var $=this.divmod(j);if($.mod.isZero())return $.div;var U=$.div.negative!==0?$.mod.isub(j):$.mod,G=j.ushrn(1),q=j.andln(1),H=U.cmp(G);return H<0||q===1&&H===0?$.div:$.div.negative!==0?$.div.isubn(1):$.div.iaddn(1)},h.prototype.modn=function(j){s(j<=67108863);for(var $=67108864%j,U=0,G=this.length-1;G>=0;G--)U=($*U+(0|this.words[G]))%j;return U},h.prototype.idivn=function(j){s(j<=67108863);for(var $=0,U=this.length-1;U>=0;U--){var G=(0|this.words[U])+67108864*$;this.words[U]=G/j|0,$=G%j}return this.strip()},h.prototype.divn=function(j){return this.clone().idivn(j)},h.prototype.egcd=function(j){s(j.negative===0),s(!j.isZero());var $=this,U=j.clone();$=$.negative!==0?$.umod(j):$.clone();for(var G=new h(1),q=new h(0),H=new h(0),ne=new h(1),te=0;$.isEven()&&U.isEven();)$.iushrn(1),U.iushrn(1),++te;for(var Z=U.clone(),X=$.clone();!$.isZero();){for(var Q=0,re=1;!($.words[0]&re)&&Q<26;++Q,re<<=1);if(Q>0)for($.iushrn(Q);Q-- >0;)(G.isOdd()||q.isOdd())&&(G.iadd(Z),q.isub(X)),G.iushrn(1),q.iushrn(1);for(var ie=0,oe=1;!(U.words[0]&oe)&&ie<26;++ie,oe<<=1);if(ie>0)for(U.iushrn(ie);ie-- >0;)(H.isOdd()||ne.isOdd())&&(H.iadd(Z),ne.isub(X)),H.iushrn(1),ne.iushrn(1);$.cmp(U)>=0?($.isub(U),G.isub(H),q.isub(ne)):(U.isub($),H.isub(G),ne.isub(q))}return{a:H,b:ne,gcd:U.iushln(te)}},h.prototype._invmp=function(j){s(j.negative===0),s(!j.isZero());var $=this,U=j.clone();$=$.negative!==0?$.umod(j):$.clone();for(var G,q=new h(1),H=new h(0),ne=U.clone();$.cmpn(1)>0&&U.cmpn(1)>0;){for(var te=0,Z=1;!($.words[0]&Z)&&te<26;++te,Z<<=1);if(te>0)for($.iushrn(te);te-- >0;)q.isOdd()&&q.iadd(ne),q.iushrn(1);for(var X=0,Q=1;!(U.words[0]&Q)&&X<26;++X,Q<<=1);if(X>0)for(U.iushrn(X);X-- >0;)H.isOdd()&&H.iadd(ne),H.iushrn(1);$.cmp(U)>=0?($.isub(U),q.isub(H)):(U.isub($),H.isub(q))}return(G=$.cmpn(1)===0?q:H).cmpn(0)<0&&G.iadd(j),G},h.prototype.gcd=function(j){if(this.isZero())return j.abs();if(j.isZero())return this.abs();var $=this.clone(),U=j.clone();$.negative=0,U.negative=0;for(var G=0;$.isEven()&&U.isEven();G++)$.iushrn(1),U.iushrn(1);for(;;){for(;$.isEven();)$.iushrn(1);for(;U.isEven();)U.iushrn(1);var q=$.cmp(U);if(q<0){var H=$;$=U,U=H}else if(q===0||U.cmpn(1)===0)break;$.isub(U)}return U.iushln(G)},h.prototype.invm=function(j){return this.egcd(j).a.umod(j)},h.prototype.isEven=function(){return(1&this.words[0])==0},h.prototype.isOdd=function(){return(1&this.words[0])==1},h.prototype.andln=function(j){return this.words[0]&j},h.prototype.bincn=function(j){s(typeof j=="number");var $=j%26,U=(j-$)/26,G=1<<$;if(this.length<=U)return this._expand(U+1),this.words[U]|=G,this;for(var q=G,H=U;q!==0&&H>>26,ne&=67108863,this.words[H]=ne}return q!==0&&(this.words[H]=q,this.length++),this},h.prototype.isZero=function(){return this.length===1&&this.words[0]===0},h.prototype.cmpn=function(j){var $,U=j<0;if(this.negative!==0&&!U)return-1;if(this.negative===0&&U)return 1;if(this.strip(),this.length>1)$=1;else{U&&(j=-j),s(j<=67108863,"Number is too big");var G=0|this.words[0];$=G===j?0:Gj.length)return 1;if(this.length=0;U--){var G=0|this.words[U],q=0|j.words[U];if(G!==q){Gq&&($=1);break}}return $},h.prototype.gtn=function(j){return this.cmpn(j)===1},h.prototype.gt=function(j){return this.cmp(j)===1},h.prototype.gten=function(j){return this.cmpn(j)>=0},h.prototype.gte=function(j){return this.cmp(j)>=0},h.prototype.ltn=function(j){return this.cmpn(j)===-1},h.prototype.lt=function(j){return this.cmp(j)===-1},h.prototype.lten=function(j){return this.cmpn(j)<=0},h.prototype.lte=function(j){return this.cmp(j)<=0},h.prototype.eqn=function(j){return this.cmpn(j)===0},h.prototype.eq=function(j){return this.cmp(j)===0},h.red=function(j){return new N(j)},h.prototype.toRed=function(j){return s(!this.red,"Already a number in reduction context"),s(this.negative===0,"red works only with positives"),j.convertTo(this)._forceRed(j)},h.prototype.fromRed=function(){return s(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},h.prototype._forceRed=function(j){return this.red=j,this},h.prototype.forceRed=function(j){return s(!this.red,"Already a number in reduction context"),this._forceRed(j)},h.prototype.redAdd=function(j){return s(this.red,"redAdd works only with red numbers"),this.red.add(this,j)},h.prototype.redIAdd=function(j){return s(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,j)},h.prototype.redSub=function(j){return s(this.red,"redSub works only with red numbers"),this.red.sub(this,j)},h.prototype.redISub=function(j){return s(this.red,"redISub works only with red numbers"),this.red.isub(this,j)},h.prototype.redShl=function(j){return s(this.red,"redShl works only with red numbers"),this.red.shl(this,j)},h.prototype.redMul=function(j){return s(this.red,"redMul works only with red numbers"),this.red._verify2(this,j),this.red.mul(this,j)},h.prototype.redIMul=function(j){return s(this.red,"redMul works only with red numbers"),this.red._verify2(this,j),this.red.imul(this,j)},h.prototype.redSqr=function(){return s(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},h.prototype.redISqr=function(){return s(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},h.prototype.redSqrt=function(){return s(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},h.prototype.redInvm=function(){return s(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},h.prototype.redNeg=function(){return s(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},h.prototype.redPow=function(j){return s(this.red&&!j.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,j)};var R={k256:null,p224:null,p192:null,p25519:null};function I(j,$){this.name=j,this.p=new h($,16),this.n=this.p.bitLength(),this.k=new h(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function O(){I.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function z(){I.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function F(){I.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function B(){I.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function N(j){if(typeof j=="string"){var $=h._prime(j);this.m=$.p,this.prime=$}else s(j.gtn(1),"modulus must be greater than 1"),this.m=j,this.prime=null}function W(j){N.call(this,j),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new h(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}I.prototype._tmp=function(){var j=new h(null);return j.words=new Array(Math.ceil(this.n/13)),j},I.prototype.ireduce=function(j){var $,U=j;do this.split(U,this.tmp),$=(U=(U=this.imulK(U)).iadd(this.tmp)).bitLength();while($>this.n);var G=$0?U.isub(this.p):U.strip!==void 0?U.strip():U._strip(),U},I.prototype.split=function(j,$){j.iushrn(this.n,0,$)},I.prototype.imulK=function(j){return j.imul(this.k)},c(O,I),O.prototype.split=function(j,$){for(var U=4194303,G=Math.min(j.length,9),q=0;q>>22,H=ne}H>>>=22,j.words[q-10]=H,H===0&&j.length>10?j.length-=10:j.length-=9},O.prototype.imulK=function(j){j.words[j.length]=0,j.words[j.length+1]=0,j.length+=2;for(var $=0,U=0;U>>=26,j.words[U]=q,$=G}return $!==0&&(j.words[j.length++]=$),j},h._prime=function(j){if(R[j])return R[j];var $;if(j==="k256")$=new O;else if(j==="p224")$=new z;else if(j==="p192")$=new F;else{if(j!=="p25519")throw new Error("Unknown prime "+j);$=new B}return R[j]=$,$},N.prototype._verify1=function(j){s(j.negative===0,"red works only with positives"),s(j.red,"red works only with red numbers")},N.prototype._verify2=function(j,$){s((j.negative|$.negative)==0,"red works only with positives"),s(j.red&&j.red===$.red,"red works only with red numbers")},N.prototype.imod=function(j){return this.prime?this.prime.ireduce(j)._forceRed(this):j.umod(this.m)._forceRed(this)},N.prototype.neg=function(j){return j.isZero()?j.clone():this.m.sub(j)._forceRed(this)},N.prototype.add=function(j,$){this._verify2(j,$);var U=j.add($);return U.cmp(this.m)>=0&&U.isub(this.m),U._forceRed(this)},N.prototype.iadd=function(j,$){this._verify2(j,$);var U=j.iadd($);return U.cmp(this.m)>=0&&U.isub(this.m),U},N.prototype.sub=function(j,$){this._verify2(j,$);var U=j.sub($);return U.cmpn(0)<0&&U.iadd(this.m),U._forceRed(this)},N.prototype.isub=function(j,$){this._verify2(j,$);var U=j.isub($);return U.cmpn(0)<0&&U.iadd(this.m),U},N.prototype.shl=function(j,$){return this._verify1(j),this.imod(j.ushln($))},N.prototype.imul=function(j,$){return this._verify2(j,$),this.imod(j.imul($))},N.prototype.mul=function(j,$){return this._verify2(j,$),this.imod(j.mul($))},N.prototype.isqr=function(j){return this.imul(j,j.clone())},N.prototype.sqr=function(j){return this.mul(j,j)},N.prototype.sqrt=function(j){if(j.isZero())return j.clone();var $=this.m.andln(3);if(s($%2==1),$===3){var U=this.m.add(new h(1)).iushrn(2);return this.pow(j,U)}for(var G=this.m.subn(1),q=0;!G.isZero()&&G.andln(1)===0;)q++,G.iushrn(1);s(!G.isZero());var H=new h(1).toRed(this),ne=H.redNeg(),te=this.m.subn(1).iushrn(1),Z=this.m.bitLength();for(Z=new h(2*Z*Z).toRed(this);this.pow(Z,te).cmp(ne)!==0;)Z.redIAdd(ne);for(var X=this.pow(Z,G),Q=this.pow(j,G.addn(1).iushrn(1)),re=this.pow(j,G),ie=q;re.cmp(H)!==0;){for(var oe=re,ue=0;oe.cmp(H)!==0;ue++)oe=oe.redSqr();s(ue=0;G--){for(var Z=$.words[G],X=te-1;X>=0;X--){var Q=Z>>X&1;q!==U[0]&&(q=this.sqr(q)),Q!==0||H!==0?(H<<=1,H|=Q,(++ne==4||G===0&&X===0)&&(q=this.mul(q,U[H]),ne=0,H=0)):ne=0}te=26}return q},N.prototype.convertTo=function(j){var $=j.umod(this.m);return $===j?$.clone():$},N.prototype.convertFrom=function(j){var $=j.clone();return $.red=null,$},h.mont=function(j){return new W(j)},c(W,N),W.prototype.convertTo=function(j){return this.imod(j.ushln(this.shift))},W.prototype.convertFrom=function(j){var $=this.imod(j.mul(this.rinv));return $.red=null,$},W.prototype.imul=function(j,$){if(j.isZero()||$.isZero())return j.words[0]=0,j.length=1,j;var U=j.imul($),G=U.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),q=U.isub(G).iushrn(this.shift),H=q;return q.cmp(this.m)>=0?H=q.isub(this.m):q.cmpn(0)<0&&(H=q.iadd(this.m)),H._forceRed(this)},W.prototype.mul=function(j,$){if(j.isZero()||$.isZero())return new h(0)._forceRed(this);var U=j.mul($),G=U.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),q=U.isub(G).iushrn(this.shift),H=q;return q.cmp(this.m)>=0?H=q.isub(this.m):q.cmpn(0)<0&&(H=q.iadd(this.m)),H._forceRed(this)},W.prototype.invm=function(j){return this.imod(j._invmp(this.m).mul(this.r2))._forceRed(this)}})(f=a.nmd(f),this)},2692:function(f){f.exports=function(l){var a,u,o,s=l.length,c=0;for(a=0;a>>1;if(!(R<=0)){var I,O=o.mallocDouble(2*R*L),z=o.mallocInt32(L);if((L=m(k,R,O,z))>0){if(R===1&&A)s.init(L),I=s.sweepComplete(R,x,0,L,O,z,0,L,O,z);else{var F=o.mallocDouble(2*R*b),B=o.mallocInt32(b);(b=m(E,R,F,B))>0&&(s.init(L+b),I=R===1?s.sweepBipartite(R,x,0,L,O,z,0,b,F,B):c(R,x,A,L,O,z,b,F,B),o.free(F),o.free(B))}o.free(O),o.free(z)}return I}}}function y(k,E){u.push([k,E])}function S(k){return u=[],w(k,k,y,!0),u}function _(k,E){return u=[],w(k,E,y,!1),u}},7333:function(f,l){function a(u){return u?function(o,s,c,h,m,w,y,S,_,k,E){return m-h>_-S?function(x,A,L,b,R,I,O,z,F,B,N){for(var W=2*x,j=b,$=W*b;jk-_?h?function(A,L,b,R,I,O,z,F,B,N,W){for(var j=2*A,$=R,U=j*R;$0;){var te=6*(H-=1),Z=L[te],X=L[te+1],Q=L[te+2],re=L[te+3],ie=L[te+4],oe=L[te+5],ue=2*H,ce=b[ue],ye=b[ue+1],de=1&oe,me=!!(16&oe),pe=W,xe=j,Pe=U,_e=G;if(de&&(pe=U,xe=G,Pe=W,_e=j),!(2&oe&&(Q=k(z,Z,X,Q,pe,xe,ye),X>=Q)||4&oe&&(X=E(z,Z,X,Q,pe,xe,ce))>=Q)){var Me=Q-X,Se=ie-re;if(me){if(z*Me*(Me+Se)<4194304){if((q=m.scanComplete(z,Z,F,X,Q,pe,xe,re,ie,Pe,_e))!==void 0)return q;continue}}else{if(z*Math.min(Me,Se)<128){if((q=c(z,Z,F,de,X,Q,pe,xe,re,ie,Pe,_e))!==void 0)return q;continue}if(z*Me*Se<4194304){if((q=m.scanBipartite(z,Z,F,de,X,Q,pe,xe,re,ie,Pe,_e))!==void 0)return q;continue}}var Ce=S(z,Z,X,Q,pe,xe,ce,ye);if(X=p0)&&!(p1>=hi)"),_=y("lo===p0"),k=y("lo>>1,E=2*s,x=k,A=w[E*k+c];S<_;){if(_-S<8){o(s,c,S,_,w,y),A=w[E*k+c];break}var L=_-S,b=Math.random()*L+S|0,R=w[E*b+c],I=Math.random()*L+S|0,O=w[E*I+c],z=Math.random()*L+S|0,F=w[E*z+c];R<=O?F>=O?(x=I,A=O):R>=F?(x=b,A=R):(x=z,A=F):O>=F?(x=I,A=O):F>=R?(x=b,A=R):(x=z,A=F);for(var B=E*(_-1),N=E*x,W=0;Wh&&w[A+c]>E;--x,A-=S){for(var L=A,b=A+S,R=0;RE;++E,y+=w)if(c[y+k]===m)if(_===E)_+=1,S+=w;else{for(var x=0;w>x;++x){var A=c[y+x];c[y+x]=c[S],c[S++]=A}var L=h[E];h[E]=h[_],h[_++]=L}return _},"loE;++E,y+=w)if(c[y+k]x;++x){var A=c[y+x];c[y+x]=c[S],c[S++]=A}var L=h[E];h[E]=h[_],h[_++]=L}return _},"lo<=p0":function(a,u,o,s,c,h,m){for(var w=2*a,y=w*o,S=y,_=o,k=a+u,E=o;s>E;++E,y+=w)if(c[y+k]<=m)if(_===E)_+=1,S+=w;else{for(var x=0;w>x;++x){var A=c[y+x];c[y+x]=c[S],c[S++]=A}var L=h[E];h[E]=h[_],h[_++]=L}return _},"hi<=p0":function(a,u,o,s,c,h,m){for(var w=2*a,y=w*o,S=y,_=o,k=a+u,E=o;s>E;++E,y+=w)if(c[y+k]<=m)if(_===E)_+=1,S+=w;else{for(var x=0;w>x;++x){var A=c[y+x];c[y+x]=c[S],c[S++]=A}var L=h[E];h[E]=h[_],h[_++]=L}return _},"lox;++x,y+=w){var A=c[y+k],L=c[y+E];if(Ab;++b){var R=c[y+b];c[y+b]=c[S],c[S++]=R}var I=h[x];h[x]=h[_],h[_++]=I}}return _},"lo<=p0&&p0<=hi":function(a,u,o,s,c,h,m){for(var w=2*a,y=w*o,S=y,_=o,k=u,E=a+u,x=o;s>x;++x,y+=w){var A=c[y+k],L=c[y+E];if(A<=m&&m<=L)if(_===x)_+=1,S+=w;else{for(var b=0;w>b;++b){var R=c[y+b];c[y+b]=c[S],c[S++]=R}var I=h[x];h[x]=h[_],h[_++]=I}}return _},"!(lo>=p0)&&!(p1>=hi)":function(a,u,o,s,c,h,m,w){for(var y=2*a,S=y*o,_=S,k=o,E=u,x=a+u,A=o;s>A;++A,S+=y){var L=c[S+E],b=c[S+x];if(!(L>=m||w>=b))if(k===A)k+=1,_+=y;else{for(var R=0;y>R;++R){var I=c[S+R];c[S+R]=c[_],c[_++]=I}var O=h[A];h[A]=h[k],h[k++]=O}}return k}}},309:function(f){function l(w,y,S){for(var _=2*(w+1),k=w+1;k<=y;++k){for(var E=S[_++],x=S[_++],A=k,L=_-2;A-- >w;){var b=S[L-2],R=S[L-1];if(bS[y+1])}function h(w,y,S,_){var k=_[w*=2];return k>1,A=x-_,L=x+_,b=k,R=A,I=x,O=L,z=E,F=w+1,B=y-1,N=0;c(b,R,S)&&(N=b,b=R,R=N),c(O,z,S)&&(N=O,O=z,z=N),c(b,I,S)&&(N=b,b=I,I=N),c(R,I,S)&&(N=R,R=I,I=N),c(b,O,S)&&(N=b,b=O,O=N),c(I,O,S)&&(N=I,I=O,O=N),c(R,z,S)&&(N=R,R=z,z=N),c(R,I,S)&&(N=R,R=I,I=N),c(O,z,S)&&(N=O,O=z,z=N);for(var W=S[2*R],j=S[2*R+1],$=S[2*O],U=S[2*O+1],G=2*b,q=2*I,H=2*z,ne=2*k,te=2*x,Z=2*E,X=0;X<2;++X){var Q=S[G+X],re=S[q+X],ie=S[H+X];S[ne+X]=Q,S[te+X]=re,S[Z+X]=ie}u(A,w,S),u(L,y,S);for(var oe=F;oe<=B;++oe)if(h(oe,W,j,S))oe!==F&&a(oe,F,S),++F;else if(!h(oe,$,U,S))for(;;){if(h(B,$,U,S)){h(B,W,j,S)?(o(oe,F,B,S),++F,--B):(a(oe,B,S),--B);break}if(--B>>1;s(E,Z);var X=0,Q=0;for(q=0;q=c)x(y,S,Q--,re=re-c|0);else if(re>=0)x(m,w,X--,re);else if(re<=-268435456){re=-re-c|0;for(var ie=0;ie>>1;s(E,Z);var X=0,Q=0,re=0;for(q=0;q>1==E[2*q+3]>>1&&(oe=2,q+=1),ie<0){for(var ue=-(ie>>1)-1,ce=0;ce>1)-1,oe===0?x(m,w,X--,ue):oe===1?x(y,S,Q--,ue):oe===2&&x(_,k,re--,ue)}},scanBipartite:function(L,b,R,I,O,z,F,B,N,W,j,$){var U=0,G=2*L,q=b,H=b+L,ne=1,te=1;I?te=c:ne=c;for(var Z=O;Z>>1;s(E,ie);var oe=0;for(Z=0;Z=c?(ce=!I,X-=c):(ce=!!I,X-=1),ce)A(m,w,oe++,X);else{var ye=$[X],de=G*X,me=j[de+b+1],pe=j[de+b+1+L];e:for(var xe=0;xe>>1;s(E,X);var Q=0;for(H=0;H=c)m[Q++]=ne-c;else{var ie=j[ne-=1],oe=U*ne,ue=W[oe+b+1],ce=W[oe+b+1+L];e:for(var ye=0;ye=0;--ye)if(m[ye]===ne){for(xe=ye+1;xe0;){for(var A=h.pop(),L=(k=-1,E=-1,S=w[y=h.pop()],1);L=0||(c.flip(y,A),o(s,c,h,k,y,E),o(s,c,h,y,E,k),o(s,c,h,E,A,k),o(s,c,h,A,k,E))}}},7098:function(f,l,a){var u,o=a(5070);function s(h,m,w,y,S,_,k){this.cells=h,this.neighbor=m,this.flags=y,this.constraint=w,this.active=S,this.next=_,this.boundary=k}function c(h,m){return h[0]-m[0]||h[1]-m[1]||h[2]-m[2]}f.exports=function(h,m,w){var y=function(F,B){for(var N=F.cells(),W=N.length,j=0;j0||k.length>0;){for(;_.length>0;){var b=_.pop();if(E[b]!==-S){E[b]=S,x[b];for(var R=0;R<3;++R){var I=L[3*b+R];I>=0&&E[I]===0&&(A[3*b+R]?k.push(I):(_.push(I),E[I]=S))}}}var O=k;k=_,_=O,k.length=0,S=-S}var z=function(F,B,N){for(var W=0,j=0;j1&&o(x[z[F-2]],x[z[F-1]],A)>0;)k.push([z[F-1],z[F-2],L]),F-=1;z.length=F,z.push(L);var B=O.upperIds;for(F=B.length;F>1&&o(x[B[F-2]],x[B[F-1]],A)<0;)k.push([B[F-2],B[F-1],L]),F-=1;B.length=F,B.push(L)}}function y(k,E){var x;return(x=k.a[0]O[0]&&L.push(new c(O,I,2,b),new c(I,O,1,b))}L.sort(h);for(var z=L[0].a[0]-(1+Math.abs(L[0].a[0]))*Math.pow(2,-52),F=[new s([z,1],[z,0],-1,[],[])],B=[],N=(b=0,L.length);b=0}}(),s.removeTriangle=function(h,m,w){var y=this.stars;c(y[h],m,w),c(y[m],w,h),c(y[w],h,m)},s.addTriangle=function(h,m,w){var y=this.stars;y[h].push(m,w),y[m].push(w,h),y[w].push(h,m)},s.opposite=function(h,m){for(var w=this.stars[m],y=1,S=w.length;yI[2]?1:0)}function L(R,I,O){if(R.length!==0){if(I)for(var z=0;z=0;--H){var ue=$[ne=(_e=G[H])[0]],ce=ue[0],ye=ue[1],de=j[ce],me=j[ye];if((de[0]-me[0]||de[1]-me[1])<0){var pe=ce;ce=ye,ye=pe}ue[0]=ce;var xe,Pe=ue[1]=_e[1];for(q&&(xe=ue[2]);H>0&&G[H-1][0]===ne;){var _e,Me=(_e=G[--H])[1];q?$.push([Pe,Me,xe]):$.push([Pe,Me]),Pe=Me}q?$.push([Pe,ye,xe]):$.push([Pe,ye])}return te}(R,I,F,B,O),W=E(R,N);return L(I,W,O),!!W||F.length>0||B.length>0}},5528:function(f,l,a){f.exports=function(S,_,k,E){var x=h(_,S),A=h(E,k),L=y(x,A);if(c(L)===0)return null;var b=y(A,h(S,k)),R=o(b,L),I=w(x,R);return m(S,I)};var u=a(3962),o=a(9189),s=a(4354),c=a(4951),h=a(6695),m=a(7584),w=a(4469);function y(S,_){return s(u(S[0],_[1]),u(S[1],_[0]))}},5692:function(f){f.exports={jet:[{index:0,rgb:[0,0,131]},{index:.125,rgb:[0,60,170]},{index:.375,rgb:[5,255,255]},{index:.625,rgb:[255,255,0]},{index:.875,rgb:[250,0,0]},{index:1,rgb:[128,0,0]}],hsv:[{index:0,rgb:[255,0,0]},{index:.169,rgb:[253,255,2]},{index:.173,rgb:[247,255,2]},{index:.337,rgb:[0,252,4]},{index:.341,rgb:[0,252,10]},{index:.506,rgb:[1,249,255]},{index:.671,rgb:[2,0,253]},{index:.675,rgb:[8,0,253]},{index:.839,rgb:[255,0,251]},{index:.843,rgb:[255,0,245]},{index:1,rgb:[255,0,6]}],hot:[{index:0,rgb:[0,0,0]},{index:.3,rgb:[230,0,0]},{index:.6,rgb:[255,210,0]},{index:1,rgb:[255,255,255]}],spring:[{index:0,rgb:[255,0,255]},{index:1,rgb:[255,255,0]}],summer:[{index:0,rgb:[0,128,102]},{index:1,rgb:[255,255,102]}],autumn:[{index:0,rgb:[255,0,0]},{index:1,rgb:[255,255,0]}],winter:[{index:0,rgb:[0,0,255]},{index:1,rgb:[0,255,128]}],bone:[{index:0,rgb:[0,0,0]},{index:.376,rgb:[84,84,116]},{index:.753,rgb:[169,200,200]},{index:1,rgb:[255,255,255]}],copper:[{index:0,rgb:[0,0,0]},{index:.804,rgb:[255,160,102]},{index:1,rgb:[255,199,127]}],greys:[{index:0,rgb:[0,0,0]},{index:1,rgb:[255,255,255]}],yignbu:[{index:0,rgb:[8,29,88]},{index:.125,rgb:[37,52,148]},{index:.25,rgb:[34,94,168]},{index:.375,rgb:[29,145,192]},{index:.5,rgb:[65,182,196]},{index:.625,rgb:[127,205,187]},{index:.75,rgb:[199,233,180]},{index:.875,rgb:[237,248,217]},{index:1,rgb:[255,255,217]}],greens:[{index:0,rgb:[0,68,27]},{index:.125,rgb:[0,109,44]},{index:.25,rgb:[35,139,69]},{index:.375,rgb:[65,171,93]},{index:.5,rgb:[116,196,118]},{index:.625,rgb:[161,217,155]},{index:.75,rgb:[199,233,192]},{index:.875,rgb:[229,245,224]},{index:1,rgb:[247,252,245]}],yiorrd:[{index:0,rgb:[128,0,38]},{index:.125,rgb:[189,0,38]},{index:.25,rgb:[227,26,28]},{index:.375,rgb:[252,78,42]},{index:.5,rgb:[253,141,60]},{index:.625,rgb:[254,178,76]},{index:.75,rgb:[254,217,118]},{index:.875,rgb:[255,237,160]},{index:1,rgb:[255,255,204]}],bluered:[{index:0,rgb:[0,0,255]},{index:1,rgb:[255,0,0]}],rdbu:[{index:0,rgb:[5,10,172]},{index:.35,rgb:[106,137,247]},{index:.5,rgb:[190,190,190]},{index:.6,rgb:[220,170,132]},{index:.7,rgb:[230,145,90]},{index:1,rgb:[178,10,28]}],picnic:[{index:0,rgb:[0,0,255]},{index:.1,rgb:[51,153,255]},{index:.2,rgb:[102,204,255]},{index:.3,rgb:[153,204,255]},{index:.4,rgb:[204,204,255]},{index:.5,rgb:[255,255,255]},{index:.6,rgb:[255,204,255]},{index:.7,rgb:[255,153,255]},{index:.8,rgb:[255,102,204]},{index:.9,rgb:[255,102,102]},{index:1,rgb:[255,0,0]}],rainbow:[{index:0,rgb:[150,0,90]},{index:.125,rgb:[0,0,200]},{index:.25,rgb:[0,25,255]},{index:.375,rgb:[0,152,255]},{index:.5,rgb:[44,255,150]},{index:.625,rgb:[151,255,0]},{index:.75,rgb:[255,234,0]},{index:.875,rgb:[255,111,0]},{index:1,rgb:[255,0,0]}],portland:[{index:0,rgb:[12,51,131]},{index:.25,rgb:[10,136,186]},{index:.5,rgb:[242,211,56]},{index:.75,rgb:[242,143,56]},{index:1,rgb:[217,30,30]}],blackbody:[{index:0,rgb:[0,0,0]},{index:.2,rgb:[230,0,0]},{index:.4,rgb:[230,210,0]},{index:.7,rgb:[255,255,255]},{index:1,rgb:[160,200,255]}],earth:[{index:0,rgb:[0,0,130]},{index:.1,rgb:[0,180,180]},{index:.2,rgb:[40,210,40]},{index:.4,rgb:[230,230,50]},{index:.6,rgb:[120,70,20]},{index:1,rgb:[255,255,255]}],electric:[{index:0,rgb:[0,0,0]},{index:.15,rgb:[30,0,100]},{index:.4,rgb:[120,0,100]},{index:.6,rgb:[160,90,0]},{index:.8,rgb:[230,200,0]},{index:1,rgb:[255,250,220]}],alpha:[{index:0,rgb:[255,255,255,0]},{index:1,rgb:[255,255,255,1]}],viridis:[{index:0,rgb:[68,1,84]},{index:.13,rgb:[71,44,122]},{index:.25,rgb:[59,81,139]},{index:.38,rgb:[44,113,142]},{index:.5,rgb:[33,144,141]},{index:.63,rgb:[39,173,129]},{index:.75,rgb:[92,200,99]},{index:.88,rgb:[170,220,50]},{index:1,rgb:[253,231,37]}],inferno:[{index:0,rgb:[0,0,4]},{index:.13,rgb:[31,12,72]},{index:.25,rgb:[85,15,109]},{index:.38,rgb:[136,34,106]},{index:.5,rgb:[186,54,85]},{index:.63,rgb:[227,89,51]},{index:.75,rgb:[249,140,10]},{index:.88,rgb:[249,201,50]},{index:1,rgb:[252,255,164]}],magma:[{index:0,rgb:[0,0,4]},{index:.13,rgb:[28,16,68]},{index:.25,rgb:[79,18,123]},{index:.38,rgb:[129,37,129]},{index:.5,rgb:[181,54,122]},{index:.63,rgb:[229,80,100]},{index:.75,rgb:[251,135,97]},{index:.88,rgb:[254,194,135]},{index:1,rgb:[252,253,191]}],plasma:[{index:0,rgb:[13,8,135]},{index:.13,rgb:[75,3,161]},{index:.25,rgb:[125,3,168]},{index:.38,rgb:[168,34,150]},{index:.5,rgb:[203,70,121]},{index:.63,rgb:[229,107,93]},{index:.75,rgb:[248,148,65]},{index:.88,rgb:[253,195,40]},{index:1,rgb:[240,249,33]}],warm:[{index:0,rgb:[125,0,179]},{index:.13,rgb:[172,0,187]},{index:.25,rgb:[219,0,170]},{index:.38,rgb:[255,0,130]},{index:.5,rgb:[255,63,74]},{index:.63,rgb:[255,123,0]},{index:.75,rgb:[234,176,0]},{index:.88,rgb:[190,228,0]},{index:1,rgb:[147,255,0]}],cool:[{index:0,rgb:[125,0,179]},{index:.13,rgb:[116,0,218]},{index:.25,rgb:[98,74,237]},{index:.38,rgb:[68,146,231]},{index:.5,rgb:[0,204,197]},{index:.63,rgb:[0,247,146]},{index:.75,rgb:[0,255,88]},{index:.88,rgb:[40,255,8]},{index:1,rgb:[147,255,0]}],"rainbow-soft":[{index:0,rgb:[125,0,179]},{index:.1,rgb:[199,0,180]},{index:.2,rgb:[255,0,121]},{index:.3,rgb:[255,108,0]},{index:.4,rgb:[222,194,0]},{index:.5,rgb:[150,255,0]},{index:.6,rgb:[0,255,55]},{index:.7,rgb:[0,246,150]},{index:.8,rgb:[50,167,222]},{index:.9,rgb:[103,51,235]},{index:1,rgb:[124,0,186]}],bathymetry:[{index:0,rgb:[40,26,44]},{index:.13,rgb:[59,49,90]},{index:.25,rgb:[64,76,139]},{index:.38,rgb:[63,110,151]},{index:.5,rgb:[72,142,158]},{index:.63,rgb:[85,174,163]},{index:.75,rgb:[120,206,163]},{index:.88,rgb:[187,230,172]},{index:1,rgb:[253,254,204]}],cdom:[{index:0,rgb:[47,15,62]},{index:.13,rgb:[87,23,86]},{index:.25,rgb:[130,28,99]},{index:.38,rgb:[171,41,96]},{index:.5,rgb:[206,67,86]},{index:.63,rgb:[230,106,84]},{index:.75,rgb:[242,149,103]},{index:.88,rgb:[249,193,135]},{index:1,rgb:[254,237,176]}],chlorophyll:[{index:0,rgb:[18,36,20]},{index:.13,rgb:[25,63,41]},{index:.25,rgb:[24,91,59]},{index:.38,rgb:[13,119,72]},{index:.5,rgb:[18,148,80]},{index:.63,rgb:[80,173,89]},{index:.75,rgb:[132,196,122]},{index:.88,rgb:[175,221,162]},{index:1,rgb:[215,249,208]}],density:[{index:0,rgb:[54,14,36]},{index:.13,rgb:[89,23,80]},{index:.25,rgb:[110,45,132]},{index:.38,rgb:[120,77,178]},{index:.5,rgb:[120,113,213]},{index:.63,rgb:[115,151,228]},{index:.75,rgb:[134,185,227]},{index:.88,rgb:[177,214,227]},{index:1,rgb:[230,241,241]}],"freesurface-blue":[{index:0,rgb:[30,4,110]},{index:.13,rgb:[47,14,176]},{index:.25,rgb:[41,45,236]},{index:.38,rgb:[25,99,212]},{index:.5,rgb:[68,131,200]},{index:.63,rgb:[114,156,197]},{index:.75,rgb:[157,181,203]},{index:.88,rgb:[200,208,216]},{index:1,rgb:[241,237,236]}],"freesurface-red":[{index:0,rgb:[60,9,18]},{index:.13,rgb:[100,17,27]},{index:.25,rgb:[142,20,29]},{index:.38,rgb:[177,43,27]},{index:.5,rgb:[192,87,63]},{index:.63,rgb:[205,125,105]},{index:.75,rgb:[216,162,148]},{index:.88,rgb:[227,199,193]},{index:1,rgb:[241,237,236]}],oxygen:[{index:0,rgb:[64,5,5]},{index:.13,rgb:[106,6,15]},{index:.25,rgb:[144,26,7]},{index:.38,rgb:[168,64,3]},{index:.5,rgb:[188,100,4]},{index:.63,rgb:[206,136,11]},{index:.75,rgb:[220,174,25]},{index:.88,rgb:[231,215,44]},{index:1,rgb:[248,254,105]}],par:[{index:0,rgb:[51,20,24]},{index:.13,rgb:[90,32,35]},{index:.25,rgb:[129,44,34]},{index:.38,rgb:[159,68,25]},{index:.5,rgb:[182,99,19]},{index:.63,rgb:[199,134,22]},{index:.75,rgb:[212,171,35]},{index:.88,rgb:[221,210,54]},{index:1,rgb:[225,253,75]}],phase:[{index:0,rgb:[145,105,18]},{index:.13,rgb:[184,71,38]},{index:.25,rgb:[186,58,115]},{index:.38,rgb:[160,71,185]},{index:.5,rgb:[110,97,218]},{index:.63,rgb:[50,123,164]},{index:.75,rgb:[31,131,110]},{index:.88,rgb:[77,129,34]},{index:1,rgb:[145,105,18]}],salinity:[{index:0,rgb:[42,24,108]},{index:.13,rgb:[33,50,162]},{index:.25,rgb:[15,90,145]},{index:.38,rgb:[40,118,137]},{index:.5,rgb:[59,146,135]},{index:.63,rgb:[79,175,126]},{index:.75,rgb:[120,203,104]},{index:.88,rgb:[193,221,100]},{index:1,rgb:[253,239,154]}],temperature:[{index:0,rgb:[4,35,51]},{index:.13,rgb:[23,51,122]},{index:.25,rgb:[85,59,157]},{index:.38,rgb:[129,79,143]},{index:.5,rgb:[175,95,130]},{index:.63,rgb:[222,112,101]},{index:.75,rgb:[249,146,66]},{index:.88,rgb:[249,196,65]},{index:1,rgb:[232,250,91]}],turbidity:[{index:0,rgb:[34,31,27]},{index:.13,rgb:[65,50,41]},{index:.25,rgb:[98,69,52]},{index:.38,rgb:[131,89,57]},{index:.5,rgb:[161,112,59]},{index:.63,rgb:[185,140,66]},{index:.75,rgb:[202,174,88]},{index:.88,rgb:[216,209,126]},{index:1,rgb:[233,246,171]}],"velocity-blue":[{index:0,rgb:[17,32,64]},{index:.13,rgb:[35,52,116]},{index:.25,rgb:[29,81,156]},{index:.38,rgb:[31,113,162]},{index:.5,rgb:[50,144,169]},{index:.63,rgb:[87,173,176]},{index:.75,rgb:[149,196,189]},{index:.88,rgb:[203,221,211]},{index:1,rgb:[254,251,230]}],"velocity-green":[{index:0,rgb:[23,35,19]},{index:.13,rgb:[24,64,38]},{index:.25,rgb:[11,95,45]},{index:.38,rgb:[39,123,35]},{index:.5,rgb:[95,146,12]},{index:.63,rgb:[152,165,18]},{index:.75,rgb:[201,186,69]},{index:.88,rgb:[233,216,137]},{index:1,rgb:[255,253,205]}],cubehelix:[{index:0,rgb:[0,0,0]},{index:.07,rgb:[22,5,59]},{index:.13,rgb:[60,4,105]},{index:.2,rgb:[109,1,135]},{index:.27,rgb:[161,0,147]},{index:.33,rgb:[210,2,142]},{index:.4,rgb:[251,11,123]},{index:.47,rgb:[255,29,97]},{index:.53,rgb:[255,54,69]},{index:.6,rgb:[255,85,46]},{index:.67,rgb:[255,120,34]},{index:.73,rgb:[255,157,37]},{index:.8,rgb:[241,191,57]},{index:.87,rgb:[224,220,93]},{index:.93,rgb:[218,241,142]},{index:1,rgb:[227,253,198]}]}},9156:function(f,l,a){var u=a(5692),o=a(3578);function s(m){return[m[0]/255,m[1]/255,m[2]/255,m[3]]}function c(m){for(var w,y="#",S=0;S<3;++S)y+=("00"+(w=(w=m[S]).toString(16))).substr(w.length);return y}function h(m){return"rgba("+m.join(",")+")"}f.exports=function(m){var w,y,S,_,k,E,x,A,L,b;if(m||(m={}),A=(m.nshades||72)-1,x=m.format||"hex",(E=m.colormap)||(E="jet"),typeof E=="string"){if(E=E.toLowerCase(),!u[E])throw Error(E+" not a supported colorscale");k=u[E]}else{if(!Array.isArray(E))throw Error("unsupported colormap option",E);k=E.slice()}if(k.length>A+1)throw new Error(E+" map requires nshades to be at least size "+k.length);L=Array.isArray(m.alpha)?m.alpha.length!==2?[1,1]:m.alpha.slice():typeof m.alpha=="number"?[m.alpha,m.alpha]:[1,1],w=k.map(function(F){return Math.round(F.index*A)}),L[0]=Math.min(Math.max(L[0],0),1),L[1]=Math.min(Math.max(L[1],0),1);var R=k.map(function(F,B){var N=k[B].index,W=k[B].rgb.slice();return W.length===4&&W[3]>=0&&W[3]<=1||(W[3]=L[0]+(L[1]-L[0])*N),W}),I=[];for(b=0;b0||m(w,y,_)?-1:1:E===0?x>0||m(w,y,S)?1:-1:o(x-E)}var L=u(w,y,S);return L>0?k>0&&u(w,y,_)>0?1:-1:L<0?k>0||u(w,y,_)>0?1:-1:u(w,y,_)>0||m(w,y,S)?1:-1};var u=a(417),o=a(7538),s=a(87),c=a(2019),h=a(9662);function m(w,y,S){var _=s(w[0],-y[0]),k=s(w[1],-y[1]),E=s(S[0],-y[0]),x=s(S[1],-y[1]),A=h(c(_,E),c(k,x));return A[A.length-1]>=0}},7538:function(f){f.exports=function(l){return l<0?-1:l>0?1:0}},9209:function(f){f.exports=function(u,o){var s=u.length,c=u.length-o.length;if(c)return c;switch(s){case 0:return 0;case 1:return u[0]-o[0];case 2:return u[0]+u[1]-o[0]-o[1]||l(u[0],u[1])-l(o[0],o[1]);case 3:var h=u[0]+u[1],m=o[0]+o[1];if(c=h+u[2]-(m+o[2]))return c;var w=l(u[0],u[1]),y=l(o[0],o[1]);return l(w,u[2])-l(y,o[2])||l(w+u[2],h)-l(y+o[2],m);case 4:var S=u[0],_=u[1],k=u[2],E=u[3],x=o[0],A=o[1],L=o[2],b=o[3];return S+_+k+E-(x+A+L+b)||l(S,_,k,E)-l(x,A,L,b,x)||l(S+_,S+k,S+E,_+k,_+E,k+E)-l(x+A,x+L,x+b,A+L,A+b,L+b)||l(S+_+k,S+_+E,S+k+E,_+k+E)-l(x+A+L,x+A+b,x+L+b,A+L+b);default:for(var R=u.slice().sort(a),I=o.slice().sort(a),O=0;Ol[u][0]&&(u=o);return au?[[u],[a]]:[[a]]}},8722:function(f,l,a){f.exports=function(o){var s=u(o),c=s.length;if(c<=2)return[];for(var h=new Array(c),m=s[c-1],w=0;w=S[b]&&(L+=1);x[A]=L}}return y}(u(m,!0),h)}};var u=a(2183),o=a(2153)},9680:function(f){f.exports=function(l,a,u,o,s,c){var h=s-1,m=s*s,w=h*h,y=(1+2*s)*w,S=s*w,_=m*(3-2*s),k=m*h;if(l.length){c||(c=new Array(l.length));for(var E=l.length-1;E>=0;--E)c[E]=y*l[E]+S*a[E]+_*u[E]+k*o[E];return c}return y*l+S*a+_*u+k*o},f.exports.derivative=function(l,a,u,o,s,c){var h=6*s*s-6*s,m=3*s*s-4*s+1,w=-6*s*s+6*s,y=3*s*s-2*s;if(l.length){c||(c=new Array(l.length));for(var S=l.length-1;S>=0;--S)c[S]=h*l[S]+m*a[S]+w*u[S]+y*o[S];return c}return h*l+m*a+w*u[S]+y*o}},4419:function(f,l,a){var u=a(2183),o=a(1215);function s(h,m){this.point=h,this.index=m}function c(h,m){for(var w=h.point,y=m.point,S=w.length,_=0;_=2)return!1;N[j]=$}return!0}):B.filter(function(N){for(var W=0;W<=y;++W){var j=I[N[W]];if(j<0)return!1;N[W]=j}return!0}),1&y)for(k=0;k>>31},f.exports.exponent=function(s){return(f.exports.hi(s)<<1>>>21)-1023},f.exports.fraction=function(s){var c=f.exports.lo(s),h=f.exports.hi(s),m=1048575&h;return 2146435072&h&&(m+=1048576),[c,m]},f.exports.denormalized=function(s){return!(2146435072&f.exports.hi(s))}},3094:function(f){function l(a,u,o){var s=0|a[o];if(s<=0)return[];var c,h=new Array(s);if(o===a.length-1)for(c=0;c0)return function(o,s){var c,h;for(c=new Array(o),h=0;h=S-1){b=E.length-1;var I=w-y[S-1];for(R=0;R=S-1)for(var L=E.length-1,b=(y[S-1],0);b=0;--S)if(w[--y])return!1;return!0},h.jump=function(w){var y=this.lastT(),S=this.dimension;if(!(w0;--R)_.push(s(A[R-1],L[R-1],arguments[R])),k.push(0)}},h.push=function(w){var y=this.lastT(),S=this.dimension;if(!(w1e-6?1/x:0;this._time.push(w);for(var I=S;I>0;--I){var O=s(L[I-1],b[I-1],arguments[I]);_.push(O),k.push((O-_[E++])*R)}}},h.set=function(w){var y=this.dimension;if(!(w0;--A)S.push(s(E[A-1],x[A-1],arguments[A])),_.push(0)}},h.move=function(w){var y=this.lastT(),S=this.dimension;if(!(w<=y||arguments.length!==S+1)){var _=this._state,k=this._velocity,E=_.length-this.dimension,x=this.bounds,A=x[0],L=x[1],b=w-y,R=b>1e-6?1/b:0;this._time.push(w);for(var I=S;I>0;--I){var O=arguments[I];_.push(s(A[I-1],L[I-1],_[E++]+O)),k.push(O*R)}}},h.idle=function(w){var y=this.lastT();if(!(w=0;--R)_.push(s(A[R],L[R],_[E]+b*k[E])),k.push(0),E+=1}}},7080:function(f){function l(E,x,A,L,b,R){this._color=E,this.key=x,this.value=A,this.left=L,this.right=b,this._count=R}function a(E){return new l(E._color,E.key,E.value,E.left,E.right,E._count)}function u(E,x){return new l(E,x.key,x.value,x.left,x.right,x._count)}function o(E){E._count=1+(E.left?E.left._count:0)+(E.right?E.right._count:0)}function s(E,x){this._compare=E,this.root=x}f.exports=function(E){return new s(E||k,null)};var c=s.prototype;function h(E,x){var A;return x.left&&(A=h(E,x.left))?A:(A=E(x.key,x.value))||(x.right?h(E,x.right):void 0)}function m(E,x,A,L){if(x(E,L.key)<=0){var b;if(L.left&&(b=m(E,x,A,L.left))||(b=A(L.key,L.value)))return b}if(L.right)return m(E,x,A,L.right)}function w(E,x,A,L,b){var R,I=A(E,b.key),O=A(x,b.key);if(I<=0&&(b.left&&(R=w(E,x,A,L,b.left))||O>0&&(R=L(b.key,b.value))))return R;if(O>0&&b.right)return w(E,x,A,L,b.right)}function y(E,x){this.tree=E,this._stack=x}Object.defineProperty(c,"keys",{get:function(){var E=[];return this.forEach(function(x,A){E.push(x)}),E}}),Object.defineProperty(c,"values",{get:function(){var E=[];return this.forEach(function(x,A){E.push(A)}),E}}),Object.defineProperty(c,"length",{get:function(){return this.root?this.root._count:0}}),c.insert=function(E,x){for(var A=this._compare,L=this.root,b=[],R=[];L;){var I=A(E,L.key);b.push(L),R.push(I),L=I<=0?L.left:L.right}b.push(new l(0,E,x,null,null,1));for(var O=b.length-2;O>=0;--O)L=b[O],R[O]<=0?b[O]=new l(L._color,L.key,L.value,b[O+1],L.right,L._count+1):b[O]=new l(L._color,L.key,L.value,L.left,b[O+1],L._count+1);for(O=b.length-1;O>1;--O){var z=b[O-1];if(L=b[O],z._color===1||L._color===1)break;var F=b[O-2];if(F.left===z)if(z.left===L){if(!(B=F.right)||B._color!==0){F._color=0,F.left=z.right,z._color=1,z.right=F,b[O-2]=z,b[O-1]=L,o(F),o(z),O>=3&&((N=b[O-3]).left===F?N.left=z:N.right=z);break}z._color=1,F.right=u(1,B),F._color=0,O-=1}else{if(!(B=F.right)||B._color!==0){z.right=L.left,F._color=0,F.left=L.right,L._color=1,L.left=z,L.right=F,b[O-2]=L,b[O-1]=z,o(F),o(z),o(L),O>=3&&((N=b[O-3]).left===F?N.left=L:N.right=L);break}z._color=1,F.right=u(1,B),F._color=0,O-=1}else if(z.right===L){if(!(B=F.left)||B._color!==0){F._color=0,F.right=z.left,z._color=1,z.left=F,b[O-2]=z,b[O-1]=L,o(F),o(z),O>=3&&((N=b[O-3]).right===F?N.right=z:N.left=z);break}z._color=1,F.left=u(1,B),F._color=0,O-=1}else{var B;if(!(B=F.left)||B._color!==0){var N;z.left=L.right,F._color=0,F.right=L.left,L._color=1,L.right=z,L.left=F,b[O-2]=L,b[O-1]=z,o(F),o(z),o(L),O>=3&&((N=b[O-3]).right===F?N.right=L:N.left=L);break}z._color=1,F.left=u(1,B),F._color=0,O-=1}}return b[0]._color=1,new s(A,b[0])},c.forEach=function(E,x,A){if(this.root)switch(arguments.length){case 1:return h(E,this.root);case 2:return m(x,this._compare,E,this.root);case 3:return this._compare(x,A)>=0?void 0:w(x,A,this._compare,E,this.root)}},Object.defineProperty(c,"begin",{get:function(){for(var E=[],x=this.root;x;)E.push(x),x=x.left;return new y(this,E)}}),Object.defineProperty(c,"end",{get:function(){for(var E=[],x=this.root;x;)E.push(x),x=x.right;return new y(this,E)}}),c.at=function(E){if(E<0)return new y(this,[]);for(var x=this.root,A=[];;){if(A.push(x),x.left){if(E=x.right._count)break;x=x.right}return new y(this,[])},c.ge=function(E){for(var x=this._compare,A=this.root,L=[],b=0;A;){var R=x(E,A.key);L.push(A),R<=0&&(b=L.length),A=R<=0?A.left:A.right}return L.length=b,new y(this,L)},c.gt=function(E){for(var x=this._compare,A=this.root,L=[],b=0;A;){var R=x(E,A.key);L.push(A),R<0&&(b=L.length),A=R<0?A.left:A.right}return L.length=b,new y(this,L)},c.lt=function(E){for(var x=this._compare,A=this.root,L=[],b=0;A;){var R=x(E,A.key);L.push(A),R>0&&(b=L.length),A=R<=0?A.left:A.right}return L.length=b,new y(this,L)},c.le=function(E){for(var x=this._compare,A=this.root,L=[],b=0;A;){var R=x(E,A.key);L.push(A),R>=0&&(b=L.length),A=R<0?A.left:A.right}return L.length=b,new y(this,L)},c.find=function(E){for(var x=this._compare,A=this.root,L=[];A;){var b=x(E,A.key);if(L.push(A),b===0)return new y(this,L);A=b<=0?A.left:A.right}return new y(this,[])},c.remove=function(E){var x=this.find(E);return x?x.remove():this},c.get=function(E){for(var x=this._compare,A=this.root;A;){var L=x(E,A.key);if(L===0)return A.value;A=L<=0?A.left:A.right}};var S=y.prototype;function _(E,x){E.key=x.key,E.value=x.value,E.left=x.left,E.right=x.right,E._color=x._color,E._count=x._count}function k(E,x){return Ex?1:0}Object.defineProperty(S,"valid",{get:function(){return this._stack.length>0}}),Object.defineProperty(S,"node",{get:function(){return this._stack.length>0?this._stack[this._stack.length-1]:null},enumerable:!0}),S.clone=function(){return new y(this.tree,this._stack.slice())},S.remove=function(){var E=this._stack;if(E.length===0)return this.tree;var x=new Array(E.length),A=E[E.length-1];x[x.length-1]=new l(A._color,A.key,A.value,A.left,A.right,A._count);for(var L=E.length-2;L>=0;--L)(A=E[L]).left===E[L+1]?x[L]=new l(A._color,A.key,A.value,x[L+1],A.right,A._count):x[L]=new l(A._color,A.key,A.value,A.left,x[L+1],A._count);if((A=x[x.length-1]).left&&A.right){var b=x.length;for(A=A.left;A.right;)x.push(A),A=A.right;var R=x[b-1];for(x.push(new l(A._color,R.key,R.value,A.left,A.right,A._count)),x[b-1].key=A.key,x[b-1].value=A.value,L=x.length-2;L>=b;--L)A=x[L],x[L]=new l(A._color,A.key,A.value,A.left,x[L+1],A._count);x[b-1].left=x[b]}if((A=x[x.length-1])._color===0){var I=x[x.length-2];for(I.left===A?I.left=null:I.right===A&&(I.right=null),x.pop(),L=0;L=0;--j){if(F=z[j],j===0)return void(F._color=1);if((B=z[j-1]).left===F){if((N=B.right).right&&N.right._color===0)return W=(N=B.right=a(N)).right=a(N.right),B.right=N.left,N.left=B,N.right=W,N._color=B._color,F._color=1,B._color=1,W._color=1,o(B),o(N),j>1&&(($=z[j-2]).left===B?$.left=N:$.right=N),void(z[j-1]=N);if(N.left&&N.left._color===0)return W=(N=B.right=a(N)).left=a(N.left),B.right=W.left,N.left=W.right,W.left=B,W.right=N,W._color=B._color,B._color=1,N._color=1,F._color=1,o(B),o(N),o(W),j>1&&(($=z[j-2]).left===B?$.left=W:$.right=W),void(z[j-1]=W);if(N._color===1){if(B._color===0)return B._color=1,void(B.right=u(0,N));B.right=u(0,N);continue}N=a(N),B.right=N.left,N.left=B,N._color=B._color,B._color=0,o(B),o(N),j>1&&(($=z[j-2]).left===B?$.left=N:$.right=N),z[j-1]=N,z[j]=B,j+11&&(($=z[j-2]).right===B?$.right=N:$.left=N),void(z[j-1]=N);if(N.right&&N.right._color===0)return W=(N=B.left=a(N)).right=a(N.right),B.left=W.right,N.right=W.left,W.right=B,W.left=N,W._color=B._color,B._color=1,N._color=1,F._color=1,o(B),o(N),o(W),j>1&&(($=z[j-2]).right===B?$.right=W:$.left=W),void(z[j-1]=W);if(N._color===1){if(B._color===0)return B._color=1,void(B.left=u(0,N));B.left=u(0,N);continue}var $;N=a(N),B.left=N.right,N.right=B,N._color=B._color,B._color=0,o(B),o(N),j>1&&(($=z[j-2]).right===B?$.right=N:$.left=N),z[j-1]=N,z[j]=B,j+10)return this._stack[this._stack.length-1].key},enumerable:!0}),Object.defineProperty(S,"value",{get:function(){if(this._stack.length>0)return this._stack[this._stack.length-1].value},enumerable:!0}),Object.defineProperty(S,"index",{get:function(){var E=0,x=this._stack;if(x.length===0){var A=this.tree.root;return A?A._count:0}x[x.length-1].left&&(E=x[x.length-1].left._count);for(var L=x.length-2;L>=0;--L)x[L+1]===x[L].right&&(++E,x[L].left&&(E+=x[L].left._count));return E},enumerable:!0}),S.next=function(){var E=this._stack;if(E.length!==0){var x=E[E.length-1];if(x.right)for(x=x.right;x;)E.push(x),x=x.left;else for(E.pop();E.length>0&&E[E.length-1].right===x;)x=E[E.length-1],E.pop()}},Object.defineProperty(S,"hasNext",{get:function(){var E=this._stack;if(E.length===0)return!1;if(E[E.length-1].right)return!0;for(var x=E.length-1;x>0;--x)if(E[x-1].left===E[x])return!0;return!1}}),S.update=function(E){var x=this._stack;if(x.length===0)throw new Error("Can't update empty node!");var A=new Array(x.length),L=x[x.length-1];A[A.length-1]=new l(L._color,L.key,E,L.left,L.right,L._count);for(var b=x.length-2;b>=0;--b)(L=x[b]).left===x[b+1]?A[b]=new l(L._color,L.key,L.value,A[b+1],L.right,L._count):A[b]=new l(L._color,L.key,L.value,L.left,A[b+1],L._count);return new s(this.tree._compare,A[0])},S.prev=function(){var E=this._stack;if(E.length!==0){var x=E[E.length-1];if(x.left)for(x=x.left;x;)E.push(x),x=x.right;else for(E.pop();E.length>0&&E[E.length-1].left===x;)x=E[E.length-1],E.pop()}},Object.defineProperty(S,"hasPrev",{get:function(){var E=this._stack;if(E.length===0)return!1;if(E[E.length-1].left)return!0;for(var x=E.length-1;x>0;--x)if(E[x-1].right===E[x])return!0;return!1}})},7453:function(f,l,a){f.exports=function(I,O){var z=new y(I);return z.update(O),z};var u=a(9557),o=a(1681),s=a(1011),c=a(2864),h=a(8468),m=new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]);function w(I,O){return I[0]=O[0],I[1]=O[1],I[2]=O[2],I}function y(I){this.gl=I,this.pixelRatio=1,this.bounds=[[-10,-10,-10],[10,10,10]],this.ticks=[[],[],[]],this.autoTicks=!0,this.tickSpacing=[1,1,1],this.tickEnable=[!0,!0,!0],this.tickFont=["sans-serif","sans-serif","sans-serif"],this.tickSize=[12,12,12],this.tickAngle=[0,0,0],this.tickAlign=["auto","auto","auto"],this.tickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.tickPad=[10,10,10],this.lastCubeProps={cubeEdges:[0,0,0],axis:[0,0,0]},this.labels=["x","y","z"],this.labelEnable=[!0,!0,!0],this.labelFont="sans-serif",this.labelSize=[20,20,20],this.labelAngle=[0,0,0],this.labelAlign=["auto","auto","auto"],this.labelColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.labelPad=[10,10,10],this.lineEnable=[!0,!0,!0],this.lineMirror=[!1,!1,!1],this.lineWidth=[1,1,1],this.lineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.lineTickEnable=[!0,!0,!0],this.lineTickMirror=[!1,!1,!1],this.lineTickLength=[0,0,0],this.lineTickWidth=[1,1,1],this.lineTickColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.gridEnable=[!0,!0,!0],this.gridWidth=[1,1,1],this.gridColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroEnable=[!0,!0,!0],this.zeroLineColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.zeroLineWidth=[2,2,2],this.backgroundEnable=[!1,!1,!1],this.backgroundColor=[[.8,.8,.8,.5],[.8,.8,.8,.5],[.8,.8,.8,.5]],this._firstInit=!0,this._text=null,this._lines=null,this._background=s(I)}var S=y.prototype;function _(){this.primalOffset=[0,0,0],this.primalMinor=[0,0,0],this.mirrorOffset=[0,0,0],this.mirrorMinor=[0,0,0]}S.update=function(I){function O(ne,te,Z){if(Z in I){var X,Q=I[Z],re=this[Z];(ne?Array.isArray(Q)&&Array.isArray(Q[0]):Array.isArray(Q))?this[Z]=X=[te(Q[0]),te(Q[1]),te(Q[2])]:this[Z]=X=[te(Q),te(Q),te(Q)];for(var ie=0;ie<3;++ie)if(X[ie]!==re[ie])return!0}return!1}I=I||{};var z,F=O.bind(this,!1,Number),B=O.bind(this,!1,Boolean),N=O.bind(this,!1,String),W=O.bind(this,!0,function(ne){if(Array.isArray(ne)){if(ne.length===3)return[+ne[0],+ne[1],+ne[2],1];if(ne.length===4)return[+ne[0],+ne[1],+ne[2],+ne[3]]}return[0,0,0,1]}),j=!1,$=!1;if("bounds"in I)for(var U=I.bounds,G=0;G<2;++G)for(var q=0;q<3;++q)U[G][q]!==this.bounds[G][q]&&($=!0),this.bounds[G][q]=U[G][q];if("ticks"in I)for(z=I.ticks,j=!0,this.autoTicks=!1,G=0;G<3;++G)this.tickSpacing[G]=0;else F("tickSpacing")&&(this.autoTicks=!0,$=!0);if(this._firstInit&&("ticks"in I||"tickSpacing"in I||(this.autoTicks=!0),$=!0,j=!0,this._firstInit=!1),$&&this.autoTicks&&(z=h.create(this.bounds,this.tickSpacing),j=!0),j){for(G=0;G<3;++G)z[G].sort(function(ne,te){return ne.x-te.x});h.equal(z,this.ticks)?j=!1:this.ticks=z}B("tickEnable"),N("tickFont")&&(j=!0),F("tickSize"),F("tickAngle"),F("tickPad"),W("tickColor");var H=N("labels");N("labelFont")&&(H=!0),B("labelEnable"),F("labelSize"),F("labelPad"),W("labelColor"),B("lineEnable"),B("lineMirror"),F("lineWidth"),W("lineColor"),B("lineTickEnable"),B("lineTickMirror"),F("lineTickLength"),F("lineTickWidth"),W("lineTickColor"),B("gridEnable"),F("gridWidth"),W("gridColor"),B("zeroEnable"),W("zeroLineColor"),F("zeroLineWidth"),B("backgroundEnable"),W("backgroundColor"),this._text?this._text&&(H||j)&&this._text.update(this.bounds,this.labels,this.labelFont,this.ticks,this.tickFont):this._text=u(this.gl,this.bounds,this.labels,this.labelFont,this.ticks,this.tickFont),this._lines&&j&&(this._lines.dispose(),this._lines=null),this._lines||(this._lines=o(this.gl,this.bounds,this.ticks))};var k=[new _,new _,new _];function E(I,O,z,F,B){for(var N=I.primalOffset,W=I.primalMinor,j=I.mirrorOffset,$=I.mirrorMinor,U=F[O],G=0;G<3;++G)if(O!==G){var q=N,H=j,ne=W,te=$;U&1<0?(ne[G]=-1,te[G]=0):(ne[G]=0,te[G]=1)}}var x=[0,0,0],A={model:m,view:m,projection:m,_ortho:!1};S.isOpaque=function(){return!0},S.isTransparent=function(){return!1},S.drawTransparent=function(I){};var L=[0,0,0],b=[0,0,0],R=[0,0,0];S.draw=function(I){I=I||A;for(var O=this.gl,z=I.model||m,F=I.view||m,B=I.projection||m,N=this.bounds,W=I._ortho||!1,j=c(z,F,B,N,W),$=j.cubeEdges,U=j.axis,G=F[12],q=F[13],H=F[14],ne=F[15],te=(W?2:1)*this.pixelRatio*(B[3]*G+B[7]*q+B[11]*H+B[15]*ne)/O.drawingBufferHeight,Z=0;Z<3;++Z)this.lastCubeProps.cubeEdges[Z]=$[Z],this.lastCubeProps.axis[Z]=U[Z];var X=k;for(Z=0;Z<3;++Z)E(k[Z],Z,this.bounds,$,U);O=this.gl;var Q,re,ie,oe=x;for(Z=0;Z<3;++Z)this.backgroundEnable[Z]?oe[Z]=U[Z]:oe[Z]=0;for(this._background.draw(z,F,B,N,oe,this.backgroundColor),this._lines.bind(z,F,B,this),Z=0;Z<3;++Z){var ue=[0,0,0];U[Z]>0?ue[Z]=N[1][Z]:ue[Z]=N[0][Z];for(var ce=0;ce<2;++ce){var ye=(Z+1+ce)%3,de=(Z+1+(1^ce))%3;this.gridEnable[ye]&&this._lines.drawGrid(ye,de,this.bounds,ue,this.gridColor[ye],this.gridWidth[ye]*this.pixelRatio)}for(ce=0;ce<2;++ce)ye=(Z+1+ce)%3,de=(Z+1+(1^ce))%3,this.zeroEnable[de]&&Math.min(N[0][de],N[1][de])<=0&&Math.max(N[0][de],N[1][de])>=0&&this._lines.drawZero(ye,de,this.bounds,ue,this.zeroLineColor[de],this.zeroLineWidth[de]*this.pixelRatio)}for(Z=0;Z<3;++Z){this.lineEnable[Z]&&this._lines.drawAxisLine(Z,this.bounds,X[Z].primalOffset,this.lineColor[Z],this.lineWidth[Z]*this.pixelRatio),this.lineMirror[Z]&&this._lines.drawAxisLine(Z,this.bounds,X[Z].mirrorOffset,this.lineColor[Z],this.lineWidth[Z]*this.pixelRatio);var me=w(L,X[Z].primalMinor),pe=w(b,X[Z].mirrorMinor),xe=this.lineTickLength;for(ce=0;ce<3;++ce){var Pe=te/z[5*ce];me[ce]*=xe[ce]*Pe,pe[ce]*=xe[ce]*Pe}this.lineTickEnable[Z]&&this._lines.drawAxisTicks(Z,X[Z].primalOffset,me,this.lineTickColor[Z],this.lineTickWidth[Z]*this.pixelRatio),this.lineTickMirror[Z]&&this._lines.drawAxisTicks(Z,X[Z].mirrorOffset,pe,this.lineTickColor[Z],this.lineTickWidth[Z]*this.pixelRatio)}function _e(be){(ie=[0,0,0])[be]=1}function Me(be,ke,Le){var Be=(be+1)%3,ze=(be+2)%3,je=ke[Be],ge=ke[ze],we=Le[Be],Ee=Le[ze];je>0&&Ee>0||je>0&&Ee<0||je<0&&Ee>0||je<0&&Ee<0?_e(Be):(ge>0&&we>0||ge>0&&we<0||ge<0&&we>0||ge<0&&we<0)&&_e(ze)}for(this._lines.unbind(),this._text.bind(z,F,B,this.pixelRatio),Z=0;Z<3;++Z){var Se=X[Z].primalMinor,Ce=X[Z].mirrorMinor,ae=w(R,X[Z].primalOffset);for(ce=0;ce<3;++ce)this.lineTickEnable[Z]&&(ae[ce]+=te*Se[ce]*Math.max(this.lineTickLength[ce],0)/z[5*ce]);var fe=[0,0,0];if(fe[Z]=1,this.tickEnable[Z]){for(this.tickAngle[Z]===-3600?(this.tickAngle[Z]=0,this.tickAlign[Z]="auto"):this.tickAlign[Z]=-1,re=1,(Q=[this.tickAlign[Z],.5,re])[0]==="auto"?Q[0]=0:Q[0]=parseInt(""+Q[0]),ie=[0,0,0],Me(Z,Se,Ce),ce=0;ce<3;++ce)ae[ce]+=te*Se[ce]*this.tickPad[ce]/z[5*ce];this._text.drawTicks(Z,this.tickSize[Z],this.tickAngle[Z],ae,this.tickColor[Z],fe,ie,Q)}if(this.labelEnable[Z]){for(re=0,ie=[0,0,0],this.labels[Z].length>4&&(_e(Z),re=1),(Q=[this.labelAlign[Z],.5,re])[0]==="auto"?Q[0]=0:Q[0]=parseInt(""+Q[0]),ce=0;ce<3;++ce)ae[ce]+=te*Se[ce]*this.labelPad[ce]/z[5*ce];ae[Z]+=.5*(N[0][Z]+N[1][Z]),this._text.drawLabel(Z,this.labelSize[Z],this.labelAngle[Z],ae,this.labelColor[Z],[0,0,0],ie,Q)}}this._text.unbind()},S.dispose=function(){this._text.dispose(),this._lines.dispose(),this._background.dispose(),this._lines=null,this._text=null,this._background=null,this.gl=null}},1011:function(f,l,a){f.exports=function(m){for(var w=[],y=[],S=0,_=0;_<3;++_)for(var k=(_+1)%3,E=(_+2)%3,x=[0,0,0],A=[0,0,0],L=-1;L<=1;L+=2){y.push(S,S+2,S+1,S+1,S+2,S+3),x[_]=L,A[_]=L;for(var b=-1;b<=1;b+=2){x[k]=b;for(var R=-1;R<=1;R+=2)x[E]=R,w.push(x[0],x[1],x[2],A[0],A[1],A[2]),S+=1}var I=k;k=E,E=I}var O=u(m,new Float32Array(w)),z=u(m,new Uint16Array(y),m.ELEMENT_ARRAY_BUFFER),F=o(m,[{buffer:O,type:m.FLOAT,size:3,offset:0,stride:24},{buffer:O,type:m.FLOAT,size:3,offset:12,stride:24}],z),B=s(m);return B.attributes.position.location=0,B.attributes.normal.location=1,new c(m,O,F,B)};var u=a(5827),o=a(2944),s=a(1943).bg;function c(m,w,y,S){this.gl=m,this.buffer=w,this.vao=y,this.shader=S}var h=c.prototype;h.draw=function(m,w,y,S,_,k){for(var E=!1,x=0;x<3;++x)E=E||_[x];if(E){var A=this.gl;A.enable(A.POLYGON_OFFSET_FILL),A.polygonOffset(1,2),this.shader.bind(),this.shader.uniforms={model:m,view:w,projection:y,bounds:S,enable:_,colors:k},this.vao.bind(),this.vao.draw(this.gl.TRIANGLES,36),this.vao.unbind(),A.disable(A.POLYGON_OFFSET_FILL)}},h.dispose=function(){this.vao.dispose(),this.buffer.dispose(),this.shader.dispose()}},2864:function(f,l,a){f.exports=function(b,R,I,O,z){o(h,R,b),o(h,I,h);for(var F=0,B=0;B<2;++B){y[2]=O[B][2];for(var N=0;N<2;++N){y[1]=O[N][1];for(var W=0;W<2;++W)y[0]=O[W][0],_(m[F],y,h),F+=1}}var j=-1;for(B=0;B<8;++B){for(var $=m[B][3],U=0;U<3;++U)w[B][U]=m[B][U]/$;z&&(w[B][2]*=-1),$<0&&(j<0||w[B][2]ne&&(j|=1<ne&&(j|=1<w[B][1])&&(ue=B);var ce=-1;for(B=0;B<3;++B)(de=ue^1<w[ye][0]&&(ye=de))}var me=x;me[0]=me[1]=me[2]=0,me[u.log2(ce^ue)]=ue&ce,me[u.log2(ue^ye)]=ue&ye;var pe=7^ye;pe===j||pe===oe?(pe=7^ce,me[u.log2(ye^pe)]=pe&ye):me[u.log2(ce^pe)]=pe&ce;var xe=A,Pe=j;for(G=0;G<3;++G)xe[G]=Pe&1<>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js #define GLSLIFY 1 attribute vec3 position; @@ -252,11 +213,7 @@ void main() { uniform vec4 color; void main() { gl_FragColor = color; -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js }`]);l.j=function(C){return o(C,s,h,null,[{name:"position",type:"vec3"}])};var c=u([`precision highp float; -======== -}`]);l.j=function(S){return o(S,s,c,null,[{name:"position",type:"vec3"}])};var h=u([`precision highp float; ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js #define GLSLIFY 1 attribute vec3 position; @@ -398,11 +355,7 @@ void main() { uniform vec4 color; void main() { gl_FragColor = color; -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js }`]);l.f=function(C){return o(C,c,m,null,[{name:"position",type:"vec3"}])};var w=u([`precision highp float; -======== -}`]);l.f=function(S){return o(S,h,m,null,[{name:"position",type:"vec3"}])};var w=u([`precision highp float; ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js #define GLSLIFY 1 attribute vec3 position; @@ -441,11 +394,7 @@ void main() { gl_FragColor = colorChannel.x * colors[0] + colorChannel.y * colors[1] + colorChannel.z * colors[2]; -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js }`]);l.bg=function(C){return o(C,w,y,null,[{name:"position",type:"vec3"},{name:"normal",type:"vec3"}])}},9557:function(f,l,a){f.exports=function(_,k,E,x,A,L){var b=u(_),R=o(_,[{buffer:b,size:3}]),I=h(_);I.attributes.position.location=0;var O=new w(_,I,b,R);return O.update(k,E,x,A,L),O};var u=a(5827),o=a(2944),s=a(875),h=a(1943).f,c=window||g.global||{},m=c.__TEXT_CACHE||{};function w(_,k,E,x){this.gl=_,this.shader=k,this.buffer=E,this.vao=x,this.tickOffset=this.tickCount=this.labelOffset=this.labelCount=null}c.__TEXT_CACHE={};var y=w.prototype,C=[0,0];y.bind=function(_,k,E,x){this.vao.bind(),this.shader.bind();var A=this.shader.uniforms;A.model=_,A.view=k,A.projection=E,A.pixelScale=x,C[0]=this.gl.drawingBufferWidth,C[1]=this.gl.drawingBufferHeight,this.shader.uniforms.resolution=C},y.unbind=function(){this.vao.unbind()},y.update=function(_,k,E,x,A){var L=[];function b(W,j,$,U,G,q){var H=m[$];H||(H=m[$]={});var ne=H[j];ne||(ne=H[j]=function(ce,ye){try{return s(ce,ye)}catch(de){return console.warn('error vectorizing text:"'+ce+'" error:',de),{cells:[],positions:[]}}}(j,{triangles:!0,font:$,textAlign:"center",textBaseline:"middle",lineSpacing:G,styletags:q}));for(var te=(U||12)/12,Z=ne.positions,X=ne.cells,Q=0,re=X.length;Q=0;--oe){var ue=Z[ie[oe]];L.push(te*ue[0],-te*ue[1],W)}}for(var R=[0,0,0],I=[0,0,0],O=[0,0,0],z=[0,0,0],F={breaklines:!0,bolds:!0,italics:!0,subscripts:!0,superscripts:!0},B=0;B<3;++B){O[B]=L.length/3|0,b(.5*(_[0][B]+_[1][B]),k[B],E[B],12,1.25,F),z[B]=(L.length/3|0)-O[B],R[B]=L.length/3|0;for(var N=0;N=0&&(c=s.length-h-1);var m=Math.pow(10,c),w=Math.round(u*o*m),y=w+"";if(y.indexOf("e")>=0)return y;var C=w/m,_=w%m;w<0?(C=0|-Math.ceil(C),_=0|-_):(C=0|Math.floor(C),_|=0);var k=""+C;if(w<0&&(k="-"+k),c){for(var E=""+_;E.length=u[0][h];--m)c.push({x:m*o[h],text:a(o[h],m)});s.push(c)}return s},l.equal=function(u,o){for(var s=0;s<3;++s){if(u[s].length!==o[s].length)return!1;for(var h=0;hk)throw new Error("gl-buffer: If resizing buffer, must not specify offset");return C.bufferSubData(_,A,x),k}function y(C,_){for(var k=u.malloc(C.length,_),E=C.length,x=0;x=0;--I){if(b[I]!==R)return!1;R*=L[I]}return!0}(C.shape,C.stride))C.offset===0&&C.data.length===C.shape[0]?this.length=w(this.gl,this.type,this.length,this.usage,C.data,_):this.length=w(this.gl,this.type,this.length,this.usage,C.data.subarray(C.offset,C.shape[0]),_);else{var E=u.malloc(C.size,k),x=s(E,C.shape);o.assign(x,C),this.length=w(this.gl,this.type,this.length,this.usage,_<0?E:E.subarray(0,C.size),_),u.free(E)}}else if(Array.isArray(C)){var A;A=this.type===this.gl.ELEMENT_ARRAY_BUFFER?y(C,"uint16"):y(C,"float32"),this.length=w(this.gl,this.type,this.length,this.usage,_<0?A:A.subarray(0,C.length),_),u.free(A)}else if(typeof C=="object"&&typeof C.length=="number")this.length=w(this.gl,this.type,this.length,this.usage,C,_);else{if(typeof C!="number"&&C!==void 0)throw new Error("gl-buffer: Invalid data type");if(_>=0)throw new Error("gl-buffer: Cannot specify offset when resizing buffer");(C|=0)<=0&&(C=1),this.gl.bufferData(this.type,0|C,this.usage),this.length=C}},f.exports=function(C,_,k,E){if(k=k||C.ARRAY_BUFFER,E=E||C.DYNAMIC_DRAW,k!==C.ARRAY_BUFFER&&k!==C.ELEMENT_ARRAY_BUFFER)throw new Error("gl-buffer: Invalid type for webgl buffer, must be either gl.ARRAY_BUFFER or gl.ELEMENT_ARRAY_BUFFER");if(E!==C.DYNAMIC_DRAW&&E!==C.STATIC_DRAW&&E!==C.STREAM_DRAW)throw new Error("gl-buffer: Invalid usage for buffer, must be either gl.DYNAMIC_DRAW, gl.STATIC_DRAW or gl.STREAM_DRAW");var x=C.createBuffer(),A=new c(C,k,x,0,E);return A.update(_),A}},1140:function(f,l,a){var u=a(2858);f.exports=function(s,h){var c=s.positions,m=s.vectors,w={positions:[],vertexIntensity:[],vertexIntensityBounds:s.vertexIntensityBounds,vectors:[],cells:[],coneOffset:s.coneOffset,colormap:s.colormap};if(s.positions.length===0)return h&&(h[0]=[0,0,0],h[1]=[0,0,0]),w;for(var y=0,C=1/0,_=-1/0,k=1/0,E=-1/0,x=1/0,A=-1/0,L=null,b=null,R=[],I=1/0,O=!1,z=0;zy&&(y=u.length(B)),z){var N=2*u.distance(L,F)/(u.length(b)+u.length(B));N?(I=Math.min(I,N),O=!1):O=!0}O||(L=F,b=B),R.push(B)}var W=[C,k,x],j=[_,E,A];h&&(h[0]=W,h[1]=j),y===0&&(y=1);var $=1/y;isFinite(I)||(I=1),w.vectorScale=I;var U=s.coneSize||.5;s.absoluteConeSize&&(U=s.absoluteConeSize*$),w.coneScale=U,z=0;for(var G=0;z=1},k.isTransparent=function(){return this.opacity<1},k.pickSlots=1,k.setPickBase=function(A){this.pickId=A},k.update=function(A){A=A||{};var L=this.gl;this.dirty=!0,"lightPosition"in A&&(this.lightPosition=A.lightPosition),"opacity"in A&&(this.opacity=A.opacity),"ambient"in A&&(this.ambientLight=A.ambient),"diffuse"in A&&(this.diffuseLight=A.diffuse),"specular"in A&&(this.specularLight=A.specular),"roughness"in A&&(this.roughness=A.roughness),"fresnel"in A&&(this.fresnel=A.fresnel),A.tubeScale!==void 0&&(this.tubeScale=A.tubeScale),A.vectorScale!==void 0&&(this.vectorScale=A.vectorScale),A.coneScale!==void 0&&(this.coneScale=A.coneScale),A.coneOffset!==void 0&&(this.coneOffset=A.coneOffset),A.colormap&&(this.texture.shape=[256,256],this.texture.minFilter=L.LINEAR_MIPMAP_LINEAR,this.texture.magFilter=L.LINEAR,this.texture.setPixels(function(ue){for(var ce=y({colormap:ue,nshades:256,format:"rgba"}),ye=new Uint8Array(1024),de=0;de<256;++de){for(var me=ce[de],pe=0;pe<3;++pe)ye[4*de+pe]=me[pe];ye[4*de+3]=255*me[3]}return w(ye,[256,256,4],[4,0,1])}(A.colormap)),this.texture.generateMipmap());var b=A.cells,R=A.positions,I=A.vectors;if(R&&b&&I){var O=[],z=[],F=[],B=[],N=[];this.cells=b,this.positions=R,this.vectors=I;var W=A.meshColor||[1,1,1,1],j=A.vertexIntensity,$=1/0,U=-1/0;if(j)if(A.vertexIntensityBounds)$=+A.vertexIntensityBounds[0],U=+A.vertexIntensityBounds[1];else for(var G=0;G0){var $=this.triShader;$.bind(),$.uniforms=F,this.triangleVAO.bind(),L.drawArrays(L.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind()}},k.drawPick=function(A){A=A||{};for(var L=this.gl,b=A.model||C,R=A.view||C,I=A.projection||C,O=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],z=0;z<3;++z)O[0][z]=Math.max(O[0][z],this.clipBounds[0][z]),O[1][z]=Math.min(O[1][z],this.clipBounds[1][z]);this._model=[].slice.call(b),this._view=[].slice.call(R),this._projection=[].slice.call(I),this._resolution=[L.drawingBufferWidth,L.drawingBufferHeight];var F={model:b,view:R,projection:I,clipBounds:O,tubeScale:this.tubeScale,vectorScale:this.vectorScale,coneScale:this.coneScale,coneOffset:this.coneOffset,pickId:this.pickId/255},B=this.pickShader;B.bind(),B.uniforms=F,this.triangleCount>0&&(this.triangleVAO.bind(),L.drawArrays(L.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind())},k.pick=function(A){if(!A||A.id!==this.pickId)return null;var L=A.value[0]+256*A.value[1]+65536*A.value[2],b=this.cells[L],R=this.positions[b[1]].slice(0,3),I={position:R,dataCoordinate:R,index:Math.floor(b[1]/48)};return this.traceType==="cone"?I.index=Math.floor(b[1]/48):this.traceType==="streamtube"&&(I.intensity=this.intensity[b[1]],I.velocity=this.vectors[b[1]].slice(0,3),I.divergence=this.vectors[b[1]][3],I.index=L),I},k.dispose=function(){this.texture.dispose(),this.triShader.dispose(),this.pickShader.dispose(),this.triangleVAO.dispose(),this.trianglePositions.dispose(),this.triangleVectors.dispose(),this.triangleColors.dispose(),this.triangleUVs.dispose(),this.triangleIds.dispose()},f.exports=function(A,L,b){var R=b.shaders;arguments.length===1&&(A=(L=A).gl);var I=E(A,R),O=x(A,R),z=h(A,w(new Uint8Array([255,255,255,255]),[1,1,4]));z.generateMipmap(),z.minFilter=A.LINEAR_MIPMAP_LINEAR,z.magFilter=A.LINEAR;var F=o(A),B=o(A),N=o(A),W=o(A),j=o(A),$=s(A,[{buffer:F,type:A.FLOAT,size:4},{buffer:j,type:A.UNSIGNED_BYTE,size:4,normalized:!0},{buffer:N,type:A.FLOAT,size:4},{buffer:W,type:A.FLOAT,size:2},{buffer:B,type:A.FLOAT,size:4}]),U=new _(A,z,I,O,F,B,j,N,W,$,b.traceType||"cone");return U.update(L),U}},7234:function(f,l,a){var u=a(6832),o=u([`precision highp float; -======== -}`]);l.bg=function(S){return o(S,w,y,null,[{name:"position",type:"vec3"},{name:"normal",type:"vec3"}])}},9557:function(f,l,a){f.exports=function(_,k,E,x,A,L){var b=u(_),R=o(_,[{buffer:b,size:3}]),I=c(_);I.attributes.position.location=0;var O=new w(_,I,b,R);return O.update(k,E,x,A,L),O};var u=a(5827),o=a(2944),s=a(875),c=a(1943).f,h=window||g.global||{},m=h.__TEXT_CACHE||{};function w(_,k,E,x){this.gl=_,this.shader=k,this.buffer=E,this.vao=x,this.tickOffset=this.tickCount=this.labelOffset=this.labelCount=null}h.__TEXT_CACHE={};var y=w.prototype,S=[0,0];y.bind=function(_,k,E,x){this.vao.bind(),this.shader.bind();var A=this.shader.uniforms;A.model=_,A.view=k,A.projection=E,A.pixelScale=x,S[0]=this.gl.drawingBufferWidth,S[1]=this.gl.drawingBufferHeight,this.shader.uniforms.resolution=S},y.unbind=function(){this.vao.unbind()},y.update=function(_,k,E,x,A){var L=[];function b(W,j,$,U,G,q){var H=m[$];H||(H=m[$]={});var ne=H[j];ne||(ne=H[j]=function(ce,ye){try{return s(ce,ye)}catch(de){return console.warn('error vectorizing text:"'+ce+'" error:',de),{cells:[],positions:[]}}}(j,{triangles:!0,font:$,textAlign:"center",textBaseline:"middle",lineSpacing:G,styletags:q}));for(var te=(U||12)/12,Z=ne.positions,X=ne.cells,Q=0,re=X.length;Q=0;--oe){var ue=Z[ie[oe]];L.push(te*ue[0],-te*ue[1],W)}}for(var R=[0,0,0],I=[0,0,0],O=[0,0,0],z=[0,0,0],F={breaklines:!0,bolds:!0,italics:!0,subscripts:!0,superscripts:!0},B=0;B<3;++B){O[B]=L.length/3|0,b(.5*(_[0][B]+_[1][B]),k[B],E[B],12,1.25,F),z[B]=(L.length/3|0)-O[B],R[B]=L.length/3|0;for(var N=0;N=0&&(h=s.length-c-1);var m=Math.pow(10,h),w=Math.round(u*o*m),y=w+"";if(y.indexOf("e")>=0)return y;var S=w/m,_=w%m;w<0?(S=0|-Math.ceil(S),_=0|-_):(S=0|Math.floor(S),_|=0);var k=""+S;if(w<0&&(k="-"+k),h){for(var E=""+_;E.length=u[0][c];--m)h.push({x:m*o[c],text:a(o[c],m)});s.push(h)}return s},l.equal=function(u,o){for(var s=0;s<3;++s){if(u[s].length!==o[s].length)return!1;for(var c=0;ck)throw new Error("gl-buffer: If resizing buffer, must not specify offset");return S.bufferSubData(_,A,x),k}function y(S,_){for(var k=u.malloc(S.length,_),E=S.length,x=0;x=0;--I){if(b[I]!==R)return!1;R*=L[I]}return!0}(S.shape,S.stride))S.offset===0&&S.data.length===S.shape[0]?this.length=w(this.gl,this.type,this.length,this.usage,S.data,_):this.length=w(this.gl,this.type,this.length,this.usage,S.data.subarray(S.offset,S.shape[0]),_);else{var E=u.malloc(S.size,k),x=s(E,S.shape);o.assign(x,S),this.length=w(this.gl,this.type,this.length,this.usage,_<0?E:E.subarray(0,S.size),_),u.free(E)}}else if(Array.isArray(S)){var A;A=this.type===this.gl.ELEMENT_ARRAY_BUFFER?y(S,"uint16"):y(S,"float32"),this.length=w(this.gl,this.type,this.length,this.usage,_<0?A:A.subarray(0,S.length),_),u.free(A)}else if(typeof S=="object"&&typeof S.length=="number")this.length=w(this.gl,this.type,this.length,this.usage,S,_);else{if(typeof S!="number"&&S!==void 0)throw new Error("gl-buffer: Invalid data type");if(_>=0)throw new Error("gl-buffer: Cannot specify offset when resizing buffer");(S|=0)<=0&&(S=1),this.gl.bufferData(this.type,0|S,this.usage),this.length=S}},f.exports=function(S,_,k,E){if(k=k||S.ARRAY_BUFFER,E=E||S.DYNAMIC_DRAW,k!==S.ARRAY_BUFFER&&k!==S.ELEMENT_ARRAY_BUFFER)throw new Error("gl-buffer: Invalid type for webgl buffer, must be either gl.ARRAY_BUFFER or gl.ELEMENT_ARRAY_BUFFER");if(E!==S.DYNAMIC_DRAW&&E!==S.STATIC_DRAW&&E!==S.STREAM_DRAW)throw new Error("gl-buffer: Invalid usage for buffer, must be either gl.DYNAMIC_DRAW, gl.STATIC_DRAW or gl.STREAM_DRAW");var x=S.createBuffer(),A=new h(S,k,x,0,E);return A.update(_),A}},1140:function(f,l,a){var u=a(2858);f.exports=function(s,c){var h=s.positions,m=s.vectors,w={positions:[],vertexIntensity:[],vertexIntensityBounds:s.vertexIntensityBounds,vectors:[],cells:[],coneOffset:s.coneOffset,colormap:s.colormap};if(s.positions.length===0)return c&&(c[0]=[0,0,0],c[1]=[0,0,0]),w;for(var y=0,S=1/0,_=-1/0,k=1/0,E=-1/0,x=1/0,A=-1/0,L=null,b=null,R=[],I=1/0,O=!1,z=0;zy&&(y=u.length(B)),z){var N=2*u.distance(L,F)/(u.length(b)+u.length(B));N?(I=Math.min(I,N),O=!1):O=!0}O||(L=F,b=B),R.push(B)}var W=[S,k,x],j=[_,E,A];c&&(c[0]=W,c[1]=j),y===0&&(y=1);var $=1/y;isFinite(I)||(I=1),w.vectorScale=I;var U=s.coneSize||.5;s.absoluteConeSize&&(U=s.absoluteConeSize*$),w.coneScale=U,z=0;for(var G=0;z=1},k.isTransparent=function(){return this.opacity<1},k.pickSlots=1,k.setPickBase=function(A){this.pickId=A},k.update=function(A){A=A||{};var L=this.gl;this.dirty=!0,"lightPosition"in A&&(this.lightPosition=A.lightPosition),"opacity"in A&&(this.opacity=A.opacity),"ambient"in A&&(this.ambientLight=A.ambient),"diffuse"in A&&(this.diffuseLight=A.diffuse),"specular"in A&&(this.specularLight=A.specular),"roughness"in A&&(this.roughness=A.roughness),"fresnel"in A&&(this.fresnel=A.fresnel),A.tubeScale!==void 0&&(this.tubeScale=A.tubeScale),A.vectorScale!==void 0&&(this.vectorScale=A.vectorScale),A.coneScale!==void 0&&(this.coneScale=A.coneScale),A.coneOffset!==void 0&&(this.coneOffset=A.coneOffset),A.colormap&&(this.texture.shape=[256,256],this.texture.minFilter=L.LINEAR_MIPMAP_LINEAR,this.texture.magFilter=L.LINEAR,this.texture.setPixels(function(ue){for(var ce=y({colormap:ue,nshades:256,format:"rgba"}),ye=new Uint8Array(1024),de=0;de<256;++de){for(var me=ce[de],pe=0;pe<3;++pe)ye[4*de+pe]=me[pe];ye[4*de+3]=255*me[3]}return w(ye,[256,256,4],[4,0,1])}(A.colormap)),this.texture.generateMipmap());var b=A.cells,R=A.positions,I=A.vectors;if(R&&b&&I){var O=[],z=[],F=[],B=[],N=[];this.cells=b,this.positions=R,this.vectors=I;var W=A.meshColor||[1,1,1,1],j=A.vertexIntensity,$=1/0,U=-1/0;if(j)if(A.vertexIntensityBounds)$=+A.vertexIntensityBounds[0],U=+A.vertexIntensityBounds[1];else for(var G=0;G0){var $=this.triShader;$.bind(),$.uniforms=F,this.triangleVAO.bind(),L.drawArrays(L.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind()}},k.drawPick=function(A){A=A||{};for(var L=this.gl,b=A.model||S,R=A.view||S,I=A.projection||S,O=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],z=0;z<3;++z)O[0][z]=Math.max(O[0][z],this.clipBounds[0][z]),O[1][z]=Math.min(O[1][z],this.clipBounds[1][z]);this._model=[].slice.call(b),this._view=[].slice.call(R),this._projection=[].slice.call(I),this._resolution=[L.drawingBufferWidth,L.drawingBufferHeight];var F={model:b,view:R,projection:I,clipBounds:O,tubeScale:this.tubeScale,vectorScale:this.vectorScale,coneScale:this.coneScale,coneOffset:this.coneOffset,pickId:this.pickId/255},B=this.pickShader;B.bind(),B.uniforms=F,this.triangleCount>0&&(this.triangleVAO.bind(),L.drawArrays(L.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind())},k.pick=function(A){if(!A||A.id!==this.pickId)return null;var L=A.value[0]+256*A.value[1]+65536*A.value[2],b=this.cells[L],R=this.positions[b[1]].slice(0,3),I={position:R,dataCoordinate:R,index:Math.floor(b[1]/48)};return this.traceType==="cone"?I.index=Math.floor(b[1]/48):this.traceType==="streamtube"&&(I.intensity=this.intensity[b[1]],I.velocity=this.vectors[b[1]].slice(0,3),I.divergence=this.vectors[b[1]][3],I.index=L),I},k.dispose=function(){this.texture.dispose(),this.triShader.dispose(),this.pickShader.dispose(),this.triangleVAO.dispose(),this.trianglePositions.dispose(),this.triangleVectors.dispose(),this.triangleColors.dispose(),this.triangleUVs.dispose(),this.triangleIds.dispose()},f.exports=function(A,L,b){var R=b.shaders;arguments.length===1&&(A=(L=A).gl);var I=E(A,R),O=x(A,R),z=c(A,w(new Uint8Array([255,255,255,255]),[1,1,4]));z.generateMipmap(),z.minFilter=A.LINEAR_MIPMAP_LINEAR,z.magFilter=A.LINEAR;var F=o(A),B=o(A),N=o(A),W=o(A),j=o(A),$=s(A,[{buffer:F,type:A.FLOAT,size:4},{buffer:j,type:A.UNSIGNED_BYTE,size:4,normalized:!0},{buffer:N,type:A.FLOAT,size:4},{buffer:W,type:A.FLOAT,size:2},{buffer:B,type:A.FLOAT,size:4}]),U=new _(A,z,I,O,F,B,j,N,W,$,b.traceType||"cone");return U.update(L),U}},7234:function(f,l,a){var u=a(6832),o=u([`precision highp float; ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js precision highp float; #define GLSLIFY 1 @@ -751,11 +700,7 @@ void main() { f_id = id; f_position = position.xyz; } -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js `]),c=u([`precision highp float; -======== -`]),h=u([`precision highp float; ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js #define GLSLIFY 1 bool outOfRange(float a, float b, float p) { @@ -788,11 +733,7 @@ void main() { if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard; gl_FragColor = vec4(pickId, f_id.xyz); -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js }`]);l.meshShader={vertex:o,fragment:s,attributes:[{name:"position",type:"vec4"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"},{name:"vector",type:"vec3"}]},l.pickShader={vertex:h,fragment:c,attributes:[{name:"position",type:"vec4"},{name:"id",type:"vec4"},{name:"vector",type:"vec3"}]}},1950:function(f){f.exports={0:"NONE",1:"ONE",2:"LINE_LOOP",3:"LINE_STRIP",4:"TRIANGLES",5:"TRIANGLE_STRIP",6:"TRIANGLE_FAN",256:"DEPTH_BUFFER_BIT",512:"NEVER",513:"LESS",514:"EQUAL",515:"LEQUAL",516:"GREATER",517:"NOTEQUAL",518:"GEQUAL",519:"ALWAYS",768:"SRC_COLOR",769:"ONE_MINUS_SRC_COLOR",770:"SRC_ALPHA",771:"ONE_MINUS_SRC_ALPHA",772:"DST_ALPHA",773:"ONE_MINUS_DST_ALPHA",774:"DST_COLOR",775:"ONE_MINUS_DST_COLOR",776:"SRC_ALPHA_SATURATE",1024:"STENCIL_BUFFER_BIT",1028:"FRONT",1029:"BACK",1032:"FRONT_AND_BACK",1280:"INVALID_ENUM",1281:"INVALID_VALUE",1282:"INVALID_OPERATION",1285:"OUT_OF_MEMORY",1286:"INVALID_FRAMEBUFFER_OPERATION",2304:"CW",2305:"CCW",2849:"LINE_WIDTH",2884:"CULL_FACE",2885:"CULL_FACE_MODE",2886:"FRONT_FACE",2928:"DEPTH_RANGE",2929:"DEPTH_TEST",2930:"DEPTH_WRITEMASK",2931:"DEPTH_CLEAR_VALUE",2932:"DEPTH_FUNC",2960:"STENCIL_TEST",2961:"STENCIL_CLEAR_VALUE",2962:"STENCIL_FUNC",2963:"STENCIL_VALUE_MASK",2964:"STENCIL_FAIL",2965:"STENCIL_PASS_DEPTH_FAIL",2966:"STENCIL_PASS_DEPTH_PASS",2967:"STENCIL_REF",2968:"STENCIL_WRITEMASK",2978:"VIEWPORT",3024:"DITHER",3042:"BLEND",3088:"SCISSOR_BOX",3089:"SCISSOR_TEST",3106:"COLOR_CLEAR_VALUE",3107:"COLOR_WRITEMASK",3317:"UNPACK_ALIGNMENT",3333:"PACK_ALIGNMENT",3379:"MAX_TEXTURE_SIZE",3386:"MAX_VIEWPORT_DIMS",3408:"SUBPIXEL_BITS",3410:"RED_BITS",3411:"GREEN_BITS",3412:"BLUE_BITS",3413:"ALPHA_BITS",3414:"DEPTH_BITS",3415:"STENCIL_BITS",3553:"TEXTURE_2D",4352:"DONT_CARE",4353:"FASTEST",4354:"NICEST",5120:"BYTE",5121:"UNSIGNED_BYTE",5122:"SHORT",5123:"UNSIGNED_SHORT",5124:"INT",5125:"UNSIGNED_INT",5126:"FLOAT",5386:"INVERT",5890:"TEXTURE",6401:"STENCIL_INDEX",6402:"DEPTH_COMPONENT",6406:"ALPHA",6407:"RGB",6408:"RGBA",6409:"LUMINANCE",6410:"LUMINANCE_ALPHA",7680:"KEEP",7681:"REPLACE",7682:"INCR",7683:"DECR",7936:"VENDOR",7937:"RENDERER",7938:"VERSION",9728:"NEAREST",9729:"LINEAR",9984:"NEAREST_MIPMAP_NEAREST",9985:"LINEAR_MIPMAP_NEAREST",9986:"NEAREST_MIPMAP_LINEAR",9987:"LINEAR_MIPMAP_LINEAR",10240:"TEXTURE_MAG_FILTER",10241:"TEXTURE_MIN_FILTER",10242:"TEXTURE_WRAP_S",10243:"TEXTURE_WRAP_T",10497:"REPEAT",10752:"POLYGON_OFFSET_UNITS",16384:"COLOR_BUFFER_BIT",32769:"CONSTANT_COLOR",32770:"ONE_MINUS_CONSTANT_COLOR",32771:"CONSTANT_ALPHA",32772:"ONE_MINUS_CONSTANT_ALPHA",32773:"BLEND_COLOR",32774:"FUNC_ADD",32777:"BLEND_EQUATION_RGB",32778:"FUNC_SUBTRACT",32779:"FUNC_REVERSE_SUBTRACT",32819:"UNSIGNED_SHORT_4_4_4_4",32820:"UNSIGNED_SHORT_5_5_5_1",32823:"POLYGON_OFFSET_FILL",32824:"POLYGON_OFFSET_FACTOR",32854:"RGBA4",32855:"RGB5_A1",32873:"TEXTURE_BINDING_2D",32926:"SAMPLE_ALPHA_TO_COVERAGE",32928:"SAMPLE_COVERAGE",32936:"SAMPLE_BUFFERS",32937:"SAMPLES",32938:"SAMPLE_COVERAGE_VALUE",32939:"SAMPLE_COVERAGE_INVERT",32968:"BLEND_DST_RGB",32969:"BLEND_SRC_RGB",32970:"BLEND_DST_ALPHA",32971:"BLEND_SRC_ALPHA",33071:"CLAMP_TO_EDGE",33170:"GENERATE_MIPMAP_HINT",33189:"DEPTH_COMPONENT16",33306:"DEPTH_STENCIL_ATTACHMENT",33635:"UNSIGNED_SHORT_5_6_5",33648:"MIRRORED_REPEAT",33901:"ALIASED_POINT_SIZE_RANGE",33902:"ALIASED_LINE_WIDTH_RANGE",33984:"TEXTURE0",33985:"TEXTURE1",33986:"TEXTURE2",33987:"TEXTURE3",33988:"TEXTURE4",33989:"TEXTURE5",33990:"TEXTURE6",33991:"TEXTURE7",33992:"TEXTURE8",33993:"TEXTURE9",33994:"TEXTURE10",33995:"TEXTURE11",33996:"TEXTURE12",33997:"TEXTURE13",33998:"TEXTURE14",33999:"TEXTURE15",34e3:"TEXTURE16",34001:"TEXTURE17",34002:"TEXTURE18",34003:"TEXTURE19",34004:"TEXTURE20",34005:"TEXTURE21",34006:"TEXTURE22",34007:"TEXTURE23",34008:"TEXTURE24",34009:"TEXTURE25",34010:"TEXTURE26",34011:"TEXTURE27",34012:"TEXTURE28",34013:"TEXTURE29",34014:"TEXTURE30",34015:"TEXTURE31",34016:"ACTIVE_TEXTURE",34024:"MAX_RENDERBUFFER_SIZE",34041:"DEPTH_STENCIL",34055:"INCR_WRAP",34056:"DECR_WRAP",34067:"TEXTURE_CUBE_MAP",34068:"TEXTURE_BINDING_CUBE_MAP",34069:"TEXTURE_CUBE_MAP_POSITIVE_X",34070:"TEXTURE_CUBE_MAP_NEGATIVE_X",34071:"TEXTURE_CUBE_MAP_POSITIVE_Y",34072:"TEXTURE_CUBE_MAP_NEGATIVE_Y",34073:"TEXTURE_CUBE_MAP_POSITIVE_Z",34074:"TEXTURE_CUBE_MAP_NEGATIVE_Z",34076:"MAX_CUBE_MAP_TEXTURE_SIZE",34338:"VERTEX_ATTRIB_ARRAY_ENABLED",34339:"VERTEX_ATTRIB_ARRAY_SIZE",34340:"VERTEX_ATTRIB_ARRAY_STRIDE",34341:"VERTEX_ATTRIB_ARRAY_TYPE",34342:"CURRENT_VERTEX_ATTRIB",34373:"VERTEX_ATTRIB_ARRAY_POINTER",34466:"NUM_COMPRESSED_TEXTURE_FORMATS",34467:"COMPRESSED_TEXTURE_FORMATS",34660:"BUFFER_SIZE",34661:"BUFFER_USAGE",34816:"STENCIL_BACK_FUNC",34817:"STENCIL_BACK_FAIL",34818:"STENCIL_BACK_PASS_DEPTH_FAIL",34819:"STENCIL_BACK_PASS_DEPTH_PASS",34877:"BLEND_EQUATION_ALPHA",34921:"MAX_VERTEX_ATTRIBS",34922:"VERTEX_ATTRIB_ARRAY_NORMALIZED",34930:"MAX_TEXTURE_IMAGE_UNITS",34962:"ARRAY_BUFFER",34963:"ELEMENT_ARRAY_BUFFER",34964:"ARRAY_BUFFER_BINDING",34965:"ELEMENT_ARRAY_BUFFER_BINDING",34975:"VERTEX_ATTRIB_ARRAY_BUFFER_BINDING",35040:"STREAM_DRAW",35044:"STATIC_DRAW",35048:"DYNAMIC_DRAW",35632:"FRAGMENT_SHADER",35633:"VERTEX_SHADER",35660:"MAX_VERTEX_TEXTURE_IMAGE_UNITS",35661:"MAX_COMBINED_TEXTURE_IMAGE_UNITS",35663:"SHADER_TYPE",35664:"FLOAT_VEC2",35665:"FLOAT_VEC3",35666:"FLOAT_VEC4",35667:"INT_VEC2",35668:"INT_VEC3",35669:"INT_VEC4",35670:"BOOL",35671:"BOOL_VEC2",35672:"BOOL_VEC3",35673:"BOOL_VEC4",35674:"FLOAT_MAT2",35675:"FLOAT_MAT3",35676:"FLOAT_MAT4",35678:"SAMPLER_2D",35680:"SAMPLER_CUBE",35712:"DELETE_STATUS",35713:"COMPILE_STATUS",35714:"LINK_STATUS",35715:"VALIDATE_STATUS",35716:"INFO_LOG_LENGTH",35717:"ATTACHED_SHADERS",35718:"ACTIVE_UNIFORMS",35719:"ACTIVE_UNIFORM_MAX_LENGTH",35720:"SHADER_SOURCE_LENGTH",35721:"ACTIVE_ATTRIBUTES",35722:"ACTIVE_ATTRIBUTE_MAX_LENGTH",35724:"SHADING_LANGUAGE_VERSION",35725:"CURRENT_PROGRAM",36003:"STENCIL_BACK_REF",36004:"STENCIL_BACK_VALUE_MASK",36005:"STENCIL_BACK_WRITEMASK",36006:"FRAMEBUFFER_BINDING",36007:"RENDERBUFFER_BINDING",36048:"FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE",36049:"FRAMEBUFFER_ATTACHMENT_OBJECT_NAME",36050:"FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL",36051:"FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE",36053:"FRAMEBUFFER_COMPLETE",36054:"FRAMEBUFFER_INCOMPLETE_ATTACHMENT",36055:"FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT",36057:"FRAMEBUFFER_INCOMPLETE_DIMENSIONS",36061:"FRAMEBUFFER_UNSUPPORTED",36064:"COLOR_ATTACHMENT0",36096:"DEPTH_ATTACHMENT",36128:"STENCIL_ATTACHMENT",36160:"FRAMEBUFFER",36161:"RENDERBUFFER",36162:"RENDERBUFFER_WIDTH",36163:"RENDERBUFFER_HEIGHT",36164:"RENDERBUFFER_INTERNAL_FORMAT",36168:"STENCIL_INDEX8",36176:"RENDERBUFFER_RED_SIZE",36177:"RENDERBUFFER_GREEN_SIZE",36178:"RENDERBUFFER_BLUE_SIZE",36179:"RENDERBUFFER_ALPHA_SIZE",36180:"RENDERBUFFER_DEPTH_SIZE",36181:"RENDERBUFFER_STENCIL_SIZE",36194:"RGB565",36336:"LOW_FLOAT",36337:"MEDIUM_FLOAT",36338:"HIGH_FLOAT",36339:"LOW_INT",36340:"MEDIUM_INT",36341:"HIGH_INT",36346:"SHADER_COMPILER",36347:"MAX_VERTEX_UNIFORM_VECTORS",36348:"MAX_VARYING_VECTORS",36349:"MAX_FRAGMENT_UNIFORM_VECTORS",37440:"UNPACK_FLIP_Y_WEBGL",37441:"UNPACK_PREMULTIPLY_ALPHA_WEBGL",37442:"CONTEXT_LOST_WEBGL",37443:"UNPACK_COLORSPACE_CONVERSION_WEBGL",37444:"BROWSER_DEFAULT_WEBGL"}},6603:function(f,l,a){var u=a(1950);f.exports=function(o){return u[o]}},3110:function(f,l,a){f.exports=function(_){var k=_.gl,E=u(k),x=o(k,[{buffer:E,type:k.FLOAT,size:3,offset:0,stride:40},{buffer:E,type:k.FLOAT,size:4,offset:12,stride:40},{buffer:E,type:k.FLOAT,size:3,offset:28,stride:40}]),A=s(k);A.attributes.position.location=0,A.attributes.color.location=1,A.attributes.offset.location=2;var L=new c(k,E,x,A);return L.update(_),L};var u=a(5827),o=a(2944),s=a(7667),h=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function c(_,k,E,x){this.gl=_,this.shader=x,this.buffer=k,this.vao=E,this.pixelRatio=1,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.lineWidth=[1,1,1],this.capSize=[10,10,10],this.lineCount=[0,0,0],this.lineOffset=[0,0,0],this.opacity=1,this.hasAlpha=!1}var m=c.prototype;function w(_,k){for(var E=0;E<3;++E)_[0][E]=Math.min(_[0][E],k[E]),_[1][E]=Math.max(_[1][E],k[E])}m.isOpaque=function(){return!this.hasAlpha},m.isTransparent=function(){return this.hasAlpha},m.drawTransparent=m.draw=function(_){var k=this.gl,E=this.shader.uniforms;this.shader.bind();var x=E.view=_.view||h,A=E.projection=_.projection||h;E.model=_.model||h,E.clipBounds=this.clipBounds,E.opacity=this.opacity;var L=x[12],b=x[13],R=x[14],I=x[15],O=(_._ortho?2:1)*this.pixelRatio*(A[3]*L+A[7]*b+A[11]*R+A[15]*I)/k.drawingBufferHeight;this.vao.bind();for(var z=0;z<3;++z)k.lineWidth(this.lineWidth[z]*this.pixelRatio),E.capSize=this.capSize[z]*O,this.lineCount[z]&&k.drawArrays(k.LINES,this.lineOffset[z],this.lineCount[z]);this.vao.unbind()};var y=function(){for(var _=new Array(3),k=0;k<3;++k){for(var E=[],x=1;x<=2;++x)for(var A=-1;A<=1;A+=2){var L=[0,0,0];L[(x+k)%3]=A,E.push(L)}_[k]=E}return _}();function C(_,k,E,x){for(var A=y[x],L=0;L0&&((F=O.slice())[R]+=B[1][R],A.push(O[0],O[1],O[2],N[0],N[1],N[2],N[3],0,0,0,F[0],F[1],F[2],N[0],N[1],N[2],N[3],0,0,0),w(this.bounds,F),b+=2+C(A,F,N,R)))}this.lineCount[R]=b-this.lineOffset[R]}this.buffer.update(A)}},m.dispose=function(){this.shader.dispose(),this.buffer.dispose(),this.vao.dispose()}},7667:function(f,l,a){var u=a(6832),o=a(5158),s=u([`precision highp float; -======== -}`]);l.meshShader={vertex:o,fragment:s,attributes:[{name:"position",type:"vec4"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"},{name:"vector",type:"vec3"}]},l.pickShader={vertex:c,fragment:h,attributes:[{name:"position",type:"vec4"},{name:"id",type:"vec4"},{name:"vector",type:"vec3"}]}},1950:function(f){f.exports={0:"NONE",1:"ONE",2:"LINE_LOOP",3:"LINE_STRIP",4:"TRIANGLES",5:"TRIANGLE_STRIP",6:"TRIANGLE_FAN",256:"DEPTH_BUFFER_BIT",512:"NEVER",513:"LESS",514:"EQUAL",515:"LEQUAL",516:"GREATER",517:"NOTEQUAL",518:"GEQUAL",519:"ALWAYS",768:"SRC_COLOR",769:"ONE_MINUS_SRC_COLOR",770:"SRC_ALPHA",771:"ONE_MINUS_SRC_ALPHA",772:"DST_ALPHA",773:"ONE_MINUS_DST_ALPHA",774:"DST_COLOR",775:"ONE_MINUS_DST_COLOR",776:"SRC_ALPHA_SATURATE",1024:"STENCIL_BUFFER_BIT",1028:"FRONT",1029:"BACK",1032:"FRONT_AND_BACK",1280:"INVALID_ENUM",1281:"INVALID_VALUE",1282:"INVALID_OPERATION",1285:"OUT_OF_MEMORY",1286:"INVALID_FRAMEBUFFER_OPERATION",2304:"CW",2305:"CCW",2849:"LINE_WIDTH",2884:"CULL_FACE",2885:"CULL_FACE_MODE",2886:"FRONT_FACE",2928:"DEPTH_RANGE",2929:"DEPTH_TEST",2930:"DEPTH_WRITEMASK",2931:"DEPTH_CLEAR_VALUE",2932:"DEPTH_FUNC",2960:"STENCIL_TEST",2961:"STENCIL_CLEAR_VALUE",2962:"STENCIL_FUNC",2963:"STENCIL_VALUE_MASK",2964:"STENCIL_FAIL",2965:"STENCIL_PASS_DEPTH_FAIL",2966:"STENCIL_PASS_DEPTH_PASS",2967:"STENCIL_REF",2968:"STENCIL_WRITEMASK",2978:"VIEWPORT",3024:"DITHER",3042:"BLEND",3088:"SCISSOR_BOX",3089:"SCISSOR_TEST",3106:"COLOR_CLEAR_VALUE",3107:"COLOR_WRITEMASK",3317:"UNPACK_ALIGNMENT",3333:"PACK_ALIGNMENT",3379:"MAX_TEXTURE_SIZE",3386:"MAX_VIEWPORT_DIMS",3408:"SUBPIXEL_BITS",3410:"RED_BITS",3411:"GREEN_BITS",3412:"BLUE_BITS",3413:"ALPHA_BITS",3414:"DEPTH_BITS",3415:"STENCIL_BITS",3553:"TEXTURE_2D",4352:"DONT_CARE",4353:"FASTEST",4354:"NICEST",5120:"BYTE",5121:"UNSIGNED_BYTE",5122:"SHORT",5123:"UNSIGNED_SHORT",5124:"INT",5125:"UNSIGNED_INT",5126:"FLOAT",5386:"INVERT",5890:"TEXTURE",6401:"STENCIL_INDEX",6402:"DEPTH_COMPONENT",6406:"ALPHA",6407:"RGB",6408:"RGBA",6409:"LUMINANCE",6410:"LUMINANCE_ALPHA",7680:"KEEP",7681:"REPLACE",7682:"INCR",7683:"DECR",7936:"VENDOR",7937:"RENDERER",7938:"VERSION",9728:"NEAREST",9729:"LINEAR",9984:"NEAREST_MIPMAP_NEAREST",9985:"LINEAR_MIPMAP_NEAREST",9986:"NEAREST_MIPMAP_LINEAR",9987:"LINEAR_MIPMAP_LINEAR",10240:"TEXTURE_MAG_FILTER",10241:"TEXTURE_MIN_FILTER",10242:"TEXTURE_WRAP_S",10243:"TEXTURE_WRAP_T",10497:"REPEAT",10752:"POLYGON_OFFSET_UNITS",16384:"COLOR_BUFFER_BIT",32769:"CONSTANT_COLOR",32770:"ONE_MINUS_CONSTANT_COLOR",32771:"CONSTANT_ALPHA",32772:"ONE_MINUS_CONSTANT_ALPHA",32773:"BLEND_COLOR",32774:"FUNC_ADD",32777:"BLEND_EQUATION_RGB",32778:"FUNC_SUBTRACT",32779:"FUNC_REVERSE_SUBTRACT",32819:"UNSIGNED_SHORT_4_4_4_4",32820:"UNSIGNED_SHORT_5_5_5_1",32823:"POLYGON_OFFSET_FILL",32824:"POLYGON_OFFSET_FACTOR",32854:"RGBA4",32855:"RGB5_A1",32873:"TEXTURE_BINDING_2D",32926:"SAMPLE_ALPHA_TO_COVERAGE",32928:"SAMPLE_COVERAGE",32936:"SAMPLE_BUFFERS",32937:"SAMPLES",32938:"SAMPLE_COVERAGE_VALUE",32939:"SAMPLE_COVERAGE_INVERT",32968:"BLEND_DST_RGB",32969:"BLEND_SRC_RGB",32970:"BLEND_DST_ALPHA",32971:"BLEND_SRC_ALPHA",33071:"CLAMP_TO_EDGE",33170:"GENERATE_MIPMAP_HINT",33189:"DEPTH_COMPONENT16",33306:"DEPTH_STENCIL_ATTACHMENT",33635:"UNSIGNED_SHORT_5_6_5",33648:"MIRRORED_REPEAT",33901:"ALIASED_POINT_SIZE_RANGE",33902:"ALIASED_LINE_WIDTH_RANGE",33984:"TEXTURE0",33985:"TEXTURE1",33986:"TEXTURE2",33987:"TEXTURE3",33988:"TEXTURE4",33989:"TEXTURE5",33990:"TEXTURE6",33991:"TEXTURE7",33992:"TEXTURE8",33993:"TEXTURE9",33994:"TEXTURE10",33995:"TEXTURE11",33996:"TEXTURE12",33997:"TEXTURE13",33998:"TEXTURE14",33999:"TEXTURE15",34e3:"TEXTURE16",34001:"TEXTURE17",34002:"TEXTURE18",34003:"TEXTURE19",34004:"TEXTURE20",34005:"TEXTURE21",34006:"TEXTURE22",34007:"TEXTURE23",34008:"TEXTURE24",34009:"TEXTURE25",34010:"TEXTURE26",34011:"TEXTURE27",34012:"TEXTURE28",34013:"TEXTURE29",34014:"TEXTURE30",34015:"TEXTURE31",34016:"ACTIVE_TEXTURE",34024:"MAX_RENDERBUFFER_SIZE",34041:"DEPTH_STENCIL",34055:"INCR_WRAP",34056:"DECR_WRAP",34067:"TEXTURE_CUBE_MAP",34068:"TEXTURE_BINDING_CUBE_MAP",34069:"TEXTURE_CUBE_MAP_POSITIVE_X",34070:"TEXTURE_CUBE_MAP_NEGATIVE_X",34071:"TEXTURE_CUBE_MAP_POSITIVE_Y",34072:"TEXTURE_CUBE_MAP_NEGATIVE_Y",34073:"TEXTURE_CUBE_MAP_POSITIVE_Z",34074:"TEXTURE_CUBE_MAP_NEGATIVE_Z",34076:"MAX_CUBE_MAP_TEXTURE_SIZE",34338:"VERTEX_ATTRIB_ARRAY_ENABLED",34339:"VERTEX_ATTRIB_ARRAY_SIZE",34340:"VERTEX_ATTRIB_ARRAY_STRIDE",34341:"VERTEX_ATTRIB_ARRAY_TYPE",34342:"CURRENT_VERTEX_ATTRIB",34373:"VERTEX_ATTRIB_ARRAY_POINTER",34466:"NUM_COMPRESSED_TEXTURE_FORMATS",34467:"COMPRESSED_TEXTURE_FORMATS",34660:"BUFFER_SIZE",34661:"BUFFER_USAGE",34816:"STENCIL_BACK_FUNC",34817:"STENCIL_BACK_FAIL",34818:"STENCIL_BACK_PASS_DEPTH_FAIL",34819:"STENCIL_BACK_PASS_DEPTH_PASS",34877:"BLEND_EQUATION_ALPHA",34921:"MAX_VERTEX_ATTRIBS",34922:"VERTEX_ATTRIB_ARRAY_NORMALIZED",34930:"MAX_TEXTURE_IMAGE_UNITS",34962:"ARRAY_BUFFER",34963:"ELEMENT_ARRAY_BUFFER",34964:"ARRAY_BUFFER_BINDING",34965:"ELEMENT_ARRAY_BUFFER_BINDING",34975:"VERTEX_ATTRIB_ARRAY_BUFFER_BINDING",35040:"STREAM_DRAW",35044:"STATIC_DRAW",35048:"DYNAMIC_DRAW",35632:"FRAGMENT_SHADER",35633:"VERTEX_SHADER",35660:"MAX_VERTEX_TEXTURE_IMAGE_UNITS",35661:"MAX_COMBINED_TEXTURE_IMAGE_UNITS",35663:"SHADER_TYPE",35664:"FLOAT_VEC2",35665:"FLOAT_VEC3",35666:"FLOAT_VEC4",35667:"INT_VEC2",35668:"INT_VEC3",35669:"INT_VEC4",35670:"BOOL",35671:"BOOL_VEC2",35672:"BOOL_VEC3",35673:"BOOL_VEC4",35674:"FLOAT_MAT2",35675:"FLOAT_MAT3",35676:"FLOAT_MAT4",35678:"SAMPLER_2D",35680:"SAMPLER_CUBE",35712:"DELETE_STATUS",35713:"COMPILE_STATUS",35714:"LINK_STATUS",35715:"VALIDATE_STATUS",35716:"INFO_LOG_LENGTH",35717:"ATTACHED_SHADERS",35718:"ACTIVE_UNIFORMS",35719:"ACTIVE_UNIFORM_MAX_LENGTH",35720:"SHADER_SOURCE_LENGTH",35721:"ACTIVE_ATTRIBUTES",35722:"ACTIVE_ATTRIBUTE_MAX_LENGTH",35724:"SHADING_LANGUAGE_VERSION",35725:"CURRENT_PROGRAM",36003:"STENCIL_BACK_REF",36004:"STENCIL_BACK_VALUE_MASK",36005:"STENCIL_BACK_WRITEMASK",36006:"FRAMEBUFFER_BINDING",36007:"RENDERBUFFER_BINDING",36048:"FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE",36049:"FRAMEBUFFER_ATTACHMENT_OBJECT_NAME",36050:"FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL",36051:"FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE",36053:"FRAMEBUFFER_COMPLETE",36054:"FRAMEBUFFER_INCOMPLETE_ATTACHMENT",36055:"FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT",36057:"FRAMEBUFFER_INCOMPLETE_DIMENSIONS",36061:"FRAMEBUFFER_UNSUPPORTED",36064:"COLOR_ATTACHMENT0",36096:"DEPTH_ATTACHMENT",36128:"STENCIL_ATTACHMENT",36160:"FRAMEBUFFER",36161:"RENDERBUFFER",36162:"RENDERBUFFER_WIDTH",36163:"RENDERBUFFER_HEIGHT",36164:"RENDERBUFFER_INTERNAL_FORMAT",36168:"STENCIL_INDEX8",36176:"RENDERBUFFER_RED_SIZE",36177:"RENDERBUFFER_GREEN_SIZE",36178:"RENDERBUFFER_BLUE_SIZE",36179:"RENDERBUFFER_ALPHA_SIZE",36180:"RENDERBUFFER_DEPTH_SIZE",36181:"RENDERBUFFER_STENCIL_SIZE",36194:"RGB565",36336:"LOW_FLOAT",36337:"MEDIUM_FLOAT",36338:"HIGH_FLOAT",36339:"LOW_INT",36340:"MEDIUM_INT",36341:"HIGH_INT",36346:"SHADER_COMPILER",36347:"MAX_VERTEX_UNIFORM_VECTORS",36348:"MAX_VARYING_VECTORS",36349:"MAX_FRAGMENT_UNIFORM_VECTORS",37440:"UNPACK_FLIP_Y_WEBGL",37441:"UNPACK_PREMULTIPLY_ALPHA_WEBGL",37442:"CONTEXT_LOST_WEBGL",37443:"UNPACK_COLORSPACE_CONVERSION_WEBGL",37444:"BROWSER_DEFAULT_WEBGL"}},6603:function(f,l,a){var u=a(1950);f.exports=function(o){return u[o]}},3110:function(f,l,a){f.exports=function(_){var k=_.gl,E=u(k),x=o(k,[{buffer:E,type:k.FLOAT,size:3,offset:0,stride:40},{buffer:E,type:k.FLOAT,size:4,offset:12,stride:40},{buffer:E,type:k.FLOAT,size:3,offset:28,stride:40}]),A=s(k);A.attributes.position.location=0,A.attributes.color.location=1,A.attributes.offset.location=2;var L=new h(k,E,x,A);return L.update(_),L};var u=a(5827),o=a(2944),s=a(7667),c=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function h(_,k,E,x){this.gl=_,this.shader=x,this.buffer=k,this.vao=E,this.pixelRatio=1,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.lineWidth=[1,1,1],this.capSize=[10,10,10],this.lineCount=[0,0,0],this.lineOffset=[0,0,0],this.opacity=1,this.hasAlpha=!1}var m=h.prototype;function w(_,k){for(var E=0;E<3;++E)_[0][E]=Math.min(_[0][E],k[E]),_[1][E]=Math.max(_[1][E],k[E])}m.isOpaque=function(){return!this.hasAlpha},m.isTransparent=function(){return this.hasAlpha},m.drawTransparent=m.draw=function(_){var k=this.gl,E=this.shader.uniforms;this.shader.bind();var x=E.view=_.view||c,A=E.projection=_.projection||c;E.model=_.model||c,E.clipBounds=this.clipBounds,E.opacity=this.opacity;var L=x[12],b=x[13],R=x[14],I=x[15],O=(_._ortho?2:1)*this.pixelRatio*(A[3]*L+A[7]*b+A[11]*R+A[15]*I)/k.drawingBufferHeight;this.vao.bind();for(var z=0;z<3;++z)k.lineWidth(this.lineWidth[z]*this.pixelRatio),E.capSize=this.capSize[z]*O,this.lineCount[z]&&k.drawArrays(k.LINES,this.lineOffset[z],this.lineCount[z]);this.vao.unbind()};var y=function(){for(var _=new Array(3),k=0;k<3;++k){for(var E=[],x=1;x<=2;++x)for(var A=-1;A<=1;A+=2){var L=[0,0,0];L[(x+k)%3]=A,E.push(L)}_[k]=E}return _}();function S(_,k,E,x){for(var A=y[x],L=0;L0&&((F=O.slice())[R]+=B[1][R],A.push(O[0],O[1],O[2],N[0],N[1],N[2],N[3],0,0,0,F[0],F[1],F[2],N[0],N[1],N[2],N[3],0,0,0),w(this.bounds,F),b+=2+S(A,F,N,R)))}this.lineCount[R]=b-this.lineOffset[R]}this.buffer.update(A)}},m.dispose=function(){this.shader.dispose(),this.buffer.dispose(),this.vao.dispose()}},7667:function(f,l,a){var u=a(6832),o=a(5158),s=u([`precision highp float; ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js #define GLSLIFY 1 attribute vec3 position, offset; @@ -843,7 +784,6 @@ void main() { ) discard; gl_FragColor = opacity * fragColor; -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js }`]);f.exports=function(c){return o(c,s,h,null,[{name:"position",type:"vec3"},{name:"color",type:"vec4"},{name:"offset",type:"vec3"}])}},4234:function(f,l,a){var u=a(8931);f.exports=function(L,b,R,I){o||(o=L.FRAMEBUFFER_UNSUPPORTED,s=L.FRAMEBUFFER_INCOMPLETE_ATTACHMENT,h=L.FRAMEBUFFER_INCOMPLETE_DIMENSIONS,c=L.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT);var O=L.getExtension("WEBGL_draw_buffers");if(!m&&O&&function($,U){var G=$.getParameter(U.MAX_COLOR_ATTACHMENTS_WEBGL);m=new Array(G+1);for(var q=0;q<=G;++q){for(var H=new Array(G),ne=0;nez||R<0||R>z)throw new Error("gl-fbo: Parameters are too large for FBO");var F=1;if("color"in(I=I||{})){if((F=Math.max(0|I.color,0))<0)throw new Error("gl-fbo: Must specify a nonnegative number of colors");if(F>1){if(!O)throw new Error("gl-fbo: Multiple draw buffer extension not supported");if(F>L.getParameter(O.MAX_COLOR_ATTACHMENTS_WEBGL))throw new Error("gl-fbo: Context does not support "+F+" draw buffers")}}var B=L.UNSIGNED_BYTE,N=L.getExtension("OES_texture_float");if(I.float&&F>0){if(!N)throw new Error("gl-fbo: Context does not support floating point textures");B=L.FLOAT}else I.preferFloat&&F>0&&N&&(B=L.FLOAT);var W=!0;"depth"in I&&(W=!!I.depth);var j=!1;return"stencil"in I&&(j=!!I.stencil),new E(L,b,R,B,F,W,j,O)};var o,s,h,c,m=null;function w(L){return[L.getParameter(L.FRAMEBUFFER_BINDING),L.getParameter(L.RENDERBUFFER_BINDING),L.getParameter(L.TEXTURE_BINDING_2D)]}function y(L,b){L.bindFramebuffer(L.FRAMEBUFFER,b[0]),L.bindRenderbuffer(L.RENDERBUFFER,b[1]),L.bindTexture(L.TEXTURE_2D,b[2])}function C(L){switch(L){case o:throw new Error("gl-fbo: Framebuffer unsupported");case s:throw new Error("gl-fbo: Framebuffer incomplete attachment");case h:throw new Error("gl-fbo: Framebuffer incomplete dimensions");case c:throw new Error("gl-fbo: Framebuffer incomplete missing attachment");default:throw new Error("gl-fbo: Framebuffer failed for unspecified reason")}}function _(L,b,R,I,O,z){if(!I)return null;var F=u(L,b,R,O,I);return F.magFilter=L.NEAREST,F.minFilter=L.NEAREST,F.mipSamples=1,F.bind(),L.framebufferTexture2D(L.FRAMEBUFFER,z,L.TEXTURE_2D,F.handle,0),F}function k(L,b,R,I,O){var z=L.createRenderbuffer();return L.bindRenderbuffer(L.RENDERBUFFER,z),L.renderbufferStorage(L.RENDERBUFFER,I,b,R),L.framebufferRenderbuffer(L.FRAMEBUFFER,O,L.RENDERBUFFER,z),z}function E(L,b,R,I,O,z,F,B){this.gl=L,this._shape=[0|b,0|R],this._destroyed=!1,this._ext=B,this.color=new Array(O);for(var N=0;N1&&Z.drawBuffersWEBGL(m[te]);var oe=G.getExtension("WEBGL_depth_texture");oe?X?$.depth=_(G,H,ne,oe.UNSIGNED_INT_24_8_WEBGL,G.DEPTH_STENCIL,G.DEPTH_STENCIL_ATTACHMENT):Q&&($.depth=_(G,H,ne,G.UNSIGNED_SHORT,G.DEPTH_COMPONENT,G.DEPTH_ATTACHMENT)):Q&&X?$._depth_rb=k(G,H,ne,G.DEPTH_STENCIL,G.DEPTH_STENCIL_ATTACHMENT):Q?$._depth_rb=k(G,H,ne,G.DEPTH_COMPONENT16,G.DEPTH_ATTACHMENT):X&&($._depth_rb=k(G,H,ne,G.STENCIL_INDEX,G.STENCIL_ATTACHMENT));var ue=G.checkFramebufferStatus(G.FRAMEBUFFER);if(ue!==G.FRAMEBUFFER_COMPLETE){for($._destroyed=!0,G.bindFramebuffer(G.FRAMEBUFFER,null),G.deleteFramebuffer($.handle),$.handle=null,$.depth&&($.depth.dispose(),$.depth=null),$._depth_rb&&(G.deleteRenderbuffer($._depth_rb),$._depth_rb=null),ie=0;ie<$.color.length;++ie)$.color[ie].dispose(),$.color[ie]=null;$._color_rb&&(G.deleteRenderbuffer($._color_rb),$._color_rb=null),y(G,U),C(ue)}y(G,U)}(this)}var x=E.prototype;function A(L,b,R){if(L._destroyed)throw new Error("gl-fbo: Can't resize destroyed FBO");if(L._shape[0]!==b||L._shape[1]!==R){var I=L.gl,O=I.getParameter(I.MAX_RENDERBUFFER_SIZE);if(b<0||b>O||R<0||R>O)throw new Error("gl-fbo: Can't resize FBO, invalid dimensions");L._shape[0]=b,L._shape[1]=R;for(var z=w(I),F=0;F>8*W&255;this.pickOffset=x,L.bind();var j=L.uniforms;j.viewTransform=k,j.pickOffset=E,j.shape=this.shape;var $=L.attributes;return this.positionBuffer.bind(),$.position.pointer(),this.weightBuffer.bind(),$.weight.pointer(I.UNSIGNED_BYTE,!1),this.idBuffer.bind(),$.pickId.pointer(I.UNSIGNED_BYTE,!1),I.drawArrays(I.TRIANGLES,0,R),x+this.shape[0]*this.shape[1]}}}(),C.pick=function(k,E,x){var A=this.pickOffset,L=this.shape[0]*this.shape[1];if(x=A+L)return null;var b=x-A,R=this.xData,I=this.yData;return{object:this,pointId:b,dataCoord:[R[b%this.shape[0]],I[b/this.shape[0]|0]]}},C.update=function(k){var E=(k=k||{}).shape||[0,0],x=k.x||o(E[0]),A=k.y||o(E[1]),L=k.z||new Float32Array(E[0]*E[1]),b=k.zsmooth!==!1;this.xData=x,this.yData=A;var R,I,O,z,F=k.colorLevels||[0],B=k.colorValues||[0,0,0,1],N=F.length,W=this.bounds;b?(R=W[0]=x[0],I=W[1]=A[0],O=W[2]=x[x.length-1],z=W[3]=A[A.length-1]):(R=W[0]=x[0]+(x[1]-x[0])/2,I=W[1]=A[0]+(A[1]-A[0])/2,O=W[2]=x[x.length-1]+(x[x.length-1]-x[x.length-2])/2,z=W[3]=A[A.length-1]+(A[A.length-1]-A[A.length-2])/2);var j=1/(O-R),$=1/(z-I),U=E[0],G=E[1];this.shape=[U,G];var q=(b?(U-1)*(G-1):U*G)*(_.length>>>1);this.numVertices=q;for(var H=s.mallocUint8(4*q),ne=s.mallocFloat32(2*q),te=s.mallocUint8(2*q),Z=s.mallocUint32(q),X=0,Q=b?U-1:U,re=b?G-1:G,ie=0;iez||R<0||R>z)throw new Error("gl-fbo: Parameters are too large for FBO");var F=1;if("color"in(I=I||{})){if((F=Math.max(0|I.color,0))<0)throw new Error("gl-fbo: Must specify a nonnegative number of colors");if(F>1){if(!O)throw new Error("gl-fbo: Multiple draw buffer extension not supported");if(F>L.getParameter(O.MAX_COLOR_ATTACHMENTS_WEBGL))throw new Error("gl-fbo: Context does not support "+F+" draw buffers")}}var B=L.UNSIGNED_BYTE,N=L.getExtension("OES_texture_float");if(I.float&&F>0){if(!N)throw new Error("gl-fbo: Context does not support floating point textures");B=L.FLOAT}else I.preferFloat&&F>0&&N&&(B=L.FLOAT);var W=!0;"depth"in I&&(W=!!I.depth);var j=!1;return"stencil"in I&&(j=!!I.stencil),new E(L,b,R,B,F,W,j,O)};var o,s,c,h,m=null;function w(L){return[L.getParameter(L.FRAMEBUFFER_BINDING),L.getParameter(L.RENDERBUFFER_BINDING),L.getParameter(L.TEXTURE_BINDING_2D)]}function y(L,b){L.bindFramebuffer(L.FRAMEBUFFER,b[0]),L.bindRenderbuffer(L.RENDERBUFFER,b[1]),L.bindTexture(L.TEXTURE_2D,b[2])}function S(L){switch(L){case o:throw new Error("gl-fbo: Framebuffer unsupported");case s:throw new Error("gl-fbo: Framebuffer incomplete attachment");case c:throw new Error("gl-fbo: Framebuffer incomplete dimensions");case h:throw new Error("gl-fbo: Framebuffer incomplete missing attachment");default:throw new Error("gl-fbo: Framebuffer failed for unspecified reason")}}function _(L,b,R,I,O,z){if(!I)return null;var F=u(L,b,R,O,I);return F.magFilter=L.NEAREST,F.minFilter=L.NEAREST,F.mipSamples=1,F.bind(),L.framebufferTexture2D(L.FRAMEBUFFER,z,L.TEXTURE_2D,F.handle,0),F}function k(L,b,R,I,O){var z=L.createRenderbuffer();return L.bindRenderbuffer(L.RENDERBUFFER,z),L.renderbufferStorage(L.RENDERBUFFER,I,b,R),L.framebufferRenderbuffer(L.FRAMEBUFFER,O,L.RENDERBUFFER,z),z}function E(L,b,R,I,O,z,F,B){this.gl=L,this._shape=[0|b,0|R],this._destroyed=!1,this._ext=B,this.color=new Array(O);for(var N=0;N1&&Z.drawBuffersWEBGL(m[te]);var oe=G.getExtension("WEBGL_depth_texture");oe?X?$.depth=_(G,H,ne,oe.UNSIGNED_INT_24_8_WEBGL,G.DEPTH_STENCIL,G.DEPTH_STENCIL_ATTACHMENT):Q&&($.depth=_(G,H,ne,G.UNSIGNED_SHORT,G.DEPTH_COMPONENT,G.DEPTH_ATTACHMENT)):Q&&X?$._depth_rb=k(G,H,ne,G.DEPTH_STENCIL,G.DEPTH_STENCIL_ATTACHMENT):Q?$._depth_rb=k(G,H,ne,G.DEPTH_COMPONENT16,G.DEPTH_ATTACHMENT):X&&($._depth_rb=k(G,H,ne,G.STENCIL_INDEX,G.STENCIL_ATTACHMENT));var ue=G.checkFramebufferStatus(G.FRAMEBUFFER);if(ue!==G.FRAMEBUFFER_COMPLETE){for($._destroyed=!0,G.bindFramebuffer(G.FRAMEBUFFER,null),G.deleteFramebuffer($.handle),$.handle=null,$.depth&&($.depth.dispose(),$.depth=null),$._depth_rb&&(G.deleteRenderbuffer($._depth_rb),$._depth_rb=null),ie=0;ie<$.color.length;++ie)$.color[ie].dispose(),$.color[ie]=null;$._color_rb&&(G.deleteRenderbuffer($._color_rb),$._color_rb=null),y(G,U),S(ue)}y(G,U)}(this)}var x=E.prototype;function A(L,b,R){if(L._destroyed)throw new Error("gl-fbo: Can't resize destroyed FBO");if(L._shape[0]!==b||L._shape[1]!==R){var I=L.gl,O=I.getParameter(I.MAX_RENDERBUFFER_SIZE);if(b<0||b>O||R<0||R>O)throw new Error("gl-fbo: Can't resize FBO, invalid dimensions");L._shape[0]=b,L._shape[1]=R;for(var z=w(I),F=0;F>8*W&255;this.pickOffset=x,L.bind();var j=L.uniforms;j.viewTransform=k,j.pickOffset=E,j.shape=this.shape;var $=L.attributes;return this.positionBuffer.bind(),$.position.pointer(),this.weightBuffer.bind(),$.weight.pointer(I.UNSIGNED_BYTE,!1),this.idBuffer.bind(),$.pickId.pointer(I.UNSIGNED_BYTE,!1),I.drawArrays(I.TRIANGLES,0,R),x+this.shape[0]*this.shape[1]}}}(),S.pick=function(k,E,x){var A=this.pickOffset,L=this.shape[0]*this.shape[1];if(x=A+L)return null;var b=x-A,R=this.xData,I=this.yData;return{object:this,pointId:b,dataCoord:[R[b%this.shape[0]],I[b/this.shape[0]|0]]}},S.update=function(k){var E=(k=k||{}).shape||[0,0],x=k.x||o(E[0]),A=k.y||o(E[1]),L=k.z||new Float32Array(E[0]*E[1]),b=k.zsmooth!==!1;this.xData=x,this.yData=A;var R,I,O,z,F=k.colorLevels||[0],B=k.colorValues||[0,0,0,1],N=F.length,W=this.bounds;b?(R=W[0]=x[0],I=W[1]=A[0],O=W[2]=x[x.length-1],z=W[3]=A[A.length-1]):(R=W[0]=x[0]+(x[1]-x[0])/2,I=W[1]=A[0]+(A[1]-A[0])/2,O=W[2]=x[x.length-1]+(x[x.length-1]-x[x.length-2])/2,z=W[3]=A[A.length-1]+(A[A.length-1]-A[A.length-2])/2);var j=1/(O-R),$=1/(z-I),U=E[0],G=E[1];this.shape=[U,G];var q=(b?(U-1)*(G-1):U*G)*(_.length>>>1);this.numVertices=q;for(var H=s.mallocUint8(4*q),ne=s.mallocFloat32(2*q),te=s.mallocUint8(2*q),Z=s.mallocUint32(q),X=0,Q=b?U-1:U,re=b?G-1:G,ie=0;ie>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js #define GLSLIFY 1 varying vec4 fragColor; void main() { @@ -1014,11 +945,7 @@ void main() { } gl_FragColor = fragColor * opacity; } -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js `]),c=u([`precision highp float; -======== -`]),h=u([`precision highp float; ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js #define GLSLIFY 1 #define FLOAT_MAX 1.70141184e38 @@ -1094,11 +1021,7 @@ void main() { if (outOfRange(clipBounds[0], clipBounds[1], worldPosition)) discard; gl_FragColor = vec4(pickId/255.0, packFloat(pixelArcLength).xyz); -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js }`]),m=[{name:"position",type:"vec3"},{name:"nextPosition",type:"vec3"},{name:"arcLength",type:"float"},{name:"lineWidth",type:"float"},{name:"color",type:"vec4"}];l.createShader=function(w){return o(w,s,h,null,m)},l.createPickShader=function(w){return o(w,s,c,null,m)}},6086:function(f,l,a){f.exports=function(R){var I=R.gl||R.scene&&R.scene.gl,O=C(I);O.attributes.position.location=0,O.attributes.nextPosition.location=1,O.attributes.arcLength.location=2,O.attributes.lineWidth.location=3,O.attributes.color.location=4;var z=_(I);z.attributes.position.location=0,z.attributes.nextPosition.location=1,z.attributes.arcLength.location=2,z.attributes.lineWidth.location=3,z.attributes.color.location=4;for(var F=u(I),B=o(I,[{buffer:F,size:3,offset:0,stride:48},{buffer:F,size:3,offset:12,stride:48},{buffer:F,size:1,offset:24,stride:48},{buffer:F,size:1,offset:28,stride:48},{buffer:F,size:4,offset:32,stride:48}]),N=w(new Array(1024),[256,1,4]),W=0;W<1024;++W)N.data[W]=255;var j=s(I,N);j.wrap=I.REPEAT;var $=new L(I,O,z,F,B,j);return $.update(R),$};var u=a(5827),o=a(2944),s=a(8931),h=new Uint8Array(4),c=new Float32Array(h.buffer),m=a(5070),w=a(5050),y=a(248),C=y.createShader,_=y.createPickShader,k=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function E(R,I){for(var O=0,z=0;z<3;++z){var F=R[z]-I[z];O+=F*F}return Math.sqrt(O)}function x(R){for(var I=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],O=0;O<3;++O)I[0][O]=Math.max(R[0][O],I[0][O]),I[1][O]=Math.min(R[1][O],I[1][O]);return I}function A(R,I,O,z){this.arcLength=R,this.position=I,this.index=O,this.dataCoordinate=z}function L(R,I,O,z,F,B){this.gl=R,this.shader=I,this.pickShader=O,this.buffer=z,this.vao=F,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.points=[],this.arcLength=[],this.vertexCount=0,this.bounds=[[0,0,0],[0,0,0]],this.pickId=0,this.lineWidth=1,this.texture=B,this.dashScale=1,this.opacity=1,this.hasAlpha=!1,this.dirty=!0,this.pixelRatio=1}var b=L.prototype;b.isTransparent=function(){return this.hasAlpha},b.isOpaque=function(){return!this.hasAlpha},b.pickSlots=1,b.setPickBase=function(R){this.pickId=R},b.drawTransparent=b.draw=function(R){if(this.vertexCount){var I=this.gl,O=this.shader,z=this.vao;O.bind(),O.uniforms={model:R.model||k,view:R.view||k,projection:R.projection||k,clipBounds:x(this.clipBounds),dashTexture:this.texture.bind(),dashScale:this.dashScale/this.arcLength[this.arcLength.length-1],opacity:this.opacity,screenShape:[I.drawingBufferWidth,I.drawingBufferHeight],pixelRatio:this.pixelRatio},z.bind(),z.draw(I.TRIANGLE_STRIP,this.vertexCount),z.unbind()}},b.drawPick=function(R){if(this.vertexCount){var I=this.gl,O=this.pickShader,z=this.vao;O.bind(),O.uniforms={model:R.model||k,view:R.view||k,projection:R.projection||k,pickId:this.pickId,clipBounds:x(this.clipBounds),screenShape:[I.drawingBufferWidth,I.drawingBufferHeight],pixelRatio:this.pixelRatio},z.bind(),z.draw(I.TRIANGLE_STRIP,this.vertexCount),z.unbind()}},b.update=function(R){var I,O;this.dirty=!0;var z=!!R.connectGaps;"dashScale"in R&&(this.dashScale=R.dashScale),this.hasAlpha=!1,"opacity"in R&&(this.opacity=+R.opacity,this.opacity<1&&(this.hasAlpha=!0));var F=[],B=[],N=[],W=0,j=0,$=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],U=R.position||R.positions;if(U){var G=R.color||R.colors||[0,0,0,1],q=R.lineWidth||1,H=!1;e:for(I=1;I0){for(var re=0;re<24;++re)F.push(F[F.length-12]);j+=2,H=!0}continue e}$[0][O]=Math.min($[0][O],X[O],Q[O]),$[1][O]=Math.max($[1][O],X[O],Q[O])}Array.isArray(G[0])?(ne=G.length>I-1?G[I-1]:G.length>0?G[G.length-1]:[0,0,0,1],te=G.length>I?G[I]:G.length>0?G[G.length-1]:[0,0,0,1]):ne=te=G,ne.length===3&&(ne=[ne[0],ne[1],ne[2],1]),te.length===3&&(te=[te[0],te[1],te[2],1]),!this.hasAlpha&&ne[3]<1&&(this.hasAlpha=!0),Z=Array.isArray(q)?q.length>I-1?q[I-1]:q.length>0?q[q.length-1]:[0,0,0,1]:q;var ie=W;if(W+=E(X,Q),H){for(O=0;O<2;++O)F.push(X[0],X[1],X[2],Q[0],Q[1],Q[2],ie,Z,ne[0],ne[1],ne[2],ne[3]);j+=2,H=!1}F.push(X[0],X[1],X[2],Q[0],Q[1],Q[2],ie,Z,ne[0],ne[1],ne[2],ne[3],X[0],X[1],X[2],Q[0],Q[1],Q[2],ie,-Z,ne[0],ne[1],ne[2],ne[3],Q[0],Q[1],Q[2],X[0],X[1],X[2],W,-Z,te[0],te[1],te[2],te[3],Q[0],Q[1],Q[2],X[0],X[1],X[2],W,Z,te[0],te[1],te[2],te[3]),j+=4}}if(this.buffer.update(F),B.push(W),N.push(U[U.length-1].slice()),this.bounds=$,this.vertexCount=j,this.points=N,this.arcLength=B,"dashes"in R){var oe=R.dashes.slice();for(oe.unshift(0),I=1;I1.0001)return null;O+=I[x]}return Math.abs(O-1)>.001?null:[A,c(m,I),I]}},2056:function(f,l,a){var u=a(6832),o=u([`precision highp float; -======== -}`]),m=[{name:"position",type:"vec3"},{name:"nextPosition",type:"vec3"},{name:"arcLength",type:"float"},{name:"lineWidth",type:"float"},{name:"color",type:"vec4"}];l.createShader=function(w){return o(w,s,c,null,m)},l.createPickShader=function(w){return o(w,s,h,null,m)}},6086:function(f,l,a){f.exports=function(R){var I=R.gl||R.scene&&R.scene.gl,O=S(I);O.attributes.position.location=0,O.attributes.nextPosition.location=1,O.attributes.arcLength.location=2,O.attributes.lineWidth.location=3,O.attributes.color.location=4;var z=_(I);z.attributes.position.location=0,z.attributes.nextPosition.location=1,z.attributes.arcLength.location=2,z.attributes.lineWidth.location=3,z.attributes.color.location=4;for(var F=u(I),B=o(I,[{buffer:F,size:3,offset:0,stride:48},{buffer:F,size:3,offset:12,stride:48},{buffer:F,size:1,offset:24,stride:48},{buffer:F,size:1,offset:28,stride:48},{buffer:F,size:4,offset:32,stride:48}]),N=w(new Array(1024),[256,1,4]),W=0;W<1024;++W)N.data[W]=255;var j=s(I,N);j.wrap=I.REPEAT;var $=new L(I,O,z,F,B,j);return $.update(R),$};var u=a(5827),o=a(2944),s=a(8931),c=new Uint8Array(4),h=new Float32Array(c.buffer),m=a(5070),w=a(5050),y=a(248),S=y.createShader,_=y.createPickShader,k=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function E(R,I){for(var O=0,z=0;z<3;++z){var F=R[z]-I[z];O+=F*F}return Math.sqrt(O)}function x(R){for(var I=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],O=0;O<3;++O)I[0][O]=Math.max(R[0][O],I[0][O]),I[1][O]=Math.min(R[1][O],I[1][O]);return I}function A(R,I,O,z){this.arcLength=R,this.position=I,this.index=O,this.dataCoordinate=z}function L(R,I,O,z,F,B){this.gl=R,this.shader=I,this.pickShader=O,this.buffer=z,this.vao=F,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.points=[],this.arcLength=[],this.vertexCount=0,this.bounds=[[0,0,0],[0,0,0]],this.pickId=0,this.lineWidth=1,this.texture=B,this.dashScale=1,this.opacity=1,this.hasAlpha=!1,this.dirty=!0,this.pixelRatio=1}var b=L.prototype;b.isTransparent=function(){return this.hasAlpha},b.isOpaque=function(){return!this.hasAlpha},b.pickSlots=1,b.setPickBase=function(R){this.pickId=R},b.drawTransparent=b.draw=function(R){if(this.vertexCount){var I=this.gl,O=this.shader,z=this.vao;O.bind(),O.uniforms={model:R.model||k,view:R.view||k,projection:R.projection||k,clipBounds:x(this.clipBounds),dashTexture:this.texture.bind(),dashScale:this.dashScale/this.arcLength[this.arcLength.length-1],opacity:this.opacity,screenShape:[I.drawingBufferWidth,I.drawingBufferHeight],pixelRatio:this.pixelRatio},z.bind(),z.draw(I.TRIANGLE_STRIP,this.vertexCount),z.unbind()}},b.drawPick=function(R){if(this.vertexCount){var I=this.gl,O=this.pickShader,z=this.vao;O.bind(),O.uniforms={model:R.model||k,view:R.view||k,projection:R.projection||k,pickId:this.pickId,clipBounds:x(this.clipBounds),screenShape:[I.drawingBufferWidth,I.drawingBufferHeight],pixelRatio:this.pixelRatio},z.bind(),z.draw(I.TRIANGLE_STRIP,this.vertexCount),z.unbind()}},b.update=function(R){var I,O;this.dirty=!0;var z=!!R.connectGaps;"dashScale"in R&&(this.dashScale=R.dashScale),this.hasAlpha=!1,"opacity"in R&&(this.opacity=+R.opacity,this.opacity<1&&(this.hasAlpha=!0));var F=[],B=[],N=[],W=0,j=0,$=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],U=R.position||R.positions;if(U){var G=R.color||R.colors||[0,0,0,1],q=R.lineWidth||1,H=!1;e:for(I=1;I0){for(var re=0;re<24;++re)F.push(F[F.length-12]);j+=2,H=!0}continue e}$[0][O]=Math.min($[0][O],X[O],Q[O]),$[1][O]=Math.max($[1][O],X[O],Q[O])}Array.isArray(G[0])?(ne=G.length>I-1?G[I-1]:G.length>0?G[G.length-1]:[0,0,0,1],te=G.length>I?G[I]:G.length>0?G[G.length-1]:[0,0,0,1]):ne=te=G,ne.length===3&&(ne=[ne[0],ne[1],ne[2],1]),te.length===3&&(te=[te[0],te[1],te[2],1]),!this.hasAlpha&&ne[3]<1&&(this.hasAlpha=!0),Z=Array.isArray(q)?q.length>I-1?q[I-1]:q.length>0?q[q.length-1]:[0,0,0,1]:q;var ie=W;if(W+=E(X,Q),H){for(O=0;O<2;++O)F.push(X[0],X[1],X[2],Q[0],Q[1],Q[2],ie,Z,ne[0],ne[1],ne[2],ne[3]);j+=2,H=!1}F.push(X[0],X[1],X[2],Q[0],Q[1],Q[2],ie,Z,ne[0],ne[1],ne[2],ne[3],X[0],X[1],X[2],Q[0],Q[1],Q[2],ie,-Z,ne[0],ne[1],ne[2],ne[3],Q[0],Q[1],Q[2],X[0],X[1],X[2],W,-Z,te[0],te[1],te[2],te[3],Q[0],Q[1],Q[2],X[0],X[1],X[2],W,Z,te[0],te[1],te[2],te[3]),j+=4}}if(this.buffer.update(F),B.push(W),N.push(U[U.length-1].slice()),this.bounds=$,this.vertexCount=j,this.points=N,this.arcLength=B,"dashes"in R){var oe=R.dashes.slice();for(oe.unshift(0),I=1;I1.0001)return null;O+=I[x]}return Math.abs(O-1)>.001?null:[A,h(m,I),I]}},2056:function(f,l,a){var u=a(6832),o=u([`precision highp float; ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js #define GLSLIFY 1 attribute vec3 position, normal; @@ -1260,11 +1183,7 @@ void main() { f_color = color; f_data = position; f_uv = uv; -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js }`]),c=u([`precision highp float; -======== -}`]),h=u([`precision highp float; ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js #define GLSLIFY 1 bool outOfRange(float a, float b, float p) { @@ -1466,11 +1385,7 @@ uniform vec3 contourColor; void main() { gl_FragColor = vec4(contourColor, 1.0); } -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js `]);l.meshShader={vertex:o,fragment:s,attributes:[{name:"position",type:"vec3"},{name:"normal",type:"vec3"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"}]},l.wireShader={vertex:h,fragment:c,attributes:[{name:"position",type:"vec3"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"}]},l.pointShader={vertex:m,fragment:w,attributes:[{name:"position",type:"vec3"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"},{name:"pointSize",type:"float"}]},l.pickShader={vertex:y,fragment:C,attributes:[{name:"position",type:"vec3"},{name:"id",type:"vec4"}]},l.pointPickShader={vertex:_,fragment:C,attributes:[{name:"position",type:"vec3"},{name:"pointSize",type:"float"},{name:"id",type:"vec4"}]},l.contourShader={vertex:k,fragment:E,attributes:[{name:"position",type:"vec3"}]}},8116:function(f,l,a){var u=a(5158),o=a(5827),s=a(2944),h=a(8931),c=a(115),m=a(104),w=a(7437),y=a(5050),C=a(9156),_=a(7212),k=a(5306),E=a(2056),x=a(4340),A=E.meshShader,L=E.wireShader,b=E.pointShader,R=E.pickShader,I=E.pointPickShader,O=E.contourShader,z=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function F(H,ne,te,Z,X,Q,re,ie,oe,ue,ce,ye,de,me,pe,xe,Pe,_e,Me,Se,Ce,ae,fe,be,ke,Le,Be){this.gl=H,this.pixelRatio=1,this.cells=[],this.positions=[],this.intensity=[],this.texture=ne,this.dirty=!0,this.triShader=te,this.lineShader=Z,this.pointShader=X,this.pickShader=Q,this.pointPickShader=re,this.contourShader=ie,this.trianglePositions=oe,this.triangleColors=ce,this.triangleNormals=de,this.triangleUVs=ye,this.triangleIds=ue,this.triangleVAO=me,this.triangleCount=0,this.lineWidth=1,this.edgePositions=pe,this.edgeColors=Pe,this.edgeUVs=_e,this.edgeIds=xe,this.edgeVAO=Me,this.edgeCount=0,this.pointPositions=Se,this.pointColors=ae,this.pointUVs=fe,this.pointSizes=be,this.pointIds=Ce,this.pointVAO=ke,this.pointCount=0,this.contourLineWidth=1,this.contourPositions=Le,this.contourVAO=Be,this.contourCount=0,this.contourColor=[0,0,0],this.contourEnable=!0,this.pickVertex=!0,this.pickId=1,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.lightPosition=[1e5,1e5,0],this.ambientLight=.8,this.diffuseLight=.8,this.specularLight=2,this.roughness=.5,this.fresnel=1.5,this.opacity=1,this.hasAlpha=!1,this.opacityscale=!1,this._model=z,this._view=z,this._projection=z,this._resolution=[1,1]}var B=F.prototype;function N(H,ne){if(!ne||!ne.length)return 1;for(var te=0;teH&&te>0){var Z=(ne[te][0]-H)/(ne[te][0]-ne[te-1][0]);return ne[te][1]*(1-Z)+Z*ne[te-1][1]}}return 1}function W(H){var ne=u(H,A.vertex,A.fragment);return ne.attributes.position.location=0,ne.attributes.color.location=2,ne.attributes.uv.location=3,ne.attributes.normal.location=4,ne}function j(H){var ne=u(H,L.vertex,L.fragment);return ne.attributes.position.location=0,ne.attributes.color.location=2,ne.attributes.uv.location=3,ne}function $(H){var ne=u(H,b.vertex,b.fragment);return ne.attributes.position.location=0,ne.attributes.color.location=2,ne.attributes.uv.location=3,ne.attributes.pointSize.location=4,ne}function U(H){var ne=u(H,R.vertex,R.fragment);return ne.attributes.position.location=0,ne.attributes.id.location=1,ne}function G(H){var ne=u(H,I.vertex,I.fragment);return ne.attributes.position.location=0,ne.attributes.id.location=1,ne.attributes.pointSize.location=4,ne}function q(H){var ne=u(H,O.vertex,O.fragment);return ne.attributes.position.location=0,ne}B.isOpaque=function(){return!this.hasAlpha},B.isTransparent=function(){return this.hasAlpha},B.pickSlots=1,B.setPickBase=function(H){this.pickId=H},B.highlight=function(H){if(H&&this.contourEnable){for(var ne=_(this.cells,this.intensity,H.intensity),te=ne.cells,Z=ne.vertexIds,X=ne.vertexWeights,Q=te.length,re=k.mallocFloat32(6*Q),ie=0,oe=0;oe0&&((ue=this.triShader).bind(),ue.uniforms=ie,this.triangleVAO.bind(),ne.drawArrays(ne.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind()),this.edgeCount>0&&this.lineWidth>0&&((ue=this.lineShader).bind(),ue.uniforms=ie,this.edgeVAO.bind(),ne.lineWidth(this.lineWidth*this.pixelRatio),ne.drawArrays(ne.LINES,0,2*this.edgeCount),this.edgeVAO.unbind()),this.pointCount>0&&((ue=this.pointShader).bind(),ue.uniforms=ie,this.pointVAO.bind(),ne.drawArrays(ne.POINTS,0,this.pointCount),this.pointVAO.unbind()),this.contourEnable&&this.contourCount>0&&this.contourLineWidth>0&&((ue=this.contourShader).bind(),ue.uniforms=ie,this.contourVAO.bind(),ne.drawArrays(ne.LINES,0,this.contourCount),this.contourVAO.unbind())},B.drawPick=function(H){H=H||{};for(var ne=this.gl,te=H.model||z,Z=H.view||z,X=H.projection||z,Q=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],re=0;re<3;++re)Q[0][re]=Math.max(Q[0][re],this.clipBounds[0][re]),Q[1][re]=Math.min(Q[1][re],this.clipBounds[1][re]);this._model=[].slice.call(te),this._view=[].slice.call(Z),this._projection=[].slice.call(X),this._resolution=[ne.drawingBufferWidth,ne.drawingBufferHeight];var ie,oe={model:te,view:Z,projection:X,clipBounds:Q,pickId:this.pickId/255};(ie=this.pickShader).bind(),ie.uniforms=oe,this.triangleCount>0&&(this.triangleVAO.bind(),ne.drawArrays(ne.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind()),this.edgeCount>0&&(this.edgeVAO.bind(),ne.lineWidth(this.lineWidth*this.pixelRatio),ne.drawArrays(ne.LINES,0,2*this.edgeCount),this.edgeVAO.unbind()),this.pointCount>0&&((ie=this.pointPickShader).bind(),ie.uniforms=oe,this.pointVAO.bind(),ne.drawArrays(ne.POINTS,0,this.pointCount),this.pointVAO.unbind())},B.pick=function(H){if(!H||H.id!==this.pickId)return null;for(var ne=H.value[0]+256*H.value[1]+65536*H.value[2],te=this.cells[ne],Z=this.positions,X=new Array(te.length),Q=0;QH&&te>0){var Z=(ne[te][0]-H)/(ne[te][0]-ne[te-1][0]);return ne[te][1]*(1-Z)+Z*ne[te-1][1]}}return 1}function W(H){var ne=u(H,A.vertex,A.fragment);return ne.attributes.position.location=0,ne.attributes.color.location=2,ne.attributes.uv.location=3,ne.attributes.normal.location=4,ne}function j(H){var ne=u(H,L.vertex,L.fragment);return ne.attributes.position.location=0,ne.attributes.color.location=2,ne.attributes.uv.location=3,ne}function $(H){var ne=u(H,b.vertex,b.fragment);return ne.attributes.position.location=0,ne.attributes.color.location=2,ne.attributes.uv.location=3,ne.attributes.pointSize.location=4,ne}function U(H){var ne=u(H,R.vertex,R.fragment);return ne.attributes.position.location=0,ne.attributes.id.location=1,ne}function G(H){var ne=u(H,I.vertex,I.fragment);return ne.attributes.position.location=0,ne.attributes.id.location=1,ne.attributes.pointSize.location=4,ne}function q(H){var ne=u(H,O.vertex,O.fragment);return ne.attributes.position.location=0,ne}B.isOpaque=function(){return!this.hasAlpha},B.isTransparent=function(){return this.hasAlpha},B.pickSlots=1,B.setPickBase=function(H){this.pickId=H},B.highlight=function(H){if(H&&this.contourEnable){for(var ne=_(this.cells,this.intensity,H.intensity),te=ne.cells,Z=ne.vertexIds,X=ne.vertexWeights,Q=te.length,re=k.mallocFloat32(6*Q),ie=0,oe=0;oe0&&((ue=this.triShader).bind(),ue.uniforms=ie,this.triangleVAO.bind(),ne.drawArrays(ne.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind()),this.edgeCount>0&&this.lineWidth>0&&((ue=this.lineShader).bind(),ue.uniforms=ie,this.edgeVAO.bind(),ne.lineWidth(this.lineWidth*this.pixelRatio),ne.drawArrays(ne.LINES,0,2*this.edgeCount),this.edgeVAO.unbind()),this.pointCount>0&&((ue=this.pointShader).bind(),ue.uniforms=ie,this.pointVAO.bind(),ne.drawArrays(ne.POINTS,0,this.pointCount),this.pointVAO.unbind()),this.contourEnable&&this.contourCount>0&&this.contourLineWidth>0&&((ue=this.contourShader).bind(),ue.uniforms=ie,this.contourVAO.bind(),ne.drawArrays(ne.LINES,0,this.contourCount),this.contourVAO.unbind())},B.drawPick=function(H){H=H||{};for(var ne=this.gl,te=H.model||z,Z=H.view||z,X=H.projection||z,Q=[[-1e6,-1e6,-1e6],[1e6,1e6,1e6]],re=0;re<3;++re)Q[0][re]=Math.max(Q[0][re],this.clipBounds[0][re]),Q[1][re]=Math.min(Q[1][re],this.clipBounds[1][re]);this._model=[].slice.call(te),this._view=[].slice.call(Z),this._projection=[].slice.call(X),this._resolution=[ne.drawingBufferWidth,ne.drawingBufferHeight];var ie,oe={model:te,view:Z,projection:X,clipBounds:Q,pickId:this.pickId/255};(ie=this.pickShader).bind(),ie.uniforms=oe,this.triangleCount>0&&(this.triangleVAO.bind(),ne.drawArrays(ne.TRIANGLES,0,3*this.triangleCount),this.triangleVAO.unbind()),this.edgeCount>0&&(this.edgeVAO.bind(),ne.lineWidth(this.lineWidth*this.pixelRatio),ne.drawArrays(ne.LINES,0,2*this.edgeCount),this.edgeVAO.unbind()),this.pointCount>0&&((ie=this.pointPickShader).bind(),ie.uniforms=oe,this.pointVAO.bind(),ne.drawArrays(ne.POINTS,0,this.pointCount),this.pointVAO.unbind())},B.pick=function(H){if(!H||H.id!==this.pickId)return null;for(var ne=H.value[0]+256*H.value[1]+65536*H.value[2],te=this.cells[ne],Z=this.positions,X=new Array(te.length),Q=0;Q>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js #define GLSLIFY 1 uniform vec4 color; void main() { @@ -1551,13 +1466,8 @@ void main() { vec2 pos = dataAxis * (dataScale * dataCoord.x + dataShift); gl_Position = vec4(pos + tickScale*dataCoord.yz + screenOffset, 0, 1); } -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js `])}},5613:function(f,l,a){f.exports=function(A){var L=A.gl;return new m(A,u(L),o(L,c.textVert,c.textFrag))};var u=a(5827),o=a(5158),s=a(6946),h=a(5070),c=a(2709);function m(A,L,b){this.plot=A,this.vbo=L,this.shader=b,this.tickOffset=[[],[]],this.tickX=[[],[]],this.labelOffset=[0,0],this.labelCount=[0,0]}var w,y,C,_,k,E,x=m.prototype;x.drawTicks=(w=[0,0],y=[0,0],C=[0,0],function(A){var L=this.plot,b=this.shader,R=this.tickX[A],I=this.tickOffset[A],O=L.gl,z=L.viewBox,F=L.dataBox,B=L.screenBox,N=L.pixelRatio,W=L.tickEnable,j=L.tickPad,$=L.tickColor,U=L.tickAngle,G=L.labelEnable,q=L.labelPad,H=L.labelColor,ne=L.labelAngle,te=this.labelOffset[A],Z=this.labelCount[A],X=h.lt(R,F[A]),Q=h.le(R,F[A+2]);w[0]=w[1]=0,w[A]=1,y[A]=(z[2+A]+z[A])/(B[2+A]-B[A])-1;var re=2/B[2+(1^A)]-B[1^A];y[1^A]=re*z[1^A]-1,W[A]&&(y[1^A]-=re*N*j[A],XI[X]&&(b.uniforms.dataAxis=w,b.uniforms.screenOffset=y,b.uniforms.color=$[A],b.uniforms.angle=U[A],O.drawArrays(O.TRIANGLES,I[X],I[Q]-I[X]))),G[A]&&Z&&(y[1^A]-=re*N*q[A],b.uniforms.dataAxis=C,b.uniforms.screenOffset=y,b.uniforms.color=H[A],b.uniforms.angle=ne[A],O.drawArrays(O.TRIANGLES,te,Z)),y[1^A]=re*z[2+(1^A)]-1,W[A+2]&&(y[1^A]+=re*N*j[A+2],XI[X]&&(b.uniforms.dataAxis=w,b.uniforms.screenOffset=y,b.uniforms.color=$[A+2],b.uniforms.angle=U[A+2],O.drawArrays(O.TRIANGLES,I[X],I[Q]-I[X]))),G[A+2]&&Z&&(y[1^A]+=re*N*q[A+2],b.uniforms.dataAxis=C,b.uniforms.screenOffset=y,b.uniforms.color=H[A+2],b.uniforms.angle=ne[A+2],O.drawArrays(O.TRIANGLES,te,Z))}),x.drawTitle=function(){var A=[0,0],L=[0,0];return function(){var b=this.plot,R=this.shader,I=b.gl,O=b.screenBox,z=b.titleCenter,F=b.titleAngle,B=b.titleColor,N=b.pixelRatio;if(this.titleCount){for(var W=0;W<2;++W)L[W]=2*(z[W]*N-O[W])/(O[2+W]-O[W])-1;R.bind(),R.uniforms.dataAxis=A,R.uniforms.screenOffset=L,R.uniforms.angle=F,R.uniforms.color=B,I.drawArrays(I.TRIANGLES,this.titleOffset,this.titleCount)}}}(),x.bind=(_=[0,0],k=[0,0],E=[0,0],function(){var A=this.plot,L=this.shader,b=A._tickBounds,R=A.dataBox,I=A.screenBox,O=A.viewBox;L.bind();for(var z=0;z<2;++z){var F=b[z],B=b[z+2]-F,N=.5*(R[z+2]+R[z]),W=R[z+2]-R[z],j=O[z],$=O[z+2]-j,U=I[z],G=I[z+2]-U;k[z]=2*B/W*$/G,_[z]=2*(F-N)/W*$/G}E[1]=2*A.pixelRatio/(I[3]-I[1]),E[0]=E[1]*(I[3]-I[1])/(I[2]-I[0]),L.uniforms.dataScale=k,L.uniforms.dataShift=_,L.uniforms.textScale=E,this.vbo.bind(),L.attributes.textCoordinate.pointer()}),x.update=function(A){var L,b,R,I,O,z=[],F=A.ticks,B=A.bounds;for(O=0;O<2;++O){var N=[Math.floor(z.length/3)],W=[-1/0],j=F[O];for(L=0;L=0){var j=k[W]-x[W]*(k[W+2]-k[W])/(x[W+2]-x[W]);W===0?b.drawLine(j,k[1],j,k[3],N[W],B[W]):b.drawLine(k[0],j,k[2],j,N[W],B[W])}}for(W=0;W=0;--_)this.objects[_].dispose();for(this.objects.length=0,_=this.overlays.length-1;_>=0;--_)this.overlays[_].dispose();this.overlays.length=0,this.gl=null},w.addObject=function(_){this.objects.indexOf(_)<0&&(this.objects.push(_),this.setDirty())},w.removeObject=function(_){for(var k=this.objects,E=0;EMath.abs(I))_.rotate(F,0,0,-R*O*Math.PI*L.rotateSpeed/window.innerWidth);else if(!L._ortho){var B=-L.zoomSpeed*z*I/window.innerHeight*(F-_.lastT())/20;_.pan(F,0,0,E*(Math.exp(B)-1))}}},!0)},L.enableMouseListeners(),L};var u=a(8161),o=a(1152),s=a(6145),h=a(6475),c=a(2565),m=a(5233)},8245:function(f,l,a){var u=a(6832),o=a(5158),s=u([`precision mediump float; -======== -`])}},5613:function(f,l,a){f.exports=function(A){var L=A.gl;return new m(A,u(L),o(L,h.textVert,h.textFrag))};var u=a(5827),o=a(5158),s=a(6946),c=a(5070),h=a(2709);function m(A,L,b){this.plot=A,this.vbo=L,this.shader=b,this.tickOffset=[[],[]],this.tickX=[[],[]],this.labelOffset=[0,0],this.labelCount=[0,0]}var w,y,S,_,k,E,x=m.prototype;x.drawTicks=(w=[0,0],y=[0,0],S=[0,0],function(A){var L=this.plot,b=this.shader,R=this.tickX[A],I=this.tickOffset[A],O=L.gl,z=L.viewBox,F=L.dataBox,B=L.screenBox,N=L.pixelRatio,W=L.tickEnable,j=L.tickPad,$=L.tickColor,U=L.tickAngle,G=L.labelEnable,q=L.labelPad,H=L.labelColor,ne=L.labelAngle,te=this.labelOffset[A],Z=this.labelCount[A],X=c.lt(R,F[A]),Q=c.le(R,F[A+2]);w[0]=w[1]=0,w[A]=1,y[A]=(z[2+A]+z[A])/(B[2+A]-B[A])-1;var re=2/B[2+(1^A)]-B[1^A];y[1^A]=re*z[1^A]-1,W[A]&&(y[1^A]-=re*N*j[A],XI[X]&&(b.uniforms.dataAxis=w,b.uniforms.screenOffset=y,b.uniforms.color=$[A],b.uniforms.angle=U[A],O.drawArrays(O.TRIANGLES,I[X],I[Q]-I[X]))),G[A]&&Z&&(y[1^A]-=re*N*q[A],b.uniforms.dataAxis=S,b.uniforms.screenOffset=y,b.uniforms.color=H[A],b.uniforms.angle=ne[A],O.drawArrays(O.TRIANGLES,te,Z)),y[1^A]=re*z[2+(1^A)]-1,W[A+2]&&(y[1^A]+=re*N*j[A+2],XI[X]&&(b.uniforms.dataAxis=w,b.uniforms.screenOffset=y,b.uniforms.color=$[A+2],b.uniforms.angle=U[A+2],O.drawArrays(O.TRIANGLES,I[X],I[Q]-I[X]))),G[A+2]&&Z&&(y[1^A]+=re*N*q[A+2],b.uniforms.dataAxis=S,b.uniforms.screenOffset=y,b.uniforms.color=H[A+2],b.uniforms.angle=ne[A+2],O.drawArrays(O.TRIANGLES,te,Z))}),x.drawTitle=function(){var A=[0,0],L=[0,0];return function(){var b=this.plot,R=this.shader,I=b.gl,O=b.screenBox,z=b.titleCenter,F=b.titleAngle,B=b.titleColor,N=b.pixelRatio;if(this.titleCount){for(var W=0;W<2;++W)L[W]=2*(z[W]*N-O[W])/(O[2+W]-O[W])-1;R.bind(),R.uniforms.dataAxis=A,R.uniforms.screenOffset=L,R.uniforms.angle=F,R.uniforms.color=B,I.drawArrays(I.TRIANGLES,this.titleOffset,this.titleCount)}}}(),x.bind=(_=[0,0],k=[0,0],E=[0,0],function(){var A=this.plot,L=this.shader,b=A._tickBounds,R=A.dataBox,I=A.screenBox,O=A.viewBox;L.bind();for(var z=0;z<2;++z){var F=b[z],B=b[z+2]-F,N=.5*(R[z+2]+R[z]),W=R[z+2]-R[z],j=O[z],$=O[z+2]-j,U=I[z],G=I[z+2]-U;k[z]=2*B/W*$/G,_[z]=2*(F-N)/W*$/G}E[1]=2*A.pixelRatio/(I[3]-I[1]),E[0]=E[1]*(I[3]-I[1])/(I[2]-I[0]),L.uniforms.dataScale=k,L.uniforms.dataShift=_,L.uniforms.textScale=E,this.vbo.bind(),L.attributes.textCoordinate.pointer()}),x.update=function(A){var L,b,R,I,O,z=[],F=A.ticks,B=A.bounds;for(O=0;O<2;++O){var N=[Math.floor(z.length/3)],W=[-1/0],j=F[O];for(L=0;L=0){var j=k[W]-x[W]*(k[W+2]-k[W])/(x[W+2]-x[W]);W===0?b.drawLine(j,k[1],j,k[3],N[W],B[W]):b.drawLine(k[0],j,k[2],j,N[W],B[W])}}for(W=0;W=0;--_)this.objects[_].dispose();for(this.objects.length=0,_=this.overlays.length-1;_>=0;--_)this.overlays[_].dispose();this.overlays.length=0,this.gl=null},w.addObject=function(_){this.objects.indexOf(_)<0&&(this.objects.push(_),this.setDirty())},w.removeObject=function(_){for(var k=this.objects,E=0;EMath.abs(I))_.rotate(F,0,0,-R*O*Math.PI*L.rotateSpeed/window.innerWidth);else if(!L._ortho){var B=-L.zoomSpeed*z*I/window.innerHeight*(F-_.lastT())/20;_.pan(F,0,0,E*(Math.exp(B)-1))}}},!0)},L.enableMouseListeners(),L};var u=a(8161),o=a(1152),s=a(6145),c=a(6475),h=a(2565),m=a(5233)},8245:function(f,l,a){var u=a(6832),o=a(5158),s=u([`precision mediump float; ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js #define GLSLIFY 1 attribute vec2 position; varying vec2 uv; @@ -1573,11 +1483,7 @@ varying vec2 uv; void main() { vec4 accum = texture2D(accumBuffer, 0.5 * (uv + 1.0)); gl_FragColor = min(vec4(1,1,1,1), accum); -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js }`]);f.exports=function(c){return o(c,s,h,null,[{name:"position",type:"vec2"}])}},1059:function(f,l,a){var u=a(4296),o=a(7453),s=a(2771),h=a(6496),c=a(2611),m=a(4234),w=a(8126),y=a(6145),C=a(1120),_=a(5268),k=a(8245),E=a(2321)({tablet:!0,featureDetect:!0});function x(){this.mouse=[-1,-1],this.screen=null,this.distance=1/0,this.index=null,this.dataCoordinate=null,this.dataPosition=null,this.object=null,this.data=null}function A(b){var R=Math.round(Math.log(Math.abs(b))/Math.log(10));if(R<0){var I=Math.round(Math.pow(10,-R));return Math.ceil(b*I)/I}return R>0?(I=Math.round(Math.pow(10,R)),Math.ceil(b/I)*I):Math.ceil(b)}function L(b){return typeof b!="boolean"||b}f.exports={createScene:function(b){(b=b||{}).camera=b.camera||{};var R=b.canvas;R||(R=document.createElement("canvas"),b.container?b.container.appendChild(R):document.body.appendChild(R));var I=b.gl;if(I||(b.glOptions&&(E=!!b.glOptions.preserveDrawingBuffer),I=function(Pe,_e){var Me=null;try{(Me=Pe.getContext("webgl",_e))||(Me=Pe.getContext("experimental-webgl",_e))}catch{return null}return Me}(R,b.glOptions||{premultipliedAlpha:!0,antialias:!0,preserveDrawingBuffer:E})),!I)throw new Error("webgl not supported");var O=b.bounds||[[-10,-10,-10],[10,10,10]],z=new x,F=m(I,I.drawingBufferWidth,I.drawingBufferHeight,{preferFloat:!E}),B=k(I),N=b.cameraObject&&b.cameraObject._ortho===!0||b.camera.projection&&b.camera.projection.type==="orthographic"||!1,W={eye:b.camera.eye||[2,0,0],center:b.camera.center||[0,0,0],up:b.camera.up||[0,1,0],zoomMin:b.camera.zoomMax||.1,zoomMax:b.camera.zoomMin||100,mode:b.camera.mode||"turntable",_ortho:N},j=b.axes||{},$=o(I,j);$.enable=!j.disable;var U=b.spikes||{},G=h(I,U),q=[],H=[],ne=[],te=[],Z=!0,X=!0,Q={view:null,projection:new Array(16),model:new Array(16),_ortho:!1},re=(X=!0,[I.drawingBufferWidth,I.drawingBufferHeight]),ie=b.cameraObject||u(R,W),oe={gl:I,contextLost:!1,pixelRatio:b.pixelRatio||1,canvas:R,selection:z,camera:ie,axes:$,axesPixels:null,spikes:G,bounds:O,objects:q,shape:re,aspect:b.aspectRatio||[1,1,1],pickRadius:b.pickRadius||10,zNear:b.zNear||.01,zFar:b.zFar||1e3,fovy:b.fovy||Math.PI/4,clearColor:b.clearColor||[0,0,0,0],autoResize:L(b.autoResize),autoBounds:L(b.autoBounds),autoScale:!!b.autoScale,autoCenter:L(b.autoCenter),clipToBounds:L(b.clipToBounds),snapToData:!!b.snapToData,onselect:b.onselect||null,onrender:b.onrender||null,onclick:b.onclick||null,cameraParams:Q,oncontextloss:null,mouseListener:null,_stopped:!1,getAspectratio:function(){return{x:this.aspect[0],y:this.aspect[1],z:this.aspect[2]}},setAspectratio:function(Pe){this.aspect[0]=Pe.x,this.aspect[1]=Pe.y,this.aspect[2]=Pe.z,X=!0},setBounds:function(Pe,_e){this.bounds[0][Pe]=_e.min,this.bounds[1][Pe]=_e.max},setClearColor:function(Pe){this.clearColor=Pe},clearRGBA:function(){this.gl.clearColor(this.clearColor[0],this.clearColor[1],this.clearColor[2],this.clearColor[3]),this.gl.clear(this.gl.COLOR_BUFFER_BIT|this.gl.DEPTH_BUFFER_BIT)}},ue=[I.drawingBufferWidth/oe.pixelRatio|0,I.drawingBufferHeight/oe.pixelRatio|0];function ce(){if(!oe._stopped&&oe.autoResize){var Pe=R.parentNode,_e=1,Me=1;Pe&&Pe!==document.body?(_e=Pe.clientWidth,Me=Pe.clientHeight):(_e=window.innerWidth,Me=window.innerHeight);var Se=0|Math.ceil(_e*oe.pixelRatio),Ce=0|Math.ceil(Me*oe.pixelRatio);if(Se!==R.width||Ce!==R.height){R.width=Se,R.height=Ce;var ae=R.style;ae.position=ae.position||"absolute",ae.left="0px",ae.top="0px",ae.width=_e+"px",ae.height=Me+"px",Z=!0}}}function ye(){for(var Pe=q.length,_e=te.length,Me=0;Me<_e;++Me)ne[Me]=0;e:for(Me=0;Me0&&ne[_e-1]===0;)ne.pop(),te.pop().dispose()}function de(){if(oe.contextLost)return!0;I.isContextLost()&&(oe.contextLost=!0,oe.mouseListener.enabled=!1,oe.selection.object=null,oe.oncontextloss&&oe.oncontextloss())}oe.autoResize&&ce(),window.addEventListener("resize",ce),oe.update=function(Pe){oe._stopped||(Z=!0,X=!0)},oe.add=function(Pe){oe._stopped||(Pe.axes=$,q.push(Pe),H.push(-1),Z=!0,X=!0,ye())},oe.remove=function(Pe){if(!oe._stopped){var _e=q.indexOf(Pe);_e<0||(q.splice(_e,1),H.pop(),Z=!0,X=!0,ye())}},oe.dispose=function(){if(!oe._stopped&&(oe._stopped=!0,window.removeEventListener("resize",ce),R.removeEventListener("webglcontextlost",de),oe.mouseListener.enabled=!1,!oe.contextLost)){$.dispose(),G.dispose();for(var Pe=0;Pez.distance)continue;for(var Le=0;Le0?(I=Math.round(Math.pow(10,R)),Math.ceil(b/I)*I):Math.ceil(b)}function L(b){return typeof b!="boolean"||b}f.exports={createScene:function(b){(b=b||{}).camera=b.camera||{};var R=b.canvas;R||(R=document.createElement("canvas"),b.container?b.container.appendChild(R):document.body.appendChild(R));var I=b.gl;if(I||(b.glOptions&&(E=!!b.glOptions.preserveDrawingBuffer),I=function(Pe,_e){var Me=null;try{(Me=Pe.getContext("webgl",_e))||(Me=Pe.getContext("experimental-webgl",_e))}catch{return null}return Me}(R,b.glOptions||{premultipliedAlpha:!0,antialias:!0,preserveDrawingBuffer:E})),!I)throw new Error("webgl not supported");var O=b.bounds||[[-10,-10,-10],[10,10,10]],z=new x,F=m(I,I.drawingBufferWidth,I.drawingBufferHeight,{preferFloat:!E}),B=k(I),N=b.cameraObject&&b.cameraObject._ortho===!0||b.camera.projection&&b.camera.projection.type==="orthographic"||!1,W={eye:b.camera.eye||[2,0,0],center:b.camera.center||[0,0,0],up:b.camera.up||[0,1,0],zoomMin:b.camera.zoomMax||.1,zoomMax:b.camera.zoomMin||100,mode:b.camera.mode||"turntable",_ortho:N},j=b.axes||{},$=o(I,j);$.enable=!j.disable;var U=b.spikes||{},G=c(I,U),q=[],H=[],ne=[],te=[],Z=!0,X=!0,Q={view:null,projection:new Array(16),model:new Array(16),_ortho:!1},re=(X=!0,[I.drawingBufferWidth,I.drawingBufferHeight]),ie=b.cameraObject||u(R,W),oe={gl:I,contextLost:!1,pixelRatio:b.pixelRatio||1,canvas:R,selection:z,camera:ie,axes:$,axesPixels:null,spikes:G,bounds:O,objects:q,shape:re,aspect:b.aspectRatio||[1,1,1],pickRadius:b.pickRadius||10,zNear:b.zNear||.01,zFar:b.zFar||1e3,fovy:b.fovy||Math.PI/4,clearColor:b.clearColor||[0,0,0,0],autoResize:L(b.autoResize),autoBounds:L(b.autoBounds),autoScale:!!b.autoScale,autoCenter:L(b.autoCenter),clipToBounds:L(b.clipToBounds),snapToData:!!b.snapToData,onselect:b.onselect||null,onrender:b.onrender||null,onclick:b.onclick||null,cameraParams:Q,oncontextloss:null,mouseListener:null,_stopped:!1,getAspectratio:function(){return{x:this.aspect[0],y:this.aspect[1],z:this.aspect[2]}},setAspectratio:function(Pe){this.aspect[0]=Pe.x,this.aspect[1]=Pe.y,this.aspect[2]=Pe.z,X=!0},setBounds:function(Pe,_e){this.bounds[0][Pe]=_e.min,this.bounds[1][Pe]=_e.max},setClearColor:function(Pe){this.clearColor=Pe},clearRGBA:function(){this.gl.clearColor(this.clearColor[0],this.clearColor[1],this.clearColor[2],this.clearColor[3]),this.gl.clear(this.gl.COLOR_BUFFER_BIT|this.gl.DEPTH_BUFFER_BIT)}},ue=[I.drawingBufferWidth/oe.pixelRatio|0,I.drawingBufferHeight/oe.pixelRatio|0];function ce(){if(!oe._stopped&&oe.autoResize){var Pe=R.parentNode,_e=1,Me=1;Pe&&Pe!==document.body?(_e=Pe.clientWidth,Me=Pe.clientHeight):(_e=window.innerWidth,Me=window.innerHeight);var Se=0|Math.ceil(_e*oe.pixelRatio),Ce=0|Math.ceil(Me*oe.pixelRatio);if(Se!==R.width||Ce!==R.height){R.width=Se,R.height=Ce;var ae=R.style;ae.position=ae.position||"absolute",ae.left="0px",ae.top="0px",ae.width=_e+"px",ae.height=Me+"px",Z=!0}}}function ye(){for(var Pe=q.length,_e=te.length,Me=0;Me<_e;++Me)ne[Me]=0;e:for(Me=0;Me0&&ne[_e-1]===0;)ne.pop(),te.pop().dispose()}function de(){if(oe.contextLost)return!0;I.isContextLost()&&(oe.contextLost=!0,oe.mouseListener.enabled=!1,oe.selection.object=null,oe.oncontextloss&&oe.oncontextloss())}oe.autoResize&&ce(),window.addEventListener("resize",ce),oe.update=function(Pe){oe._stopped||(Z=!0,X=!0)},oe.add=function(Pe){oe._stopped||(Pe.axes=$,q.push(Pe),H.push(-1),Z=!0,X=!0,ye())},oe.remove=function(Pe){if(!oe._stopped){var _e=q.indexOf(Pe);_e<0||(q.splice(_e,1),H.pop(),Z=!0,X=!0,ye())}},oe.dispose=function(){if(!oe._stopped&&(oe._stopped=!0,window.removeEventListener("resize",ce),R.removeEventListener("webglcontextlost",de),oe.mouseListener.enabled=!1,!oe.contextLost)){$.dispose(),G.dispose();for(var Pe=0;Pez.distance)continue;for(var Le=0;Le>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js #define GLSLIFY 1 attribute vec2 position; @@ -1671,11 +1577,7 @@ void main() { } gl_FragColor = fragId / 255.0; } -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js `])},8271:function(f,l,a){var u=a(5158),o=a(5827),s=a(5306),h=a(8023);function c(C,_,k,E,x){this.plot=C,this.offsetBuffer=_,this.pickBuffer=k,this.shader=E,this.pickShader=x,this.sizeMin=.5,this.sizeMinCap=2,this.sizeMax=20,this.areaRatio=1,this.pointCount=0,this.color=[1,0,0,1],this.borderColor=[0,0,0,1],this.blend=!1,this.pickOffset=0,this.points=null}f.exports=function(C,_){var k=C.gl,E=new c(C,o(k),o(k),u(k,h.pointVertex,h.pointFragment),u(k,h.pickVertex,h.pickFragment));return E.update(_),C.addObject(E),E};var m,w,y=c.prototype;y.dispose=function(){this.shader.dispose(),this.pickShader.dispose(),this.offsetBuffer.dispose(),this.pickBuffer.dispose(),this.plot.removeObject(this)},y.update=function(C){var _;function k(I,O){return I in C?C[I]:O}C=C||{},this.sizeMin=k("sizeMin",.5),this.sizeMax=k("sizeMax",20),this.color=k("color",[1,0,0,1]).slice(),this.areaRatio=k("areaRatio",1),this.borderColor=k("borderColor",[0,0,0,1]).slice(),this.blend=k("blend",!1);var E=C.positions.length>>>1,x=C.positions instanceof Float32Array,A=C.idToIndex instanceof Int32Array&&C.idToIndex.length>=E,L=C.positions,b=x?L:s.mallocFloat32(L.length),R=A?C.idToIndex:s.mallocInt32(E);if(x||b.set(L),!A)for(b.set(L),_=0;_>>1;for(B=0;B=F[0]&&j<=F[2]&&$>=F[1]&&$<=F[3]&&N++}return N}(this.points,x),R=this.plot.pickPixelRatio*Math.max(Math.min(this.sizeMinCap,this.sizeMin),Math.min(this.sizeMax,this.sizeMax/Math.pow(b,.33333)));m[0]=2/A,m[4]=2/L,m[6]=-2*x[0]/A-1,m[7]=-2*x[1]/L-1,this.offsetBuffer.bind(),k.bind(),k.attributes.position.pointer(),k.uniforms.matrix=m,k.uniforms.color=this.color,k.uniforms.borderColor=this.borderColor,k.uniforms.pointCloud=R<5,k.uniforms.pointSize=R,k.uniforms.centerFraction=Math.min(1,Math.max(0,Math.sqrt(1-this.areaRatio))),_&&(w[0]=255&C,w[1]=C>>8&255,w[2]=C>>16&255,w[3]=C>>24&255,this.pickBuffer.bind(),k.attributes.pickId.pointer(E.UNSIGNED_BYTE),k.uniforms.pickOffset=w,this.pickOffset=C);var I=E.getParameter(E.BLEND),O=E.getParameter(E.DITHER);return I&&!this.blend&&E.disable(E.BLEND),O&&E.disable(E.DITHER),E.drawArrays(E.POINTS,0,this.pointCount),I&&!this.blend&&E.enable(E.BLEND),O&&E.enable(E.DITHER),C+this.pointCount}),y.draw=y.unifiedDraw,y.drawPick=y.unifiedDraw,y.pick=function(C,_,k){var E=this.pickOffset,x=this.pointCount;if(k=E+x)return null;var A=k-E,L=this.points;return{object:this,pointId:A,dataCoord:[L[2*A],L[2*A+1]]}}},6093:function(f){f.exports=function(l,a,u,o){var s,h,c,m,w,y=a[0],C=a[1],_=a[2],k=a[3],E=u[0],x=u[1],A=u[2],L=u[3];return(h=y*E+C*x+_*A+k*L)<0&&(h=-h,E=-E,x=-x,A=-A,L=-L),1-h>1e-6?(s=Math.acos(h),c=Math.sin(s),m=Math.sin((1-o)*s)/c,w=Math.sin(o*s)/c):(m=1-o,w=o),l[0]=m*y+w*E,l[1]=m*C+w*x,l[2]=m*_+w*A,l[3]=m*k+w*L,l}},8240:function(f){f.exports=function(l){return l||l===0?l.toString():""}},4123:function(f,l,a){var u=a(875);f.exports=function(s,h,c){var m=o[h];if(m||(m=o[h]={}),s in m)return m[s];var w={textAlign:"center",textBaseline:"middle",lineHeight:1,font:h,lineSpacing:1.25,styletags:{breaklines:!0,bolds:!0,italics:!0,subscripts:!0,superscripts:!0},triangles:!0},y=u(s,w);w.triangles=!1;var C,_,k=u(s,w);if(c&&c!==1){for(C=0;C>>1,x=S.positions instanceof Float32Array,A=S.idToIndex instanceof Int32Array&&S.idToIndex.length>=E,L=S.positions,b=x?L:s.mallocFloat32(L.length),R=A?S.idToIndex:s.mallocInt32(E);if(x||b.set(L),!A)for(b.set(L),_=0;_>>1;for(B=0;B=F[0]&&j<=F[2]&&$>=F[1]&&$<=F[3]&&N++}return N}(this.points,x),R=this.plot.pickPixelRatio*Math.max(Math.min(this.sizeMinCap,this.sizeMin),Math.min(this.sizeMax,this.sizeMax/Math.pow(b,.33333)));m[0]=2/A,m[4]=2/L,m[6]=-2*x[0]/A-1,m[7]=-2*x[1]/L-1,this.offsetBuffer.bind(),k.bind(),k.attributes.position.pointer(),k.uniforms.matrix=m,k.uniforms.color=this.color,k.uniforms.borderColor=this.borderColor,k.uniforms.pointCloud=R<5,k.uniforms.pointSize=R,k.uniforms.centerFraction=Math.min(1,Math.max(0,Math.sqrt(1-this.areaRatio))),_&&(w[0]=255&S,w[1]=S>>8&255,w[2]=S>>16&255,w[3]=S>>24&255,this.pickBuffer.bind(),k.attributes.pickId.pointer(E.UNSIGNED_BYTE),k.uniforms.pickOffset=w,this.pickOffset=S);var I=E.getParameter(E.BLEND),O=E.getParameter(E.DITHER);return I&&!this.blend&&E.disable(E.BLEND),O&&E.disable(E.DITHER),E.drawArrays(E.POINTS,0,this.pointCount),I&&!this.blend&&E.enable(E.BLEND),O&&E.enable(E.DITHER),S+this.pointCount}),y.draw=y.unifiedDraw,y.drawPick=y.unifiedDraw,y.pick=function(S,_,k){var E=this.pickOffset,x=this.pointCount;if(k=E+x)return null;var A=k-E,L=this.points;return{object:this,pointId:A,dataCoord:[L[2*A],L[2*A+1]]}}},6093:function(f){f.exports=function(l,a,u,o){var s,c,h,m,w,y=a[0],S=a[1],_=a[2],k=a[3],E=u[0],x=u[1],A=u[2],L=u[3];return(c=y*E+S*x+_*A+k*L)<0&&(c=-c,E=-E,x=-x,A=-A,L=-L),1-c>1e-6?(s=Math.acos(c),h=Math.sin(s),m=Math.sin((1-o)*s)/h,w=Math.sin(o*s)/h):(m=1-o,w=o),l[0]=m*y+w*E,l[1]=m*S+w*x,l[2]=m*_+w*A,l[3]=m*k+w*L,l}},8240:function(f){f.exports=function(l){return l||l===0?l.toString():""}},4123:function(f,l,a){var u=a(875);f.exports=function(s,c,h){var m=o[c];if(m||(m=o[c]={}),s in m)return m[s];var w={textAlign:"center",textBaseline:"middle",lineHeight:1,font:c,lineSpacing:1.25,styletags:{breaklines:!0,bolds:!0,italics:!0,subscripts:!0,superscripts:!0},triangles:!0},y=u(s,w);w.triangles=!1;var S,_,k=u(s,w);if(h&&h!==1){for(S=0;S>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js #define GLSLIFY 1 bool outOfRange(float a, float b, float p) { @@ -1732,11 +1634,7 @@ void main() { pickId = id; dataCoordinate = position; } -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js }`]),h=o([`precision highp float; -======== -}`]),c=o([`precision highp float; ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js #define GLSLIFY 1 bool outOfRange(float a, float b, float p) { @@ -1794,11 +1692,7 @@ void main() { pickId = id; dataCoordinate = position; } -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js }`]),c=o([`precision highp float; -======== -}`]),h=o([`precision highp float; ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js #define GLSLIFY 1 bool outOfRange(float a, float b, float p) { @@ -1927,11 +1821,7 @@ void main() { if (outOfRange(fragClipBounds[0], fragClipBounds[1], dataCoordinate)) discard; gl_FragColor = vec4(pickGroup, pickId.bgr); -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js }`]),y=[{name:"position",type:"vec3"},{name:"color",type:"vec4"},{name:"glyph",type:"vec2"},{name:"id",type:"vec4"}],C={vertex:s,fragment:m,attributes:y},_={vertex:h,fragment:m,attributes:y},k={vertex:c,fragment:m,attributes:y},E={vertex:s,fragment:w,attributes:y},x={vertex:h,fragment:w,attributes:y},A={vertex:c,fragment:w,attributes:y};function L(b,R){var I=u(b,R),O=I.attributes;return O.position.location=0,O.color.location=1,O.glyph.location=2,O.id.location=3,I}l.createPerspective=function(b){return L(b,C)},l.createOrtho=function(b){return L(b,_)},l.createProject=function(b){return L(b,k)},l.createPickPerspective=function(b){return L(b,E)},l.createPickOrtho=function(b){return L(b,x)},l.createPickProject=function(b){return L(b,A)}},2182:function(f,l,a){var u=a(3596),o=a(5827),s=a(2944),h=a(5306),c=a(104),m=a(9282),w=a(4123),y=a(8240),C=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function _(H,ne){var te=H[0],Z=H[1],X=H[2],Q=H[3];return H[0]=ne[0]*te+ne[4]*Z+ne[8]*X+ne[12]*Q,H[1]=ne[1]*te+ne[5]*Z+ne[9]*X+ne[13]*Q,H[2]=ne[2]*te+ne[6]*Z+ne[10]*X+ne[14]*Q,H[3]=ne[3]*te+ne[7]*Z+ne[11]*X+ne[15]*Q,H}function k(H,ne,te,Z){return _(Z,Z),_(Z,Z),_(Z,Z)}function E(H,ne){this.index=H,this.dataCoordinate=this.position=ne}function x(H){return H===!0||H>1?1:H}function A(H,ne,te,Z,X,Q,re,ie,oe,ue,ce,ye){this.gl=H,this.pixelRatio=1,this.shader=ne,this.orthoShader=te,this.projectShader=Z,this.pointBuffer=X,this.colorBuffer=Q,this.glyphBuffer=re,this.idBuffer=ie,this.vao=oe,this.vertexCount=0,this.lineVertexCount=0,this.opacity=1,this.hasAlpha=!1,this.lineWidth=0,this.projectScale=[.6666666666666666,.6666666666666666,.6666666666666666],this.projectOpacity=[1,1,1],this.projectHasAlpha=!1,this.pickId=0,this.pickPerspectiveShader=ue,this.pickOrthoShader=ce,this.pickProjectShader=ye,this.points=[],this._selectResult=new E(0,[0,0,0]),this.useOrtho=!0,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.axesProject=[!0,!0,!0],this.axesBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.highlightId=[1,1,1,1],this.highlightScale=2,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.dirty=!0}f.exports=function(H){var ne=H.gl,te=m.createPerspective(ne),Z=m.createOrtho(ne),X=m.createProject(ne),Q=m.createPickPerspective(ne),re=m.createPickOrtho(ne),ie=m.createPickProject(ne),oe=o(ne),ue=o(ne),ce=o(ne),ye=o(ne),de=new A(ne,te,Z,X,oe,ue,ce,ye,s(ne,[{buffer:oe,size:3,type:ne.FLOAT},{buffer:ue,size:4,type:ne.FLOAT},{buffer:ce,size:2,type:ne.FLOAT},{buffer:ye,size:4,type:ne.UNSIGNED_BYTE,normalized:!0}]),Q,re,ie);return de.update(H),de};var L=A.prototype;L.pickSlots=1,L.setPickBase=function(H){this.pickId=H},L.isTransparent=function(){if(this.hasAlpha)return!0;for(var H=0;H<3;++H)if(this.axesProject[H]&&this.projectHasAlpha)return!0;return!1},L.isOpaque=function(){if(!this.hasAlpha)return!0;for(var H=0;H<3;++H)if(this.axesProject[H]&&!this.projectHasAlpha)return!0;return!1};var b=[0,0],R=[0,0,0],I=[0,0,0],O=[0,0,0,1],z=[0,0,0,1],F=C.slice(),B=[0,0,0],N=[[0,0,0],[0,0,0]];function W(H){return H[0]=H[1]=H[2]=0,H}function j(H,ne){return H[0]=ne[0],H[1]=ne[1],H[2]=ne[2],H[3]=1,H}function $(H,ne,te,Z){return H[0]=ne[0],H[1]=ne[1],H[2]=ne[2],H[te]=Z,H}var U=[[-1e8,-1e8,-1e8],[1e8,1e8,1e8]];function G(H,ne,te,Z,X,Q,re){var ie=te.gl;if((Q===te.projectHasAlpha||re)&&function(ue,ce,ye,de){var me,pe=ce.axesProject,xe=ce.gl,Pe=ue.uniforms,_e=ye.model||C,Me=ye.view||C,Se=ye.projection||C,Ce=ce.axesBounds,ae=function(st){for(var ot=N,ht=0;ht<2;++ht)for(var bt=0;bt<3;++bt)ot[ht][bt]=Math.max(Math.min(st[ht][bt],1e8),-1e8);return ot}(ce.clipBounds);me=ce.axes&&ce.axes.lastCubeProps?ce.axes.lastCubeProps.axis:[1,1,1],b[0]=2/xe.drawingBufferWidth,b[1]=2/xe.drawingBufferHeight,ue.bind(),Pe.view=Me,Pe.projection=Se,Pe.screenSize=b,Pe.highlightId=ce.highlightId,Pe.highlightScale=ce.highlightScale,Pe.clipBounds=ae,Pe.pickGroup=ce.pickId/255,Pe.pixelRatio=de;for(var fe=0;fe<3;++fe)if(pe[fe]){Pe.scale=ce.projectScale[fe],Pe.opacity=ce.projectOpacity[fe];for(var be=F,ke=0;ke<16;++ke)be[ke]=0;for(ke=0;ke<4;++ke)be[5*ke]=1;be[5*fe]=0,me[fe]<0?be[12+fe]=Ce[0][fe]:be[12+fe]=Ce[1][fe],c(be,_e,be),Pe.model=be;var Le=(fe+1)%3,Be=(fe+2)%3,ze=W(R),je=W(I);ze[Le]=1,je[Be]=1;var ge=k(0,0,0,j(O,ze)),we=k(0,0,0,j(z,je));if(Math.abs(ge[1])>Math.abs(we[1])){var Ee=ge;ge=we,we=Ee,Ee=ze,ze=je,je=Ee;var Ve=Le;Le=Be,Be=Ve}ge[0]<0&&(ze[Le]=-1),we[1]>0&&(je[Be]=-1);var $e=0,Ye=0;for(ke=0;ke<4;++ke)$e+=Math.pow(_e[4*Le+ke],2),Ye+=Math.pow(_e[4*Be+ke],2);ze[Le]/=Math.sqrt($e),je[Be]/=Math.sqrt(Ye),Pe.axes[0]=ze,Pe.axes[1]=je,Pe.fragClipBounds[0]=$(B,ae[0],fe,-1e8),Pe.fragClipBounds[1]=$(B,ae[1],fe,1e8),ce.vao.bind(),ce.vao.draw(xe.TRIANGLES,ce.vertexCount),ce.lineWidth>0&&(xe.lineWidth(ce.lineWidth*de),ce.vao.draw(xe.LINES,ce.lineVertexCount,ce.vertexCount)),ce.vao.unbind()}}(ne,te,Z,X),Q===te.hasAlpha||re){H.bind();var oe=H.uniforms;oe.model=Z.model||C,oe.view=Z.view||C,oe.projection=Z.projection||C,b[0]=2/ie.drawingBufferWidth,b[1]=2/ie.drawingBufferHeight,oe.screenSize=b,oe.highlightId=te.highlightId,oe.highlightScale=te.highlightScale,oe.fragClipBounds=U,oe.clipBounds=te.axes.bounds,oe.opacity=te.opacity,oe.pickGroup=te.pickId/255,oe.pixelRatio=X,te.vao.bind(),te.vao.draw(ie.TRIANGLES,te.vertexCount),te.lineWidth>0&&(ie.lineWidth(te.lineWidth*X),te.vao.draw(ie.LINES,te.lineVertexCount,te.vertexCount)),te.vao.unbind()}}function q(H,ne,te,Z){var X;X=Array.isArray(H)?ne=this.pointCount||ne<0)return null;var te=this.points[ne],Z=this._selectResult;Z.index=ne;for(var X=0;X<3;++X)Z.position[X]=Z.dataCoordinate[X]=te[X];return Z},L.highlight=function(H){if(H){var ne=H.index,te=255&ne,Z=ne>>8&255,X=ne>>16&255;this.highlightId=[te/255,Z/255,X/255,0]}else this.highlightId=[1,1,1,1]},L.update=function(H){if("perspective"in(H=H||{})&&(this.useOrtho=!H.perspective),"orthographic"in H&&(this.useOrtho=!!H.orthographic),"lineWidth"in H&&(this.lineWidth=H.lineWidth),"project"in H)if(Array.isArray(H.project))this.axesProject=H.project;else{var ne=!!H.project;this.axesProject=[ne,ne,ne]}if("projectScale"in H)if(Array.isArray(H.projectScale))this.projectScale=H.projectScale.slice();else{var te=+H.projectScale;this.projectScale=[te,te,te]}if(this.projectHasAlpha=!1,"projectOpacity"in H){Array.isArray(H.projectOpacity)?this.projectOpacity=H.projectOpacity.slice():(te=+H.projectOpacity,this.projectOpacity=[te,te,te]);for(var Z=0;Z<3;++Z)this.projectOpacity[Z]=x(this.projectOpacity[Z]),this.projectOpacity[Z]<1&&(this.projectHasAlpha=!0)}this.hasAlpha=!1,"opacity"in H&&(this.opacity=x(H.opacity),this.opacity<1&&(this.hasAlpha=!0)),this.dirty=!0;var X,Q,re=H.position,ie=H.font||"normal",oe=H.alignment||[0,0];if(oe.length===2)X=oe[0],Q=oe[1];else for(X=[],Q=[],Z=0;Z0){var we=0,Ee=_e,Ve=[0,0,0,1],$e=[0,0,0,1],Ye=Array.isArray(de)&&Array.isArray(de[0]),st=Array.isArray(xe)&&Array.isArray(xe[0]);e:for(Z=0;Z0?1-ke[0][0]:Ot<0?1+ke[1][0]:1,Bt*=Bt>0?1-ke[0][1]:Bt<0?1+ke[1][1]:1],Vt=fe.cells||[],Ke=fe.positions||[];for(ae=0;ae1?1:H}function A(H,ne,te,Z,X,Q,re,ie,oe,ue,ce,ye){this.gl=H,this.pixelRatio=1,this.shader=ne,this.orthoShader=te,this.projectShader=Z,this.pointBuffer=X,this.colorBuffer=Q,this.glyphBuffer=re,this.idBuffer=ie,this.vao=oe,this.vertexCount=0,this.lineVertexCount=0,this.opacity=1,this.hasAlpha=!1,this.lineWidth=0,this.projectScale=[.6666666666666666,.6666666666666666,.6666666666666666],this.projectOpacity=[1,1,1],this.projectHasAlpha=!1,this.pickId=0,this.pickPerspectiveShader=ue,this.pickOrthoShader=ce,this.pickProjectShader=ye,this.points=[],this._selectResult=new E(0,[0,0,0]),this.useOrtho=!0,this.bounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.axesProject=[!0,!0,!0],this.axesBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.highlightId=[1,1,1,1],this.highlightScale=2,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.dirty=!0}f.exports=function(H){var ne=H.gl,te=m.createPerspective(ne),Z=m.createOrtho(ne),X=m.createProject(ne),Q=m.createPickPerspective(ne),re=m.createPickOrtho(ne),ie=m.createPickProject(ne),oe=o(ne),ue=o(ne),ce=o(ne),ye=o(ne),de=new A(ne,te,Z,X,oe,ue,ce,ye,s(ne,[{buffer:oe,size:3,type:ne.FLOAT},{buffer:ue,size:4,type:ne.FLOAT},{buffer:ce,size:2,type:ne.FLOAT},{buffer:ye,size:4,type:ne.UNSIGNED_BYTE,normalized:!0}]),Q,re,ie);return de.update(H),de};var L=A.prototype;L.pickSlots=1,L.setPickBase=function(H){this.pickId=H},L.isTransparent=function(){if(this.hasAlpha)return!0;for(var H=0;H<3;++H)if(this.axesProject[H]&&this.projectHasAlpha)return!0;return!1},L.isOpaque=function(){if(!this.hasAlpha)return!0;for(var H=0;H<3;++H)if(this.axesProject[H]&&!this.projectHasAlpha)return!0;return!1};var b=[0,0],R=[0,0,0],I=[0,0,0],O=[0,0,0,1],z=[0,0,0,1],F=S.slice(),B=[0,0,0],N=[[0,0,0],[0,0,0]];function W(H){return H[0]=H[1]=H[2]=0,H}function j(H,ne){return H[0]=ne[0],H[1]=ne[1],H[2]=ne[2],H[3]=1,H}function $(H,ne,te,Z){return H[0]=ne[0],H[1]=ne[1],H[2]=ne[2],H[te]=Z,H}var U=[[-1e8,-1e8,-1e8],[1e8,1e8,1e8]];function G(H,ne,te,Z,X,Q,re){var ie=te.gl;if((Q===te.projectHasAlpha||re)&&function(ue,ce,ye,de){var me,pe=ce.axesProject,xe=ce.gl,Pe=ue.uniforms,_e=ye.model||S,Me=ye.view||S,Se=ye.projection||S,Ce=ce.axesBounds,ae=function(st){for(var ot=N,ht=0;ht<2;++ht)for(var bt=0;bt<3;++bt)ot[ht][bt]=Math.max(Math.min(st[ht][bt],1e8),-1e8);return ot}(ce.clipBounds);me=ce.axes&&ce.axes.lastCubeProps?ce.axes.lastCubeProps.axis:[1,1,1],b[0]=2/xe.drawingBufferWidth,b[1]=2/xe.drawingBufferHeight,ue.bind(),Pe.view=Me,Pe.projection=Se,Pe.screenSize=b,Pe.highlightId=ce.highlightId,Pe.highlightScale=ce.highlightScale,Pe.clipBounds=ae,Pe.pickGroup=ce.pickId/255,Pe.pixelRatio=de;for(var fe=0;fe<3;++fe)if(pe[fe]){Pe.scale=ce.projectScale[fe],Pe.opacity=ce.projectOpacity[fe];for(var be=F,ke=0;ke<16;++ke)be[ke]=0;for(ke=0;ke<4;++ke)be[5*ke]=1;be[5*fe]=0,me[fe]<0?be[12+fe]=Ce[0][fe]:be[12+fe]=Ce[1][fe],h(be,_e,be),Pe.model=be;var Le=(fe+1)%3,Be=(fe+2)%3,ze=W(R),je=W(I);ze[Le]=1,je[Be]=1;var ge=k(0,0,0,j(O,ze)),we=k(0,0,0,j(z,je));if(Math.abs(ge[1])>Math.abs(we[1])){var Ee=ge;ge=we,we=Ee,Ee=ze,ze=je,je=Ee;var Ve=Le;Le=Be,Be=Ve}ge[0]<0&&(ze[Le]=-1),we[1]>0&&(je[Be]=-1);var $e=0,Ye=0;for(ke=0;ke<4;++ke)$e+=Math.pow(_e[4*Le+ke],2),Ye+=Math.pow(_e[4*Be+ke],2);ze[Le]/=Math.sqrt($e),je[Be]/=Math.sqrt(Ye),Pe.axes[0]=ze,Pe.axes[1]=je,Pe.fragClipBounds[0]=$(B,ae[0],fe,-1e8),Pe.fragClipBounds[1]=$(B,ae[1],fe,1e8),ce.vao.bind(),ce.vao.draw(xe.TRIANGLES,ce.vertexCount),ce.lineWidth>0&&(xe.lineWidth(ce.lineWidth*de),ce.vao.draw(xe.LINES,ce.lineVertexCount,ce.vertexCount)),ce.vao.unbind()}}(ne,te,Z,X),Q===te.hasAlpha||re){H.bind();var oe=H.uniforms;oe.model=Z.model||S,oe.view=Z.view||S,oe.projection=Z.projection||S,b[0]=2/ie.drawingBufferWidth,b[1]=2/ie.drawingBufferHeight,oe.screenSize=b,oe.highlightId=te.highlightId,oe.highlightScale=te.highlightScale,oe.fragClipBounds=U,oe.clipBounds=te.axes.bounds,oe.opacity=te.opacity,oe.pickGroup=te.pickId/255,oe.pixelRatio=X,te.vao.bind(),te.vao.draw(ie.TRIANGLES,te.vertexCount),te.lineWidth>0&&(ie.lineWidth(te.lineWidth*X),te.vao.draw(ie.LINES,te.lineVertexCount,te.vertexCount)),te.vao.unbind()}}function q(H,ne,te,Z){var X;X=Array.isArray(H)?ne=this.pointCount||ne<0)return null;var te=this.points[ne],Z=this._selectResult;Z.index=ne;for(var X=0;X<3;++X)Z.position[X]=Z.dataCoordinate[X]=te[X];return Z},L.highlight=function(H){if(H){var ne=H.index,te=255&ne,Z=ne>>8&255,X=ne>>16&255;this.highlightId=[te/255,Z/255,X/255,0]}else this.highlightId=[1,1,1,1]},L.update=function(H){if("perspective"in(H=H||{})&&(this.useOrtho=!H.perspective),"orthographic"in H&&(this.useOrtho=!!H.orthographic),"lineWidth"in H&&(this.lineWidth=H.lineWidth),"project"in H)if(Array.isArray(H.project))this.axesProject=H.project;else{var ne=!!H.project;this.axesProject=[ne,ne,ne]}if("projectScale"in H)if(Array.isArray(H.projectScale))this.projectScale=H.projectScale.slice();else{var te=+H.projectScale;this.projectScale=[te,te,te]}if(this.projectHasAlpha=!1,"projectOpacity"in H){Array.isArray(H.projectOpacity)?this.projectOpacity=H.projectOpacity.slice():(te=+H.projectOpacity,this.projectOpacity=[te,te,te]);for(var Z=0;Z<3;++Z)this.projectOpacity[Z]=x(this.projectOpacity[Z]),this.projectOpacity[Z]<1&&(this.projectHasAlpha=!0)}this.hasAlpha=!1,"opacity"in H&&(this.opacity=x(H.opacity),this.opacity<1&&(this.hasAlpha=!0)),this.dirty=!0;var X,Q,re=H.position,ie=H.font||"normal",oe=H.alignment||[0,0];if(oe.length===2)X=oe[0],Q=oe[1];else for(X=[],Q=[],Z=0;Z0){var we=0,Ee=_e,Ve=[0,0,0,1],$e=[0,0,0,1],Ye=Array.isArray(de)&&Array.isArray(de[0]),st=Array.isArray(xe)&&Array.isArray(xe[0]);e:for(Z=0;Z0?1-ke[0][0]:Ot<0?1+ke[1][0]:1,Bt*=Bt>0?1-ke[0][1]:Bt<0?1+ke[1][1]:1],Vt=fe.cells||[],Ke=fe.positions||[];for(ae=0;ae>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js #define GLSLIFY 1 attribute vec2 vertex; @@ -1949,15 +1839,9 @@ uniform vec4 color; void main() { gl_FragColor = color; } -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js `])},6623:function(f,l,a){var u=a(5158),o=a(5827),s=a(1884);function h(m,w,y){this.plot=m,this.boxBuffer=w,this.boxShader=y,this.enabled=!0,this.selectBox=[1/0,1/0,-1/0,-1/0],this.borderColor=[0,0,0,1],this.innerFill=!1,this.innerColor=[0,0,0,.25],this.outerFill=!0,this.outerColor=[0,0,0,.5],this.borderWidth=10}f.exports=function(m,w){var y=m.gl,C=new h(m,o(y,[0,0,0,1,1,0,1,1]),u(y,s.boxVertex,s.boxFragment));return C.update(w),m.addOverlay(C),C};var c=h.prototype;c.draw=function(){if(this.enabled){var m=this.plot,w=this.selectBox,y=this.borderWidth,C=(this.innerFill,this.innerColor),_=(this.outerFill,this.outerColor),k=this.borderColor,E=m.box,x=m.screenBox,A=m.dataBox,L=m.viewBox,b=m.pixelRatio,R=(w[0]-A[0])*(L[2]-L[0])/(A[2]-A[0])+L[0],I=(w[1]-A[1])*(L[3]-L[1])/(A[3]-A[1])+L[1],O=(w[2]-A[0])*(L[2]-L[0])/(A[2]-A[0])+L[0],z=(w[3]-A[1])*(L[3]-L[1])/(A[3]-A[1])+L[1];if(R=Math.max(R,L[0]),I=Math.max(I,L[1]),O=Math.min(O,L[2]),z=Math.min(z,L[3]),!(O0){var N=y*b;E.drawBox(R-N,I-N,O+N,I+N,k),E.drawBox(R-N,z-N,O+N,z+N,k),E.drawBox(R-N,I-N,R+N,z+N,k),E.drawBox(O-N,I-N,O+N,z+N,k)}}}},c.update=function(m){m=m||{},this.innerFill=!!m.innerFill,this.outerFill=!!m.outerFill,this.innerColor=(m.innerColor||[0,0,0,.5]).slice(),this.outerColor=(m.outerColor||[0,0,0,.5]).slice(),this.borderColor=(m.borderColor||[0,0,0,1]).slice(),this.borderWidth=m.borderWidth||0,this.selectBox=(m.selectBox||this.selectBox).slice()},c.dispose=function(){this.boxBuffer.dispose(),this.boxShader.dispose(),this.plot.removeOverlay(this)}},2611:function(f,l,a){f.exports=function(y,C){var _=C[0],k=C[1];return new m(y,u(y,_,k,{}),o.mallocUint8(_*k*4))};var u=a(4234),o=a(5306),s=a(5050),h=a(2288).nextPow2;function c(y,C,_,k,E){this.coord=[y,C],this.id=_,this.value=k,this.distance=E}function m(y,C,_){this.gl=y,this.fbo=C,this.buffer=_,this._readTimeout=null;var k=this;this._readCallback=function(){k.gl&&(C.bind(),y.readPixels(0,0,C.shape[0],C.shape[1],y.RGBA,y.UNSIGNED_BYTE,k.buffer),k._readTimeout=null)}}var w=m.prototype;Object.defineProperty(w,"shape",{get:function(){return this.gl?this.fbo.shape.slice():[0,0]},set:function(y){if(this.gl){this.fbo.shape=y;var C=this.fbo.shape[0],_=this.fbo.shape[1];if(_*C*4>this.buffer.length){o.free(this.buffer);for(var k=this.buffer=o.mallocUint8(h(_*C*4)),E=0;E<_*C*4;++E)k[E]=255}return y}}}),w.begin=function(){var y=this.gl;this.shape,y&&(this.fbo.bind(),y.clearColor(1,1,1,1),y.clear(y.COLOR_BUFFER_BIT|y.DEPTH_BUFFER_BIT))},w.end=function(){var y=this.gl;y&&(y.bindFramebuffer(y.FRAMEBUFFER,null),this._readTimeout||clearTimeout(this._readTimeout),this._readTimeout=setTimeout(this._readCallback,1))},w.query=function(y,C,_){if(!this.gl)return null;var k=this.fbo.shape.slice();y|=0,C|=0,typeof _!="number"&&(_=1);var E=0|Math.min(Math.max(y-_,0),k[0]),x=0|Math.min(Math.max(y+_,0),k[0]),A=0|Math.min(Math.max(C-_,0),k[1]),L=0|Math.min(Math.max(C+_,0),k[1]);if(x<=E||L<=A)return null;var b=[x-E,L-A],R=s(this.buffer,[b[0],b[1],4],[4,4*k[0],1],4*(E+k[0]*A)),I=function(F,B,N){for(var W=1e8,j=-1,$=-1,U=F.shape[0],G=F.shape[1],q=0;qE)for(_=E;_k)for(_=k;_=0){for(var $=0|j.type.charAt(j.type.length-1),U=new Array($),G=0;G<$;++G)U[G]=W.length,N.push(j.name+"["+G+"]"),typeof j.location=="number"?W.push(j.location+G):Array.isArray(j.location)&&j.location.length===$&&typeof j.location[G]=="number"?W.push(0|j.location[G]):W.push(-1);B.push({name:j.name,type:j.type,locations:U})}else B.push({name:j.name,type:j.type,locations:[W.length]}),N.push(j.name),typeof j.location=="number"?W.push(0|j.location):W.push(-1)}var q=0;for(F=0;F=0;)q+=1;W[F]=q}var H=new Array(E.length);function ne(){L.program=h.program(b,L._vref,L._fref,N,W);for(var te=0;te=0){if((I=b.charCodeAt(b.length-1)-48)<2||I>4)throw new u("","Invalid data type for attribute "+L+": "+b);c(w,y,R[0],_,I,k,L)}else{if(!(b.indexOf("mat")>=0))throw new u("","Unknown data type for attribute "+L+": "+b);var I;if((I=b.charCodeAt(b.length-1)-48)<2||I>4)throw new u("","Invalid data type for attribute "+L+": "+b);m(w,y,R,_,I,k,L)}}}return k};var u=a(9068);function o(w,y,C,_,k,E){this._gl=w,this._wrapper=y,this._index=C,this._locations=_,this._dimension=k,this._constFunc=E}var s=o.prototype;s.pointer=function(w,y,C,_){var k=this,E=k._gl,x=k._locations[k._index];E.vertexAttribPointer(x,k._dimension,w||E.FLOAT,!!y,C||0,_||0),E.enableVertexAttribArray(x)},s.set=function(w,y,C,_){return this._constFunc(this._locations[this._index],w,y,C,_)},Object.defineProperty(s,"location",{get:function(){return this._locations[this._index]},set:function(w){return w!==this._locations[this._index]&&(this._locations[this._index]=0|w,this._wrapper.program=null),0|w}});var h=[function(w,y,C){return C.length===void 0?w.vertexAttrib1f(y,C):w.vertexAttrib1fv(y,C)},function(w,y,C,_){return C.length===void 0?w.vertexAttrib2f(y,C,_):w.vertexAttrib2fv(y,C)},function(w,y,C,_,k){return C.length===void 0?w.vertexAttrib3f(y,C,_,k):w.vertexAttrib3fv(y,C)},function(w,y,C,_,k,E){return C.length===void 0?w.vertexAttrib4f(y,C,_,k,E):w.vertexAttrib4fv(y,C)}];function c(w,y,C,_,k,E,x){var A=h[k],L=new o(w,y,C,_,k,A);Object.defineProperty(E,x,{set:function(b){return w.disableVertexAttribArray(_[C]),A(w,_[C],b),b},get:function(){return L},enumerable:!0})}function m(w,y,C,_,k,E,x){for(var A=new Array(k),L=new Array(k),b=0;b4)throw new o("","Invalid uniform dimension type for matrix "+name+": "+U);c["uniformMatrix"+$+"fv"](y[z],!1,F);break}throw new o("","Unknown uniform data type for "+name+": "+U)}if(($=U.charCodeAt(U.length-1)-48)<2||$>4)throw new o("","Invalid data type");switch(U.charAt(0)){case"b":case"i":c["uniform"+$+"iv"](y[z],F);break;case"v":c["uniform"+$+"fv"](y[z],F);break;default:throw new o("","Unrecognized data type for vector "+name+": "+U)}}}}}}function _(A,L){if(typeof L!="object")return[[A,L]];var b=[];for(var R in L){var I=L[R],O=A;parseInt(R)+""===R?O+="["+R+"]":O+="."+R,typeof I=="object"?b.push.apply(b,_(O,I)):b.push([O,I])}return b}function k(A,L,b){if(typeof b=="object"){var R=E(b);Object.defineProperty(A,L,{get:s(R),set:C(b),enumerable:!0,configurable:!1})}else y[b]?Object.defineProperty(A,L,{get:(I=b,function(O,z,F){return O.getUniform(z.program,F[I])}),set:C(b),enumerable:!0,configurable:!1}):A[L]=function(O){switch(O){case"bool":return!1;case"int":case"sampler2D":case"samplerCube":case"float":return 0;default:var z=O.indexOf("vec");if(0<=z&&z<=1&&O.length===4+z){if((F=O.charCodeAt(O.length-1)-48)<2||F>4)throw new o("","Invalid data type");return O.charAt(0)==="b"?h(F,!1):h(F,0)}if(O.indexOf("mat")===0&&O.length===4){var F;if((F=O.charCodeAt(O.length-1)-48)<2||F>4)throw new o("","Invalid uniform dimension type for matrix "+name+": "+O);return h(F*F,0)}throw new o("","Unknown uniform data type for "+name+": "+O)}}(w[b].type);var I}function E(A){var L;if(Array.isArray(A)){L=new Array(A.length);for(var b=0;b1){m[0]in h||(h[m[0]]=[]),h=h[m[0]];for(var w=1;w1)for(var _=0;_"u"?a(4037):WeakMap),h=0;function c(C,_,k,E,x,A,L){this.id=C,this.src=_,this.type=k,this.shader=E,this.count=A,this.programs=[],this.cache=L}function m(C){this.gl=C,this.shaders=[{},{}],this.programs={}}c.prototype.dispose=function(){if(--this.count==0){for(var C=this.cache,_=C.gl,k=this.programs,E=0,x=k.length;E0){var N=y*b;E.drawBox(R-N,I-N,O+N,I+N,k),E.drawBox(R-N,z-N,O+N,z+N,k),E.drawBox(R-N,I-N,R+N,z+N,k),E.drawBox(O-N,I-N,O+N,z+N,k)}}}},h.update=function(m){m=m||{},this.innerFill=!!m.innerFill,this.outerFill=!!m.outerFill,this.innerColor=(m.innerColor||[0,0,0,.5]).slice(),this.outerColor=(m.outerColor||[0,0,0,.5]).slice(),this.borderColor=(m.borderColor||[0,0,0,1]).slice(),this.borderWidth=m.borderWidth||0,this.selectBox=(m.selectBox||this.selectBox).slice()},h.dispose=function(){this.boxBuffer.dispose(),this.boxShader.dispose(),this.plot.removeOverlay(this)}},2611:function(f,l,a){f.exports=function(y,S){var _=S[0],k=S[1];return new m(y,u(y,_,k,{}),o.mallocUint8(_*k*4))};var u=a(4234),o=a(5306),s=a(5050),c=a(2288).nextPow2;function h(y,S,_,k,E){this.coord=[y,S],this.id=_,this.value=k,this.distance=E}function m(y,S,_){this.gl=y,this.fbo=S,this.buffer=_,this._readTimeout=null;var k=this;this._readCallback=function(){k.gl&&(S.bind(),y.readPixels(0,0,S.shape[0],S.shape[1],y.RGBA,y.UNSIGNED_BYTE,k.buffer),k._readTimeout=null)}}var w=m.prototype;Object.defineProperty(w,"shape",{get:function(){return this.gl?this.fbo.shape.slice():[0,0]},set:function(y){if(this.gl){this.fbo.shape=y;var S=this.fbo.shape[0],_=this.fbo.shape[1];if(_*S*4>this.buffer.length){o.free(this.buffer);for(var k=this.buffer=o.mallocUint8(c(_*S*4)),E=0;E<_*S*4;++E)k[E]=255}return y}}}),w.begin=function(){var y=this.gl;this.shape,y&&(this.fbo.bind(),y.clearColor(1,1,1,1),y.clear(y.COLOR_BUFFER_BIT|y.DEPTH_BUFFER_BIT))},w.end=function(){var y=this.gl;y&&(y.bindFramebuffer(y.FRAMEBUFFER,null),this._readTimeout||clearTimeout(this._readTimeout),this._readTimeout=setTimeout(this._readCallback,1))},w.query=function(y,S,_){if(!this.gl)return null;var k=this.fbo.shape.slice();y|=0,S|=0,typeof _!="number"&&(_=1);var E=0|Math.min(Math.max(y-_,0),k[0]),x=0|Math.min(Math.max(y+_,0),k[0]),A=0|Math.min(Math.max(S-_,0),k[1]),L=0|Math.min(Math.max(S+_,0),k[1]);if(x<=E||L<=A)return null;var b=[x-E,L-A],R=s(this.buffer,[b[0],b[1],4],[4,4*k[0],1],4*(E+k[0]*A)),I=function(F,B,N){for(var W=1e8,j=-1,$=-1,U=F.shape[0],G=F.shape[1],q=0;qE)for(_=E;_k)for(_=k;_=0){for(var $=0|j.type.charAt(j.type.length-1),U=new Array($),G=0;G<$;++G)U[G]=W.length,N.push(j.name+"["+G+"]"),typeof j.location=="number"?W.push(j.location+G):Array.isArray(j.location)&&j.location.length===$&&typeof j.location[G]=="number"?W.push(0|j.location[G]):W.push(-1);B.push({name:j.name,type:j.type,locations:U})}else B.push({name:j.name,type:j.type,locations:[W.length]}),N.push(j.name),typeof j.location=="number"?W.push(0|j.location):W.push(-1)}var q=0;for(F=0;F=0;)q+=1;W[F]=q}var H=new Array(E.length);function ne(){L.program=c.program(b,L._vref,L._fref,N,W);for(var te=0;te=0){if((I=b.charCodeAt(b.length-1)-48)<2||I>4)throw new u("","Invalid data type for attribute "+L+": "+b);h(w,y,R[0],_,I,k,L)}else{if(!(b.indexOf("mat")>=0))throw new u("","Unknown data type for attribute "+L+": "+b);var I;if((I=b.charCodeAt(b.length-1)-48)<2||I>4)throw new u("","Invalid data type for attribute "+L+": "+b);m(w,y,R,_,I,k,L)}}}return k};var u=a(9068);function o(w,y,S,_,k,E){this._gl=w,this._wrapper=y,this._index=S,this._locations=_,this._dimension=k,this._constFunc=E}var s=o.prototype;s.pointer=function(w,y,S,_){var k=this,E=k._gl,x=k._locations[k._index];E.vertexAttribPointer(x,k._dimension,w||E.FLOAT,!!y,S||0,_||0),E.enableVertexAttribArray(x)},s.set=function(w,y,S,_){return this._constFunc(this._locations[this._index],w,y,S,_)},Object.defineProperty(s,"location",{get:function(){return this._locations[this._index]},set:function(w){return w!==this._locations[this._index]&&(this._locations[this._index]=0|w,this._wrapper.program=null),0|w}});var c=[function(w,y,S){return S.length===void 0?w.vertexAttrib1f(y,S):w.vertexAttrib1fv(y,S)},function(w,y,S,_){return S.length===void 0?w.vertexAttrib2f(y,S,_):w.vertexAttrib2fv(y,S)},function(w,y,S,_,k){return S.length===void 0?w.vertexAttrib3f(y,S,_,k):w.vertexAttrib3fv(y,S)},function(w,y,S,_,k,E){return S.length===void 0?w.vertexAttrib4f(y,S,_,k,E):w.vertexAttrib4fv(y,S)}];function h(w,y,S,_,k,E,x){var A=c[k],L=new o(w,y,S,_,k,A);Object.defineProperty(E,x,{set:function(b){return w.disableVertexAttribArray(_[S]),A(w,_[S],b),b},get:function(){return L},enumerable:!0})}function m(w,y,S,_,k,E,x){for(var A=new Array(k),L=new Array(k),b=0;b4)throw new o("","Invalid uniform dimension type for matrix "+name+": "+U);h["uniformMatrix"+$+"fv"](y[z],!1,F);break}throw new o("","Unknown uniform data type for "+name+": "+U)}if(($=U.charCodeAt(U.length-1)-48)<2||$>4)throw new o("","Invalid data type");switch(U.charAt(0)){case"b":case"i":h["uniform"+$+"iv"](y[z],F);break;case"v":h["uniform"+$+"fv"](y[z],F);break;default:throw new o("","Unrecognized data type for vector "+name+": "+U)}}}}}}function _(A,L){if(typeof L!="object")return[[A,L]];var b=[];for(var R in L){var I=L[R],O=A;parseInt(R)+""===R?O+="["+R+"]":O+="."+R,typeof I=="object"?b.push.apply(b,_(O,I)):b.push([O,I])}return b}function k(A,L,b){if(typeof b=="object"){var R=E(b);Object.defineProperty(A,L,{get:s(R),set:S(b),enumerable:!0,configurable:!1})}else y[b]?Object.defineProperty(A,L,{get:(I=b,function(O,z,F){return O.getUniform(z.program,F[I])}),set:S(b),enumerable:!0,configurable:!1}):A[L]=function(O){switch(O){case"bool":return!1;case"int":case"sampler2D":case"samplerCube":case"float":return 0;default:var z=O.indexOf("vec");if(0<=z&&z<=1&&O.length===4+z){if((F=O.charCodeAt(O.length-1)-48)<2||F>4)throw new o("","Invalid data type");return O.charAt(0)==="b"?c(F,!1):c(F,0)}if(O.indexOf("mat")===0&&O.length===4){var F;if((F=O.charCodeAt(O.length-1)-48)<2||F>4)throw new o("","Invalid uniform dimension type for matrix "+name+": "+O);return c(F*F,0)}throw new o("","Unknown uniform data type for "+name+": "+O)}}(w[b].type);var I}function E(A){var L;if(Array.isArray(A)){L=new Array(A.length);for(var b=0;b1){m[0]in c||(c[m[0]]=[]),c=c[m[0]];for(var w=1;w1)for(var _=0;_"u"?a(4037):WeakMap),c=0;function h(S,_,k,E,x,A,L){this.id=S,this.src=_,this.type=k,this.shader=E,this.count=A,this.programs=[],this.cache=L}function m(S){this.gl=S,this.shaders=[{},{}],this.programs={}}h.prototype.dispose=function(){if(--this.count==0){for(var S=this.cache,_=S.gl,k=this.programs,E=0,x=k.length;E>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js #define GLSLIFY 1 attribute vec3 position, color; @@ -1990,11 +1874,7 @@ varying vec4 fragColor; void main() { gl_FragColor = fragColor; -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js }`]);f.exports=function(c){return o(c,s,h,null,[{name:"position",type:"vec3"},{name:"color",type:"vec3"},{name:"weight",type:"float"}])}},6496:function(f,l,a){var u=a(5827),o=a(2944),s=a(3540);f.exports=function(_,k){var E=[];function x(I,O,z,F,B,N){var W=[I,O,z,0,0,0,1];W[F+3]=1,W[F]=B,E.push.apply(E,W),W[6]=-1,E.push.apply(E,W),W[F]=N,E.push.apply(E,W),E.push.apply(E,W),W[6]=1,E.push.apply(E,W),W[F]=B,E.push.apply(E,W)}x(0,0,0,0,0,1),x(0,0,0,1,0,1),x(0,0,0,2,0,1),x(1,0,0,1,-1,1),x(1,0,0,2,-1,1),x(0,1,0,0,-1,1),x(0,1,0,2,-1,1),x(0,0,1,0,-1,1),x(0,0,1,1,-1,1);var A=u(_,E),L=o(_,[{type:_.FLOAT,buffer:A,size:3,offset:0,stride:28},{type:_.FLOAT,buffer:A,size:3,offset:12,stride:28},{type:_.FLOAT,buffer:A,size:1,offset:24,stride:28}]),b=s(_);b.attributes.position.location=0,b.attributes.color.location=1,b.attributes.weight.location=2;var R=new c(_,A,L,b);return R.update(k),R};var h=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function c(_,k,E,x){this.gl=_,this.buffer=k,this.vao=E,this.shader=x,this.pixelRatio=1,this.bounds=[[-1e3,-1e3,-1e3],[1e3,1e3,1e3]],this.position=[0,0,0],this.lineWidth=[2,2,2],this.colors=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.enabled=[!0,!0,!0],this.drawSides=[!0,!0,!0],this.axes=null}var m=c.prototype,w=[0,0,0],y=[0,0,0],C=[0,0];m.isTransparent=function(){return!1},m.drawTransparent=function(_){},m.draw=function(_){var k=this.gl,E=this.vao,x=this.shader;E.bind(),x.bind();var A,L=_.model||h,b=_.view||h,R=_.projection||h;this.axes&&(A=this.axes.lastCubeProps.axis);for(var I=w,O=y,z=0;z<3;++z)A&&A[z]<0?(I[z]=this.bounds[0][z],O[z]=this.bounds[1][z]):(I[z]=this.bounds[1][z],O[z]=this.bounds[0][z]);for(C[0]=k.drawingBufferWidth,C[1]=k.drawingBufferHeight,x.uniforms.model=L,x.uniforms.view=b,x.uniforms.projection=R,x.uniforms.coordinates=[this.position,I,O],x.uniforms.colors=this.colors,x.uniforms.screenShape=C,z=0;z<3;++z)x.uniforms.lineWidth=this.lineWidth[z]*this.pixelRatio,this.enabled[z]&&(E.draw(k.TRIANGLES,6,6*z),this.drawSides[z]&&E.draw(k.TRIANGLES,12,18+12*z));E.unbind()},m.update=function(_){_&&("bounds"in _&&(this.bounds=_.bounds),"position"in _&&(this.position=_.position),"lineWidth"in _&&(this.lineWidth=_.lineWidth),"colors"in _&&(this.colors=_.colors),"enabled"in _&&(this.enabled=_.enabled),"drawSides"in _&&(this.drawSides=_.drawSides))},m.dispose=function(){this.vao.dispose(),this.buffer.dispose(),this.shader.dispose()}},9578:function(f,l,a){var u=a(6832),o=u([`precision highp float; -======== -}`]);f.exports=function(h){return o(h,s,c,null,[{name:"position",type:"vec3"},{name:"color",type:"vec3"},{name:"weight",type:"float"}])}},6496:function(f,l,a){var u=a(5827),o=a(2944),s=a(3540);f.exports=function(_,k){var E=[];function x(I,O,z,F,B,N){var W=[I,O,z,0,0,0,1];W[F+3]=1,W[F]=B,E.push.apply(E,W),W[6]=-1,E.push.apply(E,W),W[F]=N,E.push.apply(E,W),E.push.apply(E,W),W[6]=1,E.push.apply(E,W),W[F]=B,E.push.apply(E,W)}x(0,0,0,0,0,1),x(0,0,0,1,0,1),x(0,0,0,2,0,1),x(1,0,0,1,-1,1),x(1,0,0,2,-1,1),x(0,1,0,0,-1,1),x(0,1,0,2,-1,1),x(0,0,1,0,-1,1),x(0,0,1,1,-1,1);var A=u(_,E),L=o(_,[{type:_.FLOAT,buffer:A,size:3,offset:0,stride:28},{type:_.FLOAT,buffer:A,size:3,offset:12,stride:28},{type:_.FLOAT,buffer:A,size:1,offset:24,stride:28}]),b=s(_);b.attributes.position.location=0,b.attributes.color.location=1,b.attributes.weight.location=2;var R=new h(_,A,L,b);return R.update(k),R};var c=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];function h(_,k,E,x){this.gl=_,this.buffer=k,this.vao=E,this.shader=x,this.pixelRatio=1,this.bounds=[[-1e3,-1e3,-1e3],[1e3,1e3,1e3]],this.position=[0,0,0],this.lineWidth=[2,2,2],this.colors=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.enabled=[!0,!0,!0],this.drawSides=[!0,!0,!0],this.axes=null}var m=h.prototype,w=[0,0,0],y=[0,0,0],S=[0,0];m.isTransparent=function(){return!1},m.drawTransparent=function(_){},m.draw=function(_){var k=this.gl,E=this.vao,x=this.shader;E.bind(),x.bind();var A,L=_.model||c,b=_.view||c,R=_.projection||c;this.axes&&(A=this.axes.lastCubeProps.axis);for(var I=w,O=y,z=0;z<3;++z)A&&A[z]<0?(I[z]=this.bounds[0][z],O[z]=this.bounds[1][z]):(I[z]=this.bounds[1][z],O[z]=this.bounds[0][z]);for(S[0]=k.drawingBufferWidth,S[1]=k.drawingBufferHeight,x.uniforms.model=L,x.uniforms.view=b,x.uniforms.projection=R,x.uniforms.coordinates=[this.position,I,O],x.uniforms.colors=this.colors,x.uniforms.screenShape=S,z=0;z<3;++z)x.uniforms.lineWidth=this.lineWidth[z]*this.pixelRatio,this.enabled[z]&&(E.draw(k.TRIANGLES,6,6*z),this.drawSides[z]&&E.draw(k.TRIANGLES,12,18+12*z));E.unbind()},m.update=function(_){_&&("bounds"in _&&(this.bounds=_.bounds),"position"in _&&(this.position=_.position),"lineWidth"in _&&(this.lineWidth=_.lineWidth),"colors"in _&&(this.colors=_.colors),"enabled"in _&&(this.enabled=_.enabled),"drawSides"in _&&(this.drawSides=_.drawSides))},m.dispose=function(){this.vao.dispose(),this.buffer.dispose(),this.shader.dispose()}},9578:function(f,l,a){var u=a(6832),o=u([`precision highp float; ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js precision highp float; #define GLSLIFY 1 @@ -2225,11 +2105,7 @@ void main() { f_id = id; f_position = position.xyz; } -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js `]),c=u([`precision highp float; -======== -`]),h=u([`precision highp float; ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js #define GLSLIFY 1 bool outOfRange(float a, float b, float p) { @@ -2262,11 +2138,7 @@ void main() { if (outOfRange(clipBounds[0], clipBounds[1], f_position)) discard; gl_FragColor = vec4(pickId, f_id.xyz); -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js }`]);l.meshShader={vertex:o,fragment:s,attributes:[{name:"position",type:"vec4"},{name:"color",type:"vec4"},{name:"uv",type:"vec2"},{name:"vector",type:"vec4"}]},l.pickShader={vertex:h,fragment:c,attributes:[{name:"position",type:"vec4"},{name:"id",type:"vec4"},{name:"vector",type:"vec4"}]}},7307:function(f,l,a){var u=a(2858),o=a(4020),s=["xyz","xzy","yxz","yzx","zxy","zyx"],h=function(C,_){var k,E=C.length;for(k=0;k_)return k-1}return k},c=function(C,_,k){return C<_?_:C>k?k:C},m=function(C){var _=1/0;C.sort(function(A,L){return A-L});for(var k=C.length,E=1;Eke-1||Ee>Le-1||Ve>Be-1)return u.create();var $e,Ye,st,ot,ht,bt,Et=Ce[0][ze],kt=Ce[0][we],xt=Ce[1][je],Ft=Ce[1][Ee],Ot=Ce[2][ge],Bt=(ae-Et)/(kt-Et),qt=(fe-xt)/(Ft-xt),Vt=(be-Ot)/(Ce[2][Ve]-Ot);switch(isFinite(Bt)||(Bt=.5),isFinite(qt)||(qt=.5),isFinite(Vt)||(Vt=.5),Me.reversedX&&(ze=ke-1-ze,we=ke-1-we),Me.reversedY&&(je=Le-1-je,Ee=Le-1-Ee),Me.reversedZ&&(ge=Be-1-ge,Ve=Be-1-Ve),Me.filled){case 5:ht=ge,bt=Ve,st=je*Be,ot=Ee*Be,$e=ze*Be*Le,Ye=we*Be*Le;break;case 4:ht=ge,bt=Ve,$e=ze*Be,Ye=we*Be,st=je*Be*ke,ot=Ee*Be*ke;break;case 3:st=je,ot=Ee,ht=ge*Le,bt=Ve*Le,$e=ze*Le*Be,Ye=we*Le*Be;break;case 2:st=je,ot=Ee,$e=ze*Le,Ye=we*Le,ht=ge*Le*ke,bt=Ve*Le*ke;break;case 1:$e=ze,Ye=we,ht=ge*ke,bt=Ve*ke,st=je*ke*Be,ot=Ee*ke*Be;break;default:$e=ze,Ye=we,st=je*ke,ot=Ee*ke,ht=ge*ke*Le,bt=Ve*ke*Le}var Ke=Se[$e+st+ht],Je=Se[$e+st+bt],qe=Se[$e+ot+ht],nt=Se[$e+ot+bt],ft=Se[Ye+st+ht],Re=Se[Ye+st+bt],Ne=Se[Ye+ot+ht],Qe=Se[Ye+ot+bt],ut=u.create(),dt=u.create(),_t=u.create(),It=u.create();u.lerp(ut,Ke,ft,Bt),u.lerp(dt,Je,Re,Bt),u.lerp(_t,qe,Ne,Bt),u.lerp(It,nt,Qe,Bt);var Lt=u.create(),yt=u.create();u.lerp(Lt,ut,_t,qt),u.lerp(yt,dt,It,qt);var Pt=u.create();return u.lerp(Pt,Lt,yt,Vt),Pt}(xe,C,b)},I=C.getDivergence||function(xe,Pe){var _e=u.create(),Me=1e-4;u.add(_e,xe,[Me,0,0]);var Se=R(_e);u.subtract(Se,Se,Pe),u.scale(Se,Se,1/Me),u.add(_e,xe,[0,Me,0]);var Ce=R(_e);u.subtract(Ce,Ce,Pe),u.scale(Ce,Ce,1/Me),u.add(_e,xe,[0,0,Me]);var ae=R(_e);return u.subtract(ae,ae,Pe),u.scale(ae,ae,1/Me),u.add(_e,Se,Ce),u.add(_e,_e,ae),_e},O=[],z=_[0][0],F=_[0][1],B=_[0][2],N=_[1][0],W=_[1][1],j=_[1][2],$=function(xe){var Pe=xe[0],_e=xe[1],Me=xe[2];return!(PeN||_eW||Mej)},U=10*u.distance(_[0],_[1])/E,G=U*U,q=1,H=0,ne=k.length;ne>1&&(q=function(xe){for(var Pe=[],_e=[],Me=[],Se={},Ce={},ae={},fe=xe.length,be=0;beH&&(H=ce),oe.push(ce),O.push({points:X,velocities:Q,divergences:oe});for(var ye=0;ye<100*E&&X.lengthG&&u.scale(de,de,U/Math.sqrt(me)),u.add(de,de,Z),re=R(de),u.squaredDistance(ie,de)-G>-1e-4*G&&(X.push(de),ie=de,Q.push(re),ue=I(de,re),ce=u.length(ue),isFinite(ce)&&ce>H&&(H=ce),oe.push(ce)),Z=de}}var pe=function(xe,Pe,_e,Me){for(var Se=0,Ce=0;Ce0)for(ut=0;ut<8;ut++){var dt=(ut+1)%8;xt.push(Bt[ut],qt[ut],qt[dt],qt[dt],Bt[dt],Bt[ut]),Ot.push(nt,qe,qe,qe,nt,nt),Vt.push(Ke,Je,Je,Je,Ke,Ke);var _t=xt.length;Ft.push([_t-6,_t-5,_t-4],[_t-3,_t-2,_t-1])}var It=Bt;Bt=qt,qt=It;var Lt=nt;nt=qe,qe=Lt;var yt=Ke;Ke=Je,Je=yt}return{positions:xt,cells:Ft,vectors:Ot,vertexIntensity:Vt}}($e,_e,Me,Se)}),ke=[],Le=[],Be=[],ze=[];for(Ce=0;Ce_)return k-1}return k},h=function(S,_,k){return S<_?_:S>k?k:S},m=function(S){var _=1/0;S.sort(function(A,L){return A-L});for(var k=S.length,E=1;Eke-1||Ee>Le-1||Ve>Be-1)return u.create();var $e,Ye,st,ot,ht,bt,Et=Ce[0][ze],kt=Ce[0][we],xt=Ce[1][je],Ft=Ce[1][Ee],Ot=Ce[2][ge],Bt=(ae-Et)/(kt-Et),qt=(fe-xt)/(Ft-xt),Vt=(be-Ot)/(Ce[2][Ve]-Ot);switch(isFinite(Bt)||(Bt=.5),isFinite(qt)||(qt=.5),isFinite(Vt)||(Vt=.5),Me.reversedX&&(ze=ke-1-ze,we=ke-1-we),Me.reversedY&&(je=Le-1-je,Ee=Le-1-Ee),Me.reversedZ&&(ge=Be-1-ge,Ve=Be-1-Ve),Me.filled){case 5:ht=ge,bt=Ve,st=je*Be,ot=Ee*Be,$e=ze*Be*Le,Ye=we*Be*Le;break;case 4:ht=ge,bt=Ve,$e=ze*Be,Ye=we*Be,st=je*Be*ke,ot=Ee*Be*ke;break;case 3:st=je,ot=Ee,ht=ge*Le,bt=Ve*Le,$e=ze*Le*Be,Ye=we*Le*Be;break;case 2:st=je,ot=Ee,$e=ze*Le,Ye=we*Le,ht=ge*Le*ke,bt=Ve*Le*ke;break;case 1:$e=ze,Ye=we,ht=ge*ke,bt=Ve*ke,st=je*ke*Be,ot=Ee*ke*Be;break;default:$e=ze,Ye=we,st=je*ke,ot=Ee*ke,ht=ge*ke*Le,bt=Ve*ke*Le}var Ke=Se[$e+st+ht],Je=Se[$e+st+bt],qe=Se[$e+ot+ht],nt=Se[$e+ot+bt],ft=Se[Ye+st+ht],Re=Se[Ye+st+bt],Ne=Se[Ye+ot+ht],Qe=Se[Ye+ot+bt],ut=u.create(),dt=u.create(),_t=u.create(),It=u.create();u.lerp(ut,Ke,ft,Bt),u.lerp(dt,Je,Re,Bt),u.lerp(_t,qe,Ne,Bt),u.lerp(It,nt,Qe,Bt);var Lt=u.create(),yt=u.create();u.lerp(Lt,ut,_t,qt),u.lerp(yt,dt,It,qt);var Pt=u.create();return u.lerp(Pt,Lt,yt,Vt),Pt}(xe,S,b)},I=S.getDivergence||function(xe,Pe){var _e=u.create(),Me=1e-4;u.add(_e,xe,[Me,0,0]);var Se=R(_e);u.subtract(Se,Se,Pe),u.scale(Se,Se,1/Me),u.add(_e,xe,[0,Me,0]);var Ce=R(_e);u.subtract(Ce,Ce,Pe),u.scale(Ce,Ce,1/Me),u.add(_e,xe,[0,0,Me]);var ae=R(_e);return u.subtract(ae,ae,Pe),u.scale(ae,ae,1/Me),u.add(_e,Se,Ce),u.add(_e,_e,ae),_e},O=[],z=_[0][0],F=_[0][1],B=_[0][2],N=_[1][0],W=_[1][1],j=_[1][2],$=function(xe){var Pe=xe[0],_e=xe[1],Me=xe[2];return!(PeN||_eW||Mej)},U=10*u.distance(_[0],_[1])/E,G=U*U,q=1,H=0,ne=k.length;ne>1&&(q=function(xe){for(var Pe=[],_e=[],Me=[],Se={},Ce={},ae={},fe=xe.length,be=0;beH&&(H=ce),oe.push(ce),O.push({points:X,velocities:Q,divergences:oe});for(var ye=0;ye<100*E&&X.lengthG&&u.scale(de,de,U/Math.sqrt(me)),u.add(de,de,Z),re=R(de),u.squaredDistance(ie,de)-G>-1e-4*G&&(X.push(de),ie=de,Q.push(re),ue=I(de,re),ce=u.length(ue),isFinite(ce)&&ce>H&&(H=ce),oe.push(ce)),Z=de}}var pe=function(xe,Pe,_e,Me){for(var Se=0,Ce=0;Ce0)for(ut=0;ut<8;ut++){var dt=(ut+1)%8;xt.push(Bt[ut],qt[ut],qt[dt],qt[dt],Bt[dt],Bt[ut]),Ot.push(nt,qe,qe,qe,nt,nt),Vt.push(Ke,Je,Je,Je,Ke,Ke);var _t=xt.length;Ft.push([_t-6,_t-5,_t-4],[_t-3,_t-2,_t-1])}var It=Bt;Bt=qt,qt=It;var Lt=nt;nt=qe,qe=Lt;var yt=Ke;Ke=Je,Je=yt}return{positions:xt,cells:Ft,vectors:Ot,vertexIntensity:Vt}}($e,_e,Me,Se)}),ke=[],Le=[],Be=[],ze=[];for(Ce=0;Ce>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js #define GLSLIFY 1 attribute vec4 uv; @@ -2303,11 +2175,7 @@ void main() { eyeDirection = eyePosition - cameraCoordinate.xyz; surfaceNormal = normalize((vec4(normal,0) * inverseModel).xyz); } -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js `]),h=o([`precision highp float; -======== -`]),c=o([`precision highp float; ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js #define GLSLIFY 1 float beckmannDistribution(float x, float roughness) { @@ -2387,11 +2255,7 @@ void main() { gl_FragColor = mix(litColor, contourColor, contourTint) * opacity; } -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js `]),c=o([`precision highp float; -======== -`]),h=o([`precision highp float; ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js #define GLSLIFY 1 attribute vec4 uv; @@ -2476,7 +2340,6 @@ void main() { vec2 uy = splitFloat(planeCoordinate.y / shape.y); gl_FragColor = vec4(pickId, ux.x, uy.x, ux.y + (uy.y/16.0)); } -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js `]);l.createShader=function(w){var y=u(w,s,h,null,[{name:"uv",type:"vec4"},{name:"f",type:"vec3"},{name:"normal",type:"vec3"}]);return y.attributes.uv.location=0,y.attributes.f.location=1,y.attributes.normal.location=2,y},l.createPickShader=function(w){var y=u(w,s,m,null,[{name:"uv",type:"vec4"},{name:"f",type:"vec3"},{name:"normal",type:"vec3"}]);return y.attributes.uv.location=0,y.attributes.f.location=1,y.attributes.normal.location=2,y},l.createContourShader=function(w){var y=u(w,c,h,null,[{name:"uv",type:"vec4"},{name:"f",type:"float"}]);return y.attributes.uv.location=0,y.attributes.f.location=1,y},l.createPickContourShader=function(w){var y=u(w,c,m,null,[{name:"uv",type:"vec4"},{name:"f",type:"float"}]);return y.attributes.uv.location=0,y.attributes.f.location=1,y}},3754:function(f,l,a){f.exports=function(ie){var oe=ie.gl,ue=b(oe),ce=I(oe),ye=R(oe),de=O(oe),me=o(oe),pe=s(oe,[{buffer:me,size:4,stride:40,offset:0},{buffer:me,size:3,stride:40,offset:16},{buffer:me,size:3,stride:40,offset:28}]),xe=o(oe),Pe=s(oe,[{buffer:xe,size:4,stride:20,offset:0},{buffer:xe,size:1,stride:20,offset:16}]),_e=o(oe),Me=s(oe,[{buffer:_e,size:2,type:oe.FLOAT}]),Se=h(oe,1,256,oe.RGBA,oe.UNSIGNED_BYTE);Se.minFilter=oe.LINEAR,Se.magFilter=oe.LINEAR;var Ce=new W(oe,[0,0],[[0,0,0],[0,0,0]],ue,ce,me,pe,Se,ye,de,xe,Pe,_e,Me,[0,0,0]),ae={levels:[[],[],[]]};for(var fe in ie)ae[fe]=ie[fe];return ae.colormap=ae.colormap||"jet",Ce.update(ae),Ce};var u=a(2288),o=a(5827),s=a(2944),h=a(8931),c=a(5306),m=a(9156),w=a(7498),y=a(7382),C=a(5050),_=a(4162),k=a(104),E=a(7437),x=a(5070),A=a(9144),L=a(9054),b=L.createShader,R=L.createContourShader,I=L.createPickShader,O=L.createPickContourShader,z=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],F=[[0,0],[0,1],[1,0],[1,1],[1,0],[0,1]],B=[[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0]];function N(ie,oe,ue,ce,ye){this.position=ie,this.index=oe,this.uv=ue,this.level=ce,this.dataCoordinate=ye}function W(ie,oe,ue,ce,ye,de,me,pe,xe,Pe,_e,Me,Se,Ce,ae){this.gl=ie,this.shape=oe,this.bounds=ue,this.objectOffset=ae,this.intensityBounds=[],this._shader=ce,this._pickShader=ye,this._coordinateBuffer=de,this._vao=me,this._colorMap=pe,this._contourShader=xe,this._contourPickShader=Pe,this._contourBuffer=_e,this._contourVAO=Me,this._contourOffsets=[[],[],[]],this._contourCounts=[[],[],[]],this._vertexCount=0,this._pickResult=new N([0,0,0],[0,0],[0,0],[0,0,0],[0,0,0]),this._dynamicBuffer=Se,this._dynamicVAO=Ce,this._dynamicOffsets=[0,0,0],this._dynamicCounts=[0,0,0],this.contourWidth=[1,1,1],this.contourLevels=[[1],[1],[1]],this.contourTint=[0,0,0],this.contourColor=[[.5,.5,.5,1],[.5,.5,.5,1],[.5,.5,.5,1]],this.showContour=!0,this.showSurface=!0,this.enableHighlight=[!0,!0,!0],this.highlightColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.highlightTint=[1,1,1],this.highlightLevel=[-1,-1,-1],this.enableDynamic=[!0,!0,!0],this.dynamicLevel=[NaN,NaN,NaN],this.dynamicColor=[[0,0,0,1],[0,0,0,1],[0,0,0,1]],this.dynamicTint=[1,1,1],this.dynamicWidth=[1,1,1],this.axesBounds=[[1/0,1/0,1/0],[-1/0,-1/0,-1/0]],this.surfaceProject=[!1,!1,!1],this.contourProject=[[!1,!1,!1],[!1,!1,!1],[!1,!1,!1]],this.colorBounds=[!1,!1],this._field=[C(c.mallocFloat(1024),[0,0]),C(c.mallocFloat(1024),[0,0]),C(c.mallocFloat(1024),[0,0])],this.pickId=1,this.clipBounds=[[-1/0,-1/0,-1/0],[1/0,1/0,1/0]],this.snapToData=!1,this.pixelRatio=1,this.opacity=1,this.lightPosition=[10,1e4,0],this.ambientLight=.8,this.diffuseLight=.8,this.specularLight=2,this.roughness=.5,this.fresnel=1.5,this.vertexColor=0,this.dirty=!0}(function(){for(var ie=0;ie<3;++ie){var oe=B[ie],ue=(ie+2)%3;oe[(ie+1)%3+0]=1,oe[ue+3]=1,oe[ie+6]=1}})();var j=W.prototype;j.genColormap=function(ie,oe){var ue=!1,ce=y([m({colormap:ie,nshades:256,format:"rgba"}).map(function(ye,de){var me=oe?function(pe,xe){if(!xe||!xe.length)return 1;for(var Pe=0;Pepe&&Pe>0){var _e=(xe[Pe][0]-pe)/(xe[Pe][0]-xe[Pe-1][0]);return xe[Pe][1]*(1-_e)+_e*xe[Pe-1][1]}}return 1}(de/255,oe):ye[3];return me<1&&(ue=!0),[ye[0],ye[1],ye[2],255*me]})]);return w.divseq(ce,255),this.hasAlphaScale=ue,ce},j.isTransparent=function(){return this.opacity<1||this.hasAlphaScale},j.isOpaque=function(){return!this.isTransparent()},j.pickSlots=1,j.setPickBase=function(ie){this.pickId=ie};var $=[0,0,0],U={showSurface:!1,showContour:!1,projections:[z.slice(),z.slice(),z.slice()],clipBounds:[[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]]]};function G(ie,oe){var ue,ce,ye,de=oe.axes&&oe.axes.lastCubeProps.axis||$,me=oe.showSurface,pe=oe.showContour;for(ue=0;ue<3;++ue)for(me=me||oe.surfaceProject[ue],ce=0;ce<3;++ce)pe=pe||oe.contourProject[ue][ce];for(ue=0;ue<3;++ue){var xe=U.projections[ue];for(ce=0;ce<16;++ce)xe[ce]=0;for(ce=0;ce<4;++ce)xe[5*ce]=1;xe[5*ue]=0,xe[12+ue]=oe.axesBounds[+(de[ue]>0)][ue],k(xe,ie.model,xe);var Pe=U.clipBounds[ue];for(ye=0;ye<2;++ye)for(ce=0;ce<3;++ce)Pe[ye][ce]=ie.clipBounds[ye][ce];Pe[0][ue]=-1e8,Pe[1][ue]=1e8}return U.showSurface=me,U.showContour=pe,U}var q={model:z,view:z,projection:z,inverseModel:z.slice(),lowerBound:[0,0,0],upperBound:[0,0,0],colorMap:0,clipBounds:[[0,0,0],[0,0,0]],height:0,contourTint:0,contourColor:[0,0,0,1],permutation:[1,0,0,0,1,0,0,0,1],zOffset:-1e-4,objectOffset:[0,0,0],kambient:1,kdiffuse:1,kspecular:1,lightPosition:[1e3,1e3,1e3],eyePosition:[0,0,0],roughness:1,fresnel:1,opacity:1,vertexColor:0},H=z.slice(),ne=[1,0,0,0,1,0,0,0,1];function te(ie,oe){ie=ie||{};var ue=this.gl;ue.disable(ue.CULL_FACE),this._colorMap.bind(0);var ce=q;ce.model=ie.model||z,ce.view=ie.view||z,ce.projection=ie.projection||z,ce.lowerBound=[this.bounds[0][0],this.bounds[0][1],this.colorBounds[0]||this.bounds[0][2]],ce.upperBound=[this.bounds[1][0],this.bounds[1][1],this.colorBounds[1]||this.bounds[1][2]],ce.objectOffset=this.objectOffset,ce.contourColor=this.contourColor[0],ce.inverseModel=E(ce.inverseModel,ce.model);for(var ye=0;ye<2;++ye)for(var de=ce.clipBounds[ye],me=0;me<3;++me)de[me]=Math.min(Math.max(this.clipBounds[ye][me],-1e8),1e8);ce.kambient=this.ambientLight,ce.kdiffuse=this.diffuseLight,ce.kspecular=this.specularLight,ce.roughness=this.roughness,ce.fresnel=this.fresnel,ce.opacity=this.opacity,ce.height=0,ce.permutation=ne,ce.vertexColor=this.vertexColor;var pe=H;for(k(pe,ce.view,ce.model),k(pe,ce.projection,pe),E(pe,pe),ye=0;ye<3;++ye)ce.eyePosition[ye]=pe[12+ye]/pe[15];var xe=pe[15];for(ye=0;ye<3;++ye)xe+=this.lightPosition[ye]*pe[4*ye+3];for(ye=0;ye<3;++ye){var Pe=pe[12+ye];for(me=0;me<3;++me)Pe+=pe[4*me+ye]*this.lightPosition[me];ce.lightPosition[ye]=Pe/xe}var _e=G(ce,this);if(_e.showSurface){for(this._shader.bind(),this._shader.uniforms=ce,this._vao.bind(),this.showSurface&&this._vertexCount&&this._vao.draw(ue.TRIANGLES,this._vertexCount),ye=0;ye<3;++ye)this.surfaceProject[ye]&&this.vertexCount&&(this._shader.uniforms.model=_e.projections[ye],this._shader.uniforms.clipBounds=_e.clipBounds[ye],this._vao.draw(ue.TRIANGLES,this._vertexCount));this._vao.unbind()}if(_e.showContour){var Me=this._contourShader;ce.kambient=1,ce.kdiffuse=0,ce.kspecular=0,ce.opacity=1,Me.bind(),Me.uniforms=ce;var Se=this._contourVAO;for(Se.bind(),ye=0;ye<3;++ye)for(Me.uniforms.permutation=B[ye],ue.lineWidth(this.contourWidth[ye]*this.pixelRatio),me=0;me>4)/16)/255,ye=Math.floor(ce),de=ce-ye,me=oe[1]*(ie.value[1]+(15&ie.value[2])/16)/255,pe=Math.floor(me),xe=me-pe;ye+=1,pe+=1;var Pe=ue.position;Pe[0]=Pe[1]=Pe[2]=0;for(var _e=0;_e<2;++_e)for(var Me=_e?de:1-de,Se=0;Se<2;++Se)for(var Ce=ye+_e,ae=pe+Se,fe=Me*(Se?xe:1-xe),be=0;be<3;++be)Pe[be]+=this._field[be].get(Ce,ae)*fe;for(var ke=this._pickResult.level,Le=0;Le<3;++Le)if(ke[Le]=x.le(this.contourLevels[Le],Pe[Le]),ke[Le]<0)this.contourLevels[Le].length>0&&(ke[Le]=0);else if(ke[Le]Math.abs(ze-Pe[Le])&&(ke[Le]+=1)}for(ue.index[0]=de<.5?ye:ye+1,ue.index[1]=xe<.5?pe:pe+1,ue.uv[0]=ce/oe[0],ue.uv[1]=me/oe[1],be=0;be<3;++be)ue.dataCoordinate[be]=this._field[be].get(ue.index[0],ue.index[1]);return ue},j.padField=function(ie,oe){var ue=oe.shape.slice(),ce=ie.shape.slice();w.assign(ie.lo(1,1).hi(ue[0],ue[1]),oe),w.assign(ie.lo(1).hi(ue[0],1),oe.hi(ue[0],1)),w.assign(ie.lo(1,ce[1]-1).hi(ue[0],1),oe.lo(0,ue[1]-1).hi(ue[0],1)),w.assign(ie.lo(0,1).hi(1,ue[1]),oe.hi(1)),w.assign(ie.lo(ce[0]-1,1).hi(1,ue[1]),oe.lo(ue[0]-1)),ie.set(0,0,oe.get(0,0)),ie.set(0,ce[1]-1,oe.get(0,ue[1]-1)),ie.set(ce[0]-1,0,oe.get(ue[0]-1,0)),ie.set(ce[0]-1,ce[1]-1,oe.get(ue[0]-1,ue[1]-1))},j.update=function(ie){ie=ie||{},this.objectOffset=ie.objectOffset||this.objectOffset,this.dirty=!0,"contourWidth"in ie&&(this.contourWidth=X(ie.contourWidth,Number)),"showContour"in ie&&(this.showContour=X(ie.showContour,Boolean)),"showSurface"in ie&&(this.showSurface=!!ie.showSurface),"contourTint"in ie&&(this.contourTint=X(ie.contourTint,Boolean)),"contourColor"in ie&&(this.contourColor=re(ie.contourColor)),"contourProject"in ie&&(this.contourProject=X(ie.contourProject,function(kn){return X(kn,Boolean)})),"surfaceProject"in ie&&(this.surfaceProject=ie.surfaceProject),"dynamicColor"in ie&&(this.dynamicColor=re(ie.dynamicColor)),"dynamicTint"in ie&&(this.dynamicTint=X(ie.dynamicTint,Number)),"dynamicWidth"in ie&&(this.dynamicWidth=X(ie.dynamicWidth,Number)),"opacity"in ie&&(this.opacity=ie.opacity),"opacityscale"in ie&&(this.opacityscale=ie.opacityscale),"colorBounds"in ie&&(this.colorBounds=ie.colorBounds),"vertexColor"in ie&&(this.vertexColor=ie.vertexColor?1:0),"colormap"in ie&&this._colorMap.setPixels(this.genColormap(ie.colormap,this.opacityscale));var oe=ie.field||ie.coords&&ie.coords[2]||null,ue=!1;if(oe||(oe=this._field[2].shape[0]||this._field[2].shape[2]?this._field[2].lo(1,1).hi(this._field[2].shape[0]-2,this._field[2].shape[1]-2):this._field[2].hi(0,0)),"field"in ie||"coords"in ie){var ce=(oe.shape[0]+2)*(oe.shape[1]+2);ce>this._field[2].data.length&&(c.freeFloat(this._field[2].data),this._field[2].data=c.mallocFloat(u.nextPow2(ce))),this._field[2]=C(this._field[2].data,[oe.shape[0]+2,oe.shape[1]+2]),this.padField(this._field[2],oe),this.shape=oe.shape.slice();for(var ye=this.shape,de=0;de<2;++de)this._field[2].size>this._field[de].data.length&&(c.freeFloat(this._field[de].data),this._field[de].data=c.mallocFloat(this._field[2].size)),this._field[de]=C(this._field[de].data,[ye[0]+2,ye[1]+2]);if(ie.coords){var me=ie.coords;if(!Array.isArray(me)||me.length!==3)throw new Error("gl-surface: invalid coordinates for x/y");for(de=0;de<2;++de){var pe=me[de];for(Se=0;Se<2;++Se)if(pe.shape[Se]!==ye[Se])throw new Error("gl-surface: coords have incorrect shape");this.padField(this._field[de],pe)}}else if(ie.ticks){var xe=ie.ticks;if(!Array.isArray(xe)||xe.length!==2)throw new Error("gl-surface: invalid ticks");for(de=0;de<2;++de){var Pe=xe[de];if((Array.isArray(Pe)||Pe.length)&&(Pe=C(Pe)),Pe.shape[0]!==ye[de])throw new Error("gl-surface: invalid tick length");var _e=C(Pe.data,ye);_e.stride[de]=Pe.stride[0],_e.stride[1^de]=0,this.padField(this._field[de],_e)}}else{for(de=0;de<2;++de){var Me=[0,0];Me[de]=1,this._field[de]=C(this._field[de].data,[ye[0]+2,ye[1]+2],Me,0)}this._field[0].set(0,0,0);for(var Se=0;Se0){for(var An=0;An<5;++An)ft.pop();kt-=1}continue e}ft.push(dt[0],dt[1],Lt[0],Lt[1],dt[2]),kt+=1}}ut.push(kt)}this._contourOffsets[Re]=Qe,this._contourCounts[Re]=ut}var Yn=c.mallocFloat(ft.length);for(de=0;deB||z<0||z>B)throw new Error("gl-texture2d: Invalid texture size");return I._shape=[O,z],I.bind(),F.texImage2D(F.TEXTURE_2D,0,I.format,O,z,0,I.format,I.type,null),I._mipLevels=[0],I}function k(I,O,z,F,B,N){this.gl=I,this.handle=O,this.format=B,this.type=N,this._shape=[z,F],this._mipLevels=[0],this._magFilter=I.NEAREST,this._minFilter=I.NEAREST,this._wrapS=I.CLAMP_TO_EDGE,this._wrapT=I.CLAMP_TO_EDGE,this._anisoSamples=1;var W=this,j=[this._wrapS,this._wrapT];Object.defineProperties(j,[{get:function(){return W._wrapS},set:function(U){return W.wrapS=U}},{get:function(){return W._wrapT},set:function(U){return W.wrapT=U}}]),this._wrapVector=j;var $=[this._shape[0],this._shape[1]];Object.defineProperties($,[{get:function(){return W._shape[0]},set:function(U){return W.width=U}},{get:function(){return W._shape[1]},set:function(U){return W.height=U}}]),this._shapeVector=$}var E=k.prototype;function x(I,O){return I.length===3?O[2]===1&&O[1]===I[0]*I[2]&&O[0]===I[2]:O[0]===1&&O[1]===I[0]}function A(I){var O=I.createTexture();return I.bindTexture(I.TEXTURE_2D,O),I.texParameteri(I.TEXTURE_2D,I.TEXTURE_MIN_FILTER,I.NEAREST),I.texParameteri(I.TEXTURE_2D,I.TEXTURE_MAG_FILTER,I.NEAREST),I.texParameteri(I.TEXTURE_2D,I.TEXTURE_WRAP_S,I.CLAMP_TO_EDGE),I.texParameteri(I.TEXTURE_2D,I.TEXTURE_WRAP_T,I.CLAMP_TO_EDGE),O}function L(I,O,z,F,B){var N=I.getParameter(I.MAX_TEXTURE_SIZE);if(O<0||O>N||z<0||z>N)throw new Error("gl-texture2d: Invalid texture shape");if(B===I.FLOAT&&!I.getExtension("OES_texture_float"))throw new Error("gl-texture2d: Floating point textures not supported on this platform");var W=A(I);return I.texImage2D(I.TEXTURE_2D,0,F,O,z,0,F,B,null),new k(I,W,O,z,F,B)}function b(I,O,z,F,B,N){var W=A(I);return I.texImage2D(I.TEXTURE_2D,0,B,B,N,O),new k(I,W,z,F,B,N)}function R(I,O){var z=O.dtype,F=O.shape.slice(),B=I.getParameter(I.MAX_TEXTURE_SIZE);if(F[0]<0||F[0]>B||F[1]<0||F[1]>B)throw new Error("gl-texture2d: Invalid texture size");var N=x(F,O.stride.slice()),W=0;z==="float32"?W=I.FLOAT:z==="float64"?(W=I.FLOAT,N=!1,z="float32"):z==="uint8"?W=I.UNSIGNED_BYTE:(W=I.UNSIGNED_BYTE,N=!1,z="uint8");var j,$,U=0;if(F.length===2)U=I.LUMINANCE,F=[F[0],F[1],1],O=u(O.data,F,[O.stride[0],O.stride[1],1],O.offset);else{if(F.length!==3)throw new Error("gl-texture2d: Invalid shape for texture");if(F[2]===1)U=I.ALPHA;else if(F[2]===2)U=I.LUMINANCE_ALPHA;else if(F[2]===3)U=I.RGB;else{if(F[2]!==4)throw new Error("gl-texture2d: Invalid shape for pixel coords");U=I.RGBA}}W!==I.FLOAT||I.getExtension("OES_texture_float")||(W=I.UNSIGNED_BYTE,N=!1);var G=O.size;if(N)j=O.offset===0&&O.data.length===G?O.data:O.data.subarray(O.offset,O.offset+G);else{var q=[F[2],F[2]*F[0],1];$=s.malloc(G,z);var H=u($,F,q,0);z!=="float32"&&z!=="float64"||W!==I.UNSIGNED_BYTE?o.assign(H,O):C(H,O),j=$.subarray(0,G)}var ne=A(I);return I.texImage2D(I.TEXTURE_2D,0,U,F[0],F[1],0,U,W,j),N||s.free($),new k(I,ne,F[0],F[1],U,W)}Object.defineProperties(E,{minFilter:{get:function(){return this._minFilter},set:function(I){this.bind();var O=this.gl;if(this.type===O.FLOAT&&h.indexOf(I)>=0&&(O.getExtension("OES_texture_float_linear")||(I=O.NEAREST)),c.indexOf(I)<0)throw new Error("gl-texture2d: Unknown filter mode "+I);return O.texParameteri(O.TEXTURE_2D,O.TEXTURE_MIN_FILTER,I),this._minFilter=I}},magFilter:{get:function(){return this._magFilter},set:function(I){this.bind();var O=this.gl;if(this.type===O.FLOAT&&h.indexOf(I)>=0&&(O.getExtension("OES_texture_float_linear")||(I=O.NEAREST)),c.indexOf(I)<0)throw new Error("gl-texture2d: Unknown filter mode "+I);return O.texParameteri(O.TEXTURE_2D,O.TEXTURE_MAG_FILTER,I),this._magFilter=I}},mipSamples:{get:function(){return this._anisoSamples},set:function(I){var O=this._anisoSamples;if(this._anisoSamples=0|Math.max(I,1),O!==this._anisoSamples){var z=this.gl.getExtension("EXT_texture_filter_anisotropic");z&&this.gl.texParameterf(this.gl.TEXTURE_2D,z.TEXTURE_MAX_ANISOTROPY_EXT,this._anisoSamples)}return this._anisoSamples}},wrapS:{get:function(){return this._wrapS},set:function(I){if(this.bind(),m.indexOf(I)<0)throw new Error("gl-texture2d: Unknown wrap mode "+I);return this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_S,I),this._wrapS=I}},wrapT:{get:function(){return this._wrapT},set:function(I){if(this.bind(),m.indexOf(I)<0)throw new Error("gl-texture2d: Unknown wrap mode "+I);return this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_T,I),this._wrapT=I}},wrap:{get:function(){return this._wrapVector},set:function(I){if(Array.isArray(I)||(I=[I,I]),I.length!==2)throw new Error("gl-texture2d: Must specify wrap mode for rows and columns");for(var O=0;O<2;++O)if(m.indexOf(I[O])<0)throw new Error("gl-texture2d: Unknown wrap mode "+I);this._wrapS=I[0],this._wrapT=I[1];var z=this.gl;return this.bind(),z.texParameteri(z.TEXTURE_2D,z.TEXTURE_WRAP_S,this._wrapS),z.texParameteri(z.TEXTURE_2D,z.TEXTURE_WRAP_T,this._wrapT),I}},shape:{get:function(){return this._shapeVector},set:function(I){if(Array.isArray(I)){if(I.length!==2)throw new Error("gl-texture2d: Invalid texture shape")}else I=[0|I,0|I];return _(this,0|I[0],0|I[1]),[0|I[0],0|I[1]]}},width:{get:function(){return this._shape[0]},set:function(I){return _(this,I|=0,this._shape[1]),I}},height:{get:function(){return this._shape[1]},set:function(I){return I|=0,_(this,this._shape[0],I),I}}}),E.bind=function(I){var O=this.gl;return I!==void 0&&O.activeTexture(O.TEXTURE0+(0|I)),O.bindTexture(O.TEXTURE_2D,this.handle),I!==void 0?0|I:O.getParameter(O.ACTIVE_TEXTURE)-O.TEXTURE0},E.dispose=function(){this.gl.deleteTexture(this.handle)},E.generateMipmap=function(){this.bind(),this.gl.generateMipmap(this.gl.TEXTURE_2D);for(var I=Math.min(this._shape[0],this._shape[1]),O=0;I>0;++O,I>>>=1)this._mipLevels.indexOf(O)<0&&this._mipLevels.push(O)},E.setPixels=function(I,O,z,F){var B=this.gl;this.bind(),Array.isArray(O)?(F=z,z=0|O[1],O=0|O[0]):(O=O||0,z=z||0),F=F||0;var N=y(I)?I:I.raw;if(N)this._mipLevels.indexOf(F)<0?(B.texImage2D(B.TEXTURE_2D,0,this.format,this.format,this.type,N),this._mipLevels.push(F)):B.texSubImage2D(B.TEXTURE_2D,F,O,z,this.format,this.type,N);else{if(!(I.shape&&I.stride&&I.data))throw new Error("gl-texture2d: Unsupported data type");if(I.shape.length<2||O+I.shape[1]>this._shape[1]>>>F||z+I.shape[0]>this._shape[0]>>>F||O<0||z<0)throw new Error("gl-texture2d: Texture dimensions are out of bounds");(function(W,j,$,U,G,q,H,ne){var te=ne.dtype,Z=ne.shape.slice();if(Z.length<2||Z.length>3)throw new Error("gl-texture2d: Invalid ndarray, must be 2d or 3d");var X=0,Q=0,re=x(Z,ne.stride.slice());if(te==="float32"?X=W.FLOAT:te==="float64"?(X=W.FLOAT,re=!1,te="float32"):te==="uint8"?X=W.UNSIGNED_BYTE:(X=W.UNSIGNED_BYTE,re=!1,te="uint8"),Z.length===2)Q=W.LUMINANCE,Z=[Z[0],Z[1],1],ne=u(ne.data,Z,[ne.stride[0],ne.stride[1],1],ne.offset);else{if(Z.length!==3)throw new Error("gl-texture2d: Invalid shape for texture");if(Z[2]===1)Q=W.ALPHA;else if(Z[2]===2)Q=W.LUMINANCE_ALPHA;else if(Z[2]===3)Q=W.RGB;else{if(Z[2]!==4)throw new Error("gl-texture2d: Invalid shape for pixel coords");Q=W.RGBA}Z[2]}if(Q!==W.LUMINANCE&&Q!==W.ALPHA||G!==W.LUMINANCE&&G!==W.ALPHA||(Q=G),Q!==G)throw new Error("gl-texture2d: Incompatible texture format for setPixels");var ie=ne.size,oe=H.indexOf(U)<0;if(oe&&H.push(U),X===q&&re)ne.offset===0&&ne.data.length===ie?oe?W.texImage2D(W.TEXTURE_2D,U,G,Z[0],Z[1],0,G,q,ne.data):W.texSubImage2D(W.TEXTURE_2D,U,j,$,Z[0],Z[1],G,q,ne.data):oe?W.texImage2D(W.TEXTURE_2D,U,G,Z[0],Z[1],0,G,q,ne.data.subarray(ne.offset,ne.offset+ie)):W.texSubImage2D(W.TEXTURE_2D,U,j,$,Z[0],Z[1],G,q,ne.data.subarray(ne.offset,ne.offset+ie));else{var ue;ue=q===W.FLOAT?s.mallocFloat32(ie):s.mallocUint8(ie);var ce=u(ue,Z,[Z[2],Z[2]*Z[0],1]);X===W.FLOAT&&q===W.UNSIGNED_BYTE?C(ce,ne):o.assign(ce,ne),oe?W.texImage2D(W.TEXTURE_2D,U,G,Z[0],Z[1],0,G,q,ue.subarray(0,ie)):W.texSubImage2D(W.TEXTURE_2D,U,j,$,Z[0],Z[1],G,q,ue.subarray(0,ie)),q===W.FLOAT?s.freeFloat32(ue):s.freeUint8(ue)}})(B,O,z,F,this.format,this.type,this._mipLevels,I)}}},3056:function(f){f.exports=function(l,a,u){a?a.bind():l.bindBuffer(l.ELEMENT_ARRAY_BUFFER,null);var o=0|l.getParameter(l.MAX_VERTEX_ATTRIBS);if(u){if(u.length>o)throw new Error("gl-vao: Too many vertex attributes");for(var s=0;s1?0:Math.acos(y)};var u=a(5415),o=a(899),s=a(9305)},8827:function(f){f.exports=function(l,a){return l[0]=Math.ceil(a[0]),l[1]=Math.ceil(a[1]),l[2]=Math.ceil(a[2]),l}},7622:function(f){f.exports=function(l){var a=new Float32Array(3);return a[0]=l[0],a[1]=l[1],a[2]=l[2],a}},8782:function(f){f.exports=function(l,a){return l[0]=a[0],l[1]=a[1],l[2]=a[2],l}},8501:function(f){f.exports=function(){var l=new Float32Array(3);return l[0]=0,l[1]=0,l[2]=0,l}},903:function(f){f.exports=function(l,a,u){var o=a[0],s=a[1],h=a[2],c=u[0],m=u[1],w=u[2];return l[0]=s*w-h*m,l[1]=h*c-o*w,l[2]=o*m-s*c,l}},5981:function(f,l,a){f.exports=a(8288)},8288:function(f){f.exports=function(l,a){var u=a[0]-l[0],o=a[1]-l[1],s=a[2]-l[2];return Math.sqrt(u*u+o*o+s*s)}},8629:function(f,l,a){f.exports=a(7979)},7979:function(f){f.exports=function(l,a,u){return l[0]=a[0]/u[0],l[1]=a[1]/u[1],l[2]=a[2]/u[2],l}},9305:function(f){f.exports=function(l,a){return l[0]*a[0]+l[1]*a[1]+l[2]*a[2]}},154:function(f){f.exports=1e-6},4932:function(f,l,a){f.exports=function(o,s){var h=o[0],c=o[1],m=o[2],w=s[0],y=s[1],C=s[2];return Math.abs(h-w)<=u*Math.max(1,Math.abs(h),Math.abs(w))&&Math.abs(c-y)<=u*Math.max(1,Math.abs(c),Math.abs(y))&&Math.abs(m-C)<=u*Math.max(1,Math.abs(m),Math.abs(C))};var u=a(154)},5777:function(f){f.exports=function(l,a){return l[0]===a[0]&&l[1]===a[1]&&l[2]===a[2]}},3306:function(f){f.exports=function(l,a){return l[0]=Math.floor(a[0]),l[1]=Math.floor(a[1]),l[2]=Math.floor(a[2]),l}},7447:function(f,l,a){f.exports=function(o,s,h,c,m,w){var y,C;for(s||(s=3),h||(h=0),C=c?Math.min(c*s+h,o.length):o.length,y=h;y0&&(h=1/Math.sqrt(h),l[0]=a[0]*h,l[1]=a[1]*h,l[2]=a[2]*h),l}},6660:function(f){f.exports=function(l,a){a=a||1;var u=2*Math.random()*Math.PI,o=2*Math.random()-1,s=Math.sqrt(1-o*o)*a;return l[0]=Math.cos(u)*s,l[1]=Math.sin(u)*s,l[2]=o*a,l}},392:function(f){f.exports=function(l,a,u,o){var s=u[1],h=u[2],c=a[1]-s,m=a[2]-h,w=Math.sin(o),y=Math.cos(o);return l[0]=a[0],l[1]=s+c*y-m*w,l[2]=h+c*w+m*y,l}},3222:function(f){f.exports=function(l,a,u,o){var s=u[0],h=u[2],c=a[0]-s,m=a[2]-h,w=Math.sin(o),y=Math.cos(o);return l[0]=s+m*w+c*y,l[1]=a[1],l[2]=h+m*y-c*w,l}},3388:function(f){f.exports=function(l,a,u,o){var s=u[0],h=u[1],c=a[0]-s,m=a[1]-h,w=Math.sin(o),y=Math.cos(o);return l[0]=s+c*y-m*w,l[1]=h+c*w+m*y,l[2]=a[2],l}},1624:function(f){f.exports=function(l,a){return l[0]=Math.round(a[0]),l[1]=Math.round(a[1]),l[2]=Math.round(a[2]),l}},5685:function(f){f.exports=function(l,a,u){return l[0]=a[0]*u,l[1]=a[1]*u,l[2]=a[2]*u,l}},6722:function(f){f.exports=function(l,a,u,o){return l[0]=a[0]+u[0]*o,l[1]=a[1]+u[1]*o,l[2]=a[2]+u[2]*o,l}},831:function(f){f.exports=function(l,a,u,o){return l[0]=a,l[1]=u,l[2]=o,l}},5294:function(f,l,a){f.exports=a(6403)},3303:function(f,l,a){f.exports=a(4337)},6403:function(f){f.exports=function(l,a){var u=a[0]-l[0],o=a[1]-l[1],s=a[2]-l[2];return u*u+o*o+s*s}},4337:function(f){f.exports=function(l){var a=l[0],u=l[1],o=l[2];return a*a+u*u+o*o}},8921:function(f,l,a){f.exports=a(911)},911:function(f){f.exports=function(l,a,u){return l[0]=a[0]-u[0],l[1]=a[1]-u[1],l[2]=a[2]-u[2],l}},9908:function(f){f.exports=function(l,a,u){var o=a[0],s=a[1],h=a[2];return l[0]=o*u[0]+s*u[3]+h*u[6],l[1]=o*u[1]+s*u[4]+h*u[7],l[2]=o*u[2]+s*u[5]+h*u[8],l}},3255:function(f){f.exports=function(l,a,u){var o=a[0],s=a[1],h=a[2],c=u[3]*o+u[7]*s+u[11]*h+u[15];return c=c||1,l[0]=(u[0]*o+u[4]*s+u[8]*h+u[12])/c,l[1]=(u[1]*o+u[5]*s+u[9]*h+u[13])/c,l[2]=(u[2]*o+u[6]*s+u[10]*h+u[14])/c,l}},6568:function(f){f.exports=function(l,a,u){var o=a[0],s=a[1],h=a[2],c=u[0],m=u[1],w=u[2],y=u[3],C=y*o+m*h-w*s,_=y*s+w*o-c*h,k=y*h+c*s-m*o,E=-c*o-m*s-w*h;return l[0]=C*y+E*-c+_*-w-k*-m,l[1]=_*y+E*-m+k*-c-C*-w,l[2]=k*y+E*-w+C*-m-_*-c,l}},3433:function(f){f.exports=function(l,a,u){return l[0]=a[0]+u[0],l[1]=a[1]+u[1],l[2]=a[2]+u[2],l[3]=a[3]+u[3],l}},1413:function(f){f.exports=function(l){var a=new Float32Array(4);return a[0]=l[0],a[1]=l[1],a[2]=l[2],a[3]=l[3],a}},3470:function(f){f.exports=function(l,a){return l[0]=a[0],l[1]=a[1],l[2]=a[2],l[3]=a[3],l}},5313:function(f){f.exports=function(){var l=new Float32Array(4);return l[0]=0,l[1]=0,l[2]=0,l[3]=0,l}},5446:function(f){f.exports=function(l,a){var u=a[0]-l[0],o=a[1]-l[1],s=a[2]-l[2],h=a[3]-l[3];return Math.sqrt(u*u+o*o+s*s+h*h)}},205:function(f){f.exports=function(l,a,u){return l[0]=a[0]/u[0],l[1]=a[1]/u[1],l[2]=a[2]/u[2],l[3]=a[3]/u[3],l}},4242:function(f){f.exports=function(l,a){return l[0]*a[0]+l[1]*a[1]+l[2]*a[2]+l[3]*a[3]}},5680:function(f){f.exports=function(l,a,u,o){var s=new Float32Array(4);return s[0]=l,s[1]=a,s[2]=u,s[3]=o,s}},4020:function(f,l,a){f.exports={create:a(5313),clone:a(1413),fromValues:a(5680),copy:a(3470),set:a(6453),add:a(3433),subtract:a(2705),multiply:a(746),divide:a(205),min:a(2170),max:a(3030),scale:a(5510),scaleAndAdd:a(4224),distance:a(5446),squaredDistance:a(1542),length:a(8177),squaredLength:a(9037),negate:a(6459),inverse:a(8057),normalize:a(381),dot:a(4242),lerp:a(8746),random:a(3770),transformMat4:a(6342),transformQuat:a(5022)}},8057:function(f){f.exports=function(l,a){return l[0]=1/a[0],l[1]=1/a[1],l[2]=1/a[2],l[3]=1/a[3],l}},8177:function(f){f.exports=function(l){var a=l[0],u=l[1],o=l[2],s=l[3];return Math.sqrt(a*a+u*u+o*o+s*s)}},8746:function(f){f.exports=function(l,a,u,o){var s=a[0],h=a[1],c=a[2],m=a[3];return l[0]=s+o*(u[0]-s),l[1]=h+o*(u[1]-h),l[2]=c+o*(u[2]-c),l[3]=m+o*(u[3]-m),l}},3030:function(f){f.exports=function(l,a,u){return l[0]=Math.max(a[0],u[0]),l[1]=Math.max(a[1],u[1]),l[2]=Math.max(a[2],u[2]),l[3]=Math.max(a[3],u[3]),l}},2170:function(f){f.exports=function(l,a,u){return l[0]=Math.min(a[0],u[0]),l[1]=Math.min(a[1],u[1]),l[2]=Math.min(a[2],u[2]),l[3]=Math.min(a[3],u[3]),l}},746:function(f){f.exports=function(l,a,u){return l[0]=a[0]*u[0],l[1]=a[1]*u[1],l[2]=a[2]*u[2],l[3]=a[3]*u[3],l}},6459:function(f){f.exports=function(l,a){return l[0]=-a[0],l[1]=-a[1],l[2]=-a[2],l[3]=-a[3],l}},381:function(f){f.exports=function(l,a){var u=a[0],o=a[1],s=a[2],h=a[3],c=u*u+o*o+s*s+h*h;return c>0&&(c=1/Math.sqrt(c),l[0]=u*c,l[1]=o*c,l[2]=s*c,l[3]=h*c),l}},3770:function(f,l,a){var u=a(381),o=a(5510);f.exports=function(s,h){return h=h||1,s[0]=Math.random(),s[1]=Math.random(),s[2]=Math.random(),s[3]=Math.random(),u(s,s),o(s,s,h),s}},5510:function(f){f.exports=function(l,a,u){return l[0]=a[0]*u,l[1]=a[1]*u,l[2]=a[2]*u,l[3]=a[3]*u,l}},4224:function(f){f.exports=function(l,a,u,o){return l[0]=a[0]+u[0]*o,l[1]=a[1]+u[1]*o,l[2]=a[2]+u[2]*o,l[3]=a[3]+u[3]*o,l}},6453:function(f){f.exports=function(l,a,u,o,s){return l[0]=a,l[1]=u,l[2]=o,l[3]=s,l}},1542:function(f){f.exports=function(l,a){var u=a[0]-l[0],o=a[1]-l[1],s=a[2]-l[2],h=a[3]-l[3];return u*u+o*o+s*s+h*h}},9037:function(f){f.exports=function(l){var a=l[0],u=l[1],o=l[2],s=l[3];return a*a+u*u+o*o+s*s}},2705:function(f){f.exports=function(l,a,u){return l[0]=a[0]-u[0],l[1]=a[1]-u[1],l[2]=a[2]-u[2],l[3]=a[3]-u[3],l}},6342:function(f){f.exports=function(l,a,u){var o=a[0],s=a[1],h=a[2],c=a[3];return l[0]=u[0]*o+u[4]*s+u[8]*h+u[12]*c,l[1]=u[1]*o+u[5]*s+u[9]*h+u[13]*c,l[2]=u[2]*o+u[6]*s+u[10]*h+u[14]*c,l[3]=u[3]*o+u[7]*s+u[11]*h+u[15]*c,l}},5022:function(f){f.exports=function(l,a,u){var o=a[0],s=a[1],h=a[2],c=u[0],m=u[1],w=u[2],y=u[3],C=y*o+m*h-w*s,_=y*s+w*o-c*h,k=y*h+c*s-m*o,E=-c*o-m*s-w*h;return l[0]=C*y+E*-c+_*-w-k*-m,l[1]=_*y+E*-m+k*-c-C*-w,l[2]=k*y+E*-w+C*-m-_*-c,l[3]=a[3],l}},9365:function(f,l,a){var u=a(8096),o=a(7896);f.exports=function(s){for(var h=Array.isArray(s)?s:u(s),c=0;c24?(isFinite(ve)&&(clearTimeout(vr),vr=setTimeout(bn,ve)),or=0):(or=1,_r(bn))}function Rn(){for(var se=Date.now(),ve=Sr;ve;)se>=ve.t&&ve.c(se-ve.t)&&(ve.c=null),ve=ve.n;return se}function Ln(){for(var se,ve=Sr,Ie=1/0;ve;)ve.c?(ve.t1&&(ve=se[We[Xe-2]],Ie=se[We[Xe-1]],Fe=se[tt],(Ie[0]-ve[0])*(Fe[1]-ve[1])-(Ie[1]-ve[1])*(Fe[0]-ve[0])<=0);)--Xe;We[Xe++]=tt}return We.slice(0,Xe)}function tr(se,ve){return se[0]-ve[0]||se[1]-ve[1]}i.timer=function(){Kt.apply(this,arguments)},i.timer.flush=function(){Rn(),Ln()},i.round=function(se,ve){return ve?Math.round(se*(ve=Math.pow(10,ve)))/ve:Math.round(se)},i.geom={},i.geom.hull=function(se){var ve=Un,Ie=Kn;if(arguments.length)return Fe(se);function Fe(Ue){if(Ue.length<3)return[];var We,Xe=qn(ve),tt=qn(Ie),lt=Ue.length,mt=[],zt=[];for(We=0;We=0;--We)tn.push(Ue[mt[Ut[We]][2]]);for(We=+en;WeFt)tt=tt.L;else{if(!((Ue=We-Qn(tt,Xe))>Ft)){Fe>-Ft?(ve=tt.P,Ie=tt):Ue>-Ft?(ve=tt,Ie=tt.N):ve=Ie=tt;break}if(!tt.R){ve=tt;break}tt=tt.R}var lt=yn(se);if(zn.insert(ve,lt),ve||Ie){if(ve===Ie)return br(ve),Ie=yn(ve.site),zn.insert(lt,Ie),lt.edge=Ie.edge=zr(ve.site,lt.site),dr(ve),void dr(Ie);if(Ie){br(ve),br(Ie);var mt=ve.site,zt=mt.x,Ut=mt.y,Ht=se.x-zt,en=se.y-Ut,vn=Ie.site,tn=vn.x-zt,ln=vn.y-Ut,an=2*(Ht*ln-en*tn),Cn=Ht*Ht+en*en,_n=tn*tn+ln*ln,on={x:(ln*Cn-en*_n)/an+zt,y:(Ht*_n-tn*Cn)/an+Ut};gr(Ie.edge,mt,vn,on),lt.edge=zr(mt,se,null,on),Ie.edge=zr(se,vn,null,on),dr(ve),dr(Ie)}else lt.edge=zr(ve.site,lt.site)}}function nr(se,ve){var Ie=se.site,Fe=Ie.x,Ue=Ie.y,We=Ue-ve;if(!We)return Fe;var Xe=se.P;if(!Xe)return-1/0;var tt=(Ie=Xe.site).x,lt=Ie.y,mt=lt-ve;if(!mt)return tt;var zt=tt-Fe,Ut=1/We-1/mt,Ht=zt/mt;return Ut?(-Ht+Math.sqrt(Ht*Ht-2*Ut*(zt*zt/(-2*mt)-lt+mt/2+Ue-We/2)))/Ut+Fe:(Fe+tt)/2}function Qn(se,ve){var Ie=se.N;if(Ie)return nr(Ie,ve);var Fe=se.site;return Fe.y===ve?Fe.x:1/0}function hr(se){this.site=se,this.edges=[]}function cr(se,ve){return ve.angle-se.angle}function pr(){ji(this),this.x=this.y=this.arc=this.site=this.cy=null}function dr(se){var ve=se.P,Ie=se.N;if(ve&&Ie){var Fe=ve.site,Ue=se.site,We=Ie.site;if(Fe!==We){var Xe=Ue.x,tt=Ue.y,lt=Fe.x-Xe,mt=Fe.y-tt,zt=We.x-Xe,Ut=2*(lt*(ln=We.y-tt)-mt*zt);if(!(Ut>=-1e-12)){var Ht=lt*lt+mt*mt,en=zt*zt+ln*ln,vn=(ln*Ht-mt*en)/Ut,tn=(lt*en-zt*Ht)/Ut,ln=tn+tt,an=wn.pop()||new pr;an.arc=se,an.site=Ue,an.x=vn+Xe,an.y=ln+Math.sqrt(vn*vn+tn*tn),an.cy=ln,se.circle=an;for(var Cn=null,_n=En._;_n;)if(an.y<_n.y||an.y===_n.y&&an.x<=_n.x){if(!_n.L){Cn=_n.P;break}_n=_n.L}else{if(!_n.R){Cn=_n;break}_n=_n.R}En.insert(Cn,an),Cn||(On=an)}}}}function br(se){var ve=se.circle;ve&&(ve.P||(On=ve.N),En.remove(ve),wn.push(ve),ji(ve),se.circle=null)}function Rr(se,ve){var Ie=se.b;if(Ie)return!0;var Fe,Ue,We=se.a,Xe=ve[0][0],tt=ve[1][0],lt=ve[0][1],mt=ve[1][1],zt=se.l,Ut=se.r,Ht=zt.x,en=zt.y,vn=Ut.x,tn=Ut.y,ln=(Ht+vn)/2,an=(en+tn)/2;if(tn===en){if(ln=tt)return;if(Ht>vn){if(We){if(We.y>=mt)return}else We={x:ln,y:lt};Ie={x:ln,y:mt}}else{if(We){if(We.y1)if(Ht>vn){if(We){if(We.y>=mt)return}else We={x:(lt-Ue)/Fe,y:lt};Ie={x:(mt-Ue)/Fe,y:mt}}else{if(We){if(We.y=tt)return}else We={x:Xe,y:Fe*Xe+Ue};Ie={x:tt,y:Fe*tt+Ue}}else{if(We){if(We.x0)){if(an/=ar,ar<0){if(an0){if(an>ir)return;an>Hn&&(Hn=an)}if(an=Ut-on,ar||!(an<0)){if(an/=ar,ar<0){if(an>ir)return;an>Hn&&(Hn=an)}else if(ar>0){if(an0)){if(an/=Mr,Mr<0){if(an0){if(an>ir)return;an>Hn&&(Hn=an)}if(an=Ht-Fn,Mr||!(an<0)){if(an/=Mr,Mr<0){if(an>ir)return;an>Hn&&(Hn=an)}else if(Mr>0){if(an0&&(ln.a={x:on+Hn*ar,y:Fn+Hn*Mr}),ir<1&&(ln.b={x:on+ir*ar,y:Fn+ir*Mr}),ln}}}}}),tn=en.length;tn--;)(!Rr(lt=en[tn],tt)||!vn(lt)||E(lt.a.x-lt.b.x)Ft||E(Ut-mt)>Ft)&&(vn.splice(en,0,new Fr((ar=Ht.site,Mr=an,Er=E(zt-Cn)Ft?{x:Cn,y:E(lt-Cn)Ft?{x:E(mt-Fn)Ft?{x:_n,y:E(lt-_n)Ft?{x:E(mt-on)=zt&&an.x<=Ht&&an.y>=Ut&&an.y<=en?[[zt,en],[Ht,en],[Ht,Ut],[zt,Ut]]:[]).point=lt[tn]}),mt}function tt(lt){return lt.map(function(mt,zt){return{x:Math.round(Fe(mt,zt)/Ft)*Ft,y:Math.round(Ue(mt,zt)/Ft)*Ft,i:zt}})}return Xe.links=function(lt){return La(tt(lt)).edges.filter(function(mt){return mt.l&&mt.r}).map(function(mt){return{source:lt[mt.l.i],target:lt[mt.r.i]}})},Xe.triangles=function(lt){var mt=[];return La(tt(lt)).cells.forEach(function(zt,Ut){for(var Ht,en,vn,tn,ln=zt.site,an=zt.edges.sort(cr),Cn=-1,_n=an.length,on=an[_n-1].edge,Fn=on.l===ln?on.r:on.l;++Cn<_n;)Ht=Fn,Fn=(on=an[Cn].edge).l===ln?on.r:on.l,UtWe||Ht>Xe||en=Hn)<<1|ve>=Fn,ar=ir+4;irWe&&(Ue=ve.slice(We,Ue),tt[Xe]?tt[Xe]+=Ue:tt[++Xe]=Ue),(Ie=Ie[0])===(Fe=Fe[0])?tt[Xe]?tt[Xe]+=Fe:tt[++Xe]=Fe:(tt[++Xe]=null,lt.push({i:Xe,x:is(Ie,Fe)})),We=hc.lastIndex;return Wean&&(an=zt.x),zt.y>Cn&&(Cn=zt.y),Ut.push(zt.x),Ht.push(zt.y);else for(en=0;enan&&(an=Fn),Hn>Cn&&(Cn=Hn),Ut.push(Fn),Ht.push(Hn)}var ir=an-tn,ar=Cn-ln;function Mr(kr,jr,fi,di,wr,Ur,oi,ai){if(!isNaN(fi)&&!isNaN(di))if(kr.leaf){var Ii=kr.x,vi=kr.y;if(Ii!=null)if(E(Ii-fi)+E(vi-di)<.01)Er(kr,jr,fi,di,wr,Ur,oi,ai);else{var Ni=kr.point;kr.x=kr.y=kr.point=null,Er(kr,Ni,Ii,vi,wr,Ur,oi,ai),Er(kr,jr,fi,di,wr,Ur,oi,ai)}else kr.x=fi,kr.y=di,kr.point=jr}else Er(kr,jr,fi,di,wr,Ur,oi,ai)}function Er(kr,jr,fi,di,wr,Ur,oi,ai){var Ii=.5*(wr+oi),vi=.5*(Ur+ai),Ni=fi>=Ii,ta=di>=vi,pa=ta<<1|Ni;kr.leaf=!1,Ni?wr=Ii:oi=Ii,ta?Ur=vi:ai=vi,Mr(kr=kr.nodes[pa]||(kr.nodes[pa]={leaf:!0,nodes:[],point:null,x:null,y:null}),jr,fi,di,wr,Ur,oi,ai)}ir>ar?Cn=ln+ir:an=tn+ar;var xr={leaf:!0,nodes:[],point:null,x:null,y:null,add:function(kr){Mr(xr,kr,+_n(kr,++en),+on(kr,en),tn,ln,an,Cn)},visit:function(kr){Cu(kr,xr,tn,ln,an,Cn)},find:function(kr){return gf(xr,kr[0],kr[1],tn,ln,an,Cn)}};if(en=-1,ve==null){for(;++en=0&&!(Ie=i.interpolators[Fe](se,ve)););return Ie}function as(se,ve){var Ie,Fe=[],Ue=[],We=se.length,Xe=ve.length,tt=Math.min(se.length,ve.length);for(Ie=0;Ie=1?1:se(ve)}}function Es(se){return function(ve){return 1-se(1-ve)}}function js(se){return function(ve){return .5*(ve<.5?se(2*ve):2-se(2-2*ve))}}function fc(se){return se*se}function vf(se){return se*se*se}function tl(se){if(se<=0)return 0;if(se>=1)return 1;var ve=se*se,Ie=ve*se;return 4*(se<.5?Ie:3*(se-ve)+Ie-.75)}function yf(se){return 1-Math.cos(se*Vt)}function bf(se){return Math.pow(2,10*(se-1))}function id(se){return 1-Math.sqrt(1-se*se)}function Sh(se){return se<.36363636363636365?7.5625*se*se:se<.7272727272727273?7.5625*(se-=.5454545454545454)*se+.75:se<.9090909090909091?7.5625*(se-=.8181818181818182)*se+.9375:7.5625*(se-=.9545454545454546)*se+.984375}function xf(se,ve){return ve-=se,function(Ie){return Math.round(se+ve*Ie)}}function Ch(se){var ve,Ie,Fe,Ue=[se.a,se.b],We=[se.c,se.d],Xe=rl(Ue),tt=nl(Ue,We),lt=rl(((ve=We)[0]+=(Fe=-tt)*(Ie=Ue)[0],ve[1]+=Fe*Ie[1],ve))||0;Ue[0]*We[1]=0?se.slice(0,ve):se,Fe=ve>=0?se.slice(ve+1):"in";return Ie=Ui.get(Ie)||Al,ps((Fe=Sl.get(Fe)||W)(Ie.apply(null,M.call(arguments,1))))},i.interpolateHcl=function(se,ve){se=i.hcl(se),ve=i.hcl(ve);var Ie=se.h,Fe=se.c,Ue=se.l,We=ve.h-Ie,Xe=ve.c-Fe,tt=ve.l-Ue;return isNaN(Xe)&&(Xe=0,Fe=isNaN(Fe)?ve.c:Fe),isNaN(We)?(We=0,Ie=isNaN(Ie)?ve.h:Ie):We>180?We-=360:We<-180&&(We+=360),function(lt){return Pt(Ie+We*lt,Fe+Xe*lt,Ue+tt*lt)+""}},i.interpolateHsl=function(se,ve){se=i.hsl(se),ve=i.hsl(ve);var Ie=se.h,Fe=se.s,Ue=se.l,We=ve.h-Ie,Xe=ve.s-Fe,tt=ve.l-Ue;return isNaN(Xe)&&(Xe=0,Fe=isNaN(Fe)?ve.s:Fe),isNaN(We)?(We=0,Ie=isNaN(Ie)?ve.h:Ie):We>180?We-=360:We<-180&&(We+=360),function(lt){return It(Ie+We*lt,Fe+Xe*lt,Ue+tt*lt)+""}},i.interpolateLab=function(se,ve){se=i.lab(se),ve=i.lab(ve);var Ie=se.l,Fe=se.a,Ue=se.b,We=ve.l-Ie,Xe=ve.a-Fe,tt=ve.b-Ue;return function(lt){return Xt(Ie+We*lt,Fe+Xe*lt,Ue+tt*lt)+""}},i.interpolateRound=xf,i.transform=function(se){var ve=f.createElementNS(i.ns.prefix.svg,"g");return(i.transform=function(Ie){if(Ie!=null){ve.setAttribute("transform",Ie);var Fe=ve.transform.baseVal.consolidate()}return new Ch(Fe?Fe.matrix:Lu)})(se)},Ch.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var Lu={a:1,b:0,c:0,d:1,e:0,f:0};function il(se){return se.length?se.pop()+",":""}function Eh(se,ve){var Ie=[],Fe=[];return se=i.transform(se),ve=i.transform(ve),function(Ue,We,Xe,tt){if(Ue[0]!==We[0]||Ue[1]!==We[1]){var lt=Xe.push("translate(",null,",",null,")");tt.push({i:lt-4,x:is(Ue[0],We[0])},{i:lt-2,x:is(Ue[1],We[1])})}else(We[0]||We[1])&&Xe.push("translate("+We+")")}(se.translate,ve.translate,Ie,Fe),function(Ue,We,Xe,tt){Ue!==We?(Ue-We>180?We+=360:We-Ue>180&&(Ue+=360),tt.push({i:Xe.push(il(Xe)+"rotate(",null,")")-2,x:is(Ue,We)})):We&&Xe.push(il(Xe)+"rotate("+We+")")}(se.rotate,ve.rotate,Ie,Fe),function(Ue,We,Xe,tt){Ue!==We?tt.push({i:Xe.push(il(Xe)+"skewX(",null,")")-2,x:is(Ue,We)}):We&&Xe.push(il(Xe)+"skewX("+We+")")}(se.skew,ve.skew,Ie,Fe),function(Ue,We,Xe,tt){if(Ue[0]!==We[0]||Ue[1]!==We[1]){var lt=Xe.push(il(Xe)+"scale(",null,",",null,")");tt.push({i:lt-4,x:is(Ue[0],We[0])},{i:lt-2,x:is(Ue[1],We[1])})}else We[0]===1&&We[1]===1||Xe.push(il(Xe)+"scale("+We+")")}(se.scale,ve.scale,Ie,Fe),se=ve=null,function(Ue){for(var We,Xe=-1,tt=Fe.length;++Xe0?Ie=on:(se.c=null,se.t=NaN,se=null,tt.end({type:"end",alpha:Ie=0})):on>0&&(tt.start({type:"start",alpha:Ie=on}),se=Kt(Xe.tick)),Xe):Ie},Xe.start=function(){var on,Fn,Hn,ir=ln.length,ar=an.length,Mr=lt[0],Er=lt[1];for(on=0;on=0;)Ie.push(Ue[Fe])}function ms(se,ve){for(var Ie=[se],Fe=[];(se=Ie.pop())!=null;)if(Fe.push(se),(We=se.children)&&(Ue=We.length))for(var Ue,We,Xe=-1;++Xe=0;)Xe.push(zt=mt[lt]),zt.parent=We,zt.depth=We.depth+1;Ie&&(We.value=0),We.children=mt}else Ie&&(We.value=+Ie.call(Fe,We,We.depth)||0),delete We.children;return ms(Ue,function(Ut){var Ht,en;se&&(Ht=Ut.children)&&Ht.sort(se),Ie&&(en=Ut.parent)&&(en.value+=Ut.value)}),tt}return Fe.sort=function(Ue){return arguments.length?(se=Ue,Fe):se},Fe.children=function(Ue){return arguments.length?(ve=Ue,Fe):ve},Fe.value=function(Ue){return arguments.length?(Ie=Ue,Fe):Ie},Fe.revalue=function(Ue){return Ie&&(Ru(Ue,function(We){We.children&&(We.value=0)}),ms(Ue,function(We){var Xe;We.children||(We.value=+Ie.call(Fe,We,We.depth)||0),(Xe=We.parent)&&(Xe.value+=We.value)})),Ue},Fe},i.layout.partition=function(){var se=i.layout.hierarchy(),ve=[1,1];function Ie(We,Xe,tt,lt){var mt=We.children;if(We.x=Xe,We.y=We.depth*lt,We.dx=tt,We.dy=lt,mt&&(zt=mt.length)){var zt,Ut,Ht,en=-1;for(tt=We.value?tt/We.value:0;++entt&&(tt=Fe),Xe.push(Fe)}for(Ie=0;IeUe&&(Fe=Ie,Ue=ve);return Fe}function Ll(se){return se.reduce(Hc,0)}function Hc(se,ve){return se+ve[1]}function xc(se,ve){return Ph(se,Math.ceil(Math.log(ve.length)/Math.LN2+1))}function Ph(se,ve){for(var Ie=-1,Fe=+se[0],Ue=(se[1]-Fe)/ve,We=[];++Ie<=ve;)We[Ie]=Ue*Ie+Fe;return We}function _c(se){return[i.min(se),i.max(se)]}function Du(se,ve){return se.value-ve.value}function ru(se,ve){var Ie=se._pack_next;se._pack_next=ve,ve._pack_prev=se,ve._pack_next=Ie,Ie._pack_prev=ve}function iu(se,ve){se._pack_next=ve,ve._pack_prev=se}function Ki(se,ve){var Ie=ve.x-se.x,Fe=ve.y-se.y,Ue=se.r+ve.r;return .999*Ue*Ue>Ie*Ie+Fe*Fe}function Il(se){if((ve=se.children)&&(lt=ve.length)){var ve,Ie,Fe,Ue,We,Xe,tt,lt,mt=1/0,zt=-1/0,Ut=1/0,Ht=-1/0;if(ve.forEach(Rl),(Ie=ve[0]).x=-Ie.r,Ie.y=0,_n(Ie),lt>1&&((Fe=ve[1]).x=Fe.r,Fe.y=0,_n(Fe),lt>2))for(Bi(Ie,Fe,Ue=ve[2]),_n(Ue),ru(Ie,Ue),Ie._pack_prev=Ue,ru(Ue,Fe),Fe=Ie._pack_next,We=3;We0)for(Xe=-1;++Xe=Ut[0]&<<=Ut[1]&&((tt=mt[i.bisect(Ht,lt,1,vn)-1]).y+=tn,tt.push(We[Xe]));return mt}return Ue.value=function(We){return arguments.length?(ve=We,Ue):ve},Ue.range=function(We){return arguments.length?(Ie=qn(We),Ue):Ie},Ue.bins=function(We){return arguments.length?(Fe=typeof We=="number"?function(Xe){return Ph(Xe,We)}:qn(We),Ue):Fe},Ue.frequency=function(We){return arguments.length?(se=!!We,Ue):se},Ue},i.layout.pack=function(){var se,ve=i.layout.hierarchy().sort(Du),Ie=0,Fe=[1,1];function Ue(We,Xe){var tt=ve.call(this,We,Xe),lt=tt[0],mt=Fe[0],zt=Fe[1],Ut=se==null?Math.sqrt:typeof se=="function"?se:function(){return se};if(lt.x=lt.y=0,ms(lt,function(en){en.r=+Ut(en.value)}),ms(lt,Il),Ie){var Ht=Ie*(se?1:Math.max(2*lt.r/mt,2*lt.r/zt))/2;ms(lt,function(en){en.r+=Ht}),ms(lt,Il),ms(lt,function(en){en.r-=Ht})}return Oi(lt,mt/2,zt/2,se?1:1/Math.max(2*lt.r/mt,2*lt.r/zt)),tt}return Ue.size=function(We){return arguments.length?(Fe=We,Ue):Fe},Ue.radius=function(We){return arguments.length?(se=We==null||typeof We=="function"?We:+We,Ue):se},Ue.padding=function(We){return arguments.length?(Ie=+We,Ue):Ie},eu(Ue,ve)},i.layout.tree=function(){var se=i.layout.hierarchy().sort(null).value(null),ve=ol,Ie=[1,1],Fe=null;function Ue(lt,mt){var zt=se.call(this,lt,mt),Ut=zt[0],Ht=function(_n){for(var on,Fn={A:null,children:[_n]},Hn=[Fn];(on=Hn.pop())!=null;)for(var ir,ar=on.children,Mr=0,Er=ar.length;Mrvn.x&&(vn=_n),_n.depth>tn.depth&&(tn=_n)});var ln=ve(en,vn)/2-en.x,an=Ie[0]/(vn.x+ve(vn,en)/2+ln),Cn=Ie[1]/(tn.depth||1);Ru(Ut,function(_n){_n.x=(_n.x+ln)*an,_n.y=_n.depth*Cn})}return zt}function We(lt){var mt=lt.children,zt=lt.parent.children,Ut=lt.i?zt[lt.i-1]:null;if(mt.length){(function(en){for(var vn,tn=0,ln=0,an=en.children,Cn=an.length;--Cn>=0;)(vn=an[Cn]).z+=tn,vn.m+=tn,tn+=vn.s+(ln+=vn.c)})(lt);var Ht=(mt[0].z+mt[mt.length-1].z)/2;Ut?(lt.z=Ut.z+ve(lt._,Ut._),lt.m=lt.z-Ht):lt.z=Ht}else Ut&&(lt.z=Ut.z+ve(lt._,Ut._));lt.parent.A=function(en,vn,tn){if(vn){for(var ln,an=en,Cn=en,_n=vn,on=an.parent.children[0],Fn=an.m,Hn=Cn.m,ir=_n.m,ar=on.m;_n=Gc(_n),an=Us(an),_n&&an;)on=Us(on),(Cn=Gc(Cn)).a=en,(ln=_n.z+ir-an.z-Fn+ve(_n._,an._))>0&&(Oh(au(_n,en,tn),en,ln),Fn+=ln,Hn+=ln),ir+=_n.m,Fn+=an.m,ar+=on.m,Hn+=Cn.m;_n&&!Gc(Cn)&&(Cn.t=_n,Cn.m+=ir-Hn),an&&!Us(on)&&(on.t=an,on.m+=Fn-ar,tn=en)}return tn}(lt,Ut,lt.parent.A||zt[0])}function Xe(lt){lt._.x=lt.z+lt.parent.m,lt.m+=lt.parent.m}function tt(lt){lt.x*=Ie[0],lt.y=lt.depth*Ie[1]}return Ue.separation=function(lt){return arguments.length?(ve=lt,Ue):ve},Ue.size=function(lt){return arguments.length?(Fe=(Ie=lt)==null?tt:null,Ue):Fe?null:Ie},Ue.nodeSize=function(lt){return arguments.length?(Fe=(Ie=lt)==null?null:tt,Ue):Fe?Ie:null},eu(Ue,se)},i.layout.cluster=function(){var se=i.layout.hierarchy().sort(null).value(null),ve=ol,Ie=[1,1],Fe=!1;function Ue(We,Xe){var tt,lt=se.call(this,We,Xe),mt=lt[0],zt=0;ms(mt,function(tn){var ln=tn.children;ln&&ln.length?(tn.x=function(an){return an.reduce(function(Cn,_n){return Cn+_n.x},0)/an.length}(ln),tn.y=function(an){return 1+i.max(an,function(Cn){return Cn.y})}(ln)):(tn.x=tt?zt+=ve(tn,tt):0,tn.y=0,tt=tn)});var Ut=Dh(mt),Ht=ou(mt),en=Ut.x-ve(Ut,Ht)/2,vn=Ht.x+ve(Ht,Ut)/2;return ms(mt,Fe?function(tn){tn.x=(tn.x-mt.x)*Ie[0],tn.y=(mt.y-tn.y)*Ie[1]}:function(tn){tn.x=(tn.x-en)/(vn-en)*Ie[0],tn.y=(1-(mt.y?tn.y/mt.y:1))*Ie[1]}),lt}return Ue.separation=function(We){return arguments.length?(ve=We,Ue):ve},Ue.size=function(We){return arguments.length?(Fe=(Ie=We)==null,Ue):Fe?null:Ie},Ue.nodeSize=function(We){return arguments.length?(Fe=(Ie=We)!=null,Ue):Fe?Ie:null},eu(Ue,se)},i.layout.treemap=function(){var se,ve=i.layout.hierarchy(),Ie=Math.round,Fe=[1,1],Ue=null,We=sl,Xe=!1,tt="squarify",lt=.5*(1+Math.sqrt(5));function mt(tn,ln){for(var an,Cn,_n=-1,on=tn.length;++_n0;)Fn.push(an=Hn[_n-1]),Fn.area+=an.area,tt!=="squarify"||(Cn=Ht(Fn,ar))<=ir?(Hn.pop(),ir=Cn):(Fn.area-=Fn.pop().area,en(Fn,ar,on,!1),ar=Math.min(on.dx,on.dy),Fn.length=Fn.area=0,ir=1/0);Fn.length&&(en(Fn,ar,on,!0),Fn.length=Fn.area=0),ln.forEach(zt)}}function Ut(tn){var ln=tn.children;if(ln&&ln.length){var an,Cn=We(tn),_n=ln.slice(),on=[];for(mt(_n,Cn.dx*Cn.dy/tn.value),on.area=0;an=_n.pop();)on.push(an),on.area+=an.area,an.z!=null&&(en(on,an.z?Cn.dx:Cn.dy,Cn,!_n.length),on.length=on.area=0);ln.forEach(Ut)}}function Ht(tn,ln){for(var an,Cn=tn.area,_n=0,on=1/0,Fn=-1,Hn=tn.length;++Fn_n&&(_n=an));return ln*=ln,(Cn*=Cn)?Math.max(ln*_n*lt/Cn,Cn/(ln*on*lt)):1/0}function en(tn,ln,an,Cn){var _n,on=-1,Fn=tn.length,Hn=an.x,ir=an.y,ar=ln?Ie(tn.area/ln):0;if(ln==an.dx){for((Cn||ar>an.dy)&&(ar=an.dy);++onan.dx)&&(ar=an.dx);++on1);return se+ve*Fe*Math.sqrt(-2*Math.log(We)/We)}},logNormal:function(){var se=i.random.normal.apply(i,arguments);return function(){return Math.exp(se())}},bates:function(se){var ve=i.random.irwinHall(se);return function(){return ve()/se}},irwinHall:function(se){return function(){for(var ve=0,Ie=0;Ie2?ho:lu,mt=Fe?Jl:Lh;return Ue=lt(se,ve,mt,Ie),We=lt(ve,se,mt,Yo),tt}function tt(lt){return Ue(lt)}return tt.invert=function(lt){return We(lt)},tt.domain=function(lt){return arguments.length?(se=lt.map(Number),Xe()):se},tt.range=function(lt){return arguments.length?(ve=lt,Xe()):ve},tt.rangeRound=function(lt){return tt.range(lt).interpolate(xf)},tt.clamp=function(lt){return arguments.length?(Fe=lt,Xe()):Fe},tt.interpolate=function(lt){return arguments.length?(Ie=lt,Xe()):Ie},tt.ticks=function(lt){return $o(se,lt)},tt.tickFormat=function(lt,mt){return d3_scale_linearTickFormat(se,lt,mt)},tt.nice=function(lt){return vs(se,lt),Xe()},tt.copy=function(){return zo(se,ve,Ie,Fe)},Xe()}function Pl(se,ve){return i.rebind(se,ve,"range","rangeRound","interpolate","clamp")}function vs(se,ve){return Ha(se,mo($a(se,ve)[2])),Ha(se,mo($a(se,ve)[2])),se}function $a(se,ve){ve==null&&(ve=10);var Ie=da(se),Fe=Ie[1]-Ie[0],Ue=Math.pow(10,Math.floor(Math.log(Fe/ve)/Math.LN10)),We=ve/Fe*Ue;return We<=.15?Ue*=10:We<=.35?Ue*=5:We<=.75&&(Ue*=2),Ie[0]=Math.ceil(Ie[0]/Ue)*Ue,Ie[1]=Math.floor(Ie[1]/Ue)*Ue+.5*Ue,Ie[2]=Ue,Ie}function $o(se,ve){return i.range.apply(i,$a(se,ve))}function qc(se,ve,Ie,Fe){function Ue(tt){return(Ie?Math.log(tt<0?0:tt):-Math.log(tt>0?0:-tt))/Math.log(ve)}function We(tt){return Ie?Math.pow(ve,tt):-Math.pow(ve,-tt)}function Xe(tt){return se(Ue(tt))}return Xe.invert=function(tt){return We(se.invert(tt))},Xe.domain=function(tt){return arguments.length?(Ie=tt[0]>=0,se.domain((Fe=tt.map(Number)).map(Ue)),Xe):Fe},Xe.base=function(tt){return arguments.length?(ve=+tt,se.domain(Fe.map(Ue)),Xe):ve},Xe.nice=function(){var tt=Ha(Fe.map(Ue),Ie?Math:Wc);return se.domain(tt),Fe=tt.map(We),Xe},Xe.ticks=function(){var tt=da(Fe),lt=[],mt=tt[0],zt=tt[1],Ut=Math.floor(Ue(mt)),Ht=Math.ceil(Ue(zt)),en=ve%1?2:ve;if(isFinite(Ht-Ut)){if(Ie){for(;Ut0;vn--)lt.push(We(Ut)*vn);for(Ut=0;lt[Ut]zt;Ht--);lt=lt.slice(Ut,Ht)}return lt},Xe.copy=function(){return qc(se.copy(),ve,Ie,Fe)},Pl(Xe,se)}i.scale.linear=function(){return zo([0,1],[0,1],Yo,!1)},i.scale.log=function(){return qc(i.scale.linear().domain([0,1]),10,!0,[1,10])};var Wc={floor:function(se){return-Math.ceil(-se)},ceil:function(se){return-Math.floor(-se)}};function Lo(se,ve,Ie){var Fe=Dr(ve),Ue=Dr(1/ve);function We(Xe){return se(Fe(Xe))}return We.invert=function(Xe){return Ue(se.invert(Xe))},We.domain=function(Xe){return arguments.length?(se.domain((Ie=Xe.map(Number)).map(Fe)),We):Ie},We.ticks=function(Xe){return $o(Ie,Xe)},We.tickFormat=function(Xe,tt){return d3_scale_linearTickFormat(Ie,Xe,tt)},We.nice=function(Xe){return We.domain(vs(Ie,Xe))},We.exponent=function(Xe){return arguments.length?(Fe=Dr(ve=Xe),Ue=Dr(1/ve),se.domain(Ie.map(Fe)),We):ve},We.copy=function(){return Lo(se.copy(),ve,Ie)},Pl(We,se)}function Dr(se){return function(ve){return ve<0?-Math.pow(-ve,se):Math.pow(ve,se)}}function uu(se,ve){var Ie,Fe,Ue;function We(tt){return Fe[((Ie.get(tt)||(ve.t==="range"?Ie.set(tt,se.push(tt)):NaN))-1)%Fe.length]}function Xe(tt,lt){return i.range(se.length).map(function(mt){return tt+lt*mt})}return We.domain=function(tt){if(!arguments.length)return se;se=[],Ie=new L;for(var lt,mt=-1,zt=tt.length;++mt0?Ie[We-1]:se[0],WeHt?0:1;if(zt=qt)return lt(zt,vn)+(mt?lt(mt,1-vn):"")+"Z";var tn,ln,an,Cn,_n,on,Fn,Hn,ir,ar,Mr,Er,xr=0,kr=0,jr=[];if((Cn=(+Xe.apply(this,arguments)||0)/2)&&(an=Fe===wc?Math.sqrt(mt*mt+zt*zt):+Fe.apply(this,arguments),vn||(kr*=-1),zt&&(kr=qe(an/zt*Math.sin(Cn))),mt&&(xr=qe(an/mt*Math.sin(Cn)))),zt){_n=zt*Math.cos(Ut+kr),on=zt*Math.sin(Ut+kr),Fn=zt*Math.cos(Ht-kr),Hn=zt*Math.sin(Ht-kr);var fi=Math.abs(Ht-Ut-2*kr)<=Ot?0:1;if(kr&&Ls(_n,on,Fn,Hn)===vn^fi){var di=(Ut+Ht)/2;_n=zt*Math.cos(di),on=zt*Math.sin(di),Fn=Hn=null}}else _n=on=0;if(mt){ir=mt*Math.cos(Ht-xr),ar=mt*Math.sin(Ht-xr),Mr=mt*Math.cos(Ut+xr),Er=mt*Math.sin(Ut+xr);var wr=Math.abs(Ut-Ht+2*xr)<=Ot?0:1;if(xr&&Ls(ir,ar,Mr,Er)===1-vn^wr){var Ur=(Ut+Ht)/2;ir=mt*Math.cos(Ur),ar=mt*Math.sin(Ur),Mr=Er=null}}else ir=ar=0;if(en>Ft&&(tn=Math.min(Math.abs(zt-mt)/2,+Ie.apply(this,arguments)))>.001){ln=mt0?0:1}function bs(se,ve,Ie,Fe,Ue){var We=se[0]-ve[0],Xe=se[1]-ve[1],tt=(Ue?Fe:-Fe)/Math.sqrt(We*We+Xe*Xe),lt=tt*Xe,mt=-tt*We,zt=se[0]+lt,Ut=se[1]+mt,Ht=ve[0]+lt,en=ve[1]+mt,vn=(zt+Ht)/2,tn=(Ut+en)/2,ln=Ht-zt,an=en-Ut,Cn=ln*ln+an*an,_n=Ie-Fe,on=zt*en-Ht*Ut,Fn=(an<0?-1:1)*Math.sqrt(Math.max(0,_n*_n*Cn-on*on)),Hn=(on*an-ln*Fn)/Cn,ir=(-on*ln-an*Fn)/Cn,ar=(on*an+ln*Fn)/Cn,Mr=(-on*ln+an*Fn)/Cn,Er=Hn-vn,xr=ir-tn,kr=ar-vn,jr=Mr-tn;return Er*Er+xr*xr>kr*kr+jr*jr&&(Hn=ar,ir=Mr),[[Hn-lt,ir-mt],[Hn*Ie/_n,ir*Ie/_n]]}function hu(){return!0}function yo(se){var ve=Un,Ie=Kn,Fe=hu,Ue=$i,We=Ue.key,Xe=.7;function tt(lt){var mt,zt=[],Ut=[],Ht=-1,en=lt.length,vn=qn(ve),tn=qn(Ie);function ln(){zt.push("M",Ue(se(Ut),Xe))}for(;++Ht1&&Ue.push("H",Fe[0]),Ue.join("")},"step-before":os,"step-after":_s,basis:Wi,"basis-open":function(se){if(se.length<4)return $i(se);for(var ve,Ie=[],Fe=-1,Ue=se.length,We=[0],Xe=[0];++Fe<3;)ve=se[Fe],We.push(ve[0]),Xe.push(ve[1]);for(Ie.push(no(qs,We)+","+no(qs,Xe)),--Fe;++Fe9&&(We=3*Ie/Math.sqrt(We),tt[lt]=We*Fe,tt[lt+1]=We*Ue);for(lt=-1;++lt<=mt;)We=(ve[Math.min(mt,lt+1)][0]-ve[Math.max(0,lt-1)][0])/(6*(1+tt[lt]*tt[lt])),Xe.push([We||0,tt[lt]*We||0]);return Xe}(se))}});function $i(se){return se.length>1?se.join("L"):se+"Z"}function Tc(se){return se.join("L")+"Z"}function os(se){for(var ve=0,Ie=se.length,Fe=se[0],Ue=[Fe[0],",",Fe[1]];++ve1){tt=ve[1],We=se[lt],lt++,Fe+="C"+(Ue[0]+Xe[0])+","+(Ue[1]+Xe[1])+","+(We[0]-tt[0])+","+(We[1]-tt[1])+","+We[0]+","+We[1];for(var mt=2;mtOt)+",1 "+zt}function lt(mt,zt,Ut,Ht){return"Q 0,0 "+Ht}return We.radius=function(mt){return arguments.length?(Ie=qn(mt),We):Ie},We.source=function(mt){return arguments.length?(se=qn(mt),We):se},We.target=function(mt){return arguments.length?(ve=qn(mt),We):ve},We.startAngle=function(mt){return arguments.length?(Fe=qn(mt),We):Fe},We.endAngle=function(mt){return arguments.length?(Ue=qn(mt),We):Ue},We},i.svg.diagonal=function(){var se=Hr,ve=ni,Ie=cl;function Fe(Ue,We){var Xe=se.call(this,Ue,We),tt=ve.call(this,Ue,We),lt=(Xe.y+tt.y)/2,mt=[Xe,{x:Xe.x,y:lt},{x:tt.x,y:lt},tt];return"M"+(mt=mt.map(Ie))[0]+"C"+mt[1]+" "+mt[2]+" "+mt[3]}return Fe.source=function(Ue){return arguments.length?(se=qn(Ue),Fe):se},Fe.target=function(Ue){return arguments.length?(ve=qn(Ue),Fe):ve},Fe.projection=function(Ue){return arguments.length?(Ie=Ue,Fe):Ie},Fe},i.svg.diagonal.radial=function(){var se=i.svg.diagonal(),ve=cl,Ie=se.projection;return se.projection=function(Fe){return arguments.length?Ie(Rs(ve=Fe)):ve},se},i.svg.symbol=function(){var se=Zc,ve=xo;function Ie(Fe,Ue){return(ju.get(se.call(this,Fe,Ue))||Vo)(ve.call(this,Fe,Ue))}return Ie.type=function(Fe){return arguments.length?(se=qn(Fe),Ie):se},Ie.size=function(Fe){return arguments.length?(ve=qn(Fe),Ie):ve},Ie};var ju=i.map({circle:Vo,cross:function(se){var ve=Math.sqrt(se/5)/2;return"M"+-3*ve+","+-ve+"H"+-ve+"V"+-3*ve+"H"+ve+"V"+-ve+"H"+3*ve+"V"+ve+"H"+ve+"V"+3*ve+"H"+-ve+"V"+ve+"H"+-3*ve+"Z"},diamond:function(se){var ve=Math.sqrt(se/(2*Ji)),Ie=ve*Ji;return"M0,"+-ve+"L"+Ie+",0 0,"+ve+" "+-Ie+",0Z"},square:function(se){var ve=Math.sqrt(se)/2;return"M"+-ve+","+-ve+"L"+ve+","+-ve+" "+ve+","+ve+" "+-ve+","+ve+"Z"},"triangle-down":function(se){var ve=Math.sqrt(se/hl),Ie=ve*hl/2;return"M0,"+Ie+"L"+ve+","+-Ie+" "+-ve+","+-Ie+"Z"},"triangle-up":function(se){var ve=Math.sqrt(se/hl),Ie=ve*hl/2;return"M0,"+-Ie+"L"+ve+","+Ie+" "+-ve+","+Ie+"Z"}});i.svg.symbolTypes=ju.keys();var hl=Math.sqrt(3),Ji=Math.tan(30*Ke);ce.transition=function(se){for(var ve,Ie,Fe=rt||++St,Ue=ee(se),We=[],Xe=ct||{time:Date.now(),ease:tl,delay:0,duration:250},tt=-1,lt=this.length;++tt0;)mt[--an].call(se,ln);if(tn>=1)return Ut.event&&Ut.event.end.call(se,se.__data__,ve),--zt.count?delete zt[Fe]:delete se[Ie],1}Ut||(We=Ue.time,Xe=Kt(function(vn){var tn=Ut.delay;if(Xe.t=tn+We,tn<=vn)return Ht(vn-tn);Xe.c=Ht},0,We),Ut=zt[Fe]={tween:new L,time:We,timer:Xe,delay:Ue.delay,duration:Ue.duration,ease:Ue.ease,index:ve},Ue=null,++zt.count)}vt.call=ce.call,vt.empty=ce.empty,vt.node=ce.node,vt.size=ce.size,i.transition=function(se,ve){return se&&se.transition?rt?se.transition(ve):se:i.selection().transition(se)},i.transition.prototype=vt,vt.select=function(se){var ve,Ie,Fe,Ue=this.id,We=this.namespace,Xe=[];se=ye(se);for(var tt=-1,lt=this.length;++ttrect,.s>rect").attr("width",We[1]-We[0])}function en(tn){tn.select(".extent").attr("y",Xe[0]),tn.selectAll(".extent,.e>rect,.w>rect").attr("height",Xe[1]-Xe[0])}function vn(){var tn,ln,an=this,Cn=i.select(i.event.target),_n=Ie.of(an,arguments),on=i.select(an),Fn=Cn.datum(),Hn=!/^(n|s)$/.test(Fn)&&Fe,ir=!/^(e|w)$/.test(Fn)&&Ue,ar=Cn.classed("extent"),Mr=bt(an),Er=i.mouse(an),xr=i.select(a(an)).on("keydown.brush",fi).on("keyup.brush",di);if(i.event.changedTouches?xr.on("touchmove.brush",wr).on("touchend.brush",oi):xr.on("mousemove.brush",wr).on("mouseup.brush",oi),on.interrupt().selectAll("*").interrupt(),ar)Er[0]=We[0]-Er[0],Er[1]=Xe[0]-Er[1];else if(Fn){var kr=+/w$/.test(Fn),jr=+/^n/.test(Fn);ln=[We[1-kr]-Er[0],Xe[1-jr]-Er[1]],Er[0]=We[kr],Er[1]=Xe[jr]}else i.event.altKey&&(tn=Er.slice());function fi(){i.event.keyCode==32&&(ar||(tn=null,Er[0]-=We[1],Er[1]-=Xe[1],ar=2),ne())}function di(){i.event.keyCode==32&&ar==2&&(Er[0]+=We[1],Er[1]+=Xe[1],ar=0,ne())}function wr(){var ai=i.mouse(an),Ii=!1;ln&&(ai[0]+=ln[0],ai[1]+=ln[1]),ar||(i.event.altKey?(tn||(tn=[(We[0]+We[1])/2,(Xe[0]+Xe[1])/2]),Er[0]=We[+(ai[0]>>1;c.dtype||(c.dtype="array"),typeof c.dtype=="string"?y=new(u(c.dtype))(_):c.dtype&&(y=c.dtype,Array.isArray(y)&&(y.length=_));for(var k=0;k<_;++k)y[k]=k;var E=[],x=[],A=[],L=[];(function W(j,$,U,G,q,H){if(!G.length)return null;var ne=E[q]||(E[q]=[]),te=A[q]||(A[q]=[]),Z=x[q]||(x[q]=[]),X=ne.length;if(++q>m||H>1073741824){for(var Q=0;Qpe+Pe||ie>xe+Pe||oe=ce||Me===Se)){var Ce=E[_e];Se===void 0&&(Se=Ce.length);for(var ae=Me;ae=ne&&be<=Z&&ke>=te&&ke<=X&&ye.push(fe)}var Le=x[_e],Be=Le[4*Me+0],ze=Le[4*Me+1],je=Le[4*Me+2],ge=Le[4*Me+3],we=me(Le,Me+1),Ee=.5*Pe,Ve=_e+1;de(pe,xe,Ee,Ve,Be,ze||je||ge||we),de(pe,xe+Ee,Ee,Ve,ze,je||ge||we),de(pe+Ee,xe,Ee,Ve,je,ge||we),de(pe+Ee,xe+Ee,Ee,Ve,ge,we)}}function me(pe,xe){for(var Pe=null,_e=0;Pe===null;)if(Pe=pe[4*xe+_e],++_e>pe.length)return null;return Pe}return de(0,0,1,0,0,1),ye},y;function B(W,j,$,U,G){for(var q=[],H=0;H0){l+=Math.abs(M(f[0]));for(var a=1;a2){for(h=0;h=0))throw new Error("precision must be a positive number");var m=Math.pow(10,c||0);return Math.round(h*m)/m},p.radiansToLength=a,p.lengthToRadians=u,p.lengthToDegrees=function(h,c){return o(u(h,c))},p.bearingToAzimuth=function(h){var c=h%360;return c<0&&(c+=360),c},p.radiansToDegrees=o,p.degreesToRadians=function(h){return h%360*Math.PI/180},p.convertLength=function(h,c,m){if(c===void 0&&(c="kilometers"),m===void 0&&(m="kilometers"),!(h>=0))throw new Error("length must be a positive number");return a(u(h,c),m)},p.convertArea=function(h,c,m){if(c===void 0&&(c="meters"),m===void 0&&(m="kilometers"),!(h>=0))throw new Error("area must be a positive number");var w=p.areaFactors[c];if(!w)throw new Error("invalid original units");var y=p.areaFactors[m];if(!y)throw new Error("invalid final units");return h/w*y},p.isNumber=s,p.isObject=function(h){return!!h&&h.constructor===Object},p.validateBBox=function(h){if(!h)throw new Error("bbox is required");if(!Array.isArray(h))throw new Error("bbox must be an Array");if(h.length!==4&&h.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");h.forEach(function(c){if(!s(c))throw new Error("bbox must only contain numbers")})},p.validateId=function(h){if(!h)throw new Error("id is required");if(["string","number"].indexOf(typeof h)===-1)throw new Error("id must be a number or a string")}},60302:function(T,p,t){Object.defineProperty(p,"__esModule",{value:!0});var d=t(23132);function g(u,o,s){if(u!==null)for(var h,c,m,w,y,C,_,k,E=0,x=0,A=u.type,L=A==="FeatureCollection",b=A==="Feature",R=L?u.features.length:1,I=0;IC||L>_||b>k)return y=E,C=h,_=L,k=b,void(m=0);var R=d.lineString([y,E],s.properties);if(o(R,h,c,b,m)===!1)return!1;m++,y=E})!==!1&&void 0}}})}function a(u,o){if(!u)throw new Error("geojson is required");f(u,function(s,h,c){if(s.geometry!==null){var m=s.geometry.type,w=s.geometry.coordinates;switch(m){case"LineString":if(o(s,h,c,0,0)===!1)return!1;break;case"Polygon":for(var y=0;yv[0]&&(M[0]=v[0]),M[1]>v[1]&&(M[1]=v[1]),M[2]=0))throw new Error("precision must be a positive number");var m=Math.pow(10,c||0);return Math.round(h*m)/m},p.radiansToLength=a,p.lengthToRadians=u,p.lengthToDegrees=function(h,c){return o(u(h,c))},p.bearingToAzimuth=function(h){var c=h%360;return c<0&&(c+=360),c},p.radiansToDegrees=o,p.degreesToRadians=function(h){return h%360*Math.PI/180},p.convertLength=function(h,c,m){if(c===void 0&&(c="kilometers"),m===void 0&&(m="kilometers"),!(h>=0))throw new Error("length must be a positive number");return a(u(h,c),m)},p.convertArea=function(h,c,m){if(c===void 0&&(c="meters"),m===void 0&&(m="kilometers"),!(h>=0))throw new Error("area must be a positive number");var w=p.areaFactors[c];if(!w)throw new Error("invalid original units");var y=p.areaFactors[m];if(!y)throw new Error("invalid final units");return h/w*y},p.isNumber=s,p.isObject=function(h){return!!h&&h.constructor===Object},p.validateBBox=function(h){if(!h)throw new Error("bbox is required");if(!Array.isArray(h))throw new Error("bbox must be an Array");if(h.length!==4&&h.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");h.forEach(function(c){if(!s(c))throw new Error("bbox must only contain numbers")})},p.validateId=function(h){if(!h)throw new Error("id is required");if(["string","number"].indexOf(typeof h)===-1)throw new Error("id must be a number or a string")}},27138:function(T,p,t){Object.defineProperty(p,"__esModule",{value:!0});var d=t(94228);function g(u,o,s){if(u!==null)for(var h,c,m,w,y,C,_,k,E=0,x=0,A=u.type,L=A==="FeatureCollection",b=A==="Feature",R=L?u.features.length:1,I=0;IC||L>_||b>k)return y=E,C=h,_=L,k=b,void(m=0);var R=d.lineString([y,E],s.properties);if(o(R,h,c,b,m)===!1)return!1;m++,y=E})!==!1&&void 0}}})}function a(u,o){if(!u)throw new Error("geojson is required");f(u,function(s,h,c){if(s.geometry!==null){var m=s.geometry.type,w=s.geometry.coordinates;switch(m){case"LineString":if(o(s,h,c,0,0)===!1)return!1;break;case"Polygon":for(var y=0;y=0))throw new Error("precision must be a positive number");var m=Math.pow(10,c||0);return Math.round(h*m)/m},p.radiansToLength=a,p.lengthToRadians=u,p.lengthToDegrees=function(h,c){return o(u(h,c))},p.bearingToAzimuth=function(h){var c=h%360;return c<0&&(c+=360),c},p.radiansToDegrees=o,p.degreesToRadians=function(h){return h%360*Math.PI/180},p.convertLength=function(h,c,m){if(c===void 0&&(c="kilometers"),m===void 0&&(m="kilometers"),!(h>=0))throw new Error("length must be a positive number");return a(u(h,c),m)},p.convertArea=function(h,c,m){if(c===void 0&&(c="meters"),m===void 0&&(m="kilometers"),!(h>=0))throw new Error("area must be a positive number");var w=p.areaFactors[c];if(!w)throw new Error("invalid original units");var y=p.areaFactors[m];if(!y)throw new Error("invalid final units");return h/w*y},p.isNumber=s,p.isObject=function(h){return!!h&&h.constructor===Object},p.validateBBox=function(h){if(!h)throw new Error("bbox is required");if(!Array.isArray(h))throw new Error("bbox must be an Array");if(h.length!==4&&h.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");h.forEach(function(c){if(!s(c))throw new Error("bbox must only contain numbers")})},p.validateId=function(h){if(!h)throw new Error("id is required");if(["string","number"].indexOf(typeof h)===-1)throw new Error("id must be a number or a string")},p.radians2degrees=function(){throw new Error("method has been renamed to `radiansToDegrees`")},p.degrees2radians=function(){throw new Error("method has been renamed to `degreesToRadians`")},p.distanceToDegrees=function(){throw new Error("method has been renamed to `lengthToDegrees`")},p.distanceToRadians=function(){throw new Error("method has been renamed to `lengthToRadians`")},p.radiansToDistance=function(){throw new Error("method has been renamed to `radiansToLength`")},p.bearingToAngle=function(){throw new Error("method has been renamed to `bearingToAzimuth`")},p.convertDistance=function(){throw new Error("method has been renamed to `convertLength`")}},88553:function(T,p,t){Object.defineProperty(p,"__esModule",{value:!0});var d=t(64182);function g(u,o,s){if(u!==null)for(var h,c,m,w,y,C,_,k,E=0,x=0,A=u.type,L=A==="FeatureCollection",b=A==="Feature",R=L?u.features.length:1,I=0;IC||L>_||b>k)return y=E,C=h,_=L,k=b,void(m=0);var R=d.lineString([y,E],s.properties);if(o(R,h,c,b,m)===!1)return!1;m++,y=E})!==!1&&void 0}}})}function a(u,o){if(!u)throw new Error("geojson is required");f(u,function(s,h,c){if(s.geometry!==null){var m=s.geometry.type,w=s.geometry.coordinates;switch(m){case"LineString":if(o(s,h,c,0,0)===!1)return!1;break;case"Polygon":for(var y=0;yi&&(i=p[v]),p[v]1?G-1:0),H=1;H1?G-1:0),H=1;H1?G-1:0),H=1;H1?G-1:0),H=1;Hpe&&Pe>0){var _e=(xe[Pe][0]-pe)/(xe[Pe][0]-xe[Pe-1][0]);return xe[Pe][1]*(1-_e)+_e*xe[Pe-1][1]}}return 1}(de/255,oe):ye[3];return me<1&&(ue=!0),[ye[0],ye[1],ye[2],255*me]})]);return w.divseq(ce,255),this.hasAlphaScale=ue,ce},j.isTransparent=function(){return this.opacity<1||this.hasAlphaScale},j.isOpaque=function(){return!this.isTransparent()},j.pickSlots=1,j.setPickBase=function(ie){this.pickId=ie};var $=[0,0,0],U={showSurface:!1,showContour:!1,projections:[z.slice(),z.slice(),z.slice()],clipBounds:[[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]]]};function G(ie,oe){var ue,ce,ye,de=oe.axes&&oe.axes.lastCubeProps.axis||$,me=oe.showSurface,pe=oe.showContour;for(ue=0;ue<3;++ue)for(me=me||oe.surfaceProject[ue],ce=0;ce<3;++ce)pe=pe||oe.contourProject[ue][ce];for(ue=0;ue<3;++ue){var xe=U.projections[ue];for(ce=0;ce<16;++ce)xe[ce]=0;for(ce=0;ce<4;++ce)xe[5*ce]=1;xe[5*ue]=0,xe[12+ue]=oe.axesBounds[+(de[ue]>0)][ue],k(xe,ie.model,xe);var Pe=U.clipBounds[ue];for(ye=0;ye<2;++ye)for(ce=0;ce<3;++ce)Pe[ye][ce]=ie.clipBounds[ye][ce];Pe[0][ue]=-1e8,Pe[1][ue]=1e8}return U.showSurface=me,U.showContour=pe,U}var q={model:z,view:z,projection:z,inverseModel:z.slice(),lowerBound:[0,0,0],upperBound:[0,0,0],colorMap:0,clipBounds:[[0,0,0],[0,0,0]],height:0,contourTint:0,contourColor:[0,0,0,1],permutation:[1,0,0,0,1,0,0,0,1],zOffset:-1e-4,objectOffset:[0,0,0],kambient:1,kdiffuse:1,kspecular:1,lightPosition:[1e3,1e3,1e3],eyePosition:[0,0,0],roughness:1,fresnel:1,opacity:1,vertexColor:0},H=z.slice(),ne=[1,0,0,0,1,0,0,0,1];function te(ie,oe){ie=ie||{};var ue=this.gl;ue.disable(ue.CULL_FACE),this._colorMap.bind(0);var ce=q;ce.model=ie.model||z,ce.view=ie.view||z,ce.projection=ie.projection||z,ce.lowerBound=[this.bounds[0][0],this.bounds[0][1],this.colorBounds[0]||this.bounds[0][2]],ce.upperBound=[this.bounds[1][0],this.bounds[1][1],this.colorBounds[1]||this.bounds[1][2]],ce.objectOffset=this.objectOffset,ce.contourColor=this.contourColor[0],ce.inverseModel=E(ce.inverseModel,ce.model);for(var ye=0;ye<2;++ye)for(var de=ce.clipBounds[ye],me=0;me<3;++me)de[me]=Math.min(Math.max(this.clipBounds[ye][me],-1e8),1e8);ce.kambient=this.ambientLight,ce.kdiffuse=this.diffuseLight,ce.kspecular=this.specularLight,ce.roughness=this.roughness,ce.fresnel=this.fresnel,ce.opacity=this.opacity,ce.height=0,ce.permutation=ne,ce.vertexColor=this.vertexColor;var pe=H;for(k(pe,ce.view,ce.model),k(pe,ce.projection,pe),E(pe,pe),ye=0;ye<3;++ye)ce.eyePosition[ye]=pe[12+ye]/pe[15];var xe=pe[15];for(ye=0;ye<3;++ye)xe+=this.lightPosition[ye]*pe[4*ye+3];for(ye=0;ye<3;++ye){var Pe=pe[12+ye];for(me=0;me<3;++me)Pe+=pe[4*me+ye]*this.lightPosition[me];ce.lightPosition[ye]=Pe/xe}var _e=G(ce,this);if(_e.showSurface){for(this._shader.bind(),this._shader.uniforms=ce,this._vao.bind(),this.showSurface&&this._vertexCount&&this._vao.draw(ue.TRIANGLES,this._vertexCount),ye=0;ye<3;++ye)this.surfaceProject[ye]&&this.vertexCount&&(this._shader.uniforms.model=_e.projections[ye],this._shader.uniforms.clipBounds=_e.clipBounds[ye],this._vao.draw(ue.TRIANGLES,this._vertexCount));this._vao.unbind()}if(_e.showContour){var Me=this._contourShader;ce.kambient=1,ce.kdiffuse=0,ce.kspecular=0,ce.opacity=1,Me.bind(),Me.uniforms=ce;var Se=this._contourVAO;for(Se.bind(),ye=0;ye<3;++ye)for(Me.uniforms.permutation=B[ye],ue.lineWidth(this.contourWidth[ye]*this.pixelRatio),me=0;me>4)/16)/255,ye=Math.floor(ce),de=ce-ye,me=oe[1]*(ie.value[1]+(15&ie.value[2])/16)/255,pe=Math.floor(me),xe=me-pe;ye+=1,pe+=1;var Pe=ue.position;Pe[0]=Pe[1]=Pe[2]=0;for(var _e=0;_e<2;++_e)for(var Me=_e?de:1-de,Se=0;Se<2;++Se)for(var Ce=ye+_e,ae=pe+Se,fe=Me*(Se?xe:1-xe),be=0;be<3;++be)Pe[be]+=this._field[be].get(Ce,ae)*fe;for(var ke=this._pickResult.level,Le=0;Le<3;++Le)if(ke[Le]=x.le(this.contourLevels[Le],Pe[Le]),ke[Le]<0)this.contourLevels[Le].length>0&&(ke[Le]=0);else if(ke[Le]Math.abs(ze-Pe[Le])&&(ke[Le]+=1)}for(ue.index[0]=de<.5?ye:ye+1,ue.index[1]=xe<.5?pe:pe+1,ue.uv[0]=ce/oe[0],ue.uv[1]=me/oe[1],be=0;be<3;++be)ue.dataCoordinate[be]=this._field[be].get(ue.index[0],ue.index[1]);return ue},j.padField=function(ie,oe){var ue=oe.shape.slice(),ce=ie.shape.slice();w.assign(ie.lo(1,1).hi(ue[0],ue[1]),oe),w.assign(ie.lo(1).hi(ue[0],1),oe.hi(ue[0],1)),w.assign(ie.lo(1,ce[1]-1).hi(ue[0],1),oe.lo(0,ue[1]-1).hi(ue[0],1)),w.assign(ie.lo(0,1).hi(1,ue[1]),oe.hi(1)),w.assign(ie.lo(ce[0]-1,1).hi(1,ue[1]),oe.lo(ue[0]-1)),ie.set(0,0,oe.get(0,0)),ie.set(0,ce[1]-1,oe.get(0,ue[1]-1)),ie.set(ce[0]-1,0,oe.get(ue[0]-1,0)),ie.set(ce[0]-1,ce[1]-1,oe.get(ue[0]-1,ue[1]-1))},j.update=function(ie){ie=ie||{},this.objectOffset=ie.objectOffset||this.objectOffset,this.dirty=!0,"contourWidth"in ie&&(this.contourWidth=X(ie.contourWidth,Number)),"showContour"in ie&&(this.showContour=X(ie.showContour,Boolean)),"showSurface"in ie&&(this.showSurface=!!ie.showSurface),"contourTint"in ie&&(this.contourTint=X(ie.contourTint,Boolean)),"contourColor"in ie&&(this.contourColor=re(ie.contourColor)),"contourProject"in ie&&(this.contourProject=X(ie.contourProject,function(kn){return X(kn,Boolean)})),"surfaceProject"in ie&&(this.surfaceProject=ie.surfaceProject),"dynamicColor"in ie&&(this.dynamicColor=re(ie.dynamicColor)),"dynamicTint"in ie&&(this.dynamicTint=X(ie.dynamicTint,Number)),"dynamicWidth"in ie&&(this.dynamicWidth=X(ie.dynamicWidth,Number)),"opacity"in ie&&(this.opacity=ie.opacity),"opacityscale"in ie&&(this.opacityscale=ie.opacityscale),"colorBounds"in ie&&(this.colorBounds=ie.colorBounds),"vertexColor"in ie&&(this.vertexColor=ie.vertexColor?1:0),"colormap"in ie&&this._colorMap.setPixels(this.genColormap(ie.colormap,this.opacityscale));var oe=ie.field||ie.coords&&ie.coords[2]||null,ue=!1;if(oe||(oe=this._field[2].shape[0]||this._field[2].shape[2]?this._field[2].lo(1,1).hi(this._field[2].shape[0]-2,this._field[2].shape[1]-2):this._field[2].hi(0,0)),"field"in ie||"coords"in ie){var ce=(oe.shape[0]+2)*(oe.shape[1]+2);ce>this._field[2].data.length&&(h.freeFloat(this._field[2].data),this._field[2].data=h.mallocFloat(u.nextPow2(ce))),this._field[2]=S(this._field[2].data,[oe.shape[0]+2,oe.shape[1]+2]),this.padField(this._field[2],oe),this.shape=oe.shape.slice();for(var ye=this.shape,de=0;de<2;++de)this._field[2].size>this._field[de].data.length&&(h.freeFloat(this._field[de].data),this._field[de].data=h.mallocFloat(this._field[2].size)),this._field[de]=S(this._field[de].data,[ye[0]+2,ye[1]+2]);if(ie.coords){var me=ie.coords;if(!Array.isArray(me)||me.length!==3)throw new Error("gl-surface: invalid coordinates for x/y");for(de=0;de<2;++de){var pe=me[de];for(Se=0;Se<2;++Se)if(pe.shape[Se]!==ye[Se])throw new Error("gl-surface: coords have incorrect shape");this.padField(this._field[de],pe)}}else if(ie.ticks){var xe=ie.ticks;if(!Array.isArray(xe)||xe.length!==2)throw new Error("gl-surface: invalid ticks");for(de=0;de<2;++de){var Pe=xe[de];if((Array.isArray(Pe)||Pe.length)&&(Pe=S(Pe)),Pe.shape[0]!==ye[de])throw new Error("gl-surface: invalid tick length");var _e=S(Pe.data,ye);_e.stride[de]=Pe.stride[0],_e.stride[1^de]=0,this.padField(this._field[de],_e)}}else{for(de=0;de<2;++de){var Me=[0,0];Me[de]=1,this._field[de]=S(this._field[de].data,[ye[0]+2,ye[1]+2],Me,0)}this._field[0].set(0,0,0);for(var Se=0;Se0){for(var An=0;An<5;++An)ft.pop();kt-=1}continue e}ft.push(dt[0],dt[1],Lt[0],Lt[1],dt[2]),kt+=1}}ut.push(kt)}this._contourOffsets[Re]=Qe,this._contourCounts[Re]=ut}var Yn=h.mallocFloat(ft.length);for(de=0;deB||z<0||z>B)throw new Error("gl-texture2d: Invalid texture size");return I._shape=[O,z],I.bind(),F.texImage2D(F.TEXTURE_2D,0,I.format,O,z,0,I.format,I.type,null),I._mipLevels=[0],I}function k(I,O,z,F,B,N){this.gl=I,this.handle=O,this.format=B,this.type=N,this._shape=[z,F],this._mipLevels=[0],this._magFilter=I.NEAREST,this._minFilter=I.NEAREST,this._wrapS=I.CLAMP_TO_EDGE,this._wrapT=I.CLAMP_TO_EDGE,this._anisoSamples=1;var W=this,j=[this._wrapS,this._wrapT];Object.defineProperties(j,[{get:function(){return W._wrapS},set:function(U){return W.wrapS=U}},{get:function(){return W._wrapT},set:function(U){return W.wrapT=U}}]),this._wrapVector=j;var $=[this._shape[0],this._shape[1]];Object.defineProperties($,[{get:function(){return W._shape[0]},set:function(U){return W.width=U}},{get:function(){return W._shape[1]},set:function(U){return W.height=U}}]),this._shapeVector=$}var E=k.prototype;function x(I,O){return I.length===3?O[2]===1&&O[1]===I[0]*I[2]&&O[0]===I[2]:O[0]===1&&O[1]===I[0]}function A(I){var O=I.createTexture();return I.bindTexture(I.TEXTURE_2D,O),I.texParameteri(I.TEXTURE_2D,I.TEXTURE_MIN_FILTER,I.NEAREST),I.texParameteri(I.TEXTURE_2D,I.TEXTURE_MAG_FILTER,I.NEAREST),I.texParameteri(I.TEXTURE_2D,I.TEXTURE_WRAP_S,I.CLAMP_TO_EDGE),I.texParameteri(I.TEXTURE_2D,I.TEXTURE_WRAP_T,I.CLAMP_TO_EDGE),O}function L(I,O,z,F,B){var N=I.getParameter(I.MAX_TEXTURE_SIZE);if(O<0||O>N||z<0||z>N)throw new Error("gl-texture2d: Invalid texture shape");if(B===I.FLOAT&&!I.getExtension("OES_texture_float"))throw new Error("gl-texture2d: Floating point textures not supported on this platform");var W=A(I);return I.texImage2D(I.TEXTURE_2D,0,F,O,z,0,F,B,null),new k(I,W,O,z,F,B)}function b(I,O,z,F,B,N){var W=A(I);return I.texImage2D(I.TEXTURE_2D,0,B,B,N,O),new k(I,W,z,F,B,N)}function R(I,O){var z=O.dtype,F=O.shape.slice(),B=I.getParameter(I.MAX_TEXTURE_SIZE);if(F[0]<0||F[0]>B||F[1]<0||F[1]>B)throw new Error("gl-texture2d: Invalid texture size");var N=x(F,O.stride.slice()),W=0;z==="float32"?W=I.FLOAT:z==="float64"?(W=I.FLOAT,N=!1,z="float32"):z==="uint8"?W=I.UNSIGNED_BYTE:(W=I.UNSIGNED_BYTE,N=!1,z="uint8");var j,$,U=0;if(F.length===2)U=I.LUMINANCE,F=[F[0],F[1],1],O=u(O.data,F,[O.stride[0],O.stride[1],1],O.offset);else{if(F.length!==3)throw new Error("gl-texture2d: Invalid shape for texture");if(F[2]===1)U=I.ALPHA;else if(F[2]===2)U=I.LUMINANCE_ALPHA;else if(F[2]===3)U=I.RGB;else{if(F[2]!==4)throw new Error("gl-texture2d: Invalid shape for pixel coords");U=I.RGBA}}W!==I.FLOAT||I.getExtension("OES_texture_float")||(W=I.UNSIGNED_BYTE,N=!1);var G=O.size;if(N)j=O.offset===0&&O.data.length===G?O.data:O.data.subarray(O.offset,O.offset+G);else{var q=[F[2],F[2]*F[0],1];$=s.malloc(G,z);var H=u($,F,q,0);z!=="float32"&&z!=="float64"||W!==I.UNSIGNED_BYTE?o.assign(H,O):S(H,O),j=$.subarray(0,G)}var ne=A(I);return I.texImage2D(I.TEXTURE_2D,0,U,F[0],F[1],0,U,W,j),N||s.free($),new k(I,ne,F[0],F[1],U,W)}Object.defineProperties(E,{minFilter:{get:function(){return this._minFilter},set:function(I){this.bind();var O=this.gl;if(this.type===O.FLOAT&&c.indexOf(I)>=0&&(O.getExtension("OES_texture_float_linear")||(I=O.NEAREST)),h.indexOf(I)<0)throw new Error("gl-texture2d: Unknown filter mode "+I);return O.texParameteri(O.TEXTURE_2D,O.TEXTURE_MIN_FILTER,I),this._minFilter=I}},magFilter:{get:function(){return this._magFilter},set:function(I){this.bind();var O=this.gl;if(this.type===O.FLOAT&&c.indexOf(I)>=0&&(O.getExtension("OES_texture_float_linear")||(I=O.NEAREST)),h.indexOf(I)<0)throw new Error("gl-texture2d: Unknown filter mode "+I);return O.texParameteri(O.TEXTURE_2D,O.TEXTURE_MAG_FILTER,I),this._magFilter=I}},mipSamples:{get:function(){return this._anisoSamples},set:function(I){var O=this._anisoSamples;if(this._anisoSamples=0|Math.max(I,1),O!==this._anisoSamples){var z=this.gl.getExtension("EXT_texture_filter_anisotropic");z&&this.gl.texParameterf(this.gl.TEXTURE_2D,z.TEXTURE_MAX_ANISOTROPY_EXT,this._anisoSamples)}return this._anisoSamples}},wrapS:{get:function(){return this._wrapS},set:function(I){if(this.bind(),m.indexOf(I)<0)throw new Error("gl-texture2d: Unknown wrap mode "+I);return this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_S,I),this._wrapS=I}},wrapT:{get:function(){return this._wrapT},set:function(I){if(this.bind(),m.indexOf(I)<0)throw new Error("gl-texture2d: Unknown wrap mode "+I);return this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_T,I),this._wrapT=I}},wrap:{get:function(){return this._wrapVector},set:function(I){if(Array.isArray(I)||(I=[I,I]),I.length!==2)throw new Error("gl-texture2d: Must specify wrap mode for rows and columns");for(var O=0;O<2;++O)if(m.indexOf(I[O])<0)throw new Error("gl-texture2d: Unknown wrap mode "+I);this._wrapS=I[0],this._wrapT=I[1];var z=this.gl;return this.bind(),z.texParameteri(z.TEXTURE_2D,z.TEXTURE_WRAP_S,this._wrapS),z.texParameteri(z.TEXTURE_2D,z.TEXTURE_WRAP_T,this._wrapT),I}},shape:{get:function(){return this._shapeVector},set:function(I){if(Array.isArray(I)){if(I.length!==2)throw new Error("gl-texture2d: Invalid texture shape")}else I=[0|I,0|I];return _(this,0|I[0],0|I[1]),[0|I[0],0|I[1]]}},width:{get:function(){return this._shape[0]},set:function(I){return _(this,I|=0,this._shape[1]),I}},height:{get:function(){return this._shape[1]},set:function(I){return I|=0,_(this,this._shape[0],I),I}}}),E.bind=function(I){var O=this.gl;return I!==void 0&&O.activeTexture(O.TEXTURE0+(0|I)),O.bindTexture(O.TEXTURE_2D,this.handle),I!==void 0?0|I:O.getParameter(O.ACTIVE_TEXTURE)-O.TEXTURE0},E.dispose=function(){this.gl.deleteTexture(this.handle)},E.generateMipmap=function(){this.bind(),this.gl.generateMipmap(this.gl.TEXTURE_2D);for(var I=Math.min(this._shape[0],this._shape[1]),O=0;I>0;++O,I>>>=1)this._mipLevels.indexOf(O)<0&&this._mipLevels.push(O)},E.setPixels=function(I,O,z,F){var B=this.gl;this.bind(),Array.isArray(O)?(F=z,z=0|O[1],O=0|O[0]):(O=O||0,z=z||0),F=F||0;var N=y(I)?I:I.raw;if(N)this._mipLevels.indexOf(F)<0?(B.texImage2D(B.TEXTURE_2D,0,this.format,this.format,this.type,N),this._mipLevels.push(F)):B.texSubImage2D(B.TEXTURE_2D,F,O,z,this.format,this.type,N);else{if(!(I.shape&&I.stride&&I.data))throw new Error("gl-texture2d: Unsupported data type");if(I.shape.length<2||O+I.shape[1]>this._shape[1]>>>F||z+I.shape[0]>this._shape[0]>>>F||O<0||z<0)throw new Error("gl-texture2d: Texture dimensions are out of bounds");(function(W,j,$,U,G,q,H,ne){var te=ne.dtype,Z=ne.shape.slice();if(Z.length<2||Z.length>3)throw new Error("gl-texture2d: Invalid ndarray, must be 2d or 3d");var X=0,Q=0,re=x(Z,ne.stride.slice());if(te==="float32"?X=W.FLOAT:te==="float64"?(X=W.FLOAT,re=!1,te="float32"):te==="uint8"?X=W.UNSIGNED_BYTE:(X=W.UNSIGNED_BYTE,re=!1,te="uint8"),Z.length===2)Q=W.LUMINANCE,Z=[Z[0],Z[1],1],ne=u(ne.data,Z,[ne.stride[0],ne.stride[1],1],ne.offset);else{if(Z.length!==3)throw new Error("gl-texture2d: Invalid shape for texture");if(Z[2]===1)Q=W.ALPHA;else if(Z[2]===2)Q=W.LUMINANCE_ALPHA;else if(Z[2]===3)Q=W.RGB;else{if(Z[2]!==4)throw new Error("gl-texture2d: Invalid shape for pixel coords");Q=W.RGBA}Z[2]}if(Q!==W.LUMINANCE&&Q!==W.ALPHA||G!==W.LUMINANCE&&G!==W.ALPHA||(Q=G),Q!==G)throw new Error("gl-texture2d: Incompatible texture format for setPixels");var ie=ne.size,oe=H.indexOf(U)<0;if(oe&&H.push(U),X===q&&re)ne.offset===0&&ne.data.length===ie?oe?W.texImage2D(W.TEXTURE_2D,U,G,Z[0],Z[1],0,G,q,ne.data):W.texSubImage2D(W.TEXTURE_2D,U,j,$,Z[0],Z[1],G,q,ne.data):oe?W.texImage2D(W.TEXTURE_2D,U,G,Z[0],Z[1],0,G,q,ne.data.subarray(ne.offset,ne.offset+ie)):W.texSubImage2D(W.TEXTURE_2D,U,j,$,Z[0],Z[1],G,q,ne.data.subarray(ne.offset,ne.offset+ie));else{var ue;ue=q===W.FLOAT?s.mallocFloat32(ie):s.mallocUint8(ie);var ce=u(ue,Z,[Z[2],Z[2]*Z[0],1]);X===W.FLOAT&&q===W.UNSIGNED_BYTE?S(ce,ne):o.assign(ce,ne),oe?W.texImage2D(W.TEXTURE_2D,U,G,Z[0],Z[1],0,G,q,ue.subarray(0,ie)):W.texSubImage2D(W.TEXTURE_2D,U,j,$,Z[0],Z[1],G,q,ue.subarray(0,ie)),q===W.FLOAT?s.freeFloat32(ue):s.freeUint8(ue)}})(B,O,z,F,this.format,this.type,this._mipLevels,I)}}},3056:function(f){f.exports=function(l,a,u){a?a.bind():l.bindBuffer(l.ELEMENT_ARRAY_BUFFER,null);var o=0|l.getParameter(l.MAX_VERTEX_ATTRIBS);if(u){if(u.length>o)throw new Error("gl-vao: Too many vertex attributes");for(var s=0;s1?0:Math.acos(y)};var u=a(5415),o=a(899),s=a(9305)},8827:function(f){f.exports=function(l,a){return l[0]=Math.ceil(a[0]),l[1]=Math.ceil(a[1]),l[2]=Math.ceil(a[2]),l}},7622:function(f){f.exports=function(l){var a=new Float32Array(3);return a[0]=l[0],a[1]=l[1],a[2]=l[2],a}},8782:function(f){f.exports=function(l,a){return l[0]=a[0],l[1]=a[1],l[2]=a[2],l}},8501:function(f){f.exports=function(){var l=new Float32Array(3);return l[0]=0,l[1]=0,l[2]=0,l}},903:function(f){f.exports=function(l,a,u){var o=a[0],s=a[1],c=a[2],h=u[0],m=u[1],w=u[2];return l[0]=s*w-c*m,l[1]=c*h-o*w,l[2]=o*m-s*h,l}},5981:function(f,l,a){f.exports=a(8288)},8288:function(f){f.exports=function(l,a){var u=a[0]-l[0],o=a[1]-l[1],s=a[2]-l[2];return Math.sqrt(u*u+o*o+s*s)}},8629:function(f,l,a){f.exports=a(7979)},7979:function(f){f.exports=function(l,a,u){return l[0]=a[0]/u[0],l[1]=a[1]/u[1],l[2]=a[2]/u[2],l}},9305:function(f){f.exports=function(l,a){return l[0]*a[0]+l[1]*a[1]+l[2]*a[2]}},154:function(f){f.exports=1e-6},4932:function(f,l,a){f.exports=function(o,s){var c=o[0],h=o[1],m=o[2],w=s[0],y=s[1],S=s[2];return Math.abs(c-w)<=u*Math.max(1,Math.abs(c),Math.abs(w))&&Math.abs(h-y)<=u*Math.max(1,Math.abs(h),Math.abs(y))&&Math.abs(m-S)<=u*Math.max(1,Math.abs(m),Math.abs(S))};var u=a(154)},5777:function(f){f.exports=function(l,a){return l[0]===a[0]&&l[1]===a[1]&&l[2]===a[2]}},3306:function(f){f.exports=function(l,a){return l[0]=Math.floor(a[0]),l[1]=Math.floor(a[1]),l[2]=Math.floor(a[2]),l}},7447:function(f,l,a){f.exports=function(o,s,c,h,m,w){var y,S;for(s||(s=3),c||(c=0),S=h?Math.min(h*s+c,o.length):o.length,y=c;y0&&(c=1/Math.sqrt(c),l[0]=a[0]*c,l[1]=a[1]*c,l[2]=a[2]*c),l}},6660:function(f){f.exports=function(l,a){a=a||1;var u=2*Math.random()*Math.PI,o=2*Math.random()-1,s=Math.sqrt(1-o*o)*a;return l[0]=Math.cos(u)*s,l[1]=Math.sin(u)*s,l[2]=o*a,l}},392:function(f){f.exports=function(l,a,u,o){var s=u[1],c=u[2],h=a[1]-s,m=a[2]-c,w=Math.sin(o),y=Math.cos(o);return l[0]=a[0],l[1]=s+h*y-m*w,l[2]=c+h*w+m*y,l}},3222:function(f){f.exports=function(l,a,u,o){var s=u[0],c=u[2],h=a[0]-s,m=a[2]-c,w=Math.sin(o),y=Math.cos(o);return l[0]=s+m*w+h*y,l[1]=a[1],l[2]=c+m*y-h*w,l}},3388:function(f){f.exports=function(l,a,u,o){var s=u[0],c=u[1],h=a[0]-s,m=a[1]-c,w=Math.sin(o),y=Math.cos(o);return l[0]=s+h*y-m*w,l[1]=c+h*w+m*y,l[2]=a[2],l}},1624:function(f){f.exports=function(l,a){return l[0]=Math.round(a[0]),l[1]=Math.round(a[1]),l[2]=Math.round(a[2]),l}},5685:function(f){f.exports=function(l,a,u){return l[0]=a[0]*u,l[1]=a[1]*u,l[2]=a[2]*u,l}},6722:function(f){f.exports=function(l,a,u,o){return l[0]=a[0]+u[0]*o,l[1]=a[1]+u[1]*o,l[2]=a[2]+u[2]*o,l}},831:function(f){f.exports=function(l,a,u,o){return l[0]=a,l[1]=u,l[2]=o,l}},5294:function(f,l,a){f.exports=a(6403)},3303:function(f,l,a){f.exports=a(4337)},6403:function(f){f.exports=function(l,a){var u=a[0]-l[0],o=a[1]-l[1],s=a[2]-l[2];return u*u+o*o+s*s}},4337:function(f){f.exports=function(l){var a=l[0],u=l[1],o=l[2];return a*a+u*u+o*o}},8921:function(f,l,a){f.exports=a(911)},911:function(f){f.exports=function(l,a,u){return l[0]=a[0]-u[0],l[1]=a[1]-u[1],l[2]=a[2]-u[2],l}},9908:function(f){f.exports=function(l,a,u){var o=a[0],s=a[1],c=a[2];return l[0]=o*u[0]+s*u[3]+c*u[6],l[1]=o*u[1]+s*u[4]+c*u[7],l[2]=o*u[2]+s*u[5]+c*u[8],l}},3255:function(f){f.exports=function(l,a,u){var o=a[0],s=a[1],c=a[2],h=u[3]*o+u[7]*s+u[11]*c+u[15];return h=h||1,l[0]=(u[0]*o+u[4]*s+u[8]*c+u[12])/h,l[1]=(u[1]*o+u[5]*s+u[9]*c+u[13])/h,l[2]=(u[2]*o+u[6]*s+u[10]*c+u[14])/h,l}},6568:function(f){f.exports=function(l,a,u){var o=a[0],s=a[1],c=a[2],h=u[0],m=u[1],w=u[2],y=u[3],S=y*o+m*c-w*s,_=y*s+w*o-h*c,k=y*c+h*s-m*o,E=-h*o-m*s-w*c;return l[0]=S*y+E*-h+_*-w-k*-m,l[1]=_*y+E*-m+k*-h-S*-w,l[2]=k*y+E*-w+S*-m-_*-h,l}},3433:function(f){f.exports=function(l,a,u){return l[0]=a[0]+u[0],l[1]=a[1]+u[1],l[2]=a[2]+u[2],l[3]=a[3]+u[3],l}},1413:function(f){f.exports=function(l){var a=new Float32Array(4);return a[0]=l[0],a[1]=l[1],a[2]=l[2],a[3]=l[3],a}},3470:function(f){f.exports=function(l,a){return l[0]=a[0],l[1]=a[1],l[2]=a[2],l[3]=a[3],l}},5313:function(f){f.exports=function(){var l=new Float32Array(4);return l[0]=0,l[1]=0,l[2]=0,l[3]=0,l}},5446:function(f){f.exports=function(l,a){var u=a[0]-l[0],o=a[1]-l[1],s=a[2]-l[2],c=a[3]-l[3];return Math.sqrt(u*u+o*o+s*s+c*c)}},205:function(f){f.exports=function(l,a,u){return l[0]=a[0]/u[0],l[1]=a[1]/u[1],l[2]=a[2]/u[2],l[3]=a[3]/u[3],l}},4242:function(f){f.exports=function(l,a){return l[0]*a[0]+l[1]*a[1]+l[2]*a[2]+l[3]*a[3]}},5680:function(f){f.exports=function(l,a,u,o){var s=new Float32Array(4);return s[0]=l,s[1]=a,s[2]=u,s[3]=o,s}},4020:function(f,l,a){f.exports={create:a(5313),clone:a(1413),fromValues:a(5680),copy:a(3470),set:a(6453),add:a(3433),subtract:a(2705),multiply:a(746),divide:a(205),min:a(2170),max:a(3030),scale:a(5510),scaleAndAdd:a(4224),distance:a(5446),squaredDistance:a(1542),length:a(8177),squaredLength:a(9037),negate:a(6459),inverse:a(8057),normalize:a(381),dot:a(4242),lerp:a(8746),random:a(3770),transformMat4:a(6342),transformQuat:a(5022)}},8057:function(f){f.exports=function(l,a){return l[0]=1/a[0],l[1]=1/a[1],l[2]=1/a[2],l[3]=1/a[3],l}},8177:function(f){f.exports=function(l){var a=l[0],u=l[1],o=l[2],s=l[3];return Math.sqrt(a*a+u*u+o*o+s*s)}},8746:function(f){f.exports=function(l,a,u,o){var s=a[0],c=a[1],h=a[2],m=a[3];return l[0]=s+o*(u[0]-s),l[1]=c+o*(u[1]-c),l[2]=h+o*(u[2]-h),l[3]=m+o*(u[3]-m),l}},3030:function(f){f.exports=function(l,a,u){return l[0]=Math.max(a[0],u[0]),l[1]=Math.max(a[1],u[1]),l[2]=Math.max(a[2],u[2]),l[3]=Math.max(a[3],u[3]),l}},2170:function(f){f.exports=function(l,a,u){return l[0]=Math.min(a[0],u[0]),l[1]=Math.min(a[1],u[1]),l[2]=Math.min(a[2],u[2]),l[3]=Math.min(a[3],u[3]),l}},746:function(f){f.exports=function(l,a,u){return l[0]=a[0]*u[0],l[1]=a[1]*u[1],l[2]=a[2]*u[2],l[3]=a[3]*u[3],l}},6459:function(f){f.exports=function(l,a){return l[0]=-a[0],l[1]=-a[1],l[2]=-a[2],l[3]=-a[3],l}},381:function(f){f.exports=function(l,a){var u=a[0],o=a[1],s=a[2],c=a[3],h=u*u+o*o+s*s+c*c;return h>0&&(h=1/Math.sqrt(h),l[0]=u*h,l[1]=o*h,l[2]=s*h,l[3]=c*h),l}},3770:function(f,l,a){var u=a(381),o=a(5510);f.exports=function(s,c){return c=c||1,s[0]=Math.random(),s[1]=Math.random(),s[2]=Math.random(),s[3]=Math.random(),u(s,s),o(s,s,c),s}},5510:function(f){f.exports=function(l,a,u){return l[0]=a[0]*u,l[1]=a[1]*u,l[2]=a[2]*u,l[3]=a[3]*u,l}},4224:function(f){f.exports=function(l,a,u,o){return l[0]=a[0]+u[0]*o,l[1]=a[1]+u[1]*o,l[2]=a[2]+u[2]*o,l[3]=a[3]+u[3]*o,l}},6453:function(f){f.exports=function(l,a,u,o,s){return l[0]=a,l[1]=u,l[2]=o,l[3]=s,l}},1542:function(f){f.exports=function(l,a){var u=a[0]-l[0],o=a[1]-l[1],s=a[2]-l[2],c=a[3]-l[3];return u*u+o*o+s*s+c*c}},9037:function(f){f.exports=function(l){var a=l[0],u=l[1],o=l[2],s=l[3];return a*a+u*u+o*o+s*s}},2705:function(f){f.exports=function(l,a,u){return l[0]=a[0]-u[0],l[1]=a[1]-u[1],l[2]=a[2]-u[2],l[3]=a[3]-u[3],l}},6342:function(f){f.exports=function(l,a,u){var o=a[0],s=a[1],c=a[2],h=a[3];return l[0]=u[0]*o+u[4]*s+u[8]*c+u[12]*h,l[1]=u[1]*o+u[5]*s+u[9]*c+u[13]*h,l[2]=u[2]*o+u[6]*s+u[10]*c+u[14]*h,l[3]=u[3]*o+u[7]*s+u[11]*c+u[15]*h,l}},5022:function(f){f.exports=function(l,a,u){var o=a[0],s=a[1],c=a[2],h=u[0],m=u[1],w=u[2],y=u[3],S=y*o+m*c-w*s,_=y*s+w*o-h*c,k=y*c+h*s-m*o,E=-h*o-m*s-w*c;return l[0]=S*y+E*-h+_*-w-k*-m,l[1]=_*y+E*-m+k*-h-S*-w,l[2]=k*y+E*-w+S*-m-_*-h,l[3]=a[3],l}},9365:function(f,l,a){var u=a(8096),o=a(7896);f.exports=function(s){for(var c=Array.isArray(s)?s:u(s),h=0;h0)continue;ye=ue.slice(0,1).join("")}return G(ye),z+=ye.length,(b=b.slice(ye.length)).length}}function Q(){return/[^a-fA-F0-9]/.test(_)?(G(b.join("")),L=m,x):(b.push(_),k=_,x+1)}function re(){return _==="."||/[eE]/.test(_)?(b.push(_),L=5,k=_,x+1):_==="x"&&b.length===1&&b[0]==="0"?(L=11,b.push(_),k=_,x+1):/[^\d]/.test(_)?(G(b.join("")),L=m,x):(b.push(_),k=_,x+1)}function ie(){return _==="f"&&(b.push(_),k=_,x+=1),/[eE]/.test(_)?(b.push(_),k=_,x+1):(_!=="-"&&_!=="+"||!/[eE]/.test(k))&&/[^\d]/.test(_)?(G(b.join("")),L=m,x):(b.push(_),k=_,x+1)}function oe(){if(/[^\d\w_]/.test(_)){var ue=b.join("");return L=U[ue]?8:$[ue]?7:6,G(b.join("")),L=m,x}return b.push(_),k=_,x+1}};var u=a(399),o=a(9746),s=a(9525),c=a(9458),h=a(3585),m=999,w=9999,y=["block-comment","line-comment","preprocessor","operator","integer","float","ident","builtin","keyword","whitespace","eof","integer"]},3585:function(f,l,a){var u=a(9525);u=u.slice().filter(function(o){return!/^(gl\_|texture)/.test(o)}),f.exports=u.concat(["gl_VertexID","gl_InstanceID","gl_Position","gl_PointSize","gl_FragCoord","gl_FrontFacing","gl_FragDepth","gl_PointCoord","gl_MaxVertexAttribs","gl_MaxVertexUniformVectors","gl_MaxVertexOutputVectors","gl_MaxFragmentInputVectors","gl_MaxVertexTextureImageUnits","gl_MaxCombinedTextureImageUnits","gl_MaxTextureImageUnits","gl_MaxFragmentUniformVectors","gl_MaxDrawBuffers","gl_MinProgramTexelOffset","gl_MaxProgramTexelOffset","gl_DepthRangeParameters","gl_DepthRange","trunc","round","roundEven","isnan","isinf","floatBitsToInt","floatBitsToUint","intBitsToFloat","uintBitsToFloat","packSnorm2x16","unpackSnorm2x16","packUnorm2x16","unpackUnorm2x16","packHalf2x16","unpackHalf2x16","outerProduct","transpose","determinant","inverse","texture","textureSize","textureProj","textureLod","textureOffset","texelFetch","texelFetchOffset","textureProjOffset","textureLodOffset","textureProjLod","textureProjLodOffset","textureGrad","textureGradOffset","textureProjGrad","textureProjGradOffset"])},9525:function(f){f.exports=["abs","acos","all","any","asin","atan","ceil","clamp","cos","cross","dFdx","dFdy","degrees","distance","dot","equal","exp","exp2","faceforward","floor","fract","gl_BackColor","gl_BackLightModelProduct","gl_BackLightProduct","gl_BackMaterial","gl_BackSecondaryColor","gl_ClipPlane","gl_ClipVertex","gl_Color","gl_DepthRange","gl_DepthRangeParameters","gl_EyePlaneQ","gl_EyePlaneR","gl_EyePlaneS","gl_EyePlaneT","gl_Fog","gl_FogCoord","gl_FogFragCoord","gl_FogParameters","gl_FragColor","gl_FragCoord","gl_FragData","gl_FragDepth","gl_FragDepthEXT","gl_FrontColor","gl_FrontFacing","gl_FrontLightModelProduct","gl_FrontLightProduct","gl_FrontMaterial","gl_FrontSecondaryColor","gl_LightModel","gl_LightModelParameters","gl_LightModelProducts","gl_LightProducts","gl_LightSource","gl_LightSourceParameters","gl_MaterialParameters","gl_MaxClipPlanes","gl_MaxCombinedTextureImageUnits","gl_MaxDrawBuffers","gl_MaxFragmentUniformComponents","gl_MaxLights","gl_MaxTextureCoords","gl_MaxTextureImageUnits","gl_MaxTextureUnits","gl_MaxVaryingFloats","gl_MaxVertexAttribs","gl_MaxVertexTextureImageUnits","gl_MaxVertexUniformComponents","gl_ModelViewMatrix","gl_ModelViewMatrixInverse","gl_ModelViewMatrixInverseTranspose","gl_ModelViewMatrixTranspose","gl_ModelViewProjectionMatrix","gl_ModelViewProjectionMatrixInverse","gl_ModelViewProjectionMatrixInverseTranspose","gl_ModelViewProjectionMatrixTranspose","gl_MultiTexCoord0","gl_MultiTexCoord1","gl_MultiTexCoord2","gl_MultiTexCoord3","gl_MultiTexCoord4","gl_MultiTexCoord5","gl_MultiTexCoord6","gl_MultiTexCoord7","gl_Normal","gl_NormalMatrix","gl_NormalScale","gl_ObjectPlaneQ","gl_ObjectPlaneR","gl_ObjectPlaneS","gl_ObjectPlaneT","gl_Point","gl_PointCoord","gl_PointParameters","gl_PointSize","gl_Position","gl_ProjectionMatrix","gl_ProjectionMatrixInverse","gl_ProjectionMatrixInverseTranspose","gl_ProjectionMatrixTranspose","gl_SecondaryColor","gl_TexCoord","gl_TextureEnvColor","gl_TextureMatrix","gl_TextureMatrixInverse","gl_TextureMatrixInverseTranspose","gl_TextureMatrixTranspose","gl_Vertex","greaterThan","greaterThanEqual","inversesqrt","length","lessThan","lessThanEqual","log","log2","matrixCompMult","max","min","mix","mod","normalize","not","notEqual","pow","radians","reflect","refract","sign","sin","smoothstep","sqrt","step","tan","texture2D","texture2DLod","texture2DProj","texture2DProjLod","textureCube","textureCubeLod","texture2DLodEXT","texture2DProjLodEXT","textureCubeLodEXT","texture2DGradEXT","texture2DProjGradEXT","textureCubeGradEXT"]},9458:function(f,l,a){var u=a(399);f.exports=u.slice().concat(["layout","centroid","smooth","case","mat2x2","mat2x3","mat2x4","mat3x2","mat3x3","mat3x4","mat4x2","mat4x3","mat4x4","uvec2","uvec3","uvec4","samplerCubeShadow","sampler2DArray","sampler2DArrayShadow","isampler2D","isampler3D","isamplerCube","isampler2DArray","usampler2D","usampler3D","usamplerCube","usampler2DArray","coherent","restrict","readonly","writeonly","resource","atomic_uint","noperspective","patch","sample","subroutine","common","partition","active","filter","image1D","image2D","image3D","imageCube","iimage1D","iimage2D","iimage3D","iimageCube","uimage1D","uimage2D","uimage3D","uimageCube","image1DArray","image2DArray","iimage1DArray","iimage2DArray","uimage1DArray","uimage2DArray","image1DShadow","image2DShadow","image1DArrayShadow","image2DArrayShadow","imageBuffer","iimageBuffer","uimageBuffer","sampler1DArray","sampler1DArrayShadow","isampler1D","isampler1DArray","usampler1D","usampler1DArray","isampler2DRect","usampler2DRect","samplerBuffer","isamplerBuffer","usamplerBuffer","sampler2DMS","isampler2DMS","usampler2DMS","sampler2DMSArray","isampler2DMSArray","usampler2DMSArray"])},399:function(f){f.exports=["precision","highp","mediump","lowp","attribute","const","uniform","varying","break","continue","do","for","while","if","else","in","out","inout","float","int","uint","void","bool","true","false","discard","return","mat2","mat3","mat4","vec2","vec3","vec4","ivec2","ivec3","ivec4","bvec2","bvec3","bvec4","sampler1D","sampler2D","sampler3D","samplerCube","sampler1DShadow","sampler2DShadow","struct","asm","class","union","enum","typedef","template","this","packed","goto","switch","default","inline","noinline","volatile","public","static","extern","external","interface","long","short","double","half","fixed","unsigned","input","output","hvec2","hvec3","hvec4","dvec2","dvec3","dvec4","fvec2","fvec3","fvec4","sampler2DRect","sampler3DRect","sampler2DRectShadow","sizeof","cast","namespace","using"]},9746:function(f){f.exports=["<<=",">>=","++","--","<<",">>","<=",">=","==","!=","&&","||","+=","-=","*=","/=","%=","&=","^^","^=","|=","(",")","[","]",".","!","~","*","/","%","+","-","<",">","&","^","|","?",":","=",",",";","{","}"]},8096:function(f,l,a){var u=a(3193);f.exports=function(o,s){var c=u(s),h=[];return(h=h.concat(c(o))).concat(c(null))}},6832:function(f){f.exports=function(l){typeof l=="string"&&(l=[l]);for(var a=[].slice.call(arguments,1),u=[],o=0;o0;)for(var b=(S=L.pop()).adjacent,R=0;R<=k;++R){var I=b[R];if(I.boundary&&!(I.lastVisited<=-E)){for(var O=I.vertices,z=0;z<=k;++z){var F=O[z];x[z]=F<0?_:A[F]}var B=this.orient();if(B>0)return I;I.lastVisited=-E,B===0&&L.push(I)}}return null},y.walk=function(S,_){var k=this.vertices.length-1,E=this.dimension,x=this.vertices,A=this.tuple,L=_?this.interior.length*Math.random()|0:this.interior.length-1,b=this.interior[L];e:for(;!b.boundary;){for(var R=b.vertices,I=b.adjacent,O=0;O<=E;++O)A[O]=x[R[O]];for(b.lastVisited=k,O=0;O<=E;++O){var z=I[O];if(!(z.lastVisited>=k)){var F=A[O];A[O]=S;var B=this.orient();if(A[O]=F,B<0){b=z;continue e}z.boundary?z.lastVisited=-k:z.lastVisited=k}}return}return b},y.addPeaks=function(S,_){var k=this.vertices.length-1,E=this.dimension,x=this.vertices,A=this.tuple,L=this.interior,b=this.simplices,R=[_];_.lastVisited=k,_.vertices[_.vertices.indexOf(-1)]=k,_.boundary=!1,L.push(_);for(var I=[];R.length>0;){var O=(_=R.pop()).vertices,z=_.adjacent,F=O.indexOf(k);if(!(F<0)){for(var B=0;B<=E;++B)if(B!==F){var N=z[B];if(N.boundary&&!(N.lastVisited>=k)){var W=N.vertices;if(N.lastVisited!==-k){for(var j=0,$=0;$<=E;++$)W[$]<0?(j=$,A[$]=S):A[$]=x[W[$]];if(this.orient()>0){W[j]=k,N.boundary=!1,L.push(N),R.push(N),N.lastVisited=k;continue}N.lastVisited=-k}var U=N.adjacent,G=O.slice(),q=z.slice(),H=new s(G,q,!0);b.push(H);var ne=U.indexOf(_);if(!(ne<0))for(U[ne]=H,q[F]=N,G[B]=-1,q[B]=_,z[B]=H,H.flip(),$=0;$<=E;++$){var te=G[$];if(!(te<0||te===k)){for(var Z=new Array(E-1),X=0,Q=0;Q<=E;++Q){var re=G[Q];re<0||Q===$||(Z[X++]=re)}I.push(new c(Z,H,$))}}}}}}for(I.sort(h),B=0;B+1=0?L[R++]=b[O]:I=1&O;if(I===(1&S)){var z=L[0];L[0]=L[1],L[1]=z}_.push(L)}}return _}},9014:function(f,l,a){var u=a(5070);function o(R,I,O,z,F){this.mid=R,this.left=I,this.right=O,this.leftPoints=z,this.rightPoints=F,this.count=(I?I.count:0)+(O?O.count:0)+z.length}f.exports=function(R){return R&&R.length!==0?new L(A(R)):new L(null)};var s=o.prototype;function c(R,I){R.mid=I.mid,R.left=I.left,R.right=I.right,R.leftPoints=I.leftPoints,R.rightPoints=I.rightPoints,R.count=I.count}function h(R,I){var O=A(I);R.mid=O.mid,R.left=O.left,R.right=O.right,R.leftPoints=O.leftPoints,R.rightPoints=O.rightPoints,R.count=O.count}function m(R,I){var O=R.intervals([]);O.push(I),h(R,O)}function w(R,I){var O=R.intervals([]),z=O.indexOf(I);return z<0?0:(O.splice(z,1),h(R,O),1)}function y(R,I,O){for(var z=0;z=0&&R[z][1]>=I;--z){var F=O(R[z]);if(F)return F}}function _(R,I){for(var O=0;O>1],F=[],B=[],N=[];for(O=0;O3*(I+1)?m(this,R):this.left.insert(R):this.left=A([R]);else if(R[0]>this.mid)this.right?4*(this.right.count+1)>3*(I+1)?m(this,R):this.right.insert(R):this.right=A([R]);else{var O=u.ge(this.leftPoints,R,E),z=u.ge(this.rightPoints,R,x);this.leftPoints.splice(O,0,R),this.rightPoints.splice(z,0,R)}},s.remove=function(R){var I=this.count-this.leftPoints;if(R[1]3*(I-1)?w(this,R):(B=this.left.remove(R))===2?(this.left=null,this.count-=1,1):(B===1&&(this.count-=1),B):0;if(R[0]>this.mid)return this.right?4*(this.left?this.left.count:0)>3*(I-1)?w(this,R):(B=this.right.remove(R))===2?(this.right=null,this.count-=1,1):(B===1&&(this.count-=1),B):0;if(this.count===1)return this.leftPoints[0]===R?2:0;if(this.leftPoints.length===1&&this.leftPoints[0]===R){if(this.left&&this.right){for(var O=this,z=this.left;z.right;)O=z,z=z.right;if(O===this)z.right=this.right;else{var F=this.left,B=this.right;O.count-=z.count,O.right=z.left,z.left=F,z.right=B}c(this,z),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?c(this,this.left):c(this,this.right);return 1}for(F=u.ge(this.leftPoints,R,E);Fthis.mid?this.right&&(O=this.right.queryPoint(R,I))?O:S(this.rightPoints,R,I):_(this.leftPoints,I);var O},s.queryInterval=function(R,I,O){var z;return Rthis.mid&&this.right&&(z=this.right.queryInterval(R,I,O))?z:Ithis.mid?S(this.rightPoints,R,O):_(this.leftPoints,O)};var b=L.prototype;b.insert=function(R){this.root?this.root.insert(R):this.root=new o(R[0],null,null,[R],[R])},b.remove=function(R){if(this.root){var I=this.root.remove(R);return I===2&&(this.root=null),I!==0}return!1},b.queryPoint=function(R,I){if(this.root)return this.root.queryPoint(R,I)},b.queryInterval=function(R,I,O){if(R<=I&&this.root)return this.root.queryInterval(R,I,O)},Object.defineProperty(b,"count",{get:function(){return this.root?this.root.count:0}}),Object.defineProperty(b,"intervals",{get:function(){return this.root?this.root.intervals([]):[]}})},9560:function(f){f.exports=function(l){for(var a=new Array(l),u=0;u13)&&a!==32&&a!==133&&a!==160&&a!==5760&&a!==6158&&(a<8192||a>8205)&&a!==8232&&a!==8233&&a!==8239&&a!==8287&&a!==8288&&a!==12288&&a!==65279)return!1;return!0}},3578:function(f){f.exports=function(l,a,u){return l*(1-u)+a*u}},7191:function(f,l,a){var u=a(4690),o=a(9823),s=a(7332),c=a(7787),h=a(7437),m=a(2142),w={length:a(4693),normalize:a(899),dot:a(9305),cross:a(903)},y=o(),S=o(),_=[0,0,0,0],k=[[0,0,0],[0,0,0],[0,0,0]],E=[0,0,0];function x(A,L,b,R,I){A[0]=L[0]*R+b[0]*I,A[1]=L[1]*R+b[1]*I,A[2]=L[2]*R+b[2]*I}f.exports=function(A,L,b,R,I,O){if(L||(L=[0,0,0]),b||(b=[0,0,0]),R||(R=[0,0,0]),I||(I=[0,0,0,1]),O||(O=[0,0,0,1]),!u(y,A)||(s(S,y),S[3]=0,S[7]=0,S[11]=0,S[15]=1,Math.abs(c(S)<1e-8)))return!1;var z,F,B,N,W,j,$,U=y[3],G=y[7],q=y[11],H=y[12],ne=y[13],te=y[14],Z=y[15];if(U!==0||G!==0||q!==0){if(_[0]=U,_[1]=G,_[2]=q,_[3]=Z,!h(S,S))return!1;m(S,S),z=I,B=S,N=(F=_)[0],W=F[1],j=F[2],$=F[3],z[0]=B[0]*N+B[4]*W+B[8]*j+B[12]*$,z[1]=B[1]*N+B[5]*W+B[9]*j+B[13]*$,z[2]=B[2]*N+B[6]*W+B[10]*j+B[14]*$,z[3]=B[3]*N+B[7]*W+B[11]*j+B[15]*$}else I[0]=I[1]=I[2]=0,I[3]=1;if(L[0]=H,L[1]=ne,L[2]=te,function(Q,re){Q[0][0]=re[0],Q[0][1]=re[1],Q[0][2]=re[2],Q[1][0]=re[4],Q[1][1]=re[5],Q[1][2]=re[6],Q[2][0]=re[8],Q[2][1]=re[9],Q[2][2]=re[10]}(k,y),b[0]=w.length(k[0]),w.normalize(k[0],k[0]),R[0]=w.dot(k[0],k[1]),x(k[1],k[1],k[0],1,-R[0]),b[1]=w.length(k[1]),w.normalize(k[1],k[1]),R[0]/=b[1],R[1]=w.dot(k[0],k[2]),x(k[2],k[2],k[0],1,-R[1]),R[2]=w.dot(k[1],k[2]),x(k[2],k[2],k[1],1,-R[2]),b[2]=w.length(k[2]),w.normalize(k[2],k[2]),R[1]/=b[2],R[2]/=b[2],w.cross(E,k[1],k[2]),w.dot(k[0],E)<0)for(var X=0;X<3;X++)b[X]*=-1,k[X][0]*=-1,k[X][1]*=-1,k[X][2]*=-1;return O[0]=.5*Math.sqrt(Math.max(1+k[0][0]-k[1][1]-k[2][2],0)),O[1]=.5*Math.sqrt(Math.max(1-k[0][0]+k[1][1]-k[2][2],0)),O[2]=.5*Math.sqrt(Math.max(1-k[0][0]-k[1][1]+k[2][2],0)),O[3]=.5*Math.sqrt(Math.max(1+k[0][0]+k[1][1]+k[2][2],0)),k[2][1]>k[1][2]&&(O[0]=-O[0]),k[0][2]>k[2][0]&&(O[1]=-O[1]),k[1][0]>k[0][1]&&(O[2]=-O[2]),!0}},4690:function(f){f.exports=function(l,a){var u=a[15];if(u===0)return!1;for(var o=1/u,s=0;s<16;s++)l[s]=a[s]*o;return!0}},7649:function(f,l,a){var u=a(1868),o=a(1102),s=a(7191),c=a(7787),h=a(1116),m=S(),w=S(),y=S();function S(){return{translate:_(),scale:_(1),skew:_(),perspective:[0,0,0,1],quaternion:[0,0,0,1]}}function _(k){return[k||0,k||0,k||0]}f.exports=function(k,E,x,A){if(c(E)===0||c(x)===0)return!1;var L=s(E,m.translate,m.scale,m.skew,m.perspective,m.quaternion),b=s(x,w.translate,w.scale,w.skew,w.perspective,w.quaternion);return!(!L||!b||(u(y.translate,m.translate,w.translate,A),u(y.skew,m.skew,w.skew,A),u(y.scale,m.scale,w.scale,A),u(y.perspective,m.perspective,w.perspective,A),h(y.quaternion,m.quaternion,w.quaternion,A),o(k,y.translate,y.scale,y.skew,y.perspective,y.quaternion),0))}},1102:function(f,l,a){var u={identity:a(9947),translate:a(998),multiply:a(104),create:a(9823),scale:a(3668),fromRotationTranslation:a(7280)},o=(u.create(),u.create());f.exports=function(s,c,h,m,w,y){return u.identity(s),u.fromRotationTranslation(s,y,c),s[3]=w[0],s[7]=w[1],s[11]=w[2],s[15]=w[3],u.identity(o),m[2]!==0&&(o[9]=m[2],u.multiply(s,s,o)),m[1]!==0&&(o[9]=0,o[8]=m[1],u.multiply(s,s,o)),m[0]!==0&&(o[8]=0,o[4]=m[0],u.multiply(s,s,o)),u.scale(s,s,h),s}},9298:function(f,l,a){var u=a(5070),o=a(7649),s=a(7437),c=a(6109),h=a(7115),m=a(5240),w=a(3012),y=a(998),S=(a(3668),a(899)),_=[0,0,0];function k(A){this._components=A.slice(),this._time=[0],this.prevMatrix=A.slice(),this.nextMatrix=A.slice(),this.computedMatrix=A.slice(),this.computedInverse=A.slice(),this.computedEye=[0,0,0],this.computedUp=[0,0,0],this.computedCenter=[0,0,0],this.computedRadius=[0],this._limits=[-1/0,1/0]}f.exports=function(A){return new k((A=A||{}).matrix||[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1])};var E=k.prototype;E.recalcMatrix=function(A){var L=this._time,b=u.le(L,A),R=this.computedMatrix;if(!(b<0)){var I=this._components;if(b===L.length-1)for(var O=16*b,z=0;z<16;++z)R[z]=I[O++];else{var F=L[b+1]-L[b],B=(O=16*b,this.prevMatrix),N=!0;for(z=0;z<16;++z)B[z]=I[O++];var W=this.nextMatrix;for(z=0;z<16;++z)W[z]=I[O++],N=N&&B[z]===W[z];if(F<1e-6||N)for(z=0;z<16;++z)R[z]=B[z];else o(R,B,W,(A-L[b])/F)}var j=this.computedUp;j[0]=R[1],j[1]=R[5],j[2]=R[9],S(j,j);var $=this.computedInverse;s($,R);var U=this.computedEye,G=$[15];U[0]=$[12]/G,U[1]=$[13]/G,U[2]=$[14]/G;var q=this.computedCenter,H=Math.exp(this.computedRadius[0]);for(z=0;z<3;++z)q[z]=U[z]-R[2+4*z]*H}},E.idle=function(A){if(!(A1&&u(o[w[k-2]],o[w[k-1]],_)<=0;)k-=1,w.pop();for(w.push(S),k=y.length;k>1&&u(o[y[k-2]],o[y[k-1]],_)>=0;)k-=1,y.pop();y.push(S)}c=new Array(y.length+w.length-2);for(var E=0,x=(h=0,w.length);h0;--A)c[E++]=y[A];return c};var u=a(417)[3]},6145:function(f,l,a){f.exports=function(o,s){s||(s=o,o=window);var c=0,h=0,m=0,w={shift:!1,alt:!1,control:!1,meta:!1},y=!1;function S(O){var z=!1;return"altKey"in O&&(z=z||O.altKey!==w.alt,w.alt=!!O.altKey),"shiftKey"in O&&(z=z||O.shiftKey!==w.shift,w.shift=!!O.shiftKey),"ctrlKey"in O&&(z=z||O.ctrlKey!==w.control,w.control=!!O.ctrlKey),"metaKey"in O&&(z=z||O.metaKey!==w.meta,w.meta=!!O.metaKey),z}function _(O,z){var F=u.x(z),B=u.y(z);"buttons"in z&&(O=0|z.buttons),(O!==c||F!==h||B!==m||S(z))&&(c=0|O,h=F||0,m=B||0,s&&s(c,h,m,w))}function k(O){_(0,O)}function E(){(c||h||m||w.shift||w.alt||w.meta||w.control)&&(h=m=0,c=0,w.shift=w.alt=w.control=w.meta=!1,s&&s(0,0,0,w))}function x(O){S(O)&&s&&s(c,h,m,w)}function A(O){u.buttons(O)===0?_(0,O):_(c,O)}function L(O){_(c|u.buttons(O),O)}function b(O){_(c&~u.buttons(O),O)}function R(){y||(y=!0,o.addEventListener("mousemove",A),o.addEventListener("mousedown",L),o.addEventListener("mouseup",b),o.addEventListener("mouseleave",k),o.addEventListener("mouseenter",k),o.addEventListener("mouseout",k),o.addEventListener("mouseover",k),o.addEventListener("blur",E),o.addEventListener("keyup",x),o.addEventListener("keydown",x),o.addEventListener("keypress",x),o!==window&&(window.addEventListener("blur",E),window.addEventListener("keyup",x),window.addEventListener("keydown",x),window.addEventListener("keypress",x)))}R();var I={element:o};return Object.defineProperties(I,{enabled:{get:function(){return y},set:function(O){O?R():y&&(y=!1,o.removeEventListener("mousemove",A),o.removeEventListener("mousedown",L),o.removeEventListener("mouseup",b),o.removeEventListener("mouseleave",k),o.removeEventListener("mouseenter",k),o.removeEventListener("mouseout",k),o.removeEventListener("mouseover",k),o.removeEventListener("blur",E),o.removeEventListener("keyup",x),o.removeEventListener("keydown",x),o.removeEventListener("keypress",x),o!==window&&(window.removeEventListener("blur",E),window.removeEventListener("keyup",x),window.removeEventListener("keydown",x),window.removeEventListener("keypress",x)))},enumerable:!0},buttons:{get:function(){return c},enumerable:!0},x:{get:function(){return h},enumerable:!0},y:{get:function(){return m},enumerable:!0},mods:{get:function(){return w},enumerable:!0}}),I};var u=a(4110)},2565:function(f){var l={left:0,top:0};f.exports=function(a,u,o){u=u||a.currentTarget||a.srcElement,Array.isArray(o)||(o=[0,0]);var s,c=a.clientX||0,h=a.clientY||0,m=(s=u)===window||s===document||s===document.body?l:s.getBoundingClientRect();return o[0]=c-m.left,o[1]=h-m.top,o}},4110:function(f,l){function a(u){return u.target||u.srcElement||window}l.buttons=function(u){if(typeof u=="object"){if("buttons"in u)return u.buttons;if("which"in u){if((o=u.which)===2)return 4;if(o===3)return 2;if(o>0)return 1<=0)return 1< 0"),typeof s.vertex!="function"&&c("Must specify vertex creation function"),typeof s.cell!="function"&&c("Must specify cell creation function"),typeof s.phase!="function"&&c("Must specify phase function");for(var w=s.getters||[],y=new Array(m),S=0;S=0?y[S]=!0:y[S]=!1;return function(_,k,E,x,A,L){var b=[L,A].join(",");return(0,o[b])(_,k,E,u.mallocUint32,u.freeUint32)}(s.vertex,s.cell,s.phase,0,h,y)};var o={"false,0,1":function(s,c,h,m,w){return function(y,S,_,k){var E,x=0|y.shape[0],A=0|y.shape[1],L=y.data,b=0|y.offset,R=0|y.stride[0],I=0|y.stride[1],O=b,z=0|-R,F=0,B=0|-I,N=0,W=-R-I|0,j=0,$=0|R,U=I-R*x|0,G=0,q=0,H=0,ne=2*x|0,te=m(ne),Z=m(ne),X=0,Q=0,re=-1,ie=-1,oe=0,ue=0|-x,ce=0|x,ye=0,de=-x-1|0,me=x-1|0,pe=0,xe=0,Pe=0;for(G=0;G0){if(q=1,te[X++]=h(L[O],S,_,k),O+=$,x>0)for(G=1,E=L[O],Q=te[X]=h(E,S,_,k),oe=te[X+re],ye=te[X+ue],pe=te[X+de],Q===oe&&Q===ye&&Q===pe||(F=L[O+z],N=L[O+B],j=L[O+W],s(G,q,E,F,N,j,Q,oe,ye,pe,S,_,k),xe=Z[X]=H++),X+=1,O+=$,G=2;G0)for(G=1,E=L[O],Q=te[X]=h(E,S,_,k),oe=te[X+re],ye=te[X+ue],pe=te[X+de],Q===oe&&Q===ye&&Q===pe||(F=L[O+z],N=L[O+B],j=L[O+W],s(G,q,E,F,N,j,Q,oe,ye,pe,S,_,k),xe=Z[X]=H++,pe!==ye&&c(Z[X+ue],xe,N,j,ye,pe,S,_,k)),X+=1,O+=$,G=2;G0){if(G=1,te[X++]=h(L[O],S,_,k),O+=$,A>0)for(q=1,E=L[O],Q=te[X]=h(E,S,_,k),ye=te[X+ue],oe=te[X+re],pe=te[X+de],Q===ye&&Q===oe&&Q===pe||(F=L[O+z],N=L[O+B],j=L[O+W],s(G,q,E,F,N,j,Q,ye,oe,pe,S,_,k),xe=Z[X]=H++),X+=1,O+=$,q=2;q0)for(q=1,E=L[O],Q=te[X]=h(E,S,_,k),ye=te[X+ue],oe=te[X+re],pe=te[X+de],Q===ye&&Q===oe&&Q===pe||(F=L[O+z],N=L[O+B],j=L[O+W],s(G,q,E,F,N,j,Q,ye,oe,pe,S,_,k),xe=Z[X]=H++,pe!==ye&&c(Z[X+ue],xe,j,F,pe,ye,S,_,k)),X+=1,O+=$,q=2;q2&&O[1]>2&&b(I.pick(-1,-1).lo(1,1).hi(O[0]-2,O[1]-2),R.pick(-1,-1,0).lo(1,1).hi(O[0]-2,O[1]-2),R.pick(-1,-1,1).lo(1,1).hi(O[0]-2,O[1]-2)),O[1]>2&&(L(I.pick(0,-1).lo(1).hi(O[1]-2),R.pick(0,-1,1).lo(1).hi(O[1]-2)),A(R.pick(0,-1,0).lo(1).hi(O[1]-2))),O[1]>2&&(L(I.pick(O[0]-1,-1).lo(1).hi(O[1]-2),R.pick(O[0]-1,-1,1).lo(1).hi(O[1]-2)),A(R.pick(O[0]-1,-1,0).lo(1).hi(O[1]-2))),O[0]>2&&(L(I.pick(-1,0).lo(1).hi(O[0]-2),R.pick(-1,0,0).lo(1).hi(O[0]-2)),A(R.pick(-1,0,1).lo(1).hi(O[0]-2))),O[0]>2&&(L(I.pick(-1,O[1]-1).lo(1).hi(O[0]-2),R.pick(-1,O[1]-1,0).lo(1).hi(O[0]-2)),A(R.pick(-1,O[1]-1,1).lo(1).hi(O[0]-2))),R.set(0,0,0,0),R.set(0,0,1,0),R.set(O[0]-1,0,0,0),R.set(O[0]-1,0,1,0),R.set(0,O[1]-1,0,0),R.set(0,O[1]-1,1,0),R.set(O[0]-1,O[1]-1,0,0),R.set(O[0]-1,O[1]-1,1,0),R}}f.exports=function(x,A,L){return Array.isArray(L)||(L=u(A.dimension,typeof L=="string"?L:"clamp")),A.size===0?x:A.dimension===0?(x.set(0),x):function(b){var R=b.join();if(F=y[R])return F;for(var I=b.length,O=[S,_],z=1;z<=I;++z)O.push(k(z));var F=E.apply(void 0,O);return y[R]=F,F}(L)(x,A)}},3581:function(f){function l(s,c){var h=Math.floor(c),m=c-h,w=0<=h&&h0;){W<64?(x=W,W=0):(x=64,W-=64);for(var j=0|h[1];j>0;){j<64?(A=j,j=0):(A=64,j-=64),y=B+W*b+j*R,k=N+W*O+j*z;var $=0,U=0,G=0,q=I,H=b-L*I,ne=R-x*b,te=F,Z=O-L*F,X=z-x*O;for(G=0;G0;){z<64?(x=z,z=0):(x=64,z-=64);for(var F=0|h[0];F>0;){F<64?(E=F,F=0):(E=64,F-=64),y=I+z*L+F*A,k=O+z*R+F*b;var B=0,N=0,W=L,j=A-x*L,$=R,U=b-x*R;for(N=0;N0;){N<64?(A=N,N=0):(A=64,N-=64);for(var W=0|h[0];W>0;){W<64?(E=W,W=0):(E=64,W-=64);for(var j=0|h[1];j>0;){j<64?(x=j,j=0):(x=64,j-=64),y=F+N*R+W*L+j*b,k=B+N*z+W*I+j*O;var $=0,U=0,G=0,q=R,H=L-A*R,ne=b-E*L,te=z,Z=I-A*z,X=O-E*I;for(G=0;Gy;){N=0,W=F-E;t:for(B=0;B$)break t;W+=R,N+=I}for(N=F,W=F-E,B=0;B>1,Ce=Se-Pe,ae=Se+Pe,fe=_e,be=Ce,ke=Se,Le=ae,Be=Me,ze=_+1,je=k-1,ge=!0,we=0,Ee=0,Ve=0,$e=R,Ye=w($e),st=w($e);ne=A*fe,te=A*be,xe=x;e:for(H=0;H0){B=fe,fe=be,be=B;break e}if(Ve<0)break e;xe+=O}ne=A*Le,te=A*Be,xe=x;e:for(H=0;H0){B=Le,Le=Be,Be=B;break e}if(Ve<0)break e;xe+=O}ne=A*fe,te=A*ke,xe=x;e:for(H=0;H0){B=fe,fe=ke,ke=B;break e}if(Ve<0)break e;xe+=O}ne=A*be,te=A*ke,xe=x;e:for(H=0;H0){B=be,be=ke,ke=B;break e}if(Ve<0)break e;xe+=O}ne=A*fe,te=A*Le,xe=x;e:for(H=0;H0){B=fe,fe=Le,Le=B;break e}if(Ve<0)break e;xe+=O}ne=A*ke,te=A*Le,xe=x;e:for(H=0;H0){B=ke,ke=Le,Le=B;break e}if(Ve<0)break e;xe+=O}ne=A*be,te=A*Be,xe=x;e:for(H=0;H0){B=be,be=Be,Be=B;break e}if(Ve<0)break e;xe+=O}ne=A*be,te=A*ke,xe=x;e:for(H=0;H0){B=be,be=ke,ke=B;break e}if(Ve<0)break e;xe+=O}ne=A*Le,te=A*Be,xe=x;e:for(H=0;H0){B=Le,Le=Be,Be=B;break e}if(Ve<0)break e;xe+=O}for(ne=A*fe,te=A*be,Z=A*ke,X=A*Le,Q=A*Be,re=A*_e,ie=A*Se,oe=A*Me,pe=0,xe=x,H=0;H0)){if(Ve<0){for(ne=A*$,te=A*ze,Z=A*je,xe=x,H=0;H0)for(;;){for(U=x+je*A,pe=0,H=0;H0)){for(U=x+je*A,pe=0,H=0;HMe){e:for(;;){for(U=x+ze*A,pe=0,xe=x,H=0;H1&&L?R(A,L[0],L[1]):R(A)}(m,w,_);return S(_,k)}},8729:function(f,l,a){var u=a(8139),o={};f.exports=function(s){var c=s.order,h=s.dtype,m=[c,h].join(":"),w=o[m];return w||(o[m]=w=u(c,h)),w(s),s}},5050:function(f,l,a){var u=a(4780),o=typeof Float64Array<"u";function s(y,S){return y[0]-S[0]}function c(){var y,S=this.stride,_=new Array(S.length);for(y=0;y<_.length;++y)_[y]=[Math.abs(S[y]),y];_.sort(s);var k=new Array(_.length);for(y=0;y=0&&(A+=R*(L=0|x),b-=L),new k(this.data,b,R,A)},E.step=function(x){var A=this.shape[0],L=this.stride[0],b=this.offset,R=0,I=Math.ceil;return typeof x=="number"&&((R=0|x)<0?(b+=L*(A-1),A=I(-A/R)):A=I(A/R),L*=R),new k(this.data,A,L,b)},E.transpose=function(x){x=x===void 0?0:0|x;var A=this.shape,L=this.stride;return new k(this.data,A[x],L[x],this.offset)},E.pick=function(x){var A=[],L=[],b=this.offset;return typeof x=="number"&&x>=0?b=b+this.stride[0]*x|0:(A.push(this.shape[0]),L.push(this.stride[0])),(0,S[A.length+1])(this.data,A,L,b)},function(x,A,L,b){return new k(x,A[0],L[0],b)}},2:function(y,S,_){function k(x,A,L,b,R,I){this.data=x,this.shape=[A,L],this.stride=[b,R],this.offset=0|I}var E=k.prototype;return E.dtype=y,E.dimension=2,Object.defineProperty(E,"size",{get:function(){return this.shape[0]*this.shape[1]}}),Object.defineProperty(E,"order",{get:function(){return Math.abs(this.stride[0])>Math.abs(this.stride[1])?[1,0]:[0,1]}}),E.set=function(x,A,L){return y==="generic"?this.data.set(this.offset+this.stride[0]*x+this.stride[1]*A,L):this.data[this.offset+this.stride[0]*x+this.stride[1]*A]=L},E.get=function(x,A){return y==="generic"?this.data.get(this.offset+this.stride[0]*x+this.stride[1]*A):this.data[this.offset+this.stride[0]*x+this.stride[1]*A]},E.index=function(x,A){return this.offset+this.stride[0]*x+this.stride[1]*A},E.hi=function(x,A){return new k(this.data,typeof x!="number"||x<0?this.shape[0]:0|x,typeof A!="number"||A<0?this.shape[1]:0|A,this.stride[0],this.stride[1],this.offset)},E.lo=function(x,A){var L=this.offset,b=0,R=this.shape[0],I=this.shape[1],O=this.stride[0],z=this.stride[1];return typeof x=="number"&&x>=0&&(L+=O*(b=0|x),R-=b),typeof A=="number"&&A>=0&&(L+=z*(b=0|A),I-=b),new k(this.data,R,I,O,z,L)},E.step=function(x,A){var L=this.shape[0],b=this.shape[1],R=this.stride[0],I=this.stride[1],O=this.offset,z=0,F=Math.ceil;return typeof x=="number"&&((z=0|x)<0?(O+=R*(L-1),L=F(-L/z)):L=F(L/z),R*=z),typeof A=="number"&&((z=0|A)<0?(O+=I*(b-1),b=F(-b/z)):b=F(b/z),I*=z),new k(this.data,L,b,R,I,O)},E.transpose=function(x,A){x=x===void 0?0:0|x,A=A===void 0?1:0|A;var L=this.shape,b=this.stride;return new k(this.data,L[x],L[A],b[x],b[A],this.offset)},E.pick=function(x,A){var L=[],b=[],R=this.offset;return typeof x=="number"&&x>=0?R=R+this.stride[0]*x|0:(L.push(this.shape[0]),b.push(this.stride[0])),typeof A=="number"&&A>=0?R=R+this.stride[1]*A|0:(L.push(this.shape[1]),b.push(this.stride[1])),(0,S[L.length+1])(this.data,L,b,R)},function(x,A,L,b){return new k(x,A[0],A[1],L[0],L[1],b)}},3:function(y,S,_){function k(x,A,L,b,R,I,O,z){this.data=x,this.shape=[A,L,b],this.stride=[R,I,O],this.offset=0|z}var E=k.prototype;return E.dtype=y,E.dimension=3,Object.defineProperty(E,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]}}),Object.defineProperty(E,"order",{get:function(){var x=Math.abs(this.stride[0]),A=Math.abs(this.stride[1]),L=Math.abs(this.stride[2]);return x>A?A>L?[2,1,0]:x>L?[1,2,0]:[1,0,2]:x>L?[2,0,1]:L>A?[0,1,2]:[0,2,1]}}),E.set=function(x,A,L,b){return y==="generic"?this.data.set(this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L,b):this.data[this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L]=b},E.get=function(x,A,L){return y==="generic"?this.data.get(this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L):this.data[this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L]},E.index=function(x,A,L){return this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L},E.hi=function(x,A,L){return new k(this.data,typeof x!="number"||x<0?this.shape[0]:0|x,typeof A!="number"||A<0?this.shape[1]:0|A,typeof L!="number"||L<0?this.shape[2]:0|L,this.stride[0],this.stride[1],this.stride[2],this.offset)},E.lo=function(x,A,L){var b=this.offset,R=0,I=this.shape[0],O=this.shape[1],z=this.shape[2],F=this.stride[0],B=this.stride[1],N=this.stride[2];return typeof x=="number"&&x>=0&&(b+=F*(R=0|x),I-=R),typeof A=="number"&&A>=0&&(b+=B*(R=0|A),O-=R),typeof L=="number"&&L>=0&&(b+=N*(R=0|L),z-=R),new k(this.data,I,O,z,F,B,N,b)},E.step=function(x,A,L){var b=this.shape[0],R=this.shape[1],I=this.shape[2],O=this.stride[0],z=this.stride[1],F=this.stride[2],B=this.offset,N=0,W=Math.ceil;return typeof x=="number"&&((N=0|x)<0?(B+=O*(b-1),b=W(-b/N)):b=W(b/N),O*=N),typeof A=="number"&&((N=0|A)<0?(B+=z*(R-1),R=W(-R/N)):R=W(R/N),z*=N),typeof L=="number"&&((N=0|L)<0?(B+=F*(I-1),I=W(-I/N)):I=W(I/N),F*=N),new k(this.data,b,R,I,O,z,F,B)},E.transpose=function(x,A,L){x=x===void 0?0:0|x,A=A===void 0?1:0|A,L=L===void 0?2:0|L;var b=this.shape,R=this.stride;return new k(this.data,b[x],b[A],b[L],R[x],R[A],R[L],this.offset)},E.pick=function(x,A,L){var b=[],R=[],I=this.offset;return typeof x=="number"&&x>=0?I=I+this.stride[0]*x|0:(b.push(this.shape[0]),R.push(this.stride[0])),typeof A=="number"&&A>=0?I=I+this.stride[1]*A|0:(b.push(this.shape[1]),R.push(this.stride[1])),typeof L=="number"&&L>=0?I=I+this.stride[2]*L|0:(b.push(this.shape[2]),R.push(this.stride[2])),(0,S[b.length+1])(this.data,b,R,I)},function(x,A,L,b){return new k(x,A[0],A[1],A[2],L[0],L[1],L[2],b)}},4:function(y,S,_){function k(x,A,L,b,R,I,O,z,F,B){this.data=x,this.shape=[A,L,b,R],this.stride=[I,O,z,F],this.offset=0|B}var E=k.prototype;return E.dtype=y,E.dimension=4,Object.defineProperty(E,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]*this.shape[3]}}),Object.defineProperty(E,"order",{get:_}),E.set=function(x,A,L,b,R){return y==="generic"?this.data.set(this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b,R):this.data[this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b]=R},E.get=function(x,A,L,b){return y==="generic"?this.data.get(this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b):this.data[this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b]},E.index=function(x,A,L,b){return this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b},E.hi=function(x,A,L,b){return new k(this.data,typeof x!="number"||x<0?this.shape[0]:0|x,typeof A!="number"||A<0?this.shape[1]:0|A,typeof L!="number"||L<0?this.shape[2]:0|L,typeof b!="number"||b<0?this.shape[3]:0|b,this.stride[0],this.stride[1],this.stride[2],this.stride[3],this.offset)},E.lo=function(x,A,L,b){var R=this.offset,I=0,O=this.shape[0],z=this.shape[1],F=this.shape[2],B=this.shape[3],N=this.stride[0],W=this.stride[1],j=this.stride[2],$=this.stride[3];return typeof x=="number"&&x>=0&&(R+=N*(I=0|x),O-=I),typeof A=="number"&&A>=0&&(R+=W*(I=0|A),z-=I),typeof L=="number"&&L>=0&&(R+=j*(I=0|L),F-=I),typeof b=="number"&&b>=0&&(R+=$*(I=0|b),B-=I),new k(this.data,O,z,F,B,N,W,j,$,R)},E.step=function(x,A,L,b){var R=this.shape[0],I=this.shape[1],O=this.shape[2],z=this.shape[3],F=this.stride[0],B=this.stride[1],N=this.stride[2],W=this.stride[3],j=this.offset,$=0,U=Math.ceil;return typeof x=="number"&&(($=0|x)<0?(j+=F*(R-1),R=U(-R/$)):R=U(R/$),F*=$),typeof A=="number"&&(($=0|A)<0?(j+=B*(I-1),I=U(-I/$)):I=U(I/$),B*=$),typeof L=="number"&&(($=0|L)<0?(j+=N*(O-1),O=U(-O/$)):O=U(O/$),N*=$),typeof b=="number"&&(($=0|b)<0?(j+=W*(z-1),z=U(-z/$)):z=U(z/$),W*=$),new k(this.data,R,I,O,z,F,B,N,W,j)},E.transpose=function(x,A,L,b){x=x===void 0?0:0|x,A=A===void 0?1:0|A,L=L===void 0?2:0|L,b=b===void 0?3:0|b;var R=this.shape,I=this.stride;return new k(this.data,R[x],R[A],R[L],R[b],I[x],I[A],I[L],I[b],this.offset)},E.pick=function(x,A,L,b){var R=[],I=[],O=this.offset;return typeof x=="number"&&x>=0?O=O+this.stride[0]*x|0:(R.push(this.shape[0]),I.push(this.stride[0])),typeof A=="number"&&A>=0?O=O+this.stride[1]*A|0:(R.push(this.shape[1]),I.push(this.stride[1])),typeof L=="number"&&L>=0?O=O+this.stride[2]*L|0:(R.push(this.shape[2]),I.push(this.stride[2])),typeof b=="number"&&b>=0?O=O+this.stride[3]*b|0:(R.push(this.shape[3]),I.push(this.stride[3])),(0,S[R.length+1])(this.data,R,I,O)},function(x,A,L,b){return new k(x,A[0],A[1],A[2],A[3],L[0],L[1],L[2],L[3],b)}},5:function(y,S,_){function k(x,A,L,b,R,I,O,z,F,B,N,W){this.data=x,this.shape=[A,L,b,R,I],this.stride=[O,z,F,B,N],this.offset=0|W}var E=k.prototype;return E.dtype=y,E.dimension=5,Object.defineProperty(E,"size",{get:function(){return this.shape[0]*this.shape[1]*this.shape[2]*this.shape[3]*this.shape[4]}}),Object.defineProperty(E,"order",{get:_}),E.set=function(x,A,L,b,R,I){return y==="generic"?this.data.set(this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*R,I):this.data[this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*R]=I},E.get=function(x,A,L,b,R){return y==="generic"?this.data.get(this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*R):this.data[this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*R]},E.index=function(x,A,L,b,R){return this.offset+this.stride[0]*x+this.stride[1]*A+this.stride[2]*L+this.stride[3]*b+this.stride[4]*R},E.hi=function(x,A,L,b,R){return new k(this.data,typeof x!="number"||x<0?this.shape[0]:0|x,typeof A!="number"||A<0?this.shape[1]:0|A,typeof L!="number"||L<0?this.shape[2]:0|L,typeof b!="number"||b<0?this.shape[3]:0|b,typeof R!="number"||R<0?this.shape[4]:0|R,this.stride[0],this.stride[1],this.stride[2],this.stride[3],this.stride[4],this.offset)},E.lo=function(x,A,L,b,R){var I=this.offset,O=0,z=this.shape[0],F=this.shape[1],B=this.shape[2],N=this.shape[3],W=this.shape[4],j=this.stride[0],$=this.stride[1],U=this.stride[2],G=this.stride[3],q=this.stride[4];return typeof x=="number"&&x>=0&&(I+=j*(O=0|x),z-=O),typeof A=="number"&&A>=0&&(I+=$*(O=0|A),F-=O),typeof L=="number"&&L>=0&&(I+=U*(O=0|L),B-=O),typeof b=="number"&&b>=0&&(I+=G*(O=0|b),N-=O),typeof R=="number"&&R>=0&&(I+=q*(O=0|R),W-=O),new k(this.data,z,F,B,N,W,j,$,U,G,q,I)},E.step=function(x,A,L,b,R){var I=this.shape[0],O=this.shape[1],z=this.shape[2],F=this.shape[3],B=this.shape[4],N=this.stride[0],W=this.stride[1],j=this.stride[2],$=this.stride[3],U=this.stride[4],G=this.offset,q=0,H=Math.ceil;return typeof x=="number"&&((q=0|x)<0?(G+=N*(I-1),I=H(-I/q)):I=H(I/q),N*=q),typeof A=="number"&&((q=0|A)<0?(G+=W*(O-1),O=H(-O/q)):O=H(O/q),W*=q),typeof L=="number"&&((q=0|L)<0?(G+=j*(z-1),z=H(-z/q)):z=H(z/q),j*=q),typeof b=="number"&&((q=0|b)<0?(G+=$*(F-1),F=H(-F/q)):F=H(F/q),$*=q),typeof R=="number"&&((q=0|R)<0?(G+=U*(B-1),B=H(-B/q)):B=H(B/q),U*=q),new k(this.data,I,O,z,F,B,N,W,j,$,U,G)},E.transpose=function(x,A,L,b,R){x=x===void 0?0:0|x,A=A===void 0?1:0|A,L=L===void 0?2:0|L,b=b===void 0?3:0|b,R=R===void 0?4:0|R;var I=this.shape,O=this.stride;return new k(this.data,I[x],I[A],I[L],I[b],I[R],O[x],O[A],O[L],O[b],O[R],this.offset)},E.pick=function(x,A,L,b,R){var I=[],O=[],z=this.offset;return typeof x=="number"&&x>=0?z=z+this.stride[0]*x|0:(I.push(this.shape[0]),O.push(this.stride[0])),typeof A=="number"&&A>=0?z=z+this.stride[1]*A|0:(I.push(this.shape[1]),O.push(this.stride[1])),typeof L=="number"&&L>=0?z=z+this.stride[2]*L|0:(I.push(this.shape[2]),O.push(this.stride[2])),typeof b=="number"&&b>=0?z=z+this.stride[3]*b|0:(I.push(this.shape[3]),O.push(this.stride[3])),typeof R=="number"&&R>=0?z=z+this.stride[4]*R|0:(I.push(this.shape[4]),O.push(this.stride[4])),(0,S[I.length+1])(this.data,I,O,z)},function(x,A,L,b){return new k(x,A[0],A[1],A[2],A[3],A[4],L[0],L[1],L[2],L[3],L[4],b)}}};function m(y,S){var _=S===-1?"T":String(S),k=h[_];return S===-1?k(y):S===0?k(y,w[y][0]):k(y,w[y],c)}var w={generic:[],buffer:[],array:[],float32:[],float64:[],int8:[],int16:[],int32:[],uint8_clamped:[],uint8:[],uint16:[],uint32:[],bigint64:[],biguint64:[]};f.exports=function(y,S,_,k){if(y===void 0)return(0,w.array[0])([]);typeof y=="number"&&(y=[y]),S===void 0&&(S=[y.length]);var E=S.length;if(_===void 0){_=new Array(E);for(var x=E-1,A=1;x>=0;--x)_[x]=A,A*=S[x]}if(k===void 0)for(k=0,x=0;x>>0;f.exports=function(c,h){if(isNaN(c)||isNaN(h))return NaN;if(c===h)return c;if(c===0)return h<0?-o:o;var m=u.hi(c),w=u.lo(c);return h>c==c>0?w===s?(m+=1,w=0):w+=1:w===0?(w=s,m-=1):w-=1,u.pack(w,m)}},115:function(f,l){l.vertexNormals=function(a,u,o){for(var s=u.length,c=new Array(s),h=o===void 0?1e-6:o,m=0;mh){var z=c[S],F=1/Math.sqrt(b*I);for(O=0;O<3;++O){var B=(O+1)%3,N=(O+2)%3;z[O]+=F*(R[B]*L[N]-R[N]*L[B])}}}for(m=0;mh)for(F=1/Math.sqrt(W),O=0;O<3;++O)z[O]*=F;else for(O=0;O<3;++O)z[O]=0}return c},l.faceNormals=function(a,u,o){for(var s=a.length,c=new Array(s),h=o===void 0?1e-6:o,m=0;mh?1/Math.sqrt(x):0,S=0;S<3;++S)E[S]*=x;c[m]=E}return c}},567:function(f){f.exports=function(l,a,u,o,s,c,h,m,w,y){var S=a+c+y;if(_>0){var _=Math.sqrt(S+1);l[0]=.5*(h-w)/_,l[1]=.5*(m-o)/_,l[2]=.5*(u-c)/_,l[3]=.5*_}else{var k=Math.max(a,c,y);_=Math.sqrt(2*k-S+1),a>=k?(l[0]=.5*_,l[1]=.5*(s+u)/_,l[2]=.5*(m+o)/_,l[3]=.5*(h-w)/_):c>=k?(l[0]=.5*(u+s)/_,l[1]=.5*_,l[2]=.5*(w+h)/_,l[3]=.5*(m-o)/_):(l[0]=.5*(o+m)/_,l[1]=.5*(h+w)/_,l[2]=.5*_,l[3]=.5*(u-s)/_)}return l}},7774:function(f,l,a){f.exports=function(k){var E=(k=k||{}).center||[0,0,0],x=k.rotation||[0,0,0,1],A=k.radius||1;E=[].slice.call(E,0,3),y(x=[].slice.call(x,0,4),x);var L=new S(x,E,Math.log(A));return L.setDistanceLimits(k.zoomMin,k.zoomMax),("eye"in k||"up"in k)&&L.lookAt(0,k.eye,k.center,k.up),L};var u=a(8444),o=a(3012),s=a(5950),c=a(7437),h=a(567);function m(k,E,x){return Math.sqrt(Math.pow(k,2)+Math.pow(E,2)+Math.pow(x,2))}function w(k,E,x,A){return Math.sqrt(Math.pow(k,2)+Math.pow(E,2)+Math.pow(x,2)+Math.pow(A,2))}function y(k,E){var x=E[0],A=E[1],L=E[2],b=E[3],R=w(x,A,L,b);R>1e-6?(k[0]=x/R,k[1]=A/R,k[2]=L/R,k[3]=b/R):(k[0]=k[1]=k[2]=0,k[3]=1)}function S(k,E,x){this.radius=u([x]),this.center=u(E),this.rotation=u(k),this.computedRadius=this.radius.curve(0),this.computedCenter=this.center.curve(0),this.computedRotation=this.rotation.curve(0),this.computedUp=[.1,0,0],this.computedEye=[.1,0,0],this.computedMatrix=[.1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this.recalcMatrix(0)}var _=S.prototype;_.lastT=function(){return Math.max(this.radius.lastT(),this.center.lastT(),this.rotation.lastT())},_.recalcMatrix=function(k){this.radius.curve(k),this.center.curve(k),this.rotation.curve(k);var E=this.computedRotation;y(E,E);var x=this.computedMatrix;s(x,E);var A=this.computedCenter,L=this.computedEye,b=this.computedUp,R=Math.exp(this.computedRadius[0]);L[0]=A[0]+R*x[2],L[1]=A[1]+R*x[6],L[2]=A[2]+R*x[10],b[0]=x[1],b[1]=x[5],b[2]=x[9];for(var I=0;I<3;++I){for(var O=0,z=0;z<3;++z)O+=x[I+4*z]*L[z];x[12+I]=-O}},_.getMatrix=function(k,E){this.recalcMatrix(k);var x=this.computedMatrix;if(E){for(var A=0;A<16;++A)E[A]=x[A];return E}return x},_.idle=function(k){this.center.idle(k),this.radius.idle(k),this.rotation.idle(k)},_.flush=function(k){this.center.flush(k),this.radius.flush(k),this.rotation.flush(k)},_.pan=function(k,E,x,A){E=E||0,x=x||0,A=A||0,this.recalcMatrix(k);var L=this.computedMatrix,b=L[1],R=L[5],I=L[9],O=m(b,R,I);b/=O,R/=O,I/=O;var z=L[0],F=L[4],B=L[8],N=z*b+F*R+B*I,W=m(z-=b*N,F-=R*N,B-=I*N);z/=W,F/=W,B/=W,L[2],L[6],L[10];var j=z*E+b*x,$=F*E+R*x,U=B*E+I*x;this.center.move(k,j,$,U);var G=Math.exp(this.computedRadius[0]);G=Math.max(1e-4,G+A),this.radius.set(k,Math.log(G))},_.rotate=function(k,E,x,A){this.recalcMatrix(k),E=E||0,x=x||0;var L=this.computedMatrix,b=L[0],R=L[4],I=L[8],O=L[1],z=L[5],F=L[9],B=L[2],N=L[6],W=L[10],j=E*b+x*O,$=E*R+x*z,U=E*I+x*F,G=-(N*U-W*$),q=-(W*j-B*U),H=-(B*$-N*j),ne=Math.sqrt(Math.max(0,1-Math.pow(G,2)-Math.pow(q,2)-Math.pow(H,2))),te=w(G,q,H,ne);te>1e-6?(G/=te,q/=te,H/=te,ne/=te):(G=q=H=0,ne=1);var Z=this.computedRotation,X=Z[0],Q=Z[1],re=Z[2],ie=Z[3],oe=X*ne+ie*G+Q*H-re*q,ue=Q*ne+ie*q+re*G-X*H,ce=re*ne+ie*H+X*q-Q*G,ye=ie*ne-X*G-Q*q-re*H;if(A){G=B,q=N,H=W;var de=Math.sin(A)/m(G,q,H);G*=de,q*=de,H*=de,ye=ye*(ne=Math.cos(E))-(oe=oe*ne+ye*G+ue*H-ce*q)*G-(ue=ue*ne+ye*q+ce*G-oe*H)*q-(ce=ce*ne+ye*H+oe*q-ue*G)*H}var me=w(oe,ue,ce,ye);me>1e-6?(oe/=me,ue/=me,ce/=me,ye/=me):(oe=ue=ce=0,ye=1),this.rotation.set(k,oe,ue,ce,ye)},_.lookAt=function(k,E,x,A){this.recalcMatrix(k),x=x||this.computedCenter,E=E||this.computedEye,A=A||this.computedUp;var L=this.computedMatrix;o(L,E,x,A);var b=this.computedRotation;h(b,L[0],L[1],L[2],L[4],L[5],L[6],L[8],L[9],L[10]),y(b,b),this.rotation.set(k,b[0],b[1],b[2],b[3]);for(var R=0,I=0;I<3;++I)R+=Math.pow(x[I]-E[I],2);this.radius.set(k,.5*Math.log(Math.max(R,1e-6))),this.center.set(k,x[0],x[1],x[2])},_.translate=function(k,E,x,A){this.center.move(k,E||0,x||0,A||0)},_.setMatrix=function(k,E){var x=this.computedRotation;h(x,E[0],E[1],E[2],E[4],E[5],E[6],E[8],E[9],E[10]),y(x,x),this.rotation.set(k,x[0],x[1],x[2],x[3]);var A=this.computedMatrix;c(A,E);var L=A[15];if(Math.abs(L)>1e-6){var b=A[12]/L,R=A[13]/L,I=A[14]/L;this.recalcMatrix(k);var O=Math.exp(this.computedRadius[0]);this.center.set(k,b-A[2]*O,R-A[6]*O,I-A[10]*O),this.radius.idle(k)}else this.center.idle(k),this.radius.idle(k)},_.setDistance=function(k,E){E>0&&this.radius.set(k,Math.log(E))},_.setDistanceLimits=function(k,E){k=k>0?Math.log(k):-1/0,E=E>0?Math.log(E):1/0,E=Math.max(E,k),this.radius.bounds[0][0]=k,this.radius.bounds[1][0]=E},_.getDistanceLimits=function(k){var E=this.radius.bounds;return k?(k[0]=Math.exp(E[0][0]),k[1]=Math.exp(E[1][0]),k):[Math.exp(E[0][0]),Math.exp(E[1][0])]},_.toJSON=function(){return this.recalcMatrix(this.lastT()),{center:this.computedCenter.slice(),rotation:this.computedRotation.slice(),distance:Math.log(this.computedRadius[0]),zoomMin:this.radius.bounds[0][0],zoomMax:this.radius.bounds[1][0]}},_.fromJSON=function(k){var E=this.lastT(),x=k.center;x&&this.center.set(E,x[0],x[1],x[2]);var A=k.rotation;A&&this.rotation.set(E,A[0],A[1],A[2],A[3]);var L=k.distance;L&&L>0&&this.radius.set(E,Math.log(L)),this.setDistanceLimits(k.zoomMin,k.zoomMax)}},4930:function(f,l,a){var u=a(6184);f.exports=function(o,s,c){return u(c=c!==void 0?c+"":" ",s)+o}},4405:function(f){f.exports=function(l,a){a||(a=[0,""]),l=String(l);var u=parseFloat(l,10);return a[0]=u,a[1]=l.match(/[\d.\-\+]*\s*(.*)/)[1]||"",a}},4166:function(f,l,a){f.exports=function(o,s){for(var c=0|s.length,h=o.length,m=[new Array(c),new Array(c)],w=0;w0){z=m[N][I][0],B=N;break}F=z[1^B];for(var W=0;W<2;++W)for(var j=m[W][I],$=0;$0&&(z=U,F=G,B=W)}return O||z&&_(z,B),F}function E(R,I){var O=m[I][R][0],z=[R];_(O,I);for(var F=O[1^I];;){for(;F!==R;)z.push(F),F=k(z[z.length-2],F,!1);if(m[0][R].length+m[1][R].length===0)break;var B=z[z.length-1],N=R,W=z[1],j=k(B,N,!0);if(u(s[B],s[N],s[W],s[j])<0)break;z.push(R),F=k(B,N)}return z}function x(R,I){return I[1]===I[I.length-1]}for(w=0;w0;){m[0][w].length;var b=E(w,A);x(0,b)?L.push.apply(L,b):(L.length>0&&S.push(L),L=b)}L.length>0&&S.push(L)}return S};var u=a(9398)},3959:function(f,l,a){f.exports=function(o,s){for(var c=u(o,s.length),h=new Array(s.length),m=new Array(s.length),w=[],y=0;y0;){var _=w.pop();h[_]=!1;var k=c[_];for(y=0;y0})).length,R=new Array(b),I=new Array(b);for(A=0;A0;){var ue=ie.pop(),ce=q[ue];m(ce,function(Pe,_e){return Pe-_e});var ye,de=ce.length,me=oe[ue];if(me===0){var pe=L[ue];ye=[pe]}for(A=0;A=0||(oe[xe]=1^me,ie.push(xe),me===0&&(re(pe=L[xe])||(pe.reverse(),ye.push(pe))))}me===0&&k.push(ye)}return k};var u=a(8348),o=a(4166),s=a(211),c=a(9660),h=a(9662),m=a(1215),w=a(3959);function y(S,_){for(var k=new Array(S),E=0;E0&&N[j]===W[0]))return 1;$=B[j-1]}for(var U=1;$;){var G=$.key,q=u(W,G[0],G[1]);if(G[0][0]0))return 0;U=-1,$=$.right}else if(q>0)$=$.left;else{if(!(q<0))return 0;U=1,$=$.right}}return U}}(z.slabs,z.coordinates);return k.length===0?F:function(B,N){return function(W){return B(W[0],W[1])?0:N(W)}}(m(k),F)};var u=a(417)[3],o=a(4385),s=a(9014),c=a(5070);function h(){return!0}function m(y){for(var S={},_=0;_=y?(N=1,R=y+2*k+x):R=k*(N=-k/y)+x):(N=0,E>=0?(W=0,R=x):-E>=_?(W=1,R=_+2*E+x):R=E*(W=-E/_)+x);else if(W<0)W=0,k>=0?(N=0,R=x):-k>=y?(N=1,R=y+2*k+x):R=k*(N=-k/y)+x;else{var j=1/B;R=(N*=j)*(y*N+S*(W*=j)+2*k)+W*(S*N+_*W+2*E)+x}else N<0?(O=_+E)>(I=S+k)?(z=O-I)>=(F=y-2*S+_)?(N=1,W=0,R=y+2*k+x):R=(N=z/F)*(y*N+S*(W=1-N)+2*k)+W*(S*N+_*W+2*E)+x:(N=0,O<=0?(W=1,R=_+2*E+x):E>=0?(W=0,R=x):R=E*(W=-E/_)+x):W<0?(O=y+k)>(I=S+E)?(z=O-I)>=(F=y-2*S+_)?(W=1,N=0,R=_+2*E+x):R=(N=1-(W=z/F))*(y*N+S*W+2*k)+W*(S*N+_*W+2*E)+x:(W=0,O<=0?(N=1,R=y+2*k+x):k>=0?(N=0,R=x):R=k*(N=-k/y)+x):(z=_+E-S-k)<=0?(N=0,W=1,R=_+2*E+x):z>=(F=y-2*S+_)?(N=1,W=0,R=y+2*k+x):R=(N=z/F)*(y*N+S*(W=1-N)+2*k)+W*(S*N+_*W+2*E)+x;var $=1-N-W;for(w=0;w0){var _=c[m-1];if(u(y,_)===0&&s(_)!==S){m-=1;continue}}c[m++]=y}}return c.length=m,c}},6184:function(f){var l,a="";f.exports=function(u,o){if(typeof u!="string")throw new TypeError("expected a string");if(o===1)return u;if(o===2)return u+u;var s=u.length*o;if(l!==u||l===void 0)l=u,a="";else if(a.length>=s)return a.substr(0,s);for(;s>a.length&&o>1;)1&o&&(a+=u),o>>=1,u+=u;return a=(a+=u).substr(0,s)}},8161:function(f,l,a){f.exports=a.g.performance&&a.g.performance.now?function(){return performance.now()}:Date.now||function(){return+new Date}},402:function(f){f.exports=function(l){for(var a=l.length,u=l[l.length-1],o=a,s=a-2;s>=0;--s){var c=u,h=l[s];(w=h-((u=c+h)-c))&&(l[--o]=u,u=w)}var m=0;for(s=o;s0){if(O<=0)return z;R=I+O}else{if(!(I<0)||O>=0)return z;R=-(I+O)}var F=33306690738754716e-32*R;return z>=F||z<=-F?z:S(A,L,b)},function(A,L,b,R){var I=A[0]-R[0],O=L[0]-R[0],z=b[0]-R[0],F=A[1]-R[1],B=L[1]-R[1],N=b[1]-R[1],W=A[2]-R[2],j=L[2]-R[2],$=b[2]-R[2],U=O*N,G=z*B,q=z*F,H=I*N,ne=I*B,te=O*F,Z=W*(U-G)+j*(q-H)+$*(ne-te),X=7771561172376103e-31*((Math.abs(U)+Math.abs(G))*Math.abs(W)+(Math.abs(q)+Math.abs(H))*Math.abs(j)+(Math.abs(ne)+Math.abs(te))*Math.abs($));return Z>X||-Z>X?Z:_(A,L,b,R)}];function E(A){var L=k[A.length];return L||(L=k[A.length]=y(A.length)),L.apply(void 0,A)}function x(A,L,b,R,I,O,z){return function(F,B,N,W,j){switch(arguments.length){case 0:case 1:return 0;case 2:return R(F,B);case 3:return I(F,B,N);case 4:return O(F,B,N,W);case 5:return z(F,B,N,W,j)}for(var $=new Array(arguments.length),U=0;U0&&w>0||m<0&&w<0)return!1;var y=u(c,o,s),S=u(h,o,s);return!(y>0&&S>0||y<0&&S<0)&&(m!==0||w!==0||y!==0||S!==0||function(_,k,E,x){for(var A=0;A<2;++A){var L=_[A],b=k[A],R=Math.min(L,b),I=Math.max(L,b),O=E[A],z=x[A],F=Math.min(O,z);if(Math.max(O,z)=o?(s=_,(w+=1)=o?(s=_,(w+=1)>1,_=o[2*S+1];if(_===m)return S;m<_?y=S:w=S+1}return w}return function(u,o,s,c){for(var h=u.length,m=[],w=0;w>1,_=o[2*S+1];if(_===m)return S;m<_?y=S:w=S+1}return w}return function(u,o,s,c){for(var h=u.length,m=[],w=0;w>1,_=o[2*S+1];if(_===m)return S;m<_?y=S:w=S+1}return w}return function(u,o,s,c){for(var h=u.length,m=[],w=0;w0)-(o<0)},l.abs=function(o){var s=o>>31;return(o^s)-s},l.min=function(o,s){return s^(o^s)&-(o65535)<<4,s|=c=((o>>>=s)>255)<<3,s|=c=((o>>>=c)>15)<<2,(s|=c=((o>>>=c)>3)<<1)|(o>>>=c)>>1},l.log10=function(o){return o>=1e9?9:o>=1e8?8:o>=1e7?7:o>=1e6?6:o>=1e5?5:o>=1e4?4:o>=1e3?3:o>=100?2:o>=10?1:0},l.popCount=function(o){return 16843009*((o=(858993459&(o-=o>>>1&1431655765))+(o>>>2&858993459))+(o>>>4)&252645135)>>>24},l.countTrailingZeros=a,l.nextPow2=function(o){return o+=o===0,--o,o|=o>>>1,o|=o>>>2,o|=o>>>4,1+((o|=o>>>8)|o>>>16)},l.prevPow2=function(o){return o|=o>>>1,o|=o>>>2,o|=o>>>4,o|=o>>>8,(o|=o>>>16)-(o>>>1)},l.parity=function(o){return o^=o>>>16,o^=o>>>8,o^=o>>>4,27030>>>(o&=15)&1};var u=new Array(256);(function(o){for(var s=0;s<256;++s){var c=s,h=s,m=7;for(c>>>=1;c;c>>>=1)h<<=1,h|=1&c,--m;o[s]=h<>>8&255]<<16|u[o>>>16&255]<<8|u[o>>>24&255]},l.interleave2=function(o,s){return(o=1431655765&((o=858993459&((o=252645135&((o=16711935&((o&=65535)|o<<8))|o<<4))|o<<2))|o<<1))|(s=1431655765&((s=858993459&((s=252645135&((s=16711935&((s&=65535)|s<<8))|s<<4))|s<<2))|s<<1))<<1},l.deinterleave2=function(o,s){return(o=65535&((o=16711935&((o=252645135&((o=858993459&((o=o>>>s&1431655765)|o>>>1))|o>>>2))|o>>>4))|o>>>16))<<16>>16},l.interleave3=function(o,s,c){return o=1227133513&((o=3272356035&((o=251719695&((o=4278190335&((o&=1023)|o<<16))|o<<8))|o<<4))|o<<2),(o|=(s=1227133513&((s=3272356035&((s=251719695&((s=4278190335&((s&=1023)|s<<16))|s<<8))|s<<4))|s<<2))<<1)|(c=1227133513&((c=3272356035&((c=251719695&((c=4278190335&((c&=1023)|c<<16))|c<<8))|c<<4))|c<<2))<<2},l.deinterleave3=function(o,s){return(o=1023&((o=4278190335&((o=251719695&((o=3272356035&((o=o>>>s&1227133513)|o>>>2))|o>>>4))|o>>>8))|o>>>16))<<22>>22},l.nextCombination=function(o){var s=o|o-1;return s+1|(~s&-~s)-1>>>a(o)+1}},6656:function(f,l,a){var u=a(9392),o=a(9521);function s(_,k){var E=_.length,x=_.length-k.length,A=Math.min;if(x)return x;switch(E){case 0:return 0;case 1:return _[0]-k[0];case 2:return(R=_[0]+_[1]-k[0]-k[1])||A(_[0],_[1])-A(k[0],k[1]);case 3:var L=_[0]+_[1],b=k[0]+k[1];if(R=L+_[2]-(b+k[2]))return R;var R,I=A(_[0],_[1]),O=A(k[0],k[1]);return(R=A(I,_[2])-A(O,k[2]))||A(I+_[2],L)-A(O+k[2],b);default:var z=_.slice(0);z.sort();var F=k.slice(0);F.sort();for(var B=0;B>1,b=s(_[L],k);b<=0?(b===0&&(A=L),E=L+1):b>0&&(x=L-1)}return A}function y(_,k){for(var E=new Array(_.length),x=0,A=E.length;x=_.length||s(_[N],L)!==0););}return E}function S(_,k){if(k<0)return[];for(var E=[],x=(1<>>O&1&&I.push(A[O]);k.push(I)}return h(k)},l.skeleton=S,l.boundary=function(_){for(var k=[],E=0,x=_.length;E>1:(te>>1)-1}function z(te){for(var Z=I(te);;){var X=Z,Q=2*te+1,re=2*(te+1),ie=te;if(Q0;){var X=O(te);if(!(X>=0&&Z0){var te=j[0];return R(0,U-1),U-=1,z(0),te}return-1}function N(te,Z){var X=j[te];return _[X]===Z?te:(_[X]=-1/0,F(te),B(),_[X]=Z,F((U+=1)-1))}function W(te){if(!k[te]){k[te]=!0;var Z=y[te],X=S[te];y[X]>=0&&(y[X]=Z),S[Z]>=0&&(S[Z]=X),$[Z]>=0&&N($[Z],b(Z)),$[X]>=0&&N($[X],b(X))}}var j=[],$=new Array(m);for(E=0;E>1;E>=0;--E)z(E);for(;;){var G=B();if(G<0||_[G]>h)break;W(G)}var q=[];for(E=0;E=0&&X>=0&&Z!==X){var Q=$[Z],re=$[X];Q!==re&&ne.push([Q,re])}}),o.unique(o.normalize(ne)),{positions:q,edges:ne}};var u=a(417),o=a(6656)},6638:function(f,l,a){f.exports=function(s,c){var h,m,w,y;if(c[0][0]c[1][0]))return o(c,s);h=c[1],m=c[0]}if(s[0][0]s[1][0]))return-o(s,c);w=s[1],y=s[0]}var S=u(h,m,y),_=u(h,m,w);if(S<0){if(_<=0)return S}else if(S>0){if(_>=0)return S}else if(_)return _;if(S=u(y,w,m),_=u(y,w,h),S<0){if(_<=0)return S}else if(S>0){if(_>=0)return S}else if(_)return _;return m[0]-y[0]};var u=a(417);function o(s,c){var h,m,w,y;if(c[0][0]c[1][0])){var S=Math.min(s[0][1],s[1][1]),_=Math.max(s[0][1],s[1][1]),k=Math.min(c[0][1],c[1][1]),E=Math.max(c[0][1],c[1][1]);return _E?S-E:_-E}h=c[1],m=c[0]}s[0][1]0)if(k[0]!==L[1][0])E=_,_=_.right;else{if(R=w(_.right,k))return R;_=_.left}else{if(k[0]!==L[1][0])return _;var R;if(R=w(_.right,k))return R;_=_.left}}return E}function y(_,k,E,x){this.y=_,this.index=k,this.start=E,this.closed=x}function S(_,k,E,x){this.x=_,this.segment=k,this.create=E,this.index=x}h.prototype.castUp=function(_){var k=u.le(this.coordinates,_[0]);if(k<0)return-1;this.slabs[k];var E=w(this.slabs[k],_),x=-1;if(E&&(x=E.value),this.coordinates[k]===_[0]){var A=null;if(E&&(A=E.key),k>0){var L=w(this.slabs[k-1],_);L&&(A?c(L.key,A)>0&&(A=L.key,x=L.value):(x=L.value,A=L.key))}var b=this.horizontal[k];if(b.length>0){var R=u.ge(b,_[1],m);if(R=b.length)return x;I=b[R]}}if(I.start)if(A){var O=s(A[0],A[1],[_[0],I.y]);A[0][0]>A[1][0]&&(O=-O),O>0&&(x=I.index)}else x=I.index;else I.y!==_[1]&&(x=I.index)}}}return x}},4670:function(f,l,a){var u=a(9130),o=a(9662);function s(h,m){var w=o(u(h,m),[m[m.length-1]]);return w[w.length-1]}function c(h,m,w,y){var S=-m/(y-m);S<0?S=0:S>1&&(S=1);for(var _=1-S,k=h.length,E=new Array(k),x=0;x0||S>0&&x<0){var A=c(_,x,k,S);w.push(A),y.push(A.slice())}x<0?y.push(k.slice()):x>0?w.push(k.slice()):(w.push(k.slice()),y.push(k.slice())),S=x}return{positive:w,negative:y}},f.exports.positive=function(h,m){for(var w=[],y=s(h[h.length-1],m),S=h[h.length-1],_=h[0],k=0;k0||y>0&&E<0)&&w.push(c(S,E,_,y)),E>=0&&w.push(_.slice()),y=E}return w},f.exports.negative=function(h,m){for(var w=[],y=s(h[h.length-1],m),S=h[h.length-1],_=h[0],k=0;k0||y>0&&E<0)&&w.push(c(S,E,_,y)),E<=0&&w.push(_.slice()),y=E}return w}},8974:function(f,l,a){var u;(function(){var o={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function s(y){return h(w(y),arguments)}function c(y,S){return s.apply(null,[y].concat(S||[]))}function h(y,S){var _,k,E,x,A,L,b,R,I,O=1,z=y.length,F="";for(k=0;k=0),x.type){case"b":_=parseInt(_,10).toString(2);break;case"c":_=String.fromCharCode(parseInt(_,10));break;case"d":case"i":_=parseInt(_,10);break;case"j":_=JSON.stringify(_,null,x.width?parseInt(x.width):0);break;case"e":_=x.precision?parseFloat(_).toExponential(x.precision):parseFloat(_).toExponential();break;case"f":_=x.precision?parseFloat(_).toFixed(x.precision):parseFloat(_);break;case"g":_=x.precision?String(Number(_.toPrecision(x.precision))):parseFloat(_);break;case"o":_=(parseInt(_,10)>>>0).toString(8);break;case"s":_=String(_),_=x.precision?_.substring(0,x.precision):_;break;case"t":_=String(!!_),_=x.precision?_.substring(0,x.precision):_;break;case"T":_=Object.prototype.toString.call(_).slice(8,-1).toLowerCase(),_=x.precision?_.substring(0,x.precision):_;break;case"u":_=parseInt(_,10)>>>0;break;case"v":_=_.valueOf(),_=x.precision?_.substring(0,x.precision):_;break;case"x":_=(parseInt(_,10)>>>0).toString(16);break;case"X":_=(parseInt(_,10)>>>0).toString(16).toUpperCase()}o.json.test(x.type)?F+=_:(!o.number.test(x.type)||R&&!x.sign?I="":(I=R?"+":"-",_=_.toString().replace(o.sign,"")),L=x.pad_char?x.pad_char==="0"?"0":x.pad_char.charAt(1):" ",b=x.width-(I+_).length,A=x.width&&b>0?L.repeat(b):"",F+=x.align?I+_+A:L==="0"?I+A+_:A+I+_)}return F}var m=Object.create(null);function w(y){if(m[y])return m[y];for(var S,_=y,k=[],E=0;_;){if((S=o.text.exec(_))!==null)k.push(S[0]);else if((S=o.modulo.exec(_))!==null)k.push("%");else{if((S=o.placeholder.exec(_))===null)throw new SyntaxError("[sprintf] unexpected placeholder");if(S[2]){E|=1;var x=[],A=S[2],L=[];if((L=o.key.exec(A))===null)throw new SyntaxError("[sprintf] failed to parse named argument key");for(x.push(L[1]);(A=A.substring(L[0].length))!=="";)if((L=o.key_access.exec(A))!==null)x.push(L[1]);else{if((L=o.index_access.exec(A))===null)throw new SyntaxError("[sprintf] failed to parse named argument key");x.push(L[1])}S[2]=x}else E|=2;if(E===3)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");k.push({placeholder:S[0],param_no:S[1],keys:S[2],sign:S[3],pad_char:S[4],align:S[5],width:S[6],precision:S[7],type:S[8]})}_=_.substring(S[0].length)}return m[y]=k}l.sprintf=s,l.vsprintf=c,typeof window<"u"&&(window.sprintf=s,window.vsprintf=c,(u=(function(){return{sprintf:s,vsprintf:c}}).call(l,a,l,f))===void 0||(f.exports=u))})()},4162:function(f,l,a){f.exports=function(h,m){if(h.dimension<=0)return{positions:[],cells:[]};if(h.dimension===1)return function(S,_){for(var k=o(S,_),E=k.length,x=new Array(E),A=new Array(E),L=0;LE|0},vertex:function(S,_,k,E,x,A,L,b,R,I,O,z,F){var B=(L<<0)+(b<<1)+(R<<2)+(I<<3)|0;if(B!==0&&B!==15)switch(B){case 0:case 15:O.push([S-.5,_-.5]);break;case 1:O.push([S-.25-.25*(E+k-2*F)/(k-E),_-.25-.25*(x+k-2*F)/(k-x)]);break;case 2:O.push([S-.75-.25*(-E-k+2*F)/(E-k),_-.25-.25*(A+E-2*F)/(E-A)]);break;case 3:O.push([S-.5,_-.5-.5*(x+k+A+E-4*F)/(k-x+E-A)]);break;case 4:O.push([S-.25-.25*(A+x-2*F)/(x-A),_-.75-.25*(-x-k+2*F)/(x-k)]);break;case 5:O.push([S-.5-.5*(E+k+A+x-4*F)/(k-E+x-A),_-.5]);break;case 6:O.push([S-.5-.25*(-E-k+A+x)/(E-k+x-A),_-.5-.25*(-x-k+A+E)/(x-k+E-A)]);break;case 7:O.push([S-.75-.25*(A+x-2*F)/(x-A),_-.75-.25*(A+E-2*F)/(E-A)]);break;case 8:O.push([S-.75-.25*(-A-x+2*F)/(A-x),_-.75-.25*(-A-E+2*F)/(A-E)]);break;case 9:O.push([S-.5-.25*(E+k+-A-x)/(k-E+A-x),_-.5-.25*(x+k+-A-E)/(k-x+A-E)]);break;case 10:O.push([S-.5-.5*(-E-k-A-x+4*F)/(E-k+A-x),_-.5]);break;case 11:O.push([S-.25-.25*(-A-x+2*F)/(A-x),_-.75-.25*(x+k-2*F)/(k-x)]);break;case 12:O.push([S-.5,_-.5-.5*(-x-k-A-E+4*F)/(x-k+A-E)]);break;case 13:O.push([S-.75-.25*(E+k-2*F)/(k-E),_-.25-.25*(-A-E+2*F)/(A-E)]);break;case 14:O.push([S-.25-.25*(-E-k+2*F)/(E-k),_-.25-.25*(-x-k+2*F)/(x-k)])}},cell:function(S,_,k,E,x,A,L,b,R){x?b.push([S,_]):b.push([_,S])}});return function(S,_){var k=[],E=[];return y(S,k,E,_),{positions:k,cells:E}}}},c={}},6946:function(f,l,a){f.exports=function c(h,m,w){w=w||{};var y=s[h];y||(y=s[h]={" ":{data:new Float32Array(0),shape:.2}});var S=y[m];if(!S)if(m.length<=1||!/\d/.test(m))S=y[m]=function(z){for(var F=z.cells,B=z.positions,N=new Float32Array(6*F.length),W=0,j=0,$=0;$0&&(x+=.02);var L=new Float32Array(E),b=0,R=-.5*x;for(A=0;AMath.max(L,b)?R[2]=1:L>Math.max(A,b)?R[0]=1:R[1]=1;for(var I=0,O=0,z=0;z<3;++z)I+=x[z]*x[z],O+=R[z]*x[z];for(z=0;z<3;++z)R[z]-=O/I*x[z];return h(R,R),R}function _(x,A,L,b,R,I,O,z){this.center=u(L),this.up=u(b),this.right=u(R),this.radius=u([I]),this.angle=u([O,z]),this.angle.bounds=[[-1/0,-Math.PI/2],[1/0,Math.PI/2]],this.setDistanceLimits(x,A),this.computedCenter=this.center.curve(0),this.computedUp=this.up.curve(0),this.computedRight=this.right.curve(0),this.computedRadius=this.radius.curve(0),this.computedAngle=this.angle.curve(0),this.computedToward=[0,0,0],this.computedEye=[0,0,0],this.computedMatrix=new Array(16);for(var F=0;F<16;++F)this.computedMatrix[F]=.5;this.recalcMatrix(0)}var k=_.prototype;k.setDistanceLimits=function(x,A){x=x>0?Math.log(x):-1/0,A=A>0?Math.log(A):1/0,A=Math.max(A,x),this.radius.bounds[0][0]=x,this.radius.bounds[1][0]=A},k.getDistanceLimits=function(x){var A=this.radius.bounds[0];return x?(x[0]=Math.exp(A[0][0]),x[1]=Math.exp(A[1][0]),x):[Math.exp(A[0][0]),Math.exp(A[1][0])]},k.recalcMatrix=function(x){this.center.curve(x),this.up.curve(x),this.right.curve(x),this.radius.curve(x),this.angle.curve(x);for(var A=this.computedUp,L=this.computedRight,b=0,R=0,I=0;I<3;++I)R+=A[I]*L[I],b+=A[I]*A[I];var O=Math.sqrt(b),z=0;for(I=0;I<3;++I)L[I]-=A[I]*R/b,z+=L[I]*L[I],A[I]/=O;var F=Math.sqrt(z);for(I=0;I<3;++I)L[I]/=F;var B=this.computedToward;c(B,A,L),h(B,B);var N=Math.exp(this.computedRadius[0]),W=this.computedAngle[0],j=this.computedAngle[1],$=Math.cos(W),U=Math.sin(W),G=Math.cos(j),q=Math.sin(j),H=this.computedCenter,ne=$*G,te=U*G,Z=q,X=-$*q,Q=-U*q,re=G,ie=this.computedEye,oe=this.computedMatrix;for(I=0;I<3;++I){var ue=ne*L[I]+te*B[I]+Z*A[I];oe[4*I+1]=X*L[I]+Q*B[I]+re*A[I],oe[4*I+2]=ue,oe[4*I+3]=0}var ce=oe[1],ye=oe[5],de=oe[9],me=oe[2],pe=oe[6],xe=oe[10],Pe=ye*xe-de*pe,_e=de*me-ce*xe,Me=ce*pe-ye*me,Se=w(Pe,_e,Me);for(Pe/=Se,_e/=Se,Me/=Se,oe[0]=Pe,oe[4]=_e,oe[8]=Me,I=0;I<3;++I)ie[I]=H[I]+oe[2+4*I]*N;for(I=0;I<3;++I){z=0;for(var Ce=0;Ce<3;++Ce)z+=oe[I+4*Ce]*ie[Ce];oe[12+I]=-z}oe[15]=1},k.getMatrix=function(x,A){this.recalcMatrix(x);var L=this.computedMatrix;if(A){for(var b=0;b<16;++b)A[b]=L[b];return A}return L};var E=[0,0,0];k.rotate=function(x,A,L,b){if(this.angle.move(x,A,L),b){this.recalcMatrix(x);var R=this.computedMatrix;E[0]=R[2],E[1]=R[6],E[2]=R[10];for(var I=this.computedUp,O=this.computedRight,z=this.computedToward,F=0;F<3;++F)R[4*F]=I[F],R[4*F+1]=O[F],R[4*F+2]=z[F];for(s(R,R,b,E),F=0;F<3;++F)I[F]=R[4*F],O[F]=R[4*F+1];this.up.set(x,I[0],I[1],I[2]),this.right.set(x,O[0],O[1],O[2])}},k.pan=function(x,A,L,b){A=A||0,L=L||0,b=b||0,this.recalcMatrix(x);var R=this.computedMatrix,I=(Math.exp(this.computedRadius[0]),R[1]),O=R[5],z=R[9],F=w(I,O,z);I/=F,O/=F,z/=F;var B=R[0],N=R[4],W=R[8],j=B*I+N*O+W*z,$=w(B-=I*j,N-=O*j,W-=z*j),U=(B/=$)*A+I*L,G=(N/=$)*A+O*L,q=(W/=$)*A+z*L;this.center.move(x,U,G,q);var H=Math.exp(this.computedRadius[0]);H=Math.max(1e-4,H+b),this.radius.set(x,Math.log(H))},k.translate=function(x,A,L,b){this.center.move(x,A||0,L||0,b||0)},k.setMatrix=function(x,A,L,b){var R=1;typeof L=="number"&&(R=0|L),(R<0||R>3)&&(R=1);var I=(R+2)%3;A||(this.recalcMatrix(x),A=this.computedMatrix);var O=A[R],z=A[R+4],F=A[R+8];if(b){var B=Math.abs(O),N=Math.abs(z),W=Math.abs(F),j=Math.max(B,N,W);B===j?(O=O<0?-1:1,z=F=0):W===j?(F=F<0?-1:1,O=z=0):(z=z<0?-1:1,O=F=0)}else{var $=w(O,z,F);O/=$,z/=$,F/=$}var U,G,q=A[I],H=A[I+4],ne=A[I+8],te=q*O+H*z+ne*F,Z=w(q-=O*te,H-=z*te,ne-=F*te),X=z*(ne/=Z)-F*(H/=Z),Q=F*(q/=Z)-O*ne,re=O*H-z*q,ie=w(X,Q,re);if(X/=ie,Q/=ie,re/=ie,this.center.jump(x,ke,Le,Be),this.radius.idle(x),this.up.jump(x,O,z,F),this.right.jump(x,q,H,ne),R===2){var oe=A[1],ue=A[5],ce=A[9],ye=oe*q+ue*H+ce*ne,de=oe*X+ue*Q+ce*re;U=Pe<0?-Math.PI/2:Math.PI/2,G=Math.atan2(de,ye)}else{var me=A[2],pe=A[6],xe=A[10],Pe=me*O+pe*z+xe*F,_e=me*q+pe*H+xe*ne,Me=me*X+pe*Q+xe*re;U=Math.asin(y(Pe)),G=Math.atan2(Me,_e)}this.angle.jump(x,G,U),this.recalcMatrix(x);var Se=A[2],Ce=A[6],ae=A[10],fe=this.computedMatrix;o(fe,A);var be=fe[15],ke=fe[12]/be,Le=fe[13]/be,Be=fe[14]/be,ze=Math.exp(this.computedRadius[0]);this.center.jump(x,ke-Se*ze,Le-Ce*ze,Be-ae*ze)},k.lastT=function(){return Math.max(this.center.lastT(),this.up.lastT(),this.right.lastT(),this.radius.lastT(),this.angle.lastT())},k.idle=function(x){this.center.idle(x),this.up.idle(x),this.right.idle(x),this.radius.idle(x),this.angle.idle(x)},k.flush=function(x){this.center.flush(x),this.up.flush(x),this.right.flush(x),this.radius.flush(x),this.angle.flush(x)},k.setDistance=function(x,A){A>0&&this.radius.set(x,Math.log(A))},k.lookAt=function(x,A,L,b){this.recalcMatrix(x),A=A||this.computedEye,L=L||this.computedCenter;var R=(b=b||this.computedUp)[0],I=b[1],O=b[2],z=w(R,I,O);if(!(z<1e-6)){R/=z,I/=z,O/=z;var F=A[0]-L[0],B=A[1]-L[1],N=A[2]-L[2],W=w(F,B,N);if(!(W<1e-6)){F/=W,B/=W,N/=W;var j=this.computedRight,$=j[0],U=j[1],G=j[2],q=R*$+I*U+O*G,H=w($-=q*R,U-=q*I,G-=q*O);if(!(H<.01&&(H=w($=I*N-O*B,U=O*F-R*N,G=R*B-I*F))<1e-6)){$/=H,U/=H,G/=H,this.up.set(x,R,I,O),this.right.set(x,$,U,G),this.center.set(x,L[0],L[1],L[2]),this.radius.set(x,Math.log(W));var ne=I*G-O*U,te=O*$-R*G,Z=R*U-I*$,X=w(ne,te,Z),Q=R*F+I*B+O*N,re=$*F+U*B+G*N,ie=(ne/=X)*F+(te/=X)*B+(Z/=X)*N,oe=Math.asin(y(Q)),ue=Math.atan2(ie,re),ce=this.angle._state,ye=ce[ce.length-1],de=ce[ce.length-2];ye%=2*Math.PI;var me=Math.abs(ye+2*Math.PI-ue),pe=Math.abs(ye-ue),xe=Math.abs(ye-2*Math.PI-ue);me0?U.pop():new ArrayBuffer(j)}function E(j){return new Uint8Array(k(j),0,j)}function x(j){return new Uint16Array(k(2*j),0,j)}function A(j){return new Uint32Array(k(4*j),0,j)}function L(j){return new Int8Array(k(j),0,j)}function b(j){return new Int16Array(k(2*j),0,j)}function R(j){return new Int32Array(k(4*j),0,j)}function I(j){return new Float32Array(k(4*j),0,j)}function O(j){return new Float64Array(k(8*j),0,j)}function z(j){return c?new Uint8ClampedArray(k(j),0,j):E(j)}function F(j){return h?new BigUint64Array(k(8*j),0,j):null}function B(j){return m?new BigInt64Array(k(8*j),0,j):null}function N(j){return new DataView(k(j),0,j)}function W(j){j=u.nextPow2(j);var $=u.log2(j),U=S[$];return U.length>0?U.pop():new s(j)}l.free=function(j){if(s.isBuffer(j))S[u.log2(j.length)].push(j);else{if(Object.prototype.toString.call(j)!=="[object ArrayBuffer]"&&(j=j.buffer),!j)return;var $=j.length||j.byteLength,U=0|u.log2($);y[U].push(j)}},l.freeUint8=l.freeUint16=l.freeUint32=l.freeBigUint64=l.freeInt8=l.freeInt16=l.freeInt32=l.freeBigInt64=l.freeFloat32=l.freeFloat=l.freeFloat64=l.freeDouble=l.freeUint8Clamped=l.freeDataView=function(j){_(j.buffer)},l.freeArrayBuffer=_,l.freeBuffer=function(j){S[u.log2(j.length)].push(j)},l.malloc=function(j,$){if($===void 0||$==="arraybuffer")return k(j);switch($){case"uint8":return E(j);case"uint16":return x(j);case"uint32":return A(j);case"int8":return L(j);case"int16":return b(j);case"int32":return R(j);case"float":case"float32":return I(j);case"double":case"float64":return O(j);case"uint8_clamped":return z(j);case"bigint64":return B(j);case"biguint64":return F(j);case"buffer":return W(j);case"data":case"dataview":return N(j);default:return null}return null},l.mallocArrayBuffer=k,l.mallocUint8=E,l.mallocUint16=x,l.mallocUint32=A,l.mallocInt8=L,l.mallocInt16=b,l.mallocInt32=R,l.mallocFloat32=l.mallocFloat=I,l.mallocFloat64=l.mallocDouble=O,l.mallocUint8Clamped=z,l.mallocBigUint64=F,l.mallocBigInt64=B,l.mallocDataView=N,l.mallocBuffer=W,l.clearCache=function(){for(var j=0;j<32;++j)w.UINT8[j].length=0,w.UINT16[j].length=0,w.UINT32[j].length=0,w.INT8[j].length=0,w.INT16[j].length=0,w.INT32[j].length=0,w.FLOAT[j].length=0,w.DOUBLE[j].length=0,w.BIGUINT64[j].length=0,w.BIGINT64[j].length=0,w.UINT8C[j].length=0,y[j].length=0,S[j].length=0}},1731:function(f){function l(u){this.roots=new Array(u),this.ranks=new Array(u);for(var o=0;o0&&(R=b.size),b.lineSpacing&&b.lineSpacing>0&&(I=b.lineSpacing),b.styletags&&b.styletags.breaklines&&(O.breaklines=!!b.styletags.breaklines),b.styletags&&b.styletags.bolds&&(O.bolds=!!b.styletags.bolds),b.styletags&&b.styletags.italics&&(O.italics=!!b.styletags.italics),b.styletags&&b.styletags.subscripts&&(O.subscripts=!!b.styletags.subscripts),b.styletags&&b.styletags.superscripts&&(O.superscripts=!!b.styletags.superscripts)),L.font=[b.fontStyle,b.fontVariant,b.fontWeight,R+"px",b.font].filter(function(z){return z}).join(" "),L.textAlign="start",L.textBaseline="alphabetic",L.direction="ltr",E(function(z,F,B,N,W,j){B=B.replace(/\n/g,""),B=j.breaklines===!0?B.replace(/\/g,` -`):B.replace(/\/g," ");var $="",U=[];for(ne=0;ne-1?parseInt(fe[1+Le]):0,je=Be>-1?parseInt(be[1+Be]):0;ze!==je&&(ke=ke.replace(xe(),"?px "),X*=Math.pow(.75,je-ze),ke=ke.replace("?px ",xe())),Z+=.25*ie*(je-ze)}if(j.superscripts===!0){var ge=fe.indexOf("+"),we=be.indexOf("+"),Ee=ge>-1?parseInt(fe[1+ge]):0,Ve=we>-1?parseInt(be[1+we]):0;Ee!==Ve&&(ke=ke.replace(xe(),"?px "),X*=Math.pow(.75,Ve-Ee),ke=ke.replace("?px ",xe())),Z-=.25*ie*(Ve-Ee)}if(j.bolds===!0){var $e=fe.indexOf(w)>-1,Ye=be.indexOf(w)>-1;!$e&&Ye&&(ke=st?ke.replace("italic ","italic bold "):"bold "+ke),$e&&!Ye&&(ke=ke.replace("bold ",""))}if(j.italics===!0){var st=fe.indexOf(y)>-1,ot=be.indexOf(y)>-1;!st&&ot&&(ke="italic "+ke),st&&!ot&&(ke=ke.replace("italic ",""))}F.font=ke}for(H=0;H",I="",O=R.length,z=I.length,F=A[0]==="+"||A[0]==="-",B=0,N=-z;B>-1&&(B=L.indexOf(R,B))!==-1&&(N=L.indexOf(I,B+O))!==-1&&!(N<=B);){for(var W=B;W=N)b[W]=null,L=L.substr(0,W)+" "+L.substr(W+1);else if(b[W]!==null){var j=b[W].indexOf(A[0]);j===-1?b[W]+=A:F&&(b[W]=b[W].substr(0,j+1)+(1+parseInt(b[W][j+1]))+b[W].substr(j+2))}var $=B+O,U=L.substr($,N-$).indexOf(R);B=U!==-1?U:N+z}return b}function _(x,A){var L=u(x,128);return A?s(L.cells,L.positions,.25):{edges:L.cells,positions:L.positions}}function k(x,A,L,b){var R=_(x,b),I=function(H,ne,te){for(var Z=ne.textAlign||"start",X=ne.textBaseline||"alphabetic",Q=[1<<30,1<<30],re=[0,0],ie=H.length,oe=0;oe"u"||!ses.ok||ses.ok()){typeof ses<"u"&&(ses.weakMapPermitHostObjects=A);var l=!1;if(typeof WeakMap=="function"){var a=WeakMap;if(!(typeof navigator<"u"&&/Firefox/.test(navigator.userAgent))){var u=new a,o=Object.freeze({});if(u.set(o,1),u.get(o)===1)return void(f.exports=WeakMap);l=!0}}var s=Object.getOwnPropertyNames,c=Object.defineProperty,h=Object.isExtensible,m="weakmap:",w="weakmap:ident:"+Math.random()+"___";if(typeof crypto<"u"&&typeof crypto.getRandomValues=="function"&&typeof ArrayBuffer=="function"&&typeof Uint8Array=="function"){var y=new ArrayBuffer(25),S=new Uint8Array(y);crypto.getRandomValues(S),w="weakmap:rand:"+Array.prototype.map.call(S,function(O){return(O%36).toString(36)}).join("")+"___"}if(c(Object,"getOwnPropertyNames",{value:function(O){return s(O).filter(L)}}),"getPropertyNames"in Object){var _=Object.getPropertyNames;c(Object,"getPropertyNames",{value:function(O){return _(O).filter(L)}})}(function(){var O=Object.freeze;c(Object,"freeze",{value:function(B){return b(B),O(B)}});var z=Object.seal;c(Object,"seal",{value:function(B){return b(B),z(B)}});var F=Object.preventExtensions;c(Object,"preventExtensions",{value:function(B){return b(B),F(B)}})})();var k=!1,E=0,x=function(){this instanceof x||I();var O=[],z=[],F=E++;return Object.create(x.prototype,{get___:{value:R(function(B,N){var W,j=b(B);return j?F in j?j[F]:N:(W=O.indexOf(B))>=0?z[W]:N})},has___:{value:R(function(B){var N=b(B);return N?F in N:O.indexOf(B)>=0})},set___:{value:R(function(B,N){var W,j=b(B);return j?j[F]=N:(W=O.indexOf(B))>=0?z[W]=N:(W=O.length,z[W]=N,O[W]=B),this})},delete___:{value:R(function(B){var N,W,j=b(B);return j?F in j&&delete j[F]:!((N=O.indexOf(B))<0||(W=O.length-1,O[N]=void 0,z[N]=z[W],O[N]=O[W],O.length=W,z.length=W,0))})}})};x.prototype=Object.create(Object.prototype,{get:{value:function(O,z){return this.get___(O,z)},writable:!0,configurable:!0},has:{value:function(O){return this.has___(O)},writable:!0,configurable:!0},set:{value:function(O,z){return this.set___(O,z)},writable:!0,configurable:!0},delete:{value:function(O){return this.delete___(O)},writable:!0,configurable:!0}}),typeof a=="function"?function(){function O(){this instanceof x||I();var z,F=new a,B=void 0,N=!1;return z=l?function(W,j){return F.set(W,j),F.has(W)||(B||(B=new x),B.set(W,j)),this}:function(W,j){if(N)try{F.set(W,j)}catch{B||(B=new x),B.set___(W,j)}else F.set(W,j);return this},Object.create(x.prototype,{get___:{value:R(function(W,j){return B?F.has(W)?F.get(W):B.get___(W,j):F.get(W,j)})},has___:{value:R(function(W){return F.has(W)||!!B&&B.has___(W)})},set___:{value:R(z)},delete___:{value:R(function(W){var j=!!F.delete(W);return B&&B.delete___(W)||j})},permitHostObjects___:{value:R(function(W){if(W!==A)throw new Error("bogus call to permitHostObjects___");N=!0})}})}l&&typeof Proxy<"u"&&(Proxy=void 0),O.prototype=x.prototype,f.exports=O,Object.defineProperty(WeakMap.prototype,"constructor",{value:WeakMap,enumerable:!1,configurable:!0,writable:!0})}():(typeof Proxy<"u"&&(Proxy=void 0),f.exports=x)}function A(O){O.permitHostObjects___&&O.permitHostObjects___(A)}function L(O){return!(O.substr(0,m.length)==m&&O.substr(O.length-3)==="___")}function b(O){if(O!==Object(O))throw new TypeError("Not an object: "+O);var z=O[w];if(z&&z.key===O)return z;if(h(O)){z={key:O};try{return c(O,w,{value:z,writable:!1,enumerable:!1,configurable:!1}),z}catch{return}}}function R(O){return O.prototype=null,Object.freeze(O)}function I(){k||typeof console>"u"||(k=!0,console.warn("WeakMap should be invoked as new WeakMap(), not WeakMap(). This will be an error in the future."))}})()},9222:function(f,l,a){var u=a(7178);f.exports=function(){var o={};return function(s){if((typeof s!="object"||s===null)&&typeof s!="function")throw new Error("Weakmap-shim: Key must be object");var c=s.valueOf(o);return c&&c.identity===o?c:u(s,o)}}},7178:function(f){f.exports=function(l,a){var u={identity:a},o=l.valueOf;return Object.defineProperty(l,"valueOf",{value:function(s){return s!==a?o.apply(this,arguments):u},writable:!0}),u}},4037:function(f,l,a){var u=a(9222);f.exports=function(){var o=u();return{get:function(s,c){var h=o(s);return h.hasOwnProperty("value")?h.value:c},set:function(s,c){return o(s).value=c,this},has:function(s){return"value"in o(s)},delete:function(s){return delete o(s).value}}}},6183:function(f){f.exports=function(l){var a={};return function(u,o,s){var c=u.dtype,h=u.order,m=[c,h.join()].join(),w=a[m];return w||(a[m]=w=l([c,h])),w(u.shape.slice(0),u.data,u.stride,0|u.offset,o,s)}}((function(){return function(l,a,u,o,s,c){var h=l[0],m=u[0],w=[0],y=m;o|=0;var S=0,_=m;for(S=0;S=0!=E>=0&&s.push(w[0]+.5+.5*(k+E)/(k-E)),o+=_,++w[0]}}}).bind(void 0,{funcName:"zeroCrossings"}))},9584:function(f,l,a){f.exports=function(o,s){var c=[];return s=+s||0,u(o.hi(o.shape[0]-1),c,s),c};var u=a(6183)},6601:function(){}},M={};function v(f){var l=M[f];if(l!==void 0)return l.exports;var a=M[f]={id:f,loaded:!1,exports:{}};return i[f].call(a.exports,a,a.exports,v),a.loaded=!0,a.exports}return v.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),v.nmd=function(f){return f.paths=[],f.children||(f.children=[]),f},v(7386)}()},T.exports=d()},12856:function(T,p,t){function d(ae,fe){if(!(ae instanceof fe))throw new TypeError("Cannot call a class as a function")}function g(ae,fe){for(var be=0;bes)throw new RangeError('The value "'+ae+'" is invalid for option "size"');var fe=new Uint8Array(ae);return Object.setPrototypeOf(fe,h.prototype),fe}function h(ae,fe,be){if(typeof ae=="number"){if(typeof fe=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return y(ae)}return m(ae,fe,be)}function m(ae,fe,be){if(typeof ae=="string")return function(Be,ze){if(typeof ze=="string"&&ze!==""||(ze="utf8"),!h.isEncoding(ze))throw new TypeError("Unknown encoding: "+ze);var je=0|E(Be,ze),ge=c(je),we=ge.write(Be,ze);return we!==je&&(ge=ge.slice(0,we)),ge}(ae,fe);if(ArrayBuffer.isView(ae))return function(Be){if(Pe(Be,Uint8Array)){var ze=new Uint8Array(Be);return _(ze.buffer,ze.byteOffset,ze.byteLength)}return S(Be)}(ae);if(ae==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+l(ae));if(Pe(ae,ArrayBuffer)||ae&&Pe(ae.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Pe(ae,SharedArrayBuffer)||ae&&Pe(ae.buffer,SharedArrayBuffer)))return _(ae,fe,be);if(typeof ae=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var ke=ae.valueOf&&ae.valueOf();if(ke!=null&&ke!==ae)return h.from(ke,fe,be);var Le=function(Be){if(h.isBuffer(Be)){var ze=0|k(Be.length),je=c(ze);return je.length===0||Be.copy(je,0,0,ze),je}return Be.length!==void 0?typeof Be.length!="number"||_e(Be.length)?c(0):S(Be):Be.type==="Buffer"&&Array.isArray(Be.data)?S(Be.data):void 0}(ae);if(Le)return Le;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof ae[Symbol.toPrimitive]=="function")return h.from(ae[Symbol.toPrimitive]("string"),fe,be);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+l(ae))}function w(ae){if(typeof ae!="number")throw new TypeError('"size" argument must be of type number');if(ae<0)throw new RangeError('The value "'+ae+'" is invalid for option "size"')}function y(ae){return w(ae),c(ae<0?0:0|k(ae))}function S(ae){for(var fe=ae.length<0?0:0|k(ae.length),be=c(fe),ke=0;ke=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|ae}function E(ae,fe){if(h.isBuffer(ae))return ae.length;if(ArrayBuffer.isView(ae)||Pe(ae,ArrayBuffer))return ae.byteLength;if(typeof ae!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+l(ae));var be=ae.length,ke=arguments.length>2&&arguments[2]===!0;if(!ke&&be===0)return 0;for(var Le=!1;;)switch(fe){case"ascii":case"latin1":case"binary":return be;case"utf8":case"utf-8":return me(ae).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*be;case"hex":return be>>>1;case"base64":return pe(ae).length;default:if(Le)return ke?-1:me(ae).length;fe=(""+fe).toLowerCase(),Le=!0}}function x(ae,fe,be){var ke=!1;if((fe===void 0||fe<0)&&(fe=0),fe>this.length||((be===void 0||be>this.length)&&(be=this.length),be<=0)||(be>>>=0)<=(fe>>>=0))return"";for(ae||(ae="utf8");;)switch(ae){case"hex":return U(this,fe,be);case"utf8":case"utf-8":return N(this,fe,be);case"ascii":return j(this,fe,be);case"latin1":case"binary":return $(this,fe,be);case"base64":return B(this,fe,be);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return G(this,fe,be);default:if(ke)throw new TypeError("Unknown encoding: "+ae);ae=(ae+"").toLowerCase(),ke=!0}}function A(ae,fe,be){var ke=ae[fe];ae[fe]=ae[be],ae[be]=ke}function L(ae,fe,be,ke,Le){if(ae.length===0)return-1;if(typeof be=="string"?(ke=be,be=0):be>2147483647?be=2147483647:be<-2147483648&&(be=-2147483648),_e(be=+be)&&(be=Le?0:ae.length-1),be<0&&(be=ae.length+be),be>=ae.length){if(Le)return-1;be=ae.length-1}else if(be<0){if(!Le)return-1;be=0}if(typeof fe=="string"&&(fe=h.from(fe,ke)),h.isBuffer(fe))return fe.length===0?-1:b(ae,fe,be,ke,Le);if(typeof fe=="number")return fe&=255,typeof Uint8Array.prototype.indexOf=="function"?Le?Uint8Array.prototype.indexOf.call(ae,fe,be):Uint8Array.prototype.lastIndexOf.call(ae,fe,be):b(ae,[fe],be,ke,Le);throw new TypeError("val must be string, number or Buffer")}function b(ae,fe,be,ke,Le){var Be,ze=1,je=ae.length,ge=fe.length;if(ke!==void 0&&((ke=String(ke).toLowerCase())==="ucs2"||ke==="ucs-2"||ke==="utf16le"||ke==="utf-16le")){if(ae.length<2||fe.length<2)return-1;ze=2,je/=2,ge/=2,be/=2}function we(Ye,st){return ze===1?Ye[st]:Ye.readUInt16BE(st*ze)}if(Le){var Ee=-1;for(Be=be;Beje&&(be=je-ge),Be=be;Be>=0;Be--){for(var Ve=!0,$e=0;$eLe&&(ke=Le):ke=Le;var Be,ze=fe.length;for(ke>ze/2&&(ke=ze/2),Be=0;Be>8,ge=ze%256,we.push(ge),we.push(je);return we}(fe,ae.length-be),ae,be,ke)}function B(ae,fe,be){return fe===0&&be===ae.length?a.fromByteArray(ae):a.fromByteArray(ae.slice(fe,be))}function N(ae,fe,be){be=Math.min(ae.length,be);for(var ke=[],Le=fe;Le239?4:Be>223?3:Be>191?2:1;if(Le+je<=be){var ge=void 0,we=void 0,Ee=void 0,Ve=void 0;switch(je){case 1:Be<128&&(ze=Be);break;case 2:(192&(ge=ae[Le+1]))==128&&(Ve=(31&Be)<<6|63&ge)>127&&(ze=Ve);break;case 3:ge=ae[Le+1],we=ae[Le+2],(192&ge)==128&&(192&we)==128&&(Ve=(15&Be)<<12|(63&ge)<<6|63&we)>2047&&(Ve<55296||Ve>57343)&&(ze=Ve);break;case 4:ge=ae[Le+1],we=ae[Le+2],Ee=ae[Le+3],(192&ge)==128&&(192&we)==128&&(192&Ee)==128&&(Ve=(15&Be)<<18|(63&ge)<<12|(63&we)<<6|63&Ee)>65535&&Ve<1114112&&(ze=Ve)}}ze===null?(ze=65533,je=1):ze>65535&&(ze-=65536,ke.push(ze>>>10&1023|55296),ze=56320|1023&ze),ke.push(ze),Le+=je}return function($e){var Ye=$e.length;if(Ye<=W)return String.fromCharCode.apply(String,$e);for(var st="",ot=0;ot"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(h.prototype,"parent",{enumerable:!0,get:function(){if(h.isBuffer(this))return this.buffer}}),Object.defineProperty(h.prototype,"offset",{enumerable:!0,get:function(){if(h.isBuffer(this))return this.byteOffset}}),h.poolSize=8192,h.from=function(ae,fe,be){return m(ae,fe,be)},Object.setPrototypeOf(h.prototype,Uint8Array.prototype),Object.setPrototypeOf(h,Uint8Array),h.alloc=function(ae,fe,be){return function(ke,Le,Be){return w(ke),ke<=0?c(ke):Le!==void 0?typeof Be=="string"?c(ke).fill(Le,Be):c(ke).fill(Le):c(ke)}(ae,fe,be)},h.allocUnsafe=function(ae){return y(ae)},h.allocUnsafeSlow=function(ae){return y(ae)},h.isBuffer=function(ae){return ae!=null&&ae._isBuffer===!0&&ae!==h.prototype},h.compare=function(ae,fe){if(Pe(ae,Uint8Array)&&(ae=h.from(ae,ae.offset,ae.byteLength)),Pe(fe,Uint8Array)&&(fe=h.from(fe,fe.offset,fe.byteLength)),!h.isBuffer(ae)||!h.isBuffer(fe))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ae===fe)return 0;for(var be=ae.length,ke=fe.length,Le=0,Be=Math.min(be,ke);Leke.length?(h.isBuffer(Be)||(Be=h.from(Be)),Be.copy(ke,Le)):Uint8Array.prototype.set.call(ke,Be,Le);else{if(!h.isBuffer(Be))throw new TypeError('"list" argument must be an Array of Buffers');Be.copy(ke,Le)}Le+=Be.length}return ke},h.byteLength=E,h.prototype._isBuffer=!0,h.prototype.swap16=function(){var ae=this.length;if(ae%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var fe=0;fefe&&(ae+=" ... "),""},o&&(h.prototype[o]=h.prototype.inspect),h.prototype.compare=function(ae,fe,be,ke,Le){if(Pe(ae,Uint8Array)&&(ae=h.from(ae,ae.offset,ae.byteLength)),!h.isBuffer(ae))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+l(ae));if(fe===void 0&&(fe=0),be===void 0&&(be=ae?ae.length:0),ke===void 0&&(ke=0),Le===void 0&&(Le=this.length),fe<0||be>ae.length||ke<0||Le>this.length)throw new RangeError("out of range index");if(ke>=Le&&fe>=be)return 0;if(ke>=Le)return-1;if(fe>=be)return 1;if(this===ae)return 0;for(var Be=(Le>>>=0)-(ke>>>=0),ze=(be>>>=0)-(fe>>>=0),je=Math.min(Be,ze),ge=this.slice(ke,Le),we=ae.slice(fe,be),Ee=0;Ee>>=0,isFinite(be)?(be>>>=0,ke===void 0&&(ke="utf8")):(ke=be,be=void 0)}var Le=this.length-fe;if((be===void 0||be>Le)&&(be=Le),ae.length>0&&(be<0||fe<0)||fe>this.length)throw new RangeError("Attempt to write outside buffer bounds");ke||(ke="utf8");for(var Be=!1;;)switch(ke){case"hex":return R(this,ae,fe,be);case"utf8":case"utf-8":return I(this,ae,fe,be);case"ascii":case"latin1":case"binary":return O(this,ae,fe,be);case"base64":return z(this,ae,fe,be);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F(this,ae,fe,be);default:if(Be)throw new TypeError("Unknown encoding: "+ke);ke=(""+ke).toLowerCase(),Be=!0}},h.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var W=4096;function j(ae,fe,be){var ke="";be=Math.min(ae.length,be);for(var Le=fe;Leke)&&(be=ke);for(var Le="",Be=fe;Bebe)throw new RangeError("Trying to access beyond buffer length")}function H(ae,fe,be,ke,Le,Be){if(!h.isBuffer(ae))throw new TypeError('"buffer" argument must be a Buffer instance');if(fe>Le||feae.length)throw new RangeError("Index out of range")}function ne(ae,fe,be,ke,Le){ue(fe,ke,Le,ae,be,7);var Be=Number(fe&BigInt(4294967295));ae[be++]=Be,Be>>=8,ae[be++]=Be,Be>>=8,ae[be++]=Be,Be>>=8,ae[be++]=Be;var ze=Number(fe>>BigInt(32)&BigInt(4294967295));return ae[be++]=ze,ze>>=8,ae[be++]=ze,ze>>=8,ae[be++]=ze,ze>>=8,ae[be++]=ze,be}function te(ae,fe,be,ke,Le){ue(fe,ke,Le,ae,be,7);var Be=Number(fe&BigInt(4294967295));ae[be+7]=Be,Be>>=8,ae[be+6]=Be,Be>>=8,ae[be+5]=Be,Be>>=8,ae[be+4]=Be;var ze=Number(fe>>BigInt(32)&BigInt(4294967295));return ae[be+3]=ze,ze>>=8,ae[be+2]=ze,ze>>=8,ae[be+1]=ze,ze>>=8,ae[be]=ze,be+8}function Z(ae,fe,be,ke,Le,Be){if(be+ke>ae.length)throw new RangeError("Index out of range");if(be<0)throw new RangeError("Index out of range")}function X(ae,fe,be,ke,Le){return fe=+fe,be>>>=0,Le||Z(ae,0,be,4),u.write(ae,fe,be,ke,23,4),be+4}function Q(ae,fe,be,ke,Le){return fe=+fe,be>>>=0,Le||Z(ae,0,be,8),u.write(ae,fe,be,ke,52,8),be+8}h.prototype.slice=function(ae,fe){var be=this.length;(ae=~~ae)<0?(ae+=be)<0&&(ae=0):ae>be&&(ae=be),(fe=fe===void 0?be:~~fe)<0?(fe+=be)<0&&(fe=0):fe>be&&(fe=be),fe>>=0,fe>>>=0,be||q(ae,fe,this.length);for(var ke=this[ae],Le=1,Be=0;++Be>>=0,fe>>>=0,be||q(ae,fe,this.length);for(var ke=this[ae+--fe],Le=1;fe>0&&(Le*=256);)ke+=this[ae+--fe]*Le;return ke},h.prototype.readUint8=h.prototype.readUInt8=function(ae,fe){return ae>>>=0,fe||q(ae,1,this.length),this[ae]},h.prototype.readUint16LE=h.prototype.readUInt16LE=function(ae,fe){return ae>>>=0,fe||q(ae,2,this.length),this[ae]|this[ae+1]<<8},h.prototype.readUint16BE=h.prototype.readUInt16BE=function(ae,fe){return ae>>>=0,fe||q(ae,2,this.length),this[ae]<<8|this[ae+1]},h.prototype.readUint32LE=h.prototype.readUInt32LE=function(ae,fe){return ae>>>=0,fe||q(ae,4,this.length),(this[ae]|this[ae+1]<<8|this[ae+2]<<16)+16777216*this[ae+3]},h.prototype.readUint32BE=h.prototype.readUInt32BE=function(ae,fe){return ae>>>=0,fe||q(ae,4,this.length),16777216*this[ae]+(this[ae+1]<<16|this[ae+2]<<8|this[ae+3])},h.prototype.readBigUInt64LE=Se(function(ae){ce(ae>>>=0,"offset");var fe=this[ae],be=this[ae+7];fe!==void 0&&be!==void 0||ye(ae,this.length-8);var ke=fe+this[++ae]*Math.pow(2,8)+this[++ae]*Math.pow(2,16)+this[++ae]*Math.pow(2,24),Le=this[++ae]+this[++ae]*Math.pow(2,8)+this[++ae]*Math.pow(2,16)+be*Math.pow(2,24);return BigInt(ke)+(BigInt(Le)<>>=0,"offset");var fe=this[ae],be=this[ae+7];fe!==void 0&&be!==void 0||ye(ae,this.length-8);var ke=fe*Math.pow(2,24)+this[++ae]*Math.pow(2,16)+this[++ae]*Math.pow(2,8)+this[++ae],Le=this[++ae]*Math.pow(2,24)+this[++ae]*Math.pow(2,16)+this[++ae]*Math.pow(2,8)+be;return(BigInt(ke)<>>=0,fe>>>=0,be||q(ae,fe,this.length);for(var ke=this[ae],Le=1,Be=0;++Be=(Le*=128)&&(ke-=Math.pow(2,8*fe)),ke},h.prototype.readIntBE=function(ae,fe,be){ae>>>=0,fe>>>=0,be||q(ae,fe,this.length);for(var ke=fe,Le=1,Be=this[ae+--ke];ke>0&&(Le*=256);)Be+=this[ae+--ke]*Le;return Be>=(Le*=128)&&(Be-=Math.pow(2,8*fe)),Be},h.prototype.readInt8=function(ae,fe){return ae>>>=0,fe||q(ae,1,this.length),128&this[ae]?-1*(255-this[ae]+1):this[ae]},h.prototype.readInt16LE=function(ae,fe){ae>>>=0,fe||q(ae,2,this.length);var be=this[ae]|this[ae+1]<<8;return 32768&be?4294901760|be:be},h.prototype.readInt16BE=function(ae,fe){ae>>>=0,fe||q(ae,2,this.length);var be=this[ae+1]|this[ae]<<8;return 32768&be?4294901760|be:be},h.prototype.readInt32LE=function(ae,fe){return ae>>>=0,fe||q(ae,4,this.length),this[ae]|this[ae+1]<<8|this[ae+2]<<16|this[ae+3]<<24},h.prototype.readInt32BE=function(ae,fe){return ae>>>=0,fe||q(ae,4,this.length),this[ae]<<24|this[ae+1]<<16|this[ae+2]<<8|this[ae+3]},h.prototype.readBigInt64LE=Se(function(ae){ce(ae>>>=0,"offset");var fe=this[ae],be=this[ae+7];fe!==void 0&&be!==void 0||ye(ae,this.length-8);var ke=this[ae+4]+this[ae+5]*Math.pow(2,8)+this[ae+6]*Math.pow(2,16)+(be<<24);return(BigInt(ke)<>>=0,"offset");var fe=this[ae],be=this[ae+7];fe!==void 0&&be!==void 0||ye(ae,this.length-8);var ke=(fe<<24)+this[++ae]*Math.pow(2,16)+this[++ae]*Math.pow(2,8)+this[++ae];return(BigInt(ke)<>>=0,fe||q(ae,4,this.length),u.read(this,ae,!0,23,4)},h.prototype.readFloatBE=function(ae,fe){return ae>>>=0,fe||q(ae,4,this.length),u.read(this,ae,!1,23,4)},h.prototype.readDoubleLE=function(ae,fe){return ae>>>=0,fe||q(ae,8,this.length),u.read(this,ae,!0,52,8)},h.prototype.readDoubleBE=function(ae,fe){return ae>>>=0,fe||q(ae,8,this.length),u.read(this,ae,!1,52,8)},h.prototype.writeUintLE=h.prototype.writeUIntLE=function(ae,fe,be,ke){ae=+ae,fe>>>=0,be>>>=0,ke||H(this,ae,fe,be,Math.pow(2,8*be)-1,0);var Le=1,Be=0;for(this[fe]=255&ae;++Be>>=0,be>>>=0,ke||H(this,ae,fe,be,Math.pow(2,8*be)-1,0);var Le=be-1,Be=1;for(this[fe+Le]=255&ae;--Le>=0&&(Be*=256);)this[fe+Le]=ae/Be&255;return fe+be},h.prototype.writeUint8=h.prototype.writeUInt8=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,1,255,0),this[fe]=255&ae,fe+1},h.prototype.writeUint16LE=h.prototype.writeUInt16LE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,2,65535,0),this[fe]=255&ae,this[fe+1]=ae>>>8,fe+2},h.prototype.writeUint16BE=h.prototype.writeUInt16BE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,2,65535,0),this[fe]=ae>>>8,this[fe+1]=255&ae,fe+2},h.prototype.writeUint32LE=h.prototype.writeUInt32LE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,4,4294967295,0),this[fe+3]=ae>>>24,this[fe+2]=ae>>>16,this[fe+1]=ae>>>8,this[fe]=255&ae,fe+4},h.prototype.writeUint32BE=h.prototype.writeUInt32BE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,4,4294967295,0),this[fe]=ae>>>24,this[fe+1]=ae>>>16,this[fe+2]=ae>>>8,this[fe+3]=255&ae,fe+4},h.prototype.writeBigUInt64LE=Se(function(ae){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ne(this,ae,fe,BigInt(0),BigInt("0xffffffffffffffff"))}),h.prototype.writeBigUInt64BE=Se(function(ae){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return te(this,ae,fe,BigInt(0),BigInt("0xffffffffffffffff"))}),h.prototype.writeIntLE=function(ae,fe,be,ke){if(ae=+ae,fe>>>=0,!ke){var Le=Math.pow(2,8*be-1);H(this,ae,fe,be,Le-1,-Le)}var Be=0,ze=1,je=0;for(this[fe]=255&ae;++Be>0)-je&255;return fe+be},h.prototype.writeIntBE=function(ae,fe,be,ke){if(ae=+ae,fe>>>=0,!ke){var Le=Math.pow(2,8*be-1);H(this,ae,fe,be,Le-1,-Le)}var Be=be-1,ze=1,je=0;for(this[fe+Be]=255&ae;--Be>=0&&(ze*=256);)ae<0&&je===0&&this[fe+Be+1]!==0&&(je=1),this[fe+Be]=(ae/ze>>0)-je&255;return fe+be},h.prototype.writeInt8=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,1,127,-128),ae<0&&(ae=255+ae+1),this[fe]=255&ae,fe+1},h.prototype.writeInt16LE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,2,32767,-32768),this[fe]=255&ae,this[fe+1]=ae>>>8,fe+2},h.prototype.writeInt16BE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,2,32767,-32768),this[fe]=ae>>>8,this[fe+1]=255&ae,fe+2},h.prototype.writeInt32LE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,4,2147483647,-2147483648),this[fe]=255&ae,this[fe+1]=ae>>>8,this[fe+2]=ae>>>16,this[fe+3]=ae>>>24,fe+4},h.prototype.writeInt32BE=function(ae,fe,be){return ae=+ae,fe>>>=0,be||H(this,ae,fe,4,2147483647,-2147483648),ae<0&&(ae=4294967295+ae+1),this[fe]=ae>>>24,this[fe+1]=ae>>>16,this[fe+2]=ae>>>8,this[fe+3]=255&ae,fe+4},h.prototype.writeBigInt64LE=Se(function(ae){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return ne(this,ae,fe,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),h.prototype.writeBigInt64BE=Se(function(ae){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return te(this,ae,fe,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),h.prototype.writeFloatLE=function(ae,fe,be){return X(this,ae,fe,!0,be)},h.prototype.writeFloatBE=function(ae,fe,be){return X(this,ae,fe,!1,be)},h.prototype.writeDoubleLE=function(ae,fe,be){return Q(this,ae,fe,!0,be)},h.prototype.writeDoubleBE=function(ae,fe,be){return Q(this,ae,fe,!1,be)},h.prototype.copy=function(ae,fe,be,ke){if(!h.isBuffer(ae))throw new TypeError("argument should be a Buffer");if(be||(be=0),ke||ke===0||(ke=this.length),fe>=ae.length&&(fe=ae.length),fe||(fe=0),ke>0&&ke=this.length)throw new RangeError("Index out of range");if(ke<0)throw new RangeError("sourceEnd out of bounds");ke>this.length&&(ke=this.length),ae.length-fe>>=0,be=be===void 0?this.length:be>>>0,ae||(ae=0),typeof ae=="number")for(Be=fe;Be"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var Ee,Ve=f(ze);if(je){var $e=f(this).constructor;Ee=Reflect.construct(Ve,arguments,$e)}else Ee=Ve.apply(this,arguments);return M(this,Ee)});function we(){var Ee;return d(this,we),Ee=ge.call(this),Object.defineProperty(v(Ee),"message",{value:fe.apply(v(Ee),arguments),writable:!0,configurable:!0}),Ee.name="".concat(Ee.name," [").concat(ae,"]"),Ee.stack,delete Ee.name,Ee}return Le=we,(Be=[{key:"code",get:function(){return ae},set:function(Ee){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:Ee,writable:!0})}},{key:"toString",value:function(){return"".concat(this.name," [").concat(ae,"]: ").concat(this.message)}}])&&g(Le.prototype,Be),Object.defineProperty(Le,"prototype",{writable:!1}),we}(be)}function oe(ae){for(var fe="",be=ae.length,ke=ae[0]==="-"?1:0;be>=ke+4;be-=3)fe="_".concat(ae.slice(be-3,be)).concat(fe);return"".concat(ae.slice(0,be)).concat(fe)}function ue(ae,fe,be,ke,Le,Be){if(ae>be||ae3?fe===0||fe===BigInt(0)?">= 0".concat(je," and < 2").concat(je," ** ").concat(8*(Be+1)).concat(je):">= -(2".concat(je," ** ").concat(8*(Be+1)-1).concat(je,") and < 2 ** ")+"".concat(8*(Be+1)-1).concat(je):">= ".concat(fe).concat(je," and <= ").concat(be).concat(je),new re.ERR_OUT_OF_RANGE("value",ze,ae)}(function(ge,we,Ee){ce(we,"offset"),ge[we]!==void 0&&ge[we+Ee]!==void 0||ye(we,ge.length-(Ee+1))})(ke,Le,Be)}function ce(ae,fe){if(typeof ae!="number")throw new re.ERR_INVALID_ARG_TYPE(fe,"number",ae)}function ye(ae,fe,be){throw Math.floor(ae)!==ae?(ce(ae,be),new re.ERR_OUT_OF_RANGE(be||"offset","an integer",ae)):fe<0?new re.ERR_BUFFER_OUT_OF_BOUNDS:new re.ERR_OUT_OF_RANGE(be||"offset",">= ".concat(be?1:0," and <= ").concat(fe),ae)}ie("ERR_BUFFER_OUT_OF_BOUNDS",function(ae){return ae?"".concat(ae," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"},RangeError),ie("ERR_INVALID_ARG_TYPE",function(ae,fe){return'The "'.concat(ae,'" argument must be of type number. Received type ').concat(l(fe))},TypeError),ie("ERR_OUT_OF_RANGE",function(ae,fe,be){var ke='The value of "'.concat(ae,'" is out of range.'),Le=be;return Number.isInteger(be)&&Math.abs(be)>Math.pow(2,32)?Le=oe(String(be)):typeof be=="bigint"&&(Le=String(be),(be>Math.pow(BigInt(2),BigInt(32))||be<-Math.pow(BigInt(2),BigInt(32)))&&(Le=oe(Le)),Le+="n"),ke+" It must be ".concat(fe,". Received ").concat(Le)},RangeError);var de=/[^+/0-9A-Za-z-_]/g;function me(ae,fe){var be;fe=fe||1/0;for(var ke=ae.length,Le=null,Be=[],ze=0;ze55295&&be<57344){if(!Le){if(be>56319){(fe-=3)>-1&&Be.push(239,191,189);continue}if(ze+1===ke){(fe-=3)>-1&&Be.push(239,191,189);continue}Le=be;continue}if(be<56320){(fe-=3)>-1&&Be.push(239,191,189),Le=be;continue}be=65536+(Le-55296<<10|be-56320)}else Le&&(fe-=3)>-1&&Be.push(239,191,189);if(Le=null,be<128){if((fe-=1)<0)break;Be.push(be)}else if(be<2048){if((fe-=2)<0)break;Be.push(be>>6|192,63&be|128)}else if(be<65536){if((fe-=3)<0)break;Be.push(be>>12|224,be>>6&63|128,63&be|128)}else{if(!(be<1114112))throw new Error("Invalid code point");if((fe-=4)<0)break;Be.push(be>>18|240,be>>12&63|128,be>>6&63|128,63&be|128)}}return Be}function pe(ae){return a.toByteArray(function(fe){if((fe=(fe=fe.split("=")[0]).trim().replace(de,"")).length<2)return"";for(;fe.length%4!=0;)fe+="=";return fe}(ae))}function xe(ae,fe,be,ke){var Le;for(Le=0;Le=fe.length||Le>=ae.length);++Le)fe[Le+be]=ae[Le];return Le}function Pe(ae,fe){return ae instanceof fe||ae!=null&&ae.constructor!=null&&ae.constructor.name!=null&&ae.constructor.name===fe.name}function _e(ae){return ae!=ae}var Me=function(){for(var ae="0123456789abcdef",fe=new Array(256),be=0;be<16;++be)for(var ke=16*be,Le=0;Le<16;++Le)fe[ke+Le]=ae[be]+ae[Le];return fe}();function Se(ae){return typeof BigInt>"u"?Ce:ae}function Ce(){throw new Error("BigInt not supported")}},35791:function(T){T.exports=g,T.exports.isMobile=g,T.exports.default=g;var p=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,t=/CrOS/,d=/android|ipad|playbook|silk/i;function g(i){i||(i={});var M=i.ua;if(M||typeof navigator>"u"||(M=navigator.userAgent),M&&M.headers&&typeof M.headers["user-agent"]=="string"&&(M=M.headers["user-agent"]),typeof M!="string")return!1;var v=p.test(M)&&!t.test(M)||!!i.tablet&&d.test(M);return!v&&i.tablet&&i.featureDetect&&navigator&&navigator.maxTouchPoints>1&&M.indexOf("Macintosh")!==-1&&M.indexOf("Safari")!==-1&&(v=!0),v}},86781:function(T,p,t){t.r(p),t.d(p,{sankeyCenter:function(){return o},sankeyCircular:function(){return O},sankeyJustify:function(){return u},sankeyLeft:function(){return l},sankeyRight:function(){return a}});var d=t(33064),g=t(15140),i=t(45879),M=t(2502),v=t.n(M);function f(pe){return pe.target.depth}function l(pe){return pe.depth}function a(pe,xe){return xe-1-pe.height}function u(pe,xe){return pe.sourceLinks.length?pe.depth:xe-1}function o(pe){return pe.targetLinks.length?pe.depth:pe.sourceLinks.length?(0,d.VV)(pe.sourceLinks,f)-1:0}function s(pe){return function(){return pe}}var c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(pe){return typeof pe}:function(pe){return pe&&typeof Symbol=="function"&&pe.constructor===Symbol&&pe!==Symbol.prototype?"symbol":typeof pe};function h(pe,xe){return w(pe.source,xe.source)||pe.index-xe.index}function m(pe,xe){return w(pe.target,xe.target)||pe.index-xe.index}function w(pe,xe){return pe.partOfCycle===xe.partOfCycle?pe.y0-xe.y0:pe.circularLinkType==="top"||xe.circularLinkType==="bottom"?-1:1}function y(pe){return pe.value}function S(pe){return(pe.y0+pe.y1)/2}function _(pe){return S(pe.source)}function k(pe){return S(pe.target)}function E(pe){return pe.index}function x(pe){return pe.nodes}function A(pe){return pe.links}function L(pe,xe){var Pe=pe.get(xe);if(!Pe)throw new Error("missing: "+xe);return Pe}function b(pe,xe){return xe(pe)}var R=25,I=10;function O(){var pe,xe,Pe=0,_e=0,Me=1,Se=1,Ce=24,ae=E,fe=u,be=x,ke=A,Le=32,Be=2,ze=null;function je(){var Ye={nodes:be.apply(null,arguments),links:ke.apply(null,arguments)};ge(Ye),z(Ye,0,ze),we(Ye),Ee(Ye),F(Ye,ae),Ve(Ye,Le,ae),$e(Ye);for(var st=4,ot=0;ot0?Je+R+I:Je,bottom:qe=qe>0?qe+R+I:qe,left:ft=ft>0?ft+R+I:ft,right:nt=nt>0?nt+R+I:nt}}(Ye),Vt=function(Ke,Je){var qe=(0,d.Fp)(Ke.nodes,function(Qe){return Qe.column}),nt=Me-Pe,ft=Se-_e,Re=nt/(nt+Je.right+Je.left),Ne=ft/(ft+Je.top+Je.bottom);return Pe=Pe*Re+Je.left,Me=Je.right==0?Me:Me*Re,_e=_e*Ne+Je.top,Se*=Ne,Ke.nodes.forEach(function(Qe){Qe.x0=Pe+Qe.column*((Me-Pe-Ce)/qe),Qe.x1=Qe.x0+Ce}),Ne}(Ye,qt);Bt*=Vt,Ye.links.forEach(function(Ke){Ke.width=Ke.value*Bt}),ht.forEach(function(Ke){var Je=Ke.length;Ke.forEach(function(qe,nt){qe.depth==ht.length-1&&Je==1||qe.depth==0&&Je==1?(qe.y0=Se/2-qe.value*Bt,qe.y1=qe.y0+qe.value*Bt):qe.partOfCycle?N(qe,Ft)==0?(qe.y0=Se/2+nt,qe.y1=qe.y0+qe.value*Bt):qe.circularLinkType=="top"?(qe.y0=_e+nt,qe.y1=qe.y0+qe.value*Bt):(qe.y0=Se-qe.value*Bt-nt,qe.y1=qe.y0+qe.value*Bt):qt.top==0||qt.bottom==0?(qe.y0=(Se-_e)/Je*nt,qe.y1=qe.y0+qe.value*Bt):(qe.y0=(Se-_e)/2-Je/2+nt,qe.y1=qe.y0+qe.value*Bt)})})})(ot),xt();for(var bt=1,Et=st;Et>0;--Et)kt(bt*=.99,ot),xt();function kt(Ft,Ot){var Bt=ht.length;ht.forEach(function(qt){var Vt=qt.length,Ke=qt[0].depth;qt.forEach(function(Je){var qe;if((Je.sourceLinks.length||Je.targetLinks.length)&&!(Je.partOfCycle&&N(Je,Ot)>0))if(Ke==0&&Vt==1)qe=Je.y1-Je.y0,Je.y0=Se/2-qe/2,Je.y1=Se/2+qe/2;else if(Ke==Bt-1&&Vt==1)qe=Je.y1-Je.y0,Je.y0=Se/2-qe/2,Je.y1=Se/2+qe/2;else{var nt=(0,d.J6)(Je.sourceLinks,k),ft=(0,d.J6)(Je.targetLinks,_),Re=((nt&&ft?(nt+ft)/2:nt||ft)-S(Je))*Ft;Je.y0+=Re,Je.y1+=Re}})})}function xt(){ht.forEach(function(Ft){var Ot,Bt,qt,Vt=_e,Ke=Ft.length;for(Ft.sort(w),qt=0;qt0&&(Ot.y0+=Bt,Ot.y1+=Bt),Vt=Ot.y1+pe;if((Bt=Vt-pe-Se)>0)for(Vt=Ot.y0-=Bt,Ot.y1-=Bt,qt=Ke-2;qt>=0;--qt)(Bt=(Ot=Ft[qt]).y1+pe-Vt)>0&&(Ot.y0-=Bt,Ot.y1-=Bt),Vt=Ot.y0})}}function $e(Ye){Ye.nodes.forEach(function(st){st.sourceLinks.sort(m),st.targetLinks.sort(h)}),Ye.nodes.forEach(function(st){var ot=st.y0,ht=ot,bt=st.y1,Et=bt;st.sourceLinks.forEach(function(kt){kt.circular?(kt.y0=bt-kt.width/2,bt-=kt.width):(kt.y0=ot+kt.width/2,ot+=kt.width)}),st.targetLinks.forEach(function(kt){kt.circular?(kt.y1=Et-kt.width/2,Et-=kt.width):(kt.y1=ht+kt.width/2,ht+=kt.width)})})}return je.nodeId=function(Ye){return arguments.length?(ae=typeof Ye=="function"?Ye:s(Ye),je):ae},je.nodeAlign=function(Ye){return arguments.length?(fe=typeof Ye=="function"?Ye:s(Ye),je):fe},je.nodeWidth=function(Ye){return arguments.length?(Ce=+Ye,je):Ce},je.nodePadding=function(Ye){return arguments.length?(pe=+Ye,je):pe},je.nodes=function(Ye){return arguments.length?(be=typeof Ye=="function"?Ye:s(Ye),je):be},je.links=function(Ye){return arguments.length?(ke=typeof Ye=="function"?Ye:s(Ye),je):ke},je.size=function(Ye){return arguments.length?(Pe=_e=0,Me=+Ye[0],Se=+Ye[1],je):[Me-Pe,Se-_e]},je.extent=function(Ye){return arguments.length?(Pe=+Ye[0][0],Me=+Ye[1][0],_e=+Ye[0][1],Se=+Ye[1][1],je):[[Pe,_e],[Me,Se]]},je.iterations=function(Ye){return arguments.length?(Le=+Ye,je):Le},je.circularLinkGap=function(Ye){return arguments.length?(Be=+Ye,je):Be},je.nodePaddingRatio=function(Ye){return arguments.length?(xe=+Ye,je):xe},je.sortNodes=function(Ye){return arguments.length?(ze=Ye,je):ze},je.update=function(Ye){return F(Ye,ae),$e(Ye),Ye.links.forEach(function(st){st.circular&&(st.circularLinkType=st.y0+st.y11||Me>1)}function j(pe,xe,Pe){return pe.sort(U),pe.forEach(function(_e,Me){var Se,Ce,ae=0;if(de(_e,Pe)&&W(_e))_e.circularPathData.verticalBuffer=ae+_e.width/2;else{for(var fe=0;feCe.source.column)){var be=pe[fe].circularPathData.verticalBuffer+pe[fe].width/2+xe;ae=be>ae?be:ae}_e.circularPathData.verticalBuffer=ae+_e.width/2}}),pe}function $(pe,xe,Pe,_e){var Me=(0,d.VV)(pe.links,function(Se){return Se.source.y0});pe.links.forEach(function(Se){Se.circular&&(Se.circularPathData={})}),j(pe.links.filter(function(Se){return Se.circularLinkType=="top"}),xe,_e),j(pe.links.filter(function(Se){return Se.circularLinkType=="bottom"}),xe,_e),pe.links.forEach(function(Se){if(Se.circular){if(Se.circularPathData.arcRadius=Se.width+I,Se.circularPathData.leftNodeBuffer=5,Se.circularPathData.rightNodeBuffer=5,Se.circularPathData.sourceWidth=Se.source.x1-Se.source.x0,Se.circularPathData.sourceX=Se.source.x0+Se.circularPathData.sourceWidth,Se.circularPathData.targetX=Se.target.x0,Se.circularPathData.sourceY=Se.y0,Se.circularPathData.targetY=Se.y1,de(Se,_e)&&W(Se))Se.circularPathData.leftSmallArcRadius=I+Se.width/2,Se.circularPathData.leftLargeArcRadius=I+Se.width/2,Se.circularPathData.rightSmallArcRadius=I+Se.width/2,Se.circularPathData.rightLargeArcRadius=I+Se.width/2,Se.circularLinkType=="bottom"?(Se.circularPathData.verticalFullExtent=Se.source.y1+R+Se.circularPathData.verticalBuffer,Se.circularPathData.verticalLeftInnerExtent=Se.circularPathData.verticalFullExtent-Se.circularPathData.leftLargeArcRadius,Se.circularPathData.verticalRightInnerExtent=Se.circularPathData.verticalFullExtent-Se.circularPathData.rightLargeArcRadius):(Se.circularPathData.verticalFullExtent=Se.source.y0-R-Se.circularPathData.verticalBuffer,Se.circularPathData.verticalLeftInnerExtent=Se.circularPathData.verticalFullExtent+Se.circularPathData.leftLargeArcRadius,Se.circularPathData.verticalRightInnerExtent=Se.circularPathData.verticalFullExtent+Se.circularPathData.rightLargeArcRadius);else{var Ce=Se.source.column,ae=Se.circularLinkType,fe=pe.links.filter(function(Le){return Le.source.column==Ce&&Le.circularLinkType==ae});Se.circularLinkType=="bottom"?fe.sort(q):fe.sort(G);var be=0;fe.forEach(function(Le,Be){Le.circularLinkID==Se.circularLinkID&&(Se.circularPathData.leftSmallArcRadius=I+Se.width/2+be,Se.circularPathData.leftLargeArcRadius=I+Se.width/2+Be*xe+be),be+=Le.width}),Ce=Se.target.column,fe=pe.links.filter(function(Le){return Le.target.column==Ce&&Le.circularLinkType==ae}),Se.circularLinkType=="bottom"?fe.sort(ne):fe.sort(H),be=0,fe.forEach(function(Le,Be){Le.circularLinkID==Se.circularLinkID&&(Se.circularPathData.rightSmallArcRadius=I+Se.width/2+be,Se.circularPathData.rightLargeArcRadius=I+Se.width/2+Be*xe+be),be+=Le.width}),Se.circularLinkType=="bottom"?(Se.circularPathData.verticalFullExtent=Math.max(Pe,Se.source.y1,Se.target.y1)+R+Se.circularPathData.verticalBuffer,Se.circularPathData.verticalLeftInnerExtent=Se.circularPathData.verticalFullExtent-Se.circularPathData.leftLargeArcRadius,Se.circularPathData.verticalRightInnerExtent=Se.circularPathData.verticalFullExtent-Se.circularPathData.rightLargeArcRadius):(Se.circularPathData.verticalFullExtent=Me-R-Se.circularPathData.verticalBuffer,Se.circularPathData.verticalLeftInnerExtent=Se.circularPathData.verticalFullExtent+Se.circularPathData.leftLargeArcRadius,Se.circularPathData.verticalRightInnerExtent=Se.circularPathData.verticalFullExtent+Se.circularPathData.rightLargeArcRadius)}Se.circularPathData.leftInnerExtent=Se.circularPathData.sourceX+Se.circularPathData.leftNodeBuffer,Se.circularPathData.rightInnerExtent=Se.circularPathData.targetX-Se.circularPathData.rightNodeBuffer,Se.circularPathData.leftFullExtent=Se.circularPathData.sourceX+Se.circularPathData.leftLargeArcRadius+Se.circularPathData.leftNodeBuffer,Se.circularPathData.rightFullExtent=Se.circularPathData.targetX-Se.circularPathData.rightLargeArcRadius-Se.circularPathData.rightNodeBuffer}if(Se.circular)Se.path=function(Le){return Le.circularLinkType=="top"?"M"+Le.circularPathData.sourceX+" "+Le.circularPathData.sourceY+" L"+Le.circularPathData.leftInnerExtent+" "+Le.circularPathData.sourceY+" A"+Le.circularPathData.leftLargeArcRadius+" "+Le.circularPathData.leftSmallArcRadius+" 0 0 0 "+Le.circularPathData.leftFullExtent+" "+(Le.circularPathData.sourceY-Le.circularPathData.leftSmallArcRadius)+" L"+Le.circularPathData.leftFullExtent+" "+Le.circularPathData.verticalLeftInnerExtent+" A"+Le.circularPathData.leftLargeArcRadius+" "+Le.circularPathData.leftLargeArcRadius+" 0 0 0 "+Le.circularPathData.leftInnerExtent+" "+Le.circularPathData.verticalFullExtent+" L"+Le.circularPathData.rightInnerExtent+" "+Le.circularPathData.verticalFullExtent+" A"+Le.circularPathData.rightLargeArcRadius+" "+Le.circularPathData.rightLargeArcRadius+" 0 0 0 "+Le.circularPathData.rightFullExtent+" "+Le.circularPathData.verticalRightInnerExtent+" L"+Le.circularPathData.rightFullExtent+" "+(Le.circularPathData.targetY-Le.circularPathData.rightSmallArcRadius)+" A"+Le.circularPathData.rightLargeArcRadius+" "+Le.circularPathData.rightSmallArcRadius+" 0 0 0 "+Le.circularPathData.rightInnerExtent+" "+Le.circularPathData.targetY+" L"+Le.circularPathData.targetX+" "+Le.circularPathData.targetY:"M"+Le.circularPathData.sourceX+" "+Le.circularPathData.sourceY+" L"+Le.circularPathData.leftInnerExtent+" "+Le.circularPathData.sourceY+" A"+Le.circularPathData.leftLargeArcRadius+" "+Le.circularPathData.leftSmallArcRadius+" 0 0 1 "+Le.circularPathData.leftFullExtent+" "+(Le.circularPathData.sourceY+Le.circularPathData.leftSmallArcRadius)+" L"+Le.circularPathData.leftFullExtent+" "+Le.circularPathData.verticalLeftInnerExtent+" A"+Le.circularPathData.leftLargeArcRadius+" "+Le.circularPathData.leftLargeArcRadius+" 0 0 1 "+Le.circularPathData.leftInnerExtent+" "+Le.circularPathData.verticalFullExtent+" L"+Le.circularPathData.rightInnerExtent+" "+Le.circularPathData.verticalFullExtent+" A"+Le.circularPathData.rightLargeArcRadius+" "+Le.circularPathData.rightLargeArcRadius+" 0 0 1 "+Le.circularPathData.rightFullExtent+" "+Le.circularPathData.verticalRightInnerExtent+" L"+Le.circularPathData.rightFullExtent+" "+(Le.circularPathData.targetY+Le.circularPathData.rightSmallArcRadius)+" A"+Le.circularPathData.rightLargeArcRadius+" "+Le.circularPathData.rightSmallArcRadius+" 0 0 1 "+Le.circularPathData.rightInnerExtent+" "+Le.circularPathData.targetY+" L"+Le.circularPathData.targetX+" "+Le.circularPathData.targetY}(Se);else{var ke=(0,i.h5)().source(function(Le){return[Le.source.x0+(Le.source.x1-Le.source.x0),Le.y0]}).target(function(Le){return[Le.target.x0,Le.y1]});Se.path=ke(Se)}})}function U(pe,xe){return te(pe)==te(xe)?pe.circularLinkType=="bottom"?q(pe,xe):G(pe,xe):te(xe)-te(pe)}function G(pe,xe){return pe.y0-xe.y0}function q(pe,xe){return xe.y0-pe.y0}function H(pe,xe){return pe.y1-xe.y1}function ne(pe,xe){return xe.y1-pe.y1}function te(pe){return pe.target.column-pe.source.column}function Z(pe){return pe.target.x0-pe.source.x1}function X(pe,xe){var Pe=B(pe),_e=Z(xe)/Math.tan(Pe);return ye(pe)=="up"?pe.y1+_e:pe.y1-_e}function Q(pe,xe){var Pe=B(pe),_e=Z(xe)/Math.tan(Pe);return ye(pe)=="up"?pe.y1-_e:pe.y1+_e}function re(pe,xe,Pe,_e){pe.links.forEach(function(Me){if(!Me.circular&&Me.target.column-Me.source.column>1){var Se=Me.source.column+1,Ce=Me.target.column-1,ae=1,fe=Ce-Se+1;for(ae=1;Se<=Ce;Se++,ae++)pe.nodes.forEach(function(be){if(be.column==Se){var ke,Le=ae/(fe+1),Be=Math.pow(1-Le,3),ze=3*Le*Math.pow(1-Le,2),je=3*Math.pow(Le,2)*(1-Le),ge=Math.pow(Le,3),we=Be*Me.y0+ze*Me.y0+je*Me.y1+ge*Me.y1,Ee=we-Me.width/2,Ve=we+Me.width/2;Ee>be.y0&&Eest.y0&&Ye.y0st.y0&&Ye.y1st.y1)&&ie($e,ke,xe,Pe)})):(Ve>be.y0&&Vebe.y1)&&(ke=Ve-be.y0+10,be=ie(be,ke,xe,Pe),pe.nodes.forEach(function($e){b($e,_e)!=b(be,_e)&&$e.column==be.column&&$e.y0be.y1&&ie($e,ke,xe,Pe)}))}})}})}function ie(pe,xe,Pe,_e){return pe.y0+xe>=Pe&&pe.y1+xe<=_e&&(pe.y0=pe.y0+xe,pe.y1=pe.y1+xe,pe.targetLinks.forEach(function(Me){Me.y1=Me.y1+xe}),pe.sourceLinks.forEach(function(Me){Me.y0=Me.y0+xe})),pe}function oe(pe,xe,Pe,_e){pe.nodes.forEach(function(Me){_e&&Me.y+(Me.y1-Me.y0)>xe&&(Me.y=Me.y-(Me.y+(Me.y1-Me.y0)-xe));var Se=pe.links.filter(function(fe){return b(fe.source,Pe)==b(Me,Pe)}),Ce=Se.length;Ce>1&&Se.sort(function(fe,be){if(!fe.circular&&!be.circular){if(fe.target.column==be.target.column||!ce(fe,be))return fe.y1-be.y1;if(fe.target.column>be.target.column){var ke=Q(be,fe);return fe.y1-ke}if(be.target.column>fe.target.column)return Q(fe,be)-be.y1}return fe.circular&&!be.circular?fe.circularLinkType=="top"?-1:1:be.circular&&!fe.circular?be.circularLinkType=="top"?1:-1:fe.circular&&be.circular?fe.circularLinkType===be.circularLinkType&&fe.circularLinkType=="top"?fe.target.column===be.target.column?fe.target.y1-be.target.y1:be.target.column-fe.target.column:fe.circularLinkType===be.circularLinkType&&fe.circularLinkType=="bottom"?fe.target.column===be.target.column?be.target.y1-fe.target.y1:fe.target.column-be.target.column:fe.circularLinkType=="top"?-1:1:void 0});var ae=Me.y0;Se.forEach(function(fe){fe.y0=ae+fe.width/2,ae+=fe.width}),Se.forEach(function(fe,be){if(fe.circularLinkType=="bottom"){for(var ke=be+1,Le=0;ke1&&Me.sort(function(ae,fe){if(!ae.circular&&!fe.circular){if(ae.source.column==fe.source.column||!ce(ae,fe))return ae.y0-fe.y0;if(fe.source.column0?"up":"down"}function de(pe,xe){return b(pe.source,xe)==b(pe.target,xe)}function me(pe,xe,Pe){var _e=pe.nodes,Me=pe.links,Se=!1,Ce=!1;if(Me.forEach(function(be){be.circularLinkType=="top"?Se=!0:be.circularLinkType=="bottom"&&(Ce=!0)}),Se==0||Ce==0){var ae=(0,d.VV)(_e,function(be){return be.y0}),fe=(Pe-xe)/((0,d.Fp)(_e,function(be){return be.y1})-ae);_e.forEach(function(be){var ke=(be.y1-be.y0)*fe;be.y0=(be.y0-ae)*fe,be.y1=be.y0+ke}),Me.forEach(function(be){be.y0=(be.y0-ae)*fe,be.y1=(be.y1-ae)*fe,be.width=be.width*fe})}}},30838:function(T,p,t){t.r(p),t.d(p,{sankey:function(){return E},sankeyCenter:function(){return l},sankeyJustify:function(){return f},sankeyLeft:function(){return M},sankeyLinkHorizontal:function(){return b},sankeyRight:function(){return v}});var d=t(33064),g=t(15140);function i(R){return R.target.depth}function M(R){return R.depth}function v(R,I){return I-1-R.height}function f(R,I){return R.sourceLinks.length?R.depth:I-1}function l(R){return R.targetLinks.length?R.depth:R.sourceLinks.length?(0,d.VV)(R.sourceLinks,i)-1:0}function a(R){return function(){return R}}function u(R,I){return s(R.source,I.source)||R.index-I.index}function o(R,I){return s(R.target,I.target)||R.index-I.index}function s(R,I){return R.y0-I.y0}function c(R){return R.value}function h(R){return(R.y0+R.y1)/2}function m(R){return h(R.source)*R.value}function w(R){return h(R.target)*R.value}function y(R){return R.index}function S(R){return R.nodes}function _(R){return R.links}function k(R,I){var O=R.get(I);if(!O)throw new Error("missing: "+I);return O}function E(){var R=0,I=0,O=1,z=1,F=24,B=8,N=y,W=f,j=S,$=_,U=32;function G(){var X={nodes:j.apply(null,arguments),links:$.apply(null,arguments)};return q(X),H(X),ne(X),te(X),Z(X),X}function q(X){X.nodes.forEach(function(re,ie){re.index=ie,re.sourceLinks=[],re.targetLinks=[]});var Q=(0,g.UI)(X.nodes,N);X.links.forEach(function(re,ie){re.index=ie;var oe=re.source,ue=re.target;typeof oe!="object"&&(oe=re.source=k(Q,oe)),typeof ue!="object"&&(ue=re.target=k(Q,ue)),oe.sourceLinks.push(re),ue.targetLinks.push(re)})}function H(X){X.nodes.forEach(function(Q){Q.value=Math.max((0,d.Sm)(Q.sourceLinks,c),(0,d.Sm)(Q.targetLinks,c))})}function ne(X){var Q,re,ie;for(Q=X.nodes,re=[],ie=0;Q.length;++ie,Q=re,re=[])Q.forEach(function(ue){ue.depth=ie,ue.sourceLinks.forEach(function(ce){re.indexOf(ce.target)<0&&re.push(ce.target)})});for(Q=X.nodes,re=[],ie=0;Q.length;++ie,Q=re,re=[])Q.forEach(function(ue){ue.height=ie,ue.targetLinks.forEach(function(ce){re.indexOf(ce.source)<0&&re.push(ce.source)})});var oe=(O-R-F)/(ie-1);X.nodes.forEach(function(ue){ue.x1=(ue.x0=R+Math.max(0,Math.min(ie-1,Math.floor(W.call(null,ue,ie))))*oe)+F})}function te(X){var Q=(0,g.b1)().key(function(ye){return ye.x0}).sortKeys(d.j2).entries(X.nodes).map(function(ye){return ye.values});(function(){var ye=(0,d.Fp)(Q,function(pe){return pe.length}),de=.6666666666666666*(z-I)/(ye-1);B>de&&(B=de);var me=(0,d.VV)(Q,function(pe){return(z-I-(pe.length-1)*B)/(0,d.Sm)(pe,c)});Q.forEach(function(pe){pe.forEach(function(xe,Pe){xe.y1=(xe.y0=Pe)+xe.value*me})}),X.links.forEach(function(pe){pe.width=pe.value*me})})(),ce();for(var re=1,ie=U;ie>0;--ie)ue(re*=.99),ce(),oe(re),ce();function oe(ye){Q.forEach(function(de){de.forEach(function(me){if(me.targetLinks.length){var pe=((0,d.Sm)(me.targetLinks,m)/(0,d.Sm)(me.targetLinks,c)-h(me))*ye;me.y0+=pe,me.y1+=pe}})})}function ue(ye){Q.slice().reverse().forEach(function(de){de.forEach(function(me){if(me.sourceLinks.length){var pe=((0,d.Sm)(me.sourceLinks,w)/(0,d.Sm)(me.sourceLinks,c)-h(me))*ye;me.y0+=pe,me.y1+=pe}})})}function ce(){Q.forEach(function(ye){var de,me,pe,xe=I,Pe=ye.length;for(ye.sort(s),pe=0;pe0&&(de.y0+=me,de.y1+=me),xe=de.y1+B;if((me=xe-B-z)>0)for(xe=de.y0-=me,de.y1-=me,pe=Pe-2;pe>=0;--pe)(me=(de=ye[pe]).y1+B-xe)>0&&(de.y0-=me,de.y1-=me),xe=de.y0})}}function Z(X){X.nodes.forEach(function(Q){Q.sourceLinks.sort(o),Q.targetLinks.sort(u)}),X.nodes.forEach(function(Q){var re=Q.y0,ie=re;Q.sourceLinks.forEach(function(oe){oe.y0=re+oe.width/2,re+=oe.width}),Q.targetLinks.forEach(function(oe){oe.y1=ie+oe.width/2,ie+=oe.width})})}return G.update=function(X){return Z(X),X},G.nodeId=function(X){return arguments.length?(N=typeof X=="function"?X:a(X),G):N},G.nodeAlign=function(X){return arguments.length?(W=typeof X=="function"?X:a(X),G):W},G.nodeWidth=function(X){return arguments.length?(F=+X,G):F},G.nodePadding=function(X){return arguments.length?(B=+X,G):B},G.nodes=function(X){return arguments.length?(j=typeof X=="function"?X:a(X),G):j},G.links=function(X){return arguments.length?($=typeof X=="function"?X:a(X),G):$},G.size=function(X){return arguments.length?(R=I=0,O=+X[0],z=+X[1],G):[O-R,z-I]},G.extent=function(X){return arguments.length?(R=+X[0][0],O=+X[1][0],I=+X[0][1],z=+X[1][1],G):[[R,I],[O,z]]},G.iterations=function(X){return arguments.length?(U=+X,G):U},G}var x=t(45879);function A(R){return[R.source.x1,R.y0]}function L(R){return[R.target.x0,R.y1]}function b(){return(0,x.h5)().source(A).target(L)}},39898:function(T,p,t){var d,g;(function(){var i={version:"3.8.0"},M=[].slice,v=function(se){return M.call(se)},f=self.document;function l(se){return se&&(se.ownerDocument||se.document||se).documentElement}function a(se){return se&&(se.ownerDocument&&se.ownerDocument.defaultView||se.document&&se||se.defaultView)}if(f)try{v(f.documentElement.childNodes)[0].nodeType}catch{v=function(ve){for(var Ie=ve.length,Fe=new Array(Ie);Ie--;)Fe[Ie]=ve[Ie];return Fe}}if(Date.now||(Date.now=function(){return+new Date}),f)try{f.createElement("DIV").style.setProperty("opacity",0,"")}catch{var u=this.Element.prototype,o=u.setAttribute,s=u.setAttributeNS,c=this.CSSStyleDeclaration.prototype,h=c.setProperty;u.setAttribute=function(ve,Ie){o.call(this,ve,Ie+"")},u.setAttributeNS=function(ve,Ie,Fe){s.call(this,ve,Ie,Fe+"")},c.setProperty=function(ve,Ie,Fe){h.call(this,ve,Ie+"",Fe)}}function m(se,ve){return seve?1:se>=ve?0:NaN}function w(se){return se===null?NaN:+se}function y(se){return!isNaN(se)}function S(se){return{left:function(ve,Ie,Fe,Ue){for(arguments.length<3&&(Fe=0),arguments.length<4&&(Ue=ve.length);Fe>>1;se(ve[We],Ie)<0?Fe=We+1:Ue=We}return Fe},right:function(ve,Ie,Fe,Ue){for(arguments.length<3&&(Fe=0),arguments.length<4&&(Ue=ve.length);Fe>>1;se(ve[We],Ie)>0?Ue=We:Fe=We+1}return Fe}}}i.ascending=m,i.descending=function(se,ve){return vese?1:ve>=se?0:NaN},i.min=function(se,ve){var Ie,Fe,Ue=-1,We=se.length;if(arguments.length===1){for(;++Ue=Fe){Ie=Fe;break}for(;++UeFe&&(Ie=Fe)}else{for(;++Ue=Fe){Ie=Fe;break}for(;++UeFe&&(Ie=Fe)}return Ie},i.max=function(se,ve){var Ie,Fe,Ue=-1,We=se.length;if(arguments.length===1){for(;++Ue=Fe){Ie=Fe;break}for(;++UeIe&&(Ie=Fe)}else{for(;++Ue=Fe){Ie=Fe;break}for(;++UeIe&&(Ie=Fe)}return Ie},i.extent=function(se,ve){var Ie,Fe,Ue,We=-1,Xe=se.length;if(arguments.length===1){for(;++We=Fe){Ie=Ue=Fe;break}for(;++WeFe&&(Ie=Fe),Ue=Fe){Ie=Ue=Fe;break}for(;++WeFe&&(Ie=Fe),Ue1)return Xe/(lt-1)},i.deviation=function(){var se=i.variance.apply(this,arguments);return se&&Math.sqrt(se)};var _=S(m);function k(se){return se.length}i.bisectLeft=_.left,i.bisect=i.bisectRight=_.right,i.bisector=function(se){return S(se.length===1?function(ve,Ie){return m(se(ve),Ie)}:se)},i.shuffle=function(se,ve,Ie){(We=arguments.length)<3&&(Ie=se.length,We<2&&(ve=0));for(var Fe,Ue,We=Ie-ve;We;)Ue=Math.random()*We--|0,Fe=se[We+ve],se[We+ve]=se[Ue+ve],se[Ue+ve]=Fe;return se},i.permute=function(se,ve){for(var Ie=ve.length,Fe=new Array(Ie);Ie--;)Fe[Ie]=se[ve[Ie]];return Fe},i.pairs=function(se){for(var ve=0,Ie=se.length-1,Fe=se[0],Ue=new Array(Ie<0?0:Ie);ve=0;)for(ve=(Fe=se[Ue]).length;--ve>=0;)Ie[--Xe]=Fe[ve];return Ie};var E=Math.abs;function x(se){for(var ve=1;se*ve%1;)ve*=10;return ve}function A(se,ve){for(var Ie in ve)Object.defineProperty(se.prototype,Ie,{value:ve[Ie],enumerable:!1})}function L(){this._=Object.create(null)}function b(se){return(se+="")=="__proto__"||se[0]==="\0"?"\0"+se:se}function R(se){return(se+="")[0]==="\0"?se.slice(1):se}function I(se){return b(se)in this._}function O(se){return(se=b(se))in this._&&delete this._[se]}function z(){var se=[];for(var ve in this._)se.push(R(ve));return se}function F(){var se=0;for(var ve in this._)++se;return se}function B(){for(var se in this._)return!1;return!0}function N(){this._=Object.create(null)}function W(se){return se}function j(se,ve,Ie){return function(){var Fe=Ie.apply(ve,arguments);return Fe===ve?se:Fe}}function $(se,ve){if(ve in se)return ve;ve=ve.charAt(0).toUpperCase()+ve.slice(1);for(var Ie=0,Fe=U.length;Ieve;)Ue.push(Fe/We);else for(;(Fe=se+Ie*++Xe)=Fe.length)return ve?ve.call(Ie,lt):se?lt.sort(se):lt;for(var zt,Ut,Ht,en,vn=-1,tn=lt.length,ln=Fe[mt++],an=new L;++vn=Fe.length)return tt;var mt=[],zt=Ue[lt++];return tt.forEach(function(Ut,Ht){mt.push({key:Ut,values:Xe(Ht,lt)})}),zt?mt.sort(function(Ut,Ht){return zt(Ut.key,Ht.key)}):mt}return Ie.map=function(tt,lt){return We(lt,tt,0)},Ie.entries=function(tt){return Xe(We(i.map,tt,0),0)},Ie.key=function(tt){return Fe.push(tt),Ie},Ie.sortKeys=function(tt){return Ue[Fe.length-1]=tt,Ie},Ie.sortValues=function(tt){return se=tt,Ie},Ie.rollup=function(tt){return ve=tt,Ie},Ie},i.set=function(se){var ve=new N;if(se)for(var Ie=0,Fe=se.length;Ie=0&&(Fe=se.slice(Ie+1),se=se.slice(0,Ie)),se)return arguments.length<2?this[se].on(Fe):this[se].on(Fe,ve);if(arguments.length===2){if(ve==null)for(se in this)this.hasOwnProperty(se)&&this[se].on(Fe,null);return this}},i.event=null,i.requote=function(se){return se.replace(X,"\\$&")};var X=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,Q={}.__proto__?function(se,ve){se.__proto__=ve}:function(se,ve){for(var Ie in ve)se[Ie]=ve[Ie]};function re(se){return Q(se,ce),se}var ie=function(se,ve){return ve.querySelector(se)},oe=function(se,ve){return ve.querySelectorAll(se)},ue=function(se,ve){var Ie=se.matches||se[$(se,"matchesSelector")];return ue=function(Fe,Ue){return Ie.call(Fe,Ue)},ue(se,ve)};typeof Sizzle=="function"&&(ie=function(se,ve){return Sizzle(se,ve)[0]||null},oe=Sizzle,ue=Sizzle.matchesSelector),i.selection=function(){return i.select(f.documentElement)};var ce=i.selection.prototype=[];function ye(se){return typeof se=="function"?se:function(){return ie(se,this)}}function de(se){return typeof se=="function"?se:function(){return oe(se,this)}}ce.select=function(se){var ve,Ie,Fe,Ue,We=[];se=ye(se);for(var Xe=-1,tt=this.length;++Xe=0&&(Ie=se.slice(0,ve))!=="xmlns"&&(se=se.slice(ve+1)),pe.hasOwnProperty(Ie)?{space:pe[Ie],local:se}:se}},ce.attr=function(se,ve){if(arguments.length<2){if(typeof se=="string"){var Ie=this.node();return(se=i.ns.qualify(se)).local?Ie.getAttributeNS(se.space,se.local):Ie.getAttribute(se)}for(ve in se)this.each(xe(ve,se[ve]));return this}return this.each(xe(se,ve))},ce.classed=function(se,ve){if(arguments.length<2){if(typeof se=="string"){var Ie=this.node(),Fe=(se=Me(se)).length,Ue=-1;if(ve=Ie.classList){for(;++Ue=0;)(Ie=Fe[Ue])&&(We&&We!==Ie.nextSibling&&We.parentNode.insertBefore(Ie,We),We=Ie);return this},ce.sort=function(se){se=ze.apply(this,arguments);for(var ve=-1,Ie=this.length;++ve=ve&&(ve=Ue+1);!(Xe=tt[ve])&&++ve0&&(se=se.slice(0,Ue));var Xe=$e.get(se);function tt(){var lt=this[Fe];lt&&(this.removeEventListener(se,lt,lt.$),delete this[Fe])}return Xe&&(se=Xe,We=st),Ue?ve?function(){var lt=We(ve,v(arguments));tt.call(this),this.addEventListener(se,this[Fe]=lt,lt.$=Ie),lt._=ve}:tt:ve?G:function(){var lt,mt=new RegExp("^__on([^.]+)"+i.requote(se)+"$");for(var zt in this)if(lt=zt.match(mt)){var Ut=this[zt];this.removeEventListener(lt[1],Ut,Ut.$),delete this[zt]}}}i.selection.enter=ge,i.selection.enter.prototype=we,we.append=ce.append,we.empty=ce.empty,we.node=ce.node,we.call=ce.call,we.size=ce.size,we.select=function(se){for(var ve,Ie,Fe,Ue,We,Xe=[],tt=-1,lt=this.length;++tt1?Vt:se<-1?-Vt:Math.asin(se)}function nt(se){return((se=Math.exp(se))+1/se)/2}var ft=Math.SQRT2;i.interpolateZoom=function(se,ve){var Ie,Fe,Ue=se[0],We=se[1],Xe=se[2],tt=ve[0],lt=ve[1],mt=ve[2],zt=tt-Ue,Ut=lt-We,Ht=zt*zt+Ut*Ut;if(Ht<1e-12)Fe=Math.log(mt/Xe)/ft,Ie=function(Cn){return[Ue+Cn*zt,We+Cn*Ut,Xe*Math.exp(ft*Cn*Fe)]};else{var en=Math.sqrt(Ht),vn=(mt*mt-Xe*Xe+4*Ht)/(2*Xe*2*en),tn=(mt*mt-Xe*Xe-4*Ht)/(2*mt*2*en),ln=Math.log(Math.sqrt(vn*vn+1)-vn),an=Math.log(Math.sqrt(tn*tn+1)-tn);Fe=(an-ln)/ft,Ie=function(Cn){var _n,on=Cn*Fe,Fn=nt(ln),Hn=Xe/(2*en)*(Fn*(_n=ft*on+ln,((_n=Math.exp(2*_n))-1)/(_n+1))-function(ir){return((ir=Math.exp(ir))-1/ir)/2}(ln));return[Ue+Hn*zt,We+Hn*Ut,Xe*Fn/nt(ft*on+ln)]}}return Ie.duration=1e3*Fe,Ie},i.behavior.zoom=function(){var se,ve,Ie,Fe,Ue,We,Xe,tt,lt,mt={x:0,y:0,k:1},zt=[960,500],Ut=Qe,Ht=250,en=0,vn="mousedown.zoom",tn="mousemove.zoom",ln="mouseup.zoom",an="touchstart.zoom",Cn=Z(_n,"zoomstart","zoom","zoomend");function _n(wr){wr.on(vn,kr).on(Ne+".zoom",fi).on("dblclick.zoom",di).on(an,jr)}function on(wr){return[(wr[0]-mt.x)/mt.k,(wr[1]-mt.y)/mt.k]}function Fn(wr){mt.k=Math.max(Ut[0],Math.min(Ut[1],wr))}function Hn(wr,Ur){Ur=function(oi){return[oi[0]*mt.k+mt.x,oi[1]*mt.k+mt.y]}(Ur),mt.x+=wr[0]-Ur[0],mt.y+=wr[1]-Ur[1]}function ir(wr,Ur,oi,ai){wr.__chart__={x:mt.x,y:mt.y,k:mt.k},Fn(Math.pow(2,ai)),Hn(ve=Ur,oi),wr=i.select(wr),Ht>0&&(wr=wr.transition().duration(Ht)),wr.call(_n.event)}function ar(){Xe&&Xe.domain(We.range().map(function(wr){return(wr-mt.x)/mt.k}).map(We.invert)),lt&<.domain(tt.range().map(function(wr){return(wr-mt.y)/mt.k}).map(tt.invert))}function Mr(wr){en++||wr({type:"zoomstart"})}function Er(wr){ar(),wr({type:"zoom",scale:mt.k,translate:[mt.x,mt.y]})}function xr(wr){--en||(wr({type:"zoomend"}),ve=null)}function kr(){var wr=this,Ur=Cn.of(wr,arguments),oi=0,ai=i.select(a(wr)).on(tn,Ni).on(ln,ta),Ii=on(i.mouse(wr)),vi=bt(wr);function Ni(){oi=1,Hn(i.mouse(wr),Ii),Er(Ur)}function ta(){ai.on(tn,null).on(ln,null),vi(oi),xr(Ur)}la.call(wr),Mr(Ur)}function jr(){var wr,Ur=this,oi=Cn.of(Ur,arguments),ai={},Ii=0,vi=".zoom-"+i.event.changedTouches[0].identifier,Ni="touchmove"+vi,ta="touchend"+vi,pa=[],ua=i.select(Ur),Qi=bt(Ur);function na(){var Za=i.touches(Ur);return wr=mt.k,Za.forEach(function(li){li.identifier in ai&&(ai[li.identifier]=on(li))}),Za}function ca(){var Za=i.event.target;i.select(Za).on(Ni,Ia).on(ta,Dl),pa.push(Za);for(var li=i.event.changedTouches,ho=0,_o=li.length;ho<_o;++ho)ai[li[ho].identifier]=null;var Aa=na(),Ps=Date.now();if(Aa.length===1){if(Ps-Ue<500){var Ri=Aa[0];ir(Ur,Ri,ai[Ri.identifier],Math.floor(Math.log(mt.k)/Math.LN2)+1),ne()}Ue=Ps}else if(Aa.length>1){Ri=Aa[0];var Xa=Aa[1],jo=Ri[0]-Xa[0],Kc=Ri[1]-Xa[1];Ii=jo*jo+Kc*Kc}}function Ia(){var Za,li,ho,_o,Aa=i.touches(Ur);la.call(Ur);for(var Ps=0,Ri=Aa.length;Ps360?tt-=360:tt<0&&(tt+=360),tt<60?Fe+(Ue-Fe)*tt/60:tt<180?Ue:tt<240?Fe+(Ue-Fe)*(240-tt)/60:Fe}(Xe))}return se=isNaN(se)?0:(se%=360)<0?se+360:se,ve=isNaN(ve)||ve<0?0:ve>1?1:ve,Fe=2*(Ie=Ie<0?0:Ie>1?1:Ie)-(Ue=Ie<=.5?Ie*(1+ve):Ie+ve-Ie*ve),new An(We(se+120),We(se),We(se-120))}function Lt(se,ve,Ie){return this instanceof Lt?(this.h=+se,this.c=+ve,void(this.l=+Ie)):arguments.length<2?se instanceof Lt?new Lt(se.h,se.c,se.l):Qt(se instanceof wt?se.l:(se=Dn((se=i.rgb(se)).r,se.g,se.b)).l,se.a,se.b):new Lt(se,ve,Ie)}_t.brighter=function(se){return se=Math.pow(.7,arguments.length?se:1),new dt(this.h,this.s,this.l/se)},_t.darker=function(se){return se=Math.pow(.7,arguments.length?se:1),new dt(this.h,this.s,se*this.l)},_t.rgb=function(){return It(this.h,this.s,this.l)},i.hcl=Lt;var yt=Lt.prototype=new ut;function Pt(se,ve,Ie){return isNaN(se)&&(se=0),isNaN(ve)&&(ve=0),new wt(Ie,Math.cos(se*=Ke)*ve,Math.sin(se)*ve)}function wt(se,ve,Ie){return this instanceof wt?(this.l=+se,this.a=+ve,void(this.b=+Ie)):arguments.length<2?se instanceof wt?new wt(se.l,se.a,se.b):se instanceof Lt?Pt(se.h,se.c,se.l):Dn((se=An(se)).r,se.g,se.b):new wt(se,ve,Ie)}yt.brighter=function(se){return new Lt(this.h,this.c,Math.min(100,this.l+Rt*(arguments.length?se:1)))},yt.darker=function(se){return new Lt(this.h,this.c,Math.max(0,this.l-Rt*(arguments.length?se:1)))},yt.rgb=function(){return Pt(this.h,this.c,this.l).rgb()},i.lab=wt;var Rt=18,Nt=.95047,Yt=1.08883,Wt=wt.prototype=new ut;function Xt(se,ve,Ie){var Fe=(se+16)/116,Ue=Fe+ve/500,We=Fe-Ie/200;return new An(un(3.2404542*(Ue=rn(Ue)*Nt)-1.5371385*(Fe=1*rn(Fe))-.4985314*(We=rn(We)*Yt)),un(-.969266*Ue+1.8760108*Fe+.041556*We),un(.0556434*Ue-.2040259*Fe+1.0572252*We))}function Qt(se,ve,Ie){return se>0?new Lt(Math.atan2(Ie,ve)*Je,Math.sqrt(ve*ve+Ie*Ie),se):new Lt(NaN,NaN,se)}function rn(se){return se>.206893034?se*se*se:(se-.13793103448275862)/7.787037}function xn(se){return se>.008856?Math.pow(se,.3333333333333333):7.787037*se+.13793103448275862}function un(se){return Math.round(255*(se<=.00304?12.92*se:1.055*Math.pow(se,.4166666666666667)-.055))}function An(se,ve,Ie){return this instanceof An?(this.r=~~se,this.g=~~ve,void(this.b=~~Ie)):arguments.length<2?se instanceof An?new An(se.r,se.g,se.b):dn(""+se,An,It):new An(se,ve,Ie)}function Yn(se){return new An(se>>16,se>>8&255,255&se)}function kn(se){return Yn(se)+""}Wt.brighter=function(se){return new wt(Math.min(100,this.l+Rt*(arguments.length?se:1)),this.a,this.b)},Wt.darker=function(se){return new wt(Math.max(0,this.l-Rt*(arguments.length?se:1)),this.a,this.b)},Wt.rgb=function(){return Xt(this.l,this.a,this.b)},i.rgb=An;var sn=An.prototype=new ut;function Tn(se){return se<16?"0"+Math.max(0,se).toString(16):Math.min(255,se).toString(16)}function dn(se,ve,Ie){var Fe,Ue,We,Xe=0,tt=0,lt=0;if(Fe=/([a-z]+)\((.*)\)/.exec(se=se.toLowerCase()))switch(Ue=Fe[2].split(","),Fe[1]){case"hsl":return Ie(parseFloat(Ue[0]),parseFloat(Ue[1])/100,parseFloat(Ue[2])/100);case"rgb":return ve(jn(Ue[0]),jn(Ue[1]),jn(Ue[2]))}return(We=Gn.get(se))?ve(We.r,We.g,We.b):(se==null||se.charAt(0)!=="#"||isNaN(We=parseInt(se.slice(1),16))||(se.length===4?(Xe=(3840&We)>>4,Xe|=Xe>>4,tt=240&We,tt|=tt>>4,lt=15&We,lt|=lt<<4):se.length===7&&(Xe=(16711680&We)>>16,tt=(65280&We)>>8,lt=255&We)),ve(Xe,tt,lt))}function pn(se,ve,Ie){var Fe,Ue,We=Math.min(se/=255,ve/=255,Ie/=255),Xe=Math.max(se,ve,Ie),tt=Xe-We,lt=(Xe+We)/2;return tt?(Ue=lt<.5?tt/(Xe+We):tt/(2-Xe-We),Fe=se==Xe?(ve-Ie)/tt+(ve0&<<1?0:Fe),new dt(Fe,Ue,lt)}function Dn(se,ve,Ie){var Fe=xn((.4124564*(se=In(se))+.3575761*(ve=In(ve))+.1804375*(Ie=In(Ie)))/Nt),Ue=xn((.2126729*se+.7151522*ve+.072175*Ie)/1);return wt(116*Ue-16,500*(Fe-Ue),200*(Ue-xn((.0193339*se+.119192*ve+.9503041*Ie)/Yt)))}function In(se){return(se/=255)<=.04045?se/12.92:Math.pow((se+.055)/1.055,2.4)}function jn(se){var ve=parseFloat(se);return se.charAt(se.length-1)==="%"?Math.round(2.55*ve):ve}sn.brighter=function(se){se=Math.pow(.7,arguments.length?se:1);var ve=this.r,Ie=this.g,Fe=this.b,Ue=30;return ve||Ie||Fe?(ve&&ve=200&&Ut<300||Ut===304){try{zt=Ie.call(Ue,tt)}catch(Ht){return void We.error.call(Ue,Ht)}We.load.call(Ue,zt)}else We.error.call(Ue,tt)}return self.XDomainRequest&&!("withCredentials"in tt)&&/^(http(s)?:)?\/\//.test(se)&&(tt=new XDomainRequest),"onload"in tt?tt.onload=tt.onerror=mt:tt.onreadystatechange=function(){tt.readyState>3&&mt()},tt.onprogress=function(zt){var Ut=i.event;i.event=zt;try{We.progress.call(Ue,tt)}finally{i.event=Ut}},Ue.header=function(zt,Ut){return zt=(zt+"").toLowerCase(),arguments.length<2?Xe[zt]:(Ut==null?delete Xe[zt]:Xe[zt]=Ut+"",Ue)},Ue.mimeType=function(zt){return arguments.length?(ve=zt==null?null:zt+"",Ue):ve},Ue.responseType=function(zt){return arguments.length?(lt=zt,Ue):lt},Ue.response=function(zt){return Ie=zt,Ue},["get","post"].forEach(function(zt){Ue[zt]=function(){return Ue.send.apply(Ue,[zt].concat(v(arguments)))}}),Ue.send=function(zt,Ut,Ht){if(arguments.length===2&&typeof Ut=="function"&&(Ht=Ut,Ut=null),tt.open(zt,se,!0),ve==null||"accept"in Xe||(Xe.accept=ve+",*/*"),tt.setRequestHeader)for(var en in Xe)tt.setRequestHeader(en,Xe[en]);return ve!=null&&tt.overrideMimeType&&tt.overrideMimeType(ve),lt!=null&&(tt.responseType=lt),Ht!=null&&Ue.on("error",Ht).on("load",function(vn){Ht(null,vn)}),We.beforesend.call(Ue,tt),tt.send(Ut??null),Ue},Ue.abort=function(){return tt.abort(),Ue},i.rebind(Ue,We,"on"),Fe==null?Ue:Ue.get(function(zt){return zt.length===1?function(Ut,Ht){zt(Ut==null?Ht:null)}:zt}(Fe))}Gn.forEach(function(se,ve){Gn.set(se,Yn(ve))}),i.functor=qn,i.xhr=lr(W),i.dsv=function(se,ve){var Ie=new RegExp('["'+se+` -]`),Fe=se.charCodeAt(0);function Ue(mt,zt,Ut){arguments.length<3&&(Ut=zt,zt=null);var Ht=rr(mt,ve,zt==null?We:Xe(zt),Ut);return Ht.row=function(en){return arguments.length?Ht.response((zt=en)==null?We:Xe(en)):zt},Ht}function We(mt){return Ue.parse(mt.responseText)}function Xe(mt){return function(zt){return Ue.parse(zt.responseText,mt)}}function tt(mt){return mt.map(lt).join(se)}function lt(mt){return Ie.test(mt)?'"'+mt.replace(/\"/g,'""')+'"':mt}return Ue.parse=function(mt,zt){var Ut;return Ue.parseRows(mt,function(Ht,en){if(Ut)return Ut(Ht,en-1);var vn=function(tn){for(var ln={},an=Ht.length,Cn=0;Cn=ln)return vn;if(Ht)return Ht=!1,en;var Fn=an;if(mt.charCodeAt(Fn)===34){for(var Hn=Fn;Hn++24?(isFinite(ve)&&(clearTimeout(vr),vr=setTimeout(bn,ve)),or=0):(or=1,_r(bn))}function Rn(){for(var se=Date.now(),ve=Sr;ve;)se>=ve.t&&ve.c(se-ve.t)&&(ve.c=null),ve=ve.n;return se}function Ln(){for(var se,ve=Sr,Ie=1/0;ve;)ve.c?(ve.t1&&(ve=se[We[Xe-2]],Ie=se[We[Xe-1]],Fe=se[tt],(Ie[0]-ve[0])*(Fe[1]-ve[1])-(Ie[1]-ve[1])*(Fe[0]-ve[0])<=0);)--Xe;We[Xe++]=tt}return We.slice(0,Xe)}function tr(se,ve){return se[0]-ve[0]||se[1]-ve[1]}i.timer=function(){Kt.apply(this,arguments)},i.timer.flush=function(){Rn(),Ln()},i.round=function(se,ve){return ve?Math.round(se*(ve=Math.pow(10,ve)))/ve:Math.round(se)},i.geom={},i.geom.hull=function(se){var ve=Un,Ie=Kn;if(arguments.length)return Fe(se);function Fe(Ue){if(Ue.length<3)return[];var We,Xe=qn(ve),tt=qn(Ie),lt=Ue.length,mt=[],zt=[];for(We=0;We=0;--We)tn.push(Ue[mt[Ut[We]][2]]);for(We=+en;WeFt)tt=tt.L;else{if(!((Ue=We-Qn(tt,Xe))>Ft)){Fe>-Ft?(ve=tt.P,Ie=tt):Ue>-Ft?(ve=tt,Ie=tt.N):ve=Ie=tt;break}if(!tt.R){ve=tt;break}tt=tt.R}var lt=yn(se);if(zn.insert(ve,lt),ve||Ie){if(ve===Ie)return br(ve),Ie=yn(ve.site),zn.insert(lt,Ie),lt.edge=Ie.edge=zr(ve.site,lt.site),dr(ve),void dr(Ie);if(Ie){br(ve),br(Ie);var mt=ve.site,zt=mt.x,Ut=mt.y,Ht=se.x-zt,en=se.y-Ut,vn=Ie.site,tn=vn.x-zt,ln=vn.y-Ut,an=2*(Ht*ln-en*tn),Cn=Ht*Ht+en*en,_n=tn*tn+ln*ln,on={x:(ln*Cn-en*_n)/an+zt,y:(Ht*_n-tn*Cn)/an+Ut};gr(Ie.edge,mt,vn,on),lt.edge=zr(mt,se,null,on),Ie.edge=zr(se,vn,null,on),dr(ve),dr(Ie)}else lt.edge=zr(ve.site,lt.site)}}function nr(se,ve){var Ie=se.site,Fe=Ie.x,Ue=Ie.y,We=Ue-ve;if(!We)return Fe;var Xe=se.P;if(!Xe)return-1/0;var tt=(Ie=Xe.site).x,lt=Ie.y,mt=lt-ve;if(!mt)return tt;var zt=tt-Fe,Ut=1/We-1/mt,Ht=zt/mt;return Ut?(-Ht+Math.sqrt(Ht*Ht-2*Ut*(zt*zt/(-2*mt)-lt+mt/2+Ue-We/2)))/Ut+Fe:(Fe+tt)/2}function Qn(se,ve){var Ie=se.N;if(Ie)return nr(Ie,ve);var Fe=se.site;return Fe.y===ve?Fe.x:1/0}function hr(se){this.site=se,this.edges=[]}function cr(se,ve){return ve.angle-se.angle}function pr(){ji(this),this.x=this.y=this.arc=this.site=this.cy=null}function dr(se){var ve=se.P,Ie=se.N;if(ve&&Ie){var Fe=ve.site,Ue=se.site,We=Ie.site;if(Fe!==We){var Xe=Ue.x,tt=Ue.y,lt=Fe.x-Xe,mt=Fe.y-tt,zt=We.x-Xe,Ut=2*(lt*(ln=We.y-tt)-mt*zt);if(!(Ut>=-1e-12)){var Ht=lt*lt+mt*mt,en=zt*zt+ln*ln,vn=(ln*Ht-mt*en)/Ut,tn=(lt*en-zt*Ht)/Ut,ln=tn+tt,an=wn.pop()||new pr;an.arc=se,an.site=Ue,an.x=vn+Xe,an.y=ln+Math.sqrt(vn*vn+tn*tn),an.cy=ln,se.circle=an;for(var Cn=null,_n=En._;_n;)if(an.y<_n.y||an.y===_n.y&&an.x<=_n.x){if(!_n.L){Cn=_n.P;break}_n=_n.L}else{if(!_n.R){Cn=_n;break}_n=_n.R}En.insert(Cn,an),Cn||(On=an)}}}}function br(se){var ve=se.circle;ve&&(ve.P||(On=ve.N),En.remove(ve),wn.push(ve),ji(ve),se.circle=null)}function Ir(se,ve){var Ie=se.b;if(Ie)return!0;var Fe,Ue,We=se.a,Xe=ve[0][0],tt=ve[1][0],lt=ve[0][1],mt=ve[1][1],zt=se.l,Ut=se.r,Ht=zt.x,en=zt.y,vn=Ut.x,tn=Ut.y,ln=(Ht+vn)/2,an=(en+tn)/2;if(tn===en){if(ln=tt)return;if(Ht>vn){if(We){if(We.y>=mt)return}else We={x:ln,y:lt};Ie={x:ln,y:mt}}else{if(We){if(We.y1)if(Ht>vn){if(We){if(We.y>=mt)return}else We={x:(lt-Ue)/Fe,y:lt};Ie={x:(mt-Ue)/Fe,y:mt}}else{if(We){if(We.y=tt)return}else We={x:Xe,y:Fe*Xe+Ue};Ie={x:tt,y:Fe*tt+Ue}}else{if(We){if(We.x0)){if(an/=ar,ar<0){if(an0){if(an>ir)return;an>Hn&&(Hn=an)}if(an=Ut-on,ar||!(an<0)){if(an/=ar,ar<0){if(an>ir)return;an>Hn&&(Hn=an)}else if(ar>0){if(an0)){if(an/=Mr,Mr<0){if(an0){if(an>ir)return;an>Hn&&(Hn=an)}if(an=Ht-Fn,Mr||!(an<0)){if(an/=Mr,Mr<0){if(an>ir)return;an>Hn&&(Hn=an)}else if(Mr>0){if(an0&&(ln.a={x:on+Hn*ar,y:Fn+Hn*Mr}),ir<1&&(ln.b={x:on+ir*ar,y:Fn+ir*Mr}),ln}}}}}),tn=en.length;tn--;)(!Ir(lt=en[tn],tt)||!vn(lt)||E(lt.a.x-lt.b.x)Ft||E(Ut-mt)>Ft)&&(vn.splice(en,0,new Fr((ar=Ht.site,Mr=an,Er=E(zt-Cn)Ft?{x:Cn,y:E(lt-Cn)Ft?{x:E(mt-Fn)Ft?{x:_n,y:E(lt-_n)Ft?{x:E(mt-on)=zt&&an.x<=Ht&&an.y>=Ut&&an.y<=en?[[zt,en],[Ht,en],[Ht,Ut],[zt,Ut]]:[]).point=lt[tn]}),mt}function tt(lt){return lt.map(function(mt,zt){return{x:Math.round(Fe(mt,zt)/Ft)*Ft,y:Math.round(Ue(mt,zt)/Ft)*Ft,i:zt}})}return Xe.links=function(lt){return La(tt(lt)).edges.filter(function(mt){return mt.l&&mt.r}).map(function(mt){return{source:lt[mt.l.i],target:lt[mt.r.i]}})},Xe.triangles=function(lt){var mt=[];return La(tt(lt)).cells.forEach(function(zt,Ut){for(var Ht,en,vn,tn,ln=zt.site,an=zt.edges.sort(cr),Cn=-1,_n=an.length,on=an[_n-1].edge,Fn=on.l===ln?on.r:on.l;++Cn<_n;)Ht=Fn,Fn=(on=an[Cn].edge).l===ln?on.r:on.l,UtWe||Ht>Xe||en=Hn)<<1|ve>=Fn,ar=ir+4;irWe&&(Ue=ve.slice(We,Ue),tt[Xe]?tt[Xe]+=Ue:tt[++Xe]=Ue),(Ie=Ie[0])===(Fe=Fe[0])?tt[Xe]?tt[Xe]+=Fe:tt[++Xe]=Fe:(tt[++Xe]=null,lt.push({i:Xe,x:is(Ie,Fe)})),We=hc.lastIndex;return Wean&&(an=zt.x),zt.y>Cn&&(Cn=zt.y),Ut.push(zt.x),Ht.push(zt.y);else for(en=0;enan&&(an=Fn),Hn>Cn&&(Cn=Hn),Ut.push(Fn),Ht.push(Hn)}var ir=an-tn,ar=Cn-ln;function Mr(kr,jr,fi,di,wr,Ur,oi,ai){if(!isNaN(fi)&&!isNaN(di))if(kr.leaf){var Ii=kr.x,vi=kr.y;if(Ii!=null)if(E(Ii-fi)+E(vi-di)<.01)Er(kr,jr,fi,di,wr,Ur,oi,ai);else{var Ni=kr.point;kr.x=kr.y=kr.point=null,Er(kr,Ni,Ii,vi,wr,Ur,oi,ai),Er(kr,jr,fi,di,wr,Ur,oi,ai)}else kr.x=fi,kr.y=di,kr.point=jr}else Er(kr,jr,fi,di,wr,Ur,oi,ai)}function Er(kr,jr,fi,di,wr,Ur,oi,ai){var Ii=.5*(wr+oi),vi=.5*(Ur+ai),Ni=fi>=Ii,ta=di>=vi,pa=ta<<1|Ni;kr.leaf=!1,Ni?wr=Ii:oi=Ii,ta?Ur=vi:ai=vi,Mr(kr=kr.nodes[pa]||(kr.nodes[pa]={leaf:!0,nodes:[],point:null,x:null,y:null}),jr,fi,di,wr,Ur,oi,ai)}ir>ar?Cn=ln+ir:an=tn+ar;var xr={leaf:!0,nodes:[],point:null,x:null,y:null,add:function(kr){Mr(xr,kr,+_n(kr,++en),+on(kr,en),tn,ln,an,Cn)},visit:function(kr){Cu(kr,xr,tn,ln,an,Cn)},find:function(kr){return gf(xr,kr[0],kr[1],tn,ln,an,Cn)}};if(en=-1,ve==null){for(;++en=0&&!(Ie=i.interpolators[Fe](se,ve)););return Ie}function as(se,ve){var Ie,Fe=[],Ue=[],We=se.length,Xe=ve.length,tt=Math.min(se.length,ve.length);for(Ie=0;Ie=1?1:se(ve)}}function Es(se){return function(ve){return 1-se(1-ve)}}function js(se){return function(ve){return .5*(ve<.5?se(2*ve):2-se(2-2*ve))}}function fc(se){return se*se}function vf(se){return se*se*se}function tl(se){if(se<=0)return 0;if(se>=1)return 1;var ve=se*se,Ie=ve*se;return 4*(se<.5?Ie:3*(se-ve)+Ie-.75)}function yf(se){return 1-Math.cos(se*Vt)}function bf(se){return Math.pow(2,10*(se-1))}function id(se){return 1-Math.sqrt(1-se*se)}function Sh(se){return se<.36363636363636365?7.5625*se*se:se<.7272727272727273?7.5625*(se-=.5454545454545454)*se+.75:se<.9090909090909091?7.5625*(se-=.8181818181818182)*se+.9375:7.5625*(se-=.9545454545454546)*se+.984375}function xf(se,ve){return ve-=se,function(Ie){return Math.round(se+ve*Ie)}}function Ch(se){var ve,Ie,Fe,Ue=[se.a,se.b],We=[se.c,se.d],Xe=rl(Ue),tt=nl(Ue,We),lt=rl(((ve=We)[0]+=(Fe=-tt)*(Ie=Ue)[0],ve[1]+=Fe*Ie[1],ve))||0;Ue[0]*We[1]=0?se.slice(0,ve):se,Fe=ve>=0?se.slice(ve+1):"in";return Ie=Ui.get(Ie)||Ml,ps((Fe=Al.get(Fe)||W)(Ie.apply(null,M.call(arguments,1))))},i.interpolateHcl=function(se,ve){se=i.hcl(se),ve=i.hcl(ve);var Ie=se.h,Fe=se.c,Ue=se.l,We=ve.h-Ie,Xe=ve.c-Fe,tt=ve.l-Ue;return isNaN(Xe)&&(Xe=0,Fe=isNaN(Fe)?ve.c:Fe),isNaN(We)?(We=0,Ie=isNaN(Ie)?ve.h:Ie):We>180?We-=360:We<-180&&(We+=360),function(lt){return Pt(Ie+We*lt,Fe+Xe*lt,Ue+tt*lt)+""}},i.interpolateHsl=function(se,ve){se=i.hsl(se),ve=i.hsl(ve);var Ie=se.h,Fe=se.s,Ue=se.l,We=ve.h-Ie,Xe=ve.s-Fe,tt=ve.l-Ue;return isNaN(Xe)&&(Xe=0,Fe=isNaN(Fe)?ve.s:Fe),isNaN(We)?(We=0,Ie=isNaN(Ie)?ve.h:Ie):We>180?We-=360:We<-180&&(We+=360),function(lt){return It(Ie+We*lt,Fe+Xe*lt,Ue+tt*lt)+""}},i.interpolateLab=function(se,ve){se=i.lab(se),ve=i.lab(ve);var Ie=se.l,Fe=se.a,Ue=se.b,We=ve.l-Ie,Xe=ve.a-Fe,tt=ve.b-Ue;return function(lt){return Xt(Ie+We*lt,Fe+Xe*lt,Ue+tt*lt)+""}},i.interpolateRound=xf,i.transform=function(se){var ve=f.createElementNS(i.ns.prefix.svg,"g");return(i.transform=function(Ie){if(Ie!=null){ve.setAttribute("transform",Ie);var Fe=ve.transform.baseVal.consolidate()}return new Ch(Fe?Fe.matrix:Lu)})(se)},Ch.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var Lu={a:1,b:0,c:0,d:1,e:0,f:0};function il(se){return se.length?se.pop()+",":""}function Eh(se,ve){var Ie=[],Fe=[];return se=i.transform(se),ve=i.transform(ve),function(Ue,We,Xe,tt){if(Ue[0]!==We[0]||Ue[1]!==We[1]){var lt=Xe.push("translate(",null,",",null,")");tt.push({i:lt-4,x:is(Ue[0],We[0])},{i:lt-2,x:is(Ue[1],We[1])})}else(We[0]||We[1])&&Xe.push("translate("+We+")")}(se.translate,ve.translate,Ie,Fe),function(Ue,We,Xe,tt){Ue!==We?(Ue-We>180?We+=360:We-Ue>180&&(Ue+=360),tt.push({i:Xe.push(il(Xe)+"rotate(",null,")")-2,x:is(Ue,We)})):We&&Xe.push(il(Xe)+"rotate("+We+")")}(se.rotate,ve.rotate,Ie,Fe),function(Ue,We,Xe,tt){Ue!==We?tt.push({i:Xe.push(il(Xe)+"skewX(",null,")")-2,x:is(Ue,We)}):We&&Xe.push(il(Xe)+"skewX("+We+")")}(se.skew,ve.skew,Ie,Fe),function(Ue,We,Xe,tt){if(Ue[0]!==We[0]||Ue[1]!==We[1]){var lt=Xe.push(il(Xe)+"scale(",null,",",null,")");tt.push({i:lt-4,x:is(Ue[0],We[0])},{i:lt-2,x:is(Ue[1],We[1])})}else We[0]===1&&We[1]===1||Xe.push(il(Xe)+"scale("+We+")")}(se.scale,ve.scale,Ie,Fe),se=ve=null,function(Ue){for(var We,Xe=-1,tt=Fe.length;++Xe0?Ie=on:(se.c=null,se.t=NaN,se=null,tt.end({type:"end",alpha:Ie=0})):on>0&&(tt.start({type:"start",alpha:Ie=on}),se=Kt(Xe.tick)),Xe):Ie},Xe.start=function(){var on,Fn,Hn,ir=ln.length,ar=an.length,Mr=lt[0],Er=lt[1];for(on=0;on=0;)Ie.push(Ue[Fe])}function ms(se,ve){for(var Ie=[se],Fe=[];(se=Ie.pop())!=null;)if(Fe.push(se),(We=se.children)&&(Ue=We.length))for(var Ue,We,Xe=-1;++Xe=0;)Xe.push(zt=mt[lt]),zt.parent=We,zt.depth=We.depth+1;Ie&&(We.value=0),We.children=mt}else Ie&&(We.value=+Ie.call(Fe,We,We.depth)||0),delete We.children;return ms(Ue,function(Ut){var Ht,en;se&&(Ht=Ut.children)&&Ht.sort(se),Ie&&(en=Ut.parent)&&(en.value+=Ut.value)}),tt}return Fe.sort=function(Ue){return arguments.length?(se=Ue,Fe):se},Fe.children=function(Ue){return arguments.length?(ve=Ue,Fe):ve},Fe.value=function(Ue){return arguments.length?(Ie=Ue,Fe):Ie},Fe.revalue=function(Ue){return Ie&&(Ru(Ue,function(We){We.children&&(We.value=0)}),ms(Ue,function(We){var Xe;We.children||(We.value=+Ie.call(Fe,We,We.depth)||0),(Xe=We.parent)&&(Xe.value+=We.value)})),Ue},Fe},i.layout.partition=function(){var se=i.layout.hierarchy(),ve=[1,1];function Ie(We,Xe,tt,lt){var mt=We.children;if(We.x=Xe,We.y=We.depth*lt,We.dx=tt,We.dy=lt,mt&&(zt=mt.length)){var zt,Ut,Ht,en=-1;for(tt=We.value?tt/We.value:0;++entt&&(tt=Fe),Xe.push(Fe)}for(Ie=0;IeUe&&(Fe=Ie,Ue=ve);return Fe}function El(se){return se.reduce(Hc,0)}function Hc(se,ve){return se+ve[1]}function xc(se,ve){return Ph(se,Math.ceil(Math.log(ve.length)/Math.LN2+1))}function Ph(se,ve){for(var Ie=-1,Fe=+se[0],Ue=(se[1]-Fe)/ve,We=[];++Ie<=ve;)We[Ie]=Ue*Ie+Fe;return We}function _c(se){return[i.min(se),i.max(se)]}function Du(se,ve){return se.value-ve.value}function ru(se,ve){var Ie=se._pack_next;se._pack_next=ve,ve._pack_prev=se,ve._pack_next=Ie,Ie._pack_prev=ve}function iu(se,ve){se._pack_next=ve,ve._pack_prev=se}function Ki(se,ve){var Ie=ve.x-se.x,Fe=ve.y-se.y,Ue=se.r+ve.r;return .999*Ue*Ue>Ie*Ie+Fe*Fe}function Ll(se){if((ve=se.children)&&(lt=ve.length)){var ve,Ie,Fe,Ue,We,Xe,tt,lt,mt=1/0,zt=-1/0,Ut=1/0,Ht=-1/0;if(ve.forEach(Il),(Ie=ve[0]).x=-Ie.r,Ie.y=0,_n(Ie),lt>1&&((Fe=ve[1]).x=Fe.r,Fe.y=0,_n(Fe),lt>2))for(Bi(Ie,Fe,Ue=ve[2]),_n(Ue),ru(Ie,Ue),Ie._pack_prev=Ue,ru(Ue,Fe),Fe=Ie._pack_next,We=3;We0)for(Xe=-1;++Xe=Ut[0]&<<=Ut[1]&&((tt=mt[i.bisect(Ht,lt,1,vn)-1]).y+=tn,tt.push(We[Xe]));return mt}return Ue.value=function(We){return arguments.length?(ve=We,Ue):ve},Ue.range=function(We){return arguments.length?(Ie=qn(We),Ue):Ie},Ue.bins=function(We){return arguments.length?(Fe=typeof We=="number"?function(Xe){return Ph(Xe,We)}:qn(We),Ue):Fe},Ue.frequency=function(We){return arguments.length?(se=!!We,Ue):se},Ue},i.layout.pack=function(){var se,ve=i.layout.hierarchy().sort(Du),Ie=0,Fe=[1,1];function Ue(We,Xe){var tt=ve.call(this,We,Xe),lt=tt[0],mt=Fe[0],zt=Fe[1],Ut=se==null?Math.sqrt:typeof se=="function"?se:function(){return se};if(lt.x=lt.y=0,ms(lt,function(en){en.r=+Ut(en.value)}),ms(lt,Ll),Ie){var Ht=Ie*(se?1:Math.max(2*lt.r/mt,2*lt.r/zt))/2;ms(lt,function(en){en.r+=Ht}),ms(lt,Ll),ms(lt,function(en){en.r-=Ht})}return Oi(lt,mt/2,zt/2,se?1:1/Math.max(2*lt.r/mt,2*lt.r/zt)),tt}return Ue.size=function(We){return arguments.length?(Fe=We,Ue):Fe},Ue.radius=function(We){return arguments.length?(se=We==null||typeof We=="function"?We:+We,Ue):se},Ue.padding=function(We){return arguments.length?(Ie=+We,Ue):Ie},eu(Ue,ve)},i.layout.tree=function(){var se=i.layout.hierarchy().sort(null).value(null),ve=ol,Ie=[1,1],Fe=null;function Ue(lt,mt){var zt=se.call(this,lt,mt),Ut=zt[0],Ht=function(_n){for(var on,Fn={A:null,children:[_n]},Hn=[Fn];(on=Hn.pop())!=null;)for(var ir,ar=on.children,Mr=0,Er=ar.length;Mrvn.x&&(vn=_n),_n.depth>tn.depth&&(tn=_n)});var ln=ve(en,vn)/2-en.x,an=Ie[0]/(vn.x+ve(vn,en)/2+ln),Cn=Ie[1]/(tn.depth||1);Ru(Ut,function(_n){_n.x=(_n.x+ln)*an,_n.y=_n.depth*Cn})}return zt}function We(lt){var mt=lt.children,zt=lt.parent.children,Ut=lt.i?zt[lt.i-1]:null;if(mt.length){(function(en){for(var vn,tn=0,ln=0,an=en.children,Cn=an.length;--Cn>=0;)(vn=an[Cn]).z+=tn,vn.m+=tn,tn+=vn.s+(ln+=vn.c)})(lt);var Ht=(mt[0].z+mt[mt.length-1].z)/2;Ut?(lt.z=Ut.z+ve(lt._,Ut._),lt.m=lt.z-Ht):lt.z=Ht}else Ut&&(lt.z=Ut.z+ve(lt._,Ut._));lt.parent.A=function(en,vn,tn){if(vn){for(var ln,an=en,Cn=en,_n=vn,on=an.parent.children[0],Fn=an.m,Hn=Cn.m,ir=_n.m,ar=on.m;_n=Gc(_n),an=Us(an),_n&&an;)on=Us(on),(Cn=Gc(Cn)).a=en,(ln=_n.z+ir-an.z-Fn+ve(_n._,an._))>0&&(Oh(au(_n,en,tn),en,ln),Fn+=ln,Hn+=ln),ir+=_n.m,Fn+=an.m,ar+=on.m,Hn+=Cn.m;_n&&!Gc(Cn)&&(Cn.t=_n,Cn.m+=ir-Hn),an&&!Us(on)&&(on.t=an,on.m+=Fn-ar,tn=en)}return tn}(lt,Ut,lt.parent.A||zt[0])}function Xe(lt){lt._.x=lt.z+lt.parent.m,lt.m+=lt.parent.m}function tt(lt){lt.x*=Ie[0],lt.y=lt.depth*Ie[1]}return Ue.separation=function(lt){return arguments.length?(ve=lt,Ue):ve},Ue.size=function(lt){return arguments.length?(Fe=(Ie=lt)==null?tt:null,Ue):Fe?null:Ie},Ue.nodeSize=function(lt){return arguments.length?(Fe=(Ie=lt)==null?null:tt,Ue):Fe?Ie:null},eu(Ue,se)},i.layout.cluster=function(){var se=i.layout.hierarchy().sort(null).value(null),ve=ol,Ie=[1,1],Fe=!1;function Ue(We,Xe){var tt,lt=se.call(this,We,Xe),mt=lt[0],zt=0;ms(mt,function(tn){var ln=tn.children;ln&&ln.length?(tn.x=function(an){return an.reduce(function(Cn,_n){return Cn+_n.x},0)/an.length}(ln),tn.y=function(an){return 1+i.max(an,function(Cn){return Cn.y})}(ln)):(tn.x=tt?zt+=ve(tn,tt):0,tn.y=0,tt=tn)});var Ut=Dh(mt),Ht=ou(mt),en=Ut.x-ve(Ut,Ht)/2,vn=Ht.x+ve(Ht,Ut)/2;return ms(mt,Fe?function(tn){tn.x=(tn.x-mt.x)*Ie[0],tn.y=(mt.y-tn.y)*Ie[1]}:function(tn){tn.x=(tn.x-en)/(vn-en)*Ie[0],tn.y=(1-(mt.y?tn.y/mt.y:1))*Ie[1]}),lt}return Ue.separation=function(We){return arguments.length?(ve=We,Ue):ve},Ue.size=function(We){return arguments.length?(Fe=(Ie=We)==null,Ue):Fe?null:Ie},Ue.nodeSize=function(We){return arguments.length?(Fe=(Ie=We)!=null,Ue):Fe?Ie:null},eu(Ue,se)},i.layout.treemap=function(){var se,ve=i.layout.hierarchy(),Ie=Math.round,Fe=[1,1],Ue=null,We=sl,Xe=!1,tt="squarify",lt=.5*(1+Math.sqrt(5));function mt(tn,ln){for(var an,Cn,_n=-1,on=tn.length;++_n0;)Fn.push(an=Hn[_n-1]),Fn.area+=an.area,tt!=="squarify"||(Cn=Ht(Fn,ar))<=ir?(Hn.pop(),ir=Cn):(Fn.area-=Fn.pop().area,en(Fn,ar,on,!1),ar=Math.min(on.dx,on.dy),Fn.length=Fn.area=0,ir=1/0);Fn.length&&(en(Fn,ar,on,!0),Fn.length=Fn.area=0),ln.forEach(zt)}}function Ut(tn){var ln=tn.children;if(ln&&ln.length){var an,Cn=We(tn),_n=ln.slice(),on=[];for(mt(_n,Cn.dx*Cn.dy/tn.value),on.area=0;an=_n.pop();)on.push(an),on.area+=an.area,an.z!=null&&(en(on,an.z?Cn.dx:Cn.dy,Cn,!_n.length),on.length=on.area=0);ln.forEach(Ut)}}function Ht(tn,ln){for(var an,Cn=tn.area,_n=0,on=1/0,Fn=-1,Hn=tn.length;++Fn_n&&(_n=an));return ln*=ln,(Cn*=Cn)?Math.max(ln*_n*lt/Cn,Cn/(ln*on*lt)):1/0}function en(tn,ln,an,Cn){var _n,on=-1,Fn=tn.length,Hn=an.x,ir=an.y,ar=ln?Ie(tn.area/ln):0;if(ln==an.dx){for((Cn||ar>an.dy)&&(ar=an.dy);++onan.dx)&&(ar=an.dx);++on1);return se+ve*Fe*Math.sqrt(-2*Math.log(We)/We)}},logNormal:function(){var se=i.random.normal.apply(i,arguments);return function(){return Math.exp(se())}},bates:function(se){var ve=i.random.irwinHall(se);return function(){return ve()/se}},irwinHall:function(se){return function(){for(var ve=0,Ie=0;Ie2?co:lu,mt=Fe?Jl:Lh;return Ue=lt(se,ve,mt,Ie),We=lt(ve,se,mt,Yo),tt}function tt(lt){return Ue(lt)}return tt.invert=function(lt){return We(lt)},tt.domain=function(lt){return arguments.length?(se=lt.map(Number),Xe()):se},tt.range=function(lt){return arguments.length?(ve=lt,Xe()):ve},tt.rangeRound=function(lt){return tt.range(lt).interpolate(xf)},tt.clamp=function(lt){return arguments.length?(Fe=lt,Xe()):Fe},tt.interpolate=function(lt){return arguments.length?(Ie=lt,Xe()):Ie},tt.ticks=function(lt){return $o(se,lt)},tt.tickFormat=function(lt,mt){return d3_scale_linearTickFormat(se,lt,mt)},tt.nice=function(lt){return vs(se,lt),Xe()},tt.copy=function(){return zo(se,ve,Ie,Fe)},Xe()}function Rl(se,ve){return i.rebind(se,ve,"range","rangeRound","interpolate","clamp")}function vs(se,ve){return Ha(se,mo($a(se,ve)[2])),Ha(se,mo($a(se,ve)[2])),se}function $a(se,ve){ve==null&&(ve=10);var Ie=da(se),Fe=Ie[1]-Ie[0],Ue=Math.pow(10,Math.floor(Math.log(Fe/ve)/Math.LN10)),We=ve/Fe*Ue;return We<=.15?Ue*=10:We<=.35?Ue*=5:We<=.75&&(Ue*=2),Ie[0]=Math.ceil(Ie[0]/Ue)*Ue,Ie[1]=Math.floor(Ie[1]/Ue)*Ue+.5*Ue,Ie[2]=Ue,Ie}function $o(se,ve){return i.range.apply(i,$a(se,ve))}function qc(se,ve,Ie,Fe){function Ue(tt){return(Ie?Math.log(tt<0?0:tt):-Math.log(tt>0?0:-tt))/Math.log(ve)}function We(tt){return Ie?Math.pow(ve,tt):-Math.pow(ve,-tt)}function Xe(tt){return se(Ue(tt))}return Xe.invert=function(tt){return We(se.invert(tt))},Xe.domain=function(tt){return arguments.length?(Ie=tt[0]>=0,se.domain((Fe=tt.map(Number)).map(Ue)),Xe):Fe},Xe.base=function(tt){return arguments.length?(ve=+tt,se.domain(Fe.map(Ue)),Xe):ve},Xe.nice=function(){var tt=Ha(Fe.map(Ue),Ie?Math:Wc);return se.domain(tt),Fe=tt.map(We),Xe},Xe.ticks=function(){var tt=da(Fe),lt=[],mt=tt[0],zt=tt[1],Ut=Math.floor(Ue(mt)),Ht=Math.ceil(Ue(zt)),en=ve%1?2:ve;if(isFinite(Ht-Ut)){if(Ie){for(;Ut0;vn--)lt.push(We(Ut)*vn);for(Ut=0;lt[Ut]zt;Ht--);lt=lt.slice(Ut,Ht)}return lt},Xe.copy=function(){return qc(se.copy(),ve,Ie,Fe)},Rl(Xe,se)}i.scale.linear=function(){return zo([0,1],[0,1],Yo,!1)},i.scale.log=function(){return qc(i.scale.linear().domain([0,1]),10,!0,[1,10])};var Wc={floor:function(se){return-Math.ceil(-se)},ceil:function(se){return-Math.floor(-se)}};function Lo(se,ve,Ie){var Fe=Dr(ve),Ue=Dr(1/ve);function We(Xe){return se(Fe(Xe))}return We.invert=function(Xe){return Ue(se.invert(Xe))},We.domain=function(Xe){return arguments.length?(se.domain((Ie=Xe.map(Number)).map(Fe)),We):Ie},We.ticks=function(Xe){return $o(Ie,Xe)},We.tickFormat=function(Xe,tt){return d3_scale_linearTickFormat(Ie,Xe,tt)},We.nice=function(Xe){return We.domain(vs(Ie,Xe))},We.exponent=function(Xe){return arguments.length?(Fe=Dr(ve=Xe),Ue=Dr(1/ve),se.domain(Ie.map(Fe)),We):ve},We.copy=function(){return Lo(se.copy(),ve,Ie)},Rl(We,se)}function Dr(se){return function(ve){return ve<0?-Math.pow(-ve,se):Math.pow(ve,se)}}function uu(se,ve){var Ie,Fe,Ue;function We(tt){return Fe[((Ie.get(tt)||(ve.t==="range"?Ie.set(tt,se.push(tt)):NaN))-1)%Fe.length]}function Xe(tt,lt){return i.range(se.length).map(function(mt){return tt+lt*mt})}return We.domain=function(tt){if(!arguments.length)return se;se=[],Ie=new L;for(var lt,mt=-1,zt=tt.length;++mt0?Ie[We-1]:se[0],WeHt?0:1;if(zt=qt)return lt(zt,vn)+(mt?lt(mt,1-vn):"")+"Z";var tn,ln,an,Cn,_n,on,Fn,Hn,ir,ar,Mr,Er,xr=0,kr=0,jr=[];if((Cn=(+Xe.apply(this,arguments)||0)/2)&&(an=Fe===wc?Math.sqrt(mt*mt+zt*zt):+Fe.apply(this,arguments),vn||(kr*=-1),zt&&(kr=qe(an/zt*Math.sin(Cn))),mt&&(xr=qe(an/mt*Math.sin(Cn)))),zt){_n=zt*Math.cos(Ut+kr),on=zt*Math.sin(Ut+kr),Fn=zt*Math.cos(Ht-kr),Hn=zt*Math.sin(Ht-kr);var fi=Math.abs(Ht-Ut-2*kr)<=Ot?0:1;if(kr&&Ls(_n,on,Fn,Hn)===vn^fi){var di=(Ut+Ht)/2;_n=zt*Math.cos(di),on=zt*Math.sin(di),Fn=Hn=null}}else _n=on=0;if(mt){ir=mt*Math.cos(Ht-xr),ar=mt*Math.sin(Ht-xr),Mr=mt*Math.cos(Ut+xr),Er=mt*Math.sin(Ut+xr);var wr=Math.abs(Ut-Ht+2*xr)<=Ot?0:1;if(xr&&Ls(ir,ar,Mr,Er)===1-vn^wr){var Ur=(Ut+Ht)/2;ir=mt*Math.cos(Ur),ar=mt*Math.sin(Ur),Mr=Er=null}}else ir=ar=0;if(en>Ft&&(tn=Math.min(Math.abs(zt-mt)/2,+Ie.apply(this,arguments)))>.001){ln=mt0?0:1}function bs(se,ve,Ie,Fe,Ue){var We=se[0]-ve[0],Xe=se[1]-ve[1],tt=(Ue?Fe:-Fe)/Math.sqrt(We*We+Xe*Xe),lt=tt*Xe,mt=-tt*We,zt=se[0]+lt,Ut=se[1]+mt,Ht=ve[0]+lt,en=ve[1]+mt,vn=(zt+Ht)/2,tn=(Ut+en)/2,ln=Ht-zt,an=en-Ut,Cn=ln*ln+an*an,_n=Ie-Fe,on=zt*en-Ht*Ut,Fn=(an<0?-1:1)*Math.sqrt(Math.max(0,_n*_n*Cn-on*on)),Hn=(on*an-ln*Fn)/Cn,ir=(-on*ln-an*Fn)/Cn,ar=(on*an+ln*Fn)/Cn,Mr=(-on*ln+an*Fn)/Cn,Er=Hn-vn,xr=ir-tn,kr=ar-vn,jr=Mr-tn;return Er*Er+xr*xr>kr*kr+jr*jr&&(Hn=ar,ir=Mr),[[Hn-lt,ir-mt],[Hn*Ie/_n,ir*Ie/_n]]}function hu(){return!0}function yo(se){var ve=Un,Ie=Kn,Fe=hu,Ue=Yi,We=Ue.key,Xe=.7;function tt(lt){var mt,zt=[],Ut=[],Ht=-1,en=lt.length,vn=qn(ve),tn=qn(Ie);function ln(){zt.push("M",Ue(se(Ut),Xe))}for(;++Ht1&&Ue.push("H",Fe[0]),Ue.join("")},"step-before":os,"step-after":_s,basis:Wi,"basis-open":function(se){if(se.length<4)return Yi(se);for(var ve,Ie=[],Fe=-1,Ue=se.length,We=[0],Xe=[0];++Fe<3;)ve=se[Fe],We.push(ve[0]),Xe.push(ve[1]);for(Ie.push(no(qs,We)+","+no(qs,Xe)),--Fe;++Fe9&&(We=3*Ie/Math.sqrt(We),tt[lt]=We*Fe,tt[lt+1]=We*Ue);for(lt=-1;++lt<=mt;)We=(ve[Math.min(mt,lt+1)][0]-ve[Math.max(0,lt-1)][0])/(6*(1+tt[lt]*tt[lt])),Xe.push([We||0,tt[lt]*We||0]);return Xe}(se))}});function Yi(se){return se.length>1?se.join("L"):se+"Z"}function Tc(se){return se.join("L")+"Z"}function os(se){for(var ve=0,Ie=se.length,Fe=se[0],Ue=[Fe[0],",",Fe[1]];++ve1){tt=ve[1],We=se[lt],lt++,Fe+="C"+(Ue[0]+Xe[0])+","+(Ue[1]+Xe[1])+","+(We[0]-tt[0])+","+(We[1]-tt[1])+","+We[0]+","+We[1];for(var mt=2;mtOt)+",1 "+zt}function lt(mt,zt,Ut,Ht){return"Q 0,0 "+Ht}return We.radius=function(mt){return arguments.length?(Ie=qn(mt),We):Ie},We.source=function(mt){return arguments.length?(se=qn(mt),We):se},We.target=function(mt){return arguments.length?(ve=qn(mt),We):ve},We.startAngle=function(mt){return arguments.length?(Fe=qn(mt),We):Fe},We.endAngle=function(mt){return arguments.length?(Ue=qn(mt),We):Ue},We},i.svg.diagonal=function(){var se=Hr,ve=ni,Ie=cl;function Fe(Ue,We){var Xe=se.call(this,Ue,We),tt=ve.call(this,Ue,We),lt=(Xe.y+tt.y)/2,mt=[Xe,{x:Xe.x,y:lt},{x:tt.x,y:lt},tt];return"M"+(mt=mt.map(Ie))[0]+"C"+mt[1]+" "+mt[2]+" "+mt[3]}return Fe.source=function(Ue){return arguments.length?(se=qn(Ue),Fe):se},Fe.target=function(Ue){return arguments.length?(ve=qn(Ue),Fe):ve},Fe.projection=function(Ue){return arguments.length?(Ie=Ue,Fe):Ie},Fe},i.svg.diagonal.radial=function(){var se=i.svg.diagonal(),ve=cl,Ie=se.projection;return se.projection=function(Fe){return arguments.length?Ie(Rs(ve=Fe)):ve},se},i.svg.symbol=function(){var se=Zc,ve=xo;function Ie(Fe,Ue){return(ju.get(se.call(this,Fe,Ue))||Vo)(ve.call(this,Fe,Ue))}return Ie.type=function(Fe){return arguments.length?(se=qn(Fe),Ie):se},Ie.size=function(Fe){return arguments.length?(ve=qn(Fe),Ie):ve},Ie};var ju=i.map({circle:Vo,cross:function(se){var ve=Math.sqrt(se/5)/2;return"M"+-3*ve+","+-ve+"H"+-ve+"V"+-3*ve+"H"+ve+"V"+-ve+"H"+3*ve+"V"+ve+"H"+ve+"V"+3*ve+"H"+-ve+"V"+ve+"H"+-3*ve+"Z"},diamond:function(se){var ve=Math.sqrt(se/(2*Ji)),Ie=ve*Ji;return"M0,"+-ve+"L"+Ie+",0 0,"+ve+" "+-Ie+",0Z"},square:function(se){var ve=Math.sqrt(se)/2;return"M"+-ve+","+-ve+"L"+ve+","+-ve+" "+ve+","+ve+" "+-ve+","+ve+"Z"},"triangle-down":function(se){var ve=Math.sqrt(se/hl),Ie=ve*hl/2;return"M0,"+Ie+"L"+ve+","+-Ie+" "+-ve+","+-Ie+"Z"},"triangle-up":function(se){var ve=Math.sqrt(se/hl),Ie=ve*hl/2;return"M0,"+-Ie+"L"+ve+","+Ie+" "+-ve+","+Ie+"Z"}});i.svg.symbolTypes=ju.keys();var hl=Math.sqrt(3),Ji=Math.tan(30*Ke);ce.transition=function(se){for(var ve,Ie,Fe=rt||++St,Ue=ee(se),We=[],Xe=ct||{time:Date.now(),ease:tl,delay:0,duration:250},tt=-1,lt=this.length;++tt0;)mt[--an].call(se,ln);if(tn>=1)return Ut.event&&Ut.event.end.call(se,se.__data__,ve),--zt.count?delete zt[Fe]:delete se[Ie],1}Ut||(We=Ue.time,Xe=Kt(function(vn){var tn=Ut.delay;if(Xe.t=tn+We,tn<=vn)return Ht(vn-tn);Xe.c=Ht},0,We),Ut=zt[Fe]={tween:new L,time:We,timer:Xe,delay:Ue.delay,duration:Ue.duration,ease:Ue.ease,index:ve},Ue=null,++zt.count)}vt.call=ce.call,vt.empty=ce.empty,vt.node=ce.node,vt.size=ce.size,i.transition=function(se,ve){return se&&se.transition?rt?se.transition(ve):se:i.selection().transition(se)},i.transition.prototype=vt,vt.select=function(se){var ve,Ie,Fe,Ue=this.id,We=this.namespace,Xe=[];se=ye(se);for(var tt=-1,lt=this.length;++ttrect,.s>rect").attr("width",We[1]-We[0])}function en(tn){tn.select(".extent").attr("y",Xe[0]),tn.selectAll(".extent,.e>rect,.w>rect").attr("height",Xe[1]-Xe[0])}function vn(){var tn,ln,an=this,Cn=i.select(i.event.target),_n=Ie.of(an,arguments),on=i.select(an),Fn=Cn.datum(),Hn=!/^(n|s)$/.test(Fn)&&Fe,ir=!/^(e|w)$/.test(Fn)&&Ue,ar=Cn.classed("extent"),Mr=bt(an),Er=i.mouse(an),xr=i.select(a(an)).on("keydown.brush",fi).on("keyup.brush",di);if(i.event.changedTouches?xr.on("touchmove.brush",wr).on("touchend.brush",oi):xr.on("mousemove.brush",wr).on("mouseup.brush",oi),on.interrupt().selectAll("*").interrupt(),ar)Er[0]=We[0]-Er[0],Er[1]=Xe[0]-Er[1];else if(Fn){var kr=+/w$/.test(Fn),jr=+/^n/.test(Fn);ln=[We[1-kr]-Er[0],Xe[1-jr]-Er[1]],Er[0]=We[kr],Er[1]=Xe[jr]}else i.event.altKey&&(tn=Er.slice());function fi(){i.event.keyCode==32&&(ar||(tn=null,Er[0]-=We[1],Er[1]-=Xe[1],ar=2),ne())}function di(){i.event.keyCode==32&&ar==2&&(Er[0]+=We[1],Er[1]+=Xe[1],ar=0,ne())}function wr(){var ai=i.mouse(an),Ii=!1;ln&&(ai[0]+=ln[0],ai[1]+=ln[1]),ar||(i.event.altKey?(tn||(tn=[(We[0]+We[1])/2,(Xe[0]+Xe[1])/2]),Er[0]=We[+(ai[0]>>1;h.dtype||(h.dtype="array"),typeof h.dtype=="string"?y=new(u(h.dtype))(_):h.dtype&&(y=h.dtype,Array.isArray(y)&&(y.length=_));for(var k=0;k<_;++k)y[k]=k;var E=[],x=[],A=[],L=[];(function W(j,$,U,G,q,H){if(!G.length)return null;var ne=E[q]||(E[q]=[]),te=A[q]||(A[q]=[]),Z=x[q]||(x[q]=[]),X=ne.length;if(++q>m||H>1073741824){for(var Q=0;Qpe+Pe||ie>xe+Pe||oe=ce||Me===Se)){var Ce=E[_e];Se===void 0&&(Se=Ce.length);for(var ae=Me;ae=ne&&be<=Z&&ke>=te&&ke<=X&&ye.push(fe)}var Le=x[_e],Be=Le[4*Me+0],ze=Le[4*Me+1],je=Le[4*Me+2],ge=Le[4*Me+3],we=me(Le,Me+1),Ee=.5*Pe,Ve=_e+1;de(pe,xe,Ee,Ve,Be,ze||je||ge||we),de(pe,xe+Ee,Ee,Ve,ze,je||ge||we),de(pe+Ee,xe,Ee,Ve,je,ge||we),de(pe+Ee,xe+Ee,Ee,Ve,ge,we)}}function me(pe,xe){for(var Pe=null,_e=0;Pe===null;)if(Pe=pe[4*xe+_e],++_e>pe.length)return null;return Pe}return de(0,0,1,0,0,1),ye},y;function B(W,j,$,U,G){for(var q=[],H=0;H0){l+=Math.abs(M(f[0]));for(var a=1;a2){for(c=0;c=0))throw new Error("precision must be a positive number");var m=Math.pow(10,h||0);return Math.round(c*m)/m},p.radiansToLength=a,p.lengthToRadians=u,p.lengthToDegrees=function(c,h){return o(u(c,h))},p.bearingToAzimuth=function(c){var h=c%360;return h<0&&(h+=360),h},p.radiansToDegrees=o,p.degreesToRadians=function(c){return c%360*Math.PI/180},p.convertLength=function(c,h,m){if(h===void 0&&(h="kilometers"),m===void 0&&(m="kilometers"),!(c>=0))throw new Error("length must be a positive number");return a(u(c,h),m)},p.convertArea=function(c,h,m){if(h===void 0&&(h="meters"),m===void 0&&(m="kilometers"),!(c>=0))throw new Error("area must be a positive number");var w=p.areaFactors[h];if(!w)throw new Error("invalid original units");var y=p.areaFactors[m];if(!y)throw new Error("invalid final units");return c/w*y},p.isNumber=s,p.isObject=function(c){return!!c&&c.constructor===Object},p.validateBBox=function(c){if(!c)throw new Error("bbox is required");if(!Array.isArray(c))throw new Error("bbox must be an Array");if(c.length!==4&&c.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");c.forEach(function(h){if(!s(h))throw new Error("bbox must only contain numbers")})},p.validateId=function(c){if(!c)throw new Error("id is required");if(["string","number"].indexOf(typeof c)===-1)throw new Error("id must be a number or a string")}},60302:function(T,p,t){Object.defineProperty(p,"__esModule",{value:!0});var d=t(23132);function g(u,o,s){if(u!==null)for(var c,h,m,w,y,S,_,k,E=0,x=0,A=u.type,L=A==="FeatureCollection",b=A==="Feature",R=L?u.features.length:1,I=0;IS||L>_||b>k)return y=E,S=c,_=L,k=b,void(m=0);var R=d.lineString([y,E],s.properties);if(o(R,c,h,b,m)===!1)return!1;m++,y=E})!==!1&&void 0}}})}function a(u,o){if(!u)throw new Error("geojson is required");f(u,function(s,c,h){if(s.geometry!==null){var m=s.geometry.type,w=s.geometry.coordinates;switch(m){case"LineString":if(o(s,c,h,0,0)===!1)return!1;break;case"Polygon":for(var y=0;yv[0]&&(M[0]=v[0]),M[1]>v[1]&&(M[1]=v[1]),M[2]=0))throw new Error("precision must be a positive number");var m=Math.pow(10,h||0);return Math.round(c*m)/m},p.radiansToLength=a,p.lengthToRadians=u,p.lengthToDegrees=function(c,h){return o(u(c,h))},p.bearingToAzimuth=function(c){var h=c%360;return h<0&&(h+=360),h},p.radiansToDegrees=o,p.degreesToRadians=function(c){return c%360*Math.PI/180},p.convertLength=function(c,h,m){if(h===void 0&&(h="kilometers"),m===void 0&&(m="kilometers"),!(c>=0))throw new Error("length must be a positive number");return a(u(c,h),m)},p.convertArea=function(c,h,m){if(h===void 0&&(h="meters"),m===void 0&&(m="kilometers"),!(c>=0))throw new Error("area must be a positive number");var w=p.areaFactors[h];if(!w)throw new Error("invalid original units");var y=p.areaFactors[m];if(!y)throw new Error("invalid final units");return c/w*y},p.isNumber=s,p.isObject=function(c){return!!c&&c.constructor===Object},p.validateBBox=function(c){if(!c)throw new Error("bbox is required");if(!Array.isArray(c))throw new Error("bbox must be an Array");if(c.length!==4&&c.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");c.forEach(function(h){if(!s(h))throw new Error("bbox must only contain numbers")})},p.validateId=function(c){if(!c)throw new Error("id is required");if(["string","number"].indexOf(typeof c)===-1)throw new Error("id must be a number or a string")}},27138:function(T,p,t){Object.defineProperty(p,"__esModule",{value:!0});var d=t(94228);function g(u,o,s){if(u!==null)for(var c,h,m,w,y,S,_,k,E=0,x=0,A=u.type,L=A==="FeatureCollection",b=A==="Feature",R=L?u.features.length:1,I=0;IS||L>_||b>k)return y=E,S=c,_=L,k=b,void(m=0);var R=d.lineString([y,E],s.properties);if(o(R,c,h,b,m)===!1)return!1;m++,y=E})!==!1&&void 0}}})}function a(u,o){if(!u)throw new Error("geojson is required");f(u,function(s,c,h){if(s.geometry!==null){var m=s.geometry.type,w=s.geometry.coordinates;switch(m){case"LineString":if(o(s,c,h,0,0)===!1)return!1;break;case"Polygon":for(var y=0;y=0))throw new Error("precision must be a positive number");var m=Math.pow(10,h||0);return Math.round(c*m)/m},p.radiansToLength=a,p.lengthToRadians=u,p.lengthToDegrees=function(c,h){return o(u(c,h))},p.bearingToAzimuth=function(c){var h=c%360;return h<0&&(h+=360),h},p.radiansToDegrees=o,p.degreesToRadians=function(c){return c%360*Math.PI/180},p.convertLength=function(c,h,m){if(h===void 0&&(h="kilometers"),m===void 0&&(m="kilometers"),!(c>=0))throw new Error("length must be a positive number");return a(u(c,h),m)},p.convertArea=function(c,h,m){if(h===void 0&&(h="meters"),m===void 0&&(m="kilometers"),!(c>=0))throw new Error("area must be a positive number");var w=p.areaFactors[h];if(!w)throw new Error("invalid original units");var y=p.areaFactors[m];if(!y)throw new Error("invalid final units");return c/w*y},p.isNumber=s,p.isObject=function(c){return!!c&&c.constructor===Object},p.validateBBox=function(c){if(!c)throw new Error("bbox is required");if(!Array.isArray(c))throw new Error("bbox must be an Array");if(c.length!==4&&c.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");c.forEach(function(h){if(!s(h))throw new Error("bbox must only contain numbers")})},p.validateId=function(c){if(!c)throw new Error("id is required");if(["string","number"].indexOf(typeof c)===-1)throw new Error("id must be a number or a string")},p.radians2degrees=function(){throw new Error("method has been renamed to `radiansToDegrees`")},p.degrees2radians=function(){throw new Error("method has been renamed to `degreesToRadians`")},p.distanceToDegrees=function(){throw new Error("method has been renamed to `lengthToDegrees`")},p.distanceToRadians=function(){throw new Error("method has been renamed to `lengthToRadians`")},p.radiansToDistance=function(){throw new Error("method has been renamed to `radiansToLength`")},p.bearingToAngle=function(){throw new Error("method has been renamed to `bearingToAzimuth`")},p.convertDistance=function(){throw new Error("method has been renamed to `convertLength`")}},88553:function(T,p,t){Object.defineProperty(p,"__esModule",{value:!0});var d=t(64182);function g(u,o,s){if(u!==null)for(var c,h,m,w,y,S,_,k,E=0,x=0,A=u.type,L=A==="FeatureCollection",b=A==="Feature",R=L?u.features.length:1,I=0;IS||L>_||b>k)return y=E,S=c,_=L,k=b,void(m=0);var R=d.lineString([y,E],s.properties);if(o(R,c,h,b,m)===!1)return!1;m++,y=E})!==!1&&void 0}}})}function a(u,o){if(!u)throw new Error("geojson is required");f(u,function(s,c,h){if(s.geometry!==null){var m=s.geometry.type,w=s.geometry.coordinates;switch(m){case"LineString":if(o(s,c,h,0,0)===!1)return!1;break;case"Polygon":for(var y=0;yi&&(i=p[v]),p[v]1?G-1:0),H=1;H1?G-1:0),H=1;H1?G-1:0),H=1;H1?G-1:0),H=1;H>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js `);ne.shift();for(var te=q.stack.split(` `),Z=0;Z"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function a(L,b,R){return a=l()?Reflect.construct:function(I,O,z){var F=[null];F.push.apply(F,O);var B=new(Function.bind.apply(I,F));return z&&u(B,z.prototype),B},a.apply(null,arguments)}function u(L,b){return u=Object.setPrototypeOf||function(R,I){return R.__proto__=I,R},u(L,b)}function o(L){return o=Object.setPrototypeOf?Object.getPrototypeOf:function(b){return b.__proto__||Object.getPrototypeOf(b)},o(L)}function s(L){return s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(b){return typeof b}:function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},s(L)}var h=t(43827).inspect,c=t(79616).codes.ERR_INVALID_ARG_TYPE;function m(L,b,R){return(R===void 0||R>L.length)&&(R=L.length),L.substring(R-b.length,R)===b}var w="",y="",C="",_="",k={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function E(L){var b=Object.keys(L),R=Object.create(Object.getPrototypeOf(L));return b.forEach(function(I){R[I]=L[I]}),Object.defineProperty(R,"message",{value:L.message}),R}function x(L){return h(L,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}var A=function(L){function b(O){var z;if(function(te,Z){if(!(te instanceof Z))throw new TypeError("Cannot call a class as a function")}(this,b),s(O)!=="object"||O===null)throw new c("options","Object",O);var F=O.message,B=O.operator,N=O.stackStartFn,W=O.actual,j=O.expected,$=Error.stackTraceLimit;if(Error.stackTraceLimit=0,F!=null)z=M(this,o(b).call(this,String(F)));else if(d.stderr&&d.stderr.isTTY&&(d.stderr&&d.stderr.getColorDepth&&d.stderr.getColorDepth()!==1?(w="\x1B[34m",y="\x1B[32m",_="\x1B[39m",C="\x1B[31m"):(w="",y="",_="",C="")),s(W)==="object"&&W!==null&&s(j)==="object"&&j!==null&&"stack"in W&&W instanceof Error&&"stack"in j&&j instanceof Error&&(W=E(W),j=E(j)),B==="deepStrictEqual"||B==="strictEqual")z=M(this,o(b).call(this,function(te,Z,X){var Q="",re="",ie=0,oe="",ue=!1,ce=x(te),ye=ce.split(` -======== -`))}throw q}},E.strict=y(j,E,{equal:E.strictEqual,deepEqual:E.deepStrictEqual,notEqual:E.notStrictEqual,notDeepEqual:E.notDeepStrictEqual}),E.strict.strict=E.strict},73894:function(T,p,t){var d=t(90386);function g(L,b,R){return b in L?Object.defineProperty(L,b,{value:R,enumerable:!0,configurable:!0,writable:!0}):L[b]=R,L}function i(L,b){for(var R=0;R"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function a(L,b,R){return a=l()?Reflect.construct:function(I,O,z){var F=[null];F.push.apply(F,O);var B=new(Function.bind.apply(I,F));return z&&u(B,z.prototype),B},a.apply(null,arguments)}function u(L,b){return u=Object.setPrototypeOf||function(R,I){return R.__proto__=I,R},u(L,b)}function o(L){return o=Object.setPrototypeOf?Object.getPrototypeOf:function(b){return b.__proto__||Object.getPrototypeOf(b)},o(L)}function s(L){return s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(b){return typeof b}:function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},s(L)}var c=t(43827).inspect,h=t(79616).codes.ERR_INVALID_ARG_TYPE;function m(L,b,R){return(R===void 0||R>L.length)&&(R=L.length),L.substring(R-b.length,R)===b}var w="",y="",S="",_="",k={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function E(L){var b=Object.keys(L),R=Object.create(Object.getPrototypeOf(L));return b.forEach(function(I){R[I]=L[I]}),Object.defineProperty(R,"message",{value:L.message}),R}function x(L){return c(L,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}var A=function(L){function b(O){var z;if(function(te,Z){if(!(te instanceof Z))throw new TypeError("Cannot call a class as a function")}(this,b),s(O)!=="object"||O===null)throw new h("options","Object",O);var F=O.message,B=O.operator,N=O.stackStartFn,W=O.actual,j=O.expected,$=Error.stackTraceLimit;if(Error.stackTraceLimit=0,F!=null)z=M(this,o(b).call(this,String(F)));else if(d.stderr&&d.stderr.isTTY&&(d.stderr&&d.stderr.getColorDepth&&d.stderr.getColorDepth()!==1?(w="\x1B[34m",y="\x1B[32m",_="\x1B[39m",S="\x1B[31m"):(w="",y="",_="",S="")),s(W)==="object"&&W!==null&&s(j)==="object"&&j!==null&&"stack"in W&&W instanceof Error&&"stack"in j&&j instanceof Error&&(W=E(W),j=E(j)),B==="deepStrictEqual"||B==="strictEqual")z=M(this,o(b).call(this,function(te,Z,X){var Q="",re="",ie=0,oe="",ue=!1,ce=x(te),ye=ce.split(` ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js `),de=x(Z).split(` `),me=0,pe="";if(X==="strictEqual"&&s(te)==="object"&&s(Z)==="object"&&te!==null&&Z!==null&&(X="strictEqualObject"),ye.length===1&&de.length===1&&ye[0]!==de[0]){var xe=ye[0].length+de[0].length;if(xe<=10){if(!(s(te)==="object"&&te!==null||s(Z)==="object"&&Z!==null||te===0&&Z===0))return"".concat(k[X],` @@ -2524,19 +2370,11 @@ void main() { `)}me>3&&(oe=` `.concat(w,"...").concat(_).concat(oe),ue=!0),Q!==""&&(oe=` `.concat(Q).concat(oe),Q="");var Ce=0,ae=k[X]+` -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js `.concat(y,"+ actual").concat(_," ").concat(C,"- expected").concat(_),fe=" ".concat(w,"...").concat(_," Lines skipped");for(me=0;me1&&me>2&&(be>4?(re+=` `.concat(w,"...").concat(_),ue=!0):be>3&&(re+=` `.concat(de[me-2]),Ce++),re+=` `.concat(de[me-1]),Ce++),ie=me,Q+=` `.concat(C,"-").concat(_," ").concat(de[me]),Ce++;else if(de.length1&&me>2&&(be>4?(re+=` -======== -`.concat(y,"+ actual").concat(_," ").concat(S,"- expected").concat(_),fe=" ".concat(w,"...").concat(_," Lines skipped");for(me=0;me1&&me>2&&(be>4?(re+=` -`.concat(w,"...").concat(_),ue=!0):be>3&&(re+=` - `.concat(de[me-2]),Ce++),re+=` - `.concat(de[me-1]),Ce++),ie=me,Q+=` -`.concat(S,"-").concat(_," ").concat(de[me]),Ce++;else if(de.length1&&me>2&&(be>4?(re+=` ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js `.concat(w,"...").concat(_),ue=!0):be>3&&(re+=` `.concat(ye[me-2]),Ce++),re+=` `.concat(ye[me-1]),Ce++),ie=me,re+=` @@ -2545,11 +2383,7 @@ void main() { `.concat(ye[me-2]),Ce++),re+=` `.concat(ye[me-1]),Ce++),ie=me,re+=` `.concat(y,"+").concat(_," ").concat(Le),Q+=` -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js `.concat(C,"-").concat(_," ").concat(ke),Ce+=2):(re+=Q,Q="",be!==1&&me!==0||(re+=` -======== -`.concat(S,"-").concat(_," ").concat(ke),Ce+=2):(re+=Q,Q="",be!==1&&me!==0||(re+=` ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js `.concat(Le),Ce++))}if(Ce>20&&me2?"one of ".concat(o," ").concat(u.slice(0,s-1).join(", "),", or ")+u[s-1]:s===2?"one of ".concat(o," ").concat(u[0]," or ").concat(u[1]):"of ".concat(o," ").concat(u[0])}return"of ".concat(o," ").concat(String(u))}l("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),l("ERR_INVALID_ARG_TYPE",function(u,o,s){var h,c,m,w,y;if(M===void 0&&(M=t(32791)),M(typeof u=="string","'name' must be a string"),typeof o=="string"&&(c="not ",o.substr(0,c.length)===c)?(h="must not be",o=o.replace(/^not /,"")):h="must be",function(_,k,E){return(E===void 0||E>_.length)&&(E=_.length),_.substring(E-k.length,E)===k}(u," argument"))m="The ".concat(u," ").concat(h," ").concat(a(o,"type"));else{var C=(typeof y!="number"&&(y=0),y+1>(w=u).length||w.indexOf(".",y)===-1?"argument":"property");m='The "'.concat(u,'" ').concat(C," ").concat(h," ").concat(a(o,"type"))}return m+". Received type ".concat(d(s))},TypeError),l("ERR_INVALID_ARG_VALUE",function(u,o){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";v===void 0&&(v=t(43827));var h=v.inspect(o);return h.length>128&&(h="".concat(h.slice(0,128),"...")),"The argument '".concat(u,"' ").concat(s,". Received ").concat(h)},TypeError),l("ERR_INVALID_RETURN_VALUE",function(u,o,s){var h;return h=s&&s.constructor&&s.constructor.name?"instance of ".concat(s.constructor.name):"type ".concat(d(s)),"Expected ".concat(u,' to be returned from the "').concat(o,'"')+" function but got ".concat(h,".")},TypeError),l("ERR_MISSING_ARGS",function(){for(var u=arguments.length,o=new Array(u),s=0;s0,"At least one arg needs to be specified");var h="The ",c=o.length;switch(o=o.map(function(m){return'"'.concat(m,'"')}),c){case 1:h+="".concat(o[0]," argument");break;case 2:h+="".concat(o[0]," and ").concat(o[1]," arguments");break;default:h+=o.slice(0,c-1).join(", "),h+=", and ".concat(o[c-1]," arguments")}return"".concat(h," must be specified")},TypeError),T.exports.codes=f},74061:function(T,p,t){function d(Z,X){return function(Q){if(Array.isArray(Q))return Q}(Z)||function(Q,re){var ie=[],oe=!0,ue=!1,ce=void 0;try{for(var ye,de=Q[Symbol.iterator]();!(oe=(ye=de.next()).done)&&(ie.push(ye.value),!re||ie.length!==re);oe=!0);}catch(me){ue=!0,ce=me}finally{try{oe||de.return==null||de.return()}finally{if(ue)throw ce}}return ie}(Z,X)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function g(Z){return g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(X){return typeof X}:function(X){return X&&typeof Symbol=="function"&&X.constructor===Symbol&&X!==Symbol.prototype?"symbol":typeof X},g(Z)}var i=/a/g.flags!==void 0,M=function(Z){var X=[];return Z.forEach(function(Q){return X.push(Q)}),X},v=function(Z){var X=[];return Z.forEach(function(Q,re){return X.push([re,Q])}),X},f=Object.is?Object.is:t(64003),l=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},a=Number.isNaN?Number.isNaN:t(15567);function u(Z){return Z.call.bind(Z)}var o=u(Object.prototype.hasOwnProperty),s=u(Object.prototype.propertyIsEnumerable),h=u(Object.prototype.toString),c=t(43827).types,m=c.isAnyArrayBuffer,w=c.isArrayBufferView,y=c.isDate,C=c.isMap,_=c.isRegExp,k=c.isSet,E=c.isNativeError,x=c.isBoxedPrimitive,A=c.isNumberObject,L=c.isStringObject,b=c.isBooleanObject,R=c.isBigIntObject,I=c.isSymbolObject,O=c.isFloat32Array,z=c.isFloat64Array;function F(Z){if(Z.length===0||Z.length>10)return!0;for(var X=0;X57)return!0}return Z.length===10&&Z>=Math.pow(2,32)}function B(Z){return Object.keys(Z).filter(F).concat(l(Z).filter(Object.prototype.propertyIsEnumerable.bind(Z)))}function N(Z,X){if(Z===X)return 0;for(var Q=Z.length,re=X.length,ie=0,oe=Math.min(Q,re);ie0?h-4:h;for(o=0;o>16&255,m[w++]=u>>8&255,m[w++]=255&u;return c===2&&(u=d[a.charCodeAt(o)]<<2|d[a.charCodeAt(o+1)]>>4,m[w++]=255&u),c===1&&(u=d[a.charCodeAt(o)]<<10|d[a.charCodeAt(o+1)]<<4|d[a.charCodeAt(o+2)]>>2,m[w++]=u>>8&255,m[w++]=255&u),m},p.fromByteArray=function(a){for(var u,o=a.length,s=o%3,h=[],c=16383,m=0,w=o-s;mw?w:m+c));return s===1?(u=a[o-1],h.push(t[u>>2]+t[u<<4&63]+"==")):s===2&&(u=(a[o-2]<<8)+a[o-1],h.push(t[u>>10]+t[u>>4&63]+t[u<<2&63]+"=")),h.join("")};for(var t=[],d=[],g=typeof Uint8Array<"u"?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",M=0,v=i.length;M0)throw new Error("Invalid string. Length must be a multiple of 4");var o=a.indexOf("=");return o===-1&&(o=u),[o,o===u?0:4-o%4]}function l(a,u,o){for(var s,h,c=[],m=u;m>18&63]+t[h>>12&63]+t[h>>6&63]+t[63&h]);return c.join("")}d["-".charCodeAt(0)]=62,d["_".charCodeAt(0)]=63},91358:function(T){function p(v,f,l,a,u){for(var o=u+1;a<=u;){var s=a+u>>>1,h=v[s];(l!==void 0?l(h,f):h-f)>=0?(o=s,u=s-1):a=s+1}return o}function t(v,f,l,a,u){for(var o=u+1;a<=u;){var s=a+u>>>1,h=v[s];(l!==void 0?l(h,f):h-f)>0?(o=s,u=s-1):a=s+1}return o}function d(v,f,l,a,u){for(var o=a-1;a<=u;){var s=a+u>>>1,h=v[s];(l!==void 0?l(h,f):h-f)<0?(o=s,a=s+1):u=s-1}return o}function g(v,f,l,a,u){for(var o=a-1;a<=u;){var s=a+u>>>1,h=v[s];(l!==void 0?l(h,f):h-f)<=0?(o=s,a=s+1):u=s-1}return o}function i(v,f,l,a,u){for(;a<=u;){var o=a+u>>>1,s=v[o],h=l!==void 0?l(s,f):s-f;if(h===0)return o;h<=0?a=o+1:u=o-1}return-1}function M(v,f,l,a,u,o){return typeof l=="function"?o(v,f,l,a===void 0?0:0|a,u===void 0?v.length-1:0|u):o(v,f,void 0,l===void 0?0:0|l,a===void 0?v.length-1:0|a)}T.exports={ge:function(v,f,l,a,u){return M(v,f,l,a,u,p)},gt:function(v,f,l,a,u){return M(v,f,l,a,u,t)},lt:function(v,f,l,a,u){return M(v,f,l,a,u,d)},le:function(v,f,l,a,u){return M(v,f,l,a,u,g)},eq:function(v,f,l,a,u){return M(v,f,l,a,u,i)}}},13547:function(T,p){function t(g){var i=32;return(g&=-g)&&i--,65535&g&&(i-=16),16711935&g&&(i-=8),252645135&g&&(i-=4),858993459&g&&(i-=2),1431655765&g&&(i-=1),i}p.INT_BITS=32,p.INT_MAX=2147483647,p.INT_MIN=-2147483648,p.sign=function(g){return(g>0)-(g<0)},p.abs=function(g){var i=g>>31;return(g^i)-i},p.min=function(g,i){return i^(g^i)&-(g65535)<<4,i|=M=((g>>>=i)>255)<<3,i|=M=((g>>>=M)>15)<<2,(i|=M=((g>>>=M)>3)<<1)|(g>>>=M)>>1},p.log10=function(g){return g>=1e9?9:g>=1e8?8:g>=1e7?7:g>=1e6?6:g>=1e5?5:g>=1e4?4:g>=1e3?3:g>=100?2:g>=10?1:0},p.popCount=function(g){return 16843009*((g=(858993459&(g-=g>>>1&1431655765))+(g>>>2&858993459))+(g>>>4)&252645135)>>>24},p.countTrailingZeros=t,p.nextPow2=function(g){return g+=g===0,--g,g|=g>>>1,g|=g>>>2,g|=g>>>4,g|=g>>>8,1+(g|=g>>>16)},p.prevPow2=function(g){return g|=g>>>1,g|=g>>>2,g|=g>>>4,g|=g>>>8,(g|=g>>>16)-(g>>>1)},p.parity=function(g){return g^=g>>>16,g^=g>>>8,g^=g>>>4,27030>>>(g&=15)&1};var d=new Array(256);(function(g){for(var i=0;i<256;++i){var M=i,v=i,f=7;for(M>>>=1;M;M>>>=1)v<<=1,v|=1&M,--f;g[i]=v<>>8&255]<<16|d[g>>>16&255]<<8|d[g>>>24&255]},p.interleave2=function(g,i){return(g=1431655765&((g=858993459&((g=252645135&((g=16711935&((g&=65535)|g<<8))|g<<4))|g<<2))|g<<1))|(i=1431655765&((i=858993459&((i=252645135&((i=16711935&((i&=65535)|i<<8))|i<<4))|i<<2))|i<<1))<<1},p.deinterleave2=function(g,i){return(g=65535&((g=16711935&((g=252645135&((g=858993459&((g=g>>>i&1431655765)|g>>>1))|g>>>2))|g>>>4))|g>>>16))<<16>>16},p.interleave3=function(g,i,M){return g=1227133513&((g=3272356035&((g=251719695&((g=4278190335&((g&=1023)|g<<16))|g<<8))|g<<4))|g<<2),(g|=(i=1227133513&((i=3272356035&((i=251719695&((i=4278190335&((i&=1023)|i<<16))|i<<8))|i<<4))|i<<2))<<1)|(M=1227133513&((M=3272356035&((M=251719695&((M=4278190335&((M&=1023)|M<<16))|M<<8))|M<<4))|M<<2))<<2},p.deinterleave3=function(g,i){return(g=1023&((g=4278190335&((g=251719695&((g=3272356035&((g=g>>>i&1227133513)|g>>>2))|g>>>4))|g>>>8))|g>>>16))<<22>>22},p.nextCombination=function(g){var i=g|g-1;return i+1|(~i&-~i)-1>>>t(g)+1}},44781:function(T,p,t){var d=t(53435);T.exports=function(v,f){f||(f={});var l,a,u,o,s,h,c,m,w,y,C,_=f.cutoff==null?.25:f.cutoff,k=f.radius==null?8:f.radius,E=f.channel||0;if(ArrayBuffer.isView(v)||Array.isArray(v)){if(!f.width||!f.height)throw Error("For raw data width and height should be provided by options");l=f.width,a=f.height,o=v,h=f.stride?f.stride:Math.floor(v.length/l/a)}else window.HTMLCanvasElement&&v instanceof window.HTMLCanvasElement?(c=(m=v).getContext("2d"),l=m.width,a=m.height,o=(w=c.getImageData(0,0,l,a)).data,h=4):window.CanvasRenderingContext2D&&v instanceof window.CanvasRenderingContext2D?(c=v,l=(m=v.canvas).width,a=m.height,o=(w=c.getImageData(0,0,l,a)).data,h=4):window.ImageData&&v instanceof window.ImageData&&(w=v,l=v.width,a=v.height,o=w.data,h=4);if(u=Math.max(l,a),window.Uint8ClampedArray&&o instanceof window.Uint8ClampedArray||window.Uint8Array&&o instanceof window.Uint8Array)for(s=o,o=Array(l*a),y=0,C=s.length;y-1?g(f):f}},68222:function(T,p,t){var d=t(77575),g=t(68318),i=g("%Function.prototype.apply%"),M=g("%Function.prototype.call%"),v=g("%Reflect.apply%",!0)||d.call(M,i),f=g("%Object.getOwnPropertyDescriptor%",!0),l=g("%Object.defineProperty%",!0),a=g("%Math.max%");if(l)try{l({},"a",{value:1})}catch{l=null}T.exports=function(o){var s=v(d,M,arguments);if(f&&l){var h=f(s,"length");h.configurable&&l(s,"length",{value:1+a(0,o.length-(arguments.length-1))})}return s};var u=function(){return v(d,i,arguments)};l?l(T.exports,"apply",{value:u}):T.exports.apply=u},53435:function(T){T.exports=function(p,t,d){return td?d:p:pt?t:p}},6475:function(T,p,t){var d=t(53435);function g(i,M){M==null&&(M=!0);var v=i[0],f=i[1],l=i[2],a=i[3];return a==null&&(a=M?1:255),M&&(v*=255,f*=255,l*=255,a*=255),16777216*(v=255&d(v,0,255))+((f=255&d(f,0,255))<<16)+((l=255&d(l,0,255))<<8)+(255&d(a,0,255))}T.exports=g,T.exports.to=g,T.exports.from=function(i,M){var v=(i=+i)>>>24,f=(16711680&i)>>>16,l=(65280&i)>>>8,a=255&i;return M===!1?[v,f,l,a]:[v/255,f/255,l/255,a/255]}},76857:function(T){T.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},25075:function(T,p,t){var d=t(36652),g=t(53435),i=t(90660);T.exports=function(M,v){v!=="float"&&v||(v="array"),v==="uint"&&(v="uint8"),v==="uint_clamped"&&(v="uint8_clamped");var f=new(i(v))(4),l=v!=="uint8"&&v!=="uint8_clamped";return M.length&&typeof M!="string"||((M=d(M))[0]/=255,M[1]/=255,M[2]/=255),function(a){return a instanceof Uint8Array||a instanceof Uint8ClampedArray||!!(Array.isArray(a)&&(a[0]>1||a[0]===0)&&(a[1]>1||a[1]===0)&&(a[2]>1||a[2]===0)&&(!a[3]||a[3]>1))}(M)?(f[0]=M[0],f[1]=M[1],f[2]=M[2],f[3]=M[3]!=null?M[3]:255,l&&(f[0]/=255,f[1]/=255,f[2]/=255,f[3]/=255),f):(l?(f[0]=M[0],f[1]=M[1],f[2]=M[2],f[3]=M[3]!=null?M[3]:1):(f[0]=g(Math.floor(255*M[0]),0,255),f[1]=g(Math.floor(255*M[1]),0,255),f[2]=g(Math.floor(255*M[2]),0,255),f[3]=M[3]==null?255:g(Math.floor(255*M[3]),0,255)),f)}},90736:function(T,p,t){var d=t(76857),g=t(10973),i=t(46775);T.exports=function(v){var f,l,a=[],u=1;if(typeof v=="string")if(d[v])a=d[v].slice(),l="rgb";else if(v==="transparent")u=0,l="rgb",a=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(v)){var o=(c=v.slice(1)).length;u=1,o<=4?(a=[parseInt(c[0]+c[0],16),parseInt(c[1]+c[1],16),parseInt(c[2]+c[2],16)],o===4&&(u=parseInt(c[3]+c[3],16)/255)):(a=[parseInt(c[0]+c[1],16),parseInt(c[2]+c[3],16),parseInt(c[4]+c[5],16)],o===8&&(u=parseInt(c[6]+c[7],16)/255)),a[0]||(a[0]=0),a[1]||(a[1]=0),a[2]||(a[2]=0),l="rgb"}else if(f=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(v)){var s=f[1],h=s==="rgb",c=s.replace(/a$/,"");l=c,o=c==="cmyk"?4:c==="gray"?1:3,a=f[2].trim().split(/\s*,\s*/).map(function(w,y){if(/%$/.test(w))return y===o?parseFloat(w)/100:c==="rgb"?255*parseFloat(w)/100:parseFloat(w);if(c[y]==="h"){if(/deg$/.test(w))return parseFloat(w);if(M[w]!==void 0)return M[w]}return parseFloat(w)}),s===c&&a.push(1),u=h||a[o]===void 0?1:a[o],a=a.slice(0,o)}else v.length>10&&/[0-9](?:\s|\/)/.test(v)&&(a=v.match(/([0-9]+)/g).map(function(w){return parseFloat(w)}),l=v.match(/([a-z])/gi).join("").toLowerCase());else if(isNaN(v))if(g(v)){var m=i(v.r,v.red,v.R,null);m!==null?(l="rgb",a=[m,i(v.g,v.green,v.G),i(v.b,v.blue,v.B)]):(l="hsl",a=[i(v.h,v.hue,v.H),i(v.s,v.saturation,v.S),i(v.l,v.lightness,v.L,v.b,v.brightness)]),u=i(v.a,v.alpha,v.opacity,1),v.opacity!=null&&(u/=100)}else(Array.isArray(v)||t.g.ArrayBuffer&&ArrayBuffer.isView&&ArrayBuffer.isView(v))&&(a=[v[0],v[1],v[2]],l="rgb",u=v.length===4?v[3]:1);else l="rgb",a=[v>>>16,(65280&v)>>>8,255&v];return{space:l,values:a,alpha:u}};var M={red:0,orange:60,yellow:120,green:180,blue:240,purple:300}},36652:function(T,p,t){var d=t(90736),g=t(80009),i=t(53435);T.exports=function(M){var v,f=d(M);return f.space?((v=Array(3))[0]=i(f.values[0],0,255),v[1]=i(f.values[1],0,255),v[2]=i(f.values[2],0,255),f.space[0]==="h"&&(v=g.rgb(v)),v.push(i(f.alpha,0,1)),v):[]}},80009:function(T,p,t){var d=t(6866);T.exports={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(g){var i,M,v,f,l,a=g[0]/360,u=g[1]/100,o=g[2]/100;if(u===0)return[l=255*o,l,l];i=2*o-(M=o<.5?o*(1+u):o+u-o*u),f=[0,0,0];for(var s=0;s<3;s++)(v=a+.3333333333333333*-(s-1))<0?v++:v>1&&v--,l=6*v<1?i+6*(M-i)*v:2*v<1?M:3*v<2?i+(M-i)*(.6666666666666666-v)*6:i,f[s]=255*l;return f}},d.hsl=function(g){var i,M,v=g[0]/255,f=g[1]/255,l=g[2]/255,a=Math.min(v,f,l),u=Math.max(v,f,l),o=u-a;return u===a?i=0:v===u?i=(f-l)/o:f===u?i=2+(l-v)/o:l===u&&(i=4+(v-f)/o),(i=Math.min(60*i,360))<0&&(i+=360),M=(a+u)/2,[i,100*(u===a?0:M<=.5?o/(u+a):o/(2-u-a)),100*M]}},6866:function(T){T.exports={name:"rgb",min:[0,0,0],max:[255,255,255],channel:["red","green","blue"],alias:["RGB"]}},24138:function(T){T.exports={AFG:"afghan",ALA:"\\b\\wland",ALB:"albania",DZA:"algeria",ASM:"^(?=.*americ).*samoa",AND:"andorra",AGO:"angola",AIA:"anguill?a",ATA:"antarctica",ATG:"antigua",ARG:"argentin",ARM:"armenia",ABW:"^(?!.*bonaire).*\\baruba",AUS:"australia",AUT:"^(?!.*hungary).*austria|\\baustri.*\\bemp",AZE:"azerbaijan",BHS:"bahamas",BHR:"bahrain",BGD:"bangladesh|^(?=.*east).*paki?stan",BRB:"barbados",BLR:"belarus|byelo",BEL:"^(?!.*luxem).*belgium",BLZ:"belize|^(?=.*british).*honduras",BEN:"benin|dahome",BMU:"bermuda",BTN:"bhutan",BOL:"bolivia",BES:"^(?=.*bonaire).*eustatius|^(?=.*carib).*netherlands|\\bbes.?islands",BIH:"herzegovina|bosnia",BWA:"botswana|bechuana",BVT:"bouvet",BRA:"brazil",IOT:"british.?indian.?ocean",BRN:"brunei",BGR:"bulgaria",BFA:"burkina|\\bfaso|upper.?volta",BDI:"burundi",CPV:"verde",KHM:"cambodia|kampuchea|khmer",CMR:"cameroon",CAN:"canada",CYM:"cayman",CAF:"\\bcentral.african.republic",TCD:"\\bchad",CHL:"\\bchile",CHN:"^(?!.*\\bmac)(?!.*\\bhong)(?!.*\\btai)(?!.*\\brep).*china|^(?=.*peo)(?=.*rep).*china",CXR:"christmas",CCK:"\\bcocos|keeling",COL:"colombia",COM:"comoro",COG:"^(?!.*\\bdem)(?!.*\\bd[\\.]?r)(?!.*kinshasa)(?!.*zaire)(?!.*belg)(?!.*l.opoldville)(?!.*free).*\\bcongo",COK:"\\bcook",CRI:"costa.?rica",CIV:"ivoire|ivory",HRV:"croatia",CUB:"\\bcuba",CUW:"^(?!.*bonaire).*\\bcura(c|ç)ao",CYP:"cyprus",CSK:"czechoslovakia",CZE:"^(?=.*rep).*czech|czechia|bohemia",COD:"\\bdem.*congo|congo.*\\bdem|congo.*\\bd[\\.]?r|\\bd[\\.]?r.*congo|belgian.?congo|congo.?free.?state|kinshasa|zaire|l.opoldville|drc|droc|rdc",DNK:"denmark",DJI:"djibouti",DMA:"dominica(?!n)",DOM:"dominican.rep",ECU:"ecuador",EGY:"egypt",SLV:"el.?salvador",GNQ:"guine.*eq|eq.*guine|^(?=.*span).*guinea",ERI:"eritrea",EST:"estonia",ETH:"ethiopia|abyssinia",FLK:"falkland|malvinas",FRO:"faroe|faeroe",FJI:"fiji",FIN:"finland",FRA:"^(?!.*\\bdep)(?!.*martinique).*france|french.?republic|\\bgaul",GUF:"^(?=.*french).*guiana",PYF:"french.?polynesia|tahiti",ATF:"french.?southern",GAB:"gabon",GMB:"gambia",GEO:"^(?!.*south).*georgia",DDR:"german.?democratic.?republic|democratic.?republic.*germany|east.germany",DEU:"^(?!.*east).*germany|^(?=.*\\bfed.*\\brep).*german",GHA:"ghana|gold.?coast",GIB:"gibraltar",GRC:"greece|hellenic|hellas",GRL:"greenland",GRD:"grenada",GLP:"guadeloupe",GUM:"\\bguam",GTM:"guatemala",GGY:"guernsey",GIN:"^(?!.*eq)(?!.*span)(?!.*bissau)(?!.*portu)(?!.*new).*guinea",GNB:"bissau|^(?=.*portu).*guinea",GUY:"guyana|british.?guiana",HTI:"haiti",HMD:"heard.*mcdonald",VAT:"holy.?see|vatican|papal.?st",HND:"^(?!.*brit).*honduras",HKG:"hong.?kong",HUN:"^(?!.*austr).*hungary",ISL:"iceland",IND:"india(?!.*ocea)",IDN:"indonesia",IRN:"\\biran|persia",IRQ:"\\biraq|mesopotamia",IRL:"(^ireland)|(^republic.*ireland)",IMN:"^(?=.*isle).*\\bman",ISR:"israel",ITA:"italy",JAM:"jamaica",JPN:"japan",JEY:"jersey",JOR:"jordan",KAZ:"kazak",KEN:"kenya|british.?east.?africa|east.?africa.?prot",KIR:"kiribati",PRK:"^(?=.*democrat|people|north|d.*p.*.r).*\\bkorea|dprk|korea.*(d.*p.*r)",KWT:"kuwait",KGZ:"kyrgyz|kirghiz",LAO:"\\blaos?\\b",LVA:"latvia",LBN:"lebanon",LSO:"lesotho|basuto",LBR:"liberia",LBY:"libya",LIE:"liechtenstein",LTU:"lithuania",LUX:"^(?!.*belg).*luxem",MAC:"maca(o|u)",MDG:"madagascar|malagasy",MWI:"malawi|nyasa",MYS:"malaysia",MDV:"maldive",MLI:"\\bmali\\b",MLT:"\\bmalta",MHL:"marshall",MTQ:"martinique",MRT:"mauritania",MUS:"mauritius",MYT:"\\bmayotte",MEX:"\\bmexic",FSM:"fed.*micronesia|micronesia.*fed",MCO:"monaco",MNG:"mongolia",MNE:"^(?!.*serbia).*montenegro",MSR:"montserrat",MAR:"morocco|\\bmaroc",MOZ:"mozambique",MMR:"myanmar|burma",NAM:"namibia",NRU:"nauru",NPL:"nepal",NLD:"^(?!.*\\bant)(?!.*\\bcarib).*netherlands",ANT:"^(?=.*\\bant).*(nether|dutch)",NCL:"new.?caledonia",NZL:"new.?zealand",NIC:"nicaragua",NER:"\\bniger(?!ia)",NGA:"nigeria",NIU:"niue",NFK:"norfolk",MNP:"mariana",NOR:"norway",OMN:"\\boman|trucial",PAK:"^(?!.*east).*paki?stan",PLW:"palau",PSE:"palestin|\\bgaza|west.?bank",PAN:"panama",PNG:"papua|new.?guinea",PRY:"paraguay",PER:"peru",PHL:"philippines",PCN:"pitcairn",POL:"poland",PRT:"portugal",PRI:"puerto.?rico",QAT:"qatar",KOR:"^(?!.*d.*p.*r)(?!.*democrat)(?!.*people)(?!.*north).*\\bkorea(?!.*d.*p.*r)",MDA:"moldov|b(a|e)ssarabia",REU:"r(e|é)union",ROU:"r(o|u|ou)mania",RUS:"\\brussia|soviet.?union|u\\.?s\\.?s\\.?r|socialist.?republics",RWA:"rwanda",BLM:"barth(e|é)lemy",SHN:"helena",KNA:"kitts|\\bnevis",LCA:"\\blucia",MAF:"^(?=.*collectivity).*martin|^(?=.*france).*martin(?!ique)|^(?=.*french).*martin(?!ique)",SPM:"miquelon",VCT:"vincent",WSM:"^(?!.*amer).*samoa",SMR:"san.?marino",STP:"\\bs(a|ã)o.?tom(e|é)",SAU:"\\bsa\\w*.?arabia",SEN:"senegal",SRB:"^(?!.*monte).*serbia",SYC:"seychell",SLE:"sierra",SGP:"singapore",SXM:"^(?!.*martin)(?!.*saba).*maarten",SVK:"^(?!.*cze).*slovak",SVN:"slovenia",SLB:"solomon",SOM:"somali",ZAF:"south.africa|s\\\\..?africa",SGS:"south.?georgia|sandwich",SSD:"\\bs\\w*.?sudan",ESP:"spain",LKA:"sri.?lanka|ceylon",SDN:"^(?!.*\\bs(?!u)).*sudan",SUR:"surinam|dutch.?guiana",SJM:"svalbard",SWZ:"swaziland",SWE:"sweden",CHE:"switz|swiss",SYR:"syria",TWN:"taiwan|taipei|formosa|^(?!.*peo)(?=.*rep).*china",TJK:"tajik",THA:"thailand|\\bsiam",MKD:"macedonia|fyrom",TLS:"^(?=.*leste).*timor|^(?=.*east).*timor",TGO:"togo",TKL:"tokelau",TON:"tonga",TTO:"trinidad|tobago",TUN:"tunisia",TUR:"turkey",TKM:"turkmen",TCA:"turks",TUV:"tuvalu",UGA:"uganda",UKR:"ukrain",ARE:"emirates|^u\\.?a\\.?e\\.?$|united.?arab.?em",GBR:"united.?kingdom|britain|^u\\.?k\\.?$",TZA:"tanzania",USA:"united.?states\\b(?!.*islands)|\\bu\\.?s\\.?a\\.?\\b|^\\s*u\\.?s\\.?\\b(?!.*islands)",UMI:"minor.?outlying.?is",URY:"uruguay",UZB:"uzbek",VUT:"vanuatu|new.?hebrides",VEN:"venezuela",VNM:"^(?!.*republic).*viet.?nam|^(?=.*socialist).*viet.?nam",VGB:"^(?=.*\\bu\\.?\\s?k).*virgin|^(?=.*brit).*virgin|^(?=.*kingdom).*virgin",VIR:"^(?=.*\\bu\\.?\\s?s).*virgin|^(?=.*states).*virgin",WLF:"futuna|wallis",ESH:"western.sahara",YEM:"^(?!.*arab)(?!.*north)(?!.*sana)(?!.*peo)(?!.*dem)(?!.*south)(?!.*aden)(?!.*\\bp\\.?d\\.?r).*yemen",YMD:"^(?=.*peo).*yemen|^(?!.*rep)(?=.*dem).*yemen|^(?=.*south).*yemen|^(?=.*aden).*yemen|^(?=.*\\bp\\.?d\\.?r).*yemen",YUG:"yugoslavia",ZMB:"zambia|northern.?rhodesia",EAZ:"zanzibar",ZWE:"zimbabwe|^(?!.*northern).*rhodesia"}},72791:function(T,p,t){T.exports={parse:t(41004),stringify:t(53313)}},63625:function(T,p,t){var d=t(40402);T.exports={isSize:function(g){return/^[\d\.]/.test(g)||g.indexOf("/")!==-1||d.indexOf(g)!==-1}}},41004:function(T,p,t){var d=t(90448),g=t(38732),i=t(41901),M=t(15659),v=t(96209),f=t(83794),l=t(99011),a=t(63625).isSize;T.exports=o;var u=o.cache={};function o(h){if(typeof h!="string")throw new Error("Font argument must be a string.");if(u[h])return u[h];if(h==="")throw new Error("Cannot parse an empty string.");if(i.indexOf(h)!==-1)return u[h]={system:h};for(var c,m={style:"normal",variant:"normal",weight:"normal",stretch:"normal",lineHeight:"normal",size:"1rem",family:["serif"]},w=l(h,/\s+/);c=w.shift();){if(g.indexOf(c)!==-1)return["style","variant","weight","stretch"].forEach(function(C){m[C]=c}),u[h]=m;if(v.indexOf(c)===-1)if(c!=="normal"&&c!=="small-caps")if(f.indexOf(c)===-1){if(M.indexOf(c)===-1){if(a(c)){var y=l(c,"/");if(m.size=y[0],y[1]!=null?m.lineHeight=s(y[1]):w[0]==="/"&&(w.shift(),m.lineHeight=s(w.shift())),!w.length)throw new Error("Missing required font-family.");return m.family=l(w.join(" "),/\s*,\s*/).map(d),u[h]=m}throw new Error("Unknown or unsupported font token: "+c)}m.weight=c}else m.stretch=c;else m.variant=c;else m.style=c}throw new Error("Missing required font-size.")}function s(h){var c=parseFloat(h);return c.toString()===h?c:h}},53313:function(T,p,t){var d=t(71299),g=t(63625).isSize,i=h(t(38732)),M=h(t(41901)),v=h(t(15659)),f=h(t(96209)),l=h(t(83794)),a={normal:1,"small-caps":1},u={serif:1,"sans-serif":1,monospace:1,cursive:1,fantasy:1,"system-ui":1},o="serif";function s(c,m){if(c&&!m[c]&&!i[c])throw Error("Unknown keyword `"+c+"`");return c}function h(c){for(var m={},w=0;wh?1:s>=h?0:NaN}t.d(p,{j2:function(){return d},Fp:function(){return M},J6:function(){return f},TS:function(){return l},VV:function(){return a},w6:function(){return u},Sm:function(){return o}}),(g=d).length===1&&(i=g,g=function(s,h){return d(i(s),h)});var g,i;function M(s,h){var c,m,w=s.length,y=-1;if(h==null){for(;++y=c)for(m=c;++ym&&(m=c)}else for(;++y=c)for(m=c;++ym&&(m=c);return m}function v(s){return s===null?NaN:+s}function f(s,h){var c,m=s.length,w=m,y=-1,C=0;if(h==null)for(;++y=0;)for(h=(m=s[w]).length;--h>=0;)c[--C]=m[h];return c}function a(s,h){var c,m,w=s.length,y=-1;if(h==null){for(;++y=c)for(m=c;++yc&&(m=c)}else for(;++y=c)for(m=c;++yc&&(m=c);return m}function u(s,h,c){s=+s,h=+h,c=(w=arguments.length)<2?(h=s,s=0,1):w<3?1:+c;for(var m=-1,w=0|Math.max(0,Math.ceil((h-s)/c)),y=new Array(w);++m=w.length)return h!=null&&k.sort(h),c!=null?c(k):k;for(var L,b,R,I=-1,O=k.length,z=w[E++],F=M(),B=x();++Iw.length)return k;var x,A=y[E-1];return c!=null&&E>=w.length?x=k.entries():(x=[],k.each(function(L,b){x.push({key:b,values:_(L,E)})})),A!=null?x.sort(function(L,b){return A(L.key,b.key)}):x}return m={object:function(k){return C(k,0,f,l)},map:function(k){return C(k,0,a,u)},entries:function(k){return _(C(k,0,a,u),0)},key:function(k){return w.push(k),m},sortKeys:function(k){return y[w.length-1]=k,m},sortValues:function(k){return h=k,m},rollup:function(k){return c=k,m}}}function f(){return{}}function l(h,c,m){h[c]=m}function a(){return M()}function u(h,c,m){h.set(c,m)}function o(){}var s=M.prototype;o.prototype={constructor:o,has:s.has,add:function(h){return this[d+(h+="")]=h,this},remove:s.remove,clear:s.clear,values:s.keys,size:s.size,empty:s.empty,each:s.each}},49887:function(T,p,t){function d(me,pe){var xe;function Pe(){var _e,Me,Se=xe.length,Ce=0,ae=0;for(_e=0;_e=(Me=(je+we)/2))?je=Me:we=Me,(be=xe>=(Se=(ge+Ee)/2))?ge=Se:Ee=Se,_e=Be,!(Be=Be[ke=be<<1|fe]))return _e[ke]=ze,me;if(Ce=+me._x.call(null,Be.data),ae=+me._y.call(null,Be.data),pe===Ce&&xe===ae)return ze.next=Be,_e?_e[ke]=ze:me._root=ze,me;do _e=_e?_e[ke]=new Array(4):me._root=new Array(4),(fe=pe>=(Me=(je+we)/2))?je=Me:we=Me,(be=xe>=(Se=(ge+Ee)/2))?ge=Se:Ee=Se;while((ke=be<<1|fe)==(Le=(ae>=Se)<<1|Ce>=Me));return _e[Le]=Be,_e[ke]=ze,me}function v(me,pe,xe,Pe,_e){this.node=me,this.x0=pe,this.y0=xe,this.x1=Pe,this.y1=_e}function f(me){return me[0]}function l(me){return me[1]}function a(me,pe,xe){var Pe=new u(pe??f,xe??l,NaN,NaN,NaN,NaN);return me==null?Pe:Pe.addAll(me)}function u(me,pe,xe,Pe,_e,Me){this._x=me,this._y=pe,this._x0=xe,this._y0=Pe,this._x1=_e,this._y1=Me,this._root=void 0}function o(me){for(var pe={data:me.data},xe=pe;me=me.next;)xe=xe.next={data:me.data};return pe}t.r(p),t.d(p,{forceCenter:function(){return d},forceCollide:function(){return m},forceLink:function(){return _},forceManyBody:function(){return ue},forceRadial:function(){return ce},forceSimulation:function(){return oe},forceX:function(){return ye},forceY:function(){return de}});var s=a.prototype=u.prototype;function h(me){return me.x+me.vx}function c(me){return me.y+me.vy}function m(me){var pe,xe,Pe=1,_e=1;function Me(){for(var ae,fe,be,ke,Le,Be,ze,je=pe.length,ge=0;ge<_e;++ge)for(fe=a(pe,h,c).visitAfter(Se),ae=0;aeke+bt||YeLe+bt||stbe.index){var Et=ke-ot.x-ot.vx,kt=Le-ot.y-ot.vy,xt=Et*Et+kt*kt;xtae.r&&(ae.r=ae[fe].r)}function Ce(){if(pe){var ae,fe,be=pe.length;for(xe=new Array(be),ae=0;aebe&&(be=Pe),_eke&&(ke=_e));if(ae>be||fe>ke)return this;for(this.cover(ae,fe).cover(be,ke),xe=0;xeme||me>=_e||Pe>pe||pe>=Me;)switch(Ce=(peLe||(Me=ae.y0)>Be||(Se=ae.x1)=we)<<1|me>=ge)&&(ae=ze[ze.length-1],ze[ze.length-1]=ze[ze.length-1-fe],ze[ze.length-1-fe]=ae)}else{var Ee=me-+this._x.call(null,je.data),Ve=pe-+this._y.call(null,je.data),$e=Ee*Ee+Ve*Ve;if($e=(Ce=(ze+ge)/2))?ze=Ce:ge=Ce,(be=Se>=(ae=(je+we)/2))?je=ae:we=ae,pe=Be,!(Be=Be[ke=be<<1|fe]))return this;if(!Be.length)break;(pe[ke+1&3]||pe[ke+2&3]||pe[ke+3&3])&&(xe=pe,Le=ke)}for(;Be.data!==me;)if(Pe=Be,!(Be=Be.next))return this;return(_e=Be.next)&&delete Be.next,Pe?(_e?Pe.next=_e:delete Pe.next,this):pe?(_e?pe[ke]=_e:delete pe[ke],(Be=pe[0]||pe[1]||pe[2]||pe[3])&&Be===(pe[3]||pe[2]||pe[1]||pe[0])&&!Be.length&&(xe?xe[Le]=Be:this._root=Be),this):(this._root=_e,this)},s.removeAll=function(me){for(var pe=0,xe=me.length;pe=0&&(Pe=xe.slice(_e+1),xe=xe.slice(0,_e)),xe&&!pe.hasOwnProperty(xe))throw new Error("unknown type: "+xe);return{type:xe,name:Pe}})}function L(me,pe){for(var xe,Pe=0,_e=me.length;Pe<_e;++Pe)if((xe=me[Pe]).name===pe)return xe.value}function b(me,pe,xe){for(var Pe=0,_e=me.length;Pe<_e;++Pe)if(me[Pe].name===pe){me[Pe]=k,me=me.slice(0,Pe).concat(me.slice(Pe+1));break}return xe!=null&&me.push({name:pe,value:xe}),me}x.prototype=E.prototype={constructor:x,on:function(me,pe){var xe,Pe=this._,_e=A(me+"",Pe),Me=-1,Se=_e.length;if(!(arguments.length<2)){if(pe!=null&&typeof pe!="function")throw new Error("invalid callback: "+pe);for(;++Me0)for(var xe,Pe,_e=new Array(xe),Me=0;Me=0&&pe._call.call(null,me),pe=pe._next;--z})()}finally{z=0,function(){for(var me,pe,xe=R,Pe=1/0;xe;)xe._call?(Pe>xe._time&&(Pe=xe._time),me=xe,xe=xe._next):(pe=xe._next,xe._next=null,xe=me?me._next=pe:R=pe);I=me,X(Pe)}(),W=0}}function Z(){var me=$.now(),pe=me-N;pe>1e3&&(j-=pe,N=me)}function X(me){z||(F&&(F=clearTimeout(F)),me-W>24?(me<1/0&&(F=setTimeout(te,me-$.now()-j)),B&&(B=clearInterval(B))):(B||(N=$.now(),B=setInterval(Z,1e3)),z=1,U(te)))}function Q(me){return me.x}function re(me){return me.y}H.prototype=ne.prototype={constructor:H,restart:function(me,pe,xe){if(typeof me!="function")throw new TypeError("callback is not a function");xe=(xe==null?G():+xe)+(pe==null?0:+pe),this._next||I===this||(I?I._next=this:R=this,I=this),this._call=me,this._time=xe,X()},stop:function(){this._call&&(this._call=null,this._time=1/0,X())}};var ie=Math.PI*(3-Math.sqrt(5));function oe(me){var pe,xe=1,Pe=.001,_e=1-Math.pow(Pe,1/300),Me=0,Se=.6,Ce=(0,w.UI)(),ae=ne(be),fe=O("tick","end");function be(){ke(),fe.call("tick",pe),xe1?(je==null?Ce.remove(ze):Ce.set(ze,Be(je)),pe):Ce.get(ze)},find:function(ze,je,ge){var we,Ee,Ve,$e,Ye,st=0,ot=me.length;for(ge==null?ge=1/0:ge*=ge,st=0;st1?(fe.on(ze,je),pe):fe.on(ze)}}}function ue(){var me,pe,xe,Pe,_e=g(-30),Me=1,Se=1/0,Ce=.81;function ae(Le){var Be,ze=me.length,je=a(me,Q,re).visitAfter(be);for(xe=Le,Be=0;Be=Se)){(Le.data!==pe||Le.next)&&(ge===0&&(Ve+=(ge=i())*ge),we===0&&(Ve+=(we=i())*we),Ve1?C[0]+C.slice(2):C,+m.slice(y+1)]}t.d(p,{WU:function(){return o},FF:function(){return c}});var g,i=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function M(m){if(!(w=i.exec(m)))throw new Error("invalid format: "+m);var w;return new v({fill:w[1],align:w[2],sign:w[3],symbol:w[4],zero:w[5],width:w[6],comma:w[7],precision:w[8]&&w[8].slice(1),trim:w[9],type:w[10]})}function v(m){this.fill=m.fill===void 0?" ":m.fill+"",this.align=m.align===void 0?">":m.align+"",this.sign=m.sign===void 0?"-":m.sign+"",this.symbol=m.symbol===void 0?"":m.symbol+"",this.zero=!!m.zero,this.width=m.width===void 0?void 0:+m.width,this.comma=!!m.comma,this.precision=m.precision===void 0?void 0:+m.precision,this.trim=!!m.trim,this.type=m.type===void 0?"":m.type+""}function f(m,w){var y=d(m,w);if(!y)return m+"";var C=y[0],_=y[1];return _<0?"0."+new Array(-_).join("0")+C:C.length>_+1?C.slice(0,_+1)+"."+C.slice(_+1):C+new Array(_-C.length+2).join("0")}M.prototype=v.prototype,v.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,0|this.width))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var l={"%":function(m,w){return(100*m).toFixed(w)},b:function(m){return Math.round(m).toString(2)},c:function(m){return m+""},d:function(m){return Math.abs(m=Math.round(m))>=1e21?m.toLocaleString("en").replace(/,/g,""):m.toString(10)},e:function(m,w){return m.toExponential(w)},f:function(m,w){return m.toFixed(w)},g:function(m,w){return m.toPrecision(w)},o:function(m){return Math.round(m).toString(8)},p:function(m,w){return f(100*m,w)},r:f,s:function(m,w){var y=d(m,w);if(!y)return m+"";var C=y[0],_=y[1],k=_-(g=3*Math.max(-8,Math.min(8,Math.floor(_/3))))+1,E=C.length;return k===E?C:k>E?C+new Array(k-E+1).join("0"):k>0?C.slice(0,k)+"."+C.slice(k):"0."+new Array(1-k).join("0")+d(m,Math.max(0,w+k-1))[0]},X:function(m){return Math.round(m).toString(16).toUpperCase()},x:function(m){return Math.round(m).toString(16)}};function a(m){return m}var u,o,s=Array.prototype.map,h=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function c(m){var w,y,C=m.grouping===void 0||m.thousands===void 0?a:(w=s.call(m.grouping,Number),y=m.thousands+"",function(I,O){for(var z=I.length,F=[],B=0,N=w[0],W=0;z>0&&N>0&&(W+N+1>O&&(N=Math.max(1,O-W)),F.push(I.substring(z-=N,z+N)),!((W+=N+1)>O));)N=w[B=(B+1)%w.length];return F.reverse().join(y)}),_=m.currency===void 0?"":m.currency[0]+"",k=m.currency===void 0?"":m.currency[1]+"",E=m.decimal===void 0?".":m.decimal+"",x=m.numerals===void 0?a:function(I){return function(O){return O.replace(/[0-9]/g,function(z){return I[+z]})}}(s.call(m.numerals,String)),A=m.percent===void 0?"%":m.percent+"",L=m.minus===void 0?"-":m.minus+"",b=m.nan===void 0?"NaN":m.nan+"";function R(I){var O=(I=M(I)).fill,z=I.align,F=I.sign,B=I.symbol,N=I.zero,W=I.width,j=I.comma,$=I.precision,U=I.trim,G=I.type;G==="n"?(j=!0,G="g"):l[G]||($===void 0&&($=12),U=!0,G="g"),(N||O==="0"&&z==="=")&&(N=!0,O="0",z="=");var q=B==="$"?_:B==="#"&&/[boxX]/.test(G)?"0"+G.toLowerCase():"",H=B==="$"?k:/[%p]/.test(G)?A:"",ne=l[G],te=/[defgprs%]/.test(G);function Z(X){var Q,re,ie,oe=q,ue=H;if(G==="c")ue=ne(X)+ue,X="";else{var ce=(X=+X)<0||1/X<0;if(X=isNaN(X)?b:ne(Math.abs(X),$),U&&(X=function(me){e:for(var pe,xe=me.length,Pe=1,_e=-1;Pe0&&(_e=0)}return _e>0?me.slice(0,_e)+me.slice(pe+1):me}(X)),ce&&+X==0&&F!=="+"&&(ce=!1),oe=(ce?F==="("?F:L:F==="-"||F==="("?"":F)+oe,ue=(G==="s"?h[8+g/3]:"")+ue+(ce&&F==="("?")":""),te){for(Q=-1,re=X.length;++Q(ie=X.charCodeAt(Q))||ie>57){ue=(ie===46?E+X.slice(Q+1):X.slice(Q))+ue,X=X.slice(0,Q);break}}}j&&!N&&(X=C(X,1/0));var ye=oe.length+X.length+ue.length,de=ye>1)+oe+X+ue+de.slice(ye);break;default:X=de+oe+X+ue}return x(X)}return $=$===void 0?6:/[gprs]/.test(G)?Math.max(1,Math.min(21,$)):Math.max(0,Math.min(20,$)),Z.toString=function(){return I+""},Z}return{format:R,formatPrefix:function(I,O){var z,F=R(((I=M(I)).type="f",I)),B=3*Math.max(-8,Math.min(8,Math.floor((z=O,((z=d(Math.abs(z)))?z[1]:NaN)/3)))),N=Math.pow(10,-B),W=h[8+B/3];return function(j){return F(N*j)+W}}}}u=c({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),o=u.format,u.formatPrefix},65704:function(T,p,t){t.r(p),t.d(p,{geoAiry:function(){return j},geoAiryRaw:function(){return W},geoAitoff:function(){return U},geoAitoffRaw:function(){return $},geoArmadillo:function(){return q},geoArmadilloRaw:function(){return G},geoAugust:function(){return ne},geoAugustRaw:function(){return H},geoBaker:function(){return Q},geoBakerRaw:function(){return X},geoBerghaus:function(){return oe},geoBerghausRaw:function(){return ie},geoBertin1953:function(){return Pe},geoBertin1953Raw:function(){return xe},geoBoggs:function(){return ke},geoBoggsRaw:function(){return be},geoBonne:function(){return ge},geoBonneRaw:function(){return je},geoBottomley:function(){return Ee},geoBottomleyRaw:function(){return we},geoBromley:function(){return $e},geoBromleyRaw:function(){return Ve},geoChamberlin:function(){return Ft},geoChamberlinAfrica:function(){return xt},geoChamberlinRaw:function(){return Et},geoCollignon:function(){return Bt},geoCollignonRaw:function(){return Ot},geoCraig:function(){return Vt},geoCraigRaw:function(){return qt},geoCraster:function(){return qe},geoCrasterRaw:function(){return Je},geoCylindricalEqualArea:function(){return ft},geoCylindricalEqualAreaRaw:function(){return nt},geoCylindricalStereographic:function(){return Ne},geoCylindricalStereographicRaw:function(){return Re},geoEckert1:function(){return ut},geoEckert1Raw:function(){return Qe},geoEckert2:function(){return _t},geoEckert2Raw:function(){return dt},geoEckert3:function(){return Lt},geoEckert3Raw:function(){return It},geoEckert4:function(){return Pt},geoEckert4Raw:function(){return yt},geoEckert5:function(){return Rt},geoEckert5Raw:function(){return wt},geoEckert6:function(){return Yt},geoEckert6Raw:function(){return Nt},geoEisenlohr:function(){return Qt},geoEisenlohrRaw:function(){return Xt},geoFahey:function(){return un},geoFaheyRaw:function(){return xn},geoFoucaut:function(){return Yn},geoFoucautRaw:function(){return An},geoFoucautSinusoidal:function(){return sn},geoFoucautSinusoidalRaw:function(){return kn},geoGilbert:function(){return In},geoGingery:function(){return lr},geoGingeryRaw:function(){return jn},geoGinzburg4:function(){return yr},geoGinzburg4Raw:function(){return Sr},geoGinzburg5:function(){return vr},geoGinzburg5Raw:function(){return or},geoGinzburg6:function(){return Kt},geoGinzburg6Raw:function(){return _r},geoGinzburg8:function(){return Rn},geoGinzburg8Raw:function(){return bn},geoGinzburg9:function(){return Un},geoGinzburg9Raw:function(){return Ln},geoGringorten:function(){return tr},geoGringortenQuincuncial:function(){return qc},geoGringortenRaw:function(){return $n},geoGuyou:function(){return jt},geoGuyouRaw:function(){return Pn},geoHammer:function(){return de},geoHammerRaw:function(){return ce},geoHammerRetroazimuthal:function(){return On},geoHammerRetroazimuthalRaw:function(){return hn},geoHealpix:function(){return nr},geoHealpixRaw:function(){return yn},geoHill:function(){return hr},geoHillRaw:function(){return Qn},geoHomolosine:function(){return Lr},geoHomolosineRaw:function(){return Rr},geoHufnagel:function(){return gr},geoHufnagelRaw:function(){return zr},geoHyperelliptical:function(){return ea},geoHyperellipticalRaw:function(){return ji},geoInterrupt:function(){return Xi},geoInterruptedBoggs:function(){return rs},geoInterruptedHomolosine:function(){return Cu},geoInterruptedMollweide:function(){return Mh},geoInterruptedMollweideHemispheres:function(){return is},geoInterruptedQuarticAuthalic:function(){return nu},geoInterruptedSinuMollweide:function(){return Ya},geoInterruptedSinusoidal:function(){return Yo},geoKavrayskiy7:function(){return Al},geoKavrayskiy7Raw:function(){return as},geoLagrange:function(){return Sl},geoLagrangeRaw:function(){return Ui},geoLarrivee:function(){return js},geoLarriveeRaw:function(){return Es},geoLaskowski:function(){return vf},geoLaskowskiRaw:function(){return fc},geoLittrow:function(){return yf},geoLittrowRaw:function(){return tl},geoLoximuthal:function(){return id},geoLoximuthalRaw:function(){return bf},geoMiller:function(){return xf},geoMillerRaw:function(){return Sh},geoModifiedStereographic:function(){return Ql},geoModifiedStereographicAlaska:function(){return Lh},geoModifiedStereographicGs48:function(){return Jl},geoModifiedStereographicGs50:function(){return jc},geoModifiedStereographicLee:function(){return Iu},geoModifiedStereographicMiller:function(){return Cl},geoModifiedStereographicRaw:function(){return Ch},geoMollweide:function(){return Ce},geoMollweideRaw:function(){return Se},geoMtFlatPolarParabolic:function(){return ad},geoMtFlatPolarParabolicRaw:function(){return El},geoMtFlatPolarQuartic:function(){return dc},geoMtFlatPolarQuarticRaw:function(){return Uc},geoMtFlatPolarSinusoidal:function(){return Ru},geoMtFlatPolarSinusoidalRaw:function(){return eu},geoNaturalEarth:function(){return ms.Z},geoNaturalEarth2:function(){return pc},geoNaturalEarth2Raw:function(){return Ih},geoNaturalEarthRaw:function(){return ms.K},geoNellHammer:function(){return mc},geoNellHammerRaw:function(){return Pu},geoNicolosi:function(){return gc},geoNicolosiRaw:function(){return Ou},geoPatterson:function(){return Hc},geoPattersonRaw:function(){return Ll},geoPeirceQuincuncial:function(){return Wc},geoPierceQuincuncial:function(){return Wc},geoPolyconic:function(){return Ph},geoPolyconicRaw:function(){return xc},geoPolyhedral:function(){return Il},geoPolyhedralButterfly:function(){return Gc},geoPolyhedralCollignon:function(){return Dh},geoPolyhedralWaterman:function(){return ou},geoProject:function(){return lu},geoQuantize:function(){return Lo},geoQuincuncial:function(){return $o},geoRectangularPolyconic:function(){return uu},geoRectangularPolyconicRaw:function(){return Dr},geoRobinson:function(){return zu},geoRobinsonRaw:function(){return Yc},geoSatellite:function(){return Bu},geoSatelliteRaw:function(){return Fu},geoSinuMollweide:function(){return br},geoSinuMollweideRaw:function(){return dr},geoSinusoidal:function(){return ze},geoSinusoidalRaw:function(){return Be},geoStitch:function(){return hu},geoTimes:function(){return xs},geoTimesRaw:function(){return yo},geoTwoPointAzimuthal:function(){return _s},geoTwoPointAzimuthalRaw:function(){return Tc},geoTwoPointAzimuthalUsa:function(){return os},geoTwoPointEquidistant:function(){return Wi},geoTwoPointEquidistantRaw:function(){return Gs},geoTwoPointEquidistantUsa:function(){return Bo},geoVanDerGrinten:function(){return Is},geoVanDerGrinten2:function(){return qs},geoVanDerGrinten2Raw:function(){return No},geoVanDerGrinten3:function(){return ul},geoVanDerGrinten3Raw:function(){return Dl},geoVanDerGrinten4:function(){return ws},geoVanDerGrinten4Raw:function(){return bo},geoVanDerGrintenRaw:function(){return no},geoWagner:function(){return ni},geoWagner4:function(){return Zc},geoWagner4Raw:function(){return xo},geoWagner6:function(){return ju},geoWagner6Raw:function(){return Vo},geoWagner7:function(){return Vu},geoWagnerRaw:function(){return Hr},geoWiechel:function(){return Ji},geoWiechelRaw:function(){return hl},geoWinkel3:function(){return Xc},geoWinkel3Raw:function(){return la}});var d=t(15002),g=Math.abs,i=Math.atan,M=Math.atan2,v=Math.cos,f=Math.exp,l=Math.floor,a=Math.log,u=Math.max,o=Math.min,s=Math.pow,h=Math.round,c=Math.sign||function(et){return et>0?1:et<0?-1:0},m=Math.sin,w=Math.tan,y=1e-6,C=1e-12,_=Math.PI,k=_/2,E=_/4,x=Math.SQRT1_2,A=F(2),L=F(_),b=2*_,R=180/_,I=_/180;function O(et){return et>1?k:et<-1?-k:Math.asin(et)}function z(et){return et>1?0:et<-1?_:Math.acos(et)}function F(et){return et>0?Math.sqrt(et):0}function B(et){return(f(et)-f(-et))/2}function N(et){return(f(et)+f(-et))/2}function W(et){var rt=w(et/2),ct=2*a(v(et/2))/(rt*rt);function vt(St,Mt){var Y=v(St),ee=v(Mt),K=m(Mt),le=ee*Y,Te=-((1-le?a((1+le)/2)/(1-le):-.5)+ct/(1+le));return[Te*ee*m(St),Te*K]}return vt.invert=function(St,Mt){var Y,ee=F(St*St+Mt*Mt),K=-et/2,le=50;if(!ee)return[0,0];do{var Te=K/2,De=v(Te),He=m(Te),Ze=He/De,at=-a(g(De));K-=Y=(2/Ze*at-ct*Ze-ee)/(-at/(He*He)+1-ct/(2*De*De))*(De<0?.7:1)}while(g(Y)>y&&--le>0);var Tt=m(K);return[M(St*Tt,ee*v(K)),O(Mt*Tt/ee)]},vt}function j(){var et=k,rt=(0,d.r)(W),ct=rt(et);return ct.radius=function(vt){return arguments.length?rt(et=vt*I):et*R},ct.scale(179.976).clipAngle(147)}function $(et,rt){var ct=v(rt),vt=function(St){return St?St/Math.sin(St):1}(z(ct*v(et/=2)));return[2*ct*m(et)*vt,m(rt)*vt]}function U(){return(0,d.Z)($).scale(152.63)}function G(et){var rt=m(et),ct=v(et),vt=et>=0?1:-1,St=w(vt*et),Mt=(1+rt-ct)/2;function Y(ee,K){var le=v(K),Te=v(ee/=2);return[(1+le)*m(ee),(vt*K>-M(Te,St)-.001?0:10*-vt)+Mt+m(K)*ct-(1+le)*rt*Te]}return Y.invert=function(ee,K){var le=0,Te=0,De=50;do{var He=v(le),Ze=m(le),at=v(Te),Tt=m(Te),At=1+at,se=At*Ze-ee,ve=Mt+Tt*ct-At*rt*He-K,Ie=At*He/2,Fe=-Ze*Tt,Ue=rt*At*Ze/2,We=ct*at+rt*He*Tt,Xe=Fe*Ue-We*Ie,tt=(ve*Fe-se*We)/Xe/2,lt=(se*Ue-ve*Ie)/Xe;g(lt)>2&&(lt/=2),le-=tt,Te-=lt}while((g(tt)>y||g(lt)>y)&&--De>0);return vt*Te>-M(v(le),St)-.001?[2*le,Te]:null},Y}function q(){var et=20*I,rt=et>=0?1:-1,ct=w(rt*et),vt=(0,d.r)(G),St=vt(et),Mt=St.stream;return St.parallel=function(Y){return arguments.length?(ct=w((rt=(et=Y*I)>=0?1:-1)*et),vt(et)):et*R},St.stream=function(Y){var ee=St.rotate(),K=Mt(Y),le=(St.rotate([0,0]),Mt(Y)),Te=St.precision();return St.rotate(ee),K.sphere=function(){le.polygonStart(),le.lineStart();for(var De=-180*rt;rt*De<180;De+=90*rt)le.point(De,90*rt);if(et)for(;rt*(De-=3*rt*Te)>=-180;)le.point(De,rt*-M(v(De*I/2),ct)*R);le.lineEnd(),le.polygonEnd()},K},St.scale(218.695).center([0,28.0974])}function H(et,rt){var ct=w(rt/2),vt=F(1-ct*ct),St=1+vt*v(et/=2),Mt=m(et)*vt/St,Y=ct/St,ee=Mt*Mt,K=Y*Y;return[1.3333333333333333*Mt*(3+ee-3*K),1.3333333333333333*Y*(3+3*ee-K)]}function ne(){return(0,d.Z)(H).scale(66.1603)}$.invert=function(et,rt){if(!(et*et+4*rt*rt>_*_+y)){var ct=et,vt=rt,St=25;do{var Mt,Y=m(ct),ee=m(ct/2),K=v(ct/2),le=m(vt),Te=v(vt),De=m(2*vt),He=le*le,Ze=Te*Te,at=ee*ee,Tt=1-Ze*K*K,At=Tt?z(Te*K)*F(Mt=1/Tt):Mt=0,se=2*At*Te*ee-et,ve=At*le-rt,Ie=Mt*(Ze*at+At*Te*K*He),Fe=Mt*(.5*Y*De-2*At*le*ee),Ue=.25*Mt*(De*ee-At*le*Ze*Y),We=Mt*(He*K+At*at*Te),Xe=Fe*Ue-We*Ie;if(!Xe)break;var tt=(ve*Fe-se*We)/Xe,lt=(se*Ue-ve*Ie)/Xe;ct-=tt,vt-=lt}while((g(tt)>y||g(lt)>y)&&--St>0);return[ct,vt]}},H.invert=function(et,rt){if(rt*=.375,!(et*=.375)&&g(rt)>1)return null;var ct=1+et*et+rt*rt,vt=F((ct-F(ct*ct-4*rt*rt))/2),St=O(vt)/3,Mt=vt?function(le){return a(le+F(le*le-1))}(g(rt/vt))/3:function(le){return a(le+F(le*le+1))}(g(et))/3,Y=v(St),ee=N(Mt),K=ee*ee-Y*Y;return[2*c(et)*M(B(Mt)*Y,.25-K),2*c(rt)*M(ee*m(St),.25+K)]};var te=F(8),Z=a(1+A);function X(et,rt){var ct=g(rt);return ctC&&--Mt>0);return[et/(v(St)*(te-1/m(St))),c(rt)*St]};var re=t(17889);function ie(et){var rt=2*_/et;function ct(vt,St){var Mt=(0,re.N)(vt,St);if(g(vt)>k){var Y=M(Mt[1],Mt[0]),ee=F(Mt[0]*Mt[0]+Mt[1]*Mt[1]),K=rt*h((Y-k)/rt)+k,le=M(m(Y-=K),2-v(Y));Y=K+O(_/ee*m(le))-le,Mt[0]=ee*v(Y),Mt[1]=ee*m(Y)}return Mt}return ct.invert=function(vt,St){var Mt=F(vt*vt+St*St);if(Mt>k){var Y=M(St,vt),ee=rt*h((Y-k)/rt)+k,K=Y>ee?-1:1,le=Mt*v(ee-Y),Te=1/w(K*z((le-_)/F(_*(_-2*le)+Mt*Mt)));Y=ee+2*i((Te+K*F(Te*Te-3))/3),vt=Mt*v(Y),St=Mt*m(Y)}return re.N.invert(vt,St)},ct}function oe(){var et=5,rt=(0,d.r)(ie),ct=rt(et),vt=ct.stream,St=.01,Mt=-v(St*I),Y=m(St*I);return ct.lobes=function(ee){return arguments.length?rt(et=+ee):et},ct.stream=function(ee){var K=ct.rotate(),le=vt(ee),Te=(ct.rotate([0,0]),vt(ee));return ct.rotate(K),le.sphere=function(){Te.polygonStart(),Te.lineStart();for(var De=0,He=360/et,Ze=2*_/et,at=90-180/et,Tt=k;De0&&g(vt)>y);return Y<0?NaN:ct}function pe(et,rt,ct){return rt===void 0&&(rt=40),ct===void 0&&(ct=C),function(vt,St,Mt,Y){var ee,K,le;Mt=Mt===void 0?0:+Mt,Y=Y===void 0?0:+Y;for(var Te=0;Teee)Mt-=K/=2,Y-=le/=2;else{ee=at;var Tt=(Mt>0?-1:1)*ct,At=(Y>0?-1:1)*ct,se=et(Mt+Tt,Y),ve=et(Mt,Y+At),Ie=(se[0]-De[0])/Tt,Fe=(se[1]-De[1])/Tt,Ue=(ve[0]-De[0])/At,We=(ve[1]-De[1])/At,Xe=We*Ie-Fe*Ue,tt=(g(Xe)<.5?.5:1)/Xe;if(Mt+=K=(Ze*Ue-He*We)*tt,Y+=le=(He*Fe-Ze*Ie)*tt,g(K)0&&(Mt[1]*=1+Y/1.5*Mt[0]*Mt[0]),Mt}return rt.invert=pe(rt),rt}function Pe(){return(0,d.Z)(xe()).rotate([-16.5,-42]).scale(176.57).center([7.93,.09])}function _e(et,rt){var ct,vt=et*m(rt),St=30;do rt-=ct=(rt+m(rt)-vt)/(1+v(rt));while(g(ct)>y&&--St>0);return rt/2}function Me(et,rt,ct){function vt(St,Mt){return[et*St*v(Mt=_e(ct,Mt)),rt*m(Mt)]}return vt.invert=function(St,Mt){return Mt=O(Mt/rt),[St/(et*v(Mt)),O((2*Mt+m(2*Mt))/ct)]},vt}ye.invert=function(et,rt){var ct=2*O(rt/2);return[et*v(ct/2)/v(ct),ct]};var Se=Me(A/k,A,_);function Ce(){return(0,d.Z)(Se).scale(169.529)}var ae=2.00276,fe=1.11072;function be(et,rt){var ct=_e(_,rt);return[ae*et/(1/v(rt)+fe/v(ct)),(rt+A*m(ct))/ae]}function ke(){return(0,d.Z)(be).scale(160.857)}function Le(et){var rt=0,ct=(0,d.r)(et),vt=ct(rt);return vt.parallel=function(St){return arguments.length?ct(rt=St*I):rt*R},vt}function Be(et,rt){return[et*v(rt),rt]}function ze(){return(0,d.Z)(Be).scale(152.63)}function je(et){if(!et)return Be;var rt=1/w(et);function ct(vt,St){var Mt=rt+et-St,Y=Mt&&vt*v(St)/Mt;return[Mt*m(Y),rt-Mt*v(Y)]}return ct.invert=function(vt,St){var Mt=F(vt*vt+(St=rt-St)*St),Y=rt+et-Mt;return[Mt/v(Y)*M(vt,St),Y]},ct}function ge(){return Le(je).scale(123.082).center([0,26.1441]).parallel(45)}function we(et){function rt(ct,vt){var St=k-vt,Mt=St&&ct*et*m(St)/St;return[St*m(Mt)/et,k-St*v(Mt)]}return rt.invert=function(ct,vt){var St=ct*et,Mt=k-vt,Y=F(St*St+Mt*Mt),ee=M(St,Mt);return[(Y?Y/m(Y):1)*ee/et,k-Y]},rt}function Ee(){var et=.5,rt=(0,d.r)(we),ct=rt(et);return ct.fraction=function(vt){return arguments.length?rt(et=+vt):et},ct.scale(158.837)}be.invert=function(et,rt){var ct,vt,St=ae*rt,Mt=rt<0?-E:E,Y=25;do vt=St-A*m(Mt),Mt-=ct=(m(2*Mt)+2*Mt-_*m(vt))/(2*v(2*Mt)+2+_*v(vt)*A*v(Mt));while(g(ct)>y&&--Y>0);return vt=St-A*m(Mt),[et*(1/v(vt)+fe/v(Mt))/ae,vt]},Be.invert=function(et,rt){return[et/v(rt),rt]};var Ve=Me(1,4/_,_);function $e(){return(0,d.Z)(Ve).scale(152.63)}var Ye=t(66624),st=t(49386);function ot(et,rt,ct,vt,St,Mt){var Y,ee=v(Mt);if(g(et)>1||g(Mt)>1)Y=z(ct*St+rt*vt*ee);else{var K=m(et/2),le=m(Mt/2);Y=2*O(F(K*K+rt*vt*le*le))}return g(Y)>y?[Y,M(vt*m(Mt),rt*St-ct*vt*ee)]:[0,0]}function ht(et,rt,ct){return z((et*et+rt*rt-ct*ct)/(2*et*rt))}function bt(et){return et-2*_*l((et+_)/(2*_))}function Et(et,rt,ct){for(var vt,St=[[et[0],et[1],m(et[1]),v(et[1])],[rt[0],rt[1],m(rt[1]),v(rt[1])],[ct[0],ct[1],m(ct[1]),v(ct[1])]],Mt=St[2],Y=0;Y<3;++Y,Mt=vt)vt=St[Y],Mt.v=ot(vt[1]-Mt[1],Mt[3],Mt[2],vt[3],vt[2],vt[0]-Mt[0]),Mt.point=[0,0];var ee=ht(St[0].v[0],St[2].v[0],St[1].v[0]),K=ht(St[0].v[0],St[1].v[0],St[2].v[0]),le=_-ee;St[2].point[1]=0,St[0].point[0]=-(St[1].point[0]=St[0].v[0]/2);var Te=[St[2].point[0]=St[0].point[0]+St[2].v[0]*v(ee),2*(St[0].point[1]=St[1].point[1]=St[2].v[0]*m(ee))];return function(De,He){var Ze,at=m(He),Tt=v(He),At=new Array(3);for(Ze=0;Ze<3;++Ze){var se=St[Ze];if(At[Ze]=ot(He-se[1],se[3],se[2],Tt,at,De-se[0]),!At[Ze][0])return se.point;At[Ze][1]=bt(At[Ze][1]-se.v[1])}var ve=Te.slice();for(Ze=0;Ze<3;++Ze){var Ie=Ze==2?0:Ze+1,Fe=ht(St[Ze].v[0],At[Ze][0],At[Ie][0]);At[Ze][1]<0&&(Fe=-Fe),Ze?Ze==1?(Fe=K-Fe,ve[0]-=At[Ze][0]*v(Fe),ve[1]-=At[Ze][0]*m(Fe)):(Fe=le-Fe,ve[0]+=At[Ze][0]*v(Fe),ve[1]+=At[Ze][0]*m(Fe)):(ve[0]+=At[Ze][0]*v(Fe),ve[1]-=At[Ze][0]*m(Fe))}return ve[0]/=3,ve[1]/=3,ve}}function kt(et){return et[0]*=I,et[1]*=I,et}function xt(){return Ft([0,22],[45,22],[22.5,-22]).scale(380).center([22.5,2])}function Ft(et,rt,ct){var vt=(0,Ye.Z)({type:"MultiPoint",coordinates:[et,rt,ct]}),St=[-vt[0],-vt[1]],Mt=(0,st.Z)(St),Y=Et(kt(Mt(et)),kt(Mt(rt)),kt(Mt(ct)));Y.invert=pe(Y);var ee=(0,d.Z)(Y).rotate(St),K=ee.center;return delete ee.rotate,ee.center=function(le){return arguments.length?K(Mt(le)):Mt.invert(K())},ee.clipAngle(90)}function Ot(et,rt){var ct=F(1-m(rt));return[2/L*et*ct,L*(1-ct)]}function Bt(){return(0,d.Z)(Ot).scale(95.6464).center([0,30])}function qt(et){var rt=w(et);function ct(vt,St){return[vt,(vt?vt/m(vt):1)*(m(St)*v(vt)-rt*v(St))]}return ct.invert=rt?function(vt,St){vt&&(St*=m(vt)/vt);var Mt=v(vt);return[vt,2*M(F(Mt*Mt+rt*rt-St*St)-Mt,rt-St)]}:function(vt,St){return[vt,O(vt?St*w(vt)/vt:St)]},ct}function Vt(){return Le(qt).scale(249.828).clipAngle(90)}Ot.invert=function(et,rt){var ct=(ct=rt/L-1)*ct;return[ct>0?et*F(_/ct)/2:0,O(1-ct)]};var Ke=F(3);function Je(et,rt){return[Ke*et*(2*v(2*rt/3)-1)/L,Ke*L*m(rt/3)]}function qe(){return(0,d.Z)(Je).scale(156.19)}function nt(et){var rt=v(et);function ct(vt,St){return[vt*rt,m(St)/rt]}return ct.invert=function(vt,St){return[vt/rt,O(St*rt)]},ct}function ft(){return Le(nt).parallel(38.58).scale(195.044)}function Re(et){var rt=v(et);function ct(vt,St){return[vt*rt,(1+rt)*w(St/2)]}return ct.invert=function(vt,St){return[vt/rt,2*i(St/(1+rt))]},ct}function Ne(){return Le(Re).scale(124.75)}function Qe(et,rt){var ct=F(8/(3*_));return[ct*et*(1-g(rt)/_),ct*rt]}function ut(){return(0,d.Z)(Qe).scale(165.664)}function dt(et,rt){var ct=F(4-3*m(g(rt)));return[2/F(6*_)*et*ct,c(rt)*F(2*_/3)*(2-ct)]}function _t(){return(0,d.Z)(dt).scale(165.664)}function It(et,rt){var ct=F(_*(4+_));return[2/ct*et*(1+F(1-4*rt*rt/(_*_))),4/ct*rt]}function Lt(){return(0,d.Z)(It).scale(180.739)}function yt(et,rt){var ct=(2+k)*m(rt);rt/=2;for(var vt=0,St=1/0;vt<10&&g(St)>y;vt++){var Mt=v(rt);rt-=St=(rt+m(rt)*(Mt+2)-ct)/(2*Mt*(1+Mt))}return[2/F(_*(4+_))*et*(1+v(rt)),2*F(_/(4+_))*m(rt)]}function Pt(){return(0,d.Z)(yt).scale(180.739)}function wt(et,rt){return[et*(1+v(rt))/F(2+_),2*rt/F(2+_)]}function Rt(){return(0,d.Z)(wt).scale(173.044)}function Nt(et,rt){for(var ct=(1+k)*m(rt),vt=0,St=1/0;vt<10&&g(St)>y;vt++)rt-=St=(rt+m(rt)-ct)/(1+v(rt));return ct=F(2+_),[et*(1+v(rt))/ct,2*rt/ct]}function Yt(){return(0,d.Z)(Nt).scale(173.044)}Je.invert=function(et,rt){var ct=3*O(rt/(Ke*L));return[L*et/(Ke*(2*v(2*ct/3)-1)),ct]},Qe.invert=function(et,rt){var ct=F(8/(3*_)),vt=rt/ct;return[et/(ct*(1-g(vt)/_)),vt]},dt.invert=function(et,rt){var ct=2-g(rt)/F(2*_/3);return[et*F(6*_)/(2*ct),c(rt)*O((4-ct*ct)/3)]},It.invert=function(et,rt){var ct=F(_*(4+_))/2;return[et*ct/(1+F(1-rt*rt*(4+_)/(4*_))),rt*ct/2]},yt.invert=function(et,rt){var ct=rt*F((4+_)/_)/2,vt=O(ct),St=v(vt);return[et/(2/F(_*(4+_))*(1+St)),O((vt+ct*(St+2))/(2+k))]},wt.invert=function(et,rt){var ct=F(2+_),vt=rt*ct/2;return[ct*et/(1+v(vt)),vt]},Nt.invert=function(et,rt){var ct=1+k,vt=F(ct/2);return[2*et*vt/(1+v(rt*=vt)),O((rt+m(rt))/ct)]};var Wt=3+2*A;function Xt(et,rt){var ct=m(et/=2),vt=v(et),St=F(v(rt)),Mt=v(rt/=2),Y=m(rt)/(Mt+A*vt*St),ee=F(2/(1+Y*Y)),K=F((A*Mt+(vt+ct)*St)/(A*Mt+(vt-ct)*St));return[Wt*(ee*(K-1/K)-2*a(K)),Wt*(ee*Y*(K+1/K)-2*i(Y))]}function Qt(){return(0,d.Z)(Xt).scale(62.5271)}Xt.invert=function(et,rt){if(!(ct=H.invert(et/1.2,1.065*rt)))return null;var ct,vt=ct[0],St=ct[1],Mt=20;et/=Wt,rt/=Wt;do{var Y=vt/2,ee=St/2,K=m(Y),le=v(Y),Te=m(ee),De=v(ee),He=v(St),Ze=F(He),at=Te/(De+A*le*Ze),Tt=at*at,At=F(2/(1+Tt)),se=(A*De+(le+K)*Ze)/(A*De+(le-K)*Ze),ve=F(se),Ie=ve-1/ve,Fe=ve+1/ve,Ue=At*Ie-2*a(ve)-et,We=At*at*Fe-2*i(at)-rt,Xe=Te&&x*Ze*K*Tt/Te,tt=(A*le*De+Ze)/(2*(De+A*le*Ze)*(De+A*le*Ze)*Ze),lt=-.5*at*At*At*At,mt=lt*Xe,zt=lt*tt,Ut=(Ut=2*De+A*Ze*(le-K))*Ut*ve,Ht=(A*le*De*Ze+He)/Ut,en=-A*K*Te/(Ze*Ut),vn=Ie*mt-2*Ht/ve+At*(Ht+Ht/se),tn=Ie*zt-2*en/ve+At*(en+en/se),ln=at*Fe*mt-2*Xe/(1+Tt)+At*Fe*Xe+At*at*(Ht-Ht/se),an=at*Fe*zt-2*tt/(1+Tt)+At*Fe*tt+At*at*(en-en/se),Cn=tn*ln-an*vn;if(!Cn)break;var _n=(We*tn-Ue*an)/Cn,on=(Ue*ln-We*vn)/Cn;vt-=_n,St=u(-k,o(k,St-on))}while((g(_n)>y||g(on)>y)&&--Mt>0);return g(g(St)-k)vt){var De=F(Te),He=M(le,K),Ze=ct*h(He/ct),at=He-Ze,Tt=et*v(at),At=(et*m(at)-at*m(Tt))/(k-Tt),se=Gn(at,At),ve=(_-et)/qn(se,Tt,_);K=De;var Ie,Fe=50;do K-=Ie=(et+qn(se,Tt,K)*ve-De)/(se(K)*ve);while(g(Ie)>y&&--Fe>0);le=at*m(K),Kvt){var K=F(ee),le=M(Y,Mt),Te=ct*h(le/ct),De=le-Te;Mt=K*v(De),Y=K*m(De);for(var He=Mt-k,Ze=m(Mt),at=Y/Ze,Tt=Mty||g(He)>y)&&--Tt>0);return[Ze,at]},K}var Sr=rr(2.8284,-1.6988,.75432,-.18071,1.76003,-.38914,.042555);function yr(){return(0,d.Z)(Sr).scale(149.995)}var or=rr(2.583819,-.835827,.170354,-.038094,1.543313,-.411435,.082742);function vr(){return(0,d.Z)(or).scale(153.93)}var _r=rr(5/6*_,-.62636,-.0344,0,1.3493,-.05524,0,.045);function Kt(){return(0,d.Z)(_r).scale(130.945)}function bn(et,rt){var ct=et*et,vt=rt*rt;return[et*(1-.162388*vt)*(.87-952426e-9*ct*ct),rt*(1+vt/12)]}function Rn(){return(0,d.Z)(bn).scale(131.747)}bn.invert=function(et,rt){var ct,vt=et,St=rt,Mt=50;do{var Y=St*St;St-=ct=(St*(1+Y/12)-rt)/(1+Y/4)}while(g(ct)>y&&--Mt>0);Mt=50,et/=1-.162388*Y;do{var ee=(ee=vt*vt)*ee;vt-=ct=(vt*(.87-952426e-9*ee)-et)/(.87-.00476213*ee)}while(g(ct)>y&&--Mt>0);return[vt,St]};var Ln=rr(2.6516,-.76534,.19123,-.047094,1.36289,-.13965,.031762);function Un(){return(0,d.Z)(Ln).scale(131.087)}function Kn(et){var rt=et(k,0)[0]-et(-k,0)[0];function ct(vt,St){var Mt=vt>0?-.5:.5,Y=et(vt+Mt*_,St);return Y[0]-=Mt*rt,Y}return et.invert&&(ct.invert=function(vt,St){var Mt=vt>0?-.5:.5,Y=et.invert(vt+Mt*rt,St),ee=Y[0]-Mt*_;return ee<-_?ee+=2*_:ee>_&&(ee-=2*_),Y[0]=ee,Y}),ct}function $n(et,rt){var ct=c(et),vt=c(rt),St=v(rt),Mt=v(et)*St,Y=m(et)*St,ee=m(vt*rt);et=g(M(Y,ee)),rt=O(Mt),g(et-k)>y&&(et%=k);var K=function(le,Te){if(Te===k)return[0,0];var De,He,Ze=m(Te),at=Ze*Ze,Tt=at*at,At=1+Tt,se=1+3*Tt,ve=1-Tt,Ie=O(1/F(At)),Fe=ve+at*At*Ie,Ue=(1-Ze)/Fe,We=F(Ue),Xe=Ue*At,tt=F(Xe),lt=We*ve;if(le===0)return[0,-(lt+at*tt)];var mt,zt=v(Te),Ut=1/zt,Ht=2*Ze*zt,en=(-Fe*zt-(-3*at+Ie*se)*Ht*(1-Ze))/(Fe*Fe),vn=-Ut*Ht,tn=-Ut*(at*At*en+Ue*se*Ht),ln=-2*Ut*(ve*(.5*en/We)-2*at*We*Ht),an=4*le/_;if(le>.222*_||Te<_/4&&le>.175*_){if(De=(lt+at*F(Xe*(1+Tt)-lt*lt))/(1+Tt),le>_/4)return[De,De];var Cn=De,_n=.5*De;De=.5*(_n+Cn),He=50;do{var on=De*(ln+vn*F(Xe-De*De))+tn*O(De/tt)-an;if(!on)break;on<0?_n=De:Cn=De,De=.5*(_n+Cn)}while(g(Cn-_n)>y&&--He>0)}else{De=y,He=25;do{var Fn=De*De,Hn=F(Xe-Fn),ir=ln+vn*Hn,ar=De*ir+tn*O(De/tt)-an;De-=mt=Hn?ar/(ir+(tn-vn*Fn)/Hn):0}while(g(mt)>y&&--He>0)}return[De,-lt-at*F(Xe-De*De)]}(et>_/4?k-et:et,rt);return et>_/4&&(ee=K[0],K[0]=-K[1],K[1]=-ee),K[0]*=ct,K[1]*=-vt,K}function tr(){return(0,d.Z)(Kn($n)).scale(239.75)}function mr(et,rt){var ct,vt,St,Mt,Y,ee;if(rt=.999999)return ct=(1-rt)/4,St=1/(vt=N(et)),[(Mt=((ee=f(2*(ee=et)))-1)/(ee+1))+ct*((Y=vt*B(et))-et)/(vt*vt),St-ct*Mt*St*(Y-et),St+ct*Mt*St*(Y+et),2*i(f(et))-k+ct*(Y-et)/vt];var K=[1,0,0,0,0,0,0,0,0],le=[F(rt),0,0,0,0,0,0,0,0],Te=0;for(vt=F(1-rt),Y=1;g(le[Te]/K[Te])>y&&Te<8;)ct=K[Te++],le[Te]=(ct-vt)/2,K[Te]=(ct+vt)/2,vt=F(ct*vt),Y*=2;St=Y*K[Te]*et;do St=(O(Mt=le[Te]*m(vt=St)/K[Te])+St)/2;while(--Te);return[m(St),Mt=v(St),Mt/v(St-vt),St]}function nn(et,rt){if(!rt)return et;if(rt===1)return a(w(et/2+E));for(var ct=1,vt=F(1-rt),St=F(rt),Mt=0;g(St)>y;Mt++){if(et%_){var Y=i(vt*w(et)/ct);Y<0&&(Y+=_),et+=Y+~~(et/_)*_}else et+=et;St=(ct+vt)/2,vt=F(ct*vt),St=((ct=St)-vt)/2}return et/(s(2,Mt)*ct)}function Pn(et,rt){var ct=(A-1)/(A+1),vt=F(1-ct*ct),St=nn(k,vt*vt),Mt=a(w(_/4+g(rt)/2)),Y=f(-1*Mt)/F(ct),ee=function(le,Te){var De=le*le,He=Te+1,Ze=1-De-Te*Te;return[.5*((le>=0?k:-k)-M(Ze,2*le)),-.25*a(Ze*Ze+4*De)+.5*a(He*He+De)]}(Y*v(-1*et),Y*m(-1*et)),K=function(le,Te,De){var He=g(le),Ze=B(g(Te));if(He){var at=1/m(He),Tt=1/(w(He)*w(He)),At=-(Tt+De*(Ze*Ze*at*at)-1+De),se=(-At+F(At*At-(De-1)*Tt*4))/2;return[nn(i(1/F(se)),De)*c(le),nn(i(F((se/Tt-1)/De)),1-De)*c(Te)]}return[0,nn(i(Ze),1-De)*c(Te)]}(ee[0],ee[1],vt*vt);return[-K[1],(rt>=0?1:-1)*(.5*St-K[0])]}function jt(){return(0,d.Z)(Kn(Pn)).scale(151.496)}$n.invert=function(et,rt){g(et)>1&&(et=2*c(et)-et),g(rt)>1&&(rt=2*c(rt)-rt);var ct=c(et),vt=c(rt),St=-ct*et,Mt=-vt*rt,Y=Mt/St<1,ee=function(De,He){for(var Ze=0,at=1,Tt=.5,At=50;;){var se=Tt*Tt,ve=F(Tt),Ie=O(1/F(1+se)),Fe=1-se+Tt*(1+se)*Ie,Ue=(1-ve)/Fe,We=F(Ue),Xe=Ue*(1+se),tt=We*(1-se),lt=F(Xe-De*De),mt=He+tt+Tt*lt;if(g(at-Ze)0?Ze=Tt:at=Tt,Tt=.5*(Ze+at)}if(!At)return null;var zt=O(ve),Ut=v(zt),Ht=1/Ut,en=2*ve*Ut,vn=(-Fe*Ut-(-3*Tt+Ie*(1+3*se))*en*(1-ve))/(Fe*Fe);return[_/4*(De*(-2*Ht*(.5*vn/We*(1-se)-2*Tt*We*en)+-Ht*en*lt)+-Ht*(Tt*(1+se)*vn+Ue*(1+3*se)*en)*O(De/F(Xe))),zt]}(Y?Mt:St,Y?St:Mt),K=ee[0],le=ee[1],Te=v(le);return Y&&(K=-k-K),[ct*(M(m(K)*Te,-m(le))+_),vt*O(v(K)*Te)]},Pn.invert=function(et,rt){var ct,vt,St,Mt,Y,ee,K=(A-1)/(A+1),le=F(1-K*K),Te=(vt=-et,St=le*le,(ct=.5*nn(k,le*le)-rt)?(Mt=mr(ct,St),vt?(ee=(Y=mr(vt,1-St))[1]*Y[1]+St*Mt[0]*Mt[0]*Y[0]*Y[0],[[Mt[0]*Y[2]/ee,Mt[1]*Mt[2]*Y[0]*Y[1]/ee],[Mt[1]*Y[1]/ee,-Mt[0]*Mt[2]*Y[0]*Y[2]/ee],[Mt[2]*Y[1]*Y[2]/ee,-St*Mt[0]*Mt[1]*Y[0]/ee]]):[[Mt[0],0],[Mt[1],0],[Mt[2],0]]):[[0,(Y=mr(vt,1-St))[0]/Y[1]],[1/Y[1],0],[Y[2]/Y[1],0]]),De=function(He,Ze){var at=Ze[0]*Ze[0]+Ze[1]*Ze[1];return[(He[0]*Ze[0]+He[1]*Ze[1])/at,(He[1]*Ze[0]-He[0]*Ze[1])/at]}(Te[0],Te[1]);return[M(De[1],De[0])/-1,2*i(f(-.5*a(K*De[0]*De[0]+K*De[1]*De[1])))-k]};var Jt=t(7613);function hn(et){var rt=m(et),ct=v(et),vt=zn(et);function St(Mt,Y){var ee=vt(Mt,Y);Mt=ee[0],Y=ee[1];var K=m(Y),le=v(Y),Te=v(Mt),De=z(rt*K+ct*le*Te),He=m(De),Ze=g(He)>y?De/He:1;return[Ze*ct*m(Mt),(g(Mt)>k?Ze:-Ze)*(rt*le-ct*K*Te)]}return vt.invert=zn(-et),St.invert=function(Mt,Y){var ee=F(Mt*Mt+Y*Y),K=-m(ee),le=v(ee),Te=ee*le,De=-Y*K,He=ee*rt,Ze=F(Te*Te+De*De-He*He),at=M(Te*He+De*Ze,De*He-Te*Ze),Tt=(ee>k?-1:1)*M(Mt*K,ee*v(at)*le+Y*m(at)*K);return vt.invert(Tt,at)},St}function zn(et){var rt=m(et),ct=v(et);return function(vt,St){var Mt=v(St),Y=v(vt)*Mt,ee=m(vt)*Mt,K=m(St);return[M(ee,Y*ct-K*rt),O(K*ct+Y*rt)]}}function On(){var et=0,rt=(0,d.r)(hn),ct=rt(et),vt=ct.rotate,St=ct.stream,Mt=(0,Jt.Z)();return ct.parallel=function(Y){if(!arguments.length)return et*R;var ee=ct.rotate();return rt(et=Y*I).rotate(ee)},ct.rotate=function(Y){return arguments.length?(vt.call(ct,[Y[0],Y[1]-et*R]),Mt.center([-Y[0],-Y[1]]),ct):((Y=vt.call(ct))[1]+=et*R,Y)},ct.stream=function(Y){return(Y=St(Y)).sphere=function(){Y.polygonStart();var ee,K=Mt.radius(89.99)().coordinates[0],le=K.length-1,Te=-1;for(Y.lineStart();++Te=0;)Y.point((ee=K[Te])[0],ee[1]);Y.lineEnd(),Y.polygonEnd()},Y},ct.scale(79.4187).parallel(45).clipAngle(179.999)}var En=t(33064),mn=t(72736),wn=O(1-1/3)*R,gn=nt(0);function yn(et){var rt=wn*I,ct=Ot(_,rt)[0]-Ot(-_,rt)[0],vt=gn(0,rt)[1],St=Ot(0,rt)[1],Mt=L-St,Y=b/et,ee=4/b,K=vt+Mt*Mt*4/b;function le(Te,De){var He,Ze=g(De);if(Ze>rt){var at=o(et-1,u(0,l((Te+_)/Y)));(He=Ot(Te+=_*(et-1)/et-at*Y,Ze))[0]=He[0]*b/ct-b*(et-1)/(2*et)+at*b/et,He[1]=vt+4*(He[1]-St)*Mt/b,De<0&&(He[1]=-He[1])}else He=gn(Te,De);return He[0]*=ee,He[1]/=K,He}return le.invert=function(Te,De){Te/=ee;var He=g(De*=K);if(He>vt){var Ze=o(et-1,u(0,l((Te+_)/Y)));Te=(Te+_*(et-1)/et-Ze*Y)*ct/b;var at=Ot.invert(Te,.25*(He-vt)*b/Mt+St);return at[0]-=_*(et-1)/et-Ze*Y,De<0&&(at[1]=-at[1]),at}return gn.invert(Te,De)},le}function Sn(et,rt){return[et,1&rt?89.999999:wn]}function Vn(et,rt){return[et,1&rt?-89.999999:-wn]}function Xn(et){return[.999999*et[0],et[1]]}function nr(){var et=4,rt=(0,d.r)(yn),ct=rt(et),vt=ct.stream;return ct.lobes=function(St){return arguments.length?rt(et=+St):et},ct.stream=function(St){var Mt=ct.rotate(),Y=vt(St),ee=(ct.rotate([0,0]),vt(St));return ct.rotate(Mt),Y.sphere=function(){var K,le;(0,mn.Z)((K=180/et,le=[].concat((0,En.w6)(-180,180+K/2,K).map(Sn),(0,En.w6)(180,-180-K/2,-K).map(Vn)),{type:"Polygon",coordinates:[K===180?le.map(Xn):le]}),ee)},Y},ct.scale(239.75)}function Qn(et){var rt,ct=1+et,vt=O(m(1/ct)),St=2*F(_/(rt=_+4*vt*ct)),Mt=.5*St*(ct+F(et*(2+et))),Y=et*et,ee=ct*ct;function K(le,Te){var De,He,Ze=1-m(Te);if(Ze&&Ze<2){var at,Tt=k-Te,At=25;do{var se=m(Tt),ve=v(Tt),Ie=vt+M(se,ct-ve),Fe=1+ee-2*ct*ve;Tt-=at=(Tt-Y*vt-ct*se+Fe*Ie-.5*Ze*rt)/(2*ct*se*Ie)}while(g(at)>C&&--At>0);De=St*F(Fe),He=le*Ie/_}else De=St*(et+Ze),He=le*vt/_;return[De*m(He),Mt-De*v(He)]}return K.invert=function(le,Te){var De=le*le+(Te-=Mt)*Te,He=(1+ee-De/(St*St))/(2*ct),Ze=z(He),at=m(Ze),Tt=vt+M(at,ct-He);return[O(le/F(De))*_/Tt,O(1-2*(Ze-Y*vt-ct*at+(1+ee-2*ct*He)*Tt)/rt)]},K}function hr(){var et=1,rt=(0,d.r)(Qn),ct=rt(et);return ct.ratio=function(vt){return arguments.length?rt(et=+vt):et},ct.scale(167.774).center([0,18.67])}var cr=.7109889596207567,pr=.0528035274542;function dr(et,rt){return rt>-cr?((et=Se(et,rt))[1]+=pr,et):Be(et,rt)}function br(){return(0,d.Z)(dr).rotate([-20,-55]).scale(164.263).center([0,-5.4036])}function Rr(et,rt){return g(rt)>cr?((et=Se(et,rt))[1]-=rt>0?pr:-pr,et):Be(et,rt)}function Lr(){return(0,d.Z)(Rr).scale(152.63)}function zr(et,rt,ct,vt){var St=F(4*_/(2*ct+(1+et-rt/2)*m(2*ct)+(et+rt)/2*m(4*ct)+rt/2*m(6*ct))),Mt=F(vt*m(ct)*F((1+et*v(2*ct)+rt*v(4*ct))/(1+et+rt))),Y=ct*K(1);function ee(De){return F(1+et*v(2*De)+rt*v(4*De))}function K(De){var He=De*ct;return(2*He+(1+et-rt/2)*m(2*He)+(et+rt)/2*m(4*He)+rt/2*m(6*He))/ct}function le(De){return ee(De)*m(De)}var Te=function(De,He){var Ze=ct*me(K,Y*m(He)/ct,He/_);isNaN(Ze)&&(Ze=ct*c(He));var at=St*ee(Ze);return[at*Mt*De/_*v(Ze),at/Mt*m(Ze)]};return Te.invert=function(De,He){var Ze=me(le,He*Mt/St);return[De*_/(v(Ze)*St*Mt*ee(Ze)),O(ct*K(Ze/ct)/Y)]},ct===0&&(St=F(vt/_),(Te=function(De,He){return[De*St,m(He)/St]}).invert=function(De,He){return[De/St,O(He*St)]}),Te}function gr(){var et=1,rt=0,ct=45*I,vt=2,St=(0,d.r)(zr),Mt=St(et,rt,ct,vt);return Mt.a=function(Y){return arguments.length?St(et=+Y,rt,ct,vt):et},Mt.b=function(Y){return arguments.length?St(et,rt=+Y,ct,vt):rt},Mt.psiMax=function(Y){return arguments.length?St(et,rt,ct=+Y*I,vt):ct*R},Mt.ratio=function(Y){return arguments.length?St(et,rt,ct,vt=+Y):vt},Mt.scale(180.739)}function Fr(et,rt,ct,vt,St,Mt,Y,ee,K,le,Te){if(Te.nanEncountered)return NaN;var De,He,Ze,at,Tt,At,se,ve,Ie,Fe;if(He=et(rt+.25*(De=ct-rt)),Ze=et(ct-.25*De),isNaN(He))Te.nanEncountered=!0;else{if(!isNaN(Ze))return Fe=((At=(at=De*(vt+4*He+St)/12)+(Tt=De*(St+4*Ze+Mt)/12))-Y)/15,le>K?(Te.maxDepthCount++,At+Fe):Math.abs(Fe)Ze?Tt=At:at=At,At=at+Tt>>1;while(At>at);var se=K[At+1]-K[At];return se&&(se=(Ze-K[At+1])/se),(At+1+se)/Y}var De=2*Te(1)/_*Mt/ct,He=function(Ze,at){var Tt=Te(g(m(at))),At=vt(Tt)*Ze;return Tt/=De,[At,at>=0?Tt:-Tt]};return He.invert=function(Ze,at){var Tt;return g(at*=De)<1&&(Tt=c(at)*O(St(g(at))*Mt)),[Ze/vt(g(at)),Tt]},He}function ea(){var et=0,rt=2.5,ct=1.183136,vt=(0,d.r)(ji),St=vt(et,rt,ct);return St.alpha=function(Mt){return arguments.length?vt(et=+Mt,rt,ct):et},St.k=function(Mt){return arguments.length?vt(et,rt=+Mt,ct):rt},St.gamma=function(Mt){return arguments.length?vt(et,rt,ct=+Mt):ct},St.scale(152.63)}function sa(et,rt){return g(et[0]-rt[0])=0;--ee)ct=(rt=et[1][ee])[0][0],vt=rt[0][1],St=rt[1][1],Mt=rt[2][0],Y=rt[2][1],K.push(co([[Mt-y,Y-y],[Mt-y,St+y],[ct+y,St+y],[ct+y,vt-y]],30));return{type:"Polygon",coordinates:[(0,En.TS)(K)]}}function Xi(et,rt,ct){var vt,St;function Mt(K,le){for(var Te=le<0?-1:1,De=rt[+(le<0)],He=0,Ze=De.length-1;HeDe[He][2][0];++He);var at=et(K-De[He][1][0],le);return at[0]+=et(De[He][1][0],Te*le>Te*De[He][0][1]?De[He][0][1]:le)[0],at}ct?Mt.invert=ct(Mt):et.invert&&(Mt.invert=function(K,le){for(var Te=St[+(le<0)],De=rt[+(le<0)],He=0,Ze=Te.length;HeTt&&(De=at,at=Tt,Tt=De),[[He,at],[Ze,Tt]]})}),Y):rt.map(function(le){return le.map(function(Te){return[[Te[0][0]*R,Te[0][1]*R],[Te[1][0]*R,Te[1][1]*R],[Te[2][0]*R,Te[2][1]*R]]})})},rt!=null&&Y.lobes(rt),Y}dr.invert=function(et,rt){return rt>-cr?Se.invert(et,rt-pr):Be.invert(et,rt)},Rr.invert=function(et,rt){return g(rt)>cr?Se.invert(et,rt+(rt>0?pr:-pr)):Be.invert(et,rt)};var Do=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function rs(){return Xi(be,Do).scale(160.857)}var el=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function Cu(){return Xi(Rr,el).scale(152.63)}var gf=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function Mh(){return Xi(Se,gf).scale(169.529)}var Eu=[[[[-180,0],[-90,90],[0,0]],[[0,0],[90,90],[180,0]]],[[[-180,0],[-90,-90],[0,0]],[[0,0],[90,-90],[180,0]]]];function is(){return Xi(Se,Eu).scale(169.529).rotate([20,0])}var Ah=[[[[-180,35],[-30,90],[0,35]],[[0,35],[30,90],[180,35]]],[[[-180,-10],[-102,-90],[-65,-10]],[[-65,-10],[5,-90],[77,-10]],[[77,-10],[103,-90],[180,-10]]]];function Ya(){return Xi(dr,Ah,pe).rotate([-20,-55]).scale(164.263).center([0,-5.4036])}var hc=[[[[-180,0],[-110,90],[-40,0]],[[-40,0],[0,90],[40,0]],[[40,0],[110,90],[180,0]]],[[[-180,0],[-110,-90],[-40,0]],[[-40,0],[0,-90],[40,0]],[[40,0],[110,-90],[180,0]]]];function Yo(){return Xi(Be,hc).scale(152.63).rotate([-20,0])}function as(et,rt){return[3/b*et*F(_*_/3-rt*rt),rt]}function Al(){return(0,d.Z)(as).scale(158.837)}function Ui(et){function rt(ct,vt){if(g(g(vt)-k)2)return null;var Mt=(ct/=2)*ct,Y=(vt/=2)*vt,ee=2*vt/(1+Mt+Y);return ee=s((1+ee)/(1-ee),1/et),[M(2*ct,1-Mt-Y)/et,O((ee-1)/(ee+1))]},rt}function Sl(){var et=.5,rt=(0,d.r)(Ui),ct=rt(et);return ct.spacing=function(vt){return arguments.length?rt(et=+vt):et},ct.scale(124.75)}as.invert=function(et,rt){return[b/3*et/F(_*_/3-rt*rt),rt]};var ps=_/A;function Es(et,rt){return[et*(1+F(v(rt)))/2,rt/(v(rt/2)*v(et/6))]}function js(){return(0,d.Z)(Es).scale(97.2672)}function fc(et,rt){var ct=et*et,vt=rt*rt;return[et*(.975534+vt*(-.0143059*ct-.119161+-.0547009*vt)),rt*(1.00384+ct*(.0802894+-.02855*vt+199025e-9*ct)+vt*(.0998909+-.0491032*vt))]}function vf(){return(0,d.Z)(fc).scale(139.98)}function tl(et,rt){return[m(et)/v(rt),w(rt)*v(et)]}function yf(){return(0,d.Z)(tl).scale(144.049).clipAngle(89.999)}function bf(et){var rt=v(et),ct=w(E+et/2);function vt(St,Mt){var Y=Mt-et,ee=g(Y)=0;)He=(De=et[Te])[0]+K*(Mt=He)-le*Ze,Ze=De[1]+K*Ze+le*Mt;return[He=K*(Mt=He)-le*Ze,Ze=K*Ze+le*Mt]}return ct.invert=function(vt,St){var Mt=20,Y=vt,ee=St;do{for(var K,le=rt,Te=et[le],De=Te[0],He=Te[1],Ze=0,at=0;--le>=0;)Ze=De+Y*(K=Ze)-ee*at,at=He+Y*at+ee*K,De=(Te=et[le])[0]+Y*(K=De)-ee*He,He=Te[1]+Y*He+ee*K;var Tt,At,se=(Ze=De+Y*(K=Ze)-ee*at)*Ze+(at=He+Y*at+ee*K)*at;Y-=Tt=((De=Y*(K=De)-ee*He-vt)*Ze+(He=Y*He+ee*K-St)*at)/se,ee-=At=(He*Ze-De*at)/se}while(g(Tt)+g(At)>1e-12&&--Mt>0);if(Mt){var ve=F(Y*Y+ee*ee),Ie=2*i(.5*ve),Fe=m(Ie);return[M(Y*Fe,ve*v(Ie)),ve?O(ee*Fe/ve):0]}},ct}Es.invert=function(et,rt){var ct=g(et),vt=g(rt),St=y,Mt=k;vty||g(At)>y)&&--St>0);return St&&[ct,vt]},tl.invert=function(et,rt){var ct=et*et,vt=rt*rt+1,St=ct+vt,Mt=et?x*F((St-F(St*St-4*ct))/ct):1/F(vt);return[O(et*Mt),c(rt)*z(Mt)]},Sh.invert=function(et,rt){return[et,2.5*i(f(.8*rt))-.625*_]};var nl=[[.9972523,0],[.0052513,-.0041175],[.0074606,.0048125],[-.0153783,-.1968253],[.0636871,-.1408027],[.3660976,-.2937382]],rl=[[.98879,0],[0,0],[-.050909,0],[0,0],[.075528,0]],Lu=[[.984299,0],[.0211642,.0037608],[-.1036018,-.0575102],[-.0329095,-.0320119],[.0499471,.1223335],[.026046,.0899805],[7388e-7,-.1435792],[.0075848,-.1334108],[-.0216473,.0776645],[-.0225161,.0853673]],il=[[.9245,0],[0,0],[.01943,0]],Eh=[[.721316,0],[0,0],[-.00881625,-.00617325]];function Lh(){return Ql(nl,[152,-64]).scale(1400).center([-160.908,62.4864]).clipAngle(30).angle(7.8)}function Jl(){return Ql(rl,[95,-38]).scale(1e3).clipAngle(55).center([-96.5563,38.8675])}function jc(){return Ql(Lu,[120,-45]).scale(359.513).clipAngle(55).center([-117.474,53.0628])}function Cl(){return Ql(il,[-20,-18]).scale(209.091).center([20,16.7214]).clipAngle(82)}function Iu(){return Ql(Eh,[165,10]).scale(250).clipAngle(130).center([-165,-10])}function Ql(et,rt){var ct=(0,d.Z)(Ch(et)).rotate(rt).clipAngle(90),vt=(0,st.Z)(rt),St=ct.center;return delete ct.rotate,ct.center=function(Mt){return arguments.length?St(vt(Mt)):vt.invert(St())},ct}var al=F(6),Hi=F(7);function El(et,rt){var ct=O(7*m(rt)/(3*al));return[al*et*(2*v(2*ct/3)-1)/Hi,9*m(ct/3)/Hi]}function ad(){return(0,d.Z)(El).scale(164.859)}function Uc(et,rt){for(var ct,vt=(1+x)*m(rt),St=rt,Mt=0;Mt<25&&(St-=ct=(m(St/2)+m(St)-vt)/(.5*v(St/2)+v(St)),!(g(ct)C&&--ee>0);return[et/(.84719-.13063*(vt=Y*Y)+(Mt=vt*(St=vt*vt))*Mt*(.05494*vt-.04515-.02326*St+.00331*Mt)),Y]},Pu.invert=function(et,rt){for(var ct=rt/2,vt=0,St=1/0;vt<10&&g(St)>y;++vt){var Mt=v(rt/2);rt-=St=(rt-w(rt/2)-ct)/(1-.5/(Mt*Mt))}return[2*et/(1+v(rt)),rt]};var tu=[[[[-180,0],[-90,90],[0,0]],[[0,0],[90,90],[180,0]]],[[[-180,0],[-90,-90],[0,0]],[[0,0],[90,-90],[180,0]]]];function nu(){return Xi(ce(1/0),tu).rotate([20,0]).scale(152.63)}function Ou(et,rt){var ct=m(rt),vt=v(rt),St=c(et);if(et===0||g(rt)===k)return[0,rt];if(rt===0)return[et,0];if(g(et)===k)return[et*vt,k*ct];var Mt=_/(2*et)-2*et/_,Y=2*rt/_,ee=(1-Y*Y)/(ct-Y),K=Mt*Mt,le=ee*ee,Te=1+K/le,De=1+le/K,He=(Mt*ct/ee-Mt/2)/Te,Ze=(le*ct/K+ee/2)/De,at=Ze*Ze-(le*ct*ct/K+ee*ct-1)/De;return[k*(He+F(He*He+vt*vt/Te)*St),k*(Ze+F(at<0?0:at)*c(-rt*Mt)*St)]}function gc(){return(0,d.Z)(Ou).scale(127.267)}Ou.invert=function(et,rt){var ct=(et/=k)*et,vt=ct+(rt/=k)*rt,St=_*_;return[et?(vt-1+F((1-vt)*(1-vt)+4*ct))/(2*et)*k:0,me(function(Mt){return vt*(_*m(Mt)-2*Mt)*_+4*Mt*Mt*(rt-m(Mt))+2*_*Mt-St*rt},0)]};var vc=1.0148,gs=.23185,yc=-.14499,bc=.02406,Rh=1.790857183;function Ll(et,rt){var ct=rt*rt;return[et,rt*(vc+ct*ct*(gs+ct*(yc+bc*ct)))]}function Hc(){return(0,d.Z)(Ll).scale(139.319)}function xc(et,rt){if(g(rt)Rh?rt=Rh:rt<-1.790857183&&(rt=-1.790857183);var ct,vt=rt;do{var St=vt*vt;vt-=ct=(vt*(vc+St*St*(gs+St*(yc+bc*St)))-rt)/(1.0148+St*St*(1.1592500000000001+St*(.21654*St-1.01493)))}while(g(ct)>y);return[et,vt]},xc.invert=function(et,rt){if(g(rt)y&&--Mt>0);return Y=w(St),[(g(rt)=0;)if(tt=We[Ut],Xe[0]===tt[0]&&Xe[1]===tt[1]){if(mt)return[mt,Xe];mt=Xe}}}(K.face,le.face),De=(Tt=Te.map(le.project),At=Te.map(K.project),se=iu(Tt[1],Tt[0]),ve=iu(At[1],At[0]),Ie=function(Ue,We){return M(Ue[0]*We[1]-Ue[1]*We[0],Ue[0]*We[0]+Ue[1]*We[1])}(se,ve),Fe=Ki(se)/Ki(ve),ru([1,0,Tt[0][0],0,1,Tt[0][1]],ru([Fe,0,0,0,Fe,0],ru([v(Ie),m(Ie),0,-m(Ie),v(Ie),0],[1,0,-At[0][0],0,1,-At[0][1]]))));K.transform=le.transform?ru(le.transform,De):De;for(var He=le.edges,Ze=0,at=He.length;Ze0?[-vt[0],0]:[180-vt[0],180])};var rt=Us.map(function(ct){return{face:ct,project:et(ct)}});return[-1,0,0,1,0,1,4,5].forEach(function(ct,vt){var St=rt[ct];St&&(St.children||(St.children=[])).push(rt[vt])}),Il(rt[0],function(ct,vt){return rt[ct<-_/2?vt<0?6:4:ct<0?vt<0?2:0:ct<_/2?vt<0?3:1:vt<0?7:5]}).angle(-30).scale(121.906).center([0,48.5904])}function ou(et){et=et||function(Mt){var Y=Mt.length===6?(0,Ye.Z)({type:"MultiPoint",coordinates:Mt}):Mt[0];return(0,Bi.Z)().scale(1).translate([0,0]).rotate([-Y[0],-Y[1]])};var rt=Us.map(function(Mt){for(var Y,ee=Mt.map(da),K=ee.length,le=ee[K-1],Te=[],De=0;DeK^ve>K&&ee<(se-at)*(K-Tt)/(ve-Tt)+at&&(le=!le)}return le}(St[0],vt))return St.push(ct),!0})||et.push([ct])}),zo=[],et.length?et.length>1?{type:"MultiPolygon",coordinates:et}:{type:"Polygon",coordinates:et[0]}:null}};function $o(et){var rt=et(k,0)[0]-et(-k,0)[0];function ct(vt,St){var Mt=g(vt)0?vt-_:vt+_,St),ee=(Y[0]-Y[1])*x,K=(Y[0]+Y[1])*x;if(Mt)return[ee,K];var le=rt*x,Te=ee>0^K>0?-1:1;return[Te*ee-c(K)*le,Te*K-c(ee)*le]}return et.invert&&(ct.invert=function(vt,St){var Mt=(vt+St)*x,Y=(St-vt)*x,ee=g(Mt)<.5*rt&&g(Y)<.5*rt;if(!ee){var K=rt*x,le=Mt>0^Y>0?-1:1,Te=-le*vt+(Y>0?1:-1)*K,De=-le*St+(Mt>0?1:-1)*K;Mt=(-Te-De)*x,Y=(Te-De)*x}var He=et.invert(Mt,Y);return ee||(He[0]+=Mt>0?_:-_),He}),(0,d.Z)(ct).rotate([-90,-90,45]).clipAngle(179.999)}function qc(){return $o($n).scale(176.423)}function Wc(){return $o(Pn).scale(111.48)}function Lo(et,rt){if(!(0<=(rt=+rt)&&rt<=20))throw new Error("invalid digits");function ct(le){var Te=le.length,De=2,He=new Array(Te);for(He[0]=+le[0].toFixed(rt),He[1]=+le[1].toFixed(rt);De2||Ze[0]!=Te[0]||Ze[1]!=Te[1])&&(De.push(Ze),Te=Ze)}return De.length===1&&le.length>1&&De.push(ct(le[le.length-1])),De}function Mt(le){return le.map(St)}function Y(le){if(le==null)return le;var Te;switch(le.type){case"GeometryCollection":Te={type:"GeometryCollection",geometries:le.geometries.map(Y)};break;case"Point":Te={type:"Point",coordinates:ct(le.coordinates)};break;case"MultiPoint":Te={type:le.type,coordinates:vt(le.coordinates)};break;case"LineString":Te={type:le.type,coordinates:St(le.coordinates)};break;case"MultiLineString":case"Polygon":Te={type:le.type,coordinates:Mt(le.coordinates)};break;case"MultiPolygon":Te={type:"MultiPolygon",coordinates:le.coordinates.map(Mt)};break;default:return le}return le.bbox!=null&&(Te.bbox=le.bbox),Te}function ee(le){var Te={type:"Feature",properties:le.properties,geometry:Y(le.geometry)};return le.id!=null&&(Te.id=le.id),le.bbox!=null&&(Te.bbox=le.bbox),Te}if(et!=null)switch(et.type){case"Feature":return ee(et);case"FeatureCollection":var K={type:"FeatureCollection",features:et.features.map(ee)};return et.bbox!=null&&(K.bbox=et.bbox),K;default:return Y(et)}return et}function Dr(et){var rt=m(et);function ct(vt,St){var Mt=rt?w(vt*rt/2)/rt:vt/2;if(!St)return[2*Mt,-et];var Y=2*i(Mt*m(St)),ee=1/w(St);return[m(Y)*ee,St+(1-v(Y))*ee-et]}return ct.invert=function(vt,St){if(g(St+=et)y&&--K>0);var He=vt*(le=w(ee)),Ze=w(g(St)0?k:-k)*(le+Mt*(De-ee)/2+Mt*Mt*(De-2*le+ee)/2)]}function zu(){return(0,d.Z)(Yc).scale(152.63)}function Fu(et,rt){var ct=function(Y){function ee(K,le){var Te=v(le),De=(Y-1)/(Y-Te*v(K));return[De*Te*m(K),De*m(le)]}return ee.invert=function(K,le){var Te=K*K+le*le,De=F(Te),He=(Y-F(1-Te*(Y+1)/(Y-1)))/((Y-1)/De+De/(Y-1));return[M(K*He,De*F(1-He*He)),De?O(le*He/De):0]},ee}(et);if(!rt)return ct;var vt=v(rt),St=m(rt);function Mt(Y,ee){var K=ct(Y,ee),le=K[1],Te=le*St/(et-1)+vt;return[K[0]*vt/Te,le/Te]}return Mt.invert=function(Y,ee){var K=(et-1)/(et-1-ee*St);return ct.invert(K*Y,K*ee*vt)},Mt}function Bu(){var et=2,rt=0,ct=(0,d.r)(Fu),vt=ct(et,rt);return vt.distance=function(St){return arguments.length?ct(et=+St,rt):et},vt.tilt=function(St){return arguments.length?ct(et,rt=St*I):rt*R},vt.scale(432.147).clipAngle(z(1/et)*R-1e-6)}Fo.forEach(function(et){et[1]*=1.0144}),Yc.invert=function(et,rt){var ct=rt/k,vt=90*ct,St=o(18,g(vt/5)),Mt=u(0,l(St));do{var Y=Fo[Mt][1],ee=Fo[Mt+1][1],K=Fo[o(19,Mt+2)][1],le=K-Y,Te=K-2*ee+Y,De=2*(g(ct)-ee)/le,He=Te/le,Ze=De*(1-He*De*(1-2*He*De));if(Ze>=0||Mt===1){vt=(rt>=0?5:-5)*(Ze+St);var at,Tt=50;do Ze=(St=o(18,g(vt)/5))-(Mt=l(St)),Y=Fo[Mt][1],ee=Fo[Mt+1][1],K=Fo[o(19,Mt+2)][1],vt-=(at=(rt>=0?k:-k)*(ee+Ze*(K-Y)/2+Ze*Ze*(K-2*ee+Y)/2)-rt)*R;while(g(at)>C&&--Tt>0);break}}while(--Mt>=0);var At=Fo[Mt][0],se=Fo[Mt+1][0],ve=Fo[o(19,Mt+2)][0];return[et/(se+Ze*(ve-At)/2+Ze*Ze*(ve-2*se+At)/2),vt*I]};var Br=-179.9999,Nu=179.9999,ys=-89.9999,$c=89.9999;function wc(et){return et.length>0}function vo(et){return et===-90||et===90?[0,et]:[-180,(rt=et,Math.floor(1e4*rt)/1e4)];var rt}function cu(et){var rt=et[0],ct=et[1],vt=!1;return rt<=Br?(rt=-180,vt=!0):rt>=Nu&&(rt=180,vt=!0),ct<=ys?(ct=-90,vt=!0):ct>=$c&&(ct=90,vt=!0),vt?[rt,ct]:et}function ll(et){return et.map(cu)}function Zo(et,rt,ct){for(var vt=0,St=et.length;vt=Nu||Te<=ys||Te>=$c){Mt[Y]=cu(K);for(var De=Y+1;DeBr&&Zeys&&at<$c)break}if(De===Y+1)continue;if(Y){var Tt={index:-1,polygon:rt,ring:Mt.slice(0,Y+1)};Tt.ring[Tt.ring.length-1]=vo(Te),ct[ct.length-1]=Tt}else ct.pop();if(De>=ee)break;ct.push({index:-1,polygon:rt,ring:Mt=Mt.slice(De-1)}),Mt[0]=vo(Mt[0][1]),Y=-1,ee=Mt.length}}}}function Ol(et){var rt,ct,vt,St,Mt,Y,ee=et.length,K={},le={};for(rt=0;rt0?_-ee:ee)*R],le=(0,d.Z)(et(Y)).rotate(K),Te=(0,st.Z)(K),De=le.center;return delete le.rotate,le.center=function(He){return arguments.length?De(Te(He)):Te.invert(De())},le.clipAngle(90)}function Tc(et){var rt=v(et);function ct(vt,St){var Mt=(0,Bi.M)(vt,St);return Mt[0]*=rt,Mt}return ct.invert=function(vt,St){return Bi.M.invert(vt/rt,St)},ct}function os(){return _s([-158,21.5],[-77,39]).clipAngle(60).scale(400)}function _s(et,rt){return $i(Tc,et,rt)}function Gs(et){if(!(et*=2))return re.N;var rt=-et/2,ct=-rt,vt=et*et,St=w(ct),Mt=.5/m(ct);function Y(ee,K){var le=z(v(K)*v(ee-rt)),Te=z(v(K)*v(ee-ct));return[((le*=le)-(Te*=Te))/(2*et),(K<0?-1:1)*F(4*vt*Te-(vt-le+Te)*(vt-le+Te))/(2*et)]}return Y.invert=function(ee,K){var le,Te,De=K*K,He=v(F(De+(le=ee+rt)*le)),Ze=v(F(De+(le=ee+ct)*le));return[M(Te=He-Ze,le=(He+Ze)*St),(K<0?-1:1)*z(F(le*le+Te*Te)*Mt)]},Y}function Bo(){return Wi([-158,21.5],[-77,39]).clipAngle(130).scale(122.571)}function Wi(et,rt){return $i(Gs,et,rt)}function no(et,rt){if(g(rt)y&&--ee>0);return[c(et)*(F(St*St+4)+St)*_/4,k*Y]};var cl=4*_+3*F(3),Rs=2*F(2*_*F(3)/cl),xo=Me(Rs*F(3)/_,Rs,cl/6);function Zc(){return(0,d.Z)(xo).scale(176.84)}function Vo(et,rt){return[et*F(1-3*rt*rt/(_*_)),rt]}function ju(){return(0,d.Z)(Vo).scale(152.63)}function hl(et,rt){var ct=v(rt),vt=v(et)*ct,St=1-vt,Mt=v(et=M(m(et)*ct,-m(rt))),Y=m(et);return[Y*(ct=F(1-vt*vt))-Mt*St,-Mt*ct-Y*St]}function Ji(){return(0,d.Z)(hl).rotate([0,-90,45]).scale(124.75).clipAngle(179.999)}function la(et,rt){var ct=$(et,rt);return[(ct[0]+et/k)/2,(ct[1]+rt)/2]}function Xc(){return(0,d.Z)(la).scale(158.837)}Vo.invert=function(et,rt){return[et/F(1-3*rt*rt/(_*_)),rt]},hl.invert=function(et,rt){var ct=(et*et+rt*rt)/-2,vt=F(-ct*(2+ct)),St=rt*ct+et*vt,Mt=et*ct-rt*vt,Y=F(Mt*Mt+St*St);return[M(vt*St,Y*(1+ct)),Y?-O(vt*Mt/Y):0]},la.invert=function(et,rt){var ct=et,vt=rt,St=25;do{var Mt,Y=v(vt),ee=m(vt),K=m(2*vt),le=ee*ee,Te=Y*Y,De=m(ct),He=v(ct/2),Ze=m(ct/2),at=Ze*Ze,Tt=1-Te*He*He,At=Tt?z(Y*He)*F(Mt=1/Tt):Mt=0,se=.5*(2*At*Y*Ze+ct/k)-et,ve=.5*(At*ee+vt)-rt,Ie=.5*Mt*(Te*at+At*Y*He*le)+.5/k,Fe=Mt*(De*K/4-At*ee*Ze),Ue=.125*Mt*(K*Ze-At*ee*Te*De),We=.5*Mt*(le*He+At*at*Y)+.5,Xe=Fe*Ue-We*Ie,tt=(ve*Fe-se*We)/Xe,lt=(se*Ue-ve*Ie)/Xe;ct-=tt,vt-=lt}while((g(tt)>y||g(lt)>y)&&--St>0);return[ct,vt]}},33940:function(T,p,t){function d(){return new g}function g(){this.reset()}t.d(p,{Z:function(){return d}}),g.prototype={constructor:g,reset:function(){this.s=this.t=0},add:function(v){M(i,v,this.t),M(this,i.s,this.s),this.s?this.t+=i.t:this.s=i.t},valueOf:function(){return this.s}};var i=new g;function M(v,f,l){var a=v.s=f+l,u=a-f,o=a-u;v.t=f-o+(l-u)}},97860:function(T,p,t){t.d(p,{L9:function(){return o},ZP:function(){return C},gL:function(){return h}});var d,g,i,M,v,f=t(33940),l=t(39695),a=t(73182),u=t(72736),o=(0,f.Z)(),s=(0,f.Z)(),h={point:a.Z,lineStart:a.Z,lineEnd:a.Z,polygonStart:function(){o.reset(),h.lineStart=c,h.lineEnd=m},polygonEnd:function(){var _=+o;s.add(_<0?l.BZ+_:_),this.lineStart=this.lineEnd=this.point=a.Z},sphere:function(){s.add(l.BZ)}};function c(){h.point=w}function m(){y(d,g)}function w(_,k){h.point=y,d=_,g=k,_*=l.uR,k*=l.uR,i=_,M=(0,l.mC)(k=k/2+l.pu),v=(0,l.O$)(k)}function y(_,k){_*=l.uR,k=(k*=l.uR)/2+l.pu;var E=_-i,x=E>=0?1:-1,A=x*E,L=(0,l.mC)(k),b=(0,l.O$)(k),R=v*b,I=M*L+R*(0,l.mC)(A),O=R*x*(0,l.O$)(A);o.add((0,l.fv)(O,I)),i=_,M=L,v=b}function C(_){return s.reset(),(0,u.Z)(_,h),2*s}},77338:function(T,p,t){t.d(p,{Z:function(){return z}});var d,g,i,M,v,f,l,a,u,o,s=t(33940),h=t(97860),c=t(7620),m=t(39695),w=t(72736),y=(0,s.Z)(),C={point:_,lineStart:E,lineEnd:x,polygonStart:function(){C.point=A,C.lineStart=L,C.lineEnd=b,y.reset(),h.gL.polygonStart()},polygonEnd:function(){h.gL.polygonEnd(),C.point=_,C.lineStart=E,C.lineEnd=x,h.L9<0?(d=-(i=180),g=-(M=90)):y>m.Ho?M=90:y<-m.Ho&&(g=-90),o[0]=d,o[1]=i},sphere:function(){d=-(i=180),g=-(M=90)}};function _(F,B){u.push(o=[d=F,i=F]),BM&&(M=B)}function k(F,B){var N=(0,c.Og)([F*m.uR,B*m.uR]);if(a){var W=(0,c.T5)(a,N),j=[W[1],-W[0],0],$=(0,c.T5)(j,W);(0,c.iJ)($),$=(0,c.Y1)($);var U,G=F-v,q=G>0?1:-1,H=$[0]*m.RW*q,ne=(0,m.Wn)(G)>180;ne^(q*vM&&(M=U):ne^(q*v<(H=(H+360)%360-180)&&HM&&(M=B)),ne?FR(d,i)&&(i=F):R(F,i)>R(d,i)&&(d=F):i>=d?(Fi&&(i=F)):F>v?R(d,F)>R(d,i)&&(i=F):R(F,i)>R(d,i)&&(d=F)}else u.push(o=[d=F,i=F]);BM&&(M=B),a=N,v=F}function E(){C.point=k}function x(){o[0]=d,o[1]=i,C.point=_,a=null}function A(F,B){if(a){var N=F-v;y.add((0,m.Wn)(N)>180?N+(N>0?360:-360):N)}else f=F,l=B;h.gL.point(F,B),k(F,B)}function L(){h.gL.lineStart()}function b(){A(f,l),h.gL.lineEnd(),(0,m.Wn)(y)>m.Ho&&(d=-(i=180)),o[0]=d,o[1]=i,a=null}function R(F,B){return(B-=F)<0?B+360:B}function I(F,B){return F[0]-B[0]}function O(F,B){return F[0]<=F[1]?F[0]<=B&&B<=F[1]:BR(W[0],W[1])&&(W[1]=j[1]),R(j[0],W[1])>R(W[0],W[1])&&(W[0]=j[0])):$.push(W=j);for(U=-1/0,B=0,W=$[N=$.length-1];B<=N;W=j,++B)j=$[B],(G=R(W[1],j[0]))>U&&(U=G,d=j[0],i=W[1])}return u=o=null,d===1/0||g===1/0?[[NaN,NaN],[NaN,NaN]]:[[d,g],[i,M]]}},7620:function(T,p,t){t.d(p,{Og:function(){return i},T:function(){return l},T5:function(){return v},Y1:function(){return g},iJ:function(){return a},j9:function(){return M},s0:function(){return f}});var d=t(39695);function g(u){return[(0,d.fv)(u[1],u[0]),(0,d.ZR)(u[2])]}function i(u){var o=u[0],s=u[1],h=(0,d.mC)(s);return[h*(0,d.mC)(o),h*(0,d.O$)(o),(0,d.O$)(s)]}function M(u,o){return u[0]*o[0]+u[1]*o[1]+u[2]*o[2]}function v(u,o){return[u[1]*o[2]-u[2]*o[1],u[2]*o[0]-u[0]*o[2],u[0]*o[1]-u[1]*o[0]]}function f(u,o){u[0]+=o[0],u[1]+=o[1],u[2]+=o[2]}function l(u,o){return[u[0]*o,u[1]*o,u[2]*o]}function a(u){var o=(0,d._b)(u[0]*u[0]+u[1]*u[1]+u[2]*u[2]);u[0]/=o,u[1]/=o,u[2]/=o}},66624:function(T,p,t){t.d(p,{Z:function(){return N}});var d,g,i,M,v,f,l,a,u,o,s,h,c,m,w,y,C=t(39695),_=t(73182),k=t(72736),E={sphere:_.Z,point:x,lineStart:L,lineEnd:I,polygonStart:function(){E.lineStart=O,E.lineEnd=z},polygonEnd:function(){E.lineStart=L,E.lineEnd=I}};function x(W,j){W*=C.uR,j*=C.uR;var $=(0,C.mC)(j);A($*(0,C.mC)(W),$*(0,C.O$)(W),(0,C.O$)(j))}function A(W,j,$){++d,i+=(W-i)/d,M+=(j-M)/d,v+=($-v)/d}function L(){E.point=b}function b(W,j){W*=C.uR,j*=C.uR;var $=(0,C.mC)(j);m=$*(0,C.mC)(W),w=$*(0,C.O$)(W),y=(0,C.O$)(j),E.point=R,A(m,w,y)}function R(W,j){W*=C.uR,j*=C.uR;var $=(0,C.mC)(j),U=$*(0,C.mC)(W),G=$*(0,C.O$)(W),q=(0,C.O$)(j),H=(0,C.fv)((0,C._b)((H=w*q-y*G)*H+(H=y*U-m*q)*H+(H=m*G-w*U)*H),m*U+w*G+y*q);g+=H,f+=H*(m+(m=U)),l+=H*(w+(w=G)),a+=H*(y+(y=q)),A(m,w,y)}function I(){E.point=x}function O(){E.point=F}function z(){B(h,c),E.point=x}function F(W,j){h=W,c=j,W*=C.uR,j*=C.uR,E.point=B;var $=(0,C.mC)(j);m=$*(0,C.mC)(W),w=$*(0,C.O$)(W),y=(0,C.O$)(j),A(m,w,y)}function B(W,j){W*=C.uR,j*=C.uR;var $=(0,C.mC)(j),U=$*(0,C.mC)(W),G=$*(0,C.O$)(W),q=(0,C.O$)(j),H=w*q-y*G,ne=y*U-m*q,te=m*G-w*U,Z=(0,C._b)(H*H+ne*ne+te*te),X=(0,C.ZR)(Z),Q=Z&&-X/Z;u+=Q*H,o+=Q*ne,s+=Q*te,g+=X,f+=X*(m+(m=U)),l+=X*(w+(w=G)),a+=X*(y+(y=q)),A(m,w,y)}function N(W){d=g=i=M=v=f=l=a=u=o=s=0,(0,k.Z)(W,E);var j=u,$=o,U=s,G=j*j+$*$+U*U;return G0?hc)&&(h+=s*i.BZ));for(var C,_=h;s>0?_>c:_0?g.pi:-g.pi,s=(0,g.Wn)(a-v);(0,g.Wn)(s-g.pi)0?g.ou:-g.ou),i.point(l,f),i.lineEnd(),i.lineStart(),i.point(o,f),i.point(a,f),M=0):l!==o&&s>=g.pi&&((0,g.Wn)(v-l)g.Ho?(0,g.z4)(((0,g.O$)(c)*(C=(0,g.mC)(w))*(0,g.O$)(m)-(0,g.O$)(w)*(y=(0,g.mC)(c))*(0,g.O$)(h))/(y*C*_)):(c+w)/2}(v,f,a,u),i.point(l,f),i.lineEnd(),i.lineStart(),i.point(o,f),M=0),i.point(v=a,f=u),l=o},lineEnd:function(){i.lineEnd(),v=f=NaN},clean:function(){return 2-M}}},function(i,M,v,f){var l;if(i==null)l=v*g.ou,f.point(-g.pi,l),f.point(0,l),f.point(g.pi,l),f.point(g.pi,0),f.point(g.pi,-l),f.point(0,-l),f.point(-g.pi,-l),f.point(-g.pi,0),f.point(-g.pi,l);else if((0,g.Wn)(i[0]-M[0])>g.Ho){var a=i[0]1&&M.push(M.pop().concat(M.shift()))},result:function(){var v=M;return M=[],i=null,v}}}},1457:function(T,p,t){t.d(p,{Z:function(){return f}});var d=t(7620),g=t(7613),i=t(39695),M=t(67108),v=t(97023);function f(l){var a=(0,i.mC)(l),u=6*i.uR,o=a>0,s=(0,i.Wn)(a)>i.Ho;function h(w,y){return(0,i.mC)(w)*(0,i.mC)(y)>a}function c(w,y,C){var _=(0,d.Og)(w),k=(0,d.Og)(y),E=[1,0,0],x=(0,d.T5)(_,k),A=(0,d.j9)(x,x),L=x[0],b=A-L*L;if(!b)return!C&&w;var R=a*A/b,I=-a*L/b,O=(0,d.T5)(E,x),z=(0,d.T)(E,R),F=(0,d.T)(x,I);(0,d.s0)(z,F);var B=O,N=(0,d.j9)(z,B),W=(0,d.j9)(B,B),j=N*N-W*((0,d.j9)(z,z)-1);if(!(j<0)){var $=(0,i._b)(j),U=(0,d.T)(B,(-N-$)/W);if((0,d.s0)(U,z),U=(0,d.Y1)(U),!C)return U;var G,q=w[0],H=y[0],ne=w[1],te=y[1];H0^U[1]<((0,i.Wn)(U[0]-q)i.pi^(q<=U[0]&&U[0]<=H)){var Q=(0,d.T)(B,(-N+$)/W);return(0,d.s0)(Q,z),[U,(0,d.Y1)(Q)]}}}function m(w,y){var C=o?l:i.pi-l,_=0;return w<-C?_|=1:w>C&&(_|=2),y<-C?_|=4:y>C&&(_|=8),_}return(0,v.Z)(h,function(w){var y,C,_,k,E;return{lineStart:function(){k=_=!1,E=1},point:function(x,A){var L,b=[x,A],R=h(x,A),I=o?R?0:m(x,A):R?m(x+(x<0?i.pi:-i.pi),A):0;if(!y&&(k=_=R)&&w.lineStart(),R!==_&&(!(L=c(y,b))||(0,M.Z)(y,L)||(0,M.Z)(b,L))&&(b[2]=1),R!==_)E=0,R?(w.lineStart(),L=c(b,y),w.point(L[0],L[1])):(L=c(y,b),w.point(L[0],L[1],2),w.lineEnd()),y=L;else if(s&&y&&o^R){var O;I&C||!(O=c(b,y,!0))||(E=0,o?(w.lineStart(),w.point(O[0][0],O[0][1]),w.point(O[1][0],O[1][1]),w.lineEnd()):(w.point(O[1][0],O[1][1]),w.lineEnd(),w.lineStart(),w.point(O[0][0],O[0][1],3)))}!R||y&&(0,M.Z)(y,b)||w.point(b[0],b[1]),y=b,_=R,C=I},lineEnd:function(){_&&w.lineEnd(),y=null},clean:function(){return E|(k&&_)<<1}}},function(w,y,C,_){(0,g.m)(_,l,u,C,w,y)},o?[0,-l]:[-i.pi,l-i.pi])}},97023:function(T,p,t){t.d(p,{Z:function(){return f}});var d=t(85272),g=t(46225),i=t(39695),M=t(23071),v=t(33064);function f(u,o,s,h){return function(c){var m,w,y,C=o(c),_=(0,d.Z)(),k=o(_),E=!1,x={point:A,lineStart:b,lineEnd:R,polygonStart:function(){x.point=I,x.lineStart=O,x.lineEnd=z,w=[],m=[]},polygonEnd:function(){x.point=A,x.lineStart=b,x.lineEnd=R,w=(0,v.TS)(w);var F=(0,M.Z)(m,h);w.length?(E||(c.polygonStart(),E=!0),(0,g.Z)(w,a,F,s,c)):F&&(E||(c.polygonStart(),E=!0),c.lineStart(),s(null,null,1,c),c.lineEnd()),E&&(c.polygonEnd(),E=!1),w=m=null},sphere:function(){c.polygonStart(),c.lineStart(),s(null,null,1,c),c.lineEnd(),c.polygonEnd()}};function A(F,B){u(F,B)&&c.point(F,B)}function L(F,B){C.point(F,B)}function b(){x.point=L,C.lineStart()}function R(){x.point=A,C.lineEnd()}function I(F,B){y.push([F,B]),k.point(F,B)}function O(){k.lineStart(),y=[]}function z(){I(y[0][0],y[0][1]),k.lineEnd();var F,B,N,W,j=k.clean(),$=_.result(),U=$.length;if(y.pop(),m.push(y),y=null,U)if(1&j){if((B=(N=$[0]).length-1)>0){for(E||(c.polygonStart(),E=!0),c.lineStart(),F=0;F1&&2&j&&$.push($.pop().concat($.shift())),w.push($.filter(l))}return x}}function l(u){return u.length>1}function a(u,o){return((u=u.x)[0]<0?u[1]-i.ou-i.Ho:i.ou-u[1])-((o=o.x)[0]<0?o[1]-i.ou-i.Ho:i.ou-o[1])}},87605:function(T,p,t){t.d(p,{Z:function(){return l}});var d=t(39695),g=t(85272),i=t(46225),M=t(33064),v=1e9,f=-v;function l(a,u,o,s){function h(C,_){return a<=C&&C<=o&&u<=_&&_<=s}function c(C,_,k,E){var x=0,A=0;if(C==null||(x=m(C,k))!==(A=m(_,k))||y(C,_)<0^k>0)do E.point(x===0||x===3?a:o,x>1?s:u);while((x=(x+k+4)%4)!==A);else E.point(_[0],_[1])}function m(C,_){return(0,d.Wn)(C[0]-a)0?0:3:(0,d.Wn)(C[0]-o)0?2:1:(0,d.Wn)(C[1]-u)0?1:0:_>0?3:2}function w(C,_){return y(C.x,_.x)}function y(C,_){var k=m(C,1),E=m(_,1);return k!==E?k-E:k===0?_[1]-C[1]:k===1?C[0]-_[0]:k===2?C[1]-_[1]:_[0]-C[0]}return function(C){var _,k,E,x,A,L,b,R,I,O,z,F=C,B=(0,g.Z)(),N={point:W,lineStart:function(){N.point=j,k&&k.push(E=[]),O=!0,I=!1,b=R=NaN},lineEnd:function(){_&&(j(x,A),L&&I&&B.rejoin(),_.push(B.result())),N.point=W,I&&F.lineEnd()},polygonStart:function(){F=B,_=[],k=[],z=!0},polygonEnd:function(){var $=function(){for(var q=0,H=0,ne=k.length;Hs&&(oe-te)*(s-Z)>(ue-Z)*(a-te)&&++q:ue<=s&&(oe-te)*(s-Z)<(ue-Z)*(a-te)&&--q;return q}(),U=z&&$,G=(_=(0,M.TS)(_)).length;(U||G)&&(C.polygonStart(),U&&(C.lineStart(),c(null,null,1,C),C.lineEnd()),G&&(0,i.Z)(_,w,$,c,C),C.polygonEnd()),F=C,_=k=E=null}};function W($,U){h($,U)&&F.point($,U)}function j($,U){var G=h($,U);if(k&&E.push([$,U]),O)x=$,A=U,L=G,O=!1,G&&(F.lineStart(),F.point($,U));else if(G&&I)F.point($,U);else{var q=[b=Math.max(f,Math.min(v,b)),R=Math.max(f,Math.min(v,R))],H=[$=Math.max(f,Math.min(v,$)),U=Math.max(f,Math.min(v,U))];(function(ne,te,Z,X,Q,re){var ie,oe=ne[0],ue=ne[1],ce=0,ye=1,de=te[0]-oe,me=te[1]-ue;if(ie=Z-oe,de||!(ie>0)){if(ie/=de,de<0){if(ie0){if(ie>ye)return;ie>ce&&(ce=ie)}if(ie=Q-oe,de||!(ie<0)){if(ie/=de,de<0){if(ie>ye)return;ie>ce&&(ce=ie)}else if(de>0){if(ie0)){if(ie/=me,me<0){if(ie0){if(ie>ye)return;ie>ce&&(ce=ie)}if(ie=re-ue,me||!(ie<0)){if(ie/=me,me<0){if(ie>ye)return;ie>ce&&(ce=ie)}else if(me>0){if(ie0&&(ne[0]=oe+ce*de,ne[1]=ue+ce*me),ye<1&&(te[0]=oe+ye*de,te[1]=ue+ye*me),!0}}}}})(q,H,a,u,o,s)?(I||(F.lineStart(),F.point(q[0],q[1])),F.point(H[0],H[1]),G||F.lineEnd(),z=!1):G&&(F.lineStart(),F.point($,U),z=!1)}b=$,R=U,I=G}return N}}},46225:function(T,p,t){t.d(p,{Z:function(){return M}});var d=t(67108),g=t(39695);function i(f,l,a,u){this.x=f,this.z=l,this.o=a,this.e=u,this.v=!1,this.n=this.p=null}function M(f,l,a,u,o){var s,h,c=[],m=[];if(f.forEach(function(E){if(!((x=E.length-1)<=0)){var x,A,L=E[0],b=E[x];if((0,d.Z)(L,b)){if(!L[2]&&!b[2]){for(o.lineStart(),s=0;s=0;--s)o.point((y=w[s])[0],y[1]);else u(_.x,_.p.x,-1,o);_=_.p}w=(_=_.o).z,k=!k}while(!_.v);o.lineEnd()}}}function v(f){if(l=f.length){for(var l,a,u=0,o=f[0];++u0&&(Un=R(Kt[Kn],Kt[Kn-1]))>0&&Rn<=Un&&Ln<=Un&&(Rn+Ln-Un)*(1-Math.pow((Rn-Ln)/Un,2))m.Ho}).map(mr)).concat((0,U.w6)((0,m.mD)(Kn/hn)*hn,Un,hn).filter(function(gn){return(0,m.Wn)(gn%On)>m.Ho}).map(nn))}return mn.lines=function(){return wn().map(function(gn){return{type:"LineString",coordinates:gn}})},mn.outline=function(){return{type:"Polygon",coordinates:[Pn(Ln).concat(jt($n).slice(1),Pn(Rn).reverse().slice(1),jt(tr).reverse().slice(1))]}},mn.extent=function(gn){return arguments.length?mn.extentMajor(gn).extentMinor(gn):mn.extentMinor()},mn.extentMajor=function(gn){return arguments.length?(Ln=+gn[0][0],Rn=+gn[1][0],tr=+gn[0][1],$n=+gn[1][1],Ln>Rn&&(gn=Ln,Ln=Rn,Rn=gn),tr>$n&&(gn=tr,tr=$n,$n=gn),mn.precision(En)):[[Ln,tr],[Rn,$n]]},mn.extentMinor=function(gn){return arguments.length?(bn=+gn[0][0],Kt=+gn[1][0],Kn=+gn[0][1],Un=+gn[1][1],bn>Kt&&(gn=bn,bn=Kt,Kt=gn),Kn>Un&&(gn=Kn,Kn=Un,Un=gn),mn.precision(En)):[[bn,Kn],[Kt,Un]]},mn.step=function(gn){return arguments.length?mn.stepMajor(gn).stepMinor(gn):mn.stepMinor()},mn.stepMajor=function(gn){return arguments.length?(zn=+gn[0],On=+gn[1],mn):[zn,On]},mn.stepMinor=function(gn){return arguments.length?(Jt=+gn[0],hn=+gn[1],mn):[Jt,hn]},mn.precision=function(gn){return arguments.length?(En=+gn,mr=G(Kn,Un,90),nn=q(bn,Kt,En),Pn=G(tr,$n,90),jt=q(Ln,Rn,En),mn):En},mn.extentMajor([[-180,-90+m.Ho],[180,90-m.Ho]]).extentMinor([[-180,-80-m.Ho],[180,80+m.Ho]])}function ne(){return H()()}var te,Z,X,Q,re=t(83074),ie=t(8593),oe=(0,c.Z)(),ue=(0,c.Z)(),ce={point:w.Z,lineStart:w.Z,lineEnd:w.Z,polygonStart:function(){ce.lineStart=ye,ce.lineEnd=pe},polygonEnd:function(){ce.lineStart=ce.lineEnd=ce.point=w.Z,oe.add((0,m.Wn)(ue)),ue.reset()},result:function(){var Kt=oe/2;return oe.reset(),Kt}};function ye(){ce.point=de}function de(Kt,bn){ce.point=me,te=X=Kt,Z=Q=bn}function me(Kt,bn){ue.add(Q*Kt-X*bn),X=Kt,Q=bn}function pe(){me(te,Z)}var xe,Pe,_e,Me,Se=ce,Ce=t(3559),ae=0,fe=0,be=0,ke=0,Le=0,Be=0,ze=0,je=0,ge=0,we={point:Ee,lineStart:Ve,lineEnd:st,polygonStart:function(){we.lineStart=ot,we.lineEnd=ht},polygonEnd:function(){we.point=Ee,we.lineStart=Ve,we.lineEnd=st},result:function(){var Kt=ge?[ze/ge,je/ge]:Be?[ke/Be,Le/Be]:be?[ae/be,fe/be]:[NaN,NaN];return ae=fe=be=ke=Le=Be=ze=je=ge=0,Kt}};function Ee(Kt,bn){ae+=Kt,fe+=bn,++be}function Ve(){we.point=$e}function $e(Kt,bn){we.point=Ye,Ee(_e=Kt,Me=bn)}function Ye(Kt,bn){var Rn=Kt-_e,Ln=bn-Me,Un=(0,m._b)(Rn*Rn+Ln*Ln);ke+=Un*(_e+Kt)/2,Le+=Un*(Me+bn)/2,Be+=Un,Ee(_e=Kt,Me=bn)}function st(){we.point=Ee}function ot(){we.point=bt}function ht(){Et(xe,Pe)}function bt(Kt,bn){we.point=Et,Ee(xe=_e=Kt,Pe=Me=bn)}function Et(Kt,bn){var Rn=Kt-_e,Ln=bn-Me,Un=(0,m._b)(Rn*Rn+Ln*Ln);ke+=Un*(_e+Kt)/2,Le+=Un*(Me+bn)/2,Be+=Un,ze+=(Un=Me*Kt-_e*bn)*(_e+Kt),je+=Un*(Me+bn),ge+=3*Un,Ee(_e=Kt,Me=bn)}var kt=we;function xt(Kt){this._context=Kt}xt.prototype={_radius:4.5,pointRadius:function(Kt){return this._radius=Kt,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._context.closePath(),this._point=NaN},point:function(Kt,bn){switch(this._point){case 0:this._context.moveTo(Kt,bn),this._point=1;break;case 1:this._context.lineTo(Kt,bn);break;default:this._context.moveTo(Kt+this._radius,bn),this._context.arc(Kt,bn,this._radius,0,m.BZ)}},result:w.Z};var Ft,Ot,Bt,qt,Vt,Ke=(0,c.Z)(),Je={point:w.Z,lineStart:function(){Je.point=qe},lineEnd:function(){Ft&&nt(Ot,Bt),Je.point=w.Z},polygonStart:function(){Ft=!0},polygonEnd:function(){Ft=null},result:function(){var Kt=+Ke;return Ke.reset(),Kt}};function qe(Kt,bn){Je.point=nt,Ot=qt=Kt,Bt=Vt=bn}function nt(Kt,bn){qt-=Kt,Vt-=bn,Ke.add((0,m._b)(qt*qt+Vt*Vt)),qt=Kt,Vt=bn}var ft=Je;function Re(){this._string=[]}function Ne(Kt){return"m0,"+Kt+"a"+Kt+","+Kt+" 0 1,1 0,"+-2*Kt+"a"+Kt+","+Kt+" 0 1,1 0,"+2*Kt+"z"}function Qe(Kt,bn){var Rn,Ln,Un=4.5;function Kn($n){return $n&&(typeof Un=="function"&&Ln.pointRadius(+Un.apply(this,arguments)),(0,y.Z)($n,Rn(Ln))),Ln.result()}return Kn.area=function($n){return(0,y.Z)($n,Rn(Se)),Se.result()},Kn.measure=function($n){return(0,y.Z)($n,Rn(ft)),ft.result()},Kn.bounds=function($n){return(0,y.Z)($n,Rn(Ce.Z)),Ce.Z.result()},Kn.centroid=function($n){return(0,y.Z)($n,Rn(kt)),kt.result()},Kn.projection=function($n){return arguments.length?(Rn=$n==null?(Kt=null,ie.Z):(Kt=$n).stream,Kn):Kt},Kn.context=function($n){return arguments.length?(Ln=$n==null?(bn=null,new Re):new xt(bn=$n),typeof Un!="function"&&Ln.pointRadius(Un),Kn):bn},Kn.pointRadius=function($n){return arguments.length?(Un=typeof $n=="function"?$n:(Ln.pointRadius(+$n),+$n),Kn):Un},Kn.projection(Kt).context(bn)}Re.prototype={_radius:4.5,_circle:Ne(4.5),pointRadius:function(Kt){return(Kt=+Kt)!==this._radius&&(this._radius=Kt,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._string.push("Z"),this._point=NaN},point:function(Kt,bn){switch(this._point){case 0:this._string.push("M",Kt,",",bn),this._point=1;break;case 1:this._string.push("L",Kt,",",bn);break;default:this._circle==null&&(this._circle=Ne(this._radius)),this._string.push("M",Kt,",",bn,this._circle)}},result:function(){if(this._string.length){var Kt=this._string.join("");return this._string=[],Kt}return null}};var ut=t(15002);function dt(Kt){var bn=0,Rn=m.pi/3,Ln=(0,ut.r)(Kt),Un=Ln(bn,Rn);return Un.parallels=function(Kn){return arguments.length?Ln(bn=Kn[0]*m.uR,Rn=Kn[1]*m.uR):[bn*m.RW,Rn*m.RW]},Un}function _t(Kt,bn){var Rn=(0,m.O$)(Kt),Ln=(Rn+(0,m.O$)(bn))/2;if((0,m.Wn)(Ln)=.12&&En<.234&&On>=-.425&&On<-.214?tr:En>=.166&&En<.234&&On>=-.214&&On<-.115?mr:$n).invert(Jt)},Pn.stream=function(Jt){return Kt&&bn===Jt?Kt:(hn=[$n.stream(bn=Jt),tr.stream(Jt),mr.stream(Jt)],zn=hn.length,Kt={point:function(On,En){for(var mn=-1;++mn0?tr<-m.ou+m.Ho&&(tr=-m.ou+m.Ho):tr>m.ou-m.Ho&&(tr=m.ou-m.Ho);var mr=Un/(0,m.sQ)(Qt(tr),Ln);return[mr*(0,m.O$)(Ln*$n),Un-mr*(0,m.mC)(Ln*$n)]}return Kn.invert=function($n,tr){var mr=Un-tr,nn=(0,m.Xx)(Ln)*(0,m._b)($n*$n+mr*mr),Pn=(0,m.fv)($n,(0,m.Wn)(mr))*(0,m.Xx)(mr);return mr*Ln<0&&(Pn-=m.pi*(0,m.Xx)($n)*(0,m.Xx)(mr)),[Pn/Ln,2*(0,m.z4)((0,m.sQ)(Un/nn,1/Ln))-m.ou]},Kn}function xn(){return dt(rn).scale(109.5).parallels([30,30])}Yt.invert=function(Kt,bn){return[Kt,2*(0,m.z4)((0,m.Qq)(bn))-m.ou]};var un=t(97492);function An(Kt,bn){var Rn=(0,m.mC)(Kt),Ln=Kt===bn?(0,m.O$)(Kt):(Rn-(0,m.mC)(bn))/(bn-Kt),Un=Rn/Ln+Kt;if((0,m.Wn)(Ln)2?Ln[2]+90:90]):[(Ln=Rn())[0],Ln[1],Ln[2]-90]},Rn([0,0,90]).scale(159.155)}yr.invert=(0,Sr.O)(function(Kt){return 2*(0,m.z4)(Kt)}),vr.invert=function(Kt,bn){return[-bn,2*(0,m.z4)((0,m.Qq)(Kt))-m.ou]}},83074:function(T,p,t){t.d(p,{Z:function(){return g}});var d=t(39695);function g(i,M){var v=i[0]*d.uR,f=i[1]*d.uR,l=M[0]*d.uR,a=M[1]*d.uR,u=(0,d.mC)(f),o=(0,d.O$)(f),s=(0,d.mC)(a),h=(0,d.O$)(a),c=u*(0,d.mC)(v),m=u*(0,d.O$)(v),w=s*(0,d.mC)(l),y=s*(0,d.O$)(l),C=2*(0,d.ZR)((0,d._b)((0,d.Jy)(a-f)+u*s*(0,d.Jy)(l-v))),_=(0,d.O$)(C),k=C?function(E){var x=(0,d.O$)(E*=C)/_,A=(0,d.O$)(C-E)/_,L=A*c+x*w,b=A*m+x*y,R=A*o+x*h;return[(0,d.fv)(b,L)*d.RW,(0,d.fv)(R,(0,d._b)(L*L+b*b))*d.RW]}:function(){return[v*d.RW,f*d.RW]};return k.distance=C,k}},39695:function(T,p,t){t.d(p,{BZ:function(){return f},Ho:function(){return d},Jy:function(){return L},Kh:function(){return x},O$:function(){return C},OR:function(){return E},Qq:function(){return m},RW:function(){return l},Wn:function(){return u},Xx:function(){return _},ZR:function(){return A},_b:function(){return k},aW:function(){return g},cM:function(){return w},fv:function(){return s},mC:function(){return h},mD:function(){return c},ou:function(){return M},pi:function(){return i},pu:function(){return v},sQ:function(){return y},uR:function(){return a},z4:function(){return o}});var d=1e-6,g=1e-12,i=Math.PI,M=i/2,v=i/4,f=2*i,l=180/i,a=i/180,u=Math.abs,o=Math.atan,s=Math.atan2,h=Math.cos,c=Math.ceil,m=Math.exp,w=Math.log,y=Math.pow,C=Math.sin,_=Math.sign||function(b){return b>0?1:b<0?-1:0},k=Math.sqrt,E=Math.tan;function x(b){return b>1?0:b<-1?i:Math.acos(b)}function A(b){return b>1?M:b<-1?-M:Math.asin(b)}function L(b){return(b=C(b/2))*b}},73182:function(T,p,t){function d(){}t.d(p,{Z:function(){return d}})},3559:function(T,p,t){var d=t(73182),g=1/0,i=g,M=-g,v=M,f={point:function(l,a){lM&&(M=l),av&&(v=a)},lineStart:d.Z,lineEnd:d.Z,polygonStart:d.Z,polygonEnd:d.Z,result:function(){var l=[[g,i],[M,v]];return M=v=-(i=g=1/0),l}};p.Z=f},67108:function(T,p,t){t.d(p,{Z:function(){return g}});var d=t(39695);function g(i,M){return(0,d.Wn)(i[0]-M[0])=0?1:-1,W=N*B,j=W>i.pi,$=A*z;if(M.add((0,i.fv)($*N*(0,i.O$)(W),L*F+$*(0,i.mC)(W))),c+=j?B+N*i.BZ:B,j^E>=u^I>=u){var U=(0,g.T5)((0,g.Og)(k),(0,g.Og)(R));(0,g.iJ)(U);var G=(0,g.T5)(h,U);(0,g.iJ)(G);var q=(j^B>=0?-1:1)*(0,i.ZR)(G[2]);(o>q||o===q&&(U[0]||U[1]))&&(m+=j^B>=0?1:-1)}}return(c<-i.Ho||c4*x&&U--){var te=I+W,Z=O+j,X=z+$,Q=(0,f._b)(te*te+Z*Z+X*X),re=(0,f.ZR)(X/=Q),ie=(0,f.Wn)((0,f.Wn)(X)-1)x||(0,f.Wn)((q*ye+H*de)/ne-.5)>.3||I*W+O*j+z*$2?ye[2]%360*f.uR:0,ue()):[$*f.RW,U*f.RW,G*f.RW]},ie.angle=function(ye){return arguments.length?(q=ye%360*f.uR,ue()):q*f.RW},ie.reflectX=function(ye){return arguments.length?(H=ye?-1:1,ue()):H<0},ie.reflectY=function(ye){return arguments.length?(ne=ye?-1:1,ue()):ne<0},ie.precision=function(ye){return arguments.length?(b=h(R,re=ye*ye),ce()):(0,f._b)(re)},ie.fitExtent=function(ye,de){return(0,u.qg)(ie,ye,de)},ie.fitSize=function(ye,de){return(0,u.mF)(ie,ye,de)},ie.fitWidth=function(ye,de){return(0,u.V6)(ie,ye,de)},ie.fitHeight=function(ye,de){return(0,u.rf)(ie,ye,de)},function(){return k=_.apply(this,arguments),ie.invert=k.invert&&oe,ue()}}},26867:function(T,p,t){t.d(p,{K:function(){return i},Z:function(){return M}});var d=t(15002),g=t(39695);function i(v,f){var l=f*f,a=l*l;return[v*(.8707-.131979*l+a*(a*(.003971*l-.001529*a)-.013791)),f*(1.007226+l*(.015085+a*(.028874*l-.044475-.005916*a)))]}function M(){return(0,d.Z)(i).scale(175.295)}i.invert=function(v,f){var l,a=f,u=25;do{var o=a*a,s=o*o;a-=l=(a*(1.007226+o*(.015085+s*(.028874*o-.044475-.005916*s)))-f)/(1.007226+o*(.045255+s*(.259866*o-.311325-.06507600000000001*s)))}while((0,g.Wn)(l)>g.Ho&&--u>0);return[v/(.8707+(o=a*a)*(o*(o*o*o*(.003971-.001529*o)-.013791)-.131979)),a]}},57962:function(T,p,t){t.d(p,{I:function(){return M},Z:function(){return v}});var d=t(39695),g=t(25382),i=t(15002);function M(f,l){return[(0,d.mC)(l)*(0,d.O$)(f),(0,d.O$)(l)]}function v(){return(0,i.Z)(M).scale(249.5).clipAngle(90+d.Ho)}M.invert=(0,g.O)(d.ZR)},49386:function(T,p,t){t.d(p,{I:function(){return M},Z:function(){return a}});var d=t(96059),g=t(39695);function i(u,o){return[(0,g.Wn)(u)>g.pi?u+Math.round(-u/g.BZ)*g.BZ:u,o]}function M(u,o,s){return(u%=g.BZ)?o||s?(0,d.Z)(f(u),l(o,s)):f(u):o||s?l(o,s):i}function v(u){return function(o,s){return[(o+=u)>g.pi?o-g.BZ:o<-g.pi?o+g.BZ:o,s]}}function f(u){var o=v(u);return o.invert=v(-u),o}function l(u,o){var s=(0,g.mC)(u),h=(0,g.O$)(u),c=(0,g.mC)(o),m=(0,g.O$)(o);function w(y,C){var _=(0,g.mC)(C),k=(0,g.mC)(y)*_,E=(0,g.O$)(y)*_,x=(0,g.O$)(C),A=x*s+k*h;return[(0,g.fv)(E*c-A*m,k*s-x*h),(0,g.ZR)(A*c+E*m)]}return w.invert=function(y,C){var _=(0,g.mC)(C),k=(0,g.mC)(y)*_,E=(0,g.O$)(y)*_,x=(0,g.O$)(C),A=x*c-E*m;return[(0,g.fv)(E*c+x*m,k*s+A*h),(0,g.ZR)(A*s-k*h)]},w}function a(u){function o(s){return(s=u(s[0]*g.uR,s[1]*g.uR))[0]*=g.RW,s[1]*=g.RW,s}return u=M(u[0]*g.uR,u[1]*g.uR,u.length>2?u[2]*g.uR:0),o.invert=function(s){return(s=u.invert(s[0]*g.uR,s[1]*g.uR))[0]*=g.RW,s[1]*=g.RW,s},o}i.invert=i},72736:function(T,p,t){function d(l,a){l&&i.hasOwnProperty(l.type)&&i[l.type](l,a)}t.d(p,{Z:function(){return f}});var g={Feature:function(l,a){d(l.geometry,a)},FeatureCollection:function(l,a){for(var u=l.features,o=-1,s=u.length;++o=0;)ae+=fe[be].value;else ae=1;Ce.value=ae}function f(Ce,ae){var fe,be,ke,Le,Be,ze=new o(Ce),je=+Ce.value&&(ze.value=Ce.value),ge=[ze];for(ae==null&&(ae=l);fe=ge.pop();)if(je&&(fe.value=+fe.data.value),(ke=ae(fe.data))&&(Be=ke.length))for(fe.children=new Array(Be),Le=Be-1;Le>=0;--Le)ge.push(be=fe.children[Le]=new o(ke[Le])),be.parent=fe,be.depth=fe.depth+1;return ze.eachBefore(u)}function l(Ce){return Ce.children}function a(Ce){Ce.data=Ce.data.data}function u(Ce){var ae=0;do Ce.height=ae;while((Ce=Ce.parent)&&Ce.height<++ae)}function o(Ce){this.data=Ce,this.depth=this.height=0,this.parent=null}t.r(p),t.d(p,{cluster:function(){return M},hierarchy:function(){return f},pack:function(){return N},packEnclose:function(){return h},packSiblings:function(){return R},partition:function(){return q},stratify:function(){return X},tree:function(){return ye},treemap:function(){return Pe},treemapBinary:function(){return _e},treemapDice:function(){return G},treemapResquarify:function(){return Se},treemapSlice:function(){return de},treemapSliceDice:function(){return Me},treemapSquarify:function(){return xe}}),o.prototype=f.prototype={constructor:o,count:function(){return this.eachAfter(v)},each:function(Ce){var ae,fe,be,ke,Le=this,Be=[Le];do for(ae=Be.reverse(),Be=[];Le=ae.pop();)if(Ce(Le),fe=Le.children)for(be=0,ke=fe.length;be=0;--fe)ke.push(ae[fe]);return this},sum:function(Ce){return this.eachAfter(function(ae){for(var fe=+Ce(ae.data)||0,be=ae.children,ke=be&&be.length;--ke>=0;)fe+=be[ke].value;ae.value=fe})},sort:function(Ce){return this.eachBefore(function(ae){ae.children&&ae.children.sort(Ce)})},path:function(Ce){for(var ae=this,fe=function(Le,Be){if(Le===Be)return Le;var ze=Le.ancestors(),je=Be.ancestors(),ge=null;for(Le=ze.pop(),Be=je.pop();Le===Be;)ge=Le,Le=ze.pop(),Be=je.pop();return ge}(ae,Ce),be=[ae];ae!==fe;)ae=ae.parent,be.push(ae);for(var ke=be.length;Ce!==fe;)be.splice(ke,0,Ce),Ce=Ce.parent;return be},ancestors:function(){for(var Ce=this,ae=[Ce];Ce=Ce.parent;)ae.push(Ce);return ae},descendants:function(){var Ce=[];return this.each(function(ae){Ce.push(ae)}),Ce},leaves:function(){var Ce=[];return this.eachBefore(function(ae){ae.children||Ce.push(ae)}),Ce},links:function(){var Ce=this,ae=[];return Ce.each(function(fe){fe!==Ce&&ae.push({source:fe.parent,target:fe})}),ae},copy:function(){return f(this).eachBefore(a)}};var s=Array.prototype.slice;function h(Ce){for(var ae,fe,be=0,ke=(Ce=function(Be){for(var ze,je,ge=Be.length;ge;)je=Math.random()*ge--|0,ze=Be[ge],Be[ge]=Be[je],Be[je]=ze;return Be}(s.call(Ce))).length,Le=[];be0&&fe*fe>be*be+ke*ke}function y(Ce,ae){for(var fe=0;fe(Be*=Be)?(be=(ge+Be-ke)/(2*ge),Le=Math.sqrt(Math.max(0,Be/ge-be*be)),fe.x=Ce.x-be*ze-Le*je,fe.y=Ce.y-be*je+Le*ze):(be=(ge+ke-Be)/(2*ge),Le=Math.sqrt(Math.max(0,ke/ge-be*be)),fe.x=ae.x+be*ze-Le*je,fe.y=ae.y+be*je+Le*ze)):(fe.x=ae.x+fe.r,fe.y=ae.y)}function x(Ce,ae){var fe=Ce.r+ae.r-1e-6,be=ae.x-Ce.x,ke=ae.y-Ce.y;return fe>0&&fe*fe>be*be+ke*ke}function A(Ce){var ae=Ce._,fe=Ce.next._,be=ae.r+fe.r,ke=(ae.x*fe.r+fe.x*ae.r)/be,Le=(ae.y*fe.r+fe.y*ae.r)/be;return ke*ke+Le*Le}function L(Ce){this._=Ce,this.next=null,this.previous=null}function b(Ce){if(!(ke=Ce.length))return 0;var ae,fe,be,ke,Le,Be,ze,je,ge,we,Ee;if((ae=Ce[0]).x=0,ae.y=0,!(ke>1))return ae.r;if(fe=Ce[1],ae.x=-fe.r,fe.x=ae.r,fe.y=0,!(ke>2))return ae.r+fe.r;E(fe,ae,be=Ce[2]),ae=new L(ae),fe=new L(fe),be=new L(be),ae.next=be.previous=fe,fe.next=ae.previous=be,be.next=fe.previous=ae;e:for(ze=3;ze0)throw new Error("cycle");return Be}return fe.id=function(be){return arguments.length?(Ce=O(be),fe):Ce},fe.parentId=function(be){return arguments.length?(ae=O(be),fe):ae},fe}function Q(Ce,ae){return Ce.parent===ae.parent?1:2}function re(Ce){var ae=Ce.children;return ae?ae[0]:Ce.t}function ie(Ce){var ae=Ce.children;return ae?ae[ae.length-1]:Ce.t}function oe(Ce,ae,fe){var be=fe/(ae.i-Ce.i);ae.c-=be,ae.s+=fe,Ce.c+=be,ae.z+=fe,ae.m+=fe}function ue(Ce,ae,fe){return Ce.a.parent===ae.parent?Ce.a:fe}function ce(Ce,ae){this._=Ce,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=ae}function ye(){var Ce=Q,ae=1,fe=1,be=null;function ke(je){var ge=function(ht){for(var bt,Et,kt,xt,Ft,Ot=new ce(ht,0),Bt=[Ot];bt=Bt.pop();)if(kt=bt._.children)for(bt.children=new Array(Ft=kt.length),xt=Ft-1;xt>=0;--xt)Bt.push(Et=bt.children[xt]=new ce(kt[xt],xt)),Et.parent=bt;return(Ot.parent=new ce(null,0)).children=[Ot],Ot}(je);if(ge.eachAfter(Le),ge.parent.m=-ge.z,ge.eachBefore(Be),be)je.eachBefore(ze);else{var we=je,Ee=je,Ve=je;je.eachBefore(function(ht){ht.xEe.x&&(Ee=ht),ht.depth>Ve.depth&&(Ve=ht)});var $e=we===Ee?1:Ce(we,Ee)/2,Ye=$e-we.x,st=ae/(Ee.x+$e+Ye),ot=fe/(Ve.depth||1);je.eachBefore(function(ht){ht.x=(ht.x+Ye)*st,ht.y=ht.depth*ot})}return je}function Le(je){var ge=je.children,we=je.parent.children,Ee=je.i?we[je.i-1]:null;if(ge){(function($e){for(var Ye,st=0,ot=0,ht=$e.children,bt=ht.length;--bt>=0;)(Ye=ht[bt]).z+=st,Ye.m+=st,st+=Ye.s+(ot+=Ye.c)})(je);var Ve=(ge[0].z+ge[ge.length-1].z)/2;Ee?(je.z=Ee.z+Ce(je._,Ee._),je.m=je.z-Ve):je.z=Ve}else Ee&&(je.z=Ee.z+Ce(je._,Ee._));je.parent.A=function($e,Ye,st){if(Ye){for(var ot,ht=$e,bt=$e,Et=Ye,kt=ht.parent.children[0],xt=ht.m,Ft=bt.m,Ot=Et.m,Bt=kt.m;Et=ie(Et),ht=re(ht),Et&&ht;)kt=re(kt),(bt=ie(bt)).a=$e,(ot=Et.z+Ot-ht.z-xt+Ce(Et._,ht._))>0&&(oe(ue(Et,$e,st),$e,ot),xt+=ot,Ft+=ot),Ot+=Et.m,xt+=ht.m,Bt+=kt.m,Ft+=bt.m;Et&&!ie(bt)&&(bt.t=Et,bt.m+=Ot-Ft),ht&&!re(kt)&&(kt.t=ht,kt.m+=xt-Bt,st=$e)}return st}(je,Ee,je.parent.A||we[0])}function Be(je){je._.x=je.z+je.parent.m,je.m+=je.parent.m}function ze(je){je.x*=ae,je.y=je.depth*fe}return ke.separation=function(je){return arguments.length?(Ce=je,ke):Ce},ke.size=function(je){return arguments.length?(be=!1,ae=+je[0],fe=+je[1],ke):be?null:[ae,fe]},ke.nodeSize=function(je){return arguments.length?(be=!0,ae=+je[0],fe=+je[1],ke):be?[ae,fe]:null},ke}function de(Ce,ae,fe,be,ke){for(var Le,Be=Ce.children,ze=-1,je=Be.length,ge=Ce.value&&(ke-fe)/Ce.value;++zeVe&&(Ve=ze),ot=we*we*st,($e=Math.max(Ve/ot,ot/Ee))>Ye){we-=ze;break}Ye=$e}ht.push(Be={value:we,dice:je1?be:1)},fe}(me);function Pe(){var Ce=xe,ae=!1,fe=1,be=1,ke=[0],Le=z,Be=z,ze=z,je=z,ge=z;function we(Ve){return Ve.x0=Ve.y0=0,Ve.x1=fe,Ve.y1=be,Ve.eachBefore(Ee),ke=[0],ae&&Ve.eachBefore(U),Ve}function Ee(Ve){var $e=ke[Ve.depth],Ye=Ve.x0+$e,st=Ve.y0+$e,ot=Ve.x1-$e,ht=Ve.y1-$e;ot=Ve-1){var bt=ze[Ee];return bt.x0=Ye,bt.y0=st,bt.x1=ot,void(bt.y1=ht)}for(var Et=ge[Ee],kt=$e/2+Et,xt=Ee+1,Ft=Ve-1;xt>>1;ge[Ot]ht-st){var Vt=(Ye*qt+ot*Bt)/$e;we(Ee,xt,Bt,Ye,st,Vt,ht),we(xt,Ve,qt,Vt,st,ot,ht)}else{var Ke=(st*qt+ht*Bt)/$e;we(Ee,xt,Bt,Ye,st,ot,Ke),we(xt,Ve,qt,Ye,Ke,ot,ht)}})(0,je,Ce.value,ae,fe,be,ke)}function Me(Ce,ae,fe,be,ke){(1&Ce.depth?de:G)(Ce,ae,fe,be,ke)}var Se=function Ce(ae){function fe(be,ke,Le,Be,ze){if((je=be._squarify)&&je.ratio===ae)for(var je,ge,we,Ee,Ve,$e=-1,Ye=je.length,st=be.value;++$e1?be:1)},fe}(me)},45879:function(T,p,t){t.d(p,{h5:function(){return w}});var d=Math.PI,g=2*d,i=1e-6,M=g-i;function v(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function f(){return new v}v.prototype=f.prototype={constructor:v,moveTo:function(y,C){this._+="M"+(this._x0=this._x1=+y)+","+(this._y0=this._y1=+C)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(y,C){this._+="L"+(this._x1=+y)+","+(this._y1=+C)},quadraticCurveTo:function(y,C,_,k){this._+="Q"+ +y+","+ +C+","+(this._x1=+_)+","+(this._y1=+k)},bezierCurveTo:function(y,C,_,k,E,x){this._+="C"+ +y+","+ +C+","+ +_+","+ +k+","+(this._x1=+E)+","+(this._y1=+x)},arcTo:function(y,C,_,k,E){y=+y,C=+C,_=+_,k=+k,E=+E;var x=this._x1,A=this._y1,L=_-y,b=k-C,R=x-y,I=A-C,O=R*R+I*I;if(E<0)throw new Error("negative radius: "+E);if(this._x1===null)this._+="M"+(this._x1=y)+","+(this._y1=C);else if(O>i)if(Math.abs(I*L-b*R)>i&&E){var z=_-x,F=k-A,B=L*L+b*b,N=z*z+F*F,W=Math.sqrt(B),j=Math.sqrt(O),$=E*Math.tan((d-Math.acos((B+O-N)/(2*W*j)))/2),U=$/j,G=$/W;Math.abs(U-1)>i&&(this._+="L"+(y+U*R)+","+(C+U*I)),this._+="A"+E+","+E+",0,0,"+ +(I*z>R*F)+","+(this._x1=y+G*L)+","+(this._y1=C+G*b)}else this._+="L"+(this._x1=y)+","+(this._y1=C)},arc:function(y,C,_,k,E,x){y=+y,C=+C,x=!!x;var A=(_=+_)*Math.cos(k),L=_*Math.sin(k),b=y+A,R=C+L,I=1^x,O=x?k-E:E-k;if(_<0)throw new Error("negative radius: "+_);this._x1===null?this._+="M"+b+","+R:(Math.abs(this._x1-b)>i||Math.abs(this._y1-R)>i)&&(this._+="L"+b+","+R),_&&(O<0&&(O=O%g+g),O>M?this._+="A"+_+","+_+",0,1,"+I+","+(y-A)+","+(C-L)+"A"+_+","+_+",0,1,"+I+","+(this._x1=b)+","+(this._y1=R):O>i&&(this._+="A"+_+","+_+",0,"+ +(O>=d)+","+I+","+(this._x1=y+_*Math.cos(E))+","+(this._y1=C+_*Math.sin(E))))},rect:function(y,C,_,k){this._+="M"+(this._x0=this._x1=+y)+","+(this._y0=this._y1=+C)+"h"+ +_+"v"+ +k+"h"+-_+"Z"},toString:function(){return this._}};var l=f,a=Array.prototype.slice;function u(y){return function(){return y}}function o(y){return y[0]}function s(y){return y[1]}function h(y){return y.source}function c(y){return y.target}function m(y,C,_,k,E){y.moveTo(C,_),y.bezierCurveTo(C=(C+k)/2,_,C,E,k,E)}function w(){return function(y){var C=h,_=c,k=o,E=s,x=null;function A(){var L,b=a.call(arguments),R=C.apply(this,b),I=_.apply(this,b);if(x||(x=L=l()),y(x,+k.apply(this,(b[0]=R,b)),+E.apply(this,b),+k.apply(this,(b[0]=I,b)),+E.apply(this,b)),L)return x=null,L+""||null}return A.source=function(L){return arguments.length?(C=L,A):C},A.target=function(L){return arguments.length?(_=L,A):_},A.x=function(L){return arguments.length?(k=typeof L=="function"?L:u(+L),A):k},A.y=function(L){return arguments.length?(E=typeof L=="function"?L:u(+L),A):E},A.context=function(L){return arguments.length?(x=L??null,A):x},A}(m)}},84096:function(T,p,t){t.d(p,{i$:function(){return h},Dq:function(){return o},g0:function(){return c}});var d=t(58176),g=t(48480),i=t(59879),M=t(82301),v=t(34823),f=t(79791);function l(xt){if(0<=xt.y&&xt.y<100){var Ft=new Date(-1,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L);return Ft.setFullYear(xt.y),Ft}return new Date(xt.y,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L)}function a(xt){if(0<=xt.y&&xt.y<100){var Ft=new Date(Date.UTC(-1,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L));return Ft.setUTCFullYear(xt.y),Ft}return new Date(Date.UTC(xt.y,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L))}function u(xt,Ft,Ot){return{y:xt,m:Ft,d:Ot,H:0,M:0,S:0,L:0}}function o(xt){var Ft=xt.dateTime,Ot=xt.date,Bt=xt.time,qt=xt.periods,Vt=xt.days,Ke=xt.shortDays,Je=xt.months,qe=xt.shortMonths,nt=E(qt),ft=x(qt),Re=E(Vt),Ne=x(Vt),Qe=E(Ke),ut=x(Ke),dt=E(Je),_t=x(Je),It=E(qe),Lt=x(qe),yt={a:function(Wt){return Ke[Wt.getDay()]},A:function(Wt){return Vt[Wt.getDay()]},b:function(Wt){return qe[Wt.getMonth()]},B:function(Wt){return Je[Wt.getMonth()]},c:null,d:X,e:X,f:ue,H:Q,I:re,j:ie,L:oe,m:ce,M:ye,p:function(Wt){return qt[+(Wt.getHours()>=12)]},q:function(Wt){return 1+~~(Wt.getMonth()/3)},Q:Et,s:kt,S:de,u:me,U:pe,V:xe,w:Pe,W:_e,x:null,X:null,y:Me,Y:Se,Z:Ce,"%":bt},Pt={a:function(Wt){return Ke[Wt.getUTCDay()]},A:function(Wt){return Vt[Wt.getUTCDay()]},b:function(Wt){return qe[Wt.getUTCMonth()]},B:function(Wt){return Je[Wt.getUTCMonth()]},c:null,d:ae,e:ae,f:Be,H:fe,I:be,j:ke,L:Le,m:ze,M:je,p:function(Wt){return qt[+(Wt.getUTCHours()>=12)]},q:function(Wt){return 1+~~(Wt.getUTCMonth()/3)},Q:Et,s:kt,S:ge,u:we,U:Ee,V:Ve,w:$e,W:Ye,x:null,X:null,y:st,Y:ot,Z:ht,"%":bt},wt={a:function(Wt,Xt,Qt){var rn=Qe.exec(Xt.slice(Qt));return rn?(Wt.w=ut[rn[0].toLowerCase()],Qt+rn[0].length):-1},A:function(Wt,Xt,Qt){var rn=Re.exec(Xt.slice(Qt));return rn?(Wt.w=Ne[rn[0].toLowerCase()],Qt+rn[0].length):-1},b:function(Wt,Xt,Qt){var rn=It.exec(Xt.slice(Qt));return rn?(Wt.m=Lt[rn[0].toLowerCase()],Qt+rn[0].length):-1},B:function(Wt,Xt,Qt){var rn=dt.exec(Xt.slice(Qt));return rn?(Wt.m=_t[rn[0].toLowerCase()],Qt+rn[0].length):-1},c:function(Wt,Xt,Qt){return Yt(Wt,Ft,Xt,Qt)},d:W,e:W,f:H,H:$,I:$,j,L:q,m:N,M:U,p:function(Wt,Xt,Qt){var rn=nt.exec(Xt.slice(Qt));return rn?(Wt.p=ft[rn[0].toLowerCase()],Qt+rn[0].length):-1},q:B,Q:te,s:Z,S:G,u:L,U:b,V:R,w:A,W:I,x:function(Wt,Xt,Qt){return Yt(Wt,Ot,Xt,Qt)},X:function(Wt,Xt,Qt){return Yt(Wt,Bt,Xt,Qt)},y:z,Y:O,Z:F,"%":ne};function Rt(Wt,Xt){return function(Qt){var rn,xn,un,An=[],Yn=-1,kn=0,sn=Wt.length;for(Qt instanceof Date||(Qt=new Date(+Qt));++Yn53)return null;"w"in un||(un.w=1),"Z"in un?(xn=(rn=a(u(un.y,0,1))).getUTCDay(),rn=xn>4||xn===0?d.l6.ceil(rn):(0,d.l6)(rn),rn=g.Z.offset(rn,7*(un.V-1)),un.y=rn.getUTCFullYear(),un.m=rn.getUTCMonth(),un.d=rn.getUTCDate()+(un.w+6)%7):(xn=(rn=l(u(un.y,0,1))).getDay(),rn=xn>4||xn===0?i.wA.ceil(rn):(0,i.wA)(rn),rn=M.Z.offset(rn,7*(un.V-1)),un.y=rn.getFullYear(),un.m=rn.getMonth(),un.d=rn.getDate()+(un.w+6)%7)}else("W"in un||"U"in un)&&("w"in un||(un.w="u"in un?un.u%7:"W"in un?1:0),xn="Z"in un?a(u(un.y,0,1)).getUTCDay():l(u(un.y,0,1)).getDay(),un.m=0,un.d="W"in un?(un.w+6)%7+7*un.W-(xn+5)%7:un.w+7*un.U-(xn+6)%7);return"Z"in un?(un.H+=un.Z/100|0,un.M+=un.Z%100,a(un)):l(un)}}function Yt(Wt,Xt,Qt,rn){for(var xn,un,An=0,Yn=Xt.length,kn=Qt.length;An=kn)return-1;if((xn=Xt.charCodeAt(An++))===37){if(xn=Xt.charAt(An++),!(un=wt[xn in m?Xt.charAt(An++):xn])||(rn=un(Wt,Qt,rn))<0)return-1}else if(xn!=Qt.charCodeAt(rn++))return-1}return rn}return yt.x=Rt(Ot,yt),yt.X=Rt(Bt,yt),yt.c=Rt(Ft,yt),Pt.x=Rt(Ot,Pt),Pt.X=Rt(Bt,Pt),Pt.c=Rt(Ft,Pt),{format:function(Wt){var Xt=Rt(Wt+="",yt);return Xt.toString=function(){return Wt},Xt},parse:function(Wt){var Xt=Nt(Wt+="",!1);return Xt.toString=function(){return Wt},Xt},utcFormat:function(Wt){var Xt=Rt(Wt+="",Pt);return Xt.toString=function(){return Wt},Xt},utcParse:function(Wt){var Xt=Nt(Wt+="",!0);return Xt.toString=function(){return Wt},Xt}}}var s,h,c,m={"-":"",_:" ",0:"0"},w=/^\s*\d+/,y=/^%/,C=/[\\^$*+?|[\]().{}]/g;function _(xt,Ft,Ot){var Bt=xt<0?"-":"",qt=(Bt?-xt:xt)+"",Vt=qt.length;return Bt+(Vt68?1900:2e3),Ot+Bt[0].length):-1}function F(xt,Ft,Ot){var Bt=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(Ft.slice(Ot,Ot+6));return Bt?(xt.Z=Bt[1]?0:-(Bt[2]+(Bt[3]||"00")),Ot+Bt[0].length):-1}function B(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+1));return Bt?(xt.q=3*Bt[0]-3,Ot+Bt[0].length):-1}function N(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+2));return Bt?(xt.m=Bt[0]-1,Ot+Bt[0].length):-1}function W(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+2));return Bt?(xt.d=+Bt[0],Ot+Bt[0].length):-1}function j(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+3));return Bt?(xt.m=0,xt.d=+Bt[0],Ot+Bt[0].length):-1}function $(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+2));return Bt?(xt.H=+Bt[0],Ot+Bt[0].length):-1}function U(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+2));return Bt?(xt.M=+Bt[0],Ot+Bt[0].length):-1}function G(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+2));return Bt?(xt.S=+Bt[0],Ot+Bt[0].length):-1}function q(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+3));return Bt?(xt.L=+Bt[0],Ot+Bt[0].length):-1}function H(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+6));return Bt?(xt.L=Math.floor(Bt[0]/1e3),Ot+Bt[0].length):-1}function ne(xt,Ft,Ot){var Bt=y.exec(Ft.slice(Ot,Ot+1));return Bt?Ot+Bt[0].length:-1}function te(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot));return Bt?(xt.Q=+Bt[0],Ot+Bt[0].length):-1}function Z(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot));return Bt?(xt.s=+Bt[0],Ot+Bt[0].length):-1}function X(xt,Ft){return _(xt.getDate(),Ft,2)}function Q(xt,Ft){return _(xt.getHours(),Ft,2)}function re(xt,Ft){return _(xt.getHours()%12||12,Ft,2)}function ie(xt,Ft){return _(1+M.Z.count((0,v.Z)(xt),xt),Ft,3)}function oe(xt,Ft){return _(xt.getMilliseconds(),Ft,3)}function ue(xt,Ft){return oe(xt,Ft)+"000"}function ce(xt,Ft){return _(xt.getMonth()+1,Ft,2)}function ye(xt,Ft){return _(xt.getMinutes(),Ft,2)}function de(xt,Ft){return _(xt.getSeconds(),Ft,2)}function me(xt){var Ft=xt.getDay();return Ft===0?7:Ft}function pe(xt,Ft){return _(i.OM.count((0,v.Z)(xt)-1,xt),Ft,2)}function xe(xt,Ft){var Ot=xt.getDay();return xt=Ot>=4||Ot===0?(0,i.bL)(xt):i.bL.ceil(xt),_(i.bL.count((0,v.Z)(xt),xt)+((0,v.Z)(xt).getDay()===4),Ft,2)}function Pe(xt){return xt.getDay()}function _e(xt,Ft){return _(i.wA.count((0,v.Z)(xt)-1,xt),Ft,2)}function Me(xt,Ft){return _(xt.getFullYear()%100,Ft,2)}function Se(xt,Ft){return _(xt.getFullYear()%1e4,Ft,4)}function Ce(xt){var Ft=xt.getTimezoneOffset();return(Ft>0?"-":(Ft*=-1,"+"))+_(Ft/60|0,"0",2)+_(Ft%60,"0",2)}function ae(xt,Ft){return _(xt.getUTCDate(),Ft,2)}function fe(xt,Ft){return _(xt.getUTCHours(),Ft,2)}function be(xt,Ft){return _(xt.getUTCHours()%12||12,Ft,2)}function ke(xt,Ft){return _(1+g.Z.count((0,f.Z)(xt),xt),Ft,3)}function Le(xt,Ft){return _(xt.getUTCMilliseconds(),Ft,3)}function Be(xt,Ft){return Le(xt,Ft)+"000"}function ze(xt,Ft){return _(xt.getUTCMonth()+1,Ft,2)}function je(xt,Ft){return _(xt.getUTCMinutes(),Ft,2)}function ge(xt,Ft){return _(xt.getUTCSeconds(),Ft,2)}function we(xt){var Ft=xt.getUTCDay();return Ft===0?7:Ft}function Ee(xt,Ft){return _(d.Ox.count((0,f.Z)(xt)-1,xt),Ft,2)}function Ve(xt,Ft){var Ot=xt.getUTCDay();return xt=Ot>=4||Ot===0?(0,d.hB)(xt):d.hB.ceil(xt),_(d.hB.count((0,f.Z)(xt),xt)+((0,f.Z)(xt).getUTCDay()===4),Ft,2)}function $e(xt){return xt.getUTCDay()}function Ye(xt,Ft){return _(d.l6.count((0,f.Z)(xt)-1,xt),Ft,2)}function st(xt,Ft){return _(xt.getUTCFullYear()%100,Ft,2)}function ot(xt,Ft){return _(xt.getUTCFullYear()%1e4,Ft,4)}function ht(){return"+0000"}function bt(){return"%"}function Et(xt){return+xt}function kt(xt){return Math.floor(+xt/1e3)}s=o({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),h=s.format,s.parse,c=s.utcFormat,s.utcParse},82301:function(T,p,t){t.d(p,{a:function(){return M}});var d=t(30052),g=t(54263),i=(0,d.Z)(function(v){v.setHours(0,0,0,0)},function(v,f){v.setDate(v.getDate()+f)},function(v,f){return(f-v-(f.getTimezoneOffset()-v.getTimezoneOffset())*g.yB)/g.UD},function(v){return v.getDate()-1});p.Z=i;var M=i.range},54263:function(T,p,t){t.d(p,{UD:function(){return M},Y2:function(){return i},Ym:function(){return d},iM:function(){return v},yB:function(){return g}});var d=1e3,g=6e4,i=36e5,M=864e5,v=6048e5},81041:function(T,p,t){t.r(p),t.d(p,{timeDay:function(){return w.Z},timeDays:function(){return w.a},timeFriday:function(){return y.mC},timeFridays:function(){return y.b$},timeHour:function(){return c},timeHours:function(){return m},timeInterval:function(){return d.Z},timeMillisecond:function(){return i},timeMilliseconds:function(){return M},timeMinute:function(){return o},timeMinutes:function(){return s},timeMonday:function(){return y.wA},timeMondays:function(){return y.bJ},timeMonth:function(){return _},timeMonths:function(){return k},timeSaturday:function(){return y.EY},timeSaturdays:function(){return y.Ff},timeSecond:function(){return l},timeSeconds:function(){return a},timeSunday:function(){return y.OM},timeSundays:function(){return y.vm},timeThursday:function(){return y.bL},timeThursdays:function(){return y.$t},timeTuesday:function(){return y.sy},timeTuesdays:function(){return y.aU},timeWednesday:function(){return y.zg},timeWednesdays:function(){return y.Ld},timeWeek:function(){return y.OM},timeWeeks:function(){return y.vm},timeYear:function(){return E.Z},timeYears:function(){return E.g},utcDay:function(){return O.Z},utcDays:function(){return O.y},utcFriday:function(){return z.QQ},utcFridays:function(){return z.fz},utcHour:function(){return R},utcHours:function(){return I},utcMillisecond:function(){return i},utcMilliseconds:function(){return M},utcMinute:function(){return A},utcMinutes:function(){return L},utcMonday:function(){return z.l6},utcMondays:function(){return z.$3},utcMonth:function(){return B},utcMonths:function(){return N},utcSaturday:function(){return z.g4},utcSaturdays:function(){return z.Q_},utcSecond:function(){return l},utcSeconds:function(){return a},utcSunday:function(){return z.Ox},utcSundays:function(){return z.SU},utcThursday:function(){return z.hB},utcThursdays:function(){return z.xj},utcTuesday:function(){return z.J1},utcTuesdays:function(){return z.DK},utcWednesday:function(){return z.b3},utcWednesdays:function(){return z.uy},utcWeek:function(){return z.Ox},utcWeeks:function(){return z.SU},utcYear:function(){return W.Z},utcYears:function(){return W.D}});var d=t(30052),g=(0,d.Z)(function(){},function(j,$){j.setTime(+j+$)},function(j,$){return $-j});g.every=function(j){return j=Math.floor(j),isFinite(j)&&j>0?j>1?(0,d.Z)(function($){$.setTime(Math.floor($/j)*j)},function($,U){$.setTime(+$+U*j)},function($,U){return(U-$)/j}):g:null};var i=g,M=g.range,v=t(54263),f=(0,d.Z)(function(j){j.setTime(j-j.getMilliseconds())},function(j,$){j.setTime(+j+$*v.Ym)},function(j,$){return($-j)/v.Ym},function(j){return j.getUTCSeconds()}),l=f,a=f.range,u=(0,d.Z)(function(j){j.setTime(j-j.getMilliseconds()-j.getSeconds()*v.Ym)},function(j,$){j.setTime(+j+$*v.yB)},function(j,$){return($-j)/v.yB},function(j){return j.getMinutes()}),o=u,s=u.range,h=(0,d.Z)(function(j){j.setTime(j-j.getMilliseconds()-j.getSeconds()*v.Ym-j.getMinutes()*v.yB)},function(j,$){j.setTime(+j+$*v.Y2)},function(j,$){return($-j)/v.Y2},function(j){return j.getHours()}),c=h,m=h.range,w=t(82301),y=t(59879),C=(0,d.Z)(function(j){j.setDate(1),j.setHours(0,0,0,0)},function(j,$){j.setMonth(j.getMonth()+$)},function(j,$){return $.getMonth()-j.getMonth()+12*($.getFullYear()-j.getFullYear())},function(j){return j.getMonth()}),_=C,k=C.range,E=t(34823),x=(0,d.Z)(function(j){j.setUTCSeconds(0,0)},function(j,$){j.setTime(+j+$*v.yB)},function(j,$){return($-j)/v.yB},function(j){return j.getUTCMinutes()}),A=x,L=x.range,b=(0,d.Z)(function(j){j.setUTCMinutes(0,0,0)},function(j,$){j.setTime(+j+$*v.Y2)},function(j,$){return($-j)/v.Y2},function(j){return j.getUTCHours()}),R=b,I=b.range,O=t(48480),z=t(58176),F=(0,d.Z)(function(j){j.setUTCDate(1),j.setUTCHours(0,0,0,0)},function(j,$){j.setUTCMonth(j.getUTCMonth()+$)},function(j,$){return $.getUTCMonth()-j.getUTCMonth()+12*($.getUTCFullYear()-j.getUTCFullYear())},function(j){return j.getUTCMonth()}),B=F,N=F.range,W=t(79791)},30052:function(T,p,t){t.d(p,{Z:function(){return i}});var d=new Date,g=new Date;function i(M,v,f,l){function a(u){return M(u=arguments.length===0?new Date:new Date(+u)),u}return a.floor=function(u){return M(u=new Date(+u)),u},a.ceil=function(u){return M(u=new Date(u-1)),v(u,1),M(u),u},a.round=function(u){var o=a(u),s=a.ceil(u);return u-o0))return c;do c.push(h=new Date(+u)),v(u,s),M(u);while(h=o)for(;M(o),!u(o);)o.setTime(o-1)},function(o,s){if(o>=o)if(s<0)for(;++s<=0;)for(;v(o,-1),!u(o););else for(;--s>=0;)for(;v(o,1),!u(o););})},f&&(a.count=function(u,o){return d.setTime(+u),g.setTime(+o),M(d),M(g),Math.floor(f(d,g))},a.every=function(u){return u=Math.floor(u),isFinite(u)&&u>0?u>1?a.filter(l?function(o){return l(o)%u==0}:function(o){return a.count(0,o)%u==0}):a:null}),a}},48480:function(T,p,t){t.d(p,{y:function(){return M}});var d=t(30052),g=t(54263),i=(0,d.Z)(function(v){v.setUTCHours(0,0,0,0)},function(v,f){v.setUTCDate(v.getUTCDate()+f)},function(v,f){return(f-v)/g.UD},function(v){return v.getUTCDate()-1});p.Z=i;var M=i.range},58176:function(T,p,t){t.d(p,{$3:function(){return h},DK:function(){return c},J1:function(){return f},Ox:function(){return M},QQ:function(){return u},Q_:function(){return C},SU:function(){return s},b3:function(){return l},fz:function(){return y},g4:function(){return o},hB:function(){return a},l6:function(){return v},uy:function(){return m},xj:function(){return w}});var d=t(30052),g=t(54263);function i(_){return(0,d.Z)(function(k){k.setUTCDate(k.getUTCDate()-(k.getUTCDay()+7-_)%7),k.setUTCHours(0,0,0,0)},function(k,E){k.setUTCDate(k.getUTCDate()+7*E)},function(k,E){return(E-k)/g.iM})}var M=i(0),v=i(1),f=i(2),l=i(3),a=i(4),u=i(5),o=i(6),s=M.range,h=v.range,c=f.range,m=l.range,w=a.range,y=u.range,C=o.range},79791:function(T,p,t){t.d(p,{D:function(){return i}});var d=t(30052),g=(0,d.Z)(function(M){M.setUTCMonth(0,1),M.setUTCHours(0,0,0,0)},function(M,v){M.setUTCFullYear(M.getUTCFullYear()+v)},function(M,v){return v.getUTCFullYear()-M.getUTCFullYear()},function(M){return M.getUTCFullYear()});g.every=function(M){return isFinite(M=Math.floor(M))&&M>0?(0,d.Z)(function(v){v.setUTCFullYear(Math.floor(v.getUTCFullYear()/M)*M),v.setUTCMonth(0,1),v.setUTCHours(0,0,0,0)},function(v,f){v.setUTCFullYear(v.getUTCFullYear()+f*M)}):null},p.Z=g;var i=g.range},59879:function(T,p,t){t.d(p,{$t:function(){return w},EY:function(){return o},Ff:function(){return C},Ld:function(){return m},OM:function(){return M},aU:function(){return c},b$:function(){return y},bJ:function(){return h},bL:function(){return a},mC:function(){return u},sy:function(){return f},vm:function(){return s},wA:function(){return v},zg:function(){return l}});var d=t(30052),g=t(54263);function i(_){return(0,d.Z)(function(k){k.setDate(k.getDate()-(k.getDay()+7-_)%7),k.setHours(0,0,0,0)},function(k,E){k.setDate(k.getDate()+7*E)},function(k,E){return(E-k-(E.getTimezoneOffset()-k.getTimezoneOffset())*g.yB)/g.iM})}var M=i(0),v=i(1),f=i(2),l=i(3),a=i(4),u=i(5),o=i(6),s=M.range,h=v.range,c=f.range,m=l.range,w=a.range,y=u.range,C=o.range},34823:function(T,p,t){t.d(p,{g:function(){return i}});var d=t(30052),g=(0,d.Z)(function(M){M.setMonth(0,1),M.setHours(0,0,0,0)},function(M,v){M.setFullYear(M.getFullYear()+v)},function(M,v){return v.getFullYear()-M.getFullYear()},function(M){return M.getFullYear()});g.every=function(M){return isFinite(M=Math.floor(M))&&M>0?(0,d.Z)(function(v){v.setFullYear(Math.floor(v.getFullYear()/M)*M),v.setMonth(0,1),v.setHours(0,0,0,0)},function(v,f){v.setFullYear(v.getFullYear()+f*M)}):null},p.Z=g;var i=g.range},17045:function(T,p,t){var d=t(8709),g=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",i=Object.prototype.toString,M=Array.prototype.concat,v=Object.defineProperty,f=t(55622)(),l=v&&f,a=function(o,s,h,c){if(s in o){if(c===!0){if(o[s]===h)return}else if(typeof(m=c)!="function"||i.call(m)!=="[object Function]"||!c())return}var m;l?v(o,s,{configurable:!0,enumerable:!1,value:h,writable:!0}):o[s]=h},u=function(o,s){var h=arguments.length>2?arguments[2]:{},c=d(s);g&&(c=M.call(c,Object.getOwnPropertySymbols(s)));for(var m=0;ml*a){var c=(h-s)/l;f[o]=1e3*c}}return f}function g(i){for(var M=[],v=i[0];v<=i[1];v++)for(var f=String.fromCharCode(v),l=i[0];l0)return function(g,i){var M,v;for(M=new Array(g),v=0;v80*O){z=B=R[0],F=N=R[1];for(var ne=O;neB&&(B=W),j>N&&(N=j);$=($=Math.max(B-z,N-F))!==0?1/$:0}return g(q,H,O,z,F,$),H}function t(R,I,O,z,F){var B,N;if(F===b(R,I,O,z)>0)for(B=I;B=I;B-=z)N=x(B,R[B],R[B+1],N);return N&&w(N,N.next)&&(A(N),N=N.next),N}function d(R,I){if(!R)return R;I||(I=R);var O,z=R;do if(O=!1,z.steiner||!w(z,z.next)&&m(z.prev,z,z.next)!==0)z=z.next;else{if(A(z),(z=I=z.prev)===z.next)break;O=!0}while(O||z!==I);return I}function g(R,I,O,z,F,B,N){if(R){!N&&B&&function(U,G,q,H){var ne=U;do ne.z===null&&(ne.z=o(ne.x,ne.y,G,q,H)),ne.prevZ=ne.prev,ne.nextZ=ne.next,ne=ne.next;while(ne!==U);ne.prevZ.nextZ=null,ne.prevZ=null,function(te){var Z,X,Q,re,ie,oe,ue,ce,ye=1;do{for(X=te,te=null,ie=null,oe=0;X;){for(oe++,Q=X,ue=0,Z=0;Z0||ce>0&&Q;)ue!==0&&(ce===0||!Q||X.z<=Q.z)?(re=X,X=X.nextZ,ue--):(re=Q,Q=Q.nextZ,ce--),ie?ie.nextZ=re:te=re,re.prevZ=ie,ie=re;X=Q}ie.nextZ=null,ye*=2}while(oe>1)}(ne)}(R,z,F,B);for(var W,j,$=R;R.prev!==R.next;)if(W=R.prev,j=R.next,B?M(R,z,F,B):i(R))I.push(W.i/O),I.push(R.i/O),I.push(j.i/O),A(R),R=j.next,$=j.next;else if((R=j)===$){N?N===1?g(R=v(d(R),I,O),I,O,z,F,B,2):N===2&&f(R,I,O,z,F,B):g(d(R),I,O,z,F,B,1);break}}}function i(R){var I=R.prev,O=R,z=R.next;if(m(I,O,z)>=0)return!1;for(var F=R.next.next;F!==R.prev;){if(h(I.x,I.y,O.x,O.y,z.x,z.y,F.x,F.y)&&m(F.prev,F,F.next)>=0)return!1;F=F.next}return!0}function M(R,I,O,z){var F=R.prev,B=R,N=R.next;if(m(F,B,N)>=0)return!1;for(var W=F.xB.x?F.x>N.x?F.x:N.x:B.x>N.x?B.x:N.x,U=F.y>B.y?F.y>N.y?F.y:N.y:B.y>N.y?B.y:N.y,G=o(W,j,I,O,z),q=o($,U,I,O,z),H=R.prevZ,ne=R.nextZ;H&&H.z>=G&&ne&&ne.z<=q;){if(H!==R.prev&&H!==R.next&&h(F.x,F.y,B.x,B.y,N.x,N.y,H.x,H.y)&&m(H.prev,H,H.next)>=0||(H=H.prevZ,ne!==R.prev&&ne!==R.next&&h(F.x,F.y,B.x,B.y,N.x,N.y,ne.x,ne.y)&&m(ne.prev,ne,ne.next)>=0))return!1;ne=ne.nextZ}for(;H&&H.z>=G;){if(H!==R.prev&&H!==R.next&&h(F.x,F.y,B.x,B.y,N.x,N.y,H.x,H.y)&&m(H.prev,H,H.next)>=0)return!1;H=H.prevZ}for(;ne&&ne.z<=q;){if(ne!==R.prev&&ne!==R.next&&h(F.x,F.y,B.x,B.y,N.x,N.y,ne.x,ne.y)&&m(ne.prev,ne,ne.next)>=0)return!1;ne=ne.nextZ}return!0}function v(R,I,O){var z=R;do{var F=z.prev,B=z.next.next;!w(F,B)&&y(F,z,z.next,B)&&k(F,B)&&k(B,F)&&(I.push(F.i/O),I.push(z.i/O),I.push(B.i/O),A(z),A(z.next),z=R=B),z=z.next}while(z!==R);return d(z)}function f(R,I,O,z,F,B){var N=R;do{for(var W=N.next.next;W!==N.prev;){if(N.i!==W.i&&c(N,W)){var j=E(N,W);return N=d(N,N.next),j=d(j,j.next),g(N,I,O,z,F,B),void g(j,I,O,z,F,B)}W=W.next}N=N.next}while(N!==R)}function l(R,I){return R.x-I.x}function a(R,I){if(I=function(z,F){var B,N=F,W=z.x,j=z.y,$=-1/0;do{if(j<=N.y&&j>=N.next.y&&N.next.y!==N.y){var U=N.x+(j-N.y)*(N.next.x-N.x)/(N.next.y-N.y);if(U<=W&&U>$){if($=U,U===W){if(j===N.y)return N;if(j===N.next.y)return N.next}B=N.x=N.x&&N.x>=H&&W!==N.x&&h(jB.x||N.x===B.x&&u(B,N)))&&(B=N,te=G)),N=N.next;while(N!==q);return B}(R,I),I){var O=E(I,R);d(I,I.next),d(O,O.next)}}function u(R,I){return m(R.prev,R,I.prev)<0&&m(I.next,R,R.next)<0}function o(R,I,O,z,F){return(R=1431655765&((R=858993459&((R=252645135&((R=16711935&((R=32767*(R-O)*F)|R<<8))|R<<4))|R<<2))|R<<1))|(I=1431655765&((I=858993459&((I=252645135&((I=16711935&((I=32767*(I-z)*F)|I<<8))|I<<4))|I<<2))|I<<1))<<1}function s(R){var I=R,O=R;do(I.x=0&&(R-N)*(z-W)-(O-N)*(I-W)>=0&&(O-N)*(B-W)-(F-N)*(z-W)>=0}function c(R,I){return R.next.i!==I.i&&R.prev.i!==I.i&&!function(O,z){var F=O;do{if(F.i!==O.i&&F.next.i!==O.i&&F.i!==z.i&&F.next.i!==z.i&&y(F,F.next,O,z))return!0;F=F.next}while(F!==O);return!1}(R,I)&&(k(R,I)&&k(I,R)&&function(O,z){var F=O,B=!1,N=(O.x+z.x)/2,W=(O.y+z.y)/2;do F.y>W!=F.next.y>W&&F.next.y!==F.y&&N<(F.next.x-F.x)*(W-F.y)/(F.next.y-F.y)+F.x&&(B=!B),F=F.next;while(F!==O);return B}(R,I)&&(m(R.prev,R,I.prev)||m(R,I.prev,I))||w(R,I)&&m(R.prev,R,R.next)>0&&m(I.prev,I,I.next)>0)}function m(R,I,O){return(I.y-R.y)*(O.x-I.x)-(I.x-R.x)*(O.y-I.y)}function w(R,I){return R.x===I.x&&R.y===I.y}function y(R,I,O,z){var F=_(m(R,I,O)),B=_(m(R,I,z)),N=_(m(O,z,R)),W=_(m(O,z,I));return F!==B&&N!==W||!(F!==0||!C(R,O,I))||!(B!==0||!C(R,z,I))||!(N!==0||!C(O,R,z))||!(W!==0||!C(O,I,z))}function C(R,I,O){return I.x<=Math.max(R.x,O.x)&&I.x>=Math.min(R.x,O.x)&&I.y<=Math.max(R.y,O.y)&&I.y>=Math.min(R.y,O.y)}function _(R){return R>0?1:R<0?-1:0}function k(R,I){return m(R.prev,R,R.next)<0?m(R,I,R.next)>=0&&m(R,R.prev,I)>=0:m(R,I,R.prev)<0||m(R,R.next,I)<0}function E(R,I){var O=new L(R.i,R.x,R.y),z=new L(I.i,I.x,I.y),F=R.next,B=I.prev;return R.next=I,I.prev=R,O.next=F,F.prev=O,z.next=O,O.prev=z,B.next=z,z.prev=B,z}function x(R,I,O,z){var F=new L(R,I,O);return z?(F.next=z.next,F.prev=z,z.next.prev=F,z.next=F):(F.prev=F,F.next=F),F}function A(R){R.next.prev=R.prev,R.prev.next=R.next,R.prevZ&&(R.prevZ.nextZ=R.nextZ),R.nextZ&&(R.nextZ.prevZ=R.prevZ)}function L(R,I,O){this.i=R,this.x=I,this.y=O,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function b(R,I,O,z){for(var F=0,B=I,N=O-z;B0&&(z+=R[F-1].length,O.holes.push(z))}return O}},2502:function(T,p,t){var d=t(68664);T.exports=function(g,i){var M,v=[],f=[],l=[],a={},u=[];function o(k){l[k]=!1,a.hasOwnProperty(k)&&Object.keys(a[k]).forEach(function(E){delete a[k][E],l[E]&&o(E)})}function s(k){var E,x,A=!1;for(f.push(k),l[k]=!0,E=0;E=O})})(k);for(var E,x=d(g).components.filter(function(O){return O.length>1}),A=1/0,L=0;L=55296&&k<=56319&&(L+=c[++w]),L=b?o.call(b,R,L,y):L,m?(s.value=L,h(C,y,s)):C[y]=L,++y;_=y}}if(_===void 0)for(_=M(c.length),m&&(C=new m(_)),w=0;w<_;++w)L=b?o.call(b,R,c[w],w):c[w],m?(s.value=L,h(C,w,s)):C[w]=L;return m&&(s.value=null,C.length=_),C}},73051:function(T){var p=Object.prototype.toString,t=p.call(function(){return arguments}());T.exports=function(d){return p.call(d)===t}},33717:function(T){var p=Object.prototype.toString,t=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);T.exports=function(d){return typeof d=="function"&&t(p.call(d))}},52345:function(T){T.exports=function(){}},9953:function(T,p,t){T.exports=t(90436)()?Math.sign:t(6069)},90436:function(T){T.exports=function(){var p=Math.sign;return typeof p=="function"&&p(10)===1&&p(-20)===-1}},6069:function(T){T.exports=function(p){return p=Number(p),isNaN(p)||p===0?p:p>0?1:-1}},56247:function(T,p,t){var d=t(9953),g=Math.abs,i=Math.floor;T.exports=function(M){return isNaN(M)?0:(M=Number(M))!==0&&isFinite(M)?d(M)*i(g(M)):M}},35976:function(T,p,t){var d=t(56247),g=Math.max;T.exports=function(i){return g(0,d(i))}},67260:function(T,p,t){var d=t(78513),g=t(36672),i=Function.prototype.bind,M=Function.prototype.call,v=Object.keys,f=Object.prototype.propertyIsEnumerable;T.exports=function(l,a){return function(u,o){var s,h=arguments[2],c=arguments[3];return u=Object(g(u)),d(o),s=v(u),c&&s.sort(typeof c=="function"?i.call(c,u):void 0),typeof l!="function"&&(l=s[l]),M.call(l,s,function(m,w){return f.call(u,m)?M.call(o,h,u[m],m,u,w):a})}}},95879:function(T,p,t){T.exports=t(73583)()?Object.assign:t(34205)},73583:function(T){T.exports=function(){var p,t=Object.assign;return typeof t=="function"&&(t(p={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),p.foo+p.bar+p.trzy==="razdwatrzy")}},34205:function(T,p,t){var d=t(68700),g=t(36672),i=Math.max;T.exports=function(M,v){var f,l,a,u=i(arguments.length,2);for(M=Object(g(M)),a=function(o){try{M[o]=v[o]}catch(s){f||(f=s)}},l=1;l-1}},87963:function(T){var p=Object.prototype.toString,t=p.call("");T.exports=function(d){return typeof d=="string"||d&&typeof d=="object"&&(d instanceof String||p.call(d)===t)||!1}},43043:function(T){var p=Object.create(null),t=Math.random;T.exports=function(){var d;do d=t().toString(36).slice(2);while(p[d]);return d}},32411:function(T,p,t){var d,g=t(1496),i=t(66741),M=t(62072),v=t(8260),f=t(95426),l=Object.defineProperty;d=T.exports=function(a,u){if(!(this instanceof d))throw new TypeError("Constructor requires 'new'");f.call(this,a),u=u?i.call(u,"key+value")?"key+value":i.call(u,"key")?"key":"value":"value",l(this,"__kind__",M("",u))},g&&g(d,f),delete d.prototype.constructor,d.prototype=Object.create(f.prototype,{_resolve:M(function(a){return this.__kind__==="value"?this.__list__[a]:this.__kind__==="key+value"?[a,this.__list__[a]]:a})}),l(d.prototype,v.toStringTag,M("c","Array Iterator"))},27515:function(T,p,t){var d=t(73051),g=t(78513),i=t(87963),M=t(66661),v=Array.isArray,f=Function.prototype.call,l=Array.prototype.some;T.exports=function(a,u){var o,s,h,c,m,w,y,C,_=arguments[2];if(v(a)||d(a)?o="array":i(a)?o="string":a=M(a),g(u),h=function(){c=!0},o!=="array")if(o!=="string")for(s=a.next();!s.done;){if(f.call(u,_,s.value,h),c)return;s=a.next()}else for(w=a.length,m=0;m=55296&&C<=56319&&(y+=a[++m]),f.call(u,_,y,h),!c);++m);else l.call(a,function(k){return f.call(u,_,k,h),c})}},66661:function(T,p,t){var d=t(73051),g=t(87963),i=t(32411),M=t(259),v=t(58095),f=t(8260).iterator;T.exports=function(l){return typeof v(l)[f]=="function"?l[f]():d(l)?new i(l):g(l)?new M(l):new i(l)}},95426:function(T,p,t){var d,g=t(16134),i=t(95879),M=t(78513),v=t(36672),f=t(62072),l=t(55174),a=t(8260),u=Object.defineProperty,o=Object.defineProperties;T.exports=d=function(s,h){if(!(this instanceof d))throw new TypeError("Constructor requires 'new'");o(this,{__list__:f("w",v(s)),__context__:f("w",h),__nextIndex__:f("w",0)}),h&&(M(h.on),h.on("_add",this._onAdd),h.on("_delete",this._onDelete),h.on("_clear",this._onClear))},delete d.prototype.constructor,o(d.prototype,i({_next:f(function(){var s;if(this.__list__)return this.__redo__&&(s=this.__redo__.shift())!==void 0?s:this.__nextIndex__=this.__nextIndex__||(++this.__nextIndex__,this.__redo__?(this.__redo__.forEach(function(h,c){h>=s&&(this.__redo__[c]=++h)},this),this.__redo__.push(s)):u(this,"__redo__",f("c",[s])))}),_onDelete:f(function(s){var h;s>=this.__nextIndex__||(--this.__nextIndex__,this.__redo__&&((h=this.__redo__.indexOf(s))!==-1&&this.__redo__.splice(h,1),this.__redo__.forEach(function(c,m){c>s&&(this.__redo__[m]=--c)},this)))}),_onClear:f(function(){this.__redo__&&g.call(this.__redo__),this.__nextIndex__=0})}))),u(d.prototype,a.iterator,f(function(){return this}))},35940:function(T,p,t){var d=t(73051),g=t(95296),i=t(87963),M=t(8260).iterator,v=Array.isArray;T.exports=function(f){return!(!g(f)||!v(f)&&!i(f)&&!d(f)&&typeof f[M]!="function")}},259:function(T,p,t){var d,g=t(1496),i=t(62072),M=t(8260),v=t(95426),f=Object.defineProperty;d=T.exports=function(l){if(!(this instanceof d))throw new TypeError("Constructor requires 'new'");l=String(l),v.call(this,l),f(this,"__length__",i("",l.length))},g&&g(d,v),delete d.prototype.constructor,d.prototype=Object.create(v.prototype,{_next:i(function(){if(this.__list__)return this.__nextIndex__=55296&&a<=56319?u+this.__list__[this.__nextIndex__++]:u})}),f(d.prototype,M.toStringTag,i("c","String Iterator"))},58095:function(T,p,t){var d=t(35940);T.exports=function(g){if(!d(g))throw new TypeError(g+" is not iterable");return g}},73523:function(T){function p(t,d){if(t==null)throw new TypeError("Cannot convert first argument to object");for(var g=Object(t),i=1;i0&&E.length>_&&!E.warned){E.warned=!0;var A=new Error("Possible EventEmitter memory leak detected. "+E.length+" "+String(w)+" listeners added. Use emitter.setMaxListeners() to increase limit");A.name="MaxListenersExceededWarning",A.emitter=m,A.type=w,A.count=E.length,x=A,console&&console.warn&&console.warn(x)}return m}function a(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function u(m,w,y){var C={fired:!1,wrapFn:void 0,target:m,type:w,listener:y},_=a.bind(C);return _.listener=y,C.wrapFn=_,_}function o(m,w,y){var C=m._events;if(C===void 0)return[];var _=C[w];return _===void 0?[]:typeof _=="function"?y?[_.listener||_]:[_]:y?function(k){for(var E=new Array(k.length),x=0;x0&&(k=w[0]),k instanceof Error)throw k;var E=new Error("Unhandled error."+(k?" ("+k.message+")":""));throw E.context=k,E}var x=_[m];if(x===void 0)return!1;if(typeof x=="function")d(x,this,w);else{var A=x.length,L=h(x,A);for(y=0;y=0;k--)if(y[k]===w||y[k].listener===w){E=y[k].listener,_=k;break}if(_<0)return this;_===0?y.shift():function(x,A){for(;A+1=0;C--)this.removeListener(m,w[C]);return this},i.prototype.listeners=function(m){return o(this,m,!0)},i.prototype.rawListeners=function(m){return o(this,m,!1)},i.listenerCount=function(m,w){return typeof m.listenerCount=="function"?m.listenerCount(w):s.call(m,w)},i.prototype.listenerCount=s,i.prototype.eventNames=function(){return this._eventsCount>0?p(this._events):[]}},60774:function(T){var p=function(){if(typeof self=="object"&&self)return self;if(typeof window=="object"&&window)return window;throw new Error("Unable to resolve global `this`")};T.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch{return p()}try{return __global__||p()}finally{delete Object.prototype.__global__}}()},94908:function(T,p,t){T.exports=t(51152)()?globalThis:t(60774)},51152:function(T){T.exports=function(){return typeof globalThis=="object"&&!!globalThis&&globalThis.Array===Array}},92770:function(T,p,t){var d=t(18546);T.exports=function(g){var i=typeof g;if(i==="string"){var M=g;if((g=+g)==0&&d(M))return!1}else if(i!=="number")return!1;return g-g<1}},30120:function(T,p,t){var d=t(90660);T.exports=function(g,i,M){if(!g)throw new TypeError("must specify data as first parameter");if(M=0|+(M||0),Array.isArray(g)&&g[0]&&typeof g[0][0]=="number"){var v,f,l,a,u=g[0].length,o=g.length*u;i&&typeof i!="string"||(i=new(d(i||"float32"))(o+M));var s=i.length-M;if(o!==s)throw new Error("source length "+o+" ("+u+"x"+g.length+") does not match destination length "+s);for(v=0,l=M;vM[0]-l[0]/2&&(c=l[0]/2,m+=l[1]);return v}},32879:function(T){function p(i,M){M||(M={}),(typeof i=="string"||Array.isArray(i))&&(M.family=i);var v=Array.isArray(M.family)?M.family.join(", "):M.family;if(!v)throw Error("`family` must be defined");var f=M.size||M.fontSize||M.em||48,l=M.weight||M.fontWeight||"",a=(i=[M.style||M.fontStyle||"",l,f].join(" ")+"px "+v,M.origin||"top");if(p.cache[v]&&f<=p.cache[v].em)return t(p.cache[v],a);var u=M.canvas||p.canvas,o=u.getContext("2d"),s={upper:M.upper!==void 0?M.upper:"H",lower:M.lower!==void 0?M.lower:"x",descent:M.descent!==void 0?M.descent:"p",ascent:M.ascent!==void 0?M.ascent:"h",tittle:M.tittle!==void 0?M.tittle:"i",overshoot:M.overshoot!==void 0?M.overshoot:"O"},h=Math.ceil(1.5*f);u.height=h,u.width=.5*h,o.font=i;var c="H",m={top:0};o.clearRect(0,0,h,h),o.textBaseline="top",o.fillStyle="black",o.fillText(c,0,0);var w=d(o.getImageData(0,0,h,h));o.clearRect(0,0,h,h),o.textBaseline="bottom",o.fillText(c,0,h);var y=d(o.getImageData(0,0,h,h));m.lineHeight=m.bottom=h-y+w,o.clearRect(0,0,h,h),o.textBaseline="alphabetic",o.fillText(c,0,h);var C=h-d(o.getImageData(0,0,h,h))-1+w;m.baseline=m.alphabetic=C,o.clearRect(0,0,h,h),o.textBaseline="middle",o.fillText(c,0,.5*h);var _=d(o.getImageData(0,0,h,h));m.median=m.middle=h-_-1+w-.5*h,o.clearRect(0,0,h,h),o.textBaseline="hanging",o.fillText(c,0,.5*h);var k=d(o.getImageData(0,0,h,h));m.hanging=h-k-1+w-.5*h,o.clearRect(0,0,h,h),o.textBaseline="ideographic",o.fillText(c,0,h);var E=d(o.getImageData(0,0,h,h));if(m.ideographic=h-E-1+w,s.upper&&(o.clearRect(0,0,h,h),o.textBaseline="top",o.fillText(s.upper,0,0),m.upper=d(o.getImageData(0,0,h,h)),m.capHeight=m.baseline-m.upper),s.lower&&(o.clearRect(0,0,h,h),o.textBaseline="top",o.fillText(s.lower,0,0),m.lower=d(o.getImageData(0,0,h,h)),m.xHeight=m.baseline-m.lower),s.tittle&&(o.clearRect(0,0,h,h),o.textBaseline="top",o.fillText(s.tittle,0,0),m.tittle=d(o.getImageData(0,0,h,h))),s.ascent&&(o.clearRect(0,0,h,h),o.textBaseline="top",o.fillText(s.ascent,0,0),m.ascent=d(o.getImageData(0,0,h,h))),s.descent&&(o.clearRect(0,0,h,h),o.textBaseline="top",o.fillText(s.descent,0,0),m.descent=g(o.getImageData(0,0,h,h))),s.overshoot){o.clearRect(0,0,h,h),o.textBaseline="top",o.fillText(s.overshoot,0,0);var x=g(o.getImageData(0,0,h,h));m.overshoot=x-C}for(var A in m)m[A]/=f;return m.em=f,p.cache[v]=m,t(m,a)}function t(i,M){var v={};for(var f in typeof M=="string"&&(M=i[M]),i)f!=="em"&&(v[f]=i[f]-M);return v}function d(i){for(var M=i.height,v=i.data,f=3;f0;f-=4)if(v[f]!==0)return Math.floor(.25*(f-3)/M)}T.exports=p,p.canvas=document.createElement("canvas"),p.cache={}},31353:function(T,p,t){var d=t(85395),g=Object.prototype.toString,i=Object.prototype.hasOwnProperty,M=function(l,a,u){for(var o=0,s=l.length;o=3&&(o=u),g.call(l)==="[object Array]"?M(l,a,o):typeof l=="string"?v(l,a,o):f(l,a,o)}},73047:function(T){var p="Function.prototype.bind called on incompatible ",t=Array.prototype.slice,d=Object.prototype.toString,g="[object Function]";T.exports=function(i){var M=this;if(typeof M!="function"||d.call(M)!==g)throw new TypeError(p+M);for(var v,f=t.call(arguments,1),l=function(){if(this instanceof v){var h=M.apply(this,f.concat(t.call(arguments)));return Object(h)===h?h:this}return M.apply(i,f.concat(t.call(arguments)))},a=Math.max(0,M.length-f.length),u=[],o=0;o"u"&&!t.canvas)return null;var d=t.canvas||document.createElement("canvas");typeof t.width=="number"&&(d.width=t.width),typeof t.height=="number"&&(d.height=t.height);var g,i=t;try{var M=[p];p.indexOf("webgl")===0&&M.push("experimental-"+p);for(var v=0;v"u"?d:o(Uint8Array),c={"%AggregateError%":typeof AggregateError>"u"?d:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?d:ArrayBuffer,"%ArrayIteratorPrototype%":u?o([][Symbol.iterator]()):d,"%AsyncFromSyncIteratorPrototype%":d,"%AsyncFunction%":s,"%AsyncGenerator%":s,"%AsyncGeneratorFunction%":s,"%AsyncIteratorPrototype%":s,"%Atomics%":typeof Atomics>"u"?d:Atomics,"%BigInt%":typeof BigInt>"u"?d:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?d:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?d:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?d:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?d:Float32Array,"%Float64Array%":typeof Float64Array>"u"?d:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?d:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":s,"%Int8Array%":typeof Int8Array>"u"?d:Int8Array,"%Int16Array%":typeof Int16Array>"u"?d:Int16Array,"%Int32Array%":typeof Int32Array>"u"?d:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":u?o(o([][Symbol.iterator]())):d,"%JSON%":typeof JSON=="object"?JSON:d,"%Map%":typeof Map>"u"?d:Map,"%MapIteratorPrototype%":typeof Map<"u"&&u?o(new Map()[Symbol.iterator]()):d,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?d:Promise,"%Proxy%":typeof Proxy>"u"?d:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?d:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?d:Set,"%SetIteratorPrototype%":typeof Set<"u"&&u?o(new Set()[Symbol.iterator]()):d,"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?d:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":u?o(""[Symbol.iterator]()):d,"%Symbol%":u?Symbol:d,"%SyntaxError%":g,"%ThrowTypeError%":a,"%TypedArray%":h,"%TypeError%":M,"%Uint8Array%":typeof Uint8Array>"u"?d:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?d:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?d:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?d:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?d:WeakMap,"%WeakRef%":typeof WeakRef>"u"?d:WeakRef,"%WeakSet%":typeof WeakSet>"u"?d:WeakSet};try{null.error}catch(z){var m=o(o(z));c["%Error.prototype%"]=m}var w=function z(F){var B;if(F==="%AsyncFunction%")B=v("async function () {}");else if(F==="%GeneratorFunction%")B=v("function* () {}");else if(F==="%AsyncGeneratorFunction%")B=v("async function* () {}");else if(F==="%AsyncGenerator%"){var N=z("%AsyncGeneratorFunction%");N&&(B=N.prototype)}else if(F==="%AsyncIteratorPrototype%"){var W=z("%AsyncGenerator%");W&&(B=o(W.prototype))}return c[F]=B,B},y={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},C=t(77575),_=t(35065),k=C.call(Function.call,Array.prototype.concat),E=C.call(Function.apply,Array.prototype.splice),x=C.call(Function.call,String.prototype.replace),A=C.call(Function.call,String.prototype.slice),L=C.call(Function.call,RegExp.prototype.exec),b=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,R=/\\(\\)?/g,I=function(z){var F=A(z,0,1),B=A(z,-1);if(F==="%"&&B!=="%")throw new g("invalid intrinsic syntax, expected closing `%`");if(B==="%"&&F!=="%")throw new g("invalid intrinsic syntax, expected opening `%`");var N=[];return x(z,b,function(W,j,$,U){N[N.length]=$?x(U,R,"$1"):j||W}),N},O=function(z,F){var B,N=z;if(_(y,N)&&(N="%"+(B=y[N])[0]+"%"),_(c,N)){var W=c[N];if(W===s&&(W=w(N)),W===void 0&&!F)throw new M("intrinsic "+z+" exists, but is not available. Please file an issue!");return{alias:B,name:N,value:W}}throw new g("intrinsic "+z+" does not exist!")};T.exports=function(z,F){if(typeof z!="string"||z.length===0)throw new M("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof F!="boolean")throw new M('"allowMissing" argument must be a boolean');if(L(/^%?[^%]*%?$/,z)===null)throw new g("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var B=I(z),N=B.length>0?B[0]:"",W=O("%"+N+"%",F),j=W.name,$=W.value,U=!1,G=W.alias;G&&(N=G[0],E(B,k([0,1],G)));for(var q=1,H=!0;q=B.length){var X=f($,ne);$=(H=!!X)&&"get"in X&&!("originalValue"in X.get)?X.get:$[ne]}else H=_($,ne),$=$[ne];H&&!U&&(c[j]=$)}}return $}},85400:function(T){T.exports=function(p,t){var d=t[0],g=t[1],i=t[2],M=t[3],v=t[4],f=t[5],l=t[6],a=t[7],u=t[8],o=t[9],s=t[10],h=t[11],c=t[12],m=t[13],w=t[14],y=t[15];return p[0]=f*(s*y-h*w)-o*(l*y-a*w)+m*(l*h-a*s),p[1]=-(g*(s*y-h*w)-o*(i*y-M*w)+m*(i*h-M*s)),p[2]=g*(l*y-a*w)-f*(i*y-M*w)+m*(i*a-M*l),p[3]=-(g*(l*h-a*s)-f*(i*h-M*s)+o*(i*a-M*l)),p[4]=-(v*(s*y-h*w)-u*(l*y-a*w)+c*(l*h-a*s)),p[5]=d*(s*y-h*w)-u*(i*y-M*w)+c*(i*h-M*s),p[6]=-(d*(l*y-a*w)-v*(i*y-M*w)+c*(i*a-M*l)),p[7]=d*(l*h-a*s)-v*(i*h-M*s)+u*(i*a-M*l),p[8]=v*(o*y-h*m)-u*(f*y-a*m)+c*(f*h-a*o),p[9]=-(d*(o*y-h*m)-u*(g*y-M*m)+c*(g*h-M*o)),p[10]=d*(f*y-a*m)-v*(g*y-M*m)+c*(g*a-M*f),p[11]=-(d*(f*h-a*o)-v*(g*h-M*o)+u*(g*a-M*f)),p[12]=-(v*(o*w-s*m)-u*(f*w-l*m)+c*(f*s-l*o)),p[13]=d*(o*w-s*m)-u*(g*w-i*m)+c*(g*s-i*o),p[14]=-(d*(f*w-l*m)-v*(g*w-i*m)+c*(g*l-i*f)),p[15]=d*(f*s-l*o)-v*(g*s-i*o)+u*(g*l-i*f),p}},42331:function(T){T.exports=function(p){var t=new Float32Array(16);return t[0]=p[0],t[1]=p[1],t[2]=p[2],t[3]=p[3],t[4]=p[4],t[5]=p[5],t[6]=p[6],t[7]=p[7],t[8]=p[8],t[9]=p[9],t[10]=p[10],t[11]=p[11],t[12]=p[12],t[13]=p[13],t[14]=p[14],t[15]=p[15],t}},31042:function(T){T.exports=function(p,t){return p[0]=t[0],p[1]=t[1],p[2]=t[2],p[3]=t[3],p[4]=t[4],p[5]=t[5],p[6]=t[6],p[7]=t[7],p[8]=t[8],p[9]=t[9],p[10]=t[10],p[11]=t[11],p[12]=t[12],p[13]=t[13],p[14]=t[14],p[15]=t[15],p}},11902:function(T){T.exports=function(){var p=new Float32Array(16);return p[0]=1,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=1,p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=1,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},89887:function(T){T.exports=function(p){var t=p[0],d=p[1],g=p[2],i=p[3],M=p[4],v=p[5],f=p[6],l=p[7],a=p[8],u=p[9],o=p[10],s=p[11],h=p[12],c=p[13],m=p[14],w=p[15];return(t*v-d*M)*(o*w-s*m)-(t*f-g*M)*(u*w-s*c)+(t*l-i*M)*(u*m-o*c)+(d*f-g*v)*(a*w-s*h)-(d*l-i*v)*(a*m-o*h)+(g*l-i*f)*(a*c-u*h)}},27812:function(T){T.exports=function(p,t){var d=t[0],g=t[1],i=t[2],M=t[3],v=d+d,f=g+g,l=i+i,a=d*v,u=g*v,o=g*f,s=i*v,h=i*f,c=i*l,m=M*v,w=M*f,y=M*l;return p[0]=1-o-c,p[1]=u+y,p[2]=s-w,p[3]=0,p[4]=u-y,p[5]=1-a-c,p[6]=h+m,p[7]=0,p[8]=s+w,p[9]=h-m,p[10]=1-a-o,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},34045:function(T){T.exports=function(p,t,d){var g,i,M,v=d[0],f=d[1],l=d[2],a=Math.sqrt(v*v+f*f+l*l);return Math.abs(a)<1e-6?null:(v*=a=1/a,f*=a,l*=a,g=Math.sin(t),M=1-(i=Math.cos(t)),p[0]=v*v*M+i,p[1]=f*v*M+l*g,p[2]=l*v*M-f*g,p[3]=0,p[4]=v*f*M-l*g,p[5]=f*f*M+i,p[6]=l*f*M+v*g,p[7]=0,p[8]=v*l*M+f*g,p[9]=f*l*M-v*g,p[10]=l*l*M+i,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p)}},45973:function(T){T.exports=function(p,t,d){var g=t[0],i=t[1],M=t[2],v=t[3],f=g+g,l=i+i,a=M+M,u=g*f,o=g*l,s=g*a,h=i*l,c=i*a,m=M*a,w=v*f,y=v*l,C=v*a;return p[0]=1-(h+m),p[1]=o+C,p[2]=s-y,p[3]=0,p[4]=o-C,p[5]=1-(u+m),p[6]=c+w,p[7]=0,p[8]=s+y,p[9]=c-w,p[10]=1-(u+h),p[11]=0,p[12]=d[0],p[13]=d[1],p[14]=d[2],p[15]=1,p}},81472:function(T){T.exports=function(p,t){return p[0]=t[0],p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=t[1],p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=t[2],p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},14669:function(T){T.exports=function(p,t){return p[0]=1,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=1,p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=1,p[11]=0,p[12]=t[0],p[13]=t[1],p[14]=t[2],p[15]=1,p}},75262:function(T){T.exports=function(p,t){var d=Math.sin(t),g=Math.cos(t);return p[0]=1,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=g,p[6]=d,p[7]=0,p[8]=0,p[9]=-d,p[10]=g,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},331:function(T){T.exports=function(p,t){var d=Math.sin(t),g=Math.cos(t);return p[0]=g,p[1]=0,p[2]=-d,p[3]=0,p[4]=0,p[5]=1,p[6]=0,p[7]=0,p[8]=d,p[9]=0,p[10]=g,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},11049:function(T){T.exports=function(p,t){var d=Math.sin(t),g=Math.cos(t);return p[0]=g,p[1]=d,p[2]=0,p[3]=0,p[4]=-d,p[5]=g,p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=1,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},75195:function(T){T.exports=function(p,t,d,g,i,M,v){var f=1/(d-t),l=1/(i-g),a=1/(M-v);return p[0]=2*M*f,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=2*M*l,p[6]=0,p[7]=0,p[8]=(d+t)*f,p[9]=(i+g)*l,p[10]=(v+M)*a,p[11]=-1,p[12]=0,p[13]=0,p[14]=v*M*2*a,p[15]=0,p}},71551:function(T){T.exports=function(p){return p[0]=1,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=1,p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=1,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},79576:function(T,p,t){T.exports={create:t(11902),clone:t(42331),copy:t(31042),identity:t(71551),transpose:t(88654),invert:t(95874),adjoint:t(85400),determinant:t(89887),multiply:t(91362),translate:t(31283),scale:t(10789),rotate:t(65074),rotateX:t(35545),rotateY:t(94918),rotateZ:t(15692),fromRotation:t(34045),fromRotationTranslation:t(45973),fromScaling:t(81472),fromTranslation:t(14669),fromXRotation:t(75262),fromYRotation:t(331),fromZRotation:t(11049),fromQuat:t(27812),frustum:t(75195),perspective:t(7864),perspectiveFromFieldOfView:t(35279),ortho:t(60378),lookAt:t(65551),str:t(6726)}},95874:function(T){T.exports=function(p,t){var d=t[0],g=t[1],i=t[2],M=t[3],v=t[4],f=t[5],l=t[6],a=t[7],u=t[8],o=t[9],s=t[10],h=t[11],c=t[12],m=t[13],w=t[14],y=t[15],C=d*f-g*v,_=d*l-i*v,k=d*a-M*v,E=g*l-i*f,x=g*a-M*f,A=i*a-M*l,L=u*m-o*c,b=u*w-s*c,R=u*y-h*c,I=o*w-s*m,O=o*y-h*m,z=s*y-h*w,F=C*z-_*O+k*I+E*R-x*b+A*L;return F?(F=1/F,p[0]=(f*z-l*O+a*I)*F,p[1]=(i*O-g*z-M*I)*F,p[2]=(m*A-w*x+y*E)*F,p[3]=(s*x-o*A-h*E)*F,p[4]=(l*R-v*z-a*b)*F,p[5]=(d*z-i*R+M*b)*F,p[6]=(w*k-c*A-y*_)*F,p[7]=(u*A-s*k+h*_)*F,p[8]=(v*O-f*R+a*L)*F,p[9]=(g*R-d*O-M*L)*F,p[10]=(c*x-m*k+y*C)*F,p[11]=(o*k-u*x-h*C)*F,p[12]=(f*b-v*I-l*L)*F,p[13]=(d*I-g*b+i*L)*F,p[14]=(m*_-c*E-w*C)*F,p[15]=(u*E-o*_+s*C)*F,p):null}},65551:function(T,p,t){var d=t(71551);T.exports=function(g,i,M,v){var f,l,a,u,o,s,h,c,m,w,y=i[0],C=i[1],_=i[2],k=v[0],E=v[1],x=v[2],A=M[0],L=M[1],b=M[2];return Math.abs(y-A)<1e-6&&Math.abs(C-L)<1e-6&&Math.abs(_-b)<1e-6?d(g):(h=y-A,c=C-L,m=_-b,f=E*(m*=w=1/Math.sqrt(h*h+c*c+m*m))-x*(c*=w),l=x*(h*=w)-k*m,a=k*c-E*h,(w=Math.sqrt(f*f+l*l+a*a))?(f*=w=1/w,l*=w,a*=w):(f=0,l=0,a=0),u=c*a-m*l,o=m*f-h*a,s=h*l-c*f,(w=Math.sqrt(u*u+o*o+s*s))?(u*=w=1/w,o*=w,s*=w):(u=0,o=0,s=0),g[0]=f,g[1]=u,g[2]=h,g[3]=0,g[4]=l,g[5]=o,g[6]=c,g[7]=0,g[8]=a,g[9]=s,g[10]=m,g[11]=0,g[12]=-(f*y+l*C+a*_),g[13]=-(u*y+o*C+s*_),g[14]=-(h*y+c*C+m*_),g[15]=1,g)}},91362:function(T){T.exports=function(p,t,d){var g=t[0],i=t[1],M=t[2],v=t[3],f=t[4],l=t[5],a=t[6],u=t[7],o=t[8],s=t[9],h=t[10],c=t[11],m=t[12],w=t[13],y=t[14],C=t[15],_=d[0],k=d[1],E=d[2],x=d[3];return p[0]=_*g+k*f+E*o+x*m,p[1]=_*i+k*l+E*s+x*w,p[2]=_*M+k*a+E*h+x*y,p[3]=_*v+k*u+E*c+x*C,_=d[4],k=d[5],E=d[6],x=d[7],p[4]=_*g+k*f+E*o+x*m,p[5]=_*i+k*l+E*s+x*w,p[6]=_*M+k*a+E*h+x*y,p[7]=_*v+k*u+E*c+x*C,_=d[8],k=d[9],E=d[10],x=d[11],p[8]=_*g+k*f+E*o+x*m,p[9]=_*i+k*l+E*s+x*w,p[10]=_*M+k*a+E*h+x*y,p[11]=_*v+k*u+E*c+x*C,_=d[12],k=d[13],E=d[14],x=d[15],p[12]=_*g+k*f+E*o+x*m,p[13]=_*i+k*l+E*s+x*w,p[14]=_*M+k*a+E*h+x*y,p[15]=_*v+k*u+E*c+x*C,p}},60378:function(T){T.exports=function(p,t,d,g,i,M,v){var f=1/(t-d),l=1/(g-i),a=1/(M-v);return p[0]=-2*f,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=-2*l,p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=2*a,p[11]=0,p[12]=(t+d)*f,p[13]=(i+g)*l,p[14]=(v+M)*a,p[15]=1,p}},7864:function(T){T.exports=function(p,t,d,g,i){var M=1/Math.tan(t/2),v=1/(g-i);return p[0]=M/d,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=M,p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=(i+g)*v,p[11]=-1,p[12]=0,p[13]=0,p[14]=2*i*g*v,p[15]=0,p}},35279:function(T){T.exports=function(p,t,d,g){var i=Math.tan(t.upDegrees*Math.PI/180),M=Math.tan(t.downDegrees*Math.PI/180),v=Math.tan(t.leftDegrees*Math.PI/180),f=Math.tan(t.rightDegrees*Math.PI/180),l=2/(v+f),a=2/(i+M);return p[0]=l,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=a,p[6]=0,p[7]=0,p[8]=-(v-f)*l*.5,p[9]=(i-M)*a*.5,p[10]=g/(d-g),p[11]=-1,p[12]=0,p[13]=0,p[14]=g*d/(d-g),p[15]=0,p}},65074:function(T){T.exports=function(p,t,d,g){var i,M,v,f,l,a,u,o,s,h,c,m,w,y,C,_,k,E,x,A,L,b,R,I,O=g[0],z=g[1],F=g[2],B=Math.sqrt(O*O+z*z+F*F);return Math.abs(B)<1e-6?null:(O*=B=1/B,z*=B,F*=B,i=Math.sin(d),v=1-(M=Math.cos(d)),f=t[0],l=t[1],a=t[2],u=t[3],o=t[4],s=t[5],h=t[6],c=t[7],m=t[8],w=t[9],y=t[10],C=t[11],_=O*O*v+M,k=z*O*v+F*i,E=F*O*v-z*i,x=O*z*v-F*i,A=z*z*v+M,L=F*z*v+O*i,b=O*F*v+z*i,R=z*F*v-O*i,I=F*F*v+M,p[0]=f*_+o*k+m*E,p[1]=l*_+s*k+w*E,p[2]=a*_+h*k+y*E,p[3]=u*_+c*k+C*E,p[4]=f*x+o*A+m*L,p[5]=l*x+s*A+w*L,p[6]=a*x+h*A+y*L,p[7]=u*x+c*A+C*L,p[8]=f*b+o*R+m*I,p[9]=l*b+s*R+w*I,p[10]=a*b+h*R+y*I,p[11]=u*b+c*R+C*I,t!==p&&(p[12]=t[12],p[13]=t[13],p[14]=t[14],p[15]=t[15]),p)}},35545:function(T){T.exports=function(p,t,d){var g=Math.sin(d),i=Math.cos(d),M=t[4],v=t[5],f=t[6],l=t[7],a=t[8],u=t[9],o=t[10],s=t[11];return t!==p&&(p[0]=t[0],p[1]=t[1],p[2]=t[2],p[3]=t[3],p[12]=t[12],p[13]=t[13],p[14]=t[14],p[15]=t[15]),p[4]=M*i+a*g,p[5]=v*i+u*g,p[6]=f*i+o*g,p[7]=l*i+s*g,p[8]=a*i-M*g,p[9]=u*i-v*g,p[10]=o*i-f*g,p[11]=s*i-l*g,p}},94918:function(T){T.exports=function(p,t,d){var g=Math.sin(d),i=Math.cos(d),M=t[0],v=t[1],f=t[2],l=t[3],a=t[8],u=t[9],o=t[10],s=t[11];return t!==p&&(p[4]=t[4],p[5]=t[5],p[6]=t[6],p[7]=t[7],p[12]=t[12],p[13]=t[13],p[14]=t[14],p[15]=t[15]),p[0]=M*i-a*g,p[1]=v*i-u*g,p[2]=f*i-o*g,p[3]=l*i-s*g,p[8]=M*g+a*i,p[9]=v*g+u*i,p[10]=f*g+o*i,p[11]=l*g+s*i,p}},15692:function(T){T.exports=function(p,t,d){var g=Math.sin(d),i=Math.cos(d),M=t[0],v=t[1],f=t[2],l=t[3],a=t[4],u=t[5],o=t[6],s=t[7];return t!==p&&(p[8]=t[8],p[9]=t[9],p[10]=t[10],p[11]=t[11],p[12]=t[12],p[13]=t[13],p[14]=t[14],p[15]=t[15]),p[0]=M*i+a*g,p[1]=v*i+u*g,p[2]=f*i+o*g,p[3]=l*i+s*g,p[4]=a*i-M*g,p[5]=u*i-v*g,p[6]=o*i-f*g,p[7]=s*i-l*g,p}},10789:function(T){T.exports=function(p,t,d){var g=d[0],i=d[1],M=d[2];return p[0]=t[0]*g,p[1]=t[1]*g,p[2]=t[2]*g,p[3]=t[3]*g,p[4]=t[4]*i,p[5]=t[5]*i,p[6]=t[6]*i,p[7]=t[7]*i,p[8]=t[8]*M,p[9]=t[9]*M,p[10]=t[10]*M,p[11]=t[11]*M,p[12]=t[12],p[13]=t[13],p[14]=t[14],p[15]=t[15],p}},6726:function(T){T.exports=function(p){return"mat4("+p[0]+", "+p[1]+", "+p[2]+", "+p[3]+", "+p[4]+", "+p[5]+", "+p[6]+", "+p[7]+", "+p[8]+", "+p[9]+", "+p[10]+", "+p[11]+", "+p[12]+", "+p[13]+", "+p[14]+", "+p[15]+")"}},31283:function(T){T.exports=function(p,t,d){var g,i,M,v,f,l,a,u,o,s,h,c,m=d[0],w=d[1],y=d[2];return t===p?(p[12]=t[0]*m+t[4]*w+t[8]*y+t[12],p[13]=t[1]*m+t[5]*w+t[9]*y+t[13],p[14]=t[2]*m+t[6]*w+t[10]*y+t[14],p[15]=t[3]*m+t[7]*w+t[11]*y+t[15]):(g=t[0],i=t[1],M=t[2],v=t[3],f=t[4],l=t[5],a=t[6],u=t[7],o=t[8],s=t[9],h=t[10],c=t[11],p[0]=g,p[1]=i,p[2]=M,p[3]=v,p[4]=f,p[5]=l,p[6]=a,p[7]=u,p[8]=o,p[9]=s,p[10]=h,p[11]=c,p[12]=g*m+f*w+o*y+t[12],p[13]=i*m+l*w+s*y+t[13],p[14]=M*m+a*w+h*y+t[14],p[15]=v*m+u*w+c*y+t[15]),p}},88654:function(T){T.exports=function(p,t){if(p===t){var d=t[1],g=t[2],i=t[3],M=t[6],v=t[7],f=t[11];p[1]=t[4],p[2]=t[8],p[3]=t[12],p[4]=d,p[6]=t[9],p[7]=t[13],p[8]=g,p[9]=M,p[11]=t[14],p[12]=i,p[13]=v,p[14]=f}else p[0]=t[0],p[1]=t[4],p[2]=t[8],p[3]=t[12],p[4]=t[1],p[5]=t[5],p[6]=t[9],p[7]=t[13],p[8]=t[2],p[9]=t[6],p[10]=t[10],p[11]=t[14],p[12]=t[3],p[13]=t[7],p[14]=t[11],p[15]=t[15];return p}},42505:function(T,p,t){var d=t(72791),g=t(71299),i=t(98580),M=t(12018),v=t(83522),f=t(25075),l=t(68016),a=t(58404),u=t(18863),o=t(10973),s=t(25677),h=t(75686),c=t(53545),m=t(56131),w=t(32879),y=t(30120),C=t(13547).nextPow2,_=new v,k=!1;if(document.body){var E=document.body.appendChild(document.createElement("div"));E.style.font="italic small-caps bold condensed 16px/2 cursive",getComputedStyle(E).fontStretch&&(k=!0),document.body.removeChild(E)}var x=function(A){(function(L){return typeof L=="function"&&L._gl&&L.prop&&L.texture&&L.buffer})(A)?(A={regl:A},this.gl=A.regl._gl):this.gl=M(A),this.shader=_.get(this.gl),this.shader?this.regl=this.shader.regl:this.regl=A.regl||i({gl:this.gl}),this.charBuffer=this.regl.buffer({type:"uint8",usage:"stream"}),this.sizeBuffer=this.regl.buffer({type:"float",usage:"stream"}),this.shader||(this.shader=this.createShader(),_.set(this.gl,this.shader)),this.batch=[],this.fontSize=[],this.font=[],this.fontAtlas=[],this.draw=this.shader.draw.bind(this),this.render=function(){this.regl._refresh(),this.draw(this.batch)},this.canvas=this.gl.canvas,this.update(o(A)?A:{})};x.prototype.createShader=function(){var A=this.regl,L=A({blend:{enable:!0,color:[0,0,0,1],func:{srcRGB:"src alpha",dstRGB:"one minus src alpha",srcAlpha:"one minus dst alpha",dstAlpha:"one"}},stencil:{enable:!1},depth:{enable:!1},count:A.prop("count"),offset:A.prop("offset"),attributes:{charOffset:{offset:4,stride:8,buffer:A.this("sizeBuffer")},width:{offset:0,stride:8,buffer:A.this("sizeBuffer")},char:A.this("charBuffer"),position:A.this("position")},uniforms:{atlasSize:function(b,R){return[R.atlas.width,R.atlas.height]},atlasDim:function(b,R){return[R.atlas.cols,R.atlas.rows]},atlas:function(b,R){return R.atlas.texture},charStep:function(b,R){return R.atlas.step},em:function(b,R){return R.atlas.em},color:A.prop("color"),opacity:A.prop("opacity"),viewport:A.this("viewportArray"),scale:A.this("scale"),align:A.prop("align"),baseline:A.prop("baseline"),translate:A.this("translate"),positionOffset:A.prop("positionOffset")},primitive:"points",viewport:A.this("viewport"),vert:` -======== -`):H=" ".concat(B," ").concat(H)),z=M(this,o(b).call(this,"".concat(q).concat(H)))}return Error.stackTraceLimit=$,z.generatedMessage=!F,Object.defineProperty(v(z),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),z.code="ERR_ASSERTION",z.actual=W,z.expected=j,z.operator=B,Error.captureStackTrace&&Error.captureStackTrace(v(z),N),z.stack,z.name="AssertionError",M(z)}var R,I;return function(O,z){if(typeof z!="function"&&z!==null)throw new TypeError("Super expression must either be null or a function");O.prototype=Object.create(z&&z.prototype,{constructor:{value:O,writable:!0,configurable:!0}}),z&&u(O,z)}(b,L),R=b,I=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:c.custom,value:function(O,z){return c(this,function(F){for(var B=1;B2?"one of ".concat(o," ").concat(u.slice(0,s-1).join(", "),", or ")+u[s-1]:s===2?"one of ".concat(o," ").concat(u[0]," or ").concat(u[1]):"of ".concat(o," ").concat(u[0])}return"of ".concat(o," ").concat(String(u))}l("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),l("ERR_INVALID_ARG_TYPE",function(u,o,s){var c,h,m,w,y;if(M===void 0&&(M=t(32791)),M(typeof u=="string","'name' must be a string"),typeof o=="string"&&(h="not ",o.substr(0,h.length)===h)?(c="must not be",o=o.replace(/^not /,"")):c="must be",function(_,k,E){return(E===void 0||E>_.length)&&(E=_.length),_.substring(E-k.length,E)===k}(u," argument"))m="The ".concat(u," ").concat(c," ").concat(a(o,"type"));else{var S=(typeof y!="number"&&(y=0),y+1>(w=u).length||w.indexOf(".",y)===-1?"argument":"property");m='The "'.concat(u,'" ').concat(S," ").concat(c," ").concat(a(o,"type"))}return m+". Received type ".concat(d(s))},TypeError),l("ERR_INVALID_ARG_VALUE",function(u,o){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";v===void 0&&(v=t(43827));var c=v.inspect(o);return c.length>128&&(c="".concat(c.slice(0,128),"...")),"The argument '".concat(u,"' ").concat(s,". Received ").concat(c)},TypeError),l("ERR_INVALID_RETURN_VALUE",function(u,o,s){var c;return c=s&&s.constructor&&s.constructor.name?"instance of ".concat(s.constructor.name):"type ".concat(d(s)),"Expected ".concat(u,' to be returned from the "').concat(o,'"')+" function but got ".concat(c,".")},TypeError),l("ERR_MISSING_ARGS",function(){for(var u=arguments.length,o=new Array(u),s=0;s0,"At least one arg needs to be specified");var c="The ",h=o.length;switch(o=o.map(function(m){return'"'.concat(m,'"')}),h){case 1:c+="".concat(o[0]," argument");break;case 2:c+="".concat(o[0]," and ").concat(o[1]," arguments");break;default:c+=o.slice(0,h-1).join(", "),c+=", and ".concat(o[h-1]," arguments")}return"".concat(c," must be specified")},TypeError),T.exports.codes=f},74061:function(T,p,t){function d(Z,X){return function(Q){if(Array.isArray(Q))return Q}(Z)||function(Q,re){var ie=[],oe=!0,ue=!1,ce=void 0;try{for(var ye,de=Q[Symbol.iterator]();!(oe=(ye=de.next()).done)&&(ie.push(ye.value),!re||ie.length!==re);oe=!0);}catch(me){ue=!0,ce=me}finally{try{oe||de.return==null||de.return()}finally{if(ue)throw ce}}return ie}(Z,X)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function g(Z){return g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(X){return typeof X}:function(X){return X&&typeof Symbol=="function"&&X.constructor===Symbol&&X!==Symbol.prototype?"symbol":typeof X},g(Z)}var i=/a/g.flags!==void 0,M=function(Z){var X=[];return Z.forEach(function(Q){return X.push(Q)}),X},v=function(Z){var X=[];return Z.forEach(function(Q,re){return X.push([re,Q])}),X},f=Object.is?Object.is:t(64003),l=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},a=Number.isNaN?Number.isNaN:t(15567);function u(Z){return Z.call.bind(Z)}var o=u(Object.prototype.hasOwnProperty),s=u(Object.prototype.propertyIsEnumerable),c=u(Object.prototype.toString),h=t(43827).types,m=h.isAnyArrayBuffer,w=h.isArrayBufferView,y=h.isDate,S=h.isMap,_=h.isRegExp,k=h.isSet,E=h.isNativeError,x=h.isBoxedPrimitive,A=h.isNumberObject,L=h.isStringObject,b=h.isBooleanObject,R=h.isBigIntObject,I=h.isSymbolObject,O=h.isFloat32Array,z=h.isFloat64Array;function F(Z){if(Z.length===0||Z.length>10)return!0;for(var X=0;X57)return!0}return Z.length===10&&Z>=Math.pow(2,32)}function B(Z){return Object.keys(Z).filter(F).concat(l(Z).filter(Object.prototype.propertyIsEnumerable.bind(Z)))}function N(Z,X){if(Z===X)return 0;for(var Q=Z.length,re=X.length,ie=0,oe=Math.min(Q,re);ie0?c-4:c;for(o=0;o>16&255,m[w++]=u>>8&255,m[w++]=255&u;return h===2&&(u=d[a.charCodeAt(o)]<<2|d[a.charCodeAt(o+1)]>>4,m[w++]=255&u),h===1&&(u=d[a.charCodeAt(o)]<<10|d[a.charCodeAt(o+1)]<<4|d[a.charCodeAt(o+2)]>>2,m[w++]=u>>8&255,m[w++]=255&u),m},p.fromByteArray=function(a){for(var u,o=a.length,s=o%3,c=[],h=16383,m=0,w=o-s;mw?w:m+h));return s===1?(u=a[o-1],c.push(t[u>>2]+t[u<<4&63]+"==")):s===2&&(u=(a[o-2]<<8)+a[o-1],c.push(t[u>>10]+t[u>>4&63]+t[u<<2&63]+"=")),c.join("")};for(var t=[],d=[],g=typeof Uint8Array<"u"?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",M=0,v=i.length;M0)throw new Error("Invalid string. Length must be a multiple of 4");var o=a.indexOf("=");return o===-1&&(o=u),[o,o===u?0:4-o%4]}function l(a,u,o){for(var s,c,h=[],m=u;m>18&63]+t[c>>12&63]+t[c>>6&63]+t[63&c]);return h.join("")}d["-".charCodeAt(0)]=62,d["_".charCodeAt(0)]=63},91358:function(T){function p(v,f,l,a,u){for(var o=u+1;a<=u;){var s=a+u>>>1,c=v[s];(l!==void 0?l(c,f):c-f)>=0?(o=s,u=s-1):a=s+1}return o}function t(v,f,l,a,u){for(var o=u+1;a<=u;){var s=a+u>>>1,c=v[s];(l!==void 0?l(c,f):c-f)>0?(o=s,u=s-1):a=s+1}return o}function d(v,f,l,a,u){for(var o=a-1;a<=u;){var s=a+u>>>1,c=v[s];(l!==void 0?l(c,f):c-f)<0?(o=s,a=s+1):u=s-1}return o}function g(v,f,l,a,u){for(var o=a-1;a<=u;){var s=a+u>>>1,c=v[s];(l!==void 0?l(c,f):c-f)<=0?(o=s,a=s+1):u=s-1}return o}function i(v,f,l,a,u){for(;a<=u;){var o=a+u>>>1,s=v[o],c=l!==void 0?l(s,f):s-f;if(c===0)return o;c<=0?a=o+1:u=o-1}return-1}function M(v,f,l,a,u,o){return typeof l=="function"?o(v,f,l,a===void 0?0:0|a,u===void 0?v.length-1:0|u):o(v,f,void 0,l===void 0?0:0|l,a===void 0?v.length-1:0|a)}T.exports={ge:function(v,f,l,a,u){return M(v,f,l,a,u,p)},gt:function(v,f,l,a,u){return M(v,f,l,a,u,t)},lt:function(v,f,l,a,u){return M(v,f,l,a,u,d)},le:function(v,f,l,a,u){return M(v,f,l,a,u,g)},eq:function(v,f,l,a,u){return M(v,f,l,a,u,i)}}},13547:function(T,p){function t(g){var i=32;return(g&=-g)&&i--,65535&g&&(i-=16),16711935&g&&(i-=8),252645135&g&&(i-=4),858993459&g&&(i-=2),1431655765&g&&(i-=1),i}p.INT_BITS=32,p.INT_MAX=2147483647,p.INT_MIN=-2147483648,p.sign=function(g){return(g>0)-(g<0)},p.abs=function(g){var i=g>>31;return(g^i)-i},p.min=function(g,i){return i^(g^i)&-(g65535)<<4,i|=M=((g>>>=i)>255)<<3,i|=M=((g>>>=M)>15)<<2,(i|=M=((g>>>=M)>3)<<1)|(g>>>=M)>>1},p.log10=function(g){return g>=1e9?9:g>=1e8?8:g>=1e7?7:g>=1e6?6:g>=1e5?5:g>=1e4?4:g>=1e3?3:g>=100?2:g>=10?1:0},p.popCount=function(g){return 16843009*((g=(858993459&(g-=g>>>1&1431655765))+(g>>>2&858993459))+(g>>>4)&252645135)>>>24},p.countTrailingZeros=t,p.nextPow2=function(g){return g+=g===0,--g,g|=g>>>1,g|=g>>>2,g|=g>>>4,g|=g>>>8,1+(g|=g>>>16)},p.prevPow2=function(g){return g|=g>>>1,g|=g>>>2,g|=g>>>4,g|=g>>>8,(g|=g>>>16)-(g>>>1)},p.parity=function(g){return g^=g>>>16,g^=g>>>8,g^=g>>>4,27030>>>(g&=15)&1};var d=new Array(256);(function(g){for(var i=0;i<256;++i){var M=i,v=i,f=7;for(M>>>=1;M;M>>>=1)v<<=1,v|=1&M,--f;g[i]=v<>>8&255]<<16|d[g>>>16&255]<<8|d[g>>>24&255]},p.interleave2=function(g,i){return(g=1431655765&((g=858993459&((g=252645135&((g=16711935&((g&=65535)|g<<8))|g<<4))|g<<2))|g<<1))|(i=1431655765&((i=858993459&((i=252645135&((i=16711935&((i&=65535)|i<<8))|i<<4))|i<<2))|i<<1))<<1},p.deinterleave2=function(g,i){return(g=65535&((g=16711935&((g=252645135&((g=858993459&((g=g>>>i&1431655765)|g>>>1))|g>>>2))|g>>>4))|g>>>16))<<16>>16},p.interleave3=function(g,i,M){return g=1227133513&((g=3272356035&((g=251719695&((g=4278190335&((g&=1023)|g<<16))|g<<8))|g<<4))|g<<2),(g|=(i=1227133513&((i=3272356035&((i=251719695&((i=4278190335&((i&=1023)|i<<16))|i<<8))|i<<4))|i<<2))<<1)|(M=1227133513&((M=3272356035&((M=251719695&((M=4278190335&((M&=1023)|M<<16))|M<<8))|M<<4))|M<<2))<<2},p.deinterleave3=function(g,i){return(g=1023&((g=4278190335&((g=251719695&((g=3272356035&((g=g>>>i&1227133513)|g>>>2))|g>>>4))|g>>>8))|g>>>16))<<22>>22},p.nextCombination=function(g){var i=g|g-1;return i+1|(~i&-~i)-1>>>t(g)+1}},44781:function(T,p,t){var d=t(53435);T.exports=function(v,f){f||(f={});var l,a,u,o,s,c,h,m,w,y,S,_=f.cutoff==null?.25:f.cutoff,k=f.radius==null?8:f.radius,E=f.channel||0;if(ArrayBuffer.isView(v)||Array.isArray(v)){if(!f.width||!f.height)throw Error("For raw data width and height should be provided by options");l=f.width,a=f.height,o=v,c=f.stride?f.stride:Math.floor(v.length/l/a)}else window.HTMLCanvasElement&&v instanceof window.HTMLCanvasElement?(h=(m=v).getContext("2d"),l=m.width,a=m.height,o=(w=h.getImageData(0,0,l,a)).data,c=4):window.CanvasRenderingContext2D&&v instanceof window.CanvasRenderingContext2D?(h=v,l=(m=v.canvas).width,a=m.height,o=(w=h.getImageData(0,0,l,a)).data,c=4):window.ImageData&&v instanceof window.ImageData&&(w=v,l=v.width,a=v.height,o=w.data,c=4);if(u=Math.max(l,a),window.Uint8ClampedArray&&o instanceof window.Uint8ClampedArray||window.Uint8Array&&o instanceof window.Uint8Array)for(s=o,o=Array(l*a),y=0,S=s.length;y-1?g(f):f}},68222:function(T,p,t){var d=t(77575),g=t(68318),i=g("%Function.prototype.apply%"),M=g("%Function.prototype.call%"),v=g("%Reflect.apply%",!0)||d.call(M,i),f=g("%Object.getOwnPropertyDescriptor%",!0),l=g("%Object.defineProperty%",!0),a=g("%Math.max%");if(l)try{l({},"a",{value:1})}catch{l=null}T.exports=function(o){var s=v(d,M,arguments);if(f&&l){var c=f(s,"length");c.configurable&&l(s,"length",{value:1+a(0,o.length-(arguments.length-1))})}return s};var u=function(){return v(d,i,arguments)};l?l(T.exports,"apply",{value:u}):T.exports.apply=u},53435:function(T){T.exports=function(p,t,d){return td?d:p:pt?t:p}},6475:function(T,p,t){var d=t(53435);function g(i,M){M==null&&(M=!0);var v=i[0],f=i[1],l=i[2],a=i[3];return a==null&&(a=M?1:255),M&&(v*=255,f*=255,l*=255,a*=255),16777216*(v=255&d(v,0,255))+((f=255&d(f,0,255))<<16)+((l=255&d(l,0,255))<<8)+(255&d(a,0,255))}T.exports=g,T.exports.to=g,T.exports.from=function(i,M){var v=(i=+i)>>>24,f=(16711680&i)>>>16,l=(65280&i)>>>8,a=255&i;return M===!1?[v,f,l,a]:[v/255,f/255,l/255,a/255]}},76857:function(T){T.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},25075:function(T,p,t){var d=t(36652),g=t(53435),i=t(90660);T.exports=function(M,v){v!=="float"&&v||(v="array"),v==="uint"&&(v="uint8"),v==="uint_clamped"&&(v="uint8_clamped");var f=new(i(v))(4),l=v!=="uint8"&&v!=="uint8_clamped";return M.length&&typeof M!="string"||((M=d(M))[0]/=255,M[1]/=255,M[2]/=255),function(a){return a instanceof Uint8Array||a instanceof Uint8ClampedArray||!!(Array.isArray(a)&&(a[0]>1||a[0]===0)&&(a[1]>1||a[1]===0)&&(a[2]>1||a[2]===0)&&(!a[3]||a[3]>1))}(M)?(f[0]=M[0],f[1]=M[1],f[2]=M[2],f[3]=M[3]!=null?M[3]:255,l&&(f[0]/=255,f[1]/=255,f[2]/=255,f[3]/=255),f):(l?(f[0]=M[0],f[1]=M[1],f[2]=M[2],f[3]=M[3]!=null?M[3]:1):(f[0]=g(Math.floor(255*M[0]),0,255),f[1]=g(Math.floor(255*M[1]),0,255),f[2]=g(Math.floor(255*M[2]),0,255),f[3]=M[3]==null?255:g(Math.floor(255*M[3]),0,255)),f)}},90736:function(T,p,t){var d=t(76857),g=t(10973),i=t(46775);T.exports=function(v){var f,l,a=[],u=1;if(typeof v=="string")if(d[v])a=d[v].slice(),l="rgb";else if(v==="transparent")u=0,l="rgb",a=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(v)){var o=(h=v.slice(1)).length;u=1,o<=4?(a=[parseInt(h[0]+h[0],16),parseInt(h[1]+h[1],16),parseInt(h[2]+h[2],16)],o===4&&(u=parseInt(h[3]+h[3],16)/255)):(a=[parseInt(h[0]+h[1],16),parseInt(h[2]+h[3],16),parseInt(h[4]+h[5],16)],o===8&&(u=parseInt(h[6]+h[7],16)/255)),a[0]||(a[0]=0),a[1]||(a[1]=0),a[2]||(a[2]=0),l="rgb"}else if(f=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(v)){var s=f[1],c=s==="rgb",h=s.replace(/a$/,"");l=h,o=h==="cmyk"?4:h==="gray"?1:3,a=f[2].trim().split(/\s*,\s*/).map(function(w,y){if(/%$/.test(w))return y===o?parseFloat(w)/100:h==="rgb"?255*parseFloat(w)/100:parseFloat(w);if(h[y]==="h"){if(/deg$/.test(w))return parseFloat(w);if(M[w]!==void 0)return M[w]}return parseFloat(w)}),s===h&&a.push(1),u=c||a[o]===void 0?1:a[o],a=a.slice(0,o)}else v.length>10&&/[0-9](?:\s|\/)/.test(v)&&(a=v.match(/([0-9]+)/g).map(function(w){return parseFloat(w)}),l=v.match(/([a-z])/gi).join("").toLowerCase());else if(isNaN(v))if(g(v)){var m=i(v.r,v.red,v.R,null);m!==null?(l="rgb",a=[m,i(v.g,v.green,v.G),i(v.b,v.blue,v.B)]):(l="hsl",a=[i(v.h,v.hue,v.H),i(v.s,v.saturation,v.S),i(v.l,v.lightness,v.L,v.b,v.brightness)]),u=i(v.a,v.alpha,v.opacity,1),v.opacity!=null&&(u/=100)}else(Array.isArray(v)||t.g.ArrayBuffer&&ArrayBuffer.isView&&ArrayBuffer.isView(v))&&(a=[v[0],v[1],v[2]],l="rgb",u=v.length===4?v[3]:1);else l="rgb",a=[v>>>16,(65280&v)>>>8,255&v];return{space:l,values:a,alpha:u}};var M={red:0,orange:60,yellow:120,green:180,blue:240,purple:300}},36652:function(T,p,t){var d=t(90736),g=t(80009),i=t(53435);T.exports=function(M){var v,f=d(M);return f.space?((v=Array(3))[0]=i(f.values[0],0,255),v[1]=i(f.values[1],0,255),v[2]=i(f.values[2],0,255),f.space[0]==="h"&&(v=g.rgb(v)),v.push(i(f.alpha,0,1)),v):[]}},80009:function(T,p,t){var d=t(6866);T.exports={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(g){var i,M,v,f,l,a=g[0]/360,u=g[1]/100,o=g[2]/100;if(u===0)return[l=255*o,l,l];i=2*o-(M=o<.5?o*(1+u):o+u-o*u),f=[0,0,0];for(var s=0;s<3;s++)(v=a+.3333333333333333*-(s-1))<0?v++:v>1&&v--,l=6*v<1?i+6*(M-i)*v:2*v<1?M:3*v<2?i+(M-i)*(.6666666666666666-v)*6:i,f[s]=255*l;return f}},d.hsl=function(g){var i,M,v=g[0]/255,f=g[1]/255,l=g[2]/255,a=Math.min(v,f,l),u=Math.max(v,f,l),o=u-a;return u===a?i=0:v===u?i=(f-l)/o:f===u?i=2+(l-v)/o:l===u&&(i=4+(v-f)/o),(i=Math.min(60*i,360))<0&&(i+=360),M=(a+u)/2,[i,100*(u===a?0:M<=.5?o/(u+a):o/(2-u-a)),100*M]}},6866:function(T){T.exports={name:"rgb",min:[0,0,0],max:[255,255,255],channel:["red","green","blue"],alias:["RGB"]}},24138:function(T){T.exports={AFG:"afghan",ALA:"\\b\\wland",ALB:"albania",DZA:"algeria",ASM:"^(?=.*americ).*samoa",AND:"andorra",AGO:"angola",AIA:"anguill?a",ATA:"antarctica",ATG:"antigua",ARG:"argentin",ARM:"armenia",ABW:"^(?!.*bonaire).*\\baruba",AUS:"australia",AUT:"^(?!.*hungary).*austria|\\baustri.*\\bemp",AZE:"azerbaijan",BHS:"bahamas",BHR:"bahrain",BGD:"bangladesh|^(?=.*east).*paki?stan",BRB:"barbados",BLR:"belarus|byelo",BEL:"^(?!.*luxem).*belgium",BLZ:"belize|^(?=.*british).*honduras",BEN:"benin|dahome",BMU:"bermuda",BTN:"bhutan",BOL:"bolivia",BES:"^(?=.*bonaire).*eustatius|^(?=.*carib).*netherlands|\\bbes.?islands",BIH:"herzegovina|bosnia",BWA:"botswana|bechuana",BVT:"bouvet",BRA:"brazil",IOT:"british.?indian.?ocean",BRN:"brunei",BGR:"bulgaria",BFA:"burkina|\\bfaso|upper.?volta",BDI:"burundi",CPV:"verde",KHM:"cambodia|kampuchea|khmer",CMR:"cameroon",CAN:"canada",CYM:"cayman",CAF:"\\bcentral.african.republic",TCD:"\\bchad",CHL:"\\bchile",CHN:"^(?!.*\\bmac)(?!.*\\bhong)(?!.*\\btai)(?!.*\\brep).*china|^(?=.*peo)(?=.*rep).*china",CXR:"christmas",CCK:"\\bcocos|keeling",COL:"colombia",COM:"comoro",COG:"^(?!.*\\bdem)(?!.*\\bd[\\.]?r)(?!.*kinshasa)(?!.*zaire)(?!.*belg)(?!.*l.opoldville)(?!.*free).*\\bcongo",COK:"\\bcook",CRI:"costa.?rica",CIV:"ivoire|ivory",HRV:"croatia",CUB:"\\bcuba",CUW:"^(?!.*bonaire).*\\bcura(c|ç)ao",CYP:"cyprus",CSK:"czechoslovakia",CZE:"^(?=.*rep).*czech|czechia|bohemia",COD:"\\bdem.*congo|congo.*\\bdem|congo.*\\bd[\\.]?r|\\bd[\\.]?r.*congo|belgian.?congo|congo.?free.?state|kinshasa|zaire|l.opoldville|drc|droc|rdc",DNK:"denmark",DJI:"djibouti",DMA:"dominica(?!n)",DOM:"dominican.rep",ECU:"ecuador",EGY:"egypt",SLV:"el.?salvador",GNQ:"guine.*eq|eq.*guine|^(?=.*span).*guinea",ERI:"eritrea",EST:"estonia",ETH:"ethiopia|abyssinia",FLK:"falkland|malvinas",FRO:"faroe|faeroe",FJI:"fiji",FIN:"finland",FRA:"^(?!.*\\bdep)(?!.*martinique).*france|french.?republic|\\bgaul",GUF:"^(?=.*french).*guiana",PYF:"french.?polynesia|tahiti",ATF:"french.?southern",GAB:"gabon",GMB:"gambia",GEO:"^(?!.*south).*georgia",DDR:"german.?democratic.?republic|democratic.?republic.*germany|east.germany",DEU:"^(?!.*east).*germany|^(?=.*\\bfed.*\\brep).*german",GHA:"ghana|gold.?coast",GIB:"gibraltar",GRC:"greece|hellenic|hellas",GRL:"greenland",GRD:"grenada",GLP:"guadeloupe",GUM:"\\bguam",GTM:"guatemala",GGY:"guernsey",GIN:"^(?!.*eq)(?!.*span)(?!.*bissau)(?!.*portu)(?!.*new).*guinea",GNB:"bissau|^(?=.*portu).*guinea",GUY:"guyana|british.?guiana",HTI:"haiti",HMD:"heard.*mcdonald",VAT:"holy.?see|vatican|papal.?st",HND:"^(?!.*brit).*honduras",HKG:"hong.?kong",HUN:"^(?!.*austr).*hungary",ISL:"iceland",IND:"india(?!.*ocea)",IDN:"indonesia",IRN:"\\biran|persia",IRQ:"\\biraq|mesopotamia",IRL:"(^ireland)|(^republic.*ireland)",IMN:"^(?=.*isle).*\\bman",ISR:"israel",ITA:"italy",JAM:"jamaica",JPN:"japan",JEY:"jersey",JOR:"jordan",KAZ:"kazak",KEN:"kenya|british.?east.?africa|east.?africa.?prot",KIR:"kiribati",PRK:"^(?=.*democrat|people|north|d.*p.*.r).*\\bkorea|dprk|korea.*(d.*p.*r)",KWT:"kuwait",KGZ:"kyrgyz|kirghiz",LAO:"\\blaos?\\b",LVA:"latvia",LBN:"lebanon",LSO:"lesotho|basuto",LBR:"liberia",LBY:"libya",LIE:"liechtenstein",LTU:"lithuania",LUX:"^(?!.*belg).*luxem",MAC:"maca(o|u)",MDG:"madagascar|malagasy",MWI:"malawi|nyasa",MYS:"malaysia",MDV:"maldive",MLI:"\\bmali\\b",MLT:"\\bmalta",MHL:"marshall",MTQ:"martinique",MRT:"mauritania",MUS:"mauritius",MYT:"\\bmayotte",MEX:"\\bmexic",FSM:"fed.*micronesia|micronesia.*fed",MCO:"monaco",MNG:"mongolia",MNE:"^(?!.*serbia).*montenegro",MSR:"montserrat",MAR:"morocco|\\bmaroc",MOZ:"mozambique",MMR:"myanmar|burma",NAM:"namibia",NRU:"nauru",NPL:"nepal",NLD:"^(?!.*\\bant)(?!.*\\bcarib).*netherlands",ANT:"^(?=.*\\bant).*(nether|dutch)",NCL:"new.?caledonia",NZL:"new.?zealand",NIC:"nicaragua",NER:"\\bniger(?!ia)",NGA:"nigeria",NIU:"niue",NFK:"norfolk",MNP:"mariana",NOR:"norway",OMN:"\\boman|trucial",PAK:"^(?!.*east).*paki?stan",PLW:"palau",PSE:"palestin|\\bgaza|west.?bank",PAN:"panama",PNG:"papua|new.?guinea",PRY:"paraguay",PER:"peru",PHL:"philippines",PCN:"pitcairn",POL:"poland",PRT:"portugal",PRI:"puerto.?rico",QAT:"qatar",KOR:"^(?!.*d.*p.*r)(?!.*democrat)(?!.*people)(?!.*north).*\\bkorea(?!.*d.*p.*r)",MDA:"moldov|b(a|e)ssarabia",REU:"r(e|é)union",ROU:"r(o|u|ou)mania",RUS:"\\brussia|soviet.?union|u\\.?s\\.?s\\.?r|socialist.?republics",RWA:"rwanda",BLM:"barth(e|é)lemy",SHN:"helena",KNA:"kitts|\\bnevis",LCA:"\\blucia",MAF:"^(?=.*collectivity).*martin|^(?=.*france).*martin(?!ique)|^(?=.*french).*martin(?!ique)",SPM:"miquelon",VCT:"vincent",WSM:"^(?!.*amer).*samoa",SMR:"san.?marino",STP:"\\bs(a|ã)o.?tom(e|é)",SAU:"\\bsa\\w*.?arabia",SEN:"senegal",SRB:"^(?!.*monte).*serbia",SYC:"seychell",SLE:"sierra",SGP:"singapore",SXM:"^(?!.*martin)(?!.*saba).*maarten",SVK:"^(?!.*cze).*slovak",SVN:"slovenia",SLB:"solomon",SOM:"somali",ZAF:"south.africa|s\\\\..?africa",SGS:"south.?georgia|sandwich",SSD:"\\bs\\w*.?sudan",ESP:"spain",LKA:"sri.?lanka|ceylon",SDN:"^(?!.*\\bs(?!u)).*sudan",SUR:"surinam|dutch.?guiana",SJM:"svalbard",SWZ:"swaziland",SWE:"sweden",CHE:"switz|swiss",SYR:"syria",TWN:"taiwan|taipei|formosa|^(?!.*peo)(?=.*rep).*china",TJK:"tajik",THA:"thailand|\\bsiam",MKD:"macedonia|fyrom",TLS:"^(?=.*leste).*timor|^(?=.*east).*timor",TGO:"togo",TKL:"tokelau",TON:"tonga",TTO:"trinidad|tobago",TUN:"tunisia",TUR:"turkey",TKM:"turkmen",TCA:"turks",TUV:"tuvalu",UGA:"uganda",UKR:"ukrain",ARE:"emirates|^u\\.?a\\.?e\\.?$|united.?arab.?em",GBR:"united.?kingdom|britain|^u\\.?k\\.?$",TZA:"tanzania",USA:"united.?states\\b(?!.*islands)|\\bu\\.?s\\.?a\\.?\\b|^\\s*u\\.?s\\.?\\b(?!.*islands)",UMI:"minor.?outlying.?is",URY:"uruguay",UZB:"uzbek",VUT:"vanuatu|new.?hebrides",VEN:"venezuela",VNM:"^(?!.*republic).*viet.?nam|^(?=.*socialist).*viet.?nam",VGB:"^(?=.*\\bu\\.?\\s?k).*virgin|^(?=.*brit).*virgin|^(?=.*kingdom).*virgin",VIR:"^(?=.*\\bu\\.?\\s?s).*virgin|^(?=.*states).*virgin",WLF:"futuna|wallis",ESH:"western.sahara",YEM:"^(?!.*arab)(?!.*north)(?!.*sana)(?!.*peo)(?!.*dem)(?!.*south)(?!.*aden)(?!.*\\bp\\.?d\\.?r).*yemen",YMD:"^(?=.*peo).*yemen|^(?!.*rep)(?=.*dem).*yemen|^(?=.*south).*yemen|^(?=.*aden).*yemen|^(?=.*\\bp\\.?d\\.?r).*yemen",YUG:"yugoslavia",ZMB:"zambia|northern.?rhodesia",EAZ:"zanzibar",ZWE:"zimbabwe|^(?!.*northern).*rhodesia"}},72791:function(T,p,t){T.exports={parse:t(41004),stringify:t(53313)}},63625:function(T,p,t){var d=t(40402);T.exports={isSize:function(g){return/^[\d\.]/.test(g)||g.indexOf("/")!==-1||d.indexOf(g)!==-1}}},41004:function(T,p,t){var d=t(90448),g=t(38732),i=t(41901),M=t(15659),v=t(96209),f=t(83794),l=t(99011),a=t(63625).isSize;T.exports=o;var u=o.cache={};function o(c){if(typeof c!="string")throw new Error("Font argument must be a string.");if(u[c])return u[c];if(c==="")throw new Error("Cannot parse an empty string.");if(i.indexOf(c)!==-1)return u[c]={system:c};for(var h,m={style:"normal",variant:"normal",weight:"normal",stretch:"normal",lineHeight:"normal",size:"1rem",family:["serif"]},w=l(c,/\s+/);h=w.shift();){if(g.indexOf(h)!==-1)return["style","variant","weight","stretch"].forEach(function(S){m[S]=h}),u[c]=m;if(v.indexOf(h)===-1)if(h!=="normal"&&h!=="small-caps")if(f.indexOf(h)===-1){if(M.indexOf(h)===-1){if(a(h)){var y=l(h,"/");if(m.size=y[0],y[1]!=null?m.lineHeight=s(y[1]):w[0]==="/"&&(w.shift(),m.lineHeight=s(w.shift())),!w.length)throw new Error("Missing required font-family.");return m.family=l(w.join(" "),/\s*,\s*/).map(d),u[c]=m}throw new Error("Unknown or unsupported font token: "+h)}m.weight=h}else m.stretch=h;else m.variant=h;else m.style=h}throw new Error("Missing required font-size.")}function s(c){var h=parseFloat(c);return h.toString()===c?h:c}},53313:function(T,p,t){var d=t(71299),g=t(63625).isSize,i=c(t(38732)),M=c(t(41901)),v=c(t(15659)),f=c(t(96209)),l=c(t(83794)),a={normal:1,"small-caps":1},u={serif:1,"sans-serif":1,monospace:1,cursive:1,fantasy:1,"system-ui":1},o="serif";function s(h,m){if(h&&!m[h]&&!i[h])throw Error("Unknown keyword `"+h+"`");return h}function c(h){for(var m={},w=0;wc?1:s>=c?0:NaN}t.d(p,{j2:function(){return d},Fp:function(){return M},J6:function(){return f},TS:function(){return l},VV:function(){return a},w6:function(){return u},Sm:function(){return o}}),(g=d).length===1&&(i=g,g=function(s,c){return d(i(s),c)});var g,i;function M(s,c){var h,m,w=s.length,y=-1;if(c==null){for(;++y=h)for(m=h;++ym&&(m=h)}else for(;++y=h)for(m=h;++ym&&(m=h);return m}function v(s){return s===null?NaN:+s}function f(s,c){var h,m=s.length,w=m,y=-1,S=0;if(c==null)for(;++y=0;)for(c=(m=s[w]).length;--c>=0;)h[--S]=m[c];return h}function a(s,c){var h,m,w=s.length,y=-1;if(c==null){for(;++y=h)for(m=h;++yh&&(m=h)}else for(;++y=h)for(m=h;++yh&&(m=h);return m}function u(s,c,h){s=+s,c=+c,h=(w=arguments.length)<2?(c=s,s=0,1):w<3?1:+h;for(var m=-1,w=0|Math.max(0,Math.ceil((c-s)/h)),y=new Array(w);++m=w.length)return c!=null&&k.sort(c),h!=null?h(k):k;for(var L,b,R,I=-1,O=k.length,z=w[E++],F=M(),B=x();++Iw.length)return k;var x,A=y[E-1];return h!=null&&E>=w.length?x=k.entries():(x=[],k.each(function(L,b){x.push({key:b,values:_(L,E)})})),A!=null?x.sort(function(L,b){return A(L.key,b.key)}):x}return m={object:function(k){return S(k,0,f,l)},map:function(k){return S(k,0,a,u)},entries:function(k){return _(S(k,0,a,u),0)},key:function(k){return w.push(k),m},sortKeys:function(k){return y[w.length-1]=k,m},sortValues:function(k){return c=k,m},rollup:function(k){return h=k,m}}}function f(){return{}}function l(c,h,m){c[h]=m}function a(){return M()}function u(c,h,m){c.set(h,m)}function o(){}var s=M.prototype;o.prototype={constructor:o,has:s.has,add:function(c){return this[d+(c+="")]=c,this},remove:s.remove,clear:s.clear,values:s.keys,size:s.size,empty:s.empty,each:s.each}},49887:function(T,p,t){function d(me,pe){var xe;function Pe(){var _e,Me,Se=xe.length,Ce=0,ae=0;for(_e=0;_e=(Me=(je+we)/2))?je=Me:we=Me,(be=xe>=(Se=(ge+Ee)/2))?ge=Se:Ee=Se,_e=Be,!(Be=Be[ke=be<<1|fe]))return _e[ke]=ze,me;if(Ce=+me._x.call(null,Be.data),ae=+me._y.call(null,Be.data),pe===Ce&&xe===ae)return ze.next=Be,_e?_e[ke]=ze:me._root=ze,me;do _e=_e?_e[ke]=new Array(4):me._root=new Array(4),(fe=pe>=(Me=(je+we)/2))?je=Me:we=Me,(be=xe>=(Se=(ge+Ee)/2))?ge=Se:Ee=Se;while((ke=be<<1|fe)==(Le=(ae>=Se)<<1|Ce>=Me));return _e[Le]=Be,_e[ke]=ze,me}function v(me,pe,xe,Pe,_e){this.node=me,this.x0=pe,this.y0=xe,this.x1=Pe,this.y1=_e}function f(me){return me[0]}function l(me){return me[1]}function a(me,pe,xe){var Pe=new u(pe??f,xe??l,NaN,NaN,NaN,NaN);return me==null?Pe:Pe.addAll(me)}function u(me,pe,xe,Pe,_e,Me){this._x=me,this._y=pe,this._x0=xe,this._y0=Pe,this._x1=_e,this._y1=Me,this._root=void 0}function o(me){for(var pe={data:me.data},xe=pe;me=me.next;)xe=xe.next={data:me.data};return pe}t.r(p),t.d(p,{forceCenter:function(){return d},forceCollide:function(){return m},forceLink:function(){return _},forceManyBody:function(){return ue},forceRadial:function(){return ce},forceSimulation:function(){return oe},forceX:function(){return ye},forceY:function(){return de}});var s=a.prototype=u.prototype;function c(me){return me.x+me.vx}function h(me){return me.y+me.vy}function m(me){var pe,xe,Pe=1,_e=1;function Me(){for(var ae,fe,be,ke,Le,Be,ze,je=pe.length,ge=0;ge<_e;++ge)for(fe=a(pe,c,h).visitAfter(Se),ae=0;aeke+bt||YeLe+bt||stbe.index){var Et=ke-ot.x-ot.vx,kt=Le-ot.y-ot.vy,xt=Et*Et+kt*kt;xtae.r&&(ae.r=ae[fe].r)}function Ce(){if(pe){var ae,fe,be=pe.length;for(xe=new Array(be),ae=0;aebe&&(be=Pe),_eke&&(ke=_e));if(ae>be||fe>ke)return this;for(this.cover(ae,fe).cover(be,ke),xe=0;xeme||me>=_e||Pe>pe||pe>=Me;)switch(Ce=(peLe||(Me=ae.y0)>Be||(Se=ae.x1)=we)<<1|me>=ge)&&(ae=ze[ze.length-1],ze[ze.length-1]=ze[ze.length-1-fe],ze[ze.length-1-fe]=ae)}else{var Ee=me-+this._x.call(null,je.data),Ve=pe-+this._y.call(null,je.data),$e=Ee*Ee+Ve*Ve;if($e=(Ce=(ze+ge)/2))?ze=Ce:ge=Ce,(be=Se>=(ae=(je+we)/2))?je=ae:we=ae,pe=Be,!(Be=Be[ke=be<<1|fe]))return this;if(!Be.length)break;(pe[ke+1&3]||pe[ke+2&3]||pe[ke+3&3])&&(xe=pe,Le=ke)}for(;Be.data!==me;)if(Pe=Be,!(Be=Be.next))return this;return(_e=Be.next)&&delete Be.next,Pe?(_e?Pe.next=_e:delete Pe.next,this):pe?(_e?pe[ke]=_e:delete pe[ke],(Be=pe[0]||pe[1]||pe[2]||pe[3])&&Be===(pe[3]||pe[2]||pe[1]||pe[0])&&!Be.length&&(xe?xe[Le]=Be:this._root=Be),this):(this._root=_e,this)},s.removeAll=function(me){for(var pe=0,xe=me.length;pe=0&&(Pe=xe.slice(_e+1),xe=xe.slice(0,_e)),xe&&!pe.hasOwnProperty(xe))throw new Error("unknown type: "+xe);return{type:xe,name:Pe}})}function L(me,pe){for(var xe,Pe=0,_e=me.length;Pe<_e;++Pe)if((xe=me[Pe]).name===pe)return xe.value}function b(me,pe,xe){for(var Pe=0,_e=me.length;Pe<_e;++Pe)if(me[Pe].name===pe){me[Pe]=k,me=me.slice(0,Pe).concat(me.slice(Pe+1));break}return xe!=null&&me.push({name:pe,value:xe}),me}x.prototype=E.prototype={constructor:x,on:function(me,pe){var xe,Pe=this._,_e=A(me+"",Pe),Me=-1,Se=_e.length;if(!(arguments.length<2)){if(pe!=null&&typeof pe!="function")throw new Error("invalid callback: "+pe);for(;++Me0)for(var xe,Pe,_e=new Array(xe),Me=0;Me=0&&pe._call.call(null,me),pe=pe._next;--z})()}finally{z=0,function(){for(var me,pe,xe=R,Pe=1/0;xe;)xe._call?(Pe>xe._time&&(Pe=xe._time),me=xe,xe=xe._next):(pe=xe._next,xe._next=null,xe=me?me._next=pe:R=pe);I=me,X(Pe)}(),W=0}}function Z(){var me=$.now(),pe=me-N;pe>1e3&&(j-=pe,N=me)}function X(me){z||(F&&(F=clearTimeout(F)),me-W>24?(me<1/0&&(F=setTimeout(te,me-$.now()-j)),B&&(B=clearInterval(B))):(B||(N=$.now(),B=setInterval(Z,1e3)),z=1,U(te)))}function Q(me){return me.x}function re(me){return me.y}H.prototype=ne.prototype={constructor:H,restart:function(me,pe,xe){if(typeof me!="function")throw new TypeError("callback is not a function");xe=(xe==null?G():+xe)+(pe==null?0:+pe),this._next||I===this||(I?I._next=this:R=this,I=this),this._call=me,this._time=xe,X()},stop:function(){this._call&&(this._call=null,this._time=1/0,X())}};var ie=Math.PI*(3-Math.sqrt(5));function oe(me){var pe,xe=1,Pe=.001,_e=1-Math.pow(Pe,1/300),Me=0,Se=.6,Ce=(0,w.UI)(),ae=ne(be),fe=O("tick","end");function be(){ke(),fe.call("tick",pe),xe1?(je==null?Ce.remove(ze):Ce.set(ze,Be(je)),pe):Ce.get(ze)},find:function(ze,je,ge){var we,Ee,Ve,$e,Ye,st=0,ot=me.length;for(ge==null?ge=1/0:ge*=ge,st=0;st1?(fe.on(ze,je),pe):fe.on(ze)}}}function ue(){var me,pe,xe,Pe,_e=g(-30),Me=1,Se=1/0,Ce=.81;function ae(Le){var Be,ze=me.length,je=a(me,Q,re).visitAfter(be);for(xe=Le,Be=0;Be=Se)){(Le.data!==pe||Le.next)&&(ge===0&&(Ve+=(ge=i())*ge),we===0&&(Ve+=(we=i())*we),Ve1?S[0]+S.slice(2):S,+m.slice(y+1)]}t.d(p,{WU:function(){return o},FF:function(){return h}});var g,i=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function M(m){if(!(w=i.exec(m)))throw new Error("invalid format: "+m);var w;return new v({fill:w[1],align:w[2],sign:w[3],symbol:w[4],zero:w[5],width:w[6],comma:w[7],precision:w[8]&&w[8].slice(1),trim:w[9],type:w[10]})}function v(m){this.fill=m.fill===void 0?" ":m.fill+"",this.align=m.align===void 0?">":m.align+"",this.sign=m.sign===void 0?"-":m.sign+"",this.symbol=m.symbol===void 0?"":m.symbol+"",this.zero=!!m.zero,this.width=m.width===void 0?void 0:+m.width,this.comma=!!m.comma,this.precision=m.precision===void 0?void 0:+m.precision,this.trim=!!m.trim,this.type=m.type===void 0?"":m.type+""}function f(m,w){var y=d(m,w);if(!y)return m+"";var S=y[0],_=y[1];return _<0?"0."+new Array(-_).join("0")+S:S.length>_+1?S.slice(0,_+1)+"."+S.slice(_+1):S+new Array(_-S.length+2).join("0")}M.prototype=v.prototype,v.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,0|this.width))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var l={"%":function(m,w){return(100*m).toFixed(w)},b:function(m){return Math.round(m).toString(2)},c:function(m){return m+""},d:function(m){return Math.abs(m=Math.round(m))>=1e21?m.toLocaleString("en").replace(/,/g,""):m.toString(10)},e:function(m,w){return m.toExponential(w)},f:function(m,w){return m.toFixed(w)},g:function(m,w){return m.toPrecision(w)},o:function(m){return Math.round(m).toString(8)},p:function(m,w){return f(100*m,w)},r:f,s:function(m,w){var y=d(m,w);if(!y)return m+"";var S=y[0],_=y[1],k=_-(g=3*Math.max(-8,Math.min(8,Math.floor(_/3))))+1,E=S.length;return k===E?S:k>E?S+new Array(k-E+1).join("0"):k>0?S.slice(0,k)+"."+S.slice(k):"0."+new Array(1-k).join("0")+d(m,Math.max(0,w+k-1))[0]},X:function(m){return Math.round(m).toString(16).toUpperCase()},x:function(m){return Math.round(m).toString(16)}};function a(m){return m}var u,o,s=Array.prototype.map,c=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function h(m){var w,y,S=m.grouping===void 0||m.thousands===void 0?a:(w=s.call(m.grouping,Number),y=m.thousands+"",function(I,O){for(var z=I.length,F=[],B=0,N=w[0],W=0;z>0&&N>0&&(W+N+1>O&&(N=Math.max(1,O-W)),F.push(I.substring(z-=N,z+N)),!((W+=N+1)>O));)N=w[B=(B+1)%w.length];return F.reverse().join(y)}),_=m.currency===void 0?"":m.currency[0]+"",k=m.currency===void 0?"":m.currency[1]+"",E=m.decimal===void 0?".":m.decimal+"",x=m.numerals===void 0?a:function(I){return function(O){return O.replace(/[0-9]/g,function(z){return I[+z]})}}(s.call(m.numerals,String)),A=m.percent===void 0?"%":m.percent+"",L=m.minus===void 0?"-":m.minus+"",b=m.nan===void 0?"NaN":m.nan+"";function R(I){var O=(I=M(I)).fill,z=I.align,F=I.sign,B=I.symbol,N=I.zero,W=I.width,j=I.comma,$=I.precision,U=I.trim,G=I.type;G==="n"?(j=!0,G="g"):l[G]||($===void 0&&($=12),U=!0,G="g"),(N||O==="0"&&z==="=")&&(N=!0,O="0",z="=");var q=B==="$"?_:B==="#"&&/[boxX]/.test(G)?"0"+G.toLowerCase():"",H=B==="$"?k:/[%p]/.test(G)?A:"",ne=l[G],te=/[defgprs%]/.test(G);function Z(X){var Q,re,ie,oe=q,ue=H;if(G==="c")ue=ne(X)+ue,X="";else{var ce=(X=+X)<0||1/X<0;if(X=isNaN(X)?b:ne(Math.abs(X),$),U&&(X=function(me){e:for(var pe,xe=me.length,Pe=1,_e=-1;Pe0&&(_e=0)}return _e>0?me.slice(0,_e)+me.slice(pe+1):me}(X)),ce&&+X==0&&F!=="+"&&(ce=!1),oe=(ce?F==="("?F:L:F==="-"||F==="("?"":F)+oe,ue=(G==="s"?c[8+g/3]:"")+ue+(ce&&F==="("?")":""),te){for(Q=-1,re=X.length;++Q(ie=X.charCodeAt(Q))||ie>57){ue=(ie===46?E+X.slice(Q+1):X.slice(Q))+ue,X=X.slice(0,Q);break}}}j&&!N&&(X=S(X,1/0));var ye=oe.length+X.length+ue.length,de=ye>1)+oe+X+ue+de.slice(ye);break;default:X=de+oe+X+ue}return x(X)}return $=$===void 0?6:/[gprs]/.test(G)?Math.max(1,Math.min(21,$)):Math.max(0,Math.min(20,$)),Z.toString=function(){return I+""},Z}return{format:R,formatPrefix:function(I,O){var z,F=R(((I=M(I)).type="f",I)),B=3*Math.max(-8,Math.min(8,Math.floor((z=O,((z=d(Math.abs(z)))?z[1]:NaN)/3)))),N=Math.pow(10,-B),W=c[8+B/3];return function(j){return F(N*j)+W}}}}u=h({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),o=u.format,u.formatPrefix},65704:function(T,p,t){t.r(p),t.d(p,{geoAiry:function(){return j},geoAiryRaw:function(){return W},geoAitoff:function(){return U},geoAitoffRaw:function(){return $},geoArmadillo:function(){return q},geoArmadilloRaw:function(){return G},geoAugust:function(){return ne},geoAugustRaw:function(){return H},geoBaker:function(){return Q},geoBakerRaw:function(){return X},geoBerghaus:function(){return oe},geoBerghausRaw:function(){return ie},geoBertin1953:function(){return Pe},geoBertin1953Raw:function(){return xe},geoBoggs:function(){return ke},geoBoggsRaw:function(){return be},geoBonne:function(){return ge},geoBonneRaw:function(){return je},geoBottomley:function(){return Ee},geoBottomleyRaw:function(){return we},geoBromley:function(){return $e},geoBromleyRaw:function(){return Ve},geoChamberlin:function(){return Ft},geoChamberlinAfrica:function(){return xt},geoChamberlinRaw:function(){return Et},geoCollignon:function(){return Bt},geoCollignonRaw:function(){return Ot},geoCraig:function(){return Vt},geoCraigRaw:function(){return qt},geoCraster:function(){return qe},geoCrasterRaw:function(){return Je},geoCylindricalEqualArea:function(){return ft},geoCylindricalEqualAreaRaw:function(){return nt},geoCylindricalStereographic:function(){return Ne},geoCylindricalStereographicRaw:function(){return Re},geoEckert1:function(){return ut},geoEckert1Raw:function(){return Qe},geoEckert2:function(){return _t},geoEckert2Raw:function(){return dt},geoEckert3:function(){return Lt},geoEckert3Raw:function(){return It},geoEckert4:function(){return Pt},geoEckert4Raw:function(){return yt},geoEckert5:function(){return Rt},geoEckert5Raw:function(){return wt},geoEckert6:function(){return Yt},geoEckert6Raw:function(){return Nt},geoEisenlohr:function(){return Qt},geoEisenlohrRaw:function(){return Xt},geoFahey:function(){return un},geoFaheyRaw:function(){return xn},geoFoucaut:function(){return Yn},geoFoucautRaw:function(){return An},geoFoucautSinusoidal:function(){return sn},geoFoucautSinusoidalRaw:function(){return kn},geoGilbert:function(){return In},geoGingery:function(){return lr},geoGingeryRaw:function(){return jn},geoGinzburg4:function(){return yr},geoGinzburg4Raw:function(){return Sr},geoGinzburg5:function(){return vr},geoGinzburg5Raw:function(){return or},geoGinzburg6:function(){return Kt},geoGinzburg6Raw:function(){return _r},geoGinzburg8:function(){return Rn},geoGinzburg8Raw:function(){return bn},geoGinzburg9:function(){return Un},geoGinzburg9Raw:function(){return Ln},geoGringorten:function(){return tr},geoGringortenQuincuncial:function(){return qc},geoGringortenRaw:function(){return $n},geoGuyou:function(){return jt},geoGuyouRaw:function(){return Pn},geoHammer:function(){return de},geoHammerRaw:function(){return ce},geoHammerRetroazimuthal:function(){return On},geoHammerRetroazimuthalRaw:function(){return hn},geoHealpix:function(){return nr},geoHealpixRaw:function(){return yn},geoHill:function(){return hr},geoHillRaw:function(){return Qn},geoHomolosine:function(){return Lr},geoHomolosineRaw:function(){return Ir},geoHufnagel:function(){return gr},geoHufnagelRaw:function(){return zr},geoHyperelliptical:function(){return ea},geoHyperellipticalRaw:function(){return ji},geoInterrupt:function(){return Xi},geoInterruptedBoggs:function(){return rs},geoInterruptedHomolosine:function(){return Cu},geoInterruptedMollweide:function(){return Mh},geoInterruptedMollweideHemispheres:function(){return is},geoInterruptedQuarticAuthalic:function(){return nu},geoInterruptedSinuMollweide:function(){return Ya},geoInterruptedSinusoidal:function(){return Yo},geoKavrayskiy7:function(){return Ml},geoKavrayskiy7Raw:function(){return as},geoLagrange:function(){return Al},geoLagrangeRaw:function(){return Ui},geoLarrivee:function(){return js},geoLarriveeRaw:function(){return Es},geoLaskowski:function(){return vf},geoLaskowskiRaw:function(){return fc},geoLittrow:function(){return yf},geoLittrowRaw:function(){return tl},geoLoximuthal:function(){return id},geoLoximuthalRaw:function(){return bf},geoMiller:function(){return xf},geoMillerRaw:function(){return Sh},geoModifiedStereographic:function(){return Ql},geoModifiedStereographicAlaska:function(){return Lh},geoModifiedStereographicGs48:function(){return Jl},geoModifiedStereographicGs50:function(){return jc},geoModifiedStereographicLee:function(){return Iu},geoModifiedStereographicMiller:function(){return Sl},geoModifiedStereographicRaw:function(){return Ch},geoMollweide:function(){return Ce},geoMollweideRaw:function(){return Se},geoMtFlatPolarParabolic:function(){return ad},geoMtFlatPolarParabolicRaw:function(){return Cl},geoMtFlatPolarQuartic:function(){return dc},geoMtFlatPolarQuarticRaw:function(){return Uc},geoMtFlatPolarSinusoidal:function(){return Ru},geoMtFlatPolarSinusoidalRaw:function(){return eu},geoNaturalEarth:function(){return ms.Z},geoNaturalEarth2:function(){return pc},geoNaturalEarth2Raw:function(){return Ih},geoNaturalEarthRaw:function(){return ms.K},geoNellHammer:function(){return mc},geoNellHammerRaw:function(){return Pu},geoNicolosi:function(){return gc},geoNicolosiRaw:function(){return Ou},geoPatterson:function(){return Hc},geoPattersonRaw:function(){return El},geoPeirceQuincuncial:function(){return Wc},geoPierceQuincuncial:function(){return Wc},geoPolyconic:function(){return Ph},geoPolyconicRaw:function(){return xc},geoPolyhedral:function(){return Ll},geoPolyhedralButterfly:function(){return Gc},geoPolyhedralCollignon:function(){return Dh},geoPolyhedralWaterman:function(){return ou},geoProject:function(){return lu},geoQuantize:function(){return Lo},geoQuincuncial:function(){return $o},geoRectangularPolyconic:function(){return uu},geoRectangularPolyconicRaw:function(){return Dr},geoRobinson:function(){return zu},geoRobinsonRaw:function(){return Yc},geoSatellite:function(){return Bu},geoSatelliteRaw:function(){return Fu},geoSinuMollweide:function(){return br},geoSinuMollweideRaw:function(){return dr},geoSinusoidal:function(){return ze},geoSinusoidalRaw:function(){return Be},geoStitch:function(){return hu},geoTimes:function(){return xs},geoTimesRaw:function(){return yo},geoTwoPointAzimuthal:function(){return _s},geoTwoPointAzimuthalRaw:function(){return Tc},geoTwoPointAzimuthalUsa:function(){return os},geoTwoPointEquidistant:function(){return Wi},geoTwoPointEquidistantRaw:function(){return Gs},geoTwoPointEquidistantUsa:function(){return Bo},geoVanDerGrinten:function(){return Is},geoVanDerGrinten2:function(){return qs},geoVanDerGrinten2Raw:function(){return No},geoVanDerGrinten3:function(){return ul},geoVanDerGrinten3Raw:function(){return Ol},geoVanDerGrinten4:function(){return ws},geoVanDerGrinten4Raw:function(){return bo},geoVanDerGrintenRaw:function(){return no},geoWagner:function(){return ni},geoWagner4:function(){return Zc},geoWagner4Raw:function(){return xo},geoWagner6:function(){return ju},geoWagner6Raw:function(){return Vo},geoWagner7:function(){return Vu},geoWagnerRaw:function(){return Hr},geoWiechel:function(){return Ji},geoWiechelRaw:function(){return hl},geoWinkel3:function(){return Xc},geoWinkel3Raw:function(){return la}});var d=t(15002),g=Math.abs,i=Math.atan,M=Math.atan2,v=Math.cos,f=Math.exp,l=Math.floor,a=Math.log,u=Math.max,o=Math.min,s=Math.pow,c=Math.round,h=Math.sign||function(et){return et>0?1:et<0?-1:0},m=Math.sin,w=Math.tan,y=1e-6,S=1e-12,_=Math.PI,k=_/2,E=_/4,x=Math.SQRT1_2,A=F(2),L=F(_),b=2*_,R=180/_,I=_/180;function O(et){return et>1?k:et<-1?-k:Math.asin(et)}function z(et){return et>1?0:et<-1?_:Math.acos(et)}function F(et){return et>0?Math.sqrt(et):0}function B(et){return(f(et)-f(-et))/2}function N(et){return(f(et)+f(-et))/2}function W(et){var rt=w(et/2),ct=2*a(v(et/2))/(rt*rt);function vt(St,Mt){var Y=v(St),ee=v(Mt),K=m(Mt),le=ee*Y,Te=-((1-le?a((1+le)/2)/(1-le):-.5)+ct/(1+le));return[Te*ee*m(St),Te*K]}return vt.invert=function(St,Mt){var Y,ee=F(St*St+Mt*Mt),K=-et/2,le=50;if(!ee)return[0,0];do{var Te=K/2,De=v(Te),He=m(Te),Ze=He/De,at=-a(g(De));K-=Y=(2/Ze*at-ct*Ze-ee)/(-at/(He*He)+1-ct/(2*De*De))*(De<0?.7:1)}while(g(Y)>y&&--le>0);var Tt=m(K);return[M(St*Tt,ee*v(K)),O(Mt*Tt/ee)]},vt}function j(){var et=k,rt=(0,d.r)(W),ct=rt(et);return ct.radius=function(vt){return arguments.length?rt(et=vt*I):et*R},ct.scale(179.976).clipAngle(147)}function $(et,rt){var ct=v(rt),vt=function(St){return St?St/Math.sin(St):1}(z(ct*v(et/=2)));return[2*ct*m(et)*vt,m(rt)*vt]}function U(){return(0,d.Z)($).scale(152.63)}function G(et){var rt=m(et),ct=v(et),vt=et>=0?1:-1,St=w(vt*et),Mt=(1+rt-ct)/2;function Y(ee,K){var le=v(K),Te=v(ee/=2);return[(1+le)*m(ee),(vt*K>-M(Te,St)-.001?0:10*-vt)+Mt+m(K)*ct-(1+le)*rt*Te]}return Y.invert=function(ee,K){var le=0,Te=0,De=50;do{var He=v(le),Ze=m(le),at=v(Te),Tt=m(Te),At=1+at,se=At*Ze-ee,ve=Mt+Tt*ct-At*rt*He-K,Ie=At*He/2,Fe=-Ze*Tt,Ue=rt*At*Ze/2,We=ct*at+rt*He*Tt,Xe=Fe*Ue-We*Ie,tt=(ve*Fe-se*We)/Xe/2,lt=(se*Ue-ve*Ie)/Xe;g(lt)>2&&(lt/=2),le-=tt,Te-=lt}while((g(tt)>y||g(lt)>y)&&--De>0);return vt*Te>-M(v(le),St)-.001?[2*le,Te]:null},Y}function q(){var et=20*I,rt=et>=0?1:-1,ct=w(rt*et),vt=(0,d.r)(G),St=vt(et),Mt=St.stream;return St.parallel=function(Y){return arguments.length?(ct=w((rt=(et=Y*I)>=0?1:-1)*et),vt(et)):et*R},St.stream=function(Y){var ee=St.rotate(),K=Mt(Y),le=(St.rotate([0,0]),Mt(Y)),Te=St.precision();return St.rotate(ee),K.sphere=function(){le.polygonStart(),le.lineStart();for(var De=-180*rt;rt*De<180;De+=90*rt)le.point(De,90*rt);if(et)for(;rt*(De-=3*rt*Te)>=-180;)le.point(De,rt*-M(v(De*I/2),ct)*R);le.lineEnd(),le.polygonEnd()},K},St.scale(218.695).center([0,28.0974])}function H(et,rt){var ct=w(rt/2),vt=F(1-ct*ct),St=1+vt*v(et/=2),Mt=m(et)*vt/St,Y=ct/St,ee=Mt*Mt,K=Y*Y;return[1.3333333333333333*Mt*(3+ee-3*K),1.3333333333333333*Y*(3+3*ee-K)]}function ne(){return(0,d.Z)(H).scale(66.1603)}$.invert=function(et,rt){if(!(et*et+4*rt*rt>_*_+y)){var ct=et,vt=rt,St=25;do{var Mt,Y=m(ct),ee=m(ct/2),K=v(ct/2),le=m(vt),Te=v(vt),De=m(2*vt),He=le*le,Ze=Te*Te,at=ee*ee,Tt=1-Ze*K*K,At=Tt?z(Te*K)*F(Mt=1/Tt):Mt=0,se=2*At*Te*ee-et,ve=At*le-rt,Ie=Mt*(Ze*at+At*Te*K*He),Fe=Mt*(.5*Y*De-2*At*le*ee),Ue=.25*Mt*(De*ee-At*le*Ze*Y),We=Mt*(He*K+At*at*Te),Xe=Fe*Ue-We*Ie;if(!Xe)break;var tt=(ve*Fe-se*We)/Xe,lt=(se*Ue-ve*Ie)/Xe;ct-=tt,vt-=lt}while((g(tt)>y||g(lt)>y)&&--St>0);return[ct,vt]}},H.invert=function(et,rt){if(rt*=.375,!(et*=.375)&&g(rt)>1)return null;var ct=1+et*et+rt*rt,vt=F((ct-F(ct*ct-4*rt*rt))/2),St=O(vt)/3,Mt=vt?function(le){return a(le+F(le*le-1))}(g(rt/vt))/3:function(le){return a(le+F(le*le+1))}(g(et))/3,Y=v(St),ee=N(Mt),K=ee*ee-Y*Y;return[2*h(et)*M(B(Mt)*Y,.25-K),2*h(rt)*M(ee*m(St),.25+K)]};var te=F(8),Z=a(1+A);function X(et,rt){var ct=g(rt);return ctS&&--Mt>0);return[et/(v(St)*(te-1/m(St))),h(rt)*St]};var re=t(17889);function ie(et){var rt=2*_/et;function ct(vt,St){var Mt=(0,re.N)(vt,St);if(g(vt)>k){var Y=M(Mt[1],Mt[0]),ee=F(Mt[0]*Mt[0]+Mt[1]*Mt[1]),K=rt*c((Y-k)/rt)+k,le=M(m(Y-=K),2-v(Y));Y=K+O(_/ee*m(le))-le,Mt[0]=ee*v(Y),Mt[1]=ee*m(Y)}return Mt}return ct.invert=function(vt,St){var Mt=F(vt*vt+St*St);if(Mt>k){var Y=M(St,vt),ee=rt*c((Y-k)/rt)+k,K=Y>ee?-1:1,le=Mt*v(ee-Y),Te=1/w(K*z((le-_)/F(_*(_-2*le)+Mt*Mt)));Y=ee+2*i((Te+K*F(Te*Te-3))/3),vt=Mt*v(Y),St=Mt*m(Y)}return re.N.invert(vt,St)},ct}function oe(){var et=5,rt=(0,d.r)(ie),ct=rt(et),vt=ct.stream,St=.01,Mt=-v(St*I),Y=m(St*I);return ct.lobes=function(ee){return arguments.length?rt(et=+ee):et},ct.stream=function(ee){var K=ct.rotate(),le=vt(ee),Te=(ct.rotate([0,0]),vt(ee));return ct.rotate(K),le.sphere=function(){Te.polygonStart(),Te.lineStart();for(var De=0,He=360/et,Ze=2*_/et,at=90-180/et,Tt=k;De0&&g(vt)>y);return Y<0?NaN:ct}function pe(et,rt,ct){return rt===void 0&&(rt=40),ct===void 0&&(ct=S),function(vt,St,Mt,Y){var ee,K,le;Mt=Mt===void 0?0:+Mt,Y=Y===void 0?0:+Y;for(var Te=0;Teee)Mt-=K/=2,Y-=le/=2;else{ee=at;var Tt=(Mt>0?-1:1)*ct,At=(Y>0?-1:1)*ct,se=et(Mt+Tt,Y),ve=et(Mt,Y+At),Ie=(se[0]-De[0])/Tt,Fe=(se[1]-De[1])/Tt,Ue=(ve[0]-De[0])/At,We=(ve[1]-De[1])/At,Xe=We*Ie-Fe*Ue,tt=(g(Xe)<.5?.5:1)/Xe;if(Mt+=K=(Ze*Ue-He*We)*tt,Y+=le=(He*Fe-Ze*Ie)*tt,g(K)0&&(Mt[1]*=1+Y/1.5*Mt[0]*Mt[0]),Mt}return rt.invert=pe(rt),rt}function Pe(){return(0,d.Z)(xe()).rotate([-16.5,-42]).scale(176.57).center([7.93,.09])}function _e(et,rt){var ct,vt=et*m(rt),St=30;do rt-=ct=(rt+m(rt)-vt)/(1+v(rt));while(g(ct)>y&&--St>0);return rt/2}function Me(et,rt,ct){function vt(St,Mt){return[et*St*v(Mt=_e(ct,Mt)),rt*m(Mt)]}return vt.invert=function(St,Mt){return Mt=O(Mt/rt),[St/(et*v(Mt)),O((2*Mt+m(2*Mt))/ct)]},vt}ye.invert=function(et,rt){var ct=2*O(rt/2);return[et*v(ct/2)/v(ct),ct]};var Se=Me(A/k,A,_);function Ce(){return(0,d.Z)(Se).scale(169.529)}var ae=2.00276,fe=1.11072;function be(et,rt){var ct=_e(_,rt);return[ae*et/(1/v(rt)+fe/v(ct)),(rt+A*m(ct))/ae]}function ke(){return(0,d.Z)(be).scale(160.857)}function Le(et){var rt=0,ct=(0,d.r)(et),vt=ct(rt);return vt.parallel=function(St){return arguments.length?ct(rt=St*I):rt*R},vt}function Be(et,rt){return[et*v(rt),rt]}function ze(){return(0,d.Z)(Be).scale(152.63)}function je(et){if(!et)return Be;var rt=1/w(et);function ct(vt,St){var Mt=rt+et-St,Y=Mt&&vt*v(St)/Mt;return[Mt*m(Y),rt-Mt*v(Y)]}return ct.invert=function(vt,St){var Mt=F(vt*vt+(St=rt-St)*St),Y=rt+et-Mt;return[Mt/v(Y)*M(vt,St),Y]},ct}function ge(){return Le(je).scale(123.082).center([0,26.1441]).parallel(45)}function we(et){function rt(ct,vt){var St=k-vt,Mt=St&&ct*et*m(St)/St;return[St*m(Mt)/et,k-St*v(Mt)]}return rt.invert=function(ct,vt){var St=ct*et,Mt=k-vt,Y=F(St*St+Mt*Mt),ee=M(St,Mt);return[(Y?Y/m(Y):1)*ee/et,k-Y]},rt}function Ee(){var et=.5,rt=(0,d.r)(we),ct=rt(et);return ct.fraction=function(vt){return arguments.length?rt(et=+vt):et},ct.scale(158.837)}be.invert=function(et,rt){var ct,vt,St=ae*rt,Mt=rt<0?-E:E,Y=25;do vt=St-A*m(Mt),Mt-=ct=(m(2*Mt)+2*Mt-_*m(vt))/(2*v(2*Mt)+2+_*v(vt)*A*v(Mt));while(g(ct)>y&&--Y>0);return vt=St-A*m(Mt),[et*(1/v(vt)+fe/v(Mt))/ae,vt]},Be.invert=function(et,rt){return[et/v(rt),rt]};var Ve=Me(1,4/_,_);function $e(){return(0,d.Z)(Ve).scale(152.63)}var Ye=t(66624),st=t(49386);function ot(et,rt,ct,vt,St,Mt){var Y,ee=v(Mt);if(g(et)>1||g(Mt)>1)Y=z(ct*St+rt*vt*ee);else{var K=m(et/2),le=m(Mt/2);Y=2*O(F(K*K+rt*vt*le*le))}return g(Y)>y?[Y,M(vt*m(Mt),rt*St-ct*vt*ee)]:[0,0]}function ht(et,rt,ct){return z((et*et+rt*rt-ct*ct)/(2*et*rt))}function bt(et){return et-2*_*l((et+_)/(2*_))}function Et(et,rt,ct){for(var vt,St=[[et[0],et[1],m(et[1]),v(et[1])],[rt[0],rt[1],m(rt[1]),v(rt[1])],[ct[0],ct[1],m(ct[1]),v(ct[1])]],Mt=St[2],Y=0;Y<3;++Y,Mt=vt)vt=St[Y],Mt.v=ot(vt[1]-Mt[1],Mt[3],Mt[2],vt[3],vt[2],vt[0]-Mt[0]),Mt.point=[0,0];var ee=ht(St[0].v[0],St[2].v[0],St[1].v[0]),K=ht(St[0].v[0],St[1].v[0],St[2].v[0]),le=_-ee;St[2].point[1]=0,St[0].point[0]=-(St[1].point[0]=St[0].v[0]/2);var Te=[St[2].point[0]=St[0].point[0]+St[2].v[0]*v(ee),2*(St[0].point[1]=St[1].point[1]=St[2].v[0]*m(ee))];return function(De,He){var Ze,at=m(He),Tt=v(He),At=new Array(3);for(Ze=0;Ze<3;++Ze){var se=St[Ze];if(At[Ze]=ot(He-se[1],se[3],se[2],Tt,at,De-se[0]),!At[Ze][0])return se.point;At[Ze][1]=bt(At[Ze][1]-se.v[1])}var ve=Te.slice();for(Ze=0;Ze<3;++Ze){var Ie=Ze==2?0:Ze+1,Fe=ht(St[Ze].v[0],At[Ze][0],At[Ie][0]);At[Ze][1]<0&&(Fe=-Fe),Ze?Ze==1?(Fe=K-Fe,ve[0]-=At[Ze][0]*v(Fe),ve[1]-=At[Ze][0]*m(Fe)):(Fe=le-Fe,ve[0]+=At[Ze][0]*v(Fe),ve[1]+=At[Ze][0]*m(Fe)):(ve[0]+=At[Ze][0]*v(Fe),ve[1]-=At[Ze][0]*m(Fe))}return ve[0]/=3,ve[1]/=3,ve}}function kt(et){return et[0]*=I,et[1]*=I,et}function xt(){return Ft([0,22],[45,22],[22.5,-22]).scale(380).center([22.5,2])}function Ft(et,rt,ct){var vt=(0,Ye.Z)({type:"MultiPoint",coordinates:[et,rt,ct]}),St=[-vt[0],-vt[1]],Mt=(0,st.Z)(St),Y=Et(kt(Mt(et)),kt(Mt(rt)),kt(Mt(ct)));Y.invert=pe(Y);var ee=(0,d.Z)(Y).rotate(St),K=ee.center;return delete ee.rotate,ee.center=function(le){return arguments.length?K(Mt(le)):Mt.invert(K())},ee.clipAngle(90)}function Ot(et,rt){var ct=F(1-m(rt));return[2/L*et*ct,L*(1-ct)]}function Bt(){return(0,d.Z)(Ot).scale(95.6464).center([0,30])}function qt(et){var rt=w(et);function ct(vt,St){return[vt,(vt?vt/m(vt):1)*(m(St)*v(vt)-rt*v(St))]}return ct.invert=rt?function(vt,St){vt&&(St*=m(vt)/vt);var Mt=v(vt);return[vt,2*M(F(Mt*Mt+rt*rt-St*St)-Mt,rt-St)]}:function(vt,St){return[vt,O(vt?St*w(vt)/vt:St)]},ct}function Vt(){return Le(qt).scale(249.828).clipAngle(90)}Ot.invert=function(et,rt){var ct=(ct=rt/L-1)*ct;return[ct>0?et*F(_/ct)/2:0,O(1-ct)]};var Ke=F(3);function Je(et,rt){return[Ke*et*(2*v(2*rt/3)-1)/L,Ke*L*m(rt/3)]}function qe(){return(0,d.Z)(Je).scale(156.19)}function nt(et){var rt=v(et);function ct(vt,St){return[vt*rt,m(St)/rt]}return ct.invert=function(vt,St){return[vt/rt,O(St*rt)]},ct}function ft(){return Le(nt).parallel(38.58).scale(195.044)}function Re(et){var rt=v(et);function ct(vt,St){return[vt*rt,(1+rt)*w(St/2)]}return ct.invert=function(vt,St){return[vt/rt,2*i(St/(1+rt))]},ct}function Ne(){return Le(Re).scale(124.75)}function Qe(et,rt){var ct=F(8/(3*_));return[ct*et*(1-g(rt)/_),ct*rt]}function ut(){return(0,d.Z)(Qe).scale(165.664)}function dt(et,rt){var ct=F(4-3*m(g(rt)));return[2/F(6*_)*et*ct,h(rt)*F(2*_/3)*(2-ct)]}function _t(){return(0,d.Z)(dt).scale(165.664)}function It(et,rt){var ct=F(_*(4+_));return[2/ct*et*(1+F(1-4*rt*rt/(_*_))),4/ct*rt]}function Lt(){return(0,d.Z)(It).scale(180.739)}function yt(et,rt){var ct=(2+k)*m(rt);rt/=2;for(var vt=0,St=1/0;vt<10&&g(St)>y;vt++){var Mt=v(rt);rt-=St=(rt+m(rt)*(Mt+2)-ct)/(2*Mt*(1+Mt))}return[2/F(_*(4+_))*et*(1+v(rt)),2*F(_/(4+_))*m(rt)]}function Pt(){return(0,d.Z)(yt).scale(180.739)}function wt(et,rt){return[et*(1+v(rt))/F(2+_),2*rt/F(2+_)]}function Rt(){return(0,d.Z)(wt).scale(173.044)}function Nt(et,rt){for(var ct=(1+k)*m(rt),vt=0,St=1/0;vt<10&&g(St)>y;vt++)rt-=St=(rt+m(rt)-ct)/(1+v(rt));return ct=F(2+_),[et*(1+v(rt))/ct,2*rt/ct]}function Yt(){return(0,d.Z)(Nt).scale(173.044)}Je.invert=function(et,rt){var ct=3*O(rt/(Ke*L));return[L*et/(Ke*(2*v(2*ct/3)-1)),ct]},Qe.invert=function(et,rt){var ct=F(8/(3*_)),vt=rt/ct;return[et/(ct*(1-g(vt)/_)),vt]},dt.invert=function(et,rt){var ct=2-g(rt)/F(2*_/3);return[et*F(6*_)/(2*ct),h(rt)*O((4-ct*ct)/3)]},It.invert=function(et,rt){var ct=F(_*(4+_))/2;return[et*ct/(1+F(1-rt*rt*(4+_)/(4*_))),rt*ct/2]},yt.invert=function(et,rt){var ct=rt*F((4+_)/_)/2,vt=O(ct),St=v(vt);return[et/(2/F(_*(4+_))*(1+St)),O((vt+ct*(St+2))/(2+k))]},wt.invert=function(et,rt){var ct=F(2+_),vt=rt*ct/2;return[ct*et/(1+v(vt)),vt]},Nt.invert=function(et,rt){var ct=1+k,vt=F(ct/2);return[2*et*vt/(1+v(rt*=vt)),O((rt+m(rt))/ct)]};var Wt=3+2*A;function Xt(et,rt){var ct=m(et/=2),vt=v(et),St=F(v(rt)),Mt=v(rt/=2),Y=m(rt)/(Mt+A*vt*St),ee=F(2/(1+Y*Y)),K=F((A*Mt+(vt+ct)*St)/(A*Mt+(vt-ct)*St));return[Wt*(ee*(K-1/K)-2*a(K)),Wt*(ee*Y*(K+1/K)-2*i(Y))]}function Qt(){return(0,d.Z)(Xt).scale(62.5271)}Xt.invert=function(et,rt){if(!(ct=H.invert(et/1.2,1.065*rt)))return null;var ct,vt=ct[0],St=ct[1],Mt=20;et/=Wt,rt/=Wt;do{var Y=vt/2,ee=St/2,K=m(Y),le=v(Y),Te=m(ee),De=v(ee),He=v(St),Ze=F(He),at=Te/(De+A*le*Ze),Tt=at*at,At=F(2/(1+Tt)),se=(A*De+(le+K)*Ze)/(A*De+(le-K)*Ze),ve=F(se),Ie=ve-1/ve,Fe=ve+1/ve,Ue=At*Ie-2*a(ve)-et,We=At*at*Fe-2*i(at)-rt,Xe=Te&&x*Ze*K*Tt/Te,tt=(A*le*De+Ze)/(2*(De+A*le*Ze)*(De+A*le*Ze)*Ze),lt=-.5*at*At*At*At,mt=lt*Xe,zt=lt*tt,Ut=(Ut=2*De+A*Ze*(le-K))*Ut*ve,Ht=(A*le*De*Ze+He)/Ut,en=-A*K*Te/(Ze*Ut),vn=Ie*mt-2*Ht/ve+At*(Ht+Ht/se),tn=Ie*zt-2*en/ve+At*(en+en/se),ln=at*Fe*mt-2*Xe/(1+Tt)+At*Fe*Xe+At*at*(Ht-Ht/se),an=at*Fe*zt-2*tt/(1+Tt)+At*Fe*tt+At*at*(en-en/se),Cn=tn*ln-an*vn;if(!Cn)break;var _n=(We*tn-Ue*an)/Cn,on=(Ue*ln-We*vn)/Cn;vt-=_n,St=u(-k,o(k,St-on))}while((g(_n)>y||g(on)>y)&&--Mt>0);return g(g(St)-k)vt){var De=F(Te),He=M(le,K),Ze=ct*c(He/ct),at=He-Ze,Tt=et*v(at),At=(et*m(at)-at*m(Tt))/(k-Tt),se=Gn(at,At),ve=(_-et)/qn(se,Tt,_);K=De;var Ie,Fe=50;do K-=Ie=(et+qn(se,Tt,K)*ve-De)/(se(K)*ve);while(g(Ie)>y&&--Fe>0);le=at*m(K),Kvt){var K=F(ee),le=M(Y,Mt),Te=ct*c(le/ct),De=le-Te;Mt=K*v(De),Y=K*m(De);for(var He=Mt-k,Ze=m(Mt),at=Y/Ze,Tt=Mty||g(He)>y)&&--Tt>0);return[Ze,at]},K}var Sr=rr(2.8284,-1.6988,.75432,-.18071,1.76003,-.38914,.042555);function yr(){return(0,d.Z)(Sr).scale(149.995)}var or=rr(2.583819,-.835827,.170354,-.038094,1.543313,-.411435,.082742);function vr(){return(0,d.Z)(or).scale(153.93)}var _r=rr(5/6*_,-.62636,-.0344,0,1.3493,-.05524,0,.045);function Kt(){return(0,d.Z)(_r).scale(130.945)}function bn(et,rt){var ct=et*et,vt=rt*rt;return[et*(1-.162388*vt)*(.87-952426e-9*ct*ct),rt*(1+vt/12)]}function Rn(){return(0,d.Z)(bn).scale(131.747)}bn.invert=function(et,rt){var ct,vt=et,St=rt,Mt=50;do{var Y=St*St;St-=ct=(St*(1+Y/12)-rt)/(1+Y/4)}while(g(ct)>y&&--Mt>0);Mt=50,et/=1-.162388*Y;do{var ee=(ee=vt*vt)*ee;vt-=ct=(vt*(.87-952426e-9*ee)-et)/(.87-.00476213*ee)}while(g(ct)>y&&--Mt>0);return[vt,St]};var Ln=rr(2.6516,-.76534,.19123,-.047094,1.36289,-.13965,.031762);function Un(){return(0,d.Z)(Ln).scale(131.087)}function Kn(et){var rt=et(k,0)[0]-et(-k,0)[0];function ct(vt,St){var Mt=vt>0?-.5:.5,Y=et(vt+Mt*_,St);return Y[0]-=Mt*rt,Y}return et.invert&&(ct.invert=function(vt,St){var Mt=vt>0?-.5:.5,Y=et.invert(vt+Mt*rt,St),ee=Y[0]-Mt*_;return ee<-_?ee+=2*_:ee>_&&(ee-=2*_),Y[0]=ee,Y}),ct}function $n(et,rt){var ct=h(et),vt=h(rt),St=v(rt),Mt=v(et)*St,Y=m(et)*St,ee=m(vt*rt);et=g(M(Y,ee)),rt=O(Mt),g(et-k)>y&&(et%=k);var K=function(le,Te){if(Te===k)return[0,0];var De,He,Ze=m(Te),at=Ze*Ze,Tt=at*at,At=1+Tt,se=1+3*Tt,ve=1-Tt,Ie=O(1/F(At)),Fe=ve+at*At*Ie,Ue=(1-Ze)/Fe,We=F(Ue),Xe=Ue*At,tt=F(Xe),lt=We*ve;if(le===0)return[0,-(lt+at*tt)];var mt,zt=v(Te),Ut=1/zt,Ht=2*Ze*zt,en=(-Fe*zt-(-3*at+Ie*se)*Ht*(1-Ze))/(Fe*Fe),vn=-Ut*Ht,tn=-Ut*(at*At*en+Ue*se*Ht),ln=-2*Ut*(ve*(.5*en/We)-2*at*We*Ht),an=4*le/_;if(le>.222*_||Te<_/4&&le>.175*_){if(De=(lt+at*F(Xe*(1+Tt)-lt*lt))/(1+Tt),le>_/4)return[De,De];var Cn=De,_n=.5*De;De=.5*(_n+Cn),He=50;do{var on=De*(ln+vn*F(Xe-De*De))+tn*O(De/tt)-an;if(!on)break;on<0?_n=De:Cn=De,De=.5*(_n+Cn)}while(g(Cn-_n)>y&&--He>0)}else{De=y,He=25;do{var Fn=De*De,Hn=F(Xe-Fn),ir=ln+vn*Hn,ar=De*ir+tn*O(De/tt)-an;De-=mt=Hn?ar/(ir+(tn-vn*Fn)/Hn):0}while(g(mt)>y&&--He>0)}return[De,-lt-at*F(Xe-De*De)]}(et>_/4?k-et:et,rt);return et>_/4&&(ee=K[0],K[0]=-K[1],K[1]=-ee),K[0]*=ct,K[1]*=-vt,K}function tr(){return(0,d.Z)(Kn($n)).scale(239.75)}function mr(et,rt){var ct,vt,St,Mt,Y,ee;if(rt=.999999)return ct=(1-rt)/4,St=1/(vt=N(et)),[(Mt=((ee=f(2*(ee=et)))-1)/(ee+1))+ct*((Y=vt*B(et))-et)/(vt*vt),St-ct*Mt*St*(Y-et),St+ct*Mt*St*(Y+et),2*i(f(et))-k+ct*(Y-et)/vt];var K=[1,0,0,0,0,0,0,0,0],le=[F(rt),0,0,0,0,0,0,0,0],Te=0;for(vt=F(1-rt),Y=1;g(le[Te]/K[Te])>y&&Te<8;)ct=K[Te++],le[Te]=(ct-vt)/2,K[Te]=(ct+vt)/2,vt=F(ct*vt),Y*=2;St=Y*K[Te]*et;do St=(O(Mt=le[Te]*m(vt=St)/K[Te])+St)/2;while(--Te);return[m(St),Mt=v(St),Mt/v(St-vt),St]}function nn(et,rt){if(!rt)return et;if(rt===1)return a(w(et/2+E));for(var ct=1,vt=F(1-rt),St=F(rt),Mt=0;g(St)>y;Mt++){if(et%_){var Y=i(vt*w(et)/ct);Y<0&&(Y+=_),et+=Y+~~(et/_)*_}else et+=et;St=(ct+vt)/2,vt=F(ct*vt),St=((ct=St)-vt)/2}return et/(s(2,Mt)*ct)}function Pn(et,rt){var ct=(A-1)/(A+1),vt=F(1-ct*ct),St=nn(k,vt*vt),Mt=a(w(_/4+g(rt)/2)),Y=f(-1*Mt)/F(ct),ee=function(le,Te){var De=le*le,He=Te+1,Ze=1-De-Te*Te;return[.5*((le>=0?k:-k)-M(Ze,2*le)),-.25*a(Ze*Ze+4*De)+.5*a(He*He+De)]}(Y*v(-1*et),Y*m(-1*et)),K=function(le,Te,De){var He=g(le),Ze=B(g(Te));if(He){var at=1/m(He),Tt=1/(w(He)*w(He)),At=-(Tt+De*(Ze*Ze*at*at)-1+De),se=(-At+F(At*At-(De-1)*Tt*4))/2;return[nn(i(1/F(se)),De)*h(le),nn(i(F((se/Tt-1)/De)),1-De)*h(Te)]}return[0,nn(i(Ze),1-De)*h(Te)]}(ee[0],ee[1],vt*vt);return[-K[1],(rt>=0?1:-1)*(.5*St-K[0])]}function jt(){return(0,d.Z)(Kn(Pn)).scale(151.496)}$n.invert=function(et,rt){g(et)>1&&(et=2*h(et)-et),g(rt)>1&&(rt=2*h(rt)-rt);var ct=h(et),vt=h(rt),St=-ct*et,Mt=-vt*rt,Y=Mt/St<1,ee=function(De,He){for(var Ze=0,at=1,Tt=.5,At=50;;){var se=Tt*Tt,ve=F(Tt),Ie=O(1/F(1+se)),Fe=1-se+Tt*(1+se)*Ie,Ue=(1-ve)/Fe,We=F(Ue),Xe=Ue*(1+se),tt=We*(1-se),lt=F(Xe-De*De),mt=He+tt+Tt*lt;if(g(at-Ze)0?Ze=Tt:at=Tt,Tt=.5*(Ze+at)}if(!At)return null;var zt=O(ve),Ut=v(zt),Ht=1/Ut,en=2*ve*Ut,vn=(-Fe*Ut-(-3*Tt+Ie*(1+3*se))*en*(1-ve))/(Fe*Fe);return[_/4*(De*(-2*Ht*(.5*vn/We*(1-se)-2*Tt*We*en)+-Ht*en*lt)+-Ht*(Tt*(1+se)*vn+Ue*(1+3*se)*en)*O(De/F(Xe))),zt]}(Y?Mt:St,Y?St:Mt),K=ee[0],le=ee[1],Te=v(le);return Y&&(K=-k-K),[ct*(M(m(K)*Te,-m(le))+_),vt*O(v(K)*Te)]},Pn.invert=function(et,rt){var ct,vt,St,Mt,Y,ee,K=(A-1)/(A+1),le=F(1-K*K),Te=(vt=-et,St=le*le,(ct=.5*nn(k,le*le)-rt)?(Mt=mr(ct,St),vt?(ee=(Y=mr(vt,1-St))[1]*Y[1]+St*Mt[0]*Mt[0]*Y[0]*Y[0],[[Mt[0]*Y[2]/ee,Mt[1]*Mt[2]*Y[0]*Y[1]/ee],[Mt[1]*Y[1]/ee,-Mt[0]*Mt[2]*Y[0]*Y[2]/ee],[Mt[2]*Y[1]*Y[2]/ee,-St*Mt[0]*Mt[1]*Y[0]/ee]]):[[Mt[0],0],[Mt[1],0],[Mt[2],0]]):[[0,(Y=mr(vt,1-St))[0]/Y[1]],[1/Y[1],0],[Y[2]/Y[1],0]]),De=function(He,Ze){var at=Ze[0]*Ze[0]+Ze[1]*Ze[1];return[(He[0]*Ze[0]+He[1]*Ze[1])/at,(He[1]*Ze[0]-He[0]*Ze[1])/at]}(Te[0],Te[1]);return[M(De[1],De[0])/-1,2*i(f(-.5*a(K*De[0]*De[0]+K*De[1]*De[1])))-k]};var Jt=t(7613);function hn(et){var rt=m(et),ct=v(et),vt=zn(et);function St(Mt,Y){var ee=vt(Mt,Y);Mt=ee[0],Y=ee[1];var K=m(Y),le=v(Y),Te=v(Mt),De=z(rt*K+ct*le*Te),He=m(De),Ze=g(He)>y?De/He:1;return[Ze*ct*m(Mt),(g(Mt)>k?Ze:-Ze)*(rt*le-ct*K*Te)]}return vt.invert=zn(-et),St.invert=function(Mt,Y){var ee=F(Mt*Mt+Y*Y),K=-m(ee),le=v(ee),Te=ee*le,De=-Y*K,He=ee*rt,Ze=F(Te*Te+De*De-He*He),at=M(Te*He+De*Ze,De*He-Te*Ze),Tt=(ee>k?-1:1)*M(Mt*K,ee*v(at)*le+Y*m(at)*K);return vt.invert(Tt,at)},St}function zn(et){var rt=m(et),ct=v(et);return function(vt,St){var Mt=v(St),Y=v(vt)*Mt,ee=m(vt)*Mt,K=m(St);return[M(ee,Y*ct-K*rt),O(K*ct+Y*rt)]}}function On(){var et=0,rt=(0,d.r)(hn),ct=rt(et),vt=ct.rotate,St=ct.stream,Mt=(0,Jt.Z)();return ct.parallel=function(Y){if(!arguments.length)return et*R;var ee=ct.rotate();return rt(et=Y*I).rotate(ee)},ct.rotate=function(Y){return arguments.length?(vt.call(ct,[Y[0],Y[1]-et*R]),Mt.center([-Y[0],-Y[1]]),ct):((Y=vt.call(ct))[1]+=et*R,Y)},ct.stream=function(Y){return(Y=St(Y)).sphere=function(){Y.polygonStart();var ee,K=Mt.radius(89.99)().coordinates[0],le=K.length-1,Te=-1;for(Y.lineStart();++Te=0;)Y.point((ee=K[Te])[0],ee[1]);Y.lineEnd(),Y.polygonEnd()},Y},ct.scale(79.4187).parallel(45).clipAngle(179.999)}var En=t(33064),mn=t(72736),wn=O(1-1/3)*R,gn=nt(0);function yn(et){var rt=wn*I,ct=Ot(_,rt)[0]-Ot(-_,rt)[0],vt=gn(0,rt)[1],St=Ot(0,rt)[1],Mt=L-St,Y=b/et,ee=4/b,K=vt+Mt*Mt*4/b;function le(Te,De){var He,Ze=g(De);if(Ze>rt){var at=o(et-1,u(0,l((Te+_)/Y)));(He=Ot(Te+=_*(et-1)/et-at*Y,Ze))[0]=He[0]*b/ct-b*(et-1)/(2*et)+at*b/et,He[1]=vt+4*(He[1]-St)*Mt/b,De<0&&(He[1]=-He[1])}else He=gn(Te,De);return He[0]*=ee,He[1]/=K,He}return le.invert=function(Te,De){Te/=ee;var He=g(De*=K);if(He>vt){var Ze=o(et-1,u(0,l((Te+_)/Y)));Te=(Te+_*(et-1)/et-Ze*Y)*ct/b;var at=Ot.invert(Te,.25*(He-vt)*b/Mt+St);return at[0]-=_*(et-1)/et-Ze*Y,De<0&&(at[1]=-at[1]),at}return gn.invert(Te,De)},le}function Sn(et,rt){return[et,1&rt?89.999999:wn]}function Vn(et,rt){return[et,1&rt?-89.999999:-wn]}function Xn(et){return[.999999*et[0],et[1]]}function nr(){var et=4,rt=(0,d.r)(yn),ct=rt(et),vt=ct.stream;return ct.lobes=function(St){return arguments.length?rt(et=+St):et},ct.stream=function(St){var Mt=ct.rotate(),Y=vt(St),ee=(ct.rotate([0,0]),vt(St));return ct.rotate(Mt),Y.sphere=function(){var K,le;(0,mn.Z)((K=180/et,le=[].concat((0,En.w6)(-180,180+K/2,K).map(Sn),(0,En.w6)(180,-180-K/2,-K).map(Vn)),{type:"Polygon",coordinates:[K===180?le.map(Xn):le]}),ee)},Y},ct.scale(239.75)}function Qn(et){var rt,ct=1+et,vt=O(m(1/ct)),St=2*F(_/(rt=_+4*vt*ct)),Mt=.5*St*(ct+F(et*(2+et))),Y=et*et,ee=ct*ct;function K(le,Te){var De,He,Ze=1-m(Te);if(Ze&&Ze<2){var at,Tt=k-Te,At=25;do{var se=m(Tt),ve=v(Tt),Ie=vt+M(se,ct-ve),Fe=1+ee-2*ct*ve;Tt-=at=(Tt-Y*vt-ct*se+Fe*Ie-.5*Ze*rt)/(2*ct*se*Ie)}while(g(at)>S&&--At>0);De=St*F(Fe),He=le*Ie/_}else De=St*(et+Ze),He=le*vt/_;return[De*m(He),Mt-De*v(He)]}return K.invert=function(le,Te){var De=le*le+(Te-=Mt)*Te,He=(1+ee-De/(St*St))/(2*ct),Ze=z(He),at=m(Ze),Tt=vt+M(at,ct-He);return[O(le/F(De))*_/Tt,O(1-2*(Ze-Y*vt-ct*at+(1+ee-2*ct*He)*Tt)/rt)]},K}function hr(){var et=1,rt=(0,d.r)(Qn),ct=rt(et);return ct.ratio=function(vt){return arguments.length?rt(et=+vt):et},ct.scale(167.774).center([0,18.67])}var cr=.7109889596207567,pr=.0528035274542;function dr(et,rt){return rt>-cr?((et=Se(et,rt))[1]+=pr,et):Be(et,rt)}function br(){return(0,d.Z)(dr).rotate([-20,-55]).scale(164.263).center([0,-5.4036])}function Ir(et,rt){return g(rt)>cr?((et=Se(et,rt))[1]-=rt>0?pr:-pr,et):Be(et,rt)}function Lr(){return(0,d.Z)(Ir).scale(152.63)}function zr(et,rt,ct,vt){var St=F(4*_/(2*ct+(1+et-rt/2)*m(2*ct)+(et+rt)/2*m(4*ct)+rt/2*m(6*ct))),Mt=F(vt*m(ct)*F((1+et*v(2*ct)+rt*v(4*ct))/(1+et+rt))),Y=ct*K(1);function ee(De){return F(1+et*v(2*De)+rt*v(4*De))}function K(De){var He=De*ct;return(2*He+(1+et-rt/2)*m(2*He)+(et+rt)/2*m(4*He)+rt/2*m(6*He))/ct}function le(De){return ee(De)*m(De)}var Te=function(De,He){var Ze=ct*me(K,Y*m(He)/ct,He/_);isNaN(Ze)&&(Ze=ct*h(He));var at=St*ee(Ze);return[at*Mt*De/_*v(Ze),at/Mt*m(Ze)]};return Te.invert=function(De,He){var Ze=me(le,He*Mt/St);return[De*_/(v(Ze)*St*Mt*ee(Ze)),O(ct*K(Ze/ct)/Y)]},ct===0&&(St=F(vt/_),(Te=function(De,He){return[De*St,m(He)/St]}).invert=function(De,He){return[De/St,O(He*St)]}),Te}function gr(){var et=1,rt=0,ct=45*I,vt=2,St=(0,d.r)(zr),Mt=St(et,rt,ct,vt);return Mt.a=function(Y){return arguments.length?St(et=+Y,rt,ct,vt):et},Mt.b=function(Y){return arguments.length?St(et,rt=+Y,ct,vt):rt},Mt.psiMax=function(Y){return arguments.length?St(et,rt,ct=+Y*I,vt):ct*R},Mt.ratio=function(Y){return arguments.length?St(et,rt,ct,vt=+Y):vt},Mt.scale(180.739)}function Fr(et,rt,ct,vt,St,Mt,Y,ee,K,le,Te){if(Te.nanEncountered)return NaN;var De,He,Ze,at,Tt,At,se,ve,Ie,Fe;if(He=et(rt+.25*(De=ct-rt)),Ze=et(ct-.25*De),isNaN(He))Te.nanEncountered=!0;else{if(!isNaN(Ze))return Fe=((At=(at=De*(vt+4*He+St)/12)+(Tt=De*(St+4*Ze+Mt)/12))-Y)/15,le>K?(Te.maxDepthCount++,At+Fe):Math.abs(Fe)Ze?Tt=At:at=At,At=at+Tt>>1;while(At>at);var se=K[At+1]-K[At];return se&&(se=(Ze-K[At+1])/se),(At+1+se)/Y}var De=2*Te(1)/_*Mt/ct,He=function(Ze,at){var Tt=Te(g(m(at))),At=vt(Tt)*Ze;return Tt/=De,[At,at>=0?Tt:-Tt]};return He.invert=function(Ze,at){var Tt;return g(at*=De)<1&&(Tt=h(at)*O(St(g(at))*Mt)),[Ze/vt(g(at)),Tt]},He}function ea(){var et=0,rt=2.5,ct=1.183136,vt=(0,d.r)(ji),St=vt(et,rt,ct);return St.alpha=function(Mt){return arguments.length?vt(et=+Mt,rt,ct):et},St.k=function(Mt){return arguments.length?vt(et,rt=+Mt,ct):rt},St.gamma=function(Mt){return arguments.length?vt(et,rt,ct=+Mt):ct},St.scale(152.63)}function sa(et,rt){return g(et[0]-rt[0])=0;--ee)ct=(rt=et[1][ee])[0][0],vt=rt[0][1],St=rt[1][1],Mt=rt[2][0],Y=rt[2][1],K.push(uo([[Mt-y,Y-y],[Mt-y,St+y],[ct+y,St+y],[ct+y,vt-y]],30));return{type:"Polygon",coordinates:[(0,En.TS)(K)]}}function Xi(et,rt,ct){var vt,St;function Mt(K,le){for(var Te=le<0?-1:1,De=rt[+(le<0)],He=0,Ze=De.length-1;HeDe[He][2][0];++He);var at=et(K-De[He][1][0],le);return at[0]+=et(De[He][1][0],Te*le>Te*De[He][0][1]?De[He][0][1]:le)[0],at}ct?Mt.invert=ct(Mt):et.invert&&(Mt.invert=function(K,le){for(var Te=St[+(le<0)],De=rt[+(le<0)],He=0,Ze=Te.length;HeTt&&(De=at,at=Tt,Tt=De),[[He,at],[Ze,Tt]]})}),Y):rt.map(function(le){return le.map(function(Te){return[[Te[0][0]*R,Te[0][1]*R],[Te[1][0]*R,Te[1][1]*R],[Te[2][0]*R,Te[2][1]*R]]})})},rt!=null&&Y.lobes(rt),Y}dr.invert=function(et,rt){return rt>-cr?Se.invert(et,rt-pr):Be.invert(et,rt)},Ir.invert=function(et,rt){return g(rt)>cr?Se.invert(et,rt+(rt>0?pr:-pr)):Be.invert(et,rt)};var Do=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function rs(){return Xi(be,Do).scale(160.857)}var el=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function Cu(){return Xi(Ir,el).scale(152.63)}var gf=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];function Mh(){return Xi(Se,gf).scale(169.529)}var Eu=[[[[-180,0],[-90,90],[0,0]],[[0,0],[90,90],[180,0]]],[[[-180,0],[-90,-90],[0,0]],[[0,0],[90,-90],[180,0]]]];function is(){return Xi(Se,Eu).scale(169.529).rotate([20,0])}var Ah=[[[[-180,35],[-30,90],[0,35]],[[0,35],[30,90],[180,35]]],[[[-180,-10],[-102,-90],[-65,-10]],[[-65,-10],[5,-90],[77,-10]],[[77,-10],[103,-90],[180,-10]]]];function Ya(){return Xi(dr,Ah,pe).rotate([-20,-55]).scale(164.263).center([0,-5.4036])}var hc=[[[[-180,0],[-110,90],[-40,0]],[[-40,0],[0,90],[40,0]],[[40,0],[110,90],[180,0]]],[[[-180,0],[-110,-90],[-40,0]],[[-40,0],[0,-90],[40,0]],[[40,0],[110,-90],[180,0]]]];function Yo(){return Xi(Be,hc).scale(152.63).rotate([-20,0])}function as(et,rt){return[3/b*et*F(_*_/3-rt*rt),rt]}function Ml(){return(0,d.Z)(as).scale(158.837)}function Ui(et){function rt(ct,vt){if(g(g(vt)-k)2)return null;var Mt=(ct/=2)*ct,Y=(vt/=2)*vt,ee=2*vt/(1+Mt+Y);return ee=s((1+ee)/(1-ee),1/et),[M(2*ct,1-Mt-Y)/et,O((ee-1)/(ee+1))]},rt}function Al(){var et=.5,rt=(0,d.r)(Ui),ct=rt(et);return ct.spacing=function(vt){return arguments.length?rt(et=+vt):et},ct.scale(124.75)}as.invert=function(et,rt){return[b/3*et/F(_*_/3-rt*rt),rt]};var ps=_/A;function Es(et,rt){return[et*(1+F(v(rt)))/2,rt/(v(rt/2)*v(et/6))]}function js(){return(0,d.Z)(Es).scale(97.2672)}function fc(et,rt){var ct=et*et,vt=rt*rt;return[et*(.975534+vt*(-.0143059*ct-.119161+-.0547009*vt)),rt*(1.00384+ct*(.0802894+-.02855*vt+199025e-9*ct)+vt*(.0998909+-.0491032*vt))]}function vf(){return(0,d.Z)(fc).scale(139.98)}function tl(et,rt){return[m(et)/v(rt),w(rt)*v(et)]}function yf(){return(0,d.Z)(tl).scale(144.049).clipAngle(89.999)}function bf(et){var rt=v(et),ct=w(E+et/2);function vt(St,Mt){var Y=Mt-et,ee=g(Y)=0;)He=(De=et[Te])[0]+K*(Mt=He)-le*Ze,Ze=De[1]+K*Ze+le*Mt;return[He=K*(Mt=He)-le*Ze,Ze=K*Ze+le*Mt]}return ct.invert=function(vt,St){var Mt=20,Y=vt,ee=St;do{for(var K,le=rt,Te=et[le],De=Te[0],He=Te[1],Ze=0,at=0;--le>=0;)Ze=De+Y*(K=Ze)-ee*at,at=He+Y*at+ee*K,De=(Te=et[le])[0]+Y*(K=De)-ee*He,He=Te[1]+Y*He+ee*K;var Tt,At,se=(Ze=De+Y*(K=Ze)-ee*at)*Ze+(at=He+Y*at+ee*K)*at;Y-=Tt=((De=Y*(K=De)-ee*He-vt)*Ze+(He=Y*He+ee*K-St)*at)/se,ee-=At=(He*Ze-De*at)/se}while(g(Tt)+g(At)>1e-12&&--Mt>0);if(Mt){var ve=F(Y*Y+ee*ee),Ie=2*i(.5*ve),Fe=m(Ie);return[M(Y*Fe,ve*v(Ie)),ve?O(ee*Fe/ve):0]}},ct}Es.invert=function(et,rt){var ct=g(et),vt=g(rt),St=y,Mt=k;vty||g(At)>y)&&--St>0);return St&&[ct,vt]},tl.invert=function(et,rt){var ct=et*et,vt=rt*rt+1,St=ct+vt,Mt=et?x*F((St-F(St*St-4*ct))/ct):1/F(vt);return[O(et*Mt),h(rt)*z(Mt)]},Sh.invert=function(et,rt){return[et,2.5*i(f(.8*rt))-.625*_]};var nl=[[.9972523,0],[.0052513,-.0041175],[.0074606,.0048125],[-.0153783,-.1968253],[.0636871,-.1408027],[.3660976,-.2937382]],rl=[[.98879,0],[0,0],[-.050909,0],[0,0],[.075528,0]],Lu=[[.984299,0],[.0211642,.0037608],[-.1036018,-.0575102],[-.0329095,-.0320119],[.0499471,.1223335],[.026046,.0899805],[7388e-7,-.1435792],[.0075848,-.1334108],[-.0216473,.0776645],[-.0225161,.0853673]],il=[[.9245,0],[0,0],[.01943,0]],Eh=[[.721316,0],[0,0],[-.00881625,-.00617325]];function Lh(){return Ql(nl,[152,-64]).scale(1400).center([-160.908,62.4864]).clipAngle(30).angle(7.8)}function Jl(){return Ql(rl,[95,-38]).scale(1e3).clipAngle(55).center([-96.5563,38.8675])}function jc(){return Ql(Lu,[120,-45]).scale(359.513).clipAngle(55).center([-117.474,53.0628])}function Sl(){return Ql(il,[-20,-18]).scale(209.091).center([20,16.7214]).clipAngle(82)}function Iu(){return Ql(Eh,[165,10]).scale(250).clipAngle(130).center([-165,-10])}function Ql(et,rt){var ct=(0,d.Z)(Ch(et)).rotate(rt).clipAngle(90),vt=(0,st.Z)(rt),St=ct.center;return delete ct.rotate,ct.center=function(Mt){return arguments.length?St(vt(Mt)):vt.invert(St())},ct}var al=F(6),Hi=F(7);function Cl(et,rt){var ct=O(7*m(rt)/(3*al));return[al*et*(2*v(2*ct/3)-1)/Hi,9*m(ct/3)/Hi]}function ad(){return(0,d.Z)(Cl).scale(164.859)}function Uc(et,rt){for(var ct,vt=(1+x)*m(rt),St=rt,Mt=0;Mt<25&&(St-=ct=(m(St/2)+m(St)-vt)/(.5*v(St/2)+v(St)),!(g(ct)S&&--ee>0);return[et/(.84719-.13063*(vt=Y*Y)+(Mt=vt*(St=vt*vt))*Mt*(.05494*vt-.04515-.02326*St+.00331*Mt)),Y]},Pu.invert=function(et,rt){for(var ct=rt/2,vt=0,St=1/0;vt<10&&g(St)>y;++vt){var Mt=v(rt/2);rt-=St=(rt-w(rt/2)-ct)/(1-.5/(Mt*Mt))}return[2*et/(1+v(rt)),rt]};var tu=[[[[-180,0],[-90,90],[0,0]],[[0,0],[90,90],[180,0]]],[[[-180,0],[-90,-90],[0,0]],[[0,0],[90,-90],[180,0]]]];function nu(){return Xi(ce(1/0),tu).rotate([20,0]).scale(152.63)}function Ou(et,rt){var ct=m(rt),vt=v(rt),St=h(et);if(et===0||g(rt)===k)return[0,rt];if(rt===0)return[et,0];if(g(et)===k)return[et*vt,k*ct];var Mt=_/(2*et)-2*et/_,Y=2*rt/_,ee=(1-Y*Y)/(ct-Y),K=Mt*Mt,le=ee*ee,Te=1+K/le,De=1+le/K,He=(Mt*ct/ee-Mt/2)/Te,Ze=(le*ct/K+ee/2)/De,at=Ze*Ze-(le*ct*ct/K+ee*ct-1)/De;return[k*(He+F(He*He+vt*vt/Te)*St),k*(Ze+F(at<0?0:at)*h(-rt*Mt)*St)]}function gc(){return(0,d.Z)(Ou).scale(127.267)}Ou.invert=function(et,rt){var ct=(et/=k)*et,vt=ct+(rt/=k)*rt,St=_*_;return[et?(vt-1+F((1-vt)*(1-vt)+4*ct))/(2*et)*k:0,me(function(Mt){return vt*(_*m(Mt)-2*Mt)*_+4*Mt*Mt*(rt-m(Mt))+2*_*Mt-St*rt},0)]};var vc=1.0148,gs=.23185,yc=-.14499,bc=.02406,Rh=1.790857183;function El(et,rt){var ct=rt*rt;return[et,rt*(vc+ct*ct*(gs+ct*(yc+bc*ct)))]}function Hc(){return(0,d.Z)(El).scale(139.319)}function xc(et,rt){if(g(rt)Rh?rt=Rh:rt<-1.790857183&&(rt=-1.790857183);var ct,vt=rt;do{var St=vt*vt;vt-=ct=(vt*(vc+St*St*(gs+St*(yc+bc*St)))-rt)/(1.0148+St*St*(1.1592500000000001+St*(.21654*St-1.01493)))}while(g(ct)>y);return[et,vt]},xc.invert=function(et,rt){if(g(rt)y&&--Mt>0);return Y=w(St),[(g(rt)=0;)if(tt=We[Ut],Xe[0]===tt[0]&&Xe[1]===tt[1]){if(mt)return[mt,Xe];mt=Xe}}}(K.face,le.face),De=(Tt=Te.map(le.project),At=Te.map(K.project),se=iu(Tt[1],Tt[0]),ve=iu(At[1],At[0]),Ie=function(Ue,We){return M(Ue[0]*We[1]-Ue[1]*We[0],Ue[0]*We[0]+Ue[1]*We[1])}(se,ve),Fe=Ki(se)/Ki(ve),ru([1,0,Tt[0][0],0,1,Tt[0][1]],ru([Fe,0,0,0,Fe,0],ru([v(Ie),m(Ie),0,-m(Ie),v(Ie),0],[1,0,-At[0][0],0,1,-At[0][1]]))));K.transform=le.transform?ru(le.transform,De):De;for(var He=le.edges,Ze=0,at=He.length;Ze0?[-vt[0],0]:[180-vt[0],180])};var rt=Us.map(function(ct){return{face:ct,project:et(ct)}});return[-1,0,0,1,0,1,4,5].forEach(function(ct,vt){var St=rt[ct];St&&(St.children||(St.children=[])).push(rt[vt])}),Ll(rt[0],function(ct,vt){return rt[ct<-_/2?vt<0?6:4:ct<0?vt<0?2:0:ct<_/2?vt<0?3:1:vt<0?7:5]}).angle(-30).scale(121.906).center([0,48.5904])}function ou(et){et=et||function(Mt){var Y=Mt.length===6?(0,Ye.Z)({type:"MultiPoint",coordinates:Mt}):Mt[0];return(0,Bi.Z)().scale(1).translate([0,0]).rotate([-Y[0],-Y[1]])};var rt=Us.map(function(Mt){for(var Y,ee=Mt.map(da),K=ee.length,le=ee[K-1],Te=[],De=0;DeK^ve>K&&ee<(se-at)*(K-Tt)/(ve-Tt)+at&&(le=!le)}return le}(St[0],vt))return St.push(ct),!0})||et.push([ct])}),zo=[],et.length?et.length>1?{type:"MultiPolygon",coordinates:et}:{type:"Polygon",coordinates:et[0]}:null}};function $o(et){var rt=et(k,0)[0]-et(-k,0)[0];function ct(vt,St){var Mt=g(vt)0?vt-_:vt+_,St),ee=(Y[0]-Y[1])*x,K=(Y[0]+Y[1])*x;if(Mt)return[ee,K];var le=rt*x,Te=ee>0^K>0?-1:1;return[Te*ee-h(K)*le,Te*K-h(ee)*le]}return et.invert&&(ct.invert=function(vt,St){var Mt=(vt+St)*x,Y=(St-vt)*x,ee=g(Mt)<.5*rt&&g(Y)<.5*rt;if(!ee){var K=rt*x,le=Mt>0^Y>0?-1:1,Te=-le*vt+(Y>0?1:-1)*K,De=-le*St+(Mt>0?1:-1)*K;Mt=(-Te-De)*x,Y=(Te-De)*x}var He=et.invert(Mt,Y);return ee||(He[0]+=Mt>0?_:-_),He}),(0,d.Z)(ct).rotate([-90,-90,45]).clipAngle(179.999)}function qc(){return $o($n).scale(176.423)}function Wc(){return $o(Pn).scale(111.48)}function Lo(et,rt){if(!(0<=(rt=+rt)&&rt<=20))throw new Error("invalid digits");function ct(le){var Te=le.length,De=2,He=new Array(Te);for(He[0]=+le[0].toFixed(rt),He[1]=+le[1].toFixed(rt);De2||Ze[0]!=Te[0]||Ze[1]!=Te[1])&&(De.push(Ze),Te=Ze)}return De.length===1&&le.length>1&&De.push(ct(le[le.length-1])),De}function Mt(le){return le.map(St)}function Y(le){if(le==null)return le;var Te;switch(le.type){case"GeometryCollection":Te={type:"GeometryCollection",geometries:le.geometries.map(Y)};break;case"Point":Te={type:"Point",coordinates:ct(le.coordinates)};break;case"MultiPoint":Te={type:le.type,coordinates:vt(le.coordinates)};break;case"LineString":Te={type:le.type,coordinates:St(le.coordinates)};break;case"MultiLineString":case"Polygon":Te={type:le.type,coordinates:Mt(le.coordinates)};break;case"MultiPolygon":Te={type:"MultiPolygon",coordinates:le.coordinates.map(Mt)};break;default:return le}return le.bbox!=null&&(Te.bbox=le.bbox),Te}function ee(le){var Te={type:"Feature",properties:le.properties,geometry:Y(le.geometry)};return le.id!=null&&(Te.id=le.id),le.bbox!=null&&(Te.bbox=le.bbox),Te}if(et!=null)switch(et.type){case"Feature":return ee(et);case"FeatureCollection":var K={type:"FeatureCollection",features:et.features.map(ee)};return et.bbox!=null&&(K.bbox=et.bbox),K;default:return Y(et)}return et}function Dr(et){var rt=m(et);function ct(vt,St){var Mt=rt?w(vt*rt/2)/rt:vt/2;if(!St)return[2*Mt,-et];var Y=2*i(Mt*m(St)),ee=1/w(St);return[m(Y)*ee,St+(1-v(Y))*ee-et]}return ct.invert=function(vt,St){if(g(St+=et)y&&--K>0);var He=vt*(le=w(ee)),Ze=w(g(St)0?k:-k)*(le+Mt*(De-ee)/2+Mt*Mt*(De-2*le+ee)/2)]}function zu(){return(0,d.Z)(Yc).scale(152.63)}function Fu(et,rt){var ct=function(Y){function ee(K,le){var Te=v(le),De=(Y-1)/(Y-Te*v(K));return[De*Te*m(K),De*m(le)]}return ee.invert=function(K,le){var Te=K*K+le*le,De=F(Te),He=(Y-F(1-Te*(Y+1)/(Y-1)))/((Y-1)/De+De/(Y-1));return[M(K*He,De*F(1-He*He)),De?O(le*He/De):0]},ee}(et);if(!rt)return ct;var vt=v(rt),St=m(rt);function Mt(Y,ee){var K=ct(Y,ee),le=K[1],Te=le*St/(et-1)+vt;return[K[0]*vt/Te,le/Te]}return Mt.invert=function(Y,ee){var K=(et-1)/(et-1-ee*St);return ct.invert(K*Y,K*ee*vt)},Mt}function Bu(){var et=2,rt=0,ct=(0,d.r)(Fu),vt=ct(et,rt);return vt.distance=function(St){return arguments.length?ct(et=+St,rt):et},vt.tilt=function(St){return arguments.length?ct(et,rt=St*I):rt*R},vt.scale(432.147).clipAngle(z(1/et)*R-1e-6)}Fo.forEach(function(et){et[1]*=1.0144}),Yc.invert=function(et,rt){var ct=rt/k,vt=90*ct,St=o(18,g(vt/5)),Mt=u(0,l(St));do{var Y=Fo[Mt][1],ee=Fo[Mt+1][1],K=Fo[o(19,Mt+2)][1],le=K-Y,Te=K-2*ee+Y,De=2*(g(ct)-ee)/le,He=Te/le,Ze=De*(1-He*De*(1-2*He*De));if(Ze>=0||Mt===1){vt=(rt>=0?5:-5)*(Ze+St);var at,Tt=50;do Ze=(St=o(18,g(vt)/5))-(Mt=l(St)),Y=Fo[Mt][1],ee=Fo[Mt+1][1],K=Fo[o(19,Mt+2)][1],vt-=(at=(rt>=0?k:-k)*(ee+Ze*(K-Y)/2+Ze*Ze*(K-2*ee+Y)/2)-rt)*R;while(g(at)>S&&--Tt>0);break}}while(--Mt>=0);var At=Fo[Mt][0],se=Fo[Mt+1][0],ve=Fo[o(19,Mt+2)][0];return[et/(se+Ze*(ve-At)/2+Ze*Ze*(ve-2*se+At)/2),vt*I]};var Br=-179.9999,Nu=179.9999,ys=-89.9999,$c=89.9999;function wc(et){return et.length>0}function vo(et){return et===-90||et===90?[0,et]:[-180,(rt=et,Math.floor(1e4*rt)/1e4)];var rt}function cu(et){var rt=et[0],ct=et[1],vt=!1;return rt<=Br?(rt=-180,vt=!0):rt>=Nu&&(rt=180,vt=!0),ct<=ys?(ct=-90,vt=!0):ct>=$c&&(ct=90,vt=!0),vt?[rt,ct]:et}function ll(et){return et.map(cu)}function Zo(et,rt,ct){for(var vt=0,St=et.length;vt=Nu||Te<=ys||Te>=$c){Mt[Y]=cu(K);for(var De=Y+1;DeBr&&Zeys&&at<$c)break}if(De===Y+1)continue;if(Y){var Tt={index:-1,polygon:rt,ring:Mt.slice(0,Y+1)};Tt.ring[Tt.ring.length-1]=vo(Te),ct[ct.length-1]=Tt}else ct.pop();if(De>=ee)break;ct.push({index:-1,polygon:rt,ring:Mt=Mt.slice(De-1)}),Mt[0]=vo(Mt[0][1]),Y=-1,ee=Mt.length}}}}function Pl(et){var rt,ct,vt,St,Mt,Y,ee=et.length,K={},le={};for(rt=0;rt0?_-ee:ee)*R],le=(0,d.Z)(et(Y)).rotate(K),Te=(0,st.Z)(K),De=le.center;return delete le.rotate,le.center=function(He){return arguments.length?De(Te(He)):Te.invert(De())},le.clipAngle(90)}function Tc(et){var rt=v(et);function ct(vt,St){var Mt=(0,Bi.M)(vt,St);return Mt[0]*=rt,Mt}return ct.invert=function(vt,St){return Bi.M.invert(vt/rt,St)},ct}function os(){return _s([-158,21.5],[-77,39]).clipAngle(60).scale(400)}function _s(et,rt){return Yi(Tc,et,rt)}function Gs(et){if(!(et*=2))return re.N;var rt=-et/2,ct=-rt,vt=et*et,St=w(ct),Mt=.5/m(ct);function Y(ee,K){var le=z(v(K)*v(ee-rt)),Te=z(v(K)*v(ee-ct));return[((le*=le)-(Te*=Te))/(2*et),(K<0?-1:1)*F(4*vt*Te-(vt-le+Te)*(vt-le+Te))/(2*et)]}return Y.invert=function(ee,K){var le,Te,De=K*K,He=v(F(De+(le=ee+rt)*le)),Ze=v(F(De+(le=ee+ct)*le));return[M(Te=He-Ze,le=(He+Ze)*St),(K<0?-1:1)*z(F(le*le+Te*Te)*Mt)]},Y}function Bo(){return Wi([-158,21.5],[-77,39]).clipAngle(130).scale(122.571)}function Wi(et,rt){return Yi(Gs,et,rt)}function no(et,rt){if(g(rt)y&&--ee>0);return[h(et)*(F(St*St+4)+St)*_/4,k*Y]};var cl=4*_+3*F(3),Rs=2*F(2*_*F(3)/cl),xo=Me(Rs*F(3)/_,Rs,cl/6);function Zc(){return(0,d.Z)(xo).scale(176.84)}function Vo(et,rt){return[et*F(1-3*rt*rt/(_*_)),rt]}function ju(){return(0,d.Z)(Vo).scale(152.63)}function hl(et,rt){var ct=v(rt),vt=v(et)*ct,St=1-vt,Mt=v(et=M(m(et)*ct,-m(rt))),Y=m(et);return[Y*(ct=F(1-vt*vt))-Mt*St,-Mt*ct-Y*St]}function Ji(){return(0,d.Z)(hl).rotate([0,-90,45]).scale(124.75).clipAngle(179.999)}function la(et,rt){var ct=$(et,rt);return[(ct[0]+et/k)/2,(ct[1]+rt)/2]}function Xc(){return(0,d.Z)(la).scale(158.837)}Vo.invert=function(et,rt){return[et/F(1-3*rt*rt/(_*_)),rt]},hl.invert=function(et,rt){var ct=(et*et+rt*rt)/-2,vt=F(-ct*(2+ct)),St=rt*ct+et*vt,Mt=et*ct-rt*vt,Y=F(Mt*Mt+St*St);return[M(vt*St,Y*(1+ct)),Y?-O(vt*Mt/Y):0]},la.invert=function(et,rt){var ct=et,vt=rt,St=25;do{var Mt,Y=v(vt),ee=m(vt),K=m(2*vt),le=ee*ee,Te=Y*Y,De=m(ct),He=v(ct/2),Ze=m(ct/2),at=Ze*Ze,Tt=1-Te*He*He,At=Tt?z(Y*He)*F(Mt=1/Tt):Mt=0,se=.5*(2*At*Y*Ze+ct/k)-et,ve=.5*(At*ee+vt)-rt,Ie=.5*Mt*(Te*at+At*Y*He*le)+.5/k,Fe=Mt*(De*K/4-At*ee*Ze),Ue=.125*Mt*(K*Ze-At*ee*Te*De),We=.5*Mt*(le*He+At*at*Y)+.5,Xe=Fe*Ue-We*Ie,tt=(ve*Fe-se*We)/Xe,lt=(se*Ue-ve*Ie)/Xe;ct-=tt,vt-=lt}while((g(tt)>y||g(lt)>y)&&--St>0);return[ct,vt]}},33940:function(T,p,t){function d(){return new g}function g(){this.reset()}t.d(p,{Z:function(){return d}}),g.prototype={constructor:g,reset:function(){this.s=this.t=0},add:function(v){M(i,v,this.t),M(this,i.s,this.s),this.s?this.t+=i.t:this.s=i.t},valueOf:function(){return this.s}};var i=new g;function M(v,f,l){var a=v.s=f+l,u=a-f,o=a-u;v.t=f-o+(l-u)}},97860:function(T,p,t){t.d(p,{L9:function(){return o},ZP:function(){return S},gL:function(){return c}});var d,g,i,M,v,f=t(33940),l=t(39695),a=t(73182),u=t(72736),o=(0,f.Z)(),s=(0,f.Z)(),c={point:a.Z,lineStart:a.Z,lineEnd:a.Z,polygonStart:function(){o.reset(),c.lineStart=h,c.lineEnd=m},polygonEnd:function(){var _=+o;s.add(_<0?l.BZ+_:_),this.lineStart=this.lineEnd=this.point=a.Z},sphere:function(){s.add(l.BZ)}};function h(){c.point=w}function m(){y(d,g)}function w(_,k){c.point=y,d=_,g=k,_*=l.uR,k*=l.uR,i=_,M=(0,l.mC)(k=k/2+l.pu),v=(0,l.O$)(k)}function y(_,k){_*=l.uR,k=(k*=l.uR)/2+l.pu;var E=_-i,x=E>=0?1:-1,A=x*E,L=(0,l.mC)(k),b=(0,l.O$)(k),R=v*b,I=M*L+R*(0,l.mC)(A),O=R*x*(0,l.O$)(A);o.add((0,l.fv)(O,I)),i=_,M=L,v=b}function S(_){return s.reset(),(0,u.Z)(_,c),2*s}},77338:function(T,p,t){t.d(p,{Z:function(){return z}});var d,g,i,M,v,f,l,a,u,o,s=t(33940),c=t(97860),h=t(7620),m=t(39695),w=t(72736),y=(0,s.Z)(),S={point:_,lineStart:E,lineEnd:x,polygonStart:function(){S.point=A,S.lineStart=L,S.lineEnd=b,y.reset(),c.gL.polygonStart()},polygonEnd:function(){c.gL.polygonEnd(),S.point=_,S.lineStart=E,S.lineEnd=x,c.L9<0?(d=-(i=180),g=-(M=90)):y>m.Ho?M=90:y<-m.Ho&&(g=-90),o[0]=d,o[1]=i},sphere:function(){d=-(i=180),g=-(M=90)}};function _(F,B){u.push(o=[d=F,i=F]),BM&&(M=B)}function k(F,B){var N=(0,h.Og)([F*m.uR,B*m.uR]);if(a){var W=(0,h.T5)(a,N),j=[W[1],-W[0],0],$=(0,h.T5)(j,W);(0,h.iJ)($),$=(0,h.Y1)($);var U,G=F-v,q=G>0?1:-1,H=$[0]*m.RW*q,ne=(0,m.Wn)(G)>180;ne^(q*vM&&(M=U):ne^(q*v<(H=(H+360)%360-180)&&HM&&(M=B)),ne?FR(d,i)&&(i=F):R(F,i)>R(d,i)&&(d=F):i>=d?(Fi&&(i=F)):F>v?R(d,F)>R(d,i)&&(i=F):R(F,i)>R(d,i)&&(d=F)}else u.push(o=[d=F,i=F]);BM&&(M=B),a=N,v=F}function E(){S.point=k}function x(){o[0]=d,o[1]=i,S.point=_,a=null}function A(F,B){if(a){var N=F-v;y.add((0,m.Wn)(N)>180?N+(N>0?360:-360):N)}else f=F,l=B;c.gL.point(F,B),k(F,B)}function L(){c.gL.lineStart()}function b(){A(f,l),c.gL.lineEnd(),(0,m.Wn)(y)>m.Ho&&(d=-(i=180)),o[0]=d,o[1]=i,a=null}function R(F,B){return(B-=F)<0?B+360:B}function I(F,B){return F[0]-B[0]}function O(F,B){return F[0]<=F[1]?F[0]<=B&&B<=F[1]:BR(W[0],W[1])&&(W[1]=j[1]),R(j[0],W[1])>R(W[0],W[1])&&(W[0]=j[0])):$.push(W=j);for(U=-1/0,B=0,W=$[N=$.length-1];B<=N;W=j,++B)j=$[B],(G=R(W[1],j[0]))>U&&(U=G,d=j[0],i=W[1])}return u=o=null,d===1/0||g===1/0?[[NaN,NaN],[NaN,NaN]]:[[d,g],[i,M]]}},7620:function(T,p,t){t.d(p,{Og:function(){return i},T:function(){return l},T5:function(){return v},Y1:function(){return g},iJ:function(){return a},j9:function(){return M},s0:function(){return f}});var d=t(39695);function g(u){return[(0,d.fv)(u[1],u[0]),(0,d.ZR)(u[2])]}function i(u){var o=u[0],s=u[1],c=(0,d.mC)(s);return[c*(0,d.mC)(o),c*(0,d.O$)(o),(0,d.O$)(s)]}function M(u,o){return u[0]*o[0]+u[1]*o[1]+u[2]*o[2]}function v(u,o){return[u[1]*o[2]-u[2]*o[1],u[2]*o[0]-u[0]*o[2],u[0]*o[1]-u[1]*o[0]]}function f(u,o){u[0]+=o[0],u[1]+=o[1],u[2]+=o[2]}function l(u,o){return[u[0]*o,u[1]*o,u[2]*o]}function a(u){var o=(0,d._b)(u[0]*u[0]+u[1]*u[1]+u[2]*u[2]);u[0]/=o,u[1]/=o,u[2]/=o}},66624:function(T,p,t){t.d(p,{Z:function(){return N}});var d,g,i,M,v,f,l,a,u,o,s,c,h,m,w,y,S=t(39695),_=t(73182),k=t(72736),E={sphere:_.Z,point:x,lineStart:L,lineEnd:I,polygonStart:function(){E.lineStart=O,E.lineEnd=z},polygonEnd:function(){E.lineStart=L,E.lineEnd=I}};function x(W,j){W*=S.uR,j*=S.uR;var $=(0,S.mC)(j);A($*(0,S.mC)(W),$*(0,S.O$)(W),(0,S.O$)(j))}function A(W,j,$){++d,i+=(W-i)/d,M+=(j-M)/d,v+=($-v)/d}function L(){E.point=b}function b(W,j){W*=S.uR,j*=S.uR;var $=(0,S.mC)(j);m=$*(0,S.mC)(W),w=$*(0,S.O$)(W),y=(0,S.O$)(j),E.point=R,A(m,w,y)}function R(W,j){W*=S.uR,j*=S.uR;var $=(0,S.mC)(j),U=$*(0,S.mC)(W),G=$*(0,S.O$)(W),q=(0,S.O$)(j),H=(0,S.fv)((0,S._b)((H=w*q-y*G)*H+(H=y*U-m*q)*H+(H=m*G-w*U)*H),m*U+w*G+y*q);g+=H,f+=H*(m+(m=U)),l+=H*(w+(w=G)),a+=H*(y+(y=q)),A(m,w,y)}function I(){E.point=x}function O(){E.point=F}function z(){B(c,h),E.point=x}function F(W,j){c=W,h=j,W*=S.uR,j*=S.uR,E.point=B;var $=(0,S.mC)(j);m=$*(0,S.mC)(W),w=$*(0,S.O$)(W),y=(0,S.O$)(j),A(m,w,y)}function B(W,j){W*=S.uR,j*=S.uR;var $=(0,S.mC)(j),U=$*(0,S.mC)(W),G=$*(0,S.O$)(W),q=(0,S.O$)(j),H=w*q-y*G,ne=y*U-m*q,te=m*G-w*U,Z=(0,S._b)(H*H+ne*ne+te*te),X=(0,S.ZR)(Z),Q=Z&&-X/Z;u+=Q*H,o+=Q*ne,s+=Q*te,g+=X,f+=X*(m+(m=U)),l+=X*(w+(w=G)),a+=X*(y+(y=q)),A(m,w,y)}function N(W){d=g=i=M=v=f=l=a=u=o=s=0,(0,k.Z)(W,E);var j=u,$=o,U=s,G=j*j+$*$+U*U;return G0?ch)&&(c+=s*i.BZ));for(var S,_=c;s>0?_>h:_0?g.pi:-g.pi,s=(0,g.Wn)(a-v);(0,g.Wn)(s-g.pi)0?g.ou:-g.ou),i.point(l,f),i.lineEnd(),i.lineStart(),i.point(o,f),i.point(a,f),M=0):l!==o&&s>=g.pi&&((0,g.Wn)(v-l)g.Ho?(0,g.z4)(((0,g.O$)(h)*(S=(0,g.mC)(w))*(0,g.O$)(m)-(0,g.O$)(w)*(y=(0,g.mC)(h))*(0,g.O$)(c))/(y*S*_)):(h+w)/2}(v,f,a,u),i.point(l,f),i.lineEnd(),i.lineStart(),i.point(o,f),M=0),i.point(v=a,f=u),l=o},lineEnd:function(){i.lineEnd(),v=f=NaN},clean:function(){return 2-M}}},function(i,M,v,f){var l;if(i==null)l=v*g.ou,f.point(-g.pi,l),f.point(0,l),f.point(g.pi,l),f.point(g.pi,0),f.point(g.pi,-l),f.point(0,-l),f.point(-g.pi,-l),f.point(-g.pi,0),f.point(-g.pi,l);else if((0,g.Wn)(i[0]-M[0])>g.Ho){var a=i[0]1&&M.push(M.pop().concat(M.shift()))},result:function(){var v=M;return M=[],i=null,v}}}},1457:function(T,p,t){t.d(p,{Z:function(){return f}});var d=t(7620),g=t(7613),i=t(39695),M=t(67108),v=t(97023);function f(l){var a=(0,i.mC)(l),u=6*i.uR,o=a>0,s=(0,i.Wn)(a)>i.Ho;function c(w,y){return(0,i.mC)(w)*(0,i.mC)(y)>a}function h(w,y,S){var _=(0,d.Og)(w),k=(0,d.Og)(y),E=[1,0,0],x=(0,d.T5)(_,k),A=(0,d.j9)(x,x),L=x[0],b=A-L*L;if(!b)return!S&&w;var R=a*A/b,I=-a*L/b,O=(0,d.T5)(E,x),z=(0,d.T)(E,R),F=(0,d.T)(x,I);(0,d.s0)(z,F);var B=O,N=(0,d.j9)(z,B),W=(0,d.j9)(B,B),j=N*N-W*((0,d.j9)(z,z)-1);if(!(j<0)){var $=(0,i._b)(j),U=(0,d.T)(B,(-N-$)/W);if((0,d.s0)(U,z),U=(0,d.Y1)(U),!S)return U;var G,q=w[0],H=y[0],ne=w[1],te=y[1];H0^U[1]<((0,i.Wn)(U[0]-q)i.pi^(q<=U[0]&&U[0]<=H)){var Q=(0,d.T)(B,(-N+$)/W);return(0,d.s0)(Q,z),[U,(0,d.Y1)(Q)]}}}function m(w,y){var S=o?l:i.pi-l,_=0;return w<-S?_|=1:w>S&&(_|=2),y<-S?_|=4:y>S&&(_|=8),_}return(0,v.Z)(c,function(w){var y,S,_,k,E;return{lineStart:function(){k=_=!1,E=1},point:function(x,A){var L,b=[x,A],R=c(x,A),I=o?R?0:m(x,A):R?m(x+(x<0?i.pi:-i.pi),A):0;if(!y&&(k=_=R)&&w.lineStart(),R!==_&&(!(L=h(y,b))||(0,M.Z)(y,L)||(0,M.Z)(b,L))&&(b[2]=1),R!==_)E=0,R?(w.lineStart(),L=h(b,y),w.point(L[0],L[1])):(L=h(y,b),w.point(L[0],L[1],2),w.lineEnd()),y=L;else if(s&&y&&o^R){var O;I&S||!(O=h(b,y,!0))||(E=0,o?(w.lineStart(),w.point(O[0][0],O[0][1]),w.point(O[1][0],O[1][1]),w.lineEnd()):(w.point(O[1][0],O[1][1]),w.lineEnd(),w.lineStart(),w.point(O[0][0],O[0][1],3)))}!R||y&&(0,M.Z)(y,b)||w.point(b[0],b[1]),y=b,_=R,S=I},lineEnd:function(){_&&w.lineEnd(),y=null},clean:function(){return E|(k&&_)<<1}}},function(w,y,S,_){(0,g.m)(_,l,u,S,w,y)},o?[0,-l]:[-i.pi,l-i.pi])}},97023:function(T,p,t){t.d(p,{Z:function(){return f}});var d=t(85272),g=t(46225),i=t(39695),M=t(23071),v=t(33064);function f(u,o,s,c){return function(h){var m,w,y,S=o(h),_=(0,d.Z)(),k=o(_),E=!1,x={point:A,lineStart:b,lineEnd:R,polygonStart:function(){x.point=I,x.lineStart=O,x.lineEnd=z,w=[],m=[]},polygonEnd:function(){x.point=A,x.lineStart=b,x.lineEnd=R,w=(0,v.TS)(w);var F=(0,M.Z)(m,c);w.length?(E||(h.polygonStart(),E=!0),(0,g.Z)(w,a,F,s,h)):F&&(E||(h.polygonStart(),E=!0),h.lineStart(),s(null,null,1,h),h.lineEnd()),E&&(h.polygonEnd(),E=!1),w=m=null},sphere:function(){h.polygonStart(),h.lineStart(),s(null,null,1,h),h.lineEnd(),h.polygonEnd()}};function A(F,B){u(F,B)&&h.point(F,B)}function L(F,B){S.point(F,B)}function b(){x.point=L,S.lineStart()}function R(){x.point=A,S.lineEnd()}function I(F,B){y.push([F,B]),k.point(F,B)}function O(){k.lineStart(),y=[]}function z(){I(y[0][0],y[0][1]),k.lineEnd();var F,B,N,W,j=k.clean(),$=_.result(),U=$.length;if(y.pop(),m.push(y),y=null,U)if(1&j){if((B=(N=$[0]).length-1)>0){for(E||(h.polygonStart(),E=!0),h.lineStart(),F=0;F1&&2&j&&$.push($.pop().concat($.shift())),w.push($.filter(l))}return x}}function l(u){return u.length>1}function a(u,o){return((u=u.x)[0]<0?u[1]-i.ou-i.Ho:i.ou-u[1])-((o=o.x)[0]<0?o[1]-i.ou-i.Ho:i.ou-o[1])}},87605:function(T,p,t){t.d(p,{Z:function(){return l}});var d=t(39695),g=t(85272),i=t(46225),M=t(33064),v=1e9,f=-v;function l(a,u,o,s){function c(S,_){return a<=S&&S<=o&&u<=_&&_<=s}function h(S,_,k,E){var x=0,A=0;if(S==null||(x=m(S,k))!==(A=m(_,k))||y(S,_)<0^k>0)do E.point(x===0||x===3?a:o,x>1?s:u);while((x=(x+k+4)%4)!==A);else E.point(_[0],_[1])}function m(S,_){return(0,d.Wn)(S[0]-a)0?0:3:(0,d.Wn)(S[0]-o)0?2:1:(0,d.Wn)(S[1]-u)0?1:0:_>0?3:2}function w(S,_){return y(S.x,_.x)}function y(S,_){var k=m(S,1),E=m(_,1);return k!==E?k-E:k===0?_[1]-S[1]:k===1?S[0]-_[0]:k===2?S[1]-_[1]:_[0]-S[0]}return function(S){var _,k,E,x,A,L,b,R,I,O,z,F=S,B=(0,g.Z)(),N={point:W,lineStart:function(){N.point=j,k&&k.push(E=[]),O=!0,I=!1,b=R=NaN},lineEnd:function(){_&&(j(x,A),L&&I&&B.rejoin(),_.push(B.result())),N.point=W,I&&F.lineEnd()},polygonStart:function(){F=B,_=[],k=[],z=!0},polygonEnd:function(){var $=function(){for(var q=0,H=0,ne=k.length;Hs&&(oe-te)*(s-Z)>(ue-Z)*(a-te)&&++q:ue<=s&&(oe-te)*(s-Z)<(ue-Z)*(a-te)&&--q;return q}(),U=z&&$,G=(_=(0,M.TS)(_)).length;(U||G)&&(S.polygonStart(),U&&(S.lineStart(),h(null,null,1,S),S.lineEnd()),G&&(0,i.Z)(_,w,$,h,S),S.polygonEnd()),F=S,_=k=E=null}};function W($,U){c($,U)&&F.point($,U)}function j($,U){var G=c($,U);if(k&&E.push([$,U]),O)x=$,A=U,L=G,O=!1,G&&(F.lineStart(),F.point($,U));else if(G&&I)F.point($,U);else{var q=[b=Math.max(f,Math.min(v,b)),R=Math.max(f,Math.min(v,R))],H=[$=Math.max(f,Math.min(v,$)),U=Math.max(f,Math.min(v,U))];(function(ne,te,Z,X,Q,re){var ie,oe=ne[0],ue=ne[1],ce=0,ye=1,de=te[0]-oe,me=te[1]-ue;if(ie=Z-oe,de||!(ie>0)){if(ie/=de,de<0){if(ie0){if(ie>ye)return;ie>ce&&(ce=ie)}if(ie=Q-oe,de||!(ie<0)){if(ie/=de,de<0){if(ie>ye)return;ie>ce&&(ce=ie)}else if(de>0){if(ie0)){if(ie/=me,me<0){if(ie0){if(ie>ye)return;ie>ce&&(ce=ie)}if(ie=re-ue,me||!(ie<0)){if(ie/=me,me<0){if(ie>ye)return;ie>ce&&(ce=ie)}else if(me>0){if(ie0&&(ne[0]=oe+ce*de,ne[1]=ue+ce*me),ye<1&&(te[0]=oe+ye*de,te[1]=ue+ye*me),!0}}}}})(q,H,a,u,o,s)?(I||(F.lineStart(),F.point(q[0],q[1])),F.point(H[0],H[1]),G||F.lineEnd(),z=!1):G&&(F.lineStart(),F.point($,U),z=!1)}b=$,R=U,I=G}return N}}},46225:function(T,p,t){t.d(p,{Z:function(){return M}});var d=t(67108),g=t(39695);function i(f,l,a,u){this.x=f,this.z=l,this.o=a,this.e=u,this.v=!1,this.n=this.p=null}function M(f,l,a,u,o){var s,c,h=[],m=[];if(f.forEach(function(E){if(!((x=E.length-1)<=0)){var x,A,L=E[0],b=E[x];if((0,d.Z)(L,b)){if(!L[2]&&!b[2]){for(o.lineStart(),s=0;s=0;--s)o.point((y=w[s])[0],y[1]);else u(_.x,_.p.x,-1,o);_=_.p}w=(_=_.o).z,k=!k}while(!_.v);o.lineEnd()}}}function v(f){if(l=f.length){for(var l,a,u=0,o=f[0];++u0&&(Un=R(Kt[Kn],Kt[Kn-1]))>0&&Rn<=Un&&Ln<=Un&&(Rn+Ln-Un)*(1-Math.pow((Rn-Ln)/Un,2))m.Ho}).map(mr)).concat((0,U.w6)((0,m.mD)(Kn/hn)*hn,Un,hn).filter(function(gn){return(0,m.Wn)(gn%On)>m.Ho}).map(nn))}return mn.lines=function(){return wn().map(function(gn){return{type:"LineString",coordinates:gn}})},mn.outline=function(){return{type:"Polygon",coordinates:[Pn(Ln).concat(jt($n).slice(1),Pn(Rn).reverse().slice(1),jt(tr).reverse().slice(1))]}},mn.extent=function(gn){return arguments.length?mn.extentMajor(gn).extentMinor(gn):mn.extentMinor()},mn.extentMajor=function(gn){return arguments.length?(Ln=+gn[0][0],Rn=+gn[1][0],tr=+gn[0][1],$n=+gn[1][1],Ln>Rn&&(gn=Ln,Ln=Rn,Rn=gn),tr>$n&&(gn=tr,tr=$n,$n=gn),mn.precision(En)):[[Ln,tr],[Rn,$n]]},mn.extentMinor=function(gn){return arguments.length?(bn=+gn[0][0],Kt=+gn[1][0],Kn=+gn[0][1],Un=+gn[1][1],bn>Kt&&(gn=bn,bn=Kt,Kt=gn),Kn>Un&&(gn=Kn,Kn=Un,Un=gn),mn.precision(En)):[[bn,Kn],[Kt,Un]]},mn.step=function(gn){return arguments.length?mn.stepMajor(gn).stepMinor(gn):mn.stepMinor()},mn.stepMajor=function(gn){return arguments.length?(zn=+gn[0],On=+gn[1],mn):[zn,On]},mn.stepMinor=function(gn){return arguments.length?(Jt=+gn[0],hn=+gn[1],mn):[Jt,hn]},mn.precision=function(gn){return arguments.length?(En=+gn,mr=G(Kn,Un,90),nn=q(bn,Kt,En),Pn=G(tr,$n,90),jt=q(Ln,Rn,En),mn):En},mn.extentMajor([[-180,-90+m.Ho],[180,90-m.Ho]]).extentMinor([[-180,-80-m.Ho],[180,80+m.Ho]])}function ne(){return H()()}var te,Z,X,Q,re=t(83074),ie=t(8593),oe=(0,h.Z)(),ue=(0,h.Z)(),ce={point:w.Z,lineStart:w.Z,lineEnd:w.Z,polygonStart:function(){ce.lineStart=ye,ce.lineEnd=pe},polygonEnd:function(){ce.lineStart=ce.lineEnd=ce.point=w.Z,oe.add((0,m.Wn)(ue)),ue.reset()},result:function(){var Kt=oe/2;return oe.reset(),Kt}};function ye(){ce.point=de}function de(Kt,bn){ce.point=me,te=X=Kt,Z=Q=bn}function me(Kt,bn){ue.add(Q*Kt-X*bn),X=Kt,Q=bn}function pe(){me(te,Z)}var xe,Pe,_e,Me,Se=ce,Ce=t(3559),ae=0,fe=0,be=0,ke=0,Le=0,Be=0,ze=0,je=0,ge=0,we={point:Ee,lineStart:Ve,lineEnd:st,polygonStart:function(){we.lineStart=ot,we.lineEnd=ht},polygonEnd:function(){we.point=Ee,we.lineStart=Ve,we.lineEnd=st},result:function(){var Kt=ge?[ze/ge,je/ge]:Be?[ke/Be,Le/Be]:be?[ae/be,fe/be]:[NaN,NaN];return ae=fe=be=ke=Le=Be=ze=je=ge=0,Kt}};function Ee(Kt,bn){ae+=Kt,fe+=bn,++be}function Ve(){we.point=$e}function $e(Kt,bn){we.point=Ye,Ee(_e=Kt,Me=bn)}function Ye(Kt,bn){var Rn=Kt-_e,Ln=bn-Me,Un=(0,m._b)(Rn*Rn+Ln*Ln);ke+=Un*(_e+Kt)/2,Le+=Un*(Me+bn)/2,Be+=Un,Ee(_e=Kt,Me=bn)}function st(){we.point=Ee}function ot(){we.point=bt}function ht(){Et(xe,Pe)}function bt(Kt,bn){we.point=Et,Ee(xe=_e=Kt,Pe=Me=bn)}function Et(Kt,bn){var Rn=Kt-_e,Ln=bn-Me,Un=(0,m._b)(Rn*Rn+Ln*Ln);ke+=Un*(_e+Kt)/2,Le+=Un*(Me+bn)/2,Be+=Un,ze+=(Un=Me*Kt-_e*bn)*(_e+Kt),je+=Un*(Me+bn),ge+=3*Un,Ee(_e=Kt,Me=bn)}var kt=we;function xt(Kt){this._context=Kt}xt.prototype={_radius:4.5,pointRadius:function(Kt){return this._radius=Kt,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._context.closePath(),this._point=NaN},point:function(Kt,bn){switch(this._point){case 0:this._context.moveTo(Kt,bn),this._point=1;break;case 1:this._context.lineTo(Kt,bn);break;default:this._context.moveTo(Kt+this._radius,bn),this._context.arc(Kt,bn,this._radius,0,m.BZ)}},result:w.Z};var Ft,Ot,Bt,qt,Vt,Ke=(0,h.Z)(),Je={point:w.Z,lineStart:function(){Je.point=qe},lineEnd:function(){Ft&&nt(Ot,Bt),Je.point=w.Z},polygonStart:function(){Ft=!0},polygonEnd:function(){Ft=null},result:function(){var Kt=+Ke;return Ke.reset(),Kt}};function qe(Kt,bn){Je.point=nt,Ot=qt=Kt,Bt=Vt=bn}function nt(Kt,bn){qt-=Kt,Vt-=bn,Ke.add((0,m._b)(qt*qt+Vt*Vt)),qt=Kt,Vt=bn}var ft=Je;function Re(){this._string=[]}function Ne(Kt){return"m0,"+Kt+"a"+Kt+","+Kt+" 0 1,1 0,"+-2*Kt+"a"+Kt+","+Kt+" 0 1,1 0,"+2*Kt+"z"}function Qe(Kt,bn){var Rn,Ln,Un=4.5;function Kn($n){return $n&&(typeof Un=="function"&&Ln.pointRadius(+Un.apply(this,arguments)),(0,y.Z)($n,Rn(Ln))),Ln.result()}return Kn.area=function($n){return(0,y.Z)($n,Rn(Se)),Se.result()},Kn.measure=function($n){return(0,y.Z)($n,Rn(ft)),ft.result()},Kn.bounds=function($n){return(0,y.Z)($n,Rn(Ce.Z)),Ce.Z.result()},Kn.centroid=function($n){return(0,y.Z)($n,Rn(kt)),kt.result()},Kn.projection=function($n){return arguments.length?(Rn=$n==null?(Kt=null,ie.Z):(Kt=$n).stream,Kn):Kt},Kn.context=function($n){return arguments.length?(Ln=$n==null?(bn=null,new Re):new xt(bn=$n),typeof Un!="function"&&Ln.pointRadius(Un),Kn):bn},Kn.pointRadius=function($n){return arguments.length?(Un=typeof $n=="function"?$n:(Ln.pointRadius(+$n),+$n),Kn):Un},Kn.projection(Kt).context(bn)}Re.prototype={_radius:4.5,_circle:Ne(4.5),pointRadius:function(Kt){return(Kt=+Kt)!==this._radius&&(this._radius=Kt,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._string.push("Z"),this._point=NaN},point:function(Kt,bn){switch(this._point){case 0:this._string.push("M",Kt,",",bn),this._point=1;break;case 1:this._string.push("L",Kt,",",bn);break;default:this._circle==null&&(this._circle=Ne(this._radius)),this._string.push("M",Kt,",",bn,this._circle)}},result:function(){if(this._string.length){var Kt=this._string.join("");return this._string=[],Kt}return null}};var ut=t(15002);function dt(Kt){var bn=0,Rn=m.pi/3,Ln=(0,ut.r)(Kt),Un=Ln(bn,Rn);return Un.parallels=function(Kn){return arguments.length?Ln(bn=Kn[0]*m.uR,Rn=Kn[1]*m.uR):[bn*m.RW,Rn*m.RW]},Un}function _t(Kt,bn){var Rn=(0,m.O$)(Kt),Ln=(Rn+(0,m.O$)(bn))/2;if((0,m.Wn)(Ln)=.12&&En<.234&&On>=-.425&&On<-.214?tr:En>=.166&&En<.234&&On>=-.214&&On<-.115?mr:$n).invert(Jt)},Pn.stream=function(Jt){return Kt&&bn===Jt?Kt:(hn=[$n.stream(bn=Jt),tr.stream(Jt),mr.stream(Jt)],zn=hn.length,Kt={point:function(On,En){for(var mn=-1;++mn0?tr<-m.ou+m.Ho&&(tr=-m.ou+m.Ho):tr>m.ou-m.Ho&&(tr=m.ou-m.Ho);var mr=Un/(0,m.sQ)(Qt(tr),Ln);return[mr*(0,m.O$)(Ln*$n),Un-mr*(0,m.mC)(Ln*$n)]}return Kn.invert=function($n,tr){var mr=Un-tr,nn=(0,m.Xx)(Ln)*(0,m._b)($n*$n+mr*mr),Pn=(0,m.fv)($n,(0,m.Wn)(mr))*(0,m.Xx)(mr);return mr*Ln<0&&(Pn-=m.pi*(0,m.Xx)($n)*(0,m.Xx)(mr)),[Pn/Ln,2*(0,m.z4)((0,m.sQ)(Un/nn,1/Ln))-m.ou]},Kn}function xn(){return dt(rn).scale(109.5).parallels([30,30])}Yt.invert=function(Kt,bn){return[Kt,2*(0,m.z4)((0,m.Qq)(bn))-m.ou]};var un=t(97492);function An(Kt,bn){var Rn=(0,m.mC)(Kt),Ln=Kt===bn?(0,m.O$)(Kt):(Rn-(0,m.mC)(bn))/(bn-Kt),Un=Rn/Ln+Kt;if((0,m.Wn)(Ln)2?Ln[2]+90:90]):[(Ln=Rn())[0],Ln[1],Ln[2]-90]},Rn([0,0,90]).scale(159.155)}yr.invert=(0,Sr.O)(function(Kt){return 2*(0,m.z4)(Kt)}),vr.invert=function(Kt,bn){return[-bn,2*(0,m.z4)((0,m.Qq)(Kt))-m.ou]}},83074:function(T,p,t){t.d(p,{Z:function(){return g}});var d=t(39695);function g(i,M){var v=i[0]*d.uR,f=i[1]*d.uR,l=M[0]*d.uR,a=M[1]*d.uR,u=(0,d.mC)(f),o=(0,d.O$)(f),s=(0,d.mC)(a),c=(0,d.O$)(a),h=u*(0,d.mC)(v),m=u*(0,d.O$)(v),w=s*(0,d.mC)(l),y=s*(0,d.O$)(l),S=2*(0,d.ZR)((0,d._b)((0,d.Jy)(a-f)+u*s*(0,d.Jy)(l-v))),_=(0,d.O$)(S),k=S?function(E){var x=(0,d.O$)(E*=S)/_,A=(0,d.O$)(S-E)/_,L=A*h+x*w,b=A*m+x*y,R=A*o+x*c;return[(0,d.fv)(b,L)*d.RW,(0,d.fv)(R,(0,d._b)(L*L+b*b))*d.RW]}:function(){return[v*d.RW,f*d.RW]};return k.distance=S,k}},39695:function(T,p,t){t.d(p,{BZ:function(){return f},Ho:function(){return d},Jy:function(){return L},Kh:function(){return x},O$:function(){return S},OR:function(){return E},Qq:function(){return m},RW:function(){return l},Wn:function(){return u},Xx:function(){return _},ZR:function(){return A},_b:function(){return k},aW:function(){return g},cM:function(){return w},fv:function(){return s},mC:function(){return c},mD:function(){return h},ou:function(){return M},pi:function(){return i},pu:function(){return v},sQ:function(){return y},uR:function(){return a},z4:function(){return o}});var d=1e-6,g=1e-12,i=Math.PI,M=i/2,v=i/4,f=2*i,l=180/i,a=i/180,u=Math.abs,o=Math.atan,s=Math.atan2,c=Math.cos,h=Math.ceil,m=Math.exp,w=Math.log,y=Math.pow,S=Math.sin,_=Math.sign||function(b){return b>0?1:b<0?-1:0},k=Math.sqrt,E=Math.tan;function x(b){return b>1?0:b<-1?i:Math.acos(b)}function A(b){return b>1?M:b<-1?-M:Math.asin(b)}function L(b){return(b=S(b/2))*b}},73182:function(T,p,t){function d(){}t.d(p,{Z:function(){return d}})},3559:function(T,p,t){var d=t(73182),g=1/0,i=g,M=-g,v=M,f={point:function(l,a){lM&&(M=l),av&&(v=a)},lineStart:d.Z,lineEnd:d.Z,polygonStart:d.Z,polygonEnd:d.Z,result:function(){var l=[[g,i],[M,v]];return M=v=-(i=g=1/0),l}};p.Z=f},67108:function(T,p,t){t.d(p,{Z:function(){return g}});var d=t(39695);function g(i,M){return(0,d.Wn)(i[0]-M[0])=0?1:-1,W=N*B,j=W>i.pi,$=A*z;if(M.add((0,i.fv)($*N*(0,i.O$)(W),L*F+$*(0,i.mC)(W))),h+=j?B+N*i.BZ:B,j^E>=u^I>=u){var U=(0,g.T5)((0,g.Og)(k),(0,g.Og)(R));(0,g.iJ)(U);var G=(0,g.T5)(c,U);(0,g.iJ)(G);var q=(j^B>=0?-1:1)*(0,i.ZR)(G[2]);(o>q||o===q&&(U[0]||U[1]))&&(m+=j^B>=0?1:-1)}}return(h<-i.Ho||h4*x&&U--){var te=I+W,Z=O+j,X=z+$,Q=(0,f._b)(te*te+Z*Z+X*X),re=(0,f.ZR)(X/=Q),ie=(0,f.Wn)((0,f.Wn)(X)-1)x||(0,f.Wn)((q*ye+H*de)/ne-.5)>.3||I*W+O*j+z*$2?ye[2]%360*f.uR:0,ue()):[$*f.RW,U*f.RW,G*f.RW]},ie.angle=function(ye){return arguments.length?(q=ye%360*f.uR,ue()):q*f.RW},ie.reflectX=function(ye){return arguments.length?(H=ye?-1:1,ue()):H<0},ie.reflectY=function(ye){return arguments.length?(ne=ye?-1:1,ue()):ne<0},ie.precision=function(ye){return arguments.length?(b=c(R,re=ye*ye),ce()):(0,f._b)(re)},ie.fitExtent=function(ye,de){return(0,u.qg)(ie,ye,de)},ie.fitSize=function(ye,de){return(0,u.mF)(ie,ye,de)},ie.fitWidth=function(ye,de){return(0,u.V6)(ie,ye,de)},ie.fitHeight=function(ye,de){return(0,u.rf)(ie,ye,de)},function(){return k=_.apply(this,arguments),ie.invert=k.invert&&oe,ue()}}},26867:function(T,p,t){t.d(p,{K:function(){return i},Z:function(){return M}});var d=t(15002),g=t(39695);function i(v,f){var l=f*f,a=l*l;return[v*(.8707-.131979*l+a*(a*(.003971*l-.001529*a)-.013791)),f*(1.007226+l*(.015085+a*(.028874*l-.044475-.005916*a)))]}function M(){return(0,d.Z)(i).scale(175.295)}i.invert=function(v,f){var l,a=f,u=25;do{var o=a*a,s=o*o;a-=l=(a*(1.007226+o*(.015085+s*(.028874*o-.044475-.005916*s)))-f)/(1.007226+o*(.045255+s*(.259866*o-.311325-.06507600000000001*s)))}while((0,g.Wn)(l)>g.Ho&&--u>0);return[v/(.8707+(o=a*a)*(o*(o*o*o*(.003971-.001529*o)-.013791)-.131979)),a]}},57962:function(T,p,t){t.d(p,{I:function(){return M},Z:function(){return v}});var d=t(39695),g=t(25382),i=t(15002);function M(f,l){return[(0,d.mC)(l)*(0,d.O$)(f),(0,d.O$)(l)]}function v(){return(0,i.Z)(M).scale(249.5).clipAngle(90+d.Ho)}M.invert=(0,g.O)(d.ZR)},49386:function(T,p,t){t.d(p,{I:function(){return M},Z:function(){return a}});var d=t(96059),g=t(39695);function i(u,o){return[(0,g.Wn)(u)>g.pi?u+Math.round(-u/g.BZ)*g.BZ:u,o]}function M(u,o,s){return(u%=g.BZ)?o||s?(0,d.Z)(f(u),l(o,s)):f(u):o||s?l(o,s):i}function v(u){return function(o,s){return[(o+=u)>g.pi?o-g.BZ:o<-g.pi?o+g.BZ:o,s]}}function f(u){var o=v(u);return o.invert=v(-u),o}function l(u,o){var s=(0,g.mC)(u),c=(0,g.O$)(u),h=(0,g.mC)(o),m=(0,g.O$)(o);function w(y,S){var _=(0,g.mC)(S),k=(0,g.mC)(y)*_,E=(0,g.O$)(y)*_,x=(0,g.O$)(S),A=x*s+k*c;return[(0,g.fv)(E*h-A*m,k*s-x*c),(0,g.ZR)(A*h+E*m)]}return w.invert=function(y,S){var _=(0,g.mC)(S),k=(0,g.mC)(y)*_,E=(0,g.O$)(y)*_,x=(0,g.O$)(S),A=x*h-E*m;return[(0,g.fv)(E*h+x*m,k*s+A*c),(0,g.ZR)(A*s-k*c)]},w}function a(u){function o(s){return(s=u(s[0]*g.uR,s[1]*g.uR))[0]*=g.RW,s[1]*=g.RW,s}return u=M(u[0]*g.uR,u[1]*g.uR,u.length>2?u[2]*g.uR:0),o.invert=function(s){return(s=u.invert(s[0]*g.uR,s[1]*g.uR))[0]*=g.RW,s[1]*=g.RW,s},o}i.invert=i},72736:function(T,p,t){function d(l,a){l&&i.hasOwnProperty(l.type)&&i[l.type](l,a)}t.d(p,{Z:function(){return f}});var g={Feature:function(l,a){d(l.geometry,a)},FeatureCollection:function(l,a){for(var u=l.features,o=-1,s=u.length;++o=0;)ae+=fe[be].value;else ae=1;Ce.value=ae}function f(Ce,ae){var fe,be,ke,Le,Be,ze=new o(Ce),je=+Ce.value&&(ze.value=Ce.value),ge=[ze];for(ae==null&&(ae=l);fe=ge.pop();)if(je&&(fe.value=+fe.data.value),(ke=ae(fe.data))&&(Be=ke.length))for(fe.children=new Array(Be),Le=Be-1;Le>=0;--Le)ge.push(be=fe.children[Le]=new o(ke[Le])),be.parent=fe,be.depth=fe.depth+1;return ze.eachBefore(u)}function l(Ce){return Ce.children}function a(Ce){Ce.data=Ce.data.data}function u(Ce){var ae=0;do Ce.height=ae;while((Ce=Ce.parent)&&Ce.height<++ae)}function o(Ce){this.data=Ce,this.depth=this.height=0,this.parent=null}t.r(p),t.d(p,{cluster:function(){return M},hierarchy:function(){return f},pack:function(){return N},packEnclose:function(){return c},packSiblings:function(){return R},partition:function(){return q},stratify:function(){return X},tree:function(){return ye},treemap:function(){return Pe},treemapBinary:function(){return _e},treemapDice:function(){return G},treemapResquarify:function(){return Se},treemapSlice:function(){return de},treemapSliceDice:function(){return Me},treemapSquarify:function(){return xe}}),o.prototype=f.prototype={constructor:o,count:function(){return this.eachAfter(v)},each:function(Ce){var ae,fe,be,ke,Le=this,Be=[Le];do for(ae=Be.reverse(),Be=[];Le=ae.pop();)if(Ce(Le),fe=Le.children)for(be=0,ke=fe.length;be=0;--fe)ke.push(ae[fe]);return this},sum:function(Ce){return this.eachAfter(function(ae){for(var fe=+Ce(ae.data)||0,be=ae.children,ke=be&&be.length;--ke>=0;)fe+=be[ke].value;ae.value=fe})},sort:function(Ce){return this.eachBefore(function(ae){ae.children&&ae.children.sort(Ce)})},path:function(Ce){for(var ae=this,fe=function(Le,Be){if(Le===Be)return Le;var ze=Le.ancestors(),je=Be.ancestors(),ge=null;for(Le=ze.pop(),Be=je.pop();Le===Be;)ge=Le,Le=ze.pop(),Be=je.pop();return ge}(ae,Ce),be=[ae];ae!==fe;)ae=ae.parent,be.push(ae);for(var ke=be.length;Ce!==fe;)be.splice(ke,0,Ce),Ce=Ce.parent;return be},ancestors:function(){for(var Ce=this,ae=[Ce];Ce=Ce.parent;)ae.push(Ce);return ae},descendants:function(){var Ce=[];return this.each(function(ae){Ce.push(ae)}),Ce},leaves:function(){var Ce=[];return this.eachBefore(function(ae){ae.children||Ce.push(ae)}),Ce},links:function(){var Ce=this,ae=[];return Ce.each(function(fe){fe!==Ce&&ae.push({source:fe.parent,target:fe})}),ae},copy:function(){return f(this).eachBefore(a)}};var s=Array.prototype.slice;function c(Ce){for(var ae,fe,be=0,ke=(Ce=function(Be){for(var ze,je,ge=Be.length;ge;)je=Math.random()*ge--|0,ze=Be[ge],Be[ge]=Be[je],Be[je]=ze;return Be}(s.call(Ce))).length,Le=[];be0&&fe*fe>be*be+ke*ke}function y(Ce,ae){for(var fe=0;fe(Be*=Be)?(be=(ge+Be-ke)/(2*ge),Le=Math.sqrt(Math.max(0,Be/ge-be*be)),fe.x=Ce.x-be*ze-Le*je,fe.y=Ce.y-be*je+Le*ze):(be=(ge+ke-Be)/(2*ge),Le=Math.sqrt(Math.max(0,ke/ge-be*be)),fe.x=ae.x+be*ze-Le*je,fe.y=ae.y+be*je+Le*ze)):(fe.x=ae.x+fe.r,fe.y=ae.y)}function x(Ce,ae){var fe=Ce.r+ae.r-1e-6,be=ae.x-Ce.x,ke=ae.y-Ce.y;return fe>0&&fe*fe>be*be+ke*ke}function A(Ce){var ae=Ce._,fe=Ce.next._,be=ae.r+fe.r,ke=(ae.x*fe.r+fe.x*ae.r)/be,Le=(ae.y*fe.r+fe.y*ae.r)/be;return ke*ke+Le*Le}function L(Ce){this._=Ce,this.next=null,this.previous=null}function b(Ce){if(!(ke=Ce.length))return 0;var ae,fe,be,ke,Le,Be,ze,je,ge,we,Ee;if((ae=Ce[0]).x=0,ae.y=0,!(ke>1))return ae.r;if(fe=Ce[1],ae.x=-fe.r,fe.x=ae.r,fe.y=0,!(ke>2))return ae.r+fe.r;E(fe,ae,be=Ce[2]),ae=new L(ae),fe=new L(fe),be=new L(be),ae.next=be.previous=fe,fe.next=ae.previous=be,be.next=fe.previous=ae;e:for(ze=3;ze0)throw new Error("cycle");return Be}return fe.id=function(be){return arguments.length?(Ce=O(be),fe):Ce},fe.parentId=function(be){return arguments.length?(ae=O(be),fe):ae},fe}function Q(Ce,ae){return Ce.parent===ae.parent?1:2}function re(Ce){var ae=Ce.children;return ae?ae[0]:Ce.t}function ie(Ce){var ae=Ce.children;return ae?ae[ae.length-1]:Ce.t}function oe(Ce,ae,fe){var be=fe/(ae.i-Ce.i);ae.c-=be,ae.s+=fe,Ce.c+=be,ae.z+=fe,ae.m+=fe}function ue(Ce,ae,fe){return Ce.a.parent===ae.parent?Ce.a:fe}function ce(Ce,ae){this._=Ce,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=ae}function ye(){var Ce=Q,ae=1,fe=1,be=null;function ke(je){var ge=function(ht){for(var bt,Et,kt,xt,Ft,Ot=new ce(ht,0),Bt=[Ot];bt=Bt.pop();)if(kt=bt._.children)for(bt.children=new Array(Ft=kt.length),xt=Ft-1;xt>=0;--xt)Bt.push(Et=bt.children[xt]=new ce(kt[xt],xt)),Et.parent=bt;return(Ot.parent=new ce(null,0)).children=[Ot],Ot}(je);if(ge.eachAfter(Le),ge.parent.m=-ge.z,ge.eachBefore(Be),be)je.eachBefore(ze);else{var we=je,Ee=je,Ve=je;je.eachBefore(function(ht){ht.xEe.x&&(Ee=ht),ht.depth>Ve.depth&&(Ve=ht)});var $e=we===Ee?1:Ce(we,Ee)/2,Ye=$e-we.x,st=ae/(Ee.x+$e+Ye),ot=fe/(Ve.depth||1);je.eachBefore(function(ht){ht.x=(ht.x+Ye)*st,ht.y=ht.depth*ot})}return je}function Le(je){var ge=je.children,we=je.parent.children,Ee=je.i?we[je.i-1]:null;if(ge){(function($e){for(var Ye,st=0,ot=0,ht=$e.children,bt=ht.length;--bt>=0;)(Ye=ht[bt]).z+=st,Ye.m+=st,st+=Ye.s+(ot+=Ye.c)})(je);var Ve=(ge[0].z+ge[ge.length-1].z)/2;Ee?(je.z=Ee.z+Ce(je._,Ee._),je.m=je.z-Ve):je.z=Ve}else Ee&&(je.z=Ee.z+Ce(je._,Ee._));je.parent.A=function($e,Ye,st){if(Ye){for(var ot,ht=$e,bt=$e,Et=Ye,kt=ht.parent.children[0],xt=ht.m,Ft=bt.m,Ot=Et.m,Bt=kt.m;Et=ie(Et),ht=re(ht),Et&&ht;)kt=re(kt),(bt=ie(bt)).a=$e,(ot=Et.z+Ot-ht.z-xt+Ce(Et._,ht._))>0&&(oe(ue(Et,$e,st),$e,ot),xt+=ot,Ft+=ot),Ot+=Et.m,xt+=ht.m,Bt+=kt.m,Ft+=bt.m;Et&&!ie(bt)&&(bt.t=Et,bt.m+=Ot-Ft),ht&&!re(kt)&&(kt.t=ht,kt.m+=xt-Bt,st=$e)}return st}(je,Ee,je.parent.A||we[0])}function Be(je){je._.x=je.z+je.parent.m,je.m+=je.parent.m}function ze(je){je.x*=ae,je.y=je.depth*fe}return ke.separation=function(je){return arguments.length?(Ce=je,ke):Ce},ke.size=function(je){return arguments.length?(be=!1,ae=+je[0],fe=+je[1],ke):be?null:[ae,fe]},ke.nodeSize=function(je){return arguments.length?(be=!0,ae=+je[0],fe=+je[1],ke):be?[ae,fe]:null},ke}function de(Ce,ae,fe,be,ke){for(var Le,Be=Ce.children,ze=-1,je=Be.length,ge=Ce.value&&(ke-fe)/Ce.value;++zeVe&&(Ve=ze),ot=we*we*st,($e=Math.max(Ve/ot,ot/Ee))>Ye){we-=ze;break}Ye=$e}ht.push(Be={value:we,dice:je1?be:1)},fe}(me);function Pe(){var Ce=xe,ae=!1,fe=1,be=1,ke=[0],Le=z,Be=z,ze=z,je=z,ge=z;function we(Ve){return Ve.x0=Ve.y0=0,Ve.x1=fe,Ve.y1=be,Ve.eachBefore(Ee),ke=[0],ae&&Ve.eachBefore(U),Ve}function Ee(Ve){var $e=ke[Ve.depth],Ye=Ve.x0+$e,st=Ve.y0+$e,ot=Ve.x1-$e,ht=Ve.y1-$e;ot=Ve-1){var bt=ze[Ee];return bt.x0=Ye,bt.y0=st,bt.x1=ot,void(bt.y1=ht)}for(var Et=ge[Ee],kt=$e/2+Et,xt=Ee+1,Ft=Ve-1;xt>>1;ge[Ot]ht-st){var Vt=(Ye*qt+ot*Bt)/$e;we(Ee,xt,Bt,Ye,st,Vt,ht),we(xt,Ve,qt,Vt,st,ot,ht)}else{var Ke=(st*qt+ht*Bt)/$e;we(Ee,xt,Bt,Ye,st,ot,Ke),we(xt,Ve,qt,Ye,Ke,ot,ht)}})(0,je,Ce.value,ae,fe,be,ke)}function Me(Ce,ae,fe,be,ke){(1&Ce.depth?de:G)(Ce,ae,fe,be,ke)}var Se=function Ce(ae){function fe(be,ke,Le,Be,ze){if((je=be._squarify)&&je.ratio===ae)for(var je,ge,we,Ee,Ve,$e=-1,Ye=je.length,st=be.value;++$e1?be:1)},fe}(me)},45879:function(T,p,t){t.d(p,{h5:function(){return w}});var d=Math.PI,g=2*d,i=1e-6,M=g-i;function v(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function f(){return new v}v.prototype=f.prototype={constructor:v,moveTo:function(y,S){this._+="M"+(this._x0=this._x1=+y)+","+(this._y0=this._y1=+S)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(y,S){this._+="L"+(this._x1=+y)+","+(this._y1=+S)},quadraticCurveTo:function(y,S,_,k){this._+="Q"+ +y+","+ +S+","+(this._x1=+_)+","+(this._y1=+k)},bezierCurveTo:function(y,S,_,k,E,x){this._+="C"+ +y+","+ +S+","+ +_+","+ +k+","+(this._x1=+E)+","+(this._y1=+x)},arcTo:function(y,S,_,k,E){y=+y,S=+S,_=+_,k=+k,E=+E;var x=this._x1,A=this._y1,L=_-y,b=k-S,R=x-y,I=A-S,O=R*R+I*I;if(E<0)throw new Error("negative radius: "+E);if(this._x1===null)this._+="M"+(this._x1=y)+","+(this._y1=S);else if(O>i)if(Math.abs(I*L-b*R)>i&&E){var z=_-x,F=k-A,B=L*L+b*b,N=z*z+F*F,W=Math.sqrt(B),j=Math.sqrt(O),$=E*Math.tan((d-Math.acos((B+O-N)/(2*W*j)))/2),U=$/j,G=$/W;Math.abs(U-1)>i&&(this._+="L"+(y+U*R)+","+(S+U*I)),this._+="A"+E+","+E+",0,0,"+ +(I*z>R*F)+","+(this._x1=y+G*L)+","+(this._y1=S+G*b)}else this._+="L"+(this._x1=y)+","+(this._y1=S)},arc:function(y,S,_,k,E,x){y=+y,S=+S,x=!!x;var A=(_=+_)*Math.cos(k),L=_*Math.sin(k),b=y+A,R=S+L,I=1^x,O=x?k-E:E-k;if(_<0)throw new Error("negative radius: "+_);this._x1===null?this._+="M"+b+","+R:(Math.abs(this._x1-b)>i||Math.abs(this._y1-R)>i)&&(this._+="L"+b+","+R),_&&(O<0&&(O=O%g+g),O>M?this._+="A"+_+","+_+",0,1,"+I+","+(y-A)+","+(S-L)+"A"+_+","+_+",0,1,"+I+","+(this._x1=b)+","+(this._y1=R):O>i&&(this._+="A"+_+","+_+",0,"+ +(O>=d)+","+I+","+(this._x1=y+_*Math.cos(E))+","+(this._y1=S+_*Math.sin(E))))},rect:function(y,S,_,k){this._+="M"+(this._x0=this._x1=+y)+","+(this._y0=this._y1=+S)+"h"+ +_+"v"+ +k+"h"+-_+"Z"},toString:function(){return this._}};var l=f,a=Array.prototype.slice;function u(y){return function(){return y}}function o(y){return y[0]}function s(y){return y[1]}function c(y){return y.source}function h(y){return y.target}function m(y,S,_,k,E){y.moveTo(S,_),y.bezierCurveTo(S=(S+k)/2,_,S,E,k,E)}function w(){return function(y){var S=c,_=h,k=o,E=s,x=null;function A(){var L,b=a.call(arguments),R=S.apply(this,b),I=_.apply(this,b);if(x||(x=L=l()),y(x,+k.apply(this,(b[0]=R,b)),+E.apply(this,b),+k.apply(this,(b[0]=I,b)),+E.apply(this,b)),L)return x=null,L+""||null}return A.source=function(L){return arguments.length?(S=L,A):S},A.target=function(L){return arguments.length?(_=L,A):_},A.x=function(L){return arguments.length?(k=typeof L=="function"?L:u(+L),A):k},A.y=function(L){return arguments.length?(E=typeof L=="function"?L:u(+L),A):E},A.context=function(L){return arguments.length?(x=L??null,A):x},A}(m)}},84096:function(T,p,t){t.d(p,{i$:function(){return c},Dq:function(){return o},g0:function(){return h}});var d=t(58176),g=t(48480),i=t(59879),M=t(82301),v=t(34823),f=t(79791);function l(xt){if(0<=xt.y&&xt.y<100){var Ft=new Date(-1,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L);return Ft.setFullYear(xt.y),Ft}return new Date(xt.y,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L)}function a(xt){if(0<=xt.y&&xt.y<100){var Ft=new Date(Date.UTC(-1,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L));return Ft.setUTCFullYear(xt.y),Ft}return new Date(Date.UTC(xt.y,xt.m,xt.d,xt.H,xt.M,xt.S,xt.L))}function u(xt,Ft,Ot){return{y:xt,m:Ft,d:Ot,H:0,M:0,S:0,L:0}}function o(xt){var Ft=xt.dateTime,Ot=xt.date,Bt=xt.time,qt=xt.periods,Vt=xt.days,Ke=xt.shortDays,Je=xt.months,qe=xt.shortMonths,nt=E(qt),ft=x(qt),Re=E(Vt),Ne=x(Vt),Qe=E(Ke),ut=x(Ke),dt=E(Je),_t=x(Je),It=E(qe),Lt=x(qe),yt={a:function(Wt){return Ke[Wt.getDay()]},A:function(Wt){return Vt[Wt.getDay()]},b:function(Wt){return qe[Wt.getMonth()]},B:function(Wt){return Je[Wt.getMonth()]},c:null,d:X,e:X,f:ue,H:Q,I:re,j:ie,L:oe,m:ce,M:ye,p:function(Wt){return qt[+(Wt.getHours()>=12)]},q:function(Wt){return 1+~~(Wt.getMonth()/3)},Q:Et,s:kt,S:de,u:me,U:pe,V:xe,w:Pe,W:_e,x:null,X:null,y:Me,Y:Se,Z:Ce,"%":bt},Pt={a:function(Wt){return Ke[Wt.getUTCDay()]},A:function(Wt){return Vt[Wt.getUTCDay()]},b:function(Wt){return qe[Wt.getUTCMonth()]},B:function(Wt){return Je[Wt.getUTCMonth()]},c:null,d:ae,e:ae,f:Be,H:fe,I:be,j:ke,L:Le,m:ze,M:je,p:function(Wt){return qt[+(Wt.getUTCHours()>=12)]},q:function(Wt){return 1+~~(Wt.getUTCMonth()/3)},Q:Et,s:kt,S:ge,u:we,U:Ee,V:Ve,w:$e,W:Ye,x:null,X:null,y:st,Y:ot,Z:ht,"%":bt},wt={a:function(Wt,Xt,Qt){var rn=Qe.exec(Xt.slice(Qt));return rn?(Wt.w=ut[rn[0].toLowerCase()],Qt+rn[0].length):-1},A:function(Wt,Xt,Qt){var rn=Re.exec(Xt.slice(Qt));return rn?(Wt.w=Ne[rn[0].toLowerCase()],Qt+rn[0].length):-1},b:function(Wt,Xt,Qt){var rn=It.exec(Xt.slice(Qt));return rn?(Wt.m=Lt[rn[0].toLowerCase()],Qt+rn[0].length):-1},B:function(Wt,Xt,Qt){var rn=dt.exec(Xt.slice(Qt));return rn?(Wt.m=_t[rn[0].toLowerCase()],Qt+rn[0].length):-1},c:function(Wt,Xt,Qt){return Yt(Wt,Ft,Xt,Qt)},d:W,e:W,f:H,H:$,I:$,j,L:q,m:N,M:U,p:function(Wt,Xt,Qt){var rn=nt.exec(Xt.slice(Qt));return rn?(Wt.p=ft[rn[0].toLowerCase()],Qt+rn[0].length):-1},q:B,Q:te,s:Z,S:G,u:L,U:b,V:R,w:A,W:I,x:function(Wt,Xt,Qt){return Yt(Wt,Ot,Xt,Qt)},X:function(Wt,Xt,Qt){return Yt(Wt,Bt,Xt,Qt)},y:z,Y:O,Z:F,"%":ne};function Rt(Wt,Xt){return function(Qt){var rn,xn,un,An=[],Yn=-1,kn=0,sn=Wt.length;for(Qt instanceof Date||(Qt=new Date(+Qt));++Yn53)return null;"w"in un||(un.w=1),"Z"in un?(xn=(rn=a(u(un.y,0,1))).getUTCDay(),rn=xn>4||xn===0?d.l6.ceil(rn):(0,d.l6)(rn),rn=g.Z.offset(rn,7*(un.V-1)),un.y=rn.getUTCFullYear(),un.m=rn.getUTCMonth(),un.d=rn.getUTCDate()+(un.w+6)%7):(xn=(rn=l(u(un.y,0,1))).getDay(),rn=xn>4||xn===0?i.wA.ceil(rn):(0,i.wA)(rn),rn=M.Z.offset(rn,7*(un.V-1)),un.y=rn.getFullYear(),un.m=rn.getMonth(),un.d=rn.getDate()+(un.w+6)%7)}else("W"in un||"U"in un)&&("w"in un||(un.w="u"in un?un.u%7:"W"in un?1:0),xn="Z"in un?a(u(un.y,0,1)).getUTCDay():l(u(un.y,0,1)).getDay(),un.m=0,un.d="W"in un?(un.w+6)%7+7*un.W-(xn+5)%7:un.w+7*un.U-(xn+6)%7);return"Z"in un?(un.H+=un.Z/100|0,un.M+=un.Z%100,a(un)):l(un)}}function Yt(Wt,Xt,Qt,rn){for(var xn,un,An=0,Yn=Xt.length,kn=Qt.length;An=kn)return-1;if((xn=Xt.charCodeAt(An++))===37){if(xn=Xt.charAt(An++),!(un=wt[xn in m?Xt.charAt(An++):xn])||(rn=un(Wt,Qt,rn))<0)return-1}else if(xn!=Qt.charCodeAt(rn++))return-1}return rn}return yt.x=Rt(Ot,yt),yt.X=Rt(Bt,yt),yt.c=Rt(Ft,yt),Pt.x=Rt(Ot,Pt),Pt.X=Rt(Bt,Pt),Pt.c=Rt(Ft,Pt),{format:function(Wt){var Xt=Rt(Wt+="",yt);return Xt.toString=function(){return Wt},Xt},parse:function(Wt){var Xt=Nt(Wt+="",!1);return Xt.toString=function(){return Wt},Xt},utcFormat:function(Wt){var Xt=Rt(Wt+="",Pt);return Xt.toString=function(){return Wt},Xt},utcParse:function(Wt){var Xt=Nt(Wt+="",!0);return Xt.toString=function(){return Wt},Xt}}}var s,c,h,m={"-":"",_:" ",0:"0"},w=/^\s*\d+/,y=/^%/,S=/[\\^$*+?|[\]().{}]/g;function _(xt,Ft,Ot){var Bt=xt<0?"-":"",qt=(Bt?-xt:xt)+"",Vt=qt.length;return Bt+(Vt68?1900:2e3),Ot+Bt[0].length):-1}function F(xt,Ft,Ot){var Bt=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(Ft.slice(Ot,Ot+6));return Bt?(xt.Z=Bt[1]?0:-(Bt[2]+(Bt[3]||"00")),Ot+Bt[0].length):-1}function B(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+1));return Bt?(xt.q=3*Bt[0]-3,Ot+Bt[0].length):-1}function N(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+2));return Bt?(xt.m=Bt[0]-1,Ot+Bt[0].length):-1}function W(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+2));return Bt?(xt.d=+Bt[0],Ot+Bt[0].length):-1}function j(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+3));return Bt?(xt.m=0,xt.d=+Bt[0],Ot+Bt[0].length):-1}function $(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+2));return Bt?(xt.H=+Bt[0],Ot+Bt[0].length):-1}function U(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+2));return Bt?(xt.M=+Bt[0],Ot+Bt[0].length):-1}function G(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+2));return Bt?(xt.S=+Bt[0],Ot+Bt[0].length):-1}function q(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+3));return Bt?(xt.L=+Bt[0],Ot+Bt[0].length):-1}function H(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot,Ot+6));return Bt?(xt.L=Math.floor(Bt[0]/1e3),Ot+Bt[0].length):-1}function ne(xt,Ft,Ot){var Bt=y.exec(Ft.slice(Ot,Ot+1));return Bt?Ot+Bt[0].length:-1}function te(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot));return Bt?(xt.Q=+Bt[0],Ot+Bt[0].length):-1}function Z(xt,Ft,Ot){var Bt=w.exec(Ft.slice(Ot));return Bt?(xt.s=+Bt[0],Ot+Bt[0].length):-1}function X(xt,Ft){return _(xt.getDate(),Ft,2)}function Q(xt,Ft){return _(xt.getHours(),Ft,2)}function re(xt,Ft){return _(xt.getHours()%12||12,Ft,2)}function ie(xt,Ft){return _(1+M.Z.count((0,v.Z)(xt),xt),Ft,3)}function oe(xt,Ft){return _(xt.getMilliseconds(),Ft,3)}function ue(xt,Ft){return oe(xt,Ft)+"000"}function ce(xt,Ft){return _(xt.getMonth()+1,Ft,2)}function ye(xt,Ft){return _(xt.getMinutes(),Ft,2)}function de(xt,Ft){return _(xt.getSeconds(),Ft,2)}function me(xt){var Ft=xt.getDay();return Ft===0?7:Ft}function pe(xt,Ft){return _(i.OM.count((0,v.Z)(xt)-1,xt),Ft,2)}function xe(xt,Ft){var Ot=xt.getDay();return xt=Ot>=4||Ot===0?(0,i.bL)(xt):i.bL.ceil(xt),_(i.bL.count((0,v.Z)(xt),xt)+((0,v.Z)(xt).getDay()===4),Ft,2)}function Pe(xt){return xt.getDay()}function _e(xt,Ft){return _(i.wA.count((0,v.Z)(xt)-1,xt),Ft,2)}function Me(xt,Ft){return _(xt.getFullYear()%100,Ft,2)}function Se(xt,Ft){return _(xt.getFullYear()%1e4,Ft,4)}function Ce(xt){var Ft=xt.getTimezoneOffset();return(Ft>0?"-":(Ft*=-1,"+"))+_(Ft/60|0,"0",2)+_(Ft%60,"0",2)}function ae(xt,Ft){return _(xt.getUTCDate(),Ft,2)}function fe(xt,Ft){return _(xt.getUTCHours(),Ft,2)}function be(xt,Ft){return _(xt.getUTCHours()%12||12,Ft,2)}function ke(xt,Ft){return _(1+g.Z.count((0,f.Z)(xt),xt),Ft,3)}function Le(xt,Ft){return _(xt.getUTCMilliseconds(),Ft,3)}function Be(xt,Ft){return Le(xt,Ft)+"000"}function ze(xt,Ft){return _(xt.getUTCMonth()+1,Ft,2)}function je(xt,Ft){return _(xt.getUTCMinutes(),Ft,2)}function ge(xt,Ft){return _(xt.getUTCSeconds(),Ft,2)}function we(xt){var Ft=xt.getUTCDay();return Ft===0?7:Ft}function Ee(xt,Ft){return _(d.Ox.count((0,f.Z)(xt)-1,xt),Ft,2)}function Ve(xt,Ft){var Ot=xt.getUTCDay();return xt=Ot>=4||Ot===0?(0,d.hB)(xt):d.hB.ceil(xt),_(d.hB.count((0,f.Z)(xt),xt)+((0,f.Z)(xt).getUTCDay()===4),Ft,2)}function $e(xt){return xt.getUTCDay()}function Ye(xt,Ft){return _(d.l6.count((0,f.Z)(xt)-1,xt),Ft,2)}function st(xt,Ft){return _(xt.getUTCFullYear()%100,Ft,2)}function ot(xt,Ft){return _(xt.getUTCFullYear()%1e4,Ft,4)}function ht(){return"+0000"}function bt(){return"%"}function Et(xt){return+xt}function kt(xt){return Math.floor(+xt/1e3)}s=o({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),c=s.format,s.parse,h=s.utcFormat,s.utcParse},82301:function(T,p,t){t.d(p,{a:function(){return M}});var d=t(30052),g=t(54263),i=(0,d.Z)(function(v){v.setHours(0,0,0,0)},function(v,f){v.setDate(v.getDate()+f)},function(v,f){return(f-v-(f.getTimezoneOffset()-v.getTimezoneOffset())*g.yB)/g.UD},function(v){return v.getDate()-1});p.Z=i;var M=i.range},54263:function(T,p,t){t.d(p,{UD:function(){return M},Y2:function(){return i},Ym:function(){return d},iM:function(){return v},yB:function(){return g}});var d=1e3,g=6e4,i=36e5,M=864e5,v=6048e5},81041:function(T,p,t){t.r(p),t.d(p,{timeDay:function(){return w.Z},timeDays:function(){return w.a},timeFriday:function(){return y.mC},timeFridays:function(){return y.b$},timeHour:function(){return h},timeHours:function(){return m},timeInterval:function(){return d.Z},timeMillisecond:function(){return i},timeMilliseconds:function(){return M},timeMinute:function(){return o},timeMinutes:function(){return s},timeMonday:function(){return y.wA},timeMondays:function(){return y.bJ},timeMonth:function(){return _},timeMonths:function(){return k},timeSaturday:function(){return y.EY},timeSaturdays:function(){return y.Ff},timeSecond:function(){return l},timeSeconds:function(){return a},timeSunday:function(){return y.OM},timeSundays:function(){return y.vm},timeThursday:function(){return y.bL},timeThursdays:function(){return y.$t},timeTuesday:function(){return y.sy},timeTuesdays:function(){return y.aU},timeWednesday:function(){return y.zg},timeWednesdays:function(){return y.Ld},timeWeek:function(){return y.OM},timeWeeks:function(){return y.vm},timeYear:function(){return E.Z},timeYears:function(){return E.g},utcDay:function(){return O.Z},utcDays:function(){return O.y},utcFriday:function(){return z.QQ},utcFridays:function(){return z.fz},utcHour:function(){return R},utcHours:function(){return I},utcMillisecond:function(){return i},utcMilliseconds:function(){return M},utcMinute:function(){return A},utcMinutes:function(){return L},utcMonday:function(){return z.l6},utcMondays:function(){return z.$3},utcMonth:function(){return B},utcMonths:function(){return N},utcSaturday:function(){return z.g4},utcSaturdays:function(){return z.Q_},utcSecond:function(){return l},utcSeconds:function(){return a},utcSunday:function(){return z.Ox},utcSundays:function(){return z.SU},utcThursday:function(){return z.hB},utcThursdays:function(){return z.xj},utcTuesday:function(){return z.J1},utcTuesdays:function(){return z.DK},utcWednesday:function(){return z.b3},utcWednesdays:function(){return z.uy},utcWeek:function(){return z.Ox},utcWeeks:function(){return z.SU},utcYear:function(){return W.Z},utcYears:function(){return W.D}});var d=t(30052),g=(0,d.Z)(function(){},function(j,$){j.setTime(+j+$)},function(j,$){return $-j});g.every=function(j){return j=Math.floor(j),isFinite(j)&&j>0?j>1?(0,d.Z)(function($){$.setTime(Math.floor($/j)*j)},function($,U){$.setTime(+$+U*j)},function($,U){return(U-$)/j}):g:null};var i=g,M=g.range,v=t(54263),f=(0,d.Z)(function(j){j.setTime(j-j.getMilliseconds())},function(j,$){j.setTime(+j+$*v.Ym)},function(j,$){return($-j)/v.Ym},function(j){return j.getUTCSeconds()}),l=f,a=f.range,u=(0,d.Z)(function(j){j.setTime(j-j.getMilliseconds()-j.getSeconds()*v.Ym)},function(j,$){j.setTime(+j+$*v.yB)},function(j,$){return($-j)/v.yB},function(j){return j.getMinutes()}),o=u,s=u.range,c=(0,d.Z)(function(j){j.setTime(j-j.getMilliseconds()-j.getSeconds()*v.Ym-j.getMinutes()*v.yB)},function(j,$){j.setTime(+j+$*v.Y2)},function(j,$){return($-j)/v.Y2},function(j){return j.getHours()}),h=c,m=c.range,w=t(82301),y=t(59879),S=(0,d.Z)(function(j){j.setDate(1),j.setHours(0,0,0,0)},function(j,$){j.setMonth(j.getMonth()+$)},function(j,$){return $.getMonth()-j.getMonth()+12*($.getFullYear()-j.getFullYear())},function(j){return j.getMonth()}),_=S,k=S.range,E=t(34823),x=(0,d.Z)(function(j){j.setUTCSeconds(0,0)},function(j,$){j.setTime(+j+$*v.yB)},function(j,$){return($-j)/v.yB},function(j){return j.getUTCMinutes()}),A=x,L=x.range,b=(0,d.Z)(function(j){j.setUTCMinutes(0,0,0)},function(j,$){j.setTime(+j+$*v.Y2)},function(j,$){return($-j)/v.Y2},function(j){return j.getUTCHours()}),R=b,I=b.range,O=t(48480),z=t(58176),F=(0,d.Z)(function(j){j.setUTCDate(1),j.setUTCHours(0,0,0,0)},function(j,$){j.setUTCMonth(j.getUTCMonth()+$)},function(j,$){return $.getUTCMonth()-j.getUTCMonth()+12*($.getUTCFullYear()-j.getUTCFullYear())},function(j){return j.getUTCMonth()}),B=F,N=F.range,W=t(79791)},30052:function(T,p,t){t.d(p,{Z:function(){return i}});var d=new Date,g=new Date;function i(M,v,f,l){function a(u){return M(u=arguments.length===0?new Date:new Date(+u)),u}return a.floor=function(u){return M(u=new Date(+u)),u},a.ceil=function(u){return M(u=new Date(u-1)),v(u,1),M(u),u},a.round=function(u){var o=a(u),s=a.ceil(u);return u-o0))return h;do h.push(c=new Date(+u)),v(u,s),M(u);while(c=o)for(;M(o),!u(o);)o.setTime(o-1)},function(o,s){if(o>=o)if(s<0)for(;++s<=0;)for(;v(o,-1),!u(o););else for(;--s>=0;)for(;v(o,1),!u(o););})},f&&(a.count=function(u,o){return d.setTime(+u),g.setTime(+o),M(d),M(g),Math.floor(f(d,g))},a.every=function(u){return u=Math.floor(u),isFinite(u)&&u>0?u>1?a.filter(l?function(o){return l(o)%u==0}:function(o){return a.count(0,o)%u==0}):a:null}),a}},48480:function(T,p,t){t.d(p,{y:function(){return M}});var d=t(30052),g=t(54263),i=(0,d.Z)(function(v){v.setUTCHours(0,0,0,0)},function(v,f){v.setUTCDate(v.getUTCDate()+f)},function(v,f){return(f-v)/g.UD},function(v){return v.getUTCDate()-1});p.Z=i;var M=i.range},58176:function(T,p,t){t.d(p,{$3:function(){return c},DK:function(){return h},J1:function(){return f},Ox:function(){return M},QQ:function(){return u},Q_:function(){return S},SU:function(){return s},b3:function(){return l},fz:function(){return y},g4:function(){return o},hB:function(){return a},l6:function(){return v},uy:function(){return m},xj:function(){return w}});var d=t(30052),g=t(54263);function i(_){return(0,d.Z)(function(k){k.setUTCDate(k.getUTCDate()-(k.getUTCDay()+7-_)%7),k.setUTCHours(0,0,0,0)},function(k,E){k.setUTCDate(k.getUTCDate()+7*E)},function(k,E){return(E-k)/g.iM})}var M=i(0),v=i(1),f=i(2),l=i(3),a=i(4),u=i(5),o=i(6),s=M.range,c=v.range,h=f.range,m=l.range,w=a.range,y=u.range,S=o.range},79791:function(T,p,t){t.d(p,{D:function(){return i}});var d=t(30052),g=(0,d.Z)(function(M){M.setUTCMonth(0,1),M.setUTCHours(0,0,0,0)},function(M,v){M.setUTCFullYear(M.getUTCFullYear()+v)},function(M,v){return v.getUTCFullYear()-M.getUTCFullYear()},function(M){return M.getUTCFullYear()});g.every=function(M){return isFinite(M=Math.floor(M))&&M>0?(0,d.Z)(function(v){v.setUTCFullYear(Math.floor(v.getUTCFullYear()/M)*M),v.setUTCMonth(0,1),v.setUTCHours(0,0,0,0)},function(v,f){v.setUTCFullYear(v.getUTCFullYear()+f*M)}):null},p.Z=g;var i=g.range},59879:function(T,p,t){t.d(p,{$t:function(){return w},EY:function(){return o},Ff:function(){return S},Ld:function(){return m},OM:function(){return M},aU:function(){return h},b$:function(){return y},bJ:function(){return c},bL:function(){return a},mC:function(){return u},sy:function(){return f},vm:function(){return s},wA:function(){return v},zg:function(){return l}});var d=t(30052),g=t(54263);function i(_){return(0,d.Z)(function(k){k.setDate(k.getDate()-(k.getDay()+7-_)%7),k.setHours(0,0,0,0)},function(k,E){k.setDate(k.getDate()+7*E)},function(k,E){return(E-k-(E.getTimezoneOffset()-k.getTimezoneOffset())*g.yB)/g.iM})}var M=i(0),v=i(1),f=i(2),l=i(3),a=i(4),u=i(5),o=i(6),s=M.range,c=v.range,h=f.range,m=l.range,w=a.range,y=u.range,S=o.range},34823:function(T,p,t){t.d(p,{g:function(){return i}});var d=t(30052),g=(0,d.Z)(function(M){M.setMonth(0,1),M.setHours(0,0,0,0)},function(M,v){M.setFullYear(M.getFullYear()+v)},function(M,v){return v.getFullYear()-M.getFullYear()},function(M){return M.getFullYear()});g.every=function(M){return isFinite(M=Math.floor(M))&&M>0?(0,d.Z)(function(v){v.setFullYear(Math.floor(v.getFullYear()/M)*M),v.setMonth(0,1),v.setHours(0,0,0,0)},function(v,f){v.setFullYear(v.getFullYear()+f*M)}):null},p.Z=g;var i=g.range},17045:function(T,p,t){var d=t(8709),g=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",i=Object.prototype.toString,M=Array.prototype.concat,v=Object.defineProperty,f=t(55622)(),l=v&&f,a=function(o,s,c,h){if(s in o){if(h===!0){if(o[s]===c)return}else if(typeof(m=h)!="function"||i.call(m)!=="[object Function]"||!h())return}var m;l?v(o,s,{configurable:!0,enumerable:!1,value:c,writable:!0}):o[s]=c},u=function(o,s){var c=arguments.length>2?arguments[2]:{},h=d(s);g&&(h=M.call(h,Object.getOwnPropertySymbols(s)));for(var m=0;ml*a){var h=(c-s)/l;f[o]=1e3*h}}return f}function g(i){for(var M=[],v=i[0];v<=i[1];v++)for(var f=String.fromCharCode(v),l=i[0];l0)return function(g,i){var M,v;for(M=new Array(g),v=0;v80*O){z=B=R[0],F=N=R[1];for(var ne=O;neB&&(B=W),j>N&&(N=j);$=($=Math.max(B-z,N-F))!==0?1/$:0}return g(q,H,O,z,F,$),H}function t(R,I,O,z,F){var B,N;if(F===b(R,I,O,z)>0)for(B=I;B=I;B-=z)N=x(B,R[B],R[B+1],N);return N&&w(N,N.next)&&(A(N),N=N.next),N}function d(R,I){if(!R)return R;I||(I=R);var O,z=R;do if(O=!1,z.steiner||!w(z,z.next)&&m(z.prev,z,z.next)!==0)z=z.next;else{if(A(z),(z=I=z.prev)===z.next)break;O=!0}while(O||z!==I);return I}function g(R,I,O,z,F,B,N){if(R){!N&&B&&function(U,G,q,H){var ne=U;do ne.z===null&&(ne.z=o(ne.x,ne.y,G,q,H)),ne.prevZ=ne.prev,ne.nextZ=ne.next,ne=ne.next;while(ne!==U);ne.prevZ.nextZ=null,ne.prevZ=null,function(te){var Z,X,Q,re,ie,oe,ue,ce,ye=1;do{for(X=te,te=null,ie=null,oe=0;X;){for(oe++,Q=X,ue=0,Z=0;Z0||ce>0&&Q;)ue!==0&&(ce===0||!Q||X.z<=Q.z)?(re=X,X=X.nextZ,ue--):(re=Q,Q=Q.nextZ,ce--),ie?ie.nextZ=re:te=re,re.prevZ=ie,ie=re;X=Q}ie.nextZ=null,ye*=2}while(oe>1)}(ne)}(R,z,F,B);for(var W,j,$=R;R.prev!==R.next;)if(W=R.prev,j=R.next,B?M(R,z,F,B):i(R))I.push(W.i/O),I.push(R.i/O),I.push(j.i/O),A(R),R=j.next,$=j.next;else if((R=j)===$){N?N===1?g(R=v(d(R),I,O),I,O,z,F,B,2):N===2&&f(R,I,O,z,F,B):g(d(R),I,O,z,F,B,1);break}}}function i(R){var I=R.prev,O=R,z=R.next;if(m(I,O,z)>=0)return!1;for(var F=R.next.next;F!==R.prev;){if(c(I.x,I.y,O.x,O.y,z.x,z.y,F.x,F.y)&&m(F.prev,F,F.next)>=0)return!1;F=F.next}return!0}function M(R,I,O,z){var F=R.prev,B=R,N=R.next;if(m(F,B,N)>=0)return!1;for(var W=F.xB.x?F.x>N.x?F.x:N.x:B.x>N.x?B.x:N.x,U=F.y>B.y?F.y>N.y?F.y:N.y:B.y>N.y?B.y:N.y,G=o(W,j,I,O,z),q=o($,U,I,O,z),H=R.prevZ,ne=R.nextZ;H&&H.z>=G&&ne&&ne.z<=q;){if(H!==R.prev&&H!==R.next&&c(F.x,F.y,B.x,B.y,N.x,N.y,H.x,H.y)&&m(H.prev,H,H.next)>=0||(H=H.prevZ,ne!==R.prev&&ne!==R.next&&c(F.x,F.y,B.x,B.y,N.x,N.y,ne.x,ne.y)&&m(ne.prev,ne,ne.next)>=0))return!1;ne=ne.nextZ}for(;H&&H.z>=G;){if(H!==R.prev&&H!==R.next&&c(F.x,F.y,B.x,B.y,N.x,N.y,H.x,H.y)&&m(H.prev,H,H.next)>=0)return!1;H=H.prevZ}for(;ne&&ne.z<=q;){if(ne!==R.prev&&ne!==R.next&&c(F.x,F.y,B.x,B.y,N.x,N.y,ne.x,ne.y)&&m(ne.prev,ne,ne.next)>=0)return!1;ne=ne.nextZ}return!0}function v(R,I,O){var z=R;do{var F=z.prev,B=z.next.next;!w(F,B)&&y(F,z,z.next,B)&&k(F,B)&&k(B,F)&&(I.push(F.i/O),I.push(z.i/O),I.push(B.i/O),A(z),A(z.next),z=R=B),z=z.next}while(z!==R);return d(z)}function f(R,I,O,z,F,B){var N=R;do{for(var W=N.next.next;W!==N.prev;){if(N.i!==W.i&&h(N,W)){var j=E(N,W);return N=d(N,N.next),j=d(j,j.next),g(N,I,O,z,F,B),void g(j,I,O,z,F,B)}W=W.next}N=N.next}while(N!==R)}function l(R,I){return R.x-I.x}function a(R,I){if(I=function(z,F){var B,N=F,W=z.x,j=z.y,$=-1/0;do{if(j<=N.y&&j>=N.next.y&&N.next.y!==N.y){var U=N.x+(j-N.y)*(N.next.x-N.x)/(N.next.y-N.y);if(U<=W&&U>$){if($=U,U===W){if(j===N.y)return N;if(j===N.next.y)return N.next}B=N.x=N.x&&N.x>=H&&W!==N.x&&c(jB.x||N.x===B.x&&u(B,N)))&&(B=N,te=G)),N=N.next;while(N!==q);return B}(R,I),I){var O=E(I,R);d(I,I.next),d(O,O.next)}}function u(R,I){return m(R.prev,R,I.prev)<0&&m(I.next,R,R.next)<0}function o(R,I,O,z,F){return(R=1431655765&((R=858993459&((R=252645135&((R=16711935&((R=32767*(R-O)*F)|R<<8))|R<<4))|R<<2))|R<<1))|(I=1431655765&((I=858993459&((I=252645135&((I=16711935&((I=32767*(I-z)*F)|I<<8))|I<<4))|I<<2))|I<<1))<<1}function s(R){var I=R,O=R;do(I.x=0&&(R-N)*(z-W)-(O-N)*(I-W)>=0&&(O-N)*(B-W)-(F-N)*(z-W)>=0}function h(R,I){return R.next.i!==I.i&&R.prev.i!==I.i&&!function(O,z){var F=O;do{if(F.i!==O.i&&F.next.i!==O.i&&F.i!==z.i&&F.next.i!==z.i&&y(F,F.next,O,z))return!0;F=F.next}while(F!==O);return!1}(R,I)&&(k(R,I)&&k(I,R)&&function(O,z){var F=O,B=!1,N=(O.x+z.x)/2,W=(O.y+z.y)/2;do F.y>W!=F.next.y>W&&F.next.y!==F.y&&N<(F.next.x-F.x)*(W-F.y)/(F.next.y-F.y)+F.x&&(B=!B),F=F.next;while(F!==O);return B}(R,I)&&(m(R.prev,R,I.prev)||m(R,I.prev,I))||w(R,I)&&m(R.prev,R,R.next)>0&&m(I.prev,I,I.next)>0)}function m(R,I,O){return(I.y-R.y)*(O.x-I.x)-(I.x-R.x)*(O.y-I.y)}function w(R,I){return R.x===I.x&&R.y===I.y}function y(R,I,O,z){var F=_(m(R,I,O)),B=_(m(R,I,z)),N=_(m(O,z,R)),W=_(m(O,z,I));return F!==B&&N!==W||!(F!==0||!S(R,O,I))||!(B!==0||!S(R,z,I))||!(N!==0||!S(O,R,z))||!(W!==0||!S(O,I,z))}function S(R,I,O){return I.x<=Math.max(R.x,O.x)&&I.x>=Math.min(R.x,O.x)&&I.y<=Math.max(R.y,O.y)&&I.y>=Math.min(R.y,O.y)}function _(R){return R>0?1:R<0?-1:0}function k(R,I){return m(R.prev,R,R.next)<0?m(R,I,R.next)>=0&&m(R,R.prev,I)>=0:m(R,I,R.prev)<0||m(R,R.next,I)<0}function E(R,I){var O=new L(R.i,R.x,R.y),z=new L(I.i,I.x,I.y),F=R.next,B=I.prev;return R.next=I,I.prev=R,O.next=F,F.prev=O,z.next=O,O.prev=z,B.next=z,z.prev=B,z}function x(R,I,O,z){var F=new L(R,I,O);return z?(F.next=z.next,F.prev=z,z.next.prev=F,z.next=F):(F.prev=F,F.next=F),F}function A(R){R.next.prev=R.prev,R.prev.next=R.next,R.prevZ&&(R.prevZ.nextZ=R.nextZ),R.nextZ&&(R.nextZ.prevZ=R.prevZ)}function L(R,I,O){this.i=R,this.x=I,this.y=O,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function b(R,I,O,z){for(var F=0,B=I,N=O-z;B0&&(z+=R[F-1].length,O.holes.push(z))}return O}},2502:function(T,p,t){var d=t(68664);T.exports=function(g,i){var M,v=[],f=[],l=[],a={},u=[];function o(k){l[k]=!1,a.hasOwnProperty(k)&&Object.keys(a[k]).forEach(function(E){delete a[k][E],l[E]&&o(E)})}function s(k){var E,x,A=!1;for(f.push(k),l[k]=!0,E=0;E=O})})(k);for(var E,x=d(g).components.filter(function(O){return O.length>1}),A=1/0,L=0;L=55296&&k<=56319&&(L+=h[++w]),L=b?o.call(b,R,L,y):L,m?(s.value=L,c(S,y,s)):S[y]=L,++y;_=y}}if(_===void 0)for(_=M(h.length),m&&(S=new m(_)),w=0;w<_;++w)L=b?o.call(b,R,h[w],w):h[w],m?(s.value=L,c(S,w,s)):S[w]=L;return m&&(s.value=null,S.length=_),S}},73051:function(T){var p=Object.prototype.toString,t=p.call(function(){return arguments}());T.exports=function(d){return p.call(d)===t}},33717:function(T){var p=Object.prototype.toString,t=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);T.exports=function(d){return typeof d=="function"&&t(p.call(d))}},52345:function(T){T.exports=function(){}},9953:function(T,p,t){T.exports=t(90436)()?Math.sign:t(6069)},90436:function(T){T.exports=function(){var p=Math.sign;return typeof p=="function"&&p(10)===1&&p(-20)===-1}},6069:function(T){T.exports=function(p){return p=Number(p),isNaN(p)||p===0?p:p>0?1:-1}},56247:function(T,p,t){var d=t(9953),g=Math.abs,i=Math.floor;T.exports=function(M){return isNaN(M)?0:(M=Number(M))!==0&&isFinite(M)?d(M)*i(g(M)):M}},35976:function(T,p,t){var d=t(56247),g=Math.max;T.exports=function(i){return g(0,d(i))}},67260:function(T,p,t){var d=t(78513),g=t(36672),i=Function.prototype.bind,M=Function.prototype.call,v=Object.keys,f=Object.prototype.propertyIsEnumerable;T.exports=function(l,a){return function(u,o){var s,c=arguments[2],h=arguments[3];return u=Object(g(u)),d(o),s=v(u),h&&s.sort(typeof h=="function"?i.call(h,u):void 0),typeof l!="function"&&(l=s[l]),M.call(l,s,function(m,w){return f.call(u,m)?M.call(o,c,u[m],m,u,w):a})}}},95879:function(T,p,t){T.exports=t(73583)()?Object.assign:t(34205)},73583:function(T){T.exports=function(){var p,t=Object.assign;return typeof t=="function"&&(t(p={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),p.foo+p.bar+p.trzy==="razdwatrzy")}},34205:function(T,p,t){var d=t(68700),g=t(36672),i=Math.max;T.exports=function(M,v){var f,l,a,u=i(arguments.length,2);for(M=Object(g(M)),a=function(o){try{M[o]=v[o]}catch(s){f||(f=s)}},l=1;l-1}},87963:function(T){var p=Object.prototype.toString,t=p.call("");T.exports=function(d){return typeof d=="string"||d&&typeof d=="object"&&(d instanceof String||p.call(d)===t)||!1}},43043:function(T){var p=Object.create(null),t=Math.random;T.exports=function(){var d;do d=t().toString(36).slice(2);while(p[d]);return d}},32411:function(T,p,t){var d,g=t(1496),i=t(66741),M=t(62072),v=t(8260),f=t(95426),l=Object.defineProperty;d=T.exports=function(a,u){if(!(this instanceof d))throw new TypeError("Constructor requires 'new'");f.call(this,a),u=u?i.call(u,"key+value")?"key+value":i.call(u,"key")?"key":"value":"value",l(this,"__kind__",M("",u))},g&&g(d,f),delete d.prototype.constructor,d.prototype=Object.create(f.prototype,{_resolve:M(function(a){return this.__kind__==="value"?this.__list__[a]:this.__kind__==="key+value"?[a,this.__list__[a]]:a})}),l(d.prototype,v.toStringTag,M("c","Array Iterator"))},27515:function(T,p,t){var d=t(73051),g=t(78513),i=t(87963),M=t(66661),v=Array.isArray,f=Function.prototype.call,l=Array.prototype.some;T.exports=function(a,u){var o,s,c,h,m,w,y,S,_=arguments[2];if(v(a)||d(a)?o="array":i(a)?o="string":a=M(a),g(u),c=function(){h=!0},o!=="array")if(o!=="string")for(s=a.next();!s.done;){if(f.call(u,_,s.value,c),h)return;s=a.next()}else for(w=a.length,m=0;m=55296&&S<=56319&&(y+=a[++m]),f.call(u,_,y,c),!h);++m);else l.call(a,function(k){return f.call(u,_,k,c),h})}},66661:function(T,p,t){var d=t(73051),g=t(87963),i=t(32411),M=t(259),v=t(58095),f=t(8260).iterator;T.exports=function(l){return typeof v(l)[f]=="function"?l[f]():d(l)?new i(l):g(l)?new M(l):new i(l)}},95426:function(T,p,t){var d,g=t(16134),i=t(95879),M=t(78513),v=t(36672),f=t(62072),l=t(55174),a=t(8260),u=Object.defineProperty,o=Object.defineProperties;T.exports=d=function(s,c){if(!(this instanceof d))throw new TypeError("Constructor requires 'new'");o(this,{__list__:f("w",v(s)),__context__:f("w",c),__nextIndex__:f("w",0)}),c&&(M(c.on),c.on("_add",this._onAdd),c.on("_delete",this._onDelete),c.on("_clear",this._onClear))},delete d.prototype.constructor,o(d.prototype,i({_next:f(function(){var s;if(this.__list__)return this.__redo__&&(s=this.__redo__.shift())!==void 0?s:this.__nextIndex__=this.__nextIndex__||(++this.__nextIndex__,this.__redo__?(this.__redo__.forEach(function(c,h){c>=s&&(this.__redo__[h]=++c)},this),this.__redo__.push(s)):u(this,"__redo__",f("c",[s])))}),_onDelete:f(function(s){var c;s>=this.__nextIndex__||(--this.__nextIndex__,this.__redo__&&((c=this.__redo__.indexOf(s))!==-1&&this.__redo__.splice(c,1),this.__redo__.forEach(function(h,m){h>s&&(this.__redo__[m]=--h)},this)))}),_onClear:f(function(){this.__redo__&&g.call(this.__redo__),this.__nextIndex__=0})}))),u(d.prototype,a.iterator,f(function(){return this}))},35940:function(T,p,t){var d=t(73051),g=t(95296),i=t(87963),M=t(8260).iterator,v=Array.isArray;T.exports=function(f){return!(!g(f)||!v(f)&&!i(f)&&!d(f)&&typeof f[M]!="function")}},259:function(T,p,t){var d,g=t(1496),i=t(62072),M=t(8260),v=t(95426),f=Object.defineProperty;d=T.exports=function(l){if(!(this instanceof d))throw new TypeError("Constructor requires 'new'");l=String(l),v.call(this,l),f(this,"__length__",i("",l.length))},g&&g(d,v),delete d.prototype.constructor,d.prototype=Object.create(v.prototype,{_next:i(function(){if(this.__list__)return this.__nextIndex__=55296&&a<=56319?u+this.__list__[this.__nextIndex__++]:u})}),f(d.prototype,M.toStringTag,i("c","String Iterator"))},58095:function(T,p,t){var d=t(35940);T.exports=function(g){if(!d(g))throw new TypeError(g+" is not iterable");return g}},73523:function(T){function p(t,d){if(t==null)throw new TypeError("Cannot convert first argument to object");for(var g=Object(t),i=1;i0&&E.length>_&&!E.warned){E.warned=!0;var A=new Error("Possible EventEmitter memory leak detected. "+E.length+" "+String(w)+" listeners added. Use emitter.setMaxListeners() to increase limit");A.name="MaxListenersExceededWarning",A.emitter=m,A.type=w,A.count=E.length,x=A,console&&console.warn&&console.warn(x)}return m}function a(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function u(m,w,y){var S={fired:!1,wrapFn:void 0,target:m,type:w,listener:y},_=a.bind(S);return _.listener=y,S.wrapFn=_,_}function o(m,w,y){var S=m._events;if(S===void 0)return[];var _=S[w];return _===void 0?[]:typeof _=="function"?y?[_.listener||_]:[_]:y?function(k){for(var E=new Array(k.length),x=0;x0&&(k=w[0]),k instanceof Error)throw k;var E=new Error("Unhandled error."+(k?" ("+k.message+")":""));throw E.context=k,E}var x=_[m];if(x===void 0)return!1;if(typeof x=="function")d(x,this,w);else{var A=x.length,L=c(x,A);for(y=0;y=0;k--)if(y[k]===w||y[k].listener===w){E=y[k].listener,_=k;break}if(_<0)return this;_===0?y.shift():function(x,A){for(;A+1=0;S--)this.removeListener(m,w[S]);return this},i.prototype.listeners=function(m){return o(this,m,!0)},i.prototype.rawListeners=function(m){return o(this,m,!1)},i.listenerCount=function(m,w){return typeof m.listenerCount=="function"?m.listenerCount(w):s.call(m,w)},i.prototype.listenerCount=s,i.prototype.eventNames=function(){return this._eventsCount>0?p(this._events):[]}},60774:function(T){var p=function(){if(typeof self=="object"&&self)return self;if(typeof window=="object"&&window)return window;throw new Error("Unable to resolve global `this`")};T.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch{return p()}try{return __global__||p()}finally{delete Object.prototype.__global__}}()},94908:function(T,p,t){T.exports=t(51152)()?globalThis:t(60774)},51152:function(T){T.exports=function(){return typeof globalThis=="object"&&!!globalThis&&globalThis.Array===Array}},92770:function(T,p,t){var d=t(18546);T.exports=function(g){var i=typeof g;if(i==="string"){var M=g;if((g=+g)==0&&d(M))return!1}else if(i!=="number")return!1;return g-g<1}},30120:function(T,p,t){var d=t(90660);T.exports=function(g,i,M){if(!g)throw new TypeError("must specify data as first parameter");if(M=0|+(M||0),Array.isArray(g)&&g[0]&&typeof g[0][0]=="number"){var v,f,l,a,u=g[0].length,o=g.length*u;i&&typeof i!="string"||(i=new(d(i||"float32"))(o+M));var s=i.length-M;if(o!==s)throw new Error("source length "+o+" ("+u+"x"+g.length+") does not match destination length "+s);for(v=0,l=M;vM[0]-l[0]/2&&(h=l[0]/2,m+=l[1]);return v}},32879:function(T){function p(i,M){M||(M={}),(typeof i=="string"||Array.isArray(i))&&(M.family=i);var v=Array.isArray(M.family)?M.family.join(", "):M.family;if(!v)throw Error("`family` must be defined");var f=M.size||M.fontSize||M.em||48,l=M.weight||M.fontWeight||"",a=(i=[M.style||M.fontStyle||"",l,f].join(" ")+"px "+v,M.origin||"top");if(p.cache[v]&&f<=p.cache[v].em)return t(p.cache[v],a);var u=M.canvas||p.canvas,o=u.getContext("2d"),s={upper:M.upper!==void 0?M.upper:"H",lower:M.lower!==void 0?M.lower:"x",descent:M.descent!==void 0?M.descent:"p",ascent:M.ascent!==void 0?M.ascent:"h",tittle:M.tittle!==void 0?M.tittle:"i",overshoot:M.overshoot!==void 0?M.overshoot:"O"},c=Math.ceil(1.5*f);u.height=c,u.width=.5*c,o.font=i;var h="H",m={top:0};o.clearRect(0,0,c,c),o.textBaseline="top",o.fillStyle="black",o.fillText(h,0,0);var w=d(o.getImageData(0,0,c,c));o.clearRect(0,0,c,c),o.textBaseline="bottom",o.fillText(h,0,c);var y=d(o.getImageData(0,0,c,c));m.lineHeight=m.bottom=c-y+w,o.clearRect(0,0,c,c),o.textBaseline="alphabetic",o.fillText(h,0,c);var S=c-d(o.getImageData(0,0,c,c))-1+w;m.baseline=m.alphabetic=S,o.clearRect(0,0,c,c),o.textBaseline="middle",o.fillText(h,0,.5*c);var _=d(o.getImageData(0,0,c,c));m.median=m.middle=c-_-1+w-.5*c,o.clearRect(0,0,c,c),o.textBaseline="hanging",o.fillText(h,0,.5*c);var k=d(o.getImageData(0,0,c,c));m.hanging=c-k-1+w-.5*c,o.clearRect(0,0,c,c),o.textBaseline="ideographic",o.fillText(h,0,c);var E=d(o.getImageData(0,0,c,c));if(m.ideographic=c-E-1+w,s.upper&&(o.clearRect(0,0,c,c),o.textBaseline="top",o.fillText(s.upper,0,0),m.upper=d(o.getImageData(0,0,c,c)),m.capHeight=m.baseline-m.upper),s.lower&&(o.clearRect(0,0,c,c),o.textBaseline="top",o.fillText(s.lower,0,0),m.lower=d(o.getImageData(0,0,c,c)),m.xHeight=m.baseline-m.lower),s.tittle&&(o.clearRect(0,0,c,c),o.textBaseline="top",o.fillText(s.tittle,0,0),m.tittle=d(o.getImageData(0,0,c,c))),s.ascent&&(o.clearRect(0,0,c,c),o.textBaseline="top",o.fillText(s.ascent,0,0),m.ascent=d(o.getImageData(0,0,c,c))),s.descent&&(o.clearRect(0,0,c,c),o.textBaseline="top",o.fillText(s.descent,0,0),m.descent=g(o.getImageData(0,0,c,c))),s.overshoot){o.clearRect(0,0,c,c),o.textBaseline="top",o.fillText(s.overshoot,0,0);var x=g(o.getImageData(0,0,c,c));m.overshoot=x-S}for(var A in m)m[A]/=f;return m.em=f,p.cache[v]=m,t(m,a)}function t(i,M){var v={};for(var f in typeof M=="string"&&(M=i[M]),i)f!=="em"&&(v[f]=i[f]-M);return v}function d(i){for(var M=i.height,v=i.data,f=3;f0;f-=4)if(v[f]!==0)return Math.floor(.25*(f-3)/M)}T.exports=p,p.canvas=document.createElement("canvas"),p.cache={}},31353:function(T,p,t){var d=t(85395),g=Object.prototype.toString,i=Object.prototype.hasOwnProperty,M=function(l,a,u){for(var o=0,s=l.length;o=3&&(o=u),g.call(l)==="[object Array]"?M(l,a,o):typeof l=="string"?v(l,a,o):f(l,a,o)}},73047:function(T){var p="Function.prototype.bind called on incompatible ",t=Array.prototype.slice,d=Object.prototype.toString,g="[object Function]";T.exports=function(i){var M=this;if(typeof M!="function"||d.call(M)!==g)throw new TypeError(p+M);for(var v,f=t.call(arguments,1),l=function(){if(this instanceof v){var c=M.apply(this,f.concat(t.call(arguments)));return Object(c)===c?c:this}return M.apply(i,f.concat(t.call(arguments)))},a=Math.max(0,M.length-f.length),u=[],o=0;o"u"&&!t.canvas)return null;var d=t.canvas||document.createElement("canvas");typeof t.width=="number"&&(d.width=t.width),typeof t.height=="number"&&(d.height=t.height);var g,i=t;try{var M=[p];p.indexOf("webgl")===0&&M.push("experimental-"+p);for(var v=0;v"u"?d:o(Uint8Array),h={"%AggregateError%":typeof AggregateError>"u"?d:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?d:ArrayBuffer,"%ArrayIteratorPrototype%":u?o([][Symbol.iterator]()):d,"%AsyncFromSyncIteratorPrototype%":d,"%AsyncFunction%":s,"%AsyncGenerator%":s,"%AsyncGeneratorFunction%":s,"%AsyncIteratorPrototype%":s,"%Atomics%":typeof Atomics>"u"?d:Atomics,"%BigInt%":typeof BigInt>"u"?d:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?d:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?d:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?d:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?d:Float32Array,"%Float64Array%":typeof Float64Array>"u"?d:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?d:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":s,"%Int8Array%":typeof Int8Array>"u"?d:Int8Array,"%Int16Array%":typeof Int16Array>"u"?d:Int16Array,"%Int32Array%":typeof Int32Array>"u"?d:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":u?o(o([][Symbol.iterator]())):d,"%JSON%":typeof JSON=="object"?JSON:d,"%Map%":typeof Map>"u"?d:Map,"%MapIteratorPrototype%":typeof Map<"u"&&u?o(new Map()[Symbol.iterator]()):d,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?d:Promise,"%Proxy%":typeof Proxy>"u"?d:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?d:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?d:Set,"%SetIteratorPrototype%":typeof Set<"u"&&u?o(new Set()[Symbol.iterator]()):d,"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?d:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":u?o(""[Symbol.iterator]()):d,"%Symbol%":u?Symbol:d,"%SyntaxError%":g,"%ThrowTypeError%":a,"%TypedArray%":c,"%TypeError%":M,"%Uint8Array%":typeof Uint8Array>"u"?d:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?d:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?d:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?d:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?d:WeakMap,"%WeakRef%":typeof WeakRef>"u"?d:WeakRef,"%WeakSet%":typeof WeakSet>"u"?d:WeakSet};try{null.error}catch(z){var m=o(o(z));h["%Error.prototype%"]=m}var w=function z(F){var B;if(F==="%AsyncFunction%")B=v("async function () {}");else if(F==="%GeneratorFunction%")B=v("function* () {}");else if(F==="%AsyncGeneratorFunction%")B=v("async function* () {}");else if(F==="%AsyncGenerator%"){var N=z("%AsyncGeneratorFunction%");N&&(B=N.prototype)}else if(F==="%AsyncIteratorPrototype%"){var W=z("%AsyncGenerator%");W&&(B=o(W.prototype))}return h[F]=B,B},y={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},S=t(77575),_=t(35065),k=S.call(Function.call,Array.prototype.concat),E=S.call(Function.apply,Array.prototype.splice),x=S.call(Function.call,String.prototype.replace),A=S.call(Function.call,String.prototype.slice),L=S.call(Function.call,RegExp.prototype.exec),b=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,R=/\\(\\)?/g,I=function(z){var F=A(z,0,1),B=A(z,-1);if(F==="%"&&B!=="%")throw new g("invalid intrinsic syntax, expected closing `%`");if(B==="%"&&F!=="%")throw new g("invalid intrinsic syntax, expected opening `%`");var N=[];return x(z,b,function(W,j,$,U){N[N.length]=$?x(U,R,"$1"):j||W}),N},O=function(z,F){var B,N=z;if(_(y,N)&&(N="%"+(B=y[N])[0]+"%"),_(h,N)){var W=h[N];if(W===s&&(W=w(N)),W===void 0&&!F)throw new M("intrinsic "+z+" exists, but is not available. Please file an issue!");return{alias:B,name:N,value:W}}throw new g("intrinsic "+z+" does not exist!")};T.exports=function(z,F){if(typeof z!="string"||z.length===0)throw new M("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof F!="boolean")throw new M('"allowMissing" argument must be a boolean');if(L(/^%?[^%]*%?$/,z)===null)throw new g("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var B=I(z),N=B.length>0?B[0]:"",W=O("%"+N+"%",F),j=W.name,$=W.value,U=!1,G=W.alias;G&&(N=G[0],E(B,k([0,1],G)));for(var q=1,H=!0;q=B.length){var X=f($,ne);$=(H=!!X)&&"get"in X&&!("originalValue"in X.get)?X.get:$[ne]}else H=_($,ne),$=$[ne];H&&!U&&(h[j]=$)}}return $}},85400:function(T){T.exports=function(p,t){var d=t[0],g=t[1],i=t[2],M=t[3],v=t[4],f=t[5],l=t[6],a=t[7],u=t[8],o=t[9],s=t[10],c=t[11],h=t[12],m=t[13],w=t[14],y=t[15];return p[0]=f*(s*y-c*w)-o*(l*y-a*w)+m*(l*c-a*s),p[1]=-(g*(s*y-c*w)-o*(i*y-M*w)+m*(i*c-M*s)),p[2]=g*(l*y-a*w)-f*(i*y-M*w)+m*(i*a-M*l),p[3]=-(g*(l*c-a*s)-f*(i*c-M*s)+o*(i*a-M*l)),p[4]=-(v*(s*y-c*w)-u*(l*y-a*w)+h*(l*c-a*s)),p[5]=d*(s*y-c*w)-u*(i*y-M*w)+h*(i*c-M*s),p[6]=-(d*(l*y-a*w)-v*(i*y-M*w)+h*(i*a-M*l)),p[7]=d*(l*c-a*s)-v*(i*c-M*s)+u*(i*a-M*l),p[8]=v*(o*y-c*m)-u*(f*y-a*m)+h*(f*c-a*o),p[9]=-(d*(o*y-c*m)-u*(g*y-M*m)+h*(g*c-M*o)),p[10]=d*(f*y-a*m)-v*(g*y-M*m)+h*(g*a-M*f),p[11]=-(d*(f*c-a*o)-v*(g*c-M*o)+u*(g*a-M*f)),p[12]=-(v*(o*w-s*m)-u*(f*w-l*m)+h*(f*s-l*o)),p[13]=d*(o*w-s*m)-u*(g*w-i*m)+h*(g*s-i*o),p[14]=-(d*(f*w-l*m)-v*(g*w-i*m)+h*(g*l-i*f)),p[15]=d*(f*s-l*o)-v*(g*s-i*o)+u*(g*l-i*f),p}},42331:function(T){T.exports=function(p){var t=new Float32Array(16);return t[0]=p[0],t[1]=p[1],t[2]=p[2],t[3]=p[3],t[4]=p[4],t[5]=p[5],t[6]=p[6],t[7]=p[7],t[8]=p[8],t[9]=p[9],t[10]=p[10],t[11]=p[11],t[12]=p[12],t[13]=p[13],t[14]=p[14],t[15]=p[15],t}},31042:function(T){T.exports=function(p,t){return p[0]=t[0],p[1]=t[1],p[2]=t[2],p[3]=t[3],p[4]=t[4],p[5]=t[5],p[6]=t[6],p[7]=t[7],p[8]=t[8],p[9]=t[9],p[10]=t[10],p[11]=t[11],p[12]=t[12],p[13]=t[13],p[14]=t[14],p[15]=t[15],p}},11902:function(T){T.exports=function(){var p=new Float32Array(16);return p[0]=1,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=1,p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=1,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},89887:function(T){T.exports=function(p){var t=p[0],d=p[1],g=p[2],i=p[3],M=p[4],v=p[5],f=p[6],l=p[7],a=p[8],u=p[9],o=p[10],s=p[11],c=p[12],h=p[13],m=p[14],w=p[15];return(t*v-d*M)*(o*w-s*m)-(t*f-g*M)*(u*w-s*h)+(t*l-i*M)*(u*m-o*h)+(d*f-g*v)*(a*w-s*c)-(d*l-i*v)*(a*m-o*c)+(g*l-i*f)*(a*h-u*c)}},27812:function(T){T.exports=function(p,t){var d=t[0],g=t[1],i=t[2],M=t[3],v=d+d,f=g+g,l=i+i,a=d*v,u=g*v,o=g*f,s=i*v,c=i*f,h=i*l,m=M*v,w=M*f,y=M*l;return p[0]=1-o-h,p[1]=u+y,p[2]=s-w,p[3]=0,p[4]=u-y,p[5]=1-a-h,p[6]=c+m,p[7]=0,p[8]=s+w,p[9]=c-m,p[10]=1-a-o,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},34045:function(T){T.exports=function(p,t,d){var g,i,M,v=d[0],f=d[1],l=d[2],a=Math.sqrt(v*v+f*f+l*l);return Math.abs(a)<1e-6?null:(v*=a=1/a,f*=a,l*=a,g=Math.sin(t),M=1-(i=Math.cos(t)),p[0]=v*v*M+i,p[1]=f*v*M+l*g,p[2]=l*v*M-f*g,p[3]=0,p[4]=v*f*M-l*g,p[5]=f*f*M+i,p[6]=l*f*M+v*g,p[7]=0,p[8]=v*l*M+f*g,p[9]=f*l*M-v*g,p[10]=l*l*M+i,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p)}},45973:function(T){T.exports=function(p,t,d){var g=t[0],i=t[1],M=t[2],v=t[3],f=g+g,l=i+i,a=M+M,u=g*f,o=g*l,s=g*a,c=i*l,h=i*a,m=M*a,w=v*f,y=v*l,S=v*a;return p[0]=1-(c+m),p[1]=o+S,p[2]=s-y,p[3]=0,p[4]=o-S,p[5]=1-(u+m),p[6]=h+w,p[7]=0,p[8]=s+y,p[9]=h-w,p[10]=1-(u+c),p[11]=0,p[12]=d[0],p[13]=d[1],p[14]=d[2],p[15]=1,p}},81472:function(T){T.exports=function(p,t){return p[0]=t[0],p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=t[1],p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=t[2],p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},14669:function(T){T.exports=function(p,t){return p[0]=1,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=1,p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=1,p[11]=0,p[12]=t[0],p[13]=t[1],p[14]=t[2],p[15]=1,p}},75262:function(T){T.exports=function(p,t){var d=Math.sin(t),g=Math.cos(t);return p[0]=1,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=g,p[6]=d,p[7]=0,p[8]=0,p[9]=-d,p[10]=g,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},331:function(T){T.exports=function(p,t){var d=Math.sin(t),g=Math.cos(t);return p[0]=g,p[1]=0,p[2]=-d,p[3]=0,p[4]=0,p[5]=1,p[6]=0,p[7]=0,p[8]=d,p[9]=0,p[10]=g,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},11049:function(T){T.exports=function(p,t){var d=Math.sin(t),g=Math.cos(t);return p[0]=g,p[1]=d,p[2]=0,p[3]=0,p[4]=-d,p[5]=g,p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=1,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},75195:function(T){T.exports=function(p,t,d,g,i,M,v){var f=1/(d-t),l=1/(i-g),a=1/(M-v);return p[0]=2*M*f,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=2*M*l,p[6]=0,p[7]=0,p[8]=(d+t)*f,p[9]=(i+g)*l,p[10]=(v+M)*a,p[11]=-1,p[12]=0,p[13]=0,p[14]=v*M*2*a,p[15]=0,p}},71551:function(T){T.exports=function(p){return p[0]=1,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=1,p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=1,p[11]=0,p[12]=0,p[13]=0,p[14]=0,p[15]=1,p}},79576:function(T,p,t){T.exports={create:t(11902),clone:t(42331),copy:t(31042),identity:t(71551),transpose:t(88654),invert:t(95874),adjoint:t(85400),determinant:t(89887),multiply:t(91362),translate:t(31283),scale:t(10789),rotate:t(65074),rotateX:t(35545),rotateY:t(94918),rotateZ:t(15692),fromRotation:t(34045),fromRotationTranslation:t(45973),fromScaling:t(81472),fromTranslation:t(14669),fromXRotation:t(75262),fromYRotation:t(331),fromZRotation:t(11049),fromQuat:t(27812),frustum:t(75195),perspective:t(7864),perspectiveFromFieldOfView:t(35279),ortho:t(60378),lookAt:t(65551),str:t(6726)}},95874:function(T){T.exports=function(p,t){var d=t[0],g=t[1],i=t[2],M=t[3],v=t[4],f=t[5],l=t[6],a=t[7],u=t[8],o=t[9],s=t[10],c=t[11],h=t[12],m=t[13],w=t[14],y=t[15],S=d*f-g*v,_=d*l-i*v,k=d*a-M*v,E=g*l-i*f,x=g*a-M*f,A=i*a-M*l,L=u*m-o*h,b=u*w-s*h,R=u*y-c*h,I=o*w-s*m,O=o*y-c*m,z=s*y-c*w,F=S*z-_*O+k*I+E*R-x*b+A*L;return F?(F=1/F,p[0]=(f*z-l*O+a*I)*F,p[1]=(i*O-g*z-M*I)*F,p[2]=(m*A-w*x+y*E)*F,p[3]=(s*x-o*A-c*E)*F,p[4]=(l*R-v*z-a*b)*F,p[5]=(d*z-i*R+M*b)*F,p[6]=(w*k-h*A-y*_)*F,p[7]=(u*A-s*k+c*_)*F,p[8]=(v*O-f*R+a*L)*F,p[9]=(g*R-d*O-M*L)*F,p[10]=(h*x-m*k+y*S)*F,p[11]=(o*k-u*x-c*S)*F,p[12]=(f*b-v*I-l*L)*F,p[13]=(d*I-g*b+i*L)*F,p[14]=(m*_-h*E-w*S)*F,p[15]=(u*E-o*_+s*S)*F,p):null}},65551:function(T,p,t){var d=t(71551);T.exports=function(g,i,M,v){var f,l,a,u,o,s,c,h,m,w,y=i[0],S=i[1],_=i[2],k=v[0],E=v[1],x=v[2],A=M[0],L=M[1],b=M[2];return Math.abs(y-A)<1e-6&&Math.abs(S-L)<1e-6&&Math.abs(_-b)<1e-6?d(g):(c=y-A,h=S-L,m=_-b,f=E*(m*=w=1/Math.sqrt(c*c+h*h+m*m))-x*(h*=w),l=x*(c*=w)-k*m,a=k*h-E*c,(w=Math.sqrt(f*f+l*l+a*a))?(f*=w=1/w,l*=w,a*=w):(f=0,l=0,a=0),u=h*a-m*l,o=m*f-c*a,s=c*l-h*f,(w=Math.sqrt(u*u+o*o+s*s))?(u*=w=1/w,o*=w,s*=w):(u=0,o=0,s=0),g[0]=f,g[1]=u,g[2]=c,g[3]=0,g[4]=l,g[5]=o,g[6]=h,g[7]=0,g[8]=a,g[9]=s,g[10]=m,g[11]=0,g[12]=-(f*y+l*S+a*_),g[13]=-(u*y+o*S+s*_),g[14]=-(c*y+h*S+m*_),g[15]=1,g)}},91362:function(T){T.exports=function(p,t,d){var g=t[0],i=t[1],M=t[2],v=t[3],f=t[4],l=t[5],a=t[6],u=t[7],o=t[8],s=t[9],c=t[10],h=t[11],m=t[12],w=t[13],y=t[14],S=t[15],_=d[0],k=d[1],E=d[2],x=d[3];return p[0]=_*g+k*f+E*o+x*m,p[1]=_*i+k*l+E*s+x*w,p[2]=_*M+k*a+E*c+x*y,p[3]=_*v+k*u+E*h+x*S,_=d[4],k=d[5],E=d[6],x=d[7],p[4]=_*g+k*f+E*o+x*m,p[5]=_*i+k*l+E*s+x*w,p[6]=_*M+k*a+E*c+x*y,p[7]=_*v+k*u+E*h+x*S,_=d[8],k=d[9],E=d[10],x=d[11],p[8]=_*g+k*f+E*o+x*m,p[9]=_*i+k*l+E*s+x*w,p[10]=_*M+k*a+E*c+x*y,p[11]=_*v+k*u+E*h+x*S,_=d[12],k=d[13],E=d[14],x=d[15],p[12]=_*g+k*f+E*o+x*m,p[13]=_*i+k*l+E*s+x*w,p[14]=_*M+k*a+E*c+x*y,p[15]=_*v+k*u+E*h+x*S,p}},60378:function(T){T.exports=function(p,t,d,g,i,M,v){var f=1/(t-d),l=1/(g-i),a=1/(M-v);return p[0]=-2*f,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=-2*l,p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=2*a,p[11]=0,p[12]=(t+d)*f,p[13]=(i+g)*l,p[14]=(v+M)*a,p[15]=1,p}},7864:function(T){T.exports=function(p,t,d,g,i){var M=1/Math.tan(t/2),v=1/(g-i);return p[0]=M/d,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=M,p[6]=0,p[7]=0,p[8]=0,p[9]=0,p[10]=(i+g)*v,p[11]=-1,p[12]=0,p[13]=0,p[14]=2*i*g*v,p[15]=0,p}},35279:function(T){T.exports=function(p,t,d,g){var i=Math.tan(t.upDegrees*Math.PI/180),M=Math.tan(t.downDegrees*Math.PI/180),v=Math.tan(t.leftDegrees*Math.PI/180),f=Math.tan(t.rightDegrees*Math.PI/180),l=2/(v+f),a=2/(i+M);return p[0]=l,p[1]=0,p[2]=0,p[3]=0,p[4]=0,p[5]=a,p[6]=0,p[7]=0,p[8]=-(v-f)*l*.5,p[9]=(i-M)*a*.5,p[10]=g/(d-g),p[11]=-1,p[12]=0,p[13]=0,p[14]=g*d/(d-g),p[15]=0,p}},65074:function(T){T.exports=function(p,t,d,g){var i,M,v,f,l,a,u,o,s,c,h,m,w,y,S,_,k,E,x,A,L,b,R,I,O=g[0],z=g[1],F=g[2],B=Math.sqrt(O*O+z*z+F*F);return Math.abs(B)<1e-6?null:(O*=B=1/B,z*=B,F*=B,i=Math.sin(d),v=1-(M=Math.cos(d)),f=t[0],l=t[1],a=t[2],u=t[3],o=t[4],s=t[5],c=t[6],h=t[7],m=t[8],w=t[9],y=t[10],S=t[11],_=O*O*v+M,k=z*O*v+F*i,E=F*O*v-z*i,x=O*z*v-F*i,A=z*z*v+M,L=F*z*v+O*i,b=O*F*v+z*i,R=z*F*v-O*i,I=F*F*v+M,p[0]=f*_+o*k+m*E,p[1]=l*_+s*k+w*E,p[2]=a*_+c*k+y*E,p[3]=u*_+h*k+S*E,p[4]=f*x+o*A+m*L,p[5]=l*x+s*A+w*L,p[6]=a*x+c*A+y*L,p[7]=u*x+h*A+S*L,p[8]=f*b+o*R+m*I,p[9]=l*b+s*R+w*I,p[10]=a*b+c*R+y*I,p[11]=u*b+h*R+S*I,t!==p&&(p[12]=t[12],p[13]=t[13],p[14]=t[14],p[15]=t[15]),p)}},35545:function(T){T.exports=function(p,t,d){var g=Math.sin(d),i=Math.cos(d),M=t[4],v=t[5],f=t[6],l=t[7],a=t[8],u=t[9],o=t[10],s=t[11];return t!==p&&(p[0]=t[0],p[1]=t[1],p[2]=t[2],p[3]=t[3],p[12]=t[12],p[13]=t[13],p[14]=t[14],p[15]=t[15]),p[4]=M*i+a*g,p[5]=v*i+u*g,p[6]=f*i+o*g,p[7]=l*i+s*g,p[8]=a*i-M*g,p[9]=u*i-v*g,p[10]=o*i-f*g,p[11]=s*i-l*g,p}},94918:function(T){T.exports=function(p,t,d){var g=Math.sin(d),i=Math.cos(d),M=t[0],v=t[1],f=t[2],l=t[3],a=t[8],u=t[9],o=t[10],s=t[11];return t!==p&&(p[4]=t[4],p[5]=t[5],p[6]=t[6],p[7]=t[7],p[12]=t[12],p[13]=t[13],p[14]=t[14],p[15]=t[15]),p[0]=M*i-a*g,p[1]=v*i-u*g,p[2]=f*i-o*g,p[3]=l*i-s*g,p[8]=M*g+a*i,p[9]=v*g+u*i,p[10]=f*g+o*i,p[11]=l*g+s*i,p}},15692:function(T){T.exports=function(p,t,d){var g=Math.sin(d),i=Math.cos(d),M=t[0],v=t[1],f=t[2],l=t[3],a=t[4],u=t[5],o=t[6],s=t[7];return t!==p&&(p[8]=t[8],p[9]=t[9],p[10]=t[10],p[11]=t[11],p[12]=t[12],p[13]=t[13],p[14]=t[14],p[15]=t[15]),p[0]=M*i+a*g,p[1]=v*i+u*g,p[2]=f*i+o*g,p[3]=l*i+s*g,p[4]=a*i-M*g,p[5]=u*i-v*g,p[6]=o*i-f*g,p[7]=s*i-l*g,p}},10789:function(T){T.exports=function(p,t,d){var g=d[0],i=d[1],M=d[2];return p[0]=t[0]*g,p[1]=t[1]*g,p[2]=t[2]*g,p[3]=t[3]*g,p[4]=t[4]*i,p[5]=t[5]*i,p[6]=t[6]*i,p[7]=t[7]*i,p[8]=t[8]*M,p[9]=t[9]*M,p[10]=t[10]*M,p[11]=t[11]*M,p[12]=t[12],p[13]=t[13],p[14]=t[14],p[15]=t[15],p}},6726:function(T){T.exports=function(p){return"mat4("+p[0]+", "+p[1]+", "+p[2]+", "+p[3]+", "+p[4]+", "+p[5]+", "+p[6]+", "+p[7]+", "+p[8]+", "+p[9]+", "+p[10]+", "+p[11]+", "+p[12]+", "+p[13]+", "+p[14]+", "+p[15]+")"}},31283:function(T){T.exports=function(p,t,d){var g,i,M,v,f,l,a,u,o,s,c,h,m=d[0],w=d[1],y=d[2];return t===p?(p[12]=t[0]*m+t[4]*w+t[8]*y+t[12],p[13]=t[1]*m+t[5]*w+t[9]*y+t[13],p[14]=t[2]*m+t[6]*w+t[10]*y+t[14],p[15]=t[3]*m+t[7]*w+t[11]*y+t[15]):(g=t[0],i=t[1],M=t[2],v=t[3],f=t[4],l=t[5],a=t[6],u=t[7],o=t[8],s=t[9],c=t[10],h=t[11],p[0]=g,p[1]=i,p[2]=M,p[3]=v,p[4]=f,p[5]=l,p[6]=a,p[7]=u,p[8]=o,p[9]=s,p[10]=c,p[11]=h,p[12]=g*m+f*w+o*y+t[12],p[13]=i*m+l*w+s*y+t[13],p[14]=M*m+a*w+c*y+t[14],p[15]=v*m+u*w+h*y+t[15]),p}},88654:function(T){T.exports=function(p,t){if(p===t){var d=t[1],g=t[2],i=t[3],M=t[6],v=t[7],f=t[11];p[1]=t[4],p[2]=t[8],p[3]=t[12],p[4]=d,p[6]=t[9],p[7]=t[13],p[8]=g,p[9]=M,p[11]=t[14],p[12]=i,p[13]=v,p[14]=f}else p[0]=t[0],p[1]=t[4],p[2]=t[8],p[3]=t[12],p[4]=t[1],p[5]=t[5],p[6]=t[9],p[7]=t[13],p[8]=t[2],p[9]=t[6],p[10]=t[10],p[11]=t[14],p[12]=t[3],p[13]=t[7],p[14]=t[11],p[15]=t[15];return p}},42505:function(T,p,t){var d=t(72791),g=t(71299),i=t(98580),M=t(12018),v=t(83522),f=t(25075),l=t(68016),a=t(58404),u=t(18863),o=t(10973),s=t(25677),c=t(75686),h=t(53545),m=t(56131),w=t(32879),y=t(30120),S=t(13547).nextPow2,_=new v,k=!1;if(document.body){var E=document.body.appendChild(document.createElement("div"));E.style.font="italic small-caps bold condensed 16px/2 cursive",getComputedStyle(E).fontStretch&&(k=!0),document.body.removeChild(E)}var x=function(A){(function(L){return typeof L=="function"&&L._gl&&L.prop&&L.texture&&L.buffer})(A)?(A={regl:A},this.gl=A.regl._gl):this.gl=M(A),this.shader=_.get(this.gl),this.shader?this.regl=this.shader.regl:this.regl=A.regl||i({gl:this.gl}),this.charBuffer=this.regl.buffer({type:"uint8",usage:"stream"}),this.sizeBuffer=this.regl.buffer({type:"float",usage:"stream"}),this.shader||(this.shader=this.createShader(),_.set(this.gl,this.shader)),this.batch=[],this.fontSize=[],this.font=[],this.fontAtlas=[],this.draw=this.shader.draw.bind(this),this.render=function(){this.regl._refresh(),this.draw(this.batch)},this.canvas=this.gl.canvas,this.update(o(A)?A:{})};x.prototype.createShader=function(){var A=this.regl,L=A({blend:{enable:!0,color:[0,0,0,1],func:{srcRGB:"src alpha",dstRGB:"one minus src alpha",srcAlpha:"one minus dst alpha",dstAlpha:"one"}},stencil:{enable:!1},depth:{enable:!1},count:A.prop("count"),offset:A.prop("offset"),attributes:{charOffset:{offset:4,stride:8,buffer:A.this("sizeBuffer")},width:{offset:0,stride:8,buffer:A.this("sizeBuffer")},char:A.this("charBuffer"),position:A.this("position")},uniforms:{atlasSize:function(b,R){return[R.atlas.width,R.atlas.height]},atlasDim:function(b,R){return[R.atlas.cols,R.atlas.rows]},atlas:function(b,R){return R.atlas.texture},charStep:function(b,R){return R.atlas.step},em:function(b,R){return R.atlas.em},color:A.prop("color"),opacity:A.prop("opacity"),viewport:A.this("viewportArray"),scale:A.this("scale"),align:A.prop("align"),baseline:A.prop("baseline"),translate:A.this("translate"),positionOffset:A.prop("positionOffset")},primitive:"points",viewport:A.this("viewport"),vert:` ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js precision highp float; attribute float width, charOffset, char; attribute vec2 position; @@ -2645,11 +2475,7 @@ should equal // color.rgb += (1. - color.rgb) * (1. - mask.rgb); gl_FragColor = color; -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js }`});return{regl:A,draw:L,atlas:{}}},x.prototype.update=function(A){var L=this;if(typeof A=="string")A={text:A};else if(!A)return;(A=g(A,{position:"position positions coord coords coordinates",font:"font fontFace fontface typeface cssFont css-font family fontFamily",fontSize:"fontSize fontsize size font-size",text:"text texts chars characters value values symbols",align:"align alignment textAlign textbaseline",baseline:"baseline textBaseline textbaseline",direction:"dir direction textDirection",color:"color colour fill fill-color fillColor textColor textcolor",kerning:"kerning kern",range:"range dataBox",viewport:"vp viewport viewBox viewbox viewPort",opacity:"opacity alpha transparency visible visibility opaque",offset:"offset positionOffset padding shift indent indentation"},!0)).opacity!=null&&(Array.isArray(A.opacity)?this.opacity=A.opacity.map(function(ae){return parseFloat(ae)}):this.opacity=parseFloat(A.opacity)),A.viewport!=null&&(this.viewport=u(A.viewport),this.viewportArray=[this.viewport.x,this.viewport.y,this.viewport.width,this.viewport.height]),this.viewport==null&&(this.viewport={x:0,y:0,width:this.gl.drawingBufferWidth,height:this.gl.drawingBufferHeight},this.viewportArray=[this.viewport.x,this.viewport.y,this.viewport.width,this.viewport.height]),A.kerning!=null&&(this.kerning=A.kerning),A.offset!=null&&(typeof A.offset=="number"&&(A.offset=[A.offset,0]),this.positionOffset=y(A.offset)),A.direction&&(this.direction=A.direction),A.range&&(this.range=A.range,this.scale=[1/(A.range[2]-A.range[0]),1/(A.range[3]-A.range[1])],this.translate=[-A.range[0],-A.range[1]]),A.scale&&(this.scale=A.scale),A.translate&&(this.translate=A.translate),this.scale||(this.scale=[1/this.viewport.width,1/this.viewport.height]),this.translate||(this.translate=[0,0]),this.font.length||A.font||(A.font=x.baseFontSize+"px sans-serif");var b,R=!1,I=!1;if(A.font&&(Array.isArray(A.font)?A.font:[A.font]).forEach(function(ae,fe){if(typeof ae=="string")try{ae=d.parse(ae)}catch{ae=d.parse(x.baseFontSize+"px "+ae)}else ae=d.parse(d.stringify(ae));var be=d.stringify({size:x.baseFontSize,family:ae.family,stretch:k?ae.stretch:void 0,variant:ae.variant,weight:ae.weight,style:ae.style}),ke=s(ae.size),Le=Math.round(ke[0]*h(ke[1]));if(Le!==L.fontSize[fe]&&(I=!0,L.fontSize[fe]=Le),!(L.font[fe]&&be==L.font[fe].baseString||(R=!0,L.font[fe]=x.fonts[be],L.font[fe]))){var Be=ae.family.join(", "),ze=[ae.style];ae.style!=ae.variant&&ze.push(ae.variant),ae.variant!=ae.weight&&ze.push(ae.weight),k&&ae.weight!=ae.stretch&&ze.push(ae.stretch),L.font[fe]={baseString:be,family:Be,weight:ae.weight,stretch:ae.stretch,style:ae.style,variant:ae.variant,width:{},kerning:{},metrics:w(Be,{origin:"top",fontSize:x.baseFontSize,fontStyle:ze.join(" ")})},x.fonts[be]=L.font[fe]}}),(R||I)&&this.font.forEach(function(ae,fe){var be=d.stringify({size:L.fontSize[fe],family:ae.family,stretch:k?ae.stretch:void 0,variant:ae.variant,weight:ae.weight,style:ae.style});if(L.fontAtlas[fe]=L.shader.atlas[be],!L.fontAtlas[fe]){var ke=ae.metrics;L.shader.atlas[be]=L.fontAtlas[fe]={fontString:be,step:2*Math.ceil(L.fontSize[fe]*ke.bottom*.5),em:L.fontSize[fe],cols:0,rows:0,height:0,width:0,chars:[],ids:{},texture:L.regl.texture()}}A.text==null&&(A.text=L.text)}),typeof A.text=="string"&&A.position&&A.position.length>2){for(var O=Array(.5*A.position.length),z=0;z2){for(var B=!A.position[0].length,N=a.mallocFloat(2*this.count),W=0,j=0;W1?L.align[fe]:L.align[0]:L.align;if(typeof be=="number")return be;switch(be){case"right":case"end":return-ae;case"center":case"centre":case"middle":return .5*-ae}return 0})),this.baseline==null&&A.baseline==null&&(A.baseline=0),A.baseline!=null&&(this.baseline=A.baseline,Array.isArray(this.baseline)||(this.baseline=[this.baseline]),this.baselineOffset=this.baseline.map(function(ae,fe){var be=(L.font[fe]||L.font[0]).metrics,ke=0;return ke+=.5*be.bottom,-1*(ke+=typeof ae=="number"?ae-be.baseline:-be[ae])})),A.color!=null)if(A.color||(A.color="transparent"),typeof A.color!="string"&&isNaN(A.color)){var me;if(typeof A.color[0]=="number"&&A.color.length>this.counts.length){var pe=A.color.length;me=a.mallocUint8(pe);for(var xe=(A.color.subarray||A.color.slice).bind(A.color),Pe=0;Pe4||this.baselineOffset.length>1||this.align&&this.align.length>1||this.fontAtlas.length>1||this.positionOffset.length>2){var Se=Math.max(.5*this.position.length||0,.25*this.color.length||0,this.baselineOffset.length||0,this.alignOffset.length||0,this.font.length||0,this.opacity.length||0,.5*this.positionOffset.length||0);this.batch=Array(Se);for(var Ce=0;Ce1?this.counts[Ce]:this.counts[0],offset:this.textOffsets.length>1?this.textOffsets[Ce]:this.textOffsets[0],color:this.color?this.color.length<=4?this.color:this.color.subarray(4*Ce,4*Ce+4):[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[Ce]:this.opacity,baseline:this.baselineOffset[Ce]!=null?this.baselineOffset[Ce]:this.baselineOffset[0],align:this.align?this.alignOffset[Ce]!=null?this.alignOffset[Ce]:this.alignOffset[0]:0,atlas:this.fontAtlas[Ce]||this.fontAtlas[0],positionOffset:this.positionOffset.length>2?this.positionOffset.subarray(2*Ce,2*Ce+2):this.positionOffset}}else this.count?this.batch=[{count:this.count,offset:0,color:this.color||[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[0]:this.opacity,baseline:this.baselineOffset[0],align:this.alignOffset?this.alignOffset[0]:0,atlas:this.fontAtlas[0],positionOffset:this.positionOffset}]:this.batch=[]},x.prototype.destroy=function(){},x.prototype.kerning=!0,x.prototype.position={constant:new Float32Array(2)},x.prototype.translate=null,x.prototype.scale=null,x.prototype.font=null,x.prototype.text="",x.prototype.positionOffset=[0,0],x.prototype.opacity=1,x.prototype.color=new Uint8Array([0,0,0,255]),x.prototype.alignOffset=[0,0],x.maxAtlasSize=1024,x.atlasCanvas=document.createElement("canvas"),x.atlasContext=x.atlasCanvas.getContext("2d",{alpha:!1}),x.baseFontSize=64,x.fonts={},T.exports=x},12018:function(T,p,t){var d=t(71299);function g(v){if(v.container)if(v.container==document.body)document.body.style.width||(v.canvas.width=v.width||v.pixelRatio*t.g.innerWidth),document.body.style.height||(v.canvas.height=v.height||v.pixelRatio*t.g.innerHeight);else{var f=v.container.getBoundingClientRect();v.canvas.width=v.width||f.right-f.left,v.canvas.height=v.height||f.bottom-f.top}}function i(v){return typeof v.getContext=="function"&&"width"in v&&"height"in v}function M(){var v=document.createElement("canvas");return v.style.position="absolute",v.style.top=0,v.style.left=0,v}T.exports=function(v){var f;if(v?typeof v=="string"&&(v={container:v}):v={},(v=i(v)||typeof(f=v).nodeName=="string"&&typeof f.appendChild=="function"&&typeof f.getBoundingClientRect=="function"?{container:v}:function(a){return typeof a.drawArrays=="function"||typeof a.drawElements=="function"}(v)?{gl:v}:d(v,{container:"container target element el canvas holder parent parentNode wrapper use ref root node",gl:"gl context webgl glContext",attrs:"attributes attrs contextAttributes",pixelRatio:"pixelRatio pxRatio px ratio pxratio pixelratio",width:"w width",height:"h height"},!0)).pixelRatio||(v.pixelRatio=t.g.pixelRatio||1),v.gl)return v.gl;if(v.canvas&&(v.container=v.canvas.parentNode),v.container){if(typeof v.container=="string"){var l=document.querySelector(v.container);if(!l)throw Error("Element "+v.container+" is not found");v.container=l}i(v.container)?(v.canvas=v.container,v.container=v.canvas.parentNode):v.canvas||(v.canvas=M(),v.container.appendChild(v.canvas),g(v))}else if(!v.canvas){if(typeof document>"u")throw Error("Not DOM environment. Use headless-gl.");v.container=document.body||document.documentElement,v.canvas=M(),v.container.appendChild(v.canvas),g(v)}return v.gl||["webgl","experimental-webgl","webgl-experimental"].some(function(a){try{v.gl=v.canvas.getContext(a,v.attrs)}catch{}return v.gl}),v.gl}},56068:function(T){T.exports=function(p){typeof p=="string"&&(p=[p]);for(var t=[].slice.call(arguments,1),d=[],g=0;g>1,o=-7,s=g?M-1:0,h=g?-1:1,c=t[d+s];for(s+=h,v=c&(1<<-o)-1,c>>=-o,o+=l;o>0;v=256*v+t[d+s],s+=h,o-=8);for(f=v&(1<<-o)-1,v>>=-o,o+=i;o>0;f=256*f+t[d+s],s+=h,o-=8);if(v===0)v=1-u;else{if(v===a)return f?NaN:1/0*(c?-1:1);f+=Math.pow(2,i),v-=u}return(c?-1:1)*f*Math.pow(2,v-i)},p.write=function(t,d,g,i,M,v){var f,l,a,u=8*v-M-1,o=(1<>1,h=M===23?Math.pow(2,-24)-Math.pow(2,-77):0,c=i?0:v-1,m=i?1:-1,w=d<0||d===0&&1/d<0?1:0;for(d=Math.abs(d),isNaN(d)||d===1/0?(l=isNaN(d)?1:0,f=o):(f=Math.floor(Math.log(d)/Math.LN2),d*(a=Math.pow(2,-f))<1&&(f--,a*=2),(d+=f+s>=1?h/a:h*Math.pow(2,1-s))*a>=2&&(f++,a/=2),f+s>=o?(l=0,f=o):f+s>=1?(l=(d*a-1)*Math.pow(2,M),f+=s):(l=d*Math.pow(2,s-1)*Math.pow(2,M),f=0));M>=8;t[g+c]=255&l,c+=m,l/=256,M-=8);for(f=f<0;t[g+c]=255&f,c+=m,f/=256,u-=8);t[g+c-m]|=128*w}},42018:function(T){typeof Object.create=="function"?T.exports=function(p,t){t&&(p.super_=t,p.prototype=Object.create(t.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}))}:T.exports=function(p,t){if(t){p.super_=t;var d=function(){};d.prototype=t.prototype,p.prototype=new d,p.prototype.constructor=p}}},47216:function(T,p,t){var d=t(84543)(),g=t(6614)("Object.prototype.toString"),i=function(f){return!(d&&f&&typeof f=="object"&&Symbol.toStringTag in f)&&g(f)==="[object Arguments]"},M=function(f){return!!i(f)||f!==null&&typeof f=="object"&&typeof f.length=="number"&&f.length>=0&&g(f)!=="[object Array]"&&g(f.callee)==="[object Function]"},v=function(){return i(arguments)}();i.isLegacyArguments=M,T.exports=v?i:M},54404:function(T){T.exports=!0},85395:function(T){var p,t,d=Function.prototype.toString,g=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply;if(typeof g=="function"&&typeof Object.defineProperty=="function")try{p=Object.defineProperty({},"length",{get:function(){throw t}}),t={},g(function(){throw 42},null,p)}catch(s){s!==t&&(g=null)}else g=null;var i=/^\s*class\b/,M=function(s){try{var h=d.call(s);return i.test(h)}catch{return!1}},v=function(s){try{return!M(s)&&(d.call(s),!0)}catch{return!1}},f=Object.prototype.toString,l=typeof Symbol=="function"&&!!Symbol.toStringTag,a=!(0 in[,]),u=function(){return!1};if(typeof document=="object"){var o=document.all;f.call(o)===f.call(document.all)&&(u=function(s){if((a||!s)&&(s===void 0||typeof s=="object"))try{var h=f.call(s);return(h==="[object HTMLAllCollection]"||h==="[object HTML document.all class]"||h==="[object HTMLCollection]"||h==="[object Object]")&&s("")==null}catch{}return!1})}T.exports=g?function(s){if(u(s))return!0;if(!s||typeof s!="function"&&typeof s!="object")return!1;try{g(s,null,p)}catch(h){if(h!==t)return!1}return!M(s)&&v(s)}:function(s){if(u(s))return!0;if(!s||typeof s!="function"&&typeof s!="object")return!1;if(l)return v(s);if(M(s))return!1;var h=f.call(s);return!(h!=="[object Function]"&&h!=="[object GeneratorFunction]"&&!/^\[object HTML/.test(h))&&v(s)}},65481:function(T,p,t){var d,g=Object.prototype.toString,i=Function.prototype.toString,M=/^\s*(?:function)?\*/,v=t(84543)(),f=Object.getPrototypeOf;T.exports=function(l){if(typeof l!="function")return!1;if(M.test(i.call(l)))return!0;if(!v)return g.call(l)==="[object GeneratorFunction]";if(!f)return!1;if(d===void 0){var a=function(){if(!v)return!1;try{return Function("return function*() {}")()}catch{}}();d=!!a&&f(a)}return f(l)===d}},62683:function(T){T.exports=typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||/Trident\//.test(navigator.appVersion))},64274:function(T){T.exports=function(p){return p!=p}},15567:function(T,p,t){var d=t(68222),g=t(17045),i=t(64274),M=t(14922),v=t(22442),f=d(M(),Number);g(f,{getPolyfill:M,implementation:i,shim:v}),T.exports=f},14922:function(T,p,t){var d=t(64274);T.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:d}},22442:function(T,p,t){var d=t(17045),g=t(14922);T.exports=function(){var i=g();return d(Number,{isNaN:i},{isNaN:function(){return Number.isNaN!==i}}),i}},64941:function(T){T.exports=function(p){var t=typeof p;return p!==null&&(t==="object"||t==="function")}},10973:function(T){var p=Object.prototype.toString;T.exports=function(t){var d;return p.call(t)==="[object Object]"&&((d=Object.getPrototypeOf(t))===null||d===Object.getPrototypeOf({}))}},18546:function(T){T.exports=function(p){for(var t,d=p.length,g=0;g13)&&t!==32&&t!==133&&t!==160&&t!==5760&&t!==6158&&(t<8192||t>8205)&&t!==8232&&t!==8233&&t!==8239&&t!==8287&&t!==8288&&t!==12288&&t!==65279)return!1;return!0}},89546:function(T){T.exports=function(p){return typeof p=="string"&&(p=p.trim(),!!(/^[mzlhvcsqta]\s*[-+.0-9][^mlhvzcsqta]+/i.test(p)&&/[\dz]$/i.test(p)&&p.length>4))}},9187:function(T,p,t){var d=t(31353),g=t(72077),i=t(6614),M=i("Object.prototype.toString"),v=t(84543)(),f=t(40383),l=typeof globalThis>"u"?t.g:globalThis,a=g(),u=i("Array.prototype.indexOf",!0)||function(c,m){for(var w=0;w-1}return!!f&&function(w){var y=!1;return d(s,function(C,_){if(!y)try{y=C.call(w)===_}catch{}}),y}(c)}},44517:function(T){T.exports=function(){var p,t,d;function g(i,M){if(p)if(t){var v="var sharedChunk = {}; ("+p+")(sharedChunk); ("+t+")(sharedChunk);",f={};p(f),(d=M(f)).workerUrl=window.URL.createObjectURL(new Blob([v],{type:"text/javascript"}))}else t=M;else p=M}return g(0,function(i){function M(P,V){return P(V={exports:{}},V.exports),V.exports}var v="1.10.1",f=l;function l(P,V,J,he){this.cx=3*P,this.bx=3*(J-P)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*V,this.by=3*(he-V)-this.cy,this.ay=1-this.cy-this.by,this.p1x=P,this.p1y=he,this.p2x=J,this.p2y=he}l.prototype.sampleCurveX=function(P){return((this.ax*P+this.bx)*P+this.cx)*P},l.prototype.sampleCurveY=function(P){return((this.ay*P+this.by)*P+this.cy)*P},l.prototype.sampleCurveDerivativeX=function(P){return(3*this.ax*P+2*this.bx)*P+this.cx},l.prototype.solveCurveX=function(P,V){var J,he,Ae,Oe,Ge;for(V===void 0&&(V=1e-6),Ae=P,Ge=0;Ge<8;Ge++){if(Oe=this.sampleCurveX(Ae)-P,Math.abs(Oe)(he=1))return he;for(;JOe?J=Ae:he=Ae,Ae=.5*(he-J)+J}return Ae},l.prototype.solve=function(P,V){return this.sampleCurveY(this.solveCurveX(P,V))};var a=u;function u(P,V){this.x=P,this.y=V}function o(P,V,J,he){var Ae=new f(P,V,J,he);return function(Oe){return Ae.solve(Oe)}}u.prototype={clone:function(){return new u(this.x,this.y)},add:function(P){return this.clone()._add(P)},sub:function(P){return this.clone()._sub(P)},multByPoint:function(P){return this.clone()._multByPoint(P)},divByPoint:function(P){return this.clone()._divByPoint(P)},mult:function(P){return this.clone()._mult(P)},div:function(P){return this.clone()._div(P)},rotate:function(P){return this.clone()._rotate(P)},rotateAround:function(P,V){return this.clone()._rotateAround(P,V)},matMult:function(P){return this.clone()._matMult(P)},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(P){return this.x===P.x&&this.y===P.y},dist:function(P){return Math.sqrt(this.distSqr(P))},distSqr:function(P){var V=P.x-this.x,J=P.y-this.y;return V*V+J*J},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(P){return Math.atan2(this.y-P.y,this.x-P.x)},angleWith:function(P){return this.angleWithSep(P.x,P.y)},angleWithSep:function(P,V){return Math.atan2(this.x*V-this.y*P,this.x*P+this.y*V)},_matMult:function(P){var V=P[0]*this.x+P[1]*this.y,J=P[2]*this.x+P[3]*this.y;return this.x=V,this.y=J,this},_add:function(P){return this.x+=P.x,this.y+=P.y,this},_sub:function(P){return this.x-=P.x,this.y-=P.y,this},_mult:function(P){return this.x*=P,this.y*=P,this},_div:function(P){return this.x/=P,this.y/=P,this},_multByPoint:function(P){return this.x*=P.x,this.y*=P.y,this},_divByPoint:function(P){return this.x/=P.x,this.y/=P.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var P=this.y;return this.y=this.x,this.x=-P,this},_rotate:function(P){var V=Math.cos(P),J=Math.sin(P),he=V*this.x-J*this.y,Ae=J*this.x+V*this.y;return this.x=he,this.y=Ae,this},_rotateAround:function(P,V){var J=Math.cos(P),he=Math.sin(P),Ae=V.x+J*(this.x-V.x)-he*(this.y-V.y),Oe=V.y+he*(this.x-V.x)+J*(this.y-V.y);return this.x=Ae,this.y=Oe,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},u.convert=function(P){return P instanceof u?P:Array.isArray(P)?new u(P[0],P[1]):P};var s=o(.25,.1,.25,1);function h(P,V,J){return Math.min(J,Math.max(V,P))}function c(P,V,J){var he=J-V,Ae=((P-V)%he+he)%he+V;return Ae===V?J:Ae}function m(P){for(var V=[],J=arguments.length-1;J-- >0;)V[J]=arguments[J+1];for(var he=0,Ae=V;he>V/4).toString(16):([1e7]+-[1e3]+-4e3+-8e3+-1e11).replace(/[018]/g,P)}()}function _(P){return!!P&&/^[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(P)}function k(P,V){P.forEach(function(J){V[J]&&(V[J]=V[J].bind(V))})}function E(P,V){return P.indexOf(V,P.length-V.length)!==-1}function x(P,V,J){var he={};for(var Ae in P)he[Ae]=V.call(J||this,P[Ae],Ae,P);return he}function A(P,V,J){var he={};for(var Ae in P)V.call(J||this,P[Ae],Ae,P)&&(he[Ae]=P[Ae]);return he}function L(P){return Array.isArray(P)?P.map(L):typeof P=="object"&&P?x(P,L):P}var b={};function R(P){b[P]||(typeof console<"u"&&console.warn(P),b[P]=!0)}function I(P,V,J){return(J.y-P.y)*(V.x-P.x)>(V.y-P.y)*(J.x-P.x)}function O(P){for(var V=0,J=0,he=P.length,Ae=he-1,Oe=void 0,Ge=void 0;J@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g,function(he,Ae,Oe,Ge){var it=Oe||Ge;return V[Ae]=!it||it.toLowerCase(),""}),V["max-age"]){var J=parseInt(V["max-age"],10);isNaN(J)?delete V["max-age"]:V["max-age"]=J}return V}var B=null;function N(P){if(B==null){var V=P.navigator?P.navigator.userAgent:null;B=!!P.safari||!(!V||!(/\b(iPad|iPhone|iPod)\b/.test(V)||V.match("Safari")&&!V.match("Chrome")))}return B}function W(P){try{var V=self[P];return V.setItem("_mapbox_test_",1),V.removeItem("_mapbox_test_"),!0}catch{return!1}}var j,$,U,G,q=self.performance&&self.performance.now?self.performance.now.bind(self.performance):Date.now.bind(Date),H=self.requestAnimationFrame||self.mozRequestAnimationFrame||self.webkitRequestAnimationFrame||self.msRequestAnimationFrame,ne=self.cancelAnimationFrame||self.mozCancelAnimationFrame||self.webkitCancelAnimationFrame||self.msCancelAnimationFrame,te={now:q,frame:function(P){var V=H(P);return{cancel:function(){return ne(V)}}},getImageData:function(P,V){V===void 0&&(V=0);var J=self.document.createElement("canvas"),he=J.getContext("2d");if(!he)throw new Error("failed to create canvas 2d context");return J.width=P.width,J.height=P.height,he.drawImage(P,0,0,P.width,P.height),he.getImageData(-V,-V,P.width+2*V,P.height+2*V)},resolveURL:function(P){return j||(j=self.document.createElement("a")),j.href=P,j.href},hardwareConcurrency:self.navigator.hardwareConcurrency||4,get devicePixelRatio(){return self.devicePixelRatio},get prefersReducedMotion(){return!!self.matchMedia&&($==null&&($=self.matchMedia("(prefers-reduced-motion: reduce)")),$.matches)}},Z={API_URL:"https://api.mapbox.com",get EVENTS_URL(){return this.API_URL?this.API_URL.indexOf("https://api.mapbox.cn")===0?"https://events.mapbox.cn/events/v2":this.API_URL.indexOf("https://api.mapbox.com")===0?"https://events.mapbox.com/events/v2":null:null},FEEDBACK_URL:"https://apps.mapbox.com/feedback",REQUIRE_ACCESS_TOKEN:!0,ACCESS_TOKEN:null,MAX_PARALLEL_IMAGE_REQUESTS:16},X={supported:!1,testSupport:function(P){!Q&&G&&(re?ie(P):U=P)}},Q=!1,re=!1;function ie(P){var V=P.createTexture();P.bindTexture(P.TEXTURE_2D,V);try{if(P.texImage2D(P.TEXTURE_2D,0,P.RGBA,P.RGBA,P.UNSIGNED_BYTE,G),P.isContextLost())return;X.supported=!0}catch{}P.deleteTexture(V),Q=!0}self.document&&((G=self.document.createElement("img")).onload=function(){U&&ie(U),U=null,re=!0},G.onerror=function(){Q=!0,U=null},G.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA=");var oe="01",ue=function(P,V){this._transformRequestFn=P,this._customAccessToken=V,this._createSkuToken()};function ce(P){return P.indexOf("mapbox:")===0}ue.prototype._createSkuToken=function(){var P=function(){for(var V="",J=0;J<10;J++)V+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[Math.floor(62*Math.random())];return{token:["1",oe,V].join(""),tokenExpiresAt:Date.now()+432e5}}();this._skuToken=P.token,this._skuTokenExpiresAt=P.tokenExpiresAt},ue.prototype._isSkuTokenExpired=function(){return Date.now()>this._skuTokenExpiresAt},ue.prototype.transformRequest=function(P,V){return this._transformRequestFn&&this._transformRequestFn(P,V)||{url:P}},ue.prototype.normalizeStyleURL=function(P,V){if(!ce(P))return P;var J=pe(P);return J.path="/styles/v1"+J.path,this._makeAPIURL(J,this._customAccessToken||V)},ue.prototype.normalizeGlyphsURL=function(P,V){if(!ce(P))return P;var J=pe(P);return J.path="/fonts/v1"+J.path,this._makeAPIURL(J,this._customAccessToken||V)},ue.prototype.normalizeSourceURL=function(P,V){if(!ce(P))return P;var J=pe(P);return J.path="/v4/"+J.authority+".json",J.params.push("secure"),this._makeAPIURL(J,this._customAccessToken||V)},ue.prototype.normalizeSpriteURL=function(P,V,J,he){var Ae=pe(P);return ce(P)?(Ae.path="/styles/v1"+Ae.path+"/sprite"+V+J,this._makeAPIURL(Ae,this._customAccessToken||he)):(Ae.path+=""+V+J,xe(Ae))},ue.prototype.normalizeTileURL=function(P,V){if(this._isSkuTokenExpired()&&this._createSkuToken(),P&&!ce(P))return P;var J=pe(P),he=te.devicePixelRatio>=2||V===512?"@2x":"",Ae=X.supported?".webp":"$1";J.path=J.path.replace(/(\.(png|jpg)\d*)(?=$)/,""+he+Ae),J.path=J.path.replace(/^.+\/v4\//,"/"),J.path="/v4"+J.path;var Oe=this._customAccessToken||function(Ge){for(var it=0,pt=Ge;it=1&&self.localStorage.setItem(V,JSON.stringify(this.eventData))}catch{R("Unable to write to LocalStorage")}},Me.prototype.processRequests=function(P){},Me.prototype.postEvent=function(P,V,J,he){var Ae=this;if(Z.EVENTS_URL){var Oe=pe(Z.EVENTS_URL);Oe.params.push("access_token="+(he||Z.ACCESS_TOKEN||""));var Ge={event:this.type,created:new Date(P).toISOString(),sdkIdentifier:"mapbox-gl-js",sdkVersion:v,skuId:oe,userId:this.anonId},it=V?m(Ge,V):Ge,pt={url:xe(Oe),headers:{"Content-Type":"text/plain"},body:JSON.stringify([it])};this.pendingRequest=Ot(pt,function(Ct){Ae.pendingRequest=null,J(Ct),Ae.saveEventData(),Ae.processRequests(he)})}},Me.prototype.queueRequest=function(P,V){this.queue.push(P),this.processRequests(V)};var Se,Ce,ae=function(P){function V(){P.call(this,"map.load"),this.success={},this.skuToken=""}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.postMapLoadEvent=function(J,he,Ae,Oe){this.skuToken=Ae,(Z.EVENTS_URL&&Oe||Z.ACCESS_TOKEN&&Array.isArray(J)&&J.some(function(Ge){return ce(Ge)||de(Ge)}))&&this.queueRequest({id:he,timestamp:Date.now()},Oe)},V.prototype.processRequests=function(J){var he=this;if(!this.pendingRequest&&this.queue.length!==0){var Ae=this.queue.shift(),Oe=Ae.id,Ge=Ae.timestamp;Oe&&this.success[Oe]||(this.anonId||this.fetchEventData(),_(this.anonId)||(this.anonId=C()),this.postEvent(Ge,{skuToken:this.skuToken},function(it){it||Oe&&(he.success[Oe]=!0)},J))}},V}(Me),fe=function(P){function V(J){P.call(this,"appUserTurnstile"),this._customAccessToken=J}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.postTurnstileEvent=function(J,he){Z.EVENTS_URL&&Z.ACCESS_TOKEN&&Array.isArray(J)&&J.some(function(Ae){return ce(Ae)||de(Ae)})&&this.queueRequest(Date.now(),he)},V.prototype.processRequests=function(J){var he=this;if(!this.pendingRequest&&this.queue.length!==0){this.anonId&&this.eventData.lastSuccess&&this.eventData.tokenU||this.fetchEventData();var Ae=_e(Z.ACCESS_TOKEN),Oe=Ae?Ae.u:Z.ACCESS_TOKEN,Ge=Oe!==this.eventData.tokenU;_(this.anonId)||(this.anonId=C(),Ge=!0);var it=this.queue.shift();if(this.eventData.lastSuccess){var pt=new Date(this.eventData.lastSuccess),Ct=new Date(it),Dt=(it-this.eventData.lastSuccess)/864e5;Ge=Ge||Dt>=1||Dt<-1||pt.getDate()!==Ct.getDate()}else Ge=!0;if(!Ge)return this.processRequests();this.postEvent(it,{"enabled.telemetry":!1},function(Gt){Gt||(he.eventData.lastSuccess=it,he.eventData.tokenU=Oe)},J)}},V}(Me),be=new fe,ke=be.postTurnstileEvent.bind(be),Le=new ae,Be=Le.postMapLoadEvent.bind(Le),ze="mapbox-tiles",je=500,ge=50;function we(){self.caches&&!Se&&(Se=self.caches.open(ze))}function Ee(P,V,J){if(we(),Se){var he={status:V.status,statusText:V.statusText,headers:new self.Headers};V.headers.forEach(function(Oe,Ge){return he.headers.set(Ge,Oe)});var Ae=F(V.headers.get("Cache-Control")||"");Ae["no-store"]||(Ae["max-age"]&&he.headers.set("Expires",new Date(J+1e3*Ae["max-age"]).toUTCString()),new Date(he.headers.get("Expires")).getTime()-J<42e4||function(Oe,Ge){if(Ce===void 0)try{new Response(new ReadableStream),Ce=!0}catch{Ce=!1}Ce?Ge(Oe.body):Oe.blob().then(Ge)}(V,function(Oe){var Ge=new self.Response(Oe,he);we(),Se&&Se.then(function(it){return it.put(Ve(P.url),Ge)}).catch(function(it){return R(it.message)})}))}}function Ve(P){var V=P.indexOf("?");return V<0?P:P.slice(0,V)}function $e(P,V){if(we(),!Se)return V(null);var J=Ve(P.url);Se.then(function(he){he.match(J).then(function(Ae){var Oe=function(Ge){if(!Ge)return!1;var it=new Date(Ge.headers.get("Expires")||0),pt=F(Ge.headers.get("Cache-Control")||"");return it>Date.now()&&!pt["no-cache"]}(Ae);he.delete(J),Oe&&he.put(J,Ae.clone()),V(null,Ae,Oe)}).catch(V)}).catch(V)}var Ye,st=1/0;function ot(){return Ye==null&&(Ye=self.OffscreenCanvas&&new self.OffscreenCanvas(1,1).getContext("2d")&&typeof self.createImageBitmap=="function"),Ye}var ht={Unknown:"Unknown",Style:"Style",Source:"Source",Tile:"Tile",Glyphs:"Glyphs",SpriteImage:"SpriteImage",SpriteJSON:"SpriteJSON",Image:"Image"};typeof Object.freeze=="function"&&Object.freeze(ht);var bt=function(P){function V(J,he,Ae){he===401&&de(Ae)&&(J+=": you may have provided an invalid Mapbox access token. See https://www.mapbox.com/api-documentation/#access-tokens-and-token-scopes"),P.call(this,J),this.status=he,this.url=Ae,this.name=this.constructor.name,this.message=J}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.toString=function(){return this.name+": "+this.message+" ("+this.status+"): "+this.url},V}(Error),Et=z()?function(){return self.worker&&self.worker.referrer}:function(){return(self.location.protocol==="blob:"?self.parent:self).location.href};function kt(P,V){var J,he=new self.AbortController,Ae=new self.Request(P.url,{method:P.method||"GET",body:P.body,credentials:P.credentials,headers:P.headers,referrer:Et(),signal:he.signal}),Oe=!1,Ge=!1,it=(J=Ae.url).indexOf("sku=")>0&&de(J);P.type==="json"&&Ae.headers.set("Accept","application/json");var pt=function(Dt,Gt,Zt){if(!Ge){if(Dt&&Dt.message!=="SecurityError"&&R(Dt),Gt&&Zt)return Ct(Gt);var $t=Date.now();self.fetch(Ae).then(function(fn){if(fn.ok){var Mn=it?fn.clone():null;return Ct(fn,Mn,$t)}return V(new bt(fn.statusText,fn.status,P.url))}).catch(function(fn){fn.code!==20&&V(new Error(fn.message))})}},Ct=function(Dt,Gt,Zt){(P.type==="arrayBuffer"?Dt.arrayBuffer():P.type==="json"?Dt.json():Dt.text()).then(function($t){Ge||(Gt&&Zt&&Ee(Ae,Gt,Zt),Oe=!0,V(null,$t,Dt.headers.get("Cache-Control"),Dt.headers.get("Expires")))}).catch(function($t){Ge||V(new Error($t.message))})};return it?$e(Ae,pt):pt(null,null),{cancel:function(){Ge=!0,Oe||he.abort()}}}var xt=function(P,V){if(J=P.url,!(/^file:/.test(J)||/^file:/.test(Et())&&!/^\w+:/.test(J))){if(self.fetch&&self.Request&&self.AbortController&&self.Request.prototype.hasOwnProperty("signal"))return kt(P,V);if(z()&&self.worker&&self.worker.actor)return self.worker.actor.send("getResource",P,V,void 0,!0)}var J;return function(he,Ae){var Oe=new self.XMLHttpRequest;for(var Ge in Oe.open(he.method||"GET",he.url,!0),he.type==="arrayBuffer"&&(Oe.responseType="arraybuffer"),he.headers)Oe.setRequestHeader(Ge,he.headers[Ge]);return he.type==="json"&&(Oe.responseType="text",Oe.setRequestHeader("Accept","application/json")),Oe.withCredentials=he.credentials==="include",Oe.onerror=function(){Ae(new Error(Oe.statusText))},Oe.onload=function(){if((Oe.status>=200&&Oe.status<300||Oe.status===0)&&Oe.response!==null){var it=Oe.response;if(he.type==="json")try{it=JSON.parse(Oe.response)}catch(pt){return Ae(pt)}Ae(null,it,Oe.getResponseHeader("Cache-Control"),Oe.getResponseHeader("Expires"))}else Ae(new bt(Oe.statusText,Oe.status,he.url))},Oe.send(he.body),{cancel:function(){return Oe.abort()}}}(P,V)},Ft=function(P,V){return xt(m(P,{type:"arrayBuffer"}),V)},Ot=function(P,V){return xt(m(P,{method:"POST"}),V)},Bt,qt;Bt=[],qt=0;var Vt=function(P,V){if(X.supported&&(P.headers||(P.headers={}),P.headers.accept="image/webp,*/*"),qt>=Z.MAX_PARALLEL_IMAGE_REQUESTS){var J={requestParameters:P,callback:V,cancelled:!1,cancel:function(){this.cancelled=!0}};return Bt.push(J),J}qt++;var he=!1,Ae=function(){if(!he)for(he=!0,qt--;Bt.length&&qt0||this._oneTimeListeners&&this._oneTimeListeners[P]&&this._oneTimeListeners[P].length>0||this._eventedParent&&this._eventedParent.listens(P)},ft.prototype.setEventedParent=function(P,V){return this._eventedParent=P,this._eventedParentData=V,this};var Re={$version:8,$root:{version:{required:!0,type:"enum",values:[8]},name:{type:"string"},metadata:{type:"*"},center:{type:"array",value:"number"},zoom:{type:"number"},bearing:{type:"number",default:0,period:360,units:"degrees"},pitch:{type:"number",default:0,units:"degrees"},light:{type:"light"},sources:{required:!0,type:"sources"},sprite:{type:"string"},glyphs:{type:"string"},transition:{type:"transition"},layers:{required:!0,type:"array",value:"layer"}},sources:{"*":{type:"source"}},source:["source_vector","source_raster","source_raster_dem","source_geojson","source_video","source_image"],source_vector:{type:{required:!0,type:"enum",values:{vector:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},attribution:{type:"string"},promoteId:{type:"promoteId"},"*":{type:"*"}},source_raster:{type:{required:!0,type:"enum",values:{raster:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},attribution:{type:"string"},"*":{type:"*"}},source_raster_dem:{type:{required:!0,type:"enum",values:{"raster-dem":{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},attribution:{type:"string"},encoding:{type:"enum",values:{terrarium:{},mapbox:{}},default:"mapbox"},"*":{type:"*"}},source_geojson:{type:{required:!0,type:"enum",values:{geojson:{}}},data:{type:"*"},maxzoom:{type:"number",default:18},attribution:{type:"string"},buffer:{type:"number",default:128,maximum:512,minimum:0},tolerance:{type:"number",default:.375},cluster:{type:"boolean",default:!1},clusterRadius:{type:"number",default:50,minimum:0},clusterMaxZoom:{type:"number"},clusterProperties:{type:"*"},lineMetrics:{type:"boolean",default:!1},generateId:{type:"boolean",default:!1},promoteId:{type:"promoteId"}},source_video:{type:{required:!0,type:"enum",values:{video:{}}},urls:{required:!0,type:"array",value:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},source_image:{type:{required:!0,type:"enum",values:{image:{}}},url:{required:!0,type:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},layer:{id:{type:"string",required:!0},type:{type:"enum",values:{fill:{},line:{},symbol:{},circle:{},heatmap:{},"fill-extrusion":{},raster:{},hillshade:{},background:{}},required:!0},metadata:{type:"*"},source:{type:"string"},"source-layer":{type:"string"},minzoom:{type:"number",minimum:0,maximum:24},maxzoom:{type:"number",minimum:0,maximum:24},filter:{type:"filter"},layout:{type:"layout"},paint:{type:"paint"}},layout:["layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_hillshade","layout_background"],layout_background:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_fill:{"fill-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_circle:{"circle-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_heatmap:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},"layout_fill-extrusion":{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_line:{"line-cap":{type:"enum",values:{butt:{},round:{},square:{}},default:"butt",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-join":{type:"enum",values:{bevel:{},round:{},miter:{}},default:"miter",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{type:"number",default:2,requires:[{"line-join":"miter"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-round-limit":{type:"number",default:1.05,requires:[{"line-join":"round"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_symbol:{"symbol-placement":{type:"enum",values:{point:{},line:{},"line-center":{}},default:"point",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-spacing":{type:"number",default:250,minimum:1,units:"pixels",requires:[{"symbol-placement":"line"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{type:"boolean",default:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"symbol-z-order":{type:"enum",values:{auto:{},"viewport-y":{},source:{}},default:"auto",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-optional":{type:"boolean",default:!1,requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-size":{type:"number",default:1,minimum:0,units:"factor of the original icon size",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit":{type:"enum",values:{none:{},width:{},height:{},both:{}},default:"none",requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-text-fit-padding":{type:"array",value:"number",length:4,default:[0,0,0,0],units:"pixels",requires:["icon-image","text-field",{"icon-text-fit":["both","width","height"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-image":{type:"resolvedImage",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-keep-upright":{type:"boolean",default:!1,requires:["icon-image",{"icon-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-offset":{type:"array",value:"number",length:2,default:[0,0],requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-field":{type:"formatted",default:"",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-font":{type:"array",value:"string",default:["Open Sans Regular","Arial Unicode MS Regular"],requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-size":{type:"number",default:16,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-width":{type:"number",default:10,minimum:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{type:"number",default:1.2,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-letter-spacing":{type:"number",default:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-justify":{type:"enum",values:{auto:{},left:{},center:{},right:{}},default:"center",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-radial-offset":{type:"number",units:"ems",default:0,requires:["text-field"],"property-type":"data-driven",expression:{interpolated:!0,parameters:["zoom","feature"]}},"text-variable-anchor":{type:"array",value:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["text-field",{"!":"text-variable-anchor"}],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{type:"number",default:45,units:"degrees",requires:["text-field",{"symbol-placement":["line","line-center"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-writing-mode":{type:"array",value:"enum",values:{horizontal:{},vertical:{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-keep-upright":{type:"boolean",default:!0,requires:["text-field",{"text-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-transform":{type:"enum",values:{none:{},uppercase:{},lowercase:{}},default:"none",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-offset":{type:"array",value:"number",units:"ems",length:2,default:[0,0],requires:["text-field",{"!":"text-radial-offset"}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-optional":{type:"boolean",default:!1,requires:["text-field","icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_raster:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_hillshade:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},filter:{type:"array",value:"*"},filter_operator:{type:"enum",values:{"==":{},"!=":{},">":{},">=":{},"<":{},"<=":{},in:{},"!in":{},all:{},any:{},none:{},has:{},"!has":{},within:{}}},geometry_type:{type:"enum",values:{Point:{},LineString:{},Polygon:{}}},function:{expression:{type:"expression"},stops:{type:"array",value:"function_stop"},base:{type:"number",default:1,minimum:0},property:{type:"string",default:"$zoom"},type:{type:"enum",values:{identity:{},exponential:{},interval:{},categorical:{}},default:"exponential"},colorSpace:{type:"enum",values:{rgb:{},lab:{},hcl:{}},default:"rgb"},default:{type:"*",required:!1}},function_stop:{type:"array",minimum:0,maximum:24,value:["number","color"],length:2},expression:{type:"array",value:"*",minimum:1},expression_name:{type:"enum",values:{let:{group:"Variable binding"},var:{group:"Variable binding"},literal:{group:"Types"},array:{group:"Types"},at:{group:"Lookup"},in:{group:"Lookup"},"index-of":{group:"Lookup"},slice:{group:"Lookup"},case:{group:"Decision"},match:{group:"Decision"},coalesce:{group:"Decision"},step:{group:"Ramps, scales, curves"},interpolate:{group:"Ramps, scales, curves"},"interpolate-hcl":{group:"Ramps, scales, curves"},"interpolate-lab":{group:"Ramps, scales, curves"},ln2:{group:"Math"},pi:{group:"Math"},e:{group:"Math"},typeof:{group:"Types"},string:{group:"Types"},number:{group:"Types"},boolean:{group:"Types"},object:{group:"Types"},collator:{group:"Types"},format:{group:"Types"},image:{group:"Types"},"number-format":{group:"Types"},"to-string":{group:"Types"},"to-number":{group:"Types"},"to-boolean":{group:"Types"},"to-rgba":{group:"Color"},"to-color":{group:"Types"},rgb:{group:"Color"},rgba:{group:"Color"},get:{group:"Lookup"},has:{group:"Lookup"},length:{group:"Lookup"},properties:{group:"Feature data"},"feature-state":{group:"Feature data"},"geometry-type":{group:"Feature data"},id:{group:"Feature data"},zoom:{group:"Zoom"},"heatmap-density":{group:"Heatmap"},"line-progress":{group:"Feature data"},accumulated:{group:"Feature data"},"+":{group:"Math"},"*":{group:"Math"},"-":{group:"Math"},"/":{group:"Math"},"%":{group:"Math"},"^":{group:"Math"},sqrt:{group:"Math"},log10:{group:"Math"},ln:{group:"Math"},log2:{group:"Math"},sin:{group:"Math"},cos:{group:"Math"},tan:{group:"Math"},asin:{group:"Math"},acos:{group:"Math"},atan:{group:"Math"},min:{group:"Math"},max:{group:"Math"},round:{group:"Math"},abs:{group:"Math"},ceil:{group:"Math"},floor:{group:"Math"},distance:{group:"Math"},"==":{group:"Decision"},"!=":{group:"Decision"},">":{group:"Decision"},"<":{group:"Decision"},">=":{group:"Decision"},"<=":{group:"Decision"},all:{group:"Decision"},any:{group:"Decision"},"!":{group:"Decision"},within:{group:"Decision"},"is-supported-script":{group:"String"},upcase:{group:"String"},downcase:{group:"String"},concat:{group:"String"},"resolved-locale":{group:"String"}}},light:{anchor:{type:"enum",default:"viewport",values:{map:{},viewport:{}},"property-type":"data-constant",transition:!1,expression:{interpolated:!1,parameters:["zoom"]}},position:{type:"array",default:[1.15,210,30],length:3,value:"number","property-type":"data-constant",transition:!0,expression:{interpolated:!0,parameters:["zoom"]}},color:{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},intensity:{type:"number","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0}},paint:["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_background"],paint_fill:{"fill-antialias":{type:"boolean",default:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-outline-color":{type:"color",transition:!0,requires:[{"!":"fill-pattern"},{"fill-antialias":!0}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"}},"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-extrusion-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",transition:!0,requires:["fill-extrusion-height"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,transition:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_line:{"line-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"line-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["line-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-width":{type:"number",default:1,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-gap-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-offset":{type:"number",default:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-dasharray":{type:"array",value:"number",minimum:0,transition:!0,units:"line widths",requires:[{"!":"line-pattern"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"line-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"line-gradient":{type:"color",transition:!1,requires:[{"!":"line-dasharray"},{"!":"line-pattern"},{source:"geojson",has:{lineMetrics:!0}}],expression:{interpolated:!0,parameters:["line-progress"]},"property-type":"color-ramp"}},paint_circle:{"circle-radius":{type:"number",default:5,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-blur":{type:"number",default:0,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["circle-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{type:"enum",values:{map:{},viewport:{}},default:"map",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"}},paint_heatmap:{"heatmap-radius":{type:"number",default:30,minimum:1,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-weight":{type:"number",default:1,minimum:0,transition:!1,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-intensity":{type:"number",default:1,minimum:0,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"heatmap-color":{type:"color",default:["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",.1,"royalblue",.3,"cyan",.5,"lime",.7,"yellow",1,"red"],transition:!1,expression:{interpolated:!0,parameters:["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_symbol:{"icon-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-color":{type:"color",default:"#000000",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["icon-image","icon-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-color":{type:"color",default:"#000000",transition:!0,overridable:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["text-field","text-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_raster:{"raster-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-hue-rotate":{type:"number",default:0,period:360,transition:!0,units:"degrees",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{type:"number",default:0,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-saturation":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-contrast":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-resampling":{type:"enum",values:{linear:{},nearest:{}},default:"linear",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"raster-fade-duration":{type:"number",default:300,minimum:0,transition:!1,units:"milliseconds",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_hillshade:{"hillshade-illumination-direction":{type:"number",default:335,minimum:0,maximum:359,transition:!1,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-illumination-anchor":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-exaggeration":{type:"number",default:.5,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-highlight-color":{type:"color",default:"#FFFFFF",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-accent-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_background:{"background-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"background-pattern"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"background-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"background-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},transition:{duration:{type:"number",default:300,minimum:0,units:"milliseconds"},delay:{type:"number",default:0,minimum:0,units:"milliseconds"}},"property-type":{"data-driven":{type:"property-type"},"cross-faded":{type:"property-type"},"cross-faded-data-driven":{type:"property-type"},"color-ramp":{type:"property-type"},"data-constant":{type:"property-type"},constant:{type:"property-type"}},promoteId:{"*":{type:"string"}}},Ne=function(P,V,J,he){this.message=(P?P+": ":"")+J,he&&(this.identifier=he),V!=null&&V.__line__&&(this.line=V.__line__)};function Qe(P){var V=P.key,J=P.value;return J?[new Ne(V,J,"constants have been deprecated as of v8")]:[]}function ut(P){for(var V=[],J=arguments.length-1;J-- >0;)V[J]=arguments[J+1];for(var he=0,Ae=V;he":P.itemType.kind==="value"?"array":"array<"+V+">"}return P.kind}var An=[yt,Pt,wt,Rt,Nt,Qt,Yt,xn(Wt),rn];function Yn(P,V){if(V.kind==="error")return null;if(P.kind==="array"){if(V.kind==="array"&&(V.N===0&&V.itemType.kind==="value"||!Yn(P.itemType,V.itemType))&&(typeof P.N!="number"||P.N===V.N))return null}else{if(P.kind===V.kind)return null;if(P.kind==="value"){for(var J=0,he=An;J255?255:pt}function Ae(pt){return pt<0?0:pt>1?1:pt}function Oe(pt){return pt[pt.length-1]==="%"?he(parseFloat(pt)/100*255):he(parseInt(pt))}function Ge(pt){return pt[pt.length-1]==="%"?Ae(parseFloat(pt)/100):Ae(parseFloat(pt))}function it(pt,Ct,Dt){return Dt<0?Dt+=1:Dt>1&&(Dt-=1),6*Dt<1?pt+(Ct-pt)*Dt*6:2*Dt<1?Ct:3*Dt<2?pt+(Ct-pt)*(2/3-Dt)*6:pt}try{V.parseCSSColor=function(pt){var Ct,Dt=pt.replace(/ /g,"").toLowerCase();if(Dt in J)return J[Dt].slice();if(Dt[0]==="#")return Dt.length===4?(Ct=parseInt(Dt.substr(1),16))>=0&&Ct<=4095?[(3840&Ct)>>4|(3840&Ct)>>8,240&Ct|(240&Ct)>>4,15&Ct|(15&Ct)<<4,1]:null:Dt.length===7&&(Ct=parseInt(Dt.substr(1),16))>=0&&Ct<=16777215?[(16711680&Ct)>>16,(65280&Ct)>>8,255&Ct,1]:null;var Gt=Dt.indexOf("("),Zt=Dt.indexOf(")");if(Gt!==-1&&Zt+1===Dt.length){var $t=Dt.substr(0,Gt),fn=Dt.substr(Gt+1,Zt-(Gt+1)).split(","),Mn=1;switch($t){case"rgba":if(fn.length!==4)return null;Mn=Ge(fn.pop());case"rgb":return fn.length!==3?null:[Oe(fn[0]),Oe(fn[1]),Oe(fn[2]),Mn];case"hsla":if(fn.length!==4)return null;Mn=Ge(fn.pop());case"hsl":if(fn.length!==3)return null;var Nn=(parseFloat(fn[0])%360+360)%360/360,Bn=Ge(fn[1]),Wn=Ge(fn[2]),Zn=Wn<=.5?Wn*(Bn+1):Wn+Bn-Wn*Bn,er=2*Wn-Zn;return[he(255*it(er,Zn,Nn+1/3)),he(255*it(er,Zn,Nn)),he(255*it(er,Zn,Nn-1/3)),Mn];default:return null}}return null}}catch{}}),dn=Tn.parseCSSColor,pn=function(P,V,J,he){he===void 0&&(he=1),this.r=P,this.g=V,this.b=J,this.a=he};pn.parse=function(P){if(P){if(P instanceof pn)return P;if(typeof P=="string"){var V=dn(P);if(V)return new pn(V[0]/255*V[3],V[1]/255*V[3],V[2]/255*V[3],V[3])}}},pn.prototype.toString=function(){var P=this.toArray(),V=P[0],J=P[1],he=P[2],Ae=P[3];return"rgba("+Math.round(V)+","+Math.round(J)+","+Math.round(he)+","+Ae+")"},pn.prototype.toArray=function(){var P=this,V=P.r,J=P.g,he=P.b,Ae=P.a;return Ae===0?[0,0,0,0]:[255*V/Ae,255*J/Ae,255*he/Ae,Ae]},pn.black=new pn(0,0,0,1),pn.white=new pn(1,1,1,1),pn.transparent=new pn(0,0,0,0),pn.red=new pn(1,0,0,1);var Dn=function(P,V,J){this.sensitivity=P?V?"variant":"case":V?"accent":"base",this.locale=J,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"})};Dn.prototype.compare=function(P,V){return this.collator.compare(P,V)},Dn.prototype.resolvedLocale=function(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale};var In=function(P,V,J,he,Ae){this.text=P,this.image=V,this.scale=J,this.fontStack=he,this.textColor=Ae},jn=function(P){this.sections=P};jn.fromString=function(P){return new jn([new In(P,null,null,null,null)])},jn.prototype.isEmpty=function(){return this.sections.length===0||!this.sections.some(function(P){return P.text.length!==0||P.image&&P.image.name.length!==0})},jn.factory=function(P){return P instanceof jn?P:jn.fromString(P)},jn.prototype.toString=function(){return this.sections.length===0?"":this.sections.map(function(P){return P.text}).join("")},jn.prototype.serialize=function(){for(var P=["format"],V=0,J=this.sections;V=0&&P<=255&&typeof V=="number"&&V>=0&&V<=255&&typeof J=="number"&&J>=0&&J<=255?he===void 0||typeof he=="number"&&he>=0&&he<=1?null:"Invalid rgba value ["+[P,V,J,he].join(", ")+"]: 'a' must be between 0 and 1.":"Invalid rgba value ["+(typeof he=="number"?[P,V,J,he]:[P,V,J]).join(", ")+"]: 'r', 'g', and 'b' must be between 0 and 255."}function lr(P){if(P===null||typeof P=="string"||typeof P=="boolean"||typeof P=="number"||P instanceof pn||P instanceof Dn||P instanceof jn||P instanceof Gn)return!0;if(Array.isArray(P)){for(var V=0,J=P;V2){var it=P[1];if(typeof it!="string"||!(it in vr)||it==="object")return V.error('The item type argument of "array" must be one of string, number, boolean',1);Oe=vr[it],he++}else Oe=Wt;if(P.length>3){if(P[2]!==null&&(typeof P[2]!="number"||P[2]<0||P[2]!==Math.floor(P[2])))return V.error('The length argument to "array" must be a positive integer literal',2);Ge=P[2],he++}J=xn(Oe,Ge)}else J=vr[Ae];for(var pt=[];he1)&&V.push(he)}}return V.concat(this.args.map(function(Ae){return Ae.serialize()}))};var Kt=function(P){this.type=Qt,this.sections=P};Kt.parse=function(P,V){if(P.length<2)return V.error("Expected at least one argument.");var J=P[1];if(!Array.isArray(J)&&typeof J=="object")return V.error("First argument must be an image or text section.");for(var he=[],Ae=!1,Oe=1;Oe<=P.length-1;++Oe){var Ge=P[Oe];if(Ae&&typeof Ge=="object"&&!Array.isArray(Ge)){Ae=!1;var it=null;if(Ge["font-scale"]&&!(it=V.parse(Ge["font-scale"],1,Pt)))return null;var pt=null;if(Ge["text-font"]&&!(pt=V.parse(Ge["text-font"],1,xn(wt))))return null;var Ct=null;if(Ge["text-color"]&&!(Ct=V.parse(Ge["text-color"],1,Nt)))return null;var Dt=he[he.length-1];Dt.scale=it,Dt.font=pt,Dt.textColor=Ct}else{var Gt=V.parse(P[Oe],1,Wt);if(!Gt)return null;var Zt=Gt.type.kind;if(Zt!=="string"&&Zt!=="value"&&Zt!=="null"&&Zt!=="resolvedImage")return V.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");Ae=!0,he.push({content:Gt,scale:null,font:null,textColor:null})}}return new Kt(he)},Kt.prototype.evaluate=function(P){return new jn(this.sections.map(function(V){var J=V.content.evaluate(P);return rr(J)===rn?new In("",J,null,null,null):new In(Sr(J),null,V.scale?V.scale.evaluate(P):null,V.font?V.font.evaluate(P).join(","):null,V.textColor?V.textColor.evaluate(P):null)}))},Kt.prototype.eachChild=function(P){for(var V=0,J=this.sections;V-1),J},bn.prototype.eachChild=function(P){P(this.input)},bn.prototype.outputDefined=function(){return!1},bn.prototype.serialize=function(){return["image",this.input.serialize()]};var Rn={"to-boolean":Rt,"to-color":Nt,"to-number":Pt,"to-string":wt},Ln=function(P,V){this.type=P,this.args=V};Ln.parse=function(P,V){if(P.length<2)return V.error("Expected at least one argument.");var J=P[0];if((J==="to-boolean"||J==="to-string")&&P.length!==2)return V.error("Expected one argument.");for(var he=Rn[J],Ae=[],Oe=1;Oe4?"Invalid rbga value "+JSON.stringify(V)+": expected an array containing either three or four numeric values.":qn(V[0],V[1],V[2],V[3])))return new pn(V[0]/255,V[1]/255,V[2]/255,V[3])}throw new or(J||"Could not parse color from value '"+(typeof V=="string"?V:String(JSON.stringify(V)))+"'")}if(this.type.kind==="number"){for(var Ge=null,it=0,pt=this.args;it=V[2]||P[1]<=V[1]||P[3]>=V[3])}function jt(P,V){var J,he=(180+P[0])/360,Ae=(J=P[1],(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+J*Math.PI/360)))/360),Oe=Math.pow(2,V.z);return[Math.round(he*Oe*mr),Math.round(Ae*Oe*mr)]}function Jt(P,V,J){return V[1]>P[1]!=J[1]>P[1]&&P[0]<(J[0]-V[0])*(P[1]-V[1])/(J[1]-V[1])+V[0]}function hn(P,V){for(var J=!1,he=0,Ae=V.length;he0&&Gt<0||Dt<0&&Gt>0}function En(P,V,J){for(var he=0,Ae=J;heJ[2]){var Ae=.5*he,Oe=P[0]-J[0]>Ae?-he:J[0]-P[0]>Ae?he:0;Oe===0&&(Oe=P[0]-J[2]>Ae?-he:J[2]-P[0]>Ae?he:0),P[0]+=Oe}nn(V,P)}function Vn(P,V,J,he){for(var Ae=Math.pow(2,he.z)*mr,Oe=[he.x*mr,he.y*mr],Ge=[],it=0,pt=P;it=0)return!1;var J=!0;return P.eachChild(function(he){J&&!cr(he,V)&&(J=!1)}),J}nr.parse=function(P,V){if(P.length!==2)return V.error("'within' expression requires exactly one argument, but found "+(P.length-1)+" instead.");if(lr(P[1])){var J=P[1];if(J.type==="FeatureCollection")for(var he=0;heV))throw new or("Input is not a number.");Ge=it-1}return 0}dr.prototype.parse=function(P,V,J,he,Ae){return Ae===void 0&&(Ae={}),V?this.concat(V,J,he)._parse(P,Ae):this._parse(P,Ae)},dr.prototype._parse=function(P,V){function J(Ct,Dt,Gt){return Gt==="assert"?new _r(Dt,[Ct]):Gt==="coerce"?new Ln(Dt,[Ct]):Ct}if(P!==null&&typeof P!="string"&&typeof P!="boolean"&&typeof P!="number"||(P=["literal",P]),Array.isArray(P)){if(P.length===0)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');var he=P[0];if(typeof he!="string")return this.error("Expression name must be a string, but found "+typeof he+' instead. If you wanted a literal array, use ["literal", [...]].',0),null;var Ae=this.registry[he];if(Ae){var Oe=Ae.parse(P,this);if(!Oe)return null;if(this.expectedType){var Ge=this.expectedType,it=Oe.type;if(Ge.kind!=="string"&&Ge.kind!=="number"&&Ge.kind!=="boolean"&&Ge.kind!=="object"&&Ge.kind!=="array"||it.kind!=="value")if(Ge.kind!=="color"&&Ge.kind!=="formatted"&&Ge.kind!=="resolvedImage"||it.kind!=="value"&&it.kind!=="string"){if(this.checkSubtype(Ge,it))return null}else Oe=J(Oe,Ge,V.typeAnnotation||"coerce");else Oe=J(Oe,Ge,V.typeAnnotation||"assert")}if(!(Oe instanceof yr)&&Oe.type.kind!=="resolvedImage"&&br(Oe)){var pt=new Kn;try{Oe=new yr(Oe.type,Oe.evaluate(pt))}catch(Ct){return this.error(Ct.message),null}}return Oe}return this.error('Unknown expression "'+he+'". If you wanted a literal array, use ["literal", [...]].',0)}return P===void 0?this.error("'undefined' value invalid. Use null instead."):typeof P=="object"?this.error('Bare objects invalid. Use ["literal", {...}] instead.'):this.error("Expected an array, but found "+typeof P+" instead.")},dr.prototype.concat=function(P,V,J){var he=typeof P=="number"?this.path.concat(P):this.path,Ae=J?this.scope.concat(J):this.scope;return new dr(this.registry,he,V||null,Ae,this.errors)},dr.prototype.error=function(P){for(var V=[],J=arguments.length-1;J-- >0;)V[J]=arguments[J+1];var he=""+this.key+V.map(function(Ae){return"["+Ae+"]"}).join("");this.errors.push(new It(he,P))},dr.prototype.checkSubtype=function(P,V){var J=Yn(P,V);return J&&this.error(J),J};var Lr=function(P,V,J){this.type=P,this.input=V,this.labels=[],this.outputs=[];for(var he=0,Ae=J;he=Ge)return V.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',pt);var Dt=V.parse(it,Ct,Ae);if(!Dt)return null;Ae=Ae||Dt.type,he.push([Ge,Dt])}return new Lr(Ae,J,he)},Lr.prototype.evaluate=function(P){var V=this.labels,J=this.outputs;if(V.length===1)return J[0].evaluate(P);var he=this.input.evaluate(P);if(he<=V[0])return J[0].evaluate(P);var Ae=V.length;return he>=V[Ae-1]?J[Ae-1].evaluate(P):J[Rr(V,he)].evaluate(P)},Lr.prototype.eachChild=function(P){P(this.input);for(var V=0,J=this.outputs;V0&&P.push(this.labels[V]),P.push(this.outputs[V].serialize());return P};var gr=Object.freeze({__proto__:null,number:zr,color:function(P,V,J){return new pn(zr(P.r,V.r,J),zr(P.g,V.g,J),zr(P.b,V.b,J),zr(P.a,V.a,J))},array:function(P,V,J){return P.map(function(he,Ae){return zr(he,V[Ae],J)})}}),Fr=.95047,ii=1.08883,ji=4/29,ea=6/29,sa=3*ea*ea,co=Math.PI/180,La=180/Math.PI;function Xi(P){return P>.008856451679035631?Math.pow(P,.3333333333333333):P/sa+ji}function Do(P){return P>ea?P*P*P:sa*(P-ji)}function rs(P){return 255*(P<=.0031308?12.92*P:1.055*Math.pow(P,.4166666666666667)-.055)}function el(P){return(P/=255)<=.04045?P/12.92:Math.pow((P+.055)/1.055,2.4)}function Cu(P){var V=el(P.r),J=el(P.g),he=el(P.b),Ae=Xi((.4124564*V+.3575761*J+.1804375*he)/Fr),Oe=Xi((.2126729*V+.7151522*J+.072175*he)/1);return{l:116*Oe-16,a:500*(Ae-Oe),b:200*(Oe-Xi((.0193339*V+.119192*J+.9503041*he)/ii)),alpha:P.a}}function gf(P){var V=(P.l+16)/116,J=isNaN(P.a)?V:V+P.a/500,he=isNaN(P.b)?V:V-P.b/200;return V=1*Do(V),J=Fr*Do(J),he=ii*Do(he),new pn(rs(3.2404542*J-1.5371385*V-.4985314*he),rs(-.969266*J+1.8760108*V+.041556*he),rs(.0556434*J-.2040259*V+1.0572252*he),P.alpha)}function Mh(P,V,J){var he=V-P;return P+J*(he>180||he<-180?he-360*Math.round(he/360):he)}var Eu={forward:Cu,reverse:gf,interpolate:function(P,V,J){return{l:zr(P.l,V.l,J),a:zr(P.a,V.a,J),b:zr(P.b,V.b,J),alpha:zr(P.alpha,V.alpha,J)}}},is={forward:function(P){var V=Cu(P),J=V.l,he=V.a,Ae=V.b,Oe=Math.atan2(Ae,he)*La;return{h:Oe<0?Oe+360:Oe,c:Math.sqrt(he*he+Ae*Ae),l:J,alpha:P.a}},reverse:function(P){var V=P.h*co,J=P.c;return gf({l:P.l,a:Math.cos(V)*J,b:Math.sin(V)*J,alpha:P.alpha})},interpolate:function(P,V,J){return{h:Mh(P.h,V.h,J),c:zr(P.c,V.c,J),l:zr(P.l,V.l,J),alpha:zr(P.alpha,V.alpha,J)}}},Ah=Object.freeze({__proto__:null,lab:Eu,hcl:is}),Ya=function(P,V,J,he,Ae){this.type=P,this.operator=V,this.interpolation=J,this.input=he,this.labels=[],this.outputs=[];for(var Oe=0,Ge=Ae;Oe1}))return V.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);he={name:"cubic-bezier",controlPoints:it}}if(P.length-1<4)return V.error("Expected at least 4 arguments, but found only "+(P.length-1)+".");if((P.length-1)%2!=0)return V.error("Expected an even number of arguments.");if(!(Ae=V.parse(Ae,2,Pt)))return null;var pt=[],Ct=null;J==="interpolate-hcl"||J==="interpolate-lab"?Ct=Nt:V.expectedType&&V.expectedType.kind!=="value"&&(Ct=V.expectedType);for(var Dt=0;Dt=Gt)return V.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',$t);var Mn=V.parse(Zt,fn,Ct);if(!Mn)return null;Ct=Ct||Mn.type,pt.push([Gt,Mn])}return Ct.kind==="number"||Ct.kind==="color"||Ct.kind==="array"&&Ct.itemType.kind==="number"&&typeof Ct.N=="number"?new Ya(Ct,J,he,Ae,pt):V.error("Type "+un(Ct)+" is not interpolatable.")},Ya.prototype.evaluate=function(P){var V=this.labels,J=this.outputs;if(V.length===1)return J[0].evaluate(P);var he=this.input.evaluate(P);if(he<=V[0])return J[0].evaluate(P);var Ae=V.length;if(he>=V[Ae-1])return J[Ae-1].evaluate(P);var Oe=Rr(V,he),Ge=V[Oe],it=V[Oe+1],pt=Ya.interpolationFactor(this.interpolation,he,Ge,it),Ct=J[Oe].evaluate(P),Dt=J[Oe+1].evaluate(P);return this.operator==="interpolate"?gr[this.type.kind.toLowerCase()](Ct,Dt,pt):this.operator==="interpolate-hcl"?is.reverse(is.interpolate(is.forward(Ct),is.forward(Dt),pt)):Eu.reverse(Eu.interpolate(Eu.forward(Ct),Eu.forward(Dt),pt))},Ya.prototype.eachChild=function(P){P(this.input);for(var V=0,J=this.outputs;V=J.length)throw new or("Array index out of bounds: "+V+" > "+(J.length-1)+".");if(V!==Math.floor(V))throw new or("Array index must be an integer, but found "+V+" instead.");return J[V]},Al.prototype.eachChild=function(P){P(this.index),P(this.input)},Al.prototype.outputDefined=function(){return!1},Al.prototype.serialize=function(){return["at",this.index.serialize(),this.input.serialize()]};var Ui=function(P,V){this.type=Rt,this.needle=P,this.haystack=V};Ui.parse=function(P,V){if(P.length!==3)return V.error("Expected 2 arguments, but found "+(P.length-1)+" instead.");var J=V.parse(P[1],1,Wt),he=V.parse(P[2],2,Wt);return J&&he?kn(J.type,[Rt,wt,Pt,yt,Wt])?new Ui(J,he):V.error("Expected first argument to be of type boolean, string, number or null, but found "+un(J.type)+" instead"):null},Ui.prototype.evaluate=function(P){var V=this.needle.evaluate(P),J=this.haystack.evaluate(P);if(!J)return!1;if(!sn(V,["boolean","string","number","null"]))throw new or("Expected first argument to be of type boolean, string, number or null, but found "+un(rr(V))+" instead.");if(!sn(J,["string","array"]))throw new or("Expected second argument to be of type array or string, but found "+un(rr(J))+" instead.");return J.indexOf(V)>=0},Ui.prototype.eachChild=function(P){P(this.needle),P(this.haystack)},Ui.prototype.outputDefined=function(){return!0},Ui.prototype.serialize=function(){return["in",this.needle.serialize(),this.haystack.serialize()]};var Sl=function(P,V,J){this.type=Pt,this.needle=P,this.haystack=V,this.fromIndex=J};Sl.parse=function(P,V){if(P.length<=2||P.length>=5)return V.error("Expected 3 or 4 arguments, but found "+(P.length-1)+" instead.");var J=V.parse(P[1],1,Wt),he=V.parse(P[2],2,Wt);if(!J||!he)return null;if(!kn(J.type,[Rt,wt,Pt,yt,Wt]))return V.error("Expected first argument to be of type boolean, string, number or null, but found "+un(J.type)+" instead");if(P.length===4){var Ae=V.parse(P[3],3,Pt);return Ae?new Sl(J,he,Ae):null}return new Sl(J,he)},Sl.prototype.evaluate=function(P){var V=this.needle.evaluate(P),J=this.haystack.evaluate(P);if(!sn(V,["boolean","string","number","null"]))throw new or("Expected first argument to be of type boolean, string, number or null, but found "+un(rr(V))+" instead.");if(!sn(J,["string","array"]))throw new or("Expected second argument to be of type array or string, but found "+un(rr(J))+" instead.");if(this.fromIndex){var he=this.fromIndex.evaluate(P);return J.indexOf(V,he)}return J.indexOf(V)},Sl.prototype.eachChild=function(P){P(this.needle),P(this.haystack),this.fromIndex&&P(this.fromIndex)},Sl.prototype.outputDefined=function(){return!1},Sl.prototype.serialize=function(){if(this.fromIndex!=null&&this.fromIndex!==void 0){var P=this.fromIndex.serialize();return["index-of",this.needle.serialize(),this.haystack.serialize(),P]}return["index-of",this.needle.serialize(),this.haystack.serialize()]};var ps=function(P,V,J,he,Ae,Oe){this.inputType=P,this.type=V,this.input=J,this.cases=he,this.outputs=Ae,this.otherwise=Oe};ps.parse=function(P,V){if(P.length<5)return V.error("Expected at least 4 arguments, but found only "+(P.length-1)+".");if(P.length%2!=1)return V.error("Expected an even number of arguments.");var J,he;V.expectedType&&V.expectedType.kind!=="value"&&(he=V.expectedType);for(var Ae={},Oe=[],Ge=2;GeNumber.MAX_SAFE_INTEGER)return Ct.error("Branch labels must be integers no larger than "+Number.MAX_SAFE_INTEGER+".");if(typeof Zt=="number"&&Math.floor(Zt)!==Zt)return Ct.error("Numeric branch labels must be integer values.");if(J){if(Ct.checkSubtype(J,rr(Zt)))return null}else J=rr(Zt);if(Ae[String(Zt)]!==void 0)return Ct.error("Branch labels must be unique.");Ae[String(Zt)]=Oe.length}var $t=V.parse(pt,Ge,he);if(!$t)return null;he=he||$t.type,Oe.push($t)}var fn=V.parse(P[1],1,Wt);if(!fn)return null;var Mn=V.parse(P[P.length-1],P.length-1,he);return Mn?fn.type.kind!=="value"&&V.concat(1).checkSubtype(J,fn.type)?null:new ps(J,he,fn,Ae,Oe,Mn):null},ps.prototype.evaluate=function(P){var V=this.input.evaluate(P);return(rr(V)===this.inputType&&this.outputs[this.cases[V]]||this.otherwise).evaluate(P)},ps.prototype.eachChild=function(P){P(this.input),this.outputs.forEach(P),P(this.otherwise)},ps.prototype.outputDefined=function(){return this.outputs.every(function(P){return P.outputDefined()})&&this.otherwise.outputDefined()},ps.prototype.serialize=function(){for(var P=this,V=["match",this.input.serialize()],J=[],he={},Ae=0,Oe=Object.keys(this.cases).sort();Ae=5)return V.error("Expected 3 or 4 arguments, but found "+(P.length-1)+" instead.");var J=V.parse(P[1],1,Wt),he=V.parse(P[2],2,Pt);if(!J||!he)return null;if(!kn(J.type,[xn(Wt),wt,Wt]))return V.error("Expected first argument to be of type array or string, but found "+un(J.type)+" instead");if(P.length===4){var Ae=V.parse(P[3],3,Pt);return Ae?new js(J.type,J,he,Ae):null}return new js(J.type,J,he)},js.prototype.evaluate=function(P){var V=this.input.evaluate(P),J=this.beginIndex.evaluate(P);if(!sn(V,["string","array"]))throw new or("Expected first argument to be of type array or string, but found "+un(rr(V))+" instead.");if(this.endIndex){var he=this.endIndex.evaluate(P);return V.slice(J,he)}return V.slice(J)},js.prototype.eachChild=function(P){P(this.input),P(this.beginIndex),this.endIndex&&P(this.endIndex)},js.prototype.outputDefined=function(){return!1},js.prototype.serialize=function(){if(this.endIndex!=null&&this.endIndex!==void 0){var P=this.endIndex.serialize();return["slice",this.input.serialize(),this.beginIndex.serialize(),P]}return["slice",this.input.serialize(),this.beginIndex.serialize()]};var yf=tl("==",function(P,V,J){return V===J},vf),bf=tl("!=",function(P,V,J){return V!==J},function(P,V,J,he){return!vf(0,V,J,he)}),id=tl("<",function(P,V,J){return V",function(P,V,J){return V>J},function(P,V,J,he){return he.compare(V,J)>0}),xf=tl("<=",function(P,V,J){return V<=J},function(P,V,J,he){return he.compare(V,J)<=0}),Ch=tl(">=",function(P,V,J){return V>=J},function(P,V,J,he){return he.compare(V,J)>=0}),nl=function(P,V,J,he,Ae){this.type=wt,this.number=P,this.locale=V,this.currency=J,this.minFractionDigits=he,this.maxFractionDigits=Ae};nl.parse=function(P,V){if(P.length!==3)return V.error("Expected two arguments.");var J=V.parse(P[1],1,Pt);if(!J)return null;var he=P[2];if(typeof he!="object"||Array.isArray(he))return V.error("NumberFormat options argument must be an object.");var Ae=null;if(he.locale&&!(Ae=V.parse(he.locale,1,wt)))return null;var Oe=null;if(he.currency&&!(Oe=V.parse(he.currency,1,wt)))return null;var Ge=null;if(he["min-fraction-digits"]&&!(Ge=V.parse(he["min-fraction-digits"],1,Pt)))return null;var it=null;return he["max-fraction-digits"]&&!(it=V.parse(he["max-fraction-digits"],1,Pt))?null:new nl(J,Ae,Oe,Ge,it)},nl.prototype.evaluate=function(P){return new Intl.NumberFormat(this.locale?this.locale.evaluate(P):[],{style:this.currency?"currency":"decimal",currency:this.currency?this.currency.evaluate(P):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(P):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(P):void 0}).format(this.number.evaluate(P))},nl.prototype.eachChild=function(P){P(this.number),this.locale&&P(this.locale),this.currency&&P(this.currency),this.minFractionDigits&&P(this.minFractionDigits),this.maxFractionDigits&&P(this.maxFractionDigits)},nl.prototype.outputDefined=function(){return!1},nl.prototype.serialize=function(){var P={};return this.locale&&(P.locale=this.locale.serialize()),this.currency&&(P.currency=this.currency.serialize()),this.minFractionDigits&&(P["min-fraction-digits"]=this.minFractionDigits.serialize()),this.maxFractionDigits&&(P["max-fraction-digits"]=this.maxFractionDigits.serialize()),["number-format",this.number.serialize(),P]};var rl=function(P){this.type=Pt,this.input=P};rl.parse=function(P,V){if(P.length!==2)return V.error("Expected 1 argument, but found "+(P.length-1)+" instead.");var J=V.parse(P[1],1);return J?J.type.kind!=="array"&&J.type.kind!=="string"&&J.type.kind!=="value"?V.error("Expected argument of type string or array, but found "+un(J.type)+" instead."):new rl(J):null},rl.prototype.evaluate=function(P){var V=this.input.evaluate(P);if(typeof V=="string"||Array.isArray(V))return V.length;throw new or("Expected value to be of type string or array, but found "+un(rr(V))+" instead.")},rl.prototype.eachChild=function(P){P(this.input)},rl.prototype.outputDefined=function(){return!1},rl.prototype.serialize=function(){var P=["length"];return this.eachChild(function(V){P.push(V.serialize())}),P};var Lu={"==":yf,"!=":bf,">":Sh,"<":id,">=":Ch,"<=":xf,array:_r,at:Al,boolean:_r,case:Es,coalesce:Yo,collator:tr,format:Kt,image:bn,in:Ui,"index-of":Sl,interpolate:Ya,"interpolate-hcl":Ya,"interpolate-lab":Ya,length:rl,let:as,literal:yr,match:ps,number:_r,"number-format":nl,object:_r,slice:js,step:Lr,string:_r,"to-boolean":Ln,"to-color":Ln,"to-number":Ln,"to-string":Ln,var:pr,within:nr};function il(P,V){var J=V[0],he=V[1],Ae=V[2],Oe=V[3];J=J.evaluate(P),he=he.evaluate(P),Ae=Ae.evaluate(P);var Ge=Oe?Oe.evaluate(P):1,it=qn(J,he,Ae,Ge);if(it)throw new or(it);return new pn(J/255*Ge,he/255*Ge,Ae/255*Ge,Ge)}function Eh(P,V){return P in V}function Lh(P,V){var J=V[P];return J===void 0?null:J}function Jl(P){return{type:P}}function jc(P){return{result:"success",value:P}}function Cl(P){return{result:"error",value:P}}function Iu(P){return P["property-type"]==="data-driven"||P["property-type"]==="cross-faded-data-driven"}function Ql(P){return!!P.expression&&P.expression.parameters.indexOf("zoom")>-1}function al(P){return!!P.expression&&P.expression.interpolated}function Hi(P){return P instanceof Number?"number":P instanceof String?"string":P instanceof Boolean?"boolean":Array.isArray(P)?"array":P===null?"null":typeof P}function El(P){return typeof P=="object"&&P!==null&&!Array.isArray(P)}function ad(P){return P}function Uc(P,V){var J,he,Ae,Oe=V.type==="color",Ge=P.stops&&typeof P.stops[0][0]=="object",it=Ge||P.property!==void 0,pt=Ge||!it,Ct=P.type||(al(V)?"exponential":"interval");if(Oe&&((P=ut({},P)).stops&&(P.stops=P.stops.map(function(Tr){return[Tr[0],pn.parse(Tr[1])]})),P.default?P.default=pn.parse(P.default):P.default=pn.parse(V.default)),P.colorSpace&&P.colorSpace!=="rgb"&&!Ah[P.colorSpace])throw new Error("Unknown color space: "+P.colorSpace);if(Ct==="exponential")J=ms;else if(Ct==="interval")J=Ru;else if(Ct==="categorical"){J=eu,he=Object.create(null);for(var Dt=0,Gt=P.stops;Dt=P.stops[he-1][0])return P.stops[he-1][1];var Ae=Rr(P.stops.map(function(Oe){return Oe[0]}),J);return P.stops[Ae][1]}function ms(P,V,J){var he=P.base!==void 0?P.base:1;if(Hi(J)!=="number")return dc(P.default,V.default);var Ae=P.stops.length;if(Ae===1||J<=P.stops[0][0])return P.stops[0][1];if(J>=P.stops[Ae-1][0])return P.stops[Ae-1][1];var Oe=Rr(P.stops.map(function(Gt){return Gt[0]}),J),Ge=function(Gt,Zt,$t,fn){var Mn=fn-$t,Nn=Gt-$t;return Mn===0?0:Zt===1?Nn/Mn:(Math.pow(Zt,Nn)-1)/(Math.pow(Zt,Mn)-1)}(J,he,P.stops[Oe][0],P.stops[Oe+1][0]),it=P.stops[Oe][1],pt=P.stops[Oe+1][1],Ct=gr[V.type]||ad;if(P.colorSpace&&P.colorSpace!=="rgb"){var Dt=Ah[P.colorSpace];Ct=function(Gt,Zt){return Dt.reverse(Dt.interpolate(Dt.forward(Gt),Dt.forward(Zt),Ge))}}return typeof it.evaluate=="function"?{evaluate:function(){for(var Gt=[],Zt=arguments.length;Zt--;)Gt[Zt]=arguments[Zt];var $t=it.evaluate.apply(void 0,Gt),fn=pt.evaluate.apply(void 0,Gt);if($t!==void 0&&fn!==void 0)return Ct($t,fn,Ge)}}:Ct(it,pt,Ge)}function Ih(P,V,J){return V.type==="color"?J=pn.parse(J):V.type==="formatted"?J=jn.fromString(J.toString()):V.type==="resolvedImage"?J=Gn.fromString(J.toString()):Hi(J)===V.type||V.type==="enum"&&V.values[J]||(J=void 0),dc(J,P.default,V.default)}$n.register(Lu,{error:[{kind:"error"},[wt],function(P,V){var J=V[0];throw new or(J.evaluate(P))}],typeof:[wt,[Wt],function(P,V){return un(rr(V[0].evaluate(P)))}],"to-rgba":[xn(Pt,4),[Nt],function(P,V){return V[0].evaluate(P).toArray()}],rgb:[Nt,[Pt,Pt,Pt],il],rgba:[Nt,[Pt,Pt,Pt,Pt],il],has:{type:Rt,overloads:[[[wt],function(P,V){return Eh(V[0].evaluate(P),P.properties())}],[[wt,Yt],function(P,V){var J=V[0],he=V[1];return Eh(J.evaluate(P),he.evaluate(P))}]]},get:{type:Wt,overloads:[[[wt],function(P,V){return Lh(V[0].evaluate(P),P.properties())}],[[wt,Yt],function(P,V){var J=V[0],he=V[1];return Lh(J.evaluate(P),he.evaluate(P))}]]},"feature-state":[Wt,[wt],function(P,V){return Lh(V[0].evaluate(P),P.featureState||{})}],properties:[Yt,[],function(P){return P.properties()}],"geometry-type":[wt,[],function(P){return P.geometryType()}],id:[Wt,[],function(P){return P.id()}],zoom:[Pt,[],function(P){return P.globals.zoom}],"heatmap-density":[Pt,[],function(P){return P.globals.heatmapDensity||0}],"line-progress":[Pt,[],function(P){return P.globals.lineProgress||0}],accumulated:[Wt,[],function(P){return P.globals.accumulated===void 0?null:P.globals.accumulated}],"+":[Pt,Jl(Pt),function(P,V){for(var J=0,he=0,Ae=V;he":[Rt,[wt,Wt],function(P,V){var J=V[0],he=V[1],Ae=P.properties()[J.value],Oe=he.value;return typeof Ae==typeof Oe&&Ae>Oe}],"filter-id->":[Rt,[Wt],function(P,V){var J=V[0],he=P.id(),Ae=J.value;return typeof he==typeof Ae&&he>Ae}],"filter-<=":[Rt,[wt,Wt],function(P,V){var J=V[0],he=V[1],Ae=P.properties()[J.value],Oe=he.value;return typeof Ae==typeof Oe&&Ae<=Oe}],"filter-id-<=":[Rt,[Wt],function(P,V){var J=V[0],he=P.id(),Ae=J.value;return typeof he==typeof Ae&&he<=Ae}],"filter->=":[Rt,[wt,Wt],function(P,V){var J=V[0],he=V[1],Ae=P.properties()[J.value],Oe=he.value;return typeof Ae==typeof Oe&&Ae>=Oe}],"filter-id->=":[Rt,[Wt],function(P,V){var J=V[0],he=P.id(),Ae=J.value;return typeof he==typeof Ae&&he>=Ae}],"filter-has":[Rt,[Wt],function(P,V){return V[0].value in P.properties()}],"filter-has-id":[Rt,[],function(P){return P.id()!==null&&P.id()!==void 0}],"filter-type-in":[Rt,[xn(wt)],function(P,V){return V[0].value.indexOf(P.geometryType())>=0}],"filter-id-in":[Rt,[xn(Wt)],function(P,V){return V[0].value.indexOf(P.id())>=0}],"filter-in-small":[Rt,[wt,xn(Wt)],function(P,V){var J=V[0];return V[1].value.indexOf(P.properties()[J.value])>=0}],"filter-in-large":[Rt,[wt,xn(Wt)],function(P,V){var J=V[0],he=V[1];return function(Ae,Oe,Ge,it){for(;Ge<=it;){var pt=Ge+it>>1;if(Oe[pt]===Ae)return!0;Oe[pt]>Ae?it=pt-1:Ge=pt+1}return!1}(P.properties()[J.value],he.value,0,he.value.length-1)}],all:{type:Rt,overloads:[[[Rt,Rt],function(P,V){var J=V[0],he=V[1];return J.evaluate(P)&&he.evaluate(P)}],[Jl(Rt),function(P,V){for(var J=0,he=V;J0&&typeof P[0]=="string"&&P[0]in Lu}function mc(P,V){var J=new dr(Lu,[],V?function(Ae){var Oe={color:Nt,string:wt,number:Pt,enum:wt,boolean:Rt,formatted:Qt,resolvedImage:rn};return Ae.type==="array"?xn(Oe[Ae.value]||Wt,Ae.length):Oe[Ae.type]}(V):void 0),he=J.parse(P,void 0,void 0,void 0,V&&V.type==="string"?{typeAnnotation:"coerce"}:void 0);return he?jc(new pc(he,V)):Cl(J.errors)}pc.prototype.evaluateWithoutErrorHandling=function(P,V,J,he,Ae,Oe){return this._evaluator.globals=P,this._evaluator.feature=V,this._evaluator.featureState=J,this._evaluator.canonical=he,this._evaluator.availableImages=Ae||null,this._evaluator.formattedSection=Oe,this.expression.evaluate(this._evaluator)},pc.prototype.evaluate=function(P,V,J,he,Ae,Oe){this._evaluator.globals=P,this._evaluator.feature=V||null,this._evaluator.featureState=J||null,this._evaluator.canonical=he,this._evaluator.availableImages=Ae||null,this._evaluator.formattedSection=Oe||null;try{var Ge=this.expression.evaluate(this._evaluator);if(Ge==null||typeof Ge=="number"&&Ge!=Ge)return this._defaultValue;if(this._enumValues&&!(Ge in this._enumValues))throw new or("Expected value to be one of "+Object.keys(this._enumValues).map(function(it){return JSON.stringify(it)}).join(", ")+", but found "+JSON.stringify(Ge)+" instead.");return Ge}catch(it){return this._warningHistory[it.message]||(this._warningHistory[it.message]=!0,typeof console<"u"&&console.warn(it.message)),this._defaultValue}};var tu=function(P,V){this.kind=P,this._styleExpression=V,this.isStateDependent=P!=="constant"&&!hr(V.expression)};tu.prototype.evaluateWithoutErrorHandling=function(P,V,J,he,Ae,Oe){return this._styleExpression.evaluateWithoutErrorHandling(P,V,J,he,Ae,Oe)},tu.prototype.evaluate=function(P,V,J,he,Ae,Oe){return this._styleExpression.evaluate(P,V,J,he,Ae,Oe)};var nu=function(P,V,J,he){this.kind=P,this.zoomStops=J,this._styleExpression=V,this.isStateDependent=P!=="camera"&&!hr(V.expression),this.interpolationType=he};function Ou(P,V){if((P=mc(P,V)).result==="error")return P;var J=P.value.expression,he=Qn(J);if(!he&&!Iu(V))return Cl([new It("","data expressions not supported")]);var Ae=cr(J,["zoom"]);if(!Ae&&!Ql(V))return Cl([new It("","zoom expressions not supported")]);var Oe=vc(J);if(!Oe&&!Ae)return Cl([new It("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')]);if(Oe instanceof It)return Cl([Oe]);if(Oe instanceof Ya&&!al(V))return Cl([new It("",'"interpolate" expressions cannot be used with this property')]);if(!Oe)return jc(new tu(he?"constant":"source",P.value));var Ge=Oe instanceof Ya?Oe.interpolation:void 0;return jc(new nu(he?"camera":"composite",P.value,Oe.labels,Ge))}nu.prototype.evaluateWithoutErrorHandling=function(P,V,J,he,Ae,Oe){return this._styleExpression.evaluateWithoutErrorHandling(P,V,J,he,Ae,Oe)},nu.prototype.evaluate=function(P,V,J,he,Ae,Oe){return this._styleExpression.evaluate(P,V,J,he,Ae,Oe)},nu.prototype.interpolationFactor=function(P,V,J){return this.interpolationType?Ya.interpolationFactor(this.interpolationType,P,V,J):0};var gc=function(P,V){this._parameters=P,this._specification=V,ut(this,Uc(this._parameters,this._specification))};function vc(P){var V=null;if(P instanceof as)V=vc(P.result);else if(P instanceof Yo)for(var J=0,he=P.args;Jhe.maximum?[new Ne(V,J,J+" is greater than the maximum value "+he.maximum)]:[]}function Rh(P){var V,J,he,Ae=P.valueSpec,Oe=dt(P.value.type),Ge={},it=Oe!=="categorical"&&P.value.property===void 0,pt=!it,Ct=Hi(P.value.stops)==="array"&&Hi(P.value.stops[0])==="array"&&Hi(P.value.stops[0][0])==="object",Dt=gs({key:P.key,value:P.value,valueSpec:P.styleSpec.function,style:P.style,styleSpec:P.styleSpec,objectElementValidators:{stops:function($t){if(Oe==="identity")return[new Ne($t.key,$t.value,'identity function may not have a "stops" property')];var fn=[],Mn=$t.value;return fn=fn.concat(yc({key:$t.key,value:Mn,valueSpec:$t.valueSpec,style:$t.style,styleSpec:$t.styleSpec,arrayElementValidator:Gt})),Hi(Mn)==="array"&&Mn.length===0&&fn.push(new Ne($t.key,Mn,"array must have at least one stop")),fn},default:function($t){return da({key:$t.key,value:$t.value,valueSpec:Ae,style:$t.style,styleSpec:$t.styleSpec})}}});return Oe==="identity"&&it&&Dt.push(new Ne(P.key,P.value,'missing required property "property"')),Oe==="identity"||P.value.stops||Dt.push(new Ne(P.key,P.value,'missing required property "stops"')),Oe==="exponential"&&P.valueSpec.expression&&!al(P.valueSpec)&&Dt.push(new Ne(P.key,P.value,"exponential functions not supported")),P.styleSpec.$version>=8&&(pt&&!Iu(P.valueSpec)?Dt.push(new Ne(P.key,P.value,"property functions not supported")):it&&!Ql(P.valueSpec)&&Dt.push(new Ne(P.key,P.value,"zoom functions not supported"))),Oe!=="categorical"&&!Ct||P.value.property!==void 0||Dt.push(new Ne(P.key,P.value,'"property" property is required')),Dt;function Gt($t){var fn=[],Mn=$t.value,Nn=$t.key;if(Hi(Mn)!=="array")return[new Ne(Nn,Mn,"array expected, "+Hi(Mn)+" found")];if(Mn.length!==2)return[new Ne(Nn,Mn,"array length 2 expected, length "+Mn.length+" found")];if(Ct){if(Hi(Mn[0])!=="object")return[new Ne(Nn,Mn,"object expected, "+Hi(Mn[0])+" found")];if(Mn[0].zoom===void 0)return[new Ne(Nn,Mn,"object stop key must have zoom")];if(Mn[0].value===void 0)return[new Ne(Nn,Mn,"object stop key must have value")];if(he&&he>dt(Mn[0].zoom))return[new Ne(Nn,Mn[0].zoom,"stop zoom values must appear in ascending order")];dt(Mn[0].zoom)!==he&&(he=dt(Mn[0].zoom),J=void 0,Ge={}),fn=fn.concat(gs({key:Nn+"[0]",value:Mn[0],valueSpec:{zoom:{}},style:$t.style,styleSpec:$t.styleSpec,objectElementValidators:{zoom:bc,value:Zt}}))}else fn=fn.concat(Zt({key:Nn+"[0]",value:Mn[0],valueSpec:{},style:$t.style,styleSpec:$t.styleSpec},Mn));return Pu(_t(Mn[1]))?fn.concat([new Ne(Nn+"[1]",Mn[1],"expressions are not allowed in function stops.")]):fn.concat(da({key:Nn+"[1]",value:Mn[1],valueSpec:Ae,style:$t.style,styleSpec:$t.styleSpec}))}function Zt($t,fn){var Mn=Hi($t.value),Nn=dt($t.value),Bn=$t.value!==null?$t.value:fn;if(V){if(Mn!==V)return[new Ne($t.key,Bn,Mn+" stop domain type must match previous stop domain type "+V)]}else V=Mn;if(Mn!=="number"&&Mn!=="string"&&Mn!=="boolean")return[new Ne($t.key,Bn,"stop domain value must be a number, string, or boolean")];if(Mn!=="number"&&Oe!=="categorical"){var Wn="number expected, "+Mn+" found";return Iu(Ae)&&Oe===void 0&&(Wn+='\nIf you intended to use a categorical function, specify `"type": "categorical"`.'),[new Ne($t.key,Bn,Wn)]}return Oe!=="categorical"||Mn!=="number"||isFinite(Nn)&&Math.floor(Nn)===Nn?Oe!=="categorical"&&Mn==="number"&&J!==void 0&&Nn=2&&P[1]!=="$id"&&P[1]!=="$type";case"in":return P.length>=3&&(typeof P[1]!="string"||Array.isArray(P[2]));case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return P.length!==3||Array.isArray(P[1])||Array.isArray(P[2]);case"any":case"all":for(var V=0,J=P.slice(1);VV?1:0}function ru(P){if(!Array.isArray(P))return!1;if(P[0]==="within")return!0;for(var V=1;V"||J==="<="||J===">="?Ki(P[1],P[2],J):J==="any"?(V=P.slice(1),["any"].concat(V.map(iu))):J==="all"?["all"].concat(P.slice(1).map(iu)):J==="none"?["all"].concat(P.slice(1).map(iu).map(po)):J==="in"?Il(P[1],P.slice(2)):J==="!in"?po(Il(P[1],P.slice(2))):J==="has"?Rl(P[1]):J==="!has"?po(Rl(P[1])):J!=="within"||P}function Ki(P,V,J){switch(P){case"$type":return["filter-type-"+J,V];case"$id":return["filter-id-"+J,V];default:return["filter-"+J,P,V]}}function Il(P,V){if(V.length===0)return!1;switch(P){case"$type":return["filter-type-in",["literal",V]];case"$id":return["filter-id-in",["literal",V]];default:return V.length>200&&!V.some(function(J){return typeof J!=typeof V[0]})?["filter-in-large",P,["literal",V.sort(Du)]]:["filter-in-small",P,["literal",V]]}}function Rl(P){switch(P){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",P]}}function po(P){return["!",P]}function Oi(P){return xc(_t(P.value))?Ll(ut({},P,{expressionContext:"filter",valueSpec:{value:"boolean"}})):Bi(P)}function Bi(P){var V=P.value,J=P.key;if(Hi(V)!=="array")return[new Ne(J,V,"array expected, "+Hi(V)+" found")];var he,Ae=P.styleSpec,Oe=[];if(V.length<1)return[new Ne(J,V,"filter array must have at least 1 element")];switch(Oe=Oe.concat(Hc({key:J+"[0]",value:V[0],valueSpec:Ae.filter_operator,style:P.style,styleSpec:P.styleSpec})),dt(V[0])){case"<":case"<=":case">":case">=":V.length>=2&&dt(V[1])==="$type"&&Oe.push(new Ne(J,V,'"$type" cannot be use with operator "'+V[0]+'"'));case"==":case"!=":V.length!==3&&Oe.push(new Ne(J,V,'filter array for operator "'+V[0]+'" must have 3 elements'));case"in":case"!in":V.length>=2&&(he=Hi(V[1]))!=="string"&&Oe.push(new Ne(J+"[1]",V[1],"string expected, "+he+" found"));for(var Ge=2;Ge=Dt[$t+0]&&he>=Dt[$t+1])?(Ge[Zt]=!0,Oe.push(Ct[Zt])):Ge[Zt]=!1}}},$o.prototype._forEachCell=function(P,V,J,he,Ae,Oe,Ge,it){for(var pt=this._convertToCellCoord(P),Ct=this._convertToCellCoord(V),Dt=this._convertToCellCoord(J),Gt=this._convertToCellCoord(he),Zt=pt;Zt<=Dt;Zt++)for(var $t=Ct;$t<=Gt;$t++){var fn=this.d*$t+Zt;if((!it||it(this._convertFromCellCoord(Zt),this._convertFromCellCoord($t),this._convertFromCellCoord(Zt+1),this._convertFromCellCoord($t+1)))&&Ae.call(this,P,V,J,he,fn,Oe,Ge,it))return}},$o.prototype._convertFromCellCoord=function(P){return(P-this.padding)/this.scale},$o.prototype._convertToCellCoord=function(P){return Math.max(0,Math.min(this.d-1,Math.floor(P*this.scale)+this.padding))},$o.prototype.toArrayBuffer=function(){if(this.arrayBuffer)return this.arrayBuffer;for(var P=this.cells,V=3+this.cells.length+1+1,J=0,he=0;he=0)){var Gt=P[Dt];Ct[Dt]=Lo[pt].shallow.indexOf(Dt)>=0?Gt:zu(Gt,V)}P instanceof Error&&(Ct.message=P.message)}if(Ct.$name)throw new Error("$name property is reserved for worker serialization logic.");return pt!=="Object"&&(Ct.$name=pt),Ct}throw new Error("can't serialize object of type "+typeof P)}function Fu(P){if(P==null||typeof P=="boolean"||typeof P=="number"||typeof P=="string"||P instanceof Boolean||P instanceof Number||P instanceof String||P instanceof Date||P instanceof RegExp||Fo(P)||Yc(P)||ArrayBuffer.isView(P)||P instanceof qc)return P;if(Array.isArray(P))return P.map(Fu);if(typeof P=="object"){var V=P.$name||"Object",J=Lo[V].klass;if(!J)throw new Error("can't deserialize unregistered class "+V);if(J.deserialize)return J.deserialize(P);for(var he=Object.create(J.prototype),Ae=0,Oe=Object.keys(P);Ae=0?it:Fu(it)}}return he}throw new Error("can't deserialize object of type "+typeof P)}var Bu=function(){this.first=!0};Bu.prototype.update=function(P,V){var J=Math.floor(P);return this.first?(this.first=!1,this.lastIntegerZoom=J,this.lastIntegerZoomTime=0,this.lastZoom=P,this.lastFloorZoom=J,!0):(this.lastFloorZoom>J?(this.lastIntegerZoom=J+1,this.lastIntegerZoomTime=V):this.lastFloorZoom=128&&P<=255},Arabic:function(P){return P>=1536&&P<=1791},"Arabic Supplement":function(P){return P>=1872&&P<=1919},"Arabic Extended-A":function(P){return P>=2208&&P<=2303},"Hangul Jamo":function(P){return P>=4352&&P<=4607},"Unified Canadian Aboriginal Syllabics":function(P){return P>=5120&&P<=5759},Khmer:function(P){return P>=6016&&P<=6143},"Unified Canadian Aboriginal Syllabics Extended":function(P){return P>=6320&&P<=6399},"General Punctuation":function(P){return P>=8192&&P<=8303},"Letterlike Symbols":function(P){return P>=8448&&P<=8527},"Number Forms":function(P){return P>=8528&&P<=8591},"Miscellaneous Technical":function(P){return P>=8960&&P<=9215},"Control Pictures":function(P){return P>=9216&&P<=9279},"Optical Character Recognition":function(P){return P>=9280&&P<=9311},"Enclosed Alphanumerics":function(P){return P>=9312&&P<=9471},"Geometric Shapes":function(P){return P>=9632&&P<=9727},"Miscellaneous Symbols":function(P){return P>=9728&&P<=9983},"Miscellaneous Symbols and Arrows":function(P){return P>=11008&&P<=11263},"CJK Radicals Supplement":function(P){return P>=11904&&P<=12031},"Kangxi Radicals":function(P){return P>=12032&&P<=12255},"Ideographic Description Characters":function(P){return P>=12272&&P<=12287},"CJK Symbols and Punctuation":function(P){return P>=12288&&P<=12351},Hiragana:function(P){return P>=12352&&P<=12447},Katakana:function(P){return P>=12448&&P<=12543},Bopomofo:function(P){return P>=12544&&P<=12591},"Hangul Compatibility Jamo":function(P){return P>=12592&&P<=12687},Kanbun:function(P){return P>=12688&&P<=12703},"Bopomofo Extended":function(P){return P>=12704&&P<=12735},"CJK Strokes":function(P){return P>=12736&&P<=12783},"Katakana Phonetic Extensions":function(P){return P>=12784&&P<=12799},"Enclosed CJK Letters and Months":function(P){return P>=12800&&P<=13055},"CJK Compatibility":function(P){return P>=13056&&P<=13311},"CJK Unified Ideographs Extension A":function(P){return P>=13312&&P<=19903},"Yijing Hexagram Symbols":function(P){return P>=19904&&P<=19967},"CJK Unified Ideographs":function(P){return P>=19968&&P<=40959},"Yi Syllables":function(P){return P>=40960&&P<=42127},"Yi Radicals":function(P){return P>=42128&&P<=42191},"Hangul Jamo Extended-A":function(P){return P>=43360&&P<=43391},"Hangul Syllables":function(P){return P>=44032&&P<=55215},"Hangul Jamo Extended-B":function(P){return P>=55216&&P<=55295},"Private Use Area":function(P){return P>=57344&&P<=63743},"CJK Compatibility Ideographs":function(P){return P>=63744&&P<=64255},"Arabic Presentation Forms-A":function(P){return P>=64336&&P<=65023},"Vertical Forms":function(P){return P>=65040&&P<=65055},"CJK Compatibility Forms":function(P){return P>=65072&&P<=65103},"Small Form Variants":function(P){return P>=65104&&P<=65135},"Arabic Presentation Forms-B":function(P){return P>=65136&&P<=65279},"Halfwidth and Fullwidth Forms":function(P){return P>=65280&&P<=65519}};function Nu(P){for(var V=0,J=P;V=65097&&P<=65103)||Br["CJK Compatibility Ideographs"](P)||Br["CJK Compatibility"](P)||Br["CJK Radicals Supplement"](P)||Br["CJK Strokes"](P)||!(!Br["CJK Symbols and Punctuation"](P)||P>=12296&&P<=12305||P>=12308&&P<=12319||P===12336)||Br["CJK Unified Ideographs Extension A"](P)||Br["CJK Unified Ideographs"](P)||Br["Enclosed CJK Letters and Months"](P)||Br["Hangul Compatibility Jamo"](P)||Br["Hangul Jamo Extended-A"](P)||Br["Hangul Jamo Extended-B"](P)||Br["Hangul Jamo"](P)||Br["Hangul Syllables"](P)||Br.Hiragana(P)||Br["Ideographic Description Characters"](P)||Br.Kanbun(P)||Br["Kangxi Radicals"](P)||Br["Katakana Phonetic Extensions"](P)||Br.Katakana(P)&&P!==12540||!(!Br["Halfwidth and Fullwidth Forms"](P)||P===65288||P===65289||P===65293||P>=65306&&P<=65310||P===65339||P===65341||P===65343||P>=65371&&P<=65503||P===65507||P>=65512&&P<=65519)||!(!Br["Small Form Variants"](P)||P>=65112&&P<=65118||P>=65123&&P<=65126)||Br["Unified Canadian Aboriginal Syllabics"](P)||Br["Unified Canadian Aboriginal Syllabics Extended"](P)||Br["Vertical Forms"](P)||Br["Yijing Hexagram Symbols"](P)||Br["Yi Syllables"](P)||Br["Yi Radicals"](P))))}function $c(P){return!(ys(P)||function(V){return!!(Br["Latin-1 Supplement"](V)&&(V===167||V===169||V===174||V===177||V===188||V===189||V===190||V===215||V===247)||Br["General Punctuation"](V)&&(V===8214||V===8224||V===8225||V===8240||V===8241||V===8251||V===8252||V===8258||V===8263||V===8264||V===8265||V===8273)||Br["Letterlike Symbols"](V)||Br["Number Forms"](V)||Br["Miscellaneous Technical"](V)&&(V>=8960&&V<=8967||V>=8972&&V<=8991||V>=8996&&V<=9e3||V===9003||V>=9085&&V<=9114||V>=9150&&V<=9165||V===9167||V>=9169&&V<=9179||V>=9186&&V<=9215)||Br["Control Pictures"](V)&&V!==9251||Br["Optical Character Recognition"](V)||Br["Enclosed Alphanumerics"](V)||Br["Geometric Shapes"](V)||Br["Miscellaneous Symbols"](V)&&!(V>=9754&&V<=9759)||Br["Miscellaneous Symbols and Arrows"](V)&&(V>=11026&&V<=11055||V>=11088&&V<=11097||V>=11192&&V<=11243)||Br["CJK Symbols and Punctuation"](V)||Br.Katakana(V)||Br["Private Use Area"](V)||Br["CJK Compatibility Forms"](V)||Br["Small Form Variants"](V)||Br["Halfwidth and Fullwidth Forms"](V)||V===8734||V===8756||V===8757||V>=9984&&V<=10087||V>=10102&&V<=10131||V===65532||V===65533)}(P))}function wc(P){return Br.Arabic(P)||Br["Arabic Supplement"](P)||Br["Arabic Extended-A"](P)||Br["Arabic Presentation Forms-A"](P)||Br["Arabic Presentation Forms-B"](P)}function vo(P){return P>=1424&&P<=2303||Br["Arabic Presentation Forms-A"](P)||Br["Arabic Presentation Forms-B"](P)}function cu(P,V){return!(!V&&vo(P)||P>=2304&&P<=3583||P>=3840&&P<=4255||Br.Khmer(P))}function ll(P){for(var V=0,J=P;V-1&&(yo=bs),hu&&hu(P)};function Tc(){os.fire(new qe("pluginStateChange",{pluginStatus:yo,pluginURL:xs}))}var os=new ft,_s=function(){return yo},Gs=function(){if(yo!==Zo||!xs)throw new Error("rtl-text-plugin cannot be downloaded unless a pluginURL is specified");yo=Ol,Tc(),xs&&Ft({url:xs},function(P){P?$i(P):(yo=Ls,Tc())})},Bo={applyArabicShaping:null,processBidirectionalText:null,processStyledBidirectionalText:null,isLoaded:function(){return yo===Ls||Bo.applyArabicShaping!=null},isLoading:function(){return yo===Ol},setState:function(P){yo=P.pluginStatus,xs=P.pluginURL},isParsed:function(){return Bo.applyArabicShaping!=null&&Bo.processBidirectionalText!=null&&Bo.processStyledBidirectionalText!=null},getPluginURL:function(){return xs}},Wi=function(P,V){this.zoom=P,V?(this.now=V.now,this.fadeDuration=V.fadeDuration,this.zoomHistory=V.zoomHistory,this.transition=V.transition):(this.now=0,this.fadeDuration=0,this.zoomHistory=new Bu,this.transition={})};Wi.prototype.isSupportedScript=function(P){return function(V,J){for(var he=0,Ae=V;hethis.zoomHistory.lastIntegerZoom?{fromScale:2,toScale:1,t:V+(1-V)*J}:{fromScale:.5,toScale:1,t:1-(1-J)*V}};var no=function(P,V){this.property=P,this.value=V,this.expression=function(J,he){if(El(J))return new gc(J,he);if(Pu(J)){var Ae=Ou(J,he);if(Ae.result==="error")throw new Error(Ae.value.map(function(Ge){return Ge.key+": "+Ge.message}).join(", "));return Ae.value}var Oe=J;return typeof J=="string"&&he.type==="color"&&(Oe=pn.parse(J)),{kind:"constant",evaluate:function(){return Oe}}}(V===void 0?P.specification.default:V,P.specification)};no.prototype.isDataDriven=function(){return this.expression.kind==="source"||this.expression.kind==="composite"},no.prototype.possiblyEvaluate=function(P,V,J){return this.property.possiblyEvaluate(this,P,V,J)};var Is=function(P){this.property=P,this.value=new no(P,void 0)};Is.prototype.transitioned=function(P,V){return new qs(this.property,this.value,V,m({},P.transition,this.transition),P.now)},Is.prototype.untransitioned=function(){return new qs(this.property,this.value,null,{},0)};var No=function(P){this._properties=P,this._values=Object.create(P.defaultTransitionablePropertyValues)};No.prototype.getValue=function(P){return L(this._values[P].value.value)},No.prototype.setValue=function(P,V){this._values.hasOwnProperty(P)||(this._values[P]=new Is(this._values[P].property)),this._values[P].value=new no(this._values[P].property,V===null?void 0:L(V))},No.prototype.getTransition=function(P){return L(this._values[P].transition)},No.prototype.setTransition=function(P,V){this._values.hasOwnProperty(P)||(this._values[P]=new Is(this._values[P].property)),this._values[P].transition=L(V)||void 0},No.prototype.serialize=function(){for(var P={},V=0,J=Object.keys(this._values);Vthis.end)return this.prior=null,Ae;if(this.value.isDataDriven())return this.prior=null,Ae;if(he=1)return 1;var pt=it*it,Ct=pt*it;return 4*(it<.5?Ct:3*(it-pt)+Ct-.75)}(Ge))}return Ae};var Dl=function(P){this._properties=P,this._values=Object.create(P.defaultTransitioningPropertyValues)};Dl.prototype.possiblyEvaluate=function(P,V,J){for(var he=new ws(this._properties),Ae=0,Oe=Object.keys(this._values);AeOe.zoomHistory.lastIntegerZoom?{from:J,to:he}:{from:Ae,to:he}},V.prototype.interpolate=function(J){return J},V}(ni),cl=function(P){this.specification=P};cl.prototype.possiblyEvaluate=function(P,V,J,he){if(P.value!==void 0){if(P.expression.kind==="constant"){var Ae=P.expression.evaluate(V,null,{},J,he);return this._calculate(Ae,Ae,Ae,V)}return this._calculate(P.expression.evaluate(new Wi(Math.floor(V.zoom-1),V)),P.expression.evaluate(new Wi(Math.floor(V.zoom),V)),P.expression.evaluate(new Wi(Math.floor(V.zoom+1),V)),V)}},cl.prototype._calculate=function(P,V,J,he){return he.zoom>he.zoomHistory.lastIntegerZoom?{from:P,to:V}:{from:J,to:V}},cl.prototype.interpolate=function(P){return P};var Rs=function(P){this.specification=P};Rs.prototype.possiblyEvaluate=function(P,V,J,he){return!!P.expression.evaluate(V,null,{},J,he)},Rs.prototype.interpolate=function(){return!1};var xo=function(P){for(var V in this.properties=P,this.defaultPropertyValues={},this.defaultTransitionablePropertyValues={},this.defaultTransitioningPropertyValues={},this.defaultPossiblyEvaluatedValues={},this.overridableProperties=[],P){var J=P[V];J.specification.overridable&&this.overridableProperties.push(V);var he=this.defaultPropertyValues[V]=new no(J,void 0),Ae=this.defaultTransitionablePropertyValues[V]=new Is(J);this.defaultTransitioningPropertyValues[V]=Ae.untransitioned(),this.defaultPossiblyEvaluatedValues[V]=he.possiblyEvaluate({})}};Dr("DataDrivenProperty",ni),Dr("DataConstantProperty",Hr),Dr("CrossFadedDataDrivenProperty",Vu),Dr("CrossFadedProperty",cl),Dr("ColorRampProperty",Rs);var Zc="-transition",Vo=function(P){function V(J,he){if(P.call(this),this.id=J.id,this.type=J.type,this._featureFilter={filter:function(){return!0},needGeometry:!1},J.type!=="custom"&&(this.metadata=J.metadata,this.minzoom=J.minzoom,this.maxzoom=J.maxzoom,J.type!=="background"&&(this.source=J.source,this.sourceLayer=J["source-layer"],this.filter=J.filter),he.layout&&(this._unevaluatedLayout=new ul(he.layout)),he.paint)){for(var Ae in this._transitionablePaint=new No(he.paint),J.paint)this.setPaintProperty(Ae,J.paint[Ae],{validate:!1});for(var Oe in J.layout)this.setLayoutProperty(Oe,J.layout[Oe],{validate:!1});this._transitioningPaint=this._transitionablePaint.untransitioned(),this.paint=new ws(he.paint)}}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.getCrossfadeParameters=function(){return this._crossfadeParameters},V.prototype.getLayoutProperty=function(J){return J==="visibility"?this.visibility:this._unevaluatedLayout.getValue(J)},V.prototype.setLayoutProperty=function(J,he,Ae){if(Ae===void 0&&(Ae={}),he!=null){var Oe="layers."+this.id+".layout."+J;if(this._validate(Pl,Oe,J,he,Ae))return}J!=="visibility"?this._unevaluatedLayout.setValue(J,he):this.visibility=he},V.prototype.getPaintProperty=function(J){return E(J,Zc)?this._transitionablePaint.getTransition(J.slice(0,-Zc.length)):this._transitionablePaint.getValue(J)},V.prototype.setPaintProperty=function(J,he,Ae){if(Ae===void 0&&(Ae={}),he!=null){var Oe="layers."+this.id+".paint."+J;if(this._validate(zo,Oe,J,he,Ae))return!1}if(E(J,Zc))return this._transitionablePaint.setTransition(J.slice(0,-Zc.length),he||void 0),!1;var Ge=this._transitionablePaint._values[J],it=Ge.property.specification["property-type"]==="cross-faded-data-driven",pt=Ge.value.isDataDriven(),Ct=Ge.value;this._transitionablePaint.setValue(J,he),this._handleSpecialPaintPropertyUpdate(J);var Dt=this._transitionablePaint._values[J].value;return Dt.isDataDriven()||pt||it||this._handleOverridablePaintPropertyUpdate(J,Ct,Dt)},V.prototype._handleSpecialPaintPropertyUpdate=function(J){},V.prototype._handleOverridablePaintPropertyUpdate=function(J,he,Ae){return!1},V.prototype.isHidden=function(J){return!!(this.minzoom&&J=this.maxzoom)||this.visibility==="none"},V.prototype.updateTransitions=function(J){this._transitioningPaint=this._transitionablePaint.transitioned(J,this._transitioningPaint)},V.prototype.hasTransition=function(){return this._transitioningPaint.hasTransition()},V.prototype.recalculate=function(J,he){J.getCrossfadeParameters&&(this._crossfadeParameters=J.getCrossfadeParameters()),this._unevaluatedLayout&&(this.layout=this._unevaluatedLayout.possiblyEvaluate(J,void 0,he)),this.paint=this._transitioningPaint.possiblyEvaluate(J,void 0,he)},V.prototype.serialize=function(){var J={id:this.id,type:this.type,source:this.source,"source-layer":this.sourceLayer,metadata:this.metadata,minzoom:this.minzoom,maxzoom:this.maxzoom,filter:this.filter,layout:this._unevaluatedLayout&&this._unevaluatedLayout.serialize(),paint:this._transitionablePaint&&this._transitionablePaint.serialize()};return this.visibility&&(J.layout=J.layout||{},J.layout.visibility=this.visibility),A(J,function(he,Ae){return!(he===void 0||Ae==="layout"&&!Object.keys(he).length||Ae==="paint"&&!Object.keys(he).length)})},V.prototype._validate=function(J,he,Ae,Oe,Ge){return Ge===void 0&&(Ge={}),(!Ge||Ge.validate!==!1)&&vs(this,J.call(go,{key:he,layerType:this.type,objectKey:Ae,value:Oe,styleSpec:Re,style:{glyphs:!0,sprite:!0}}))},V.prototype.is3D=function(){return!1},V.prototype.isTileClipped=function(){return!1},V.prototype.hasOffscreenPass=function(){return!1},V.prototype.resize=function(){},V.prototype.isStateDependent=function(){for(var J in this.paint._values){var he=this.paint.get(J);if(he instanceof bo&&Iu(he.property.specification)&&(he.value.kind==="source"||he.value.kind==="composite")&&he.value.isStateDependent)return!0}return!1},V}(ft),ju={Int8:Int8Array,Uint8:Uint8Array,Int16:Int16Array,Uint16:Uint16Array,Int32:Int32Array,Uint32:Uint32Array,Float32:Float32Array},hl=function(P,V){this._structArray=P,this._pos1=V*this.size,this._pos2=this._pos1/2,this._pos4=this._pos1/4,this._pos8=this._pos1/8},Ji=function(){this.isTransferred=!1,this.capacity=-1,this.resize(0)};function la(P,V){V===void 0&&(V=1);var J=0,he=0;return{members:P.map(function(Ae){var Oe,Ge=(Oe=Ae.type,ju[Oe].BYTES_PER_ELEMENT),it=J=Xc(J,Math.max(V,Ge)),pt=Ae.components||1;return he=Math.max(he,Ge),J+=Ge*pt,{name:Ae.name,type:Ae.type,components:pt,offset:it}}),size:Xc(J,Math.max(he,V)),alignment:V}}function Xc(P,V){return Math.ceil(P/V)*V}Ji.serialize=function(P,V){return P._trim(),V&&(P.isTransferred=!0,V.push(P.arrayBuffer)),{length:P.length,arrayBuffer:P.arrayBuffer}},Ji.deserialize=function(P){var V=Object.create(this.prototype);return V.arrayBuffer=P.arrayBuffer,V.length=P.length,V.capacity=P.arrayBuffer.byteLength/V.bytesPerElement,V._refreshViews(),V},Ji.prototype._trim=function(){this.length!==this.capacity&&(this.capacity=this.length,this.arrayBuffer=this.arrayBuffer.slice(0,this.length*this.bytesPerElement),this._refreshViews())},Ji.prototype.clear=function(){this.length=0},Ji.prototype.resize=function(P){this.reserve(P),this.length=P},Ji.prototype.reserve=function(P){if(P>this.capacity){this.capacity=Math.max(P,Math.floor(5*this.capacity),128),this.arrayBuffer=new ArrayBuffer(this.capacity*this.bytesPerElement);var V=this.uint8;this._refreshViews(),V&&this.uint8.set(V)}},Ji.prototype._refreshViews=function(){throw new Error("_refreshViews() must be implemented by each concrete StructArray layout")};var et=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he){var Ae=this.length;return this.resize(Ae+1),this.emplace(Ae,J,he)},V.prototype.emplace=function(J,he,Ae){var Oe=2*J;return this.int16[Oe+0]=he,this.int16[Oe+1]=Ae,J},V}(Ji);et.prototype.bytesPerElement=4,Dr("StructArrayLayout2i4",et);var rt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe){var Ge=this.length;return this.resize(Ge+1),this.emplace(Ge,J,he,Ae,Oe)},V.prototype.emplace=function(J,he,Ae,Oe,Ge){var it=4*J;return this.int16[it+0]=he,this.int16[it+1]=Ae,this.int16[it+2]=Oe,this.int16[it+3]=Ge,J},V}(Ji);rt.prototype.bytesPerElement=8,Dr("StructArrayLayout4i8",rt);var ct=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it){var pt=this.length;return this.resize(pt+1),this.emplace(pt,J,he,Ae,Oe,Ge,it)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt){var Ct=6*J;return this.int16[Ct+0]=he,this.int16[Ct+1]=Ae,this.int16[Ct+2]=Oe,this.int16[Ct+3]=Ge,this.int16[Ct+4]=it,this.int16[Ct+5]=pt,J},V}(Ji);ct.prototype.bytesPerElement=12,Dr("StructArrayLayout2i4i12",ct);var vt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it){var pt=this.length;return this.resize(pt+1),this.emplace(pt,J,he,Ae,Oe,Ge,it)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt){var Ct=4*J,Dt=8*J;return this.int16[Ct+0]=he,this.int16[Ct+1]=Ae,this.uint8[Dt+4]=Oe,this.uint8[Dt+5]=Ge,this.uint8[Dt+6]=it,this.uint8[Dt+7]=pt,J},V}(Ji);vt.prototype.bytesPerElement=8,Dr("StructArrayLayout2i4ub8",vt);var St=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt){var Zt=this.length;return this.resize(Zt+1),this.emplace(Zt,J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt){var $t=9*J,fn=18*J;return this.uint16[$t+0]=he,this.uint16[$t+1]=Ae,this.uint16[$t+2]=Oe,this.uint16[$t+3]=Ge,this.uint16[$t+4]=it,this.uint16[$t+5]=pt,this.uint16[$t+6]=Ct,this.uint16[$t+7]=Dt,this.uint8[fn+16]=Gt,this.uint8[fn+17]=Zt,J},V}(Ji);St.prototype.bytesPerElement=18,Dr("StructArrayLayout8ui2ub18",St);var Mt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t){var fn=this.length;return this.resize(fn+1),this.emplace(fn,J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn){var Mn=12*J;return this.int16[Mn+0]=he,this.int16[Mn+1]=Ae,this.int16[Mn+2]=Oe,this.int16[Mn+3]=Ge,this.uint16[Mn+4]=it,this.uint16[Mn+5]=pt,this.uint16[Mn+6]=Ct,this.uint16[Mn+7]=Dt,this.int16[Mn+8]=Gt,this.int16[Mn+9]=Zt,this.int16[Mn+10]=$t,this.int16[Mn+11]=fn,J},V}(Ji);Mt.prototype.bytesPerElement=24,Dr("StructArrayLayout4i4ui4i24",Mt);var Y=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae){var Oe=this.length;return this.resize(Oe+1),this.emplace(Oe,J,he,Ae)},V.prototype.emplace=function(J,he,Ae,Oe){var Ge=3*J;return this.float32[Ge+0]=he,this.float32[Ge+1]=Ae,this.float32[Ge+2]=Oe,J},V}(Ji);Y.prototype.bytesPerElement=12,Dr("StructArrayLayout3f12",Y);var ee=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J){var he=this.length;return this.resize(he+1),this.emplace(he,J)},V.prototype.emplace=function(J,he){var Ae=1*J;return this.uint32[Ae+0]=he,J},V}(Ji);ee.prototype.bytesPerElement=4,Dr("StructArrayLayout1ul4",ee);var K=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt){var Gt=this.length;return this.resize(Gt+1),this.emplace(Gt,J,he,Ae,Oe,Ge,it,pt,Ct,Dt)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt){var Zt=10*J,$t=5*J;return this.int16[Zt+0]=he,this.int16[Zt+1]=Ae,this.int16[Zt+2]=Oe,this.int16[Zt+3]=Ge,this.int16[Zt+4]=it,this.int16[Zt+5]=pt,this.uint32[$t+3]=Ct,this.uint16[Zt+8]=Dt,this.uint16[Zt+9]=Gt,J},V}(Ji);K.prototype.bytesPerElement=20,Dr("StructArrayLayout6i1ul2ui20",K);var le=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it){var pt=this.length;return this.resize(pt+1),this.emplace(pt,J,he,Ae,Oe,Ge,it)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt){var Ct=6*J;return this.int16[Ct+0]=he,this.int16[Ct+1]=Ae,this.int16[Ct+2]=Oe,this.int16[Ct+3]=Ge,this.int16[Ct+4]=it,this.int16[Ct+5]=pt,J},V}(Ji);le.prototype.bytesPerElement=12,Dr("StructArrayLayout2i2i2i12",le);var Te=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge){var it=this.length;return this.resize(it+1),this.emplace(it,J,he,Ae,Oe,Ge)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it){var pt=4*J,Ct=8*J;return this.float32[pt+0]=he,this.float32[pt+1]=Ae,this.float32[pt+2]=Oe,this.int16[Ct+6]=Ge,this.int16[Ct+7]=it,J},V}(Ji);Te.prototype.bytesPerElement=16,Dr("StructArrayLayout2f1f2i16",Te);var De=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe){var Ge=this.length;return this.resize(Ge+1),this.emplace(Ge,J,he,Ae,Oe)},V.prototype.emplace=function(J,he,Ae,Oe,Ge){var it=12*J,pt=3*J;return this.uint8[it+0]=he,this.uint8[it+1]=Ae,this.float32[pt+1]=Oe,this.float32[pt+2]=Ge,J},V}(Ji);De.prototype.bytesPerElement=12,Dr("StructArrayLayout2ub2f12",De);var He=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae){var Oe=this.length;return this.resize(Oe+1),this.emplace(Oe,J,he,Ae)},V.prototype.emplace=function(J,he,Ae,Oe){var Ge=3*J;return this.uint16[Ge+0]=he,this.uint16[Ge+1]=Ae,this.uint16[Ge+2]=Oe,J},V}(Ji);He.prototype.bytesPerElement=6,Dr("StructArrayLayout3ui6",He);var Ze=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn,Mn,Nn,Bn,Wn){var Zn=this.length;return this.resize(Zn+1),this.emplace(Zn,J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn,Mn,Nn,Bn,Wn)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn,Mn,Nn,Bn,Wn,Zn){var er=24*J,sr=12*J,fr=48*J;return this.int16[er+0]=he,this.int16[er+1]=Ae,this.uint16[er+2]=Oe,this.uint16[er+3]=Ge,this.uint32[sr+2]=it,this.uint32[sr+3]=pt,this.uint32[sr+4]=Ct,this.uint16[er+10]=Dt,this.uint16[er+11]=Gt,this.uint16[er+12]=Zt,this.float32[sr+7]=$t,this.float32[sr+8]=fn,this.uint8[fr+36]=Mn,this.uint8[fr+37]=Nn,this.uint8[fr+38]=Bn,this.uint32[sr+10]=Wn,this.int16[er+22]=Zn,J},V}(Ji);Ze.prototype.bytesPerElement=48,Dr("StructArrayLayout2i2ui3ul3ui2f3ub1ul1i48",Ze);var at=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn,Mn,Nn,Bn,Wn,Zn,er,sr,fr,Pr,Tr,Nr,Xr,hi,Jr,ui){var ri=this.length;return this.resize(ri+1),this.emplace(ri,J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn,Mn,Nn,Bn,Wn,Zn,er,sr,fr,Pr,Tr,Nr,Xr,hi,Jr,ui)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn,Mn,Nn,Bn,Wn,Zn,er,sr,fr,Pr,Tr,Nr,Xr,hi,Jr,ui,ri){var Kr=34*J,Di=17*J;return this.int16[Kr+0]=he,this.int16[Kr+1]=Ae,this.int16[Kr+2]=Oe,this.int16[Kr+3]=Ge,this.int16[Kr+4]=it,this.int16[Kr+5]=pt,this.int16[Kr+6]=Ct,this.int16[Kr+7]=Dt,this.uint16[Kr+8]=Gt,this.uint16[Kr+9]=Zt,this.uint16[Kr+10]=$t,this.uint16[Kr+11]=fn,this.uint16[Kr+12]=Mn,this.uint16[Kr+13]=Nn,this.uint16[Kr+14]=Bn,this.uint16[Kr+15]=Wn,this.uint16[Kr+16]=Zn,this.uint16[Kr+17]=er,this.uint16[Kr+18]=sr,this.uint16[Kr+19]=fr,this.uint16[Kr+20]=Pr,this.uint16[Kr+21]=Tr,this.uint16[Kr+22]=Nr,this.uint32[Di+12]=Xr,this.float32[Di+13]=hi,this.float32[Di+14]=Jr,this.float32[Di+15]=ui,this.float32[Di+16]=ri,J},V}(Ji);at.prototype.bytesPerElement=68,Dr("StructArrayLayout8i15ui1ul4f68",at);var Tt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J){var he=this.length;return this.resize(he+1),this.emplace(he,J)},V.prototype.emplace=function(J,he){var Ae=1*J;return this.float32[Ae+0]=he,J},V}(Ji);Tt.prototype.bytesPerElement=4,Dr("StructArrayLayout1f4",Tt);var At=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae){var Oe=this.length;return this.resize(Oe+1),this.emplace(Oe,J,he,Ae)},V.prototype.emplace=function(J,he,Ae,Oe){var Ge=3*J;return this.int16[Ge+0]=he,this.int16[Ge+1]=Ae,this.int16[Ge+2]=Oe,J},V}(Ji);At.prototype.bytesPerElement=6,Dr("StructArrayLayout3i6",At);var se=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae){var Oe=this.length;return this.resize(Oe+1),this.emplace(Oe,J,he,Ae)},V.prototype.emplace=function(J,he,Ae,Oe){var Ge=2*J,it=4*J;return this.uint32[Ge+0]=he,this.uint16[it+2]=Ae,this.uint16[it+3]=Oe,J},V}(Ji);se.prototype.bytesPerElement=8,Dr("StructArrayLayout1ul2ui8",se);var ve=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he){var Ae=this.length;return this.resize(Ae+1),this.emplace(Ae,J,he)},V.prototype.emplace=function(J,he,Ae){var Oe=2*J;return this.uint16[Oe+0]=he,this.uint16[Oe+1]=Ae,J},V}(Ji);ve.prototype.bytesPerElement=4,Dr("StructArrayLayout2ui4",ve);var Ie=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J){var he=this.length;return this.resize(he+1),this.emplace(he,J)},V.prototype.emplace=function(J,he){var Ae=1*J;return this.uint16[Ae+0]=he,J},V}(Ji);Ie.prototype.bytesPerElement=2,Dr("StructArrayLayout1ui2",Ie);var Fe=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he){var Ae=this.length;return this.resize(Ae+1),this.emplace(Ae,J,he)},V.prototype.emplace=function(J,he,Ae){var Oe=2*J;return this.float32[Oe+0]=he,this.float32[Oe+1]=Ae,J},V}(Ji);Fe.prototype.bytesPerElement=8,Dr("StructArrayLayout2f8",Fe);var Ue=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe){var Ge=this.length;return this.resize(Ge+1),this.emplace(Ge,J,he,Ae,Oe)},V.prototype.emplace=function(J,he,Ae,Oe,Ge){var it=4*J;return this.float32[it+0]=he,this.float32[it+1]=Ae,this.float32[it+2]=Oe,this.float32[it+3]=Ge,J},V}(Ji);Ue.prototype.bytesPerElement=16,Dr("StructArrayLayout4f16",Ue);var We=function(P){function V(){P.apply(this,arguments)}P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V;var J={anchorPointX:{configurable:!0},anchorPointY:{configurable:!0},x1:{configurable:!0},y1:{configurable:!0},x2:{configurable:!0},y2:{configurable:!0},featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0},anchorPoint:{configurable:!0}};return J.anchorPointX.get=function(){return this._structArray.int16[this._pos2+0]},J.anchorPointY.get=function(){return this._structArray.int16[this._pos2+1]},J.x1.get=function(){return this._structArray.int16[this._pos2+2]},J.y1.get=function(){return this._structArray.int16[this._pos2+3]},J.x2.get=function(){return this._structArray.int16[this._pos2+4]},J.y2.get=function(){return this._structArray.int16[this._pos2+5]},J.featureIndex.get=function(){return this._structArray.uint32[this._pos4+3]},J.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+8]},J.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+9]},J.anchorPoint.get=function(){return new a(this.anchorPointX,this.anchorPointY)},Object.defineProperties(V.prototype,J),V}(hl);We.prototype.size=20;var Xe=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new We(this,J)},V}(K);Dr("CollisionBoxArray",Xe);var tt=function(P){function V(){P.apply(this,arguments)}P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V;var J={anchorX:{configurable:!0},anchorY:{configurable:!0},glyphStartIndex:{configurable:!0},numGlyphs:{configurable:!0},vertexStartIndex:{configurable:!0},lineStartIndex:{configurable:!0},lineLength:{configurable:!0},segment:{configurable:!0},lowerSize:{configurable:!0},upperSize:{configurable:!0},lineOffsetX:{configurable:!0},lineOffsetY:{configurable:!0},writingMode:{configurable:!0},placedOrientation:{configurable:!0},hidden:{configurable:!0},crossTileID:{configurable:!0},associatedIconIndex:{configurable:!0}};return J.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},J.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},J.glyphStartIndex.get=function(){return this._structArray.uint16[this._pos2+2]},J.numGlyphs.get=function(){return this._structArray.uint16[this._pos2+3]},J.vertexStartIndex.get=function(){return this._structArray.uint32[this._pos4+2]},J.lineStartIndex.get=function(){return this._structArray.uint32[this._pos4+3]},J.lineLength.get=function(){return this._structArray.uint32[this._pos4+4]},J.segment.get=function(){return this._structArray.uint16[this._pos2+10]},J.lowerSize.get=function(){return this._structArray.uint16[this._pos2+11]},J.upperSize.get=function(){return this._structArray.uint16[this._pos2+12]},J.lineOffsetX.get=function(){return this._structArray.float32[this._pos4+7]},J.lineOffsetY.get=function(){return this._structArray.float32[this._pos4+8]},J.writingMode.get=function(){return this._structArray.uint8[this._pos1+36]},J.placedOrientation.get=function(){return this._structArray.uint8[this._pos1+37]},J.placedOrientation.set=function(he){this._structArray.uint8[this._pos1+37]=he},J.hidden.get=function(){return this._structArray.uint8[this._pos1+38]},J.hidden.set=function(he){this._structArray.uint8[this._pos1+38]=he},J.crossTileID.get=function(){return this._structArray.uint32[this._pos4+10]},J.crossTileID.set=function(he){this._structArray.uint32[this._pos4+10]=he},J.associatedIconIndex.get=function(){return this._structArray.int16[this._pos2+22]},Object.defineProperties(V.prototype,J),V}(hl);tt.prototype.size=48;var lt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new tt(this,J)},V}(Ze);Dr("PlacedSymbolArray",lt);var mt=function(P){function V(){P.apply(this,arguments)}P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V;var J={anchorX:{configurable:!0},anchorY:{configurable:!0},rightJustifiedTextSymbolIndex:{configurable:!0},centerJustifiedTextSymbolIndex:{configurable:!0},leftJustifiedTextSymbolIndex:{configurable:!0},verticalPlacedTextSymbolIndex:{configurable:!0},placedIconSymbolIndex:{configurable:!0},verticalPlacedIconSymbolIndex:{configurable:!0},key:{configurable:!0},textBoxStartIndex:{configurable:!0},textBoxEndIndex:{configurable:!0},verticalTextBoxStartIndex:{configurable:!0},verticalTextBoxEndIndex:{configurable:!0},iconBoxStartIndex:{configurable:!0},iconBoxEndIndex:{configurable:!0},verticalIconBoxStartIndex:{configurable:!0},verticalIconBoxEndIndex:{configurable:!0},featureIndex:{configurable:!0},numHorizontalGlyphVertices:{configurable:!0},numVerticalGlyphVertices:{configurable:!0},numIconVertices:{configurable:!0},numVerticalIconVertices:{configurable:!0},useRuntimeCollisionCircles:{configurable:!0},crossTileID:{configurable:!0},textBoxScale:{configurable:!0},textOffset0:{configurable:!0},textOffset1:{configurable:!0},collisionCircleDiameter:{configurable:!0}};return J.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},J.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},J.rightJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+2]},J.centerJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+3]},J.leftJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+4]},J.verticalPlacedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+5]},J.placedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+6]},J.verticalPlacedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+7]},J.key.get=function(){return this._structArray.uint16[this._pos2+8]},J.textBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+9]},J.textBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+10]},J.verticalTextBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+11]},J.verticalTextBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+12]},J.iconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+13]},J.iconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+14]},J.verticalIconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+15]},J.verticalIconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+16]},J.featureIndex.get=function(){return this._structArray.uint16[this._pos2+17]},J.numHorizontalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+18]},J.numVerticalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+19]},J.numIconVertices.get=function(){return this._structArray.uint16[this._pos2+20]},J.numVerticalIconVertices.get=function(){return this._structArray.uint16[this._pos2+21]},J.useRuntimeCollisionCircles.get=function(){return this._structArray.uint16[this._pos2+22]},J.crossTileID.get=function(){return this._structArray.uint32[this._pos4+12]},J.crossTileID.set=function(he){this._structArray.uint32[this._pos4+12]=he},J.textBoxScale.get=function(){return this._structArray.float32[this._pos4+13]},J.textOffset0.get=function(){return this._structArray.float32[this._pos4+14]},J.textOffset1.get=function(){return this._structArray.float32[this._pos4+15]},J.collisionCircleDiameter.get=function(){return this._structArray.float32[this._pos4+16]},Object.defineProperties(V.prototype,J),V}(hl);mt.prototype.size=68;var zt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new mt(this,J)},V}(at);Dr("SymbolInstanceArray",zt);var Ut=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.getoffsetX=function(J){return this.float32[1*J+0]},V}(Tt);Dr("GlyphOffsetArray",Ut);var Ht=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.getx=function(J){return this.int16[3*J+0]},V.prototype.gety=function(J){return this.int16[3*J+1]},V.prototype.gettileUnitDistanceFromAnchor=function(J){return this.int16[3*J+2]},V}(At);Dr("SymbolLineVertexArray",Ht);var en=function(P){function V(){P.apply(this,arguments)}P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V;var J={featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0}};return J.featureIndex.get=function(){return this._structArray.uint32[this._pos4+0]},J.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+2]},J.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+3]},Object.defineProperties(V.prototype,J),V}(hl);en.prototype.size=8;var vn=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new en(this,J)},V}(se);Dr("FeatureIndexArray",vn);var tn=la([{name:"a_pos",components:2,type:"Int16"}],4).members,ln=function(P){P===void 0&&(P=[]),this.segments=P};function an(P,V){return 256*(P=h(Math.floor(P),0,255))+h(Math.floor(V),0,255)}ln.prototype.prepareSegment=function(P,V,J,he){var Ae=this.segments[this.segments.length-1];return P>ln.MAX_VERTEX_ARRAY_LENGTH&&R("Max vertices per segment is "+ln.MAX_VERTEX_ARRAY_LENGTH+": bucket requested "+P),(!Ae||Ae.vertexLength+P>ln.MAX_VERTEX_ARRAY_LENGTH||Ae.sortKey!==he)&&(Ae={vertexOffset:V.length,primitiveOffset:J.length,vertexLength:0,primitiveLength:0},he!==void 0&&(Ae.sortKey=he),this.segments.push(Ae)),Ae},ln.prototype.get=function(){return this.segments},ln.prototype.destroy=function(){for(var P=0,V=this.segments;P>>16)*it&65535)<<16)&4294967295)<<15|Ct>>>17))*pt+(((Ct>>>16)*pt&65535)<<16)&4294967295)<<13|Oe>>>19))+((5*(Oe>>>16)&65535)<<16)&4294967295))+((58964+(Ge>>>16)&65535)<<16);switch(Ct=0,he){case 3:Ct^=(255&V.charCodeAt(Dt+2))<<16;case 2:Ct^=(255&V.charCodeAt(Dt+1))<<8;case 1:Oe^=Ct=(65535&(Ct=(Ct=(65535&(Ct^=255&V.charCodeAt(Dt)))*it+(((Ct>>>16)*it&65535)<<16)&4294967295)<<15|Ct>>>17))*pt+(((Ct>>>16)*pt&65535)<<16)&4294967295}return Oe^=V.length,Oe=2246822507*(65535&(Oe^=Oe>>>16))+((2246822507*(Oe>>>16)&65535)<<16)&4294967295,Oe=3266489909*(65535&(Oe^=Oe>>>13))+((3266489909*(Oe>>>16)&65535)<<16)&4294967295,(Oe^=Oe>>>16)>>>0}}),on=M(function(P){P.exports=function(V,J){for(var he,Ae=V.length,Oe=J^Ae,Ge=0;Ae>=4;)he=1540483477*(65535&(he=255&V.charCodeAt(Ge)|(255&V.charCodeAt(++Ge))<<8|(255&V.charCodeAt(++Ge))<<16|(255&V.charCodeAt(++Ge))<<24))+((1540483477*(he>>>16)&65535)<<16),Oe=1540483477*(65535&Oe)+((1540483477*(Oe>>>16)&65535)<<16)^(he=1540483477*(65535&(he^=he>>>24))+((1540483477*(he>>>16)&65535)<<16)),Ae-=4,++Ge;switch(Ae){case 3:Oe^=(255&V.charCodeAt(Ge+2))<<16;case 2:Oe^=(255&V.charCodeAt(Ge+1))<<8;case 1:Oe=1540483477*(65535&(Oe^=255&V.charCodeAt(Ge)))+((1540483477*(Oe>>>16)&65535)<<16)}return Oe=1540483477*(65535&(Oe^=Oe>>>13))+((1540483477*(Oe>>>16)&65535)<<16),(Oe^=Oe>>>15)>>>0}}),Fn=_n,Hn=_n,ir=on;Fn.murmur3=Hn,Fn.murmur2=ir;var ar=function(){this.ids=[],this.positions=[],this.indexed=!1};ar.prototype.add=function(P,V,J,he){this.ids.push(Er(P)),this.positions.push(V,J,he)},ar.prototype.getPositions=function(P){for(var V=Er(P),J=0,he=this.ids.length-1;J>1;this.ids[Ae]>=V?he=Ae:J=Ae+1}for(var Oe=[];this.ids[J]===V;){var Ge=this.positions[3*J],it=this.positions[3*J+1],pt=this.positions[3*J+2];Oe.push({index:Ge,start:it,end:pt}),J++}return Oe},ar.serialize=function(P,V){var J=new Float64Array(P.ids),he=new Uint32Array(P.positions);return xr(J,he,0,J.length-1),V&&V.push(J.buffer,he.buffer),{ids:J,positions:he}},ar.deserialize=function(P){var V=new ar;return V.ids=P.ids,V.positions=P.positions,V.indexed=!0,V};var Mr=Math.pow(2,53)-1;function Er(P){var V=+P;return!isNaN(V)&&V<=Mr?V:Fn(String(P))}function xr(P,V,J,he){for(;J>1],Oe=J-1,Ge=he+1;;){do Oe++;while(P[Oe]Ae);if(Oe>=Ge)break;kr(P,Oe,Ge),kr(V,3*Oe,3*Ge),kr(V,3*Oe+1,3*Ge+1),kr(V,3*Oe+2,3*Ge+2)}Ge-J_o.max||Ge.y<_o.min||Ge.y>_o.max)&&(R("Geometry exceeds allowed extent, reduce your vector tile buffer size"),Ge.x=h(Ge.x,_o.min,_o.max),Ge.y=h(Ge.y,_o.min,_o.max))}return J}function Ps(P,V,J,he,Ae){P.emplaceBack(2*V+(he+1)/2,2*J+(Ae+1)/2)}var Ri=function(P){this.zoom=P.zoom,this.overscaling=P.overscaling,this.layers=P.layers,this.layerIds=this.layers.map(function(V){return V.id}),this.index=P.index,this.hasPattern=!1,this.layoutVertexArray=new et,this.indexArray=new He,this.segments=new ln,this.programConfigurations=new Ia(tn,P.layers,P.zoom),this.stateDependentLayerIds=this.layers.filter(function(V){return V.isStateDependent()}).map(function(V){return V.id})};function Xa(P,V){for(var J=0;J1){if(L0(P,V))return!0;for(var he=0;he1?P.distSqr(J):P.distSqr(J.sub(V)._mult(Ae)._add(V))}function od(P,V){for(var J,he,Ae,Oe=!1,Ge=0;GeV.y!=Ae.y>V.y&&V.x<(Ae.x-he.x)*(V.y-he.y)/(Ae.y-he.y)+he.x&&(Oe=!Oe);return Oe}function wf(P,V){for(var J=!1,he=0,Ae=P.length-1;heV.y!=Ge.y>V.y&&V.x<(Ge.x-Oe.x)*(V.y-Oe.y)/(Ge.y-Oe.y)+Oe.x&&(J=!J)}return J}function p1(P,V,J){var he=J[0],Ae=J[2];if(P.xAe.x&&V.x>Ae.x||P.yAe.y&&V.y>Ae.y)return!1;var Oe=I(P,V,J[0]);return Oe!==I(P,V,J[1])||Oe!==I(P,V,J[2])||Oe!==I(P,V,J[3])}function zh(P,V,J){var he=V.paint.get(P).value;return he.kind==="constant"?he.value:J.programConfigurations.get(V.id).getMaxValue(P)}function dg(P){return Math.sqrt(P[0]*P[0]+P[1]*P[1])}function pg(P,V,J,he,Ae){if(!V[0]&&!V[1])return P;var Oe=a.convert(V)._mult(Ae);J==="viewport"&&Oe._rotate(-he);for(var Ge=[],it=0;it=li||Dt<0||Dt>=li)){var Gt=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray,P.sortKey),Zt=Gt.vertexLength;Ps(this.layoutVertexArray,Ct,Dt,-1,-1),Ps(this.layoutVertexArray,Ct,Dt,1,-1),Ps(this.layoutVertexArray,Ct,Dt,1,1),Ps(this.layoutVertexArray,Ct,Dt,-1,1),this.indexArray.emplaceBack(Zt,Zt+1,Zt+2),this.indexArray.emplaceBack(Zt,Zt+3,Zt+2),Gt.vertexLength+=4,Gt.primitiveLength+=2}}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,P,J,{},he)},Dr("CircleBucket",Ri,{omit:["layers"]});var TS=new xo({"circle-sort-key":new ni(Re.layout_circle["circle-sort-key"])}),kS={paint:new xo({"circle-radius":new ni(Re.paint_circle["circle-radius"]),"circle-color":new ni(Re.paint_circle["circle-color"]),"circle-blur":new ni(Re.paint_circle["circle-blur"]),"circle-opacity":new ni(Re.paint_circle["circle-opacity"]),"circle-translate":new Hr(Re.paint_circle["circle-translate"]),"circle-translate-anchor":new Hr(Re.paint_circle["circle-translate-anchor"]),"circle-pitch-scale":new Hr(Re.paint_circle["circle-pitch-scale"]),"circle-pitch-alignment":new Hr(Re.paint_circle["circle-pitch-alignment"]),"circle-stroke-width":new ni(Re.paint_circle["circle-stroke-width"]),"circle-stroke-color":new ni(Re.paint_circle["circle-stroke-color"]),"circle-stroke-opacity":new ni(Re.paint_circle["circle-stroke-opacity"])}),layout:TS},Fl=typeof Float32Array<"u"?Float32Array:Array;function m1(P){return P[0]=1,P[1]=0,P[2]=0,P[3]=0,P[4]=0,P[5]=1,P[6]=0,P[7]=0,P[8]=0,P[9]=0,P[10]=1,P[11]=0,P[12]=0,P[13]=0,P[14]=0,P[15]=1,P}function L_(P,V,J){var he=V[0],Ae=V[1],Oe=V[2],Ge=V[3],it=V[4],pt=V[5],Ct=V[6],Dt=V[7],Gt=V[8],Zt=V[9],$t=V[10],fn=V[11],Mn=V[12],Nn=V[13],Bn=V[14],Wn=V[15],Zn=J[0],er=J[1],sr=J[2],fr=J[3];return P[0]=Zn*he+er*it+sr*Gt+fr*Mn,P[1]=Zn*Ae+er*pt+sr*Zt+fr*Nn,P[2]=Zn*Oe+er*Ct+sr*$t+fr*Bn,P[3]=Zn*Ge+er*Dt+sr*fn+fr*Wn,Zn=J[4],er=J[5],sr=J[6],fr=J[7],P[4]=Zn*he+er*it+sr*Gt+fr*Mn,P[5]=Zn*Ae+er*pt+sr*Zt+fr*Nn,P[6]=Zn*Oe+er*Ct+sr*$t+fr*Bn,P[7]=Zn*Ge+er*Dt+sr*fn+fr*Wn,Zn=J[8],er=J[9],sr=J[10],fr=J[11],P[8]=Zn*he+er*it+sr*Gt+fr*Mn,P[9]=Zn*Ae+er*pt+sr*Zt+fr*Nn,P[10]=Zn*Oe+er*Ct+sr*$t+fr*Bn,P[11]=Zn*Ge+er*Dt+sr*fn+fr*Wn,Zn=J[12],er=J[13],sr=J[14],fr=J[15],P[12]=Zn*he+er*it+sr*Gt+fr*Mn,P[13]=Zn*Ae+er*pt+sr*Zt+fr*Nn,P[14]=Zn*Oe+er*Ct+sr*$t+fr*Bn,P[15]=Zn*Ge+er*Dt+sr*fn+fr*Wn,P}Math.hypot||(Math.hypot=function(){for(var P=arguments,V=0,J=arguments.length;J--;)V+=P[J]*P[J];return Math.sqrt(V)});var MS=L_,mg,AS=function(P,V,J){return P[0]=V[0]-J[0],P[1]=V[1]-J[1],P[2]=V[2]-J[2],P};function gg(P,V,J){var he=V[0],Ae=V[1],Oe=V[2],Ge=V[3];return P[0]=J[0]*he+J[4]*Ae+J[8]*Oe+J[12]*Ge,P[1]=J[1]*he+J[5]*Ae+J[9]*Oe+J[13]*Ge,P[2]=J[2]*he+J[6]*Ae+J[10]*Oe+J[14]*Ge,P[3]=J[3]*he+J[7]*Ae+J[11]*Oe+J[15]*Ge,P}mg=new Fl(3),Fl!=Float32Array&&(mg[0]=0,mg[1]=0,mg[2]=0),function(){var P=new Fl(4);Fl!=Float32Array&&(P[0]=0,P[1]=0,P[2]=0,P[3]=0)}();var SS=function(P){var V=P[0],J=P[1];return V*V+J*J},CS=(function(){var P=new Fl(2);Fl!=Float32Array&&(P[0]=0,P[1]=0)}(),function(P){function V(J){P.call(this,J,kS)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.createBucket=function(J){return new Ri(J)},V.prototype.queryRadius=function(J){var he=J;return zh("circle-radius",this,he)+zh("circle-stroke-width",this,he)+dg(this.paint.get("circle-translate"))},V.prototype.queryIntersectsFeature=function(J,he,Ae,Oe,Ge,it,pt,Ct){for(var Dt=pg(J,this.paint.get("circle-translate"),this.paint.get("circle-translate-anchor"),it.angle,pt),Gt=this.paint.get("circle-radius").evaluate(he,Ae)+this.paint.get("circle-stroke-width").evaluate(he,Ae),Zt=this.paint.get("circle-pitch-alignment")==="map",$t=Zt?Dt:function(Pr,Tr){return Pr.map(function(Nr){return I_(Nr,Tr)})}(Dt,Ct),fn=Zt?Gt*pt:Gt,Mn=0,Nn=Oe;MnP.width||Ae.height>P.height||J.x>P.width-Ae.width||J.y>P.height-Ae.height)throw new RangeError("out of range source coordinates for image copy");if(Ae.width>V.width||Ae.height>V.height||he.x>V.width-Ae.width||he.y>V.height-Ae.height)throw new RangeError("out of range destination coordinates for image copy");for(var Ge=P.data,it=V.data,pt=0;pt80*J){he=Oe=P[0],Ae=Ge=P[1];for(var fn=J;fnOe&&(Oe=it),pt>Ge&&(Ge=pt);Ct=(Ct=Math.max(Oe-he,Ge-Ae))!==0?1/Ct:0}return I0(Zt,$t,J,he,Ae,Ct),$t}function z_(P,V,J,he,Ae){var Oe,Ge;if(Ae===_1(P,V,J,he)>0)for(Oe=V;Oe=V;Oe-=he)Ge=N_(Oe,P[Oe],P[Oe+1],Ge);return Ge&&yg(Ge,Ge.next)&&(P0(Ge),Ge=Ge.next),Ge}function Tf(P,V){if(!P)return P;V||(V=P);var J,he=P;do if(J=!1,he.steiner||!yg(he,he.next)&&wo(he.prev,he,he.next)!==0)he=he.next;else{if(P0(he),(he=V=he.prev)===he.next)break;J=!0}while(J||he!==V);return V}function I0(P,V,J,he,Ae,Oe,Ge){if(P){!Ge&&Oe&&function(Dt,Gt,Zt,$t){var fn=Dt;do fn.z===null&&(fn.z=b1(fn.x,fn.y,Gt,Zt,$t)),fn.prevZ=fn.prev,fn.nextZ=fn.next,fn=fn.next;while(fn!==Dt);fn.prevZ.nextZ=null,fn.prevZ=null,function(Mn){var Nn,Bn,Wn,Zn,er,sr,fr,Pr,Tr=1;do{for(Bn=Mn,Mn=null,er=null,sr=0;Bn;){for(sr++,Wn=Bn,fr=0,Nn=0;Nn0||Pr>0&&Wn;)fr!==0&&(Pr===0||!Wn||Bn.z<=Wn.z)?(Zn=Bn,Bn=Bn.nextZ,fr--):(Zn=Wn,Wn=Wn.nextZ,Pr--),er?er.nextZ=Zn:Mn=Zn,Zn.prevZ=er,er=Zn;Bn=Wn}er.nextZ=null,Tr*=2}while(sr>1)}(fn)}(P,he,Ae,Oe);for(var it,pt,Ct=P;P.prev!==P.next;)if(it=P.prev,pt=P.next,Oe?DS(P,he,Ae,Oe):OS(P))V.push(it.i/J),V.push(P.i/J),V.push(pt.i/J),P0(P),P=pt.next,Ct=pt.next;else if((P=pt)===Ct){Ge?Ge===1?I0(P=zS(Tf(P),V,J),V,J,he,Ae,Oe,2):Ge===2&&FS(P,V,J,he,Ae,Oe):I0(Tf(P),V,J,he,Ae,Oe,1);break}}}function OS(P){var V=P.prev,J=P,he=P.next;if(wo(V,J,he)>=0)return!1;for(var Ae=P.next.next;Ae!==P.prev;){if(ap(V.x,V.y,J.x,J.y,he.x,he.y,Ae.x,Ae.y)&&wo(Ae.prev,Ae,Ae.next)>=0)return!1;Ae=Ae.next}return!0}function DS(P,V,J,he){var Ae=P.prev,Oe=P,Ge=P.next;if(wo(Ae,Oe,Ge)>=0)return!1;for(var it=Ae.xOe.x?Ae.x>Ge.x?Ae.x:Ge.x:Oe.x>Ge.x?Oe.x:Ge.x,Dt=Ae.y>Oe.y?Ae.y>Ge.y?Ae.y:Ge.y:Oe.y>Ge.y?Oe.y:Ge.y,Gt=b1(it,pt,V,J,he),Zt=b1(Ct,Dt,V,J,he),$t=P.prevZ,fn=P.nextZ;$t&&$t.z>=Gt&&fn&&fn.z<=Zt;){if($t!==P.prev&&$t!==P.next&&ap(Ae.x,Ae.y,Oe.x,Oe.y,Ge.x,Ge.y,$t.x,$t.y)&&wo($t.prev,$t,$t.next)>=0||($t=$t.prevZ,fn!==P.prev&&fn!==P.next&&ap(Ae.x,Ae.y,Oe.x,Oe.y,Ge.x,Ge.y,fn.x,fn.y)&&wo(fn.prev,fn,fn.next)>=0))return!1;fn=fn.nextZ}for(;$t&&$t.z>=Gt;){if($t!==P.prev&&$t!==P.next&&ap(Ae.x,Ae.y,Oe.x,Oe.y,Ge.x,Ge.y,$t.x,$t.y)&&wo($t.prev,$t,$t.next)>=0)return!1;$t=$t.prevZ}for(;fn&&fn.z<=Zt;){if(fn!==P.prev&&fn!==P.next&&ap(Ae.x,Ae.y,Oe.x,Oe.y,Ge.x,Ge.y,fn.x,fn.y)&&wo(fn.prev,fn,fn.next)>=0)return!1;fn=fn.nextZ}return!0}function zS(P,V,J){var he=P;do{var Ae=he.prev,Oe=he.next.next;!yg(Ae,Oe)&&F_(Ae,he,he.next,Oe)&&R0(Ae,Oe)&&R0(Oe,Ae)&&(V.push(Ae.i/J),V.push(he.i/J),V.push(Oe.i/J),P0(he),P0(he.next),he=P=Oe),he=he.next}while(he!==P);return Tf(he)}function FS(P,V,J,he,Ae,Oe){var Ge=P;do{for(var it=Ge.next.next;it!==Ge.prev;){if(Ge.i!==it.i&&US(Ge,it)){var pt=B_(Ge,it);return Ge=Tf(Ge,Ge.next),pt=Tf(pt,pt.next),I0(Ge,V,J,he,Ae,Oe),void I0(pt,V,J,he,Ae,Oe)}it=it.next}Ge=Ge.next}while(Ge!==P)}function BS(P,V){return P.x-V.x}function NS(P,V){if(V=function(he,Ae){var Oe,Ge=Ae,it=he.x,pt=he.y,Ct=-1/0;do{if(pt<=Ge.y&&pt>=Ge.next.y&&Ge.next.y!==Ge.y){var Dt=Ge.x+(pt-Ge.y)*(Ge.next.x-Ge.x)/(Ge.next.y-Ge.y);if(Dt<=it&&Dt>Ct){if(Ct=Dt,Dt===it){if(pt===Ge.y)return Ge;if(pt===Ge.next.y)return Ge.next}Oe=Ge.x=Ge.x&&Ge.x>=$t&&it!==Ge.x&&ap(ptOe.x||Ge.x===Oe.x&&VS(Oe,Ge)))&&(Oe=Ge,Mn=Gt)),Ge=Ge.next;while(Ge!==Zt);return Oe}(P,V)){var J=B_(V,P);Tf(V,V.next),Tf(J,J.next)}}function VS(P,V){return wo(P.prev,P,V.prev)<0&&wo(V.next,P,P.next)<0}function b1(P,V,J,he,Ae){return(P=1431655765&((P=858993459&((P=252645135&((P=16711935&((P=32767*(P-J)*Ae)|P<<8))|P<<4))|P<<2))|P<<1))|(V=1431655765&((V=858993459&((V=252645135&((V=16711935&((V=32767*(V-he)*Ae)|V<<8))|V<<4))|V<<2))|V<<1))<<1}function jS(P){var V=P,J=P;do(V.x=0&&(P-Ge)*(he-it)-(J-Ge)*(V-it)>=0&&(J-Ge)*(Oe-it)-(Ae-Ge)*(he-it)>=0}function US(P,V){return P.next.i!==V.i&&P.prev.i!==V.i&&!function(J,he){var Ae=J;do{if(Ae.i!==J.i&&Ae.next.i!==J.i&&Ae.i!==he.i&&Ae.next.i!==he.i&&F_(Ae,Ae.next,J,he))return!0;Ae=Ae.next}while(Ae!==J);return!1}(P,V)&&(R0(P,V)&&R0(V,P)&&function(J,he){var Ae=J,Oe=!1,Ge=(J.x+he.x)/2,it=(J.y+he.y)/2;do Ae.y>it!=Ae.next.y>it&&Ae.next.y!==Ae.y&&Ge<(Ae.next.x-Ae.x)*(it-Ae.y)/(Ae.next.y-Ae.y)+Ae.x&&(Oe=!Oe),Ae=Ae.next;while(Ae!==J);return Oe}(P,V)&&(wo(P.prev,P,V.prev)||wo(P,V.prev,V))||yg(P,V)&&wo(P.prev,P,P.next)>0&&wo(V.prev,V,V.next)>0)}function wo(P,V,J){return(V.y-P.y)*(J.x-V.x)-(V.x-P.x)*(J.y-V.y)}function yg(P,V){return P.x===V.x&&P.y===V.y}function F_(P,V,J,he){var Ae=xg(wo(P,V,J)),Oe=xg(wo(P,V,he)),Ge=xg(wo(J,he,P)),it=xg(wo(J,he,V));return Ae!==Oe&&Ge!==it||!(Ae!==0||!bg(P,J,V))||!(Oe!==0||!bg(P,he,V))||!(Ge!==0||!bg(J,P,he))||!(it!==0||!bg(J,V,he))}function bg(P,V,J){return V.x<=Math.max(P.x,J.x)&&V.x>=Math.min(P.x,J.x)&&V.y<=Math.max(P.y,J.y)&&V.y>=Math.min(P.y,J.y)}function xg(P){return P>0?1:P<0?-1:0}function R0(P,V){return wo(P.prev,P,P.next)<0?wo(P,V,P.next)>=0&&wo(P,P.prev,V)>=0:wo(P,V,P.prev)<0||wo(P,P.next,V)<0}function B_(P,V){var J=new x1(P.i,P.x,P.y),he=new x1(V.i,V.x,V.y),Ae=P.next,Oe=V.prev;return P.next=V,V.prev=P,J.next=Ae,Ae.prev=J,he.next=J,J.prev=he,Oe.next=he,he.prev=Oe,he}function N_(P,V,J,he){var Ae=new x1(P,V,J);return he?(Ae.next=he.next,Ae.prev=he,he.next.prev=Ae,he.next=Ae):(Ae.prev=Ae,Ae.next=Ae),Ae}function P0(P){P.next.prev=P.prev,P.prev.next=P.next,P.prevZ&&(P.prevZ.nextZ=P.nextZ),P.nextZ&&(P.nextZ.prevZ=P.prevZ)}function x1(P,V,J){this.i=P,this.x=V,this.y=J,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function _1(P,V,J,he){for(var Ae=0,Oe=V,Ge=J-he;OeJ;){if(he-J>600){var Oe=he-J+1,Ge=V-J+1,it=Math.log(Oe),pt=.5*Math.exp(2*it/3),Ct=.5*Math.sqrt(it*pt*(Oe-pt)/Oe)*(Ge-Oe/2<0?-1:1);V_(P,V,Math.max(J,Math.floor(V-Ge*pt/Oe+Ct)),Math.min(he,Math.floor(V+(Oe-Ge)*pt/Oe+Ct)),Ae)}var Dt=P[V],Gt=J,Zt=he;for(O0(P,J,V),Ae(P[he],Dt)>0&&O0(P,J,he);Gt0;)Zt--}Ae(P[J],Dt)===0?O0(P,J,Zt):O0(P,++Zt,he),Zt<=V&&(J=Zt+1),V<=Zt&&(he=Zt-1)}}function O0(P,V,J){var he=P[V];P[V]=P[J],P[J]=he}function GS(P,V){return PV?1:0}function w1(P,V){var J=P.length;if(J<=1)return[P];for(var he,Ae,Oe=[],Ge=0;Ge1)for(var pt=0;pt0&&(he+=P[Ae-1].length,J.holes.push(he))}return J},y1.default=PS;var kc=function(P){this.zoom=P.zoom,this.overscaling=P.overscaling,this.layers=P.layers,this.layerIds=this.layers.map(function(V){return V.id}),this.index=P.index,this.hasPattern=!1,this.patternFeatures=[],this.layoutVertexArray=new et,this.indexArray=new He,this.indexArray2=new ve,this.programConfigurations=new Ia(D_,P.layers,P.zoom),this.segments=new ln,this.segments2=new ln,this.stateDependentLayerIds=this.layers.filter(function(V){return V.isStateDependent()}).map(function(V){return V.id})};kc.prototype.populate=function(P,V,J){this.hasPattern=T1("fill",this.layers,V);for(var he=this.layers[0].layout.get("fill-sort-key"),Ae=[],Oe=0,Ge=P;Oe>3}if(Ae--,he===1||he===2)Oe+=P.readSVarint(),Ge+=P.readSVarint(),he===1&&(V&&it.push(V),V=[]),V.push(new a(Oe,Ge));else{if(he!==7)throw new Error("unknown command "+he);V&&V.push(V[0].clone())}}return V&&it.push(V),it},op.prototype.bbox=function(){var P=this._pbf;P.pos=this._geometry;for(var V=P.readVarint()+P.pos,J=1,he=0,Ae=0,Oe=0,Ge=1/0,it=-1/0,pt=1/0,Ct=-1/0;P.pos>3}if(he--,J===1||J===2)(Ae+=P.readSVarint())it&&(it=Ae),(Oe+=P.readSVarint())Ct&&(Ct=Oe);else if(J!==7)throw new Error("unknown command "+J)}return[Ge,pt,it,Ct]},op.prototype.toGeoJSON=function(P,V,J){var he,Ae,Oe=this.extent*Math.pow(2,J),Ge=this.extent*P,it=this.extent*V,pt=this.loadGeometry(),Ct=op.types[this.type];function Dt($t){for(var fn=0;fn<$t.length;fn++){var Mn=$t[fn],Nn=180-360*(Mn.y+it)/Oe;$t[fn]=[360*(Mn.x+Ge)/Oe-180,360/Math.PI*Math.atan(Math.exp(Nn*Math.PI/180))-90]}}switch(this.type){case 1:var Gt=[];for(he=0;he>3;Ae=Ge===1?he.readString():Ge===2?he.readFloat():Ge===3?he.readDouble():Ge===4?he.readVarint64():Ge===5?he.readVarint():Ge===6?he.readSVarint():Ge===7?he.readBoolean():null}return Ae}(J))}function JS(P,V,J){if(P===3){var he=new H_(J,J.readVarint()+J.pos);he.length&&(V[he.name]=he)}}G_.prototype.feature=function(P){if(P<0||P>=this._features.length)throw new Error("feature index out of bounds");this._pbf.pos=this._features[P];var V=this._pbf.readVarint()+this._pbf.pos;return new U_(this._pbf,V,this.extent,this._keys,this._values)};var sp={VectorTile:function(P,V){this.layers=P.readFields(JS,{},V)},VectorTileFeature:U_,VectorTileLayer:H_},QS=sp.VectorTileFeature.types,M1=Math.pow(2,13);function D0(P,V,J,he,Ae,Oe,Ge,it){P.emplaceBack(V,J,2*Math.floor(he*M1)+Ge,Ae*M1*2,Oe*M1*2,Math.round(it))}var Mc=function(P){this.zoom=P.zoom,this.overscaling=P.overscaling,this.layers=P.layers,this.layerIds=this.layers.map(function(V){return V.id}),this.index=P.index,this.hasPattern=!1,this.layoutVertexArray=new ct,this.indexArray=new He,this.programConfigurations=new Ia(j_,P.layers,P.zoom),this.segments=new ln,this.stateDependentLayerIds=this.layers.filter(function(V){return V.isStateDependent()}).map(function(V){return V.id})};function eC(P,V){return P.x===V.x&&(P.x<0||P.x>li)||P.y===V.y&&(P.y<0||P.y>li)}Mc.prototype.populate=function(P,V,J){this.features=[],this.hasPattern=T1("fill-extrusion",this.layers,V);for(var he=0,Ae=P;heli})||Di.every(function(pi){return pi.y<0})||Di.every(function(pi){return pi.y>li})))for(var Mn=0,Nn=0;Nn=1){var Wn=fn[Nn-1];if(!eC(Bn,Wn)){Gt.vertexLength+4>ln.MAX_VERTEX_ARRAY_LENGTH&&(Gt=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray));var Zn=Bn.sub(Wn)._perp()._unit(),er=Wn.dist(Bn);Mn+er>32768&&(Mn=0),D0(this.layoutVertexArray,Bn.x,Bn.y,Zn.x,Zn.y,0,0,Mn),D0(this.layoutVertexArray,Bn.x,Bn.y,Zn.x,Zn.y,0,1,Mn),Mn+=er,D0(this.layoutVertexArray,Wn.x,Wn.y,Zn.x,Zn.y,0,0,Mn),D0(this.layoutVertexArray,Wn.x,Wn.y,Zn.x,Zn.y,0,1,Mn);var sr=Gt.vertexLength;this.indexArray.emplaceBack(sr,sr+2,sr+1),this.indexArray.emplaceBack(sr+1,sr+2,sr+3),Gt.vertexLength+=4,Gt.primitiveLength+=2}}}}if(Gt.vertexLength+pt>ln.MAX_VERTEX_ARRAY_LENGTH&&(Gt=this.segments.prepareSegment(pt,this.layoutVertexArray,this.indexArray)),QS[P.type]==="Polygon"){for(var fr=[],Pr=[],Tr=Gt.vertexLength,Nr=0,Xr=it;Nr=2&&P[pt-1].equals(P[pt-2]);)pt--;for(var Ct=0;Ct0;if(Pr&&Bn>Ct){var Nr=Dt.dist($t);if(Nr>2*Gt){var Xr=Dt.sub(Dt.sub($t)._mult(Gt/Nr)._round());this.updateDistance($t,Xr),this.addCurrentVertex(Xr,Mn,0,0,Zt),$t=Xr}}var hi=$t&&fn,Jr=hi?J:it?"butt":he;if(hi&&Jr==="round"&&(srAe&&(Jr="bevel"),Jr==="bevel"&&(sr>2&&(Jr="flipbevel"),sr100)Wn=Nn.mult(-1);else{var ui=sr*Mn.add(Nn).mag()/Mn.sub(Nn).mag();Wn._perp()._mult(ui*(Tr?-1:1))}this.addCurrentVertex(Dt,Wn,0,0,Zt),this.addCurrentVertex(Dt,Wn.mult(-1),0,0,Zt)}else if(Jr==="bevel"||Jr==="fakeround"){var ri=-Math.sqrt(sr*sr-1),Kr=Tr?ri:0,Di=Tr?0:ri;if($t&&this.addCurrentVertex(Dt,Mn,Kr,Di,Zt),Jr==="fakeround")for(var pi=Math.round(180*fr/Math.PI/20),va=1;va2*Gt){var ya=Dt.add(fn.sub(Dt)._mult(Gt/Pa)._round());this.updateDistance(Dt,ya),this.addCurrentVertex(ya,Nn,0,0,Zt),Dt=ya}}}}},Ys.prototype.addCurrentVertex=function(P,V,J,he,Ae,Oe){Oe===void 0&&(Oe=!1);var Ge=V.x+V.y*J,it=V.y-V.x*J,pt=-V.x+V.y*he,Ct=-V.y-V.x*he;this.addHalfVertex(P,Ge,it,Oe,!1,J,Ae),this.addHalfVertex(P,pt,Ct,Oe,!0,-he,Ae),this.distance>Y_/2&&this.totalDistance===0&&(this.distance=0,this.addCurrentVertex(P,V,J,he,Ae,Oe))},Ys.prototype.addHalfVertex=function(P,V,J,he,Ae,Oe,Ge){var it=P.x,pt=P.y,Ct=.5*this.scaledDistance;this.layoutVertexArray.emplaceBack((it<<1)+(he?1:0),(pt<<1)+(Ae?1:0),Math.round(63*V)+128,Math.round(63*J)+128,1+(Oe===0?0:Oe<0?-1:1)|(63&Ct)<<2,Ct>>6);var Dt=Ge.vertexLength++;this.e1>=0&&this.e2>=0&&(this.indexArray.emplaceBack(this.e1,this.e2,Dt),Ge.primitiveLength++),Ae?this.e2=Dt:this.e1=Dt},Ys.prototype.updateScaledDistance=function(){this.scaledDistance=this.totalDistance>0?(this.clipStart+(this.clipEnd-this.clipStart)*this.distance/this.totalDistance)*(Y_-1):this.distance},Ys.prototype.updateDistance=function(P,V){this.distance+=P.dist(V),this.updateScaledDistance()},Dr("LineBucket",Ys,{omit:["layers","patternFeatures"]});var aC=new xo({"line-cap":new Hr(Re.layout_line["line-cap"]),"line-join":new ni(Re.layout_line["line-join"]),"line-miter-limit":new Hr(Re.layout_line["line-miter-limit"]),"line-round-limit":new Hr(Re.layout_line["line-round-limit"]),"line-sort-key":new ni(Re.layout_line["line-sort-key"])}),$_={paint:new xo({"line-opacity":new ni(Re.paint_line["line-opacity"]),"line-color":new ni(Re.paint_line["line-color"]),"line-translate":new Hr(Re.paint_line["line-translate"]),"line-translate-anchor":new Hr(Re.paint_line["line-translate-anchor"]),"line-width":new ni(Re.paint_line["line-width"]),"line-gap-width":new ni(Re.paint_line["line-gap-width"]),"line-offset":new ni(Re.paint_line["line-offset"]),"line-blur":new ni(Re.paint_line["line-blur"]),"line-dasharray":new cl(Re.paint_line["line-dasharray"]),"line-pattern":new Vu(Re.paint_line["line-pattern"]),"line-gradient":new Rs(Re.paint_line["line-gradient"])}),layout:aC},oC=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.possiblyEvaluate=function(J,he){return he=new Wi(Math.floor(he.zoom),{now:he.now,fadeDuration:he.fadeDuration,zoomHistory:he.zoomHistory,transition:he.transition}),P.prototype.possiblyEvaluate.call(this,J,he)},V.prototype.evaluate=function(J,he,Ae,Oe){return he=m({},he,{zoom:Math.floor(he.zoom)}),P.prototype.evaluate.call(this,J,he,Ae,Oe)},V}(ni),Z_=new oC($_.paint.properties["line-width"].specification);Z_.useIntegerZoom=!0;var sC=function(P){function V(J){P.call(this,J,$_)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._handleSpecialPaintPropertyUpdate=function(J){J==="line-gradient"&&this._updateGradient()},V.prototype._updateGradient=function(){var J=this._transitionablePaint._values["line-gradient"].value.expression;this.gradient=O_(J,"lineProgress"),this.gradientTexture=null},V.prototype.recalculate=function(J,he){P.prototype.recalculate.call(this,J,he),this.paint._values["line-floorwidth"]=Z_.possiblyEvaluate(this._transitioningPaint._values["line-width"].value,J)},V.prototype.createBucket=function(J){return new Ys(J)},V.prototype.queryRadius=function(J){var he=J,Ae=X_(zh("line-width",this,he),zh("line-gap-width",this,he)),Oe=zh("line-offset",this,he);return Ae/2+Math.abs(Oe)+dg(this.paint.get("line-translate"))},V.prototype.queryIntersectsFeature=function(J,he,Ae,Oe,Ge,it,pt){var Ct=pg(J,this.paint.get("line-translate"),this.paint.get("line-translate-anchor"),it.angle,pt),Dt=pt/2*X_(this.paint.get("line-width").evaluate(he,Ae),this.paint.get("line-gap-width").evaluate(he,Ae)),Gt=this.paint.get("line-offset").evaluate(he,Ae);return Gt&&(Oe=function(Zt,$t){for(var fn=[],Mn=new a(0,0),Nn=0;Nn=3){for(var Bn=0;Bn0?V+2*P:P}var A1=la([{name:"a_pos_offset",components:4,type:"Int16"},{name:"a_data",components:4,type:"Uint16"},{name:"a_pixeloffset",components:4,type:"Int16"}],4),lC=la([{name:"a_projected_pos",components:3,type:"Float32"}],4),uC=(la([{name:"a_fade_opacity",components:1,type:"Uint32"}],4),la([{name:"a_placed",components:2,type:"Uint8"},{name:"a_shift",components:2,type:"Float32"}])),K_=(la([{type:"Int16",name:"anchorPointX"},{type:"Int16",name:"anchorPointY"},{type:"Int16",name:"x1"},{type:"Int16",name:"y1"},{type:"Int16",name:"x2"},{type:"Int16",name:"y2"},{type:"Uint32",name:"featureIndex"},{type:"Uint16",name:"sourceLayerIndex"},{type:"Uint16",name:"bucketIndex"}]),la([{name:"a_pos",components:2,type:"Int16"},{name:"a_anchor_pos",components:2,type:"Int16"},{name:"a_extrude",components:2,type:"Int16"}],4)),cC=la([{name:"a_pos",components:2,type:"Float32"},{name:"a_radius",components:1,type:"Float32"},{name:"a_flags",components:2,type:"Int16"}],4);function hC(P,V,J){return P.sections.forEach(function(he){he.text=function(Ae,Oe,Ge){var it=Oe.layout.get("text-transform").evaluate(Ge,{});return it==="uppercase"?Ae=Ae.toLocaleUpperCase():it==="lowercase"&&(Ae=Ae.toLocaleLowerCase()),Bo.applyArabicShaping&&(Ae=Bo.applyArabicShaping(Ae)),Ae}(he.text,V,J)}),P}la([{name:"triangle",components:3,type:"Uint16"}]),la([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Uint16",name:"glyphStartIndex"},{type:"Uint16",name:"numGlyphs"},{type:"Uint32",name:"vertexStartIndex"},{type:"Uint32",name:"lineStartIndex"},{type:"Uint32",name:"lineLength"},{type:"Uint16",name:"segment"},{type:"Uint16",name:"lowerSize"},{type:"Uint16",name:"upperSize"},{type:"Float32",name:"lineOffsetX"},{type:"Float32",name:"lineOffsetY"},{type:"Uint8",name:"writingMode"},{type:"Uint8",name:"placedOrientation"},{type:"Uint8",name:"hidden"},{type:"Uint32",name:"crossTileID"},{type:"Int16",name:"associatedIconIndex"}]),la([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Int16",name:"rightJustifiedTextSymbolIndex"},{type:"Int16",name:"centerJustifiedTextSymbolIndex"},{type:"Int16",name:"leftJustifiedTextSymbolIndex"},{type:"Int16",name:"verticalPlacedTextSymbolIndex"},{type:"Int16",name:"placedIconSymbolIndex"},{type:"Int16",name:"verticalPlacedIconSymbolIndex"},{type:"Uint16",name:"key"},{type:"Uint16",name:"textBoxStartIndex"},{type:"Uint16",name:"textBoxEndIndex"},{type:"Uint16",name:"verticalTextBoxStartIndex"},{type:"Uint16",name:"verticalTextBoxEndIndex"},{type:"Uint16",name:"iconBoxStartIndex"},{type:"Uint16",name:"iconBoxEndIndex"},{type:"Uint16",name:"verticalIconBoxStartIndex"},{type:"Uint16",name:"verticalIconBoxEndIndex"},{type:"Uint16",name:"featureIndex"},{type:"Uint16",name:"numHorizontalGlyphVertices"},{type:"Uint16",name:"numVerticalGlyphVertices"},{type:"Uint16",name:"numIconVertices"},{type:"Uint16",name:"numVerticalIconVertices"},{type:"Uint16",name:"useRuntimeCollisionCircles"},{type:"Uint32",name:"crossTileID"},{type:"Float32",name:"textBoxScale"},{type:"Float32",components:2,name:"textOffset"},{type:"Float32",name:"collisionCircleDiameter"}]),la([{type:"Float32",name:"offsetX"}]),la([{type:"Int16",name:"x"},{type:"Int16",name:"y"},{type:"Int16",name:"tileUnitDistanceFromAnchor"}]);var F0={"!":"︕","#":"#",$:"$","%":"%","&":"&","(":"︵",")":"︶","*":"*","+":"+",",":"︐","-":"︲",".":"・","/":"/",":":"︓",";":"︔","<":"︿","=":"=",">":"﹀","?":"︖","@":"@","[":"﹇","\\":"\","]":"﹈","^":"^",_:"︳","`":"`","{":"︷","|":"―","}":"︸","~":"~","¢":"¢","£":"£","¥":"¥","¦":"¦","¬":"¬","¯":" ̄","–":"︲","—":"︱","‘":"﹃","’":"﹄","“":"﹁","”":"﹂","…":"︙","‧":"・","₩":"₩","、":"︑","。":"︒","〈":"︿","〉":"﹀","《":"︽","》":"︾","「":"﹁","」":"﹂","『":"﹃","』":"﹄","【":"︻","】":"︼","〔":"︹","〕":"︺","〖":"︗","〗":"︘","!":"︕","(":"︵",")":"︶",",":"︐","-":"︲",".":"・",":":"︓",";":"︔","<":"︿",">":"﹀","?":"︖","[":"﹇","]":"﹈","_":"︳","{":"︷","|":"―","}":"︸","⦅":"︵","⦆":"︶","。":"︒","「":"﹁","」":"﹂"},ss=24,J_=function(P,V,J,he,Ae){var Oe,Ge,it=8*Ae-he-1,pt=(1<>1,Dt=-7,Gt=J?Ae-1:0,Zt=J?-1:1,$t=P[V+Gt];for(Gt+=Zt,Oe=$t&(1<<-Dt)-1,$t>>=-Dt,Dt+=it;Dt>0;Oe=256*Oe+P[V+Gt],Gt+=Zt,Dt-=8);for(Ge=Oe&(1<<-Dt)-1,Oe>>=-Dt,Dt+=he;Dt>0;Ge=256*Ge+P[V+Gt],Gt+=Zt,Dt-=8);if(Oe===0)Oe=1-Ct;else{if(Oe===pt)return Ge?NaN:1/0*($t?-1:1);Ge+=Math.pow(2,he),Oe-=Ct}return($t?-1:1)*Ge*Math.pow(2,Oe-he)},Q_=function(P,V,J,he,Ae,Oe){var Ge,it,pt,Ct=8*Oe-Ae-1,Dt=(1<>1,Zt=Ae===23?Math.pow(2,-24)-Math.pow(2,-77):0,$t=he?0:Oe-1,fn=he?1:-1,Mn=V<0||V===0&&1/V<0?1:0;for(V=Math.abs(V),isNaN(V)||V===1/0?(it=isNaN(V)?1:0,Ge=Dt):(Ge=Math.floor(Math.log(V)/Math.LN2),V*(pt=Math.pow(2,-Ge))<1&&(Ge--,pt*=2),(V+=Ge+Gt>=1?Zt/pt:Zt*Math.pow(2,1-Gt))*pt>=2&&(Ge++,pt/=2),Ge+Gt>=Dt?(it=0,Ge=Dt):Ge+Gt>=1?(it=(V*pt-1)*Math.pow(2,Ae),Ge+=Gt):(it=V*Math.pow(2,Gt-1)*Math.pow(2,Ae),Ge=0));Ae>=8;P[J+$t]=255&it,$t+=fn,it/=256,Ae-=8);for(Ge=Ge<0;P[J+$t]=255&Ge,$t+=fn,Ge/=256,Ct-=8);P[J+$t-fn]|=128*Mn},_g=ba;function ba(P){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(P)?P:new Uint8Array(P||0),this.pos=0,this.type=0,this.length=this.buf.length}ba.Varint=0,ba.Fixed64=1,ba.Bytes=2,ba.Fixed32=5;var S1=4294967296,ew=1/S1,tw=typeof TextDecoder>"u"?null:new TextDecoder("utf8");function Fh(P){return P.type===ba.Bytes?P.readVarint()+P.pos:P.pos+1}function lp(P,V,J){return J?4294967296*V+(P>>>0):4294967296*(V>>>0)+(P>>>0)}function nw(P,V,J){var he=V<=16383?1:V<=2097151?2:V<=268435455?3:Math.floor(Math.log(V)/(7*Math.LN2));J.realloc(he);for(var Ae=J.pos-1;Ae>=P;Ae--)J.buf[Ae+he]=J.buf[Ae]}function fC(P,V){for(var J=0;J>>8,P[J+2]=V>>>16,P[J+3]=V>>>24}function rw(P,V){return(P[V]|P[V+1]<<8|P[V+2]<<16)+(P[V+3]<<24)}ba.prototype={destroy:function(){this.buf=null},readFields:function(P,V,J){for(J=J||this.length;this.pos>3,Oe=this.pos;this.type=7&he,P(Ae,V,this),this.pos===Oe&&this.skip(he)}return V},readMessage:function(P,V){return this.readFields(P,V,this.readVarint()+this.pos)},readFixed32:function(){var P=wg(this.buf,this.pos);return this.pos+=4,P},readSFixed32:function(){var P=rw(this.buf,this.pos);return this.pos+=4,P},readFixed64:function(){var P=wg(this.buf,this.pos)+wg(this.buf,this.pos+4)*S1;return this.pos+=8,P},readSFixed64:function(){var P=wg(this.buf,this.pos)+rw(this.buf,this.pos+4)*S1;return this.pos+=8,P},readFloat:function(){var P=J_(this.buf,this.pos,!0,23,4);return this.pos+=4,P},readDouble:function(){var P=J_(this.buf,this.pos,!0,52,8);return this.pos+=8,P},readVarint:function(P){var V,J,he=this.buf;return V=127&(J=he[this.pos++]),J<128?V:(V|=(127&(J=he[this.pos++]))<<7,J<128?V:(V|=(127&(J=he[this.pos++]))<<14,J<128?V:(V|=(127&(J=he[this.pos++]))<<21,J<128?V:function(Ae,Oe,Ge){var it,pt,Ct=Ge.buf;if(it=(112&(pt=Ct[Ge.pos++]))>>4,pt<128||(it|=(127&(pt=Ct[Ge.pos++]))<<3,pt<128)||(it|=(127&(pt=Ct[Ge.pos++]))<<10,pt<128)||(it|=(127&(pt=Ct[Ge.pos++]))<<17,pt<128)||(it|=(127&(pt=Ct[Ge.pos++]))<<24,pt<128)||(it|=(1&(pt=Ct[Ge.pos++]))<<31,pt<128))return lp(Ae,it,Oe);throw new Error("Expected varint not more than 10 bytes")}(V|=(15&(J=he[this.pos]))<<28,P,this))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var P=this.readVarint();return P%2==1?(P+1)/-2:P/2},readBoolean:function(){return!!this.readVarint()},readString:function(){var P=this.readVarint()+this.pos,V=this.pos;return this.pos=P,P-V>=12&&tw?function(J,he,Ae){return tw.decode(J.subarray(he,Ae))}(this.buf,V,P):function(J,he,Ae){for(var Oe="",Ge=he;Ge239?4:Dt>223?3:Dt>191?2:1;if(Ge+Zt>Ae)break;Zt===1?Dt<128&&(Gt=Dt):Zt===2?(192&(it=J[Ge+1]))==128&&(Gt=(31&Dt)<<6|63&it)<=127&&(Gt=null):Zt===3?(it=J[Ge+1],pt=J[Ge+2],(192&it)==128&&(192&pt)==128&&((Gt=(15&Dt)<<12|(63&it)<<6|63&pt)<=2047||Gt>=55296&&Gt<=57343)&&(Gt=null)):Zt===4&&(it=J[Ge+1],pt=J[Ge+2],Ct=J[Ge+3],(192&it)==128&&(192&pt)==128&&(192&Ct)==128&&((Gt=(15&Dt)<<18|(63&it)<<12|(63&pt)<<6|63&Ct)<=65535||Gt>=1114112)&&(Gt=null)),Gt===null?(Gt=65533,Zt=1):Gt>65535&&(Gt-=65536,Oe+=String.fromCharCode(Gt>>>10&1023|55296),Gt=56320|1023&Gt),Oe+=String.fromCharCode(Gt),Ge+=Zt}return Oe}(this.buf,V,P)},readBytes:function(){var P=this.readVarint()+this.pos,V=this.buf.subarray(this.pos,P);return this.pos=P,V},readPackedVarint:function(P,V){if(this.type!==ba.Bytes)return P.push(this.readVarint(V));var J=Fh(this);for(P=P||[];this.pos127;);else if(V===ba.Bytes)this.pos=this.readVarint()+this.pos;else if(V===ba.Fixed32)this.pos+=4;else{if(V!==ba.Fixed64)throw new Error("Unimplemented type: "+V);this.pos+=8}},writeTag:function(P,V){this.writeVarint(P<<3|V)},realloc:function(P){for(var V=this.length||16;V268435455||P<0?function(V,J){var he,Ae;if(V>=0?(he=V%4294967296|0,Ae=V/4294967296|0):(Ae=~(-V/4294967296),4294967295^(he=~(-V%4294967296))?he=he+1|0:(he=0,Ae=Ae+1|0)),V>=18446744073709552e3||V<-18446744073709552e3)throw new Error("Given varint doesn't fit into 10 bytes");J.realloc(10),function(Oe,Ge,it){it.buf[it.pos++]=127&Oe|128,Oe>>>=7,it.buf[it.pos++]=127&Oe|128,Oe>>>=7,it.buf[it.pos++]=127&Oe|128,Oe>>>=7,it.buf[it.pos++]=127&Oe|128,Oe>>>=7,it.buf[it.pos]=127&Oe}(he,0,J),function(Oe,Ge){var it=(7&Oe)<<4;Ge.buf[Ge.pos++]|=it|((Oe>>>=3)?128:0),Oe&&(Ge.buf[Ge.pos++]=127&Oe|((Oe>>>=7)?128:0),Oe&&(Ge.buf[Ge.pos++]=127&Oe|((Oe>>>=7)?128:0),Oe&&(Ge.buf[Ge.pos++]=127&Oe|((Oe>>>=7)?128:0),Oe&&(Ge.buf[Ge.pos++]=127&Oe|((Oe>>>=7)?128:0),Oe&&(Ge.buf[Ge.pos++]=127&Oe)))))}(Ae,J)}(P,this):(this.realloc(4),this.buf[this.pos++]=127&P|(P>127?128:0),P<=127||(this.buf[this.pos++]=127&(P>>>=7)|(P>127?128:0),P<=127||(this.buf[this.pos++]=127&(P>>>=7)|(P>127?128:0),P<=127||(this.buf[this.pos++]=P>>>7&127))))},writeSVarint:function(P){this.writeVarint(P<0?2*-P-1:2*P)},writeBoolean:function(P){this.writeVarint(!!P)},writeString:function(P){P=String(P),this.realloc(4*P.length),this.pos++;var V=this.pos;this.pos=function(he,Ae,Oe){for(var Ge,it,pt=0;pt55295&&Ge<57344){if(!it){Ge>56319||pt+1===Ae.length?(he[Oe++]=239,he[Oe++]=191,he[Oe++]=189):it=Ge;continue}if(Ge<56320){he[Oe++]=239,he[Oe++]=191,he[Oe++]=189,it=Ge;continue}Ge=it-55296<<10|Ge-56320|65536,it=null}else it&&(he[Oe++]=239,he[Oe++]=191,he[Oe++]=189,it=null);Ge<128?he[Oe++]=Ge:(Ge<2048?he[Oe++]=Ge>>6|192:(Ge<65536?he[Oe++]=Ge>>12|224:(he[Oe++]=Ge>>18|240,he[Oe++]=Ge>>12&63|128),he[Oe++]=Ge>>6&63|128),he[Oe++]=63&Ge|128)}return Oe}(this.buf,P,this.pos);var J=this.pos-V;J>=128&&nw(V,J,this),this.pos=V-1,this.writeVarint(J),this.pos+=J},writeFloat:function(P){this.realloc(4),Q_(this.buf,P,this.pos,!0,23,4),this.pos+=4},writeDouble:function(P){this.realloc(8),Q_(this.buf,P,this.pos,!0,52,8),this.pos+=8},writeBytes:function(P){var V=P.length;this.writeVarint(V),this.realloc(V);for(var J=0;J=128&&nw(J,he,this),this.pos=J-1,this.writeVarint(he),this.pos+=he},writeMessage:function(P,V,J){this.writeTag(P,ba.Bytes),this.writeRawMessage(V,J)},writePackedVarint:function(P,V){V.length&&this.writeMessage(P,fC,V)},writePackedSVarint:function(P,V){V.length&&this.writeMessage(P,dC,V)},writePackedBoolean:function(P,V){V.length&&this.writeMessage(P,gC,V)},writePackedFloat:function(P,V){V.length&&this.writeMessage(P,pC,V)},writePackedDouble:function(P,V){V.length&&this.writeMessage(P,mC,V)},writePackedFixed32:function(P,V){V.length&&this.writeMessage(P,vC,V)},writePackedSFixed32:function(P,V){V.length&&this.writeMessage(P,yC,V)},writePackedFixed64:function(P,V){V.length&&this.writeMessage(P,bC,V)},writePackedSFixed64:function(P,V){V.length&&this.writeMessage(P,xC,V)},writeBytesField:function(P,V){this.writeTag(P,ba.Bytes),this.writeBytes(V)},writeFixed32Field:function(P,V){this.writeTag(P,ba.Fixed32),this.writeFixed32(V)},writeSFixed32Field:function(P,V){this.writeTag(P,ba.Fixed32),this.writeSFixed32(V)},writeFixed64Field:function(P,V){this.writeTag(P,ba.Fixed64),this.writeFixed64(V)},writeSFixed64Field:function(P,V){this.writeTag(P,ba.Fixed64),this.writeSFixed64(V)},writeVarintField:function(P,V){this.writeTag(P,ba.Varint),this.writeVarint(V)},writeSVarintField:function(P,V){this.writeTag(P,ba.Varint),this.writeSVarint(V)},writeStringField:function(P,V){this.writeTag(P,ba.Bytes),this.writeString(V)},writeFloatField:function(P,V){this.writeTag(P,ba.Fixed32),this.writeFloat(V)},writeDoubleField:function(P,V){this.writeTag(P,ba.Fixed64),this.writeDouble(V)},writeBooleanField:function(P,V){this.writeVarintField(P,!!V)}};function _C(P,V,J){P===1&&J.readMessage(wC,V)}function wC(P,V,J){if(P===3){var he=J.readMessage(TC,{}),Ae=he.id,Oe=he.bitmap,Ge=he.width,it=he.height,pt=he.left,Ct=he.top,Dt=he.advance;V.push({id:Ae,bitmap:new sd({width:Ge+6,height:it+6},Oe),metrics:{width:Ge,height:it,left:pt,top:Ct,advance:Dt}})}}function TC(P,V,J){P===1?V.id=J.readVarint():P===2?V.bitmap=J.readBytes():P===3?V.width=J.readVarint():P===4?V.height=J.readVarint():P===5?V.left=J.readSVarint():P===6?V.top=J.readSVarint():P===7&&(V.advance=J.readVarint())}function iw(P){for(var V=0,J=0,he=0,Ae=P;he=0;Zt--){var $t=Ge[Zt];if(!(Gt.w>$t.w||Gt.h>$t.h)){if(Gt.x=$t.x,Gt.y=$t.y,pt=Math.max(pt,Gt.y+Gt.h),it=Math.max(it,Gt.x+Gt.w),Gt.w===$t.w&&Gt.h===$t.h){var fn=Ge.pop();Zt0&&hd>Ga&&(Ga=hd)}else{var Dg=pi[Zi.fontStack],fd=Dg&&Dg[Ds];if(fd&&fd.rect)Ac=fd.rect,ks=fd.metrics;else{var zg=Di[Zi.fontStack],U0=zg&&zg[Ds];if(!U0)continue;ks=U0.metrics}dl=(mi-Zi.scale)*ss}Sc?(Kr.verticalizable=!0,ma.push({glyph:Ds,imageName:Vh,x:Ho,y:ls+dl,vertical:Sc,scale:Zi.scale,fontStack:Zi.fontStack,sectionIndex:Ja,metrics:ks,rect:Ac}),Ho+=qo*Zi.scale+ya):(ma.push({glyph:Ds,imageName:Vh,x:Ho,y:ls+dl,vertical:Sc,scale:Zi.scale,fontStack:Zi.fontStack,sectionIndex:Ja,metrics:ks,rect:Ac}),Ho+=ks.advance*Zi.scale+ya)}if(ma.length!==0){var B1=Ho-ya;Xo=Math.max(B1,Xo),MC(ma,0,ma.length-1,Ko,Ga)}Ho=0;var Fg=fa*mi+Ga;Ka.lineOffset=Math.max(Ga,Gi),ls+=Fg,Os=Math.max(Fg,Os),++Io}else ls+=fa,++Io}var yp=ls-kg,Bg=E1(xa),Ng=Bg.horizontalAlign,H0=Bg.verticalAlign;(function(N1,G0,dd,bp,Vg,jg,xp,Ug,Hg){var q0=(G0-dd)*Vg,W0=0;W0=jg!==xp?-Ug*bp-kg:(-bp*Hg+.5)*xp;for(var pd=0,Y0=N1;pd=0&&he>=P&&Ag[this.text.charCodeAt(he)];he--)J--;this.text=this.text.substring(P,J),this.sectionIndex=this.sectionIndex.slice(P,J)},Ts.prototype.substring=function(P,V){var J=new Ts;return J.text=this.text.substring(P,V),J.sectionIndex=this.sectionIndex.slice(P,V),J.sections=this.sections,J},Ts.prototype.toString=function(){return this.text},Ts.prototype.getMaxScale=function(){var P=this;return this.sectionIndex.reduce(function(V,J){return Math.max(V,P.sections[J].scale)},0)},Ts.prototype.addTextSection=function(P,V){this.text+=P.text,this.sections.push(cp.forText(P.scale,P.fontStack||V));for(var J=this.sections.length-1,he=0;he=63743?null:++this.imageSectionID:(this.imageSectionID=57344,this.imageSectionID)};var Ag={9:!0,10:!0,11:!0,12:!0,13:!0,32:!0},fl={};function aw(P,V,J,he,Ae,Oe){if(V.imageName){var Ge=he[V.imageName];return Ge?Ge.displaySize[0]*V.scale*ss/Oe+Ae:0}var it=J[V.fontStack],pt=it&&it[P];return pt?pt.metrics.advance*V.scale+Ae:0}function ow(P,V,J,he){var Ae=Math.pow(P-V,2);return he?P=0,Dt=0,Gt=0;Gt-J/2;){if(--Ge<0)return!1;it-=P[Ge].dist(Oe),Oe=P[Ge]}it+=P[Ge].dist(P[Ge+1]),Ge++;for(var pt=[],Ct=0;ithe;)Ct-=pt.shift().angleDelta;if(Ct>Ae)return!1;Ge++,it+=Gt.dist(Zt)}return!0}function dw(P){for(var V=0,J=0;JCt){var fn=(Ct-pt)/$t,Mn=zr(Gt.x,Zt.x,fn),Nn=zr(Gt.y,Zt.y,fn),Bn=new hp(Mn,Nn,Zt.angleTo(Gt),Dt);return Bn._round(),!Ge||fw(P,Bn,it,Ge,V)?Bn:void 0}pt+=$t}}function CC(P,V,J,he,Ae,Oe,Ge,it,pt){var Ct=pw(he,Oe,Ge),Dt=mw(he,Ae),Gt=Dt*Ge,Zt=P[0].x===0||P[0].x===pt||P[0].y===0||P[0].y===pt;return V-Gt=0&&er=0&&sr=0&&Zt+Ct<=Dt){var fr=new hp(er,sr,Wn,fn);fr._round(),he&&!fw(P,fr,Oe,he,Ae)||$t.push(fr)}}Gt+=Bn}return it||$t.length||Ge||($t=gw(P,Gt/2,J,he,Ae,Oe,Ge,!0,pt)),$t}function vw(P,V,J,he,Ae){for(var Oe=[],Ge=0;Ge=he&&Gt.x>=he||(Dt.x>=he?Dt=new a(he,Dt.y+(Gt.y-Dt.y)*((he-Dt.x)/(Gt.x-Dt.x)))._round():Gt.x>=he&&(Gt=new a(he,Dt.y+(Gt.y-Dt.y)*((he-Dt.x)/(Gt.x-Dt.x)))._round()),Dt.y>=Ae&&Gt.y>=Ae||(Dt.y>=Ae?Dt=new a(Dt.x+(Gt.x-Dt.x)*((Ae-Dt.y)/(Gt.y-Dt.y)),Ae)._round():Gt.y>=Ae&&(Gt=new a(Dt.x+(Gt.x-Dt.x)*((Ae-Dt.y)/(Gt.y-Dt.y)),Ae)._round()),pt&&Dt.equals(pt[pt.length-1])||(pt=[Dt],Oe.push(pt)),pt.push(Gt)))))}return Oe}function yw(P,V,J,he){var Ae=[],Oe=P.image,Ge=Oe.pixelRatio,it=Oe.paddedRect.w-2,pt=Oe.paddedRect.h-2,Ct=P.right-P.left,Dt=P.bottom-P.top,Gt=Oe.stretchX||[[0,it]],Zt=Oe.stretchY||[[0,pt]],$t=function(fa,xa){return fa+xa[1]-xa[0]},fn=Gt.reduce($t,0),Mn=Zt.reduce($t,0),Nn=it-fn,Bn=pt-Mn,Wn=0,Zn=fn,er=0,sr=Mn,fr=0,Pr=Nn,Tr=0,Nr=Bn;if(Oe.content&&he){var Xr=Oe.content;Wn=Sg(Gt,0,Xr[0]),er=Sg(Zt,0,Xr[1]),Zn=Sg(Gt,Xr[0],Xr[2]),sr=Sg(Zt,Xr[1],Xr[3]),fr=Xr[0]-Wn,Tr=Xr[1]-er,Pr=Xr[2]-Xr[0]-Zn,Nr=Xr[3]-Xr[1]-sr}var hi=function(fa,xa,Sa,Pa){var ya=Cg(fa.stretch-Wn,Zn,Ct,P.left),Mo=Eg(fa.fixed-fr,Pr,fa.stretch,fn),Va=Cg(xa.stretch-er,sr,Dt,P.top),Ho=Eg(xa.fixed-Tr,Nr,xa.stretch,Mn),ls=Cg(Sa.stretch-Wn,Zn,Ct,P.left),Xo=Eg(Sa.fixed-fr,Pr,Sa.stretch,fn),Os=Cg(Pa.stretch-er,sr,Dt,P.top),Ko=Eg(Pa.fixed-Tr,Nr,Pa.stretch,Mn),Io=new a(ya,Va),Jo=new a(ls,Va),Go=new a(ls,Os),Ro=new a(ya,Os),mi=new a(Mo/Ge,Ho/Ge),Gi=new a(Xo/Ge,Ko/Ge),Ka=V*Math.PI/180;if(Ka){var ma=Math.sin(Ka),Ga=Math.cos(Ka),Oa=[Ga,-ma,ma,Ga];Io._matMult(Oa),Jo._matMult(Oa),Ro._matMult(Oa),Go._matMult(Oa)}var Zi=fa.stretch+fa.fixed,Ja=Sa.stretch+Sa.fixed,Ds=xa.stretch+xa.fixed,dl=Pa.stretch+Pa.fixed;return{tl:Io,tr:Jo,bl:Ro,br:Go,tex:{x:Oe.paddedRect.x+1+Zi,y:Oe.paddedRect.y+1+Ds,w:Ja-Zi,h:dl-Ds},writingMode:void 0,glyphOffset:[0,0],sectionIndex:0,pixelOffsetTL:mi,pixelOffsetBR:Gi,minFontScaleX:Pr/Ge/Ct,minFontScaleY:Nr/Ge/Dt,isSDF:J}};if(he&&(Oe.stretchX||Oe.stretchY))for(var Jr=bw(Gt,Nn,fn),ui=bw(Zt,Bn,Mn),ri=0;ri0&&($t=Math.max(10,$t),this.circleDiameter=$t)}else{var fn=Oe.top*Ge-it,Mn=Oe.bottom*Ge+it,Nn=Oe.left*Ge-it,Bn=Oe.right*Ge+it,Wn=Oe.collisionPadding;if(Wn&&(Nn-=Wn[0]*Ge,fn-=Wn[1]*Ge,Bn+=Wn[2]*Ge,Mn+=Wn[3]*Ge),Ct){var Zn=new a(Nn,fn),er=new a(Bn,fn),sr=new a(Nn,Mn),fr=new a(Bn,Mn),Pr=Ct*Math.PI/180;Zn._rotate(Pr),er._rotate(Pr),sr._rotate(Pr),fr._rotate(Pr),Nn=Math.min(Zn.x,er.x,sr.x,fr.x),Bn=Math.max(Zn.x,er.x,sr.x,fr.x),fn=Math.min(Zn.y,er.y,sr.y,fr.y),Mn=Math.max(Zn.y,er.y,sr.y,fr.y)}P.emplaceBack(V.x,V.y,Nn,fn,Bn,Mn,J,he,Ae)}this.boxEndIndex=P.length},fp=function(P,V){if(P===void 0&&(P=[]),V===void 0&&(V=EC),this.data=P,this.length=this.data.length,this.compare=V,this.length>0)for(var J=(this.length>>1)-1;J>=0;J--)this._down(J)};function EC(P,V){return PV?1:0}function LC(P,V,J){V===void 0&&(V=1),J===void 0&&(J=!1);for(var he=1/0,Ae=1/0,Oe=-1/0,Ge=-1/0,it=P[0],pt=0;ptOe)&&(Oe=Ct.x),(!pt||Ct.y>Ge)&&(Ge=Ct.y)}var Dt=Oe-he,Gt=Ge-Ae,Zt=Math.min(Dt,Gt),$t=Zt/2,fn=new fp([],IC);if(Zt===0)return new a(he,Ae);for(var Mn=he;MnBn.d||!Bn.d)&&(Bn=Zn,J&&console.log("found best %d after %d probes",Math.round(1e4*Zn.d)/1e4,Wn)),Zn.max-Bn.d<=V||($t=Zn.h/2,fn.push(new dp(Zn.p.x-$t,Zn.p.y-$t,$t,P)),fn.push(new dp(Zn.p.x+$t,Zn.p.y-$t,$t,P)),fn.push(new dp(Zn.p.x-$t,Zn.p.y+$t,$t,P)),fn.push(new dp(Zn.p.x+$t,Zn.p.y+$t,$t,P)),Wn+=4)}return J&&(console.log("num probes: "+Wn),console.log("best distance: "+Bn.d)),Bn.p}function IC(P,V){return V.max-P.max}function dp(P,V,J,he){this.p=new a(P,V),this.h=J,this.d=function(Ae,Oe){for(var Ge=!1,it=1/0,pt=0;ptAe.y!=fn.y>Ae.y&&Ae.x<(fn.x-$t.x)*(Ae.y-$t.y)/(fn.y-$t.y)+$t.x&&(Ge=!Ge),it=Math.min(it,fg(Ae,$t,fn))}return(Ge?1:-1)*Math.sqrt(it)}(this.p,he),this.max=this.d+this.h*Math.SQRT2}fp.prototype.push=function(P){this.data.push(P),this.length++,this._up(this.length-1)},fp.prototype.pop=function(){if(this.length!==0){var P=this.data[0],V=this.data.pop();return this.length--,this.length>0&&(this.data[0]=V,this._down(0)),P}},fp.prototype.peek=function(){return this.data[0]},fp.prototype._up=function(P){for(var V=this.data,J=this.compare,he=V[P];P>0;){var Ae=P-1>>1,Oe=V[Ae];if(J(he,Oe)>=0)break;V[P]=Oe,P=Ae}V[P]=he},fp.prototype._down=function(P){for(var V=this.data,J=this.compare,he=this.length>>1,Ae=V[P];P=0)break;V[P]=Ge,P=Oe}V[P]=Ae};var I1=Number.POSITIVE_INFINITY;function xw(P,V){return V[1]!==I1?function(J,he,Ae){var Oe=0,Ge=0;switch(he=Math.abs(he),Ae=Math.abs(Ae),J){case"top-right":case"top-left":case"top":Ge=Ae-7;break;case"bottom-right":case"bottom-left":case"bottom":Ge=7-Ae}switch(J){case"top-right":case"bottom-right":case"right":Oe=-he;break;case"top-left":case"bottom-left":case"left":Oe=he}return[Oe,Ge]}(P,V[0],V[1]):function(J,he){var Ae=0,Oe=0;he<0&&(he=0);var Ge=he/Math.sqrt(2);switch(J){case"top-right":case"top-left":Oe=Ge-7;break;case"bottom-right":case"bottom-left":Oe=7-Ge;break;case"bottom":Oe=7-he;break;case"top":Oe=he-7}switch(J){case"top-right":case"bottom-right":Ae=-Ge;break;case"top-left":case"bottom-left":Ae=Ge;break;case"left":Ae=he;break;case"right":Ae=-he}return[Ae,Oe]}(P,V[0])}function R1(P){switch(P){case"right":case"top-right":case"bottom-right":return"right";case"left":case"top-left":case"bottom-left":return"left"}return"center"}var kf=32640;function _w(P,V,J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn){var Mn=function(er,sr,fr,Pr,Tr,Nr,Xr,hi){for(var Jr=Pr.layout.get("text-rotate").evaluate(Nr,{})*Math.PI/180,ui=[],ri=0,Kr=sr.positionedLines;rikf&&R(P.layerIds[0]+': Value for "text-size" is >= 255. Reduce your "text-size".'):Nn.kind==="composite"&&((Bn=[Jc*$t.compositeTextSizes[0].evaluate(Ge,{},fn),Jc*$t.compositeTextSizes[1].evaluate(Ge,{},fn)])[0]>kf||Bn[1]>kf)&&R(P.layerIds[0]+': Value for "text-size" is >= 255. Reduce your "text-size".'),P.addSymbols(P.text,Mn,Bn,it,Oe,Ge,Ct,V,pt.lineStartIndex,pt.lineLength,Zt,fn);for(var Wn=0,Zn=Dt;Wn=0;Ge--)if(he.dist(Oe[Ge])0)&&(Oe.value.kind!=="constant"||Oe.value.value.length>0),Ct=it.value.kind!=="constant"||!!it.value.value||Object.keys(it.parameters).length>0,Dt=Ae.get("symbol-sort-key");if(this.features=[],pt||Ct){for(var Gt=V.iconDependencies,Zt=V.glyphDependencies,$t=V.availableImages,fn=new Wi(this.zoom),Mn=0,Nn=P;Mn=0;for(var pi=0,va=Tr.sections;pi=0;it--)Oe[it]={x:V[it].x,y:V[it].y,tileUnitDistanceFromAnchor:Ae},it>0&&(Ae+=V[it-1].dist(V[it]));for(var pt=0;pt0},ha.prototype.hasIconData=function(){return this.icon.segments.get().length>0},ha.prototype.hasDebugData=function(){return this.textCollisionBox&&this.iconCollisionBox},ha.prototype.hasTextCollisionBoxData=function(){return this.hasDebugData()&&this.textCollisionBox.segments.get().length>0},ha.prototype.hasIconCollisionBoxData=function(){return this.hasDebugData()&&this.iconCollisionBox.segments.get().length>0},ha.prototype.addIndicesForPlacedSymbol=function(P,V){for(var J=P.placedSymbolArray.get(V),he=J.vertexStartIndex+4*J.numGlyphs,Ae=J.vertexStartIndex;Ae1||this.icon.segments.get().length>1)){this.symbolInstanceIndexes=this.getSortedSymbolIndexes(P),this.sortedAngle=P,this.text.indexArray.clear(),this.icon.indexArray.clear(),this.featureSortOrder=[];for(var J=0,he=this.symbolInstanceIndexes;J=0&&pt.indexOf(Ge)===it&&V.addIndicesForPlacedSymbol(V.text,Ge)}),Oe.verticalPlacedTextSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.text,Oe.verticalPlacedTextSymbolIndex),Oe.placedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,Oe.placedIconSymbolIndex),Oe.verticalPlacedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,Oe.verticalPlacedIconSymbolIndex)}this.text.indexBuffer&&this.text.indexBuffer.updateData(this.text.indexArray),this.icon.indexBuffer&&this.icon.indexBuffer.updateData(this.icon.indexArray)}},Dr("SymbolBucket",ha,{omit:["layers","collisionBoxArray","features","compareText"]}),ha.MAX_GLYPHS=65535,ha.addDynamicAttributes=P1;var zC=new xo({"symbol-placement":new Hr(Re.layout_symbol["symbol-placement"]),"symbol-spacing":new Hr(Re.layout_symbol["symbol-spacing"]),"symbol-avoid-edges":new Hr(Re.layout_symbol["symbol-avoid-edges"]),"symbol-sort-key":new ni(Re.layout_symbol["symbol-sort-key"]),"symbol-z-order":new Hr(Re.layout_symbol["symbol-z-order"]),"icon-allow-overlap":new Hr(Re.layout_symbol["icon-allow-overlap"]),"icon-ignore-placement":new Hr(Re.layout_symbol["icon-ignore-placement"]),"icon-optional":new Hr(Re.layout_symbol["icon-optional"]),"icon-rotation-alignment":new Hr(Re.layout_symbol["icon-rotation-alignment"]),"icon-size":new ni(Re.layout_symbol["icon-size"]),"icon-text-fit":new Hr(Re.layout_symbol["icon-text-fit"]),"icon-text-fit-padding":new Hr(Re.layout_symbol["icon-text-fit-padding"]),"icon-image":new ni(Re.layout_symbol["icon-image"]),"icon-rotate":new ni(Re.layout_symbol["icon-rotate"]),"icon-padding":new Hr(Re.layout_symbol["icon-padding"]),"icon-keep-upright":new Hr(Re.layout_symbol["icon-keep-upright"]),"icon-offset":new ni(Re.layout_symbol["icon-offset"]),"icon-anchor":new ni(Re.layout_symbol["icon-anchor"]),"icon-pitch-alignment":new Hr(Re.layout_symbol["icon-pitch-alignment"]),"text-pitch-alignment":new Hr(Re.layout_symbol["text-pitch-alignment"]),"text-rotation-alignment":new Hr(Re.layout_symbol["text-rotation-alignment"]),"text-field":new ni(Re.layout_symbol["text-field"]),"text-font":new ni(Re.layout_symbol["text-font"]),"text-size":new ni(Re.layout_symbol["text-size"]),"text-max-width":new ni(Re.layout_symbol["text-max-width"]),"text-line-height":new Hr(Re.layout_symbol["text-line-height"]),"text-letter-spacing":new ni(Re.layout_symbol["text-letter-spacing"]),"text-justify":new ni(Re.layout_symbol["text-justify"]),"text-radial-offset":new ni(Re.layout_symbol["text-radial-offset"]),"text-variable-anchor":new Hr(Re.layout_symbol["text-variable-anchor"]),"text-anchor":new ni(Re.layout_symbol["text-anchor"]),"text-max-angle":new Hr(Re.layout_symbol["text-max-angle"]),"text-writing-mode":new Hr(Re.layout_symbol["text-writing-mode"]),"text-rotate":new ni(Re.layout_symbol["text-rotate"]),"text-padding":new Hr(Re.layout_symbol["text-padding"]),"text-keep-upright":new Hr(Re.layout_symbol["text-keep-upright"]),"text-transform":new ni(Re.layout_symbol["text-transform"]),"text-offset":new ni(Re.layout_symbol["text-offset"]),"text-allow-overlap":new Hr(Re.layout_symbol["text-allow-overlap"]),"text-ignore-placement":new Hr(Re.layout_symbol["text-ignore-placement"]),"text-optional":new Hr(Re.layout_symbol["text-optional"])}),O1={paint:new xo({"icon-opacity":new ni(Re.paint_symbol["icon-opacity"]),"icon-color":new ni(Re.paint_symbol["icon-color"]),"icon-halo-color":new ni(Re.paint_symbol["icon-halo-color"]),"icon-halo-width":new ni(Re.paint_symbol["icon-halo-width"]),"icon-halo-blur":new ni(Re.paint_symbol["icon-halo-blur"]),"icon-translate":new Hr(Re.paint_symbol["icon-translate"]),"icon-translate-anchor":new Hr(Re.paint_symbol["icon-translate-anchor"]),"text-opacity":new ni(Re.paint_symbol["text-opacity"]),"text-color":new ni(Re.paint_symbol["text-color"],{runtimeType:Nt,getOverride:function(P){return P.textColor},hasOverride:function(P){return!!P.textColor}}),"text-halo-color":new ni(Re.paint_symbol["text-halo-color"]),"text-halo-width":new ni(Re.paint_symbol["text-halo-width"]),"text-halo-blur":new ni(Re.paint_symbol["text-halo-blur"]),"text-translate":new Hr(Re.paint_symbol["text-translate"]),"text-translate-anchor":new Hr(Re.paint_symbol["text-translate-anchor"])}),layout:zC},mp=function(P){this.type=P.property.overrides?P.property.overrides.runtimeType:yt,this.defaultValue=P};mp.prototype.evaluate=function(P){if(P.formattedSection){var V=this.defaultValue.property.overrides;if(V&&V.hasOverride(P.formattedSection))return V.getOverride(P.formattedSection)}return P.feature&&P.featureState?this.defaultValue.evaluate(P.feature,P.featureState):this.defaultValue.property.specification.default},mp.prototype.eachChild=function(P){this.defaultValue.isConstant()||P(this.defaultValue.value._styleExpression.expression)},mp.prototype.outputDefined=function(){return!1},mp.prototype.serialize=function(){return null},Dr("FormatSectionOverride",mp,{omit:["defaultValue"]});var FC=function(P){function V(J){P.call(this,J,O1)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.recalculate=function(J,he){if(P.prototype.recalculate.call(this,J,he),this.layout.get("icon-rotation-alignment")==="auto"&&(this.layout.get("symbol-placement")!=="point"?this.layout._values["icon-rotation-alignment"]="map":this.layout._values["icon-rotation-alignment"]="viewport"),this.layout.get("text-rotation-alignment")==="auto"&&(this.layout.get("symbol-placement")!=="point"?this.layout._values["text-rotation-alignment"]="map":this.layout._values["text-rotation-alignment"]="viewport"),this.layout.get("text-pitch-alignment")==="auto"&&(this.layout._values["text-pitch-alignment"]=this.layout.get("text-rotation-alignment")),this.layout.get("icon-pitch-alignment")==="auto"&&(this.layout._values["icon-pitch-alignment"]=this.layout.get("icon-rotation-alignment")),this.layout.get("symbol-placement")==="point"){var Ae=this.layout.get("text-writing-mode");if(Ae){for(var Oe=[],Ge=0,it=Ae;Ge",targetMapId:he,sourceMapId:Oe.mapId})}}},gp.prototype.receive=function(P){var V=P.data,J=V.id;if(J&&(!V.targetMapId||this.mapId===V.targetMapId))if(V.type===""){delete this.tasks[J];var he=this.cancelCallbacks[J];delete this.cancelCallbacks[J],he&&he()}else z()||V.mustQueue?(this.tasks[J]=V,this.taskQueue.push(J),this.invoker.trigger()):this.processTask(J,V)},gp.prototype.process=function(){if(this.taskQueue.length){var P=this.taskQueue.shift(),V=this.tasks[P];delete this.tasks[P],this.taskQueue.length&&this.invoker.trigger(),V&&this.processTask(P,V)}},gp.prototype.processTask=function(P,V){var J=this;if(V.type===""){var he=this.callbacks[P];delete this.callbacks[P],he&&(V.error?he(Fu(V.error)):he(null,Fu(V.data)))}else{var Ae=!1,Oe=N(this.globalScope)?void 0:[],Ge=V.hasCallback?function(Dt,Gt){Ae=!0,delete J.cancelCallbacks[P],J.target.postMessage({id:P,type:"",sourceMapId:J.mapId,error:Dt?zu(Dt):null,data:zu(Gt,Oe)},Oe)}:function(Dt){Ae=!0},it=null,pt=Fu(V.data);if(this.parent[V.type])it=this.parent[V.type](V.sourceMapId,pt,Ge);else if(this.parent.getWorkerSource){var Ct=V.type.split(".");it=this.parent.getWorkerSource(V.sourceMapId,Ct[0],pt.source)[Ct[1]](pt,Ge)}else Ge(new Error("Could not find function "+V.type));!Ae&&it&&it.cancel&&(this.cancelCallbacks[P]=it.cancel)}},gp.prototype.remove=function(){this.invoker.remove(),this.target.removeEventListener("message",this.receive,!1)};var To=function(P,V){P&&(V?this.setSouthWest(P).setNorthEast(V):P.length===4?this.setSouthWest([P[0],P[1]]).setNorthEast([P[2],P[3]]):this.setSouthWest(P[0]).setNorthEast(P[1]))};To.prototype.setNorthEast=function(P){return this._ne=P instanceof Ra?new Ra(P.lng,P.lat):Ra.convert(P),this},To.prototype.setSouthWest=function(P){return this._sw=P instanceof Ra?new Ra(P.lng,P.lat):Ra.convert(P),this},To.prototype.extend=function(P){var V,J,he=this._sw,Ae=this._ne;if(P instanceof Ra)V=P,J=P;else{if(!(P instanceof To)){if(Array.isArray(P)){if(P.length===4||P.every(Array.isArray)){var Oe=P;return this.extend(To.convert(Oe))}var Ge=P;return this.extend(Ra.convert(Ge))}return this}if(V=P._sw,J=P._ne,!V||!J)return this}return he||Ae?(he.lng=Math.min(V.lng,he.lng),he.lat=Math.min(V.lat,he.lat),Ae.lng=Math.max(J.lng,Ae.lng),Ae.lat=Math.max(J.lat,Ae.lat)):(this._sw=new Ra(V.lng,V.lat),this._ne=new Ra(J.lng,J.lat)),this},To.prototype.getCenter=function(){return new Ra((this._sw.lng+this._ne.lng)/2,(this._sw.lat+this._ne.lat)/2)},To.prototype.getSouthWest=function(){return this._sw},To.prototype.getNorthEast=function(){return this._ne},To.prototype.getNorthWest=function(){return new Ra(this.getWest(),this.getNorth())},To.prototype.getSouthEast=function(){return new Ra(this.getEast(),this.getSouth())},To.prototype.getWest=function(){return this._sw.lng},To.prototype.getSouth=function(){return this._sw.lat},To.prototype.getEast=function(){return this._ne.lng},To.prototype.getNorth=function(){return this._ne.lat},To.prototype.toArray=function(){return[this._sw.toArray(),this._ne.toArray()]},To.prototype.toString=function(){return"LngLatBounds("+this._sw.toString()+", "+this._ne.toString()+")"},To.prototype.isEmpty=function(){return!(this._sw&&this._ne)},To.prototype.contains=function(P){var V=Ra.convert(P),J=V.lng,he=V.lat,Ae=this._sw.lat<=he&&he<=this._ne.lat,Oe=this._sw.lng<=J&&J<=this._ne.lng;return this._sw.lng>this._ne.lng&&(Oe=this._sw.lng>=J&&J>=this._ne.lng),Ae&&Oe},To.convert=function(P){return!P||P instanceof To?P:new To(P)};var Cw=63710088e-1,Ra=function(P,V){if(isNaN(P)||isNaN(V))throw new Error("Invalid LngLat object: ("+P+", "+V+")");if(this.lng=+P,this.lat=+V,this.lat>90||this.lat<-90)throw new Error("Invalid LngLat latitude value: must be between -90 and 90")};Ra.prototype.wrap=function(){return new Ra(c(this.lng,-180,180),this.lat)},Ra.prototype.toArray=function(){return[this.lng,this.lat]},Ra.prototype.toString=function(){return"LngLat("+this.lng+", "+this.lat+")"},Ra.prototype.distanceTo=function(P){var V=Math.PI/180,J=this.lat*V,he=P.lat*V,Ae=Math.sin(J)*Math.sin(he)+Math.cos(J)*Math.cos(he)*Math.cos((P.lng-this.lng)*V);return Cw*Math.acos(Math.min(Ae,1))},Ra.prototype.toBounds=function(P){P===void 0&&(P=0);var V=360*P/40075017,J=V/Math.cos(Math.PI/180*this.lat);return new To(new Ra(this.lng-J,this.lat-V),new Ra(this.lng+J,this.lat+V))},Ra.convert=function(P){if(P instanceof Ra)return P;if(Array.isArray(P)&&(P.length===2||P.length===3))return new Ra(Number(P[0]),Number(P[1]));if(!Array.isArray(P)&&typeof P=="object"&&P!==null)return new Ra(Number("lng"in P?P.lng:P.lon),Number(P.lat));throw new Error("`LngLatLike` argument must be specified as a LngLat instance, an object {lng: , lat: }, an object {lon: , lat: }, or an array of [, ]")};var Ew=2*Math.PI*Cw;function Lw(P){return Ew*Math.cos(P*Math.PI/180)}function Iw(P){return(180+P)/360}function Rw(P){return(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+P*Math.PI/360)))/360}function Pw(P,V){return P/Lw(V)}function z1(P){var V=180-360*P;return 360/Math.PI*Math.atan(Math.exp(V*Math.PI/180))-90}var ud=function(P,V,J){J===void 0&&(J=0),this.x=+P,this.y=+V,this.z=+J};ud.fromLngLat=function(P,V){V===void 0&&(V=0);var J=Ra.convert(P);return new ud(Iw(J.lng),Rw(J.lat),Pw(V,J.lat))},ud.prototype.toLngLat=function(){return new Ra(360*this.x-180,z1(this.y))},ud.prototype.toAltitude=function(){return P=this.z,V=this.y,P*Lw(z1(V));var P,V},ud.prototype.meterInMercatorCoordinateUnits=function(){return 1/Ew*(P=z1(this.y),1/Math.cos(P*Math.PI/180));var P};var cd=function(P,V,J){this.z=P,this.x=V,this.y=J,this.key=j0(0,P,P,V,J)};cd.prototype.equals=function(P){return this.z===P.z&&this.x===P.x&&this.y===P.y},cd.prototype.url=function(P,V){var J,he,Ae,Oe,Ge,it=(J=this.x,he=this.y,Ae=this.z,Oe=Sw(256*J,256*(he=Math.pow(2,Ae)-he-1),Ae),Ge=Sw(256*(J+1),256*(he+1),Ae),Oe[0]+","+Oe[1]+","+Ge[0]+","+Ge[1]),pt=function(Ct,Dt,Gt){for(var Zt,$t="",fn=Ct;fn>0;fn--)$t+=(Dt&(Zt=1<this.canonical.z?new ko(P,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y):new ko(P,this.wrap,P,this.canonical.x>>V,this.canonical.y>>V)},ko.prototype.calculateScaledKey=function(P,V){var J=this.canonical.z-P;return P>this.canonical.z?j0(this.wrap*+V,P,this.canonical.z,this.canonical.x,this.canonical.y):j0(this.wrap*+V,P,P,this.canonical.x>>J,this.canonical.y>>J)},ko.prototype.isChildOf=function(P){if(P.wrap!==this.wrap)return!1;var V=this.canonical.z-P.canonical.z;return P.overscaledZ===0||P.overscaledZ>V&&P.canonical.y===this.canonical.y>>V},ko.prototype.children=function(P){if(this.overscaledZ>=P)return[new ko(this.overscaledZ+1,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)];var V=this.canonical.z+1,J=2*this.canonical.x,he=2*this.canonical.y;return[new ko(V,this.wrap,V,J,he),new ko(V,this.wrap,V,J+1,he),new ko(V,this.wrap,V,J,he+1),new ko(V,this.wrap,V,J+1,he+1)]},ko.prototype.isLessThan=function(P){return this.wrapP.wrap)&&(this.overscaledZP.overscaledZ)&&(this.canonical.xP.canonical.x)&&this.canonical.y=this.dim+1||V<-1||V>=this.dim+1)throw new RangeError("out of range source coordinates for DEM data");return(V+1)*this.stride+(P+1)},Bh.prototype._unpackMapbox=function(P,V,J){return(256*P*256+256*V+J)/10-1e4},Bh.prototype._unpackTerrarium=function(P,V,J){return 256*P+V+J/256-32768},Bh.prototype.getPixels=function(){return new Ws({width:this.stride,height:this.stride},new Uint8Array(this.data.buffer))},Bh.prototype.backfillBorder=function(P,V,J){if(this.dim!==P.dim)throw new Error("dem dimension mismatch");var he=V*this.dim,Ae=V*this.dim+this.dim,Oe=J*this.dim,Ge=J*this.dim+this.dim;switch(V){case-1:he=Ae-1;break;case 1:Ae=he+1}switch(J){case-1:Oe=Ge-1;break;case 1:Ge=Oe+1}for(var it=-V*this.dim,pt=-J*this.dim,Ct=Oe;Ct=0&&Dt[3]>=0&&it.insert(Ge,Dt[0],Dt[1],Dt[2],Dt[3])}},Nh.prototype.loadVTLayers=function(){return this.vtLayers||(this.vtLayers=new sp.VectorTile(new _g(this.rawTileData)).layers,this.sourceLayerCoder=new Pg(this.vtLayers?Object.keys(this.vtLayers).sort():["_geojsonTileLayer"])),this.vtLayers},Nh.prototype.query=function(P,V,J,he){var Ae=this;this.loadVTLayers();for(var Oe=P.params||{},Ge=li/P.tileSize/P.scale,it=_c(Oe.filter),pt=P.queryGeometry,Ct=P.queryPadding*Ge,Dt=zw(pt),Gt=this.grid.query(Dt.minX-Ct,Dt.minY-Ct,Dt.maxX+Ct,Dt.maxY+Ct),Zt=zw(P.cameraQueryGeometry),$t=0,fn=this.grid3D.query(Zt.minX-Ct,Zt.minY-Ct,Zt.maxX+Ct,Zt.maxY+Ct,function(er,sr,fr,Pr){return function(Tr,Nr,Xr,hi,Jr){for(var ui=0,ri=Tr;ui=Kr.x&&Jr>=Kr.y)return!0}var Di=[new a(Nr,Xr),new a(Nr,Jr),new a(hi,Jr),new a(hi,Xr)];if(Tr.length>2){for(var pi=0,va=Di;pi=0)return!0;return!1}(Oe,Gt)){var Zt=this.sourceLayerCoder.decode(J),$t=this.vtLayers[Zt].feature(he);if(Ae.filter(new Wi(this.tileID.overscaledZ),$t))for(var fn=this.getId($t,Zt),Mn=0;Mnhe)Ae=!1;else if(V)if(this.expirationTimege&&(P.getActor().send("enforceCacheSizeLimit",je),st=0)},i.clamp=h,i.clearTileCache=function(P){var V=self.caches.delete(ze);P&&V.catch(P).then(function(){return P()})},i.clipLine=vw,i.clone=function(P){var V=new Fl(16);return V[0]=P[0],V[1]=P[1],V[2]=P[2],V[3]=P[3],V[4]=P[4],V[5]=P[5],V[6]=P[6],V[7]=P[7],V[8]=P[8],V[9]=P[9],V[10]=P[10],V[11]=P[11],V[12]=P[12],V[13]=P[13],V[14]=P[14],V[15]=P[15],V},i.clone$1=L,i.clone$2=function(P){var V=new Fl(3);return V[0]=P[0],V[1]=P[1],V[2]=P[2],V},i.collisionCircleLayout=cC,i.config=Z,i.create=function(){var P=new Fl(16);return Fl!=Float32Array&&(P[1]=0,P[2]=0,P[3]=0,P[4]=0,P[6]=0,P[7]=0,P[8]=0,P[9]=0,P[11]=0,P[12]=0,P[13]=0,P[14]=0),P[0]=1,P[5]=1,P[10]=1,P[15]=1,P},i.create$1=function(){var P=new Fl(9);return Fl!=Float32Array&&(P[1]=0,P[2]=0,P[3]=0,P[5]=0,P[6]=0,P[7]=0),P[0]=1,P[4]=1,P[8]=1,P},i.create$2=function(){var P=new Fl(4);return Fl!=Float32Array&&(P[1]=0,P[2]=0),P[0]=1,P[3]=1,P},i.createCommonjsModule=M,i.createExpression=mc,i.createLayout=la,i.createStyleLayer=function(P){return P.type==="custom"?new UC(P):new HC[P.type](P)},i.cross=function(P,V,J){var he=V[0],Ae=V[1],Oe=V[2],Ge=J[0],it=J[1],pt=J[2];return P[0]=Ae*pt-Oe*it,P[1]=Oe*Ge-he*pt,P[2]=he*it-Ae*Ge,P},i.deepEqual=function P(V,J){if(Array.isArray(V)){if(!Array.isArray(J)||V.length!==J.length)return!1;for(var he=0;he0&&(Oe=1/Math.sqrt(Oe)),P[0]=V[0]*Oe,P[1]=V[1]*Oe,P[2]=V[2]*Oe,P},i.number=zr,i.offscreenCanvasSupported=ot,i.ortho=function(P,V,J,he,Ae,Oe,Ge){var it=1/(V-J),pt=1/(he-Ae),Ct=1/(Oe-Ge);return P[0]=-2*it,P[1]=0,P[2]=0,P[3]=0,P[4]=0,P[5]=-2*pt,P[6]=0,P[7]=0,P[8]=0,P[9]=0,P[10]=2*Ct,P[11]=0,P[12]=(V+J)*it,P[13]=(Ae+he)*pt,P[14]=(Ge+Oe)*Ct,P[15]=1,P},i.parseGlyphPBF=function(P){return new _g(P).readFields(_C,[])},i.pbf=_g,i.performSymbolLayout=function(P,V,J,he,Ae,Oe,Ge){P.createArrays();var it=512*P.overscaling;P.tilePixelRatio=li/it,P.compareText={},P.iconsNeedLinear=!1;var pt=P.layers[0].layout,Ct=P.layers[0]._unevaluatedLayout._values,Dt={};if(P.textSizeData.kind==="composite"){var Gt=P.textSizeData,Zt=Gt.minZoom,$t=Gt.maxZoom;Dt.compositeTextSizes=[Ct["text-size"].possiblyEvaluate(new Wi(Zt),Ge),Ct["text-size"].possiblyEvaluate(new Wi($t),Ge)]}if(P.iconSizeData.kind==="composite"){var fn=P.iconSizeData,Mn=fn.minZoom,Nn=fn.maxZoom;Dt.compositeIconSizes=[Ct["icon-size"].possiblyEvaluate(new Wi(Mn),Ge),Ct["icon-size"].possiblyEvaluate(new Wi(Nn),Ge)]}Dt.layoutTextSize=Ct["text-size"].possiblyEvaluate(new Wi(P.zoom+1),Ge),Dt.layoutIconSize=Ct["icon-size"].possiblyEvaluate(new Wi(P.zoom+1),Ge),Dt.textMaxSize=Ct["text-size"].possiblyEvaluate(new Wi(18));for(var Bn=pt.get("text-line-height")*ss,Wn=pt.get("text-rotation-alignment")==="map"&&pt.get("symbol-placement")!=="point",Zn=pt.get("text-keep-upright"),er=pt.get("text-size"),sr=function(){var Tr=Pr[fr],Nr=pt.get("text-font").evaluate(Tr,{},Ge).join(","),Xr=er.evaluate(Tr,{},Ge),hi=Dt.layoutTextSize.evaluate(Tr,{},Ge),Jr=Dt.layoutIconSize.evaluate(Tr,{},Ge),ui={horizontal:{},vertical:void 0},ri=Tr.text,Kr=[0,0];if(ri){var Di=ri.toString(),pi=pt.get("text-letter-spacing").evaluate(Tr,{},Ge)*ss,va=function(mi){for(var Gi=0,Ka=mi;Gi=li||X0.y<0||X0.y>=li||function(ro,Cc,WC,Af,q1,Uw,Gg,Qc,qg,K0,Wg,Yg,W1,Hw,J0,Gw,qw,Ww,Yw,$w,Nl,$g,Zw,eh,YC){var Xw,gd,_p,wp,Tp,kp=ro.addToLineVertexArray(Cc,WC),Kw=0,Jw=0,Qw=0,e3=0,Y1=-1,$1=-1,jh={},t3=Fn(""),Z1=0,X1=0;if(Qc._unevaluatedLayout.getValue("text-radial-offset")===void 0?(Z1=(Xw=Qc.layout.get("text-offset").evaluate(Nl,{},eh).map(function(em){return em*ss}))[0],X1=Xw[1]):(Z1=Qc.layout.get("text-radial-offset").evaluate(Nl,{},eh)*ss,X1=I1),ro.allowVerticalPlacement&&Af.vertical){var n3=Qc.layout.get("text-rotate").evaluate(Nl,{},eh)+90,$C=Af.vertical;wp=new Lg(qg,Cc,K0,Wg,Yg,$C,W1,Hw,J0,n3),Gg&&(Tp=new Lg(qg,Cc,K0,Wg,Yg,Gg,qw,Ww,J0,n3))}if(q1){var K1=Qc.layout.get("icon-rotate").evaluate(Nl,{}),r3=Qc.layout.get("icon-text-fit")!=="none",i3=yw(q1,K1,Zw,r3),J1=Gg?yw(Gg,K1,Zw,r3):void 0;_p=new Lg(qg,Cc,K0,Wg,Yg,q1,qw,Ww,!1,K1),Kw=4*i3.length;var a3=ro.iconSizeData,Q0=null;a3.kind==="source"?(Q0=[Jc*Qc.layout.get("icon-size").evaluate(Nl,{})])[0]>kf&&R(ro.layerIds[0]+': Value for "icon-size" is >= 255. Reduce your "icon-size".'):a3.kind==="composite"&&((Q0=[Jc*$g.compositeIconSizes[0].evaluate(Nl,{},eh),Jc*$g.compositeIconSizes[1].evaluate(Nl,{},eh)])[0]>kf||Q0[1]>kf)&&R(ro.layerIds[0]+': Value for "icon-size" is >= 255. Reduce your "icon-size".'),ro.addSymbols(ro.icon,i3,Q0,$w,Yw,Nl,!1,Cc,kp.lineStartIndex,kp.lineLength,-1,eh),Y1=ro.icon.placedSymbolArray.length-1,J1&&(Jw=4*J1.length,ro.addSymbols(ro.icon,J1,Q0,$w,Yw,Nl,Bl.vertical,Cc,kp.lineStartIndex,kp.lineLength,-1,eh),$1=ro.icon.placedSymbolArray.length-1)}for(var o3 in Af.horizontal){var Zg=Af.horizontal[o3];if(!gd){t3=Fn(Zg.text);var ZC=Qc.layout.get("text-rotate").evaluate(Nl,{},eh);gd=new Lg(qg,Cc,K0,Wg,Yg,Zg,W1,Hw,J0,ZC)}var s3=Zg.positionedLines.length===1;if(Qw+=_w(ro,Cc,Zg,Uw,Qc,J0,Nl,Gw,kp,Af.vertical?Bl.horizontal:Bl.horizontalOnly,s3?Object.keys(Af.horizontal):[o3],jh,Y1,$g,eh),s3)break}Af.vertical&&(e3+=_w(ro,Cc,Af.vertical,Uw,Qc,J0,Nl,Gw,kp,Bl.vertical,["vertical"],jh,$1,$g,eh));var XC=gd?gd.boxStartIndex:ro.collisionBoxArray.length,KC=gd?gd.boxEndIndex:ro.collisionBoxArray.length,JC=wp?wp.boxStartIndex:ro.collisionBoxArray.length,QC=wp?wp.boxEndIndex:ro.collisionBoxArray.length,e8=_p?_p.boxStartIndex:ro.collisionBoxArray.length,t8=_p?_p.boxEndIndex:ro.collisionBoxArray.length,n8=Tp?Tp.boxStartIndex:ro.collisionBoxArray.length,r8=Tp?Tp.boxEndIndex:ro.collisionBoxArray.length,th=-1,Xg=function(em,u3){return em&&em.circleDiameter?Math.max(em.circleDiameter,u3):u3};th=Xg(gd,th),th=Xg(wp,th),th=Xg(_p,th);var l3=(th=Xg(Tp,th))>-1?1:0;l3&&(th*=YC/ss),ro.glyphOffsetArray.length>=ha.MAX_GLYPHS&&R("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"),Nl.sortKey!==void 0&&ro.addToSortKeyRanges(ro.symbolInstances.length,Nl.sortKey),ro.symbolInstances.emplaceBack(Cc.x,Cc.y,jh.right>=0?jh.right:-1,jh.center>=0?jh.center:-1,jh.left>=0?jh.left:-1,jh.vertical||-1,Y1,$1,t3,XC,KC,JC,QC,e8,t8,n8,r8,K0,Qw,e3,Kw,Jw,l3,0,W1,Z1,X1,th)}(mi,X0,qC,Ka,ma,Ga,Vh,mi.layers[0],mi.collisionBoxArray,Gi.index,Gi.sourceLayerIndex,mi.index,Dg,B1,Bg,Ds,zg,Fg,Ng,Sc,Gi,Oa,dl,ks,Zi)};if(H0==="line")for(var bp=0,Vg=vw(Gi.geometry,0,0,li,li);bp1){var Y0=SC(pd,yp,Ka.vertical||Uu,ma,Hu,fd);Y0&&dd(pd,Y0)}}else if(Gi.type==="Polygon")for(var md=0,$0=w1(Gi.geometry,0);md<$0.length;md+=1){var Z0=$0[md],Bw=LC(Z0,16);dd(Z0[0],new hp(Bw.x,Bw.y,0))}else if(Gi.type==="LineString")for(var V1=0,Nw=Gi.geometry;V1=An.maxzoom||An.visibility!=="none"&&(u(un,this.zoom,qe),(Lt[An.id]=An.createBucket({index:Qe.bucketLayerIDs.length,layers:un,zoom:this.zoom,pixelRatio:this.pixelRatio,overscaling:this.overscaling,collisionBoxArray:this.collisionBoxArray,sourceLayerIndex:Nt,sourceID:this.source})).populate(Yt,yt,this.tileID.canonical),Qe.bucketLayerIDs.push(un.map(function(dn){return dn.id})))}}}var Yn=i.mapObject(yt.glyphDependencies,function(dn){return Object.keys(dn).map(Number)});Object.keys(Yn).length?nt.send("getGlyphs",{uid:this.uid,stacks:Yn},function(dn,pn){ut||(ut=dn,dt=pn,Tn.call(Re))}):dt={};var kn=Object.keys(yt.iconDependencies);kn.length?nt.send("getImages",{icons:kn,source:this.source,tileID:this.tileID,type:"icons"},function(dn,pn){ut||(ut=dn,_t=pn,Tn.call(Re))}):_t={};var sn=Object.keys(yt.patternDependencies);function Tn(){if(ut)return ft(ut);if(dt&&_t&&It){var dn=new l(dt),pn=new i.ImageAtlas(_t,It);for(var Dn in Lt){var In=Lt[Dn];In instanceof i.SymbolBucket?(u(In.layers,this.zoom,qe),i.performSymbolLayout(In,dt,dn.positions,_t,pn.iconPositions,this.showCollisionBoxes,this.tileID.canonical)):In.hasPattern&&(In instanceof i.LineBucket||In instanceof i.FillBucket||In instanceof i.FillExtrusionBucket)&&(u(In.layers,this.zoom,qe),In.addFeatures(yt,this.tileID.canonical,pn.patternPositions))}this.status="done",ft(null,{buckets:i.values(Lt).filter(function(jn){return!jn.isEmpty()}),featureIndex:Qe,collisionBoxArray:this.collisionBoxArray,glyphAtlasImage:dn.image,imageAtlas:pn,glyphMap:this.returnDependencies?dt:null,iconMap:this.returnDependencies?_t:null,glyphPositions:this.returnDependencies?dn.positions:null})}}sn.length?nt.send("getImages",{icons:sn,source:this.source,tileID:this.tileID,type:"patterns"},function(dn,pn){ut||(ut=dn,It=pn,Tn.call(Re))}):It={},Tn.call(this)};var s=function(Ke,Je,qe,nt){this.actor=Ke,this.layerIndex=Je,this.availableImages=qe,this.loadVectorData=nt||o,this.loading={},this.loaded={}};s.prototype.loadTile=function(Ke,Je){var qe=this,nt=Ke.uid;this.loading||(this.loading={});var ft=!!(Ke&&Ke.request&&Ke.request.collectResourceTiming)&&new i.RequestPerformance(Ke.request),Re=this.loading[nt]=new a(Ke);Re.abort=this.loadVectorData(Ke,function(Ne,Qe){if(delete qe.loading[nt],Ne||!Qe)return Re.status="done",qe.loaded[nt]=Re,Je(Ne);var ut=Qe.rawData,dt={};Qe.expires&&(dt.expires=Qe.expires),Qe.cacheControl&&(dt.cacheControl=Qe.cacheControl);var _t={};if(ft){var It=ft.finish();It&&(_t.resourceTiming=JSON.parse(JSON.stringify(It)))}Re.vectorTile=Qe.vectorTile,Re.parse(Qe.vectorTile,qe.layerIndex,qe.availableImages,qe.actor,function(Lt,yt){if(Lt||!yt)return Je(Lt);Je(null,i.extend({rawTileData:ut.slice(0)},yt,dt,_t))}),qe.loaded=qe.loaded||{},qe.loaded[nt]=Re})},s.prototype.reloadTile=function(Ke,Je){var qe=this,nt=this.loaded,ft=Ke.uid,Re=this;if(nt&&nt[ft]){var Ne=nt[ft];Ne.showCollisionBoxes=Ke.showCollisionBoxes;var Qe=function(ut,dt){var _t=Ne.reloadCallback;_t&&(delete Ne.reloadCallback,Ne.parse(Ne.vectorTile,Re.layerIndex,qe.availableImages,Re.actor,_t)),Je(ut,dt)};Ne.status==="parsing"?Ne.reloadCallback=Qe:Ne.status==="done"&&(Ne.vectorTile?Ne.parse(Ne.vectorTile,this.layerIndex,this.availableImages,this.actor,Qe):Qe())}},s.prototype.abortTile=function(Ke,Je){var qe=this.loading,nt=Ke.uid;qe&&qe[nt]&&qe[nt].abort&&(qe[nt].abort(),delete qe[nt]),Je()},s.prototype.removeTile=function(Ke,Je){var qe=this.loaded,nt=Ke.uid;qe&&qe[nt]&&delete qe[nt],Je()};var h=i.window.ImageBitmap,c=function(){this.loaded={}};c.prototype.loadTile=function(Ke,Je){var qe=Ke.uid,nt=Ke.encoding,ft=Ke.rawImageData,Re=h&&ft instanceof h?this.getImageData(ft):ft,Ne=new i.DEMData(qe,Re,nt);this.loaded=this.loaded||{},this.loaded[qe]=Ne,Je(null,Ne)},c.prototype.getImageData=function(Ke){this.offscreenCanvas&&this.offscreenCanvasContext||(this.offscreenCanvas=new OffscreenCanvas(Ke.width,Ke.height),this.offscreenCanvasContext=this.offscreenCanvas.getContext("2d")),this.offscreenCanvas.width=Ke.width,this.offscreenCanvas.height=Ke.height,this.offscreenCanvasContext.drawImage(Ke,0,0,Ke.width,Ke.height);var Je=this.offscreenCanvasContext.getImageData(-1,-1,Ke.width+2,Ke.height+2);return this.offscreenCanvasContext.clearRect(0,0,this.offscreenCanvas.width,this.offscreenCanvas.height),new i.RGBAImage({width:Je.width,height:Je.height},Je.data)},c.prototype.removeTile=function(Ke){var Je=this.loaded,qe=Ke.uid;Je&&Je[qe]&&delete Je[qe]};var m=function Ke(Je,qe){var nt,ft=Je&&Je.type;if(ft==="FeatureCollection")for(nt=0;nt=0!=!!Je&&Ke.reverse()}var C=i.vectorTile.VectorTileFeature.prototype.toGeoJSON,_=function(Ke){this._feature=Ke,this.extent=i.EXTENT,this.type=Ke.type,this.properties=Ke.tags,"id"in Ke&&!isNaN(Ke.id)&&(this.id=parseInt(Ke.id,10))};_.prototype.loadGeometry=function(){if(this._feature.type===1){for(var Ke=[],Je=0,qe=this._feature.geometry;Je>31}function $(Ke,Je){for(var qe=Ke.loadGeometry(),nt=Ke.type,ft=0,Re=0,Ne=qe.length,Qe=0;Qe>1;q(Ke,Je,Ne,nt,ft,Re%2),G(Ke,Je,qe,nt,Ne-1,Re+1),G(Ke,Je,qe,Ne+1,ft,Re+1)}}function q(Ke,Je,qe,nt,ft,Re){for(;ft>nt;){if(ft-nt>600){var Ne=ft-nt+1,Qe=qe-nt+1,ut=Math.log(Ne),dt=.5*Math.exp(2*ut/3),_t=.5*Math.sqrt(ut*dt*(Ne-dt)/Ne)*(Qe-Ne/2<0?-1:1);q(Ke,Je,qe,Math.max(nt,Math.floor(qe-Qe*dt/Ne+_t)),Math.min(ft,Math.floor(qe+(Ne-Qe)*dt/Ne+_t)),Re)}var It=Je[2*qe+Re],Lt=nt,yt=ft;for(H(Ke,Je,nt,qe),Je[2*ft+Re]>It&&H(Ke,Je,nt,ft);LtIt;)yt--}Je[2*nt+Re]===It?H(Ke,Je,nt,yt):H(Ke,Je,++yt,ft),yt<=qe&&(nt=yt+1),qe<=yt&&(ft=yt-1)}}function H(Ke,Je,qe,nt){ne(Ke,qe,nt),ne(Je,2*qe,2*nt),ne(Je,2*qe+1,2*nt+1)}function ne(Ke,Je,qe){var nt=Ke[Je];Ke[Je]=Ke[qe],Ke[qe]=nt}function te(Ke,Je,qe,nt){var ft=Ke-qe,Re=Je-nt;return ft*ft+Re*Re}b.fromVectorTileJs=R,b.fromGeojsonVt=I,b.GeoJSONWrapper=O;var Z=function(Ke){return Ke[0]},X=function(Ke){return Ke[1]},Q=function(Ke,Je,qe,nt,ft){Je===void 0&&(Je=Z),qe===void 0&&(qe=X),nt===void 0&&(nt=64),ft===void 0&&(ft=Float64Array),this.nodeSize=nt,this.points=Ke;for(var Re=Ke.length<65536?Uint16Array:Uint32Array,Ne=this.ids=new Re(Ke.length),Qe=this.coords=new ft(2*Ke.length),ut=0;ut=Ne&&It<=ut&&Lt>=Qe&&Lt<=dt&&Pt.push(ft[Yt]);else{var Wt=Math.floor((Nt+Rt)/2);It=Re[2*Wt],Lt=Re[2*Wt+1],It>=Ne&&It<=ut&&Lt>=Qe&&Lt<=dt&&Pt.push(ft[Wt]);var Xt=(wt+1)%2;(wt===0?Ne<=It:Qe<=Lt)&&(yt.push(Nt),yt.push(Wt-1),yt.push(Xt)),(wt===0?ut>=It:dt>=Lt)&&(yt.push(Wt+1),yt.push(Rt),yt.push(Xt))}}return Pt}(this.ids,this.coords,Ke,Je,qe,nt,this.nodeSize)},Q.prototype.within=function(Ke,Je,qe){return function(nt,ft,Re,Ne,Qe,ut){for(var dt=[0,nt.length-1,0],_t=[],It=Qe*Qe;dt.length;){var Lt=dt.pop(),yt=dt.pop(),Pt=dt.pop();if(yt-Pt<=ut)for(var wt=Pt;wt<=yt;wt++)te(ft[2*wt],ft[2*wt+1],Re,Ne)<=It&&_t.push(nt[wt]);else{var Rt=Math.floor((Pt+yt)/2),Nt=ft[2*Rt],Yt=ft[2*Rt+1];te(Nt,Yt,Re,Ne)<=It&&_t.push(nt[Rt]);var Wt=(Lt+1)%2;(Lt===0?Re-Qe<=Nt:Ne-Qe<=Yt)&&(dt.push(Pt),dt.push(Rt-1),dt.push(Wt)),(Lt===0?Re+Qe>=Nt:Ne+Qe>=Yt)&&(dt.push(Rt+1),dt.push(yt),dt.push(Wt))}}return _t}(this.ids,this.coords,Ke,Je,qe,this.nodeSize)};var re={minZoom:0,maxZoom:16,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:function(Ke){return Ke}},ie=function(Ke){this.options=pe(Object.create(re),Ke),this.trees=new Array(this.options.maxZoom+1)};function oe(Ke,Je,qe,nt,ft){return{x:Ke,y:Je,zoom:1/0,id:qe,parentId:-1,numPoints:nt,properties:ft}}function ue(Ke,Je){var qe=Ke.geometry.coordinates,nt=qe[0],ft=qe[1];return{x:de(nt),y:me(ft),zoom:1/0,index:Je,parentId:-1}}function ce(Ke){return{type:"Feature",id:Ke.id,properties:ye(Ke),geometry:{type:"Point",coordinates:[(nt=Ke.x,360*(nt-.5)),(Je=Ke.y,qe=(180-360*Je)*Math.PI/180,360*Math.atan(Math.exp(qe))/Math.PI-90)]}};var Je,qe,nt}function ye(Ke){var Je=Ke.numPoints,qe=Je>=1e4?Math.round(Je/1e3)+"k":Je>=1e3?Math.round(Je/100)/10+"k":Je;return pe(pe({},Ke.properties),{cluster:!0,cluster_id:Ke.id,point_count:Je,point_count_abbreviated:qe})}function de(Ke){return Ke/360+.5}function me(Ke){var Je=Math.sin(Ke*Math.PI/180),qe=.5-.25*Math.log((1+Je)/(1-Je))/Math.PI;return qe<0?0:qe>1?1:qe}function pe(Ke,Je){for(var qe in Je)Ke[qe]=Je[qe];return Ke}function xe(Ke){return Ke.x}function Pe(Ke){return Ke.y}function _e(Ke,Je,qe,nt){for(var ft,Re=nt,Ne=qe-Je>>1,Qe=qe-Je,ut=Ke[Je],dt=Ke[Je+1],_t=Ke[qe],It=Ke[qe+1],Lt=Je+3;LtRe)ft=Lt,Re=yt;else if(yt===Re){var Pt=Math.abs(Lt-Ne);Ptnt&&(ft-Je>3&&_e(Ke,Je,ft,nt),Ke[ft+2]=Re,qe-ft>3&&_e(Ke,ft,qe,nt))}function Me(Ke,Je,qe,nt,ft,Re){var Ne=ft-qe,Qe=Re-nt;if(Ne!==0||Qe!==0){var ut=((Ke-qe)*Ne+(Je-nt)*Qe)/(Ne*Ne+Qe*Qe);ut>1?(qe=ft,nt=Re):ut>0&&(qe+=Ne*ut,nt+=Qe*ut)}return(Ne=Ke-qe)*Ne+(Qe=Je-nt)*Qe}function Se(Ke,Je,qe,nt){var ft={id:Ke===void 0?null:Ke,type:Je,geometry:qe,tags:nt,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};return function(Re){var Ne=Re.geometry,Qe=Re.type;if(Qe==="Point"||Qe==="MultiPoint"||Qe==="LineString")Ce(Re,Ne);else if(Qe==="Polygon"||Qe==="MultiLineString")for(var ut=0;ut0&&(Ne+=nt?(ft*dt-ut*Re)/2:Math.sqrt(Math.pow(ut-ft,2)+Math.pow(dt-Re,2))),ft=ut,Re=dt}var _t=Je.length-3;Je[2]=1,_e(Je,0,_t,qe),Je[_t+2]=1,Je.size=Math.abs(Ne),Je.start=0,Je.end=Je.size}function ke(Ke,Je,qe,nt){for(var ft=0;ft1?1:qe}function ze(Ke,Je,qe,nt,ft,Re,Ne,Qe){if(nt/=Je,Re>=(qe/=Je)&&Ne=nt)return null;for(var ut=[],dt=0;dt=qe&&Pt=nt)){var wt=[];if(Lt==="Point"||Lt==="MultiPoint")je(It,wt,qe,nt,ft);else if(Lt==="LineString")ge(It,wt,qe,nt,ft,!1,Qe.lineMetrics);else if(Lt==="MultiLineString")Ee(It,wt,qe,nt,ft,!1);else if(Lt==="Polygon")Ee(It,wt,qe,nt,ft,!0);else if(Lt==="MultiPolygon")for(var Rt=0;Rt=qe&&Ne<=nt&&(Je.push(Ke[Re]),Je.push(Ke[Re+1]),Je.push(Ke[Re+2]))}}function ge(Ke,Je,qe,nt,ft,Re,Ne){for(var Qe,ut,dt=we(Ke),_t=ft===0?$e:Ye,It=Ke.start,Lt=0;Ltqe&&(ut=_t(dt,yt,Pt,Rt,Nt,qe),Ne&&(dt.start=It+Qe*ut)):Yt>nt?Wt=qe&&(ut=_t(dt,yt,Pt,Rt,Nt,qe),Xt=!0),Wt>nt&&Yt<=nt&&(ut=_t(dt,yt,Pt,Rt,Nt,nt),Xt=!0),!Re&&Xt&&(Ne&&(dt.end=It+Qe*ut),Je.push(dt),dt=we(Ke)),Ne&&(It+=Qe)}var Qt=Ke.length-3;yt=Ke[Qt],Pt=Ke[Qt+1],wt=Ke[Qt+2],(Yt=ft===0?yt:Pt)>=qe&&Yt<=nt&&Ve(dt,yt,Pt,wt),Qt=dt.length-3,Re&&Qt>=3&&(dt[Qt]!==dt[0]||dt[Qt+1]!==dt[1])&&Ve(dt,dt[0],dt[1],dt[2]),dt.length&&Je.push(dt)}function we(Ke){var Je=[];return Je.size=Ke.size,Je.start=Ke.start,Je.end=Ke.end,Je}function Ee(Ke,Je,qe,nt,ft,Re){for(var Ne=0;NeNe.maxX&&(Ne.maxX=_t),It>Ne.maxY&&(Ne.maxY=It)}return Ne}function kt(Ke,Je,qe,nt){var ft=Je.geometry,Re=Je.type,Ne=[];if(Re==="Point"||Re==="MultiPoint")for(var Qe=0;Qe0&&Je.size<(ft?Ne:nt))qe.numPoints+=Je.length/3;else{for(var Qe=[],ut=0;utNe)&&(qe.numSimplified++,Qe.push(Je[ut]),Qe.push(Je[ut+1])),qe.numPoints++;ft&&function(dt,_t){for(var It=0,Lt=0,yt=dt.length,Pt=yt-2;Lt0===_t)for(Lt=0,yt=dt.length;Lt24)throw new Error("maxZoom should be in the 0-24 range");if(Je.promoteId&&Je.generateId)throw new Error("promoteId and generateId cannot be used together.");var nt=function(ft,Re){var Ne=[];if(ft.type==="FeatureCollection")for(var Qe=0;Qe=nt;dt--){var _t=+Date.now();Qe=this._cluster(Qe,dt),this.trees[dt]=new Q(Qe,xe,Pe,Re,Float32Array),qe&&console.log("z%d: %d clusters in %dms",dt,Qe.length,+Date.now()-_t)}return qe&&console.timeEnd("total time"),this},ie.prototype.getClusters=function(Ke,Je){var qe=((Ke[0]+180)%360+360)%360-180,nt=Math.max(-90,Math.min(90,Ke[1])),ft=Ke[2]===180?180:((Ke[2]+180)%360+360)%360-180,Re=Math.max(-90,Math.min(90,Ke[3]));if(Ke[2]-Ke[0]>=360)qe=-180,ft=180;else if(qe>ft){var Ne=this.getClusters([qe,nt,180,Re],Je),Qe=this.getClusters([-180,nt,ft,Re],Je);return Ne.concat(Qe)}for(var ut=this.trees[this._limitZoom(Je)],dt=[],_t=0,It=ut.range(de(qe),me(Re),de(ft),me(nt));_t1?this._map(dt,!0):null,Rt=(ut<<5)+(Je+1)+this.points.length,Nt=0,Yt=It;Nt>5},ie.prototype._getOriginZoom=function(Ke){return(Ke-this.points.length)%32},ie.prototype._map=function(Ke,Je){if(Ke.numPoints)return Je?pe({},Ke.properties):Ke.properties;var qe=this.points[Ke.index].properties,nt=this.options.map(qe);return Je&&nt===qe?pe({},nt):nt},Ft.prototype.options={maxZoom:14,indexMaxZoom:5,indexMaxPoints:1e5,tolerance:3,extent:4096,buffer:64,lineMetrics:!1,promoteId:null,generateId:!1,debug:0},Ft.prototype.splitTile=function(Ke,Je,qe,nt,ft,Re,Ne){for(var Qe=[Ke,Je,qe,nt],ut=this.options,dt=ut.debug;Qe.length;){nt=Qe.pop(),qe=Qe.pop(),Je=Qe.pop(),Ke=Qe.pop();var _t=1<1&&console.time("creation"),Lt=this.tiles[It]=Et(Ke,Je,qe,nt,ut),this.tileCoords.push({z:Je,x:qe,y:nt}),dt)){dt>1&&(console.log("tile z%d-%d-%d (features: %d, points: %d, simplified: %d)",Je,qe,nt,Lt.numFeatures,Lt.numPoints,Lt.numSimplified),console.timeEnd("creation"));var yt="z"+Je;this.stats[yt]=(this.stats[yt]||0)+1,this.total++}if(Lt.source=Ke,ft){if(Je===ut.maxZoom||Je===ft)continue;var Pt=1<1&&console.time("clipping");var wt,Rt,Nt,Yt,Wt,Xt,Qt=.5*ut.buffer/ut.extent,rn=.5-Qt,xn=.5+Qt,un=1+Qt;wt=Rt=Nt=Yt=null,Wt=ze(Ke,_t,qe-Qt,qe+xn,0,Lt.minX,Lt.maxX,ut),Xt=ze(Ke,_t,qe+rn,qe+un,0,Lt.minX,Lt.maxX,ut),Ke=null,Wt&&(wt=ze(Wt,_t,nt-Qt,nt+xn,1,Lt.minY,Lt.maxY,ut),Rt=ze(Wt,_t,nt+rn,nt+un,1,Lt.minY,Lt.maxY,ut),Wt=null),Xt&&(Nt=ze(Xt,_t,nt-Qt,nt+xn,1,Lt.minY,Lt.maxY,ut),Yt=ze(Xt,_t,nt+rn,nt+un,1,Lt.minY,Lt.maxY,ut),Xt=null),dt>1&&console.timeEnd("clipping"),Qe.push(wt||[],Je+1,2*qe,2*nt),Qe.push(Rt||[],Je+1,2*qe,2*nt+1),Qe.push(Nt||[],Je+1,2*qe+1,2*nt),Qe.push(Yt||[],Je+1,2*qe+1,2*nt+1)}}},Ft.prototype.getTile=function(Ke,Je,qe){var nt=this.options,ft=nt.extent,Re=nt.debug;if(Ke<0||Ke>24)return null;var Ne=1<1&&console.log("drilling down to z%d-%d-%d",Ke,Je,qe);for(var ut,dt=Ke,_t=Je,It=qe;!ut&&dt>0;)dt--,_t=Math.floor(_t/2),It=Math.floor(It/2),ut=this.tiles[Ot(dt,_t,It)];return ut&&ut.source?(Re>1&&console.log("found parent tile z%d-%d-%d",dt,_t,It),Re>1&&console.time("drilling down"),this.splitTile(ut.source,dt,_t,It,Ke,Je,qe),Re>1&&console.timeEnd("drilling down"),this.tiles[Qe]?ht(this.tiles[Qe],ft):null):null};var qt=function(Ke){function Je(qe,nt,ft,Re){Ke.call(this,qe,nt,ft,Bt),Re&&(this.loadGeoJSON=Re)}return Ke&&(Je.__proto__=Ke),Je.prototype=Object.create(Ke&&Ke.prototype),Je.prototype.constructor=Je,Je.prototype.loadData=function(qe,nt){this._pendingCallback&&this._pendingCallback(null,{abandoned:!0}),this._pendingCallback=nt,this._pendingLoadDataParams=qe,this._state&&this._state!=="Idle"?this._state="NeedsLoadData":(this._state="Coalescing",this._loadData())},Je.prototype._loadData=function(){var qe=this;if(this._pendingCallback&&this._pendingLoadDataParams){var nt=this._pendingCallback,ft=this._pendingLoadDataParams;delete this._pendingCallback,delete this._pendingLoadDataParams;var Re=!!(ft&&ft.request&&ft.request.collectResourceTiming)&&new i.RequestPerformance(ft.request);this.loadGeoJSON(ft,function(Ne,Qe){if(Ne||!Qe)return nt(Ne);if(typeof Qe!="object")return nt(new Error("Input data given to '"+ft.source+"' is not a valid GeoJSON object."));m(Qe,!0);try{qe._geoJSONIndex=ft.cluster?new ie(function(_t){var It=_t.superclusterOptions,Lt=_t.clusterProperties;if(!Lt||!It)return It;for(var yt={},Pt={},wt={accumulated:null,zoom:0},Rt={properties:null},Nt=Object.keys(Lt),Yt=0,Wt=Nt;Yt=0?0:Y.button},v.remove=function(Y){Y.parentNode&&Y.parentNode.removeChild(Y)};var w=function(Y){function ee(){Y.call(this),this.images={},this.updatedImages={},this.callbackDispatchedThisFrame={},this.loaded=!1,this.requestors=[],this.patterns={},this.atlasImage=new i.RGBAImage({width:1,height:1}),this.dirty=!0}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee.prototype.isLoaded=function(){return this.loaded},ee.prototype.setLoaded=function(K){if(this.loaded!==K&&(this.loaded=K,K)){for(var le=0,Te=this.requestors;le=0?1.2:1))}function E(Y,ee,K,le,Te,De,He){for(var Ze=0;Ze65535)Tt(new Error("glyphs > 65535 not supported"));else if(ve.ranges[Fe])Tt(null,{stack:At,id:se,glyph:Ie});else{var Ue=ve.requests[Fe];Ue||(Ue=ve.requests[Fe]=[],A.loadGlyphRange(At,Fe,K.url,K.requestManager,function(We,Xe){if(Xe){for(var tt in Xe)K._doesCharSupportLocalGlyph(+tt)||(ve.glyphs[+tt]=Xe[+tt]);ve.ranges[Fe]=!0}for(var lt=0,mt=Ue;lt1&&(at=Y[++Ze]);var At=Math.abs(Tt-at.left),se=Math.abs(Tt-at.right),ve=Math.min(At,se),Ie=void 0,Fe=Te/K*(le+1);if(at.isDash){var Ue=le-Math.abs(Fe);Ie=Math.sqrt(ve*ve+Ue*Ue)}else Ie=le-Math.sqrt(ve*ve+Fe*Fe);this.data[He+Tt]=Math.max(0,Math.min(255,Ie+128))}},O.prototype.addRegularDash=function(Y){for(var ee=Y.length-1;ee>=0;--ee){var K=Y[ee],le=Y[ee+1];K.zeroLength?Y.splice(ee,1):le&&le.isDash===K.isDash&&(le.left=K.left,Y.splice(ee,1))}var Te=Y[0],De=Y[Y.length-1];Te.isDash===De.isDash&&(Te.left=De.left-this.width,De.right=Te.right+this.width);for(var He=this.width*this.nextRow,Ze=0,at=Y[Ze],Tt=0;Tt1&&(at=Y[++Ze]);var At=Math.abs(Tt-at.left),se=Math.abs(Tt-at.right),ve=Math.min(At,se),Ie=at.isDash?ve:-ve;this.data[He+Tt]=Math.max(0,Math.min(255,Ie+128))}},O.prototype.addDash=function(Y,ee){var K=ee?7:0,le=2*K+1;if(this.nextRow+le>this.height)return i.warnOnce("LineAtlas out of space"),null;for(var Te=0,De=0;De=K&&Y.x=le&&Y.y0&&(Tt[new i.OverscaledTileID(K.overscaledZ,He,le.z,De,le.y-1).key]={backfilled:!1},Tt[new i.OverscaledTileID(K.overscaledZ,K.wrap,le.z,le.x,le.y-1).key]={backfilled:!1},Tt[new i.OverscaledTileID(K.overscaledZ,at,le.z,Ze,le.y-1).key]={backfilled:!1}),le.y+10&&(Te.resourceTiming=K._resourceTiming,K._resourceTiming=[]),K.fire(new i.Event("data",Te))}})},ee.prototype.onAdd=function(K){this.map=K,this.load()},ee.prototype.setData=function(K){var le=this;return this._data=K,this.fire(new i.Event("dataloading",{dataType:"source"})),this._updateWorkerData(function(Te){if(Te)le.fire(new i.ErrorEvent(Te));else{var De={dataType:"source",sourceDataType:"content"};le._collectResourceTiming&&le._resourceTiming&&le._resourceTiming.length>0&&(De.resourceTiming=le._resourceTiming,le._resourceTiming=[]),le.fire(new i.Event("data",De))}}),this},ee.prototype.getClusterExpansionZoom=function(K,le){return this.actor.send("geojson.getClusterExpansionZoom",{clusterId:K,source:this.id},le),this},ee.prototype.getClusterChildren=function(K,le){return this.actor.send("geojson.getClusterChildren",{clusterId:K,source:this.id},le),this},ee.prototype.getClusterLeaves=function(K,le,Te,De){return this.actor.send("geojson.getClusterLeaves",{source:this.id,clusterId:K,limit:le,offset:Te},De),this},ee.prototype._updateWorkerData=function(K){var le=this;this._loaded=!1;var Te=i.extend({},this.workerOptions),De=this._data;typeof De=="string"?(Te.request=this.map._requestManager.transformRequest(i.browser.resolveURL(De),i.ResourceType.Source),Te.request.collectResourceTiming=this._collectResourceTiming):Te.data=JSON.stringify(De),this.actor.send(this.type+".loadData",Te,function(He,Ze){le._removed||Ze&&Ze.abandoned||(le._loaded=!0,Ze&&Ze.resourceTiming&&Ze.resourceTiming[le.id]&&(le._resourceTiming=Ze.resourceTiming[le.id].slice(0)),le.actor.send(le.type+".coalesce",{source:Te.source},null),K(He))})},ee.prototype.loaded=function(){return this._loaded},ee.prototype.loadTile=function(K,le){var Te=this,De=K.actor?"reloadTile":"loadTile";K.actor=this.actor;var He={type:this.type,uid:K.uid,tileID:K.tileID,zoom:K.tileID.overscaledZ,maxZoom:this.maxzoom,tileSize:this.tileSize,source:this.id,pixelRatio:i.browser.devicePixelRatio,showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId};K.request=this.actor.send(De,He,function(Ze,at){return delete K.request,K.unloadVectorData(),K.aborted?le(null):Ze?le(Ze):(K.loadVectorData(at,Te.map.painter,De==="reloadTile"),le(null))})},ee.prototype.abortTile=function(K){K.request&&(K.request.cancel(),delete K.request),K.aborted=!0},ee.prototype.unloadTile=function(K){K.unloadVectorData(),this.actor.send("removeTile",{uid:K.uid,type:this.type,source:this.id})},ee.prototype.onRemove=function(){this._removed=!0,this.actor.send("removeSource",{type:this.type,source:this.id})},ee.prototype.serialize=function(){return i.extend({},this._options,{type:this.type,data:this._data})},ee.prototype.hasTransition=function(){return!1},ee}(i.Evented),U=i.createLayout([{name:"a_pos",type:"Int16",components:2},{name:"a_texture_pos",type:"Int16",components:2}]),G=function(Y){function ee(K,le,Te,De){Y.call(this),this.id=K,this.dispatcher=Te,this.coordinates=le.coordinates,this.type="image",this.minzoom=0,this.maxzoom=22,this.tileSize=512,this.tiles={},this._loaded=!1,this.setEventedParent(De),this.options=le}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee.prototype.load=function(K,le){var Te=this;this._loaded=!1,this.fire(new i.Event("dataloading",{dataType:"source"})),this.url=this.options.url,i.getImage(this.map._requestManager.transformRequest(this.url,i.ResourceType.Image),function(De,He){Te._loaded=!0,De?Te.fire(new i.ErrorEvent(De)):He&&(Te.image=He,K&&(Te.coordinates=K),le&&le(),Te._finishLoading())})},ee.prototype.loaded=function(){return this._loaded},ee.prototype.updateImage=function(K){var le=this;return this.image&&K.url?(this.options.url=K.url,this.load(K.coordinates,function(){le.texture=null}),this):this},ee.prototype._finishLoading=function(){this.map&&(this.setCoordinates(this.coordinates),this.fire(new i.Event("data",{dataType:"source",sourceDataType:"metadata"})))},ee.prototype.onAdd=function(K){this.map=K,this.load()},ee.prototype.setCoordinates=function(K){var le=this;this.coordinates=K;var Te=K.map(i.MercatorCoordinate.fromLngLat);this.tileID=function(He){for(var Ze=1/0,at=1/0,Tt=-1/0,At=-1/0,se=0,ve=He;sele.end(0)?this.fire(new i.ErrorEvent(new i.ValidationError("sources."+this.id,null,"Playback for this video can be set only between the "+le.start(0)+" and "+le.end(0)+"-second mark."))):this.video.currentTime=K}},ee.prototype.getVideo=function(){return this.video},ee.prototype.onAdd=function(K){this.map||(this.map=K,this.load(),this.video&&(this.video.play(),this.setCoordinates(this.coordinates)))},ee.prototype.prepare=function(){if(!(Object.keys(this.tiles).length===0||this.video.readyState<2)){var K=this.map.painter.context,le=K.gl;for(var Te in this.boundsBuffer||(this.boundsBuffer=K.createVertexBuffer(this._boundsArray,U.members)),this.boundsSegments||(this.boundsSegments=i.SegmentVector.simpleSegment(0,0,4,2)),this.texture?this.video.paused||(this.texture.bind(le.LINEAR,le.CLAMP_TO_EDGE),le.texSubImage2D(le.TEXTURE_2D,0,0,0,le.RGBA,le.UNSIGNED_BYTE,this.video)):(this.texture=new i.Texture(K,this.video,le.RGBA),this.texture.bind(le.LINEAR,le.CLAMP_TO_EDGE)),this.tiles){var De=this.tiles[Te];De.state!=="loaded"&&(De.state="loaded",De.texture=this.texture)}}},ee.prototype.serialize=function(){return{type:"video",urls:this.urls,coordinates:this.coordinates}},ee.prototype.hasTransition=function(){return this.video&&!this.video.paused},ee}(G),H=function(Y){function ee(K,le,Te,De){Y.call(this,K,le,Te,De),le.coordinates?Array.isArray(le.coordinates)&&le.coordinates.length===4&&!le.coordinates.some(function(He){return!Array.isArray(He)||He.length!==2||He.some(function(Ze){return typeof Ze!="number"})})||this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'"coordinates" property must be an array of 4 longitude/latitude array pairs'))):this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'missing required property "coordinates"'))),le.animate&&typeof le.animate!="boolean"&&this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'optional "animate" property must be a boolean value'))),le.canvas?typeof le.canvas=="string"||le.canvas instanceof i.window.HTMLCanvasElement||this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'"canvas" must be either a string representing the ID of the canvas element from which to read, or an HTMLCanvasElement instance'))):this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'missing required property "canvas"'))),this.options=le,this.animate=le.animate===void 0||le.animate}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee.prototype.load=function(){this._loaded=!0,this.canvas||(this.canvas=this.options.canvas instanceof i.window.HTMLCanvasElement?this.options.canvas:i.window.document.getElementById(this.options.canvas)),this.width=this.canvas.width,this.height=this.canvas.height,this._hasInvalidDimensions()?this.fire(new i.ErrorEvent(new Error("Canvas dimensions cannot be less than or equal to zero."))):(this.play=function(){this._playing=!0,this.map.triggerRepaint()},this.pause=function(){this._playing&&(this.prepare(),this._playing=!1)},this._finishLoading())},ee.prototype.getCanvas=function(){return this.canvas},ee.prototype.onAdd=function(K){this.map=K,this.load(),this.canvas&&this.animate&&this.play()},ee.prototype.onRemove=function(){this.pause()},ee.prototype.prepare=function(){var K=!1;if(this.canvas.width!==this.width&&(this.width=this.canvas.width,K=!0),this.canvas.height!==this.height&&(this.height=this.canvas.height,K=!0),!this._hasInvalidDimensions()&&Object.keys(this.tiles).length!==0){var le=this.map.painter.context,Te=le.gl;for(var De in this.boundsBuffer||(this.boundsBuffer=le.createVertexBuffer(this._boundsArray,U.members)),this.boundsSegments||(this.boundsSegments=i.SegmentVector.simpleSegment(0,0,4,2)),this.texture?(K||this._playing)&&this.texture.update(this.canvas,{premultiply:!0}):this.texture=new i.Texture(le,this.canvas,Te.RGBA,{premultiply:!0}),this.tiles){var He=this.tiles[De];He.state!=="loaded"&&(He.state="loaded",He.texture=this.texture)}}},ee.prototype.serialize=function(){return{type:"canvas",coordinates:this.coordinates}},ee.prototype.hasTransition=function(){return this._playing},ee.prototype._hasInvalidDimensions=function(){for(var K=0,le=[this.canvas.width,this.canvas.height];Kthis.max){var He=this._getAndRemoveByKey(this.order[0]);He&&this.onRemove(He)}return this},Q.prototype.has=function(Y){return Y.wrapped().key in this.data},Q.prototype.getAndRemove=function(Y){return this.has(Y)?this._getAndRemoveByKey(Y.wrapped().key):null},Q.prototype._getAndRemoveByKey=function(Y){var ee=this.data[Y].shift();return ee.timeout&&clearTimeout(ee.timeout),this.data[Y].length===0&&delete this.data[Y],this.order.splice(this.order.indexOf(Y),1),ee.value},Q.prototype.getByKey=function(Y){var ee=this.data[Y];return ee?ee[0].value:null},Q.prototype.get=function(Y){return this.has(Y)?this.data[Y.wrapped().key][0].value:null},Q.prototype.remove=function(Y,ee){if(!this.has(Y))return this;var K=Y.wrapped().key,le=ee===void 0?0:this.data[K].indexOf(ee),Te=this.data[K][le];return this.data[K].splice(le,1),Te.timeout&&clearTimeout(Te.timeout),this.data[K].length===0&&delete this.data[K],this.onRemove(Te.value),this.order.splice(this.order.indexOf(K),1),this},Q.prototype.setMaxSize=function(Y){for(this.max=Y;this.order.length>this.max;){var ee=this._getAndRemoveByKey(this.order[0]);ee&&this.onRemove(ee)}return this},Q.prototype.filter=function(Y){var ee=[];for(var K in this.data)for(var le=0,Te=this.data[K];le1||(Math.abs(At)>1&&(Math.abs(At+ve)===1?At+=ve:Math.abs(At-ve)===1&&(At-=ve)),Tt.dem&&at.dem&&(at.dem.backfillBorder(Tt.dem,At,se),at.neighboringTiles&&at.neighboringTiles[Ie]&&(at.neighboringTiles[Ie].backfilled=!0)))}},ee.prototype.getTile=function(K){return this.getTileByID(K.key)},ee.prototype.getTileByID=function(K){return this._tiles[K]},ee.prototype._retainLoadedChildren=function(K,le,Te,De){for(var He in this._tiles){var Ze=this._tiles[He];if(!(De[He]||!Ze.hasData()||Ze.tileID.overscaledZ<=le||Ze.tileID.overscaledZ>Te)){for(var at=Ze.tileID;Ze&&Ze.tileID.overscaledZ>le+1;){var Tt=Ze.tileID.scaledTo(Ze.tileID.overscaledZ-1);(Ze=this._tiles[Tt.key])&&Ze.hasData()&&(at=Tt)}for(var At=at;At.overscaledZ>le;)if(K[(At=At.scaledTo(At.overscaledZ-1)).key]){De[at.key]=at;break}}}},ee.prototype.findLoadedParent=function(K,le){if(K.key in this._loadedParentTiles){var Te=this._loadedParentTiles[K.key];return Te&&Te.tileID.overscaledZ>=le?Te:null}for(var De=K.overscaledZ-1;De>=le;De--){var He=K.scaledTo(De),Ze=this._getLoadedTile(He);if(Ze)return Ze}},ee.prototype._getLoadedTile=function(K){var le=this._tiles[K.key];return le&&le.hasData()?le:this._cache.getByKey(K.wrapped().key)},ee.prototype.updateCacheSize=function(K){var le=(Math.ceil(K.width/this._source.tileSize)+1)*(Math.ceil(K.height/this._source.tileSize)+1),Te=Math.floor(5*le),De=typeof this._maxTileCacheSize=="number"?Math.min(this._maxTileCacheSize,Te):Te;this._cache.setMaxSize(De)},ee.prototype.handleWrapJump=function(K){var le=(K-(this._prevLng===void 0?K:this._prevLng))/360,Te=Math.round(le);if(this._prevLng=K,Te){var De={};for(var He in this._tiles){var Ze=this._tiles[He];Ze.tileID=Ze.tileID.unwrapTo(Ze.tileID.wrap+Te),De[Ze.tileID.key]=Ze}for(var at in this._tiles=De,this._timers)clearTimeout(this._timers[at]),delete this._timers[at];for(var Tt in this._tiles){var At=this._tiles[Tt];this._setTileReloadTimer(Tt,At)}}},ee.prototype.update=function(K){var le=this;if(this.transform=K,this._sourceLoaded&&!this._paused){var Te;this.updateCacheSize(K),this.handleWrapJump(this.transform.center.lng),this._coveredTiles={},this.used?this._source.tileID?Te=K.getVisibleUnwrappedCoordinates(this._source.tileID).map(function(Ht){return new i.OverscaledTileID(Ht.canonical.z,Ht.wrap,Ht.canonical.z,Ht.canonical.x,Ht.canonical.y)}):(Te=K.coveringTiles({tileSize:this._source.tileSize,minzoom:this._source.minzoom,maxzoom:this._source.maxzoom,roundZoom:this._source.roundZoom,reparseOverscaled:this._source.reparseOverscaled}),this._source.hasTile&&(Te=Te.filter(function(Ht){return le._source.hasTile(Ht)}))):Te=[];var De=K.coveringZoomLevel(this._source),He=Math.max(De-ee.maxOverzooming,this._source.minzoom),Ze=Math.max(De+ee.maxUnderzooming,this._source.minzoom),at=this._updateRetainedTiles(Te,De);if(Ne(this._source.type)){for(var Tt={},At={},se=0,ve=Object.keys(at);sethis._source.maxzoom){var Xe=Ue.children(this._source.maxzoom)[0],tt=this.getTile(Xe);if(tt&&tt.hasData()){Te[Xe.key]=Xe;continue}}else{var lt=Ue.children(this._source.maxzoom);if(Te[lt[0].key]&&Te[lt[1].key]&&Te[lt[2].key]&&Te[lt[3].key])continue}for(var mt=We.wasRequested(),zt=Ue.overscaledZ-1;zt>=He;--zt){var Ut=Ue.scaledTo(zt);if(De[Ut.key]||(De[Ut.key]=!0,!(We=this.getTile(Ut))&&mt&&(We=this._addTile(Ut)),We&&(Te[Ut.key]=Ut,mt=We.wasRequested(),We.hasData())))break}}}return Te},ee.prototype._updateLoadedParentTileCache=function(){for(var K in this._loadedParentTiles={},this._tiles){for(var le=[],Te=void 0,De=this._tiles[K].tileID;De.overscaledZ>0;){if(De.key in this._loadedParentTiles){Te=this._loadedParentTiles[De.key];break}le.push(De.key);var He=De.scaledTo(De.overscaledZ-1);if(Te=this._getLoadedTile(He))break;De=He}for(var Ze=0,at=le;Ze0||(le.hasData()&&le.state!=="reloading"?this._cache.add(le.tileID,le,le.getExpiryTimeout()):(le.aborted=!0,this._abortTile(le),this._unloadTile(le))))},ee.prototype.clearTiles=function(){for(var K in this._shouldReloadOnResume=!1,this._paused=!1,this._tiles)this._removeTile(K);this._cache.reset()},ee.prototype.tilesIn=function(K,le,Te){var De=this,He=[],Ze=this.transform;if(!Ze)return He;for(var at=Te?Ze.getCameraQueryGeometry(K):K,Tt=K.map(function(zt){return Ze.pointCoordinate(zt)}),At=at.map(function(zt){return Ze.pointCoordinate(zt)}),se=this.getIds(),ve=1/0,Ie=1/0,Fe=-1/0,Ue=-1/0,We=0,Xe=At;We=0&&tn[1].y+vn>=0){var ln=Tt.map(function(Cn){return Ht.getTilePoint(Cn)}),an=At.map(function(Cn){return Ht.getTilePoint(Cn)});He.push({tile:Ut,tileID:Ht,queryGeometry:ln,cameraQueryGeometry:an,scale:en})}}},mt=0;mt=i.browser.now())return!0}return!1},ee.prototype.setFeatureState=function(K,le,Te){K=K||"_geojsonTileLayer",this._state.updateState(K,le,Te)},ee.prototype.removeFeatureState=function(K,le,Te){K=K||"_geojsonTileLayer",this._state.removeFeatureState(K,le,Te)},ee.prototype.getFeatureState=function(K,le){return K=K||"_geojsonTileLayer",this._state.getState(K,le)},ee.prototype.setDependencies=function(K,le,Te){var De=this._tiles[K];De&&De.setDependencies(le,Te)},ee.prototype.reloadTilesForDependencies=function(K,le){for(var Te in this._tiles)this._tiles[Te].hasDependency(K,le)&&this._reloadTile(Te,"reloading");this._cache.filter(function(De){return!De.hasDependency(K,le)})},ee}(i.Evented);function Re(Y,ee){var K=Math.abs(2*Y.wrap)-+(Y.wrap<0),le=Math.abs(2*ee.wrap)-+(ee.wrap<0);return Y.overscaledZ-ee.overscaledZ||le-K||ee.canonical.y-Y.canonical.y||ee.canonical.x-Y.canonical.x}function Ne(Y){return Y==="raster"||Y==="image"||Y==="video"}function Qe(){return new i.window.Worker(Mt.workerUrl)}ft.maxOverzooming=10,ft.maxUnderzooming=3;var ut="mapboxgl_preloaded_worker_pool",dt=function(){this.active={}};dt.prototype.acquire=function(Y){if(!this.workers)for(this.workers=[];this.workers.length0?(le-De)/He:0;return this.points[Te].mult(1-Ze).add(this.points[ee].mult(Ze))};var An=function(Y,ee,K){var le=this.boxCells=[],Te=this.circleCells=[];this.xCellCount=Math.ceil(Y/K),this.yCellCount=Math.ceil(ee/K);for(var De=0;De=-ee[0]&&K<=ee[0]&&le>=-ee[1]&&le<=ee[1]}function pn(Y,ee,K,le,Te,De,He,Ze){var at=le?Y.textSizeData:Y.iconSizeData,Tt=i.evaluateSizeForZoom(at,K.transform.zoom),At=[256/K.width*2+1,256/K.height*2+1],se=le?Y.text.dynamicLayoutVertexArray:Y.icon.dynamicLayoutVertexArray;se.clear();for(var ve=Y.lineVertexArray,Ie=le?Y.text.placedSymbolArray:Y.icon.placedSymbolArray,Fe=K.transform.width/K.transform.height,Ue=!1,We=0;WeMath.abs(K.x-ee.x)*le?{useVertical:!0}:(Y===i.WritingMode.vertical?ee.yK.x)?{needsFlipping:!0}:null}function jn(Y,ee,K,le,Te,De,He,Ze,at,Tt,At,se,ve,Ie){var Fe,Ue=ee/24,We=Y.lineOffsetX*Ue,Xe=Y.lineOffsetY*Ue;if(Y.numGlyphs>1){var tt=Y.glyphStartIndex+Y.numGlyphs,lt=Y.lineStartIndex,mt=Y.lineStartIndex+Y.lineLength,zt=Dn(Ue,Ze,We,Xe,K,At,se,Y,at,De,ve);if(!zt)return{notEnoughRoom:!0};var Ut=sn(zt.first.point,He).point,Ht=sn(zt.last.point,He).point;if(le&&!K){var en=In(Y.writingMode,Ut,Ht,Ie);if(en)return en}Fe=[zt.first];for(var vn=Y.glyphStartIndex+1;vn0?Cn.point:Gn(se,an,tn,1,Te),on=In(Y.writingMode,tn,_n,Ie);if(on)return on}var Fn=qn(Ue*Ze.getoffsetX(Y.glyphStartIndex),We,Xe,K,At,se,Y.segment,Y.lineStartIndex,Y.lineStartIndex+Y.lineLength,at,De,ve);if(!Fn)return{notEnoughRoom:!0};Fe=[Fn]}for(var Hn=0,ir=Fe;Hn0?1:-1,Fe=0;le&&(Ie*=-1,Fe=Math.PI),Ie<0&&(Fe+=Math.PI);for(var Ue=Ie>0?Ze+He:Ze+He+1,We=Te,Xe=Te,tt=0,lt=0,mt=Math.abs(ve),zt=[];tt+lt<=mt;){if((Ue+=Ie)=at)return null;if(Xe=We,zt.push(We),(We=se[Ue])===void 0){var Ut=new i.Point(Tt.getx(Ue),Tt.gety(Ue)),Ht=sn(Ut,At);if(Ht.signedDistanceFromCamera>0)We=se[Ue]=Ht.point;else{var en=Ue-Ie;We=Gn(tt===0?De:new i.Point(Tt.getx(en),Tt.gety(en)),Ut,Xe,mt-tt+1,At)}}tt+=lt,lt=Xe.dist(We)}var vn=(mt-tt)/lt,tn=We.sub(Xe),ln=tn.mult(vn)._add(Xe);ln._add(tn._unit()._perp()._mult(K*Ie));var an=Fe+Math.atan2(We.y-Xe.y,We.x-Xe.x);return zt.push(ln),{point:ln,angle:an,path:zt}}An.prototype.keysLength=function(){return this.boxKeys.length+this.circleKeys.length},An.prototype.insert=function(Y,ee,K,le,Te){this._forEachCell(ee,K,le,Te,this._insertBoxCell,this.boxUid++),this.boxKeys.push(Y),this.bboxes.push(ee),this.bboxes.push(K),this.bboxes.push(le),this.bboxes.push(Te)},An.prototype.insertCircle=function(Y,ee,K,le){this._forEachCell(ee-le,K-le,ee+le,K+le,this._insertCircleCell,this.circleUid++),this.circleKeys.push(Y),this.circles.push(ee),this.circles.push(K),this.circles.push(le)},An.prototype._insertBoxCell=function(Y,ee,K,le,Te,De){this.boxCells[Te].push(De)},An.prototype._insertCircleCell=function(Y,ee,K,le,Te,De){this.circleCells[Te].push(De)},An.prototype._query=function(Y,ee,K,le,Te,De){if(K<0||Y>this.width||le<0||ee>this.height)return!Te&&[];var He=[];if(Y<=0&&ee<=0&&this.width<=K&&this.height<=le){if(Te)return!0;for(var Ze=0;Ze0:He},An.prototype._queryCircle=function(Y,ee,K,le,Te){var De=Y-K,He=Y+K,Ze=ee-K,at=ee+K;if(He<0||De>this.width||at<0||Ze>this.height)return!le&&[];var Tt=[],At={hitTest:le,circle:{x:Y,y:ee,radius:K},seenUids:{box:{},circle:{}}};return this._forEachCell(De,Ze,He,at,this._queryCellCircle,Tt,At,Te),le?Tt.length>0:Tt},An.prototype.query=function(Y,ee,K,le,Te){return this._query(Y,ee,K,le,!1,Te)},An.prototype.hitTest=function(Y,ee,K,le,Te){return this._query(Y,ee,K,le,!0,Te)},An.prototype.hitTestCircle=function(Y,ee,K,le){return this._queryCircle(Y,ee,K,!0,le)},An.prototype._queryCell=function(Y,ee,K,le,Te,De,He,Ze){var at=He.seenUids,Tt=this.boxCells[Te];if(Tt!==null)for(var At=this.bboxes,se=0,ve=Tt;se=At[Fe+0]&&le>=At[Fe+1]&&(!Ze||Ze(this.boxKeys[Ie]))){if(He.hitTest)return De.push(!0),!0;De.push({key:this.boxKeys[Ie],x1:At[Fe],y1:At[Fe+1],x2:At[Fe+2],y2:At[Fe+3]})}}}var Ue=this.circleCells[Te];if(Ue!==null)for(var We=this.circles,Xe=0,tt=Ue;XeHe*He+Ze*Ze},An.prototype._circleAndRectCollide=function(Y,ee,K,le,Te,De,He){var Ze=(De-le)/2,at=Math.abs(Y-(le+Ze));if(at>Ze+K)return!1;var Tt=(He-Te)/2,At=Math.abs(ee-(Te+Tt));if(At>Tt+K)return!1;if(at<=Ze||At<=Tt)return!0;var se=at-Ze,ve=At-Tt;return se*se+ve*ve<=K*K};var lr=new Float32Array([-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0]);function rr(Y,ee){for(var K=0;K=1;_n--)Cn.push(ln.path[_n]);for(var on=1;on0){for(var ar=Cn[0].clone(),Mr=Cn[0].clone(),Er=1;Er=en.x&&Mr.x<=vn.x&&ar.y>=en.y&&Mr.y<=vn.y?[Cn]:Mr.xvn.x||Mr.yvn.y?[]:i.clipLine([Cn],en.x,en.y,vn.x,vn.y)}for(var xr=0,kr=ir;xr=this.screenRightBoundary||lethis.screenBottomBoundary},or.prototype.isInsideGrid=function(Y,ee,K,le){return K>=0&&Y=0&&ee0?(this.prevPlacement&&this.prevPlacement.variableOffsets[se.crossTileID]&&this.prevPlacement.placements[se.crossTileID]&&this.prevPlacement.placements[se.crossTileID].text&&(Ue=this.prevPlacement.variableOffsets[se.crossTileID].anchor),this.variableOffsets[se.crossTileID]={textOffset:We,width:K,height:le,anchor:Y,textBoxScale:Te,prevAnchor:Ue},this.markUsedJustification(ve,Y,se,Ie),ve.allowVerticalPlacement&&(this.markUsedOrientation(ve,Ie,se),this.placedOrientations[se.crossTileID]=Ie),{shift:Xe,placedGlyphBoxes:tt}):void 0},tr.prototype.placeLayerBucketPart=function(Y,ee,K){var le=this,Te=Y.parameters,De=Te.bucket,He=Te.layout,Ze=Te.posMatrix,at=Te.textLabelPlaneMatrix,Tt=Te.labelToScreenMatrix,At=Te.textPixelRatio,se=Te.holdingForFade,ve=Te.collisionBoxArray,Ie=Te.partiallyEvaluatedTextSize,Fe=Te.collisionGroup,Ue=He.get("text-optional"),We=He.get("icon-optional"),Xe=He.get("text-allow-overlap"),tt=He.get("icon-allow-overlap"),lt=He.get("text-rotation-alignment")==="map",mt=He.get("text-pitch-alignment")==="map",zt=He.get("icon-text-fit")!=="none",Ut=He.get("symbol-z-order")==="viewport-y",Ht=Xe&&(tt||!De.hasIconData()||We),en=tt&&(Xe||!De.hasTextData()||Ue);!De.collisionArrays&&ve&&De.deserializeCollisionBoxes(ve);var vn=function(on,Fn){if(!ee[on.crossTileID])if(se)le.placements[on.crossTileID]=new bn(!1,!1,!1);else{var Hn,ir=!1,ar=!1,Mr=!0,Er=null,xr={box:null,offscreen:null},kr={box:null,offscreen:null},jr=null,fi=null,di=0,wr=0,Ur=0;Fn.textFeatureIndex?di=Fn.textFeatureIndex:on.useRuntimeCollisionCircles&&(di=on.featureIndex),Fn.verticalTextFeatureIndex&&(wr=Fn.verticalTextFeatureIndex);var oi=Fn.textBox;if(oi){var ai=function(Ri){var Xa=i.WritingMode.horizontal;if(De.allowVerticalPlacement&&!Ri&&le.prevPlacement){var jo=le.prevPlacement.placedOrientations[on.crossTileID];jo&&(le.placedOrientations[on.crossTileID]=jo,Xa=jo,le.markUsedOrientation(De,Xa,on))}return Xa},Ii=function(Ri,Xa){if(De.allowVerticalPlacement&&on.numVerticalGlyphVertices>0&&Fn.verticalTextBox)for(var jo=0,Kc=De.writingModes;jo0&&(vi=vi.filter(function(Ri){return Ri!==Ni.anchor})).unshift(Ni.anchor)}var ta=function(Ri,Xa,jo){for(var Kc=Ri.x2-Ri.x1,f1=Ri.y2-Ri.y1,L0=on.textBoxScale,d1=zt&&!tt?Xa:null,_f={box:[],offscreen:!1},fg=Xe?2*vi.length:vi.length,od=0;od=vi.length,zh=le.attemptAnchorPlacement(wf,Ri,Kc,f1,L0,lt,mt,At,Ze,Fe,p1,on,De,jo,d1);if(zh&&(_f=zh.placedGlyphBoxes)&&_f.box&&_f.box.length){ir=!0,Er=zh.shift;break}}return _f};Ii(function(){return ta(oi,Fn.iconBox,i.WritingMode.horizontal)},function(){var Ri=Fn.verticalTextBox,Xa=xr&&xr.box&&xr.box.length;return De.allowVerticalPlacement&&!Xa&&on.numVerticalGlyphVertices>0&&Ri?ta(Ri,Fn.verticalIconBox,i.WritingMode.vertical):{box:null,offscreen:null}}),xr&&(ir=xr.box,Mr=xr.offscreen);var pa=ai(xr&&xr.box);if(!ir&&le.prevPlacement){var ua=le.prevPlacement.variableOffsets[on.crossTileID];ua&&(le.variableOffsets[on.crossTileID]=ua,le.markUsedJustification(De,ua.anchor,on,pa))}}else{var Qi=function(Ri,Xa){var jo=le.collisionIndex.placeCollisionBox(Ri,Xe,At,Ze,Fe.predicate);return jo&&jo.box&&jo.box.length&&(le.markUsedOrientation(De,Xa,on),le.placedOrientations[on.crossTileID]=Xa),jo};Ii(function(){return Qi(oi,i.WritingMode.horizontal)},function(){var Ri=Fn.verticalTextBox;return De.allowVerticalPlacement&&on.numVerticalGlyphVertices>0&&Ri?Qi(Ri,i.WritingMode.vertical):{box:null,offscreen:null}}),ai(xr&&xr.box&&xr.box.length)}}if(ir=(Hn=xr)&&Hn.box&&Hn.box.length>0,Mr=Hn&&Hn.offscreen,on.useRuntimeCollisionCircles){var na=De.text.placedSymbolArray.get(on.centerJustifiedTextSymbolIndex),ca=i.evaluateSizeForFeature(De.textSizeData,Ie,na),Ia=He.get("text-padding"),zl=on.collisionCircleDiameter;jr=le.collisionIndex.placeCollisionCircles(Xe,na,De.lineVertexArray,De.glyphOffsetArray,ca,Ze,at,Tt,K,mt,Fe.predicate,zl,Ia),ir=Xe||jr.circles.length>0&&!jr.collisionDetected,Mr=Mr&&jr.offscreen}if(Fn.iconFeatureIndex&&(Ur=Fn.iconFeatureIndex),Fn.iconBox){var Za=function(Ri){var Xa=zt&&Er?$n(Ri,Er.x,Er.y,lt,mt,le.transform.angle):Ri;return le.collisionIndex.placeCollisionBox(Xa,tt,At,Ze,Fe.predicate)};ar=kr&&kr.box&&kr.box.length&&Fn.verticalIconBox?(fi=Za(Fn.verticalIconBox)).box.length>0:(fi=Za(Fn.iconBox)).box.length>0,Mr=Mr&&fi.offscreen}var li=Ue||on.numHorizontalGlyphVertices===0&&on.numVerticalGlyphVertices===0,fo=We||on.numIconVertices===0;if(li||fo?fo?li||(ar=ar&&ir):ir=ar&&ir:ar=ir=ar&&ir,ir&&Hn&&Hn.box&&(kr&&kr.box&&wr?le.collisionIndex.insertCollisionBox(Hn.box,He.get("text-ignore-placement"),De.bucketInstanceId,wr,Fe.ID):le.collisionIndex.insertCollisionBox(Hn.box,He.get("text-ignore-placement"),De.bucketInstanceId,di,Fe.ID)),ar&&fi&&le.collisionIndex.insertCollisionBox(fi.box,He.get("icon-ignore-placement"),De.bucketInstanceId,Ur,Fe.ID),jr&&(ir&&le.collisionIndex.insertCollisionCircles(jr.circles,He.get("text-ignore-placement"),De.bucketInstanceId,di,Fe.ID),K)){var _o=De.bucketInstanceId,Aa=le.collisionCircleArrays[_o];Aa===void 0&&(Aa=le.collisionCircleArrays[_o]=new Rn);for(var Ps=0;Ps=0;--ln){var an=tn[ln];vn(De.symbolInstances.get(an),De.collisionArrays[an])}else for(var Cn=Y.symbolInstanceStart;Cn=0&&(Y.text.placedSymbolArray.get(at).crossTileID=Te>=0&&at!==Te?0:K.crossTileID)}},tr.prototype.markUsedOrientation=function(Y,ee,K){for(var le=ee===i.WritingMode.horizontal||ee===i.WritingMode.horizontalOnly?ee:0,Te=ee===i.WritingMode.vertical?ee:0,De=0,He=[K.leftJustifiedTextSymbolIndex,K.centerJustifiedTextSymbolIndex,K.rightJustifiedTextSymbolIndex];De0||mt>0,vn=tt.numIconVertices>0,tn=le.placedOrientations[tt.crossTileID],ln=tn===i.WritingMode.vertical,an=tn===i.WritingMode.horizontal||tn===i.WritingMode.horizontalOnly;if(en){var Cn=En(Ht.text),_n=ln?mn:Cn;Ie(Y.text,lt,_n);var on=an?mn:Cn;Ie(Y.text,mt,on);var Fn=Ht.text.isHidden();[tt.rightJustifiedTextSymbolIndex,tt.centerJustifiedTextSymbolIndex,tt.leftJustifiedTextSymbolIndex].forEach(function(Ur){Ur>=0&&(Y.text.placedSymbolArray.get(Ur).hidden=Fn||ln?1:0)}),tt.verticalPlacedTextSymbolIndex>=0&&(Y.text.placedSymbolArray.get(tt.verticalPlacedTextSymbolIndex).hidden=Fn||an?1:0);var Hn=le.variableOffsets[tt.crossTileID];Hn&&le.markUsedJustification(Y,Hn.anchor,tt,tn);var ir=le.placedOrientations[tt.crossTileID];ir&&(le.markUsedJustification(Y,"left",tt,ir),le.markUsedOrientation(Y,ir,tt))}if(vn){var ar=En(Ht.icon),Mr=!(se&&tt.verticalPlacedIconSymbolIndex&&ln);if(tt.placedIconSymbolIndex>=0){var Er=Mr?ar:mn;Ie(Y.icon,tt.numIconVertices,Er),Y.icon.placedSymbolArray.get(tt.placedIconSymbolIndex).hidden=Ht.icon.isHidden()}if(tt.verticalPlacedIconSymbolIndex>=0){var xr=Mr?mn:ar;Ie(Y.icon,tt.numVerticalIconVertices,xr),Y.icon.placedSymbolArray.get(tt.verticalPlacedIconSymbolIndex).hidden=Ht.icon.isHidden()}}if(Y.hasIconCollisionBoxData()||Y.hasTextCollisionBoxData()){var kr=Y.collisionArrays[Xe];if(kr){var jr=new i.Point(0,0);if(kr.textBox||kr.verticalTextBox){var fi=!0;if(at){var di=le.variableOffsets[zt];di?(jr=Kn(di.anchor,di.width,di.height,di.textOffset,di.textBoxScale),Tt&&jr._rotate(At?le.transform.angle:-le.transform.angle)):fi=!1}kr.textBox&&mr(Y.textCollisionBox.collisionVertexArray,Ht.text.placed,!fi||ln,jr.x,jr.y),kr.verticalTextBox&&mr(Y.textCollisionBox.collisionVertexArray,Ht.text.placed,!fi||an,jr.x,jr.y)}var wr=!!(!an&&kr.verticalIconBox);kr.iconBox&&mr(Y.iconCollisionBox.collisionVertexArray,Ht.icon.placed,wr,se?jr.x:0,se?jr.y:0),kr.verticalIconBox&&mr(Y.iconCollisionBox.collisionVertexArray,Ht.icon.placed,!wr,se?jr.x:0,se?jr.y:0)}}},Ue=0;UeY},tr.prototype.setStale=function(){this.stale=!0};var nn=Math.pow(2,25),Pn=Math.pow(2,24),jt=Math.pow(2,17),Jt=Math.pow(2,16),hn=Math.pow(2,9),zn=Math.pow(2,8),On=Math.pow(2,1);function En(Y){if(Y.opacity===0&&!Y.placed)return 0;if(Y.opacity===1&&Y.placed)return 4294967295;var ee=Y.placed?1:0,K=Math.floor(127*Y.opacity);return K*nn+ee*Pn+K*jt+ee*Jt+K*hn+ee*zn+K*On+ee}var mn=0,wn=function(Y){this._sortAcrossTiles=Y.layout.get("symbol-z-order")!=="viewport-y"&&Y.layout.get("symbol-sort-key").constantOr(1)!==void 0,this._currentTileIndex=0,this._currentPartIndex=0,this._seenCrossTileIDs={},this._bucketParts=[]};wn.prototype.continuePlacement=function(Y,ee,K,le,Te){for(var De=this._bucketParts;this._currentTileIndex2};this._currentPlacementIndex>=0;){var He=ee[Y[this._currentPlacementIndex]],Ze=this.placement.collisionIndex.transform.zoom;if(He.type==="symbol"&&(!He.minzoom||He.minzoom<=Ze)&&(!He.maxzoom||He.maxzoom>Ze)){if(this._inProgressLayer||(this._inProgressLayer=new wn(He)),this._inProgressLayer.continuePlacement(K[He.source],this.placement,this._showCollisionBoxes,He,De))return;delete this._inProgressLayer}this._currentPlacementIndex--}this._done=!0},gn.prototype.commit=function(Y){return this.placement.commit(Y),this.placement};var yn=512/i.EXTENT/2,Sn=function(Y,ee,K){this.tileID=Y,this.indexedSymbolInstances={},this.bucketInstanceId=K;for(var le=0;leY.overscaledZ)for(var Ze in He){var at=He[Ze];at.tileID.isChildOf(Y)&&at.findMatches(ee.symbolInstances,Y,Te)}else{var Tt=He[Y.scaledTo(Number(De)).key];Tt&&Tt.findMatches(ee.symbolInstances,Y,Te)}}for(var At=0;At1?"@2x":"",se=i.getJSON(De.transformRequest(De.normalizeSpriteURL(Te,At,".json"),i.ResourceType.SpriteJSON),function(Fe,Ue){se=null,Tt||(Tt=Fe,Ze=Ue,Ie())}),ve=i.getImage(De.transformRequest(De.normalizeSpriteURL(Te,At,".png"),i.ResourceType.SpriteImage),function(Fe,Ue){ve=null,Tt||(Tt=Fe,at=Ue,Ie())});function Ie(){if(Tt)He(Tt);else if(Ze&&at){var Fe=i.browser.getImageData(at),Ue={};for(var We in Ze){var Xe=Ze[We],tt=Xe.width,lt=Xe.height,mt=Xe.x,zt=Xe.y,Ut=Xe.sdf,Ht=Xe.pixelRatio,en=Xe.stretchX,vn=Xe.stretchY,tn=Xe.content,ln=new i.RGBAImage({width:tt,height:lt});i.RGBAImage.copy(Fe,ln,{x:mt,y:zt},{x:0,y:0},{width:tt,height:lt}),Ue[We]={data:ln,pixelRatio:Ht,sdf:Ut,stretchX:en,stretchY:vn,content:tn}}He(null,Ue)}}return{cancel:function(){se&&(se.cancel(),se=null),ve&&(ve.cancel(),ve=null)}}}(K,this.map._requestManager,function(Te,De){if(le._spriteRequest=null,Te)le.fire(new i.ErrorEvent(Te));else if(De)for(var He in De)le.imageManager.addImage(He,De[He]);le.imageManager.setLoaded(!0),le._availableImages=le.imageManager.listImages(),le.dispatcher.broadcast("setImages",le._availableImages),le.fire(new i.Event("data",{dataType:"style"}))})},ee.prototype._validateLayer=function(K){var le=this.sourceCaches[K.source];if(le){var Te=K.sourceLayer;if(Te){var De=le.getSource();(De.type==="geojson"||De.vectorLayerIds&&De.vectorLayerIds.indexOf(Te)===-1)&&this.fire(new i.ErrorEvent(new Error('Source layer "'+Te+'" does not exist on source "'+De.id+'" as specified by style layer "'+K.id+'"')))}}},ee.prototype.loaded=function(){if(!this._loaded||Object.keys(this._updatedSources).length)return!1;for(var K in this.sourceCaches)if(!this.sourceCaches[K].loaded())return!1;return!!this.imageManager.isLoaded()},ee.prototype._serializeLayers=function(K){for(var le=[],Te=0,De=K;Te0)throw new Error("Unimplemented: "+De.map(function(He){return He.command}).join(", ")+".");return Te.forEach(function(He){He.command!=="setTransition"&&le[He.command].apply(le,He.args)}),this.stylesheet=K,!0},ee.prototype.addImage=function(K,le){if(this.getImage(K))return this.fire(new i.ErrorEvent(new Error("An image with this name already exists.")));this.imageManager.addImage(K,le),this._availableImages=this.imageManager.listImages(),this._changedImages[K]=!0,this._changed=!0,this.fire(new i.Event("data",{dataType:"style"}))},ee.prototype.updateImage=function(K,le){this.imageManager.updateImage(K,le)},ee.prototype.getImage=function(K){return this.imageManager.getImage(K)},ee.prototype.removeImage=function(K){if(!this.getImage(K))return this.fire(new i.ErrorEvent(new Error("No image with this name exists.")));this.imageManager.removeImage(K),this._availableImages=this.imageManager.listImages(),this._changedImages[K]=!0,this._changed=!0,this.fire(new i.Event("data",{dataType:"style"}))},ee.prototype.listImages=function(){return this._checkLoaded(),this.imageManager.listImages()},ee.prototype.addSource=function(K,le,Te){var De=this;if(Te===void 0&&(Te={}),this._checkLoaded(),this.sourceCaches[K]!==void 0)throw new Error("There is already a source with this ID");if(!le.type)throw new Error("The type property must be defined, but the only the following properties were given: "+Object.keys(le).join(", ")+".");if(!(["vector","raster","geojson","video","image"].indexOf(le.type)>=0&&this._validate(i.validateStyle.source,"sources."+K,le,null,Te))){this.map&&this.map._collectResourceTiming&&(le.collectResourceTiming=!0);var He=this.sourceCaches[K]=new ft(K,le,this.dispatcher);He.style=this,He.setEventedParent(this,function(){return{isSourceLoaded:De.loaded(),source:He.serialize(),sourceId:K}}),He.onAdd(this.map),this._changed=!0}},ee.prototype.removeSource=function(K){if(this._checkLoaded(),this.sourceCaches[K]===void 0)throw new Error("There is no source with this ID");for(var le in this._layers)if(this._layers[le].source===K)return this.fire(new i.ErrorEvent(new Error('Source "'+K+'" cannot be removed while layer "'+le+'" is using it.')));var Te=this.sourceCaches[K];delete this.sourceCaches[K],delete this._updatedSources[K],Te.fire(new i.Event("data",{sourceDataType:"metadata",dataType:"source",sourceId:K})),Te.setEventedParent(null),Te.clearTiles(),Te.onRemove&&Te.onRemove(this.map),this._changed=!0},ee.prototype.setGeoJSONSourceData=function(K,le){this._checkLoaded(),this.sourceCaches[K].getSource().setData(le),this._changed=!0},ee.prototype.getSource=function(K){return this.sourceCaches[K]&&this.sourceCaches[K].getSource()},ee.prototype.addLayer=function(K,le,Te){Te===void 0&&(Te={}),this._checkLoaded();var De=K.id;if(this.getLayer(De))this.fire(new i.ErrorEvent(new Error('Layer with id "'+De+'" already exists on this map')));else{var He;if(K.type==="custom"){if(Qn(this,i.validateCustomStyleLayer(K)))return;He=i.createStyleLayer(K)}else{if(typeof K.source=="object"&&(this.addSource(De,K.source),K=i.clone$1(K),K=i.extend(K,{source:De})),this._validate(i.validateStyle.layer,"layers."+De,K,{arrayIndex:-1},Te))return;He=i.createStyleLayer(K),this._validateLayer(He),He.setEventedParent(this,{layer:{id:De}}),this._serializedLayers[He.id]=He.serialize()}var Ze=le?this._order.indexOf(le):this._order.length;if(le&&Ze===-1)this.fire(new i.ErrorEvent(new Error('Layer with id "'+le+'" does not exist on this map.')));else{if(this._order.splice(Ze,0,De),this._layerOrderChanged=!0,this._layers[De]=He,this._removedLayers[De]&&He.source&&He.type!=="custom"){var at=this._removedLayers[De];delete this._removedLayers[De],at.type!==He.type?this._updatedSources[He.source]="clear":(this._updatedSources[He.source]="reload",this.sourceCaches[He.source].pause())}this._updateLayer(He),He.onAdd&&He.onAdd(this.map)}}},ee.prototype.moveLayer=function(K,le){if(this._checkLoaded(),this._changed=!0,this._layers[K]){if(K!==le){var Te=this._order.indexOf(K);this._order.splice(Te,1);var De=le?this._order.indexOf(le):this._order.length;le&&De===-1?this.fire(new i.ErrorEvent(new Error('Layer with id "'+le+'" does not exist on this map.'))):(this._order.splice(De,0,K),this._layerOrderChanged=!0)}}else this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be moved.")))},ee.prototype.removeLayer=function(K){this._checkLoaded();var le=this._layers[K];if(le){le.setEventedParent(null);var Te=this._order.indexOf(K);this._order.splice(Te,1),this._layerOrderChanged=!0,this._changed=!0,this._removedLayers[K]=le,delete this._layers[K],delete this._serializedLayers[K],delete this._updatedLayers[K],delete this._updatedPaintProps[K],le.onRemove&&le.onRemove(this.map)}else this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be removed.")))},ee.prototype.getLayer=function(K){return this._layers[K]},ee.prototype.hasLayer=function(K){return K in this._layers},ee.prototype.setLayerZoomRange=function(K,le,Te){this._checkLoaded();var De=this.getLayer(K);De?De.minzoom===le&&De.maxzoom===Te||(le!=null&&(De.minzoom=le),Te!=null&&(De.maxzoom=Te),this._updateLayer(De)):this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot have zoom extent.")))},ee.prototype.setFilter=function(K,le,Te){Te===void 0&&(Te={}),this._checkLoaded();var De=this.getLayer(K);if(De){if(!i.deepEqual(De.filter,le))return le==null?(De.filter=void 0,void this._updateLayer(De)):void(this._validate(i.validateStyle.filter,"layers."+De.id+".filter",le,null,Te)||(De.filter=i.clone$1(le),this._updateLayer(De)))}else this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be filtered.")))},ee.prototype.getFilter=function(K){return i.clone$1(this.getLayer(K).filter)},ee.prototype.setLayoutProperty=function(K,le,Te,De){De===void 0&&(De={}),this._checkLoaded();var He=this.getLayer(K);He?i.deepEqual(He.getLayoutProperty(le),Te)||(He.setLayoutProperty(le,Te,De),this._updateLayer(He)):this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be styled.")))},ee.prototype.getLayoutProperty=function(K,le){var Te=this.getLayer(K);if(Te)return Te.getLayoutProperty(le);this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style.")))},ee.prototype.setPaintProperty=function(K,le,Te,De){De===void 0&&(De={}),this._checkLoaded();var He=this.getLayer(K);He?i.deepEqual(He.getPaintProperty(le),Te)||(He.setPaintProperty(le,Te,De)&&this._updateLayer(He),this._changed=!0,this._updatedPaintProps[K]=!0):this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be styled.")))},ee.prototype.getPaintProperty=function(K,le){return this.getLayer(K).getPaintProperty(le)},ee.prototype.setFeatureState=function(K,le){this._checkLoaded();var Te=K.source,De=K.sourceLayer,He=this.sourceCaches[Te];if(He!==void 0){var Ze=He.getSource().type;Ze==="geojson"&&De?this.fire(new i.ErrorEvent(new Error("GeoJSON sources cannot have a sourceLayer parameter."))):Ze!=="vector"||De?(K.id===void 0&&this.fire(new i.ErrorEvent(new Error("The feature id parameter must be provided."))),He.setFeatureState(De,K.id,le)):this.fire(new i.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new i.ErrorEvent(new Error("The source '"+Te+"' does not exist in the map's style.")))},ee.prototype.removeFeatureState=function(K,le){this._checkLoaded();var Te=K.source,De=this.sourceCaches[Te];if(De!==void 0){var He=De.getSource().type,Ze=He==="vector"?K.sourceLayer:void 0;He!=="vector"||Ze?le&&typeof K.id!="string"&&typeof K.id!="number"?this.fire(new i.ErrorEvent(new Error("A feature id is requred to remove its specific state property."))):De.removeFeatureState(Ze,K.id,le):this.fire(new i.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new i.ErrorEvent(new Error("The source '"+Te+"' does not exist in the map's style.")))},ee.prototype.getFeatureState=function(K){this._checkLoaded();var le=K.source,Te=K.sourceLayer,De=this.sourceCaches[le];if(De!==void 0){if(De.getSource().type!=="vector"||Te)return K.id===void 0&&this.fire(new i.ErrorEvent(new Error("The feature id parameter must be provided."))),De.getFeatureState(Te,K.id);this.fire(new i.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new i.ErrorEvent(new Error("The source '"+le+"' does not exist in the map's style.")))},ee.prototype.getTransition=function(){return i.extend({duration:300,delay:0},this.stylesheet&&this.stylesheet.transition)},ee.prototype.serialize=function(){return i.filterObject({version:this.stylesheet.version,name:this.stylesheet.name,metadata:this.stylesheet.metadata,light:this.stylesheet.light,center:this.stylesheet.center,zoom:this.stylesheet.zoom,bearing:this.stylesheet.bearing,pitch:this.stylesheet.pitch,sprite:this.stylesheet.sprite,glyphs:this.stylesheet.glyphs,transition:this.stylesheet.transition,sources:i.mapObject(this.sourceCaches,function(K){return K.serialize()}),layers:this._serializeLayers(this._order)},function(K){return K!==void 0})},ee.prototype._updateLayer=function(K){this._updatedLayers[K.id]=!0,K.source&&!this._updatedSources[K.source]&&this.sourceCaches[K.source].getSource().type!=="raster"&&(this._updatedSources[K.source]="reload",this.sourceCaches[K.source].pause()),this._changed=!0},ee.prototype._flattenAndSortRenderedFeatures=function(K){for(var le=this,Te=function(tn){return le._layers[tn].type==="fill-extrusion"},De={},He=[],Ze=this._order.length-1;Ze>=0;Ze--){var at=this._order[Ze];if(Te(at)){De[at]=Ze;for(var Tt=0,At=K;Tt=0;We--){var Xe=this._order[We];if(Te(Xe))for(var tt=He.length-1;tt>=0;tt--){var lt=He[tt].feature;if(De[lt.layer.id]2){for(var O=Array(.5*A.position.length),z=0;z2){for(var B=!A.position[0].length,N=a.mallocFloat(2*this.count),W=0,j=0;W1?L.align[fe]:L.align[0]:L.align;if(typeof be=="number")return be;switch(be){case"right":case"end":return-ae;case"center":case"centre":case"middle":return .5*-ae}return 0})),this.baseline==null&&A.baseline==null&&(A.baseline=0),A.baseline!=null&&(this.baseline=A.baseline,Array.isArray(this.baseline)||(this.baseline=[this.baseline]),this.baselineOffset=this.baseline.map(function(ae,fe){var be=(L.font[fe]||L.font[0]).metrics,ke=0;return ke+=.5*be.bottom,-1*(ke+=typeof ae=="number"?ae-be.baseline:-be[ae])})),A.color!=null)if(A.color||(A.color="transparent"),typeof A.color!="string"&&isNaN(A.color)){var me;if(typeof A.color[0]=="number"&&A.color.length>this.counts.length){var pe=A.color.length;me=a.mallocUint8(pe);for(var xe=(A.color.subarray||A.color.slice).bind(A.color),Pe=0;Pe4||this.baselineOffset.length>1||this.align&&this.align.length>1||this.fontAtlas.length>1||this.positionOffset.length>2){var Se=Math.max(.5*this.position.length||0,.25*this.color.length||0,this.baselineOffset.length||0,this.alignOffset.length||0,this.font.length||0,this.opacity.length||0,.5*this.positionOffset.length||0);this.batch=Array(Se);for(var Ce=0;Ce1?this.counts[Ce]:this.counts[0],offset:this.textOffsets.length>1?this.textOffsets[Ce]:this.textOffsets[0],color:this.color?this.color.length<=4?this.color:this.color.subarray(4*Ce,4*Ce+4):[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[Ce]:this.opacity,baseline:this.baselineOffset[Ce]!=null?this.baselineOffset[Ce]:this.baselineOffset[0],align:this.align?this.alignOffset[Ce]!=null?this.alignOffset[Ce]:this.alignOffset[0]:0,atlas:this.fontAtlas[Ce]||this.fontAtlas[0],positionOffset:this.positionOffset.length>2?this.positionOffset.subarray(2*Ce,2*Ce+2):this.positionOffset}}else this.count?this.batch=[{count:this.count,offset:0,color:this.color||[0,0,0,255],opacity:Array.isArray(this.opacity)?this.opacity[0]:this.opacity,baseline:this.baselineOffset[0],align:this.alignOffset?this.alignOffset[0]:0,atlas:this.fontAtlas[0],positionOffset:this.positionOffset}]:this.batch=[]},x.prototype.destroy=function(){},x.prototype.kerning=!0,x.prototype.position={constant:new Float32Array(2)},x.prototype.translate=null,x.prototype.scale=null,x.prototype.font=null,x.prototype.text="",x.prototype.positionOffset=[0,0],x.prototype.opacity=1,x.prototype.color=new Uint8Array([0,0,0,255]),x.prototype.alignOffset=[0,0],x.maxAtlasSize=1024,x.atlasCanvas=document.createElement("canvas"),x.atlasContext=x.atlasCanvas.getContext("2d",{alpha:!1}),x.baseFontSize=64,x.fonts={},T.exports=x},12018:function(T,p,t){var d=t(71299);function g(v){if(v.container)if(v.container==document.body)document.body.style.width||(v.canvas.width=v.width||v.pixelRatio*t.g.innerWidth),document.body.style.height||(v.canvas.height=v.height||v.pixelRatio*t.g.innerHeight);else{var f=v.container.getBoundingClientRect();v.canvas.width=v.width||f.right-f.left,v.canvas.height=v.height||f.bottom-f.top}}function i(v){return typeof v.getContext=="function"&&"width"in v&&"height"in v}function M(){var v=document.createElement("canvas");return v.style.position="absolute",v.style.top=0,v.style.left=0,v}T.exports=function(v){var f;if(v?typeof v=="string"&&(v={container:v}):v={},(v=i(v)||typeof(f=v).nodeName=="string"&&typeof f.appendChild=="function"&&typeof f.getBoundingClientRect=="function"?{container:v}:function(a){return typeof a.drawArrays=="function"||typeof a.drawElements=="function"}(v)?{gl:v}:d(v,{container:"container target element el canvas holder parent parentNode wrapper use ref root node",gl:"gl context webgl glContext",attrs:"attributes attrs contextAttributes",pixelRatio:"pixelRatio pxRatio px ratio pxratio pixelratio",width:"w width",height:"h height"},!0)).pixelRatio||(v.pixelRatio=t.g.pixelRatio||1),v.gl)return v.gl;if(v.canvas&&(v.container=v.canvas.parentNode),v.container){if(typeof v.container=="string"){var l=document.querySelector(v.container);if(!l)throw Error("Element "+v.container+" is not found");v.container=l}i(v.container)?(v.canvas=v.container,v.container=v.canvas.parentNode):v.canvas||(v.canvas=M(),v.container.appendChild(v.canvas),g(v))}else if(!v.canvas){if(typeof document>"u")throw Error("Not DOM environment. Use headless-gl.");v.container=document.body||document.documentElement,v.canvas=M(),v.container.appendChild(v.canvas),g(v)}return v.gl||["webgl","experimental-webgl","webgl-experimental"].some(function(a){try{v.gl=v.canvas.getContext(a,v.attrs)}catch{}return v.gl}),v.gl}},56068:function(T){T.exports=function(p){typeof p=="string"&&(p=[p]);for(var t=[].slice.call(arguments,1),d=[],g=0;g>1,o=-7,s=g?M-1:0,c=g?-1:1,h=t[d+s];for(s+=c,v=h&(1<<-o)-1,h>>=-o,o+=l;o>0;v=256*v+t[d+s],s+=c,o-=8);for(f=v&(1<<-o)-1,v>>=-o,o+=i;o>0;f=256*f+t[d+s],s+=c,o-=8);if(v===0)v=1-u;else{if(v===a)return f?NaN:1/0*(h?-1:1);f+=Math.pow(2,i),v-=u}return(h?-1:1)*f*Math.pow(2,v-i)},p.write=function(t,d,g,i,M,v){var f,l,a,u=8*v-M-1,o=(1<>1,c=M===23?Math.pow(2,-24)-Math.pow(2,-77):0,h=i?0:v-1,m=i?1:-1,w=d<0||d===0&&1/d<0?1:0;for(d=Math.abs(d),isNaN(d)||d===1/0?(l=isNaN(d)?1:0,f=o):(f=Math.floor(Math.log(d)/Math.LN2),d*(a=Math.pow(2,-f))<1&&(f--,a*=2),(d+=f+s>=1?c/a:c*Math.pow(2,1-s))*a>=2&&(f++,a/=2),f+s>=o?(l=0,f=o):f+s>=1?(l=(d*a-1)*Math.pow(2,M),f+=s):(l=d*Math.pow(2,s-1)*Math.pow(2,M),f=0));M>=8;t[g+h]=255&l,h+=m,l/=256,M-=8);for(f=f<0;t[g+h]=255&f,h+=m,f/=256,u-=8);t[g+h-m]|=128*w}},42018:function(T){typeof Object.create=="function"?T.exports=function(p,t){t&&(p.super_=t,p.prototype=Object.create(t.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}))}:T.exports=function(p,t){if(t){p.super_=t;var d=function(){};d.prototype=t.prototype,p.prototype=new d,p.prototype.constructor=p}}},47216:function(T,p,t){var d=t(84543)(),g=t(6614)("Object.prototype.toString"),i=function(f){return!(d&&f&&typeof f=="object"&&Symbol.toStringTag in f)&&g(f)==="[object Arguments]"},M=function(f){return!!i(f)||f!==null&&typeof f=="object"&&typeof f.length=="number"&&f.length>=0&&g(f)!=="[object Array]"&&g(f.callee)==="[object Function]"},v=function(){return i(arguments)}();i.isLegacyArguments=M,T.exports=v?i:M},54404:function(T){T.exports=!0},85395:function(T){var p,t,d=Function.prototype.toString,g=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply;if(typeof g=="function"&&typeof Object.defineProperty=="function")try{p=Object.defineProperty({},"length",{get:function(){throw t}}),t={},g(function(){throw 42},null,p)}catch(s){s!==t&&(g=null)}else g=null;var i=/^\s*class\b/,M=function(s){try{var c=d.call(s);return i.test(c)}catch{return!1}},v=function(s){try{return!M(s)&&(d.call(s),!0)}catch{return!1}},f=Object.prototype.toString,l=typeof Symbol=="function"&&!!Symbol.toStringTag,a=!(0 in[,]),u=function(){return!1};if(typeof document=="object"){var o=document.all;f.call(o)===f.call(document.all)&&(u=function(s){if((a||!s)&&(s===void 0||typeof s=="object"))try{var c=f.call(s);return(c==="[object HTMLAllCollection]"||c==="[object HTML document.all class]"||c==="[object HTMLCollection]"||c==="[object Object]")&&s("")==null}catch{}return!1})}T.exports=g?function(s){if(u(s))return!0;if(!s||typeof s!="function"&&typeof s!="object")return!1;try{g(s,null,p)}catch(c){if(c!==t)return!1}return!M(s)&&v(s)}:function(s){if(u(s))return!0;if(!s||typeof s!="function"&&typeof s!="object")return!1;if(l)return v(s);if(M(s))return!1;var c=f.call(s);return!(c!=="[object Function]"&&c!=="[object GeneratorFunction]"&&!/^\[object HTML/.test(c))&&v(s)}},65481:function(T,p,t){var d,g=Object.prototype.toString,i=Function.prototype.toString,M=/^\s*(?:function)?\*/,v=t(84543)(),f=Object.getPrototypeOf;T.exports=function(l){if(typeof l!="function")return!1;if(M.test(i.call(l)))return!0;if(!v)return g.call(l)==="[object GeneratorFunction]";if(!f)return!1;if(d===void 0){var a=function(){if(!v)return!1;try{return Function("return function*() {}")()}catch{}}();d=!!a&&f(a)}return f(l)===d}},62683:function(T){T.exports=typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||/Trident\//.test(navigator.appVersion))},64274:function(T){T.exports=function(p){return p!=p}},15567:function(T,p,t){var d=t(68222),g=t(17045),i=t(64274),M=t(14922),v=t(22442),f=d(M(),Number);g(f,{getPolyfill:M,implementation:i,shim:v}),T.exports=f},14922:function(T,p,t){var d=t(64274);T.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:d}},22442:function(T,p,t){var d=t(17045),g=t(14922);T.exports=function(){var i=g();return d(Number,{isNaN:i},{isNaN:function(){return Number.isNaN!==i}}),i}},64941:function(T){T.exports=function(p){var t=typeof p;return p!==null&&(t==="object"||t==="function")}},10973:function(T){var p=Object.prototype.toString;T.exports=function(t){var d;return p.call(t)==="[object Object]"&&((d=Object.getPrototypeOf(t))===null||d===Object.getPrototypeOf({}))}},18546:function(T){T.exports=function(p){for(var t,d=p.length,g=0;g13)&&t!==32&&t!==133&&t!==160&&t!==5760&&t!==6158&&(t<8192||t>8205)&&t!==8232&&t!==8233&&t!==8239&&t!==8287&&t!==8288&&t!==12288&&t!==65279)return!1;return!0}},89546:function(T){T.exports=function(p){return typeof p=="string"&&(p=p.trim(),!!(/^[mzlhvcsqta]\s*[-+.0-9][^mlhvzcsqta]+/i.test(p)&&/[\dz]$/i.test(p)&&p.length>4))}},9187:function(T,p,t){var d=t(31353),g=t(72077),i=t(6614),M=i("Object.prototype.toString"),v=t(84543)(),f=t(40383),l=typeof globalThis>"u"?t.g:globalThis,a=g(),u=i("Array.prototype.indexOf",!0)||function(h,m){for(var w=0;w-1}return!!f&&function(w){var y=!1;return d(s,function(S,_){if(!y)try{y=S.call(w)===_}catch{}}),y}(h)}},44517:function(T){T.exports=function(){var p,t,d;function g(i,M){if(p)if(t){var v="var sharedChunk = {}; ("+p+")(sharedChunk); ("+t+")(sharedChunk);",f={};p(f),(d=M(f)).workerUrl=window.URL.createObjectURL(new Blob([v],{type:"text/javascript"}))}else t=M;else p=M}return g(0,function(i){function M(P,V){return P(V={exports:{}},V.exports),V.exports}var v="1.10.1",f=l;function l(P,V,J,he){this.cx=3*P,this.bx=3*(J-P)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*V,this.by=3*(he-V)-this.cy,this.ay=1-this.cy-this.by,this.p1x=P,this.p1y=he,this.p2x=J,this.p2y=he}l.prototype.sampleCurveX=function(P){return((this.ax*P+this.bx)*P+this.cx)*P},l.prototype.sampleCurveY=function(P){return((this.ay*P+this.by)*P+this.cy)*P},l.prototype.sampleCurveDerivativeX=function(P){return(3*this.ax*P+2*this.bx)*P+this.cx},l.prototype.solveCurveX=function(P,V){var J,he,Ae,Oe,Ge;for(V===void 0&&(V=1e-6),Ae=P,Ge=0;Ge<8;Ge++){if(Oe=this.sampleCurveX(Ae)-P,Math.abs(Oe)(he=1))return he;for(;JOe?J=Ae:he=Ae,Ae=.5*(he-J)+J}return Ae},l.prototype.solve=function(P,V){return this.sampleCurveY(this.solveCurveX(P,V))};var a=u;function u(P,V){this.x=P,this.y=V}function o(P,V,J,he){var Ae=new f(P,V,J,he);return function(Oe){return Ae.solve(Oe)}}u.prototype={clone:function(){return new u(this.x,this.y)},add:function(P){return this.clone()._add(P)},sub:function(P){return this.clone()._sub(P)},multByPoint:function(P){return this.clone()._multByPoint(P)},divByPoint:function(P){return this.clone()._divByPoint(P)},mult:function(P){return this.clone()._mult(P)},div:function(P){return this.clone()._div(P)},rotate:function(P){return this.clone()._rotate(P)},rotateAround:function(P,V){return this.clone()._rotateAround(P,V)},matMult:function(P){return this.clone()._matMult(P)},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(P){return this.x===P.x&&this.y===P.y},dist:function(P){return Math.sqrt(this.distSqr(P))},distSqr:function(P){var V=P.x-this.x,J=P.y-this.y;return V*V+J*J},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(P){return Math.atan2(this.y-P.y,this.x-P.x)},angleWith:function(P){return this.angleWithSep(P.x,P.y)},angleWithSep:function(P,V){return Math.atan2(this.x*V-this.y*P,this.x*P+this.y*V)},_matMult:function(P){var V=P[0]*this.x+P[1]*this.y,J=P[2]*this.x+P[3]*this.y;return this.x=V,this.y=J,this},_add:function(P){return this.x+=P.x,this.y+=P.y,this},_sub:function(P){return this.x-=P.x,this.y-=P.y,this},_mult:function(P){return this.x*=P,this.y*=P,this},_div:function(P){return this.x/=P,this.y/=P,this},_multByPoint:function(P){return this.x*=P.x,this.y*=P.y,this},_divByPoint:function(P){return this.x/=P.x,this.y/=P.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var P=this.y;return this.y=this.x,this.x=-P,this},_rotate:function(P){var V=Math.cos(P),J=Math.sin(P),he=V*this.x-J*this.y,Ae=J*this.x+V*this.y;return this.x=he,this.y=Ae,this},_rotateAround:function(P,V){var J=Math.cos(P),he=Math.sin(P),Ae=V.x+J*(this.x-V.x)-he*(this.y-V.y),Oe=V.y+he*(this.x-V.x)+J*(this.y-V.y);return this.x=Ae,this.y=Oe,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},u.convert=function(P){return P instanceof u?P:Array.isArray(P)?new u(P[0],P[1]):P};var s=o(.25,.1,.25,1);function c(P,V,J){return Math.min(J,Math.max(V,P))}function h(P,V,J){var he=J-V,Ae=((P-V)%he+he)%he+V;return Ae===V?J:Ae}function m(P){for(var V=[],J=arguments.length-1;J-- >0;)V[J]=arguments[J+1];for(var he=0,Ae=V;he>V/4).toString(16):([1e7]+-[1e3]+-4e3+-8e3+-1e11).replace(/[018]/g,P)}()}function _(P){return!!P&&/^[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(P)}function k(P,V){P.forEach(function(J){V[J]&&(V[J]=V[J].bind(V))})}function E(P,V){return P.indexOf(V,P.length-V.length)!==-1}function x(P,V,J){var he={};for(var Ae in P)he[Ae]=V.call(J||this,P[Ae],Ae,P);return he}function A(P,V,J){var he={};for(var Ae in P)V.call(J||this,P[Ae],Ae,P)&&(he[Ae]=P[Ae]);return he}function L(P){return Array.isArray(P)?P.map(L):typeof P=="object"&&P?x(P,L):P}var b={};function R(P){b[P]||(typeof console<"u"&&console.warn(P),b[P]=!0)}function I(P,V,J){return(J.y-P.y)*(V.x-P.x)>(V.y-P.y)*(J.x-P.x)}function O(P){for(var V=0,J=0,he=P.length,Ae=he-1,Oe=void 0,Ge=void 0;J@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g,function(he,Ae,Oe,Ge){var it=Oe||Ge;return V[Ae]=!it||it.toLowerCase(),""}),V["max-age"]){var J=parseInt(V["max-age"],10);isNaN(J)?delete V["max-age"]:V["max-age"]=J}return V}var B=null;function N(P){if(B==null){var V=P.navigator?P.navigator.userAgent:null;B=!!P.safari||!(!V||!(/\b(iPad|iPhone|iPod)\b/.test(V)||V.match("Safari")&&!V.match("Chrome")))}return B}function W(P){try{var V=self[P];return V.setItem("_mapbox_test_",1),V.removeItem("_mapbox_test_"),!0}catch{return!1}}var j,$,U,G,q=self.performance&&self.performance.now?self.performance.now.bind(self.performance):Date.now.bind(Date),H=self.requestAnimationFrame||self.mozRequestAnimationFrame||self.webkitRequestAnimationFrame||self.msRequestAnimationFrame,ne=self.cancelAnimationFrame||self.mozCancelAnimationFrame||self.webkitCancelAnimationFrame||self.msCancelAnimationFrame,te={now:q,frame:function(P){var V=H(P);return{cancel:function(){return ne(V)}}},getImageData:function(P,V){V===void 0&&(V=0);var J=self.document.createElement("canvas"),he=J.getContext("2d");if(!he)throw new Error("failed to create canvas 2d context");return J.width=P.width,J.height=P.height,he.drawImage(P,0,0,P.width,P.height),he.getImageData(-V,-V,P.width+2*V,P.height+2*V)},resolveURL:function(P){return j||(j=self.document.createElement("a")),j.href=P,j.href},hardwareConcurrency:self.navigator.hardwareConcurrency||4,get devicePixelRatio(){return self.devicePixelRatio},get prefersReducedMotion(){return!!self.matchMedia&&($==null&&($=self.matchMedia("(prefers-reduced-motion: reduce)")),$.matches)}},Z={API_URL:"https://api.mapbox.com",get EVENTS_URL(){return this.API_URL?this.API_URL.indexOf("https://api.mapbox.cn")===0?"https://events.mapbox.cn/events/v2":this.API_URL.indexOf("https://api.mapbox.com")===0?"https://events.mapbox.com/events/v2":null:null},FEEDBACK_URL:"https://apps.mapbox.com/feedback",REQUIRE_ACCESS_TOKEN:!0,ACCESS_TOKEN:null,MAX_PARALLEL_IMAGE_REQUESTS:16},X={supported:!1,testSupport:function(P){!Q&&G&&(re?ie(P):U=P)}},Q=!1,re=!1;function ie(P){var V=P.createTexture();P.bindTexture(P.TEXTURE_2D,V);try{if(P.texImage2D(P.TEXTURE_2D,0,P.RGBA,P.RGBA,P.UNSIGNED_BYTE,G),P.isContextLost())return;X.supported=!0}catch{}P.deleteTexture(V),Q=!0}self.document&&((G=self.document.createElement("img")).onload=function(){U&&ie(U),U=null,re=!0},G.onerror=function(){Q=!0,U=null},G.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA=");var oe="01",ue=function(P,V){this._transformRequestFn=P,this._customAccessToken=V,this._createSkuToken()};function ce(P){return P.indexOf("mapbox:")===0}ue.prototype._createSkuToken=function(){var P=function(){for(var V="",J=0;J<10;J++)V+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[Math.floor(62*Math.random())];return{token:["1",oe,V].join(""),tokenExpiresAt:Date.now()+432e5}}();this._skuToken=P.token,this._skuTokenExpiresAt=P.tokenExpiresAt},ue.prototype._isSkuTokenExpired=function(){return Date.now()>this._skuTokenExpiresAt},ue.prototype.transformRequest=function(P,V){return this._transformRequestFn&&this._transformRequestFn(P,V)||{url:P}},ue.prototype.normalizeStyleURL=function(P,V){if(!ce(P))return P;var J=pe(P);return J.path="/styles/v1"+J.path,this._makeAPIURL(J,this._customAccessToken||V)},ue.prototype.normalizeGlyphsURL=function(P,V){if(!ce(P))return P;var J=pe(P);return J.path="/fonts/v1"+J.path,this._makeAPIURL(J,this._customAccessToken||V)},ue.prototype.normalizeSourceURL=function(P,V){if(!ce(P))return P;var J=pe(P);return J.path="/v4/"+J.authority+".json",J.params.push("secure"),this._makeAPIURL(J,this._customAccessToken||V)},ue.prototype.normalizeSpriteURL=function(P,V,J,he){var Ae=pe(P);return ce(P)?(Ae.path="/styles/v1"+Ae.path+"/sprite"+V+J,this._makeAPIURL(Ae,this._customAccessToken||he)):(Ae.path+=""+V+J,xe(Ae))},ue.prototype.normalizeTileURL=function(P,V){if(this._isSkuTokenExpired()&&this._createSkuToken(),P&&!ce(P))return P;var J=pe(P),he=te.devicePixelRatio>=2||V===512?"@2x":"",Ae=X.supported?".webp":"$1";J.path=J.path.replace(/(\.(png|jpg)\d*)(?=$)/,""+he+Ae),J.path=J.path.replace(/^.+\/v4\//,"/"),J.path="/v4"+J.path;var Oe=this._customAccessToken||function(Ge){for(var it=0,pt=Ge;it=1&&self.localStorage.setItem(V,JSON.stringify(this.eventData))}catch{R("Unable to write to LocalStorage")}},Me.prototype.processRequests=function(P){},Me.prototype.postEvent=function(P,V,J,he){var Ae=this;if(Z.EVENTS_URL){var Oe=pe(Z.EVENTS_URL);Oe.params.push("access_token="+(he||Z.ACCESS_TOKEN||""));var Ge={event:this.type,created:new Date(P).toISOString(),sdkIdentifier:"mapbox-gl-js",sdkVersion:v,skuId:oe,userId:this.anonId},it=V?m(Ge,V):Ge,pt={url:xe(Oe),headers:{"Content-Type":"text/plain"},body:JSON.stringify([it])};this.pendingRequest=Ot(pt,function(Ct){Ae.pendingRequest=null,J(Ct),Ae.saveEventData(),Ae.processRequests(he)})}},Me.prototype.queueRequest=function(P,V){this.queue.push(P),this.processRequests(V)};var Se,Ce,ae=function(P){function V(){P.call(this,"map.load"),this.success={},this.skuToken=""}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.postMapLoadEvent=function(J,he,Ae,Oe){this.skuToken=Ae,(Z.EVENTS_URL&&Oe||Z.ACCESS_TOKEN&&Array.isArray(J)&&J.some(function(Ge){return ce(Ge)||de(Ge)}))&&this.queueRequest({id:he,timestamp:Date.now()},Oe)},V.prototype.processRequests=function(J){var he=this;if(!this.pendingRequest&&this.queue.length!==0){var Ae=this.queue.shift(),Oe=Ae.id,Ge=Ae.timestamp;Oe&&this.success[Oe]||(this.anonId||this.fetchEventData(),_(this.anonId)||(this.anonId=S()),this.postEvent(Ge,{skuToken:this.skuToken},function(it){it||Oe&&(he.success[Oe]=!0)},J))}},V}(Me),fe=function(P){function V(J){P.call(this,"appUserTurnstile"),this._customAccessToken=J}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.postTurnstileEvent=function(J,he){Z.EVENTS_URL&&Z.ACCESS_TOKEN&&Array.isArray(J)&&J.some(function(Ae){return ce(Ae)||de(Ae)})&&this.queueRequest(Date.now(),he)},V.prototype.processRequests=function(J){var he=this;if(!this.pendingRequest&&this.queue.length!==0){this.anonId&&this.eventData.lastSuccess&&this.eventData.tokenU||this.fetchEventData();var Ae=_e(Z.ACCESS_TOKEN),Oe=Ae?Ae.u:Z.ACCESS_TOKEN,Ge=Oe!==this.eventData.tokenU;_(this.anonId)||(this.anonId=S(),Ge=!0);var it=this.queue.shift();if(this.eventData.lastSuccess){var pt=new Date(this.eventData.lastSuccess),Ct=new Date(it),Dt=(it-this.eventData.lastSuccess)/864e5;Ge=Ge||Dt>=1||Dt<-1||pt.getDate()!==Ct.getDate()}else Ge=!0;if(!Ge)return this.processRequests();this.postEvent(it,{"enabled.telemetry":!1},function(Gt){Gt||(he.eventData.lastSuccess=it,he.eventData.tokenU=Oe)},J)}},V}(Me),be=new fe,ke=be.postTurnstileEvent.bind(be),Le=new ae,Be=Le.postMapLoadEvent.bind(Le),ze="mapbox-tiles",je=500,ge=50;function we(){self.caches&&!Se&&(Se=self.caches.open(ze))}function Ee(P,V,J){if(we(),Se){var he={status:V.status,statusText:V.statusText,headers:new self.Headers};V.headers.forEach(function(Oe,Ge){return he.headers.set(Ge,Oe)});var Ae=F(V.headers.get("Cache-Control")||"");Ae["no-store"]||(Ae["max-age"]&&he.headers.set("Expires",new Date(J+1e3*Ae["max-age"]).toUTCString()),new Date(he.headers.get("Expires")).getTime()-J<42e4||function(Oe,Ge){if(Ce===void 0)try{new Response(new ReadableStream),Ce=!0}catch{Ce=!1}Ce?Ge(Oe.body):Oe.blob().then(Ge)}(V,function(Oe){var Ge=new self.Response(Oe,he);we(),Se&&Se.then(function(it){return it.put(Ve(P.url),Ge)}).catch(function(it){return R(it.message)})}))}}function Ve(P){var V=P.indexOf("?");return V<0?P:P.slice(0,V)}function $e(P,V){if(we(),!Se)return V(null);var J=Ve(P.url);Se.then(function(he){he.match(J).then(function(Ae){var Oe=function(Ge){if(!Ge)return!1;var it=new Date(Ge.headers.get("Expires")||0),pt=F(Ge.headers.get("Cache-Control")||"");return it>Date.now()&&!pt["no-cache"]}(Ae);he.delete(J),Oe&&he.put(J,Ae.clone()),V(null,Ae,Oe)}).catch(V)}).catch(V)}var Ye,st=1/0;function ot(){return Ye==null&&(Ye=self.OffscreenCanvas&&new self.OffscreenCanvas(1,1).getContext("2d")&&typeof self.createImageBitmap=="function"),Ye}var ht={Unknown:"Unknown",Style:"Style",Source:"Source",Tile:"Tile",Glyphs:"Glyphs",SpriteImage:"SpriteImage",SpriteJSON:"SpriteJSON",Image:"Image"};typeof Object.freeze=="function"&&Object.freeze(ht);var bt=function(P){function V(J,he,Ae){he===401&&de(Ae)&&(J+=": you may have provided an invalid Mapbox access token. See https://www.mapbox.com/api-documentation/#access-tokens-and-token-scopes"),P.call(this,J),this.status=he,this.url=Ae,this.name=this.constructor.name,this.message=J}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.toString=function(){return this.name+": "+this.message+" ("+this.status+"): "+this.url},V}(Error),Et=z()?function(){return self.worker&&self.worker.referrer}:function(){return(self.location.protocol==="blob:"?self.parent:self).location.href};function kt(P,V){var J,he=new self.AbortController,Ae=new self.Request(P.url,{method:P.method||"GET",body:P.body,credentials:P.credentials,headers:P.headers,referrer:Et(),signal:he.signal}),Oe=!1,Ge=!1,it=(J=Ae.url).indexOf("sku=")>0&&de(J);P.type==="json"&&Ae.headers.set("Accept","application/json");var pt=function(Dt,Gt,Zt){if(!Ge){if(Dt&&Dt.message!=="SecurityError"&&R(Dt),Gt&&Zt)return Ct(Gt);var $t=Date.now();self.fetch(Ae).then(function(fn){if(fn.ok){var Mn=it?fn.clone():null;return Ct(fn,Mn,$t)}return V(new bt(fn.statusText,fn.status,P.url))}).catch(function(fn){fn.code!==20&&V(new Error(fn.message))})}},Ct=function(Dt,Gt,Zt){(P.type==="arrayBuffer"?Dt.arrayBuffer():P.type==="json"?Dt.json():Dt.text()).then(function($t){Ge||(Gt&&Zt&&Ee(Ae,Gt,Zt),Oe=!0,V(null,$t,Dt.headers.get("Cache-Control"),Dt.headers.get("Expires")))}).catch(function($t){Ge||V(new Error($t.message))})};return it?$e(Ae,pt):pt(null,null),{cancel:function(){Ge=!0,Oe||he.abort()}}}var xt=function(P,V){if(J=P.url,!(/^file:/.test(J)||/^file:/.test(Et())&&!/^\w+:/.test(J))){if(self.fetch&&self.Request&&self.AbortController&&self.Request.prototype.hasOwnProperty("signal"))return kt(P,V);if(z()&&self.worker&&self.worker.actor)return self.worker.actor.send("getResource",P,V,void 0,!0)}var J;return function(he,Ae){var Oe=new self.XMLHttpRequest;for(var Ge in Oe.open(he.method||"GET",he.url,!0),he.type==="arrayBuffer"&&(Oe.responseType="arraybuffer"),he.headers)Oe.setRequestHeader(Ge,he.headers[Ge]);return he.type==="json"&&(Oe.responseType="text",Oe.setRequestHeader("Accept","application/json")),Oe.withCredentials=he.credentials==="include",Oe.onerror=function(){Ae(new Error(Oe.statusText))},Oe.onload=function(){if((Oe.status>=200&&Oe.status<300||Oe.status===0)&&Oe.response!==null){var it=Oe.response;if(he.type==="json")try{it=JSON.parse(Oe.response)}catch(pt){return Ae(pt)}Ae(null,it,Oe.getResponseHeader("Cache-Control"),Oe.getResponseHeader("Expires"))}else Ae(new bt(Oe.statusText,Oe.status,he.url))},Oe.send(he.body),{cancel:function(){return Oe.abort()}}}(P,V)},Ft=function(P,V){return xt(m(P,{type:"arrayBuffer"}),V)},Ot=function(P,V){return xt(m(P,{method:"POST"}),V)},Bt,qt;Bt=[],qt=0;var Vt=function(P,V){if(X.supported&&(P.headers||(P.headers={}),P.headers.accept="image/webp,*/*"),qt>=Z.MAX_PARALLEL_IMAGE_REQUESTS){var J={requestParameters:P,callback:V,cancelled:!1,cancel:function(){this.cancelled=!0}};return Bt.push(J),J}qt++;var he=!1,Ae=function(){if(!he)for(he=!0,qt--;Bt.length&&qt0||this._oneTimeListeners&&this._oneTimeListeners[P]&&this._oneTimeListeners[P].length>0||this._eventedParent&&this._eventedParent.listens(P)},ft.prototype.setEventedParent=function(P,V){return this._eventedParent=P,this._eventedParentData=V,this};var Re={$version:8,$root:{version:{required:!0,type:"enum",values:[8]},name:{type:"string"},metadata:{type:"*"},center:{type:"array",value:"number"},zoom:{type:"number"},bearing:{type:"number",default:0,period:360,units:"degrees"},pitch:{type:"number",default:0,units:"degrees"},light:{type:"light"},sources:{required:!0,type:"sources"},sprite:{type:"string"},glyphs:{type:"string"},transition:{type:"transition"},layers:{required:!0,type:"array",value:"layer"}},sources:{"*":{type:"source"}},source:["source_vector","source_raster","source_raster_dem","source_geojson","source_video","source_image"],source_vector:{type:{required:!0,type:"enum",values:{vector:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},attribution:{type:"string"},promoteId:{type:"promoteId"},"*":{type:"*"}},source_raster:{type:{required:!0,type:"enum",values:{raster:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},attribution:{type:"string"},"*":{type:"*"}},source_raster_dem:{type:{required:!0,type:"enum",values:{"raster-dem":{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},attribution:{type:"string"},encoding:{type:"enum",values:{terrarium:{},mapbox:{}},default:"mapbox"},"*":{type:"*"}},source_geojson:{type:{required:!0,type:"enum",values:{geojson:{}}},data:{type:"*"},maxzoom:{type:"number",default:18},attribution:{type:"string"},buffer:{type:"number",default:128,maximum:512,minimum:0},tolerance:{type:"number",default:.375},cluster:{type:"boolean",default:!1},clusterRadius:{type:"number",default:50,minimum:0},clusterMaxZoom:{type:"number"},clusterProperties:{type:"*"},lineMetrics:{type:"boolean",default:!1},generateId:{type:"boolean",default:!1},promoteId:{type:"promoteId"}},source_video:{type:{required:!0,type:"enum",values:{video:{}}},urls:{required:!0,type:"array",value:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},source_image:{type:{required:!0,type:"enum",values:{image:{}}},url:{required:!0,type:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},layer:{id:{type:"string",required:!0},type:{type:"enum",values:{fill:{},line:{},symbol:{},circle:{},heatmap:{},"fill-extrusion":{},raster:{},hillshade:{},background:{}},required:!0},metadata:{type:"*"},source:{type:"string"},"source-layer":{type:"string"},minzoom:{type:"number",minimum:0,maximum:24},maxzoom:{type:"number",minimum:0,maximum:24},filter:{type:"filter"},layout:{type:"layout"},paint:{type:"paint"}},layout:["layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_hillshade","layout_background"],layout_background:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_fill:{"fill-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_circle:{"circle-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_heatmap:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},"layout_fill-extrusion":{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_line:{"line-cap":{type:"enum",values:{butt:{},round:{},square:{}},default:"butt",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-join":{type:"enum",values:{bevel:{},round:{},miter:{}},default:"miter",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{type:"number",default:2,requires:[{"line-join":"miter"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-round-limit":{type:"number",default:1.05,requires:[{"line-join":"round"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_symbol:{"symbol-placement":{type:"enum",values:{point:{},line:{},"line-center":{}},default:"point",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-spacing":{type:"number",default:250,minimum:1,units:"pixels",requires:[{"symbol-placement":"line"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{type:"boolean",default:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"symbol-z-order":{type:"enum",values:{auto:{},"viewport-y":{},source:{}},default:"auto",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-optional":{type:"boolean",default:!1,requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-size":{type:"number",default:1,minimum:0,units:"factor of the original icon size",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit":{type:"enum",values:{none:{},width:{},height:{},both:{}},default:"none",requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-text-fit-padding":{type:"array",value:"number",length:4,default:[0,0,0,0],units:"pixels",requires:["icon-image","text-field",{"icon-text-fit":["both","width","height"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-image":{type:"resolvedImage",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-keep-upright":{type:"boolean",default:!1,requires:["icon-image",{"icon-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-offset":{type:"array",value:"number",length:2,default:[0,0],requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-field":{type:"formatted",default:"",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-font":{type:"array",value:"string",default:["Open Sans Regular","Arial Unicode MS Regular"],requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-size":{type:"number",default:16,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-width":{type:"number",default:10,minimum:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{type:"number",default:1.2,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-letter-spacing":{type:"number",default:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-justify":{type:"enum",values:{auto:{},left:{},center:{},right:{}},default:"center",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-radial-offset":{type:"number",units:"ems",default:0,requires:["text-field"],"property-type":"data-driven",expression:{interpolated:!0,parameters:["zoom","feature"]}},"text-variable-anchor":{type:"array",value:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["text-field",{"!":"text-variable-anchor"}],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{type:"number",default:45,units:"degrees",requires:["text-field",{"symbol-placement":["line","line-center"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-writing-mode":{type:"array",value:"enum",values:{horizontal:{},vertical:{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-keep-upright":{type:"boolean",default:!0,requires:["text-field",{"text-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-transform":{type:"enum",values:{none:{},uppercase:{},lowercase:{}},default:"none",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-offset":{type:"array",value:"number",units:"ems",length:2,default:[0,0],requires:["text-field",{"!":"text-radial-offset"}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-optional":{type:"boolean",default:!1,requires:["text-field","icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_raster:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_hillshade:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},filter:{type:"array",value:"*"},filter_operator:{type:"enum",values:{"==":{},"!=":{},">":{},">=":{},"<":{},"<=":{},in:{},"!in":{},all:{},any:{},none:{},has:{},"!has":{},within:{}}},geometry_type:{type:"enum",values:{Point:{},LineString:{},Polygon:{}}},function:{expression:{type:"expression"},stops:{type:"array",value:"function_stop"},base:{type:"number",default:1,minimum:0},property:{type:"string",default:"$zoom"},type:{type:"enum",values:{identity:{},exponential:{},interval:{},categorical:{}},default:"exponential"},colorSpace:{type:"enum",values:{rgb:{},lab:{},hcl:{}},default:"rgb"},default:{type:"*",required:!1}},function_stop:{type:"array",minimum:0,maximum:24,value:["number","color"],length:2},expression:{type:"array",value:"*",minimum:1},expression_name:{type:"enum",values:{let:{group:"Variable binding"},var:{group:"Variable binding"},literal:{group:"Types"},array:{group:"Types"},at:{group:"Lookup"},in:{group:"Lookup"},"index-of":{group:"Lookup"},slice:{group:"Lookup"},case:{group:"Decision"},match:{group:"Decision"},coalesce:{group:"Decision"},step:{group:"Ramps, scales, curves"},interpolate:{group:"Ramps, scales, curves"},"interpolate-hcl":{group:"Ramps, scales, curves"},"interpolate-lab":{group:"Ramps, scales, curves"},ln2:{group:"Math"},pi:{group:"Math"},e:{group:"Math"},typeof:{group:"Types"},string:{group:"Types"},number:{group:"Types"},boolean:{group:"Types"},object:{group:"Types"},collator:{group:"Types"},format:{group:"Types"},image:{group:"Types"},"number-format":{group:"Types"},"to-string":{group:"Types"},"to-number":{group:"Types"},"to-boolean":{group:"Types"},"to-rgba":{group:"Color"},"to-color":{group:"Types"},rgb:{group:"Color"},rgba:{group:"Color"},get:{group:"Lookup"},has:{group:"Lookup"},length:{group:"Lookup"},properties:{group:"Feature data"},"feature-state":{group:"Feature data"},"geometry-type":{group:"Feature data"},id:{group:"Feature data"},zoom:{group:"Zoom"},"heatmap-density":{group:"Heatmap"},"line-progress":{group:"Feature data"},accumulated:{group:"Feature data"},"+":{group:"Math"},"*":{group:"Math"},"-":{group:"Math"},"/":{group:"Math"},"%":{group:"Math"},"^":{group:"Math"},sqrt:{group:"Math"},log10:{group:"Math"},ln:{group:"Math"},log2:{group:"Math"},sin:{group:"Math"},cos:{group:"Math"},tan:{group:"Math"},asin:{group:"Math"},acos:{group:"Math"},atan:{group:"Math"},min:{group:"Math"},max:{group:"Math"},round:{group:"Math"},abs:{group:"Math"},ceil:{group:"Math"},floor:{group:"Math"},distance:{group:"Math"},"==":{group:"Decision"},"!=":{group:"Decision"},">":{group:"Decision"},"<":{group:"Decision"},">=":{group:"Decision"},"<=":{group:"Decision"},all:{group:"Decision"},any:{group:"Decision"},"!":{group:"Decision"},within:{group:"Decision"},"is-supported-script":{group:"String"},upcase:{group:"String"},downcase:{group:"String"},concat:{group:"String"},"resolved-locale":{group:"String"}}},light:{anchor:{type:"enum",default:"viewport",values:{map:{},viewport:{}},"property-type":"data-constant",transition:!1,expression:{interpolated:!1,parameters:["zoom"]}},position:{type:"array",default:[1.15,210,30],length:3,value:"number","property-type":"data-constant",transition:!0,expression:{interpolated:!0,parameters:["zoom"]}},color:{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},intensity:{type:"number","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0}},paint:["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_background"],paint_fill:{"fill-antialias":{type:"boolean",default:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-outline-color":{type:"color",transition:!0,requires:[{"!":"fill-pattern"},{"fill-antialias":!0}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"}},"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-extrusion-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",transition:!0,requires:["fill-extrusion-height"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,transition:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_line:{"line-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"line-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["line-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-width":{type:"number",default:1,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-gap-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-offset":{type:"number",default:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-dasharray":{type:"array",value:"number",minimum:0,transition:!0,units:"line widths",requires:[{"!":"line-pattern"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"line-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"line-gradient":{type:"color",transition:!1,requires:[{"!":"line-dasharray"},{"!":"line-pattern"},{source:"geojson",has:{lineMetrics:!0}}],expression:{interpolated:!0,parameters:["line-progress"]},"property-type":"color-ramp"}},paint_circle:{"circle-radius":{type:"number",default:5,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-blur":{type:"number",default:0,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["circle-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{type:"enum",values:{map:{},viewport:{}},default:"map",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"}},paint_heatmap:{"heatmap-radius":{type:"number",default:30,minimum:1,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-weight":{type:"number",default:1,minimum:0,transition:!1,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-intensity":{type:"number",default:1,minimum:0,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"heatmap-color":{type:"color",default:["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",.1,"royalblue",.3,"cyan",.5,"lime",.7,"yellow",1,"red"],transition:!1,expression:{interpolated:!0,parameters:["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_symbol:{"icon-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-color":{type:"color",default:"#000000",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["icon-image","icon-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-color":{type:"color",default:"#000000",transition:!0,overridable:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["text-field","text-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_raster:{"raster-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-hue-rotate":{type:"number",default:0,period:360,transition:!0,units:"degrees",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{type:"number",default:0,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-saturation":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-contrast":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-resampling":{type:"enum",values:{linear:{},nearest:{}},default:"linear",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"raster-fade-duration":{type:"number",default:300,minimum:0,transition:!1,units:"milliseconds",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_hillshade:{"hillshade-illumination-direction":{type:"number",default:335,minimum:0,maximum:359,transition:!1,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-illumination-anchor":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-exaggeration":{type:"number",default:.5,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-highlight-color":{type:"color",default:"#FFFFFF",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-accent-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_background:{"background-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"background-pattern"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"background-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"background-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},transition:{duration:{type:"number",default:300,minimum:0,units:"milliseconds"},delay:{type:"number",default:0,minimum:0,units:"milliseconds"}},"property-type":{"data-driven":{type:"property-type"},"cross-faded":{type:"property-type"},"cross-faded-data-driven":{type:"property-type"},"color-ramp":{type:"property-type"},"data-constant":{type:"property-type"},constant:{type:"property-type"}},promoteId:{"*":{type:"string"}}},Ne=function(P,V,J,he){this.message=(P?P+": ":"")+J,he&&(this.identifier=he),V!=null&&V.__line__&&(this.line=V.__line__)};function Qe(P){var V=P.key,J=P.value;return J?[new Ne(V,J,"constants have been deprecated as of v8")]:[]}function ut(P){for(var V=[],J=arguments.length-1;J-- >0;)V[J]=arguments[J+1];for(var he=0,Ae=V;he":P.itemType.kind==="value"?"array":"array<"+V+">"}return P.kind}var An=[yt,Pt,wt,Rt,Nt,Qt,Yt,xn(Wt),rn];function Yn(P,V){if(V.kind==="error")return null;if(P.kind==="array"){if(V.kind==="array"&&(V.N===0&&V.itemType.kind==="value"||!Yn(P.itemType,V.itemType))&&(typeof P.N!="number"||P.N===V.N))return null}else{if(P.kind===V.kind)return null;if(P.kind==="value"){for(var J=0,he=An;J255?255:pt}function Ae(pt){return pt<0?0:pt>1?1:pt}function Oe(pt){return pt[pt.length-1]==="%"?he(parseFloat(pt)/100*255):he(parseInt(pt))}function Ge(pt){return pt[pt.length-1]==="%"?Ae(parseFloat(pt)/100):Ae(parseFloat(pt))}function it(pt,Ct,Dt){return Dt<0?Dt+=1:Dt>1&&(Dt-=1),6*Dt<1?pt+(Ct-pt)*Dt*6:2*Dt<1?Ct:3*Dt<2?pt+(Ct-pt)*(2/3-Dt)*6:pt}try{V.parseCSSColor=function(pt){var Ct,Dt=pt.replace(/ /g,"").toLowerCase();if(Dt in J)return J[Dt].slice();if(Dt[0]==="#")return Dt.length===4?(Ct=parseInt(Dt.substr(1),16))>=0&&Ct<=4095?[(3840&Ct)>>4|(3840&Ct)>>8,240&Ct|(240&Ct)>>4,15&Ct|(15&Ct)<<4,1]:null:Dt.length===7&&(Ct=parseInt(Dt.substr(1),16))>=0&&Ct<=16777215?[(16711680&Ct)>>16,(65280&Ct)>>8,255&Ct,1]:null;var Gt=Dt.indexOf("("),Zt=Dt.indexOf(")");if(Gt!==-1&&Zt+1===Dt.length){var $t=Dt.substr(0,Gt),fn=Dt.substr(Gt+1,Zt-(Gt+1)).split(","),Mn=1;switch($t){case"rgba":if(fn.length!==4)return null;Mn=Ge(fn.pop());case"rgb":return fn.length!==3?null:[Oe(fn[0]),Oe(fn[1]),Oe(fn[2]),Mn];case"hsla":if(fn.length!==4)return null;Mn=Ge(fn.pop());case"hsl":if(fn.length!==3)return null;var Nn=(parseFloat(fn[0])%360+360)%360/360,Bn=Ge(fn[1]),Wn=Ge(fn[2]),Zn=Wn<=.5?Wn*(Bn+1):Wn+Bn-Wn*Bn,er=2*Wn-Zn;return[he(255*it(er,Zn,Nn+1/3)),he(255*it(er,Zn,Nn)),he(255*it(er,Zn,Nn-1/3)),Mn];default:return null}}return null}}catch{}}),dn=Tn.parseCSSColor,pn=function(P,V,J,he){he===void 0&&(he=1),this.r=P,this.g=V,this.b=J,this.a=he};pn.parse=function(P){if(P){if(P instanceof pn)return P;if(typeof P=="string"){var V=dn(P);if(V)return new pn(V[0]/255*V[3],V[1]/255*V[3],V[2]/255*V[3],V[3])}}},pn.prototype.toString=function(){var P=this.toArray(),V=P[0],J=P[1],he=P[2],Ae=P[3];return"rgba("+Math.round(V)+","+Math.round(J)+","+Math.round(he)+","+Ae+")"},pn.prototype.toArray=function(){var P=this,V=P.r,J=P.g,he=P.b,Ae=P.a;return Ae===0?[0,0,0,0]:[255*V/Ae,255*J/Ae,255*he/Ae,Ae]},pn.black=new pn(0,0,0,1),pn.white=new pn(1,1,1,1),pn.transparent=new pn(0,0,0,0),pn.red=new pn(1,0,0,1);var Dn=function(P,V,J){this.sensitivity=P?V?"variant":"case":V?"accent":"base",this.locale=J,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"})};Dn.prototype.compare=function(P,V){return this.collator.compare(P,V)},Dn.prototype.resolvedLocale=function(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale};var In=function(P,V,J,he,Ae){this.text=P,this.image=V,this.scale=J,this.fontStack=he,this.textColor=Ae},jn=function(P){this.sections=P};jn.fromString=function(P){return new jn([new In(P,null,null,null,null)])},jn.prototype.isEmpty=function(){return this.sections.length===0||!this.sections.some(function(P){return P.text.length!==0||P.image&&P.image.name.length!==0})},jn.factory=function(P){return P instanceof jn?P:jn.fromString(P)},jn.prototype.toString=function(){return this.sections.length===0?"":this.sections.map(function(P){return P.text}).join("")},jn.prototype.serialize=function(){for(var P=["format"],V=0,J=this.sections;V=0&&P<=255&&typeof V=="number"&&V>=0&&V<=255&&typeof J=="number"&&J>=0&&J<=255?he===void 0||typeof he=="number"&&he>=0&&he<=1?null:"Invalid rgba value ["+[P,V,J,he].join(", ")+"]: 'a' must be between 0 and 1.":"Invalid rgba value ["+(typeof he=="number"?[P,V,J,he]:[P,V,J]).join(", ")+"]: 'r', 'g', and 'b' must be between 0 and 255."}function lr(P){if(P===null||typeof P=="string"||typeof P=="boolean"||typeof P=="number"||P instanceof pn||P instanceof Dn||P instanceof jn||P instanceof Gn)return!0;if(Array.isArray(P)){for(var V=0,J=P;V2){var it=P[1];if(typeof it!="string"||!(it in vr)||it==="object")return V.error('The item type argument of "array" must be one of string, number, boolean',1);Oe=vr[it],he++}else Oe=Wt;if(P.length>3){if(P[2]!==null&&(typeof P[2]!="number"||P[2]<0||P[2]!==Math.floor(P[2])))return V.error('The length argument to "array" must be a positive integer literal',2);Ge=P[2],he++}J=xn(Oe,Ge)}else J=vr[Ae];for(var pt=[];he1)&&V.push(he)}}return V.concat(this.args.map(function(Ae){return Ae.serialize()}))};var Kt=function(P){this.type=Qt,this.sections=P};Kt.parse=function(P,V){if(P.length<2)return V.error("Expected at least one argument.");var J=P[1];if(!Array.isArray(J)&&typeof J=="object")return V.error("First argument must be an image or text section.");for(var he=[],Ae=!1,Oe=1;Oe<=P.length-1;++Oe){var Ge=P[Oe];if(Ae&&typeof Ge=="object"&&!Array.isArray(Ge)){Ae=!1;var it=null;if(Ge["font-scale"]&&!(it=V.parse(Ge["font-scale"],1,Pt)))return null;var pt=null;if(Ge["text-font"]&&!(pt=V.parse(Ge["text-font"],1,xn(wt))))return null;var Ct=null;if(Ge["text-color"]&&!(Ct=V.parse(Ge["text-color"],1,Nt)))return null;var Dt=he[he.length-1];Dt.scale=it,Dt.font=pt,Dt.textColor=Ct}else{var Gt=V.parse(P[Oe],1,Wt);if(!Gt)return null;var Zt=Gt.type.kind;if(Zt!=="string"&&Zt!=="value"&&Zt!=="null"&&Zt!=="resolvedImage")return V.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");Ae=!0,he.push({content:Gt,scale:null,font:null,textColor:null})}}return new Kt(he)},Kt.prototype.evaluate=function(P){return new jn(this.sections.map(function(V){var J=V.content.evaluate(P);return rr(J)===rn?new In("",J,null,null,null):new In(Sr(J),null,V.scale?V.scale.evaluate(P):null,V.font?V.font.evaluate(P).join(","):null,V.textColor?V.textColor.evaluate(P):null)}))},Kt.prototype.eachChild=function(P){for(var V=0,J=this.sections;V-1),J},bn.prototype.eachChild=function(P){P(this.input)},bn.prototype.outputDefined=function(){return!1},bn.prototype.serialize=function(){return["image",this.input.serialize()]};var Rn={"to-boolean":Rt,"to-color":Nt,"to-number":Pt,"to-string":wt},Ln=function(P,V){this.type=P,this.args=V};Ln.parse=function(P,V){if(P.length<2)return V.error("Expected at least one argument.");var J=P[0];if((J==="to-boolean"||J==="to-string")&&P.length!==2)return V.error("Expected one argument.");for(var he=Rn[J],Ae=[],Oe=1;Oe4?"Invalid rbga value "+JSON.stringify(V)+": expected an array containing either three or four numeric values.":qn(V[0],V[1],V[2],V[3])))return new pn(V[0]/255,V[1]/255,V[2]/255,V[3])}throw new or(J||"Could not parse color from value '"+(typeof V=="string"?V:String(JSON.stringify(V)))+"'")}if(this.type.kind==="number"){for(var Ge=null,it=0,pt=this.args;it=V[2]||P[1]<=V[1]||P[3]>=V[3])}function jt(P,V){var J,he=(180+P[0])/360,Ae=(J=P[1],(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+J*Math.PI/360)))/360),Oe=Math.pow(2,V.z);return[Math.round(he*Oe*mr),Math.round(Ae*Oe*mr)]}function Jt(P,V,J){return V[1]>P[1]!=J[1]>P[1]&&P[0]<(J[0]-V[0])*(P[1]-V[1])/(J[1]-V[1])+V[0]}function hn(P,V){for(var J=!1,he=0,Ae=V.length;he0&&Gt<0||Dt<0&&Gt>0}function En(P,V,J){for(var he=0,Ae=J;heJ[2]){var Ae=.5*he,Oe=P[0]-J[0]>Ae?-he:J[0]-P[0]>Ae?he:0;Oe===0&&(Oe=P[0]-J[2]>Ae?-he:J[2]-P[0]>Ae?he:0),P[0]+=Oe}nn(V,P)}function Vn(P,V,J,he){for(var Ae=Math.pow(2,he.z)*mr,Oe=[he.x*mr,he.y*mr],Ge=[],it=0,pt=P;it=0)return!1;var J=!0;return P.eachChild(function(he){J&&!cr(he,V)&&(J=!1)}),J}nr.parse=function(P,V){if(P.length!==2)return V.error("'within' expression requires exactly one argument, but found "+(P.length-1)+" instead.");if(lr(P[1])){var J=P[1];if(J.type==="FeatureCollection")for(var he=0;heV))throw new or("Input is not a number.");Ge=it-1}return 0}dr.prototype.parse=function(P,V,J,he,Ae){return Ae===void 0&&(Ae={}),V?this.concat(V,J,he)._parse(P,Ae):this._parse(P,Ae)},dr.prototype._parse=function(P,V){function J(Ct,Dt,Gt){return Gt==="assert"?new _r(Dt,[Ct]):Gt==="coerce"?new Ln(Dt,[Ct]):Ct}if(P!==null&&typeof P!="string"&&typeof P!="boolean"&&typeof P!="number"||(P=["literal",P]),Array.isArray(P)){if(P.length===0)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');var he=P[0];if(typeof he!="string")return this.error("Expression name must be a string, but found "+typeof he+' instead. If you wanted a literal array, use ["literal", [...]].',0),null;var Ae=this.registry[he];if(Ae){var Oe=Ae.parse(P,this);if(!Oe)return null;if(this.expectedType){var Ge=this.expectedType,it=Oe.type;if(Ge.kind!=="string"&&Ge.kind!=="number"&&Ge.kind!=="boolean"&&Ge.kind!=="object"&&Ge.kind!=="array"||it.kind!=="value")if(Ge.kind!=="color"&&Ge.kind!=="formatted"&&Ge.kind!=="resolvedImage"||it.kind!=="value"&&it.kind!=="string"){if(this.checkSubtype(Ge,it))return null}else Oe=J(Oe,Ge,V.typeAnnotation||"coerce");else Oe=J(Oe,Ge,V.typeAnnotation||"assert")}if(!(Oe instanceof yr)&&Oe.type.kind!=="resolvedImage"&&br(Oe)){var pt=new Kn;try{Oe=new yr(Oe.type,Oe.evaluate(pt))}catch(Ct){return this.error(Ct.message),null}}return Oe}return this.error('Unknown expression "'+he+'". If you wanted a literal array, use ["literal", [...]].',0)}return P===void 0?this.error("'undefined' value invalid. Use null instead."):typeof P=="object"?this.error('Bare objects invalid. Use ["literal", {...}] instead.'):this.error("Expected an array, but found "+typeof P+" instead.")},dr.prototype.concat=function(P,V,J){var he=typeof P=="number"?this.path.concat(P):this.path,Ae=J?this.scope.concat(J):this.scope;return new dr(this.registry,he,V||null,Ae,this.errors)},dr.prototype.error=function(P){for(var V=[],J=arguments.length-1;J-- >0;)V[J]=arguments[J+1];var he=""+this.key+V.map(function(Ae){return"["+Ae+"]"}).join("");this.errors.push(new It(he,P))},dr.prototype.checkSubtype=function(P,V){var J=Yn(P,V);return J&&this.error(J),J};var Lr=function(P,V,J){this.type=P,this.input=V,this.labels=[],this.outputs=[];for(var he=0,Ae=J;he=Ge)return V.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',pt);var Dt=V.parse(it,Ct,Ae);if(!Dt)return null;Ae=Ae||Dt.type,he.push([Ge,Dt])}return new Lr(Ae,J,he)},Lr.prototype.evaluate=function(P){var V=this.labels,J=this.outputs;if(V.length===1)return J[0].evaluate(P);var he=this.input.evaluate(P);if(he<=V[0])return J[0].evaluate(P);var Ae=V.length;return he>=V[Ae-1]?J[Ae-1].evaluate(P):J[Ir(V,he)].evaluate(P)},Lr.prototype.eachChild=function(P){P(this.input);for(var V=0,J=this.outputs;V0&&P.push(this.labels[V]),P.push(this.outputs[V].serialize());return P};var gr=Object.freeze({__proto__:null,number:zr,color:function(P,V,J){return new pn(zr(P.r,V.r,J),zr(P.g,V.g,J),zr(P.b,V.b,J),zr(P.a,V.a,J))},array:function(P,V,J){return P.map(function(he,Ae){return zr(he,V[Ae],J)})}}),Fr=.95047,ii=1.08883,ji=4/29,ea=6/29,sa=3*ea*ea,uo=Math.PI/180,La=180/Math.PI;function Xi(P){return P>.008856451679035631?Math.pow(P,.3333333333333333):P/sa+ji}function Do(P){return P>ea?P*P*P:sa*(P-ji)}function rs(P){return 255*(P<=.0031308?12.92*P:1.055*Math.pow(P,.4166666666666667)-.055)}function el(P){return(P/=255)<=.04045?P/12.92:Math.pow((P+.055)/1.055,2.4)}function Cu(P){var V=el(P.r),J=el(P.g),he=el(P.b),Ae=Xi((.4124564*V+.3575761*J+.1804375*he)/Fr),Oe=Xi((.2126729*V+.7151522*J+.072175*he)/1);return{l:116*Oe-16,a:500*(Ae-Oe),b:200*(Oe-Xi((.0193339*V+.119192*J+.9503041*he)/ii)),alpha:P.a}}function gf(P){var V=(P.l+16)/116,J=isNaN(P.a)?V:V+P.a/500,he=isNaN(P.b)?V:V-P.b/200;return V=1*Do(V),J=Fr*Do(J),he=ii*Do(he),new pn(rs(3.2404542*J-1.5371385*V-.4985314*he),rs(-.969266*J+1.8760108*V+.041556*he),rs(.0556434*J-.2040259*V+1.0572252*he),P.alpha)}function Mh(P,V,J){var he=V-P;return P+J*(he>180||he<-180?he-360*Math.round(he/360):he)}var Eu={forward:Cu,reverse:gf,interpolate:function(P,V,J){return{l:zr(P.l,V.l,J),a:zr(P.a,V.a,J),b:zr(P.b,V.b,J),alpha:zr(P.alpha,V.alpha,J)}}},is={forward:function(P){var V=Cu(P),J=V.l,he=V.a,Ae=V.b,Oe=Math.atan2(Ae,he)*La;return{h:Oe<0?Oe+360:Oe,c:Math.sqrt(he*he+Ae*Ae),l:J,alpha:P.a}},reverse:function(P){var V=P.h*uo,J=P.c;return gf({l:P.l,a:Math.cos(V)*J,b:Math.sin(V)*J,alpha:P.alpha})},interpolate:function(P,V,J){return{h:Mh(P.h,V.h,J),c:zr(P.c,V.c,J),l:zr(P.l,V.l,J),alpha:zr(P.alpha,V.alpha,J)}}},Ah=Object.freeze({__proto__:null,lab:Eu,hcl:is}),Ya=function(P,V,J,he,Ae){this.type=P,this.operator=V,this.interpolation=J,this.input=he,this.labels=[],this.outputs=[];for(var Oe=0,Ge=Ae;Oe1}))return V.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);he={name:"cubic-bezier",controlPoints:it}}if(P.length-1<4)return V.error("Expected at least 4 arguments, but found only "+(P.length-1)+".");if((P.length-1)%2!=0)return V.error("Expected an even number of arguments.");if(!(Ae=V.parse(Ae,2,Pt)))return null;var pt=[],Ct=null;J==="interpolate-hcl"||J==="interpolate-lab"?Ct=Nt:V.expectedType&&V.expectedType.kind!=="value"&&(Ct=V.expectedType);for(var Dt=0;Dt=Gt)return V.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',$t);var Mn=V.parse(Zt,fn,Ct);if(!Mn)return null;Ct=Ct||Mn.type,pt.push([Gt,Mn])}return Ct.kind==="number"||Ct.kind==="color"||Ct.kind==="array"&&Ct.itemType.kind==="number"&&typeof Ct.N=="number"?new Ya(Ct,J,he,Ae,pt):V.error("Type "+un(Ct)+" is not interpolatable.")},Ya.prototype.evaluate=function(P){var V=this.labels,J=this.outputs;if(V.length===1)return J[0].evaluate(P);var he=this.input.evaluate(P);if(he<=V[0])return J[0].evaluate(P);var Ae=V.length;if(he>=V[Ae-1])return J[Ae-1].evaluate(P);var Oe=Ir(V,he),Ge=V[Oe],it=V[Oe+1],pt=Ya.interpolationFactor(this.interpolation,he,Ge,it),Ct=J[Oe].evaluate(P),Dt=J[Oe+1].evaluate(P);return this.operator==="interpolate"?gr[this.type.kind.toLowerCase()](Ct,Dt,pt):this.operator==="interpolate-hcl"?is.reverse(is.interpolate(is.forward(Ct),is.forward(Dt),pt)):Eu.reverse(Eu.interpolate(Eu.forward(Ct),Eu.forward(Dt),pt))},Ya.prototype.eachChild=function(P){P(this.input);for(var V=0,J=this.outputs;V=J.length)throw new or("Array index out of bounds: "+V+" > "+(J.length-1)+".");if(V!==Math.floor(V))throw new or("Array index must be an integer, but found "+V+" instead.");return J[V]},Ml.prototype.eachChild=function(P){P(this.index),P(this.input)},Ml.prototype.outputDefined=function(){return!1},Ml.prototype.serialize=function(){return["at",this.index.serialize(),this.input.serialize()]};var Ui=function(P,V){this.type=Rt,this.needle=P,this.haystack=V};Ui.parse=function(P,V){if(P.length!==3)return V.error("Expected 2 arguments, but found "+(P.length-1)+" instead.");var J=V.parse(P[1],1,Wt),he=V.parse(P[2],2,Wt);return J&&he?kn(J.type,[Rt,wt,Pt,yt,Wt])?new Ui(J,he):V.error("Expected first argument to be of type boolean, string, number or null, but found "+un(J.type)+" instead"):null},Ui.prototype.evaluate=function(P){var V=this.needle.evaluate(P),J=this.haystack.evaluate(P);if(!J)return!1;if(!sn(V,["boolean","string","number","null"]))throw new or("Expected first argument to be of type boolean, string, number or null, but found "+un(rr(V))+" instead.");if(!sn(J,["string","array"]))throw new or("Expected second argument to be of type array or string, but found "+un(rr(J))+" instead.");return J.indexOf(V)>=0},Ui.prototype.eachChild=function(P){P(this.needle),P(this.haystack)},Ui.prototype.outputDefined=function(){return!0},Ui.prototype.serialize=function(){return["in",this.needle.serialize(),this.haystack.serialize()]};var Al=function(P,V,J){this.type=Pt,this.needle=P,this.haystack=V,this.fromIndex=J};Al.parse=function(P,V){if(P.length<=2||P.length>=5)return V.error("Expected 3 or 4 arguments, but found "+(P.length-1)+" instead.");var J=V.parse(P[1],1,Wt),he=V.parse(P[2],2,Wt);if(!J||!he)return null;if(!kn(J.type,[Rt,wt,Pt,yt,Wt]))return V.error("Expected first argument to be of type boolean, string, number or null, but found "+un(J.type)+" instead");if(P.length===4){var Ae=V.parse(P[3],3,Pt);return Ae?new Al(J,he,Ae):null}return new Al(J,he)},Al.prototype.evaluate=function(P){var V=this.needle.evaluate(P),J=this.haystack.evaluate(P);if(!sn(V,["boolean","string","number","null"]))throw new or("Expected first argument to be of type boolean, string, number or null, but found "+un(rr(V))+" instead.");if(!sn(J,["string","array"]))throw new or("Expected second argument to be of type array or string, but found "+un(rr(J))+" instead.");if(this.fromIndex){var he=this.fromIndex.evaluate(P);return J.indexOf(V,he)}return J.indexOf(V)},Al.prototype.eachChild=function(P){P(this.needle),P(this.haystack),this.fromIndex&&P(this.fromIndex)},Al.prototype.outputDefined=function(){return!1},Al.prototype.serialize=function(){if(this.fromIndex!=null&&this.fromIndex!==void 0){var P=this.fromIndex.serialize();return["index-of",this.needle.serialize(),this.haystack.serialize(),P]}return["index-of",this.needle.serialize(),this.haystack.serialize()]};var ps=function(P,V,J,he,Ae,Oe){this.inputType=P,this.type=V,this.input=J,this.cases=he,this.outputs=Ae,this.otherwise=Oe};ps.parse=function(P,V){if(P.length<5)return V.error("Expected at least 4 arguments, but found only "+(P.length-1)+".");if(P.length%2!=1)return V.error("Expected an even number of arguments.");var J,he;V.expectedType&&V.expectedType.kind!=="value"&&(he=V.expectedType);for(var Ae={},Oe=[],Ge=2;GeNumber.MAX_SAFE_INTEGER)return Ct.error("Branch labels must be integers no larger than "+Number.MAX_SAFE_INTEGER+".");if(typeof Zt=="number"&&Math.floor(Zt)!==Zt)return Ct.error("Numeric branch labels must be integer values.");if(J){if(Ct.checkSubtype(J,rr(Zt)))return null}else J=rr(Zt);if(Ae[String(Zt)]!==void 0)return Ct.error("Branch labels must be unique.");Ae[String(Zt)]=Oe.length}var $t=V.parse(pt,Ge,he);if(!$t)return null;he=he||$t.type,Oe.push($t)}var fn=V.parse(P[1],1,Wt);if(!fn)return null;var Mn=V.parse(P[P.length-1],P.length-1,he);return Mn?fn.type.kind!=="value"&&V.concat(1).checkSubtype(J,fn.type)?null:new ps(J,he,fn,Ae,Oe,Mn):null},ps.prototype.evaluate=function(P){var V=this.input.evaluate(P);return(rr(V)===this.inputType&&this.outputs[this.cases[V]]||this.otherwise).evaluate(P)},ps.prototype.eachChild=function(P){P(this.input),this.outputs.forEach(P),P(this.otherwise)},ps.prototype.outputDefined=function(){return this.outputs.every(function(P){return P.outputDefined()})&&this.otherwise.outputDefined()},ps.prototype.serialize=function(){for(var P=this,V=["match",this.input.serialize()],J=[],he={},Ae=0,Oe=Object.keys(this.cases).sort();Ae=5)return V.error("Expected 3 or 4 arguments, but found "+(P.length-1)+" instead.");var J=V.parse(P[1],1,Wt),he=V.parse(P[2],2,Pt);if(!J||!he)return null;if(!kn(J.type,[xn(Wt),wt,Wt]))return V.error("Expected first argument to be of type array or string, but found "+un(J.type)+" instead");if(P.length===4){var Ae=V.parse(P[3],3,Pt);return Ae?new js(J.type,J,he,Ae):null}return new js(J.type,J,he)},js.prototype.evaluate=function(P){var V=this.input.evaluate(P),J=this.beginIndex.evaluate(P);if(!sn(V,["string","array"]))throw new or("Expected first argument to be of type array or string, but found "+un(rr(V))+" instead.");if(this.endIndex){var he=this.endIndex.evaluate(P);return V.slice(J,he)}return V.slice(J)},js.prototype.eachChild=function(P){P(this.input),P(this.beginIndex),this.endIndex&&P(this.endIndex)},js.prototype.outputDefined=function(){return!1},js.prototype.serialize=function(){if(this.endIndex!=null&&this.endIndex!==void 0){var P=this.endIndex.serialize();return["slice",this.input.serialize(),this.beginIndex.serialize(),P]}return["slice",this.input.serialize(),this.beginIndex.serialize()]};var yf=tl("==",function(P,V,J){return V===J},vf),bf=tl("!=",function(P,V,J){return V!==J},function(P,V,J,he){return!vf(0,V,J,he)}),id=tl("<",function(P,V,J){return V",function(P,V,J){return V>J},function(P,V,J,he){return he.compare(V,J)>0}),xf=tl("<=",function(P,V,J){return V<=J},function(P,V,J,he){return he.compare(V,J)<=0}),Ch=tl(">=",function(P,V,J){return V>=J},function(P,V,J,he){return he.compare(V,J)>=0}),nl=function(P,V,J,he,Ae){this.type=wt,this.number=P,this.locale=V,this.currency=J,this.minFractionDigits=he,this.maxFractionDigits=Ae};nl.parse=function(P,V){if(P.length!==3)return V.error("Expected two arguments.");var J=V.parse(P[1],1,Pt);if(!J)return null;var he=P[2];if(typeof he!="object"||Array.isArray(he))return V.error("NumberFormat options argument must be an object.");var Ae=null;if(he.locale&&!(Ae=V.parse(he.locale,1,wt)))return null;var Oe=null;if(he.currency&&!(Oe=V.parse(he.currency,1,wt)))return null;var Ge=null;if(he["min-fraction-digits"]&&!(Ge=V.parse(he["min-fraction-digits"],1,Pt)))return null;var it=null;return he["max-fraction-digits"]&&!(it=V.parse(he["max-fraction-digits"],1,Pt))?null:new nl(J,Ae,Oe,Ge,it)},nl.prototype.evaluate=function(P){return new Intl.NumberFormat(this.locale?this.locale.evaluate(P):[],{style:this.currency?"currency":"decimal",currency:this.currency?this.currency.evaluate(P):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(P):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(P):void 0}).format(this.number.evaluate(P))},nl.prototype.eachChild=function(P){P(this.number),this.locale&&P(this.locale),this.currency&&P(this.currency),this.minFractionDigits&&P(this.minFractionDigits),this.maxFractionDigits&&P(this.maxFractionDigits)},nl.prototype.outputDefined=function(){return!1},nl.prototype.serialize=function(){var P={};return this.locale&&(P.locale=this.locale.serialize()),this.currency&&(P.currency=this.currency.serialize()),this.minFractionDigits&&(P["min-fraction-digits"]=this.minFractionDigits.serialize()),this.maxFractionDigits&&(P["max-fraction-digits"]=this.maxFractionDigits.serialize()),["number-format",this.number.serialize(),P]};var rl=function(P){this.type=Pt,this.input=P};rl.parse=function(P,V){if(P.length!==2)return V.error("Expected 1 argument, but found "+(P.length-1)+" instead.");var J=V.parse(P[1],1);return J?J.type.kind!=="array"&&J.type.kind!=="string"&&J.type.kind!=="value"?V.error("Expected argument of type string or array, but found "+un(J.type)+" instead."):new rl(J):null},rl.prototype.evaluate=function(P){var V=this.input.evaluate(P);if(typeof V=="string"||Array.isArray(V))return V.length;throw new or("Expected value to be of type string or array, but found "+un(rr(V))+" instead.")},rl.prototype.eachChild=function(P){P(this.input)},rl.prototype.outputDefined=function(){return!1},rl.prototype.serialize=function(){var P=["length"];return this.eachChild(function(V){P.push(V.serialize())}),P};var Lu={"==":yf,"!=":bf,">":Sh,"<":id,">=":Ch,"<=":xf,array:_r,at:Ml,boolean:_r,case:Es,coalesce:Yo,collator:tr,format:Kt,image:bn,in:Ui,"index-of":Al,interpolate:Ya,"interpolate-hcl":Ya,"interpolate-lab":Ya,length:rl,let:as,literal:yr,match:ps,number:_r,"number-format":nl,object:_r,slice:js,step:Lr,string:_r,"to-boolean":Ln,"to-color":Ln,"to-number":Ln,"to-string":Ln,var:pr,within:nr};function il(P,V){var J=V[0],he=V[1],Ae=V[2],Oe=V[3];J=J.evaluate(P),he=he.evaluate(P),Ae=Ae.evaluate(P);var Ge=Oe?Oe.evaluate(P):1,it=qn(J,he,Ae,Ge);if(it)throw new or(it);return new pn(J/255*Ge,he/255*Ge,Ae/255*Ge,Ge)}function Eh(P,V){return P in V}function Lh(P,V){var J=V[P];return J===void 0?null:J}function Jl(P){return{type:P}}function jc(P){return{result:"success",value:P}}function Sl(P){return{result:"error",value:P}}function Iu(P){return P["property-type"]==="data-driven"||P["property-type"]==="cross-faded-data-driven"}function Ql(P){return!!P.expression&&P.expression.parameters.indexOf("zoom")>-1}function al(P){return!!P.expression&&P.expression.interpolated}function Hi(P){return P instanceof Number?"number":P instanceof String?"string":P instanceof Boolean?"boolean":Array.isArray(P)?"array":P===null?"null":typeof P}function Cl(P){return typeof P=="object"&&P!==null&&!Array.isArray(P)}function ad(P){return P}function Uc(P,V){var J,he,Ae,Oe=V.type==="color",Ge=P.stops&&typeof P.stops[0][0]=="object",it=Ge||P.property!==void 0,pt=Ge||!it,Ct=P.type||(al(V)?"exponential":"interval");if(Oe&&((P=ut({},P)).stops&&(P.stops=P.stops.map(function(Tr){return[Tr[0],pn.parse(Tr[1])]})),P.default?P.default=pn.parse(P.default):P.default=pn.parse(V.default)),P.colorSpace&&P.colorSpace!=="rgb"&&!Ah[P.colorSpace])throw new Error("Unknown color space: "+P.colorSpace);if(Ct==="exponential")J=ms;else if(Ct==="interval")J=Ru;else if(Ct==="categorical"){J=eu,he=Object.create(null);for(var Dt=0,Gt=P.stops;Dt=P.stops[he-1][0])return P.stops[he-1][1];var Ae=Ir(P.stops.map(function(Oe){return Oe[0]}),J);return P.stops[Ae][1]}function ms(P,V,J){var he=P.base!==void 0?P.base:1;if(Hi(J)!=="number")return dc(P.default,V.default);var Ae=P.stops.length;if(Ae===1||J<=P.stops[0][0])return P.stops[0][1];if(J>=P.stops[Ae-1][0])return P.stops[Ae-1][1];var Oe=Ir(P.stops.map(function(Gt){return Gt[0]}),J),Ge=function(Gt,Zt,$t,fn){var Mn=fn-$t,Nn=Gt-$t;return Mn===0?0:Zt===1?Nn/Mn:(Math.pow(Zt,Nn)-1)/(Math.pow(Zt,Mn)-1)}(J,he,P.stops[Oe][0],P.stops[Oe+1][0]),it=P.stops[Oe][1],pt=P.stops[Oe+1][1],Ct=gr[V.type]||ad;if(P.colorSpace&&P.colorSpace!=="rgb"){var Dt=Ah[P.colorSpace];Ct=function(Gt,Zt){return Dt.reverse(Dt.interpolate(Dt.forward(Gt),Dt.forward(Zt),Ge))}}return typeof it.evaluate=="function"?{evaluate:function(){for(var Gt=[],Zt=arguments.length;Zt--;)Gt[Zt]=arguments[Zt];var $t=it.evaluate.apply(void 0,Gt),fn=pt.evaluate.apply(void 0,Gt);if($t!==void 0&&fn!==void 0)return Ct($t,fn,Ge)}}:Ct(it,pt,Ge)}function Ih(P,V,J){return V.type==="color"?J=pn.parse(J):V.type==="formatted"?J=jn.fromString(J.toString()):V.type==="resolvedImage"?J=Gn.fromString(J.toString()):Hi(J)===V.type||V.type==="enum"&&V.values[J]||(J=void 0),dc(J,P.default,V.default)}$n.register(Lu,{error:[{kind:"error"},[wt],function(P,V){var J=V[0];throw new or(J.evaluate(P))}],typeof:[wt,[Wt],function(P,V){return un(rr(V[0].evaluate(P)))}],"to-rgba":[xn(Pt,4),[Nt],function(P,V){return V[0].evaluate(P).toArray()}],rgb:[Nt,[Pt,Pt,Pt],il],rgba:[Nt,[Pt,Pt,Pt,Pt],il],has:{type:Rt,overloads:[[[wt],function(P,V){return Eh(V[0].evaluate(P),P.properties())}],[[wt,Yt],function(P,V){var J=V[0],he=V[1];return Eh(J.evaluate(P),he.evaluate(P))}]]},get:{type:Wt,overloads:[[[wt],function(P,V){return Lh(V[0].evaluate(P),P.properties())}],[[wt,Yt],function(P,V){var J=V[0],he=V[1];return Lh(J.evaluate(P),he.evaluate(P))}]]},"feature-state":[Wt,[wt],function(P,V){return Lh(V[0].evaluate(P),P.featureState||{})}],properties:[Yt,[],function(P){return P.properties()}],"geometry-type":[wt,[],function(P){return P.geometryType()}],id:[Wt,[],function(P){return P.id()}],zoom:[Pt,[],function(P){return P.globals.zoom}],"heatmap-density":[Pt,[],function(P){return P.globals.heatmapDensity||0}],"line-progress":[Pt,[],function(P){return P.globals.lineProgress||0}],accumulated:[Wt,[],function(P){return P.globals.accumulated===void 0?null:P.globals.accumulated}],"+":[Pt,Jl(Pt),function(P,V){for(var J=0,he=0,Ae=V;he":[Rt,[wt,Wt],function(P,V){var J=V[0],he=V[1],Ae=P.properties()[J.value],Oe=he.value;return typeof Ae==typeof Oe&&Ae>Oe}],"filter-id->":[Rt,[Wt],function(P,V){var J=V[0],he=P.id(),Ae=J.value;return typeof he==typeof Ae&&he>Ae}],"filter-<=":[Rt,[wt,Wt],function(P,V){var J=V[0],he=V[1],Ae=P.properties()[J.value],Oe=he.value;return typeof Ae==typeof Oe&&Ae<=Oe}],"filter-id-<=":[Rt,[Wt],function(P,V){var J=V[0],he=P.id(),Ae=J.value;return typeof he==typeof Ae&&he<=Ae}],"filter->=":[Rt,[wt,Wt],function(P,V){var J=V[0],he=V[1],Ae=P.properties()[J.value],Oe=he.value;return typeof Ae==typeof Oe&&Ae>=Oe}],"filter-id->=":[Rt,[Wt],function(P,V){var J=V[0],he=P.id(),Ae=J.value;return typeof he==typeof Ae&&he>=Ae}],"filter-has":[Rt,[Wt],function(P,V){return V[0].value in P.properties()}],"filter-has-id":[Rt,[],function(P){return P.id()!==null&&P.id()!==void 0}],"filter-type-in":[Rt,[xn(wt)],function(P,V){return V[0].value.indexOf(P.geometryType())>=0}],"filter-id-in":[Rt,[xn(Wt)],function(P,V){return V[0].value.indexOf(P.id())>=0}],"filter-in-small":[Rt,[wt,xn(Wt)],function(P,V){var J=V[0];return V[1].value.indexOf(P.properties()[J.value])>=0}],"filter-in-large":[Rt,[wt,xn(Wt)],function(P,V){var J=V[0],he=V[1];return function(Ae,Oe,Ge,it){for(;Ge<=it;){var pt=Ge+it>>1;if(Oe[pt]===Ae)return!0;Oe[pt]>Ae?it=pt-1:Ge=pt+1}return!1}(P.properties()[J.value],he.value,0,he.value.length-1)}],all:{type:Rt,overloads:[[[Rt,Rt],function(P,V){var J=V[0],he=V[1];return J.evaluate(P)&&he.evaluate(P)}],[Jl(Rt),function(P,V){for(var J=0,he=V;J0&&typeof P[0]=="string"&&P[0]in Lu}function mc(P,V){var J=new dr(Lu,[],V?function(Ae){var Oe={color:Nt,string:wt,number:Pt,enum:wt,boolean:Rt,formatted:Qt,resolvedImage:rn};return Ae.type==="array"?xn(Oe[Ae.value]||Wt,Ae.length):Oe[Ae.type]}(V):void 0),he=J.parse(P,void 0,void 0,void 0,V&&V.type==="string"?{typeAnnotation:"coerce"}:void 0);return he?jc(new pc(he,V)):Sl(J.errors)}pc.prototype.evaluateWithoutErrorHandling=function(P,V,J,he,Ae,Oe){return this._evaluator.globals=P,this._evaluator.feature=V,this._evaluator.featureState=J,this._evaluator.canonical=he,this._evaluator.availableImages=Ae||null,this._evaluator.formattedSection=Oe,this.expression.evaluate(this._evaluator)},pc.prototype.evaluate=function(P,V,J,he,Ae,Oe){this._evaluator.globals=P,this._evaluator.feature=V||null,this._evaluator.featureState=J||null,this._evaluator.canonical=he,this._evaluator.availableImages=Ae||null,this._evaluator.formattedSection=Oe||null;try{var Ge=this.expression.evaluate(this._evaluator);if(Ge==null||typeof Ge=="number"&&Ge!=Ge)return this._defaultValue;if(this._enumValues&&!(Ge in this._enumValues))throw new or("Expected value to be one of "+Object.keys(this._enumValues).map(function(it){return JSON.stringify(it)}).join(", ")+", but found "+JSON.stringify(Ge)+" instead.");return Ge}catch(it){return this._warningHistory[it.message]||(this._warningHistory[it.message]=!0,typeof console<"u"&&console.warn(it.message)),this._defaultValue}};var tu=function(P,V){this.kind=P,this._styleExpression=V,this.isStateDependent=P!=="constant"&&!hr(V.expression)};tu.prototype.evaluateWithoutErrorHandling=function(P,V,J,he,Ae,Oe){return this._styleExpression.evaluateWithoutErrorHandling(P,V,J,he,Ae,Oe)},tu.prototype.evaluate=function(P,V,J,he,Ae,Oe){return this._styleExpression.evaluate(P,V,J,he,Ae,Oe)};var nu=function(P,V,J,he){this.kind=P,this.zoomStops=J,this._styleExpression=V,this.isStateDependent=P!=="camera"&&!hr(V.expression),this.interpolationType=he};function Ou(P,V){if((P=mc(P,V)).result==="error")return P;var J=P.value.expression,he=Qn(J);if(!he&&!Iu(V))return Sl([new It("","data expressions not supported")]);var Ae=cr(J,["zoom"]);if(!Ae&&!Ql(V))return Sl([new It("","zoom expressions not supported")]);var Oe=vc(J);if(!Oe&&!Ae)return Sl([new It("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')]);if(Oe instanceof It)return Sl([Oe]);if(Oe instanceof Ya&&!al(V))return Sl([new It("",'"interpolate" expressions cannot be used with this property')]);if(!Oe)return jc(new tu(he?"constant":"source",P.value));var Ge=Oe instanceof Ya?Oe.interpolation:void 0;return jc(new nu(he?"camera":"composite",P.value,Oe.labels,Ge))}nu.prototype.evaluateWithoutErrorHandling=function(P,V,J,he,Ae,Oe){return this._styleExpression.evaluateWithoutErrorHandling(P,V,J,he,Ae,Oe)},nu.prototype.evaluate=function(P,V,J,he,Ae,Oe){return this._styleExpression.evaluate(P,V,J,he,Ae,Oe)},nu.prototype.interpolationFactor=function(P,V,J){return this.interpolationType?Ya.interpolationFactor(this.interpolationType,P,V,J):0};var gc=function(P,V){this._parameters=P,this._specification=V,ut(this,Uc(this._parameters,this._specification))};function vc(P){var V=null;if(P instanceof as)V=vc(P.result);else if(P instanceof Yo)for(var J=0,he=P.args;Jhe.maximum?[new Ne(V,J,J+" is greater than the maximum value "+he.maximum)]:[]}function Rh(P){var V,J,he,Ae=P.valueSpec,Oe=dt(P.value.type),Ge={},it=Oe!=="categorical"&&P.value.property===void 0,pt=!it,Ct=Hi(P.value.stops)==="array"&&Hi(P.value.stops[0])==="array"&&Hi(P.value.stops[0][0])==="object",Dt=gs({key:P.key,value:P.value,valueSpec:P.styleSpec.function,style:P.style,styleSpec:P.styleSpec,objectElementValidators:{stops:function($t){if(Oe==="identity")return[new Ne($t.key,$t.value,'identity function may not have a "stops" property')];var fn=[],Mn=$t.value;return fn=fn.concat(yc({key:$t.key,value:Mn,valueSpec:$t.valueSpec,style:$t.style,styleSpec:$t.styleSpec,arrayElementValidator:Gt})),Hi(Mn)==="array"&&Mn.length===0&&fn.push(new Ne($t.key,Mn,"array must have at least one stop")),fn},default:function($t){return da({key:$t.key,value:$t.value,valueSpec:Ae,style:$t.style,styleSpec:$t.styleSpec})}}});return Oe==="identity"&&it&&Dt.push(new Ne(P.key,P.value,'missing required property "property"')),Oe==="identity"||P.value.stops||Dt.push(new Ne(P.key,P.value,'missing required property "stops"')),Oe==="exponential"&&P.valueSpec.expression&&!al(P.valueSpec)&&Dt.push(new Ne(P.key,P.value,"exponential functions not supported")),P.styleSpec.$version>=8&&(pt&&!Iu(P.valueSpec)?Dt.push(new Ne(P.key,P.value,"property functions not supported")):it&&!Ql(P.valueSpec)&&Dt.push(new Ne(P.key,P.value,"zoom functions not supported"))),Oe!=="categorical"&&!Ct||P.value.property!==void 0||Dt.push(new Ne(P.key,P.value,'"property" property is required')),Dt;function Gt($t){var fn=[],Mn=$t.value,Nn=$t.key;if(Hi(Mn)!=="array")return[new Ne(Nn,Mn,"array expected, "+Hi(Mn)+" found")];if(Mn.length!==2)return[new Ne(Nn,Mn,"array length 2 expected, length "+Mn.length+" found")];if(Ct){if(Hi(Mn[0])!=="object")return[new Ne(Nn,Mn,"object expected, "+Hi(Mn[0])+" found")];if(Mn[0].zoom===void 0)return[new Ne(Nn,Mn,"object stop key must have zoom")];if(Mn[0].value===void 0)return[new Ne(Nn,Mn,"object stop key must have value")];if(he&&he>dt(Mn[0].zoom))return[new Ne(Nn,Mn[0].zoom,"stop zoom values must appear in ascending order")];dt(Mn[0].zoom)!==he&&(he=dt(Mn[0].zoom),J=void 0,Ge={}),fn=fn.concat(gs({key:Nn+"[0]",value:Mn[0],valueSpec:{zoom:{}},style:$t.style,styleSpec:$t.styleSpec,objectElementValidators:{zoom:bc,value:Zt}}))}else fn=fn.concat(Zt({key:Nn+"[0]",value:Mn[0],valueSpec:{},style:$t.style,styleSpec:$t.styleSpec},Mn));return Pu(_t(Mn[1]))?fn.concat([new Ne(Nn+"[1]",Mn[1],"expressions are not allowed in function stops.")]):fn.concat(da({key:Nn+"[1]",value:Mn[1],valueSpec:Ae,style:$t.style,styleSpec:$t.styleSpec}))}function Zt($t,fn){var Mn=Hi($t.value),Nn=dt($t.value),Bn=$t.value!==null?$t.value:fn;if(V){if(Mn!==V)return[new Ne($t.key,Bn,Mn+" stop domain type must match previous stop domain type "+V)]}else V=Mn;if(Mn!=="number"&&Mn!=="string"&&Mn!=="boolean")return[new Ne($t.key,Bn,"stop domain value must be a number, string, or boolean")];if(Mn!=="number"&&Oe!=="categorical"){var Wn="number expected, "+Mn+" found";return Iu(Ae)&&Oe===void 0&&(Wn+='\nIf you intended to use a categorical function, specify `"type": "categorical"`.'),[new Ne($t.key,Bn,Wn)]}return Oe!=="categorical"||Mn!=="number"||isFinite(Nn)&&Math.floor(Nn)===Nn?Oe!=="categorical"&&Mn==="number"&&J!==void 0&&Nn=2&&P[1]!=="$id"&&P[1]!=="$type";case"in":return P.length>=3&&(typeof P[1]!="string"||Array.isArray(P[2]));case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return P.length!==3||Array.isArray(P[1])||Array.isArray(P[2]);case"any":case"all":for(var V=0,J=P.slice(1);VV?1:0}function ru(P){if(!Array.isArray(P))return!1;if(P[0]==="within")return!0;for(var V=1;V"||J==="<="||J===">="?Ki(P[1],P[2],J):J==="any"?(V=P.slice(1),["any"].concat(V.map(iu))):J==="all"?["all"].concat(P.slice(1).map(iu)):J==="none"?["all"].concat(P.slice(1).map(iu).map(po)):J==="in"?Ll(P[1],P.slice(2)):J==="!in"?po(Ll(P[1],P.slice(2))):J==="has"?Il(P[1]):J==="!has"?po(Il(P[1])):J!=="within"||P}function Ki(P,V,J){switch(P){case"$type":return["filter-type-"+J,V];case"$id":return["filter-id-"+J,V];default:return["filter-"+J,P,V]}}function Ll(P,V){if(V.length===0)return!1;switch(P){case"$type":return["filter-type-in",["literal",V]];case"$id":return["filter-id-in",["literal",V]];default:return V.length>200&&!V.some(function(J){return typeof J!=typeof V[0]})?["filter-in-large",P,["literal",V.sort(Du)]]:["filter-in-small",P,["literal",V]]}}function Il(P){switch(P){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",P]}}function po(P){return["!",P]}function Oi(P){return xc(_t(P.value))?El(ut({},P,{expressionContext:"filter",valueSpec:{value:"boolean"}})):Bi(P)}function Bi(P){var V=P.value,J=P.key;if(Hi(V)!=="array")return[new Ne(J,V,"array expected, "+Hi(V)+" found")];var he,Ae=P.styleSpec,Oe=[];if(V.length<1)return[new Ne(J,V,"filter array must have at least 1 element")];switch(Oe=Oe.concat(Hc({key:J+"[0]",value:V[0],valueSpec:Ae.filter_operator,style:P.style,styleSpec:P.styleSpec})),dt(V[0])){case"<":case"<=":case">":case">=":V.length>=2&&dt(V[1])==="$type"&&Oe.push(new Ne(J,V,'"$type" cannot be use with operator "'+V[0]+'"'));case"==":case"!=":V.length!==3&&Oe.push(new Ne(J,V,'filter array for operator "'+V[0]+'" must have 3 elements'));case"in":case"!in":V.length>=2&&(he=Hi(V[1]))!=="string"&&Oe.push(new Ne(J+"[1]",V[1],"string expected, "+he+" found"));for(var Ge=2;Ge=Dt[$t+0]&&he>=Dt[$t+1])?(Ge[Zt]=!0,Oe.push(Ct[Zt])):Ge[Zt]=!1}}},$o.prototype._forEachCell=function(P,V,J,he,Ae,Oe,Ge,it){for(var pt=this._convertToCellCoord(P),Ct=this._convertToCellCoord(V),Dt=this._convertToCellCoord(J),Gt=this._convertToCellCoord(he),Zt=pt;Zt<=Dt;Zt++)for(var $t=Ct;$t<=Gt;$t++){var fn=this.d*$t+Zt;if((!it||it(this._convertFromCellCoord(Zt),this._convertFromCellCoord($t),this._convertFromCellCoord(Zt+1),this._convertFromCellCoord($t+1)))&&Ae.call(this,P,V,J,he,fn,Oe,Ge,it))return}},$o.prototype._convertFromCellCoord=function(P){return(P-this.padding)/this.scale},$o.prototype._convertToCellCoord=function(P){return Math.max(0,Math.min(this.d-1,Math.floor(P*this.scale)+this.padding))},$o.prototype.toArrayBuffer=function(){if(this.arrayBuffer)return this.arrayBuffer;for(var P=this.cells,V=3+this.cells.length+1+1,J=0,he=0;he=0)){var Gt=P[Dt];Ct[Dt]=Lo[pt].shallow.indexOf(Dt)>=0?Gt:zu(Gt,V)}P instanceof Error&&(Ct.message=P.message)}if(Ct.$name)throw new Error("$name property is reserved for worker serialization logic.");return pt!=="Object"&&(Ct.$name=pt),Ct}throw new Error("can't serialize object of type "+typeof P)}function Fu(P){if(P==null||typeof P=="boolean"||typeof P=="number"||typeof P=="string"||P instanceof Boolean||P instanceof Number||P instanceof String||P instanceof Date||P instanceof RegExp||Fo(P)||Yc(P)||ArrayBuffer.isView(P)||P instanceof qc)return P;if(Array.isArray(P))return P.map(Fu);if(typeof P=="object"){var V=P.$name||"Object",J=Lo[V].klass;if(!J)throw new Error("can't deserialize unregistered class "+V);if(J.deserialize)return J.deserialize(P);for(var he=Object.create(J.prototype),Ae=0,Oe=Object.keys(P);Ae=0?it:Fu(it)}}return he}throw new Error("can't deserialize object of type "+typeof P)}var Bu=function(){this.first=!0};Bu.prototype.update=function(P,V){var J=Math.floor(P);return this.first?(this.first=!1,this.lastIntegerZoom=J,this.lastIntegerZoomTime=0,this.lastZoom=P,this.lastFloorZoom=J,!0):(this.lastFloorZoom>J?(this.lastIntegerZoom=J+1,this.lastIntegerZoomTime=V):this.lastFloorZoom=128&&P<=255},Arabic:function(P){return P>=1536&&P<=1791},"Arabic Supplement":function(P){return P>=1872&&P<=1919},"Arabic Extended-A":function(P){return P>=2208&&P<=2303},"Hangul Jamo":function(P){return P>=4352&&P<=4607},"Unified Canadian Aboriginal Syllabics":function(P){return P>=5120&&P<=5759},Khmer:function(P){return P>=6016&&P<=6143},"Unified Canadian Aboriginal Syllabics Extended":function(P){return P>=6320&&P<=6399},"General Punctuation":function(P){return P>=8192&&P<=8303},"Letterlike Symbols":function(P){return P>=8448&&P<=8527},"Number Forms":function(P){return P>=8528&&P<=8591},"Miscellaneous Technical":function(P){return P>=8960&&P<=9215},"Control Pictures":function(P){return P>=9216&&P<=9279},"Optical Character Recognition":function(P){return P>=9280&&P<=9311},"Enclosed Alphanumerics":function(P){return P>=9312&&P<=9471},"Geometric Shapes":function(P){return P>=9632&&P<=9727},"Miscellaneous Symbols":function(P){return P>=9728&&P<=9983},"Miscellaneous Symbols and Arrows":function(P){return P>=11008&&P<=11263},"CJK Radicals Supplement":function(P){return P>=11904&&P<=12031},"Kangxi Radicals":function(P){return P>=12032&&P<=12255},"Ideographic Description Characters":function(P){return P>=12272&&P<=12287},"CJK Symbols and Punctuation":function(P){return P>=12288&&P<=12351},Hiragana:function(P){return P>=12352&&P<=12447},Katakana:function(P){return P>=12448&&P<=12543},Bopomofo:function(P){return P>=12544&&P<=12591},"Hangul Compatibility Jamo":function(P){return P>=12592&&P<=12687},Kanbun:function(P){return P>=12688&&P<=12703},"Bopomofo Extended":function(P){return P>=12704&&P<=12735},"CJK Strokes":function(P){return P>=12736&&P<=12783},"Katakana Phonetic Extensions":function(P){return P>=12784&&P<=12799},"Enclosed CJK Letters and Months":function(P){return P>=12800&&P<=13055},"CJK Compatibility":function(P){return P>=13056&&P<=13311},"CJK Unified Ideographs Extension A":function(P){return P>=13312&&P<=19903},"Yijing Hexagram Symbols":function(P){return P>=19904&&P<=19967},"CJK Unified Ideographs":function(P){return P>=19968&&P<=40959},"Yi Syllables":function(P){return P>=40960&&P<=42127},"Yi Radicals":function(P){return P>=42128&&P<=42191},"Hangul Jamo Extended-A":function(P){return P>=43360&&P<=43391},"Hangul Syllables":function(P){return P>=44032&&P<=55215},"Hangul Jamo Extended-B":function(P){return P>=55216&&P<=55295},"Private Use Area":function(P){return P>=57344&&P<=63743},"CJK Compatibility Ideographs":function(P){return P>=63744&&P<=64255},"Arabic Presentation Forms-A":function(P){return P>=64336&&P<=65023},"Vertical Forms":function(P){return P>=65040&&P<=65055},"CJK Compatibility Forms":function(P){return P>=65072&&P<=65103},"Small Form Variants":function(P){return P>=65104&&P<=65135},"Arabic Presentation Forms-B":function(P){return P>=65136&&P<=65279},"Halfwidth and Fullwidth Forms":function(P){return P>=65280&&P<=65519}};function Nu(P){for(var V=0,J=P;V=65097&&P<=65103)||Br["CJK Compatibility Ideographs"](P)||Br["CJK Compatibility"](P)||Br["CJK Radicals Supplement"](P)||Br["CJK Strokes"](P)||!(!Br["CJK Symbols and Punctuation"](P)||P>=12296&&P<=12305||P>=12308&&P<=12319||P===12336)||Br["CJK Unified Ideographs Extension A"](P)||Br["CJK Unified Ideographs"](P)||Br["Enclosed CJK Letters and Months"](P)||Br["Hangul Compatibility Jamo"](P)||Br["Hangul Jamo Extended-A"](P)||Br["Hangul Jamo Extended-B"](P)||Br["Hangul Jamo"](P)||Br["Hangul Syllables"](P)||Br.Hiragana(P)||Br["Ideographic Description Characters"](P)||Br.Kanbun(P)||Br["Kangxi Radicals"](P)||Br["Katakana Phonetic Extensions"](P)||Br.Katakana(P)&&P!==12540||!(!Br["Halfwidth and Fullwidth Forms"](P)||P===65288||P===65289||P===65293||P>=65306&&P<=65310||P===65339||P===65341||P===65343||P>=65371&&P<=65503||P===65507||P>=65512&&P<=65519)||!(!Br["Small Form Variants"](P)||P>=65112&&P<=65118||P>=65123&&P<=65126)||Br["Unified Canadian Aboriginal Syllabics"](P)||Br["Unified Canadian Aboriginal Syllabics Extended"](P)||Br["Vertical Forms"](P)||Br["Yijing Hexagram Symbols"](P)||Br["Yi Syllables"](P)||Br["Yi Radicals"](P))))}function $c(P){return!(ys(P)||function(V){return!!(Br["Latin-1 Supplement"](V)&&(V===167||V===169||V===174||V===177||V===188||V===189||V===190||V===215||V===247)||Br["General Punctuation"](V)&&(V===8214||V===8224||V===8225||V===8240||V===8241||V===8251||V===8252||V===8258||V===8263||V===8264||V===8265||V===8273)||Br["Letterlike Symbols"](V)||Br["Number Forms"](V)||Br["Miscellaneous Technical"](V)&&(V>=8960&&V<=8967||V>=8972&&V<=8991||V>=8996&&V<=9e3||V===9003||V>=9085&&V<=9114||V>=9150&&V<=9165||V===9167||V>=9169&&V<=9179||V>=9186&&V<=9215)||Br["Control Pictures"](V)&&V!==9251||Br["Optical Character Recognition"](V)||Br["Enclosed Alphanumerics"](V)||Br["Geometric Shapes"](V)||Br["Miscellaneous Symbols"](V)&&!(V>=9754&&V<=9759)||Br["Miscellaneous Symbols and Arrows"](V)&&(V>=11026&&V<=11055||V>=11088&&V<=11097||V>=11192&&V<=11243)||Br["CJK Symbols and Punctuation"](V)||Br.Katakana(V)||Br["Private Use Area"](V)||Br["CJK Compatibility Forms"](V)||Br["Small Form Variants"](V)||Br["Halfwidth and Fullwidth Forms"](V)||V===8734||V===8756||V===8757||V>=9984&&V<=10087||V>=10102&&V<=10131||V===65532||V===65533)}(P))}function wc(P){return Br.Arabic(P)||Br["Arabic Supplement"](P)||Br["Arabic Extended-A"](P)||Br["Arabic Presentation Forms-A"](P)||Br["Arabic Presentation Forms-B"](P)}function vo(P){return P>=1424&&P<=2303||Br["Arabic Presentation Forms-A"](P)||Br["Arabic Presentation Forms-B"](P)}function cu(P,V){return!(!V&&vo(P)||P>=2304&&P<=3583||P>=3840&&P<=4255||Br.Khmer(P))}function ll(P){for(var V=0,J=P;V-1&&(yo=bs),hu&&hu(P)};function Tc(){os.fire(new qe("pluginStateChange",{pluginStatus:yo,pluginURL:xs}))}var os=new ft,_s=function(){return yo},Gs=function(){if(yo!==Zo||!xs)throw new Error("rtl-text-plugin cannot be downloaded unless a pluginURL is specified");yo=Pl,Tc(),xs&&Ft({url:xs},function(P){P?Yi(P):(yo=Ls,Tc())})},Bo={applyArabicShaping:null,processBidirectionalText:null,processStyledBidirectionalText:null,isLoaded:function(){return yo===Ls||Bo.applyArabicShaping!=null},isLoading:function(){return yo===Pl},setState:function(P){yo=P.pluginStatus,xs=P.pluginURL},isParsed:function(){return Bo.applyArabicShaping!=null&&Bo.processBidirectionalText!=null&&Bo.processStyledBidirectionalText!=null},getPluginURL:function(){return xs}},Wi=function(P,V){this.zoom=P,V?(this.now=V.now,this.fadeDuration=V.fadeDuration,this.zoomHistory=V.zoomHistory,this.transition=V.transition):(this.now=0,this.fadeDuration=0,this.zoomHistory=new Bu,this.transition={})};Wi.prototype.isSupportedScript=function(P){return function(V,J){for(var he=0,Ae=V;hethis.zoomHistory.lastIntegerZoom?{fromScale:2,toScale:1,t:V+(1-V)*J}:{fromScale:.5,toScale:1,t:1-(1-J)*V}};var no=function(P,V){this.property=P,this.value=V,this.expression=function(J,he){if(Cl(J))return new gc(J,he);if(Pu(J)){var Ae=Ou(J,he);if(Ae.result==="error")throw new Error(Ae.value.map(function(Ge){return Ge.key+": "+Ge.message}).join(", "));return Ae.value}var Oe=J;return typeof J=="string"&&he.type==="color"&&(Oe=pn.parse(J)),{kind:"constant",evaluate:function(){return Oe}}}(V===void 0?P.specification.default:V,P.specification)};no.prototype.isDataDriven=function(){return this.expression.kind==="source"||this.expression.kind==="composite"},no.prototype.possiblyEvaluate=function(P,V,J){return this.property.possiblyEvaluate(this,P,V,J)};var Is=function(P){this.property=P,this.value=new no(P,void 0)};Is.prototype.transitioned=function(P,V){return new qs(this.property,this.value,V,m({},P.transition,this.transition),P.now)},Is.prototype.untransitioned=function(){return new qs(this.property,this.value,null,{},0)};var No=function(P){this._properties=P,this._values=Object.create(P.defaultTransitionablePropertyValues)};No.prototype.getValue=function(P){return L(this._values[P].value.value)},No.prototype.setValue=function(P,V){this._values.hasOwnProperty(P)||(this._values[P]=new Is(this._values[P].property)),this._values[P].value=new no(this._values[P].property,V===null?void 0:L(V))},No.prototype.getTransition=function(P){return L(this._values[P].transition)},No.prototype.setTransition=function(P,V){this._values.hasOwnProperty(P)||(this._values[P]=new Is(this._values[P].property)),this._values[P].transition=L(V)||void 0},No.prototype.serialize=function(){for(var P={},V=0,J=Object.keys(this._values);Vthis.end)return this.prior=null,Ae;if(this.value.isDataDriven())return this.prior=null,Ae;if(he=1)return 1;var pt=it*it,Ct=pt*it;return 4*(it<.5?Ct:3*(it-pt)+Ct-.75)}(Ge))}return Ae};var Ol=function(P){this._properties=P,this._values=Object.create(P.defaultTransitioningPropertyValues)};Ol.prototype.possiblyEvaluate=function(P,V,J){for(var he=new ws(this._properties),Ae=0,Oe=Object.keys(this._values);AeOe.zoomHistory.lastIntegerZoom?{from:J,to:he}:{from:Ae,to:he}},V.prototype.interpolate=function(J){return J},V}(ni),cl=function(P){this.specification=P};cl.prototype.possiblyEvaluate=function(P,V,J,he){if(P.value!==void 0){if(P.expression.kind==="constant"){var Ae=P.expression.evaluate(V,null,{},J,he);return this._calculate(Ae,Ae,Ae,V)}return this._calculate(P.expression.evaluate(new Wi(Math.floor(V.zoom-1),V)),P.expression.evaluate(new Wi(Math.floor(V.zoom),V)),P.expression.evaluate(new Wi(Math.floor(V.zoom+1),V)),V)}},cl.prototype._calculate=function(P,V,J,he){return he.zoom>he.zoomHistory.lastIntegerZoom?{from:P,to:V}:{from:J,to:V}},cl.prototype.interpolate=function(P){return P};var Rs=function(P){this.specification=P};Rs.prototype.possiblyEvaluate=function(P,V,J,he){return!!P.expression.evaluate(V,null,{},J,he)},Rs.prototype.interpolate=function(){return!1};var xo=function(P){for(var V in this.properties=P,this.defaultPropertyValues={},this.defaultTransitionablePropertyValues={},this.defaultTransitioningPropertyValues={},this.defaultPossiblyEvaluatedValues={},this.overridableProperties=[],P){var J=P[V];J.specification.overridable&&this.overridableProperties.push(V);var he=this.defaultPropertyValues[V]=new no(J,void 0),Ae=this.defaultTransitionablePropertyValues[V]=new Is(J);this.defaultTransitioningPropertyValues[V]=Ae.untransitioned(),this.defaultPossiblyEvaluatedValues[V]=he.possiblyEvaluate({})}};Dr("DataDrivenProperty",ni),Dr("DataConstantProperty",Hr),Dr("CrossFadedDataDrivenProperty",Vu),Dr("CrossFadedProperty",cl),Dr("ColorRampProperty",Rs);var Zc="-transition",Vo=function(P){function V(J,he){if(P.call(this),this.id=J.id,this.type=J.type,this._featureFilter={filter:function(){return!0},needGeometry:!1},J.type!=="custom"&&(this.metadata=J.metadata,this.minzoom=J.minzoom,this.maxzoom=J.maxzoom,J.type!=="background"&&(this.source=J.source,this.sourceLayer=J["source-layer"],this.filter=J.filter),he.layout&&(this._unevaluatedLayout=new ul(he.layout)),he.paint)){for(var Ae in this._transitionablePaint=new No(he.paint),J.paint)this.setPaintProperty(Ae,J.paint[Ae],{validate:!1});for(var Oe in J.layout)this.setLayoutProperty(Oe,J.layout[Oe],{validate:!1});this._transitioningPaint=this._transitionablePaint.untransitioned(),this.paint=new ws(he.paint)}}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.getCrossfadeParameters=function(){return this._crossfadeParameters},V.prototype.getLayoutProperty=function(J){return J==="visibility"?this.visibility:this._unevaluatedLayout.getValue(J)},V.prototype.setLayoutProperty=function(J,he,Ae){if(Ae===void 0&&(Ae={}),he!=null){var Oe="layers."+this.id+".layout."+J;if(this._validate(Rl,Oe,J,he,Ae))return}J!=="visibility"?this._unevaluatedLayout.setValue(J,he):this.visibility=he},V.prototype.getPaintProperty=function(J){return E(J,Zc)?this._transitionablePaint.getTransition(J.slice(0,-Zc.length)):this._transitionablePaint.getValue(J)},V.prototype.setPaintProperty=function(J,he,Ae){if(Ae===void 0&&(Ae={}),he!=null){var Oe="layers."+this.id+".paint."+J;if(this._validate(zo,Oe,J,he,Ae))return!1}if(E(J,Zc))return this._transitionablePaint.setTransition(J.slice(0,-Zc.length),he||void 0),!1;var Ge=this._transitionablePaint._values[J],it=Ge.property.specification["property-type"]==="cross-faded-data-driven",pt=Ge.value.isDataDriven(),Ct=Ge.value;this._transitionablePaint.setValue(J,he),this._handleSpecialPaintPropertyUpdate(J);var Dt=this._transitionablePaint._values[J].value;return Dt.isDataDriven()||pt||it||this._handleOverridablePaintPropertyUpdate(J,Ct,Dt)},V.prototype._handleSpecialPaintPropertyUpdate=function(J){},V.prototype._handleOverridablePaintPropertyUpdate=function(J,he,Ae){return!1},V.prototype.isHidden=function(J){return!!(this.minzoom&&J=this.maxzoom)||this.visibility==="none"},V.prototype.updateTransitions=function(J){this._transitioningPaint=this._transitionablePaint.transitioned(J,this._transitioningPaint)},V.prototype.hasTransition=function(){return this._transitioningPaint.hasTransition()},V.prototype.recalculate=function(J,he){J.getCrossfadeParameters&&(this._crossfadeParameters=J.getCrossfadeParameters()),this._unevaluatedLayout&&(this.layout=this._unevaluatedLayout.possiblyEvaluate(J,void 0,he)),this.paint=this._transitioningPaint.possiblyEvaluate(J,void 0,he)},V.prototype.serialize=function(){var J={id:this.id,type:this.type,source:this.source,"source-layer":this.sourceLayer,metadata:this.metadata,minzoom:this.minzoom,maxzoom:this.maxzoom,filter:this.filter,layout:this._unevaluatedLayout&&this._unevaluatedLayout.serialize(),paint:this._transitionablePaint&&this._transitionablePaint.serialize()};return this.visibility&&(J.layout=J.layout||{},J.layout.visibility=this.visibility),A(J,function(he,Ae){return!(he===void 0||Ae==="layout"&&!Object.keys(he).length||Ae==="paint"&&!Object.keys(he).length)})},V.prototype._validate=function(J,he,Ae,Oe,Ge){return Ge===void 0&&(Ge={}),(!Ge||Ge.validate!==!1)&&vs(this,J.call(go,{key:he,layerType:this.type,objectKey:Ae,value:Oe,styleSpec:Re,style:{glyphs:!0,sprite:!0}}))},V.prototype.is3D=function(){return!1},V.prototype.isTileClipped=function(){return!1},V.prototype.hasOffscreenPass=function(){return!1},V.prototype.resize=function(){},V.prototype.isStateDependent=function(){for(var J in this.paint._values){var he=this.paint.get(J);if(he instanceof bo&&Iu(he.property.specification)&&(he.value.kind==="source"||he.value.kind==="composite")&&he.value.isStateDependent)return!0}return!1},V}(ft),ju={Int8:Int8Array,Uint8:Uint8Array,Int16:Int16Array,Uint16:Uint16Array,Int32:Int32Array,Uint32:Uint32Array,Float32:Float32Array},hl=function(P,V){this._structArray=P,this._pos1=V*this.size,this._pos2=this._pos1/2,this._pos4=this._pos1/4,this._pos8=this._pos1/8},Ji=function(){this.isTransferred=!1,this.capacity=-1,this.resize(0)};function la(P,V){V===void 0&&(V=1);var J=0,he=0;return{members:P.map(function(Ae){var Oe,Ge=(Oe=Ae.type,ju[Oe].BYTES_PER_ELEMENT),it=J=Xc(J,Math.max(V,Ge)),pt=Ae.components||1;return he=Math.max(he,Ge),J+=Ge*pt,{name:Ae.name,type:Ae.type,components:pt,offset:it}}),size:Xc(J,Math.max(he,V)),alignment:V}}function Xc(P,V){return Math.ceil(P/V)*V}Ji.serialize=function(P,V){return P._trim(),V&&(P.isTransferred=!0,V.push(P.arrayBuffer)),{length:P.length,arrayBuffer:P.arrayBuffer}},Ji.deserialize=function(P){var V=Object.create(this.prototype);return V.arrayBuffer=P.arrayBuffer,V.length=P.length,V.capacity=P.arrayBuffer.byteLength/V.bytesPerElement,V._refreshViews(),V},Ji.prototype._trim=function(){this.length!==this.capacity&&(this.capacity=this.length,this.arrayBuffer=this.arrayBuffer.slice(0,this.length*this.bytesPerElement),this._refreshViews())},Ji.prototype.clear=function(){this.length=0},Ji.prototype.resize=function(P){this.reserve(P),this.length=P},Ji.prototype.reserve=function(P){if(P>this.capacity){this.capacity=Math.max(P,Math.floor(5*this.capacity),128),this.arrayBuffer=new ArrayBuffer(this.capacity*this.bytesPerElement);var V=this.uint8;this._refreshViews(),V&&this.uint8.set(V)}},Ji.prototype._refreshViews=function(){throw new Error("_refreshViews() must be implemented by each concrete StructArray layout")};var et=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he){var Ae=this.length;return this.resize(Ae+1),this.emplace(Ae,J,he)},V.prototype.emplace=function(J,he,Ae){var Oe=2*J;return this.int16[Oe+0]=he,this.int16[Oe+1]=Ae,J},V}(Ji);et.prototype.bytesPerElement=4,Dr("StructArrayLayout2i4",et);var rt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe){var Ge=this.length;return this.resize(Ge+1),this.emplace(Ge,J,he,Ae,Oe)},V.prototype.emplace=function(J,he,Ae,Oe,Ge){var it=4*J;return this.int16[it+0]=he,this.int16[it+1]=Ae,this.int16[it+2]=Oe,this.int16[it+3]=Ge,J},V}(Ji);rt.prototype.bytesPerElement=8,Dr("StructArrayLayout4i8",rt);var ct=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it){var pt=this.length;return this.resize(pt+1),this.emplace(pt,J,he,Ae,Oe,Ge,it)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt){var Ct=6*J;return this.int16[Ct+0]=he,this.int16[Ct+1]=Ae,this.int16[Ct+2]=Oe,this.int16[Ct+3]=Ge,this.int16[Ct+4]=it,this.int16[Ct+5]=pt,J},V}(Ji);ct.prototype.bytesPerElement=12,Dr("StructArrayLayout2i4i12",ct);var vt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it){var pt=this.length;return this.resize(pt+1),this.emplace(pt,J,he,Ae,Oe,Ge,it)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt){var Ct=4*J,Dt=8*J;return this.int16[Ct+0]=he,this.int16[Ct+1]=Ae,this.uint8[Dt+4]=Oe,this.uint8[Dt+5]=Ge,this.uint8[Dt+6]=it,this.uint8[Dt+7]=pt,J},V}(Ji);vt.prototype.bytesPerElement=8,Dr("StructArrayLayout2i4ub8",vt);var St=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt){var Zt=this.length;return this.resize(Zt+1),this.emplace(Zt,J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt){var $t=9*J,fn=18*J;return this.uint16[$t+0]=he,this.uint16[$t+1]=Ae,this.uint16[$t+2]=Oe,this.uint16[$t+3]=Ge,this.uint16[$t+4]=it,this.uint16[$t+5]=pt,this.uint16[$t+6]=Ct,this.uint16[$t+7]=Dt,this.uint8[fn+16]=Gt,this.uint8[fn+17]=Zt,J},V}(Ji);St.prototype.bytesPerElement=18,Dr("StructArrayLayout8ui2ub18",St);var Mt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t){var fn=this.length;return this.resize(fn+1),this.emplace(fn,J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn){var Mn=12*J;return this.int16[Mn+0]=he,this.int16[Mn+1]=Ae,this.int16[Mn+2]=Oe,this.int16[Mn+3]=Ge,this.uint16[Mn+4]=it,this.uint16[Mn+5]=pt,this.uint16[Mn+6]=Ct,this.uint16[Mn+7]=Dt,this.int16[Mn+8]=Gt,this.int16[Mn+9]=Zt,this.int16[Mn+10]=$t,this.int16[Mn+11]=fn,J},V}(Ji);Mt.prototype.bytesPerElement=24,Dr("StructArrayLayout4i4ui4i24",Mt);var Y=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae){var Oe=this.length;return this.resize(Oe+1),this.emplace(Oe,J,he,Ae)},V.prototype.emplace=function(J,he,Ae,Oe){var Ge=3*J;return this.float32[Ge+0]=he,this.float32[Ge+1]=Ae,this.float32[Ge+2]=Oe,J},V}(Ji);Y.prototype.bytesPerElement=12,Dr("StructArrayLayout3f12",Y);var ee=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J){var he=this.length;return this.resize(he+1),this.emplace(he,J)},V.prototype.emplace=function(J,he){var Ae=1*J;return this.uint32[Ae+0]=he,J},V}(Ji);ee.prototype.bytesPerElement=4,Dr("StructArrayLayout1ul4",ee);var K=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt){var Gt=this.length;return this.resize(Gt+1),this.emplace(Gt,J,he,Ae,Oe,Ge,it,pt,Ct,Dt)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt){var Zt=10*J,$t=5*J;return this.int16[Zt+0]=he,this.int16[Zt+1]=Ae,this.int16[Zt+2]=Oe,this.int16[Zt+3]=Ge,this.int16[Zt+4]=it,this.int16[Zt+5]=pt,this.uint32[$t+3]=Ct,this.uint16[Zt+8]=Dt,this.uint16[Zt+9]=Gt,J},V}(Ji);K.prototype.bytesPerElement=20,Dr("StructArrayLayout6i1ul2ui20",K);var le=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it){var pt=this.length;return this.resize(pt+1),this.emplace(pt,J,he,Ae,Oe,Ge,it)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt){var Ct=6*J;return this.int16[Ct+0]=he,this.int16[Ct+1]=Ae,this.int16[Ct+2]=Oe,this.int16[Ct+3]=Ge,this.int16[Ct+4]=it,this.int16[Ct+5]=pt,J},V}(Ji);le.prototype.bytesPerElement=12,Dr("StructArrayLayout2i2i2i12",le);var Te=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge){var it=this.length;return this.resize(it+1),this.emplace(it,J,he,Ae,Oe,Ge)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it){var pt=4*J,Ct=8*J;return this.float32[pt+0]=he,this.float32[pt+1]=Ae,this.float32[pt+2]=Oe,this.int16[Ct+6]=Ge,this.int16[Ct+7]=it,J},V}(Ji);Te.prototype.bytesPerElement=16,Dr("StructArrayLayout2f1f2i16",Te);var De=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe){var Ge=this.length;return this.resize(Ge+1),this.emplace(Ge,J,he,Ae,Oe)},V.prototype.emplace=function(J,he,Ae,Oe,Ge){var it=12*J,pt=3*J;return this.uint8[it+0]=he,this.uint8[it+1]=Ae,this.float32[pt+1]=Oe,this.float32[pt+2]=Ge,J},V}(Ji);De.prototype.bytesPerElement=12,Dr("StructArrayLayout2ub2f12",De);var He=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae){var Oe=this.length;return this.resize(Oe+1),this.emplace(Oe,J,he,Ae)},V.prototype.emplace=function(J,he,Ae,Oe){var Ge=3*J;return this.uint16[Ge+0]=he,this.uint16[Ge+1]=Ae,this.uint16[Ge+2]=Oe,J},V}(Ji);He.prototype.bytesPerElement=6,Dr("StructArrayLayout3ui6",He);var Ze=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn,Mn,Nn,Bn,Wn){var Zn=this.length;return this.resize(Zn+1),this.emplace(Zn,J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn,Mn,Nn,Bn,Wn)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn,Mn,Nn,Bn,Wn,Zn){var er=24*J,sr=12*J,fr=48*J;return this.int16[er+0]=he,this.int16[er+1]=Ae,this.uint16[er+2]=Oe,this.uint16[er+3]=Ge,this.uint32[sr+2]=it,this.uint32[sr+3]=pt,this.uint32[sr+4]=Ct,this.uint16[er+10]=Dt,this.uint16[er+11]=Gt,this.uint16[er+12]=Zt,this.float32[sr+7]=$t,this.float32[sr+8]=fn,this.uint8[fr+36]=Mn,this.uint8[fr+37]=Nn,this.uint8[fr+38]=Bn,this.uint32[sr+10]=Wn,this.int16[er+22]=Zn,J},V}(Ji);Ze.prototype.bytesPerElement=48,Dr("StructArrayLayout2i2ui3ul3ui2f3ub1ul1i48",Ze);var at=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn,Mn,Nn,Bn,Wn,Zn,er,sr,fr,Pr,Tr,Nr,Xr,hi,Jr,ui){var ri=this.length;return this.resize(ri+1),this.emplace(ri,J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn,Mn,Nn,Bn,Wn,Zn,er,sr,fr,Pr,Tr,Nr,Xr,hi,Jr,ui)},V.prototype.emplace=function(J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn,Mn,Nn,Bn,Wn,Zn,er,sr,fr,Pr,Tr,Nr,Xr,hi,Jr,ui,ri){var Kr=34*J,Di=17*J;return this.int16[Kr+0]=he,this.int16[Kr+1]=Ae,this.int16[Kr+2]=Oe,this.int16[Kr+3]=Ge,this.int16[Kr+4]=it,this.int16[Kr+5]=pt,this.int16[Kr+6]=Ct,this.int16[Kr+7]=Dt,this.uint16[Kr+8]=Gt,this.uint16[Kr+9]=Zt,this.uint16[Kr+10]=$t,this.uint16[Kr+11]=fn,this.uint16[Kr+12]=Mn,this.uint16[Kr+13]=Nn,this.uint16[Kr+14]=Bn,this.uint16[Kr+15]=Wn,this.uint16[Kr+16]=Zn,this.uint16[Kr+17]=er,this.uint16[Kr+18]=sr,this.uint16[Kr+19]=fr,this.uint16[Kr+20]=Pr,this.uint16[Kr+21]=Tr,this.uint16[Kr+22]=Nr,this.uint32[Di+12]=Xr,this.float32[Di+13]=hi,this.float32[Di+14]=Jr,this.float32[Di+15]=ui,this.float32[Di+16]=ri,J},V}(Ji);at.prototype.bytesPerElement=68,Dr("StructArrayLayout8i15ui1ul4f68",at);var Tt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J){var he=this.length;return this.resize(he+1),this.emplace(he,J)},V.prototype.emplace=function(J,he){var Ae=1*J;return this.float32[Ae+0]=he,J},V}(Ji);Tt.prototype.bytesPerElement=4,Dr("StructArrayLayout1f4",Tt);var At=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae){var Oe=this.length;return this.resize(Oe+1),this.emplace(Oe,J,he,Ae)},V.prototype.emplace=function(J,he,Ae,Oe){var Ge=3*J;return this.int16[Ge+0]=he,this.int16[Ge+1]=Ae,this.int16[Ge+2]=Oe,J},V}(Ji);At.prototype.bytesPerElement=6,Dr("StructArrayLayout3i6",At);var se=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae){var Oe=this.length;return this.resize(Oe+1),this.emplace(Oe,J,he,Ae)},V.prototype.emplace=function(J,he,Ae,Oe){var Ge=2*J,it=4*J;return this.uint32[Ge+0]=he,this.uint16[it+2]=Ae,this.uint16[it+3]=Oe,J},V}(Ji);se.prototype.bytesPerElement=8,Dr("StructArrayLayout1ul2ui8",se);var ve=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he){var Ae=this.length;return this.resize(Ae+1),this.emplace(Ae,J,he)},V.prototype.emplace=function(J,he,Ae){var Oe=2*J;return this.uint16[Oe+0]=he,this.uint16[Oe+1]=Ae,J},V}(Ji);ve.prototype.bytesPerElement=4,Dr("StructArrayLayout2ui4",ve);var Ie=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J){var he=this.length;return this.resize(he+1),this.emplace(he,J)},V.prototype.emplace=function(J,he){var Ae=1*J;return this.uint16[Ae+0]=he,J},V}(Ji);Ie.prototype.bytesPerElement=2,Dr("StructArrayLayout1ui2",Ie);var Fe=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he){var Ae=this.length;return this.resize(Ae+1),this.emplace(Ae,J,he)},V.prototype.emplace=function(J,he,Ae){var Oe=2*J;return this.float32[Oe+0]=he,this.float32[Oe+1]=Ae,J},V}(Ji);Fe.prototype.bytesPerElement=8,Dr("StructArrayLayout2f8",Fe);var Ue=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},V.prototype.emplaceBack=function(J,he,Ae,Oe){var Ge=this.length;return this.resize(Ge+1),this.emplace(Ge,J,he,Ae,Oe)},V.prototype.emplace=function(J,he,Ae,Oe,Ge){var it=4*J;return this.float32[it+0]=he,this.float32[it+1]=Ae,this.float32[it+2]=Oe,this.float32[it+3]=Ge,J},V}(Ji);Ue.prototype.bytesPerElement=16,Dr("StructArrayLayout4f16",Ue);var We=function(P){function V(){P.apply(this,arguments)}P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V;var J={anchorPointX:{configurable:!0},anchorPointY:{configurable:!0},x1:{configurable:!0},y1:{configurable:!0},x2:{configurable:!0},y2:{configurable:!0},featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0},anchorPoint:{configurable:!0}};return J.anchorPointX.get=function(){return this._structArray.int16[this._pos2+0]},J.anchorPointY.get=function(){return this._structArray.int16[this._pos2+1]},J.x1.get=function(){return this._structArray.int16[this._pos2+2]},J.y1.get=function(){return this._structArray.int16[this._pos2+3]},J.x2.get=function(){return this._structArray.int16[this._pos2+4]},J.y2.get=function(){return this._structArray.int16[this._pos2+5]},J.featureIndex.get=function(){return this._structArray.uint32[this._pos4+3]},J.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+8]},J.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+9]},J.anchorPoint.get=function(){return new a(this.anchorPointX,this.anchorPointY)},Object.defineProperties(V.prototype,J),V}(hl);We.prototype.size=20;var Xe=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new We(this,J)},V}(K);Dr("CollisionBoxArray",Xe);var tt=function(P){function V(){P.apply(this,arguments)}P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V;var J={anchorX:{configurable:!0},anchorY:{configurable:!0},glyphStartIndex:{configurable:!0},numGlyphs:{configurable:!0},vertexStartIndex:{configurable:!0},lineStartIndex:{configurable:!0},lineLength:{configurable:!0},segment:{configurable:!0},lowerSize:{configurable:!0},upperSize:{configurable:!0},lineOffsetX:{configurable:!0},lineOffsetY:{configurable:!0},writingMode:{configurable:!0},placedOrientation:{configurable:!0},hidden:{configurable:!0},crossTileID:{configurable:!0},associatedIconIndex:{configurable:!0}};return J.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},J.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},J.glyphStartIndex.get=function(){return this._structArray.uint16[this._pos2+2]},J.numGlyphs.get=function(){return this._structArray.uint16[this._pos2+3]},J.vertexStartIndex.get=function(){return this._structArray.uint32[this._pos4+2]},J.lineStartIndex.get=function(){return this._structArray.uint32[this._pos4+3]},J.lineLength.get=function(){return this._structArray.uint32[this._pos4+4]},J.segment.get=function(){return this._structArray.uint16[this._pos2+10]},J.lowerSize.get=function(){return this._structArray.uint16[this._pos2+11]},J.upperSize.get=function(){return this._structArray.uint16[this._pos2+12]},J.lineOffsetX.get=function(){return this._structArray.float32[this._pos4+7]},J.lineOffsetY.get=function(){return this._structArray.float32[this._pos4+8]},J.writingMode.get=function(){return this._structArray.uint8[this._pos1+36]},J.placedOrientation.get=function(){return this._structArray.uint8[this._pos1+37]},J.placedOrientation.set=function(he){this._structArray.uint8[this._pos1+37]=he},J.hidden.get=function(){return this._structArray.uint8[this._pos1+38]},J.hidden.set=function(he){this._structArray.uint8[this._pos1+38]=he},J.crossTileID.get=function(){return this._structArray.uint32[this._pos4+10]},J.crossTileID.set=function(he){this._structArray.uint32[this._pos4+10]=he},J.associatedIconIndex.get=function(){return this._structArray.int16[this._pos2+22]},Object.defineProperties(V.prototype,J),V}(hl);tt.prototype.size=48;var lt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new tt(this,J)},V}(Ze);Dr("PlacedSymbolArray",lt);var mt=function(P){function V(){P.apply(this,arguments)}P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V;var J={anchorX:{configurable:!0},anchorY:{configurable:!0},rightJustifiedTextSymbolIndex:{configurable:!0},centerJustifiedTextSymbolIndex:{configurable:!0},leftJustifiedTextSymbolIndex:{configurable:!0},verticalPlacedTextSymbolIndex:{configurable:!0},placedIconSymbolIndex:{configurable:!0},verticalPlacedIconSymbolIndex:{configurable:!0},key:{configurable:!0},textBoxStartIndex:{configurable:!0},textBoxEndIndex:{configurable:!0},verticalTextBoxStartIndex:{configurable:!0},verticalTextBoxEndIndex:{configurable:!0},iconBoxStartIndex:{configurable:!0},iconBoxEndIndex:{configurable:!0},verticalIconBoxStartIndex:{configurable:!0},verticalIconBoxEndIndex:{configurable:!0},featureIndex:{configurable:!0},numHorizontalGlyphVertices:{configurable:!0},numVerticalGlyphVertices:{configurable:!0},numIconVertices:{configurable:!0},numVerticalIconVertices:{configurable:!0},useRuntimeCollisionCircles:{configurable:!0},crossTileID:{configurable:!0},textBoxScale:{configurable:!0},textOffset0:{configurable:!0},textOffset1:{configurable:!0},collisionCircleDiameter:{configurable:!0}};return J.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},J.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},J.rightJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+2]},J.centerJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+3]},J.leftJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+4]},J.verticalPlacedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+5]},J.placedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+6]},J.verticalPlacedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+7]},J.key.get=function(){return this._structArray.uint16[this._pos2+8]},J.textBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+9]},J.textBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+10]},J.verticalTextBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+11]},J.verticalTextBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+12]},J.iconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+13]},J.iconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+14]},J.verticalIconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+15]},J.verticalIconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+16]},J.featureIndex.get=function(){return this._structArray.uint16[this._pos2+17]},J.numHorizontalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+18]},J.numVerticalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+19]},J.numIconVertices.get=function(){return this._structArray.uint16[this._pos2+20]},J.numVerticalIconVertices.get=function(){return this._structArray.uint16[this._pos2+21]},J.useRuntimeCollisionCircles.get=function(){return this._structArray.uint16[this._pos2+22]},J.crossTileID.get=function(){return this._structArray.uint32[this._pos4+12]},J.crossTileID.set=function(he){this._structArray.uint32[this._pos4+12]=he},J.textBoxScale.get=function(){return this._structArray.float32[this._pos4+13]},J.textOffset0.get=function(){return this._structArray.float32[this._pos4+14]},J.textOffset1.get=function(){return this._structArray.float32[this._pos4+15]},J.collisionCircleDiameter.get=function(){return this._structArray.float32[this._pos4+16]},Object.defineProperties(V.prototype,J),V}(hl);mt.prototype.size=68;var zt=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new mt(this,J)},V}(at);Dr("SymbolInstanceArray",zt);var Ut=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.getoffsetX=function(J){return this.float32[1*J+0]},V}(Tt);Dr("GlyphOffsetArray",Ut);var Ht=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.getx=function(J){return this.int16[3*J+0]},V.prototype.gety=function(J){return this.int16[3*J+1]},V.prototype.gettileUnitDistanceFromAnchor=function(J){return this.int16[3*J+2]},V}(At);Dr("SymbolLineVertexArray",Ht);var en=function(P){function V(){P.apply(this,arguments)}P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V;var J={featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0}};return J.featureIndex.get=function(){return this._structArray.uint32[this._pos4+0]},J.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+2]},J.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+3]},Object.defineProperties(V.prototype,J),V}(hl);en.prototype.size=8;var vn=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.get=function(J){return new en(this,J)},V}(se);Dr("FeatureIndexArray",vn);var tn=la([{name:"a_pos",components:2,type:"Int16"}],4).members,ln=function(P){P===void 0&&(P=[]),this.segments=P};function an(P,V){return 256*(P=c(Math.floor(P),0,255))+c(Math.floor(V),0,255)}ln.prototype.prepareSegment=function(P,V,J,he){var Ae=this.segments[this.segments.length-1];return P>ln.MAX_VERTEX_ARRAY_LENGTH&&R("Max vertices per segment is "+ln.MAX_VERTEX_ARRAY_LENGTH+": bucket requested "+P),(!Ae||Ae.vertexLength+P>ln.MAX_VERTEX_ARRAY_LENGTH||Ae.sortKey!==he)&&(Ae={vertexOffset:V.length,primitiveOffset:J.length,vertexLength:0,primitiveLength:0},he!==void 0&&(Ae.sortKey=he),this.segments.push(Ae)),Ae},ln.prototype.get=function(){return this.segments},ln.prototype.destroy=function(){for(var P=0,V=this.segments;P>>16)*it&65535)<<16)&4294967295)<<15|Ct>>>17))*pt+(((Ct>>>16)*pt&65535)<<16)&4294967295)<<13|Oe>>>19))+((5*(Oe>>>16)&65535)<<16)&4294967295))+((58964+(Ge>>>16)&65535)<<16);switch(Ct=0,he){case 3:Ct^=(255&V.charCodeAt(Dt+2))<<16;case 2:Ct^=(255&V.charCodeAt(Dt+1))<<8;case 1:Oe^=Ct=(65535&(Ct=(Ct=(65535&(Ct^=255&V.charCodeAt(Dt)))*it+(((Ct>>>16)*it&65535)<<16)&4294967295)<<15|Ct>>>17))*pt+(((Ct>>>16)*pt&65535)<<16)&4294967295}return Oe^=V.length,Oe=2246822507*(65535&(Oe^=Oe>>>16))+((2246822507*(Oe>>>16)&65535)<<16)&4294967295,Oe=3266489909*(65535&(Oe^=Oe>>>13))+((3266489909*(Oe>>>16)&65535)<<16)&4294967295,(Oe^=Oe>>>16)>>>0}}),on=M(function(P){P.exports=function(V,J){for(var he,Ae=V.length,Oe=J^Ae,Ge=0;Ae>=4;)he=1540483477*(65535&(he=255&V.charCodeAt(Ge)|(255&V.charCodeAt(++Ge))<<8|(255&V.charCodeAt(++Ge))<<16|(255&V.charCodeAt(++Ge))<<24))+((1540483477*(he>>>16)&65535)<<16),Oe=1540483477*(65535&Oe)+((1540483477*(Oe>>>16)&65535)<<16)^(he=1540483477*(65535&(he^=he>>>24))+((1540483477*(he>>>16)&65535)<<16)),Ae-=4,++Ge;switch(Ae){case 3:Oe^=(255&V.charCodeAt(Ge+2))<<16;case 2:Oe^=(255&V.charCodeAt(Ge+1))<<8;case 1:Oe=1540483477*(65535&(Oe^=255&V.charCodeAt(Ge)))+((1540483477*(Oe>>>16)&65535)<<16)}return Oe=1540483477*(65535&(Oe^=Oe>>>13))+((1540483477*(Oe>>>16)&65535)<<16),(Oe^=Oe>>>15)>>>0}}),Fn=_n,Hn=_n,ir=on;Fn.murmur3=Hn,Fn.murmur2=ir;var ar=function(){this.ids=[],this.positions=[],this.indexed=!1};ar.prototype.add=function(P,V,J,he){this.ids.push(Er(P)),this.positions.push(V,J,he)},ar.prototype.getPositions=function(P){for(var V=Er(P),J=0,he=this.ids.length-1;J>1;this.ids[Ae]>=V?he=Ae:J=Ae+1}for(var Oe=[];this.ids[J]===V;){var Ge=this.positions[3*J],it=this.positions[3*J+1],pt=this.positions[3*J+2];Oe.push({index:Ge,start:it,end:pt}),J++}return Oe},ar.serialize=function(P,V){var J=new Float64Array(P.ids),he=new Uint32Array(P.positions);return xr(J,he,0,J.length-1),V&&V.push(J.buffer,he.buffer),{ids:J,positions:he}},ar.deserialize=function(P){var V=new ar;return V.ids=P.ids,V.positions=P.positions,V.indexed=!0,V};var Mr=Math.pow(2,53)-1;function Er(P){var V=+P;return!isNaN(V)&&V<=Mr?V:Fn(String(P))}function xr(P,V,J,he){for(;J>1],Oe=J-1,Ge=he+1;;){do Oe++;while(P[Oe]Ae);if(Oe>=Ge)break;kr(P,Oe,Ge),kr(V,3*Oe,3*Ge),kr(V,3*Oe+1,3*Ge+1),kr(V,3*Oe+2,3*Ge+2)}Ge-J_o.max||Ge.y<_o.min||Ge.y>_o.max)&&(R("Geometry exceeds allowed extent, reduce your vector tile buffer size"),Ge.x=c(Ge.x,_o.min,_o.max),Ge.y=c(Ge.y,_o.min,_o.max))}return J}function Ps(P,V,J,he,Ae){P.emplaceBack(2*V+(he+1)/2,2*J+(Ae+1)/2)}var Ri=function(P){this.zoom=P.zoom,this.overscaling=P.overscaling,this.layers=P.layers,this.layerIds=this.layers.map(function(V){return V.id}),this.index=P.index,this.hasPattern=!1,this.layoutVertexArray=new et,this.indexArray=new He,this.segments=new ln,this.programConfigurations=new Ia(tn,P.layers,P.zoom),this.stateDependentLayerIds=this.layers.filter(function(V){return V.isStateDependent()}).map(function(V){return V.id})};function Xa(P,V){for(var J=0;J1){if(L0(P,V))return!0;for(var he=0;he1?P.distSqr(J):P.distSqr(J.sub(V)._mult(Ae)._add(V))}function od(P,V){for(var J,he,Ae,Oe=!1,Ge=0;GeV.y!=Ae.y>V.y&&V.x<(Ae.x-he.x)*(V.y-he.y)/(Ae.y-he.y)+he.x&&(Oe=!Oe);return Oe}function wf(P,V){for(var J=!1,he=0,Ae=P.length-1;heV.y!=Ge.y>V.y&&V.x<(Ge.x-Oe.x)*(V.y-Oe.y)/(Ge.y-Oe.y)+Oe.x&&(J=!J)}return J}function p1(P,V,J){var he=J[0],Ae=J[2];if(P.xAe.x&&V.x>Ae.x||P.yAe.y&&V.y>Ae.y)return!1;var Oe=I(P,V,J[0]);return Oe!==I(P,V,J[1])||Oe!==I(P,V,J[2])||Oe!==I(P,V,J[3])}function zh(P,V,J){var he=V.paint.get(P).value;return he.kind==="constant"?he.value:J.programConfigurations.get(V.id).getMaxValue(P)}function dg(P){return Math.sqrt(P[0]*P[0]+P[1]*P[1])}function pg(P,V,J,he,Ae){if(!V[0]&&!V[1])return P;var Oe=a.convert(V)._mult(Ae);J==="viewport"&&Oe._rotate(-he);for(var Ge=[],it=0;it=li||Dt<0||Dt>=li)){var Gt=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray,P.sortKey),Zt=Gt.vertexLength;Ps(this.layoutVertexArray,Ct,Dt,-1,-1),Ps(this.layoutVertexArray,Ct,Dt,1,-1),Ps(this.layoutVertexArray,Ct,Dt,1,1),Ps(this.layoutVertexArray,Ct,Dt,-1,1),this.indexArray.emplaceBack(Zt,Zt+1,Zt+2),this.indexArray.emplaceBack(Zt,Zt+3,Zt+2),Gt.vertexLength+=4,Gt.primitiveLength+=2}}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,P,J,{},he)},Dr("CircleBucket",Ri,{omit:["layers"]});var TS=new xo({"circle-sort-key":new ni(Re.layout_circle["circle-sort-key"])}),kS={paint:new xo({"circle-radius":new ni(Re.paint_circle["circle-radius"]),"circle-color":new ni(Re.paint_circle["circle-color"]),"circle-blur":new ni(Re.paint_circle["circle-blur"]),"circle-opacity":new ni(Re.paint_circle["circle-opacity"]),"circle-translate":new Hr(Re.paint_circle["circle-translate"]),"circle-translate-anchor":new Hr(Re.paint_circle["circle-translate-anchor"]),"circle-pitch-scale":new Hr(Re.paint_circle["circle-pitch-scale"]),"circle-pitch-alignment":new Hr(Re.paint_circle["circle-pitch-alignment"]),"circle-stroke-width":new ni(Re.paint_circle["circle-stroke-width"]),"circle-stroke-color":new ni(Re.paint_circle["circle-stroke-color"]),"circle-stroke-opacity":new ni(Re.paint_circle["circle-stroke-opacity"])}),layout:TS},zl=typeof Float32Array<"u"?Float32Array:Array;function m1(P){return P[0]=1,P[1]=0,P[2]=0,P[3]=0,P[4]=0,P[5]=1,P[6]=0,P[7]=0,P[8]=0,P[9]=0,P[10]=1,P[11]=0,P[12]=0,P[13]=0,P[14]=0,P[15]=1,P}function L_(P,V,J){var he=V[0],Ae=V[1],Oe=V[2],Ge=V[3],it=V[4],pt=V[5],Ct=V[6],Dt=V[7],Gt=V[8],Zt=V[9],$t=V[10],fn=V[11],Mn=V[12],Nn=V[13],Bn=V[14],Wn=V[15],Zn=J[0],er=J[1],sr=J[2],fr=J[3];return P[0]=Zn*he+er*it+sr*Gt+fr*Mn,P[1]=Zn*Ae+er*pt+sr*Zt+fr*Nn,P[2]=Zn*Oe+er*Ct+sr*$t+fr*Bn,P[3]=Zn*Ge+er*Dt+sr*fn+fr*Wn,Zn=J[4],er=J[5],sr=J[6],fr=J[7],P[4]=Zn*he+er*it+sr*Gt+fr*Mn,P[5]=Zn*Ae+er*pt+sr*Zt+fr*Nn,P[6]=Zn*Oe+er*Ct+sr*$t+fr*Bn,P[7]=Zn*Ge+er*Dt+sr*fn+fr*Wn,Zn=J[8],er=J[9],sr=J[10],fr=J[11],P[8]=Zn*he+er*it+sr*Gt+fr*Mn,P[9]=Zn*Ae+er*pt+sr*Zt+fr*Nn,P[10]=Zn*Oe+er*Ct+sr*$t+fr*Bn,P[11]=Zn*Ge+er*Dt+sr*fn+fr*Wn,Zn=J[12],er=J[13],sr=J[14],fr=J[15],P[12]=Zn*he+er*it+sr*Gt+fr*Mn,P[13]=Zn*Ae+er*pt+sr*Zt+fr*Nn,P[14]=Zn*Oe+er*Ct+sr*$t+fr*Bn,P[15]=Zn*Ge+er*Dt+sr*fn+fr*Wn,P}Math.hypot||(Math.hypot=function(){for(var P=arguments,V=0,J=arguments.length;J--;)V+=P[J]*P[J];return Math.sqrt(V)});var MS=L_,mg,AS=function(P,V,J){return P[0]=V[0]-J[0],P[1]=V[1]-J[1],P[2]=V[2]-J[2],P};function gg(P,V,J){var he=V[0],Ae=V[1],Oe=V[2],Ge=V[3];return P[0]=J[0]*he+J[4]*Ae+J[8]*Oe+J[12]*Ge,P[1]=J[1]*he+J[5]*Ae+J[9]*Oe+J[13]*Ge,P[2]=J[2]*he+J[6]*Ae+J[10]*Oe+J[14]*Ge,P[3]=J[3]*he+J[7]*Ae+J[11]*Oe+J[15]*Ge,P}mg=new zl(3),zl!=Float32Array&&(mg[0]=0,mg[1]=0,mg[2]=0),function(){var P=new zl(4);zl!=Float32Array&&(P[0]=0,P[1]=0,P[2]=0,P[3]=0)}();var SS=function(P){var V=P[0],J=P[1];return V*V+J*J},CS=(function(){var P=new zl(2);zl!=Float32Array&&(P[0]=0,P[1]=0)}(),function(P){function V(J){P.call(this,J,kS)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.createBucket=function(J){return new Ri(J)},V.prototype.queryRadius=function(J){var he=J;return zh("circle-radius",this,he)+zh("circle-stroke-width",this,he)+dg(this.paint.get("circle-translate"))},V.prototype.queryIntersectsFeature=function(J,he,Ae,Oe,Ge,it,pt,Ct){for(var Dt=pg(J,this.paint.get("circle-translate"),this.paint.get("circle-translate-anchor"),it.angle,pt),Gt=this.paint.get("circle-radius").evaluate(he,Ae)+this.paint.get("circle-stroke-width").evaluate(he,Ae),Zt=this.paint.get("circle-pitch-alignment")==="map",$t=Zt?Dt:function(Pr,Tr){return Pr.map(function(Nr){return I_(Nr,Tr)})}(Dt,Ct),fn=Zt?Gt*pt:Gt,Mn=0,Nn=Oe;MnP.width||Ae.height>P.height||J.x>P.width-Ae.width||J.y>P.height-Ae.height)throw new RangeError("out of range source coordinates for image copy");if(Ae.width>V.width||Ae.height>V.height||he.x>V.width-Ae.width||he.y>V.height-Ae.height)throw new RangeError("out of range destination coordinates for image copy");for(var Ge=P.data,it=V.data,pt=0;pt80*J){he=Oe=P[0],Ae=Ge=P[1];for(var fn=J;fnOe&&(Oe=it),pt>Ge&&(Ge=pt);Ct=(Ct=Math.max(Oe-he,Ge-Ae))!==0?1/Ct:0}return I0(Zt,$t,J,he,Ae,Ct),$t}function z_(P,V,J,he,Ae){var Oe,Ge;if(Ae===_1(P,V,J,he)>0)for(Oe=V;Oe=V;Oe-=he)Ge=N_(Oe,P[Oe],P[Oe+1],Ge);return Ge&&yg(Ge,Ge.next)&&(P0(Ge),Ge=Ge.next),Ge}function Tf(P,V){if(!P)return P;V||(V=P);var J,he=P;do if(J=!1,he.steiner||!yg(he,he.next)&&wo(he.prev,he,he.next)!==0)he=he.next;else{if(P0(he),(he=V=he.prev)===he.next)break;J=!0}while(J||he!==V);return V}function I0(P,V,J,he,Ae,Oe,Ge){if(P){!Ge&&Oe&&function(Dt,Gt,Zt,$t){var fn=Dt;do fn.z===null&&(fn.z=b1(fn.x,fn.y,Gt,Zt,$t)),fn.prevZ=fn.prev,fn.nextZ=fn.next,fn=fn.next;while(fn!==Dt);fn.prevZ.nextZ=null,fn.prevZ=null,function(Mn){var Nn,Bn,Wn,Zn,er,sr,fr,Pr,Tr=1;do{for(Bn=Mn,Mn=null,er=null,sr=0;Bn;){for(sr++,Wn=Bn,fr=0,Nn=0;Nn0||Pr>0&&Wn;)fr!==0&&(Pr===0||!Wn||Bn.z<=Wn.z)?(Zn=Bn,Bn=Bn.nextZ,fr--):(Zn=Wn,Wn=Wn.nextZ,Pr--),er?er.nextZ=Zn:Mn=Zn,Zn.prevZ=er,er=Zn;Bn=Wn}er.nextZ=null,Tr*=2}while(sr>1)}(fn)}(P,he,Ae,Oe);for(var it,pt,Ct=P;P.prev!==P.next;)if(it=P.prev,pt=P.next,Oe?DS(P,he,Ae,Oe):OS(P))V.push(it.i/J),V.push(P.i/J),V.push(pt.i/J),P0(P),P=pt.next,Ct=pt.next;else if((P=pt)===Ct){Ge?Ge===1?I0(P=zS(Tf(P),V,J),V,J,he,Ae,Oe,2):Ge===2&&FS(P,V,J,he,Ae,Oe):I0(Tf(P),V,J,he,Ae,Oe,1);break}}}function OS(P){var V=P.prev,J=P,he=P.next;if(wo(V,J,he)>=0)return!1;for(var Ae=P.next.next;Ae!==P.prev;){if(ap(V.x,V.y,J.x,J.y,he.x,he.y,Ae.x,Ae.y)&&wo(Ae.prev,Ae,Ae.next)>=0)return!1;Ae=Ae.next}return!0}function DS(P,V,J,he){var Ae=P.prev,Oe=P,Ge=P.next;if(wo(Ae,Oe,Ge)>=0)return!1;for(var it=Ae.xOe.x?Ae.x>Ge.x?Ae.x:Ge.x:Oe.x>Ge.x?Oe.x:Ge.x,Dt=Ae.y>Oe.y?Ae.y>Ge.y?Ae.y:Ge.y:Oe.y>Ge.y?Oe.y:Ge.y,Gt=b1(it,pt,V,J,he),Zt=b1(Ct,Dt,V,J,he),$t=P.prevZ,fn=P.nextZ;$t&&$t.z>=Gt&&fn&&fn.z<=Zt;){if($t!==P.prev&&$t!==P.next&&ap(Ae.x,Ae.y,Oe.x,Oe.y,Ge.x,Ge.y,$t.x,$t.y)&&wo($t.prev,$t,$t.next)>=0||($t=$t.prevZ,fn!==P.prev&&fn!==P.next&&ap(Ae.x,Ae.y,Oe.x,Oe.y,Ge.x,Ge.y,fn.x,fn.y)&&wo(fn.prev,fn,fn.next)>=0))return!1;fn=fn.nextZ}for(;$t&&$t.z>=Gt;){if($t!==P.prev&&$t!==P.next&&ap(Ae.x,Ae.y,Oe.x,Oe.y,Ge.x,Ge.y,$t.x,$t.y)&&wo($t.prev,$t,$t.next)>=0)return!1;$t=$t.prevZ}for(;fn&&fn.z<=Zt;){if(fn!==P.prev&&fn!==P.next&&ap(Ae.x,Ae.y,Oe.x,Oe.y,Ge.x,Ge.y,fn.x,fn.y)&&wo(fn.prev,fn,fn.next)>=0)return!1;fn=fn.nextZ}return!0}function zS(P,V,J){var he=P;do{var Ae=he.prev,Oe=he.next.next;!yg(Ae,Oe)&&F_(Ae,he,he.next,Oe)&&R0(Ae,Oe)&&R0(Oe,Ae)&&(V.push(Ae.i/J),V.push(he.i/J),V.push(Oe.i/J),P0(he),P0(he.next),he=P=Oe),he=he.next}while(he!==P);return Tf(he)}function FS(P,V,J,he,Ae,Oe){var Ge=P;do{for(var it=Ge.next.next;it!==Ge.prev;){if(Ge.i!==it.i&&US(Ge,it)){var pt=B_(Ge,it);return Ge=Tf(Ge,Ge.next),pt=Tf(pt,pt.next),I0(Ge,V,J,he,Ae,Oe),void I0(pt,V,J,he,Ae,Oe)}it=it.next}Ge=Ge.next}while(Ge!==P)}function BS(P,V){return P.x-V.x}function NS(P,V){if(V=function(he,Ae){var Oe,Ge=Ae,it=he.x,pt=he.y,Ct=-1/0;do{if(pt<=Ge.y&&pt>=Ge.next.y&&Ge.next.y!==Ge.y){var Dt=Ge.x+(pt-Ge.y)*(Ge.next.x-Ge.x)/(Ge.next.y-Ge.y);if(Dt<=it&&Dt>Ct){if(Ct=Dt,Dt===it){if(pt===Ge.y)return Ge;if(pt===Ge.next.y)return Ge.next}Oe=Ge.x=Ge.x&&Ge.x>=$t&&it!==Ge.x&&ap(ptOe.x||Ge.x===Oe.x&&VS(Oe,Ge)))&&(Oe=Ge,Mn=Gt)),Ge=Ge.next;while(Ge!==Zt);return Oe}(P,V)){var J=B_(V,P);Tf(V,V.next),Tf(J,J.next)}}function VS(P,V){return wo(P.prev,P,V.prev)<0&&wo(V.next,P,P.next)<0}function b1(P,V,J,he,Ae){return(P=1431655765&((P=858993459&((P=252645135&((P=16711935&((P=32767*(P-J)*Ae)|P<<8))|P<<4))|P<<2))|P<<1))|(V=1431655765&((V=858993459&((V=252645135&((V=16711935&((V=32767*(V-he)*Ae)|V<<8))|V<<4))|V<<2))|V<<1))<<1}function jS(P){var V=P,J=P;do(V.x=0&&(P-Ge)*(he-it)-(J-Ge)*(V-it)>=0&&(J-Ge)*(Oe-it)-(Ae-Ge)*(he-it)>=0}function US(P,V){return P.next.i!==V.i&&P.prev.i!==V.i&&!function(J,he){var Ae=J;do{if(Ae.i!==J.i&&Ae.next.i!==J.i&&Ae.i!==he.i&&Ae.next.i!==he.i&&F_(Ae,Ae.next,J,he))return!0;Ae=Ae.next}while(Ae!==J);return!1}(P,V)&&(R0(P,V)&&R0(V,P)&&function(J,he){var Ae=J,Oe=!1,Ge=(J.x+he.x)/2,it=(J.y+he.y)/2;do Ae.y>it!=Ae.next.y>it&&Ae.next.y!==Ae.y&&Ge<(Ae.next.x-Ae.x)*(it-Ae.y)/(Ae.next.y-Ae.y)+Ae.x&&(Oe=!Oe),Ae=Ae.next;while(Ae!==J);return Oe}(P,V)&&(wo(P.prev,P,V.prev)||wo(P,V.prev,V))||yg(P,V)&&wo(P.prev,P,P.next)>0&&wo(V.prev,V,V.next)>0)}function wo(P,V,J){return(V.y-P.y)*(J.x-V.x)-(V.x-P.x)*(J.y-V.y)}function yg(P,V){return P.x===V.x&&P.y===V.y}function F_(P,V,J,he){var Ae=xg(wo(P,V,J)),Oe=xg(wo(P,V,he)),Ge=xg(wo(J,he,P)),it=xg(wo(J,he,V));return Ae!==Oe&&Ge!==it||!(Ae!==0||!bg(P,J,V))||!(Oe!==0||!bg(P,he,V))||!(Ge!==0||!bg(J,P,he))||!(it!==0||!bg(J,V,he))}function bg(P,V,J){return V.x<=Math.max(P.x,J.x)&&V.x>=Math.min(P.x,J.x)&&V.y<=Math.max(P.y,J.y)&&V.y>=Math.min(P.y,J.y)}function xg(P){return P>0?1:P<0?-1:0}function R0(P,V){return wo(P.prev,P,P.next)<0?wo(P,V,P.next)>=0&&wo(P,P.prev,V)>=0:wo(P,V,P.prev)<0||wo(P,P.next,V)<0}function B_(P,V){var J=new x1(P.i,P.x,P.y),he=new x1(V.i,V.x,V.y),Ae=P.next,Oe=V.prev;return P.next=V,V.prev=P,J.next=Ae,Ae.prev=J,he.next=J,J.prev=he,Oe.next=he,he.prev=Oe,he}function N_(P,V,J,he){var Ae=new x1(P,V,J);return he?(Ae.next=he.next,Ae.prev=he,he.next.prev=Ae,he.next=Ae):(Ae.prev=Ae,Ae.next=Ae),Ae}function P0(P){P.next.prev=P.prev,P.prev.next=P.next,P.prevZ&&(P.prevZ.nextZ=P.nextZ),P.nextZ&&(P.nextZ.prevZ=P.prevZ)}function x1(P,V,J){this.i=P,this.x=V,this.y=J,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function _1(P,V,J,he){for(var Ae=0,Oe=V,Ge=J-he;OeJ;){if(he-J>600){var Oe=he-J+1,Ge=V-J+1,it=Math.log(Oe),pt=.5*Math.exp(2*it/3),Ct=.5*Math.sqrt(it*pt*(Oe-pt)/Oe)*(Ge-Oe/2<0?-1:1);V_(P,V,Math.max(J,Math.floor(V-Ge*pt/Oe+Ct)),Math.min(he,Math.floor(V+(Oe-Ge)*pt/Oe+Ct)),Ae)}var Dt=P[V],Gt=J,Zt=he;for(O0(P,J,V),Ae(P[he],Dt)>0&&O0(P,J,he);Gt0;)Zt--}Ae(P[J],Dt)===0?O0(P,J,Zt):O0(P,++Zt,he),Zt<=V&&(J=Zt+1),V<=Zt&&(he=Zt-1)}}function O0(P,V,J){var he=P[V];P[V]=P[J],P[J]=he}function GS(P,V){return PV?1:0}function w1(P,V){var J=P.length;if(J<=1)return[P];for(var he,Ae,Oe=[],Ge=0;Ge1)for(var pt=0;pt0&&(he+=P[Ae-1].length,J.holes.push(he))}return J},y1.default=PS;var kc=function(P){this.zoom=P.zoom,this.overscaling=P.overscaling,this.layers=P.layers,this.layerIds=this.layers.map(function(V){return V.id}),this.index=P.index,this.hasPattern=!1,this.patternFeatures=[],this.layoutVertexArray=new et,this.indexArray=new He,this.indexArray2=new ve,this.programConfigurations=new Ia(D_,P.layers,P.zoom),this.segments=new ln,this.segments2=new ln,this.stateDependentLayerIds=this.layers.filter(function(V){return V.isStateDependent()}).map(function(V){return V.id})};kc.prototype.populate=function(P,V,J){this.hasPattern=T1("fill",this.layers,V);for(var he=this.layers[0].layout.get("fill-sort-key"),Ae=[],Oe=0,Ge=P;Oe>3}if(Ae--,he===1||he===2)Oe+=P.readSVarint(),Ge+=P.readSVarint(),he===1&&(V&&it.push(V),V=[]),V.push(new a(Oe,Ge));else{if(he!==7)throw new Error("unknown command "+he);V&&V.push(V[0].clone())}}return V&&it.push(V),it},op.prototype.bbox=function(){var P=this._pbf;P.pos=this._geometry;for(var V=P.readVarint()+P.pos,J=1,he=0,Ae=0,Oe=0,Ge=1/0,it=-1/0,pt=1/0,Ct=-1/0;P.pos>3}if(he--,J===1||J===2)(Ae+=P.readSVarint())it&&(it=Ae),(Oe+=P.readSVarint())Ct&&(Ct=Oe);else if(J!==7)throw new Error("unknown command "+J)}return[Ge,pt,it,Ct]},op.prototype.toGeoJSON=function(P,V,J){var he,Ae,Oe=this.extent*Math.pow(2,J),Ge=this.extent*P,it=this.extent*V,pt=this.loadGeometry(),Ct=op.types[this.type];function Dt($t){for(var fn=0;fn<$t.length;fn++){var Mn=$t[fn],Nn=180-360*(Mn.y+it)/Oe;$t[fn]=[360*(Mn.x+Ge)/Oe-180,360/Math.PI*Math.atan(Math.exp(Nn*Math.PI/180))-90]}}switch(this.type){case 1:var Gt=[];for(he=0;he>3;Ae=Ge===1?he.readString():Ge===2?he.readFloat():Ge===3?he.readDouble():Ge===4?he.readVarint64():Ge===5?he.readVarint():Ge===6?he.readSVarint():Ge===7?he.readBoolean():null}return Ae}(J))}function JS(P,V,J){if(P===3){var he=new H_(J,J.readVarint()+J.pos);he.length&&(V[he.name]=he)}}G_.prototype.feature=function(P){if(P<0||P>=this._features.length)throw new Error("feature index out of bounds");this._pbf.pos=this._features[P];var V=this._pbf.readVarint()+this._pbf.pos;return new U_(this._pbf,V,this.extent,this._keys,this._values)};var sp={VectorTile:function(P,V){this.layers=P.readFields(JS,{},V)},VectorTileFeature:U_,VectorTileLayer:H_},QS=sp.VectorTileFeature.types,M1=Math.pow(2,13);function D0(P,V,J,he,Ae,Oe,Ge,it){P.emplaceBack(V,J,2*Math.floor(he*M1)+Ge,Ae*M1*2,Oe*M1*2,Math.round(it))}var Mc=function(P){this.zoom=P.zoom,this.overscaling=P.overscaling,this.layers=P.layers,this.layerIds=this.layers.map(function(V){return V.id}),this.index=P.index,this.hasPattern=!1,this.layoutVertexArray=new ct,this.indexArray=new He,this.programConfigurations=new Ia(j_,P.layers,P.zoom),this.segments=new ln,this.stateDependentLayerIds=this.layers.filter(function(V){return V.isStateDependent()}).map(function(V){return V.id})};function eC(P,V){return P.x===V.x&&(P.x<0||P.x>li)||P.y===V.y&&(P.y<0||P.y>li)}Mc.prototype.populate=function(P,V,J){this.features=[],this.hasPattern=T1("fill-extrusion",this.layers,V);for(var he=0,Ae=P;heli})||Di.every(function(pi){return pi.y<0})||Di.every(function(pi){return pi.y>li})))for(var Mn=0,Nn=0;Nn=1){var Wn=fn[Nn-1];if(!eC(Bn,Wn)){Gt.vertexLength+4>ln.MAX_VERTEX_ARRAY_LENGTH&&(Gt=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray));var Zn=Bn.sub(Wn)._perp()._unit(),er=Wn.dist(Bn);Mn+er>32768&&(Mn=0),D0(this.layoutVertexArray,Bn.x,Bn.y,Zn.x,Zn.y,0,0,Mn),D0(this.layoutVertexArray,Bn.x,Bn.y,Zn.x,Zn.y,0,1,Mn),Mn+=er,D0(this.layoutVertexArray,Wn.x,Wn.y,Zn.x,Zn.y,0,0,Mn),D0(this.layoutVertexArray,Wn.x,Wn.y,Zn.x,Zn.y,0,1,Mn);var sr=Gt.vertexLength;this.indexArray.emplaceBack(sr,sr+2,sr+1),this.indexArray.emplaceBack(sr+1,sr+2,sr+3),Gt.vertexLength+=4,Gt.primitiveLength+=2}}}}if(Gt.vertexLength+pt>ln.MAX_VERTEX_ARRAY_LENGTH&&(Gt=this.segments.prepareSegment(pt,this.layoutVertexArray,this.indexArray)),QS[P.type]==="Polygon"){for(var fr=[],Pr=[],Tr=Gt.vertexLength,Nr=0,Xr=it;Nr=2&&P[pt-1].equals(P[pt-2]);)pt--;for(var Ct=0;Ct0;if(Pr&&Bn>Ct){var Nr=Dt.dist($t);if(Nr>2*Gt){var Xr=Dt.sub(Dt.sub($t)._mult(Gt/Nr)._round());this.updateDistance($t,Xr),this.addCurrentVertex(Xr,Mn,0,0,Zt),$t=Xr}}var hi=$t&&fn,Jr=hi?J:it?"butt":he;if(hi&&Jr==="round"&&(srAe&&(Jr="bevel"),Jr==="bevel"&&(sr>2&&(Jr="flipbevel"),sr100)Wn=Nn.mult(-1);else{var ui=sr*Mn.add(Nn).mag()/Mn.sub(Nn).mag();Wn._perp()._mult(ui*(Tr?-1:1))}this.addCurrentVertex(Dt,Wn,0,0,Zt),this.addCurrentVertex(Dt,Wn.mult(-1),0,0,Zt)}else if(Jr==="bevel"||Jr==="fakeround"){var ri=-Math.sqrt(sr*sr-1),Kr=Tr?ri:0,Di=Tr?0:ri;if($t&&this.addCurrentVertex(Dt,Mn,Kr,Di,Zt),Jr==="fakeround")for(var pi=Math.round(180*fr/Math.PI/20),va=1;va2*Gt){var ya=Dt.add(fn.sub(Dt)._mult(Gt/Pa)._round());this.updateDistance(Dt,ya),this.addCurrentVertex(ya,Nn,0,0,Zt),Dt=ya}}}}},Ys.prototype.addCurrentVertex=function(P,V,J,he,Ae,Oe){Oe===void 0&&(Oe=!1);var Ge=V.x+V.y*J,it=V.y-V.x*J,pt=-V.x+V.y*he,Ct=-V.y-V.x*he;this.addHalfVertex(P,Ge,it,Oe,!1,J,Ae),this.addHalfVertex(P,pt,Ct,Oe,!0,-he,Ae),this.distance>Y_/2&&this.totalDistance===0&&(this.distance=0,this.addCurrentVertex(P,V,J,he,Ae,Oe))},Ys.prototype.addHalfVertex=function(P,V,J,he,Ae,Oe,Ge){var it=P.x,pt=P.y,Ct=.5*this.scaledDistance;this.layoutVertexArray.emplaceBack((it<<1)+(he?1:0),(pt<<1)+(Ae?1:0),Math.round(63*V)+128,Math.round(63*J)+128,1+(Oe===0?0:Oe<0?-1:1)|(63&Ct)<<2,Ct>>6);var Dt=Ge.vertexLength++;this.e1>=0&&this.e2>=0&&(this.indexArray.emplaceBack(this.e1,this.e2,Dt),Ge.primitiveLength++),Ae?this.e2=Dt:this.e1=Dt},Ys.prototype.updateScaledDistance=function(){this.scaledDistance=this.totalDistance>0?(this.clipStart+(this.clipEnd-this.clipStart)*this.distance/this.totalDistance)*(Y_-1):this.distance},Ys.prototype.updateDistance=function(P,V){this.distance+=P.dist(V),this.updateScaledDistance()},Dr("LineBucket",Ys,{omit:["layers","patternFeatures"]});var aC=new xo({"line-cap":new Hr(Re.layout_line["line-cap"]),"line-join":new ni(Re.layout_line["line-join"]),"line-miter-limit":new Hr(Re.layout_line["line-miter-limit"]),"line-round-limit":new Hr(Re.layout_line["line-round-limit"]),"line-sort-key":new ni(Re.layout_line["line-sort-key"])}),$_={paint:new xo({"line-opacity":new ni(Re.paint_line["line-opacity"]),"line-color":new ni(Re.paint_line["line-color"]),"line-translate":new Hr(Re.paint_line["line-translate"]),"line-translate-anchor":new Hr(Re.paint_line["line-translate-anchor"]),"line-width":new ni(Re.paint_line["line-width"]),"line-gap-width":new ni(Re.paint_line["line-gap-width"]),"line-offset":new ni(Re.paint_line["line-offset"]),"line-blur":new ni(Re.paint_line["line-blur"]),"line-dasharray":new cl(Re.paint_line["line-dasharray"]),"line-pattern":new Vu(Re.paint_line["line-pattern"]),"line-gradient":new Rs(Re.paint_line["line-gradient"])}),layout:aC},oC=function(P){function V(){P.apply(this,arguments)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.possiblyEvaluate=function(J,he){return he=new Wi(Math.floor(he.zoom),{now:he.now,fadeDuration:he.fadeDuration,zoomHistory:he.zoomHistory,transition:he.transition}),P.prototype.possiblyEvaluate.call(this,J,he)},V.prototype.evaluate=function(J,he,Ae,Oe){return he=m({},he,{zoom:Math.floor(he.zoom)}),P.prototype.evaluate.call(this,J,he,Ae,Oe)},V}(ni),Z_=new oC($_.paint.properties["line-width"].specification);Z_.useIntegerZoom=!0;var sC=function(P){function V(J){P.call(this,J,$_)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype._handleSpecialPaintPropertyUpdate=function(J){J==="line-gradient"&&this._updateGradient()},V.prototype._updateGradient=function(){var J=this._transitionablePaint._values["line-gradient"].value.expression;this.gradient=O_(J,"lineProgress"),this.gradientTexture=null},V.prototype.recalculate=function(J,he){P.prototype.recalculate.call(this,J,he),this.paint._values["line-floorwidth"]=Z_.possiblyEvaluate(this._transitioningPaint._values["line-width"].value,J)},V.prototype.createBucket=function(J){return new Ys(J)},V.prototype.queryRadius=function(J){var he=J,Ae=X_(zh("line-width",this,he),zh("line-gap-width",this,he)),Oe=zh("line-offset",this,he);return Ae/2+Math.abs(Oe)+dg(this.paint.get("line-translate"))},V.prototype.queryIntersectsFeature=function(J,he,Ae,Oe,Ge,it,pt){var Ct=pg(J,this.paint.get("line-translate"),this.paint.get("line-translate-anchor"),it.angle,pt),Dt=pt/2*X_(this.paint.get("line-width").evaluate(he,Ae),this.paint.get("line-gap-width").evaluate(he,Ae)),Gt=this.paint.get("line-offset").evaluate(he,Ae);return Gt&&(Oe=function(Zt,$t){for(var fn=[],Mn=new a(0,0),Nn=0;Nn=3){for(var Bn=0;Bn0?V+2*P:P}var A1=la([{name:"a_pos_offset",components:4,type:"Int16"},{name:"a_data",components:4,type:"Uint16"},{name:"a_pixeloffset",components:4,type:"Int16"}],4),lC=la([{name:"a_projected_pos",components:3,type:"Float32"}],4),uC=(la([{name:"a_fade_opacity",components:1,type:"Uint32"}],4),la([{name:"a_placed",components:2,type:"Uint8"},{name:"a_shift",components:2,type:"Float32"}])),K_=(la([{type:"Int16",name:"anchorPointX"},{type:"Int16",name:"anchorPointY"},{type:"Int16",name:"x1"},{type:"Int16",name:"y1"},{type:"Int16",name:"x2"},{type:"Int16",name:"y2"},{type:"Uint32",name:"featureIndex"},{type:"Uint16",name:"sourceLayerIndex"},{type:"Uint16",name:"bucketIndex"}]),la([{name:"a_pos",components:2,type:"Int16"},{name:"a_anchor_pos",components:2,type:"Int16"},{name:"a_extrude",components:2,type:"Int16"}],4)),cC=la([{name:"a_pos",components:2,type:"Float32"},{name:"a_radius",components:1,type:"Float32"},{name:"a_flags",components:2,type:"Int16"}],4);function hC(P,V,J){return P.sections.forEach(function(he){he.text=function(Ae,Oe,Ge){var it=Oe.layout.get("text-transform").evaluate(Ge,{});return it==="uppercase"?Ae=Ae.toLocaleUpperCase():it==="lowercase"&&(Ae=Ae.toLocaleLowerCase()),Bo.applyArabicShaping&&(Ae=Bo.applyArabicShaping(Ae)),Ae}(he.text,V,J)}),P}la([{name:"triangle",components:3,type:"Uint16"}]),la([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Uint16",name:"glyphStartIndex"},{type:"Uint16",name:"numGlyphs"},{type:"Uint32",name:"vertexStartIndex"},{type:"Uint32",name:"lineStartIndex"},{type:"Uint32",name:"lineLength"},{type:"Uint16",name:"segment"},{type:"Uint16",name:"lowerSize"},{type:"Uint16",name:"upperSize"},{type:"Float32",name:"lineOffsetX"},{type:"Float32",name:"lineOffsetY"},{type:"Uint8",name:"writingMode"},{type:"Uint8",name:"placedOrientation"},{type:"Uint8",name:"hidden"},{type:"Uint32",name:"crossTileID"},{type:"Int16",name:"associatedIconIndex"}]),la([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Int16",name:"rightJustifiedTextSymbolIndex"},{type:"Int16",name:"centerJustifiedTextSymbolIndex"},{type:"Int16",name:"leftJustifiedTextSymbolIndex"},{type:"Int16",name:"verticalPlacedTextSymbolIndex"},{type:"Int16",name:"placedIconSymbolIndex"},{type:"Int16",name:"verticalPlacedIconSymbolIndex"},{type:"Uint16",name:"key"},{type:"Uint16",name:"textBoxStartIndex"},{type:"Uint16",name:"textBoxEndIndex"},{type:"Uint16",name:"verticalTextBoxStartIndex"},{type:"Uint16",name:"verticalTextBoxEndIndex"},{type:"Uint16",name:"iconBoxStartIndex"},{type:"Uint16",name:"iconBoxEndIndex"},{type:"Uint16",name:"verticalIconBoxStartIndex"},{type:"Uint16",name:"verticalIconBoxEndIndex"},{type:"Uint16",name:"featureIndex"},{type:"Uint16",name:"numHorizontalGlyphVertices"},{type:"Uint16",name:"numVerticalGlyphVertices"},{type:"Uint16",name:"numIconVertices"},{type:"Uint16",name:"numVerticalIconVertices"},{type:"Uint16",name:"useRuntimeCollisionCircles"},{type:"Uint32",name:"crossTileID"},{type:"Float32",name:"textBoxScale"},{type:"Float32",components:2,name:"textOffset"},{type:"Float32",name:"collisionCircleDiameter"}]),la([{type:"Float32",name:"offsetX"}]),la([{type:"Int16",name:"x"},{type:"Int16",name:"y"},{type:"Int16",name:"tileUnitDistanceFromAnchor"}]);var F0={"!":"︕","#":"#",$:"$","%":"%","&":"&","(":"︵",")":"︶","*":"*","+":"+",",":"︐","-":"︲",".":"・","/":"/",":":"︓",";":"︔","<":"︿","=":"=",">":"﹀","?":"︖","@":"@","[":"﹇","\\":"\","]":"﹈","^":"^",_:"︳","`":"`","{":"︷","|":"―","}":"︸","~":"~","¢":"¢","£":"£","¥":"¥","¦":"¦","¬":"¬","¯":" ̄","–":"︲","—":"︱","‘":"﹃","’":"﹄","“":"﹁","”":"﹂","…":"︙","‧":"・","₩":"₩","、":"︑","。":"︒","〈":"︿","〉":"﹀","《":"︽","》":"︾","「":"﹁","」":"﹂","『":"﹃","』":"﹄","【":"︻","】":"︼","〔":"︹","〕":"︺","〖":"︗","〗":"︘","!":"︕","(":"︵",")":"︶",",":"︐","-":"︲",".":"・",":":"︓",";":"︔","<":"︿",">":"﹀","?":"︖","[":"﹇","]":"﹈","_":"︳","{":"︷","|":"―","}":"︸","⦅":"︵","⦆":"︶","。":"︒","「":"﹁","」":"﹂"},ss=24,J_=function(P,V,J,he,Ae){var Oe,Ge,it=8*Ae-he-1,pt=(1<>1,Dt=-7,Gt=J?Ae-1:0,Zt=J?-1:1,$t=P[V+Gt];for(Gt+=Zt,Oe=$t&(1<<-Dt)-1,$t>>=-Dt,Dt+=it;Dt>0;Oe=256*Oe+P[V+Gt],Gt+=Zt,Dt-=8);for(Ge=Oe&(1<<-Dt)-1,Oe>>=-Dt,Dt+=he;Dt>0;Ge=256*Ge+P[V+Gt],Gt+=Zt,Dt-=8);if(Oe===0)Oe=1-Ct;else{if(Oe===pt)return Ge?NaN:1/0*($t?-1:1);Ge+=Math.pow(2,he),Oe-=Ct}return($t?-1:1)*Ge*Math.pow(2,Oe-he)},Q_=function(P,V,J,he,Ae,Oe){var Ge,it,pt,Ct=8*Oe-Ae-1,Dt=(1<>1,Zt=Ae===23?Math.pow(2,-24)-Math.pow(2,-77):0,$t=he?0:Oe-1,fn=he?1:-1,Mn=V<0||V===0&&1/V<0?1:0;for(V=Math.abs(V),isNaN(V)||V===1/0?(it=isNaN(V)?1:0,Ge=Dt):(Ge=Math.floor(Math.log(V)/Math.LN2),V*(pt=Math.pow(2,-Ge))<1&&(Ge--,pt*=2),(V+=Ge+Gt>=1?Zt/pt:Zt*Math.pow(2,1-Gt))*pt>=2&&(Ge++,pt/=2),Ge+Gt>=Dt?(it=0,Ge=Dt):Ge+Gt>=1?(it=(V*pt-1)*Math.pow(2,Ae),Ge+=Gt):(it=V*Math.pow(2,Gt-1)*Math.pow(2,Ae),Ge=0));Ae>=8;P[J+$t]=255&it,$t+=fn,it/=256,Ae-=8);for(Ge=Ge<0;P[J+$t]=255&Ge,$t+=fn,Ge/=256,Ct-=8);P[J+$t-fn]|=128*Mn},_g=ba;function ba(P){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(P)?P:new Uint8Array(P||0),this.pos=0,this.type=0,this.length=this.buf.length}ba.Varint=0,ba.Fixed64=1,ba.Bytes=2,ba.Fixed32=5;var S1=4294967296,ew=1/S1,tw=typeof TextDecoder>"u"?null:new TextDecoder("utf8");function Fh(P){return P.type===ba.Bytes?P.readVarint()+P.pos:P.pos+1}function lp(P,V,J){return J?4294967296*V+(P>>>0):4294967296*(V>>>0)+(P>>>0)}function nw(P,V,J){var he=V<=16383?1:V<=2097151?2:V<=268435455?3:Math.floor(Math.log(V)/(7*Math.LN2));J.realloc(he);for(var Ae=J.pos-1;Ae>=P;Ae--)J.buf[Ae+he]=J.buf[Ae]}function fC(P,V){for(var J=0;J>>8,P[J+2]=V>>>16,P[J+3]=V>>>24}function rw(P,V){return(P[V]|P[V+1]<<8|P[V+2]<<16)+(P[V+3]<<24)}ba.prototype={destroy:function(){this.buf=null},readFields:function(P,V,J){for(J=J||this.length;this.pos>3,Oe=this.pos;this.type=7&he,P(Ae,V,this),this.pos===Oe&&this.skip(he)}return V},readMessage:function(P,V){return this.readFields(P,V,this.readVarint()+this.pos)},readFixed32:function(){var P=wg(this.buf,this.pos);return this.pos+=4,P},readSFixed32:function(){var P=rw(this.buf,this.pos);return this.pos+=4,P},readFixed64:function(){var P=wg(this.buf,this.pos)+wg(this.buf,this.pos+4)*S1;return this.pos+=8,P},readSFixed64:function(){var P=wg(this.buf,this.pos)+rw(this.buf,this.pos+4)*S1;return this.pos+=8,P},readFloat:function(){var P=J_(this.buf,this.pos,!0,23,4);return this.pos+=4,P},readDouble:function(){var P=J_(this.buf,this.pos,!0,52,8);return this.pos+=8,P},readVarint:function(P){var V,J,he=this.buf;return V=127&(J=he[this.pos++]),J<128?V:(V|=(127&(J=he[this.pos++]))<<7,J<128?V:(V|=(127&(J=he[this.pos++]))<<14,J<128?V:(V|=(127&(J=he[this.pos++]))<<21,J<128?V:function(Ae,Oe,Ge){var it,pt,Ct=Ge.buf;if(it=(112&(pt=Ct[Ge.pos++]))>>4,pt<128||(it|=(127&(pt=Ct[Ge.pos++]))<<3,pt<128)||(it|=(127&(pt=Ct[Ge.pos++]))<<10,pt<128)||(it|=(127&(pt=Ct[Ge.pos++]))<<17,pt<128)||(it|=(127&(pt=Ct[Ge.pos++]))<<24,pt<128)||(it|=(1&(pt=Ct[Ge.pos++]))<<31,pt<128))return lp(Ae,it,Oe);throw new Error("Expected varint not more than 10 bytes")}(V|=(15&(J=he[this.pos]))<<28,P,this))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var P=this.readVarint();return P%2==1?(P+1)/-2:P/2},readBoolean:function(){return!!this.readVarint()},readString:function(){var P=this.readVarint()+this.pos,V=this.pos;return this.pos=P,P-V>=12&&tw?function(J,he,Ae){return tw.decode(J.subarray(he,Ae))}(this.buf,V,P):function(J,he,Ae){for(var Oe="",Ge=he;Ge239?4:Dt>223?3:Dt>191?2:1;if(Ge+Zt>Ae)break;Zt===1?Dt<128&&(Gt=Dt):Zt===2?(192&(it=J[Ge+1]))==128&&(Gt=(31&Dt)<<6|63&it)<=127&&(Gt=null):Zt===3?(it=J[Ge+1],pt=J[Ge+2],(192&it)==128&&(192&pt)==128&&((Gt=(15&Dt)<<12|(63&it)<<6|63&pt)<=2047||Gt>=55296&&Gt<=57343)&&(Gt=null)):Zt===4&&(it=J[Ge+1],pt=J[Ge+2],Ct=J[Ge+3],(192&it)==128&&(192&pt)==128&&(192&Ct)==128&&((Gt=(15&Dt)<<18|(63&it)<<12|(63&pt)<<6|63&Ct)<=65535||Gt>=1114112)&&(Gt=null)),Gt===null?(Gt=65533,Zt=1):Gt>65535&&(Gt-=65536,Oe+=String.fromCharCode(Gt>>>10&1023|55296),Gt=56320|1023&Gt),Oe+=String.fromCharCode(Gt),Ge+=Zt}return Oe}(this.buf,V,P)},readBytes:function(){var P=this.readVarint()+this.pos,V=this.buf.subarray(this.pos,P);return this.pos=P,V},readPackedVarint:function(P,V){if(this.type!==ba.Bytes)return P.push(this.readVarint(V));var J=Fh(this);for(P=P||[];this.pos127;);else if(V===ba.Bytes)this.pos=this.readVarint()+this.pos;else if(V===ba.Fixed32)this.pos+=4;else{if(V!==ba.Fixed64)throw new Error("Unimplemented type: "+V);this.pos+=8}},writeTag:function(P,V){this.writeVarint(P<<3|V)},realloc:function(P){for(var V=this.length||16;V268435455||P<0?function(V,J){var he,Ae;if(V>=0?(he=V%4294967296|0,Ae=V/4294967296|0):(Ae=~(-V/4294967296),4294967295^(he=~(-V%4294967296))?he=he+1|0:(he=0,Ae=Ae+1|0)),V>=18446744073709552e3||V<-18446744073709552e3)throw new Error("Given varint doesn't fit into 10 bytes");J.realloc(10),function(Oe,Ge,it){it.buf[it.pos++]=127&Oe|128,Oe>>>=7,it.buf[it.pos++]=127&Oe|128,Oe>>>=7,it.buf[it.pos++]=127&Oe|128,Oe>>>=7,it.buf[it.pos++]=127&Oe|128,Oe>>>=7,it.buf[it.pos]=127&Oe}(he,0,J),function(Oe,Ge){var it=(7&Oe)<<4;Ge.buf[Ge.pos++]|=it|((Oe>>>=3)?128:0),Oe&&(Ge.buf[Ge.pos++]=127&Oe|((Oe>>>=7)?128:0),Oe&&(Ge.buf[Ge.pos++]=127&Oe|((Oe>>>=7)?128:0),Oe&&(Ge.buf[Ge.pos++]=127&Oe|((Oe>>>=7)?128:0),Oe&&(Ge.buf[Ge.pos++]=127&Oe|((Oe>>>=7)?128:0),Oe&&(Ge.buf[Ge.pos++]=127&Oe)))))}(Ae,J)}(P,this):(this.realloc(4),this.buf[this.pos++]=127&P|(P>127?128:0),P<=127||(this.buf[this.pos++]=127&(P>>>=7)|(P>127?128:0),P<=127||(this.buf[this.pos++]=127&(P>>>=7)|(P>127?128:0),P<=127||(this.buf[this.pos++]=P>>>7&127))))},writeSVarint:function(P){this.writeVarint(P<0?2*-P-1:2*P)},writeBoolean:function(P){this.writeVarint(!!P)},writeString:function(P){P=String(P),this.realloc(4*P.length),this.pos++;var V=this.pos;this.pos=function(he,Ae,Oe){for(var Ge,it,pt=0;pt55295&&Ge<57344){if(!it){Ge>56319||pt+1===Ae.length?(he[Oe++]=239,he[Oe++]=191,he[Oe++]=189):it=Ge;continue}if(Ge<56320){he[Oe++]=239,he[Oe++]=191,he[Oe++]=189,it=Ge;continue}Ge=it-55296<<10|Ge-56320|65536,it=null}else it&&(he[Oe++]=239,he[Oe++]=191,he[Oe++]=189,it=null);Ge<128?he[Oe++]=Ge:(Ge<2048?he[Oe++]=Ge>>6|192:(Ge<65536?he[Oe++]=Ge>>12|224:(he[Oe++]=Ge>>18|240,he[Oe++]=Ge>>12&63|128),he[Oe++]=Ge>>6&63|128),he[Oe++]=63&Ge|128)}return Oe}(this.buf,P,this.pos);var J=this.pos-V;J>=128&&nw(V,J,this),this.pos=V-1,this.writeVarint(J),this.pos+=J},writeFloat:function(P){this.realloc(4),Q_(this.buf,P,this.pos,!0,23,4),this.pos+=4},writeDouble:function(P){this.realloc(8),Q_(this.buf,P,this.pos,!0,52,8),this.pos+=8},writeBytes:function(P){var V=P.length;this.writeVarint(V),this.realloc(V);for(var J=0;J=128&&nw(J,he,this),this.pos=J-1,this.writeVarint(he),this.pos+=he},writeMessage:function(P,V,J){this.writeTag(P,ba.Bytes),this.writeRawMessage(V,J)},writePackedVarint:function(P,V){V.length&&this.writeMessage(P,fC,V)},writePackedSVarint:function(P,V){V.length&&this.writeMessage(P,dC,V)},writePackedBoolean:function(P,V){V.length&&this.writeMessage(P,gC,V)},writePackedFloat:function(P,V){V.length&&this.writeMessage(P,pC,V)},writePackedDouble:function(P,V){V.length&&this.writeMessage(P,mC,V)},writePackedFixed32:function(P,V){V.length&&this.writeMessage(P,vC,V)},writePackedSFixed32:function(P,V){V.length&&this.writeMessage(P,yC,V)},writePackedFixed64:function(P,V){V.length&&this.writeMessage(P,bC,V)},writePackedSFixed64:function(P,V){V.length&&this.writeMessage(P,xC,V)},writeBytesField:function(P,V){this.writeTag(P,ba.Bytes),this.writeBytes(V)},writeFixed32Field:function(P,V){this.writeTag(P,ba.Fixed32),this.writeFixed32(V)},writeSFixed32Field:function(P,V){this.writeTag(P,ba.Fixed32),this.writeSFixed32(V)},writeFixed64Field:function(P,V){this.writeTag(P,ba.Fixed64),this.writeFixed64(V)},writeSFixed64Field:function(P,V){this.writeTag(P,ba.Fixed64),this.writeSFixed64(V)},writeVarintField:function(P,V){this.writeTag(P,ba.Varint),this.writeVarint(V)},writeSVarintField:function(P,V){this.writeTag(P,ba.Varint),this.writeSVarint(V)},writeStringField:function(P,V){this.writeTag(P,ba.Bytes),this.writeString(V)},writeFloatField:function(P,V){this.writeTag(P,ba.Fixed32),this.writeFloat(V)},writeDoubleField:function(P,V){this.writeTag(P,ba.Fixed64),this.writeDouble(V)},writeBooleanField:function(P,V){this.writeVarintField(P,!!V)}};function _C(P,V,J){P===1&&J.readMessage(wC,V)}function wC(P,V,J){if(P===3){var he=J.readMessage(TC,{}),Ae=he.id,Oe=he.bitmap,Ge=he.width,it=he.height,pt=he.left,Ct=he.top,Dt=he.advance;V.push({id:Ae,bitmap:new sd({width:Ge+6,height:it+6},Oe),metrics:{width:Ge,height:it,left:pt,top:Ct,advance:Dt}})}}function TC(P,V,J){P===1?V.id=J.readVarint():P===2?V.bitmap=J.readBytes():P===3?V.width=J.readVarint():P===4?V.height=J.readVarint():P===5?V.left=J.readSVarint():P===6?V.top=J.readSVarint():P===7&&(V.advance=J.readVarint())}function iw(P){for(var V=0,J=0,he=0,Ae=P;he=0;Zt--){var $t=Ge[Zt];if(!(Gt.w>$t.w||Gt.h>$t.h)){if(Gt.x=$t.x,Gt.y=$t.y,pt=Math.max(pt,Gt.y+Gt.h),it=Math.max(it,Gt.x+Gt.w),Gt.w===$t.w&&Gt.h===$t.h){var fn=Ge.pop();Zt0&&hd>Ga&&(Ga=hd)}else{var Dg=pi[$i.fontStack],fd=Dg&&Dg[Ds];if(fd&&fd.rect)Ac=fd.rect,ks=fd.metrics;else{var zg=Di[$i.fontStack],U0=zg&&zg[Ds];if(!U0)continue;ks=U0.metrics}dl=(mi-$i.scale)*ss}Sc?(Kr.verticalizable=!0,ma.push({glyph:Ds,imageName:Vh,x:Ho,y:ls+dl,vertical:Sc,scale:$i.scale,fontStack:$i.fontStack,sectionIndex:Ja,metrics:ks,rect:Ac}),Ho+=qo*$i.scale+ya):(ma.push({glyph:Ds,imageName:Vh,x:Ho,y:ls+dl,vertical:Sc,scale:$i.scale,fontStack:$i.fontStack,sectionIndex:Ja,metrics:ks,rect:Ac}),Ho+=ks.advance*$i.scale+ya)}if(ma.length!==0){var B1=Ho-ya;Xo=Math.max(B1,Xo),MC(ma,0,ma.length-1,Ko,Ga)}Ho=0;var Fg=fa*mi+Ga;Ka.lineOffset=Math.max(Ga,Gi),ls+=Fg,Os=Math.max(Fg,Os),++Io}else ls+=fa,++Io}var yp=ls-kg,Bg=E1(xa),Ng=Bg.horizontalAlign,H0=Bg.verticalAlign;(function(N1,G0,dd,bp,Vg,jg,xp,Ug,Hg){var q0=(G0-dd)*Vg,W0=0;W0=jg!==xp?-Ug*bp-kg:(-bp*Hg+.5)*xp;for(var pd=0,Y0=N1;pd=0&&he>=P&&Ag[this.text.charCodeAt(he)];he--)J--;this.text=this.text.substring(P,J),this.sectionIndex=this.sectionIndex.slice(P,J)},Ts.prototype.substring=function(P,V){var J=new Ts;return J.text=this.text.substring(P,V),J.sectionIndex=this.sectionIndex.slice(P,V),J.sections=this.sections,J},Ts.prototype.toString=function(){return this.text},Ts.prototype.getMaxScale=function(){var P=this;return this.sectionIndex.reduce(function(V,J){return Math.max(V,P.sections[J].scale)},0)},Ts.prototype.addTextSection=function(P,V){this.text+=P.text,this.sections.push(cp.forText(P.scale,P.fontStack||V));for(var J=this.sections.length-1,he=0;he=63743?null:++this.imageSectionID:(this.imageSectionID=57344,this.imageSectionID)};var Ag={9:!0,10:!0,11:!0,12:!0,13:!0,32:!0},fl={};function aw(P,V,J,he,Ae,Oe){if(V.imageName){var Ge=he[V.imageName];return Ge?Ge.displaySize[0]*V.scale*ss/Oe+Ae:0}var it=J[V.fontStack],pt=it&&it[P];return pt?pt.metrics.advance*V.scale+Ae:0}function ow(P,V,J,he){var Ae=Math.pow(P-V,2);return he?P=0,Dt=0,Gt=0;Gt-J/2;){if(--Ge<0)return!1;it-=P[Ge].dist(Oe),Oe=P[Ge]}it+=P[Ge].dist(P[Ge+1]),Ge++;for(var pt=[],Ct=0;ithe;)Ct-=pt.shift().angleDelta;if(Ct>Ae)return!1;Ge++,it+=Gt.dist(Zt)}return!0}function dw(P){for(var V=0,J=0;JCt){var fn=(Ct-pt)/$t,Mn=zr(Gt.x,Zt.x,fn),Nn=zr(Gt.y,Zt.y,fn),Bn=new hp(Mn,Nn,Zt.angleTo(Gt),Dt);return Bn._round(),!Ge||fw(P,Bn,it,Ge,V)?Bn:void 0}pt+=$t}}function CC(P,V,J,he,Ae,Oe,Ge,it,pt){var Ct=pw(he,Oe,Ge),Dt=mw(he,Ae),Gt=Dt*Ge,Zt=P[0].x===0||P[0].x===pt||P[0].y===0||P[0].y===pt;return V-Gt=0&&er=0&&sr=0&&Zt+Ct<=Dt){var fr=new hp(er,sr,Wn,fn);fr._round(),he&&!fw(P,fr,Oe,he,Ae)||$t.push(fr)}}Gt+=Bn}return it||$t.length||Ge||($t=gw(P,Gt/2,J,he,Ae,Oe,Ge,!0,pt)),$t}function vw(P,V,J,he,Ae){for(var Oe=[],Ge=0;Ge=he&&Gt.x>=he||(Dt.x>=he?Dt=new a(he,Dt.y+(Gt.y-Dt.y)*((he-Dt.x)/(Gt.x-Dt.x)))._round():Gt.x>=he&&(Gt=new a(he,Dt.y+(Gt.y-Dt.y)*((he-Dt.x)/(Gt.x-Dt.x)))._round()),Dt.y>=Ae&&Gt.y>=Ae||(Dt.y>=Ae?Dt=new a(Dt.x+(Gt.x-Dt.x)*((Ae-Dt.y)/(Gt.y-Dt.y)),Ae)._round():Gt.y>=Ae&&(Gt=new a(Dt.x+(Gt.x-Dt.x)*((Ae-Dt.y)/(Gt.y-Dt.y)),Ae)._round()),pt&&Dt.equals(pt[pt.length-1])||(pt=[Dt],Oe.push(pt)),pt.push(Gt)))))}return Oe}function yw(P,V,J,he){var Ae=[],Oe=P.image,Ge=Oe.pixelRatio,it=Oe.paddedRect.w-2,pt=Oe.paddedRect.h-2,Ct=P.right-P.left,Dt=P.bottom-P.top,Gt=Oe.stretchX||[[0,it]],Zt=Oe.stretchY||[[0,pt]],$t=function(fa,xa){return fa+xa[1]-xa[0]},fn=Gt.reduce($t,0),Mn=Zt.reduce($t,0),Nn=it-fn,Bn=pt-Mn,Wn=0,Zn=fn,er=0,sr=Mn,fr=0,Pr=Nn,Tr=0,Nr=Bn;if(Oe.content&&he){var Xr=Oe.content;Wn=Sg(Gt,0,Xr[0]),er=Sg(Zt,0,Xr[1]),Zn=Sg(Gt,Xr[0],Xr[2]),sr=Sg(Zt,Xr[1],Xr[3]),fr=Xr[0]-Wn,Tr=Xr[1]-er,Pr=Xr[2]-Xr[0]-Zn,Nr=Xr[3]-Xr[1]-sr}var hi=function(fa,xa,Sa,Pa){var ya=Cg(fa.stretch-Wn,Zn,Ct,P.left),Mo=Eg(fa.fixed-fr,Pr,fa.stretch,fn),Va=Cg(xa.stretch-er,sr,Dt,P.top),Ho=Eg(xa.fixed-Tr,Nr,xa.stretch,Mn),ls=Cg(Sa.stretch-Wn,Zn,Ct,P.left),Xo=Eg(Sa.fixed-fr,Pr,Sa.stretch,fn),Os=Cg(Pa.stretch-er,sr,Dt,P.top),Ko=Eg(Pa.fixed-Tr,Nr,Pa.stretch,Mn),Io=new a(ya,Va),Jo=new a(ls,Va),Go=new a(ls,Os),Ro=new a(ya,Os),mi=new a(Mo/Ge,Ho/Ge),Gi=new a(Xo/Ge,Ko/Ge),Ka=V*Math.PI/180;if(Ka){var ma=Math.sin(Ka),Ga=Math.cos(Ka),Oa=[Ga,-ma,ma,Ga];Io._matMult(Oa),Jo._matMult(Oa),Ro._matMult(Oa),Go._matMult(Oa)}var $i=fa.stretch+fa.fixed,Ja=Sa.stretch+Sa.fixed,Ds=xa.stretch+xa.fixed,dl=Pa.stretch+Pa.fixed;return{tl:Io,tr:Jo,bl:Ro,br:Go,tex:{x:Oe.paddedRect.x+1+$i,y:Oe.paddedRect.y+1+Ds,w:Ja-$i,h:dl-Ds},writingMode:void 0,glyphOffset:[0,0],sectionIndex:0,pixelOffsetTL:mi,pixelOffsetBR:Gi,minFontScaleX:Pr/Ge/Ct,minFontScaleY:Nr/Ge/Dt,isSDF:J}};if(he&&(Oe.stretchX||Oe.stretchY))for(var Jr=bw(Gt,Nn,fn),ui=bw(Zt,Bn,Mn),ri=0;ri0&&($t=Math.max(10,$t),this.circleDiameter=$t)}else{var fn=Oe.top*Ge-it,Mn=Oe.bottom*Ge+it,Nn=Oe.left*Ge-it,Bn=Oe.right*Ge+it,Wn=Oe.collisionPadding;if(Wn&&(Nn-=Wn[0]*Ge,fn-=Wn[1]*Ge,Bn+=Wn[2]*Ge,Mn+=Wn[3]*Ge),Ct){var Zn=new a(Nn,fn),er=new a(Bn,fn),sr=new a(Nn,Mn),fr=new a(Bn,Mn),Pr=Ct*Math.PI/180;Zn._rotate(Pr),er._rotate(Pr),sr._rotate(Pr),fr._rotate(Pr),Nn=Math.min(Zn.x,er.x,sr.x,fr.x),Bn=Math.max(Zn.x,er.x,sr.x,fr.x),fn=Math.min(Zn.y,er.y,sr.y,fr.y),Mn=Math.max(Zn.y,er.y,sr.y,fr.y)}P.emplaceBack(V.x,V.y,Nn,fn,Bn,Mn,J,he,Ae)}this.boxEndIndex=P.length},fp=function(P,V){if(P===void 0&&(P=[]),V===void 0&&(V=EC),this.data=P,this.length=this.data.length,this.compare=V,this.length>0)for(var J=(this.length>>1)-1;J>=0;J--)this._down(J)};function EC(P,V){return PV?1:0}function LC(P,V,J){V===void 0&&(V=1),J===void 0&&(J=!1);for(var he=1/0,Ae=1/0,Oe=-1/0,Ge=-1/0,it=P[0],pt=0;ptOe)&&(Oe=Ct.x),(!pt||Ct.y>Ge)&&(Ge=Ct.y)}var Dt=Oe-he,Gt=Ge-Ae,Zt=Math.min(Dt,Gt),$t=Zt/2,fn=new fp([],IC);if(Zt===0)return new a(he,Ae);for(var Mn=he;MnBn.d||!Bn.d)&&(Bn=Zn,J&&console.log("found best %d after %d probes",Math.round(1e4*Zn.d)/1e4,Wn)),Zn.max-Bn.d<=V||($t=Zn.h/2,fn.push(new dp(Zn.p.x-$t,Zn.p.y-$t,$t,P)),fn.push(new dp(Zn.p.x+$t,Zn.p.y-$t,$t,P)),fn.push(new dp(Zn.p.x-$t,Zn.p.y+$t,$t,P)),fn.push(new dp(Zn.p.x+$t,Zn.p.y+$t,$t,P)),Wn+=4)}return J&&(console.log("num probes: "+Wn),console.log("best distance: "+Bn.d)),Bn.p}function IC(P,V){return V.max-P.max}function dp(P,V,J,he){this.p=new a(P,V),this.h=J,this.d=function(Ae,Oe){for(var Ge=!1,it=1/0,pt=0;ptAe.y!=fn.y>Ae.y&&Ae.x<(fn.x-$t.x)*(Ae.y-$t.y)/(fn.y-$t.y)+$t.x&&(Ge=!Ge),it=Math.min(it,fg(Ae,$t,fn))}return(Ge?1:-1)*Math.sqrt(it)}(this.p,he),this.max=this.d+this.h*Math.SQRT2}fp.prototype.push=function(P){this.data.push(P),this.length++,this._up(this.length-1)},fp.prototype.pop=function(){if(this.length!==0){var P=this.data[0],V=this.data.pop();return this.length--,this.length>0&&(this.data[0]=V,this._down(0)),P}},fp.prototype.peek=function(){return this.data[0]},fp.prototype._up=function(P){for(var V=this.data,J=this.compare,he=V[P];P>0;){var Ae=P-1>>1,Oe=V[Ae];if(J(he,Oe)>=0)break;V[P]=Oe,P=Ae}V[P]=he},fp.prototype._down=function(P){for(var V=this.data,J=this.compare,he=this.length>>1,Ae=V[P];P=0)break;V[P]=Ge,P=Oe}V[P]=Ae};var I1=Number.POSITIVE_INFINITY;function xw(P,V){return V[1]!==I1?function(J,he,Ae){var Oe=0,Ge=0;switch(he=Math.abs(he),Ae=Math.abs(Ae),J){case"top-right":case"top-left":case"top":Ge=Ae-7;break;case"bottom-right":case"bottom-left":case"bottom":Ge=7-Ae}switch(J){case"top-right":case"bottom-right":case"right":Oe=-he;break;case"top-left":case"bottom-left":case"left":Oe=he}return[Oe,Ge]}(P,V[0],V[1]):function(J,he){var Ae=0,Oe=0;he<0&&(he=0);var Ge=he/Math.sqrt(2);switch(J){case"top-right":case"top-left":Oe=Ge-7;break;case"bottom-right":case"bottom-left":Oe=7-Ge;break;case"bottom":Oe=7-he;break;case"top":Oe=he-7}switch(J){case"top-right":case"bottom-right":Ae=-Ge;break;case"top-left":case"bottom-left":Ae=Ge;break;case"left":Ae=he;break;case"right":Ae=-he}return[Ae,Oe]}(P,V[0])}function R1(P){switch(P){case"right":case"top-right":case"bottom-right":return"right";case"left":case"top-left":case"bottom-left":return"left"}return"center"}var kf=32640;function _w(P,V,J,he,Ae,Oe,Ge,it,pt,Ct,Dt,Gt,Zt,$t,fn){var Mn=function(er,sr,fr,Pr,Tr,Nr,Xr,hi){for(var Jr=Pr.layout.get("text-rotate").evaluate(Nr,{})*Math.PI/180,ui=[],ri=0,Kr=sr.positionedLines;rikf&&R(P.layerIds[0]+': Value for "text-size" is >= 255. Reduce your "text-size".'):Nn.kind==="composite"&&((Bn=[Jc*$t.compositeTextSizes[0].evaluate(Ge,{},fn),Jc*$t.compositeTextSizes[1].evaluate(Ge,{},fn)])[0]>kf||Bn[1]>kf)&&R(P.layerIds[0]+': Value for "text-size" is >= 255. Reduce your "text-size".'),P.addSymbols(P.text,Mn,Bn,it,Oe,Ge,Ct,V,pt.lineStartIndex,pt.lineLength,Zt,fn);for(var Wn=0,Zn=Dt;Wn=0;Ge--)if(he.dist(Oe[Ge])0)&&(Oe.value.kind!=="constant"||Oe.value.value.length>0),Ct=it.value.kind!=="constant"||!!it.value.value||Object.keys(it.parameters).length>0,Dt=Ae.get("symbol-sort-key");if(this.features=[],pt||Ct){for(var Gt=V.iconDependencies,Zt=V.glyphDependencies,$t=V.availableImages,fn=new Wi(this.zoom),Mn=0,Nn=P;Mn=0;for(var pi=0,va=Tr.sections;pi=0;it--)Oe[it]={x:V[it].x,y:V[it].y,tileUnitDistanceFromAnchor:Ae},it>0&&(Ae+=V[it-1].dist(V[it]));for(var pt=0;pt0},ha.prototype.hasIconData=function(){return this.icon.segments.get().length>0},ha.prototype.hasDebugData=function(){return this.textCollisionBox&&this.iconCollisionBox},ha.prototype.hasTextCollisionBoxData=function(){return this.hasDebugData()&&this.textCollisionBox.segments.get().length>0},ha.prototype.hasIconCollisionBoxData=function(){return this.hasDebugData()&&this.iconCollisionBox.segments.get().length>0},ha.prototype.addIndicesForPlacedSymbol=function(P,V){for(var J=P.placedSymbolArray.get(V),he=J.vertexStartIndex+4*J.numGlyphs,Ae=J.vertexStartIndex;Ae1||this.icon.segments.get().length>1)){this.symbolInstanceIndexes=this.getSortedSymbolIndexes(P),this.sortedAngle=P,this.text.indexArray.clear(),this.icon.indexArray.clear(),this.featureSortOrder=[];for(var J=0,he=this.symbolInstanceIndexes;J=0&&pt.indexOf(Ge)===it&&V.addIndicesForPlacedSymbol(V.text,Ge)}),Oe.verticalPlacedTextSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.text,Oe.verticalPlacedTextSymbolIndex),Oe.placedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,Oe.placedIconSymbolIndex),Oe.verticalPlacedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,Oe.verticalPlacedIconSymbolIndex)}this.text.indexBuffer&&this.text.indexBuffer.updateData(this.text.indexArray),this.icon.indexBuffer&&this.icon.indexBuffer.updateData(this.icon.indexArray)}},Dr("SymbolBucket",ha,{omit:["layers","collisionBoxArray","features","compareText"]}),ha.MAX_GLYPHS=65535,ha.addDynamicAttributes=P1;var zC=new xo({"symbol-placement":new Hr(Re.layout_symbol["symbol-placement"]),"symbol-spacing":new Hr(Re.layout_symbol["symbol-spacing"]),"symbol-avoid-edges":new Hr(Re.layout_symbol["symbol-avoid-edges"]),"symbol-sort-key":new ni(Re.layout_symbol["symbol-sort-key"]),"symbol-z-order":new Hr(Re.layout_symbol["symbol-z-order"]),"icon-allow-overlap":new Hr(Re.layout_symbol["icon-allow-overlap"]),"icon-ignore-placement":new Hr(Re.layout_symbol["icon-ignore-placement"]),"icon-optional":new Hr(Re.layout_symbol["icon-optional"]),"icon-rotation-alignment":new Hr(Re.layout_symbol["icon-rotation-alignment"]),"icon-size":new ni(Re.layout_symbol["icon-size"]),"icon-text-fit":new Hr(Re.layout_symbol["icon-text-fit"]),"icon-text-fit-padding":new Hr(Re.layout_symbol["icon-text-fit-padding"]),"icon-image":new ni(Re.layout_symbol["icon-image"]),"icon-rotate":new ni(Re.layout_symbol["icon-rotate"]),"icon-padding":new Hr(Re.layout_symbol["icon-padding"]),"icon-keep-upright":new Hr(Re.layout_symbol["icon-keep-upright"]),"icon-offset":new ni(Re.layout_symbol["icon-offset"]),"icon-anchor":new ni(Re.layout_symbol["icon-anchor"]),"icon-pitch-alignment":new Hr(Re.layout_symbol["icon-pitch-alignment"]),"text-pitch-alignment":new Hr(Re.layout_symbol["text-pitch-alignment"]),"text-rotation-alignment":new Hr(Re.layout_symbol["text-rotation-alignment"]),"text-field":new ni(Re.layout_symbol["text-field"]),"text-font":new ni(Re.layout_symbol["text-font"]),"text-size":new ni(Re.layout_symbol["text-size"]),"text-max-width":new ni(Re.layout_symbol["text-max-width"]),"text-line-height":new Hr(Re.layout_symbol["text-line-height"]),"text-letter-spacing":new ni(Re.layout_symbol["text-letter-spacing"]),"text-justify":new ni(Re.layout_symbol["text-justify"]),"text-radial-offset":new ni(Re.layout_symbol["text-radial-offset"]),"text-variable-anchor":new Hr(Re.layout_symbol["text-variable-anchor"]),"text-anchor":new ni(Re.layout_symbol["text-anchor"]),"text-max-angle":new Hr(Re.layout_symbol["text-max-angle"]),"text-writing-mode":new Hr(Re.layout_symbol["text-writing-mode"]),"text-rotate":new ni(Re.layout_symbol["text-rotate"]),"text-padding":new Hr(Re.layout_symbol["text-padding"]),"text-keep-upright":new Hr(Re.layout_symbol["text-keep-upright"]),"text-transform":new ni(Re.layout_symbol["text-transform"]),"text-offset":new ni(Re.layout_symbol["text-offset"]),"text-allow-overlap":new Hr(Re.layout_symbol["text-allow-overlap"]),"text-ignore-placement":new Hr(Re.layout_symbol["text-ignore-placement"]),"text-optional":new Hr(Re.layout_symbol["text-optional"])}),O1={paint:new xo({"icon-opacity":new ni(Re.paint_symbol["icon-opacity"]),"icon-color":new ni(Re.paint_symbol["icon-color"]),"icon-halo-color":new ni(Re.paint_symbol["icon-halo-color"]),"icon-halo-width":new ni(Re.paint_symbol["icon-halo-width"]),"icon-halo-blur":new ni(Re.paint_symbol["icon-halo-blur"]),"icon-translate":new Hr(Re.paint_symbol["icon-translate"]),"icon-translate-anchor":new Hr(Re.paint_symbol["icon-translate-anchor"]),"text-opacity":new ni(Re.paint_symbol["text-opacity"]),"text-color":new ni(Re.paint_symbol["text-color"],{runtimeType:Nt,getOverride:function(P){return P.textColor},hasOverride:function(P){return!!P.textColor}}),"text-halo-color":new ni(Re.paint_symbol["text-halo-color"]),"text-halo-width":new ni(Re.paint_symbol["text-halo-width"]),"text-halo-blur":new ni(Re.paint_symbol["text-halo-blur"]),"text-translate":new Hr(Re.paint_symbol["text-translate"]),"text-translate-anchor":new Hr(Re.paint_symbol["text-translate-anchor"])}),layout:zC},mp=function(P){this.type=P.property.overrides?P.property.overrides.runtimeType:yt,this.defaultValue=P};mp.prototype.evaluate=function(P){if(P.formattedSection){var V=this.defaultValue.property.overrides;if(V&&V.hasOverride(P.formattedSection))return V.getOverride(P.formattedSection)}return P.feature&&P.featureState?this.defaultValue.evaluate(P.feature,P.featureState):this.defaultValue.property.specification.default},mp.prototype.eachChild=function(P){this.defaultValue.isConstant()||P(this.defaultValue.value._styleExpression.expression)},mp.prototype.outputDefined=function(){return!1},mp.prototype.serialize=function(){return null},Dr("FormatSectionOverride",mp,{omit:["defaultValue"]});var FC=function(P){function V(J){P.call(this,J,O1)}return P&&(V.__proto__=P),V.prototype=Object.create(P&&P.prototype),V.prototype.constructor=V,V.prototype.recalculate=function(J,he){if(P.prototype.recalculate.call(this,J,he),this.layout.get("icon-rotation-alignment")==="auto"&&(this.layout.get("symbol-placement")!=="point"?this.layout._values["icon-rotation-alignment"]="map":this.layout._values["icon-rotation-alignment"]="viewport"),this.layout.get("text-rotation-alignment")==="auto"&&(this.layout.get("symbol-placement")!=="point"?this.layout._values["text-rotation-alignment"]="map":this.layout._values["text-rotation-alignment"]="viewport"),this.layout.get("text-pitch-alignment")==="auto"&&(this.layout._values["text-pitch-alignment"]=this.layout.get("text-rotation-alignment")),this.layout.get("icon-pitch-alignment")==="auto"&&(this.layout._values["icon-pitch-alignment"]=this.layout.get("icon-rotation-alignment")),this.layout.get("symbol-placement")==="point"){var Ae=this.layout.get("text-writing-mode");if(Ae){for(var Oe=[],Ge=0,it=Ae;Ge",targetMapId:he,sourceMapId:Oe.mapId})}}},gp.prototype.receive=function(P){var V=P.data,J=V.id;if(J&&(!V.targetMapId||this.mapId===V.targetMapId))if(V.type===""){delete this.tasks[J];var he=this.cancelCallbacks[J];delete this.cancelCallbacks[J],he&&he()}else z()||V.mustQueue?(this.tasks[J]=V,this.taskQueue.push(J),this.invoker.trigger()):this.processTask(J,V)},gp.prototype.process=function(){if(this.taskQueue.length){var P=this.taskQueue.shift(),V=this.tasks[P];delete this.tasks[P],this.taskQueue.length&&this.invoker.trigger(),V&&this.processTask(P,V)}},gp.prototype.processTask=function(P,V){var J=this;if(V.type===""){var he=this.callbacks[P];delete this.callbacks[P],he&&(V.error?he(Fu(V.error)):he(null,Fu(V.data)))}else{var Ae=!1,Oe=N(this.globalScope)?void 0:[],Ge=V.hasCallback?function(Dt,Gt){Ae=!0,delete J.cancelCallbacks[P],J.target.postMessage({id:P,type:"",sourceMapId:J.mapId,error:Dt?zu(Dt):null,data:zu(Gt,Oe)},Oe)}:function(Dt){Ae=!0},it=null,pt=Fu(V.data);if(this.parent[V.type])it=this.parent[V.type](V.sourceMapId,pt,Ge);else if(this.parent.getWorkerSource){var Ct=V.type.split(".");it=this.parent.getWorkerSource(V.sourceMapId,Ct[0],pt.source)[Ct[1]](pt,Ge)}else Ge(new Error("Could not find function "+V.type));!Ae&&it&&it.cancel&&(this.cancelCallbacks[P]=it.cancel)}},gp.prototype.remove=function(){this.invoker.remove(),this.target.removeEventListener("message",this.receive,!1)};var To=function(P,V){P&&(V?this.setSouthWest(P).setNorthEast(V):P.length===4?this.setSouthWest([P[0],P[1]]).setNorthEast([P[2],P[3]]):this.setSouthWest(P[0]).setNorthEast(P[1]))};To.prototype.setNorthEast=function(P){return this._ne=P instanceof Ra?new Ra(P.lng,P.lat):Ra.convert(P),this},To.prototype.setSouthWest=function(P){return this._sw=P instanceof Ra?new Ra(P.lng,P.lat):Ra.convert(P),this},To.prototype.extend=function(P){var V,J,he=this._sw,Ae=this._ne;if(P instanceof Ra)V=P,J=P;else{if(!(P instanceof To)){if(Array.isArray(P)){if(P.length===4||P.every(Array.isArray)){var Oe=P;return this.extend(To.convert(Oe))}var Ge=P;return this.extend(Ra.convert(Ge))}return this}if(V=P._sw,J=P._ne,!V||!J)return this}return he||Ae?(he.lng=Math.min(V.lng,he.lng),he.lat=Math.min(V.lat,he.lat),Ae.lng=Math.max(J.lng,Ae.lng),Ae.lat=Math.max(J.lat,Ae.lat)):(this._sw=new Ra(V.lng,V.lat),this._ne=new Ra(J.lng,J.lat)),this},To.prototype.getCenter=function(){return new Ra((this._sw.lng+this._ne.lng)/2,(this._sw.lat+this._ne.lat)/2)},To.prototype.getSouthWest=function(){return this._sw},To.prototype.getNorthEast=function(){return this._ne},To.prototype.getNorthWest=function(){return new Ra(this.getWest(),this.getNorth())},To.prototype.getSouthEast=function(){return new Ra(this.getEast(),this.getSouth())},To.prototype.getWest=function(){return this._sw.lng},To.prototype.getSouth=function(){return this._sw.lat},To.prototype.getEast=function(){return this._ne.lng},To.prototype.getNorth=function(){return this._ne.lat},To.prototype.toArray=function(){return[this._sw.toArray(),this._ne.toArray()]},To.prototype.toString=function(){return"LngLatBounds("+this._sw.toString()+", "+this._ne.toString()+")"},To.prototype.isEmpty=function(){return!(this._sw&&this._ne)},To.prototype.contains=function(P){var V=Ra.convert(P),J=V.lng,he=V.lat,Ae=this._sw.lat<=he&&he<=this._ne.lat,Oe=this._sw.lng<=J&&J<=this._ne.lng;return this._sw.lng>this._ne.lng&&(Oe=this._sw.lng>=J&&J>=this._ne.lng),Ae&&Oe},To.convert=function(P){return!P||P instanceof To?P:new To(P)};var Cw=63710088e-1,Ra=function(P,V){if(isNaN(P)||isNaN(V))throw new Error("Invalid LngLat object: ("+P+", "+V+")");if(this.lng=+P,this.lat=+V,this.lat>90||this.lat<-90)throw new Error("Invalid LngLat latitude value: must be between -90 and 90")};Ra.prototype.wrap=function(){return new Ra(h(this.lng,-180,180),this.lat)},Ra.prototype.toArray=function(){return[this.lng,this.lat]},Ra.prototype.toString=function(){return"LngLat("+this.lng+", "+this.lat+")"},Ra.prototype.distanceTo=function(P){var V=Math.PI/180,J=this.lat*V,he=P.lat*V,Ae=Math.sin(J)*Math.sin(he)+Math.cos(J)*Math.cos(he)*Math.cos((P.lng-this.lng)*V);return Cw*Math.acos(Math.min(Ae,1))},Ra.prototype.toBounds=function(P){P===void 0&&(P=0);var V=360*P/40075017,J=V/Math.cos(Math.PI/180*this.lat);return new To(new Ra(this.lng-J,this.lat-V),new Ra(this.lng+J,this.lat+V))},Ra.convert=function(P){if(P instanceof Ra)return P;if(Array.isArray(P)&&(P.length===2||P.length===3))return new Ra(Number(P[0]),Number(P[1]));if(!Array.isArray(P)&&typeof P=="object"&&P!==null)return new Ra(Number("lng"in P?P.lng:P.lon),Number(P.lat));throw new Error("`LngLatLike` argument must be specified as a LngLat instance, an object {lng: , lat: }, an object {lon: , lat: }, or an array of [, ]")};var Ew=2*Math.PI*Cw;function Lw(P){return Ew*Math.cos(P*Math.PI/180)}function Iw(P){return(180+P)/360}function Rw(P){return(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+P*Math.PI/360)))/360}function Pw(P,V){return P/Lw(V)}function z1(P){var V=180-360*P;return 360/Math.PI*Math.atan(Math.exp(V*Math.PI/180))-90}var ud=function(P,V,J){J===void 0&&(J=0),this.x=+P,this.y=+V,this.z=+J};ud.fromLngLat=function(P,V){V===void 0&&(V=0);var J=Ra.convert(P);return new ud(Iw(J.lng),Rw(J.lat),Pw(V,J.lat))},ud.prototype.toLngLat=function(){return new Ra(360*this.x-180,z1(this.y))},ud.prototype.toAltitude=function(){return P=this.z,V=this.y,P*Lw(z1(V));var P,V},ud.prototype.meterInMercatorCoordinateUnits=function(){return 1/Ew*(P=z1(this.y),1/Math.cos(P*Math.PI/180));var P};var cd=function(P,V,J){this.z=P,this.x=V,this.y=J,this.key=j0(0,P,P,V,J)};cd.prototype.equals=function(P){return this.z===P.z&&this.x===P.x&&this.y===P.y},cd.prototype.url=function(P,V){var J,he,Ae,Oe,Ge,it=(J=this.x,he=this.y,Ae=this.z,Oe=Sw(256*J,256*(he=Math.pow(2,Ae)-he-1),Ae),Ge=Sw(256*(J+1),256*(he+1),Ae),Oe[0]+","+Oe[1]+","+Ge[0]+","+Ge[1]),pt=function(Ct,Dt,Gt){for(var Zt,$t="",fn=Ct;fn>0;fn--)$t+=(Dt&(Zt=1<this.canonical.z?new ko(P,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y):new ko(P,this.wrap,P,this.canonical.x>>V,this.canonical.y>>V)},ko.prototype.calculateScaledKey=function(P,V){var J=this.canonical.z-P;return P>this.canonical.z?j0(this.wrap*+V,P,this.canonical.z,this.canonical.x,this.canonical.y):j0(this.wrap*+V,P,P,this.canonical.x>>J,this.canonical.y>>J)},ko.prototype.isChildOf=function(P){if(P.wrap!==this.wrap)return!1;var V=this.canonical.z-P.canonical.z;return P.overscaledZ===0||P.overscaledZ>V&&P.canonical.y===this.canonical.y>>V},ko.prototype.children=function(P){if(this.overscaledZ>=P)return[new ko(this.overscaledZ+1,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)];var V=this.canonical.z+1,J=2*this.canonical.x,he=2*this.canonical.y;return[new ko(V,this.wrap,V,J,he),new ko(V,this.wrap,V,J+1,he),new ko(V,this.wrap,V,J,he+1),new ko(V,this.wrap,V,J+1,he+1)]},ko.prototype.isLessThan=function(P){return this.wrapP.wrap)&&(this.overscaledZP.overscaledZ)&&(this.canonical.xP.canonical.x)&&this.canonical.y=this.dim+1||V<-1||V>=this.dim+1)throw new RangeError("out of range source coordinates for DEM data");return(V+1)*this.stride+(P+1)},Bh.prototype._unpackMapbox=function(P,V,J){return(256*P*256+256*V+J)/10-1e4},Bh.prototype._unpackTerrarium=function(P,V,J){return 256*P+V+J/256-32768},Bh.prototype.getPixels=function(){return new Ws({width:this.stride,height:this.stride},new Uint8Array(this.data.buffer))},Bh.prototype.backfillBorder=function(P,V,J){if(this.dim!==P.dim)throw new Error("dem dimension mismatch");var he=V*this.dim,Ae=V*this.dim+this.dim,Oe=J*this.dim,Ge=J*this.dim+this.dim;switch(V){case-1:he=Ae-1;break;case 1:Ae=he+1}switch(J){case-1:Oe=Ge-1;break;case 1:Ge=Oe+1}for(var it=-V*this.dim,pt=-J*this.dim,Ct=Oe;Ct=0&&Dt[3]>=0&&it.insert(Ge,Dt[0],Dt[1],Dt[2],Dt[3])}},Nh.prototype.loadVTLayers=function(){return this.vtLayers||(this.vtLayers=new sp.VectorTile(new _g(this.rawTileData)).layers,this.sourceLayerCoder=new Pg(this.vtLayers?Object.keys(this.vtLayers).sort():["_geojsonTileLayer"])),this.vtLayers},Nh.prototype.query=function(P,V,J,he){var Ae=this;this.loadVTLayers();for(var Oe=P.params||{},Ge=li/P.tileSize/P.scale,it=_c(Oe.filter),pt=P.queryGeometry,Ct=P.queryPadding*Ge,Dt=zw(pt),Gt=this.grid.query(Dt.minX-Ct,Dt.minY-Ct,Dt.maxX+Ct,Dt.maxY+Ct),Zt=zw(P.cameraQueryGeometry),$t=0,fn=this.grid3D.query(Zt.minX-Ct,Zt.minY-Ct,Zt.maxX+Ct,Zt.maxY+Ct,function(er,sr,fr,Pr){return function(Tr,Nr,Xr,hi,Jr){for(var ui=0,ri=Tr;ui=Kr.x&&Jr>=Kr.y)return!0}var Di=[new a(Nr,Xr),new a(Nr,Jr),new a(hi,Jr),new a(hi,Xr)];if(Tr.length>2){for(var pi=0,va=Di;pi=0)return!0;return!1}(Oe,Gt)){var Zt=this.sourceLayerCoder.decode(J),$t=this.vtLayers[Zt].feature(he);if(Ae.filter(new Wi(this.tileID.overscaledZ),$t))for(var fn=this.getId($t,Zt),Mn=0;Mnhe)Ae=!1;else if(V)if(this.expirationTimege&&(P.getActor().send("enforceCacheSizeLimit",je),st=0)},i.clamp=c,i.clearTileCache=function(P){var V=self.caches.delete(ze);P&&V.catch(P).then(function(){return P()})},i.clipLine=vw,i.clone=function(P){var V=new zl(16);return V[0]=P[0],V[1]=P[1],V[2]=P[2],V[3]=P[3],V[4]=P[4],V[5]=P[5],V[6]=P[6],V[7]=P[7],V[8]=P[8],V[9]=P[9],V[10]=P[10],V[11]=P[11],V[12]=P[12],V[13]=P[13],V[14]=P[14],V[15]=P[15],V},i.clone$1=L,i.clone$2=function(P){var V=new zl(3);return V[0]=P[0],V[1]=P[1],V[2]=P[2],V},i.collisionCircleLayout=cC,i.config=Z,i.create=function(){var P=new zl(16);return zl!=Float32Array&&(P[1]=0,P[2]=0,P[3]=0,P[4]=0,P[6]=0,P[7]=0,P[8]=0,P[9]=0,P[11]=0,P[12]=0,P[13]=0,P[14]=0),P[0]=1,P[5]=1,P[10]=1,P[15]=1,P},i.create$1=function(){var P=new zl(9);return zl!=Float32Array&&(P[1]=0,P[2]=0,P[3]=0,P[5]=0,P[6]=0,P[7]=0),P[0]=1,P[4]=1,P[8]=1,P},i.create$2=function(){var P=new zl(4);return zl!=Float32Array&&(P[1]=0,P[2]=0),P[0]=1,P[3]=1,P},i.createCommonjsModule=M,i.createExpression=mc,i.createLayout=la,i.createStyleLayer=function(P){return P.type==="custom"?new UC(P):new HC[P.type](P)},i.cross=function(P,V,J){var he=V[0],Ae=V[1],Oe=V[2],Ge=J[0],it=J[1],pt=J[2];return P[0]=Ae*pt-Oe*it,P[1]=Oe*Ge-he*pt,P[2]=he*it-Ae*Ge,P},i.deepEqual=function P(V,J){if(Array.isArray(V)){if(!Array.isArray(J)||V.length!==J.length)return!1;for(var he=0;he0&&(Oe=1/Math.sqrt(Oe)),P[0]=V[0]*Oe,P[1]=V[1]*Oe,P[2]=V[2]*Oe,P},i.number=zr,i.offscreenCanvasSupported=ot,i.ortho=function(P,V,J,he,Ae,Oe,Ge){var it=1/(V-J),pt=1/(he-Ae),Ct=1/(Oe-Ge);return P[0]=-2*it,P[1]=0,P[2]=0,P[3]=0,P[4]=0,P[5]=-2*pt,P[6]=0,P[7]=0,P[8]=0,P[9]=0,P[10]=2*Ct,P[11]=0,P[12]=(V+J)*it,P[13]=(Ae+he)*pt,P[14]=(Ge+Oe)*Ct,P[15]=1,P},i.parseGlyphPBF=function(P){return new _g(P).readFields(_C,[])},i.pbf=_g,i.performSymbolLayout=function(P,V,J,he,Ae,Oe,Ge){P.createArrays();var it=512*P.overscaling;P.tilePixelRatio=li/it,P.compareText={},P.iconsNeedLinear=!1;var pt=P.layers[0].layout,Ct=P.layers[0]._unevaluatedLayout._values,Dt={};if(P.textSizeData.kind==="composite"){var Gt=P.textSizeData,Zt=Gt.minZoom,$t=Gt.maxZoom;Dt.compositeTextSizes=[Ct["text-size"].possiblyEvaluate(new Wi(Zt),Ge),Ct["text-size"].possiblyEvaluate(new Wi($t),Ge)]}if(P.iconSizeData.kind==="composite"){var fn=P.iconSizeData,Mn=fn.minZoom,Nn=fn.maxZoom;Dt.compositeIconSizes=[Ct["icon-size"].possiblyEvaluate(new Wi(Mn),Ge),Ct["icon-size"].possiblyEvaluate(new Wi(Nn),Ge)]}Dt.layoutTextSize=Ct["text-size"].possiblyEvaluate(new Wi(P.zoom+1),Ge),Dt.layoutIconSize=Ct["icon-size"].possiblyEvaluate(new Wi(P.zoom+1),Ge),Dt.textMaxSize=Ct["text-size"].possiblyEvaluate(new Wi(18));for(var Bn=pt.get("text-line-height")*ss,Wn=pt.get("text-rotation-alignment")==="map"&&pt.get("symbol-placement")!=="point",Zn=pt.get("text-keep-upright"),er=pt.get("text-size"),sr=function(){var Tr=Pr[fr],Nr=pt.get("text-font").evaluate(Tr,{},Ge).join(","),Xr=er.evaluate(Tr,{},Ge),hi=Dt.layoutTextSize.evaluate(Tr,{},Ge),Jr=Dt.layoutIconSize.evaluate(Tr,{},Ge),ui={horizontal:{},vertical:void 0},ri=Tr.text,Kr=[0,0];if(ri){var Di=ri.toString(),pi=pt.get("text-letter-spacing").evaluate(Tr,{},Ge)*ss,va=function(mi){for(var Gi=0,Ka=mi;Gi=li||X0.y<0||X0.y>=li||function(ro,Cc,WC,Af,q1,Uw,Gg,Qc,qg,K0,Wg,Yg,W1,Hw,J0,Gw,qw,Ww,Yw,$w,Bl,$g,Zw,eh,YC){var Xw,gd,_p,wp,Tp,kp=ro.addToLineVertexArray(Cc,WC),Kw=0,Jw=0,Qw=0,e3=0,Y1=-1,$1=-1,jh={},t3=Fn(""),Z1=0,X1=0;if(Qc._unevaluatedLayout.getValue("text-radial-offset")===void 0?(Z1=(Xw=Qc.layout.get("text-offset").evaluate(Bl,{},eh).map(function(em){return em*ss}))[0],X1=Xw[1]):(Z1=Qc.layout.get("text-radial-offset").evaluate(Bl,{},eh)*ss,X1=I1),ro.allowVerticalPlacement&&Af.vertical){var n3=Qc.layout.get("text-rotate").evaluate(Bl,{},eh)+90,$C=Af.vertical;wp=new Lg(qg,Cc,K0,Wg,Yg,$C,W1,Hw,J0,n3),Gg&&(Tp=new Lg(qg,Cc,K0,Wg,Yg,Gg,qw,Ww,J0,n3))}if(q1){var K1=Qc.layout.get("icon-rotate").evaluate(Bl,{}),r3=Qc.layout.get("icon-text-fit")!=="none",i3=yw(q1,K1,Zw,r3),J1=Gg?yw(Gg,K1,Zw,r3):void 0;_p=new Lg(qg,Cc,K0,Wg,Yg,q1,qw,Ww,!1,K1),Kw=4*i3.length;var a3=ro.iconSizeData,Q0=null;a3.kind==="source"?(Q0=[Jc*Qc.layout.get("icon-size").evaluate(Bl,{})])[0]>kf&&R(ro.layerIds[0]+': Value for "icon-size" is >= 255. Reduce your "icon-size".'):a3.kind==="composite"&&((Q0=[Jc*$g.compositeIconSizes[0].evaluate(Bl,{},eh),Jc*$g.compositeIconSizes[1].evaluate(Bl,{},eh)])[0]>kf||Q0[1]>kf)&&R(ro.layerIds[0]+': Value for "icon-size" is >= 255. Reduce your "icon-size".'),ro.addSymbols(ro.icon,i3,Q0,$w,Yw,Bl,!1,Cc,kp.lineStartIndex,kp.lineLength,-1,eh),Y1=ro.icon.placedSymbolArray.length-1,J1&&(Jw=4*J1.length,ro.addSymbols(ro.icon,J1,Q0,$w,Yw,Bl,Fl.vertical,Cc,kp.lineStartIndex,kp.lineLength,-1,eh),$1=ro.icon.placedSymbolArray.length-1)}for(var o3 in Af.horizontal){var Zg=Af.horizontal[o3];if(!gd){t3=Fn(Zg.text);var ZC=Qc.layout.get("text-rotate").evaluate(Bl,{},eh);gd=new Lg(qg,Cc,K0,Wg,Yg,Zg,W1,Hw,J0,ZC)}var s3=Zg.positionedLines.length===1;if(Qw+=_w(ro,Cc,Zg,Uw,Qc,J0,Bl,Gw,kp,Af.vertical?Fl.horizontal:Fl.horizontalOnly,s3?Object.keys(Af.horizontal):[o3],jh,Y1,$g,eh),s3)break}Af.vertical&&(e3+=_w(ro,Cc,Af.vertical,Uw,Qc,J0,Bl,Gw,kp,Fl.vertical,["vertical"],jh,$1,$g,eh));var XC=gd?gd.boxStartIndex:ro.collisionBoxArray.length,KC=gd?gd.boxEndIndex:ro.collisionBoxArray.length,JC=wp?wp.boxStartIndex:ro.collisionBoxArray.length,QC=wp?wp.boxEndIndex:ro.collisionBoxArray.length,e8=_p?_p.boxStartIndex:ro.collisionBoxArray.length,t8=_p?_p.boxEndIndex:ro.collisionBoxArray.length,n8=Tp?Tp.boxStartIndex:ro.collisionBoxArray.length,r8=Tp?Tp.boxEndIndex:ro.collisionBoxArray.length,th=-1,Xg=function(em,u3){return em&&em.circleDiameter?Math.max(em.circleDiameter,u3):u3};th=Xg(gd,th),th=Xg(wp,th),th=Xg(_p,th);var l3=(th=Xg(Tp,th))>-1?1:0;l3&&(th*=YC/ss),ro.glyphOffsetArray.length>=ha.MAX_GLYPHS&&R("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"),Bl.sortKey!==void 0&&ro.addToSortKeyRanges(ro.symbolInstances.length,Bl.sortKey),ro.symbolInstances.emplaceBack(Cc.x,Cc.y,jh.right>=0?jh.right:-1,jh.center>=0?jh.center:-1,jh.left>=0?jh.left:-1,jh.vertical||-1,Y1,$1,t3,XC,KC,JC,QC,e8,t8,n8,r8,K0,Qw,e3,Kw,Jw,l3,0,W1,Z1,X1,th)}(mi,X0,qC,Ka,ma,Ga,Vh,mi.layers[0],mi.collisionBoxArray,Gi.index,Gi.sourceLayerIndex,mi.index,Dg,B1,Bg,Ds,zg,Fg,Ng,Sc,Gi,Oa,dl,ks,$i)};if(H0==="line")for(var bp=0,Vg=vw(Gi.geometry,0,0,li,li);bp1){var Y0=SC(pd,yp,Ka.vertical||Uu,ma,Hu,fd);Y0&&dd(pd,Y0)}}else if(Gi.type==="Polygon")for(var md=0,$0=w1(Gi.geometry,0);md<$0.length;md+=1){var Z0=$0[md],Bw=LC(Z0,16);dd(Z0[0],new hp(Bw.x,Bw.y,0))}else if(Gi.type==="LineString")for(var V1=0,Nw=Gi.geometry;V1=An.maxzoom||An.visibility!=="none"&&(u(un,this.zoom,qe),(Lt[An.id]=An.createBucket({index:Qe.bucketLayerIDs.length,layers:un,zoom:this.zoom,pixelRatio:this.pixelRatio,overscaling:this.overscaling,collisionBoxArray:this.collisionBoxArray,sourceLayerIndex:Nt,sourceID:this.source})).populate(Yt,yt,this.tileID.canonical),Qe.bucketLayerIDs.push(un.map(function(dn){return dn.id})))}}}var Yn=i.mapObject(yt.glyphDependencies,function(dn){return Object.keys(dn).map(Number)});Object.keys(Yn).length?nt.send("getGlyphs",{uid:this.uid,stacks:Yn},function(dn,pn){ut||(ut=dn,dt=pn,Tn.call(Re))}):dt={};var kn=Object.keys(yt.iconDependencies);kn.length?nt.send("getImages",{icons:kn,source:this.source,tileID:this.tileID,type:"icons"},function(dn,pn){ut||(ut=dn,_t=pn,Tn.call(Re))}):_t={};var sn=Object.keys(yt.patternDependencies);function Tn(){if(ut)return ft(ut);if(dt&&_t&&It){var dn=new l(dt),pn=new i.ImageAtlas(_t,It);for(var Dn in Lt){var In=Lt[Dn];In instanceof i.SymbolBucket?(u(In.layers,this.zoom,qe),i.performSymbolLayout(In,dt,dn.positions,_t,pn.iconPositions,this.showCollisionBoxes,this.tileID.canonical)):In.hasPattern&&(In instanceof i.LineBucket||In instanceof i.FillBucket||In instanceof i.FillExtrusionBucket)&&(u(In.layers,this.zoom,qe),In.addFeatures(yt,this.tileID.canonical,pn.patternPositions))}this.status="done",ft(null,{buckets:i.values(Lt).filter(function(jn){return!jn.isEmpty()}),featureIndex:Qe,collisionBoxArray:this.collisionBoxArray,glyphAtlasImage:dn.image,imageAtlas:pn,glyphMap:this.returnDependencies?dt:null,iconMap:this.returnDependencies?_t:null,glyphPositions:this.returnDependencies?dn.positions:null})}}sn.length?nt.send("getImages",{icons:sn,source:this.source,tileID:this.tileID,type:"patterns"},function(dn,pn){ut||(ut=dn,It=pn,Tn.call(Re))}):It={},Tn.call(this)};var s=function(Ke,Je,qe,nt){this.actor=Ke,this.layerIndex=Je,this.availableImages=qe,this.loadVectorData=nt||o,this.loading={},this.loaded={}};s.prototype.loadTile=function(Ke,Je){var qe=this,nt=Ke.uid;this.loading||(this.loading={});var ft=!!(Ke&&Ke.request&&Ke.request.collectResourceTiming)&&new i.RequestPerformance(Ke.request),Re=this.loading[nt]=new a(Ke);Re.abort=this.loadVectorData(Ke,function(Ne,Qe){if(delete qe.loading[nt],Ne||!Qe)return Re.status="done",qe.loaded[nt]=Re,Je(Ne);var ut=Qe.rawData,dt={};Qe.expires&&(dt.expires=Qe.expires),Qe.cacheControl&&(dt.cacheControl=Qe.cacheControl);var _t={};if(ft){var It=ft.finish();It&&(_t.resourceTiming=JSON.parse(JSON.stringify(It)))}Re.vectorTile=Qe.vectorTile,Re.parse(Qe.vectorTile,qe.layerIndex,qe.availableImages,qe.actor,function(Lt,yt){if(Lt||!yt)return Je(Lt);Je(null,i.extend({rawTileData:ut.slice(0)},yt,dt,_t))}),qe.loaded=qe.loaded||{},qe.loaded[nt]=Re})},s.prototype.reloadTile=function(Ke,Je){var qe=this,nt=this.loaded,ft=Ke.uid,Re=this;if(nt&&nt[ft]){var Ne=nt[ft];Ne.showCollisionBoxes=Ke.showCollisionBoxes;var Qe=function(ut,dt){var _t=Ne.reloadCallback;_t&&(delete Ne.reloadCallback,Ne.parse(Ne.vectorTile,Re.layerIndex,qe.availableImages,Re.actor,_t)),Je(ut,dt)};Ne.status==="parsing"?Ne.reloadCallback=Qe:Ne.status==="done"&&(Ne.vectorTile?Ne.parse(Ne.vectorTile,this.layerIndex,this.availableImages,this.actor,Qe):Qe())}},s.prototype.abortTile=function(Ke,Je){var qe=this.loading,nt=Ke.uid;qe&&qe[nt]&&qe[nt].abort&&(qe[nt].abort(),delete qe[nt]),Je()},s.prototype.removeTile=function(Ke,Je){var qe=this.loaded,nt=Ke.uid;qe&&qe[nt]&&delete qe[nt],Je()};var c=i.window.ImageBitmap,h=function(){this.loaded={}};h.prototype.loadTile=function(Ke,Je){var qe=Ke.uid,nt=Ke.encoding,ft=Ke.rawImageData,Re=c&&ft instanceof c?this.getImageData(ft):ft,Ne=new i.DEMData(qe,Re,nt);this.loaded=this.loaded||{},this.loaded[qe]=Ne,Je(null,Ne)},h.prototype.getImageData=function(Ke){this.offscreenCanvas&&this.offscreenCanvasContext||(this.offscreenCanvas=new OffscreenCanvas(Ke.width,Ke.height),this.offscreenCanvasContext=this.offscreenCanvas.getContext("2d")),this.offscreenCanvas.width=Ke.width,this.offscreenCanvas.height=Ke.height,this.offscreenCanvasContext.drawImage(Ke,0,0,Ke.width,Ke.height);var Je=this.offscreenCanvasContext.getImageData(-1,-1,Ke.width+2,Ke.height+2);return this.offscreenCanvasContext.clearRect(0,0,this.offscreenCanvas.width,this.offscreenCanvas.height),new i.RGBAImage({width:Je.width,height:Je.height},Je.data)},h.prototype.removeTile=function(Ke){var Je=this.loaded,qe=Ke.uid;Je&&Je[qe]&&delete Je[qe]};var m=function Ke(Je,qe){var nt,ft=Je&&Je.type;if(ft==="FeatureCollection")for(nt=0;nt=0!=!!Je&&Ke.reverse()}var S=i.vectorTile.VectorTileFeature.prototype.toGeoJSON,_=function(Ke){this._feature=Ke,this.extent=i.EXTENT,this.type=Ke.type,this.properties=Ke.tags,"id"in Ke&&!isNaN(Ke.id)&&(this.id=parseInt(Ke.id,10))};_.prototype.loadGeometry=function(){if(this._feature.type===1){for(var Ke=[],Je=0,qe=this._feature.geometry;Je>31}function $(Ke,Je){for(var qe=Ke.loadGeometry(),nt=Ke.type,ft=0,Re=0,Ne=qe.length,Qe=0;Qe>1;q(Ke,Je,Ne,nt,ft,Re%2),G(Ke,Je,qe,nt,Ne-1,Re+1),G(Ke,Je,qe,Ne+1,ft,Re+1)}}function q(Ke,Je,qe,nt,ft,Re){for(;ft>nt;){if(ft-nt>600){var Ne=ft-nt+1,Qe=qe-nt+1,ut=Math.log(Ne),dt=.5*Math.exp(2*ut/3),_t=.5*Math.sqrt(ut*dt*(Ne-dt)/Ne)*(Qe-Ne/2<0?-1:1);q(Ke,Je,qe,Math.max(nt,Math.floor(qe-Qe*dt/Ne+_t)),Math.min(ft,Math.floor(qe+(Ne-Qe)*dt/Ne+_t)),Re)}var It=Je[2*qe+Re],Lt=nt,yt=ft;for(H(Ke,Je,nt,qe),Je[2*ft+Re]>It&&H(Ke,Je,nt,ft);LtIt;)yt--}Je[2*nt+Re]===It?H(Ke,Je,nt,yt):H(Ke,Je,++yt,ft),yt<=qe&&(nt=yt+1),qe<=yt&&(ft=yt-1)}}function H(Ke,Je,qe,nt){ne(Ke,qe,nt),ne(Je,2*qe,2*nt),ne(Je,2*qe+1,2*nt+1)}function ne(Ke,Je,qe){var nt=Ke[Je];Ke[Je]=Ke[qe],Ke[qe]=nt}function te(Ke,Je,qe,nt){var ft=Ke-qe,Re=Je-nt;return ft*ft+Re*Re}b.fromVectorTileJs=R,b.fromGeojsonVt=I,b.GeoJSONWrapper=O;var Z=function(Ke){return Ke[0]},X=function(Ke){return Ke[1]},Q=function(Ke,Je,qe,nt,ft){Je===void 0&&(Je=Z),qe===void 0&&(qe=X),nt===void 0&&(nt=64),ft===void 0&&(ft=Float64Array),this.nodeSize=nt,this.points=Ke;for(var Re=Ke.length<65536?Uint16Array:Uint32Array,Ne=this.ids=new Re(Ke.length),Qe=this.coords=new ft(2*Ke.length),ut=0;ut=Ne&&It<=ut&&Lt>=Qe&&Lt<=dt&&Pt.push(ft[Yt]);else{var Wt=Math.floor((Nt+Rt)/2);It=Re[2*Wt],Lt=Re[2*Wt+1],It>=Ne&&It<=ut&&Lt>=Qe&&Lt<=dt&&Pt.push(ft[Wt]);var Xt=(wt+1)%2;(wt===0?Ne<=It:Qe<=Lt)&&(yt.push(Nt),yt.push(Wt-1),yt.push(Xt)),(wt===0?ut>=It:dt>=Lt)&&(yt.push(Wt+1),yt.push(Rt),yt.push(Xt))}}return Pt}(this.ids,this.coords,Ke,Je,qe,nt,this.nodeSize)},Q.prototype.within=function(Ke,Je,qe){return function(nt,ft,Re,Ne,Qe,ut){for(var dt=[0,nt.length-1,0],_t=[],It=Qe*Qe;dt.length;){var Lt=dt.pop(),yt=dt.pop(),Pt=dt.pop();if(yt-Pt<=ut)for(var wt=Pt;wt<=yt;wt++)te(ft[2*wt],ft[2*wt+1],Re,Ne)<=It&&_t.push(nt[wt]);else{var Rt=Math.floor((Pt+yt)/2),Nt=ft[2*Rt],Yt=ft[2*Rt+1];te(Nt,Yt,Re,Ne)<=It&&_t.push(nt[Rt]);var Wt=(Lt+1)%2;(Lt===0?Re-Qe<=Nt:Ne-Qe<=Yt)&&(dt.push(Pt),dt.push(Rt-1),dt.push(Wt)),(Lt===0?Re+Qe>=Nt:Ne+Qe>=Yt)&&(dt.push(Rt+1),dt.push(yt),dt.push(Wt))}}return _t}(this.ids,this.coords,Ke,Je,qe,this.nodeSize)};var re={minZoom:0,maxZoom:16,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:function(Ke){return Ke}},ie=function(Ke){this.options=pe(Object.create(re),Ke),this.trees=new Array(this.options.maxZoom+1)};function oe(Ke,Je,qe,nt,ft){return{x:Ke,y:Je,zoom:1/0,id:qe,parentId:-1,numPoints:nt,properties:ft}}function ue(Ke,Je){var qe=Ke.geometry.coordinates,nt=qe[0],ft=qe[1];return{x:de(nt),y:me(ft),zoom:1/0,index:Je,parentId:-1}}function ce(Ke){return{type:"Feature",id:Ke.id,properties:ye(Ke),geometry:{type:"Point",coordinates:[(nt=Ke.x,360*(nt-.5)),(Je=Ke.y,qe=(180-360*Je)*Math.PI/180,360*Math.atan(Math.exp(qe))/Math.PI-90)]}};var Je,qe,nt}function ye(Ke){var Je=Ke.numPoints,qe=Je>=1e4?Math.round(Je/1e3)+"k":Je>=1e3?Math.round(Je/100)/10+"k":Je;return pe(pe({},Ke.properties),{cluster:!0,cluster_id:Ke.id,point_count:Je,point_count_abbreviated:qe})}function de(Ke){return Ke/360+.5}function me(Ke){var Je=Math.sin(Ke*Math.PI/180),qe=.5-.25*Math.log((1+Je)/(1-Je))/Math.PI;return qe<0?0:qe>1?1:qe}function pe(Ke,Je){for(var qe in Je)Ke[qe]=Je[qe];return Ke}function xe(Ke){return Ke.x}function Pe(Ke){return Ke.y}function _e(Ke,Je,qe,nt){for(var ft,Re=nt,Ne=qe-Je>>1,Qe=qe-Je,ut=Ke[Je],dt=Ke[Je+1],_t=Ke[qe],It=Ke[qe+1],Lt=Je+3;LtRe)ft=Lt,Re=yt;else if(yt===Re){var Pt=Math.abs(Lt-Ne);Ptnt&&(ft-Je>3&&_e(Ke,Je,ft,nt),Ke[ft+2]=Re,qe-ft>3&&_e(Ke,ft,qe,nt))}function Me(Ke,Je,qe,nt,ft,Re){var Ne=ft-qe,Qe=Re-nt;if(Ne!==0||Qe!==0){var ut=((Ke-qe)*Ne+(Je-nt)*Qe)/(Ne*Ne+Qe*Qe);ut>1?(qe=ft,nt=Re):ut>0&&(qe+=Ne*ut,nt+=Qe*ut)}return(Ne=Ke-qe)*Ne+(Qe=Je-nt)*Qe}function Se(Ke,Je,qe,nt){var ft={id:Ke===void 0?null:Ke,type:Je,geometry:qe,tags:nt,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};return function(Re){var Ne=Re.geometry,Qe=Re.type;if(Qe==="Point"||Qe==="MultiPoint"||Qe==="LineString")Ce(Re,Ne);else if(Qe==="Polygon"||Qe==="MultiLineString")for(var ut=0;ut0&&(Ne+=nt?(ft*dt-ut*Re)/2:Math.sqrt(Math.pow(ut-ft,2)+Math.pow(dt-Re,2))),ft=ut,Re=dt}var _t=Je.length-3;Je[2]=1,_e(Je,0,_t,qe),Je[_t+2]=1,Je.size=Math.abs(Ne),Je.start=0,Je.end=Je.size}function ke(Ke,Je,qe,nt){for(var ft=0;ft1?1:qe}function ze(Ke,Je,qe,nt,ft,Re,Ne,Qe){if(nt/=Je,Re>=(qe/=Je)&&Ne=nt)return null;for(var ut=[],dt=0;dt=qe&&Pt=nt)){var wt=[];if(Lt==="Point"||Lt==="MultiPoint")je(It,wt,qe,nt,ft);else if(Lt==="LineString")ge(It,wt,qe,nt,ft,!1,Qe.lineMetrics);else if(Lt==="MultiLineString")Ee(It,wt,qe,nt,ft,!1);else if(Lt==="Polygon")Ee(It,wt,qe,nt,ft,!0);else if(Lt==="MultiPolygon")for(var Rt=0;Rt=qe&&Ne<=nt&&(Je.push(Ke[Re]),Je.push(Ke[Re+1]),Je.push(Ke[Re+2]))}}function ge(Ke,Je,qe,nt,ft,Re,Ne){for(var Qe,ut,dt=we(Ke),_t=ft===0?$e:Ye,It=Ke.start,Lt=0;Ltqe&&(ut=_t(dt,yt,Pt,Rt,Nt,qe),Ne&&(dt.start=It+Qe*ut)):Yt>nt?Wt=qe&&(ut=_t(dt,yt,Pt,Rt,Nt,qe),Xt=!0),Wt>nt&&Yt<=nt&&(ut=_t(dt,yt,Pt,Rt,Nt,nt),Xt=!0),!Re&&Xt&&(Ne&&(dt.end=It+Qe*ut),Je.push(dt),dt=we(Ke)),Ne&&(It+=Qe)}var Qt=Ke.length-3;yt=Ke[Qt],Pt=Ke[Qt+1],wt=Ke[Qt+2],(Yt=ft===0?yt:Pt)>=qe&&Yt<=nt&&Ve(dt,yt,Pt,wt),Qt=dt.length-3,Re&&Qt>=3&&(dt[Qt]!==dt[0]||dt[Qt+1]!==dt[1])&&Ve(dt,dt[0],dt[1],dt[2]),dt.length&&Je.push(dt)}function we(Ke){var Je=[];return Je.size=Ke.size,Je.start=Ke.start,Je.end=Ke.end,Je}function Ee(Ke,Je,qe,nt,ft,Re){for(var Ne=0;NeNe.maxX&&(Ne.maxX=_t),It>Ne.maxY&&(Ne.maxY=It)}return Ne}function kt(Ke,Je,qe,nt){var ft=Je.geometry,Re=Je.type,Ne=[];if(Re==="Point"||Re==="MultiPoint")for(var Qe=0;Qe0&&Je.size<(ft?Ne:nt))qe.numPoints+=Je.length/3;else{for(var Qe=[],ut=0;utNe)&&(qe.numSimplified++,Qe.push(Je[ut]),Qe.push(Je[ut+1])),qe.numPoints++;ft&&function(dt,_t){for(var It=0,Lt=0,yt=dt.length,Pt=yt-2;Lt0===_t)for(Lt=0,yt=dt.length;Lt24)throw new Error("maxZoom should be in the 0-24 range");if(Je.promoteId&&Je.generateId)throw new Error("promoteId and generateId cannot be used together.");var nt=function(ft,Re){var Ne=[];if(ft.type==="FeatureCollection")for(var Qe=0;Qe=nt;dt--){var _t=+Date.now();Qe=this._cluster(Qe,dt),this.trees[dt]=new Q(Qe,xe,Pe,Re,Float32Array),qe&&console.log("z%d: %d clusters in %dms",dt,Qe.length,+Date.now()-_t)}return qe&&console.timeEnd("total time"),this},ie.prototype.getClusters=function(Ke,Je){var qe=((Ke[0]+180)%360+360)%360-180,nt=Math.max(-90,Math.min(90,Ke[1])),ft=Ke[2]===180?180:((Ke[2]+180)%360+360)%360-180,Re=Math.max(-90,Math.min(90,Ke[3]));if(Ke[2]-Ke[0]>=360)qe=-180,ft=180;else if(qe>ft){var Ne=this.getClusters([qe,nt,180,Re],Je),Qe=this.getClusters([-180,nt,ft,Re],Je);return Ne.concat(Qe)}for(var ut=this.trees[this._limitZoom(Je)],dt=[],_t=0,It=ut.range(de(qe),me(Re),de(ft),me(nt));_t1?this._map(dt,!0):null,Rt=(ut<<5)+(Je+1)+this.points.length,Nt=0,Yt=It;Nt>5},ie.prototype._getOriginZoom=function(Ke){return(Ke-this.points.length)%32},ie.prototype._map=function(Ke,Je){if(Ke.numPoints)return Je?pe({},Ke.properties):Ke.properties;var qe=this.points[Ke.index].properties,nt=this.options.map(qe);return Je&&nt===qe?pe({},nt):nt},Ft.prototype.options={maxZoom:14,indexMaxZoom:5,indexMaxPoints:1e5,tolerance:3,extent:4096,buffer:64,lineMetrics:!1,promoteId:null,generateId:!1,debug:0},Ft.prototype.splitTile=function(Ke,Je,qe,nt,ft,Re,Ne){for(var Qe=[Ke,Je,qe,nt],ut=this.options,dt=ut.debug;Qe.length;){nt=Qe.pop(),qe=Qe.pop(),Je=Qe.pop(),Ke=Qe.pop();var _t=1<1&&console.time("creation"),Lt=this.tiles[It]=Et(Ke,Je,qe,nt,ut),this.tileCoords.push({z:Je,x:qe,y:nt}),dt)){dt>1&&(console.log("tile z%d-%d-%d (features: %d, points: %d, simplified: %d)",Je,qe,nt,Lt.numFeatures,Lt.numPoints,Lt.numSimplified),console.timeEnd("creation"));var yt="z"+Je;this.stats[yt]=(this.stats[yt]||0)+1,this.total++}if(Lt.source=Ke,ft){if(Je===ut.maxZoom||Je===ft)continue;var Pt=1<1&&console.time("clipping");var wt,Rt,Nt,Yt,Wt,Xt,Qt=.5*ut.buffer/ut.extent,rn=.5-Qt,xn=.5+Qt,un=1+Qt;wt=Rt=Nt=Yt=null,Wt=ze(Ke,_t,qe-Qt,qe+xn,0,Lt.minX,Lt.maxX,ut),Xt=ze(Ke,_t,qe+rn,qe+un,0,Lt.minX,Lt.maxX,ut),Ke=null,Wt&&(wt=ze(Wt,_t,nt-Qt,nt+xn,1,Lt.minY,Lt.maxY,ut),Rt=ze(Wt,_t,nt+rn,nt+un,1,Lt.minY,Lt.maxY,ut),Wt=null),Xt&&(Nt=ze(Xt,_t,nt-Qt,nt+xn,1,Lt.minY,Lt.maxY,ut),Yt=ze(Xt,_t,nt+rn,nt+un,1,Lt.minY,Lt.maxY,ut),Xt=null),dt>1&&console.timeEnd("clipping"),Qe.push(wt||[],Je+1,2*qe,2*nt),Qe.push(Rt||[],Je+1,2*qe,2*nt+1),Qe.push(Nt||[],Je+1,2*qe+1,2*nt),Qe.push(Yt||[],Je+1,2*qe+1,2*nt+1)}}},Ft.prototype.getTile=function(Ke,Je,qe){var nt=this.options,ft=nt.extent,Re=nt.debug;if(Ke<0||Ke>24)return null;var Ne=1<1&&console.log("drilling down to z%d-%d-%d",Ke,Je,qe);for(var ut,dt=Ke,_t=Je,It=qe;!ut&&dt>0;)dt--,_t=Math.floor(_t/2),It=Math.floor(It/2),ut=this.tiles[Ot(dt,_t,It)];return ut&&ut.source?(Re>1&&console.log("found parent tile z%d-%d-%d",dt,_t,It),Re>1&&console.time("drilling down"),this.splitTile(ut.source,dt,_t,It,Ke,Je,qe),Re>1&&console.timeEnd("drilling down"),this.tiles[Qe]?ht(this.tiles[Qe],ft):null):null};var qt=function(Ke){function Je(qe,nt,ft,Re){Ke.call(this,qe,nt,ft,Bt),Re&&(this.loadGeoJSON=Re)}return Ke&&(Je.__proto__=Ke),Je.prototype=Object.create(Ke&&Ke.prototype),Je.prototype.constructor=Je,Je.prototype.loadData=function(qe,nt){this._pendingCallback&&this._pendingCallback(null,{abandoned:!0}),this._pendingCallback=nt,this._pendingLoadDataParams=qe,this._state&&this._state!=="Idle"?this._state="NeedsLoadData":(this._state="Coalescing",this._loadData())},Je.prototype._loadData=function(){var qe=this;if(this._pendingCallback&&this._pendingLoadDataParams){var nt=this._pendingCallback,ft=this._pendingLoadDataParams;delete this._pendingCallback,delete this._pendingLoadDataParams;var Re=!!(ft&&ft.request&&ft.request.collectResourceTiming)&&new i.RequestPerformance(ft.request);this.loadGeoJSON(ft,function(Ne,Qe){if(Ne||!Qe)return nt(Ne);if(typeof Qe!="object")return nt(new Error("Input data given to '"+ft.source+"' is not a valid GeoJSON object."));m(Qe,!0);try{qe._geoJSONIndex=ft.cluster?new ie(function(_t){var It=_t.superclusterOptions,Lt=_t.clusterProperties;if(!Lt||!It)return It;for(var yt={},Pt={},wt={accumulated:null,zoom:0},Rt={properties:null},Nt=Object.keys(Lt),Yt=0,Wt=Nt;Yt=0?0:Y.button},v.remove=function(Y){Y.parentNode&&Y.parentNode.removeChild(Y)};var w=function(Y){function ee(){Y.call(this),this.images={},this.updatedImages={},this.callbackDispatchedThisFrame={},this.loaded=!1,this.requestors=[],this.patterns={},this.atlasImage=new i.RGBAImage({width:1,height:1}),this.dirty=!0}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee.prototype.isLoaded=function(){return this.loaded},ee.prototype.setLoaded=function(K){if(this.loaded!==K&&(this.loaded=K,K)){for(var le=0,Te=this.requestors;le=0?1.2:1))}function E(Y,ee,K,le,Te,De,He){for(var Ze=0;Ze65535)Tt(new Error("glyphs > 65535 not supported"));else if(ve.ranges[Fe])Tt(null,{stack:At,id:se,glyph:Ie});else{var Ue=ve.requests[Fe];Ue||(Ue=ve.requests[Fe]=[],A.loadGlyphRange(At,Fe,K.url,K.requestManager,function(We,Xe){if(Xe){for(var tt in Xe)K._doesCharSupportLocalGlyph(+tt)||(ve.glyphs[+tt]=Xe[+tt]);ve.ranges[Fe]=!0}for(var lt=0,mt=Ue;lt1&&(at=Y[++Ze]);var At=Math.abs(Tt-at.left),se=Math.abs(Tt-at.right),ve=Math.min(At,se),Ie=void 0,Fe=Te/K*(le+1);if(at.isDash){var Ue=le-Math.abs(Fe);Ie=Math.sqrt(ve*ve+Ue*Ue)}else Ie=le-Math.sqrt(ve*ve+Fe*Fe);this.data[He+Tt]=Math.max(0,Math.min(255,Ie+128))}},O.prototype.addRegularDash=function(Y){for(var ee=Y.length-1;ee>=0;--ee){var K=Y[ee],le=Y[ee+1];K.zeroLength?Y.splice(ee,1):le&&le.isDash===K.isDash&&(le.left=K.left,Y.splice(ee,1))}var Te=Y[0],De=Y[Y.length-1];Te.isDash===De.isDash&&(Te.left=De.left-this.width,De.right=Te.right+this.width);for(var He=this.width*this.nextRow,Ze=0,at=Y[Ze],Tt=0;Tt1&&(at=Y[++Ze]);var At=Math.abs(Tt-at.left),se=Math.abs(Tt-at.right),ve=Math.min(At,se),Ie=at.isDash?ve:-ve;this.data[He+Tt]=Math.max(0,Math.min(255,Ie+128))}},O.prototype.addDash=function(Y,ee){var K=ee?7:0,le=2*K+1;if(this.nextRow+le>this.height)return i.warnOnce("LineAtlas out of space"),null;for(var Te=0,De=0;De=K&&Y.x=le&&Y.y0&&(Tt[new i.OverscaledTileID(K.overscaledZ,He,le.z,De,le.y-1).key]={backfilled:!1},Tt[new i.OverscaledTileID(K.overscaledZ,K.wrap,le.z,le.x,le.y-1).key]={backfilled:!1},Tt[new i.OverscaledTileID(K.overscaledZ,at,le.z,Ze,le.y-1).key]={backfilled:!1}),le.y+10&&(Te.resourceTiming=K._resourceTiming,K._resourceTiming=[]),K.fire(new i.Event("data",Te))}})},ee.prototype.onAdd=function(K){this.map=K,this.load()},ee.prototype.setData=function(K){var le=this;return this._data=K,this.fire(new i.Event("dataloading",{dataType:"source"})),this._updateWorkerData(function(Te){if(Te)le.fire(new i.ErrorEvent(Te));else{var De={dataType:"source",sourceDataType:"content"};le._collectResourceTiming&&le._resourceTiming&&le._resourceTiming.length>0&&(De.resourceTiming=le._resourceTiming,le._resourceTiming=[]),le.fire(new i.Event("data",De))}}),this},ee.prototype.getClusterExpansionZoom=function(K,le){return this.actor.send("geojson.getClusterExpansionZoom",{clusterId:K,source:this.id},le),this},ee.prototype.getClusterChildren=function(K,le){return this.actor.send("geojson.getClusterChildren",{clusterId:K,source:this.id},le),this},ee.prototype.getClusterLeaves=function(K,le,Te,De){return this.actor.send("geojson.getClusterLeaves",{source:this.id,clusterId:K,limit:le,offset:Te},De),this},ee.prototype._updateWorkerData=function(K){var le=this;this._loaded=!1;var Te=i.extend({},this.workerOptions),De=this._data;typeof De=="string"?(Te.request=this.map._requestManager.transformRequest(i.browser.resolveURL(De),i.ResourceType.Source),Te.request.collectResourceTiming=this._collectResourceTiming):Te.data=JSON.stringify(De),this.actor.send(this.type+".loadData",Te,function(He,Ze){le._removed||Ze&&Ze.abandoned||(le._loaded=!0,Ze&&Ze.resourceTiming&&Ze.resourceTiming[le.id]&&(le._resourceTiming=Ze.resourceTiming[le.id].slice(0)),le.actor.send(le.type+".coalesce",{source:Te.source},null),K(He))})},ee.prototype.loaded=function(){return this._loaded},ee.prototype.loadTile=function(K,le){var Te=this,De=K.actor?"reloadTile":"loadTile";K.actor=this.actor;var He={type:this.type,uid:K.uid,tileID:K.tileID,zoom:K.tileID.overscaledZ,maxZoom:this.maxzoom,tileSize:this.tileSize,source:this.id,pixelRatio:i.browser.devicePixelRatio,showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId};K.request=this.actor.send(De,He,function(Ze,at){return delete K.request,K.unloadVectorData(),K.aborted?le(null):Ze?le(Ze):(K.loadVectorData(at,Te.map.painter,De==="reloadTile"),le(null))})},ee.prototype.abortTile=function(K){K.request&&(K.request.cancel(),delete K.request),K.aborted=!0},ee.prototype.unloadTile=function(K){K.unloadVectorData(),this.actor.send("removeTile",{uid:K.uid,type:this.type,source:this.id})},ee.prototype.onRemove=function(){this._removed=!0,this.actor.send("removeSource",{type:this.type,source:this.id})},ee.prototype.serialize=function(){return i.extend({},this._options,{type:this.type,data:this._data})},ee.prototype.hasTransition=function(){return!1},ee}(i.Evented),U=i.createLayout([{name:"a_pos",type:"Int16",components:2},{name:"a_texture_pos",type:"Int16",components:2}]),G=function(Y){function ee(K,le,Te,De){Y.call(this),this.id=K,this.dispatcher=Te,this.coordinates=le.coordinates,this.type="image",this.minzoom=0,this.maxzoom=22,this.tileSize=512,this.tiles={},this._loaded=!1,this.setEventedParent(De),this.options=le}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee.prototype.load=function(K,le){var Te=this;this._loaded=!1,this.fire(new i.Event("dataloading",{dataType:"source"})),this.url=this.options.url,i.getImage(this.map._requestManager.transformRequest(this.url,i.ResourceType.Image),function(De,He){Te._loaded=!0,De?Te.fire(new i.ErrorEvent(De)):He&&(Te.image=He,K&&(Te.coordinates=K),le&&le(),Te._finishLoading())})},ee.prototype.loaded=function(){return this._loaded},ee.prototype.updateImage=function(K){var le=this;return this.image&&K.url?(this.options.url=K.url,this.load(K.coordinates,function(){le.texture=null}),this):this},ee.prototype._finishLoading=function(){this.map&&(this.setCoordinates(this.coordinates),this.fire(new i.Event("data",{dataType:"source",sourceDataType:"metadata"})))},ee.prototype.onAdd=function(K){this.map=K,this.load()},ee.prototype.setCoordinates=function(K){var le=this;this.coordinates=K;var Te=K.map(i.MercatorCoordinate.fromLngLat);this.tileID=function(He){for(var Ze=1/0,at=1/0,Tt=-1/0,At=-1/0,se=0,ve=He;sele.end(0)?this.fire(new i.ErrorEvent(new i.ValidationError("sources."+this.id,null,"Playback for this video can be set only between the "+le.start(0)+" and "+le.end(0)+"-second mark."))):this.video.currentTime=K}},ee.prototype.getVideo=function(){return this.video},ee.prototype.onAdd=function(K){this.map||(this.map=K,this.load(),this.video&&(this.video.play(),this.setCoordinates(this.coordinates)))},ee.prototype.prepare=function(){if(!(Object.keys(this.tiles).length===0||this.video.readyState<2)){var K=this.map.painter.context,le=K.gl;for(var Te in this.boundsBuffer||(this.boundsBuffer=K.createVertexBuffer(this._boundsArray,U.members)),this.boundsSegments||(this.boundsSegments=i.SegmentVector.simpleSegment(0,0,4,2)),this.texture?this.video.paused||(this.texture.bind(le.LINEAR,le.CLAMP_TO_EDGE),le.texSubImage2D(le.TEXTURE_2D,0,0,0,le.RGBA,le.UNSIGNED_BYTE,this.video)):(this.texture=new i.Texture(K,this.video,le.RGBA),this.texture.bind(le.LINEAR,le.CLAMP_TO_EDGE)),this.tiles){var De=this.tiles[Te];De.state!=="loaded"&&(De.state="loaded",De.texture=this.texture)}}},ee.prototype.serialize=function(){return{type:"video",urls:this.urls,coordinates:this.coordinates}},ee.prototype.hasTransition=function(){return this.video&&!this.video.paused},ee}(G),H=function(Y){function ee(K,le,Te,De){Y.call(this,K,le,Te,De),le.coordinates?Array.isArray(le.coordinates)&&le.coordinates.length===4&&!le.coordinates.some(function(He){return!Array.isArray(He)||He.length!==2||He.some(function(Ze){return typeof Ze!="number"})})||this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'"coordinates" property must be an array of 4 longitude/latitude array pairs'))):this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'missing required property "coordinates"'))),le.animate&&typeof le.animate!="boolean"&&this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'optional "animate" property must be a boolean value'))),le.canvas?typeof le.canvas=="string"||le.canvas instanceof i.window.HTMLCanvasElement||this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'"canvas" must be either a string representing the ID of the canvas element from which to read, or an HTMLCanvasElement instance'))):this.fire(new i.ErrorEvent(new i.ValidationError("sources."+K,null,'missing required property "canvas"'))),this.options=le,this.animate=le.animate===void 0||le.animate}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee.prototype.load=function(){this._loaded=!0,this.canvas||(this.canvas=this.options.canvas instanceof i.window.HTMLCanvasElement?this.options.canvas:i.window.document.getElementById(this.options.canvas)),this.width=this.canvas.width,this.height=this.canvas.height,this._hasInvalidDimensions()?this.fire(new i.ErrorEvent(new Error("Canvas dimensions cannot be less than or equal to zero."))):(this.play=function(){this._playing=!0,this.map.triggerRepaint()},this.pause=function(){this._playing&&(this.prepare(),this._playing=!1)},this._finishLoading())},ee.prototype.getCanvas=function(){return this.canvas},ee.prototype.onAdd=function(K){this.map=K,this.load(),this.canvas&&this.animate&&this.play()},ee.prototype.onRemove=function(){this.pause()},ee.prototype.prepare=function(){var K=!1;if(this.canvas.width!==this.width&&(this.width=this.canvas.width,K=!0),this.canvas.height!==this.height&&(this.height=this.canvas.height,K=!0),!this._hasInvalidDimensions()&&Object.keys(this.tiles).length!==0){var le=this.map.painter.context,Te=le.gl;for(var De in this.boundsBuffer||(this.boundsBuffer=le.createVertexBuffer(this._boundsArray,U.members)),this.boundsSegments||(this.boundsSegments=i.SegmentVector.simpleSegment(0,0,4,2)),this.texture?(K||this._playing)&&this.texture.update(this.canvas,{premultiply:!0}):this.texture=new i.Texture(le,this.canvas,Te.RGBA,{premultiply:!0}),this.tiles){var He=this.tiles[De];He.state!=="loaded"&&(He.state="loaded",He.texture=this.texture)}}},ee.prototype.serialize=function(){return{type:"canvas",coordinates:this.coordinates}},ee.prototype.hasTransition=function(){return this._playing},ee.prototype._hasInvalidDimensions=function(){for(var K=0,le=[this.canvas.width,this.canvas.height];Kthis.max){var He=this._getAndRemoveByKey(this.order[0]);He&&this.onRemove(He)}return this},Q.prototype.has=function(Y){return Y.wrapped().key in this.data},Q.prototype.getAndRemove=function(Y){return this.has(Y)?this._getAndRemoveByKey(Y.wrapped().key):null},Q.prototype._getAndRemoveByKey=function(Y){var ee=this.data[Y].shift();return ee.timeout&&clearTimeout(ee.timeout),this.data[Y].length===0&&delete this.data[Y],this.order.splice(this.order.indexOf(Y),1),ee.value},Q.prototype.getByKey=function(Y){var ee=this.data[Y];return ee?ee[0].value:null},Q.prototype.get=function(Y){return this.has(Y)?this.data[Y.wrapped().key][0].value:null},Q.prototype.remove=function(Y,ee){if(!this.has(Y))return this;var K=Y.wrapped().key,le=ee===void 0?0:this.data[K].indexOf(ee),Te=this.data[K][le];return this.data[K].splice(le,1),Te.timeout&&clearTimeout(Te.timeout),this.data[K].length===0&&delete this.data[K],this.onRemove(Te.value),this.order.splice(this.order.indexOf(K),1),this},Q.prototype.setMaxSize=function(Y){for(this.max=Y;this.order.length>this.max;){var ee=this._getAndRemoveByKey(this.order[0]);ee&&this.onRemove(ee)}return this},Q.prototype.filter=function(Y){var ee=[];for(var K in this.data)for(var le=0,Te=this.data[K];le1||(Math.abs(At)>1&&(Math.abs(At+ve)===1?At+=ve:Math.abs(At-ve)===1&&(At-=ve)),Tt.dem&&at.dem&&(at.dem.backfillBorder(Tt.dem,At,se),at.neighboringTiles&&at.neighboringTiles[Ie]&&(at.neighboringTiles[Ie].backfilled=!0)))}},ee.prototype.getTile=function(K){return this.getTileByID(K.key)},ee.prototype.getTileByID=function(K){return this._tiles[K]},ee.prototype._retainLoadedChildren=function(K,le,Te,De){for(var He in this._tiles){var Ze=this._tiles[He];if(!(De[He]||!Ze.hasData()||Ze.tileID.overscaledZ<=le||Ze.tileID.overscaledZ>Te)){for(var at=Ze.tileID;Ze&&Ze.tileID.overscaledZ>le+1;){var Tt=Ze.tileID.scaledTo(Ze.tileID.overscaledZ-1);(Ze=this._tiles[Tt.key])&&Ze.hasData()&&(at=Tt)}for(var At=at;At.overscaledZ>le;)if(K[(At=At.scaledTo(At.overscaledZ-1)).key]){De[at.key]=at;break}}}},ee.prototype.findLoadedParent=function(K,le){if(K.key in this._loadedParentTiles){var Te=this._loadedParentTiles[K.key];return Te&&Te.tileID.overscaledZ>=le?Te:null}for(var De=K.overscaledZ-1;De>=le;De--){var He=K.scaledTo(De),Ze=this._getLoadedTile(He);if(Ze)return Ze}},ee.prototype._getLoadedTile=function(K){var le=this._tiles[K.key];return le&&le.hasData()?le:this._cache.getByKey(K.wrapped().key)},ee.prototype.updateCacheSize=function(K){var le=(Math.ceil(K.width/this._source.tileSize)+1)*(Math.ceil(K.height/this._source.tileSize)+1),Te=Math.floor(5*le),De=typeof this._maxTileCacheSize=="number"?Math.min(this._maxTileCacheSize,Te):Te;this._cache.setMaxSize(De)},ee.prototype.handleWrapJump=function(K){var le=(K-(this._prevLng===void 0?K:this._prevLng))/360,Te=Math.round(le);if(this._prevLng=K,Te){var De={};for(var He in this._tiles){var Ze=this._tiles[He];Ze.tileID=Ze.tileID.unwrapTo(Ze.tileID.wrap+Te),De[Ze.tileID.key]=Ze}for(var at in this._tiles=De,this._timers)clearTimeout(this._timers[at]),delete this._timers[at];for(var Tt in this._tiles){var At=this._tiles[Tt];this._setTileReloadTimer(Tt,At)}}},ee.prototype.update=function(K){var le=this;if(this.transform=K,this._sourceLoaded&&!this._paused){var Te;this.updateCacheSize(K),this.handleWrapJump(this.transform.center.lng),this._coveredTiles={},this.used?this._source.tileID?Te=K.getVisibleUnwrappedCoordinates(this._source.tileID).map(function(Ht){return new i.OverscaledTileID(Ht.canonical.z,Ht.wrap,Ht.canonical.z,Ht.canonical.x,Ht.canonical.y)}):(Te=K.coveringTiles({tileSize:this._source.tileSize,minzoom:this._source.minzoom,maxzoom:this._source.maxzoom,roundZoom:this._source.roundZoom,reparseOverscaled:this._source.reparseOverscaled}),this._source.hasTile&&(Te=Te.filter(function(Ht){return le._source.hasTile(Ht)}))):Te=[];var De=K.coveringZoomLevel(this._source),He=Math.max(De-ee.maxOverzooming,this._source.minzoom),Ze=Math.max(De+ee.maxUnderzooming,this._source.minzoom),at=this._updateRetainedTiles(Te,De);if(Ne(this._source.type)){for(var Tt={},At={},se=0,ve=Object.keys(at);sethis._source.maxzoom){var Xe=Ue.children(this._source.maxzoom)[0],tt=this.getTile(Xe);if(tt&&tt.hasData()){Te[Xe.key]=Xe;continue}}else{var lt=Ue.children(this._source.maxzoom);if(Te[lt[0].key]&&Te[lt[1].key]&&Te[lt[2].key]&&Te[lt[3].key])continue}for(var mt=We.wasRequested(),zt=Ue.overscaledZ-1;zt>=He;--zt){var Ut=Ue.scaledTo(zt);if(De[Ut.key]||(De[Ut.key]=!0,!(We=this.getTile(Ut))&&mt&&(We=this._addTile(Ut)),We&&(Te[Ut.key]=Ut,mt=We.wasRequested(),We.hasData())))break}}}return Te},ee.prototype._updateLoadedParentTileCache=function(){for(var K in this._loadedParentTiles={},this._tiles){for(var le=[],Te=void 0,De=this._tiles[K].tileID;De.overscaledZ>0;){if(De.key in this._loadedParentTiles){Te=this._loadedParentTiles[De.key];break}le.push(De.key);var He=De.scaledTo(De.overscaledZ-1);if(Te=this._getLoadedTile(He))break;De=He}for(var Ze=0,at=le;Ze0||(le.hasData()&&le.state!=="reloading"?this._cache.add(le.tileID,le,le.getExpiryTimeout()):(le.aborted=!0,this._abortTile(le),this._unloadTile(le))))},ee.prototype.clearTiles=function(){for(var K in this._shouldReloadOnResume=!1,this._paused=!1,this._tiles)this._removeTile(K);this._cache.reset()},ee.prototype.tilesIn=function(K,le,Te){var De=this,He=[],Ze=this.transform;if(!Ze)return He;for(var at=Te?Ze.getCameraQueryGeometry(K):K,Tt=K.map(function(zt){return Ze.pointCoordinate(zt)}),At=at.map(function(zt){return Ze.pointCoordinate(zt)}),se=this.getIds(),ve=1/0,Ie=1/0,Fe=-1/0,Ue=-1/0,We=0,Xe=At;We=0&&tn[1].y+vn>=0){var ln=Tt.map(function(Cn){return Ht.getTilePoint(Cn)}),an=At.map(function(Cn){return Ht.getTilePoint(Cn)});He.push({tile:Ut,tileID:Ht,queryGeometry:ln,cameraQueryGeometry:an,scale:en})}}},mt=0;mt=i.browser.now())return!0}return!1},ee.prototype.setFeatureState=function(K,le,Te){K=K||"_geojsonTileLayer",this._state.updateState(K,le,Te)},ee.prototype.removeFeatureState=function(K,le,Te){K=K||"_geojsonTileLayer",this._state.removeFeatureState(K,le,Te)},ee.prototype.getFeatureState=function(K,le){return K=K||"_geojsonTileLayer",this._state.getState(K,le)},ee.prototype.setDependencies=function(K,le,Te){var De=this._tiles[K];De&&De.setDependencies(le,Te)},ee.prototype.reloadTilesForDependencies=function(K,le){for(var Te in this._tiles)this._tiles[Te].hasDependency(K,le)&&this._reloadTile(Te,"reloading");this._cache.filter(function(De){return!De.hasDependency(K,le)})},ee}(i.Evented);function Re(Y,ee){var K=Math.abs(2*Y.wrap)-+(Y.wrap<0),le=Math.abs(2*ee.wrap)-+(ee.wrap<0);return Y.overscaledZ-ee.overscaledZ||le-K||ee.canonical.y-Y.canonical.y||ee.canonical.x-Y.canonical.x}function Ne(Y){return Y==="raster"||Y==="image"||Y==="video"}function Qe(){return new i.window.Worker(Mt.workerUrl)}ft.maxOverzooming=10,ft.maxUnderzooming=3;var ut="mapboxgl_preloaded_worker_pool",dt=function(){this.active={}};dt.prototype.acquire=function(Y){if(!this.workers)for(this.workers=[];this.workers.length0?(le-De)/He:0;return this.points[Te].mult(1-Ze).add(this.points[ee].mult(Ze))};var An=function(Y,ee,K){var le=this.boxCells=[],Te=this.circleCells=[];this.xCellCount=Math.ceil(Y/K),this.yCellCount=Math.ceil(ee/K);for(var De=0;De=-ee[0]&&K<=ee[0]&&le>=-ee[1]&&le<=ee[1]}function pn(Y,ee,K,le,Te,De,He,Ze){var at=le?Y.textSizeData:Y.iconSizeData,Tt=i.evaluateSizeForZoom(at,K.transform.zoom),At=[256/K.width*2+1,256/K.height*2+1],se=le?Y.text.dynamicLayoutVertexArray:Y.icon.dynamicLayoutVertexArray;se.clear();for(var ve=Y.lineVertexArray,Ie=le?Y.text.placedSymbolArray:Y.icon.placedSymbolArray,Fe=K.transform.width/K.transform.height,Ue=!1,We=0;WeMath.abs(K.x-ee.x)*le?{useVertical:!0}:(Y===i.WritingMode.vertical?ee.yK.x)?{needsFlipping:!0}:null}function jn(Y,ee,K,le,Te,De,He,Ze,at,Tt,At,se,ve,Ie){var Fe,Ue=ee/24,We=Y.lineOffsetX*Ue,Xe=Y.lineOffsetY*Ue;if(Y.numGlyphs>1){var tt=Y.glyphStartIndex+Y.numGlyphs,lt=Y.lineStartIndex,mt=Y.lineStartIndex+Y.lineLength,zt=Dn(Ue,Ze,We,Xe,K,At,se,Y,at,De,ve);if(!zt)return{notEnoughRoom:!0};var Ut=sn(zt.first.point,He).point,Ht=sn(zt.last.point,He).point;if(le&&!K){var en=In(Y.writingMode,Ut,Ht,Ie);if(en)return en}Fe=[zt.first];for(var vn=Y.glyphStartIndex+1;vn0?Cn.point:Gn(se,an,tn,1,Te),on=In(Y.writingMode,tn,_n,Ie);if(on)return on}var Fn=qn(Ue*Ze.getoffsetX(Y.glyphStartIndex),We,Xe,K,At,se,Y.segment,Y.lineStartIndex,Y.lineStartIndex+Y.lineLength,at,De,ve);if(!Fn)return{notEnoughRoom:!0};Fe=[Fn]}for(var Hn=0,ir=Fe;Hn0?1:-1,Fe=0;le&&(Ie*=-1,Fe=Math.PI),Ie<0&&(Fe+=Math.PI);for(var Ue=Ie>0?Ze+He:Ze+He+1,We=Te,Xe=Te,tt=0,lt=0,mt=Math.abs(ve),zt=[];tt+lt<=mt;){if((Ue+=Ie)=at)return null;if(Xe=We,zt.push(We),(We=se[Ue])===void 0){var Ut=new i.Point(Tt.getx(Ue),Tt.gety(Ue)),Ht=sn(Ut,At);if(Ht.signedDistanceFromCamera>0)We=se[Ue]=Ht.point;else{var en=Ue-Ie;We=Gn(tt===0?De:new i.Point(Tt.getx(en),Tt.gety(en)),Ut,Xe,mt-tt+1,At)}}tt+=lt,lt=Xe.dist(We)}var vn=(mt-tt)/lt,tn=We.sub(Xe),ln=tn.mult(vn)._add(Xe);ln._add(tn._unit()._perp()._mult(K*Ie));var an=Fe+Math.atan2(We.y-Xe.y,We.x-Xe.x);return zt.push(ln),{point:ln,angle:an,path:zt}}An.prototype.keysLength=function(){return this.boxKeys.length+this.circleKeys.length},An.prototype.insert=function(Y,ee,K,le,Te){this._forEachCell(ee,K,le,Te,this._insertBoxCell,this.boxUid++),this.boxKeys.push(Y),this.bboxes.push(ee),this.bboxes.push(K),this.bboxes.push(le),this.bboxes.push(Te)},An.prototype.insertCircle=function(Y,ee,K,le){this._forEachCell(ee-le,K-le,ee+le,K+le,this._insertCircleCell,this.circleUid++),this.circleKeys.push(Y),this.circles.push(ee),this.circles.push(K),this.circles.push(le)},An.prototype._insertBoxCell=function(Y,ee,K,le,Te,De){this.boxCells[Te].push(De)},An.prototype._insertCircleCell=function(Y,ee,K,le,Te,De){this.circleCells[Te].push(De)},An.prototype._query=function(Y,ee,K,le,Te,De){if(K<0||Y>this.width||le<0||ee>this.height)return!Te&&[];var He=[];if(Y<=0&&ee<=0&&this.width<=K&&this.height<=le){if(Te)return!0;for(var Ze=0;Ze0:He},An.prototype._queryCircle=function(Y,ee,K,le,Te){var De=Y-K,He=Y+K,Ze=ee-K,at=ee+K;if(He<0||De>this.width||at<0||Ze>this.height)return!le&&[];var Tt=[],At={hitTest:le,circle:{x:Y,y:ee,radius:K},seenUids:{box:{},circle:{}}};return this._forEachCell(De,Ze,He,at,this._queryCellCircle,Tt,At,Te),le?Tt.length>0:Tt},An.prototype.query=function(Y,ee,K,le,Te){return this._query(Y,ee,K,le,!1,Te)},An.prototype.hitTest=function(Y,ee,K,le,Te){return this._query(Y,ee,K,le,!0,Te)},An.prototype.hitTestCircle=function(Y,ee,K,le){return this._queryCircle(Y,ee,K,!0,le)},An.prototype._queryCell=function(Y,ee,K,le,Te,De,He,Ze){var at=He.seenUids,Tt=this.boxCells[Te];if(Tt!==null)for(var At=this.bboxes,se=0,ve=Tt;se=At[Fe+0]&&le>=At[Fe+1]&&(!Ze||Ze(this.boxKeys[Ie]))){if(He.hitTest)return De.push(!0),!0;De.push({key:this.boxKeys[Ie],x1:At[Fe],y1:At[Fe+1],x2:At[Fe+2],y2:At[Fe+3]})}}}var Ue=this.circleCells[Te];if(Ue!==null)for(var We=this.circles,Xe=0,tt=Ue;XeHe*He+Ze*Ze},An.prototype._circleAndRectCollide=function(Y,ee,K,le,Te,De,He){var Ze=(De-le)/2,at=Math.abs(Y-(le+Ze));if(at>Ze+K)return!1;var Tt=(He-Te)/2,At=Math.abs(ee-(Te+Tt));if(At>Tt+K)return!1;if(at<=Ze||At<=Tt)return!0;var se=at-Ze,ve=At-Tt;return se*se+ve*ve<=K*K};var lr=new Float32Array([-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0]);function rr(Y,ee){for(var K=0;K=1;_n--)Cn.push(ln.path[_n]);for(var on=1;on0){for(var ar=Cn[0].clone(),Mr=Cn[0].clone(),Er=1;Er=en.x&&Mr.x<=vn.x&&ar.y>=en.y&&Mr.y<=vn.y?[Cn]:Mr.xvn.x||Mr.yvn.y?[]:i.clipLine([Cn],en.x,en.y,vn.x,vn.y)}for(var xr=0,kr=ir;xr=this.screenRightBoundary||lethis.screenBottomBoundary},or.prototype.isInsideGrid=function(Y,ee,K,le){return K>=0&&Y=0&&ee0?(this.prevPlacement&&this.prevPlacement.variableOffsets[se.crossTileID]&&this.prevPlacement.placements[se.crossTileID]&&this.prevPlacement.placements[se.crossTileID].text&&(Ue=this.prevPlacement.variableOffsets[se.crossTileID].anchor),this.variableOffsets[se.crossTileID]={textOffset:We,width:K,height:le,anchor:Y,textBoxScale:Te,prevAnchor:Ue},this.markUsedJustification(ve,Y,se,Ie),ve.allowVerticalPlacement&&(this.markUsedOrientation(ve,Ie,se),this.placedOrientations[se.crossTileID]=Ie),{shift:Xe,placedGlyphBoxes:tt}):void 0},tr.prototype.placeLayerBucketPart=function(Y,ee,K){var le=this,Te=Y.parameters,De=Te.bucket,He=Te.layout,Ze=Te.posMatrix,at=Te.textLabelPlaneMatrix,Tt=Te.labelToScreenMatrix,At=Te.textPixelRatio,se=Te.holdingForFade,ve=Te.collisionBoxArray,Ie=Te.partiallyEvaluatedTextSize,Fe=Te.collisionGroup,Ue=He.get("text-optional"),We=He.get("icon-optional"),Xe=He.get("text-allow-overlap"),tt=He.get("icon-allow-overlap"),lt=He.get("text-rotation-alignment")==="map",mt=He.get("text-pitch-alignment")==="map",zt=He.get("icon-text-fit")!=="none",Ut=He.get("symbol-z-order")==="viewport-y",Ht=Xe&&(tt||!De.hasIconData()||We),en=tt&&(Xe||!De.hasTextData()||Ue);!De.collisionArrays&&ve&&De.deserializeCollisionBoxes(ve);var vn=function(on,Fn){if(!ee[on.crossTileID])if(se)le.placements[on.crossTileID]=new bn(!1,!1,!1);else{var Hn,ir=!1,ar=!1,Mr=!0,Er=null,xr={box:null,offscreen:null},kr={box:null,offscreen:null},jr=null,fi=null,di=0,wr=0,Ur=0;Fn.textFeatureIndex?di=Fn.textFeatureIndex:on.useRuntimeCollisionCircles&&(di=on.featureIndex),Fn.verticalTextFeatureIndex&&(wr=Fn.verticalTextFeatureIndex);var oi=Fn.textBox;if(oi){var ai=function(Ri){var Xa=i.WritingMode.horizontal;if(De.allowVerticalPlacement&&!Ri&&le.prevPlacement){var jo=le.prevPlacement.placedOrientations[on.crossTileID];jo&&(le.placedOrientations[on.crossTileID]=jo,Xa=jo,le.markUsedOrientation(De,Xa,on))}return Xa},Ii=function(Ri,Xa){if(De.allowVerticalPlacement&&on.numVerticalGlyphVertices>0&&Fn.verticalTextBox)for(var jo=0,Kc=De.writingModes;jo0&&(vi=vi.filter(function(Ri){return Ri!==Ni.anchor})).unshift(Ni.anchor)}var ta=function(Ri,Xa,jo){for(var Kc=Ri.x2-Ri.x1,f1=Ri.y2-Ri.y1,L0=on.textBoxScale,d1=zt&&!tt?Xa:null,_f={box:[],offscreen:!1},fg=Xe?2*vi.length:vi.length,od=0;od=vi.length,zh=le.attemptAnchorPlacement(wf,Ri,Kc,f1,L0,lt,mt,At,Ze,Fe,p1,on,De,jo,d1);if(zh&&(_f=zh.placedGlyphBoxes)&&_f.box&&_f.box.length){ir=!0,Er=zh.shift;break}}return _f};Ii(function(){return ta(oi,Fn.iconBox,i.WritingMode.horizontal)},function(){var Ri=Fn.verticalTextBox,Xa=xr&&xr.box&&xr.box.length;return De.allowVerticalPlacement&&!Xa&&on.numVerticalGlyphVertices>0&&Ri?ta(Ri,Fn.verticalIconBox,i.WritingMode.vertical):{box:null,offscreen:null}}),xr&&(ir=xr.box,Mr=xr.offscreen);var pa=ai(xr&&xr.box);if(!ir&&le.prevPlacement){var ua=le.prevPlacement.variableOffsets[on.crossTileID];ua&&(le.variableOffsets[on.crossTileID]=ua,le.markUsedJustification(De,ua.anchor,on,pa))}}else{var Qi=function(Ri,Xa){var jo=le.collisionIndex.placeCollisionBox(Ri,Xe,At,Ze,Fe.predicate);return jo&&jo.box&&jo.box.length&&(le.markUsedOrientation(De,Xa,on),le.placedOrientations[on.crossTileID]=Xa),jo};Ii(function(){return Qi(oi,i.WritingMode.horizontal)},function(){var Ri=Fn.verticalTextBox;return De.allowVerticalPlacement&&on.numVerticalGlyphVertices>0&&Ri?Qi(Ri,i.WritingMode.vertical):{box:null,offscreen:null}}),ai(xr&&xr.box&&xr.box.length)}}if(ir=(Hn=xr)&&Hn.box&&Hn.box.length>0,Mr=Hn&&Hn.offscreen,on.useRuntimeCollisionCircles){var na=De.text.placedSymbolArray.get(on.centerJustifiedTextSymbolIndex),ca=i.evaluateSizeForFeature(De.textSizeData,Ie,na),Ia=He.get("text-padding"),Dl=on.collisionCircleDiameter;jr=le.collisionIndex.placeCollisionCircles(Xe,na,De.lineVertexArray,De.glyphOffsetArray,ca,Ze,at,Tt,K,mt,Fe.predicate,Dl,Ia),ir=Xe||jr.circles.length>0&&!jr.collisionDetected,Mr=Mr&&jr.offscreen}if(Fn.iconFeatureIndex&&(Ur=Fn.iconFeatureIndex),Fn.iconBox){var Za=function(Ri){var Xa=zt&&Er?$n(Ri,Er.x,Er.y,lt,mt,le.transform.angle):Ri;return le.collisionIndex.placeCollisionBox(Xa,tt,At,Ze,Fe.predicate)};ar=kr&&kr.box&&kr.box.length&&Fn.verticalIconBox?(fi=Za(Fn.verticalIconBox)).box.length>0:(fi=Za(Fn.iconBox)).box.length>0,Mr=Mr&&fi.offscreen}var li=Ue||on.numHorizontalGlyphVertices===0&&on.numVerticalGlyphVertices===0,ho=We||on.numIconVertices===0;if(li||ho?ho?li||(ar=ar&&ir):ir=ar&&ir:ar=ir=ar&&ir,ir&&Hn&&Hn.box&&(kr&&kr.box&&wr?le.collisionIndex.insertCollisionBox(Hn.box,He.get("text-ignore-placement"),De.bucketInstanceId,wr,Fe.ID):le.collisionIndex.insertCollisionBox(Hn.box,He.get("text-ignore-placement"),De.bucketInstanceId,di,Fe.ID)),ar&&fi&&le.collisionIndex.insertCollisionBox(fi.box,He.get("icon-ignore-placement"),De.bucketInstanceId,Ur,Fe.ID),jr&&(ir&&le.collisionIndex.insertCollisionCircles(jr.circles,He.get("text-ignore-placement"),De.bucketInstanceId,di,Fe.ID),K)){var _o=De.bucketInstanceId,Aa=le.collisionCircleArrays[_o];Aa===void 0&&(Aa=le.collisionCircleArrays[_o]=new Rn);for(var Ps=0;Ps=0;--ln){var an=tn[ln];vn(De.symbolInstances.get(an),De.collisionArrays[an])}else for(var Cn=Y.symbolInstanceStart;Cn=0&&(Y.text.placedSymbolArray.get(at).crossTileID=Te>=0&&at!==Te?0:K.crossTileID)}},tr.prototype.markUsedOrientation=function(Y,ee,K){for(var le=ee===i.WritingMode.horizontal||ee===i.WritingMode.horizontalOnly?ee:0,Te=ee===i.WritingMode.vertical?ee:0,De=0,He=[K.leftJustifiedTextSymbolIndex,K.centerJustifiedTextSymbolIndex,K.rightJustifiedTextSymbolIndex];De0||mt>0,vn=tt.numIconVertices>0,tn=le.placedOrientations[tt.crossTileID],ln=tn===i.WritingMode.vertical,an=tn===i.WritingMode.horizontal||tn===i.WritingMode.horizontalOnly;if(en){var Cn=En(Ht.text),_n=ln?mn:Cn;Ie(Y.text,lt,_n);var on=an?mn:Cn;Ie(Y.text,mt,on);var Fn=Ht.text.isHidden();[tt.rightJustifiedTextSymbolIndex,tt.centerJustifiedTextSymbolIndex,tt.leftJustifiedTextSymbolIndex].forEach(function(Ur){Ur>=0&&(Y.text.placedSymbolArray.get(Ur).hidden=Fn||ln?1:0)}),tt.verticalPlacedTextSymbolIndex>=0&&(Y.text.placedSymbolArray.get(tt.verticalPlacedTextSymbolIndex).hidden=Fn||an?1:0);var Hn=le.variableOffsets[tt.crossTileID];Hn&&le.markUsedJustification(Y,Hn.anchor,tt,tn);var ir=le.placedOrientations[tt.crossTileID];ir&&(le.markUsedJustification(Y,"left",tt,ir),le.markUsedOrientation(Y,ir,tt))}if(vn){var ar=En(Ht.icon),Mr=!(se&&tt.verticalPlacedIconSymbolIndex&&ln);if(tt.placedIconSymbolIndex>=0){var Er=Mr?ar:mn;Ie(Y.icon,tt.numIconVertices,Er),Y.icon.placedSymbolArray.get(tt.placedIconSymbolIndex).hidden=Ht.icon.isHidden()}if(tt.verticalPlacedIconSymbolIndex>=0){var xr=Mr?mn:ar;Ie(Y.icon,tt.numVerticalIconVertices,xr),Y.icon.placedSymbolArray.get(tt.verticalPlacedIconSymbolIndex).hidden=Ht.icon.isHidden()}}if(Y.hasIconCollisionBoxData()||Y.hasTextCollisionBoxData()){var kr=Y.collisionArrays[Xe];if(kr){var jr=new i.Point(0,0);if(kr.textBox||kr.verticalTextBox){var fi=!0;if(at){var di=le.variableOffsets[zt];di?(jr=Kn(di.anchor,di.width,di.height,di.textOffset,di.textBoxScale),Tt&&jr._rotate(At?le.transform.angle:-le.transform.angle)):fi=!1}kr.textBox&&mr(Y.textCollisionBox.collisionVertexArray,Ht.text.placed,!fi||ln,jr.x,jr.y),kr.verticalTextBox&&mr(Y.textCollisionBox.collisionVertexArray,Ht.text.placed,!fi||an,jr.x,jr.y)}var wr=!!(!an&&kr.verticalIconBox);kr.iconBox&&mr(Y.iconCollisionBox.collisionVertexArray,Ht.icon.placed,wr,se?jr.x:0,se?jr.y:0),kr.verticalIconBox&&mr(Y.iconCollisionBox.collisionVertexArray,Ht.icon.placed,!wr,se?jr.x:0,se?jr.y:0)}}},Ue=0;UeY},tr.prototype.setStale=function(){this.stale=!0};var nn=Math.pow(2,25),Pn=Math.pow(2,24),jt=Math.pow(2,17),Jt=Math.pow(2,16),hn=Math.pow(2,9),zn=Math.pow(2,8),On=Math.pow(2,1);function En(Y){if(Y.opacity===0&&!Y.placed)return 0;if(Y.opacity===1&&Y.placed)return 4294967295;var ee=Y.placed?1:0,K=Math.floor(127*Y.opacity);return K*nn+ee*Pn+K*jt+ee*Jt+K*hn+ee*zn+K*On+ee}var mn=0,wn=function(Y){this._sortAcrossTiles=Y.layout.get("symbol-z-order")!=="viewport-y"&&Y.layout.get("symbol-sort-key").constantOr(1)!==void 0,this._currentTileIndex=0,this._currentPartIndex=0,this._seenCrossTileIDs={},this._bucketParts=[]};wn.prototype.continuePlacement=function(Y,ee,K,le,Te){for(var De=this._bucketParts;this._currentTileIndex2};this._currentPlacementIndex>=0;){var He=ee[Y[this._currentPlacementIndex]],Ze=this.placement.collisionIndex.transform.zoom;if(He.type==="symbol"&&(!He.minzoom||He.minzoom<=Ze)&&(!He.maxzoom||He.maxzoom>Ze)){if(this._inProgressLayer||(this._inProgressLayer=new wn(He)),this._inProgressLayer.continuePlacement(K[He.source],this.placement,this._showCollisionBoxes,He,De))return;delete this._inProgressLayer}this._currentPlacementIndex--}this._done=!0},gn.prototype.commit=function(Y){return this.placement.commit(Y),this.placement};var yn=512/i.EXTENT/2,Sn=function(Y,ee,K){this.tileID=Y,this.indexedSymbolInstances={},this.bucketInstanceId=K;for(var le=0;leY.overscaledZ)for(var Ze in He){var at=He[Ze];at.tileID.isChildOf(Y)&&at.findMatches(ee.symbolInstances,Y,Te)}else{var Tt=He[Y.scaledTo(Number(De)).key];Tt&&Tt.findMatches(ee.symbolInstances,Y,Te)}}for(var At=0;At1?"@2x":"",se=i.getJSON(De.transformRequest(De.normalizeSpriteURL(Te,At,".json"),i.ResourceType.SpriteJSON),function(Fe,Ue){se=null,Tt||(Tt=Fe,Ze=Ue,Ie())}),ve=i.getImage(De.transformRequest(De.normalizeSpriteURL(Te,At,".png"),i.ResourceType.SpriteImage),function(Fe,Ue){ve=null,Tt||(Tt=Fe,at=Ue,Ie())});function Ie(){if(Tt)He(Tt);else if(Ze&&at){var Fe=i.browser.getImageData(at),Ue={};for(var We in Ze){var Xe=Ze[We],tt=Xe.width,lt=Xe.height,mt=Xe.x,zt=Xe.y,Ut=Xe.sdf,Ht=Xe.pixelRatio,en=Xe.stretchX,vn=Xe.stretchY,tn=Xe.content,ln=new i.RGBAImage({width:tt,height:lt});i.RGBAImage.copy(Fe,ln,{x:mt,y:zt},{x:0,y:0},{width:tt,height:lt}),Ue[We]={data:ln,pixelRatio:Ht,sdf:Ut,stretchX:en,stretchY:vn,content:tn}}He(null,Ue)}}return{cancel:function(){se&&(se.cancel(),se=null),ve&&(ve.cancel(),ve=null)}}}(K,this.map._requestManager,function(Te,De){if(le._spriteRequest=null,Te)le.fire(new i.ErrorEvent(Te));else if(De)for(var He in De)le.imageManager.addImage(He,De[He]);le.imageManager.setLoaded(!0),le._availableImages=le.imageManager.listImages(),le.dispatcher.broadcast("setImages",le._availableImages),le.fire(new i.Event("data",{dataType:"style"}))})},ee.prototype._validateLayer=function(K){var le=this.sourceCaches[K.source];if(le){var Te=K.sourceLayer;if(Te){var De=le.getSource();(De.type==="geojson"||De.vectorLayerIds&&De.vectorLayerIds.indexOf(Te)===-1)&&this.fire(new i.ErrorEvent(new Error('Source layer "'+Te+'" does not exist on source "'+De.id+'" as specified by style layer "'+K.id+'"')))}}},ee.prototype.loaded=function(){if(!this._loaded||Object.keys(this._updatedSources).length)return!1;for(var K in this.sourceCaches)if(!this.sourceCaches[K].loaded())return!1;return!!this.imageManager.isLoaded()},ee.prototype._serializeLayers=function(K){for(var le=[],Te=0,De=K;Te0)throw new Error("Unimplemented: "+De.map(function(He){return He.command}).join(", ")+".");return Te.forEach(function(He){He.command!=="setTransition"&&le[He.command].apply(le,He.args)}),this.stylesheet=K,!0},ee.prototype.addImage=function(K,le){if(this.getImage(K))return this.fire(new i.ErrorEvent(new Error("An image with this name already exists.")));this.imageManager.addImage(K,le),this._availableImages=this.imageManager.listImages(),this._changedImages[K]=!0,this._changed=!0,this.fire(new i.Event("data",{dataType:"style"}))},ee.prototype.updateImage=function(K,le){this.imageManager.updateImage(K,le)},ee.prototype.getImage=function(K){return this.imageManager.getImage(K)},ee.prototype.removeImage=function(K){if(!this.getImage(K))return this.fire(new i.ErrorEvent(new Error("No image with this name exists.")));this.imageManager.removeImage(K),this._availableImages=this.imageManager.listImages(),this._changedImages[K]=!0,this._changed=!0,this.fire(new i.Event("data",{dataType:"style"}))},ee.prototype.listImages=function(){return this._checkLoaded(),this.imageManager.listImages()},ee.prototype.addSource=function(K,le,Te){var De=this;if(Te===void 0&&(Te={}),this._checkLoaded(),this.sourceCaches[K]!==void 0)throw new Error("There is already a source with this ID");if(!le.type)throw new Error("The type property must be defined, but the only the following properties were given: "+Object.keys(le).join(", ")+".");if(!(["vector","raster","geojson","video","image"].indexOf(le.type)>=0&&this._validate(i.validateStyle.source,"sources."+K,le,null,Te))){this.map&&this.map._collectResourceTiming&&(le.collectResourceTiming=!0);var He=this.sourceCaches[K]=new ft(K,le,this.dispatcher);He.style=this,He.setEventedParent(this,function(){return{isSourceLoaded:De.loaded(),source:He.serialize(),sourceId:K}}),He.onAdd(this.map),this._changed=!0}},ee.prototype.removeSource=function(K){if(this._checkLoaded(),this.sourceCaches[K]===void 0)throw new Error("There is no source with this ID");for(var le in this._layers)if(this._layers[le].source===K)return this.fire(new i.ErrorEvent(new Error('Source "'+K+'" cannot be removed while layer "'+le+'" is using it.')));var Te=this.sourceCaches[K];delete this.sourceCaches[K],delete this._updatedSources[K],Te.fire(new i.Event("data",{sourceDataType:"metadata",dataType:"source",sourceId:K})),Te.setEventedParent(null),Te.clearTiles(),Te.onRemove&&Te.onRemove(this.map),this._changed=!0},ee.prototype.setGeoJSONSourceData=function(K,le){this._checkLoaded(),this.sourceCaches[K].getSource().setData(le),this._changed=!0},ee.prototype.getSource=function(K){return this.sourceCaches[K]&&this.sourceCaches[K].getSource()},ee.prototype.addLayer=function(K,le,Te){Te===void 0&&(Te={}),this._checkLoaded();var De=K.id;if(this.getLayer(De))this.fire(new i.ErrorEvent(new Error('Layer with id "'+De+'" already exists on this map')));else{var He;if(K.type==="custom"){if(Qn(this,i.validateCustomStyleLayer(K)))return;He=i.createStyleLayer(K)}else{if(typeof K.source=="object"&&(this.addSource(De,K.source),K=i.clone$1(K),K=i.extend(K,{source:De})),this._validate(i.validateStyle.layer,"layers."+De,K,{arrayIndex:-1},Te))return;He=i.createStyleLayer(K),this._validateLayer(He),He.setEventedParent(this,{layer:{id:De}}),this._serializedLayers[He.id]=He.serialize()}var Ze=le?this._order.indexOf(le):this._order.length;if(le&&Ze===-1)this.fire(new i.ErrorEvent(new Error('Layer with id "'+le+'" does not exist on this map.')));else{if(this._order.splice(Ze,0,De),this._layerOrderChanged=!0,this._layers[De]=He,this._removedLayers[De]&&He.source&&He.type!=="custom"){var at=this._removedLayers[De];delete this._removedLayers[De],at.type!==He.type?this._updatedSources[He.source]="clear":(this._updatedSources[He.source]="reload",this.sourceCaches[He.source].pause())}this._updateLayer(He),He.onAdd&&He.onAdd(this.map)}}},ee.prototype.moveLayer=function(K,le){if(this._checkLoaded(),this._changed=!0,this._layers[K]){if(K!==le){var Te=this._order.indexOf(K);this._order.splice(Te,1);var De=le?this._order.indexOf(le):this._order.length;le&&De===-1?this.fire(new i.ErrorEvent(new Error('Layer with id "'+le+'" does not exist on this map.'))):(this._order.splice(De,0,K),this._layerOrderChanged=!0)}}else this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be moved.")))},ee.prototype.removeLayer=function(K){this._checkLoaded();var le=this._layers[K];if(le){le.setEventedParent(null);var Te=this._order.indexOf(K);this._order.splice(Te,1),this._layerOrderChanged=!0,this._changed=!0,this._removedLayers[K]=le,delete this._layers[K],delete this._serializedLayers[K],delete this._updatedLayers[K],delete this._updatedPaintProps[K],le.onRemove&&le.onRemove(this.map)}else this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be removed.")))},ee.prototype.getLayer=function(K){return this._layers[K]},ee.prototype.hasLayer=function(K){return K in this._layers},ee.prototype.setLayerZoomRange=function(K,le,Te){this._checkLoaded();var De=this.getLayer(K);De?De.minzoom===le&&De.maxzoom===Te||(le!=null&&(De.minzoom=le),Te!=null&&(De.maxzoom=Te),this._updateLayer(De)):this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot have zoom extent.")))},ee.prototype.setFilter=function(K,le,Te){Te===void 0&&(Te={}),this._checkLoaded();var De=this.getLayer(K);if(De){if(!i.deepEqual(De.filter,le))return le==null?(De.filter=void 0,void this._updateLayer(De)):void(this._validate(i.validateStyle.filter,"layers."+De.id+".filter",le,null,Te)||(De.filter=i.clone$1(le),this._updateLayer(De)))}else this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be filtered.")))},ee.prototype.getFilter=function(K){return i.clone$1(this.getLayer(K).filter)},ee.prototype.setLayoutProperty=function(K,le,Te,De){De===void 0&&(De={}),this._checkLoaded();var He=this.getLayer(K);He?i.deepEqual(He.getLayoutProperty(le),Te)||(He.setLayoutProperty(le,Te,De),this._updateLayer(He)):this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be styled.")))},ee.prototype.getLayoutProperty=function(K,le){var Te=this.getLayer(K);if(Te)return Te.getLayoutProperty(le);this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style.")))},ee.prototype.setPaintProperty=function(K,le,Te,De){De===void 0&&(De={}),this._checkLoaded();var He=this.getLayer(K);He?i.deepEqual(He.getPaintProperty(le),Te)||(He.setPaintProperty(le,Te,De)&&this._updateLayer(He),this._changed=!0,this._updatedPaintProps[K]=!0):this.fire(new i.ErrorEvent(new Error("The layer '"+K+"' does not exist in the map's style and cannot be styled.")))},ee.prototype.getPaintProperty=function(K,le){return this.getLayer(K).getPaintProperty(le)},ee.prototype.setFeatureState=function(K,le){this._checkLoaded();var Te=K.source,De=K.sourceLayer,He=this.sourceCaches[Te];if(He!==void 0){var Ze=He.getSource().type;Ze==="geojson"&&De?this.fire(new i.ErrorEvent(new Error("GeoJSON sources cannot have a sourceLayer parameter."))):Ze!=="vector"||De?(K.id===void 0&&this.fire(new i.ErrorEvent(new Error("The feature id parameter must be provided."))),He.setFeatureState(De,K.id,le)):this.fire(new i.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new i.ErrorEvent(new Error("The source '"+Te+"' does not exist in the map's style.")))},ee.prototype.removeFeatureState=function(K,le){this._checkLoaded();var Te=K.source,De=this.sourceCaches[Te];if(De!==void 0){var He=De.getSource().type,Ze=He==="vector"?K.sourceLayer:void 0;He!=="vector"||Ze?le&&typeof K.id!="string"&&typeof K.id!="number"?this.fire(new i.ErrorEvent(new Error("A feature id is requred to remove its specific state property."))):De.removeFeatureState(Ze,K.id,le):this.fire(new i.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new i.ErrorEvent(new Error("The source '"+Te+"' does not exist in the map's style.")))},ee.prototype.getFeatureState=function(K){this._checkLoaded();var le=K.source,Te=K.sourceLayer,De=this.sourceCaches[le];if(De!==void 0){if(De.getSource().type!=="vector"||Te)return K.id===void 0&&this.fire(new i.ErrorEvent(new Error("The feature id parameter must be provided."))),De.getFeatureState(Te,K.id);this.fire(new i.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new i.ErrorEvent(new Error("The source '"+le+"' does not exist in the map's style.")))},ee.prototype.getTransition=function(){return i.extend({duration:300,delay:0},this.stylesheet&&this.stylesheet.transition)},ee.prototype.serialize=function(){return i.filterObject({version:this.stylesheet.version,name:this.stylesheet.name,metadata:this.stylesheet.metadata,light:this.stylesheet.light,center:this.stylesheet.center,zoom:this.stylesheet.zoom,bearing:this.stylesheet.bearing,pitch:this.stylesheet.pitch,sprite:this.stylesheet.sprite,glyphs:this.stylesheet.glyphs,transition:this.stylesheet.transition,sources:i.mapObject(this.sourceCaches,function(K){return K.serialize()}),layers:this._serializeLayers(this._order)},function(K){return K!==void 0})},ee.prototype._updateLayer=function(K){this._updatedLayers[K.id]=!0,K.source&&!this._updatedSources[K.source]&&this.sourceCaches[K.source].getSource().type!=="raster"&&(this._updatedSources[K.source]="reload",this.sourceCaches[K.source].pause()),this._changed=!0},ee.prototype._flattenAndSortRenderedFeatures=function(K){for(var le=this,Te=function(tn){return le._layers[tn].type==="fill-extrusion"},De={},He=[],Ze=this._order.length-1;Ze>=0;Ze--){var at=this._order[Ze];if(Te(at)){De[at]=Ze;for(var Tt=0,At=K;Tt=0;We--){var Xe=this._order[We];if(Te(Xe))for(var tt=He.length-1;tt>=0;tt--){var lt=He[tt].feature;if(De[lt.layer.id]>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js precision mediump float; #else #if !defined(lowp) @@ -2740,11 +2566,7 @@ vec2 unscaled_extrude=vec2(mod(a_pos,2.0)*2.0-1.0);float S=sqrt(-2.0*log(ZERO/we #ifdef OVERDRAW_INSPECTOR gl_FragColor=vec4(0.0); #endif -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js }`,"uniform mat4 u_matrix;uniform vec2 u_world;attribute vec2 a_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos*u_world,0,1);v_pos.x=a_pos.x;v_pos.y=1.0-a_pos.y;}"),ea=Ui("varying float v_placed;varying float v_notUsed;void main() {float alpha=0.5;gl_FragColor=vec4(1.0,0.0,0.0,1.0)*alpha;if (v_placed > 0.5) {gl_FragColor=vec4(0.0,0.0,1.0,0.5)*alpha;}if (v_notUsed > 0.5) {gl_FragColor*=.1;}}","attribute vec2 a_pos;attribute vec2 a_anchor_pos;attribute vec2 a_extrude;attribute vec2 a_placed;attribute vec2 a_shift;uniform mat4 u_matrix;uniform vec2 u_extrude_scale;uniform float u_camera_to_center_distance;varying float v_placed;varying float v_notUsed;void main() {vec4 projectedPoint=u_matrix*vec4(a_anchor_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);gl_Position=u_matrix*vec4(a_pos,0.0,1.0);gl_Position.xy+=(a_extrude+a_shift)*u_extrude_scale*gl_Position.w*collision_perspective_ratio;v_placed=a_placed.x;v_notUsed=a_placed.y;}"),sa=Ui("varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;void main() {float alpha=0.5*min(v_perspective_ratio,1.0);float stroke_radius=0.9*max(v_perspective_ratio,1.0);float distance_to_center=length(v_extrude);float distance_to_edge=abs(distance_to_center-v_radius);float opacity_t=smoothstep(-stroke_radius,0.0,-distance_to_edge);vec4 color=mix(vec4(0.0,0.0,1.0,0.5),vec4(1.0,0.0,0.0,1.0),v_collision);gl_FragColor=color*alpha*opacity_t;}","attribute vec2 a_pos;attribute float a_radius;attribute vec2 a_flags;uniform mat4 u_matrix;uniform mat4 u_inv_matrix;uniform vec2 u_viewport_size;uniform float u_camera_to_center_distance;varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;vec3 toTilePosition(vec2 screenPos) {vec4 rayStart=u_inv_matrix*vec4(screenPos,-1.0,1.0);vec4 rayEnd =u_inv_matrix*vec4(screenPos, 1.0,1.0);rayStart.xyz/=rayStart.w;rayEnd.xyz /=rayEnd.w;highp float t=(0.0-rayStart.z)/(rayEnd.z-rayStart.z);return mix(rayStart.xyz,rayEnd.xyz,t);}void main() {vec2 quadCenterPos=a_pos;float radius=a_radius;float collision=a_flags.x;float vertexIdx=a_flags.y;vec2 quadVertexOffset=vec2(mix(-1.0,1.0,float(vertexIdx >=2.0)),mix(-1.0,1.0,float(vertexIdx >=1.0 && vertexIdx <=2.0)));vec2 quadVertexExtent=quadVertexOffset*radius;vec3 tilePos=toTilePosition(quadCenterPos);vec4 clipPos=u_matrix*vec4(tilePos,1.0);highp float camera_to_anchor_distance=clipPos.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);float padding_factor=1.2;v_radius=radius;v_extrude=quadVertexExtent*padding_factor;v_perspective_ratio=collision_perspective_ratio;v_collision=collision;gl_Position=vec4(clipPos.xyz/clipPos.w,1.0)+vec4(quadVertexExtent*padding_factor/u_viewport_size*2.0,0.0,0.0);}"),co=Ui("uniform highp vec4 u_color;uniform sampler2D u_overlay;varying vec2 v_uv;void main() {vec4 overlay_color=texture2D(u_overlay,v_uv);gl_FragColor=mix(u_color,overlay_color,overlay_color.a);}","attribute vec2 a_pos;varying vec2 v_uv;uniform mat4 u_matrix;uniform float u_overlay_scale;void main() {v_uv=a_pos/8192.0;gl_Position=u_matrix*vec4(a_pos*u_overlay_scale,0,1);}"),La=Ui(`#pragma mapbox: define highp vec4 color -======== -}`,"uniform mat4 u_matrix;uniform vec2 u_world;attribute vec2 a_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos*u_world,0,1);v_pos.x=a_pos.x;v_pos.y=1.0-a_pos.y;}"),ea=Ui("varying float v_placed;varying float v_notUsed;void main() {float alpha=0.5;gl_FragColor=vec4(1.0,0.0,0.0,1.0)*alpha;if (v_placed > 0.5) {gl_FragColor=vec4(0.0,0.0,1.0,0.5)*alpha;}if (v_notUsed > 0.5) {gl_FragColor*=.1;}}","attribute vec2 a_pos;attribute vec2 a_anchor_pos;attribute vec2 a_extrude;attribute vec2 a_placed;attribute vec2 a_shift;uniform mat4 u_matrix;uniform vec2 u_extrude_scale;uniform float u_camera_to_center_distance;varying float v_placed;varying float v_notUsed;void main() {vec4 projectedPoint=u_matrix*vec4(a_anchor_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);gl_Position=u_matrix*vec4(a_pos,0.0,1.0);gl_Position.xy+=(a_extrude+a_shift)*u_extrude_scale*gl_Position.w*collision_perspective_ratio;v_placed=a_placed.x;v_notUsed=a_placed.y;}"),sa=Ui("varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;void main() {float alpha=0.5*min(v_perspective_ratio,1.0);float stroke_radius=0.9*max(v_perspective_ratio,1.0);float distance_to_center=length(v_extrude);float distance_to_edge=abs(distance_to_center-v_radius);float opacity_t=smoothstep(-stroke_radius,0.0,-distance_to_edge);vec4 color=mix(vec4(0.0,0.0,1.0,0.5),vec4(1.0,0.0,0.0,1.0),v_collision);gl_FragColor=color*alpha*opacity_t;}","attribute vec2 a_pos;attribute float a_radius;attribute vec2 a_flags;uniform mat4 u_matrix;uniform mat4 u_inv_matrix;uniform vec2 u_viewport_size;uniform float u_camera_to_center_distance;varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;vec3 toTilePosition(vec2 screenPos) {vec4 rayStart=u_inv_matrix*vec4(screenPos,-1.0,1.0);vec4 rayEnd =u_inv_matrix*vec4(screenPos, 1.0,1.0);rayStart.xyz/=rayStart.w;rayEnd.xyz /=rayEnd.w;highp float t=(0.0-rayStart.z)/(rayEnd.z-rayStart.z);return mix(rayStart.xyz,rayEnd.xyz,t);}void main() {vec2 quadCenterPos=a_pos;float radius=a_radius;float collision=a_flags.x;float vertexIdx=a_flags.y;vec2 quadVertexOffset=vec2(mix(-1.0,1.0,float(vertexIdx >=2.0)),mix(-1.0,1.0,float(vertexIdx >=1.0 && vertexIdx <=2.0)));vec2 quadVertexExtent=quadVertexOffset*radius;vec3 tilePos=toTilePosition(quadCenterPos);vec4 clipPos=u_matrix*vec4(tilePos,1.0);highp float camera_to_anchor_distance=clipPos.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);float padding_factor=1.2;v_radius=radius;v_extrude=quadVertexExtent*padding_factor;v_perspective_ratio=collision_perspective_ratio;v_collision=collision;gl_Position=vec4(clipPos.xyz/clipPos.w,1.0)+vec4(quadVertexExtent*padding_factor/u_viewport_size*2.0,0.0,0.0);}"),uo=Ui("uniform highp vec4 u_color;uniform sampler2D u_overlay;varying vec2 v_uv;void main() {vec4 overlay_color=texture2D(u_overlay,v_uv);gl_FragColor=mix(u_color,overlay_color,overlay_color.a);}","attribute vec2 a_pos;varying vec2 v_uv;uniform mat4 u_matrix;uniform float u_overlay_scale;void main() {v_uv=a_pos/8192.0;gl_Position=u_matrix*vec4(a_pos*u_overlay_scale,0,1);}"),La=Ui(`#pragma mapbox: define highp vec4 color ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js #pragma mapbox: define lowp float opacity void main() { #pragma mapbox: initialize highp vec4 color @@ -3062,7 +2884,7 @@ void main() { #pragma mapbox: initialize lowp float halo_blur vec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ? camera_to_anchor_distance/u_camera_to_center_distance : -u_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale+a_pxoffset),0.0,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));v_data0=a_tex/u_texsize;v_data1=vec3(gamma_scale,size,interpolated_fade_opacity);}`),Ml=Ui(`#define SDF_PX 8.0 +u_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale+a_pxoffset),0.0,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));v_data0=a_tex/u_texsize;v_data1=vec3(gamma_scale,size,interpolated_fade_opacity);}`),Al=Ui(`#define SDF_PX 8.0 #define SDF 1.0 #define ICON 0.0 uniform bool u_is_halo;uniform sampler2D u_texture;uniform sampler2D u_texture_icon;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;varying vec4 v_data0;varying vec4 v_data1; @@ -3148,19 +2970,11 @@ uniform `+He+" "+Ze+" u_"+at+`; #else `+He+" "+Ze+" "+at+" = u_"+at+`; #endif -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js `})}}var Sl=Object.freeze({__proto__:null,prelude:Rr,background:Lr,backgroundPattern:zr,circle:gr,clippingMask:Fr,heatmap:ii,heatmapTexture:ji,collisionBox:ea,collisionCircle:sa,debug:co,fill:La,fillOutline:Xi,fillOutlinePattern:Do,fillPattern:rs,fillExtrusion:el,fillExtrusionPattern:Cu,hillshadePrepare:gf,hillshade:Mh,line:Eu,lineGradient:is,linePattern:Ah,lineSDF:Ya,raster:hc,symbolIcon:Yo,symbolSDF:as,symbolTextAndIcon:Al}),ps=function(){this.boundProgram=null,this.boundLayoutVertexBuffer=null,this.boundPaintVertexBuffers=[],this.boundIndexBuffer=null,this.boundVertexOffset=null,this.boundDynamicVertexBuffer=null,this.vao=null};ps.prototype.bind=function(Y,ee,K,le,Te,De,He,Ze){this.context=Y;for(var at=this.boundPaintVertexBuffers.length!==le.length,Tt=0;!at&&Tt>16,Ze>>16],u_pixel_coord_lower:[65535&He,65535&Ze]}}Es.prototype.draw=function(Y,ee,K,le,Te,De,He,Ze,at,Tt,At,se,ve,Ie,Fe,Ue){var We,Xe=Y.gl;if(!this.failedToCreate){for(var tt in Y.program.set(this.program),Y.setDepthMode(K),Y.setStencilMode(le),Y.setColorMode(Te),Y.setCullFace(De),this.fixedUniforms)this.fixedUniforms[tt].set(He[tt]);Ie&&Ie.setUniforms(Y,this.binderUniforms,se,{zoom:ve});for(var lt=(We={},We[Xe.LINES]=2,We[Xe.TRIANGLES]=3,We[Xe.LINE_STRIP]=1,We)[ee],mt=0,zt=At.get();mt0?1-1/(1.001-He):-He),u_contrast_factor:(De=Te.paint.get("raster-contrast"),De>0?1/(1-De):1+De),u_spin_weights:Ql(Te.paint.get("raster-hue-rotate"))};var De,He};function Ql(Y){Y*=Math.PI/180;var ee=Math.sin(Y),K=Math.cos(Y);return[(2*K+1)/3,(-Math.sqrt(3)*ee-K+1)/3,(Math.sqrt(3)*ee-K+1)/3]}var al,Hi=function(Y,ee,K,le,Te,De,He,Ze,at,Tt){var At=Te.transform;return{u_is_size_zoom_constant:+(Y==="constant"||Y==="source"),u_is_size_feature_constant:+(Y==="constant"||Y==="camera"),u_size_t:ee?ee.uSizeT:0,u_size:ee?ee.uSize:0,u_camera_to_center_distance:At.cameraToCenterDistance,u_pitch:At.pitch/360*2*Math.PI,u_rotate_symbol:+K,u_aspect_ratio:At.width/At.height,u_fade_change:Te.options.fadeDuration?Te.symbolFadeChange:1,u_matrix:De,u_label_plane_matrix:He,u_coord_matrix:Ze,u_is_text:+at,u_pitch_with_map:+le,u_texsize:Tt,u_texture:0}},El=function(Y,ee,K,le,Te,De,He,Ze,at,Tt,At){var se=Te.transform;return i.extend(Hi(Y,ee,K,le,Te,De,He,Ze,at,Tt),{u_gamma_scale:le?Math.cos(se._pitch)*se.cameraToCenterDistance:1,u_device_pixel_ratio:i.browser.devicePixelRatio,u_is_halo:+At})},ad=function(Y,ee,K,le,Te,De,He,Ze,at,Tt){return i.extend(El(Y,ee,K,le,Te,De,He,Ze,!0,at,!0),{u_texsize_icon:Tt,u_texture_icon:1})},Uc=function(Y,ee,K){return{u_matrix:Y,u_opacity:ee,u_color:K}},dc=function(Y,ee,K,le,Te,De){return i.extend(function(He,Ze,at,Tt){var At=at.imageManager.getPattern(He.from.toString()),se=at.imageManager.getPattern(He.to.toString()),ve=at.imageManager.getPixelSize(),Ie=ve.width,Fe=ve.height,Ue=Math.pow(2,Tt.tileID.overscaledZ),We=Tt.tileSize*Math.pow(2,at.transform.tileZoom)/Ue,Xe=We*(Tt.tileID.canonical.x+Tt.tileID.wrap*Ue),tt=We*Tt.tileID.canonical.y;return{u_image:0,u_pattern_tl_a:At.tl,u_pattern_br_a:At.br,u_pattern_tl_b:se.tl,u_pattern_br_b:se.br,u_texsize:[Ie,Fe],u_mix:Ze.t,u_pattern_size_a:At.displaySize,u_pattern_size_b:se.displaySize,u_scale_a:Ze.fromScale,u_scale_b:Ze.toScale,u_tile_units_to_pixels:1/vr(Tt,1,at.transform.tileZoom),u_pixel_coord_upper:[Xe>>16,tt>>16],u_pixel_coord_lower:[65535&Xe,65535&tt]}}(le,De,K,Te),{u_matrix:Y,u_opacity:ee})},eu={fillExtrusion:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_lightpos:new i.Uniform3f(Y,ee.u_lightpos),u_lightintensity:new i.Uniform1f(Y,ee.u_lightintensity),u_lightcolor:new i.Uniform3f(Y,ee.u_lightcolor),u_vertical_gradient:new i.Uniform1f(Y,ee.u_vertical_gradient),u_opacity:new i.Uniform1f(Y,ee.u_opacity)}},fillExtrusionPattern:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_lightpos:new i.Uniform3f(Y,ee.u_lightpos),u_lightintensity:new i.Uniform1f(Y,ee.u_lightintensity),u_lightcolor:new i.Uniform3f(Y,ee.u_lightcolor),u_vertical_gradient:new i.Uniform1f(Y,ee.u_vertical_gradient),u_height_factor:new i.Uniform1f(Y,ee.u_height_factor),u_image:new i.Uniform1i(Y,ee.u_image),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_pixel_coord_upper:new i.Uniform2f(Y,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f(Y,ee.u_pixel_coord_lower),u_scale:new i.Uniform3f(Y,ee.u_scale),u_fade:new i.Uniform1f(Y,ee.u_fade),u_opacity:new i.Uniform1f(Y,ee.u_opacity)}},fill:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix)}},fillPattern:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_image:new i.Uniform1i(Y,ee.u_image),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_pixel_coord_upper:new i.Uniform2f(Y,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f(Y,ee.u_pixel_coord_lower),u_scale:new i.Uniform3f(Y,ee.u_scale),u_fade:new i.Uniform1f(Y,ee.u_fade)}},fillOutline:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_world:new i.Uniform2f(Y,ee.u_world)}},fillOutlinePattern:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_world:new i.Uniform2f(Y,ee.u_world),u_image:new i.Uniform1i(Y,ee.u_image),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_pixel_coord_upper:new i.Uniform2f(Y,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f(Y,ee.u_pixel_coord_lower),u_scale:new i.Uniform3f(Y,ee.u_scale),u_fade:new i.Uniform1f(Y,ee.u_fade)}},circle:function(Y,ee){return{u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_scale_with_map:new i.Uniform1i(Y,ee.u_scale_with_map),u_pitch_with_map:new i.Uniform1i(Y,ee.u_pitch_with_map),u_extrude_scale:new i.Uniform2f(Y,ee.u_extrude_scale),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix)}},collisionBox:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_pixels_to_tile_units:new i.Uniform1f(Y,ee.u_pixels_to_tile_units),u_extrude_scale:new i.Uniform2f(Y,ee.u_extrude_scale),u_overscale_factor:new i.Uniform1f(Y,ee.u_overscale_factor)}},collisionCircle:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_inv_matrix:new i.UniformMatrix4f(Y,ee.u_inv_matrix),u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_viewport_size:new i.Uniform2f(Y,ee.u_viewport_size)}},debug:function(Y,ee){return{u_color:new i.UniformColor(Y,ee.u_color),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_overlay:new i.Uniform1i(Y,ee.u_overlay),u_overlay_scale:new i.Uniform1f(Y,ee.u_overlay_scale)}},clippingMask:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix)}},heatmap:function(Y,ee){return{u_extrude_scale:new i.Uniform1f(Y,ee.u_extrude_scale),u_intensity:new i.Uniform1f(Y,ee.u_intensity),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix)}},heatmapTexture:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_world:new i.Uniform2f(Y,ee.u_world),u_image:new i.Uniform1i(Y,ee.u_image),u_color_ramp:new i.Uniform1i(Y,ee.u_color_ramp),u_opacity:new i.Uniform1f(Y,ee.u_opacity)}},hillshade:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_image:new i.Uniform1i(Y,ee.u_image),u_latrange:new i.Uniform2f(Y,ee.u_latrange),u_light:new i.Uniform2f(Y,ee.u_light),u_shadow:new i.UniformColor(Y,ee.u_shadow),u_highlight:new i.UniformColor(Y,ee.u_highlight),u_accent:new i.UniformColor(Y,ee.u_accent)}},hillshadePrepare:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_image:new i.Uniform1i(Y,ee.u_image),u_dimension:new i.Uniform2f(Y,ee.u_dimension),u_zoom:new i.Uniform1f(Y,ee.u_zoom),u_maxzoom:new i.Uniform1f(Y,ee.u_maxzoom),u_unpack:new i.Uniform4f(Y,ee.u_unpack)}},line:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_ratio:new i.Uniform1f(Y,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_units_to_pixels:new i.Uniform2f(Y,ee.u_units_to_pixels)}},lineGradient:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_ratio:new i.Uniform1f(Y,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_units_to_pixels:new i.Uniform2f(Y,ee.u_units_to_pixels),u_image:new i.Uniform1i(Y,ee.u_image)}},linePattern:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_ratio:new i.Uniform1f(Y,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_image:new i.Uniform1i(Y,ee.u_image),u_units_to_pixels:new i.Uniform2f(Y,ee.u_units_to_pixels),u_scale:new i.Uniform3f(Y,ee.u_scale),u_fade:new i.Uniform1f(Y,ee.u_fade)}},lineSDF:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_ratio:new i.Uniform1f(Y,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_units_to_pixels:new i.Uniform2f(Y,ee.u_units_to_pixels),u_patternscale_a:new i.Uniform2f(Y,ee.u_patternscale_a),u_patternscale_b:new i.Uniform2f(Y,ee.u_patternscale_b),u_sdfgamma:new i.Uniform1f(Y,ee.u_sdfgamma),u_image:new i.Uniform1i(Y,ee.u_image),u_tex_y_a:new i.Uniform1f(Y,ee.u_tex_y_a),u_tex_y_b:new i.Uniform1f(Y,ee.u_tex_y_b),u_mix:new i.Uniform1f(Y,ee.u_mix)}},raster:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_tl_parent:new i.Uniform2f(Y,ee.u_tl_parent),u_scale_parent:new i.Uniform1f(Y,ee.u_scale_parent),u_buffer_scale:new i.Uniform1f(Y,ee.u_buffer_scale),u_fade_t:new i.Uniform1f(Y,ee.u_fade_t),u_opacity:new i.Uniform1f(Y,ee.u_opacity),u_image0:new i.Uniform1i(Y,ee.u_image0),u_image1:new i.Uniform1i(Y,ee.u_image1),u_brightness_low:new i.Uniform1f(Y,ee.u_brightness_low),u_brightness_high:new i.Uniform1f(Y,ee.u_brightness_high),u_saturation_factor:new i.Uniform1f(Y,ee.u_saturation_factor),u_contrast_factor:new i.Uniform1f(Y,ee.u_contrast_factor),u_spin_weights:new i.Uniform3f(Y,ee.u_spin_weights)}},symbolIcon:function(Y,ee){return{u_is_size_zoom_constant:new i.Uniform1i(Y,ee.u_is_size_zoom_constant),u_is_size_feature_constant:new i.Uniform1i(Y,ee.u_is_size_feature_constant),u_size_t:new i.Uniform1f(Y,ee.u_size_t),u_size:new i.Uniform1f(Y,ee.u_size),u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_pitch:new i.Uniform1f(Y,ee.u_pitch),u_rotate_symbol:new i.Uniform1i(Y,ee.u_rotate_symbol),u_aspect_ratio:new i.Uniform1f(Y,ee.u_aspect_ratio),u_fade_change:new i.Uniform1f(Y,ee.u_fade_change),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_label_plane_matrix:new i.UniformMatrix4f(Y,ee.u_label_plane_matrix),u_coord_matrix:new i.UniformMatrix4f(Y,ee.u_coord_matrix),u_is_text:new i.Uniform1i(Y,ee.u_is_text),u_pitch_with_map:new i.Uniform1i(Y,ee.u_pitch_with_map),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_texture:new i.Uniform1i(Y,ee.u_texture)}},symbolSDF:function(Y,ee){return{u_is_size_zoom_constant:new i.Uniform1i(Y,ee.u_is_size_zoom_constant),u_is_size_feature_constant:new i.Uniform1i(Y,ee.u_is_size_feature_constant),u_size_t:new i.Uniform1f(Y,ee.u_size_t),u_size:new i.Uniform1f(Y,ee.u_size),u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_pitch:new i.Uniform1f(Y,ee.u_pitch),u_rotate_symbol:new i.Uniform1i(Y,ee.u_rotate_symbol),u_aspect_ratio:new i.Uniform1f(Y,ee.u_aspect_ratio),u_fade_change:new i.Uniform1f(Y,ee.u_fade_change),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_label_plane_matrix:new i.UniformMatrix4f(Y,ee.u_label_plane_matrix),u_coord_matrix:new i.UniformMatrix4f(Y,ee.u_coord_matrix),u_is_text:new i.Uniform1i(Y,ee.u_is_text),u_pitch_with_map:new i.Uniform1i(Y,ee.u_pitch_with_map),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_texture:new i.Uniform1i(Y,ee.u_texture),u_gamma_scale:new i.Uniform1f(Y,ee.u_gamma_scale),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_is_halo:new i.Uniform1i(Y,ee.u_is_halo)}},symbolTextAndIcon:function(Y,ee){return{u_is_size_zoom_constant:new i.Uniform1i(Y,ee.u_is_size_zoom_constant),u_is_size_feature_constant:new i.Uniform1i(Y,ee.u_is_size_feature_constant),u_size_t:new i.Uniform1f(Y,ee.u_size_t),u_size:new i.Uniform1f(Y,ee.u_size),u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_pitch:new i.Uniform1f(Y,ee.u_pitch),u_rotate_symbol:new i.Uniform1i(Y,ee.u_rotate_symbol),u_aspect_ratio:new i.Uniform1f(Y,ee.u_aspect_ratio),u_fade_change:new i.Uniform1f(Y,ee.u_fade_change),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_label_plane_matrix:new i.UniformMatrix4f(Y,ee.u_label_plane_matrix),u_coord_matrix:new i.UniformMatrix4f(Y,ee.u_coord_matrix),u_is_text:new i.Uniform1i(Y,ee.u_is_text),u_pitch_with_map:new i.Uniform1i(Y,ee.u_pitch_with_map),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_texsize_icon:new i.Uniform2f(Y,ee.u_texsize_icon),u_texture:new i.Uniform1i(Y,ee.u_texture),u_texture_icon:new i.Uniform1i(Y,ee.u_texture_icon),u_gamma_scale:new i.Uniform1f(Y,ee.u_gamma_scale),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_is_halo:new i.Uniform1i(Y,ee.u_is_halo)}},background:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_opacity:new i.Uniform1f(Y,ee.u_opacity),u_color:new i.UniformColor(Y,ee.u_color)}},backgroundPattern:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_opacity:new i.Uniform1f(Y,ee.u_opacity),u_image:new i.Uniform1i(Y,ee.u_image),u_pattern_tl_a:new i.Uniform2f(Y,ee.u_pattern_tl_a),u_pattern_br_a:new i.Uniform2f(Y,ee.u_pattern_br_a),u_pattern_tl_b:new i.Uniform2f(Y,ee.u_pattern_tl_b),u_pattern_br_b:new i.Uniform2f(Y,ee.u_pattern_br_b),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_mix:new i.Uniform1f(Y,ee.u_mix),u_pattern_size_a:new i.Uniform2f(Y,ee.u_pattern_size_a),u_pattern_size_b:new i.Uniform2f(Y,ee.u_pattern_size_b),u_scale_a:new i.Uniform1f(Y,ee.u_scale_a),u_scale_b:new i.Uniform1f(Y,ee.u_scale_b),u_pixel_coord_upper:new i.Uniform2f(Y,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f(Y,ee.u_pixel_coord_lower),u_tile_units_to_pixels:new i.Uniform1f(Y,ee.u_tile_units_to_pixels)}}};function Ru(Y,ee,K,le,Te,De,He){for(var Ze=Y.context,at=Ze.gl,Tt=Y.useProgram("collisionBox"),At=[],se=0,ve=0,Ie=0;Ie0){var mt=i.create(),zt=Xe;i.mul(mt,We.placementInvProjMatrix,Y.transform.glCoordMatrix),i.mul(mt,mt,We.placementViewportMatrix),At.push({circleArray:lt,circleOffset:ve,transform:zt,invTransform:mt}),ve=se+=lt.length/4}tt&&Tt.draw(Ze,at.LINES,qt.disabled,Ke.disabled,Y.colorModeForRenderPass(),qe.disabled,xf(Xe,Y.transform,Ue),K.id,tt.layoutVertexBuffer,tt.indexBuffer,tt.segments,null,Y.transform.zoom,null,null,tt.collisionVertexBuffer)}}if(He&&At.length){var Ut=Y.useProgram("collisionCircle"),Ht=new i.StructArrayLayout2f1f2i16;Ht.resize(4*se),Ht._trim();for(var en=0,vn=0,tn=At;vn=0&&(Fe[We.associatedIconIndex]={shiftedAnchor:tn,angle:ln})}else rr(We.numGlyphs,ve)}if(At){Ie.clear();for(var Cn=Y.icon.placedSymbolArray,_n=0;_n0){var He=i.browser.now(),Ze=(He-Y.timeAdded)/De,at=ee?(He-ee.timeAdded)/De:-1,Tt=K.getSource(),At=Te.coveringZoomLevel({tileSize:Tt.tileSize,roundZoom:Tt.roundZoom}),se=!ee||Math.abs(ee.tileID.overscaledZ-At)>Math.abs(Y.tileID.overscaledZ-At),ve=se&&Y.refreshedUponExpiration?1:i.clamp(se?Ze:1-at,0,1);return Y.refreshedUponExpiration&&Ze>=1&&(Y.refreshedUponExpiration=!1),ee?{opacity:1,mix:1-ve}:{opacity:ve,mix:0}}return{opacity:1,mix:0}}var yc=new i.Color(1,0,0,1),bc=new i.Color(0,1,0,1),Rh=new i.Color(0,0,1,1),Ll=new i.Color(1,0,1,1),Hc=new i.Color(0,1,1,1);function xc(Y){var ee=Y.transform.padding;Ph(Y,Y.transform.height-(ee.top||0),3,yc),Ph(Y,ee.bottom||0,3,bc),_c(Y,ee.left||0,3,Rh),_c(Y,Y.transform.width-(ee.right||0),3,Ll);var K=Y.transform.centerPoint;(function(le,Te,De,He){var Ze=20,at=2;Du(le,Te-at/2,De-Ze/2,at,Ze,He),Du(le,Te-Ze/2,De-at/2,Ze,at,He)})(Y,K.x,Y.transform.height-K.y,Hc)}function Ph(Y,ee,K,le){Du(Y,0,ee+K/2,Y.transform.width,K,le)}function _c(Y,ee,K,le){Du(Y,ee-K/2,0,K,Y.transform.height,le)}function Du(Y,ee,K,le,Te,De){var He=Y.context,Ze=He.gl;Ze.enable(Ze.SCISSOR_TEST),Ze.scissor(ee*i.browser.devicePixelRatio,K*i.browser.devicePixelRatio,le*i.browser.devicePixelRatio,Te*i.browser.devicePixelRatio),He.clear({color:De}),Ze.disable(Ze.SCISSOR_TEST)}function ru(Y,ee,K){var le=Y.context,Te=le.gl,De=K.posMatrix,He=Y.useProgram("debug"),Ze=qt.disabled,at=Ke.disabled,Tt=Y.colorModeForRenderPass(),At="$debug";le.activeTexture.set(Te.TEXTURE0),Y.emptyTexture.bind(Te.LINEAR,Te.CLAMP_TO_EDGE),He.draw(le,Te.LINE_STRIP,Ze,at,Tt,qe.disabled,nl(De,i.Color.red),At,Y.debugBuffer,Y.tileBorderIndexBuffer,Y.debugSegments);var se=ee.getTileByID(K.key).latestRawTileData,ve=se&&se.byteLength||0,Ie=Math.floor(ve/1024),Fe=ee.getTile(K).tileSize,Ue=512/Math.min(Fe,512)*(K.overscaledZ/Y.transform.zoom)*.5,We=K.canonical.toString();K.overscaledZ!==K.canonical.z&&(We+=" => "+K.overscaledZ),function(Xe,tt){Xe.initDebugOverlayCanvas();var lt=Xe.debugOverlayCanvas,mt=Xe.context.gl,zt=Xe.debugOverlayCanvas.getContext("2d");zt.clearRect(0,0,lt.width,lt.height),zt.shadowColor="white",zt.shadowBlur=2,zt.lineWidth=1.5,zt.strokeStyle="white",zt.textBaseline="top",zt.font="bold 36px Open Sans, sans-serif",zt.fillText(tt,5,5),zt.strokeText(tt,5,5),Xe.debugOverlayTexture.update(lt),Xe.debugOverlayTexture.bind(mt.LINEAR,mt.CLAMP_TO_EDGE)}(Y,We+" "+Ie+"kb"),He.draw(le,Te.TRIANGLES,Ze,at,Je.alphaBlended,qe.disabled,nl(De,i.Color.transparent,Ue),At,Y.debugBuffer,Y.quadTriangleIndexBuffer,Y.debugSegments)}var iu={symbol:function(Y,ee,K,le,Te){if(Y.renderPass==="translucent"){var De=Ke.disabled,He=Y.colorModeForRenderPass();K.layout.get("text-variable-anchor")&&function(Ze,at,Tt,At,se,ve,Ie){for(var Fe=at.transform,Ue=se==="map",We=ve==="map",Xe=0,tt=Ze;Xe256&&this.clearStencil(),K.setColorMode(Je.disabled),K.setDepthMode(qt.disabled);var Te=this.useProgram("clippingMask");this._tileClippingMaskIDs={};for(var De=0,He=ee;De256&&this.clearStencil();var Y=this.nextStencilID++,ee=this.context.gl;return new Ke({func:ee.NOTEQUAL,mask:255},Y,255,ee.KEEP,ee.KEEP,ee.REPLACE)},Ki.prototype.stencilModeForClipping=function(Y){var ee=this.context.gl;return new Ke({func:ee.EQUAL,mask:255},this._tileClippingMaskIDs[Y.key],0,ee.KEEP,ee.KEEP,ee.REPLACE)},Ki.prototype.stencilConfigForOverlap=function(Y){var ee,K=this.context.gl,le=Y.sort(function(at,Tt){return Tt.overscaledZ-at.overscaledZ}),Te=le[le.length-1].overscaledZ,De=le[0].overscaledZ-Te+1;if(De>1){this.currentStencilSource=void 0,this.nextStencilID+De>256&&this.clearStencil();for(var He={},Ze=0;Ze=0;this.currentLayer--){var zt=this.style._layers[le[this.currentLayer]],Ut=Te[zt.source],Ht=Tt[zt.source];this._renderTileClippingMasks(zt,Ht),this.renderLayer(this,Ut,zt,Ht)}for(this.renderPass="translucent",this.currentLayer=0;this.currentLayer0?ee.pop():null},Ki.prototype.isPatternMissing=function(Y){if(!Y)return!1;if(!Y.from||!Y.to)return!0;var ee=this.imageManager.getPattern(Y.from.toString()),K=this.imageManager.getPattern(Y.to.toString());return!ee||!K},Ki.prototype.useProgram=function(Y,ee){this.cache=this.cache||{};var K=""+Y+(ee?ee.cacheKey:"")+(this._showOverdrawInspector?"/overdraw":"");return this.cache[K]||(this.cache[K]=new Es(this.context,Sl[Y],ee,eu[Y],this._showOverdrawInspector)),this.cache[K]},Ki.prototype.setCustomLayerDefaults=function(){this.context.unbindVAO(),this.context.cullFace.setDefault(),this.context.activeTexture.setDefault(),this.context.pixelStoreUnpack.setDefault(),this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.context.pixelStoreUnpackFlipY.setDefault()},Ki.prototype.setBaseState=function(){var Y=this.context.gl;this.context.cullFace.set(!1),this.context.viewport.set([0,0,this.width,this.height]),this.context.blendEquation.set(Y.FUNC_ADD)},Ki.prototype.initDebugOverlayCanvas=function(){if(this.debugOverlayCanvas==null){this.debugOverlayCanvas=i.window.document.createElement("canvas"),this.debugOverlayCanvas.width=512,this.debugOverlayCanvas.height=512;var Y=this.context.gl;this.debugOverlayTexture=new i.Texture(this.context,this.debugOverlayCanvas,Y.RGBA)}},Ki.prototype.destroy=function(){this.emptyTexture.destroy(),this.debugOverlayTexture&&this.debugOverlayTexture.destroy()};var Il=function(Y,ee){this.points=Y,this.planes=ee};Il.fromInvProjectionMatrix=function(Y,ee,K){var le=Math.pow(2,K),Te=[[-1,1,-1,1],[1,1,-1,1],[1,-1,-1,1],[-1,-1,-1,1],[-1,1,1,1],[1,1,1,1],[1,-1,1,1],[-1,-1,1,1]].map(function(He){return i.transformMat4([],He,Y)}).map(function(He){return i.scale$1([],He,1/He[3]/ee*le)}),De=[[0,1,2],[6,5,4],[0,3,7],[2,1,5],[3,2,6],[0,4,5]].map(function(He){var Ze=i.sub([],Te[He[0]],Te[He[1]]),at=i.sub([],Te[He[2]],Te[He[1]]),Tt=i.normalize([],i.cross([],Ze,at)),At=-i.dot(Tt,Te[He[1]]);return Tt.concat(At)});return new Il(Te,De)};var Rl=function(Y,ee){this.min=Y,this.max=ee,this.center=i.scale$2([],i.add([],this.min,this.max),.5)};Rl.prototype.quadrant=function(Y){for(var ee=[Y%2==0,Y<2],K=i.clone$2(this.min),le=i.clone$2(this.max),Te=0;Te=0;if(De===0)return 0;De!==ee.length&&(K=!1)}if(K)return 2;for(var Ze=0;Ze<3;Ze++){for(var at=Number.MAX_VALUE,Tt=-Number.MAX_VALUE,At=0;Atthis.max[Ze]-this.min[Ze])return 0}return 1};var po=function(Y,ee,K,le){if(Y===void 0&&(Y=0),ee===void 0&&(ee=0),K===void 0&&(K=0),le===void 0&&(le=0),isNaN(Y)||Y<0||isNaN(ee)||ee<0||isNaN(K)||K<0||isNaN(le)||le<0)throw new Error("Invalid value for edge-insets, top, bottom, left and right must all be numbers");this.top=Y,this.bottom=ee,this.left=K,this.right=le};po.prototype.interpolate=function(Y,ee,K){return ee.top!=null&&Y.top!=null&&(this.top=i.number(Y.top,ee.top,K)),ee.bottom!=null&&Y.bottom!=null&&(this.bottom=i.number(Y.bottom,ee.bottom,K)),ee.left!=null&&Y.left!=null&&(this.left=i.number(Y.left,ee.left,K)),ee.right!=null&&Y.right!=null&&(this.right=i.number(Y.right,ee.right,K)),this},po.prototype.getCenter=function(Y,ee){var K=i.clamp((this.left+Y-this.right)/2,0,Y),le=i.clamp((this.top+ee-this.bottom)/2,0,ee);return new i.Point(K,le)},po.prototype.equals=function(Y){return this.top===Y.top&&this.bottom===Y.bottom&&this.left===Y.left&&this.right===Y.right},po.prototype.clone=function(){return new po(this.top,this.bottom,this.left,this.right)},po.prototype.toJSON=function(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}};var Oi=function(Y,ee,K,le,Te){this.tileSize=512,this.maxValidLatitude=85.051129,this._renderWorldCopies=Te===void 0||Te,this._minZoom=Y||0,this._maxZoom=ee||22,this._minPitch=K??0,this._maxPitch=le??60,this.setMaxBounds(),this.width=0,this.height=0,this._center=new i.LngLat(0,0),this.zoom=0,this.angle=0,this._fov=.6435011087932844,this._pitch=0,this._unmodified=!0,this._edgeInsets=new po,this._posMatrixCache={},this._alignedPosMatrixCache={}},Bi={minZoom:{configurable:!0},maxZoom:{configurable:!0},minPitch:{configurable:!0},maxPitch:{configurable:!0},renderWorldCopies:{configurable:!0},worldSize:{configurable:!0},centerOffset:{configurable:!0},size:{configurable:!0},bearing:{configurable:!0},pitch:{configurable:!0},fov:{configurable:!0},zoom:{configurable:!0},center:{configurable:!0},padding:{configurable:!0},centerPoint:{configurable:!0},unmodified:{configurable:!0},point:{configurable:!0}};Oi.prototype.clone=function(){var Y=new Oi(this._minZoom,this._maxZoom,this._minPitch,this.maxPitch,this._renderWorldCopies);return Y.tileSize=this.tileSize,Y.latRange=this.latRange,Y.width=this.width,Y.height=this.height,Y._center=this._center,Y.zoom=this.zoom,Y.angle=this.angle,Y._fov=this._fov,Y._pitch=this._pitch,Y._unmodified=this._unmodified,Y._edgeInsets=this._edgeInsets.clone(),Y._calcMatrices(),Y},Bi.minZoom.get=function(){return this._minZoom},Bi.minZoom.set=function(Y){this._minZoom!==Y&&(this._minZoom=Y,this.zoom=Math.max(this.zoom,Y))},Bi.maxZoom.get=function(){return this._maxZoom},Bi.maxZoom.set=function(Y){this._maxZoom!==Y&&(this._maxZoom=Y,this.zoom=Math.min(this.zoom,Y))},Bi.minPitch.get=function(){return this._minPitch},Bi.minPitch.set=function(Y){this._minPitch!==Y&&(this._minPitch=Y,this.pitch=Math.max(this.pitch,Y))},Bi.maxPitch.get=function(){return this._maxPitch},Bi.maxPitch.set=function(Y){this._maxPitch!==Y&&(this._maxPitch=Y,this.pitch=Math.min(this.pitch,Y))},Bi.renderWorldCopies.get=function(){return this._renderWorldCopies},Bi.renderWorldCopies.set=function(Y){Y===void 0?Y=!0:Y===null&&(Y=!1),this._renderWorldCopies=Y},Bi.worldSize.get=function(){return this.tileSize*this.scale},Bi.centerOffset.get=function(){return this.centerPoint._sub(this.size._div(2))},Bi.size.get=function(){return new i.Point(this.width,this.height)},Bi.bearing.get=function(){return-this.angle/Math.PI*180},Bi.bearing.set=function(Y){var ee=-i.wrap(Y,-180,180)*Math.PI/180;this.angle!==ee&&(this._unmodified=!1,this.angle=ee,this._calcMatrices(),this.rotationMatrix=i.create$2(),i.rotate(this.rotationMatrix,this.rotationMatrix,this.angle))},Bi.pitch.get=function(){return this._pitch/Math.PI*180},Bi.pitch.set=function(Y){var ee=i.clamp(Y,this.minPitch,this.maxPitch)/180*Math.PI;this._pitch!==ee&&(this._unmodified=!1,this._pitch=ee,this._calcMatrices())},Bi.fov.get=function(){return this._fov/Math.PI*180},Bi.fov.set=function(Y){Y=Math.max(.01,Math.min(60,Y)),this._fov!==Y&&(this._unmodified=!1,this._fov=Y/180*Math.PI,this._calcMatrices())},Bi.zoom.get=function(){return this._zoom},Bi.zoom.set=function(Y){var ee=Math.min(Math.max(Y,this.minZoom),this.maxZoom);this._zoom!==ee&&(this._unmodified=!1,this._zoom=ee,this.scale=this.zoomScale(ee),this.tileZoom=Math.floor(ee),this.zoomFraction=ee-this.tileZoom,this._constrain(),this._calcMatrices())},Bi.center.get=function(){return this._center},Bi.center.set=function(Y){Y.lat===this._center.lat&&Y.lng===this._center.lng||(this._unmodified=!1,this._center=Y,this._constrain(),this._calcMatrices())},Bi.padding.get=function(){return this._edgeInsets.toJSON()},Bi.padding.set=function(Y){this._edgeInsets.equals(Y)||(this._unmodified=!1,this._edgeInsets.interpolate(this._edgeInsets,Y,1),this._calcMatrices())},Bi.centerPoint.get=function(){return this._edgeInsets.getCenter(this.width,this.height)},Oi.prototype.isPaddingEqual=function(Y){return this._edgeInsets.equals(Y)},Oi.prototype.interpolatePadding=function(Y,ee,K){this._unmodified=!1,this._edgeInsets.interpolate(Y,ee,K),this._constrain(),this._calcMatrices()},Oi.prototype.coveringZoomLevel=function(Y){var ee=(Y.roundZoom?Math.round:Math.floor)(this.zoom+this.scaleZoom(this.tileSize/Y.tileSize));return Math.max(0,ee)},Oi.prototype.getVisibleUnwrappedCoordinates=function(Y){var ee=[new i.UnwrappedTileID(0,Y)];if(this._renderWorldCopies)for(var K=this.pointCoordinate(new i.Point(0,0)),le=this.pointCoordinate(new i.Point(this.width,0)),Te=this.pointCoordinate(new i.Point(this.width,this.height)),De=this.pointCoordinate(new i.Point(0,this.height)),He=Math.floor(Math.min(K.x,le.x,Te.x,De.x)),Ze=Math.floor(Math.max(K.x,le.x,Te.x,De.x)),at=He-1;at<=Ze+1;at++)at!==0&&ee.push(new i.UnwrappedTileID(at,Y));return ee},Oi.prototype.coveringTiles=function(Y){var ee=this.coveringZoomLevel(Y),K=ee;if(Y.minzoom!==void 0&&eeY.maxzoom&&(ee=Y.maxzoom);var le=i.MercatorCoordinate.fromLngLat(this.center),Te=Math.pow(2,ee),De=[Te*le.x,Te*le.y,0],He=Il.fromInvProjectionMatrix(this.invProjMatrix,this.worldSize,ee),Ze=Y.minzoom||0;this.pitch<=60&&this._edgeInsets.top<.1&&(Ze=ee);var at=function(tn){return{aabb:new Rl([tn*Te,0,0],[(tn+1)*Te,Te,0]),zoom:0,x:0,y:0,wrap:tn,fullyVisible:!1}},Tt=[],At=[],se=ee,ve=Y.reparseOverscaled?K:ee;if(this._renderWorldCopies)for(var Ie=1;Ie<=3;Ie++)Tt.push(at(-Ie)),Tt.push(at(Ie));for(Tt.push(at(0));Tt.length>0;){var Fe=Tt.pop(),Ue=Fe.x,We=Fe.y,Xe=Fe.fullyVisible;if(!Xe){var tt=Fe.aabb.intersects(He);if(tt===0)continue;Xe=tt===2}var lt=Fe.aabb.distanceX(De),mt=Fe.aabb.distanceY(De),zt=Math.max(Math.abs(lt),Math.abs(mt)),Ut=3+(1<Ut&&Fe.zoom>=Ze)At.push({tileID:new i.OverscaledTileID(Fe.zoom===se?ve:Fe.zoom,Fe.wrap,Fe.zoom,Ue,We),distanceSq:i.sqrLen([De[0]-.5-Ue,De[1]-.5-We])});else for(var Ht=0;Ht<4;Ht++){var en=(Ue<<1)+Ht%2,vn=(We<<1)+(Ht>>1);Tt.push({aabb:Fe.aabb.quadrant(Ht),zoom:Fe.zoom+1,x:en,y:vn,wrap:Fe.wrap,fullyVisible:Xe})}}return At.sort(function(tn,ln){return tn.distanceSq-ln.distanceSq}).map(function(tn){return tn.tileID})},Oi.prototype.resize=function(Y,ee){this.width=Y,this.height=ee,this.pixelsToGLUnits=[2/Y,-2/ee],this._constrain(),this._calcMatrices()},Bi.unmodified.get=function(){return this._unmodified},Oi.prototype.zoomScale=function(Y){return Math.pow(2,Y)},Oi.prototype.scaleZoom=function(Y){return Math.log(Y)/Math.LN2},Oi.prototype.project=function(Y){var ee=i.clamp(Y.lat,-this.maxValidLatitude,this.maxValidLatitude);return new i.Point(i.mercatorXfromLng(Y.lng)*this.worldSize,i.mercatorYfromLat(ee)*this.worldSize)},Oi.prototype.unproject=function(Y){return new i.MercatorCoordinate(Y.x/this.worldSize,Y.y/this.worldSize).toLngLat()},Bi.point.get=function(){return this.project(this.center)},Oi.prototype.setLocationAtPoint=function(Y,ee){var K=this.pointCoordinate(ee),le=this.pointCoordinate(this.centerPoint),Te=this.locationCoordinate(Y),De=new i.MercatorCoordinate(Te.x-(K.x-le.x),Te.y-(K.y-le.y));this.center=this.coordinateLocation(De),this._renderWorldCopies&&(this.center=this.center.wrap())},Oi.prototype.locationPoint=function(Y){return this.coordinatePoint(this.locationCoordinate(Y))},Oi.prototype.pointLocation=function(Y){return this.coordinateLocation(this.pointCoordinate(Y))},Oi.prototype.locationCoordinate=function(Y){return i.MercatorCoordinate.fromLngLat(Y)},Oi.prototype.coordinateLocation=function(Y){return Y.toLngLat()},Oi.prototype.pointCoordinate=function(Y){var ee=[Y.x,Y.y,0,1],K=[Y.x,Y.y,1,1];i.transformMat4(ee,ee,this.pixelMatrixInverse),i.transformMat4(K,K,this.pixelMatrixInverse);var le=ee[3],Te=K[3],De=ee[0]/le,He=K[0]/Te,Ze=ee[1]/le,at=K[1]/Te,Tt=ee[2]/le,At=K[2]/Te,se=Tt===At?0:(0-Tt)/(At-Tt);return new i.MercatorCoordinate(i.number(De,He,se)/this.worldSize,i.number(Ze,at,se)/this.worldSize)},Oi.prototype.coordinatePoint=function(Y){var ee=[Y.x*this.worldSize,Y.y*this.worldSize,0,1];return i.transformMat4(ee,ee,this.pixelMatrix),new i.Point(ee[0]/ee[3],ee[1]/ee[3])},Oi.prototype.getBounds=function(){return new i.LngLatBounds().extend(this.pointLocation(new i.Point(0,0))).extend(this.pointLocation(new i.Point(this.width,0))).extend(this.pointLocation(new i.Point(this.width,this.height))).extend(this.pointLocation(new i.Point(0,this.height)))},Oi.prototype.getMaxBounds=function(){return this.latRange&&this.latRange.length===2&&this.lngRange&&this.lngRange.length===2?new i.LngLatBounds([this.lngRange[0],this.latRange[0]],[this.lngRange[1],this.latRange[1]]):null},Oi.prototype.setMaxBounds=function(Y){Y?(this.lngRange=[Y.getWest(),Y.getEast()],this.latRange=[Y.getSouth(),Y.getNorth()],this._constrain()):(this.lngRange=null,this.latRange=[-this.maxValidLatitude,this.maxValidLatitude])},Oi.prototype.calculatePosMatrix=function(Y,ee){ee===void 0&&(ee=!1);var K=Y.key,le=ee?this._alignedPosMatrixCache:this._posMatrixCache;if(le[K])return le[K];var Te=Y.canonical,De=this.worldSize/this.zoomScale(Te.z),He=Te.x+Math.pow(2,Te.z)*Y.wrap,Ze=i.identity(new Float64Array(16));return i.translate(Ze,Ze,[He*De,Te.y*De,0]),i.scale(Ze,Ze,[De/i.EXTENT,De/i.EXTENT,1]),i.multiply(Ze,ee?this.alignedProjMatrix:this.projMatrix,Ze),le[K]=new Float32Array(Ze),le[K]},Oi.prototype.customLayerMatrix=function(){return this.mercatorMatrix.slice()},Oi.prototype._constrain=function(){if(this.center&&this.width&&this.height&&!this._constraining){this._constraining=!0;var Y,ee,K,le,Te=-90,De=90,He=-180,Ze=180,at=this.size,Tt=this._unmodified;if(this.latRange){var At=this.latRange;Te=i.mercatorYfromLat(At[1])*this.worldSize,Y=(De=i.mercatorYfromLat(At[0])*this.worldSize)-TeDe&&(le=De-Ue)}if(this.lngRange){var We=ve.x,Xe=at.x/2;We-XeZe&&(K=Ze-Xe)}K===void 0&&le===void 0||(this.center=this.unproject(new i.Point(K!==void 0?K:ve.x,le!==void 0?le:ve.y))),this._unmodified=Tt,this._constraining=!1}},Oi.prototype._calcMatrices=function(){if(this.height){var Y=this._fov/2,ee=this.centerOffset;this.cameraToCenterDistance=.5/Math.tan(Y)*this.height;var K=Math.PI/2+this._pitch,le=this._fov*(.5+ee.y/this.height),Te=Math.sin(le)*this.cameraToCenterDistance/Math.sin(i.clamp(Math.PI-K-le,.01,Math.PI-.01)),De=this.point,He=De.x,Ze=De.y,at=1.01*(Math.cos(Math.PI/2-this._pitch)*Te+this.cameraToCenterDistance),Tt=this.height/50,At=new Float64Array(16);i.perspective(At,this._fov,this.width/this.height,Tt,at),At[8]=2*-ee.x/this.width,At[9]=2*ee.y/this.height,i.scale(At,At,[1,-1,1]),i.translate(At,At,[0,0,-this.cameraToCenterDistance]),i.rotateX(At,At,this._pitch),i.rotateZ(At,At,this.angle),i.translate(At,At,[-He,-Ze,0]),this.mercatorMatrix=i.scale([],At,[this.worldSize,this.worldSize,this.worldSize]),i.scale(At,At,[1,1,i.mercatorZfromAltitude(1,this.center.lat)*this.worldSize,1]),this.projMatrix=At,this.invProjMatrix=i.invert([],this.projMatrix);var se=this.width%2/2,ve=this.height%2/2,Ie=Math.cos(this.angle),Fe=Math.sin(this.angle),Ue=He-Math.round(He)+Ie*se+Fe*ve,We=Ze-Math.round(Ze)+Ie*ve+Fe*se,Xe=new Float64Array(At);if(i.translate(Xe,Xe,[Ue>.5?Ue-1:Ue,We>.5?We-1:We,0]),this.alignedProjMatrix=Xe,At=i.create(),i.scale(At,At,[this.width/2,-this.height/2,1]),i.translate(At,At,[1,-1,0]),this.labelPlaneMatrix=At,At=i.create(),i.scale(At,At,[1,-1,1]),i.translate(At,At,[-1,-1,0]),i.scale(At,At,[2/this.width,2/this.height,1]),this.glCoordMatrix=At,this.pixelMatrix=i.multiply(new Float64Array(16),this.labelPlaneMatrix,this.projMatrix),!(At=i.invert(new Float64Array(16),this.pixelMatrix)))throw new Error("failed to invert matrix");this.pixelMatrixInverse=At,this._posMatrixCache={},this._alignedPosMatrixCache={}}},Oi.prototype.maxPitchScaleFactor=function(){if(!this.pixelMatrixInverse)return 1;var Y=this.pointCoordinate(new i.Point(0,0)),ee=[Y.x*this.worldSize,Y.y*this.worldSize,0,1];return i.transformMat4(ee,ee,this.pixelMatrix)[3]/this.cameraToCenterDistance},Oi.prototype.getCameraPoint=function(){var Y=this._pitch,ee=Math.tan(Y)*(this.cameraToCenterDistance||1);return this.centerPoint.add(new i.Point(0,ee))},Oi.prototype.getCameraQueryGeometry=function(Y){var ee=this.getCameraPoint();if(Y.length===1)return[Y[0],ee];for(var K=ee.x,le=ee.y,Te=ee.x,De=ee.y,He=0,Ze=Y;He=3&&!Y.some(function(K){return isNaN(K)})){var ee=this._map.dragRotate.isEnabled()&&this._map.touchZoomRotate.isEnabled()?+(Y[3]||0):this._map.getBearing();return this._map.jumpTo({center:[+Y[2],+Y[1]],zoom:+Y[0],bearing:ee,pitch:+(Y[4]||0)}),!0}return!1},ol.prototype._updateHashUnthrottled=function(){var Y=this.getHashString();try{i.window.history.replaceState(i.window.history.state,"",Y)}catch{}};var Us={linearity:.3,easing:i.bezier(0,0,.3,1)},Gc=i.extend({deceleration:2500,maxSpeed:1400},Us),Oh=i.extend({deceleration:20,maxSpeed:1400},Us),au=i.extend({deceleration:1e3,maxSpeed:360},Us),Dh=i.extend({deceleration:1e3,maxSpeed:90},Us),ou=function(Y){this._map=Y,this.clear()};function sl(Y,ee){(!Y.duration||Y.duration0&&ee-Y[0].time>160;)Y.shift()},ou.prototype._onMoveEnd=function(Y){if(this._drainInertiaBuffer(),!(this._inertiaBuffer.length<2)){for(var ee={zoom:0,bearing:0,pitch:0,pan:new i.Point(0,0),pinchAround:void 0,around:void 0},K=0,le=this._inertiaBuffer;K=this._clickTolerance||this._map.fire(new da(Y.type,this._map,Y))},Ha.prototype.dblclick=function(Y){return this._firePreventable(new da(Y.type,this._map,Y))},Ha.prototype.mouseover=function(Y){this._map.fire(new da(Y.type,this._map,Y))},Ha.prototype.mouseout=function(Y){this._map.fire(new da(Y.type,this._map,Y))},Ha.prototype.touchstart=function(Y){return this._firePreventable(new Hs(Y.type,this._map,Y))},Ha.prototype.touchmove=function(Y){this._map.fire(new Hs(Y.type,this._map,Y))},Ha.prototype.touchend=function(Y){this._map.fire(new Hs(Y.type,this._map,Y))},Ha.prototype.touchcancel=function(Y){this._map.fire(new Hs(Y.type,this._map,Y))},Ha.prototype._firePreventable=function(Y){if(this._map.fire(Y),Y.defaultPrevented)return{}},Ha.prototype.isEnabled=function(){return!0},Ha.prototype.isActive=function(){return!1},Ha.prototype.enable=function(){},Ha.prototype.disable=function(){};var mo=function(Y){this._map=Y};mo.prototype.reset=function(){this._delayContextMenu=!1,delete this._contextMenuEvent},mo.prototype.mousemove=function(Y){this._map.fire(new da(Y.type,this._map,Y))},mo.prototype.mousedown=function(){this._delayContextMenu=!0},mo.prototype.mouseup=function(){this._delayContextMenu=!1,this._contextMenuEvent&&(this._map.fire(new da("contextmenu",this._map,this._contextMenuEvent)),delete this._contextMenuEvent)},mo.prototype.contextmenu=function(Y){this._delayContextMenu?this._contextMenuEvent=Y:this._map.fire(new da(Y.type,this._map,Y)),this._map.listens("contextmenu")&&Y.preventDefault()},mo.prototype.isEnabled=function(){return!0},mo.prototype.isActive=function(){return!1},mo.prototype.enable=function(){},mo.prototype.disable=function(){};var go=function(Y,ee){this._map=Y,this._el=Y.getCanvasContainer(),this._container=Y.getContainer(),this._clickTolerance=ee.clickTolerance||1};function ho(Y,ee){for(var K={},le=0;lethis.numTouches)&&(this.aborted=!0),this.aborted||(this.startTime===void 0&&(this.startTime=Y.timeStamp),K.length===this.numTouches&&(this.centroid=function(le){for(var Te=new i.Point(0,0),De=0,He=le;De30)&&(this.aborted=!0)}}},zo.prototype.touchend=function(Y,ee,K){if((!this.centroid||Y.timeStamp-this.startTime>500)&&(this.aborted=!0),K.length===0){var le=!this.aborted&&this.centroid;if(this.reset(),le)return le}};var Pl=function(Y){this.singleTap=new zo(Y),this.numTaps=Y.numTaps,this.reset()};Pl.prototype.reset=function(){this.lastTime=1/0,delete this.lastTap,this.count=0,this.singleTap.reset()},Pl.prototype.touchstart=function(Y,ee,K){this.singleTap.touchstart(Y,ee,K)},Pl.prototype.touchmove=function(Y,ee,K){this.singleTap.touchmove(Y,ee,K)},Pl.prototype.touchend=function(Y,ee,K){var le=this.singleTap.touchend(Y,ee,K);if(le){var Te=Y.timeStamp-this.lastTime<500,De=!this.lastTap||this.lastTap.dist(le)<30;if(Te&&De||this.reset(),this.count++,this.lastTime=Y.timeStamp,this.lastTap=le,this.count===this.numTaps)return this.reset(),le}};var vs=function(){this._zoomIn=new Pl({numTouches:1,numTaps:2}),this._zoomOut=new Pl({numTouches:2,numTaps:1}),this.reset()};vs.prototype.reset=function(){this._active=!1,this._zoomIn.reset(),this._zoomOut.reset()},vs.prototype.touchstart=function(Y,ee,K){this._zoomIn.touchstart(Y,ee,K),this._zoomOut.touchstart(Y,ee,K)},vs.prototype.touchmove=function(Y,ee,K){this._zoomIn.touchmove(Y,ee,K),this._zoomOut.touchmove(Y,ee,K)},vs.prototype.touchend=function(Y,ee,K){var le=this,Te=this._zoomIn.touchend(Y,ee,K),De=this._zoomOut.touchend(Y,ee,K);return Te?(this._active=!0,Y.preventDefault(),setTimeout(function(){return le.reset()},0),{cameraAnimation:function(He){return He.easeTo({duration:300,zoom:He.getZoom()+1,around:He.unproject(Te)},{originalEvent:Y})}}):De?(this._active=!0,Y.preventDefault(),setTimeout(function(){return le.reset()},0),{cameraAnimation:function(He){return He.easeTo({duration:300,zoom:He.getZoom()-1,around:He.unproject(De)},{originalEvent:Y})}}):void 0},vs.prototype.touchcancel=function(){this.reset()},vs.prototype.enable=function(){this._enabled=!0},vs.prototype.disable=function(){this._enabled=!1,this.reset()},vs.prototype.isEnabled=function(){return this._enabled},vs.prototype.isActive=function(){return this._active};var $a=function(Y){this.reset(),this._clickTolerance=Y.clickTolerance||1};$a.prototype.reset=function(){this._active=!1,this._moved=!1,delete this._lastPoint,delete this._eventButton},$a.prototype._correctButton=function(Y,ee){return!1},$a.prototype._move=function(Y,ee){return{}},$a.prototype.mousedown=function(Y,ee){if(!this._lastPoint){var K=v.mouseButton(Y);this._correctButton(Y,K)&&(this._lastPoint=ee,this._eventButton=K)}},$a.prototype.mousemoveWindow=function(Y,ee){var K=this._lastPoint;if(K&&(Y.preventDefault(),this._moved||!(ee.dist(K)0&&(this._active=!0);var le=ho(K,ee),Te=new i.Point(0,0),De=new i.Point(0,0),He=0;for(var Ze in le){var at=le[Ze],Tt=this._touches[Ze];Tt&&(Te._add(at),De._add(at.sub(Tt)),He++,le[Ze]=at)}if(this._touches=le,!(HeMath.abs(Y.x)}var Br=function(Y){function ee(){Y.apply(this,arguments)}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee.prototype.reset=function(){Y.prototype.reset.call(this),this._valid=void 0,delete this._firstMove,delete this._lastPoints},ee.prototype._start=function(K){this._lastPoints=K,Bu(K[0].sub(K[1]))&&(this._valid=!1)},ee.prototype._move=function(K,le,Te){var De=K[0].sub(this._lastPoints[0]),He=K[1].sub(this._lastPoints[1]);if(this._valid=this.gestureBeginsVertically(De,He,Te.timeStamp),this._valid)return this._lastPoints=K,this._active=!0,{pitchDelta:(De.y+He.y)/2*-.5}},ee.prototype.gestureBeginsVertically=function(K,le,Te){if(this._valid!==void 0)return this._valid;var De=K.mag()>=2,He=le.mag()>=2;if(De||He){if(!De||!He)return this._firstMove===void 0&&(this._firstMove=Te),Te-this._firstMove<100&&void 0;var Ze=K.y>0==le.y>0;return Bu(K)&&Bu(le)&&Ze}},ee}(Dr),Nu={panStep:100,bearingStep:15,pitchStep:10},ys=function(){var Y=Nu;this._panStep=Y.panStep,this._bearingStep=Y.bearingStep,this._pitchStep=Y.pitchStep};function $c(Y){return Y*(2-Y)}ys.prototype.reset=function(){this._active=!1},ys.prototype.keydown=function(Y){var ee=this;if(!(Y.altKey||Y.ctrlKey||Y.metaKey)){var K=0,le=0,Te=0,De=0,He=0;switch(Y.keyCode){case 61:case 107:case 171:case 187:K=1;break;case 189:case 109:case 173:K=-1;break;case 37:Y.shiftKey?le=-1:(Y.preventDefault(),De=-1);break;case 39:Y.shiftKey?le=1:(Y.preventDefault(),De=1);break;case 38:Y.shiftKey?Te=1:(Y.preventDefault(),He=-1);break;case 40:Y.shiftKey?Te=-1:(Y.preventDefault(),He=1);break;default:return}return{cameraAnimation:function(Ze){var at=Ze.getZoom();Ze.easeTo({duration:300,easeId:"keyboardHandler",easing:$c,zoom:K?Math.round(at)+K*(Y.shiftKey?2:1):at,bearing:Ze.getBearing()+le*ee._bearingStep,pitch:Ze.getPitch()+Te*ee._pitchStep,offset:[-De*ee._panStep,-He*ee._panStep],center:Ze.getCenter()},{originalEvent:Y})}}}},ys.prototype.enable=function(){this._enabled=!0},ys.prototype.disable=function(){this._enabled=!1,this.reset()},ys.prototype.isEnabled=function(){return this._enabled},ys.prototype.isActive=function(){return this._active};var wc=4.000244140625,vo=function(Y,ee){this._map=Y,this._el=Y.getCanvasContainer(),this._handler=ee,this._delta=0,this._defaultZoomRate=.01,this._wheelZoomRate=.0022222222222222222,i.bindAll(["_onWheel","_onTimeout","_onScrollFrame","_onScrollFinished"],this)};vo.prototype.setZoomRate=function(Y){this._defaultZoomRate=Y},vo.prototype.setWheelZoomRate=function(Y){this._wheelZoomRate=Y},vo.prototype.isEnabled=function(){return!!this._enabled},vo.prototype.isActive=function(){return!!this._active||this._finishTimeout!==void 0},vo.prototype.isZooming=function(){return!!this._zooming},vo.prototype.enable=function(Y){this.isEnabled()||(this._enabled=!0,this._aroundCenter=Y&&Y.around==="center")},vo.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},vo.prototype.wheel=function(Y){if(this.isEnabled()){var ee=Y.deltaMode===i.window.WheelEvent.DOM_DELTA_LINE?40*Y.deltaY:Y.deltaY,K=i.browser.now(),le=K-(this._lastWheelEventTime||0);this._lastWheelEventTime=K,ee!==0&&ee%wc==0?this._type="wheel":ee!==0&&Math.abs(ee)<4?this._type="trackpad":le>400?(this._type=null,this._lastValue=ee,this._timeout=setTimeout(this._onTimeout,40,Y)):this._type||(this._type=Math.abs(le*ee)<200?"trackpad":"wheel",this._timeout&&(clearTimeout(this._timeout),this._timeout=null,ee+=this._lastValue)),Y.shiftKey&&ee&&(ee/=4),this._type&&(this._lastWheelEvent=Y,this._delta-=ee,this._active||this._start(Y)),Y.preventDefault()}},vo.prototype._onTimeout=function(Y){this._type="wheel",this._delta-=this._lastValue,this._active||this._start(Y)},vo.prototype._start=function(Y){if(this._delta){this._frameId&&(this._frameId=null),this._active=!0,this.isZooming()||(this._zooming=!0),this._finishTimeout&&(clearTimeout(this._finishTimeout),delete this._finishTimeout);var ee=v.mousePos(this._el,Y);this._around=i.LngLat.convert(this._aroundCenter?this._map.getCenter():this._map.unproject(ee)),this._aroundPoint=this._map.transform.locationPoint(this._around),this._frameId||(this._frameId=!0,this._handler._triggerRenderFrame())}},vo.prototype.renderFrame=function(){return this._onScrollFrame()},vo.prototype._onScrollFrame=function(){var Y=this;if(this._frameId&&(this._frameId=null,this.isActive())){var ee=this._map.transform;if(this._delta!==0){var K=this._type==="wheel"&&Math.abs(this._delta)>wc?this._wheelZoomRate:this._defaultZoomRate,le=2/(1+Math.exp(-Math.abs(this._delta*K)));this._delta<0&&le!==0&&(le=1/le);var Te=typeof this._targetZoom=="number"?ee.zoomScale(this._targetZoom):ee.scale;this._targetZoom=Math.min(ee.maxZoom,Math.max(ee.minZoom,ee.scaleZoom(Te*le))),this._type==="wheel"&&(this._startZoom=ee.zoom,this._easing=this._smoothOutEasing(200)),this._delta=0}var De,He=typeof this._targetZoom=="number"?this._targetZoom:ee.zoom,Ze=this._startZoom,at=this._easing,Tt=!1;if(this._type==="wheel"&&Ze&&at){var At=Math.min((i.browser.now()-this._lastWheelEventTime)/200,1),se=at(At);De=i.number(Ze,He,se),At<1?this._frameId||(this._frameId=!0):Tt=!0}else De=He,Tt=!0;return this._active=!0,Tt&&(this._active=!1,this._finishTimeout=setTimeout(function(){Y._zooming=!1,Y._handler._triggerRenderFrame(),delete Y._targetZoom,delete Y._finishTimeout},200)),{noInertia:!0,needsRenderFrame:!Tt,zoomDelta:De-ee.zoom,around:this._aroundPoint,originalEvent:this._lastWheelEvent}}},vo.prototype._smoothOutEasing=function(Y){var ee=i.ease;if(this._prevEase){var K=this._prevEase,le=(i.browser.now()-K.start)/K.duration,Te=K.easing(le+.01)-K.easing(le),De=.27/Math.sqrt(Te*Te+1e-4)*.01,He=Math.sqrt(.0729-De*De);ee=i.bezier(De,He,.25,1)}return this._prevEase={start:i.browser.now(),duration:Y,easing:ee},ee},vo.prototype.reset=function(){this._active=!1};var cu=function(Y,ee){this._clickZoom=Y,this._tapZoom=ee};cu.prototype.enable=function(){this._clickZoom.enable(),this._tapZoom.enable()},cu.prototype.disable=function(){this._clickZoom.disable(),this._tapZoom.disable()},cu.prototype.isEnabled=function(){return this._clickZoom.isEnabled()&&this._tapZoom.isEnabled()},cu.prototype.isActive=function(){return this._clickZoom.isActive()||this._tapZoom.isActive()};var ll=function(){this.reset()};ll.prototype.reset=function(){this._active=!1},ll.prototype.dblclick=function(Y,ee){return Y.preventDefault(),{cameraAnimation:function(K){K.easeTo({duration:300,zoom:K.getZoom()+(Y.shiftKey?-1:1),around:K.unproject(ee)},{originalEvent:Y})}}},ll.prototype.enable=function(){this._enabled=!0},ll.prototype.disable=function(){this._enabled=!1,this.reset()},ll.prototype.isEnabled=function(){return this._enabled},ll.prototype.isActive=function(){return this._active};var Zo=function(){this._tap=new Pl({numTouches:1,numTaps:1}),this.reset()};Zo.prototype.reset=function(){this._active=!1,delete this._swipePoint,delete this._swipeTouch,delete this._tapTime,this._tap.reset()},Zo.prototype.touchstart=function(Y,ee,K){this._swipePoint||(this._tapTime&&Y.timeStamp-this._tapTime>500&&this.reset(),this._tapTime?K.length>0&&(this._swipePoint=ee[0],this._swipeTouch=K[0].identifier):this._tap.touchstart(Y,ee,K))},Zo.prototype.touchmove=function(Y,ee,K){if(this._tapTime){if(this._swipePoint){if(K[0].identifier!==this._swipeTouch)return;var le=ee[0],Te=le.y-this._swipePoint.y;return this._swipePoint=le,Y.preventDefault(),this._active=!0,{zoomDelta:Te/128}}}else this._tap.touchmove(Y,ee,K)},Zo.prototype.touchend=function(Y,ee,K){this._tapTime?this._swipePoint&&K.length===0&&this.reset():this._tap.touchend(Y,ee,K)&&(this._tapTime=Y.timeStamp)},Zo.prototype.touchcancel=function(){this.reset()},Zo.prototype.enable=function(){this._enabled=!0},Zo.prototype.disable=function(){this._enabled=!1,this.reset()},Zo.prototype.isEnabled=function(){return this._enabled},Zo.prototype.isActive=function(){return this._active};var Ol=function(Y,ee,K){this._el=Y,this._mousePan=ee,this._touchPan=K};Ol.prototype.enable=function(Y){this._inertiaOptions=Y||{},this._mousePan.enable(),this._touchPan.enable(),this._el.classList.add("mapboxgl-touch-drag-pan")},Ol.prototype.disable=function(){this._mousePan.disable(),this._touchPan.disable(),this._el.classList.remove("mapboxgl-touch-drag-pan")},Ol.prototype.isEnabled=function(){return this._mousePan.isEnabled()&&this._touchPan.isEnabled()},Ol.prototype.isActive=function(){return this._mousePan.isActive()||this._touchPan.isActive()};var Ls=function(Y,ee,K){this._pitchWithRotate=Y.pitchWithRotate,this._mouseRotate=ee,this._mousePitch=K};Ls.prototype.enable=function(){this._mouseRotate.enable(),this._pitchWithRotate&&this._mousePitch.enable()},Ls.prototype.disable=function(){this._mouseRotate.disable(),this._mousePitch.disable()},Ls.prototype.isEnabled=function(){return this._mouseRotate.isEnabled()&&(!this._pitchWithRotate||this._mousePitch.isEnabled())},Ls.prototype.isActive=function(){return this._mouseRotate.isActive()||this._mousePitch.isActive()};var bs=function(Y,ee,K,le){this._el=Y,this._touchZoom=ee,this._touchRotate=K,this._tapDragZoom=le,this._rotationDisabled=!1,this._enabled=!0};bs.prototype.enable=function(Y){this._touchZoom.enable(Y),this._rotationDisabled||this._touchRotate.enable(Y),this._tapDragZoom.enable(),this._el.classList.add("mapboxgl-touch-zoom-rotate")},bs.prototype.disable=function(){this._touchZoom.disable(),this._touchRotate.disable(),this._tapDragZoom.disable(),this._el.classList.remove("mapboxgl-touch-zoom-rotate")},bs.prototype.isEnabled=function(){return this._touchZoom.isEnabled()&&(this._rotationDisabled||this._touchRotate.isEnabled())&&this._tapDragZoom.isEnabled()},bs.prototype.isActive=function(){return this._touchZoom.isActive()||this._touchRotate.isActive()||this._tapDragZoom.isActive()},bs.prototype.disableRotation=function(){this._rotationDisabled=!0,this._touchRotate.disable()},bs.prototype.enableRotation=function(){this._rotationDisabled=!1,this._touchZoom.isEnabled()&&this._touchRotate.enable()};var hu=function(Y){return Y.zoom||Y.drag||Y.pitch||Y.rotate},yo=function(Y){function ee(){Y.apply(this,arguments)}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee}(i.Event);function xs(Y){return Y.panDelta&&Y.panDelta.mag()||Y.zoomDelta||Y.bearingDelta||Y.pitchDelta}var $i=function(Y,ee){this._map=Y,this._el=this._map.getCanvasContainer(),this._handlers=[],this._handlersById={},this._changes=[],this._inertia=new ou(Y),this._bearingSnap=ee.bearingSnap,this._previousActiveHandlers={},this._eventsInProgress={},this._addDefaultHandlers(ee),i.bindAll(["handleEvent","handleWindowEvent"],this);var K=this._el;this._listeners=[[K,"touchstart",{passive:!1}],[K,"touchmove",{passive:!1}],[K,"touchend",void 0],[K,"touchcancel",void 0],[K,"mousedown",void 0],[K,"mousemove",void 0],[K,"mouseup",void 0],[i.window.document,"mousemove",{capture:!0}],[i.window.document,"mouseup",void 0],[K,"mouseover",void 0],[K,"mouseout",void 0],[K,"dblclick",void 0],[K,"click",void 0],[K,"keydown",{capture:!1}],[K,"keyup",void 0],[K,"wheel",{passive:!1}],[K,"contextmenu",void 0],[i.window,"blur",void 0]];for(var le=0,Te=this._listeners;leHe?Math.min(2,Ut):Math.max(.5,Ut),ln=Math.pow(tn,1-en),an=De.unproject(mt.add(zt.mult(en*ln)).mult(vn));De.setLocationAtPoint(De.renderWorldCopies?an.wrap():an,Ue)}Te._fireMoveEvents(le)},function(en){Te._afterEase(le,en)},K),this},ee.prototype._prepareEase=function(K,le,Te){Te===void 0&&(Te={}),this._moving=!0,le||Te.moving||this.fire(new i.Event("movestart",K)),this._zooming&&!Te.zooming&&this.fire(new i.Event("zoomstart",K)),this._rotating&&!Te.rotating&&this.fire(new i.Event("rotatestart",K)),this._pitching&&!Te.pitching&&this.fire(new i.Event("pitchstart",K))},ee.prototype._fireMoveEvents=function(K){this.fire(new i.Event("move",K)),this._zooming&&this.fire(new i.Event("zoom",K)),this._rotating&&this.fire(new i.Event("rotate",K)),this._pitching&&this.fire(new i.Event("pitch",K))},ee.prototype._afterEase=function(K,le){if(!this._easeId||!le||this._easeId!==le){delete this._easeId;var Te=this._zooming,De=this._rotating,He=this._pitching;this._moving=!1,this._zooming=!1,this._rotating=!1,this._pitching=!1,this._padding=!1,Te&&this.fire(new i.Event("zoomend",K)),De&&this.fire(new i.Event("rotateend",K)),He&&this.fire(new i.Event("pitchend",K)),this.fire(new i.Event("moveend",K))}},ee.prototype.flyTo=function(K,le){var Te=this;if(!K.essential&&i.browser.prefersReducedMotion){var De=i.pick(K,["center","zoom","bearing","pitch","around"]);return this.jumpTo(De,le)}this.stop(),K=i.extend({offset:[0,0],speed:1.2,curve:1.42,easing:i.ease},K);var He=this.transform,Ze=this.getZoom(),at=this.getBearing(),Tt=this.getPitch(),At=this.getPadding(),se="zoom"in K?i.clamp(+K.zoom,He.minZoom,He.maxZoom):Ze,ve="bearing"in K?this._normalizeBearing(K.bearing,at):at,Ie="pitch"in K?+K.pitch:Tt,Fe="padding"in K?K.padding:He.padding,Ue=He.zoomScale(se-Ze),We=i.Point.convert(K.offset),Xe=He.centerPoint.add(We),tt=He.pointLocation(Xe),lt=i.LngLat.convert(K.center||tt);this._normalizeCenter(lt);var mt=He.project(tt),zt=He.project(lt).sub(mt),Ut=K.curve,Ht=Math.max(He.width,He.height),en=Ht/Ue,vn=zt.mag();if("minZoom"in K){var tn=i.clamp(Math.min(K.minZoom,Ze,se),He.minZoom,He.maxZoom),ln=Ht/He.zoomScale(tn-Ze);Ut=Math.sqrt(ln/vn*2)}var an=Ut*Ut;function Cn(xr){var kr=(en*en-Ht*Ht+(xr?-1:1)*an*an*vn*vn)/(2*(xr?en:Ht)*an*vn);return Math.log(Math.sqrt(kr*kr+1)-kr)}function _n(xr){return(Math.exp(xr)-Math.exp(-xr))/2}function on(xr){return(Math.exp(xr)+Math.exp(-xr))/2}var Fn=Cn(0),Hn=function(xr){return on(Fn)/on(Fn+Ut*xr)},ir=function(xr){return Ht*((on(Fn)*(_n(kr=Fn+Ut*xr)/on(kr))-_n(Fn))/an)/vn;var kr},ar=(Cn(1)-Fn)/Ut;if(Math.abs(vn)<1e-6||!isFinite(ar)){if(Math.abs(Ht-en)<1e-6)return this.easeTo(K,le);var Mr=enK.maxDuration&&(K.duration=0),this._zooming=!0,this._rotating=at!==ve,this._pitching=Ie!==Tt,this._padding=!He.isPaddingEqual(Fe),this._prepareEase(le,!1),this._ease(function(xr){var kr=xr*ar,jr=1/Hn(kr);He.zoom=xr===1?se:Ze+He.scaleZoom(jr),Te._rotating&&(He.bearing=i.number(at,ve,xr)),Te._pitching&&(He.pitch=i.number(Tt,Ie,xr)),Te._padding&&(He.interpolatePadding(At,Fe,xr),Xe=He.centerPoint.add(We));var fi=xr===1?lt:He.unproject(mt.add(zt.mult(ir(kr))).mult(jr));He.setLocationAtPoint(He.renderWorldCopies?fi.wrap():fi,Xe),Te._fireMoveEvents(le)},function(){return Te._afterEase(le)},K),this},ee.prototype.isEasing=function(){return!!this._easeFrameId},ee.prototype.stop=function(){return this._stop()},ee.prototype._stop=function(K,le){if(this._easeFrameId&&(this._cancelRenderFrame(this._easeFrameId),delete this._easeFrameId,delete this._onEaseFrame),this._onEaseEnd){var Te=this._onEaseEnd;delete this._onEaseEnd,Te.call(this,le)}if(!K){var De=this.handlers;De&&De.stop()}return this},ee.prototype._ease=function(K,le,Te){Te.animate===!1||Te.duration===0?(K(1),le()):(this._easeStart=i.browser.now(),this._easeOptions=Te,this._onEaseFrame=K,this._onEaseEnd=le,this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback))},ee.prototype._renderFrameCallback=function(){var K=Math.min((i.browser.now()-this._easeStart)/this._easeOptions.duration,1);this._onEaseFrame(this._easeOptions.easing(K)),K<1?this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback):this.stop()},ee.prototype._normalizeBearing=function(K,le){K=i.wrap(K,-180,180);var Te=Math.abs(K-le);return Math.abs(K-360-le)180?-360:Te<-180?360:0}},ee}(i.Evented),os=function(Y){Y===void 0&&(Y={}),this.options=Y,i.bindAll(["_updateEditLink","_updateData","_updateCompact"],this)};os.prototype.getDefaultPosition=function(){return"bottom-right"},os.prototype.onAdd=function(Y){var ee=this.options&&this.options.compact;return this._map=Y,this._container=v.create("div","mapboxgl-ctrl mapboxgl-ctrl-attrib"),this._innerContainer=v.create("div","mapboxgl-ctrl-attrib-inner",this._container),ee&&this._container.classList.add("mapboxgl-compact"),this._updateAttributions(),this._updateEditLink(),this._map.on("styledata",this._updateData),this._map.on("sourcedata",this._updateData),this._map.on("moveend",this._updateEditLink),ee===void 0&&(this._map.on("resize",this._updateCompact),this._updateCompact()),this._container},os.prototype.onRemove=function(){v.remove(this._container),this._map.off("styledata",this._updateData),this._map.off("sourcedata",this._updateData),this._map.off("moveend",this._updateEditLink),this._map.off("resize",this._updateCompact),this._map=void 0,this._attribHTML=void 0},os.prototype._updateEditLink=function(){var Y=this._editLink;Y||(Y=this._editLink=this._container.querySelector(".mapbox-improve-map"));var ee=[{key:"owner",value:this.styleOwner},{key:"id",value:this.styleId},{key:"access_token",value:this._map._requestManager._customAccessToken||i.config.ACCESS_TOKEN}];if(Y){var K=ee.reduce(function(le,Te,De){return Te.value&&(le+=Te.key+"="+Te.value+(De=0)return!1;return!0})).join(" | ");He!==this._attribHTML&&(this._attribHTML=He,Y.length?(this._innerContainer.innerHTML=He,this._container.classList.remove("mapboxgl-attrib-empty")):this._container.classList.add("mapboxgl-attrib-empty"),this._editLink=null)}},os.prototype._updateCompact=function(){this._map.getCanvasContainer().offsetWidth<=640?this._container.classList.add("mapboxgl-compact"):this._container.classList.remove("mapboxgl-compact")};var _s=function(){i.bindAll(["_updateLogo"],this),i.bindAll(["_updateCompact"],this)};_s.prototype.onAdd=function(Y){this._map=Y,this._container=v.create("div","mapboxgl-ctrl");var ee=v.create("a","mapboxgl-ctrl-logo");return ee.target="_blank",ee.rel="noopener nofollow",ee.href="https://www.mapbox.com/",ee.setAttribute("aria-label",this._map._getUIString("LogoControl.Title")),ee.setAttribute("rel","noopener nofollow"),this._container.appendChild(ee),this._container.style.display="none",this._map.on("sourcedata",this._updateLogo),this._updateLogo(),this._map.on("resize",this._updateCompact),this._updateCompact(),this._container},_s.prototype.onRemove=function(){v.remove(this._container),this._map.off("sourcedata",this._updateLogo),this._map.off("resize",this._updateCompact)},_s.prototype.getDefaultPosition=function(){return"bottom-left"},_s.prototype._updateLogo=function(Y){Y&&Y.sourceDataType!=="metadata"||(this._container.style.display=this._logoRequired()?"block":"none")},_s.prototype._logoRequired=function(){if(this._map.style){var Y=this._map.style.sourceCaches;for(var ee in Y)if(Y[ee].getSource().mapbox_logo)return!0;return!1}},_s.prototype._updateCompact=function(){var Y=this._container.children;if(Y.length){var ee=Y[0];this._map.getCanvasContainer().offsetWidth<250?ee.classList.add("mapboxgl-compact"):ee.classList.remove("mapboxgl-compact")}};var Gs=function(){this._queue=[],this._id=0,this._cleared=!1,this._currentlyRunning=!1};Gs.prototype.add=function(Y){var ee=++this._id;return this._queue.push({callback:Y,id:ee,cancelled:!1}),ee},Gs.prototype.remove=function(Y){for(var ee=this._currentlyRunning,K=0,le=ee?this._queue.concat(ee):this._queue;Kle.maxZoom)throw new Error("maxZoom must be greater than or equal to minZoom");if(le.minPitch!=null&&le.maxPitch!=null&&le.minPitch>le.maxPitch)throw new Error("maxPitch must be greater than or equal to minPitch");if(le.minPitch!=null&&le.minPitch<0)throw new Error("minPitch must be greater than or equal to 0");if(le.maxPitch!=null&&le.maxPitch>No)throw new Error("maxPitch must be less than or equal to 60");var De=new Oi(le.minZoom,le.maxZoom,le.minPitch,le.maxPitch,le.renderWorldCopies);if(Y.call(this,De,le),this._interactive=le.interactive,this._maxTileCacheSize=le.maxTileCacheSize,this._failIfMajorPerformanceCaveat=le.failIfMajorPerformanceCaveat,this._preserveDrawingBuffer=le.preserveDrawingBuffer,this._antialias=le.antialias,this._trackResize=le.trackResize,this._bearingSnap=le.bearingSnap,this._refreshExpiredTiles=le.refreshExpiredTiles,this._fadeDuration=le.fadeDuration,this._crossSourceCollisions=le.crossSourceCollisions,this._crossFadingFactor=1,this._collectResourceTiming=le.collectResourceTiming,this._renderTaskQueue=new Gs,this._controls=[],this._mapId=i.uniqueId(),this._locale=i.extend({},Bo,le.locale),this._requestManager=new i.RequestManager(le.transformRequest,le.accessToken),typeof le.container=="string"){if(this._container=i.window.document.getElementById(le.container),!this._container)throw new Error("Container '"+le.container+"' not found.")}else{if(!(le.container instanceof no))throw new Error("Invalid type: 'container' must be a String or HTMLElement.");this._container=le.container}if(le.maxBounds&&this.setMaxBounds(le.maxBounds),i.bindAll(["_onWindowOnline","_onWindowResize","_contextLost","_contextRestored"],this),this._setupContainer(),this._setupPainter(),this.painter===void 0)throw new Error("Failed to initialize WebGL.");this.on("move",function(){return Te._update(!1)}),this.on("moveend",function(){return Te._update(!1)}),this.on("zoom",function(){return Te._update(!0)}),i.window!==void 0&&(i.window.addEventListener("online",this._onWindowOnline,!1),i.window.addEventListener("resize",this._onWindowResize,!1)),this.handlers=new $i(this,le);var He=typeof le.hash=="string"&&le.hash||void 0;this._hash=le.hash&&new ol(He).addTo(this),this._hash&&this._hash._onHashChange()||(this.jumpTo({center:le.center,zoom:le.zoom,bearing:le.bearing,pitch:le.pitch}),le.bounds&&(this.resize(),this.fitBounds(le.bounds,i.extend({},le.fitBoundsOptions,{duration:0})))),this.resize(),this._localIdeographFontFamily=le.localIdeographFontFamily,le.style&&this.setStyle(le.style,{localIdeographFontFamily:le.localIdeographFontFamily}),le.attributionControl&&this.addControl(new os({customAttribution:le.customAttribution})),this.addControl(new _s,le.logoPosition),this.on("style.load",function(){Te.transform.unmodified&&Te.jumpTo(Te.style.stylesheet)}),this.on("data",function(Ze){Te._update(Ze.dataType==="style"),Te.fire(new i.Event(Ze.dataType+"data",Ze))}),this.on("dataloading",function(Ze){Te.fire(new i.Event(Ze.dataType+"dataloading",Ze))})}Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee;var K={showTileBoundaries:{configurable:!0},showPadding:{configurable:!0},showCollisionBoxes:{configurable:!0},showOverdrawInspector:{configurable:!0},repaint:{configurable:!0},vertices:{configurable:!0},version:{configurable:!0}};return ee.prototype._getMapId=function(){return this._mapId},ee.prototype.addControl=function(le,Te){if(Te===void 0&&le.getDefaultPosition&&(Te=le.getDefaultPosition()),Te===void 0&&(Te="top-right"),!le||!le.onAdd)return this.fire(new i.ErrorEvent(new Error("Invalid argument to map.addControl(). Argument must be a control with onAdd and onRemove methods.")));var De=le.onAdd(this);this._controls.push(le);var He=this._controlPositions[Te];return Te.indexOf("bottom")!==-1?He.insertBefore(De,He.firstChild):He.appendChild(De),this},ee.prototype.removeControl=function(le){if(!le||!le.onRemove)return this.fire(new i.ErrorEvent(new Error("Invalid argument to map.removeControl(). Argument must be a control with onAdd and onRemove methods.")));var Te=this._controls.indexOf(le);return Te>-1&&this._controls.splice(Te,1),le.onRemove(this),this},ee.prototype.resize=function(le){var Te=this._containerDimensions(),De=Te[0],He=Te[1];this._resizeCanvas(De,He),this.transform.resize(De,He),this.painter.resize(De,He);var Ze=!this._moving;return Ze&&(this.stop(),this.fire(new i.Event("movestart",le)).fire(new i.Event("move",le))),this.fire(new i.Event("resize",le)),Ze&&this.fire(new i.Event("moveend",le)),this},ee.prototype.getBounds=function(){return this.transform.getBounds()},ee.prototype.getMaxBounds=function(){return this.transform.getMaxBounds()},ee.prototype.setMaxBounds=function(le){return this.transform.setMaxBounds(i.LngLatBounds.convert(le)),this._update()},ee.prototype.setMinZoom=function(le){if((le=le??-2)>=-2&&le<=this.transform.maxZoom)return this.transform.minZoom=le,this._update(),this.getZoom()=this.transform.minZoom)return this.transform.maxZoom=le,this._update(),this.getZoom()>le&&this.setZoom(le),this;throw new Error("maxZoom must be greater than the current minZoom")},ee.prototype.getMaxZoom=function(){return this.transform.maxZoom},ee.prototype.setMinPitch=function(le){if((le=le??0)<0)throw new Error("minPitch must be greater than or equal to 0");if(le>=0&&le<=this.transform.maxPitch)return this.transform.minPitch=le,this._update(),this.getPitch()No)throw new Error("maxPitch must be less than or equal to 60");if(le>=this.transform.minPitch)return this.transform.maxPitch=le,this._update(),this.getPitch()>le&&this.setPitch(le),this;throw new Error("maxPitch must be greater than the current minPitch")},ee.prototype.getMaxPitch=function(){return this.transform.maxPitch},ee.prototype.getRenderWorldCopies=function(){return this.transform.renderWorldCopies},ee.prototype.setRenderWorldCopies=function(le){return this.transform.renderWorldCopies=le,this._update()},ee.prototype.project=function(le){return this.transform.locationPoint(i.LngLat.convert(le))},ee.prototype.unproject=function(le){return this.transform.pointLocation(i.Point.convert(le))},ee.prototype.isMoving=function(){return this._moving||this.handlers.isMoving()},ee.prototype.isZooming=function(){return this._zooming||this.handlers.isZooming()},ee.prototype.isRotating=function(){return this._rotating||this.handlers.isRotating()},ee.prototype._createDelegatedListener=function(le,Te,De){var He,Ze=this;if(le==="mouseenter"||le==="mouseover"){var at=!1;return{layer:Te,listener:De,delegates:{mousemove:function(At){var se=Ze.getLayer(Te)?Ze.queryRenderedFeatures(At.point,{layers:[Te]}):[];se.length?at||(at=!0,De.call(Ze,new da(le,Ze,At.originalEvent,{features:se}))):at=!1},mouseout:function(){at=!1}}}}if(le==="mouseleave"||le==="mouseout"){var Tt=!1;return{layer:Te,listener:De,delegates:{mousemove:function(At){(Ze.getLayer(Te)?Ze.queryRenderedFeatures(At.point,{layers:[Te]}):[]).length?Tt=!0:Tt&&(Tt=!1,De.call(Ze,new da(le,Ze,At.originalEvent)))},mouseout:function(At){Tt&&(Tt=!1,De.call(Ze,new da(le,Ze,At.originalEvent)))}}}}return{layer:Te,listener:De,delegates:(He={},He[le]=function(At){var se=Ze.getLayer(Te)?Ze.queryRenderedFeatures(At.point,{layers:[Te]}):[];se.length&&(At.features=se,De.call(Ze,At),delete At.features)},He)}},ee.prototype.on=function(le,Te,De){if(De===void 0)return Y.prototype.on.call(this,le,Te);var He=this._createDelegatedListener(le,Te,De);for(var Ze in this._delegatedListeners=this._delegatedListeners||{},this._delegatedListeners[le]=this._delegatedListeners[le]||[],this._delegatedListeners[le].push(He),He.delegates)this.on(Ze,He.delegates[Ze]);return this},ee.prototype.once=function(le,Te,De){if(De===void 0)return Y.prototype.once.call(this,le,Te);var He=this._createDelegatedListener(le,Te,De);for(var Ze in He.delegates)this.once(Ze,He.delegates[Ze]);return this},ee.prototype.off=function(le,Te,De){var He=this;return De===void 0?Y.prototype.off.call(this,le,Te):(this._delegatedListeners&&this._delegatedListeners[le]&&function(Ze){for(var at=Ze[le],Tt=0;Tt180;){var He=K.locationPoint(Y);if(He.x>=0&&He.y>=0&&He.x<=K.width&&He.y<=K.height)break;Y.lng>K.center.lng?Y.lng-=360:Y.lng+=360}return Y}Hr.prototype.down=function(Y,ee){this.mouseRotate.mousedown(Y,ee),this.mousePitch&&this.mousePitch.mousedown(Y,ee),v.disableDrag()},Hr.prototype.move=function(Y,ee){var K=this.map,le=this.mouseRotate.mousemoveWindow(Y,ee);if(le&&le.bearingDelta&&K.setBearing(K.getBearing()+le.bearingDelta),this.mousePitch){var Te=this.mousePitch.mousemoveWindow(Y,ee);Te&&Te.pitchDelta&&K.setPitch(K.getPitch()+Te.pitchDelta)}},Hr.prototype.off=function(){var Y=this.element;v.removeEventListener(Y,"mousedown",this.mousedown),v.removeEventListener(Y,"touchstart",this.touchstart,{passive:!1}),v.removeEventListener(Y,"touchmove",this.touchmove),v.removeEventListener(Y,"touchend",this.touchend),v.removeEventListener(Y,"touchcancel",this.reset),this.offTemp()},Hr.prototype.offTemp=function(){v.enableDrag(),v.removeEventListener(i.window,"mousemove",this.mousemove),v.removeEventListener(i.window,"mouseup",this.mouseup)},Hr.prototype.mousedown=function(Y){this.down(i.extend({},Y,{ctrlKey:!0,preventDefault:function(){return Y.preventDefault()}}),v.mousePos(this.element,Y)),v.addEventListener(i.window,"mousemove",this.mousemove),v.addEventListener(i.window,"mouseup",this.mouseup)},Hr.prototype.mousemove=function(Y){this.move(Y,v.mousePos(this.element,Y))},Hr.prototype.mouseup=function(Y){this.mouseRotate.mouseupWindow(Y),this.mousePitch&&this.mousePitch.mouseupWindow(Y),this.offTemp()},Hr.prototype.touchstart=function(Y){Y.targetTouches.length!==1?this.reset():(this._startPos=this._lastPos=v.touchPos(this.element,Y.targetTouches)[0],this.down({type:"mousedown",button:0,ctrlKey:!0,preventDefault:function(){return Y.preventDefault()}},this._startPos))},Hr.prototype.touchmove=function(Y){Y.targetTouches.length!==1?this.reset():(this._lastPos=v.touchPos(this.element,Y.targetTouches)[0],this.move({preventDefault:function(){return Y.preventDefault()}},this._lastPos))},Hr.prototype.touchend=function(Y){Y.targetTouches.length===0&&this._startPos&&this._lastPos&&this._startPos.dist(this._lastPos)le.getEast()||Te.latitudele.getNorth())},ee.prototype._setErrorState=function(){switch(this._watchState){case"WAITING_ACTIVE":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"ACTIVE_LOCK":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting");break;case"BACKGROUND":this._watchState="BACKGROUND_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting")}},ee.prototype._onSuccess=function(K){if(this._map){if(this._isOutOfMapMaxBounds(K))return this._setErrorState(),this.fire(new i.Event("outofmaxbounds",K)),this._updateMarker(),void this._finish();if(this.options.trackUserLocation)switch(this._lastKnownPosition=K,this._watchState){case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"BACKGROUND":case"BACKGROUND_ERROR":this._watchState="BACKGROUND",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background")}this.options.showUserLocation&&this._watchState!=="OFF"&&this._updateMarker(K),this.options.trackUserLocation&&this._watchState!=="ACTIVE_LOCK"||this._updateCamera(K),this.options.showUserLocation&&this._dotElement.classList.remove("mapboxgl-user-location-dot-stale"),this.fire(new i.Event("geolocate",K)),this._finish()}},ee.prototype._updateCamera=function(K){var le=new i.LngLat(K.coords.longitude,K.coords.latitude),Te=K.coords.accuracy,De=this._map.getBearing(),He=i.extend({bearing:De},this.options.fitBoundsOptions);this._map.fitBounds(le.toBounds(Te),He,{geolocateSource:!0})},ee.prototype._updateMarker=function(K){if(K){var le=new i.LngLat(K.coords.longitude,K.coords.latitude);this._accuracyCircleMarker.setLngLat(le).addTo(this._map),this._userLocationDotMarker.setLngLat(le).addTo(this._map),this._accuracy=K.coords.accuracy,this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()}else this._userLocationDotMarker.remove(),this._accuracyCircleMarker.remove()},ee.prototype._updateCircleRadius=function(){var K=this._map._container.clientHeight/2,le=this._map.unproject([0,K]),Te=this._map.unproject([1,K]),De=le.distanceTo(Te),He=Math.ceil(2*this._accuracy/De);this._circleElement.style.width=He+"px",this._circleElement.style.height=He+"px"},ee.prototype._onZoom=function(){this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()},ee.prototype._onError=function(K){if(this._map){if(this.options.trackUserLocation)if(K.code===1){this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.disabled=!0;var le=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.title=le,this._geolocateButton.setAttribute("aria-label",le),this._geolocationWatchID!==void 0&&this._clearWatch()}else{if(K.code===3&&ju)return;this._setErrorState()}this._watchState!=="OFF"&&this.options.showUserLocation&&this._dotElement.classList.add("mapboxgl-user-location-dot-stale"),this.fire(new i.Event("error",K)),this._finish()}},ee.prototype._finish=function(){this._timeoutId&&clearTimeout(this._timeoutId),this._timeoutId=void 0},ee.prototype._setupUI=function(K){var le=this;if(this._container.addEventListener("contextmenu",function(He){return He.preventDefault()}),this._geolocateButton=v.create("button","mapboxgl-ctrl-geolocate",this._container),v.create("span","mapboxgl-ctrl-icon",this._geolocateButton).setAttribute("aria-hidden",!0),this._geolocateButton.type="button",K===!1){i.warnOnce("Geolocation support is not available so the GeolocateControl will be disabled.");var Te=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.disabled=!0,this._geolocateButton.title=Te,this._geolocateButton.setAttribute("aria-label",Te)}else{var De=this._map._getUIString("GeolocateControl.FindMyLocation");this._geolocateButton.title=De,this._geolocateButton.setAttribute("aria-label",De)}this.options.trackUserLocation&&(this._geolocateButton.setAttribute("aria-pressed","false"),this._watchState="OFF"),this.options.showUserLocation&&(this._dotElement=v.create("div","mapboxgl-user-location-dot"),this._userLocationDotMarker=new xo(this._dotElement),this._circleElement=v.create("div","mapboxgl-user-location-accuracy-circle"),this._accuracyCircleMarker=new xo({element:this._circleElement,pitchAlignment:"map"}),this.options.trackUserLocation&&(this._watchState="OFF"),this._map.on("zoom",this._onZoom)),this._geolocateButton.addEventListener("click",this.trigger.bind(this)),this._setup=!0,this.options.trackUserLocation&&this._map.on("movestart",function(He){var Ze=He.originalEvent&&He.originalEvent.type==="resize";He.geolocateSource||le._watchState!=="ACTIVE_LOCK"||Ze||(le._watchState="BACKGROUND",le._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background"),le._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),le.fire(new i.Event("trackuserlocationend")))})},ee.prototype.trigger=function(){if(!this._setup)return i.warnOnce("Geolocate control triggered before added to a map"),!1;if(this.options.trackUserLocation){switch(this._watchState){case"OFF":this._watchState="WAITING_ACTIVE",this.fire(new i.Event("trackuserlocationstart"));break;case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":case"BACKGROUND_ERROR":Vo--,ju=!1,this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this.fire(new i.Event("trackuserlocationend"));break;case"BACKGROUND":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._lastKnownPosition&&this._updateCamera(this._lastKnownPosition),this.fire(new i.Event("trackuserlocationstart"))}switch(this._watchState){case"WAITING_ACTIVE":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_LOCK":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"BACKGROUND":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background");break;case"BACKGROUND_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error")}if(this._watchState==="OFF"&&this._geolocationWatchID!==void 0)this._clearWatch();else if(this._geolocationWatchID===void 0){var K;this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","true"),++Vo>1?(K={maximumAge:6e5,timeout:0},ju=!0):(K=this.options.positionOptions,ju=!1),this._geolocationWatchID=i.window.navigator.geolocation.watchPosition(this._onSuccess,this._onError,K)}}else i.window.navigator.geolocation.getCurrentPosition(this._onSuccess,this._onError,this.options.positionOptions),this._timeoutId=setTimeout(this._finish,1e4);return!0},ee.prototype._clearWatch=function(){i.window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0,this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","false"),this.options.showUserLocation&&this._updateMarker(null)},ee}(i.Evented),Ji={maxWidth:100,unit:"metric"},la=function(Y){this.options=i.extend({},Ji,Y),i.bindAll(["_onMove","setUnit"],this)};function Xc(Y,ee,K){var le=K&&K.maxWidth||100,Te=Y._container.clientHeight/2,De=Y.unproject([0,Te]),He=Y.unproject([le,Te]),Ze=De.distanceTo(He);if(K&&K.unit==="imperial"){var at=3.2808*Ze;at>5280?et(ee,le,at/5280,Y._getUIString("ScaleControl.Miles")):et(ee,le,at,Y._getUIString("ScaleControl.Feet"))}else K&&K.unit==="nautical"?et(ee,le,Ze/1852,Y._getUIString("ScaleControl.NauticalMiles")):Ze>=1e3?et(ee,le,Ze/1e3,Y._getUIString("ScaleControl.Kilometers")):et(ee,le,Ze,Y._getUIString("ScaleControl.Meters"))}function et(Y,ee,K,le){var Te,De,He,Ze=(Te=K,(De=Math.pow(10,(""+Math.floor(Te)).length-1))*((He=Te/De)>=10?10:He>=5?5:He>=3?3:He>=2?2:He>=1?1:function(Tt){var At=Math.pow(10,Math.ceil(-Math.log(Tt)/Math.LN10));return Math.round(Tt*At)/At}(He))),at=Ze/K;Y.style.width=ee*at+"px",Y.innerHTML=Ze+" "+le}la.prototype.getDefaultPosition=function(){return"bottom-left"},la.prototype._onMove=function(){Xc(this._map,this._container,this.options)},la.prototype.onAdd=function(Y){return this._map=Y,this._container=v.create("div","mapboxgl-ctrl mapboxgl-ctrl-scale",Y.getContainer()),this._map.on("move",this._onMove),this._onMove(),this._container},la.prototype.onRemove=function(){v.remove(this._container),this._map.off("move",this._onMove),this._map=void 0},la.prototype.setUnit=function(Y){this.options.unit=Y,Xc(this._map,this._container,this.options)};var rt=function(Y){this._fullscreen=!1,Y&&Y.container&&(Y.container instanceof i.window.HTMLElement?this._container=Y.container:i.warnOnce("Full screen control 'container' must be a DOM element.")),i.bindAll(["_onClickFullscreen","_changeIcon"],this),"onfullscreenchange"in i.window.document?this._fullscreenchange="fullscreenchange":"onmozfullscreenchange"in i.window.document?this._fullscreenchange="mozfullscreenchange":"onwebkitfullscreenchange"in i.window.document?this._fullscreenchange="webkitfullscreenchange":"onmsfullscreenchange"in i.window.document&&(this._fullscreenchange="MSFullscreenChange")};rt.prototype.onAdd=function(Y){return this._map=Y,this._container||(this._container=this._map.getContainer()),this._controlContainer=v.create("div","mapboxgl-ctrl mapboxgl-ctrl-group"),this._checkFullscreenSupport()?this._setupUI():(this._controlContainer.style.display="none",i.warnOnce("This device does not support fullscreen mode.")),this._controlContainer},rt.prototype.onRemove=function(){v.remove(this._controlContainer),this._map=null,i.window.document.removeEventListener(this._fullscreenchange,this._changeIcon)},rt.prototype._checkFullscreenSupport=function(){return!!(i.window.document.fullscreenEnabled||i.window.document.mozFullScreenEnabled||i.window.document.msFullscreenEnabled||i.window.document.webkitFullscreenEnabled)},rt.prototype._setupUI=function(){var Y=this._fullscreenButton=v.create("button","mapboxgl-ctrl-fullscreen",this._controlContainer);v.create("span","mapboxgl-ctrl-icon",Y).setAttribute("aria-hidden",!0),Y.type="button",this._updateTitle(),this._fullscreenButton.addEventListener("click",this._onClickFullscreen),i.window.document.addEventListener(this._fullscreenchange,this._changeIcon)},rt.prototype._updateTitle=function(){var Y=this._getTitle();this._fullscreenButton.setAttribute("aria-label",Y),this._fullscreenButton.title=Y},rt.prototype._getTitle=function(){return this._map._getUIString(this._isFullscreen()?"FullscreenControl.Exit":"FullscreenControl.Enter")},rt.prototype._isFullscreen=function(){return this._fullscreen},rt.prototype._changeIcon=function(){(i.window.document.fullscreenElement||i.window.document.mozFullScreenElement||i.window.document.webkitFullscreenElement||i.window.document.msFullscreenElement)===this._container!==this._fullscreen&&(this._fullscreen=!this._fullscreen,this._fullscreenButton.classList.toggle("mapboxgl-ctrl-shrink"),this._fullscreenButton.classList.toggle("mapboxgl-ctrl-fullscreen"),this._updateTitle())},rt.prototype._onClickFullscreen=function(){this._isFullscreen()?i.window.document.exitFullscreen?i.window.document.exitFullscreen():i.window.document.mozCancelFullScreen?i.window.document.mozCancelFullScreen():i.window.document.msExitFullscreen?i.window.document.msExitFullscreen():i.window.document.webkitCancelFullScreen&&i.window.document.webkitCancelFullScreen():this._container.requestFullscreen?this._container.requestFullscreen():this._container.mozRequestFullScreen?this._container.mozRequestFullScreen():this._container.msRequestFullscreen?this._container.msRequestFullscreen():this._container.webkitRequestFullscreen&&this._container.webkitRequestFullscreen()};var ct={closeButton:!0,closeOnClick:!0,className:"",maxWidth:"240px"},vt=function(Y){function ee(K){Y.call(this),this.options=i.extend(Object.create(ct),K),i.bindAll(["_update","_onClose","remove","_onMouseMove","_onMouseUp","_onDrag"],this)}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee.prototype.addTo=function(K){return this._map&&this.remove(),this._map=K,this.options.closeOnClick&&this._map.on("click",this._onClose),this.options.closeOnMove&&this._map.on("move",this._onClose),this._map.on("remove",this.remove),this._update(),this._trackPointer?(this._map.on("mousemove",this._onMouseMove),this._map.on("mouseup",this._onMouseUp),this._container&&this._container.classList.add("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("mapboxgl-track-pointer")):this._map.on("move",this._update),this.fire(new i.Event("open")),this},ee.prototype.isOpen=function(){return!!this._map},ee.prototype.remove=function(){return this._content&&v.remove(this._content),this._container&&(v.remove(this._container),delete this._container),this._map&&(this._map.off("move",this._update),this._map.off("move",this._onClose),this._map.off("click",this._onClose),this._map.off("remove",this.remove),this._map.off("mousemove",this._onMouseMove),this._map.off("mouseup",this._onMouseUp),this._map.off("drag",this._onDrag),delete this._map),this.fire(new i.Event("close")),this},ee.prototype.getLngLat=function(){return this._lngLat},ee.prototype.setLngLat=function(K){return this._lngLat=i.LngLat.convert(K),this._pos=null,this._trackPointer=!1,this._update(),this._map&&(this._map.on("move",this._update),this._map.off("mousemove",this._onMouseMove),this._container&&this._container.classList.remove("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.remove("mapboxgl-track-pointer")),this},ee.prototype.trackPointer=function(){return this._trackPointer=!0,this._pos=null,this._update(),this._map&&(this._map.off("move",this._update),this._map.on("mousemove",this._onMouseMove),this._map.on("drag",this._onDrag),this._container&&this._container.classList.add("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("mapboxgl-track-pointer")),this},ee.prototype.getElement=function(){return this._container},ee.prototype.setText=function(K){return this.setDOMContent(i.window.document.createTextNode(K))},ee.prototype.setHTML=function(K){var le,Te=i.window.document.createDocumentFragment(),De=i.window.document.createElement("body");for(De.innerHTML=K;le=De.firstChild;)Te.appendChild(le);return this.setDOMContent(Te)},ee.prototype.getMaxWidth=function(){return this._container&&this._container.style.maxWidth},ee.prototype.setMaxWidth=function(K){return this.options.maxWidth=K,this._update(),this},ee.prototype.setDOMContent=function(K){return this._createContent(),this._content.appendChild(K),this._update(),this},ee.prototype.addClassName=function(K){this._container&&this._container.classList.add(K)},ee.prototype.removeClassName=function(K){this._container&&this._container.classList.remove(K)},ee.prototype.toggleClassName=function(K){if(this._container)return this._container.classList.toggle(K)},ee.prototype._createContent=function(){this._content&&v.remove(this._content),this._content=v.create("div","mapboxgl-popup-content",this._container),this.options.closeButton&&(this._closeButton=v.create("button","mapboxgl-popup-close-button",this._content),this._closeButton.type="button",this._closeButton.setAttribute("aria-label","Close popup"),this._closeButton.innerHTML="×",this._closeButton.addEventListener("click",this._onClose))},ee.prototype._onMouseUp=function(K){this._update(K.point)},ee.prototype._onMouseMove=function(K){this._update(K.point)},ee.prototype._onDrag=function(K){this._update(K.point)},ee.prototype._update=function(K){var le=this,Te=this._lngLat||this._trackPointer;if(this._map&&Te&&this._content&&(this._container||(this._container=v.create("div","mapboxgl-popup",this._map.getContainer()),this._tip=v.create("div","mapboxgl-popup-tip",this._container),this._container.appendChild(this._content),this.options.className&&this.options.className.split(" ").forEach(function(ve){return le._container.classList.add(ve)}),this._trackPointer&&this._container.classList.add("mapboxgl-popup-track-pointer")),this.options.maxWidth&&this._container.style.maxWidth!==this.options.maxWidth&&(this._container.style.maxWidth=this.options.maxWidth),this._map.transform.renderWorldCopies&&!this._trackPointer&&(this._lngLat=ni(this._lngLat,this._pos,this._map.transform)),!this._trackPointer||K)){var De=this._pos=this._trackPointer&&K?K:this._map.project(this._lngLat),He=this.options.anchor,Ze=St(this.options.offset);if(!He){var at,Tt=this._container.offsetWidth,At=this._container.offsetHeight;at=De.y+Ze.bottom.ythis._map.transform.height-At?["bottom"]:[],De.xthis._map.transform.width-Tt/2&&at.push("right"),He=at.length===0?"bottom":at.join("-")}var se=De.add(Ze[He]).round();v.setTransform(this._container,Vu[He]+" translate("+se.x+"px,"+se.y+"px)"),cl(this._container,He,"popup")}},ee.prototype._onClose=function(){this.remove()},ee}(i.Evented);function St(Y){if(Y){if(typeof Y=="number"){var ee=Math.round(Math.sqrt(.5*Math.pow(Y,2)));return{center:new i.Point(0,0),top:new i.Point(0,Y),"top-left":new i.Point(ee,ee),"top-right":new i.Point(-ee,ee),bottom:new i.Point(0,-Y),"bottom-left":new i.Point(ee,-ee),"bottom-right":new i.Point(-ee,-ee),left:new i.Point(Y,0),right:new i.Point(-Y,0)}}if(Y instanceof i.Point||Array.isArray(Y)){var K=i.Point.convert(Y);return{center:K,top:K,"top-left":K,"top-right":K,bottom:K,"bottom-left":K,"bottom-right":K,left:K,right:K}}return{center:i.Point.convert(Y.center||[0,0]),top:i.Point.convert(Y.top||[0,0]),"top-left":i.Point.convert(Y["top-left"]||[0,0]),"top-right":i.Point.convert(Y["top-right"]||[0,0]),bottom:i.Point.convert(Y.bottom||[0,0]),"bottom-left":i.Point.convert(Y["bottom-left"]||[0,0]),"bottom-right":i.Point.convert(Y["bottom-right"]||[0,0]),left:i.Point.convert(Y.left||[0,0]),right:i.Point.convert(Y.right||[0,0])}}return St(new i.Point(0,0))}var Mt={version:i.version,supported:M,setRTLTextPlugin:i.setRTLTextPlugin,getRTLTextPluginStatus:i.getRTLTextPluginStatus,Map:Dl,NavigationControl:ws,GeolocateControl:hl,AttributionControl:os,ScaleControl:la,FullscreenControl:rt,Popup:vt,Marker:xo,Style:dr,LngLat:i.LngLat,LngLatBounds:i.LngLatBounds,Point:i.Point,MercatorCoordinate:i.MercatorCoordinate,Evented:i.Evented,config:i.config,prewarm:function(){Lt().acquire(ut)},clearPrewarmedResources:function(){var Y=_t;Y&&(Y.isPreloaded()&&Y.numActive()===1?(Y.release(ut),_t=null):console.warn("Could not clear WebWorkers since there are active Map instances that still reference it. The pre-warmed WebWorker pool can only be cleared when all map instances have been removed with map.remove()"))},get accessToken(){return i.config.ACCESS_TOKEN},set accessToken(Y){i.config.ACCESS_TOKEN=Y},get baseApiUrl(){return i.config.API_URL},set baseApiUrl(Y){i.config.API_URL=Y},get workerCount(){return dt.workerCount},set workerCount(Y){dt.workerCount=Y},get maxParallelImageRequests(){return i.config.MAX_PARALLEL_IMAGE_REQUESTS},set maxParallelImageRequests(Y){i.config.MAX_PARALLEL_IMAGE_REQUESTS=Y},clearStorage:function(Y){i.clearTileCache(Y)},workerUrl:""};return Mt}),d}()},27084:function(T){T.exports=Math.log2||function(p){return Math.log(p)*Math.LOG2E}},16825:function(T,p,t){T.exports=function(g,i){i||(i=g,g=window);var M=0,v=0,f=0,l={shift:!1,alt:!1,control:!1,meta:!1},a=!1;function u(k){var E=!1;return"altKey"in k&&(E=E||k.altKey!==l.alt,l.alt=!!k.altKey),"shiftKey"in k&&(E=E||k.shiftKey!==l.shift,l.shift=!!k.shiftKey),"ctrlKey"in k&&(E=E||k.ctrlKey!==l.control,l.control=!!k.ctrlKey),"metaKey"in k&&(E=E||k.metaKey!==l.meta,l.meta=!!k.metaKey),E}function o(k,E){var x=d.x(E),A=d.y(E);"buttons"in E&&(k=0|E.buttons),(k!==M||x!==v||A!==f||u(E))&&(M=0|k,v=x||0,f=A||0,i&&i(M,v,f,l))}function s(k){o(0,k)}function h(){(M||v||f||l.shift||l.alt||l.meta||l.control)&&(v=f=0,M=0,l.shift=l.alt=l.control=l.meta=!1,i&&i(0,0,0,l))}function c(k){u(k)&&i&&i(M,v,f,l)}function m(k){d.buttons(k)===0?o(0,k):o(M,k)}function w(k){o(M|d.buttons(k),k)}function y(k){o(M&~d.buttons(k),k)}function C(){a||(a=!0,g.addEventListener("mousemove",m),g.addEventListener("mousedown",w),g.addEventListener("mouseup",y),g.addEventListener("mouseleave",s),g.addEventListener("mouseenter",s),g.addEventListener("mouseout",s),g.addEventListener("mouseover",s),g.addEventListener("blur",h),g.addEventListener("keyup",c),g.addEventListener("keydown",c),g.addEventListener("keypress",c),g!==window&&(window.addEventListener("blur",h),window.addEventListener("keyup",c),window.addEventListener("keydown",c),window.addEventListener("keypress",c)))}C();var _={element:g};return Object.defineProperties(_,{enabled:{get:function(){return a},set:function(k){k?C():a&&(a=!1,g.removeEventListener("mousemove",m),g.removeEventListener("mousedown",w),g.removeEventListener("mouseup",y),g.removeEventListener("mouseleave",s),g.removeEventListener("mouseenter",s),g.removeEventListener("mouseout",s),g.removeEventListener("mouseover",s),g.removeEventListener("blur",h),g.removeEventListener("keyup",c),g.removeEventListener("keydown",c),g.removeEventListener("keypress",c),g!==window&&(window.removeEventListener("blur",h),window.removeEventListener("keyup",c),window.removeEventListener("keydown",c),window.removeEventListener("keypress",c)))},enumerable:!0},buttons:{get:function(){return M},enumerable:!0},x:{get:function(){return v},enumerable:!0},y:{get:function(){return f},enumerable:!0},mods:{get:function(){return l},enumerable:!0}}),_};var d=t(74311)},48956:function(T){var p={left:0,top:0};T.exports=function(t,d,g){d=d||t.currentTarget||t.srcElement,Array.isArray(g)||(g=[0,0]);var i,M=t.clientX||0,v=t.clientY||0,f=(i=d)===window||i===document||i===document.body?p:i.getBoundingClientRect();return g[0]=M-f.left,g[1]=v-f.top,g}},74311:function(T,p){function t(d){return d.target||d.srcElement||window}p.buttons=function(d){if(typeof d=="object"){if("buttons"in d)return d.buttons;if("which"in d){if((g=d.which)===2)return 4;if(g===3)return 2;if(g>0)return 1<=0)return 1<0&&o(h,L))}catch(b){w.call(new C(L),b)}}}function w(x){var A=this;A.triggered||(A.triggered=!0,A.def&&(A=A.def),A.msg=x,A.state=2,A.chain.length>0&&o(h,A))}function y(x,A,L,b){for(var R=0;R1&&(a*=k=Math.sqrt(k),u*=k);var E=a*a,x=u*u,A=(s==h?-1:1)*Math.sqrt(Math.abs((E*x-E*_*_-x*C*C)/(E*_*_+x*C*C)));A==1/0&&(A=1);var L=A*a*_/u+(f+c)/2,b=A*-u*C/a+(l+m)/2,R=Math.asin(((l-b)/u).toFixed(9)),I=Math.asin(((m-b)/u).toFixed(9));(R=fI&&(R-=2*p),!h&&I>R&&(I-=2*p)}if(Math.abs(I-R)>t){var O=I,z=c,F=m;I=R+t*(h&&I>R?1:-1);var B=i(c=L+a*Math.cos(I),m=b+u*Math.sin(I),a,u,o,0,h,z,F,[I,O,L,b])}var N=Math.tan((I-R)/4),W=4/3*a*N,j=4/3*u*N,$=[2*f-(f+W*Math.sin(R)),2*l-(l-j*Math.cos(R)),c+W*Math.sin(I),m-j*Math.cos(I),c,m];if(w)return $;B&&($=$.concat(B));for(var U=0;U<$.length;){var G=M($[U],$[U+1],o);$[U++]=G.x,$[U++]=G.y}return $}function M(f,l,a){return{x:f*Math.cos(a)-l*Math.sin(a),y:f*Math.sin(a)+l*Math.cos(a)}}function v(f){return f*(p/180)}T.exports=function(f){for(var l,a=[],u=0,o=0,s=0,h=0,c=null,m=null,w=0,y=0,C=0,_=f.length;C<_;C++){var k=f[C],E=k[0];switch(E){case"M":s=k[1],h=k[2];break;case"A":(k=i(w,y,k[1],k[2],v(k[3]),k[4],k[5],k[6],k[7])).unshift("C"),k.length>7&&(a.push(k.splice(0,7)),k.unshift("C"));break;case"S":var x=w,A=y;l!="C"&&l!="S"||(x+=x-u,A+=A-o),k=["C",x,A,k[1],k[2],k[3],k[4]];break;case"T":l=="Q"||l=="T"?(c=2*w-c,m=2*y-m):(c=w,m=y),k=g(w,y,c,m,k[1],k[2]);break;case"Q":c=k[1],m=k[2],k=g(w,y,k[1],k[2],k[3],k[4]);break;case"L":k=d(w,y,k[1],k[2]);break;case"H":k=d(w,y,k[1],y);break;case"V":k=d(w,y,w,k[1]);break;case"Z":k=d(w,y,s,h)}l=E,w=k[k.length-2],y=k[k.length-1],k.length>4?(u=k[k.length-4],o=k[k.length-3]):(u=w,o=y),a.push(k)}return a}},56131:function(T){var p=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;function g(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}T.exports=function(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var M={},v=0;v<10;v++)M["_"+String.fromCharCode(v)]=v;if(Object.getOwnPropertyNames(M).map(function(l){return M[l]}).join("")!=="0123456789")return!1;var f={};return"abcdefghijklmnopqrst".split("").forEach(function(l){f[l]=l}),Object.keys(Object.assign({},f)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}()?Object.assign:function(i,M){for(var v,f,l=g(i),a=1;a"u")return!1;for(var h in window)try{if(!o["$"+h]&&g.call(window,h)&&window[h]!==null&&typeof window[h]=="object")try{u(window[h])}catch{return!0}}catch{return!0}return!1}();d=function(h){var c=h!==null&&typeof h=="object",m=i.call(h)==="[object Function]",w=M(h),y=c&&i.call(h)==="[object String]",C=[];if(!c&&!m&&!w)throw new TypeError("Object.keys called on a non-object");var _=l&&m;if(y&&h.length>0&&!g.call(h,0))for(var k=0;k0)for(var E=0;E"u"||!s)return u(b);try{return u(b)}catch{return!1}}(h),L=0;L=0&&p.call(t.callee)==="[object Function]"),g}},88641:function(T){function p(g,i){if(typeof g!="string")return[g];var M=[g];typeof i=="string"||Array.isArray(i)?i={brackets:i}:i||(i={});var v=i.brackets?Array.isArray(i.brackets)?i.brackets:[i.brackets]:["{}","[]","()"],f=i.escape||"___",l=!!i.flat;v.forEach(function(u){var o=new RegExp(["\\",u[0],"[^\\",u[0],"\\",u[1],"]*\\",u[1]].join("")),s=[];function h(c,m,w){var y=M.push(c.slice(u[0].length,-u[1].length))-1;return s.push(y),f+y+f}M.forEach(function(c,m){for(var w,y=0;c!=w;)if(w=c,c=c.replace(o,h),y++>1e4)throw Error("References have circular dependency. Please, check them.");M[m]=c}),s=s.reverse(),M=M.map(function(c){return s.forEach(function(m){c=c.replace(new RegExp("(\\"+f+m+"\\"+f+")","g"),u[0]+"$1"+u[1])}),c})});var a=new RegExp("\\"+f+"([0-9]+)\\"+f);return l?M:function u(o,s,h){for(var c,m=[],w=0;c=a.exec(o);){if(w++>1e4)throw Error("Circular references in parenthesis");m.push(o.slice(0,c.index)),m.push(u(s[c[1]],s)),o=o.slice(c.index+c[0].length)}return m.push(o),m}(M[0],M)}function t(g,i){if(i&&i.flat){var M,v=i&&i.escape||"___",f=g[0];if(!f)return"";for(var l=new RegExp("\\"+v+"([0-9]+)\\"+v),a=0;f!=M;){if(a++>1e4)throw Error("Circular references in "+g);M=f,f=f.replace(l,u)}return f}return g.reduce(function o(s,h){return Array.isArray(h)&&(h=h.reduce(o,"")),s+h},"");function u(o,s){if(g[s]==null)throw Error("Reference "+s+"is undefined");return g[s]}}function d(g,i){return Array.isArray(g)?t(g,i):p(g,i)}d.parse=p,d.stringify=t,T.exports=d},18863:function(T,p,t){var d=t(71299);T.exports=function(g){var i;return arguments.length>1&&(g=arguments),typeof g=="string"?g=g.split(/\s/).map(parseFloat):typeof g=="number"&&(g=[g]),g.length&&typeof g[0]=="number"?i=g.length===1?{width:g[0],height:g[0],x:0,y:0}:g.length===2?{width:g[0],height:g[1],x:0,y:0}:{x:g[0],y:g[1],width:g[2]-g[0]||0,height:g[3]-g[1]||0}:g&&(i={x:(g=d(g,{left:"x l left Left",top:"y t top Top",width:"w width W Width",height:"h height W Width",bottom:"b bottom Bottom",right:"r right Right"})).left||0,y:g.top||0},g.width==null?g.right?i.width=g.right-i.x:i.width=0:i.width=g.width,g.height==null?g.bottom?i.height=g.bottom-i.y:i.height=0:i.height=g.height),i}},95616:function(T){T.exports=function(g){var i=[];return g.replace(t,function(M,v,f){var l=v.toLowerCase();for(f=function(a){var u=a.match(d);return u?u.map(Number):[]}(f),l=="m"&&f.length>2&&(i.push([v].concat(f.splice(0,2))),l="l",v=v=="m"?"l":"L");;){if(f.length==p[l])return f.unshift(v),i.push(f);if(f.lengthM!=h>M&&i<(s-u)*(M-o)/(h-o)+u&&(v=!v)}return v}},52142:function(T,p,t){var d,g=t(69444),i=t(29023),M=t(87263),v=t(11328),f=t(55968),l=t(10670),a=!1,u=i();function o(s,h,c){var m=d.segments(s),w=d.segments(h),y=c(d.combine(m,w));return d.polygon(y)}d={buildLog:function(s){return s===!0?a=g():s===!1&&(a=!1),a!==!1&&a.list},epsilon:function(s){return u.epsilon(s)},segments:function(s){var h=M(!0,u,a);return s.regions.forEach(h.addRegion),{segments:h.calculate(s.inverted),inverted:s.inverted}},combine:function(s,h){return{combined:M(!1,u,a).calculate(s.segments,s.inverted,h.segments,h.inverted),inverted1:s.inverted,inverted2:h.inverted}},selectUnion:function(s){return{segments:f.union(s.combined,a),inverted:s.inverted1||s.inverted2}},selectIntersect:function(s){return{segments:f.intersect(s.combined,a),inverted:s.inverted1&&s.inverted2}},selectDifference:function(s){return{segments:f.difference(s.combined,a),inverted:s.inverted1&&!s.inverted2}},selectDifferenceRev:function(s){return{segments:f.differenceRev(s.combined,a),inverted:!s.inverted1&&s.inverted2}},selectXor:function(s){return{segments:f.xor(s.combined,a),inverted:s.inverted1!==s.inverted2}},polygon:function(s){return{regions:v(s.segments,u,a),inverted:s.inverted}},polygonFromGeoJSON:function(s){return l.toPolygon(d,s)},polygonToGeoJSON:function(s){return l.fromPolygon(d,u,s)},union:function(s,h){return o(s,h,d.selectUnion)},intersect:function(s,h){return o(s,h,d.selectIntersect)},difference:function(s,h){return o(s,h,d.selectDifference)},differenceRev:function(s,h){return o(s,h,d.selectDifferenceRev)},xor:function(s,h){return o(s,h,d.selectXor)}},typeof window=="object"&&(window.PolyBool=d),T.exports=d},69444:function(T){T.exports=function(){var p,t=0,d=!1;function g(i,M){return p.list.push({type:i,data:M?JSON.parse(JSON.stringify(M)):void 0}),p}return p={list:[],segmentId:function(){return t++},checkIntersection:function(i,M){return g("check",{seg1:i,seg2:M})},segmentChop:function(i,M){return g("div_seg",{seg:i,pt:M}),g("chop",{seg:i,pt:M})},statusRemove:function(i){return g("pop_seg",{seg:i})},segmentUpdate:function(i){return g("seg_update",{seg:i})},segmentNew:function(i,M){return g("new_seg",{seg:i,primary:M})},segmentRemove:function(i){return g("rem_seg",{seg:i})},tempStatus:function(i,M,v){return g("temp_status",{seg:i,above:M,below:v})},rewind:function(i){return g("rewind",{seg:i})},status:function(i,M,v){return g("status",{seg:i,above:M,below:v})},vert:function(i){return i===d?p:(d=i,g("vert",{x:i}))},log:function(i){return typeof i!="string"&&(i=JSON.stringify(i,!1," ")),g("log",{txt:i})},reset:function(){return g("reset")},selected:function(i){return g("selected",{segs:i})},chainStart:function(i){return g("chain_start",{seg:i})},chainRemoveHead:function(i,M){return g("chain_rem_head",{index:i,pt:M})},chainRemoveTail:function(i,M){return g("chain_rem_tail",{index:i,pt:M})},chainNew:function(i,M){return g("chain_new",{pt1:i,pt2:M})},chainMatch:function(i){return g("chain_match",{index:i})},chainClose:function(i){return g("chain_close",{index:i})},chainAddHead:function(i,M){return g("chain_add_head",{index:i,pt:M})},chainAddTail:function(i,M){return g("chain_add_tail",{index:i,pt:M})},chainConnect:function(i,M){return g("chain_con",{index1:i,index2:M})},chainReverse:function(i){return g("chain_rev",{index:i})},chainJoin:function(i,M){return g("chain_join",{index1:i,index2:M})},done:function(){return g("done")}}}},29023:function(T){T.exports=function(p){typeof p!="number"&&(p=1e-10);var t={epsilon:function(d){return typeof d=="number"&&(p=d),p},pointAboveOrOnLine:function(d,g,i){var M=g[0],v=g[1],f=i[0],l=i[1],a=d[0];return(f-M)*(d[1]-v)-(l-v)*(a-M)>=-p},pointBetween:function(d,g,i){var M=d[1]-g[1],v=i[0]-g[0],f=d[0]-g[0],l=i[1]-g[1],a=f*v+M*l;return!(a-p)},pointsSameX:function(d,g){return Math.abs(d[0]-g[0])p!=f-M>p&&(v-u)*(M-o)/(f-o)+u-i>p&&(l=!l),v=u,f=o}return l}};return t}},10670:function(T){var p={toPolygon:function(t,d){function g(v){if(v.length<=0)return t.segments({inverted:!1,regions:[]});function f(u){var o=u.slice(0,u.length-1);return t.segments({inverted:!1,regions:[o]})}for(var l=f(v[0]),a=1;a0})}function w(O,z){var F=O.seg,B=z.seg,N=F.start,W=F.end,j=B.start,$=B.end;M&&M.checkIntersection(F,B);var U=i.linesIntersect(N,W,j,$);if(U===!1){if(!i.pointsCollinear(N,W,j)||i.pointsSame(N,$)||i.pointsSame(W,j))return!1;var G=i.pointsSame(N,j),q=i.pointsSame(W,$);if(G&&q)return z;var H=!G&&i.pointBetween(N,j,$),ne=!q&&i.pointBetween(W,j,$);if(G)return ne?u(z,W):u(O,$),z;H&&(q||(ne?u(z,W):u(O,$)),u(z,N))}else U.alongA===0&&(U.alongB===-1?u(O,j):U.alongB===0?u(O,U.pt):U.alongB===1&&u(O,$)),U.alongB===0&&(U.alongA===-1?u(z,N):U.alongA===0?u(z,U.pt):U.alongA===1&&u(z,W));return!1}for(var y=[];!f.isEmpty();){var C=f.getHead();if(M&&M.vert(C.pt[0]),C.isStart){let O=function(){if(k){var z=w(C,k);if(z)return z}return!!E&&w(C,E)};var I=O;M&&M.segmentNew(C.seg,C.primary);var _=m(C),k=_.before?_.before.ev:null,E=_.after?_.after.ev:null;M&&M.tempStatus(C.seg,!!k&&k.seg,!!E&&E.seg);var x,A,L=O();if(L&&(g?(A=C.seg.myFill.below===null||C.seg.myFill.above!==C.seg.myFill.below)&&(L.seg.myFill.above=!L.seg.myFill.above):L.seg.otherFill=C.seg.myFill,M&&M.segmentUpdate(L.seg),C.other.remove(),C.remove()),f.getHead()!==C){M&&M.rewind(C.seg);continue}g?(A=C.seg.myFill.below===null||C.seg.myFill.above!==C.seg.myFill.below,C.seg.myFill.below=E?E.seg.myFill.above:s,C.seg.myFill.above=A?!C.seg.myFill.below:C.seg.myFill.below):C.seg.otherFill===null&&(x=E?C.primary===E.primary?E.seg.otherFill.above:E.seg.myFill.above:C.primary?h:s,C.seg.otherFill={above:x,below:x}),M&&M.status(C.seg,!!k&&k.seg,!!E&&E.seg),C.other.status=_.insert(d.node({ev:C}))}else{var b=C.status;if(b===null)throw new Error("PolyBool: Zero-length segment detected; your epsilon is probably too small or too large");if(c.exists(b.prev)&&c.exists(b.next)&&w(b.prev.ev,b.next.ev),M&&M.statusRemove(b.ev.seg),b.remove(),!C.primary){var R=C.seg.myFill;C.seg.myFill=C.seg.otherFill,C.seg.otherFill=R}y.push(C.seg)}f.getHead().remove()}return M&&M.done(),y}return g?{addRegion:function(s){for(var h,c,m,w=s[s.length-1],y=0;y0&&!this.aborted;){var M=this.ifds_to_read.shift();M.offset&&this.scan_ifd(M.id,M.offset,g)}},d.prototype.read_uint16=function(g){var i=this.input;if(g+2>i.length)throw p("unexpected EOF","EBADDATA");return this.big_endian?256*i[g]+i[g+1]:i[g]+256*i[g+1]},d.prototype.read_uint32=function(g){var i=this.input;if(g+4>i.length)throw p("unexpected EOF","EBADDATA");return this.big_endian?16777216*i[g]+65536*i[g+1]+256*i[g+2]+i[g+3]:i[g]+256*i[g+1]+65536*i[g+2]+16777216*i[g+3]},d.prototype.is_subifd_link=function(g,i){return g===0&&i===34665||g===0&&i===34853||g===34665&&i===40965},d.prototype.exif_format_length=function(g){switch(g){case 1:case 2:case 6:case 7:return 1;case 3:case 8:return 2;case 4:case 9:case 11:return 4;case 5:case 10:case 12:return 8;default:return 0}},d.prototype.exif_format_read=function(g,i){var M;switch(g){case 1:case 2:return this.input[i];case 6:return(M=this.input[i])|33554430*(128&M);case 3:return this.read_uint16(i);case 8:return(M=this.read_uint16(i))|131070*(32768&M);case 4:return this.read_uint32(i);case 9:return 0|this.read_uint32(i);default:return null}},d.prototype.scan_ifd=function(g,i,M){var v=this.read_uint16(i);i+=2;for(var f=0;fthis.input.length)throw p("unexpected EOF","EBADDATA");for(var m=[],w=h,y=0;y0&&(this.ifds_to_read.push({id:l,offset:m[0]}),c=!0),M({is_big_endian:this.big_endian,ifd:g,tag:l,format:a,count:u,entry_offset:i+this.start,data_length:s,data_offset:h+this.start,value:m,is_subifd_link:c})===!1)return void(this.aborted=!0);i+=12}g===0&&this.ifds_to_read.push({id:1,offset:this.read_uint32(i)})},T.exports.ExifParser=d,T.exports.get_orientation=function(g){var i=0;try{return new d(g,0,g.length).each(function(M){if(M.ifd===0&&M.tag===274&&Array.isArray(M.value))return i=M.value[0],!1}),i}catch{return-1}}},76767:function(T,p,t){var d=t(14847).n8,g=t(14847).Ag;function i(u,o){if(u.length<4+o)return null;var s=g(u,o);return u.length>4&15,h=15&u[4],c=u[5]>>4&15,m=d(u,6),w=8,y=0;y_.width||C.width===_.width&&C.height>_.height?C:_}),c=s.reduce(function(C,_){return C.height>_.height||C.height===_.height&&C.width>_.width?C:_}),h.width>c.height||h.width===c.height&&h.height>c.width?h:c),w=1;o.transforms.forEach(function(C){var _={1:6,2:5,3:8,4:7,5:4,6:3,7:2,8:1},k={1:4,2:3,3:2,4:1,5:6,6:5,7:8,8:7};if(C.type==="imir"&&(w=C.value===0?k[w]:_[w=_[w=k[w]]]),C.type==="irot")for(var E=0;E1&&(m.variants=c.variants),c.orientation&&(m.orientation=c.orientation),c.exif_location&&c.exif_location.offset+c.exif_location.length<=l.length){var w=i(l,c.exif_location.offset),y=l.slice(c.exif_location.offset+w+4,c.exif_location.offset+c.exif_location.length),C=v.get_orientation(y);C>0&&(m.orientation=C)}return m}}}}}}},2504:function(T,p,t){var d=t(14847).eG,g=t(14847).OF,i=t(14847).mP,M=d("BM");T.exports=function(v){if(!(v.length<26)&&g(v,0,M))return{width:i(v,18),height:i(v,22),type:"bmp",mime:"image/bmp",wUnits:"px",hUnits:"px"}}},47342:function(T,p,t){var d=t(14847).eG,g=t(14847).OF,i=t(14847).mP,M=d("GIF87a"),v=d("GIF89a");T.exports=function(f){if(!(f.length<10)&&(g(f,0,M)||g(f,0,v)))return{width:i(f,6),height:i(f,8),type:"gif",mime:"image/gif",wUnits:"px",hUnits:"px"}}},31355:function(T,p,t){var d=t(14847).mP;T.exports=function(g){var i=d(g,0),M=d(g,2),v=d(g,4);if(i===0&&M===1&&v){for(var f=[],l={width:0,height:0},a=0;al.width||o>l.height)&&(l=s)}return{width:l.width,height:l.height,variants:f,type:"ico",mime:"image/x-icon",wUnits:"px",hUnits:"px"}}}},54261:function(T,p,t){var d=t(14847).n8,g=t(14847).eG,i=t(14847).OF,M=t(71371),v=g("Exif\0\0");T.exports=function(f){if(!(f.length<2)&&f[0]===255&&f[1]===216&&f[2]===255)for(var l=2;;){for(;;){if(f.length-l<2)return;if(f[l++]===255)break}for(var a,u,o=f[l++];o===255;)o=f[l++];if(208<=o&&o<=217||o===1)a=0;else{if(!(192<=o&&o<=254)||f.length-l<2)return;a=d(f,l)-2,l+=2}if(o===217||o===218)return;if(o===225&&a>=10&&i(f,l,v)&&(u=M.get_orientation(f.slice(l+6,l+a))),a>=5&&192<=o&&o<=207&&o!==196&&o!==200&&o!==204){if(f.length-l0&&(s.orientation=u),s}l+=a}}},6303:function(T,p,t){var d=t(14847).eG,g=t(14847).OF,i=t(14847).Ag,M=d(`‰PNG\r  `),v=d("IHDR");T.exports=function(f){if(!(f.length<24)&&g(f,0,M)&&g(f,12,v))return{width:i(f,16),height:i(f,20),type:"png",mime:"image/png",wUnits:"px",hUnits:"px"}}},38689:function(T,p,t){var d=t(14847).eG,g=t(14847).OF,i=t(14847).Ag,M=d("8BPS\0");T.exports=function(v){if(!(v.length<22)&&g(v,0,M))return{width:i(v,18),height:i(v,14),type:"psd",mime:"image/vnd.adobe.photoshop",wUnits:"px",hUnits:"px"}}},6881:function(T){function p(l){return typeof l=="number"&&isFinite(l)&&l>0}var t=/<[-_.:a-zA-Z0-9][^>]*>/,d=/^<([-_.:a-zA-Z0-9]+:)?svg\s/,g=/[^-]\bwidth="([^%]+?)"|[^-]\bwidth='([^%]+?)'/,i=/\bheight="([^%]+?)"|\bheight='([^%]+?)'/,M=/\bview[bB]ox="(.+?)"|\bview[bB]ox='(.+?)'/,v=/in$|mm$|cm$|pt$|pc$|px$|em$|ex$/;function f(l){return v.test(l)?l.match(v)[0]:"px"}T.exports=function(l){if(function(k){var E,x=0,A=k.length;for(k[0]===239&&k[1]===187&&k[2]===191&&(x=3);x>14&16383),type:"webp",mime:"image/webp",wUnits:"px",hUnits:"px"}}}function o(s,h){return{width:1+(s[h+6]<<16|s[h+5]<<8|s[h+4]),height:1+(s[h+9]<s.length)){for(;h+8=10?c=c||a(s,h+8):y==="VP8L"&&C>=9?c=c||u(s,h+8):y==="VP8X"&&C>=10?c=c||o(s,h+8):y==="EXIF"&&(m=v.get_orientation(s.slice(h+8,h+8+C)),h=1/0),h+=8+C}else h++;if(c)return m>0&&(c.orientation=m),c}}}},91497:function(T,p,t){T.exports={avif:t(24461),bmp:t(2504),gif:t(47342),ico:t(31355),jpeg:t(54261),png:t(6303),psd:t(38689),svg:t(6881),tiff:t(66278),webp:t(90784)}},33575:function(T,p,t){var d=t(91497);T.exports=function(g){return function(i){for(var M=Object.keys(d),v=0;v1)for(var w=1;w"u"?t.g:window,i=["moz","webkit"],M="AnimationFrame",v=g["request"+M],f=g["cancel"+M]||g["cancelRequest"+M],l=0;!v&&l>16,Ze>>16],u_pixel_coord_lower:[65535&He,65535&Ze]}}Es.prototype.draw=function(Y,ee,K,le,Te,De,He,Ze,at,Tt,At,se,ve,Ie,Fe,Ue){var We,Xe=Y.gl;if(!this.failedToCreate){for(var tt in Y.program.set(this.program),Y.setDepthMode(K),Y.setStencilMode(le),Y.setColorMode(Te),Y.setCullFace(De),this.fixedUniforms)this.fixedUniforms[tt].set(He[tt]);Ie&&Ie.setUniforms(Y,this.binderUniforms,se,{zoom:ve});for(var lt=(We={},We[Xe.LINES]=2,We[Xe.TRIANGLES]=3,We[Xe.LINE_STRIP]=1,We)[ee],mt=0,zt=At.get();mt0?1-1/(1.001-He):-He),u_contrast_factor:(De=Te.paint.get("raster-contrast"),De>0?1/(1-De):1+De),u_spin_weights:Ql(Te.paint.get("raster-hue-rotate"))};var De,He};function Ql(Y){Y*=Math.PI/180;var ee=Math.sin(Y),K=Math.cos(Y);return[(2*K+1)/3,(-Math.sqrt(3)*ee-K+1)/3,(Math.sqrt(3)*ee-K+1)/3]}var al,Hi=function(Y,ee,K,le,Te,De,He,Ze,at,Tt){var At=Te.transform;return{u_is_size_zoom_constant:+(Y==="constant"||Y==="source"),u_is_size_feature_constant:+(Y==="constant"||Y==="camera"),u_size_t:ee?ee.uSizeT:0,u_size:ee?ee.uSize:0,u_camera_to_center_distance:At.cameraToCenterDistance,u_pitch:At.pitch/360*2*Math.PI,u_rotate_symbol:+K,u_aspect_ratio:At.width/At.height,u_fade_change:Te.options.fadeDuration?Te.symbolFadeChange:1,u_matrix:De,u_label_plane_matrix:He,u_coord_matrix:Ze,u_is_text:+at,u_pitch_with_map:+le,u_texsize:Tt,u_texture:0}},Cl=function(Y,ee,K,le,Te,De,He,Ze,at,Tt,At){var se=Te.transform;return i.extend(Hi(Y,ee,K,le,Te,De,He,Ze,at,Tt),{u_gamma_scale:le?Math.cos(se._pitch)*se.cameraToCenterDistance:1,u_device_pixel_ratio:i.browser.devicePixelRatio,u_is_halo:+At})},ad=function(Y,ee,K,le,Te,De,He,Ze,at,Tt){return i.extend(Cl(Y,ee,K,le,Te,De,He,Ze,!0,at,!0),{u_texsize_icon:Tt,u_texture_icon:1})},Uc=function(Y,ee,K){return{u_matrix:Y,u_opacity:ee,u_color:K}},dc=function(Y,ee,K,le,Te,De){return i.extend(function(He,Ze,at,Tt){var At=at.imageManager.getPattern(He.from.toString()),se=at.imageManager.getPattern(He.to.toString()),ve=at.imageManager.getPixelSize(),Ie=ve.width,Fe=ve.height,Ue=Math.pow(2,Tt.tileID.overscaledZ),We=Tt.tileSize*Math.pow(2,at.transform.tileZoom)/Ue,Xe=We*(Tt.tileID.canonical.x+Tt.tileID.wrap*Ue),tt=We*Tt.tileID.canonical.y;return{u_image:0,u_pattern_tl_a:At.tl,u_pattern_br_a:At.br,u_pattern_tl_b:se.tl,u_pattern_br_b:se.br,u_texsize:[Ie,Fe],u_mix:Ze.t,u_pattern_size_a:At.displaySize,u_pattern_size_b:se.displaySize,u_scale_a:Ze.fromScale,u_scale_b:Ze.toScale,u_tile_units_to_pixels:1/vr(Tt,1,at.transform.tileZoom),u_pixel_coord_upper:[Xe>>16,tt>>16],u_pixel_coord_lower:[65535&Xe,65535&tt]}}(le,De,K,Te),{u_matrix:Y,u_opacity:ee})},eu={fillExtrusion:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_lightpos:new i.Uniform3f(Y,ee.u_lightpos),u_lightintensity:new i.Uniform1f(Y,ee.u_lightintensity),u_lightcolor:new i.Uniform3f(Y,ee.u_lightcolor),u_vertical_gradient:new i.Uniform1f(Y,ee.u_vertical_gradient),u_opacity:new i.Uniform1f(Y,ee.u_opacity)}},fillExtrusionPattern:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_lightpos:new i.Uniform3f(Y,ee.u_lightpos),u_lightintensity:new i.Uniform1f(Y,ee.u_lightintensity),u_lightcolor:new i.Uniform3f(Y,ee.u_lightcolor),u_vertical_gradient:new i.Uniform1f(Y,ee.u_vertical_gradient),u_height_factor:new i.Uniform1f(Y,ee.u_height_factor),u_image:new i.Uniform1i(Y,ee.u_image),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_pixel_coord_upper:new i.Uniform2f(Y,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f(Y,ee.u_pixel_coord_lower),u_scale:new i.Uniform3f(Y,ee.u_scale),u_fade:new i.Uniform1f(Y,ee.u_fade),u_opacity:new i.Uniform1f(Y,ee.u_opacity)}},fill:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix)}},fillPattern:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_image:new i.Uniform1i(Y,ee.u_image),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_pixel_coord_upper:new i.Uniform2f(Y,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f(Y,ee.u_pixel_coord_lower),u_scale:new i.Uniform3f(Y,ee.u_scale),u_fade:new i.Uniform1f(Y,ee.u_fade)}},fillOutline:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_world:new i.Uniform2f(Y,ee.u_world)}},fillOutlinePattern:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_world:new i.Uniform2f(Y,ee.u_world),u_image:new i.Uniform1i(Y,ee.u_image),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_pixel_coord_upper:new i.Uniform2f(Y,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f(Y,ee.u_pixel_coord_lower),u_scale:new i.Uniform3f(Y,ee.u_scale),u_fade:new i.Uniform1f(Y,ee.u_fade)}},circle:function(Y,ee){return{u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_scale_with_map:new i.Uniform1i(Y,ee.u_scale_with_map),u_pitch_with_map:new i.Uniform1i(Y,ee.u_pitch_with_map),u_extrude_scale:new i.Uniform2f(Y,ee.u_extrude_scale),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix)}},collisionBox:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_pixels_to_tile_units:new i.Uniform1f(Y,ee.u_pixels_to_tile_units),u_extrude_scale:new i.Uniform2f(Y,ee.u_extrude_scale),u_overscale_factor:new i.Uniform1f(Y,ee.u_overscale_factor)}},collisionCircle:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_inv_matrix:new i.UniformMatrix4f(Y,ee.u_inv_matrix),u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_viewport_size:new i.Uniform2f(Y,ee.u_viewport_size)}},debug:function(Y,ee){return{u_color:new i.UniformColor(Y,ee.u_color),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_overlay:new i.Uniform1i(Y,ee.u_overlay),u_overlay_scale:new i.Uniform1f(Y,ee.u_overlay_scale)}},clippingMask:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix)}},heatmap:function(Y,ee){return{u_extrude_scale:new i.Uniform1f(Y,ee.u_extrude_scale),u_intensity:new i.Uniform1f(Y,ee.u_intensity),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix)}},heatmapTexture:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_world:new i.Uniform2f(Y,ee.u_world),u_image:new i.Uniform1i(Y,ee.u_image),u_color_ramp:new i.Uniform1i(Y,ee.u_color_ramp),u_opacity:new i.Uniform1f(Y,ee.u_opacity)}},hillshade:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_image:new i.Uniform1i(Y,ee.u_image),u_latrange:new i.Uniform2f(Y,ee.u_latrange),u_light:new i.Uniform2f(Y,ee.u_light),u_shadow:new i.UniformColor(Y,ee.u_shadow),u_highlight:new i.UniformColor(Y,ee.u_highlight),u_accent:new i.UniformColor(Y,ee.u_accent)}},hillshadePrepare:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_image:new i.Uniform1i(Y,ee.u_image),u_dimension:new i.Uniform2f(Y,ee.u_dimension),u_zoom:new i.Uniform1f(Y,ee.u_zoom),u_maxzoom:new i.Uniform1f(Y,ee.u_maxzoom),u_unpack:new i.Uniform4f(Y,ee.u_unpack)}},line:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_ratio:new i.Uniform1f(Y,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_units_to_pixels:new i.Uniform2f(Y,ee.u_units_to_pixels)}},lineGradient:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_ratio:new i.Uniform1f(Y,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_units_to_pixels:new i.Uniform2f(Y,ee.u_units_to_pixels),u_image:new i.Uniform1i(Y,ee.u_image)}},linePattern:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_ratio:new i.Uniform1f(Y,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_image:new i.Uniform1i(Y,ee.u_image),u_units_to_pixels:new i.Uniform2f(Y,ee.u_units_to_pixels),u_scale:new i.Uniform3f(Y,ee.u_scale),u_fade:new i.Uniform1f(Y,ee.u_fade)}},lineSDF:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_ratio:new i.Uniform1f(Y,ee.u_ratio),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_units_to_pixels:new i.Uniform2f(Y,ee.u_units_to_pixels),u_patternscale_a:new i.Uniform2f(Y,ee.u_patternscale_a),u_patternscale_b:new i.Uniform2f(Y,ee.u_patternscale_b),u_sdfgamma:new i.Uniform1f(Y,ee.u_sdfgamma),u_image:new i.Uniform1i(Y,ee.u_image),u_tex_y_a:new i.Uniform1f(Y,ee.u_tex_y_a),u_tex_y_b:new i.Uniform1f(Y,ee.u_tex_y_b),u_mix:new i.Uniform1f(Y,ee.u_mix)}},raster:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_tl_parent:new i.Uniform2f(Y,ee.u_tl_parent),u_scale_parent:new i.Uniform1f(Y,ee.u_scale_parent),u_buffer_scale:new i.Uniform1f(Y,ee.u_buffer_scale),u_fade_t:new i.Uniform1f(Y,ee.u_fade_t),u_opacity:new i.Uniform1f(Y,ee.u_opacity),u_image0:new i.Uniform1i(Y,ee.u_image0),u_image1:new i.Uniform1i(Y,ee.u_image1),u_brightness_low:new i.Uniform1f(Y,ee.u_brightness_low),u_brightness_high:new i.Uniform1f(Y,ee.u_brightness_high),u_saturation_factor:new i.Uniform1f(Y,ee.u_saturation_factor),u_contrast_factor:new i.Uniform1f(Y,ee.u_contrast_factor),u_spin_weights:new i.Uniform3f(Y,ee.u_spin_weights)}},symbolIcon:function(Y,ee){return{u_is_size_zoom_constant:new i.Uniform1i(Y,ee.u_is_size_zoom_constant),u_is_size_feature_constant:new i.Uniform1i(Y,ee.u_is_size_feature_constant),u_size_t:new i.Uniform1f(Y,ee.u_size_t),u_size:new i.Uniform1f(Y,ee.u_size),u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_pitch:new i.Uniform1f(Y,ee.u_pitch),u_rotate_symbol:new i.Uniform1i(Y,ee.u_rotate_symbol),u_aspect_ratio:new i.Uniform1f(Y,ee.u_aspect_ratio),u_fade_change:new i.Uniform1f(Y,ee.u_fade_change),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_label_plane_matrix:new i.UniformMatrix4f(Y,ee.u_label_plane_matrix),u_coord_matrix:new i.UniformMatrix4f(Y,ee.u_coord_matrix),u_is_text:new i.Uniform1i(Y,ee.u_is_text),u_pitch_with_map:new i.Uniform1i(Y,ee.u_pitch_with_map),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_texture:new i.Uniform1i(Y,ee.u_texture)}},symbolSDF:function(Y,ee){return{u_is_size_zoom_constant:new i.Uniform1i(Y,ee.u_is_size_zoom_constant),u_is_size_feature_constant:new i.Uniform1i(Y,ee.u_is_size_feature_constant),u_size_t:new i.Uniform1f(Y,ee.u_size_t),u_size:new i.Uniform1f(Y,ee.u_size),u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_pitch:new i.Uniform1f(Y,ee.u_pitch),u_rotate_symbol:new i.Uniform1i(Y,ee.u_rotate_symbol),u_aspect_ratio:new i.Uniform1f(Y,ee.u_aspect_ratio),u_fade_change:new i.Uniform1f(Y,ee.u_fade_change),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_label_plane_matrix:new i.UniformMatrix4f(Y,ee.u_label_plane_matrix),u_coord_matrix:new i.UniformMatrix4f(Y,ee.u_coord_matrix),u_is_text:new i.Uniform1i(Y,ee.u_is_text),u_pitch_with_map:new i.Uniform1i(Y,ee.u_pitch_with_map),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_texture:new i.Uniform1i(Y,ee.u_texture),u_gamma_scale:new i.Uniform1f(Y,ee.u_gamma_scale),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_is_halo:new i.Uniform1i(Y,ee.u_is_halo)}},symbolTextAndIcon:function(Y,ee){return{u_is_size_zoom_constant:new i.Uniform1i(Y,ee.u_is_size_zoom_constant),u_is_size_feature_constant:new i.Uniform1i(Y,ee.u_is_size_feature_constant),u_size_t:new i.Uniform1f(Y,ee.u_size_t),u_size:new i.Uniform1f(Y,ee.u_size),u_camera_to_center_distance:new i.Uniform1f(Y,ee.u_camera_to_center_distance),u_pitch:new i.Uniform1f(Y,ee.u_pitch),u_rotate_symbol:new i.Uniform1i(Y,ee.u_rotate_symbol),u_aspect_ratio:new i.Uniform1f(Y,ee.u_aspect_ratio),u_fade_change:new i.Uniform1f(Y,ee.u_fade_change),u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_label_plane_matrix:new i.UniformMatrix4f(Y,ee.u_label_plane_matrix),u_coord_matrix:new i.UniformMatrix4f(Y,ee.u_coord_matrix),u_is_text:new i.Uniform1i(Y,ee.u_is_text),u_pitch_with_map:new i.Uniform1i(Y,ee.u_pitch_with_map),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_texsize_icon:new i.Uniform2f(Y,ee.u_texsize_icon),u_texture:new i.Uniform1i(Y,ee.u_texture),u_texture_icon:new i.Uniform1i(Y,ee.u_texture_icon),u_gamma_scale:new i.Uniform1f(Y,ee.u_gamma_scale),u_device_pixel_ratio:new i.Uniform1f(Y,ee.u_device_pixel_ratio),u_is_halo:new i.Uniform1i(Y,ee.u_is_halo)}},background:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_opacity:new i.Uniform1f(Y,ee.u_opacity),u_color:new i.UniformColor(Y,ee.u_color)}},backgroundPattern:function(Y,ee){return{u_matrix:new i.UniformMatrix4f(Y,ee.u_matrix),u_opacity:new i.Uniform1f(Y,ee.u_opacity),u_image:new i.Uniform1i(Y,ee.u_image),u_pattern_tl_a:new i.Uniform2f(Y,ee.u_pattern_tl_a),u_pattern_br_a:new i.Uniform2f(Y,ee.u_pattern_br_a),u_pattern_tl_b:new i.Uniform2f(Y,ee.u_pattern_tl_b),u_pattern_br_b:new i.Uniform2f(Y,ee.u_pattern_br_b),u_texsize:new i.Uniform2f(Y,ee.u_texsize),u_mix:new i.Uniform1f(Y,ee.u_mix),u_pattern_size_a:new i.Uniform2f(Y,ee.u_pattern_size_a),u_pattern_size_b:new i.Uniform2f(Y,ee.u_pattern_size_b),u_scale_a:new i.Uniform1f(Y,ee.u_scale_a),u_scale_b:new i.Uniform1f(Y,ee.u_scale_b),u_pixel_coord_upper:new i.Uniform2f(Y,ee.u_pixel_coord_upper),u_pixel_coord_lower:new i.Uniform2f(Y,ee.u_pixel_coord_lower),u_tile_units_to_pixels:new i.Uniform1f(Y,ee.u_tile_units_to_pixels)}}};function Ru(Y,ee,K,le,Te,De,He){for(var Ze=Y.context,at=Ze.gl,Tt=Y.useProgram("collisionBox"),At=[],se=0,ve=0,Ie=0;Ie0){var mt=i.create(),zt=Xe;i.mul(mt,We.placementInvProjMatrix,Y.transform.glCoordMatrix),i.mul(mt,mt,We.placementViewportMatrix),At.push({circleArray:lt,circleOffset:ve,transform:zt,invTransform:mt}),ve=se+=lt.length/4}tt&&Tt.draw(Ze,at.LINES,qt.disabled,Ke.disabled,Y.colorModeForRenderPass(),qe.disabled,xf(Xe,Y.transform,Ue),K.id,tt.layoutVertexBuffer,tt.indexBuffer,tt.segments,null,Y.transform.zoom,null,null,tt.collisionVertexBuffer)}}if(He&&At.length){var Ut=Y.useProgram("collisionCircle"),Ht=new i.StructArrayLayout2f1f2i16;Ht.resize(4*se),Ht._trim();for(var en=0,vn=0,tn=At;vn=0&&(Fe[We.associatedIconIndex]={shiftedAnchor:tn,angle:ln})}else rr(We.numGlyphs,ve)}if(At){Ie.clear();for(var Cn=Y.icon.placedSymbolArray,_n=0;_n0){var He=i.browser.now(),Ze=(He-Y.timeAdded)/De,at=ee?(He-ee.timeAdded)/De:-1,Tt=K.getSource(),At=Te.coveringZoomLevel({tileSize:Tt.tileSize,roundZoom:Tt.roundZoom}),se=!ee||Math.abs(ee.tileID.overscaledZ-At)>Math.abs(Y.tileID.overscaledZ-At),ve=se&&Y.refreshedUponExpiration?1:i.clamp(se?Ze:1-at,0,1);return Y.refreshedUponExpiration&&Ze>=1&&(Y.refreshedUponExpiration=!1),ee?{opacity:1,mix:1-ve}:{opacity:ve,mix:0}}return{opacity:1,mix:0}}var yc=new i.Color(1,0,0,1),bc=new i.Color(0,1,0,1),Rh=new i.Color(0,0,1,1),El=new i.Color(1,0,1,1),Hc=new i.Color(0,1,1,1);function xc(Y){var ee=Y.transform.padding;Ph(Y,Y.transform.height-(ee.top||0),3,yc),Ph(Y,ee.bottom||0,3,bc),_c(Y,ee.left||0,3,Rh),_c(Y,Y.transform.width-(ee.right||0),3,El);var K=Y.transform.centerPoint;(function(le,Te,De,He){var Ze=20,at=2;Du(le,Te-at/2,De-Ze/2,at,Ze,He),Du(le,Te-Ze/2,De-at/2,Ze,at,He)})(Y,K.x,Y.transform.height-K.y,Hc)}function Ph(Y,ee,K,le){Du(Y,0,ee+K/2,Y.transform.width,K,le)}function _c(Y,ee,K,le){Du(Y,ee-K/2,0,K,Y.transform.height,le)}function Du(Y,ee,K,le,Te,De){var He=Y.context,Ze=He.gl;Ze.enable(Ze.SCISSOR_TEST),Ze.scissor(ee*i.browser.devicePixelRatio,K*i.browser.devicePixelRatio,le*i.browser.devicePixelRatio,Te*i.browser.devicePixelRatio),He.clear({color:De}),Ze.disable(Ze.SCISSOR_TEST)}function ru(Y,ee,K){var le=Y.context,Te=le.gl,De=K.posMatrix,He=Y.useProgram("debug"),Ze=qt.disabled,at=Ke.disabled,Tt=Y.colorModeForRenderPass(),At="$debug";le.activeTexture.set(Te.TEXTURE0),Y.emptyTexture.bind(Te.LINEAR,Te.CLAMP_TO_EDGE),He.draw(le,Te.LINE_STRIP,Ze,at,Tt,qe.disabled,nl(De,i.Color.red),At,Y.debugBuffer,Y.tileBorderIndexBuffer,Y.debugSegments);var se=ee.getTileByID(K.key).latestRawTileData,ve=se&&se.byteLength||0,Ie=Math.floor(ve/1024),Fe=ee.getTile(K).tileSize,Ue=512/Math.min(Fe,512)*(K.overscaledZ/Y.transform.zoom)*.5,We=K.canonical.toString();K.overscaledZ!==K.canonical.z&&(We+=" => "+K.overscaledZ),function(Xe,tt){Xe.initDebugOverlayCanvas();var lt=Xe.debugOverlayCanvas,mt=Xe.context.gl,zt=Xe.debugOverlayCanvas.getContext("2d");zt.clearRect(0,0,lt.width,lt.height),zt.shadowColor="white",zt.shadowBlur=2,zt.lineWidth=1.5,zt.strokeStyle="white",zt.textBaseline="top",zt.font="bold 36px Open Sans, sans-serif",zt.fillText(tt,5,5),zt.strokeText(tt,5,5),Xe.debugOverlayTexture.update(lt),Xe.debugOverlayTexture.bind(mt.LINEAR,mt.CLAMP_TO_EDGE)}(Y,We+" "+Ie+"kb"),He.draw(le,Te.TRIANGLES,Ze,at,Je.alphaBlended,qe.disabled,nl(De,i.Color.transparent,Ue),At,Y.debugBuffer,Y.quadTriangleIndexBuffer,Y.debugSegments)}var iu={symbol:function(Y,ee,K,le,Te){if(Y.renderPass==="translucent"){var De=Ke.disabled,He=Y.colorModeForRenderPass();K.layout.get("text-variable-anchor")&&function(Ze,at,Tt,At,se,ve,Ie){for(var Fe=at.transform,Ue=se==="map",We=ve==="map",Xe=0,tt=Ze;Xe256&&this.clearStencil(),K.setColorMode(Je.disabled),K.setDepthMode(qt.disabled);var Te=this.useProgram("clippingMask");this._tileClippingMaskIDs={};for(var De=0,He=ee;De256&&this.clearStencil();var Y=this.nextStencilID++,ee=this.context.gl;return new Ke({func:ee.NOTEQUAL,mask:255},Y,255,ee.KEEP,ee.KEEP,ee.REPLACE)},Ki.prototype.stencilModeForClipping=function(Y){var ee=this.context.gl;return new Ke({func:ee.EQUAL,mask:255},this._tileClippingMaskIDs[Y.key],0,ee.KEEP,ee.KEEP,ee.REPLACE)},Ki.prototype.stencilConfigForOverlap=function(Y){var ee,K=this.context.gl,le=Y.sort(function(at,Tt){return Tt.overscaledZ-at.overscaledZ}),Te=le[le.length-1].overscaledZ,De=le[0].overscaledZ-Te+1;if(De>1){this.currentStencilSource=void 0,this.nextStencilID+De>256&&this.clearStencil();for(var He={},Ze=0;Ze=0;this.currentLayer--){var zt=this.style._layers[le[this.currentLayer]],Ut=Te[zt.source],Ht=Tt[zt.source];this._renderTileClippingMasks(zt,Ht),this.renderLayer(this,Ut,zt,Ht)}for(this.renderPass="translucent",this.currentLayer=0;this.currentLayer0?ee.pop():null},Ki.prototype.isPatternMissing=function(Y){if(!Y)return!1;if(!Y.from||!Y.to)return!0;var ee=this.imageManager.getPattern(Y.from.toString()),K=this.imageManager.getPattern(Y.to.toString());return!ee||!K},Ki.prototype.useProgram=function(Y,ee){this.cache=this.cache||{};var K=""+Y+(ee?ee.cacheKey:"")+(this._showOverdrawInspector?"/overdraw":"");return this.cache[K]||(this.cache[K]=new Es(this.context,Al[Y],ee,eu[Y],this._showOverdrawInspector)),this.cache[K]},Ki.prototype.setCustomLayerDefaults=function(){this.context.unbindVAO(),this.context.cullFace.setDefault(),this.context.activeTexture.setDefault(),this.context.pixelStoreUnpack.setDefault(),this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.context.pixelStoreUnpackFlipY.setDefault()},Ki.prototype.setBaseState=function(){var Y=this.context.gl;this.context.cullFace.set(!1),this.context.viewport.set([0,0,this.width,this.height]),this.context.blendEquation.set(Y.FUNC_ADD)},Ki.prototype.initDebugOverlayCanvas=function(){if(this.debugOverlayCanvas==null){this.debugOverlayCanvas=i.window.document.createElement("canvas"),this.debugOverlayCanvas.width=512,this.debugOverlayCanvas.height=512;var Y=this.context.gl;this.debugOverlayTexture=new i.Texture(this.context,this.debugOverlayCanvas,Y.RGBA)}},Ki.prototype.destroy=function(){this.emptyTexture.destroy(),this.debugOverlayTexture&&this.debugOverlayTexture.destroy()};var Ll=function(Y,ee){this.points=Y,this.planes=ee};Ll.fromInvProjectionMatrix=function(Y,ee,K){var le=Math.pow(2,K),Te=[[-1,1,-1,1],[1,1,-1,1],[1,-1,-1,1],[-1,-1,-1,1],[-1,1,1,1],[1,1,1,1],[1,-1,1,1],[-1,-1,1,1]].map(function(He){return i.transformMat4([],He,Y)}).map(function(He){return i.scale$1([],He,1/He[3]/ee*le)}),De=[[0,1,2],[6,5,4],[0,3,7],[2,1,5],[3,2,6],[0,4,5]].map(function(He){var Ze=i.sub([],Te[He[0]],Te[He[1]]),at=i.sub([],Te[He[2]],Te[He[1]]),Tt=i.normalize([],i.cross([],Ze,at)),At=-i.dot(Tt,Te[He[1]]);return Tt.concat(At)});return new Ll(Te,De)};var Il=function(Y,ee){this.min=Y,this.max=ee,this.center=i.scale$2([],i.add([],this.min,this.max),.5)};Il.prototype.quadrant=function(Y){for(var ee=[Y%2==0,Y<2],K=i.clone$2(this.min),le=i.clone$2(this.max),Te=0;Te=0;if(De===0)return 0;De!==ee.length&&(K=!1)}if(K)return 2;for(var Ze=0;Ze<3;Ze++){for(var at=Number.MAX_VALUE,Tt=-Number.MAX_VALUE,At=0;Atthis.max[Ze]-this.min[Ze])return 0}return 1};var po=function(Y,ee,K,le){if(Y===void 0&&(Y=0),ee===void 0&&(ee=0),K===void 0&&(K=0),le===void 0&&(le=0),isNaN(Y)||Y<0||isNaN(ee)||ee<0||isNaN(K)||K<0||isNaN(le)||le<0)throw new Error("Invalid value for edge-insets, top, bottom, left and right must all be numbers");this.top=Y,this.bottom=ee,this.left=K,this.right=le};po.prototype.interpolate=function(Y,ee,K){return ee.top!=null&&Y.top!=null&&(this.top=i.number(Y.top,ee.top,K)),ee.bottom!=null&&Y.bottom!=null&&(this.bottom=i.number(Y.bottom,ee.bottom,K)),ee.left!=null&&Y.left!=null&&(this.left=i.number(Y.left,ee.left,K)),ee.right!=null&&Y.right!=null&&(this.right=i.number(Y.right,ee.right,K)),this},po.prototype.getCenter=function(Y,ee){var K=i.clamp((this.left+Y-this.right)/2,0,Y),le=i.clamp((this.top+ee-this.bottom)/2,0,ee);return new i.Point(K,le)},po.prototype.equals=function(Y){return this.top===Y.top&&this.bottom===Y.bottom&&this.left===Y.left&&this.right===Y.right},po.prototype.clone=function(){return new po(this.top,this.bottom,this.left,this.right)},po.prototype.toJSON=function(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}};var Oi=function(Y,ee,K,le,Te){this.tileSize=512,this.maxValidLatitude=85.051129,this._renderWorldCopies=Te===void 0||Te,this._minZoom=Y||0,this._maxZoom=ee||22,this._minPitch=K??0,this._maxPitch=le??60,this.setMaxBounds(),this.width=0,this.height=0,this._center=new i.LngLat(0,0),this.zoom=0,this.angle=0,this._fov=.6435011087932844,this._pitch=0,this._unmodified=!0,this._edgeInsets=new po,this._posMatrixCache={},this._alignedPosMatrixCache={}},Bi={minZoom:{configurable:!0},maxZoom:{configurable:!0},minPitch:{configurable:!0},maxPitch:{configurable:!0},renderWorldCopies:{configurable:!0},worldSize:{configurable:!0},centerOffset:{configurable:!0},size:{configurable:!0},bearing:{configurable:!0},pitch:{configurable:!0},fov:{configurable:!0},zoom:{configurable:!0},center:{configurable:!0},padding:{configurable:!0},centerPoint:{configurable:!0},unmodified:{configurable:!0},point:{configurable:!0}};Oi.prototype.clone=function(){var Y=new Oi(this._minZoom,this._maxZoom,this._minPitch,this.maxPitch,this._renderWorldCopies);return Y.tileSize=this.tileSize,Y.latRange=this.latRange,Y.width=this.width,Y.height=this.height,Y._center=this._center,Y.zoom=this.zoom,Y.angle=this.angle,Y._fov=this._fov,Y._pitch=this._pitch,Y._unmodified=this._unmodified,Y._edgeInsets=this._edgeInsets.clone(),Y._calcMatrices(),Y},Bi.minZoom.get=function(){return this._minZoom},Bi.minZoom.set=function(Y){this._minZoom!==Y&&(this._minZoom=Y,this.zoom=Math.max(this.zoom,Y))},Bi.maxZoom.get=function(){return this._maxZoom},Bi.maxZoom.set=function(Y){this._maxZoom!==Y&&(this._maxZoom=Y,this.zoom=Math.min(this.zoom,Y))},Bi.minPitch.get=function(){return this._minPitch},Bi.minPitch.set=function(Y){this._minPitch!==Y&&(this._minPitch=Y,this.pitch=Math.max(this.pitch,Y))},Bi.maxPitch.get=function(){return this._maxPitch},Bi.maxPitch.set=function(Y){this._maxPitch!==Y&&(this._maxPitch=Y,this.pitch=Math.min(this.pitch,Y))},Bi.renderWorldCopies.get=function(){return this._renderWorldCopies},Bi.renderWorldCopies.set=function(Y){Y===void 0?Y=!0:Y===null&&(Y=!1),this._renderWorldCopies=Y},Bi.worldSize.get=function(){return this.tileSize*this.scale},Bi.centerOffset.get=function(){return this.centerPoint._sub(this.size._div(2))},Bi.size.get=function(){return new i.Point(this.width,this.height)},Bi.bearing.get=function(){return-this.angle/Math.PI*180},Bi.bearing.set=function(Y){var ee=-i.wrap(Y,-180,180)*Math.PI/180;this.angle!==ee&&(this._unmodified=!1,this.angle=ee,this._calcMatrices(),this.rotationMatrix=i.create$2(),i.rotate(this.rotationMatrix,this.rotationMatrix,this.angle))},Bi.pitch.get=function(){return this._pitch/Math.PI*180},Bi.pitch.set=function(Y){var ee=i.clamp(Y,this.minPitch,this.maxPitch)/180*Math.PI;this._pitch!==ee&&(this._unmodified=!1,this._pitch=ee,this._calcMatrices())},Bi.fov.get=function(){return this._fov/Math.PI*180},Bi.fov.set=function(Y){Y=Math.max(.01,Math.min(60,Y)),this._fov!==Y&&(this._unmodified=!1,this._fov=Y/180*Math.PI,this._calcMatrices())},Bi.zoom.get=function(){return this._zoom},Bi.zoom.set=function(Y){var ee=Math.min(Math.max(Y,this.minZoom),this.maxZoom);this._zoom!==ee&&(this._unmodified=!1,this._zoom=ee,this.scale=this.zoomScale(ee),this.tileZoom=Math.floor(ee),this.zoomFraction=ee-this.tileZoom,this._constrain(),this._calcMatrices())},Bi.center.get=function(){return this._center},Bi.center.set=function(Y){Y.lat===this._center.lat&&Y.lng===this._center.lng||(this._unmodified=!1,this._center=Y,this._constrain(),this._calcMatrices())},Bi.padding.get=function(){return this._edgeInsets.toJSON()},Bi.padding.set=function(Y){this._edgeInsets.equals(Y)||(this._unmodified=!1,this._edgeInsets.interpolate(this._edgeInsets,Y,1),this._calcMatrices())},Bi.centerPoint.get=function(){return this._edgeInsets.getCenter(this.width,this.height)},Oi.prototype.isPaddingEqual=function(Y){return this._edgeInsets.equals(Y)},Oi.prototype.interpolatePadding=function(Y,ee,K){this._unmodified=!1,this._edgeInsets.interpolate(Y,ee,K),this._constrain(),this._calcMatrices()},Oi.prototype.coveringZoomLevel=function(Y){var ee=(Y.roundZoom?Math.round:Math.floor)(this.zoom+this.scaleZoom(this.tileSize/Y.tileSize));return Math.max(0,ee)},Oi.prototype.getVisibleUnwrappedCoordinates=function(Y){var ee=[new i.UnwrappedTileID(0,Y)];if(this._renderWorldCopies)for(var K=this.pointCoordinate(new i.Point(0,0)),le=this.pointCoordinate(new i.Point(this.width,0)),Te=this.pointCoordinate(new i.Point(this.width,this.height)),De=this.pointCoordinate(new i.Point(0,this.height)),He=Math.floor(Math.min(K.x,le.x,Te.x,De.x)),Ze=Math.floor(Math.max(K.x,le.x,Te.x,De.x)),at=He-1;at<=Ze+1;at++)at!==0&&ee.push(new i.UnwrappedTileID(at,Y));return ee},Oi.prototype.coveringTiles=function(Y){var ee=this.coveringZoomLevel(Y),K=ee;if(Y.minzoom!==void 0&&eeY.maxzoom&&(ee=Y.maxzoom);var le=i.MercatorCoordinate.fromLngLat(this.center),Te=Math.pow(2,ee),De=[Te*le.x,Te*le.y,0],He=Ll.fromInvProjectionMatrix(this.invProjMatrix,this.worldSize,ee),Ze=Y.minzoom||0;this.pitch<=60&&this._edgeInsets.top<.1&&(Ze=ee);var at=function(tn){return{aabb:new Il([tn*Te,0,0],[(tn+1)*Te,Te,0]),zoom:0,x:0,y:0,wrap:tn,fullyVisible:!1}},Tt=[],At=[],se=ee,ve=Y.reparseOverscaled?K:ee;if(this._renderWorldCopies)for(var Ie=1;Ie<=3;Ie++)Tt.push(at(-Ie)),Tt.push(at(Ie));for(Tt.push(at(0));Tt.length>0;){var Fe=Tt.pop(),Ue=Fe.x,We=Fe.y,Xe=Fe.fullyVisible;if(!Xe){var tt=Fe.aabb.intersects(He);if(tt===0)continue;Xe=tt===2}var lt=Fe.aabb.distanceX(De),mt=Fe.aabb.distanceY(De),zt=Math.max(Math.abs(lt),Math.abs(mt)),Ut=3+(1<Ut&&Fe.zoom>=Ze)At.push({tileID:new i.OverscaledTileID(Fe.zoom===se?ve:Fe.zoom,Fe.wrap,Fe.zoom,Ue,We),distanceSq:i.sqrLen([De[0]-.5-Ue,De[1]-.5-We])});else for(var Ht=0;Ht<4;Ht++){var en=(Ue<<1)+Ht%2,vn=(We<<1)+(Ht>>1);Tt.push({aabb:Fe.aabb.quadrant(Ht),zoom:Fe.zoom+1,x:en,y:vn,wrap:Fe.wrap,fullyVisible:Xe})}}return At.sort(function(tn,ln){return tn.distanceSq-ln.distanceSq}).map(function(tn){return tn.tileID})},Oi.prototype.resize=function(Y,ee){this.width=Y,this.height=ee,this.pixelsToGLUnits=[2/Y,-2/ee],this._constrain(),this._calcMatrices()},Bi.unmodified.get=function(){return this._unmodified},Oi.prototype.zoomScale=function(Y){return Math.pow(2,Y)},Oi.prototype.scaleZoom=function(Y){return Math.log(Y)/Math.LN2},Oi.prototype.project=function(Y){var ee=i.clamp(Y.lat,-this.maxValidLatitude,this.maxValidLatitude);return new i.Point(i.mercatorXfromLng(Y.lng)*this.worldSize,i.mercatorYfromLat(ee)*this.worldSize)},Oi.prototype.unproject=function(Y){return new i.MercatorCoordinate(Y.x/this.worldSize,Y.y/this.worldSize).toLngLat()},Bi.point.get=function(){return this.project(this.center)},Oi.prototype.setLocationAtPoint=function(Y,ee){var K=this.pointCoordinate(ee),le=this.pointCoordinate(this.centerPoint),Te=this.locationCoordinate(Y),De=new i.MercatorCoordinate(Te.x-(K.x-le.x),Te.y-(K.y-le.y));this.center=this.coordinateLocation(De),this._renderWorldCopies&&(this.center=this.center.wrap())},Oi.prototype.locationPoint=function(Y){return this.coordinatePoint(this.locationCoordinate(Y))},Oi.prototype.pointLocation=function(Y){return this.coordinateLocation(this.pointCoordinate(Y))},Oi.prototype.locationCoordinate=function(Y){return i.MercatorCoordinate.fromLngLat(Y)},Oi.prototype.coordinateLocation=function(Y){return Y.toLngLat()},Oi.prototype.pointCoordinate=function(Y){var ee=[Y.x,Y.y,0,1],K=[Y.x,Y.y,1,1];i.transformMat4(ee,ee,this.pixelMatrixInverse),i.transformMat4(K,K,this.pixelMatrixInverse);var le=ee[3],Te=K[3],De=ee[0]/le,He=K[0]/Te,Ze=ee[1]/le,at=K[1]/Te,Tt=ee[2]/le,At=K[2]/Te,se=Tt===At?0:(0-Tt)/(At-Tt);return new i.MercatorCoordinate(i.number(De,He,se)/this.worldSize,i.number(Ze,at,se)/this.worldSize)},Oi.prototype.coordinatePoint=function(Y){var ee=[Y.x*this.worldSize,Y.y*this.worldSize,0,1];return i.transformMat4(ee,ee,this.pixelMatrix),new i.Point(ee[0]/ee[3],ee[1]/ee[3])},Oi.prototype.getBounds=function(){return new i.LngLatBounds().extend(this.pointLocation(new i.Point(0,0))).extend(this.pointLocation(new i.Point(this.width,0))).extend(this.pointLocation(new i.Point(this.width,this.height))).extend(this.pointLocation(new i.Point(0,this.height)))},Oi.prototype.getMaxBounds=function(){return this.latRange&&this.latRange.length===2&&this.lngRange&&this.lngRange.length===2?new i.LngLatBounds([this.lngRange[0],this.latRange[0]],[this.lngRange[1],this.latRange[1]]):null},Oi.prototype.setMaxBounds=function(Y){Y?(this.lngRange=[Y.getWest(),Y.getEast()],this.latRange=[Y.getSouth(),Y.getNorth()],this._constrain()):(this.lngRange=null,this.latRange=[-this.maxValidLatitude,this.maxValidLatitude])},Oi.prototype.calculatePosMatrix=function(Y,ee){ee===void 0&&(ee=!1);var K=Y.key,le=ee?this._alignedPosMatrixCache:this._posMatrixCache;if(le[K])return le[K];var Te=Y.canonical,De=this.worldSize/this.zoomScale(Te.z),He=Te.x+Math.pow(2,Te.z)*Y.wrap,Ze=i.identity(new Float64Array(16));return i.translate(Ze,Ze,[He*De,Te.y*De,0]),i.scale(Ze,Ze,[De/i.EXTENT,De/i.EXTENT,1]),i.multiply(Ze,ee?this.alignedProjMatrix:this.projMatrix,Ze),le[K]=new Float32Array(Ze),le[K]},Oi.prototype.customLayerMatrix=function(){return this.mercatorMatrix.slice()},Oi.prototype._constrain=function(){if(this.center&&this.width&&this.height&&!this._constraining){this._constraining=!0;var Y,ee,K,le,Te=-90,De=90,He=-180,Ze=180,at=this.size,Tt=this._unmodified;if(this.latRange){var At=this.latRange;Te=i.mercatorYfromLat(At[1])*this.worldSize,Y=(De=i.mercatorYfromLat(At[0])*this.worldSize)-TeDe&&(le=De-Ue)}if(this.lngRange){var We=ve.x,Xe=at.x/2;We-XeZe&&(K=Ze-Xe)}K===void 0&&le===void 0||(this.center=this.unproject(new i.Point(K!==void 0?K:ve.x,le!==void 0?le:ve.y))),this._unmodified=Tt,this._constraining=!1}},Oi.prototype._calcMatrices=function(){if(this.height){var Y=this._fov/2,ee=this.centerOffset;this.cameraToCenterDistance=.5/Math.tan(Y)*this.height;var K=Math.PI/2+this._pitch,le=this._fov*(.5+ee.y/this.height),Te=Math.sin(le)*this.cameraToCenterDistance/Math.sin(i.clamp(Math.PI-K-le,.01,Math.PI-.01)),De=this.point,He=De.x,Ze=De.y,at=1.01*(Math.cos(Math.PI/2-this._pitch)*Te+this.cameraToCenterDistance),Tt=this.height/50,At=new Float64Array(16);i.perspective(At,this._fov,this.width/this.height,Tt,at),At[8]=2*-ee.x/this.width,At[9]=2*ee.y/this.height,i.scale(At,At,[1,-1,1]),i.translate(At,At,[0,0,-this.cameraToCenterDistance]),i.rotateX(At,At,this._pitch),i.rotateZ(At,At,this.angle),i.translate(At,At,[-He,-Ze,0]),this.mercatorMatrix=i.scale([],At,[this.worldSize,this.worldSize,this.worldSize]),i.scale(At,At,[1,1,i.mercatorZfromAltitude(1,this.center.lat)*this.worldSize,1]),this.projMatrix=At,this.invProjMatrix=i.invert([],this.projMatrix);var se=this.width%2/2,ve=this.height%2/2,Ie=Math.cos(this.angle),Fe=Math.sin(this.angle),Ue=He-Math.round(He)+Ie*se+Fe*ve,We=Ze-Math.round(Ze)+Ie*ve+Fe*se,Xe=new Float64Array(At);if(i.translate(Xe,Xe,[Ue>.5?Ue-1:Ue,We>.5?We-1:We,0]),this.alignedProjMatrix=Xe,At=i.create(),i.scale(At,At,[this.width/2,-this.height/2,1]),i.translate(At,At,[1,-1,0]),this.labelPlaneMatrix=At,At=i.create(),i.scale(At,At,[1,-1,1]),i.translate(At,At,[-1,-1,0]),i.scale(At,At,[2/this.width,2/this.height,1]),this.glCoordMatrix=At,this.pixelMatrix=i.multiply(new Float64Array(16),this.labelPlaneMatrix,this.projMatrix),!(At=i.invert(new Float64Array(16),this.pixelMatrix)))throw new Error("failed to invert matrix");this.pixelMatrixInverse=At,this._posMatrixCache={},this._alignedPosMatrixCache={}}},Oi.prototype.maxPitchScaleFactor=function(){if(!this.pixelMatrixInverse)return 1;var Y=this.pointCoordinate(new i.Point(0,0)),ee=[Y.x*this.worldSize,Y.y*this.worldSize,0,1];return i.transformMat4(ee,ee,this.pixelMatrix)[3]/this.cameraToCenterDistance},Oi.prototype.getCameraPoint=function(){var Y=this._pitch,ee=Math.tan(Y)*(this.cameraToCenterDistance||1);return this.centerPoint.add(new i.Point(0,ee))},Oi.prototype.getCameraQueryGeometry=function(Y){var ee=this.getCameraPoint();if(Y.length===1)return[Y[0],ee];for(var K=ee.x,le=ee.y,Te=ee.x,De=ee.y,He=0,Ze=Y;He=3&&!Y.some(function(K){return isNaN(K)})){var ee=this._map.dragRotate.isEnabled()&&this._map.touchZoomRotate.isEnabled()?+(Y[3]||0):this._map.getBearing();return this._map.jumpTo({center:[+Y[2],+Y[1]],zoom:+Y[0],bearing:ee,pitch:+(Y[4]||0)}),!0}return!1},ol.prototype._updateHashUnthrottled=function(){var Y=this.getHashString();try{i.window.history.replaceState(i.window.history.state,"",Y)}catch{}};var Us={linearity:.3,easing:i.bezier(0,0,.3,1)},Gc=i.extend({deceleration:2500,maxSpeed:1400},Us),Oh=i.extend({deceleration:20,maxSpeed:1400},Us),au=i.extend({deceleration:1e3,maxSpeed:360},Us),Dh=i.extend({deceleration:1e3,maxSpeed:90},Us),ou=function(Y){this._map=Y,this.clear()};function sl(Y,ee){(!Y.duration||Y.duration0&&ee-Y[0].time>160;)Y.shift()},ou.prototype._onMoveEnd=function(Y){if(this._drainInertiaBuffer(),!(this._inertiaBuffer.length<2)){for(var ee={zoom:0,bearing:0,pitch:0,pan:new i.Point(0,0),pinchAround:void 0,around:void 0},K=0,le=this._inertiaBuffer;K=this._clickTolerance||this._map.fire(new da(Y.type,this._map,Y))},Ha.prototype.dblclick=function(Y){return this._firePreventable(new da(Y.type,this._map,Y))},Ha.prototype.mouseover=function(Y){this._map.fire(new da(Y.type,this._map,Y))},Ha.prototype.mouseout=function(Y){this._map.fire(new da(Y.type,this._map,Y))},Ha.prototype.touchstart=function(Y){return this._firePreventable(new Hs(Y.type,this._map,Y))},Ha.prototype.touchmove=function(Y){this._map.fire(new Hs(Y.type,this._map,Y))},Ha.prototype.touchend=function(Y){this._map.fire(new Hs(Y.type,this._map,Y))},Ha.prototype.touchcancel=function(Y){this._map.fire(new Hs(Y.type,this._map,Y))},Ha.prototype._firePreventable=function(Y){if(this._map.fire(Y),Y.defaultPrevented)return{}},Ha.prototype.isEnabled=function(){return!0},Ha.prototype.isActive=function(){return!1},Ha.prototype.enable=function(){},Ha.prototype.disable=function(){};var mo=function(Y){this._map=Y};mo.prototype.reset=function(){this._delayContextMenu=!1,delete this._contextMenuEvent},mo.prototype.mousemove=function(Y){this._map.fire(new da(Y.type,this._map,Y))},mo.prototype.mousedown=function(){this._delayContextMenu=!0},mo.prototype.mouseup=function(){this._delayContextMenu=!1,this._contextMenuEvent&&(this._map.fire(new da("contextmenu",this._map,this._contextMenuEvent)),delete this._contextMenuEvent)},mo.prototype.contextmenu=function(Y){this._delayContextMenu?this._contextMenuEvent=Y:this._map.fire(new da(Y.type,this._map,Y)),this._map.listens("contextmenu")&&Y.preventDefault()},mo.prototype.isEnabled=function(){return!0},mo.prototype.isActive=function(){return!1},mo.prototype.enable=function(){},mo.prototype.disable=function(){};var go=function(Y,ee){this._map=Y,this._el=Y.getCanvasContainer(),this._container=Y.getContainer(),this._clickTolerance=ee.clickTolerance||1};function co(Y,ee){for(var K={},le=0;lethis.numTouches)&&(this.aborted=!0),this.aborted||(this.startTime===void 0&&(this.startTime=Y.timeStamp),K.length===this.numTouches&&(this.centroid=function(le){for(var Te=new i.Point(0,0),De=0,He=le;De30)&&(this.aborted=!0)}}},zo.prototype.touchend=function(Y,ee,K){if((!this.centroid||Y.timeStamp-this.startTime>500)&&(this.aborted=!0),K.length===0){var le=!this.aborted&&this.centroid;if(this.reset(),le)return le}};var Rl=function(Y){this.singleTap=new zo(Y),this.numTaps=Y.numTaps,this.reset()};Rl.prototype.reset=function(){this.lastTime=1/0,delete this.lastTap,this.count=0,this.singleTap.reset()},Rl.prototype.touchstart=function(Y,ee,K){this.singleTap.touchstart(Y,ee,K)},Rl.prototype.touchmove=function(Y,ee,K){this.singleTap.touchmove(Y,ee,K)},Rl.prototype.touchend=function(Y,ee,K){var le=this.singleTap.touchend(Y,ee,K);if(le){var Te=Y.timeStamp-this.lastTime<500,De=!this.lastTap||this.lastTap.dist(le)<30;if(Te&&De||this.reset(),this.count++,this.lastTime=Y.timeStamp,this.lastTap=le,this.count===this.numTaps)return this.reset(),le}};var vs=function(){this._zoomIn=new Rl({numTouches:1,numTaps:2}),this._zoomOut=new Rl({numTouches:2,numTaps:1}),this.reset()};vs.prototype.reset=function(){this._active=!1,this._zoomIn.reset(),this._zoomOut.reset()},vs.prototype.touchstart=function(Y,ee,K){this._zoomIn.touchstart(Y,ee,K),this._zoomOut.touchstart(Y,ee,K)},vs.prototype.touchmove=function(Y,ee,K){this._zoomIn.touchmove(Y,ee,K),this._zoomOut.touchmove(Y,ee,K)},vs.prototype.touchend=function(Y,ee,K){var le=this,Te=this._zoomIn.touchend(Y,ee,K),De=this._zoomOut.touchend(Y,ee,K);return Te?(this._active=!0,Y.preventDefault(),setTimeout(function(){return le.reset()},0),{cameraAnimation:function(He){return He.easeTo({duration:300,zoom:He.getZoom()+1,around:He.unproject(Te)},{originalEvent:Y})}}):De?(this._active=!0,Y.preventDefault(),setTimeout(function(){return le.reset()},0),{cameraAnimation:function(He){return He.easeTo({duration:300,zoom:He.getZoom()-1,around:He.unproject(De)},{originalEvent:Y})}}):void 0},vs.prototype.touchcancel=function(){this.reset()},vs.prototype.enable=function(){this._enabled=!0},vs.prototype.disable=function(){this._enabled=!1,this.reset()},vs.prototype.isEnabled=function(){return this._enabled},vs.prototype.isActive=function(){return this._active};var $a=function(Y){this.reset(),this._clickTolerance=Y.clickTolerance||1};$a.prototype.reset=function(){this._active=!1,this._moved=!1,delete this._lastPoint,delete this._eventButton},$a.prototype._correctButton=function(Y,ee){return!1},$a.prototype._move=function(Y,ee){return{}},$a.prototype.mousedown=function(Y,ee){if(!this._lastPoint){var K=v.mouseButton(Y);this._correctButton(Y,K)&&(this._lastPoint=ee,this._eventButton=K)}},$a.prototype.mousemoveWindow=function(Y,ee){var K=this._lastPoint;if(K&&(Y.preventDefault(),this._moved||!(ee.dist(K)0&&(this._active=!0);var le=co(K,ee),Te=new i.Point(0,0),De=new i.Point(0,0),He=0;for(var Ze in le){var at=le[Ze],Tt=this._touches[Ze];Tt&&(Te._add(at),De._add(at.sub(Tt)),He++,le[Ze]=at)}if(this._touches=le,!(HeMath.abs(Y.x)}var Br=function(Y){function ee(){Y.apply(this,arguments)}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee.prototype.reset=function(){Y.prototype.reset.call(this),this._valid=void 0,delete this._firstMove,delete this._lastPoints},ee.prototype._start=function(K){this._lastPoints=K,Bu(K[0].sub(K[1]))&&(this._valid=!1)},ee.prototype._move=function(K,le,Te){var De=K[0].sub(this._lastPoints[0]),He=K[1].sub(this._lastPoints[1]);if(this._valid=this.gestureBeginsVertically(De,He,Te.timeStamp),this._valid)return this._lastPoints=K,this._active=!0,{pitchDelta:(De.y+He.y)/2*-.5}},ee.prototype.gestureBeginsVertically=function(K,le,Te){if(this._valid!==void 0)return this._valid;var De=K.mag()>=2,He=le.mag()>=2;if(De||He){if(!De||!He)return this._firstMove===void 0&&(this._firstMove=Te),Te-this._firstMove<100&&void 0;var Ze=K.y>0==le.y>0;return Bu(K)&&Bu(le)&&Ze}},ee}(Dr),Nu={panStep:100,bearingStep:15,pitchStep:10},ys=function(){var Y=Nu;this._panStep=Y.panStep,this._bearingStep=Y.bearingStep,this._pitchStep=Y.pitchStep};function $c(Y){return Y*(2-Y)}ys.prototype.reset=function(){this._active=!1},ys.prototype.keydown=function(Y){var ee=this;if(!(Y.altKey||Y.ctrlKey||Y.metaKey)){var K=0,le=0,Te=0,De=0,He=0;switch(Y.keyCode){case 61:case 107:case 171:case 187:K=1;break;case 189:case 109:case 173:K=-1;break;case 37:Y.shiftKey?le=-1:(Y.preventDefault(),De=-1);break;case 39:Y.shiftKey?le=1:(Y.preventDefault(),De=1);break;case 38:Y.shiftKey?Te=1:(Y.preventDefault(),He=-1);break;case 40:Y.shiftKey?Te=-1:(Y.preventDefault(),He=1);break;default:return}return{cameraAnimation:function(Ze){var at=Ze.getZoom();Ze.easeTo({duration:300,easeId:"keyboardHandler",easing:$c,zoom:K?Math.round(at)+K*(Y.shiftKey?2:1):at,bearing:Ze.getBearing()+le*ee._bearingStep,pitch:Ze.getPitch()+Te*ee._pitchStep,offset:[-De*ee._panStep,-He*ee._panStep],center:Ze.getCenter()},{originalEvent:Y})}}}},ys.prototype.enable=function(){this._enabled=!0},ys.prototype.disable=function(){this._enabled=!1,this.reset()},ys.prototype.isEnabled=function(){return this._enabled},ys.prototype.isActive=function(){return this._active};var wc=4.000244140625,vo=function(Y,ee){this._map=Y,this._el=Y.getCanvasContainer(),this._handler=ee,this._delta=0,this._defaultZoomRate=.01,this._wheelZoomRate=.0022222222222222222,i.bindAll(["_onWheel","_onTimeout","_onScrollFrame","_onScrollFinished"],this)};vo.prototype.setZoomRate=function(Y){this._defaultZoomRate=Y},vo.prototype.setWheelZoomRate=function(Y){this._wheelZoomRate=Y},vo.prototype.isEnabled=function(){return!!this._enabled},vo.prototype.isActive=function(){return!!this._active||this._finishTimeout!==void 0},vo.prototype.isZooming=function(){return!!this._zooming},vo.prototype.enable=function(Y){this.isEnabled()||(this._enabled=!0,this._aroundCenter=Y&&Y.around==="center")},vo.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},vo.prototype.wheel=function(Y){if(this.isEnabled()){var ee=Y.deltaMode===i.window.WheelEvent.DOM_DELTA_LINE?40*Y.deltaY:Y.deltaY,K=i.browser.now(),le=K-(this._lastWheelEventTime||0);this._lastWheelEventTime=K,ee!==0&&ee%wc==0?this._type="wheel":ee!==0&&Math.abs(ee)<4?this._type="trackpad":le>400?(this._type=null,this._lastValue=ee,this._timeout=setTimeout(this._onTimeout,40,Y)):this._type||(this._type=Math.abs(le*ee)<200?"trackpad":"wheel",this._timeout&&(clearTimeout(this._timeout),this._timeout=null,ee+=this._lastValue)),Y.shiftKey&&ee&&(ee/=4),this._type&&(this._lastWheelEvent=Y,this._delta-=ee,this._active||this._start(Y)),Y.preventDefault()}},vo.prototype._onTimeout=function(Y){this._type="wheel",this._delta-=this._lastValue,this._active||this._start(Y)},vo.prototype._start=function(Y){if(this._delta){this._frameId&&(this._frameId=null),this._active=!0,this.isZooming()||(this._zooming=!0),this._finishTimeout&&(clearTimeout(this._finishTimeout),delete this._finishTimeout);var ee=v.mousePos(this._el,Y);this._around=i.LngLat.convert(this._aroundCenter?this._map.getCenter():this._map.unproject(ee)),this._aroundPoint=this._map.transform.locationPoint(this._around),this._frameId||(this._frameId=!0,this._handler._triggerRenderFrame())}},vo.prototype.renderFrame=function(){return this._onScrollFrame()},vo.prototype._onScrollFrame=function(){var Y=this;if(this._frameId&&(this._frameId=null,this.isActive())){var ee=this._map.transform;if(this._delta!==0){var K=this._type==="wheel"&&Math.abs(this._delta)>wc?this._wheelZoomRate:this._defaultZoomRate,le=2/(1+Math.exp(-Math.abs(this._delta*K)));this._delta<0&&le!==0&&(le=1/le);var Te=typeof this._targetZoom=="number"?ee.zoomScale(this._targetZoom):ee.scale;this._targetZoom=Math.min(ee.maxZoom,Math.max(ee.minZoom,ee.scaleZoom(Te*le))),this._type==="wheel"&&(this._startZoom=ee.zoom,this._easing=this._smoothOutEasing(200)),this._delta=0}var De,He=typeof this._targetZoom=="number"?this._targetZoom:ee.zoom,Ze=this._startZoom,at=this._easing,Tt=!1;if(this._type==="wheel"&&Ze&&at){var At=Math.min((i.browser.now()-this._lastWheelEventTime)/200,1),se=at(At);De=i.number(Ze,He,se),At<1?this._frameId||(this._frameId=!0):Tt=!0}else De=He,Tt=!0;return this._active=!0,Tt&&(this._active=!1,this._finishTimeout=setTimeout(function(){Y._zooming=!1,Y._handler._triggerRenderFrame(),delete Y._targetZoom,delete Y._finishTimeout},200)),{noInertia:!0,needsRenderFrame:!Tt,zoomDelta:De-ee.zoom,around:this._aroundPoint,originalEvent:this._lastWheelEvent}}},vo.prototype._smoothOutEasing=function(Y){var ee=i.ease;if(this._prevEase){var K=this._prevEase,le=(i.browser.now()-K.start)/K.duration,Te=K.easing(le+.01)-K.easing(le),De=.27/Math.sqrt(Te*Te+1e-4)*.01,He=Math.sqrt(.0729-De*De);ee=i.bezier(De,He,.25,1)}return this._prevEase={start:i.browser.now(),duration:Y,easing:ee},ee},vo.prototype.reset=function(){this._active=!1};var cu=function(Y,ee){this._clickZoom=Y,this._tapZoom=ee};cu.prototype.enable=function(){this._clickZoom.enable(),this._tapZoom.enable()},cu.prototype.disable=function(){this._clickZoom.disable(),this._tapZoom.disable()},cu.prototype.isEnabled=function(){return this._clickZoom.isEnabled()&&this._tapZoom.isEnabled()},cu.prototype.isActive=function(){return this._clickZoom.isActive()||this._tapZoom.isActive()};var ll=function(){this.reset()};ll.prototype.reset=function(){this._active=!1},ll.prototype.dblclick=function(Y,ee){return Y.preventDefault(),{cameraAnimation:function(K){K.easeTo({duration:300,zoom:K.getZoom()+(Y.shiftKey?-1:1),around:K.unproject(ee)},{originalEvent:Y})}}},ll.prototype.enable=function(){this._enabled=!0},ll.prototype.disable=function(){this._enabled=!1,this.reset()},ll.prototype.isEnabled=function(){return this._enabled},ll.prototype.isActive=function(){return this._active};var Zo=function(){this._tap=new Rl({numTouches:1,numTaps:1}),this.reset()};Zo.prototype.reset=function(){this._active=!1,delete this._swipePoint,delete this._swipeTouch,delete this._tapTime,this._tap.reset()},Zo.prototype.touchstart=function(Y,ee,K){this._swipePoint||(this._tapTime&&Y.timeStamp-this._tapTime>500&&this.reset(),this._tapTime?K.length>0&&(this._swipePoint=ee[0],this._swipeTouch=K[0].identifier):this._tap.touchstart(Y,ee,K))},Zo.prototype.touchmove=function(Y,ee,K){if(this._tapTime){if(this._swipePoint){if(K[0].identifier!==this._swipeTouch)return;var le=ee[0],Te=le.y-this._swipePoint.y;return this._swipePoint=le,Y.preventDefault(),this._active=!0,{zoomDelta:Te/128}}}else this._tap.touchmove(Y,ee,K)},Zo.prototype.touchend=function(Y,ee,K){this._tapTime?this._swipePoint&&K.length===0&&this.reset():this._tap.touchend(Y,ee,K)&&(this._tapTime=Y.timeStamp)},Zo.prototype.touchcancel=function(){this.reset()},Zo.prototype.enable=function(){this._enabled=!0},Zo.prototype.disable=function(){this._enabled=!1,this.reset()},Zo.prototype.isEnabled=function(){return this._enabled},Zo.prototype.isActive=function(){return this._active};var Pl=function(Y,ee,K){this._el=Y,this._mousePan=ee,this._touchPan=K};Pl.prototype.enable=function(Y){this._inertiaOptions=Y||{},this._mousePan.enable(),this._touchPan.enable(),this._el.classList.add("mapboxgl-touch-drag-pan")},Pl.prototype.disable=function(){this._mousePan.disable(),this._touchPan.disable(),this._el.classList.remove("mapboxgl-touch-drag-pan")},Pl.prototype.isEnabled=function(){return this._mousePan.isEnabled()&&this._touchPan.isEnabled()},Pl.prototype.isActive=function(){return this._mousePan.isActive()||this._touchPan.isActive()};var Ls=function(Y,ee,K){this._pitchWithRotate=Y.pitchWithRotate,this._mouseRotate=ee,this._mousePitch=K};Ls.prototype.enable=function(){this._mouseRotate.enable(),this._pitchWithRotate&&this._mousePitch.enable()},Ls.prototype.disable=function(){this._mouseRotate.disable(),this._mousePitch.disable()},Ls.prototype.isEnabled=function(){return this._mouseRotate.isEnabled()&&(!this._pitchWithRotate||this._mousePitch.isEnabled())},Ls.prototype.isActive=function(){return this._mouseRotate.isActive()||this._mousePitch.isActive()};var bs=function(Y,ee,K,le){this._el=Y,this._touchZoom=ee,this._touchRotate=K,this._tapDragZoom=le,this._rotationDisabled=!1,this._enabled=!0};bs.prototype.enable=function(Y){this._touchZoom.enable(Y),this._rotationDisabled||this._touchRotate.enable(Y),this._tapDragZoom.enable(),this._el.classList.add("mapboxgl-touch-zoom-rotate")},bs.prototype.disable=function(){this._touchZoom.disable(),this._touchRotate.disable(),this._tapDragZoom.disable(),this._el.classList.remove("mapboxgl-touch-zoom-rotate")},bs.prototype.isEnabled=function(){return this._touchZoom.isEnabled()&&(this._rotationDisabled||this._touchRotate.isEnabled())&&this._tapDragZoom.isEnabled()},bs.prototype.isActive=function(){return this._touchZoom.isActive()||this._touchRotate.isActive()||this._tapDragZoom.isActive()},bs.prototype.disableRotation=function(){this._rotationDisabled=!0,this._touchRotate.disable()},bs.prototype.enableRotation=function(){this._rotationDisabled=!1,this._touchZoom.isEnabled()&&this._touchRotate.enable()};var hu=function(Y){return Y.zoom||Y.drag||Y.pitch||Y.rotate},yo=function(Y){function ee(){Y.apply(this,arguments)}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee}(i.Event);function xs(Y){return Y.panDelta&&Y.panDelta.mag()||Y.zoomDelta||Y.bearingDelta||Y.pitchDelta}var Yi=function(Y,ee){this._map=Y,this._el=this._map.getCanvasContainer(),this._handlers=[],this._handlersById={},this._changes=[],this._inertia=new ou(Y),this._bearingSnap=ee.bearingSnap,this._previousActiveHandlers={},this._eventsInProgress={},this._addDefaultHandlers(ee),i.bindAll(["handleEvent","handleWindowEvent"],this);var K=this._el;this._listeners=[[K,"touchstart",{passive:!1}],[K,"touchmove",{passive:!1}],[K,"touchend",void 0],[K,"touchcancel",void 0],[K,"mousedown",void 0],[K,"mousemove",void 0],[K,"mouseup",void 0],[i.window.document,"mousemove",{capture:!0}],[i.window.document,"mouseup",void 0],[K,"mouseover",void 0],[K,"mouseout",void 0],[K,"dblclick",void 0],[K,"click",void 0],[K,"keydown",{capture:!1}],[K,"keyup",void 0],[K,"wheel",{passive:!1}],[K,"contextmenu",void 0],[i.window,"blur",void 0]];for(var le=0,Te=this._listeners;leHe?Math.min(2,Ut):Math.max(.5,Ut),ln=Math.pow(tn,1-en),an=De.unproject(mt.add(zt.mult(en*ln)).mult(vn));De.setLocationAtPoint(De.renderWorldCopies?an.wrap():an,Ue)}Te._fireMoveEvents(le)},function(en){Te._afterEase(le,en)},K),this},ee.prototype._prepareEase=function(K,le,Te){Te===void 0&&(Te={}),this._moving=!0,le||Te.moving||this.fire(new i.Event("movestart",K)),this._zooming&&!Te.zooming&&this.fire(new i.Event("zoomstart",K)),this._rotating&&!Te.rotating&&this.fire(new i.Event("rotatestart",K)),this._pitching&&!Te.pitching&&this.fire(new i.Event("pitchstart",K))},ee.prototype._fireMoveEvents=function(K){this.fire(new i.Event("move",K)),this._zooming&&this.fire(new i.Event("zoom",K)),this._rotating&&this.fire(new i.Event("rotate",K)),this._pitching&&this.fire(new i.Event("pitch",K))},ee.prototype._afterEase=function(K,le){if(!this._easeId||!le||this._easeId!==le){delete this._easeId;var Te=this._zooming,De=this._rotating,He=this._pitching;this._moving=!1,this._zooming=!1,this._rotating=!1,this._pitching=!1,this._padding=!1,Te&&this.fire(new i.Event("zoomend",K)),De&&this.fire(new i.Event("rotateend",K)),He&&this.fire(new i.Event("pitchend",K)),this.fire(new i.Event("moveend",K))}},ee.prototype.flyTo=function(K,le){var Te=this;if(!K.essential&&i.browser.prefersReducedMotion){var De=i.pick(K,["center","zoom","bearing","pitch","around"]);return this.jumpTo(De,le)}this.stop(),K=i.extend({offset:[0,0],speed:1.2,curve:1.42,easing:i.ease},K);var He=this.transform,Ze=this.getZoom(),at=this.getBearing(),Tt=this.getPitch(),At=this.getPadding(),se="zoom"in K?i.clamp(+K.zoom,He.minZoom,He.maxZoom):Ze,ve="bearing"in K?this._normalizeBearing(K.bearing,at):at,Ie="pitch"in K?+K.pitch:Tt,Fe="padding"in K?K.padding:He.padding,Ue=He.zoomScale(se-Ze),We=i.Point.convert(K.offset),Xe=He.centerPoint.add(We),tt=He.pointLocation(Xe),lt=i.LngLat.convert(K.center||tt);this._normalizeCenter(lt);var mt=He.project(tt),zt=He.project(lt).sub(mt),Ut=K.curve,Ht=Math.max(He.width,He.height),en=Ht/Ue,vn=zt.mag();if("minZoom"in K){var tn=i.clamp(Math.min(K.minZoom,Ze,se),He.minZoom,He.maxZoom),ln=Ht/He.zoomScale(tn-Ze);Ut=Math.sqrt(ln/vn*2)}var an=Ut*Ut;function Cn(xr){var kr=(en*en-Ht*Ht+(xr?-1:1)*an*an*vn*vn)/(2*(xr?en:Ht)*an*vn);return Math.log(Math.sqrt(kr*kr+1)-kr)}function _n(xr){return(Math.exp(xr)-Math.exp(-xr))/2}function on(xr){return(Math.exp(xr)+Math.exp(-xr))/2}var Fn=Cn(0),Hn=function(xr){return on(Fn)/on(Fn+Ut*xr)},ir=function(xr){return Ht*((on(Fn)*(_n(kr=Fn+Ut*xr)/on(kr))-_n(Fn))/an)/vn;var kr},ar=(Cn(1)-Fn)/Ut;if(Math.abs(vn)<1e-6||!isFinite(ar)){if(Math.abs(Ht-en)<1e-6)return this.easeTo(K,le);var Mr=enK.maxDuration&&(K.duration=0),this._zooming=!0,this._rotating=at!==ve,this._pitching=Ie!==Tt,this._padding=!He.isPaddingEqual(Fe),this._prepareEase(le,!1),this._ease(function(xr){var kr=xr*ar,jr=1/Hn(kr);He.zoom=xr===1?se:Ze+He.scaleZoom(jr),Te._rotating&&(He.bearing=i.number(at,ve,xr)),Te._pitching&&(He.pitch=i.number(Tt,Ie,xr)),Te._padding&&(He.interpolatePadding(At,Fe,xr),Xe=He.centerPoint.add(We));var fi=xr===1?lt:He.unproject(mt.add(zt.mult(ir(kr))).mult(jr));He.setLocationAtPoint(He.renderWorldCopies?fi.wrap():fi,Xe),Te._fireMoveEvents(le)},function(){return Te._afterEase(le)},K),this},ee.prototype.isEasing=function(){return!!this._easeFrameId},ee.prototype.stop=function(){return this._stop()},ee.prototype._stop=function(K,le){if(this._easeFrameId&&(this._cancelRenderFrame(this._easeFrameId),delete this._easeFrameId,delete this._onEaseFrame),this._onEaseEnd){var Te=this._onEaseEnd;delete this._onEaseEnd,Te.call(this,le)}if(!K){var De=this.handlers;De&&De.stop()}return this},ee.prototype._ease=function(K,le,Te){Te.animate===!1||Te.duration===0?(K(1),le()):(this._easeStart=i.browser.now(),this._easeOptions=Te,this._onEaseFrame=K,this._onEaseEnd=le,this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback))},ee.prototype._renderFrameCallback=function(){var K=Math.min((i.browser.now()-this._easeStart)/this._easeOptions.duration,1);this._onEaseFrame(this._easeOptions.easing(K)),K<1?this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback):this.stop()},ee.prototype._normalizeBearing=function(K,le){K=i.wrap(K,-180,180);var Te=Math.abs(K-le);return Math.abs(K-360-le)180?-360:Te<-180?360:0}},ee}(i.Evented),os=function(Y){Y===void 0&&(Y={}),this.options=Y,i.bindAll(["_updateEditLink","_updateData","_updateCompact"],this)};os.prototype.getDefaultPosition=function(){return"bottom-right"},os.prototype.onAdd=function(Y){var ee=this.options&&this.options.compact;return this._map=Y,this._container=v.create("div","mapboxgl-ctrl mapboxgl-ctrl-attrib"),this._innerContainer=v.create("div","mapboxgl-ctrl-attrib-inner",this._container),ee&&this._container.classList.add("mapboxgl-compact"),this._updateAttributions(),this._updateEditLink(),this._map.on("styledata",this._updateData),this._map.on("sourcedata",this._updateData),this._map.on("moveend",this._updateEditLink),ee===void 0&&(this._map.on("resize",this._updateCompact),this._updateCompact()),this._container},os.prototype.onRemove=function(){v.remove(this._container),this._map.off("styledata",this._updateData),this._map.off("sourcedata",this._updateData),this._map.off("moveend",this._updateEditLink),this._map.off("resize",this._updateCompact),this._map=void 0,this._attribHTML=void 0},os.prototype._updateEditLink=function(){var Y=this._editLink;Y||(Y=this._editLink=this._container.querySelector(".mapbox-improve-map"));var ee=[{key:"owner",value:this.styleOwner},{key:"id",value:this.styleId},{key:"access_token",value:this._map._requestManager._customAccessToken||i.config.ACCESS_TOKEN}];if(Y){var K=ee.reduce(function(le,Te,De){return Te.value&&(le+=Te.key+"="+Te.value+(De=0)return!1;return!0})).join(" | ");He!==this._attribHTML&&(this._attribHTML=He,Y.length?(this._innerContainer.innerHTML=He,this._container.classList.remove("mapboxgl-attrib-empty")):this._container.classList.add("mapboxgl-attrib-empty"),this._editLink=null)}},os.prototype._updateCompact=function(){this._map.getCanvasContainer().offsetWidth<=640?this._container.classList.add("mapboxgl-compact"):this._container.classList.remove("mapboxgl-compact")};var _s=function(){i.bindAll(["_updateLogo"],this),i.bindAll(["_updateCompact"],this)};_s.prototype.onAdd=function(Y){this._map=Y,this._container=v.create("div","mapboxgl-ctrl");var ee=v.create("a","mapboxgl-ctrl-logo");return ee.target="_blank",ee.rel="noopener nofollow",ee.href="https://www.mapbox.com/",ee.setAttribute("aria-label",this._map._getUIString("LogoControl.Title")),ee.setAttribute("rel","noopener nofollow"),this._container.appendChild(ee),this._container.style.display="none",this._map.on("sourcedata",this._updateLogo),this._updateLogo(),this._map.on("resize",this._updateCompact),this._updateCompact(),this._container},_s.prototype.onRemove=function(){v.remove(this._container),this._map.off("sourcedata",this._updateLogo),this._map.off("resize",this._updateCompact)},_s.prototype.getDefaultPosition=function(){return"bottom-left"},_s.prototype._updateLogo=function(Y){Y&&Y.sourceDataType!=="metadata"||(this._container.style.display=this._logoRequired()?"block":"none")},_s.prototype._logoRequired=function(){if(this._map.style){var Y=this._map.style.sourceCaches;for(var ee in Y)if(Y[ee].getSource().mapbox_logo)return!0;return!1}},_s.prototype._updateCompact=function(){var Y=this._container.children;if(Y.length){var ee=Y[0];this._map.getCanvasContainer().offsetWidth<250?ee.classList.add("mapboxgl-compact"):ee.classList.remove("mapboxgl-compact")}};var Gs=function(){this._queue=[],this._id=0,this._cleared=!1,this._currentlyRunning=!1};Gs.prototype.add=function(Y){var ee=++this._id;return this._queue.push({callback:Y,id:ee,cancelled:!1}),ee},Gs.prototype.remove=function(Y){for(var ee=this._currentlyRunning,K=0,le=ee?this._queue.concat(ee):this._queue;Kle.maxZoom)throw new Error("maxZoom must be greater than or equal to minZoom");if(le.minPitch!=null&&le.maxPitch!=null&&le.minPitch>le.maxPitch)throw new Error("maxPitch must be greater than or equal to minPitch");if(le.minPitch!=null&&le.minPitch<0)throw new Error("minPitch must be greater than or equal to 0");if(le.maxPitch!=null&&le.maxPitch>No)throw new Error("maxPitch must be less than or equal to 60");var De=new Oi(le.minZoom,le.maxZoom,le.minPitch,le.maxPitch,le.renderWorldCopies);if(Y.call(this,De,le),this._interactive=le.interactive,this._maxTileCacheSize=le.maxTileCacheSize,this._failIfMajorPerformanceCaveat=le.failIfMajorPerformanceCaveat,this._preserveDrawingBuffer=le.preserveDrawingBuffer,this._antialias=le.antialias,this._trackResize=le.trackResize,this._bearingSnap=le.bearingSnap,this._refreshExpiredTiles=le.refreshExpiredTiles,this._fadeDuration=le.fadeDuration,this._crossSourceCollisions=le.crossSourceCollisions,this._crossFadingFactor=1,this._collectResourceTiming=le.collectResourceTiming,this._renderTaskQueue=new Gs,this._controls=[],this._mapId=i.uniqueId(),this._locale=i.extend({},Bo,le.locale),this._requestManager=new i.RequestManager(le.transformRequest,le.accessToken),typeof le.container=="string"){if(this._container=i.window.document.getElementById(le.container),!this._container)throw new Error("Container '"+le.container+"' not found.")}else{if(!(le.container instanceof no))throw new Error("Invalid type: 'container' must be a String or HTMLElement.");this._container=le.container}if(le.maxBounds&&this.setMaxBounds(le.maxBounds),i.bindAll(["_onWindowOnline","_onWindowResize","_contextLost","_contextRestored"],this),this._setupContainer(),this._setupPainter(),this.painter===void 0)throw new Error("Failed to initialize WebGL.");this.on("move",function(){return Te._update(!1)}),this.on("moveend",function(){return Te._update(!1)}),this.on("zoom",function(){return Te._update(!0)}),i.window!==void 0&&(i.window.addEventListener("online",this._onWindowOnline,!1),i.window.addEventListener("resize",this._onWindowResize,!1)),this.handlers=new Yi(this,le);var He=typeof le.hash=="string"&&le.hash||void 0;this._hash=le.hash&&new ol(He).addTo(this),this._hash&&this._hash._onHashChange()||(this.jumpTo({center:le.center,zoom:le.zoom,bearing:le.bearing,pitch:le.pitch}),le.bounds&&(this.resize(),this.fitBounds(le.bounds,i.extend({},le.fitBoundsOptions,{duration:0})))),this.resize(),this._localIdeographFontFamily=le.localIdeographFontFamily,le.style&&this.setStyle(le.style,{localIdeographFontFamily:le.localIdeographFontFamily}),le.attributionControl&&this.addControl(new os({customAttribution:le.customAttribution})),this.addControl(new _s,le.logoPosition),this.on("style.load",function(){Te.transform.unmodified&&Te.jumpTo(Te.style.stylesheet)}),this.on("data",function(Ze){Te._update(Ze.dataType==="style"),Te.fire(new i.Event(Ze.dataType+"data",Ze))}),this.on("dataloading",function(Ze){Te.fire(new i.Event(Ze.dataType+"dataloading",Ze))})}Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee;var K={showTileBoundaries:{configurable:!0},showPadding:{configurable:!0},showCollisionBoxes:{configurable:!0},showOverdrawInspector:{configurable:!0},repaint:{configurable:!0},vertices:{configurable:!0},version:{configurable:!0}};return ee.prototype._getMapId=function(){return this._mapId},ee.prototype.addControl=function(le,Te){if(Te===void 0&&le.getDefaultPosition&&(Te=le.getDefaultPosition()),Te===void 0&&(Te="top-right"),!le||!le.onAdd)return this.fire(new i.ErrorEvent(new Error("Invalid argument to map.addControl(). Argument must be a control with onAdd and onRemove methods.")));var De=le.onAdd(this);this._controls.push(le);var He=this._controlPositions[Te];return Te.indexOf("bottom")!==-1?He.insertBefore(De,He.firstChild):He.appendChild(De),this},ee.prototype.removeControl=function(le){if(!le||!le.onRemove)return this.fire(new i.ErrorEvent(new Error("Invalid argument to map.removeControl(). Argument must be a control with onAdd and onRemove methods.")));var Te=this._controls.indexOf(le);return Te>-1&&this._controls.splice(Te,1),le.onRemove(this),this},ee.prototype.resize=function(le){var Te=this._containerDimensions(),De=Te[0],He=Te[1];this._resizeCanvas(De,He),this.transform.resize(De,He),this.painter.resize(De,He);var Ze=!this._moving;return Ze&&(this.stop(),this.fire(new i.Event("movestart",le)).fire(new i.Event("move",le))),this.fire(new i.Event("resize",le)),Ze&&this.fire(new i.Event("moveend",le)),this},ee.prototype.getBounds=function(){return this.transform.getBounds()},ee.prototype.getMaxBounds=function(){return this.transform.getMaxBounds()},ee.prototype.setMaxBounds=function(le){return this.transform.setMaxBounds(i.LngLatBounds.convert(le)),this._update()},ee.prototype.setMinZoom=function(le){if((le=le??-2)>=-2&&le<=this.transform.maxZoom)return this.transform.minZoom=le,this._update(),this.getZoom()=this.transform.minZoom)return this.transform.maxZoom=le,this._update(),this.getZoom()>le&&this.setZoom(le),this;throw new Error("maxZoom must be greater than the current minZoom")},ee.prototype.getMaxZoom=function(){return this.transform.maxZoom},ee.prototype.setMinPitch=function(le){if((le=le??0)<0)throw new Error("minPitch must be greater than or equal to 0");if(le>=0&&le<=this.transform.maxPitch)return this.transform.minPitch=le,this._update(),this.getPitch()No)throw new Error("maxPitch must be less than or equal to 60");if(le>=this.transform.minPitch)return this.transform.maxPitch=le,this._update(),this.getPitch()>le&&this.setPitch(le),this;throw new Error("maxPitch must be greater than the current minPitch")},ee.prototype.getMaxPitch=function(){return this.transform.maxPitch},ee.prototype.getRenderWorldCopies=function(){return this.transform.renderWorldCopies},ee.prototype.setRenderWorldCopies=function(le){return this.transform.renderWorldCopies=le,this._update()},ee.prototype.project=function(le){return this.transform.locationPoint(i.LngLat.convert(le))},ee.prototype.unproject=function(le){return this.transform.pointLocation(i.Point.convert(le))},ee.prototype.isMoving=function(){return this._moving||this.handlers.isMoving()},ee.prototype.isZooming=function(){return this._zooming||this.handlers.isZooming()},ee.prototype.isRotating=function(){return this._rotating||this.handlers.isRotating()},ee.prototype._createDelegatedListener=function(le,Te,De){var He,Ze=this;if(le==="mouseenter"||le==="mouseover"){var at=!1;return{layer:Te,listener:De,delegates:{mousemove:function(At){var se=Ze.getLayer(Te)?Ze.queryRenderedFeatures(At.point,{layers:[Te]}):[];se.length?at||(at=!0,De.call(Ze,new da(le,Ze,At.originalEvent,{features:se}))):at=!1},mouseout:function(){at=!1}}}}if(le==="mouseleave"||le==="mouseout"){var Tt=!1;return{layer:Te,listener:De,delegates:{mousemove:function(At){(Ze.getLayer(Te)?Ze.queryRenderedFeatures(At.point,{layers:[Te]}):[]).length?Tt=!0:Tt&&(Tt=!1,De.call(Ze,new da(le,Ze,At.originalEvent)))},mouseout:function(At){Tt&&(Tt=!1,De.call(Ze,new da(le,Ze,At.originalEvent)))}}}}return{layer:Te,listener:De,delegates:(He={},He[le]=function(At){var se=Ze.getLayer(Te)?Ze.queryRenderedFeatures(At.point,{layers:[Te]}):[];se.length&&(At.features=se,De.call(Ze,At),delete At.features)},He)}},ee.prototype.on=function(le,Te,De){if(De===void 0)return Y.prototype.on.call(this,le,Te);var He=this._createDelegatedListener(le,Te,De);for(var Ze in this._delegatedListeners=this._delegatedListeners||{},this._delegatedListeners[le]=this._delegatedListeners[le]||[],this._delegatedListeners[le].push(He),He.delegates)this.on(Ze,He.delegates[Ze]);return this},ee.prototype.once=function(le,Te,De){if(De===void 0)return Y.prototype.once.call(this,le,Te);var He=this._createDelegatedListener(le,Te,De);for(var Ze in He.delegates)this.once(Ze,He.delegates[Ze]);return this},ee.prototype.off=function(le,Te,De){var He=this;return De===void 0?Y.prototype.off.call(this,le,Te):(this._delegatedListeners&&this._delegatedListeners[le]&&function(Ze){for(var at=Ze[le],Tt=0;Tt180;){var He=K.locationPoint(Y);if(He.x>=0&&He.y>=0&&He.x<=K.width&&He.y<=K.height)break;Y.lng>K.center.lng?Y.lng-=360:Y.lng+=360}return Y}Hr.prototype.down=function(Y,ee){this.mouseRotate.mousedown(Y,ee),this.mousePitch&&this.mousePitch.mousedown(Y,ee),v.disableDrag()},Hr.prototype.move=function(Y,ee){var K=this.map,le=this.mouseRotate.mousemoveWindow(Y,ee);if(le&&le.bearingDelta&&K.setBearing(K.getBearing()+le.bearingDelta),this.mousePitch){var Te=this.mousePitch.mousemoveWindow(Y,ee);Te&&Te.pitchDelta&&K.setPitch(K.getPitch()+Te.pitchDelta)}},Hr.prototype.off=function(){var Y=this.element;v.removeEventListener(Y,"mousedown",this.mousedown),v.removeEventListener(Y,"touchstart",this.touchstart,{passive:!1}),v.removeEventListener(Y,"touchmove",this.touchmove),v.removeEventListener(Y,"touchend",this.touchend),v.removeEventListener(Y,"touchcancel",this.reset),this.offTemp()},Hr.prototype.offTemp=function(){v.enableDrag(),v.removeEventListener(i.window,"mousemove",this.mousemove),v.removeEventListener(i.window,"mouseup",this.mouseup)},Hr.prototype.mousedown=function(Y){this.down(i.extend({},Y,{ctrlKey:!0,preventDefault:function(){return Y.preventDefault()}}),v.mousePos(this.element,Y)),v.addEventListener(i.window,"mousemove",this.mousemove),v.addEventListener(i.window,"mouseup",this.mouseup)},Hr.prototype.mousemove=function(Y){this.move(Y,v.mousePos(this.element,Y))},Hr.prototype.mouseup=function(Y){this.mouseRotate.mouseupWindow(Y),this.mousePitch&&this.mousePitch.mouseupWindow(Y),this.offTemp()},Hr.prototype.touchstart=function(Y){Y.targetTouches.length!==1?this.reset():(this._startPos=this._lastPos=v.touchPos(this.element,Y.targetTouches)[0],this.down({type:"mousedown",button:0,ctrlKey:!0,preventDefault:function(){return Y.preventDefault()}},this._startPos))},Hr.prototype.touchmove=function(Y){Y.targetTouches.length!==1?this.reset():(this._lastPos=v.touchPos(this.element,Y.targetTouches)[0],this.move({preventDefault:function(){return Y.preventDefault()}},this._lastPos))},Hr.prototype.touchend=function(Y){Y.targetTouches.length===0&&this._startPos&&this._lastPos&&this._startPos.dist(this._lastPos)le.getEast()||Te.latitudele.getNorth())},ee.prototype._setErrorState=function(){switch(this._watchState){case"WAITING_ACTIVE":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"ACTIVE_LOCK":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting");break;case"BACKGROUND":this._watchState="BACKGROUND_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting")}},ee.prototype._onSuccess=function(K){if(this._map){if(this._isOutOfMapMaxBounds(K))return this._setErrorState(),this.fire(new i.Event("outofmaxbounds",K)),this._updateMarker(),void this._finish();if(this.options.trackUserLocation)switch(this._lastKnownPosition=K,this._watchState){case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"BACKGROUND":case"BACKGROUND_ERROR":this._watchState="BACKGROUND",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background")}this.options.showUserLocation&&this._watchState!=="OFF"&&this._updateMarker(K),this.options.trackUserLocation&&this._watchState!=="ACTIVE_LOCK"||this._updateCamera(K),this.options.showUserLocation&&this._dotElement.classList.remove("mapboxgl-user-location-dot-stale"),this.fire(new i.Event("geolocate",K)),this._finish()}},ee.prototype._updateCamera=function(K){var le=new i.LngLat(K.coords.longitude,K.coords.latitude),Te=K.coords.accuracy,De=this._map.getBearing(),He=i.extend({bearing:De},this.options.fitBoundsOptions);this._map.fitBounds(le.toBounds(Te),He,{geolocateSource:!0})},ee.prototype._updateMarker=function(K){if(K){var le=new i.LngLat(K.coords.longitude,K.coords.latitude);this._accuracyCircleMarker.setLngLat(le).addTo(this._map),this._userLocationDotMarker.setLngLat(le).addTo(this._map),this._accuracy=K.coords.accuracy,this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()}else this._userLocationDotMarker.remove(),this._accuracyCircleMarker.remove()},ee.prototype._updateCircleRadius=function(){var K=this._map._container.clientHeight/2,le=this._map.unproject([0,K]),Te=this._map.unproject([1,K]),De=le.distanceTo(Te),He=Math.ceil(2*this._accuracy/De);this._circleElement.style.width=He+"px",this._circleElement.style.height=He+"px"},ee.prototype._onZoom=function(){this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()},ee.prototype._onError=function(K){if(this._map){if(this.options.trackUserLocation)if(K.code===1){this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.disabled=!0;var le=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.title=le,this._geolocateButton.setAttribute("aria-label",le),this._geolocationWatchID!==void 0&&this._clearWatch()}else{if(K.code===3&&ju)return;this._setErrorState()}this._watchState!=="OFF"&&this.options.showUserLocation&&this._dotElement.classList.add("mapboxgl-user-location-dot-stale"),this.fire(new i.Event("error",K)),this._finish()}},ee.prototype._finish=function(){this._timeoutId&&clearTimeout(this._timeoutId),this._timeoutId=void 0},ee.prototype._setupUI=function(K){var le=this;if(this._container.addEventListener("contextmenu",function(He){return He.preventDefault()}),this._geolocateButton=v.create("button","mapboxgl-ctrl-geolocate",this._container),v.create("span","mapboxgl-ctrl-icon",this._geolocateButton).setAttribute("aria-hidden",!0),this._geolocateButton.type="button",K===!1){i.warnOnce("Geolocation support is not available so the GeolocateControl will be disabled.");var Te=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.disabled=!0,this._geolocateButton.title=Te,this._geolocateButton.setAttribute("aria-label",Te)}else{var De=this._map._getUIString("GeolocateControl.FindMyLocation");this._geolocateButton.title=De,this._geolocateButton.setAttribute("aria-label",De)}this.options.trackUserLocation&&(this._geolocateButton.setAttribute("aria-pressed","false"),this._watchState="OFF"),this.options.showUserLocation&&(this._dotElement=v.create("div","mapboxgl-user-location-dot"),this._userLocationDotMarker=new xo(this._dotElement),this._circleElement=v.create("div","mapboxgl-user-location-accuracy-circle"),this._accuracyCircleMarker=new xo({element:this._circleElement,pitchAlignment:"map"}),this.options.trackUserLocation&&(this._watchState="OFF"),this._map.on("zoom",this._onZoom)),this._geolocateButton.addEventListener("click",this.trigger.bind(this)),this._setup=!0,this.options.trackUserLocation&&this._map.on("movestart",function(He){var Ze=He.originalEvent&&He.originalEvent.type==="resize";He.geolocateSource||le._watchState!=="ACTIVE_LOCK"||Ze||(le._watchState="BACKGROUND",le._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background"),le._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),le.fire(new i.Event("trackuserlocationend")))})},ee.prototype.trigger=function(){if(!this._setup)return i.warnOnce("Geolocate control triggered before added to a map"),!1;if(this.options.trackUserLocation){switch(this._watchState){case"OFF":this._watchState="WAITING_ACTIVE",this.fire(new i.Event("trackuserlocationstart"));break;case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":case"BACKGROUND_ERROR":Vo--,ju=!1,this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this.fire(new i.Event("trackuserlocationend"));break;case"BACKGROUND":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._lastKnownPosition&&this._updateCamera(this._lastKnownPosition),this.fire(new i.Event("trackuserlocationstart"))}switch(this._watchState){case"WAITING_ACTIVE":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_LOCK":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"BACKGROUND":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background");break;case"BACKGROUND_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error")}if(this._watchState==="OFF"&&this._geolocationWatchID!==void 0)this._clearWatch();else if(this._geolocationWatchID===void 0){var K;this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","true"),++Vo>1?(K={maximumAge:6e5,timeout:0},ju=!0):(K=this.options.positionOptions,ju=!1),this._geolocationWatchID=i.window.navigator.geolocation.watchPosition(this._onSuccess,this._onError,K)}}else i.window.navigator.geolocation.getCurrentPosition(this._onSuccess,this._onError,this.options.positionOptions),this._timeoutId=setTimeout(this._finish,1e4);return!0},ee.prototype._clearWatch=function(){i.window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0,this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","false"),this.options.showUserLocation&&this._updateMarker(null)},ee}(i.Evented),Ji={maxWidth:100,unit:"metric"},la=function(Y){this.options=i.extend({},Ji,Y),i.bindAll(["_onMove","setUnit"],this)};function Xc(Y,ee,K){var le=K&&K.maxWidth||100,Te=Y._container.clientHeight/2,De=Y.unproject([0,Te]),He=Y.unproject([le,Te]),Ze=De.distanceTo(He);if(K&&K.unit==="imperial"){var at=3.2808*Ze;at>5280?et(ee,le,at/5280,Y._getUIString("ScaleControl.Miles")):et(ee,le,at,Y._getUIString("ScaleControl.Feet"))}else K&&K.unit==="nautical"?et(ee,le,Ze/1852,Y._getUIString("ScaleControl.NauticalMiles")):Ze>=1e3?et(ee,le,Ze/1e3,Y._getUIString("ScaleControl.Kilometers")):et(ee,le,Ze,Y._getUIString("ScaleControl.Meters"))}function et(Y,ee,K,le){var Te,De,He,Ze=(Te=K,(De=Math.pow(10,(""+Math.floor(Te)).length-1))*((He=Te/De)>=10?10:He>=5?5:He>=3?3:He>=2?2:He>=1?1:function(Tt){var At=Math.pow(10,Math.ceil(-Math.log(Tt)/Math.LN10));return Math.round(Tt*At)/At}(He))),at=Ze/K;Y.style.width=ee*at+"px",Y.innerHTML=Ze+" "+le}la.prototype.getDefaultPosition=function(){return"bottom-left"},la.prototype._onMove=function(){Xc(this._map,this._container,this.options)},la.prototype.onAdd=function(Y){return this._map=Y,this._container=v.create("div","mapboxgl-ctrl mapboxgl-ctrl-scale",Y.getContainer()),this._map.on("move",this._onMove),this._onMove(),this._container},la.prototype.onRemove=function(){v.remove(this._container),this._map.off("move",this._onMove),this._map=void 0},la.prototype.setUnit=function(Y){this.options.unit=Y,Xc(this._map,this._container,this.options)};var rt=function(Y){this._fullscreen=!1,Y&&Y.container&&(Y.container instanceof i.window.HTMLElement?this._container=Y.container:i.warnOnce("Full screen control 'container' must be a DOM element.")),i.bindAll(["_onClickFullscreen","_changeIcon"],this),"onfullscreenchange"in i.window.document?this._fullscreenchange="fullscreenchange":"onmozfullscreenchange"in i.window.document?this._fullscreenchange="mozfullscreenchange":"onwebkitfullscreenchange"in i.window.document?this._fullscreenchange="webkitfullscreenchange":"onmsfullscreenchange"in i.window.document&&(this._fullscreenchange="MSFullscreenChange")};rt.prototype.onAdd=function(Y){return this._map=Y,this._container||(this._container=this._map.getContainer()),this._controlContainer=v.create("div","mapboxgl-ctrl mapboxgl-ctrl-group"),this._checkFullscreenSupport()?this._setupUI():(this._controlContainer.style.display="none",i.warnOnce("This device does not support fullscreen mode.")),this._controlContainer},rt.prototype.onRemove=function(){v.remove(this._controlContainer),this._map=null,i.window.document.removeEventListener(this._fullscreenchange,this._changeIcon)},rt.prototype._checkFullscreenSupport=function(){return!!(i.window.document.fullscreenEnabled||i.window.document.mozFullScreenEnabled||i.window.document.msFullscreenEnabled||i.window.document.webkitFullscreenEnabled)},rt.prototype._setupUI=function(){var Y=this._fullscreenButton=v.create("button","mapboxgl-ctrl-fullscreen",this._controlContainer);v.create("span","mapboxgl-ctrl-icon",Y).setAttribute("aria-hidden",!0),Y.type="button",this._updateTitle(),this._fullscreenButton.addEventListener("click",this._onClickFullscreen),i.window.document.addEventListener(this._fullscreenchange,this._changeIcon)},rt.prototype._updateTitle=function(){var Y=this._getTitle();this._fullscreenButton.setAttribute("aria-label",Y),this._fullscreenButton.title=Y},rt.prototype._getTitle=function(){return this._map._getUIString(this._isFullscreen()?"FullscreenControl.Exit":"FullscreenControl.Enter")},rt.prototype._isFullscreen=function(){return this._fullscreen},rt.prototype._changeIcon=function(){(i.window.document.fullscreenElement||i.window.document.mozFullScreenElement||i.window.document.webkitFullscreenElement||i.window.document.msFullscreenElement)===this._container!==this._fullscreen&&(this._fullscreen=!this._fullscreen,this._fullscreenButton.classList.toggle("mapboxgl-ctrl-shrink"),this._fullscreenButton.classList.toggle("mapboxgl-ctrl-fullscreen"),this._updateTitle())},rt.prototype._onClickFullscreen=function(){this._isFullscreen()?i.window.document.exitFullscreen?i.window.document.exitFullscreen():i.window.document.mozCancelFullScreen?i.window.document.mozCancelFullScreen():i.window.document.msExitFullscreen?i.window.document.msExitFullscreen():i.window.document.webkitCancelFullScreen&&i.window.document.webkitCancelFullScreen():this._container.requestFullscreen?this._container.requestFullscreen():this._container.mozRequestFullScreen?this._container.mozRequestFullScreen():this._container.msRequestFullscreen?this._container.msRequestFullscreen():this._container.webkitRequestFullscreen&&this._container.webkitRequestFullscreen()};var ct={closeButton:!0,closeOnClick:!0,className:"",maxWidth:"240px"},vt=function(Y){function ee(K){Y.call(this),this.options=i.extend(Object.create(ct),K),i.bindAll(["_update","_onClose","remove","_onMouseMove","_onMouseUp","_onDrag"],this)}return Y&&(ee.__proto__=Y),ee.prototype=Object.create(Y&&Y.prototype),ee.prototype.constructor=ee,ee.prototype.addTo=function(K){return this._map&&this.remove(),this._map=K,this.options.closeOnClick&&this._map.on("click",this._onClose),this.options.closeOnMove&&this._map.on("move",this._onClose),this._map.on("remove",this.remove),this._update(),this._trackPointer?(this._map.on("mousemove",this._onMouseMove),this._map.on("mouseup",this._onMouseUp),this._container&&this._container.classList.add("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("mapboxgl-track-pointer")):this._map.on("move",this._update),this.fire(new i.Event("open")),this},ee.prototype.isOpen=function(){return!!this._map},ee.prototype.remove=function(){return this._content&&v.remove(this._content),this._container&&(v.remove(this._container),delete this._container),this._map&&(this._map.off("move",this._update),this._map.off("move",this._onClose),this._map.off("click",this._onClose),this._map.off("remove",this.remove),this._map.off("mousemove",this._onMouseMove),this._map.off("mouseup",this._onMouseUp),this._map.off("drag",this._onDrag),delete this._map),this.fire(new i.Event("close")),this},ee.prototype.getLngLat=function(){return this._lngLat},ee.prototype.setLngLat=function(K){return this._lngLat=i.LngLat.convert(K),this._pos=null,this._trackPointer=!1,this._update(),this._map&&(this._map.on("move",this._update),this._map.off("mousemove",this._onMouseMove),this._container&&this._container.classList.remove("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.remove("mapboxgl-track-pointer")),this},ee.prototype.trackPointer=function(){return this._trackPointer=!0,this._pos=null,this._update(),this._map&&(this._map.off("move",this._update),this._map.on("mousemove",this._onMouseMove),this._map.on("drag",this._onDrag),this._container&&this._container.classList.add("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("mapboxgl-track-pointer")),this},ee.prototype.getElement=function(){return this._container},ee.prototype.setText=function(K){return this.setDOMContent(i.window.document.createTextNode(K))},ee.prototype.setHTML=function(K){var le,Te=i.window.document.createDocumentFragment(),De=i.window.document.createElement("body");for(De.innerHTML=K;le=De.firstChild;)Te.appendChild(le);return this.setDOMContent(Te)},ee.prototype.getMaxWidth=function(){return this._container&&this._container.style.maxWidth},ee.prototype.setMaxWidth=function(K){return this.options.maxWidth=K,this._update(),this},ee.prototype.setDOMContent=function(K){return this._createContent(),this._content.appendChild(K),this._update(),this},ee.prototype.addClassName=function(K){this._container&&this._container.classList.add(K)},ee.prototype.removeClassName=function(K){this._container&&this._container.classList.remove(K)},ee.prototype.toggleClassName=function(K){if(this._container)return this._container.classList.toggle(K)},ee.prototype._createContent=function(){this._content&&v.remove(this._content),this._content=v.create("div","mapboxgl-popup-content",this._container),this.options.closeButton&&(this._closeButton=v.create("button","mapboxgl-popup-close-button",this._content),this._closeButton.type="button",this._closeButton.setAttribute("aria-label","Close popup"),this._closeButton.innerHTML="×",this._closeButton.addEventListener("click",this._onClose))},ee.prototype._onMouseUp=function(K){this._update(K.point)},ee.prototype._onMouseMove=function(K){this._update(K.point)},ee.prototype._onDrag=function(K){this._update(K.point)},ee.prototype._update=function(K){var le=this,Te=this._lngLat||this._trackPointer;if(this._map&&Te&&this._content&&(this._container||(this._container=v.create("div","mapboxgl-popup",this._map.getContainer()),this._tip=v.create("div","mapboxgl-popup-tip",this._container),this._container.appendChild(this._content),this.options.className&&this.options.className.split(" ").forEach(function(ve){return le._container.classList.add(ve)}),this._trackPointer&&this._container.classList.add("mapboxgl-popup-track-pointer")),this.options.maxWidth&&this._container.style.maxWidth!==this.options.maxWidth&&(this._container.style.maxWidth=this.options.maxWidth),this._map.transform.renderWorldCopies&&!this._trackPointer&&(this._lngLat=ni(this._lngLat,this._pos,this._map.transform)),!this._trackPointer||K)){var De=this._pos=this._trackPointer&&K?K:this._map.project(this._lngLat),He=this.options.anchor,Ze=St(this.options.offset);if(!He){var at,Tt=this._container.offsetWidth,At=this._container.offsetHeight;at=De.y+Ze.bottom.ythis._map.transform.height-At?["bottom"]:[],De.xthis._map.transform.width-Tt/2&&at.push("right"),He=at.length===0?"bottom":at.join("-")}var se=De.add(Ze[He]).round();v.setTransform(this._container,Vu[He]+" translate("+se.x+"px,"+se.y+"px)"),cl(this._container,He,"popup")}},ee.prototype._onClose=function(){this.remove()},ee}(i.Evented);function St(Y){if(Y){if(typeof Y=="number"){var ee=Math.round(Math.sqrt(.5*Math.pow(Y,2)));return{center:new i.Point(0,0),top:new i.Point(0,Y),"top-left":new i.Point(ee,ee),"top-right":new i.Point(-ee,ee),bottom:new i.Point(0,-Y),"bottom-left":new i.Point(ee,-ee),"bottom-right":new i.Point(-ee,-ee),left:new i.Point(Y,0),right:new i.Point(-Y,0)}}if(Y instanceof i.Point||Array.isArray(Y)){var K=i.Point.convert(Y);return{center:K,top:K,"top-left":K,"top-right":K,bottom:K,"bottom-left":K,"bottom-right":K,left:K,right:K}}return{center:i.Point.convert(Y.center||[0,0]),top:i.Point.convert(Y.top||[0,0]),"top-left":i.Point.convert(Y["top-left"]||[0,0]),"top-right":i.Point.convert(Y["top-right"]||[0,0]),bottom:i.Point.convert(Y.bottom||[0,0]),"bottom-left":i.Point.convert(Y["bottom-left"]||[0,0]),"bottom-right":i.Point.convert(Y["bottom-right"]||[0,0]),left:i.Point.convert(Y.left||[0,0]),right:i.Point.convert(Y.right||[0,0])}}return St(new i.Point(0,0))}var Mt={version:i.version,supported:M,setRTLTextPlugin:i.setRTLTextPlugin,getRTLTextPluginStatus:i.getRTLTextPluginStatus,Map:Ol,NavigationControl:ws,GeolocateControl:hl,AttributionControl:os,ScaleControl:la,FullscreenControl:rt,Popup:vt,Marker:xo,Style:dr,LngLat:i.LngLat,LngLatBounds:i.LngLatBounds,Point:i.Point,MercatorCoordinate:i.MercatorCoordinate,Evented:i.Evented,config:i.config,prewarm:function(){Lt().acquire(ut)},clearPrewarmedResources:function(){var Y=_t;Y&&(Y.isPreloaded()&&Y.numActive()===1?(Y.release(ut),_t=null):console.warn("Could not clear WebWorkers since there are active Map instances that still reference it. The pre-warmed WebWorker pool can only be cleared when all map instances have been removed with map.remove()"))},get accessToken(){return i.config.ACCESS_TOKEN},set accessToken(Y){i.config.ACCESS_TOKEN=Y},get baseApiUrl(){return i.config.API_URL},set baseApiUrl(Y){i.config.API_URL=Y},get workerCount(){return dt.workerCount},set workerCount(Y){dt.workerCount=Y},get maxParallelImageRequests(){return i.config.MAX_PARALLEL_IMAGE_REQUESTS},set maxParallelImageRequests(Y){i.config.MAX_PARALLEL_IMAGE_REQUESTS=Y},clearStorage:function(Y){i.clearTileCache(Y)},workerUrl:""};return Mt}),d}()},27084:function(T){T.exports=Math.log2||function(p){return Math.log(p)*Math.LOG2E}},16825:function(T,p,t){T.exports=function(g,i){i||(i=g,g=window);var M=0,v=0,f=0,l={shift:!1,alt:!1,control:!1,meta:!1},a=!1;function u(k){var E=!1;return"altKey"in k&&(E=E||k.altKey!==l.alt,l.alt=!!k.altKey),"shiftKey"in k&&(E=E||k.shiftKey!==l.shift,l.shift=!!k.shiftKey),"ctrlKey"in k&&(E=E||k.ctrlKey!==l.control,l.control=!!k.ctrlKey),"metaKey"in k&&(E=E||k.metaKey!==l.meta,l.meta=!!k.metaKey),E}function o(k,E){var x=d.x(E),A=d.y(E);"buttons"in E&&(k=0|E.buttons),(k!==M||x!==v||A!==f||u(E))&&(M=0|k,v=x||0,f=A||0,i&&i(M,v,f,l))}function s(k){o(0,k)}function c(){(M||v||f||l.shift||l.alt||l.meta||l.control)&&(v=f=0,M=0,l.shift=l.alt=l.control=l.meta=!1,i&&i(0,0,0,l))}function h(k){u(k)&&i&&i(M,v,f,l)}function m(k){d.buttons(k)===0?o(0,k):o(M,k)}function w(k){o(M|d.buttons(k),k)}function y(k){o(M&~d.buttons(k),k)}function S(){a||(a=!0,g.addEventListener("mousemove",m),g.addEventListener("mousedown",w),g.addEventListener("mouseup",y),g.addEventListener("mouseleave",s),g.addEventListener("mouseenter",s),g.addEventListener("mouseout",s),g.addEventListener("mouseover",s),g.addEventListener("blur",c),g.addEventListener("keyup",h),g.addEventListener("keydown",h),g.addEventListener("keypress",h),g!==window&&(window.addEventListener("blur",c),window.addEventListener("keyup",h),window.addEventListener("keydown",h),window.addEventListener("keypress",h)))}S();var _={element:g};return Object.defineProperties(_,{enabled:{get:function(){return a},set:function(k){k?S():a&&(a=!1,g.removeEventListener("mousemove",m),g.removeEventListener("mousedown",w),g.removeEventListener("mouseup",y),g.removeEventListener("mouseleave",s),g.removeEventListener("mouseenter",s),g.removeEventListener("mouseout",s),g.removeEventListener("mouseover",s),g.removeEventListener("blur",c),g.removeEventListener("keyup",h),g.removeEventListener("keydown",h),g.removeEventListener("keypress",h),g!==window&&(window.removeEventListener("blur",c),window.removeEventListener("keyup",h),window.removeEventListener("keydown",h),window.removeEventListener("keypress",h)))},enumerable:!0},buttons:{get:function(){return M},enumerable:!0},x:{get:function(){return v},enumerable:!0},y:{get:function(){return f},enumerable:!0},mods:{get:function(){return l},enumerable:!0}}),_};var d=t(74311)},48956:function(T){var p={left:0,top:0};T.exports=function(t,d,g){d=d||t.currentTarget||t.srcElement,Array.isArray(g)||(g=[0,0]);var i,M=t.clientX||0,v=t.clientY||0,f=(i=d)===window||i===document||i===document.body?p:i.getBoundingClientRect();return g[0]=M-f.left,g[1]=v-f.top,g}},74311:function(T,p){function t(d){return d.target||d.srcElement||window}p.buttons=function(d){if(typeof d=="object"){if("buttons"in d)return d.buttons;if("which"in d){if((g=d.which)===2)return 4;if(g===3)return 2;if(g>0)return 1<=0)return 1<0&&o(c,L))}catch(b){w.call(new S(L),b)}}}function w(x){var A=this;A.triggered||(A.triggered=!0,A.def&&(A=A.def),A.msg=x,A.state=2,A.chain.length>0&&o(c,A))}function y(x,A,L,b){for(var R=0;R1&&(a*=k=Math.sqrt(k),u*=k);var E=a*a,x=u*u,A=(s==c?-1:1)*Math.sqrt(Math.abs((E*x-E*_*_-x*S*S)/(E*_*_+x*S*S)));A==1/0&&(A=1);var L=A*a*_/u+(f+h)/2,b=A*-u*S/a+(l+m)/2,R=Math.asin(((l-b)/u).toFixed(9)),I=Math.asin(((m-b)/u).toFixed(9));(R=fI&&(R-=2*p),!c&&I>R&&(I-=2*p)}if(Math.abs(I-R)>t){var O=I,z=h,F=m;I=R+t*(c&&I>R?1:-1);var B=i(h=L+a*Math.cos(I),m=b+u*Math.sin(I),a,u,o,0,c,z,F,[I,O,L,b])}var N=Math.tan((I-R)/4),W=4/3*a*N,j=4/3*u*N,$=[2*f-(f+W*Math.sin(R)),2*l-(l-j*Math.cos(R)),h+W*Math.sin(I),m-j*Math.cos(I),h,m];if(w)return $;B&&($=$.concat(B));for(var U=0;U<$.length;){var G=M($[U],$[U+1],o);$[U++]=G.x,$[U++]=G.y}return $}function M(f,l,a){return{x:f*Math.cos(a)-l*Math.sin(a),y:f*Math.sin(a)+l*Math.cos(a)}}function v(f){return f*(p/180)}T.exports=function(f){for(var l,a=[],u=0,o=0,s=0,c=0,h=null,m=null,w=0,y=0,S=0,_=f.length;S<_;S++){var k=f[S],E=k[0];switch(E){case"M":s=k[1],c=k[2];break;case"A":(k=i(w,y,k[1],k[2],v(k[3]),k[4],k[5],k[6],k[7])).unshift("C"),k.length>7&&(a.push(k.splice(0,7)),k.unshift("C"));break;case"S":var x=w,A=y;l!="C"&&l!="S"||(x+=x-u,A+=A-o),k=["C",x,A,k[1],k[2],k[3],k[4]];break;case"T":l=="Q"||l=="T"?(h=2*w-h,m=2*y-m):(h=w,m=y),k=g(w,y,h,m,k[1],k[2]);break;case"Q":h=k[1],m=k[2],k=g(w,y,k[1],k[2],k[3],k[4]);break;case"L":k=d(w,y,k[1],k[2]);break;case"H":k=d(w,y,k[1],y);break;case"V":k=d(w,y,w,k[1]);break;case"Z":k=d(w,y,s,c)}l=E,w=k[k.length-2],y=k[k.length-1],k.length>4?(u=k[k.length-4],o=k[k.length-3]):(u=w,o=y),a.push(k)}return a}},56131:function(T){var p=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;function g(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}T.exports=function(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var M={},v=0;v<10;v++)M["_"+String.fromCharCode(v)]=v;if(Object.getOwnPropertyNames(M).map(function(l){return M[l]}).join("")!=="0123456789")return!1;var f={};return"abcdefghijklmnopqrst".split("").forEach(function(l){f[l]=l}),Object.keys(Object.assign({},f)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}()?Object.assign:function(i,M){for(var v,f,l=g(i),a=1;a"u")return!1;for(var c in window)try{if(!o["$"+c]&&g.call(window,c)&&window[c]!==null&&typeof window[c]=="object")try{u(window[c])}catch{return!0}}catch{return!0}return!1}();d=function(c){var h=c!==null&&typeof c=="object",m=i.call(c)==="[object Function]",w=M(c),y=h&&i.call(c)==="[object String]",S=[];if(!h&&!m&&!w)throw new TypeError("Object.keys called on a non-object");var _=l&&m;if(y&&c.length>0&&!g.call(c,0))for(var k=0;k0)for(var E=0;E"u"||!s)return u(b);try{return u(b)}catch{return!1}}(c),L=0;L=0&&p.call(t.callee)==="[object Function]"),g}},88641:function(T){function p(g,i){if(typeof g!="string")return[g];var M=[g];typeof i=="string"||Array.isArray(i)?i={brackets:i}:i||(i={});var v=i.brackets?Array.isArray(i.brackets)?i.brackets:[i.brackets]:["{}","[]","()"],f=i.escape||"___",l=!!i.flat;v.forEach(function(u){var o=new RegExp(["\\",u[0],"[^\\",u[0],"\\",u[1],"]*\\",u[1]].join("")),s=[];function c(h,m,w){var y=M.push(h.slice(u[0].length,-u[1].length))-1;return s.push(y),f+y+f}M.forEach(function(h,m){for(var w,y=0;h!=w;)if(w=h,h=h.replace(o,c),y++>1e4)throw Error("References have circular dependency. Please, check them.");M[m]=h}),s=s.reverse(),M=M.map(function(h){return s.forEach(function(m){h=h.replace(new RegExp("(\\"+f+m+"\\"+f+")","g"),u[0]+"$1"+u[1])}),h})});var a=new RegExp("\\"+f+"([0-9]+)\\"+f);return l?M:function u(o,s,c){for(var h,m=[],w=0;h=a.exec(o);){if(w++>1e4)throw Error("Circular references in parenthesis");m.push(o.slice(0,h.index)),m.push(u(s[h[1]],s)),o=o.slice(h.index+h[0].length)}return m.push(o),m}(M[0],M)}function t(g,i){if(i&&i.flat){var M,v=i&&i.escape||"___",f=g[0];if(!f)return"";for(var l=new RegExp("\\"+v+"([0-9]+)\\"+v),a=0;f!=M;){if(a++>1e4)throw Error("Circular references in "+g);M=f,f=f.replace(l,u)}return f}return g.reduce(function o(s,c){return Array.isArray(c)&&(c=c.reduce(o,"")),s+c},"");function u(o,s){if(g[s]==null)throw Error("Reference "+s+"is undefined");return g[s]}}function d(g,i){return Array.isArray(g)?t(g,i):p(g,i)}d.parse=p,d.stringify=t,T.exports=d},18863:function(T,p,t){var d=t(71299);T.exports=function(g){var i;return arguments.length>1&&(g=arguments),typeof g=="string"?g=g.split(/\s/).map(parseFloat):typeof g=="number"&&(g=[g]),g.length&&typeof g[0]=="number"?i=g.length===1?{width:g[0],height:g[0],x:0,y:0}:g.length===2?{width:g[0],height:g[1],x:0,y:0}:{x:g[0],y:g[1],width:g[2]-g[0]||0,height:g[3]-g[1]||0}:g&&(i={x:(g=d(g,{left:"x l left Left",top:"y t top Top",width:"w width W Width",height:"h height W Width",bottom:"b bottom Bottom",right:"r right Right"})).left||0,y:g.top||0},g.width==null?g.right?i.width=g.right-i.x:i.width=0:i.width=g.width,g.height==null?g.bottom?i.height=g.bottom-i.y:i.height=0:i.height=g.height),i}},95616:function(T){T.exports=function(g){var i=[];return g.replace(t,function(M,v,f){var l=v.toLowerCase();for(f=function(a){var u=a.match(d);return u?u.map(Number):[]}(f),l=="m"&&f.length>2&&(i.push([v].concat(f.splice(0,2))),l="l",v=v=="m"?"l":"L");;){if(f.length==p[l])return f.unshift(v),i.push(f);if(f.lengthM!=c>M&&i<(s-u)*(M-o)/(c-o)+u&&(v=!v)}return v}},52142:function(T,p,t){var d,g=t(69444),i=t(29023),M=t(87263),v=t(11328),f=t(55968),l=t(10670),a=!1,u=i();function o(s,c,h){var m=d.segments(s),w=d.segments(c),y=h(d.combine(m,w));return d.polygon(y)}d={buildLog:function(s){return s===!0?a=g():s===!1&&(a=!1),a!==!1&&a.list},epsilon:function(s){return u.epsilon(s)},segments:function(s){var c=M(!0,u,a);return s.regions.forEach(c.addRegion),{segments:c.calculate(s.inverted),inverted:s.inverted}},combine:function(s,c){return{combined:M(!1,u,a).calculate(s.segments,s.inverted,c.segments,c.inverted),inverted1:s.inverted,inverted2:c.inverted}},selectUnion:function(s){return{segments:f.union(s.combined,a),inverted:s.inverted1||s.inverted2}},selectIntersect:function(s){return{segments:f.intersect(s.combined,a),inverted:s.inverted1&&s.inverted2}},selectDifference:function(s){return{segments:f.difference(s.combined,a),inverted:s.inverted1&&!s.inverted2}},selectDifferenceRev:function(s){return{segments:f.differenceRev(s.combined,a),inverted:!s.inverted1&&s.inverted2}},selectXor:function(s){return{segments:f.xor(s.combined,a),inverted:s.inverted1!==s.inverted2}},polygon:function(s){return{regions:v(s.segments,u,a),inverted:s.inverted}},polygonFromGeoJSON:function(s){return l.toPolygon(d,s)},polygonToGeoJSON:function(s){return l.fromPolygon(d,u,s)},union:function(s,c){return o(s,c,d.selectUnion)},intersect:function(s,c){return o(s,c,d.selectIntersect)},difference:function(s,c){return o(s,c,d.selectDifference)},differenceRev:function(s,c){return o(s,c,d.selectDifferenceRev)},xor:function(s,c){return o(s,c,d.selectXor)}},typeof window=="object"&&(window.PolyBool=d),T.exports=d},69444:function(T){T.exports=function(){var p,t=0,d=!1;function g(i,M){return p.list.push({type:i,data:M?JSON.parse(JSON.stringify(M)):void 0}),p}return p={list:[],segmentId:function(){return t++},checkIntersection:function(i,M){return g("check",{seg1:i,seg2:M})},segmentChop:function(i,M){return g("div_seg",{seg:i,pt:M}),g("chop",{seg:i,pt:M})},statusRemove:function(i){return g("pop_seg",{seg:i})},segmentUpdate:function(i){return g("seg_update",{seg:i})},segmentNew:function(i,M){return g("new_seg",{seg:i,primary:M})},segmentRemove:function(i){return g("rem_seg",{seg:i})},tempStatus:function(i,M,v){return g("temp_status",{seg:i,above:M,below:v})},rewind:function(i){return g("rewind",{seg:i})},status:function(i,M,v){return g("status",{seg:i,above:M,below:v})},vert:function(i){return i===d?p:(d=i,g("vert",{x:i}))},log:function(i){return typeof i!="string"&&(i=JSON.stringify(i,!1," ")),g("log",{txt:i})},reset:function(){return g("reset")},selected:function(i){return g("selected",{segs:i})},chainStart:function(i){return g("chain_start",{seg:i})},chainRemoveHead:function(i,M){return g("chain_rem_head",{index:i,pt:M})},chainRemoveTail:function(i,M){return g("chain_rem_tail",{index:i,pt:M})},chainNew:function(i,M){return g("chain_new",{pt1:i,pt2:M})},chainMatch:function(i){return g("chain_match",{index:i})},chainClose:function(i){return g("chain_close",{index:i})},chainAddHead:function(i,M){return g("chain_add_head",{index:i,pt:M})},chainAddTail:function(i,M){return g("chain_add_tail",{index:i,pt:M})},chainConnect:function(i,M){return g("chain_con",{index1:i,index2:M})},chainReverse:function(i){return g("chain_rev",{index:i})},chainJoin:function(i,M){return g("chain_join",{index1:i,index2:M})},done:function(){return g("done")}}}},29023:function(T){T.exports=function(p){typeof p!="number"&&(p=1e-10);var t={epsilon:function(d){return typeof d=="number"&&(p=d),p},pointAboveOrOnLine:function(d,g,i){var M=g[0],v=g[1],f=i[0],l=i[1],a=d[0];return(f-M)*(d[1]-v)-(l-v)*(a-M)>=-p},pointBetween:function(d,g,i){var M=d[1]-g[1],v=i[0]-g[0],f=d[0]-g[0],l=i[1]-g[1],a=f*v+M*l;return!(a-p)},pointsSameX:function(d,g){return Math.abs(d[0]-g[0])p!=f-M>p&&(v-u)*(M-o)/(f-o)+u-i>p&&(l=!l),v=u,f=o}return l}};return t}},10670:function(T){var p={toPolygon:function(t,d){function g(v){if(v.length<=0)return t.segments({inverted:!1,regions:[]});function f(u){var o=u.slice(0,u.length-1);return t.segments({inverted:!1,regions:[o]})}for(var l=f(v[0]),a=1;a0})}function w(O,z){var F=O.seg,B=z.seg,N=F.start,W=F.end,j=B.start,$=B.end;M&&M.checkIntersection(F,B);var U=i.linesIntersect(N,W,j,$);if(U===!1){if(!i.pointsCollinear(N,W,j)||i.pointsSame(N,$)||i.pointsSame(W,j))return!1;var G=i.pointsSame(N,j),q=i.pointsSame(W,$);if(G&&q)return z;var H=!G&&i.pointBetween(N,j,$),ne=!q&&i.pointBetween(W,j,$);if(G)return ne?u(z,W):u(O,$),z;H&&(q||(ne?u(z,W):u(O,$)),u(z,N))}else U.alongA===0&&(U.alongB===-1?u(O,j):U.alongB===0?u(O,U.pt):U.alongB===1&&u(O,$)),U.alongB===0&&(U.alongA===-1?u(z,N):U.alongA===0?u(z,U.pt):U.alongA===1&&u(z,W));return!1}for(var y=[];!f.isEmpty();){var S=f.getHead();if(M&&M.vert(S.pt[0]),S.isStart){let O=function(){if(k){var z=w(S,k);if(z)return z}return!!E&&w(S,E)};var I=O;M&&M.segmentNew(S.seg,S.primary);var _=m(S),k=_.before?_.before.ev:null,E=_.after?_.after.ev:null;M&&M.tempStatus(S.seg,!!k&&k.seg,!!E&&E.seg);var x,A,L=O();if(L&&(g?(A=S.seg.myFill.below===null||S.seg.myFill.above!==S.seg.myFill.below)&&(L.seg.myFill.above=!L.seg.myFill.above):L.seg.otherFill=S.seg.myFill,M&&M.segmentUpdate(L.seg),S.other.remove(),S.remove()),f.getHead()!==S){M&&M.rewind(S.seg);continue}g?(A=S.seg.myFill.below===null||S.seg.myFill.above!==S.seg.myFill.below,S.seg.myFill.below=E?E.seg.myFill.above:s,S.seg.myFill.above=A?!S.seg.myFill.below:S.seg.myFill.below):S.seg.otherFill===null&&(x=E?S.primary===E.primary?E.seg.otherFill.above:E.seg.myFill.above:S.primary?c:s,S.seg.otherFill={above:x,below:x}),M&&M.status(S.seg,!!k&&k.seg,!!E&&E.seg),S.other.status=_.insert(d.node({ev:S}))}else{var b=S.status;if(b===null)throw new Error("PolyBool: Zero-length segment detected; your epsilon is probably too small or too large");if(h.exists(b.prev)&&h.exists(b.next)&&w(b.prev.ev,b.next.ev),M&&M.statusRemove(b.ev.seg),b.remove(),!S.primary){var R=S.seg.myFill;S.seg.myFill=S.seg.otherFill,S.seg.otherFill=R}y.push(S.seg)}f.getHead().remove()}return M&&M.done(),y}return g?{addRegion:function(s){for(var c,h,m,w=s[s.length-1],y=0;y0&&!this.aborted;){var M=this.ifds_to_read.shift();M.offset&&this.scan_ifd(M.id,M.offset,g)}},d.prototype.read_uint16=function(g){var i=this.input;if(g+2>i.length)throw p("unexpected EOF","EBADDATA");return this.big_endian?256*i[g]+i[g+1]:i[g]+256*i[g+1]},d.prototype.read_uint32=function(g){var i=this.input;if(g+4>i.length)throw p("unexpected EOF","EBADDATA");return this.big_endian?16777216*i[g]+65536*i[g+1]+256*i[g+2]+i[g+3]:i[g]+256*i[g+1]+65536*i[g+2]+16777216*i[g+3]},d.prototype.is_subifd_link=function(g,i){return g===0&&i===34665||g===0&&i===34853||g===34665&&i===40965},d.prototype.exif_format_length=function(g){switch(g){case 1:case 2:case 6:case 7:return 1;case 3:case 8:return 2;case 4:case 9:case 11:return 4;case 5:case 10:case 12:return 8;default:return 0}},d.prototype.exif_format_read=function(g,i){var M;switch(g){case 1:case 2:return this.input[i];case 6:return(M=this.input[i])|33554430*(128&M);case 3:return this.read_uint16(i);case 8:return(M=this.read_uint16(i))|131070*(32768&M);case 4:return this.read_uint32(i);case 9:return 0|this.read_uint32(i);default:return null}},d.prototype.scan_ifd=function(g,i,M){var v=this.read_uint16(i);i+=2;for(var f=0;fthis.input.length)throw p("unexpected EOF","EBADDATA");for(var m=[],w=c,y=0;y0&&(this.ifds_to_read.push({id:l,offset:m[0]}),h=!0),M({is_big_endian:this.big_endian,ifd:g,tag:l,format:a,count:u,entry_offset:i+this.start,data_length:s,data_offset:c+this.start,value:m,is_subifd_link:h})===!1)return void(this.aborted=!0);i+=12}g===0&&this.ifds_to_read.push({id:1,offset:this.read_uint32(i)})},T.exports.ExifParser=d,T.exports.get_orientation=function(g){var i=0;try{return new d(g,0,g.length).each(function(M){if(M.ifd===0&&M.tag===274&&Array.isArray(M.value))return i=M.value[0],!1}),i}catch{return-1}}},76767:function(T,p,t){var d=t(14847).n8,g=t(14847).Ag;function i(u,o){if(u.length<4+o)return null;var s=g(u,o);return u.length>4&15,c=15&u[4],h=u[5]>>4&15,m=d(u,6),w=8,y=0;y_.width||S.width===_.width&&S.height>_.height?S:_}),h=s.reduce(function(S,_){return S.height>_.height||S.height===_.height&&S.width>_.width?S:_}),c.width>h.height||c.width===h.height&&c.height>h.width?c:h),w=1;o.transforms.forEach(function(S){var _={1:6,2:5,3:8,4:7,5:4,6:3,7:2,8:1},k={1:4,2:3,3:2,4:1,5:6,6:5,7:8,8:7};if(S.type==="imir"&&(w=S.value===0?k[w]:_[w=_[w=k[w]]]),S.type==="irot")for(var E=0;E1&&(m.variants=h.variants),h.orientation&&(m.orientation=h.orientation),h.exif_location&&h.exif_location.offset+h.exif_location.length<=l.length){var w=i(l,h.exif_location.offset),y=l.slice(h.exif_location.offset+w+4,h.exif_location.offset+h.exif_location.length),S=v.get_orientation(y);S>0&&(m.orientation=S)}return m}}}}}}},2504:function(T,p,t){var d=t(14847).eG,g=t(14847).OF,i=t(14847).mP,M=d("BM");T.exports=function(v){if(!(v.length<26)&&g(v,0,M))return{width:i(v,18),height:i(v,22),type:"bmp",mime:"image/bmp",wUnits:"px",hUnits:"px"}}},47342:function(T,p,t){var d=t(14847).eG,g=t(14847).OF,i=t(14847).mP,M=d("GIF87a"),v=d("GIF89a");T.exports=function(f){if(!(f.length<10)&&(g(f,0,M)||g(f,0,v)))return{width:i(f,6),height:i(f,8),type:"gif",mime:"image/gif",wUnits:"px",hUnits:"px"}}},31355:function(T,p,t){var d=t(14847).mP;T.exports=function(g){var i=d(g,0),M=d(g,2),v=d(g,4);if(i===0&&M===1&&v){for(var f=[],l={width:0,height:0},a=0;al.width||o>l.height)&&(l=s)}return{width:l.width,height:l.height,variants:f,type:"ico",mime:"image/x-icon",wUnits:"px",hUnits:"px"}}}},54261:function(T,p,t){var d=t(14847).n8,g=t(14847).eG,i=t(14847).OF,M=t(71371),v=g("Exif\0\0");T.exports=function(f){if(!(f.length<2)&&f[0]===255&&f[1]===216&&f[2]===255)for(var l=2;;){for(;;){if(f.length-l<2)return;if(f[l++]===255)break}for(var a,u,o=f[l++];o===255;)o=f[l++];if(208<=o&&o<=217||o===1)a=0;else{if(!(192<=o&&o<=254)||f.length-l<2)return;a=d(f,l)-2,l+=2}if(o===217||o===218)return;if(o===225&&a>=10&&i(f,l,v)&&(u=M.get_orientation(f.slice(l+6,l+a))),a>=5&&192<=o&&o<=207&&o!==196&&o!==200&&o!==204){if(f.length-l0&&(s.orientation=u),s}l+=a}}},6303:function(T,p,t){var d=t(14847).eG,g=t(14847).OF,i=t(14847).Ag,M=d(`‰PNG\r - -`),v=d("IHDR");T.exports=function(f){if(!(f.length<24)&&g(f,0,M)&&g(f,12,v))return{width:i(f,16),height:i(f,20),type:"png",mime:"image/png",wUnits:"px",hUnits:"px"}}},38689:function(T,p,t){var d=t(14847).eG,g=t(14847).OF,i=t(14847).Ag,M=d("8BPS\0");T.exports=function(v){if(!(v.length<22)&&g(v,0,M))return{width:i(v,18),height:i(v,14),type:"psd",mime:"image/vnd.adobe.photoshop",wUnits:"px",hUnits:"px"}}},6881:function(T){function p(l){return typeof l=="number"&&isFinite(l)&&l>0}var t=/<[-_.:a-zA-Z0-9][^>]*>/,d=/^<([-_.:a-zA-Z0-9]+:)?svg\s/,g=/[^-]\bwidth="([^%]+?)"|[^-]\bwidth='([^%]+?)'/,i=/\bheight="([^%]+?)"|\bheight='([^%]+?)'/,M=/\bview[bB]ox="(.+?)"|\bview[bB]ox='(.+?)'/,v=/in$|mm$|cm$|pt$|pc$|px$|em$|ex$/;function f(l){return v.test(l)?l.match(v)[0]:"px"}T.exports=function(l){if(function(k){var E,x=0,A=k.length;for(k[0]===239&&k[1]===187&&k[2]===191&&(x=3);x>14&16383),type:"webp",mime:"image/webp",wUnits:"px",hUnits:"px"}}}function o(s,c){return{width:1+(s[c+6]<<16|s[c+5]<<8|s[c+4]),height:1+(s[c+9]<s.length)){for(;c+8=10?h=h||a(s,c+8):y==="VP8L"&&S>=9?h=h||u(s,c+8):y==="VP8X"&&S>=10?h=h||o(s,c+8):y==="EXIF"&&(m=v.get_orientation(s.slice(c+8,c+8+S)),c=1/0),c+=8+S}else c++;if(h)return m>0&&(h.orientation=m),h}}}},91497:function(T,p,t){T.exports={avif:t(24461),bmp:t(2504),gif:t(47342),ico:t(31355),jpeg:t(54261),png:t(6303),psd:t(38689),svg:t(6881),tiff:t(66278),webp:t(90784)}},33575:function(T,p,t){var d=t(91497);T.exports=function(g){return function(i){for(var M=Object.keys(d),v=0;v1)for(var w=1;w"u"?t.g:window,i=["moz","webkit"],M="AnimationFrame",v=g["request"+M],f=g["cancel"+M]||g["cancelRequest"+M],l=0;!v&&l>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js precision highp float; attribute vec2 position, positionFract; @@ -3204,11 +3018,7 @@ uniform `+He+" "+Ze+" u_"+at+`; gl_FragColor = fragColor; gl_FragColor.a *= opacity; } -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js `,uniforms:{range:s.prop("range"),lineWidth:s.prop("lineWidth"),capSize:s.prop("capSize"),opacity:s.prop("opacity"),scale:s.prop("scale"),translate:s.prop("translate"),scaleFract:s.prop("scaleFract"),translateFract:s.prop("translateFract"),viewport:function(O,z){return[z.viewport.x,z.viewport.y,O.viewportWidth,O.viewportHeight]}},attributes:{color:{buffer:y,offset:function(O,z){return 4*z.offset},divisor:1},position:{buffer:m,offset:function(O,z){return 8*z.offset},divisor:1},positionFract:{buffer:w,offset:function(O,z){return 8*z.offset},divisor:1},error:{buffer:C,offset:function(O,z){return 16*z.offset},divisor:1},direction:{buffer:_,stride:24,offset:0},lineOffset:{buffer:_,stride:24,offset:8},capOffset:{buffer:_,stride:24,offset:16}},primitive:"triangles",blend:{enable:!0,color:[0,0,0,0],equation:{rgb:"add",alpha:"add"},func:{srcRGB:"src alpha",dstRGB:"one minus src alpha",srcAlpha:"one minus dst alpha",dstAlpha:"one"}},depth:{enable:!1},scissor:{enable:!0,box:s.prop("viewport")},viewport:s.prop("viewport"),stencil:!1,instances:s.prop("count"),count:o.length}),v(A,{update:R,draw:L,destroy:I,regl:s,gl:k,canvas:k.canvas,groups:x}),A;function A(O){O?R(O):O===null&&I(),L()}function L(O){if(typeof O=="number")return b(O);O&&!Array.isArray(O)&&(O=[O]),s._refresh(),x.forEach(function(z,F){z&&(O&&(O[F]?z.draw=!0:z.draw=!1),z.draw?b(F):z.draw=!0)})}function b(O){typeof O=="number"&&(O=x[O]),O!=null&&O&&O.count&&O.color&&O.opacity&&O.positions&&O.positions.length>1&&(O.scaleRatio=[O.scale[0]*O.viewport.width,O.scale[1]*O.viewport.height],c(O),O.after&&O.after(O))}function R(O){if(O){O.length!=null?typeof O[0]=="number"&&(O=[{positions:O}]):Array.isArray(O)||(O=[O]);var z=0,F=0;if(A.groups=x=O.map(function(G,q){var H=x[q];return G&&(typeof G=="function"?G={after:G}:typeof G[0]=="number"&&(G={positions:G}),G=M(G,{color:"color colors fill",capSize:"capSize cap capsize cap-size",lineWidth:"lineWidth line-width width line thickness",opacity:"opacity alpha",range:"range dataBox",viewport:"viewport viewBox",errors:"errors error",positions:"positions position data points"}),H||(x[q]=H={id:q,scale:null,translate:null,scaleFract:null,translateFract:null,draw:!0},G=v({},E,G)),i(H,G,[{lineWidth:function(ne){return .5*+ne},capSize:function(ne){return .5*+ne},opacity:parseFloat,errors:function(ne){return ne=f(ne),F+=ne.length,ne},positions:function(ne,te){return ne=f(ne,"float64"),te.count=Math.floor(ne.length/2),te.bounds=d(ne,2),te.offset=z,z+=te.count,ne}},{color:function(ne,te){var Z=te.count;if(ne||(ne="transparent"),!Array.isArray(ne)||typeof ne[0]=="number"){var X=ne;ne=Array(Z);for(var Q=0;Q1&&(O.scaleRatio=[O.scale[0]*O.viewport.width,O.scale[1]*O.viewport.height],h(O),O.after&&O.after(O))}function R(O){if(O){O.length!=null?typeof O[0]=="number"&&(O=[{positions:O}]):Array.isArray(O)||(O=[O]);var z=0,F=0;if(A.groups=x=O.map(function(G,q){var H=x[q];return G&&(typeof G=="function"?G={after:G}:typeof G[0]=="number"&&(G={positions:G}),G=M(G,{color:"color colors fill",capSize:"capSize cap capsize cap-size",lineWidth:"lineWidth line-width width line thickness",opacity:"opacity alpha",range:"range dataBox",viewport:"viewport viewBox",errors:"errors error",positions:"positions position data points"}),H||(x[q]=H={id:q,scale:null,translate:null,scaleFract:null,translateFract:null,draw:!0},G=v({},E,G)),i(H,G,[{lineWidth:function(ne){return .5*+ne},capSize:function(ne){return .5*+ne},opacity:parseFloat,errors:function(ne){return ne=f(ne),F+=ne.length,ne},positions:function(ne,te){return ne=f(ne,"float64"),te.count=Math.floor(ne.length/2),te.bounds=d(ne,2),te.offset=z,z+=te.count,ne}},{color:function(ne,te){var Z=te.count;if(ne||(ne="transparent"),!Array.isArray(ne)||typeof ne[0]=="number"){var X=ne;ne=Array(Z);for(var Q=0;Q>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js #define GLSLIFY 1 attribute vec2 aCoord, bCoord, aCoordFract, bCoordFract; @@ -3265,11 +3075,7 @@ void main() { gl_FragColor = fragColor; gl_FragColor.a *= alpha * opacity * dash; } -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js `]),attributes:{lineEnd:{buffer:_,divisor:0,stride:8,offset:0},lineTop:{buffer:_,divisor:0,stride:8,offset:4},aCoord:{buffer:y.prop("positionBuffer"),stride:8,offset:8,divisor:1},bCoord:{buffer:y.prop("positionBuffer"),stride:8,offset:16,divisor:1},aCoordFract:{buffer:y.prop("positionFractBuffer"),stride:8,offset:8,divisor:1},bCoordFract:{buffer:y.prop("positionFractBuffer"),stride:8,offset:16,divisor:1},color:{buffer:y.prop("colorBuffer"),stride:4,offset:0,divisor:1}}},k));try{C=y(i({cull:{enable:!0,face:"back"},vert:M([`precision highp float; -======== -`]),attributes:{lineEnd:{buffer:_,divisor:0,stride:8,offset:0},lineTop:{buffer:_,divisor:0,stride:8,offset:4},aCoord:{buffer:y.prop("positionBuffer"),stride:8,offset:8,divisor:1},bCoord:{buffer:y.prop("positionBuffer"),stride:8,offset:16,divisor:1},aCoordFract:{buffer:y.prop("positionFractBuffer"),stride:8,offset:8,divisor:1},bCoordFract:{buffer:y.prop("positionFractBuffer"),stride:8,offset:16,divisor:1},color:{buffer:y.prop("colorBuffer"),stride:4,offset:0,divisor:1}}},k));try{S=y(i({cull:{enable:!0,face:"back"},vert:M([`precision highp float; ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js #define GLSLIFY 1 attribute vec2 aCoord, bCoord, nextCoord, prevCoord; @@ -3552,11 +3358,7 @@ void main() { gl_FragColor = fragColor; gl_FragColor.a *= alpha * opacity * dash; } -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js `]),attributes:{lineEnd:{buffer:_,divisor:0,stride:8,offset:0},lineTop:{buffer:_,divisor:0,stride:8,offset:4},aColor:{buffer:y.prop("colorBuffer"),stride:4,offset:0,divisor:1},bColor:{buffer:y.prop("colorBuffer"),stride:4,offset:4,divisor:1},prevCoord:{buffer:y.prop("positionBuffer"),stride:8,offset:0,divisor:1},aCoord:{buffer:y.prop("positionBuffer"),stride:8,offset:8,divisor:1},bCoord:{buffer:y.prop("positionBuffer"),stride:8,offset:16,divisor:1},nextCoord:{buffer:y.prop("positionBuffer"),stride:8,offset:24,divisor:1}}},k))}catch{C=E}return{fill:y({primitive:"triangle",elements:function(x,A){return A.triangles},offset:0,vert:M([`precision highp float; -======== -`]),attributes:{lineEnd:{buffer:_,divisor:0,stride:8,offset:0},lineTop:{buffer:_,divisor:0,stride:8,offset:4},aColor:{buffer:y.prop("colorBuffer"),stride:4,offset:0,divisor:1},bColor:{buffer:y.prop("colorBuffer"),stride:4,offset:4,divisor:1},prevCoord:{buffer:y.prop("positionBuffer"),stride:8,offset:0,divisor:1},aCoord:{buffer:y.prop("positionBuffer"),stride:8,offset:8,divisor:1},bCoord:{buffer:y.prop("positionBuffer"),stride:8,offset:16,divisor:1},nextCoord:{buffer:y.prop("positionBuffer"),stride:8,offset:24,divisor:1}}},k))}catch{S=E}return{fill:y({primitive:"triangle",elements:function(x,A){return A.triangles},offset:0,vert:M([`precision highp float; ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js #define GLSLIFY 1 attribute vec2 position, positionFract; @@ -3592,13 +3394,8 @@ varying vec4 fragColor; void main() { gl_FragColor = fragColor; } -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js `]),uniforms:{scale:y.prop("scale"),color:y.prop("fill"),scaleFract:y.prop("scaleFract"),translateFract:y.prop("translateFract"),translate:y.prop("translate"),opacity:y.prop("opacity"),pixelRatio:y.context("pixelRatio"),id:y.prop("id"),viewport:function(x,A){return[A.viewport.x,A.viewport.y,x.viewportWidth,x.viewportHeight]}},attributes:{position:{buffer:y.prop("positionBuffer"),stride:8,offset:8},positionFract:{buffer:y.prop("positionFractBuffer"),stride:8,offset:8}},blend:k.blend,depth:{enable:!1},scissor:k.scissor,stencil:k.stencil,viewport:k.viewport}),rect:E,miter:C}},w.defaults={dashes:null,join:"miter",miterLimit:1,thickness:10,cap:"square",color:"black",opacity:1,overlay:!1,viewport:null,range:null,close:!1,fill:null},w.prototype.render=function(){for(var y,C=[],_=arguments.length;_--;)C[_]=arguments[_];C.length&&(y=this).update.apply(y,C),this.draw()},w.prototype.draw=function(){for(var y=this,C=[],_=arguments.length;_--;)C[_]=arguments[_];return(C.length?C:this.passes).forEach(function(k,E){var x;if(k&&Array.isArray(k))return(x=y).draw.apply(x,k);typeof k=="number"&&(k=y.passes[k]),k&&k.count>1&&k.opacity&&(y.regl._refresh(),k.fill&&k.triangles&&k.triangles.length>2&&y.shaders.fill(k),k.thickness&&(k.scale[0]*k.viewport.width>w.precisionThreshold||k.scale[1]*k.viewport.height>w.precisionThreshold||k.join==="rect"||!k.join&&(k.thickness<=2||k.count>=w.maxPoints)?y.shaders.rect(k):y.shaders.miter(k)))}),this},w.prototype.update=function(y){var C=this;if(y){y.length!=null?typeof y[0]=="number"&&(y=[{positions:y}]):Array.isArray(y)||(y=[y]);var _=this.regl,k=this.gl;if(y.forEach(function(b,R){var I=C.passes[R];if(b!==void 0)if(b!==null){if(typeof b[0]=="number"&&(b={positions:b}),b=v(b,{positions:"positions points data coords",thickness:"thickness lineWidth lineWidths line-width linewidth width stroke-width strokewidth strokeWidth",join:"lineJoin linejoin join type mode",miterLimit:"miterlimit miterLimit",dashes:"dash dashes dasharray dash-array dashArray",color:"color colour stroke colors colours stroke-color strokeColor",fill:"fill fill-color fillColor",opacity:"alpha opacity",overlay:"overlay crease overlap intersect",close:"closed close closed-path closePath",range:"range dataBox",viewport:"viewport viewBox",hole:"holes hole hollow",splitNull:"splitNull"}),I||(C.passes[R]=I={id:R,scale:null,scaleFract:null,translate:null,translateFract:null,count:0,hole:[],depth:0,dashLength:1,dashTexture:_.texture({channels:1,data:new Uint8Array([255]),width:1,height:1,mag:"linear",min:"linear"}),colorBuffer:_.buffer({usage:"dynamic",type:"uint8",data:new Uint8Array}),positionBuffer:_.buffer({usage:"dynamic",type:"float",data:new Uint8Array}),positionFractBuffer:_.buffer({usage:"dynamic",type:"float",data:new Uint8Array})},b=i({},w.defaults,b)),b.thickness!=null&&(I.thickness=parseFloat(b.thickness)),b.opacity!=null&&(I.opacity=parseFloat(b.opacity)),b.miterLimit!=null&&(I.miterLimit=parseFloat(b.miterLimit)),b.overlay!=null&&(I.overlay=!!b.overlay,R=re});(Z=Z.slice(0,ie)).push(re)}for(var oe=function(kt){var xt=j.slice(2*Q,2*Z[kt]).concat(re?j.slice(2*re):[]),Ft=(I.hole||[]).map(function(Bt){return Bt-re+(Z[kt]-Q)}),Ot=l(xt,Ft);Ot=Ot.map(function(Bt){return Bt+Q+(Bt+Qk.length)&&(E=k.length);for(var x=0,A=new Array(E);x1&&k.opacity&&(y.regl._refresh(),k.fill&&k.triangles&&k.triangles.length>2&&y.shaders.fill(k),k.thickness&&(k.scale[0]*k.viewport.width>w.precisionThreshold||k.scale[1]*k.viewport.height>w.precisionThreshold||k.join==="rect"||!k.join&&(k.thickness<=2||k.count>=w.maxPoints)?y.shaders.rect(k):y.shaders.miter(k)))}),this},w.prototype.update=function(y){var S=this;if(y){y.length!=null?typeof y[0]=="number"&&(y=[{positions:y}]):Array.isArray(y)||(y=[y]);var _=this.regl,k=this.gl;if(y.forEach(function(b,R){var I=S.passes[R];if(b!==void 0)if(b!==null){if(typeof b[0]=="number"&&(b={positions:b}),b=v(b,{positions:"positions points data coords",thickness:"thickness lineWidth lineWidths line-width linewidth width stroke-width strokewidth strokeWidth",join:"lineJoin linejoin join type mode",miterLimit:"miterlimit miterLimit",dashes:"dash dashes dasharray dash-array dashArray",color:"color colour stroke colors colours stroke-color strokeColor",fill:"fill fill-color fillColor",opacity:"alpha opacity",overlay:"overlay crease overlap intersect",close:"closed close closed-path closePath",range:"range dataBox",viewport:"viewport viewBox",hole:"holes hole hollow",splitNull:"splitNull"}),I||(S.passes[R]=I={id:R,scale:null,scaleFract:null,translate:null,translateFract:null,count:0,hole:[],depth:0,dashLength:1,dashTexture:_.texture({channels:1,data:new Uint8Array([255]),width:1,height:1,mag:"linear",min:"linear"}),colorBuffer:_.buffer({usage:"dynamic",type:"uint8",data:new Uint8Array}),positionBuffer:_.buffer({usage:"dynamic",type:"float",data:new Uint8Array}),positionFractBuffer:_.buffer({usage:"dynamic",type:"float",data:new Uint8Array})},b=i({},w.defaults,b)),b.thickness!=null&&(I.thickness=parseFloat(b.thickness)),b.opacity!=null&&(I.opacity=parseFloat(b.opacity)),b.miterLimit!=null&&(I.miterLimit=parseFloat(b.miterLimit)),b.overlay!=null&&(I.overlay=!!b.overlay,R=re});(Z=Z.slice(0,ie)).push(re)}for(var oe=function(kt){var xt=j.slice(2*Q,2*Z[kt]).concat(re?j.slice(2*re):[]),Ft=(I.hole||[]).map(function(Bt){return Bt-re+(Z[kt]-Q)}),Ot=l(xt,Ft);Ot=Ot.map(function(Bt){return Bt+Q+(Bt+Qk.length)&&(E=k.length);for(var x=0,A=new Array(E);x>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js #define GLSLIFY 1 uniform float opacity; @@ -3785,7 +3582,6 @@ void main() { fragBorderColor = borderColor.a == 0. || borderSize == 0. ? vec4(color.rgb, 0.) : borderColor; fragWidth = 1. / gl_PointSize; } -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js `]),c&&(O.frag=O.frag.replace("smoothstep","smoothStep"),I.frag=I.frag.replace("smoothstep","smoothStep")),this.drawCircle=k(O)}C.defaults={color:"black",borderColor:"transparent",borderSize:0,size:12,opacity:1,marker:void 0,viewport:null,range:null,pixelSize:null,count:0,offset:0,bounds:null,positions:[],snap:1e4},C.prototype.render=function(){return arguments.length&&this.update.apply(this,arguments),this.draw(),this},C.prototype.draw=function(){for(var k=this,E=arguments.length,x=new Array(E),A=0;APe)?pe.tree=l(me,{bounds:ae}):Pe&&Pe.length&&(pe.tree=Pe),pe.tree){var fe={primitive:"points",usage:"static",data:pe.tree,type:"uint32"};pe.elements?pe.elements(fe):pe.elements=R.elements(fe)}var be=m.float32(me);return _e({data:be,usage:"dynamic"}),Me({data:m.fract32(me,be),usage:"dynamic"}),Se({data:new Uint8Array(Ce),type:"uint8",usage:"stream"}),me}},{marker:function(me,pe,xe){var Pe=pe.activation;if(Pe.forEach(function(be){return be&&be.destroy&&be.destroy()}),Pe.length=0,me&&typeof me[0]!="number"){for(var _e=[],Me=0,Se=Math.min(me.length,pe.count);Me=0)return b;if(k instanceof Uint8Array||k instanceof Uint8ClampedArray)E=k;else{E=new Uint8Array(k.length);for(var R=0,I=k.length;R4*A&&(this.tooManyColors=!0),this.updatePalette(x),L.length===1?L[0]:L},C.prototype.updatePalette=function(k){if(!this.tooManyColors){var E=this.maxColors,x=this.paletteTexture,A=Math.ceil(.25*k.length/E);if(A>1)for(var L=.25*(k=k.slice()).length%E;L2?(k[0],k[2],w=k[1],y=k[3]):k.length?(w=k[0],y=k[1]):(k.x,w=k.y,k.x,k.width,y=k.y+k.height),E.length>2?(C=E[0],_=E[2],E[1],E[3]):E.length?(C=E[0],_=E[1]):(C=E.x,E.y,_=E.x+E.width,E.y,E.height),[C,w,_,y]}function s(h){if(typeof h=="number")return[h,h,h,h];if(h.length===2)return[h[0],h[1],h[0],h[1]];var c=f(h);return[c.x,c.y,c.x+c.width,c.y+c.height]}T.exports=a,a.prototype.render=function(){for(var h,c=this,m=[],w=arguments.length;w--;)m[w]=arguments[w];return m.length&&(h=this).update.apply(h,m),this.regl.attributes.preserveDrawingBuffer?this.draw():(this.dirty?this.planned==null&&(this.planned=M(function(){c.draw(),c.dirty=!0,c.planned=null})):(this.draw(),this.dirty=!0,M(function(){c.dirty=!1})),this)},a.prototype.update=function(){for(var h,c=[],m=arguments.length;m--;)c[m]=arguments[m];if(c.length){for(var w=0;wF))&&(C.lower||!(z"u"?1:window.devicePixelRatio,It=!1,Lt={},yt=function(wt){},Pt=function(){};if(typeof Qe=="string"?nt=document.querySelector(Qe):typeof Qe=="object"&&(typeof Qe.nodeName=="string"&&typeof Qe.appendChild=="function"&&typeof Qe.getBoundingClientRect=="function"?nt=Qe:typeof Qe.drawArrays=="function"||typeof Qe.drawElements=="function"?Re=(Ne=Qe).canvas:("gl"in Qe?Ne=Qe.gl:"canvas"in Qe?Re=i(Qe.canvas):"container"in Qe&&(ft=i(Qe.container)),"attributes"in Qe&&(qe=Qe.attributes),"extensions"in Qe&&(ut=g(Qe.extensions)),"optionalExtensions"in Qe&&(dt=g(Qe.optionalExtensions)),"onDone"in Qe&&(yt=Qe.onDone),"profile"in Qe&&(It=!!Qe.profile),"pixelRatio"in Qe&&(_t=+Qe.pixelRatio),"cachedCode"in Qe&&(Lt=Qe.cachedCode))),nt&&(nt.nodeName.toLowerCase()==="canvas"?Re=nt:ft=nt),!Ne){if(!Re){if(!(nt=function(wt,Rt,Nt){function Yt(){var Qt=window.innerWidth,rn=window.innerHeight;wt!==document.body&&(Qt=(rn=Xt.getBoundingClientRect()).right-rn.left,rn=rn.bottom-rn.top),Xt.width=Nt*Qt,Xt.height=Nt*rn}var Wt,Xt=document.createElement("canvas");return re(Xt.style,{border:0,margin:0,padding:0,top:0,left:0,width:"100%",height:"100%"}),wt.appendChild(Xt),wt===document.body&&(Xt.style.position="absolute",re(wt.style,{margin:0,padding:0})),wt!==document.body&&typeof ResizeObserver=="function"?(Wt=new ResizeObserver(function(){setTimeout(Yt)})).observe(wt):window.addEventListener("resize",Yt,!1),Yt(),{canvas:Xt,onDestroy:function(){Wt?Wt.disconnect():window.removeEventListener("resize",Yt),wt.removeChild(Xt)}}}(ft||document.body,0,_t)))return null;Re=nt.canvas,Pt=nt.onDestroy}qe.premultipliedAlpha===void 0&&(qe.premultipliedAlpha=!0),Ne=function(wt,Rt){function Nt(Yt){try{return wt.getContext(Yt,Rt)}catch{return null}}return Nt("webgl")||Nt("experimental-webgl")||Nt("webgl-experimental")}(Re,qe)}return Ne?{gl:Ne,canvas:Re,container:ft,extensions:ut,optionalExtensions:dt,pixelRatio:_t,profile:It,cachedCode:Lt,onDone:yt,onDestroy:Pt}:(Pt(),yt("webgl not supported, try upgrading your browser or graphics drivers http://get.webgl.org"),null)}function v(qe,nt){for(var ft=Array(qe),Re=0;Re>>=nt))<<3,(nt|=ft=(15<(qe>>>=ft))<<2)|(ft=(3<(qe>>>=ft))<<1)|qe>>>ft>>1}function l(){function qe(Re){e:{for(var Ne=16;268435456>=Ne;Ne*=16)if(Re<=Ne){Re=Ne;break e}Re=0}return 0<(Ne=ft[f(Re)>>2]).length?Ne.pop():new ArrayBuffer(Re)}function nt(Re){ft[f(Re.byteLength)>>2].push(Re)}var ft=v(8,function(){return[]});return{alloc:qe,free:nt,allocType:function(Re,Ne){var Qe=null;switch(Re){case 5120:Qe=new Int8Array(qe(Ne),0,Ne);break;case 5121:Qe=new Uint8Array(qe(Ne),0,Ne);break;case 5122:Qe=new Int16Array(qe(2*Ne),0,Ne);break;case 5123:Qe=new Uint16Array(qe(2*Ne),0,Ne);break;case 5124:Qe=new Int32Array(qe(4*Ne),0,Ne);break;case 5125:Qe=new Uint32Array(qe(4*Ne),0,Ne);break;case 5126:Qe=new Float32Array(qe(4*Ne),0,Ne);break;default:return null}return Qe.length!==Ne?Qe.subarray(0,Ne):Qe},freeType:function(Re){nt(Re.buffer)}}}function a(qe){return!!qe&&typeof qe=="object"&&Array.isArray(qe.shape)&&Array.isArray(qe.stride)&&typeof qe.offset=="number"&&qe.shape.length===qe.stride.length&&(Array.isArray(qe.data)||me(qe.data))}function u(qe,nt,ft,Re,Ne,Qe){for(var ut=0;ut(Pt=Nt)&&(Pt=yt.buffer.byteLength,Xt===5123?Pt>>=1:Xt===5125&&(Pt>>=2)),yt.vertCount=Pt,Pt=Rt,0>Rt&&(Pt=4,(Rt=yt.buffer.dimension)===1&&(Pt=0),Rt===2&&(Pt=1),Rt===3&&(Pt=4)),yt.primType=Pt}function ut(yt){Re.elementsCount--,delete dt[yt.id],yt.buffer.destroy(),yt.buffer=null}var dt={},_t=0,It={uint8:5121,uint16:5123};nt.oes_element_index_uint&&(It.uint32=5125),Ne.prototype.bind=function(){this.buffer.bind()};var Lt=[];return{create:function(yt,Pt){function wt(Yt){if(Yt)if(typeof Yt=="number")Rt(Yt),Nt.primType=4,Nt.vertCount=0|Yt,Nt.type=5121;else{var Wt=null,Xt=35044,Qt=-1,rn=-1,xn=0,un=0;Array.isArray(Yt)||me(Yt)||a(Yt)?Wt=Yt:("data"in Yt&&(Wt=Yt.data),"usage"in Yt&&(Xt=Me[Yt.usage]),"primitive"in Yt&&(Qt=fe[Yt.primitive]),"count"in Yt&&(rn=0|Yt.count),"type"in Yt&&(un=It[Yt.type]),"length"in Yt?xn=0|Yt.length:(xn=rn,un===5123||un===5122?xn*=2:un!==5125&&un!==5124||(xn*=4))),Qe(Nt,Wt,Xt,Qt,rn,xn,un)}else Rt(),Nt.primType=4,Nt.vertCount=0,Nt.type=5121;return wt}var Rt=ft.create(null,34963,!0),Nt=new Ne(Rt._buffer);return Re.elementsCount++,wt(yt),wt._reglType="elements",wt._elements=Nt,wt.subdata=function(Yt,Wt){return Rt.subdata(Yt,Wt),wt},wt.destroy=function(){ut(Nt)},wt},createStream:function(yt){var Pt=Lt.pop();return Pt||(Pt=new Ne(ft.create(null,34963,!0,!1)._buffer)),Qe(Pt,yt,35040,-1,-1,0,0),Pt},destroyStream:function(yt){Lt.push(yt)},getElements:function(yt){return typeof yt=="function"&&yt._elements instanceof Ne?yt._elements:null},clear:function(){pe(dt).forEach(ut)}}}function y(qe){for(var nt=ye.allocType(5123,qe.length),ft=0;ft>>31<<15,Ne=(Qe<<1>>>24)-127,Qe=Qe>>13&1023;nt[ft]=-24>Ne?Re:-14>Ne?Re+(Qe+1024>>-14-Ne):15>=hn,jt.height>>=hn,Pt(jt,Jt[hn]),nn.mipmask|=1<Pn;++Pn)nn.images[Pn]=null;return nn}function xn(nn){for(var Pn=nn.images,jt=0;jtnn){for(var Pn=0;Pn=--this.refCount&&dn(this)}}),ut.profile&&(Qe.getTotalTextureSize=function(){var nn=0;return Object.keys($n).forEach(function(Pn){nn+=$n[Pn].stats.size}),nn}),{create2D:function(nn,Pn){function jt(hn,zn){var On=Jt.texInfo;un.call(On);var En=rn();return typeof hn=="number"?Wt(En,0|hn,typeof zn=="number"?0|zn:0|hn):hn?(An(On,hn),Xt(En,hn)):Wt(En,1,1),On.genMipmaps&&(En.mipmask=(En.width<<1)-1),Jt.mipmask=En.mipmask,_t(Jt,En),Jt.internalformat=En.internalformat,jt.width=En.width,jt.height=En.height,sn(Jt),Qt(En,3553),Yn(On,3553),Tn(),xn(En),ut.profile&&(Jt.stats.size=b(Jt.internalformat,Jt.type,En.width,En.height,On.genMipmaps,!1)),jt.format=or[Jt.internalformat],jt.type=vr[Jt.type],jt.mag=_r[On.magFilter],jt.min=Kt[On.minFilter],jt.wrapS=bn[On.wrapS],jt.wrapT=bn[On.wrapT],jt}var Jt=new kn(3553);return $n[Jt.id]=Jt,Qe.textureCount++,jt(nn,Pn),jt.subimage=function(hn,zn,On,En){zn|=0,On|=0,En|=0;var mn=Rt();return _t(mn,Jt),mn.width=0,mn.height=0,Pt(mn,hn),mn.width=mn.width||(Jt.width>>En)-zn,mn.height=mn.height||(Jt.height>>En)-On,sn(Jt),wt(mn,3553,zn,On,En),Tn(),Nt(mn),jt},jt.resize=function(hn,zn){var On=0|hn,En=0|zn||On;if(On===Jt.width&&En===Jt.height)return jt;jt.width=Jt.width=On,jt.height=Jt.height=En,sn(Jt);for(var mn=0;Jt.mipmask>>mn;++mn){var wn=On>>mn,gn=En>>mn;if(!wn||!gn)break;qe.texImage2D(3553,mn,Jt.format,wn,gn,0,Jt.format,Jt.type,null)}return Tn(),ut.profile&&(Jt.stats.size=b(Jt.internalformat,Jt.type,On,En,!1,!1)),jt},jt._reglType="texture2d",jt._texture=Jt,ut.profile&&(jt.stats=Jt.stats),jt.destroy=function(){Jt.decRef()},jt},createCube:function(nn,Pn,jt,Jt,hn,zn){function On(wn,gn,yn,Sn,Vn,Xn){var nr,Qn=En.texInfo;for(un.call(Qn),nr=0;6>nr;++nr)mn[nr]=rn();if(typeof wn!="number"&&wn){if(typeof wn=="object")if(gn)Xt(mn[0],wn),Xt(mn[1],gn),Xt(mn[2],yn),Xt(mn[3],Sn),Xt(mn[4],Vn),Xt(mn[5],Xn);else if(An(Qn,wn),It(En,wn),"faces"in wn)for(wn=wn.faces,nr=0;6>nr;++nr)_t(mn[nr],En),Xt(mn[nr],wn[nr]);else for(nr=0;6>nr;++nr)Xt(mn[nr],wn)}else for(wn=0|wn||1,nr=0;6>nr;++nr)Wt(mn[nr],wn,wn);for(_t(En,mn[0]),En.mipmask=Qn.genMipmaps?(mn[0].width<<1)-1:mn[0].mipmask,En.internalformat=mn[0].internalformat,On.width=mn[0].width,On.height=mn[0].height,sn(En),nr=0;6>nr;++nr)Qt(mn[nr],34069+nr);for(Yn(Qn,34067),Tn(),ut.profile&&(En.stats.size=b(En.internalformat,En.type,On.width,On.height,Qn.genMipmaps,!0)),On.format=or[En.internalformat],On.type=vr[En.type],On.mag=_r[Qn.magFilter],On.min=Kt[Qn.minFilter],On.wrapS=bn[Qn.wrapS],On.wrapT=bn[Qn.wrapT],nr=0;6>nr;++nr)xn(mn[nr]);return On}var En=new kn(34067);$n[En.id]=En,Qe.cubeCount++;var mn=Array(6);return On(nn,Pn,jt,Jt,hn,zn),On.subimage=function(wn,gn,yn,Sn,Vn){yn|=0,Sn|=0,Vn|=0;var Xn=Rt();return _t(Xn,En),Xn.width=0,Xn.height=0,Pt(Xn,gn),Xn.width=Xn.width||(En.width>>Vn)-yn,Xn.height=Xn.height||(En.height>>Vn)-Sn,sn(En),wt(Xn,34069+wn,yn,Sn,Vn),Tn(),Nt(Xn),On},On.resize=function(wn){if((wn|=0)!==En.width){On.width=En.width=wn,On.height=En.height=wn,sn(En);for(var gn=0;6>gn;++gn)for(var yn=0;En.mipmask>>yn;++yn)qe.texImage2D(34069+gn,yn,En.format,wn>>yn,wn>>yn,0,En.format,En.type,null);return Tn(),ut.profile&&(En.stats.size=b(En.internalformat,En.type,On.width,On.height,!1,!0)),On}},On._reglType="textureCube",On._texture=En,ut.profile&&(On.stats=En.stats),On.destroy=function(){En.decRef()},On},clear:function(){for(var nn=0;nnJt;++Jt)if(jt.mipmask&1<>Jt,jt.height>>Jt,0,jt.internalformat,jt.type,null);else for(var hn=0;6>hn;++hn)qe.texImage2D(34069+hn,Jt,jt.internalformat,jt.width>>Jt,jt.height>>Jt,0,jt.internalformat,jt.type,null);Yn(jt.texInfo,jt.target)})},refresh:function(){for(var nn=0;nnpn;++pn){for(qn=0;qndn;++dn)Tn[dn].resize(pn);return sn.width=sn.height=pn,sn},_reglType:"framebufferCube",destroy:function(){Tn.forEach(function(dn){dn.destroy()})}})},clear:function(){pe(Yn).forEach(Yt)},restore:function(){Qt.cur=null,Qt.next=null,Qt.dirty=!0,pe(Yn).forEach(function(kn){kn.framebuffer=qe.createFramebuffer(),Wt(kn)})}})}function O(){this.w=this.z=this.y=this.x=this.state=0,this.buffer=null,this.size=0,this.normalized=!1,this.type=5126,this.divisor=this.stride=this.offset=0}function z(qe,nt,ft,Re,Ne,Qe,ut){function dt(){this.id=++Lt,this.attributes=[],this.elements=null,this.ownsElements=!1,this.offset=this.count=0,this.instances=-1,this.primitive=4;var wt=nt.oes_vertex_array_object;this.vao=wt?wt.createVertexArrayOES():null,yt[this.id]=this,this.buffers=[]}var _t=ft.maxAttributes,It=Array(_t);for(ft=0;ft<_t;++ft)It[ft]=new O;var Lt=0,yt={},Pt={Record:O,scope:{},state:It,currentVAO:null,targetVAO:null,restore:nt.oes_vertex_array_object?function(){nt.oes_vertex_array_object&&pe(yt).forEach(function(wt){wt.refresh()})}:function(){},createVAO:function(wt){function Rt(Yt){var Wt;Array.isArray(Yt)?(Wt=Yt,Nt.elements&&Nt.ownsElements&&Nt.elements.destroy(),Nt.elements=null,Nt.ownsElements=!1,Nt.offset=0,Nt.count=0,Nt.instances=-1,Nt.primitive=4):(Yt.elements?(Wt=Yt.elements,Nt.ownsElements?(typeof Wt=="function"&&Wt._reglType==="elements"?Nt.elements.destroy():Nt.elements(Wt),Nt.ownsElements=!1):Qe.getElements(Yt.elements)?(Nt.elements=Yt.elements,Nt.ownsElements=!1):(Nt.elements=Qe.create(Yt.elements),Nt.ownsElements=!0)):(Nt.elements=null,Nt.ownsElements=!1),Wt=Yt.attributes,Nt.offset=0,Nt.count=-1,Nt.instances=-1,Nt.primitive=4,Nt.elements&&(Nt.count=Nt.elements._elements.vertCount,Nt.primitive=Nt.elements._elements.primType),"offset"in Yt&&(Nt.offset=0|Yt.offset),"count"in Yt&&(Nt.count=0|Yt.count),"instances"in Yt&&(Nt.instances=0|Yt.instances),"primitive"in Yt&&(Nt.primitive=fe[Yt.primitive])),Yt={};var Xt=Nt.attributes;Xt.length=Wt.length;for(var Qt=0;Qt=An.byteLength?rn.subdata(An):(rn.destroy(),Nt.buffers[Qt]=null)),Nt.buffers[Qt]||(rn=Nt.buffers[Qt]=Ne.create(xn,34962,!1,!0)),un.buffer=Ne.getBuffer(rn),un.size=0|un.buffer.dimension,un.normalized=!1,un.type=un.buffer.dtype,un.offset=0,un.stride=0,un.divisor=0,un.state=1,Yt[Qt]=1):Ne.getBuffer(xn)?(un.buffer=Ne.getBuffer(xn),un.size=0|un.buffer.dimension,un.normalized=!1,un.type=un.buffer.dtype,un.offset=0,un.stride=0,un.divisor=0,un.state=1):Ne.getBuffer(xn.buffer)?(un.buffer=Ne.getBuffer(xn.buffer),un.size=0|(+xn.size||un.buffer.dimension),un.normalized=!!xn.normalized||!1,un.type="type"in xn?_e[xn.type]:un.buffer.dtype,un.offset=0|(xn.offset||0),un.stride=0|(xn.stride||0),un.divisor=0|(xn.divisor||0),un.state=1):"x"in xn&&(un.x=+xn.x||0,un.y=+xn.y||0,un.z=+xn.z||0,un.w=+xn.w||0,un.state=2)}for(rn=0;rnRt&&(Rt=Nt.stats.uniformsCount)}),Rt},ft.getMaxAttributesCount=function(){var Rt=0;return Pt.forEach(function(Nt){Nt.stats.attributesCount>Rt&&(Rt=Nt.stats.attributesCount)}),Rt}),{clear:function(){var Rt=qe.deleteShader.bind(qe);pe(It).forEach(Rt),It={},pe(Lt).forEach(Rt),Lt={},Pt.forEach(function(Nt){qe.deleteProgram(Nt.program)}),Pt.length=0,yt={},ft.shaderCount=0},program:function(Rt,Nt,Yt,Wt){var Xt=yt[Nt];Xt||(Xt=yt[Nt]={});var Qt=Xt[Rt];if(Qt&&(Qt.refCount++,!Wt))return Qt;var rn=new dt(Nt,Rt);return ft.shaderCount++,_t(rn,Yt,Wt),Qt||(Xt[Rt]=rn),Pt.push(rn),re(rn,{destroy:function(){if(rn.refCount--,0>=rn.refCount){qe.deleteProgram(rn.program);var xn=Pt.indexOf(rn);Pt.splice(xn,1),ft.shaderCount--}0>=Xt[rn.vertId].refCount&&(qe.deleteShader(Lt[rn.vertId]),delete Lt[rn.vertId],delete yt[rn.fragId][rn.vertId]),Object.keys(yt[rn.fragId]).length||(qe.deleteShader(It[rn.fragId]),delete It[rn.fragId],delete yt[rn.fragId])}})},restore:function(){It={},Lt={};for(var Rt=0;Rt>>nt|qe<<32-nt}function W(qe,nt){var ft=(65535&qe)+(65535&nt);return(qe>>16)+(nt>>16)+(ft>>16)<<16|65535&ft}function j(qe){return Array.prototype.slice.call(qe)}function $(qe){return j(qe).join("")}function U(qe){function nt(){var Lt=[],yt=[];return re(function(){Lt.push.apply(Lt,j(arguments))},{def:function(){var Pt="v"+Ne++;return yt.push(Pt),060?ie[0]+(re===""?"":re+` `)+" "+Q.join(`, `)+" "+ie[1]:ie[0]+re+" "+Q.join(", ")+" "+ie[1]}(ne,te,X)):X[0]+te+X[1]}function s(N){return"["+Error.prototype.toString.call(N)+"]"}function h(N,W,j,$,U,G){var q,H,ne;if((ne=Object.getOwnPropertyDescriptor(W,U)||{value:W[U]}).get?H=ne.set?N.stylize("[Getter/Setter]","special"):N.stylize("[Getter]","special"):ne.set&&(H=N.stylize("[Setter]","special")),z($,U)||(q="["+U+"]"),H||(N.seen.indexOf(ne.value)<0?(H=w(j)?o(N,ne.value,null):o(N,ne.value,j-1)).indexOf(` -======== -`]),h&&(O.frag=O.frag.replace("smoothstep","smoothStep"),I.frag=I.frag.replace("smoothstep","smoothStep")),this.drawCircle=k(O)}S.defaults={color:"black",borderColor:"transparent",borderSize:0,size:12,opacity:1,marker:void 0,viewport:null,range:null,pixelSize:null,count:0,offset:0,bounds:null,positions:[],snap:1e4},S.prototype.render=function(){return arguments.length&&this.update.apply(this,arguments),this.draw(),this},S.prototype.draw=function(){for(var k=this,E=arguments.length,x=new Array(E),A=0;APe)?pe.tree=l(me,{bounds:ae}):Pe&&Pe.length&&(pe.tree=Pe),pe.tree){var fe={primitive:"points",usage:"static",data:pe.tree,type:"uint32"};pe.elements?pe.elements(fe):pe.elements=R.elements(fe)}var be=m.float32(me);return _e({data:be,usage:"dynamic"}),Me({data:m.fract32(me,be),usage:"dynamic"}),Se({data:new Uint8Array(Ce),type:"uint8",usage:"stream"}),me}},{marker:function(me,pe,xe){var Pe=pe.activation;if(Pe.forEach(function(be){return be&&be.destroy&&be.destroy()}),Pe.length=0,me&&typeof me[0]!="number"){for(var _e=[],Me=0,Se=Math.min(me.length,pe.count);Me=0)return b;if(k instanceof Uint8Array||k instanceof Uint8ClampedArray)E=k;else{E=new Uint8Array(k.length);for(var R=0,I=k.length;R4*A&&(this.tooManyColors=!0),this.updatePalette(x),L.length===1?L[0]:L},S.prototype.updatePalette=function(k){if(!this.tooManyColors){var E=this.maxColors,x=this.paletteTexture,A=Math.ceil(.25*k.length/E);if(A>1)for(var L=.25*(k=k.slice()).length%E;L2?(k[0],k[2],w=k[1],y=k[3]):k.length?(w=k[0],y=k[1]):(k.x,w=k.y,k.x,k.width,y=k.y+k.height),E.length>2?(S=E[0],_=E[2],E[1],E[3]):E.length?(S=E[0],_=E[1]):(S=E.x,E.y,_=E.x+E.width,E.y,E.height),[S,w,_,y]}function s(c){if(typeof c=="number")return[c,c,c,c];if(c.length===2)return[c[0],c[1],c[0],c[1]];var h=f(c);return[h.x,h.y,h.x+h.width,h.y+h.height]}T.exports=a,a.prototype.render=function(){for(var c,h=this,m=[],w=arguments.length;w--;)m[w]=arguments[w];return m.length&&(c=this).update.apply(c,m),this.regl.attributes.preserveDrawingBuffer?this.draw():(this.dirty?this.planned==null&&(this.planned=M(function(){h.draw(),h.dirty=!0,h.planned=null})):(this.draw(),this.dirty=!0,M(function(){h.dirty=!1})),this)},a.prototype.update=function(){for(var c,h=[],m=arguments.length;m--;)h[m]=arguments[m];if(h.length){for(var w=0;wF))&&(S.lower||!(z"u"?1:window.devicePixelRatio,It=!1,Lt={},yt=function(wt){},Pt=function(){};if(typeof Qe=="string"?nt=document.querySelector(Qe):typeof Qe=="object"&&(typeof Qe.nodeName=="string"&&typeof Qe.appendChild=="function"&&typeof Qe.getBoundingClientRect=="function"?nt=Qe:typeof Qe.drawArrays=="function"||typeof Qe.drawElements=="function"?Re=(Ne=Qe).canvas:("gl"in Qe?Ne=Qe.gl:"canvas"in Qe?Re=i(Qe.canvas):"container"in Qe&&(ft=i(Qe.container)),"attributes"in Qe&&(qe=Qe.attributes),"extensions"in Qe&&(ut=g(Qe.extensions)),"optionalExtensions"in Qe&&(dt=g(Qe.optionalExtensions)),"onDone"in Qe&&(yt=Qe.onDone),"profile"in Qe&&(It=!!Qe.profile),"pixelRatio"in Qe&&(_t=+Qe.pixelRatio),"cachedCode"in Qe&&(Lt=Qe.cachedCode))),nt&&(nt.nodeName.toLowerCase()==="canvas"?Re=nt:ft=nt),!Ne){if(!Re){if(!(nt=function(wt,Rt,Nt){function Yt(){var Qt=window.innerWidth,rn=window.innerHeight;wt!==document.body&&(Qt=(rn=Xt.getBoundingClientRect()).right-rn.left,rn=rn.bottom-rn.top),Xt.width=Nt*Qt,Xt.height=Nt*rn}var Wt,Xt=document.createElement("canvas");return re(Xt.style,{border:0,margin:0,padding:0,top:0,left:0,width:"100%",height:"100%"}),wt.appendChild(Xt),wt===document.body&&(Xt.style.position="absolute",re(wt.style,{margin:0,padding:0})),wt!==document.body&&typeof ResizeObserver=="function"?(Wt=new ResizeObserver(function(){setTimeout(Yt)})).observe(wt):window.addEventListener("resize",Yt,!1),Yt(),{canvas:Xt,onDestroy:function(){Wt?Wt.disconnect():window.removeEventListener("resize",Yt),wt.removeChild(Xt)}}}(ft||document.body,0,_t)))return null;Re=nt.canvas,Pt=nt.onDestroy}qe.premultipliedAlpha===void 0&&(qe.premultipliedAlpha=!0),Ne=function(wt,Rt){function Nt(Yt){try{return wt.getContext(Yt,Rt)}catch{return null}}return Nt("webgl")||Nt("experimental-webgl")||Nt("webgl-experimental")}(Re,qe)}return Ne?{gl:Ne,canvas:Re,container:ft,extensions:ut,optionalExtensions:dt,pixelRatio:_t,profile:It,cachedCode:Lt,onDone:yt,onDestroy:Pt}:(Pt(),yt("webgl not supported, try upgrading your browser or graphics drivers http://get.webgl.org"),null)}function v(qe,nt){for(var ft=Array(qe),Re=0;Re>>=nt))<<3,(nt|=ft=(15<(qe>>>=ft))<<2)|(ft=(3<(qe>>>=ft))<<1)|qe>>>ft>>1}function l(){function qe(Re){e:{for(var Ne=16;268435456>=Ne;Ne*=16)if(Re<=Ne){Re=Ne;break e}Re=0}return 0<(Ne=ft[f(Re)>>2]).length?Ne.pop():new ArrayBuffer(Re)}function nt(Re){ft[f(Re.byteLength)>>2].push(Re)}var ft=v(8,function(){return[]});return{alloc:qe,free:nt,allocType:function(Re,Ne){var Qe=null;switch(Re){case 5120:Qe=new Int8Array(qe(Ne),0,Ne);break;case 5121:Qe=new Uint8Array(qe(Ne),0,Ne);break;case 5122:Qe=new Int16Array(qe(2*Ne),0,Ne);break;case 5123:Qe=new Uint16Array(qe(2*Ne),0,Ne);break;case 5124:Qe=new Int32Array(qe(4*Ne),0,Ne);break;case 5125:Qe=new Uint32Array(qe(4*Ne),0,Ne);break;case 5126:Qe=new Float32Array(qe(4*Ne),0,Ne);break;default:return null}return Qe.length!==Ne?Qe.subarray(0,Ne):Qe},freeType:function(Re){nt(Re.buffer)}}}function a(qe){return!!qe&&typeof qe=="object"&&Array.isArray(qe.shape)&&Array.isArray(qe.stride)&&typeof qe.offset=="number"&&qe.shape.length===qe.stride.length&&(Array.isArray(qe.data)||me(qe.data))}function u(qe,nt,ft,Re,Ne,Qe){for(var ut=0;ut(Pt=Nt)&&(Pt=yt.buffer.byteLength,Xt===5123?Pt>>=1:Xt===5125&&(Pt>>=2)),yt.vertCount=Pt,Pt=Rt,0>Rt&&(Pt=4,(Rt=yt.buffer.dimension)===1&&(Pt=0),Rt===2&&(Pt=1),Rt===3&&(Pt=4)),yt.primType=Pt}function ut(yt){Re.elementsCount--,delete dt[yt.id],yt.buffer.destroy(),yt.buffer=null}var dt={},_t=0,It={uint8:5121,uint16:5123};nt.oes_element_index_uint&&(It.uint32=5125),Ne.prototype.bind=function(){this.buffer.bind()};var Lt=[];return{create:function(yt,Pt){function wt(Yt){if(Yt)if(typeof Yt=="number")Rt(Yt),Nt.primType=4,Nt.vertCount=0|Yt,Nt.type=5121;else{var Wt=null,Xt=35044,Qt=-1,rn=-1,xn=0,un=0;Array.isArray(Yt)||me(Yt)||a(Yt)?Wt=Yt:("data"in Yt&&(Wt=Yt.data),"usage"in Yt&&(Xt=Me[Yt.usage]),"primitive"in Yt&&(Qt=fe[Yt.primitive]),"count"in Yt&&(rn=0|Yt.count),"type"in Yt&&(un=It[Yt.type]),"length"in Yt?xn=0|Yt.length:(xn=rn,un===5123||un===5122?xn*=2:un!==5125&&un!==5124||(xn*=4))),Qe(Nt,Wt,Xt,Qt,rn,xn,un)}else Rt(),Nt.primType=4,Nt.vertCount=0,Nt.type=5121;return wt}var Rt=ft.create(null,34963,!0),Nt=new Ne(Rt._buffer);return Re.elementsCount++,wt(yt),wt._reglType="elements",wt._elements=Nt,wt.subdata=function(Yt,Wt){return Rt.subdata(Yt,Wt),wt},wt.destroy=function(){ut(Nt)},wt},createStream:function(yt){var Pt=Lt.pop();return Pt||(Pt=new Ne(ft.create(null,34963,!0,!1)._buffer)),Qe(Pt,yt,35040,-1,-1,0,0),Pt},destroyStream:function(yt){Lt.push(yt)},getElements:function(yt){return typeof yt=="function"&&yt._elements instanceof Ne?yt._elements:null},clear:function(){pe(dt).forEach(ut)}}}function y(qe){for(var nt=ye.allocType(5123,qe.length),ft=0;ft>>31<<15,Ne=(Qe<<1>>>24)-127,Qe=Qe>>13&1023;nt[ft]=-24>Ne?Re:-14>Ne?Re+(Qe+1024>>-14-Ne):15>=hn,jt.height>>=hn,Pt(jt,Jt[hn]),nn.mipmask|=1<Pn;++Pn)nn.images[Pn]=null;return nn}function xn(nn){for(var Pn=nn.images,jt=0;jtnn){for(var Pn=0;Pn=--this.refCount&&dn(this)}}),ut.profile&&(Qe.getTotalTextureSize=function(){var nn=0;return Object.keys($n).forEach(function(Pn){nn+=$n[Pn].stats.size}),nn}),{create2D:function(nn,Pn){function jt(hn,zn){var On=Jt.texInfo;un.call(On);var En=rn();return typeof hn=="number"?Wt(En,0|hn,typeof zn=="number"?0|zn:0|hn):hn?(An(On,hn),Xt(En,hn)):Wt(En,1,1),On.genMipmaps&&(En.mipmask=(En.width<<1)-1),Jt.mipmask=En.mipmask,_t(Jt,En),Jt.internalformat=En.internalformat,jt.width=En.width,jt.height=En.height,sn(Jt),Qt(En,3553),Yn(On,3553),Tn(),xn(En),ut.profile&&(Jt.stats.size=b(Jt.internalformat,Jt.type,En.width,En.height,On.genMipmaps,!1)),jt.format=or[Jt.internalformat],jt.type=vr[Jt.type],jt.mag=_r[On.magFilter],jt.min=Kt[On.minFilter],jt.wrapS=bn[On.wrapS],jt.wrapT=bn[On.wrapT],jt}var Jt=new kn(3553);return $n[Jt.id]=Jt,Qe.textureCount++,jt(nn,Pn),jt.subimage=function(hn,zn,On,En){zn|=0,On|=0,En|=0;var mn=Rt();return _t(mn,Jt),mn.width=0,mn.height=0,Pt(mn,hn),mn.width=mn.width||(Jt.width>>En)-zn,mn.height=mn.height||(Jt.height>>En)-On,sn(Jt),wt(mn,3553,zn,On,En),Tn(),Nt(mn),jt},jt.resize=function(hn,zn){var On=0|hn,En=0|zn||On;if(On===Jt.width&&En===Jt.height)return jt;jt.width=Jt.width=On,jt.height=Jt.height=En,sn(Jt);for(var mn=0;Jt.mipmask>>mn;++mn){var wn=On>>mn,gn=En>>mn;if(!wn||!gn)break;qe.texImage2D(3553,mn,Jt.format,wn,gn,0,Jt.format,Jt.type,null)}return Tn(),ut.profile&&(Jt.stats.size=b(Jt.internalformat,Jt.type,On,En,!1,!1)),jt},jt._reglType="texture2d",jt._texture=Jt,ut.profile&&(jt.stats=Jt.stats),jt.destroy=function(){Jt.decRef()},jt},createCube:function(nn,Pn,jt,Jt,hn,zn){function On(wn,gn,yn,Sn,Vn,Xn){var nr,Qn=En.texInfo;for(un.call(Qn),nr=0;6>nr;++nr)mn[nr]=rn();if(typeof wn!="number"&&wn){if(typeof wn=="object")if(gn)Xt(mn[0],wn),Xt(mn[1],gn),Xt(mn[2],yn),Xt(mn[3],Sn),Xt(mn[4],Vn),Xt(mn[5],Xn);else if(An(Qn,wn),It(En,wn),"faces"in wn)for(wn=wn.faces,nr=0;6>nr;++nr)_t(mn[nr],En),Xt(mn[nr],wn[nr]);else for(nr=0;6>nr;++nr)Xt(mn[nr],wn)}else for(wn=0|wn||1,nr=0;6>nr;++nr)Wt(mn[nr],wn,wn);for(_t(En,mn[0]),En.mipmask=Qn.genMipmaps?(mn[0].width<<1)-1:mn[0].mipmask,En.internalformat=mn[0].internalformat,On.width=mn[0].width,On.height=mn[0].height,sn(En),nr=0;6>nr;++nr)Qt(mn[nr],34069+nr);for(Yn(Qn,34067),Tn(),ut.profile&&(En.stats.size=b(En.internalformat,En.type,On.width,On.height,Qn.genMipmaps,!0)),On.format=or[En.internalformat],On.type=vr[En.type],On.mag=_r[Qn.magFilter],On.min=Kt[Qn.minFilter],On.wrapS=bn[Qn.wrapS],On.wrapT=bn[Qn.wrapT],nr=0;6>nr;++nr)xn(mn[nr]);return On}var En=new kn(34067);$n[En.id]=En,Qe.cubeCount++;var mn=Array(6);return On(nn,Pn,jt,Jt,hn,zn),On.subimage=function(wn,gn,yn,Sn,Vn){yn|=0,Sn|=0,Vn|=0;var Xn=Rt();return _t(Xn,En),Xn.width=0,Xn.height=0,Pt(Xn,gn),Xn.width=Xn.width||(En.width>>Vn)-yn,Xn.height=Xn.height||(En.height>>Vn)-Sn,sn(En),wt(Xn,34069+wn,yn,Sn,Vn),Tn(),Nt(Xn),On},On.resize=function(wn){if((wn|=0)!==En.width){On.width=En.width=wn,On.height=En.height=wn,sn(En);for(var gn=0;6>gn;++gn)for(var yn=0;En.mipmask>>yn;++yn)qe.texImage2D(34069+gn,yn,En.format,wn>>yn,wn>>yn,0,En.format,En.type,null);return Tn(),ut.profile&&(En.stats.size=b(En.internalformat,En.type,On.width,On.height,!1,!0)),On}},On._reglType="textureCube",On._texture=En,ut.profile&&(On.stats=En.stats),On.destroy=function(){En.decRef()},On},clear:function(){for(var nn=0;nnJt;++Jt)if(jt.mipmask&1<>Jt,jt.height>>Jt,0,jt.internalformat,jt.type,null);else for(var hn=0;6>hn;++hn)qe.texImage2D(34069+hn,Jt,jt.internalformat,jt.width>>Jt,jt.height>>Jt,0,jt.internalformat,jt.type,null);Yn(jt.texInfo,jt.target)})},refresh:function(){for(var nn=0;nnpn;++pn){for(qn=0;qndn;++dn)Tn[dn].resize(pn);return sn.width=sn.height=pn,sn},_reglType:"framebufferCube",destroy:function(){Tn.forEach(function(dn){dn.destroy()})}})},clear:function(){pe(Yn).forEach(Yt)},restore:function(){Qt.cur=null,Qt.next=null,Qt.dirty=!0,pe(Yn).forEach(function(kn){kn.framebuffer=qe.createFramebuffer(),Wt(kn)})}})}function O(){this.w=this.z=this.y=this.x=this.state=0,this.buffer=null,this.size=0,this.normalized=!1,this.type=5126,this.divisor=this.stride=this.offset=0}function z(qe,nt,ft,Re,Ne,Qe,ut){function dt(){this.id=++Lt,this.attributes=[],this.elements=null,this.ownsElements=!1,this.offset=this.count=0,this.instances=-1,this.primitive=4;var wt=nt.oes_vertex_array_object;this.vao=wt?wt.createVertexArrayOES():null,yt[this.id]=this,this.buffers=[]}var _t=ft.maxAttributes,It=Array(_t);for(ft=0;ft<_t;++ft)It[ft]=new O;var Lt=0,yt={},Pt={Record:O,scope:{},state:It,currentVAO:null,targetVAO:null,restore:nt.oes_vertex_array_object?function(){nt.oes_vertex_array_object&&pe(yt).forEach(function(wt){wt.refresh()})}:function(){},createVAO:function(wt){function Rt(Yt){var Wt;Array.isArray(Yt)?(Wt=Yt,Nt.elements&&Nt.ownsElements&&Nt.elements.destroy(),Nt.elements=null,Nt.ownsElements=!1,Nt.offset=0,Nt.count=0,Nt.instances=-1,Nt.primitive=4):(Yt.elements?(Wt=Yt.elements,Nt.ownsElements?(typeof Wt=="function"&&Wt._reglType==="elements"?Nt.elements.destroy():Nt.elements(Wt),Nt.ownsElements=!1):Qe.getElements(Yt.elements)?(Nt.elements=Yt.elements,Nt.ownsElements=!1):(Nt.elements=Qe.create(Yt.elements),Nt.ownsElements=!0)):(Nt.elements=null,Nt.ownsElements=!1),Wt=Yt.attributes,Nt.offset=0,Nt.count=-1,Nt.instances=-1,Nt.primitive=4,Nt.elements&&(Nt.count=Nt.elements._elements.vertCount,Nt.primitive=Nt.elements._elements.primType),"offset"in Yt&&(Nt.offset=0|Yt.offset),"count"in Yt&&(Nt.count=0|Yt.count),"instances"in Yt&&(Nt.instances=0|Yt.instances),"primitive"in Yt&&(Nt.primitive=fe[Yt.primitive])),Yt={};var Xt=Nt.attributes;Xt.length=Wt.length;for(var Qt=0;Qt=An.byteLength?rn.subdata(An):(rn.destroy(),Nt.buffers[Qt]=null)),Nt.buffers[Qt]||(rn=Nt.buffers[Qt]=Ne.create(xn,34962,!1,!0)),un.buffer=Ne.getBuffer(rn),un.size=0|un.buffer.dimension,un.normalized=!1,un.type=un.buffer.dtype,un.offset=0,un.stride=0,un.divisor=0,un.state=1,Yt[Qt]=1):Ne.getBuffer(xn)?(un.buffer=Ne.getBuffer(xn),un.size=0|un.buffer.dimension,un.normalized=!1,un.type=un.buffer.dtype,un.offset=0,un.stride=0,un.divisor=0,un.state=1):Ne.getBuffer(xn.buffer)?(un.buffer=Ne.getBuffer(xn.buffer),un.size=0|(+xn.size||un.buffer.dimension),un.normalized=!!xn.normalized||!1,un.type="type"in xn?_e[xn.type]:un.buffer.dtype,un.offset=0|(xn.offset||0),un.stride=0|(xn.stride||0),un.divisor=0|(xn.divisor||0),un.state=1):"x"in xn&&(un.x=+xn.x||0,un.y=+xn.y||0,un.z=+xn.z||0,un.w=+xn.w||0,un.state=2)}for(rn=0;rnRt&&(Rt=Nt.stats.uniformsCount)}),Rt},ft.getMaxAttributesCount=function(){var Rt=0;return Pt.forEach(function(Nt){Nt.stats.attributesCount>Rt&&(Rt=Nt.stats.attributesCount)}),Rt}),{clear:function(){var Rt=qe.deleteShader.bind(qe);pe(It).forEach(Rt),It={},pe(Lt).forEach(Rt),Lt={},Pt.forEach(function(Nt){qe.deleteProgram(Nt.program)}),Pt.length=0,yt={},ft.shaderCount=0},program:function(Rt,Nt,Yt,Wt){var Xt=yt[Nt];Xt||(Xt=yt[Nt]={});var Qt=Xt[Rt];if(Qt&&(Qt.refCount++,!Wt))return Qt;var rn=new dt(Nt,Rt);return ft.shaderCount++,_t(rn,Yt,Wt),Qt||(Xt[Rt]=rn),Pt.push(rn),re(rn,{destroy:function(){if(rn.refCount--,0>=rn.refCount){qe.deleteProgram(rn.program);var xn=Pt.indexOf(rn);Pt.splice(xn,1),ft.shaderCount--}0>=Xt[rn.vertId].refCount&&(qe.deleteShader(Lt[rn.vertId]),delete Lt[rn.vertId],delete yt[rn.fragId][rn.vertId]),Object.keys(yt[rn.fragId]).length||(qe.deleteShader(It[rn.fragId]),delete It[rn.fragId],delete yt[rn.fragId])}})},restore:function(){It={},Lt={};for(var Rt=0;Rt>>nt|qe<<32-nt}function W(qe,nt){var ft=(65535&qe)+(65535&nt);return(qe>>16)+(nt>>16)+(ft>>16)<<16|65535&ft}function j(qe){return Array.prototype.slice.call(qe)}function $(qe){return j(qe).join("")}function U(qe){function nt(){var Lt=[],yt=[];return re(function(){Lt.push.apply(Lt,j(arguments))},{def:function(){var Pt="v"+Ne++;return yt.push(Pt),0>>4&15)+"0123456789abcdef".charAt(15&Rt);return Nt}(function(wt){for(var Rt=Array(wt.length>>2),Nt=0;Nt>5]|=(255&wt.charCodeAt(Nt/8))<<24-Nt%32;var Yt,Wt,Xt,Qt,rn,xn,un,An,Yn,kn,sn,Tn=8*wt.length;for(wt=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],Nt=Array(64),Rt[Tn>>5]|=128<<24-Tn%32,Rt[15+(Tn+64>>9<<4)]=Tn,An=0;AnYn;Yn++){var dn;16>Yn?Nt[Yn]=Rt[Yn+An]:(kn=Yn,sn=W(sn=N(sn=Nt[Yn-2],17)^N(sn,19)^sn>>>10,Nt[Yn-7]),dn=N(dn=Nt[Yn-15],7)^N(dn,18)^dn>>>3,Nt[kn]=W(W(sn,dn),Nt[Yn-16])),kn=W(W(W(W(un,kn=N(kn=Qt,6)^N(kn,11)^N(kn,25)),Qt&rn^~Qt&xn),xt[Yn]),Nt[Yn]),sn=W(un=N(un=Tn,2)^N(un,13)^N(un,22),Tn&Yt^Tn&Wt^Yt&Wt),un=xn,xn=rn,rn=Qt,Qt=W(Xt,kn),Xt=Wt,Wt=Yt,Yt=Tn,Tn=W(kn,sn)}wt[0]=W(Tn,wt[0]),wt[1]=W(Yt,wt[1]),wt[2]=W(Wt,wt[2]),wt[3]=W(Xt,wt[3]),wt[4]=W(Qt,wt[4]),wt[5]=W(rn,wt[5]),wt[6]=W(xn,wt[6]),wt[7]=W(un,wt[7])}for(Rt="",Nt=0;Nt<32*wt.length;Nt+=8)Rt+=String.fromCharCode(wt[Nt>>5]>>>24-Nt%32&255);return Rt}(function(wt){for(var Rt,Nt,Yt="",Wt=-1;++Wt=Rt&&56320<=Nt&&57343>=Nt&&(Rt=65536+((1023&Rt)<<10)+(1023&Nt),Wt++),127>=Rt?Yt+=String.fromCharCode(Rt):2047>=Rt?Yt+=String.fromCharCode(192|Rt>>>6&31,128|63&Rt):65535>=Rt?Yt+=String.fromCharCode(224|Rt>>>12&15,128|Rt>>>6&63,128|63&Rt):2097151>=Rt&&(Yt+=String.fromCharCode(240|Rt>>>18&7,128|Rt>>>12&63,128|Rt>>>6&63,128|63&Rt));return Yt}(Pt))),Re[yt])?Re[yt].apply(null,ut):(Pt=Function.apply(null,Qe.concat(Pt)),Re&&(Re[yt]=Pt),Pt.apply(null,ut))}}}function G(qe){return Array.isArray(qe)||me(qe)||a(qe)}function q(qe){return qe.sort(function(nt,ft){return nt==="viewport"?-1:ft==="viewport"?1:nt"+br+"?"+Sn+".constant["+br+"]:0;"}).join(""),"}}else{","if(",nr,"(",Sn,".buffer)){",cr,"=",Vn,".createStream(",34962,",",Sn,".buffer);","}else{",cr,"=",Vn,".getBuffer(",Sn,".buffer);","}",pr,'="type" in ',Sn,"?",Xn.glTypes,"[",Sn,".type]:",cr,".dtype;",Qn.normalized,"=!!",Sn,".normalized;"),yn("size"),yn("offset"),yn("stride"),yn("divisor"),gn("}}"),gn.exit("if(",Qn.isStream,"){",Vn,".destroyStream(",cr,");","}"),Qn})}),On}function Yn(jt,Jt,hn,zn,On){function En(hr){var cr=wn[hr];cr&&(yn[hr]=cr)}var mn=function(hr,cr){if(typeof(pr=hr.static).frag=="string"&&typeof pr.vert=="string"){if(0"u"?"Date.now()":"performance.now()"}function mn(hr){hr(yn=Jt.def(),"=",En(),";"),typeof On=="string"?hr(Xn,".count+=",On,";"):hr(Xn,".count++;"),wt&&(zn?hr(Sn=Jt.def(),"=",Qn,".getNumPendingQueries();"):hr(Qn,".beginQuery(",Xn,");"))}function wn(hr){hr(Xn,".cpuTime+=",En(),"-",yn,";"),wt&&(zn?hr(Qn,".pushScopeStats(",Sn,",",Qn,".getNumPendingQueries(),",Xn,");"):hr(Qn,".endQuery();"))}function gn(hr){var cr=Jt.def(nr,".profile");Jt(nr,".profile=",hr,";"),Jt.exit(nr,".profile=",cr,";")}var yn,Sn,Vn=jt.shared,Xn=jt.stats,nr=Vn.current,Qn=Vn.timer;if(hn=hn.profile){if(ne(hn))return void(hn.enable?(mn(Jt),wn(Jt.exit),gn("true")):gn("false"));gn(hn=hn.append(jt,Jt))}else hn=Jt.def(nr,".profile");mn(Vn=jt.block()),Jt("if(",hn,"){",Vn,"}"),wn(jt=jt.block()),Jt.exit("if(",hn,"){",jt,"}")}function In(jt,Jt,hn,zn,On){function En(wn,gn,yn){function Sn(){Jt("if(!",Qn,".buffer){",Xn,".enableVertexAttribArray(",nr,");}");var dr,br=yn.type;dr=yn.size?Jt.def(yn.size,"||",gn):gn,Jt("if(",Qn,".type!==",br,"||",Qn,".size!==",dr,"||",pr.map(function(Ir){return Qn+"."+Ir+"!=="+yn[Ir]}).join("||"),"){",Xn,".bindBuffer(",34962,",",hr,".buffer);",Xn,".vertexAttribPointer(",[nr,dr,br,yn.normalized,yn.stride,yn.offset],");",Qn,".type=",br,";",Qn,".size=",dr,";",pr.map(function(Ir){return Qn+"."+Ir+"="+yn[Ir]+";"}).join(""),"}"),Kt&&(br=yn.divisor,Jt("if(",Qn,".divisor!==",br,"){",jt.instancing,".vertexAttribDivisorANGLE(",[nr,br],");",Qn,".divisor=",br,";}"))}function Vn(){Jt("if(",Qn,".buffer){",Xn,".disableVertexAttribArray(",nr,");",Qn,".buffer=null;","}if(",Ft.map(function(dr,br){return Qn+"."+dr+"!=="+cr[br]}).join("||"),"){",Xn,".vertexAttrib4f(",nr,",",cr,");",Ft.map(function(dr,br){return Qn+"."+dr+"="+cr[br]+";"}).join(""),"}")}var Xn=mn.gl,nr=Jt.def(wn,".location"),Qn=Jt.def(mn.attributes,"[",nr,"]");wn=yn.state;var hr=yn.buffer,cr=[yn.x,yn.y,yn.z,yn.w],pr=["buffer","normalized","offset","stride"];wn===1?Sn():wn===2?Vn():(Jt("if(",wn,"===",1,"){"),Sn(),Jt("}else{"),Vn(),Jt("}"))}var mn=jt.shared;zn.forEach(function(wn){var gn,yn=wn.name,Sn=hn.attributes[yn];if(Sn){if(!On(Sn))return;gn=Sn.append(jt,Jt)}else{if(!On(Je))return;var Vn=jt.scopeAttrib(yn);gn={},Object.keys(new vr).forEach(function(Xn){gn[Xn]=Jt.def(Vn,".",Xn)})}En(jt.link(wn),function(Xn){switch(Xn){case 35664:case 35667:case 35671:return 2;case 35665:case 35668:case 35672:return 3;case 35666:case 35669:case 35673:return 4;default:return 1}}(wn.info.type),gn)})}function jn(jt,Jt,hn,zn,On,En){for(var mn,wn=jt.shared,gn=wn.gl,yn=0;yn>1)",wn],");")}function Ir(){hn(gn,".drawArraysInstancedANGLE(",[Qn,hr,cr,wn],");")}nr&&nr!=="null"?dr?br():(hn("if(",nr,"){"),br(),hn("}else{"),Ir(),hn("}")):Ir()}function mn(){function br(){hn(Sn+".drawElements("+[Qn,cr,pr,hr+"<<(("+pr+"-5121)>>1)"]+");")}function Ir(){hn(Sn+".drawArrays("+[Qn,hr,cr]+");")}nr&&nr!=="null"?dr?br():(hn("if(",nr,"){"),br(),hn("}else{"),Ir(),hn("}")):Ir()}var wn,gn,yn=jt.shared,Sn=yn.gl,Vn=yn.draw,Xn=zn.draw,nr=function(){var br=Xn.elements,Ir=Jt;return br?((br.contextDep&&zn.contextDynamic||br.propDep)&&(Ir=hn),br=br.append(jt,Ir),Xn.elementsActive&&Ir("if("+br+")"+Sn+".bindBuffer(34963,"+br+".buffer.buffer);")):(br=Ir.def(),Ir(br,"=",Vn,".","elements",";","if(",br,"){",Sn,".bindBuffer(",34963,",",br,".buffer.buffer);}","else if(",yn.vao,".currentVAO){",br,"=",jt.shared.elements+".getElements("+yn.vao,".currentVAO.elements);",Rn?"":"if("+br+")"+Sn+".bindBuffer(34963,"+br+".buffer.buffer);","}")),br}(),Qn=On("primitive"),hr=On("offset"),cr=function(){var br=Xn.count,Ir=Jt;return br?((br.contextDep&&zn.contextDynamic||br.propDep)&&(Ir=hn),br=br.append(jt,Ir)):br=Ir.def(Vn,".","count"),br}();if(typeof cr=="number"){if(cr===0)return}else hn("if(",cr,"){"),hn.exit("}");Kt&&(wn=On("instances"),gn=jt.instancing);var pr=nr+".type",dr=Xn.elements&&ne(Xn.elements)&&!Xn.vaoActive;Kt&&(typeof wn!="number"||0<=wn)?typeof wn=="string"?(hn("if(",wn,">0){"),En(),hn("}else if(",wn,"<0){"),mn(),hn("}")):En():mn()}function qn(jt,Jt,hn,zn,On){return On=(Jt=Qt()).proc("body",On),Kt&&(Jt.instancing=On.def(Jt.shared.extensions,".angle_instanced_arrays")),jt(Jt,On,hn,zn),Jt.compile().body}function lr(jt,Jt,hn,zn){pn(jt,Jt),hn.useVAO?hn.drawVAO?Jt(jt.shared.vao,".setVAO(",hn.drawVAO.append(jt,Jt),");"):Jt(jt.shared.vao,".setVAO(",jt.shared.vao,".targetVAO);"):(Jt(jt.shared.vao,".setVAO(null);"),In(jt,Jt,hn,zn.attributes,function(){return!0})),jn(jt,Jt,hn,zn.uniforms,function(){return!0},!1),Gn(jt,Jt,Jt,hn)}function rr(jt,Jt,hn,zn){function On(){return!0}jt.batchId="a1",pn(jt,Jt),In(jt,Jt,hn,zn.attributes,On),jn(jt,Jt,hn,zn.uniforms,On,!1),Gn(jt,Jt,Jt,hn)}function Sr(jt,Jt,hn,zn){function On(Vn){return Vn.contextDep&&mn||Vn.propDep}function En(Vn){return!On(Vn)}pn(jt,Jt);var mn=hn.contextDep,wn=Jt.def(),gn=Jt.def();jt.shared.props=gn,jt.batchId=wn;var yn=jt.scope(),Sn=jt.scope();Jt(yn.entry,"for(",wn,"=0;",wn,"<","a1",";++",wn,"){",gn,"=","a0","[",wn,"];",Sn,"}",yn.exit),hn.needsContext&&kn(jt,Sn,hn.context),hn.needsFramebuffer&&sn(jt,Sn,hn.framebuffer),dn(jt,Sn,hn.state,On),hn.profile&&On(hn.profile)&&Dn(jt,Sn,hn,!1,!0),zn?(hn.useVAO?hn.drawVAO?On(hn.drawVAO)?Sn(jt.shared.vao,".setVAO(",hn.drawVAO.append(jt,Sn),");"):yn(jt.shared.vao,".setVAO(",hn.drawVAO.append(jt,yn),");"):yn(jt.shared.vao,".setVAO(",jt.shared.vao,".targetVAO);"):(yn(jt.shared.vao,".setVAO(null);"),In(jt,yn,hn,zn.attributes,En),In(jt,Sn,hn,zn.attributes,On)),jn(jt,yn,hn,zn.uniforms,En,!1),jn(jt,Sn,hn,zn.uniforms,On,!0),Gn(jt,yn,Sn,hn)):(Jt=jt.global.def("{}"),zn=hn.shader.progVar.append(jt,Sn),gn=Sn.def(zn,".id"),yn=Sn.def(Jt,"[",gn,"]"),Sn(jt.shared.gl,".useProgram(",zn,".program);","if(!",yn,"){",yn,"=",Jt,"[",gn,"]=",jt.link(function(Vn){return qn(rr,jt,hn,Vn,2)}),"(",zn,");}",yn,".call(this,a0[",wn,"],",wn,");"))}function yr(jt,Jt){function hn(wn){var gn=Jt.shader[wn];gn&&(gn=gn.append(jt,zn),isNaN(gn)?zn.set(On.shader,"."+wn,gn):zn.set(On.shader,"."+wn,jt.link(gn,{stable:!0})))}var zn=jt.proc("scope",3);jt.batchId="a2";var On=jt.shared,En=On.current;if(kn(jt,zn,Jt.context),Jt.framebuffer&&Jt.framebuffer.append(jt,zn),q(Object.keys(Jt.state)).forEach(function(wn){var gn=Jt.state[wn],yn=gn.append(jt,zn);S(yn)?yn.forEach(function(Sn,Vn){isNaN(Sn)?zn.set(jt.next[wn],"["+Vn+"]",Sn):zn.set(jt.next[wn],"["+Vn+"]",jt.link(Sn,{stable:!0}))}):ne(gn)?zn.set(On.next,"."+wn,jt.link(yn,{stable:!0})):zn.set(On.next,"."+wn,yn)}),Dn(jt,zn,Jt,!0,!0),["elements","offset","count","instances","primitive"].forEach(function(wn){var gn=Jt.draw[wn];gn&&(gn=gn.append(jt,zn),isNaN(gn)?zn.set(On.draw,"."+wn,gn):zn.set(On.draw,"."+wn,jt.link(gn),{stable:!0}))}),Object.keys(Jt.uniforms).forEach(function(wn){var gn=Jt.uniforms[wn].append(jt,zn);Array.isArray(gn)&&(gn="["+gn.map(function(yn){return isNaN(yn)?yn:jt.link(yn,{stable:!0})})+"]"),zn.set(On.uniforms,"["+jt.link(nt.id(wn),{stable:!0})+"]",gn)}),Object.keys(Jt.attributes).forEach(function(wn){var gn=Jt.attributes[wn].append(jt,zn),yn=jt.scopeAttrib(wn);Object.keys(new vr).forEach(function(Sn){zn.set(yn,"."+Sn,gn[Sn])})}),Jt.scopeVAO){var mn=Jt.scopeVAO.append(jt,zn);isNaN(mn)?zn.set(On.vao,".targetVAO",mn):zn.set(On.vao,".targetVAO",jt.link(mn,{stable:!0}))}hn("vert"),hn("frag"),0=--this.refCount&&ut(this)},Ne.profile&&(Re.getTotalRenderbufferSize=function(){var yt=0;return Object.keys(Lt).forEach(function(Pt){yt+=Lt[Pt].stats.size}),yt}),{create:function(yt,Pt){function wt(Nt,Yt){var Wt=0,Xt=0,Qt=32854;if(typeof Nt=="object"&&Nt?("shape"in Nt?(Wt=0|(Xt=Nt.shape)[0],Xt=0|Xt[1]):("radius"in Nt&&(Wt=Xt=0|Nt.radius),"width"in Nt&&(Wt=0|Nt.width),"height"in Nt&&(Xt=0|Nt.height)),"format"in Nt&&(Qt=dt[Nt.format])):typeof Nt=="number"?(Wt=0|Nt,Xt=typeof Yt=="number"?0|Yt:Wt):Nt||(Wt=Xt=1),Wt!==Rt.width||Xt!==Rt.height||Qt!==Rt.format)return wt.width=Rt.width=Wt,wt.height=Rt.height=Xt,Rt.format=Qt,qe.bindRenderbuffer(36161,Rt.renderbuffer),qe.renderbufferStorage(36161,Qt,Wt,Xt),Ne.profile&&(Rt.stats.size=ht[Rt.format]*Rt.width*Rt.height),wt.format=_t[Rt.format],wt}var Rt=new Qe(qe.createRenderbuffer());return Lt[Rt.id]=Rt,Re.renderbufferCount++,wt(yt,Pt),wt.resize=function(Nt,Yt){var Wt=0|Nt,Xt=0|Yt||Wt;return Wt===Rt.width&&Xt===Rt.height||(wt.width=Rt.width=Wt,wt.height=Rt.height=Xt,qe.bindRenderbuffer(36161,Rt.renderbuffer),qe.renderbufferStorage(36161,Rt.format,Wt,Xt),Ne.profile&&(Rt.stats.size=ht[Rt.format]*Rt.width*Rt.height)),wt},wt._reglType="renderbuffer",wt._renderbuffer=Rt,Ne.profile&&(wt.stats=Rt.stats),wt.destroy=function(){Rt.decRef()},wt},clear:function(){pe(Lt).forEach(ut)},restore:function(){pe(Lt).forEach(function(yt){yt.renderbuffer=qe.createRenderbuffer(),qe.bindRenderbuffer(36161,yt.renderbuffer),qe.renderbufferStorage(36161,yt.format,yt.width,yt.height)}),qe.bindRenderbuffer(36161,null)}}},Et=[];Et[6408]=4,Et[6407]=3;var kt=[];kt[5121]=1,kt[5126]=4,kt[36193]=2;var xt=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],Ft=["x","y","z","w"],Ot="blend.func blend.equation stencil.func stencil.opFront stencil.opBack sample.coverage viewport scissor.box polygonOffset.offset".split(" "),Bt={0:0,1:1,zero:0,one:1,"src color":768,"one minus src color":769,"src alpha":770,"one minus src alpha":771,"dst color":774,"one minus dst color":775,"dst alpha":772,"one minus dst alpha":773,"constant color":32769,"one minus constant color":32770,"constant alpha":32771,"one minus constant alpha":32772,"src alpha saturate":776},qt={never:512,less:513,"<":513,equal:514,"=":514,"==":514,"===":514,lequal:515,"<=":515,greater:516,">":516,notequal:517,"!=":517,"!==":517,gequal:518,">=":518,always:519},Vt={0:0,zero:0,keep:7680,replace:7681,increment:7682,decrement:7683,"increment wrap":34055,"decrement wrap":34056,invert:5386},Ke={cw:2304,ccw:2305},Je=new H(!1,!1,!1,function(){});return function(qe){function nt(){if(rr.length===0)rn&&rn.update(),vr=null;else{vr=ue.next(nt),Lt();for(var Kt=rr.length-1;0<=Kt;--Kt){var bn=rr[Kt];bn&&bn(Yn,null,0)}wt.flush(),rn&&rn.update()}}function ft(){!vr&&0=rr.length&&Re()}}}}function It(){var Kt=qn.viewport,bn=qn.scissor_box;Kt[0]=Kt[1]=bn[0]=bn[1]=0,Yn.viewportWidth=Yn.framebufferWidth=Yn.drawingBufferWidth=Kt[2]=bn[2]=wt.drawingBufferWidth,Yn.viewportHeight=Yn.framebufferHeight=Yn.drawingBufferHeight=Kt[3]=bn[3]=wt.drawingBufferHeight}function Lt(){Yn.tick+=1,Yn.time=Pt(),It(),Gn.procs.poll()}function yt(){Dn.refresh(),It(),Gn.procs.refresh(),rn&&rn.update()}function Pt(){return(ce()-xn)/1e3}if(!(qe=M(qe)))return null;var wt=qe.gl,Rt=wt.getContextAttributes();wt.isContextLost();var Nt=function(Kt,bn){function Rn($n){var tr;$n=$n.toLowerCase();try{tr=Ln[$n]=Kt.getExtension($n)}catch{}return!!tr}for(var Ln={},Un=0;Unbn;++bn)_r(re({framebuffer:Kt.framebuffer.faces[bn]},Kt),dt);else _r(Kt,dt);else dt(0,Kt)},prop:oe.define.bind(null,1),context:oe.define.bind(null,2),this:oe.define.bind(null,3),draw:ut({}),buffer:function(Kt){return sn.create(Kt,34962,!1,!1)},elements:function(Kt){return Tn.create(Kt,!1)},texture:Dn.create2D,cube:Dn.createCube,renderbuffer:In.create,framebuffer:jn.create,framebufferCube:jn.createCube,vao:dn.createVAO,attributes:Rt,frame:_t,on:function(Kt,bn){var Rn;switch(Kt){case"frame":return _t(bn);case"lost":Rn=Sr;break;case"restore":Rn=yr;break;case"destroy":Rn=or}return Rn.push(bn),{cancel:function(){for(var Ln=0;Ln2?"one of ".concat(i," ").concat(g.slice(0,M-1).join(", "),", or ")+g[M-1]:M===2?"one of ".concat(i," ").concat(g[0]," or ").concat(g[1]):"of ".concat(i," ").concat(g[0])}return"of ".concat(i," ").concat(String(g))}t("ERR_INVALID_OPT_VALUE",function(g,i){return'The value "'+i+'" is invalid for option "'+g+'"'},TypeError),t("ERR_INVALID_ARG_TYPE",function(g,i,M){var v,f,l,a,u;if(typeof i=="string"&&(f="not ",i.substr(0,f.length)===f)?(v="must not be",i=i.replace(/^not /,"")):v="must be",function(s,c,h){return(h===void 0||h>s.length)&&(h=s.length),s.substring(h-c.length,h)===c}(g," argument"))l="The ".concat(g," ").concat(v," ").concat(d(i,"type"));else{var o=(typeof u!="number"&&(u=0),u+1>(a=g).length||a.indexOf(".",u)===-1?"argument":"property");l='The "'.concat(g,'" ').concat(o," ").concat(v," ").concat(d(i,"type"))}return l+". Received type ".concat(typeof M)},TypeError),t("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),t("ERR_METHOD_NOT_IMPLEMENTED",function(g){return"The "+g+" method is not implemented"}),t("ERR_STREAM_PREMATURE_CLOSE","Premature close"),t("ERR_STREAM_DESTROYED",function(g){return"Cannot call "+g+" after a stream was destroyed"}),t("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),t("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),t("ERR_STREAM_WRITE_AFTER_END","write after end"),t("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),t("ERR_UNKNOWN_ENCODING",function(g){return"Unknown encoding: "+g},TypeError),t("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),T.exports.q=p},37865:function(T,p,t){var d=t(90386),g=Object.keys||function(s){var c=[];for(var h in s)c.push(h);return c};T.exports=a;var i=t(40410),M=t(37493);t(42018)(a,i);for(var v=g(M.prototype),f=0;f0)if(typeof Z=="string"||oe.objectMode||Object.getPrototypeOf(Z)===f.prototype||(Z=function(ue){return f.from(ue)}(Z)),Q)oe.endEmitted?E(te,new k):R(te,oe,Z,!0);else if(oe.ended)E(te,new S);else{if(oe.destroyed)return!1;oe.reading=!1,oe.decoder&&!X?(Z=oe.decoder.write(Z),oe.objectMode||Z.length!==0?R(te,oe,Z,!1):B(te,oe)):R(te,oe,Z,!1)}else Q||(oe.reading=!1,B(te,oe));return!oe.ended&&(oe.lengthZ.highWaterMark&&(Z.highWaterMark=function(X){return X>=I?X=I:(X--,X|=X>>>1,X|=X>>>2,X|=X>>>4,X|=X>>>8,X|=X>>>16,X++),X}(te)),te<=Z.length?te:Z.ended?Z.length:(Z.needReadable=!0,0))}function z(te){var Z=te._readableState;i("emitReadable",Z.needReadable,Z.emittedReadable),Z.needReadable=!1,Z.emittedReadable||(i("emitReadable",Z.flowing),Z.emittedReadable=!0,g.nextTick(F,te))}function F(te){var Z=te._readableState;i("emitReadable_",Z.destroyed,Z.length,Z.ended),Z.destroyed||!Z.length&&!Z.ended||(te.emit("readable"),Z.emittedReadable=!1),Z.needReadable=!Z.flowing&&!Z.ended&&Z.length<=Z.highWaterMark,U(te)}function B(te,Z){Z.readingMore||(Z.readingMore=!0,g.nextTick(N,te,Z))}function N(te,Z){for(;!Z.reading&&!Z.ended&&(Z.length0,Z.resumeScheduled&&!Z.paused?Z.flowing=!0:te.listenerCount("data")>0&&te.resume()}function j(te){i("readable nexttick read 0"),te.read(0)}function $(te,Z){i("resume",Z.reading),Z.reading||te.read(0),Z.resumeScheduled=!1,te.emit("resume"),U(te),Z.flowing&&!Z.reading&&te.read(0)}function U(te){var Z=te._readableState;for(i("flow",Z.flowing);Z.flowing&&te.read()!==null;);}function G(te,Z){return Z.length===0?null:(Z.objectMode?X=Z.buffer.shift():!te||te>=Z.length?(X=Z.decoder?Z.buffer.join(""):Z.buffer.length===1?Z.buffer.first():Z.buffer.concat(Z.length),Z.buffer.clear()):X=Z.buffer.consume(te,Z.decoder),X);var X}function q(te){var Z=te._readableState;i("endReadable",Z.endEmitted),Z.endEmitted||(Z.ended=!0,g.nextTick(H,Z,te))}function H(te,Z){if(i("endReadableNT",te.endEmitted,te.length),!te.endEmitted&&te.length===0&&(te.endEmitted=!0,Z.readable=!1,Z.emit("end"),te.autoDestroy)){var X=Z._writableState;(!X||X.autoDestroy&&X.finished)&&Z.destroy()}}function ne(te,Z){for(var X=0,Q=te.length;X=Z.highWaterMark:Z.length>0)||Z.ended))return i("read: emitReadable",Z.length,Z.ended),Z.length===0&&Z.ended?q(this):z(this),null;if((te=O(te,Z))===0&&Z.ended)return Z.length===0&&q(this),null;var Q,re=Z.needReadable;return i("need readable",re),(Z.length===0||Z.length-te0?G(te,Z):null)===null?(Z.needReadable=Z.length<=Z.highWaterMark,te=0):(Z.length-=te,Z.awaitDrain=0),Z.length===0&&(Z.ended||(Z.needReadable=!0),X!==te&&Z.ended&&q(this)),Q!==null&&this.emit("data",Q),Q},L.prototype._read=function(te){E(this,new _("_read()"))},L.prototype.pipe=function(te,Z){var X=this,Q=this._readableState;switch(Q.pipesCount){case 0:Q.pipes=te;break;case 1:Q.pipes=[Q.pipes,te];break;default:Q.pipes.push(te)}Q.pipesCount+=1,i("pipe count=%d opts=%j",Q.pipesCount,Z);var re=Z&&Z.end===!1||te===g.stdout||te===g.stderr?pe:ie;function ie(){i("onend"),te.end()}Q.endEmitted?g.nextTick(re):X.once("end",re),te.on("unpipe",function xe(Pe,_e){i("onunpipe"),Pe===X&&_e&&_e.hasUnpiped===!1&&(_e.hasUnpiped=!0,i("cleanup"),te.removeListener("close",de),te.removeListener("finish",me),te.removeListener("drain",oe),te.removeListener("error",ye),te.removeListener("unpipe",xe),X.removeListener("end",ie),X.removeListener("end",pe),X.removeListener("data",ce),ue=!0,!Q.awaitDrain||te._writableState&&!te._writableState.needDrain||oe())});var oe=function(xe){return function(){var Pe=xe._readableState;i("pipeOnDrain",Pe.awaitDrain),Pe.awaitDrain&&Pe.awaitDrain--,Pe.awaitDrain===0&&M(xe,"data")&&(Pe.flowing=!0,U(xe))}}(X);te.on("drain",oe);var ue=!1;function ce(xe){i("ondata");var Pe=te.write(xe);i("dest.write",Pe),Pe===!1&&((Q.pipesCount===1&&Q.pipes===te||Q.pipesCount>1&&ne(Q.pipes,te)!==-1)&&!ue&&(i("false write response, pause",Q.awaitDrain),Q.awaitDrain++),X.pause())}function ye(xe){i("onerror",xe),pe(),te.removeListener("error",ye),M(te,"error")===0&&E(te,xe)}function de(){te.removeListener("finish",me),pe()}function me(){i("onfinish"),te.removeListener("close",de),pe()}function pe(){i("unpipe"),X.unpipe(te)}return X.on("data",ce),function(xe,Pe,_e){if(typeof xe.prependListener=="function")return xe.prependListener(Pe,_e);xe._events&&xe._events.error?Array.isArray(xe._events.error)?xe._events.error.unshift(_e):xe._events.error=[_e,xe._events.error]:xe.on(Pe,_e)}(te,"error",ye),te.once("close",de),te.once("finish",me),te.emit("pipe",X),Q.flowing||(i("pipe resume"),X.resume()),te},L.prototype.unpipe=function(te){var Z=this._readableState,X={hasUnpiped:!1};if(Z.pipesCount===0)return this;if(Z.pipesCount===1)return te&&te!==Z.pipes||(te||(te=Z.pipes),Z.pipes=null,Z.pipesCount=0,Z.flowing=!1,te&&te.emit("unpipe",this,X)),this;if(!te){var Q=Z.pipes,re=Z.pipesCount;Z.pipes=null,Z.pipesCount=0,Z.flowing=!1;for(var ie=0;ie0,Q.flowing!==!1&&this.resume()):te==="readable"&&(Q.endEmitted||Q.readableListening||(Q.readableListening=Q.needReadable=!0,Q.flowing=!1,Q.emittedReadable=!1,i("on readable",Q.length,Q.reading),Q.length?z(this):Q.reading||g.nextTick(j,this))),X},L.prototype.addListener=L.prototype.on,L.prototype.removeListener=function(te,Z){var X=v.prototype.removeListener.call(this,te,Z);return te==="readable"&&g.nextTick(W,this),X},L.prototype.removeAllListeners=function(te){var Z=v.prototype.removeAllListeners.apply(this,arguments);return te!=="readable"&&te!==void 0||g.nextTick(W,this),Z},L.prototype.resume=function(){var te=this._readableState;return te.flowing||(i("resume"),te.flowing=!te.readableListening,function(Z,X){X.resumeScheduled||(X.resumeScheduled=!0,g.nextTick($,Z,X))}(this,te)),te.paused=!1,this},L.prototype.pause=function(){return i("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(i("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},L.prototype.wrap=function(te){var Z=this,X=this._readableState,Q=!1;for(var re in te.on("end",function(){if(i("wrapped end"),X.decoder&&!X.ended){var oe=X.decoder.end();oe&&oe.length&&Z.push(oe)}Z.push(null)}),te.on("data",function(oe){i("wrapped data"),X.decoder&&(oe=X.decoder.write(oe)),X.objectMode&&oe==null||(X.objectMode||oe&&oe.length)&&(Z.push(oe)||(Q=!0,te.pause()))}),te)this[re]===void 0&&typeof te[re]=="function"&&(this[re]=function(oe){return function(){return te[oe].apply(te,arguments)}}(re));for(var ie=0;ie-1))throw new k(B);return this._writableState.defaultEncoding=B,this},Object.defineProperty(L.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(L.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),L.prototype._write=function(B,N,W){W(new h("_write()"))},L.prototype._writev=null,L.prototype.end=function(B,N,W){var j=this._writableState;return typeof B=="function"?(W=B,B=null,N=null):typeof N=="function"&&(W=N,N=null),B!=null&&this.write(B,N),j.corked&&(j.corked=1,this.uncork()),j.ending||function($,U,G){U.ending=!0,F($,U),G&&(U.finished?g.nextTick(G):$.once("finish",G)),U.ended=!0,$.writable=!1}(this,j,W),this},Object.defineProperty(L.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(L.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function(B){this._writableState&&(this._writableState.destroyed=B)}}),L.prototype.destroy=u.destroy,L.prototype._undestroy=u.undestroy,L.prototype._destroy=function(B,N){N(B)}},68221:function(T,p,t){var d,g=t(90386);function i(S,_,k){return _ in S?Object.defineProperty(S,_,{value:k,enumerable:!0,configurable:!0,writable:!0}):S[_]=k,S}var M=t(12726),v=Symbol("lastResolve"),f=Symbol("lastReject"),l=Symbol("error"),a=Symbol("ended"),u=Symbol("lastPromise"),o=Symbol("handlePromise"),s=Symbol("stream");function c(S,_){return{value:S,done:_}}function h(S){var _=S[v];if(_!==null){var k=S[s].read();k!==null&&(S[u]=null,S[v]=null,S[f]=null,_(c(k,!1)))}}function m(S){g.nextTick(h,S)}var w=Object.getPrototypeOf(function(){}),y=Object.setPrototypeOf((i(d={get stream(){return this[s]},next:function(){var S=this,_=this[l];if(_!==null)return Promise.reject(_);if(this[a])return Promise.resolve(c(void 0,!0));if(this[s].destroyed)return new Promise(function(A,L){g.nextTick(function(){S[l]?L(S[l]):A(c(void 0,!0))})});var k,E=this[u];if(E)k=new Promise(function(A,L){return function(b,R){A.then(function(){L[a]?b(c(void 0,!0)):L[o](b,R)},R)}}(E,this));else{var x=this[s].read();if(x!==null)return Promise.resolve(c(x,!1));k=new Promise(this[o])}return this[u]=k,k}},Symbol.asyncIterator,function(){return this}),i(d,"return",function(){var S=this;return new Promise(function(_,k){S[s].destroy(null,function(E){E?k(E):_(c(void 0,!0))})})}),d),w);T.exports=function(S){var _,k=Object.create(y,(i(_={},s,{value:S,writable:!0}),i(_,v,{value:null,writable:!0}),i(_,f,{value:null,writable:!0}),i(_,l,{value:null,writable:!0}),i(_,a,{value:S._readableState.endEmitted,writable:!0}),i(_,o,{value:function(E,x){var A=k[s].read();A?(k[u]=null,k[v]=null,k[f]=null,E(c(A,!1))):(k[v]=E,k[f]=x)},writable:!0}),_));return k[u]=null,M(S,function(E){if(E&&E.code!=="ERR_STREAM_PREMATURE_CLOSE"){var x=k[f];return x!==null&&(k[u]=null,k[v]=null,k[f]=null,x(E)),void(k[l]=E)}var A=k[v];A!==null&&(k[u]=null,k[v]=null,k[f]=null,A(c(void 0,!0))),k[a]=!0}),S.on("readable",m.bind(null,k)),k}},31125:function(T,p,t){function d(l,a){var u=Object.keys(l);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(l);a&&(o=o.filter(function(s){return Object.getOwnPropertyDescriptor(l,s).enumerable})),u.push.apply(u,o)}return u}function g(l,a,u){return a in l?Object.defineProperty(l,a,{value:u,enumerable:!0,configurable:!0,writable:!0}):l[a]=u,l}function i(l,a){for(var u=0;u0?this.tail.next=s:this.head=s,this.tail=s,++this.length}},{key:"unshift",value:function(o){var s={data:o,next:this.head};this.length===0&&(this.tail=s),this.head=s,++this.length}},{key:"shift",value:function(){if(this.length!==0){var o=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,o}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(o){if(this.length===0)return"";for(var s=this.head,c=""+s.data;s=s.next;)c+=o+s.data;return c}},{key:"concat",value:function(o){if(this.length===0)return M.alloc(0);for(var s,c,h,m=M.allocUnsafe(o>>>0),w=this.head,y=0;w;)s=w.data,c=m,h=y,M.prototype.copy.call(s,c,h),y+=w.data.length,w=w.next;return m}},{key:"consume",value:function(o,s){var c;return om.length?m.length:o;if(w===m.length?h+=m:h+=m.slice(0,o),(o-=w)==0){w===m.length?(++c,s.next?this.head=s.next:this.head=this.tail=null):(this.head=s,s.data=m.slice(w));break}++c}return this.length-=c,h}},{key:"_getBuffer",value:function(o){var s=M.allocUnsafe(o),c=this.head,h=1;for(c.data.copy(s),o-=c.data.length;c=c.next;){var m=c.data,w=o>m.length?m.length:o;if(m.copy(s,s.length-o,0,w),(o-=w)==0){w===m.length?(++h,c.next?this.head=c.next:this.head=this.tail=null):(this.head=c,c.data=m.slice(w));break}++h}return this.length-=h,s}},{key:f,value:function(o,s){return v(this,function(c){for(var h=1;h0,function(k){h||(h=k),k&&w.forEach(l),_||(w.forEach(l),m(h))})});return s.reduce(a)}},56306:function(T,p,t){var d=t(74322).q.ERR_INVALID_OPT_VALUE;T.exports={getHighWaterMark:function(g,i,M,v){var f=function(l,a,u){return l.highWaterMark!=null?l.highWaterMark:a?l[u]:null}(i,v,M);if(f!=null){if(!isFinite(f)||Math.floor(f)!==f||f<0)throw new d(v?M:"highWaterMark",f);return Math.floor(f)}return g.objectMode?16:16384}}},71405:function(T,p,t){T.exports=t(15398).EventEmitter},68019:function(T,p,t){var d=t(71665).Buffer,g=d.isEncoding||function(c){switch((c=""+c)&&c.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i(c){var h;switch(this.encoding=function(m){var w=function(y){if(!y)return"utf8";for(var S;;)switch(y){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return y;default:if(S)return;y=(""+y).toLowerCase(),S=!0}}(m);if(typeof w!="string"&&(d.isEncoding===g||!g(m)))throw new Error("Unknown encoding: "+m);return w||m}(c),this.encoding){case"utf16le":this.text=f,this.end=l,h=4;break;case"utf8":this.fillLast=v,h=4;break;case"base64":this.text=a,this.end=u,h=3;break;default:return this.write=o,void(this.end=s)}this.lastNeed=0,this.lastTotal=0,this.lastChar=d.allocUnsafe(h)}function M(c){return c<=127?0:c>>5==6?2:c>>4==14?3:c>>3==30?4:c>>6==2?-1:-2}function v(c){var h=this.lastTotal-this.lastNeed,m=function(w,y,S){if((192&y[0])!=128)return w.lastNeed=0,"�";if(w.lastNeed>1&&y.length>1){if((192&y[1])!=128)return w.lastNeed=1,"�";if(w.lastNeed>2&&y.length>2&&(192&y[2])!=128)return w.lastNeed=2,"�"}}(this,c);return m!==void 0?m:this.lastNeed<=c.length?(c.copy(this.lastChar,h,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(c.copy(this.lastChar,h,0,c.length),void(this.lastNeed-=c.length))}function f(c,h){if((c.length-h)%2==0){var m=c.toString("utf16le",h);if(m){var w=m.charCodeAt(m.length-1);if(w>=55296&&w<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=c[c.length-2],this.lastChar[1]=c[c.length-1],m.slice(0,-1)}return m}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=c[c.length-1],c.toString("utf16le",h,c.length-1)}function l(c){var h=c&&c.length?this.write(c):"";if(this.lastNeed){var m=this.lastTotal-this.lastNeed;return h+this.lastChar.toString("utf16le",0,m)}return h}function a(c,h){var m=(c.length-h)%3;return m===0?c.toString("base64",h):(this.lastNeed=3-m,this.lastTotal=3,m===1?this.lastChar[0]=c[c.length-1]:(this.lastChar[0]=c[c.length-2],this.lastChar[1]=c[c.length-1]),c.toString("base64",h,c.length-m))}function u(c){var h=c&&c.length?this.write(c):"";return this.lastNeed?h+this.lastChar.toString("base64",0,3-this.lastNeed):h}function o(c){return c.toString(this.encoding)}function s(c){return c&&c.length?this.write(c):""}p.s=i,i.prototype.write=function(c){if(c.length===0)return"";var h,m;if(this.lastNeed){if((h=this.fillLast(c))===void 0)return"";m=this.lastNeed,this.lastNeed=0}else m=0;return m=0?(E>0&&(y.lastNeed=E-1),E):--k<_||E===-2?0:(E=M(S[k]))>=0?(E>0&&(y.lastNeed=E-2),E):--k<_||E===-2?0:(E=M(S[k]))>=0?(E>0&&(E===2?E=0:y.lastNeed=E-3),E):0}(this,c,h);if(!this.lastNeed)return c.toString("utf8",h);this.lastTotal=m;var w=c.length-(m-this.lastNeed);return c.copy(this.lastChar,0,w),c.toString("utf8",h,w)},i.prototype.fillLast=function(c){if(this.lastNeed<=c.length)return c.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);c.copy(this.lastChar,this.lastTotal-this.lastNeed,0,c.length),this.lastNeed-=c.length}},90715:function(T,p,t){var d=t(32791),g=t(41633)("stream-parser");function i(c){g("initializing parser stream"),c._parserBytesLeft=0,c._parserBuffers=[],c._parserBuffered=0,c._parserState=-1,c._parserCallback=null,typeof c.push=="function"&&(c._parserOutput=c.push.bind(c)),c._parserInit=!0}function M(c,h){d(!this._parserCallback,'there is already a "callback" set!'),d(isFinite(c)&&c>0,'can only buffer a finite number of bytes > 0, got "'+c+'"'),this._parserInit||i(this),g("buffering %o bytes",c),this._parserBytesLeft=c,this._parserCallback=h,this._parserState=0}function v(c,h){d(!this._parserCallback,'there is already a "callback" set!'),d(c>0,'can only skip > 0 bytes, got "'+c+'"'),this._parserInit||i(this),g("skipping %o bytes",c),this._parserBytesLeft=c,this._parserCallback=h,this._parserState=1}function f(c,h){d(!this._parserCallback,'There is already a "callback" set!'),d(c>0,'can only pass through > 0 bytes, got "'+c+'"'),this._parserInit||i(this),g("passing through %o bytes",c),this._parserBytesLeft=c,this._parserCallback=h,this._parserState=2}function l(c,h,m){this._parserInit||i(this),g("write(%o bytes)",c.length),typeof h=="function"&&(m=h),o(this,c,null,m)}function a(c,h,m){this._parserInit||i(this),g("transform(%o bytes)",c.length),typeof h!="function"&&(h=this._parserOutput),o(this,c,h,m)}function u(c,h,m,w){if(c._parserBytesLeft-=h.length,g("%o bytes left for stream piece",c._parserBytesLeft),c._parserState===0?(c._parserBuffers.push(h),c._parserBuffered+=h.length):c._parserState===2&&m(h),c._parserBytesLeft!==0)return w;var y=c._parserCallback;if(y&&c._parserState===0&&c._parserBuffers.length>1&&(h=Buffer.concat(c._parserBuffers,c._parserBuffered)),c._parserState!==0&&(h=null),c._parserCallback=null,c._parserBuffered=0,c._parserState=-1,c._parserBuffers.splice(0),y){var S=[];h&&S.push(h),m&&S.push(m);var _=y.length>S.length;_&&S.push(s(w));var k=y.apply(c,S);if(!_||w===k)return w}}T.exports=function(c){var h=c&&typeof c._transform=="function",m=c&&typeof c._write=="function";if(!h&&!m)throw new Error("must pass a Writable or Transform stream in");g("extending Parser into stream"),c._bytes=M,c._skipBytes=v,h&&(c._passthrough=f),h?c._transform=a:c._write=l};var o=s(function c(h,m,w,y){return h._parserBytesLeft<=0?y(new Error("got data but not currently parsing anything")):m.length<=h._parserBytesLeft?function(){return u(h,m,w,y)}:function(){var S=m.slice(0,h._parserBytesLeft);return u(h,S,w,function(_){return _?y(_):m.length>S.length?function(){return c(h,m.slice(S.length),w,y)}:void 0})}});function s(c){return function(){for(var h=c.apply(this,arguments);typeof h=="function";)h=h();return h}}},41633:function(T,p,t){var d=t(90386);function g(){var i;try{i=p.storage.debug}catch{}return!i&&d!==void 0&&"env"in d&&(i=d.env.DEBUG),i}(p=T.exports=t(74469)).log=function(){return typeof console=="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},p.formatArgs=function(i){var M=this.useColors;if(i[0]=(M?"%c":"")+this.namespace+(M?" %c":" ")+i[0]+(M?"%c ":" ")+"+"+p.humanize(this.diff),M){var v="color: "+this.color;i.splice(1,0,v,"color: inherit");var f=0,l=0;i[0].replace(/%[a-zA-Z%]/g,function(a){a!=="%%"&&(f++,a==="%c"&&(l=f))}),i.splice(l,0,v)}},p.save=function(i){try{i==null?p.storage.removeItem("debug"):p.storage.debug=i}catch{}},p.load=g,p.useColors=function(){return!(typeof window>"u"||!window.process||window.process.type!=="renderer")||typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},p.storage=typeof chrome<"u"&&chrome.storage!==void 0?chrome.storage.local:function(){try{return window.localStorage}catch{}}(),p.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],p.formatters.j=function(i){try{return JSON.stringify(i)}catch(M){return"[UnexpectedJSONParseError]: "+M.message}},p.enable(g())},74469:function(T,p,t){var d;function g(i){function M(){if(M.enabled){var v=M,f=+new Date,l=f-(d||f);v.diff=l,v.prev=d,v.curr=f,d=f;for(var a=new Array(arguments.length),u=0;u0)return function(a){if(!((a=String(a)).length>100)){var u=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(a);if(u){var o=parseFloat(u[1]);switch((u[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*o;case"days":case"day":case"d":return o*g;case"hours":case"hour":case"hrs":case"hr":case"h":return o*d;case"minutes":case"minute":case"mins":case"min":case"m":return o*t;case"seconds":case"second":case"secs":case"sec":case"s":return o*p;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return o;default:return}}}}(M);if(l==="number"&&isNaN(M)===!1)return v.long?i(f=M,g,"day")||i(f,d,"hour")||i(f,t,"minute")||i(f,p,"second")||f+" ms":function(a){return a>=g?Math.round(a/g)+"d":a>=d?Math.round(a/d)+"h":a>=t?Math.round(a/t)+"m":a>=p?Math.round(a/p)+"s":a+"ms"}(M);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(M))}},99011:function(T,p,t){var d=t(88641);T.exports=function(g,i,M){if(g==null)throw Error("First argument should be a string");if(i==null)throw Error("Separator should be a string or a RegExp");M?(typeof M=="string"||Array.isArray(M))&&(M={ignore:M}):M={},M.escape==null&&(M.escape=!0),M.ignore==null?M.ignore=["[]","()","{}","<>",'""',"''","``","“”","«»"]:(typeof M.ignore=="string"&&(M.ignore=[M.ignore]),M.ignore=M.ignore.map(function(s){return s.length===1&&(s+=s),s}));var v=d.parse(g,{flat:!0,brackets:M.ignore}),f=v[0].split(i);if(M.escape){for(var l=[],a=0;a0;){w=S[S.length-1];var _=p[w];if(M[w]<_.length){for(var k=M[w];k<_.length;++k){var E=_[k];if(d[E]<0){d[E]=g[E]=u,i[E]=!0,u+=1,y.push(E),S.push(E);break}i[E]&&(g[w]=0|Math.min(g[w],g[E])),v[E]>=0&&f[w].push(v[E])}M[w]=k}else{if(g[w]===d[w]){var x=[],A=[],L=0;for(k=y.length-1;k>=0;--k){var b=y[k];if(i[b]=!1,x.push(b),A.push(f[b]),L+=f[b].length,v[b]=o.length,b===w){y.length=k;break}}o.push(x);var R=new Array(L);for(k=0;k1&&(u=1),u<-1&&(u=-1),(v*a-f*l<0?-1:1)*Math.acos(u)};p.default=function(v){var f=v.px,l=v.py,a=v.cx,u=v.cy,o=v.rx,s=v.ry,c=v.xAxisRotation,h=c===void 0?0:c,m=v.largeArcFlag,w=m===void 0?0:m,y=v.sweepFlag,S=y===void 0?0:y,_=[];if(o===0||s===0)return[];var k=Math.sin(h*d/360),E=Math.cos(h*d/360),x=E*(f-a)/2+k*(l-u)/2,A=-k*(f-a)/2+E*(l-u)/2;if(x===0&&A===0)return[];o=Math.abs(o),s=Math.abs(s);var L=Math.pow(x,2)/Math.pow(o,2)+Math.pow(A,2)/Math.pow(s,2);L>1&&(o*=Math.sqrt(L),s*=Math.sqrt(L));var b=function(j,$,U,G,q,H,ne,te,Z,X,Q,re){var ie=Math.pow(q,2),oe=Math.pow(H,2),ue=Math.pow(Q,2),ce=Math.pow(re,2),ye=ie*oe-ie*ce-oe*ue;ye<0&&(ye=0),ye/=ie*ce+oe*ue;var de=(ye=Math.sqrt(ye)*(ne===te?-1:1))*q/H*re,me=ye*-H/q*Q,pe=X*de-Z*me+(j+U)/2,xe=Z*de+X*me+($+G)/2,Pe=(Q-de)/q,_e=(re-me)/H,Me=(-Q-de)/q,Se=(-re-me)/H,Ce=M(1,0,Pe,_e),ae=M(Pe,_e,Me,Se);return te===0&&ae>0&&(ae-=d),te===1&&ae<0&&(ae+=d),[pe,xe,Ce,ae]}(f,l,a,u,o,s,w,S,k,E,x,A),R=function(j,$){if(Array.isArray(j))return j;if(Symbol.iterator in Object(j))return function(U,G){var q=[],H=!0,ne=!1,te=void 0;try{for(var Z,X=U[Symbol.iterator]();!(H=(Z=X.next()).done)&&(q.push(Z.value),!G||q.length!==G);H=!0);}catch(Q){ne=!0,te=Q}finally{try{!H&&X.return&&X.return()}finally{if(ne)throw te}}return q}(j,$);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(b,4),I=R[0],O=R[1],z=R[2],F=R[3],B=Math.abs(F)/(d/4);Math.abs(1-B)<1e-7&&(B=1);var N=Math.max(Math.ceil(B),1);F/=N;for(var W=0;Wl[2]&&(l[2]=o[s+0]),o[s+1]>l[3]&&(l[3]=o[s+1]);return l}},29988:function(T,p,t){T.exports=function(M){for(var v,f=[],l=0,a=0,u=0,o=0,s=null,c=null,h=0,m=0,w=0,y=M.length;w4?(l=S[S.length-4],a=S[S.length-3]):(l=h,a=m),f.push(S)}return f};var d=t(7095);function g(M,v,f,l){return["C",M,v,f,l,f,l]}function i(M,v,f,l,a,u){return["C",M/3+.6666666666666666*f,v/3+.6666666666666666*l,a/3+.6666666666666666*f,u/3+.6666666666666666*l,a,u]}},82019:function(T,p,t){var d,g=t(1750),i=t(95616),M=t(31457),v=t(89546),f=t(44781),l=document.createElement("canvas"),a=l.getContext("2d");T.exports=function(u,o){if(!v(u))throw Error("Argument should be valid svg path string");var s,c;o||(o={}),o.shape?(s=o.shape[0],c=o.shape[1]):(s=l.width=o.w||o.width||200,c=l.height=o.h||o.height||200);var h=Math.min(s,c),m=o.stroke||0,w=o.viewbox||o.viewBox||g(u),y=[s/(w[2]-w[0]),c/(w[3]-w[1])],S=Math.min(y[0]||0,y[1]||0)/2;if(a.fillStyle="black",a.fillRect(0,0,s,c),a.fillStyle="white",m&&(typeof m!="number"&&(m=1),a.strokeStyle=m>0?"white":"black",a.lineWidth=Math.abs(m)),a.translate(.5*s,.5*c),a.scale(S,S),function(){if(d!=null)return d;var E=document.createElement("canvas").getContext("2d");if(E.canvas.width=E.canvas.height=1,!window.Path2D)return d=!1;var x=new Path2D("M0,0h1v1h-1v-1Z");E.fillStyle="black",E.fill(x);var A=E.getImageData(0,0,1,1);return d=A&&A.data&&A.data[3]===255}()){var _=new Path2D(u);a.fill(_),m&&a.stroke(_)}else{var k=i(u);M(a,k),a.fill(),m&&a.stroke()}return a.setTransform(1,0,0,1,0,0),f(a,{cutoff:o.cutoff!=null?o.cutoff:.5,radius:o.radius!=null?o.radius:.5*h})}},84267:function(T,p,t){var d;(function(g){var i=/^\s+/,M=/\s+$/,v=0,f=g.round,l=g.min,a=g.max,u=g.random;function o(Q,re){if(re=re||{},(Q=Q||"")instanceof o)return Q;if(!(this instanceof o))return new o(Q,re);var ie=function(oe){var ue,ce,ye,de={r:0,g:0,b:0},me=1,pe=null,xe=null,Pe=null,_e=!1,Me=!1;return typeof oe=="string"&&(oe=function(Se){Se=Se.replace(i,"").replace(M,"").toLowerCase();var Ce,ae=!1;if(z[Se])Se=z[Se],ae=!0;else if(Se=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};return(Ce=Z.rgb.exec(Se))?{r:Ce[1],g:Ce[2],b:Ce[3]}:(Ce=Z.rgba.exec(Se))?{r:Ce[1],g:Ce[2],b:Ce[3],a:Ce[4]}:(Ce=Z.hsl.exec(Se))?{h:Ce[1],s:Ce[2],l:Ce[3]}:(Ce=Z.hsla.exec(Se))?{h:Ce[1],s:Ce[2],l:Ce[3],a:Ce[4]}:(Ce=Z.hsv.exec(Se))?{h:Ce[1],s:Ce[2],v:Ce[3]}:(Ce=Z.hsva.exec(Se))?{h:Ce[1],s:Ce[2],v:Ce[3],a:Ce[4]}:(Ce=Z.hex8.exec(Se))?{r:j(Ce[1]),g:j(Ce[2]),b:j(Ce[3]),a:q(Ce[4]),format:ae?"name":"hex8"}:(Ce=Z.hex6.exec(Se))?{r:j(Ce[1]),g:j(Ce[2]),b:j(Ce[3]),format:ae?"name":"hex"}:(Ce=Z.hex4.exec(Se))?{r:j(Ce[1]+""+Ce[1]),g:j(Ce[2]+""+Ce[2]),b:j(Ce[3]+""+Ce[3]),a:q(Ce[4]+""+Ce[4]),format:ae?"name":"hex8"}:!!(Ce=Z.hex3.exec(Se))&&{r:j(Ce[1]+""+Ce[1]),g:j(Ce[2]+""+Ce[2]),b:j(Ce[3]+""+Ce[3]),format:ae?"name":"hex"}}(oe)),typeof oe=="object"&&(X(oe.r)&&X(oe.g)&&X(oe.b)?(ue=oe.r,ce=oe.g,ye=oe.b,de={r:255*N(ue,255),g:255*N(ce,255),b:255*N(ye,255)},_e=!0,Me=String(oe.r).substr(-1)==="%"?"prgb":"rgb"):X(oe.h)&&X(oe.s)&&X(oe.v)?(pe=U(oe.s),xe=U(oe.v),de=function(Se,Ce,ae){Se=6*N(Se,360),Ce=N(Ce,100),ae=N(ae,100);var fe=g.floor(Se),be=Se-fe,ke=ae*(1-Ce),Le=ae*(1-be*Ce),Be=ae*(1-(1-be)*Ce),ze=fe%6;return{r:255*[ae,Le,ke,ke,Be,ae][ze],g:255*[Be,ae,ae,Le,ke,ke][ze],b:255*[ke,ke,Be,ae,ae,Le][ze]}}(oe.h,pe,xe),_e=!0,Me="hsv"):X(oe.h)&&X(oe.s)&&X(oe.l)&&(pe=U(oe.s),Pe=U(oe.l),de=function(Se,Ce,ae){var fe,be,ke;function Le(je,ge,we){return we<0&&(we+=1),we>1&&(we-=1),we<1/6?je+6*(ge-je)*we:we<.5?ge:we<2/3?je+(ge-je)*(2/3-we)*6:je}if(Se=N(Se,360),Ce=N(Ce,100),ae=N(ae,100),Ce===0)fe=be=ke=ae;else{var Be=ae<.5?ae*(1+Ce):ae+Ce-ae*Ce,ze=2*ae-Be;fe=Le(ze,Be,Se+1/3),be=Le(ze,Be,Se),ke=Le(ze,Be,Se-1/3)}return{r:255*fe,g:255*be,b:255*ke}}(oe.h,pe,Pe),_e=!0,Me="hsl"),oe.hasOwnProperty("a")&&(me=oe.a)),me=B(me),{ok:_e,format:oe.format||Me,r:l(255,a(de.r,0)),g:l(255,a(de.g,0)),b:l(255,a(de.b,0)),a:me}}(Q);this._originalInput=Q,this._r=ie.r,this._g=ie.g,this._b=ie.b,this._a=ie.a,this._roundA=f(100*this._a)/100,this._format=re.format||ie.format,this._gradientType=re.gradientType,this._r<1&&(this._r=f(this._r)),this._g<1&&(this._g=f(this._g)),this._b<1&&(this._b=f(this._b)),this._ok=ie.ok,this._tc_id=v++}function s(Q,re,ie){Q=N(Q,255),re=N(re,255),ie=N(ie,255);var oe,ue,ce=a(Q,re,ie),ye=l(Q,re,ie),de=(ce+ye)/2;if(ce==ye)oe=ue=0;else{var me=ce-ye;switch(ue=de>.5?me/(2-ce-ye):me/(ce+ye),ce){case Q:oe=(re-ie)/me+(re>1)+720)%360;--re;)oe.h=(oe.h+ue)%360,ce.push(o(oe));return ce}function O(Q,re){re=re||6;for(var ie=o(Q).toHsv(),oe=ie.h,ue=ie.s,ce=ie.v,ye=[],de=1/re;re--;)ye.push(o({h:oe,s:ue,v:ce})),ce=(ce+de)%1;return ye}o.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var Q=this.toRgb();return(299*Q.r+587*Q.g+114*Q.b)/1e3},getLuminance:function(){var Q,re,ie,oe=this.toRgb();return Q=oe.r/255,re=oe.g/255,ie=oe.b/255,.2126*(Q<=.03928?Q/12.92:g.pow((Q+.055)/1.055,2.4))+.7152*(re<=.03928?re/12.92:g.pow((re+.055)/1.055,2.4))+.0722*(ie<=.03928?ie/12.92:g.pow((ie+.055)/1.055,2.4))},setAlpha:function(Q){return this._a=B(Q),this._roundA=f(100*this._a)/100,this},toHsv:function(){var Q=c(this._r,this._g,this._b);return{h:360*Q.h,s:Q.s,v:Q.v,a:this._a}},toHsvString:function(){var Q=c(this._r,this._g,this._b),re=f(360*Q.h),ie=f(100*Q.s),oe=f(100*Q.v);return this._a==1?"hsv("+re+", "+ie+"%, "+oe+"%)":"hsva("+re+", "+ie+"%, "+oe+"%, "+this._roundA+")"},toHsl:function(){var Q=s(this._r,this._g,this._b);return{h:360*Q.h,s:Q.s,l:Q.l,a:this._a}},toHslString:function(){var Q=s(this._r,this._g,this._b),re=f(360*Q.h),ie=f(100*Q.s),oe=f(100*Q.l);return this._a==1?"hsl("+re+", "+ie+"%, "+oe+"%)":"hsla("+re+", "+ie+"%, "+oe+"%, "+this._roundA+")"},toHex:function(Q){return h(this._r,this._g,this._b,Q)},toHexString:function(Q){return"#"+this.toHex(Q)},toHex8:function(Q){return function(re,ie,oe,ue,ce){var ye=[$(f(re).toString(16)),$(f(ie).toString(16)),$(f(oe).toString(16)),$(G(ue))];return ce&&ye[0].charAt(0)==ye[0].charAt(1)&&ye[1].charAt(0)==ye[1].charAt(1)&&ye[2].charAt(0)==ye[2].charAt(1)&&ye[3].charAt(0)==ye[3].charAt(1)?ye[0].charAt(0)+ye[1].charAt(0)+ye[2].charAt(0)+ye[3].charAt(0):ye.join("")}(this._r,this._g,this._b,this._a,Q)},toHex8String:function(Q){return"#"+this.toHex8(Q)},toRgb:function(){return{r:f(this._r),g:f(this._g),b:f(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+f(this._r)+", "+f(this._g)+", "+f(this._b)+")":"rgba("+f(this._r)+", "+f(this._g)+", "+f(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:f(100*N(this._r,255))+"%",g:f(100*N(this._g,255))+"%",b:f(100*N(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+f(100*N(this._r,255))+"%, "+f(100*N(this._g,255))+"%, "+f(100*N(this._b,255))+"%)":"rgba("+f(100*N(this._r,255))+"%, "+f(100*N(this._g,255))+"%, "+f(100*N(this._b,255))+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":!(this._a<1)&&(F[h(this._r,this._g,this._b,!0)]||!1)},toFilter:function(Q){var re="#"+m(this._r,this._g,this._b,this._a),ie=re,oe=this._gradientType?"GradientType = 1, ":"";if(Q){var ue=o(Q);ie="#"+m(ue._r,ue._g,ue._b,ue._a)}return"progid:DXImageTransform.Microsoft.gradient("+oe+"startColorstr="+re+",endColorstr="+ie+")"},toString:function(Q){var re=!!Q;Q=Q||this._format;var ie=!1,oe=this._a<1&&this._a>=0;return re||!oe||Q!=="hex"&&Q!=="hex6"&&Q!=="hex3"&&Q!=="hex4"&&Q!=="hex8"&&Q!=="name"?(Q==="rgb"&&(ie=this.toRgbString()),Q==="prgb"&&(ie=this.toPercentageRgbString()),Q!=="hex"&&Q!=="hex6"||(ie=this.toHexString()),Q==="hex3"&&(ie=this.toHexString(!0)),Q==="hex4"&&(ie=this.toHex8String(!0)),Q==="hex8"&&(ie=this.toHex8String()),Q==="name"&&(ie=this.toName()),Q==="hsl"&&(ie=this.toHslString()),Q==="hsv"&&(ie=this.toHsvString()),ie||this.toHexString()):Q==="name"&&this._a===0?this.toName():this.toRgbString()},clone:function(){return o(this.toString())},_applyModification:function(Q,re){var ie=Q.apply(null,[this].concat([].slice.call(re)));return this._r=ie._r,this._g=ie._g,this._b=ie._b,this.setAlpha(ie._a),this},lighten:function(){return this._applyModification(_,arguments)},brighten:function(){return this._applyModification(k,arguments)},darken:function(){return this._applyModification(E,arguments)},desaturate:function(){return this._applyModification(w,arguments)},saturate:function(){return this._applyModification(y,arguments)},greyscale:function(){return this._applyModification(S,arguments)},spin:function(){return this._applyModification(x,arguments)},_applyCombination:function(Q,re){return Q.apply(null,[this].concat([].slice.call(re)))},analogous:function(){return this._applyCombination(I,arguments)},complement:function(){return this._applyCombination(A,arguments)},monochromatic:function(){return this._applyCombination(O,arguments)},splitcomplement:function(){return this._applyCombination(R,arguments)},triad:function(){return this._applyCombination(L,arguments)},tetrad:function(){return this._applyCombination(b,arguments)}},o.fromRatio=function(Q,re){if(typeof Q=="object"){var ie={};for(var oe in Q)Q.hasOwnProperty(oe)&&(ie[oe]=oe==="a"?Q[oe]:U(Q[oe]));Q=ie}return o(Q,re)},o.equals=function(Q,re){return!(!Q||!re)&&o(Q).toRgbString()==o(re).toRgbString()},o.random=function(){return o.fromRatio({r:u(),g:u(),b:u()})},o.mix=function(Q,re,ie){ie=ie===0?0:ie||50;var oe=o(Q).toRgb(),ue=o(re).toRgb(),ce=ie/100;return o({r:(ue.r-oe.r)*ce+oe.r,g:(ue.g-oe.g)*ce+oe.g,b:(ue.b-oe.b)*ce+oe.b,a:(ue.a-oe.a)*ce+oe.a})},o.readability=function(Q,re){var ie=o(Q),oe=o(re);return(g.max(ie.getLuminance(),oe.getLuminance())+.05)/(g.min(ie.getLuminance(),oe.getLuminance())+.05)},o.isReadable=function(Q,re,ie){var oe,ue,ce,ye,de,me=o.readability(Q,re);switch(ue=!1,(ce=ie,(ye=((ce=ce||{level:"AA",size:"small"}).level||"AA").toUpperCase())!=="AA"&&ye!=="AAA"&&(ye="AA"),(de=(ce.size||"small").toLowerCase())!=="small"&&de!=="large"&&(de="small"),oe={level:ye,size:de}).level+oe.size){case"AAsmall":case"AAAlarge":ue=me>=4.5;break;case"AAlarge":ue=me>=3;break;case"AAAsmall":ue=me>=7}return ue},o.mostReadable=function(Q,re,ie){var oe,ue,ce,ye,de=null,me=0;ue=(ie=ie||{}).includeFallbackColors,ce=ie.level,ye=ie.size;for(var pe=0;peme&&(me=oe,de=o(re[pe]));return o.isReadable(Q,de,{level:ce,size:ye})||!ue?de:(ie.includeFallbackColors=!1,o.mostReadable(Q,["#fff","#000"],ie))};var z=o.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},F=o.hexNames=function(Q){var re={};for(var ie in Q)Q.hasOwnProperty(ie)&&(re[Q[ie]]=ie);return re}(z);function B(Q){return Q=parseFloat(Q),(isNaN(Q)||Q<0||Q>1)&&(Q=1),Q}function N(Q,re){(function(oe){return typeof oe=="string"&&oe.indexOf(".")!=-1&&parseFloat(oe)===1})(Q)&&(Q="100%");var ie=function(oe){return typeof oe=="string"&&oe.indexOf("%")!=-1}(Q);return Q=l(re,a(0,parseFloat(Q))),ie&&(Q=parseInt(Q*re,10)/100),g.abs(Q-re)<1e-6?1:Q%re/parseFloat(re)}function W(Q){return l(1,a(0,Q))}function j(Q){return parseInt(Q,16)}function $(Q){return Q.length==1?"0"+Q:""+Q}function U(Q){return Q<=1&&(Q=100*Q+"%"),Q}function G(Q){return g.round(255*parseFloat(Q)).toString(16)}function q(Q){return j(Q)/255}var H,ne,te,Z=(ne="[\\s|\\(]+("+(H="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",te="[\\s|\\(]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",{CSS_UNIT:new RegExp(H),rgb:new RegExp("rgb"+ne),rgba:new RegExp("rgba"+te),hsl:new RegExp("hsl"+ne),hsla:new RegExp("hsla"+te),hsv:new RegExp("hsv"+ne),hsva:new RegExp("hsva"+te),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function X(Q){return!!Z.CSS_UNIT.exec(Q)}T.exports?T.exports=o:(d=(function(){return o}).call(p,t,p,T))===void 0||(T.exports=d)})(Math)},57060:function(T){T.exports=t,T.exports.float32=T.exports.float=t,T.exports.fract32=T.exports.fract=function(d,g){if(d.length){if(d instanceof Float32Array)return new Float32Array(d.length);g instanceof Float32Array||(g=t(d));for(var i=0,M=g.length;i":(M.length>100&&(M=M.slice(0,99)+"…"),M=M.replace(g,function(v){switch(v){case` -`:return"\\n";case"\r":return"\\r";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("Unexpected character")}}))}},47403:function(T,p,t){var d=t(24582),g={object:!0,function:!0,undefined:!0};T.exports=function(i){return!!d(i)&&hasOwnProperty.call(g,typeof i)}},82527:function(T,p,t){var d=t(69190),g=t(84985);T.exports=function(i){return g(i)?i:d(i,"%v is not a plain function",arguments[1])}},84985:function(T,p,t){var d=t(73116),g=/^\s*class[\s{/}]/,i=Function.prototype.toString;T.exports=function(M){return!!d(M)&&!g.test(i.call(M))}},24511:function(T,p,t){var d=t(47403);T.exports=function(g){if(!d(g))return!1;try{return!!g.constructor&&g.constructor.prototype===g}catch{return!1}}},9234:function(T,p,t){var d=t(24582),g=t(47403),i=Object.prototype.toString;T.exports=function(M){if(!d(M))return null;if(g(M)){var v=M.toString;if(typeof v!="function"||v===i)return null}try{return""+M}catch{return null}}},10424:function(T,p,t){var d=t(69190),g=t(24582);T.exports=function(i){return g(i)?i:d(i,"Cannot use %v",arguments[1])}},24582:function(T){T.exports=function(p){return p!=null}},58404:function(T,p,t){var d=t(13547),g=t(12129),i=t(12856).Buffer;t.g.__TYPEDARRAY_POOL||(t.g.__TYPEDARRAY_POOL={UINT8:g([32,0]),UINT16:g([32,0]),UINT32:g([32,0]),BIGUINT64:g([32,0]),INT8:g([32,0]),INT16:g([32,0]),INT32:g([32,0]),BIGINT64:g([32,0]),FLOAT:g([32,0]),DOUBLE:g([32,0]),DATA:g([32,0]),UINT8C:g([32,0]),BUFFER:g([32,0])});var M=typeof Uint8ClampedArray<"u",v=typeof BigUint64Array<"u",f=typeof BigInt64Array<"u",l=t.g.__TYPEDARRAY_POOL;l.UINT8C||(l.UINT8C=g([32,0])),l.BIGUINT64||(l.BIGUINT64=g([32,0])),l.BIGINT64||(l.BIGINT64=g([32,0])),l.BUFFER||(l.BUFFER=g([32,0]));var a=l.DATA,u=l.BUFFER;function o(R){if(R){var I=R.length||R.byteLength,O=d.log2(I);a[O].push(R)}}function s(R){R=d.nextPow2(R);var I=d.log2(R),O=a[I];return O.length>0?O.pop():new ArrayBuffer(R)}function c(R){return new Uint8Array(s(R),0,R)}function h(R){return new Uint16Array(s(2*R),0,R)}function m(R){return new Uint32Array(s(4*R),0,R)}function w(R){return new Int8Array(s(R),0,R)}function y(R){return new Int16Array(s(2*R),0,R)}function S(R){return new Int32Array(s(4*R),0,R)}function _(R){return new Float32Array(s(4*R),0,R)}function k(R){return new Float64Array(s(8*R),0,R)}function E(R){return M?new Uint8ClampedArray(s(R),0,R):c(R)}function x(R){return v?new BigUint64Array(s(8*R),0,R):null}function A(R){return f?new BigInt64Array(s(8*R),0,R):null}function L(R){return new DataView(s(R),0,R)}function b(R){R=d.nextPow2(R);var I=d.log2(R),O=u[I];return O.length>0?O.pop():new i(R)}p.free=function(R){if(i.isBuffer(R))u[d.log2(R.length)].push(R);else{if(Object.prototype.toString.call(R)!=="[object ArrayBuffer]"&&(R=R.buffer),!R)return;var I=R.length||R.byteLength,O=0|d.log2(I);a[O].push(R)}},p.freeUint8=p.freeUint16=p.freeUint32=p.freeBigUint64=p.freeInt8=p.freeInt16=p.freeInt32=p.freeBigInt64=p.freeFloat32=p.freeFloat=p.freeFloat64=p.freeDouble=p.freeUint8Clamped=p.freeDataView=function(R){o(R.buffer)},p.freeArrayBuffer=o,p.freeBuffer=function(R){u[d.log2(R.length)].push(R)},p.malloc=function(R,I){if(I===void 0||I==="arraybuffer")return s(R);switch(I){case"uint8":return c(R);case"uint16":return h(R);case"uint32":return m(R);case"int8":return w(R);case"int16":return y(R);case"int32":return S(R);case"float":case"float32":return _(R);case"double":case"float64":return k(R);case"uint8_clamped":return E(R);case"bigint64":return A(R);case"biguint64":return x(R);case"buffer":return b(R);case"data":case"dataview":return L(R);default:return null}return null},p.mallocArrayBuffer=s,p.mallocUint8=c,p.mallocUint16=h,p.mallocUint32=m,p.mallocInt8=w,p.mallocInt16=y,p.mallocInt32=S,p.mallocFloat32=p.mallocFloat=_,p.mallocFloat64=p.mallocDouble=k,p.mallocUint8Clamped=E,p.mallocBigUint64=x,p.mallocBigInt64=A,p.mallocDataView=L,p.mallocBuffer=b,p.clearCache=function(){for(var R=0;R<32;++R)l.UINT8[R].length=0,l.UINT16[R].length=0,l.UINT32[R].length=0,l.INT8[R].length=0,l.INT16[R].length=0,l.INT32[R].length=0,l.FLOAT[R].length=0,l.DOUBLE[R].length=0,l.BIGUINT64[R].length=0,l.BIGINT64[R].length=0,l.UINT8C[R].length=0,a[R].length=0,u[R].length=0}},90448:function(T){var p=/[\'\"]/;T.exports=function(t){return t?(p.test(t.charAt(0))&&(t=t.substr(1)),p.test(t.charAt(t.length-1))&&(t=t.substr(0,t.length-1)),t):""}},93447:function(T){T.exports=function(p,t,d){Array.isArray(d)||(d=[].slice.call(arguments,2));for(var g=0,i=d.length;g=U)return H;switch(H){case"%s":return String($[j++]);case"%d":return Number($[j++]);case"%j":try{return JSON.stringify($[j++])}catch{return"[Circular]"}default:return H}}),q=$[j];j=3&&(j.depth=arguments[2]),arguments.length>=4&&(j.colors=arguments[3]),m(W)?j.showHidden=W:W&&p._extend(j,W),_(j.showHidden)&&(j.showHidden=!1),_(j.depth)&&(j.depth=2),_(j.colors)&&(j.colors=!1),_(j.customInspect)&&(j.customInspect=!0),j.colors&&(j.stylize=a),o(j,N,j.depth)}function a(N,W){var j=l.styles[W];return j?"\x1B["+l.colors[j][0]+"m"+N+"\x1B["+l.colors[j][1]+"m":N}function u(N,W){return N}function o(N,W,j){if(N.customInspect&&W&&L(W.inspect)&&W.inspect!==p.inspect&&(!W.constructor||W.constructor.prototype!==W)){var $=W.inspect(j,N);return S($)||($=o(N,$,j)),$}var U=function(Q,re){if(_(re))return Q.stylize("undefined","undefined");if(S(re)){var ie="'"+JSON.stringify(re).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Q.stylize(ie,"string")}return y(re)?Q.stylize(""+re,"number"):m(re)?Q.stylize(""+re,"boolean"):w(re)?Q.stylize("null","null"):void 0}(N,W);if(U)return U;var G=Object.keys(W),q=function(Q){var re={};return Q.forEach(function(ie,oe){re[ie]=!0}),re}(G);if(N.showHidden&&(G=Object.getOwnPropertyNames(W)),A(W)&&(G.indexOf("message")>=0||G.indexOf("description")>=0))return s(W);if(G.length===0){if(L(W)){var H=W.name?": "+W.name:"";return N.stylize("[Function"+H+"]","special")}if(k(W))return N.stylize(RegExp.prototype.toString.call(W),"regexp");if(x(W))return N.stylize(Date.prototype.toString.call(W),"date");if(A(W))return s(W)}var ne,te="",Z=!1,X=["{","}"];return h(W)&&(Z=!0,X=["[","]"]),L(W)&&(te=" [Function"+(W.name?": "+W.name:"")+"]"),k(W)&&(te=" "+RegExp.prototype.toString.call(W)),x(W)&&(te=" "+Date.prototype.toUTCString.call(W)),A(W)&&(te=" "+s(W)),G.length!==0||Z&&W.length!=0?j<0?k(W)?N.stylize(RegExp.prototype.toString.call(W),"regexp"):N.stylize("[Object]","special"):(N.seen.push(W),ne=Z?function(Q,re,ie,oe,ue){for(var ce=[],ye=0,de=re.length;ye60?ie[0]+(re===""?"":re+` - `)+" "+Q.join(`, - `)+" "+ie[1]:ie[0]+re+" "+Q.join(", ")+" "+ie[1]}(ne,te,X)):X[0]+te+X[1]}function s(N){return"["+Error.prototype.toString.call(N)+"]"}function c(N,W,j,$,U,G){var q,H,ne;if((ne=Object.getOwnPropertyDescriptor(W,U)||{value:W[U]}).get?H=ne.set?N.stylize("[Getter/Setter]","special"):N.stylize("[Getter]","special"):ne.set&&(H=N.stylize("[Setter]","special")),z($,U)||(q="["+U+"]"),H||(N.seen.indexOf(ne.value)<0?(H=w(j)?o(N,ne.value,null):o(N,ne.value,j-1)).indexOf(` ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js `)>-1&&(H=G?H.split(` `).map(function(te){return" "+te}).join(` `).slice(2):` `+H.split(` `).map(function(te){return" "+te}).join(` -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js `)):H=N.stylize("[Circular]","special")),_(q)){if(G&&U.match(/^\d+$/))return H;(q=JSON.stringify(""+U)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(q=q.slice(1,-1),q=N.stylize(q,"name")):(q=q.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),q=N.stylize(q,"string"))}return q+": "+H}function c(N){return Array.isArray(N)}function m(N){return typeof N=="boolean"}function w(N){return N===null}function y(N){return typeof N=="number"}function C(N){return typeof N=="string"}function _(N){return N===void 0}function k(N){return E(N)&&b(N)==="[object RegExp]"}function E(N){return typeof N=="object"&&N!==null}function x(N){return E(N)&&b(N)==="[object Date]"}function A(N){return E(N)&&(b(N)==="[object Error]"||N instanceof Error)}function L(N){return typeof N=="function"}function b(N){return Object.prototype.toString.call(N)}function R(N){return N<10?"0"+N.toString(10):N.toString(10)}p.debuglog=function(N){if(N=N.toUpperCase(),!M[N])if(v.test(N)){var W=d.pid;M[N]=function(){var j=p.format.apply(p,arguments);console.error("%s %d: %s",N,W,j)}}else M[N]=function(){};return M[N]},p.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},p.types=t(4936),p.isArray=c,p.isBoolean=m,p.isNull=w,p.isNullOrUndefined=function(N){return N==null},p.isNumber=y,p.isString=C,p.isSymbol=function(N){return typeof N=="symbol"},p.isUndefined=_,p.isRegExp=k,p.types.isRegExp=k,p.isObject=E,p.isDate=x,p.types.isDate=x,p.isError=A,p.types.isNativeError=A,p.isFunction=L,p.isPrimitive=function(N){return N===null||typeof N=="boolean"||typeof N=="number"||typeof N=="string"||typeof N=="symbol"||N===void 0},p.isBuffer=t(45920);var I=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function O(){var N=new Date,W=[R(N.getHours()),R(N.getMinutes()),R(N.getSeconds())].join(":");return[N.getDate(),I[N.getMonth()],W].join(" ")}function z(N,W){return Object.prototype.hasOwnProperty.call(N,W)}p.log=function(){console.log("%s - %s",O(),p.format.apply(p,arguments))},p.inherits=t(42018),p._extend=function(N,W){if(!W||!E(W))return N;for(var j=Object.keys(W),$=j.length;$--;)N[j[$]]=W[j[$]];return N};var F=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;function B(N,W){if(!N){var j=new Error("Promise was rejected with a falsy value");j.reason=N,N=j}return W(N)}p.promisify=function(N){if(typeof N!="function")throw new TypeError('The "original" argument must be of type Function');if(F&&N[F]){var W;if(typeof(W=N[F])!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(W,F,{value:W,enumerable:!1,writable:!1,configurable:!0}),W}function W(){for(var j,$,U=new Promise(function(H,ne){j=H,$=ne}),G=[],q=0;q"u"?t.g:globalThis,a=g(),u=i("String.prototype.slice"),o={},s=Object.getPrototypeOf;f&&M&&s&&d(a,function(c){if(typeof l[c]=="function"){var m=new l[c];if(Symbol.toStringTag in m){var w=s(m),y=M(w,Symbol.toStringTag);if(!y){var C=s(w);y=M(C,Symbol.toStringTag)}o[c]=y.get}}});var h=t(9187);T.exports=function(c){return!!h(c)&&(f&&Symbol.toStringTag in c?function(m){var w=!1;return d(o,function(y,C){if(!w)try{var _=y.call(m);_===C&&(w=_)}catch{}}),w}(c):u(v(c),8,-1))}},3961:function(T,p,t){var d=t(63489),g=t(56131),i=d.instance();function M(s){this.local=this.regionalOptions[s||""]||this.regionalOptions[""]}M.prototype=new d.baseCalendar,g(M.prototype,{name:"Chinese",jdEpoch:17214255e-1,hasYearZero:!1,minMonth:0,firstMonth:0,minDay:1,regionalOptions:{"":{name:"Chinese",epochs:["BEC","EC"],monthNumbers:function(s,h){if(typeof s=="string"){var c=s.match(f);return c?c[0]:""}var m=this._validateYear(s),w=s.month(),y=""+this.toChineseMonth(m,w);return h&&y.length<2&&(y="0"+y),this.isIntercalaryMonth(m,w)&&(y+="i"),y},monthNames:function(s){if(typeof s=="string"){var h=s.match(l);return h?h[0]:""}var c=this._validateYear(s),m=s.month(),w=["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"][this.toChineseMonth(c,m)-1];return this.isIntercalaryMonth(c,m)&&(w="闰"+w),w},monthNamesShort:function(s){if(typeof s=="string"){var h=s.match(a);return h?h[0]:""}var c=this._validateYear(s),m=s.month(),w=["一","二","三","四","五","六","七","八","九","十","十一","十二"][this.toChineseMonth(c,m)-1];return this.isIntercalaryMonth(c,m)&&(w="闰"+w),w},parseMonth:function(s,h){s=this._validateYear(s);var c,m=parseInt(h);if(isNaN(m))h[0]==="闰"&&(c=!0,h=h.substring(1)),h[h.length-1]==="月"&&(h=h.substring(0,h.length-1)),m=1+["一","二","三","四","五","六","七","八","九","十","十一","十二"].indexOf(h);else{var w=h[h.length-1];c=w==="i"||w==="I"}return this.toMonthIndex(s,m,c)},dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:1,isRTL:!1}},_validateYear:function(s,h){if(s.year&&(s=s.year()),typeof s!="number"||s<1888||s>2111)throw h.replace(/\{0\}/,this.local.name);return s},toMonthIndex:function(s,h,c){var m=this.intercalaryMonth(s);if(c&&h!==m||h<1||h>12)throw d.local.invalidMonth.replace(/\{0\}/,this.local.name);return m?!c&&h<=m?h-1:h:h-1},toChineseMonth:function(s,h){s.year&&(h=(s=s.year()).month());var c=this.intercalaryMonth(s);if(h<0||h>(c?12:11))throw d.local.invalidMonth.replace(/\{0\}/,this.local.name);return c?h>13},isIntercalaryMonth:function(s,h){s.year&&(h=(s=s.year()).month());var c=this.intercalaryMonth(s);return!!c&&c===h},leapYear:function(s){return this.intercalaryMonth(s)!==0},weekOfYear:function(s,h,c){var m,w=this._validateYear(s,d.local.invalidyear),y=o[w-o[0]],C=y>>9&4095,_=y>>5&15,k=31&y;(m=i.newDate(C,_,k)).add(4-(m.dayOfWeek()||7),"d");var E=this.toJD(s,h,c)-m.toJD();return 1+Math.floor(E/7)},monthsInYear:function(s){return this.leapYear(s)?13:12},daysInMonth:function(s,h){s.year&&(h=s.month(),s=s.year()),s=this._validateYear(s);var c=u[s-u[0]];if(h>(c>>13?12:11))throw d.local.invalidMonth.replace(/\{0\}/,this.local.name);return c&1<<12-h?30:29},weekDay:function(s,h,c){return(this.dayOfWeek(s,h,c)||7)<6},toJD:function(s,h,c){var m=this._validate(s,y,c,d.local.invalidDate);s=this._validateYear(m.year()),h=m.month(),c=m.day();var w=this.isIntercalaryMonth(s,h),y=this.toChineseMonth(s,h),C=function(_,k,E,x,A){var L,b,R;if(typeof _=="object")b=_,L=k||{};else{var I;if(!(typeof _=="number"&&_>=1888&&_<=2111))throw new Error("Lunar year outside range 1888-2111");if(!(typeof k=="number"&&k>=1&&k<=12))throw new Error("Lunar month outside range 1 - 12");if(!(typeof E=="number"&&E>=1&&E<=30))throw new Error("Lunar day outside range 1 - 30");typeof x=="object"?(I=!1,L=x):(I=!!x,L={}),b={year:_,month:k,day:E,isIntercalary:I}}R=b.day-1;var O,z=u[b.year-u[0]],F=z>>13;O=F&&(b.month>F||b.isIntercalary)?b.month:b.month-1;for(var B=0;B>9&4095,(N>>5&15)-1,(31&N)+R);return L.year=W.getFullYear(),L.month=1+W.getMonth(),L.day=W.getDate(),L}(s,y,c,w);return i.toJD(C.year,C.month,C.day)},fromJD:function(s){var h=i.fromJD(s),c=function(w,y,C,_){var k,E;if(typeof w=="object")k=w,E=y||{};else{if(!(typeof w=="number"&&w>=1888&&w<=2111))throw new Error("Solar year outside range 1888-2111");if(!(typeof y=="number"&&y>=1&&y<=12))throw new Error("Solar month outside range 1 - 12");if(!(typeof C=="number"&&C>=1&&C<=31))throw new Error("Solar day outside range 1 - 31");k={year:w,month:y,day:C},E={}}var x=o[k.year-o[0]],A=k.year<<9|k.month<<5|k.day;E.year=A>=x?k.year:k.year-1,x=o[E.year-o[0]];var L,b=new Date(x>>9&4095,(x>>5&15)-1,31&x),R=new Date(k.year,k.month-1,k.day);L=Math.round((R-b)/864e5);var I,O=u[E.year-u[0]];for(I=0;I<13;I++){var z=O&1<<12-I?30:29;if(L>13;return!F||I=2&&a<=6},extraInfo:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);return{century:M[Math.floor((a.year()-1)/100)+1]||""}},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);return v=a.year()+(a.year()<0?1:0),f=a.month(),(l=a.day())+(f>1?16:0)+(f>2?32*(f-2):0)+400*(v-1)+this.jdEpoch-1},fromJD:function(v){v=Math.floor(v+.5)-Math.floor(this.jdEpoch)-1;var f=Math.floor(v/400)+1;v-=400*(f-1),v+=v>15?16:0;var l=Math.floor(v/32)+1,a=v-32*(l-1)+1;return this.newDate(f<=0?f-1:f,l,a)}});var M={20:"Fruitbat",21:"Anchovy"};d.calendars.discworld=i},37715:function(T,p,t){var d=t(63489),g=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,g(i.prototype,{name:"Ethiopian",jdEpoch:17242205e-1,daysPerMonth:[30,30,30,30,30,30,30,30,30,30,30,30,5],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Ethiopian",epochs:["BEE","EE"],monthNames:["Meskerem","Tikemet","Hidar","Tahesas","Tir","Yekatit","Megabit","Miazia","Genbot","Sene","Hamle","Nehase","Pagume"],monthNamesShort:["Mes","Tik","Hid","Tah","Tir","Yek","Meg","Mia","Gen","Sen","Ham","Neh","Pag"],dayNames:["Ehud","Segno","Maksegno","Irob","Hamus","Arb","Kidame"],dayNamesShort:["Ehu","Seg","Mak","Iro","Ham","Arb","Kid"],dayNamesMin:["Eh","Se","Ma","Ir","Ha","Ar","Ki"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(M){var v=this._validate(M,this.minMonth,this.minDay,d.local.invalidYear);return(M=v.year()+(v.year()<0?1:0))%4==3||M%4==-1},monthsInYear:function(M){return this._validate(M,this.minMonth,this.minDay,d.local.invalidYear||d.regionalOptions[""].invalidYear),13},weekOfYear:function(M,v,f){var l=this.newDate(M,v,f);return l.add(-l.dayOfWeek(),"d"),Math.floor((l.dayOfYear()-1)/7)+1},daysInMonth:function(M,v){var f=this._validate(M,v,this.minDay,d.local.invalidMonth);return this.daysPerMonth[f.month()-1]+(f.month()===13&&this.leapYear(f.year())?1:0)},weekDay:function(M,v,f){return(this.dayOfWeek(M,v,f)||7)<6},toJD:function(M,v,f){var l=this._validate(M,v,f,d.local.invalidDate);return(M=l.year())<0&&M++,l.day()+30*(l.month()-1)+365*(M-1)+Math.floor(M/4)+this.jdEpoch-1},fromJD:function(M){var v=Math.floor(M)+.5-this.jdEpoch,f=Math.floor((v-Math.floor((v+366)/1461))/365)+1;f<=0&&f--,v=Math.floor(M)+.5-this.newDate(f,1,1).toJD();var l=Math.floor(v/30)+1,a=v-30*(l-1)+1;return this.newDate(f,l,a)}}),d.calendars.ethiopian=i},99384:function(T,p,t){var d=t(63489),g=t(56131);function i(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}function M(v,f){return v-f*Math.floor(v/f)}i.prototype=new d.baseCalendar,g(i.prototype,{name:"Hebrew",jdEpoch:347995.5,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29,29],hasYearZero:!1,minMonth:1,firstMonth:7,minDay:1,regionalOptions:{"":{name:"Hebrew",epochs:["BAM","AM"],monthNames:["Nisan","Iyar","Sivan","Tammuz","Av","Elul","Tishrei","Cheshvan","Kislev","Tevet","Shevat","Adar","Adar II"],monthNamesShort:["Nis","Iya","Siv","Tam","Av","Elu","Tis","Che","Kis","Tev","She","Ada","Ad2"],dayNames:["Yom Rishon","Yom Sheni","Yom Shlishi","Yom Revi'i","Yom Chamishi","Yom Shishi","Yom Shabbat"],dayNamesShort:["Ris","She","Shl","Rev","Cha","Shi","Sha"],dayNamesMin:["Ri","She","Shl","Re","Ch","Shi","Sha"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(v){var f=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return this._leapYear(f.year())},_leapYear:function(v){return M(7*(v=v<0?v+1:v)+1,19)<7},monthsInYear:function(v){return this._validate(v,this.minMonth,this.minDay,d.local.invalidYear),this._leapYear(v.year?v.year():v)?13:12},weekOfYear:function(v,f,l){var a=this.newDate(v,f,l);return a.add(-a.dayOfWeek(),"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInYear:function(v){return v=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear).year(),this.toJD(v===-1?1:v+1,7,1)-this.toJD(v,7,1)},daysInMonth:function(v,f){return v.year&&(f=v.month(),v=v.year()),this._validate(v,f,this.minDay,d.local.invalidMonth),f===12&&this.leapYear(v)||f===8&&M(this.daysInYear(v),10)===5?30:f===9&&M(this.daysInYear(v),10)===3?29:this.daysPerMonth[f-1]},weekDay:function(v,f,l){return this.dayOfWeek(v,f,l)!==6},extraInfo:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);return{yearType:(this.leapYear(a)?"embolismic":"common")+" "+["deficient","regular","complete"][this.daysInYear(a)%10-3]}},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);v=a.year(),f=a.month(),l=a.day();var u=v<=0?v+1:v,o=this.jdEpoch+this._delay1(u)+this._delay2(u)+l+1;if(f<7){for(var s=7;s<=this.monthsInYear(v);s++)o+=this.daysInMonth(v,s);for(s=1;s=this.toJD(f===-1?1:f+1,7,1);)f++;for(var l=vthis.toJD(f,l,this.daysInMonth(f,l));)l++;var a=v-this.toJD(f,l,1)+1;return this.newDate(f,l,a)}}),d.calendars.hebrew=i},43805:function(T,p,t){var d=t(63489),g=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,g(i.prototype,{name:"Islamic",jdEpoch:19484395e-1,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Islamic",epochs:["BH","AH"],monthNames:["Muharram","Safar","Rabi' al-awwal","Rabi' al-thani","Jumada al-awwal","Jumada al-thani","Rajab","Sha'aban","Ramadan","Shawwal","Dhu al-Qi'dah","Dhu al-Hijjah"],monthNamesShort:["Muh","Saf","Rab1","Rab2","Jum1","Jum2","Raj","Sha'","Ram","Shaw","DhuQ","DhuH"],dayNames:["Yawm al-ahad","Yawm al-ithnayn","Yawm ath-thulaathaa'","Yawm al-arbi'aa'","Yawm al-khamīs","Yawm al-jum'a","Yawm as-sabt"],dayNamesShort:["Aha","Ith","Thu","Arb","Kha","Jum","Sab"],dayNamesMin:["Ah","It","Th","Ar","Kh","Ju","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!1}},leapYear:function(M){return(11*this._validate(M,this.minMonth,this.minDay,d.local.invalidYear).year()+14)%30<11},weekOfYear:function(M,v,f){var l=this.newDate(M,v,f);return l.add(-l.dayOfWeek(),"d"),Math.floor((l.dayOfYear()-1)/7)+1},daysInYear:function(M){return this.leapYear(M)?355:354},daysInMonth:function(M,v){var f=this._validate(M,v,this.minDay,d.local.invalidMonth);return this.daysPerMonth[f.month()-1]+(f.month()===12&&this.leapYear(f.year())?1:0)},weekDay:function(M,v,f){return this.dayOfWeek(M,v,f)!==5},toJD:function(M,v,f){var l=this._validate(M,v,f,d.local.invalidDate);return M=l.year(),v=l.month(),M=M<=0?M+1:M,(f=l.day())+Math.ceil(29.5*(v-1))+354*(M-1)+Math.floor((3+11*M)/30)+this.jdEpoch-1},fromJD:function(M){M=Math.floor(M)+.5;var v=Math.floor((30*(M-this.jdEpoch)+10646)/10631);v=v<=0?v-1:v;var f=Math.min(12,Math.ceil((M-29-this.toJD(v,1,1))/29.5)+1),l=M-this.toJD(v,f,1)+1;return this.newDate(v,f,l)}}),d.calendars.islamic=i},88874:function(T,p,t){var d=t(63489),g=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,g(i.prototype,{name:"Julian",jdEpoch:17214235e-1,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Julian",epochs:["BC","AD"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"mm/dd/yyyy",firstDay:0,isRTL:!1}},leapYear:function(M){var v=this._validate(M,this.minMonth,this.minDay,d.local.invalidYear);return(M=v.year()<0?v.year()+1:v.year())%4==0},weekOfYear:function(M,v,f){var l=this.newDate(M,v,f);return l.add(4-(l.dayOfWeek()||7),"d"),Math.floor((l.dayOfYear()-1)/7)+1},daysInMonth:function(M,v){var f=this._validate(M,v,this.minDay,d.local.invalidMonth);return this.daysPerMonth[f.month()-1]+(f.month()===2&&this.leapYear(f.year())?1:0)},weekDay:function(M,v,f){return(this.dayOfWeek(M,v,f)||7)<6},toJD:function(M,v,f){var l=this._validate(M,v,f,d.local.invalidDate);return M=l.year(),v=l.month(),f=l.day(),M<0&&M++,v<=2&&(M--,v+=12),Math.floor(365.25*(M+4716))+Math.floor(30.6001*(v+1))+f-1524.5},fromJD:function(M){var v=Math.floor(M+.5)+1524,f=Math.floor((v-122.1)/365.25),l=Math.floor(365.25*f),a=Math.floor((v-l)/30.6001),u=a-Math.floor(a<14?1:13),o=f-Math.floor(u>2?4716:4715),s=v-l-Math.floor(30.6001*a);return o<=0&&o--,this.newDate(o,u,s)}}),d.calendars.julian=i},83290:function(T,p,t){var d=t(63489),g=t(56131);function i(f){this.local=this.regionalOptions[f||""]||this.regionalOptions[""]}function M(f,l){return f-l*Math.floor(f/l)}function v(f,l){return M(f-1,l)+1}i.prototype=new d.baseCalendar,g(i.prototype,{name:"Mayan",jdEpoch:584282.5,hasYearZero:!0,minMonth:0,firstMonth:0,minDay:0,regionalOptions:{"":{name:"Mayan",epochs:["",""],monthNames:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"],monthNamesShort:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"],dayNames:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],dayNamesShort:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],dayNamesMin:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],digits:null,dateFormat:"YYYY.m.d",firstDay:0,isRTL:!1,haabMonths:["Pop","Uo","Zip","Zotz","Tzec","Xul","Yaxkin","Mol","Chen","Yax","Zac","Ceh","Mac","Kankin","Muan","Pax","Kayab","Cumku","Uayeb"],tzolkinMonths:["Imix","Ik","Akbal","Kan","Chicchan","Cimi","Manik","Lamat","Muluc","Oc","Chuen","Eb","Ben","Ix","Men","Cib","Caban","Etznab","Cauac","Ahau"]}},leapYear:function(f){return this._validate(f,this.minMonth,this.minDay,d.local.invalidYear),!1},formatYear:function(f){f=this._validate(f,this.minMonth,this.minDay,d.local.invalidYear).year();var l=Math.floor(f/400);return f%=400,f+=f<0?400:0,l+"."+Math.floor(f/20)+"."+f%20},forYear:function(f){if((f=f.split(".")).length<3)throw"Invalid Mayan year";for(var l=0,a=0;a19||a>0&&u<0)throw"Invalid Mayan year";l=20*l+u}return l},monthsInYear:function(f){return this._validate(f,this.minMonth,this.minDay,d.local.invalidYear),18},weekOfYear:function(f,l,a){return this._validate(f,l,a,d.local.invalidDate),0},daysInYear:function(f){return this._validate(f,this.minMonth,this.minDay,d.local.invalidYear),360},daysInMonth:function(f,l){return this._validate(f,l,this.minDay,d.local.invalidMonth),20},daysInWeek:function(){return 5},dayOfWeek:function(f,l,a){return this._validate(f,l,a,d.local.invalidDate).day()},weekDay:function(f,l,a){return this._validate(f,l,a,d.local.invalidDate),!0},extraInfo:function(f,l,a){var u=this._validate(f,l,a,d.local.invalidDate).toJD(),o=this._toHaab(u),s=this._toTzolkin(u);return{haabMonthName:this.local.haabMonths[o[0]-1],haabMonth:o[0],haabDay:o[1],tzolkinDayName:this.local.tzolkinMonths[s[0]-1],tzolkinDay:s[0],tzolkinTrecena:s[1]}},_toHaab:function(f){var l=M(8+(f-=this.jdEpoch)+340,365);return[Math.floor(l/20)+1,M(l,20)]},_toTzolkin:function(f){return[v(20+(f-=this.jdEpoch),20),v(f+4,13)]},toJD:function(f,l,a){var u=this._validate(f,l,a,d.local.invalidDate);return u.day()+20*u.month()+360*u.year()+this.jdEpoch},fromJD:function(f){f=Math.floor(f)+.5-this.jdEpoch;var l=Math.floor(f/360);f%=360,f+=f<0?360:0;var a=Math.floor(f/20),u=f%20;return this.newDate(l,a,u)}}),d.calendars.mayan=i},29108:function(T,p,t){var d=t(63489),g=t(56131);function i(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar;var M=d.instance("gregorian");g(i.prototype,{name:"Nanakshahi",jdEpoch:22576735e-1,daysPerMonth:[31,31,31,31,31,30,30,30,30,30,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Nanakshahi",epochs:["BN","AN"],monthNames:["Chet","Vaisakh","Jeth","Harh","Sawan","Bhadon","Assu","Katak","Maghar","Poh","Magh","Phagun"],monthNamesShort:["Che","Vai","Jet","Har","Saw","Bha","Ass","Kat","Mgr","Poh","Mgh","Pha"],dayNames:["Somvaar","Mangalvar","Budhvaar","Veervaar","Shukarvaar","Sanicharvaar","Etvaar"],dayNamesShort:["Som","Mangal","Budh","Veer","Shukar","Sanichar","Et"],dayNamesMin:["So","Ma","Bu","Ve","Sh","Sa","Et"],digits:null,dateFormat:"dd-mm-yyyy",firstDay:0,isRTL:!1}},leapYear:function(v){var f=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear||d.regionalOptions[""].invalidYear);return M.leapYear(f.year()+(f.year()<1?1:0)+1469)},weekOfYear:function(v,f,l){var a=this.newDate(v,f,l);return a.add(1-(a.dayOfWeek()||7),"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInMonth:function(v,f){var l=this._validate(v,f,this.minDay,d.local.invalidMonth);return this.daysPerMonth[l.month()-1]+(l.month()===12&&this.leapYear(l.year())?1:0)},weekDay:function(v,f,l){return(this.dayOfWeek(v,f,l)||7)<6},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidMonth);(v=a.year())<0&&v++;for(var u=a.day(),o=1;o=this.toJD(f+1,1,1);)f++;for(var l=v-Math.floor(this.toJD(f,1,1)+.5)+1,a=1;l>this.daysInMonth(f,a);)l-=this.daysInMonth(f,a),a++;return this.newDate(f,a,l)}}),d.calendars.nanakshahi=i},55422:function(T,p,t){var d=t(63489),g=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,g(i.prototype,{name:"Nepali",jdEpoch:17007095e-1,daysPerMonth:[31,31,32,32,31,30,30,29,30,29,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,daysPerYear:365,regionalOptions:{"":{name:"Nepali",epochs:["BBS","ABS"],monthNames:["Baisakh","Jestha","Ashadh","Shrawan","Bhadra","Ashwin","Kartik","Mangsir","Paush","Mangh","Falgun","Chaitra"],monthNamesShort:["Bai","Je","As","Shra","Bha","Ash","Kar","Mang","Pau","Ma","Fal","Chai"],dayNames:["Aaitabaar","Sombaar","Manglbaar","Budhabaar","Bihibaar","Shukrabaar","Shanibaar"],dayNamesShort:["Aaita","Som","Mangl","Budha","Bihi","Shukra","Shani"],dayNamesMin:["Aai","So","Man","Bu","Bi","Shu","Sha"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:1,isRTL:!1}},leapYear:function(M){return this.daysInYear(M)!==this.daysPerYear},weekOfYear:function(M,v,f){var l=this.newDate(M,v,f);return l.add(-l.dayOfWeek(),"d"),Math.floor((l.dayOfYear()-1)/7)+1},daysInYear:function(M){if(M=this._validate(M,this.minMonth,this.minDay,d.local.invalidYear).year(),this.NEPALI_CALENDAR_DATA[M]===void 0)return this.daysPerYear;for(var v=0,f=this.minMonth;f<=12;f++)v+=this.NEPALI_CALENDAR_DATA[M][f];return v},daysInMonth:function(M,v){return M.year&&(v=M.month(),M=M.year()),this._validate(M,v,this.minDay,d.local.invalidMonth),this.NEPALI_CALENDAR_DATA[M]===void 0?this.daysPerMonth[v-1]:this.NEPALI_CALENDAR_DATA[M][v]},weekDay:function(M,v,f){return this.dayOfWeek(M,v,f)!==6},toJD:function(M,v,f){var l=this._validate(M,v,f,d.local.invalidDate);M=l.year(),v=l.month(),f=l.day();var a=d.instance(),u=0,o=v,s=M;this._createMissingCalendarData(M);var h=M-(o>9||o===9&&f>=this.NEPALI_CALENDAR_DATA[s][0]?56:57);for(v!==9&&(u=f,o--);o!==9;)o<=0&&(o=12,s--),u+=this.NEPALI_CALENDAR_DATA[s][o],o--;return v===9?(u+=f-this.NEPALI_CALENDAR_DATA[s][0])<0&&(u+=a.daysInYear(h)):u+=this.NEPALI_CALENDAR_DATA[s][9]-this.NEPALI_CALENDAR_DATA[s][0],a.newDate(h,1,1).add(u,"d").toJD()},fromJD:function(M){var v=d.instance().fromJD(M),f=v.year(),l=v.dayOfYear(),a=f+56;this._createMissingCalendarData(a);for(var u=9,o=this.NEPALI_CALENDAR_DATA[a][0],s=this.NEPALI_CALENDAR_DATA[a][u]-o+1;l>s;)++u>12&&(u=1,a++),s+=this.NEPALI_CALENDAR_DATA[a][u];var h=this.NEPALI_CALENDAR_DATA[a][u]-(s-l);return this.newDate(a,u,h)},_createMissingCalendarData:function(M){var v=this.daysPerMonth.slice(0);v.unshift(17);for(var f=M-1;f0?474:473))%2820+474+38)%2816<682},weekOfYear:function(v,f,l){var a=this.newDate(v,f,l);return a.add(-(a.dayOfWeek()+1)%7,"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInMonth:function(v,f){var l=this._validate(v,f,this.minDay,d.local.invalidMonth);return this.daysPerMonth[l.month()-1]+(l.month()===12&&this.leapYear(l.year())?1:0)},weekDay:function(v,f,l){return this.dayOfWeek(v,f,l)!==5},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);v=a.year(),f=a.month(),l=a.day();var u=v-(v>=0?474:473),o=474+M(u,2820);return l+(f<=7?31*(f-1):30*(f-1)+6)+Math.floor((682*o-110)/2816)+365*(o-1)+1029983*Math.floor(u/2820)+this.jdEpoch-1},fromJD:function(v){var f=(v=Math.floor(v)+.5)-this.toJD(475,1,1),l=Math.floor(f/1029983),a=M(f,1029983),u=2820;if(a!==1029982){var o=Math.floor(a/366),s=M(a,366);u=Math.floor((2134*o+2816*s+2815)/1028522)+o+1}var h=u+2820*l+474;h=h<=0?h-1:h;var c=v-this.toJD(h,1,1)+1,m=c<=186?Math.ceil(c/31):Math.ceil((c-6)/30),w=v-this.toJD(h,m,1)+1;return this.newDate(h,m,w)}}),d.calendars.persian=i,d.calendars.jalali=i},31320:function(T,p,t){var d=t(63489),g=t(56131),i=d.instance();function M(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}M.prototype=new d.baseCalendar,g(M.prototype,{name:"Taiwan",jdEpoch:24194025e-1,yearsOffset:1911,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Taiwan",epochs:["BROC","ROC"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:1,isRTL:!1}},leapYear:function(v){var f=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return v=this._t2gYear(f.year()),i.leapYear(v)},weekOfYear:function(v,f,l){var a=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return v=this._t2gYear(a.year()),i.weekOfYear(v,a.month(),a.day())},daysInMonth:function(v,f){var l=this._validate(v,f,this.minDay,d.local.invalidMonth);return this.daysPerMonth[l.month()-1]+(l.month()===2&&this.leapYear(l.year())?1:0)},weekDay:function(v,f,l){return(this.dayOfWeek(v,f,l)||7)<6},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);return v=this._t2gYear(a.year()),i.toJD(v,a.month(),a.day())},fromJD:function(v){var f=i.fromJD(v),l=this._g2tYear(f.year());return this.newDate(l,f.month(),f.day())},_t2gYear:function(v){return v+this.yearsOffset+(v>=-this.yearsOffset&&v<=-1?1:0)},_g2tYear:function(v){return v-this.yearsOffset-(v>=1&&v<=this.yearsOffset?1:0)}}),d.calendars.taiwan=M},51367:function(T,p,t){var d=t(63489),g=t(56131),i=d.instance();function M(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}M.prototype=new d.baseCalendar,g(M.prototype,{name:"Thai",jdEpoch:15230985e-1,yearsOffset:543,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Thai",epochs:["BBE","BE"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(v){var f=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return v=this._t2gYear(f.year()),i.leapYear(v)},weekOfYear:function(v,f,l){var a=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return v=this._t2gYear(a.year()),i.weekOfYear(v,a.month(),a.day())},daysInMonth:function(v,f){var l=this._validate(v,f,this.minDay,d.local.invalidMonth);return this.daysPerMonth[l.month()-1]+(l.month()===2&&this.leapYear(l.year())?1:0)},weekDay:function(v,f,l){return(this.dayOfWeek(v,f,l)||7)<6},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);return v=this._t2gYear(a.year()),i.toJD(v,a.month(),a.day())},fromJD:function(v){var f=i.fromJD(v),l=this._g2tYear(f.year());return this.newDate(l,f.month(),f.day())},_t2gYear:function(v){return v-this.yearsOffset-(v>=1&&v<=this.yearsOffset?1:0)},_g2tYear:function(v){return v+this.yearsOffset+(v>=-this.yearsOffset&&v<=-1?1:0)}}),d.calendars.thai=M},21457:function(T,p,t){var d=t(63489),g=t(56131);function i(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,g(i.prototype,{name:"UmmAlQura",hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Umm al-Qura",epochs:["BH","AH"],monthNames:["Al-Muharram","Safar","Rabi' al-awwal","Rabi' Al-Thani","Jumada Al-Awwal","Jumada Al-Thani","Rajab","Sha'aban","Ramadan","Shawwal","Dhu al-Qi'dah","Dhu al-Hijjah"],monthNamesShort:["Muh","Saf","Rab1","Rab2","Jum1","Jum2","Raj","Sha'","Ram","Shaw","DhuQ","DhuH"],dayNames:["Yawm al-Ahad","Yawm al-Ithnain","Yawm al-Thalāthā’","Yawm al-Arba‘ā’","Yawm al-Khamīs","Yawm al-Jum‘a","Yawm al-Sabt"],dayNamesMin:["Ah","Ith","Th","Ar","Kh","Ju","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!0}},leapYear:function(v){var f=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return this.daysInYear(f.year())===355},weekOfYear:function(v,f,l){var a=this.newDate(v,f,l);return a.add(-a.dayOfWeek(),"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInYear:function(v){for(var f=0,l=1;l<=12;l++)f+=this.daysInMonth(v,l);return f},daysInMonth:function(v,f){for(var l=this._validate(v,f,this.minDay,d.local.invalidMonth).toJD()-24e5+.5,a=0,u=0;ul)return M[a]-M[a-1];a++}return 30},weekDay:function(v,f,l){return this.dayOfWeek(v,f,l)!==5},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate),u=12*(a.year()-1)+a.month()-15292;return a.day()+M[u-1]-1+24e5-.5},fromJD:function(v){for(var f=v-24e5+.5,l=0,a=0;af);a++)l++;var u=l+15292,o=Math.floor((u-1)/12),s=o+1,h=u-12*o,c=f-M[l-1]+1;return this.newDate(s,h,c)},isValid:function(v,f,l){var a=d.baseCalendar.prototype.isValid.apply(this,arguments);return a&&(a=(v=v.year!=null?v.year:v)>=1276&&v<=1500),a},_validate:function(v,f,l,a){var u=d.baseCalendar.prototype._validate.apply(this,arguments);if(u.year<1276||u.year>1500)throw a.replace(/\{0\}/,this.local.name);return u}}),d.calendars.ummalqura=i;var M=[20,50,79,109,138,168,197,227,256,286,315,345,374,404,433,463,492,522,551,581,611,641,670,700,729,759,788,818,847,877,906,936,965,995,1024,1054,1083,1113,1142,1172,1201,1231,1260,1290,1320,1350,1379,1409,1438,1468,1497,1527,1556,1586,1615,1645,1674,1704,1733,1763,1792,1822,1851,1881,1910,1940,1969,1999,2028,2058,2087,2117,2146,2176,2205,2235,2264,2294,2323,2353,2383,2413,2442,2472,2501,2531,2560,2590,2619,2649,2678,2708,2737,2767,2796,2826,2855,2885,2914,2944,2973,3003,3032,3062,3091,3121,3150,3180,3209,3239,3268,3298,3327,3357,3386,3416,3446,3476,3505,3535,3564,3594,3623,3653,3682,3712,3741,3771,3800,3830,3859,3889,3918,3948,3977,4007,4036,4066,4095,4125,4155,4185,4214,4244,4273,4303,4332,4362,4391,4421,4450,4480,4509,4539,4568,4598,4627,4657,4686,4716,4745,4775,4804,4834,4863,4893,4922,4952,4981,5011,5040,5070,5099,5129,5158,5188,5218,5248,5277,5307,5336,5366,5395,5425,5454,5484,5513,5543,5572,5602,5631,5661,5690,5720,5749,5779,5808,5838,5867,5897,5926,5956,5985,6015,6044,6074,6103,6133,6162,6192,6221,6251,6281,6311,6340,6370,6399,6429,6458,6488,6517,6547,6576,6606,6635,6665,6694,6724,6753,6783,6812,6842,6871,6901,6930,6960,6989,7019,7048,7078,7107,7137,7166,7196,7225,7255,7284,7314,7344,7374,7403,7433,7462,7492,7521,7551,7580,7610,7639,7669,7698,7728,7757,7787,7816,7846,7875,7905,7934,7964,7993,8023,8053,8083,8112,8142,8171,8201,8230,8260,8289,8319,8348,8378,8407,8437,8466,8496,8525,8555,8584,8614,8643,8673,8702,8732,8761,8791,8821,8850,8880,8909,8938,8968,8997,9027,9056,9086,9115,9145,9175,9205,9234,9264,9293,9322,9352,9381,9410,9440,9470,9499,9529,9559,9589,9618,9648,9677,9706,9736,9765,9794,9824,9853,9883,9913,9943,9972,10002,10032,10061,10090,10120,10149,10178,10208,10237,10267,10297,10326,10356,10386,10415,10445,10474,10504,10533,10562,10592,10621,10651,10680,10710,10740,10770,10799,10829,10858,10888,10917,10947,10976,11005,11035,11064,11094,11124,11153,11183,11213,11242,11272,11301,11331,11360,11389,11419,11448,11478,11507,11537,11567,11596,11626,11655,11685,11715,11744,11774,11803,11832,11862,11891,11921,11950,11980,12010,12039,12069,12099,12128,12158,12187,12216,12246,12275,12304,12334,12364,12393,12423,12453,12483,12512,12542,12571,12600,12630,12659,12688,12718,12747,12777,12807,12837,12866,12896,12926,12955,12984,13014,13043,13072,13102,13131,13161,13191,13220,13250,13280,13310,13339,13368,13398,13427,13456,13486,13515,13545,13574,13604,13634,13664,13693,13723,13752,13782,13811,13840,13870,13899,13929,13958,13988,14018,14047,14077,14107,14136,14166,14195,14224,14254,14283,14313,14342,14372,14401,14431,14461,14490,14520,14550,14579,14609,14638,14667,14697,14726,14756,14785,14815,14844,14874,14904,14933,14963,14993,15021,15051,15081,15110,15140,15169,15199,15228,15258,15287,15317,15347,15377,15406,15436,15465,15494,15524,15553,15582,15612,15641,15671,15701,15731,15760,15790,15820,15849,15878,15908,15937,15966,15996,16025,16055,16085,16114,16144,16174,16204,16233,16262,16292,16321,16350,16380,16409,16439,16468,16498,16528,16558,16587,16617,16646,16676,16705,16734,16764,16793,16823,16852,16882,16912,16941,16971,17001,17030,17060,17089,17118,17148,17177,17207,17236,17266,17295,17325,17355,17384,17414,17444,17473,17502,17532,17561,17591,17620,17650,17679,17709,17738,17768,17798,17827,17857,17886,17916,17945,17975,18004,18034,18063,18093,18122,18152,18181,18211,18241,18270,18300,18330,18359,18388,18418,18447,18476,18506,18535,18565,18595,18625,18654,18684,18714,18743,18772,18802,18831,18860,18890,18919,18949,18979,19008,19038,19068,19098,19127,19156,19186,19215,19244,19274,19303,19333,19362,19392,19422,19452,19481,19511,19540,19570,19599,19628,19658,19687,19717,19746,19776,19806,19836,19865,19895,19924,19954,19983,20012,20042,20071,20101,20130,20160,20190,20219,20249,20279,20308,20338,20367,20396,20426,20455,20485,20514,20544,20573,20603,20633,20662,20692,20721,20751,20780,20810,20839,20869,20898,20928,20957,20987,21016,21046,21076,21105,21135,21164,21194,21223,21253,21282,21312,21341,21371,21400,21430,21459,21489,21519,21548,21578,21607,21637,21666,21696,21725,21754,21784,21813,21843,21873,21902,21932,21962,21991,22021,22050,22080,22109,22138,22168,22197,22227,22256,22286,22316,22346,22375,22405,22434,22464,22493,22522,22552,22581,22611,22640,22670,22700,22730,22759,22789,22818,22848,22877,22906,22936,22965,22994,23024,23054,23083,23113,23143,23173,23202,23232,23261,23290,23320,23349,23379,23408,23438,23467,23497,23527,23556,23586,23616,23645,23674,23704,23733,23763,23792,23822,23851,23881,23910,23940,23970,23999,24029,24058,24088,24117,24147,24176,24206,24235,24265,24294,24324,24353,24383,24413,24442,24472,24501,24531,24560,24590,24619,24648,24678,24707,24737,24767,24796,24826,24856,24885,24915,24944,24974,25003,25032,25062,25091,25121,25150,25180,25210,25240,25269,25299,25328,25358,25387,25416,25446,25475,25505,25534,25564,25594,25624,25653,25683,25712,25742,25771,25800,25830,25859,25888,25918,25948,25977,26007,26037,26067,26096,26126,26155,26184,26214,26243,26272,26302,26332,26361,26391,26421,26451,26480,26510,26539,26568,26598,26627,26656,26686,26715,26745,26775,26805,26834,26864,26893,26923,26952,26982,27011,27041,27070,27099,27129,27159,27188,27218,27248,27277,27307,27336,27366,27395,27425,27454,27484,27513,27542,27572,27602,27631,27661,27691,27720,27750,27779,27809,27838,27868,27897,27926,27956,27985,28015,28045,28074,28104,28134,28163,28193,28222,28252,28281,28310,28340,28369,28399,28428,28458,28488,28517,28547,28577,28607,28636,28665,28695,28724,28754,28783,28813,28843,28872,28901,28931,28960,28990,29019,29049,29078,29108,29137,29167,29196,29226,29255,29285,29315,29345,29375,29404,29434,29463,29492,29522,29551,29580,29610,29640,29669,29699,29729,29759,29788,29818,29847,29876,29906,29935,29964,29994,30023,30053,30082,30112,30141,30171,30200,30230,30259,30289,30318,30348,30378,30408,30437,30467,30496,30526,30555,30585,30614,30644,30673,30703,30732,30762,30791,30821,30850,30880,30909,30939,30968,30998,31027,31057,31086,31116,31145,31175,31204,31234,31263,31293,31322,31352,31381,31411,31441,31471,31500,31530,31559,31589,31618,31648,31676,31706,31736,31766,31795,31825,31854,31884,31913,31943,31972,32002,32031,32061,32090,32120,32150,32180,32209,32239,32268,32298,32327,32357,32386,32416,32445,32475,32504,32534,32563,32593,32622,32652,32681,32711,32740,32770,32799,32829,32858,32888,32917,32947,32976,33006,33035,33065,33094,33124,33153,33183,33213,33243,33272,33302,33331,33361,33390,33420,33450,33479,33509,33539,33568,33598,33627,33657,33686,33716,33745,33775,33804,33834,33863,33893,33922,33952,33981,34011,34040,34069,34099,34128,34158,34187,34217,34247,34277,34306,34336,34365,34395,34424,34454,34483,34512,34542,34571,34601,34631,34660,34690,34719,34749,34778,34808,34837,34867,34896,34926,34955,34985,35015,35044,35074,35103,35133,35162,35192,35222,35251,35280,35310,35340,35370,35399,35429,35458,35488,35517,35547,35576,35605,35635,35665,35694,35723,35753,35782,35811,35841,35871,35901,35930,35960,35989,36019,36048,36078,36107,36136,36166,36195,36225,36254,36284,36314,36343,36373,36403,36433,36462,36492,36521,36551,36580,36610,36639,36669,36698,36728,36757,36786,36816,36845,36875,36904,36934,36963,36993,37022,37052,37081,37111,37141,37170,37200,37229,37259,37288,37318,37347,37377,37406,37436,37465,37495,37524,37554,37584,37613,37643,37672,37701,37731,37760,37790,37819,37849,37878,37908,37938,37967,37997,38027,38056,38085,38115,38144,38174,38203,38233,38262,38292,38322,38351,38381,38410,38440,38469,38499,38528,38558,38587,38617,38646,38676,38705,38735,38764,38794,38823,38853,38882,38912,38941,38971,39001,39030,39059,39089,39118,39148,39178,39208,39237,39267,39297,39326,39355,39385,39414,39444,39473,39503,39532,39562,39592,39621,39650,39680,39709,39739,39768,39798,39827,39857,39886,39916,39946,39975,40005,40035,40064,40094,40123,40153,40182,40212,40241,40271,40300,40330,40359,40389,40418,40448,40477,40507,40536,40566,40595,40625,40655,40685,40714,40744,40773,40803,40832,40862,40892,40921,40951,40980,41009,41039,41068,41098,41127,41157,41186,41216,41245,41275,41304,41334,41364,41393,41422,41452,41481,41511,41540,41570,41599,41629,41658,41688,41718,41748,41777,41807,41836,41865,41894,41924,41953,41983,42012,42042,42072,42102,42131,42161,42190,42220,42249,42279,42308,42337,42367,42397,42426,42456,42485,42515,42545,42574,42604,42633,42662,42692,42721,42751,42780,42810,42839,42869,42899,42929,42958,42988,43017,43046,43076,43105,43135,43164,43194,43223,43253,43283,43312,43342,43371,43401,43430,43460,43489,43519,43548,43578,43607,43637,43666,43696,43726,43755,43785,43814,43844,43873,43903,43932,43962,43991,44021,44050,44080,44109,44139,44169,44198,44228,44258,44287,44317,44346,44375,44405,44434,44464,44493,44523,44553,44582,44612,44641,44671,44700,44730,44759,44788,44818,44847,44877,44906,44936,44966,44996,45025,45055,45084,45114,45143,45172,45202,45231,45261,45290,45320,45350,45380,45409,45439,45468,45498,45527,45556,45586,45615,45644,45674,45704,45733,45763,45793,45823,45852,45882,45911,45940,45970,45999,46028,46058,46088,46117,46147,46177,46206,46236,46265,46295,46324,46354,46383,46413,46442,46472,46501,46531,46560,46590,46620,46649,46679,46708,46738,46767,46797,46826,46856,46885,46915,46944,46974,47003,47033,47063,47092,47122,47151,47181,47210,47240,47269,47298,47328,47357,47387,47417,47446,47476,47506,47535,47565,47594,47624,47653,47682,47712,47741,47771,47800,47830,47860,47890,47919,47949,47978,48008,48037,48066,48096,48125,48155,48184,48214,48244,48273,48303,48333,48362,48392,48421,48450,48480,48509,48538,48568,48598,48627,48657,48687,48717,48746,48776,48805,48834,48864,48893,48922,48952,48982,49011,49041,49071,49100,49130,49160,49189,49218,49248,49277,49306,49336,49365,49395,49425,49455,49484,49514,49543,49573,49602,49632,49661,49690,49720,49749,49779,49809,49838,49868,49898,49927,49957,49986,50016,50045,50075,50104,50133,50163,50192,50222,50252,50281,50311,50340,50370,50400,50429,50459,50488,50518,50547,50576,50606,50635,50665,50694,50724,50754,50784,50813,50843,50872,50902,50931,50960,50990,51019,51049,51078,51108,51138,51167,51197,51227,51256,51286,51315,51345,51374,51403,51433,51462,51492,51522,51552,51582,51611,51641,51670,51699,51729,51758,51787,51816,51846,51876,51906,51936,51965,51995,52025,52054,52083,52113,52142,52171,52200,52230,52260,52290,52319,52349,52379,52408,52438,52467,52497,52526,52555,52585,52614,52644,52673,52703,52733,52762,52792,52822,52851,52881,52910,52939,52969,52998,53028,53057,53087,53116,53146,53176,53205,53235,53264,53294,53324,53353,53383,53412,53441,53471,53500,53530,53559,53589,53619,53648,53678,53708,53737,53767,53796,53825,53855,53884,53913,53943,53973,54003,54032,54062,54092,54121,54151,54180,54209,54239,54268,54297,54327,54357,54387,54416,54446,54476,54505,54535,54564,54593,54623,54652,54681,54711,54741,54770,54800,54830,54859,54889,54919,54948,54977,55007,55036,55066,55095,55125,55154,55184,55213,55243,55273,55302,55332,55361,55391,55420,55450,55479,55508,55538,55567,55597,55627,55657,55686,55716,55745,55775,55804,55834,55863,55892,55922,55951,55981,56011,56040,56070,56100,56129,56159,56188,56218,56247,56276,56306,56335,56365,56394,56424,56454,56483,56513,56543,56572,56601,56631,56660,56690,56719,56749,56778,56808,56837,56867,56897,56926,56956,56985,57015,57044,57074,57103,57133,57162,57192,57221,57251,57280,57310,57340,57369,57399,57429,57458,57487,57517,57546,57576,57605,57634,57664,57694,57723,57753,57783,57813,57842,57871,57901,57930,57959,57989,58018,58048,58077,58107,58137,58167,58196,58226,58255,58285,58314,58343,58373,58402,58432,58461,58491,58521,58551,58580,58610,58639,58669,58698,58727,58757,58786,58816,58845,58875,58905,58934,58964,58994,59023,59053,59082,59111,59141,59170,59200,59229,59259,59288,59318,59348,59377,59407,59436,59466,59495,59525,59554,59584,59613,59643,59672,59702,59731,59761,59791,59820,59850,59879,59909,59939,59968,59997,60027,60056,60086,60115,60145,60174,60204,60234,60264,60293,60323,60352,60381,60411,60440,60469,60499,60528,60558,60588,60618,60648,60677,60707,60736,60765,60795,60824,60853,60883,60912,60942,60972,61002,61031,61061,61090,61120,61149,61179,61208,61237,61267,61296,61326,61356,61385,61415,61445,61474,61504,61533,61563,61592,61621,61651,61680,61710,61739,61769,61799,61828,61858,61888,61917,61947,61976,62006,62035,62064,62094,62123,62153,62182,62212,62242,62271,62301,62331,62360,62390,62419,62448,62478,62507,62537,62566,62596,62625,62655,62685,62715,62744,62774,62803,62832,62862,62891,62921,62950,62980,63009,63039,63069,63099,63128,63157,63187,63216,63246,63275,63305,63334,63363,63393,63423,63453,63482,63512,63541,63571,63600,63630,63659,63689,63718,63747,63777,63807,63836,63866,63895,63925,63955,63984,64014,64043,64073,64102,64131,64161,64190,64220,64249,64279,64309,64339,64368,64398,64427,64457,64486,64515,64545,64574,64603,64633,64663,64692,64722,64752,64782,64811,64841,64870,64899,64929,64958,64987,65017,65047,65076,65106,65136,65166,65195,65225,65254,65283,65313,65342,65371,65401,65431,65460,65490,65520,65549,65579,65608,65638,65667,65697,65726,65755,65785,65815,65844,65874,65903,65933,65963,65992,66022,66051,66081,66110,66140,66169,66199,66228,66258,66287,66317,66346,66376,66405,66435,66465,66494,66524,66553,66583,66612,66641,66671,66700,66730,66760,66789,66819,66849,66878,66908,66937,66967,66996,67025,67055,67084,67114,67143,67173,67203,67233,67262,67292,67321,67351,67380,67409,67439,67468,67497,67527,67557,67587,67617,67646,67676,67705,67735,67764,67793,67823,67852,67882,67911,67941,67971,68e3,68030,68060,68089,68119,68148,68177,68207,68236,68266,68295,68325,68354,68384,68414,68443,68473,68502,68532,68561,68591,68620,68650,68679,68708,68738,68768,68797,68827,68857,68886,68916,68946,68975,69004,69034,69063,69092,69122,69152,69181,69211,69240,69270,69300,69330,69359,69388,69418,69447,69476,69506,69535,69565,69595,69624,69654,69684,69713,69743,69772,69802,69831,69861,69890,69919,69949,69978,70008,70038,70067,70097,70126,70156,70186,70215,70245,70274,70303,70333,70362,70392,70421,70451,70481,70510,70540,70570,70599,70629,70658,70687,70717,70746,70776,70805,70835,70864,70894,70924,70954,70983,71013,71042,71071,71101,71130,71159,71189,71218,71248,71278,71308,71337,71367,71397,71426,71455,71485,71514,71543,71573,71602,71632,71662,71691,71721,71751,71781,71810,71839,71869,71898,71927,71957,71986,72016,72046,72075,72105,72135,72164,72194,72223,72253,72282,72311,72341,72370,72400,72429,72459,72489,72518,72548,72577,72607,72637,72666,72695,72725,72754,72784,72813,72843,72872,72902,72931,72961,72991,73020,73050,73080,73109,73139,73168,73197,73227,73256,73286,73315,73345,73375,73404,73434,73464,73493,73523,73552,73581,73611,73640,73669,73699,73729,73758,73788,73818,73848,73877,73907,73936,73965,73995,74024,74053,74083,74113,74142,74172,74202,74231,74261,74291,74320,74349,74379,74408,74437,74467,74497,74526,74556,74586,74615,74645,74675,74704,74733,74763,74792,74822,74851,74881,74910,74940,74969,74999,75029,75058,75088,75117,75147,75176,75206,75235,75264,75294,75323,75353,75383,75412,75442,75472,75501,75531,75560,75590,75619,75648,75678,75707,75737,75766,75796,75826,75856,75885,75915,75944,75974,76003,76032,76062,76091,76121,76150,76180,76210,76239,76269,76299,76328,76358,76387,76416,76446,76475,76505,76534,76564,76593,76623,76653,76682,76712,76741,76771,76801,76830,76859,76889,76918,76948,76977,77007,77036,77066,77096,77125,77155,77185,77214,77243,77273,77302,77332,77361,77390,77420,77450,77479,77509,77539,77569,77598,77627,77657,77686,77715,77745,77774,77804,77833,77863,77893,77923,77952,77982,78011,78041,78070,78099,78129,78158,78188,78217,78247,78277,78307,78336,78366,78395,78425,78454,78483,78513,78542,78572,78601,78631,78661,78690,78720,78750,78779,78808,78838,78867,78897,78926,78956,78985,79015,79044,79074,79104,79133,79163,79192,79222,79251,79281,79310,79340,79369,79399,79428,79458,79487,79517,79546,79576,79606,79635,79665,79695,79724,79753,79783,79812,79841,79871,79900,79930,79960,79990]},63489:function(T,p,t){var d=t(56131);function g(){this.regionalOptions=[],this.regionalOptions[""]={invalidCalendar:"Calendar {0} not found",invalidDate:"Invalid {0} date",invalidMonth:"Invalid {0} month",invalidYear:"Invalid {0} year",differentCalendars:"Cannot mix {0} and {1} dates"},this.local=this.regionalOptions[""],this.calendars={},this._localCals={}}function i(a,u,o,s){if(this._calendar=a,this._year=u,this._month=o,this._day=s,this._calendar._validateLevel===0&&!this._calendar.isValid(this._year,this._month,this._day))throw(l.local.invalidDate||l.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name)}function M(a,u){return"000000".substring(0,u-(a=""+a).length)+a}function v(){this.shortYearCutoff="+10"}function f(a){this.local=this.regionalOptions[a]||this.regionalOptions[""]}d(g.prototype,{instance:function(a,u){a=(a||"gregorian").toLowerCase(),u=u||"";var o=this._localCals[a+"-"+u];if(!o&&this.calendars[a]&&(o=new this.calendars[a](u),this._localCals[a+"-"+u]=o),!o)throw(this.local.invalidCalendar||this.regionalOptions[""].invalidCalendar).replace(/\{0\}/,a);return o},newDate:function(a,u,o,s,h){return(s=(a!=null&&a.year?a.calendar():typeof s=="string"?this.instance(s,h):s)||this.instance()).newDate(a,u,o)},substituteDigits:function(a){return function(u){return(u+"").replace(/[0-9]/g,function(o){return a[o]})}},substituteChineseDigits:function(a,u){return function(o){for(var s="",h=0;o>0;){var c=o%10;s=(c===0?"":a[c]+u[h])+s,h++,o=Math.floor(o/10)}return s.indexOf(a[1]+u[1])===0&&(s=s.substr(1)),s||a[0]}}}),d(i.prototype,{newDate:function(a,u,o){return this._calendar.newDate(a??this,u,o)},year:function(a){return arguments.length===0?this._year:this.set(a,"y")},month:function(a){return arguments.length===0?this._month:this.set(a,"m")},day:function(a){return arguments.length===0?this._day:this.set(a,"d")},date:function(a,u,o){if(!this._calendar.isValid(a,u,o))throw(l.local.invalidDate||l.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name);return this._year=a,this._month=u,this._day=o,this},leapYear:function(){return this._calendar.leapYear(this)},epoch:function(){return this._calendar.epoch(this)},formatYear:function(){return this._calendar.formatYear(this)},monthOfYear:function(){return this._calendar.monthOfYear(this)},weekOfYear:function(){return this._calendar.weekOfYear(this)},daysInYear:function(){return this._calendar.daysInYear(this)},dayOfYear:function(){return this._calendar.dayOfYear(this)},daysInMonth:function(){return this._calendar.daysInMonth(this)},dayOfWeek:function(){return this._calendar.dayOfWeek(this)},weekDay:function(){return this._calendar.weekDay(this)},extraInfo:function(){return this._calendar.extraInfo(this)},add:function(a,u){return this._calendar.add(this,a,u)},set:function(a,u){return this._calendar.set(this,a,u)},compareTo:function(a){if(this._calendar.name!==a._calendar.name)throw(l.local.differentCalendars||l.regionalOptions[""].differentCalendars).replace(/\{0\}/,this._calendar.local.name).replace(/\{1\}/,a._calendar.local.name);var u=this._year!==a._year?this._year-a._year:this._month!==a._month?this.monthOfYear()-a.monthOfYear():this._day-a._day;return u===0?0:u<0?-1:1},calendar:function(){return this._calendar},toJD:function(){return this._calendar.toJD(this)},fromJD:function(a){return this._calendar.fromJD(a)},toJSDate:function(){return this._calendar.toJSDate(this)},fromJSDate:function(a){return this._calendar.fromJSDate(a)},toString:function(){return(this.year()<0?"-":"")+M(Math.abs(this.year()),4)+"-"+M(this.month(),2)+"-"+M(this.day(),2)}}),d(v.prototype,{_validateLevel:0,newDate:function(a,u,o){return a==null?this.today():(a.year&&(this._validate(a,u,o,l.local.invalidDate||l.regionalOptions[""].invalidDate),o=a.day(),u=a.month(),a=a.year()),new i(this,a,u,o))},today:function(){return this.fromJSDate(new Date)},epoch:function(a){return this._validate(a,this.minMonth,this.minDay,l.local.invalidYear||l.regionalOptions[""].invalidYear).year()<0?this.local.epochs[0]:this.local.epochs[1]},formatYear:function(a){var u=this._validate(a,this.minMonth,this.minDay,l.local.invalidYear||l.regionalOptions[""].invalidYear);return(u.year()<0?"-":"")+M(Math.abs(u.year()),4)},monthsInYear:function(a){return this._validate(a,this.minMonth,this.minDay,l.local.invalidYear||l.regionalOptions[""].invalidYear),12},monthOfYear:function(a,u){var o=this._validate(a,u,this.minDay,l.local.invalidMonth||l.regionalOptions[""].invalidMonth);return(o.month()+this.monthsInYear(o)-this.firstMonth)%this.monthsInYear(o)+this.minMonth},fromMonthOfYear:function(a,u){var o=(u+this.firstMonth-2*this.minMonth)%this.monthsInYear(a)+this.minMonth;return this._validate(a,o,this.minDay,l.local.invalidMonth||l.regionalOptions[""].invalidMonth),o},daysInYear:function(a){var u=this._validate(a,this.minMonth,this.minDay,l.local.invalidYear||l.regionalOptions[""].invalidYear);return this.leapYear(u)?366:365},dayOfYear:function(a,u,o){var s=this._validate(a,u,o,l.local.invalidDate||l.regionalOptions[""].invalidDate);return s.toJD()-this.newDate(s.year(),this.fromMonthOfYear(s.year(),this.minMonth),this.minDay).toJD()+1},daysInWeek:function(){return 7},dayOfWeek:function(a,u,o){var s=this._validate(a,u,o,l.local.invalidDate||l.regionalOptions[""].invalidDate);return(Math.floor(this.toJD(s))+2)%this.daysInWeek()},extraInfo:function(a,u,o){return this._validate(a,u,o,l.local.invalidDate||l.regionalOptions[""].invalidDate),{}},add:function(a,u,o){return this._validate(a,this.minMonth,this.minDay,l.local.invalidDate||l.regionalOptions[""].invalidDate),this._correctAdd(a,this._add(a,u,o),u,o)},_add:function(a,u,o){if(this._validateLevel++,o==="d"||o==="w"){var s=a.toJD()+u*(o==="w"?this.daysInWeek():1),h=a.calendar().fromJD(s);return this._validateLevel--,[h.year(),h.month(),h.day()]}try{var c=a.year()+(o==="y"?u:0),m=a.monthOfYear()+(o==="m"?u:0);h=a.day(),o==="y"?(a.month()!==this.fromMonthOfYear(c,m)&&(m=this.newDate(c,a.month(),this.minDay).monthOfYear()),m=Math.min(m,this.monthsInYear(c)),h=Math.min(h,this.daysInMonth(c,this.fromMonthOfYear(c,m)))):o==="m"&&(function(y){for(;mC-1+y.minMonth;)c++,m-=C,C=y.monthsInYear(c)}(this),h=Math.min(h,this.daysInMonth(c,this.fromMonthOfYear(c,m))));var w=[c,this.fromMonthOfYear(c,m),h];return this._validateLevel--,w}catch(y){throw this._validateLevel--,y}},_correctAdd:function(a,u,o,s){if(!(this.hasYearZero||s!=="y"&&s!=="m"||u[0]!==0&&a.year()>0==u[0]>0)){var h={y:[1,1,"y"],m:[1,this.monthsInYear(-1),"m"],w:[this.daysInWeek(),this.daysInYear(-1),"d"],d:[1,this.daysInYear(-1),"d"]}[s],c=o<0?-1:1;u=this._add(a,o*h[0]+c*h[1],h[2])}return a.date(u[0],u[1],u[2])},set:function(a,u,o){this._validate(a,this.minMonth,this.minDay,l.local.invalidDate||l.regionalOptions[""].invalidDate);var s=o==="y"?u:a.year(),h=o==="m"?u:a.month(),c=o==="d"?u:a.day();return o!=="y"&&o!=="m"||(c=Math.min(c,this.daysInMonth(s,h))),a.date(s,h,c)},isValid:function(a,u,o){this._validateLevel++;var s=this.hasYearZero||a!==0;if(s){var h=this.newDate(a,u,this.minDay);s=u>=this.minMonth&&u-this.minMonth=this.minDay&&o-this.minDay13.5?13:1),C=h-(y>2.5?4716:4715);return C<=0&&C--,this.newDate(C,y,w)},toJSDate:function(a,u,o){var s=this._validate(a,u,o,l.local.invalidDate||l.regionalOptions[""].invalidDate),h=new Date(s.year(),s.month()-1,s.day());return h.setHours(0),h.setMinutes(0),h.setSeconds(0),h.setMilliseconds(0),h.setHours(h.getHours()>12?h.getHours()+2:0),h},fromJSDate:function(a){return this.newDate(a.getFullYear(),a.getMonth()+1,a.getDate())}});var l=T.exports=new g;l.cdate=i,l.baseCalendar=v,l.calendars.gregorian=f},94338:function(T,p,t){var d=t(56131),g=t(63489);d(g.regionalOptions[""],{invalidArguments:"Invalid arguments",invalidFormat:"Cannot format a date from another calendar",missingNumberAt:"Missing number at position {0}",unknownNameAt:"Unknown name at position {0}",unexpectedLiteralAt:"Unexpected literal at position {0}",unexpectedText:"Additional text found at end"}),g.local=g.regionalOptions[""],d(g.cdate.prototype,{formatDate:function(i,M){return typeof i!="string"&&(M=i,i=""),this._calendar.formatDate(i||"",this,M)}}),d(g.baseCalendar.prototype,{UNIX_EPOCH:g.instance().newDate(1970,1,1).toJD(),SECS_PER_DAY:86400,TICKS_EPOCH:g.instance().jdEpoch,TICKS_PER_DAY:864e9,ATOM:"yyyy-mm-dd",COOKIE:"D, dd M yyyy",FULL:"DD, MM d, yyyy",ISO_8601:"yyyy-mm-dd",JULIAN:"J",RFC_822:"D, d M yy",RFC_850:"DD, dd-M-yy",RFC_1036:"D, d M yy",RFC_1123:"D, d M yyyy",RFC_2822:"D, d M yyyy",RSS:"D, d M yy",TICKS:"!",TIMESTAMP:"@",W3C:"yyyy-mm-dd",formatDate:function(i,M,v){if(typeof i!="string"&&(v=M,M=i,i=""),!M)return"";if(M.calendar()!==this)throw g.local.invalidFormat||g.regionalOptions[""].invalidFormat;i=i||this.local.dateFormat;for(var f,l,a,u=(v=v||{}).dayNamesShort||this.local.dayNamesShort,o=v.dayNames||this.local.dayNames,s=v.monthNumbers||this.local.monthNumbers,h=v.monthNamesShort||this.local.monthNamesShort,c=v.monthNames||this.local.monthNames,m=(v.calculateWeek||this.local.calculateWeek,function(b,R){for(var I=1;L+I1}),w=function(b,R,I,O){var z=""+R;if(m(b,O))for(;z.length1},x=function(N,W){var j=E(N,W),$=[2,3,j?4:2,j?4:2,10,11,20]["oyYJ@!".indexOf(N)+1],U=new RegExp("^-?\\d{1,"+$+"}"),G=M.substring(O).match(U);if(!G)throw(g.local.missingNumberAt||g.regionalOptions[""].missingNumberAt).replace(/\{0\}/,O);return O+=G[0].length,parseInt(G[0],10)},A=this,L=function(){if(typeof o=="function"){E("m");var N=o.call(A,M.substring(O));return O+=N.length,N}return x("m")},b=function(N,W,j,$){for(var U=E(N,$)?j:W,G=0;G-1){w=1,y=C;for(var B=this.daysInMonth(m,w);y>B;B=this.daysInMonth(m,w))w++,y-=B}return c>-1?this.fromJD(c):this.newDate(m,w,y)},determineDate:function(i,M,v,f,l){v&&typeof v!="object"&&(l=f,f=v,v=null),typeof f!="string"&&(l=f,f="");var a=this;return M=M?M.newDate():null,i==null?M:typeof i=="string"?function(u){try{return a.parseDate(f,u,l)}catch{}for(var o=((u=u.toLowerCase()).match(/^c/)&&v?v.newDate():null)||a.today(),s=/([+-]?[0-9]+)\s*(d|w|m|y)?/g,h=s.exec(u);h;)o.add(parseInt(h[1],10),h[2]||"d"),h=s.exec(u);return o}(i):typeof i=="number"?isNaN(i)||i===1/0||i===-1/0?M:a.today().add(i,"d"):a.newDate(i)}})},69862:function(){},40964:function(){},72077:function(T,p,t){var d=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],g=typeof globalThis>"u"?t.g:globalThis;T.exports=function(){for(var i=[],M=0;M>8&15|me>>4&240,me>>4&15|240&me,(15&me)<<4|15&me,1):pe===8?x(me>>24&255,me>>16&255,me>>8&255,(255&me)/255):pe===4?x(me>>12&15|me>>8&240,me>>8&15|me>>4&240,me>>4&15|240&me,((15&me)<<4|15&me)/255):null):(me=o.exec(de))?new b(me[1],me[2],me[3],1):(me=s.exec(de))?new b(255*me[1]/100,255*me[2]/100,255*me[3]/100,1):(me=h.exec(de))?x(me[1],me[2],me[3],me[4]):(me=c.exec(de))?x(255*me[1]/100,255*me[2]/100,255*me[3]/100,me[4]):(me=m.exec(de))?B(me[1],me[2]/100,me[3]/100,1):(me=w.exec(de))?B(me[1],me[2]/100,me[3]/100,me[4]):y.hasOwnProperty(de)?E(y[de]):de==="transparent"?new b(NaN,NaN,NaN,0):null}function E(de){return new b(de>>16&255,de>>8&255,255&de,1)}function x(de,me,pe,xe){return xe<=0&&(de=me=pe=NaN),new b(de,me,pe,xe)}function A(de){return de instanceof i||(de=k(de)),de?new b((de=de.rgb()).r,de.g,de.b,de.opacity):new b}function L(de,me,pe,xe){return arguments.length===1?A(de):new b(de,me,pe,xe??1)}function b(de,me,pe,xe){this.r=+de,this.g=+me,this.b=+pe,this.opacity=+xe}function R(){return"#".concat(F(this.r)).concat(F(this.g)).concat(F(this.b))}function I(){var de=O(this.opacity);return"".concat(de===1?"rgb(":"rgba(").concat(z(this.r),", ").concat(z(this.g),", ").concat(z(this.b)).concat(de===1?")":", ".concat(de,")"))}function O(de){return isNaN(de)?1:Math.max(0,Math.min(1,de))}function z(de){return Math.max(0,Math.min(255,Math.round(de)||0))}function F(de){return((de=z(de))<16?"0":"")+de.toString(16)}function B(de,me,pe,xe){return xe<=0?de=me=pe=NaN:pe<=0||pe>=1?de=me=NaN:me<=0&&(de=NaN),new W(de,me,pe,xe)}function N(de){if(de instanceof W)return new W(de.h,de.s,de.l,de.opacity);if(de instanceof i||(de=k(de)),!de)return new W;if(de instanceof W)return de;var me=(de=de.rgb()).r/255,pe=de.g/255,xe=de.b/255,Pe=Math.min(me,pe,xe),_e=Math.max(me,pe,xe),Me=NaN,Se=_e-Pe,Ce=(_e+Pe)/2;return Se?(Me=me===_e?(pe-xe)/Se+6*(pe0&&Ce<1?0:Me,new W(Me,Se,Ce,de.opacity)}function W(de,me,pe,xe){this.h=+de,this.s=+me,this.l=+pe,this.opacity=+xe}function j(de){return(de=(de||0)%360)<0?de+360:de}function $(de){return Math.max(0,Math.min(1,de||0))}function U(de,me,pe){return 255*(de<60?me+(pe-me)*de/60:de<180?pe:de<240?me+(pe-me)*(240-de)/60:me)}d(i,k,{copy:function(de){return Object.assign(new this.constructor,this,de)},displayable:function(){return this.rgb().displayable()},hex:C,formatHex:C,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return N(this).formatHsl()},formatRgb:_,toString:_}),d(b,L,g(i,{brighter:function(de){return de=de==null?v:Math.pow(v,de),new b(this.r*de,this.g*de,this.b*de,this.opacity)},darker:function(de){return de=de==null?M:Math.pow(M,de),new b(this.r*de,this.g*de,this.b*de,this.opacity)},rgb:function(){return this},clamp:function(){return new b(z(this.r),z(this.g),z(this.b),O(this.opacity))},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:R,formatHex:R,formatHex8:function(){return"#".concat(F(this.r)).concat(F(this.g)).concat(F(this.b)).concat(F(255*(isNaN(this.opacity)?1:this.opacity)))},formatRgb:I,toString:I})),d(W,function(de,me,pe,xe){return arguments.length===1?N(de):new W(de,me,pe,xe??1)},g(i,{brighter:function(de){return de=de==null?v:Math.pow(v,de),new W(this.h,this.s,this.l*de,this.opacity)},darker:function(de){return de=de==null?M:Math.pow(M,de),new W(this.h,this.s,this.l*de,this.opacity)},rgb:function(){var de=this.h%360+360*(this.h<0),me=isNaN(de)||isNaN(this.s)?0:this.s,pe=this.l,xe=pe+(pe<.5?pe:1-pe)*me,Pe=2*pe-xe;return new b(U(de>=240?de-240:de+120,Pe,xe),U(de,Pe,xe),U(de<120?de+240:de-120,Pe,xe),this.opacity)},clamp:function(){return new W(j(this.h),$(this.s),$(this.l),O(this.opacity))},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var de=O(this.opacity);return"".concat(de===1?"hsl(":"hsla(").concat(j(this.h),", ").concat(100*$(this.s),"%, ").concat(100*$(this.l),"%").concat(de===1?")":", ".concat(de,")"))}}));var G=function(de){return function(){return de}};function q(de,me){var pe=me-de;return pe?function(xe,Pe){return function(_e){return xe+_e*Pe}}(de,pe):G(isNaN(de)?me:de)}var H=function de(me){var pe=function(Pe){return(Pe=+Pe)==1?q:function(_e,Me){return Me-_e?function(Se,Ce,ae){return Se=Math.pow(Se,ae),Ce=Math.pow(Ce,ae)-Se,ae=1/ae,function(fe){return Math.pow(Se+fe*Ce,ae)}}(_e,Me,Pe):G(isNaN(_e)?Me:_e)}}(me);function xe(Pe,_e){var Me=pe((Pe=L(Pe)).r,(_e=L(_e)).r),Se=pe(Pe.g,_e.g),Ce=pe(Pe.b,_e.b),ae=q(Pe.opacity,_e.opacity);return function(fe){return Pe.r=Me(fe),Pe.g=Se(fe),Pe.b=Ce(fe),Pe.opacity=ae(fe),Pe+""}}return xe.gamma=de,xe}(1);function ne(de,me){var pe,xe=me?me.length:0,Pe=de?Math.min(xe,de.length):0,_e=new Array(Pe),Me=new Array(xe);for(pe=0;pe_e&&(Pe=me.slice(_e,Pe),Se[Me]?Se[Me]+=Pe:Se[++Me]=Pe),(pe=pe[0])===(xe=xe[0])?Se[Me]?Se[Me]+=xe:Se[++Me]=xe:(Se[++Me]=null,Ce.push({i:Me,x:Z(pe,xe)})),_e=ie.lastIndex;return _en.rt)},yValues(){return this.dataForHeatmapDrawing.map(n=>n.mass)},selectedRange(){switch(this.args.title){case"Raw MS1 Heatmap":return this.selectionStore.selectedRawHeatmap;case"Raw MS2 Heatmap":return this.selectionStore.selectedRawMS2Heatmap;case"Deconvolved MS1 Heatmap":return this.selectionStore.selectedDeconvHeatmap;case"Deconvolved MS2 Heatmap":return this.selectionStore.selectedDeconvMS2Heatmap;default:return}},xRange(){if(this.selectedRange!==void 0)return this.selectedRange.xRange[0]<0&&this.selectedRange.xRange[1]<0?void 0:this.selectedRange.xRange},yRange(){if(this.selectedRange!==void 0)return this.selectedRange.yRange[0]<0&&this.selectedRange.yRange[1]<0?void 0:this.selectedRange.yRange},markerColorValues(){return this.dataForHeatmapDrawing.map(n=>n.intensity)},data(){const n=this.dataForHeatmapDrawing.map(p=>p.intensity),e=Math.min(...n.filter(p=>p>0)),r=Math.max(...n),S=Math.floor(Math.log10(e)),D=Math.ceil(Math.log10(r)),T=Array.from({length:D-S+1},(p,t)=>Math.pow(10,S+t));return[{type:"scattergl",name:"raw peaks",x:this.xValues,y:this.yValues,mode:"markers",marker:{color:this.markerColorValues.map(p=>p>0?Math.log10(p):0),colorscale:"Portland",showscale:this.effectiveColorbarVisible,colorbar:{title:"Intensity",tickvals:T.map(p=>Math.log10(p)),ticktext:T.map(p=>p.toExponential(0)),tickmode:"array"}},hovertext:this.dataForHeatmapDrawing.map(p=>p.intensity.toExponential(2))}]},layout(){var n,e,r,S;return{title:`${this.args.title}`,showlegend:this.args.showLegend,xaxis:{title:"Retention Time",range:this.xRange},yaxis:{title:this.yAxisLabel,range:this.yRange},paper_bgcolor:(n=this.theme)==null?void 0:n.backgroundColor,plot_bgcolor:(e=this.theme)==null?void 0:e.secondaryBackgroundColor,font:{color:(r=this.theme)==null?void 0:r.textColor,family:(S=this.theme)==null?void 0:S.font},margin:{l:60,r:this.effectiveColorbarVisible?120:20,t:60,b:60}}}},watch:{renderData(){this.graph()},zoomRange(){if(this.zoomRange!==void 0)switch(this.args.title){case"Raw MS1 Heatmap":this.selectionStore.updateRawHeatmapSelection(this.zoomRange);break;case"Raw MS2 Heatmap":this.selectionStore.updateRawMS2HeatmapSelection(this.zoomRange);break;case"Deconvolved MS1 Heatmap":this.selectionStore.updateDeconvHeatmapSelection(this.zoomRange);break;case"Deconvolved MS2 Heatmap":this.selectionStore.updateDeconvMS2HeatmapSelection(this.zoomRange);break}}},mounted(){this.graph(),this.setupResizeObserver()},beforeUnmount(){this.cleanupResizeObserver()},methods:{async toggleColorbar(){this.colorbarVisible=!this.colorbarVisible,this.userOverrideColorbar=!0,await this.updatePlot()},async updatePlot(){const n=document.getElementById(this.id);if(n)try{await _l.restyle(n,{"marker.showscale":this.effectiveColorbarVisible},[0]),await _l.relayout(n,{margin:{r:this.effectiveColorbarVisible?120:20}})}catch{}},setupResizeObserver(){const n=document.getElementById(this.id);n&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver(e=>{for(const r of e){const S=r.contentRect.width;if(Math.abs(S-this.plotWidth)>10){const D=this.isNarrowPlot;this.plotWidth=S;const T=this.isNarrowPlot;D!==T&&(this.userOverrideColorbar||(T?this.colorbarVisible=!1:this.colorbarVisible=!0),this.updatePlot())}}}),this.resizeObserver.observe(n))},cleanupResizeObserver(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)},async graph(){await _l.newPlot(this.id,this.data,this.layout,this.getPlotConfig()),this.setupPlotEventHandlers()},getPlotConfig(){return{modeBarButtonsToRemove:["toImage","sendDataToCloud"],modeBarButtonsToAdd:[{title:"Download as SVG",name:"toImageSvg",icon:_l.Icons.camera,click:n=>{_l.downloadImage(n,{filename:"FLASHViewer-heatmap",height:400,width:1200,format:"svg"})}},{title:"Toggle Colorbar",name:"toggleColorbar",icon:{width:1792,height:1792,path:"M1408 768v192q0 40-28 68t-68 28H480q-40 0-68-28t-28-68V768q0-40 28-68t68-28h832q40 0 68 28t28 68zm0-384v192q0 40-28 68t-68 28H480q-40 0-68-28t-28-68V384q0-40 28-68t68-28h832q40 0 68 28t28 68zm0-384v192q0 40-28 68t-68 28H480q-40 0-68-28t-28-68V0q0-40 28-68t68-28h832q40 0 68 28t28 68z",transform:"matrix(1 0 0 -1 0 1792)"},click:()=>{this.toggleColorbar()}}]}},setupPlotEventHandlers(){const n=document.getElementById(this.id);n&&(n.on("plotly_relayout",e=>{e["xaxis.autorange"]?this.zoomRange={xRange:[-1,-1],yRange:[-1,-1]}:e["xaxis.range[0]"]!==void 0&&e["xaxis.range[1]"]!==void 0&&e["yaxis.range[0]"]!==void 0&&e["yaxis.range[1]"]!==void 0&&(this.zoomRange={xRange:[e["xaxis.range[0]"],e["xaxis.range[1]"]],yRange:[e["yaxis.range[0]"],e["yaxis.range[1]"]]})}),n.on("plotly_click",e=>{const r=this.dataForHeatmapDrawing[e.points[0].pointIndex],S=r==null?void 0:r.scan_idx,D=r==null?void 0:r.mass_idx;S!==void 0&&this.selectionStore.updateSelectedScan(S),this.args.title==="Deconvolved MS1 Heatmap"&&D!==void 0?this.selectionStore.updateSelectedMass(D):this.args.title==="Deconvolved MS2 Heatmap"&&D!==void 0&&this.selectionStore.updateSelectedMass(D)}))}}}),hs=(n,e)=>{const r=n.__vccOpts||n;for(const[S,D]of e)r[S]=D;return r},oR=["id"];function sR(n,e,r,S,D,T){return Ir(),ei("div",{id:n.id,style:{width:"100%"}},null,8,oR)}const lR=hs(aR,[["render",sR]]);class Ml{constructor(e){this.table=e}reloadData(e,r,S){return this.table.dataLoader.load(e,void 0,void 0,void 0,r,S)}langText(){return this.table.modules.localize.getText(...arguments)}langBind(){return this.table.modules.localize.bind(...arguments)}langLocale(){return this.table.modules.localize.getLocale(...arguments)}commsConnections(){return this.table.modules.comms.getConnections(...arguments)}commsSend(){return this.table.modules.comms.send(...arguments)}layoutMode(){return this.table.modules.layout.getMode()}layoutRefresh(e){return this.table.modules.layout.layout(e)}subscribe(){return this.table.eventBus.subscribe(...arguments)}unsubscribe(){return this.table.eventBus.unsubscribe(...arguments)}subscribed(e){return this.table.eventBus.subscribed(e)}subscriptionChange(){return this.table.eventBus.subscriptionChange(...arguments)}dispatch(){return this.table.eventBus.dispatch(...arguments)}chain(){return this.table.eventBus.chain(...arguments)}confirm(){return this.table.eventBus.confirm(...arguments)}dispatchExternal(){return this.table.externalEvents.dispatch(...arguments)}subscribedExternal(e){return this.table.externalEvents.subscribed(e)}subscriptionChangeExternal(){return this.table.externalEvents.subscriptionChange(...arguments)}options(e){return this.table.options[e]}setOption(e,r){return typeof r<"u"&&(this.table.options[e]=r),this.table.options[e]}deprecationCheck(e,r,S){return this.table.deprecationAdvisor.check(e,r,S)}deprecationCheckMsg(e,r){return this.table.deprecationAdvisor.checkMsg(e,r)}deprecationMsg(e){return this.table.deprecationAdvisor.msg(e)}module(e){return this.table.module(e)}}class so{static elVisible(e){return!(e.offsetWidth<=0&&e.offsetHeight<=0)}static elOffset(e){var r=e.getBoundingClientRect();return{top:r.top+window.pageYOffset-document.documentElement.clientTop,left:r.left+window.pageXOffset-document.documentElement.clientLeft}}static retrieveNestedData(e,r,S){var D=e?r.split(e):[r],T=D.length,p;for(let t=0;ti.subject===t),d>-1?r[p]=S[d].copy:(g=Object.assign(Array.isArray(t)?[]:{},t),S.unshift({subject:t,copy:g}),r[p]=this.deepClone(t,g,S)))}return r}}class H2 extends Ml{constructor(e,r,S){super(e),this.element=r,this.container=this._lookupContainer(),this.parent=S,this.reversedX=!1,this.childPopup=null,this.blurable=!1,this.blurCallback=null,this.blurEventsBound=!1,this.renderedCallback=null,this.visible=!1,this.hideable=!0,this.element.classList.add("tabulator-popup-container"),this.blurEvent=this.hide.bind(this,!1),this.escEvent=this._escapeCheck.bind(this),this.destroyBinding=this.tableDestroyed.bind(this),this.destroyed=!1}tableDestroyed(){this.destroyed=!0,this.hide(!0)}_lookupContainer(){var e=this.table.options.popupContainer;return typeof e=="string"?(e=document.querySelector(e),e||console.warn("Menu Error - no container element found matching selector:",this.table.options.popupContainer,"(defaulting to document body)")):e===!0&&(e=this.table.element),e&&!this._checkContainerIsParent(e)&&(e=!1,console.warn("Menu Error - container element does not contain this table:",this.table.options.popupContainer,"(defaulting to document body)")),e||(e=document.body),e}_checkContainerIsParent(e,r=this.table.element){return e===r?!0:r.parentNode?this._checkContainerIsParent(e,r.parentNode):!1}renderCallback(e){this.renderedCallback=e}containerEventCoords(e){var r=!(e instanceof MouseEvent),S=r?e.touches[0].pageX:e.pageX,D=r?e.touches[0].pageY:e.pageY;if(this.container!==document.body){let T=so.elOffset(this.container);S-=T.left,D-=T.top}return{x:S,y:D}}elementPositionCoords(e,r="right"){var S=so.elOffset(e),D,T,p;switch(this.container!==document.body&&(D=so.elOffset(this.container),S.left-=D.left,S.top-=D.top),r){case"right":T=S.left+e.offsetWidth,p=S.top-1;break;case"bottom":T=S.left,p=S.top+e.offsetHeight;break;case"left":T=S.left,p=S.top-1;break;case"top":T=S.left,p=S.top;break;case"center":T=S.left+e.offsetWidth/2,p=S.top+e.offsetHeight/2;break}return{x:T,y:p,offset:S}}show(e,r){var S,D,T,p,t;return this.destroyed||this.table.destroyed?this:(e instanceof HTMLElement?(T=e,t=this.elementPositionCoords(e,r),p=t.offset,S=t.x,D=t.y):typeof e=="number"?(p={top:0,left:0},S=e,D=r):(t=this.containerEventCoords(e),S=t.x,D=t.y,this.reversedX=!1),this.element.style.top=D+"px",this.element.style.left=S+"px",this.container.appendChild(this.element),typeof this.renderedCallback=="function"&&this.renderedCallback(),this._fitToScreen(S,D,T,p,r),this.visible=!0,this.subscribe("table-destroy",this.destroyBinding),this.element.addEventListener("mousedown",d=>{d.stopPropagation()}),this)}_fitToScreen(e,r,S,D,T){var p=this.container===document.body?document.documentElement.scrollTop:this.container.scrollTop;if((e+this.element.offsetWidth>=this.container.offsetWidth||this.reversedX)&&(this.element.style.left="",S?this.element.style.right=this.container.offsetWidth-D.left+"px":this.element.style.right=this.container.offsetWidth-e+"px",this.reversedX=!0),r+this.element.offsetHeight>Math.max(this.container.offsetHeight,p?this.container.scrollHeight:0))if(S)switch(T){case"bottom":this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight-S.offsetHeight-1+"px";break;default:this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight+S.offsetHeight+1+"px"}else this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight+"px"}isVisible(){return this.visible}hideOnBlur(e){return this.blurable=!0,this.visible&&(setTimeout(()=>{this.visible&&(this.table.rowManager.element.addEventListener("scroll",this.blurEvent),this.subscribe("cell-editing",this.blurEvent),document.body.addEventListener("click",this.blurEvent),document.body.addEventListener("contextmenu",this.blurEvent),document.body.addEventListener("mousedown",this.blurEvent),window.addEventListener("resize",this.blurEvent),document.body.addEventListener("keydown",this.escEvent),this.blurEventsBound=!0)},100),this.blurCallback=e),this}_escapeCheck(e){e.keyCode==27&&this.hide()}blockHide(){this.hideable=!1}restoreHide(){this.hideable=!0}hide(e=!1){return this.visible&&this.hideable&&(this.blurable&&this.blurEventsBound&&(document.body.removeEventListener("keydown",this.escEvent),document.body.removeEventListener("click",this.blurEvent),document.body.removeEventListener("contextmenu",this.blurEvent),document.body.removeEventListener("mousedown",this.blurEvent),window.removeEventListener("resize",this.blurEvent),this.table.rowManager.element.removeEventListener("scroll",this.blurEvent),this.unsubscribe("cell-editing",this.blurEvent),this.blurEventsBound=!1),this.childPopup&&this.childPopup.hide(),this.parent&&(this.parent.childPopup=null),this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.visible=!1,this.blurCallback&&!e&&this.blurCallback(),this.unsubscribe("table-destroy",this.destroyBinding)),this}child(e){return this.childPopup&&this.childPopup.hide(),this.childPopup=new H2(this.table,e,this),this.childPopup}}class qi extends Ml{constructor(e,r){super(e),this._handler=null}initialize(){}registerTableOption(e,r){this.table.optionsList.register(e,r)}registerColumnOption(e,r){this.table.columnManager.optionsList.register(e,r)}registerTableFunction(e,r){typeof this.table[e]>"u"?this.table[e]=(...S)=>(this.table.initGuard(e),r(...S)):console.warn("Unable to bind table function, name already in use",e)}registerComponentFunction(e,r,S){return this.table.componentFunctionBinder.bind(e,r,S)}registerDataHandler(e,r){this.table.rowManager.registerDataPipelineHandler(e,r),this._handler=e}registerDisplayHandler(e,r){this.table.rowManager.registerDisplayPipelineHandler(e,r),this._handler=e}displayRows(e){var r=this.table.rowManager.displayRows.length-1,S;if(this._handler&&(S=this.table.rowManager.displayPipeline.findIndex(D=>D.handler===this._handler),S>-1&&(r=S)),e&&(r=r+e),this._handler)return r>-1?this.table.rowManager.getDisplayRows(r):this.activeRows()}activeRows(){return this.table.rowManager.activeRows}refreshData(e,r){r||(r=this._handler),r&&this.table.rowManager.refreshActiveData(r,!1,e)}footerAppend(e){return this.table.footerManager.append(e)}footerPrepend(e){return this.table.footerManager.prepend(e)}footerRemove(e){return this.table.footerManager.remove(e)}popup(e,r){return new H2(this.table,e,r)}alert(e,r){return this.table.alertManager.alert(e,r)}clearAlert(){return this.table.alertManager.clear()}}var uR={};class i0 extends qi{constructor(e){super(e),this.allowedTypes=["","data","download","clipboard","print","htmlOutput"],this.registerColumnOption("accessor"),this.registerColumnOption("accessorParams"),this.registerColumnOption("accessorData"),this.registerColumnOption("accessorDataParams"),this.registerColumnOption("accessorDownload"),this.registerColumnOption("accessorDownloadParams"),this.registerColumnOption("accessorClipboard"),this.registerColumnOption("accessorClipboardParams"),this.registerColumnOption("accessorPrint"),this.registerColumnOption("accessorPrintParams"),this.registerColumnOption("accessorHtmlOutput"),this.registerColumnOption("accessorHtmlOutputParams")}initialize(){this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("row-data-retrieve",this.transformRow.bind(this))}initializeColumn(e){var r=!1,S={};this.allowedTypes.forEach(D=>{var T="accessor"+(D.charAt(0).toUpperCase()+D.slice(1)),p;e.definition[T]&&(p=this.lookupAccessor(e.definition[T]),p&&(r=!0,S[T]={accessor:p,params:e.definition[T+"Params"]||{}}))}),r&&(e.modules.accessor=S)}lookupAccessor(e){var r=!1;switch(typeof e){case"string":i0.accessors[e]?r=i0.accessors[e]:console.warn("Accessor Error - No such accessor found, ignoring: ",e);break;case"function":r=e;break}return r}transformRow(e,r){var S="accessor"+(r.charAt(0).toUpperCase()+r.slice(1)),D=e.getComponent(),T=so.deepClone(e.data||{});return this.table.columnManager.traverse(function(p){var t,d,g,i;p.modules.accessor&&(d=p.modules.accessor[S]||p.modules.accessor.accessor||!1,d&&(t=p.getFieldValue(T),t!="undefined"&&(i=p.getComponent(),g=typeof d.params=="function"?d.params(t,T,r,i,D):d.params,p.setFieldValue(T,d.accessor(t,T,r,g,i,D)))))}),T}}i0.moduleName="accessor";i0.accessors=uR;var cR={method:"GET"};function nx(n,e){var r=[];if(e=e||"",Array.isArray(n))n.forEach((D,T)=>{r=r.concat(nx(D,e?e+"["+T+"]":T))});else if(typeof n=="object")for(var S in n)r=r.concat(nx(n[S],e?e+"["+S+"]":S));else r.push({key:e,value:n});return r}function hR(n){var e=nx(n),r=[];return e.forEach(function(S){r.push(encodeURIComponent(S.key)+"="+encodeURIComponent(S.value))}),r.join("&")}function LM(n,e,r){return n&&r&&Object.keys(r).length&&(!e.method||e.method.toLowerCase()=="get")&&(e.method="get",n+=(n.includes("?")?"&":"?")+hR(r)),n}function fR(n,e,r){var S;return new Promise((D,T)=>{if(n=this.urlGenerator.call(this.table,n,e,r),e.method.toUpperCase()!="GET")if(S=typeof this.table.options.ajaxContentType=="object"?this.table.options.ajaxContentType:this.contentTypeFormatters[this.table.options.ajaxContentType],S){for(var p in S.headers)e.headers||(e.headers={}),typeof e.headers[p]>"u"&&(e.headers[p]=S.headers[p]);e.body=S.body.call(this,n,e,r)}else console.warn("Ajax Error - Invalid ajaxContentType value:",this.table.options.ajaxContentType);n?(typeof e.headers>"u"&&(e.headers={}),typeof e.headers.Accept>"u"&&(e.headers.Accept="application/json"),typeof e.headers["X-Requested-With"]>"u"&&(e.headers["X-Requested-With"]="XMLHttpRequest"),typeof e.mode>"u"&&(e.mode="cors"),e.mode=="cors"?(typeof e.headers.Origin>"u"&&(e.headers.Origin=window.location.origin),typeof e.credentials>"u"&&(e.credentials="same-origin")):typeof e.credentials>"u"&&(e.credentials="include"),fetch(n,e).then(t=>{t.ok?t.json().then(d=>{D(d)}).catch(d=>{T(d),console.warn("Ajax Load Error - Invalid JSON returned",d)}):(console.error("Ajax Load Error - Connection Error: "+t.status,t.statusText),T(t))}).catch(t=>{console.error("Ajax Load Error - Connection Error: ",t),T(t)})):(console.warn("Ajax Load Error - No URL Set"),D([]))})}function rx(n,e){var r=[];if(e=e||"",Array.isArray(n))n.forEach((D,T)=>{r=r.concat(rx(D,e?e+"["+T+"]":T))});else if(typeof n=="object")for(var S in n)r=r.concat(rx(n[S],e?e+"["+S+"]":S));else r.push({key:e,value:n});return r}var dR={json:{headers:{"Content-Type":"application/json"},body:function(n,e,r){return JSON.stringify(r)}},form:{headers:{},body:function(n,e,r){var S=rx(r),D=new FormData;return S.forEach(function(T){D.append(T.key,T.value)}),D}}};class Rc extends qi{constructor(e){super(e),this.config={},this.url="",this.urlGenerator=!1,this.params=!1,this.loaderPromise=!1,this.registerTableOption("ajaxURL",!1),this.registerTableOption("ajaxURLGenerator",!1),this.registerTableOption("ajaxParams",{}),this.registerTableOption("ajaxConfig","get"),this.registerTableOption("ajaxContentType","form"),this.registerTableOption("ajaxRequestFunc",!1),this.registerTableOption("ajaxRequesting",function(){}),this.registerTableOption("ajaxResponse",!1),this.contentTypeFormatters=Rc.contentTypeFormatters}initialize(){this.loaderPromise=this.table.options.ajaxRequestFunc||Rc.defaultLoaderPromise,this.urlGenerator=this.table.options.ajaxURLGenerator||Rc.defaultURLGenerator,this.table.options.ajaxURL&&this.setUrl(this.table.options.ajaxURL),this.setDefaultConfig(this.table.options.ajaxConfig),this.registerTableFunction("getAjaxUrl",this.getUrl.bind(this)),this.subscribe("data-loading",this.requestDataCheck.bind(this)),this.subscribe("data-params",this.requestParams.bind(this)),this.subscribe("data-load",this.requestData.bind(this))}requestParams(e,r,S,D){var T=this.table.options.ajaxParams;return T&&(typeof T=="function"&&(T=T.call(this.table)),D=Object.assign(Object.assign({},T),D)),D}requestDataCheck(e,r,S,D){return!!(!e&&this.url||typeof e=="string")}requestData(e,r,S,D,T){var p;return!T&&this.requestDataCheck(e)?(e&&this.setUrl(e),p=this.generateConfig(S),this.sendRequest(this.url,r,p)):T}setDefaultConfig(e={}){this.config=Object.assign({},Rc.defaultConfig),typeof e=="string"?this.config.method=e:Object.assign(this.config,e)}generateConfig(e={}){var r=Object.assign({},this.config);return typeof e=="string"?r.method=e:Object.assign(r,e),r}setUrl(e){this.url=e}getUrl(){return this.url}sendRequest(e,r,S){return this.table.options.ajaxRequesting.call(this.table,e,r)!==!1?this.loaderPromise(e,S,r).then(D=>(this.table.options.ajaxResponse&&(D=this.table.options.ajaxResponse.call(this.table,e,r,D)),D)):Promise.reject()}}Rc.moduleName="ajax";Rc.defaultConfig=cR;Rc.defaultURLGenerator=LM;Rc.defaultLoaderPromise=fR;Rc.contentTypeFormatters=dR;var pR={replace:function(n){return this.table.setData(n)},update:function(n){return this.table.updateOrAddData(n)},insert:function(n){return this.table.addData(n)},range:function(n){var e=[],r=this.table.modules.selectRange.activeRange,S=!1,D,T,p,t,d;return d=n.length,r&&(D=r.getBounds(),T=D.start,D.start===D.end&&(S=!0),T&&(e=this.table.rowManager.activeRows.slice(),p=e.indexOf(T.row),S?t=n.length:t=e.indexOf(D.end.row)-p+1,p>-1&&(this.table.blockRedraw(),e=e.slice(p,p+t),e.forEach((g,i)=>{g.updateData(n[i%d])}),this.table.restoreRedraw()))),e}},mR={table:function(n){var e=[],r=!0,S=this.table.columnManager.columns,D=[],T=[];return n=n.split(` `),n.forEach(function(p){e.push(p.split(" "))}),e.length&&!(e.length===1&&e[0].length<2)?(e[0].forEach(function(p){var t=S.find(function(d){return p&&d.definition.title&&p.trim()&&d.definition.title.trim()===p.trim()});t?D.push(t):r=!1}),r||(r=!0,D=[],e[0].forEach(function(p){var t=S.find(function(d){return p&&d.field&&p.trim()&&d.field.trim()===p.trim()});t?D.push(t):r=!1}),r||(D=this.table.columnManager.columnsByIndex)),r&&e.shift(),e.forEach(function(p){var t={};p.forEach(function(d,g){D[g]&&(t[D[g].field]=d)}),T.push(t)}),T):!1},range:function(n){var e=[],r=[],S=this.table.modules.selectRange.activeRange,D=!1,T,p,t,d,g;return S&&(T=S.getBounds(),p=T.start,T.start===T.end&&(D=!0),p&&(n=n.split(` `),n.forEach(function(i){e.push(i.split(" "))}),e.length&&(d=this.table.columnManager.getVisibleColumnsByIndex(),g=d.indexOf(p.column),g>-1)))?(D?t=e[0].length:t=d.indexOf(T.end.column)-g+1,d=d.slice(g,g+t),e.forEach(i=>{var M={},v=i.length;d.forEach(function(f,l){M[f.field]=i[l%v]}),r.push(M)}),r):!1}};class qd extends qi{constructor(e){super(e),this.mode=!0,this.pasteParser=function(){},this.pasteAction=function(){},this.customSelection=!1,this.rowRange=!1,this.blocked=!0,this.registerTableOption("clipboard",!1),this.registerTableOption("clipboardCopyStyled",!0),this.registerTableOption("clipboardCopyConfig",!1),this.registerTableOption("clipboardCopyFormatter",!1),this.registerTableOption("clipboardCopyRowRange","active"),this.registerTableOption("clipboardPasteParser","table"),this.registerTableOption("clipboardPasteAction","insert"),this.registerColumnOption("clipboard"),this.registerColumnOption("titleClipboard")}initialize(){this.mode=this.table.options.clipboard,this.rowRange=this.table.options.clipboardCopyRowRange,(this.mode===!0||this.mode==="copy")&&this.table.element.addEventListener("copy",e=>{var r,S,D;this.blocked||(e.preventDefault(),this.customSelection?(r=this.customSelection,this.table.options.clipboardCopyFormatter&&(r=this.table.options.clipboardCopyFormatter("plain",r))):(D=this.table.modules.export.generateExportList(this.table.options.clipboardCopyConfig,this.table.options.clipboardCopyStyled,this.rowRange,"clipboard"),S=this.table.modules.export.generateHTMLTable(D),r=S?this.generatePlainContent(D):"",this.table.options.clipboardCopyFormatter&&(r=this.table.options.clipboardCopyFormatter("plain",r),S=this.table.options.clipboardCopyFormatter("html",S))),window.clipboardData&&window.clipboardData.setData?window.clipboardData.setData("Text",r):e.clipboardData&&e.clipboardData.setData?(e.clipboardData.setData("text/plain",r),S&&e.clipboardData.setData("text/html",S)):e.originalEvent&&e.originalEvent.clipboardData.setData&&(e.originalEvent.clipboardData.setData("text/plain",r),S&&e.originalEvent.clipboardData.setData("text/html",S)),this.dispatchExternal("clipboardCopied",r,S),this.reset())}),(this.mode===!0||this.mode==="paste")&&this.table.element.addEventListener("paste",e=>{this.paste(e)}),this.setPasteParser(this.table.options.clipboardPasteParser),this.setPasteAction(this.table.options.clipboardPasteAction),this.registerTableFunction("copyToClipboard",this.copy.bind(this))}reset(){this.blocked=!0,this.customSelection=!1}generatePlainContent(e){var r=[];return e.forEach(S=>{var D=[];S.columns.forEach(T=>{var p="";if(T)if(S.type==="group"&&(T.value=T.component.getKey()),T.value===null)p="";else switch(typeof T.value){case"object":p=JSON.stringify(T.value);break;case"undefined":p="";break;default:p=T.value}D.push(p)}),r.push(D.join(" "))}),r.join(` `)}copy(e,r){var S,D;this.blocked=!1,this.customSelection=!1,(this.mode===!0||this.mode==="copy")&&(this.rowRange=e||this.table.options.clipboardCopyRowRange,typeof window.getSelection<"u"&&typeof document.createRange<"u"?(e=document.createRange(),e.selectNodeContents(this.table.element),S=window.getSelection(),S.toString()&&r&&(this.customSelection=S.toString()),S.removeAllRanges(),S.addRange(e)):typeof document.selection<"u"&&typeof document.body.createTextRange<"u"&&(D=document.body.createTextRange(),D.moveToElementText(this.table.element),D.select()),document.execCommand("copy"),S&&S.removeAllRanges())}setPasteAction(e){switch(typeof e){case"string":this.pasteAction=qd.pasteActions[e],this.pasteAction||console.warn("Clipboard Error - No such paste action found:",e);break;case"function":this.pasteAction=e;break}}setPasteParser(e){switch(typeof e){case"string":this.pasteParser=qd.pasteParsers[e],this.pasteParser||console.warn("Clipboard Error - No such paste parser found:",e);break;case"function":this.pasteParser=e;break}}paste(e){var r,S,D;this.checkPasteOrigin(e)&&(r=this.getPasteData(e),S=this.pasteParser.call(this,r),S?(e.preventDefault(),this.table.modExists("mutator")&&(S=this.mutateData(S)),D=this.pasteAction.call(this,S),this.dispatchExternal("clipboardPasted",r,S,D)):this.dispatchExternal("clipboardPasteError",r))}mutateData(e){var r=[];return Array.isArray(e)?e.forEach(S=>{r.push(this.table.modules.mutator.transformRow(S,"clipboard"))}):r=e,r}checkPasteOrigin(e){var r=!0,S=this.confirm("clipboard-paste",[e]);return(S||!["DIV","SPAN"].includes(e.target.tagName))&&(r=!1),r}getPasteData(e){var r;return window.clipboardData&&window.clipboardData.getData?r=window.clipboardData.getData("Text"):e.clipboardData&&e.clipboardData.getData?r=e.clipboardData.getData("text/plain"):e.originalEvent&&e.originalEvent.clipboardData.getData&&(r=e.originalEvent.clipboardData.getData("text/plain")),r}}qd.moduleName="clipboard";qd.pasteActions=pR;qd.pasteParsers=mR;class gR{constructor(e){return this._row=e,new Proxy(this,{get:function(r,S,D){return typeof r[S]<"u"?r[S]:r._row.table.componentFunctionBinder.handle("row",r._row,S)}})}getData(e){return this._row.getData(e)}getElement(){return this._row.getElement()}getTable(){return this._row.table}getCells(){var e=[];return this._row.getCells().forEach(function(r){e.push(r.getComponent())}),e}getCell(e){var r=this._row.getCell(e);return r?r.getComponent():!1}_getSelf(){return this._row}}class IM{constructor(e){return this._cell=e,new Proxy(this,{get:function(r,S,D){return typeof r[S]<"u"?r[S]:r._cell.table.componentFunctionBinder.handle("cell",r._cell,S)}})}getValue(){return this._cell.getValue()}getOldValue(){return this._cell.getOldValue()}getInitialValue(){return this._cell.initialValue}getElement(){return this._cell.getElement()}getRow(){return this._cell.row.getComponent()}getData(e){return this._cell.row.getData(e)}getType(){return"cell"}getField(){return this._cell.column.getField()}getColumn(){return this._cell.column.getComponent()}setValue(e,r){typeof r>"u"&&(r=!0),this._cell.setValue(e,r)}restoreOldValue(){this._cell.setValueActual(this._cell.getOldValue())}restoreInitialValue(){this._cell.setValueActual(this._cell.initialValue)}checkHeight(){this._cell.checkHeight()}getTable(){return this._cell.table}_getSelf(){return this._cell}}class eg extends Ml{constructor(e,r){super(e.table),this.table=e.table,this.column=e,this.row=r,this.element=null,this.value=null,this.initialValue,this.oldValue=null,this.modules={},this.height=null,this.width=null,this.minWidth=null,this.component=null,this.loaded=!1,this.build()}build(){this.generateElement(),this.setWidth(),this._configureCell(),this.setValueActual(this.column.getFieldValue(this.row.data)),this.initialValue=this.value}generateElement(){this.element=document.createElement("div"),this.element.className="tabulator-cell",this.element.setAttribute("role","gridcell")}_configureCell(){var e=this.element,r=this.column.getField(),S={top:"flex-start",bottom:"flex-end",middle:"center"},D={left:"flex-start",right:"flex-end",center:"center"};if(e.style.textAlign=this.column.hozAlign,this.column.vertAlign&&(e.style.display="inline-flex",e.style.alignItems=S[this.column.vertAlign]||"",this.column.hozAlign&&(e.style.justifyContent=D[this.column.hozAlign]||"")),r&&e.setAttribute("tabulator-field",r),this.column.definition.cssClass){var T=this.column.definition.cssClass.split(" ");T.forEach(p=>{e.classList.add(p)})}this.dispatch("cell-init",this),this.column.visible||this.hide()}_generateContents(){var e;switch(e=this.chain("cell-format",this,null,()=>this.element.innerHTML=this.value),typeof e){case"object":if(e instanceof Node){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.element.appendChild(e)}else this.element.innerHTML="",e!=null&&console.warn("Format Error - Formatter has returned a type of object, the only valid formatter object return is an instance of Node, the formatter returned:",e);break;case"undefined":this.element.innerHTML="";break;default:this.element.innerHTML=e}}cellRendered(){this.dispatch("cell-rendered",this)}getElement(e){return this.loaded||(this.loaded=!0,e||this.layoutElement()),this.element}getValue(){return this.value}getOldValue(){return this.oldValue}setValue(e,r,S){var D=this.setValueProcessData(e,r,S);D&&(this.dispatch("cell-value-updated",this),this.cellRendered(),this.column.definition.cellEdited&&this.column.definition.cellEdited.call(this.table,this.getComponent()),this.dispatchExternal("cellEdited",this.getComponent()),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.table.rowManager.getData()))}setValueProcessData(e,r,S){var D=!1;return(this.value!==e||S)&&(D=!0,r&&(e=this.chain("cell-value-changing",[this,e],null,e))),this.setValueActual(e),D&&this.dispatch("cell-value-changed",this),D}setValueActual(e){this.oldValue=this.value,this.value=e,this.dispatch("cell-value-save-before",this),this.column.setFieldValue(this.row.data,e),this.dispatch("cell-value-save-after",this),this.loaded&&this.layoutElement()}layoutElement(){this._generateContents(),this.dispatch("cell-layout",this)}setWidth(){this.width=this.column.width,this.element.style.width=this.column.widthStyled}clearWidth(){this.width="",this.element.style.width=""}getWidth(){return this.width||this.element.offsetWidth}setMinWidth(){this.minWidth=this.column.minWidth,this.element.style.minWidth=this.column.minWidthStyled}setMaxWidth(){this.maxWidth=this.column.maxWidth,this.element.style.maxWidth=this.column.maxWidthStyled}checkHeight(){this.row.reinitializeHeight()}clearHeight(){this.element.style.height="",this.height=null,this.dispatch("cell-height",this,"")}setHeight(){this.height=this.row.height,this.element.style.height=this.row.heightStyled,this.dispatch("cell-height",this,this.row.heightStyled)}getHeight(){return this.height||this.element.offsetHeight}show(){this.element.style.display=this.column.vertAlign?"inline-flex":""}hide(){this.element.style.display="none"}delete(){this.dispatch("cell-delete",this),!this.table.rowManager.redrawBlock&&this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.element=!1,this.column.deleteCell(this),this.row.deleteCell(this),this.calcs={}}getIndex(){return this.row.getCellIndex(this)}getComponent(){return this.component||(this.component=new IM(this)),this.component}}class RM{constructor(e){return this._column=e,this.type="ColumnComponent",new Proxy(this,{get:function(r,S,D){return typeof r[S]<"u"?r[S]:r._column.table.componentFunctionBinder.handle("column",r._column,S)}})}getElement(){return this._column.getElement()}getDefinition(){return this._column.getDefinition()}getField(){return this._column.getField()}getTitleDownload(){return this._column.getTitleDownload()}getCells(){var e=[];return this._column.cells.forEach(function(r){e.push(r.getComponent())}),e}isVisible(){return this._column.visible}show(){this._column.isGroup?this._column.columns.forEach(function(e){e.show()}):this._column.show()}hide(){this._column.isGroup?this._column.columns.forEach(function(e){e.hide()}):this._column.hide()}toggle(){this._column.visible?this.hide():this.show()}delete(){return this._column.delete()}getSubColumns(){var e=[];return this._column.columns.length&&this._column.columns.forEach(function(r){e.push(r.getComponent())}),e}getParentColumn(){return this._column.parent instanceof vh?this._column.parent.getComponent():!1}_getSelf(){return this._column}scrollTo(e,r){return this._column.table.columnManager.scrollToColumn(this._column,e,r)}getTable(){return this._column.table}move(e,r){var S=this._column.table.columnManager.findColumn(e);S?this._column.table.columnManager.moveColumn(this._column,S,r):console.warn("Move Error - No matching column found:",S)}getNextColumn(){var e=this._column.nextColumn();return e?e.getComponent():!1}getPrevColumn(){var e=this._column.prevColumn();return e?e.getComponent():!1}updateDefinition(e){return this._column.updateDefinition(e)}getWidth(){return this._column.getWidth()}setWidth(e){var r;return e===!0?r=this._column.reinitializeWidth(!0):r=this._column.setWidth(e),this._column.table.columnManager.rerenderColumns(!0),r}}var PM={title:void 0,field:void 0,columns:void 0,visible:void 0,hozAlign:void 0,vertAlign:void 0,width:void 0,minWidth:40,maxWidth:void 0,maxInitialWidth:void 0,cssClass:void 0,variableHeight:void 0,headerVertical:void 0,headerHozAlign:void 0,headerWordWrap:!1,editableTitle:void 0};class vh extends Ml{constructor(e,r){super(r.table),this.definition=e,this.parent=r,this.type="column",this.columns=[],this.cells=[],this.element=this.createElement(),this.contentElement=!1,this.titleHolderElement=!1,this.titleElement=!1,this.groupElement=this.createGroupElement(),this.isGroup=!1,this.hozAlign="",this.vertAlign="",this.field="",this.fieldStructure="",this.getFieldValue="",this.setFieldValue="",this.titleDownload=null,this.titleFormatterRendered=!1,this.mapDefinitions(),this.setField(this.definition.field),this.modules={},this.width=null,this.widthStyled="",this.maxWidth=null,this.maxWidthStyled="",this.maxInitialWidth=null,this.minWidth=null,this.minWidthStyled="",this.widthFixed=!1,this.visible=!0,this.component=null,this.definition.columns?(this.isGroup=!0,this.definition.columns.forEach((S,D)=>{var T=new vh(S,this);this.attachColumn(T)}),this.checkColumnVisibility()):r.registerColumnField(this),this._initialize()}createElement(){var e=document.createElement("div");switch(e.classList.add("tabulator-col"),e.setAttribute("role","columnheader"),e.setAttribute("aria-sort","none"),this.table.options.columnHeaderVertAlign){case"middle":e.style.justifyContent="center";break;case"bottom":e.style.justifyContent="flex-end";break}return e}createGroupElement(){var e=document.createElement("div");return e.classList.add("tabulator-col-group-cols"),e}mapDefinitions(){var e=this.table.options.columnDefaults;if(e)for(let r in e)typeof this.definition[r]>"u"&&(this.definition[r]=e[r]);this.definition=this.table.columnManager.optionsList.generate(vh.defaultOptionList,this.definition)}checkDefinition(){Object.keys(this.definition).forEach(e=>{vh.defaultOptionList.indexOf(e)===-1&&console.warn("Invalid column definition option in '"+(this.field||this.definition.title)+"' column:",e)})}setField(e){this.field=e,this.fieldStructure=e?this.table.options.nestedFieldSeparator?e.split(this.table.options.nestedFieldSeparator):[e]:[],this.getFieldValue=this.fieldStructure.length>1?this._getNestedData:this._getFlatData,this.setFieldValue=this.fieldStructure.length>1?this._setNestedData:this._setFlatData}registerColumnPosition(e){this.parent.registerColumnPosition(e)}registerColumnField(e){this.parent.registerColumnField(e)}reRegisterPosition(){this.isGroup?this.columns.forEach(function(e){e.reRegisterPosition()}):this.registerColumnPosition(this)}_initialize(){for(var e=this.definition;this.element.firstChild;)this.element.removeChild(this.element.firstChild);e.headerVertical&&(this.element.classList.add("tabulator-col-vertical"),e.headerVertical==="flip"&&this.element.classList.add("tabulator-col-vertical-flip")),this.contentElement=this._buildColumnHeaderContent(),this.element.appendChild(this.contentElement),this.isGroup?this._buildGroupHeader():this._buildColumnHeader(),this.dispatch("column-init",this)}_buildColumnHeader(){var e=this.definition;if(this.dispatch("column-layout",this),typeof e.visible<"u"&&(e.visible?this.show(!0):this.hide(!0)),e.cssClass){var r=e.cssClass.split(" ");r.forEach(S=>{this.element.classList.add(S)})}e.field&&this.element.setAttribute("tabulator-field",e.field),this.setMinWidth(parseInt(e.minWidth)),e.maxInitialWidth&&(this.maxInitialWidth=parseInt(e.maxInitialWidth)),e.maxWidth&&this.setMaxWidth(parseInt(e.maxWidth)),this.reinitializeWidth(),this.hozAlign=this.definition.hozAlign,this.vertAlign=this.definition.vertAlign,this.titleElement.style.textAlign=this.definition.headerHozAlign}_buildColumnHeaderContent(){var e=document.createElement("div");return e.classList.add("tabulator-col-content"),this.titleHolderElement=document.createElement("div"),this.titleHolderElement.classList.add("tabulator-col-title-holder"),e.appendChild(this.titleHolderElement),this.titleElement=this._buildColumnHeaderTitle(),this.titleHolderElement.appendChild(this.titleElement),e}_buildColumnHeaderTitle(){var e=this.definition,r=document.createElement("div");if(r.classList.add("tabulator-col-title"),e.headerWordWrap&&r.classList.add("tabulator-col-title-wrap"),e.editableTitle){var S=document.createElement("input");S.classList.add("tabulator-title-editor"),S.addEventListener("click",D=>{D.stopPropagation(),S.focus()}),S.addEventListener("mousedown",D=>{D.stopPropagation()}),S.addEventListener("change",()=>{e.title=S.value,this.dispatchExternal("columnTitleChanged",this.getComponent())}),r.appendChild(S),e.field?this.langBind("columns|"+e.field,D=>{S.value=D||e.title||" "}):S.value=e.title||" "}else e.field?this.langBind("columns|"+e.field,D=>{this._formatColumnHeaderTitle(r,D||e.title||" ")}):this._formatColumnHeaderTitle(r,e.title||" ");return r}_formatColumnHeaderTitle(e,r){var S=this.chain("column-format",[this,r,e],null,()=>r);switch(typeof S){case"object":S instanceof Node?e.appendChild(S):(e.innerHTML="",console.warn("Format Error - Title formatter has returned a type of object, the only valid formatter object return is an instance of Node, the formatter returned:",S));break;case"undefined":e.innerHTML="";break;default:e.innerHTML=S}}_buildGroupHeader(){if(this.element.classList.add("tabulator-col-group"),this.element.setAttribute("role","columngroup"),this.element.setAttribute("aria-title",this.definition.title),this.definition.cssClass){var e=this.definition.cssClass.split(" ");e.forEach(r=>{this.element.classList.add(r)})}this.titleElement.style.textAlign=this.definition.headerHozAlign,this.element.appendChild(this.groupElement)}_getFlatData(e){return e[this.field]}_getNestedData(e){var r=e,S=this.fieldStructure,D=S.length,T;for(let p=0;p{r.push(S),r=r.concat(S.getColumns(!0))}):r=this.columns,r}getCells(){return this.cells}getTopColumn(){return this.parent.isGroup?this.parent.getTopColumn():this}getDefinition(e){var r=[];return this.isGroup&&e&&(this.columns.forEach(function(S){r.push(S.getDefinition(!0))}),this.definition.columns=r),this.definition}checkColumnVisibility(){var e=!1;this.columns.forEach(function(r){r.visible&&(e=!0)}),e?(this.show(),this.dispatchExternal("columnVisibilityChanged",this.getComponent(),!1)):this.hide()}show(e,r){this.visible||(this.visible=!0,this.element.style.display="",this.parent.isGroup&&this.parent.checkColumnVisibility(),this.cells.forEach(function(S){S.show()}),!this.isGroup&&this.width===null&&this.reinitializeWidth(),this.table.columnManager.verticalAlignHeaders(),this.dispatch("column-show",this,r),e||this.dispatchExternal("columnVisibilityChanged",this.getComponent(),!0),this.parent.isGroup&&this.parent.matchChildWidths(),this.silent||this.table.columnManager.rerenderColumns())}hide(e,r){this.visible&&(this.visible=!1,this.element.style.display="none",this.table.columnManager.verticalAlignHeaders(),this.parent.isGroup&&this.parent.checkColumnVisibility(),this.cells.forEach(function(S){S.hide()}),this.dispatch("column-hide",this,r),e||this.dispatchExternal("columnVisibilityChanged",this.getComponent(),!1),this.parent.isGroup&&this.parent.matchChildWidths(),this.silent||this.table.columnManager.rerenderColumns())}matchChildWidths(){var e=0;this.contentElement&&this.columns.length&&(this.columns.forEach(function(r){r.visible&&(e+=r.getWidth())}),this.contentElement.style.maxWidth=e-1+"px",this.parent.isGroup&&this.parent.matchChildWidths())}removeChild(e){var r=this.columns.indexOf(e);r>-1&&this.columns.splice(r,1),this.columns.length||this.delete()}setWidth(e){this.widthFixed=!0,this.setWidthActual(e)}setWidthActual(e){isNaN(e)&&(e=Math.floor(this.table.element.clientWidth/100*parseInt(e))),e=Math.max(this.minWidth,e),this.maxWidth&&(e=Math.min(this.maxWidth,e)),this.width=e,this.widthStyled=e?e+"px":"",this.element.style.width=this.widthStyled,this.isGroup||this.cells.forEach(function(r){r.setWidth()}),this.parent.isGroup&&this.parent.matchChildWidths(),this.dispatch("column-width",this)}checkCellHeights(){var e=[];this.cells.forEach(function(r){r.row.heightInitialized&&(r.row.getElement().offsetParent!==null?(e.push(r.row),r.row.clearCellHeight()):r.row.heightInitialized=!1)}),e.forEach(function(r){r.calcHeight()}),e.forEach(function(r){r.setCellHeight()})}getWidth(){var e=0;return this.isGroup?this.columns.forEach(function(r){r.visible&&(e+=r.getWidth())}):e=this.width,e}getLeftOffset(){var e=this.element.offsetLeft;return this.parent.isGroup&&(e+=this.parent.getLeftOffset()),e}getHeight(){return Math.ceil(this.element.getBoundingClientRect().height)}setMinWidth(e){this.maxWidth&&e>this.maxWidth&&(e=this.maxWidth,console.warn("the minWidth ("+e+"px) for column '"+this.field+"' cannot be bigger that its maxWidth ("+this.maxWidthStyled+")")),this.minWidth=e,this.minWidthStyled=e?e+"px":"",this.element.style.minWidth=this.minWidthStyled,this.cells.forEach(function(r){r.setMinWidth()})}setMaxWidth(e){this.minWidth&&e{this.isGroup&&this.columns.forEach(function(D){D.delete()}),this.dispatch("column-delete",this);var S=this.cells.length;for(let D=0;D-1?this._nextVisibleColumn(e+1):!1}_nextVisibleColumn(e){var r=this.table.columnManager.getColumnByIndex(e);return!r||r.visible?r:this._nextVisibleColumn(e+1)}prevColumn(){var e=this.table.columnManager.findColumnIndex(this);return e>-1?this._prevVisibleColumn(e-1):!1}_prevVisibleColumn(e){var r=this.table.columnManager.getColumnByIndex(e);return!r||r.visible?r:this._prevVisibleColumn(e-1)}reinitializeWidth(e){this.widthFixed=!1,typeof this.definition.width<"u"&&!e&&this.setWidth(this.definition.width),this.dispatch("column-width-fit-before",this),this.fitToData(e),this.dispatch("column-width-fit-after",this)}fitToData(e){if(!this.isGroup){this.widthFixed||(this.element.style.width="",this.cells.forEach(D=>{D.clearWidth()}));var r=this.element.offsetWidth;if((!this.width||!this.widthFixed)&&(this.cells.forEach(D=>{var T=D.getWidth();T>r&&(r=T)}),r)){var S=r+1;this.maxInitialWidth&&!e&&(S=Math.min(S,this.maxInitialWidth)),this.setWidthActual(S)}}}updateDefinition(e){var r;return this.isGroup||this.parent.isGroup?(console.error("Column Update Error - The updateDefinition function is only available on ungrouped columns"),Promise.reject("Column Update Error - The updateDefinition function is only available on columns, not column groups")):(r=Object.assign({},this.getDefinition()),r=Object.assign(r,e),this.table.columnManager.addColumn(r,!1,this).then(S=>(r.field==this.field&&(this.field=!1),this.delete().then(()=>S.getComponent()))))}deleteCell(e){var r=this.cells.indexOf(e);r>-1&&this.cells.splice(r,1)}getComponent(){return this.component||(this.component=new RM(this)),this.component}getPosition(){return this.table.columnManager.getVisibleColumnsByIndex().indexOf(this)+1}}vh.defaultOptionList=PM;class Wy{constructor(e){return this._row=e,new Proxy(this,{get:function(r,S,D){return typeof r[S]<"u"?r[S]:r._row.table.componentFunctionBinder.handle("row",r._row,S)}})}getData(e){return this._row.getData(e)}getElement(){return this._row.getElement()}getCells(){var e=[];return this._row.getCells().forEach(function(r){e.push(r.getComponent())}),e}getCell(e){var r=this._row.getCell(e);return r?r.getComponent():!1}getIndex(){return this._row.getData("data")[this._row.table.options.index]}getPosition(){return this._row.getPosition()}watchPosition(e){return this._row.watchPosition(e)}delete(){return this._row.delete()}scrollTo(e,r){return this._row.table.rowManager.scrollToRow(this._row,e,r)}move(e,r){this._row.moveToRow(e,r)}update(e){return this._row.updateData(e)}normalizeHeight(){this._row.normalizeHeight(!0)}_getSelf(){return this._row}reformat(){return this._row.reinitialize()}getTable(){return this._row.table}getNextRow(){var e=this._row.nextRow();return e&&e.getComponent()}getPrevRow(){var e=this._row.prevRow();return e&&e.getComponent()}}class vl extends Ml{constructor(e,r,S="row"){super(r.table),this.parent=r,this.data={},this.type=S,this.element=!1,this.modules={},this.cells=[],this.height=0,this.heightStyled="",this.manualHeight=!1,this.outerHeight=0,this.initialized=!1,this.heightInitialized=!1,this.position=0,this.positionWatchers=[],this.component=null,this.created=!1,this.setData(e)}create(){this.created||(this.created=!0,this.generateElement())}createElement(){var e=document.createElement("div");e.classList.add("tabulator-row"),e.setAttribute("role","row"),this.element=e}getElement(){return this.create(),this.element}detachElement(){this.element&&this.element.parentNode&&this.element.parentNode.removeChild(this.element)}generateElement(){this.createElement(),this.dispatch("row-init",this)}generateCells(){this.cells=this.table.columnManager.generateCells(this)}initialize(e,r){if(this.create(),!this.initialized||e){for(this.deleteCells();this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.dispatch("row-layout-before",this),this.generateCells(),this.initialized=!0,this.table.columnManager.renderer.renderRowCells(this,r),e&&this.normalizeHeight(),this.dispatch("row-layout",this),this.table.options.rowFormatter&&this.table.options.rowFormatter(this.getComponent()),this.dispatch("row-layout-after",this)}else this.table.columnManager.renderer.rerenderRowCells(this,r)}rendered(){this.cells.forEach(e=>{e.cellRendered()})}reinitializeHeight(){this.heightInitialized=!1,this.element&&this.element.offsetParent!==null&&this.normalizeHeight(!0)}deinitialize(){this.initialized=!1}deinitializeHeight(){this.heightInitialized=!1}reinitialize(e){this.initialized=!1,this.heightInitialized=!1,this.manualHeight||(this.height=0,this.heightStyled=""),this.element&&this.element.offsetParent!==null&&this.initialize(!0),this.dispatch("row-relayout",this)}calcHeight(e){var r=0,S;this.table.options.rowHeight?this.height=this.table.options.rowHeight:(S=this.table.options.resizableRows?this.element.clientHeight:0,this.cells.forEach(function(D){var T=D.getHeight();T>r&&(r=T)}),e?this.height=Math.max(r,S):this.height=this.manualHeight?this.height:Math.max(r,S)),this.heightStyled=this.height?this.height+"px":"",this.outerHeight=this.element.offsetHeight}setCellHeight(){this.cells.forEach(function(e){e.setHeight()}),this.heightInitialized=!0}clearCellHeight(){this.cells.forEach(function(e){e.clearHeight()})}normalizeHeight(e){e&&!this.table.options.rowHeight&&this.clearCellHeight(),this.calcHeight(e),this.setCellHeight()}setHeight(e,r){(this.height!=e||r)&&(this.manualHeight=!0,this.height=e,this.heightStyled=e?e+"px":"",this.setCellHeight(),this.outerHeight=this.element.offsetHeight)}getHeight(){return this.outerHeight}getWidth(){return this.element.offsetWidth}deleteCell(e){var r=this.cells.indexOf(e);r>-1&&this.cells.splice(r,1)}setData(e){this.data=this.chain("row-data-init-before",[this,e],void 0,e),this.dispatch("row-data-init-after",this)}updateData(e){var r=this.element&&so.elVisible(this.element),S={},D;return new Promise((T,p)=>{typeof e=="string"&&(e=JSON.parse(e)),this.dispatch("row-data-save-before",this),this.subscribed("row-data-changing")&&(S=Object.assign(S,this.data),S=Object.assign(S,e)),D=this.chain("row-data-changing",[this,S,e],null,e);for(let t in D)this.data[t]=D[t];this.dispatch("row-data-save-after",this);for(let t in e)this.table.columnManager.getColumnsByFieldRoot(t).forEach(g=>{let i=this.getCell(g.getField());if(i){let M=g.getFieldValue(D);i.getValue()!==M&&(i.setValueProcessData(M),r&&i.cellRendered())}});r?(this.normalizeHeight(!0),this.table.options.rowFormatter&&this.table.options.rowFormatter(this.getComponent())):(this.initialized=!1,this.height=0,this.heightStyled=""),this.dispatch("row-data-changed",this,r,e),this.dispatchExternal("rowUpdated",this.getComponent()),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.table.rowManager.getData()),T()})}getData(e){return e?this.chain("row-data-retrieve",[this,e],null,this.data):this.data}getCell(e){var r=!1;return e=this.table.columnManager.findColumn(e),!this.initialized&&this.cells.length===0&&this.generateCells(),r=this.cells.find(function(S){return S.column===e}),r}getCellIndex(e){return this.cells.findIndex(function(r){return r===e})}findCell(e){return this.cells.find(r=>r.element===e)}getCells(){return!this.initialized&&this.cells.length===0&&this.generateCells(),this.cells}nextRow(){var e=this.table.rowManager.nextDisplayRow(this,!0);return e||!1}prevRow(){var e=this.table.rowManager.prevDisplayRow(this,!0);return e||!1}moveToRow(e,r){var S=this.table.rowManager.findRow(e);S?(this.table.rowManager.moveRowActual(this,S,!r),this.table.rowManager.refreshActiveData("display",!1,!0)):console.warn("Move Error - No matching row found:",e)}delete(){return this.dispatch("row-delete",this),this.deleteActual(),Promise.resolve()}deleteActual(e){this.detachModules(),this.table.rowManager.deleteRow(this,e),this.deleteCells(),this.initialized=!1,this.heightInitialized=!1,this.element=!1,this.dispatch("row-deleted",this)}detachModules(){this.dispatch("row-deleting",this)}deleteCells(){var e=this.cells.length;for(let r=0;r{r(this.position)}))}watchPosition(e){this.positionWatchers.push(e),e(this.position)}getGroup(){return this.modules.group||!1}getComponent(){return this.component||(this.component=new Wy(this)),this.component}}var vR={avg:function(n,e,r){var S=0,D=typeof r.precision<"u"?r.precision:2;return n.length&&(S=n.reduce(function(T,p){return Number(T)+Number(p)}),S=S/n.length,S=D!==!1?S.toFixed(D):S),parseFloat(S).toString()},max:function(n,e,r){var S=null,D=typeof r.precision<"u"?r.precision:!1;return n.forEach(function(T){T=Number(T),(T>S||S===null)&&(S=T)}),S!==null?D!==!1?S.toFixed(D):S:""},min:function(n,e,r){var S=null,D=typeof r.precision<"u"?r.precision:!1;return n.forEach(function(T){T=Number(T),(T(n||D===0)&&n.indexOf(D)===T);return S.length}};class zf extends qi{constructor(e){super(e),this.topCalcs=[],this.botCalcs=[],this.genColumn=!1,this.topElement=this.createElement(),this.botElement=this.createElement(),this.topRow=!1,this.botRow=!1,this.topInitialized=!1,this.botInitialized=!1,this.blocked=!1,this.recalcAfterBlock=!1,this.registerTableOption("columnCalcs",!0),this.registerColumnOption("topCalc"),this.registerColumnOption("topCalcParams"),this.registerColumnOption("topCalcFormatter"),this.registerColumnOption("topCalcFormatterParams"),this.registerColumnOption("bottomCalc"),this.registerColumnOption("bottomCalcParams"),this.registerColumnOption("bottomCalcFormatter"),this.registerColumnOption("bottomCalcFormatterParams")}createElement(){var e=document.createElement("div");return e.classList.add("tabulator-calcs-holder"),e}initialize(){this.genColumn=new vh({field:"value"},this),this.subscribe("cell-value-changed",this.cellValueChanged.bind(this)),this.subscribe("column-init",this.initializeColumnCheck.bind(this)),this.subscribe("row-deleted",this.rowsUpdated.bind(this)),this.subscribe("scroll-horizontal",this.scrollHorizontal.bind(this)),this.subscribe("row-added",this.rowsUpdated.bind(this)),this.subscribe("column-moved",this.recalcActiveRows.bind(this)),this.subscribe("column-add",this.recalcActiveRows.bind(this)),this.subscribe("data-refreshed",this.recalcActiveRowsRefresh.bind(this)),this.subscribe("table-redraw",this.tableRedraw.bind(this)),this.subscribe("rows-visible",this.visibleRows.bind(this)),this.subscribe("scrollbar-vertical",this.adjustForScrollbar.bind(this)),this.subscribe("redraw-blocked",this.blockRedraw.bind(this)),this.subscribe("redraw-restored",this.restoreRedraw.bind(this)),this.subscribe("table-redrawing",this.resizeHolderWidth.bind(this)),this.subscribe("column-resized",this.resizeHolderWidth.bind(this)),this.subscribe("column-show",this.resizeHolderWidth.bind(this)),this.subscribe("column-hide",this.resizeHolderWidth.bind(this)),this.registerTableFunction("getCalcResults",this.getResults.bind(this)),this.registerTableFunction("recalc",this.userRecalc.bind(this)),this.resizeHolderWidth()}resizeHolderWidth(){this.topElement.style.minWidth=this.table.columnManager.headersElement.offsetWidth+"px"}tableRedraw(e){this.recalc(this.table.rowManager.activeRows),e&&this.redraw()}blockRedraw(){this.blocked=!0,this.recalcAfterBlock=!1}restoreRedraw(){this.blocked=!1,this.recalcAfterBlock&&(this.recalcAfterBlock=!1,this.recalcActiveRowsRefresh())}userRecalc(){this.recalc(this.table.rowManager.activeRows)}blockCheck(){return this.blocked&&(this.recalcAfterBlock=!0),this.blocked}visibleRows(e,r){return this.topRow&&r.unshift(this.topRow),this.botRow&&r.push(this.botRow),r}rowsUpdated(e){this.table.options.groupBy?this.recalcRowGroup(e):this.recalcActiveRows()}recalcActiveRowsRefresh(){this.table.options.groupBy&&this.table.options.dataTreeStartExpanded&&this.table.options.dataTree?this.recalcAll():this.recalcActiveRows()}recalcActiveRows(){this.recalc(this.table.rowManager.activeRows)}cellValueChanged(e){(e.column.definition.topCalc||e.column.definition.bottomCalc)&&(this.table.options.groupBy?((this.table.options.columnCalcs=="table"||this.table.options.columnCalcs=="both")&&this.recalcActiveRows(),this.table.options.columnCalcs!="table"&&this.recalcRowGroup(e.row)):this.recalcActiveRows())}initializeColumnCheck(e){(e.definition.topCalc||e.definition.bottomCalc)&&this.initializeColumn(e)}initializeColumn(e){var r=e.definition,S={topCalcParams:r.topCalcParams||{},botCalcParams:r.bottomCalcParams||{}};if(r.topCalc){switch(typeof r.topCalc){case"string":zf.calculations[r.topCalc]?S.topCalc=zf.calculations[r.topCalc]:console.warn("Column Calc Error - No such calculation found, ignoring: ",r.topCalc);break;case"function":S.topCalc=r.topCalc;break}S.topCalc&&(e.modules.columnCalcs=S,this.topCalcs.push(e),this.table.options.columnCalcs!="group"&&this.initializeTopRow())}if(r.bottomCalc){switch(typeof r.bottomCalc){case"string":zf.calculations[r.bottomCalc]?S.botCalc=zf.calculations[r.bottomCalc]:console.warn("Column Calc Error - No such calculation found, ignoring: ",r.bottomCalc);break;case"function":S.botCalc=r.bottomCalc;break}S.botCalc&&(e.modules.columnCalcs=S,this.botCalcs.push(e),this.table.options.columnCalcs!="group"&&this.initializeBottomRow())}}registerColumnField(){}removeCalcs(){var e=!1;this.topInitialized&&(this.topInitialized=!1,this.topElement.parentNode.removeChild(this.topElement),e=!0),this.botInitialized&&(this.botInitialized=!1,this.footerRemove(this.botElement),e=!0),e&&this.table.rowManager.adjustTableSize()}reinitializeCalcs(){this.topCalcs.length&&this.initializeTopRow(),this.botCalcs.length&&this.initializeBottomRow()}initializeTopRow(){var e=document.createDocumentFragment();this.topInitialized||(e.appendChild(document.createElement("br")),e.appendChild(this.topElement),this.table.columnManager.getContentsElement().insertBefore(e,this.table.columnManager.headersElement.nextSibling),this.topInitialized=!0)}initializeBottomRow(){this.botInitialized||(this.footerPrepend(this.botElement),this.botInitialized=!0)}scrollHorizontal(e){this.botInitialized&&this.botRow&&(this.botElement.scrollLeft=e)}recalc(e){var r,S;if(!this.blockCheck()&&(this.topInitialized||this.botInitialized)){if(r=this.rowsToData(e),this.topInitialized){for(this.topRow&&this.topRow.deleteCells(),S=this.generateRow("top",r),this.topRow=S;this.topElement.firstChild;)this.topElement.removeChild(this.topElement.firstChild);this.topElement.appendChild(S.getElement()),S.initialize(!0)}if(this.botInitialized){for(this.botRow&&this.botRow.deleteCells(),S=this.generateRow("bottom",r),this.botRow=S;this.botElement.firstChild;)this.botElement.removeChild(this.botElement.firstChild);this.botElement.appendChild(S.getElement()),S.initialize(!0)}this.table.rowManager.adjustTableSize(),this.table.modExists("frozenColumns")&&this.table.modules.frozenColumns.layout()}}recalcRowGroup(e){this.recalcGroup(this.table.modules.groupRows.getRowGroup(e))}recalcAll(){if((this.topCalcs.length||this.botCalcs.length)&&(this.table.options.columnCalcs!=="group"&&this.recalcActiveRows(),this.table.options.groupBy&&this.table.options.columnCalcs!=="table")){var e=this.table.modules.groupRows.getChildGroups();e.forEach(r=>{this.recalcGroup(r)})}}recalcGroup(e){var r,S;this.blockCheck()||e&&e.calcs&&(e.calcs.bottom&&(r=this.rowsToData(e.rows),S=this.generateRowData("bottom",r),e.calcs.bottom.updateData(S),e.calcs.bottom.reinitialize()),e.calcs.top&&(r=this.rowsToData(e.rows),S=this.generateRowData("top",r),e.calcs.top.updateData(S),e.calcs.top.reinitialize()))}generateTopRow(e){return this.generateRow("top",this.rowsToData(e))}generateBottomRow(e){return this.generateRow("bottom",this.rowsToData(e))}rowsToData(e){var r=[];return e.forEach(S=>{if(r.push(S.getData()),this.table.options.dataTree&&this.table.options.dataTreeChildColumnCalcs&&S.modules.dataTree&&S.modules.dataTree.open){var D=this.rowsToData(this.table.modules.dataTree.getFilteredTreeChildren(S));r=r.concat(D)}}),r}generateRow(e,r){var S=this.generateRowData(e,r),D;return this.table.modExists("mutator")&&this.table.modules.mutator.disable(),D=new vl(S,this,"calc"),this.table.modExists("mutator")&&this.table.modules.mutator.enable(),D.getElement().classList.add("tabulator-calcs","tabulator-calcs-"+e),D.component=!1,D.getComponent=()=>(D.component||(D.component=new gR(D)),D.component),D.generateCells=()=>{var T=[];this.table.columnManager.columnsByIndex.forEach(p=>{this.genColumn.setField(p.getField()),this.genColumn.hozAlign=p.hozAlign,p.definition[e+"CalcFormatter"]&&this.table.modExists("format")?this.genColumn.modules.format={formatter:this.table.modules.format.getFormatter(p.definition[e+"CalcFormatter"]),params:p.definition[e+"CalcFormatterParams"]||{}}:this.genColumn.modules.format={formatter:this.table.modules.format.getFormatter("plaintext"),params:{}},this.genColumn.definition.cssClass=p.definition.cssClass;var t=new eg(this.genColumn,D);t.getElement(),t.column=p,t.setWidth(),p.cells.push(t),T.push(t),p.visible||t.hide()}),D.cells=T},D}generateRowData(e,r){var S={},D=e=="top"?this.topCalcs:this.botCalcs,T=e=="top"?"topCalc":"botCalc",p,t;return D.forEach(function(d){var g=[];d.modules.columnCalcs&&d.modules.columnCalcs[T]&&(r.forEach(function(i){g.push(d.getFieldValue(i))}),t=T+"Params",p=typeof d.modules.columnCalcs[t]=="function"?d.modules.columnCalcs[t](g,r):d.modules.columnCalcs[t],d.setFieldValue(S,d.modules.columnCalcs[T](g,r,p)))}),S}hasTopCalcs(){return!!this.topCalcs.length}hasBottomCalcs(){return!!this.botCalcs.length}redraw(){this.topRow&&this.topRow.normalizeHeight(!0),this.botRow&&this.botRow.normalizeHeight(!0)}getResults(){var e={},r;return this.table.options.groupBy&&this.table.modExists("groupRows")?(r=this.table.modules.groupRows.getGroups(!0),r.forEach(S=>{e[S.getKey()]=this.getGroupResults(S)})):e={top:this.topRow?this.topRow.getData():{},bottom:this.botRow?this.botRow.getData():{}},e}getGroupResults(e){var r=e._getSelf(),S=e.getSubGroups(),D={},T={};return S.forEach(p=>{D[p.getKey()]=this.getGroupResults(p)}),T={top:r.calcs.top?r.calcs.top.getData():{},bottom:r.calcs.bottom?r.calcs.bottom.getData():{},groups:D},T}adjustForScrollbar(e){this.botRow&&(this.table.rtl?this.botElement.style.paddingLeft=e+"px":this.botElement.style.paddingRight=e+"px")}}zf.moduleName="columnCalcs";zf.calculations=vR;class OM extends qi{constructor(e){super(e),this.indent=10,this.field="",this.collapseEl=null,this.expandEl=null,this.branchEl=null,this.elementField=!1,this.startOpen=function(){},this.registerTableOption("dataTree",!1),this.registerTableOption("dataTreeFilter",!0),this.registerTableOption("dataTreeSort",!0),this.registerTableOption("dataTreeElementColumn",!1),this.registerTableOption("dataTreeBranchElement",!0),this.registerTableOption("dataTreeChildIndent",9),this.registerTableOption("dataTreeChildField","_children"),this.registerTableOption("dataTreeCollapseElement",!1),this.registerTableOption("dataTreeExpandElement",!1),this.registerTableOption("dataTreeStartExpanded",!1),this.registerTableOption("dataTreeChildColumnCalcs",!1),this.registerTableOption("dataTreeSelectPropagate",!1),this.registerComponentFunction("row","treeCollapse",this.collapseRow.bind(this)),this.registerComponentFunction("row","treeExpand",this.expandRow.bind(this)),this.registerComponentFunction("row","treeToggle",this.toggleRow.bind(this)),this.registerComponentFunction("row","getTreeParent",this.getTreeParent.bind(this)),this.registerComponentFunction("row","getTreeChildren",this.getRowChildren.bind(this)),this.registerComponentFunction("row","addTreeChild",this.addTreeChildRow.bind(this)),this.registerComponentFunction("row","isTreeExpanded",this.isRowExpanded.bind(this))}initialize(){if(this.table.options.dataTree){var e=null,r=this.table.options;switch(this.field=r.dataTreeChildField,this.indent=r.dataTreeChildIndent,this.options("movableRows")&&console.warn("The movableRows option is not available with dataTree enabled, moving of child rows could result in unpredictable behavior"),r.dataTreeBranchElement?r.dataTreeBranchElement===!0?(this.branchEl=document.createElement("div"),this.branchEl.classList.add("tabulator-data-tree-branch")):typeof r.dataTreeBranchElement=="string"?(e=document.createElement("div"),e.innerHTML=r.dataTreeBranchElement,this.branchEl=e.firstChild):this.branchEl=r.dataTreeBranchElement:(this.branchEl=document.createElement("div"),this.branchEl.classList.add("tabulator-data-tree-branch-empty")),r.dataTreeCollapseElement?typeof r.dataTreeCollapseElement=="string"?(e=document.createElement("div"),e.innerHTML=r.dataTreeCollapseElement,this.collapseEl=e.firstChild):this.collapseEl=r.dataTreeCollapseElement:(this.collapseEl=document.createElement("div"),this.collapseEl.classList.add("tabulator-data-tree-control"),this.collapseEl.tabIndex=0,this.collapseEl.innerHTML="
"),r.dataTreeExpandElement?typeof r.dataTreeExpandElement=="string"?(e=document.createElement("div"),e.innerHTML=r.dataTreeExpandElement,this.expandEl=e.firstChild):this.expandEl=r.dataTreeExpandElement:(this.expandEl=document.createElement("div"),this.expandEl.classList.add("tabulator-data-tree-control"),this.expandEl.tabIndex=0,this.expandEl.innerHTML="
"),typeof r.dataTreeStartExpanded){case"boolean":this.startOpen=function(S,D){return r.dataTreeStartExpanded};break;case"function":this.startOpen=r.dataTreeStartExpanded;break;default:this.startOpen=function(S,D){return r.dataTreeStartExpanded[D]};break}this.subscribe("row-init",this.initializeRow.bind(this)),this.subscribe("row-layout-after",this.layoutRow.bind(this)),this.subscribe("row-deleted",this.rowDelete.bind(this),0),this.subscribe("row-data-changed",this.rowDataChanged.bind(this),10),this.subscribe("cell-value-updated",this.cellValueChanged.bind(this)),this.subscribe("edit-cancelled",this.cellValueChanged.bind(this)),this.subscribe("column-moving-rows",this.columnMoving.bind(this)),this.subscribe("table-built",this.initializeElementField.bind(this)),this.subscribe("table-redrawing",this.tableRedrawing.bind(this)),this.registerDisplayHandler(this.getRows.bind(this),30)}}tableRedrawing(e){var r;e&&(r=this.table.rowManager.getRows(),r.forEach(S=>{this.reinitializeRowChildren(S)}))}initializeElementField(){var e=this.table.columnManager.getFirstVisibleColumn();this.elementField=this.table.options.dataTreeElementColumn||(e?e.field:!1)}getRowChildren(e){return this.getTreeChildren(e,!0)}columnMoving(){var e=[];return this.table.rowManager.rows.forEach(r=>{e=e.concat(this.getTreeChildren(r,!1,!0))}),e}rowDataChanged(e,r,S){this.redrawNeeded(S)&&(this.initializeRow(e),r&&(this.layoutRow(e),this.refreshData(!0)))}cellValueChanged(e){var r=e.column.getField();r===this.elementField&&this.layoutRow(e.row)}initializeRow(e){var r=e.getData()[this.field],S=Array.isArray(r),D=S||!S&&typeof r=="object"&&r!==null;!D&&e.modules.dataTree&&e.modules.dataTree.branchEl&&e.modules.dataTree.branchEl.parentNode.removeChild(e.modules.dataTree.branchEl),!D&&e.modules.dataTree&&e.modules.dataTree.controlEl&&e.modules.dataTree.controlEl.parentNode.removeChild(e.modules.dataTree.controlEl),e.modules.dataTree={index:e.modules.dataTree?e.modules.dataTree.index:0,open:D?e.modules.dataTree?e.modules.dataTree.open:this.startOpen(e.getComponent(),0):!1,controlEl:e.modules.dataTree&&D?e.modules.dataTree.controlEl:!1,branchEl:e.modules.dataTree&&D?e.modules.dataTree.branchEl:!1,parent:e.modules.dataTree?e.modules.dataTree.parent:!1,children:D}}reinitializeRowChildren(e){var r=this.getTreeChildren(e,!1,!0);r.forEach(function(S){S.reinitialize(!0)})}layoutRow(e){var r=this.elementField?e.getCell(this.elementField):e.getCells()[0],S=r.getElement(),D=e.modules.dataTree;D.branchEl&&(D.branchEl.parentNode&&D.branchEl.parentNode.removeChild(D.branchEl),D.branchEl=!1),D.controlEl&&(D.controlEl.parentNode&&D.controlEl.parentNode.removeChild(D.controlEl),D.controlEl=!1),this.generateControlElement(e,S),e.getElement().classList.add("tabulator-tree-level-"+D.index),D.index&&(this.branchEl?(D.branchEl=this.branchEl.cloneNode(!0),S.insertBefore(D.branchEl,S.firstChild),this.table.rtl?D.branchEl.style.marginRight=(D.branchEl.offsetWidth+D.branchEl.style.marginLeft)*(D.index-1)+D.index*this.indent+"px":D.branchEl.style.marginLeft=(D.branchEl.offsetWidth+D.branchEl.style.marginRight)*(D.index-1)+D.index*this.indent+"px"):this.table.rtl?S.style.paddingRight=parseInt(window.getComputedStyle(S,null).getPropertyValue("padding-right"))+D.index*this.indent+"px":S.style.paddingLeft=parseInt(window.getComputedStyle(S,null).getPropertyValue("padding-left"))+D.index*this.indent+"px")}generateControlElement(e,r){var S=e.modules.dataTree,D=S.controlEl;r=r||e.getCells()[0].getElement(),S.children!==!1&&(S.open?(S.controlEl=this.collapseEl.cloneNode(!0),S.controlEl.addEventListener("click",T=>{T.stopPropagation(),this.collapseRow(e)})):(S.controlEl=this.expandEl.cloneNode(!0),S.controlEl.addEventListener("click",T=>{T.stopPropagation(),this.expandRow(e)})),S.controlEl.addEventListener("mousedown",T=>{T.stopPropagation()}),D&&D.parentNode===r?D.parentNode.replaceChild(S.controlEl,D):r.insertBefore(S.controlEl,r.firstChild))}getRows(e){var r=[];return e.forEach((S,D)=>{var T,p;r.push(S),S instanceof vl&&(S.create(),T=S.modules.dataTree,!T.index&&T.children!==!1&&(p=this.getChildren(S),p.forEach(t=>{t.create(),r.push(t)})))}),r}getChildren(e,r){var S=e.modules.dataTree,D=[],T=[];return S.children!==!1&&(S.open||r)&&(Array.isArray(S.children)||(S.children=this.generateChildren(e)),this.table.modExists("filter")&&this.table.options.dataTreeFilter?D=this.table.modules.filter.filter(S.children):D=S.children,this.table.modExists("sort")&&this.table.options.dataTreeSort&&this.table.modules.sort.sort(D),D.forEach(p=>{T.push(p);var t=this.getChildren(p);t.forEach(d=>{T.push(d)})})),T}generateChildren(e){var r=[],S=e.getData()[this.field];return Array.isArray(S)||(S=[S]),S.forEach(D=>{var T=new vl(D||{},this.table.rowManager);T.create(),T.modules.dataTree.index=e.modules.dataTree.index+1,T.modules.dataTree.parent=e,T.modules.dataTree.children&&(T.modules.dataTree.open=this.startOpen(T.getComponent(),T.modules.dataTree.index)),r.push(T)}),r}expandRow(e,r){var S=e.modules.dataTree;S.children!==!1&&(S.open=!0,e.reinitialize(),this.refreshData(!0),this.dispatchExternal("dataTreeRowExpanded",e.getComponent(),e.modules.dataTree.index))}collapseRow(e){var r=e.modules.dataTree;r.children!==!1&&(r.open=!1,e.reinitialize(),this.refreshData(!0),this.dispatchExternal("dataTreeRowCollapsed",e.getComponent(),e.modules.dataTree.index))}toggleRow(e){var r=e.modules.dataTree;r.children!==!1&&(r.open?this.collapseRow(e):this.expandRow(e))}isRowExpanded(e){return e.modules.dataTree.open}getTreeParent(e){return e.modules.dataTree.parent?e.modules.dataTree.parent.getComponent():!1}getTreeParentRoot(e){return e.modules.dataTree&&e.modules.dataTree.parent?this.getTreeParentRoot(e.modules.dataTree.parent):e}getFilteredTreeChildren(e){var r=e.modules.dataTree,S=[],D;return r.children&&(Array.isArray(r.children)||(r.children=this.generateChildren(e)),this.table.modExists("filter")&&this.table.options.dataTreeFilter?D=this.table.modules.filter.filter(r.children):D=r.children,D.forEach(T=>{T instanceof vl&&S.push(T)})),S}rowDelete(e){var r=e.modules.dataTree.parent,S;r&&(S=this.findChildIndex(e,r),S!==!1&&r.data[this.field].splice(S,1),r.data[this.field].length||delete r.data[this.field],this.initializeRow(r),this.layoutRow(r)),this.refreshData(!0)}addTreeChildRow(e,r,S,D){var T=!1;typeof r=="string"&&(r=JSON.parse(r)),Array.isArray(e.data[this.field])||(e.data[this.field]=[],e.modules.dataTree.open=this.startOpen(e.getComponent(),e.modules.dataTree.index)),typeof D<"u"&&(T=this.findChildIndex(D,e),T!==!1&&e.data[this.field].splice(S?T:T+1,0,r)),T===!1&&(S?e.data[this.field].unshift(r):e.data[this.field].push(r)),this.initializeRow(e),this.layoutRow(e),this.refreshData(!0)}findChildIndex(e,r){var S=!1;return typeof e=="object"?e instanceof vl?S=e.data:e instanceof Wy?S=e._getSelf().data:typeof HTMLElement<"u"&&e instanceof HTMLElement?r.modules.dataTree&&(S=r.modules.dataTree.children.find(D=>D instanceof vl?D.element===e:!1),S&&(S=S.data)):e===null&&(S=!1):typeof e>"u"?S=!1:S=r.data[this.field].find(D=>D.data[this.table.options.index]==e),S&&(Array.isArray(r.data[this.field])&&(S=r.data[this.field].indexOf(S)),S==-1&&(S=!1)),S}getTreeChildren(e,r,S){var D=e.modules.dataTree,T=[];return D&&D.children&&(Array.isArray(D.children)||(D.children=this.generateChildren(e)),D.children.forEach(p=>{p instanceof vl&&(T.push(r?p.getComponent():p),S&&(T=T.concat(this.getTreeChildren(p,r,S))))})),T}getChildField(){return this.field}redrawNeeded(e){return(this.field?typeof e[this.field]<"u":!1)||(this.elementField?typeof e[this.elementField]<"u":!1)}}OM.moduleName="dataTree";function yR(n,e={},r){var S=e.delimiter?e.delimiter:",",D=[],T=[];n.forEach(p=>{var t=[];switch(p.type){case"group":console.warn("Download Warning - CSV downloader cannot process row groups");break;case"calc":console.warn("Download Warning - CSV downloader cannot process column calculations");break;case"header":p.columns.forEach((d,g)=>{d&&d.depth===1&&(T[g]=typeof d.value>"u"||d.value===null?"":'"'+String(d.value).split('"').join('""')+'"')});break;case"row":p.columns.forEach(d=>{if(d){switch(typeof d.value){case"object":d.value=d.value!==null?JSON.stringify(d.value):"";break;case"undefined":d.value="";break}t.push('"'+String(d.value).split('"').join('""')+'"')}}),D.push(t.join(S));break}}),T.length&&D.unshift(T.join(S)),D=D.join(` `),e.bom&&(D="\uFEFF"+D),r(D,"text/csv")}function bR(n,e,r){var S=[];n.forEach(D=>{var T={};switch(D.type){case"header":break;case"group":console.warn("Download Warning - JSON downloader cannot process row groups");break;case"calc":console.warn("Download Warning - JSON downloader cannot process column calculations");break;case"row":D.columns.forEach(p=>{p&&(T[p.component.getTitleDownload()||p.component.getField()]=p.value)}),S.push(T);break}}),S=JSON.stringify(S,null," "),r(S,"application/json")}function xR(n,e={},r){var S=[],D=[],T={},p=e.rowGroupStyles||{fontStyle:"bold",fontSize:12,cellPadding:6,fillColor:220},t=e.rowCalcStyles||{fontStyle:"bold",fontSize:10,cellPadding:4,fillColor:232},d=e.jsPDF||{},g=e.title?e.title:"";d.orientation||(d.orientation=e.orientation||"landscape"),d.unit||(d.unit="pt"),n.forEach(v=>{switch(v.type){case"header":S.push(i(v));break;case"group":D.push(i(v,p));break;case"calc":D.push(i(v,t));break;case"row":D.push(i(v));break}});function i(v,f){var l=[];return v.columns.forEach(a=>{var u;if(a){switch(typeof a.value){case"object":a.value=a.value!==null?JSON.stringify(a.value):"";break;case"undefined":a.value="";break}u={content:a.value,colSpan:a.width,rowSpan:a.height},f&&(u.styles=f),l.push(u)}}),l}var M=new jspdf.jsPDF(d);e.autoTable&&(typeof e.autoTable=="function"?T=e.autoTable(M)||{}:T=e.autoTable),g&&(T.didDrawPage=function(v){M.text(g,40,30)}),T.head=S,T.body=D,M.autoTable(T),e.documentProcessing&&e.documentProcessing(M),r(M.output("arraybuffer"),"application/pdf")}function _R(n,e,r){var S=this,D=e.sheetName||"Sheet1",T=XLSX.utils.book_new(),p=new Ml(this),t="compress"in e?e.compress:!0,d=e.writeOptions||{bookType:"xlsx",bookSST:!0,compression:t},g;d.type="binary",T.SheetNames=[],T.Sheets={};function i(){var f=[],l=[],a={},u={s:{c:0,r:0},e:{c:n[0]?n[0].columns.reduce((o,s)=>o+(s&&s.width?s.width:1),0):0,r:n.length}};return n.forEach((o,s)=>{var h=[];o.columns.forEach(function(c,m){c?(h.push(!(c.value instanceof Date)&&typeof c.value=="object"?JSON.stringify(c.value):c.value),(c.width>1||c.height>-1)&&(c.height>1||c.width>1)&&l.push({s:{r:s,c:m},e:{r:s+c.height-1,c:m+c.width-1}})):h.push("")}),f.push(h)}),XLSX.utils.sheet_add_aoa(a,f),a["!ref"]=XLSX.utils.encode_range(u),l.length&&(a["!merges"]=l),a}if(e.sheetOnly){r(i());return}if(e.sheets)for(var M in e.sheets)e.sheets[M]===!0?(T.SheetNames.push(M),T.Sheets[M]=i()):(T.SheetNames.push(M),p.commsSend(e.sheets[M],"download","intercept",{type:"xlsx",options:{sheetOnly:!0},active:S.active,intercept:function(f){T.Sheets[M]=f}}));else T.SheetNames.push(D),T.Sheets[D]=i();e.documentProcessing&&(T=e.documentProcessing(T));function v(f){for(var l=new ArrayBuffer(f.length),a=new Uint8Array(l),u=0;u!=f.length;++u)a[u]=f.charCodeAt(u)&255;return l}g=XLSX.write(T,d),r(v(g),"application/octet-stream")}function wR(n,e,r){this.modExists("export",!0)&&r(this.modules.export.generateHTMLTable(n),"text/html")}function TR(n,e,r){const S=[];n.forEach(D=>{const T={};switch(D.type){case"header":break;case"group":console.warn("Download Warning - JSON downloader cannot process row groups");break;case"calc":console.warn("Download Warning - JSON downloader cannot process column calculations");break;case"row":D.columns.forEach(p=>{p&&(T[p.component.getTitleDownload()||p.component.getField()]=p.value)}),S.push(JSON.stringify(T));break}}),r(S.join(` `),"application/x-ndjson")}var kR={csv:yR,json:bR,jsonLines:TR,pdf:xR,xlsx:_R,html:wR};class a0 extends qi{constructor(e){super(e),this.registerTableOption("downloadEncoder",function(r,S){return new Blob([r],{type:S})}),this.registerTableOption("downloadReady",void 0),this.registerTableOption("downloadConfig",{}),this.registerTableOption("downloadRowRange","active"),this.registerColumnOption("download"),this.registerColumnOption("titleDownload")}initialize(){this.deprecatedOptionsCheck(),this.registerTableFunction("download",this.download.bind(this)),this.registerTableFunction("downloadToTab",this.downloadToTab.bind(this))}deprecatedOptionsCheck(){this.deprecationCheck("downloadReady","downloadEncoder")}downloadToTab(e,r,S,D){this.download(e,r,S,D,!0)}download(e,r,S,D,T){var p=!1;function t(g,i){T?T===!0?this.triggerDownload(g,i,e,r,!0):T(g):this.triggerDownload(g,i,e,r)}if(typeof e=="function"?p=e:a0.downloaders[e]?p=a0.downloaders[e]:console.warn("Download Error - No such download type found: ",e),p){var d=this.generateExportList(D);p.call(this.table,d,S||{},t.bind(this))}}generateExportList(e){var r=this.table.modules.export.generateExportList(this.table.options.downloadConfig,!1,e||this.table.options.downloadRowRange,"download"),S=this.table.options.groupHeaderDownload;return S&&!Array.isArray(S)&&(S=[S]),r.forEach(D=>{var T;D.type==="group"&&(T=D.columns[0],S&&S[D.indent]&&(T.value=S[D.indent](T.value,D.component._group.getRowCount(),D.component._group.getData(),D.component)))}),r}triggerDownload(e,r,S,D,T){var p=document.createElement("a"),t=this.table.options.downloadEncoder(e,r);t&&(T?window.open(window.URL.createObjectURL(t)):(D=D||"Tabulator."+(typeof S=="function"?"txt":S),navigator.msSaveOrOpenBlob?navigator.msSaveOrOpenBlob(t,D):(p.setAttribute("href",window.URL.createObjectURL(t)),p.setAttribute("download",D),p.style.display="none",document.body.appendChild(p),p.click(),document.body.removeChild(p))),this.dispatchExternal("downloadComplete"))}commsReceived(e,r,S){switch(r){case"intercept":this.download(S.type,"",S.options,S.active,S.intercept);break}}}a0.moduleName="download";a0.downloaders=kR;function Yy(n,e){var r=e.mask,S=typeof e.maskLetterChar<"u"?e.maskLetterChar:"A",D=typeof e.maskNumberChar<"u"?e.maskNumberChar:"9",T=typeof e.maskWildcardChar<"u"?e.maskWildcardChar:"*";function p(t){var d=r[t];typeof d<"u"&&d!==T&&d!==S&&d!==D&&(n.value=n.value+""+d,p(t+1))}n.addEventListener("keydown",t=>{var d=n.value.length,g=t.key;if(t.keyCode>46&&!t.ctrlKey&&!t.metaKey){if(d>=r.length)return t.preventDefault(),t.stopPropagation(),!1;switch(r[d]){case S:if(g.toUpperCase()==g.toLowerCase())return t.preventDefault(),t.stopPropagation(),!1;break;case D:if(isNaN(g))return t.preventDefault(),t.stopPropagation(),!1;break;case T:break;default:if(g!==r[d])return t.preventDefault(),t.stopPropagation(),!1}}}),n.addEventListener("keyup",t=>{t.keyCode>46&&e.maskAutoFill&&p(n.value.length)}),n.placeholder||(n.placeholder=r),e.maskAutoFill&&p(n.value.length)}function MR(n,e,r,S,D){var T=n.getValue(),p=document.createElement("input");if(p.setAttribute("type",D.search?"search":"text"),p.style.padding="4px",p.style.width="100%",p.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let d in D.elementAttributes)d.charAt(0)=="+"?(d=d.slice(1),p.setAttribute(d,p.getAttribute(d)+D.elementAttributes["+"+d])):p.setAttribute(d,D.elementAttributes[d]);p.value=typeof T<"u"?T:"",e(function(){n.getType()==="cell"&&(p.focus({preventScroll:!0}),p.style.height="100%",D.selectContents&&p.select())});function t(d){(T===null||typeof T>"u")&&p.value!==""||p.value!==T?r(p.value)&&(T=p.value):S()}return p.addEventListener("change",t),p.addEventListener("blur",t),p.addEventListener("keydown",function(d){switch(d.keyCode){case 13:t();break;case 27:S();break;case 35:case 36:d.stopPropagation();break}}),D.mask&&Yy(p,D),p}function AR(n,e,r,S,D){var T=n.getValue(),p=D.verticalNavigation||"hybrid",t=String(T!==null&&typeof T<"u"?T:""),d=document.createElement("textarea"),g=0;if(d.style.display="block",d.style.padding="2px",d.style.height="100%",d.style.width="100%",d.style.boxSizing="border-box",d.style.whiteSpace="pre-wrap",d.style.resize="none",D.elementAttributes&&typeof D.elementAttributes=="object")for(let M in D.elementAttributes)M.charAt(0)=="+"?(M=M.slice(1),d.setAttribute(M,d.getAttribute(M)+D.elementAttributes["+"+M])):d.setAttribute(M,D.elementAttributes[M]);d.value=t,e(function(){n.getType()==="cell"&&(d.focus({preventScroll:!0}),d.style.height="100%",d.scrollHeight,d.style.height=d.scrollHeight+"px",n.getRow().normalizeHeight(),D.selectContents&&d.select())});function i(M){(T===null||typeof T>"u")&&d.value!==""||d.value!==T?(r(d.value)&&(T=d.value),setTimeout(function(){n.getRow().normalizeHeight()},300)):S()}return d.addEventListener("change",i),d.addEventListener("blur",i),d.addEventListener("keyup",function(){d.style.height="";var M=d.scrollHeight;d.style.height=M+"px",M!=g&&(g=M,n.getRow().normalizeHeight())}),d.addEventListener("keydown",function(M){switch(M.keyCode){case 13:M.shiftKey&&D.shiftEnterSubmit&&i();break;case 27:S();break;case 38:(p=="editor"||p=="hybrid"&&d.selectionStart)&&(M.stopImmediatePropagation(),M.stopPropagation());break;case 40:(p=="editor"||p=="hybrid"&&d.selectionStart!==d.value.length)&&(M.stopImmediatePropagation(),M.stopPropagation());break;case 35:case 36:M.stopPropagation();break}}),D.mask&&Yy(d,D),d}function SR(n,e,r,S,D){var T=n.getValue(),p=D.verticalNavigation||"editor",t=document.createElement("input");if(t.setAttribute("type","number"),typeof D.max<"u"&&t.setAttribute("max",D.max),typeof D.min<"u"&&t.setAttribute("min",D.min),typeof D.step<"u"&&t.setAttribute("step",D.step),t.style.padding="4px",t.style.width="100%",t.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let i in D.elementAttributes)i.charAt(0)=="+"?(i=i.slice(1),t.setAttribute(i,t.getAttribute(i)+D.elementAttributes["+"+i])):t.setAttribute(i,D.elementAttributes[i]);t.value=T;var d=function(i){g()};e(function(){n.getType()==="cell"&&(t.removeEventListener("blur",d),t.focus({preventScroll:!0}),t.style.height="100%",t.addEventListener("blur",d),D.selectContents&&t.select())});function g(){var i=t.value;!isNaN(i)&&i!==""&&(i=Number(i)),i!==T?r(i)&&(T=i):S()}return t.addEventListener("keydown",function(i){switch(i.keyCode){case 13:g();break;case 27:S();break;case 38:case 40:p=="editor"&&(i.stopImmediatePropagation(),i.stopPropagation());break;case 35:case 36:i.stopPropagation();break}}),D.mask&&Yy(t,D),t}function CR(n,e,r,S,D){var T=n.getValue(),p=document.createElement("input");if(p.setAttribute("type","range"),typeof D.max<"u"&&p.setAttribute("max",D.max),typeof D.min<"u"&&p.setAttribute("min",D.min),typeof D.step<"u"&&p.setAttribute("step",D.step),p.style.padding="4px",p.style.width="100%",p.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let d in D.elementAttributes)d.charAt(0)=="+"?(d=d.slice(1),p.setAttribute(d,p.getAttribute(d)+D.elementAttributes["+"+d])):p.setAttribute(d,D.elementAttributes[d]);p.value=T,e(function(){n.getType()==="cell"&&(p.focus({preventScroll:!0}),p.style.height="100%")});function t(){var d=p.value;!isNaN(d)&&d!==""&&(d=Number(d)),d!=T?r(d)&&(T=d):S()}return p.addEventListener("blur",function(d){t()}),p.addEventListener("keydown",function(d){switch(d.keyCode){case 13:t();break;case 27:S();break}}),p}function ER(n,e,r,S,D){var T=D.format,p=D.verticalNavigation||"editor",t=T?window.DateTime||luxon.DateTime:null,d=n.getValue(),g=document.createElement("input");function i(v){var f;return t.isDateTime(v)?f=v:T==="iso"?f=t.fromISO(String(v)):f=t.fromFormat(String(v),T),f.toFormat("yyyy-MM-dd")}if(g.type="date",g.style.padding="4px",g.style.width="100%",g.style.boxSizing="border-box",D.max&&g.setAttribute("max",T?i(D.max):D.max),D.min&&g.setAttribute("min",T?i(D.min):D.min),D.elementAttributes&&typeof D.elementAttributes=="object")for(let v in D.elementAttributes)v.charAt(0)=="+"?(v=v.slice(1),g.setAttribute(v,g.getAttribute(v)+D.elementAttributes["+"+v])):g.setAttribute(v,D.elementAttributes[v]);d=typeof d<"u"?d:"",T&&(t?d=i(d):console.error("Editor Error - 'date' editor 'format' param is dependant on luxon.js")),g.value=d,e(function(){n.getType()==="cell"&&(g.focus({preventScroll:!0}),g.style.height="100%",D.selectContents&&g.select())});function M(){var v=g.value,f;if((d===null||typeof d>"u")&&v!==""||v!==d){if(v&&T)switch(f=t.fromFormat(String(v),"yyyy-MM-dd"),T){case!0:v=f;break;case"iso":v=f.toISO();break;default:v=f.toFormat(T)}r(v)&&(d=g.value)}else S()}return g.addEventListener("blur",function(v){(v.relatedTarget||v.rangeParent||v.explicitOriginalTarget!==g)&&M()}),g.addEventListener("keydown",function(v){switch(v.keyCode){case 13:M();break;case 27:S();break;case 35:case 36:v.stopPropagation();break;case 38:case 40:p=="editor"&&(v.stopImmediatePropagation(),v.stopPropagation());break}}),g}function LR(n,e,r,S,D){var T=D.format,p=D.verticalNavigation||"editor",t=T?window.DateTime||luxon.DateTime:null,d,g=n.getValue(),i=document.createElement("input");if(i.type="time",i.style.padding="4px",i.style.width="100%",i.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let v in D.elementAttributes)v.charAt(0)=="+"?(v=v.slice(1),i.setAttribute(v,i.getAttribute(v)+D.elementAttributes["+"+v])):i.setAttribute(v,D.elementAttributes[v]);g=typeof g<"u"?g:"",T&&(t?(t.isDateTime(g)?d=g:T==="iso"?d=t.fromISO(String(g)):d=t.fromFormat(String(g),T),g=d.toFormat("HH:mm")):console.error("Editor Error - 'date' editor 'format' param is dependant on luxon.js")),console.log("val",g),i.value=g,e(function(){n.getType()=="cell"&&(i.focus({preventScroll:!0}),i.style.height="100%",D.selectContents&&i.select())});function M(){var v=i.value,f;if((g===null||typeof g>"u")&&v!==""||v!==g){if(v&&T)switch(f=t.fromFormat(String(v),"hh:mm"),T){case!0:v=f;break;case"iso":v=f.toISO();break;default:v=f.toFormat(T)}r(v)&&(g=i.value)}else S()}return i.addEventListener("blur",function(v){(v.relatedTarget||v.rangeParent||v.explicitOriginalTarget!==i)&&M()}),i.addEventListener("keydown",function(v){switch(v.keyCode){case 13:M();break;case 27:S();break;case 35:case 36:v.stopPropagation();break;case 38:case 40:p=="editor"&&(v.stopImmediatePropagation(),v.stopPropagation());break}}),i}function IR(n,e,r,S,D){var T=D.format,p=D.verticalNavigation||"editor",t=T?window.DateTime||luxon.DateTime:null,d,g=n.getValue(),i=document.createElement("input");if(i.type="datetime-local",i.style.padding="4px",i.style.width="100%",i.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let v in D.elementAttributes)v.charAt(0)=="+"?(v=v.slice(1),i.setAttribute(v,i.getAttribute(v)+D.elementAttributes["+"+v])):i.setAttribute(v,D.elementAttributes[v]);g=typeof g<"u"?g:"",T&&(t?(t.isDateTime(g)?d=g:T==="iso"?d=t.fromISO(String(g)):d=t.fromFormat(String(g),T),g=d.toFormat("yyyy-MM-dd")+"T"+d.toFormat("HH:mm")):console.error("Editor Error - 'date' editor 'format' param is dependant on luxon.js")),i.value=g,e(function(){n.getType()==="cell"&&(i.focus({preventScroll:!0}),i.style.height="100%",D.selectContents&&i.select())});function M(){var v=i.value,f;if((g===null||typeof g>"u")&&v!==""||v!==g){if(v&&T)switch(f=t.fromISO(String(v)),T){case!0:v=f;break;case"iso":v=f.toISO();break;default:v=f.toFormat(T)}r(v)&&(g=i.value)}else S()}return i.addEventListener("blur",function(v){(v.relatedTarget||v.rangeParent||v.explicitOriginalTarget!==i)&&M()}),i.addEventListener("keydown",function(v){switch(v.keyCode){case 13:M();break;case 27:S();break;case 35:case 36:v.stopPropagation();break;case 38:case 40:p=="editor"&&(v.stopImmediatePropagation(),v.stopPropagation());break}}),i}class G2{constructor(e,r,S,D,T,p){this.edit=e,this.table=e.table,this.cell=r,this.params=this._initializeParams(p),this.data=[],this.displayItems=[],this.currentItems=[],this.focusedItem=null,this.input=this._createInputElement(),this.listEl=this._createListElement(),this.initialValues=null,this.isFilter=r.getType()==="header",this.filterTimeout=null,this.filtered=!1,this.typing=!1,this.values=[],this.popup=null,this.listIteration=0,this.lastAction="",this.filterTerm="",this.blurable=!0,this.actions={success:D,cancel:T},this._deprecatedOptionsCheck(),this._initializeValue(),S(this._onRendered.bind(this))}_deprecatedOptionsCheck(){this.params.listItemFormatter&&this.cell.getTable().deprecationAdvisor.msg("The listItemFormatter editor param has been deprecated, please see the latest editor documentation for updated options"),this.params.sortValuesList&&this.cell.getTable().deprecationAdvisor.msg("The sortValuesList editor param has been deprecated, please see the latest editor documentation for updated options"),this.params.searchFunc&&this.cell.getTable().deprecationAdvisor.msg("The searchFunc editor param has been deprecated, please see the latest editor documentation for updated options"),this.params.searchingPlaceholder&&this.cell.getTable().deprecationAdvisor.msg("The searchingPlaceholder editor param has been deprecated, please see the latest editor documentation for updated options")}_initializeValue(){var e=this.cell.getValue();typeof e>"u"&&typeof this.params.defaultValue<"u"&&(e=this.params.defaultValue),this.initialValues=this.params.multiselect?e:[e],this.isFilter&&(this.input.value=this.initialValues?this.initialValues.join(","):"",this.headerFilterInitialListGen())}_onRendered(){var e=this.cell.getElement();function r(S){S.stopPropagation()}this.isFilter||(this.input.style.height="100%",this.input.focus({preventScroll:!0})),e.addEventListener("click",r),setTimeout(()=>{e.removeEventListener("click",r)},1e3),this.input.addEventListener("mousedown",this._preventPopupBlur.bind(this))}_createListElement(){var e=document.createElement("div");return e.classList.add("tabulator-edit-list"),e.addEventListener("mousedown",this._preventBlur.bind(this)),e.addEventListener("keydown",this._inputKeyDown.bind(this)),e}_setListWidth(){var e=this.isFilter?this.input:this.cell.getElement();this.listEl.style.minWidth=e.offsetWidth+"px",this.params.maxWidth&&(this.params.maxWidth===!0?this.listEl.style.maxWidth=e.offsetWidth+"px":typeof this.params.maxWidth=="number"?this.listEl.style.maxWidth=this.params.maxWidth+"px":this.listEl.style.maxWidth=this.params.maxWidth)}_createInputElement(){var e=this.params.elementAttributes,r=document.createElement("input");if(r.setAttribute("type",this.params.clearable?"search":"text"),r.style.padding="4px",r.style.width="100%",r.style.boxSizing="border-box",this.params.autocomplete||(r.style.cursor="default",r.style.caretColor="transparent"),e&&typeof e=="object")for(let S in e)S.charAt(0)=="+"?(S=S.slice(1),r.setAttribute(S,r.getAttribute(S)+e["+"+S])):r.setAttribute(S,e[S]);return this.params.mask&&Yy(r,this.params),this._bindInputEvents(r),r}_initializeParams(e){var r=["values","valuesURL","valuesLookup"],S;return e=Object.assign({},e),e.verticalNavigation=e.verticalNavigation||"editor",e.placeholderLoading=typeof e.placeholderLoading>"u"?"Searching ...":e.placeholderLoading,e.placeholderEmpty=typeof e.placeholderEmpty>"u"?"No Results Found":e.placeholderEmpty,e.filterDelay=typeof e.filterDelay>"u"?300:e.filterDelay,e.emptyValue=Object.keys(e).includes("emptyValue")?e.emptyValue:"",S=Object.keys(e).filter(D=>r.includes(D)).length,S?S>1&&console.warn("list editor config error - only one of the values, valuesURL, or valuesLookup options can be set on the same editor"):console.warn("list editor config error - either the values, valuesURL, or valuesLookup option must be set"),e.autocomplete?e.multiselect&&(e.multiselect=!1,console.warn("list editor config error - multiselect option is not available when autocomplete is enabled")):(e.freetext&&(e.freetext=!1,console.warn("list editor config error - freetext option is only available when autocomplete is enabled")),e.filterFunc&&(e.filterFunc=!1,console.warn("list editor config error - filterFunc option is only available when autocomplete is enabled")),e.filterRemote&&(e.filterRemote=!1,console.warn("list editor config error - filterRemote option is only available when autocomplete is enabled")),e.mask&&(e.mask=!1,console.warn("list editor config error - mask option is only available when autocomplete is enabled")),e.allowEmpty&&(e.allowEmpty=!1,console.warn("list editor config error - allowEmpty option is only available when autocomplete is enabled")),e.listOnEmpty&&(e.listOnEmpty=!1,console.warn("list editor config error - listOnEmpty option is only available when autocomplete is enabled"))),e.filterRemote&&!(typeof e.valuesLookup=="function"||e.valuesURL)&&(e.filterRemote=!1,console.warn("list editor config error - filterRemote option should only be used when values list is populated from a remote source")),e}_bindInputEvents(e){e.addEventListener("focus",this._inputFocus.bind(this)),e.addEventListener("click",this._inputClick.bind(this)),e.addEventListener("blur",this._inputBlur.bind(this)),e.addEventListener("keydown",this._inputKeyDown.bind(this)),e.addEventListener("search",this._inputSearch.bind(this)),this.params.autocomplete&&e.addEventListener("keyup",this._inputKeyUp.bind(this))}_inputFocus(e){this.rebuildOptionsList()}_filter(){this.params.filterRemote?(clearTimeout(this.filterTimeout),this.filterTimeout=setTimeout(()=>{this.rebuildOptionsList()},this.params.filterDelay)):this._filterList()}_inputClick(e){e.stopPropagation()}_inputBlur(e){this.blurable&&(this.popup?this.popup.hide():this._resolveValue(!0))}_inputSearch(){this._clearChoices()}_inputKeyDown(e){switch(e.keyCode){case 38:this._keyUp(e);break;case 40:this._keyDown(e);break;case 37:case 39:this._keySide(e);break;case 13:this._keyEnter();break;case 27:this._keyEsc();break;case 36:case 35:this._keyHomeEnd(e);break;case 9:this._keyTab(e);break;default:this._keySelectLetter(e)}}_inputKeyUp(e){switch(e.keyCode){case 38:case 37:case 39:case 40:case 13:case 27:break;default:this._keyAutoCompLetter(e)}}_preventPopupBlur(){this.popup&&this.popup.blockHide(),setTimeout(()=>{this.popup&&this.popup.restoreHide()},10)}_preventBlur(){this.blurable=!1,setTimeout(()=>{this.blurable=!0},10)}_keyTab(e){this.params.autocomplete&&this.lastAction==="typing"?this._resolveValue(!0):this.focusedItem&&this._chooseItem(this.focusedItem,!0)}_keyUp(e){var r=this.displayItems.indexOf(this.focusedItem);(this.params.verticalNavigation=="editor"||this.params.verticalNavigation=="hybrid"&&r)&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault(),r>0&&this._focusItem(this.displayItems[r-1]))}_keyDown(e){var r=this.displayItems.indexOf(this.focusedItem);(this.params.verticalNavigation=="editor"||this.params.verticalNavigation=="hybrid"&&r=38&&e.keyCode<=90&&this._scrollToValue(e.keyCode))}_keyAutoCompLetter(e){this._filter(),this.lastAction="typing",this.typing=!0}_scrollToValue(e){clearTimeout(this.filterTimeout);var r=String.fromCharCode(e).toLowerCase();this.filterTerm+=r.toLowerCase();var S=this.displayItems.find(D=>typeof D.label<"u"&&D.label.toLowerCase().startsWith(this.filterTerm));S&&this._focusItem(S),this.filterTimeout=setTimeout(()=>{this.filterTerm=""},800)}_focusItem(e){this.lastAction="focus",this.focusedItem&&this.focusedItem.element&&this.focusedItem.element.classList.remove("focused"),this.focusedItem=e,e&&e.element&&(e.element.classList.add("focused"),e.element.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"}))}headerFilterInitialListGen(){this._generateOptions(!0)}rebuildOptionsList(){this._generateOptions().then(this._sortOptions.bind(this)).then(this._buildList.bind(this)).then(this._showList.bind(this)).catch(e=>{Number.isInteger(e)||console.error("List generation error",e)})}_filterList(){this._buildList(this._filterOptions()),this._showList()}_generateOptions(e){var r=[],S=++this.listIteration;return this.filtered=!1,this.params.values?r=this.params.values:this.params.valuesURL?r=this._ajaxRequest(this.params.valuesURL,this.input.value):typeof this.params.valuesLookup=="function"?r=this.params.valuesLookup(this.cell,this.input.value):this.params.valuesLookup&&(r=this._uniqueColumnValues(this.params.valuesLookupField)),r instanceof Promise?(e||this._addPlaceholder(this.params.placeholderLoading),r.then().then(D=>this.listIteration===S?this._parseList(D):Promise.reject(S))):Promise.resolve(this._parseList(r))}_addPlaceholder(e){var r=document.createElement("div");typeof e=="function"&&(e=e(this.cell.getComponent(),this.listEl)),e&&(this._clearList(),e instanceof HTMLElement?r=e:(r.classList.add("tabulator-edit-list-placeholder"),r.innerHTML=e),this.listEl.appendChild(r),this._showList())}_ajaxRequest(e,r){var S=this.params.filterRemote?{term:r}:{};return e=LM(e,{},S),fetch(e).then(D=>D.ok?D.json().catch(T=>(console.warn("List Ajax Load Error - Invalid JSON returned",T),Promise.reject(T))):(console.error("List Ajax Load Error - Connection Error: "+D.status,D.statusText),Promise.reject(D))).catch(D=>(console.error("List Ajax Load Error - Connection Error: ",D),Promise.reject(D)))}_uniqueColumnValues(e){var r={},S=this.table.getData(this.params.valuesLookup),D;return e?D=this.table.columnManager.getColumnByField(e):D=this.cell.getColumn()._getSelf(),D?S.forEach(T=>{var p=D.getFieldValue(T);p!==null&&typeof p<"u"&&p!==""&&(r[p]=!0)}):(console.warn("unable to find matching column to create select lookup list:",e),r=[]),Object.keys(r)}_parseList(e){var r=[];return Array.isArray(e)||(e=Object.entries(e).map(([S,D])=>({label:D,value:S}))),e.forEach(S=>{typeof S!="object"&&(S={label:S,value:S}),this._parseListItem(S,r,0)}),!this.currentItems.length&&this.params.freetext&&(this.input.value=this.initialValues,this.typing=!0,this.lastAction="typing"),this.data=r,r}_parseListItem(e,r,S){var D={};e.options?D=this._parseListGroup(e,S+1):(D={label:e.label,value:e.value,itemParams:e.itemParams,elementAttributes:e.elementAttributes,element:!1,selected:!1,visible:!0,level:S,original:e},this.initialValues&&this.initialValues.indexOf(e.value)>-1&&this._chooseItem(D,!0)),r.push(D)}_parseListGroup(e,r){var S={label:e.label,group:!0,itemParams:e.itemParams,elementAttributes:e.elementAttributes,element:!1,visible:!0,level:r,options:[],original:e};return e.options.forEach(D=>{this._parseListItem(D,S.options,r)}),S}_sortOptions(e){var r;return this.params.sort&&(r=typeof this.params.sort=="function"?this.params.sort:this._defaultSortFunction.bind(this),this._sortGroup(r,e)),e}_sortGroup(e,r){r.sort((S,D)=>e(S.label,D.label,S.value,D.value,S.original,D.original)),r.forEach(S=>{S.group&&this._sortGroup(e,S.options)})}_defaultSortFunction(e,r){var S,D,T,p,t=0,d,g=/(\d+)|(\D+)/g,i=/\d/,M=0;if(this.params.sort==="desc"&&([e,r]=[r,e]),!e&&e!==0)M=!r&&r!==0?0:-1;else if(!r&&r!==0)M=1;else{if(isFinite(e)&&isFinite(r))return e-r;if(S=String(e).toLowerCase(),D=String(r).toLowerCase(),S===D)return 0;if(!(i.test(S)&&i.test(D)))return S>D?1:-1;for(S=S.match(g),D=D.match(g),d=S.length>D.length?D.length:S.length;tp?1:-1;return S.length>D.length}return M}_filterOptions(){var e=this.params.filterFunc||this._defaultFilterFunc,r=this.input.value;return r?(this.filtered=!0,this.data.forEach(S=>{this._filterItem(e,r,S)})):this.filtered=!1,this.data}_filterItem(e,r,S){var D=!1;return S.group?(S.options.forEach(T=>{this._filterItem(e,r,T)&&(D=!0)}),S.visible=D):S.visible=e(r,S.label,S.value,S.original),S.visible}_defaultFilterFunc(e,r,S,D){return e=String(e).toLowerCase(),r!==null&&typeof r<"u"&&(String(r).toLowerCase().indexOf(e)>-1||String(S).toLowerCase().indexOf(e)>-1)}_clearList(){for(;this.listEl.firstChild;)this.listEl.removeChild(this.listEl.firstChild);this.displayItems=[]}_buildList(e){this._clearList(),e.forEach(r=>{this._buildItem(r)}),this.displayItems.length||this._addPlaceholder(this.params.placeholderEmpty)}_buildItem(e){var r=e.element,S;if(!this.filtered||e.visible){if(!r){if(r=document.createElement("div"),r.tabIndex=0,S=this.params.itemFormatter?this.params.itemFormatter(e.label,e.value,e.original,r):e.label,S instanceof HTMLElement?r.appendChild(S):r.innerHTML=S,e.group?r.classList.add("tabulator-edit-list-group"):r.classList.add("tabulator-edit-list-item"),r.classList.add("tabulator-edit-list-group-level-"+e.level),e.elementAttributes&&typeof e.elementAttributes=="object")for(let D in e.elementAttributes)D.charAt(0)=="+"?(D=D.slice(1),r.setAttribute(D,this.input.getAttribute(D)+e.elementAttributes["+"+D])):r.setAttribute(D,e.elementAttributes[D]);e.group?r.addEventListener("click",this._groupClick.bind(this,e)):r.addEventListener("click",this._itemClick.bind(this,e)),r.addEventListener("mousedown",this._preventBlur.bind(this)),e.element=r}this._styleItem(e),this.listEl.appendChild(r),e.group?e.options.forEach(D=>{this._buildItem(D)}):this.displayItems.push(e)}}_showList(){var e=this.popup&&this.popup.isVisible();if(this.input.parentNode){if(this.params.autocomplete&&this.input.value===""&&!this.params.listOnEmpty){this.popup&&this.popup.hide(!0);return}this._setListWidth(),this.popup||(this.popup=this.edit.popup(this.listEl)),this.popup.show(this.cell.getElement(),"bottom"),e||setTimeout(()=>{this.popup.hideOnBlur(this._resolveValue.bind(this,!0))},10)}}_styleItem(e){e&&e.element&&(e.selected?e.element.classList.add("active"):e.element.classList.remove("active"))}_itemClick(e,r){r.stopPropagation(),this._chooseItem(e)}_groupClick(e,r){r.stopPropagation()}_cancel(){this.popup.hide(!0),this.actions.cancel()}_clearChoices(){this.typing=!0,this.currentItems.forEach(e=>{e.selected=!1,this._styleItem(e)}),this.currentItems=[],this.focusedItem=null}_chooseItem(e,r){var S;this.typing=!1,this.params.multiselect?(S=this.currentItems.indexOf(e),S>-1?(this.currentItems.splice(S,1),e.selected=!1):(this.currentItems.push(e),e.selected=!0),this.input.value=this.currentItems.map(D=>D.label).join(","),this._styleItem(e)):(this.currentItems=[e],e.selected=!0,this.input.value=e.label,this._styleItem(e),r||this._resolveValue()),this._focusItem(e)}_resolveValue(e){var r,S;if(this.popup&&this.popup.hide(!0),this.params.multiselect)r=this.currentItems.map(D=>D.value);else if(e&&this.params.autocomplete&&this.typing)if(this.params.freetext||this.params.allowEmpty&&this.input.value==="")r=this.input.value;else{this.actions.cancel();return}else this.currentItems[0]?r=this.currentItems[0].value:(S=Array.isArray(this.initialValues)?this.initialValues[0]:this.initialValues,S===null||typeof S>"u"||S===""?r=S:r=this.params.emptyValue);r===""&&(r=this.params.emptyValue),this.actions.success(r),this.isFilter&&(this.initialValues=r&&!Array.isArray(r)?[r]:r,this.currentItems=[])}}function RR(n,e,r,S,D){this.deprecationMsg("The select editor has been deprecated, please use the new list editor");var T=new G2(this,n,e,r,S,D);return T.input}function PR(n,e,r,S,D){var T=new G2(this,n,e,r,S,D);return T.input}function OR(n,e,r,S,D){this.deprecationMsg("The autocomplete editor has been deprecated, please use the new list editor with the 'autocomplete' editorParam"),D.autocomplete=!0;var T=new G2(this,n,e,r,S,D);return T.input}function DR(n,e,r,S,D){var T=this,p=n.getElement(),t=n.getValue(),d=p.getElementsByTagName("svg").length||5,g=p.getElementsByTagName("svg")[0]?p.getElementsByTagName("svg")[0].getAttribute("width"):14,i=[],M=document.createElement("div"),v=document.createElementNS("http://www.w3.org/2000/svg","svg");function f(o){i.forEach(function(s,h){h'):(T.table.browser=="ie"?s.setAttribute("class","tabulator-star-inactive"):s.classList.replace("tabulator-star-active","tabulator-star-inactive"),s.innerHTML='')})}function l(o){var s=document.createElement("span"),h=v.cloneNode(!0);i.push(h),s.addEventListener("mouseenter",function(c){c.stopPropagation(),c.stopImmediatePropagation(),f(o)}),s.addEventListener("mousemove",function(c){c.stopPropagation(),c.stopImmediatePropagation()}),s.addEventListener("click",function(c){c.stopPropagation(),c.stopImmediatePropagation(),r(o),p.blur()}),s.appendChild(h),M.appendChild(s)}function a(o){t=o,f(o)}if(p.style.whiteSpace="nowrap",p.style.overflow="hidden",p.style.textOverflow="ellipsis",M.style.verticalAlign="middle",M.style.display="inline-block",M.style.padding="4px",v.setAttribute("width",g),v.setAttribute("height",g),v.setAttribute("viewBox","0 0 512 512"),v.setAttribute("xml:space","preserve"),v.style.padding="0 1px",D.elementAttributes&&typeof D.elementAttributes=="object")for(let o in D.elementAttributes)o.charAt(0)=="+"?(o=o.slice(1),M.setAttribute(o,M.getAttribute(o)+D.elementAttributes["+"+o])):M.setAttribute(o,D.elementAttributes[o]);for(var u=1;u<=d;u++)l(u);return t=Math.min(parseInt(t),d),f(t),M.addEventListener("mousemove",function(o){f(0)}),M.addEventListener("click",function(o){r(0)}),p.addEventListener("blur",function(o){S()}),p.addEventListener("keydown",function(o){switch(o.keyCode){case 39:a(t+1);break;case 37:a(t-1);break;case 13:r(t);break;case 27:S();break}}),M}function zR(n,e,r,S,D){var T=n.getElement(),p=typeof D.max>"u"?T.getElementsByTagName("div")[0]&&T.getElementsByTagName("div")[0].getAttribute("max")||100:D.max,t=typeof D.min>"u"?T.getElementsByTagName("div")[0]&&T.getElementsByTagName("div")[0].getAttribute("min")||0:D.min,d=(p-t)/100,g=n.getValue()||0,i=document.createElement("div"),M=document.createElement("div"),v,f;function l(){var a=window.getComputedStyle(T,null),u=d*Math.round(M.offsetWidth/((T.clientWidth-parseInt(a.getPropertyValue("padding-left"))-parseInt(a.getPropertyValue("padding-right")))/100))+t;r(u),T.setAttribute("aria-valuenow",u),T.setAttribute("aria-label",g)}if(i.style.position="absolute",i.style.right="0",i.style.top="0",i.style.bottom="0",i.style.width="5px",i.classList.add("tabulator-progress-handle"),M.style.display="inline-block",M.style.position="relative",M.style.height="100%",M.style.backgroundColor="#488CE9",M.style.maxWidth="100%",M.style.minWidth="0%",D.elementAttributes&&typeof D.elementAttributes=="object")for(let a in D.elementAttributes)a.charAt(0)=="+"?(a=a.slice(1),M.setAttribute(a,M.getAttribute(a)+D.elementAttributes["+"+a])):M.setAttribute(a,D.elementAttributes[a]);return T.style.padding="4px 4px",g=Math.min(parseFloat(g),p),g=Math.max(parseFloat(g),t),g=Math.round((g-t)/d),M.style.width=g+"%",T.setAttribute("aria-valuemin",t),T.setAttribute("aria-valuemax",p),M.appendChild(i),i.addEventListener("mousedown",function(a){v=a.screenX,f=M.offsetWidth}),i.addEventListener("mouseover",function(){i.style.cursor="ew-resize"}),T.addEventListener("mousemove",function(a){v&&(M.style.width=f+a.screenX-v+"px")}),T.addEventListener("mouseup",function(a){v&&(a.stopPropagation(),a.stopImmediatePropagation(),v=!1,f=!1,l())}),T.addEventListener("keydown",function(a){switch(a.keyCode){case 39:a.preventDefault(),M.style.width=M.clientWidth+T.clientWidth/100+"px";break;case 37:a.preventDefault(),M.style.width=M.clientWidth-T.clientWidth/100+"px";break;case 9:case 13:l();break;case 27:S();break}}),T.addEventListener("blur",function(){S()}),M}function FR(n,e,r,S,D){var T=n.getValue(),p=document.createElement("input"),t=D.tristate,d=typeof D.indeterminateValue>"u"?null:D.indeterminateValue,g=!1,i=Object.keys(D).includes("trueValue"),M=Object.keys(D).includes("falseValue");if(p.setAttribute("type","checkbox"),p.style.marginTop="5px",p.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let f in D.elementAttributes)f.charAt(0)=="+"?(f=f.slice(1),p.setAttribute(f,p.getAttribute(f)+D.elementAttributes["+"+f])):p.setAttribute(f,D.elementAttributes[f]);p.value=T,t&&(typeof T>"u"||T===d||T==="")&&(g=!0,p.indeterminate=!0),this.table.browser!="firefox"&&this.table.browser!="safari"&&e(function(){n.getType()==="cell"&&p.focus({preventScroll:!0})}),p.checked=i?T===D.trueValue:T===!0||T==="true"||T==="True"||T===1;function v(f){var l=p.checked;return i&&l?l=D.trueValue:M&&!l&&(l=D.falseValue),t?f?g?d:l:p.checked&&!g?(p.checked=!1,p.indeterminate=!0,g=!0,d):(g=!1,l):l}return p.addEventListener("change",function(f){r(v())}),p.addEventListener("blur",function(f){r(v(!0))}),p.addEventListener("keydown",function(f){f.keyCode==13&&r(v()),f.keyCode==27&&S()}),p}var BR={input:MR,textarea:AR,number:SR,range:CR,date:ER,time:LR,datetime:IR,select:RR,list:PR,autocomplete:OR,star:DR,progress:zR,tickCross:FR};class tg extends qi{constructor(e){super(e),this.currentCell=!1,this.mouseClick=!1,this.recursionBlock=!1,this.invalidEdit=!1,this.editedCells=[],this.editors=tg.editors,this.registerColumnOption("editable"),this.registerColumnOption("editor"),this.registerColumnOption("editorParams"),this.registerColumnOption("cellEditing"),this.registerColumnOption("cellEdited"),this.registerColumnOption("cellEditCancelled"),this.registerTableOption("editTriggerEvent","focus"),this.registerTableFunction("getEditedCells",this.getEditedCells.bind(this)),this.registerTableFunction("clearCellEdited",this.clearCellEdited.bind(this)),this.registerTableFunction("navigatePrev",this.navigatePrev.bind(this)),this.registerTableFunction("navigateNext",this.navigateNext.bind(this)),this.registerTableFunction("navigateLeft",this.navigateLeft.bind(this)),this.registerTableFunction("navigateRight",this.navigateRight.bind(this)),this.registerTableFunction("navigateUp",this.navigateUp.bind(this)),this.registerTableFunction("navigateDown",this.navigateDown.bind(this)),this.registerComponentFunction("cell","isEdited",this.cellIsEdited.bind(this)),this.registerComponentFunction("cell","clearEdited",this.clearEdited.bind(this)),this.registerComponentFunction("cell","edit",this.editCell.bind(this)),this.registerComponentFunction("cell","cancelEdit",this.cellCancelEdit.bind(this)),this.registerComponentFunction("cell","navigatePrev",this.navigatePrev.bind(this)),this.registerComponentFunction("cell","navigateNext",this.navigateNext.bind(this)),this.registerComponentFunction("cell","navigateLeft",this.navigateLeft.bind(this)),this.registerComponentFunction("cell","navigateRight",this.navigateRight.bind(this)),this.registerComponentFunction("cell","navigateUp",this.navigateUp.bind(this)),this.registerComponentFunction("cell","navigateDown",this.navigateDown.bind(this))}initialize(){this.subscribe("cell-init",this.bindEditor.bind(this)),this.subscribe("cell-delete",this.clearEdited.bind(this)),this.subscribe("cell-value-changed",this.updateCellClass.bind(this)),this.subscribe("column-layout",this.initializeColumnCheck.bind(this)),this.subscribe("column-delete",this.columnDeleteCheck.bind(this)),this.subscribe("row-deleting",this.rowDeleteCheck.bind(this)),this.subscribe("row-layout",this.rowEditableCheck.bind(this)),this.subscribe("data-refreshing",this.cancelEdit.bind(this)),this.subscribe("clipboard-paste",this.pasteBlocker.bind(this)),this.subscribe("keybinding-nav-prev",this.navigatePrev.bind(this,void 0)),this.subscribe("keybinding-nav-next",this.keybindingNavigateNext.bind(this)),this.subscribe("keybinding-nav-up",this.navigateUp.bind(this,void 0)),this.subscribe("keybinding-nav-down",this.navigateDown.bind(this,void 0))}pasteBlocker(e){if(this.currentCell)return!0}keybindingNavigateNext(e){var r=this.currentCell,S=this.options("tabEndNewRow");r&&(this.navigateNext(r,e)||S&&(r.getElement().firstChild.blur(),this.invalidEdit||(S===!0?S=this.table.addRow({}):typeof S=="function"?S=this.table.addRow(S(r.row.getComponent())):S=this.table.addRow(Object.assign({},S)),S.then(()=>{setTimeout(()=>{r.getComponent().navigateNext()})}))))}cellIsEdited(e){return!!e.modules.edit&&e.modules.edit.edited}cellCancelEdit(e){e===this.currentCell?this.table.modules.edit.cancelEdit():console.warn("Cancel Editor Error - This cell is not currently being edited ")}updateCellClass(e){this.allowEdit(e)?e.getElement().classList.add("tabulator-editable"):e.getElement().classList.remove("tabulator-editable")}clearCellEdited(e){e||(e=this.table.modules.edit.getEditedCells()),Array.isArray(e)||(e=[e]),e.forEach(r=>{this.table.modules.edit.clearEdited(r._getSelf())})}navigatePrev(e=this.currentCell,r){var S,D;if(e){if(r&&r.preventDefault(),S=this.navigateLeft(),S)return!0;if(D=this.table.rowManager.prevDisplayRow(e.row,!0),D&&(S=this.findPrevEditableCell(D,D.cells.length),S))return S.getComponent().edit(),!0}return!1}navigateNext(e=this.currentCell,r){var S,D;if(e){if(r&&r.preventDefault(),S=this.navigateRight(),S)return!0;if(D=this.table.rowManager.nextDisplayRow(e.row,!0),D&&(S=this.findNextEditableCell(D,-1),S))return S.getComponent().edit(),!0}return!1}navigateLeft(e=this.currentCell,r){var S,D;return e&&(r&&r.preventDefault(),S=e.getIndex(),D=this.findPrevEditableCell(e.row,S),D)?(D.getComponent().edit(),!0):!1}navigateRight(e=this.currentCell,r){var S,D;return e&&(r&&r.preventDefault(),S=e.getIndex(),D=this.findNextEditableCell(e.row,S),D)?(D.getComponent().edit(),!0):!1}navigateUp(e=this.currentCell,r){var S,D;return e&&(r&&r.preventDefault(),S=e.getIndex(),D=this.table.rowManager.prevDisplayRow(e.row,!0),D)?(D.cells[S].getComponent().edit(),!0):!1}navigateDown(e=this.currentCell,r){var S,D;return e&&(r&&r.preventDefault(),S=e.getIndex(),D=this.table.rowManager.nextDisplayRow(e.row,!0),D)?(D.cells[S].getComponent().edit(),!0):!1}findNextEditableCell(e,r){var S=!1;if(r0)for(var D=r-1;D>=0;D--){let T=e.cells[D];if(T.column.modules.edit&&so.elVisible(T.getElement())&&this.allowEdit(T)){S=T;break}}return S}initializeColumnCheck(e){typeof e.definition.editor<"u"&&this.initializeColumn(e)}columnDeleteCheck(e){this.currentCell&&this.currentCell.column===e&&this.cancelEdit()}rowDeleteCheck(e){this.currentCell&&this.currentCell.row===e&&this.cancelEdit()}rowEditableCheck(e){e.getCells().forEach(r=>{r.column.modules.edit&&typeof r.column.modules.edit.check=="function"&&this.updateCellClass(r)})}initializeColumn(e){var r={editor:!1,blocked:!1,check:e.definition.editable,params:e.definition.editorParams||{}};switch(typeof e.definition.editor){case"string":this.editors[e.definition.editor]?r.editor=this.editors[e.definition.editor]:console.warn("Editor Error - No such editor found: ",e.definition.editor);break;case"function":r.editor=e.definition.editor;break;case"boolean":e.definition.editor===!0&&(typeof e.definition.formatter!="function"?this.editors[e.definition.formatter]?r.editor=this.editors[e.definition.formatter]:r.editor=this.editors.input:console.warn("Editor Error - Cannot auto lookup editor for a custom formatter: ",e.definition.formatter));break}r.editor&&(e.modules.edit=r)}getCurrentCell(){return this.currentCell?this.currentCell.getComponent():!1}clearEditor(e){var r=this.currentCell,S;if(this.invalidEdit=!1,r){for(this.currentCell=!1,S=r.getElement(),this.dispatch("edit-editor-clear",r,e),S.classList.remove("tabulator-editing");S.firstChild;)S.removeChild(S.firstChild);r.row.getElement().classList.remove("tabulator-editing"),r.table.element.classList.remove("tabulator-editing")}}cancelEdit(){if(this.currentCell){var e=this.currentCell,r=this.currentCell.getComponent();this.clearEditor(!0),e.setValueActual(e.getValue()),e.cellRendered(),(e.column.definition.editor=="textarea"||e.column.definition.variableHeight)&&e.row.normalizeHeight(!0),e.column.definition.cellEditCancelled&&e.column.definition.cellEditCancelled.call(this.table,r),this.dispatch("edit-cancelled",e),this.dispatchExternal("cellEditCancelled",r)}}bindEditor(e){if(e.column.modules.edit){var r=this,S=e.getElement(!0);this.updateCellClass(e),S.setAttribute("tabindex",0),S.addEventListener("mousedown",function(D){D.button===2?D.preventDefault():r.mouseClick=!0}),this.options("editTriggerEvent")==="dblclick"&&S.addEventListener("dblclick",function(D){S.classList.contains("tabulator-editing")||(S.focus({preventScroll:!0}),r.edit(e,D,!1))}),(this.options("editTriggerEvent")==="focus"||this.options("editTriggerEvent")==="click")&&S.addEventListener("click",function(D){S.classList.contains("tabulator-editing")||(S.focus({preventScroll:!0}),r.edit(e,D,!1))}),this.options("editTriggerEvent")==="focus"&&S.addEventListener("focus",function(D){r.recursionBlock||r.edit(e,D,!1)})}}focusCellNoEvent(e,r){this.recursionBlock=!0,r&&this.table.browser==="ie"||e.getElement().focus({preventScroll:!0}),this.recursionBlock=!1}editCell(e,r){this.focusCellNoEvent(e),this.edit(e,!1,r)}focusScrollAdjust(e){if(this.table.rowManager.getRenderMode()=="virtual"){var r=this.table.rowManager.element.scrollTop,S=this.table.rowManager.element.clientHeight+this.table.rowManager.element.scrollTop,D=e.row.getElement();D.offsetTopS&&(this.table.rowManager.element.scrollTop+=D.offsetTop+D.offsetHeight-S);var T=this.table.rowManager.element.scrollLeft,p=this.table.rowManager.element.clientWidth+this.table.rowManager.element.scrollLeft,t=e.getElement();this.table.modExists("frozenColumns")&&(T+=parseInt(this.table.modules.frozenColumns.leftMargin||0),p-=parseInt(this.table.modules.frozenColumns.rightMargin||0)),this.table.options.renderHorizontal==="virtual"&&(T-=parseInt(this.table.columnManager.renderer.vDomPadLeft),p-=parseInt(this.table.columnManager.renderer.vDomPadLeft)),t.offsetLeftp&&(this.table.rowManager.element.scrollLeft+=t.offsetLeft+t.offsetWidth-p)}}allowEdit(e){var r=!!e.column.modules.edit;if(e.column.modules.edit)switch(typeof e.column.modules.edit.check){case"function":e.row.initialized&&(r=e.column.modules.edit.check(e.getComponent()));break;case"string":r=!!e.row.data[e.column.modules.edit.check];break;case"boolean":r=e.column.modules.edit.check;break}return r}edit(e,r,S){var D=this,T=!0,p=function(){},t=e.getElement(),d=!1,g,i,M;if(this.currentCell){!this.invalidEdit&&this.currentCell!==e&&this.cancelEdit();return}function v(o){if(D.currentCell===e&&!d){var s=D.chain("edit-success",[e,o],!0,!0);return s===!0||D.table.options.validationMode==="highlight"?(d=!0,D.clearEditor(),e.modules.edit||(e.modules.edit={}),e.modules.edit.edited=!0,D.editedCells.indexOf(e)==-1&&D.editedCells.push(e),e.setValue(o,!0),s===!0):(d=!0,D.invalidEdit=!0,D.focusCellNoEvent(e,!0),p(),setTimeout(()=>{d=!1},10),!1)}}function f(){D.currentCell===e&&!d&&D.cancelEdit()}function l(o){p=o}if(e.column.modules.edit.blocked)return this.mouseClick=!1,this.blur(t),!1;if(r&&r.stopPropagation(),T=this.allowEdit(e),T||S){if(D.cancelEdit(),D.currentCell=e,this.focusScrollAdjust(e),i=e.getComponent(),this.mouseClick&&(this.mouseClick=!1,e.column.definition.cellClick&&e.column.definition.cellClick.call(this.table,r,i)),e.column.definition.cellEditing&&e.column.definition.cellEditing.call(this.table,i),this.dispatch("cell-editing",e),this.dispatchExternal("cellEditing",i),M=typeof e.column.modules.edit.params=="function"?e.column.modules.edit.params(i):e.column.modules.edit.params,g=e.column.modules.edit.editor.call(D,i,l,v,f,M),this.currentCell&&g!==!1)if(g instanceof Node){for(t.classList.add("tabulator-editing"),e.row.getElement().classList.add("tabulator-editing"),e.table.element.classList.add("tabulator-editing");t.firstChild;)t.removeChild(t.firstChild);t.appendChild(g),p();for(var a=t.children,u=0;u{e.push(r.getComponent())}),e}clearEdited(e){var r;e.modules.edit&&e.modules.edit.edited&&(e.modules.edit.edited=!1,this.dispatch("edit-edited-clear",e)),r=this.editedCells.indexOf(e),r>-1&&this.editedCells.splice(r,1)}}tg.moduleName="edit";tg.editors=BR;class g5{constructor(e,r,S,D){this.type=e,this.columns=r,this.component=S||!1,this.indent=D||0}}class mb{constructor(e,r,S,D,T){this.value=e,this.component=r||!1,this.width=S,this.height=D,this.depth=T}}class DM extends qi{constructor(e){super(e),this.config={},this.cloneTableStyle=!0,this.colVisProp="",this.registerTableOption("htmlOutputConfig",!1),this.registerColumnOption("htmlOutput"),this.registerColumnOption("titleHtmlOutput")}initialize(){this.registerTableFunction("getHtml",this.getHtml.bind(this))}generateExportList(e,r,S,D){this.cloneTableStyle=r,this.config=e||{},this.colVisProp=D;var T,p;if(S==="range"){var t=this.table.modules.selectRange.selectedColumns();T=this.config.columnHeaders!==!1?this.headersToExportRows(this.generateColumnGroupHeaders(t)):[],p=this.bodyToExportRows(this.rowLookup(S),this.table.modules.selectRange.selectedColumns(!0))}else T=this.config.columnHeaders!==!1?this.headersToExportRows(this.generateColumnGroupHeaders()):[],p=this.bodyToExportRows(this.rowLookup(S));return T.concat(p)}generateTable(e,r,S,D){var T=this.generateExportList(e,r,S,D);return this.generateTableElement(T)}rowLookup(e){var r=[];if(typeof e=="function")e.call(this.table).forEach(S=>{S=this.table.rowManager.findRow(S),S&&r.push(S)});else switch(e){case!0:case"visible":r=this.table.rowManager.getVisibleRows(!1,!0);break;case"all":r=this.table.rowManager.rows;break;case"selected":r=this.table.modules.selectRow.selectedRows;break;case"range":r=this.table.modules.selectRange.selectedRows();break;case"active":default:this.table.options.pagination?r=this.table.rowManager.getDisplayRows(this.table.rowManager.displayRows.length-2):r=this.table.rowManager.getDisplayRows()}return Object.assign([],r)}generateColumnGroupHeaders(e){var r=[];return e||(e=this.config.columnGroups!==!1?this.table.columnManager.columns:this.table.columnManager.columnsByIndex),e.forEach(S=>{var D=this.processColumnGroup(S);D&&r.push(D)}),r}processColumnGroup(e){var r=e.columns,S=0,D=e.definition["title"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))]||e.definition.title,T={title:D,column:e,depth:1};if(r.length){if(T.subGroups=[],T.width=0,r.forEach(p=>{var t=this.processColumnGroup(p);t&&(T.width+=t.width,T.subGroups.push(t),t.depth>S&&(S=t.depth))}),T.depth+=S,!T.width)return!1}else if(this.columnVisCheck(e))T.width=1;else return!1;return T}columnVisCheck(e){var r=e.definition[this.colVisProp];return typeof r=="function"&&(r=r.call(this.table,e.getComponent())),r!==!1&&(e.visible||!e.visible&&r)}headersToExportRows(e){var r=[],S=0,D=[];function T(p,t){var d=S-t;if(typeof r[t]>"u"&&(r[t]=[]),p.height=p.subGroups?1:d-p.depth+1,r[t].push(p),p.height>1)for(let g=1;g"u"&&(r[t+g]=[]),r[t+g].push(!1);if(p.width>1)for(let g=1;gS&&(S=p.depth)}),e.forEach(function(p){T(p,0)}),r.forEach(p=>{var t=[];p.forEach(d=>{if(d){let g=typeof d.title>"u"?"":d.title;t.push(new mb(g,d.column.getComponent(),d.width,d.height,d.depth))}else t.push(null)}),D.push(new g5("header",t))}),D}bodyToExportRows(e,r=[]){var S=[];return r.length===0&&this.table.columnManager.columnsByIndex.forEach(D=>{this.columnVisCheck(D)&&r.push(D.getComponent())}),this.config.columnCalcs!==!1&&this.table.modExists("columnCalcs")&&(this.table.modules.columnCalcs.topInitialized&&e.unshift(this.table.modules.columnCalcs.topRow),this.table.modules.columnCalcs.botInitialized&&e.push(this.table.modules.columnCalcs.botRow)),e=e.filter(D=>{switch(D.type){case"group":return this.config.rowGroups!==!1;case"calc":return this.config.columnCalcs!==!1;case"row":return!(this.table.options.dataTree&&this.config.dataTree===!1&&D.modules.dataTree.parent)}return!0}),e.forEach((D,T)=>{var p=D.getData(this.colVisProp),t=[],d=0;switch(D.type){case"group":d=D.level,t.push(new mb(D.key,D.getComponent(),r.length,1));break;case"calc":case"row":r.forEach(g=>{t.push(new mb(g._column.getFieldValue(p),g,1,1))}),this.table.options.dataTree&&this.config.dataTree!==!1&&(d=D.modules.dataTree.index);break}S.push(new g5(D.type,t,D.getComponent(),d))}),S}generateTableElement(e){var r=document.createElement("table"),S=document.createElement("thead"),D=document.createElement("tbody"),T=this.lookupTableStyles(),p=this.table.options["rowFormatter"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))],t={};return t.rowFormatter=p!==null?p:this.table.options.rowFormatter,this.table.options.dataTree&&this.config.dataTree!==!1&&this.table.modExists("columnCalcs")&&(t.treeElementField=this.table.modules.dataTree.elementField),t.groupHeader=this.table.options["groupHeader"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))],t.groupHeader&&!Array.isArray(t.groupHeader)&&(t.groupHeader=[t.groupHeader]),r.classList.add("tabulator-print-table"),this.mapElementStyles(this.table.columnManager.getHeadersElement(),S,["border-top","border-left","border-right","border-bottom","background-color","color","font-weight","font-family","font-size"]),e.length>1e3&&console.warn("It may take a long time to render an HTML table with more than 1000 rows"),e.forEach((d,g)=>{let i;switch(d.type){case"header":S.appendChild(this.generateHeaderElement(d,t,T));break;case"group":D.appendChild(this.generateGroupElement(d,t,T));break;case"calc":D.appendChild(this.generateCalcElement(d,t,T));break;case"row":i=this.generateRowElement(d,t,T),this.mapElementStyles(g%2&&T.evenRow?T.evenRow:T.oddRow,i,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),D.appendChild(i);break}}),S.innerHTML&&r.appendChild(S),r.appendChild(D),this.mapElementStyles(this.table.element,r,["border-top","border-left","border-right","border-bottom"]),r}lookupTableStyles(){var e={};return this.cloneTableStyle&&window.getComputedStyle&&(e.oddRow=this.table.element.querySelector(".tabulator-row-odd:not(.tabulator-group):not(.tabulator-calcs)"),e.evenRow=this.table.element.querySelector(".tabulator-row-even:not(.tabulator-group):not(.tabulator-calcs)"),e.calcRow=this.table.element.querySelector(".tabulator-row.tabulator-calcs"),e.firstRow=this.table.element.querySelector(".tabulator-row:not(.tabulator-group):not(.tabulator-calcs)"),e.firstGroup=this.table.element.getElementsByClassName("tabulator-group")[0],e.firstRow&&(e.styleCells=e.firstRow.getElementsByClassName("tabulator-cell"),e.firstCell=e.styleCells[0],e.lastCell=e.styleCells[e.styleCells.length-1])),e}generateHeaderElement(e,r,S){var D=document.createElement("tr");return e.columns.forEach(T=>{if(T){var p=document.createElement("th"),t=T.component._column.definition.cssClass?T.component._column.definition.cssClass.split(" "):[];p.colSpan=T.width,p.rowSpan=T.height,p.innerHTML=T.value,this.cloneTableStyle&&(p.style.boxSizing="border-box"),t.forEach(function(d){p.classList.add(d)}),this.mapElementStyles(T.component.getElement(),p,["text-align","border-top","border-left","border-right","border-bottom","background-color","color","font-weight","font-family","font-size"]),this.mapElementStyles(T.component._column.contentElement,p,["padding-top","padding-left","padding-right","padding-bottom"]),T.component._column.visible?this.mapElementStyles(T.component.getElement(),p,["width"]):T.component._column.definition.width&&(p.style.width=T.component._column.definition.width+"px"),T.component._column.parent&&this.mapElementStyles(T.component._column.parent.groupElement,p,["border-top"]),D.appendChild(p)}}),D}generateGroupElement(e,r,S){var D=document.createElement("tr"),T=document.createElement("td"),p=e.columns[0];return D.classList.add("tabulator-print-table-row"),r.groupHeader&&r.groupHeader[e.indent]?p.value=r.groupHeader[e.indent](p.value,e.component._group.getRowCount(),e.component._group.getData(),e.component):r.groupHeader!==!1&&(p.value=e.component._group.generator(p.value,e.component._group.getRowCount(),e.component._group.getData(),e.component)),T.colSpan=p.width,T.innerHTML=p.value,D.classList.add("tabulator-print-table-group"),D.classList.add("tabulator-group-level-"+e.indent),p.component.isVisible()&&D.classList.add("tabulator-group-visible"),this.mapElementStyles(S.firstGroup,D,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),this.mapElementStyles(S.firstGroup,T,["padding-top","padding-left","padding-right","padding-bottom"]),D.appendChild(T),D}generateCalcElement(e,r,S){var D=this.generateRowElement(e,r,S);return D.classList.add("tabulator-print-table-calcs"),this.mapElementStyles(S.calcRow,D,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),D}generateRowElement(e,r,S){var D=document.createElement("tr");if(D.classList.add("tabulator-print-table-row"),e.columns.forEach((T,p)=>{if(T){var t=document.createElement("td"),d=T.component._column,g=this.table,i=g.columnManager.findColumnIndex(d),M=T.value,v,f={modules:{},getValue:function(){return M},getField:function(){return d.definition.field},getElement:function(){return t},getType:function(){return"cell"},getColumn:function(){return d.getComponent()},getData:function(){return e.component.getData()},getRow:function(){return e.component},getTable:function(){return g},getComponent:function(){return f},column:d},l=d.definition.cssClass?d.definition.cssClass.split(" "):[];if(l.forEach(function(a){t.classList.add(a)}),this.table.modExists("format")&&this.config.formatCells!==!1)M=this.table.modules.format.formatExportValue(f,this.colVisProp);else switch(typeof M){case"object":M=M!==null?JSON.stringify(M):"";break;case"undefined":M="";break}M instanceof Node?t.appendChild(M):t.innerHTML=M,v=S.styleCells&&S.styleCells[i]?S.styleCells[i]:S.firstCell,v&&(this.mapElementStyles(v,t,["padding-top","padding-left","padding-right","padding-bottom","border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","text-align"]),d.definition.align&&(t.style.textAlign=d.definition.align)),this.table.options.dataTree&&this.config.dataTree!==!1&&(r.treeElementField&&r.treeElementField==d.field||!r.treeElementField&&p==0)&&(e.component._row.modules.dataTree.controlEl&&t.insertBefore(e.component._row.modules.dataTree.controlEl.cloneNode(!0),t.firstChild),e.component._row.modules.dataTree.branchEl&&t.insertBefore(e.component._row.modules.dataTree.branchEl.cloneNode(!0),t.firstChild)),D.appendChild(t),f.modules.format&&f.modules.format.renderedCallback&&f.modules.format.renderedCallback()}}),r.rowFormatter&&e.type==="row"&&this.config.formatCells!==!1){let T=Object.assign(e.component);T.getElement=function(){return D},r.rowFormatter(e.component)}return D}generateHTMLTable(e){var r=document.createElement("div");return r.appendChild(this.generateTableElement(e)),r.innerHTML}getHtml(e,r,S,D){var T=this.generateExportList(S||this.table.options.htmlOutputConfig,r,e,D||"htmlOutput");return this.generateHTMLTable(T)}mapElementStyles(e,r,S){if(this.cloneTableStyle&&e&&r){var D={"background-color":"backgroundColor",color:"fontColor",width:"width","font-weight":"fontWeight","font-family":"fontFamily","font-size":"fontSize","text-align":"textAlign","border-top":"borderTop","border-left":"borderLeft","border-right":"borderRight","border-bottom":"borderBottom","padding-top":"paddingTop","padding-left":"paddingLeft","padding-right":"paddingRight","padding-bottom":"paddingBottom"};if(window.getComputedStyle){var T=window.getComputedStyle(e);S.forEach(function(p){r.style[D[p]]||(r.style[D[p]]=T.getPropertyValue(p))})}}}}DM.moduleName="export";var NR={"=":function(n,e,r,S){return e==n},"<":function(n,e,r,S){return e":function(n,e,r,S){return e>n},">=":function(n,e,r,S){return e>=n},"!=":function(n,e,r,S){return e!=n},regex:function(n,e,r,S){return typeof n=="string"&&(n=new RegExp(n)),n.test(e)},like:function(n,e,r,S){return n===null||typeof n>"u"?e===n:typeof e<"u"&&e!==null?String(e).toLowerCase().indexOf(n.toLowerCase())>-1:!1},keywords:function(n,e,r,S){var D=n.toLowerCase().split(typeof S.separator>"u"?" ":S.separator),T=String(e===null||typeof e>"u"?"":e).toLowerCase(),p=[];return D.forEach(t=>{T.includes(t)&&p.push(!0)}),S.matchAll?p.length===D.length:!!p.length},starts:function(n,e,r,S){return n===null||typeof n>"u"?e===n:typeof e<"u"&&e!==null?String(e).toLowerCase().startsWith(n.toLowerCase()):!1},ends:function(n,e,r,S){return n===null||typeof n>"u"?e===n:typeof e<"u"&&e!==null?String(e).toLowerCase().endsWith(n.toLowerCase()):!1},in:function(n,e,r,S){return Array.isArray(n)?n.length?n.indexOf(e)>-1:!0:(console.warn("Filter Error - filter value is not an array:",n),!1)}};class Xh extends qi{constructor(e){super(e),this.filterList=[],this.headerFilters={},this.headerFilterColumns=[],this.prevHeaderFilterChangeCheck="",this.prevHeaderFilterChangeCheck="{}",this.changed=!1,this.tableInitialized=!1,this.registerTableOption("filterMode","local"),this.registerTableOption("initialFilter",!1),this.registerTableOption("initialHeaderFilter",!1),this.registerTableOption("headerFilterLiveFilterDelay",300),this.registerTableOption("placeholderHeaderFilter",!1),this.registerColumnOption("headerFilter"),this.registerColumnOption("headerFilterPlaceholder"),this.registerColumnOption("headerFilterParams"),this.registerColumnOption("headerFilterEmptyCheck"),this.registerColumnOption("headerFilterFunc"),this.registerColumnOption("headerFilterFuncParams"),this.registerColumnOption("headerFilterLiveFilter"),this.registerTableFunction("searchRows",this.searchRows.bind(this)),this.registerTableFunction("searchData",this.searchData.bind(this)),this.registerTableFunction("setFilter",this.userSetFilter.bind(this)),this.registerTableFunction("refreshFilter",this.userRefreshFilter.bind(this)),this.registerTableFunction("addFilter",this.userAddFilter.bind(this)),this.registerTableFunction("getFilters",this.getFilters.bind(this)),this.registerTableFunction("setHeaderFilterFocus",this.userSetHeaderFilterFocus.bind(this)),this.registerTableFunction("getHeaderFilterValue",this.userGetHeaderFilterValue.bind(this)),this.registerTableFunction("setHeaderFilterValue",this.userSetHeaderFilterValue.bind(this)),this.registerTableFunction("getHeaderFilters",this.getHeaderFilters.bind(this)),this.registerTableFunction("removeFilter",this.userRemoveFilter.bind(this)),this.registerTableFunction("clearFilter",this.userClearFilter.bind(this)),this.registerTableFunction("clearHeaderFilter",this.userClearHeaderFilter.bind(this)),this.registerComponentFunction("column","headerFilterFocus",this.setHeaderFilterFocus.bind(this)),this.registerComponentFunction("column","reloadHeaderFilter",this.reloadHeaderFilter.bind(this)),this.registerComponentFunction("column","getHeaderFilterValue",this.getHeaderFilterValue.bind(this)),this.registerComponentFunction("column","setHeaderFilterValue",this.setHeaderFilterValue.bind(this))}initialize(){this.subscribe("column-init",this.initializeColumnHeaderFilter.bind(this)),this.subscribe("column-width-fit-before",this.hideHeaderFilterElements.bind(this)),this.subscribe("column-width-fit-after",this.showHeaderFilterElements.bind(this)),this.subscribe("table-built",this.tableBuilt.bind(this)),this.subscribe("placeholder",this.generatePlaceholder.bind(this)),this.table.options.filterMode==="remote"&&this.subscribe("data-params",this.remoteFilterParams.bind(this)),this.registerDataHandler(this.filter.bind(this),10)}tableBuilt(){this.table.options.initialFilter&&this.setFilter(this.table.options.initialFilter),this.table.options.initialHeaderFilter&&this.table.options.initialHeaderFilter.forEach(e=>{var r=this.table.columnManager.findColumn(e.field);if(r)this.setHeaderFilterValue(r,e.value);else return console.warn("Column Filter Error - No matching column found:",e.field),!1}),this.tableInitialized=!0}remoteFilterParams(e,r,S,D){return D.filter=this.getFilters(!0,!0),D}generatePlaceholder(e){if(this.table.options.placeholderHeaderFilter&&Object.keys(this.headerFilters).length)return this.table.options.placeholderHeaderFilter}userSetFilter(e,r,S,D){this.setFilter(e,r,S,D),this.refreshFilter()}userRefreshFilter(){this.refreshFilter()}userAddFilter(e,r,S,D){this.addFilter(e,r,S,D),this.refreshFilter()}userSetHeaderFilterFocus(e){var r=this.table.columnManager.findColumn(e);if(r)this.setHeaderFilterFocus(r);else return console.warn("Column Filter Focus Error - No matching column found:",e),!1}userGetHeaderFilterValue(e){var r=this.table.columnManager.findColumn(e);if(r)return this.getHeaderFilterValue(r);console.warn("Column Filter Error - No matching column found:",e)}userSetHeaderFilterValue(e,r){var S=this.table.columnManager.findColumn(e);if(S)this.setHeaderFilterValue(S,r);else return console.warn("Column Filter Error - No matching column found:",e),!1}userRemoveFilter(e,r,S){this.removeFilter(e,r,S),this.refreshFilter()}userClearFilter(e){this.clearFilter(e),this.refreshFilter()}userClearHeaderFilter(){this.clearHeaderFilter(),this.refreshFilter()}searchRows(e,r,S){return this.search("rows",e,r,S)}searchData(e,r,S){return this.search("data",e,r,S)}initializeColumnHeaderFilter(e){var r=e.definition;r.headerFilter&&this.initializeColumn(e)}initializeColumn(e,r){var S=this,D=e.getField();function T(p){var t=e.modules.filter.tagType=="input"&&e.modules.filter.attrType=="text"||e.modules.filter.tagType=="textarea"?"partial":"match",d="",g="",i;if(typeof e.modules.filter.prevSuccess>"u"||e.modules.filter.prevSuccess!==p){if(e.modules.filter.prevSuccess=p,e.modules.filter.emptyFunc(p))delete S.headerFilters[D];else{switch(e.modules.filter.value=p,typeof e.definition.headerFilterFunc){case"string":Xh.filters[e.definition.headerFilterFunc]?(d=e.definition.headerFilterFunc,i=function(M){var v=e.definition.headerFilterFuncParams||{},f=e.getFieldValue(M);return v=typeof v=="function"?v(p,f,M):v,Xh.filters[e.definition.headerFilterFunc](p,f,M,v)}):console.warn("Header Filter Error - Matching filter function not found: ",e.definition.headerFilterFunc);break;case"function":i=function(M){var v=e.definition.headerFilterFuncParams||{},f=e.getFieldValue(M);return v=typeof v=="function"?v(p,f,M):v,e.definition.headerFilterFunc(p,f,M,v)},d=i;break}if(!i)switch(t){case"partial":i=function(M){var v=e.getFieldValue(M);return typeof v<"u"&&v!==null?String(v).toLowerCase().indexOf(String(p).toLowerCase())>-1:!1},d="like";break;default:i=function(M){return e.getFieldValue(M)==p},d="="}S.headerFilters[D]={value:p,func:i,type:d}}e.modules.filter.value=p,g=JSON.stringify(S.headerFilters),S.prevHeaderFilterChangeCheck!==g&&(S.prevHeaderFilterChangeCheck=g,S.trackChanges(),S.refreshFilter())}return!0}e.modules.filter={success:T,attrType:!1,tagType:!1,emptyFunc:!1},this.generateHeaderFilterElement(e)}generateHeaderFilterElement(e,r,S){var D=this,T=e.modules.filter.success,p=e.getField(),t,d,g,i,M,v,f,l;e.modules.filter.value=r;function a(){}function u(o){l=o}if(e.modules.filter.headerElement&&e.modules.filter.headerElement.parentNode&&e.contentElement.removeChild(e.modules.filter.headerElement.parentNode),p){switch(e.modules.filter.emptyFunc=e.definition.headerFilterEmptyCheck||function(o){return!o&&o!==0},t=document.createElement("div"),t.classList.add("tabulator-header-filter"),typeof e.definition.headerFilter){case"string":D.table.modules.edit.editors[e.definition.headerFilter]?(d=D.table.modules.edit.editors[e.definition.headerFilter],(e.definition.headerFilter==="tick"||e.definition.headerFilter==="tickCross")&&!e.definition.headerFilterEmptyCheck&&(e.modules.filter.emptyFunc=function(o){return o!==!0&&o!==!1})):console.warn("Filter Error - Cannot build header filter, No such editor found: ",e.definition.editor);break;case"function":d=e.definition.headerFilter;break;case"boolean":e.modules.edit&&e.modules.edit.editor?d=e.modules.edit.editor:e.definition.formatter&&D.table.modules.edit.editors[e.definition.formatter]?(d=D.table.modules.edit.editors[e.definition.formatter],(e.definition.formatter==="tick"||e.definition.formatter==="tickCross")&&!e.definition.headerFilterEmptyCheck&&(e.modules.filter.emptyFunc=function(o){return o!==!0&&o!==!1})):d=D.table.modules.edit.editors.input;break}if(d){if(i={getValue:function(){return typeof r<"u"?r:""},getField:function(){return e.definition.field},getElement:function(){return t},getColumn:function(){return e.getComponent()},getTable:()=>this.table,getType:()=>"header",getRow:function(){return{normalizeHeight:function(){}}}},f=e.definition.headerFilterParams||{},f=typeof f=="function"?f.call(D.table,i):f,g=d.call(this.table.modules.edit,i,u,T,a,f),!g){console.warn("Filter Error - Cannot add filter to "+p+" column, editor returned a value of false");return}if(!(g instanceof Node)){console.warn("Filter Error - Cannot add filter to "+p+" column, editor should return an instance of Node, the editor returned:",g);return}D.langBind("headerFilters|columns|"+e.definition.field,function(o){g.setAttribute("placeholder",typeof o<"u"&&o?o:e.definition.headerFilterPlaceholder||D.langText("headerFilters|default"))}),g.addEventListener("click",function(o){o.stopPropagation(),g.focus()}),g.addEventListener("focus",o=>{var s=this.table.columnManager.contentsElement.scrollLeft,h=this.table.rowManager.element.scrollLeft;s!==h&&(this.table.rowManager.scrollHorizontal(s),this.table.columnManager.scrollHorizontal(s))}),M=!1,v=function(o){M&&clearTimeout(M),M=setTimeout(function(){T(g.value)},D.table.options.headerFilterLiveFilterDelay)},e.modules.filter.headerElement=g,e.modules.filter.attrType=g.hasAttribute("type")?g.getAttribute("type").toLowerCase():"",e.modules.filter.tagType=g.tagName.toLowerCase(),e.definition.headerFilterLiveFilter!==!1&&(e.definition.headerFilter==="autocomplete"||e.definition.headerFilter==="tickCross"||(e.definition.editor==="autocomplete"||e.definition.editor==="tickCross")&&e.definition.headerFilter===!0||(g.addEventListener("keyup",v),g.addEventListener("search",v),e.modules.filter.attrType=="number"&&g.addEventListener("change",function(o){T(g.value)}),e.modules.filter.attrType=="text"&&this.table.browser!=="ie"&&g.setAttribute("type","search")),(e.modules.filter.tagType=="input"||e.modules.filter.tagType=="select"||e.modules.filter.tagType=="textarea")&&g.addEventListener("mousedown",function(o){o.stopPropagation()})),t.appendChild(g),e.contentElement.appendChild(t),S||D.headerFilterColumns.push(e),l&&l()}}else console.warn("Filter Error - Cannot add header filter, column has no field set:",e.definition.title)}hideHeaderFilterElements(){this.headerFilterColumns.forEach(function(e){e.modules.filter&&e.modules.filter.headerElement&&(e.modules.filter.headerElement.style.display="none")})}showHeaderFilterElements(){this.headerFilterColumns.forEach(function(e){e.modules.filter&&e.modules.filter.headerElement&&(e.modules.filter.headerElement.style.display="")})}setHeaderFilterFocus(e){e.modules.filter&&e.modules.filter.headerElement?e.modules.filter.headerElement.focus():console.warn("Column Filter Focus Error - No header filter set on column:",e.getField())}getHeaderFilterValue(e){if(e.modules.filter&&e.modules.filter.headerElement)return e.modules.filter.value;console.warn("Column Filter Error - No header filter set on column:",e.getField())}setHeaderFilterValue(e,r){e&&(e.modules.filter&&e.modules.filter.headerElement?(this.generateHeaderFilterElement(e,r,!0),e.modules.filter.success(r)):console.warn("Column Filter Error - No header filter set on column:",e.getField()))}reloadHeaderFilter(e){e&&(e.modules.filter&&e.modules.filter.headerElement?this.generateHeaderFilterElement(e,e.modules.filter.value,!0):console.warn("Column Filter Error - No header filter set on column:",e.getField()))}refreshFilter(){this.tableInitialized&&(this.table.options.filterMode==="remote"?this.reloadData(null,!1,!1):this.refreshData(!0))}trackChanges(){this.changed=!0,this.dispatch("filter-changed")}hasChanged(){var e=this.changed;return this.changed=!1,e}setFilter(e,r,S,D){this.filterList=[],Array.isArray(e)||(e=[{field:e,type:r,value:S,params:D}]),this.addFilter(e)}addFilter(e,r,S,D){var T=!1;Array.isArray(e)||(e=[{field:e,type:r,value:S,params:D}]),e.forEach(p=>{p=this.findFilter(p),p&&(this.filterList.push(p),T=!0)}),T&&this.trackChanges()}findFilter(e){var r;if(Array.isArray(e))return this.findSubFilters(e);var S=!1;return typeof e.field=="function"?S=function(D){return e.field(D,e.type||{})}:Xh.filters[e.type]?(r=this.table.columnManager.getColumnByField(e.field),r?S=function(D){return Xh.filters[e.type](e.value,r.getFieldValue(D),D,e.params||{})}:S=function(D){return Xh.filters[e.type](e.value,D[e.field],D,e.params||{})}):console.warn("Filter Error - No such filter type found, ignoring: ",e.type),e.func=S,e.func?e:!1}findSubFilters(e){var r=[];return e.forEach(S=>{S=this.findFilter(S),S&&r.push(S)}),r.length?r:!1}getFilters(e,r){var S=[];return e&&(S=this.getHeaderFilters()),r&&S.forEach(function(D){typeof D.type=="function"&&(D.type="function")}),S=S.concat(this.filtersToArray(this.filterList,r)),S}filtersToArray(e,r){var S=[];return e.forEach(D=>{var T;Array.isArray(D)?S.push(this.filtersToArray(D,r)):(T={field:D.field,type:D.type,value:D.value},r&&typeof T.type=="function"&&(T.type="function"),S.push(T))}),S}getHeaderFilters(){var e=[];for(var r in this.headerFilters)e.push({field:r,type:this.headerFilters[r].type,value:this.headerFilters[r].value});return e}removeFilter(e,r,S){Array.isArray(e)||(e=[{field:e,type:r,value:S}]),e.forEach(D=>{var T=-1;typeof D.field=="object"?T=this.filterList.findIndex(p=>D===p):T=this.filterList.findIndex(p=>D.field===p.field&&D.type===p.type&&D.value===p.value),T>-1?this.filterList.splice(T,1):console.warn("Filter Error - No matching filter type found, ignoring: ",D.type)}),this.trackChanges()}clearFilter(e){this.filterList=[],e&&this.clearHeaderFilter(),this.trackChanges()}clearHeaderFilter(){this.headerFilters={},this.prevHeaderFilterChangeCheck="{}",this.headerFilterColumns.forEach(e=>{typeof e.modules.filter.value<"u"&&delete e.modules.filter.value,e.modules.filter.prevSuccess=void 0,this.reloadHeaderFilter(e)}),this.trackChanges()}search(e,r,S,D){var T=[],p=[];return Array.isArray(r)||(r=[{field:r,type:S,value:D}]),r.forEach(t=>{t=this.findFilter(t),t&&p.push(t)}),this.table.rowManager.rows.forEach(t=>{var d=!0;p.forEach(g=>{this.filterRecurse(g,t.getData())||(d=!1)}),d&&T.push(e==="data"?t.getData("data"):t.getComponent())}),T}filter(e,r){var S=[],D=[];return this.subscribedExternal("dataFiltering")&&this.dispatchExternal("dataFiltering",this.getFilters(!0)),this.table.options.filterMode!=="remote"&&(this.filterList.length||Object.keys(this.headerFilters).length)?e.forEach(T=>{this.filterRow(T)&&S.push(T)}):S=e.slice(0),this.subscribedExternal("dataFiltered")&&(S.forEach(T=>{D.push(T.getComponent())}),this.dispatchExternal("dataFiltered",this.getFilters(!0),D)),S}filterRow(e,r){var S=!0,D=e.getData();this.filterList.forEach(p=>{this.filterRecurse(p,D)||(S=!1)});for(var T in this.headerFilters)this.headerFilters[T].func(D)||(S=!1);return S}filterRecurse(e,r){var S=!1;return Array.isArray(e)?e.forEach(D=>{this.filterRecurse(D,r)&&(S=!0)}):S=e.func(r),S}}Xh.moduleName="filter";Xh.filters=NR;function VR(n,e,r){return this.emptyToSpace(this.sanitizeHTML(n.getValue()))}function jR(n,e,r){return n.getValue()}function UR(n,e,r){return n.getElement().style.whiteSpace="pre-wrap",this.emptyToSpace(this.sanitizeHTML(n.getValue()))}function HR(n,e,r){var S=parseFloat(n.getValue()),D="",T,p,t,d,g,i=e.decimal||".",M=e.thousand||",",v=e.negativeSign||"-",f=e.symbol||"",l=!!e.symbolAfter,a=typeof e.precision<"u"?e.precision:2;if(isNaN(S))return this.emptyToSpace(this.sanitizeHTML(n.getValue()));if(S<0&&(S=Math.abs(S),D=v),T=a!==!1?S.toFixed(a):S,T=String(T).split("."),p=T[0],t=T.length>1?i+T[1]:"",e.thousand!==!1)for(d=/(\d+)(\d{3})/;d.test(p);)p=p.replace(d,"$1"+M+"$2");return g=p+t,D===!0?(g="("+g+")",l?g+f:f+g):l?D+g+f:D+f+g}function GR(n,e,r){var S=n.getValue(),D=e.urlPrefix||"",T=e.download,p=S,t=document.createElement("a"),d;function g(i,M){var v=i.shift(),f=M[v];return i.length&&typeof f=="object"?g(i,f):f}if(e.labelField&&(d=n.getData(),p=g(e.labelField.split(this.table.options.nestedFieldSeparator),d)),e.label)switch(typeof e.label){case"string":p=e.label;break;case"function":p=e.label(n);break}if(p){if(e.urlField&&(d=n.getData(),S=so.retrieveNestedData(this.table.options.nestedFieldSeparator,e.urlField,d)),e.url)switch(typeof e.url){case"string":S=e.url;break;case"function":S=e.url(n);break}return t.setAttribute("href",D+S),e.target&&t.setAttribute("target",e.target),e.download&&(typeof T=="function"?T=T(n):T=T===!0?"":T,t.setAttribute("download",T)),t.innerHTML=this.emptyToSpace(this.sanitizeHTML(p)),t}else return" "}function qR(n,e,r){var S=document.createElement("img"),D=n.getValue();switch(e.urlPrefix&&(D=e.urlPrefix+n.getValue()),e.urlSuffix&&(D=D+e.urlSuffix),S.setAttribute("src",D),typeof e.height){case"number":S.style.height=e.height+"px";break;case"string":S.style.height=e.height;break}switch(typeof e.width){case"number":S.style.width=e.width+"px";break;case"string":S.style.width=e.width;break}return S.addEventListener("load",function(){n.getRow().normalizeHeight()}),S}function WR(n,e,r){var S=n.getValue(),D=n.getElement(),T=e.allowEmpty,p=e.allowTruthy,t=Object.keys(e).includes("trueValue"),d=typeof e.tickElement<"u"?e.tickElement:'',g=typeof e.crossElement<"u"?e.crossElement:'';return t&&S===e.trueValue||!t&&(p&&S||S===!0||S==="true"||S==="True"||S===1||S==="1")?(D.setAttribute("aria-checked",!0),d||""):T&&(S==="null"||S===""||S===null||typeof S>"u")?(D.setAttribute("aria-checked","mixed"),""):(D.setAttribute("aria-checked",!1),g||"")}function YR(n,e,r){var S=window.DateTime||luxon.DateTime,D=e.inputFormat||"yyyy-MM-dd HH:mm:ss",T=e.outputFormat||"dd/MM/yyyy HH:mm:ss",p=typeof e.invalidPlaceholder<"u"?e.invalidPlaceholder:"",t=n.getValue();if(typeof S<"u"){var d;return S.isDateTime(t)?d=t:D==="iso"?d=S.fromISO(String(t)):d=S.fromFormat(String(t),D),d.isValid?(e.timezone&&(d=d.setZone(e.timezone)),d.toFormat(T)):p===!0||!t?t:typeof p=="function"?p(t):p}else console.error("Format Error - 'datetime' formatter is dependant on luxon.js")}function $R(n,e,r){var S=window.DateTime||luxon.DateTime,D=e.inputFormat||"yyyy-MM-dd HH:mm:ss",T=typeof e.invalidPlaceholder<"u"?e.invalidPlaceholder:"",p=typeof e.suffix<"u"?e.suffix:!1,t=typeof e.unit<"u"?e.unit:"days",d=typeof e.humanize<"u"?e.humanize:!1,g=typeof e.date<"u"?e.date:S.now(),i=n.getValue();if(typeof S<"u"){var M;return S.isDateTime(i)?M=i:D==="iso"?M=S.fromISO(String(i)):M=S.fromFormat(String(i),D),M.isValid?d?M.diff(g,t).toHuman()+(p?" "+p:""):parseInt(M.diff(g,t)[t])+(p?" "+p:""):T===!0?i:typeof T=="function"?T(i):T}else console.error("Format Error - 'datetimediff' formatter is dependant on luxon.js")}function ZR(n,e,r){var S=n.getValue();return typeof e[S]>"u"?(console.warn("Missing display value for "+S),S):e[S]}function XR(n,e,r){var S=n.getValue(),D=n.getElement(),T=e&&e.stars?e.stars:5,p=document.createElement("span"),t=document.createElementNS("http://www.w3.org/2000/svg","svg"),d='',g='';p.style.verticalAlign="middle",t.setAttribute("width","14"),t.setAttribute("height","14"),t.setAttribute("viewBox","0 0 512 512"),t.setAttribute("xml:space","preserve"),t.style.padding="0 1px",S=S&&!isNaN(S)?parseInt(S):0,S=Math.max(0,Math.min(S,T));for(var i=1;i<=T;i++){var M=t.cloneNode(!0);M.innerHTML=i<=S?d:g,p.appendChild(M)}return D.style.whiteSpace="nowrap",D.style.overflow="hidden",D.style.textOverflow="ellipsis",D.setAttribute("aria-label",S),p}function KR(n,e,r){var S=this.sanitizeHTML(n.getValue())||0,D=document.createElement("span"),T=e&&e.max?e.max:100,p=e&&e.min?e.min:0,t=e&&typeof e.color<"u"?e.color:["red","orange","green"],d="#666666",g,i;if(!(isNaN(S)||typeof n.getValue()>"u")){switch(D.classList.add("tabulator-traffic-light"),i=parseFloat(S)<=T?parseFloat(S):T,i=parseFloat(i)>=p?parseFloat(i):p,g=(T-p)/100,i=Math.round((i-p)/g),typeof t){case"string":d=t;break;case"function":d=t(S);break;case"object":if(Array.isArray(t)){var M=100/t.length,v=Math.floor(i/M);v=Math.min(v,t.length-1),v=Math.max(v,0),d=t[v];break}}return D.style.backgroundColor=d,D}}function JR(n,e={},r){var S=this.sanitizeHTML(n.getValue())||0,D=n.getElement(),T=e.max?e.max:100,p=e.min?e.min:0,t=e.legendAlign?e.legendAlign:"center",d,g,i,M,v;switch(g=parseFloat(S)<=T?parseFloat(S):T,g=parseFloat(g)>=p?parseFloat(g):p,d=(T-p)/100,g=Math.round((g-p)/d),typeof e.color){case"string":i=e.color;break;case"function":i=e.color(S);break;case"object":if(Array.isArray(e.color)){let u=100/e.color.length,o=Math.floor(g/u);o=Math.min(o,e.color.length-1),o=Math.max(o,0),i=e.color[o];break}default:i="#2DC214"}switch(typeof e.legend){case"string":M=e.legend;break;case"function":M=e.legend(S);break;case"boolean":M=S;break;default:M=!1}switch(typeof e.legendColor){case"string":v=e.legendColor;break;case"function":v=e.legendColor(S);break;case"object":if(Array.isArray(e.legendColor)){let u=100/e.legendColor.length,o=Math.floor(g/u);o=Math.min(o,e.legendColor.length-1),o=Math.max(o,0),v=e.legendColor[o]}break;default:v="#000"}D.style.minWidth="30px",D.style.position="relative",D.setAttribute("aria-label",g);var f=document.createElement("div");f.style.display="inline-block",f.style.width=g+"%",f.style.backgroundColor=i,f.style.height="100%",f.setAttribute("data-max",T),f.setAttribute("data-min",p);var l=document.createElement("div");if(l.style.position="relative",l.style.width="100%",l.style.height="100%",M){var a=document.createElement("div");a.style.position="absolute",a.style.top=0,a.style.left=0,a.style.textAlign=t,a.style.width="100%",a.style.color=v,a.innerHTML=M}return r(function(){if(!(n instanceof IM)){var u=document.createElement("div");u.style.position="absolute",u.style.top="4px",u.style.bottom="4px",u.style.left="4px",u.style.right="4px",D.appendChild(u),D=u}D.appendChild(l),l.appendChild(f),M&&l.appendChild(a)}),""}function QR(n,e,r){return n.getElement().style.backgroundColor=this.sanitizeHTML(n.getValue()),""}function eP(n,e,r){return''}function tP(n,e,r){return''}function nP(n,e,r){var S=document.createElement("span"),D=n.getRow(),T=n.getTable();return D.watchPosition(p=>{e.relativeToPage&&(p+=T.modules.page.getPageSize()*(T.modules.page.getPage()-1)),S.innerText=p}),S}function rP(n,e,r){return n.getElement().classList.add("tabulator-row-handle"),"
"}function iP(n,e,r){var S=document.createElement("div"),D=n.getRow()._row.modules.responsiveLayout;S.classList.add("tabulator-responsive-collapse-toggle"),S.innerHTML=` -======== -`)):H=N.stylize("[Circular]","special")),_(q)){if(G&&U.match(/^\d+$/))return H;(q=JSON.stringify(""+U)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(q=q.slice(1,-1),q=N.stylize(q,"name")):(q=q.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),q=N.stylize(q,"string"))}return q+": "+H}function h(N){return Array.isArray(N)}function m(N){return typeof N=="boolean"}function w(N){return N===null}function y(N){return typeof N=="number"}function S(N){return typeof N=="string"}function _(N){return N===void 0}function k(N){return E(N)&&b(N)==="[object RegExp]"}function E(N){return typeof N=="object"&&N!==null}function x(N){return E(N)&&b(N)==="[object Date]"}function A(N){return E(N)&&(b(N)==="[object Error]"||N instanceof Error)}function L(N){return typeof N=="function"}function b(N){return Object.prototype.toString.call(N)}function R(N){return N<10?"0"+N.toString(10):N.toString(10)}p.debuglog=function(N){if(N=N.toUpperCase(),!M[N])if(v.test(N)){var W=d.pid;M[N]=function(){var j=p.format.apply(p,arguments);console.error("%s %d: %s",N,W,j)}}else M[N]=function(){};return M[N]},p.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},p.types=t(4936),p.isArray=h,p.isBoolean=m,p.isNull=w,p.isNullOrUndefined=function(N){return N==null},p.isNumber=y,p.isString=S,p.isSymbol=function(N){return typeof N=="symbol"},p.isUndefined=_,p.isRegExp=k,p.types.isRegExp=k,p.isObject=E,p.isDate=x,p.types.isDate=x,p.isError=A,p.types.isNativeError=A,p.isFunction=L,p.isPrimitive=function(N){return N===null||typeof N=="boolean"||typeof N=="number"||typeof N=="string"||typeof N=="symbol"||N===void 0},p.isBuffer=t(45920);var I=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function O(){var N=new Date,W=[R(N.getHours()),R(N.getMinutes()),R(N.getSeconds())].join(":");return[N.getDate(),I[N.getMonth()],W].join(" ")}function z(N,W){return Object.prototype.hasOwnProperty.call(N,W)}p.log=function(){console.log("%s - %s",O(),p.format.apply(p,arguments))},p.inherits=t(42018),p._extend=function(N,W){if(!W||!E(W))return N;for(var j=Object.keys(W),$=j.length;$--;)N[j[$]]=W[j[$]];return N};var F=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;function B(N,W){if(!N){var j=new Error("Promise was rejected with a falsy value");j.reason=N,N=j}return W(N)}p.promisify=function(N){if(typeof N!="function")throw new TypeError('The "original" argument must be of type Function');if(F&&N[F]){var W;if(typeof(W=N[F])!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(W,F,{value:W,enumerable:!1,writable:!1,configurable:!0}),W}function W(){for(var j,$,U=new Promise(function(H,ne){j=H,$=ne}),G=[],q=0;q"u"?t.g:globalThis,a=g(),u=i("String.prototype.slice"),o={},s=Object.getPrototypeOf;f&&M&&s&&d(a,function(h){if(typeof l[h]=="function"){var m=new l[h];if(Symbol.toStringTag in m){var w=s(m),y=M(w,Symbol.toStringTag);if(!y){var S=s(w);y=M(S,Symbol.toStringTag)}o[h]=y.get}}});var c=t(9187);T.exports=function(h){return!!c(h)&&(f&&Symbol.toStringTag in h?function(m){var w=!1;return d(o,function(y,S){if(!w)try{var _=y.call(m);_===S&&(w=_)}catch{}}),w}(h):u(v(h),8,-1))}},3961:function(T,p,t){var d=t(63489),g=t(56131),i=d.instance();function M(s){this.local=this.regionalOptions[s||""]||this.regionalOptions[""]}M.prototype=new d.baseCalendar,g(M.prototype,{name:"Chinese",jdEpoch:17214255e-1,hasYearZero:!1,minMonth:0,firstMonth:0,minDay:1,regionalOptions:{"":{name:"Chinese",epochs:["BEC","EC"],monthNumbers:function(s,c){if(typeof s=="string"){var h=s.match(f);return h?h[0]:""}var m=this._validateYear(s),w=s.month(),y=""+this.toChineseMonth(m,w);return c&&y.length<2&&(y="0"+y),this.isIntercalaryMonth(m,w)&&(y+="i"),y},monthNames:function(s){if(typeof s=="string"){var c=s.match(l);return c?c[0]:""}var h=this._validateYear(s),m=s.month(),w=["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"][this.toChineseMonth(h,m)-1];return this.isIntercalaryMonth(h,m)&&(w="闰"+w),w},monthNamesShort:function(s){if(typeof s=="string"){var c=s.match(a);return c?c[0]:""}var h=this._validateYear(s),m=s.month(),w=["一","二","三","四","五","六","七","八","九","十","十一","十二"][this.toChineseMonth(h,m)-1];return this.isIntercalaryMonth(h,m)&&(w="闰"+w),w},parseMonth:function(s,c){s=this._validateYear(s);var h,m=parseInt(c);if(isNaN(m))c[0]==="闰"&&(h=!0,c=c.substring(1)),c[c.length-1]==="月"&&(c=c.substring(0,c.length-1)),m=1+["一","二","三","四","五","六","七","八","九","十","十一","十二"].indexOf(c);else{var w=c[c.length-1];h=w==="i"||w==="I"}return this.toMonthIndex(s,m,h)},dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:1,isRTL:!1}},_validateYear:function(s,c){if(s.year&&(s=s.year()),typeof s!="number"||s<1888||s>2111)throw c.replace(/\{0\}/,this.local.name);return s},toMonthIndex:function(s,c,h){var m=this.intercalaryMonth(s);if(h&&c!==m||c<1||c>12)throw d.local.invalidMonth.replace(/\{0\}/,this.local.name);return m?!h&&c<=m?c-1:c:c-1},toChineseMonth:function(s,c){s.year&&(c=(s=s.year()).month());var h=this.intercalaryMonth(s);if(c<0||c>(h?12:11))throw d.local.invalidMonth.replace(/\{0\}/,this.local.name);return h?c>13},isIntercalaryMonth:function(s,c){s.year&&(c=(s=s.year()).month());var h=this.intercalaryMonth(s);return!!h&&h===c},leapYear:function(s){return this.intercalaryMonth(s)!==0},weekOfYear:function(s,c,h){var m,w=this._validateYear(s,d.local.invalidyear),y=o[w-o[0]],S=y>>9&4095,_=y>>5&15,k=31&y;(m=i.newDate(S,_,k)).add(4-(m.dayOfWeek()||7),"d");var E=this.toJD(s,c,h)-m.toJD();return 1+Math.floor(E/7)},monthsInYear:function(s){return this.leapYear(s)?13:12},daysInMonth:function(s,c){s.year&&(c=s.month(),s=s.year()),s=this._validateYear(s);var h=u[s-u[0]];if(c>(h>>13?12:11))throw d.local.invalidMonth.replace(/\{0\}/,this.local.name);return h&1<<12-c?30:29},weekDay:function(s,c,h){return(this.dayOfWeek(s,c,h)||7)<6},toJD:function(s,c,h){var m=this._validate(s,y,h,d.local.invalidDate);s=this._validateYear(m.year()),c=m.month(),h=m.day();var w=this.isIntercalaryMonth(s,c),y=this.toChineseMonth(s,c),S=function(_,k,E,x,A){var L,b,R;if(typeof _=="object")b=_,L=k||{};else{var I;if(!(typeof _=="number"&&_>=1888&&_<=2111))throw new Error("Lunar year outside range 1888-2111");if(!(typeof k=="number"&&k>=1&&k<=12))throw new Error("Lunar month outside range 1 - 12");if(!(typeof E=="number"&&E>=1&&E<=30))throw new Error("Lunar day outside range 1 - 30");typeof x=="object"?(I=!1,L=x):(I=!!x,L={}),b={year:_,month:k,day:E,isIntercalary:I}}R=b.day-1;var O,z=u[b.year-u[0]],F=z>>13;O=F&&(b.month>F||b.isIntercalary)?b.month:b.month-1;for(var B=0;B>9&4095,(N>>5&15)-1,(31&N)+R);return L.year=W.getFullYear(),L.month=1+W.getMonth(),L.day=W.getDate(),L}(s,y,h,w);return i.toJD(S.year,S.month,S.day)},fromJD:function(s){var c=i.fromJD(s),h=function(w,y,S,_){var k,E;if(typeof w=="object")k=w,E=y||{};else{if(!(typeof w=="number"&&w>=1888&&w<=2111))throw new Error("Solar year outside range 1888-2111");if(!(typeof y=="number"&&y>=1&&y<=12))throw new Error("Solar month outside range 1 - 12");if(!(typeof S=="number"&&S>=1&&S<=31))throw new Error("Solar day outside range 1 - 31");k={year:w,month:y,day:S},E={}}var x=o[k.year-o[0]],A=k.year<<9|k.month<<5|k.day;E.year=A>=x?k.year:k.year-1,x=o[E.year-o[0]];var L,b=new Date(x>>9&4095,(x>>5&15)-1,31&x),R=new Date(k.year,k.month-1,k.day);L=Math.round((R-b)/864e5);var I,O=u[E.year-u[0]];for(I=0;I<13;I++){var z=O&1<<12-I?30:29;if(L>13;return!F||I=2&&a<=6},extraInfo:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);return{century:M[Math.floor((a.year()-1)/100)+1]||""}},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);return v=a.year()+(a.year()<0?1:0),f=a.month(),(l=a.day())+(f>1?16:0)+(f>2?32*(f-2):0)+400*(v-1)+this.jdEpoch-1},fromJD:function(v){v=Math.floor(v+.5)-Math.floor(this.jdEpoch)-1;var f=Math.floor(v/400)+1;v-=400*(f-1),v+=v>15?16:0;var l=Math.floor(v/32)+1,a=v-32*(l-1)+1;return this.newDate(f<=0?f-1:f,l,a)}});var M={20:"Fruitbat",21:"Anchovy"};d.calendars.discworld=i},37715:function(T,p,t){var d=t(63489),g=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,g(i.prototype,{name:"Ethiopian",jdEpoch:17242205e-1,daysPerMonth:[30,30,30,30,30,30,30,30,30,30,30,30,5],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Ethiopian",epochs:["BEE","EE"],monthNames:["Meskerem","Tikemet","Hidar","Tahesas","Tir","Yekatit","Megabit","Miazia","Genbot","Sene","Hamle","Nehase","Pagume"],monthNamesShort:["Mes","Tik","Hid","Tah","Tir","Yek","Meg","Mia","Gen","Sen","Ham","Neh","Pag"],dayNames:["Ehud","Segno","Maksegno","Irob","Hamus","Arb","Kidame"],dayNamesShort:["Ehu","Seg","Mak","Iro","Ham","Arb","Kid"],dayNamesMin:["Eh","Se","Ma","Ir","Ha","Ar","Ki"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(M){var v=this._validate(M,this.minMonth,this.minDay,d.local.invalidYear);return(M=v.year()+(v.year()<0?1:0))%4==3||M%4==-1},monthsInYear:function(M){return this._validate(M,this.minMonth,this.minDay,d.local.invalidYear||d.regionalOptions[""].invalidYear),13},weekOfYear:function(M,v,f){var l=this.newDate(M,v,f);return l.add(-l.dayOfWeek(),"d"),Math.floor((l.dayOfYear()-1)/7)+1},daysInMonth:function(M,v){var f=this._validate(M,v,this.minDay,d.local.invalidMonth);return this.daysPerMonth[f.month()-1]+(f.month()===13&&this.leapYear(f.year())?1:0)},weekDay:function(M,v,f){return(this.dayOfWeek(M,v,f)||7)<6},toJD:function(M,v,f){var l=this._validate(M,v,f,d.local.invalidDate);return(M=l.year())<0&&M++,l.day()+30*(l.month()-1)+365*(M-1)+Math.floor(M/4)+this.jdEpoch-1},fromJD:function(M){var v=Math.floor(M)+.5-this.jdEpoch,f=Math.floor((v-Math.floor((v+366)/1461))/365)+1;f<=0&&f--,v=Math.floor(M)+.5-this.newDate(f,1,1).toJD();var l=Math.floor(v/30)+1,a=v-30*(l-1)+1;return this.newDate(f,l,a)}}),d.calendars.ethiopian=i},99384:function(T,p,t){var d=t(63489),g=t(56131);function i(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}function M(v,f){return v-f*Math.floor(v/f)}i.prototype=new d.baseCalendar,g(i.prototype,{name:"Hebrew",jdEpoch:347995.5,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29,29],hasYearZero:!1,minMonth:1,firstMonth:7,minDay:1,regionalOptions:{"":{name:"Hebrew",epochs:["BAM","AM"],monthNames:["Nisan","Iyar","Sivan","Tammuz","Av","Elul","Tishrei","Cheshvan","Kislev","Tevet","Shevat","Adar","Adar II"],monthNamesShort:["Nis","Iya","Siv","Tam","Av","Elu","Tis","Che","Kis","Tev","She","Ada","Ad2"],dayNames:["Yom Rishon","Yom Sheni","Yom Shlishi","Yom Revi'i","Yom Chamishi","Yom Shishi","Yom Shabbat"],dayNamesShort:["Ris","She","Shl","Rev","Cha","Shi","Sha"],dayNamesMin:["Ri","She","Shl","Re","Ch","Shi","Sha"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(v){var f=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return this._leapYear(f.year())},_leapYear:function(v){return M(7*(v=v<0?v+1:v)+1,19)<7},monthsInYear:function(v){return this._validate(v,this.minMonth,this.minDay,d.local.invalidYear),this._leapYear(v.year?v.year():v)?13:12},weekOfYear:function(v,f,l){var a=this.newDate(v,f,l);return a.add(-a.dayOfWeek(),"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInYear:function(v){return v=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear).year(),this.toJD(v===-1?1:v+1,7,1)-this.toJD(v,7,1)},daysInMonth:function(v,f){return v.year&&(f=v.month(),v=v.year()),this._validate(v,f,this.minDay,d.local.invalidMonth),f===12&&this.leapYear(v)||f===8&&M(this.daysInYear(v),10)===5?30:f===9&&M(this.daysInYear(v),10)===3?29:this.daysPerMonth[f-1]},weekDay:function(v,f,l){return this.dayOfWeek(v,f,l)!==6},extraInfo:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);return{yearType:(this.leapYear(a)?"embolismic":"common")+" "+["deficient","regular","complete"][this.daysInYear(a)%10-3]}},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);v=a.year(),f=a.month(),l=a.day();var u=v<=0?v+1:v,o=this.jdEpoch+this._delay1(u)+this._delay2(u)+l+1;if(f<7){for(var s=7;s<=this.monthsInYear(v);s++)o+=this.daysInMonth(v,s);for(s=1;s=this.toJD(f===-1?1:f+1,7,1);)f++;for(var l=vthis.toJD(f,l,this.daysInMonth(f,l));)l++;var a=v-this.toJD(f,l,1)+1;return this.newDate(f,l,a)}}),d.calendars.hebrew=i},43805:function(T,p,t){var d=t(63489),g=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,g(i.prototype,{name:"Islamic",jdEpoch:19484395e-1,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Islamic",epochs:["BH","AH"],monthNames:["Muharram","Safar","Rabi' al-awwal","Rabi' al-thani","Jumada al-awwal","Jumada al-thani","Rajab","Sha'aban","Ramadan","Shawwal","Dhu al-Qi'dah","Dhu al-Hijjah"],monthNamesShort:["Muh","Saf","Rab1","Rab2","Jum1","Jum2","Raj","Sha'","Ram","Shaw","DhuQ","DhuH"],dayNames:["Yawm al-ahad","Yawm al-ithnayn","Yawm ath-thulaathaa'","Yawm al-arbi'aa'","Yawm al-khamīs","Yawm al-jum'a","Yawm as-sabt"],dayNamesShort:["Aha","Ith","Thu","Arb","Kha","Jum","Sab"],dayNamesMin:["Ah","It","Th","Ar","Kh","Ju","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!1}},leapYear:function(M){return(11*this._validate(M,this.minMonth,this.minDay,d.local.invalidYear).year()+14)%30<11},weekOfYear:function(M,v,f){var l=this.newDate(M,v,f);return l.add(-l.dayOfWeek(),"d"),Math.floor((l.dayOfYear()-1)/7)+1},daysInYear:function(M){return this.leapYear(M)?355:354},daysInMonth:function(M,v){var f=this._validate(M,v,this.minDay,d.local.invalidMonth);return this.daysPerMonth[f.month()-1]+(f.month()===12&&this.leapYear(f.year())?1:0)},weekDay:function(M,v,f){return this.dayOfWeek(M,v,f)!==5},toJD:function(M,v,f){var l=this._validate(M,v,f,d.local.invalidDate);return M=l.year(),v=l.month(),M=M<=0?M+1:M,(f=l.day())+Math.ceil(29.5*(v-1))+354*(M-1)+Math.floor((3+11*M)/30)+this.jdEpoch-1},fromJD:function(M){M=Math.floor(M)+.5;var v=Math.floor((30*(M-this.jdEpoch)+10646)/10631);v=v<=0?v-1:v;var f=Math.min(12,Math.ceil((M-29-this.toJD(v,1,1))/29.5)+1),l=M-this.toJD(v,f,1)+1;return this.newDate(v,f,l)}}),d.calendars.islamic=i},88874:function(T,p,t){var d=t(63489),g=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,g(i.prototype,{name:"Julian",jdEpoch:17214235e-1,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Julian",epochs:["BC","AD"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"mm/dd/yyyy",firstDay:0,isRTL:!1}},leapYear:function(M){var v=this._validate(M,this.minMonth,this.minDay,d.local.invalidYear);return(M=v.year()<0?v.year()+1:v.year())%4==0},weekOfYear:function(M,v,f){var l=this.newDate(M,v,f);return l.add(4-(l.dayOfWeek()||7),"d"),Math.floor((l.dayOfYear()-1)/7)+1},daysInMonth:function(M,v){var f=this._validate(M,v,this.minDay,d.local.invalidMonth);return this.daysPerMonth[f.month()-1]+(f.month()===2&&this.leapYear(f.year())?1:0)},weekDay:function(M,v,f){return(this.dayOfWeek(M,v,f)||7)<6},toJD:function(M,v,f){var l=this._validate(M,v,f,d.local.invalidDate);return M=l.year(),v=l.month(),f=l.day(),M<0&&M++,v<=2&&(M--,v+=12),Math.floor(365.25*(M+4716))+Math.floor(30.6001*(v+1))+f-1524.5},fromJD:function(M){var v=Math.floor(M+.5)+1524,f=Math.floor((v-122.1)/365.25),l=Math.floor(365.25*f),a=Math.floor((v-l)/30.6001),u=a-Math.floor(a<14?1:13),o=f-Math.floor(u>2?4716:4715),s=v-l-Math.floor(30.6001*a);return o<=0&&o--,this.newDate(o,u,s)}}),d.calendars.julian=i},83290:function(T,p,t){var d=t(63489),g=t(56131);function i(f){this.local=this.regionalOptions[f||""]||this.regionalOptions[""]}function M(f,l){return f-l*Math.floor(f/l)}function v(f,l){return M(f-1,l)+1}i.prototype=new d.baseCalendar,g(i.prototype,{name:"Mayan",jdEpoch:584282.5,hasYearZero:!0,minMonth:0,firstMonth:0,minDay:0,regionalOptions:{"":{name:"Mayan",epochs:["",""],monthNames:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"],monthNamesShort:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"],dayNames:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],dayNamesShort:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],dayNamesMin:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"],digits:null,dateFormat:"YYYY.m.d",firstDay:0,isRTL:!1,haabMonths:["Pop","Uo","Zip","Zotz","Tzec","Xul","Yaxkin","Mol","Chen","Yax","Zac","Ceh","Mac","Kankin","Muan","Pax","Kayab","Cumku","Uayeb"],tzolkinMonths:["Imix","Ik","Akbal","Kan","Chicchan","Cimi","Manik","Lamat","Muluc","Oc","Chuen","Eb","Ben","Ix","Men","Cib","Caban","Etznab","Cauac","Ahau"]}},leapYear:function(f){return this._validate(f,this.minMonth,this.minDay,d.local.invalidYear),!1},formatYear:function(f){f=this._validate(f,this.minMonth,this.minDay,d.local.invalidYear).year();var l=Math.floor(f/400);return f%=400,f+=f<0?400:0,l+"."+Math.floor(f/20)+"."+f%20},forYear:function(f){if((f=f.split(".")).length<3)throw"Invalid Mayan year";for(var l=0,a=0;a19||a>0&&u<0)throw"Invalid Mayan year";l=20*l+u}return l},monthsInYear:function(f){return this._validate(f,this.minMonth,this.minDay,d.local.invalidYear),18},weekOfYear:function(f,l,a){return this._validate(f,l,a,d.local.invalidDate),0},daysInYear:function(f){return this._validate(f,this.minMonth,this.minDay,d.local.invalidYear),360},daysInMonth:function(f,l){return this._validate(f,l,this.minDay,d.local.invalidMonth),20},daysInWeek:function(){return 5},dayOfWeek:function(f,l,a){return this._validate(f,l,a,d.local.invalidDate).day()},weekDay:function(f,l,a){return this._validate(f,l,a,d.local.invalidDate),!0},extraInfo:function(f,l,a){var u=this._validate(f,l,a,d.local.invalidDate).toJD(),o=this._toHaab(u),s=this._toTzolkin(u);return{haabMonthName:this.local.haabMonths[o[0]-1],haabMonth:o[0],haabDay:o[1],tzolkinDayName:this.local.tzolkinMonths[s[0]-1],tzolkinDay:s[0],tzolkinTrecena:s[1]}},_toHaab:function(f){var l=M(8+(f-=this.jdEpoch)+340,365);return[Math.floor(l/20)+1,M(l,20)]},_toTzolkin:function(f){return[v(20+(f-=this.jdEpoch),20),v(f+4,13)]},toJD:function(f,l,a){var u=this._validate(f,l,a,d.local.invalidDate);return u.day()+20*u.month()+360*u.year()+this.jdEpoch},fromJD:function(f){f=Math.floor(f)+.5-this.jdEpoch;var l=Math.floor(f/360);f%=360,f+=f<0?360:0;var a=Math.floor(f/20),u=f%20;return this.newDate(l,a,u)}}),d.calendars.mayan=i},29108:function(T,p,t){var d=t(63489),g=t(56131);function i(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar;var M=d.instance("gregorian");g(i.prototype,{name:"Nanakshahi",jdEpoch:22576735e-1,daysPerMonth:[31,31,31,31,31,30,30,30,30,30,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Nanakshahi",epochs:["BN","AN"],monthNames:["Chet","Vaisakh","Jeth","Harh","Sawan","Bhadon","Assu","Katak","Maghar","Poh","Magh","Phagun"],monthNamesShort:["Che","Vai","Jet","Har","Saw","Bha","Ass","Kat","Mgr","Poh","Mgh","Pha"],dayNames:["Somvaar","Mangalvar","Budhvaar","Veervaar","Shukarvaar","Sanicharvaar","Etvaar"],dayNamesShort:["Som","Mangal","Budh","Veer","Shukar","Sanichar","Et"],dayNamesMin:["So","Ma","Bu","Ve","Sh","Sa","Et"],digits:null,dateFormat:"dd-mm-yyyy",firstDay:0,isRTL:!1}},leapYear:function(v){var f=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear||d.regionalOptions[""].invalidYear);return M.leapYear(f.year()+(f.year()<1?1:0)+1469)},weekOfYear:function(v,f,l){var a=this.newDate(v,f,l);return a.add(1-(a.dayOfWeek()||7),"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInMonth:function(v,f){var l=this._validate(v,f,this.minDay,d.local.invalidMonth);return this.daysPerMonth[l.month()-1]+(l.month()===12&&this.leapYear(l.year())?1:0)},weekDay:function(v,f,l){return(this.dayOfWeek(v,f,l)||7)<6},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidMonth);(v=a.year())<0&&v++;for(var u=a.day(),o=1;o=this.toJD(f+1,1,1);)f++;for(var l=v-Math.floor(this.toJD(f,1,1)+.5)+1,a=1;l>this.daysInMonth(f,a);)l-=this.daysInMonth(f,a),a++;return this.newDate(f,a,l)}}),d.calendars.nanakshahi=i},55422:function(T,p,t){var d=t(63489),g=t(56131);function i(M){this.local=this.regionalOptions[M||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,g(i.prototype,{name:"Nepali",jdEpoch:17007095e-1,daysPerMonth:[31,31,32,32,31,30,30,29,30,29,30,30],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,daysPerYear:365,regionalOptions:{"":{name:"Nepali",epochs:["BBS","ABS"],monthNames:["Baisakh","Jestha","Ashadh","Shrawan","Bhadra","Ashwin","Kartik","Mangsir","Paush","Mangh","Falgun","Chaitra"],monthNamesShort:["Bai","Je","As","Shra","Bha","Ash","Kar","Mang","Pau","Ma","Fal","Chai"],dayNames:["Aaitabaar","Sombaar","Manglbaar","Budhabaar","Bihibaar","Shukrabaar","Shanibaar"],dayNamesShort:["Aaita","Som","Mangl","Budha","Bihi","Shukra","Shani"],dayNamesMin:["Aai","So","Man","Bu","Bi","Shu","Sha"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:1,isRTL:!1}},leapYear:function(M){return this.daysInYear(M)!==this.daysPerYear},weekOfYear:function(M,v,f){var l=this.newDate(M,v,f);return l.add(-l.dayOfWeek(),"d"),Math.floor((l.dayOfYear()-1)/7)+1},daysInYear:function(M){if(M=this._validate(M,this.minMonth,this.minDay,d.local.invalidYear).year(),this.NEPALI_CALENDAR_DATA[M]===void 0)return this.daysPerYear;for(var v=0,f=this.minMonth;f<=12;f++)v+=this.NEPALI_CALENDAR_DATA[M][f];return v},daysInMonth:function(M,v){return M.year&&(v=M.month(),M=M.year()),this._validate(M,v,this.minDay,d.local.invalidMonth),this.NEPALI_CALENDAR_DATA[M]===void 0?this.daysPerMonth[v-1]:this.NEPALI_CALENDAR_DATA[M][v]},weekDay:function(M,v,f){return this.dayOfWeek(M,v,f)!==6},toJD:function(M,v,f){var l=this._validate(M,v,f,d.local.invalidDate);M=l.year(),v=l.month(),f=l.day();var a=d.instance(),u=0,o=v,s=M;this._createMissingCalendarData(M);var c=M-(o>9||o===9&&f>=this.NEPALI_CALENDAR_DATA[s][0]?56:57);for(v!==9&&(u=f,o--);o!==9;)o<=0&&(o=12,s--),u+=this.NEPALI_CALENDAR_DATA[s][o],o--;return v===9?(u+=f-this.NEPALI_CALENDAR_DATA[s][0])<0&&(u+=a.daysInYear(c)):u+=this.NEPALI_CALENDAR_DATA[s][9]-this.NEPALI_CALENDAR_DATA[s][0],a.newDate(c,1,1).add(u,"d").toJD()},fromJD:function(M){var v=d.instance().fromJD(M),f=v.year(),l=v.dayOfYear(),a=f+56;this._createMissingCalendarData(a);for(var u=9,o=this.NEPALI_CALENDAR_DATA[a][0],s=this.NEPALI_CALENDAR_DATA[a][u]-o+1;l>s;)++u>12&&(u=1,a++),s+=this.NEPALI_CALENDAR_DATA[a][u];var c=this.NEPALI_CALENDAR_DATA[a][u]-(s-l);return this.newDate(a,u,c)},_createMissingCalendarData:function(M){var v=this.daysPerMonth.slice(0);v.unshift(17);for(var f=M-1;f0?474:473))%2820+474+38)%2816<682},weekOfYear:function(v,f,l){var a=this.newDate(v,f,l);return a.add(-(a.dayOfWeek()+1)%7,"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInMonth:function(v,f){var l=this._validate(v,f,this.minDay,d.local.invalidMonth);return this.daysPerMonth[l.month()-1]+(l.month()===12&&this.leapYear(l.year())?1:0)},weekDay:function(v,f,l){return this.dayOfWeek(v,f,l)!==5},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);v=a.year(),f=a.month(),l=a.day();var u=v-(v>=0?474:473),o=474+M(u,2820);return l+(f<=7?31*(f-1):30*(f-1)+6)+Math.floor((682*o-110)/2816)+365*(o-1)+1029983*Math.floor(u/2820)+this.jdEpoch-1},fromJD:function(v){var f=(v=Math.floor(v)+.5)-this.toJD(475,1,1),l=Math.floor(f/1029983),a=M(f,1029983),u=2820;if(a!==1029982){var o=Math.floor(a/366),s=M(a,366);u=Math.floor((2134*o+2816*s+2815)/1028522)+o+1}var c=u+2820*l+474;c=c<=0?c-1:c;var h=v-this.toJD(c,1,1)+1,m=h<=186?Math.ceil(h/31):Math.ceil((h-6)/30),w=v-this.toJD(c,m,1)+1;return this.newDate(c,m,w)}}),d.calendars.persian=i,d.calendars.jalali=i},31320:function(T,p,t){var d=t(63489),g=t(56131),i=d.instance();function M(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}M.prototype=new d.baseCalendar,g(M.prototype,{name:"Taiwan",jdEpoch:24194025e-1,yearsOffset:1911,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Taiwan",epochs:["BROC","ROC"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:1,isRTL:!1}},leapYear:function(v){var f=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return v=this._t2gYear(f.year()),i.leapYear(v)},weekOfYear:function(v,f,l){var a=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return v=this._t2gYear(a.year()),i.weekOfYear(v,a.month(),a.day())},daysInMonth:function(v,f){var l=this._validate(v,f,this.minDay,d.local.invalidMonth);return this.daysPerMonth[l.month()-1]+(l.month()===2&&this.leapYear(l.year())?1:0)},weekDay:function(v,f,l){return(this.dayOfWeek(v,f,l)||7)<6},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);return v=this._t2gYear(a.year()),i.toJD(v,a.month(),a.day())},fromJD:function(v){var f=i.fromJD(v),l=this._g2tYear(f.year());return this.newDate(l,f.month(),f.day())},_t2gYear:function(v){return v+this.yearsOffset+(v>=-this.yearsOffset&&v<=-1?1:0)},_g2tYear:function(v){return v-this.yearsOffset-(v>=1&&v<=this.yearsOffset?1:0)}}),d.calendars.taiwan=M},51367:function(T,p,t){var d=t(63489),g=t(56131),i=d.instance();function M(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}M.prototype=new d.baseCalendar,g(M.prototype,{name:"Thai",jdEpoch:15230985e-1,yearsOffset:543,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Thai",epochs:["BBE","BE"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],digits:null,dateFormat:"dd/mm/yyyy",firstDay:0,isRTL:!1}},leapYear:function(v){var f=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return v=this._t2gYear(f.year()),i.leapYear(v)},weekOfYear:function(v,f,l){var a=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return v=this._t2gYear(a.year()),i.weekOfYear(v,a.month(),a.day())},daysInMonth:function(v,f){var l=this._validate(v,f,this.minDay,d.local.invalidMonth);return this.daysPerMonth[l.month()-1]+(l.month()===2&&this.leapYear(l.year())?1:0)},weekDay:function(v,f,l){return(this.dayOfWeek(v,f,l)||7)<6},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate);return v=this._t2gYear(a.year()),i.toJD(v,a.month(),a.day())},fromJD:function(v){var f=i.fromJD(v),l=this._g2tYear(f.year());return this.newDate(l,f.month(),f.day())},_t2gYear:function(v){return v-this.yearsOffset-(v>=1&&v<=this.yearsOffset?1:0)},_g2tYear:function(v){return v+this.yearsOffset+(v>=-this.yearsOffset&&v<=-1?1:0)}}),d.calendars.thai=M},21457:function(T,p,t){var d=t(63489),g=t(56131);function i(v){this.local=this.regionalOptions[v||""]||this.regionalOptions[""]}i.prototype=new d.baseCalendar,g(i.prototype,{name:"UmmAlQura",hasYearZero:!1,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{"":{name:"Umm al-Qura",epochs:["BH","AH"],monthNames:["Al-Muharram","Safar","Rabi' al-awwal","Rabi' Al-Thani","Jumada Al-Awwal","Jumada Al-Thani","Rajab","Sha'aban","Ramadan","Shawwal","Dhu al-Qi'dah","Dhu al-Hijjah"],monthNamesShort:["Muh","Saf","Rab1","Rab2","Jum1","Jum2","Raj","Sha'","Ram","Shaw","DhuQ","DhuH"],dayNames:["Yawm al-Ahad","Yawm al-Ithnain","Yawm al-Thalāthā’","Yawm al-Arba‘ā’","Yawm al-Khamīs","Yawm al-Jum‘a","Yawm al-Sabt"],dayNamesMin:["Ah","Ith","Th","Ar","Kh","Ju","Sa"],digits:null,dateFormat:"yyyy/mm/dd",firstDay:6,isRTL:!0}},leapYear:function(v){var f=this._validate(v,this.minMonth,this.minDay,d.local.invalidYear);return this.daysInYear(f.year())===355},weekOfYear:function(v,f,l){var a=this.newDate(v,f,l);return a.add(-a.dayOfWeek(),"d"),Math.floor((a.dayOfYear()-1)/7)+1},daysInYear:function(v){for(var f=0,l=1;l<=12;l++)f+=this.daysInMonth(v,l);return f},daysInMonth:function(v,f){for(var l=this._validate(v,f,this.minDay,d.local.invalidMonth).toJD()-24e5+.5,a=0,u=0;ul)return M[a]-M[a-1];a++}return 30},weekDay:function(v,f,l){return this.dayOfWeek(v,f,l)!==5},toJD:function(v,f,l){var a=this._validate(v,f,l,d.local.invalidDate),u=12*(a.year()-1)+a.month()-15292;return a.day()+M[u-1]-1+24e5-.5},fromJD:function(v){for(var f=v-24e5+.5,l=0,a=0;af);a++)l++;var u=l+15292,o=Math.floor((u-1)/12),s=o+1,c=u-12*o,h=f-M[l-1]+1;return this.newDate(s,c,h)},isValid:function(v,f,l){var a=d.baseCalendar.prototype.isValid.apply(this,arguments);return a&&(a=(v=v.year!=null?v.year:v)>=1276&&v<=1500),a},_validate:function(v,f,l,a){var u=d.baseCalendar.prototype._validate.apply(this,arguments);if(u.year<1276||u.year>1500)throw a.replace(/\{0\}/,this.local.name);return u}}),d.calendars.ummalqura=i;var M=[20,50,79,109,138,168,197,227,256,286,315,345,374,404,433,463,492,522,551,581,611,641,670,700,729,759,788,818,847,877,906,936,965,995,1024,1054,1083,1113,1142,1172,1201,1231,1260,1290,1320,1350,1379,1409,1438,1468,1497,1527,1556,1586,1615,1645,1674,1704,1733,1763,1792,1822,1851,1881,1910,1940,1969,1999,2028,2058,2087,2117,2146,2176,2205,2235,2264,2294,2323,2353,2383,2413,2442,2472,2501,2531,2560,2590,2619,2649,2678,2708,2737,2767,2796,2826,2855,2885,2914,2944,2973,3003,3032,3062,3091,3121,3150,3180,3209,3239,3268,3298,3327,3357,3386,3416,3446,3476,3505,3535,3564,3594,3623,3653,3682,3712,3741,3771,3800,3830,3859,3889,3918,3948,3977,4007,4036,4066,4095,4125,4155,4185,4214,4244,4273,4303,4332,4362,4391,4421,4450,4480,4509,4539,4568,4598,4627,4657,4686,4716,4745,4775,4804,4834,4863,4893,4922,4952,4981,5011,5040,5070,5099,5129,5158,5188,5218,5248,5277,5307,5336,5366,5395,5425,5454,5484,5513,5543,5572,5602,5631,5661,5690,5720,5749,5779,5808,5838,5867,5897,5926,5956,5985,6015,6044,6074,6103,6133,6162,6192,6221,6251,6281,6311,6340,6370,6399,6429,6458,6488,6517,6547,6576,6606,6635,6665,6694,6724,6753,6783,6812,6842,6871,6901,6930,6960,6989,7019,7048,7078,7107,7137,7166,7196,7225,7255,7284,7314,7344,7374,7403,7433,7462,7492,7521,7551,7580,7610,7639,7669,7698,7728,7757,7787,7816,7846,7875,7905,7934,7964,7993,8023,8053,8083,8112,8142,8171,8201,8230,8260,8289,8319,8348,8378,8407,8437,8466,8496,8525,8555,8584,8614,8643,8673,8702,8732,8761,8791,8821,8850,8880,8909,8938,8968,8997,9027,9056,9086,9115,9145,9175,9205,9234,9264,9293,9322,9352,9381,9410,9440,9470,9499,9529,9559,9589,9618,9648,9677,9706,9736,9765,9794,9824,9853,9883,9913,9943,9972,10002,10032,10061,10090,10120,10149,10178,10208,10237,10267,10297,10326,10356,10386,10415,10445,10474,10504,10533,10562,10592,10621,10651,10680,10710,10740,10770,10799,10829,10858,10888,10917,10947,10976,11005,11035,11064,11094,11124,11153,11183,11213,11242,11272,11301,11331,11360,11389,11419,11448,11478,11507,11537,11567,11596,11626,11655,11685,11715,11744,11774,11803,11832,11862,11891,11921,11950,11980,12010,12039,12069,12099,12128,12158,12187,12216,12246,12275,12304,12334,12364,12393,12423,12453,12483,12512,12542,12571,12600,12630,12659,12688,12718,12747,12777,12807,12837,12866,12896,12926,12955,12984,13014,13043,13072,13102,13131,13161,13191,13220,13250,13280,13310,13339,13368,13398,13427,13456,13486,13515,13545,13574,13604,13634,13664,13693,13723,13752,13782,13811,13840,13870,13899,13929,13958,13988,14018,14047,14077,14107,14136,14166,14195,14224,14254,14283,14313,14342,14372,14401,14431,14461,14490,14520,14550,14579,14609,14638,14667,14697,14726,14756,14785,14815,14844,14874,14904,14933,14963,14993,15021,15051,15081,15110,15140,15169,15199,15228,15258,15287,15317,15347,15377,15406,15436,15465,15494,15524,15553,15582,15612,15641,15671,15701,15731,15760,15790,15820,15849,15878,15908,15937,15966,15996,16025,16055,16085,16114,16144,16174,16204,16233,16262,16292,16321,16350,16380,16409,16439,16468,16498,16528,16558,16587,16617,16646,16676,16705,16734,16764,16793,16823,16852,16882,16912,16941,16971,17001,17030,17060,17089,17118,17148,17177,17207,17236,17266,17295,17325,17355,17384,17414,17444,17473,17502,17532,17561,17591,17620,17650,17679,17709,17738,17768,17798,17827,17857,17886,17916,17945,17975,18004,18034,18063,18093,18122,18152,18181,18211,18241,18270,18300,18330,18359,18388,18418,18447,18476,18506,18535,18565,18595,18625,18654,18684,18714,18743,18772,18802,18831,18860,18890,18919,18949,18979,19008,19038,19068,19098,19127,19156,19186,19215,19244,19274,19303,19333,19362,19392,19422,19452,19481,19511,19540,19570,19599,19628,19658,19687,19717,19746,19776,19806,19836,19865,19895,19924,19954,19983,20012,20042,20071,20101,20130,20160,20190,20219,20249,20279,20308,20338,20367,20396,20426,20455,20485,20514,20544,20573,20603,20633,20662,20692,20721,20751,20780,20810,20839,20869,20898,20928,20957,20987,21016,21046,21076,21105,21135,21164,21194,21223,21253,21282,21312,21341,21371,21400,21430,21459,21489,21519,21548,21578,21607,21637,21666,21696,21725,21754,21784,21813,21843,21873,21902,21932,21962,21991,22021,22050,22080,22109,22138,22168,22197,22227,22256,22286,22316,22346,22375,22405,22434,22464,22493,22522,22552,22581,22611,22640,22670,22700,22730,22759,22789,22818,22848,22877,22906,22936,22965,22994,23024,23054,23083,23113,23143,23173,23202,23232,23261,23290,23320,23349,23379,23408,23438,23467,23497,23527,23556,23586,23616,23645,23674,23704,23733,23763,23792,23822,23851,23881,23910,23940,23970,23999,24029,24058,24088,24117,24147,24176,24206,24235,24265,24294,24324,24353,24383,24413,24442,24472,24501,24531,24560,24590,24619,24648,24678,24707,24737,24767,24796,24826,24856,24885,24915,24944,24974,25003,25032,25062,25091,25121,25150,25180,25210,25240,25269,25299,25328,25358,25387,25416,25446,25475,25505,25534,25564,25594,25624,25653,25683,25712,25742,25771,25800,25830,25859,25888,25918,25948,25977,26007,26037,26067,26096,26126,26155,26184,26214,26243,26272,26302,26332,26361,26391,26421,26451,26480,26510,26539,26568,26598,26627,26656,26686,26715,26745,26775,26805,26834,26864,26893,26923,26952,26982,27011,27041,27070,27099,27129,27159,27188,27218,27248,27277,27307,27336,27366,27395,27425,27454,27484,27513,27542,27572,27602,27631,27661,27691,27720,27750,27779,27809,27838,27868,27897,27926,27956,27985,28015,28045,28074,28104,28134,28163,28193,28222,28252,28281,28310,28340,28369,28399,28428,28458,28488,28517,28547,28577,28607,28636,28665,28695,28724,28754,28783,28813,28843,28872,28901,28931,28960,28990,29019,29049,29078,29108,29137,29167,29196,29226,29255,29285,29315,29345,29375,29404,29434,29463,29492,29522,29551,29580,29610,29640,29669,29699,29729,29759,29788,29818,29847,29876,29906,29935,29964,29994,30023,30053,30082,30112,30141,30171,30200,30230,30259,30289,30318,30348,30378,30408,30437,30467,30496,30526,30555,30585,30614,30644,30673,30703,30732,30762,30791,30821,30850,30880,30909,30939,30968,30998,31027,31057,31086,31116,31145,31175,31204,31234,31263,31293,31322,31352,31381,31411,31441,31471,31500,31530,31559,31589,31618,31648,31676,31706,31736,31766,31795,31825,31854,31884,31913,31943,31972,32002,32031,32061,32090,32120,32150,32180,32209,32239,32268,32298,32327,32357,32386,32416,32445,32475,32504,32534,32563,32593,32622,32652,32681,32711,32740,32770,32799,32829,32858,32888,32917,32947,32976,33006,33035,33065,33094,33124,33153,33183,33213,33243,33272,33302,33331,33361,33390,33420,33450,33479,33509,33539,33568,33598,33627,33657,33686,33716,33745,33775,33804,33834,33863,33893,33922,33952,33981,34011,34040,34069,34099,34128,34158,34187,34217,34247,34277,34306,34336,34365,34395,34424,34454,34483,34512,34542,34571,34601,34631,34660,34690,34719,34749,34778,34808,34837,34867,34896,34926,34955,34985,35015,35044,35074,35103,35133,35162,35192,35222,35251,35280,35310,35340,35370,35399,35429,35458,35488,35517,35547,35576,35605,35635,35665,35694,35723,35753,35782,35811,35841,35871,35901,35930,35960,35989,36019,36048,36078,36107,36136,36166,36195,36225,36254,36284,36314,36343,36373,36403,36433,36462,36492,36521,36551,36580,36610,36639,36669,36698,36728,36757,36786,36816,36845,36875,36904,36934,36963,36993,37022,37052,37081,37111,37141,37170,37200,37229,37259,37288,37318,37347,37377,37406,37436,37465,37495,37524,37554,37584,37613,37643,37672,37701,37731,37760,37790,37819,37849,37878,37908,37938,37967,37997,38027,38056,38085,38115,38144,38174,38203,38233,38262,38292,38322,38351,38381,38410,38440,38469,38499,38528,38558,38587,38617,38646,38676,38705,38735,38764,38794,38823,38853,38882,38912,38941,38971,39001,39030,39059,39089,39118,39148,39178,39208,39237,39267,39297,39326,39355,39385,39414,39444,39473,39503,39532,39562,39592,39621,39650,39680,39709,39739,39768,39798,39827,39857,39886,39916,39946,39975,40005,40035,40064,40094,40123,40153,40182,40212,40241,40271,40300,40330,40359,40389,40418,40448,40477,40507,40536,40566,40595,40625,40655,40685,40714,40744,40773,40803,40832,40862,40892,40921,40951,40980,41009,41039,41068,41098,41127,41157,41186,41216,41245,41275,41304,41334,41364,41393,41422,41452,41481,41511,41540,41570,41599,41629,41658,41688,41718,41748,41777,41807,41836,41865,41894,41924,41953,41983,42012,42042,42072,42102,42131,42161,42190,42220,42249,42279,42308,42337,42367,42397,42426,42456,42485,42515,42545,42574,42604,42633,42662,42692,42721,42751,42780,42810,42839,42869,42899,42929,42958,42988,43017,43046,43076,43105,43135,43164,43194,43223,43253,43283,43312,43342,43371,43401,43430,43460,43489,43519,43548,43578,43607,43637,43666,43696,43726,43755,43785,43814,43844,43873,43903,43932,43962,43991,44021,44050,44080,44109,44139,44169,44198,44228,44258,44287,44317,44346,44375,44405,44434,44464,44493,44523,44553,44582,44612,44641,44671,44700,44730,44759,44788,44818,44847,44877,44906,44936,44966,44996,45025,45055,45084,45114,45143,45172,45202,45231,45261,45290,45320,45350,45380,45409,45439,45468,45498,45527,45556,45586,45615,45644,45674,45704,45733,45763,45793,45823,45852,45882,45911,45940,45970,45999,46028,46058,46088,46117,46147,46177,46206,46236,46265,46295,46324,46354,46383,46413,46442,46472,46501,46531,46560,46590,46620,46649,46679,46708,46738,46767,46797,46826,46856,46885,46915,46944,46974,47003,47033,47063,47092,47122,47151,47181,47210,47240,47269,47298,47328,47357,47387,47417,47446,47476,47506,47535,47565,47594,47624,47653,47682,47712,47741,47771,47800,47830,47860,47890,47919,47949,47978,48008,48037,48066,48096,48125,48155,48184,48214,48244,48273,48303,48333,48362,48392,48421,48450,48480,48509,48538,48568,48598,48627,48657,48687,48717,48746,48776,48805,48834,48864,48893,48922,48952,48982,49011,49041,49071,49100,49130,49160,49189,49218,49248,49277,49306,49336,49365,49395,49425,49455,49484,49514,49543,49573,49602,49632,49661,49690,49720,49749,49779,49809,49838,49868,49898,49927,49957,49986,50016,50045,50075,50104,50133,50163,50192,50222,50252,50281,50311,50340,50370,50400,50429,50459,50488,50518,50547,50576,50606,50635,50665,50694,50724,50754,50784,50813,50843,50872,50902,50931,50960,50990,51019,51049,51078,51108,51138,51167,51197,51227,51256,51286,51315,51345,51374,51403,51433,51462,51492,51522,51552,51582,51611,51641,51670,51699,51729,51758,51787,51816,51846,51876,51906,51936,51965,51995,52025,52054,52083,52113,52142,52171,52200,52230,52260,52290,52319,52349,52379,52408,52438,52467,52497,52526,52555,52585,52614,52644,52673,52703,52733,52762,52792,52822,52851,52881,52910,52939,52969,52998,53028,53057,53087,53116,53146,53176,53205,53235,53264,53294,53324,53353,53383,53412,53441,53471,53500,53530,53559,53589,53619,53648,53678,53708,53737,53767,53796,53825,53855,53884,53913,53943,53973,54003,54032,54062,54092,54121,54151,54180,54209,54239,54268,54297,54327,54357,54387,54416,54446,54476,54505,54535,54564,54593,54623,54652,54681,54711,54741,54770,54800,54830,54859,54889,54919,54948,54977,55007,55036,55066,55095,55125,55154,55184,55213,55243,55273,55302,55332,55361,55391,55420,55450,55479,55508,55538,55567,55597,55627,55657,55686,55716,55745,55775,55804,55834,55863,55892,55922,55951,55981,56011,56040,56070,56100,56129,56159,56188,56218,56247,56276,56306,56335,56365,56394,56424,56454,56483,56513,56543,56572,56601,56631,56660,56690,56719,56749,56778,56808,56837,56867,56897,56926,56956,56985,57015,57044,57074,57103,57133,57162,57192,57221,57251,57280,57310,57340,57369,57399,57429,57458,57487,57517,57546,57576,57605,57634,57664,57694,57723,57753,57783,57813,57842,57871,57901,57930,57959,57989,58018,58048,58077,58107,58137,58167,58196,58226,58255,58285,58314,58343,58373,58402,58432,58461,58491,58521,58551,58580,58610,58639,58669,58698,58727,58757,58786,58816,58845,58875,58905,58934,58964,58994,59023,59053,59082,59111,59141,59170,59200,59229,59259,59288,59318,59348,59377,59407,59436,59466,59495,59525,59554,59584,59613,59643,59672,59702,59731,59761,59791,59820,59850,59879,59909,59939,59968,59997,60027,60056,60086,60115,60145,60174,60204,60234,60264,60293,60323,60352,60381,60411,60440,60469,60499,60528,60558,60588,60618,60648,60677,60707,60736,60765,60795,60824,60853,60883,60912,60942,60972,61002,61031,61061,61090,61120,61149,61179,61208,61237,61267,61296,61326,61356,61385,61415,61445,61474,61504,61533,61563,61592,61621,61651,61680,61710,61739,61769,61799,61828,61858,61888,61917,61947,61976,62006,62035,62064,62094,62123,62153,62182,62212,62242,62271,62301,62331,62360,62390,62419,62448,62478,62507,62537,62566,62596,62625,62655,62685,62715,62744,62774,62803,62832,62862,62891,62921,62950,62980,63009,63039,63069,63099,63128,63157,63187,63216,63246,63275,63305,63334,63363,63393,63423,63453,63482,63512,63541,63571,63600,63630,63659,63689,63718,63747,63777,63807,63836,63866,63895,63925,63955,63984,64014,64043,64073,64102,64131,64161,64190,64220,64249,64279,64309,64339,64368,64398,64427,64457,64486,64515,64545,64574,64603,64633,64663,64692,64722,64752,64782,64811,64841,64870,64899,64929,64958,64987,65017,65047,65076,65106,65136,65166,65195,65225,65254,65283,65313,65342,65371,65401,65431,65460,65490,65520,65549,65579,65608,65638,65667,65697,65726,65755,65785,65815,65844,65874,65903,65933,65963,65992,66022,66051,66081,66110,66140,66169,66199,66228,66258,66287,66317,66346,66376,66405,66435,66465,66494,66524,66553,66583,66612,66641,66671,66700,66730,66760,66789,66819,66849,66878,66908,66937,66967,66996,67025,67055,67084,67114,67143,67173,67203,67233,67262,67292,67321,67351,67380,67409,67439,67468,67497,67527,67557,67587,67617,67646,67676,67705,67735,67764,67793,67823,67852,67882,67911,67941,67971,68e3,68030,68060,68089,68119,68148,68177,68207,68236,68266,68295,68325,68354,68384,68414,68443,68473,68502,68532,68561,68591,68620,68650,68679,68708,68738,68768,68797,68827,68857,68886,68916,68946,68975,69004,69034,69063,69092,69122,69152,69181,69211,69240,69270,69300,69330,69359,69388,69418,69447,69476,69506,69535,69565,69595,69624,69654,69684,69713,69743,69772,69802,69831,69861,69890,69919,69949,69978,70008,70038,70067,70097,70126,70156,70186,70215,70245,70274,70303,70333,70362,70392,70421,70451,70481,70510,70540,70570,70599,70629,70658,70687,70717,70746,70776,70805,70835,70864,70894,70924,70954,70983,71013,71042,71071,71101,71130,71159,71189,71218,71248,71278,71308,71337,71367,71397,71426,71455,71485,71514,71543,71573,71602,71632,71662,71691,71721,71751,71781,71810,71839,71869,71898,71927,71957,71986,72016,72046,72075,72105,72135,72164,72194,72223,72253,72282,72311,72341,72370,72400,72429,72459,72489,72518,72548,72577,72607,72637,72666,72695,72725,72754,72784,72813,72843,72872,72902,72931,72961,72991,73020,73050,73080,73109,73139,73168,73197,73227,73256,73286,73315,73345,73375,73404,73434,73464,73493,73523,73552,73581,73611,73640,73669,73699,73729,73758,73788,73818,73848,73877,73907,73936,73965,73995,74024,74053,74083,74113,74142,74172,74202,74231,74261,74291,74320,74349,74379,74408,74437,74467,74497,74526,74556,74586,74615,74645,74675,74704,74733,74763,74792,74822,74851,74881,74910,74940,74969,74999,75029,75058,75088,75117,75147,75176,75206,75235,75264,75294,75323,75353,75383,75412,75442,75472,75501,75531,75560,75590,75619,75648,75678,75707,75737,75766,75796,75826,75856,75885,75915,75944,75974,76003,76032,76062,76091,76121,76150,76180,76210,76239,76269,76299,76328,76358,76387,76416,76446,76475,76505,76534,76564,76593,76623,76653,76682,76712,76741,76771,76801,76830,76859,76889,76918,76948,76977,77007,77036,77066,77096,77125,77155,77185,77214,77243,77273,77302,77332,77361,77390,77420,77450,77479,77509,77539,77569,77598,77627,77657,77686,77715,77745,77774,77804,77833,77863,77893,77923,77952,77982,78011,78041,78070,78099,78129,78158,78188,78217,78247,78277,78307,78336,78366,78395,78425,78454,78483,78513,78542,78572,78601,78631,78661,78690,78720,78750,78779,78808,78838,78867,78897,78926,78956,78985,79015,79044,79074,79104,79133,79163,79192,79222,79251,79281,79310,79340,79369,79399,79428,79458,79487,79517,79546,79576,79606,79635,79665,79695,79724,79753,79783,79812,79841,79871,79900,79930,79960,79990]},63489:function(T,p,t){var d=t(56131);function g(){this.regionalOptions=[],this.regionalOptions[""]={invalidCalendar:"Calendar {0} not found",invalidDate:"Invalid {0} date",invalidMonth:"Invalid {0} month",invalidYear:"Invalid {0} year",differentCalendars:"Cannot mix {0} and {1} dates"},this.local=this.regionalOptions[""],this.calendars={},this._localCals={}}function i(a,u,o,s){if(this._calendar=a,this._year=u,this._month=o,this._day=s,this._calendar._validateLevel===0&&!this._calendar.isValid(this._year,this._month,this._day))throw(l.local.invalidDate||l.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name)}function M(a,u){return"000000".substring(0,u-(a=""+a).length)+a}function v(){this.shortYearCutoff="+10"}function f(a){this.local=this.regionalOptions[a]||this.regionalOptions[""]}d(g.prototype,{instance:function(a,u){a=(a||"gregorian").toLowerCase(),u=u||"";var o=this._localCals[a+"-"+u];if(!o&&this.calendars[a]&&(o=new this.calendars[a](u),this._localCals[a+"-"+u]=o),!o)throw(this.local.invalidCalendar||this.regionalOptions[""].invalidCalendar).replace(/\{0\}/,a);return o},newDate:function(a,u,o,s,c){return(s=(a!=null&&a.year?a.calendar():typeof s=="string"?this.instance(s,c):s)||this.instance()).newDate(a,u,o)},substituteDigits:function(a){return function(u){return(u+"").replace(/[0-9]/g,function(o){return a[o]})}},substituteChineseDigits:function(a,u){return function(o){for(var s="",c=0;o>0;){var h=o%10;s=(h===0?"":a[h]+u[c])+s,c++,o=Math.floor(o/10)}return s.indexOf(a[1]+u[1])===0&&(s=s.substr(1)),s||a[0]}}}),d(i.prototype,{newDate:function(a,u,o){return this._calendar.newDate(a??this,u,o)},year:function(a){return arguments.length===0?this._year:this.set(a,"y")},month:function(a){return arguments.length===0?this._month:this.set(a,"m")},day:function(a){return arguments.length===0?this._day:this.set(a,"d")},date:function(a,u,o){if(!this._calendar.isValid(a,u,o))throw(l.local.invalidDate||l.regionalOptions[""].invalidDate).replace(/\{0\}/,this._calendar.local.name);return this._year=a,this._month=u,this._day=o,this},leapYear:function(){return this._calendar.leapYear(this)},epoch:function(){return this._calendar.epoch(this)},formatYear:function(){return this._calendar.formatYear(this)},monthOfYear:function(){return this._calendar.monthOfYear(this)},weekOfYear:function(){return this._calendar.weekOfYear(this)},daysInYear:function(){return this._calendar.daysInYear(this)},dayOfYear:function(){return this._calendar.dayOfYear(this)},daysInMonth:function(){return this._calendar.daysInMonth(this)},dayOfWeek:function(){return this._calendar.dayOfWeek(this)},weekDay:function(){return this._calendar.weekDay(this)},extraInfo:function(){return this._calendar.extraInfo(this)},add:function(a,u){return this._calendar.add(this,a,u)},set:function(a,u){return this._calendar.set(this,a,u)},compareTo:function(a){if(this._calendar.name!==a._calendar.name)throw(l.local.differentCalendars||l.regionalOptions[""].differentCalendars).replace(/\{0\}/,this._calendar.local.name).replace(/\{1\}/,a._calendar.local.name);var u=this._year!==a._year?this._year-a._year:this._month!==a._month?this.monthOfYear()-a.monthOfYear():this._day-a._day;return u===0?0:u<0?-1:1},calendar:function(){return this._calendar},toJD:function(){return this._calendar.toJD(this)},fromJD:function(a){return this._calendar.fromJD(a)},toJSDate:function(){return this._calendar.toJSDate(this)},fromJSDate:function(a){return this._calendar.fromJSDate(a)},toString:function(){return(this.year()<0?"-":"")+M(Math.abs(this.year()),4)+"-"+M(this.month(),2)+"-"+M(this.day(),2)}}),d(v.prototype,{_validateLevel:0,newDate:function(a,u,o){return a==null?this.today():(a.year&&(this._validate(a,u,o,l.local.invalidDate||l.regionalOptions[""].invalidDate),o=a.day(),u=a.month(),a=a.year()),new i(this,a,u,o))},today:function(){return this.fromJSDate(new Date)},epoch:function(a){return this._validate(a,this.minMonth,this.minDay,l.local.invalidYear||l.regionalOptions[""].invalidYear).year()<0?this.local.epochs[0]:this.local.epochs[1]},formatYear:function(a){var u=this._validate(a,this.minMonth,this.minDay,l.local.invalidYear||l.regionalOptions[""].invalidYear);return(u.year()<0?"-":"")+M(Math.abs(u.year()),4)},monthsInYear:function(a){return this._validate(a,this.minMonth,this.minDay,l.local.invalidYear||l.regionalOptions[""].invalidYear),12},monthOfYear:function(a,u){var o=this._validate(a,u,this.minDay,l.local.invalidMonth||l.regionalOptions[""].invalidMonth);return(o.month()+this.monthsInYear(o)-this.firstMonth)%this.monthsInYear(o)+this.minMonth},fromMonthOfYear:function(a,u){var o=(u+this.firstMonth-2*this.minMonth)%this.monthsInYear(a)+this.minMonth;return this._validate(a,o,this.minDay,l.local.invalidMonth||l.regionalOptions[""].invalidMonth),o},daysInYear:function(a){var u=this._validate(a,this.minMonth,this.minDay,l.local.invalidYear||l.regionalOptions[""].invalidYear);return this.leapYear(u)?366:365},dayOfYear:function(a,u,o){var s=this._validate(a,u,o,l.local.invalidDate||l.regionalOptions[""].invalidDate);return s.toJD()-this.newDate(s.year(),this.fromMonthOfYear(s.year(),this.minMonth),this.minDay).toJD()+1},daysInWeek:function(){return 7},dayOfWeek:function(a,u,o){var s=this._validate(a,u,o,l.local.invalidDate||l.regionalOptions[""].invalidDate);return(Math.floor(this.toJD(s))+2)%this.daysInWeek()},extraInfo:function(a,u,o){return this._validate(a,u,o,l.local.invalidDate||l.regionalOptions[""].invalidDate),{}},add:function(a,u,o){return this._validate(a,this.minMonth,this.minDay,l.local.invalidDate||l.regionalOptions[""].invalidDate),this._correctAdd(a,this._add(a,u,o),u,o)},_add:function(a,u,o){if(this._validateLevel++,o==="d"||o==="w"){var s=a.toJD()+u*(o==="w"?this.daysInWeek():1),c=a.calendar().fromJD(s);return this._validateLevel--,[c.year(),c.month(),c.day()]}try{var h=a.year()+(o==="y"?u:0),m=a.monthOfYear()+(o==="m"?u:0);c=a.day(),o==="y"?(a.month()!==this.fromMonthOfYear(h,m)&&(m=this.newDate(h,a.month(),this.minDay).monthOfYear()),m=Math.min(m,this.monthsInYear(h)),c=Math.min(c,this.daysInMonth(h,this.fromMonthOfYear(h,m)))):o==="m"&&(function(y){for(;mS-1+y.minMonth;)h++,m-=S,S=y.monthsInYear(h)}(this),c=Math.min(c,this.daysInMonth(h,this.fromMonthOfYear(h,m))));var w=[h,this.fromMonthOfYear(h,m),c];return this._validateLevel--,w}catch(y){throw this._validateLevel--,y}},_correctAdd:function(a,u,o,s){if(!(this.hasYearZero||s!=="y"&&s!=="m"||u[0]!==0&&a.year()>0==u[0]>0)){var c={y:[1,1,"y"],m:[1,this.monthsInYear(-1),"m"],w:[this.daysInWeek(),this.daysInYear(-1),"d"],d:[1,this.daysInYear(-1),"d"]}[s],h=o<0?-1:1;u=this._add(a,o*c[0]+h*c[1],c[2])}return a.date(u[0],u[1],u[2])},set:function(a,u,o){this._validate(a,this.minMonth,this.minDay,l.local.invalidDate||l.regionalOptions[""].invalidDate);var s=o==="y"?u:a.year(),c=o==="m"?u:a.month(),h=o==="d"?u:a.day();return o!=="y"&&o!=="m"||(h=Math.min(h,this.daysInMonth(s,c))),a.date(s,c,h)},isValid:function(a,u,o){this._validateLevel++;var s=this.hasYearZero||a!==0;if(s){var c=this.newDate(a,u,this.minDay);s=u>=this.minMonth&&u-this.minMonth=this.minDay&&o-this.minDay13.5?13:1),S=c-(y>2.5?4716:4715);return S<=0&&S--,this.newDate(S,y,w)},toJSDate:function(a,u,o){var s=this._validate(a,u,o,l.local.invalidDate||l.regionalOptions[""].invalidDate),c=new Date(s.year(),s.month()-1,s.day());return c.setHours(0),c.setMinutes(0),c.setSeconds(0),c.setMilliseconds(0),c.setHours(c.getHours()>12?c.getHours()+2:0),c},fromJSDate:function(a){return this.newDate(a.getFullYear(),a.getMonth()+1,a.getDate())}});var l=T.exports=new g;l.cdate=i,l.baseCalendar=v,l.calendars.gregorian=f},94338:function(T,p,t){var d=t(56131),g=t(63489);d(g.regionalOptions[""],{invalidArguments:"Invalid arguments",invalidFormat:"Cannot format a date from another calendar",missingNumberAt:"Missing number at position {0}",unknownNameAt:"Unknown name at position {0}",unexpectedLiteralAt:"Unexpected literal at position {0}",unexpectedText:"Additional text found at end"}),g.local=g.regionalOptions[""],d(g.cdate.prototype,{formatDate:function(i,M){return typeof i!="string"&&(M=i,i=""),this._calendar.formatDate(i||"",this,M)}}),d(g.baseCalendar.prototype,{UNIX_EPOCH:g.instance().newDate(1970,1,1).toJD(),SECS_PER_DAY:86400,TICKS_EPOCH:g.instance().jdEpoch,TICKS_PER_DAY:864e9,ATOM:"yyyy-mm-dd",COOKIE:"D, dd M yyyy",FULL:"DD, MM d, yyyy",ISO_8601:"yyyy-mm-dd",JULIAN:"J",RFC_822:"D, d M yy",RFC_850:"DD, dd-M-yy",RFC_1036:"D, d M yy",RFC_1123:"D, d M yyyy",RFC_2822:"D, d M yyyy",RSS:"D, d M yy",TICKS:"!",TIMESTAMP:"@",W3C:"yyyy-mm-dd",formatDate:function(i,M,v){if(typeof i!="string"&&(v=M,M=i,i=""),!M)return"";if(M.calendar()!==this)throw g.local.invalidFormat||g.regionalOptions[""].invalidFormat;i=i||this.local.dateFormat;for(var f,l,a,u=(v=v||{}).dayNamesShort||this.local.dayNamesShort,o=v.dayNames||this.local.dayNames,s=v.monthNumbers||this.local.monthNumbers,c=v.monthNamesShort||this.local.monthNamesShort,h=v.monthNames||this.local.monthNames,m=(v.calculateWeek||this.local.calculateWeek,function(b,R){for(var I=1;L+I1}),w=function(b,R,I,O){var z=""+R;if(m(b,O))for(;z.length1},x=function(N,W){var j=E(N,W),$=[2,3,j?4:2,j?4:2,10,11,20]["oyYJ@!".indexOf(N)+1],U=new RegExp("^-?\\d{1,"+$+"}"),G=M.substring(O).match(U);if(!G)throw(g.local.missingNumberAt||g.regionalOptions[""].missingNumberAt).replace(/\{0\}/,O);return O+=G[0].length,parseInt(G[0],10)},A=this,L=function(){if(typeof o=="function"){E("m");var N=o.call(A,M.substring(O));return O+=N.length,N}return x("m")},b=function(N,W,j,$){for(var U=E(N,$)?j:W,G=0;G-1){w=1,y=S;for(var B=this.daysInMonth(m,w);y>B;B=this.daysInMonth(m,w))w++,y-=B}return h>-1?this.fromJD(h):this.newDate(m,w,y)},determineDate:function(i,M,v,f,l){v&&typeof v!="object"&&(l=f,f=v,v=null),typeof f!="string"&&(l=f,f="");var a=this;return M=M?M.newDate():null,i==null?M:typeof i=="string"?function(u){try{return a.parseDate(f,u,l)}catch{}for(var o=((u=u.toLowerCase()).match(/^c/)&&v?v.newDate():null)||a.today(),s=/([+-]?[0-9]+)\s*(d|w|m|y)?/g,c=s.exec(u);c;)o.add(parseInt(c[1],10),c[2]||"d"),c=s.exec(u);return o}(i):typeof i=="number"?isNaN(i)||i===1/0||i===-1/0?M:a.today().add(i,"d"):a.newDate(i)}})},69862:function(){},40964:function(){},72077:function(T,p,t){var d=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],g=typeof globalThis>"u"?t.g:globalThis;T.exports=function(){for(var i=[],M=0;M>8&15|me>>4&240,me>>4&15|240&me,(15&me)<<4|15&me,1):pe===8?x(me>>24&255,me>>16&255,me>>8&255,(255&me)/255):pe===4?x(me>>12&15|me>>8&240,me>>8&15|me>>4&240,me>>4&15|240&me,((15&me)<<4|15&me)/255):null):(me=o.exec(de))?new b(me[1],me[2],me[3],1):(me=s.exec(de))?new b(255*me[1]/100,255*me[2]/100,255*me[3]/100,1):(me=c.exec(de))?x(me[1],me[2],me[3],me[4]):(me=h.exec(de))?x(255*me[1]/100,255*me[2]/100,255*me[3]/100,me[4]):(me=m.exec(de))?B(me[1],me[2]/100,me[3]/100,1):(me=w.exec(de))?B(me[1],me[2]/100,me[3]/100,me[4]):y.hasOwnProperty(de)?E(y[de]):de==="transparent"?new b(NaN,NaN,NaN,0):null}function E(de){return new b(de>>16&255,de>>8&255,255&de,1)}function x(de,me,pe,xe){return xe<=0&&(de=me=pe=NaN),new b(de,me,pe,xe)}function A(de){return de instanceof i||(de=k(de)),de?new b((de=de.rgb()).r,de.g,de.b,de.opacity):new b}function L(de,me,pe,xe){return arguments.length===1?A(de):new b(de,me,pe,xe??1)}function b(de,me,pe,xe){this.r=+de,this.g=+me,this.b=+pe,this.opacity=+xe}function R(){return"#".concat(F(this.r)).concat(F(this.g)).concat(F(this.b))}function I(){var de=O(this.opacity);return"".concat(de===1?"rgb(":"rgba(").concat(z(this.r),", ").concat(z(this.g),", ").concat(z(this.b)).concat(de===1?")":", ".concat(de,")"))}function O(de){return isNaN(de)?1:Math.max(0,Math.min(1,de))}function z(de){return Math.max(0,Math.min(255,Math.round(de)||0))}function F(de){return((de=z(de))<16?"0":"")+de.toString(16)}function B(de,me,pe,xe){return xe<=0?de=me=pe=NaN:pe<=0||pe>=1?de=me=NaN:me<=0&&(de=NaN),new W(de,me,pe,xe)}function N(de){if(de instanceof W)return new W(de.h,de.s,de.l,de.opacity);if(de instanceof i||(de=k(de)),!de)return new W;if(de instanceof W)return de;var me=(de=de.rgb()).r/255,pe=de.g/255,xe=de.b/255,Pe=Math.min(me,pe,xe),_e=Math.max(me,pe,xe),Me=NaN,Se=_e-Pe,Ce=(_e+Pe)/2;return Se?(Me=me===_e?(pe-xe)/Se+6*(pe0&&Ce<1?0:Me,new W(Me,Se,Ce,de.opacity)}function W(de,me,pe,xe){this.h=+de,this.s=+me,this.l=+pe,this.opacity=+xe}function j(de){return(de=(de||0)%360)<0?de+360:de}function $(de){return Math.max(0,Math.min(1,de||0))}function U(de,me,pe){return 255*(de<60?me+(pe-me)*de/60:de<180?pe:de<240?me+(pe-me)*(240-de)/60:me)}d(i,k,{copy:function(de){return Object.assign(new this.constructor,this,de)},displayable:function(){return this.rgb().displayable()},hex:S,formatHex:S,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return N(this).formatHsl()},formatRgb:_,toString:_}),d(b,L,g(i,{brighter:function(de){return de=de==null?v:Math.pow(v,de),new b(this.r*de,this.g*de,this.b*de,this.opacity)},darker:function(de){return de=de==null?M:Math.pow(M,de),new b(this.r*de,this.g*de,this.b*de,this.opacity)},rgb:function(){return this},clamp:function(){return new b(z(this.r),z(this.g),z(this.b),O(this.opacity))},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:R,formatHex:R,formatHex8:function(){return"#".concat(F(this.r)).concat(F(this.g)).concat(F(this.b)).concat(F(255*(isNaN(this.opacity)?1:this.opacity)))},formatRgb:I,toString:I})),d(W,function(de,me,pe,xe){return arguments.length===1?N(de):new W(de,me,pe,xe??1)},g(i,{brighter:function(de){return de=de==null?v:Math.pow(v,de),new W(this.h,this.s,this.l*de,this.opacity)},darker:function(de){return de=de==null?M:Math.pow(M,de),new W(this.h,this.s,this.l*de,this.opacity)},rgb:function(){var de=this.h%360+360*(this.h<0),me=isNaN(de)||isNaN(this.s)?0:this.s,pe=this.l,xe=pe+(pe<.5?pe:1-pe)*me,Pe=2*pe-xe;return new b(U(de>=240?de-240:de+120,Pe,xe),U(de,Pe,xe),U(de<120?de+240:de-120,Pe,xe),this.opacity)},clamp:function(){return new W(j(this.h),$(this.s),$(this.l),O(this.opacity))},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var de=O(this.opacity);return"".concat(de===1?"hsl(":"hsla(").concat(j(this.h),", ").concat(100*$(this.s),"%, ").concat(100*$(this.l),"%").concat(de===1?")":", ".concat(de,")"))}}));var G=function(de){return function(){return de}};function q(de,me){var pe=me-de;return pe?function(xe,Pe){return function(_e){return xe+_e*Pe}}(de,pe):G(isNaN(de)?me:de)}var H=function de(me){var pe=function(Pe){return(Pe=+Pe)==1?q:function(_e,Me){return Me-_e?function(Se,Ce,ae){return Se=Math.pow(Se,ae),Ce=Math.pow(Ce,ae)-Se,ae=1/ae,function(fe){return Math.pow(Se+fe*Ce,ae)}}(_e,Me,Pe):G(isNaN(_e)?Me:_e)}}(me);function xe(Pe,_e){var Me=pe((Pe=L(Pe)).r,(_e=L(_e)).r),Se=pe(Pe.g,_e.g),Ce=pe(Pe.b,_e.b),ae=q(Pe.opacity,_e.opacity);return function(fe){return Pe.r=Me(fe),Pe.g=Se(fe),Pe.b=Ce(fe),Pe.opacity=ae(fe),Pe+""}}return xe.gamma=de,xe}(1);function ne(de,me){var pe,xe=me?me.length:0,Pe=de?Math.min(xe,de.length):0,_e=new Array(Pe),Me=new Array(xe);for(pe=0;pe_e&&(Pe=me.slice(_e,Pe),Se[Me]?Se[Me]+=Pe:Se[++Me]=Pe),(pe=pe[0])===(xe=xe[0])?Se[Me]?Se[Me]+=xe:Se[++Me]=xe:(Se[++Me]=null,Ce.push({i:Me,x:Z(pe,xe)})),_e=ie.lastIndex;return _en.rt)},yValues(){return this.dataForHeatmapDrawing.map(n=>n.mass)},selectedRange(){switch(this.args.title){case"Raw MS1 Heatmap":return this.selectionStore.selectedRawHeatmap;case"Raw MS2 Heatmap":return this.selectionStore.selectedRawMS2Heatmap;case"Deconvolved MS1 Heatmap":return this.selectionStore.selectedDeconvHeatmap;case"Deconvolved MS2 Heatmap":return this.selectionStore.selectedDeconvMS2Heatmap;default:return}},xRange(){if(this.selectedRange!==void 0)return this.selectedRange.xRange[0]<0&&this.selectedRange.xRange[1]<0?void 0:this.selectedRange.xRange},yRange(){if(this.selectedRange!==void 0)return this.selectedRange.yRange[0]<0&&this.selectedRange.yRange[1]<0?void 0:this.selectedRange.yRange},markerColorValues(){return this.dataForHeatmapDrawing.map(n=>n.intensity)},data(){const n=this.dataForHeatmapDrawing.map(p=>p.intensity),e=Math.min(...n.filter(p=>p>0)),r=Math.max(...n),C=Math.floor(Math.log10(e)),D=Math.ceil(Math.log10(r)),T=Array.from({length:D-C+1},(p,t)=>Math.pow(10,C+t));return[{type:"scattergl",name:"raw peaks",x:this.xValues,y:this.yValues,mode:"markers",marker:{color:this.markerColorValues.map(p=>p>0?Math.log10(p):0),colorscale:"Portland",showscale:!0,colorbar:{title:"Intensity",tickvals:T.map(p=>Math.log10(p)),ticktext:T.map(p=>p.toExponential(0)),tickmode:"array"}},hovertext:this.dataForHeatmapDrawing.map(p=>p.intensity.toExponential(2))}]},layout(){var n,e,r,C;return{title:`${this.args.title}`,showlegend:this.args.showLegend,xaxis:{title:"Retention Time",range:this.xRange},yaxis:{title:this.yAxisLabel,range:this.yRange},paper_bgcolor:(n=this.theme)==null?void 0:n.backgroundColor,plot_bgcolor:(e=this.theme)==null?void 0:e.secondaryBackgroundColor,font:{color:(r=this.theme)==null?void 0:r.textColor,family:(C=this.theme)==null?void 0:C.font}}}},watch:{renderData(){this.graph()},zoomRange(){if(this.zoomRange!==void 0)switch(this.args.title){case"Raw MS1 Heatmap":this.selectionStore.updateRawHeatmapSelection(this.zoomRange);break;case"Raw MS2 Heatmap":this.selectionStore.updateRawMS2HeatmapSelection(this.zoomRange);break;case"Deconvolved MS1 Heatmap":this.selectionStore.updateDeconvHeatmapSelection(this.zoomRange);break;case"Deconvolved MS2 Heatmap":this.selectionStore.updateDeconvMS2HeatmapSelection(this.zoomRange);break}}},mounted(){this.graph()},methods:{async graph(){await Wl.newPlot(this.id,this.data,this.layout,{modeBarButtonsToRemove:["toImage","sendDataToCloud"],modeBarButtonsToAdd:[{title:"Download as SVG",name:"toImageSvg",icon:Wl.Icons.camera,click:e=>{Wl.downloadImage(e,{filename:"FLASHViewer-heatmap",height:400,width:1200,format:"svg"})}}]});const n=document.getElementById(this.id);n&&(n.on("plotly_relayout",e=>{e["xaxis.autorange"]?this.zoomRange={xRange:[-1,-1],yRange:[-1,-1]}:e["xaxis.range[0]"]!==void 0&&e["xaxis.range[1]"]!==void 0&&e["yaxis.range[0]"]!==void 0&&e["yaxis.range[1]"]!==void 0&&(this.zoomRange={xRange:[e["xaxis.range[0]"],e["xaxis.range[1]"]],yRange:[e["yaxis.range[0]"],e["yaxis.range[1]"]]})}),n.on("plotly_click",e=>{const r=this.dataForHeatmapDrawing[e.points[0].pointIndex],C=r==null?void 0:r.scan_idx,D=r==null?void 0:r.mass_idx;C!==void 0&&this.selectionStore.updateSelectedScan(C),this.args.title==="Deconvolved MS1 Heatmap"&&D!==void 0?this.selectionStore.updateSelectedMass(D):this.args.title==="Deconvolved MS2 Heatmap"&&D!==void 0&&this.selectionStore.updateSelectedMass(D)}))}}}),hs=(n,e)=>{const r=n.__vccOpts||n;for(const[C,D]of e)r[C]=D;return r},oR=["id"];function sR(n,e,r,C,D,T){return Rr(),ei("div",{id:n.id,style:{width:"100%"}},null,8,oR)}const lR=hs(aR,[["render",sR]]);class kl{constructor(e){this.table=e}reloadData(e,r,C){return this.table.dataLoader.load(e,void 0,void 0,void 0,r,C)}langText(){return this.table.modules.localize.getText(...arguments)}langBind(){return this.table.modules.localize.bind(...arguments)}langLocale(){return this.table.modules.localize.getLocale(...arguments)}commsConnections(){return this.table.modules.comms.getConnections(...arguments)}commsSend(){return this.table.modules.comms.send(...arguments)}layoutMode(){return this.table.modules.layout.getMode()}layoutRefresh(e){return this.table.modules.layout.layout(e)}subscribe(){return this.table.eventBus.subscribe(...arguments)}unsubscribe(){return this.table.eventBus.unsubscribe(...arguments)}subscribed(e){return this.table.eventBus.subscribed(e)}subscriptionChange(){return this.table.eventBus.subscriptionChange(...arguments)}dispatch(){return this.table.eventBus.dispatch(...arguments)}chain(){return this.table.eventBus.chain(...arguments)}confirm(){return this.table.eventBus.confirm(...arguments)}dispatchExternal(){return this.table.externalEvents.dispatch(...arguments)}subscribedExternal(e){return this.table.externalEvents.subscribed(e)}subscriptionChangeExternal(){return this.table.externalEvents.subscriptionChange(...arguments)}options(e){return this.table.options[e]}setOption(e,r){return typeof r<"u"&&(this.table.options[e]=r),this.table.options[e]}deprecationCheck(e,r,C){return this.table.deprecationAdvisor.check(e,r,C)}deprecationCheckMsg(e,r){return this.table.deprecationAdvisor.checkMsg(e,r)}deprecationMsg(e){return this.table.deprecationAdvisor.msg(e)}module(e){return this.table.module(e)}}class oo{static elVisible(e){return!(e.offsetWidth<=0&&e.offsetHeight<=0)}static elOffset(e){var r=e.getBoundingClientRect();return{top:r.top+window.pageYOffset-document.documentElement.clientTop,left:r.left+window.pageXOffset-document.documentElement.clientLeft}}static retrieveNestedData(e,r,C){var D=e?r.split(e):[r],T=D.length,p;for(let t=0;ti.subject===t),d>-1?r[p]=C[d].copy:(g=Object.assign(Array.isArray(t)?[]:{},t),C.unshift({subject:t,copy:g}),r[p]=this.deepClone(t,g,C)))}return r}}class H2 extends kl{constructor(e,r,C){super(e),this.element=r,this.container=this._lookupContainer(),this.parent=C,this.reversedX=!1,this.childPopup=null,this.blurable=!1,this.blurCallback=null,this.blurEventsBound=!1,this.renderedCallback=null,this.visible=!1,this.hideable=!0,this.element.classList.add("tabulator-popup-container"),this.blurEvent=this.hide.bind(this,!1),this.escEvent=this._escapeCheck.bind(this),this.destroyBinding=this.tableDestroyed.bind(this),this.destroyed=!1}tableDestroyed(){this.destroyed=!0,this.hide(!0)}_lookupContainer(){var e=this.table.options.popupContainer;return typeof e=="string"?(e=document.querySelector(e),e||console.warn("Menu Error - no container element found matching selector:",this.table.options.popupContainer,"(defaulting to document body)")):e===!0&&(e=this.table.element),e&&!this._checkContainerIsParent(e)&&(e=!1,console.warn("Menu Error - container element does not contain this table:",this.table.options.popupContainer,"(defaulting to document body)")),e||(e=document.body),e}_checkContainerIsParent(e,r=this.table.element){return e===r?!0:r.parentNode?this._checkContainerIsParent(e,r.parentNode):!1}renderCallback(e){this.renderedCallback=e}containerEventCoords(e){var r=!(e instanceof MouseEvent),C=r?e.touches[0].pageX:e.pageX,D=r?e.touches[0].pageY:e.pageY;if(this.container!==document.body){let T=oo.elOffset(this.container);C-=T.left,D-=T.top}return{x:C,y:D}}elementPositionCoords(e,r="right"){var C=oo.elOffset(e),D,T,p;switch(this.container!==document.body&&(D=oo.elOffset(this.container),C.left-=D.left,C.top-=D.top),r){case"right":T=C.left+e.offsetWidth,p=C.top-1;break;case"bottom":T=C.left,p=C.top+e.offsetHeight;break;case"left":T=C.left,p=C.top-1;break;case"top":T=C.left,p=C.top;break;case"center":T=C.left+e.offsetWidth/2,p=C.top+e.offsetHeight/2;break}return{x:T,y:p,offset:C}}show(e,r){var C,D,T,p,t;return this.destroyed||this.table.destroyed?this:(e instanceof HTMLElement?(T=e,t=this.elementPositionCoords(e,r),p=t.offset,C=t.x,D=t.y):typeof e=="number"?(p={top:0,left:0},C=e,D=r):(t=this.containerEventCoords(e),C=t.x,D=t.y,this.reversedX=!1),this.element.style.top=D+"px",this.element.style.left=C+"px",this.container.appendChild(this.element),typeof this.renderedCallback=="function"&&this.renderedCallback(),this._fitToScreen(C,D,T,p,r),this.visible=!0,this.subscribe("table-destroy",this.destroyBinding),this.element.addEventListener("mousedown",d=>{d.stopPropagation()}),this)}_fitToScreen(e,r,C,D,T){var p=this.container===document.body?document.documentElement.scrollTop:this.container.scrollTop;if((e+this.element.offsetWidth>=this.container.offsetWidth||this.reversedX)&&(this.element.style.left="",C?this.element.style.right=this.container.offsetWidth-D.left+"px":this.element.style.right=this.container.offsetWidth-e+"px",this.reversedX=!0),r+this.element.offsetHeight>Math.max(this.container.offsetHeight,p?this.container.scrollHeight:0))if(C)switch(T){case"bottom":this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight-C.offsetHeight-1+"px";break;default:this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight+C.offsetHeight+1+"px"}else this.element.style.top=parseInt(this.element.style.top)-this.element.offsetHeight+"px"}isVisible(){return this.visible}hideOnBlur(e){return this.blurable=!0,this.visible&&(setTimeout(()=>{this.visible&&(this.table.rowManager.element.addEventListener("scroll",this.blurEvent),this.subscribe("cell-editing",this.blurEvent),document.body.addEventListener("click",this.blurEvent),document.body.addEventListener("contextmenu",this.blurEvent),document.body.addEventListener("mousedown",this.blurEvent),window.addEventListener("resize",this.blurEvent),document.body.addEventListener("keydown",this.escEvent),this.blurEventsBound=!0)},100),this.blurCallback=e),this}_escapeCheck(e){e.keyCode==27&&this.hide()}blockHide(){this.hideable=!1}restoreHide(){this.hideable=!0}hide(e=!1){return this.visible&&this.hideable&&(this.blurable&&this.blurEventsBound&&(document.body.removeEventListener("keydown",this.escEvent),document.body.removeEventListener("click",this.blurEvent),document.body.removeEventListener("contextmenu",this.blurEvent),document.body.removeEventListener("mousedown",this.blurEvent),window.removeEventListener("resize",this.blurEvent),this.table.rowManager.element.removeEventListener("scroll",this.blurEvent),this.unsubscribe("cell-editing",this.blurEvent),this.blurEventsBound=!1),this.childPopup&&this.childPopup.hide(),this.parent&&(this.parent.childPopup=null),this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.visible=!1,this.blurCallback&&!e&&this.blurCallback(),this.unsubscribe("table-destroy",this.destroyBinding)),this}child(e){return this.childPopup&&this.childPopup.hide(),this.childPopup=new H2(this.table,e,this),this.childPopup}}class qi extends kl{constructor(e,r){super(e),this._handler=null}initialize(){}registerTableOption(e,r){this.table.optionsList.register(e,r)}registerColumnOption(e,r){this.table.columnManager.optionsList.register(e,r)}registerTableFunction(e,r){typeof this.table[e]>"u"?this.table[e]=(...C)=>(this.table.initGuard(e),r(...C)):console.warn("Unable to bind table function, name already in use",e)}registerComponentFunction(e,r,C){return this.table.componentFunctionBinder.bind(e,r,C)}registerDataHandler(e,r){this.table.rowManager.registerDataPipelineHandler(e,r),this._handler=e}registerDisplayHandler(e,r){this.table.rowManager.registerDisplayPipelineHandler(e,r),this._handler=e}displayRows(e){var r=this.table.rowManager.displayRows.length-1,C;if(this._handler&&(C=this.table.rowManager.displayPipeline.findIndex(D=>D.handler===this._handler),C>-1&&(r=C)),e&&(r=r+e),this._handler)return r>-1?this.table.rowManager.getDisplayRows(r):this.activeRows()}activeRows(){return this.table.rowManager.activeRows}refreshData(e,r){r||(r=this._handler),r&&this.table.rowManager.refreshActiveData(r,!1,e)}footerAppend(e){return this.table.footerManager.append(e)}footerPrepend(e){return this.table.footerManager.prepend(e)}footerRemove(e){return this.table.footerManager.remove(e)}popup(e,r){return new H2(this.table,e,r)}alert(e,r){return this.table.alertManager.alert(e,r)}clearAlert(){return this.table.alertManager.clear()}}var uR={};class i0 extends qi{constructor(e){super(e),this.allowedTypes=["","data","download","clipboard","print","htmlOutput"],this.registerColumnOption("accessor"),this.registerColumnOption("accessorParams"),this.registerColumnOption("accessorData"),this.registerColumnOption("accessorDataParams"),this.registerColumnOption("accessorDownload"),this.registerColumnOption("accessorDownloadParams"),this.registerColumnOption("accessorClipboard"),this.registerColumnOption("accessorClipboardParams"),this.registerColumnOption("accessorPrint"),this.registerColumnOption("accessorPrintParams"),this.registerColumnOption("accessorHtmlOutput"),this.registerColumnOption("accessorHtmlOutputParams")}initialize(){this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("row-data-retrieve",this.transformRow.bind(this))}initializeColumn(e){var r=!1,C={};this.allowedTypes.forEach(D=>{var T="accessor"+(D.charAt(0).toUpperCase()+D.slice(1)),p;e.definition[T]&&(p=this.lookupAccessor(e.definition[T]),p&&(r=!0,C[T]={accessor:p,params:e.definition[T+"Params"]||{}}))}),r&&(e.modules.accessor=C)}lookupAccessor(e){var r=!1;switch(typeof e){case"string":i0.accessors[e]?r=i0.accessors[e]:console.warn("Accessor Error - No such accessor found, ignoring: ",e);break;case"function":r=e;break}return r}transformRow(e,r){var C="accessor"+(r.charAt(0).toUpperCase()+r.slice(1)),D=e.getComponent(),T=oo.deepClone(e.data||{});return this.table.columnManager.traverse(function(p){var t,d,g,i;p.modules.accessor&&(d=p.modules.accessor[C]||p.modules.accessor.accessor||!1,d&&(t=p.getFieldValue(T),t!="undefined"&&(i=p.getComponent(),g=typeof d.params=="function"?d.params(t,T,r,i,D):d.params,p.setFieldValue(T,d.accessor(t,T,r,g,i,D)))))}),T}}i0.moduleName="accessor";i0.accessors=uR;var cR={method:"GET"};function nx(n,e){var r=[];if(e=e||"",Array.isArray(n))n.forEach((D,T)=>{r=r.concat(nx(D,e?e+"["+T+"]":T))});else if(typeof n=="object")for(var C in n)r=r.concat(nx(n[C],e?e+"["+C+"]":C));else r.push({key:e,value:n});return r}function hR(n){var e=nx(n),r=[];return e.forEach(function(C){r.push(encodeURIComponent(C.key)+"="+encodeURIComponent(C.value))}),r.join("&")}function LM(n,e,r){return n&&r&&Object.keys(r).length&&(!e.method||e.method.toLowerCase()=="get")&&(e.method="get",n+=(n.includes("?")?"&":"?")+hR(r)),n}function fR(n,e,r){var C;return new Promise((D,T)=>{if(n=this.urlGenerator.call(this.table,n,e,r),e.method.toUpperCase()!="GET")if(C=typeof this.table.options.ajaxContentType=="object"?this.table.options.ajaxContentType:this.contentTypeFormatters[this.table.options.ajaxContentType],C){for(var p in C.headers)e.headers||(e.headers={}),typeof e.headers[p]>"u"&&(e.headers[p]=C.headers[p]);e.body=C.body.call(this,n,e,r)}else console.warn("Ajax Error - Invalid ajaxContentType value:",this.table.options.ajaxContentType);n?(typeof e.headers>"u"&&(e.headers={}),typeof e.headers.Accept>"u"&&(e.headers.Accept="application/json"),typeof e.headers["X-Requested-With"]>"u"&&(e.headers["X-Requested-With"]="XMLHttpRequest"),typeof e.mode>"u"&&(e.mode="cors"),e.mode=="cors"?(typeof e.headers.Origin>"u"&&(e.headers.Origin=window.location.origin),typeof e.credentials>"u"&&(e.credentials="same-origin")):typeof e.credentials>"u"&&(e.credentials="include"),fetch(n,e).then(t=>{t.ok?t.json().then(d=>{D(d)}).catch(d=>{T(d),console.warn("Ajax Load Error - Invalid JSON returned",d)}):(console.error("Ajax Load Error - Connection Error: "+t.status,t.statusText),T(t))}).catch(t=>{console.error("Ajax Load Error - Connection Error: ",t),T(t)})):(console.warn("Ajax Load Error - No URL Set"),D([]))})}function rx(n,e){var r=[];if(e=e||"",Array.isArray(n))n.forEach((D,T)=>{r=r.concat(rx(D,e?e+"["+T+"]":T))});else if(typeof n=="object")for(var C in n)r=r.concat(rx(n[C],e?e+"["+C+"]":C));else r.push({key:e,value:n});return r}var dR={json:{headers:{"Content-Type":"application/json"},body:function(n,e,r){return JSON.stringify(r)}},form:{headers:{},body:function(n,e,r){var C=rx(r),D=new FormData;return C.forEach(function(T){D.append(T.key,T.value)}),D}}};class Rc extends qi{constructor(e){super(e),this.config={},this.url="",this.urlGenerator=!1,this.params=!1,this.loaderPromise=!1,this.registerTableOption("ajaxURL",!1),this.registerTableOption("ajaxURLGenerator",!1),this.registerTableOption("ajaxParams",{}),this.registerTableOption("ajaxConfig","get"),this.registerTableOption("ajaxContentType","form"),this.registerTableOption("ajaxRequestFunc",!1),this.registerTableOption("ajaxRequesting",function(){}),this.registerTableOption("ajaxResponse",!1),this.contentTypeFormatters=Rc.contentTypeFormatters}initialize(){this.loaderPromise=this.table.options.ajaxRequestFunc||Rc.defaultLoaderPromise,this.urlGenerator=this.table.options.ajaxURLGenerator||Rc.defaultURLGenerator,this.table.options.ajaxURL&&this.setUrl(this.table.options.ajaxURL),this.setDefaultConfig(this.table.options.ajaxConfig),this.registerTableFunction("getAjaxUrl",this.getUrl.bind(this)),this.subscribe("data-loading",this.requestDataCheck.bind(this)),this.subscribe("data-params",this.requestParams.bind(this)),this.subscribe("data-load",this.requestData.bind(this))}requestParams(e,r,C,D){var T=this.table.options.ajaxParams;return T&&(typeof T=="function"&&(T=T.call(this.table)),D=Object.assign(Object.assign({},T),D)),D}requestDataCheck(e,r,C,D){return!!(!e&&this.url||typeof e=="string")}requestData(e,r,C,D,T){var p;return!T&&this.requestDataCheck(e)?(e&&this.setUrl(e),p=this.generateConfig(C),this.sendRequest(this.url,r,p)):T}setDefaultConfig(e={}){this.config=Object.assign({},Rc.defaultConfig),typeof e=="string"?this.config.method=e:Object.assign(this.config,e)}generateConfig(e={}){var r=Object.assign({},this.config);return typeof e=="string"?r.method=e:Object.assign(r,e),r}setUrl(e){this.url=e}getUrl(){return this.url}sendRequest(e,r,C){return this.table.options.ajaxRequesting.call(this.table,e,r)!==!1?this.loaderPromise(e,C,r).then(D=>(this.table.options.ajaxResponse&&(D=this.table.options.ajaxResponse.call(this.table,e,r,D)),D)):Promise.reject()}}Rc.moduleName="ajax";Rc.defaultConfig=cR;Rc.defaultURLGenerator=LM;Rc.defaultLoaderPromise=fR;Rc.contentTypeFormatters=dR;var pR={replace:function(n){return this.table.setData(n)},update:function(n){return this.table.updateOrAddData(n)},insert:function(n){return this.table.addData(n)},range:function(n){var e=[],r=this.table.modules.selectRange.activeRange,C=!1,D,T,p,t,d;return d=n.length,r&&(D=r.getBounds(),T=D.start,D.start===D.end&&(C=!0),T&&(e=this.table.rowManager.activeRows.slice(),p=e.indexOf(T.row),C?t=n.length:t=e.indexOf(D.end.row)-p+1,p>-1&&(this.table.blockRedraw(),e=e.slice(p,p+t),e.forEach((g,i)=>{g.updateData(n[i%d])}),this.table.restoreRedraw()))),e}},mR={table:function(n){var e=[],r=!0,C=this.table.columnManager.columns,D=[],T=[];return n=n.split(` -`),n.forEach(function(p){e.push(p.split(" "))}),e.length&&!(e.length===1&&e[0].length<2)?(e[0].forEach(function(p){var t=C.find(function(d){return p&&d.definition.title&&p.trim()&&d.definition.title.trim()===p.trim()});t?D.push(t):r=!1}),r||(r=!0,D=[],e[0].forEach(function(p){var t=C.find(function(d){return p&&d.field&&p.trim()&&d.field.trim()===p.trim()});t?D.push(t):r=!1}),r||(D=this.table.columnManager.columnsByIndex)),r&&e.shift(),e.forEach(function(p){var t={};p.forEach(function(d,g){D[g]&&(t[D[g].field]=d)}),T.push(t)}),T):!1},range:function(n){var e=[],r=[],C=this.table.modules.selectRange.activeRange,D=!1,T,p,t,d,g;return C&&(T=C.getBounds(),p=T.start,T.start===T.end&&(D=!0),p&&(n=n.split(` -`),n.forEach(function(i){e.push(i.split(" "))}),e.length&&(d=this.table.columnManager.getVisibleColumnsByIndex(),g=d.indexOf(p.column),g>-1)))?(D?t=e[0].length:t=d.indexOf(T.end.column)-g+1,d=d.slice(g,g+t),e.forEach(i=>{var M={},v=i.length;d.forEach(function(f,l){M[f.field]=i[l%v]}),r.push(M)}),r):!1}};class qd extends qi{constructor(e){super(e),this.mode=!0,this.pasteParser=function(){},this.pasteAction=function(){},this.customSelection=!1,this.rowRange=!1,this.blocked=!0,this.registerTableOption("clipboard",!1),this.registerTableOption("clipboardCopyStyled",!0),this.registerTableOption("clipboardCopyConfig",!1),this.registerTableOption("clipboardCopyFormatter",!1),this.registerTableOption("clipboardCopyRowRange","active"),this.registerTableOption("clipboardPasteParser","table"),this.registerTableOption("clipboardPasteAction","insert"),this.registerColumnOption("clipboard"),this.registerColumnOption("titleClipboard")}initialize(){this.mode=this.table.options.clipboard,this.rowRange=this.table.options.clipboardCopyRowRange,(this.mode===!0||this.mode==="copy")&&this.table.element.addEventListener("copy",e=>{var r,C,D;this.blocked||(e.preventDefault(),this.customSelection?(r=this.customSelection,this.table.options.clipboardCopyFormatter&&(r=this.table.options.clipboardCopyFormatter("plain",r))):(D=this.table.modules.export.generateExportList(this.table.options.clipboardCopyConfig,this.table.options.clipboardCopyStyled,this.rowRange,"clipboard"),C=this.table.modules.export.generateHTMLTable(D),r=C?this.generatePlainContent(D):"",this.table.options.clipboardCopyFormatter&&(r=this.table.options.clipboardCopyFormatter("plain",r),C=this.table.options.clipboardCopyFormatter("html",C))),window.clipboardData&&window.clipboardData.setData?window.clipboardData.setData("Text",r):e.clipboardData&&e.clipboardData.setData?(e.clipboardData.setData("text/plain",r),C&&e.clipboardData.setData("text/html",C)):e.originalEvent&&e.originalEvent.clipboardData.setData&&(e.originalEvent.clipboardData.setData("text/plain",r),C&&e.originalEvent.clipboardData.setData("text/html",C)),this.dispatchExternal("clipboardCopied",r,C),this.reset())}),(this.mode===!0||this.mode==="paste")&&this.table.element.addEventListener("paste",e=>{this.paste(e)}),this.setPasteParser(this.table.options.clipboardPasteParser),this.setPasteAction(this.table.options.clipboardPasteAction),this.registerTableFunction("copyToClipboard",this.copy.bind(this))}reset(){this.blocked=!0,this.customSelection=!1}generatePlainContent(e){var r=[];return e.forEach(C=>{var D=[];C.columns.forEach(T=>{var p="";if(T)if(C.type==="group"&&(T.value=T.component.getKey()),T.value===null)p="";else switch(typeof T.value){case"object":p=JSON.stringify(T.value);break;case"undefined":p="";break;default:p=T.value}D.push(p)}),r.push(D.join(" "))}),r.join(` -`)}copy(e,r){var C,D;this.blocked=!1,this.customSelection=!1,(this.mode===!0||this.mode==="copy")&&(this.rowRange=e||this.table.options.clipboardCopyRowRange,typeof window.getSelection<"u"&&typeof document.createRange<"u"?(e=document.createRange(),e.selectNodeContents(this.table.element),C=window.getSelection(),C.toString()&&r&&(this.customSelection=C.toString()),C.removeAllRanges(),C.addRange(e)):typeof document.selection<"u"&&typeof document.body.createTextRange<"u"&&(D=document.body.createTextRange(),D.moveToElementText(this.table.element),D.select()),document.execCommand("copy"),C&&C.removeAllRanges())}setPasteAction(e){switch(typeof e){case"string":this.pasteAction=qd.pasteActions[e],this.pasteAction||console.warn("Clipboard Error - No such paste action found:",e);break;case"function":this.pasteAction=e;break}}setPasteParser(e){switch(typeof e){case"string":this.pasteParser=qd.pasteParsers[e],this.pasteParser||console.warn("Clipboard Error - No such paste parser found:",e);break;case"function":this.pasteParser=e;break}}paste(e){var r,C,D;this.checkPasteOrigin(e)&&(r=this.getPasteData(e),C=this.pasteParser.call(this,r),C?(e.preventDefault(),this.table.modExists("mutator")&&(C=this.mutateData(C)),D=this.pasteAction.call(this,C),this.dispatchExternal("clipboardPasted",r,C,D)):this.dispatchExternal("clipboardPasteError",r))}mutateData(e){var r=[];return Array.isArray(e)?e.forEach(C=>{r.push(this.table.modules.mutator.transformRow(C,"clipboard"))}):r=e,r}checkPasteOrigin(e){var r=!0,C=this.confirm("clipboard-paste",[e]);return(C||!["DIV","SPAN"].includes(e.target.tagName))&&(r=!1),r}getPasteData(e){var r;return window.clipboardData&&window.clipboardData.getData?r=window.clipboardData.getData("Text"):e.clipboardData&&e.clipboardData.getData?r=e.clipboardData.getData("text/plain"):e.originalEvent&&e.originalEvent.clipboardData.getData&&(r=e.originalEvent.clipboardData.getData("text/plain")),r}}qd.moduleName="clipboard";qd.pasteActions=pR;qd.pasteParsers=mR;class gR{constructor(e){return this._row=e,new Proxy(this,{get:function(r,C,D){return typeof r[C]<"u"?r[C]:r._row.table.componentFunctionBinder.handle("row",r._row,C)}})}getData(e){return this._row.getData(e)}getElement(){return this._row.getElement()}getTable(){return this._row.table}getCells(){var e=[];return this._row.getCells().forEach(function(r){e.push(r.getComponent())}),e}getCell(e){var r=this._row.getCell(e);return r?r.getComponent():!1}_getSelf(){return this._row}}class IM{constructor(e){return this._cell=e,new Proxy(this,{get:function(r,C,D){return typeof r[C]<"u"?r[C]:r._cell.table.componentFunctionBinder.handle("cell",r._cell,C)}})}getValue(){return this._cell.getValue()}getOldValue(){return this._cell.getOldValue()}getInitialValue(){return this._cell.initialValue}getElement(){return this._cell.getElement()}getRow(){return this._cell.row.getComponent()}getData(e){return this._cell.row.getData(e)}getType(){return"cell"}getField(){return this._cell.column.getField()}getColumn(){return this._cell.column.getComponent()}setValue(e,r){typeof r>"u"&&(r=!0),this._cell.setValue(e,r)}restoreOldValue(){this._cell.setValueActual(this._cell.getOldValue())}restoreInitialValue(){this._cell.setValueActual(this._cell.initialValue)}checkHeight(){this._cell.checkHeight()}getTable(){return this._cell.table}_getSelf(){return this._cell}}class eg extends kl{constructor(e,r){super(e.table),this.table=e.table,this.column=e,this.row=r,this.element=null,this.value=null,this.initialValue,this.oldValue=null,this.modules={},this.height=null,this.width=null,this.minWidth=null,this.component=null,this.loaded=!1,this.build()}build(){this.generateElement(),this.setWidth(),this._configureCell(),this.setValueActual(this.column.getFieldValue(this.row.data)),this.initialValue=this.value}generateElement(){this.element=document.createElement("div"),this.element.className="tabulator-cell",this.element.setAttribute("role","gridcell")}_configureCell(){var e=this.element,r=this.column.getField(),C={top:"flex-start",bottom:"flex-end",middle:"center"},D={left:"flex-start",right:"flex-end",center:"center"};if(e.style.textAlign=this.column.hozAlign,this.column.vertAlign&&(e.style.display="inline-flex",e.style.alignItems=C[this.column.vertAlign]||"",this.column.hozAlign&&(e.style.justifyContent=D[this.column.hozAlign]||"")),r&&e.setAttribute("tabulator-field",r),this.column.definition.cssClass){var T=this.column.definition.cssClass.split(" ");T.forEach(p=>{e.classList.add(p)})}this.dispatch("cell-init",this),this.column.visible||this.hide()}_generateContents(){var e;switch(e=this.chain("cell-format",this,null,()=>this.element.innerHTML=this.value),typeof e){case"object":if(e instanceof Node){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.element.appendChild(e)}else this.element.innerHTML="",e!=null&&console.warn("Format Error - Formatter has returned a type of object, the only valid formatter object return is an instance of Node, the formatter returned:",e);break;case"undefined":this.element.innerHTML="";break;default:this.element.innerHTML=e}}cellRendered(){this.dispatch("cell-rendered",this)}getElement(e){return this.loaded||(this.loaded=!0,e||this.layoutElement()),this.element}getValue(){return this.value}getOldValue(){return this.oldValue}setValue(e,r,C){var D=this.setValueProcessData(e,r,C);D&&(this.dispatch("cell-value-updated",this),this.cellRendered(),this.column.definition.cellEdited&&this.column.definition.cellEdited.call(this.table,this.getComponent()),this.dispatchExternal("cellEdited",this.getComponent()),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.table.rowManager.getData()))}setValueProcessData(e,r,C){var D=!1;return(this.value!==e||C)&&(D=!0,r&&(e=this.chain("cell-value-changing",[this,e],null,e))),this.setValueActual(e),D&&this.dispatch("cell-value-changed",this),D}setValueActual(e){this.oldValue=this.value,this.value=e,this.dispatch("cell-value-save-before",this),this.column.setFieldValue(this.row.data,e),this.dispatch("cell-value-save-after",this),this.loaded&&this.layoutElement()}layoutElement(){this._generateContents(),this.dispatch("cell-layout",this)}setWidth(){this.width=this.column.width,this.element.style.width=this.column.widthStyled}clearWidth(){this.width="",this.element.style.width=""}getWidth(){return this.width||this.element.offsetWidth}setMinWidth(){this.minWidth=this.column.minWidth,this.element.style.minWidth=this.column.minWidthStyled}setMaxWidth(){this.maxWidth=this.column.maxWidth,this.element.style.maxWidth=this.column.maxWidthStyled}checkHeight(){this.row.reinitializeHeight()}clearHeight(){this.element.style.height="",this.height=null,this.dispatch("cell-height",this,"")}setHeight(){this.height=this.row.height,this.element.style.height=this.row.heightStyled,this.dispatch("cell-height",this,this.row.heightStyled)}getHeight(){return this.height||this.element.offsetHeight}show(){this.element.style.display=this.column.vertAlign?"inline-flex":""}hide(){this.element.style.display="none"}delete(){this.dispatch("cell-delete",this),!this.table.rowManager.redrawBlock&&this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.element=!1,this.column.deleteCell(this),this.row.deleteCell(this),this.calcs={}}getIndex(){return this.row.getCellIndex(this)}getComponent(){return this.component||(this.component=new IM(this)),this.component}}class RM{constructor(e){return this._column=e,this.type="ColumnComponent",new Proxy(this,{get:function(r,C,D){return typeof r[C]<"u"?r[C]:r._column.table.componentFunctionBinder.handle("column",r._column,C)}})}getElement(){return this._column.getElement()}getDefinition(){return this._column.getDefinition()}getField(){return this._column.getField()}getTitleDownload(){return this._column.getTitleDownload()}getCells(){var e=[];return this._column.cells.forEach(function(r){e.push(r.getComponent())}),e}isVisible(){return this._column.visible}show(){this._column.isGroup?this._column.columns.forEach(function(e){e.show()}):this._column.show()}hide(){this._column.isGroup?this._column.columns.forEach(function(e){e.hide()}):this._column.hide()}toggle(){this._column.visible?this.hide():this.show()}delete(){return this._column.delete()}getSubColumns(){var e=[];return this._column.columns.length&&this._column.columns.forEach(function(r){e.push(r.getComponent())}),e}getParentColumn(){return this._column.parent instanceof vh?this._column.parent.getComponent():!1}_getSelf(){return this._column}scrollTo(e,r){return this._column.table.columnManager.scrollToColumn(this._column,e,r)}getTable(){return this._column.table}move(e,r){var C=this._column.table.columnManager.findColumn(e);C?this._column.table.columnManager.moveColumn(this._column,C,r):console.warn("Move Error - No matching column found:",C)}getNextColumn(){var e=this._column.nextColumn();return e?e.getComponent():!1}getPrevColumn(){var e=this._column.prevColumn();return e?e.getComponent():!1}updateDefinition(e){return this._column.updateDefinition(e)}getWidth(){return this._column.getWidth()}setWidth(e){var r;return e===!0?r=this._column.reinitializeWidth(!0):r=this._column.setWidth(e),this._column.table.columnManager.rerenderColumns(!0),r}}var PM={title:void 0,field:void 0,columns:void 0,visible:void 0,hozAlign:void 0,vertAlign:void 0,width:void 0,minWidth:40,maxWidth:void 0,maxInitialWidth:void 0,cssClass:void 0,variableHeight:void 0,headerVertical:void 0,headerHozAlign:void 0,headerWordWrap:!1,editableTitle:void 0};class vh extends kl{constructor(e,r){super(r.table),this.definition=e,this.parent=r,this.type="column",this.columns=[],this.cells=[],this.element=this.createElement(),this.contentElement=!1,this.titleHolderElement=!1,this.titleElement=!1,this.groupElement=this.createGroupElement(),this.isGroup=!1,this.hozAlign="",this.vertAlign="",this.field="",this.fieldStructure="",this.getFieldValue="",this.setFieldValue="",this.titleDownload=null,this.titleFormatterRendered=!1,this.mapDefinitions(),this.setField(this.definition.field),this.modules={},this.width=null,this.widthStyled="",this.maxWidth=null,this.maxWidthStyled="",this.maxInitialWidth=null,this.minWidth=null,this.minWidthStyled="",this.widthFixed=!1,this.visible=!0,this.component=null,this.definition.columns?(this.isGroup=!0,this.definition.columns.forEach((C,D)=>{var T=new vh(C,this);this.attachColumn(T)}),this.checkColumnVisibility()):r.registerColumnField(this),this._initialize()}createElement(){var e=document.createElement("div");switch(e.classList.add("tabulator-col"),e.setAttribute("role","columnheader"),e.setAttribute("aria-sort","none"),this.table.options.columnHeaderVertAlign){case"middle":e.style.justifyContent="center";break;case"bottom":e.style.justifyContent="flex-end";break}return e}createGroupElement(){var e=document.createElement("div");return e.classList.add("tabulator-col-group-cols"),e}mapDefinitions(){var e=this.table.options.columnDefaults;if(e)for(let r in e)typeof this.definition[r]>"u"&&(this.definition[r]=e[r]);this.definition=this.table.columnManager.optionsList.generate(vh.defaultOptionList,this.definition)}checkDefinition(){Object.keys(this.definition).forEach(e=>{vh.defaultOptionList.indexOf(e)===-1&&console.warn("Invalid column definition option in '"+(this.field||this.definition.title)+"' column:",e)})}setField(e){this.field=e,this.fieldStructure=e?this.table.options.nestedFieldSeparator?e.split(this.table.options.nestedFieldSeparator):[e]:[],this.getFieldValue=this.fieldStructure.length>1?this._getNestedData:this._getFlatData,this.setFieldValue=this.fieldStructure.length>1?this._setNestedData:this._setFlatData}registerColumnPosition(e){this.parent.registerColumnPosition(e)}registerColumnField(e){this.parent.registerColumnField(e)}reRegisterPosition(){this.isGroup?this.columns.forEach(function(e){e.reRegisterPosition()}):this.registerColumnPosition(this)}_initialize(){for(var e=this.definition;this.element.firstChild;)this.element.removeChild(this.element.firstChild);e.headerVertical&&(this.element.classList.add("tabulator-col-vertical"),e.headerVertical==="flip"&&this.element.classList.add("tabulator-col-vertical-flip")),this.contentElement=this._buildColumnHeaderContent(),this.element.appendChild(this.contentElement),this.isGroup?this._buildGroupHeader():this._buildColumnHeader(),this.dispatch("column-init",this)}_buildColumnHeader(){var e=this.definition;if(this.dispatch("column-layout",this),typeof e.visible<"u"&&(e.visible?this.show(!0):this.hide(!0)),e.cssClass){var r=e.cssClass.split(" ");r.forEach(C=>{this.element.classList.add(C)})}e.field&&this.element.setAttribute("tabulator-field",e.field),this.setMinWidth(parseInt(e.minWidth)),e.maxInitialWidth&&(this.maxInitialWidth=parseInt(e.maxInitialWidth)),e.maxWidth&&this.setMaxWidth(parseInt(e.maxWidth)),this.reinitializeWidth(),this.hozAlign=this.definition.hozAlign,this.vertAlign=this.definition.vertAlign,this.titleElement.style.textAlign=this.definition.headerHozAlign}_buildColumnHeaderContent(){var e=document.createElement("div");return e.classList.add("tabulator-col-content"),this.titleHolderElement=document.createElement("div"),this.titleHolderElement.classList.add("tabulator-col-title-holder"),e.appendChild(this.titleHolderElement),this.titleElement=this._buildColumnHeaderTitle(),this.titleHolderElement.appendChild(this.titleElement),e}_buildColumnHeaderTitle(){var e=this.definition,r=document.createElement("div");if(r.classList.add("tabulator-col-title"),e.headerWordWrap&&r.classList.add("tabulator-col-title-wrap"),e.editableTitle){var C=document.createElement("input");C.classList.add("tabulator-title-editor"),C.addEventListener("click",D=>{D.stopPropagation(),C.focus()}),C.addEventListener("mousedown",D=>{D.stopPropagation()}),C.addEventListener("change",()=>{e.title=C.value,this.dispatchExternal("columnTitleChanged",this.getComponent())}),r.appendChild(C),e.field?this.langBind("columns|"+e.field,D=>{C.value=D||e.title||" "}):C.value=e.title||" "}else e.field?this.langBind("columns|"+e.field,D=>{this._formatColumnHeaderTitle(r,D||e.title||" ")}):this._formatColumnHeaderTitle(r,e.title||" ");return r}_formatColumnHeaderTitle(e,r){var C=this.chain("column-format",[this,r,e],null,()=>r);switch(typeof C){case"object":C instanceof Node?e.appendChild(C):(e.innerHTML="",console.warn("Format Error - Title formatter has returned a type of object, the only valid formatter object return is an instance of Node, the formatter returned:",C));break;case"undefined":e.innerHTML="";break;default:e.innerHTML=C}}_buildGroupHeader(){if(this.element.classList.add("tabulator-col-group"),this.element.setAttribute("role","columngroup"),this.element.setAttribute("aria-title",this.definition.title),this.definition.cssClass){var e=this.definition.cssClass.split(" ");e.forEach(r=>{this.element.classList.add(r)})}this.titleElement.style.textAlign=this.definition.headerHozAlign,this.element.appendChild(this.groupElement)}_getFlatData(e){return e[this.field]}_getNestedData(e){var r=e,C=this.fieldStructure,D=C.length,T;for(let p=0;p{r.push(C),r=r.concat(C.getColumns(!0))}):r=this.columns,r}getCells(){return this.cells}getTopColumn(){return this.parent.isGroup?this.parent.getTopColumn():this}getDefinition(e){var r=[];return this.isGroup&&e&&(this.columns.forEach(function(C){r.push(C.getDefinition(!0))}),this.definition.columns=r),this.definition}checkColumnVisibility(){var e=!1;this.columns.forEach(function(r){r.visible&&(e=!0)}),e?(this.show(),this.dispatchExternal("columnVisibilityChanged",this.getComponent(),!1)):this.hide()}show(e,r){this.visible||(this.visible=!0,this.element.style.display="",this.parent.isGroup&&this.parent.checkColumnVisibility(),this.cells.forEach(function(C){C.show()}),!this.isGroup&&this.width===null&&this.reinitializeWidth(),this.table.columnManager.verticalAlignHeaders(),this.dispatch("column-show",this,r),e||this.dispatchExternal("columnVisibilityChanged",this.getComponent(),!0),this.parent.isGroup&&this.parent.matchChildWidths(),this.silent||this.table.columnManager.rerenderColumns())}hide(e,r){this.visible&&(this.visible=!1,this.element.style.display="none",this.table.columnManager.verticalAlignHeaders(),this.parent.isGroup&&this.parent.checkColumnVisibility(),this.cells.forEach(function(C){C.hide()}),this.dispatch("column-hide",this,r),e||this.dispatchExternal("columnVisibilityChanged",this.getComponent(),!1),this.parent.isGroup&&this.parent.matchChildWidths(),this.silent||this.table.columnManager.rerenderColumns())}matchChildWidths(){var e=0;this.contentElement&&this.columns.length&&(this.columns.forEach(function(r){r.visible&&(e+=r.getWidth())}),this.contentElement.style.maxWidth=e-1+"px",this.parent.isGroup&&this.parent.matchChildWidths())}removeChild(e){var r=this.columns.indexOf(e);r>-1&&this.columns.splice(r,1),this.columns.length||this.delete()}setWidth(e){this.widthFixed=!0,this.setWidthActual(e)}setWidthActual(e){isNaN(e)&&(e=Math.floor(this.table.element.clientWidth/100*parseInt(e))),e=Math.max(this.minWidth,e),this.maxWidth&&(e=Math.min(this.maxWidth,e)),this.width=e,this.widthStyled=e?e+"px":"",this.element.style.width=this.widthStyled,this.isGroup||this.cells.forEach(function(r){r.setWidth()}),this.parent.isGroup&&this.parent.matchChildWidths(),this.dispatch("column-width",this)}checkCellHeights(){var e=[];this.cells.forEach(function(r){r.row.heightInitialized&&(r.row.getElement().offsetParent!==null?(e.push(r.row),r.row.clearCellHeight()):r.row.heightInitialized=!1)}),e.forEach(function(r){r.calcHeight()}),e.forEach(function(r){r.setCellHeight()})}getWidth(){var e=0;return this.isGroup?this.columns.forEach(function(r){r.visible&&(e+=r.getWidth())}):e=this.width,e}getLeftOffset(){var e=this.element.offsetLeft;return this.parent.isGroup&&(e+=this.parent.getLeftOffset()),e}getHeight(){return Math.ceil(this.element.getBoundingClientRect().height)}setMinWidth(e){this.maxWidth&&e>this.maxWidth&&(e=this.maxWidth,console.warn("the minWidth ("+e+"px) for column '"+this.field+"' cannot be bigger that its maxWidth ("+this.maxWidthStyled+")")),this.minWidth=e,this.minWidthStyled=e?e+"px":"",this.element.style.minWidth=this.minWidthStyled,this.cells.forEach(function(r){r.setMinWidth()})}setMaxWidth(e){this.minWidth&&e{this.isGroup&&this.columns.forEach(function(D){D.delete()}),this.dispatch("column-delete",this);var C=this.cells.length;for(let D=0;D-1?this._nextVisibleColumn(e+1):!1}_nextVisibleColumn(e){var r=this.table.columnManager.getColumnByIndex(e);return!r||r.visible?r:this._nextVisibleColumn(e+1)}prevColumn(){var e=this.table.columnManager.findColumnIndex(this);return e>-1?this._prevVisibleColumn(e-1):!1}_prevVisibleColumn(e){var r=this.table.columnManager.getColumnByIndex(e);return!r||r.visible?r:this._prevVisibleColumn(e-1)}reinitializeWidth(e){this.widthFixed=!1,typeof this.definition.width<"u"&&!e&&this.setWidth(this.definition.width),this.dispatch("column-width-fit-before",this),this.fitToData(e),this.dispatch("column-width-fit-after",this)}fitToData(e){if(!this.isGroup){this.widthFixed||(this.element.style.width="",this.cells.forEach(D=>{D.clearWidth()}));var r=this.element.offsetWidth;if((!this.width||!this.widthFixed)&&(this.cells.forEach(D=>{var T=D.getWidth();T>r&&(r=T)}),r)){var C=r+1;this.maxInitialWidth&&!e&&(C=Math.min(C,this.maxInitialWidth)),this.setWidthActual(C)}}}updateDefinition(e){var r;return this.isGroup||this.parent.isGroup?(console.error("Column Update Error - The updateDefinition function is only available on ungrouped columns"),Promise.reject("Column Update Error - The updateDefinition function is only available on columns, not column groups")):(r=Object.assign({},this.getDefinition()),r=Object.assign(r,e),this.table.columnManager.addColumn(r,!1,this).then(C=>(r.field==this.field&&(this.field=!1),this.delete().then(()=>C.getComponent()))))}deleteCell(e){var r=this.cells.indexOf(e);r>-1&&this.cells.splice(r,1)}getComponent(){return this.component||(this.component=new RM(this)),this.component}getPosition(){return this.table.columnManager.getVisibleColumnsByIndex().indexOf(this)+1}}vh.defaultOptionList=PM;class Wy{constructor(e){return this._row=e,new Proxy(this,{get:function(r,C,D){return typeof r[C]<"u"?r[C]:r._row.table.componentFunctionBinder.handle("row",r._row,C)}})}getData(e){return this._row.getData(e)}getElement(){return this._row.getElement()}getCells(){var e=[];return this._row.getCells().forEach(function(r){e.push(r.getComponent())}),e}getCell(e){var r=this._row.getCell(e);return r?r.getComponent():!1}getIndex(){return this._row.getData("data")[this._row.table.options.index]}getPosition(){return this._row.getPosition()}watchPosition(e){return this._row.watchPosition(e)}delete(){return this._row.delete()}scrollTo(e,r){return this._row.table.rowManager.scrollToRow(this._row,e,r)}move(e,r){this._row.moveToRow(e,r)}update(e){return this._row.updateData(e)}normalizeHeight(){this._row.normalizeHeight(!0)}_getSelf(){return this._row}reformat(){return this._row.reinitialize()}getTable(){return this._row.table}getNextRow(){var e=this._row.nextRow();return e&&e.getComponent()}getPrevRow(){var e=this._row.prevRow();return e&&e.getComponent()}}class vl extends kl{constructor(e,r,C="row"){super(r.table),this.parent=r,this.data={},this.type=C,this.element=!1,this.modules={},this.cells=[],this.height=0,this.heightStyled="",this.manualHeight=!1,this.outerHeight=0,this.initialized=!1,this.heightInitialized=!1,this.position=0,this.positionWatchers=[],this.component=null,this.created=!1,this.setData(e)}create(){this.created||(this.created=!0,this.generateElement())}createElement(){var e=document.createElement("div");e.classList.add("tabulator-row"),e.setAttribute("role","row"),this.element=e}getElement(){return this.create(),this.element}detachElement(){this.element&&this.element.parentNode&&this.element.parentNode.removeChild(this.element)}generateElement(){this.createElement(),this.dispatch("row-init",this)}generateCells(){this.cells=this.table.columnManager.generateCells(this)}initialize(e,r){if(this.create(),!this.initialized||e){for(this.deleteCells();this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.dispatch("row-layout-before",this),this.generateCells(),this.initialized=!0,this.table.columnManager.renderer.renderRowCells(this,r),e&&this.normalizeHeight(),this.dispatch("row-layout",this),this.table.options.rowFormatter&&this.table.options.rowFormatter(this.getComponent()),this.dispatch("row-layout-after",this)}else this.table.columnManager.renderer.rerenderRowCells(this,r)}rendered(){this.cells.forEach(e=>{e.cellRendered()})}reinitializeHeight(){this.heightInitialized=!1,this.element&&this.element.offsetParent!==null&&this.normalizeHeight(!0)}deinitialize(){this.initialized=!1}deinitializeHeight(){this.heightInitialized=!1}reinitialize(e){this.initialized=!1,this.heightInitialized=!1,this.manualHeight||(this.height=0,this.heightStyled=""),this.element&&this.element.offsetParent!==null&&this.initialize(!0),this.dispatch("row-relayout",this)}calcHeight(e){var r=0,C;this.table.options.rowHeight?this.height=this.table.options.rowHeight:(C=this.table.options.resizableRows?this.element.clientHeight:0,this.cells.forEach(function(D){var T=D.getHeight();T>r&&(r=T)}),e?this.height=Math.max(r,C):this.height=this.manualHeight?this.height:Math.max(r,C)),this.heightStyled=this.height?this.height+"px":"",this.outerHeight=this.element.offsetHeight}setCellHeight(){this.cells.forEach(function(e){e.setHeight()}),this.heightInitialized=!0}clearCellHeight(){this.cells.forEach(function(e){e.clearHeight()})}normalizeHeight(e){e&&!this.table.options.rowHeight&&this.clearCellHeight(),this.calcHeight(e),this.setCellHeight()}setHeight(e,r){(this.height!=e||r)&&(this.manualHeight=!0,this.height=e,this.heightStyled=e?e+"px":"",this.setCellHeight(),this.outerHeight=this.element.offsetHeight)}getHeight(){return this.outerHeight}getWidth(){return this.element.offsetWidth}deleteCell(e){var r=this.cells.indexOf(e);r>-1&&this.cells.splice(r,1)}setData(e){this.data=this.chain("row-data-init-before",[this,e],void 0,e),this.dispatch("row-data-init-after",this)}updateData(e){var r=this.element&&oo.elVisible(this.element),C={},D;return new Promise((T,p)=>{typeof e=="string"&&(e=JSON.parse(e)),this.dispatch("row-data-save-before",this),this.subscribed("row-data-changing")&&(C=Object.assign(C,this.data),C=Object.assign(C,e)),D=this.chain("row-data-changing",[this,C,e],null,e);for(let t in D)this.data[t]=D[t];this.dispatch("row-data-save-after",this);for(let t in e)this.table.columnManager.getColumnsByFieldRoot(t).forEach(g=>{let i=this.getCell(g.getField());if(i){let M=g.getFieldValue(D);i.getValue()!==M&&(i.setValueProcessData(M),r&&i.cellRendered())}});r?(this.normalizeHeight(!0),this.table.options.rowFormatter&&this.table.options.rowFormatter(this.getComponent())):(this.initialized=!1,this.height=0,this.heightStyled=""),this.dispatch("row-data-changed",this,r,e),this.dispatchExternal("rowUpdated",this.getComponent()),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.table.rowManager.getData()),T()})}getData(e){return e?this.chain("row-data-retrieve",[this,e],null,this.data):this.data}getCell(e){var r=!1;return e=this.table.columnManager.findColumn(e),!this.initialized&&this.cells.length===0&&this.generateCells(),r=this.cells.find(function(C){return C.column===e}),r}getCellIndex(e){return this.cells.findIndex(function(r){return r===e})}findCell(e){return this.cells.find(r=>r.element===e)}getCells(){return!this.initialized&&this.cells.length===0&&this.generateCells(),this.cells}nextRow(){var e=this.table.rowManager.nextDisplayRow(this,!0);return e||!1}prevRow(){var e=this.table.rowManager.prevDisplayRow(this,!0);return e||!1}moveToRow(e,r){var C=this.table.rowManager.findRow(e);C?(this.table.rowManager.moveRowActual(this,C,!r),this.table.rowManager.refreshActiveData("display",!1,!0)):console.warn("Move Error - No matching row found:",e)}delete(){return this.dispatch("row-delete",this),this.deleteActual(),Promise.resolve()}deleteActual(e){this.detachModules(),this.table.rowManager.deleteRow(this,e),this.deleteCells(),this.initialized=!1,this.heightInitialized=!1,this.element=!1,this.dispatch("row-deleted",this)}detachModules(){this.dispatch("row-deleting",this)}deleteCells(){var e=this.cells.length;for(let r=0;r{r(this.position)}))}watchPosition(e){this.positionWatchers.push(e),e(this.position)}getGroup(){return this.modules.group||!1}getComponent(){return this.component||(this.component=new Wy(this)),this.component}}var vR={avg:function(n,e,r){var C=0,D=typeof r.precision<"u"?r.precision:2;return n.length&&(C=n.reduce(function(T,p){return Number(T)+Number(p)}),C=C/n.length,C=D!==!1?C.toFixed(D):C),parseFloat(C).toString()},max:function(n,e,r){var C=null,D=typeof r.precision<"u"?r.precision:!1;return n.forEach(function(T){T=Number(T),(T>C||C===null)&&(C=T)}),C!==null?D!==!1?C.toFixed(D):C:""},min:function(n,e,r){var C=null,D=typeof r.precision<"u"?r.precision:!1;return n.forEach(function(T){T=Number(T),(T(n||D===0)&&n.indexOf(D)===T);return C.length}};class zf extends qi{constructor(e){super(e),this.topCalcs=[],this.botCalcs=[],this.genColumn=!1,this.topElement=this.createElement(),this.botElement=this.createElement(),this.topRow=!1,this.botRow=!1,this.topInitialized=!1,this.botInitialized=!1,this.blocked=!1,this.recalcAfterBlock=!1,this.registerTableOption("columnCalcs",!0),this.registerColumnOption("topCalc"),this.registerColumnOption("topCalcParams"),this.registerColumnOption("topCalcFormatter"),this.registerColumnOption("topCalcFormatterParams"),this.registerColumnOption("bottomCalc"),this.registerColumnOption("bottomCalcParams"),this.registerColumnOption("bottomCalcFormatter"),this.registerColumnOption("bottomCalcFormatterParams")}createElement(){var e=document.createElement("div");return e.classList.add("tabulator-calcs-holder"),e}initialize(){this.genColumn=new vh({field:"value"},this),this.subscribe("cell-value-changed",this.cellValueChanged.bind(this)),this.subscribe("column-init",this.initializeColumnCheck.bind(this)),this.subscribe("row-deleted",this.rowsUpdated.bind(this)),this.subscribe("scroll-horizontal",this.scrollHorizontal.bind(this)),this.subscribe("row-added",this.rowsUpdated.bind(this)),this.subscribe("column-moved",this.recalcActiveRows.bind(this)),this.subscribe("column-add",this.recalcActiveRows.bind(this)),this.subscribe("data-refreshed",this.recalcActiveRowsRefresh.bind(this)),this.subscribe("table-redraw",this.tableRedraw.bind(this)),this.subscribe("rows-visible",this.visibleRows.bind(this)),this.subscribe("scrollbar-vertical",this.adjustForScrollbar.bind(this)),this.subscribe("redraw-blocked",this.blockRedraw.bind(this)),this.subscribe("redraw-restored",this.restoreRedraw.bind(this)),this.subscribe("table-redrawing",this.resizeHolderWidth.bind(this)),this.subscribe("column-resized",this.resizeHolderWidth.bind(this)),this.subscribe("column-show",this.resizeHolderWidth.bind(this)),this.subscribe("column-hide",this.resizeHolderWidth.bind(this)),this.registerTableFunction("getCalcResults",this.getResults.bind(this)),this.registerTableFunction("recalc",this.userRecalc.bind(this)),this.resizeHolderWidth()}resizeHolderWidth(){this.topElement.style.minWidth=this.table.columnManager.headersElement.offsetWidth+"px"}tableRedraw(e){this.recalc(this.table.rowManager.activeRows),e&&this.redraw()}blockRedraw(){this.blocked=!0,this.recalcAfterBlock=!1}restoreRedraw(){this.blocked=!1,this.recalcAfterBlock&&(this.recalcAfterBlock=!1,this.recalcActiveRowsRefresh())}userRecalc(){this.recalc(this.table.rowManager.activeRows)}blockCheck(){return this.blocked&&(this.recalcAfterBlock=!0),this.blocked}visibleRows(e,r){return this.topRow&&r.unshift(this.topRow),this.botRow&&r.push(this.botRow),r}rowsUpdated(e){this.table.options.groupBy?this.recalcRowGroup(e):this.recalcActiveRows()}recalcActiveRowsRefresh(){this.table.options.groupBy&&this.table.options.dataTreeStartExpanded&&this.table.options.dataTree?this.recalcAll():this.recalcActiveRows()}recalcActiveRows(){this.recalc(this.table.rowManager.activeRows)}cellValueChanged(e){(e.column.definition.topCalc||e.column.definition.bottomCalc)&&(this.table.options.groupBy?((this.table.options.columnCalcs=="table"||this.table.options.columnCalcs=="both")&&this.recalcActiveRows(),this.table.options.columnCalcs!="table"&&this.recalcRowGroup(e.row)):this.recalcActiveRows())}initializeColumnCheck(e){(e.definition.topCalc||e.definition.bottomCalc)&&this.initializeColumn(e)}initializeColumn(e){var r=e.definition,C={topCalcParams:r.topCalcParams||{},botCalcParams:r.bottomCalcParams||{}};if(r.topCalc){switch(typeof r.topCalc){case"string":zf.calculations[r.topCalc]?C.topCalc=zf.calculations[r.topCalc]:console.warn("Column Calc Error - No such calculation found, ignoring: ",r.topCalc);break;case"function":C.topCalc=r.topCalc;break}C.topCalc&&(e.modules.columnCalcs=C,this.topCalcs.push(e),this.table.options.columnCalcs!="group"&&this.initializeTopRow())}if(r.bottomCalc){switch(typeof r.bottomCalc){case"string":zf.calculations[r.bottomCalc]?C.botCalc=zf.calculations[r.bottomCalc]:console.warn("Column Calc Error - No such calculation found, ignoring: ",r.bottomCalc);break;case"function":C.botCalc=r.bottomCalc;break}C.botCalc&&(e.modules.columnCalcs=C,this.botCalcs.push(e),this.table.options.columnCalcs!="group"&&this.initializeBottomRow())}}registerColumnField(){}removeCalcs(){var e=!1;this.topInitialized&&(this.topInitialized=!1,this.topElement.parentNode.removeChild(this.topElement),e=!0),this.botInitialized&&(this.botInitialized=!1,this.footerRemove(this.botElement),e=!0),e&&this.table.rowManager.adjustTableSize()}reinitializeCalcs(){this.topCalcs.length&&this.initializeTopRow(),this.botCalcs.length&&this.initializeBottomRow()}initializeTopRow(){var e=document.createDocumentFragment();this.topInitialized||(e.appendChild(document.createElement("br")),e.appendChild(this.topElement),this.table.columnManager.getContentsElement().insertBefore(e,this.table.columnManager.headersElement.nextSibling),this.topInitialized=!0)}initializeBottomRow(){this.botInitialized||(this.footerPrepend(this.botElement),this.botInitialized=!0)}scrollHorizontal(e){this.botInitialized&&this.botRow&&(this.botElement.scrollLeft=e)}recalc(e){var r,C;if(!this.blockCheck()&&(this.topInitialized||this.botInitialized)){if(r=this.rowsToData(e),this.topInitialized){for(this.topRow&&this.topRow.deleteCells(),C=this.generateRow("top",r),this.topRow=C;this.topElement.firstChild;)this.topElement.removeChild(this.topElement.firstChild);this.topElement.appendChild(C.getElement()),C.initialize(!0)}if(this.botInitialized){for(this.botRow&&this.botRow.deleteCells(),C=this.generateRow("bottom",r),this.botRow=C;this.botElement.firstChild;)this.botElement.removeChild(this.botElement.firstChild);this.botElement.appendChild(C.getElement()),C.initialize(!0)}this.table.rowManager.adjustTableSize(),this.table.modExists("frozenColumns")&&this.table.modules.frozenColumns.layout()}}recalcRowGroup(e){this.recalcGroup(this.table.modules.groupRows.getRowGroup(e))}recalcAll(){if((this.topCalcs.length||this.botCalcs.length)&&(this.table.options.columnCalcs!=="group"&&this.recalcActiveRows(),this.table.options.groupBy&&this.table.options.columnCalcs!=="table")){var e=this.table.modules.groupRows.getChildGroups();e.forEach(r=>{this.recalcGroup(r)})}}recalcGroup(e){var r,C;this.blockCheck()||e&&e.calcs&&(e.calcs.bottom&&(r=this.rowsToData(e.rows),C=this.generateRowData("bottom",r),e.calcs.bottom.updateData(C),e.calcs.bottom.reinitialize()),e.calcs.top&&(r=this.rowsToData(e.rows),C=this.generateRowData("top",r),e.calcs.top.updateData(C),e.calcs.top.reinitialize()))}generateTopRow(e){return this.generateRow("top",this.rowsToData(e))}generateBottomRow(e){return this.generateRow("bottom",this.rowsToData(e))}rowsToData(e){var r=[];return e.forEach(C=>{if(r.push(C.getData()),this.table.options.dataTree&&this.table.options.dataTreeChildColumnCalcs&&C.modules.dataTree&&C.modules.dataTree.open){var D=this.rowsToData(this.table.modules.dataTree.getFilteredTreeChildren(C));r=r.concat(D)}}),r}generateRow(e,r){var C=this.generateRowData(e,r),D;return this.table.modExists("mutator")&&this.table.modules.mutator.disable(),D=new vl(C,this,"calc"),this.table.modExists("mutator")&&this.table.modules.mutator.enable(),D.getElement().classList.add("tabulator-calcs","tabulator-calcs-"+e),D.component=!1,D.getComponent=()=>(D.component||(D.component=new gR(D)),D.component),D.generateCells=()=>{var T=[];this.table.columnManager.columnsByIndex.forEach(p=>{this.genColumn.setField(p.getField()),this.genColumn.hozAlign=p.hozAlign,p.definition[e+"CalcFormatter"]&&this.table.modExists("format")?this.genColumn.modules.format={formatter:this.table.modules.format.getFormatter(p.definition[e+"CalcFormatter"]),params:p.definition[e+"CalcFormatterParams"]||{}}:this.genColumn.modules.format={formatter:this.table.modules.format.getFormatter("plaintext"),params:{}},this.genColumn.definition.cssClass=p.definition.cssClass;var t=new eg(this.genColumn,D);t.getElement(),t.column=p,t.setWidth(),p.cells.push(t),T.push(t),p.visible||t.hide()}),D.cells=T},D}generateRowData(e,r){var C={},D=e=="top"?this.topCalcs:this.botCalcs,T=e=="top"?"topCalc":"botCalc",p,t;return D.forEach(function(d){var g=[];d.modules.columnCalcs&&d.modules.columnCalcs[T]&&(r.forEach(function(i){g.push(d.getFieldValue(i))}),t=T+"Params",p=typeof d.modules.columnCalcs[t]=="function"?d.modules.columnCalcs[t](g,r):d.modules.columnCalcs[t],d.setFieldValue(C,d.modules.columnCalcs[T](g,r,p)))}),C}hasTopCalcs(){return!!this.topCalcs.length}hasBottomCalcs(){return!!this.botCalcs.length}redraw(){this.topRow&&this.topRow.normalizeHeight(!0),this.botRow&&this.botRow.normalizeHeight(!0)}getResults(){var e={},r;return this.table.options.groupBy&&this.table.modExists("groupRows")?(r=this.table.modules.groupRows.getGroups(!0),r.forEach(C=>{e[C.getKey()]=this.getGroupResults(C)})):e={top:this.topRow?this.topRow.getData():{},bottom:this.botRow?this.botRow.getData():{}},e}getGroupResults(e){var r=e._getSelf(),C=e.getSubGroups(),D={},T={};return C.forEach(p=>{D[p.getKey()]=this.getGroupResults(p)}),T={top:r.calcs.top?r.calcs.top.getData():{},bottom:r.calcs.bottom?r.calcs.bottom.getData():{},groups:D},T}adjustForScrollbar(e){this.botRow&&(this.table.rtl?this.botElement.style.paddingLeft=e+"px":this.botElement.style.paddingRight=e+"px")}}zf.moduleName="columnCalcs";zf.calculations=vR;class OM extends qi{constructor(e){super(e),this.indent=10,this.field="",this.collapseEl=null,this.expandEl=null,this.branchEl=null,this.elementField=!1,this.startOpen=function(){},this.registerTableOption("dataTree",!1),this.registerTableOption("dataTreeFilter",!0),this.registerTableOption("dataTreeSort",!0),this.registerTableOption("dataTreeElementColumn",!1),this.registerTableOption("dataTreeBranchElement",!0),this.registerTableOption("dataTreeChildIndent",9),this.registerTableOption("dataTreeChildField","_children"),this.registerTableOption("dataTreeCollapseElement",!1),this.registerTableOption("dataTreeExpandElement",!1),this.registerTableOption("dataTreeStartExpanded",!1),this.registerTableOption("dataTreeChildColumnCalcs",!1),this.registerTableOption("dataTreeSelectPropagate",!1),this.registerComponentFunction("row","treeCollapse",this.collapseRow.bind(this)),this.registerComponentFunction("row","treeExpand",this.expandRow.bind(this)),this.registerComponentFunction("row","treeToggle",this.toggleRow.bind(this)),this.registerComponentFunction("row","getTreeParent",this.getTreeParent.bind(this)),this.registerComponentFunction("row","getTreeChildren",this.getRowChildren.bind(this)),this.registerComponentFunction("row","addTreeChild",this.addTreeChildRow.bind(this)),this.registerComponentFunction("row","isTreeExpanded",this.isRowExpanded.bind(this))}initialize(){if(this.table.options.dataTree){var e=null,r=this.table.options;switch(this.field=r.dataTreeChildField,this.indent=r.dataTreeChildIndent,this.options("movableRows")&&console.warn("The movableRows option is not available with dataTree enabled, moving of child rows could result in unpredictable behavior"),r.dataTreeBranchElement?r.dataTreeBranchElement===!0?(this.branchEl=document.createElement("div"),this.branchEl.classList.add("tabulator-data-tree-branch")):typeof r.dataTreeBranchElement=="string"?(e=document.createElement("div"),e.innerHTML=r.dataTreeBranchElement,this.branchEl=e.firstChild):this.branchEl=r.dataTreeBranchElement:(this.branchEl=document.createElement("div"),this.branchEl.classList.add("tabulator-data-tree-branch-empty")),r.dataTreeCollapseElement?typeof r.dataTreeCollapseElement=="string"?(e=document.createElement("div"),e.innerHTML=r.dataTreeCollapseElement,this.collapseEl=e.firstChild):this.collapseEl=r.dataTreeCollapseElement:(this.collapseEl=document.createElement("div"),this.collapseEl.classList.add("tabulator-data-tree-control"),this.collapseEl.tabIndex=0,this.collapseEl.innerHTML="
"),r.dataTreeExpandElement?typeof r.dataTreeExpandElement=="string"?(e=document.createElement("div"),e.innerHTML=r.dataTreeExpandElement,this.expandEl=e.firstChild):this.expandEl=r.dataTreeExpandElement:(this.expandEl=document.createElement("div"),this.expandEl.classList.add("tabulator-data-tree-control"),this.expandEl.tabIndex=0,this.expandEl.innerHTML="
"),typeof r.dataTreeStartExpanded){case"boolean":this.startOpen=function(C,D){return r.dataTreeStartExpanded};break;case"function":this.startOpen=r.dataTreeStartExpanded;break;default:this.startOpen=function(C,D){return r.dataTreeStartExpanded[D]};break}this.subscribe("row-init",this.initializeRow.bind(this)),this.subscribe("row-layout-after",this.layoutRow.bind(this)),this.subscribe("row-deleted",this.rowDelete.bind(this),0),this.subscribe("row-data-changed",this.rowDataChanged.bind(this),10),this.subscribe("cell-value-updated",this.cellValueChanged.bind(this)),this.subscribe("edit-cancelled",this.cellValueChanged.bind(this)),this.subscribe("column-moving-rows",this.columnMoving.bind(this)),this.subscribe("table-built",this.initializeElementField.bind(this)),this.subscribe("table-redrawing",this.tableRedrawing.bind(this)),this.registerDisplayHandler(this.getRows.bind(this),30)}}tableRedrawing(e){var r;e&&(r=this.table.rowManager.getRows(),r.forEach(C=>{this.reinitializeRowChildren(C)}))}initializeElementField(){var e=this.table.columnManager.getFirstVisibleColumn();this.elementField=this.table.options.dataTreeElementColumn||(e?e.field:!1)}getRowChildren(e){return this.getTreeChildren(e,!0)}columnMoving(){var e=[];return this.table.rowManager.rows.forEach(r=>{e=e.concat(this.getTreeChildren(r,!1,!0))}),e}rowDataChanged(e,r,C){this.redrawNeeded(C)&&(this.initializeRow(e),r&&(this.layoutRow(e),this.refreshData(!0)))}cellValueChanged(e){var r=e.column.getField();r===this.elementField&&this.layoutRow(e.row)}initializeRow(e){var r=e.getData()[this.field],C=Array.isArray(r),D=C||!C&&typeof r=="object"&&r!==null;!D&&e.modules.dataTree&&e.modules.dataTree.branchEl&&e.modules.dataTree.branchEl.parentNode.removeChild(e.modules.dataTree.branchEl),!D&&e.modules.dataTree&&e.modules.dataTree.controlEl&&e.modules.dataTree.controlEl.parentNode.removeChild(e.modules.dataTree.controlEl),e.modules.dataTree={index:e.modules.dataTree?e.modules.dataTree.index:0,open:D?e.modules.dataTree?e.modules.dataTree.open:this.startOpen(e.getComponent(),0):!1,controlEl:e.modules.dataTree&&D?e.modules.dataTree.controlEl:!1,branchEl:e.modules.dataTree&&D?e.modules.dataTree.branchEl:!1,parent:e.modules.dataTree?e.modules.dataTree.parent:!1,children:D}}reinitializeRowChildren(e){var r=this.getTreeChildren(e,!1,!0);r.forEach(function(C){C.reinitialize(!0)})}layoutRow(e){var r=this.elementField?e.getCell(this.elementField):e.getCells()[0],C=r.getElement(),D=e.modules.dataTree;D.branchEl&&(D.branchEl.parentNode&&D.branchEl.parentNode.removeChild(D.branchEl),D.branchEl=!1),D.controlEl&&(D.controlEl.parentNode&&D.controlEl.parentNode.removeChild(D.controlEl),D.controlEl=!1),this.generateControlElement(e,C),e.getElement().classList.add("tabulator-tree-level-"+D.index),D.index&&(this.branchEl?(D.branchEl=this.branchEl.cloneNode(!0),C.insertBefore(D.branchEl,C.firstChild),this.table.rtl?D.branchEl.style.marginRight=(D.branchEl.offsetWidth+D.branchEl.style.marginLeft)*(D.index-1)+D.index*this.indent+"px":D.branchEl.style.marginLeft=(D.branchEl.offsetWidth+D.branchEl.style.marginRight)*(D.index-1)+D.index*this.indent+"px"):this.table.rtl?C.style.paddingRight=parseInt(window.getComputedStyle(C,null).getPropertyValue("padding-right"))+D.index*this.indent+"px":C.style.paddingLeft=parseInt(window.getComputedStyle(C,null).getPropertyValue("padding-left"))+D.index*this.indent+"px")}generateControlElement(e,r){var C=e.modules.dataTree,D=C.controlEl;r=r||e.getCells()[0].getElement(),C.children!==!1&&(C.open?(C.controlEl=this.collapseEl.cloneNode(!0),C.controlEl.addEventListener("click",T=>{T.stopPropagation(),this.collapseRow(e)})):(C.controlEl=this.expandEl.cloneNode(!0),C.controlEl.addEventListener("click",T=>{T.stopPropagation(),this.expandRow(e)})),C.controlEl.addEventListener("mousedown",T=>{T.stopPropagation()}),D&&D.parentNode===r?D.parentNode.replaceChild(C.controlEl,D):r.insertBefore(C.controlEl,r.firstChild))}getRows(e){var r=[];return e.forEach((C,D)=>{var T,p;r.push(C),C instanceof vl&&(C.create(),T=C.modules.dataTree,!T.index&&T.children!==!1&&(p=this.getChildren(C),p.forEach(t=>{t.create(),r.push(t)})))}),r}getChildren(e,r){var C=e.modules.dataTree,D=[],T=[];return C.children!==!1&&(C.open||r)&&(Array.isArray(C.children)||(C.children=this.generateChildren(e)),this.table.modExists("filter")&&this.table.options.dataTreeFilter?D=this.table.modules.filter.filter(C.children):D=C.children,this.table.modExists("sort")&&this.table.options.dataTreeSort&&this.table.modules.sort.sort(D),D.forEach(p=>{T.push(p);var t=this.getChildren(p);t.forEach(d=>{T.push(d)})})),T}generateChildren(e){var r=[],C=e.getData()[this.field];return Array.isArray(C)||(C=[C]),C.forEach(D=>{var T=new vl(D||{},this.table.rowManager);T.create(),T.modules.dataTree.index=e.modules.dataTree.index+1,T.modules.dataTree.parent=e,T.modules.dataTree.children&&(T.modules.dataTree.open=this.startOpen(T.getComponent(),T.modules.dataTree.index)),r.push(T)}),r}expandRow(e,r){var C=e.modules.dataTree;C.children!==!1&&(C.open=!0,e.reinitialize(),this.refreshData(!0),this.dispatchExternal("dataTreeRowExpanded",e.getComponent(),e.modules.dataTree.index))}collapseRow(e){var r=e.modules.dataTree;r.children!==!1&&(r.open=!1,e.reinitialize(),this.refreshData(!0),this.dispatchExternal("dataTreeRowCollapsed",e.getComponent(),e.modules.dataTree.index))}toggleRow(e){var r=e.modules.dataTree;r.children!==!1&&(r.open?this.collapseRow(e):this.expandRow(e))}isRowExpanded(e){return e.modules.dataTree.open}getTreeParent(e){return e.modules.dataTree.parent?e.modules.dataTree.parent.getComponent():!1}getTreeParentRoot(e){return e.modules.dataTree&&e.modules.dataTree.parent?this.getTreeParentRoot(e.modules.dataTree.parent):e}getFilteredTreeChildren(e){var r=e.modules.dataTree,C=[],D;return r.children&&(Array.isArray(r.children)||(r.children=this.generateChildren(e)),this.table.modExists("filter")&&this.table.options.dataTreeFilter?D=this.table.modules.filter.filter(r.children):D=r.children,D.forEach(T=>{T instanceof vl&&C.push(T)})),C}rowDelete(e){var r=e.modules.dataTree.parent,C;r&&(C=this.findChildIndex(e,r),C!==!1&&r.data[this.field].splice(C,1),r.data[this.field].length||delete r.data[this.field],this.initializeRow(r),this.layoutRow(r)),this.refreshData(!0)}addTreeChildRow(e,r,C,D){var T=!1;typeof r=="string"&&(r=JSON.parse(r)),Array.isArray(e.data[this.field])||(e.data[this.field]=[],e.modules.dataTree.open=this.startOpen(e.getComponent(),e.modules.dataTree.index)),typeof D<"u"&&(T=this.findChildIndex(D,e),T!==!1&&e.data[this.field].splice(C?T:T+1,0,r)),T===!1&&(C?e.data[this.field].unshift(r):e.data[this.field].push(r)),this.initializeRow(e),this.layoutRow(e),this.refreshData(!0)}findChildIndex(e,r){var C=!1;return typeof e=="object"?e instanceof vl?C=e.data:e instanceof Wy?C=e._getSelf().data:typeof HTMLElement<"u"&&e instanceof HTMLElement?r.modules.dataTree&&(C=r.modules.dataTree.children.find(D=>D instanceof vl?D.element===e:!1),C&&(C=C.data)):e===null&&(C=!1):typeof e>"u"?C=!1:C=r.data[this.field].find(D=>D.data[this.table.options.index]==e),C&&(Array.isArray(r.data[this.field])&&(C=r.data[this.field].indexOf(C)),C==-1&&(C=!1)),C}getTreeChildren(e,r,C){var D=e.modules.dataTree,T=[];return D&&D.children&&(Array.isArray(D.children)||(D.children=this.generateChildren(e)),D.children.forEach(p=>{p instanceof vl&&(T.push(r?p.getComponent():p),C&&(T=T.concat(this.getTreeChildren(p,r,C))))})),T}getChildField(){return this.field}redrawNeeded(e){return(this.field?typeof e[this.field]<"u":!1)||(this.elementField?typeof e[this.elementField]<"u":!1)}}OM.moduleName="dataTree";function yR(n,e={},r){var C=e.delimiter?e.delimiter:",",D=[],T=[];n.forEach(p=>{var t=[];switch(p.type){case"group":console.warn("Download Warning - CSV downloader cannot process row groups");break;case"calc":console.warn("Download Warning - CSV downloader cannot process column calculations");break;case"header":p.columns.forEach((d,g)=>{d&&d.depth===1&&(T[g]=typeof d.value>"u"||d.value===null?"":'"'+String(d.value).split('"').join('""')+'"')});break;case"row":p.columns.forEach(d=>{if(d){switch(typeof d.value){case"object":d.value=d.value!==null?JSON.stringify(d.value):"";break;case"undefined":d.value="";break}t.push('"'+String(d.value).split('"').join('""')+'"')}}),D.push(t.join(C));break}}),T.length&&D.unshift(T.join(C)),D=D.join(` -`),e.bom&&(D="\uFEFF"+D),r(D,"text/csv")}function bR(n,e,r){var C=[];n.forEach(D=>{var T={};switch(D.type){case"header":break;case"group":console.warn("Download Warning - JSON downloader cannot process row groups");break;case"calc":console.warn("Download Warning - JSON downloader cannot process column calculations");break;case"row":D.columns.forEach(p=>{p&&(T[p.component.getTitleDownload()||p.component.getField()]=p.value)}),C.push(T);break}}),C=JSON.stringify(C,null," "),r(C,"application/json")}function xR(n,e={},r){var C=[],D=[],T={},p=e.rowGroupStyles||{fontStyle:"bold",fontSize:12,cellPadding:6,fillColor:220},t=e.rowCalcStyles||{fontStyle:"bold",fontSize:10,cellPadding:4,fillColor:232},d=e.jsPDF||{},g=e.title?e.title:"";d.orientation||(d.orientation=e.orientation||"landscape"),d.unit||(d.unit="pt"),n.forEach(v=>{switch(v.type){case"header":C.push(i(v));break;case"group":D.push(i(v,p));break;case"calc":D.push(i(v,t));break;case"row":D.push(i(v));break}});function i(v,f){var l=[];return v.columns.forEach(a=>{var u;if(a){switch(typeof a.value){case"object":a.value=a.value!==null?JSON.stringify(a.value):"";break;case"undefined":a.value="";break}u={content:a.value,colSpan:a.width,rowSpan:a.height},f&&(u.styles=f),l.push(u)}}),l}var M=new jspdf.jsPDF(d);e.autoTable&&(typeof e.autoTable=="function"?T=e.autoTable(M)||{}:T=e.autoTable),g&&(T.didDrawPage=function(v){M.text(g,40,30)}),T.head=C,T.body=D,M.autoTable(T),e.documentProcessing&&e.documentProcessing(M),r(M.output("arraybuffer"),"application/pdf")}function _R(n,e,r){var C=this,D=e.sheetName||"Sheet1",T=XLSX.utils.book_new(),p=new kl(this),t="compress"in e?e.compress:!0,d=e.writeOptions||{bookType:"xlsx",bookSST:!0,compression:t},g;d.type="binary",T.SheetNames=[],T.Sheets={};function i(){var f=[],l=[],a={},u={s:{c:0,r:0},e:{c:n[0]?n[0].columns.reduce((o,s)=>o+(s&&s.width?s.width:1),0):0,r:n.length}};return n.forEach((o,s)=>{var c=[];o.columns.forEach(function(h,m){h?(c.push(!(h.value instanceof Date)&&typeof h.value=="object"?JSON.stringify(h.value):h.value),(h.width>1||h.height>-1)&&(h.height>1||h.width>1)&&l.push({s:{r:s,c:m},e:{r:s+h.height-1,c:m+h.width-1}})):c.push("")}),f.push(c)}),XLSX.utils.sheet_add_aoa(a,f),a["!ref"]=XLSX.utils.encode_range(u),l.length&&(a["!merges"]=l),a}if(e.sheetOnly){r(i());return}if(e.sheets)for(var M in e.sheets)e.sheets[M]===!0?(T.SheetNames.push(M),T.Sheets[M]=i()):(T.SheetNames.push(M),p.commsSend(e.sheets[M],"download","intercept",{type:"xlsx",options:{sheetOnly:!0},active:C.active,intercept:function(f){T.Sheets[M]=f}}));else T.SheetNames.push(D),T.Sheets[D]=i();e.documentProcessing&&(T=e.documentProcessing(T));function v(f){for(var l=new ArrayBuffer(f.length),a=new Uint8Array(l),u=0;u!=f.length;++u)a[u]=f.charCodeAt(u)&255;return l}g=XLSX.write(T,d),r(v(g),"application/octet-stream")}function wR(n,e,r){this.modExists("export",!0)&&r(this.modules.export.generateHTMLTable(n),"text/html")}function TR(n,e,r){const C=[];n.forEach(D=>{const T={};switch(D.type){case"header":break;case"group":console.warn("Download Warning - JSON downloader cannot process row groups");break;case"calc":console.warn("Download Warning - JSON downloader cannot process column calculations");break;case"row":D.columns.forEach(p=>{p&&(T[p.component.getTitleDownload()||p.component.getField()]=p.value)}),C.push(JSON.stringify(T));break}}),r(C.join(` -`),"application/x-ndjson")}var kR={csv:yR,json:bR,jsonLines:TR,pdf:xR,xlsx:_R,html:wR};class a0 extends qi{constructor(e){super(e),this.registerTableOption("downloadEncoder",function(r,C){return new Blob([r],{type:C})}),this.registerTableOption("downloadReady",void 0),this.registerTableOption("downloadConfig",{}),this.registerTableOption("downloadRowRange","active"),this.registerColumnOption("download"),this.registerColumnOption("titleDownload")}initialize(){this.deprecatedOptionsCheck(),this.registerTableFunction("download",this.download.bind(this)),this.registerTableFunction("downloadToTab",this.downloadToTab.bind(this))}deprecatedOptionsCheck(){this.deprecationCheck("downloadReady","downloadEncoder")}downloadToTab(e,r,C,D){this.download(e,r,C,D,!0)}download(e,r,C,D,T){var p=!1;function t(g,i){T?T===!0?this.triggerDownload(g,i,e,r,!0):T(g):this.triggerDownload(g,i,e,r)}if(typeof e=="function"?p=e:a0.downloaders[e]?p=a0.downloaders[e]:console.warn("Download Error - No such download type found: ",e),p){var d=this.generateExportList(D);p.call(this.table,d,C||{},t.bind(this))}}generateExportList(e){var r=this.table.modules.export.generateExportList(this.table.options.downloadConfig,!1,e||this.table.options.downloadRowRange,"download"),C=this.table.options.groupHeaderDownload;return C&&!Array.isArray(C)&&(C=[C]),r.forEach(D=>{var T;D.type==="group"&&(T=D.columns[0],C&&C[D.indent]&&(T.value=C[D.indent](T.value,D.component._group.getRowCount(),D.component._group.getData(),D.component)))}),r}triggerDownload(e,r,C,D,T){var p=document.createElement("a"),t=this.table.options.downloadEncoder(e,r);t&&(T?window.open(window.URL.createObjectURL(t)):(D=D||"Tabulator."+(typeof C=="function"?"txt":C),navigator.msSaveOrOpenBlob?navigator.msSaveOrOpenBlob(t,D):(p.setAttribute("href",window.URL.createObjectURL(t)),p.setAttribute("download",D),p.style.display="none",document.body.appendChild(p),p.click(),document.body.removeChild(p))),this.dispatchExternal("downloadComplete"))}commsReceived(e,r,C){switch(r){case"intercept":this.download(C.type,"",C.options,C.active,C.intercept);break}}}a0.moduleName="download";a0.downloaders=kR;function Yy(n,e){var r=e.mask,C=typeof e.maskLetterChar<"u"?e.maskLetterChar:"A",D=typeof e.maskNumberChar<"u"?e.maskNumberChar:"9",T=typeof e.maskWildcardChar<"u"?e.maskWildcardChar:"*";function p(t){var d=r[t];typeof d<"u"&&d!==T&&d!==C&&d!==D&&(n.value=n.value+""+d,p(t+1))}n.addEventListener("keydown",t=>{var d=n.value.length,g=t.key;if(t.keyCode>46&&!t.ctrlKey&&!t.metaKey){if(d>=r.length)return t.preventDefault(),t.stopPropagation(),!1;switch(r[d]){case C:if(g.toUpperCase()==g.toLowerCase())return t.preventDefault(),t.stopPropagation(),!1;break;case D:if(isNaN(g))return t.preventDefault(),t.stopPropagation(),!1;break;case T:break;default:if(g!==r[d])return t.preventDefault(),t.stopPropagation(),!1}}}),n.addEventListener("keyup",t=>{t.keyCode>46&&e.maskAutoFill&&p(n.value.length)}),n.placeholder||(n.placeholder=r),e.maskAutoFill&&p(n.value.length)}function MR(n,e,r,C,D){var T=n.getValue(),p=document.createElement("input");if(p.setAttribute("type",D.search?"search":"text"),p.style.padding="4px",p.style.width="100%",p.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let d in D.elementAttributes)d.charAt(0)=="+"?(d=d.slice(1),p.setAttribute(d,p.getAttribute(d)+D.elementAttributes["+"+d])):p.setAttribute(d,D.elementAttributes[d]);p.value=typeof T<"u"?T:"",e(function(){n.getType()==="cell"&&(p.focus({preventScroll:!0}),p.style.height="100%",D.selectContents&&p.select())});function t(d){(T===null||typeof T>"u")&&p.value!==""||p.value!==T?r(p.value)&&(T=p.value):C()}return p.addEventListener("change",t),p.addEventListener("blur",t),p.addEventListener("keydown",function(d){switch(d.keyCode){case 13:t();break;case 27:C();break;case 35:case 36:d.stopPropagation();break}}),D.mask&&Yy(p,D),p}function AR(n,e,r,C,D){var T=n.getValue(),p=D.verticalNavigation||"hybrid",t=String(T!==null&&typeof T<"u"?T:""),d=document.createElement("textarea"),g=0;if(d.style.display="block",d.style.padding="2px",d.style.height="100%",d.style.width="100%",d.style.boxSizing="border-box",d.style.whiteSpace="pre-wrap",d.style.resize="none",D.elementAttributes&&typeof D.elementAttributes=="object")for(let M in D.elementAttributes)M.charAt(0)=="+"?(M=M.slice(1),d.setAttribute(M,d.getAttribute(M)+D.elementAttributes["+"+M])):d.setAttribute(M,D.elementAttributes[M]);d.value=t,e(function(){n.getType()==="cell"&&(d.focus({preventScroll:!0}),d.style.height="100%",d.scrollHeight,d.style.height=d.scrollHeight+"px",n.getRow().normalizeHeight(),D.selectContents&&d.select())});function i(M){(T===null||typeof T>"u")&&d.value!==""||d.value!==T?(r(d.value)&&(T=d.value),setTimeout(function(){n.getRow().normalizeHeight()},300)):C()}return d.addEventListener("change",i),d.addEventListener("blur",i),d.addEventListener("keyup",function(){d.style.height="";var M=d.scrollHeight;d.style.height=M+"px",M!=g&&(g=M,n.getRow().normalizeHeight())}),d.addEventListener("keydown",function(M){switch(M.keyCode){case 13:M.shiftKey&&D.shiftEnterSubmit&&i();break;case 27:C();break;case 38:(p=="editor"||p=="hybrid"&&d.selectionStart)&&(M.stopImmediatePropagation(),M.stopPropagation());break;case 40:(p=="editor"||p=="hybrid"&&d.selectionStart!==d.value.length)&&(M.stopImmediatePropagation(),M.stopPropagation());break;case 35:case 36:M.stopPropagation();break}}),D.mask&&Yy(d,D),d}function SR(n,e,r,C,D){var T=n.getValue(),p=D.verticalNavigation||"editor",t=document.createElement("input");if(t.setAttribute("type","number"),typeof D.max<"u"&&t.setAttribute("max",D.max),typeof D.min<"u"&&t.setAttribute("min",D.min),typeof D.step<"u"&&t.setAttribute("step",D.step),t.style.padding="4px",t.style.width="100%",t.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let i in D.elementAttributes)i.charAt(0)=="+"?(i=i.slice(1),t.setAttribute(i,t.getAttribute(i)+D.elementAttributes["+"+i])):t.setAttribute(i,D.elementAttributes[i]);t.value=T;var d=function(i){g()};e(function(){n.getType()==="cell"&&(t.removeEventListener("blur",d),t.focus({preventScroll:!0}),t.style.height="100%",t.addEventListener("blur",d),D.selectContents&&t.select())});function g(){var i=t.value;!isNaN(i)&&i!==""&&(i=Number(i)),i!==T?r(i)&&(T=i):C()}return t.addEventListener("keydown",function(i){switch(i.keyCode){case 13:g();break;case 27:C();break;case 38:case 40:p=="editor"&&(i.stopImmediatePropagation(),i.stopPropagation());break;case 35:case 36:i.stopPropagation();break}}),D.mask&&Yy(t,D),t}function CR(n,e,r,C,D){var T=n.getValue(),p=document.createElement("input");if(p.setAttribute("type","range"),typeof D.max<"u"&&p.setAttribute("max",D.max),typeof D.min<"u"&&p.setAttribute("min",D.min),typeof D.step<"u"&&p.setAttribute("step",D.step),p.style.padding="4px",p.style.width="100%",p.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let d in D.elementAttributes)d.charAt(0)=="+"?(d=d.slice(1),p.setAttribute(d,p.getAttribute(d)+D.elementAttributes["+"+d])):p.setAttribute(d,D.elementAttributes[d]);p.value=T,e(function(){n.getType()==="cell"&&(p.focus({preventScroll:!0}),p.style.height="100%")});function t(){var d=p.value;!isNaN(d)&&d!==""&&(d=Number(d)),d!=T?r(d)&&(T=d):C()}return p.addEventListener("blur",function(d){t()}),p.addEventListener("keydown",function(d){switch(d.keyCode){case 13:t();break;case 27:C();break}}),p}function ER(n,e,r,C,D){var T=D.format,p=D.verticalNavigation||"editor",t=T?window.DateTime||luxon.DateTime:null,d=n.getValue(),g=document.createElement("input");function i(v){var f;return t.isDateTime(v)?f=v:T==="iso"?f=t.fromISO(String(v)):f=t.fromFormat(String(v),T),f.toFormat("yyyy-MM-dd")}if(g.type="date",g.style.padding="4px",g.style.width="100%",g.style.boxSizing="border-box",D.max&&g.setAttribute("max",T?i(D.max):D.max),D.min&&g.setAttribute("min",T?i(D.min):D.min),D.elementAttributes&&typeof D.elementAttributes=="object")for(let v in D.elementAttributes)v.charAt(0)=="+"?(v=v.slice(1),g.setAttribute(v,g.getAttribute(v)+D.elementAttributes["+"+v])):g.setAttribute(v,D.elementAttributes[v]);d=typeof d<"u"?d:"",T&&(t?d=i(d):console.error("Editor Error - 'date' editor 'format' param is dependant on luxon.js")),g.value=d,e(function(){n.getType()==="cell"&&(g.focus({preventScroll:!0}),g.style.height="100%",D.selectContents&&g.select())});function M(){var v=g.value,f;if((d===null||typeof d>"u")&&v!==""||v!==d){if(v&&T)switch(f=t.fromFormat(String(v),"yyyy-MM-dd"),T){case!0:v=f;break;case"iso":v=f.toISO();break;default:v=f.toFormat(T)}r(v)&&(d=g.value)}else C()}return g.addEventListener("blur",function(v){(v.relatedTarget||v.rangeParent||v.explicitOriginalTarget!==g)&&M()}),g.addEventListener("keydown",function(v){switch(v.keyCode){case 13:M();break;case 27:C();break;case 35:case 36:v.stopPropagation();break;case 38:case 40:p=="editor"&&(v.stopImmediatePropagation(),v.stopPropagation());break}}),g}function LR(n,e,r,C,D){var T=D.format,p=D.verticalNavigation||"editor",t=T?window.DateTime||luxon.DateTime:null,d,g=n.getValue(),i=document.createElement("input");if(i.type="time",i.style.padding="4px",i.style.width="100%",i.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let v in D.elementAttributes)v.charAt(0)=="+"?(v=v.slice(1),i.setAttribute(v,i.getAttribute(v)+D.elementAttributes["+"+v])):i.setAttribute(v,D.elementAttributes[v]);g=typeof g<"u"?g:"",T&&(t?(t.isDateTime(g)?d=g:T==="iso"?d=t.fromISO(String(g)):d=t.fromFormat(String(g),T),g=d.toFormat("HH:mm")):console.error("Editor Error - 'date' editor 'format' param is dependant on luxon.js")),console.log("val",g),i.value=g,e(function(){n.getType()=="cell"&&(i.focus({preventScroll:!0}),i.style.height="100%",D.selectContents&&i.select())});function M(){var v=i.value,f;if((g===null||typeof g>"u")&&v!==""||v!==g){if(v&&T)switch(f=t.fromFormat(String(v),"hh:mm"),T){case!0:v=f;break;case"iso":v=f.toISO();break;default:v=f.toFormat(T)}r(v)&&(g=i.value)}else C()}return i.addEventListener("blur",function(v){(v.relatedTarget||v.rangeParent||v.explicitOriginalTarget!==i)&&M()}),i.addEventListener("keydown",function(v){switch(v.keyCode){case 13:M();break;case 27:C();break;case 35:case 36:v.stopPropagation();break;case 38:case 40:p=="editor"&&(v.stopImmediatePropagation(),v.stopPropagation());break}}),i}function IR(n,e,r,C,D){var T=D.format,p=D.verticalNavigation||"editor",t=T?window.DateTime||luxon.DateTime:null,d,g=n.getValue(),i=document.createElement("input");if(i.type="datetime-local",i.style.padding="4px",i.style.width="100%",i.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let v in D.elementAttributes)v.charAt(0)=="+"?(v=v.slice(1),i.setAttribute(v,i.getAttribute(v)+D.elementAttributes["+"+v])):i.setAttribute(v,D.elementAttributes[v]);g=typeof g<"u"?g:"",T&&(t?(t.isDateTime(g)?d=g:T==="iso"?d=t.fromISO(String(g)):d=t.fromFormat(String(g),T),g=d.toFormat("yyyy-MM-dd")+"T"+d.toFormat("HH:mm")):console.error("Editor Error - 'date' editor 'format' param is dependant on luxon.js")),i.value=g,e(function(){n.getType()==="cell"&&(i.focus({preventScroll:!0}),i.style.height="100%",D.selectContents&&i.select())});function M(){var v=i.value,f;if((g===null||typeof g>"u")&&v!==""||v!==g){if(v&&T)switch(f=t.fromISO(String(v)),T){case!0:v=f;break;case"iso":v=f.toISO();break;default:v=f.toFormat(T)}r(v)&&(g=i.value)}else C()}return i.addEventListener("blur",function(v){(v.relatedTarget||v.rangeParent||v.explicitOriginalTarget!==i)&&M()}),i.addEventListener("keydown",function(v){switch(v.keyCode){case 13:M();break;case 27:C();break;case 35:case 36:v.stopPropagation();break;case 38:case 40:p=="editor"&&(v.stopImmediatePropagation(),v.stopPropagation());break}}),i}class G2{constructor(e,r,C,D,T,p){this.edit=e,this.table=e.table,this.cell=r,this.params=this._initializeParams(p),this.data=[],this.displayItems=[],this.currentItems=[],this.focusedItem=null,this.input=this._createInputElement(),this.listEl=this._createListElement(),this.initialValues=null,this.isFilter=r.getType()==="header",this.filterTimeout=null,this.filtered=!1,this.typing=!1,this.values=[],this.popup=null,this.listIteration=0,this.lastAction="",this.filterTerm="",this.blurable=!0,this.actions={success:D,cancel:T},this._deprecatedOptionsCheck(),this._initializeValue(),C(this._onRendered.bind(this))}_deprecatedOptionsCheck(){this.params.listItemFormatter&&this.cell.getTable().deprecationAdvisor.msg("The listItemFormatter editor param has been deprecated, please see the latest editor documentation for updated options"),this.params.sortValuesList&&this.cell.getTable().deprecationAdvisor.msg("The sortValuesList editor param has been deprecated, please see the latest editor documentation for updated options"),this.params.searchFunc&&this.cell.getTable().deprecationAdvisor.msg("The searchFunc editor param has been deprecated, please see the latest editor documentation for updated options"),this.params.searchingPlaceholder&&this.cell.getTable().deprecationAdvisor.msg("The searchingPlaceholder editor param has been deprecated, please see the latest editor documentation for updated options")}_initializeValue(){var e=this.cell.getValue();typeof e>"u"&&typeof this.params.defaultValue<"u"&&(e=this.params.defaultValue),this.initialValues=this.params.multiselect?e:[e],this.isFilter&&(this.input.value=this.initialValues?this.initialValues.join(","):"",this.headerFilterInitialListGen())}_onRendered(){var e=this.cell.getElement();function r(C){C.stopPropagation()}this.isFilter||(this.input.style.height="100%",this.input.focus({preventScroll:!0})),e.addEventListener("click",r),setTimeout(()=>{e.removeEventListener("click",r)},1e3),this.input.addEventListener("mousedown",this._preventPopupBlur.bind(this))}_createListElement(){var e=document.createElement("div");return e.classList.add("tabulator-edit-list"),e.addEventListener("mousedown",this._preventBlur.bind(this)),e.addEventListener("keydown",this._inputKeyDown.bind(this)),e}_setListWidth(){var e=this.isFilter?this.input:this.cell.getElement();this.listEl.style.minWidth=e.offsetWidth+"px",this.params.maxWidth&&(this.params.maxWidth===!0?this.listEl.style.maxWidth=e.offsetWidth+"px":typeof this.params.maxWidth=="number"?this.listEl.style.maxWidth=this.params.maxWidth+"px":this.listEl.style.maxWidth=this.params.maxWidth)}_createInputElement(){var e=this.params.elementAttributes,r=document.createElement("input");if(r.setAttribute("type",this.params.clearable?"search":"text"),r.style.padding="4px",r.style.width="100%",r.style.boxSizing="border-box",this.params.autocomplete||(r.style.cursor="default",r.style.caretColor="transparent"),e&&typeof e=="object")for(let C in e)C.charAt(0)=="+"?(C=C.slice(1),r.setAttribute(C,r.getAttribute(C)+e["+"+C])):r.setAttribute(C,e[C]);return this.params.mask&&Yy(r,this.params),this._bindInputEvents(r),r}_initializeParams(e){var r=["values","valuesURL","valuesLookup"],C;return e=Object.assign({},e),e.verticalNavigation=e.verticalNavigation||"editor",e.placeholderLoading=typeof e.placeholderLoading>"u"?"Searching ...":e.placeholderLoading,e.placeholderEmpty=typeof e.placeholderEmpty>"u"?"No Results Found":e.placeholderEmpty,e.filterDelay=typeof e.filterDelay>"u"?300:e.filterDelay,e.emptyValue=Object.keys(e).includes("emptyValue")?e.emptyValue:"",C=Object.keys(e).filter(D=>r.includes(D)).length,C?C>1&&console.warn("list editor config error - only one of the values, valuesURL, or valuesLookup options can be set on the same editor"):console.warn("list editor config error - either the values, valuesURL, or valuesLookup option must be set"),e.autocomplete?e.multiselect&&(e.multiselect=!1,console.warn("list editor config error - multiselect option is not available when autocomplete is enabled")):(e.freetext&&(e.freetext=!1,console.warn("list editor config error - freetext option is only available when autocomplete is enabled")),e.filterFunc&&(e.filterFunc=!1,console.warn("list editor config error - filterFunc option is only available when autocomplete is enabled")),e.filterRemote&&(e.filterRemote=!1,console.warn("list editor config error - filterRemote option is only available when autocomplete is enabled")),e.mask&&(e.mask=!1,console.warn("list editor config error - mask option is only available when autocomplete is enabled")),e.allowEmpty&&(e.allowEmpty=!1,console.warn("list editor config error - allowEmpty option is only available when autocomplete is enabled")),e.listOnEmpty&&(e.listOnEmpty=!1,console.warn("list editor config error - listOnEmpty option is only available when autocomplete is enabled"))),e.filterRemote&&!(typeof e.valuesLookup=="function"||e.valuesURL)&&(e.filterRemote=!1,console.warn("list editor config error - filterRemote option should only be used when values list is populated from a remote source")),e}_bindInputEvents(e){e.addEventListener("focus",this._inputFocus.bind(this)),e.addEventListener("click",this._inputClick.bind(this)),e.addEventListener("blur",this._inputBlur.bind(this)),e.addEventListener("keydown",this._inputKeyDown.bind(this)),e.addEventListener("search",this._inputSearch.bind(this)),this.params.autocomplete&&e.addEventListener("keyup",this._inputKeyUp.bind(this))}_inputFocus(e){this.rebuildOptionsList()}_filter(){this.params.filterRemote?(clearTimeout(this.filterTimeout),this.filterTimeout=setTimeout(()=>{this.rebuildOptionsList()},this.params.filterDelay)):this._filterList()}_inputClick(e){e.stopPropagation()}_inputBlur(e){this.blurable&&(this.popup?this.popup.hide():this._resolveValue(!0))}_inputSearch(){this._clearChoices()}_inputKeyDown(e){switch(e.keyCode){case 38:this._keyUp(e);break;case 40:this._keyDown(e);break;case 37:case 39:this._keySide(e);break;case 13:this._keyEnter();break;case 27:this._keyEsc();break;case 36:case 35:this._keyHomeEnd(e);break;case 9:this._keyTab(e);break;default:this._keySelectLetter(e)}}_inputKeyUp(e){switch(e.keyCode){case 38:case 37:case 39:case 40:case 13:case 27:break;default:this._keyAutoCompLetter(e)}}_preventPopupBlur(){this.popup&&this.popup.blockHide(),setTimeout(()=>{this.popup&&this.popup.restoreHide()},10)}_preventBlur(){this.blurable=!1,setTimeout(()=>{this.blurable=!0},10)}_keyTab(e){this.params.autocomplete&&this.lastAction==="typing"?this._resolveValue(!0):this.focusedItem&&this._chooseItem(this.focusedItem,!0)}_keyUp(e){var r=this.displayItems.indexOf(this.focusedItem);(this.params.verticalNavigation=="editor"||this.params.verticalNavigation=="hybrid"&&r)&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault(),r>0&&this._focusItem(this.displayItems[r-1]))}_keyDown(e){var r=this.displayItems.indexOf(this.focusedItem);(this.params.verticalNavigation=="editor"||this.params.verticalNavigation=="hybrid"&&r=38&&e.keyCode<=90&&this._scrollToValue(e.keyCode))}_keyAutoCompLetter(e){this._filter(),this.lastAction="typing",this.typing=!0}_scrollToValue(e){clearTimeout(this.filterTimeout);var r=String.fromCharCode(e).toLowerCase();this.filterTerm+=r.toLowerCase();var C=this.displayItems.find(D=>typeof D.label<"u"&&D.label.toLowerCase().startsWith(this.filterTerm));C&&this._focusItem(C),this.filterTimeout=setTimeout(()=>{this.filterTerm=""},800)}_focusItem(e){this.lastAction="focus",this.focusedItem&&this.focusedItem.element&&this.focusedItem.element.classList.remove("focused"),this.focusedItem=e,e&&e.element&&(e.element.classList.add("focused"),e.element.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"}))}headerFilterInitialListGen(){this._generateOptions(!0)}rebuildOptionsList(){this._generateOptions().then(this._sortOptions.bind(this)).then(this._buildList.bind(this)).then(this._showList.bind(this)).catch(e=>{Number.isInteger(e)||console.error("List generation error",e)})}_filterList(){this._buildList(this._filterOptions()),this._showList()}_generateOptions(e){var r=[],C=++this.listIteration;return this.filtered=!1,this.params.values?r=this.params.values:this.params.valuesURL?r=this._ajaxRequest(this.params.valuesURL,this.input.value):typeof this.params.valuesLookup=="function"?r=this.params.valuesLookup(this.cell,this.input.value):this.params.valuesLookup&&(r=this._uniqueColumnValues(this.params.valuesLookupField)),r instanceof Promise?(e||this._addPlaceholder(this.params.placeholderLoading),r.then().then(D=>this.listIteration===C?this._parseList(D):Promise.reject(C))):Promise.resolve(this._parseList(r))}_addPlaceholder(e){var r=document.createElement("div");typeof e=="function"&&(e=e(this.cell.getComponent(),this.listEl)),e&&(this._clearList(),e instanceof HTMLElement?r=e:(r.classList.add("tabulator-edit-list-placeholder"),r.innerHTML=e),this.listEl.appendChild(r),this._showList())}_ajaxRequest(e,r){var C=this.params.filterRemote?{term:r}:{};return e=LM(e,{},C),fetch(e).then(D=>D.ok?D.json().catch(T=>(console.warn("List Ajax Load Error - Invalid JSON returned",T),Promise.reject(T))):(console.error("List Ajax Load Error - Connection Error: "+D.status,D.statusText),Promise.reject(D))).catch(D=>(console.error("List Ajax Load Error - Connection Error: ",D),Promise.reject(D)))}_uniqueColumnValues(e){var r={},C=this.table.getData(this.params.valuesLookup),D;return e?D=this.table.columnManager.getColumnByField(e):D=this.cell.getColumn()._getSelf(),D?C.forEach(T=>{var p=D.getFieldValue(T);p!==null&&typeof p<"u"&&p!==""&&(r[p]=!0)}):(console.warn("unable to find matching column to create select lookup list:",e),r=[]),Object.keys(r)}_parseList(e){var r=[];return Array.isArray(e)||(e=Object.entries(e).map(([C,D])=>({label:D,value:C}))),e.forEach(C=>{typeof C!="object"&&(C={label:C,value:C}),this._parseListItem(C,r,0)}),!this.currentItems.length&&this.params.freetext&&(this.input.value=this.initialValues,this.typing=!0,this.lastAction="typing"),this.data=r,r}_parseListItem(e,r,C){var D={};e.options?D=this._parseListGroup(e,C+1):(D={label:e.label,value:e.value,itemParams:e.itemParams,elementAttributes:e.elementAttributes,element:!1,selected:!1,visible:!0,level:C,original:e},this.initialValues&&this.initialValues.indexOf(e.value)>-1&&this._chooseItem(D,!0)),r.push(D)}_parseListGroup(e,r){var C={label:e.label,group:!0,itemParams:e.itemParams,elementAttributes:e.elementAttributes,element:!1,visible:!0,level:r,options:[],original:e};return e.options.forEach(D=>{this._parseListItem(D,C.options,r)}),C}_sortOptions(e){var r;return this.params.sort&&(r=typeof this.params.sort=="function"?this.params.sort:this._defaultSortFunction.bind(this),this._sortGroup(r,e)),e}_sortGroup(e,r){r.sort((C,D)=>e(C.label,D.label,C.value,D.value,C.original,D.original)),r.forEach(C=>{C.group&&this._sortGroup(e,C.options)})}_defaultSortFunction(e,r){var C,D,T,p,t=0,d,g=/(\d+)|(\D+)/g,i=/\d/,M=0;if(this.params.sort==="desc"&&([e,r]=[r,e]),!e&&e!==0)M=!r&&r!==0?0:-1;else if(!r&&r!==0)M=1;else{if(isFinite(e)&&isFinite(r))return e-r;if(C=String(e).toLowerCase(),D=String(r).toLowerCase(),C===D)return 0;if(!(i.test(C)&&i.test(D)))return C>D?1:-1;for(C=C.match(g),D=D.match(g),d=C.length>D.length?D.length:C.length;tp?1:-1;return C.length>D.length}return M}_filterOptions(){var e=this.params.filterFunc||this._defaultFilterFunc,r=this.input.value;return r?(this.filtered=!0,this.data.forEach(C=>{this._filterItem(e,r,C)})):this.filtered=!1,this.data}_filterItem(e,r,C){var D=!1;return C.group?(C.options.forEach(T=>{this._filterItem(e,r,T)&&(D=!0)}),C.visible=D):C.visible=e(r,C.label,C.value,C.original),C.visible}_defaultFilterFunc(e,r,C,D){return e=String(e).toLowerCase(),r!==null&&typeof r<"u"&&(String(r).toLowerCase().indexOf(e)>-1||String(C).toLowerCase().indexOf(e)>-1)}_clearList(){for(;this.listEl.firstChild;)this.listEl.removeChild(this.listEl.firstChild);this.displayItems=[]}_buildList(e){this._clearList(),e.forEach(r=>{this._buildItem(r)}),this.displayItems.length||this._addPlaceholder(this.params.placeholderEmpty)}_buildItem(e){var r=e.element,C;if(!this.filtered||e.visible){if(!r){if(r=document.createElement("div"),r.tabIndex=0,C=this.params.itemFormatter?this.params.itemFormatter(e.label,e.value,e.original,r):e.label,C instanceof HTMLElement?r.appendChild(C):r.innerHTML=C,e.group?r.classList.add("tabulator-edit-list-group"):r.classList.add("tabulator-edit-list-item"),r.classList.add("tabulator-edit-list-group-level-"+e.level),e.elementAttributes&&typeof e.elementAttributes=="object")for(let D in e.elementAttributes)D.charAt(0)=="+"?(D=D.slice(1),r.setAttribute(D,this.input.getAttribute(D)+e.elementAttributes["+"+D])):r.setAttribute(D,e.elementAttributes[D]);e.group?r.addEventListener("click",this._groupClick.bind(this,e)):r.addEventListener("click",this._itemClick.bind(this,e)),r.addEventListener("mousedown",this._preventBlur.bind(this)),e.element=r}this._styleItem(e),this.listEl.appendChild(r),e.group?e.options.forEach(D=>{this._buildItem(D)}):this.displayItems.push(e)}}_showList(){var e=this.popup&&this.popup.isVisible();if(this.input.parentNode){if(this.params.autocomplete&&this.input.value===""&&!this.params.listOnEmpty){this.popup&&this.popup.hide(!0);return}this._setListWidth(),this.popup||(this.popup=this.edit.popup(this.listEl)),this.popup.show(this.cell.getElement(),"bottom"),e||setTimeout(()=>{this.popup.hideOnBlur(this._resolveValue.bind(this,!0))},10)}}_styleItem(e){e&&e.element&&(e.selected?e.element.classList.add("active"):e.element.classList.remove("active"))}_itemClick(e,r){r.stopPropagation(),this._chooseItem(e)}_groupClick(e,r){r.stopPropagation()}_cancel(){this.popup.hide(!0),this.actions.cancel()}_clearChoices(){this.typing=!0,this.currentItems.forEach(e=>{e.selected=!1,this._styleItem(e)}),this.currentItems=[],this.focusedItem=null}_chooseItem(e,r){var C;this.typing=!1,this.params.multiselect?(C=this.currentItems.indexOf(e),C>-1?(this.currentItems.splice(C,1),e.selected=!1):(this.currentItems.push(e),e.selected=!0),this.input.value=this.currentItems.map(D=>D.label).join(","),this._styleItem(e)):(this.currentItems=[e],e.selected=!0,this.input.value=e.label,this._styleItem(e),r||this._resolveValue()),this._focusItem(e)}_resolveValue(e){var r,C;if(this.popup&&this.popup.hide(!0),this.params.multiselect)r=this.currentItems.map(D=>D.value);else if(e&&this.params.autocomplete&&this.typing)if(this.params.freetext||this.params.allowEmpty&&this.input.value==="")r=this.input.value;else{this.actions.cancel();return}else this.currentItems[0]?r=this.currentItems[0].value:(C=Array.isArray(this.initialValues)?this.initialValues[0]:this.initialValues,C===null||typeof C>"u"||C===""?r=C:r=this.params.emptyValue);r===""&&(r=this.params.emptyValue),this.actions.success(r),this.isFilter&&(this.initialValues=r&&!Array.isArray(r)?[r]:r,this.currentItems=[])}}function RR(n,e,r,C,D){this.deprecationMsg("The select editor has been deprecated, please use the new list editor");var T=new G2(this,n,e,r,C,D);return T.input}function PR(n,e,r,C,D){var T=new G2(this,n,e,r,C,D);return T.input}function OR(n,e,r,C,D){this.deprecationMsg("The autocomplete editor has been deprecated, please use the new list editor with the 'autocomplete' editorParam"),D.autocomplete=!0;var T=new G2(this,n,e,r,C,D);return T.input}function DR(n,e,r,C,D){var T=this,p=n.getElement(),t=n.getValue(),d=p.getElementsByTagName("svg").length||5,g=p.getElementsByTagName("svg")[0]?p.getElementsByTagName("svg")[0].getAttribute("width"):14,i=[],M=document.createElement("div"),v=document.createElementNS("http://www.w3.org/2000/svg","svg");function f(o){i.forEach(function(s,c){c'):(T.table.browser=="ie"?s.setAttribute("class","tabulator-star-inactive"):s.classList.replace("tabulator-star-active","tabulator-star-inactive"),s.innerHTML='')})}function l(o){var s=document.createElement("span"),c=v.cloneNode(!0);i.push(c),s.addEventListener("mouseenter",function(h){h.stopPropagation(),h.stopImmediatePropagation(),f(o)}),s.addEventListener("mousemove",function(h){h.stopPropagation(),h.stopImmediatePropagation()}),s.addEventListener("click",function(h){h.stopPropagation(),h.stopImmediatePropagation(),r(o),p.blur()}),s.appendChild(c),M.appendChild(s)}function a(o){t=o,f(o)}if(p.style.whiteSpace="nowrap",p.style.overflow="hidden",p.style.textOverflow="ellipsis",M.style.verticalAlign="middle",M.style.display="inline-block",M.style.padding="4px",v.setAttribute("width",g),v.setAttribute("height",g),v.setAttribute("viewBox","0 0 512 512"),v.setAttribute("xml:space","preserve"),v.style.padding="0 1px",D.elementAttributes&&typeof D.elementAttributes=="object")for(let o in D.elementAttributes)o.charAt(0)=="+"?(o=o.slice(1),M.setAttribute(o,M.getAttribute(o)+D.elementAttributes["+"+o])):M.setAttribute(o,D.elementAttributes[o]);for(var u=1;u<=d;u++)l(u);return t=Math.min(parseInt(t),d),f(t),M.addEventListener("mousemove",function(o){f(0)}),M.addEventListener("click",function(o){r(0)}),p.addEventListener("blur",function(o){C()}),p.addEventListener("keydown",function(o){switch(o.keyCode){case 39:a(t+1);break;case 37:a(t-1);break;case 13:r(t);break;case 27:C();break}}),M}function zR(n,e,r,C,D){var T=n.getElement(),p=typeof D.max>"u"?T.getElementsByTagName("div")[0]&&T.getElementsByTagName("div")[0].getAttribute("max")||100:D.max,t=typeof D.min>"u"?T.getElementsByTagName("div")[0]&&T.getElementsByTagName("div")[0].getAttribute("min")||0:D.min,d=(p-t)/100,g=n.getValue()||0,i=document.createElement("div"),M=document.createElement("div"),v,f;function l(){var a=window.getComputedStyle(T,null),u=d*Math.round(M.offsetWidth/((T.clientWidth-parseInt(a.getPropertyValue("padding-left"))-parseInt(a.getPropertyValue("padding-right")))/100))+t;r(u),T.setAttribute("aria-valuenow",u),T.setAttribute("aria-label",g)}if(i.style.position="absolute",i.style.right="0",i.style.top="0",i.style.bottom="0",i.style.width="5px",i.classList.add("tabulator-progress-handle"),M.style.display="inline-block",M.style.position="relative",M.style.height="100%",M.style.backgroundColor="#488CE9",M.style.maxWidth="100%",M.style.minWidth="0%",D.elementAttributes&&typeof D.elementAttributes=="object")for(let a in D.elementAttributes)a.charAt(0)=="+"?(a=a.slice(1),M.setAttribute(a,M.getAttribute(a)+D.elementAttributes["+"+a])):M.setAttribute(a,D.elementAttributes[a]);return T.style.padding="4px 4px",g=Math.min(parseFloat(g),p),g=Math.max(parseFloat(g),t),g=Math.round((g-t)/d),M.style.width=g+"%",T.setAttribute("aria-valuemin",t),T.setAttribute("aria-valuemax",p),M.appendChild(i),i.addEventListener("mousedown",function(a){v=a.screenX,f=M.offsetWidth}),i.addEventListener("mouseover",function(){i.style.cursor="ew-resize"}),T.addEventListener("mousemove",function(a){v&&(M.style.width=f+a.screenX-v+"px")}),T.addEventListener("mouseup",function(a){v&&(a.stopPropagation(),a.stopImmediatePropagation(),v=!1,f=!1,l())}),T.addEventListener("keydown",function(a){switch(a.keyCode){case 39:a.preventDefault(),M.style.width=M.clientWidth+T.clientWidth/100+"px";break;case 37:a.preventDefault(),M.style.width=M.clientWidth-T.clientWidth/100+"px";break;case 9:case 13:l();break;case 27:C();break}}),T.addEventListener("blur",function(){C()}),M}function FR(n,e,r,C,D){var T=n.getValue(),p=document.createElement("input"),t=D.tristate,d=typeof D.indeterminateValue>"u"?null:D.indeterminateValue,g=!1,i=Object.keys(D).includes("trueValue"),M=Object.keys(D).includes("falseValue");if(p.setAttribute("type","checkbox"),p.style.marginTop="5px",p.style.boxSizing="border-box",D.elementAttributes&&typeof D.elementAttributes=="object")for(let f in D.elementAttributes)f.charAt(0)=="+"?(f=f.slice(1),p.setAttribute(f,p.getAttribute(f)+D.elementAttributes["+"+f])):p.setAttribute(f,D.elementAttributes[f]);p.value=T,t&&(typeof T>"u"||T===d||T==="")&&(g=!0,p.indeterminate=!0),this.table.browser!="firefox"&&this.table.browser!="safari"&&e(function(){n.getType()==="cell"&&p.focus({preventScroll:!0})}),p.checked=i?T===D.trueValue:T===!0||T==="true"||T==="True"||T===1;function v(f){var l=p.checked;return i&&l?l=D.trueValue:M&&!l&&(l=D.falseValue),t?f?g?d:l:p.checked&&!g?(p.checked=!1,p.indeterminate=!0,g=!0,d):(g=!1,l):l}return p.addEventListener("change",function(f){r(v())}),p.addEventListener("blur",function(f){r(v(!0))}),p.addEventListener("keydown",function(f){f.keyCode==13&&r(v()),f.keyCode==27&&C()}),p}var BR={input:MR,textarea:AR,number:SR,range:CR,date:ER,time:LR,datetime:IR,select:RR,list:PR,autocomplete:OR,star:DR,progress:zR,tickCross:FR};class tg extends qi{constructor(e){super(e),this.currentCell=!1,this.mouseClick=!1,this.recursionBlock=!1,this.invalidEdit=!1,this.editedCells=[],this.editors=tg.editors,this.registerColumnOption("editable"),this.registerColumnOption("editor"),this.registerColumnOption("editorParams"),this.registerColumnOption("cellEditing"),this.registerColumnOption("cellEdited"),this.registerColumnOption("cellEditCancelled"),this.registerTableOption("editTriggerEvent","focus"),this.registerTableFunction("getEditedCells",this.getEditedCells.bind(this)),this.registerTableFunction("clearCellEdited",this.clearCellEdited.bind(this)),this.registerTableFunction("navigatePrev",this.navigatePrev.bind(this)),this.registerTableFunction("navigateNext",this.navigateNext.bind(this)),this.registerTableFunction("navigateLeft",this.navigateLeft.bind(this)),this.registerTableFunction("navigateRight",this.navigateRight.bind(this)),this.registerTableFunction("navigateUp",this.navigateUp.bind(this)),this.registerTableFunction("navigateDown",this.navigateDown.bind(this)),this.registerComponentFunction("cell","isEdited",this.cellIsEdited.bind(this)),this.registerComponentFunction("cell","clearEdited",this.clearEdited.bind(this)),this.registerComponentFunction("cell","edit",this.editCell.bind(this)),this.registerComponentFunction("cell","cancelEdit",this.cellCancelEdit.bind(this)),this.registerComponentFunction("cell","navigatePrev",this.navigatePrev.bind(this)),this.registerComponentFunction("cell","navigateNext",this.navigateNext.bind(this)),this.registerComponentFunction("cell","navigateLeft",this.navigateLeft.bind(this)),this.registerComponentFunction("cell","navigateRight",this.navigateRight.bind(this)),this.registerComponentFunction("cell","navigateUp",this.navigateUp.bind(this)),this.registerComponentFunction("cell","navigateDown",this.navigateDown.bind(this))}initialize(){this.subscribe("cell-init",this.bindEditor.bind(this)),this.subscribe("cell-delete",this.clearEdited.bind(this)),this.subscribe("cell-value-changed",this.updateCellClass.bind(this)),this.subscribe("column-layout",this.initializeColumnCheck.bind(this)),this.subscribe("column-delete",this.columnDeleteCheck.bind(this)),this.subscribe("row-deleting",this.rowDeleteCheck.bind(this)),this.subscribe("row-layout",this.rowEditableCheck.bind(this)),this.subscribe("data-refreshing",this.cancelEdit.bind(this)),this.subscribe("clipboard-paste",this.pasteBlocker.bind(this)),this.subscribe("keybinding-nav-prev",this.navigatePrev.bind(this,void 0)),this.subscribe("keybinding-nav-next",this.keybindingNavigateNext.bind(this)),this.subscribe("keybinding-nav-up",this.navigateUp.bind(this,void 0)),this.subscribe("keybinding-nav-down",this.navigateDown.bind(this,void 0))}pasteBlocker(e){if(this.currentCell)return!0}keybindingNavigateNext(e){var r=this.currentCell,C=this.options("tabEndNewRow");r&&(this.navigateNext(r,e)||C&&(r.getElement().firstChild.blur(),this.invalidEdit||(C===!0?C=this.table.addRow({}):typeof C=="function"?C=this.table.addRow(C(r.row.getComponent())):C=this.table.addRow(Object.assign({},C)),C.then(()=>{setTimeout(()=>{r.getComponent().navigateNext()})}))))}cellIsEdited(e){return!!e.modules.edit&&e.modules.edit.edited}cellCancelEdit(e){e===this.currentCell?this.table.modules.edit.cancelEdit():console.warn("Cancel Editor Error - This cell is not currently being edited ")}updateCellClass(e){this.allowEdit(e)?e.getElement().classList.add("tabulator-editable"):e.getElement().classList.remove("tabulator-editable")}clearCellEdited(e){e||(e=this.table.modules.edit.getEditedCells()),Array.isArray(e)||(e=[e]),e.forEach(r=>{this.table.modules.edit.clearEdited(r._getSelf())})}navigatePrev(e=this.currentCell,r){var C,D;if(e){if(r&&r.preventDefault(),C=this.navigateLeft(),C)return!0;if(D=this.table.rowManager.prevDisplayRow(e.row,!0),D&&(C=this.findPrevEditableCell(D,D.cells.length),C))return C.getComponent().edit(),!0}return!1}navigateNext(e=this.currentCell,r){var C,D;if(e){if(r&&r.preventDefault(),C=this.navigateRight(),C)return!0;if(D=this.table.rowManager.nextDisplayRow(e.row,!0),D&&(C=this.findNextEditableCell(D,-1),C))return C.getComponent().edit(),!0}return!1}navigateLeft(e=this.currentCell,r){var C,D;return e&&(r&&r.preventDefault(),C=e.getIndex(),D=this.findPrevEditableCell(e.row,C),D)?(D.getComponent().edit(),!0):!1}navigateRight(e=this.currentCell,r){var C,D;return e&&(r&&r.preventDefault(),C=e.getIndex(),D=this.findNextEditableCell(e.row,C),D)?(D.getComponent().edit(),!0):!1}navigateUp(e=this.currentCell,r){var C,D;return e&&(r&&r.preventDefault(),C=e.getIndex(),D=this.table.rowManager.prevDisplayRow(e.row,!0),D)?(D.cells[C].getComponent().edit(),!0):!1}navigateDown(e=this.currentCell,r){var C,D;return e&&(r&&r.preventDefault(),C=e.getIndex(),D=this.table.rowManager.nextDisplayRow(e.row,!0),D)?(D.cells[C].getComponent().edit(),!0):!1}findNextEditableCell(e,r){var C=!1;if(r0)for(var D=r-1;D>=0;D--){let T=e.cells[D];if(T.column.modules.edit&&oo.elVisible(T.getElement())&&this.allowEdit(T)){C=T;break}}return C}initializeColumnCheck(e){typeof e.definition.editor<"u"&&this.initializeColumn(e)}columnDeleteCheck(e){this.currentCell&&this.currentCell.column===e&&this.cancelEdit()}rowDeleteCheck(e){this.currentCell&&this.currentCell.row===e&&this.cancelEdit()}rowEditableCheck(e){e.getCells().forEach(r=>{r.column.modules.edit&&typeof r.column.modules.edit.check=="function"&&this.updateCellClass(r)})}initializeColumn(e){var r={editor:!1,blocked:!1,check:e.definition.editable,params:e.definition.editorParams||{}};switch(typeof e.definition.editor){case"string":this.editors[e.definition.editor]?r.editor=this.editors[e.definition.editor]:console.warn("Editor Error - No such editor found: ",e.definition.editor);break;case"function":r.editor=e.definition.editor;break;case"boolean":e.definition.editor===!0&&(typeof e.definition.formatter!="function"?this.editors[e.definition.formatter]?r.editor=this.editors[e.definition.formatter]:r.editor=this.editors.input:console.warn("Editor Error - Cannot auto lookup editor for a custom formatter: ",e.definition.formatter));break}r.editor&&(e.modules.edit=r)}getCurrentCell(){return this.currentCell?this.currentCell.getComponent():!1}clearEditor(e){var r=this.currentCell,C;if(this.invalidEdit=!1,r){for(this.currentCell=!1,C=r.getElement(),this.dispatch("edit-editor-clear",r,e),C.classList.remove("tabulator-editing");C.firstChild;)C.removeChild(C.firstChild);r.row.getElement().classList.remove("tabulator-editing"),r.table.element.classList.remove("tabulator-editing")}}cancelEdit(){if(this.currentCell){var e=this.currentCell,r=this.currentCell.getComponent();this.clearEditor(!0),e.setValueActual(e.getValue()),e.cellRendered(),(e.column.definition.editor=="textarea"||e.column.definition.variableHeight)&&e.row.normalizeHeight(!0),e.column.definition.cellEditCancelled&&e.column.definition.cellEditCancelled.call(this.table,r),this.dispatch("edit-cancelled",e),this.dispatchExternal("cellEditCancelled",r)}}bindEditor(e){if(e.column.modules.edit){var r=this,C=e.getElement(!0);this.updateCellClass(e),C.setAttribute("tabindex",0),C.addEventListener("mousedown",function(D){D.button===2?D.preventDefault():r.mouseClick=!0}),this.options("editTriggerEvent")==="dblclick"&&C.addEventListener("dblclick",function(D){C.classList.contains("tabulator-editing")||(C.focus({preventScroll:!0}),r.edit(e,D,!1))}),(this.options("editTriggerEvent")==="focus"||this.options("editTriggerEvent")==="click")&&C.addEventListener("click",function(D){C.classList.contains("tabulator-editing")||(C.focus({preventScroll:!0}),r.edit(e,D,!1))}),this.options("editTriggerEvent")==="focus"&&C.addEventListener("focus",function(D){r.recursionBlock||r.edit(e,D,!1)})}}focusCellNoEvent(e,r){this.recursionBlock=!0,r&&this.table.browser==="ie"||e.getElement().focus({preventScroll:!0}),this.recursionBlock=!1}editCell(e,r){this.focusCellNoEvent(e),this.edit(e,!1,r)}focusScrollAdjust(e){if(this.table.rowManager.getRenderMode()=="virtual"){var r=this.table.rowManager.element.scrollTop,C=this.table.rowManager.element.clientHeight+this.table.rowManager.element.scrollTop,D=e.row.getElement();D.offsetTopC&&(this.table.rowManager.element.scrollTop+=D.offsetTop+D.offsetHeight-C);var T=this.table.rowManager.element.scrollLeft,p=this.table.rowManager.element.clientWidth+this.table.rowManager.element.scrollLeft,t=e.getElement();this.table.modExists("frozenColumns")&&(T+=parseInt(this.table.modules.frozenColumns.leftMargin||0),p-=parseInt(this.table.modules.frozenColumns.rightMargin||0)),this.table.options.renderHorizontal==="virtual"&&(T-=parseInt(this.table.columnManager.renderer.vDomPadLeft),p-=parseInt(this.table.columnManager.renderer.vDomPadLeft)),t.offsetLeftp&&(this.table.rowManager.element.scrollLeft+=t.offsetLeft+t.offsetWidth-p)}}allowEdit(e){var r=!!e.column.modules.edit;if(e.column.modules.edit)switch(typeof e.column.modules.edit.check){case"function":e.row.initialized&&(r=e.column.modules.edit.check(e.getComponent()));break;case"string":r=!!e.row.data[e.column.modules.edit.check];break;case"boolean":r=e.column.modules.edit.check;break}return r}edit(e,r,C){var D=this,T=!0,p=function(){},t=e.getElement(),d=!1,g,i,M;if(this.currentCell){!this.invalidEdit&&this.currentCell!==e&&this.cancelEdit();return}function v(o){if(D.currentCell===e&&!d){var s=D.chain("edit-success",[e,o],!0,!0);return s===!0||D.table.options.validationMode==="highlight"?(d=!0,D.clearEditor(),e.modules.edit||(e.modules.edit={}),e.modules.edit.edited=!0,D.editedCells.indexOf(e)==-1&&D.editedCells.push(e),e.setValue(o,!0),s===!0):(d=!0,D.invalidEdit=!0,D.focusCellNoEvent(e,!0),p(),setTimeout(()=>{d=!1},10),!1)}}function f(){D.currentCell===e&&!d&&D.cancelEdit()}function l(o){p=o}if(e.column.modules.edit.blocked)return this.mouseClick=!1,this.blur(t),!1;if(r&&r.stopPropagation(),T=this.allowEdit(e),T||C){if(D.cancelEdit(),D.currentCell=e,this.focusScrollAdjust(e),i=e.getComponent(),this.mouseClick&&(this.mouseClick=!1,e.column.definition.cellClick&&e.column.definition.cellClick.call(this.table,r,i)),e.column.definition.cellEditing&&e.column.definition.cellEditing.call(this.table,i),this.dispatch("cell-editing",e),this.dispatchExternal("cellEditing",i),M=typeof e.column.modules.edit.params=="function"?e.column.modules.edit.params(i):e.column.modules.edit.params,g=e.column.modules.edit.editor.call(D,i,l,v,f,M),this.currentCell&&g!==!1)if(g instanceof Node){for(t.classList.add("tabulator-editing"),e.row.getElement().classList.add("tabulator-editing"),e.table.element.classList.add("tabulator-editing");t.firstChild;)t.removeChild(t.firstChild);t.appendChild(g),p();for(var a=t.children,u=0;u{e.push(r.getComponent())}),e}clearEdited(e){var r;e.modules.edit&&e.modules.edit.edited&&(e.modules.edit.edited=!1,this.dispatch("edit-edited-clear",e)),r=this.editedCells.indexOf(e),r>-1&&this.editedCells.splice(r,1)}}tg.moduleName="edit";tg.editors=BR;class g5{constructor(e,r,C,D){this.type=e,this.columns=r,this.component=C||!1,this.indent=D||0}}class mb{constructor(e,r,C,D,T){this.value=e,this.component=r||!1,this.width=C,this.height=D,this.depth=T}}class DM extends qi{constructor(e){super(e),this.config={},this.cloneTableStyle=!0,this.colVisProp="",this.registerTableOption("htmlOutputConfig",!1),this.registerColumnOption("htmlOutput"),this.registerColumnOption("titleHtmlOutput")}initialize(){this.registerTableFunction("getHtml",this.getHtml.bind(this))}generateExportList(e,r,C,D){this.cloneTableStyle=r,this.config=e||{},this.colVisProp=D;var T,p;if(C==="range"){var t=this.table.modules.selectRange.selectedColumns();T=this.config.columnHeaders!==!1?this.headersToExportRows(this.generateColumnGroupHeaders(t)):[],p=this.bodyToExportRows(this.rowLookup(C),this.table.modules.selectRange.selectedColumns(!0))}else T=this.config.columnHeaders!==!1?this.headersToExportRows(this.generateColumnGroupHeaders()):[],p=this.bodyToExportRows(this.rowLookup(C));return T.concat(p)}generateTable(e,r,C,D){var T=this.generateExportList(e,r,C,D);return this.generateTableElement(T)}rowLookup(e){var r=[];if(typeof e=="function")e.call(this.table).forEach(C=>{C=this.table.rowManager.findRow(C),C&&r.push(C)});else switch(e){case!0:case"visible":r=this.table.rowManager.getVisibleRows(!1,!0);break;case"all":r=this.table.rowManager.rows;break;case"selected":r=this.table.modules.selectRow.selectedRows;break;case"range":r=this.table.modules.selectRange.selectedRows();break;case"active":default:this.table.options.pagination?r=this.table.rowManager.getDisplayRows(this.table.rowManager.displayRows.length-2):r=this.table.rowManager.getDisplayRows()}return Object.assign([],r)}generateColumnGroupHeaders(e){var r=[];return e||(e=this.config.columnGroups!==!1?this.table.columnManager.columns:this.table.columnManager.columnsByIndex),e.forEach(C=>{var D=this.processColumnGroup(C);D&&r.push(D)}),r}processColumnGroup(e){var r=e.columns,C=0,D=e.definition["title"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))]||e.definition.title,T={title:D,column:e,depth:1};if(r.length){if(T.subGroups=[],T.width=0,r.forEach(p=>{var t=this.processColumnGroup(p);t&&(T.width+=t.width,T.subGroups.push(t),t.depth>C&&(C=t.depth))}),T.depth+=C,!T.width)return!1}else if(this.columnVisCheck(e))T.width=1;else return!1;return T}columnVisCheck(e){var r=e.definition[this.colVisProp];return typeof r=="function"&&(r=r.call(this.table,e.getComponent())),r!==!1&&(e.visible||!e.visible&&r)}headersToExportRows(e){var r=[],C=0,D=[];function T(p,t){var d=C-t;if(typeof r[t]>"u"&&(r[t]=[]),p.height=p.subGroups?1:d-p.depth+1,r[t].push(p),p.height>1)for(let g=1;g"u"&&(r[t+g]=[]),r[t+g].push(!1);if(p.width>1)for(let g=1;gC&&(C=p.depth)}),e.forEach(function(p){T(p,0)}),r.forEach(p=>{var t=[];p.forEach(d=>{if(d){let g=typeof d.title>"u"?"":d.title;t.push(new mb(g,d.column.getComponent(),d.width,d.height,d.depth))}else t.push(null)}),D.push(new g5("header",t))}),D}bodyToExportRows(e,r=[]){var C=[];return r.length===0&&this.table.columnManager.columnsByIndex.forEach(D=>{this.columnVisCheck(D)&&r.push(D.getComponent())}),this.config.columnCalcs!==!1&&this.table.modExists("columnCalcs")&&(this.table.modules.columnCalcs.topInitialized&&e.unshift(this.table.modules.columnCalcs.topRow),this.table.modules.columnCalcs.botInitialized&&e.push(this.table.modules.columnCalcs.botRow)),e=e.filter(D=>{switch(D.type){case"group":return this.config.rowGroups!==!1;case"calc":return this.config.columnCalcs!==!1;case"row":return!(this.table.options.dataTree&&this.config.dataTree===!1&&D.modules.dataTree.parent)}return!0}),e.forEach((D,T)=>{var p=D.getData(this.colVisProp),t=[],d=0;switch(D.type){case"group":d=D.level,t.push(new mb(D.key,D.getComponent(),r.length,1));break;case"calc":case"row":r.forEach(g=>{t.push(new mb(g._column.getFieldValue(p),g,1,1))}),this.table.options.dataTree&&this.config.dataTree!==!1&&(d=D.modules.dataTree.index);break}C.push(new g5(D.type,t,D.getComponent(),d))}),C}generateTableElement(e){var r=document.createElement("table"),C=document.createElement("thead"),D=document.createElement("tbody"),T=this.lookupTableStyles(),p=this.table.options["rowFormatter"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))],t={};return t.rowFormatter=p!==null?p:this.table.options.rowFormatter,this.table.options.dataTree&&this.config.dataTree!==!1&&this.table.modExists("columnCalcs")&&(t.treeElementField=this.table.modules.dataTree.elementField),t.groupHeader=this.table.options["groupHeader"+(this.colVisProp.charAt(0).toUpperCase()+this.colVisProp.slice(1))],t.groupHeader&&!Array.isArray(t.groupHeader)&&(t.groupHeader=[t.groupHeader]),r.classList.add("tabulator-print-table"),this.mapElementStyles(this.table.columnManager.getHeadersElement(),C,["border-top","border-left","border-right","border-bottom","background-color","color","font-weight","font-family","font-size"]),e.length>1e3&&console.warn("It may take a long time to render an HTML table with more than 1000 rows"),e.forEach((d,g)=>{let i;switch(d.type){case"header":C.appendChild(this.generateHeaderElement(d,t,T));break;case"group":D.appendChild(this.generateGroupElement(d,t,T));break;case"calc":D.appendChild(this.generateCalcElement(d,t,T));break;case"row":i=this.generateRowElement(d,t,T),this.mapElementStyles(g%2&&T.evenRow?T.evenRow:T.oddRow,i,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),D.appendChild(i);break}}),C.innerHTML&&r.appendChild(C),r.appendChild(D),this.mapElementStyles(this.table.element,r,["border-top","border-left","border-right","border-bottom"]),r}lookupTableStyles(){var e={};return this.cloneTableStyle&&window.getComputedStyle&&(e.oddRow=this.table.element.querySelector(".tabulator-row-odd:not(.tabulator-group):not(.tabulator-calcs)"),e.evenRow=this.table.element.querySelector(".tabulator-row-even:not(.tabulator-group):not(.tabulator-calcs)"),e.calcRow=this.table.element.querySelector(".tabulator-row.tabulator-calcs"),e.firstRow=this.table.element.querySelector(".tabulator-row:not(.tabulator-group):not(.tabulator-calcs)"),e.firstGroup=this.table.element.getElementsByClassName("tabulator-group")[0],e.firstRow&&(e.styleCells=e.firstRow.getElementsByClassName("tabulator-cell"),e.firstCell=e.styleCells[0],e.lastCell=e.styleCells[e.styleCells.length-1])),e}generateHeaderElement(e,r,C){var D=document.createElement("tr");return e.columns.forEach(T=>{if(T){var p=document.createElement("th"),t=T.component._column.definition.cssClass?T.component._column.definition.cssClass.split(" "):[];p.colSpan=T.width,p.rowSpan=T.height,p.innerHTML=T.value,this.cloneTableStyle&&(p.style.boxSizing="border-box"),t.forEach(function(d){p.classList.add(d)}),this.mapElementStyles(T.component.getElement(),p,["text-align","border-top","border-left","border-right","border-bottom","background-color","color","font-weight","font-family","font-size"]),this.mapElementStyles(T.component._column.contentElement,p,["padding-top","padding-left","padding-right","padding-bottom"]),T.component._column.visible?this.mapElementStyles(T.component.getElement(),p,["width"]):T.component._column.definition.width&&(p.style.width=T.component._column.definition.width+"px"),T.component._column.parent&&this.mapElementStyles(T.component._column.parent.groupElement,p,["border-top"]),D.appendChild(p)}}),D}generateGroupElement(e,r,C){var D=document.createElement("tr"),T=document.createElement("td"),p=e.columns[0];return D.classList.add("tabulator-print-table-row"),r.groupHeader&&r.groupHeader[e.indent]?p.value=r.groupHeader[e.indent](p.value,e.component._group.getRowCount(),e.component._group.getData(),e.component):r.groupHeader!==!1&&(p.value=e.component._group.generator(p.value,e.component._group.getRowCount(),e.component._group.getData(),e.component)),T.colSpan=p.width,T.innerHTML=p.value,D.classList.add("tabulator-print-table-group"),D.classList.add("tabulator-group-level-"+e.indent),p.component.isVisible()&&D.classList.add("tabulator-group-visible"),this.mapElementStyles(C.firstGroup,D,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),this.mapElementStyles(C.firstGroup,T,["padding-top","padding-left","padding-right","padding-bottom"]),D.appendChild(T),D}generateCalcElement(e,r,C){var D=this.generateRowElement(e,r,C);return D.classList.add("tabulator-print-table-calcs"),this.mapElementStyles(C.calcRow,D,["border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","background-color"]),D}generateRowElement(e,r,C){var D=document.createElement("tr");if(D.classList.add("tabulator-print-table-row"),e.columns.forEach((T,p)=>{if(T){var t=document.createElement("td"),d=T.component._column,g=this.table,i=g.columnManager.findColumnIndex(d),M=T.value,v,f={modules:{},getValue:function(){return M},getField:function(){return d.definition.field},getElement:function(){return t},getType:function(){return"cell"},getColumn:function(){return d.getComponent()},getData:function(){return e.component.getData()},getRow:function(){return e.component},getTable:function(){return g},getComponent:function(){return f},column:d},l=d.definition.cssClass?d.definition.cssClass.split(" "):[];if(l.forEach(function(a){t.classList.add(a)}),this.table.modExists("format")&&this.config.formatCells!==!1)M=this.table.modules.format.formatExportValue(f,this.colVisProp);else switch(typeof M){case"object":M=M!==null?JSON.stringify(M):"";break;case"undefined":M="";break}M instanceof Node?t.appendChild(M):t.innerHTML=M,v=C.styleCells&&C.styleCells[i]?C.styleCells[i]:C.firstCell,v&&(this.mapElementStyles(v,t,["padding-top","padding-left","padding-right","padding-bottom","border-top","border-left","border-right","border-bottom","color","font-weight","font-family","font-size","text-align"]),d.definition.align&&(t.style.textAlign=d.definition.align)),this.table.options.dataTree&&this.config.dataTree!==!1&&(r.treeElementField&&r.treeElementField==d.field||!r.treeElementField&&p==0)&&(e.component._row.modules.dataTree.controlEl&&t.insertBefore(e.component._row.modules.dataTree.controlEl.cloneNode(!0),t.firstChild),e.component._row.modules.dataTree.branchEl&&t.insertBefore(e.component._row.modules.dataTree.branchEl.cloneNode(!0),t.firstChild)),D.appendChild(t),f.modules.format&&f.modules.format.renderedCallback&&f.modules.format.renderedCallback()}}),r.rowFormatter&&e.type==="row"&&this.config.formatCells!==!1){let T=Object.assign(e.component);T.getElement=function(){return D},r.rowFormatter(e.component)}return D}generateHTMLTable(e){var r=document.createElement("div");return r.appendChild(this.generateTableElement(e)),r.innerHTML}getHtml(e,r,C,D){var T=this.generateExportList(C||this.table.options.htmlOutputConfig,r,e,D||"htmlOutput");return this.generateHTMLTable(T)}mapElementStyles(e,r,C){if(this.cloneTableStyle&&e&&r){var D={"background-color":"backgroundColor",color:"fontColor",width:"width","font-weight":"fontWeight","font-family":"fontFamily","font-size":"fontSize","text-align":"textAlign","border-top":"borderTop","border-left":"borderLeft","border-right":"borderRight","border-bottom":"borderBottom","padding-top":"paddingTop","padding-left":"paddingLeft","padding-right":"paddingRight","padding-bottom":"paddingBottom"};if(window.getComputedStyle){var T=window.getComputedStyle(e);C.forEach(function(p){r.style[D[p]]||(r.style[D[p]]=T.getPropertyValue(p))})}}}}DM.moduleName="export";var NR={"=":function(n,e,r,C){return e==n},"<":function(n,e,r,C){return e":function(n,e,r,C){return e>n},">=":function(n,e,r,C){return e>=n},"!=":function(n,e,r,C){return e!=n},regex:function(n,e,r,C){return typeof n=="string"&&(n=new RegExp(n)),n.test(e)},like:function(n,e,r,C){return n===null||typeof n>"u"?e===n:typeof e<"u"&&e!==null?String(e).toLowerCase().indexOf(n.toLowerCase())>-1:!1},keywords:function(n,e,r,C){var D=n.toLowerCase().split(typeof C.separator>"u"?" ":C.separator),T=String(e===null||typeof e>"u"?"":e).toLowerCase(),p=[];return D.forEach(t=>{T.includes(t)&&p.push(!0)}),C.matchAll?p.length===D.length:!!p.length},starts:function(n,e,r,C){return n===null||typeof n>"u"?e===n:typeof e<"u"&&e!==null?String(e).toLowerCase().startsWith(n.toLowerCase()):!1},ends:function(n,e,r,C){return n===null||typeof n>"u"?e===n:typeof e<"u"&&e!==null?String(e).toLowerCase().endsWith(n.toLowerCase()):!1},in:function(n,e,r,C){return Array.isArray(n)?n.length?n.indexOf(e)>-1:!0:(console.warn("Filter Error - filter value is not an array:",n),!1)}};class Xh extends qi{constructor(e){super(e),this.filterList=[],this.headerFilters={},this.headerFilterColumns=[],this.prevHeaderFilterChangeCheck="",this.prevHeaderFilterChangeCheck="{}",this.changed=!1,this.tableInitialized=!1,this.registerTableOption("filterMode","local"),this.registerTableOption("initialFilter",!1),this.registerTableOption("initialHeaderFilter",!1),this.registerTableOption("headerFilterLiveFilterDelay",300),this.registerTableOption("placeholderHeaderFilter",!1),this.registerColumnOption("headerFilter"),this.registerColumnOption("headerFilterPlaceholder"),this.registerColumnOption("headerFilterParams"),this.registerColumnOption("headerFilterEmptyCheck"),this.registerColumnOption("headerFilterFunc"),this.registerColumnOption("headerFilterFuncParams"),this.registerColumnOption("headerFilterLiveFilter"),this.registerTableFunction("searchRows",this.searchRows.bind(this)),this.registerTableFunction("searchData",this.searchData.bind(this)),this.registerTableFunction("setFilter",this.userSetFilter.bind(this)),this.registerTableFunction("refreshFilter",this.userRefreshFilter.bind(this)),this.registerTableFunction("addFilter",this.userAddFilter.bind(this)),this.registerTableFunction("getFilters",this.getFilters.bind(this)),this.registerTableFunction("setHeaderFilterFocus",this.userSetHeaderFilterFocus.bind(this)),this.registerTableFunction("getHeaderFilterValue",this.userGetHeaderFilterValue.bind(this)),this.registerTableFunction("setHeaderFilterValue",this.userSetHeaderFilterValue.bind(this)),this.registerTableFunction("getHeaderFilters",this.getHeaderFilters.bind(this)),this.registerTableFunction("removeFilter",this.userRemoveFilter.bind(this)),this.registerTableFunction("clearFilter",this.userClearFilter.bind(this)),this.registerTableFunction("clearHeaderFilter",this.userClearHeaderFilter.bind(this)),this.registerComponentFunction("column","headerFilterFocus",this.setHeaderFilterFocus.bind(this)),this.registerComponentFunction("column","reloadHeaderFilter",this.reloadHeaderFilter.bind(this)),this.registerComponentFunction("column","getHeaderFilterValue",this.getHeaderFilterValue.bind(this)),this.registerComponentFunction("column","setHeaderFilterValue",this.setHeaderFilterValue.bind(this))}initialize(){this.subscribe("column-init",this.initializeColumnHeaderFilter.bind(this)),this.subscribe("column-width-fit-before",this.hideHeaderFilterElements.bind(this)),this.subscribe("column-width-fit-after",this.showHeaderFilterElements.bind(this)),this.subscribe("table-built",this.tableBuilt.bind(this)),this.subscribe("placeholder",this.generatePlaceholder.bind(this)),this.table.options.filterMode==="remote"&&this.subscribe("data-params",this.remoteFilterParams.bind(this)),this.registerDataHandler(this.filter.bind(this),10)}tableBuilt(){this.table.options.initialFilter&&this.setFilter(this.table.options.initialFilter),this.table.options.initialHeaderFilter&&this.table.options.initialHeaderFilter.forEach(e=>{var r=this.table.columnManager.findColumn(e.field);if(r)this.setHeaderFilterValue(r,e.value);else return console.warn("Column Filter Error - No matching column found:",e.field),!1}),this.tableInitialized=!0}remoteFilterParams(e,r,C,D){return D.filter=this.getFilters(!0,!0),D}generatePlaceholder(e){if(this.table.options.placeholderHeaderFilter&&Object.keys(this.headerFilters).length)return this.table.options.placeholderHeaderFilter}userSetFilter(e,r,C,D){this.setFilter(e,r,C,D),this.refreshFilter()}userRefreshFilter(){this.refreshFilter()}userAddFilter(e,r,C,D){this.addFilter(e,r,C,D),this.refreshFilter()}userSetHeaderFilterFocus(e){var r=this.table.columnManager.findColumn(e);if(r)this.setHeaderFilterFocus(r);else return console.warn("Column Filter Focus Error - No matching column found:",e),!1}userGetHeaderFilterValue(e){var r=this.table.columnManager.findColumn(e);if(r)return this.getHeaderFilterValue(r);console.warn("Column Filter Error - No matching column found:",e)}userSetHeaderFilterValue(e,r){var C=this.table.columnManager.findColumn(e);if(C)this.setHeaderFilterValue(C,r);else return console.warn("Column Filter Error - No matching column found:",e),!1}userRemoveFilter(e,r,C){this.removeFilter(e,r,C),this.refreshFilter()}userClearFilter(e){this.clearFilter(e),this.refreshFilter()}userClearHeaderFilter(){this.clearHeaderFilter(),this.refreshFilter()}searchRows(e,r,C){return this.search("rows",e,r,C)}searchData(e,r,C){return this.search("data",e,r,C)}initializeColumnHeaderFilter(e){var r=e.definition;r.headerFilter&&this.initializeColumn(e)}initializeColumn(e,r){var C=this,D=e.getField();function T(p){var t=e.modules.filter.tagType=="input"&&e.modules.filter.attrType=="text"||e.modules.filter.tagType=="textarea"?"partial":"match",d="",g="",i;if(typeof e.modules.filter.prevSuccess>"u"||e.modules.filter.prevSuccess!==p){if(e.modules.filter.prevSuccess=p,e.modules.filter.emptyFunc(p))delete C.headerFilters[D];else{switch(e.modules.filter.value=p,typeof e.definition.headerFilterFunc){case"string":Xh.filters[e.definition.headerFilterFunc]?(d=e.definition.headerFilterFunc,i=function(M){var v=e.definition.headerFilterFuncParams||{},f=e.getFieldValue(M);return v=typeof v=="function"?v(p,f,M):v,Xh.filters[e.definition.headerFilterFunc](p,f,M,v)}):console.warn("Header Filter Error - Matching filter function not found: ",e.definition.headerFilterFunc);break;case"function":i=function(M){var v=e.definition.headerFilterFuncParams||{},f=e.getFieldValue(M);return v=typeof v=="function"?v(p,f,M):v,e.definition.headerFilterFunc(p,f,M,v)},d=i;break}if(!i)switch(t){case"partial":i=function(M){var v=e.getFieldValue(M);return typeof v<"u"&&v!==null?String(v).toLowerCase().indexOf(String(p).toLowerCase())>-1:!1},d="like";break;default:i=function(M){return e.getFieldValue(M)==p},d="="}C.headerFilters[D]={value:p,func:i,type:d}}e.modules.filter.value=p,g=JSON.stringify(C.headerFilters),C.prevHeaderFilterChangeCheck!==g&&(C.prevHeaderFilterChangeCheck=g,C.trackChanges(),C.refreshFilter())}return!0}e.modules.filter={success:T,attrType:!1,tagType:!1,emptyFunc:!1},this.generateHeaderFilterElement(e)}generateHeaderFilterElement(e,r,C){var D=this,T=e.modules.filter.success,p=e.getField(),t,d,g,i,M,v,f,l;e.modules.filter.value=r;function a(){}function u(o){l=o}if(e.modules.filter.headerElement&&e.modules.filter.headerElement.parentNode&&e.contentElement.removeChild(e.modules.filter.headerElement.parentNode),p){switch(e.modules.filter.emptyFunc=e.definition.headerFilterEmptyCheck||function(o){return!o&&o!==0},t=document.createElement("div"),t.classList.add("tabulator-header-filter"),typeof e.definition.headerFilter){case"string":D.table.modules.edit.editors[e.definition.headerFilter]?(d=D.table.modules.edit.editors[e.definition.headerFilter],(e.definition.headerFilter==="tick"||e.definition.headerFilter==="tickCross")&&!e.definition.headerFilterEmptyCheck&&(e.modules.filter.emptyFunc=function(o){return o!==!0&&o!==!1})):console.warn("Filter Error - Cannot build header filter, No such editor found: ",e.definition.editor);break;case"function":d=e.definition.headerFilter;break;case"boolean":e.modules.edit&&e.modules.edit.editor?d=e.modules.edit.editor:e.definition.formatter&&D.table.modules.edit.editors[e.definition.formatter]?(d=D.table.modules.edit.editors[e.definition.formatter],(e.definition.formatter==="tick"||e.definition.formatter==="tickCross")&&!e.definition.headerFilterEmptyCheck&&(e.modules.filter.emptyFunc=function(o){return o!==!0&&o!==!1})):d=D.table.modules.edit.editors.input;break}if(d){if(i={getValue:function(){return typeof r<"u"?r:""},getField:function(){return e.definition.field},getElement:function(){return t},getColumn:function(){return e.getComponent()},getTable:()=>this.table,getType:()=>"header",getRow:function(){return{normalizeHeight:function(){}}}},f=e.definition.headerFilterParams||{},f=typeof f=="function"?f.call(D.table,i):f,g=d.call(this.table.modules.edit,i,u,T,a,f),!g){console.warn("Filter Error - Cannot add filter to "+p+" column, editor returned a value of false");return}if(!(g instanceof Node)){console.warn("Filter Error - Cannot add filter to "+p+" column, editor should return an instance of Node, the editor returned:",g);return}D.langBind("headerFilters|columns|"+e.definition.field,function(o){g.setAttribute("placeholder",typeof o<"u"&&o?o:e.definition.headerFilterPlaceholder||D.langText("headerFilters|default"))}),g.addEventListener("click",function(o){o.stopPropagation(),g.focus()}),g.addEventListener("focus",o=>{var s=this.table.columnManager.contentsElement.scrollLeft,c=this.table.rowManager.element.scrollLeft;s!==c&&(this.table.rowManager.scrollHorizontal(s),this.table.columnManager.scrollHorizontal(s))}),M=!1,v=function(o){M&&clearTimeout(M),M=setTimeout(function(){T(g.value)},D.table.options.headerFilterLiveFilterDelay)},e.modules.filter.headerElement=g,e.modules.filter.attrType=g.hasAttribute("type")?g.getAttribute("type").toLowerCase():"",e.modules.filter.tagType=g.tagName.toLowerCase(),e.definition.headerFilterLiveFilter!==!1&&(e.definition.headerFilter==="autocomplete"||e.definition.headerFilter==="tickCross"||(e.definition.editor==="autocomplete"||e.definition.editor==="tickCross")&&e.definition.headerFilter===!0||(g.addEventListener("keyup",v),g.addEventListener("search",v),e.modules.filter.attrType=="number"&&g.addEventListener("change",function(o){T(g.value)}),e.modules.filter.attrType=="text"&&this.table.browser!=="ie"&&g.setAttribute("type","search")),(e.modules.filter.tagType=="input"||e.modules.filter.tagType=="select"||e.modules.filter.tagType=="textarea")&&g.addEventListener("mousedown",function(o){o.stopPropagation()})),t.appendChild(g),e.contentElement.appendChild(t),C||D.headerFilterColumns.push(e),l&&l()}}else console.warn("Filter Error - Cannot add header filter, column has no field set:",e.definition.title)}hideHeaderFilterElements(){this.headerFilterColumns.forEach(function(e){e.modules.filter&&e.modules.filter.headerElement&&(e.modules.filter.headerElement.style.display="none")})}showHeaderFilterElements(){this.headerFilterColumns.forEach(function(e){e.modules.filter&&e.modules.filter.headerElement&&(e.modules.filter.headerElement.style.display="")})}setHeaderFilterFocus(e){e.modules.filter&&e.modules.filter.headerElement?e.modules.filter.headerElement.focus():console.warn("Column Filter Focus Error - No header filter set on column:",e.getField())}getHeaderFilterValue(e){if(e.modules.filter&&e.modules.filter.headerElement)return e.modules.filter.value;console.warn("Column Filter Error - No header filter set on column:",e.getField())}setHeaderFilterValue(e,r){e&&(e.modules.filter&&e.modules.filter.headerElement?(this.generateHeaderFilterElement(e,r,!0),e.modules.filter.success(r)):console.warn("Column Filter Error - No header filter set on column:",e.getField()))}reloadHeaderFilter(e){e&&(e.modules.filter&&e.modules.filter.headerElement?this.generateHeaderFilterElement(e,e.modules.filter.value,!0):console.warn("Column Filter Error - No header filter set on column:",e.getField()))}refreshFilter(){this.tableInitialized&&(this.table.options.filterMode==="remote"?this.reloadData(null,!1,!1):this.refreshData(!0))}trackChanges(){this.changed=!0,this.dispatch("filter-changed")}hasChanged(){var e=this.changed;return this.changed=!1,e}setFilter(e,r,C,D){this.filterList=[],Array.isArray(e)||(e=[{field:e,type:r,value:C,params:D}]),this.addFilter(e)}addFilter(e,r,C,D){var T=!1;Array.isArray(e)||(e=[{field:e,type:r,value:C,params:D}]),e.forEach(p=>{p=this.findFilter(p),p&&(this.filterList.push(p),T=!0)}),T&&this.trackChanges()}findFilter(e){var r;if(Array.isArray(e))return this.findSubFilters(e);var C=!1;return typeof e.field=="function"?C=function(D){return e.field(D,e.type||{})}:Xh.filters[e.type]?(r=this.table.columnManager.getColumnByField(e.field),r?C=function(D){return Xh.filters[e.type](e.value,r.getFieldValue(D),D,e.params||{})}:C=function(D){return Xh.filters[e.type](e.value,D[e.field],D,e.params||{})}):console.warn("Filter Error - No such filter type found, ignoring: ",e.type),e.func=C,e.func?e:!1}findSubFilters(e){var r=[];return e.forEach(C=>{C=this.findFilter(C),C&&r.push(C)}),r.length?r:!1}getFilters(e,r){var C=[];return e&&(C=this.getHeaderFilters()),r&&C.forEach(function(D){typeof D.type=="function"&&(D.type="function")}),C=C.concat(this.filtersToArray(this.filterList,r)),C}filtersToArray(e,r){var C=[];return e.forEach(D=>{var T;Array.isArray(D)?C.push(this.filtersToArray(D,r)):(T={field:D.field,type:D.type,value:D.value},r&&typeof T.type=="function"&&(T.type="function"),C.push(T))}),C}getHeaderFilters(){var e=[];for(var r in this.headerFilters)e.push({field:r,type:this.headerFilters[r].type,value:this.headerFilters[r].value});return e}removeFilter(e,r,C){Array.isArray(e)||(e=[{field:e,type:r,value:C}]),e.forEach(D=>{var T=-1;typeof D.field=="object"?T=this.filterList.findIndex(p=>D===p):T=this.filterList.findIndex(p=>D.field===p.field&&D.type===p.type&&D.value===p.value),T>-1?this.filterList.splice(T,1):console.warn("Filter Error - No matching filter type found, ignoring: ",D.type)}),this.trackChanges()}clearFilter(e){this.filterList=[],e&&this.clearHeaderFilter(),this.trackChanges()}clearHeaderFilter(){this.headerFilters={},this.prevHeaderFilterChangeCheck="{}",this.headerFilterColumns.forEach(e=>{typeof e.modules.filter.value<"u"&&delete e.modules.filter.value,e.modules.filter.prevSuccess=void 0,this.reloadHeaderFilter(e)}),this.trackChanges()}search(e,r,C,D){var T=[],p=[];return Array.isArray(r)||(r=[{field:r,type:C,value:D}]),r.forEach(t=>{t=this.findFilter(t),t&&p.push(t)}),this.table.rowManager.rows.forEach(t=>{var d=!0;p.forEach(g=>{this.filterRecurse(g,t.getData())||(d=!1)}),d&&T.push(e==="data"?t.getData("data"):t.getComponent())}),T}filter(e,r){var C=[],D=[];return this.subscribedExternal("dataFiltering")&&this.dispatchExternal("dataFiltering",this.getFilters(!0)),this.table.options.filterMode!=="remote"&&(this.filterList.length||Object.keys(this.headerFilters).length)?e.forEach(T=>{this.filterRow(T)&&C.push(T)}):C=e.slice(0),this.subscribedExternal("dataFiltered")&&(C.forEach(T=>{D.push(T.getComponent())}),this.dispatchExternal("dataFiltered",this.getFilters(!0),D)),C}filterRow(e,r){var C=!0,D=e.getData();this.filterList.forEach(p=>{this.filterRecurse(p,D)||(C=!1)});for(var T in this.headerFilters)this.headerFilters[T].func(D)||(C=!1);return C}filterRecurse(e,r){var C=!1;return Array.isArray(e)?e.forEach(D=>{this.filterRecurse(D,r)&&(C=!0)}):C=e.func(r),C}}Xh.moduleName="filter";Xh.filters=NR;function VR(n,e,r){return this.emptyToSpace(this.sanitizeHTML(n.getValue()))}function jR(n,e,r){return n.getValue()}function UR(n,e,r){return n.getElement().style.whiteSpace="pre-wrap",this.emptyToSpace(this.sanitizeHTML(n.getValue()))}function HR(n,e,r){var C=parseFloat(n.getValue()),D="",T,p,t,d,g,i=e.decimal||".",M=e.thousand||",",v=e.negativeSign||"-",f=e.symbol||"",l=!!e.symbolAfter,a=typeof e.precision<"u"?e.precision:2;if(isNaN(C))return this.emptyToSpace(this.sanitizeHTML(n.getValue()));if(C<0&&(C=Math.abs(C),D=v),T=a!==!1?C.toFixed(a):C,T=String(T).split("."),p=T[0],t=T.length>1?i+T[1]:"",e.thousand!==!1)for(d=/(\d+)(\d{3})/;d.test(p);)p=p.replace(d,"$1"+M+"$2");return g=p+t,D===!0?(g="("+g+")",l?g+f:f+g):l?D+g+f:D+f+g}function GR(n,e,r){var C=n.getValue(),D=e.urlPrefix||"",T=e.download,p=C,t=document.createElement("a"),d;function g(i,M){var v=i.shift(),f=M[v];return i.length&&typeof f=="object"?g(i,f):f}if(e.labelField&&(d=n.getData(),p=g(e.labelField.split(this.table.options.nestedFieldSeparator),d)),e.label)switch(typeof e.label){case"string":p=e.label;break;case"function":p=e.label(n);break}if(p){if(e.urlField&&(d=n.getData(),C=oo.retrieveNestedData(this.table.options.nestedFieldSeparator,e.urlField,d)),e.url)switch(typeof e.url){case"string":C=e.url;break;case"function":C=e.url(n);break}return t.setAttribute("href",D+C),e.target&&t.setAttribute("target",e.target),e.download&&(typeof T=="function"?T=T(n):T=T===!0?"":T,t.setAttribute("download",T)),t.innerHTML=this.emptyToSpace(this.sanitizeHTML(p)),t}else return" "}function qR(n,e,r){var C=document.createElement("img"),D=n.getValue();switch(e.urlPrefix&&(D=e.urlPrefix+n.getValue()),e.urlSuffix&&(D=D+e.urlSuffix),C.setAttribute("src",D),typeof e.height){case"number":C.style.height=e.height+"px";break;case"string":C.style.height=e.height;break}switch(typeof e.width){case"number":C.style.width=e.width+"px";break;case"string":C.style.width=e.width;break}return C.addEventListener("load",function(){n.getRow().normalizeHeight()}),C}function WR(n,e,r){var C=n.getValue(),D=n.getElement(),T=e.allowEmpty,p=e.allowTruthy,t=Object.keys(e).includes("trueValue"),d=typeof e.tickElement<"u"?e.tickElement:'',g=typeof e.crossElement<"u"?e.crossElement:'';return t&&C===e.trueValue||!t&&(p&&C||C===!0||C==="true"||C==="True"||C===1||C==="1")?(D.setAttribute("aria-checked",!0),d||""):T&&(C==="null"||C===""||C===null||typeof C>"u")?(D.setAttribute("aria-checked","mixed"),""):(D.setAttribute("aria-checked",!1),g||"")}function YR(n,e,r){var C=window.DateTime||luxon.DateTime,D=e.inputFormat||"yyyy-MM-dd HH:mm:ss",T=e.outputFormat||"dd/MM/yyyy HH:mm:ss",p=typeof e.invalidPlaceholder<"u"?e.invalidPlaceholder:"",t=n.getValue();if(typeof C<"u"){var d;return C.isDateTime(t)?d=t:D==="iso"?d=C.fromISO(String(t)):d=C.fromFormat(String(t),D),d.isValid?(e.timezone&&(d=d.setZone(e.timezone)),d.toFormat(T)):p===!0||!t?t:typeof p=="function"?p(t):p}else console.error("Format Error - 'datetime' formatter is dependant on luxon.js")}function $R(n,e,r){var C=window.DateTime||luxon.DateTime,D=e.inputFormat||"yyyy-MM-dd HH:mm:ss",T=typeof e.invalidPlaceholder<"u"?e.invalidPlaceholder:"",p=typeof e.suffix<"u"?e.suffix:!1,t=typeof e.unit<"u"?e.unit:"days",d=typeof e.humanize<"u"?e.humanize:!1,g=typeof e.date<"u"?e.date:C.now(),i=n.getValue();if(typeof C<"u"){var M;return C.isDateTime(i)?M=i:D==="iso"?M=C.fromISO(String(i)):M=C.fromFormat(String(i),D),M.isValid?d?M.diff(g,t).toHuman()+(p?" "+p:""):parseInt(M.diff(g,t)[t])+(p?" "+p:""):T===!0?i:typeof T=="function"?T(i):T}else console.error("Format Error - 'datetimediff' formatter is dependant on luxon.js")}function ZR(n,e,r){var C=n.getValue();return typeof e[C]>"u"?(console.warn("Missing display value for "+C),C):e[C]}function XR(n,e,r){var C=n.getValue(),D=n.getElement(),T=e&&e.stars?e.stars:5,p=document.createElement("span"),t=document.createElementNS("http://www.w3.org/2000/svg","svg"),d='',g='';p.style.verticalAlign="middle",t.setAttribute("width","14"),t.setAttribute("height","14"),t.setAttribute("viewBox","0 0 512 512"),t.setAttribute("xml:space","preserve"),t.style.padding="0 1px",C=C&&!isNaN(C)?parseInt(C):0,C=Math.max(0,Math.min(C,T));for(var i=1;i<=T;i++){var M=t.cloneNode(!0);M.innerHTML=i<=C?d:g,p.appendChild(M)}return D.style.whiteSpace="nowrap",D.style.overflow="hidden",D.style.textOverflow="ellipsis",D.setAttribute("aria-label",C),p}function KR(n,e,r){var C=this.sanitizeHTML(n.getValue())||0,D=document.createElement("span"),T=e&&e.max?e.max:100,p=e&&e.min?e.min:0,t=e&&typeof e.color<"u"?e.color:["red","orange","green"],d="#666666",g,i;if(!(isNaN(C)||typeof n.getValue()>"u")){switch(D.classList.add("tabulator-traffic-light"),i=parseFloat(C)<=T?parseFloat(C):T,i=parseFloat(i)>=p?parseFloat(i):p,g=(T-p)/100,i=Math.round((i-p)/g),typeof t){case"string":d=t;break;case"function":d=t(C);break;case"object":if(Array.isArray(t)){var M=100/t.length,v=Math.floor(i/M);v=Math.min(v,t.length-1),v=Math.max(v,0),d=t[v];break}}return D.style.backgroundColor=d,D}}function JR(n,e={},r){var C=this.sanitizeHTML(n.getValue())||0,D=n.getElement(),T=e.max?e.max:100,p=e.min?e.min:0,t=e.legendAlign?e.legendAlign:"center",d,g,i,M,v;switch(g=parseFloat(C)<=T?parseFloat(C):T,g=parseFloat(g)>=p?parseFloat(g):p,d=(T-p)/100,g=Math.round((g-p)/d),typeof e.color){case"string":i=e.color;break;case"function":i=e.color(C);break;case"object":if(Array.isArray(e.color)){let u=100/e.color.length,o=Math.floor(g/u);o=Math.min(o,e.color.length-1),o=Math.max(o,0),i=e.color[o];break}default:i="#2DC214"}switch(typeof e.legend){case"string":M=e.legend;break;case"function":M=e.legend(C);break;case"boolean":M=C;break;default:M=!1}switch(typeof e.legendColor){case"string":v=e.legendColor;break;case"function":v=e.legendColor(C);break;case"object":if(Array.isArray(e.legendColor)){let u=100/e.legendColor.length,o=Math.floor(g/u);o=Math.min(o,e.legendColor.length-1),o=Math.max(o,0),v=e.legendColor[o]}break;default:v="#000"}D.style.minWidth="30px",D.style.position="relative",D.setAttribute("aria-label",g);var f=document.createElement("div");f.style.display="inline-block",f.style.width=g+"%",f.style.backgroundColor=i,f.style.height="100%",f.setAttribute("data-max",T),f.setAttribute("data-min",p);var l=document.createElement("div");if(l.style.position="relative",l.style.width="100%",l.style.height="100%",M){var a=document.createElement("div");a.style.position="absolute",a.style.top=0,a.style.left=0,a.style.textAlign=t,a.style.width="100%",a.style.color=v,a.innerHTML=M}return r(function(){if(!(n instanceof IM)){var u=document.createElement("div");u.style.position="absolute",u.style.top="4px",u.style.bottom="4px",u.style.left="4px",u.style.right="4px",D.appendChild(u),D=u}D.appendChild(l),l.appendChild(f),M&&l.appendChild(a)}),""}function QR(n,e,r){return n.getElement().style.backgroundColor=this.sanitizeHTML(n.getValue()),""}function eP(n,e,r){return''}function tP(n,e,r){return''}function nP(n,e,r){var C=document.createElement("span"),D=n.getRow(),T=n.getTable();return D.watchPosition(p=>{e.relativeToPage&&(p+=T.modules.page.getPageSize()*(T.modules.page.getPage()-1)),C.innerText=p}),C}function rP(n,e,r){return n.getElement().classList.add("tabulator-row-handle"),"
"}function iP(n,e,r){var C=document.createElement("div"),D=n.getRow()._row.modules.responsiveLayout;C.classList.add("tabulator-responsive-collapse-toggle"),C.innerHTML=` ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js -<<<<<<<< HEAD:js-component/dist/assets/index-5ed08cb5.js `,n.getElement().classList.add("tabulator-row-handle");function T(p){var t=D.element;D.open=p,t&&(D.open?(S.classList.add("open"),t.style.display=""):(S.classList.remove("open"),t.style.display="none"))}return S.addEventListener("click",function(p){p.stopImmediatePropagation(),T(!D.open),n.getTable().rowManager.adjustTableSize()}),T(D.open),S}function aP(n,e,r){var S=document.createElement("input"),D=!1;if(S.type="checkbox",S.setAttribute("aria-label","Select Row"),this.table.modExists("selectRow",!0))if(S.addEventListener("click",p=>{p.stopPropagation()}),typeof n.getRow=="function"){var T=n.getRow();T instanceof Wy?(S.addEventListener("change",p=>{this.table.options.selectableRowsRangeMode==="click"&&D?D=!1:T.toggleSelect()}),this.table.options.selectableRowsRangeMode==="click"&&S.addEventListener("click",p=>{D=!0,this.table.modules.selectRow.handleComplexRowClick(T._row,p)}),S.checked=T.isSelected&&T.isSelected(),this.table.modules.selectRow.registerRowSelectCheckbox(T,S)):S=""}else S.addEventListener("change",p=>{this.table.modules.selectRow.selectedRows.length?this.table.deselectRow():this.table.selectRow(e.rowRange)}),this.table.modules.selectRow.registerHeaderSelectCheckbox(S);return S}var oP={plaintext:VR,html:jR,textarea:UR,money:HR,link:GR,image:qR,tickCross:WR,datetime:YR,datetimediff:$R,lookup:ZR,star:XR,traffic:KR,progress:JR,color:QR,buttonTick:eP,buttonCross:tP,rownum:nP,handle:rP,responsiveCollapse:iP,rowSelection:aP};class Yu extends qi{constructor(e){super(e),this.registerColumnOption("formatter"),this.registerColumnOption("formatterParams"),this.registerColumnOption("formatterPrint"),this.registerColumnOption("formatterPrintParams"),this.registerColumnOption("formatterClipboard"),this.registerColumnOption("formatterClipboardParams"),this.registerColumnOption("formatterHtmlOutput"),this.registerColumnOption("formatterHtmlOutputParams"),this.registerColumnOption("titleFormatter"),this.registerColumnOption("titleFormatterParams")}initialize(){this.subscribe("cell-format",this.formatValue.bind(this)),this.subscribe("cell-rendered",this.cellRendered.bind(this)),this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("column-format",this.formatHeader.bind(this))}initializeColumn(e){e.modules.format=this.lookupFormatter(e,""),typeof e.definition.formatterPrint<"u"&&(e.modules.format.print=this.lookupFormatter(e,"Print")),typeof e.definition.formatterClipboard<"u"&&(e.modules.format.clipboard=this.lookupFormatter(e,"Clipboard")),typeof e.definition.formatterHtmlOutput<"u"&&(e.modules.format.htmlOutput=this.lookupFormatter(e,"HtmlOutput"))}lookupFormatter(e,r){var S={params:e.definition["formatter"+r+"Params"]||{}},D=e.definition["formatter"+r];switch(typeof D){case"string":Yu.formatters[D]?S.formatter=Yu.formatters[D]:(console.warn("Formatter Error - No such formatter found: ",D),S.formatter=Yu.formatters.plaintext);break;case"function":S.formatter=D;break;default:S.formatter=Yu.formatters.plaintext;break}return S}cellRendered(e){e.modules.format&&e.modules.format.renderedCallback&&!e.modules.format.rendered&&(e.modules.format.renderedCallback(),e.modules.format.rendered=!0)}formatHeader(e,r,S){var D,T,p,t;return e.definition.titleFormatter?(D=this.getFormatter(e.definition.titleFormatter),p=d=>{e.titleFormatterRendered=d},t={getValue:function(){return r},getElement:function(){return S},getType:function(){return"header"},getColumn:function(){return e.getComponent()},getTable:()=>this.table},T=e.definition.titleFormatterParams||{},T=typeof T=="function"?T():T,D.call(this,t,T,p)):r}formatValue(e){var r=e.getComponent(),S=typeof e.column.modules.format.params=="function"?e.column.modules.format.params(r):e.column.modules.format.params;function D(T){e.modules.format||(e.modules.format={}),e.modules.format.renderedCallback=T,e.modules.format.rendered=!1}return e.column.modules.format.formatter.call(this,r,S,D)}formatExportValue(e,r){var S=e.column.modules.format[r],D;if(S){let p=function(t){e.modules.format||(e.modules.format={}),e.modules.format.renderedCallback=t,e.modules.format.rendered=!1};var T=p;return D=typeof S.params=="function"?S.params(e.getComponent()):S.params,S.formatter.call(this,e.getComponent(),D,p)}else return this.formatValue(e)}sanitizeHTML(e){if(e){var r={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};return String(e).replace(/[&<>"'`=/]/g,function(S){return r[S]})}else return e}emptyToSpace(e){return e===null||typeof e>"u"||e===""?" ":e}getFormatter(e){switch(typeof e){case"string":Yu.formatters[e]?e=Yu.formatters[e]:(console.warn("Formatter Error - No such formatter found: ",e),e=Yu.formatters.plaintext);break;case"function":break;default:e=Yu.formatters.plaintext;break}return e}}Yu.moduleName="format";Yu.formatters=oP;class zM extends qi{constructor(e){super(e),this.leftColumns=[],this.rightColumns=[],this.initializationMode="left",this.active=!1,this.blocked=!0,this.registerColumnOption("frozen")}reset(){this.initializationMode="left",this.leftColumns=[],this.rightColumns=[],this.active=!1}initialize(){this.subscribe("cell-layout",this.layoutCell.bind(this)),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("column-width",this.layout.bind(this)),this.subscribe("row-layout-after",this.layoutRow.bind(this)),this.subscribe("table-layout",this.layout.bind(this)),this.subscribe("columns-loading",this.reset.bind(this)),this.subscribe("column-add",this.reinitializeColumns.bind(this)),this.subscribe("column-deleted",this.reinitializeColumns.bind(this)),this.subscribe("column-hide",this.reinitializeColumns.bind(this)),this.subscribe("column-show",this.reinitializeColumns.bind(this)),this.subscribe("columns-loaded",this.reinitializeColumns.bind(this)),this.subscribe("table-redraw",this.layout.bind(this)),this.subscribe("layout-refreshing",this.blockLayout.bind(this)),this.subscribe("layout-refreshed",this.unblockLayout.bind(this)),this.subscribe("scrollbar-vertical",this.adjustForScrollbar.bind(this))}blockLayout(){this.blocked=!0}unblockLayout(){this.blocked=!1}layoutCell(e){this.layoutElement(e.element,e.column)}reinitializeColumns(){this.reset(),this.table.columnManager.columnsByIndex.forEach(e=>{this.initializeColumn(e)}),this.layout()}initializeColumn(e){var r={margin:0,edge:!1};e.isGroup||(this.frozenCheck(e)?(r.position=this.initializationMode,this.initializationMode=="left"?this.leftColumns.push(e):this.rightColumns.unshift(e),this.active=!0,e.modules.frozen=r):this.initializationMode="right")}frozenCheck(e){return e.parent.isGroup&&e.definition.frozen&&console.warn("Frozen Column Error - Parent column group must be frozen, not individual columns or sub column groups"),e.parent.isGroup?this.frozenCheck(e.parent):e.definition.frozen}layoutCalcRows(){this.table.modExists("columnCalcs")&&(this.table.modules.columnCalcs.topInitialized&&this.table.modules.columnCalcs.topRow&&this.layoutRow(this.table.modules.columnCalcs.topRow),this.table.modules.columnCalcs.botInitialized&&this.table.modules.columnCalcs.botRow&&this.layoutRow(this.table.modules.columnCalcs.botRow),this.table.modExists("groupRows")&&this.layoutGroupCalcs(this.table.modules.groupRows.getGroups()))}layoutGroupCalcs(e){e.forEach(r=>{r.calcs.top&&this.layoutRow(r.calcs.top),r.calcs.bottom&&this.layoutRow(r.calcs.bottom),r.groupList&&r.groupList.length&&this.layoutGroupCalcs(r.groupList)})}layoutColumnPosition(e){var r=[],S=0,D=0;this.leftColumns.forEach((T,p)=>{if(T.modules.frozen.marginValue=S,T.modules.frozen.margin=T.modules.frozen.marginValue+"px",T.visible&&(S+=T.getWidth()),p==this.leftColumns.length-1?T.modules.frozen.edge=!0:T.modules.frozen.edge=!1,T.parent.isGroup){var t=this.getColGroupParentElement(T);r.includes(t)||(this.layoutElement(t,T),r.push(t)),t.classList.toggle("tabulator-frozen-left",T.modules.frozen.edge&&T.modules.frozen.position==="left"),t.classList.toggle("tabulator-frozen-right",T.modules.frozen.edge&&T.modules.frozen.position==="right")}else this.layoutElement(T.getElement(),T);e&&T.cells.forEach(d=>{this.layoutElement(d.getElement(!0),T)})}),this.rightColumns.forEach((T,p)=>{T.modules.frozen.marginValue=D,T.modules.frozen.margin=T.modules.frozen.marginValue+"px",T.visible&&(D+=T.getWidth()),p==this.rightColumns.length-1?T.modules.frozen.edge=!0:T.modules.frozen.edge=!1,T.parent.isGroup?this.layoutElement(this.getColGroupParentElement(T),T):this.layoutElement(T.getElement(),T),e&&T.cells.forEach(t=>{this.layoutElement(t.getElement(!0),T)})})}getColGroupParentElement(e){return e.parent.isGroup?this.getColGroupParentElement(e.parent):e.getElement()}layout(){this.active&&!this.blocked&&(this.layoutColumnPosition(),this.reinitializeRows(),this.layoutCalcRows())}reinitializeRows(){var e=this.table.rowManager.getVisibleRows(!0),r=this.table.rowManager.getRows().filter(S=>!e.includes(S));r.forEach(S=>{S.deinitialize()}),e.forEach(S=>{S.type==="row"&&this.layoutRow(S)})}layoutRow(e){this.table.options.layout==="fitDataFill"&&this.rightColumns.length&&(this.table.rowManager.getTableElement().style.minWidth="calc(100% - "+this.rightMargin+")"),this.leftColumns.forEach(r=>{var S=e.getCell(r);S&&this.layoutElement(S.getElement(!0),r)}),this.rightColumns.forEach(r=>{var S=e.getCell(r);S&&this.layoutElement(S.getElement(!0),r)})}layoutElement(e,r){var S;r.modules.frozen&&e&&(e.style.position="sticky",this.table.rtl?S=r.modules.frozen.position==="left"?"right":"left":S=r.modules.frozen.position,e.style[S]=r.modules.frozen.margin,e.classList.add("tabulator-frozen"),e.classList.toggle("tabulator-frozen-left",r.modules.frozen.edge&&r.modules.frozen.position==="left"),e.classList.toggle("tabulator-frozen-right",r.modules.frozen.edge&&r.modules.frozen.position==="right"))}adjustForScrollbar(e){this.rightColumns.length&&(this.table.columnManager.getContentsElement().style.width="calc(100% - "+e+"px)")}_calcSpace(e,r){var S=0;for(let D=0;D{this.initializeRow(e)})}initializeRow(e){var r=this.table.options.frozenRows,S=typeof r;S==="number"?e.getPosition()&&e.getPosition()+this.rows.length<=r&&this.freezeRow(e):S==="function"?r.call(this.table,e.getComponent())&&this.freezeRow(e):Array.isArray(r)&&r.includes(e.data[this.options("frozenRowsField")])&&this.freezeRow(e)}isRowFrozen(e){var r=this.rows.indexOf(e);return r>-1}isFrozen(){return!!this.rows.length}visibleRows(e,r){return this.rows.forEach(S=>{r.push(S)}),r}getRows(e){var r=e.slice(0);return this.rows.forEach(function(S){var D=r.indexOf(S);D>-1&&r.splice(D,1)}),r}freezeRow(e){e.modules.frozen?console.warn("Freeze Error - Row is already frozen"):(e.modules.frozen=!0,this.topElement.appendChild(e.getElement()),e.initialize(),e.normalizeHeight(),this.rows.push(e),this.refreshData(!1,"display"),this.table.rowManager.adjustTableSize(),this.styleRows())}unfreezeRow(e){e.modules.frozen?(e.modules.frozen=!1,this.detachRow(e),this.table.rowManager.adjustTableSize(),this.refreshData(!1,"display"),this.rows.length&&this.styleRows()):console.warn("Freeze Error - Row is already unfrozen")}detachRow(e){var r=this.rows.indexOf(e);if(r>-1){var S=e.getElement();S.parentNode&&S.parentNode.removeChild(S),this.rows.splice(r,1)}}styleRows(e){this.rows.forEach((r,S)=>{this.table.rowManager.styleRow(r,S)})}}FM.moduleName="frozenRows";class sP{constructor(e){return this._group=e,this.type="GroupComponent",new Proxy(this,{get:function(r,S,D){return typeof r[S]<"u"?r[S]:r._group.groupManager.table.componentFunctionBinder.handle("group",r._group,S)}})}getKey(){return this._group.key}getField(){return this._group.field}getElement(){return this._group.element}getRows(){return this._group.getRows(!0)}getSubGroups(){return this._group.getSubGroups(!0)}getParentGroup(){return this._group.parent?this._group.parent.getComponent():!1}isVisible(){return this._group.visible}show(){this._group.show()}hide(){this._group.hide()}toggle(){this._group.toggleVisibility()}scrollTo(e,r){return this._group.groupManager.table.rowManager.scrollToRow(this._group,e,r)}_getSelf(){return this._group}getTable(){return this._group.groupManager.table}}class Fp{constructor(e,r,S,D,T,p,t){this.groupManager=e,this.parent=r,this.key=D,this.level=S,this.field=T,this.hasSubGroups=S{r.modules&&delete r.modules.group})),this.element=!1,this.arrowElement=!1,this.elementContents=!1}createElements(){var e=document.createElement("div");e.classList.add("tabulator-arrow"),this.element=document.createElement("div"),this.element.classList.add("tabulator-row"),this.element.classList.add("tabulator-group"),this.element.classList.add("tabulator-group-level-"+this.level),this.element.setAttribute("role","rowgroup"),this.arrowElement=document.createElement("div"),this.arrowElement.classList.add("tabulator-group-toggle"),this.arrowElement.appendChild(e),this.groupManager.table.options.movableRows!==!1&&this.groupManager.table.modExists("moveRow")&&this.groupManager.table.modules.moveRow.initializeGroupHeader(this)}createValueGroups(){var e=this.level+1;this.groupManager.allowedValues&&this.groupManager.allowedValues[e]&&this.groupManager.allowedValues[e].forEach(r=>{this._createGroup(r,e)})}addBindings(){var e;this.groupManager.table.options.groupToggleElement&&(e=this.groupManager.table.options.groupToggleElement=="arrow"?this.arrowElement:this.element,e.addEventListener("click",r=>{this.groupManager.table.options.groupToggleElement==="arrow"&&(r.stopPropagation(),r.stopImmediatePropagation()),setTimeout(()=>{this.toggleVisibility()})}))}_createGroup(e,r){var S=r+"_"+e,D=new Fp(this.groupManager,this,r,e,this.groupManager.groupIDLookups[r].field,this.groupManager.headerGenerator[r]||this.groupManager.headerGenerator[0],this.old?this.old.groups[S]:!1);this.groups[S]=D,this.groupList.push(D)}_addRowToGroup(e){var r=this.level+1;if(this.hasSubGroups){var S=this.groupManager.groupIDLookups[r].func(e.getData()),D=r+"_"+S;this.groupManager.allowedValues&&this.groupManager.allowedValues[r]?this.groups[D]&&this.groups[D].addRow(e):(this.groups[D]||this._createGroup(S,r),this.groups[D].addRow(e))}}_addRow(e){this.rows.push(e),e.modules.group=this}insertRow(e,r,S){var D=this.conformRowData({});e.updateData(D);var T=this.rows.indexOf(r);T>-1?S?this.rows.splice(T+1,0,e):this.rows.splice(T,0,e):S?this.rows.push(e):this.rows.unshift(e),e.modules.group=this,this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modules.columnCalcs.recalcGroup(this),this.groupManager.updateGroupRows(!0)}scrollHeader(e){this.arrowElement&&(this.arrowElement.style.marginLeft=e,this.groupList.forEach(function(r){r.scrollHeader(e)}))}getRowIndex(e){}conformRowData(e){return this.field?e[this.field]=this.key:console.warn("Data Conforming Error - Cannot conform row data to match new group as groupBy is a function"),this.parent&&(e=this.parent.conformRowData(e)),e}removeRow(e){var r=this.rows.indexOf(e),S=e.getElement();r>-1&&this.rows.splice(r,1),!this.groupManager.table.options.groupValues&&!this.rows.length?(this.parent?this.parent.removeGroup(this):this.groupManager.removeGroup(this),this.groupManager.updateGroupRows(!0)):(S.parentNode&&S.parentNode.removeChild(S),this.groupManager.blockRedraw||(this.generateGroupHeaderContents(),this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modules.columnCalcs.recalcGroup(this)))}removeGroup(e){var r=e.level+"_"+e.key,S;this.groups[r]&&(delete this.groups[r],S=this.groupList.indexOf(e),S>-1&&this.groupList.splice(S,1),this.groupList.length||(this.parent?this.parent.removeGroup(this):this.groupManager.removeGroup(this)))}getHeadersAndRows(){var e=[];return e.push(this),this._visSet(),this.calcs.top&&(this.calcs.top.detachElement(),this.calcs.top.deleteCells()),this.calcs.bottom&&(this.calcs.bottom.detachElement(),this.calcs.bottom.deleteCells()),this.visible?this.groupList.length?this.groupList.forEach(function(r){e=e.concat(r.getHeadersAndRows())}):(this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.modules.columnCalcs.hasTopCalcs()&&(this.calcs.top=this.groupManager.table.modules.columnCalcs.generateTopRow(this.rows),e.push(this.calcs.top)),e=e.concat(this.rows),this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.modules.columnCalcs.hasBottomCalcs()&&(this.calcs.bottom=this.groupManager.table.modules.columnCalcs.generateBottomRow(this.rows),e.push(this.calcs.bottom))):!this.groupList.length&&this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modExists("columnCalcs")&&(this.groupManager.table.modules.columnCalcs.hasTopCalcs()&&this.groupManager.table.options.groupClosedShowCalcs&&(this.calcs.top=this.groupManager.table.modules.columnCalcs.generateTopRow(this.rows),e.push(this.calcs.top)),this.groupManager.table.modules.columnCalcs.hasBottomCalcs()&&this.groupManager.table.options.groupClosedShowCalcs&&(this.calcs.bottom=this.groupManager.table.modules.columnCalcs.generateBottomRow(this.rows),e.push(this.calcs.bottom))),e}getData(e,r){var S=[];return this._visSet(),(!e||e&&this.visible)&&this.rows.forEach(D=>{S.push(D.getData(r||"data"))}),S}getRowCount(){var e=0;return this.groupList.length?this.groupList.forEach(r=>{e+=r.getRowCount()}):e=this.rows.length,e}toggleVisibility(){this.visible?this.hide():this.show()}hide(){this.visible=!1,this.groupManager.table.rowManager.getRenderMode()=="basic"&&!this.groupManager.table.options.pagination?(this.element.classList.remove("tabulator-group-visible"),this.groupList.length?this.groupList.forEach(e=>{var r=e.getHeadersAndRows();r.forEach(S=>{S.detachElement()})}):this.rows.forEach(e=>{var r=e.getElement();r.parentNode.removeChild(r)}),this.groupManager.updateGroupRows(!0)):this.groupManager.updateGroupRows(!0),this.groupManager.table.externalEvents.dispatch("groupVisibilityChanged",this.getComponent(),!1)}show(){if(this.visible=!0,this.groupManager.table.rowManager.getRenderMode()=="basic"&&!this.groupManager.table.options.pagination){this.element.classList.add("tabulator-group-visible");var e=this.generateElement();this.groupList.length?this.groupList.forEach(r=>{var S=r.getHeadersAndRows();S.forEach(D=>{var T=D.getElement();e.parentNode.insertBefore(T,e.nextSibling),D.initialize(),e=T})}):this.rows.forEach(r=>{var S=r.getElement();e.parentNode.insertBefore(S,e.nextSibling),r.initialize(),e=S}),this.groupManager.updateGroupRows(!0)}else this.groupManager.updateGroupRows(!0);this.groupManager.table.externalEvents.dispatch("groupVisibilityChanged",this.getComponent(),!0)}_visSet(){var e=[];typeof this.visible=="function"&&(this.rows.forEach(function(r){e.push(r.getData())}),this.visible=this.visible(this.key,this.getRowCount(),e,this.getComponent()))}getRowGroup(e){var r=!1;return this.groupList.length?this.groupList.forEach(function(S){var D=S.getRowGroup(e);D&&(r=D)}):this.rows.find(function(S){return S===e})&&(r=this),r}getSubGroups(e){var r=[];return this.groupList.forEach(function(S){r.push(e?S.getComponent():S)}),r}getRows(e,r){var S=[];return r&&this.groupList.length?this.groupList.forEach(D=>{S=S.concat(D.getRows(e,r))}):this.rows.forEach(function(D){S.push(e?D.getComponent():D)}),S}generateGroupHeaderContents(){var e=[],r=this.getRows(!1,!0);for(r.forEach(function(S){e.push(S.getData())}),this.elementContents=this.generator(this.key,this.getRowCount(),e,this.getComponent());this.element.firstChild;)this.element.removeChild(this.element.firstChild);typeof this.elementContents=="string"?this.element.innerHTML=this.elementContents:this.element.appendChild(this.elementContents),this.element.insertBefore(this.arrowElement,this.element.firstChild)}getPath(e=[]){return e.unshift(this.key),this.parent&&this.parent.getPath(e),e}getElement(){return this.elementContents?this.element:this.generateElement()}generateElement(){this.addBindings=!1,this._visSet(),this.visible?this.element.classList.add("tabulator-group-visible"):this.element.classList.remove("tabulator-group-visible");for(var e=0;eS.length&&console.warn("Error creating group headers, groupHeader array is shorter than groupBy array"),this.headerGenerator=[function(){return""}],this.startOpen=[function(){return!1}],this.langBind("groups|item",(T,p)=>{this.headerGenerator[0]=(t,d,g)=>(typeof t>"u"?"":t)+"("+d+" "+(d===1?T:p.groups.items)+")"}),this.groupIDLookups=[],e)this.table.modExists("columnCalcs")&&this.table.options.columnCalcs!="table"&&this.table.options.columnCalcs!="both"&&this.table.modules.columnCalcs.removeCalcs();else if(this.table.modExists("columnCalcs")&&this.table.options.columnCalcs!="group"){var D=this.table.columnManager.getRealColumns();D.forEach(T=>{T.definition.topCalc&&this.table.modules.columnCalcs.initializeTopRow(),T.definition.bottomCalc&&this.table.modules.columnCalcs.initializeBottomRow()})}Array.isArray(e)||(e=[e]),e.forEach((T,p)=>{var t,d;typeof T=="function"?t=T:(d=this.table.columnManager.getColumnByField(T),d?t=function(g){return d.getFieldValue(g)}:t=function(g){return g[T]}),this.groupIDLookups.push({field:typeof T=="function"?!1:T,func:t,values:this.allowedValues?this.allowedValues[p]:!1})}),r&&(Array.isArray(r)||(r=[r]),r.forEach(T=>{}),this.startOpen=r),S&&(this.headerGenerator=Array.isArray(S)?S:[S])}else this.groupList=[],this.groups={}}rowSample(e,r){if(this.table.options.groupBy){var S=this.getGroups(!1)[0];r.push(S.getRows(!1)[0])}return r}virtualRenderFill(){var e=this.table.rowManager.tableElement,r=this.table.rowManager.getVisibleRows();if(this.table.options.groupBy)r=r.filter(S=>S.type!=="group"),e.style.minWidth=r.length?"":this.table.columnManager.getWidth()+"px";else return r}rowAddingIndex(e,r,S){if(this.table.options.groupBy){this.assignRowToGroup(e);var D=e.modules.group.rows;return D.length>1&&(!r||r&&D.indexOf(r)==-1?S?D[0]!==e&&(r=D[0],this.table.rowManager.moveRowInArray(e.modules.group.rows,e,r,!S)):D[D.length-1]!==e&&(r=D[D.length-1],this.table.rowManager.moveRowInArray(e.modules.group.rows,e,r,!S)):this.table.rowManager.moveRowInArray(e.modules.group.rows,e,r,!S)),r}}trackChanges(){this.dispatch("group-changed")}setGroupBy(e){this.table.options.groupBy=e,this.initialized||this.initialize(),this.configureGroupSetup(),!e&&this.table.modExists("columnCalcs")&&this.table.options.columnCalcs===!0&&this.table.modules.columnCalcs.reinitializeCalcs(),this.refreshData(),this.trackChanges()}setGroupValues(e){this.table.options.groupValues=e,this.configureGroupSetup(),this.refreshData(),this.trackChanges()}setGroupStartOpen(e){this.table.options.groupStartOpen=e,this.configureGroupSetup(),this.table.options.groupBy?(this.refreshData(),this.trackChanges()):console.warn("Grouping Update - cant refresh view, no groups have been set")}setGroupHeader(e){this.table.options.groupHeader=e,this.configureGroupSetup(),this.table.options.groupBy?(this.refreshData(),this.trackChanges()):console.warn("Grouping Update - cant refresh view, no groups have been set")}userGetGroups(e){return this.getGroups(!0)}userGetGroupedData(){return this.table.options.groupBy?this.getGroupedData():this.getData()}rowGetGroup(e){return e.modules.group?e.modules.group.getComponent():!1}rowMoving(e,r,S){if(this.table.options.groupBy){!S&&r instanceof Fp&&(r=this.table.rowManager.prevDisplayRow(e)||r);var D=r instanceof Fp?r:r.modules.group,T=e instanceof Fp?e:e.modules.group;D===T?this.table.rowManager.moveRowInArray(D.rows,e,r,S):(T&&T.removeRow(e),D.insertRow(e,r,S))}}rowDeleting(e){this.table.options.groupBy&&e.modules.group&&e.modules.group.removeRow(e)}rowsUpdated(e){this.table.options.groupBy&&this.updateGroupRows(!0)}cellUpdated(e){this.table.options.groupBy&&this.reassignRowToGroup(e.row)}getRows(e){return this.table.options.groupBy&&this.groupIDLookups.length?(this.dispatchExternal("dataGrouping"),this.generateGroups(e),this.subscribedExternal("dataGrouped")&&this.dispatchExternal("dataGrouped",this.getGroups(!0)),this.updateGroupRows()):e.slice(0)}getGroups(e){var r=[];return this.groupList.forEach(function(S){r.push(e?S.getComponent():S)}),r}getChildGroups(e){var r=[];return e||(e=this),e.groupList.forEach(S=>{S.groupList.length?r=r.concat(this.getChildGroups(S)):r.push(S)}),r}wipe(){this.table.options.groupBy&&(this.groupList.forEach(function(e){e.wipe()}),this.groupList=[],this.groups={})}pullGroupListData(e){var r=[];return e.forEach(S=>{var D={};D.level=0,D.rowCount=0,D.headerContent="";var T=[];S.hasSubGroups?(T=this.pullGroupListData(S.groupList),D.level=S.level,D.rowCount=T.length-S.groupList.length,D.headerContent=S.generator(S.key,D.rowCount,S.rows,S),r.push(D),r=r.concat(T)):(D.level=S.level,D.headerContent=S.generator(S.key,S.rows.length,S.rows,S),D.rowCount=S.getRows().length,r.push(D),S.getRows().forEach(p=>{r.push(p.getData("data"))}))}),r}getGroupedData(){return this.pullGroupListData(this.groupList)}getRowGroup(e){var r=!1;return this.options("dataTree")&&(e=this.table.modules.dataTree.getTreeParentRoot(e)),this.groupList.forEach(S=>{var D=S.getRowGroup(e);D&&(r=D)}),r}countGroups(){return this.groupList.length}generateGroups(e){var r=this.groups;this.groups={},this.groupList=[],this.allowedValues&&this.allowedValues[0]?(this.allowedValues[0].forEach(S=>{this.createGroup(S,0,r)}),e.forEach(S=>{this.assignRowToExistingGroup(S,r)})):e.forEach(S=>{this.assignRowToGroup(S,r)}),Object.values(r).forEach(S=>{S.wipe(!0)})}createGroup(e,r,S){var D=r+"_"+e,T;S=S||[],T=new Fp(this,!1,r,e,this.groupIDLookups[0].field,this.headerGenerator[0],S[D]),this.groups[D]=T,this.groupList.push(T)}assignRowToExistingGroup(e,r){var S=this.groupIDLookups[0].func(e.getData()),D="0_"+S;this.groups[D]&&this.groups[D].addRow(e)}assignRowToGroup(e,r){var S=this.groupIDLookups[0].func(e.getData()),D=!this.groups["0_"+S];return D&&this.createGroup(S,0,r),this.groups["0_"+S].addRow(e),!D}reassignRowToGroup(e){if(e.type==="row"){var r=e.modules.group,S=r.getPath(),D=this.getExpectedPath(e),T;T=S.length==D.length&&S.every((p,t)=>p===D[t]),T||(r.removeRow(e),this.assignRowToGroup(e,this.groups),this.refreshData(!0))}}getExpectedPath(e){var r=[],S=e.getData();return this.groupIDLookups.forEach(D=>{r.push(D.func(S))}),r}updateGroupRows(e){var r=[];return this.blockRedraw||(this.groupList.forEach(S=>{r=r.concat(S.getHeadersAndRows())}),e&&this.refreshData(!0)),r}scrollHeaders(e){this.table.options.groupBy&&(this.table.options.renderHorizontal==="virtual"&&(e-=this.table.columnManager.renderer.vDomPadLeft),e=e+"px",this.groupList.forEach(r=>{r.scrollHeader(e)}))}removeGroup(e){var r=e.level+"_"+e.key,S;this.groups[r]&&(delete this.groups[r],S=this.groupList.indexOf(e),S>-1&&this.groupList.splice(S,1))}checkBasicModeGroupHeaderWidth(){var e=this.table.rowManager.tableElement,r=!0;this.table.rowManager.getDisplayRows().forEach((S,D)=>{this.table.rowManager.styleRow(S,D),e.appendChild(S.getElement()),S.initialize(!0),S.type!=="group"&&(r=!1)}),r?e.style.minWidth=this.table.columnManager.getWidth()+"px":e.style.minWidth=""}}BM.moduleName="groupRows";var lP={cellEdit:function(n){n.component.setValueProcessData(n.data.oldValue),n.component.cellRendered()},rowAdd:function(n){n.component.deleteActual(),this.table.rowManager.checkPlaceholder()},rowDelete:function(n){var e=this.table.rowManager.addRowActual(n.data.data,n.data.pos,n.data.index);this.table.options.groupBy&&this.table.modExists("groupRows")&&this.table.modules.groupRows.updateGroupRows(!0),this._rebindRow(n.component,e),this.table.rowManager.checkPlaceholder()},rowMove:function(n){var e=n.data.posFrom-n.data.posTo>0;this.table.rowManager.moveRowActual(n.component,this.table.rowManager.getRowFromPosition(n.data.posFrom),e),this.table.rowManager.regenerateRowPositions(),this.table.rowManager.reRenderInPosition()}},uP={cellEdit:function(n){n.component.setValueProcessData(n.data.newValue),n.component.cellRendered()},rowAdd:function(n){var e=this.table.rowManager.addRowActual(n.data.data,n.data.pos,n.data.index);this.table.options.groupBy&&this.table.modExists("groupRows")&&this.table.modules.groupRows.updateGroupRows(!0),this._rebindRow(n.component,e),this.table.rowManager.checkPlaceholder()},rowDelete:function(n){n.component.deleteActual(),this.table.rowManager.checkPlaceholder()},rowMove:function(n){this.table.rowManager.moveRowActual(n.component,this.table.rowManager.getRowFromPosition(n.data.posTo),n.data.after),this.table.rowManager.regenerateRowPositions(),this.table.rowManager.reRenderInPosition()}};class Wd extends qi{constructor(e){super(e),this.history=[],this.index=-1,this.registerTableOption("history",!1)}initialize(){this.table.options.history&&(this.subscribe("cell-value-updated",this.cellUpdated.bind(this)),this.subscribe("cell-delete",this.clearComponentHistory.bind(this)),this.subscribe("row-delete",this.rowDeleted.bind(this)),this.subscribe("rows-wipe",this.clear.bind(this)),this.subscribe("row-added",this.rowAdded.bind(this)),this.subscribe("row-move",this.rowMoved.bind(this))),this.registerTableFunction("undo",this.undo.bind(this)),this.registerTableFunction("redo",this.redo.bind(this)),this.registerTableFunction("getHistoryUndoSize",this.getHistoryUndoSize.bind(this)),this.registerTableFunction("getHistoryRedoSize",this.getHistoryRedoSize.bind(this)),this.registerTableFunction("clearHistory",this.clear.bind(this))}rowMoved(e,r,S){this.action("rowMove",e,{posFrom:e.getPosition(),posTo:r.getPosition(),to:r,after:S})}rowAdded(e,r,S,D){this.action("rowAdd",e,{data:r,pos:S,index:D})}rowDeleted(e){var r,S;this.table.options.groupBy?(S=e.getComponent().getGroup()._getSelf().rows,r=S.indexOf(e),r&&(r=S[r-1])):(r=e.table.rowManager.getRowIndex(e),r&&(r=e.table.rowManager.rows[r-1])),this.action("rowDelete",e,{data:e.getData(),pos:!r,index:r})}cellUpdated(e){this.action("cellEdit",e,{oldValue:e.oldValue,newValue:e.value})}clear(){this.history=[],this.index=-1}action(e,r,S){this.history=this.history.slice(0,this.index+1),this.history.push({type:e,component:r,data:S}),this.index++}getHistoryUndoSize(){return this.index+1}getHistoryRedoSize(){return this.history.length-(this.index+1)}clearComponentHistory(e){var r=this.history.findIndex(function(S){return S.component===e});r>-1&&(this.history.splice(r,1),r<=this.index&&this.index--,this.clearComponentHistory(e))}undo(){if(this.index>-1){let e=this.history[this.index];return Wd.undoers[e.type].call(this,e),this.index--,this.dispatchExternal("historyUndo",e.type,e.component.getComponent(),e.data),!0}else return console.warn(this.options("history")?"History Undo Error - No more history to undo":"History module not enabled"),!1}redo(){if(this.history.length-1>this.index){this.index++;let e=this.history[this.index];return Wd.redoers[e.type].call(this,e),this.dispatchExternal("historyRedo",e.type,e.component.getComponent(),e.data),!0}else return console.warn(this.options("history")?"History Redo Error - No more history to redo":"History module not enabled"),!1}_rebindRow(e,r){this.history.forEach(function(S){if(S.component instanceof vl)S.component===e&&(S.component=r);else if(S.component instanceof eg&&S.component.row===e){var D=S.component.column.getField();D&&(S.component=r.getCell(D))}})}}Wd.moduleName="history";Wd.undoers=lP;Wd.redoers=uP;class NM extends qi{constructor(e){super(e),this.fieldIndex=[],this.hasIndex=!1}initialize(){this.tableElementCheck()}tableElementCheck(){this.table.originalElement&&this.table.originalElement.tagName==="TABLE"&&(this.table.originalElement.childNodes.length?this.parseTable():console.warn("Unable to parse data from empty table tag, Tabulator should be initialized on a div tag unless importing data from a table element."))}parseTable(){var e=this.table.originalElement,r=this.table.options,S=e.getElementsByTagName("th"),D=e.getElementsByTagName("tbody")[0],T=[];this.hasIndex=!1,this.dispatchExternal("htmlImporting"),D=D?D.getElementsByTagName("tr"):[],this._extractOptions(e,r),S.length?this._extractHeaders(S,D):this._generateBlankHeaders(S,D);for(var p=0;p{p[i.toLowerCase()]=i});for(var t in D){var d=D[t],g;d&&typeof d=="object"&&d.name&&d.name.indexOf("tabulator-")===0&&(g=d.name.replace("tabulator-",""),typeof p[g]<"u"&&(r[p[g]]=this._attribValue(d.value)))}}_attribValue(e){return e==="true"?!0:e==="false"?!1:e}_findCol(e){var r=this.table.options.columns.find(S=>S.title===e);return r||!1}_extractHeaders(e,r){for(var S=0;S(console.error("Import Error:",p||"Unable to import data"),Promise.reject(p)))}lookupImporter(e){var r;return e||(e=this.table.options.importFormat),typeof e=="string"?r=ng.importers[e]:r=e,r||console.error("Import Error - Importer not found:",e),r}importFromFile(e,r){var S=this.lookupImporter(e);if(S)return this.pickFile(r).then(this.importData.bind(this,S)).then(this.structureData.bind(this)).then(this.setData.bind(this)).catch(D=>(console.error("Import Error:",D||"Unable to import file"),Promise.reject(D)))}pickFile(e){return new Promise((r,S)=>{var D=document.createElement("input");D.type="file",D.accept=e,D.addEventListener("change",T=>{var p=D.files[0],t=new FileReader;switch(this.table.options.importReader){case"buffer":t.readAsArrayBuffer(p);break;case"binary":t.readAsBinaryString(p);break;case"url":t.readAsDataURL(p);break;case"text":default:t.readAsText(p)}t.onload=d=>{r(t.result)},t.onerror=d=>{console.warn("File Load Error - Unable to read file"),S()}}),D.click()})}importData(e,r){var S=e.call(this.table,r);return S instanceof Promise?S:S?Promise.resolve(S):Promise.reject()}structureData(e){var r=[];return Array.isArray(e)&&e.length&&Array.isArray(e[0])?(this.table.options.autoColumns?r=this.structureArrayToObject(e):r=this.structureArrayToColumns(e),r):e}structureArrayToObject(e){var r=e.shift(),S=e.map(D=>{var T={};return r.forEach((p,t)=>{T[p]=D[t]}),T});return S}structureArrayToColumns(e){var r=[],S=this.table.getColumns();return S[0]&&e[0][0]&&S[0].getDefinition().title===e[0][0]&&e.shift(),e.forEach(D=>{var T={};D.forEach((p,t)=>{var d=S[t];d&&(T[d.getField()]=p)}),r.push(T)}),r}setData(e){return this.table.setData(e)}}ng.moduleName="import";ng.importers=dP;class VM extends qi{constructor(e){super(e),this.eventMap={rowClick:"row-click",rowDblClick:"row-dblclick",rowContext:"row-contextmenu",rowMouseEnter:"row-mouseenter",rowMouseLeave:"row-mouseleave",rowMouseOver:"row-mouseover",rowMouseOut:"row-mouseout",rowMouseMove:"row-mousemove",rowMouseDown:"row-mousedown",rowMouseUp:"row-mouseup",rowTap:"row",rowDblTap:"row",rowTapHold:"row",cellClick:"cell-click",cellDblClick:"cell-dblclick",cellContext:"cell-contextmenu",cellMouseEnter:"cell-mouseenter",cellMouseLeave:"cell-mouseleave",cellMouseOver:"cell-mouseover",cellMouseOut:"cell-mouseout",cellMouseMove:"cell-mousemove",cellMouseDown:"cell-mousedown",cellMouseUp:"cell-mouseup",cellTap:"cell",cellDblTap:"cell",cellTapHold:"cell",headerClick:"column-click",headerDblClick:"column-dblclick",headerContext:"column-contextmenu",headerMouseEnter:"column-mouseenter",headerMouseLeave:"column-mouseleave",headerMouseOver:"column-mouseover",headerMouseOut:"column-mouseout",headerMouseMove:"column-mousemove",headerMouseDown:"column-mousedown",headerMouseUp:"column-mouseup",headerTap:"column",headerDblTap:"column",headerTapHold:"column",groupClick:"group-click",groupDblClick:"group-dblclick",groupContext:"group-contextmenu",groupMouseEnter:"group-mouseenter",groupMouseLeave:"group-mouseleave",groupMouseOver:"group-mouseover",groupMouseOut:"group-mouseout",groupMouseMove:"group-mousemove",groupMouseDown:"group-mousedown",groupMouseUp:"group-mouseup",groupTap:"group",groupDblTap:"group",groupTapHold:"group"},this.subscribers={},this.touchSubscribers={},this.columnSubscribers={},this.touchWatchers={row:{tap:null,tapDbl:null,tapHold:null},cell:{tap:null,tapDbl:null,tapHold:null},column:{tap:null,tapDbl:null,tapHold:null},group:{tap:null,tapDbl:null,tapHold:null}},this.registerColumnOption("headerClick"),this.registerColumnOption("headerDblClick"),this.registerColumnOption("headerContext"),this.registerColumnOption("headerMouseEnter"),this.registerColumnOption("headerMouseLeave"),this.registerColumnOption("headerMouseOver"),this.registerColumnOption("headerMouseOut"),this.registerColumnOption("headerMouseMove"),this.registerColumnOption("headerMouseDown"),this.registerColumnOption("headerMouseUp"),this.registerColumnOption("headerTap"),this.registerColumnOption("headerDblTap"),this.registerColumnOption("headerTapHold"),this.registerColumnOption("cellClick"),this.registerColumnOption("cellDblClick"),this.registerColumnOption("cellContext"),this.registerColumnOption("cellMouseEnter"),this.registerColumnOption("cellMouseLeave"),this.registerColumnOption("cellMouseOver"),this.registerColumnOption("cellMouseOut"),this.registerColumnOption("cellMouseMove"),this.registerColumnOption("cellMouseDown"),this.registerColumnOption("cellMouseUp"),this.registerColumnOption("cellTap"),this.registerColumnOption("cellDblTap"),this.registerColumnOption("cellTapHold")}initialize(){this.initializeExternalEvents(),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("cell-dblclick",this.cellContentsSelectionFixer.bind(this)),this.subscribe("scroll-horizontal",this.clearTouchWatchers.bind(this)),this.subscribe("scroll-vertical",this.clearTouchWatchers.bind(this))}clearTouchWatchers(){var e=Object.values(this.touchWatchers);e.forEach(r=>{for(let S in r)r[S]=null})}cellContentsSelectionFixer(e,r){var S;if(!(this.table.modExists("edit")&&this.table.modules.edit.currentCell===r)){e.preventDefault();try{document.selection?(S=document.body.createTextRange(),S.moveToElementText(r.getElement()),S.select()):window.getSelection&&(S=document.createRange(),S.selectNode(r.getElement()),window.getSelection().removeAllRanges(),window.getSelection().addRange(S))}catch{}}}initializeExternalEvents(){for(let e in this.eventMap)this.subscriptionChangeExternal(e,this.subscriptionChanged.bind(this,e))}subscriptionChanged(e,r){r?this.subscribers[e]||(this.eventMap[e].includes("-")?(this.subscribers[e]=this.handle.bind(this,e),this.subscribe(this.eventMap[e],this.subscribers[e])):this.subscribeTouchEvents(e)):this.eventMap[e].includes("-")?this.subscribers[e]&&!this.columnSubscribers[e]&&!this.subscribedExternal(e)&&(this.unsubscribe(this.eventMap[e],this.subscribers[e]),delete this.subscribers[e]):this.unsubscribeTouchEvents(e)}subscribeTouchEvents(e){var r=this.eventMap[e];this.touchSubscribers[r+"-touchstart"]||(this.touchSubscribers[r+"-touchstart"]=this.handleTouch.bind(this,r,"start"),this.touchSubscribers[r+"-touchend"]=this.handleTouch.bind(this,r,"end"),this.subscribe(r+"-touchstart",this.touchSubscribers[r+"-touchstart"]),this.subscribe(r+"-touchend",this.touchSubscribers[r+"-touchend"])),this.subscribers[e]=!0}unsubscribeTouchEvents(e){var r=!0,S=this.eventMap[e];if(this.subscribers[e]&&!this.subscribedExternal(e)){delete this.subscribers[e];for(let D in this.eventMap)this.eventMap[D]===S&&this.subscribers[D]&&(r=!1);r&&(this.unsubscribe(S+"-touchstart",this.touchSubscribers[S+"-touchstart"]),this.unsubscribe(S+"-touchend",this.touchSubscribers[S+"-touchend"]),delete this.touchSubscribers[S+"-touchstart"],delete this.touchSubscribers[S+"-touchend"])}}initializeColumn(e){var r=e.definition;for(let S in this.eventMap)r[S]&&(this.subscriptionChanged(S,!0),this.columnSubscribers[S]||(this.columnSubscribers[S]=[]),this.columnSubscribers[S].push(e))}handle(e,r,S){this.dispatchEvent(e,r,S)}handleTouch(e,r,S,D){var T=this.touchWatchers[e];switch(e==="column"&&(e="header"),r){case"start":T.tap=!0,clearTimeout(T.tapHold),T.tapHold=setTimeout(()=>{clearTimeout(T.tapHold),T.tapHold=null,T.tap=null,clearTimeout(T.tapDbl),T.tapDbl=null,this.dispatchEvent(e+"TapHold",S,D)},1e3);break;case"end":T.tap&&(T.tap=null,this.dispatchEvent(e+"Tap",S,D)),T.tapDbl?(clearTimeout(T.tapDbl),T.tapDbl=null,this.dispatchEvent(e+"DblTap",S,D)):T.tapDbl=setTimeout(()=>{clearTimeout(T.tapDbl),T.tapDbl=null},300),clearTimeout(T.tapHold),T.tapHold=null;break}}dispatchEvent(e,r,S){var D=S.getComponent(),T;this.columnSubscribers[e]&&(S instanceof eg?T=S.column.definition[e]:S instanceof vh&&(T=S.definition[e]),T&&T(r,D)),this.dispatchExternal(e,r,D)}}VM.moduleName="interaction";var pP={navPrev:"shift + 9",navNext:9,navUp:38,navDown:40,navLeft:37,navRight:39,scrollPageUp:33,scrollPageDown:34,scrollToStart:36,scrollToEnd:35,undo:["ctrl + 90","meta + 90"],redo:["ctrl + 89","meta + 89"],copyToClipboard:["ctrl + 67","meta + 67"],rangeJumpUp:["ctrl + 38","meta + 38"],rangeJumpDown:["ctrl + 40","meta + 40"],rangeJumpLeft:["ctrl + 37","meta + 37"],rangeJumpRight:["ctrl + 39","meta + 39"],rangeExpandUp:"shift + 38",rangeExpandDown:"shift + 40",rangeExpandLeft:"shift + 37",rangeExpandRight:"shift + 39",rangeExpandJumpUp:["ctrl + shift + 38","meta + shift + 38"],rangeExpandJumpDown:["ctrl + shift + 40","meta + shift + 40"],rangeExpandJumpLeft:["ctrl + shift + 37","meta + shift + 37"],rangeExpandJumpRight:["ctrl + shift + 39","meta + shift + 39"]},mP={keyBlock:function(n){n.stopPropagation(),n.preventDefault()},scrollPageUp:function(n){var e=this.table.rowManager,r=e.scrollTop-e.element.clientHeight;n.preventDefault(),e.displayRowsCount&&(r>=0?e.element.scrollTop=r:e.scrollToRow(e.getDisplayRows()[0])),this.table.element.focus()},scrollPageDown:function(n){var e=this.table.rowManager,r=e.scrollTop+e.element.clientHeight,S=e.element.scrollHeight;n.preventDefault(),e.displayRowsCount&&(r<=S?e.element.scrollTop=r:e.scrollToRow(e.getDisplayRows()[e.displayRowsCount-1])),this.table.element.focus()},scrollToStart:function(n){var e=this.table.rowManager;n.preventDefault(),e.displayRowsCount&&e.scrollToRow(e.getDisplayRows()[0]),this.table.element.focus()},scrollToEnd:function(n){var e=this.table.rowManager;n.preventDefault(),e.displayRowsCount&&e.scrollToRow(e.getDisplayRows()[e.displayRowsCount-1]),this.table.element.focus()},navPrev:function(n){this.dispatch("keybinding-nav-prev",n)},navNext:function(n){this.dispatch("keybinding-nav-next",n)},navLeft:function(n){this.dispatch("keybinding-nav-left",n)},navRight:function(n){this.dispatch("keybinding-nav-right",n)},navUp:function(n){this.dispatch("keybinding-nav-up",n)},navDown:function(n){this.dispatch("keybinding-nav-down",n)},rangeJumpLeft:function(n){this.dispatch("keybinding-nav-range",n,"left",!0,!1)},rangeJumpRight:function(n){this.dispatch("keybinding-nav-range",n,"right",!0,!1)},rangeJumpUp:function(n){this.dispatch("keybinding-nav-range",n,"up",!0,!1)},rangeJumpDown:function(n){this.dispatch("keybinding-nav-range",n,"down",!0,!1)},rangeExpandLeft:function(n){this.dispatch("keybinding-nav-range",n,"left",!1,!0)},rangeExpandRight:function(n){this.dispatch("keybinding-nav-range",n,"right",!1,!0)},rangeExpandUp:function(n){this.dispatch("keybinding-nav-range",n,"up",!1,!0)},rangeExpandDown:function(n){this.dispatch("keybinding-nav-range",n,"down",!1,!0)},rangeExpandJumpLeft:function(n){this.dispatch("keybinding-nav-range",n,"left",!0,!0)},rangeExpandJumpRight:function(n){this.dispatch("keybinding-nav-range",n,"right",!0,!0)},rangeExpandJumpUp:function(n){this.dispatch("keybinding-nav-range",n,"up",!0,!0)},rangeExpandJumpDown:function(n){this.dispatch("keybinding-nav-range",n,"down",!0,!0)},undo:function(n){var e=!1;this.table.options.history&&this.table.modExists("history")&&this.table.modExists("edit")&&(e=this.table.modules.edit.currentCell,e||(n.preventDefault(),this.table.modules.history.undo()))},redo:function(n){var e=!1;this.table.options.history&&this.table.modExists("history")&&this.table.modExists("edit")&&(e=this.table.modules.edit.currentCell,e||(n.preventDefault(),this.table.modules.history.redo()))},copyToClipboard:function(n){this.table.modules.edit.currentCell||this.table.modExists("clipboard",!0)&&this.table.modules.clipboard.copy(!1,!0)}};class Vf extends qi{constructor(e){super(e),this.watchKeys=null,this.pressedKeys=null,this.keyupBinding=!1,this.keydownBinding=!1,this.registerTableOption("keybindings",{}),this.registerTableOption("tabEndNewRow",!1)}initialize(){var e=this.table.options.keybindings,r={};this.watchKeys={},this.pressedKeys=[],e!==!1&&(Object.assign(r,Vf.bindings),Object.assign(r,e),this.mapBindings(r),this.bindEvents()),this.subscribe("table-destroy",this.clearBindings.bind(this))}mapBindings(e){for(let r in e)Vf.actions[r]?e[r]&&(typeof e[r]!="object"&&(e[r]=[e[r]]),e[r].forEach(S=>{var D=Array.isArray(S)?S:[S];D.forEach(T=>{this.mapBinding(r,T)})})):console.warn("Key Binding Error - no such action:",r)}mapBinding(e,r){var S={action:Vf.actions[e],keys:[],ctrl:!1,shift:!1,meta:!1},D=r.toString().toLowerCase().split(" ").join("").split("+");D.forEach(T=>{switch(T){case"ctrl":S.ctrl=!0;break;case"shift":S.shift=!0;break;case"meta":S.meta=!0;break;default:T=isNaN(T)?T.toUpperCase().charCodeAt(0):parseInt(T),S.keys.push(T),this.watchKeys[T]||(this.watchKeys[T]=[]),this.watchKeys[T].push(S)}})}bindEvents(){var e=this;this.keyupBinding=function(r){var S=r.keyCode,D=e.watchKeys[S];D&&(e.pressedKeys.push(S),D.forEach(function(T){e.checkBinding(r,T)}))},this.keydownBinding=function(r){var S=r.keyCode,D=e.watchKeys[S];if(D){var T=e.pressedKeys.indexOf(S);T>-1&&e.pressedKeys.splice(T,1)}},this.table.element.addEventListener("keydown",this.keyupBinding),this.table.element.addEventListener("keyup",this.keydownBinding)}clearBindings(){this.keyupBinding&&this.table.element.removeEventListener("keydown",this.keyupBinding),this.keydownBinding&&this.table.element.removeEventListener("keyup",this.keydownBinding)}checkBinding(e,r){var S=!0;return e.ctrlKey==r.ctrl&&e.shiftKey==r.shift&&e.metaKey==r.meta?(r.keys.forEach(D=>{var T=this.pressedKeys.indexOf(D);T==-1&&(S=!1)}),S&&r.action.call(this,e),!0):!1}}Vf.moduleName="keybindings";Vf.bindings=pP;Vf.actions=mP;class jM extends qi{constructor(e){super(e),this.menuContainer=null,this.nestedMenuBlock=!1,this.currentComponent=null,this.rootPopup=null,this.columnSubscribers={},this.registerTableOption("menuContainer",void 0),this.registerTableOption("rowContextMenu",!1),this.registerTableOption("rowClickMenu",!1),this.registerTableOption("rowDblClickMenu",!1),this.registerTableOption("groupContextMenu",!1),this.registerTableOption("groupClickMenu",!1),this.registerTableOption("groupDblClickMenu",!1),this.registerColumnOption("headerContextMenu"),this.registerColumnOption("headerClickMenu"),this.registerColumnOption("headerDblClickMenu"),this.registerColumnOption("headerMenu"),this.registerColumnOption("headerMenuIcon"),this.registerColumnOption("contextMenu"),this.registerColumnOption("clickMenu"),this.registerColumnOption("dblClickMenu")}initialize(){this.deprecatedOptionsCheck(),this.initializeRowWatchers(),this.initializeGroupWatchers(),this.subscribe("column-init",this.initializeColumn.bind(this))}deprecatedOptionsCheck(){this.deprecationCheck("menuContainer","popupContainer")||(this.table.options.popupContainer=this.table.options.menuContainer)}initializeRowWatchers(){this.table.options.rowContextMenu&&(this.subscribe("row-contextmenu",this.loadMenuEvent.bind(this,this.table.options.rowContextMenu)),this.table.on("rowTapHold",this.loadMenuEvent.bind(this,this.table.options.rowContextMenu))),this.table.options.rowClickMenu&&this.subscribe("row-click",this.loadMenuEvent.bind(this,this.table.options.rowClickMenu)),this.table.options.rowDblClickMenu&&this.subscribe("row-dblclick",this.loadMenuEvent.bind(this,this.table.options.rowDblClickMenu))}initializeGroupWatchers(){this.table.options.groupContextMenu&&(this.subscribe("group-contextmenu",this.loadMenuEvent.bind(this,this.table.options.groupContextMenu)),this.table.on("groupTapHold",this.loadMenuEvent.bind(this,this.table.options.groupContextMenu))),this.table.options.groupClickMenu&&this.subscribe("group-click",this.loadMenuEvent.bind(this,this.table.options.groupClickMenu)),this.table.options.groupDblClickMenu&&this.subscribe("group-dblclick",this.loadMenuEvent.bind(this,this.table.options.groupDblClickMenu))}initializeColumn(e){var r=e.definition;r.headerContextMenu&&!this.columnSubscribers.headerContextMenu&&(this.columnSubscribers.headerContextMenu=this.loadMenuTableColumnEvent.bind(this,"headerContextMenu"),this.subscribe("column-contextmenu",this.columnSubscribers.headerContextMenu),this.table.on("headerTapHold",this.loadMenuTableColumnEvent.bind(this,"headerContextMenu"))),r.headerClickMenu&&!this.columnSubscribers.headerClickMenu&&(this.columnSubscribers.headerClickMenu=this.loadMenuTableColumnEvent.bind(this,"headerClickMenu"),this.subscribe("column-click",this.columnSubscribers.headerClickMenu)),r.headerDblClickMenu&&!this.columnSubscribers.headerDblClickMenu&&(this.columnSubscribers.headerDblClickMenu=this.loadMenuTableColumnEvent.bind(this,"headerDblClickMenu"),this.subscribe("column-dblclick",this.columnSubscribers.headerDblClickMenu)),r.headerMenu&&this.initializeColumnHeaderMenu(e),r.contextMenu&&!this.columnSubscribers.contextMenu&&(this.columnSubscribers.contextMenu=this.loadMenuTableCellEvent.bind(this,"contextMenu"),this.subscribe("cell-contextmenu",this.columnSubscribers.contextMenu),this.table.on("cellTapHold",this.loadMenuTableCellEvent.bind(this,"contextMenu"))),r.clickMenu&&!this.columnSubscribers.clickMenu&&(this.columnSubscribers.clickMenu=this.loadMenuTableCellEvent.bind(this,"clickMenu"),this.subscribe("cell-click",this.columnSubscribers.clickMenu)),r.dblClickMenu&&!this.columnSubscribers.dblClickMenu&&(this.columnSubscribers.dblClickMenu=this.loadMenuTableCellEvent.bind(this,"dblClickMenu"),this.subscribe("cell-dblclick",this.columnSubscribers.dblClickMenu))}initializeColumnHeaderMenu(e){var r=e.definition.headerMenuIcon,S;S=document.createElement("span"),S.classList.add("tabulator-header-popup-button"),r?(typeof r=="function"&&(r=r(e.getComponent())),r instanceof HTMLElement?S.appendChild(r):S.innerHTML=r):S.innerHTML="⋮",S.addEventListener("click",D=>{D.stopPropagation(),D.preventDefault(),this.loadMenuEvent(e.definition.headerMenu,D,e)}),e.titleElement.insertBefore(S,e.titleElement.firstChild)}loadMenuTableCellEvent(e,r,S){S._cell&&(S=S._cell),S.column.definition[e]&&this.loadMenuEvent(S.column.definition[e],r,S)}loadMenuTableColumnEvent(e,r,S){S._column&&(S=S._column),S.definition[e]&&this.loadMenuEvent(S.definition[e],r,S)}loadMenuEvent(e,r,S){S._group?S=S._group:S._row&&(S=S._row),e=typeof e=="function"?e.call(this.table,r,S.getComponent()):e,this.loadMenu(r,S,e)}loadMenu(e,r,S,D,T){var p=!(e instanceof MouseEvent),t=document.createElement("div"),d;if(t.classList.add("tabulator-menu"),p||e.preventDefault(),!(!S||!S.length)){if(D)d=T.child(t);else{if(this.nestedMenuBlock){if(this.rootPopup)return}else this.nestedMenuBlock=setTimeout(()=>{this.nestedMenuBlock=!1},100);this.rootPopup&&this.rootPopup.hide(),this.rootPopup=d=this.popup(t)}S.forEach(g=>{var i=document.createElement("div"),M=g.label,v=g.disabled;g.separator?i.classList.add("tabulator-menu-separator"):(i.classList.add("tabulator-menu-item"),typeof M=="function"&&(M=M.call(this.table,r.getComponent())),M instanceof Node?i.appendChild(M):i.innerHTML=M,typeof v=="function"&&(v=v.call(this.table,r.getComponent())),v?(i.classList.add("tabulator-menu-item-disabled"),i.addEventListener("click",f=>{f.stopPropagation()})):g.menu&&g.menu.length?i.addEventListener("click",f=>{f.stopPropagation(),this.loadMenu(f,r,g.menu,i,d)}):g.action&&i.addEventListener("click",f=>{g.action(f,r.getComponent())}),g.menu&&g.menu.length&&i.classList.add("tabulator-menu-item-submenu")),t.appendChild(i)}),t.addEventListener("click",g=>{this.rootPopup&&this.rootPopup.hide()}),d.show(D||e),d===this.rootPopup&&(this.rootPopup.hideOnBlur(()=>{this.rootPopup=null,this.currentComponent&&(this.dispatch("menu-closed",S,d),this.dispatchExternal("menuClosed",this.currentComponent.getComponent()),this.currentComponent=null)}),this.currentComponent=r,this.dispatch("menu-opened",S,d),this.dispatchExternal("menuOpened",r.getComponent()))}}}jM.moduleName="menu";class UM extends qi{constructor(e){super(e),this.placeholderElement=this.createPlaceholderElement(),this.hoverElement=!1,this.checkTimeout=!1,this.checkPeriod=250,this.moving=!1,this.toCol=!1,this.toColAfter=!1,this.startX=0,this.autoScrollMargin=40,this.autoScrollStep=5,this.autoScrollTimeout=!1,this.touchMove=!1,this.moveHover=this.moveHover.bind(this),this.endMove=this.endMove.bind(this),this.registerTableOption("movableColumns",!1)}createPlaceholderElement(){var e=document.createElement("div");return e.classList.add("tabulator-col"),e.classList.add("tabulator-col-placeholder"),e}initialize(){this.table.options.movableColumns&&(this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("alert-show",this.abortMove.bind(this)))}abortMove(){clearTimeout(this.checkTimeout)}initializeColumn(e){var r=this,S={},D;!e.modules.frozen&&!e.isGroup&&(D=e.getElement(),S.mousemove=(function(T){e.parent===r.moving.parent&&((r.touchMove?T.touches[0].pageX:T.pageX)-so.elOffset(D).left+r.table.columnManager.contentsElement.scrollLeft>e.getWidth()/2?(r.toCol!==e||!r.toColAfter)&&(D.parentNode.insertBefore(r.placeholderElement,D.nextSibling),r.moveColumn(e,!0)):(r.toCol!==e||r.toColAfter)&&(D.parentNode.insertBefore(r.placeholderElement,D),r.moveColumn(e,!1)))}).bind(r),D.addEventListener("mousedown",function(T){r.touchMove=!1,T.which===1&&(r.checkTimeout=setTimeout(function(){r.startMove(T,e)},r.checkPeriod))}),D.addEventListener("mouseup",function(T){T.which===1&&r.checkTimeout&&clearTimeout(r.checkTimeout)}),r.bindTouchEvents(e)),e.modules.moveColumn=S}bindTouchEvents(e){var r=e.getElement(),S=!1,D,T,p,t,d,g;r.addEventListener("touchstart",i=>{this.checkTimeout=setTimeout(()=>{this.touchMove=!0,D=e.nextColumn(),p=D?D.getWidth()/2:0,T=e.prevColumn(),t=T?T.getWidth()/2:0,d=0,g=0,S=!1,this.startMove(i,e)},this.checkPeriod)},{passive:!0}),r.addEventListener("touchmove",i=>{var M,v;this.moving&&(this.moveHover(i),S||(S=i.touches[0].pageX),M=i.touches[0].pageX-S,M>0?D&&M-d>p&&(v=D,v!==e&&(S=i.touches[0].pageX,v.getElement().parentNode.insertBefore(this.placeholderElement,v.getElement().nextSibling),this.moveColumn(v,!0))):T&&-M-g>t&&(v=T,v!==e&&(S=i.touches[0].pageX,v.getElement().parentNode.insertBefore(this.placeholderElement,v.getElement()),this.moveColumn(v,!1))),v&&(D=v.nextColumn(),d=p,p=D?D.getWidth()/2:0,T=v.prevColumn(),g=t,t=T?T.getWidth()/2:0))},{passive:!0}),r.addEventListener("touchend",i=>{this.checkTimeout&&clearTimeout(this.checkTimeout),this.moving&&this.endMove(i)})}startMove(e,r){var S=r.getElement(),D=this.table.columnManager.getContentsElement(),T=this.table.columnManager.getHeadersElement();this.moving=r,this.startX=(this.touchMove?e.touches[0].pageX:e.pageX)-so.elOffset(S).left,this.table.element.classList.add("tabulator-block-select"),this.placeholderElement.style.width=r.getWidth()+"px",this.placeholderElement.style.height=r.getHeight()+"px",S.parentNode.insertBefore(this.placeholderElement,S),S.parentNode.removeChild(S),this.hoverElement=S.cloneNode(!0),this.hoverElement.classList.add("tabulator-moving"),D.appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.bottom=D.clientHeight-T.offsetHeight+"px",this.touchMove||(this._bindMouseMove(),document.body.addEventListener("mousemove",this.moveHover),document.body.addEventListener("mouseup",this.endMove)),this.moveHover(e)}_bindMouseMove(){this.table.columnManager.columnsByIndex.forEach(function(e){e.modules.moveColumn.mousemove&&e.getElement().addEventListener("mousemove",e.modules.moveColumn.mousemove)})}_unbindMouseMove(){this.table.columnManager.columnsByIndex.forEach(function(e){e.modules.moveColumn.mousemove&&e.getElement().removeEventListener("mousemove",e.modules.moveColumn.mousemove)})}moveColumn(e,r){var S=this.moving.getCells();this.toCol=e,this.toColAfter=r,r?e.getCells().forEach(function(D,T){var p=D.getElement(!0);p.parentNode&&S[T]&&p.parentNode.insertBefore(S[T].getElement(),p.nextSibling)}):e.getCells().forEach(function(D,T){var p=D.getElement(!0);p.parentNode&&S[T]&&p.parentNode.insertBefore(S[T].getElement(),p)})}endMove(e){(e.which===1||this.touchMove)&&(this._unbindMouseMove(),this.placeholderElement.parentNode.insertBefore(this.moving.getElement(),this.placeholderElement.nextSibling),this.placeholderElement.parentNode.removeChild(this.placeholderElement),this.hoverElement.parentNode.removeChild(this.hoverElement),this.table.element.classList.remove("tabulator-block-select"),this.toCol&&this.table.columnManager.moveColumnActual(this.moving,this.toCol,this.toColAfter),this.moving=!1,this.toCol=!1,this.toColAfter=!1,this.touchMove||(document.body.removeEventListener("mousemove",this.moveHover),document.body.removeEventListener("mouseup",this.endMove)))}moveHover(e){var r=this.table.columnManager.getContentsElement(),S=r.scrollLeft,D=(this.touchMove?e.touches[0].pageX:e.pageX)-so.elOffset(r).left+S,T;this.hoverElement.style.left=D-this.startX+"px",D-S{T=Math.max(0,S-5),this.table.rowManager.getElement().scrollLeft=T,this.autoScrollTimeout=!1},1))),S+r.clientWidth-D{T=Math.min(r.clientWidth,S+5),this.table.rowManager.getElement().scrollLeft=T,this.autoScrollTimeout=!1},1)))}}UM.moduleName="moveColumn";class $y extends qi{constructor(e){super(e),this.placeholderElement=this.createPlaceholderElement(),this.hoverElement=!1,this.checkTimeout=!1,this.checkPeriod=150,this.moving=!1,this.toRow=!1,this.toRowAfter=!1,this.hasHandle=!1,this.startY=0,this.startX=0,this.moveHover=this.moveHover.bind(this),this.endMove=this.endMove.bind(this),this.tableRowDropEvent=!1,this.touchMove=!1,this.connection=!1,this.connectionSelectorsTables=!1,this.connectionSelectorsElements=!1,this.connectionElements=[],this.connections=[],this.connectedTable=!1,this.connectedRow=!1,this.registerTableOption("movableRows",!1),this.registerTableOption("movableRowsConnectedTables",!1),this.registerTableOption("movableRowsConnectedElements",!1),this.registerTableOption("movableRowsSender",!1),this.registerTableOption("movableRowsReceiver","insert"),this.registerColumnOption("rowHandle")}createPlaceholderElement(){var e=document.createElement("div");return e.classList.add("tabulator-row"),e.classList.add("tabulator-row-placeholder"),e}initialize(){this.table.options.movableRows&&(this.connectionSelectorsTables=this.table.options.movableRowsConnectedTables,this.connectionSelectorsElements=this.table.options.movableRowsConnectedElements,this.connection=this.connectionSelectorsTables||this.connectionSelectorsElements,this.subscribe("cell-init",this.initializeCell.bind(this)),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("row-init",this.initializeRow.bind(this)))}initializeGroupHeader(e){var r=this,S={};S.mouseup=(function(D){r.tableRowDrop(D,e)}).bind(r),S.mousemove=(function(D){var T;D.pageY-so.elOffset(e.element).top+r.table.rowManager.element.scrollTop>e.getHeight()/2?(r.toRow!==e||!r.toRowAfter)&&(T=e.getElement(),T.parentNode.insertBefore(r.placeholderElement,T.nextSibling),r.moveRow(e,!0)):(r.toRow!==e||r.toRowAfter)&&(T=e.getElement(),T.previousSibling&&(T.parentNode.insertBefore(r.placeholderElement,T),r.moveRow(e,!1)))}).bind(r),e.modules.moveRow=S}initializeRow(e){var r=this,S={},D;S.mouseup=(function(T){r.tableRowDrop(T,e)}).bind(r),S.mousemove=(function(T){var p=e.getElement();T.pageY-so.elOffset(p).top+r.table.rowManager.element.scrollTop>e.getHeight()/2?(r.toRow!==e||!r.toRowAfter)&&(p.parentNode.insertBefore(r.placeholderElement,p.nextSibling),r.moveRow(e,!0)):(r.toRow!==e||r.toRowAfter)&&(p.parentNode.insertBefore(r.placeholderElement,p),r.moveRow(e,!1))}).bind(r),this.hasHandle||(D=e.getElement(),D.addEventListener("mousedown",function(T){T.which===1&&(r.checkTimeout=setTimeout(function(){r.startMove(T,e)},r.checkPeriod))}),D.addEventListener("mouseup",function(T){T.which===1&&r.checkTimeout&&clearTimeout(r.checkTimeout)}),this.bindTouchEvents(e,e.getElement())),e.modules.moveRow=S}initializeColumn(e){e.definition.rowHandle&&this.table.options.movableRows!==!1&&(this.hasHandle=!0)}initializeCell(e){if(e.column.definition.rowHandle&&this.table.options.movableRows!==!1){var r=this,S=e.getElement(!0);S.addEventListener("mousedown",function(D){D.which===1&&(r.checkTimeout=setTimeout(function(){r.startMove(D,e.row)},r.checkPeriod))}),S.addEventListener("mouseup",function(D){D.which===1&&r.checkTimeout&&clearTimeout(r.checkTimeout)}),this.bindTouchEvents(e.row,S)}}bindTouchEvents(e,r){var S=!1,D,T,p,t,d,g;r.addEventListener("touchstart",i=>{this.checkTimeout=setTimeout(()=>{this.touchMove=!0,D=e.nextRow(),p=D?D.getHeight()/2:0,T=e.prevRow(),t=T?T.getHeight()/2:0,d=0,g=0,S=!1,this.startMove(i,e)},this.checkPeriod)},{passive:!0}),this.moving,this.toRow,this.toRowAfter,r.addEventListener("touchmove",i=>{var M,v;this.moving&&(i.preventDefault(),this.moveHover(i),S||(S=i.touches[0].pageY),M=i.touches[0].pageY-S,M>0?D&&M-d>p&&(v=D,v!==e&&(S=i.touches[0].pageY,v.getElement().parentNode.insertBefore(this.placeholderElement,v.getElement().nextSibling),this.moveRow(v,!0))):T&&-M-g>t&&(v=T,v!==e&&(S=i.touches[0].pageY,v.getElement().parentNode.insertBefore(this.placeholderElement,v.getElement()),this.moveRow(v,!1))),v&&(D=v.nextRow(),d=p,p=D?D.getHeight()/2:0,T=v.prevRow(),g=t,t=T?T.getHeight()/2:0))}),r.addEventListener("touchend",i=>{this.checkTimeout&&clearTimeout(this.checkTimeout),this.moving&&(this.endMove(i),this.touchMove=!1)})}_bindMouseMove(){this.table.rowManager.getDisplayRows().forEach(e=>{(e.type==="row"||e.type==="group")&&e.modules.moveRow&&e.modules.moveRow.mousemove&&e.getElement().addEventListener("mousemove",e.modules.moveRow.mousemove)})}_unbindMouseMove(){this.table.rowManager.getDisplayRows().forEach(e=>{(e.type==="row"||e.type==="group")&&e.modules.moveRow&&e.modules.moveRow.mousemove&&e.getElement().removeEventListener("mousemove",e.modules.moveRow.mousemove)})}startMove(e,r){var S=r.getElement();this.setStartPosition(e,r),this.moving=r,this.table.element.classList.add("tabulator-block-select"),this.placeholderElement.style.width=r.getWidth()+"px",this.placeholderElement.style.height=r.getHeight()+"px",this.connection?(this.table.element.classList.add("tabulator-movingrow-sending"),this.connectToTables(r)):(S.parentNode.insertBefore(this.placeholderElement,S),S.parentNode.removeChild(S)),this.hoverElement=S.cloneNode(!0),this.hoverElement.classList.add("tabulator-moving"),this.connection?(document.body.appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.top="0",this.hoverElement.style.width=this.table.element.clientWidth+"px",this.hoverElement.style.whiteSpace="nowrap",this.hoverElement.style.overflow="hidden",this.hoverElement.style.pointerEvents="none"):(this.table.rowManager.getTableElement().appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.top="0",this._bindMouseMove()),document.body.addEventListener("mousemove",this.moveHover),document.body.addEventListener("mouseup",this.endMove),this.dispatchExternal("rowMoving",r.getComponent()),this.moveHover(e)}setStartPosition(e,r){var S=this.touchMove?e.touches[0].pageX:e.pageX,D=this.touchMove?e.touches[0].pageY:e.pageY,T,p;T=r.getElement(),this.connection?(p=T.getBoundingClientRect(),this.startX=p.left-S+window.pageXOffset,this.startY=p.top-D+window.pageYOffset):this.startY=D-T.getBoundingClientRect().top}endMove(e){(!e||e.which===1||this.touchMove)&&(this._unbindMouseMove(),this.connection||(this.placeholderElement.parentNode.insertBefore(this.moving.getElement(),this.placeholderElement.nextSibling),this.placeholderElement.parentNode.removeChild(this.placeholderElement)),this.hoverElement.parentNode.removeChild(this.hoverElement),this.table.element.classList.remove("tabulator-block-select"),this.toRow?this.table.rowManager.moveRow(this.moving,this.toRow,this.toRowAfter):this.dispatchExternal("rowMoveCancelled",this.moving.getComponent()),this.moving=!1,this.toRow=!1,this.toRowAfter=!1,document.body.removeEventListener("mousemove",this.moveHover),document.body.removeEventListener("mouseup",this.endMove),this.connection&&(this.table.element.classList.remove("tabulator-movingrow-sending"),this.disconnectFromTables()))}moveRow(e,r){this.toRow=e,this.toRowAfter=r}moveHover(e){this.connection?this.moveHoverConnections.call(this,e):this.moveHoverTable.call(this,e)}moveHoverTable(e){var r=this.table.rowManager.getElement(),S=r.scrollTop,D=(this.touchMove?e.touches[0].pageY:e.pageY)-r.getBoundingClientRect().top+S;this.hoverElement.style.top=Math.min(D-this.startY,this.table.rowManager.element.scrollHeight-this.hoverElement.offsetHeight)+"px"}moveHoverConnections(e){this.hoverElement.style.left=this.startX+(this.touchMove?e.touches[0].pageX:e.pageX)+"px",this.hoverElement.style.top=this.startY+(this.touchMove?e.touches[0].pageY:e.pageY)+"px"}elementRowDrop(e,r,S){this.dispatchExternal("movableRowsElementDrop",e,r,S?S.getComponent():!1)}connectToTables(e){var r;this.connectionSelectorsTables&&(r=this.commsConnections(this.connectionSelectorsTables),this.dispatchExternal("movableRowsSendingStart",r),this.commsSend(this.connectionSelectorsTables,"moveRow","connect",{row:e})),this.connectionSelectorsElements&&(this.connectionElements=[],Array.isArray(this.connectionSelectorsElements)||(this.connectionSelectorsElements=[this.connectionSelectorsElements]),this.connectionSelectorsElements.forEach(S=>{typeof S=="string"?this.connectionElements=this.connectionElements.concat(Array.prototype.slice.call(document.querySelectorAll(S))):this.connectionElements.push(S)}),this.connectionElements.forEach(S=>{var D=T=>{this.elementRowDrop(T,S,this.moving)};S.addEventListener("mouseup",D),S.tabulatorElementDropEvent=D,S.classList.add("tabulator-movingrow-receiving")}))}disconnectFromTables(){var e;this.connectionSelectorsTables&&(e=this.commsConnections(this.connectionSelectorsTables),this.dispatchExternal("movableRowsSendingStop",e),this.commsSend(this.connectionSelectorsTables,"moveRow","disconnect")),this.connectionElements.forEach(r=>{r.classList.remove("tabulator-movingrow-receiving"),r.removeEventListener("mouseup",r.tabulatorElementDropEvent),delete r.tabulatorElementDropEvent})}connect(e,r){return this.connectedTable?(console.warn("Move Row Error - Table cannot accept connection, already connected to table:",this.connectedTable),!1):(this.connectedTable=e,this.connectedRow=r,this.table.element.classList.add("tabulator-movingrow-receiving"),this.table.rowManager.getDisplayRows().forEach(S=>{S.type==="row"&&S.modules.moveRow&&S.modules.moveRow.mouseup&&S.getElement().addEventListener("mouseup",S.modules.moveRow.mouseup)}),this.tableRowDropEvent=this.tableRowDrop.bind(this),this.table.element.addEventListener("mouseup",this.tableRowDropEvent),this.dispatchExternal("movableRowsReceivingStart",r,e),!0)}disconnect(e){e===this.connectedTable?(this.connectedTable=!1,this.connectedRow=!1,this.table.element.classList.remove("tabulator-movingrow-receiving"),this.table.rowManager.getDisplayRows().forEach(r=>{r.type==="row"&&r.modules.moveRow&&r.modules.moveRow.mouseup&&r.getElement().removeEventListener("mouseup",r.modules.moveRow.mouseup)}),this.table.element.removeEventListener("mouseup",this.tableRowDropEvent),this.dispatchExternal("movableRowsReceivingStop",e)):console.warn("Move Row Error - trying to disconnect from non connected table")}dropComplete(e,r,S){var D=!1;if(S){switch(typeof this.table.options.movableRowsSender){case"string":D=this.senders[this.table.options.movableRowsSender];break;case"function":D=this.table.options.movableRowsSender;break}D?D.call(this,this.moving?this.moving.getComponent():void 0,r?r.getComponent():void 0,e):this.table.options.movableRowsSender&&console.warn("Mover Row Error - no matching sender found:",this.table.options.movableRowsSender),this.dispatchExternal("movableRowsSent",this.moving.getComponent(),r?r.getComponent():void 0,e)}else this.dispatchExternal("movableRowsSentFailed",this.moving.getComponent(),r?r.getComponent():void 0,e);this.endMove()}tableRowDrop(e,r){var S=!1,D=!1;switch(e.stopImmediatePropagation(),typeof this.table.options.movableRowsReceiver){case"string":S=this.receivers[this.table.options.movableRowsReceiver];break;case"function":S=this.table.options.movableRowsReceiver;break}S?D=S.call(this,this.connectedRow.getComponent(),r?r.getComponent():void 0,this.connectedTable):console.warn("Mover Row Error - no matching receiver found:",this.table.options.movableRowsReceiver),D?this.dispatchExternal("movableRowsReceived",this.connectedRow.getComponent(),r?r.getComponent():void 0,this.connectedTable):this.dispatchExternal("movableRowsReceivedFailed",this.connectedRow.getComponent(),r?r.getComponent():void 0,this.connectedTable),this.commsSend(this.connectedTable,"moveRow","dropcomplete",{row:r,success:D})}commsReceived(e,r,S){switch(r){case"connect":return this.connect(e,S.row);case"disconnect":return this.disconnect(e);case"dropcomplete":return this.dropComplete(e,S.row,S.success)}}}$y.prototype.receivers={insert:function(n,e,r){return this.table.addRow(n.getData(),void 0,e),!0},add:function(n,e,r){return this.table.addRow(n.getData()),!0},update:function(n,e,r){return e?(e.update(n.getData()),!0):!1},replace:function(n,e,r){return e?(this.table.addRow(n.getData(),void 0,e),e.delete(),!0):!1}};$y.prototype.senders={delete:function(n,e,r){n.delete()}};$y.moduleName="moveRow";var gP={};class o0 extends qi{constructor(e){super(e),this.allowedTypes=["","data","edit","clipboard"],this.enabled=!0,this.registerColumnOption("mutator"),this.registerColumnOption("mutatorParams"),this.registerColumnOption("mutatorData"),this.registerColumnOption("mutatorDataParams"),this.registerColumnOption("mutatorEdit"),this.registerColumnOption("mutatorEditParams"),this.registerColumnOption("mutatorClipboard"),this.registerColumnOption("mutatorClipboardParams"),this.registerColumnOption("mutateLink")}initialize(){this.subscribe("cell-value-changing",this.transformCell.bind(this)),this.subscribe("cell-value-changed",this.mutateLink.bind(this)),this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("row-data-init-before",this.rowDataChanged.bind(this)),this.subscribe("row-data-changing",this.rowDataChanged.bind(this))}rowDataChanged(e,r,S){return this.transformRow(r,"data",S)}initializeColumn(e){var r=!1,S={};this.allowedTypes.forEach(D=>{var T="mutator"+(D.charAt(0).toUpperCase()+D.slice(1)),p;e.definition[T]&&(p=this.lookupMutator(e.definition[T]),p&&(r=!0,S[T]={mutator:p,params:e.definition[T+"Params"]||{}}))}),r&&(e.modules.mutate=S)}lookupMutator(e){var r=!1;switch(typeof e){case"string":o0.mutators[e]?r=o0.mutators[e]:console.warn("Mutator Error - No such mutator found, ignoring: ",e);break;case"function":r=e;break}return r}transformRow(e,r,S){var D="mutator"+(r.charAt(0).toUpperCase()+r.slice(1)),T;return this.enabled&&this.table.columnManager.traverse(p=>{var t,d,g;p.modules.mutate&&(t=p.modules.mutate[D]||p.modules.mutate.mutator||!1,t&&(T=p.getFieldValue(typeof S<"u"?S:e),(r=="data"&&!S||typeof T<"u")&&(g=p.getComponent(),d=typeof t.params=="function"?t.params(T,e,r,g):t.params,p.setFieldValue(e,t.mutator(T,e,r,d,g)))))}),e}transformCell(e,r){if(e.column.modules.mutate){var S=e.column.modules.mutate.mutatorEdit||e.column.modules.mutate.mutator||!1,D={};if(S)return D=Object.assign(D,e.row.getData()),e.column.setFieldValue(D,r),S.mutator(r,D,"edit",S.params,e.getComponent())}return r}mutateLink(e){var r=e.column.definition.mutateLink;r&&(Array.isArray(r)||(r=[r]),r.forEach(S=>{var D=e.row.getCell(S);D&&D.setValue(D.getValue(),!0,!0)}))}enable(){this.enabled=!0}disable(){this.enabled=!1}}o0.moduleName="mutator";o0.mutators=gP;function vP(n,e,r,S,D){var T=document.createElement("span"),p=document.createElement("span"),t=document.createElement("span"),d=document.createElement("span"),g=document.createElement("span"),i=document.createElement("span");return this.table.modules.localize.langBind("pagination|counter|showing",M=>{p.innerHTML=M}),this.table.modules.localize.langBind("pagination|counter|of",M=>{d.innerHTML=M}),this.table.modules.localize.langBind("pagination|counter|rows",M=>{i.innerHTML=M}),S?(t.innerHTML=" "+e+"-"+Math.min(e+n-1,S)+" ",g.innerHTML=" "+S+" ",T.appendChild(p),T.appendChild(t),T.appendChild(d),T.appendChild(g),T.appendChild(i)):(t.innerHTML=" 0 ",T.appendChild(p),T.appendChild(t),T.appendChild(i)),T}function yP(n,e,r,S,D){var T=document.createElement("span"),p=document.createElement("span"),t=document.createElement("span"),d=document.createElement("span"),g=document.createElement("span"),i=document.createElement("span");return this.table.modules.localize.langBind("pagination|counter|showing",M=>{p.innerHTML=M}),t.innerHTML=" "+r+" ",this.table.modules.localize.langBind("pagination|counter|of",M=>{d.innerHTML=M}),g.innerHTML=" "+D+" ",this.table.modules.localize.langBind("pagination|counter|pages",M=>{i.innerHTML=M}),T.appendChild(p),T.appendChild(t),T.appendChild(d),T.appendChild(g),T.appendChild(i),T}var bP={rows:vP,pages:yP};class rg extends qi{constructor(e){super(e),this.mode="local",this.progressiveLoad=!1,this.element=null,this.pageCounterElement=null,this.pageCounter=null,this.size=0,this.page=1,this.count=5,this.max=1,this.remoteRowCountEstimate=null,this.initialLoad=!0,this.dataChanging=!1,this.pageSizes=[],this.registerTableOption("pagination",!1),this.registerTableOption("paginationMode","local"),this.registerTableOption("paginationSize",!1),this.registerTableOption("paginationInitialPage",1),this.registerTableOption("paginationCounter",!1),this.registerTableOption("paginationCounterElement",!1),this.registerTableOption("paginationButtonCount",5),this.registerTableOption("paginationSizeSelector",!1),this.registerTableOption("paginationElement",!1),this.registerTableOption("paginationAddRow","page"),this.registerTableOption("progressiveLoad",!1),this.registerTableOption("progressiveLoadDelay",0),this.registerTableOption("progressiveLoadScrollMargin",0),this.registerTableFunction("setMaxPage",this.setMaxPage.bind(this)),this.registerTableFunction("setPage",this.setPage.bind(this)),this.registerTableFunction("setPageToRow",this.userSetPageToRow.bind(this)),this.registerTableFunction("setPageSize",this.userSetPageSize.bind(this)),this.registerTableFunction("getPageSize",this.getPageSize.bind(this)),this.registerTableFunction("previousPage",this.previousPage.bind(this)),this.registerTableFunction("nextPage",this.nextPage.bind(this)),this.registerTableFunction("getPage",this.getPage.bind(this)),this.registerTableFunction("getPageMax",this.getPageMax.bind(this)),this.registerComponentFunction("row","pageTo",this.setPageToRow.bind(this))}initialize(){this.table.options.pagination?(this.subscribe("row-deleted",this.rowsUpdated.bind(this)),this.subscribe("row-added",this.rowsUpdated.bind(this)),this.subscribe("data-processed",this.initialLoadComplete.bind(this)),this.subscribe("table-built",this.calculatePageSizes.bind(this)),this.subscribe("footer-redraw",this.footerRedraw.bind(this)),this.table.options.paginationAddRow=="page"&&this.subscribe("row-adding-position",this.rowAddingPosition.bind(this)),this.table.options.paginationMode==="remote"&&(this.subscribe("data-params",this.remotePageParams.bind(this)),this.subscribe("data-loaded",this._parseRemoteData.bind(this))),this.table.options.progressiveLoad&&console.error("Progressive Load Error - Pagination and progressive load cannot be used at the same time"),this.registerDisplayHandler(this.restOnRenderBefore.bind(this),40),this.registerDisplayHandler(this.getRows.bind(this),50),this.createElements(),this.initializePageCounter(),this.initializePaginator()):this.table.options.progressiveLoad&&(this.subscribe("data-params",this.remotePageParams.bind(this)),this.subscribe("data-loaded",this._parseRemoteData.bind(this)),this.subscribe("table-built",this.calculatePageSizes.bind(this)),this.subscribe("data-processed",this.initialLoadComplete.bind(this)),this.initializeProgressive(this.table.options.progressiveLoad),this.table.options.progressiveLoad==="scroll"&&this.subscribe("scroll-vertical",this.scrollVertical.bind(this)))}rowAddingPosition(e,r){var S=this.table.rowManager,D=S.getDisplayRows(),T;return r?D.length?T=D[0]:S.activeRows.length&&(T=S.activeRows[S.activeRows.length-1],r=!1):D.length&&(T=D[D.length-1],r=!(D.length{}))}restOnRenderBefore(e,r){return r||this.mode==="local"&&this.reset(),e}rowsUpdated(){this.refreshData(!0,"all")}createElements(){var e;this.element=document.createElement("span"),this.element.classList.add("tabulator-paginator"),this.pagesElement=document.createElement("span"),this.pagesElement.classList.add("tabulator-pages"),e=document.createElement("button"),e.classList.add("tabulator-page"),e.setAttribute("type","button"),e.setAttribute("role","button"),e.setAttribute("aria-label",""),e.setAttribute("title",""),this.firstBut=e.cloneNode(!0),this.firstBut.setAttribute("data-page","first"),this.prevBut=e.cloneNode(!0),this.prevBut.setAttribute("data-page","prev"),this.nextBut=e.cloneNode(!0),this.nextBut.setAttribute("data-page","next"),this.lastBut=e.cloneNode(!0),this.lastBut.setAttribute("data-page","last"),this.table.options.paginationSizeSelector&&(this.pageSizeSelect=document.createElement("select"),this.pageSizeSelect.classList.add("tabulator-page-size"))}generatePageSizeSelectList(){var e=[];if(this.pageSizeSelect){if(Array.isArray(this.table.options.paginationSizeSelector))e=this.table.options.paginationSizeSelector,this.pageSizes=e,this.pageSizes.indexOf(this.size)==-1&&e.unshift(this.size);else if(this.pageSizes.indexOf(this.size)==-1){e=[];for(let r=1;r<5;r++)e.push(this.size*r);this.pageSizes=e}else e=this.pageSizes;for(;this.pageSizeSelect.firstChild;)this.pageSizeSelect.removeChild(this.pageSizeSelect.firstChild);e.forEach(r=>{var S=document.createElement("option");S.value=r,r===!0?this.langBind("pagination|all",function(D){S.innerHTML=D}):S.innerHTML=r,this.pageSizeSelect.appendChild(S)}),this.pageSizeSelect.value=this.size}}initializePageCounter(){var e=this.table.options.paginationCounter,r=null;e&&(typeof e=="function"?r=e:r=rg.pageCounters[e],r?(this.pageCounter=r,this.pageCounterElement=document.createElement("span"),this.pageCounterElement.classList.add("tabulator-page-counter")):console.warn("Pagination Error - No such page counter found: ",e))}initializePaginator(e){var r,S;e||(this.langBind("pagination|first",D=>{this.firstBut.innerHTML=D}),this.langBind("pagination|first_title",D=>{this.firstBut.setAttribute("aria-label",D),this.firstBut.setAttribute("title",D)}),this.langBind("pagination|prev",D=>{this.prevBut.innerHTML=D}),this.langBind("pagination|prev_title",D=>{this.prevBut.setAttribute("aria-label",D),this.prevBut.setAttribute("title",D)}),this.langBind("pagination|next",D=>{this.nextBut.innerHTML=D}),this.langBind("pagination|next_title",D=>{this.nextBut.setAttribute("aria-label",D),this.nextBut.setAttribute("title",D)}),this.langBind("pagination|last",D=>{this.lastBut.innerHTML=D}),this.langBind("pagination|last_title",D=>{this.lastBut.setAttribute("aria-label",D),this.lastBut.setAttribute("title",D)}),this.firstBut.addEventListener("click",()=>{this.setPage(1)}),this.prevBut.addEventListener("click",()=>{this.previousPage()}),this.nextBut.addEventListener("click",()=>{this.nextPage()}),this.lastBut.addEventListener("click",()=>{this.setPage(this.max)}),this.table.options.paginationElement&&(this.element=this.table.options.paginationElement),this.pageSizeSelect&&(r=document.createElement("label"),this.langBind("pagination|page_size",D=>{this.pageSizeSelect.setAttribute("aria-label",D),this.pageSizeSelect.setAttribute("title",D),r.innerHTML=D}),this.element.appendChild(r),this.element.appendChild(this.pageSizeSelect),this.pageSizeSelect.addEventListener("change",D=>{this.setPageSize(this.pageSizeSelect.value=="true"?!0:this.pageSizeSelect.value),this.setPage(1)})),this.element.appendChild(this.firstBut),this.element.appendChild(this.prevBut),this.element.appendChild(this.pagesElement),this.element.appendChild(this.nextBut),this.element.appendChild(this.lastBut),this.table.options.paginationElement||(this.table.options.paginationCounter&&(this.table.options.paginationCounterElement?this.table.options.paginationCounterElement instanceof HTMLElement?this.table.options.paginationCounterElement.appendChild(this.pageCounterElement):typeof this.table.options.paginationCounterElement=="string"&&(S=document.querySelector(this.table.options.paginationCounterElement),S?S.appendChild(this.pageCounterElement):console.warn("Pagination Error - Unable to find element matching paginationCounterElement selector:",this.table.options.paginationCounterElement)):this.footerAppend(this.pageCounterElement)),this.footerAppend(this.element)),this.page=this.table.options.paginationInitialPage,this.count=this.table.options.paginationButtonCount),this.mode=this.table.options.paginationMode}initializeProgressive(e){this.initializePaginator(!0),this.mode="progressive_"+e,this.progressiveLoad=!0}trackChanges(){this.dispatch("page-changed")}setMaxRows(e){e?this.max=this.size===!0?1:Math.ceil(e/this.size):this.max=1,this.page>this.max&&(this.page=this.max)}reset(e){this.initialLoad||(this.mode=="local"||e)&&(this.page=1,this.trackChanges())}setMaxPage(e){e=parseInt(e),this.max=e||1,this.page>this.max&&(this.page=this.max,this.trigger())}setPage(e){switch(e){case"first":return this.setPage(1);case"prev":return this.previousPage();case"next":return this.nextPage();case"last":return this.setPage(this.max)}return e=parseInt(e),e>0&&e<=this.max||this.mode!=="local"?(this.page=e,this.trackChanges(),this.trigger()):(console.warn("Pagination Error - Requested page is out of range of 1 - "+this.max+":",e),Promise.reject())}setPageToRow(e){var r=this.displayRows(-1),S=r.indexOf(e);if(S>-1){var D=this.size===!0?1:Math.ceil((S+1)/this.size);return this.setPage(D)}else return console.warn("Pagination Error - Requested row is not visible"),Promise.reject()}setPageSize(e){e!==!0&&(e=parseInt(e)),e>0&&(this.size=e,this.dispatchExternal("pageSizeChanged",e)),this.pageSizeSelect&&this.generatePageSizeSelectList(),this.trackChanges()}_setPageCounter(e,r,S){var D;if(this.pageCounter)switch(this.mode==="remote"&&(r=this.size,S=(this.page-1)*this.size+1,e=this.remoteRowCountEstimate),D=this.pageCounter.call(this,r,S,this.page,e,this.max),typeof D){case"object":if(D instanceof Node){for(;this.pageCounterElement.firstChild;)this.pageCounterElement.removeChild(this.pageCounterElement.firstChild);this.pageCounterElement.appendChild(D)}else this.pageCounterElement.innerHTML="",D!=null&&console.warn("Page Counter Error - Page Counter has returned a type of object, the only valid page counter object return is an instance of Node, the page counter returned:",D);break;case"undefined":this.pageCounterElement.innerHTML="";break;default:this.pageCounterElement.innerHTML=D}}_setPageButtons(){let e=Math.floor((this.count-1)/2),r=Math.ceil((this.count-1)/2),S=this.max-this.page+e+10&&T<=this.max&&this.pagesElement.appendChild(this._generatePageButton(T));this.footerRedraw()}_generatePageButton(e){var r=document.createElement("button");return r.classList.add("tabulator-page"),e==this.page&&r.classList.add("active"),r.setAttribute("type","button"),r.setAttribute("role","button"),this.langBind("pagination|page_title",S=>{r.setAttribute("aria-label",S+" "+e),r.setAttribute("title",S+" "+e)}),r.setAttribute("data-page",e),r.textContent=e,r.addEventListener("click",S=>{this.setPage(e)}),r}previousPage(){return this.page>1?(this.page--,this.trackChanges(),this.trigger()):(console.warn("Pagination Error - Previous page would be less than page 1:",0),Promise.reject())}nextPage(){return this.paged.type==="row");if(this.mode=="local"){S=[],this.setMaxRows(e.length),this.size===!0?(D=0,T=e.length):(D=this.size*(this.page-1),T=D+parseInt(this.size)),this._setPageButtons();for(let d=D;d{this.dataChanging=!1});case"progressive_load":case"progressive_scroll":return this.reloadData(null,!0);default:return console.warn("Pagination Error - no such pagination mode:",this.mode),Promise.reject()}}_parseRemoteData(e){var r;if(typeof e.last_page>"u"&&console.warn("Remote Pagination Error - Server response missing '"+(this.options("dataReceiveParams").last_page||"last_page")+"' property"),e.data)if(this.max=parseInt(e.last_page)||1,this.remoteRowCountEstimate=typeof e.last_row<"u"?e.last_row:e.last_page*this.size-(this.page==e.last_page?this.size-e.data.length:0),this.progressiveLoad){switch(this.mode){case"progressive_load":this.page==1?this.table.rowManager.setData(e.data,!1,this.page==1):this.table.rowManager.addRows(e.data),this.page{this.nextPage()},this.table.options.progressiveLoadDelay);break;case"progressive_scroll":e=this.page===1?e.data:this.table.rowManager.getData().concat(e.data),this.table.rowManager.setData(e,this.page!==1,this.page==1),r=this.table.options.progressiveLoadScrollMargin||this.table.rowManager.element.clientHeight*2,this.table.rowManager.element.scrollHeight<=this.table.rowManager.element.clientHeight+r&&this.page{this.nextPage()});break}return!1}else this.dispatchExternal("pageLoaded",this.getPage());else console.warn("Remote Pagination Error - Server response missing '"+(this.options("dataReceiveParams").data||"data")+"' property");return e.data}footerRedraw(){var e=this.table.footerManager.containerElement;Math.ceil(e.clientWidth)-e.scrollWidth<0?this.pagesElement.style.display="none":(this.pagesElement.style.display="",Math.ceil(e.clientWidth)-e.scrollWidth<0&&(this.pagesElement.style.display="none"))}}rg.moduleName="page";rg.pageCounters=bP;var xP={local:function(n,e){var r=localStorage.getItem(n+"-"+e);return r?JSON.parse(r):!1},cookie:function(n,e){var r=document.cookie,S=n+"-"+e,D=r.indexOf(S+"="),T,p;return D>-1&&(r=r.slice(D),T=r.indexOf(";"),T>-1&&(r=r.slice(0,T)),p=r.replace(S+"=","")),p?JSON.parse(p):!1}},_P={local:function(n,e,r){localStorage.setItem(n+"-"+e,JSON.stringify(r))},cookie:function(n,e,r){var S=new Date;S.setDate(S.getDate()+1e4),document.cookie=n+"-"+e+"="+JSON.stringify(r)+"; expires="+S.toUTCString()}};class Ul extends qi{constructor(e){super(e),this.mode="",this.id="",this.defWatcherBlock=!1,this.config={},this.readFunc=!1,this.writeFunc=!1,this.registerTableOption("persistence",!1),this.registerTableOption("persistenceID",""),this.registerTableOption("persistenceMode",!0),this.registerTableOption("persistenceReaderFunc",!1),this.registerTableOption("persistenceWriterFunc",!1)}localStorageTest(){var e="_tabulator_test";try{return window.localStorage.setItem(e,e),window.localStorage.removeItem(e),!0}catch{return!1}}initialize(){if(this.table.options.persistence){var e=this.table.options.persistenceMode,r=this.table.options.persistenceID,S;this.mode=e!==!0?e:this.localStorageTest()?"local":"cookie",this.table.options.persistenceReaderFunc?typeof this.table.options.persistenceReaderFunc=="function"?this.readFunc=this.table.options.persistenceReaderFunc:Ul.readers[this.table.options.persistenceReaderFunc]?this.readFunc=Ul.readers[this.table.options.persistenceReaderFunc]:console.warn("Persistence Read Error - invalid reader set",this.table.options.persistenceReaderFunc):Ul.readers[this.mode]?this.readFunc=Ul.readers[this.mode]:console.warn("Persistence Read Error - invalid reader set",this.mode),this.table.options.persistenceWriterFunc?typeof this.table.options.persistenceWriterFunc=="function"?this.writeFunc=this.table.options.persistenceWriterFunc:Ul.writers[this.table.options.persistenceWriterFunc]?this.writeFunc=Ul.writers[this.table.options.persistenceWriterFunc]:console.warn("Persistence Write Error - invalid reader set",this.table.options.persistenceWriterFunc):Ul.writers[this.mode]?this.writeFunc=Ul.writers[this.mode]:console.warn("Persistence Write Error - invalid writer set",this.mode),this.id="tabulator-"+(r||this.table.element.getAttribute("id")||""),this.config={sort:this.table.options.persistence===!0||this.table.options.persistence.sort,filter:this.table.options.persistence===!0||this.table.options.persistence.filter,headerFilter:this.table.options.persistence===!0||this.table.options.persistence.headerFilter,group:this.table.options.persistence===!0||this.table.options.persistence.group,page:this.table.options.persistence===!0||this.table.options.persistence.page,columns:this.table.options.persistence===!0?["title","width","visible"]:this.table.options.persistence.columns},this.config.page&&(S=this.retrieveData("page"),S&&(typeof S.paginationSize<"u"&&(this.config.page===!0||this.config.page.size)&&(this.table.options.paginationSize=S.paginationSize),typeof S.paginationInitialPage<"u"&&(this.config.page===!0||this.config.page.page)&&(this.table.options.paginationInitialPage=S.paginationInitialPage))),this.config.group&&(S=this.retrieveData("group"),S&&(typeof S.groupBy<"u"&&(this.config.group===!0||this.config.group.groupBy)&&(this.table.options.groupBy=S.groupBy),typeof S.groupStartOpen<"u"&&(this.config.group===!0||this.config.group.groupStartOpen)&&(this.table.options.groupStartOpen=S.groupStartOpen),typeof S.groupHeader<"u"&&(this.config.group===!0||this.config.group.groupHeader)&&(this.table.options.groupHeader=S.groupHeader))),this.config.columns&&(this.table.options.columns=this.load("columns",this.table.options.columns),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("column-show",this.save.bind(this,"columns")),this.subscribe("column-hide",this.save.bind(this,"columns")),this.subscribe("column-moved",this.save.bind(this,"columns"))),this.subscribe("table-built",this.tableBuilt.bind(this),0),this.subscribe("table-redraw",this.tableRedraw.bind(this)),this.subscribe("filter-changed",this.eventSave.bind(this,"filter")),this.subscribe("filter-changed",this.eventSave.bind(this,"headerFilter")),this.subscribe("sort-changed",this.eventSave.bind(this,"sort")),this.subscribe("group-changed",this.eventSave.bind(this,"group")),this.subscribe("page-changed",this.eventSave.bind(this,"page")),this.subscribe("column-resized",this.eventSave.bind(this,"columns")),this.subscribe("column-width",this.eventSave.bind(this,"columns")),this.subscribe("layout-refreshed",this.eventSave.bind(this,"columns"))}this.registerTableFunction("getColumnLayout",this.getColumnLayout.bind(this)),this.registerTableFunction("setColumnLayout",this.setColumnLayout.bind(this))}eventSave(e){this.config[e]&&this.save(e)}tableBuilt(){var e,r,S;this.config.sort&&(e=this.load("sort"),e&&(this.table.options.initialSort=e)),this.config.filter&&(r=this.load("filter"),r&&(this.table.options.initialFilter=r)),this.config.headerFilter&&(S=this.load("headerFilter"),S&&(this.table.options.initialHeaderFilter=S))}tableRedraw(e){e&&this.config.columns&&this.save("columns")}getColumnLayout(){return this.parseColumns(this.table.columnManager.getColumns())}setColumnLayout(e){return this.table.columnManager.setColumns(this.mergeDefinition(this.table.options.columns,e,!0)),!0}initializeColumn(e){var r,S;this.config.columns&&(this.defWatcherBlock=!0,r=e.getDefinition(),S=this.config.columns===!0?Object.keys(r):this.config.columns,S.forEach(D=>{var T=Object.getOwnPropertyDescriptor(r,D),p=r[D];T&&Object.defineProperty(r,D,{set:t=>{p=t,this.defWatcherBlock||this.save("columns"),T.set&&T.set(t)},get:()=>(T.get&&T.get(),p)})}),this.defWatcherBlock=!1)}load(e,r){var S=this.retrieveData(e);return r&&(S=S?this.mergeDefinition(r,S):r),S}retrieveData(e){return this.readFunc?this.readFunc(this.id,e):!1}mergeDefinition(e,r,S){var D=[];return r=r||[],r.forEach((T,p)=>{var t=this._findColumn(e,T),d;t&&(S?d=Object.keys(T):this.config.columns===!0||this.config.columns==null?(d=Object.keys(t),d.push("width")):d=this.config.columns,d.forEach(g=>{g!=="columns"&&typeof T[g]<"u"&&(t[g]=T[g])}),t.columns&&(t.columns=this.mergeDefinition(t.columns,T.columns)),D.push(t))}),e.forEach((T,p)=>{var t=this._findColumn(r,T);t||(D.length>p?D.splice(p,0,T):D.push(T))}),D}_findColumn(e,r){var S=r.columns?"group":r.field?"field":"object";return e.find(function(D){switch(S){case"group":return D.title===r.title&&D.columns.length===r.columns.length;case"field":return D.field===r.field;case"object":return D===r}})}save(e){var r={};switch(e){case"columns":r=this.parseColumns(this.table.columnManager.getColumns());break;case"filter":r=this.table.modules.filter.getFilters();break;case"headerFilter":r=this.table.modules.filter.getHeaderFilters();break;case"sort":r=this.validateSorters(this.table.modules.sort.getSort());break;case"group":r=this.getGroupConfig();break;case"page":r=this.getPageConfig();break}this.writeFunc&&this.writeFunc(this.id,e,r)}validateSorters(e){return e.forEach(function(r){r.column=r.field,delete r.field}),e}getGroupConfig(){var e={};return this.config.group&&((this.config.group===!0||this.config.group.groupBy)&&(e.groupBy=this.table.options.groupBy),(this.config.group===!0||this.config.group.groupStartOpen)&&(e.groupStartOpen=this.table.options.groupStartOpen),(this.config.group===!0||this.config.group.groupHeader)&&(e.groupHeader=this.table.options.groupHeader)),e}getPageConfig(){var e={};return this.config.page&&((this.config.page===!0||this.config.page.size)&&(e.paginationSize=this.table.modules.page.getPageSize()),(this.config.page===!0||this.config.page.page)&&(e.paginationInitialPage=this.table.modules.page.getPage())),e}parseColumns(e){var r=[],S=["headerContextMenu","headerMenu","contextMenu","clickMenu"];return e.forEach(D=>{var T={},p=D.getDefinition(),t;D.isGroup?(T.title=p.title,T.columns=this.parseColumns(D.getColumns())):(T.field=D.getField(),this.config.columns===!0||this.config.columns==null?(t=Object.keys(p),t.push("width"),t.push("visible")):t=this.config.columns,t.forEach(d=>{switch(d){case"width":T.width=D.getWidth();break;case"visible":T.visible=D.visible;break;default:typeof p[d]!="function"&&S.indexOf(d)===-1&&(T[d]=p[d])}})),r.push(T)}),r}}Ul.moduleName="persistence";Ul.moduleInitOrder=-10;Ul.readers=xP;Ul.writers=_P;class HM extends qi{constructor(e){super(e),this.columnSubscribers={},this.registerTableOption("rowContextPopup",!1),this.registerTableOption("rowClickPopup",!1),this.registerTableOption("rowDblClickPopup",!1),this.registerTableOption("groupContextPopup",!1),this.registerTableOption("groupClickPopup",!1),this.registerTableOption("groupDblClickPopup",!1),this.registerColumnOption("headerContextPopup"),this.registerColumnOption("headerClickPopup"),this.registerColumnOption("headerDblClickPopup"),this.registerColumnOption("headerPopup"),this.registerColumnOption("headerPopupIcon"),this.registerColumnOption("contextPopup"),this.registerColumnOption("clickPopup"),this.registerColumnOption("dblClickPopup"),this.registerComponentFunction("cell","popup",this._componentPopupCall.bind(this)),this.registerComponentFunction("column","popup",this._componentPopupCall.bind(this)),this.registerComponentFunction("row","popup",this._componentPopupCall.bind(this)),this.registerComponentFunction("group","popup",this._componentPopupCall.bind(this))}initialize(){this.initializeRowWatchers(),this.initializeGroupWatchers(),this.subscribe("column-init",this.initializeColumn.bind(this))}_componentPopupCall(e,r,S){this.loadPopupEvent(r,null,e,S)}initializeRowWatchers(){this.table.options.rowContextPopup&&(this.subscribe("row-contextmenu",this.loadPopupEvent.bind(this,this.table.options.rowContextPopup)),this.table.on("rowTapHold",this.loadPopupEvent.bind(this,this.table.options.rowContextPopup))),this.table.options.rowClickPopup&&this.subscribe("row-click",this.loadPopupEvent.bind(this,this.table.options.rowClickPopup)),this.table.options.rowDblClickPopup&&this.subscribe("row-dblclick",this.loadPopupEvent.bind(this,this.table.options.rowDblClickPopup))}initializeGroupWatchers(){this.table.options.groupContextPopup&&(this.subscribe("group-contextmenu",this.loadPopupEvent.bind(this,this.table.options.groupContextPopup)),this.table.on("groupTapHold",this.loadPopupEvent.bind(this,this.table.options.groupContextPopup))),this.table.options.groupClickPopup&&this.subscribe("group-click",this.loadPopupEvent.bind(this,this.table.options.groupClickPopup)),this.table.options.groupDblClickPopup&&this.subscribe("group-dblclick",this.loadPopupEvent.bind(this,this.table.options.groupDblClickPopup))}initializeColumn(e){var r=e.definition;r.headerContextPopup&&!this.columnSubscribers.headerContextPopup&&(this.columnSubscribers.headerContextPopup=this.loadPopupTableColumnEvent.bind(this,"headerContextPopup"),this.subscribe("column-contextmenu",this.columnSubscribers.headerContextPopup),this.table.on("headerTapHold",this.loadPopupTableColumnEvent.bind(this,"headerContextPopup"))),r.headerClickPopup&&!this.columnSubscribers.headerClickPopup&&(this.columnSubscribers.headerClickPopup=this.loadPopupTableColumnEvent.bind(this,"headerClickPopup"),this.subscribe("column-click",this.columnSubscribers.headerClickPopup)),r.headerDblClickPopup&&!this.columnSubscribers.headerDblClickPopup&&(this.columnSubscribers.headerDblClickPopup=this.loadPopupTableColumnEvent.bind(this,"headerDblClickPopup"),this.subscribe("column-dblclick",this.columnSubscribers.headerDblClickPopup)),r.headerPopup&&this.initializeColumnHeaderPopup(e),r.contextPopup&&!this.columnSubscribers.contextPopup&&(this.columnSubscribers.contextPopup=this.loadPopupTableCellEvent.bind(this,"contextPopup"),this.subscribe("cell-contextmenu",this.columnSubscribers.contextPopup),this.table.on("cellTapHold",this.loadPopupTableCellEvent.bind(this,"contextPopup"))),r.clickPopup&&!this.columnSubscribers.clickPopup&&(this.columnSubscribers.clickPopup=this.loadPopupTableCellEvent.bind(this,"clickPopup"),this.subscribe("cell-click",this.columnSubscribers.clickPopup)),r.dblClickPopup&&!this.columnSubscribers.dblClickPopup&&(this.columnSubscribers.dblClickPopup=this.loadPopupTableCellEvent.bind(this,"dblClickPopup"),this.subscribe("cell-click",this.columnSubscribers.dblClickPopup))}initializeColumnHeaderPopup(e){var r=e.definition.headerPopupIcon,S;S=document.createElement("span"),S.classList.add("tabulator-header-popup-button"),r?(typeof r=="function"&&(r=r(e.getComponent())),r instanceof HTMLElement?S.appendChild(r):S.innerHTML=r):S.innerHTML="⋮",S.addEventListener("click",D=>{D.stopPropagation(),D.preventDefault(),this.loadPopupEvent(e.definition.headerPopup,D,e)}),e.titleElement.insertBefore(S,e.titleElement.firstChild)}loadPopupTableCellEvent(e,r,S){S._cell&&(S=S._cell),S.column.definition[e]&&this.loadPopupEvent(S.column.definition[e],r,S)}loadPopupTableColumnEvent(e,r,S){S._column&&(S=S._column),S.definition[e]&&this.loadPopupEvent(S.definition[e],r,S)}loadPopupEvent(e,r,S,D){var T;function p(t){T=t}S._group?S=S._group:S._row&&(S=S._row),e=typeof e=="function"?e.call(this.table,r,S.getComponent(),p):e,this.loadPopup(r,S,e,T,D)}loadPopup(e,r,S,D,T){var p=!(e instanceof MouseEvent),t,d;S instanceof HTMLElement?t=S:(t=document.createElement("div"),t.innerHTML=S),t.classList.add("tabulator-popup"),t.addEventListener("click",g=>{g.stopPropagation()}),p||e.preventDefault(),d=this.popup(t),typeof D=="function"&&d.renderCallback(D),e?d.show(e):d.show(r.getElement(),T||"center"),d.hideOnBlur(()=>{this.dispatchExternal("popupClosed",r.getComponent())}),this.dispatchExternal("popupOpened",r.getComponent())}}HM.moduleName="popup";class GM extends qi{constructor(e){super(e),this.element=!1,this.manualBlock=!1,this.beforeprintEventHandler=null,this.afterprintEventHandler=null,this.registerTableOption("printAsHtml",!1),this.registerTableOption("printFormatter",!1),this.registerTableOption("printHeader",!1),this.registerTableOption("printFooter",!1),this.registerTableOption("printStyled",!0),this.registerTableOption("printRowRange","visible"),this.registerTableOption("printConfig",{}),this.registerColumnOption("print"),this.registerColumnOption("titlePrint")}initialize(){this.table.options.printAsHtml&&(this.beforeprintEventHandler=this.replaceTable.bind(this),this.afterprintEventHandler=this.cleanup.bind(this),window.addEventListener("beforeprint",this.beforeprintEventHandler),window.addEventListener("afterprint",this.afterprintEventHandler),this.subscribe("table-destroy",this.destroy.bind(this))),this.registerTableFunction("print",this.printFullscreen.bind(this))}destroy(){this.table.options.printAsHtml&&(window.removeEventListener("beforeprint",this.beforeprintEventHandler),window.removeEventListener("afterprint",this.afterprintEventHandler))}replaceTable(){this.manualBlock||(this.element=document.createElement("div"),this.element.classList.add("tabulator-print-table"),this.element.appendChild(this.table.modules.export.generateTable(this.table.options.printConfig,this.table.options.printStyled,this.table.options.printRowRange,"print")),this.table.element.style.display="none",this.table.element.parentNode.insertBefore(this.element,this.table.element))}cleanup(){document.body.classList.remove("tabulator-print-fullscreen-hide"),this.element&&this.element.parentNode&&(this.element.parentNode.removeChild(this.element),this.table.element.style.display="")}printFullscreen(e,r,S){var D=window.scrollX,T=window.scrollY,p=document.createElement("div"),t=document.createElement("div"),d=this.table.modules.export.generateTable(typeof S<"u"?S:this.table.options.printConfig,typeof r<"u"?r:this.table.options.printStyled,e||this.table.options.printRowRange,"print"),g,i;this.manualBlock=!0,this.element=document.createElement("div"),this.element.classList.add("tabulator-print-fullscreen"),this.table.options.printHeader&&(p.classList.add("tabulator-print-header"),g=typeof this.table.options.printHeader=="function"?this.table.options.printHeader.call(this.table):this.table.options.printHeader,typeof g=="string"?p.innerHTML=g:p.appendChild(g),this.element.appendChild(p)),this.element.appendChild(d),this.table.options.printFooter&&(t.classList.add("tabulator-print-footer"),i=typeof this.table.options.printFooter=="function"?this.table.options.printFooter.call(this.table):this.table.options.printFooter,typeof i=="string"?t.innerHTML=i:t.appendChild(i),this.element.appendChild(t)),document.body.classList.add("tabulator-print-fullscreen-hide"),document.body.appendChild(this.element),this.table.options.printFormatter&&this.table.options.printFormatter(this.element,d),window.print(),this.cleanup(),window.scrollTo(D,T),this.manualBlock=!1}}GM.moduleName="print";class qM extends qi{constructor(e){super(e),this.data=!1,this.blocked=!1,this.origFuncs={},this.currentVersion=0,this.registerTableOption("reactiveData",!1)}initialize(){this.table.options.reactiveData&&(this.subscribe("cell-value-save-before",this.block.bind(this,"cellsave")),this.subscribe("cell-value-save-after",this.unblock.bind(this,"cellsave")),this.subscribe("row-data-save-before",this.block.bind(this,"rowsave")),this.subscribe("row-data-save-after",this.unblock.bind(this,"rowsave")),this.subscribe("row-data-init-after",this.watchRow.bind(this)),this.subscribe("data-processing",this.watchData.bind(this)),this.subscribe("table-destroy",this.unwatchData.bind(this)))}watchData(e){var r=this,S;this.currentVersion++,S=this.currentVersion,this.unwatchData(),this.data=e,this.origFuncs.push=e.push,Object.defineProperty(this.data,"push",{enumerable:!1,configurable:!0,value:function(){var D=Array.from(arguments),T;return!r.blocked&&S===r.currentVersion&&(r.block("data-push"),D.forEach(p=>{r.table.rowManager.addRowActual(p,!1)}),T=r.origFuncs.push.apply(e,arguments),r.unblock("data-push")),T}}),this.origFuncs.unshift=e.unshift,Object.defineProperty(this.data,"unshift",{enumerable:!1,configurable:!0,value:function(){var D=Array.from(arguments),T;return!r.blocked&&S===r.currentVersion&&(r.block("data-unshift"),D.forEach(p=>{r.table.rowManager.addRowActual(p,!0)}),T=r.origFuncs.unshift.apply(e,arguments),r.unblock("data-unshift")),T}}),this.origFuncs.shift=e.shift,Object.defineProperty(this.data,"shift",{enumerable:!1,configurable:!0,value:function(){var D,T;return!r.blocked&&S===r.currentVersion&&(r.block("data-shift"),r.data.length&&(D=r.table.rowManager.getRowFromDataObject(r.data[0]),D&&D.deleteActual()),T=r.origFuncs.shift.call(e),r.unblock("data-shift")),T}}),this.origFuncs.pop=e.pop,Object.defineProperty(this.data,"pop",{enumerable:!1,configurable:!0,value:function(){var D,T;return!r.blocked&&S===r.currentVersion&&(r.block("data-pop"),r.data.length&&(D=r.table.rowManager.getRowFromDataObject(r.data[r.data.length-1]),D&&D.deleteActual()),T=r.origFuncs.pop.call(e),r.unblock("data-pop")),T}}),this.origFuncs.splice=e.splice,Object.defineProperty(this.data,"splice",{enumerable:!1,configurable:!0,value:function(){var D=Array.from(arguments),T=D[0]<0?e.length+D[0]:D[0],p=D[1],t=D[2]?D.slice(2):!1,d,g;if(!r.blocked&&S===r.currentVersion){if(r.block("data-splice"),t&&(d=e[T]?r.table.rowManager.getRowFromDataObject(e[T]):!1,d?t.forEach(M=>{r.table.rowManager.addRowActual(M,!0,d,!0)}):(t=t.slice().reverse(),t.forEach(M=>{r.table.rowManager.addRowActual(M,!0,!1,!0)}))),p!==0){var i=e.slice(T,typeof D[1]>"u"?D[1]:T+p);i.forEach((M,v)=>{var f=r.table.rowManager.getRowFromDataObject(M);f&&f.deleteActual(v!==i.length-1)})}(t||p!==0)&&r.table.rowManager.reRenderInPosition(),g=r.origFuncs.splice.apply(e,arguments),r.unblock("data-splice")}return g}})}unwatchData(){if(this.data!==!1)for(var e in this.origFuncs)Object.defineProperty(this.data,e,{enumerable:!0,configurable:!0,writable:!0,value:this.origFuncs.key})}watchRow(e){var r=e.getData();for(var S in r)this.watchKey(e,r,S);this.table.options.dataTree&&this.watchTreeChildren(e)}watchTreeChildren(e){var r=this,S=e.getData()[this.table.options.dataTreeChildField],D={};S&&(D.push=S.push,Object.defineProperty(S,"push",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-push");var T=D.push.apply(S,arguments);this.rebuildTree(e),r.unblock("tree-push")}return T}}),D.unshift=S.unshift,Object.defineProperty(S,"unshift",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-unshift");var T=D.unshift.apply(S,arguments);this.rebuildTree(e),r.unblock("tree-unshift")}return T}}),D.shift=S.shift,Object.defineProperty(S,"shift",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-shift");var T=D.shift.call(S);this.rebuildTree(e),r.unblock("tree-shift")}return T}}),D.pop=S.pop,Object.defineProperty(S,"pop",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-pop");var T=D.pop.call(S);this.rebuildTree(e),r.unblock("tree-pop")}return T}}),D.splice=S.splice,Object.defineProperty(S,"splice",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-splice");var T=D.splice.apply(S,arguments);this.rebuildTree(e),r.unblock("tree-splice")}return T}}))}rebuildTree(e){this.table.modules.dataTree.initializeRow(e),this.table.modules.dataTree.layoutRow(e),this.table.rowManager.refreshActiveData("tree",!1,!0)}watchKey(e,r,S){var D=this,T=Object.getOwnPropertyDescriptor(r,S),p=r[S],t=this.currentVersion;Object.defineProperty(r,S,{set:d=>{if(p=d,!D.blocked&&t===D.currentVersion){D.block("key");var g={};g[S]=d,e.updateData(g),D.unblock("key")}T.set&&T.set(d)},get:()=>(T.get&&T.get(),p)})}unwatchRow(e){var r=e.getData();for(var S in r)Object.defineProperty(r,S,{value:r[S]})}block(e){this.blocked||(this.blocked=e)}unblock(e){this.blocked===e&&(this.blocked=!1)}}qM.moduleName="reactiveData";class WM extends qi{constructor(e){super(e),this.startColumn=!1,this.startX=!1,this.startWidth=!1,this.latestX=!1,this.handle=null,this.initialNextColumn=null,this.nextColumn=null,this.initialized=!1,this.registerColumnOption("resizable",!0),this.registerTableOption("resizableColumnFit",!1)}initialize(){this.subscribe("column-rendered",this.layoutColumnHeader.bind(this))}initializeEventWatchers(){this.initialized||(this.subscribe("cell-rendered",this.layoutCellHandles.bind(this)),this.subscribe("cell-delete",this.deInitializeComponent.bind(this)),this.subscribe("cell-height",this.resizeHandle.bind(this)),this.subscribe("column-moved",this.columnLayoutUpdated.bind(this)),this.subscribe("column-hide",this.deInitializeColumn.bind(this)),this.subscribe("column-show",this.columnLayoutUpdated.bind(this)),this.subscribe("column-width",this.columnWidthUpdated.bind(this)),this.subscribe("column-delete",this.deInitializeComponent.bind(this)),this.subscribe("column-height",this.resizeHandle.bind(this)),this.initialized=!0)}layoutCellHandles(e){e.row.type==="row"&&(this.deInitializeComponent(e),this.initializeColumn("cell",e,e.column,e.element))}layoutColumnHeader(e){e.definition.resizable&&(this.initializeEventWatchers(),this.deInitializeComponent(e),this.initializeColumn("header",e,e,e.element))}columnLayoutUpdated(e){var r=e.prevColumn();this.reinitializeColumn(e),r&&this.reinitializeColumn(r)}columnWidthUpdated(e){e.modules.frozen&&(this.table.modules.frozenColumns.leftColumns.includes(e)?this.table.modules.frozenColumns.leftColumns.forEach(r=>{this.reinitializeColumn(r)}):this.table.modules.frozenColumns.rightColumns.includes(e)&&this.table.modules.frozenColumns.rightColumns.forEach(r=>{this.reinitializeColumn(r)}))}frozenColumnOffset(e){var r=!1;return e.modules.frozen&&(r=e.modules.frozen.marginValue,e.modules.frozen.position==="left"?r+=e.getWidth()-3:r&&(r-=3)),r!==!1?r+"px":!1}reinitializeColumn(e){var r=this.frozenColumnOffset(e);e.cells.forEach(S=>{S.modules.resize&&S.modules.resize.handleEl&&(r&&(S.modules.resize.handleEl.style[e.modules.frozen.position]=r,S.modules.resize.handleEl.style["z-index"]=11),S.element.after(S.modules.resize.handleEl))}),e.modules.resize&&e.modules.resize.handleEl&&(r&&(e.modules.resize.handleEl.style[e.modules.frozen.position]=r),e.element.after(e.modules.resize.handleEl))}initializeColumn(e,r,S,D){var T=this,p=!1,t=S.definition.resizable,d={},g=S.getLastColumn();if(e==="header"&&(p=S.definition.formatter=="textarea"||S.definition.variableHeight,d={variableHeight:p}),(t===!0||t==e)&&this._checkResizability(g)){var i=document.createElement("span");i.className="tabulator-col-resize-handle",i.addEventListener("click",function(v){v.stopPropagation()});var M=function(v){T.startColumn=S,T.initialNextColumn=T.nextColumn=g.nextColumn(),T._mouseDown(v,g,i)};i.addEventListener("mousedown",M),i.addEventListener("touchstart",M,{passive:!0}),i.addEventListener("dblclick",v=>{var f=g.getWidth();v.stopPropagation(),g.reinitializeWidth(!0),f!==g.getWidth()&&(T.dispatch("column-resized",g),T.table.externalEvents.dispatch("columnResized",g.getComponent()))}),S.modules.frozen&&(i.style.position="sticky",i.style[S.modules.frozen.position]=this.frozenColumnOffset(S)),d.handleEl=i,D.parentNode&&S.visible&&D.after(i)}r.modules.resize=d}deInitializeColumn(e){this.deInitializeComponent(e),e.cells.forEach(r=>{this.deInitializeComponent(r)})}deInitializeComponent(e){var r;e.modules.resize&&(r=e.modules.resize.handleEl,r&&r.parentElement&&r.parentElement.removeChild(r))}resizeHandle(e,r){e.modules.resize&&e.modules.resize.handleEl&&(e.modules.resize.handleEl.style.height=r)}_checkResizability(e){return e.definition.resizable}_mouseDown(e,r,S){var D=this;D.table.element.classList.add("tabulator-block-select");function T(t){var d=typeof t.screenX>"u"?t.touches[0].screenX:t.screenX,g=d-D.startX,i=d-D.latestX,M,v;if(D.latestX=d,D.table.rtl&&(g=-g,i=-i),M=r.width==r.minWidth||r.width==r.maxWidth,r.setWidth(D.startWidth+g),v=r.width==r.minWidth||r.width==r.maxWidth,i<0&&(D.nextColumn=D.initialNextColumn),D.table.options.resizableColumnFit&&D.nextColumn&&!(M&&v)){let f=D.nextColumn.getWidth();i>0&&f<=D.nextColumn.minWidth&&(D.nextColumn=D.nextColumn.nextColumn()),D.nextColumn&&D.nextColumn.setWidth(D.nextColumn.getWidth()-i)}D.table.columnManager.rerenderColumns(!0),!D.table.browserSlow&&r.modules.resize&&r.modules.resize.variableHeight&&r.checkCellHeights()}function p(t){D.startColumn.modules.edit&&(D.startColumn.modules.edit.blocked=!1),D.table.browserSlow&&r.modules.resize&&r.modules.resize.variableHeight&&r.checkCellHeights(),document.body.removeEventListener("mouseup",p),document.body.removeEventListener("mousemove",T),S.removeEventListener("touchmove",T),S.removeEventListener("touchend",p),D.table.element.classList.remove("tabulator-block-select"),D.startWidth!==r.getWidth()&&(D.table.columnManager.verticalAlignHeaders(),D.dispatch("column-resized",r),D.table.externalEvents.dispatch("columnResized",r.getComponent()))}e.stopPropagation(),D.startColumn.modules.edit&&(D.startColumn.modules.edit.blocked=!0),D.startX=typeof e.screenX>"u"?e.touches[0].screenX:e.screenX,D.latestX=D.startX,D.startWidth=r.getWidth(),document.body.addEventListener("mousemove",T),document.body.addEventListener("mouseup",p),S.addEventListener("touchmove",T,{passive:!0}),S.addEventListener("touchend",p)}}WM.moduleName="resizeColumns";class YM extends qi{constructor(e){super(e),this.startColumn=!1,this.startY=!1,this.startHeight=!1,this.handle=null,this.prevHandle=null,this.registerTableOption("resizableRows",!1)}initialize(){this.table.options.resizableRows&&this.subscribe("row-layout-after",this.initializeRow.bind(this))}initializeRow(e){var r=this,S=e.getElement(),D=document.createElement("div");D.className="tabulator-row-resize-handle";var T=document.createElement("div");T.className="tabulator-row-resize-handle prev",D.addEventListener("click",function(d){d.stopPropagation()});var p=function(d){r.startRow=e,r._mouseDown(d,e,D)};D.addEventListener("mousedown",p),D.addEventListener("touchstart",p,{passive:!0}),T.addEventListener("click",function(d){d.stopPropagation()});var t=function(d){var g=r.table.rowManager.prevDisplayRow(e);g&&(r.startRow=g,r._mouseDown(d,g,T))};T.addEventListener("mousedown",t),T.addEventListener("touchstart",t,{passive:!0}),S.appendChild(D),S.appendChild(T)}_mouseDown(e,r,S){var D=this;D.table.element.classList.add("tabulator-block-select");function T(t){r.setHeight(D.startHeight+((typeof t.screenY>"u"?t.touches[0].screenY:t.screenY)-D.startY))}function p(t){document.body.removeEventListener("mouseup",T),document.body.removeEventListener("mousemove",T),S.removeEventListener("touchmove",T),S.removeEventListener("touchend",p),D.table.element.classList.remove("tabulator-block-select"),D.dispatchExternal("rowResized",r.getComponent())}e.stopPropagation(),D.startY=typeof e.screenY>"u"?e.touches[0].screenY:e.screenY,D.startHeight=r.getHeight(),document.body.addEventListener("mousemove",T),document.body.addEventListener("mouseup",p),S.addEventListener("touchmove",T,{passive:!0}),S.addEventListener("touchend",p)}}YM.moduleName="resizeRows";class $M extends qi{constructor(e){super(e),this.binding=!1,this.visibilityObserver=!1,this.resizeObserver=!1,this.containerObserver=!1,this.tableHeight=0,this.tableWidth=0,this.containerHeight=0,this.containerWidth=0,this.autoResize=!1,this.visible=!1,this.initialized=!1,this.initialRedraw=!1,this.registerTableOption("autoResize",!0)}initialize(){if(this.table.options.autoResize){var e=this.table,r;this.tableHeight=e.element.clientHeight,this.tableWidth=e.element.clientWidth,e.element.parentNode&&(this.containerHeight=e.element.parentNode.clientHeight,this.containerWidth=e.element.parentNode.clientWidth),typeof IntersectionObserver<"u"&&typeof ResizeObserver<"u"&&e.rowManager.getRenderMode()==="virtual"?(this.initializeVisibilityObserver(),this.autoResize=!0,this.resizeObserver=new ResizeObserver(S=>{if(!e.browserMobile||e.browserMobile&&(!e.modules.edit||e.modules.edit&&!e.modules.edit.currentCell)){var D=Math.floor(S[0].contentRect.height),T=Math.floor(S[0].contentRect.width);(this.tableHeight!=D||this.tableWidth!=T)&&(this.tableHeight=D,this.tableWidth=T,e.element.parentNode&&(this.containerHeight=e.element.parentNode.clientHeight,this.containerWidth=e.element.parentNode.clientWidth),this.redrawTable())}}),this.resizeObserver.observe(e.element),r=window.getComputedStyle(e.element),this.table.element.parentNode&&!this.table.rowManager.fixedHeight&&(r.getPropertyValue("max-height")||r.getPropertyValue("min-height"))&&(this.containerObserver=new ResizeObserver(S=>{if(!e.browserMobile||e.browserMobile&&(!e.modules.edit||e.modules.edit&&!e.modules.edit.currentCell)){var D=Math.floor(S[0].contentRect.height),T=Math.floor(S[0].contentRect.width);(this.containerHeight!=D||this.containerWidth!=T)&&(this.containerHeight=D,this.containerWidth=T,this.tableHeight=e.element.clientHeight,this.tableWidth=e.element.clientWidth),this.redrawTable()}}),this.containerObserver.observe(this.table.element.parentNode)),this.subscribe("table-resize",this.tableResized.bind(this))):(this.binding=function(){(!e.browserMobile||e.browserMobile&&(!e.modules.edit||e.modules.edit&&!e.modules.edit.currentCell))&&(e.columnManager.rerenderColumns(!0),e.redraw())},window.addEventListener("resize",this.binding)),this.subscribe("table-destroy",this.clearBindings.bind(this))}}initializeVisibilityObserver(){this.visibilityObserver=new IntersectionObserver(e=>{this.visible=e[0].isIntersecting,this.initialized?this.visible&&(this.redrawTable(this.initialRedraw),this.initialRedraw=!1):(this.initialized=!0,this.initialRedraw=!this.visible)}),this.visibilityObserver.observe(this.table.element)}redrawTable(e){this.initialized&&this.visible&&(this.table.columnManager.rerenderColumns(!0),this.table.redraw(e))}tableResized(){this.table.rowManager.redraw()}clearBindings(){this.binding&&window.removeEventListener("resize",this.binding),this.resizeObserver&&this.resizeObserver.unobserve(this.table.element),this.visibilityObserver&&this.visibilityObserver.unobserve(this.table.element),this.containerObserver&&this.containerObserver.unobserve(this.table.element.parentNode)}}$M.moduleName="resizeTable";class ZM extends qi{constructor(e){super(e),this.columns=[],this.hiddenColumns=[],this.mode="",this.index=0,this.collapseFormatter=[],this.collapseStartOpen=!0,this.collapseHandleColumn=!1,this.registerTableOption("responsiveLayout",!1),this.registerTableOption("responsiveLayoutCollapseStartOpen",!0),this.registerTableOption("responsiveLayoutCollapseUseFormatters",!0),this.registerTableOption("responsiveLayoutCollapseFormatter",!1),this.registerColumnOption("responsive")}initialize(){this.table.options.responsiveLayout&&(this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("column-show",this.updateColumnVisibility.bind(this)),this.subscribe("column-hide",this.updateColumnVisibility.bind(this)),this.subscribe("columns-loaded",this.initializeResponsivity.bind(this)),this.subscribe("column-moved",this.initializeResponsivity.bind(this)),this.subscribe("column-add",this.initializeResponsivity.bind(this)),this.subscribe("column-delete",this.initializeResponsivity.bind(this)),this.subscribe("table-redrawing",this.tableRedraw.bind(this)),this.table.options.responsiveLayout==="collapse"&&(this.subscribe("row-data-changed",this.generateCollapsedRowContent.bind(this)),this.subscribe("row-init",this.initializeRow.bind(this)),this.subscribe("row-layout",this.layoutRow.bind(this))))}tableRedraw(e){["fitColumns","fitDataStretch"].indexOf(this.layoutMode())===-1&&(e||this.update())}initializeResponsivity(){var e=[];this.mode=this.table.options.responsiveLayout,this.collapseFormatter=this.table.options.responsiveLayoutCollapseFormatter||this.formatCollapsedData,this.collapseStartOpen=this.table.options.responsiveLayoutCollapseStartOpen,this.hiddenColumns=[],this.table.columnManager.columnsByIndex.forEach((r,S)=>{r.modules.responsive&&r.modules.responsive.order&&r.modules.responsive.visible&&(r.modules.responsive.index=S,e.push(r),!r.visible&&this.mode==="collapse"&&this.hiddenColumns.push(r))}),e=e.reverse(),e=e.sort((r,S)=>{var D=S.modules.responsive.order-r.modules.responsive.order;return D||S.modules.responsive.index-r.modules.responsive.index}),this.columns=e,this.mode==="collapse"&&this.generateCollapsedContent();for(let r of this.table.columnManager.columnsByIndex)if(r.definition.formatter=="responsiveCollapse"){this.collapseHandleColumn=r;break}this.collapseHandleColumn&&(this.hiddenColumns.length?this.collapseHandleColumn.show():this.collapseHandleColumn.hide())}initializeColumn(e){var r=e.getDefinition();e.modules.responsive={order:typeof r.responsive>"u"?1:r.responsive,visible:r.visible!==!1}}initializeRow(e){var r;e.type!=="calc"&&(r=document.createElement("div"),r.classList.add("tabulator-responsive-collapse"),e.modules.responsiveLayout={element:r,open:this.collapseStartOpen},this.collapseStartOpen||(r.style.display="none"))}layoutRow(e){var r=e.getElement();e.modules.responsiveLayout&&(r.appendChild(e.modules.responsiveLayout.element),this.generateCollapsedRowContent(e))}updateColumnVisibility(e,r){!r&&e.modules.responsive&&(e.modules.responsive.visible=e.visible,this.initializeResponsivity())}hideColumn(e){var r=this.hiddenColumns.length;e.hide(!1,!0),this.mode==="collapse"&&(this.hiddenColumns.unshift(e),this.generateCollapsedContent(),this.collapseHandleColumn&&!r&&this.collapseHandleColumn.show())}showColumn(e){var r;e.show(!1,!0),e.setWidth(e.getWidth()),this.mode==="collapse"&&(r=this.hiddenColumns.indexOf(e),r>-1&&this.hiddenColumns.splice(r,1),this.generateCollapsedContent(),this.collapseHandleColumn&&!this.hiddenColumns.length&&this.collapseHandleColumn.hide())}update(){for(var e=!0;e;){let r=this.table.modules.layout.getMode()=="fitColumns"?this.table.columnManager.getFlexBaseWidth():this.table.columnManager.getWidth(),S=(this.table.options.headerVisible?this.table.columnManager.element.clientWidth:this.table.element.clientWidth)-r;if(S<0){let D=this.columns[this.index];D?(this.hideColumn(D),this.index++):e=!1}else{let D=this.columns[this.index-1];D&&S>0&&S>=D.getWidth()?(this.showColumn(D),this.index--):e=!1}this.table.rowManager.activeRowsCount||this.table.rowManager.renderEmptyScroll()}}generateCollapsedContent(){var e=this.table.rowManager.getDisplayRows();e.forEach(r=>{this.generateCollapsedRowContent(r)})}generateCollapsedRowContent(e){var r,S;if(e.modules.responsiveLayout){for(r=e.modules.responsiveLayout.element;r.firstChild;)r.removeChild(r.firstChild);S=this.collapseFormatter(this.generateCollapsedRowData(e)),S&&r.appendChild(S)}}generateCollapsedRowData(e){var r=e.getData(),S=[],D;return this.hiddenColumns.forEach(T=>{var p=T.getFieldValue(r);if(T.definition.title&&T.field)if(T.modules.format&&this.table.options.responsiveLayoutCollapseUseFormatters){let d=function(g){g()};var t=d;D={value:!1,data:{},getValue:function(){return p},getData:function(){return r},getType:function(){return"cell"},getElement:function(){return document.createElement("div")},getRow:function(){return e.getComponent()},getColumn:function(){return T.getComponent()},getTable:()=>this.table},S.push({field:T.field,title:T.definition.title,value:T.modules.format.formatter.call(this.table.modules.format,D,T.modules.format.params,d)})}else S.push({field:T.field,title:T.definition.title,value:p})}),S}formatCollapsedData(e){var r=document.createElement("table");return e.forEach(function(S){var D=document.createElement("tr"),T=document.createElement("td"),p=document.createElement("td"),t,d=document.createElement("strong");T.appendChild(d),this.langBind("columns|"+S.field,function(g){d.innerHTML=g||S.title}),S.value instanceof Node?(t=document.createElement("div"),t.appendChild(S.value),p.appendChild(t)):p.innerHTML=S.value,D.appendChild(T),D.appendChild(p),r.appendChild(D)},this),Object.keys(e).length?r:""}}ZM.moduleName="responsiveLayout";class XM extends qi{constructor(e){super(e),this.selecting=!1,this.lastClickedRow=!1,this.selectPrev=[],this.selectedRows=[],this.headerCheckboxElement=null,this.registerTableOption("selectableRows","highlight"),this.registerTableOption("selectableRowsRangeMode","drag"),this.registerTableOption("selectableRowsRollingSelection",!0),this.registerTableOption("selectableRowsPersistence",!0),this.registerTableOption("selectableRowsCheck",function(r,S){return!0}),this.registerTableFunction("selectRow",this.selectRows.bind(this)),this.registerTableFunction("deselectRow",this.deselectRows.bind(this)),this.registerTableFunction("toggleSelectRow",this.toggleRow.bind(this)),this.registerTableFunction("getSelectedRows",this.getSelectedRows.bind(this)),this.registerTableFunction("getSelectedData",this.getSelectedData.bind(this)),this.registerComponentFunction("row","select",this.selectRows.bind(this)),this.registerComponentFunction("row","deselect",this.deselectRows.bind(this)),this.registerComponentFunction("row","toggleSelect",this.toggleRow.bind(this)),this.registerComponentFunction("row","isSelected",this.isRowSelected.bind(this))}initialize(){this.deprecatedOptionsCheck(),this.table.options.selectableRows==="highlight"&&this.table.options.selectableRange&&(this.table.options.selectableRows=!1),this.table.options.selectableRows!==!1&&(this.subscribe("row-init",this.initializeRow.bind(this)),this.subscribe("row-deleting",this.rowDeleted.bind(this)),this.subscribe("rows-wipe",this.clearSelectionData.bind(this)),this.subscribe("rows-retrieve",this.rowRetrieve.bind(this)),this.table.options.selectableRows&&!this.table.options.selectableRowsPersistence&&this.subscribe("data-refreshing",this.deselectRows.bind(this)))}deprecatedOptionsCheck(){this.deprecationCheck("selectable","selectableRows",!0),this.deprecationCheck("selectableRollingSelection","selectableRowsRollingSelection",!0),this.deprecationCheck("selectableRangeMode","selectableRowsRangeMode",!0),this.deprecationCheck("selectablePersistence","selectableRowsPersistence",!0),this.deprecationCheck("selectableCheck","selectableRowsCheck",!0)}rowRetrieve(e,r){return e==="selected"?this.selectedRows:r}rowDeleted(e){this._deselectRow(e,!0)}clearSelectionData(e){var r=this.selectedRows.length;this.selecting=!1,this.lastClickedRow=!1,this.selectPrev=[],this.selectedRows=[],r&&e!==!0&&this._rowSelectionChanged()}initializeRow(e){var r=this,S=r.checkRowSelectability(e),D=e.getElement(),T=function(){setTimeout(function(){r.selecting=!1},50),document.body.removeEventListener("mouseup",T)};e.modules.select={selected:!1},D.classList.toggle("tabulator-selectable",S),D.classList.toggle("tabulator-unselectable",!S),r.checkRowSelectability(e)&&r.table.options.selectableRows&&r.table.options.selectableRows!="highlight"&&(r.table.options.selectableRowsRangeMode==="click"?D.addEventListener("click",this.handleComplexRowClick.bind(this,e)):(D.addEventListener("click",function(p){(!r.table.modExists("edit")||!r.table.modules.edit.getCurrentCell())&&r.table._clearSelection(),r.selecting||r.toggleRow(e)}),D.addEventListener("mousedown",function(p){if(p.shiftKey)return r.table._clearSelection(),r.selecting=!0,r.selectPrev=[],document.body.addEventListener("mouseup",T),document.body.addEventListener("keyup",T),r.toggleRow(e),!1}),D.addEventListener("mouseenter",function(p){r.selecting&&(r.table._clearSelection(),r.toggleRow(e),r.selectPrev[1]==e&&r.toggleRow(r.selectPrev[0]))}),D.addEventListener("mouseout",function(p){r.selecting&&(r.table._clearSelection(),r.selectPrev.unshift(e))})))}handleComplexRowClick(e,r){if(r.shiftKey){this.table._clearSelection(),this.lastClickedRow=this.lastClickedRow||e;var S=this.table.rowManager.getDisplayRowIndex(this.lastClickedRow),D=this.table.rowManager.getDisplayRowIndex(e),T=S<=D?S:D,p=S>=D?S:D,t=this.table.rowManager.getDisplayRows().slice(0),d=t.splice(T,p-T+1);r.ctrlKey||r.metaKey?(d.forEach(g=>{g!==this.lastClickedRow&&(this.table.options.selectableRows!==!0&&!this.isRowSelected(e)?this.selectedRows.lengththis.table.options.selectableRows&&(d=d.slice(0,this.table.options.selectableRows)),this.selectRows(d)),this.table._clearSelection()}else r.ctrlKey||r.metaKey?(this.toggleRow(e),this.lastClickedRow=e):(this.deselectRows(void 0,!0),this.selectRows(e),this.lastClickedRow=e)}checkRowSelectability(e){return e&&e.type==="row"?this.table.options.selectableRowsCheck.call(this.table,e.getComponent()):!1}toggleRow(e){this.checkRowSelectability(e)&&(e.modules.select&&e.modules.select.selected?this._deselectRow(e):this._selectRow(e))}selectRows(e){var r=[],S,D;switch(typeof e){case"undefined":S=this.table.rowManager.rows;break;case"number":S=this.table.rowManager.findRow(e);break;case"string":S=this.table.rowManager.findRow(e),S||(S=this.table.rowManager.getRows(e));break;default:S=e;break}Array.isArray(S)?S.length&&(S.forEach(T=>{D=this._selectRow(T,!0,!0),D&&r.push(D)}),this._rowSelectionChanged(!1,r)):S&&this._selectRow(S,!1,!0)}_selectRow(e,r,S){if(!isNaN(this.table.options.selectableRows)&&this.table.options.selectableRows!==!0&&!S&&this.selectedRows.length>=this.table.options.selectableRows)if(this.table.options.selectableRowsRollingSelection)this._deselectRow(this.selectedRows[0]);else return!1;var D=this.table.rowManager.findRow(e);if(D){if(this.selectedRows.indexOf(D)==-1)return D.getElement().classList.add("tabulator-selected"),D.modules.select||(D.modules.select={}),D.modules.select.selected=!0,D.modules.select.checkboxEl&&(D.modules.select.checkboxEl.checked=!0),this.selectedRows.push(D),this.table.options.dataTreeSelectPropagate&&this.childRowSelection(D,!0),this.dispatchExternal("rowSelected",D.getComponent()),this._rowSelectionChanged(r,D),D}else r||console.warn("Selection Error - No such row found, ignoring selection:"+e)}isRowSelected(e){return this.selectedRows.indexOf(e)!==-1}deselectRows(e,r){var S=[],D,T;switch(typeof e){case"undefined":D=Object.assign([],this.selectedRows);break;case"number":D=this.table.rowManager.findRow(e);break;case"string":D=this.table.rowManager.findRow(e),D||(D=this.table.rowManager.getRows(e));break;default:D=e;break}Array.isArray(D)?D.length&&(D.forEach(p=>{T=this._deselectRow(p,!0,!0),T&&S.push(T)}),this._rowSelectionChanged(r,[],S)):D&&this._deselectRow(D,r,!0)}_deselectRow(e,r){var S=this,D=S.table.rowManager.findRow(e),T,p;if(D){if(T=S.selectedRows.findIndex(function(t){return t==D}),T>-1)return p=D.getElement(),p&&p.classList.remove("tabulator-selected"),D.modules.select||(D.modules.select={}),D.modules.select.selected=!1,D.modules.select.checkboxEl&&(D.modules.select.checkboxEl.checked=!1),S.selectedRows.splice(T,1),this.table.options.dataTreeSelectPropagate&&this.childRowSelection(D,!1),this.dispatchExternal("rowDeselected",D.getComponent()),S._rowSelectionChanged(r,void 0,D),D}else r||console.warn("Deselection Error - No such row found, ignoring selection:"+e)}getSelectedData(){var e=[];return this.selectedRows.forEach(function(r){e.push(r.getData())}),e}getSelectedRows(){var e=[];return this.selectedRows.forEach(function(r){e.push(r.getComponent())}),e}_rowSelectionChanged(e,r=[],S=[]){this.headerCheckboxElement&&(this.selectedRows.length===0?(this.headerCheckboxElement.checked=!1,this.headerCheckboxElement.indeterminate=!1):this.table.rowManager.rows.length===this.selectedRows.length?(this.headerCheckboxElement.checked=!0,this.headerCheckboxElement.indeterminate=!1):(this.headerCheckboxElement.indeterminate=!0,this.headerCheckboxElement.checked=!1)),e||(Array.isArray(r)||(r=[r]),r=r.map(D=>D.getComponent()),Array.isArray(S)||(S=[S]),S=S.map(D=>D.getComponent()),this.dispatchExternal("rowSelectionChanged",this.getSelectedData(),this.getSelectedRows(),r,S))}registerRowSelectCheckbox(e,r){e._row.modules.select||(e._row.modules.select={}),e._row.modules.select.checkboxEl=r}registerHeaderSelectCheckbox(e){this.headerCheckboxElement=e}childRowSelection(e,r){var S=this.table.modules.dataTree.getChildren(e,!0);if(r)for(let D of S)this._selectRow(D,!0);else for(let D of S)this._deselectRow(D,!0)}}XM.moduleName="selectRow";function wP(n,e,r,S,D,T,p){var t=p.alignEmptyValues,d=p.decimalSeparator,g=p.thousandSeparator,i=0;if(n=String(n),e=String(e),g&&(n=n.split(g).join(""),e=e.split(g).join("")),d&&(n=n.split(d).join("."),e=e.split(d).join(".")),n=parseFloat(n),e=parseFloat(e),isNaN(n))i=isNaN(e)?0:-1;else if(isNaN(e))i=1;else return n-e;return(t==="top"&&T==="desc"||t==="bottom"&&T==="asc")&&(i*=-1),i}function TP(n,e,r,S,D,T,p){var t=p.alignEmptyValues,d=0,g;if(!n)d=e?-1:0;else if(!e)d=1;else{switch(typeof p.locale){case"boolean":p.locale&&(g=this.langLocale());break;case"string":g=p.locale;break}return String(n).toLowerCase().localeCompare(String(e).toLowerCase(),g)}return(t==="top"&&T==="desc"||t==="bottom"&&T==="asc")&&(d*=-1),d}function q2(n,e,r,S,D,T,p){var t=window.DateTime||luxon.DateTime,d=p.format||"dd/MM/yyyy HH:mm:ss",g=p.alignEmptyValues,i=0;if(typeof t<"u"){if(t.isDateTime(n)||(d==="iso"?n=t.fromISO(String(n)):n=t.fromFormat(String(n),d)),t.isDateTime(e)||(d==="iso"?e=t.fromISO(String(e)):e=t.fromFormat(String(e),d)),!n.isValid)i=e.isValid?-1:0;else if(!e.isValid)i=1;else return n-e;return(g==="top"&&T==="desc"||g==="bottom"&&T==="asc")&&(i*=-1),i}else console.error("Sort Error - 'datetime' sorter is dependant on luxon.js")}function kP(n,e,r,S,D,T,p){return p.format||(p.format="dd/MM/yyyy"),q2.call(this,n,e,r,S,D,T,p)}function MP(n,e,r,S,D,T,p){return p.format||(p.format="HH:mm"),q2.call(this,n,e,r,S,D,T,p)}function AP(n,e,r,S,D,T,p){var t=n===!0||n==="true"||n==="True"||n===1?1:0,d=e===!0||e==="true"||e==="True"||e===1?1:0;return t-d}function SP(n,e,r,S,D,T,p){var t=p.type||"length",d=p.alignEmptyValues,g=0;function i(M){var v;switch(t){case"length":v=M.length;break;case"sum":v=M.reduce(function(f,l){return f+l});break;case"max":v=Math.max.apply(null,M);break;case"min":v=Math.min.apply(null,M);break;case"avg":v=M.reduce(function(f,l){return f+l})/M.length;break}return v}if(!Array.isArray(n))g=Array.isArray(e)?-1:0;else if(!Array.isArray(e))g=1;else return i(e)-i(n);return(d==="top"&&T==="desc"||d==="bottom"&&T==="asc")&&(g*=-1),g}function CP(n,e,r,S,D,T,p){var t=typeof n>"u"?0:1,d=typeof e>"u"?0:1;return t-d}function EP(n,e,r,S,D,T,p){var t,d,g,i,M=0,v,f=/(\d+)|(\D+)/g,l=/\d/,a=p.alignEmptyValues,u=0;if(!n&&n!==0)u=!e&&e!==0?0:-1;else if(!e&&e!==0)u=1;else{if(isFinite(n)&&isFinite(e))return n-e;if(t=String(n).toLowerCase(),d=String(e).toLowerCase(),t===d)return 0;if(!(l.test(t)&&l.test(d)))return t>d?1:-1;for(t=t.match(f),d=d.match(f),v=t.length>d.length?d.length:t.length;Mi?1:-1;return t.length>d.length}return(a==="top"&&T==="desc"||a==="bottom"&&T==="asc")&&(u*=-1),u}var LP={number:wP,string:TP,date:kP,time:MP,datetime:q2,boolean:AP,array:SP,exists:CP,alphanum:EP};class jd extends qi{constructor(e){super(e),this.sortList=[],this.changed=!1,this.registerTableOption("sortMode","local"),this.registerTableOption("initialSort",!1),this.registerTableOption("columnHeaderSortMulti",!0),this.registerTableOption("sortOrderReverse",!1),this.registerTableOption("headerSortElement","
"),this.registerTableOption("headerSortClickElement","header"),this.registerColumnOption("sorter"),this.registerColumnOption("sorterParams"),this.registerColumnOption("headerSort",!0),this.registerColumnOption("headerSortStartingDir"),this.registerColumnOption("headerSortTristate")}initialize(){this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("table-built",this.tableBuilt.bind(this)),this.registerDataHandler(this.sort.bind(this),20),this.registerTableFunction("setSort",this.userSetSort.bind(this)),this.registerTableFunction("getSorters",this.getSort.bind(this)),this.registerTableFunction("clearSort",this.clearSort.bind(this)),this.table.options.sortMode==="remote"&&this.subscribe("data-params",this.remoteSortParams.bind(this))}tableBuilt(){this.table.options.initialSort&&this.setSort(this.table.options.initialSort)}remoteSortParams(e,r,S,D){var T=this.getSort();return T.forEach(p=>{delete p.column}),D.sort=T,D}userSetSort(e,r){this.setSort(e,r),this.refreshSort()}clearSort(){this.clear(),this.refreshSort()}initializeColumn(e){var r=!1,S,D;switch(typeof e.definition.sorter){case"string":jd.sorters[e.definition.sorter]?r=jd.sorters[e.definition.sorter]:console.warn("Sort Error - No such sorter found: ",e.definition.sorter);break;case"function":r=e.definition.sorter;break}if(e.modules.sort={sorter:r,dir:"none",params:e.definition.sorterParams||{},startingDir:e.definition.headerSortStartingDir||"asc",tristate:e.definition.headerSortTristate},e.definition.headerSort!==!1){switch(S=e.getElement(),S.classList.add("tabulator-sortable"),D=document.createElement("div"),D.classList.add("tabulator-col-sorter"),this.table.options.headerSortClickElement){case"icon":D.classList.add("tabulator-col-sorter-element");break;case"header":S.classList.add("tabulator-col-sorter-element");break;default:S.classList.add("tabulator-col-sorter-element");break}switch(this.table.options.headerSortElement){case"function":break;case"object":D.appendChild(this.table.options.headerSortElement);break;default:D.innerHTML=this.table.options.headerSortElement}e.titleHolderElement.appendChild(D),e.modules.sort.element=D,this.setColumnHeaderSortIcon(e,"none"),this.table.options.headerSortClickElement==="icon"&&D.addEventListener("mousedown",T=>{T.stopPropagation()}),(this.table.options.headerSortClickElement==="icon"?D:S).addEventListener("click",T=>{var p="",t=[],d=!1;if(e.modules.sort){if(e.modules.sort.tristate)e.modules.sort.dir=="none"?p=e.modules.sort.startingDir:e.modules.sort.dir==e.modules.sort.startingDir?p=e.modules.sort.dir=="asc"?"desc":"asc":p="none";else switch(e.modules.sort.dir){case"asc":p="desc";break;case"desc":p="asc";break;default:p=e.modules.sort.startingDir}this.table.options.columnHeaderSortMulti&&(T.shiftKey||T.ctrlKey)?(t=this.getSort(),d=t.findIndex(g=>g.field===e.getField()),d>-1?(t[d].dir=p,d=t.splice(d,1)[0],p!="none"&&t.push(d)):p!="none"&&t.push({column:e,dir:p}),this.setSort(t)):p=="none"?this.clear():this.setSort(e,p),this.refreshSort()}})}}refreshSort(){this.table.options.sortMode==="remote"?this.reloadData(null,!1,!1):this.refreshData(!0)}hasChanged(){var e=this.changed;return this.changed=!1,e}getSort(){var e=this,r=[];return e.sortList.forEach(function(S){S.column&&r.push({column:S.column.getComponent(),field:S.column.getField(),dir:S.dir})}),r}setSort(e,r){var S=this,D=[];Array.isArray(e)||(e=[{column:e,dir:r}]),e.forEach(function(T){var p;p=S.table.columnManager.findColumn(T.column),p?(T.column=p,D.push(T),S.changed=!0):console.warn("Sort Warning - Sort field does not exist and is being ignored: ",T.column)}),S.sortList=D,this.dispatch("sort-changed")}clear(){this.setSort([])}findSorter(e){var r=this.table.rowManager.activeRows[0],S="string",D,T;if(r&&(r=r.getData(),D=e.getField(),D))switch(T=e.getFieldValue(r),typeof T){case"undefined":S="string";break;case"boolean":S="boolean";break;default:!isNaN(T)&&T!==""?S="number":T.match(/((^[0-9]+[a-z]+)|(^[a-z]+[0-9]+))+$/i)&&(S="alphanum");break}return jd.sorters[S]}sort(e){var r=this,S=this.table.options.sortOrderReverse?r.sortList.slice().reverse():r.sortList,D=[],T=[];return this.subscribedExternal("dataSorting")&&this.dispatchExternal("dataSorting",r.getSort()),r.clearColumnHeaders(),this.table.options.sortMode!=="remote"?(S.forEach(function(p,t){var d;p.column&&(d=p.column.modules.sort,d&&(d.sorter||(d.sorter=r.findSorter(p.column)),p.params=typeof d.params=="function"?d.params(p.column.getComponent(),p.dir):d.params,D.push(p)),r.setColumnHeader(p.column,p.dir))}),D.length&&r._sortItems(e,D)):S.forEach(function(p,t){r.setColumnHeader(p.column,p.dir)}),this.subscribedExternal("dataSorted")&&(e.forEach(p=>{T.push(p.getComponent())}),this.dispatchExternal("dataSorted",r.getSort(),T)),e}clearColumnHeaders(){this.table.columnManager.getRealColumns().forEach(e=>{e.modules.sort&&(e.modules.sort.dir="none",e.getElement().setAttribute("aria-sort","none"),this.setColumnHeaderSortIcon(e,"none"))})}setColumnHeader(e,r){e.modules.sort.dir=r,e.getElement().setAttribute("aria-sort",r==="asc"?"ascending":"descending"),this.setColumnHeaderSortIcon(e,r)}setColumnHeaderSortIcon(e,r){var S=e.modules.sort.element,D;if(e.definition.headerSort&&typeof this.table.options.headerSortElement=="function"){for(;S.firstChild;)S.removeChild(S.firstChild);D=this.table.options.headerSortElement.call(this.table,e.getComponent(),r),typeof D=="object"?S.appendChild(D):S.innerHTML=D}}_sortItems(e,r){var S=r.length-1;e.sort((D,T)=>{for(var p,t=S;t>=0;t--){let d=r[t];if(p=this._sortRow(D,T,d.column,d.dir,d.params),p!==0)break}return p})}_sortRow(e,r,S,D,T){var p,t,d=D=="asc"?e:r,g=D=="asc"?r:e;return e=S.getFieldValue(d.getData()),r=S.getFieldValue(g.getData()),e=typeof e<"u"?e:"",r=typeof r<"u"?r:"",p=d.getComponent(),t=g.getComponent(),S.modules.sort.sorter.call(this,e,r,p,t,S.getComponent(),D,T)}}jd.moduleName="sort";jd.sorters=LP;class IP{constructor(e){return this._range=e,new Proxy(this,{get:function(r,S,D){return typeof r[S]<"u"?r[S]:r._range.table.componentFunctionBinder.handle("range",r._range,S)}})}getElement(){return this._range.element}getData(){return this._range.getData()}getCells(){return this._range.getCells(!0)}getStructuredCells(){return this._range.getStructuredCells()}getRows(){return this._range.getRows().map(e=>e.getComponent())}getColumns(){return this._range.getColumns().map(e=>e.getComponent())}getBounds(){return this._range.getBounds()}getTopEdge(){return this._range.top}getBottomEdge(){return this._range.bottom}getLeftEdge(){return this._range.left}getRightEdge(){return this._range.right}setBounds(e,r){this._range.destroyedGuard("setBounds")&&this._range.setBounds(e&&e._cell,r&&r._cell)}setStartBound(e){this._range.destroyedGuard("setStartBound")&&(this._range.setEndBound(e&&e._cell),this._range.rangeManager.layoutElement())}setEndBound(e){this._range.destroyedGuard("setEndBound")&&(this._range.setEndBound(e&&e._cell),this._range.rangeManager.layoutElement())}clearValues(){this._range.destroyedGuard("clearValues")&&this._range.clearValues()}remove(){this._range.destroyedGuard("remove")&&this._range.destroy(!0)}}class RP extends Ml{constructor(e,r,S,D){super(e),this.rangeManager=r,this.element=null,this.initialized=!1,this.initializing={start:!1,end:!1},this.destroyed=!1,this.top=0,this.bottom=0,this.left=0,this.right=0,this.table=e,this.start={row:0,col:0},this.end={row:0,col:0},this.rangeManager.rowHeader&&(this.left=1,this.right=1,this.start.col=1,this.end.col=1),this.initElement(),setTimeout(()=>{this.initBounds(S,D)})}initElement(){this.element=document.createElement("div"),this.element.classList.add("tabulator-range")}initBounds(e,r){this._updateMinMax(),e&&this.setBounds(e,r||e)}setStart(e,r){(this.start.row!==e||this.start.col!==r)&&(this.start.row=e,this.start.col=r,this.initializing.start=!0,this._updateMinMax())}setEnd(e,r){(this.end.row!==e||this.end.col!==r)&&(this.end.row=e,this.end.col=r,this.initializing.end=!0,this._updateMinMax())}setBounds(e,r,S){e&&this.setStartBound(e),this.setEndBound(r||e),this.rangeManager.layoutElement(S)}setStartBound(e){var r,S;e.type==="column"?this.rangeManager.columnSelection&&this.setStart(0,e.getPosition()-1):(r=e.row.position-1,S=e.column.getPosition()-1,e.column===this.rangeManager.rowHeader?this.setStart(r,1):this.setStart(r,S))}setEndBound(e){var r=this._getTableRows().length,S,D,T;e.type==="column"?this.rangeManager.columnSelection&&(this.rangeManager.selecting==="column"?this.setEnd(r-1,e.getPosition()-1):this.rangeManager.selecting==="cell"&&this.setEnd(0,e.getPosition()-1)):(S=e.row.position-1,D=e.column.getPosition()-1,T=e.column===this.rangeManager.rowHeader,this.rangeManager.selecting==="row"?this.setEnd(S,this._getTableColumns().length-1):this.rangeManager.selecting!=="row"&&T?this.setEnd(S,0):this.rangeManager.selecting==="column"?this.setEnd(r-1,D):this.setEnd(S,D))}_updateMinMax(){this.top=Math.min(this.start.row,this.end.row),this.bottom=Math.max(this.start.row,this.end.row),this.left=Math.min(this.start.col,this.end.col),this.right=Math.max(this.start.col,this.end.col),this.initialized?this.dispatchExternal("rangeChanged",this.getComponent()):this.initializing.start&&this.initializing.end&&(this.initialized=!0,this.dispatchExternal("rangeAdded",this.getComponent()))}_getTableColumns(){return this.table.columnManager.getVisibleColumnsByIndex()}_getTableRows(){return this.table.rowManager.getDisplayRows()}layout(){var e=this.table.rowManager.renderer.vDomTop,r=this.table.rowManager.renderer.vDomBottom,S=this.table.columnManager.renderer.leftCol,D=this.table.columnManager.renderer.rightCol,T,p,t,d,g,i;e==null&&(e=0),r==null&&(r=1/0),S==null&&(S=0),D==null&&(D=1/0),this.overlaps(S,e,D,r)&&(T=Math.max(this.top,e),p=Math.min(this.bottom,r),t=Math.max(this.left,S),d=Math.min(this.right,D),g=this.rangeManager.getCell(T,t),i=this.rangeManager.getCell(p,d),this.element.classList.add("tabulator-range-active"),this.element.style.left=g.row.getElement().offsetLeft+g.getElement().offsetLeft+"px",this.element.style.top=g.row.getElement().offsetTop+"px",this.element.style.width=i.getElement().offsetLeft+i.getElement().offsetWidth-g.getElement().offsetLeft+"px",this.element.style.height=i.row.getElement().offsetTop+i.row.getElement().offsetHeight-g.row.getElement().offsetTop+"px")}atTopLeft(e){return e.row.position-1===this.top&&e.column.getPosition()-1===this.left}atBottomRight(e){return e.row.position-1===this.bottom&&e.column.getPosition()-1===this.right}occupies(e){return this.occupiesRow(e.row)&&this.occupiesColumn(e.column)}occupiesRow(e){return this.top<=e.position-1&&e.position-1<=this.bottom}occupiesColumn(e){return this.left<=e.getPosition()-1&&e.getPosition()-1<=this.right}overlaps(e,r,S,D){return!(this.left>S||e>this.right||this.top>D||r>this.bottom)}getData(){var e=[],r=this.getRows(),S=this.getColumns();return r.forEach(D=>{var T=D.getData(),p={};S.forEach(t=>{p[t.field]=T[t.field]}),e.push(p)}),e}getCells(e,r){var S=[],D=this.getRows(),T=this.getColumns();return e?S=D.map(p=>{var t=[];return p.getCells().forEach(d=>{T.includes(d.column)&&t.push(r?d.getComponent():d)}),t}):D.forEach(p=>{p.getCells().forEach(t=>{T.includes(t.column)&&S.push(r?t.getComponent():t)})}),S}getStructuredCells(){return this.getCells(!0,!0)}getRows(){return this._getTableRows().slice(this.top,this.bottom+1)}getColumns(){return this._getTableColumns().slice(this.left,this.right+1)}clearValues(){var e=this.getCells(),r=this.table.options.selectableRangeClearCellsValue;this.table.blockRedraw(),e.forEach(S=>{S.setValue(r)}),this.table.restoreRedraw()}getBounds(e){var r=this.getCells(!1,e),S={start:null,end:null};return r.length?(S.start=r[0],S.end=r[r.length-1]):console.warn("No bounds defined on range"),S}getComponent(){return this.component||(this.component=new IP(this)),this.component}destroy(e){this.destroyed=!0,this.element.remove(),e&&this.rangeManager.rangeRemoved(this),this.initialized&&this.dispatchExternal("rangeRemoved",this.getComponent())}destroyedGuard(e){return this.destroyed&&console.warn("You cannot call the "+e+" function on a destroyed range"),!this.destroyed}}class KM extends qi{constructor(e){super(e),this.selecting="cell",this.mousedown=!1,this.ranges=[],this.overlay=null,this.rowHeader=null,this.layoutChangeTimeout=null,this.columnSelection=!1,this.rowSelection=!1,this.maxRanges=0,this.activeRange=!1,this.blockKeydown=!1,this.keyDownEvent=this._handleKeyDown.bind(this),this.mouseUpEvent=this._handleMouseUp.bind(this),this.registerTableOption("selectableRange",!1),this.registerTableOption("selectableRangeColumns",!1),this.registerTableOption("selectableRangeRows",!1),this.registerTableOption("selectableRangeClearCells",!1),this.registerTableOption("selectableRangeClearCellsValue",void 0),this.registerTableFunction("getRangesData",this.getRangesData.bind(this)),this.registerTableFunction("getRanges",this.getRanges.bind(this)),this.registerTableFunction("addRange",this.addRangeFromComponent.bind(this)),this.registerComponentFunction("cell","getRanges",this.cellGetRanges.bind(this)),this.registerComponentFunction("row","getRanges",this.rowGetRanges.bind(this)),this.registerComponentFunction("column","getRanges",this.colGetRanges.bind(this))}initialize(){this.options("selectableRange")&&(this.options("selectableRows")?console.warn("SelectRange functionality cannot be used in conjunction with row selection"):(this.maxRanges=this.options("selectableRange"),this.initializeTable(),this.initializeWatchers()))}initializeTable(){this.overlay=document.createElement("div"),this.overlay.classList.add("tabulator-range-overlay"),this.rangeContainer=document.createElement("div"),this.rangeContainer.classList.add("tabulator-range-container"),this.activeRangeCellElement=document.createElement("div"),this.activeRangeCellElement.classList.add("tabulator-range-cell-active"),this.overlay.appendChild(this.rangeContainer),this.overlay.appendChild(this.activeRangeCellElement),this.table.rowManager.element.addEventListener("keydown",this.keyDownEvent),this.resetRanges(),this.table.rowManager.element.appendChild(this.overlay),this.table.columnManager.element.setAttribute("tabindex",0),this.table.element.classList.add("tabulator-ranges")}initializeWatchers(){this.columnSelection=this.options("selectableRangeColumns"),this.rowSelection=this.options("selectableRangeRows"),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("column-mousedown",this.handleColumnMouseDown.bind(this)),this.subscribe("column-mousemove",this.handleColumnMouseMove.bind(this)),this.subscribe("column-resized",this.handleColumnResized.bind(this)),this.subscribe("column-width",this.layoutChange.bind(this)),this.subscribe("column-height",this.layoutChange.bind(this)),this.subscribe("column-resized",this.layoutChange.bind(this)),this.subscribe("columns-loaded",this.updateHeaderColumn.bind(this)),this.subscribe("cell-height",this.layoutChange.bind(this)),this.subscribe("cell-rendered",this.renderCell.bind(this)),this.subscribe("cell-mousedown",this.handleCellMouseDown.bind(this)),this.subscribe("cell-mousemove",this.handleCellMouseMove.bind(this)),this.subscribe("cell-click",this.handleCellClick.bind(this)),this.subscribe("cell-editing",this.handleEditingCell.bind(this)),this.subscribe("page-changed",this.redraw.bind(this)),this.subscribe("scroll-vertical",this.layoutChange.bind(this)),this.subscribe("scroll-horizontal",this.layoutChange.bind(this)),this.subscribe("data-destroy",this.tableDestroyed.bind(this)),this.subscribe("data-processed",this.resetRanges.bind(this)),this.subscribe("table-layout",this.layoutElement.bind(this)),this.subscribe("table-redraw",this.redraw.bind(this)),this.subscribe("table-destroy",this.tableDestroyed.bind(this)),this.subscribe("edit-editor-clear",this.finishEditingCell.bind(this)),this.subscribe("edit-blur",this.restoreFocus.bind(this)),this.subscribe("keybinding-nav-prev",this.keyNavigate.bind(this,"left")),this.subscribe("keybinding-nav-next",this.keyNavigate.bind(this,"right")),this.subscribe("keybinding-nav-left",this.keyNavigate.bind(this,"left")),this.subscribe("keybinding-nav-right",this.keyNavigate.bind(this,"right")),this.subscribe("keybinding-nav-up",this.keyNavigate.bind(this,"up")),this.subscribe("keybinding-nav-down",this.keyNavigate.bind(this,"down")),this.subscribe("keybinding-nav-range",this.keyNavigateRange.bind(this))}initializeColumn(e){this.columnSelection&&e.definition.headerSort&&this.options("headerSortClickElement")!=="icon"&&console.warn("Using column headerSort with selectableRangeColumns option may result in unpredictable behavior. Consider using headerSortClickElement: 'icon'."),e.modules.edit}updateHeaderColumn(){this.rowSelection&&(this.rowHeader=this.table.columnManager.getVisibleColumnsByIndex()[0],this.rowHeader&&(this.rowHeader.definition.cssClass=this.rowHeader.definition.cssClass+" tabulator-range-row-header",this.rowHeader.definition.headerSort&&console.warn("Using column headerSort with selectableRangeRows option may result in unpredictable behavior"),this.rowHeader.definition.editor&&console.warn("Using column editor with selectableRangeRows option may result in unpredictable behavior")))}getRanges(){return this.ranges.map(e=>e.getComponent())}getRangesData(){return this.ranges.map(e=>e.getData())}addRangeFromComponent(e,r){return e=e?e._cell:null,r=r?r._cell:null,this.addRange(e,r)}cellGetRanges(e){var r=[];return e.column===this.rowHeader?r=this.ranges.filter(S=>S.occupiesRow(e.row)):r=this.ranges.filter(S=>S.occupies(e)),r.map(S=>S.getComponent())}rowGetRanges(e){var r=this.ranges.filter(S=>S.occupiesRow(e));return r.map(S=>S.getComponent())}colGetRanges(e){var r=this.ranges.filter(S=>S.occupiesColumn(e));return r.map(S=>S.getComponent())}_handleMouseUp(e){this.mousedown=!1,document.removeEventListener("mouseup",this.mouseUpEvent)}_handleKeyDown(e){if(!this.blockKeydown&&(!this.table.modules.edit||this.table.modules.edit&&!this.table.modules.edit.currentCell)){if(e.key==="Enter"){if(this.table.modules.edit&&this.table.modules.edit.currentCell)return;this.table.modules.edit.editCell(this.getActiveCell()),e.preventDefault()}(e.key==="Backspace"||e.key==="Delete")&&this.options("selectableRangeClearCells")&&this.activeRange&&this.activeRange.clearValues()}}initializeFocus(e){var r;try{document.selection?(r=document.body.createTextRange(),r.moveToElementText(e.getElement()),r.select()):window.getSelection&&(r=document.createRange(),r.selectNode(e.getElement()),window.getSelection().removeAllRanges(),window.getSelection().addRange(r))}catch{}}restoreFocus(e){return this.table.rowManager.element.focus(),!0}handleColumnResized(e){var r;this.selecting!=="column"&&this.selecting!=="all"||(r=this.ranges.some(S=>S.occupiesColumn(e)),r&&this.ranges.forEach(S=>{var D=S.getColumns(!0);D.forEach(T=>{T!==e&&T.setWidth(e.width)})}))}handleColumnMouseDown(e,r){e.button===2&&(this.selecting==="column"||this.selecting==="all")&&this.activeRange.occupiesColumn(r)||(this.mousedown=!0,document.addEventListener("mouseup",this.mouseUpEvent),this.newSelection(e,r))}handleColumnMouseMove(e,r){r===this.rowHeader||!this.mousedown||this.selecting==="all"||this.activeRange.setBounds(!1,r,!0)}renderCell(e){var r=e.getElement(),S=this.ranges.findIndex(D=>D.occupies(e));r.classList.toggle("tabulator-range-selected",S!==-1),r.classList.toggle("tabulator-range-only-cell-selected",this.ranges.length===1&&this.ranges[0].atTopLeft(e)&&this.ranges[0].atBottomRight(e)),r.dataset.range=S}handleCellMouseDown(e,r){e.button===2&&(this.activeRange.occupies(r)||(this.selecting==="row"||this.selecting==="all")&&this.activeRange.occupiesRow(r.row))||(this.mousedown=!0,document.addEventListener("mouseup",this.mouseUpEvent),this.newSelection(e,r))}handleCellMouseMove(e,r){!this.mousedown||this.selecting==="all"||this.activeRange.setBounds(!1,r,!0)}handleCellClick(e,r){this.initializeFocus(r)}handleEditingCell(e){this.activeRange&&this.activeRange.setBounds(e)}finishEditingCell(){this.blockKeydown=!0,this.table.rowManager.element.focus(),setTimeout(()=>{this.blockKeydown=!1},10)}keyNavigate(e,r){this.navigate(!1,!1,e)&&r.preventDefault()}keyNavigateRange(e,r,S,D){this.navigate(S,D,r)&&e.preventDefault()}navigate(e,r,S){var D=!1,T,p,t,d,g,i;if(this.table.modules.edit&&this.table.modules.edit.currentCell)return!1;if(this.ranges.length>1&&(this.ranges=this.ranges.filter(M=>M===this.activeRange?(M.setEnd(M.start.row,M.start.col),!0):(M.destroy(),!1))),T=this.activeRange,p=r?T.end:T.start,t=p.row,d=p.col,e)switch(S){case"left":d=this.findJumpCellLeft(T.start.row,p.col);break;case"right":d=this.findJumpCellRight(T.start.row,p.col);break;case"up":t=this.findJumpCellUp(p.row,T.start.col);break;case"down":t=this.findJumpCellDown(p.row,T.start.col);break}else{if(r&&(this.selecting==="row"&&(S==="left"||S==="right")||this.selecting==="column"&&(S==="up"||S==="down")))return;switch(S){case"left":d=Math.max(d-1,0);break;case"right":d=Math.min(d+1,this.getTableColumns().length-1);break;case"up":t=Math.max(t-1,0);break;case"down":t=Math.min(t+1,this.getTableRows().length-1);break}}if(D=d!==p.col||t!==p.row,r||T.setStart(t,d),T.setEnd(t,d),r||(this.selecting="cell"),D)return g=this.getRowByRangePos(T.end.row),i=this.getColumnByRangePos(T.end.col),(S==="left"||S==="right")&&i.getElement().parentNode===null?i.getComponent().scrollTo(void 0,!1):(S==="up"||S==="down")&&g.getElement().parentNode===null?g.getComponent().scrollTo(void 0,!1):this.autoScroll(T,g.getElement(),i.getElement()),this.layoutElement(),!0}rangeRemoved(e){this.ranges=this.ranges.filter(r=>r!==e),this.activeRange===e&&(this.ranges.length?this.activeRange=this.ranges[this.ranges.length-1]:this.addRange()),this.layoutElement()}findJumpCell(e,r,S,D){var T;r&&(e=e.reverse());for(let p of e){let t=p.getValue();if(S){if(T=p,t)break}else if(D){if(T=p,t)break}else if(t)T=p;else break}return T}findJumpCellLeft(e,r){var S=this.getRowByRangePos(e),D=S.cells.filter(i=>i.column.visible),T=!D[r].getValue(),p=D[r]?!D[r].getValue():!1,t=r,d=this.rowHeader?D.slice(1,r):D.slice(0,r),g=this.findJumpCell(d,!0,T,p);return g&&(t=g.column.getPosition()-1),t}findJumpCellRight(e,r){var S=this.getRowByRangePos(e),D=S.cells.filter(g=>g.column.visible),T=!D[r].getValue(),p=D[r+1]?!D[r+1].getValue():!1,t=r,d=this.findJumpCell(D.slice(r+1,D.length),!1,T,p);return d&&(t=d.column.getPosition()-1),t}findJumpCellUp(e,r){var S=this.getColumnByRangePos(r),D=S.cells.filter(g=>this.table.rowManager.activeRows.includes(g.row)),T=!D[e].getValue(),p=D[e-1]?!D[e-1].getValue():!1,t=e,d=this.findJumpCell(D.slice(0,t),!0,T,p);return d&&(t=d.row.position-1),t}findJumpCellDown(e,r){var S=this.getColumnByRangePos(r),D=S.cells.filter(g=>this.table.rowManager.activeRows.includes(g.row)),T=!D[e].getValue(),p=D[e+1]?!D[e+1].getValue():!1,t=e,d=this.findJumpCell(D.slice(t+1,D.length),!1,T,p);return d&&(t=d.row.position-1),t}newSelection(e,r){var S;if(r.type==="column"){if(!this.columnSelection)return;if(r===this.rowHeader){S=this.resetRanges(),this.selecting="all";var D,T=this.getCell(-1,-1);this.rowHeader?D=this.getCell(0,1):D=this.getCell(0,0),S.setBounds(D,T);return}else this.selecting="column"}else r.column===this.rowHeader?this.selecting="row":this.selecting="cell";e.shiftKey?this.activeRange.setBounds(!1,r):e.ctrlKey?this.addRange().setBounds(r):this.resetRanges().setBounds(r)}autoScroll(e,r,S){var D=this.table.rowManager.element,T,p,t,d,g;typeof r>"u"&&(r=this.getRowByRangePos(e.end.row).getElement()),typeof S>"u"&&(S=this.getColumnByRangePos(e.end.col).getElement()),this.rowHeader&&(T=this.rowHeader.getElement()),p={left:S.offsetLeft,right:S.offsetLeft+S.offsetWidth,top:r.offsetTop,bottom:r.offsetTop+r.offsetHeight},t={left:D.scrollLeft,right:Math.ceil(D.scrollLeft+D.clientWidth),top:D.scrollTop,bottom:D.scrollTop+D.offsetHeight-this.table.rowManager.scrollbarWidth},T&&(t.left+=T.offsetWidth),d=t.leftt.right&&(D.scrollLeft=p.right-D.clientWidth)),g||(p.topt.bottom&&(D.scrollTop=p.bottom-D.clientHeight))}layoutChange(){this.overlay.style.visibility="hidden",clearTimeout(this.layoutChangeTimeout),this.layoutChangeTimeout=setTimeout(this.layoutRanges.bind(this),200)}redraw(e){e&&(this.selecting="cell",this.resetRanges(),this.layoutElement())}layoutElement(e){var r;e?r=this.table.rowManager.getVisibleRows(!0):r=this.table.rowManager.getRows(),r.forEach(S=>{S.type==="row"&&(this.layoutRow(S),S.cells.forEach(D=>this.renderCell(D)))}),this.getTableColumns().forEach(S=>{this.layoutColumn(S)}),this.layoutRanges()}layoutRow(e){var r=e.getElement(),S=!1,D=this.ranges.some(T=>T.occupiesRow(e));this.selecting==="row"?S=D:this.selecting==="all"&&(S=!0),r.classList.toggle("tabulator-range-selected",S),r.classList.toggle("tabulator-range-highlight",D)}layoutColumn(e){var r=e.getElement(),S=!1,D=this.ranges.some(T=>T.occupiesColumn(e));this.selecting==="column"?S=D:this.selecting==="all"&&(S=!0),r.classList.toggle("tabulator-range-selected",S),r.classList.toggle("tabulator-range-highlight",D)}layoutRanges(){var e;this.table.initialized&&(e=this.getActiveCell(),e&&(this.activeRangeCellElement.style.left=e.row.getElement().offsetLeft+e.getElement().offsetLeft+"px",this.activeRangeCellElement.style.top=e.row.getElement().offsetTop+"px",this.activeRangeCellElement.style.width=e.getElement().offsetLeft+e.getElement().offsetWidth-e.getElement().offsetLeft+"px",this.activeRangeCellElement.style.height=e.row.getElement().offsetTop+e.row.getElement().offsetHeight-e.row.getElement().offsetTop+"px",this.ranges.forEach(r=>r.layout()),this.overlay.style.visibility="visible"))}getCell(e,r){var S;return r<0&&(r=this.getTableColumns().length+r,r<0)?null:(e<0&&(e=this.getTableRows().length+e),S=this.table.rowManager.getRowFromPosition(e+1),S?S.getCells(!1,!0).filter(D=>D.column.visible)[r]:null)}getActiveCell(){return this.getCell(this.activeRange.start.row,this.activeRange.start.col)}getRowByRangePos(e){return this.getTableRows()[e]}getColumnByRangePos(e){return this.getTableColumns()[e]}getTableRows(){return this.table.rowManager.getDisplayRows()}getTableColumns(){return this.table.columnManager.getVisibleColumnsByIndex()}addRange(e,r){var S;return this.maxRanges!==!0&&this.ranges.length>=this.maxRanges&&this.ranges.shift().destroy(),S=new RP(this.table,this,e,r),this.activeRange=S,this.ranges.push(S),this.rangeContainer.appendChild(S.element),S}resetRanges(){var e,r;return this.ranges.forEach(S=>S.destroy()),this.ranges=[],e=this.addRange(),this.table.rowManager.activeRows.length&&(r=this.table.rowManager.activeRows[0].cells[this.rowHeader?1:0],r&&(e.setBounds(r),this.initializeFocus(r))),e}tableDestroyed(){document.removeEventListener("mouseup",this.mouseUpEvent),this.table.rowManager.element.removeEventListener("keydown",this.keyDownEvent)}selectedRows(e){return e?this.activeRange.getRows().map(r=>r.getComponent()):this.activeRange.getRows()}selectedColumns(e){return e?this.activeRange.getColumns().map(r=>r.getComponent()):this.activeRange.getColumns()}}KM.moduleName="selectRange";class JM extends qi{constructor(e){super(e),this.tooltipSubscriber=null,this.headerSubscriber=null,this.timeout=null,this.popupInstance=null,this.registerTableOption("tooltipGenerationMode",void 0),this.registerTableOption("tooltipDelay",300),this.registerColumnOption("tooltip"),this.registerColumnOption("headerTooltip")}initialize(){this.deprecatedOptionsCheck(),this.subscribe("column-init",this.initializeColumn.bind(this))}deprecatedOptionsCheck(){this.deprecationCheckMsg("tooltipGenerationMode","This option is no longer needed as tooltips are always generated on hover now")}initializeColumn(e){e.definition.headerTooltip&&!this.headerSubscriber&&(this.headerSubscriber=!0,this.subscribe("column-mousemove",this.mousemoveCheck.bind(this,"headerTooltip")),this.subscribe("column-mouseout",this.mouseoutCheck.bind(this,"headerTooltip"))),e.definition.tooltip&&!this.tooltipSubscriber&&(this.tooltipSubscriber=!0,this.subscribe("cell-mousemove",this.mousemoveCheck.bind(this,"tooltip")),this.subscribe("cell-mouseout",this.mouseoutCheck.bind(this,"tooltip")))}mousemoveCheck(e,r,S){var D=e==="tooltip"?S.column.definition.tooltip:S.definition.headerTooltip;D&&(this.clearPopup(),this.timeout=setTimeout(this.loadTooltip.bind(this,r,S,D),this.table.options.tooltipDelay))}mouseoutCheck(e,r,S){this.popupInstance||this.clearPopup()}clearPopup(e,r,S){clearTimeout(this.timeout),this.timeout=null,this.popupInstance&&this.popupInstance.hide()}loadTooltip(e,r,S){var D,T,p;function t(d){T=d}typeof S=="function"&&(S=S(e,r.getComponent(),t)),S instanceof HTMLElement?D=S:(D=document.createElement("div"),S===!0&&(r instanceof eg?S=r.value:r.definition.field?this.langBind("columns|"+r.definition.field,d=>{D.innerHTML=S=d||r.definition.title}):S=r.definition.title),D.innerHTML=S),(S||S===0||S===!1)&&(D.classList.add("tabulator-tooltip"),D.addEventListener("mousemove",d=>d.preventDefault()),this.popupInstance=this.popup(D),typeof T=="function"&&this.popupInstance.renderCallback(T),p=this.popupInstance.containerEventCoords(e),this.popupInstance.show(p.x+15,p.y+15).hideOnBlur(()=>{this.dispatchExternal("TooltipClosed",r.getComponent()),this.popupInstance=null}),this.dispatchExternal("TooltipOpened",r.getComponent()))}}JM.moduleName="tooltip";var PP={integer:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:(e=Number(e),!isNaN(e)&&isFinite(e)&&Math.floor(e)===e)},float:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:(e=Number(e),!isNaN(e)&&isFinite(e)&&e%1!==0)},numeric:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:!isNaN(e)},string:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:isNaN(e)},alphanumeric:function(n,e,r){if(e===""||e===null||typeof e>"u")return!0;var S=new RegExp(/^[a-z0-9]+$/i);return S.test(e)},max:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:parseFloat(e)<=r},min:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:parseFloat(e)>=r},starts:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).toLowerCase().startsWith(String(r).toLowerCase())},ends:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).toLowerCase().endsWith(String(r).toLowerCase())},minLength:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).length>=r},maxLength:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).length<=r},in:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:(typeof r=="string"&&(r=r.split("|")),r.indexOf(e)>-1)},regex:function(n,e,r){if(e===""||e===null||typeof e>"u")return!0;var S=new RegExp(r);return S.test(e)},unique:function(n,e,r){if(e===""||e===null||typeof e>"u")return!0;var S=!0,D=n.getData(),T=n.getColumn()._getSelf();return this.table.rowManager.rows.forEach(function(p){var t=p.getData();t!==D&&e==T.getFieldValue(t)&&(S=!1)}),S},required:function(n,e,r){return e!==""&&e!==null&&typeof e<"u"}};class ig extends qi{constructor(e){super(e),this.invalidCells=[],this.registerTableOption("validationMode","blocking"),this.registerColumnOption("validator"),this.registerTableFunction("getInvalidCells",this.getInvalidCells.bind(this)),this.registerTableFunction("clearCellValidation",this.userClearCellValidation.bind(this)),this.registerTableFunction("validate",this.userValidate.bind(this)),this.registerComponentFunction("cell","isValid",this.cellIsValid.bind(this)),this.registerComponentFunction("cell","clearValidation",this.clearValidation.bind(this)),this.registerComponentFunction("cell","validate",this.cellValidate.bind(this)),this.registerComponentFunction("column","validate",this.columnValidate.bind(this)),this.registerComponentFunction("row","validate",this.rowValidate.bind(this))}initialize(){this.subscribe("cell-delete",this.clearValidation.bind(this)),this.subscribe("column-layout",this.initializeColumnCheck.bind(this)),this.subscribe("edit-success",this.editValidate.bind(this)),this.subscribe("edit-editor-clear",this.editorClear.bind(this)),this.subscribe("edit-edited-clear",this.editedClear.bind(this))}editValidate(e,r,S){var D=this.table.options.validationMode!=="manual"?this.validate(e.column.modules.validate,e,r):!0;return D!==!0&&setTimeout(()=>{e.getElement().classList.add("tabulator-validation-fail"),this.dispatchExternal("validationFailed",e.getComponent(),r,D)}),D}editorClear(e,r){r&&e.column.modules.validate&&this.cellValidate(e),e.getElement().classList.remove("tabulator-validation-fail")}editedClear(e){e.modules.validate&&(e.modules.validate.invalid=!1)}cellIsValid(e){return e.modules.validate&&e.modules.validate.invalid||!0}cellValidate(e){return this.validate(e.column.modules.validate,e,e.getValue())}columnValidate(e){var r=[];return e.cells.forEach(S=>{this.cellValidate(S)!==!0&&r.push(S.getComponent())}),r.length?r:!0}rowValidate(e){var r=[];return e.cells.forEach(S=>{this.cellValidate(S)!==!0&&r.push(S.getComponent())}),r.length?r:!0}userClearCellValidation(e){e||(e=this.getInvalidCells()),Array.isArray(e)||(e=[e]),e.forEach(r=>{this.clearValidation(r._getSelf())})}userValidate(e){var r=[];return this.table.rowManager.rows.forEach(S=>{S=S.getComponent();var D=S.validate();D!==!0&&(r=r.concat(D))}),r.length?r:!0}initializeColumnCheck(e){typeof e.definition.validator<"u"&&this.initializeColumn(e)}initializeColumn(e){var r=this,S=[],D;e.definition.validator&&(Array.isArray(e.definition.validator)?e.definition.validator.forEach(T=>{D=r._extractValidator(T),D&&S.push(D)}):(D=this._extractValidator(e.definition.validator),D&&S.push(D)),e.modules.validate=S.length?S:!1)}_extractValidator(e){var r,S,D;switch(typeof e){case"string":return D=e.indexOf(":"),D>-1?(r=e.substring(0,D),S=e.substring(D+1)):r=e,this._buildValidator(r,S);case"function":return this._buildValidator(e);case"object":return this._buildValidator(e.type,e.parameters)}}_buildValidator(e,r){var S=typeof e=="function"?e:ig.validators[e];return S?{type:typeof e=="function"?"function":e,func:S,params:r}:(console.warn("Validator Setup Error - No matching validator found:",e),!1)}validate(e,r,S){var D=this,T=[],p=this.invalidCells.indexOf(r);return e&&e.forEach(t=>{t.func.call(D,r.getComponent(),S,t.params)||T.push({type:t.type,parameters:t.params})}),r.modules.validate||(r.modules.validate={}),T.length?(r.modules.validate.invalid=T,this.table.options.validationMode!=="manual"&&r.getElement().classList.add("tabulator-validation-fail"),p==-1&&this.invalidCells.push(r)):(r.modules.validate.invalid=!1,r.getElement().classList.remove("tabulator-validation-fail"),p>-1&&this.invalidCells.splice(p,1)),T.length?T:!0}getInvalidCells(){var e=[];return this.invalidCells.forEach(r=>{e.push(r.getComponent())}),e}clearValidation(e){var r;e.modules.validate&&e.modules.validate.invalid&&(e.getElement().classList.remove("tabulator-validation-fail"),e.modules.validate.invalid=!1,r=this.invalidCells.indexOf(e),r>-1&&this.invalidCells.splice(r,1))}}ig.moduleName="validate";ig.validators=PP;var OP=Object.freeze({__proto__:null,AccessorModule:i0,AjaxModule:Rc,ClipboardModule:qd,ColumnCalcsModule:zf,DataTreeModule:OM,DownloadModule:a0,EditModule:tg,ExportModule:DM,FilterModule:Xh,FormatModule:Yu,FrozenColumnsModule:zM,FrozenRowsModule:FM,GroupRowsModule:BM,HistoryModule:Wd,HtmlTableImportModule:NM,ImportModule:ng,InteractionModule:VM,KeybindingsModule:Vf,MenuModule:jM,MoveColumnsModule:UM,MoveRowsModule:$y,MutatorModule:o0,PageModule:rg,PersistenceModule:Ul,PopupModule:HM,PrintModule:GM,ReactiveDataModule:qM,ResizeColumnsModule:WM,ResizeRowsModule:YM,ResizeTableModule:$M,ResponsiveLayoutModule:ZM,SelectRowModule:XM,SortModule:jd,SelectRangeModule:KM,TooltipModule:JM,ValidateModule:ig}),DP={debugEventsExternal:!1,debugEventsInternal:!1,debugInvalidOptions:!0,debugInvalidComponentFuncs:!0,debugInitialization:!0,debugDeprecation:!0,height:!1,minHeight:!1,maxHeight:!1,columnHeaderVertAlign:"top",popupContainer:!1,columns:[],columnDefaults:{},data:!1,autoColumns:!1,autoColumnsDefinitions:!1,nestedFieldSeparator:".",footerElement:!1,index:"id",textDirection:"auto",addRowPos:"bottom",headerVisible:!0,renderVertical:"virtual",renderHorizontal:"basic",renderVerticalBuffer:0,scrollToRowPosition:"top",scrollToRowIfVisible:!0,scrollToColumnPosition:"left",scrollToColumnIfVisible:!0,rowFormatter:!1,rowFormatterPrint:null,rowFormatterClipboard:null,rowFormatterHtmlOutput:null,rowHeight:null,placeholder:!1,dataLoader:!0,dataLoaderLoading:!1,dataLoaderError:!1,dataLoaderErrorTimeout:3e3,dataSendParams:{},dataReceiveParams:{}};class QM{constructor(e,r,S={}){this.table=e,this.msgType=r,this.registeredDefaults=Object.assign({},S)}register(e,r){this.registeredDefaults[e]=r}generate(e,r={}){var S=Object.assign({},this.registeredDefaults),D=this.table.options.debugInvalidOptions||r.debugInvalidOptions===!0;Object.assign(S,e);for(let T in r)S.hasOwnProperty(T)||(D&&console.warn("Invalid "+this.msgType+" option:",T),S[T]=r.key);for(let T in S)T in r?S[T]=r[T]:Array.isArray(S[T])?S[T]=Object.assign([],S[T]):typeof S[T]=="object"&&S[T]!==null?S[T]=Object.assign({},S[T]):typeof S[T]>"u"&&delete S[T];return S}}class Zy extends Ml{constructor(e){super(e),this.elementVertical=e.rowManager.element,this.elementHorizontal=e.columnManager.element,this.tableElement=e.rowManager.tableElement,this.verticalFillMode="fit"}initialize(){}clearRows(){}clearColumns(){}reinitializeColumnWidths(e){}renderRows(){}renderColumns(){}rerenderRows(e){e&&e()}rerenderColumns(e,r){}renderRowCells(e){}rerenderRowCells(e,r){}scrollColumns(e,r){}scrollRows(e,r){}resize(){}scrollToRow(e){}scrollToRowNearestTop(e){}visibleRows(e){return[]}rows(){return this.table.rowManager.getDisplayRows()}styleRow(e,r){var S=e.getElement();r%2?(S.classList.add("tabulator-row-even"),S.classList.remove("tabulator-row-odd")):(S.classList.add("tabulator-row-odd"),S.classList.remove("tabulator-row-even"))}clear(){this.clearRows(),this.clearColumns()}render(){this.renderRows(),this.renderColumns()}rerender(e){this.rerenderRows(),this.rerenderColumns()}scrollToRowPosition(e,r,S){var D=this.rows().indexOf(e),T=e.getElement(),p=0;return new Promise((t,d)=>{if(D>-1){if(typeof S>"u"&&(S=this.table.options.scrollToRowIfVisible),!S&&so.elVisible(T)&&(p=so.elOffset(T).top-so.elOffset(this.elementVertical).top,p>0&&p"u"&&(r=this.table.options.scrollToRowPosition),r==="nearest"&&(r=this.scrollToRowNearestTop(e)?"top":"bottom"),this.scrollToRow(e),r){case"middle":case"center":this.elementVertical.scrollHeight-this.elementVertical.scrollTop==this.elementVertical.clientHeight?this.elementVertical.scrollTop=this.elementVertical.scrollTop+(T.offsetTop-this.elementVertical.scrollTop)-(this.elementVertical.scrollHeight-T.offsetTop)/2:this.elementVertical.scrollTop=this.elementVertical.scrollTop-this.elementVertical.clientHeight/2;break;case"bottom":this.elementVertical.scrollHeight-this.elementVertical.scrollTop==this.elementVertical.clientHeight?this.elementVertical.scrollTop=this.elementVertical.scrollTop-(this.elementVertical.scrollHeight-T.offsetTop)+T.offsetHeight:this.elementVertical.scrollTop=this.elementVertical.scrollTop-this.elementVertical.clientHeight+T.offsetHeight;break;case"top":this.elementVertical.scrollTop=T.offsetTop;break}t()}else console.warn("Scroll Error - Row not visible"),d("Scroll Error - Row not visible")})}}class zP extends Zy{constructor(e){super(e)}renderRowCells(e,r){const S=document.createDocumentFragment();e.cells.forEach(D=>{S.appendChild(D.getElement())}),e.element.appendChild(S),r||e.cells.forEach(D=>{D.cellRendered()})}reinitializeColumnWidths(e){e.forEach(function(r){r.reinitializeWidth()})}}class FP extends Zy{constructor(e){super(e),this.leftCol=0,this.rightCol=0,this.scrollLeft=0,this.vDomScrollPosLeft=0,this.vDomScrollPosRight=0,this.vDomPadLeft=0,this.vDomPadRight=0,this.fitDataColAvg=0,this.windowBuffer=200,this.visibleRows=null,this.initialized=!1,this.isFitData=!1,this.columns=[]}initialize(){this.compatibilityCheck(),this.layoutCheck(),this.vertScrollListen()}compatibilityCheck(){this.options("layout")=="fitDataTable"&&console.warn("Horizontal Virtual DOM is not compatible with fitDataTable layout mode"),this.options("responsiveLayout")&&console.warn("Horizontal Virtual DOM is not compatible with responsive columns"),this.options("rtl")&&console.warn("Horizontal Virtual DOM is not currently compatible with RTL text direction")}layoutCheck(){this.isFitData=this.options("layout").startsWith("fitData")}vertScrollListen(){this.subscribe("scroll-vertical",this.clearVisRowCache.bind(this)),this.subscribe("data-refreshed",this.clearVisRowCache.bind(this))}clearVisRowCache(){this.visibleRows=null}renderColumns(e,r){this.dataChange()}scrollColumns(e,r){this.scrollLeft!=e&&(this.scrollLeft=e,this.scroll(e-(this.vDomScrollPosLeft+this.windowBuffer)))}calcWindowBuffer(){var e=this.elementVertical.clientWidth;this.table.columnManager.columnsByIndex.forEach(r=>{if(r.visible){var S=r.getWidth();S>e&&(e=S)}}),this.windowBuffer=e*2}rerenderColumns(e,r){var S={cols:this.columns,leftCol:this.leftCol,rightCol:this.rightCol},D=0;e&&!this.initialized||(this.clear(),this.calcWindowBuffer(),this.scrollLeft=this.elementVertical.scrollLeft,this.vDomScrollPosLeft=this.scrollLeft-this.windowBuffer,this.vDomScrollPosRight=this.scrollLeft+this.elementVertical.clientWidth+this.windowBuffer,this.table.columnManager.columnsByIndex.forEach(T=>{var p={},t;T.visible&&(T.modules.frozen||(t=T.getWidth(),p.leftPos=D,p.rightPos=D+t,p.width=t,this.isFitData&&(p.fitDataCheck=T.modules.vdomHoz?T.modules.vdomHoz.fitDataCheck:!0),D+t>this.vDomScrollPosLeft&&D{r.appendChild(S.getElement())}),e.element.appendChild(r),e.cells.forEach(S=>{S.cellRendered()})}}rerenderRowCells(e,r){this.reinitializeRow(e,r)}reinitializeColumnWidths(e){for(let r=this.leftCol;r<=this.rightCol;r++)this.columns[r].reinitializeWidth()}deinitialize(){this.initialized=!1}clear(){this.columns=[],this.leftCol=-1,this.rightCol=0,this.vDomScrollPosLeft=0,this.vDomScrollPosRight=0,this.vDomPadLeft=0,this.vDomPadRight=0}dataChange(){var e=!1,r,S;if(this.isFitData){if(this.table.columnManager.columnsByIndex.forEach(D=>{!D.definition.width&&D.visible&&(e=!0)}),e&&this.table.rowManager.getDisplayRows().length&&(this.vDomScrollPosRight=this.scrollLeft+this.elementVertical.clientWidth+this.windowBuffer,r=this.chain("rows-sample",[1],[],()=>this.table.rowManager.getDisplayRows())[0],r)){S=r.getElement(),r.generateCells(),this.tableElement.appendChild(S);for(let D=0;D{S!==this.columns[D]&&(r=!1)}),!r)}reinitializeRows(){var e=this.getVisibleRows(),r=this.table.rowManager.getRows().filter(S=>!e.includes(S));e.forEach(S=>{this.reinitializeRow(S,!0)}),r.forEach(S=>{S.deinitialize()})}getVisibleRows(){return this.visibleRows||(this.visibleRows=this.table.rowManager.getVisibleRows()),this.visibleRows}scroll(e){this.vDomScrollPosLeft+=e,this.vDomScrollPosRight+=e,Math.abs(e)>this.windowBuffer/2?this.rerenderColumns():e>0?(this.addColRight(),this.removeColLeft()):(this.addColLeft(),this.removeColRight())}colPositionAdjust(e,r,S){for(let D=e;D{if(D.type!=="group"){var T=D.getCell(S);D.getElement().insertBefore(T.getElement(),D.getCell(this.columns[this.rightCol]).getElement().nextSibling),T.cellRendered()}}),this.fitDataColActualWidthCheck(S),this.rightCol++,this.getVisibleRows().forEach(D=>{D.type!=="group"&&(D.modules.vdomHoz.rightCol=this.rightCol)}),this.rightCol>=this.columns.length-1?this.vDomPadRight=0:this.vDomPadRight-=S.getWidth()):r=!1}e&&(this.tableElement.style.paddingRight=this.vDomPadRight+"px")}addColLeft(){for(var e=!1,r=!0;r;){let S=this.columns[this.leftCol-1];if(S)if(S.modules.vdomHoz.rightPos>=this.vDomScrollPosLeft){e=!0,this.getVisibleRows().forEach(T=>{if(T.type!=="group"){var p=T.getCell(S);T.getElement().insertBefore(p.getElement(),T.getCell(this.columns[this.leftCol]).getElement()),p.cellRendered()}}),this.leftCol--,this.getVisibleRows().forEach(T=>{T.type!=="group"&&(T.modules.vdomHoz.leftCol=this.leftCol)}),this.leftCol<=0?this.vDomPadLeft=0:this.vDomPadLeft-=S.getWidth();let D=this.fitDataColActualWidthCheck(S);D&&(this.scrollLeft=this.elementVertical.scrollLeft=this.elementVertical.scrollLeft+D,this.vDomPadRight-=D)}else r=!1;else r=!1}e&&(this.tableElement.style.paddingLeft=this.vDomPadLeft+"px")}removeColRight(){for(var e=!1,r=!0;r;){let S=this.columns[this.rightCol];S&&S.modules.vdomHoz.leftPos>this.vDomScrollPosRight?(e=!0,this.getVisibleRows().forEach(D=>{if(D.type!=="group"){var T=D.getCell(S);try{D.getElement().removeChild(T.getElement())}catch(p){console.warn("Could not removeColRight",p.message)}}}),this.vDomPadRight+=S.getWidth(),this.rightCol--,this.getVisibleRows().forEach(D=>{D.type!=="group"&&(D.modules.vdomHoz.rightCol=this.rightCol)})):r=!1}e&&(this.tableElement.style.paddingRight=this.vDomPadRight+"px")}removeColLeft(){for(var e=!1,r=!0;r;){let S=this.columns[this.leftCol];S&&S.modules.vdomHoz.rightPos{if(D.type!=="group"){var T=D.getCell(S);try{D.getElement().removeChild(T.getElement())}catch(p){console.warn("Could not removeColLeft",p.message)}}}),this.vDomPadLeft+=S.getWidth(),this.leftCol++,this.getVisibleRows().forEach(D=>{D.type!=="group"&&(D.modules.vdomHoz.leftCol=this.leftCol)})):r=!1}e&&(this.tableElement.style.paddingLeft=this.vDomPadLeft+"px")}fitDataColActualWidthCheck(e){var r,S;return e.modules.vdomHoz.fitDataCheck&&(e.reinitializeWidth(),r=e.getWidth(),S=r-e.modules.vdomHoz.width,S&&(e.modules.vdomHoz.rightPos+=S,e.modules.vdomHoz.width=r,this.colPositionAdjust(this.columns.indexOf(e)+1,this.columns.length,S)),e.modules.vdomHoz.fitDataCheck=!1),S}initializeRow(e){if(e.type!=="group"){e.modules.vdomHoz={leftCol:this.leftCol,rightCol:this.rightCol},this.table.modules.frozenColumns&&this.table.modules.frozenColumns.leftColumns.forEach(r=>{this.appendCell(e,r)});for(let r=this.leftCol;r<=this.rightCol;r++)this.appendCell(e,this.columns[r]);this.table.modules.frozenColumns&&this.table.modules.frozenColumns.rightColumns.forEach(r=>{this.appendCell(e,r)})}}appendCell(e,r){if(r&&r.visible){let S=e.getCell(r);e.getElement().appendChild(S.getElement()),S.cellRendered()}}reinitializeRow(e,r){if(e.type!=="group"&&(r||!e.modules.vdomHoz||e.modules.vdomHoz.leftCol!==this.leftCol||e.modules.vdomHoz.rightCol!==this.rightCol)){for(var S=e.getElement();S.firstChild;)S.removeChild(S.firstChild);this.initializeRow(e)}}}class BP extends Ml{constructor(e){super(e),this.blockHozScrollEvent=!1,this.headersElement=null,this.contentsElement=null,this.element=null,this.columns=[],this.columnsByIndex=[],this.columnsByField={},this.scrollLeft=0,this.optionsList=new QM(this.table,"column definition",PM),this.redrawBlock=!1,this.redrawBlockUpdate=null,this.renderer=null}initialize(){this.initializeRenderer(),this.headersElement=this.createHeadersElement(),this.contentsElement=this.createHeaderContentsElement(),this.element=this.createHeaderElement(),this.contentsElement.insertBefore(this.headersElement,this.contentsElement.firstChild),this.element.insertBefore(this.contentsElement,this.element.firstChild),this.initializeScrollWheelWatcher(),this.subscribe("scroll-horizontal",this.scrollHorizontal.bind(this)),this.subscribe("scrollbar-vertical",this.padVerticalScrollbar.bind(this))}padVerticalScrollbar(e){this.table.rtl?this.headersElement.style.marginLeft=e+"px":this.headersElement.style.marginRight=e+"px"}initializeRenderer(){var e,r={virtual:FP,basic:zP};typeof this.table.options.renderHorizontal=="string"?e=r[this.table.options.renderHorizontal]:e=this.table.options.renderHorizontal,e?(this.renderer=new e(this.table,this.element,this.tableElement),this.renderer.initialize()):console.error("Unable to find matching renderer:",this.table.options.renderHorizontal)}createHeadersElement(){var e=document.createElement("div");return e.classList.add("tabulator-headers"),e.setAttribute("role","row"),e}createHeaderContentsElement(){var e=document.createElement("div");return e.classList.add("tabulator-header-contents"),e.setAttribute("role","rowgroup"),e}createHeaderElement(){var e=document.createElement("div");return e.classList.add("tabulator-header"),e.setAttribute("role","rowgroup"),this.table.options.headerVisible||e.classList.add("tabulator-header-hidden"),e}getElement(){return this.element}getContentsElement(){return this.contentsElement}getHeadersElement(){return this.headersElement}scrollHorizontal(e){this.contentsElement.scrollLeft=e,this.scrollLeft=e,this.renderer.scrollColumns(e)}initializeScrollWheelWatcher(){this.contentsElement.addEventListener("wheel",e=>{var r;e.deltaX&&(r=this.contentsElement.scrollLeft+e.deltaX,this.table.rowManager.scrollHorizontal(r),this.table.columnManager.scrollHorizontal(r))})}generateColumnsFromRowData(e){var r=[],S=this.table.options.autoColumnsDefinitions,D,T;if(e&&e.length){D=e[0];for(var p in D){let t={field:p,title:p},d=D[p];switch(typeof d){case"undefined":T="string";break;case"boolean":T="boolean";break;case"object":Array.isArray(d)?T="array":T="string";break;default:!isNaN(d)&&d!==""?T="number":d.match(/((^[0-9]+[a-z]+)|(^[a-z]+[0-9]+))+$/i)?T="alphanum":T="string";break}t.sorter=T,r.push(t)}if(S)switch(typeof S){case"function":this.table.options.columns=S.call(this.table,r);break;case"object":Array.isArray(S)?r.forEach(t=>{var d=S.find(g=>g.field===t.field);d&&Object.assign(t,d)}):r.forEach(t=>{S[t.field]&&Object.assign(t,S[t.field])}),this.table.options.columns=r;break}else this.table.options.columns=r;this.setColumns(this.table.options.columns)}}setColumns(e,r){for(;this.headersElement.firstChild;)this.headersElement.removeChild(this.headersElement.firstChild);this.columns=[],this.columnsByIndex=[],this.columnsByField={},this.dispatch("columns-loading"),e.forEach((S,D)=>{this._addColumn(S)}),this._reIndexColumns(),this.dispatch("columns-loaded"),this.rerenderColumns(!1,!0),this.redraw(!0)}_addColumn(e,r,S){var D=new vh(e,this),T=D.getElement(),p=S&&this.findColumnIndex(S);if(S&&p>-1){var t=S.getTopColumn(),d=this.columns.indexOf(t),g=t.getElement();r?(this.columns.splice(d,0,D),g.parentNode.insertBefore(T,g)):(this.columns.splice(d+1,0,D),g.parentNode.insertBefore(T,g.nextSibling))}else r?(this.columns.unshift(D),this.headersElement.insertBefore(D.getElement(),this.headersElement.firstChild)):(this.columns.push(D),this.headersElement.appendChild(D.getElement()));return D.columnRendered(),D}registerColumnField(e){e.definition.field&&(this.columnsByField[e.definition.field]=e)}registerColumnPosition(e){this.columnsByIndex.push(e)}_reIndexColumns(){this.columnsByIndex=[],this.columns.forEach(function(e){e.reRegisterPosition()})}verticalAlignHeaders(){var e=0;this.redrawBlock||(this.headersElement.style.height="",this.columns.forEach(r=>{r.clearVerticalAlign()}),this.columns.forEach(r=>{var S=r.getHeight();S>e&&(e=S)}),this.headersElement.style.height=e+"px",this.columns.forEach(r=>{r.verticalAlign(this.table.options.columnHeaderVertAlign,e)}),this.table.rowManager.adjustTableSize())}findColumn(e){var r;if(typeof e=="object"){if(e instanceof vh)return e;if(e instanceof RM)return e._getSelf()||!1;if(typeof HTMLElement<"u"&&e instanceof HTMLElement)return r=[],this.columns.forEach(D=>{r.push(D),r=r.concat(D.getColumns(!0))}),r.find(D=>D.element===e)||!1}else return this.columnsByField[e]||!1;return!1}getColumnByField(e){return this.columnsByField[e]}getColumnsByFieldRoot(e){var r=[];return Object.keys(this.columnsByField).forEach(S=>{var D=this.table.options.nestedFieldSeparator?S.split(this.table.options.nestedFieldSeparator)[0]:S;D===e&&r.push(this.columnsByField[S])}),r}getColumnByIndex(e){return this.columnsByIndex[e]}getFirstVisibleColumn(){var e=this.columnsByIndex.findIndex(r=>r.visible);return e>-1?this.columnsByIndex[e]:!1}getVisibleColumnsByIndex(){return this.columnsByIndex.filter(e=>e.visible)}getColumns(){return this.columns}findColumnIndex(e){return this.columnsByIndex.findIndex(r=>e===r)}getRealColumns(){return this.columnsByIndex}traverse(e){this.columnsByIndex.forEach((r,S)=>{e(r,S)})}getDefinitions(e){var r=[];return this.columnsByIndex.forEach(S=>{(!e||e&&S.visible)&&r.push(S.getDefinition())}),r}getDefinitionTree(){var e=[];return this.columns.forEach(r=>{e.push(r.getDefinition(!0))}),e}getComponents(e){var r=[],S=e?this.columns:this.columnsByIndex;return S.forEach(D=>{r.push(D.getComponent())}),r}getWidth(){var e=0;return this.columnsByIndex.forEach(r=>{r.visible&&(e+=r.getWidth())}),e}moveColumn(e,r,S){r.element.parentNode.insertBefore(e.element,r.element),S&&r.element.parentNode.insertBefore(r.element,e.element),this.moveColumnActual(e,r,S),this.verticalAlignHeaders(),this.table.rowManager.reinitialize()}moveColumnActual(e,r,S){e.parent.isGroup?this._moveColumnInArray(e.parent.columns,e,r,S):this._moveColumnInArray(this.columns,e,r,S),this._moveColumnInArray(this.columnsByIndex,e,r,S,!0),this.rerenderColumns(!0),this.dispatch("column-moved",e,r,S),this.subscribedExternal("columnMoved")&&this.dispatchExternal("columnMoved",e.getComponent(),this.table.columnManager.getComponents())}_moveColumnInArray(e,r,S,D,T){var p=e.indexOf(r),t,d=[];p>-1&&(e.splice(p,1),t=e.indexOf(S),t>-1?D&&(t=t+1):t=p,e.splice(t,0,r),T&&(d=this.chain("column-moving-rows",[r,S,D],null,[])||[],d=d.concat(this.table.rowManager.rows),d.forEach(function(g){if(g.cells.length){var i=g.cells.splice(p,1)[0];g.cells.splice(t,0,i)}})))}scrollToColumn(e,r,S){var D=0,T=e.getLeftOffset(),p=0,t=e.getElement();return new Promise((d,g)=>{if(typeof r>"u"&&(r=this.table.options.scrollToColumnPosition),typeof S>"u"&&(S=this.table.options.scrollToColumnIfVisible),e.visible){switch(r){case"middle":case"center":p=-this.element.clientWidth/2;break;case"right":p=t.clientWidth-this.headersElement.clientWidth;break}if(!S&&T>0&&T+t.offsetWidth{r.push(S.generateCell(e))}),r}getFlexBaseWidth(){var e=this.table.element.clientWidth,r=0;return this.table.rowManager.element.scrollHeight>this.table.rowManager.element.clientHeight&&(e-=this.table.rowManager.element.offsetWidth-this.table.rowManager.element.clientWidth),this.columnsByIndex.forEach(function(S){var D,T,p;S.visible&&(D=S.definition.width||0,T=parseInt(S.minWidth),typeof D=="string"?D.indexOf("%")>-1?p=e/100*parseInt(D):p=parseInt(D):p=D,r+=p>T?p:T)}),r}addColumn(e,r,S){return new Promise((D,T)=>{var p=this._addColumn(e,r,S);this._reIndexColumns(),this.dispatch("column-add",e,r,S),this.layoutMode()!="fitColumns"&&p.reinitializeWidth(),this.redraw(!0),this.table.rowManager.reinitialize(),this.rerenderColumns(),D(p)})}deregisterColumn(e){var r=e.getField(),S;r&&delete this.columnsByField[r],S=this.columnsByIndex.indexOf(e),S>-1&&this.columnsByIndex.splice(S,1),S=this.columns.indexOf(e),S>-1&&this.columns.splice(S,1),this.verticalAlignHeaders(),this.redraw()}rerenderColumns(e,r){this.redrawBlock?(e===!1||e===!0&&this.redrawBlockUpdate===null)&&(this.redrawBlockUpdate=e):this.renderer.rerenderColumns(e,r)}blockRedraw(){this.redrawBlock=!0,this.redrawBlockUpdate=null}restoreRedraw(){this.redrawBlock=!1,this.verticalAlignHeaders(),this.renderer.rerenderColumns(this.redrawBlockUpdate)}redraw(e){so.elVisible(this.element)&&this.verticalAlignHeaders(),e&&(this.table.rowManager.resetScroll(),this.table.rowManager.reinitialize()),this.confirm("table-redrawing",e)||this.layoutRefresh(e),this.dispatch("table-redraw",e),this.table.footerManager.redraw()}}class NP extends Zy{constructor(e){super(e),this.verticalFillMode="fill",this.scrollTop=0,this.scrollLeft=0,this.scrollTop=0,this.scrollLeft=0}clearRows(){for(var e=this.tableElement;e.firstChild;)e.removeChild(e.firstChild);e.scrollTop=0,e.scrollLeft=0,e.style.minWidth="",e.style.minHeight="",e.style.display="",e.style.visibility=""}renderRows(){var e=this.tableElement,r=!0,S=document.createDocumentFragment(),D=this.rows();D.forEach((T,p)=>{this.styleRow(T,p),T.initialize(!1,!0),T.type!=="group"&&(r=!1),S.appendChild(T.getElement())}),e.appendChild(S),D.forEach(T=>{T.rendered(),T.heightInitialized||T.calcHeight(!0)}),D.forEach(T=>{T.heightInitialized||T.setCellHeight()}),r?e.style.minWidth=this.table.columnManager.getWidth()+"px":e.style.minWidth=""}rerenderRows(e){this.clearRows(),e&&e(),this.renderRows(),this.rows().length||this.table.rowManager.tableEmpty()}scrollToRowNearestTop(e){var r=so.elOffset(e.getElement()).top;return!(Math.abs(this.elementVertical.scrollTop-r)>Math.abs(this.elementVertical.scrollTop+this.elementVertical.clientHeight-r))}scrollToRow(e){var r=e.getElement();this.elementVertical.scrollTop=so.elOffset(r).top-so.elOffset(this.elementVertical).top+this.elementVertical.scrollTop}visibleRows(e){return this.rows()}}class VP extends Zy{constructor(e){super(e),this.verticalFillMode="fill",this.scrollTop=0,this.scrollLeft=0,this.vDomRowHeight=20,this.vDomTop=0,this.vDomBottom=0,this.vDomScrollPosTop=0,this.vDomScrollPosBottom=0,this.vDomTopPad=0,this.vDomBottomPad=0,this.vDomMaxRenderChain=90,this.vDomWindowBuffer=0,this.vDomWindowMinTotalRows=20,this.vDomWindowMinMarginRows=5,this.vDomTopNewRows=[],this.vDomBottomNewRows=[]}clearRows(){for(var e=this.tableElement;e.firstChild;)e.removeChild(e.firstChild);e.style.paddingTop="",e.style.paddingBottom="",e.style.minHeight="",e.style.display="",e.style.visibility="",this.elementVertical.scrollTop=0,this.elementVertical.scrollLeft=0,this.scrollTop=0,this.scrollLeft=0,this.vDomTop=0,this.vDomBottom=0,this.vDomTopPad=0,this.vDomBottomPad=0,this.vDomScrollPosTop=0,this.vDomScrollPosBottom=0}renderRows(){this._virtualRenderFill()}rerenderRows(e){for(var r=this.elementVertical.scrollTop,S=!1,D=!1,T=this.table.rowManager.scrollLeft,p=this.rows(),t=this.vDomTop;t<=this.vDomBottom;t++)if(p[t]){var d=r-p[t].getElement().offsetTop;if(D===!1||Math.abs(d){g.deinitializeHeight()}),e&&e(),this.rows().length?this._virtualRenderFill(S===!1?this.rows.length-1:S,!0,D||0):(this.clear(),this.table.rowManager.tableEmpty()),this.scrollColumns(T)}scrollColumns(e){this.table.rowManager.scrollHorizontal(e)}scrollRows(e,r){var S=e-this.vDomScrollPosTop,D=e-this.vDomScrollPosBottom,T=this.vDomWindowBuffer*2,p=this.rows();if(this.scrollTop=e,-S>T||D>T){var t=this.table.rowManager.scrollLeft;this._virtualRenderFill(Math.floor(this.elementVertical.scrollTop/this.elementVertical.scrollHeight*p.length)),this.scrollColumns(t)}else r?(S<0&&this._addTopRow(p,-S),D<0&&(this.vDomScrollHeight-this.scrollTop>this.vDomWindowBuffer?this._removeBottomRow(p,-D):this.vDomScrollPosBottom=this.scrollTop)):(D>=0&&this._addBottomRow(p,D),S>=0&&(this.scrollTop>this.vDomWindowBuffer?this._removeTopRow(p,S):this.vDomScrollPosTop=this.scrollTop))}resize(){this.vDomWindowBuffer=this.table.options.renderVerticalBuffer||this.elementVertical.clientHeight}scrollToRowNearestTop(e){var r=this.rows().indexOf(e);return!(Math.abs(this.vDomTop-r)>Math.abs(this.vDomBottom-r))}scrollToRow(e){var r=this.rows().indexOf(e);r>-1&&this._virtualRenderFill(r,!0)}visibleRows(e){var r=this.elementVertical.scrollTop,S=this.elementVertical.clientHeight+r,D=!1,T=0,p=0,t=this.rows();if(e)T=this.vDomTop,p=this.vDomBottom;else for(var d=this.vDomTop;d<=this.vDomBottom;d++)if(t[d])if(D)if(S-t[d].getElement().offsetTop>=0)p=d;else break;else if(r-t[d].getElement().offsetTop>=0)T=d;else if(D=!0,S-t[d].getElement().offsetTop>=0)p=d;else break;return t.slice(T,p+1)}_virtualRenderFill(e,r,S){var D=this.tableElement,T=this.elementVertical,p=0,t=0,d=0,g=0,i=0,M=0,v=this.rows(),f=v.length,l=0,a,u,o=[],s=0,h=0,c=this.table.rowManager.fixedHeight,m=this.elementVertical.clientHeight,w=this.table.options.rowHeight,y=!0;if(e=e||0,S=S||0,!e)this.clear();else{for(;D.firstChild;)D.removeChild(D.firstChild);g=(f-e+1)*this.vDomRowHeight,g{C.rendered(),C.heightInitialized||C.calcHeight(!0)}),o.forEach(C=>{C.heightInitialized||C.setCellHeight()}),o.forEach(C=>{d=C.getHeight(),sthis.vDomWindowBuffer&&(this.vDomWindowBuffer=d*2),s++}),y=this.table.rowManager.adjustTableSize(),m=this.elementVertical.clientHeight,y&&(c||this.table.options.maxHeight)&&(w=t/s,h=Math.max(this.vDomWindowMinTotalRows,Math.ceil(m/w+this.vDomWindowBuffer/w)))}e?(this.vDomTopPad=r?this.vDomRowHeight*this.vDomTop+S:this.scrollTop-i,this.vDomBottomPad=this.vDomBottom==f-1?0:Math.max(this.vDomScrollHeight-this.vDomTopPad-t-i,0)):(this.vDomTopPad=0,this.vDomRowHeight=Math.floor((t+i)/s),this.vDomBottomPad=this.vDomRowHeight*(f-this.vDomBottom-1),this.vDomScrollHeight=i+t+this.vDomBottomPad-m),D.style.paddingTop=this.vDomTopPad+"px",D.style.paddingBottom=this.vDomBottomPad+"px",r&&(this.scrollTop=this.vDomTopPad+i+S-(this.elementVertical.scrollWidth>this.elementVertical.clientWidth?this.elementVertical.offsetHeight-m:0)),this.scrollTop=Math.min(this.scrollTop,this.elementVertical.scrollHeight-m),this.elementVertical.scrollWidth>this.elementVertical.clientWidth&&r&&(this.scrollTop+=this.elementVertical.offsetHeight-m),this.vDomScrollPosTop=this.scrollTop,this.vDomScrollPosBottom=this.scrollTop,T.scrollTop=this.scrollTop,this.dispatch("render-virtual-fill")}}_addTopRow(e,r){for(var S=this.tableElement,D=[],T=0,p=this.vDomTop-1,t=0,d=!0;d;)if(this.vDomTop){let g=e[p],i,M;g&&t=i?(this.styleRow(g,p),S.insertBefore(g.getElement(),S.firstChild),(!g.initialized||!g.heightInitialized)&&D.push(g),g.initialize(),M||(i=g.getElement().offsetHeight,i>this.vDomWindowBuffer&&(this.vDomWindowBuffer=i*2)),r-=i,T+=i,this.vDomTop--,p--,t++):d=!1):d=!1}else d=!1;for(let g of D)g.clearCellHeight();this._quickNormalizeRowHeight(D),T&&(this.vDomTopPad-=T,this.vDomTopPad<0&&(this.vDomTopPad=p*this.vDomRowHeight),p<1&&(this.vDomTopPad=0),S.style.paddingTop=this.vDomTopPad+"px",this.vDomScrollPosTop-=T)}_removeTopRow(e,r){for(var S=[],D=0,T=0,p=!0;p;){let t=e[this.vDomTop],d;t&&T=d?(this.vDomTop++,r-=d,D+=d,S.push(t),T++):p=!1):p=!1}for(let t of S){let d=t.getElement();d.parentNode&&d.parentNode.removeChild(d)}D&&(this.vDomTopPad+=D,this.tableElement.style.paddingTop=this.vDomTopPad+"px",this.vDomScrollPosTop+=this.vDomTop?D:D+this.vDomWindowBuffer)}_addBottomRow(e,r){for(var S=this.tableElement,D=[],T=0,p=this.vDomBottom+1,t=0,d=!0;d;){let g=e[p],i,M;g&&t=i?(this.styleRow(g,p),S.appendChild(g.getElement()),(!g.initialized||!g.heightInitialized)&&D.push(g),g.initialize(),M||(i=g.getElement().offsetHeight,i>this.vDomWindowBuffer&&(this.vDomWindowBuffer=i*2)),r-=i,T+=i,this.vDomBottom++,p++,t++):d=!1):d=!1}for(let g of D)g.clearCellHeight();this._quickNormalizeRowHeight(D),T&&(this.vDomBottomPad-=T,(this.vDomBottomPad<0||p==e.length-1)&&(this.vDomBottomPad=0),S.style.paddingBottom=this.vDomBottomPad+"px",this.vDomScrollPosBottom+=T)}_removeBottomRow(e,r){for(var S=[],D=0,T=0,p=!0;p;){let t=e[this.vDomBottom],d;t&&T=d?(this.vDomBottom--,r-=d,D+=d,S.push(t),T++):p=!1):p=!1}for(let t of S){let d=t.getElement();d.parentNode&&d.parentNode.removeChild(d)}D&&(this.vDomBottomPad+=D,this.vDomBottomPad<0&&(this.vDomBottomPad=0),this.tableElement.style.paddingBottom=this.vDomBottomPad+"px",this.vDomScrollPosBottom-=D)}_quickNormalizeRowHeight(e){for(let r of e)r.calcHeight();for(let r of e)r.setCellHeight()}}class jP extends Ml{constructor(e){super(e),this.element=this.createHolderElement(),this.tableElement=this.createTableElement(),this.heightFixer=this.createTableElement(),this.placeholder=null,this.placeholderContents=null,this.firstRender=!1,this.renderMode="virtual",this.fixedHeight=!1,this.rows=[],this.activeRowsPipeline=[],this.activeRows=[],this.activeRowsCount=0,this.displayRows=[],this.displayRowsCount=0,this.scrollTop=0,this.scrollLeft=0,this.redrawBlock=!1,this.redrawBlockRestoreConfig=!1,this.redrawBlockRenderInPosition=!1,this.dataPipeline=[],this.displayPipeline=[],this.scrollbarWidth=0,this.renderer=null}createHolderElement(){var e=document.createElement("div");return e.classList.add("tabulator-tableholder"),e.setAttribute("tabindex",0),e}createTableElement(){var e=document.createElement("div");return e.classList.add("tabulator-table"),e.setAttribute("role","rowgroup"),e}initializePlaceholder(){var e=this.table.options.placeholder;if(typeof e=="function"&&(e=e.call(this.table)),e=this.chain("placeholder",[e],e,e)||e,e){let r=document.createElement("div");if(r.classList.add("tabulator-placeholder"),typeof e=="string"){let S=document.createElement("div");S.classList.add("tabulator-placeholder-contents"),S.innerHTML=e,r.appendChild(S),this.placeholderContents=S}else typeof HTMLElement<"u"&&e instanceof HTMLElement?(r.appendChild(e),this.placeholderContents=e):(console.warn("Invalid placeholder provided, must be string or HTML Element",e),this.el=null);this.placeholder=r}}getElement(){return this.element}getTableElement(){return this.tableElement}initialize(){this.initializePlaceholder(),this.initializeRenderer(),this.element.appendChild(this.tableElement),this.firstRender=!0,this.element.addEventListener("scroll",()=>{var e=this.element.scrollLeft,r=this.scrollLeft>e,S=this.element.scrollTop,D=this.scrollTop>S;this.scrollLeft!=e&&(this.scrollLeft=e,this.dispatch("scroll-horizontal",e,r),this.dispatchExternal("scrollHorizontal",e,r),this._positionPlaceholder()),this.scrollTop!=S&&(this.scrollTop=S,this.renderer.scrollRows(S,D),this.dispatch("scroll-vertical",S,D),this.dispatchExternal("scrollVertical",S,D))})}findRow(e){if(typeof e=="object"){if(e instanceof vl)return e;if(e instanceof Wy)return e._getSelf()||!1;if(typeof HTMLElement<"u"&&e instanceof HTMLElement)return this.rows.find(S=>S.getElement()===e)||!1;if(e===null)return!1}else return typeof e>"u"?!1:this.rows.find(S=>S.data[this.table.options.index]==e)||!1;return!1}getRowFromDataObject(e){var r=this.rows.find(S=>S.data===e);return r||!1}getRowFromPosition(e){return this.getDisplayRows().find(r=>r.getPosition()===e&&r.isDisplayed())}scrollToRow(e,r,S){return this.renderer.scrollToRowPosition(e,r,S)}setData(e,r,S){return new Promise((D,T)=>{r&&this.getDisplayRows().length?this.table.options.pagination?this._setDataActual(e,!0):this.reRenderInPosition(()=>{this._setDataActual(e)}):(this.table.options.autoColumns&&S&&this.table.initialized&&this.table.columnManager.generateColumnsFromRowData(e),this.resetScroll(),this._setDataActual(e)),D()})}_setDataActual(e,r){this.dispatchExternal("dataProcessing",e),this._wipeElements(),Array.isArray(e)?(this.dispatch("data-processing",e),e.forEach((S,D)=>{if(S&&typeof S=="object"){var T=new vl(S,this);this.rows.push(T)}else console.warn("Data Loading Warning - Invalid row data detected and ignored, expecting object but received:",S)}),this.refreshActiveData(!1,!1,r),this.dispatch("data-processed",e),this.dispatchExternal("dataProcessed",e)):console.error(`Data Loading Error - Unable to process data due to invalid data type @@ -4011,17 +3786,3 @@ Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function `,...r.map(S=>` ${S}; `),`} `)}function q5(n){const e=n.dark?2:1,r=n.dark?1:2,S=[];for(const[D,T]of Object.entries(n.colors)){const p=Pc(T);S.push(`--v-theme-${D}: ${p.r},${p.g},${p.b}`),D.startsWith("on-")||S.push(`--v-theme-${D}-overlay-multiplier: ${cx(T)>.18?e:r}`)}for(const[D,T]of Object.entries(n.variables)){const p=typeof T=="string"&&T.startsWith("#")?Pc(T):void 0,t=p?`${p.r}, ${p.g}, ${p.b}`:void 0;S.push(`--v-${D}: ${t??T}`)}return S}const px={"001":1,AD:1,AE:6,AF:6,AG:0,AI:1,AL:1,AM:1,AN:1,AR:1,AS:0,AT:1,AU:1,AX:1,AZ:1,BA:1,BD:0,BE:1,BG:1,BH:6,BM:1,BN:1,BR:0,BS:0,BT:0,BW:0,BY:1,BZ:0,CA:0,CH:1,CL:1,CM:1,CN:1,CO:0,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DM:0,DO:0,DZ:6,EC:1,EE:1,EG:6,ES:1,ET:0,FI:1,FJ:1,FO:1,FR:1,GB:1,"GB-alt-variant":0,GE:1,GF:1,GP:1,GR:1,GT:0,GU:0,HK:0,HN:0,HR:1,HU:1,ID:0,IE:1,IL:0,IN:0,IQ:6,IR:6,IS:1,IT:1,JM:0,JO:6,JP:0,KE:0,KG:1,KH:0,KR:0,KW:6,KZ:1,LA:0,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MH:0,MK:1,MM:0,MN:1,MO:0,MQ:1,MT:0,MV:5,MX:0,MY:1,MZ:0,NI:0,NL:1,NO:1,NP:0,NZ:1,OM:6,PA:0,PE:0,PH:0,PK:0,PL:1,PR:0,PT:0,PY:0,QA:6,RE:1,RO:1,RS:1,RU:1,SA:0,SD:6,SE:1,SG:0,SI:1,SK:1,SM:1,SV:0,SY:6,TH:0,TJ:1,TM:1,TR:1,TT:0,TW:0,UA:1,UM:0,US:0,UY:1,UZ:1,VA:1,VE:0,VI:0,VN:1,WS:0,XK:1,YE:0,ZA:0,ZW:0};function GF(n,e){const r=[];let S=[];const D=P6(n),T=O6(n),p=D.getDay()-px[e.slice(-2).toUpperCase()],t=T.getDay()-px[e.slice(-2).toUpperCase()];for(let d=0;d{const S=new Date(W5);return S.setDate(W5.getDate()+e+r),new Intl.DateTimeFormat(n,{weekday:"narrow"}).format(S)})}function ZF(n,e,r){const S=new Date(n);let D={};switch(e){case"fullDateWithWeekday":D={weekday:"long",day:"numeric",month:"long",year:"numeric"};break;case"normalDateWithWeekday":D={weekday:"short",day:"numeric",month:"short"};break;case"keyboardDate":D={};break;case"monthAndDate":D={month:"long",day:"numeric"};break;case"monthAndYear":D={month:"long",year:"numeric"};break;case"dayOfMonth":D={day:"numeric"};break;default:D={timeZone:"UTC",timeZoneName:"short"}}return new Intl.DateTimeFormat(r,D).format(S)}function XF(n,e){const r=new Date(n);return r.setDate(r.getDate()+e),r}function KF(n,e){const r=new Date(n);return r.setMonth(r.getMonth()+e),r}function JF(n){return n.getFullYear()}function QF(n){return n.getMonth()}function eB(n){return new Date(n.getFullYear(),0,1)}function tB(n){return new Date(n.getFullYear(),11,31)}function nB(n,e){return mx(n,e[0])&&iB(n,e[1])}function rB(n){if(!n||n==null)return!1;const e=new Date(n);return e instanceof Date&&!isNaN(e.getTime())}function mx(n,e){return n.getTime()>e.getTime()}function iB(n,e){return n.getTime()1&&arguments[1]!==void 0?arguments[1]:"content";const r=Vr(),S=Vr();if(to){const D=new ResizeObserver(T=>{n==null||n(T,D),T.length&&(e==="content"?S.value=T[0].contentRect:S.value=T[0].target.getBoundingClientRect())});kl(()=>{D.disconnect()}),$r(r,(T,p)=>{p&&(D.unobserve(ox(p)),S.value=void 0),T&&D.observe(ox(T))},{flush:"post"})}return{resizeRef:r,contentRect:Hm(S)}}const fy=Symbol.for("vuetify:layout"),D6=Symbol.for("vuetify:layout-item"),Z5=1e3,z6=ur({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},"layout"),x0=ur({name:{type:String},order:{type:[Number,String],default:0},absolute:Boolean},"layout-item");function dB(){const n=ka(fy);if(!n)throw new Error("[Vuetify] Could not find injected layout");return{getLayoutItem:n.getLayoutItem,mainRect:n.mainRect,mainStyles:n.mainStyles}}function _0(n){const e=ka(fy);if(!e)throw new Error("[Vuetify] Could not find injected layout");const r=n.id??`layout-item-${Js()}`,S=Ss("useLayoutItem");ts(D6,{id:r});const D=Wr(!1);ZT(()=>D.value=!0),$T(()=>D.value=!1);const{layoutItemStyles:T,layoutItemScrimStyles:p}=e.register(S,{...n,active:cn(()=>D.value?!1:n.active.value),id:r});return kl(()=>e.unregister(r)),{layoutItemStyles:T,layoutRect:e.layoutRect,layoutItemScrimStyles:p}}const pB=(n,e,r,S)=>{let D={top:0,left:0,right:0,bottom:0};const T=[{id:"",layer:{...D}}];for(const p of n){const t=e.get(p),d=r.get(p),g=S.get(p);if(!t||!d||!g)continue;const i={...D,[t.value]:parseInt(D[t.value],10)+(g.value?parseInt(d.value,10):0)};T.push({id:p,layer:i}),D=i}return T};function F6(n){const e=ka(fy,null),r=cn(()=>e?e.rootZIndex.value-100:Z5),S=Vr([]),D=yl(new Map),T=yl(new Map),p=yl(new Map),t=yl(new Map),d=yl(new Map),{resizeRef:g,contentRect:i}=Th(),M=cn(()=>{const w=new Map,y=n.overlaps??[];for(const C of y.filter(_=>_.includes(":"))){const[_,k]=C.split(":");if(!S.value.includes(_)||!S.value.includes(k))continue;const E=D.get(_),x=D.get(k),A=T.get(_),L=T.get(k);!E||!x||!A||!L||(w.set(k,{position:E.value,amount:parseInt(A.value,10)}),w.set(_,{position:x.value,amount:-parseInt(L.value,10)}))}return w}),v=cn(()=>{const w=[...new Set([...p.values()].map(C=>C.value))].sort((C,_)=>C-_),y=[];for(const C of w){const _=S.value.filter(k=>{var E;return((E=p.get(k))==null?void 0:E.value)===C});y.push(..._)}return pB(y,D,T,t)}),f=cn(()=>!Array.from(d.values()).some(w=>w.value)),l=cn(()=>v.value[v.value.length-1].layer),a=cn(()=>({"--v-layout-left":Qr(l.value.left),"--v-layout-right":Qr(l.value.right),"--v-layout-top":Qr(l.value.top),"--v-layout-bottom":Qr(l.value.bottom),...f.value?void 0:{transition:"none"}})),u=cn(()=>v.value.slice(1).map((w,y)=>{let{id:C}=w;const{layer:_}=v.value[y],k=T.get(C),E=D.get(C);return{id:C,..._,size:Number(k.value),position:E.value}})),o=w=>u.value.find(y=>y.id===w),s=Ss("createLayout"),h=Wr(!1);Ks(()=>{h.value=!0}),ts(fy,{register:(w,y)=>{let{id:C,order:_,position:k,layoutSize:E,elementSize:x,active:A,disableTransitions:L,absolute:b}=y;p.set(C,_),D.set(C,k),T.set(C,E),t.set(C,A),L&&d.set(C,L);const I=ym(D6,s==null?void 0:s.vnode).indexOf(w);I>-1?S.value.splice(I,0,C):S.value.push(C);const O=cn(()=>u.value.findIndex(N=>N.id===C)),z=cn(()=>r.value+v.value.length*2-O.value*2),F=cn(()=>{const N=k.value==="left"||k.value==="right",W=k.value==="right",j=k.value==="bottom",$={[k.value]:0,zIndex:z.value,transform:`translate${N?"X":"Y"}(${(A.value?0:-110)*(W||j?-1:1)}%)`,position:b.value||r.value!==Z5?"absolute":"fixed",...f.value?void 0:{transition:"none"}};if(!h.value)return $;const U=u.value[O.value];if(!U)throw new Error(`[Vuetify] Could not find layout item "${C}"`);const G=M.value.get(C);return G&&(U[G.position]+=G.amount),{...$,height:N?`calc(100% - ${U.top}px - ${U.bottom}px)`:x.value?`${x.value}px`:void 0,left:W?void 0:`${U.left}px`,right:W?`${U.right}px`:void 0,top:k.value!=="bottom"?`${U.top}px`:void 0,bottom:k.value!=="top"?`${U.bottom}px`:void 0,width:N?x.value?`${x.value}px`:void 0:`calc(100% - ${U.left}px - ${U.right}px)`}}),B=cn(()=>({zIndex:z.value-1}));return{layoutItemStyles:F,layoutItemScrimStyles:B,zIndex:z}},unregister:w=>{p.delete(w),D.delete(w),T.delete(w),t.delete(w),d.delete(w),S.value=S.value.filter(y=>y!==w)},mainRect:l,mainStyles:a,getLayoutItem:o,items:u,layoutRect:i,rootZIndex:r});const c=cn(()=>["v-layout",{"v-layout--full-height":n.fullHeight}]),m=cn(()=>({zIndex:r.value,position:e?"relative":void 0,overflow:e?"hidden":void 0}));return{layoutClasses:c,layoutStyles:m,getLayoutItem:o,items:u,layoutRect:i,layoutRef:g}}function B6(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{blueprint:e,...r}=n,S=Ku(e,r),{aliases:D={},components:T={},directives:p={}}=S,t=TF(S.defaults),d=SF(S.display,S.ssr),g=HF(S.theme),i=RF(S.icons),M=BF(S.locale),v=fB(S.date);return{install:l=>{for(const a in p)l.directive(a,p[a]);for(const a in T)l.component(a,T[a]);for(const a in D)l.component(a,ac({...D[a],name:a,aliasName:D[a].name}));if(g.install(l),l.provide(u0,t),l.provide(hx,d),l.provide(Fm,g),l.provide(fx,i),l.provide(c0,M),l.provide($5,v),to&&S.ssr)if(l.$nuxt)l.$nuxt.hook("app:suspense:resolve",()=>{d.update()});else{const{mount:a}=l;l.mount=function(){const u=a(...arguments);return Ua(()=>d.update()),l.mount=a,u}}Js.reset(),l.mixin({computed:{$vuetify(){return yl({defaults:Ep.call(this,u0),display:Ep.call(this,hx),theme:Ep.call(this,Fm),icons:Ep.call(this,fx),locale:Ep.call(this,c0),date:Ep.call(this,$5)})}}})},defaults:t,display:d,theme:g,icons:i,locale:M,date:v}}const mB="3.3.16";B6.version=mB;function Ep(n){var S,D;const e=this.$,r=((S=e.parent)==null?void 0:S.provides)??((D=e.vnode.appContext)==null?void 0:D.provides);if(r&&n in r)return r[n]}const gB=ur({...Zr(),...z6({fullHeight:!0}),...oa()},"VApp"),vB=Ar()({name:"VApp",props:gB(),setup(n,e){let{slots:r}=e;const S=Ma(n),{layoutClasses:D,layoutStyles:T,getLayoutItem:p,items:t,layoutRef:d}=F6(n),{rtlClasses:g}=Cs();return Or(()=>{var i;return gt("div",{ref:d,class:["v-application",S.themeClasses.value,D.value,g.value,n.class],style:[T.value,n.style]},[gt("div",{class:"v-application__wrap"},[(i=r.default)==null?void 0:i.call(r)])])}),{getLayoutItem:p,items:t,theme:S}}});const Si=ur({tag:{type:String,default:"div"}},"tag"),N6=ur({text:String,...Zr(),...Si()},"VToolbarTitle"),o_=Ar()({name:"VToolbarTitle",props:N6(),setup(n,e){let{slots:r}=e;return Or(()=>{const S=!!(r.default||r.text||n.text);return gt(n.tag,{class:["v-toolbar-title",n.class],style:n.style},{default:()=>{var D;return[S&>("div",{class:"v-toolbar-title__placeholder"},[r.text?r.text():n.text,(D=r.default)==null?void 0:D.call(r)])]}})}),{}}}),yB=ur({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function Au(n,e,r){return Ar()({name:n,props:yB({mode:r,origin:e}),setup(S,D){let{slots:T}=D;const p={onBeforeEnter(t){S.origin&&(t.style.transformOrigin=S.origin)},onLeave(t){if(S.leaveAbsolute){const{offsetTop:d,offsetLeft:g,offsetWidth:i,offsetHeight:M}=t;t._transitionInitialStyles={position:t.style.position,top:t.style.top,left:t.style.left,width:t.style.width,height:t.style.height},t.style.position="absolute",t.style.top=`${d}px`,t.style.left=`${g}px`,t.style.width=`${i}px`,t.style.height=`${M}px`}S.hideOnLeave&&t.style.setProperty("display","none","important")},onAfterLeave(t){if(S.leaveAbsolute&&(t!=null&&t._transitionInitialStyles)){const{position:d,top:g,left:i,width:M,height:v}=t._transitionInitialStyles;delete t._transitionInitialStyles,t.style.position=d||"",t.style.top=g||"",t.style.left=i||"",t.style.width=M||"",t.style.height=v||""}}};return()=>{const t=S.group?_7:bh;return Xf(t,{name:S.disabled?"":n,css:!S.disabled,...S.group?void 0:{mode:S.mode},...S.disabled?{}:p},T.default)}}})}function V6(n,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return Ar()({name:n,props:{mode:{type:String,default:r},disabled:Boolean},setup(S,D){let{slots:T}=D;return()=>Xf(bh,{name:S.disabled?"":n,css:!S.disabled,...S.disabled?{}:e},T.default)}})}function j6(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const r=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)?"width":"height",S=tc(`offset-${r}`);return{onBeforeEnter(p){p._parent=p.parentNode,p._initialStyle={transition:p.style.transition,overflow:p.style.overflow,[r]:p.style[r]}},onEnter(p){const t=p._initialStyle;p.style.setProperty("transition","none","important"),p.style.overflow="hidden";const d=`${p[S]}px`;p.style[r]="0",p.offsetHeight,p.style.transition=t.transition,n&&p._parent&&p._parent.classList.add(n),requestAnimationFrame(()=>{p.style[r]=d})},onAfterEnter:T,onEnterCancelled:T,onLeave(p){p._initialStyle={transition:"",overflow:p.style.overflow,[r]:p.style[r]},p.style.overflow="hidden",p.style[r]=`${p[S]}px`,p.offsetHeight,requestAnimationFrame(()=>p.style[r]="0")},onAfterLeave:D,onLeaveCancelled:D};function D(p){n&&p._parent&&p._parent.classList.remove(n),T(p)}function T(p){const t=p._initialStyle[r];p.style.overflow=p._initialStyle.overflow,t!=null&&(p.style[r]=t),delete p._initialStyle}}const bB=ur({target:Object},"v-dialog-transition"),Qy=Ar()({name:"VDialogTransition",props:bB(),setup(n,e){let{slots:r}=e;const S={onBeforeEnter(D){D.style.pointerEvents="none",D.style.visibility="hidden"},async onEnter(D,T){var v;await new Promise(f=>requestAnimationFrame(f)),await new Promise(f=>requestAnimationFrame(f)),D.style.visibility="";const{x:p,y:t,sx:d,sy:g,speed:i}=K5(n.target,D),M=Dd(D,[{transform:`translate(${p}px, ${t}px) scale(${d}, ${g})`,opacity:0},{}],{duration:225*i,easing:yF});(v=X5(D))==null||v.forEach(f=>{Dd(f,[{opacity:0},{opacity:0,offset:.33},{}],{duration:225*2*i,easing:zm})}),M.finished.then(()=>T())},onAfterEnter(D){D.style.removeProperty("pointer-events")},onBeforeLeave(D){D.style.pointerEvents="none"},async onLeave(D,T){var v;await new Promise(f=>requestAnimationFrame(f));const{x:p,y:t,sx:d,sy:g,speed:i}=K5(n.target,D);Dd(D,[{},{transform:`translate(${p}px, ${t}px) scale(${d}, ${g})`,opacity:0}],{duration:125*i,easing:bF}).finished.then(()=>T()),(v=X5(D))==null||v.forEach(f=>{Dd(f,[{},{opacity:0,offset:.2},{opacity:0}],{duration:125*2*i,easing:zm})})},onAfterLeave(D){D.style.removeProperty("pointer-events")}};return()=>n.target?gt(bh,qr({name:"dialog-transition"},S,{css:!1}),r):gt(bh,{name:"dialog-transition"},r)}});function X5(n){var r;const e=(r=n.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list"))==null?void 0:r.children;return e&&[...e]}function K5(n,e){const r=n.getBoundingClientRect(),S=J2(e),[D,T]=getComputedStyle(e).transformOrigin.split(" ").map(o=>parseFloat(o)),[p,t]=getComputedStyle(e).getPropertyValue("--v-overlay-anchor-origin").split(" ");let d=r.left+r.width/2;p==="left"||t==="left"?d-=r.width/2:(p==="right"||t==="right")&&(d+=r.width/2);let g=r.top+r.height/2;p==="top"||t==="top"?g-=r.height/2:(p==="bottom"||t==="bottom")&&(g+=r.height/2);const i=r.width/S.width,M=r.height/S.height,v=Math.max(1,i,M),f=i/v||0,l=M/v||0,a=S.width*S.height/(window.innerWidth*window.innerHeight),u=a>.12?Math.min(1.5,(a-.12)*10+1):1;return{x:d-(D+S.left),y:g-(T+S.top),sx:f,sy:l,speed:u}}const xB=Au("fab-transition","center center","out-in"),_B=Au("dialog-bottom-transition"),wB=Au("dialog-top-transition"),gx=Au("fade-transition"),s_=Au("scale-transition"),TB=Au("scroll-x-transition"),kB=Au("scroll-x-reverse-transition"),MB=Au("scroll-y-transition"),AB=Au("scroll-y-reverse-transition"),SB=Au("slide-x-transition"),CB=Au("slide-x-reverse-transition"),l_=Au("slide-y-transition"),EB=Au("slide-y-reverse-transition"),e1=V6("expand-transition",j6()),u_=V6("expand-x-transition",j6("",!0)),LB=ur({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),Fa=Ar(!1)({name:"VDefaultsProvider",props:LB(),setup(n,e){let{slots:r}=e;const{defaults:S,disabled:D,reset:T,root:p,scoped:t}=by(n);return es(S,{reset:T,root:p,scoped:t,disabled:D}),()=>{var d;return(d=r.default)==null?void 0:d.call(r)}}});const sc=ur({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function lc(n){return{dimensionStyles:cn(()=>({height:Qr(n.height),maxHeight:Qr(n.maxHeight),maxWidth:Qr(n.maxWidth),minHeight:Qr(n.minHeight),minWidth:Qr(n.minWidth),width:Qr(n.width)}))}}function IB(n){return{aspectStyles:cn(()=>{const e=Number(n.aspectRatio);return e?{paddingBottom:String(1/e*100)+"%"}:void 0})}}const U6=ur({aspectRatio:[String,Number],contentClass:String,inline:Boolean,...Zr(),...sc()},"VResponsive"),vx=Ar()({name:"VResponsive",props:U6(),setup(n,e){let{slots:r}=e;const{aspectStyles:S}=IB(n),{dimensionStyles:D}=lc(n);return Or(()=>{var T;return gt("div",{class:["v-responsive",{"v-responsive--inline":n.inline},n.class],style:[D.value,n.style]},[gt("div",{class:"v-responsive__sizer",style:S.value},null),(T=r.additional)==null?void 0:T.call(r),r.default&>("div",{class:["v-responsive__content",n.contentClass]},[r.default()])])}),{}}}),df=ur({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:n=>n!==!0}},"transition"),Oc=(n,e)=>{let{slots:r}=e;const{transition:S,disabled:D,...T}=n,{component:p=bh,...t}=typeof S=="object"?S:{};return Xf(p,qr(typeof S=="string"?{name:D?"":S}:t,T,{disabled:D}),r)};function RB(n,e){if(!$2)return;const r=e.modifiers||{},S=e.value,{handler:D,options:T}=typeof S=="object"?S:{handler:S,options:{}},p=new IntersectionObserver(function(){var M;let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],d=arguments.length>1?arguments[1]:void 0;const g=(M=n._observe)==null?void 0:M[e.instance.$.uid];if(!g)return;const i=t.some(v=>v.isIntersecting);D&&(!r.quiet||g.init)&&(!r.once||i||g.init)&&D(i,t,d),i&&r.once?H6(n,e):g.init=!0},T);n._observe=Object(n._observe),n._observe[e.instance.$.uid]={init:!1,observer:p},p.observe(n)}function H6(n,e){var S;const r=(S=n._observe)==null?void 0:S[e.instance.$.uid];r&&(r.observer.unobserve(n),delete n._observe[e.instance.$.uid])}const og={mounted:RB,unmounted:H6},G6=ur({alt:String,cover:Boolean,eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},sizes:String,src:{type:[String,Object],default:""},srcset:String,...U6(),...Zr(),...df()},"VImg"),Zd=Ar()({name:"VImg",directives:{intersect:og},props:G6(),emits:{loadstart:n=>!0,load:n=>!0,error:n=>!0},setup(n,e){let{emit:r,slots:S}=e;const D=Wr(""),T=Vr(),p=Wr(n.eager?"loading":"idle"),t=Wr(),d=Wr(),g=cn(()=>n.src&&typeof n.src=="object"?{src:n.src.src,srcset:n.srcset||n.src.srcset,lazySrc:n.lazySrc||n.src.lazySrc,aspect:Number(n.aspectRatio||n.src.aspect||0)}:{src:n.src,srcset:n.srcset,lazySrc:n.lazySrc,aspect:Number(n.aspectRatio||0)}),i=cn(()=>g.value.aspect||t.value/d.value||0);$r(()=>n.src,()=>{M(p.value!=="idle")}),$r(i,(C,_)=>{!C&&_&&T.value&&u(T.value)}),Sy(()=>M());function M(C){if(!(n.eager&&C)&&!($2&&!C&&!n.eager)){if(p.value="loading",g.value.lazySrc){const _=new Image;_.src=g.value.lazySrc,u(_,null)}g.value.src&&Ua(()=>{var _,k;if(r("loadstart",((_=T.value)==null?void 0:_.currentSrc)||g.value.src),(k=T.value)!=null&&k.complete){if(T.value.naturalWidth||f(),p.value==="error")return;i.value||u(T.value,null),v()}else i.value||u(T.value),l()})}}function v(){var C;l(),p.value="loaded",r("load",((C=T.value)==null?void 0:C.currentSrc)||g.value.src)}function f(){var C;p.value="error",r("error",((C=T.value)==null?void 0:C.currentSrc)||g.value.src)}function l(){const C=T.value;C&&(D.value=C.currentSrc||C.src)}let a=-1;function u(C){let _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const k=()=>{clearTimeout(a);const{naturalHeight:E,naturalWidth:x}=C;E||x?(t.value=x,d.value=E):!C.complete&&p.value==="loading"&&_!=null?a=window.setTimeout(k,_):(C.currentSrc.endsWith(".svg")||C.currentSrc.startsWith("data:image/svg+xml"))&&(t.value=1,d.value=1)};k()}const o=cn(()=>({"v-img__img--cover":n.cover,"v-img__img--contain":!n.cover})),s=()=>{var k;if(!g.value.src||p.value==="idle")return null;const C=gt("img",{class:["v-img__img",o.value],src:g.value.src,srcset:g.value.srcset,alt:n.alt,sizes:n.sizes,ref:T,onLoad:v,onError:f},null),_=(k=S.sources)==null?void 0:k.call(S);return gt(Oc,{transition:n.transition,appear:!0},{default:()=>[Co(_?gt("picture",{class:"v-img__picture"},[_,C]):C,[[kh,p.value==="loaded"]])]})},h=()=>gt(Oc,{transition:n.transition},{default:()=>[g.value.lazySrc&&p.value!=="loaded"&>("img",{class:["v-img__img","v-img__img--preload",o.value],src:g.value.lazySrc,alt:n.alt},null)]}),c=()=>S.placeholder?gt(Oc,{transition:n.transition,appear:!0},{default:()=>[(p.value==="loading"||p.value==="error"&&!S.error)&>("div",{class:"v-img__placeholder"},[S.placeholder()])]}):null,m=()=>S.error?gt(Oc,{transition:n.transition,appear:!0},{default:()=>[p.value==="error"&>("div",{class:"v-img__error"},[S.error()])]}):null,w=()=>n.gradient?gt("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${n.gradient})`}},null):null,y=Wr(!1);{const C=$r(i,_=>{_&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{y.value=!0})}),C())})}return Or(()=>{const[C]=vx.filterProps(n);return Co(gt(vx,qr({class:["v-img",{"v-img--booting":!y.value},n.class],style:[{width:Qr(n.width==="auto"?t.value:n.width)},n.style]},C,{aspectRatio:i.value,"aria-label":n.alt,role:n.alt?"img":void 0}),{additional:()=>gt(Yr,null,[gt(s,null,null),gt(h,null,null),gt(w,null,null),gt(c,null,null),gt(m,null,null)]),default:S.default}),[[Tu("intersect"),{handler:M,options:n.options},null,{once:!0}]])}),{currentSrc:D,image:T,state:p,naturalWidth:t,naturalHeight:d}}}),Su=ur({border:[Boolean,Number,String]},"border");function uc(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();return{borderClasses:cn(()=>{const S=eo(n)?n.value:n.border,D=[];if(S===!0||S==="")D.push(`${e}--border`);else if(typeof S=="string"||S===0)for(const T of String(S).split(" "))D.push(`border-${T}`);return D})}}function c_(n){return X2(()=>{const e=[],r={};if(n.value.background)if(z5(n.value.background)){if(r.backgroundColor=n.value.background,!n.value.text){const S=A6(r.backgroundColor);r.color=S,r.caretColor=S}}else e.push(`bg-${n.value.background}`);return n.value.text&&(z5(n.value.text)?(r.color=n.value.text,r.caretColor=n.value.text):e.push(`text-${n.value.text}`)),{colorClasses:e,colorStyles:r}})}function Xs(n,e){const r=cn(()=>({text:eo(n)?n.value:e?n[e]:null})),{colorClasses:S,colorStyles:D}=c_(r);return{textColorClasses:S,textColorStyles:D}}function Oo(n,e){const r=cn(()=>({background:eo(n)?n.value:e?n[e]:null})),{colorClasses:S,colorStyles:D}=c_(r);return{backgroundColorClasses:S,backgroundColorStyles:D}}const fs=ur({elevation:{type:[Number,String],validator(n){const e=parseInt(n);return!isNaN(e)&&e>=0&&e<=24}}},"elevation");function Vs(n){return{elevationClasses:cn(()=>{const r=eo(n)?n.value:n.elevation,S=[];return r==null||S.push(`elevation-${r}`),S})}}const uo=ur({rounded:{type:[Boolean,Number,String],default:void 0}},"rounded");function Eo(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();return{roundedClasses:cn(()=>{const S=eo(n)?n.value:n.rounded,D=[];if(S===!0||S==="")D.push(`${e}--rounded`);else if(typeof S=="string"||S===0)for(const T of String(S).split(" "))D.push(`rounded-${T}`);return D})}}const PB=[null,"prominent","default","comfortable","compact"],q6=ur({absolute:Boolean,collapse:Boolean,color:String,density:{type:String,default:"default",validator:n=>PB.includes(n)},extended:Boolean,extensionHeight:{type:[Number,String],default:48},flat:Boolean,floating:Boolean,height:{type:[Number,String],default:64},image:String,title:String,...Su(),...Zr(),...fs(),...uo(),...Si({tag:"header"}),...oa()},"VToolbar"),yx=Ar()({name:"VToolbar",props:q6(),setup(n,e){var f;let{slots:r}=e;const{backgroundColorClasses:S,backgroundColorStyles:D}=Oo(Cr(n,"color")),{borderClasses:T}=uc(n),{elevationClasses:p}=Vs(n),{roundedClasses:t}=Eo(n),{themeClasses:d}=Ma(n),{rtlClasses:g}=Cs(),i=Wr(!!(n.extended||(f=r.extension)!=null&&f.call(r))),M=cn(()=>parseInt(Number(n.height)+(n.density==="prominent"?Number(n.height):0)-(n.density==="comfortable"?8:0)-(n.density==="compact"?16:0),10)),v=cn(()=>i.value?parseInt(Number(n.extensionHeight)+(n.density==="prominent"?Number(n.extensionHeight):0)-(n.density==="comfortable"?4:0)-(n.density==="compact"?8:0),10):0);return es({VBtn:{variant:"text"}}),Or(()=>{var o;const l=!!(n.title||r.title),a=!!(r.image||n.image),u=(o=r.extension)==null?void 0:o.call(r);return i.value=!!(n.extended||u),gt(n.tag,{class:["v-toolbar",{"v-toolbar--absolute":n.absolute,"v-toolbar--collapse":n.collapse,"v-toolbar--flat":n.flat,"v-toolbar--floating":n.floating,[`v-toolbar--density-${n.density}`]:!0},S.value,T.value,p.value,t.value,d.value,g.value,n.class],style:[D.value,n.style]},{default:()=>[a&>("div",{key:"image",class:"v-toolbar__image"},[r.image?gt(Fa,{key:"image-defaults",disabled:!n.image,defaults:{VImg:{cover:!0,src:n.image}}},r.image):gt(Zd,{key:"image-img",cover:!0,src:n.image},null)]),gt(Fa,{defaults:{VTabs:{height:Qr(M.value)}}},{default:()=>{var s,h,c;return[gt("div",{class:"v-toolbar__content",style:{height:Qr(M.value)}},[r.prepend&>("div",{class:"v-toolbar__prepend"},[(s=r.prepend)==null?void 0:s.call(r)]),l&>(o_,{key:"title",text:n.title},{text:r.title}),(h=r.default)==null?void 0:h.call(r),r.append&>("div",{class:"v-toolbar__append"},[(c=r.append)==null?void 0:c.call(r)])])]}}),gt(Fa,{defaults:{VTabs:{height:Qr(v.value)}}},{default:()=>[gt(e1,null,{default:()=>[i.value&>("div",{class:"v-toolbar__extension",style:{height:Qr(v.value)}},[u])]})]})]})}),{contentHeight:M,extensionHeight:v}}}),OB=ur({scrollTarget:{type:String},scrollThreshold:{type:[String,Number],default:300}},"scroll");function DB(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{canScroll:r}=e;let S=0;const D=Vr(null),T=Wr(0),p=Wr(0),t=Wr(0),d=Wr(!1),g=Wr(!1),i=cn(()=>Number(n.scrollThreshold)),M=cn(()=>Zs((i.value-T.value)/i.value||0)),v=()=>{const f=D.value;!f||r&&!r.value||(S=T.value,T.value="window"in f?f.pageYOffset:f.scrollTop,g.value=T.value{p.value=p.value||T.value}),$r(d,()=>{p.value=0}),Ks(()=>{$r(()=>n.scrollTarget,f=>{var a;const l=f?document.querySelector(f):window;l&&l!==D.value&&((a=D.value)==null||a.removeEventListener("scroll",v),D.value=l,D.value.addEventListener("scroll",v,{passive:!0}))},{immediate:!0})}),kl(()=>{var f;(f=D.value)==null||f.removeEventListener("scroll",v)}),r&&$r(r,v,{immediate:!0}),{scrollThreshold:i,currentScroll:T,currentThreshold:t,isScrollActive:d,scrollRatio:M,isScrollingUp:g,savedScroll:p}}function tp(){const n=Wr(!1);return Ks(()=>{window.requestAnimationFrame(()=>{n.value=!0})}),{ssrBootStyles:cn(()=>n.value?void 0:{transition:"none !important"}),isBooted:Hm(n)}}const zB=ur({scrollBehavior:String,modelValue:{type:Boolean,default:!0},location:{type:String,default:"top",validator:n=>["top","bottom"].includes(n)},...q6(),...x0(),...OB(),height:{type:[Number,String],default:64}},"VAppBar"),FB=Ar()({name:"VAppBar",props:zB(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const S=Vr(),D=xi(n,"modelValue"),T=cn(()=>{var s;const o=new Set(((s=n.scrollBehavior)==null?void 0:s.split(" "))??[]);return{hide:o.has("hide"),inverted:o.has("inverted"),collapse:o.has("collapse"),elevate:o.has("elevate"),fadeImage:o.has("fade-image")}}),p=cn(()=>{const o=T.value;return o.hide||o.inverted||o.collapse||o.elevate||o.fadeImage||!D.value}),{currentScroll:t,scrollThreshold:d,isScrollingUp:g,scrollRatio:i}=DB(n,{canScroll:p}),M=cn(()=>n.collapse||T.value.collapse&&(T.value.inverted?i.value>0:i.value===0)),v=cn(()=>n.flat||T.value.elevate&&(T.value.inverted?t.value>0:t.value===0)),f=cn(()=>T.value.fadeImage?T.value.inverted?1-i.value:i.value:void 0),l=cn(()=>{var h,c;if(T.value.hide&&T.value.inverted)return 0;const o=((h=S.value)==null?void 0:h.contentHeight)??0,s=((c=S.value)==null?void 0:c.extensionHeight)??0;return o+s});$f(cn(()=>!!n.scrollBehavior),()=>{wu(()=>{T.value.hide?T.value.inverted?D.value=t.value>d.value:D.value=g.value||t.valueparseInt(n.order,10)),position:Cr(n,"location"),layoutSize:l,elementSize:Wr(void 0),active:D,absolute:Cr(n,"absolute")});return Or(()=>{const[o]=yx.filterProps(n);return gt(yx,qr({ref:S,class:["v-app-bar",{"v-app-bar--bottom":n.location==="bottom"},n.class],style:[{...u.value,"--v-toolbar-image-opacity":f.value,height:void 0,...a.value},n.style]},o,{collapse:M.value,flat:v.value}),r)}),{}}});const BB=[null,"default","comfortable","compact"],ds=ur({density:{type:String,default:"default",validator:n=>BB.includes(n)}},"density");function Qs(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();return{densityClasses:cn(()=>`${e}--density-${n.density}`)}}const NB=["elevated","flat","tonal","outlined","text","plain"];function np(n,e){return gt(Yr,null,[n&>("span",{key:"overlay",class:`${e}__overlay`},null),gt("span",{key:"underlay",class:`${e}__underlay`},null)])}const cc=ur({color:String,variant:{type:String,default:"elevated",validator:n=>NB.includes(n)}},"variant");function rp(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();const r=cn(()=>{const{variant:T}=yu(n);return`${e}--variant-${T}`}),{colorClasses:S,colorStyles:D}=c_(cn(()=>{const{variant:T,color:p}=yu(n);return{[["elevated","flat"].includes(T)?"background":"text"]:p}}));return{colorClasses:S,colorStyles:D,variantClasses:r}}const W6=ur({divided:Boolean,...Su(),...Zr(),...ds(),...fs(),...uo(),...Si(),...oa(),...cc()},"VBtnGroup"),bx=Ar()({name:"VBtnGroup",props:W6(),setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ma(n),{densityClasses:D}=Qs(n),{borderClasses:T}=uc(n),{elevationClasses:p}=Vs(n),{roundedClasses:t}=Eo(n);es({VBtn:{height:"auto",color:Cr(n,"color"),density:Cr(n,"density"),flat:!0,variant:Cr(n,"variant")}}),Or(()=>gt(n.tag,{class:["v-btn-group",{"v-btn-group--divided":n.divided},S.value,T.value,D.value,p.value,t.value,n.class],style:n.style},r))}}),w0=ur({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),T0=ur({value:null,disabled:Boolean,selectedClass:String},"group-item");function k0(n,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const S=Ss("useGroupItem");if(!S)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const D=Js();ts(Symbol.for(`${e.description}:id`),D);const T=ka(e,null);if(!T){if(!r)return T;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${e.description}`)}const p=Cr(n,"value"),t=cn(()=>!!(T.disabled.value||n.disabled));T.register({id:D,value:p,disabled:t},S),kl(()=>{T.unregister(D)});const d=cn(()=>T.isSelected(D)),g=cn(()=>d.value&&[T.selectedClass.value,n.selectedClass]);return $r(d,i=>{S.emit("group:selected",{value:i})}),{id:D,isSelected:d,toggle:()=>T.select(D,!d.value),select:i=>T.select(D,i),selectedClass:g,value:p,disabled:t,group:T}}function ip(n,e){let r=!1;const S=yl([]),D=xi(n,"modelValue",[],v=>v==null?[]:Y6(S,bu(v)),v=>{const f=jB(S,v);return n.multiple?f:f[0]}),T=Ss("useGroup");function p(v,f){const l=v,a=Symbol.for(`${e.description}:id`),o=ym(a,T==null?void 0:T.vnode).indexOf(f);o>-1?S.splice(o,0,l):S.push(l)}function t(v){if(r)return;d();const f=S.findIndex(l=>l.id===v);S.splice(f,1)}function d(){const v=S.find(f=>!f.disabled);v&&n.mandatory==="force"&&!D.value.length&&(D.value=[v.id])}Ks(()=>{d()}),kl(()=>{r=!0});function g(v,f){const l=S.find(a=>a.id===v);if(!(f&&(l!=null&&l.disabled)))if(n.multiple){const a=D.value.slice(),u=a.findIndex(s=>s===v),o=~u;if(f=f??!o,o&&n.mandatory&&a.length<=1||!o&&n.max!=null&&a.length+1>n.max)return;u<0&&f?a.push(v):u>=0&&!f&&a.splice(u,1),D.value=a}else{const a=D.value.includes(v);if(n.mandatory&&a)return;D.value=f??!a?[v]:[]}}function i(v){if(n.multiple,D.value.length){const f=D.value[0],l=S.findIndex(o=>o.id===f);let a=(l+v)%S.length,u=S[a];for(;u.disabled&&a!==l;)a=(a+v)%S.length,u=S[a];if(u.disabled)return;D.value=[S[a].id]}else{const f=S.find(l=>!l.disabled);f&&(D.value=[f.id])}}const M={register:p,unregister:t,selected:D,select:g,disabled:Cr(n,"disabled"),prev:()=>i(S.length-1),next:()=>i(1),isSelected:v=>D.value.includes(v),selectedClass:cn(()=>n.selectedClass),items:cn(()=>S),getItemIndex:v=>VB(S,v)};return ts(e,M),M}function VB(n,e){const r=Y6(n,[e]);return r.length?n.findIndex(S=>S.id===r[0]):-1}function Y6(n,e){const r=[];return e.forEach(S=>{const D=n.find(p=>b0(S,p.value)),T=n[S];(D==null?void 0:D.value)!=null?r.push(D.id):T!=null&&r.push(T.id)}),r}function jB(n,e){const r=[];return e.forEach(S=>{const D=n.findIndex(T=>T.id===S);if(~D){const T=n[D];r.push(T.value!=null?T.value:D)}}),r}const h_=Symbol.for("vuetify:v-btn-toggle"),UB=ur({...W6(),...w0()},"VBtnToggle"),HB=Ar()({name:"VBtnToggle",props:UB(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{isSelected:S,next:D,prev:T,select:p,selected:t}=ip(n,h_);return Or(()=>{const[d]=bx.filterProps(n);return gt(bx,qr({class:["v-btn-toggle",n.class]},d,{style:n.style}),{default:()=>{var g;return[(g=r.default)==null?void 0:g.call(r,{isSelected:S,next:D,prev:T,select:p,selected:t})]}})}),{next:D,prev:T,select:p}}});const GB=["x-small","small","default","large","x-large"],pf=ur({size:{type:[String,Number],default:"default"}},"size");function M0(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();return X2(()=>{let r,S;return ly(GB,n.size)?r=`${e}--size-${n.size}`:n.size&&(S={width:Qr(n.size),height:Qr(n.size)}),{sizeClasses:r,sizeStyles:S}})}const qB=ur({color:String,start:Boolean,end:Boolean,icon:bi,...Zr(),...pf(),...Si({tag:"i"}),...oa()},"VIcon"),ja=Ar()({name:"VIcon",props:qB(),setup(n,e){let{attrs:r,slots:S}=e;const D=Vr(),{themeClasses:T}=Ma(n),{iconData:p}=PF(cn(()=>D.value||n.icon)),{sizeClasses:t}=M0(n),{textColorClasses:d,textColorStyles:g}=Xs(Cr(n,"color"));return Or(()=>{var M,v;const i=(M=S.default)==null?void 0:M.call(S);return i&&(D.value=(v=f6(i).filter(f=>f.type===Gm&&f.children&&typeof f.children=="string")[0])==null?void 0:v.children),gt(p.value.component,{tag:n.tag,icon:p.value.icon,class:["v-icon","notranslate",T.value,t.value,d.value,{"v-icon--clickable":!!r.onClick,"v-icon--start":n.start,"v-icon--end":n.end},n.class],style:[t.value?void 0:{fontSize:Qr(n.size),height:Qr(n.size),width:Qr(n.size)},g.value,n.style],role:r.onClick?"button":void 0,"aria-hidden":!r.onClick},{default:()=>[i]})}),{}}});function f_(n,e){const r=Vr(),S=Wr(!1);if($2){const D=new IntersectionObserver(T=>{n==null||n(T,D),S.value=!!T.find(p=>p.isIntersecting)},e);kl(()=>{D.disconnect()}),$r(r,(T,p)=>{p&&(D.unobserve(p),S.value=!1),T&&D.observe(T)},{flush:"post"})}return{intersectionRef:r,isIntersecting:S}}const WB=ur({bgColor:String,color:String,indeterminate:[Boolean,String],modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...Zr(),...pf(),...Si({tag:"div"}),...oa()},"VProgressCircular"),d_=Ar()({name:"VProgressCircular",props:WB(),setup(n,e){let{slots:r}=e;const S=20,D=2*Math.PI*S,T=Vr(),{themeClasses:p}=Ma(n),{sizeClasses:t,sizeStyles:d}=M0(n),{textColorClasses:g,textColorStyles:i}=Xs(Cr(n,"color")),{textColorClasses:M,textColorStyles:v}=Xs(Cr(n,"bgColor")),{intersectionRef:f,isIntersecting:l}=f_(),{resizeRef:a,contentRect:u}=Th(),o=cn(()=>Math.max(0,Math.min(100,parseFloat(n.modelValue)))),s=cn(()=>Number(n.width)),h=cn(()=>d.value?Number(n.size):u.value?u.value.width:Math.max(s.value,32)),c=cn(()=>S/(1-s.value/h.value)*2),m=cn(()=>s.value/h.value*c.value),w=cn(()=>Qr((100-o.value)/100*D));return wu(()=>{f.value=T.value,a.value=T.value}),Or(()=>gt(n.tag,{ref:T,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!n.indeterminate,"v-progress-circular--visible":l.value,"v-progress-circular--disable-shrink":n.indeterminate==="disable-shrink"},p.value,t.value,g.value,n.class],style:[d.value,i.value,n.style],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":n.indeterminate?void 0:o.value},{default:()=>[gt("svg",{style:{transform:`rotate(calc(-90deg + ${Number(n.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${c.value} ${c.value}`},[gt("circle",{class:["v-progress-circular__underlay",M.value],style:v.value,fill:"transparent",cx:"50%",cy:"50%",r:S,"stroke-width":m.value,"stroke-dasharray":D,"stroke-dashoffset":0},null),gt("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:S,"stroke-width":m.value,"stroke-dasharray":D,"stroke-dashoffset":w.value},null)]),r.default&>("div",{class:"v-progress-circular__content"},[r.default({value:o.value})])]})),{}}});const J5={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},ed=ur({location:String},"location");function td(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=arguments.length>2?arguments[2]:void 0;const{isRtl:S}=Cs();return{locationStyles:cn(()=>{if(!n.location)return{};const{side:T,align:p}=lx(n.location.split(" ").length>1?n.location:`${n.location} center`,S.value);function t(g){return r?r(g):0}const d={};return T!=="center"&&(e?d[J5[T]]=`calc(100% - ${t(T)}px)`:d[T]=0),p!=="center"?e?d[J5[p]]=`calc(100% - ${t(p)}px)`:d[p]=0:(T==="center"?d.top=d.left="50%":d[{top:"left",bottom:"left",left:"top",right:"top"}[T]]="50%",d.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[T]),d})}}const YB=ur({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...Zr(),...ed({location:"top"}),...uo(),...Si(),...oa()},"VProgressLinear"),p_=Ar()({name:"VProgressLinear",props:YB(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const S=xi(n,"modelValue"),{isRtl:D,rtlClasses:T}=Cs(),{themeClasses:p}=Ma(n),{locationStyles:t}=td(n),{textColorClasses:d,textColorStyles:g}=Xs(n,"color"),{backgroundColorClasses:i,backgroundColorStyles:M}=Oo(cn(()=>n.bgColor||n.color)),{backgroundColorClasses:v,backgroundColorStyles:f}=Oo(n,"color"),{roundedClasses:l}=Eo(n),{intersectionRef:a,isIntersecting:u}=f_(),o=cn(()=>parseInt(n.max,10)),s=cn(()=>parseInt(n.height,10)),h=cn(()=>parseFloat(n.bufferValue)/o.value*100),c=cn(()=>parseFloat(S.value)/o.value*100),m=cn(()=>D.value!==n.reverse),w=cn(()=>n.indeterminate?"fade-transition":"slide-x-transition"),y=cn(()=>n.bgOpacity==null?n.bgOpacity:parseFloat(n.bgOpacity));function C(_){if(!a.value)return;const{left:k,right:E,width:x}=a.value.getBoundingClientRect(),A=m.value?x-_.clientX+(E-x):_.clientX-k;S.value=Math.round(A/x*o.value)}return Or(()=>gt(n.tag,{ref:a,class:["v-progress-linear",{"v-progress-linear--absolute":n.absolute,"v-progress-linear--active":n.active&&u.value,"v-progress-linear--reverse":m.value,"v-progress-linear--rounded":n.rounded,"v-progress-linear--rounded-bar":n.roundedBar,"v-progress-linear--striped":n.striped},l.value,p.value,T.value,n.class],style:[{bottom:n.location==="bottom"?0:void 0,top:n.location==="top"?0:void 0,height:n.active?Qr(s.value):0,"--v-progress-linear-height":Qr(s.value),...t.value},n.style],role:"progressbar","aria-hidden":n.active?"false":"true","aria-valuemin":"0","aria-valuemax":n.max,"aria-valuenow":n.indeterminate?void 0:c.value,onClick:n.clickable&&C},{default:()=>[n.stream&>("div",{key:"stream",class:["v-progress-linear__stream",d.value],style:{...g.value,[m.value?"left":"right"]:Qr(-s.value),borderTop:`${Qr(s.value/2)} dotted`,opacity:y.value,top:`calc(50% - ${Qr(s.value/4)})`,width:Qr(100-h.value,"%"),"--v-progress-linear-stream-to":Qr(s.value*(m.value?1:-1))}},null),gt("div",{class:["v-progress-linear__background",i.value],style:[M.value,{opacity:y.value,width:Qr(n.stream?h.value:100,"%")}]},null),gt(bh,{name:w.value},{default:()=>[n.indeterminate?gt("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(_=>gt("div",{key:_,class:["v-progress-linear__indeterminate",_,v.value],style:f.value},null))]):gt("div",{class:["v-progress-linear__determinate",v.value],style:[f.value,{width:Qr(c.value,"%")}]},null)]}),r.default&>("div",{class:"v-progress-linear__content"},[r.default({value:c.value,buffer:h.value})])]})),{}}}),m_=ur({loading:[Boolean,String]},"loader");function t1(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();return{loaderClasses:cn(()=>({[`${e}--loading`]:n.loading}))}}function g_(n,e){var S;let{slots:r}=e;return gt("div",{class:`${n.name}__loader`},[((S=r.default)==null?void 0:S.call(r,{color:n.color,isActive:n.active}))||gt(p_,{active:n.active,color:n.color,height:"2",indeterminate:!0},null)])}const $B=["static","relative","fixed","absolute","sticky"],A0=ur({position:{type:String,validator:n=>$B.includes(n)}},"position");function S0(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();return{positionClasses:cn(()=>n.position?`${e}--${n.position}`:void 0)}}function $6(){var n,e;return(e=(n=Ss("useRouter"))==null?void 0:n.proxy)==null?void 0:e.$router}function sg(n,e){const r=yE("RouterLink"),S=cn(()=>!!(n.href||n.to)),D=cn(()=>(S==null?void 0:S.value)||k5(e,"click")||k5(n,"click"));if(typeof r=="string")return{isLink:S,isClickable:D,href:Cr(n,"href")};const T=n.to?r.useLink(n):void 0;return{isLink:S,isClickable:D,route:T==null?void 0:T.route,navigate:T==null?void 0:T.navigate,isActive:T&&cn(()=>{var p,t;return n.exact?(p=T.isExactActive)==null?void 0:p.value:(t=T.isActive)==null?void 0:t.value}),href:cn(()=>n.to?T==null?void 0:T.route.value.href:n.href)}}const lg=ur({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let bb=!1;function ZB(n,e){let r=!1,S,D;to&&(Ua(()=>{window.addEventListener("popstate",T),S=n==null?void 0:n.beforeEach((p,t,d)=>{bb?r?e(d):d():setTimeout(()=>r?e(d):d()),bb=!0}),D=n==null?void 0:n.afterEach(()=>{bb=!1})}),Tl(()=>{window.removeEventListener("popstate",T),S==null||S(),D==null||D()}));function T(p){var t;(t=p.state)!=null&&t.replaced||(r=!0,setTimeout(()=>r=!1))}}function XB(n,e){$r(()=>{var r;return(r=n.isActive)==null?void 0:r.value},r=>{n.isLink.value&&r&&e&&Ua(()=>{e(!0)})},{immediate:!0})}const xx=Symbol("rippleStop"),KB=80;function Q5(n,e){n.style.transform=e,n.style.webkitTransform=e}function _x(n){return n.constructor.name==="TouchEvent"}function Z6(n){return n.constructor.name==="KeyboardEvent"}const JB=function(n,e){var M;let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},S=0,D=0;if(!Z6(n)){const v=e.getBoundingClientRect(),f=_x(n)?n.touches[n.touches.length-1]:n;S=f.clientX-v.left,D=f.clientY-v.top}let T=0,p=.3;(M=e._ripple)!=null&&M.circle?(p=.15,T=e.clientWidth/2,T=r.center?T:T+Math.sqrt((S-T)**2+(D-T)**2)/4):T=Math.sqrt(e.clientWidth**2+e.clientHeight**2)/2;const t=`${(e.clientWidth-T*2)/2}px`,d=`${(e.clientHeight-T*2)/2}px`,g=r.center?t:`${S-T}px`,i=r.center?d:`${D-T}px`;return{radius:T,scale:p,x:g,y:i,centerX:t,centerY:d}},dy={show(n,e){var f;let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((f=e==null?void 0:e._ripple)!=null&&f.enabled))return;const S=document.createElement("span"),D=document.createElement("span");S.appendChild(D),S.className="v-ripple__container",r.class&&(S.className+=` ${r.class}`);const{radius:T,scale:p,x:t,y:d,centerX:g,centerY:i}=JB(n,e,r),M=`${T*2}px`;D.className="v-ripple__animation",D.style.width=M,D.style.height=M,e.appendChild(S);const v=window.getComputedStyle(e);v&&v.position==="static"&&(e.style.position="relative",e.dataset.previousPosition="static"),D.classList.add("v-ripple__animation--enter"),D.classList.add("v-ripple__animation--visible"),Q5(D,`translate(${t}, ${d}) scale3d(${p},${p},${p})`),D.dataset.activated=String(performance.now()),setTimeout(()=>{D.classList.remove("v-ripple__animation--enter"),D.classList.add("v-ripple__animation--in"),Q5(D,`translate(${g}, ${i}) scale3d(1,1,1)`)},0)},hide(n){var T;if(!((T=n==null?void 0:n._ripple)!=null&&T.enabled))return;const e=n.getElementsByClassName("v-ripple__animation");if(e.length===0)return;const r=e[e.length-1];if(r.dataset.isHiding)return;r.dataset.isHiding="true";const S=performance.now()-Number(r.dataset.activated),D=Math.max(250-S,0);setTimeout(()=>{r.classList.remove("v-ripple__animation--in"),r.classList.add("v-ripple__animation--out"),setTimeout(()=>{var t;n.getElementsByClassName("v-ripple__animation").length===1&&n.dataset.previousPosition&&(n.style.position=n.dataset.previousPosition,delete n.dataset.previousPosition),((t=r.parentNode)==null?void 0:t.parentNode)===n&&n.removeChild(r.parentNode)},300)},D)}};function X6(n){return typeof n>"u"||!!n}function Bm(n){const e={},r=n.currentTarget;if(!(!(r!=null&&r._ripple)||r._ripple.touched||n[xx])){if(n[xx]=!0,_x(n))r._ripple.touched=!0,r._ripple.isTouch=!0;else if(r._ripple.isTouch)return;if(e.center=r._ripple.centered||Z6(n),r._ripple.class&&(e.class=r._ripple.class),_x(n)){if(r._ripple.showTimerCommit)return;r._ripple.showTimerCommit=()=>{dy.show(n,r,e)},r._ripple.showTimer=window.setTimeout(()=>{var S;(S=r==null?void 0:r._ripple)!=null&&S.showTimerCommit&&(r._ripple.showTimerCommit(),r._ripple.showTimerCommit=null)},KB)}else dy.show(n,r,e)}}function eT(n){n[xx]=!0}function vu(n){const e=n.currentTarget;if(e!=null&&e._ripple){if(window.clearTimeout(e._ripple.showTimer),n.type==="touchend"&&e._ripple.showTimerCommit){e._ripple.showTimerCommit(),e._ripple.showTimerCommit=null,e._ripple.showTimer=window.setTimeout(()=>{vu(n)});return}window.setTimeout(()=>{e._ripple&&(e._ripple.touched=!1)}),dy.hide(e)}}function K6(n){const e=n.currentTarget;e!=null&&e._ripple&&(e._ripple.showTimerCommit&&(e._ripple.showTimerCommit=null),window.clearTimeout(e._ripple.showTimer))}let Nm=!1;function J6(n){!Nm&&(n.keyCode===x5.enter||n.keyCode===x5.space)&&(Nm=!0,Bm(n))}function Q6(n){Nm=!1,vu(n)}function eA(n){Nm&&(Nm=!1,vu(n))}function tA(n,e,r){const{value:S,modifiers:D}=e,T=X6(S);if(T||dy.hide(n),n._ripple=n._ripple??{},n._ripple.enabled=T,n._ripple.centered=D.center,n._ripple.circle=D.circle,ax(S)&&S.class&&(n._ripple.class=S.class),T&&!r){if(D.stop){n.addEventListener("touchstart",eT,{passive:!0}),n.addEventListener("mousedown",eT);return}n.addEventListener("touchstart",Bm,{passive:!0}),n.addEventListener("touchend",vu,{passive:!0}),n.addEventListener("touchmove",K6,{passive:!0}),n.addEventListener("touchcancel",vu),n.addEventListener("mousedown",Bm),n.addEventListener("mouseup",vu),n.addEventListener("mouseleave",vu),n.addEventListener("keydown",J6),n.addEventListener("keyup",Q6),n.addEventListener("blur",eA),n.addEventListener("dragstart",vu,{passive:!0})}else!T&&r&&nA(n)}function nA(n){n.removeEventListener("mousedown",Bm),n.removeEventListener("touchstart",Bm),n.removeEventListener("touchend",vu),n.removeEventListener("touchmove",K6),n.removeEventListener("touchcancel",vu),n.removeEventListener("mouseup",vu),n.removeEventListener("mouseleave",vu),n.removeEventListener("keydown",J6),n.removeEventListener("keyup",Q6),n.removeEventListener("dragstart",vu),n.removeEventListener("blur",eA)}function QB(n,e){tA(n,e,!1)}function eN(n){delete n._ripple,nA(n)}function tN(n,e){if(e.value===e.oldValue)return;const r=X6(e.oldValue);tA(n,e,r)}const nd={mounted:QB,unmounted:eN,updated:tN},v_=ur({active:{type:Boolean,default:void 0},symbol:{type:null,default:h_},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:bi,appendIcon:bi,block:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:String,...Su(),...Zr(),...ds(),...sc(),...fs(),...T0(),...m_(),...ed(),...A0(),...uo(),...lg(),...pf(),...Si({tag:"button"}),...oa(),...cc({variant:"elevated"})},"VBtn"),wl=Ar()({name:"VBtn",directives:{Ripple:nd},props:v_(),emits:{"group:selected":n=>!0},setup(n,e){let{attrs:r,slots:S}=e;const{themeClasses:D}=Ma(n),{borderClasses:T}=uc(n),{colorClasses:p,colorStyles:t,variantClasses:d}=rp(n),{densityClasses:g}=Qs(n),{dimensionStyles:i}=lc(n),{elevationClasses:M}=Vs(n),{loaderClasses:v}=t1(n),{locationStyles:f}=td(n),{positionClasses:l}=S0(n),{roundedClasses:a}=Eo(n),{sizeClasses:u,sizeStyles:o}=M0(n),s=k0(n,n.symbol,!1),h=sg(n,r),c=cn(()=>{var _;return n.active!==void 0?n.active:h.isLink.value?(_=h.isActive)==null?void 0:_.value:s==null?void 0:s.isSelected.value}),m=cn(()=>(s==null?void 0:s.disabled.value)||n.disabled),w=cn(()=>n.variant==="elevated"&&!(n.disabled||n.flat||n.border)),y=cn(()=>{if(n.value!==void 0)return Object(n.value)===n.value?JSON.stringify(n.value,null,0):n.value});function C(_){var k;m.value||h.isLink.value&&(_.metaKey||_.ctrlKey||_.shiftKey||_.button!==0||r.target==="_blank")||((k=h.navigate)==null||k.call(h,_),s==null||s.toggle())}return XB(h,s==null?void 0:s.select),Or(()=>{var L,b;const _=h.isLink.value?"a":n.tag,k=!!(n.prependIcon||S.prepend),E=!!(n.appendIcon||S.append),x=!!(n.icon&&n.icon!==!0),A=(s==null?void 0:s.isSelected.value)&&(!h.isLink.value||((L=h.isActive)==null?void 0:L.value))||!s||((b=h.isActive)==null?void 0:b.value);return Co(gt(_,{type:_==="a"?void 0:"button",class:["v-btn",s==null?void 0:s.selectedClass.value,{"v-btn--active":c.value,"v-btn--block":n.block,"v-btn--disabled":m.value,"v-btn--elevated":w.value,"v-btn--flat":n.flat,"v-btn--icon":!!n.icon,"v-btn--loading":n.loading,"v-btn--stacked":n.stacked},D.value,T.value,A?p.value:void 0,g.value,M.value,v.value,l.value,a.value,u.value,d.value,n.class],style:[A?t.value:void 0,i.value,f.value,o.value,n.style],disabled:m.value||void 0,href:h.href.value,onClick:C,value:y.value},{default:()=>{var R;return[np(!0,"v-btn"),!n.icon&&k&>("span",{key:"prepend",class:"v-btn__prepend"},[S.prepend?gt(Fa,{key:"prepend-defaults",disabled:!n.prependIcon,defaults:{VIcon:{icon:n.prependIcon}}},S.prepend):gt(ja,{key:"prepend-icon",icon:n.prependIcon},null)]),gt("span",{class:"v-btn__content","data-no-activator":""},[!S.default&&x?gt(ja,{key:"content-icon",icon:n.icon},null):gt(Fa,{key:"content-defaults",disabled:!x,defaults:{VIcon:{icon:n.icon}}},{default:()=>{var I;return[((I=S.default)==null?void 0:I.call(S))??n.text]}})]),!n.icon&&E&>("span",{key:"append",class:"v-btn__append"},[S.append?gt(Fa,{key:"append-defaults",disabled:!n.appendIcon,defaults:{VIcon:{icon:n.appendIcon}}},S.append):gt(ja,{key:"append-icon",icon:n.appendIcon},null)]),!!n.loading&>("span",{key:"loader",class:"v-btn__loader"},[((R=S.loader)==null?void 0:R.call(S))??gt(d_,{color:typeof n.loading=="boolean"?void 0:n.loading,indeterminate:!0,size:"23",width:"2"},null)])]}}),[[Tu("ripple"),!m.value&&n.ripple,null]])}),{}}}),nN=ur({...v_({icon:"$menu",variant:"text"})},"VAppBarNavIcon"),rN=Ar()({name:"VAppBarNavIcon",props:nN(),setup(n,e){let{slots:r}=e;return Or(()=>gt(wl,qr(n,{class:["v-app-bar-nav-icon"]}),r)),{}}}),iN=Ar()({name:"VAppBarTitle",props:N6(),setup(n,e){let{slots:r}=e;return Or(()=>gt(o_,qr(n,{class:"v-app-bar-title"}),r)),{}}});const rA=Nc("v-alert-title"),aN=["success","info","warning","error"],oN=ur({border:{type:[Boolean,String],validator:n=>typeof n=="boolean"||["top","end","bottom","start"].includes(n)},borderColor:String,closable:Boolean,closeIcon:{type:bi,default:"$close"},closeLabel:{type:String,default:"$vuetify.close"},icon:{type:[Boolean,String,Function,Object],default:null},modelValue:{type:Boolean,default:!0},prominent:Boolean,title:String,text:String,type:{type:String,validator:n=>aN.includes(n)},...Zr(),...ds(),...sc(),...fs(),...ed(),...A0(),...uo(),...Si(),...oa(),...cc({variant:"flat"})},"VAlert"),sN=Ar()({name:"VAlert",props:oN(),emits:{"click:close":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{emit:r,slots:S}=e;const D=xi(n,"modelValue"),T=cn(()=>{if(n.icon!==!1)return n.type?n.icon??`$${n.type}`:n.icon}),p=cn(()=>({color:n.color??n.type,variant:n.variant})),{themeClasses:t}=Ma(n),{colorClasses:d,colorStyles:g,variantClasses:i}=rp(p),{densityClasses:M}=Qs(n),{dimensionStyles:v}=lc(n),{elevationClasses:f}=Vs(n),{locationStyles:l}=td(n),{positionClasses:a}=S0(n),{roundedClasses:u}=Eo(n),{textColorClasses:o,textColorStyles:s}=Xs(Cr(n,"borderColor")),{t:h}=oc(),c=cn(()=>({"aria-label":h(n.closeLabel),onClick(m){D.value=!1,r("click:close",m)}}));return()=>{const m=!!(S.prepend||T.value),w=!!(S.title||n.title),y=!!(S.close||n.closable);return D.value&>(n.tag,{class:["v-alert",n.border&&{"v-alert--border":!!n.border,[`v-alert--border-${n.border===!0?"start":n.border}`]:!0},{"v-alert--prominent":n.prominent},t.value,d.value,M.value,f.value,a.value,u.value,i.value,n.class],style:[g.value,v.value,l.value,n.style],role:"alert"},{default:()=>{var C,_;return[np(!1,"v-alert"),n.border&>("div",{key:"border",class:["v-alert__border",o.value],style:s.value},null),m&>("div",{key:"prepend",class:"v-alert__prepend"},[S.prepend?gt(Fa,{key:"prepend-defaults",disabled:!T.value,defaults:{VIcon:{density:n.density,icon:T.value,size:n.prominent?44:28}}},S.prepend):gt(ja,{key:"prepend-icon",density:n.density,icon:T.value,size:n.prominent?44:28},null)]),gt("div",{class:"v-alert__content"},[w&>(rA,{key:"title"},{default:()=>{var k;return[((k=S.title)==null?void 0:k.call(S))??n.title]}}),((C=S.text)==null?void 0:C.call(S))??n.text,(_=S.default)==null?void 0:_.call(S)]),S.append&>("div",{key:"append",class:"v-alert__append"},[S.append()]),y&>("div",{key:"close",class:"v-alert__close"},[S.close?gt(Fa,{key:"close-defaults",defaults:{VBtn:{icon:n.closeIcon,size:"x-small",variant:"text"}}},{default:()=>{var k;return[(k=S.close)==null?void 0:k.call(S,{props:c.value})]}}):gt(wl,qr({key:"close-btn",icon:n.closeIcon,size:"x-small",variant:"text"},c.value),null)])]}})}}});const lN=ur({text:String,clickable:Boolean,...Zr(),...oa()},"VLabel"),C0=Ar()({name:"VLabel",props:lN(),setup(n,e){let{slots:r}=e;return Or(()=>{var S;return gt("label",{class:["v-label",{"v-label--clickable":n.clickable},n.class],style:n.style},[n.text,(S=r.default)==null?void 0:S.call(r)])}),{}}});const iA=Symbol.for("vuetify:selection-control-group"),y_=ur({color:String,disabled:{type:Boolean,default:null},defaultsTarget:String,error:Boolean,id:String,inline:Boolean,falseIcon:bi,trueIcon:bi,ripple:{type:Boolean,default:!0},multiple:{type:Boolean,default:null},name:String,readonly:Boolean,modelValue:null,type:String,valueComparator:{type:Function,default:b0},...Zr(),...ds(),...oa()},"SelectionControlGroup"),uN=ur({...y_({defaultsTarget:"VSelectionControl"})},"VSelectionControlGroup"),aA=Ar()({name:"VSelectionControlGroup",props:uN(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const S=xi(n,"modelValue"),D=Js(),T=cn(()=>n.id||`v-selection-control-group-${D}`),p=cn(()=>n.name||T.value),t=new Set;return ts(iA,{modelValue:S,forceUpdate:()=>{t.forEach(d=>d())},onForceUpdate:d=>{t.add(d),Tl(()=>{t.delete(d)})}}),es({[n.defaultsTarget]:{color:Cr(n,"color"),disabled:Cr(n,"disabled"),density:Cr(n,"density"),error:Cr(n,"error"),inline:Cr(n,"inline"),modelValue:S,multiple:cn(()=>!!n.multiple||n.multiple==null&&Array.isArray(S.value)),name:p,falseIcon:Cr(n,"falseIcon"),trueIcon:Cr(n,"trueIcon"),readonly:Cr(n,"readonly"),ripple:Cr(n,"ripple"),type:Cr(n,"type"),valueComparator:Cr(n,"valueComparator")}}),Or(()=>{var d;return gt("div",{class:["v-selection-control-group",{"v-selection-control-group--inline":n.inline},n.class],style:n.style,role:n.type==="radio"?"radiogroup":void 0},[(d=r.default)==null?void 0:d.call(r)])}),{}}}),n1=ur({label:String,trueValue:null,falseValue:null,value:null,...Zr(),...y_()},"VSelectionControl");function cN(n){const e=ka(iA,void 0),{densityClasses:r}=Qs(n),S=xi(n,"modelValue"),D=cn(()=>n.trueValue!==void 0?n.trueValue:n.value!==void 0?n.value:!0),T=cn(()=>n.falseValue!==void 0?n.falseValue:!1),p=cn(()=>!!n.multiple||n.multiple==null&&Array.isArray(S.value)),t=cn({get(){const f=e?e.modelValue.value:S.value;return p.value?f.some(l=>n.valueComparator(l,D.value)):n.valueComparator(f,D.value)},set(f){if(n.readonly)return;const l=f?D.value:T.value;let a=l;p.value&&(a=f?[...bu(S.value),l]:bu(S.value).filter(u=>!n.valueComparator(u,D.value))),e?e.modelValue.value=a:S.value=a}}),{textColorClasses:d,textColorStyles:g}=Xs(cn(()=>t.value&&!n.error&&!n.disabled?n.color:void 0)),{backgroundColorClasses:i,backgroundColorStyles:M}=Oo(cn(()=>t.value&&!n.error&&!n.disabled?n.color:void 0)),v=cn(()=>t.value?n.trueIcon:n.falseIcon);return{group:e,densityClasses:r,trueValue:D,falseValue:T,model:t,textColorClasses:d,textColorStyles:g,backgroundColorClasses:i,backgroundColorStyles:M,icon:v}}const Xd=Ar()({name:"VSelectionControl",directives:{Ripple:nd},inheritAttrs:!1,props:n1(),emits:{"update:modelValue":n=>!0},setup(n,e){let{attrs:r,slots:S}=e;const{group:D,densityClasses:T,icon:p,model:t,textColorClasses:d,textColorStyles:g,backgroundColorClasses:i,backgroundColorStyles:M,trueValue:v}=cN(n),f=Js(),l=cn(()=>n.id||`input-${f}`),a=Wr(!1),u=Wr(!1),o=Vr();D==null||D.onForceUpdate(()=>{o.value&&(o.value.checked=t.value)});function s(m){a.value=!0,l0(m.target,":focus-visible")!==!1&&(u.value=!0)}function h(){a.value=!1,u.value=!1}function c(m){n.readonly&&D&&Ua(()=>D.forceUpdate()),t.value=m.target.checked}return Or(()=>{var _,k;const m=S.label?S.label({label:n.label,props:{for:l.value}}):n.label,[w,y]=Qd(r),C=gt("input",qr({ref:o,checked:t.value,disabled:!!(n.readonly||n.disabled),id:l.value,onBlur:h,onFocus:s,onInput:c,"aria-disabled":!!(n.readonly||n.disabled),type:n.type,value:v.value,name:n.name,"aria-checked":n.type==="checkbox"?t.value:void 0},y),null);return gt("div",qr({class:["v-selection-control",{"v-selection-control--dirty":t.value,"v-selection-control--disabled":n.disabled,"v-selection-control--error":n.error,"v-selection-control--focused":a.value,"v-selection-control--focus-visible":u.value,"v-selection-control--inline":n.inline},T.value,n.class]},w,{style:n.style}),[gt("div",{class:["v-selection-control__wrapper",d.value],style:g.value},[(_=S.default)==null?void 0:_.call(S,{backgroundColorClasses:i,backgroundColorStyles:M}),Co(gt("div",{class:["v-selection-control__input"]},[((k=S.input)==null?void 0:k.call(S,{model:t,textColorClasses:d,textColorStyles:g,backgroundColorClasses:i,backgroundColorStyles:M,inputNode:C,icon:p.value,props:{onFocus:s,onBlur:h,id:l.value}}))??gt(Yr,null,[p.value&>(ja,{key:"icon",icon:p.value},null),C])]),[[Tu("ripple"),n.ripple&&[!n.disabled&&!n.readonly,null,["center","circle"]]]])]),m&>(C0,{for:l.value,clickable:!0,onClick:E=>E.stopPropagation()},{default:()=>[m]})])}),{isFocused:a,input:o}}}),oA=ur({indeterminate:Boolean,indeterminateIcon:{type:bi,default:"$checkboxIndeterminate"},...n1({falseIcon:"$checkboxOff",trueIcon:"$checkboxOn"})},"VCheckboxBtn"),h0=Ar()({name:"VCheckboxBtn",props:oA(),emits:{"update:modelValue":n=>!0,"update:indeterminate":n=>!0},setup(n,e){let{slots:r}=e;const S=xi(n,"indeterminate"),D=xi(n,"modelValue");function T(d){S.value&&(S.value=!1)}const p=cn(()=>S.value?n.indeterminateIcon:n.falseIcon),t=cn(()=>S.value?n.indeterminateIcon:n.trueIcon);return Or(()=>{const d=ic(Xd.filterProps(n)[0],["modelValue"]);return gt(Xd,qr(d,{modelValue:D.value,"onUpdate:modelValue":[g=>D.value=g,T],class:["v-checkbox-btn",n.class],style:n.style,type:"checkbox",falseIcon:p.value,trueIcon:t.value,"aria-checked":S.value?"mixed":void 0}),r)}),{}}});function sA(n){const{t:e}=oc();function r(S){let{name:D}=S;const T={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[D],p=n[`onClick:${D}`],t=p&&T?e(`$vuetify.input.${T}`,n.label??""):void 0;return gt(ja,{icon:n[`${D}Icon`],"aria-label":t,onClick:p},null)}return{InputIcon:r}}const hN=ur({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...Zr(),...df({transition:{component:l_,leaveAbsolute:!0,group:!0}})},"VMessages"),lA=Ar()({name:"VMessages",props:hN(),setup(n,e){let{slots:r}=e;const S=cn(()=>bu(n.messages)),{textColorClasses:D,textColorStyles:T}=Xs(cn(()=>n.color));return Or(()=>gt(Oc,{transition:n.transition,tag:"div",class:["v-messages",D.value,n.class],style:[T.value,n.style],role:"alert","aria-live":"polite"},{default:()=>[n.active&&S.value.map((p,t)=>gt("div",{class:"v-messages__message",key:`${t}-${S.value}`},[r.message?r.message({message:p}):p]))]})),{}}}),r1=ur({focused:Boolean,"onUpdate:focused":yh()},"focus");function rd(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();const r=xi(n,"focused"),S=cn(()=>({[`${e}--focused`]:r.value}));function D(){r.value=!0}function T(){r.value=!1}return{focusClasses:S,isFocused:r,focus:D,blur:T}}const uA=Symbol.for("vuetify:form"),fN=ur({disabled:Boolean,fastFail:Boolean,readonly:Boolean,modelValue:{type:Boolean,default:null},validateOn:{type:String,default:"input"}},"form");function dN(n){const e=xi(n,"modelValue"),r=cn(()=>n.disabled),S=cn(()=>n.readonly),D=Wr(!1),T=Vr([]),p=Vr([]);async function t(){const i=[];let M=!0;p.value=[],D.value=!0;for(const v of T.value){const f=await v.validate();if(f.length>0&&(M=!1,i.push({id:v.id,errorMessages:f})),!M&&n.fastFail)break}return p.value=i,D.value=!1,{valid:M,errors:p.value}}function d(){T.value.forEach(i=>i.reset())}function g(){T.value.forEach(i=>i.resetValidation())}return $r(T,()=>{let i=0,M=0;const v=[];for(const f of T.value)f.isValid===!1?(M++,v.push({id:f.id,errorMessages:f.errorMessages})):f.isValid===!0&&i++;p.value=v,e.value=M>0?!1:i===T.value.length?!0:null},{deep:!0}),ts(uA,{register:i=>{let{id:M,validate:v,reset:f,resetValidation:l}=i;T.value.some(a=>a.id===M),T.value.push({id:M,validate:v,reset:f,resetValidation:l,isValid:null,errorMessages:[]})},unregister:i=>{T.value=T.value.filter(M=>M.id!==i)},update:(i,M,v)=>{const f=T.value.find(l=>l.id===i);f&&(f.isValid=M,f.errorMessages=v)},isDisabled:r,isReadonly:S,isValidating:D,isValid:e,items:T,validateOn:Cr(n,"validateOn")}),{errors:p,isDisabled:r,isReadonly:S,isValidating:D,isValid:e,items:T,validate:t,reset:d,resetValidation:g}}function i1(){return ka(uA,null)}const cA=ur({disabled:{type:Boolean,default:null},error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,label:String,readonly:{type:Boolean,default:null},rules:{type:Array,default:()=>[]},modelValue:null,validateOn:String,validationValue:null,...r1()},"validation");function hA(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff(),r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Js();const S=xi(n,"modelValue"),D=cn(()=>n.validationValue===void 0?S.value:n.validationValue),T=i1(),p=Vr([]),t=Wr(!0),d=cn(()=>!!(bu(S.value===""?null:S.value).length||bu(D.value===""?null:D.value).length)),g=cn(()=>!!(n.disabled??(T==null?void 0:T.isDisabled.value))),i=cn(()=>!!(n.readonly??(T==null?void 0:T.isReadonly.value))),M=cn(()=>n.errorMessages.length?bu(n.errorMessages).slice(0,Math.max(0,+n.maxErrors)):p.value),v=cn(()=>{let c=(n.validateOn??(T==null?void 0:T.validateOn.value))||"input";c==="lazy"&&(c="input lazy");const m=new Set((c==null?void 0:c.split(" "))??[]);return{blur:m.has("blur")||m.has("input"),input:m.has("input"),submit:m.has("submit"),lazy:m.has("lazy")}}),f=cn(()=>n.error||n.errorMessages.length?!1:n.rules.length?t.value?p.value.length||v.value.lazy?null:!0:!p.value.length:!0),l=Wr(!1),a=cn(()=>({[`${e}--error`]:f.value===!1,[`${e}--dirty`]:d.value,[`${e}--disabled`]:g.value,[`${e}--readonly`]:i.value})),u=cn(()=>n.name??yu(r));Sy(()=>{T==null||T.register({id:u.value,validate:h,reset:o,resetValidation:s})}),kl(()=>{T==null||T.unregister(u.value)}),Ks(async()=>{v.value.lazy||await h(!0),T==null||T.update(u.value,f.value,M.value)}),$f(()=>v.value.input,()=>{$r(D,()=>{if(D.value!=null)h();else if(n.focused){const c=$r(()=>n.focused,m=>{m||h(),c()})}})}),$f(()=>v.value.blur,()=>{$r(()=>n.focused,c=>{c||h()})}),$r(f,()=>{T==null||T.update(u.value,f.value,M.value)});function o(){S.value=null,Ua(s)}function s(){t.value=!0,v.value.lazy?p.value=[]:h(!0)}async function h(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const m=[];l.value=!0;for(const w of n.rules){if(m.length>=+(n.maxErrors??1))break;const C=await(typeof w=="function"?w:()=>w)(D.value);if(C!==!0){if(C!==!1&&typeof C!="string"){console.warn(`${C} is not a valid value. Rule functions must return boolean true or a string.`);continue}m.push(C||"")}}return p.value=m,l.value=!1,t.value=c,p.value}return{errorMessages:M,isDirty:d,isDisabled:g,isReadonly:i,isPristine:t,isValid:f,isValidating:l,reset:o,resetValidation:s,validate:h,validationClasses:a}}const mf=ur({id:String,appendIcon:bi,centerAffix:{type:Boolean,default:!0},prependIcon:bi,hideDetails:[Boolean,String],hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:n=>["horizontal","vertical"].includes(n)},"onClick:prepend":yh(),"onClick:append":yh(),...Zr(),...ds(),...cA()},"VInput"),Bs=Ar()({name:"VInput",props:{...mf()},emits:{"update:modelValue":n=>!0},setup(n,e){let{attrs:r,slots:S,emit:D}=e;const{densityClasses:T}=Qs(n),{rtlClasses:p}=Cs(),{InputIcon:t}=sA(n),d=Js(),g=cn(()=>n.id||`input-${d}`),i=cn(()=>`${g.value}-messages`),{errorMessages:M,isDirty:v,isDisabled:f,isReadonly:l,isPristine:a,isValid:u,isValidating:o,reset:s,resetValidation:h,validate:c,validationClasses:m}=hA(n,"v-input",g),w=cn(()=>({id:g,messagesId:i,isDirty:v,isDisabled:f,isReadonly:l,isPristine:a,isValid:u,isValidating:o,reset:s,resetValidation:h,validate:c})),y=cn(()=>{var C;return(C=n.errorMessages)!=null&&C.length||!a.value&&M.value.length?M.value:n.hint&&(n.persistentHint||n.focused)?n.hint:n.messages});return Or(()=>{var x,A,L,b;const C=!!(S.prepend||n.prependIcon),_=!!(S.append||n.appendIcon),k=y.value.length>0,E=!n.hideDetails||n.hideDetails==="auto"&&(k||!!S.details);return gt("div",{class:["v-input",`v-input--${n.direction}`,{"v-input--center-affix":n.centerAffix},T.value,p.value,m.value,n.class],style:n.style},[C&>("div",{key:"prepend",class:"v-input__prepend"},[(x=S.prepend)==null?void 0:x.call(S,w.value),n.prependIcon&>(t,{key:"prepend-icon",name:"prepend"},null)]),S.default&>("div",{class:"v-input__control"},[(A=S.default)==null?void 0:A.call(S,w.value)]),_&>("div",{key:"append",class:"v-input__append"},[n.appendIcon&>(t,{key:"append-icon",name:"append"},null),(L=S.append)==null?void 0:L.call(S,w.value)]),E&>("div",{class:"v-input__details"},[gt(lA,{id:i.value,active:k,messages:y.value},{message:S.message}),(b=S.details)==null?void 0:b.call(S,w.value)])])}),{reset:s,resetValidation:h,validate:c}}}),pN=ur({...mf(),...ic(oA(),["inline"])},"VCheckbox"),mN=Ar()({name:"VCheckbox",inheritAttrs:!1,props:pN(),emits:{"update:modelValue":n=>!0,"update:focused":n=>!0},setup(n,e){let{attrs:r,slots:S}=e;const D=xi(n,"modelValue"),{isFocused:T,focus:p,blur:t}=rd(n),d=Js(),g=cn(()=>n.id||`checkbox-${d}`);return Or(()=>{const[i,M]=Qd(r),[v,f]=Bs.filterProps(n),[l,a]=h0.filterProps(n);return gt(Bs,qr({class:["v-checkbox",n.class]},i,v,{modelValue:D.value,"onUpdate:modelValue":u=>D.value=u,id:g.value,focused:T.value,style:n.style}),{...S,default:u=>{let{id:o,messagesId:s,isDisabled:h,isReadonly:c}=u;return gt(h0,qr(l,{id:o.value,"aria-describedby":s.value,disabled:h.value,readonly:c.value},M,{modelValue:D.value,"onUpdate:modelValue":m=>D.value=m,onFocus:p,onBlur:t}),S)}})}),{}}});const gN=ur({start:Boolean,end:Boolean,icon:bi,image:String,...Zr(),...ds(),...uo(),...pf(),...Si(),...oa(),...cc({variant:"flat"})},"VAvatar"),Zf=Ar()({name:"VAvatar",props:gN(),setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ma(n),{colorClasses:D,colorStyles:T,variantClasses:p}=rp(n),{densityClasses:t}=Qs(n),{roundedClasses:d}=Eo(n),{sizeClasses:g,sizeStyles:i}=M0(n);return Or(()=>gt(n.tag,{class:["v-avatar",{"v-avatar--start":n.start,"v-avatar--end":n.end},S.value,D.value,t.value,d.value,g.value,p.value,n.class],style:[T.value,i.value,n.style]},{default:()=>{var M;return[n.image?gt(Zd,{key:"image",src:n.image,alt:"",cover:!0},null):n.icon?gt(ja,{key:"icon",icon:n.icon},null):(M=r.default)==null?void 0:M.call(r),np(!1,"v-avatar")]}})),{}}});const fA=Symbol.for("vuetify:v-chip-group"),vN=ur({column:Boolean,filter:Boolean,valueComparator:{type:Function,default:b0},...Zr(),...w0({selectedClass:"v-chip--selected"}),...Si(),...oa(),...cc({variant:"tonal"})},"VChipGroup"),yN=Ar()({name:"VChipGroup",props:vN(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ma(n),{isSelected:D,select:T,next:p,prev:t,selected:d}=ip(n,fA);return es({VChip:{color:Cr(n,"color"),disabled:Cr(n,"disabled"),filter:Cr(n,"filter"),variant:Cr(n,"variant")}}),Or(()=>gt(n.tag,{class:["v-chip-group",{"v-chip-group--column":n.column},S.value,n.class],style:n.style},{default:()=>{var g;return[(g=r.default)==null?void 0:g.call(r,{isSelected:D,select:T,next:p,prev:t,selected:d.value})]}})),{}}}),bN=ur({activeClass:String,appendAvatar:String,appendIcon:bi,closable:Boolean,closeIcon:{type:bi,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:{type:Boolean,default:void 0},pill:Boolean,prependAvatar:String,prependIcon:bi,ripple:{type:[Boolean,Object],default:!0},text:String,modelValue:{type:Boolean,default:!0},onClick:yh(),onClickOnce:yh(),...Su(),...Zr(),...ds(),...fs(),...T0(),...uo(),...lg(),...pf(),...Si({tag:"span"}),...oa(),...cc({variant:"tonal"})},"VChip"),ug=Ar()({name:"VChip",directives:{Ripple:nd},props:bN(),emits:{"click:close":n=>!0,"update:modelValue":n=>!0,"group:selected":n=>!0,click:n=>!0},setup(n,e){let{attrs:r,emit:S,slots:D}=e;const{t:T}=oc(),{borderClasses:p}=uc(n),{colorClasses:t,colorStyles:d,variantClasses:g}=rp(n),{densityClasses:i}=Qs(n),{elevationClasses:M}=Vs(n),{roundedClasses:v}=Eo(n),{sizeClasses:f}=M0(n),{themeClasses:l}=Ma(n),a=xi(n,"modelValue"),u=k0(n,fA,!1),o=sg(n,r),s=cn(()=>n.link!==!1&&o.isLink.value),h=cn(()=>!n.disabled&&n.link!==!1&&(!!u||n.link||o.isClickable.value)),c=cn(()=>({"aria-label":T(n.closeLabel),onClick(y){y.stopPropagation(),a.value=!1,S("click:close",y)}}));function m(y){var C;S("click",y),h.value&&((C=o.navigate)==null||C.call(o,y),u==null||u.toggle())}function w(y){(y.key==="Enter"||y.key===" ")&&(y.preventDefault(),m(y))}return()=>{const y=o.isLink.value?"a":n.tag,C=!!(n.appendIcon||n.appendAvatar),_=!!(C||D.append),k=!!(D.close||n.closable),E=!!(D.filter||n.filter)&&u,x=!!(n.prependIcon||n.prependAvatar),A=!!(x||D.prepend),L=!u||u.isSelected.value;return a.value&&Co(gt(y,{class:["v-chip",{"v-chip--disabled":n.disabled,"v-chip--label":n.label,"v-chip--link":h.value,"v-chip--filter":E,"v-chip--pill":n.pill},l.value,p.value,L?t.value:void 0,i.value,M.value,v.value,f.value,g.value,u==null?void 0:u.selectedClass.value,n.class],style:[L?d.value:void 0,n.style],disabled:n.disabled||void 0,draggable:n.draggable,href:o.href.value,tabindex:h.value?0:void 0,onClick:m,onKeydown:h.value&&!s.value&&w},{default:()=>{var b;return[np(h.value,"v-chip"),E&>(u_,{key:"filter"},{default:()=>[Co(gt("div",{class:"v-chip__filter"},[D.filter?gt(Fa,{key:"filter-defaults",disabled:!n.filterIcon,defaults:{VIcon:{icon:n.filterIcon}}},D.filter):gt(ja,{key:"filter-icon",icon:n.filterIcon},null)]),[[kh,u.isSelected.value]])]}),A&>("div",{key:"prepend",class:"v-chip__prepend"},[D.prepend?gt(Fa,{key:"prepend-defaults",disabled:!x,defaults:{VAvatar:{image:n.prependAvatar,start:!0},VIcon:{icon:n.prependIcon,start:!0}}},D.prepend):gt(Yr,null,[n.prependIcon&>(ja,{key:"prepend-icon",icon:n.prependIcon,start:!0},null),n.prependAvatar&>(Zf,{key:"prepend-avatar",image:n.prependAvatar,start:!0},null)])]),gt("div",{class:"v-chip__content"},[((b=D.default)==null?void 0:b.call(D,{isSelected:u==null?void 0:u.isSelected.value,selectedClass:u==null?void 0:u.selectedClass.value,select:u==null?void 0:u.select,toggle:u==null?void 0:u.toggle,value:u==null?void 0:u.value.value,disabled:n.disabled}))??n.text]),_&>("div",{key:"append",class:"v-chip__append"},[D.append?gt(Fa,{key:"append-defaults",disabled:!C,defaults:{VAvatar:{end:!0,image:n.appendAvatar},VIcon:{end:!0,icon:n.appendIcon}}},D.append):gt(Yr,null,[n.appendIcon&>(ja,{key:"append-icon",end:!0,icon:n.appendIcon},null),n.appendAvatar&>(Zf,{key:"append-avatar",end:!0,image:n.appendAvatar},null)])]),k&>("div",qr({key:"close",class:"v-chip__close"},c.value),[D.close?gt(Fa,{key:"close-defaults",defaults:{VIcon:{icon:n.closeIcon,size:"x-small"}}},D.close):gt(ja,{key:"close-icon",icon:n.closeIcon,size:"x-small"},null)])]}}),[[Tu("ripple"),h.value&&n.ripple,null]])}}});const wx=Symbol.for("vuetify:list");function dA(){const n=ka(wx,{hasPrepend:Wr(!1),updateHasPrepend:()=>null}),e={hasPrepend:Wr(!1),updateHasPrepend:r=>{r&&(e.hasPrepend.value=r)}};return ts(wx,e),n}function pA(){return ka(wx,null)}const xN={open:n=>{let{id:e,value:r,opened:S,parents:D}=n;if(r){const T=new Set;T.add(e);let p=D.get(e);for(;p!=null;)T.add(p),p=D.get(p);return T}else return S.delete(e),S},select:()=>null},mA={open:n=>{let{id:e,value:r,opened:S,parents:D}=n;if(r){let T=D.get(e);for(S.add(e);T!=null&&T!==e;)S.add(T),T=D.get(T);return S}else S.delete(e);return S},select:()=>null},_N={open:mA.open,select:n=>{let{id:e,value:r,opened:S,parents:D}=n;if(!r)return S;const T=[];let p=D.get(e);for(;p!=null;)T.push(p),p=D.get(p);return new Set(T)}},b_=n=>{const e={select:r=>{let{id:S,value:D,selected:T}=r;if(S=wi(S),n&&!D){const p=Array.from(T.entries()).reduce((t,d)=>{let[g,i]=d;return i==="on"?[...t,g]:t},[]);if(p.length===1&&p[0]===S)return T}return T.set(S,D?"on":"off"),T},in:(r,S,D)=>{let T=new Map;for(const p of r||[])T=e.select({id:p,value:!0,selected:new Map(T),children:S,parents:D});return T},out:r=>{const S=[];for(const[D,T]of r.entries())T==="on"&&S.push(D);return S}};return e},gA=n=>{const e=b_(n);return{select:S=>{let{selected:D,id:T,...p}=S;T=wi(T);const t=D.has(T)?new Map([[T,D.get(T)]]):new Map;return e.select({...p,id:T,selected:t})},in:(S,D,T)=>{let p=new Map;return S!=null&&S.length&&(p=e.in(S.slice(0,1),D,T)),p},out:(S,D,T)=>e.out(S,D,T)}},wN=n=>{const e=b_(n);return{select:S=>{let{id:D,selected:T,children:p,...t}=S;return D=wi(D),p.has(D)?T:e.select({id:D,selected:T,children:p,...t})},in:e.in,out:e.out}},TN=n=>{const e=gA(n);return{select:S=>{let{id:D,selected:T,children:p,...t}=S;return D=wi(D),p.has(D)?T:e.select({id:D,selected:T,children:p,...t})},in:e.in,out:e.out}},kN=n=>{const e={select:r=>{let{id:S,value:D,selected:T,children:p,parents:t}=r;S=wi(S);const d=new Map(T),g=[S];for(;g.length;){const M=g.shift();T.set(M,D?"on":"off"),p.has(M)&&g.push(...p.get(M))}let i=t.get(S);for(;i;){const M=p.get(i),v=M.every(l=>T.get(l)==="on"),f=M.every(l=>!T.has(l)||T.get(l)==="off");T.set(i,v?"on":f?"off":"indeterminate"),i=t.get(i)}return n&&!D&&Array.from(T.entries()).reduce((v,f)=>{let[l,a]=f;return a==="on"?[...v,l]:v},[]).length===0?d:T},in:(r,S,D)=>{let T=new Map;for(const p of r||[])T=e.select({id:p,value:!0,selected:new Map(T),children:S,parents:D});return T},out:(r,S)=>{const D=[];for(const[T,p]of r.entries())p==="on"&&!S.has(T)&&D.push(T);return D}};return e},Vm=Symbol.for("vuetify:nested"),vA={id:Wr(),root:{register:()=>null,unregister:()=>null,parents:Vr(new Map),children:Vr(new Map),open:()=>null,openOnSelect:()=>null,select:()=>null,opened:Vr(new Set),selected:Vr(new Map),selectedValues:Vr([])}},MN=ur({selectStrategy:[String,Function],openStrategy:[String,Object],opened:Array,selected:Array,mandatory:Boolean},"nested"),AN=n=>{let e=!1;const r=Vr(new Map),S=Vr(new Map),D=xi(n,"opened",n.opened,M=>new Set(M),M=>[...M.values()]),T=cn(()=>{if(typeof n.selectStrategy=="object")return n.selectStrategy;switch(n.selectStrategy){case"single-leaf":return TN(n.mandatory);case"leaf":return wN(n.mandatory);case"independent":return b_(n.mandatory);case"single-independent":return gA(n.mandatory);case"classic":default:return kN(n.mandatory)}}),p=cn(()=>{if(typeof n.openStrategy=="object")return n.openStrategy;switch(n.openStrategy){case"list":return _N;case"single":return xN;case"multiple":default:return mA}}),t=xi(n,"selected",n.selected,M=>T.value.in(M,r.value,S.value),M=>T.value.out(M,r.value,S.value));kl(()=>{e=!0});function d(M){const v=[];let f=M;for(;f!=null;)v.unshift(f),f=S.value.get(f);return v}const g=Ss("nested"),i={id:Wr(),root:{opened:D,selected:t,selectedValues:cn(()=>{const M=[];for(const[v,f]of t.value.entries())f==="on"&&M.push(v);return M}),register:(M,v,f)=>{v&&M!==v&&S.value.set(M,v),f&&r.value.set(M,[]),v!=null&&r.value.set(v,[...r.value.get(v)||[],M])},unregister:M=>{if(e)return;r.value.delete(M);const v=S.value.get(M);if(v){const f=r.value.get(v)??[];r.value.set(v,f.filter(l=>l!==M))}S.value.delete(M),D.value.delete(M)},open:(M,v,f)=>{g.emit("click:open",{id:M,value:v,path:d(M),event:f});const l=p.value.open({id:M,value:v,opened:new Set(D.value),children:r.value,parents:S.value,event:f});l&&(D.value=l)},openOnSelect:(M,v,f)=>{const l=p.value.select({id:M,value:v,selected:new Map(t.value),opened:new Set(D.value),children:r.value,parents:S.value,event:f});l&&(D.value=l)},select:(M,v,f)=>{g.emit("click:select",{id:M,value:v,path:d(M),event:f});const l=T.value.select({id:M,value:v,selected:new Map(t.value),children:r.value,parents:S.value,event:f});l&&(t.value=l),i.root.openOnSelect(M,v,f)},children:r,parents:S}};return ts(Vm,i),i.root},yA=(n,e)=>{const r=ka(Vm,vA),S=Symbol(Js()),D=cn(()=>n.value!==void 0?n.value:S),T={...r,id:D,open:(p,t)=>r.root.open(D.value,p,t),openOnSelect:(p,t)=>r.root.openOnSelect(D.value,p,t),isOpen:cn(()=>r.root.opened.value.has(D.value)),parent:cn(()=>r.root.parents.value.get(D.value)),select:(p,t)=>r.root.select(D.value,p,t),isSelected:cn(()=>r.root.selected.value.get(wi(D.value))==="on"),isIndeterminate:cn(()=>r.root.selected.value.get(D.value)==="indeterminate"),isLeaf:cn(()=>!r.root.children.value.get(D.value)),isGroupActivator:r.isGroupActivator};return!r.isGroupActivator&&r.root.register(D.value,r.id.value,e),kl(()=>{!r.isGroupActivator&&r.root.unregister(D.value)}),e&&ts(Vm,T),T},SN=()=>{const n=ka(Vm,vA);ts(Vm,{...n,isGroupActivator:!0})},CN=ac({name:"VListGroupActivator",setup(n,e){let{slots:r}=e;return SN(),()=>{var S;return(S=r.default)==null?void 0:S.call(r)}}}),EN=ur({activeColor:String,baseColor:String,color:String,collapseIcon:{type:bi,default:"$collapse"},expandIcon:{type:bi,default:"$expand"},prependIcon:bi,appendIcon:bi,fluid:Boolean,subgroup:Boolean,title:String,value:null,...Zr(),...Si()},"VListGroup"),Tx=Ar()({name:"VListGroup",props:EN(),setup(n,e){let{slots:r}=e;const{isOpen:S,open:D,id:T}=yA(Cr(n,"value"),!0),p=cn(()=>`v-list-group--id-${String(T.value)}`),t=pA(),{isBooted:d}=tp();function g(f){D(!S.value,f)}const i=cn(()=>({onClick:g,class:"v-list-group__header",id:p.value})),M=cn(()=>S.value?n.collapseIcon:n.expandIcon),v=cn(()=>({VListItem:{active:S.value,activeColor:n.activeColor,baseColor:n.baseColor,color:n.color,prependIcon:n.prependIcon||n.subgroup&&M.value,appendIcon:n.appendIcon||!n.subgroup&&M.value,title:n.title,value:n.value}}));return Or(()=>gt(n.tag,{class:["v-list-group",{"v-list-group--prepend":t==null?void 0:t.hasPrepend.value,"v-list-group--fluid":n.fluid,"v-list-group--subgroup":n.subgroup,"v-list-group--open":S.value},n.class],style:n.style},{default:()=>[r.activator&>(Fa,{defaults:v.value},{default:()=>[gt(CN,null,{default:()=>[r.activator({props:i.value,isOpen:S.value})]})]}),gt(Oc,{transition:{component:e1},disabled:!d.value},{default:()=>{var f;return[Co(gt("div",{class:"v-list-group__items",role:"group","aria-labelledby":p.value},[(f=r.default)==null?void 0:f.call(r)]),[[kh,S.value]])]}})]})),{}}});const bA=Nc("v-list-item-subtitle"),xA=Nc("v-list-item-title"),LN=ur({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:bi,baseColor:String,disabled:Boolean,lines:String,link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:bi,ripple:{type:[Boolean,Object],default:!0},subtitle:[String,Number,Boolean],title:[String,Number,Boolean],value:null,onClick:yh(),onClickOnce:yh(),...Su(),...Zr(),...ds(),...sc(),...fs(),...uo(),...lg(),...Si(),...oa(),...cc({variant:"text"})},"VListItem"),af=Ar()({name:"VListItem",directives:{Ripple:nd},props:LN(),emits:{click:n=>!0},setup(n,e){let{attrs:r,slots:S,emit:D}=e;const T=sg(n,r),p=cn(()=>n.value===void 0?T.href.value:n.value),{select:t,isSelected:d,isIndeterminate:g,isGroupActivator:i,root:M,parent:v,openOnSelect:f}=yA(p,!1),l=pA(),a=cn(()=>{var O;return n.active!==!1&&(n.active||((O=T.isActive)==null?void 0:O.value)||d.value)}),u=cn(()=>n.link!==!1&&T.isLink.value),o=cn(()=>!n.disabled&&n.link!==!1&&(n.link||T.isClickable.value||n.value!=null&&!!l)),s=cn(()=>n.rounded||n.nav),h=cn(()=>n.color??n.activeColor),c=cn(()=>({color:a.value?h.value??n.baseColor:n.baseColor,variant:n.variant}));$r(()=>{var O;return(O=T.isActive)==null?void 0:O.value},O=>{O&&v.value!=null&&M.open(v.value,!0),O&&f(O)},{immediate:!0});const{themeClasses:m}=Ma(n),{borderClasses:w}=uc(n),{colorClasses:y,colorStyles:C,variantClasses:_}=rp(c),{densityClasses:k}=Qs(n),{dimensionStyles:E}=lc(n),{elevationClasses:x}=Vs(n),{roundedClasses:A}=Eo(s),L=cn(()=>n.lines?`v-list-item--${n.lines}-line`:void 0),b=cn(()=>({isActive:a.value,select:t,isSelected:d.value,isIndeterminate:g.value}));function R(O){var z;D("click",O),!(i||!o.value)&&((z=T.navigate)==null||z.call(T,O),n.value!=null&&t(!d.value,O))}function I(O){(O.key==="Enter"||O.key===" ")&&(O.preventDefault(),R(O))}return Or(()=>{const O=u.value?"a":n.tag,z=S.title||n.title,F=S.subtitle||n.subtitle,B=!!(n.appendAvatar||n.appendIcon),N=!!(B||S.append),W=!!(n.prependAvatar||n.prependIcon),j=!!(W||S.prepend);return l==null||l.updateHasPrepend(j),n.activeColor&&aF("active-color",["color","base-color"]),Co(gt(O,{class:["v-list-item",{"v-list-item--active":a.value,"v-list-item--disabled":n.disabled,"v-list-item--link":o.value,"v-list-item--nav":n.nav,"v-list-item--prepend":!j&&(l==null?void 0:l.hasPrepend.value),[`${n.activeClass}`]:n.activeClass&&a.value},m.value,w.value,y.value,k.value,x.value,L.value,A.value,_.value,n.class],style:[C.value,E.value,n.style],href:T.href.value,tabindex:o.value?l?-2:0:void 0,onClick:R,onKeydown:o.value&&!u.value&&I},{default:()=>{var $;return[np(o.value||a.value,"v-list-item"),j&>("div",{key:"prepend",class:"v-list-item__prepend"},[S.prepend?gt(Fa,{key:"prepend-defaults",disabled:!W,defaults:{VAvatar:{density:n.density,image:n.prependAvatar},VIcon:{density:n.density,icon:n.prependIcon},VListItemAction:{start:!0}}},{default:()=>{var U;return[(U=S.prepend)==null?void 0:U.call(S,b.value)]}}):gt(Yr,null,[n.prependAvatar&>(Zf,{key:"prepend-avatar",density:n.density,image:n.prependAvatar},null),n.prependIcon&>(ja,{key:"prepend-icon",density:n.density,icon:n.prependIcon},null)]),gt("div",{class:"v-list-item__spacer"},null)]),gt("div",{class:"v-list-item__content","data-no-activator":""},[z&>(xA,{key:"title"},{default:()=>{var U;return[((U=S.title)==null?void 0:U.call(S,{title:n.title}))??n.title]}}),F&>(bA,{key:"subtitle"},{default:()=>{var U;return[((U=S.subtitle)==null?void 0:U.call(S,{subtitle:n.subtitle}))??n.subtitle]}}),($=S.default)==null?void 0:$.call(S,b.value)]),N&>("div",{key:"append",class:"v-list-item__append"},[S.append?gt(Fa,{key:"append-defaults",disabled:!B,defaults:{VAvatar:{density:n.density,image:n.appendAvatar},VIcon:{density:n.density,icon:n.appendIcon},VListItemAction:{end:!0}}},{default:()=>{var U;return[(U=S.append)==null?void 0:U.call(S,b.value)]}}):gt(Yr,null,[n.appendIcon&>(ja,{key:"append-icon",density:n.density,icon:n.appendIcon},null),n.appendAvatar&>(Zf,{key:"append-avatar",density:n.density,image:n.appendAvatar},null)]),gt("div",{class:"v-list-item__spacer"},null)])]}}),[[Tu("ripple"),o.value&&n.ripple]])}),{}}}),IN=ur({color:String,inset:Boolean,sticky:Boolean,title:String,...Zr(),...Si()},"VListSubheader"),_A=Ar()({name:"VListSubheader",props:IN(),setup(n,e){let{slots:r}=e;const{textColorClasses:S,textColorStyles:D}=Xs(Cr(n,"color"));return Or(()=>{const T=!!(r.default||n.title);return gt(n.tag,{class:["v-list-subheader",{"v-list-subheader--inset":n.inset,"v-list-subheader--sticky":n.sticky},S.value,n.class],style:[{textColorStyles:D},n.style]},{default:()=>{var p;return[T&>("div",{class:"v-list-subheader__text"},[((p=r.default)==null?void 0:p.call(r))??n.title])]}})}),{}}});const RN=ur({color:String,inset:Boolean,length:[Number,String],thickness:[Number,String],vertical:Boolean,...Zr(),...oa()},"VDivider"),wA=Ar()({name:"VDivider",props:RN(),setup(n,e){let{attrs:r}=e;const{themeClasses:S}=Ma(n),{textColorClasses:D,textColorStyles:T}=Xs(Cr(n,"color")),p=cn(()=>{const t={};return n.length&&(t[n.vertical?"maxHeight":"maxWidth"]=Qr(n.length)),n.thickness&&(t[n.vertical?"borderRightWidth":"borderTopWidth"]=Qr(n.thickness)),t});return Or(()=>gt("hr",{class:[{"v-divider":!0,"v-divider--inset":n.inset,"v-divider--vertical":n.vertical},S.value,D.value,n.class],style:[p.value,T.value,n.style],"aria-orientation":!r.role||r.role==="separator"?n.vertical?"vertical":"horizontal":void 0,role:`${r.role||"separator"}`},null)),{}}}),PN=ur({items:Array},"VListChildren"),TA=Ar()({name:"VListChildren",props:PN(),setup(n,e){let{slots:r}=e;return dA(),()=>{var S,D;return((S=r.default)==null?void 0:S.call(r))??((D=n.items)==null?void 0:D.map(T=>{var f,l;let{children:p,props:t,type:d,raw:g}=T;if(d==="divider")return((f=r.divider)==null?void 0:f.call(r,{props:t}))??gt(wA,t,null);if(d==="subheader")return((l=r.subheader)==null?void 0:l.call(r,{props:t}))??gt(_A,t,null);const i={subtitle:r.subtitle?a=>{var u;return(u=r.subtitle)==null?void 0:u.call(r,{...a,item:g})}:void 0,prepend:r.prepend?a=>{var u;return(u=r.prepend)==null?void 0:u.call(r,{...a,item:g})}:void 0,append:r.append?a=>{var u;return(u=r.append)==null?void 0:u.call(r,{...a,item:g})}:void 0,title:r.title?a=>{var u;return(u=r.title)==null?void 0:u.call(r,{...a,item:g})}:void 0},[M,v]=Tx.filterProps(t);return p?gt(Tx,qr({value:t==null?void 0:t.value},M),{activator:a=>{let{props:u}=a;return r.header?r.header({props:{...t,...u}}):gt(af,qr(t,u),i)},default:()=>gt(TA,{items:p},r)}):r.item?r.item({props:t}):gt(af,t,i)}))}}}),kA=ur({items:{type:Array,default:()=>[]},itemTitle:{type:[String,Array,Function],default:"title"},itemValue:{type:[String,Array,Function],default:"value"},itemChildren:{type:[Boolean,String,Array,Function],default:"children"},itemProps:{type:[Boolean,String,Array,Function],default:"props"},returnObject:Boolean,valueComparator:{type:Function,default:b0}},"list-items");function zd(n,e){const r=ph(e,n.itemTitle,e),S=ph(e,n.itemValue,r),D=ph(e,n.itemChildren),T=n.itemProps===!0?typeof e=="object"&&e!=null&&!Array.isArray(e)?"children"in e?$d(e,["children"])[1]:e:void 0:ph(e,n.itemProps),p={title:r,value:S,...T};return{title:String(p.title??""),value:p.value,props:p,children:Array.isArray(D)?MA(n,D):void 0,raw:e}}function MA(n,e){const r=[];for(const S of e)r.push(zd(n,S));return r}function x_(n){const e=cn(()=>MA(n,n.items)),r=cn(()=>e.value.some(T=>T.value===null));function S(T){return r.value||(T=T.filter(p=>p!==null)),T.map(p=>n.returnObject&&typeof p=="string"?zd(n,p):e.value.find(t=>n.valueComparator(p,t.value))||zd(n,p))}function D(T){return n.returnObject?T.map(p=>{let{raw:t}=p;return t}):T.map(p=>{let{value:t}=p;return t})}return{items:e,transformIn:S,transformOut:D}}function ON(n){return typeof n=="string"||typeof n=="number"||typeof n=="boolean"}function DN(n,e){const r=ph(e,n.itemType,"item"),S=ON(e)?e:ph(e,n.itemTitle),D=ph(e,n.itemValue,void 0),T=ph(e,n.itemChildren),p=n.itemProps===!0?$d(e,["children"])[1]:ph(e,n.itemProps),t={title:S,value:D,...p};return{type:r,title:t.title,value:t.value,props:t,children:r==="item"&&T?AA(n,T):void 0,raw:e}}function AA(n,e){const r=[];for(const S of e)r.push(DN(n,S));return r}function zN(n){return{items:cn(()=>AA(n,n.items))}}const FN=ur({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,lines:{type:[Boolean,String],default:"one"},nav:Boolean,...MN({selectStrategy:"single-leaf",openStrategy:"list"}),...Su(),...Zr(),...ds(),...sc(),...fs(),itemType:{type:String,default:"type"},...kA(),...uo(),...Si(),...oa(),...cc({variant:"text"})},"VList"),a1=Ar()({name:"VList",props:FN(),emits:{"update:selected":n=>!0,"update:opened":n=>!0,"click:open":n=>!0,"click:select":n=>!0},setup(n,e){let{slots:r}=e;const{items:S}=zN(n),{themeClasses:D}=Ma(n),{backgroundColorClasses:T,backgroundColorStyles:p}=Oo(Cr(n,"bgColor")),{borderClasses:t}=uc(n),{densityClasses:d}=Qs(n),{dimensionStyles:g}=lc(n),{elevationClasses:i}=Vs(n),{roundedClasses:M}=Eo(n),{open:v,select:f}=AN(n),l=cn(()=>n.lines?`v-list--${n.lines}-line`:void 0),a=Cr(n,"activeColor"),u=Cr(n,"baseColor"),o=Cr(n,"color");dA(),es({VListGroup:{activeColor:a,baseColor:u,color:o},VListItem:{activeClass:Cr(n,"activeClass"),activeColor:a,baseColor:u,color:o,density:Cr(n,"density"),disabled:Cr(n,"disabled"),lines:Cr(n,"lines"),nav:Cr(n,"nav"),variant:Cr(n,"variant")}});const s=Wr(!1),h=Vr();function c(_){s.value=!0}function m(_){s.value=!1}function w(_){var k;!s.value&&!(_.relatedTarget&&((k=h.value)!=null&&k.contains(_.relatedTarget)))&&C()}function y(_){if(h.value){if(_.key==="ArrowDown")C("next");else if(_.key==="ArrowUp")C("prev");else if(_.key==="Home")C("first");else if(_.key==="End")C("last");else return;_.preventDefault()}}function C(_){if(h.value)return uy(h.value,_)}return Or(()=>gt(n.tag,{ref:h,class:["v-list",{"v-list--disabled":n.disabled,"v-list--nav":n.nav},D.value,T.value,t.value,d.value,i.value,l.value,M.value,n.class],style:[p.value,g.value,n.style],tabindex:n.disabled||s.value?-1:0,role:"listbox","aria-activedescendant":void 0,onFocusin:c,onFocusout:m,onFocus:w,onKeydown:y},{default:()=>[gt(TA,{items:S.value},r)]})),{open:v,select:f,focus:C}}}),BN=Nc("v-list-img"),NN=ur({start:Boolean,end:Boolean,...Zr(),...Si()},"VListItemAction"),VN=Ar()({name:"VListItemAction",props:NN(),setup(n,e){let{slots:r}=e;return Or(()=>gt(n.tag,{class:["v-list-item-action",{"v-list-item-action--start":n.start,"v-list-item-action--end":n.end},n.class],style:n.style},r)),{}}}),jN=ur({start:Boolean,end:Boolean,...Zr(),...Si()},"VListItemMedia"),UN=Ar()({name:"VListItemMedia",props:jN(),setup(n,e){let{slots:r}=e;return Or(()=>gt(n.tag,{class:["v-list-item-media",{"v-list-item-media--start":n.start,"v-list-item-media--end":n.end},n.class],style:n.style},r)),{}}});function xb(n,e){return{x:n.x+e.x,y:n.y+e.y}}function HN(n,e){return{x:n.x-e.x,y:n.y-e.y}}function tT(n,e){if(n.side==="top"||n.side==="bottom"){const{side:r,align:S}=n,D=S==="left"?0:S==="center"?e.width/2:S==="right"?e.width:S,T=r==="top"?0:r==="bottom"?e.height:r;return xb({x:D,y:T},e)}else if(n.side==="left"||n.side==="right"){const{side:r,align:S}=n,D=r==="left"?0:r==="right"?e.width:r,T=S==="top"?0:S==="center"?e.height/2:S==="bottom"?e.height:S;return xb({x:D,y:T},e)}return xb({x:e.width/2,y:e.height/2},e)}const SA={static:WN,connected:$N},GN=ur({locationStrategy:{type:[String,Function],default:"static",validator:n=>typeof n=="function"||n in SA},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function qN(n,e){const r=Vr({}),S=Vr();to&&($f(()=>!!(e.isActive.value&&n.locationStrategy),T=>{var p,t;$r(()=>n.locationStrategy,T),Tl(()=>{S.value=void 0}),typeof n.locationStrategy=="function"?S.value=(p=n.locationStrategy(e,n,r))==null?void 0:p.updateLocation:S.value=(t=SA[n.locationStrategy](e,n,r))==null?void 0:t.updateLocation}),window.addEventListener("resize",D,{passive:!0}),Tl(()=>{window.removeEventListener("resize",D),S.value=void 0}));function D(T){var p;(p=S.value)==null||p.call(S,T)}return{contentStyles:r,updateLocation:S}}function WN(){}function YN(n,e){e?n.style.removeProperty("left"):n.style.removeProperty("right");const r=J2(n);return e?r.x+=parseFloat(n.style.right||0):r.x-=parseFloat(n.style.left||0),r.y-=parseFloat(n.style.top||0),r}function $N(n,e,r){wF(n.activatorEl.value)&&Object.assign(r.value,{position:"fixed",top:0,[n.isRtl.value?"right":"left"]:0});const{preferredAnchor:D,preferredOrigin:T}=X2(()=>{const l=lx(e.location,n.isRtl.value),a=e.origin==="overlap"?l:e.origin==="auto"?gb(l):lx(e.origin,n.isRtl.value);return l.side===a.side&&l.align===vb(a).align?{preferredAnchor:M5(l),preferredOrigin:M5(a)}:{preferredAnchor:l,preferredOrigin:a}}),[p,t,d,g]=["minWidth","minHeight","maxWidth","maxHeight"].map(l=>cn(()=>{const a=parseFloat(e[l]);return isNaN(a)?1/0:a})),i=cn(()=>{if(Array.isArray(e.offset))return e.offset;if(typeof e.offset=="string"){const l=e.offset.split(" ").map(parseFloat);return l.length<2&&l.push(0),l}return typeof e.offset=="number"?[e.offset,0]:[0,0]});let M=!1;const v=new ResizeObserver(()=>{M&&f()});$r([n.activatorEl,n.contentEl],(l,a)=>{let[u,o]=l,[s,h]=a;s&&v.unobserve(s),u&&v.observe(u),h&&v.unobserve(h),o&&v.observe(o)},{immediate:!0}),Tl(()=>{v.disconnect()});function f(){if(M=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>M=!0)}),!n.activatorEl.value||!n.contentEl.value)return;const l=n.activatorEl.value.getBoundingClientRect(),a=YN(n.contentEl.value,n.isRtl.value),u=hy(n.contentEl.value),o=12;u.length||(u.push(document.documentElement),n.contentEl.value.style.top&&n.contentEl.value.style.left||(a.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),a.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const s=u.reduce((E,x)=>{const A=x.getBoundingClientRect(),L=new Yp({x:x===document.documentElement?0:A.x,y:x===document.documentElement?0:A.y,width:x.clientWidth,height:x.clientHeight});return E?new Yp({x:Math.max(E.left,L.left),y:Math.max(E.top,L.top),width:Math.min(E.right,L.right)-Math.max(E.left,L.left),height:Math.min(E.bottom,L.bottom)-Math.max(E.top,L.top)}):L},void 0);s.x+=o,s.y+=o,s.width-=o*2,s.height-=o*2;let h={anchor:D.value,origin:T.value};function c(E){const x=new Yp(a),A=tT(E.anchor,l),L=tT(E.origin,x);let{x:b,y:R}=HN(A,L);switch(E.anchor.side){case"top":R-=i.value[0];break;case"bottom":R+=i.value[0];break;case"left":b-=i.value[0];break;case"right":b+=i.value[0];break}switch(E.anchor.align){case"top":R-=i.value[1];break;case"bottom":R+=i.value[1];break;case"left":b-=i.value[1];break;case"right":b+=i.value[1];break}return x.x+=b,x.y+=R,x.width=Math.min(x.width,d.value),x.height=Math.min(x.height,g.value),{overflows:S5(x,s),x:b,y:R}}let m=0,w=0;const y={x:0,y:0},C={x:!1,y:!1};let _=-1;for(;!(_++>10);){const{x:E,y:x,overflows:A}=c(h);m+=E,w+=x,a.x+=E,a.y+=x;{const L=A5(h.anchor),b=A.x.before||A.x.after,R=A.y.before||A.y.after;let I=!1;if(["x","y"].forEach(O=>{if(O==="x"&&b&&!C.x||O==="y"&&R&&!C.y){const z={anchor:{...h.anchor},origin:{...h.origin}},F=O==="x"?L==="y"?vb:gb:L==="y"?gb:vb;z.anchor=F(z.anchor),z.origin=F(z.origin);const{overflows:B}=c(z);(B[O].before<=A[O].before&&B[O].after<=A[O].after||B[O].before+B[O].after<(A[O].before+A[O].after)/2)&&(h=z,I=C[O]=!0)}}),I)continue}A.x.before&&(m+=A.x.before,a.x+=A.x.before),A.x.after&&(m-=A.x.after,a.x-=A.x.after),A.y.before&&(w+=A.y.before,a.y+=A.y.before),A.y.after&&(w-=A.y.after,a.y-=A.y.after);{const L=S5(a,s);y.x=s.width-L.x.before-L.x.after,y.y=s.height-L.y.before-L.y.after,m+=L.x.before,a.x+=L.x.before,w+=L.y.before,a.y+=L.y.before}break}const k=A5(h.anchor);return Object.assign(r.value,{"--v-overlay-anchor-origin":`${h.anchor.side} ${h.anchor.align}`,transformOrigin:`${h.origin.side} ${h.origin.align}`,top:Qr(_b(w)),left:n.isRtl.value?void 0:Qr(_b(m)),right:n.isRtl.value?Qr(_b(-m)):void 0,minWidth:Qr(k==="y"?Math.min(p.value,l.width):p.value),maxWidth:Qr(nT(Zs(y.x,p.value===1/0?0:p.value,d.value))),maxHeight:Qr(nT(Zs(y.y,t.value===1/0?0:t.value,g.value)))}),{available:y,contentBox:a}}return $r(()=>[D.value,T.value,e.offset,e.minWidth,e.minHeight,e.maxWidth,e.maxHeight],()=>f()),Ua(()=>{const l=f();if(!l)return;const{available:a,contentBox:u}=l;u.height>a.y&&requestAnimationFrame(()=>{f(),requestAnimationFrame(()=>{f()})})}),{updateLocation:f}}function _b(n){return Math.round(n*devicePixelRatio)/devicePixelRatio}function nT(n){return Math.ceil(n*devicePixelRatio)/devicePixelRatio}let kx=!0;const py=[];function ZN(n){!kx||py.length?(py.push(n),Mx()):(kx=!1,n(),Mx())}let rT=-1;function Mx(){cancelAnimationFrame(rT),rT=requestAnimationFrame(()=>{const n=py.shift();n&&n(),py.length?Mx():kx=!0})}const Mv={none:null,close:JN,block:QN,reposition:eV},XN=ur({scrollStrategy:{type:[String,Function],default:"block",validator:n=>typeof n=="function"||n in Mv}},"VOverlay-scroll-strategies");function KN(n,e){if(!to)return;let r;wu(async()=>{r==null||r.stop(),e.isActive.value&&n.scrollStrategy&&(r=Um(),await Ua(),r.active&&r.run(()=>{var S;typeof n.scrollStrategy=="function"?n.scrollStrategy(e,n,r):(S=Mv[n.scrollStrategy])==null||S.call(Mv,e,n,r)}))}),Tl(()=>{r==null||r.stop()})}function JN(n){function e(r){n.isActive.value=!1}CA(n.activatorEl.value??n.contentEl.value,e)}function QN(n,e){var p;const r=(p=n.root.value)==null?void 0:p.offsetParent,S=[...new Set([...hy(n.activatorEl.value,e.contained?r:void 0),...hy(n.contentEl.value,e.contained?r:void 0)])].filter(t=>!t.classList.contains("v-overlay-scroll-blocked")),D=window.innerWidth-document.documentElement.offsetWidth,T=(t=>n_(t)&&t)(r||document.documentElement);T&&n.root.value.classList.add("v-overlay--scroll-blocked"),S.forEach((t,d)=>{t.style.setProperty("--v-body-scroll-x",Qr(-t.scrollLeft)),t.style.setProperty("--v-body-scroll-y",Qr(-t.scrollTop)),t!==document.documentElement&&t.style.setProperty("--v-scrollbar-offset",Qr(D)),t.classList.add("v-overlay-scroll-blocked")}),Tl(()=>{S.forEach((t,d)=>{const g=parseFloat(t.style.getPropertyValue("--v-body-scroll-x")),i=parseFloat(t.style.getPropertyValue("--v-body-scroll-y"));t.style.removeProperty("--v-body-scroll-x"),t.style.removeProperty("--v-body-scroll-y"),t.style.removeProperty("--v-scrollbar-offset"),t.classList.remove("v-overlay-scroll-blocked"),t.scrollLeft=-g,t.scrollTop=-i}),T&&n.root.value.classList.remove("v-overlay--scroll-blocked")})}function eV(n,e,r){let S=!1,D=-1,T=-1;function p(t){ZN(()=>{var i,M;const d=performance.now();(M=(i=n.updateLocation).value)==null||M.call(i,t),S=(performance.now()-d)/(1e3/60)>2})}T=(typeof requestIdleCallback>"u"?t=>t():requestIdleCallback)(()=>{r.run(()=>{CA(n.activatorEl.value??n.contentEl.value,t=>{S?(cancelAnimationFrame(D),D=requestAnimationFrame(()=>{D=requestAnimationFrame(()=>{p(t)})})):p(t)})})}),Tl(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(T),cancelAnimationFrame(D)})}function CA(n,e){const r=[document,...hy(n)];r.forEach(S=>{S.addEventListener("scroll",e,{passive:!0})}),Tl(()=>{r.forEach(S=>{S.removeEventListener("scroll",e)})})}const Ax=Symbol.for("vuetify:v-menu"),EA=ur({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function LA(n,e){const r={},S=D=>()=>{if(!to)return Promise.resolve(!0);const T=D==="openDelay";return r.closeDelay&&window.clearTimeout(r.closeDelay),delete r.closeDelay,r.openDelay&&window.clearTimeout(r.openDelay),delete r.openDelay,new Promise(p=>{const t=parseInt(n[D]??0,10);r[D]=window.setTimeout(()=>{e==null||e(T),p(T)},t)})};return{runCloseDelay:S("closeDelay"),runOpenDelay:S("openDelay")}}const tV=ur({activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...EA()},"VOverlay-activator");function nV(n,e){let{isActive:r,isTop:S}=e;const D=Vr();let T=!1,p=!1,t=!0;const d=cn(()=>n.openOnFocus||n.openOnFocus==null&&n.openOnHover),g=cn(()=>n.openOnClick||n.openOnClick==null&&!n.openOnHover&&!d.value),{runOpenDelay:i,runCloseDelay:M}=LA(n,h=>{h===(n.openOnHover&&T||d.value&&p)&&!(n.openOnHover&&r.value&&!S.value)&&(r.value!==h&&(t=!0),r.value=h)}),v={onClick:h=>{h.stopPropagation(),D.value=h.currentTarget||h.target,r.value=!r.value},onMouseenter:h=>{var c;(c=h.sourceCapabilities)!=null&&c.firesTouchEvents||(T=!0,D.value=h.currentTarget||h.target,i())},onMouseleave:h=>{T=!1,M()},onFocus:h=>{l0(h.target,":focus-visible")!==!1&&(p=!0,h.stopPropagation(),D.value=h.currentTarget||h.target,i())},onBlur:h=>{p=!1,h.stopPropagation(),M()}},f=cn(()=>{const h={};return g.value&&(h.onClick=v.onClick),n.openOnHover&&(h.onMouseenter=v.onMouseenter,h.onMouseleave=v.onMouseleave),d.value&&(h.onFocus=v.onFocus,h.onBlur=v.onBlur),h}),l=cn(()=>{const h={};if(n.openOnHover&&(h.onMouseenter=()=>{T=!0,i()},h.onMouseleave=()=>{T=!1,M()}),d.value&&(h.onFocusin=()=>{p=!0,i()},h.onFocusout=()=>{p=!1,M()}),n.closeOnContentClick){const c=ka(Ax,null);h.onClick=()=>{r.value=!1,c==null||c.closeParents()}}return h}),a=cn(()=>{const h={};return n.openOnHover&&(h.onMouseenter=()=>{t&&(T=!0,t=!1,i())},h.onMouseleave=()=>{T=!1,M()}),h});$r(S,h=>{h&&(n.openOnHover&&!T&&(!d.value||!p)||d.value&&!p&&(!n.openOnHover||!T))&&(r.value=!1)});const u=Vr();wu(()=>{u.value&&Ua(()=>{D.value=ox(u.value)})});const o=Ss("useActivator");let s;return $r(()=>!!n.activator,h=>{h&&to?(s=Um(),s.run(()=>{rV(n,o,{activatorEl:D,activatorEvents:f})})):s&&s.stop()},{flush:"post",immediate:!0}),Tl(()=>{s==null||s.stop()}),{activatorEl:D,activatorRef:u,activatorEvents:f,contentEvents:l,scrimEvents:a}}function rV(n,e,r){let{activatorEl:S,activatorEvents:D}=r;$r(()=>n.activator,(d,g)=>{if(g&&d!==g){const i=t(g);i&&p(i)}d&&Ua(()=>T())},{immediate:!0}),$r(()=>n.activatorProps,()=>{T()}),Tl(()=>{p()});function T(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:t(),g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:n.activatorProps;d&&Xz(d,qr(D.value,g))}function p(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:t(),g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:n.activatorProps;d&&Kz(d,qr(D.value,g))}function t(){var i,M;let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:n.activator,g;if(d)if(d==="parent"){let v=(M=(i=e==null?void 0:e.proxy)==null?void 0:i.$el)==null?void 0:M.parentNode;for(;v!=null&&v.hasAttribute("data-no-activator");)v=v.parentNode;g=v}else typeof d=="string"?g=document.querySelector(d):"$el"in d?g=d.$el:g=d;return S.value=(g==null?void 0:g.nodeType)===Node.ELEMENT_NODE?g:null,S.value}}function IA(){if(!to)return Wr(!1);const{ssr:n}=ep();if(n){const e=Wr(!1);return Ks(()=>{e.value=!0}),e}else return Wr(!0)}const o1=ur({eager:Boolean},"lazy");function __(n,e){const r=Wr(!1),S=cn(()=>r.value||n.eager||e.value);$r(e,()=>r.value=!0);function D(){n.eager||(r.value=!1)}return{isBooted:r,hasContent:S,onAfterLeave:D}}function E0(){const e=Ss("useScopeId").vnode.scopeId;return{scopeId:e?{[e]:""}:void 0}}const iT=Symbol.for("vuetify:stack"),am=yl([]);function iV(n,e,r){const S=Ss("useStack"),D=!r,T=ka(iT,void 0),p=yl({activeChildren:new Set});ts(iT,p);const t=Wr(+e.value);$f(n,()=>{var M;const i=(M=am.at(-1))==null?void 0:M[1];t.value=i?i+10:+e.value,D&&am.push([S.uid,t.value]),T==null||T.activeChildren.add(S.uid),Tl(()=>{if(D){const v=wi(am).findIndex(f=>f[0]===S.uid);am.splice(v,1)}T==null||T.activeChildren.delete(S.uid)})});const d=Wr(!0);D&&wu(()=>{var M;const i=((M=am.at(-1))==null?void 0:M[0])===S.uid;setTimeout(()=>d.value=i)});const g=cn(()=>!p.activeChildren.size);return{globalTop:Hm(d),localTop:g,stackStyles:cn(()=>({zIndex:t.value}))}}function aV(n){return{teleportTarget:cn(()=>{const r=n.value;if(r===!0||!to)return;const S=r===!1?document.body:typeof r=="string"?document.querySelector(r):r;if(S==null)return;let D=S.querySelector(":scope > .v-overlay-container");return D||(D=document.createElement("div"),D.className="v-overlay-container",S.appendChild(D)),D})}}function oV(){return!0}function RA(n,e,r){if(!n||PA(n,r)===!1)return!1;const S=S6(e);if(typeof ShadowRoot<"u"&&S instanceof ShadowRoot&&S.host===n.target)return!1;const D=(typeof r.value=="object"&&r.value.include||(()=>[]))();return D.push(e),!D.some(T=>T==null?void 0:T.contains(n.target))}function PA(n,e){return(typeof e.value=="object"&&e.value.closeConditional||oV)(n)}function sV(n,e,r){const S=typeof r.value=="function"?r.value:r.value.handler;e._clickOutside.lastMousedownWasOutside&&RA(n,e,r)&&setTimeout(()=>{PA(n,r)&&S&&S(n)},0)}function aT(n,e){const r=S6(n);e(document),typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&e(r)}const OA={mounted(n,e){const r=D=>sV(D,n,e),S=D=>{n._clickOutside.lastMousedownWasOutside=RA(D,n,e)};aT(n,D=>{D.addEventListener("click",r,!0),D.addEventListener("mousedown",S,!0)}),n._clickOutside||(n._clickOutside={lastMousedownWasOutside:!1}),n._clickOutside[e.instance.$.uid]={onClick:r,onMousedown:S}},unmounted(n,e){n._clickOutside&&(aT(n,r=>{var T;if(!r||!((T=n._clickOutside)!=null&&T[e.instance.$.uid]))return;const{onClick:S,onMousedown:D}=n._clickOutside[e.instance.$.uid];r.removeEventListener("click",S,!0),r.removeEventListener("mousedown",D,!0)}),delete n._clickOutside[e.instance.$.uid])}};function lV(n){const{modelValue:e,color:r,...S}=n;return gt(bh,{name:"fade-transition",appear:!0},{default:()=>[n.modelValue&>("div",qr({class:["v-overlay__scrim",n.color.backgroundColorClasses.value],style:n.color.backgroundColorStyles.value},S),null)]})}const cg=ur({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...tV(),...Zr(),...sc(),...o1(),...GN(),...XN(),...oa(),...df()},"VOverlay"),of=Ar()({name:"VOverlay",directives:{ClickOutside:OA},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...cg()},emits:{"click:outside":n=>!0,"update:modelValue":n=>!0,afterLeave:()=>!0},setup(n,e){let{slots:r,attrs:S,emit:D}=e;const T=xi(n,"modelValue"),p=cn({get:()=>T.value,set:z=>{z&&n.disabled||(T.value=z)}}),{teleportTarget:t}=aV(cn(()=>n.attach||n.contained)),{themeClasses:d}=Ma(n),{rtlClasses:g,isRtl:i}=Cs(),{hasContent:M,onAfterLeave:v}=__(n,p),f=Oo(cn(()=>typeof n.scrim=="string"?n.scrim:null)),{globalTop:l,localTop:a,stackStyles:u}=iV(p,Cr(n,"zIndex"),n._disableGlobalStack),{activatorEl:o,activatorRef:s,activatorEvents:h,contentEvents:c,scrimEvents:m}=nV(n,{isActive:p,isTop:a}),{dimensionStyles:w}=lc(n),y=IA(),{scopeId:C}=E0();$r(()=>n.disabled,z=>{z&&(p.value=!1)});const _=Vr(),k=Vr(),{contentStyles:E,updateLocation:x}=qN(n,{isRtl:i,contentEl:k,activatorEl:o,isActive:p});KN(n,{root:_,contentEl:k,activatorEl:o,isActive:p,updateLocation:x});function A(z){D("click:outside",z),n.persistent?O():p.value=!1}function L(){return p.value&&l.value}to&&$r(p,z=>{z?window.addEventListener("keydown",b):window.removeEventListener("keydown",b)},{immediate:!0});function b(z){var F,B;z.key==="Escape"&&l.value&&(n.persistent?O():(p.value=!1,(F=k.value)!=null&&F.contains(document.activeElement)&&((B=o.value)==null||B.focus())))}const R=$6();$f(()=>n.closeOnBack,()=>{ZB(R,z=>{l.value&&p.value?(z(!1),n.persistent?O():p.value=!1):z()})});const I=Vr();$r(()=>p.value&&(n.absolute||n.contained)&&t.value==null,z=>{if(z){const F=t_(_.value);F&&F!==document.scrollingElement&&(I.value=F.scrollTop)}});function O(){n.noClickAnimation||k.value&&Dd(k.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:zm})}return Or(()=>{var z;return gt(Yr,null,[(z=r.activator)==null?void 0:z.call(r,{isActive:p.value,props:qr({ref:s},h.value,n.activatorProps)}),y.value&&M.value&>(BE,{disabled:!t.value,to:t.value},{default:()=>[gt("div",qr({class:["v-overlay",{"v-overlay--absolute":n.absolute||n.contained,"v-overlay--active":p.value,"v-overlay--contained":n.contained},d.value,g.value,n.class],style:[u.value,{top:Qr(I.value)},n.style],ref:_},C,S),[gt(lV,qr({color:f,modelValue:p.value&&!!n.scrim},m.value),null),gt(Oc,{appear:!0,persisted:!0,transition:n.transition,target:o.value,onAfterLeave:()=>{v(),D("afterLeave")}},{default:()=>{var F;return[Co(gt("div",qr({ref:k,class:["v-overlay__content",n.contentClass],style:[w.value,E.value]},c.value,n.contentProps),[(F=r.default)==null?void 0:F.call(r,{isActive:p})]),[[kh,p.value],[Tu("click-outside"),{handler:A,closeConditional:L,include:()=>[o.value]}]])]}})])]})])}),{activatorEl:o,animateClick:O,contentEl:k,globalTop:l,localTop:a,updateLocation:x}}}),wb=Symbol("Forwarded refs");function Tb(n,e){let r=n;for(;r;){const S=Reflect.getOwnPropertyDescriptor(r,e);if(S)return S;r=Object.getPrototypeOf(r)}}function Vc(n){for(var e=arguments.length,r=new Array(e>1?e-1:0),S=1;S!0},setup(n,e){let{slots:r}=e;const S=xi(n,"modelValue"),{scopeId:D}=E0(),T=Js(),p=cn(()=>n.id||`v-menu-${T}`),t=Vr(),d=ka(Ax,null),g=Wr(0);ts(Ax,{register(){++g.value},unregister(){--g.value},closeParents(){setTimeout(()=>{g.value||(S.value=!1,d==null||d.closeParents())},40)}});async function i(a){var s,h,c;const u=a.relatedTarget,o=a.target;await Ua(),S.value&&u!==o&&((s=t.value)!=null&&s.contentEl)&&((h=t.value)!=null&&h.globalTop)&&![document,t.value.contentEl].includes(o)&&!t.value.contentEl.contains(o)&&((c=Dm(t.value.contentEl)[0])==null||c.focus())}$r(S,a=>{a?(d==null||d.register(),document.addEventListener("focusin",i,{once:!0})):(d==null||d.unregister(),document.removeEventListener("focusin",i))});function M(){d==null||d.closeParents()}function v(a){var u,o,s;n.disabled||a.key==="Tab"&&(p6(Dm((u=t.value)==null?void 0:u.contentEl,!1),a.shiftKey?"prev":"next",c=>c.tabIndex>=0)||(S.value=!1,(s=(o=t.value)==null?void 0:o.activatorEl)==null||s.focus()))}function f(a){var o;if(n.disabled)return;const u=(o=t.value)==null?void 0:o.contentEl;u&&S.value?a.key==="ArrowDown"?(a.preventDefault(),uy(u,"next")):a.key==="ArrowUp"&&(a.preventDefault(),uy(u,"prev")):["ArrowDown","ArrowUp"].includes(a.key)&&(S.value=!0,a.preventDefault(),setTimeout(()=>setTimeout(()=>f(a))))}const l=cn(()=>qr({"aria-haspopup":"menu","aria-expanded":String(S.value),"aria-owns":p.value,onKeydown:f},n.activatorProps));return Or(()=>{const[a]=of.filterProps(n);return gt(of,qr({ref:t,class:["v-menu",n.class],style:n.style},a,{modelValue:S.value,"onUpdate:modelValue":u=>S.value=u,absolute:!0,activatorProps:l.value,"onClick:outside":M,onKeydown:v},D),{activator:r.activator,default:function(){for(var u=arguments.length,o=new Array(u),s=0;s{var h;return[(h=r.default)==null?void 0:h.call(r,...o)]}})}})}),Vc({id:p,ΨopenChildren:g},t)}});const cV=ur({active:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...Zr(),...df({transition:{component:l_}})},"VCounter"),l1=Ar()({name:"VCounter",functional:!0,props:cV(),setup(n,e){let{slots:r}=e;const S=cn(()=>n.max?`${n.value} / ${n.max}`:String(n.value));return Or(()=>gt(Oc,{transition:n.transition},{default:()=>[Co(gt("div",{class:["v-counter",n.class],style:n.style},[r.default?r.default({counter:S.value,max:n.max,value:n.value}):S.value]),[[kh,n.active]])]})),{}}});const hV=ur({floating:Boolean,...Zr()},"VFieldLabel"),um=Ar()({name:"VFieldLabel",props:hV(),setup(n,e){let{slots:r}=e;return Or(()=>gt(C0,{class:["v-field-label",{"v-field-label--floating":n.floating},n.class],style:n.style,"aria-hidden":n.floating||void 0},r)),{}}}),fV=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],u1=ur({appendInnerIcon:bi,bgColor:String,clearable:Boolean,clearIcon:{type:bi,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:bi,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:n=>fV.includes(n)},"onClick:clear":yh(),"onClick:appendInner":yh(),"onClick:prependInner":yh(),...Zr(),...m_(),...uo(),...oa()},"VField"),hg=Ar()({name:"VField",inheritAttrs:!1,props:{id:String,...r1(),...u1()},emits:{"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:S,slots:D}=e;const{themeClasses:T}=Ma(n),{loaderClasses:p}=t1(n),{focusClasses:t,isFocused:d,focus:g,blur:i}=rd(n),{InputIcon:M}=sA(n),{roundedClasses:v}=Eo(n),{rtlClasses:f}=Cs(),l=cn(()=>n.dirty||n.active),a=cn(()=>!n.singleLine&&!!(n.label||D.label)),u=Js(),o=cn(()=>n.id||`input-${u}`),s=cn(()=>`${o.value}-messages`),h=Vr(),c=Vr(),m=Vr(),w=cn(()=>["plain","underlined"].includes(n.variant)),{backgroundColorClasses:y,backgroundColorStyles:C}=Oo(Cr(n,"bgColor")),{textColorClasses:_,textColorStyles:k}=Xs(cn(()=>n.error||n.disabled?void 0:l.value&&d.value?n.color:n.baseColor));$r(l,A=>{if(a.value){const L=h.value.$el,b=c.value.$el;requestAnimationFrame(()=>{const R=J2(L),I=b.getBoundingClientRect(),O=I.x-R.x,z=I.y-R.y-(R.height/2-I.height/2),F=I.width/.75,B=Math.abs(F-R.width)>1?{maxWidth:Qr(F)}:void 0,N=getComputedStyle(L),W=getComputedStyle(b),j=parseFloat(N.transitionDuration)*1e3||150,$=parseFloat(W.getPropertyValue("--v-field-label-scale")),U=W.getPropertyValue("color");L.style.visibility="visible",b.style.visibility="hidden",Dd(L,{transform:`translate(${O}px, ${z}px) scale(${$})`,color:U,...B},{duration:j,easing:zm,direction:A?"normal":"reverse"}).finished.then(()=>{L.style.removeProperty("visibility"),b.style.removeProperty("visibility")})})}},{flush:"post"});const E=cn(()=>({isActive:l,isFocused:d,controlRef:m,blur:i,focus:g}));function x(A){A.target!==document.activeElement&&A.preventDefault()}return Or(()=>{var O,z,F;const A=n.variant==="outlined",L=D["prepend-inner"]||n.prependInnerIcon,b=!!(n.clearable||D.clear),R=!!(D["append-inner"]||n.appendInnerIcon||b),I=D.label?D.label({...E.value,label:n.label,props:{for:o.value}}):n.label;return gt("div",qr({class:["v-field",{"v-field--active":l.value,"v-field--appended":R,"v-field--center-affix":n.centerAffix??!w.value,"v-field--disabled":n.disabled,"v-field--dirty":n.dirty,"v-field--error":n.error,"v-field--flat":n.flat,"v-field--has-background":!!n.bgColor,"v-field--persistent-clear":n.persistentClear,"v-field--prepended":L,"v-field--reverse":n.reverse,"v-field--single-line":n.singleLine,"v-field--no-label":!I,[`v-field--variant-${n.variant}`]:!0},T.value,y.value,t.value,p.value,v.value,f.value,n.class],style:[C.value,n.style],onClick:x},r),[gt("div",{class:"v-field__overlay"},null),gt(g_,{name:"v-field",active:!!n.loading,color:n.error?"error":typeof n.loading=="string"?n.loading:n.color},{default:D.loader}),L&>("div",{key:"prepend",class:"v-field__prepend-inner"},[n.prependInnerIcon&>(M,{key:"prepend-icon",name:"prependInner"},null),(O=D["prepend-inner"])==null?void 0:O.call(D,E.value)]),gt("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(n.variant)&&a.value&>(um,{key:"floating-label",ref:c,class:[_.value],floating:!0,for:o.value,style:k.value},{default:()=>[I]}),gt(um,{ref:h,for:o.value},{default:()=>[I]}),(z=D.default)==null?void 0:z.call(D,{...E.value,props:{id:o.value,class:"v-field__input","aria-describedby":s.value},focus:g,blur:i})]),b&>(u_,{key:"clear"},{default:()=>[Co(gt("div",{class:"v-field__clearable",onMousedown:B=>{B.preventDefault(),B.stopPropagation()}},[D.clear?D.clear():gt(M,{name:"clear"},null)]),[[kh,n.dirty]])]}),R&>("div",{key:"append",class:"v-field__append-inner"},[(F=D["append-inner"])==null?void 0:F.call(D,E.value),n.appendInnerIcon&>(M,{key:"append-icon",name:"appendInner"},null)]),gt("div",{class:["v-field__outline",_.value],style:k.value},[A&>(Yr,null,[gt("div",{class:"v-field__outline__start"},null),a.value&>("div",{class:"v-field__outline__notch"},[gt(um,{ref:c,floating:!0,for:o.value},{default:()=>[I]})]),gt("div",{class:"v-field__outline__end"},null)]),w.value&&a.value&>(um,{ref:c,floating:!0,for:o.value},{default:()=>[I]})])])}),{controlRef:m}}});function w_(n){const e=Object.keys(hg.props).filter(r=>!Z2(r)&&r!=="class"&&r!=="style");return $d(n,e)}const dV=["color","file","time","date","datetime-local","week","month"],c1=ur({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object,...mf(),...u1()},"VTextField"),Kd=Ar()({name:"VTextField",directives:{Intersect:og},inheritAttrs:!1,props:c1(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:S,slots:D}=e;const T=xi(n,"modelValue"),{isFocused:p,focus:t,blur:d}=rd(n),g=cn(()=>typeof n.counterValue=="function"?n.counterValue(T.value):(T.value??"").toString().length),i=cn(()=>{if(r.maxlength)return r.maxlength;if(!(!n.counter||typeof n.counter!="number"&&typeof n.counter!="string"))return n.counter}),M=cn(()=>["plain","underlined"].includes(n.variant));function v(w,y){var C,_;!n.autofocus||!w||(_=(C=y[0].target)==null?void 0:C.focus)==null||_.call(C)}const f=Vr(),l=Vr(),a=Vr(),u=cn(()=>dV.includes(n.type)||n.persistentPlaceholder||p.value||n.active);function o(){var w;a.value!==document.activeElement&&((w=a.value)==null||w.focus()),p.value||t()}function s(w){S("mousedown:control",w),w.target!==a.value&&(o(),w.preventDefault())}function h(w){o(),S("click:control",w)}function c(w){w.stopPropagation(),o(),Ua(()=>{T.value=null,K2(n["onClick:clear"],w)})}function m(w){var C;const y=w.target;if(T.value=y.value,(C=n.modelModifiers)!=null&&C.trim&&["text","search","password","tel","url"].includes(n.type)){const _=[y.selectionStart,y.selectionEnd];Ua(()=>{y.selectionStart=_[0],y.selectionEnd=_[1]})}}return Or(()=>{const w=!!(D.counter||n.counter||n.counterValue),y=!!(w||D.details),[C,_]=Qd(r),[{modelValue:k,...E}]=Bs.filterProps(n),[x]=w_(n);return gt(Bs,qr({ref:f,modelValue:T.value,"onUpdate:modelValue":A=>T.value=A,class:["v-text-field",{"v-text-field--prefixed":n.prefix,"v-text-field--suffixed":n.suffix,"v-text-field--plain-underlined":["plain","underlined"].includes(n.variant)},n.class],style:n.style},C,E,{centerAffix:!M.value,focused:p.value}),{...D,default:A=>{let{id:L,isDisabled:b,isDirty:R,isReadonly:I,isValid:O}=A;return gt(hg,qr({ref:l,onMousedown:s,onClick:h,"onClick:clear":c,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"],role:n.role},x,{id:L.value,active:u.value||R.value,dirty:R.value||n.dirty,disabled:b.value,focused:p.value,error:O.value===!1}),{...D,default:z=>{let{props:{class:F,...B}}=z;const N=Co(gt("input",qr({ref:a,value:T.value,onInput:m,autofocus:n.autofocus,readonly:I.value,disabled:b.value,name:n.name,placeholder:n.placeholder,size:1,type:n.type,onFocus:o,onBlur:d},B,_),null),[[Tu("intersect"),{handler:v},null,{once:!0}]]);return gt(Yr,null,[n.prefix&>("span",{class:"v-text-field__prefix"},[gt("span",{class:"v-text-field__prefix__text"},[n.prefix])]),D.default?gt("div",{class:F,"data-no-activator":""},[D.default(),N]):tf(N,{class:F}),n.suffix&>("span",{class:"v-text-field__suffix"},[gt("span",{class:"v-text-field__suffix__text"},[n.suffix])])])}})},details:y?A=>{var L;return gt(Yr,null,[(L=D.details)==null?void 0:L.call(D,A),w&>(Yr,null,[gt("span",null,null),gt(l1,{active:n.persistentCounter||p.value,value:g.value,max:i.value},D.counter)])])}:void 0})}),Vc({},f,l,a)}});const pV=ur({renderless:Boolean,...Zr()},"VVirtualScrollItem"),mV=Ar()({name:"VVirtualScrollItem",inheritAttrs:!1,props:pV(),emits:{"update:height":n=>!0},setup(n,e){let{attrs:r,emit:S,slots:D}=e;const{resizeRef:T,contentRect:p}=Th(void 0,"border");$r(()=>{var t;return(t=p.value)==null?void 0:t.height},t=>{t!=null&&S("update:height",t)}),Or(()=>{var t,d;return n.renderless?gt(Yr,null,[(t=D.default)==null?void 0:t.call(D,{itemRef:T})]):gt("div",qr({ref:T,class:["v-virtual-scroll__item",n.class],style:n.style},r),[(d=D.default)==null?void 0:d.call(D)])})}}),oT=-1,sT=1,gV=ur({itemHeight:{type:[Number,String],default:48}},"virtual");function vV(n,e,r){const S=Wr(0),D=Wr(n.itemHeight),T=cn({get:()=>parseInt(D.value??0,10),set(y){D.value=y}}),p=Vr(),{resizeRef:t,contentRect:d}=Th();wu(()=>{t.value=p.value});const g=ep(),i=new Map;let M=Array.from({length:e.value.length});const v=cn(()=>{const y=(!d.value||p.value===document.documentElement?g.height.value:d.value.height)-((r==null?void 0:r.value)??0);return Math.ceil(y/T.value*1.7+1)});function f(y,C){T.value=Math.max(T.value,C),M[y]=C,i.set(e.value[y],C)}function l(y){return M.slice(0,y).reduce((C,_)=>C+(_||T.value),0)}function a(y){const C=e.value.length;let _=0,k=0;for(;k=A&&(S.value=Zs(x,0,e.value.length-v.value)),u=C}function s(y){if(!p.value)return;const C=l(y);p.value.scrollTop=C}const h=cn(()=>Math.min(e.value.length,S.value+v.value)),c=cn(()=>e.value.slice(S.value,h.value).map((y,C)=>({raw:y,index:C+S.value}))),m=cn(()=>l(S.value)),w=cn(()=>l(e.value.length)-l(h.value));return $r(()=>e.value.length,()=>{M=Kh(e.value.length).map(()=>T.value),i.forEach((y,C)=>{const _=e.value.indexOf(C);_===-1?i.delete(C):M[_]=y})}),{containerRef:p,computedItems:c,itemHeight:T,paddingTop:m,paddingBottom:w,scrollToIndex:s,handleScroll:o,handleItemResize:f}}const yV=ur({items:{type:Array,default:()=>[]},renderless:Boolean,...gV(),...Zr(),...sc()},"VVirtualScroll"),h1=Ar()({name:"VVirtualScroll",props:yV(),setup(n,e){let{slots:r}=e;const S=Ss("VVirtualScroll"),{dimensionStyles:D}=lc(n),{containerRef:T,handleScroll:p,handleItemResize:t,scrollToIndex:d,paddingTop:g,paddingBottom:i,computedItems:M}=vV(n,Cr(n,"items"));return $f(()=>n.renderless,()=>{Ks(()=>{var v;T.value=t_(S.vnode.el,!0),(v=T.value)==null||v.addEventListener("scroll",p)}),Tl(()=>{var v;(v=T.value)==null||v.removeEventListener("scroll",p)})}),Or(()=>{const v=M.value.map(f=>gt(mV,{key:f.index,renderless:n.renderless,"onUpdate:height":l=>t(f.index,l)},{default:l=>{var a;return(a=r.default)==null?void 0:a.call(r,{item:f.raw,index:f.index,...l})}}));return n.renderless?gt(Yr,null,[gt("div",{class:"v-virtual-scroll__spacer",style:{paddingTop:Qr(g.value)}},null),v,gt("div",{class:"v-virtual-scroll__spacer",style:{paddingBottom:Qr(i.value)}},null)]):gt("div",{ref:T,class:["v-virtual-scroll",n.class],onScroll:p,style:[D.value,n.style]},[gt("div",{class:"v-virtual-scroll__container",style:{paddingTop:Qr(g.value),paddingBottom:Qr(i.value)}},[v])])}),{scrollToIndex:d}}});function T_(n,e){const r=Wr(!1);let S;function D(t){cancelAnimationFrame(S),r.value=!0,S=requestAnimationFrame(()=>{S=requestAnimationFrame(()=>{r.value=!1})})}async function T(){await new Promise(t=>requestAnimationFrame(t)),await new Promise(t=>requestAnimationFrame(t)),await new Promise(t=>requestAnimationFrame(t)),await new Promise(t=>{if(r.value){const d=$r(r,()=>{d(),t()})}else t()})}async function p(t){var i,M;if(t.key==="Tab"&&((i=e.value)==null||i.focus()),!["PageDown","PageUp","Home","End"].includes(t.key))return;const d=(M=n.value)==null?void 0:M.$el;if(!d)return;(t.key==="Home"||t.key==="End")&&d.scrollTo({top:t.key==="Home"?0:d.scrollHeight,behavior:"smooth"}),await T();const g=d.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");if(t.key==="PageDown"||t.key==="Home"){const v=d.getBoundingClientRect().top;for(const f of g)if(f.getBoundingClientRect().top>=v){f.focus();break}}else{const v=d.getBoundingClientRect().bottom;for(const f of[...g].reverse())if(f.getBoundingClientRect().bottom<=v){f.focus();break}}}return{onListScroll:D,onListKeydown:p}}const k_=ur({chips:Boolean,closableChips:Boolean,closeText:{type:String,default:"$vuetify.close"},openText:{type:String,default:"$vuetify.open"},eager:Boolean,hideNoData:Boolean,hideSelected:Boolean,menu:Boolean,menuIcon:{type:bi,default:"$dropdown"},menuProps:{type:Object},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,itemColor:String,...kA({itemChildren:!1})},"Select"),bV=ur({...k_(),...ic(c1({modelValue:null,role:"button"}),["validationValue","dirty","appendInnerIcon"]),...df({transition:{component:Qy}})},"VSelect"),xV=Ar()({name:"VSelect",props:bV(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,"update:menu":n=>!0},setup(n,e){let{slots:r}=e;const{t:S}=oc(),D=Vr(),T=Vr(),p=Vr(),t=xi(n,"menu"),d=cn({get:()=>t.value,set:R=>{var I;t.value&&!R&&((I=T.value)!=null&&I.ΨopenChildren)||(t.value=R)}}),{items:g,transformIn:i,transformOut:M}=x_(n),v=xi(n,"modelValue",[],R=>i(R===null?[null]:bu(R)),R=>{const I=M(R);return n.multiple?I:I[0]??null}),f=i1(),l=cn(()=>v.value.map(R=>R.value)),a=Wr(!1),u=cn(()=>d.value?n.closeText:n.openText);let o="",s;const h=cn(()=>n.hideSelected?g.value.filter(R=>!v.value.some(I=>I===R)):g.value),c=cn(()=>n.hideNoData&&!g.value.length||n.readonly||(f==null?void 0:f.isReadonly.value)),m=Vr(),{onListScroll:w,onListKeydown:y}=T_(m,D);function C(R){n.openOnClear&&(d.value=!0)}function _(){c.value||(d.value=!d.value)}function k(R){var B,N;if(!R.key||n.readonly||f!=null&&f.isReadonly.value)return;["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(R.key)&&R.preventDefault(),["Enter","ArrowDown"," "].includes(R.key)&&(d.value=!0),["Escape","Tab"].includes(R.key)&&(d.value=!1),R.key==="Home"?(B=m.value)==null||B.focus("first"):R.key==="End"&&((N=m.value)==null||N.focus("last"));const I=1e3;function O(W){const j=W.key.length===1,$=!W.ctrlKey&&!W.metaKey&&!W.altKey;return j&&$}if(n.multiple||!O(R))return;const z=performance.now();z-s>I&&(o=""),o+=R.key.toLowerCase(),s=z;const F=g.value.find(W=>W.title.toLowerCase().startsWith(o));F!==void 0&&(v.value=[F])}function E(R){if(n.multiple){const I=v.value.findIndex(O=>n.valueComparator(O.value,R.value));if(I===-1)v.value=[...v.value,R];else{const O=[...v.value];O.splice(I,1),v.value=O}}else v.value=[R],d.value=!1}function x(R){var I;(I=m.value)!=null&&I.$el.contains(R.relatedTarget)||(d.value=!1)}function A(){var R;a.value&&((R=D.value)==null||R.focus())}function L(R){a.value=!0}function b(R){if(R==null)v.value=[];else if(l0(D.value,":autofill")||l0(D.value,":-webkit-autofill")){const I=g.value.find(O=>O.title===R);I&&E(I)}else D.value&&(D.value.value="")}return $r(d,()=>{if(!n.hideSelected&&d.value&&v.value.length){const R=h.value.findIndex(I=>v.value.some(O=>n.valueComparator(O.value,I.value)));to&&window.requestAnimationFrame(()=>{var I;R>=0&&((I=p.value)==null||I.scrollToIndex(R))})}}),Or(()=>{const R=!!(n.chips||r.chip),I=!!(!n.hideNoData||h.value.length||r["prepend-item"]||r["append-item"]||r["no-data"]),O=v.value.length>0,[z]=Kd.filterProps(n),F=O||!a.value&&n.label&&!n.persistentPlaceholder?void 0:n.placeholder;return gt(Kd,qr({ref:D},z,{modelValue:v.value.map(B=>B.props.value).join(", "),"onUpdate:modelValue":b,focused:a.value,"onUpdate:focused":B=>a.value=B,validationValue:v.externalValue,dirty:O,class:["v-select",{"v-select--active-menu":d.value,"v-select--chips":!!n.chips,[`v-select--${n.multiple?"multiple":"single"}`]:!0,"v-select--selected":v.value.length,"v-select--selection-slot":!!r.selection},n.class],style:n.style,inputmode:"none",placeholder:F,"onClick:clear":C,"onMousedown:control":_,onBlur:x,onKeydown:k,"aria-label":S(u.value),title:S(u.value)}),{...r,default:()=>gt(Yr,null,[gt(s1,qr({ref:T,modelValue:d.value,"onUpdate:modelValue":B=>d.value=B,activator:"parent",contentClass:"v-select__content",disabled:c.value,eager:n.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:n.transition,onAfterLeave:A},n.menuProps),{default:()=>[I&>(a1,{ref:m,selected:l.value,selectStrategy:n.multiple?"independent":"single-independent",onMousedown:B=>B.preventDefault(),onKeydown:y,onFocusin:L,onScrollPassive:w,tabindex:"-1",color:n.itemColor??n.color},{default:()=>{var B,N,W;return[(B=r["prepend-item"])==null?void 0:B.call(r),!h.value.length&&!n.hideNoData&&(((N=r["no-data"])==null?void 0:N.call(r))??gt(af,{title:S(n.noDataText)},null)),gt(h1,{ref:p,renderless:!0,items:h.value},{default:j=>{var H;let{item:$,index:U,itemRef:G}=j;const q=qr($.props,{ref:G,key:U,onClick:()=>E($)});return((H=r.item)==null?void 0:H.call(r,{item:$,index:U,props:q}))??gt(af,q,{prepend:ne=>{let{isSelected:te}=ne;return gt(Yr,null,[n.multiple&&!n.hideSelected?gt(h0,{key:$.value,modelValue:te,ripple:!1,tabindex:"-1"},null):void 0,$.props.prependIcon&>(ja,{icon:$.props.prependIcon},null)])}})}}),(W=r["append-item"])==null?void 0:W.call(r)]}})]}),v.value.map((B,N)=>{var $;function W(U){U.stopPropagation(),U.preventDefault(),E(B)}const j={"onClick:close":W,onMousedown(U){U.preventDefault(),U.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return gt("div",{key:B.value,class:"v-select__selection"},[R?r.chip?gt(Fa,{key:"chip-defaults",defaults:{VChip:{closable:n.closableChips,size:"small",text:B.title}}},{default:()=>{var U;return[(U=r.chip)==null?void 0:U.call(r,{item:B,index:N,props:j})]}}):gt(ug,qr({key:"chip",closable:n.closableChips,size:"small",text:B.title},j),null):(($=r.selection)==null?void 0:$.call(r,{item:B,index:N}))??gt("span",{class:"v-select__selection-text"},[B.title,n.multiple&&Nn==null||e==null?-1:n.toString().toLocaleLowerCase().indexOf(e.toString().toLocaleLowerCase()),DA=ur({customFilter:Function,customKeyFilter:Object,filterKeys:[Array,String],filterMode:{type:String,default:"intersection"},noFilter:Boolean},"filter");function wV(n,e,r){var t;const S=[],D=(r==null?void 0:r.default)??_V,T=r!=null&&r.filterKeys?bu(r.filterKeys):!1,p=Object.keys((r==null?void 0:r.customKeyFilter)??{}).length;if(!(n!=null&&n.length))return S;e:for(let d=0;dS!=null&&S.transform?yu(e).map(d=>[d,S.transform(d)]):yu(e));wu(()=>{const d=typeof r=="function"?r():yu(r),g=typeof d!="string"&&typeof d!="number"?"":String(d),i=wV(p.value,g,{customKeyFilter:n.customKeyFilter,default:n.customFilter,filterKeys:n.filterKeys,filterMode:n.filterMode,noFilter:n.noFilter}),M=yu(e),v=[],f=new Map;i.forEach(l=>{let{index:a,matches:u}=l;const o=M[a];v.push(o),f.set(o.value,u)}),D.value=v,T.value=f});function t(d){return T.value.get(d.value)}return{filteredItems:D,filteredMatches:T,getMatches:t}}function TV(n,e,r){if(e==null)return n;if(Array.isArray(e))throw new Error("Multiple matches is not implemented");return typeof e=="number"&&~e?gt(Yr,null,[gt("span",{class:"v-autocomplete__unmask"},[n.substr(0,e)]),gt("span",{class:"v-autocomplete__mask"},[n.substr(e,r)]),gt("span",{class:"v-autocomplete__unmask"},[n.substr(e+r)])]):n}const kV=ur({autoSelectFirst:{type:[Boolean,String]},search:String,...DA({filterKeys:["title"]}),...k_(),...ic(c1({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...df({transition:!1})},"VAutocomplete"),MV=Ar()({name:"VAutocomplete",props:kV(),emits:{"update:focused":n=>!0,"update:search":n=>!0,"update:modelValue":n=>!0,"update:menu":n=>!0},setup(n,e){let{slots:r}=e;const{t:S}=oc(),D=Vr(),T=Wr(!1),p=Wr(!0),t=Wr(!1),d=Vr(),g=Vr(),i=xi(n,"menu"),M=cn({get:()=>i.value,set:q=>{var H;i.value&&!q&&((H=d.value)!=null&&H.ΨopenChildren)||(i.value=q)}}),v=Wr(-1),f=cn(()=>{var q;return(q=D.value)==null?void 0:q.color}),l=cn(()=>M.value?n.closeText:n.openText),{items:a,transformIn:u,transformOut:o}=x_(n),{textColorClasses:s,textColorStyles:h}=Xs(f),c=xi(n,"search",""),m=xi(n,"modelValue",[],q=>u(q===null?[null]:bu(q)),q=>{const H=o(q);return n.multiple?H:H[0]??null}),w=i1(),{filteredItems:y,getMatches:C}=zA(n,a,()=>p.value?"":c.value),_=cn(()=>n.hideSelected?y.value.filter(q=>!m.value.some(H=>H.value===q.value)):y.value),k=cn(()=>m.value.map(q=>q.props.value)),E=cn(()=>{var H;return(n.autoSelectFirst===!0||n.autoSelectFirst==="exact"&&c.value===((H=_.value[0])==null?void 0:H.title))&&_.value.length>0&&!p.value&&!t.value}),x=cn(()=>n.hideNoData&&!a.value.length||n.readonly||(w==null?void 0:w.isReadonly.value)),A=Vr(),{onListScroll:L,onListKeydown:b}=T_(A,D);function R(q){n.openOnClear&&(M.value=!0),c.value=""}function I(){x.value||(M.value=!0)}function O(q){x.value||(T.value&&(q.preventDefault(),q.stopPropagation()),M.value=!M.value)}function z(q){var te,Z,X;if(n.readonly||w!=null&&w.isReadonly.value)return;const H=D.value.selectionStart,ne=m.value.length;if((v.value>-1||["Enter","ArrowDown","ArrowUp"].includes(q.key))&&q.preventDefault(),["Enter","ArrowDown"].includes(q.key)&&(M.value=!0),["Escape"].includes(q.key)&&(M.value=!1),E.value&&["Enter","Tab"].includes(q.key)&&G(_.value[0]),q.key==="ArrowDown"&&E.value&&((te=A.value)==null||te.focus("next")),!!n.multiple){if(["Backspace","Delete"].includes(q.key)){if(v.value<0){q.key==="Backspace"&&!c.value&&(v.value=ne-1);return}const Q=v.value,re=m.value[v.value];re&&G(re),v.value=Q>=ne-1?ne-2:Q}if(q.key==="ArrowLeft"){if(v.value<0&&H>0)return;const Q=v.value>-1?v.value-1:ne-1;m.value[Q]?v.value=Q:(v.value=-1,D.value.setSelectionRange((Z=c.value)==null?void 0:Z.length,(X=c.value)==null?void 0:X.length))}if(q.key==="ArrowRight"){if(v.value<0)return;const Q=v.value+1;m.value[Q]?v.value=Q:(v.value=-1,D.value.setSelectionRange(0,0))}}}function F(q){c.value=q.target.value}function B(q){if(l0(D.value,":autofill")||l0(D.value,":-webkit-autofill")){const H=a.value.find(ne=>ne.title===q.target.value);H&&G(H)}}function N(){var q;T.value&&(p.value=!0,(q=D.value)==null||q.focus())}function W(q){T.value=!0,setTimeout(()=>{t.value=!0})}function j(q){t.value=!1}function $(q){(q==null||q===""&&!n.multiple)&&(m.value=[])}const U=Wr(!1);function G(q){if(n.multiple){const H=m.value.findIndex(ne=>n.valueComparator(ne.value,q.value));if(H===-1)m.value=[...m.value,q];else{const ne=[...m.value];ne.splice(H,1),m.value=ne}}else m.value=[q],U.value=!0,c.value=q.title,M.value=!1,p.value=!0,Ua(()=>U.value=!1)}return $r(T,(q,H)=>{var ne;q!==H&&(q?(U.value=!0,c.value=n.multiple?"":String(((ne=m.value.at(-1))==null?void 0:ne.props.title)??""),p.value=!0,Ua(()=>U.value=!1)):(!n.multiple&&!c.value?m.value=[]:E.value&&!t.value&&!m.value.some(te=>{let{value:Z}=te;return Z===_.value[0].value})&&G(_.value[0]),M.value=!1,c.value="",v.value=-1))}),$r(c,q=>{!T.value||U.value||(q&&(M.value=!0),p.value=!q)}),$r(M,()=>{if(!n.hideSelected&&M.value&&m.value.length){const q=_.value.findIndex(H=>m.value.some(ne=>H.value===ne.value));to&&window.requestAnimationFrame(()=>{var H;q>=0&&((H=g.value)==null||H.scrollToIndex(q))})}}),Or(()=>{const q=!!(n.chips||r.chip),H=!!(!n.hideNoData||_.value.length||r["prepend-item"]||r["append-item"]||r["no-data"]),ne=m.value.length>0,[te]=Kd.filterProps(n);return gt(Kd,qr({ref:D},te,{modelValue:c.value,"onUpdate:modelValue":$,focused:T.value,"onUpdate:focused":Z=>T.value=Z,validationValue:m.externalValue,dirty:ne,onInput:F,onChange:B,class:["v-autocomplete",`v-autocomplete--${n.multiple?"multiple":"single"}`,{"v-autocomplete--active-menu":M.value,"v-autocomplete--chips":!!n.chips,"v-autocomplete--selection-slot":!!r.selection,"v-autocomplete--selecting-index":v.value>-1},n.class],style:n.style,readonly:n.readonly,placeholder:ne?void 0:n.placeholder,"onClick:clear":R,"onMousedown:control":I,onKeydown:z}),{...r,default:()=>gt(Yr,null,[gt(s1,qr({ref:d,modelValue:M.value,"onUpdate:modelValue":Z=>M.value=Z,activator:"parent",contentClass:"v-autocomplete__content",disabled:x.value,eager:n.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:n.transition,onAfterLeave:N},n.menuProps),{default:()=>[H&>(a1,{ref:A,selected:k.value,selectStrategy:n.multiple?"independent":"single-independent",onMousedown:Z=>Z.preventDefault(),onKeydown:b,onFocusin:W,onFocusout:j,onScrollPassive:L,tabindex:"-1",color:n.itemColor??n.color},{default:()=>{var Z,X,Q;return[(Z=r["prepend-item"])==null?void 0:Z.call(r),!_.value.length&&!n.hideNoData&&(((X=r["no-data"])==null?void 0:X.call(r))??gt(af,{title:S(n.noDataText)},null)),gt(h1,{ref:g,renderless:!0,items:_.value},{default:re=>{var ye;let{item:ie,index:oe,itemRef:ue}=re;const ce=qr(ie.props,{ref:ue,key:oe,active:E.value&&oe===0?!0:void 0,onClick:()=>G(ie)});return((ye=r.item)==null?void 0:ye.call(r,{item:ie,index:oe,props:ce}))??gt(af,ce,{prepend:de=>{let{isSelected:me}=de;return gt(Yr,null,[n.multiple&&!n.hideSelected?gt(h0,{key:ie.value,modelValue:me,ripple:!1,tabindex:"-1"},null):void 0,ie.props.prependIcon&>(ja,{icon:ie.props.prependIcon},null)])},title:()=>{var de,me;return p.value?ie.title:TV(ie.title,(de=C(ie))==null?void 0:de.title,((me=c.value)==null?void 0:me.length)??0)}})}}),(Q=r["append-item"])==null?void 0:Q.call(r)]}})]}),m.value.map((Z,X)=>{var ie;function Q(oe){oe.stopPropagation(),oe.preventDefault(),G(Z)}const re={"onClick:close":Q,onMousedown(oe){oe.preventDefault(),oe.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return gt("div",{key:Z.value,class:["v-autocomplete__selection",X===v.value&&["v-autocomplete__selection--selected",s.value]],style:X===v.value?h.value:{}},[q?r.chip?gt(Fa,{key:"chip-defaults",defaults:{VChip:{closable:n.closableChips,size:"small",text:Z.title}}},{default:()=>{var oe;return[(oe=r.chip)==null?void 0:oe.call(r,{item:Z,index:X,props:re})]}}):gt(ug,qr({key:"chip",closable:n.closableChips,size:"small",text:Z.title},re),null):((ie=r.selection)==null?void 0:ie.call(r,{item:Z,index:X}))??gt("span",{class:"v-autocomplete__selection-text"},[Z.title,n.multiple&&X(n.floating?n.dot?2:4:n.dot?8:12)+(["top","bottom"].includes(i)?+(n.offsetY??0):["left","right"].includes(i)?+(n.offsetX??0):0));return Or(()=>{const i=Number(n.content),M=!n.max||isNaN(i)?n.content:i<=+n.max?i:`${n.max}+`,[v,f]=$d(e.attrs,["aria-atomic","aria-label","aria-live","role","title"]);return gt(n.tag,qr({class:["v-badge",{"v-badge--bordered":n.bordered,"v-badge--dot":n.dot,"v-badge--floating":n.floating,"v-badge--inline":n.inline},n.class]},f,{style:n.style}),{default:()=>{var l,a;return[gt("div",{class:"v-badge__wrapper"},[(a=(l=e.slots).default)==null?void 0:a.call(l),gt(Oc,{transition:n.transition},{default:()=>{var u,o;return[Co(gt("span",qr({class:["v-badge__badge",d.value,r.value,D.value,p.value],style:[S.value,t.value,n.inline?{}:g.value],"aria-atomic":"true","aria-label":T(n.label,i),"aria-live":"polite",role:"status"},v),[n.dot?void 0:e.slots.badge?(o=(u=e.slots).badge)==null?void 0:o.call(u):n.icon?gt(ja,{icon:n.icon},null):M]),[[kh,n.modelValue]])]}})])]}})}),{}}});const CV=ur({color:String,density:String,...Zr()},"VBannerActions"),FA=Ar()({name:"VBannerActions",props:CV(),setup(n,e){let{slots:r}=e;return es({VBtn:{color:n.color,density:n.density,variant:"text"}}),Or(()=>{var S;return gt("div",{class:["v-banner-actions",n.class],style:n.style},[(S=r.default)==null?void 0:S.call(r)])}),{}}}),BA=Nc("v-banner-text"),EV=ur({avatar:String,color:String,icon:bi,lines:String,stacked:Boolean,sticky:Boolean,text:String,...Su(),...Zr(),...ds(),...sc(),...fs(),...ed(),...A0(),...uo(),...Si(),...oa()},"VBanner"),LV=Ar()({name:"VBanner",props:EV(),setup(n,e){let{slots:r}=e;const{borderClasses:S}=uc(n),{densityClasses:D}=Qs(n),{mobile:T}=ep(),{dimensionStyles:p}=lc(n),{elevationClasses:t}=Vs(n),{locationStyles:d}=td(n),{positionClasses:g}=S0(n),{roundedClasses:i}=Eo(n),{themeClasses:M}=Ma(n),v=Cr(n,"color"),f=Cr(n,"density");es({VBannerActions:{color:v,density:f}}),Or(()=>{const l=!!(n.text||r.text),a=!!(n.avatar||n.icon),u=!!(a||r.prepend);return gt(n.tag,{class:["v-banner",{"v-banner--stacked":n.stacked||T.value,"v-banner--sticky":n.sticky,[`v-banner--${n.lines}-line`]:!!n.lines},S.value,D.value,t.value,g.value,i.value,M.value,n.class],style:[p.value,d.value,n.style],role:"banner"},{default:()=>{var o;return[u&>("div",{key:"prepend",class:"v-banner__prepend"},[r.prepend?gt(Fa,{key:"prepend-defaults",disabled:!a,defaults:{VAvatar:{color:v.value,density:f.value,icon:n.icon,image:n.avatar}}},r.prepend):gt(Zf,{key:"prepend-avatar",color:v.value,density:f.value,icon:n.icon,image:n.avatar},null)]),gt("div",{class:"v-banner__content"},[l&>(BA,{key:"text"},{default:()=>{var s;return[((s=r.text)==null?void 0:s.call(r))??n.text]}}),(o=r.default)==null?void 0:o.call(r)]),r.actions&>(FA,{key:"actions"},r.actions)]}})})}});const IV=ur({bgColor:String,color:String,grow:Boolean,mode:{type:String,validator:n=>!n||["horizontal","shift"].includes(n)},height:{type:[Number,String],default:56},active:{type:Boolean,default:!0},...Su(),...Zr(),...ds(),...fs(),...uo(),...x0({name:"bottom-navigation"}),...Si({tag:"header"}),...w0({modelValue:!0,selectedClass:"v-btn--selected"}),...oa()},"VBottomNavigation"),RV=Ar()({name:"VBottomNavigation",props:IV(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:S}=R6(),{borderClasses:D}=uc(n),{backgroundColorClasses:T,backgroundColorStyles:p}=Oo(Cr(n,"bgColor")),{densityClasses:t}=Qs(n),{elevationClasses:d}=Vs(n),{roundedClasses:g}=Eo(n),{ssrBootStyles:i}=tp(),M=cn(()=>Number(n.height)-(n.density==="comfortable"?8:0)-(n.density==="compact"?16:0)),v=Cr(n,"active"),{layoutItemStyles:f}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:cn(()=>"bottom"),layoutSize:cn(()=>v.value?M.value:0),elementSize:M,active:v,absolute:Cr(n,"absolute")});return ip(n,h_),es({VBtn:{color:Cr(n,"color"),density:Cr(n,"density"),stacked:cn(()=>n.mode!=="horizontal"),variant:"text"}},{scoped:!0}),Or(()=>gt(n.tag,{class:["v-bottom-navigation",{"v-bottom-navigation--active":v.value,"v-bottom-navigation--grow":n.grow,"v-bottom-navigation--shift":n.mode==="shift"},S.value,T.value,D.value,t.value,d.value,g.value,n.class],style:[p.value,f.value,{height:Qr(M.value),transform:`translateY(${Qr(v.value?0:100,"%")})`},i.value,n.style]},{default:()=>[r.default&>("div",{class:"v-bottom-navigation__content"},[r.default()])]})),{}}});const PV=ur({divider:[Number,String],...Zr()},"VBreadcrumbsDivider"),NA=Ar()({name:"VBreadcrumbsDivider",props:PV(),setup(n,e){let{slots:r}=e;return Or(()=>{var S;return gt("li",{class:["v-breadcrumbs-divider",n.class],style:n.style},[((S=r==null?void 0:r.default)==null?void 0:S.call(r))??n.divider])}),{}}}),OV=ur({active:Boolean,activeClass:String,activeColor:String,color:String,disabled:Boolean,title:String,...Zr(),...lg(),...Si({tag:"li"})},"VBreadcrumbsItem"),VA=Ar()({name:"VBreadcrumbsItem",props:OV(),setup(n,e){let{slots:r,attrs:S}=e;const D=sg(n,S),T=cn(()=>{var g;return n.active||((g=D.isActive)==null?void 0:g.value)}),p=cn(()=>T.value?n.activeColor:n.color),{textColorClasses:t,textColorStyles:d}=Xs(p);return Or(()=>gt(n.tag,{class:["v-breadcrumbs-item",{"v-breadcrumbs-item--active":T.value,"v-breadcrumbs-item--disabled":n.disabled,[`${n.activeClass}`]:T.value&&n.activeClass},t.value,n.class],style:[d.value,n.style],"aria-current":T.value?"page":void 0},{default:()=>{var g,i;return[D.isLink.value?gt("a",{class:"v-breadcrumbs-item--link",href:D.href.value,"aria-current":T.value?"page":void 0,onClick:D.navigate},[((i=r.default)==null?void 0:i.call(r))??n.title]):((g=r.default)==null?void 0:g.call(r))??n.title]}})),{}}}),DV=ur({activeClass:String,activeColor:String,bgColor:String,color:String,disabled:Boolean,divider:{type:String,default:"/"},icon:bi,items:{type:Array,default:()=>[]},...Zr(),...ds(),...uo(),...Si({tag:"ul"})},"VBreadcrumbs"),zV=Ar()({name:"VBreadcrumbs",props:DV(),setup(n,e){let{slots:r}=e;const{backgroundColorClasses:S,backgroundColorStyles:D}=Oo(Cr(n,"bgColor")),{densityClasses:T}=Qs(n),{roundedClasses:p}=Eo(n);es({VBreadcrumbsDivider:{divider:Cr(n,"divider")},VBreadcrumbsItem:{activeClass:Cr(n,"activeClass"),activeColor:Cr(n,"activeColor"),color:Cr(n,"color"),disabled:Cr(n,"disabled")}});const t=cn(()=>n.items.map(d=>typeof d=="string"?{item:{title:d},raw:d}:{item:d,raw:d}));return Or(()=>{const d=!!(r.prepend||n.icon);return gt(n.tag,{class:["v-breadcrumbs",S.value,T.value,p.value,n.class],style:[D.value,n.style]},{default:()=>{var g;return[d&>("li",{key:"prepend",class:"v-breadcrumbs__prepend"},[r.prepend?gt(Fa,{key:"prepend-defaults",disabled:!n.icon,defaults:{VIcon:{icon:n.icon,start:!0}}},r.prepend):gt(ja,{key:"prepend-icon",start:!0,icon:n.icon},null)]),t.value.map((i,M,v)=>{let{item:f,raw:l}=i;return gt(Yr,null,[gt(VA,qr({key:f.title,disabled:M>=v.length-1},f),{default:r.title?()=>{var a;return(a=r.title)==null?void 0:a.call(r,{item:l,index:M})}:void 0}),M{var a;return(a=r.divider)==null?void 0:a.call(r,{item:l,index:M})}:void 0})])}),(g=r.default)==null?void 0:g.call(r)]}})}),{}}});const jA=Ar()({name:"VCardActions",props:Zr(),setup(n,e){let{slots:r}=e;return es({VBtn:{variant:"text"}}),Or(()=>{var S;return gt("div",{class:["v-card-actions",n.class],style:n.style},[(S=r.default)==null?void 0:S.call(r)])}),{}}}),UA=Nc("v-card-subtitle"),HA=Nc("v-card-title"),FV=ur({appendAvatar:String,appendIcon:bi,prependAvatar:String,prependIcon:bi,subtitle:String,title:String,...Zr(),...ds()},"VCardItem"),GA=Ar()({name:"VCardItem",props:FV(),setup(n,e){let{slots:r}=e;return Or(()=>{var g;const S=!!(n.prependAvatar||n.prependIcon),D=!!(S||r.prepend),T=!!(n.appendAvatar||n.appendIcon),p=!!(T||r.append),t=!!(n.title||r.title),d=!!(n.subtitle||r.subtitle);return gt("div",{class:["v-card-item",n.class],style:n.style},[D&>("div",{key:"prepend",class:"v-card-item__prepend"},[r.prepend?gt(Fa,{key:"prepend-defaults",disabled:!S,defaults:{VAvatar:{density:n.density,icon:n.prependIcon,image:n.prependAvatar}}},r.prepend):S&>(Zf,{key:"prepend-avatar",density:n.density,icon:n.prependIcon,image:n.prependAvatar},null)]),gt("div",{class:"v-card-item__content"},[t&>(HA,{key:"title"},{default:()=>{var i;return[((i=r.title)==null?void 0:i.call(r))??n.title]}}),d&>(UA,{key:"subtitle"},{default:()=>{var i;return[((i=r.subtitle)==null?void 0:i.call(r))??n.subtitle]}}),(g=r.default)==null?void 0:g.call(r)]),p&>("div",{key:"append",class:"v-card-item__append"},[r.append?gt(Fa,{key:"append-defaults",disabled:!T,defaults:{VAvatar:{density:n.density,icon:n.appendIcon,image:n.appendAvatar}}},r.append):T&>(Zf,{key:"append-avatar",density:n.density,icon:n.appendIcon,image:n.appendAvatar},null)])])}),{}}}),qA=Nc("v-card-text"),BV=ur({appendAvatar:String,appendIcon:bi,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:bi,ripple:{type:[Boolean,Object],default:!0},subtitle:String,text:String,title:String,...Su(),...Zr(),...ds(),...sc(),...fs(),...m_(),...ed(),...A0(),...uo(),...lg(),...Si(),...oa(),...cc({variant:"elevated"})},"VCard"),NV=Ar()({name:"VCard",directives:{Ripple:nd},props:BV(),setup(n,e){let{attrs:r,slots:S}=e;const{themeClasses:D}=Ma(n),{borderClasses:T}=uc(n),{colorClasses:p,colorStyles:t,variantClasses:d}=rp(n),{densityClasses:g}=Qs(n),{dimensionStyles:i}=lc(n),{elevationClasses:M}=Vs(n),{loaderClasses:v}=t1(n),{locationStyles:f}=td(n),{positionClasses:l}=S0(n),{roundedClasses:a}=Eo(n),u=sg(n,r),o=cn(()=>n.link!==!1&&u.isLink.value),s=cn(()=>!n.disabled&&n.link!==!1&&(n.link||u.isClickable.value));return Or(()=>{const h=o.value?"a":n.tag,c=!!(S.title||n.title),m=!!(S.subtitle||n.subtitle),w=c||m,y=!!(S.append||n.appendAvatar||n.appendIcon),C=!!(S.prepend||n.prependAvatar||n.prependIcon),_=!!(S.image||n.image),k=w||C||y,E=!!(S.text||n.text);return Co(gt(h,{class:["v-card",{"v-card--disabled":n.disabled,"v-card--flat":n.flat,"v-card--hover":n.hover&&!(n.disabled||n.flat),"v-card--link":s.value},D.value,T.value,p.value,g.value,M.value,v.value,l.value,a.value,d.value,n.class],style:[t.value,i.value,f.value,n.style],href:u.href.value,onClick:s.value&&u.navigate,tabindex:n.disabled?-1:void 0},{default:()=>{var x;return[_&>("div",{key:"image",class:"v-card__image"},[S.image?gt(Fa,{key:"image-defaults",disabled:!n.image,defaults:{VImg:{cover:!0,src:n.image}}},S.image):gt(Zd,{key:"image-img",cover:!0,src:n.image},null)]),gt(g_,{name:"v-card",active:!!n.loading,color:typeof n.loading=="boolean"?void 0:n.loading},{default:S.loader}),k&>(GA,{key:"item",prependAvatar:n.prependAvatar,prependIcon:n.prependIcon,title:n.title,subtitle:n.subtitle,appendAvatar:n.appendAvatar,appendIcon:n.appendIcon},{default:S.item,prepend:S.prepend,title:S.title,subtitle:S.subtitle,append:S.append}),E&>(qA,{key:"text"},{default:()=>{var A;return[((A=S.text)==null?void 0:A.call(S))??n.text]}}),(x=S.default)==null?void 0:x.call(S),S.actions&>(jA,null,{default:S.actions}),np(s.value,"v-card")]}}),[[Tu("ripple"),s.value&&n.ripple]])}),{}}});const VV=n=>{const{touchstartX:e,touchendX:r,touchstartY:S,touchendY:D}=n,T=.5,p=16;n.offsetX=r-e,n.offsetY=D-S,Math.abs(n.offsetY)e+p&&n.right(n)),Math.abs(n.offsetX)S+p&&n.down(n))};function jV(n,e){var S;const r=n.changedTouches[0];e.touchstartX=r.clientX,e.touchstartY=r.clientY,(S=e.start)==null||S.call(e,{originalEvent:n,...e})}function UV(n,e){var S;const r=n.changedTouches[0];e.touchendX=r.clientX,e.touchendY=r.clientY,(S=e.end)==null||S.call(e,{originalEvent:n,...e}),VV(e)}function HV(n,e){var S;const r=n.changedTouches[0];e.touchmoveX=r.clientX,e.touchmoveY=r.clientY,(S=e.move)==null||S.call(e,{originalEvent:n,...e})}function GV(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const e={touchstartX:0,touchstartY:0,touchendX:0,touchendY:0,touchmoveX:0,touchmoveY:0,offsetX:0,offsetY:0,left:n.left,right:n.right,up:n.up,down:n.down,start:n.start,move:n.move,end:n.end};return{touchstart:r=>jV(r,e),touchend:r=>UV(r,e),touchmove:r=>HV(r,e)}}function qV(n,e){var t;const r=e.value,S=r!=null&&r.parent?n.parentElement:n,D=(r==null?void 0:r.options)??{passive:!0},T=(t=e.instance)==null?void 0:t.$.uid;if(!S||!T)return;const p=GV(e.value);S._touchHandlers=S._touchHandlers??Object.create(null),S._touchHandlers[T]=p,c6(p).forEach(d=>{S.addEventListener(d,p[d],D)})}function WV(n,e){var T,p;const r=(T=e.value)!=null&&T.parent?n.parentElement:n,S=(p=e.instance)==null?void 0:p.$.uid;if(!(r!=null&&r._touchHandlers)||!S)return;const D=r._touchHandlers[S];c6(D).forEach(t=>{r.removeEventListener(t,D[t])}),delete r._touchHandlers[S]}const M_={mounted:qV,unmounted:WV},WA=Symbol.for("vuetify:v-window"),YA=Symbol.for("vuetify:v-window-group"),$A=ur({continuous:Boolean,nextIcon:{type:[Boolean,String,Function,Object],default:"$next"},prevIcon:{type:[Boolean,String,Function,Object],default:"$prev"},reverse:Boolean,showArrows:{type:[Boolean,String],validator:n=>typeof n=="boolean"||n==="hover"},touch:{type:[Object,Boolean],default:void 0},direction:{type:String,default:"horizontal"},modelValue:null,disabled:Boolean,selectedClass:{type:String,default:"v-window-item--active"},mandatory:{type:[Boolean,String],default:"force"},...Zr(),...Si(),...oa()},"VWindow"),Sx=Ar()({name:"VWindow",directives:{Touch:M_},props:$A(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ma(n),{isRtl:D}=Cs(),{t:T}=oc(),p=ip(n,YA),t=Vr(),d=cn(()=>D.value?!n.reverse:n.reverse),g=Wr(!1),i=cn(()=>{const c=n.direction==="vertical"?"y":"x",w=(d.value?!g.value:g.value)?"-reverse":"";return`v-window-${c}${w}-transition`}),M=Wr(0),v=Vr(void 0),f=cn(()=>p.items.value.findIndex(c=>p.selected.value.includes(c.id)));$r(f,(c,m)=>{const w=p.items.value.length,y=w-1;w<=2?g.value=cn.continuous||f.value!==0),a=cn(()=>n.continuous||f.value!==p.items.value.length-1);function u(){l.value&&p.prev()}function o(){a.value&&p.next()}const s=cn(()=>{const c=[],m={icon:D.value?n.nextIcon:n.prevIcon,class:`v-window__${d.value?"right":"left"}`,onClick:p.prev,ariaLabel:T("$vuetify.carousel.prev")};c.push(l.value?r.prev?r.prev({props:m}):gt(wl,m,null):gt("div",null,null));const w={icon:D.value?n.prevIcon:n.nextIcon,class:`v-window__${d.value?"left":"right"}`,onClick:p.next,ariaLabel:T("$vuetify.carousel.next")};return c.push(a.value?r.next?r.next({props:w}):gt(wl,w,null):gt("div",null,null)),c}),h=cn(()=>n.touch===!1?n.touch:{...{left:()=>{d.value?u():o()},right:()=>{d.value?o():u()},start:m=>{let{originalEvent:w}=m;w.stopPropagation()}},...n.touch===!0?{}:n.touch});return Or(()=>Co(gt(n.tag,{ref:t,class:["v-window",{"v-window--show-arrows-on-hover":n.showArrows==="hover"},S.value,n.class],style:n.style},{default:()=>{var c,m;return[gt("div",{class:"v-window__container",style:{height:v.value}},[(c=r.default)==null?void 0:c.call(r,{group:p}),n.showArrows!==!1&>("div",{class:"v-window__controls"},[s.value])]),(m=r.additional)==null?void 0:m.call(r,{group:p})]}}),[[Tu("touch"),h.value]])),{group:p}}}),YV=ur({color:String,cycle:Boolean,delimiterIcon:{type:bi,default:"$delimiter"},height:{type:[Number,String],default:500},hideDelimiters:Boolean,hideDelimiterBackground:Boolean,interval:{type:[Number,String],default:6e3,validator:n=>Number(n)>0},progress:[Boolean,String],verticalDelimiters:[Boolean,String],...$A({continuous:!0,mandatory:"force",showArrows:!0})},"VCarousel"),$V=Ar()({name:"VCarousel",props:YV(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const S=xi(n,"modelValue"),{t:D}=oc(),T=Vr();let p=-1;$r(S,d),$r(()=>n.interval,d),$r(()=>n.cycle,g=>{g?d():window.clearTimeout(p)}),Ks(t);function t(){!n.cycle||!T.value||(p=window.setTimeout(T.value.group.next,+n.interval>0?+n.interval:6e3))}function d(){window.clearTimeout(p),window.requestAnimationFrame(t)}return Or(()=>{const[g]=Sx.filterProps(n);return gt(Sx,qr({ref:T},g,{modelValue:S.value,"onUpdate:modelValue":i=>S.value=i,class:["v-carousel",{"v-carousel--hide-delimiter-background":n.hideDelimiterBackground,"v-carousel--vertical-delimiters":n.verticalDelimiters},n.class],style:[{height:Qr(n.height)},n.style]}),{default:r.default,additional:i=>{let{group:M}=i;return gt(Yr,null,[!n.hideDelimiters&>("div",{class:"v-carousel__controls",style:{left:n.verticalDelimiters==="left"&&n.verticalDelimiters?0:"auto",right:n.verticalDelimiters==="right"?0:"auto"}},[M.items.value.length>0&>(Fa,{defaults:{VBtn:{color:n.color,icon:n.delimiterIcon,size:"x-small",variant:"text"}},scoped:!0},{default:()=>[M.items.value.map((v,f)=>{const l={id:`carousel-item-${v.id}`,"aria-label":D("$vuetify.carousel.ariaLabel.delimiter",f+1,M.items.value.length),class:[M.isSelected(v.id)&&"v-btn--active"],onClick:()=>M.select(v.id,!0)};return r.item?r.item({props:l,item:v}):gt(wl,qr(v,l),null)})]})]),n.progress&>(p_,{class:"v-carousel__progress",color:typeof n.progress=="string"?n.progress:void 0,modelValue:(M.getItemIndex(S.value)+1)/M.items.value.length*100},null)])},prev:r.prev,next:r.next})}),{}}}),ZA=ur({reverseTransition:{type:[Boolean,String],default:void 0},transition:{type:[Boolean,String],default:void 0},...Zr(),...T0(),...o1()},"VWindowItem"),Cx=Ar()({name:"VWindowItem",directives:{Touch:M_},props:ZA(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const S=ka(WA),D=k0(n,YA),{isBooted:T}=tp();if(!S||!D)throw new Error("[Vuetify] VWindowItem must be used inside VWindow");const p=Wr(!1),t=cn(()=>T.value&&(S.isReversed.value?n.reverseTransition!==!1:n.transition!==!1));function d(){!p.value||!S||(p.value=!1,S.transitionCount.value>0&&(S.transitionCount.value-=1,S.transitionCount.value===0&&(S.transitionHeight.value=void 0)))}function g(){var l;p.value||!S||(p.value=!0,S.transitionCount.value===0&&(S.transitionHeight.value=Qr((l=S.rootRef.value)==null?void 0:l.clientHeight)),S.transitionCount.value+=1)}function i(){d()}function M(l){p.value&&Ua(()=>{!t.value||!p.value||!S||(S.transitionHeight.value=Qr(l.clientHeight))})}const v=cn(()=>{const l=S.isReversed.value?n.reverseTransition:n.transition;return t.value?{name:typeof l!="string"?S.transition.value:l,onBeforeEnter:g,onAfterEnter:d,onEnterCancelled:i,onBeforeLeave:g,onAfterLeave:d,onLeaveCancelled:i,onEnter:M}:!1}),{hasContent:f}=__(n,D.isSelected);return Or(()=>gt(Oc,{transition:v.value,disabled:!T.value},{default:()=>{var l;return[Co(gt("div",{class:["v-window-item",D.selectedClass.value,n.class],style:n.style},[f.value&&((l=r.default)==null?void 0:l.call(r))]),[[kh,D.isSelected.value]])]}})),{groupItem:D}}}),ZV=ur({...G6(),...ZA()},"VCarouselItem"),XV=Ar()({name:"VCarouselItem",inheritAttrs:!1,props:ZV(),setup(n,e){let{slots:r,attrs:S}=e;Or(()=>{const[D]=Zd.filterProps(n),[T]=Cx.filterProps(n);return gt(Cx,qr({class:"v-carousel-item"},T),{default:()=>[gt(Zd,qr(S,D),r)]})})}});const KV=Nc("v-code");const JV=ur({color:{type:Object},disabled:Boolean,dotSize:{type:[Number,String],default:10},height:{type:[Number,String],default:150},width:{type:[Number,String],default:300},...Zr()},"VColorPickerCanvas"),QV=ac({name:"VColorPickerCanvas",props:JV(),emits:{"update:color":n=>!0,"update:position":n=>!0},setup(n,e){let{emit:r}=e;const S=Wr(!1),D=Vr(),T=Wr(parseFloat(n.width)),p=Wr(parseFloat(n.height)),t=Vr({x:0,y:0}),d=cn({get:()=>t.value,set(u){var h,c;if(!D.value)return;const{x:o,y:s}=u;r("update:color",{h:((h=n.color)==null?void 0:h.h)??0,s:Zs(o,0,T.value)/T.value,v:1-Zs(s,0,p.value)/p.value,a:((c=n.color)==null?void 0:c.a)??1})}}),g=cn(()=>{const{x:u,y:o}=d.value,s=parseInt(n.dotSize,10)/2;return{width:Qr(n.dotSize),height:Qr(n.dotSize),transform:`translate(${Qr(u-s)}, ${Qr(o-s)})`}}),{resizeRef:i}=Th(u=>{var h;if(!((h=i.value)!=null&&h.offsetParent))return;const{width:o,height:s}=u[0].contentRect;T.value=o,p.value=s});function M(u,o,s){const{left:h,top:c,width:m,height:w}=s;d.value={x:Zs(u-h,0,m),y:Zs(o-c,0,w)}}function v(u){u.type==="mousedown"&&u.preventDefault(),!n.disabled&&(f(u),window.addEventListener("mousemove",f),window.addEventListener("mouseup",l),window.addEventListener("touchmove",f),window.addEventListener("touchend",l))}function f(u){if(n.disabled||!D.value)return;S.value=!0;const o=$z(u);M(o.clientX,o.clientY,D.value.getBoundingClientRect())}function l(){window.removeEventListener("mousemove",f),window.removeEventListener("mouseup",l),window.removeEventListener("touchmove",f),window.removeEventListener("touchend",l)}function a(){var c;if(!D.value)return;const u=D.value,o=u.getContext("2d");if(!o)return;const s=o.createLinearGradient(0,0,u.width,0);s.addColorStop(0,"hsla(0, 0%, 100%, 1)"),s.addColorStop(1,`hsla(${((c=n.color)==null?void 0:c.h)??0}, 100%, 50%, 1)`),o.fillStyle=s,o.fillRect(0,0,u.width,u.height);const h=o.createLinearGradient(0,0,0,u.height);h.addColorStop(0,"hsla(0, 0%, 100%, 0)"),h.addColorStop(1,"hsla(0, 0%, 0%, 1)"),o.fillStyle=h,o.fillRect(0,0,u.width,u.height)}return $r(()=>{var u;return(u=n.color)==null?void 0:u.h},a,{immediate:!0}),$r(()=>[T.value,p.value],(u,o)=>{a(),t.value={x:d.value.x*u[0]/o[0],y:d.value.y*u[1]/o[1]}},{flush:"post"}),$r(()=>n.color,()=>{if(S.value){S.value=!1;return}t.value=n.color?{x:n.color.s*T.value,y:(1-n.color.v)*p.value}:{x:0,y:0}},{deep:!0,immediate:!0}),Ks(()=>a()),Or(()=>gt("div",{ref:i,class:["v-color-picker-canvas",n.class],style:n.style,onMousedown:v,onTouchstartPassive:v},[gt("canvas",{ref:D,width:T.value,height:p.value},null),n.color&>("div",{class:["v-color-picker-canvas__dot",{"v-color-picker-canvas__dot--disabled":n.disabled}],style:g.value},null)])),{}}});function ej(n,e){if(e){const{a:r,...S}=n;return S}return n}function tj(n,e){if(e==null||typeof e=="string"){const r=M6(n);return n.a===1?r.slice(0,7):r}if(typeof e=="object"){let r;return Od(e,["r","g","b"])?r=rf(n):Od(e,["h","s","l"])?r=x6(n):Od(e,["h","s","v"])&&(r=n),ej(r,!Od(e,["a"])&&n.a===1)}return n}const bm={h:0,s:0,v:1,a:1},Ex={inputProps:{type:"number",min:0},inputs:[{label:"R",max:255,step:1,getValue:n=>Math.round(n.r),getColor:(n,e)=>({...n,r:Number(e)})},{label:"G",max:255,step:1,getValue:n=>Math.round(n.g),getColor:(n,e)=>({...n,g:Number(e)})},{label:"B",max:255,step:1,getValue:n=>Math.round(n.b),getColor:(n,e)=>({...n,b:Number(e)})},{label:"A",max:1,step:.01,getValue:n=>{let{a:e}=n;return e!=null?Math.round(e*100)/100:1},getColor:(n,e)=>({...n,a:Number(e)})}],to:rf,from:Xy};var pT;const nj={...Ex,inputs:(pT=Ex.inputs)==null?void 0:pT.slice(0,3)},Lx={inputProps:{type:"number",min:0},inputs:[{label:"H",max:360,step:1,getValue:n=>Math.round(n.h),getColor:(n,e)=>({...n,h:Number(e)})},{label:"S",max:1,step:.01,getValue:n=>Math.round(n.s*100)/100,getColor:(n,e)=>({...n,s:Number(e)})},{label:"L",max:1,step:.01,getValue:n=>Math.round(n.l*100)/100,getColor:(n,e)=>({...n,l:Number(e)})},{label:"A",max:1,step:.01,getValue:n=>{let{a:e}=n;return e!=null?Math.round(e*100)/100:1},getColor:(n,e)=>({...n,a:Number(e)})}],to:x6,from:e_},rj={...Lx,inputs:Lx.inputs.slice(0,3)},XA={inputProps:{type:"text"},inputs:[{label:"HEXA",getValue:n=>n,getColor:(n,e)=>e}],to:M6,from:dF},ij={...XA,inputs:[{label:"HEX",getValue:n=>n.slice(0,7),getColor:(n,e)=>e}]},Hd={rgb:nj,rgba:Ex,hsl:rj,hsla:Lx,hex:ij,hexa:XA},aj=n=>{let{label:e,...r}=n;return gt("div",{class:"v-color-picker-edit__input"},[gt("input",r,null),gt("span",null,[e])])},oj=ur({color:Object,disabled:Boolean,mode:{type:String,default:"rgba",validator:n=>Object.keys(Hd).includes(n)},modes:{type:Array,default:()=>Object.keys(Hd),validator:n=>Array.isArray(n)&&n.every(e=>Object.keys(Hd).includes(e))},...Zr()},"VColorPickerEdit"),sj=ac({name:"VColorPickerEdit",props:oj(),emits:{"update:color":n=>!0,"update:mode":n=>!0},setup(n,e){let{emit:r}=e;const S=cn(()=>n.modes.map(T=>({...Hd[T],name:T}))),D=cn(()=>{var t;const T=S.value.find(d=>d.name===n.mode);if(!T)return[];const p=n.color?T.to(n.color):null;return(t=T.inputs)==null?void 0:t.map(d=>{let{getValue:g,getColor:i,...M}=d;return{...T.inputProps,...M,disabled:n.disabled,value:p&&g(p),onChange:v=>{const f=v.target;f&&r("update:color",T.from(i(p??bm,f.value)))}}})});return Or(()=>{var T;return gt("div",{class:["v-color-picker-edit",n.class],style:n.style},[(T=D.value)==null?void 0:T.map(p=>gt(aj,p,null)),S.value.length>1&>(wl,{icon:"$unfold",size:"x-small",variant:"plain",onClick:()=>{const p=S.value.findIndex(t=>t.name===n.mode);r("update:mode",S.value[(p+1)%S.value.length].name)}},null)])}),{}}});const A_=Symbol.for("vuetify:v-slider");function Ix(n,e,r){const S=r==="vertical",D=e.getBoundingClientRect(),T="touches"in n?n.touches[0]:n;return S?T.clientY-(D.top+D.height/2):T.clientX-(D.left+D.width/2)}function lj(n,e){return"touches"in n&&n.touches.length?n.touches[0][e]:"changedTouches"in n&&n.changedTouches.length?n.changedTouches[0][e]:n[e]}const KA=ur({disabled:{type:Boolean,default:null},error:Boolean,readonly:{type:Boolean,default:null},max:{type:[Number,String],default:100},min:{type:[Number,String],default:0},step:{type:[Number,String],default:0},thumbColor:String,thumbLabel:{type:[Boolean,String],default:void 0,validator:n=>typeof n=="boolean"||n==="always"},thumbSize:{type:[Number,String],default:20},showTicks:{type:[Boolean,String],default:!1,validator:n=>typeof n=="boolean"||n==="always"},ticks:{type:[Array,Object]},tickSize:{type:[Number,String],default:2},color:String,trackColor:String,trackFillColor:String,trackSize:{type:[Number,String],default:4},direction:{type:String,default:"horizontal",validator:n=>["vertical","horizontal"].includes(n)},reverse:Boolean,...uo(),...fs({elevation:2})},"Slider"),JA=n=>{const e=cn(()=>parseFloat(n.min)),r=cn(()=>parseFloat(n.max)),S=cn(()=>+n.step>0?parseFloat(n.step):0),D=cn(()=>Math.max(_5(S.value),_5(e.value)));function T(p){if(p=parseFloat(p),S.value<=0)return p;const t=Zs(p,e.value,r.value),d=e.value%S.value,g=Math.round((t-d)/S.value)*S.value+d;return parseFloat(Math.min(g,r.value).toFixed(D.value))}return{min:e,max:r,step:S,decimals:D,roundValue:T}},QA=n=>{let{props:e,steps:r,onSliderStart:S,onSliderMove:D,onSliderEnd:T,getActiveThumb:p}=n;const{isRtl:t}=Cs(),d=Cr(e,"reverse"),g=cn(()=>{let U=t.value?"rtl":"ltr";return e.reverse&&(U=U==="rtl"?"ltr":"rtl"),U}),{min:i,max:M,step:v,decimals:f,roundValue:l}=r,a=cn(()=>parseInt(e.thumbSize,10)),u=cn(()=>parseInt(e.tickSize,10)),o=cn(()=>parseInt(e.trackSize,10)),s=cn(()=>(M.value-i.value)/v.value),h=Cr(e,"disabled"),c=cn(()=>e.direction==="vertical"),m=cn(()=>e.error||e.disabled?void 0:e.thumbColor??e.color),w=cn(()=>e.error||e.disabled?void 0:e.trackColor??e.color),y=cn(()=>e.error||e.disabled?void 0:e.trackFillColor??e.color),C=Wr(!1),_=Wr(0),k=Vr(),E=Vr();function x(U){var re;const G=e.direction==="vertical",q=G?"top":"left",H=G?"height":"width",ne=G?"clientY":"clientX",{[q]:te,[H]:Z}=(re=k.value)==null?void 0:re.$el.getBoundingClientRect(),X=lj(U,ne);let Q=Math.min(Math.max((X-te-_.value)/Z,0),1)||0;return(G||g.value==="rtl")&&(Q=1-Q),l(i.value+Q*(M.value-i.value))}const A=U=>{T({value:x(U)}),C.value=!1,_.value=0},L=U=>{E.value=p(U),E.value&&(E.value.focus(),C.value=!0,E.value.contains(U.target)?_.value=Ix(U,E.value,e.direction):(_.value=0,D({value:x(U)})),S({value:x(U)}))},b={passive:!0,capture:!0};function R(U){D({value:x(U)})}function I(U){U.stopPropagation(),U.preventDefault(),A(U),window.removeEventListener("mousemove",R,b),window.removeEventListener("mouseup",I)}function O(U){var G;A(U),window.removeEventListener("touchmove",R,b),(G=U.target)==null||G.removeEventListener("touchend",O)}function z(U){var G;L(U),window.addEventListener("touchmove",R,b),(G=U.target)==null||G.addEventListener("touchend",O,{passive:!1})}function F(U){U.preventDefault(),L(U),window.addEventListener("mousemove",R,b),window.addEventListener("mouseup",I,{passive:!1})}const B=U=>{const G=(U-i.value)/(M.value-i.value)*100;return Zs(isNaN(G)?0:G,0,100)},N=Cr(e,"showTicks"),W=cn(()=>N.value?e.ticks?Array.isArray(e.ticks)?e.ticks.map(U=>({value:U,position:B(U),label:U.toString()})):Object.keys(e.ticks).map(U=>({value:parseFloat(U),position:B(parseFloat(U)),label:e.ticks[U]})):s.value!==1/0?Kh(s.value+1).map(U=>{const G=i.value+U*v.value;return{value:G,position:B(G)}}):[]:[]),j=cn(()=>W.value.some(U=>{let{label:G}=U;return!!G})),$={activeThumbRef:E,color:Cr(e,"color"),decimals:f,disabled:h,direction:Cr(e,"direction"),elevation:Cr(e,"elevation"),hasLabels:j,horizontalDirection:g,isReversed:d,min:i,max:M,mousePressed:C,numTicks:s,onSliderMousedown:F,onSliderTouchstart:z,parsedTicks:W,parseMouseMove:x,position:B,readonly:Cr(e,"readonly"),rounded:Cr(e,"rounded"),roundValue:l,showTicks:N,startOffset:_,step:v,thumbSize:a,thumbColor:m,thumbLabel:Cr(e,"thumbLabel"),ticks:Cr(e,"ticks"),tickSize:u,trackColor:w,trackContainerRef:k,trackFillColor:y,trackSize:o,vertical:c};return ts(A_,$),$},uj=ur({focused:Boolean,max:{type:Number,required:!0},min:{type:Number,required:!0},modelValue:{type:Number,required:!0},position:{type:Number,required:!0},ripple:{type:[Boolean,Object],default:!0},...Zr()},"VSliderThumb"),Rx=Ar()({name:"VSliderThumb",directives:{Ripple:nd},props:uj(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r,emit:S}=e;const D=ka(A_),{rtlClasses:T}=Cs();if(!D)throw new Error("[Vuetify] v-slider-thumb must be used inside v-slider or v-range-slider");const{thumbColor:p,step:t,vertical:d,disabled:g,thumbSize:i,thumbLabel:M,direction:v,readonly:f,elevation:l,isReversed:a,horizontalDirection:u,mousePressed:o,decimals:s}=D,{textColorClasses:h,textColorStyles:c}=Xs(p),{pageup:m,pagedown:w,end:y,home:C,left:_,right:k,down:E,up:x}=sx,A=[m,w,y,C,_,k,E,x],L=cn(()=>t.value?[1,2,3]:[1,5,10]);function b(I,O){if(!A.includes(I.key))return;I.preventDefault();const z=t.value||.1,F=(n.max-n.min)/z;if([_,k,E,x].includes(I.key)){const N=(u.value==="rtl"?[_,x]:[k,x]).includes(I.key)?1:-1,W=I.shiftKey?2:I.ctrlKey?1:0;O=O+N*z*L.value[W]}else if(I.key===C)O=n.min;else if(I.key===y)O=n.max;else{const B=I.key===w?1:-1;O=O-B*z*(F>100?F/10:10)}return Math.max(n.min,Math.min(n.max,O))}function R(I){const O=b(I,n.modelValue);O!=null&&S("update:modelValue",O)}return Or(()=>{const I=Qr(d.value||a.value?100-n.position:n.position,"%"),{elevationClasses:O}=Vs(cn(()=>g.value?void 0:l.value));return gt("div",{class:["v-slider-thumb",{"v-slider-thumb--focused":n.focused,"v-slider-thumb--pressed":n.focused&&o.value},n.class,T.value],style:[{"--v-slider-thumb-position":I,"--v-slider-thumb-size":Qr(i.value)},n.style],role:"slider",tabindex:g.value?-1:0,"aria-valuemin":n.min,"aria-valuemax":n.max,"aria-valuenow":n.modelValue,"aria-readonly":!!f.value,"aria-orientation":v.value,onKeydown:f.value?void 0:R},[gt("div",{class:["v-slider-thumb__surface",h.value,O.value],style:{...c.value}},null),Co(gt("div",{class:["v-slider-thumb__ripple",h.value],style:c.value},null),[[Tu("ripple"),n.ripple,null,{circle:!0,center:!0}]]),gt(s_,{origin:"bottom center"},{default:()=>{var z;return[Co(gt("div",{class:"v-slider-thumb__label-container"},[gt("div",{class:["v-slider-thumb__label"]},[gt("div",null,[((z=r["thumb-label"])==null?void 0:z.call(r,{modelValue:n.modelValue}))??n.modelValue.toFixed(t.value?s.value:1)])])]),[[kh,M.value&&n.focused||M.value==="always"]])]}})])}),{}}});const cj=ur({start:{type:Number,required:!0},stop:{type:Number,required:!0},...Zr()},"VSliderTrack"),eS=Ar()({name:"VSliderTrack",props:cj(),emits:{},setup(n,e){let{slots:r}=e;const S=ka(A_);if(!S)throw new Error("[Vuetify] v-slider-track must be inside v-slider or v-range-slider");const{color:D,horizontalDirection:T,parsedTicks:p,rounded:t,showTicks:d,tickSize:g,trackColor:i,trackFillColor:M,trackSize:v,vertical:f,min:l,max:a}=S,{roundedClasses:u}=Eo(t),{backgroundColorClasses:o,backgroundColorStyles:s}=Oo(M),{backgroundColorClasses:h,backgroundColorStyles:c}=Oo(i),m=cn(()=>`inset-${f.value?"block-end":"inline-start"}`),w=cn(()=>f.value?"height":"width"),y=cn(()=>({[m.value]:"0%",[w.value]:"100%"})),C=cn(()=>n.stop-n.start),_=cn(()=>({[m.value]:Qr(n.start,"%"),[w.value]:Qr(C.value,"%")})),k=cn(()=>d.value?(f.value?p.value.slice().reverse():p.value).map((x,A)=>{var R;const L=f.value?"bottom":"margin-inline-start",b=x.value!==l.value&&x.value!==a.value?Qr(x.position,"%"):void 0;return gt("div",{key:x.value,class:["v-slider-track__tick",{"v-slider-track__tick--filled":x.position>=n.start&&x.position<=n.stop,"v-slider-track__tick--first":x.value===l.value,"v-slider-track__tick--last":x.value===a.value}],style:{[L]:b}},[(x.label||r["tick-label"])&>("div",{class:"v-slider-track__tick-label"},[((R=r["tick-label"])==null?void 0:R.call(r,{tick:x,index:A}))??x.label])])}):[]);return Or(()=>gt("div",{class:["v-slider-track",u.value,n.class],style:[{"--v-slider-track-size":Qr(v.value),"--v-slider-tick-size":Qr(g.value),direction:f.value?void 0:T.value},n.style]},[gt("div",{class:["v-slider-track__background",h.value,{"v-slider-track__background--opacity":!!D.value||!M.value}],style:{...y.value,...c.value}},null),gt("div",{class:["v-slider-track__fill",o.value],style:{..._.value,...s.value}},null),d.value&>("div",{class:["v-slider-track__ticks",{"v-slider-track__ticks--always-show":d.value==="always"}]},[k.value])])),{}}}),hj=ur({...r1(),...KA(),...mf(),modelValue:{type:[Number,String],default:0}},"VSlider"),Px=Ar()({name:"VSlider",props:hj(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,start:n=>!0,end:n=>!0},setup(n,e){let{slots:r,emit:S}=e;const D=Vr(),{rtlClasses:T}=Cs(),p=JA(n),t=xi(n,"modelValue",void 0,w=>p.roundValue(w??p.min.value)),{min:d,max:g,mousePressed:i,roundValue:M,onSliderMousedown:v,onSliderTouchstart:f,trackContainerRef:l,position:a,hasLabels:u,readonly:o}=QA({props:n,steps:p,onSliderStart:()=>{S("start",t.value)},onSliderEnd:w=>{let{value:y}=w;const C=M(y);t.value=C,S("end",C)},onSliderMove:w=>{let{value:y}=w;return t.value=M(y)},getActiveThumb:()=>{var w;return(w=D.value)==null?void 0:w.$el}}),{isFocused:s,focus:h,blur:c}=rd(n),m=cn(()=>a(t.value));return Or(()=>{const[w,y]=Bs.filterProps(n),C=!!(n.label||r.label||r.prepend);return gt(Bs,qr({class:["v-slider",{"v-slider--has-labels":!!r["tick-label"]||u.value,"v-slider--focused":s.value,"v-slider--pressed":i.value,"v-slider--disabled":n.disabled},T.value,n.class],style:n.style},w,{focused:s.value}),{...r,prepend:C?_=>{var k,E;return gt(Yr,null,[((k=r.label)==null?void 0:k.call(r,_))??n.label?gt(C0,{id:_.id.value,class:"v-slider__label",text:n.label},null):void 0,(E=r.prepend)==null?void 0:E.call(r,_)])}:void 0,default:_=>{let{id:k,messagesId:E}=_;return gt("div",{class:"v-slider__container",onMousedown:o.value?void 0:v,onTouchstartPassive:o.value?void 0:f},[gt("input",{id:k.value,name:n.name||k.value,disabled:!!n.disabled,readonly:!!n.readonly,tabindex:"-1",value:t.value},null),gt(eS,{ref:l,start:0,stop:m.value},{"tick-label":r["tick-label"]}),gt(Rx,{ref:D,"aria-describedby":E.value,focused:s.value,min:d.value,max:g.value,modelValue:t.value,"onUpdate:modelValue":x=>t.value=x,position:m.value,elevation:n.elevation,onFocus:h,onBlur:c},{"thumb-label":r["thumb-label"]})])}})}),{}}}),fj=ur({color:{type:Object},disabled:Boolean,hideAlpha:Boolean,...Zr()},"VColorPickerPreview"),dj=ac({name:"VColorPickerPreview",props:fj(),emits:{"update:color":n=>!0},setup(n,e){let{emit:r}=e;return Or(()=>{var S,D;return gt("div",{class:["v-color-picker-preview",{"v-color-picker-preview--hide-alpha":n.hideAlpha},n.class],style:n.style},[gt("div",{class:"v-color-picker-preview__dot"},[gt("div",{style:{background:w6(n.color??bm)}},null)]),gt("div",{class:"v-color-picker-preview__sliders"},[gt(Px,{class:"v-color-picker-preview__track v-color-picker-preview__hue",modelValue:(S=n.color)==null?void 0:S.h,"onUpdate:modelValue":T=>r("update:color",{...n.color??bm,h:T}),step:0,min:0,max:360,disabled:n.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null),!n.hideAlpha&>(Px,{class:"v-color-picker-preview__track v-color-picker-preview__alpha",modelValue:((D=n.color)==null?void 0:D.a)??1,"onUpdate:modelValue":T=>r("update:color",{...n.color??bm,a:T}),step:1/256,min:0,max:1,disabled:n.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null)])])}),{}}});const pj=Object.freeze({base:"#f44336",lighten5:"#ffebee",lighten4:"#ffcdd2",lighten3:"#ef9a9a",lighten2:"#e57373",lighten1:"#ef5350",darken1:"#e53935",darken2:"#d32f2f",darken3:"#c62828",darken4:"#b71c1c",accent1:"#ff8a80",accent2:"#ff5252",accent3:"#ff1744",accent4:"#d50000"}),mj=Object.freeze({base:"#e91e63",lighten5:"#fce4ec",lighten4:"#f8bbd0",lighten3:"#f48fb1",lighten2:"#f06292",lighten1:"#ec407a",darken1:"#d81b60",darken2:"#c2185b",darken3:"#ad1457",darken4:"#880e4f",accent1:"#ff80ab",accent2:"#ff4081",accent3:"#f50057",accent4:"#c51162"}),gj=Object.freeze({base:"#9c27b0",lighten5:"#f3e5f5",lighten4:"#e1bee7",lighten3:"#ce93d8",lighten2:"#ba68c8",lighten1:"#ab47bc",darken1:"#8e24aa",darken2:"#7b1fa2",darken3:"#6a1b9a",darken4:"#4a148c",accent1:"#ea80fc",accent2:"#e040fb",accent3:"#d500f9",accent4:"#aa00ff"}),vj=Object.freeze({base:"#673ab7",lighten5:"#ede7f6",lighten4:"#d1c4e9",lighten3:"#b39ddb",lighten2:"#9575cd",lighten1:"#7e57c2",darken1:"#5e35b1",darken2:"#512da8",darken3:"#4527a0",darken4:"#311b92",accent1:"#b388ff",accent2:"#7c4dff",accent3:"#651fff",accent4:"#6200ea"}),yj=Object.freeze({base:"#3f51b5",lighten5:"#e8eaf6",lighten4:"#c5cae9",lighten3:"#9fa8da",lighten2:"#7986cb",lighten1:"#5c6bc0",darken1:"#3949ab",darken2:"#303f9f",darken3:"#283593",darken4:"#1a237e",accent1:"#8c9eff",accent2:"#536dfe",accent3:"#3d5afe",accent4:"#304ffe"}),bj=Object.freeze({base:"#2196f3",lighten5:"#e3f2fd",lighten4:"#bbdefb",lighten3:"#90caf9",lighten2:"#64b5f6",lighten1:"#42a5f5",darken1:"#1e88e5",darken2:"#1976d2",darken3:"#1565c0",darken4:"#0d47a1",accent1:"#82b1ff",accent2:"#448aff",accent3:"#2979ff",accent4:"#2962ff"}),xj=Object.freeze({base:"#03a9f4",lighten5:"#e1f5fe",lighten4:"#b3e5fc",lighten3:"#81d4fa",lighten2:"#4fc3f7",lighten1:"#29b6f6",darken1:"#039be5",darken2:"#0288d1",darken3:"#0277bd",darken4:"#01579b",accent1:"#80d8ff",accent2:"#40c4ff",accent3:"#00b0ff",accent4:"#0091ea"}),_j=Object.freeze({base:"#00bcd4",lighten5:"#e0f7fa",lighten4:"#b2ebf2",lighten3:"#80deea",lighten2:"#4dd0e1",lighten1:"#26c6da",darken1:"#00acc1",darken2:"#0097a7",darken3:"#00838f",darken4:"#006064",accent1:"#84ffff",accent2:"#18ffff",accent3:"#00e5ff",accent4:"#00b8d4"}),wj=Object.freeze({base:"#009688",lighten5:"#e0f2f1",lighten4:"#b2dfdb",lighten3:"#80cbc4",lighten2:"#4db6ac",lighten1:"#26a69a",darken1:"#00897b",darken2:"#00796b",darken3:"#00695c",darken4:"#004d40",accent1:"#a7ffeb",accent2:"#64ffda",accent3:"#1de9b6",accent4:"#00bfa5"}),Tj=Object.freeze({base:"#4caf50",lighten5:"#e8f5e9",lighten4:"#c8e6c9",lighten3:"#a5d6a7",lighten2:"#81c784",lighten1:"#66bb6a",darken1:"#43a047",darken2:"#388e3c",darken3:"#2e7d32",darken4:"#1b5e20",accent1:"#b9f6ca",accent2:"#69f0ae",accent3:"#00e676",accent4:"#00c853"}),kj=Object.freeze({base:"#8bc34a",lighten5:"#f1f8e9",lighten4:"#dcedc8",lighten3:"#c5e1a5",lighten2:"#aed581",lighten1:"#9ccc65",darken1:"#7cb342",darken2:"#689f38",darken3:"#558b2f",darken4:"#33691e",accent1:"#ccff90",accent2:"#b2ff59",accent3:"#76ff03",accent4:"#64dd17"}),Mj=Object.freeze({base:"#cddc39",lighten5:"#f9fbe7",lighten4:"#f0f4c3",lighten3:"#e6ee9c",lighten2:"#dce775",lighten1:"#d4e157",darken1:"#c0ca33",darken2:"#afb42b",darken3:"#9e9d24",darken4:"#827717",accent1:"#f4ff81",accent2:"#eeff41",accent3:"#c6ff00",accent4:"#aeea00"}),Aj=Object.freeze({base:"#ffeb3b",lighten5:"#fffde7",lighten4:"#fff9c4",lighten3:"#fff59d",lighten2:"#fff176",lighten1:"#ffee58",darken1:"#fdd835",darken2:"#fbc02d",darken3:"#f9a825",darken4:"#f57f17",accent1:"#ffff8d",accent2:"#ffff00",accent3:"#ffea00",accent4:"#ffd600"}),Sj=Object.freeze({base:"#ffc107",lighten5:"#fff8e1",lighten4:"#ffecb3",lighten3:"#ffe082",lighten2:"#ffd54f",lighten1:"#ffca28",darken1:"#ffb300",darken2:"#ffa000",darken3:"#ff8f00",darken4:"#ff6f00",accent1:"#ffe57f",accent2:"#ffd740",accent3:"#ffc400",accent4:"#ffab00"}),Cj=Object.freeze({base:"#ff9800",lighten5:"#fff3e0",lighten4:"#ffe0b2",lighten3:"#ffcc80",lighten2:"#ffb74d",lighten1:"#ffa726",darken1:"#fb8c00",darken2:"#f57c00",darken3:"#ef6c00",darken4:"#e65100",accent1:"#ffd180",accent2:"#ffab40",accent3:"#ff9100",accent4:"#ff6d00"}),Ej=Object.freeze({base:"#ff5722",lighten5:"#fbe9e7",lighten4:"#ffccbc",lighten3:"#ffab91",lighten2:"#ff8a65",lighten1:"#ff7043",darken1:"#f4511e",darken2:"#e64a19",darken3:"#d84315",darken4:"#bf360c",accent1:"#ff9e80",accent2:"#ff6e40",accent3:"#ff3d00",accent4:"#dd2c00"}),Lj=Object.freeze({base:"#795548",lighten5:"#efebe9",lighten4:"#d7ccc8",lighten3:"#bcaaa4",lighten2:"#a1887f",lighten1:"#8d6e63",darken1:"#6d4c41",darken2:"#5d4037",darken3:"#4e342e",darken4:"#3e2723"}),Ij=Object.freeze({base:"#607d8b",lighten5:"#eceff1",lighten4:"#cfd8dc",lighten3:"#b0bec5",lighten2:"#90a4ae",lighten1:"#78909c",darken1:"#546e7a",darken2:"#455a64",darken3:"#37474f",darken4:"#263238"}),Rj=Object.freeze({base:"#9e9e9e",lighten5:"#fafafa",lighten4:"#f5f5f5",lighten3:"#eeeeee",lighten2:"#e0e0e0",lighten1:"#bdbdbd",darken1:"#757575",darken2:"#616161",darken3:"#424242",darken4:"#212121"}),Pj=Object.freeze({black:"#000000",white:"#ffffff",transparent:"#ffffff00"}),Oj=Object.freeze({red:pj,pink:mj,purple:gj,deepPurple:vj,indigo:yj,blue:bj,lightBlue:xj,cyan:_j,teal:wj,green:Tj,lightGreen:kj,lime:Mj,yellow:Aj,amber:Sj,orange:Cj,deepOrange:Ej,brown:Lj,blueGrey:Ij,grey:Rj,shades:Pj}),Dj=ur({swatches:{type:Array,default:()=>zj(Oj)},disabled:Boolean,color:Object,maxHeight:[Number,String],...Zr()},"VColorPickerSwatches");function zj(n){return Object.keys(n).map(e=>{const r=n[e];return r.base?[r.base,r.darken4,r.darken3,r.darken2,r.darken1,r.lighten1,r.lighten2,r.lighten3,r.lighten4,r.lighten5]:[r.black,r.white,r.transparent]})}const Fj=ac({name:"VColorPickerSwatches",props:Dj(),emits:{"update:color":n=>!0},setup(n,e){let{emit:r}=e;return Or(()=>gt("div",{class:["v-color-picker-swatches",n.class],style:[{maxHeight:Qr(n.maxHeight)},n.style]},[gt("div",null,[n.swatches.map(S=>gt("div",{class:"v-color-picker-swatches__swatch"},[S.map(D=>{const T=Pc(D),p=Xy(T),t=_6(T);return gt("div",{class:"v-color-picker-swatches__color",onClick:()=>p&&r("update:color",p)},[gt("div",{style:{background:t}},[n.color&&b0(n.color,p)?gt(ja,{size:"x-small",icon:"$success",color:vF(D,"#FFFFFF")>2?"white":"black"},null):void 0])])})]))])])),{}}});const tS=ur({color:String,...Su(),...Zr(),...sc(),...fs(),...ed(),...A0(),...uo(),...Si(),...oa()},"VSheet"),Ox=Ar()({name:"VSheet",props:tS(),setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ma(n),{backgroundColorClasses:D,backgroundColorStyles:T}=Oo(Cr(n,"color")),{borderClasses:p}=uc(n),{dimensionStyles:t}=lc(n),{elevationClasses:d}=Vs(n),{locationStyles:g}=td(n),{positionClasses:i}=S0(n),{roundedClasses:M}=Eo(n);return Or(()=>gt(n.tag,{class:["v-sheet",S.value,D.value,p.value,d.value,i.value,M.value,n.class],style:[T.value,t.value,g.value,n.style]},r)),{}}}),Bj=ur({canvasHeight:{type:[String,Number],default:150},disabled:Boolean,dotSize:{type:[Number,String],default:10},hideCanvas:Boolean,hideSliders:Boolean,hideInputs:Boolean,mode:{type:String,default:"rgba",validator:n=>Object.keys(Hd).includes(n)},modes:{type:Array,default:()=>Object.keys(Hd),validator:n=>Array.isArray(n)&&n.every(e=>Object.keys(Hd).includes(e))},showSwatches:Boolean,swatches:Array,swatchesMaxHeight:{type:[Number,String],default:150},modelValue:{type:[Object,String]},...ic(tS({width:300}),["height","location","minHeight","maxHeight","minWidth","maxWidth"])},"VColorPicker"),Nj=ac({name:"VColorPicker",props:Bj(),emits:{"update:modelValue":n=>!0,"update:mode":n=>!0},setup(n){const e=xi(n,"mode"),r=Vr(null),S=xi(n,"modelValue",void 0,p=>{if(p==null||p==="")return null;let t;try{t=Xy(Pc(p))}catch{return null}return r.value&&(t={...t,h:r.value.h},r.value=null),t},p=>p?tj(p,n.modelValue):null),{rtlClasses:D}=Cs(),T=p=>{S.value=p,r.value=p};return Ks(()=>{n.modes.includes(e.value)||(e.value=n.modes[0])}),es({VSlider:{color:void 0,trackColor:void 0,trackFillColor:void 0}}),Or(()=>{const[p]=Ox.filterProps(n);return gt(Ox,qr({rounded:n.rounded,elevation:n.elevation,theme:n.theme,class:["v-color-picker",D.value,n.class],style:[{"--v-color-picker-color-hsv":w6({...S.value??bm,a:1})},n.style]},p,{maxWidth:n.width}),{default:()=>[!n.hideCanvas&>(QV,{key:"canvas",color:S.value,"onUpdate:color":T,disabled:n.disabled,dotSize:n.dotSize,width:n.width,height:n.canvasHeight},null),(!n.hideSliders||!n.hideInputs)&>("div",{key:"controls",class:"v-color-picker__controls"},[!n.hideSliders&>(dj,{key:"preview",color:S.value,"onUpdate:color":T,hideAlpha:!e.value.endsWith("a"),disabled:n.disabled},null),!n.hideInputs&>(sj,{key:"edit",modes:n.modes,mode:e.value,"onUpdate:mode":t=>e.value=t,color:S.value,"onUpdate:color":T,disabled:n.disabled},null)]),n.showSwatches&>(Fj,{key:"swatches",color:S.value,"onUpdate:color":T,maxHeight:n.swatchesMaxHeight,swatches:n.swatches,disabled:n.disabled},null)]})}),{}}});function Vj(n,e,r){if(e==null)return n;if(Array.isArray(e))throw new Error("Multiple matches is not implemented");return typeof e=="number"&&~e?gt(Yr,null,[gt("span",{class:"v-combobox__unmask"},[n.substr(0,e)]),gt("span",{class:"v-combobox__mask"},[n.substr(e,r)]),gt("span",{class:"v-combobox__unmask"},[n.substr(e+r)])]):n}const jj=ur({autoSelectFirst:{type:[Boolean,String]},delimiters:Array,...DA({filterKeys:["title"]}),...k_({hideNoData:!0,returnObject:!0}),...ic(c1({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...df({transition:!1})},"VCombobox"),Uj=Ar()({name:"VCombobox",props:jj(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,"update:search":n=>!0,"update:menu":n=>!0},setup(n,e){var q;let{emit:r,slots:S}=e;const{t:D}=oc(),T=Vr(),p=Wr(!1),t=Wr(!0),d=Wr(!1),g=Vr(),i=Vr(),M=xi(n,"menu"),v=cn({get:()=>M.value,set:H=>{var ne;M.value&&!H&&((ne=g.value)!=null&&ne.ΨopenChildren)||(M.value=H)}}),f=Wr(-1);let l=!1;const a=cn(()=>{var H;return(H=T.value)==null?void 0:H.color}),u=cn(()=>v.value?n.closeText:n.openText),{items:o,transformIn:s,transformOut:h}=x_(n),{textColorClasses:c,textColorStyles:m}=Xs(a),w=xi(n,"modelValue",[],H=>s(bu(H)),H=>{const ne=h(H);return n.multiple?ne:ne[0]??null}),y=i1(),C=Wr(n.multiple?"":((q=w.value[0])==null?void 0:q.title)??""),_=cn({get:()=>C.value,set:H=>{var ne;if(C.value=H,n.multiple||(w.value=[zd(n,H)]),H&&n.multiple&&((ne=n.delimiters)!=null&&ne.length)){const te=H.split(new RegExp(`(?:${n.delimiters.join("|")})+`));te.length>1&&(te.forEach(Z=>{Z=Z.trim(),Z&&j(zd(n,Z))}),C.value="")}H||(f.value=-1),t.value=!H}});$r(C,H=>{l?Ua(()=>l=!1):p.value&&!v.value&&(v.value=!0),r("update:search",H)}),$r(w,H=>{var ne;n.multiple||(C.value=((ne=H[0])==null?void 0:ne.title)??"")});const{filteredItems:k,getMatches:E}=zA(n,o,()=>t.value?"":_.value),x=cn(()=>n.hideSelected?k.value.filter(H=>!w.value.some(ne=>ne.value===H.value)):k.value),A=cn(()=>w.value.map(H=>H.value)),L=cn(()=>{var ne;return(n.autoSelectFirst===!0||n.autoSelectFirst==="exact"&&_.value===((ne=x.value[0])==null?void 0:ne.title))&&x.value.length>0&&!t.value&&!d.value}),b=cn(()=>n.hideNoData&&!o.value.length||n.readonly||(y==null?void 0:y.isReadonly.value)),R=Vr(),{onListScroll:I,onListKeydown:O}=T_(R,T);function z(H){l=!0,n.openOnClear&&(v.value=!0)}function F(){b.value||(v.value=!0)}function B(H){b.value||(p.value&&(H.preventDefault(),H.stopPropagation()),v.value=!v.value)}function N(H){var Z;if(n.readonly||y!=null&&y.isReadonly.value)return;const ne=T.value.selectionStart,te=w.value.length;if((f.value>-1||["Enter","ArrowDown","ArrowUp"].includes(H.key))&&H.preventDefault(),["Enter","ArrowDown"].includes(H.key)&&(v.value=!0),["Escape"].includes(H.key)&&(v.value=!1),["Enter","Escape","Tab"].includes(H.key)&&(L.value&&["Enter","Tab"].includes(H.key)&&j(k.value[0]),t.value=!0),H.key==="ArrowDown"&&L.value&&((Z=R.value)==null||Z.focus("next")),!!n.multiple){if(["Backspace","Delete"].includes(H.key)){if(f.value<0){H.key==="Backspace"&&!_.value&&(f.value=te-1);return}const X=f.value,Q=w.value[f.value];Q&&j(Q),f.value=X>=te-1?te-2:X}if(H.key==="ArrowLeft"){if(f.value<0&&ne>0)return;const X=f.value>-1?f.value-1:te-1;w.value[X]?f.value=X:(f.value=-1,T.value.setSelectionRange(_.value.length,_.value.length))}if(H.key==="ArrowRight"){if(f.value<0)return;const X=f.value+1;w.value[X]?f.value=X:(f.value=-1,T.value.setSelectionRange(0,0))}H.key==="Enter"&&_.value&&(j(zd(n,_.value)),_.value="")}}function W(){var H;p.value&&(t.value=!0,(H=T.value)==null||H.focus())}function j(H){if(n.multiple){const ne=w.value.findIndex(te=>n.valueComparator(te.value,H.value));if(ne===-1)w.value=[...w.value,H];else{const te=[...w.value];te.splice(ne,1),w.value=te}_.value=""}else w.value=[H],C.value=H.title,Ua(()=>{v.value=!1,t.value=!0})}function $(H){p.value=!0,setTimeout(()=>{d.value=!0})}function U(H){d.value=!1}function G(H){(H==null||H===""&&!n.multiple)&&(w.value=[])}return $r(k,H=>{!H.length&&n.hideNoData&&(v.value=!1)}),$r(p,(H,ne)=>{H||H===ne||(f.value=-1,v.value=!1,L.value&&!d.value&&!w.value.some(te=>{let{value:Z}=te;return Z===x.value[0].value})?j(x.value[0]):n.multiple&&_.value&&(w.value=[...w.value,zd(n,_.value)],_.value=""))}),$r(v,()=>{if(!n.hideSelected&&v.value&&w.value.length){const H=x.value.findIndex(ne=>w.value.some(te=>n.valueComparator(te.value,ne.value)));to&&window.requestAnimationFrame(()=>{var ne;H>=0&&((ne=i.value)==null||ne.scrollToIndex(H))})}}),Or(()=>{const H=!!(n.chips||S.chip),ne=!!(!n.hideNoData||x.value.length||S["prepend-item"]||S["append-item"]||S["no-data"]),te=w.value.length>0,[Z]=Kd.filterProps(n);return gt(Kd,qr({ref:T},Z,{modelValue:_.value,"onUpdate:modelValue":[X=>_.value=X,G],focused:p.value,"onUpdate:focused":X=>p.value=X,validationValue:w.externalValue,dirty:te,class:["v-combobox",{"v-combobox--active-menu":v.value,"v-combobox--chips":!!n.chips,"v-combobox--selection-slot":!!S.selection,"v-combobox--selecting-index":f.value>-1,[`v-combobox--${n.multiple?"multiple":"single"}`]:!0},n.class],style:n.style,readonly:n.readonly,placeholder:te?void 0:n.placeholder,"onClick:clear":z,"onMousedown:control":F,onKeydown:N}),{...S,default:()=>gt(Yr,null,[gt(s1,qr({ref:g,modelValue:v.value,"onUpdate:modelValue":X=>v.value=X,activator:"parent",contentClass:"v-combobox__content",disabled:b.value,eager:n.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:n.transition,onAfterLeave:W},n.menuProps),{default:()=>[ne&>(a1,{ref:R,selected:A.value,selectStrategy:n.multiple?"independent":"single-independent",onMousedown:X=>X.preventDefault(),onKeydown:O,onFocusin:$,onFocusout:U,onScrollPassive:I,tabindex:"-1",color:n.itemColor??n.color},{default:()=>{var X,Q,re;return[(X=S["prepend-item"])==null?void 0:X.call(S),!x.value.length&&!n.hideNoData&&(((Q=S["no-data"])==null?void 0:Q.call(S))??gt(af,{title:D(n.noDataText)},null)),gt(h1,{ref:i,renderless:!0,items:x.value},{default:ie=>{var de;let{item:oe,index:ue,itemRef:ce}=ie;const ye=qr(oe.props,{ref:ce,key:ue,active:L.value&&ue===0?!0:void 0,onClick:()=>j(oe)});return((de=S.item)==null?void 0:de.call(S,{item:oe,index:ue,props:ye}))??gt(af,ye,{prepend:me=>{let{isSelected:pe}=me;return gt(Yr,null,[n.multiple&&!n.hideSelected?gt(h0,{key:oe.value,modelValue:pe,ripple:!1,tabindex:"-1"},null):void 0,oe.props.prependIcon&>(ja,{icon:oe.props.prependIcon},null)])},title:()=>{var me,pe;return t.value?oe.title:Vj(oe.title,(me=E(oe))==null?void 0:me.title,((pe=_.value)==null?void 0:pe.length)??0)}})}}),(re=S["append-item"])==null?void 0:re.call(S)]}})]}),w.value.map((X,Q)=>{var oe;function re(ue){ue.stopPropagation(),ue.preventDefault(),j(X)}const ie={"onClick:close":re,onMousedown(ue){ue.preventDefault(),ue.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return gt("div",{key:X.value,class:["v-combobox__selection",Q===f.value&&["v-combobox__selection--selected",c.value]],style:Q===f.value?m.value:{}},[H?S.chip?gt(Fa,{key:"chip-defaults",defaults:{VChip:{closable:n.closableChips,size:"small",text:X.title}}},{default:()=>{var ue;return[(ue=S.chip)==null?void 0:ue.call(S,{item:X,index:Q,props:ie})]}}):gt(ug,qr({key:"chip",closable:n.closableChips,size:"small",text:X.title},ie),null):((oe=S.selection)==null?void 0:oe.call(S,{item:X,index:Q}))??gt("span",{class:"v-combobox__selection-text"},[X.title,n.multiple&&Q!0},setup(n,e){let{slots:r}=e;const S=xi(n,"modelValue"),{scopeId:D}=E0(),T=Vr();function p(d){var M,v;const g=d.relatedTarget,i=d.target;if(g!==i&&((M=T.value)!=null&&M.contentEl)&&((v=T.value)!=null&&v.globalTop)&&![document,T.value.contentEl].includes(i)&&!T.value.contentEl.contains(i)){const f=Dm(T.value.contentEl);if(!f.length)return;const l=f[0],a=f[f.length-1];g===l?a.focus():l.focus()}}to&&$r(()=>S.value&&n.retainFocus,d=>{d?document.addEventListener("focusin",p):document.removeEventListener("focusin",p)},{immediate:!0}),$r(S,async d=>{var g,i;await Ua(),d?(g=T.value.contentEl)==null||g.focus({preventScroll:!0}):(i=T.value.activatorEl)==null||i.focus({preventScroll:!0})});const t=cn(()=>qr({"aria-haspopup":"dialog","aria-expanded":String(S.value)},n.activatorProps));return Or(()=>{const[d]=of.filterProps(n);return gt(of,qr({ref:T,class:["v-dialog",{"v-dialog--fullscreen":n.fullscreen,"v-dialog--scrollable":n.scrollable},n.class],style:n.style},d,{modelValue:S.value,"onUpdate:modelValue":g=>S.value=g,"aria-modal":"true",activatorProps:t.value,role:"dialog"},D),{activator:r.activator,default:function(){for(var g=arguments.length,i=new Array(g),M=0;M{var v;return[(v=r.default)==null?void 0:v.call(r,...i)]}})}})}),Vc({},T)}});const jm=Symbol.for("vuetify:v-expansion-panel"),qj=["default","accordion","inset","popout"],Wj=ur({color:String,variant:{type:String,default:"default",validator:n=>qj.includes(n)},readonly:Boolean,...Zr(),...w0(),...Si(),...oa()},"VExpansionPanels"),Yj=Ar()({name:"VExpansionPanels",props:Wj(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;ip(n,jm);const{themeClasses:S}=Ma(n),D=cn(()=>n.variant&&`v-expansion-panels--variant-${n.variant}`);return es({VExpansionPanel:{color:Cr(n,"color")},VExpansionPanelTitle:{readonly:Cr(n,"readonly")}}),Or(()=>gt(n.tag,{class:["v-expansion-panels",S.value,D.value,n.class],style:n.style},r)),{}}}),$j=ur({...Zr(),...o1()},"VExpansionPanelText"),nS=Ar()({name:"VExpansionPanelText",props:$j(),setup(n,e){let{slots:r}=e;const S=ka(jm);if(!S)throw new Error("[Vuetify] v-expansion-panel-text needs to be placed inside v-expansion-panel");const{hasContent:D,onAfterLeave:T}=__(n,S.isSelected);return Or(()=>gt(e1,{onAfterLeave:T},{default:()=>{var p;return[Co(gt("div",{class:["v-expansion-panel-text",n.class],style:n.style},[r.default&&D.value&>("div",{class:"v-expansion-panel-text__wrapper"},[(p=r.default)==null?void 0:p.call(r)])]),[[kh,S.isSelected.value]])]}})),{}}}),rS=ur({color:String,expandIcon:{type:bi,default:"$expand"},collapseIcon:{type:bi,default:"$collapse"},hideActions:Boolean,ripple:{type:[Boolean,Object],default:!1},readonly:Boolean,...Zr()},"VExpansionPanelTitle"),iS=Ar()({name:"VExpansionPanelTitle",directives:{Ripple:nd},props:rS(),setup(n,e){let{slots:r}=e;const S=ka(jm);if(!S)throw new Error("[Vuetify] v-expansion-panel-title needs to be placed inside v-expansion-panel");const{backgroundColorClasses:D,backgroundColorStyles:T}=Oo(n,"color"),p=cn(()=>({collapseIcon:n.collapseIcon,disabled:S.disabled.value,expanded:S.isSelected.value,expandIcon:n.expandIcon,readonly:n.readonly}));return Or(()=>{var t;return Co(gt("button",{class:["v-expansion-panel-title",{"v-expansion-panel-title--active":S.isSelected.value},D.value,n.class],style:[T.value,n.style],type:"button",tabindex:S.disabled.value?-1:void 0,disabled:S.disabled.value,"aria-expanded":S.isSelected.value,onClick:n.readonly?void 0:S.toggle},[gt("span",{class:"v-expansion-panel-title__overlay"},null),(t=r.default)==null?void 0:t.call(r,p.value),!n.hideActions&>("span",{class:"v-expansion-panel-title__icon"},[r.actions?r.actions(p.value):gt(ja,{icon:S.isSelected.value?n.collapseIcon:n.expandIcon},null)])]),[[Tu("ripple"),n.ripple]])}),{}}}),Zj=ur({title:String,text:String,bgColor:String,...Zr(),...fs(),...T0(),...o1(),...uo(),...Si(),...rS()},"VExpansionPanel"),Xj=Ar()({name:"VExpansionPanel",props:Zj(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const S=k0(n,jm),{backgroundColorClasses:D,backgroundColorStyles:T}=Oo(n,"bgColor"),{elevationClasses:p}=Vs(n),{roundedClasses:t}=Eo(n),d=cn(()=>(S==null?void 0:S.disabled.value)||n.disabled),g=cn(()=>S.group.items.value.reduce((v,f,l)=>(S.group.selected.value.includes(f.id)&&v.push(l),v),[])),i=cn(()=>{const v=S.group.items.value.findIndex(f=>f.id===S.id);return!S.isSelected.value&&g.value.some(f=>f-v===1)}),M=cn(()=>{const v=S.group.items.value.findIndex(f=>f.id===S.id);return!S.isSelected.value&&g.value.some(f=>f-v===-1)});return ts(jm,S),es({VExpansionPanelText:{eager:Cr(n,"eager")}}),Or(()=>{const v=!!(r.text||n.text),f=!!(r.title||n.title);return gt(n.tag,{class:["v-expansion-panel",{"v-expansion-panel--active":S.isSelected.value,"v-expansion-panel--before-active":i.value,"v-expansion-panel--after-active":M.value,"v-expansion-panel--disabled":d.value},t.value,D.value,n.class],style:[T.value,n.style]},{default:()=>{var l;return[gt("div",{class:["v-expansion-panel__shadow",...p.value]},null),f&>(iS,{key:"title",collapseIcon:n.collapseIcon,color:n.color,expandIcon:n.expandIcon,hideActions:n.hideActions,ripple:n.ripple},{default:()=>[r.title?r.title():n.title]}),v&>(nS,{key:"text"},{default:()=>[r.text?r.text():n.text]}),(l=r.default)==null?void 0:l.call(r)]}})}),{}}});const Kj=ur({chips:Boolean,counter:Boolean,counterSizeString:{type:String,default:"$vuetify.fileInput.counterSize"},counterString:{type:String,default:"$vuetify.fileInput.counter"},multiple:Boolean,showSize:{type:[Boolean,Number],default:!1,validator:n=>typeof n=="boolean"||[1e3,1024].includes(n)},...mf({prependIcon:"$file"}),modelValue:{type:Array,default:()=>[],validator:n=>bu(n).every(e=>e!=null&&typeof e=="object")},...u1({clearable:!0})},"VFileInput"),Jj=Ar()({name:"VFileInput",inheritAttrs:!1,props:Kj(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:S,slots:D}=e;const{t:T}=oc(),p=xi(n,"modelValue"),{isFocused:t,focus:d,blur:g}=rd(n),i=cn(()=>typeof n.showSize!="boolean"?n.showSize:void 0),M=cn(()=>(p.value??[]).reduce((_,k)=>{let{size:E=0}=k;return _+E},0)),v=cn(()=>T5(M.value,i.value)),f=cn(()=>(p.value??[]).map(_=>{const{name:k="",size:E=0}=_;return n.showSize?`${k} (${T5(E,i.value)})`:k})),l=cn(()=>{var k;const _=((k=p.value)==null?void 0:k.length)??0;return n.showSize?T(n.counterSizeString,_,v.value):T(n.counterString,_)}),a=Vr(),u=Vr(),o=Vr(),s=cn(()=>t.value||n.active),h=cn(()=>["plain","underlined"].includes(n.variant));function c(){var _;o.value!==document.activeElement&&((_=o.value)==null||_.focus()),t.value||d()}function m(_){y(_)}function w(_){S("mousedown:control",_)}function y(_){var k;(k=o.value)==null||k.click(),S("click:control",_)}function C(_){_.stopPropagation(),c(),Ua(()=>{p.value=[],K2(n["onClick:clear"],_)})}return $r(p,_=>{(!Array.isArray(_)||!_.length)&&o.value&&(o.value.value="")}),Or(()=>{const _=!!(D.counter||n.counter),k=!!(_||D.details),[E,x]=Qd(r),[{modelValue:A,...L}]=Bs.filterProps(n),[b]=w_(n);return gt(Bs,qr({ref:a,modelValue:p.value,"onUpdate:modelValue":R=>p.value=R,class:["v-file-input",{"v-text-field--plain-underlined":h.value},n.class],style:n.style,"onClick:prepend":m},E,L,{centerAffix:!h.value,focused:t.value}),{...D,default:R=>{let{id:I,isDisabled:O,isDirty:z,isReadonly:F,isValid:B}=R;return gt(hg,qr({ref:u,"prepend-icon":n.prependIcon,onMousedown:w,onClick:y,"onClick:clear":C,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"]},b,{id:I.value,active:s.value||z.value,dirty:z.value,disabled:O.value,focused:t.value,error:B.value===!1}),{...D,default:N=>{var $;let{props:{class:W,...j}}=N;return gt(Yr,null,[gt("input",qr({ref:o,type:"file",readonly:F.value,disabled:O.value,multiple:n.multiple,name:n.name,onClick:U=>{U.stopPropagation(),F.value&&U.preventDefault(),c()},onChange:U=>{if(!U.target)return;const G=U.target;p.value=[...G.files??[]]},onFocus:c,onBlur:g},j,x),null),gt("div",{class:W},[!!(($=p.value)!=null&&$.length)&&(D.selection?D.selection({fileNames:f.value,totalBytes:M.value,totalBytesReadable:v.value}):n.chips?f.value.map(U=>gt(ug,{key:U,size:"small",color:n.color},{default:()=>[U]})):f.value.join(", "))])])}})},details:k?R=>{var I,O;return gt(Yr,null,[(I=D.details)==null?void 0:I.call(D,R),_&>(Yr,null,[gt("span",null,null),gt(l1,{active:!!((O=p.value)!=null&&O.length),value:l.value},D.counter)])])}:void 0})}),Vc({},a,u,o)}});const Qj=ur({app:Boolean,color:String,height:{type:[Number,String],default:"auto"},...Su(),...Zr(),...fs(),...x0(),...uo(),...Si({tag:"footer"}),...oa()},"VFooter"),eU=Ar()({name:"VFooter",props:Qj(),setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ma(n),{backgroundColorClasses:D,backgroundColorStyles:T}=Oo(Cr(n,"color")),{borderClasses:p}=uc(n),{elevationClasses:t}=Vs(n),{roundedClasses:d}=Eo(n),g=Wr(32),{resizeRef:i}=Th(f=>{f.length&&(g.value=f[0].target.clientHeight)}),M=cn(()=>n.height==="auto"?g.value:parseInt(n.height,10)),{layoutItemStyles:v}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:cn(()=>"bottom"),layoutSize:M,elementSize:cn(()=>n.height==="auto"?void 0:M.value),active:cn(()=>n.app),absolute:Cr(n,"absolute")});return Or(()=>gt(n.tag,{ref:i,class:["v-footer",S.value,D.value,p.value,t.value,d.value,n.class],style:[T.value,n.app?v.value:{height:Qr(n.height)},n.style]},r)),{}}}),tU=ur({...Zr(),...fN()},"VForm"),nU=Ar()({name:"VForm",props:tU(),emits:{"update:modelValue":n=>!0,submit:n=>!0},setup(n,e){let{slots:r,emit:S}=e;const D=dN(n),T=Vr();function p(d){d.preventDefault(),D.reset()}function t(d){const g=d,i=D.validate();g.then=i.then.bind(i),g.catch=i.catch.bind(i),g.finally=i.finally.bind(i),S("submit",g),g.defaultPrevented||i.then(M=>{var f;let{valid:v}=M;v&&((f=T.value)==null||f.submit())}),g.preventDefault()}return Or(()=>{var d;return gt("form",{ref:T,class:["v-form",n.class],style:n.style,novalidate:!0,onReset:p,onSubmit:t},[(d=r.default)==null?void 0:d.call(r,D)])}),Vc(D,T)}});const rU=ur({fluid:{type:Boolean,default:!1},...Zr(),...Si()},"VContainer"),iU=Ar()({name:"VContainer",props:rU(),setup(n,e){let{slots:r}=e;const{rtlClasses:S}=Cs();return Or(()=>gt(n.tag,{class:["v-container",{"v-container--fluid":n.fluid},S.value,n.class],style:n.style},r)),{}}}),aS=(()=>Ky.reduce((n,e)=>(n[e]={type:[Boolean,String,Number],default:!1},n),{}))(),oS=(()=>Ky.reduce((n,e)=>{const r="offset"+sf(e);return n[r]={type:[String,Number],default:null},n},{}))(),sS=(()=>Ky.reduce((n,e)=>{const r="order"+sf(e);return n[r]={type:[String,Number],default:null},n},{}))(),lT={col:Object.keys(aS),offset:Object.keys(oS),order:Object.keys(sS)};function aU(n,e,r){let S=n;if(!(r==null||r===!1)){if(e){const D=e.replace(n,"");S+=`-${D}`}return n==="col"&&(S="v-"+S),n==="col"&&(r===""||r===!0)||(S+=`-${r}`),S.toLowerCase()}}const oU=["auto","start","end","center","baseline","stretch"],sU=ur({cols:{type:[Boolean,String,Number],default:!1},...aS,offset:{type:[String,Number],default:null},...oS,order:{type:[String,Number],default:null},...sS,alignSelf:{type:String,default:null,validator:n=>oU.includes(n)},...Zr(),...Si()},"VCol"),lU=Ar()({name:"VCol",props:sU(),setup(n,e){let{slots:r}=e;const S=cn(()=>{const D=[];let T;for(T in lT)lT[T].forEach(t=>{const d=n[t],g=aU(T,t,d);g&&D.push(g)});const p=D.some(t=>t.startsWith("v-col-"));return D.push({"v-col":!p||!n.cols,[`v-col-${n.cols}`]:n.cols,[`offset-${n.offset}`]:n.offset,[`order-${n.order}`]:n.order,[`align-self-${n.alignSelf}`]:n.alignSelf}),D});return()=>{var D;return Xf(n.tag,{class:[S.value,n.class],style:n.style},(D=r.default)==null?void 0:D.call(r))}}}),S_=["start","end","center"],lS=["space-between","space-around","space-evenly"];function C_(n,e){return Ky.reduce((r,S)=>{const D=n+sf(S);return r[D]=e(),r},{})}const uU=[...S_,"baseline","stretch"],uS=n=>uU.includes(n),cS=C_("align",()=>({type:String,default:null,validator:uS})),cU=[...S_,...lS],hS=n=>cU.includes(n),fS=C_("justify",()=>({type:String,default:null,validator:hS})),hU=[...S_,...lS,"stretch"],dS=n=>hU.includes(n),pS=C_("alignContent",()=>({type:String,default:null,validator:dS})),uT={align:Object.keys(cS),justify:Object.keys(fS),alignContent:Object.keys(pS)},fU={align:"align",justify:"justify",alignContent:"align-content"};function dU(n,e,r){let S=fU[n];if(r!=null){if(e){const D=e.replace(n,"");S+=`-${D}`}return S+=`-${r}`,S.toLowerCase()}}const pU=ur({dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:uS},...cS,justify:{type:String,default:null,validator:hS},...fS,alignContent:{type:String,default:null,validator:dS},...pS,...Zr(),...Si()},"VRow"),mU=Ar()({name:"VRow",props:pU(),setup(n,e){let{slots:r}=e;const S=cn(()=>{const D=[];let T;for(T in uT)uT[T].forEach(p=>{const t=n[p],d=dU(T,p,t);d&&D.push(d)});return D.push({"v-row--no-gutters":n.noGutters,"v-row--dense":n.dense,[`align-${n.align}`]:n.align,[`justify-${n.justify}`]:n.justify,[`align-content-${n.alignContent}`]:n.alignContent}),D});return()=>{var D;return Xf(n.tag,{class:["v-row",S.value,n.class],style:n.style},(D=r.default)==null?void 0:D.call(r))}}}),gU=Nc("v-spacer","div","VSpacer"),vU=ur({disabled:Boolean,modelValue:{type:Boolean,default:void 0},...EA()},"VHover"),yU=Ar()({name:"VHover",props:vU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const S=xi(n,"modelValue"),{runOpenDelay:D,runCloseDelay:T}=LA(n,p=>!n.disabled&&(S.value=p));return()=>{var p;return(p=r.default)==null?void 0:p.call(r,{isHovering:S.value,props:{onMouseenter:D,onMouseleave:T}})}}});const mS=Symbol.for("vuetify:v-item-group"),bU=ur({...Zr(),...w0({selectedClass:"v-item--selected"}),...Si(),...oa()},"VItemGroup"),xU=Ar()({name:"VItemGroup",props:bU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ma(n),{isSelected:D,select:T,next:p,prev:t,selected:d}=ip(n,mS);return()=>gt(n.tag,{class:["v-item-group",S.value,n.class],style:n.style},{default:()=>{var g;return[(g=r.default)==null?void 0:g.call(r,{isSelected:D,select:T,next:p,prev:t,selected:d.value})]}})}}),_U=Ar()({name:"VItem",props:T0(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const{isSelected:S,select:D,toggle:T,selectedClass:p,value:t,disabled:d}=k0(n,mS);return()=>{var g;return(g=r.default)==null?void 0:g.call(r,{isSelected:S.value,selectedClass:p.value,select:D,toggle:T,value:t.value,disabled:d.value})}}});const wU=Nc("v-kbd");const TU=ur({...Zr(),...z6()},"VLayout"),kU=Ar()({name:"VLayout",props:TU(),setup(n,e){let{slots:r}=e;const{layoutClasses:S,layoutStyles:D,getLayoutItem:T,items:p,layoutRef:t}=F6(n);return Or(()=>{var d;return gt("div",{ref:t,class:[S.value,n.class],style:[D.value,n.style]},[(d=r.default)==null?void 0:d.call(r)])}),{getLayoutItem:T,items:p}}});const MU=ur({position:{type:String,required:!0},size:{type:[Number,String],default:300},modelValue:Boolean,...Zr(),...x0()},"VLayoutItem"),AU=Ar()({name:"VLayoutItem",props:MU(),setup(n,e){let{slots:r}=e;const{layoutItemStyles:S}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:Cr(n,"position"),elementSize:Cr(n,"size"),layoutSize:Cr(n,"size"),active:Cr(n,"modelValue"),absolute:Cr(n,"absolute")});return()=>{var D;return gt("div",{class:["v-layout-item",n.class],style:[S.value,n.style]},[(D=r.default)==null?void 0:D.call(r)])}}}),SU=ur({modelValue:Boolean,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},...Zr(),...sc(),...Si(),...df({transition:"fade-transition"})},"VLazy"),CU=Ar()({name:"VLazy",directives:{intersect:og},props:SU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{dimensionStyles:S}=lc(n),D=xi(n,"modelValue");function T(p){D.value||(D.value=p)}return Or(()=>Co(gt(n.tag,{class:["v-lazy",n.class],style:[S.value,n.style]},{default:()=>[D.value&>(Oc,{transition:n.transition,appear:!0},{default:()=>{var p;return[(p=r.default)==null?void 0:p.call(r)]}})]}),[[Tu("intersect"),{handler:T,options:n.options},null]])),{}}});const EU=ur({locale:String,fallbackLocale:String,messages:Object,rtl:{type:Boolean,default:void 0},...Zr()},"VLocaleProvider"),LU=Ar()({name:"VLocaleProvider",props:EU(),setup(n,e){let{slots:r}=e;const{rtlClasses:S}=NF(n);return Or(()=>{var D;return gt("div",{class:["v-locale-provider",S.value,n.class],style:n.style},[(D=r.default)==null?void 0:D.call(r)])}),{}}});const IU=ur({scrollable:Boolean,...Zr(),...Si({tag:"main"})},"VMain"),RU=Ar()({name:"VMain",props:IU(),setup(n,e){let{slots:r}=e;const{mainStyles:S}=dB(),{ssrBootStyles:D}=tp();return Or(()=>gt(n.tag,{class:["v-main",{"v-main--scrollable":n.scrollable},n.class],style:[S.value,D.value,n.style]},{default:()=>{var T,p;return[n.scrollable?gt("div",{class:"v-main__scroller"},[(T=r.default)==null?void 0:T.call(r)]):(p=r.default)==null?void 0:p.call(r)]}})),{}}});function PU(n){let{rootEl:e,isSticky:r,layoutItemStyles:S}=n;const D=Wr(!1),T=Wr(0),p=cn(()=>{const g=typeof D.value=="boolean"?"top":D.value;return[r.value?{top:"auto",bottom:"auto",height:void 0}:void 0,D.value?{[g]:Qr(T.value)}:{top:S.value.top}]});Ks(()=>{$r(r,g=>{g?window.addEventListener("scroll",d,{passive:!0}):window.removeEventListener("scroll",d)},{immediate:!0})}),kl(()=>{window.removeEventListener("scroll",d)});let t=0;function d(){const g=t>window.scrollY?"up":"down",i=e.value.getBoundingClientRect(),M=parseFloat(S.value.top??0),v=window.scrollY-Math.max(0,T.value-M),f=i.height+Math.max(T.value,M)-window.scrollY-window.innerHeight,l=parseFloat(getComputedStyle(e.value).getPropertyValue("--v-body-scroll-y"))||0;i.height0;r--){if(n[r].t===n[r-1].t)continue;const S=cT(e),D=(n[r].d-n[r-1].d)/(n[r].t-n[r-1].t);e+=(D-S)*Math.abs(D),r===n.length-1&&(e*=.5)}return cT(e)*1e3}function zU(){const n={};function e(D){Array.from(D.changedTouches).forEach(T=>{(n[T.identifier]??(n[T.identifier]=new Yz(DU))).push([D.timeStamp,T])})}function r(D){Array.from(D.changedTouches).forEach(T=>{delete n[T.identifier]})}function S(D){var g;const T=(g=n[D])==null?void 0:g.values().reverse();if(!T)throw new Error(`No samples for touch id ${D}`);const p=T[0],t=[],d=[];for(const i of T){if(p[0]-i[0]>OU)break;t.push({t:i[0],d:i[1].clientX}),d.push({t:i[0],d:i[1].clientY})}return{x:hT(t),y:hT(d),get direction(){const{x:i,y:M}=this,[v,f]=[Math.abs(i),Math.abs(M)];return v>f&&i>=0?"right":v>f&&i<=0?"left":f>v&&M>=0?"down":f>v&&M<=0?"up":FU()}}}return{addMovement:e,endTouch:r,getVelocity:S}}function FU(){throw new Error}function BU(n){let{isActive:e,isTemporary:r,width:S,touchless:D,position:T}=n;Ks(()=>{window.addEventListener("touchstart",o,{passive:!0}),window.addEventListener("touchmove",s,{passive:!1}),window.addEventListener("touchend",h,{passive:!0})}),kl(()=>{window.removeEventListener("touchstart",o),window.removeEventListener("touchmove",s),window.removeEventListener("touchend",h)});const p=cn(()=>["left","right"].includes(T.value)),{addMovement:t,endTouch:d,getVelocity:g}=zU();let i=!1;const M=Wr(!1),v=Wr(0),f=Wr(0);let l;function a(m,w){return(T.value==="left"?m:T.value==="right"?document.documentElement.clientWidth-m:T.value==="top"?m:T.value==="bottom"?document.documentElement.clientHeight-m:Lp())-(w?S.value:0)}function u(m){let w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const y=T.value==="left"?(m-f.value)/S.value:T.value==="right"?(document.documentElement.clientWidth-m-f.value)/S.value:T.value==="top"?(m-f.value)/S.value:T.value==="bottom"?(document.documentElement.clientHeight-m-f.value)/S.value:Lp();return w?Math.max(0,Math.min(1,y)):y}function o(m){if(D.value)return;const w=m.changedTouches[0].clientX,y=m.changedTouches[0].clientY,C=25,_=T.value==="left"?wdocument.documentElement.clientWidth-C:T.value==="top"?ydocument.documentElement.clientHeight-C:Lp(),k=e.value&&(T.value==="left"?wdocument.documentElement.clientWidth-S.value:T.value==="top"?ydocument.documentElement.clientHeight-S.value:Lp());(_||k||e.value&&r.value)&&(i=!0,l=[w,y],f.value=a(p.value?w:y,e.value),v.value=u(p.value?w:y),d(m),t(m))}function s(m){const w=m.changedTouches[0].clientX,y=m.changedTouches[0].clientY;if(i){if(!m.cancelable){i=!1;return}const _=Math.abs(w-l[0]),k=Math.abs(y-l[1]);(p.value?_>k&&_>3:k>_&&k>3)?(M.value=!0,i=!1):(p.value?k:_)>3&&(i=!1)}if(!M.value)return;m.preventDefault(),t(m);const C=u(p.value?w:y,!1);v.value=Math.max(0,Math.min(1,C)),C>1?f.value=a(p.value?w:y,!0):C<0&&(f.value=a(p.value?w:y,!1))}function h(m){if(i=!1,!M.value)return;t(m),M.value=!1;const w=g(m.changedTouches[0].identifier),y=Math.abs(w.x),C=Math.abs(w.y);(p.value?y>C&&y>400:C>y&&C>3)?e.value=w.direction===({left:"right",right:"left",top:"down",bottom:"up"}[T.value]||Lp()):e.value=v.value>.5}const c=cn(()=>M.value?{transform:T.value==="left"?`translateX(calc(-100% + ${v.value*S.value}px))`:T.value==="right"?`translateX(calc(100% - ${v.value*S.value}px))`:T.value==="top"?`translateY(calc(-100% + ${v.value*S.value}px))`:T.value==="bottom"?`translateY(calc(100% - ${v.value*S.value}px))`:Lp(),transition:"none"}:void 0);return{isDragging:M,dragProgress:v,dragStyles:c}}function Lp(){throw new Error}const NU=["start","end","left","right","top","bottom"],VU=ur({color:String,disableResizeWatcher:Boolean,disableRouteWatcher:Boolean,expandOnHover:Boolean,floating:Boolean,modelValue:{type:Boolean,default:null},permanent:Boolean,rail:{type:Boolean,default:null},railWidth:{type:[Number,String],default:56},scrim:{type:[Boolean,String],default:!0},image:String,temporary:Boolean,touchless:Boolean,width:{type:[Number,String],default:256},location:{type:String,default:"start",validator:n=>NU.includes(n)},sticky:Boolean,...Su(),...Zr(),...fs(),...x0(),...uo(),...Si({tag:"nav"}),...oa()},"VNavigationDrawer"),jU=Ar()({name:"VNavigationDrawer",props:VU(),emits:{"update:modelValue":n=>!0,"update:rail":n=>!0},setup(n,e){let{attrs:r,emit:S,slots:D}=e;const{isRtl:T}=Cs(),{themeClasses:p}=Ma(n),{borderClasses:t}=uc(n),{backgroundColorClasses:d,backgroundColorStyles:g}=Oo(Cr(n,"color")),{elevationClasses:i}=Vs(n),{mobile:M}=ep(),{roundedClasses:v}=Eo(n),f=$6(),l=xi(n,"modelValue",null,z=>!!z),{ssrBootStyles:a}=tp(),{scopeId:u}=E0(),o=Vr(),s=Wr(!1),h=cn(()=>n.rail&&n.expandOnHover&&s.value?Number(n.width):Number(n.rail?n.railWidth:n.width)),c=cn(()=>ux(n.location,T.value)),m=cn(()=>!n.permanent&&(M.value||n.temporary)),w=cn(()=>n.sticky&&!m.value&&c.value!=="bottom");n.expandOnHover&&n.rail!=null&&$r(s,z=>S("update:rail",!z)),n.disableResizeWatcher||$r(m,z=>!n.permanent&&Ua(()=>l.value=!z)),!n.disableRouteWatcher&&f&&$r(f.currentRoute,()=>m.value&&(l.value=!1)),$r(()=>n.permanent,z=>{z&&(l.value=!0)}),Sy(()=>{n.modelValue!=null||m.value||(l.value=n.permanent||!M.value)});const{isDragging:y,dragProgress:C,dragStyles:_}=BU({isActive:l,isTemporary:m,width:h,touchless:Cr(n,"touchless"),position:c}),k=cn(()=>{const z=m.value?0:n.rail&&n.expandOnHover?Number(n.railWidth):h.value;return y.value?z*C.value:z}),{layoutItemStyles:E,layoutItemScrimStyles:x}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:c,layoutSize:k,elementSize:h,active:cn(()=>l.value||y.value),disableTransitions:cn(()=>y.value),absolute:cn(()=>n.absolute||w.value&&typeof A.value!="string")}),{isStuck:A,stickyStyles:L}=PU({rootEl:o,isSticky:w,layoutItemStyles:E}),b=Oo(cn(()=>typeof n.scrim=="string"?n.scrim:null)),R=cn(()=>({...y.value?{opacity:C.value*.2,transition:"none"}:void 0,...x.value}));es({VList:{bgColor:"transparent"}});function I(){s.value=!0}function O(){s.value=!1}return Or(()=>{const z=D.image||n.image;return gt(Yr,null,[gt(n.tag,qr({ref:o,onMouseenter:I,onMouseleave:O,class:["v-navigation-drawer",`v-navigation-drawer--${c.value}`,{"v-navigation-drawer--expand-on-hover":n.expandOnHover,"v-navigation-drawer--floating":n.floating,"v-navigation-drawer--is-hovering":s.value,"v-navigation-drawer--rail":n.rail,"v-navigation-drawer--temporary":m.value,"v-navigation-drawer--active":l.value,"v-navigation-drawer--sticky":w.value},p.value,d.value,t.value,i.value,v.value,n.class],style:[g.value,E.value,_.value,a.value,L.value,n.style]},u,r),{default:()=>{var F,B,N,W;return[z&>("div",{key:"image",class:"v-navigation-drawer__img"},[D.image?(F=D.image)==null?void 0:F.call(D,{image:n.image}):gt("img",{src:n.image,alt:""},null)]),D.prepend&>("div",{class:"v-navigation-drawer__prepend"},[(B=D.prepend)==null?void 0:B.call(D)]),gt("div",{class:"v-navigation-drawer__content"},[(N=D.default)==null?void 0:N.call(D)]),D.append&>("div",{class:"v-navigation-drawer__append"},[(W=D.append)==null?void 0:W.call(D)])]}}),gt(bh,{name:"fade-transition"},{default:()=>[m.value&&(y.value||l.value)&&!!n.scrim&>("div",qr({class:["v-navigation-drawer__scrim",b.backgroundColorClasses.value],style:[R.value,b.backgroundColorStyles.value],onClick:()=>l.value=!1},u),null)]})])}),{isStuck:A}}}),UU=ac({name:"VNoSsr",setup(n,e){let{slots:r}=e;const S=IA();return()=>{var D;return S.value&&((D=r.default)==null?void 0:D.call(r))}}});function HU(){const n=Vr([]);KT(()=>n.value=[]);function e(r,S){n.value[S]=r}return{refs:n,updateRef:e}}const GU=ur({activeColor:String,start:{type:[Number,String],default:1},modelValue:{type:Number,default:n=>n.start},disabled:Boolean,length:{type:[Number,String],default:1,validator:n=>n%1===0},totalVisible:[Number,String],firstIcon:{type:bi,default:"$first"},prevIcon:{type:bi,default:"$prev"},nextIcon:{type:bi,default:"$next"},lastIcon:{type:bi,default:"$last"},ariaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.root"},pageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.page"},currentPageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.currentPage"},firstAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.first"},previousAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.previous"},nextAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.next"},lastAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.last"},ellipsis:{type:String,default:"..."},showFirstLastPage:Boolean,...Su(),...Zr(),...ds(),...fs(),...uo(),...pf(),...Si({tag:"nav"}),...oa(),...cc({variant:"text"})},"VPagination"),qU=Ar()({name:"VPagination",props:GU(),emits:{"update:modelValue":n=>!0,first:n=>!0,prev:n=>!0,next:n=>!0,last:n=>!0},setup(n,e){let{slots:r,emit:S}=e;const D=xi(n,"modelValue"),{t:T,n:p}=oc(),{isRtl:t}=Cs(),{themeClasses:d}=Ma(n),{width:g}=ep(),i=Wr(-1);es(void 0,{scoped:!0});const{resizeRef:M}=Th(C=>{if(!C.length)return;const{target:_,contentRect:k}=C[0],E=_.querySelector(".v-pagination__list > *");if(!E)return;const x=k.width,A=E.offsetWidth+parseFloat(getComputedStyle(E).marginRight)*2;i.value=a(x,A)}),v=cn(()=>parseInt(n.length,10)),f=cn(()=>parseInt(n.start,10)),l=cn(()=>n.totalVisible?parseInt(n.totalVisible,10):i.value>=0?i.value:a(g.value,58));function a(C,_){const k=n.showFirstLastPage?5:3;return Math.max(0,Math.floor(+((C-_*k)/_).toFixed(2)))}const u=cn(()=>{if(v.value<=0||isNaN(v.value)||v.value>Number.MAX_SAFE_INTEGER)return[];if(l.value<=1)return[D.value];if(v.value<=l.value)return Kh(v.value,f.value);const C=l.value%2===0,_=C?l.value/2:Math.floor(l.value/2),k=C?_:_+1,E=v.value-_;if(k-D.value>=0)return[...Kh(Math.max(1,l.value-1),f.value),n.ellipsis,v.value];if(D.value-E>=(C?1:0)){const x=l.value-1,A=v.value-x+f.value;return[f.value,n.ellipsis,...Kh(x,A)]}else{const x=Math.max(1,l.value-3),A=x===1?D.value:D.value-Math.ceil(x/2)+f.value;return[f.value,n.ellipsis,...Kh(x,A),n.ellipsis,v.value]}});function o(C,_,k){C.preventDefault(),D.value=_,k&&S(k,_)}const{refs:s,updateRef:h}=HU();es({VPaginationBtn:{color:Cr(n,"color"),border:Cr(n,"border"),density:Cr(n,"density"),size:Cr(n,"size"),variant:Cr(n,"variant"),rounded:Cr(n,"rounded"),elevation:Cr(n,"elevation")}});const c=cn(()=>u.value.map((C,_)=>{const k=E=>h(E,_);if(typeof C=="string")return{isActive:!1,key:`ellipsis-${_}`,page:C,props:{ref:k,ellipsis:!0,icon:!0,disabled:!0}};{const E=C===D.value;return{isActive:E,key:C,page:p(C),props:{ref:k,ellipsis:!1,icon:!0,disabled:!!n.disabled||+n.length<2,color:E?n.activeColor:n.color,ariaCurrent:E,ariaLabel:T(E?n.currentPageAriaLabel:n.pageAriaLabel,C),onClick:x=>o(x,C)}}}})),m=cn(()=>{const C=!!n.disabled||D.value<=f.value,_=!!n.disabled||D.value>=f.value+v.value-1;return{first:n.showFirstLastPage?{icon:t.value?n.lastIcon:n.firstIcon,onClick:k=>o(k,f.value,"first"),disabled:C,ariaLabel:T(n.firstAriaLabel),ariaDisabled:C}:void 0,prev:{icon:t.value?n.nextIcon:n.prevIcon,onClick:k=>o(k,D.value-1,"prev"),disabled:C,ariaLabel:T(n.previousAriaLabel),ariaDisabled:C},next:{icon:t.value?n.prevIcon:n.nextIcon,onClick:k=>o(k,D.value+1,"next"),disabled:_,ariaLabel:T(n.nextAriaLabel),ariaDisabled:_},last:n.showFirstLastPage?{icon:t.value?n.firstIcon:n.lastIcon,onClick:k=>o(k,f.value+v.value-1,"last"),disabled:_,ariaLabel:T(n.lastAriaLabel),ariaDisabled:_}:void 0}});function w(){var _;const C=D.value-f.value;(_=s.value[C])==null||_.$el.focus()}function y(C){C.key===sx.left&&!n.disabled&&D.value>+n.start?(D.value=D.value-1,Ua(w)):C.key===sx.right&&!n.disabled&&D.valuegt(n.tag,{ref:M,class:["v-pagination",d.value,n.class],style:n.style,role:"navigation","aria-label":T(n.ariaLabel),onKeydown:y,"data-test":"v-pagination-root"},{default:()=>[gt("ul",{class:"v-pagination__list"},[n.showFirstLastPage&>("li",{key:"first",class:"v-pagination__first","data-test":"v-pagination-first"},[r.first?r.first(m.value.first):gt(wl,qr({_as:"VPaginationBtn"},m.value.first),null)]),gt("li",{key:"prev",class:"v-pagination__prev","data-test":"v-pagination-prev"},[r.prev?r.prev(m.value.prev):gt(wl,qr({_as:"VPaginationBtn"},m.value.prev),null)]),c.value.map((C,_)=>gt("li",{key:C.key,class:["v-pagination__item",{"v-pagination__item--is-active":C.isActive}],"data-test":"v-pagination-item"},[r.item?r.item(C):gt(wl,qr({_as:"VPaginationBtn"},C.props),{default:()=>[C.page]})])),gt("li",{key:"next",class:"v-pagination__next","data-test":"v-pagination-next"},[r.next?r.next(m.value.next):gt(wl,qr({_as:"VPaginationBtn"},m.value.next),null)]),n.showFirstLastPage&>("li",{key:"last",class:"v-pagination__last","data-test":"v-pagination-last"},[r.last?r.last(m.value.last):gt(wl,qr({_as:"VPaginationBtn"},m.value.last),null)])])]})),{}}});function WU(n){return Math.floor(Math.abs(n))*Math.sign(n)}const YU=ur({scale:{type:[Number,String],default:.5},...Zr()},"VParallax"),$U=Ar()({name:"VParallax",props:YU(),setup(n,e){let{slots:r}=e;const{intersectionRef:S,isIntersecting:D}=f_(),{resizeRef:T,contentRect:p}=Th(),{height:t}=ep(),d=Vr();wu(()=>{var f;S.value=T.value=(f=d.value)==null?void 0:f.$el});let g;$r(D,f=>{f?(g=t_(S.value),g=g===document.scrollingElement?document:g,g.addEventListener("scroll",v,{passive:!0}),v()):g.removeEventListener("scroll",v)}),kl(()=>{g==null||g.removeEventListener("scroll",v)}),$r(t,v),$r(()=>{var f;return(f=p.value)==null?void 0:f.height},v);const i=cn(()=>1-Zs(+n.scale));let M=-1;function v(){D.value&&(cancelAnimationFrame(M),M=requestAnimationFrame(()=>{var m;const f=((m=d.value)==null?void 0:m.$el).querySelector(".v-img__img");if(!f)return;const l=g instanceof Document?document.documentElement.clientHeight:g.clientHeight,a=g instanceof Document?window.scrollY:g.scrollTop,u=S.value.getBoundingClientRect().top+a,o=p.value.height,s=u+(o-l)/2,h=WU((a-s)*i.value),c=Math.max(1,(i.value*(l-o)+o)/o);f.style.setProperty("transform",`translateY(${h}px) scale(${c})`)}))}return Or(()=>gt(Zd,{class:["v-parallax",{"v-parallax--active":D.value},n.class],style:n.style,ref:d,cover:!0,onLoadstart:v,onLoad:v},r)),{}}}),ZU=ur({...n1({falseIcon:"$radioOff",trueIcon:"$radioOn"})},"VRadio"),XU=Ar()({name:"VRadio",props:ZU(),setup(n,e){let{slots:r}=e;return Or(()=>gt(Xd,qr(n,{class:["v-radio",n.class],style:n.style,type:"radio"}),r)),{}}});const KU=ur({height:{type:[Number,String],default:"auto"},...mf(),...ic(y_(),["multiple"]),trueIcon:{type:bi,default:"$radioOn"},falseIcon:{type:bi,default:"$radioOff"},type:{type:String,default:"radio"}},"VRadioGroup"),JU=Ar()({name:"VRadioGroup",inheritAttrs:!1,props:KU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{attrs:r,slots:S}=e;const D=Js(),T=cn(()=>n.id||`radio-group-${D}`),p=xi(n,"modelValue");return Or(()=>{const[t,d]=Qd(r),[g,i]=Bs.filterProps(n),[M,v]=Xd.filterProps(n),f=S.label?S.label({label:n.label,props:{for:T.value}}):n.label;return gt(Bs,qr({class:["v-radio-group",n.class],style:n.style},t,g,{modelValue:p.value,"onUpdate:modelValue":l=>p.value=l,id:T.value}),{...S,default:l=>{let{id:a,messagesId:u,isDisabled:o,isReadonly:s}=l;return gt(Yr,null,[f&>(C0,{id:a.value},{default:()=>[f]}),gt(aA,qr(M,{id:a.value,"aria-describedby":u.value,defaultsTarget:"VRadio",trueIcon:n.trueIcon,falseIcon:n.falseIcon,type:n.type,disabled:o.value,readonly:s.value,"aria-labelledby":f?a.value:void 0,multiple:!1},d,{modelValue:p.value,"onUpdate:modelValue":h=>p.value=h}),S)])}})}),{}}}),QU=ur({...r1(),...mf(),...KA(),strict:Boolean,modelValue:{type:Array,default:()=>[0,0]}},"VRangeSlider"),eH=Ar()({name:"VRangeSlider",props:QU(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,end:n=>!0,start:n=>!0},setup(n,e){let{slots:r,emit:S}=e;const D=Vr(),T=Vr(),p=Vr(),{rtlClasses:t}=Cs();function d(_){if(!D.value||!T.value)return;const k=Ix(_,D.value.$el,n.direction),E=Ix(_,T.value.$el,n.direction),x=Math.abs(k),A=Math.abs(E);return x_!=null&&_.length?_.map(k=>g.roundValue(k)):[0,0]),{activeThumbRef:M,hasLabels:v,max:f,min:l,mousePressed:a,onSliderMousedown:u,onSliderTouchstart:o,position:s,trackContainerRef:h}=QA({props:n,steps:g,onSliderStart:()=>{S("start",i.value)},onSliderEnd:_=>{var x;let{value:k}=_;const E=M.value===((x=D.value)==null?void 0:x.$el)?[k,i.value[1]]:[i.value[0],k];!n.strict&&E[0]{var A,L,b,R;let{value:k}=_;const[E,x]=i.value;!n.strict&&E===x&&E!==l.value&&(M.value=k>E?(A=T.value)==null?void 0:A.$el:(L=D.value)==null?void 0:L.$el,(b=M.value)==null||b.focus()),M.value===((R=D.value)==null?void 0:R.$el)?i.value=[Math.min(k,x),x]:i.value=[E,Math.max(E,k)]},getActiveThumb:d}),{isFocused:c,focus:m,blur:w}=rd(n),y=cn(()=>s(i.value[0])),C=cn(()=>s(i.value[1]));return Or(()=>{const[_,k]=Bs.filterProps(n),E=!!(n.label||r.label||r.prepend);return gt(Bs,qr({class:["v-slider","v-range-slider",{"v-slider--has-labels":!!r["tick-label"]||v.value,"v-slider--focused":c.value,"v-slider--pressed":a.value,"v-slider--disabled":n.disabled},t.value,n.class],style:n.style,ref:p},_,{focused:c.value}),{...r,prepend:E?x=>{var A,L;return gt(Yr,null,[((A=r.label)==null?void 0:A.call(r,x))??n.label?gt(C0,{class:"v-slider__label",text:n.label},null):void 0,(L=r.prepend)==null?void 0:L.call(r,x)])}:void 0,default:x=>{var b,R;let{id:A,messagesId:L}=x;return gt("div",{class:"v-slider__container",onMousedown:u,onTouchstartPassive:o},[gt("input",{id:`${A.value}_start`,name:n.name||A.value,disabled:!!n.disabled,readonly:!!n.readonly,tabindex:"-1",value:i.value[0]},null),gt("input",{id:`${A.value}_stop`,name:n.name||A.value,disabled:!!n.disabled,readonly:!!n.readonly,tabindex:"-1",value:i.value[1]},null),gt(eS,{ref:h,start:y.value,stop:C.value},{"tick-label":r["tick-label"]}),gt(Rx,{ref:D,"aria-describedby":L.value,focused:c&&M.value===((b=D.value)==null?void 0:b.$el),modelValue:i.value[0],"onUpdate:modelValue":I=>i.value=[I,i.value[1]],onFocus:I=>{var O,z,F,B;m(),M.value=(O=D.value)==null?void 0:O.$el,i.value[0]===i.value[1]&&i.value[1]===l.value&&I.relatedTarget!==((z=T.value)==null?void 0:z.$el)&&((F=D.value)==null||F.$el.blur(),(B=T.value)==null||B.$el.focus())},onBlur:()=>{w(),M.value=void 0},min:l.value,max:i.value[1],position:y.value},{"thumb-label":r["thumb-label"]}),gt(Rx,{ref:T,"aria-describedby":L.value,focused:c&&M.value===((R=T.value)==null?void 0:R.$el),modelValue:i.value[1],"onUpdate:modelValue":I=>i.value=[i.value[0],I],onFocus:I=>{var O,z,F,B;m(),M.value=(O=T.value)==null?void 0:O.$el,i.value[0]===i.value[1]&&i.value[0]===f.value&&I.relatedTarget!==((z=D.value)==null?void 0:z.$el)&&((F=T.value)==null||F.$el.blur(),(B=D.value)==null||B.$el.focus())},onBlur:()=>{w(),M.value=void 0},min:i.value[0],max:f.value,position:C.value},{"thumb-label":r["thumb-label"]})])}})}),{}}});const tH=ur({name:String,itemAriaLabel:{type:String,default:"$vuetify.rating.ariaLabel.item"},activeColor:String,color:String,clearable:Boolean,disabled:Boolean,emptyIcon:{type:bi,default:"$ratingEmpty"},fullIcon:{type:bi,default:"$ratingFull"},halfIncrements:Boolean,hover:Boolean,length:{type:[Number,String],default:5},readonly:Boolean,modelValue:{type:[Number,String],default:0},itemLabels:Array,itemLabelPosition:{type:String,default:"top",validator:n=>["top","bottom"].includes(n)},ripple:Boolean,...Zr(),...ds(),...pf(),...Si(),...oa()},"VRating"),nH=Ar()({name:"VRating",props:tH(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{t:S}=oc(),{themeClasses:D}=Ma(n),T=xi(n,"modelValue"),p=cn(()=>Zs(parseFloat(T.value),0,+n.length)),t=cn(()=>Kh(Number(n.length),1)),d=cn(()=>t.value.flatMap(a=>n.halfIncrements?[a-.5,a]:[a])),g=Wr(-1),i=cn(()=>d.value.map(a=>{const u=n.hover&&g.value>-1,o=p.value>=a,s=g.value>=a,c=(u?s:o)?n.fullIcon:n.emptyIcon,m=n.activeColor??n.color,w=o||s?m:n.color;return{isFilled:o,isHovered:s,icon:c,color:w}})),M=cn(()=>[0,...d.value].map(a=>{function u(){g.value=a}function o(){g.value=-1}function s(){n.disabled||n.readonly||(T.value=p.value===a&&n.clearable?0:a)}return{onMouseenter:n.hover?u:void 0,onMouseleave:n.hover?o:void 0,onClick:s}})),v=cn(()=>n.name??`v-rating-${Js()}`);function f(a){var C,_;let{value:u,index:o,showStar:s=!0}=a;const{onMouseenter:h,onMouseleave:c,onClick:m}=M.value[o+1],w=`${v.value}-${String(u).replace(".","-")}`,y={color:(C=i.value[o])==null?void 0:C.color,density:n.density,disabled:n.disabled,icon:(_=i.value[o])==null?void 0:_.icon,ripple:n.ripple,size:n.size,variant:"plain"};return gt(Yr,null,[gt("label",{for:w,class:{"v-rating__item--half":n.halfIncrements&&u%1>0,"v-rating__item--full":n.halfIncrements&&u%1===0},onMouseenter:h,onMouseleave:c,onClick:m},[gt("span",{class:"v-rating__hidden"},[S(n.itemAriaLabel,u,n.length)]),s?r.item?r.item({...i.value[o],props:y,value:u,index:o,rating:p.value}):gt(wl,qr({"aria-label":S(n.itemAriaLabel,u,n.length)},y),null):void 0]),gt("input",{class:"v-rating__hidden",name:v.value,id:w,type:"radio",value:u,checked:p.value===u,tabindex:-1,readonly:n.readonly,disabled:n.disabled},null)])}function l(a){return r["item-label"]?r["item-label"](a):a.label?gt("span",null,[a.label]):gt("span",null,[ia(" ")])}return Or(()=>{var u;const a=!!((u=n.itemLabels)!=null&&u.length)||r["item-label"];return gt(n.tag,{class:["v-rating",{"v-rating--hover":n.hover,"v-rating--readonly":n.readonly},D.value,n.class],style:n.style},{default:()=>[gt(f,{value:0,index:-1,showStar:!1},null),t.value.map((o,s)=>{var h,c;return gt("div",{class:"v-rating__wrapper"},[a&&n.itemLabelPosition==="top"?l({value:o,index:s,label:(h=n.itemLabels)==null?void 0:h[s]}):void 0,gt("div",{class:"v-rating__item"},[n.halfIncrements?gt(Yr,null,[gt(f,{value:o-.5,index:s*2},null),gt(f,{value:o,index:s*2+1},null)]):gt(f,{value:o,index:s},null)]),a&&n.itemLabelPosition==="bottom"?l({value:o,index:s,label:(c=n.itemLabels)==null?void 0:c[s]}):void 0])})]})}),{}}});function fT(n){const r=Math.abs(n);return Math.sign(n)*(r/((1/.501-2)*(1-r)+1))}function dT(n){let{selectedElement:e,containerSize:r,contentSize:S,isRtl:D,currentScrollOffset:T,isHorizontal:p}=n;const t=p?e.clientWidth:e.clientHeight,d=p?e.offsetLeft:e.offsetTop,g=D&&p?S-d-t:d,i=r+T,M=t+g,v=t*.4;return g<=T?T=Math.max(g-v,0):i<=M&&(T=Math.min(T-(i-M-v),S-r)),T}function rH(n){let{selectedElement:e,containerSize:r,contentSize:S,isRtl:D,isHorizontal:T}=n;const p=T?e.clientWidth:e.clientHeight,t=T?e.offsetLeft:e.offsetTop,d=D&&T?S-t-p/2-r/2:t+p/2-r/2;return Math.min(S-r,Math.max(0,d))}const gS=Symbol.for("vuetify:v-slide-group"),vS=ur({centerActive:Boolean,direction:{type:String,default:"horizontal"},symbol:{type:null,default:gS},nextIcon:{type:bi,default:"$next"},prevIcon:{type:bi,default:"$prev"},showArrows:{type:[Boolean,String],validator:n=>typeof n=="boolean"||["always","desktop","mobile"].includes(n)},...Zr(),...Si(),...w0({selectedClass:"v-slide-group-item--active"})},"VSlideGroup"),Dx=Ar()({name:"VSlideGroup",props:vS(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{isRtl:S}=Cs(),{mobile:D}=ep(),T=ip(n,n.symbol),p=Wr(!1),t=Wr(0),d=Wr(0),g=Wr(0),i=cn(()=>n.direction==="horizontal"),{resizeRef:M,contentRect:v}=Th(),{resizeRef:f,contentRect:l}=Th(),a=cn(()=>T.selected.value.length?T.items.value.findIndex(F=>F.id===T.selected.value[0]):-1),u=cn(()=>T.selected.value.length?T.items.value.findIndex(F=>F.id===T.selected.value[T.selected.value.length-1]):-1);if(to){let F=-1;$r(()=>[T.selected.value,v.value,l.value,i.value],()=>{cancelAnimationFrame(F),F=requestAnimationFrame(()=>{if(v.value&&l.value){const B=i.value?"width":"height";d.value=v.value[B],g.value=l.value[B],p.value=d.value+1=0&&f.value){const B=f.value.children[u.value];a.value===0||!p.value?t.value=0:n.centerActive?t.value=rH({selectedElement:B,containerSize:d.value,contentSize:g.value,isRtl:S.value,isHorizontal:i.value}):p.value&&(t.value=dT({selectedElement:B,containerSize:d.value,contentSize:g.value,isRtl:S.value,currentScrollOffset:t.value,isHorizontal:i.value}))}})})}const o=Wr(!1);let s=0,h=0;function c(F){const B=i.value?"clientX":"clientY";h=(S.value&&i.value?-1:1)*t.value,s=F.touches[0][B],o.value=!0}function m(F){if(!p.value)return;const B=i.value?"clientX":"clientY",N=S.value&&i.value?-1:1;t.value=N*(h+s-F.touches[0][B])}function w(F){const B=g.value-d.value;t.value<0||!p.value?t.value=0:t.value>=B&&(t.value=B),o.value=!1}function y(){M.value&&(M.value[i.value?"scrollLeft":"scrollTop"]=0)}const C=Wr(!1);function _(F){if(C.value=!0,!(!p.value||!f.value)){for(const B of F.composedPath())for(const N of f.value.children)if(N===B){t.value=dT({selectedElement:N,containerSize:d.value,contentSize:g.value,isRtl:S.value,currentScrollOffset:t.value,isHorizontal:i.value});return}}}function k(F){C.value=!1}function E(F){var B;!C.value&&!(F.relatedTarget&&((B=f.value)!=null&&B.contains(F.relatedTarget)))&&A()}function x(F){f.value&&(i.value?F.key==="ArrowRight"?A(S.value?"prev":"next"):F.key==="ArrowLeft"&&A(S.value?"next":"prev"):F.key==="ArrowDown"?A("next"):F.key==="ArrowUp"&&A("prev"),F.key==="Home"?A("first"):F.key==="End"&&A("last"))}function A(F){var B,N,W,j,$;if(f.value)if(!F)(B=Dm(f.value)[0])==null||B.focus();else if(F==="next"){const U=(N=f.value.querySelector(":focus"))==null?void 0:N.nextElementSibling;U?U.focus():A("first")}else if(F==="prev"){const U=(W=f.value.querySelector(":focus"))==null?void 0:W.previousElementSibling;U?U.focus():A("last")}else F==="first"?(j=f.value.firstElementChild)==null||j.focus():F==="last"&&(($=f.value.lastElementChild)==null||$.focus())}function L(F){const B=t.value+(F==="prev"?-1:1)*d.value;t.value=Zs(B,0,g.value-d.value)}const b=cn(()=>{let F=t.value>g.value-d.value?-(g.value-d.value)+fT(g.value-d.value-t.value):-t.value;t.value<=0&&(F=fT(-t.value));const B=S.value&&i.value?-1:1;return{transform:`translate${i.value?"X":"Y"}(${B*F}px)`,transition:o.value?"none":"",willChange:o.value?"transform":""}}),R=cn(()=>({next:T.next,prev:T.prev,select:T.select,isSelected:T.isSelected})),I=cn(()=>{switch(n.showArrows){case"always":return!0;case"desktop":return!D.value;case!0:return p.value||Math.abs(t.value)>0;case"mobile":return D.value||p.value||Math.abs(t.value)>0;default:return!D.value&&(p.value||Math.abs(t.value)>0)}}),O=cn(()=>Math.abs(t.value)>0),z=cn(()=>g.value>Math.abs(t.value)+d.value);return Or(()=>gt(n.tag,{class:["v-slide-group",{"v-slide-group--vertical":!i.value,"v-slide-group--has-affixes":I.value,"v-slide-group--is-overflowing":p.value},n.class],style:n.style,tabindex:C.value||T.selected.value.length?-1:0,onFocus:E},{default:()=>{var F,B,N;return[I.value&>("div",{key:"prev",class:["v-slide-group__prev",{"v-slide-group__prev--disabled":!O.value}],onClick:()=>L("prev")},[((F=r.prev)==null?void 0:F.call(r,R.value))??gt(gx,null,{default:()=>[gt(ja,{icon:S.value?n.nextIcon:n.prevIcon},null)]})]),gt("div",{key:"container",ref:M,class:"v-slide-group__container",onScroll:y},[gt("div",{ref:f,class:"v-slide-group__content",style:b.value,onTouchstartPassive:c,onTouchmovePassive:m,onTouchendPassive:w,onFocusin:_,onFocusout:k,onKeydown:x},[(B=r.default)==null?void 0:B.call(r,R.value)])]),I.value&>("div",{key:"next",class:["v-slide-group__next",{"v-slide-group__next--disabled":!z.value}],onClick:()=>L("next")},[((N=r.next)==null?void 0:N.call(r,R.value))??gt(gx,null,{default:()=>[gt(ja,{icon:S.value?n.prevIcon:n.nextIcon},null)]})])]}})),{selected:T.selected,scrollTo:L,scrollOffset:t,focus:A}}}),iH=Ar()({name:"VSlideGroupItem",props:T0(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const S=k0(n,gS);return()=>{var D;return(D=r.default)==null?void 0:D.call(r,{isSelected:S.isSelected.value,select:S.select,toggle:S.toggle,selectedClass:S.selectedClass.value})}}});const aH=ur({multiLine:Boolean,timeout:{type:[Number,String],default:5e3},vertical:Boolean,...ed({location:"bottom"}),...A0(),...uo(),...cc(),...oa(),...ic(cg({transition:"v-snackbar-transition"}),["persistent","noClickAnimation","scrim","scrollStrategy"])},"VSnackbar"),oH=Ar()({name:"VSnackbar",props:aH(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const S=xi(n,"modelValue"),{locationStyles:D}=td(n),{positionClasses:T}=S0(n),{scopeId:p}=E0(),{themeClasses:t}=Ma(n),{colorClasses:d,colorStyles:g,variantClasses:i}=rp(n),{roundedClasses:M}=Eo(n),v=Vr();$r(S,l),$r(()=>n.timeout,l),Ks(()=>{S.value&&l()});let f=-1;function l(){window.clearTimeout(f);const u=Number(n.timeout);!S.value||u===-1||(f=window.setTimeout(()=>{S.value=!1},u))}function a(){window.clearTimeout(f)}return Or(()=>{const[u]=of.filterProps(n);return gt(of,qr({ref:v,class:["v-snackbar",{"v-snackbar--active":S.value,"v-snackbar--multi-line":n.multiLine&&!n.vertical,"v-snackbar--vertical":n.vertical},T.value,n.class],style:n.style},u,{modelValue:S.value,"onUpdate:modelValue":o=>S.value=o,contentProps:qr({class:["v-snackbar__wrapper",t.value,d.value,M.value,i.value],style:[D.value,g.value],onPointerenter:a,onPointerleave:l},u.contentProps),persistent:!0,noClickAnimation:!0,scrim:!1,scrollStrategy:"none",_disableGlobalStack:!0},p),{default:()=>[np(!1,"v-snackbar"),r.default&>("div",{class:"v-snackbar__content",role:"status","aria-live":"polite"},[r.default()]),r.actions&>(Fa,{defaults:{VBtn:{variant:"text",ripple:!1}}},{default:()=>[gt("div",{class:"v-snackbar__actions"},[r.actions()])]})],activator:r.activator})}),Vc({},v)}});const sH=ur({indeterminate:Boolean,inset:Boolean,flat:Boolean,loading:{type:[Boolean,String],default:!1},...mf(),...n1()},"VSwitch"),lH=Ar()({name:"VSwitch",inheritAttrs:!1,props:sH(),emits:{"update:focused":n=>!0,"update:modelValue":()=>!0,"update:indeterminate":n=>!0},setup(n,e){let{attrs:r,slots:S}=e;const D=xi(n,"indeterminate"),T=xi(n,"modelValue"),{loaderClasses:p}=t1(n),{isFocused:t,focus:d,blur:g}=rd(n),i=Vr(),M=cn(()=>typeof n.loading=="string"&&n.loading!==""?n.loading:n.color),v=Js(),f=cn(()=>n.id||`switch-${v}`);function l(){D.value&&(D.value=!1)}function a(u){var o,s;u.stopPropagation(),u.preventDefault(),(s=(o=i.value)==null?void 0:o.input)==null||s.click()}return Or(()=>{const[u,o]=Qd(r),[s,h]=Bs.filterProps(n),[c,m]=Xd.filterProps(n);return gt(Bs,qr({class:["v-switch",{"v-switch--inset":n.inset},{"v-switch--indeterminate":D.value},p.value,n.class],style:n.style},u,s,{id:f.value,focused:t.value}),{...S,default:w=>{let{id:y,messagesId:C,isDisabled:_,isReadonly:k,isValid:E}=w;return gt(Xd,qr({ref:i},c,{modelValue:T.value,"onUpdate:modelValue":[x=>T.value=x,l],id:y.value,"aria-describedby":C.value,type:"checkbox","aria-checked":D.value?"mixed":void 0,disabled:_.value,readonly:k.value,onFocus:d,onBlur:g},o),{...S,default:x=>{let{backgroundColorClasses:A,backgroundColorStyles:L}=x;return gt("div",{class:["v-switch__track",...A.value],style:L.value,onClick:a},null)},input:x=>{let{inputNode:A,icon:L,backgroundColorClasses:b,backgroundColorStyles:R}=x;return gt(Yr,null,[A,gt("div",{class:["v-switch__thumb",{"v-switch__thumb--filled":L||n.loading},n.inset?void 0:b.value],style:n.inset?void 0:R.value},[gt(s_,null,{default:()=>[n.loading?gt(g_,{name:"v-switch",active:!0,color:E.value===!1?void 0:M.value},{default:I=>S.loader?S.loader(I):gt(d_,{active:I.isActive,color:I.color,indeterminate:!0,size:"16",width:"2"},null)}):L&>(ja,{key:L,icon:L,size:"x-small"},null)]})])])}})}})}),{}}});const uH=ur({color:String,height:[Number,String],window:Boolean,...Zr(),...fs(),...x0(),...uo(),...Si(),...oa()},"VSystemBar"),cH=Ar()({name:"VSystemBar",props:uH(),setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ma(n),{backgroundColorClasses:D,backgroundColorStyles:T}=Oo(Cr(n,"color")),{elevationClasses:p}=Vs(n),{roundedClasses:t}=Eo(n),{ssrBootStyles:d}=tp(),g=cn(()=>n.height??(n.window?32:24)),{layoutItemStyles:i}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:Wr("top"),layoutSize:g,elementSize:g,active:cn(()=>!0),absolute:Cr(n,"absolute")});return Or(()=>gt(n.tag,{class:["v-system-bar",{"v-system-bar--window":n.window},S.value,D.value,p.value,t.value,n.class],style:[T.value,i.value,d.value,n.style]},r)),{}}});const yS=Symbol.for("vuetify:v-tabs"),hH=ur({fixed:Boolean,sliderColor:String,hideSlider:Boolean,direction:{type:String,default:"horizontal"},...ic(v_({selectedClass:"v-tab--selected",variant:"text"}),["active","block","flat","location","position","symbol"])},"VTab"),bS=Ar()({name:"VTab",props:hH(),setup(n,e){let{slots:r,attrs:S}=e;const{textColorClasses:D,textColorStyles:T}=Xs(n,"sliderColor"),p=cn(()=>n.direction==="horizontal"),t=Wr(!1),d=Vr(),g=Vr();function i(M){var f,l;let{value:v}=M;if(t.value=v,v){const a=(l=(f=d.value)==null?void 0:f.$el.parentElement)==null?void 0:l.querySelector(".v-tab--selected .v-tab__slider"),u=g.value;if(!a||!u)return;const o=getComputedStyle(a).color,s=a.getBoundingClientRect(),h=u.getBoundingClientRect(),c=p.value?"x":"y",m=p.value?"X":"Y",w=p.value?"right":"bottom",y=p.value?"width":"height",C=s[c],_=h[c],k=C>_?s[w]-h[w]:s[c]-h[c],E=Math.sign(k)>0?p.value?"right":"bottom":Math.sign(k)<0?p.value?"left":"top":"center",A=(Math.abs(k)+(Math.sign(k)<0?s[y]:h[y]))/Math.max(s[y],h[y])||0,L=s[y]/h[y]||0,b=1.5;Dd(u,{backgroundColor:[o,"currentcolor"],transform:[`translate${m}(${k}px) scale${m}(${L})`,`translate${m}(${k/b}px) scale${m}(${(A-1)/b+1})`,"none"],transformOrigin:Array(3).fill(E)},{duration:225,easing:zm})}}return Or(()=>{const[M]=wl.filterProps(n);return gt(wl,qr({symbol:yS,ref:d,class:["v-tab",n.class],style:n.style,tabindex:t.value?0:-1,role:"tab","aria-selected":String(t.value),active:!1},M,S,{block:n.fixed,maxWidth:n.fixed?300:void 0,"onGroup:selected":i}),{default:()=>{var v;return[((v=r.default)==null?void 0:v.call(r))??n.text,!n.hideSlider&>("div",{ref:g,class:["v-tab__slider",D.value],style:T.value},null)]}})}),{}}});function fH(n){return n?n.map(e=>typeof e=="string"?{title:e,value:e}:e):[]}const dH=ur({alignTabs:{type:String,default:"start"},color:String,fixedTabs:Boolean,items:{type:Array,default:()=>[]},stacked:Boolean,bgColor:String,grow:Boolean,height:{type:[Number,String],default:void 0},hideSlider:Boolean,sliderColor:String,...vS({mandatory:"force"}),...ds(),...Si()},"VTabs"),pH=Ar()({name:"VTabs",props:dH(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const S=xi(n,"modelValue"),D=cn(()=>fH(n.items)),{densityClasses:T}=Qs(n),{backgroundColorClasses:p,backgroundColorStyles:t}=Oo(Cr(n,"bgColor"));return es({VTab:{color:Cr(n,"color"),direction:Cr(n,"direction"),stacked:Cr(n,"stacked"),fixed:Cr(n,"fixedTabs"),sliderColor:Cr(n,"sliderColor"),hideSlider:Cr(n,"hideSlider")}}),Or(()=>{const[d]=Dx.filterProps(n);return gt(Dx,qr(d,{modelValue:S.value,"onUpdate:modelValue":g=>S.value=g,class:["v-tabs",`v-tabs--${n.direction}`,`v-tabs--align-tabs-${n.alignTabs}`,{"v-tabs--fixed-tabs":n.fixedTabs,"v-tabs--grow":n.grow,"v-tabs--stacked":n.stacked},T.value,p.value,n.class],style:[{"--v-tabs-height":Qr(n.height)},t.value,n.style],role:"tablist",symbol:yS}),{default:()=>[r.default?r.default():D.value.map(g=>gt(bS,qr(g,{key:g.title}),null))]})}),{}}});const mH=ur({fixedHeader:Boolean,fixedFooter:Boolean,height:[Number,String],hover:Boolean,...Zr(),...ds(),...Si(),...oa()},"VTable"),gH=Ar()({name:"VTable",props:mH(),setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ma(n),{densityClasses:D}=Qs(n);return Or(()=>gt(n.tag,{class:["v-table",{"v-table--fixed-height":!!n.height,"v-table--fixed-header":n.fixedHeader,"v-table--fixed-footer":n.fixedFooter,"v-table--has-top":!!r.top,"v-table--has-bottom":!!r.bottom,"v-table--hover":n.hover},S.value,D.value,n.class],style:n.style},{default:()=>{var T,p,t;return[(T=r.top)==null?void 0:T.call(r),r.default?gt("div",{class:"v-table__wrapper",style:{height:Qr(n.height)}},[gt("table",null,[r.default()])]):(p=r.wrapper)==null?void 0:p.call(r),(t=r.bottom)==null?void 0:t.call(r)]}})),{}}});const vH=ur({autoGrow:Boolean,autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,noResize:Boolean,rows:{type:[Number,String],default:5,validator:n=>!isNaN(parseFloat(n))},maxRows:{type:[Number,String],validator:n=>!isNaN(parseFloat(n))},suffix:String,modelModifiers:Object,...mf(),...u1()},"VTextarea"),yH=Ar()({name:"VTextarea",directives:{Intersect:og},inheritAttrs:!1,props:vH(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:S,slots:D}=e;const T=xi(n,"modelValue"),{isFocused:p,focus:t,blur:d}=rd(n),g=cn(()=>typeof n.counterValue=="function"?n.counterValue(T.value):(T.value||"").toString().length),i=cn(()=>{if(r.maxlength)return r.maxlength;if(!(!n.counter||typeof n.counter!="number"&&typeof n.counter!="string"))return n.counter});function M(E,x){var A,L;!n.autofocus||!E||(L=(A=x[0].target)==null?void 0:A.focus)==null||L.call(A)}const v=Vr(),f=Vr(),l=Wr(""),a=Vr(),u=cn(()=>n.persistentPlaceholder||p.value||n.active);function o(){var E;a.value!==document.activeElement&&((E=a.value)==null||E.focus()),p.value||t()}function s(E){o(),S("click:control",E)}function h(E){S("mousedown:control",E)}function c(E){E.stopPropagation(),o(),Ua(()=>{T.value="",K2(n["onClick:clear"],E)})}function m(E){var A;const x=E.target;if(T.value=x.value,(A=n.modelModifiers)!=null&&A.trim){const L=[x.selectionStart,x.selectionEnd];Ua(()=>{x.selectionStart=L[0],x.selectionEnd=L[1]})}}const w=Vr(),y=Vr(+n.rows),C=cn(()=>["plain","underlined"].includes(n.variant));wu(()=>{n.autoGrow||(y.value=+n.rows)});function _(){n.autoGrow&&Ua(()=>{if(!w.value||!f.value)return;const E=getComputedStyle(w.value),x=getComputedStyle(f.value.$el),A=parseFloat(E.getPropertyValue("--v-field-padding-top"))+parseFloat(E.getPropertyValue("--v-input-padding-top"))+parseFloat(E.getPropertyValue("--v-field-padding-bottom")),L=w.value.scrollHeight,b=parseFloat(E.lineHeight),R=Math.max(parseFloat(n.rows)*b+A,parseFloat(x.getPropertyValue("--v-input-control-height"))),I=parseFloat(n.maxRows)*b+A||1/0,O=Zs(L??0,R,I);y.value=Math.floor((O-A)/b),l.value=Qr(O)})}Ks(_),$r(T,_),$r(()=>n.rows,_),$r(()=>n.maxRows,_),$r(()=>n.density,_);let k;return $r(w,E=>{E?(k=new ResizeObserver(_),k.observe(w.value)):k==null||k.disconnect()}),kl(()=>{k==null||k.disconnect()}),Or(()=>{const E=!!(D.counter||n.counter||n.counterValue),x=!!(E||D.details),[A,L]=Qd(r),[{modelValue:b,...R}]=Bs.filterProps(n),[I]=w_(n);return gt(Bs,qr({ref:v,modelValue:T.value,"onUpdate:modelValue":O=>T.value=O,class:["v-textarea v-text-field",{"v-textarea--prefixed":n.prefix,"v-textarea--suffixed":n.suffix,"v-text-field--prefixed":n.prefix,"v-text-field--suffixed":n.suffix,"v-textarea--auto-grow":n.autoGrow,"v-textarea--no-resize":n.noResize||n.autoGrow,"v-text-field--plain-underlined":C.value},n.class],style:n.style},A,R,{centerAffix:y.value===1&&!C.value,focused:p.value}),{...D,default:O=>{let{isDisabled:z,isDirty:F,isReadonly:B,isValid:N}=O;return gt(hg,qr({ref:f,style:{"--v-textarea-control-height":l.value},onClick:s,onMousedown:h,"onClick:clear":c,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"]},I,{active:u.value||F.value,centerAffix:y.value===1&&!C.value,dirty:F.value||n.dirty,disabled:z.value,focused:p.value,error:N.value===!1}),{...D,default:W=>{let{props:{class:j,...$}}=W;return gt(Yr,null,[n.prefix&>("span",{class:"v-text-field__prefix"},[n.prefix]),Co(gt("textarea",qr({ref:a,class:j,value:T.value,onInput:m,autofocus:n.autofocus,readonly:B.value,disabled:z.value,placeholder:n.placeholder,rows:n.rows,name:n.name,onFocus:o,onBlur:d},$,L),null),[[Tu("intersect"),{handler:M},null,{once:!0}]]),n.autoGrow&&Co(gt("textarea",{class:[j,"v-textarea__sizer"],id:`${$.id}-sizer`,"onUpdate:modelValue":U=>T.value=U,ref:w,readonly:!0,"aria-hidden":"true"},null),[[S7,T.value]]),n.suffix&>("span",{class:"v-text-field__suffix"},[n.suffix])])}})},details:x?O=>{var z;return gt(Yr,null,[(z=D.details)==null?void 0:z.call(D,O),E&>(Yr,null,[gt("span",null,null),gt(l1,{active:n.persistentCounter||p.value,value:g.value,max:i.value},D.counter)])])}:void 0})}),Vc({},v,f,a)}});const bH=ur({withBackground:Boolean,...Zr(),...oa(),...Si()},"VThemeProvider"),xH=Ar()({name:"VThemeProvider",props:bH(),setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ma(n);return()=>{var D;return n.withBackground?gt(n.tag,{class:["v-theme-provider",S.value,n.class],style:n.style},{default:()=>{var T;return[(T=r.default)==null?void 0:T.call(r)]}}):(D=r.default)==null?void 0:D.call(r)}}});const _H=ur({align:{type:String,default:"center",validator:n=>["center","start"].includes(n)},direction:{type:String,default:"vertical",validator:n=>["vertical","horizontal"].includes(n)},justify:{type:String,default:"auto",validator:n=>["auto","center"].includes(n)},side:{type:String,validator:n=>n==null||["start","end"].includes(n)},lineInset:{type:[String,Number],default:0},lineThickness:{type:[String,Number],default:2},lineColor:String,truncateLine:{type:String,validator:n=>["start","end","both"].includes(n)},...Zr(),...ds(),...Si(),...oa()},"VTimeline"),wH=Ar()({name:"VTimeline",props:_H(),setup(n,e){let{slots:r}=e;const{themeClasses:S}=Ma(n),{densityClasses:D}=Qs(n),{rtlClasses:T}=Cs();es({VTimelineDivider:{lineColor:Cr(n,"lineColor")},VTimelineItem:{density:Cr(n,"density"),lineInset:Cr(n,"lineInset")}});const p=cn(()=>{const d=n.side?n.side:n.density!=="default"?"end":null;return d&&`v-timeline--side-${d}`}),t=cn(()=>{const d=["v-timeline--truncate-line-start","v-timeline--truncate-line-end"];switch(n.truncateLine){case"both":return d;case"start":return d[0];case"end":return d[1];default:return null}});return Or(()=>gt(n.tag,{class:["v-timeline",`v-timeline--${n.direction}`,`v-timeline--align-${n.align}`,`v-timeline--justify-${n.justify}`,t.value,{"v-timeline--inset-line":!!n.lineInset},S.value,D.value,p.value,T.value,n.class],style:[{"--v-timeline-line-thickness":Qr(n.lineThickness)},n.style]},r)),{}}}),TH=ur({dotColor:String,fillDot:Boolean,hideDot:Boolean,icon:bi,iconColor:String,lineColor:String,...Zr(),...uo(),...pf(),...fs()},"VTimelineDivider"),kH=Ar()({name:"VTimelineDivider",props:TH(),setup(n,e){let{slots:r}=e;const{sizeClasses:S,sizeStyles:D}=M0(n,"v-timeline-divider__dot"),{backgroundColorStyles:T,backgroundColorClasses:p}=Oo(Cr(n,"dotColor")),{roundedClasses:t}=Eo(n,"v-timeline-divider__dot"),{elevationClasses:d}=Vs(n),{backgroundColorClasses:g,backgroundColorStyles:i}=Oo(Cr(n,"lineColor"));return Or(()=>gt("div",{class:["v-timeline-divider",{"v-timeline-divider--fill-dot":n.fillDot},n.class],style:n.style},[gt("div",{class:["v-timeline-divider__before",g.value],style:i.value},null),!n.hideDot&>("div",{key:"dot",class:["v-timeline-divider__dot",d.value,t.value,S.value],style:D.value},[gt("div",{class:["v-timeline-divider__inner-dot",p.value,t.value],style:T.value},[r.default?gt(Fa,{key:"icon-defaults",disabled:!n.icon,defaults:{VIcon:{color:n.iconColor,icon:n.icon,size:n.size}}},r.default):gt(ja,{key:"icon",color:n.iconColor,icon:n.icon,size:n.size},null)])]),gt("div",{class:["v-timeline-divider__after",g.value],style:i.value},null)])),{}}}),MH=ur({density:String,dotColor:String,fillDot:Boolean,hideDot:Boolean,hideOpposite:{type:Boolean,default:void 0},icon:bi,iconColor:String,lineInset:[Number,String],...Zr(),...sc(),...fs(),...uo(),...pf(),...Si()},"VTimelineItem"),AH=Ar()({name:"VTimelineItem",props:MH(),setup(n,e){let{slots:r}=e;const{dimensionStyles:S}=lc(n),D=Wr(0),T=Vr();return $r(T,p=>{var t;p&&(D.value=((t=p.$el.querySelector(".v-timeline-divider__dot"))==null?void 0:t.getBoundingClientRect().width)??0)},{flush:"post"}),Or(()=>{var p,t;return gt("div",{class:["v-timeline-item",{"v-timeline-item--fill-dot":n.fillDot},n.class],style:[{"--v-timeline-dot-size":Qr(D.value),"--v-timeline-line-inset":n.lineInset?`calc(var(--v-timeline-dot-size) / 2 + ${Qr(n.lineInset)})`:Qr(0)},n.style]},[gt("div",{class:"v-timeline-item__body",style:S.value},[(p=r.default)==null?void 0:p.call(r)]),gt(kH,{ref:T,hideDot:n.hideDot,icon:n.icon,iconColor:n.iconColor,size:n.size,elevation:n.elevation,dotColor:n.dotColor,fillDot:n.fillDot,rounded:n.rounded},{default:r.icon}),n.density!=="compact"&>("div",{class:"v-timeline-item__opposite"},[!n.hideOpposite&&((t=r.opposite)==null?void 0:t.call(r))])])}),{}}}),SH=ur({...Zr(),...cc({variant:"text"})},"VToolbarItems"),CH=Ar()({name:"VToolbarItems",props:SH(),setup(n,e){let{slots:r}=e;return es({VBtn:{color:Cr(n,"color"),height:"inherit",variant:Cr(n,"variant")}}),Or(()=>{var S;return gt("div",{class:["v-toolbar-items",n.class],style:n.style},[(S=r.default)==null?void 0:S.call(r)])}),{}}});const EH=ur({id:String,text:String,...ic(cg({closeOnBack:!1,location:"end",locationStrategy:"connected",eager:!0,minWidth:0,offset:10,openOnClick:!1,openOnHover:!0,origin:"auto",scrim:!1,scrollStrategy:"reposition",transition:!1}),["absolute","persistent"])},"VTooltip"),LH=Ar()({name:"VTooltip",props:EH(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const S=xi(n,"modelValue"),{scopeId:D}=E0(),T=Js(),p=cn(()=>n.id||`v-tooltip-${T}`),t=Vr(),d=cn(()=>n.location.split(" ").length>1?n.location:n.location+" center"),g=cn(()=>n.origin==="auto"||n.origin==="overlap"||n.origin.split(" ").length>1||n.location.split(" ").length>1?n.origin:n.origin+" center"),i=cn(()=>n.transition?n.transition:S.value?"scale-transition":"fade-transition"),M=cn(()=>qr({"aria-describedby":p.value},n.activatorProps));return Or(()=>{const[v]=of.filterProps(n);return gt(of,qr({ref:t,class:["v-tooltip",n.class],style:n.style,id:p.value},v,{modelValue:S.value,"onUpdate:modelValue":f=>S.value=f,transition:i.value,absolute:!0,location:d.value,origin:g.value,persistent:!0,role:"tooltip",activatorProps:M.value,_disableGlobalStack:!0},D),{activator:r.activator,default:function(){var u;for(var f=arguments.length,l=new Array(f),a=0;a!0},setup(n,e){let{slots:r}=e;const S=hA(n,"validation");return()=>{var D;return(D=r.default)==null?void 0:D.call(r,S)}}}),RH=Object.freeze(Object.defineProperty({__proto__:null,VAlert:sN,VAlertTitle:rA,VApp:vB,VAppBar:FB,VAppBarNavIcon:rN,VAppBarTitle:iN,VAutocomplete:MV,VAvatar:Zf,VBadge:SV,VBanner:LV,VBannerActions:FA,VBannerText:BA,VBottomNavigation:RV,VBreadcrumbs:zV,VBreadcrumbsDivider:NA,VBreadcrumbsItem:VA,VBtn:wl,VBtnGroup:bx,VBtnToggle:HB,VCard:NV,VCardActions:jA,VCardItem:GA,VCardSubtitle:UA,VCardText:qA,VCardTitle:HA,VCarousel:$V,VCarouselItem:XV,VCheckbox:mN,VCheckboxBtn:h0,VChip:ug,VChipGroup:yN,VClassIcon:a_,VCode:KV,VCol:lU,VColorPicker:Nj,VCombobox:Uj,VComponentIcon:dx,VContainer:iU,VCounter:l1,VDefaultsProvider:Fa,VDialog:Gj,VDialogBottomTransition:_B,VDialogTopTransition:wB,VDialogTransition:Qy,VDivider:wA,VExpandTransition:e1,VExpandXTransition:u_,VExpansionPanel:Xj,VExpansionPanelText:nS,VExpansionPanelTitle:iS,VExpansionPanels:Yj,VFabTransition:xB,VFadeTransition:gx,VField:hg,VFieldLabel:um,VFileInput:Jj,VFooter:eU,VForm:nU,VHover:yU,VIcon:ja,VImg:Zd,VInput:Bs,VItem:_U,VItemGroup:xU,VKbd:wU,VLabel:C0,VLayout:kU,VLayoutItem:AU,VLazy:CU,VLigatureIcon:LF,VList:a1,VListGroup:Tx,VListImg:BN,VListItem:af,VListItemAction:VN,VListItemMedia:UN,VListItemSubtitle:bA,VListItemTitle:xA,VListSubheader:_A,VLocaleProvider:LU,VMain:RU,VMenu:s1,VMessages:lA,VNavigationDrawer:jU,VNoSsr:UU,VOverlay:of,VPagination:qU,VParallax:$U,VProgressCircular:d_,VProgressLinear:p_,VRadio:XU,VRadioGroup:JU,VRangeSlider:eH,VRating:nH,VResponsive:vx,VRow:mU,VScaleTransition:s_,VScrollXReverseTransition:kB,VScrollXTransition:TB,VScrollYReverseTransition:AB,VScrollYTransition:MB,VSelect:xV,VSelectionControl:Xd,VSelectionControlGroup:aA,VSheet:Ox,VSlideGroup:Dx,VSlideGroupItem:iH,VSlideXReverseTransition:CB,VSlideXTransition:SB,VSlideYReverseTransition:EB,VSlideYTransition:l_,VSlider:Px,VSnackbar:oH,VSpacer:gU,VSvgIcon:i_,VSwitch:lH,VSystemBar:cH,VTab:bS,VTable:gH,VTabs:pH,VTextField:Kd,VTextarea:yH,VThemeProvider:xH,VTimeline:wH,VTimelineItem:AH,VToolbar:yx,VToolbarItems:CH,VToolbarTitle:o_,VTooltip:LH,VValidation:IH,VVirtualScroll:h1,VWindow:Sx,VWindowItem:Cx},Symbol.toStringTag,{value:"Module"}));function PH(n,e){const r=e.modifiers||{},S=e.value,{once:D,immediate:T,...p}=r,t=!Object.keys(p).length,{handler:d,options:g}=typeof S=="object"?S:{handler:S,options:{attributes:(p==null?void 0:p.attr)??t,characterData:(p==null?void 0:p.char)??t,childList:(p==null?void 0:p.child)??t,subtree:(p==null?void 0:p.sub)??t}},i=new MutationObserver(function(){let M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],v=arguments.length>1?arguments[1]:void 0;d==null||d(M,v),D&&xS(n,e)});T&&(d==null||d([],i)),n._mutate=Object(n._mutate),n._mutate[e.instance.$.uid]={observer:i},i.observe(n,g)}function xS(n,e){var r;(r=n._mutate)!=null&&r[e.instance.$.uid]&&(n._mutate[e.instance.$.uid].observer.disconnect(),delete n._mutate[e.instance.$.uid])}const OH={mounted:PH,unmounted:xS};function DH(n,e){var D,T;const r=e.value,S={passive:!((D=e.modifiers)!=null&&D.active)};window.addEventListener("resize",r,S),n._onResize=Object(n._onResize),n._onResize[e.instance.$.uid]={handler:r,options:S},(T=e.modifiers)!=null&&T.quiet||r()}function zH(n,e){var D;if(!((D=n._onResize)!=null&&D[e.instance.$.uid]))return;const{handler:r,options:S}=n._onResize[e.instance.$.uid];window.removeEventListener("resize",r,S),delete n._onResize[e.instance.$.uid]}const FH={mounted:DH,unmounted:zH};function _S(n,e){const{self:r=!1}=e.modifiers??{},S=e.value,D=typeof S=="object"&&S.options||{passive:!0},T=typeof S=="function"||"handleEvent"in S?S:S.handler,p=r?n:e.arg?document.querySelector(e.arg):window;p&&(p.addEventListener("scroll",T,D),n._onScroll=Object(n._onScroll),n._onScroll[e.instance.$.uid]={handler:T,options:D,target:r?void 0:p})}function wS(n,e){var T;if(!((T=n._onScroll)!=null&&T[e.instance.$.uid]))return;const{handler:r,options:S,target:D=n}=n._onScroll[e.instance.$.uid];D.removeEventListener("scroll",r,S),delete n._onScroll[e.instance.$.uid]}function BH(n,e){e.value!==e.oldValue&&(wS(n,e),_S(n,e))}const NH={mounted:_S,unmounted:wS,updated:BH},VH=Object.freeze(Object.defineProperty({__proto__:null,ClickOutside:OA,Intersect:og,Mutate:OH,Resize:FH,Ripple:nd,Scroll:NH,Touch:M_},Symbol.toStringTag,{value:"Module"})),E_=R7(Nz);E_.use(D7());E_.use(B6({components:RH,directives:VH}));E_.mount("#app"); -======== -`,n.getElement().classList.add("tabulator-row-handle");function T(p){var t=D.element;D.open=p,t&&(D.open?(C.classList.add("open"),t.style.display=""):(C.classList.remove("open"),t.style.display="none"))}return C.addEventListener("click",function(p){p.stopImmediatePropagation(),T(!D.open),n.getTable().rowManager.adjustTableSize()}),T(D.open),C}function aP(n,e,r){var C=document.createElement("input"),D=!1;if(C.type="checkbox",C.setAttribute("aria-label","Select Row"),this.table.modExists("selectRow",!0))if(C.addEventListener("click",p=>{p.stopPropagation()}),typeof n.getRow=="function"){var T=n.getRow();T instanceof Wy?(C.addEventListener("change",p=>{this.table.options.selectableRowsRangeMode==="click"&&D?D=!1:T.toggleSelect()}),this.table.options.selectableRowsRangeMode==="click"&&C.addEventListener("click",p=>{D=!0,this.table.modules.selectRow.handleComplexRowClick(T._row,p)}),C.checked=T.isSelected&&T.isSelected(),this.table.modules.selectRow.registerRowSelectCheckbox(T,C)):C=""}else C.addEventListener("change",p=>{this.table.modules.selectRow.selectedRows.length?this.table.deselectRow():this.table.selectRow(e.rowRange)}),this.table.modules.selectRow.registerHeaderSelectCheckbox(C);return C}var oP={plaintext:VR,html:jR,textarea:UR,money:HR,link:GR,image:qR,tickCross:WR,datetime:YR,datetimediff:$R,lookup:ZR,star:XR,traffic:KR,progress:JR,color:QR,buttonTick:eP,buttonCross:tP,rownum:nP,handle:rP,responsiveCollapse:iP,rowSelection:aP};class Yu extends qi{constructor(e){super(e),this.registerColumnOption("formatter"),this.registerColumnOption("formatterParams"),this.registerColumnOption("formatterPrint"),this.registerColumnOption("formatterPrintParams"),this.registerColumnOption("formatterClipboard"),this.registerColumnOption("formatterClipboardParams"),this.registerColumnOption("formatterHtmlOutput"),this.registerColumnOption("formatterHtmlOutputParams"),this.registerColumnOption("titleFormatter"),this.registerColumnOption("titleFormatterParams")}initialize(){this.subscribe("cell-format",this.formatValue.bind(this)),this.subscribe("cell-rendered",this.cellRendered.bind(this)),this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("column-format",this.formatHeader.bind(this))}initializeColumn(e){e.modules.format=this.lookupFormatter(e,""),typeof e.definition.formatterPrint<"u"&&(e.modules.format.print=this.lookupFormatter(e,"Print")),typeof e.definition.formatterClipboard<"u"&&(e.modules.format.clipboard=this.lookupFormatter(e,"Clipboard")),typeof e.definition.formatterHtmlOutput<"u"&&(e.modules.format.htmlOutput=this.lookupFormatter(e,"HtmlOutput"))}lookupFormatter(e,r){var C={params:e.definition["formatter"+r+"Params"]||{}},D=e.definition["formatter"+r];switch(typeof D){case"string":Yu.formatters[D]?C.formatter=Yu.formatters[D]:(console.warn("Formatter Error - No such formatter found: ",D),C.formatter=Yu.formatters.plaintext);break;case"function":C.formatter=D;break;default:C.formatter=Yu.formatters.plaintext;break}return C}cellRendered(e){e.modules.format&&e.modules.format.renderedCallback&&!e.modules.format.rendered&&(e.modules.format.renderedCallback(),e.modules.format.rendered=!0)}formatHeader(e,r,C){var D,T,p,t;return e.definition.titleFormatter?(D=this.getFormatter(e.definition.titleFormatter),p=d=>{e.titleFormatterRendered=d},t={getValue:function(){return r},getElement:function(){return C},getType:function(){return"header"},getColumn:function(){return e.getComponent()},getTable:()=>this.table},T=e.definition.titleFormatterParams||{},T=typeof T=="function"?T():T,D.call(this,t,T,p)):r}formatValue(e){var r=e.getComponent(),C=typeof e.column.modules.format.params=="function"?e.column.modules.format.params(r):e.column.modules.format.params;function D(T){e.modules.format||(e.modules.format={}),e.modules.format.renderedCallback=T,e.modules.format.rendered=!1}return e.column.modules.format.formatter.call(this,r,C,D)}formatExportValue(e,r){var C=e.column.modules.format[r],D;if(C){let p=function(t){e.modules.format||(e.modules.format={}),e.modules.format.renderedCallback=t,e.modules.format.rendered=!1};var T=p;return D=typeof C.params=="function"?C.params(e.getComponent()):C.params,C.formatter.call(this,e.getComponent(),D,p)}else return this.formatValue(e)}sanitizeHTML(e){if(e){var r={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};return String(e).replace(/[&<>"'`=/]/g,function(C){return r[C]})}else return e}emptyToSpace(e){return e===null||typeof e>"u"||e===""?" ":e}getFormatter(e){switch(typeof e){case"string":Yu.formatters[e]?e=Yu.formatters[e]:(console.warn("Formatter Error - No such formatter found: ",e),e=Yu.formatters.plaintext);break;case"function":break;default:e=Yu.formatters.plaintext;break}return e}}Yu.moduleName="format";Yu.formatters=oP;class zM extends qi{constructor(e){super(e),this.leftColumns=[],this.rightColumns=[],this.initializationMode="left",this.active=!1,this.blocked=!0,this.registerColumnOption("frozen")}reset(){this.initializationMode="left",this.leftColumns=[],this.rightColumns=[],this.active=!1}initialize(){this.subscribe("cell-layout",this.layoutCell.bind(this)),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("column-width",this.layout.bind(this)),this.subscribe("row-layout-after",this.layoutRow.bind(this)),this.subscribe("table-layout",this.layout.bind(this)),this.subscribe("columns-loading",this.reset.bind(this)),this.subscribe("column-add",this.reinitializeColumns.bind(this)),this.subscribe("column-deleted",this.reinitializeColumns.bind(this)),this.subscribe("column-hide",this.reinitializeColumns.bind(this)),this.subscribe("column-show",this.reinitializeColumns.bind(this)),this.subscribe("columns-loaded",this.reinitializeColumns.bind(this)),this.subscribe("table-redraw",this.layout.bind(this)),this.subscribe("layout-refreshing",this.blockLayout.bind(this)),this.subscribe("layout-refreshed",this.unblockLayout.bind(this)),this.subscribe("scrollbar-vertical",this.adjustForScrollbar.bind(this))}blockLayout(){this.blocked=!0}unblockLayout(){this.blocked=!1}layoutCell(e){this.layoutElement(e.element,e.column)}reinitializeColumns(){this.reset(),this.table.columnManager.columnsByIndex.forEach(e=>{this.initializeColumn(e)}),this.layout()}initializeColumn(e){var r={margin:0,edge:!1};e.isGroup||(this.frozenCheck(e)?(r.position=this.initializationMode,this.initializationMode=="left"?this.leftColumns.push(e):this.rightColumns.unshift(e),this.active=!0,e.modules.frozen=r):this.initializationMode="right")}frozenCheck(e){return e.parent.isGroup&&e.definition.frozen&&console.warn("Frozen Column Error - Parent column group must be frozen, not individual columns or sub column groups"),e.parent.isGroup?this.frozenCheck(e.parent):e.definition.frozen}layoutCalcRows(){this.table.modExists("columnCalcs")&&(this.table.modules.columnCalcs.topInitialized&&this.table.modules.columnCalcs.topRow&&this.layoutRow(this.table.modules.columnCalcs.topRow),this.table.modules.columnCalcs.botInitialized&&this.table.modules.columnCalcs.botRow&&this.layoutRow(this.table.modules.columnCalcs.botRow),this.table.modExists("groupRows")&&this.layoutGroupCalcs(this.table.modules.groupRows.getGroups()))}layoutGroupCalcs(e){e.forEach(r=>{r.calcs.top&&this.layoutRow(r.calcs.top),r.calcs.bottom&&this.layoutRow(r.calcs.bottom),r.groupList&&r.groupList.length&&this.layoutGroupCalcs(r.groupList)})}layoutColumnPosition(e){var r=[],C=0,D=0;this.leftColumns.forEach((T,p)=>{if(T.modules.frozen.marginValue=C,T.modules.frozen.margin=T.modules.frozen.marginValue+"px",T.visible&&(C+=T.getWidth()),p==this.leftColumns.length-1?T.modules.frozen.edge=!0:T.modules.frozen.edge=!1,T.parent.isGroup){var t=this.getColGroupParentElement(T);r.includes(t)||(this.layoutElement(t,T),r.push(t)),t.classList.toggle("tabulator-frozen-left",T.modules.frozen.edge&&T.modules.frozen.position==="left"),t.classList.toggle("tabulator-frozen-right",T.modules.frozen.edge&&T.modules.frozen.position==="right")}else this.layoutElement(T.getElement(),T);e&&T.cells.forEach(d=>{this.layoutElement(d.getElement(!0),T)})}),this.rightColumns.forEach((T,p)=>{T.modules.frozen.marginValue=D,T.modules.frozen.margin=T.modules.frozen.marginValue+"px",T.visible&&(D+=T.getWidth()),p==this.rightColumns.length-1?T.modules.frozen.edge=!0:T.modules.frozen.edge=!1,T.parent.isGroup?this.layoutElement(this.getColGroupParentElement(T),T):this.layoutElement(T.getElement(),T),e&&T.cells.forEach(t=>{this.layoutElement(t.getElement(!0),T)})})}getColGroupParentElement(e){return e.parent.isGroup?this.getColGroupParentElement(e.parent):e.getElement()}layout(){this.active&&!this.blocked&&(this.layoutColumnPosition(),this.reinitializeRows(),this.layoutCalcRows())}reinitializeRows(){var e=this.table.rowManager.getVisibleRows(!0),r=this.table.rowManager.getRows().filter(C=>!e.includes(C));r.forEach(C=>{C.deinitialize()}),e.forEach(C=>{C.type==="row"&&this.layoutRow(C)})}layoutRow(e){this.table.options.layout==="fitDataFill"&&this.rightColumns.length&&(this.table.rowManager.getTableElement().style.minWidth="calc(100% - "+this.rightMargin+")"),this.leftColumns.forEach(r=>{var C=e.getCell(r);C&&this.layoutElement(C.getElement(!0),r)}),this.rightColumns.forEach(r=>{var C=e.getCell(r);C&&this.layoutElement(C.getElement(!0),r)})}layoutElement(e,r){var C;r.modules.frozen&&e&&(e.style.position="sticky",this.table.rtl?C=r.modules.frozen.position==="left"?"right":"left":C=r.modules.frozen.position,e.style[C]=r.modules.frozen.margin,e.classList.add("tabulator-frozen"),e.classList.toggle("tabulator-frozen-left",r.modules.frozen.edge&&r.modules.frozen.position==="left"),e.classList.toggle("tabulator-frozen-right",r.modules.frozen.edge&&r.modules.frozen.position==="right"))}adjustForScrollbar(e){this.rightColumns.length&&(this.table.columnManager.getContentsElement().style.width="calc(100% - "+e+"px)")}_calcSpace(e,r){var C=0;for(let D=0;D{this.initializeRow(e)})}initializeRow(e){var r=this.table.options.frozenRows,C=typeof r;C==="number"?e.getPosition()&&e.getPosition()+this.rows.length<=r&&this.freezeRow(e):C==="function"?r.call(this.table,e.getComponent())&&this.freezeRow(e):Array.isArray(r)&&r.includes(e.data[this.options("frozenRowsField")])&&this.freezeRow(e)}isRowFrozen(e){var r=this.rows.indexOf(e);return r>-1}isFrozen(){return!!this.rows.length}visibleRows(e,r){return this.rows.forEach(C=>{r.push(C)}),r}getRows(e){var r=e.slice(0);return this.rows.forEach(function(C){var D=r.indexOf(C);D>-1&&r.splice(D,1)}),r}freezeRow(e){e.modules.frozen?console.warn("Freeze Error - Row is already frozen"):(e.modules.frozen=!0,this.topElement.appendChild(e.getElement()),e.initialize(),e.normalizeHeight(),this.rows.push(e),this.refreshData(!1,"display"),this.table.rowManager.adjustTableSize(),this.styleRows())}unfreezeRow(e){e.modules.frozen?(e.modules.frozen=!1,this.detachRow(e),this.table.rowManager.adjustTableSize(),this.refreshData(!1,"display"),this.rows.length&&this.styleRows()):console.warn("Freeze Error - Row is already unfrozen")}detachRow(e){var r=this.rows.indexOf(e);if(r>-1){var C=e.getElement();C.parentNode&&C.parentNode.removeChild(C),this.rows.splice(r,1)}}styleRows(e){this.rows.forEach((r,C)=>{this.table.rowManager.styleRow(r,C)})}}FM.moduleName="frozenRows";class sP{constructor(e){return this._group=e,this.type="GroupComponent",new Proxy(this,{get:function(r,C,D){return typeof r[C]<"u"?r[C]:r._group.groupManager.table.componentFunctionBinder.handle("group",r._group,C)}})}getKey(){return this._group.key}getField(){return this._group.field}getElement(){return this._group.element}getRows(){return this._group.getRows(!0)}getSubGroups(){return this._group.getSubGroups(!0)}getParentGroup(){return this._group.parent?this._group.parent.getComponent():!1}isVisible(){return this._group.visible}show(){this._group.show()}hide(){this._group.hide()}toggle(){this._group.toggleVisibility()}scrollTo(e,r){return this._group.groupManager.table.rowManager.scrollToRow(this._group,e,r)}_getSelf(){return this._group}getTable(){return this._group.groupManager.table}}class Fp{constructor(e,r,C,D,T,p,t){this.groupManager=e,this.parent=r,this.key=D,this.level=C,this.field=T,this.hasSubGroups=C{r.modules&&delete r.modules.group})),this.element=!1,this.arrowElement=!1,this.elementContents=!1}createElements(){var e=document.createElement("div");e.classList.add("tabulator-arrow"),this.element=document.createElement("div"),this.element.classList.add("tabulator-row"),this.element.classList.add("tabulator-group"),this.element.classList.add("tabulator-group-level-"+this.level),this.element.setAttribute("role","rowgroup"),this.arrowElement=document.createElement("div"),this.arrowElement.classList.add("tabulator-group-toggle"),this.arrowElement.appendChild(e),this.groupManager.table.options.movableRows!==!1&&this.groupManager.table.modExists("moveRow")&&this.groupManager.table.modules.moveRow.initializeGroupHeader(this)}createValueGroups(){var e=this.level+1;this.groupManager.allowedValues&&this.groupManager.allowedValues[e]&&this.groupManager.allowedValues[e].forEach(r=>{this._createGroup(r,e)})}addBindings(){var e;this.groupManager.table.options.groupToggleElement&&(e=this.groupManager.table.options.groupToggleElement=="arrow"?this.arrowElement:this.element,e.addEventListener("click",r=>{this.groupManager.table.options.groupToggleElement==="arrow"&&(r.stopPropagation(),r.stopImmediatePropagation()),setTimeout(()=>{this.toggleVisibility()})}))}_createGroup(e,r){var C=r+"_"+e,D=new Fp(this.groupManager,this,r,e,this.groupManager.groupIDLookups[r].field,this.groupManager.headerGenerator[r]||this.groupManager.headerGenerator[0],this.old?this.old.groups[C]:!1);this.groups[C]=D,this.groupList.push(D)}_addRowToGroup(e){var r=this.level+1;if(this.hasSubGroups){var C=this.groupManager.groupIDLookups[r].func(e.getData()),D=r+"_"+C;this.groupManager.allowedValues&&this.groupManager.allowedValues[r]?this.groups[D]&&this.groups[D].addRow(e):(this.groups[D]||this._createGroup(C,r),this.groups[D].addRow(e))}}_addRow(e){this.rows.push(e),e.modules.group=this}insertRow(e,r,C){var D=this.conformRowData({});e.updateData(D);var T=this.rows.indexOf(r);T>-1?C?this.rows.splice(T+1,0,e):this.rows.splice(T,0,e):C?this.rows.push(e):this.rows.unshift(e),e.modules.group=this,this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modules.columnCalcs.recalcGroup(this),this.groupManager.updateGroupRows(!0)}scrollHeader(e){this.arrowElement&&(this.arrowElement.style.marginLeft=e,this.groupList.forEach(function(r){r.scrollHeader(e)}))}getRowIndex(e){}conformRowData(e){return this.field?e[this.field]=this.key:console.warn("Data Conforming Error - Cannot conform row data to match new group as groupBy is a function"),this.parent&&(e=this.parent.conformRowData(e)),e}removeRow(e){var r=this.rows.indexOf(e),C=e.getElement();r>-1&&this.rows.splice(r,1),!this.groupManager.table.options.groupValues&&!this.rows.length?(this.parent?this.parent.removeGroup(this):this.groupManager.removeGroup(this),this.groupManager.updateGroupRows(!0)):(C.parentNode&&C.parentNode.removeChild(C),this.groupManager.blockRedraw||(this.generateGroupHeaderContents(),this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modules.columnCalcs.recalcGroup(this)))}removeGroup(e){var r=e.level+"_"+e.key,C;this.groups[r]&&(delete this.groups[r],C=this.groupList.indexOf(e),C>-1&&this.groupList.splice(C,1),this.groupList.length||(this.parent?this.parent.removeGroup(this):this.groupManager.removeGroup(this)))}getHeadersAndRows(){var e=[];return e.push(this),this._visSet(),this.calcs.top&&(this.calcs.top.detachElement(),this.calcs.top.deleteCells()),this.calcs.bottom&&(this.calcs.bottom.detachElement(),this.calcs.bottom.deleteCells()),this.visible?this.groupList.length?this.groupList.forEach(function(r){e=e.concat(r.getHeadersAndRows())}):(this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.modules.columnCalcs.hasTopCalcs()&&(this.calcs.top=this.groupManager.table.modules.columnCalcs.generateTopRow(this.rows),e.push(this.calcs.top)),e=e.concat(this.rows),this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modExists("columnCalcs")&&this.groupManager.table.modules.columnCalcs.hasBottomCalcs()&&(this.calcs.bottom=this.groupManager.table.modules.columnCalcs.generateBottomRow(this.rows),e.push(this.calcs.bottom))):!this.groupList.length&&this.groupManager.table.options.columnCalcs!="table"&&this.groupManager.table.modExists("columnCalcs")&&(this.groupManager.table.modules.columnCalcs.hasTopCalcs()&&this.groupManager.table.options.groupClosedShowCalcs&&(this.calcs.top=this.groupManager.table.modules.columnCalcs.generateTopRow(this.rows),e.push(this.calcs.top)),this.groupManager.table.modules.columnCalcs.hasBottomCalcs()&&this.groupManager.table.options.groupClosedShowCalcs&&(this.calcs.bottom=this.groupManager.table.modules.columnCalcs.generateBottomRow(this.rows),e.push(this.calcs.bottom))),e}getData(e,r){var C=[];return this._visSet(),(!e||e&&this.visible)&&this.rows.forEach(D=>{C.push(D.getData(r||"data"))}),C}getRowCount(){var e=0;return this.groupList.length?this.groupList.forEach(r=>{e+=r.getRowCount()}):e=this.rows.length,e}toggleVisibility(){this.visible?this.hide():this.show()}hide(){this.visible=!1,this.groupManager.table.rowManager.getRenderMode()=="basic"&&!this.groupManager.table.options.pagination?(this.element.classList.remove("tabulator-group-visible"),this.groupList.length?this.groupList.forEach(e=>{var r=e.getHeadersAndRows();r.forEach(C=>{C.detachElement()})}):this.rows.forEach(e=>{var r=e.getElement();r.parentNode.removeChild(r)}),this.groupManager.updateGroupRows(!0)):this.groupManager.updateGroupRows(!0),this.groupManager.table.externalEvents.dispatch("groupVisibilityChanged",this.getComponent(),!1)}show(){if(this.visible=!0,this.groupManager.table.rowManager.getRenderMode()=="basic"&&!this.groupManager.table.options.pagination){this.element.classList.add("tabulator-group-visible");var e=this.generateElement();this.groupList.length?this.groupList.forEach(r=>{var C=r.getHeadersAndRows();C.forEach(D=>{var T=D.getElement();e.parentNode.insertBefore(T,e.nextSibling),D.initialize(),e=T})}):this.rows.forEach(r=>{var C=r.getElement();e.parentNode.insertBefore(C,e.nextSibling),r.initialize(),e=C}),this.groupManager.updateGroupRows(!0)}else this.groupManager.updateGroupRows(!0);this.groupManager.table.externalEvents.dispatch("groupVisibilityChanged",this.getComponent(),!0)}_visSet(){var e=[];typeof this.visible=="function"&&(this.rows.forEach(function(r){e.push(r.getData())}),this.visible=this.visible(this.key,this.getRowCount(),e,this.getComponent()))}getRowGroup(e){var r=!1;return this.groupList.length?this.groupList.forEach(function(C){var D=C.getRowGroup(e);D&&(r=D)}):this.rows.find(function(C){return C===e})&&(r=this),r}getSubGroups(e){var r=[];return this.groupList.forEach(function(C){r.push(e?C.getComponent():C)}),r}getRows(e,r){var C=[];return r&&this.groupList.length?this.groupList.forEach(D=>{C=C.concat(D.getRows(e,r))}):this.rows.forEach(function(D){C.push(e?D.getComponent():D)}),C}generateGroupHeaderContents(){var e=[],r=this.getRows(!1,!0);for(r.forEach(function(C){e.push(C.getData())}),this.elementContents=this.generator(this.key,this.getRowCount(),e,this.getComponent());this.element.firstChild;)this.element.removeChild(this.element.firstChild);typeof this.elementContents=="string"?this.element.innerHTML=this.elementContents:this.element.appendChild(this.elementContents),this.element.insertBefore(this.arrowElement,this.element.firstChild)}getPath(e=[]){return e.unshift(this.key),this.parent&&this.parent.getPath(e),e}getElement(){return this.elementContents?this.element:this.generateElement()}generateElement(){this.addBindings=!1,this._visSet(),this.visible?this.element.classList.add("tabulator-group-visible"):this.element.classList.remove("tabulator-group-visible");for(var e=0;eC.length&&console.warn("Error creating group headers, groupHeader array is shorter than groupBy array"),this.headerGenerator=[function(){return""}],this.startOpen=[function(){return!1}],this.langBind("groups|item",(T,p)=>{this.headerGenerator[0]=(t,d,g)=>(typeof t>"u"?"":t)+"("+d+" "+(d===1?T:p.groups.items)+")"}),this.groupIDLookups=[],e)this.table.modExists("columnCalcs")&&this.table.options.columnCalcs!="table"&&this.table.options.columnCalcs!="both"&&this.table.modules.columnCalcs.removeCalcs();else if(this.table.modExists("columnCalcs")&&this.table.options.columnCalcs!="group"){var D=this.table.columnManager.getRealColumns();D.forEach(T=>{T.definition.topCalc&&this.table.modules.columnCalcs.initializeTopRow(),T.definition.bottomCalc&&this.table.modules.columnCalcs.initializeBottomRow()})}Array.isArray(e)||(e=[e]),e.forEach((T,p)=>{var t,d;typeof T=="function"?t=T:(d=this.table.columnManager.getColumnByField(T),d?t=function(g){return d.getFieldValue(g)}:t=function(g){return g[T]}),this.groupIDLookups.push({field:typeof T=="function"?!1:T,func:t,values:this.allowedValues?this.allowedValues[p]:!1})}),r&&(Array.isArray(r)||(r=[r]),r.forEach(T=>{}),this.startOpen=r),C&&(this.headerGenerator=Array.isArray(C)?C:[C])}else this.groupList=[],this.groups={}}rowSample(e,r){if(this.table.options.groupBy){var C=this.getGroups(!1)[0];r.push(C.getRows(!1)[0])}return r}virtualRenderFill(){var e=this.table.rowManager.tableElement,r=this.table.rowManager.getVisibleRows();if(this.table.options.groupBy)r=r.filter(C=>C.type!=="group"),e.style.minWidth=r.length?"":this.table.columnManager.getWidth()+"px";else return r}rowAddingIndex(e,r,C){if(this.table.options.groupBy){this.assignRowToGroup(e);var D=e.modules.group.rows;return D.length>1&&(!r||r&&D.indexOf(r)==-1?C?D[0]!==e&&(r=D[0],this.table.rowManager.moveRowInArray(e.modules.group.rows,e,r,!C)):D[D.length-1]!==e&&(r=D[D.length-1],this.table.rowManager.moveRowInArray(e.modules.group.rows,e,r,!C)):this.table.rowManager.moveRowInArray(e.modules.group.rows,e,r,!C)),r}}trackChanges(){this.dispatch("group-changed")}setGroupBy(e){this.table.options.groupBy=e,this.initialized||this.initialize(),this.configureGroupSetup(),!e&&this.table.modExists("columnCalcs")&&this.table.options.columnCalcs===!0&&this.table.modules.columnCalcs.reinitializeCalcs(),this.refreshData(),this.trackChanges()}setGroupValues(e){this.table.options.groupValues=e,this.configureGroupSetup(),this.refreshData(),this.trackChanges()}setGroupStartOpen(e){this.table.options.groupStartOpen=e,this.configureGroupSetup(),this.table.options.groupBy?(this.refreshData(),this.trackChanges()):console.warn("Grouping Update - cant refresh view, no groups have been set")}setGroupHeader(e){this.table.options.groupHeader=e,this.configureGroupSetup(),this.table.options.groupBy?(this.refreshData(),this.trackChanges()):console.warn("Grouping Update - cant refresh view, no groups have been set")}userGetGroups(e){return this.getGroups(!0)}userGetGroupedData(){return this.table.options.groupBy?this.getGroupedData():this.getData()}rowGetGroup(e){return e.modules.group?e.modules.group.getComponent():!1}rowMoving(e,r,C){if(this.table.options.groupBy){!C&&r instanceof Fp&&(r=this.table.rowManager.prevDisplayRow(e)||r);var D=r instanceof Fp?r:r.modules.group,T=e instanceof Fp?e:e.modules.group;D===T?this.table.rowManager.moveRowInArray(D.rows,e,r,C):(T&&T.removeRow(e),D.insertRow(e,r,C))}}rowDeleting(e){this.table.options.groupBy&&e.modules.group&&e.modules.group.removeRow(e)}rowsUpdated(e){this.table.options.groupBy&&this.updateGroupRows(!0)}cellUpdated(e){this.table.options.groupBy&&this.reassignRowToGroup(e.row)}getRows(e){return this.table.options.groupBy&&this.groupIDLookups.length?(this.dispatchExternal("dataGrouping"),this.generateGroups(e),this.subscribedExternal("dataGrouped")&&this.dispatchExternal("dataGrouped",this.getGroups(!0)),this.updateGroupRows()):e.slice(0)}getGroups(e){var r=[];return this.groupList.forEach(function(C){r.push(e?C.getComponent():C)}),r}getChildGroups(e){var r=[];return e||(e=this),e.groupList.forEach(C=>{C.groupList.length?r=r.concat(this.getChildGroups(C)):r.push(C)}),r}wipe(){this.table.options.groupBy&&(this.groupList.forEach(function(e){e.wipe()}),this.groupList=[],this.groups={})}pullGroupListData(e){var r=[];return e.forEach(C=>{var D={};D.level=0,D.rowCount=0,D.headerContent="";var T=[];C.hasSubGroups?(T=this.pullGroupListData(C.groupList),D.level=C.level,D.rowCount=T.length-C.groupList.length,D.headerContent=C.generator(C.key,D.rowCount,C.rows,C),r.push(D),r=r.concat(T)):(D.level=C.level,D.headerContent=C.generator(C.key,C.rows.length,C.rows,C),D.rowCount=C.getRows().length,r.push(D),C.getRows().forEach(p=>{r.push(p.getData("data"))}))}),r}getGroupedData(){return this.pullGroupListData(this.groupList)}getRowGroup(e){var r=!1;return this.options("dataTree")&&(e=this.table.modules.dataTree.getTreeParentRoot(e)),this.groupList.forEach(C=>{var D=C.getRowGroup(e);D&&(r=D)}),r}countGroups(){return this.groupList.length}generateGroups(e){var r=this.groups;this.groups={},this.groupList=[],this.allowedValues&&this.allowedValues[0]?(this.allowedValues[0].forEach(C=>{this.createGroup(C,0,r)}),e.forEach(C=>{this.assignRowToExistingGroup(C,r)})):e.forEach(C=>{this.assignRowToGroup(C,r)}),Object.values(r).forEach(C=>{C.wipe(!0)})}createGroup(e,r,C){var D=r+"_"+e,T;C=C||[],T=new Fp(this,!1,r,e,this.groupIDLookups[0].field,this.headerGenerator[0],C[D]),this.groups[D]=T,this.groupList.push(T)}assignRowToExistingGroup(e,r){var C=this.groupIDLookups[0].func(e.getData()),D="0_"+C;this.groups[D]&&this.groups[D].addRow(e)}assignRowToGroup(e,r){var C=this.groupIDLookups[0].func(e.getData()),D=!this.groups["0_"+C];return D&&this.createGroup(C,0,r),this.groups["0_"+C].addRow(e),!D}reassignRowToGroup(e){if(e.type==="row"){var r=e.modules.group,C=r.getPath(),D=this.getExpectedPath(e),T;T=C.length==D.length&&C.every((p,t)=>p===D[t]),T||(r.removeRow(e),this.assignRowToGroup(e,this.groups),this.refreshData(!0))}}getExpectedPath(e){var r=[],C=e.getData();return this.groupIDLookups.forEach(D=>{r.push(D.func(C))}),r}updateGroupRows(e){var r=[];return this.blockRedraw||(this.groupList.forEach(C=>{r=r.concat(C.getHeadersAndRows())}),e&&this.refreshData(!0)),r}scrollHeaders(e){this.table.options.groupBy&&(this.table.options.renderHorizontal==="virtual"&&(e-=this.table.columnManager.renderer.vDomPadLeft),e=e+"px",this.groupList.forEach(r=>{r.scrollHeader(e)}))}removeGroup(e){var r=e.level+"_"+e.key,C;this.groups[r]&&(delete this.groups[r],C=this.groupList.indexOf(e),C>-1&&this.groupList.splice(C,1))}checkBasicModeGroupHeaderWidth(){var e=this.table.rowManager.tableElement,r=!0;this.table.rowManager.getDisplayRows().forEach((C,D)=>{this.table.rowManager.styleRow(C,D),e.appendChild(C.getElement()),C.initialize(!0),C.type!=="group"&&(r=!1)}),r?e.style.minWidth=this.table.columnManager.getWidth()+"px":e.style.minWidth=""}}BM.moduleName="groupRows";var lP={cellEdit:function(n){n.component.setValueProcessData(n.data.oldValue),n.component.cellRendered()},rowAdd:function(n){n.component.deleteActual(),this.table.rowManager.checkPlaceholder()},rowDelete:function(n){var e=this.table.rowManager.addRowActual(n.data.data,n.data.pos,n.data.index);this.table.options.groupBy&&this.table.modExists("groupRows")&&this.table.modules.groupRows.updateGroupRows(!0),this._rebindRow(n.component,e),this.table.rowManager.checkPlaceholder()},rowMove:function(n){var e=n.data.posFrom-n.data.posTo>0;this.table.rowManager.moveRowActual(n.component,this.table.rowManager.getRowFromPosition(n.data.posFrom),e),this.table.rowManager.regenerateRowPositions(),this.table.rowManager.reRenderInPosition()}},uP={cellEdit:function(n){n.component.setValueProcessData(n.data.newValue),n.component.cellRendered()},rowAdd:function(n){var e=this.table.rowManager.addRowActual(n.data.data,n.data.pos,n.data.index);this.table.options.groupBy&&this.table.modExists("groupRows")&&this.table.modules.groupRows.updateGroupRows(!0),this._rebindRow(n.component,e),this.table.rowManager.checkPlaceholder()},rowDelete:function(n){n.component.deleteActual(),this.table.rowManager.checkPlaceholder()},rowMove:function(n){this.table.rowManager.moveRowActual(n.component,this.table.rowManager.getRowFromPosition(n.data.posTo),n.data.after),this.table.rowManager.regenerateRowPositions(),this.table.rowManager.reRenderInPosition()}};class Wd extends qi{constructor(e){super(e),this.history=[],this.index=-1,this.registerTableOption("history",!1)}initialize(){this.table.options.history&&(this.subscribe("cell-value-updated",this.cellUpdated.bind(this)),this.subscribe("cell-delete",this.clearComponentHistory.bind(this)),this.subscribe("row-delete",this.rowDeleted.bind(this)),this.subscribe("rows-wipe",this.clear.bind(this)),this.subscribe("row-added",this.rowAdded.bind(this)),this.subscribe("row-move",this.rowMoved.bind(this))),this.registerTableFunction("undo",this.undo.bind(this)),this.registerTableFunction("redo",this.redo.bind(this)),this.registerTableFunction("getHistoryUndoSize",this.getHistoryUndoSize.bind(this)),this.registerTableFunction("getHistoryRedoSize",this.getHistoryRedoSize.bind(this)),this.registerTableFunction("clearHistory",this.clear.bind(this))}rowMoved(e,r,C){this.action("rowMove",e,{posFrom:e.getPosition(),posTo:r.getPosition(),to:r,after:C})}rowAdded(e,r,C,D){this.action("rowAdd",e,{data:r,pos:C,index:D})}rowDeleted(e){var r,C;this.table.options.groupBy?(C=e.getComponent().getGroup()._getSelf().rows,r=C.indexOf(e),r&&(r=C[r-1])):(r=e.table.rowManager.getRowIndex(e),r&&(r=e.table.rowManager.rows[r-1])),this.action("rowDelete",e,{data:e.getData(),pos:!r,index:r})}cellUpdated(e){this.action("cellEdit",e,{oldValue:e.oldValue,newValue:e.value})}clear(){this.history=[],this.index=-1}action(e,r,C){this.history=this.history.slice(0,this.index+1),this.history.push({type:e,component:r,data:C}),this.index++}getHistoryUndoSize(){return this.index+1}getHistoryRedoSize(){return this.history.length-(this.index+1)}clearComponentHistory(e){var r=this.history.findIndex(function(C){return C.component===e});r>-1&&(this.history.splice(r,1),r<=this.index&&this.index--,this.clearComponentHistory(e))}undo(){if(this.index>-1){let e=this.history[this.index];return Wd.undoers[e.type].call(this,e),this.index--,this.dispatchExternal("historyUndo",e.type,e.component.getComponent(),e.data),!0}else return console.warn(this.options("history")?"History Undo Error - No more history to undo":"History module not enabled"),!1}redo(){if(this.history.length-1>this.index){this.index++;let e=this.history[this.index];return Wd.redoers[e.type].call(this,e),this.dispatchExternal("historyRedo",e.type,e.component.getComponent(),e.data),!0}else return console.warn(this.options("history")?"History Redo Error - No more history to redo":"History module not enabled"),!1}_rebindRow(e,r){this.history.forEach(function(C){if(C.component instanceof vl)C.component===e&&(C.component=r);else if(C.component instanceof eg&&C.component.row===e){var D=C.component.column.getField();D&&(C.component=r.getCell(D))}})}}Wd.moduleName="history";Wd.undoers=lP;Wd.redoers=uP;class NM extends qi{constructor(e){super(e),this.fieldIndex=[],this.hasIndex=!1}initialize(){this.tableElementCheck()}tableElementCheck(){this.table.originalElement&&this.table.originalElement.tagName==="TABLE"&&(this.table.originalElement.childNodes.length?this.parseTable():console.warn("Unable to parse data from empty table tag, Tabulator should be initialized on a div tag unless importing data from a table element."))}parseTable(){var e=this.table.originalElement,r=this.table.options,C=e.getElementsByTagName("th"),D=e.getElementsByTagName("tbody")[0],T=[];this.hasIndex=!1,this.dispatchExternal("htmlImporting"),D=D?D.getElementsByTagName("tr"):[],this._extractOptions(e,r),C.length?this._extractHeaders(C,D):this._generateBlankHeaders(C,D);for(var p=0;p{p[i.toLowerCase()]=i});for(var t in D){var d=D[t],g;d&&typeof d=="object"&&d.name&&d.name.indexOf("tabulator-")===0&&(g=d.name.replace("tabulator-",""),typeof p[g]<"u"&&(r[p[g]]=this._attribValue(d.value)))}}_attribValue(e){return e==="true"?!0:e==="false"?!1:e}_findCol(e){var r=this.table.options.columns.find(C=>C.title===e);return r||!1}_extractHeaders(e,r){for(var C=0;C(console.error("Import Error:",p||"Unable to import data"),Promise.reject(p)))}lookupImporter(e){var r;return e||(e=this.table.options.importFormat),typeof e=="string"?r=ng.importers[e]:r=e,r||console.error("Import Error - Importer not found:",e),r}importFromFile(e,r){var C=this.lookupImporter(e);if(C)return this.pickFile(r).then(this.importData.bind(this,C)).then(this.structureData.bind(this)).then(this.setData.bind(this)).catch(D=>(console.error("Import Error:",D||"Unable to import file"),Promise.reject(D)))}pickFile(e){return new Promise((r,C)=>{var D=document.createElement("input");D.type="file",D.accept=e,D.addEventListener("change",T=>{var p=D.files[0],t=new FileReader;switch(this.table.options.importReader){case"buffer":t.readAsArrayBuffer(p);break;case"binary":t.readAsBinaryString(p);break;case"url":t.readAsDataURL(p);break;case"text":default:t.readAsText(p)}t.onload=d=>{r(t.result)},t.onerror=d=>{console.warn("File Load Error - Unable to read file"),C()}}),D.click()})}importData(e,r){var C=e.call(this.table,r);return C instanceof Promise?C:C?Promise.resolve(C):Promise.reject()}structureData(e){var r=[];return Array.isArray(e)&&e.length&&Array.isArray(e[0])?(this.table.options.autoColumns?r=this.structureArrayToObject(e):r=this.structureArrayToColumns(e),r):e}structureArrayToObject(e){var r=e.shift(),C=e.map(D=>{var T={};return r.forEach((p,t)=>{T[p]=D[t]}),T});return C}structureArrayToColumns(e){var r=[],C=this.table.getColumns();return C[0]&&e[0][0]&&C[0].getDefinition().title===e[0][0]&&e.shift(),e.forEach(D=>{var T={};D.forEach((p,t)=>{var d=C[t];d&&(T[d.getField()]=p)}),r.push(T)}),r}setData(e){return this.table.setData(e)}}ng.moduleName="import";ng.importers=dP;class VM extends qi{constructor(e){super(e),this.eventMap={rowClick:"row-click",rowDblClick:"row-dblclick",rowContext:"row-contextmenu",rowMouseEnter:"row-mouseenter",rowMouseLeave:"row-mouseleave",rowMouseOver:"row-mouseover",rowMouseOut:"row-mouseout",rowMouseMove:"row-mousemove",rowMouseDown:"row-mousedown",rowMouseUp:"row-mouseup",rowTap:"row",rowDblTap:"row",rowTapHold:"row",cellClick:"cell-click",cellDblClick:"cell-dblclick",cellContext:"cell-contextmenu",cellMouseEnter:"cell-mouseenter",cellMouseLeave:"cell-mouseleave",cellMouseOver:"cell-mouseover",cellMouseOut:"cell-mouseout",cellMouseMove:"cell-mousemove",cellMouseDown:"cell-mousedown",cellMouseUp:"cell-mouseup",cellTap:"cell",cellDblTap:"cell",cellTapHold:"cell",headerClick:"column-click",headerDblClick:"column-dblclick",headerContext:"column-contextmenu",headerMouseEnter:"column-mouseenter",headerMouseLeave:"column-mouseleave",headerMouseOver:"column-mouseover",headerMouseOut:"column-mouseout",headerMouseMove:"column-mousemove",headerMouseDown:"column-mousedown",headerMouseUp:"column-mouseup",headerTap:"column",headerDblTap:"column",headerTapHold:"column",groupClick:"group-click",groupDblClick:"group-dblclick",groupContext:"group-contextmenu",groupMouseEnter:"group-mouseenter",groupMouseLeave:"group-mouseleave",groupMouseOver:"group-mouseover",groupMouseOut:"group-mouseout",groupMouseMove:"group-mousemove",groupMouseDown:"group-mousedown",groupMouseUp:"group-mouseup",groupTap:"group",groupDblTap:"group",groupTapHold:"group"},this.subscribers={},this.touchSubscribers={},this.columnSubscribers={},this.touchWatchers={row:{tap:null,tapDbl:null,tapHold:null},cell:{tap:null,tapDbl:null,tapHold:null},column:{tap:null,tapDbl:null,tapHold:null},group:{tap:null,tapDbl:null,tapHold:null}},this.registerColumnOption("headerClick"),this.registerColumnOption("headerDblClick"),this.registerColumnOption("headerContext"),this.registerColumnOption("headerMouseEnter"),this.registerColumnOption("headerMouseLeave"),this.registerColumnOption("headerMouseOver"),this.registerColumnOption("headerMouseOut"),this.registerColumnOption("headerMouseMove"),this.registerColumnOption("headerMouseDown"),this.registerColumnOption("headerMouseUp"),this.registerColumnOption("headerTap"),this.registerColumnOption("headerDblTap"),this.registerColumnOption("headerTapHold"),this.registerColumnOption("cellClick"),this.registerColumnOption("cellDblClick"),this.registerColumnOption("cellContext"),this.registerColumnOption("cellMouseEnter"),this.registerColumnOption("cellMouseLeave"),this.registerColumnOption("cellMouseOver"),this.registerColumnOption("cellMouseOut"),this.registerColumnOption("cellMouseMove"),this.registerColumnOption("cellMouseDown"),this.registerColumnOption("cellMouseUp"),this.registerColumnOption("cellTap"),this.registerColumnOption("cellDblTap"),this.registerColumnOption("cellTapHold")}initialize(){this.initializeExternalEvents(),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("cell-dblclick",this.cellContentsSelectionFixer.bind(this)),this.subscribe("scroll-horizontal",this.clearTouchWatchers.bind(this)),this.subscribe("scroll-vertical",this.clearTouchWatchers.bind(this))}clearTouchWatchers(){var e=Object.values(this.touchWatchers);e.forEach(r=>{for(let C in r)r[C]=null})}cellContentsSelectionFixer(e,r){var C;if(!(this.table.modExists("edit")&&this.table.modules.edit.currentCell===r)){e.preventDefault();try{document.selection?(C=document.body.createTextRange(),C.moveToElementText(r.getElement()),C.select()):window.getSelection&&(C=document.createRange(),C.selectNode(r.getElement()),window.getSelection().removeAllRanges(),window.getSelection().addRange(C))}catch{}}}initializeExternalEvents(){for(let e in this.eventMap)this.subscriptionChangeExternal(e,this.subscriptionChanged.bind(this,e))}subscriptionChanged(e,r){r?this.subscribers[e]||(this.eventMap[e].includes("-")?(this.subscribers[e]=this.handle.bind(this,e),this.subscribe(this.eventMap[e],this.subscribers[e])):this.subscribeTouchEvents(e)):this.eventMap[e].includes("-")?this.subscribers[e]&&!this.columnSubscribers[e]&&!this.subscribedExternal(e)&&(this.unsubscribe(this.eventMap[e],this.subscribers[e]),delete this.subscribers[e]):this.unsubscribeTouchEvents(e)}subscribeTouchEvents(e){var r=this.eventMap[e];this.touchSubscribers[r+"-touchstart"]||(this.touchSubscribers[r+"-touchstart"]=this.handleTouch.bind(this,r,"start"),this.touchSubscribers[r+"-touchend"]=this.handleTouch.bind(this,r,"end"),this.subscribe(r+"-touchstart",this.touchSubscribers[r+"-touchstart"]),this.subscribe(r+"-touchend",this.touchSubscribers[r+"-touchend"])),this.subscribers[e]=!0}unsubscribeTouchEvents(e){var r=!0,C=this.eventMap[e];if(this.subscribers[e]&&!this.subscribedExternal(e)){delete this.subscribers[e];for(let D in this.eventMap)this.eventMap[D]===C&&this.subscribers[D]&&(r=!1);r&&(this.unsubscribe(C+"-touchstart",this.touchSubscribers[C+"-touchstart"]),this.unsubscribe(C+"-touchend",this.touchSubscribers[C+"-touchend"]),delete this.touchSubscribers[C+"-touchstart"],delete this.touchSubscribers[C+"-touchend"])}}initializeColumn(e){var r=e.definition;for(let C in this.eventMap)r[C]&&(this.subscriptionChanged(C,!0),this.columnSubscribers[C]||(this.columnSubscribers[C]=[]),this.columnSubscribers[C].push(e))}handle(e,r,C){this.dispatchEvent(e,r,C)}handleTouch(e,r,C,D){var T=this.touchWatchers[e];switch(e==="column"&&(e="header"),r){case"start":T.tap=!0,clearTimeout(T.tapHold),T.tapHold=setTimeout(()=>{clearTimeout(T.tapHold),T.tapHold=null,T.tap=null,clearTimeout(T.tapDbl),T.tapDbl=null,this.dispatchEvent(e+"TapHold",C,D)},1e3);break;case"end":T.tap&&(T.tap=null,this.dispatchEvent(e+"Tap",C,D)),T.tapDbl?(clearTimeout(T.tapDbl),T.tapDbl=null,this.dispatchEvent(e+"DblTap",C,D)):T.tapDbl=setTimeout(()=>{clearTimeout(T.tapDbl),T.tapDbl=null},300),clearTimeout(T.tapHold),T.tapHold=null;break}}dispatchEvent(e,r,C){var D=C.getComponent(),T;this.columnSubscribers[e]&&(C instanceof eg?T=C.column.definition[e]:C instanceof vh&&(T=C.definition[e]),T&&T(r,D)),this.dispatchExternal(e,r,D)}}VM.moduleName="interaction";var pP={navPrev:"shift + 9",navNext:9,navUp:38,navDown:40,navLeft:37,navRight:39,scrollPageUp:33,scrollPageDown:34,scrollToStart:36,scrollToEnd:35,undo:["ctrl + 90","meta + 90"],redo:["ctrl + 89","meta + 89"],copyToClipboard:["ctrl + 67","meta + 67"],rangeJumpUp:["ctrl + 38","meta + 38"],rangeJumpDown:["ctrl + 40","meta + 40"],rangeJumpLeft:["ctrl + 37","meta + 37"],rangeJumpRight:["ctrl + 39","meta + 39"],rangeExpandUp:"shift + 38",rangeExpandDown:"shift + 40",rangeExpandLeft:"shift + 37",rangeExpandRight:"shift + 39",rangeExpandJumpUp:["ctrl + shift + 38","meta + shift + 38"],rangeExpandJumpDown:["ctrl + shift + 40","meta + shift + 40"],rangeExpandJumpLeft:["ctrl + shift + 37","meta + shift + 37"],rangeExpandJumpRight:["ctrl + shift + 39","meta + shift + 39"]},mP={keyBlock:function(n){n.stopPropagation(),n.preventDefault()},scrollPageUp:function(n){var e=this.table.rowManager,r=e.scrollTop-e.element.clientHeight;n.preventDefault(),e.displayRowsCount&&(r>=0?e.element.scrollTop=r:e.scrollToRow(e.getDisplayRows()[0])),this.table.element.focus()},scrollPageDown:function(n){var e=this.table.rowManager,r=e.scrollTop+e.element.clientHeight,C=e.element.scrollHeight;n.preventDefault(),e.displayRowsCount&&(r<=C?e.element.scrollTop=r:e.scrollToRow(e.getDisplayRows()[e.displayRowsCount-1])),this.table.element.focus()},scrollToStart:function(n){var e=this.table.rowManager;n.preventDefault(),e.displayRowsCount&&e.scrollToRow(e.getDisplayRows()[0]),this.table.element.focus()},scrollToEnd:function(n){var e=this.table.rowManager;n.preventDefault(),e.displayRowsCount&&e.scrollToRow(e.getDisplayRows()[e.displayRowsCount-1]),this.table.element.focus()},navPrev:function(n){this.dispatch("keybinding-nav-prev",n)},navNext:function(n){this.dispatch("keybinding-nav-next",n)},navLeft:function(n){this.dispatch("keybinding-nav-left",n)},navRight:function(n){this.dispatch("keybinding-nav-right",n)},navUp:function(n){this.dispatch("keybinding-nav-up",n)},navDown:function(n){this.dispatch("keybinding-nav-down",n)},rangeJumpLeft:function(n){this.dispatch("keybinding-nav-range",n,"left",!0,!1)},rangeJumpRight:function(n){this.dispatch("keybinding-nav-range",n,"right",!0,!1)},rangeJumpUp:function(n){this.dispatch("keybinding-nav-range",n,"up",!0,!1)},rangeJumpDown:function(n){this.dispatch("keybinding-nav-range",n,"down",!0,!1)},rangeExpandLeft:function(n){this.dispatch("keybinding-nav-range",n,"left",!1,!0)},rangeExpandRight:function(n){this.dispatch("keybinding-nav-range",n,"right",!1,!0)},rangeExpandUp:function(n){this.dispatch("keybinding-nav-range",n,"up",!1,!0)},rangeExpandDown:function(n){this.dispatch("keybinding-nav-range",n,"down",!1,!0)},rangeExpandJumpLeft:function(n){this.dispatch("keybinding-nav-range",n,"left",!0,!0)},rangeExpandJumpRight:function(n){this.dispatch("keybinding-nav-range",n,"right",!0,!0)},rangeExpandJumpUp:function(n){this.dispatch("keybinding-nav-range",n,"up",!0,!0)},rangeExpandJumpDown:function(n){this.dispatch("keybinding-nav-range",n,"down",!0,!0)},undo:function(n){var e=!1;this.table.options.history&&this.table.modExists("history")&&this.table.modExists("edit")&&(e=this.table.modules.edit.currentCell,e||(n.preventDefault(),this.table.modules.history.undo()))},redo:function(n){var e=!1;this.table.options.history&&this.table.modExists("history")&&this.table.modExists("edit")&&(e=this.table.modules.edit.currentCell,e||(n.preventDefault(),this.table.modules.history.redo()))},copyToClipboard:function(n){this.table.modules.edit.currentCell||this.table.modExists("clipboard",!0)&&this.table.modules.clipboard.copy(!1,!0)}};class Vf extends qi{constructor(e){super(e),this.watchKeys=null,this.pressedKeys=null,this.keyupBinding=!1,this.keydownBinding=!1,this.registerTableOption("keybindings",{}),this.registerTableOption("tabEndNewRow",!1)}initialize(){var e=this.table.options.keybindings,r={};this.watchKeys={},this.pressedKeys=[],e!==!1&&(Object.assign(r,Vf.bindings),Object.assign(r,e),this.mapBindings(r),this.bindEvents()),this.subscribe("table-destroy",this.clearBindings.bind(this))}mapBindings(e){for(let r in e)Vf.actions[r]?e[r]&&(typeof e[r]!="object"&&(e[r]=[e[r]]),e[r].forEach(C=>{var D=Array.isArray(C)?C:[C];D.forEach(T=>{this.mapBinding(r,T)})})):console.warn("Key Binding Error - no such action:",r)}mapBinding(e,r){var C={action:Vf.actions[e],keys:[],ctrl:!1,shift:!1,meta:!1},D=r.toString().toLowerCase().split(" ").join("").split("+");D.forEach(T=>{switch(T){case"ctrl":C.ctrl=!0;break;case"shift":C.shift=!0;break;case"meta":C.meta=!0;break;default:T=isNaN(T)?T.toUpperCase().charCodeAt(0):parseInt(T),C.keys.push(T),this.watchKeys[T]||(this.watchKeys[T]=[]),this.watchKeys[T].push(C)}})}bindEvents(){var e=this;this.keyupBinding=function(r){var C=r.keyCode,D=e.watchKeys[C];D&&(e.pressedKeys.push(C),D.forEach(function(T){e.checkBinding(r,T)}))},this.keydownBinding=function(r){var C=r.keyCode,D=e.watchKeys[C];if(D){var T=e.pressedKeys.indexOf(C);T>-1&&e.pressedKeys.splice(T,1)}},this.table.element.addEventListener("keydown",this.keyupBinding),this.table.element.addEventListener("keyup",this.keydownBinding)}clearBindings(){this.keyupBinding&&this.table.element.removeEventListener("keydown",this.keyupBinding),this.keydownBinding&&this.table.element.removeEventListener("keyup",this.keydownBinding)}checkBinding(e,r){var C=!0;return e.ctrlKey==r.ctrl&&e.shiftKey==r.shift&&e.metaKey==r.meta?(r.keys.forEach(D=>{var T=this.pressedKeys.indexOf(D);T==-1&&(C=!1)}),C&&r.action.call(this,e),!0):!1}}Vf.moduleName="keybindings";Vf.bindings=pP;Vf.actions=mP;class jM extends qi{constructor(e){super(e),this.menuContainer=null,this.nestedMenuBlock=!1,this.currentComponent=null,this.rootPopup=null,this.columnSubscribers={},this.registerTableOption("menuContainer",void 0),this.registerTableOption("rowContextMenu",!1),this.registerTableOption("rowClickMenu",!1),this.registerTableOption("rowDblClickMenu",!1),this.registerTableOption("groupContextMenu",!1),this.registerTableOption("groupClickMenu",!1),this.registerTableOption("groupDblClickMenu",!1),this.registerColumnOption("headerContextMenu"),this.registerColumnOption("headerClickMenu"),this.registerColumnOption("headerDblClickMenu"),this.registerColumnOption("headerMenu"),this.registerColumnOption("headerMenuIcon"),this.registerColumnOption("contextMenu"),this.registerColumnOption("clickMenu"),this.registerColumnOption("dblClickMenu")}initialize(){this.deprecatedOptionsCheck(),this.initializeRowWatchers(),this.initializeGroupWatchers(),this.subscribe("column-init",this.initializeColumn.bind(this))}deprecatedOptionsCheck(){this.deprecationCheck("menuContainer","popupContainer")||(this.table.options.popupContainer=this.table.options.menuContainer)}initializeRowWatchers(){this.table.options.rowContextMenu&&(this.subscribe("row-contextmenu",this.loadMenuEvent.bind(this,this.table.options.rowContextMenu)),this.table.on("rowTapHold",this.loadMenuEvent.bind(this,this.table.options.rowContextMenu))),this.table.options.rowClickMenu&&this.subscribe("row-click",this.loadMenuEvent.bind(this,this.table.options.rowClickMenu)),this.table.options.rowDblClickMenu&&this.subscribe("row-dblclick",this.loadMenuEvent.bind(this,this.table.options.rowDblClickMenu))}initializeGroupWatchers(){this.table.options.groupContextMenu&&(this.subscribe("group-contextmenu",this.loadMenuEvent.bind(this,this.table.options.groupContextMenu)),this.table.on("groupTapHold",this.loadMenuEvent.bind(this,this.table.options.groupContextMenu))),this.table.options.groupClickMenu&&this.subscribe("group-click",this.loadMenuEvent.bind(this,this.table.options.groupClickMenu)),this.table.options.groupDblClickMenu&&this.subscribe("group-dblclick",this.loadMenuEvent.bind(this,this.table.options.groupDblClickMenu))}initializeColumn(e){var r=e.definition;r.headerContextMenu&&!this.columnSubscribers.headerContextMenu&&(this.columnSubscribers.headerContextMenu=this.loadMenuTableColumnEvent.bind(this,"headerContextMenu"),this.subscribe("column-contextmenu",this.columnSubscribers.headerContextMenu),this.table.on("headerTapHold",this.loadMenuTableColumnEvent.bind(this,"headerContextMenu"))),r.headerClickMenu&&!this.columnSubscribers.headerClickMenu&&(this.columnSubscribers.headerClickMenu=this.loadMenuTableColumnEvent.bind(this,"headerClickMenu"),this.subscribe("column-click",this.columnSubscribers.headerClickMenu)),r.headerDblClickMenu&&!this.columnSubscribers.headerDblClickMenu&&(this.columnSubscribers.headerDblClickMenu=this.loadMenuTableColumnEvent.bind(this,"headerDblClickMenu"),this.subscribe("column-dblclick",this.columnSubscribers.headerDblClickMenu)),r.headerMenu&&this.initializeColumnHeaderMenu(e),r.contextMenu&&!this.columnSubscribers.contextMenu&&(this.columnSubscribers.contextMenu=this.loadMenuTableCellEvent.bind(this,"contextMenu"),this.subscribe("cell-contextmenu",this.columnSubscribers.contextMenu),this.table.on("cellTapHold",this.loadMenuTableCellEvent.bind(this,"contextMenu"))),r.clickMenu&&!this.columnSubscribers.clickMenu&&(this.columnSubscribers.clickMenu=this.loadMenuTableCellEvent.bind(this,"clickMenu"),this.subscribe("cell-click",this.columnSubscribers.clickMenu)),r.dblClickMenu&&!this.columnSubscribers.dblClickMenu&&(this.columnSubscribers.dblClickMenu=this.loadMenuTableCellEvent.bind(this,"dblClickMenu"),this.subscribe("cell-dblclick",this.columnSubscribers.dblClickMenu))}initializeColumnHeaderMenu(e){var r=e.definition.headerMenuIcon,C;C=document.createElement("span"),C.classList.add("tabulator-header-popup-button"),r?(typeof r=="function"&&(r=r(e.getComponent())),r instanceof HTMLElement?C.appendChild(r):C.innerHTML=r):C.innerHTML="⋮",C.addEventListener("click",D=>{D.stopPropagation(),D.preventDefault(),this.loadMenuEvent(e.definition.headerMenu,D,e)}),e.titleElement.insertBefore(C,e.titleElement.firstChild)}loadMenuTableCellEvent(e,r,C){C._cell&&(C=C._cell),C.column.definition[e]&&this.loadMenuEvent(C.column.definition[e],r,C)}loadMenuTableColumnEvent(e,r,C){C._column&&(C=C._column),C.definition[e]&&this.loadMenuEvent(C.definition[e],r,C)}loadMenuEvent(e,r,C){C._group?C=C._group:C._row&&(C=C._row),e=typeof e=="function"?e.call(this.table,r,C.getComponent()):e,this.loadMenu(r,C,e)}loadMenu(e,r,C,D,T){var p=!(e instanceof MouseEvent),t=document.createElement("div"),d;if(t.classList.add("tabulator-menu"),p||e.preventDefault(),!(!C||!C.length)){if(D)d=T.child(t);else{if(this.nestedMenuBlock){if(this.rootPopup)return}else this.nestedMenuBlock=setTimeout(()=>{this.nestedMenuBlock=!1},100);this.rootPopup&&this.rootPopup.hide(),this.rootPopup=d=this.popup(t)}C.forEach(g=>{var i=document.createElement("div"),M=g.label,v=g.disabled;g.separator?i.classList.add("tabulator-menu-separator"):(i.classList.add("tabulator-menu-item"),typeof M=="function"&&(M=M.call(this.table,r.getComponent())),M instanceof Node?i.appendChild(M):i.innerHTML=M,typeof v=="function"&&(v=v.call(this.table,r.getComponent())),v?(i.classList.add("tabulator-menu-item-disabled"),i.addEventListener("click",f=>{f.stopPropagation()})):g.menu&&g.menu.length?i.addEventListener("click",f=>{f.stopPropagation(),this.loadMenu(f,r,g.menu,i,d)}):g.action&&i.addEventListener("click",f=>{g.action(f,r.getComponent())}),g.menu&&g.menu.length&&i.classList.add("tabulator-menu-item-submenu")),t.appendChild(i)}),t.addEventListener("click",g=>{this.rootPopup&&this.rootPopup.hide()}),d.show(D||e),d===this.rootPopup&&(this.rootPopup.hideOnBlur(()=>{this.rootPopup=null,this.currentComponent&&(this.dispatch("menu-closed",C,d),this.dispatchExternal("menuClosed",this.currentComponent.getComponent()),this.currentComponent=null)}),this.currentComponent=r,this.dispatch("menu-opened",C,d),this.dispatchExternal("menuOpened",r.getComponent()))}}}jM.moduleName="menu";class UM extends qi{constructor(e){super(e),this.placeholderElement=this.createPlaceholderElement(),this.hoverElement=!1,this.checkTimeout=!1,this.checkPeriod=250,this.moving=!1,this.toCol=!1,this.toColAfter=!1,this.startX=0,this.autoScrollMargin=40,this.autoScrollStep=5,this.autoScrollTimeout=!1,this.touchMove=!1,this.moveHover=this.moveHover.bind(this),this.endMove=this.endMove.bind(this),this.registerTableOption("movableColumns",!1)}createPlaceholderElement(){var e=document.createElement("div");return e.classList.add("tabulator-col"),e.classList.add("tabulator-col-placeholder"),e}initialize(){this.table.options.movableColumns&&(this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("alert-show",this.abortMove.bind(this)))}abortMove(){clearTimeout(this.checkTimeout)}initializeColumn(e){var r=this,C={},D;!e.modules.frozen&&!e.isGroup&&(D=e.getElement(),C.mousemove=(function(T){e.parent===r.moving.parent&&((r.touchMove?T.touches[0].pageX:T.pageX)-oo.elOffset(D).left+r.table.columnManager.contentsElement.scrollLeft>e.getWidth()/2?(r.toCol!==e||!r.toColAfter)&&(D.parentNode.insertBefore(r.placeholderElement,D.nextSibling),r.moveColumn(e,!0)):(r.toCol!==e||r.toColAfter)&&(D.parentNode.insertBefore(r.placeholderElement,D),r.moveColumn(e,!1)))}).bind(r),D.addEventListener("mousedown",function(T){r.touchMove=!1,T.which===1&&(r.checkTimeout=setTimeout(function(){r.startMove(T,e)},r.checkPeriod))}),D.addEventListener("mouseup",function(T){T.which===1&&r.checkTimeout&&clearTimeout(r.checkTimeout)}),r.bindTouchEvents(e)),e.modules.moveColumn=C}bindTouchEvents(e){var r=e.getElement(),C=!1,D,T,p,t,d,g;r.addEventListener("touchstart",i=>{this.checkTimeout=setTimeout(()=>{this.touchMove=!0,D=e.nextColumn(),p=D?D.getWidth()/2:0,T=e.prevColumn(),t=T?T.getWidth()/2:0,d=0,g=0,C=!1,this.startMove(i,e)},this.checkPeriod)},{passive:!0}),r.addEventListener("touchmove",i=>{var M,v;this.moving&&(this.moveHover(i),C||(C=i.touches[0].pageX),M=i.touches[0].pageX-C,M>0?D&&M-d>p&&(v=D,v!==e&&(C=i.touches[0].pageX,v.getElement().parentNode.insertBefore(this.placeholderElement,v.getElement().nextSibling),this.moveColumn(v,!0))):T&&-M-g>t&&(v=T,v!==e&&(C=i.touches[0].pageX,v.getElement().parentNode.insertBefore(this.placeholderElement,v.getElement()),this.moveColumn(v,!1))),v&&(D=v.nextColumn(),d=p,p=D?D.getWidth()/2:0,T=v.prevColumn(),g=t,t=T?T.getWidth()/2:0))},{passive:!0}),r.addEventListener("touchend",i=>{this.checkTimeout&&clearTimeout(this.checkTimeout),this.moving&&this.endMove(i)})}startMove(e,r){var C=r.getElement(),D=this.table.columnManager.getContentsElement(),T=this.table.columnManager.getHeadersElement();this.moving=r,this.startX=(this.touchMove?e.touches[0].pageX:e.pageX)-oo.elOffset(C).left,this.table.element.classList.add("tabulator-block-select"),this.placeholderElement.style.width=r.getWidth()+"px",this.placeholderElement.style.height=r.getHeight()+"px",C.parentNode.insertBefore(this.placeholderElement,C),C.parentNode.removeChild(C),this.hoverElement=C.cloneNode(!0),this.hoverElement.classList.add("tabulator-moving"),D.appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.bottom=D.clientHeight-T.offsetHeight+"px",this.touchMove||(this._bindMouseMove(),document.body.addEventListener("mousemove",this.moveHover),document.body.addEventListener("mouseup",this.endMove)),this.moveHover(e)}_bindMouseMove(){this.table.columnManager.columnsByIndex.forEach(function(e){e.modules.moveColumn.mousemove&&e.getElement().addEventListener("mousemove",e.modules.moveColumn.mousemove)})}_unbindMouseMove(){this.table.columnManager.columnsByIndex.forEach(function(e){e.modules.moveColumn.mousemove&&e.getElement().removeEventListener("mousemove",e.modules.moveColumn.mousemove)})}moveColumn(e,r){var C=this.moving.getCells();this.toCol=e,this.toColAfter=r,r?e.getCells().forEach(function(D,T){var p=D.getElement(!0);p.parentNode&&C[T]&&p.parentNode.insertBefore(C[T].getElement(),p.nextSibling)}):e.getCells().forEach(function(D,T){var p=D.getElement(!0);p.parentNode&&C[T]&&p.parentNode.insertBefore(C[T].getElement(),p)})}endMove(e){(e.which===1||this.touchMove)&&(this._unbindMouseMove(),this.placeholderElement.parentNode.insertBefore(this.moving.getElement(),this.placeholderElement.nextSibling),this.placeholderElement.parentNode.removeChild(this.placeholderElement),this.hoverElement.parentNode.removeChild(this.hoverElement),this.table.element.classList.remove("tabulator-block-select"),this.toCol&&this.table.columnManager.moveColumnActual(this.moving,this.toCol,this.toColAfter),this.moving=!1,this.toCol=!1,this.toColAfter=!1,this.touchMove||(document.body.removeEventListener("mousemove",this.moveHover),document.body.removeEventListener("mouseup",this.endMove)))}moveHover(e){var r=this.table.columnManager.getContentsElement(),C=r.scrollLeft,D=(this.touchMove?e.touches[0].pageX:e.pageX)-oo.elOffset(r).left+C,T;this.hoverElement.style.left=D-this.startX+"px",D-C{T=Math.max(0,C-5),this.table.rowManager.getElement().scrollLeft=T,this.autoScrollTimeout=!1},1))),C+r.clientWidth-D{T=Math.min(r.clientWidth,C+5),this.table.rowManager.getElement().scrollLeft=T,this.autoScrollTimeout=!1},1)))}}UM.moduleName="moveColumn";class $y extends qi{constructor(e){super(e),this.placeholderElement=this.createPlaceholderElement(),this.hoverElement=!1,this.checkTimeout=!1,this.checkPeriod=150,this.moving=!1,this.toRow=!1,this.toRowAfter=!1,this.hasHandle=!1,this.startY=0,this.startX=0,this.moveHover=this.moveHover.bind(this),this.endMove=this.endMove.bind(this),this.tableRowDropEvent=!1,this.touchMove=!1,this.connection=!1,this.connectionSelectorsTables=!1,this.connectionSelectorsElements=!1,this.connectionElements=[],this.connections=[],this.connectedTable=!1,this.connectedRow=!1,this.registerTableOption("movableRows",!1),this.registerTableOption("movableRowsConnectedTables",!1),this.registerTableOption("movableRowsConnectedElements",!1),this.registerTableOption("movableRowsSender",!1),this.registerTableOption("movableRowsReceiver","insert"),this.registerColumnOption("rowHandle")}createPlaceholderElement(){var e=document.createElement("div");return e.classList.add("tabulator-row"),e.classList.add("tabulator-row-placeholder"),e}initialize(){this.table.options.movableRows&&(this.connectionSelectorsTables=this.table.options.movableRowsConnectedTables,this.connectionSelectorsElements=this.table.options.movableRowsConnectedElements,this.connection=this.connectionSelectorsTables||this.connectionSelectorsElements,this.subscribe("cell-init",this.initializeCell.bind(this)),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("row-init",this.initializeRow.bind(this)))}initializeGroupHeader(e){var r=this,C={};C.mouseup=(function(D){r.tableRowDrop(D,e)}).bind(r),C.mousemove=(function(D){var T;D.pageY-oo.elOffset(e.element).top+r.table.rowManager.element.scrollTop>e.getHeight()/2?(r.toRow!==e||!r.toRowAfter)&&(T=e.getElement(),T.parentNode.insertBefore(r.placeholderElement,T.nextSibling),r.moveRow(e,!0)):(r.toRow!==e||r.toRowAfter)&&(T=e.getElement(),T.previousSibling&&(T.parentNode.insertBefore(r.placeholderElement,T),r.moveRow(e,!1)))}).bind(r),e.modules.moveRow=C}initializeRow(e){var r=this,C={},D;C.mouseup=(function(T){r.tableRowDrop(T,e)}).bind(r),C.mousemove=(function(T){var p=e.getElement();T.pageY-oo.elOffset(p).top+r.table.rowManager.element.scrollTop>e.getHeight()/2?(r.toRow!==e||!r.toRowAfter)&&(p.parentNode.insertBefore(r.placeholderElement,p.nextSibling),r.moveRow(e,!0)):(r.toRow!==e||r.toRowAfter)&&(p.parentNode.insertBefore(r.placeholderElement,p),r.moveRow(e,!1))}).bind(r),this.hasHandle||(D=e.getElement(),D.addEventListener("mousedown",function(T){T.which===1&&(r.checkTimeout=setTimeout(function(){r.startMove(T,e)},r.checkPeriod))}),D.addEventListener("mouseup",function(T){T.which===1&&r.checkTimeout&&clearTimeout(r.checkTimeout)}),this.bindTouchEvents(e,e.getElement())),e.modules.moveRow=C}initializeColumn(e){e.definition.rowHandle&&this.table.options.movableRows!==!1&&(this.hasHandle=!0)}initializeCell(e){if(e.column.definition.rowHandle&&this.table.options.movableRows!==!1){var r=this,C=e.getElement(!0);C.addEventListener("mousedown",function(D){D.which===1&&(r.checkTimeout=setTimeout(function(){r.startMove(D,e.row)},r.checkPeriod))}),C.addEventListener("mouseup",function(D){D.which===1&&r.checkTimeout&&clearTimeout(r.checkTimeout)}),this.bindTouchEvents(e.row,C)}}bindTouchEvents(e,r){var C=!1,D,T,p,t,d,g;r.addEventListener("touchstart",i=>{this.checkTimeout=setTimeout(()=>{this.touchMove=!0,D=e.nextRow(),p=D?D.getHeight()/2:0,T=e.prevRow(),t=T?T.getHeight()/2:0,d=0,g=0,C=!1,this.startMove(i,e)},this.checkPeriod)},{passive:!0}),this.moving,this.toRow,this.toRowAfter,r.addEventListener("touchmove",i=>{var M,v;this.moving&&(i.preventDefault(),this.moveHover(i),C||(C=i.touches[0].pageY),M=i.touches[0].pageY-C,M>0?D&&M-d>p&&(v=D,v!==e&&(C=i.touches[0].pageY,v.getElement().parentNode.insertBefore(this.placeholderElement,v.getElement().nextSibling),this.moveRow(v,!0))):T&&-M-g>t&&(v=T,v!==e&&(C=i.touches[0].pageY,v.getElement().parentNode.insertBefore(this.placeholderElement,v.getElement()),this.moveRow(v,!1))),v&&(D=v.nextRow(),d=p,p=D?D.getHeight()/2:0,T=v.prevRow(),g=t,t=T?T.getHeight()/2:0))}),r.addEventListener("touchend",i=>{this.checkTimeout&&clearTimeout(this.checkTimeout),this.moving&&(this.endMove(i),this.touchMove=!1)})}_bindMouseMove(){this.table.rowManager.getDisplayRows().forEach(e=>{(e.type==="row"||e.type==="group")&&e.modules.moveRow&&e.modules.moveRow.mousemove&&e.getElement().addEventListener("mousemove",e.modules.moveRow.mousemove)})}_unbindMouseMove(){this.table.rowManager.getDisplayRows().forEach(e=>{(e.type==="row"||e.type==="group")&&e.modules.moveRow&&e.modules.moveRow.mousemove&&e.getElement().removeEventListener("mousemove",e.modules.moveRow.mousemove)})}startMove(e,r){var C=r.getElement();this.setStartPosition(e,r),this.moving=r,this.table.element.classList.add("tabulator-block-select"),this.placeholderElement.style.width=r.getWidth()+"px",this.placeholderElement.style.height=r.getHeight()+"px",this.connection?(this.table.element.classList.add("tabulator-movingrow-sending"),this.connectToTables(r)):(C.parentNode.insertBefore(this.placeholderElement,C),C.parentNode.removeChild(C)),this.hoverElement=C.cloneNode(!0),this.hoverElement.classList.add("tabulator-moving"),this.connection?(document.body.appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.top="0",this.hoverElement.style.width=this.table.element.clientWidth+"px",this.hoverElement.style.whiteSpace="nowrap",this.hoverElement.style.overflow="hidden",this.hoverElement.style.pointerEvents="none"):(this.table.rowManager.getTableElement().appendChild(this.hoverElement),this.hoverElement.style.left="0",this.hoverElement.style.top="0",this._bindMouseMove()),document.body.addEventListener("mousemove",this.moveHover),document.body.addEventListener("mouseup",this.endMove),this.dispatchExternal("rowMoving",r.getComponent()),this.moveHover(e)}setStartPosition(e,r){var C=this.touchMove?e.touches[0].pageX:e.pageX,D=this.touchMove?e.touches[0].pageY:e.pageY,T,p;T=r.getElement(),this.connection?(p=T.getBoundingClientRect(),this.startX=p.left-C+window.pageXOffset,this.startY=p.top-D+window.pageYOffset):this.startY=D-T.getBoundingClientRect().top}endMove(e){(!e||e.which===1||this.touchMove)&&(this._unbindMouseMove(),this.connection||(this.placeholderElement.parentNode.insertBefore(this.moving.getElement(),this.placeholderElement.nextSibling),this.placeholderElement.parentNode.removeChild(this.placeholderElement)),this.hoverElement.parentNode.removeChild(this.hoverElement),this.table.element.classList.remove("tabulator-block-select"),this.toRow?this.table.rowManager.moveRow(this.moving,this.toRow,this.toRowAfter):this.dispatchExternal("rowMoveCancelled",this.moving.getComponent()),this.moving=!1,this.toRow=!1,this.toRowAfter=!1,document.body.removeEventListener("mousemove",this.moveHover),document.body.removeEventListener("mouseup",this.endMove),this.connection&&(this.table.element.classList.remove("tabulator-movingrow-sending"),this.disconnectFromTables()))}moveRow(e,r){this.toRow=e,this.toRowAfter=r}moveHover(e){this.connection?this.moveHoverConnections.call(this,e):this.moveHoverTable.call(this,e)}moveHoverTable(e){var r=this.table.rowManager.getElement(),C=r.scrollTop,D=(this.touchMove?e.touches[0].pageY:e.pageY)-r.getBoundingClientRect().top+C;this.hoverElement.style.top=Math.min(D-this.startY,this.table.rowManager.element.scrollHeight-this.hoverElement.offsetHeight)+"px"}moveHoverConnections(e){this.hoverElement.style.left=this.startX+(this.touchMove?e.touches[0].pageX:e.pageX)+"px",this.hoverElement.style.top=this.startY+(this.touchMove?e.touches[0].pageY:e.pageY)+"px"}elementRowDrop(e,r,C){this.dispatchExternal("movableRowsElementDrop",e,r,C?C.getComponent():!1)}connectToTables(e){var r;this.connectionSelectorsTables&&(r=this.commsConnections(this.connectionSelectorsTables),this.dispatchExternal("movableRowsSendingStart",r),this.commsSend(this.connectionSelectorsTables,"moveRow","connect",{row:e})),this.connectionSelectorsElements&&(this.connectionElements=[],Array.isArray(this.connectionSelectorsElements)||(this.connectionSelectorsElements=[this.connectionSelectorsElements]),this.connectionSelectorsElements.forEach(C=>{typeof C=="string"?this.connectionElements=this.connectionElements.concat(Array.prototype.slice.call(document.querySelectorAll(C))):this.connectionElements.push(C)}),this.connectionElements.forEach(C=>{var D=T=>{this.elementRowDrop(T,C,this.moving)};C.addEventListener("mouseup",D),C.tabulatorElementDropEvent=D,C.classList.add("tabulator-movingrow-receiving")}))}disconnectFromTables(){var e;this.connectionSelectorsTables&&(e=this.commsConnections(this.connectionSelectorsTables),this.dispatchExternal("movableRowsSendingStop",e),this.commsSend(this.connectionSelectorsTables,"moveRow","disconnect")),this.connectionElements.forEach(r=>{r.classList.remove("tabulator-movingrow-receiving"),r.removeEventListener("mouseup",r.tabulatorElementDropEvent),delete r.tabulatorElementDropEvent})}connect(e,r){return this.connectedTable?(console.warn("Move Row Error - Table cannot accept connection, already connected to table:",this.connectedTable),!1):(this.connectedTable=e,this.connectedRow=r,this.table.element.classList.add("tabulator-movingrow-receiving"),this.table.rowManager.getDisplayRows().forEach(C=>{C.type==="row"&&C.modules.moveRow&&C.modules.moveRow.mouseup&&C.getElement().addEventListener("mouseup",C.modules.moveRow.mouseup)}),this.tableRowDropEvent=this.tableRowDrop.bind(this),this.table.element.addEventListener("mouseup",this.tableRowDropEvent),this.dispatchExternal("movableRowsReceivingStart",r,e),!0)}disconnect(e){e===this.connectedTable?(this.connectedTable=!1,this.connectedRow=!1,this.table.element.classList.remove("tabulator-movingrow-receiving"),this.table.rowManager.getDisplayRows().forEach(r=>{r.type==="row"&&r.modules.moveRow&&r.modules.moveRow.mouseup&&r.getElement().removeEventListener("mouseup",r.modules.moveRow.mouseup)}),this.table.element.removeEventListener("mouseup",this.tableRowDropEvent),this.dispatchExternal("movableRowsReceivingStop",e)):console.warn("Move Row Error - trying to disconnect from non connected table")}dropComplete(e,r,C){var D=!1;if(C){switch(typeof this.table.options.movableRowsSender){case"string":D=this.senders[this.table.options.movableRowsSender];break;case"function":D=this.table.options.movableRowsSender;break}D?D.call(this,this.moving?this.moving.getComponent():void 0,r?r.getComponent():void 0,e):this.table.options.movableRowsSender&&console.warn("Mover Row Error - no matching sender found:",this.table.options.movableRowsSender),this.dispatchExternal("movableRowsSent",this.moving.getComponent(),r?r.getComponent():void 0,e)}else this.dispatchExternal("movableRowsSentFailed",this.moving.getComponent(),r?r.getComponent():void 0,e);this.endMove()}tableRowDrop(e,r){var C=!1,D=!1;switch(e.stopImmediatePropagation(),typeof this.table.options.movableRowsReceiver){case"string":C=this.receivers[this.table.options.movableRowsReceiver];break;case"function":C=this.table.options.movableRowsReceiver;break}C?D=C.call(this,this.connectedRow.getComponent(),r?r.getComponent():void 0,this.connectedTable):console.warn("Mover Row Error - no matching receiver found:",this.table.options.movableRowsReceiver),D?this.dispatchExternal("movableRowsReceived",this.connectedRow.getComponent(),r?r.getComponent():void 0,this.connectedTable):this.dispatchExternal("movableRowsReceivedFailed",this.connectedRow.getComponent(),r?r.getComponent():void 0,this.connectedTable),this.commsSend(this.connectedTable,"moveRow","dropcomplete",{row:r,success:D})}commsReceived(e,r,C){switch(r){case"connect":return this.connect(e,C.row);case"disconnect":return this.disconnect(e);case"dropcomplete":return this.dropComplete(e,C.row,C.success)}}}$y.prototype.receivers={insert:function(n,e,r){return this.table.addRow(n.getData(),void 0,e),!0},add:function(n,e,r){return this.table.addRow(n.getData()),!0},update:function(n,e,r){return e?(e.update(n.getData()),!0):!1},replace:function(n,e,r){return e?(this.table.addRow(n.getData(),void 0,e),e.delete(),!0):!1}};$y.prototype.senders={delete:function(n,e,r){n.delete()}};$y.moduleName="moveRow";var gP={};class o0 extends qi{constructor(e){super(e),this.allowedTypes=["","data","edit","clipboard"],this.enabled=!0,this.registerColumnOption("mutator"),this.registerColumnOption("mutatorParams"),this.registerColumnOption("mutatorData"),this.registerColumnOption("mutatorDataParams"),this.registerColumnOption("mutatorEdit"),this.registerColumnOption("mutatorEditParams"),this.registerColumnOption("mutatorClipboard"),this.registerColumnOption("mutatorClipboardParams"),this.registerColumnOption("mutateLink")}initialize(){this.subscribe("cell-value-changing",this.transformCell.bind(this)),this.subscribe("cell-value-changed",this.mutateLink.bind(this)),this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("row-data-init-before",this.rowDataChanged.bind(this)),this.subscribe("row-data-changing",this.rowDataChanged.bind(this))}rowDataChanged(e,r,C){return this.transformRow(r,"data",C)}initializeColumn(e){var r=!1,C={};this.allowedTypes.forEach(D=>{var T="mutator"+(D.charAt(0).toUpperCase()+D.slice(1)),p;e.definition[T]&&(p=this.lookupMutator(e.definition[T]),p&&(r=!0,C[T]={mutator:p,params:e.definition[T+"Params"]||{}}))}),r&&(e.modules.mutate=C)}lookupMutator(e){var r=!1;switch(typeof e){case"string":o0.mutators[e]?r=o0.mutators[e]:console.warn("Mutator Error - No such mutator found, ignoring: ",e);break;case"function":r=e;break}return r}transformRow(e,r,C){var D="mutator"+(r.charAt(0).toUpperCase()+r.slice(1)),T;return this.enabled&&this.table.columnManager.traverse(p=>{var t,d,g;p.modules.mutate&&(t=p.modules.mutate[D]||p.modules.mutate.mutator||!1,t&&(T=p.getFieldValue(typeof C<"u"?C:e),(r=="data"&&!C||typeof T<"u")&&(g=p.getComponent(),d=typeof t.params=="function"?t.params(T,e,r,g):t.params,p.setFieldValue(e,t.mutator(T,e,r,d,g)))))}),e}transformCell(e,r){if(e.column.modules.mutate){var C=e.column.modules.mutate.mutatorEdit||e.column.modules.mutate.mutator||!1,D={};if(C)return D=Object.assign(D,e.row.getData()),e.column.setFieldValue(D,r),C.mutator(r,D,"edit",C.params,e.getComponent())}return r}mutateLink(e){var r=e.column.definition.mutateLink;r&&(Array.isArray(r)||(r=[r]),r.forEach(C=>{var D=e.row.getCell(C);D&&D.setValue(D.getValue(),!0,!0)}))}enable(){this.enabled=!0}disable(){this.enabled=!1}}o0.moduleName="mutator";o0.mutators=gP;function vP(n,e,r,C,D){var T=document.createElement("span"),p=document.createElement("span"),t=document.createElement("span"),d=document.createElement("span"),g=document.createElement("span"),i=document.createElement("span");return this.table.modules.localize.langBind("pagination|counter|showing",M=>{p.innerHTML=M}),this.table.modules.localize.langBind("pagination|counter|of",M=>{d.innerHTML=M}),this.table.modules.localize.langBind("pagination|counter|rows",M=>{i.innerHTML=M}),C?(t.innerHTML=" "+e+"-"+Math.min(e+n-1,C)+" ",g.innerHTML=" "+C+" ",T.appendChild(p),T.appendChild(t),T.appendChild(d),T.appendChild(g),T.appendChild(i)):(t.innerHTML=" 0 ",T.appendChild(p),T.appendChild(t),T.appendChild(i)),T}function yP(n,e,r,C,D){var T=document.createElement("span"),p=document.createElement("span"),t=document.createElement("span"),d=document.createElement("span"),g=document.createElement("span"),i=document.createElement("span");return this.table.modules.localize.langBind("pagination|counter|showing",M=>{p.innerHTML=M}),t.innerHTML=" "+r+" ",this.table.modules.localize.langBind("pagination|counter|of",M=>{d.innerHTML=M}),g.innerHTML=" "+D+" ",this.table.modules.localize.langBind("pagination|counter|pages",M=>{i.innerHTML=M}),T.appendChild(p),T.appendChild(t),T.appendChild(d),T.appendChild(g),T.appendChild(i),T}var bP={rows:vP,pages:yP};class rg extends qi{constructor(e){super(e),this.mode="local",this.progressiveLoad=!1,this.element=null,this.pageCounterElement=null,this.pageCounter=null,this.size=0,this.page=1,this.count=5,this.max=1,this.remoteRowCountEstimate=null,this.initialLoad=!0,this.dataChanging=!1,this.pageSizes=[],this.registerTableOption("pagination",!1),this.registerTableOption("paginationMode","local"),this.registerTableOption("paginationSize",!1),this.registerTableOption("paginationInitialPage",1),this.registerTableOption("paginationCounter",!1),this.registerTableOption("paginationCounterElement",!1),this.registerTableOption("paginationButtonCount",5),this.registerTableOption("paginationSizeSelector",!1),this.registerTableOption("paginationElement",!1),this.registerTableOption("paginationAddRow","page"),this.registerTableOption("progressiveLoad",!1),this.registerTableOption("progressiveLoadDelay",0),this.registerTableOption("progressiveLoadScrollMargin",0),this.registerTableFunction("setMaxPage",this.setMaxPage.bind(this)),this.registerTableFunction("setPage",this.setPage.bind(this)),this.registerTableFunction("setPageToRow",this.userSetPageToRow.bind(this)),this.registerTableFunction("setPageSize",this.userSetPageSize.bind(this)),this.registerTableFunction("getPageSize",this.getPageSize.bind(this)),this.registerTableFunction("previousPage",this.previousPage.bind(this)),this.registerTableFunction("nextPage",this.nextPage.bind(this)),this.registerTableFunction("getPage",this.getPage.bind(this)),this.registerTableFunction("getPageMax",this.getPageMax.bind(this)),this.registerComponentFunction("row","pageTo",this.setPageToRow.bind(this))}initialize(){this.table.options.pagination?(this.subscribe("row-deleted",this.rowsUpdated.bind(this)),this.subscribe("row-added",this.rowsUpdated.bind(this)),this.subscribe("data-processed",this.initialLoadComplete.bind(this)),this.subscribe("table-built",this.calculatePageSizes.bind(this)),this.subscribe("footer-redraw",this.footerRedraw.bind(this)),this.table.options.paginationAddRow=="page"&&this.subscribe("row-adding-position",this.rowAddingPosition.bind(this)),this.table.options.paginationMode==="remote"&&(this.subscribe("data-params",this.remotePageParams.bind(this)),this.subscribe("data-loaded",this._parseRemoteData.bind(this))),this.table.options.progressiveLoad&&console.error("Progressive Load Error - Pagination and progressive load cannot be used at the same time"),this.registerDisplayHandler(this.restOnRenderBefore.bind(this),40),this.registerDisplayHandler(this.getRows.bind(this),50),this.createElements(),this.initializePageCounter(),this.initializePaginator()):this.table.options.progressiveLoad&&(this.subscribe("data-params",this.remotePageParams.bind(this)),this.subscribe("data-loaded",this._parseRemoteData.bind(this)),this.subscribe("table-built",this.calculatePageSizes.bind(this)),this.subscribe("data-processed",this.initialLoadComplete.bind(this)),this.initializeProgressive(this.table.options.progressiveLoad),this.table.options.progressiveLoad==="scroll"&&this.subscribe("scroll-vertical",this.scrollVertical.bind(this)))}rowAddingPosition(e,r){var C=this.table.rowManager,D=C.getDisplayRows(),T;return r?D.length?T=D[0]:C.activeRows.length&&(T=C.activeRows[C.activeRows.length-1],r=!1):D.length&&(T=D[D.length-1],r=!(D.length{}))}restOnRenderBefore(e,r){return r||this.mode==="local"&&this.reset(),e}rowsUpdated(){this.refreshData(!0,"all")}createElements(){var e;this.element=document.createElement("span"),this.element.classList.add("tabulator-paginator"),this.pagesElement=document.createElement("span"),this.pagesElement.classList.add("tabulator-pages"),e=document.createElement("button"),e.classList.add("tabulator-page"),e.setAttribute("type","button"),e.setAttribute("role","button"),e.setAttribute("aria-label",""),e.setAttribute("title",""),this.firstBut=e.cloneNode(!0),this.firstBut.setAttribute("data-page","first"),this.prevBut=e.cloneNode(!0),this.prevBut.setAttribute("data-page","prev"),this.nextBut=e.cloneNode(!0),this.nextBut.setAttribute("data-page","next"),this.lastBut=e.cloneNode(!0),this.lastBut.setAttribute("data-page","last"),this.table.options.paginationSizeSelector&&(this.pageSizeSelect=document.createElement("select"),this.pageSizeSelect.classList.add("tabulator-page-size"))}generatePageSizeSelectList(){var e=[];if(this.pageSizeSelect){if(Array.isArray(this.table.options.paginationSizeSelector))e=this.table.options.paginationSizeSelector,this.pageSizes=e,this.pageSizes.indexOf(this.size)==-1&&e.unshift(this.size);else if(this.pageSizes.indexOf(this.size)==-1){e=[];for(let r=1;r<5;r++)e.push(this.size*r);this.pageSizes=e}else e=this.pageSizes;for(;this.pageSizeSelect.firstChild;)this.pageSizeSelect.removeChild(this.pageSizeSelect.firstChild);e.forEach(r=>{var C=document.createElement("option");C.value=r,r===!0?this.langBind("pagination|all",function(D){C.innerHTML=D}):C.innerHTML=r,this.pageSizeSelect.appendChild(C)}),this.pageSizeSelect.value=this.size}}initializePageCounter(){var e=this.table.options.paginationCounter,r=null;e&&(typeof e=="function"?r=e:r=rg.pageCounters[e],r?(this.pageCounter=r,this.pageCounterElement=document.createElement("span"),this.pageCounterElement.classList.add("tabulator-page-counter")):console.warn("Pagination Error - No such page counter found: ",e))}initializePaginator(e){var r,C;e||(this.langBind("pagination|first",D=>{this.firstBut.innerHTML=D}),this.langBind("pagination|first_title",D=>{this.firstBut.setAttribute("aria-label",D),this.firstBut.setAttribute("title",D)}),this.langBind("pagination|prev",D=>{this.prevBut.innerHTML=D}),this.langBind("pagination|prev_title",D=>{this.prevBut.setAttribute("aria-label",D),this.prevBut.setAttribute("title",D)}),this.langBind("pagination|next",D=>{this.nextBut.innerHTML=D}),this.langBind("pagination|next_title",D=>{this.nextBut.setAttribute("aria-label",D),this.nextBut.setAttribute("title",D)}),this.langBind("pagination|last",D=>{this.lastBut.innerHTML=D}),this.langBind("pagination|last_title",D=>{this.lastBut.setAttribute("aria-label",D),this.lastBut.setAttribute("title",D)}),this.firstBut.addEventListener("click",()=>{this.setPage(1)}),this.prevBut.addEventListener("click",()=>{this.previousPage()}),this.nextBut.addEventListener("click",()=>{this.nextPage()}),this.lastBut.addEventListener("click",()=>{this.setPage(this.max)}),this.table.options.paginationElement&&(this.element=this.table.options.paginationElement),this.pageSizeSelect&&(r=document.createElement("label"),this.langBind("pagination|page_size",D=>{this.pageSizeSelect.setAttribute("aria-label",D),this.pageSizeSelect.setAttribute("title",D),r.innerHTML=D}),this.element.appendChild(r),this.element.appendChild(this.pageSizeSelect),this.pageSizeSelect.addEventListener("change",D=>{this.setPageSize(this.pageSizeSelect.value=="true"?!0:this.pageSizeSelect.value),this.setPage(1)})),this.element.appendChild(this.firstBut),this.element.appendChild(this.prevBut),this.element.appendChild(this.pagesElement),this.element.appendChild(this.nextBut),this.element.appendChild(this.lastBut),this.table.options.paginationElement||(this.table.options.paginationCounter&&(this.table.options.paginationCounterElement?this.table.options.paginationCounterElement instanceof HTMLElement?this.table.options.paginationCounterElement.appendChild(this.pageCounterElement):typeof this.table.options.paginationCounterElement=="string"&&(C=document.querySelector(this.table.options.paginationCounterElement),C?C.appendChild(this.pageCounterElement):console.warn("Pagination Error - Unable to find element matching paginationCounterElement selector:",this.table.options.paginationCounterElement)):this.footerAppend(this.pageCounterElement)),this.footerAppend(this.element)),this.page=this.table.options.paginationInitialPage,this.count=this.table.options.paginationButtonCount),this.mode=this.table.options.paginationMode}initializeProgressive(e){this.initializePaginator(!0),this.mode="progressive_"+e,this.progressiveLoad=!0}trackChanges(){this.dispatch("page-changed")}setMaxRows(e){e?this.max=this.size===!0?1:Math.ceil(e/this.size):this.max=1,this.page>this.max&&(this.page=this.max)}reset(e){this.initialLoad||(this.mode=="local"||e)&&(this.page=1,this.trackChanges())}setMaxPage(e){e=parseInt(e),this.max=e||1,this.page>this.max&&(this.page=this.max,this.trigger())}setPage(e){switch(e){case"first":return this.setPage(1);case"prev":return this.previousPage();case"next":return this.nextPage();case"last":return this.setPage(this.max)}return e=parseInt(e),e>0&&e<=this.max||this.mode!=="local"?(this.page=e,this.trackChanges(),this.trigger()):(console.warn("Pagination Error - Requested page is out of range of 1 - "+this.max+":",e),Promise.reject())}setPageToRow(e){var r=this.displayRows(-1),C=r.indexOf(e);if(C>-1){var D=this.size===!0?1:Math.ceil((C+1)/this.size);return this.setPage(D)}else return console.warn("Pagination Error - Requested row is not visible"),Promise.reject()}setPageSize(e){e!==!0&&(e=parseInt(e)),e>0&&(this.size=e,this.dispatchExternal("pageSizeChanged",e)),this.pageSizeSelect&&this.generatePageSizeSelectList(),this.trackChanges()}_setPageCounter(e,r,C){var D;if(this.pageCounter)switch(this.mode==="remote"&&(r=this.size,C=(this.page-1)*this.size+1,e=this.remoteRowCountEstimate),D=this.pageCounter.call(this,r,C,this.page,e,this.max),typeof D){case"object":if(D instanceof Node){for(;this.pageCounterElement.firstChild;)this.pageCounterElement.removeChild(this.pageCounterElement.firstChild);this.pageCounterElement.appendChild(D)}else this.pageCounterElement.innerHTML="",D!=null&&console.warn("Page Counter Error - Page Counter has returned a type of object, the only valid page counter object return is an instance of Node, the page counter returned:",D);break;case"undefined":this.pageCounterElement.innerHTML="";break;default:this.pageCounterElement.innerHTML=D}}_setPageButtons(){let e=Math.floor((this.count-1)/2),r=Math.ceil((this.count-1)/2),C=this.max-this.page+e+10&&T<=this.max&&this.pagesElement.appendChild(this._generatePageButton(T));this.footerRedraw()}_generatePageButton(e){var r=document.createElement("button");return r.classList.add("tabulator-page"),e==this.page&&r.classList.add("active"),r.setAttribute("type","button"),r.setAttribute("role","button"),this.langBind("pagination|page_title",C=>{r.setAttribute("aria-label",C+" "+e),r.setAttribute("title",C+" "+e)}),r.setAttribute("data-page",e),r.textContent=e,r.addEventListener("click",C=>{this.setPage(e)}),r}previousPage(){return this.page>1?(this.page--,this.trackChanges(),this.trigger()):(console.warn("Pagination Error - Previous page would be less than page 1:",0),Promise.reject())}nextPage(){return this.paged.type==="row");if(this.mode=="local"){C=[],this.setMaxRows(e.length),this.size===!0?(D=0,T=e.length):(D=this.size*(this.page-1),T=D+parseInt(this.size)),this._setPageButtons();for(let d=D;d{this.dataChanging=!1});case"progressive_load":case"progressive_scroll":return this.reloadData(null,!0);default:return console.warn("Pagination Error - no such pagination mode:",this.mode),Promise.reject()}}_parseRemoteData(e){var r;if(typeof e.last_page>"u"&&console.warn("Remote Pagination Error - Server response missing '"+(this.options("dataReceiveParams").last_page||"last_page")+"' property"),e.data)if(this.max=parseInt(e.last_page)||1,this.remoteRowCountEstimate=typeof e.last_row<"u"?e.last_row:e.last_page*this.size-(this.page==e.last_page?this.size-e.data.length:0),this.progressiveLoad){switch(this.mode){case"progressive_load":this.page==1?this.table.rowManager.setData(e.data,!1,this.page==1):this.table.rowManager.addRows(e.data),this.page{this.nextPage()},this.table.options.progressiveLoadDelay);break;case"progressive_scroll":e=this.page===1?e.data:this.table.rowManager.getData().concat(e.data),this.table.rowManager.setData(e,this.page!==1,this.page==1),r=this.table.options.progressiveLoadScrollMargin||this.table.rowManager.element.clientHeight*2,this.table.rowManager.element.scrollHeight<=this.table.rowManager.element.clientHeight+r&&this.page{this.nextPage()});break}return!1}else this.dispatchExternal("pageLoaded",this.getPage());else console.warn("Remote Pagination Error - Server response missing '"+(this.options("dataReceiveParams").data||"data")+"' property");return e.data}footerRedraw(){var e=this.table.footerManager.containerElement;Math.ceil(e.clientWidth)-e.scrollWidth<0?this.pagesElement.style.display="none":(this.pagesElement.style.display="",Math.ceil(e.clientWidth)-e.scrollWidth<0&&(this.pagesElement.style.display="none"))}}rg.moduleName="page";rg.pageCounters=bP;var xP={local:function(n,e){var r=localStorage.getItem(n+"-"+e);return r?JSON.parse(r):!1},cookie:function(n,e){var r=document.cookie,C=n+"-"+e,D=r.indexOf(C+"="),T,p;return D>-1&&(r=r.slice(D),T=r.indexOf(";"),T>-1&&(r=r.slice(0,T)),p=r.replace(C+"=","")),p?JSON.parse(p):!1}},_P={local:function(n,e,r){localStorage.setItem(n+"-"+e,JSON.stringify(r))},cookie:function(n,e,r){var C=new Date;C.setDate(C.getDate()+1e4),document.cookie=n+"-"+e+"="+JSON.stringify(r)+"; expires="+C.toUTCString()}};class jl extends qi{constructor(e){super(e),this.mode="",this.id="",this.defWatcherBlock=!1,this.config={},this.readFunc=!1,this.writeFunc=!1,this.registerTableOption("persistence",!1),this.registerTableOption("persistenceID",""),this.registerTableOption("persistenceMode",!0),this.registerTableOption("persistenceReaderFunc",!1),this.registerTableOption("persistenceWriterFunc",!1)}localStorageTest(){var e="_tabulator_test";try{return window.localStorage.setItem(e,e),window.localStorage.removeItem(e),!0}catch{return!1}}initialize(){if(this.table.options.persistence){var e=this.table.options.persistenceMode,r=this.table.options.persistenceID,C;this.mode=e!==!0?e:this.localStorageTest()?"local":"cookie",this.table.options.persistenceReaderFunc?typeof this.table.options.persistenceReaderFunc=="function"?this.readFunc=this.table.options.persistenceReaderFunc:jl.readers[this.table.options.persistenceReaderFunc]?this.readFunc=jl.readers[this.table.options.persistenceReaderFunc]:console.warn("Persistence Read Error - invalid reader set",this.table.options.persistenceReaderFunc):jl.readers[this.mode]?this.readFunc=jl.readers[this.mode]:console.warn("Persistence Read Error - invalid reader set",this.mode),this.table.options.persistenceWriterFunc?typeof this.table.options.persistenceWriterFunc=="function"?this.writeFunc=this.table.options.persistenceWriterFunc:jl.writers[this.table.options.persistenceWriterFunc]?this.writeFunc=jl.writers[this.table.options.persistenceWriterFunc]:console.warn("Persistence Write Error - invalid reader set",this.table.options.persistenceWriterFunc):jl.writers[this.mode]?this.writeFunc=jl.writers[this.mode]:console.warn("Persistence Write Error - invalid writer set",this.mode),this.id="tabulator-"+(r||this.table.element.getAttribute("id")||""),this.config={sort:this.table.options.persistence===!0||this.table.options.persistence.sort,filter:this.table.options.persistence===!0||this.table.options.persistence.filter,headerFilter:this.table.options.persistence===!0||this.table.options.persistence.headerFilter,group:this.table.options.persistence===!0||this.table.options.persistence.group,page:this.table.options.persistence===!0||this.table.options.persistence.page,columns:this.table.options.persistence===!0?["title","width","visible"]:this.table.options.persistence.columns},this.config.page&&(C=this.retrieveData("page"),C&&(typeof C.paginationSize<"u"&&(this.config.page===!0||this.config.page.size)&&(this.table.options.paginationSize=C.paginationSize),typeof C.paginationInitialPage<"u"&&(this.config.page===!0||this.config.page.page)&&(this.table.options.paginationInitialPage=C.paginationInitialPage))),this.config.group&&(C=this.retrieveData("group"),C&&(typeof C.groupBy<"u"&&(this.config.group===!0||this.config.group.groupBy)&&(this.table.options.groupBy=C.groupBy),typeof C.groupStartOpen<"u"&&(this.config.group===!0||this.config.group.groupStartOpen)&&(this.table.options.groupStartOpen=C.groupStartOpen),typeof C.groupHeader<"u"&&(this.config.group===!0||this.config.group.groupHeader)&&(this.table.options.groupHeader=C.groupHeader))),this.config.columns&&(this.table.options.columns=this.load("columns",this.table.options.columns),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("column-show",this.save.bind(this,"columns")),this.subscribe("column-hide",this.save.bind(this,"columns")),this.subscribe("column-moved",this.save.bind(this,"columns"))),this.subscribe("table-built",this.tableBuilt.bind(this),0),this.subscribe("table-redraw",this.tableRedraw.bind(this)),this.subscribe("filter-changed",this.eventSave.bind(this,"filter")),this.subscribe("filter-changed",this.eventSave.bind(this,"headerFilter")),this.subscribe("sort-changed",this.eventSave.bind(this,"sort")),this.subscribe("group-changed",this.eventSave.bind(this,"group")),this.subscribe("page-changed",this.eventSave.bind(this,"page")),this.subscribe("column-resized",this.eventSave.bind(this,"columns")),this.subscribe("column-width",this.eventSave.bind(this,"columns")),this.subscribe("layout-refreshed",this.eventSave.bind(this,"columns"))}this.registerTableFunction("getColumnLayout",this.getColumnLayout.bind(this)),this.registerTableFunction("setColumnLayout",this.setColumnLayout.bind(this))}eventSave(e){this.config[e]&&this.save(e)}tableBuilt(){var e,r,C;this.config.sort&&(e=this.load("sort"),e&&(this.table.options.initialSort=e)),this.config.filter&&(r=this.load("filter"),r&&(this.table.options.initialFilter=r)),this.config.headerFilter&&(C=this.load("headerFilter"),C&&(this.table.options.initialHeaderFilter=C))}tableRedraw(e){e&&this.config.columns&&this.save("columns")}getColumnLayout(){return this.parseColumns(this.table.columnManager.getColumns())}setColumnLayout(e){return this.table.columnManager.setColumns(this.mergeDefinition(this.table.options.columns,e,!0)),!0}initializeColumn(e){var r,C;this.config.columns&&(this.defWatcherBlock=!0,r=e.getDefinition(),C=this.config.columns===!0?Object.keys(r):this.config.columns,C.forEach(D=>{var T=Object.getOwnPropertyDescriptor(r,D),p=r[D];T&&Object.defineProperty(r,D,{set:t=>{p=t,this.defWatcherBlock||this.save("columns"),T.set&&T.set(t)},get:()=>(T.get&&T.get(),p)})}),this.defWatcherBlock=!1)}load(e,r){var C=this.retrieveData(e);return r&&(C=C?this.mergeDefinition(r,C):r),C}retrieveData(e){return this.readFunc?this.readFunc(this.id,e):!1}mergeDefinition(e,r,C){var D=[];return r=r||[],r.forEach((T,p)=>{var t=this._findColumn(e,T),d;t&&(C?d=Object.keys(T):this.config.columns===!0||this.config.columns==null?(d=Object.keys(t),d.push("width")):d=this.config.columns,d.forEach(g=>{g!=="columns"&&typeof T[g]<"u"&&(t[g]=T[g])}),t.columns&&(t.columns=this.mergeDefinition(t.columns,T.columns)),D.push(t))}),e.forEach((T,p)=>{var t=this._findColumn(r,T);t||(D.length>p?D.splice(p,0,T):D.push(T))}),D}_findColumn(e,r){var C=r.columns?"group":r.field?"field":"object";return e.find(function(D){switch(C){case"group":return D.title===r.title&&D.columns.length===r.columns.length;case"field":return D.field===r.field;case"object":return D===r}})}save(e){var r={};switch(e){case"columns":r=this.parseColumns(this.table.columnManager.getColumns());break;case"filter":r=this.table.modules.filter.getFilters();break;case"headerFilter":r=this.table.modules.filter.getHeaderFilters();break;case"sort":r=this.validateSorters(this.table.modules.sort.getSort());break;case"group":r=this.getGroupConfig();break;case"page":r=this.getPageConfig();break}this.writeFunc&&this.writeFunc(this.id,e,r)}validateSorters(e){return e.forEach(function(r){r.column=r.field,delete r.field}),e}getGroupConfig(){var e={};return this.config.group&&((this.config.group===!0||this.config.group.groupBy)&&(e.groupBy=this.table.options.groupBy),(this.config.group===!0||this.config.group.groupStartOpen)&&(e.groupStartOpen=this.table.options.groupStartOpen),(this.config.group===!0||this.config.group.groupHeader)&&(e.groupHeader=this.table.options.groupHeader)),e}getPageConfig(){var e={};return this.config.page&&((this.config.page===!0||this.config.page.size)&&(e.paginationSize=this.table.modules.page.getPageSize()),(this.config.page===!0||this.config.page.page)&&(e.paginationInitialPage=this.table.modules.page.getPage())),e}parseColumns(e){var r=[],C=["headerContextMenu","headerMenu","contextMenu","clickMenu"];return e.forEach(D=>{var T={},p=D.getDefinition(),t;D.isGroup?(T.title=p.title,T.columns=this.parseColumns(D.getColumns())):(T.field=D.getField(),this.config.columns===!0||this.config.columns==null?(t=Object.keys(p),t.push("width"),t.push("visible")):t=this.config.columns,t.forEach(d=>{switch(d){case"width":T.width=D.getWidth();break;case"visible":T.visible=D.visible;break;default:typeof p[d]!="function"&&C.indexOf(d)===-1&&(T[d]=p[d])}})),r.push(T)}),r}}jl.moduleName="persistence";jl.moduleInitOrder=-10;jl.readers=xP;jl.writers=_P;class HM extends qi{constructor(e){super(e),this.columnSubscribers={},this.registerTableOption("rowContextPopup",!1),this.registerTableOption("rowClickPopup",!1),this.registerTableOption("rowDblClickPopup",!1),this.registerTableOption("groupContextPopup",!1),this.registerTableOption("groupClickPopup",!1),this.registerTableOption("groupDblClickPopup",!1),this.registerColumnOption("headerContextPopup"),this.registerColumnOption("headerClickPopup"),this.registerColumnOption("headerDblClickPopup"),this.registerColumnOption("headerPopup"),this.registerColumnOption("headerPopupIcon"),this.registerColumnOption("contextPopup"),this.registerColumnOption("clickPopup"),this.registerColumnOption("dblClickPopup"),this.registerComponentFunction("cell","popup",this._componentPopupCall.bind(this)),this.registerComponentFunction("column","popup",this._componentPopupCall.bind(this)),this.registerComponentFunction("row","popup",this._componentPopupCall.bind(this)),this.registerComponentFunction("group","popup",this._componentPopupCall.bind(this))}initialize(){this.initializeRowWatchers(),this.initializeGroupWatchers(),this.subscribe("column-init",this.initializeColumn.bind(this))}_componentPopupCall(e,r,C){this.loadPopupEvent(r,null,e,C)}initializeRowWatchers(){this.table.options.rowContextPopup&&(this.subscribe("row-contextmenu",this.loadPopupEvent.bind(this,this.table.options.rowContextPopup)),this.table.on("rowTapHold",this.loadPopupEvent.bind(this,this.table.options.rowContextPopup))),this.table.options.rowClickPopup&&this.subscribe("row-click",this.loadPopupEvent.bind(this,this.table.options.rowClickPopup)),this.table.options.rowDblClickPopup&&this.subscribe("row-dblclick",this.loadPopupEvent.bind(this,this.table.options.rowDblClickPopup))}initializeGroupWatchers(){this.table.options.groupContextPopup&&(this.subscribe("group-contextmenu",this.loadPopupEvent.bind(this,this.table.options.groupContextPopup)),this.table.on("groupTapHold",this.loadPopupEvent.bind(this,this.table.options.groupContextPopup))),this.table.options.groupClickPopup&&this.subscribe("group-click",this.loadPopupEvent.bind(this,this.table.options.groupClickPopup)),this.table.options.groupDblClickPopup&&this.subscribe("group-dblclick",this.loadPopupEvent.bind(this,this.table.options.groupDblClickPopup))}initializeColumn(e){var r=e.definition;r.headerContextPopup&&!this.columnSubscribers.headerContextPopup&&(this.columnSubscribers.headerContextPopup=this.loadPopupTableColumnEvent.bind(this,"headerContextPopup"),this.subscribe("column-contextmenu",this.columnSubscribers.headerContextPopup),this.table.on("headerTapHold",this.loadPopupTableColumnEvent.bind(this,"headerContextPopup"))),r.headerClickPopup&&!this.columnSubscribers.headerClickPopup&&(this.columnSubscribers.headerClickPopup=this.loadPopupTableColumnEvent.bind(this,"headerClickPopup"),this.subscribe("column-click",this.columnSubscribers.headerClickPopup)),r.headerDblClickPopup&&!this.columnSubscribers.headerDblClickPopup&&(this.columnSubscribers.headerDblClickPopup=this.loadPopupTableColumnEvent.bind(this,"headerDblClickPopup"),this.subscribe("column-dblclick",this.columnSubscribers.headerDblClickPopup)),r.headerPopup&&this.initializeColumnHeaderPopup(e),r.contextPopup&&!this.columnSubscribers.contextPopup&&(this.columnSubscribers.contextPopup=this.loadPopupTableCellEvent.bind(this,"contextPopup"),this.subscribe("cell-contextmenu",this.columnSubscribers.contextPopup),this.table.on("cellTapHold",this.loadPopupTableCellEvent.bind(this,"contextPopup"))),r.clickPopup&&!this.columnSubscribers.clickPopup&&(this.columnSubscribers.clickPopup=this.loadPopupTableCellEvent.bind(this,"clickPopup"),this.subscribe("cell-click",this.columnSubscribers.clickPopup)),r.dblClickPopup&&!this.columnSubscribers.dblClickPopup&&(this.columnSubscribers.dblClickPopup=this.loadPopupTableCellEvent.bind(this,"dblClickPopup"),this.subscribe("cell-click",this.columnSubscribers.dblClickPopup))}initializeColumnHeaderPopup(e){var r=e.definition.headerPopupIcon,C;C=document.createElement("span"),C.classList.add("tabulator-header-popup-button"),r?(typeof r=="function"&&(r=r(e.getComponent())),r instanceof HTMLElement?C.appendChild(r):C.innerHTML=r):C.innerHTML="⋮",C.addEventListener("click",D=>{D.stopPropagation(),D.preventDefault(),this.loadPopupEvent(e.definition.headerPopup,D,e)}),e.titleElement.insertBefore(C,e.titleElement.firstChild)}loadPopupTableCellEvent(e,r,C){C._cell&&(C=C._cell),C.column.definition[e]&&this.loadPopupEvent(C.column.definition[e],r,C)}loadPopupTableColumnEvent(e,r,C){C._column&&(C=C._column),C.definition[e]&&this.loadPopupEvent(C.definition[e],r,C)}loadPopupEvent(e,r,C,D){var T;function p(t){T=t}C._group?C=C._group:C._row&&(C=C._row),e=typeof e=="function"?e.call(this.table,r,C.getComponent(),p):e,this.loadPopup(r,C,e,T,D)}loadPopup(e,r,C,D,T){var p=!(e instanceof MouseEvent),t,d;C instanceof HTMLElement?t=C:(t=document.createElement("div"),t.innerHTML=C),t.classList.add("tabulator-popup"),t.addEventListener("click",g=>{g.stopPropagation()}),p||e.preventDefault(),d=this.popup(t),typeof D=="function"&&d.renderCallback(D),e?d.show(e):d.show(r.getElement(),T||"center"),d.hideOnBlur(()=>{this.dispatchExternal("popupClosed",r.getComponent())}),this.dispatchExternal("popupOpened",r.getComponent())}}HM.moduleName="popup";class GM extends qi{constructor(e){super(e),this.element=!1,this.manualBlock=!1,this.beforeprintEventHandler=null,this.afterprintEventHandler=null,this.registerTableOption("printAsHtml",!1),this.registerTableOption("printFormatter",!1),this.registerTableOption("printHeader",!1),this.registerTableOption("printFooter",!1),this.registerTableOption("printStyled",!0),this.registerTableOption("printRowRange","visible"),this.registerTableOption("printConfig",{}),this.registerColumnOption("print"),this.registerColumnOption("titlePrint")}initialize(){this.table.options.printAsHtml&&(this.beforeprintEventHandler=this.replaceTable.bind(this),this.afterprintEventHandler=this.cleanup.bind(this),window.addEventListener("beforeprint",this.beforeprintEventHandler),window.addEventListener("afterprint",this.afterprintEventHandler),this.subscribe("table-destroy",this.destroy.bind(this))),this.registerTableFunction("print",this.printFullscreen.bind(this))}destroy(){this.table.options.printAsHtml&&(window.removeEventListener("beforeprint",this.beforeprintEventHandler),window.removeEventListener("afterprint",this.afterprintEventHandler))}replaceTable(){this.manualBlock||(this.element=document.createElement("div"),this.element.classList.add("tabulator-print-table"),this.element.appendChild(this.table.modules.export.generateTable(this.table.options.printConfig,this.table.options.printStyled,this.table.options.printRowRange,"print")),this.table.element.style.display="none",this.table.element.parentNode.insertBefore(this.element,this.table.element))}cleanup(){document.body.classList.remove("tabulator-print-fullscreen-hide"),this.element&&this.element.parentNode&&(this.element.parentNode.removeChild(this.element),this.table.element.style.display="")}printFullscreen(e,r,C){var D=window.scrollX,T=window.scrollY,p=document.createElement("div"),t=document.createElement("div"),d=this.table.modules.export.generateTable(typeof C<"u"?C:this.table.options.printConfig,typeof r<"u"?r:this.table.options.printStyled,e||this.table.options.printRowRange,"print"),g,i;this.manualBlock=!0,this.element=document.createElement("div"),this.element.classList.add("tabulator-print-fullscreen"),this.table.options.printHeader&&(p.classList.add("tabulator-print-header"),g=typeof this.table.options.printHeader=="function"?this.table.options.printHeader.call(this.table):this.table.options.printHeader,typeof g=="string"?p.innerHTML=g:p.appendChild(g),this.element.appendChild(p)),this.element.appendChild(d),this.table.options.printFooter&&(t.classList.add("tabulator-print-footer"),i=typeof this.table.options.printFooter=="function"?this.table.options.printFooter.call(this.table):this.table.options.printFooter,typeof i=="string"?t.innerHTML=i:t.appendChild(i),this.element.appendChild(t)),document.body.classList.add("tabulator-print-fullscreen-hide"),document.body.appendChild(this.element),this.table.options.printFormatter&&this.table.options.printFormatter(this.element,d),window.print(),this.cleanup(),window.scrollTo(D,T),this.manualBlock=!1}}GM.moduleName="print";class qM extends qi{constructor(e){super(e),this.data=!1,this.blocked=!1,this.origFuncs={},this.currentVersion=0,this.registerTableOption("reactiveData",!1)}initialize(){this.table.options.reactiveData&&(this.subscribe("cell-value-save-before",this.block.bind(this,"cellsave")),this.subscribe("cell-value-save-after",this.unblock.bind(this,"cellsave")),this.subscribe("row-data-save-before",this.block.bind(this,"rowsave")),this.subscribe("row-data-save-after",this.unblock.bind(this,"rowsave")),this.subscribe("row-data-init-after",this.watchRow.bind(this)),this.subscribe("data-processing",this.watchData.bind(this)),this.subscribe("table-destroy",this.unwatchData.bind(this)))}watchData(e){var r=this,C;this.currentVersion++,C=this.currentVersion,this.unwatchData(),this.data=e,this.origFuncs.push=e.push,Object.defineProperty(this.data,"push",{enumerable:!1,configurable:!0,value:function(){var D=Array.from(arguments),T;return!r.blocked&&C===r.currentVersion&&(r.block("data-push"),D.forEach(p=>{r.table.rowManager.addRowActual(p,!1)}),T=r.origFuncs.push.apply(e,arguments),r.unblock("data-push")),T}}),this.origFuncs.unshift=e.unshift,Object.defineProperty(this.data,"unshift",{enumerable:!1,configurable:!0,value:function(){var D=Array.from(arguments),T;return!r.blocked&&C===r.currentVersion&&(r.block("data-unshift"),D.forEach(p=>{r.table.rowManager.addRowActual(p,!0)}),T=r.origFuncs.unshift.apply(e,arguments),r.unblock("data-unshift")),T}}),this.origFuncs.shift=e.shift,Object.defineProperty(this.data,"shift",{enumerable:!1,configurable:!0,value:function(){var D,T;return!r.blocked&&C===r.currentVersion&&(r.block("data-shift"),r.data.length&&(D=r.table.rowManager.getRowFromDataObject(r.data[0]),D&&D.deleteActual()),T=r.origFuncs.shift.call(e),r.unblock("data-shift")),T}}),this.origFuncs.pop=e.pop,Object.defineProperty(this.data,"pop",{enumerable:!1,configurable:!0,value:function(){var D,T;return!r.blocked&&C===r.currentVersion&&(r.block("data-pop"),r.data.length&&(D=r.table.rowManager.getRowFromDataObject(r.data[r.data.length-1]),D&&D.deleteActual()),T=r.origFuncs.pop.call(e),r.unblock("data-pop")),T}}),this.origFuncs.splice=e.splice,Object.defineProperty(this.data,"splice",{enumerable:!1,configurable:!0,value:function(){var D=Array.from(arguments),T=D[0]<0?e.length+D[0]:D[0],p=D[1],t=D[2]?D.slice(2):!1,d,g;if(!r.blocked&&C===r.currentVersion){if(r.block("data-splice"),t&&(d=e[T]?r.table.rowManager.getRowFromDataObject(e[T]):!1,d?t.forEach(M=>{r.table.rowManager.addRowActual(M,!0,d,!0)}):(t=t.slice().reverse(),t.forEach(M=>{r.table.rowManager.addRowActual(M,!0,!1,!0)}))),p!==0){var i=e.slice(T,typeof D[1]>"u"?D[1]:T+p);i.forEach((M,v)=>{var f=r.table.rowManager.getRowFromDataObject(M);f&&f.deleteActual(v!==i.length-1)})}(t||p!==0)&&r.table.rowManager.reRenderInPosition(),g=r.origFuncs.splice.apply(e,arguments),r.unblock("data-splice")}return g}})}unwatchData(){if(this.data!==!1)for(var e in this.origFuncs)Object.defineProperty(this.data,e,{enumerable:!0,configurable:!0,writable:!0,value:this.origFuncs.key})}watchRow(e){var r=e.getData();for(var C in r)this.watchKey(e,r,C);this.table.options.dataTree&&this.watchTreeChildren(e)}watchTreeChildren(e){var r=this,C=e.getData()[this.table.options.dataTreeChildField],D={};C&&(D.push=C.push,Object.defineProperty(C,"push",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-push");var T=D.push.apply(C,arguments);this.rebuildTree(e),r.unblock("tree-push")}return T}}),D.unshift=C.unshift,Object.defineProperty(C,"unshift",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-unshift");var T=D.unshift.apply(C,arguments);this.rebuildTree(e),r.unblock("tree-unshift")}return T}}),D.shift=C.shift,Object.defineProperty(C,"shift",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-shift");var T=D.shift.call(C);this.rebuildTree(e),r.unblock("tree-shift")}return T}}),D.pop=C.pop,Object.defineProperty(C,"pop",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-pop");var T=D.pop.call(C);this.rebuildTree(e),r.unblock("tree-pop")}return T}}),D.splice=C.splice,Object.defineProperty(C,"splice",{enumerable:!1,configurable:!0,value:()=>{if(!r.blocked){r.block("tree-splice");var T=D.splice.apply(C,arguments);this.rebuildTree(e),r.unblock("tree-splice")}return T}}))}rebuildTree(e){this.table.modules.dataTree.initializeRow(e),this.table.modules.dataTree.layoutRow(e),this.table.rowManager.refreshActiveData("tree",!1,!0)}watchKey(e,r,C){var D=this,T=Object.getOwnPropertyDescriptor(r,C),p=r[C],t=this.currentVersion;Object.defineProperty(r,C,{set:d=>{if(p=d,!D.blocked&&t===D.currentVersion){D.block("key");var g={};g[C]=d,e.updateData(g),D.unblock("key")}T.set&&T.set(d)},get:()=>(T.get&&T.get(),p)})}unwatchRow(e){var r=e.getData();for(var C in r)Object.defineProperty(r,C,{value:r[C]})}block(e){this.blocked||(this.blocked=e)}unblock(e){this.blocked===e&&(this.blocked=!1)}}qM.moduleName="reactiveData";class WM extends qi{constructor(e){super(e),this.startColumn=!1,this.startX=!1,this.startWidth=!1,this.latestX=!1,this.handle=null,this.initialNextColumn=null,this.nextColumn=null,this.initialized=!1,this.registerColumnOption("resizable",!0),this.registerTableOption("resizableColumnFit",!1)}initialize(){this.subscribe("column-rendered",this.layoutColumnHeader.bind(this))}initializeEventWatchers(){this.initialized||(this.subscribe("cell-rendered",this.layoutCellHandles.bind(this)),this.subscribe("cell-delete",this.deInitializeComponent.bind(this)),this.subscribe("cell-height",this.resizeHandle.bind(this)),this.subscribe("column-moved",this.columnLayoutUpdated.bind(this)),this.subscribe("column-hide",this.deInitializeColumn.bind(this)),this.subscribe("column-show",this.columnLayoutUpdated.bind(this)),this.subscribe("column-width",this.columnWidthUpdated.bind(this)),this.subscribe("column-delete",this.deInitializeComponent.bind(this)),this.subscribe("column-height",this.resizeHandle.bind(this)),this.initialized=!0)}layoutCellHandles(e){e.row.type==="row"&&(this.deInitializeComponent(e),this.initializeColumn("cell",e,e.column,e.element))}layoutColumnHeader(e){e.definition.resizable&&(this.initializeEventWatchers(),this.deInitializeComponent(e),this.initializeColumn("header",e,e,e.element))}columnLayoutUpdated(e){var r=e.prevColumn();this.reinitializeColumn(e),r&&this.reinitializeColumn(r)}columnWidthUpdated(e){e.modules.frozen&&(this.table.modules.frozenColumns.leftColumns.includes(e)?this.table.modules.frozenColumns.leftColumns.forEach(r=>{this.reinitializeColumn(r)}):this.table.modules.frozenColumns.rightColumns.includes(e)&&this.table.modules.frozenColumns.rightColumns.forEach(r=>{this.reinitializeColumn(r)}))}frozenColumnOffset(e){var r=!1;return e.modules.frozen&&(r=e.modules.frozen.marginValue,e.modules.frozen.position==="left"?r+=e.getWidth()-3:r&&(r-=3)),r!==!1?r+"px":!1}reinitializeColumn(e){var r=this.frozenColumnOffset(e);e.cells.forEach(C=>{C.modules.resize&&C.modules.resize.handleEl&&(r&&(C.modules.resize.handleEl.style[e.modules.frozen.position]=r,C.modules.resize.handleEl.style["z-index"]=11),C.element.after(C.modules.resize.handleEl))}),e.modules.resize&&e.modules.resize.handleEl&&(r&&(e.modules.resize.handleEl.style[e.modules.frozen.position]=r),e.element.after(e.modules.resize.handleEl))}initializeColumn(e,r,C,D){var T=this,p=!1,t=C.definition.resizable,d={},g=C.getLastColumn();if(e==="header"&&(p=C.definition.formatter=="textarea"||C.definition.variableHeight,d={variableHeight:p}),(t===!0||t==e)&&this._checkResizability(g)){var i=document.createElement("span");i.className="tabulator-col-resize-handle",i.addEventListener("click",function(v){v.stopPropagation()});var M=function(v){T.startColumn=C,T.initialNextColumn=T.nextColumn=g.nextColumn(),T._mouseDown(v,g,i)};i.addEventListener("mousedown",M),i.addEventListener("touchstart",M,{passive:!0}),i.addEventListener("dblclick",v=>{var f=g.getWidth();v.stopPropagation(),g.reinitializeWidth(!0),f!==g.getWidth()&&(T.dispatch("column-resized",g),T.table.externalEvents.dispatch("columnResized",g.getComponent()))}),C.modules.frozen&&(i.style.position="sticky",i.style[C.modules.frozen.position]=this.frozenColumnOffset(C)),d.handleEl=i,D.parentNode&&C.visible&&D.after(i)}r.modules.resize=d}deInitializeColumn(e){this.deInitializeComponent(e),e.cells.forEach(r=>{this.deInitializeComponent(r)})}deInitializeComponent(e){var r;e.modules.resize&&(r=e.modules.resize.handleEl,r&&r.parentElement&&r.parentElement.removeChild(r))}resizeHandle(e,r){e.modules.resize&&e.modules.resize.handleEl&&(e.modules.resize.handleEl.style.height=r)}_checkResizability(e){return e.definition.resizable}_mouseDown(e,r,C){var D=this;D.table.element.classList.add("tabulator-block-select");function T(t){var d=typeof t.screenX>"u"?t.touches[0].screenX:t.screenX,g=d-D.startX,i=d-D.latestX,M,v;if(D.latestX=d,D.table.rtl&&(g=-g,i=-i),M=r.width==r.minWidth||r.width==r.maxWidth,r.setWidth(D.startWidth+g),v=r.width==r.minWidth||r.width==r.maxWidth,i<0&&(D.nextColumn=D.initialNextColumn),D.table.options.resizableColumnFit&&D.nextColumn&&!(M&&v)){let f=D.nextColumn.getWidth();i>0&&f<=D.nextColumn.minWidth&&(D.nextColumn=D.nextColumn.nextColumn()),D.nextColumn&&D.nextColumn.setWidth(D.nextColumn.getWidth()-i)}D.table.columnManager.rerenderColumns(!0),!D.table.browserSlow&&r.modules.resize&&r.modules.resize.variableHeight&&r.checkCellHeights()}function p(t){D.startColumn.modules.edit&&(D.startColumn.modules.edit.blocked=!1),D.table.browserSlow&&r.modules.resize&&r.modules.resize.variableHeight&&r.checkCellHeights(),document.body.removeEventListener("mouseup",p),document.body.removeEventListener("mousemove",T),C.removeEventListener("touchmove",T),C.removeEventListener("touchend",p),D.table.element.classList.remove("tabulator-block-select"),D.startWidth!==r.getWidth()&&(D.table.columnManager.verticalAlignHeaders(),D.dispatch("column-resized",r),D.table.externalEvents.dispatch("columnResized",r.getComponent()))}e.stopPropagation(),D.startColumn.modules.edit&&(D.startColumn.modules.edit.blocked=!0),D.startX=typeof e.screenX>"u"?e.touches[0].screenX:e.screenX,D.latestX=D.startX,D.startWidth=r.getWidth(),document.body.addEventListener("mousemove",T),document.body.addEventListener("mouseup",p),C.addEventListener("touchmove",T,{passive:!0}),C.addEventListener("touchend",p)}}WM.moduleName="resizeColumns";class YM extends qi{constructor(e){super(e),this.startColumn=!1,this.startY=!1,this.startHeight=!1,this.handle=null,this.prevHandle=null,this.registerTableOption("resizableRows",!1)}initialize(){this.table.options.resizableRows&&this.subscribe("row-layout-after",this.initializeRow.bind(this))}initializeRow(e){var r=this,C=e.getElement(),D=document.createElement("div");D.className="tabulator-row-resize-handle";var T=document.createElement("div");T.className="tabulator-row-resize-handle prev",D.addEventListener("click",function(d){d.stopPropagation()});var p=function(d){r.startRow=e,r._mouseDown(d,e,D)};D.addEventListener("mousedown",p),D.addEventListener("touchstart",p,{passive:!0}),T.addEventListener("click",function(d){d.stopPropagation()});var t=function(d){var g=r.table.rowManager.prevDisplayRow(e);g&&(r.startRow=g,r._mouseDown(d,g,T))};T.addEventListener("mousedown",t),T.addEventListener("touchstart",t,{passive:!0}),C.appendChild(D),C.appendChild(T)}_mouseDown(e,r,C){var D=this;D.table.element.classList.add("tabulator-block-select");function T(t){r.setHeight(D.startHeight+((typeof t.screenY>"u"?t.touches[0].screenY:t.screenY)-D.startY))}function p(t){document.body.removeEventListener("mouseup",T),document.body.removeEventListener("mousemove",T),C.removeEventListener("touchmove",T),C.removeEventListener("touchend",p),D.table.element.classList.remove("tabulator-block-select"),D.dispatchExternal("rowResized",r.getComponent())}e.stopPropagation(),D.startY=typeof e.screenY>"u"?e.touches[0].screenY:e.screenY,D.startHeight=r.getHeight(),document.body.addEventListener("mousemove",T),document.body.addEventListener("mouseup",p),C.addEventListener("touchmove",T,{passive:!0}),C.addEventListener("touchend",p)}}YM.moduleName="resizeRows";class $M extends qi{constructor(e){super(e),this.binding=!1,this.visibilityObserver=!1,this.resizeObserver=!1,this.containerObserver=!1,this.tableHeight=0,this.tableWidth=0,this.containerHeight=0,this.containerWidth=0,this.autoResize=!1,this.visible=!1,this.initialized=!1,this.initialRedraw=!1,this.registerTableOption("autoResize",!0)}initialize(){if(this.table.options.autoResize){var e=this.table,r;this.tableHeight=e.element.clientHeight,this.tableWidth=e.element.clientWidth,e.element.parentNode&&(this.containerHeight=e.element.parentNode.clientHeight,this.containerWidth=e.element.parentNode.clientWidth),typeof IntersectionObserver<"u"&&typeof ResizeObserver<"u"&&e.rowManager.getRenderMode()==="virtual"?(this.initializeVisibilityObserver(),this.autoResize=!0,this.resizeObserver=new ResizeObserver(C=>{if(!e.browserMobile||e.browserMobile&&(!e.modules.edit||e.modules.edit&&!e.modules.edit.currentCell)){var D=Math.floor(C[0].contentRect.height),T=Math.floor(C[0].contentRect.width);(this.tableHeight!=D||this.tableWidth!=T)&&(this.tableHeight=D,this.tableWidth=T,e.element.parentNode&&(this.containerHeight=e.element.parentNode.clientHeight,this.containerWidth=e.element.parentNode.clientWidth),this.redrawTable())}}),this.resizeObserver.observe(e.element),r=window.getComputedStyle(e.element),this.table.element.parentNode&&!this.table.rowManager.fixedHeight&&(r.getPropertyValue("max-height")||r.getPropertyValue("min-height"))&&(this.containerObserver=new ResizeObserver(C=>{if(!e.browserMobile||e.browserMobile&&(!e.modules.edit||e.modules.edit&&!e.modules.edit.currentCell)){var D=Math.floor(C[0].contentRect.height),T=Math.floor(C[0].contentRect.width);(this.containerHeight!=D||this.containerWidth!=T)&&(this.containerHeight=D,this.containerWidth=T,this.tableHeight=e.element.clientHeight,this.tableWidth=e.element.clientWidth),this.redrawTable()}}),this.containerObserver.observe(this.table.element.parentNode)),this.subscribe("table-resize",this.tableResized.bind(this))):(this.binding=function(){(!e.browserMobile||e.browserMobile&&(!e.modules.edit||e.modules.edit&&!e.modules.edit.currentCell))&&(e.columnManager.rerenderColumns(!0),e.redraw())},window.addEventListener("resize",this.binding)),this.subscribe("table-destroy",this.clearBindings.bind(this))}}initializeVisibilityObserver(){this.visibilityObserver=new IntersectionObserver(e=>{this.visible=e[0].isIntersecting,this.initialized?this.visible&&(this.redrawTable(this.initialRedraw),this.initialRedraw=!1):(this.initialized=!0,this.initialRedraw=!this.visible)}),this.visibilityObserver.observe(this.table.element)}redrawTable(e){this.initialized&&this.visible&&(this.table.columnManager.rerenderColumns(!0),this.table.redraw(e))}tableResized(){this.table.rowManager.redraw()}clearBindings(){this.binding&&window.removeEventListener("resize",this.binding),this.resizeObserver&&this.resizeObserver.unobserve(this.table.element),this.visibilityObserver&&this.visibilityObserver.unobserve(this.table.element),this.containerObserver&&this.containerObserver.unobserve(this.table.element.parentNode)}}$M.moduleName="resizeTable";class ZM extends qi{constructor(e){super(e),this.columns=[],this.hiddenColumns=[],this.mode="",this.index=0,this.collapseFormatter=[],this.collapseStartOpen=!0,this.collapseHandleColumn=!1,this.registerTableOption("responsiveLayout",!1),this.registerTableOption("responsiveLayoutCollapseStartOpen",!0),this.registerTableOption("responsiveLayoutCollapseUseFormatters",!0),this.registerTableOption("responsiveLayoutCollapseFormatter",!1),this.registerColumnOption("responsive")}initialize(){this.table.options.responsiveLayout&&(this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("column-show",this.updateColumnVisibility.bind(this)),this.subscribe("column-hide",this.updateColumnVisibility.bind(this)),this.subscribe("columns-loaded",this.initializeResponsivity.bind(this)),this.subscribe("column-moved",this.initializeResponsivity.bind(this)),this.subscribe("column-add",this.initializeResponsivity.bind(this)),this.subscribe("column-delete",this.initializeResponsivity.bind(this)),this.subscribe("table-redrawing",this.tableRedraw.bind(this)),this.table.options.responsiveLayout==="collapse"&&(this.subscribe("row-data-changed",this.generateCollapsedRowContent.bind(this)),this.subscribe("row-init",this.initializeRow.bind(this)),this.subscribe("row-layout",this.layoutRow.bind(this))))}tableRedraw(e){["fitColumns","fitDataStretch"].indexOf(this.layoutMode())===-1&&(e||this.update())}initializeResponsivity(){var e=[];this.mode=this.table.options.responsiveLayout,this.collapseFormatter=this.table.options.responsiveLayoutCollapseFormatter||this.formatCollapsedData,this.collapseStartOpen=this.table.options.responsiveLayoutCollapseStartOpen,this.hiddenColumns=[],this.table.columnManager.columnsByIndex.forEach((r,C)=>{r.modules.responsive&&r.modules.responsive.order&&r.modules.responsive.visible&&(r.modules.responsive.index=C,e.push(r),!r.visible&&this.mode==="collapse"&&this.hiddenColumns.push(r))}),e=e.reverse(),e=e.sort((r,C)=>{var D=C.modules.responsive.order-r.modules.responsive.order;return D||C.modules.responsive.index-r.modules.responsive.index}),this.columns=e,this.mode==="collapse"&&this.generateCollapsedContent();for(let r of this.table.columnManager.columnsByIndex)if(r.definition.formatter=="responsiveCollapse"){this.collapseHandleColumn=r;break}this.collapseHandleColumn&&(this.hiddenColumns.length?this.collapseHandleColumn.show():this.collapseHandleColumn.hide())}initializeColumn(e){var r=e.getDefinition();e.modules.responsive={order:typeof r.responsive>"u"?1:r.responsive,visible:r.visible!==!1}}initializeRow(e){var r;e.type!=="calc"&&(r=document.createElement("div"),r.classList.add("tabulator-responsive-collapse"),e.modules.responsiveLayout={element:r,open:this.collapseStartOpen},this.collapseStartOpen||(r.style.display="none"))}layoutRow(e){var r=e.getElement();e.modules.responsiveLayout&&(r.appendChild(e.modules.responsiveLayout.element),this.generateCollapsedRowContent(e))}updateColumnVisibility(e,r){!r&&e.modules.responsive&&(e.modules.responsive.visible=e.visible,this.initializeResponsivity())}hideColumn(e){var r=this.hiddenColumns.length;e.hide(!1,!0),this.mode==="collapse"&&(this.hiddenColumns.unshift(e),this.generateCollapsedContent(),this.collapseHandleColumn&&!r&&this.collapseHandleColumn.show())}showColumn(e){var r;e.show(!1,!0),e.setWidth(e.getWidth()),this.mode==="collapse"&&(r=this.hiddenColumns.indexOf(e),r>-1&&this.hiddenColumns.splice(r,1),this.generateCollapsedContent(),this.collapseHandleColumn&&!this.hiddenColumns.length&&this.collapseHandleColumn.hide())}update(){for(var e=!0;e;){let r=this.table.modules.layout.getMode()=="fitColumns"?this.table.columnManager.getFlexBaseWidth():this.table.columnManager.getWidth(),C=(this.table.options.headerVisible?this.table.columnManager.element.clientWidth:this.table.element.clientWidth)-r;if(C<0){let D=this.columns[this.index];D?(this.hideColumn(D),this.index++):e=!1}else{let D=this.columns[this.index-1];D&&C>0&&C>=D.getWidth()?(this.showColumn(D),this.index--):e=!1}this.table.rowManager.activeRowsCount||this.table.rowManager.renderEmptyScroll()}}generateCollapsedContent(){var e=this.table.rowManager.getDisplayRows();e.forEach(r=>{this.generateCollapsedRowContent(r)})}generateCollapsedRowContent(e){var r,C;if(e.modules.responsiveLayout){for(r=e.modules.responsiveLayout.element;r.firstChild;)r.removeChild(r.firstChild);C=this.collapseFormatter(this.generateCollapsedRowData(e)),C&&r.appendChild(C)}}generateCollapsedRowData(e){var r=e.getData(),C=[],D;return this.hiddenColumns.forEach(T=>{var p=T.getFieldValue(r);if(T.definition.title&&T.field)if(T.modules.format&&this.table.options.responsiveLayoutCollapseUseFormatters){let d=function(g){g()};var t=d;D={value:!1,data:{},getValue:function(){return p},getData:function(){return r},getType:function(){return"cell"},getElement:function(){return document.createElement("div")},getRow:function(){return e.getComponent()},getColumn:function(){return T.getComponent()},getTable:()=>this.table},C.push({field:T.field,title:T.definition.title,value:T.modules.format.formatter.call(this.table.modules.format,D,T.modules.format.params,d)})}else C.push({field:T.field,title:T.definition.title,value:p})}),C}formatCollapsedData(e){var r=document.createElement("table");return e.forEach(function(C){var D=document.createElement("tr"),T=document.createElement("td"),p=document.createElement("td"),t,d=document.createElement("strong");T.appendChild(d),this.langBind("columns|"+C.field,function(g){d.innerHTML=g||C.title}),C.value instanceof Node?(t=document.createElement("div"),t.appendChild(C.value),p.appendChild(t)):p.innerHTML=C.value,D.appendChild(T),D.appendChild(p),r.appendChild(D)},this),Object.keys(e).length?r:""}}ZM.moduleName="responsiveLayout";class XM extends qi{constructor(e){super(e),this.selecting=!1,this.lastClickedRow=!1,this.selectPrev=[],this.selectedRows=[],this.headerCheckboxElement=null,this.registerTableOption("selectableRows","highlight"),this.registerTableOption("selectableRowsRangeMode","drag"),this.registerTableOption("selectableRowsRollingSelection",!0),this.registerTableOption("selectableRowsPersistence",!0),this.registerTableOption("selectableRowsCheck",function(r,C){return!0}),this.registerTableFunction("selectRow",this.selectRows.bind(this)),this.registerTableFunction("deselectRow",this.deselectRows.bind(this)),this.registerTableFunction("toggleSelectRow",this.toggleRow.bind(this)),this.registerTableFunction("getSelectedRows",this.getSelectedRows.bind(this)),this.registerTableFunction("getSelectedData",this.getSelectedData.bind(this)),this.registerComponentFunction("row","select",this.selectRows.bind(this)),this.registerComponentFunction("row","deselect",this.deselectRows.bind(this)),this.registerComponentFunction("row","toggleSelect",this.toggleRow.bind(this)),this.registerComponentFunction("row","isSelected",this.isRowSelected.bind(this))}initialize(){this.deprecatedOptionsCheck(),this.table.options.selectableRows==="highlight"&&this.table.options.selectableRange&&(this.table.options.selectableRows=!1),this.table.options.selectableRows!==!1&&(this.subscribe("row-init",this.initializeRow.bind(this)),this.subscribe("row-deleting",this.rowDeleted.bind(this)),this.subscribe("rows-wipe",this.clearSelectionData.bind(this)),this.subscribe("rows-retrieve",this.rowRetrieve.bind(this)),this.table.options.selectableRows&&!this.table.options.selectableRowsPersistence&&this.subscribe("data-refreshing",this.deselectRows.bind(this)))}deprecatedOptionsCheck(){this.deprecationCheck("selectable","selectableRows",!0),this.deprecationCheck("selectableRollingSelection","selectableRowsRollingSelection",!0),this.deprecationCheck("selectableRangeMode","selectableRowsRangeMode",!0),this.deprecationCheck("selectablePersistence","selectableRowsPersistence",!0),this.deprecationCheck("selectableCheck","selectableRowsCheck",!0)}rowRetrieve(e,r){return e==="selected"?this.selectedRows:r}rowDeleted(e){this._deselectRow(e,!0)}clearSelectionData(e){var r=this.selectedRows.length;this.selecting=!1,this.lastClickedRow=!1,this.selectPrev=[],this.selectedRows=[],r&&e!==!0&&this._rowSelectionChanged()}initializeRow(e){var r=this,C=r.checkRowSelectability(e),D=e.getElement(),T=function(){setTimeout(function(){r.selecting=!1},50),document.body.removeEventListener("mouseup",T)};e.modules.select={selected:!1},D.classList.toggle("tabulator-selectable",C),D.classList.toggle("tabulator-unselectable",!C),r.checkRowSelectability(e)&&r.table.options.selectableRows&&r.table.options.selectableRows!="highlight"&&(r.table.options.selectableRowsRangeMode==="click"?D.addEventListener("click",this.handleComplexRowClick.bind(this,e)):(D.addEventListener("click",function(p){(!r.table.modExists("edit")||!r.table.modules.edit.getCurrentCell())&&r.table._clearSelection(),r.selecting||r.toggleRow(e)}),D.addEventListener("mousedown",function(p){if(p.shiftKey)return r.table._clearSelection(),r.selecting=!0,r.selectPrev=[],document.body.addEventListener("mouseup",T),document.body.addEventListener("keyup",T),r.toggleRow(e),!1}),D.addEventListener("mouseenter",function(p){r.selecting&&(r.table._clearSelection(),r.toggleRow(e),r.selectPrev[1]==e&&r.toggleRow(r.selectPrev[0]))}),D.addEventListener("mouseout",function(p){r.selecting&&(r.table._clearSelection(),r.selectPrev.unshift(e))})))}handleComplexRowClick(e,r){if(r.shiftKey){this.table._clearSelection(),this.lastClickedRow=this.lastClickedRow||e;var C=this.table.rowManager.getDisplayRowIndex(this.lastClickedRow),D=this.table.rowManager.getDisplayRowIndex(e),T=C<=D?C:D,p=C>=D?C:D,t=this.table.rowManager.getDisplayRows().slice(0),d=t.splice(T,p-T+1);r.ctrlKey||r.metaKey?(d.forEach(g=>{g!==this.lastClickedRow&&(this.table.options.selectableRows!==!0&&!this.isRowSelected(e)?this.selectedRows.lengththis.table.options.selectableRows&&(d=d.slice(0,this.table.options.selectableRows)),this.selectRows(d)),this.table._clearSelection()}else r.ctrlKey||r.metaKey?(this.toggleRow(e),this.lastClickedRow=e):(this.deselectRows(void 0,!0),this.selectRows(e),this.lastClickedRow=e)}checkRowSelectability(e){return e&&e.type==="row"?this.table.options.selectableRowsCheck.call(this.table,e.getComponent()):!1}toggleRow(e){this.checkRowSelectability(e)&&(e.modules.select&&e.modules.select.selected?this._deselectRow(e):this._selectRow(e))}selectRows(e){var r=[],C,D;switch(typeof e){case"undefined":C=this.table.rowManager.rows;break;case"number":C=this.table.rowManager.findRow(e);break;case"string":C=this.table.rowManager.findRow(e),C||(C=this.table.rowManager.getRows(e));break;default:C=e;break}Array.isArray(C)?C.length&&(C.forEach(T=>{D=this._selectRow(T,!0,!0),D&&r.push(D)}),this._rowSelectionChanged(!1,r)):C&&this._selectRow(C,!1,!0)}_selectRow(e,r,C){if(!isNaN(this.table.options.selectableRows)&&this.table.options.selectableRows!==!0&&!C&&this.selectedRows.length>=this.table.options.selectableRows)if(this.table.options.selectableRowsRollingSelection)this._deselectRow(this.selectedRows[0]);else return!1;var D=this.table.rowManager.findRow(e);if(D){if(this.selectedRows.indexOf(D)==-1)return D.getElement().classList.add("tabulator-selected"),D.modules.select||(D.modules.select={}),D.modules.select.selected=!0,D.modules.select.checkboxEl&&(D.modules.select.checkboxEl.checked=!0),this.selectedRows.push(D),this.table.options.dataTreeSelectPropagate&&this.childRowSelection(D,!0),this.dispatchExternal("rowSelected",D.getComponent()),this._rowSelectionChanged(r,D),D}else r||console.warn("Selection Error - No such row found, ignoring selection:"+e)}isRowSelected(e){return this.selectedRows.indexOf(e)!==-1}deselectRows(e,r){var C=[],D,T;switch(typeof e){case"undefined":D=Object.assign([],this.selectedRows);break;case"number":D=this.table.rowManager.findRow(e);break;case"string":D=this.table.rowManager.findRow(e),D||(D=this.table.rowManager.getRows(e));break;default:D=e;break}Array.isArray(D)?D.length&&(D.forEach(p=>{T=this._deselectRow(p,!0,!0),T&&C.push(T)}),this._rowSelectionChanged(r,[],C)):D&&this._deselectRow(D,r,!0)}_deselectRow(e,r){var C=this,D=C.table.rowManager.findRow(e),T,p;if(D){if(T=C.selectedRows.findIndex(function(t){return t==D}),T>-1)return p=D.getElement(),p&&p.classList.remove("tabulator-selected"),D.modules.select||(D.modules.select={}),D.modules.select.selected=!1,D.modules.select.checkboxEl&&(D.modules.select.checkboxEl.checked=!1),C.selectedRows.splice(T,1),this.table.options.dataTreeSelectPropagate&&this.childRowSelection(D,!1),this.dispatchExternal("rowDeselected",D.getComponent()),C._rowSelectionChanged(r,void 0,D),D}else r||console.warn("Deselection Error - No such row found, ignoring selection:"+e)}getSelectedData(){var e=[];return this.selectedRows.forEach(function(r){e.push(r.getData())}),e}getSelectedRows(){var e=[];return this.selectedRows.forEach(function(r){e.push(r.getComponent())}),e}_rowSelectionChanged(e,r=[],C=[]){this.headerCheckboxElement&&(this.selectedRows.length===0?(this.headerCheckboxElement.checked=!1,this.headerCheckboxElement.indeterminate=!1):this.table.rowManager.rows.length===this.selectedRows.length?(this.headerCheckboxElement.checked=!0,this.headerCheckboxElement.indeterminate=!1):(this.headerCheckboxElement.indeterminate=!0,this.headerCheckboxElement.checked=!1)),e||(Array.isArray(r)||(r=[r]),r=r.map(D=>D.getComponent()),Array.isArray(C)||(C=[C]),C=C.map(D=>D.getComponent()),this.dispatchExternal("rowSelectionChanged",this.getSelectedData(),this.getSelectedRows(),r,C))}registerRowSelectCheckbox(e,r){e._row.modules.select||(e._row.modules.select={}),e._row.modules.select.checkboxEl=r}registerHeaderSelectCheckbox(e){this.headerCheckboxElement=e}childRowSelection(e,r){var C=this.table.modules.dataTree.getChildren(e,!0);if(r)for(let D of C)this._selectRow(D,!0);else for(let D of C)this._deselectRow(D,!0)}}XM.moduleName="selectRow";function wP(n,e,r,C,D,T,p){var t=p.alignEmptyValues,d=p.decimalSeparator,g=p.thousandSeparator,i=0;if(n=String(n),e=String(e),g&&(n=n.split(g).join(""),e=e.split(g).join("")),d&&(n=n.split(d).join("."),e=e.split(d).join(".")),n=parseFloat(n),e=parseFloat(e),isNaN(n))i=isNaN(e)?0:-1;else if(isNaN(e))i=1;else return n-e;return(t==="top"&&T==="desc"||t==="bottom"&&T==="asc")&&(i*=-1),i}function TP(n,e,r,C,D,T,p){var t=p.alignEmptyValues,d=0,g;if(!n)d=e?-1:0;else if(!e)d=1;else{switch(typeof p.locale){case"boolean":p.locale&&(g=this.langLocale());break;case"string":g=p.locale;break}return String(n).toLowerCase().localeCompare(String(e).toLowerCase(),g)}return(t==="top"&&T==="desc"||t==="bottom"&&T==="asc")&&(d*=-1),d}function q2(n,e,r,C,D,T,p){var t=window.DateTime||luxon.DateTime,d=p.format||"dd/MM/yyyy HH:mm:ss",g=p.alignEmptyValues,i=0;if(typeof t<"u"){if(t.isDateTime(n)||(d==="iso"?n=t.fromISO(String(n)):n=t.fromFormat(String(n),d)),t.isDateTime(e)||(d==="iso"?e=t.fromISO(String(e)):e=t.fromFormat(String(e),d)),!n.isValid)i=e.isValid?-1:0;else if(!e.isValid)i=1;else return n-e;return(g==="top"&&T==="desc"||g==="bottom"&&T==="asc")&&(i*=-1),i}else console.error("Sort Error - 'datetime' sorter is dependant on luxon.js")}function kP(n,e,r,C,D,T,p){return p.format||(p.format="dd/MM/yyyy"),q2.call(this,n,e,r,C,D,T,p)}function MP(n,e,r,C,D,T,p){return p.format||(p.format="HH:mm"),q2.call(this,n,e,r,C,D,T,p)}function AP(n,e,r,C,D,T,p){var t=n===!0||n==="true"||n==="True"||n===1?1:0,d=e===!0||e==="true"||e==="True"||e===1?1:0;return t-d}function SP(n,e,r,C,D,T,p){var t=p.type||"length",d=p.alignEmptyValues,g=0;function i(M){var v;switch(t){case"length":v=M.length;break;case"sum":v=M.reduce(function(f,l){return f+l});break;case"max":v=Math.max.apply(null,M);break;case"min":v=Math.min.apply(null,M);break;case"avg":v=M.reduce(function(f,l){return f+l})/M.length;break}return v}if(!Array.isArray(n))g=Array.isArray(e)?-1:0;else if(!Array.isArray(e))g=1;else return i(e)-i(n);return(d==="top"&&T==="desc"||d==="bottom"&&T==="asc")&&(g*=-1),g}function CP(n,e,r,C,D,T,p){var t=typeof n>"u"?0:1,d=typeof e>"u"?0:1;return t-d}function EP(n,e,r,C,D,T,p){var t,d,g,i,M=0,v,f=/(\d+)|(\D+)/g,l=/\d/,a=p.alignEmptyValues,u=0;if(!n&&n!==0)u=!e&&e!==0?0:-1;else if(!e&&e!==0)u=1;else{if(isFinite(n)&&isFinite(e))return n-e;if(t=String(n).toLowerCase(),d=String(e).toLowerCase(),t===d)return 0;if(!(l.test(t)&&l.test(d)))return t>d?1:-1;for(t=t.match(f),d=d.match(f),v=t.length>d.length?d.length:t.length;Mi?1:-1;return t.length>d.length}return(a==="top"&&T==="desc"||a==="bottom"&&T==="asc")&&(u*=-1),u}var LP={number:wP,string:TP,date:kP,time:MP,datetime:q2,boolean:AP,array:SP,exists:CP,alphanum:EP};class jd extends qi{constructor(e){super(e),this.sortList=[],this.changed=!1,this.registerTableOption("sortMode","local"),this.registerTableOption("initialSort",!1),this.registerTableOption("columnHeaderSortMulti",!0),this.registerTableOption("sortOrderReverse",!1),this.registerTableOption("headerSortElement","
"),this.registerTableOption("headerSortClickElement","header"),this.registerColumnOption("sorter"),this.registerColumnOption("sorterParams"),this.registerColumnOption("headerSort",!0),this.registerColumnOption("headerSortStartingDir"),this.registerColumnOption("headerSortTristate")}initialize(){this.subscribe("column-layout",this.initializeColumn.bind(this)),this.subscribe("table-built",this.tableBuilt.bind(this)),this.registerDataHandler(this.sort.bind(this),20),this.registerTableFunction("setSort",this.userSetSort.bind(this)),this.registerTableFunction("getSorters",this.getSort.bind(this)),this.registerTableFunction("clearSort",this.clearSort.bind(this)),this.table.options.sortMode==="remote"&&this.subscribe("data-params",this.remoteSortParams.bind(this))}tableBuilt(){this.table.options.initialSort&&this.setSort(this.table.options.initialSort)}remoteSortParams(e,r,C,D){var T=this.getSort();return T.forEach(p=>{delete p.column}),D.sort=T,D}userSetSort(e,r){this.setSort(e,r),this.refreshSort()}clearSort(){this.clear(),this.refreshSort()}initializeColumn(e){var r=!1,C,D;switch(typeof e.definition.sorter){case"string":jd.sorters[e.definition.sorter]?r=jd.sorters[e.definition.sorter]:console.warn("Sort Error - No such sorter found: ",e.definition.sorter);break;case"function":r=e.definition.sorter;break}if(e.modules.sort={sorter:r,dir:"none",params:e.definition.sorterParams||{},startingDir:e.definition.headerSortStartingDir||"asc",tristate:e.definition.headerSortTristate},e.definition.headerSort!==!1){switch(C=e.getElement(),C.classList.add("tabulator-sortable"),D=document.createElement("div"),D.classList.add("tabulator-col-sorter"),this.table.options.headerSortClickElement){case"icon":D.classList.add("tabulator-col-sorter-element");break;case"header":C.classList.add("tabulator-col-sorter-element");break;default:C.classList.add("tabulator-col-sorter-element");break}switch(this.table.options.headerSortElement){case"function":break;case"object":D.appendChild(this.table.options.headerSortElement);break;default:D.innerHTML=this.table.options.headerSortElement}e.titleHolderElement.appendChild(D),e.modules.sort.element=D,this.setColumnHeaderSortIcon(e,"none"),this.table.options.headerSortClickElement==="icon"&&D.addEventListener("mousedown",T=>{T.stopPropagation()}),(this.table.options.headerSortClickElement==="icon"?D:C).addEventListener("click",T=>{var p="",t=[],d=!1;if(e.modules.sort){if(e.modules.sort.tristate)e.modules.sort.dir=="none"?p=e.modules.sort.startingDir:e.modules.sort.dir==e.modules.sort.startingDir?p=e.modules.sort.dir=="asc"?"desc":"asc":p="none";else switch(e.modules.sort.dir){case"asc":p="desc";break;case"desc":p="asc";break;default:p=e.modules.sort.startingDir}this.table.options.columnHeaderSortMulti&&(T.shiftKey||T.ctrlKey)?(t=this.getSort(),d=t.findIndex(g=>g.field===e.getField()),d>-1?(t[d].dir=p,d=t.splice(d,1)[0],p!="none"&&t.push(d)):p!="none"&&t.push({column:e,dir:p}),this.setSort(t)):p=="none"?this.clear():this.setSort(e,p),this.refreshSort()}})}}refreshSort(){this.table.options.sortMode==="remote"?this.reloadData(null,!1,!1):this.refreshData(!0)}hasChanged(){var e=this.changed;return this.changed=!1,e}getSort(){var e=this,r=[];return e.sortList.forEach(function(C){C.column&&r.push({column:C.column.getComponent(),field:C.column.getField(),dir:C.dir})}),r}setSort(e,r){var C=this,D=[];Array.isArray(e)||(e=[{column:e,dir:r}]),e.forEach(function(T){var p;p=C.table.columnManager.findColumn(T.column),p?(T.column=p,D.push(T),C.changed=!0):console.warn("Sort Warning - Sort field does not exist and is being ignored: ",T.column)}),C.sortList=D,this.dispatch("sort-changed")}clear(){this.setSort([])}findSorter(e){var r=this.table.rowManager.activeRows[0],C="string",D,T;if(r&&(r=r.getData(),D=e.getField(),D))switch(T=e.getFieldValue(r),typeof T){case"undefined":C="string";break;case"boolean":C="boolean";break;default:!isNaN(T)&&T!==""?C="number":T.match(/((^[0-9]+[a-z]+)|(^[a-z]+[0-9]+))+$/i)&&(C="alphanum");break}return jd.sorters[C]}sort(e){var r=this,C=this.table.options.sortOrderReverse?r.sortList.slice().reverse():r.sortList,D=[],T=[];return this.subscribedExternal("dataSorting")&&this.dispatchExternal("dataSorting",r.getSort()),r.clearColumnHeaders(),this.table.options.sortMode!=="remote"?(C.forEach(function(p,t){var d;p.column&&(d=p.column.modules.sort,d&&(d.sorter||(d.sorter=r.findSorter(p.column)),p.params=typeof d.params=="function"?d.params(p.column.getComponent(),p.dir):d.params,D.push(p)),r.setColumnHeader(p.column,p.dir))}),D.length&&r._sortItems(e,D)):C.forEach(function(p,t){r.setColumnHeader(p.column,p.dir)}),this.subscribedExternal("dataSorted")&&(e.forEach(p=>{T.push(p.getComponent())}),this.dispatchExternal("dataSorted",r.getSort(),T)),e}clearColumnHeaders(){this.table.columnManager.getRealColumns().forEach(e=>{e.modules.sort&&(e.modules.sort.dir="none",e.getElement().setAttribute("aria-sort","none"),this.setColumnHeaderSortIcon(e,"none"))})}setColumnHeader(e,r){e.modules.sort.dir=r,e.getElement().setAttribute("aria-sort",r==="asc"?"ascending":"descending"),this.setColumnHeaderSortIcon(e,r)}setColumnHeaderSortIcon(e,r){var C=e.modules.sort.element,D;if(e.definition.headerSort&&typeof this.table.options.headerSortElement=="function"){for(;C.firstChild;)C.removeChild(C.firstChild);D=this.table.options.headerSortElement.call(this.table,e.getComponent(),r),typeof D=="object"?C.appendChild(D):C.innerHTML=D}}_sortItems(e,r){var C=r.length-1;e.sort((D,T)=>{for(var p,t=C;t>=0;t--){let d=r[t];if(p=this._sortRow(D,T,d.column,d.dir,d.params),p!==0)break}return p})}_sortRow(e,r,C,D,T){var p,t,d=D=="asc"?e:r,g=D=="asc"?r:e;return e=C.getFieldValue(d.getData()),r=C.getFieldValue(g.getData()),e=typeof e<"u"?e:"",r=typeof r<"u"?r:"",p=d.getComponent(),t=g.getComponent(),C.modules.sort.sorter.call(this,e,r,p,t,C.getComponent(),D,T)}}jd.moduleName="sort";jd.sorters=LP;class IP{constructor(e){return this._range=e,new Proxy(this,{get:function(r,C,D){return typeof r[C]<"u"?r[C]:r._range.table.componentFunctionBinder.handle("range",r._range,C)}})}getElement(){return this._range.element}getData(){return this._range.getData()}getCells(){return this._range.getCells(!0)}getStructuredCells(){return this._range.getStructuredCells()}getRows(){return this._range.getRows().map(e=>e.getComponent())}getColumns(){return this._range.getColumns().map(e=>e.getComponent())}getBounds(){return this._range.getBounds()}getTopEdge(){return this._range.top}getBottomEdge(){return this._range.bottom}getLeftEdge(){return this._range.left}getRightEdge(){return this._range.right}setBounds(e,r){this._range.destroyedGuard("setBounds")&&this._range.setBounds(e&&e._cell,r&&r._cell)}setStartBound(e){this._range.destroyedGuard("setStartBound")&&(this._range.setEndBound(e&&e._cell),this._range.rangeManager.layoutElement())}setEndBound(e){this._range.destroyedGuard("setEndBound")&&(this._range.setEndBound(e&&e._cell),this._range.rangeManager.layoutElement())}clearValues(){this._range.destroyedGuard("clearValues")&&this._range.clearValues()}remove(){this._range.destroyedGuard("remove")&&this._range.destroy(!0)}}class RP extends kl{constructor(e,r,C,D){super(e),this.rangeManager=r,this.element=null,this.initialized=!1,this.initializing={start:!1,end:!1},this.destroyed=!1,this.top=0,this.bottom=0,this.left=0,this.right=0,this.table=e,this.start={row:0,col:0},this.end={row:0,col:0},this.rangeManager.rowHeader&&(this.left=1,this.right=1,this.start.col=1,this.end.col=1),this.initElement(),setTimeout(()=>{this.initBounds(C,D)})}initElement(){this.element=document.createElement("div"),this.element.classList.add("tabulator-range")}initBounds(e,r){this._updateMinMax(),e&&this.setBounds(e,r||e)}setStart(e,r){(this.start.row!==e||this.start.col!==r)&&(this.start.row=e,this.start.col=r,this.initializing.start=!0,this._updateMinMax())}setEnd(e,r){(this.end.row!==e||this.end.col!==r)&&(this.end.row=e,this.end.col=r,this.initializing.end=!0,this._updateMinMax())}setBounds(e,r,C){e&&this.setStartBound(e),this.setEndBound(r||e),this.rangeManager.layoutElement(C)}setStartBound(e){var r,C;e.type==="column"?this.rangeManager.columnSelection&&this.setStart(0,e.getPosition()-1):(r=e.row.position-1,C=e.column.getPosition()-1,e.column===this.rangeManager.rowHeader?this.setStart(r,1):this.setStart(r,C))}setEndBound(e){var r=this._getTableRows().length,C,D,T;e.type==="column"?this.rangeManager.columnSelection&&(this.rangeManager.selecting==="column"?this.setEnd(r-1,e.getPosition()-1):this.rangeManager.selecting==="cell"&&this.setEnd(0,e.getPosition()-1)):(C=e.row.position-1,D=e.column.getPosition()-1,T=e.column===this.rangeManager.rowHeader,this.rangeManager.selecting==="row"?this.setEnd(C,this._getTableColumns().length-1):this.rangeManager.selecting!=="row"&&T?this.setEnd(C,0):this.rangeManager.selecting==="column"?this.setEnd(r-1,D):this.setEnd(C,D))}_updateMinMax(){this.top=Math.min(this.start.row,this.end.row),this.bottom=Math.max(this.start.row,this.end.row),this.left=Math.min(this.start.col,this.end.col),this.right=Math.max(this.start.col,this.end.col),this.initialized?this.dispatchExternal("rangeChanged",this.getComponent()):this.initializing.start&&this.initializing.end&&(this.initialized=!0,this.dispatchExternal("rangeAdded",this.getComponent()))}_getTableColumns(){return this.table.columnManager.getVisibleColumnsByIndex()}_getTableRows(){return this.table.rowManager.getDisplayRows()}layout(){var e=this.table.rowManager.renderer.vDomTop,r=this.table.rowManager.renderer.vDomBottom,C=this.table.columnManager.renderer.leftCol,D=this.table.columnManager.renderer.rightCol,T,p,t,d,g,i;e==null&&(e=0),r==null&&(r=1/0),C==null&&(C=0),D==null&&(D=1/0),this.overlaps(C,e,D,r)&&(T=Math.max(this.top,e),p=Math.min(this.bottom,r),t=Math.max(this.left,C),d=Math.min(this.right,D),g=this.rangeManager.getCell(T,t),i=this.rangeManager.getCell(p,d),this.element.classList.add("tabulator-range-active"),this.element.style.left=g.row.getElement().offsetLeft+g.getElement().offsetLeft+"px",this.element.style.top=g.row.getElement().offsetTop+"px",this.element.style.width=i.getElement().offsetLeft+i.getElement().offsetWidth-g.getElement().offsetLeft+"px",this.element.style.height=i.row.getElement().offsetTop+i.row.getElement().offsetHeight-g.row.getElement().offsetTop+"px")}atTopLeft(e){return e.row.position-1===this.top&&e.column.getPosition()-1===this.left}atBottomRight(e){return e.row.position-1===this.bottom&&e.column.getPosition()-1===this.right}occupies(e){return this.occupiesRow(e.row)&&this.occupiesColumn(e.column)}occupiesRow(e){return this.top<=e.position-1&&e.position-1<=this.bottom}occupiesColumn(e){return this.left<=e.getPosition()-1&&e.getPosition()-1<=this.right}overlaps(e,r,C,D){return!(this.left>C||e>this.right||this.top>D||r>this.bottom)}getData(){var e=[],r=this.getRows(),C=this.getColumns();return r.forEach(D=>{var T=D.getData(),p={};C.forEach(t=>{p[t.field]=T[t.field]}),e.push(p)}),e}getCells(e,r){var C=[],D=this.getRows(),T=this.getColumns();return e?C=D.map(p=>{var t=[];return p.getCells().forEach(d=>{T.includes(d.column)&&t.push(r?d.getComponent():d)}),t}):D.forEach(p=>{p.getCells().forEach(t=>{T.includes(t.column)&&C.push(r?t.getComponent():t)})}),C}getStructuredCells(){return this.getCells(!0,!0)}getRows(){return this._getTableRows().slice(this.top,this.bottom+1)}getColumns(){return this._getTableColumns().slice(this.left,this.right+1)}clearValues(){var e=this.getCells(),r=this.table.options.selectableRangeClearCellsValue;this.table.blockRedraw(),e.forEach(C=>{C.setValue(r)}),this.table.restoreRedraw()}getBounds(e){var r=this.getCells(!1,e),C={start:null,end:null};return r.length?(C.start=r[0],C.end=r[r.length-1]):console.warn("No bounds defined on range"),C}getComponent(){return this.component||(this.component=new IP(this)),this.component}destroy(e){this.destroyed=!0,this.element.remove(),e&&this.rangeManager.rangeRemoved(this),this.initialized&&this.dispatchExternal("rangeRemoved",this.getComponent())}destroyedGuard(e){return this.destroyed&&console.warn("You cannot call the "+e+" function on a destroyed range"),!this.destroyed}}class KM extends qi{constructor(e){super(e),this.selecting="cell",this.mousedown=!1,this.ranges=[],this.overlay=null,this.rowHeader=null,this.layoutChangeTimeout=null,this.columnSelection=!1,this.rowSelection=!1,this.maxRanges=0,this.activeRange=!1,this.blockKeydown=!1,this.keyDownEvent=this._handleKeyDown.bind(this),this.mouseUpEvent=this._handleMouseUp.bind(this),this.registerTableOption("selectableRange",!1),this.registerTableOption("selectableRangeColumns",!1),this.registerTableOption("selectableRangeRows",!1),this.registerTableOption("selectableRangeClearCells",!1),this.registerTableOption("selectableRangeClearCellsValue",void 0),this.registerTableFunction("getRangesData",this.getRangesData.bind(this)),this.registerTableFunction("getRanges",this.getRanges.bind(this)),this.registerTableFunction("addRange",this.addRangeFromComponent.bind(this)),this.registerComponentFunction("cell","getRanges",this.cellGetRanges.bind(this)),this.registerComponentFunction("row","getRanges",this.rowGetRanges.bind(this)),this.registerComponentFunction("column","getRanges",this.colGetRanges.bind(this))}initialize(){this.options("selectableRange")&&(this.options("selectableRows")?console.warn("SelectRange functionality cannot be used in conjunction with row selection"):(this.maxRanges=this.options("selectableRange"),this.initializeTable(),this.initializeWatchers()))}initializeTable(){this.overlay=document.createElement("div"),this.overlay.classList.add("tabulator-range-overlay"),this.rangeContainer=document.createElement("div"),this.rangeContainer.classList.add("tabulator-range-container"),this.activeRangeCellElement=document.createElement("div"),this.activeRangeCellElement.classList.add("tabulator-range-cell-active"),this.overlay.appendChild(this.rangeContainer),this.overlay.appendChild(this.activeRangeCellElement),this.table.rowManager.element.addEventListener("keydown",this.keyDownEvent),this.resetRanges(),this.table.rowManager.element.appendChild(this.overlay),this.table.columnManager.element.setAttribute("tabindex",0),this.table.element.classList.add("tabulator-ranges")}initializeWatchers(){this.columnSelection=this.options("selectableRangeColumns"),this.rowSelection=this.options("selectableRangeRows"),this.subscribe("column-init",this.initializeColumn.bind(this)),this.subscribe("column-mousedown",this.handleColumnMouseDown.bind(this)),this.subscribe("column-mousemove",this.handleColumnMouseMove.bind(this)),this.subscribe("column-resized",this.handleColumnResized.bind(this)),this.subscribe("column-width",this.layoutChange.bind(this)),this.subscribe("column-height",this.layoutChange.bind(this)),this.subscribe("column-resized",this.layoutChange.bind(this)),this.subscribe("columns-loaded",this.updateHeaderColumn.bind(this)),this.subscribe("cell-height",this.layoutChange.bind(this)),this.subscribe("cell-rendered",this.renderCell.bind(this)),this.subscribe("cell-mousedown",this.handleCellMouseDown.bind(this)),this.subscribe("cell-mousemove",this.handleCellMouseMove.bind(this)),this.subscribe("cell-click",this.handleCellClick.bind(this)),this.subscribe("cell-editing",this.handleEditingCell.bind(this)),this.subscribe("page-changed",this.redraw.bind(this)),this.subscribe("scroll-vertical",this.layoutChange.bind(this)),this.subscribe("scroll-horizontal",this.layoutChange.bind(this)),this.subscribe("data-destroy",this.tableDestroyed.bind(this)),this.subscribe("data-processed",this.resetRanges.bind(this)),this.subscribe("table-layout",this.layoutElement.bind(this)),this.subscribe("table-redraw",this.redraw.bind(this)),this.subscribe("table-destroy",this.tableDestroyed.bind(this)),this.subscribe("edit-editor-clear",this.finishEditingCell.bind(this)),this.subscribe("edit-blur",this.restoreFocus.bind(this)),this.subscribe("keybinding-nav-prev",this.keyNavigate.bind(this,"left")),this.subscribe("keybinding-nav-next",this.keyNavigate.bind(this,"right")),this.subscribe("keybinding-nav-left",this.keyNavigate.bind(this,"left")),this.subscribe("keybinding-nav-right",this.keyNavigate.bind(this,"right")),this.subscribe("keybinding-nav-up",this.keyNavigate.bind(this,"up")),this.subscribe("keybinding-nav-down",this.keyNavigate.bind(this,"down")),this.subscribe("keybinding-nav-range",this.keyNavigateRange.bind(this))}initializeColumn(e){this.columnSelection&&e.definition.headerSort&&this.options("headerSortClickElement")!=="icon"&&console.warn("Using column headerSort with selectableRangeColumns option may result in unpredictable behavior. Consider using headerSortClickElement: 'icon'."),e.modules.edit}updateHeaderColumn(){this.rowSelection&&(this.rowHeader=this.table.columnManager.getVisibleColumnsByIndex()[0],this.rowHeader&&(this.rowHeader.definition.cssClass=this.rowHeader.definition.cssClass+" tabulator-range-row-header",this.rowHeader.definition.headerSort&&console.warn("Using column headerSort with selectableRangeRows option may result in unpredictable behavior"),this.rowHeader.definition.editor&&console.warn("Using column editor with selectableRangeRows option may result in unpredictable behavior")))}getRanges(){return this.ranges.map(e=>e.getComponent())}getRangesData(){return this.ranges.map(e=>e.getData())}addRangeFromComponent(e,r){return e=e?e._cell:null,r=r?r._cell:null,this.addRange(e,r)}cellGetRanges(e){var r=[];return e.column===this.rowHeader?r=this.ranges.filter(C=>C.occupiesRow(e.row)):r=this.ranges.filter(C=>C.occupies(e)),r.map(C=>C.getComponent())}rowGetRanges(e){var r=this.ranges.filter(C=>C.occupiesRow(e));return r.map(C=>C.getComponent())}colGetRanges(e){var r=this.ranges.filter(C=>C.occupiesColumn(e));return r.map(C=>C.getComponent())}_handleMouseUp(e){this.mousedown=!1,document.removeEventListener("mouseup",this.mouseUpEvent)}_handleKeyDown(e){if(!this.blockKeydown&&(!this.table.modules.edit||this.table.modules.edit&&!this.table.modules.edit.currentCell)){if(e.key==="Enter"){if(this.table.modules.edit&&this.table.modules.edit.currentCell)return;this.table.modules.edit.editCell(this.getActiveCell()),e.preventDefault()}(e.key==="Backspace"||e.key==="Delete")&&this.options("selectableRangeClearCells")&&this.activeRange&&this.activeRange.clearValues()}}initializeFocus(e){var r;try{document.selection?(r=document.body.createTextRange(),r.moveToElementText(e.getElement()),r.select()):window.getSelection&&(r=document.createRange(),r.selectNode(e.getElement()),window.getSelection().removeAllRanges(),window.getSelection().addRange(r))}catch{}}restoreFocus(e){return this.table.rowManager.element.focus(),!0}handleColumnResized(e){var r;this.selecting!=="column"&&this.selecting!=="all"||(r=this.ranges.some(C=>C.occupiesColumn(e)),r&&this.ranges.forEach(C=>{var D=C.getColumns(!0);D.forEach(T=>{T!==e&&T.setWidth(e.width)})}))}handleColumnMouseDown(e,r){e.button===2&&(this.selecting==="column"||this.selecting==="all")&&this.activeRange.occupiesColumn(r)||(this.mousedown=!0,document.addEventListener("mouseup",this.mouseUpEvent),this.newSelection(e,r))}handleColumnMouseMove(e,r){r===this.rowHeader||!this.mousedown||this.selecting==="all"||this.activeRange.setBounds(!1,r,!0)}renderCell(e){var r=e.getElement(),C=this.ranges.findIndex(D=>D.occupies(e));r.classList.toggle("tabulator-range-selected",C!==-1),r.classList.toggle("tabulator-range-only-cell-selected",this.ranges.length===1&&this.ranges[0].atTopLeft(e)&&this.ranges[0].atBottomRight(e)),r.dataset.range=C}handleCellMouseDown(e,r){e.button===2&&(this.activeRange.occupies(r)||(this.selecting==="row"||this.selecting==="all")&&this.activeRange.occupiesRow(r.row))||(this.mousedown=!0,document.addEventListener("mouseup",this.mouseUpEvent),this.newSelection(e,r))}handleCellMouseMove(e,r){!this.mousedown||this.selecting==="all"||this.activeRange.setBounds(!1,r,!0)}handleCellClick(e,r){this.initializeFocus(r)}handleEditingCell(e){this.activeRange&&this.activeRange.setBounds(e)}finishEditingCell(){this.blockKeydown=!0,this.table.rowManager.element.focus(),setTimeout(()=>{this.blockKeydown=!1},10)}keyNavigate(e,r){this.navigate(!1,!1,e)&&r.preventDefault()}keyNavigateRange(e,r,C,D){this.navigate(C,D,r)&&e.preventDefault()}navigate(e,r,C){var D=!1,T,p,t,d,g,i;if(this.table.modules.edit&&this.table.modules.edit.currentCell)return!1;if(this.ranges.length>1&&(this.ranges=this.ranges.filter(M=>M===this.activeRange?(M.setEnd(M.start.row,M.start.col),!0):(M.destroy(),!1))),T=this.activeRange,p=r?T.end:T.start,t=p.row,d=p.col,e)switch(C){case"left":d=this.findJumpCellLeft(T.start.row,p.col);break;case"right":d=this.findJumpCellRight(T.start.row,p.col);break;case"up":t=this.findJumpCellUp(p.row,T.start.col);break;case"down":t=this.findJumpCellDown(p.row,T.start.col);break}else{if(r&&(this.selecting==="row"&&(C==="left"||C==="right")||this.selecting==="column"&&(C==="up"||C==="down")))return;switch(C){case"left":d=Math.max(d-1,0);break;case"right":d=Math.min(d+1,this.getTableColumns().length-1);break;case"up":t=Math.max(t-1,0);break;case"down":t=Math.min(t+1,this.getTableRows().length-1);break}}if(D=d!==p.col||t!==p.row,r||T.setStart(t,d),T.setEnd(t,d),r||(this.selecting="cell"),D)return g=this.getRowByRangePos(T.end.row),i=this.getColumnByRangePos(T.end.col),(C==="left"||C==="right")&&i.getElement().parentNode===null?i.getComponent().scrollTo(void 0,!1):(C==="up"||C==="down")&&g.getElement().parentNode===null?g.getComponent().scrollTo(void 0,!1):this.autoScroll(T,g.getElement(),i.getElement()),this.layoutElement(),!0}rangeRemoved(e){this.ranges=this.ranges.filter(r=>r!==e),this.activeRange===e&&(this.ranges.length?this.activeRange=this.ranges[this.ranges.length-1]:this.addRange()),this.layoutElement()}findJumpCell(e,r,C,D){var T;r&&(e=e.reverse());for(let p of e){let t=p.getValue();if(C){if(T=p,t)break}else if(D){if(T=p,t)break}else if(t)T=p;else break}return T}findJumpCellLeft(e,r){var C=this.getRowByRangePos(e),D=C.cells.filter(i=>i.column.visible),T=!D[r].getValue(),p=D[r]?!D[r].getValue():!1,t=r,d=this.rowHeader?D.slice(1,r):D.slice(0,r),g=this.findJumpCell(d,!0,T,p);return g&&(t=g.column.getPosition()-1),t}findJumpCellRight(e,r){var C=this.getRowByRangePos(e),D=C.cells.filter(g=>g.column.visible),T=!D[r].getValue(),p=D[r+1]?!D[r+1].getValue():!1,t=r,d=this.findJumpCell(D.slice(r+1,D.length),!1,T,p);return d&&(t=d.column.getPosition()-1),t}findJumpCellUp(e,r){var C=this.getColumnByRangePos(r),D=C.cells.filter(g=>this.table.rowManager.activeRows.includes(g.row)),T=!D[e].getValue(),p=D[e-1]?!D[e-1].getValue():!1,t=e,d=this.findJumpCell(D.slice(0,t),!0,T,p);return d&&(t=d.row.position-1),t}findJumpCellDown(e,r){var C=this.getColumnByRangePos(r),D=C.cells.filter(g=>this.table.rowManager.activeRows.includes(g.row)),T=!D[e].getValue(),p=D[e+1]?!D[e+1].getValue():!1,t=e,d=this.findJumpCell(D.slice(t+1,D.length),!1,T,p);return d&&(t=d.row.position-1),t}newSelection(e,r){var C;if(r.type==="column"){if(!this.columnSelection)return;if(r===this.rowHeader){C=this.resetRanges(),this.selecting="all";var D,T=this.getCell(-1,-1);this.rowHeader?D=this.getCell(0,1):D=this.getCell(0,0),C.setBounds(D,T);return}else this.selecting="column"}else r.column===this.rowHeader?this.selecting="row":this.selecting="cell";e.shiftKey?this.activeRange.setBounds(!1,r):e.ctrlKey?this.addRange().setBounds(r):this.resetRanges().setBounds(r)}autoScroll(e,r,C){var D=this.table.rowManager.element,T,p,t,d,g;typeof r>"u"&&(r=this.getRowByRangePos(e.end.row).getElement()),typeof C>"u"&&(C=this.getColumnByRangePos(e.end.col).getElement()),this.rowHeader&&(T=this.rowHeader.getElement()),p={left:C.offsetLeft,right:C.offsetLeft+C.offsetWidth,top:r.offsetTop,bottom:r.offsetTop+r.offsetHeight},t={left:D.scrollLeft,right:Math.ceil(D.scrollLeft+D.clientWidth),top:D.scrollTop,bottom:D.scrollTop+D.offsetHeight-this.table.rowManager.scrollbarWidth},T&&(t.left+=T.offsetWidth),d=t.leftt.right&&(D.scrollLeft=p.right-D.clientWidth)),g||(p.topt.bottom&&(D.scrollTop=p.bottom-D.clientHeight))}layoutChange(){this.overlay.style.visibility="hidden",clearTimeout(this.layoutChangeTimeout),this.layoutChangeTimeout=setTimeout(this.layoutRanges.bind(this),200)}redraw(e){e&&(this.selecting="cell",this.resetRanges(),this.layoutElement())}layoutElement(e){var r;e?r=this.table.rowManager.getVisibleRows(!0):r=this.table.rowManager.getRows(),r.forEach(C=>{C.type==="row"&&(this.layoutRow(C),C.cells.forEach(D=>this.renderCell(D)))}),this.getTableColumns().forEach(C=>{this.layoutColumn(C)}),this.layoutRanges()}layoutRow(e){var r=e.getElement(),C=!1,D=this.ranges.some(T=>T.occupiesRow(e));this.selecting==="row"?C=D:this.selecting==="all"&&(C=!0),r.classList.toggle("tabulator-range-selected",C),r.classList.toggle("tabulator-range-highlight",D)}layoutColumn(e){var r=e.getElement(),C=!1,D=this.ranges.some(T=>T.occupiesColumn(e));this.selecting==="column"?C=D:this.selecting==="all"&&(C=!0),r.classList.toggle("tabulator-range-selected",C),r.classList.toggle("tabulator-range-highlight",D)}layoutRanges(){var e;this.table.initialized&&(e=this.getActiveCell(),e&&(this.activeRangeCellElement.style.left=e.row.getElement().offsetLeft+e.getElement().offsetLeft+"px",this.activeRangeCellElement.style.top=e.row.getElement().offsetTop+"px",this.activeRangeCellElement.style.width=e.getElement().offsetLeft+e.getElement().offsetWidth-e.getElement().offsetLeft+"px",this.activeRangeCellElement.style.height=e.row.getElement().offsetTop+e.row.getElement().offsetHeight-e.row.getElement().offsetTop+"px",this.ranges.forEach(r=>r.layout()),this.overlay.style.visibility="visible"))}getCell(e,r){var C;return r<0&&(r=this.getTableColumns().length+r,r<0)?null:(e<0&&(e=this.getTableRows().length+e),C=this.table.rowManager.getRowFromPosition(e+1),C?C.getCells(!1,!0).filter(D=>D.column.visible)[r]:null)}getActiveCell(){return this.getCell(this.activeRange.start.row,this.activeRange.start.col)}getRowByRangePos(e){return this.getTableRows()[e]}getColumnByRangePos(e){return this.getTableColumns()[e]}getTableRows(){return this.table.rowManager.getDisplayRows()}getTableColumns(){return this.table.columnManager.getVisibleColumnsByIndex()}addRange(e,r){var C;return this.maxRanges!==!0&&this.ranges.length>=this.maxRanges&&this.ranges.shift().destroy(),C=new RP(this.table,this,e,r),this.activeRange=C,this.ranges.push(C),this.rangeContainer.appendChild(C.element),C}resetRanges(){var e,r;return this.ranges.forEach(C=>C.destroy()),this.ranges=[],e=this.addRange(),this.table.rowManager.activeRows.length&&(r=this.table.rowManager.activeRows[0].cells[this.rowHeader?1:0],r&&(e.setBounds(r),this.initializeFocus(r))),e}tableDestroyed(){document.removeEventListener("mouseup",this.mouseUpEvent),this.table.rowManager.element.removeEventListener("keydown",this.keyDownEvent)}selectedRows(e){return e?this.activeRange.getRows().map(r=>r.getComponent()):this.activeRange.getRows()}selectedColumns(e){return e?this.activeRange.getColumns().map(r=>r.getComponent()):this.activeRange.getColumns()}}KM.moduleName="selectRange";class JM extends qi{constructor(e){super(e),this.tooltipSubscriber=null,this.headerSubscriber=null,this.timeout=null,this.popupInstance=null,this.registerTableOption("tooltipGenerationMode",void 0),this.registerTableOption("tooltipDelay",300),this.registerColumnOption("tooltip"),this.registerColumnOption("headerTooltip")}initialize(){this.deprecatedOptionsCheck(),this.subscribe("column-init",this.initializeColumn.bind(this))}deprecatedOptionsCheck(){this.deprecationCheckMsg("tooltipGenerationMode","This option is no longer needed as tooltips are always generated on hover now")}initializeColumn(e){e.definition.headerTooltip&&!this.headerSubscriber&&(this.headerSubscriber=!0,this.subscribe("column-mousemove",this.mousemoveCheck.bind(this,"headerTooltip")),this.subscribe("column-mouseout",this.mouseoutCheck.bind(this,"headerTooltip"))),e.definition.tooltip&&!this.tooltipSubscriber&&(this.tooltipSubscriber=!0,this.subscribe("cell-mousemove",this.mousemoveCheck.bind(this,"tooltip")),this.subscribe("cell-mouseout",this.mouseoutCheck.bind(this,"tooltip")))}mousemoveCheck(e,r,C){var D=e==="tooltip"?C.column.definition.tooltip:C.definition.headerTooltip;D&&(this.clearPopup(),this.timeout=setTimeout(this.loadTooltip.bind(this,r,C,D),this.table.options.tooltipDelay))}mouseoutCheck(e,r,C){this.popupInstance||this.clearPopup()}clearPopup(e,r,C){clearTimeout(this.timeout),this.timeout=null,this.popupInstance&&this.popupInstance.hide()}loadTooltip(e,r,C){var D,T,p;function t(d){T=d}typeof C=="function"&&(C=C(e,r.getComponent(),t)),C instanceof HTMLElement?D=C:(D=document.createElement("div"),C===!0&&(r instanceof eg?C=r.value:r.definition.field?this.langBind("columns|"+r.definition.field,d=>{D.innerHTML=C=d||r.definition.title}):C=r.definition.title),D.innerHTML=C),(C||C===0||C===!1)&&(D.classList.add("tabulator-tooltip"),D.addEventListener("mousemove",d=>d.preventDefault()),this.popupInstance=this.popup(D),typeof T=="function"&&this.popupInstance.renderCallback(T),p=this.popupInstance.containerEventCoords(e),this.popupInstance.show(p.x+15,p.y+15).hideOnBlur(()=>{this.dispatchExternal("TooltipClosed",r.getComponent()),this.popupInstance=null}),this.dispatchExternal("TooltipOpened",r.getComponent()))}}JM.moduleName="tooltip";var PP={integer:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:(e=Number(e),!isNaN(e)&&isFinite(e)&&Math.floor(e)===e)},float:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:(e=Number(e),!isNaN(e)&&isFinite(e)&&e%1!==0)},numeric:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:!isNaN(e)},string:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:isNaN(e)},alphanumeric:function(n,e,r){if(e===""||e===null||typeof e>"u")return!0;var C=new RegExp(/^[a-z0-9]+$/i);return C.test(e)},max:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:parseFloat(e)<=r},min:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:parseFloat(e)>=r},starts:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).toLowerCase().startsWith(String(r).toLowerCase())},ends:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).toLowerCase().endsWith(String(r).toLowerCase())},minLength:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).length>=r},maxLength:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:String(e).length<=r},in:function(n,e,r){return e===""||e===null||typeof e>"u"?!0:(typeof r=="string"&&(r=r.split("|")),r.indexOf(e)>-1)},regex:function(n,e,r){if(e===""||e===null||typeof e>"u")return!0;var C=new RegExp(r);return C.test(e)},unique:function(n,e,r){if(e===""||e===null||typeof e>"u")return!0;var C=!0,D=n.getData(),T=n.getColumn()._getSelf();return this.table.rowManager.rows.forEach(function(p){var t=p.getData();t!==D&&e==T.getFieldValue(t)&&(C=!1)}),C},required:function(n,e,r){return e!==""&&e!==null&&typeof e<"u"}};class ig extends qi{constructor(e){super(e),this.invalidCells=[],this.registerTableOption("validationMode","blocking"),this.registerColumnOption("validator"),this.registerTableFunction("getInvalidCells",this.getInvalidCells.bind(this)),this.registerTableFunction("clearCellValidation",this.userClearCellValidation.bind(this)),this.registerTableFunction("validate",this.userValidate.bind(this)),this.registerComponentFunction("cell","isValid",this.cellIsValid.bind(this)),this.registerComponentFunction("cell","clearValidation",this.clearValidation.bind(this)),this.registerComponentFunction("cell","validate",this.cellValidate.bind(this)),this.registerComponentFunction("column","validate",this.columnValidate.bind(this)),this.registerComponentFunction("row","validate",this.rowValidate.bind(this))}initialize(){this.subscribe("cell-delete",this.clearValidation.bind(this)),this.subscribe("column-layout",this.initializeColumnCheck.bind(this)),this.subscribe("edit-success",this.editValidate.bind(this)),this.subscribe("edit-editor-clear",this.editorClear.bind(this)),this.subscribe("edit-edited-clear",this.editedClear.bind(this))}editValidate(e,r,C){var D=this.table.options.validationMode!=="manual"?this.validate(e.column.modules.validate,e,r):!0;return D!==!0&&setTimeout(()=>{e.getElement().classList.add("tabulator-validation-fail"),this.dispatchExternal("validationFailed",e.getComponent(),r,D)}),D}editorClear(e,r){r&&e.column.modules.validate&&this.cellValidate(e),e.getElement().classList.remove("tabulator-validation-fail")}editedClear(e){e.modules.validate&&(e.modules.validate.invalid=!1)}cellIsValid(e){return e.modules.validate&&e.modules.validate.invalid||!0}cellValidate(e){return this.validate(e.column.modules.validate,e,e.getValue())}columnValidate(e){var r=[];return e.cells.forEach(C=>{this.cellValidate(C)!==!0&&r.push(C.getComponent())}),r.length?r:!0}rowValidate(e){var r=[];return e.cells.forEach(C=>{this.cellValidate(C)!==!0&&r.push(C.getComponent())}),r.length?r:!0}userClearCellValidation(e){e||(e=this.getInvalidCells()),Array.isArray(e)||(e=[e]),e.forEach(r=>{this.clearValidation(r._getSelf())})}userValidate(e){var r=[];return this.table.rowManager.rows.forEach(C=>{C=C.getComponent();var D=C.validate();D!==!0&&(r=r.concat(D))}),r.length?r:!0}initializeColumnCheck(e){typeof e.definition.validator<"u"&&this.initializeColumn(e)}initializeColumn(e){var r=this,C=[],D;e.definition.validator&&(Array.isArray(e.definition.validator)?e.definition.validator.forEach(T=>{D=r._extractValidator(T),D&&C.push(D)}):(D=this._extractValidator(e.definition.validator),D&&C.push(D)),e.modules.validate=C.length?C:!1)}_extractValidator(e){var r,C,D;switch(typeof e){case"string":return D=e.indexOf(":"),D>-1?(r=e.substring(0,D),C=e.substring(D+1)):r=e,this._buildValidator(r,C);case"function":return this._buildValidator(e);case"object":return this._buildValidator(e.type,e.parameters)}}_buildValidator(e,r){var C=typeof e=="function"?e:ig.validators[e];return C?{type:typeof e=="function"?"function":e,func:C,params:r}:(console.warn("Validator Setup Error - No matching validator found:",e),!1)}validate(e,r,C){var D=this,T=[],p=this.invalidCells.indexOf(r);return e&&e.forEach(t=>{t.func.call(D,r.getComponent(),C,t.params)||T.push({type:t.type,parameters:t.params})}),r.modules.validate||(r.modules.validate={}),T.length?(r.modules.validate.invalid=T,this.table.options.validationMode!=="manual"&&r.getElement().classList.add("tabulator-validation-fail"),p==-1&&this.invalidCells.push(r)):(r.modules.validate.invalid=!1,r.getElement().classList.remove("tabulator-validation-fail"),p>-1&&this.invalidCells.splice(p,1)),T.length?T:!0}getInvalidCells(){var e=[];return this.invalidCells.forEach(r=>{e.push(r.getComponent())}),e}clearValidation(e){var r;e.modules.validate&&e.modules.validate.invalid&&(e.getElement().classList.remove("tabulator-validation-fail"),e.modules.validate.invalid=!1,r=this.invalidCells.indexOf(e),r>-1&&this.invalidCells.splice(r,1))}}ig.moduleName="validate";ig.validators=PP;var OP=Object.freeze({__proto__:null,AccessorModule:i0,AjaxModule:Rc,ClipboardModule:qd,ColumnCalcsModule:zf,DataTreeModule:OM,DownloadModule:a0,EditModule:tg,ExportModule:DM,FilterModule:Xh,FormatModule:Yu,FrozenColumnsModule:zM,FrozenRowsModule:FM,GroupRowsModule:BM,HistoryModule:Wd,HtmlTableImportModule:NM,ImportModule:ng,InteractionModule:VM,KeybindingsModule:Vf,MenuModule:jM,MoveColumnsModule:UM,MoveRowsModule:$y,MutatorModule:o0,PageModule:rg,PersistenceModule:jl,PopupModule:HM,PrintModule:GM,ReactiveDataModule:qM,ResizeColumnsModule:WM,ResizeRowsModule:YM,ResizeTableModule:$M,ResponsiveLayoutModule:ZM,SelectRowModule:XM,SortModule:jd,SelectRangeModule:KM,TooltipModule:JM,ValidateModule:ig}),DP={debugEventsExternal:!1,debugEventsInternal:!1,debugInvalidOptions:!0,debugInvalidComponentFuncs:!0,debugInitialization:!0,debugDeprecation:!0,height:!1,minHeight:!1,maxHeight:!1,columnHeaderVertAlign:"top",popupContainer:!1,columns:[],columnDefaults:{},data:!1,autoColumns:!1,autoColumnsDefinitions:!1,nestedFieldSeparator:".",footerElement:!1,index:"id",textDirection:"auto",addRowPos:"bottom",headerVisible:!0,renderVertical:"virtual",renderHorizontal:"basic",renderVerticalBuffer:0,scrollToRowPosition:"top",scrollToRowIfVisible:!0,scrollToColumnPosition:"left",scrollToColumnIfVisible:!0,rowFormatter:!1,rowFormatterPrint:null,rowFormatterClipboard:null,rowFormatterHtmlOutput:null,rowHeight:null,placeholder:!1,dataLoader:!0,dataLoaderLoading:!1,dataLoaderError:!1,dataLoaderErrorTimeout:3e3,dataSendParams:{},dataReceiveParams:{}};class QM{constructor(e,r,C={}){this.table=e,this.msgType=r,this.registeredDefaults=Object.assign({},C)}register(e,r){this.registeredDefaults[e]=r}generate(e,r={}){var C=Object.assign({},this.registeredDefaults),D=this.table.options.debugInvalidOptions||r.debugInvalidOptions===!0;Object.assign(C,e);for(let T in r)C.hasOwnProperty(T)||(D&&console.warn("Invalid "+this.msgType+" option:",T),C[T]=r.key);for(let T in C)T in r?C[T]=r[T]:Array.isArray(C[T])?C[T]=Object.assign([],C[T]):typeof C[T]=="object"&&C[T]!==null?C[T]=Object.assign({},C[T]):typeof C[T]>"u"&&delete C[T];return C}}class Zy extends kl{constructor(e){super(e),this.elementVertical=e.rowManager.element,this.elementHorizontal=e.columnManager.element,this.tableElement=e.rowManager.tableElement,this.verticalFillMode="fit"}initialize(){}clearRows(){}clearColumns(){}reinitializeColumnWidths(e){}renderRows(){}renderColumns(){}rerenderRows(e){e&&e()}rerenderColumns(e,r){}renderRowCells(e){}rerenderRowCells(e,r){}scrollColumns(e,r){}scrollRows(e,r){}resize(){}scrollToRow(e){}scrollToRowNearestTop(e){}visibleRows(e){return[]}rows(){return this.table.rowManager.getDisplayRows()}styleRow(e,r){var C=e.getElement();r%2?(C.classList.add("tabulator-row-even"),C.classList.remove("tabulator-row-odd")):(C.classList.add("tabulator-row-odd"),C.classList.remove("tabulator-row-even"))}clear(){this.clearRows(),this.clearColumns()}render(){this.renderRows(),this.renderColumns()}rerender(e){this.rerenderRows(),this.rerenderColumns()}scrollToRowPosition(e,r,C){var D=this.rows().indexOf(e),T=e.getElement(),p=0;return new Promise((t,d)=>{if(D>-1){if(typeof C>"u"&&(C=this.table.options.scrollToRowIfVisible),!C&&oo.elVisible(T)&&(p=oo.elOffset(T).top-oo.elOffset(this.elementVertical).top,p>0&&p"u"&&(r=this.table.options.scrollToRowPosition),r==="nearest"&&(r=this.scrollToRowNearestTop(e)?"top":"bottom"),this.scrollToRow(e),r){case"middle":case"center":this.elementVertical.scrollHeight-this.elementVertical.scrollTop==this.elementVertical.clientHeight?this.elementVertical.scrollTop=this.elementVertical.scrollTop+(T.offsetTop-this.elementVertical.scrollTop)-(this.elementVertical.scrollHeight-T.offsetTop)/2:this.elementVertical.scrollTop=this.elementVertical.scrollTop-this.elementVertical.clientHeight/2;break;case"bottom":this.elementVertical.scrollHeight-this.elementVertical.scrollTop==this.elementVertical.clientHeight?this.elementVertical.scrollTop=this.elementVertical.scrollTop-(this.elementVertical.scrollHeight-T.offsetTop)+T.offsetHeight:this.elementVertical.scrollTop=this.elementVertical.scrollTop-this.elementVertical.clientHeight+T.offsetHeight;break;case"top":this.elementVertical.scrollTop=T.offsetTop;break}t()}else console.warn("Scroll Error - Row not visible"),d("Scroll Error - Row not visible")})}}class zP extends Zy{constructor(e){super(e)}renderRowCells(e,r){const C=document.createDocumentFragment();e.cells.forEach(D=>{C.appendChild(D.getElement())}),e.element.appendChild(C),r||e.cells.forEach(D=>{D.cellRendered()})}reinitializeColumnWidths(e){e.forEach(function(r){r.reinitializeWidth()})}}class FP extends Zy{constructor(e){super(e),this.leftCol=0,this.rightCol=0,this.scrollLeft=0,this.vDomScrollPosLeft=0,this.vDomScrollPosRight=0,this.vDomPadLeft=0,this.vDomPadRight=0,this.fitDataColAvg=0,this.windowBuffer=200,this.visibleRows=null,this.initialized=!1,this.isFitData=!1,this.columns=[]}initialize(){this.compatibilityCheck(),this.layoutCheck(),this.vertScrollListen()}compatibilityCheck(){this.options("layout")=="fitDataTable"&&console.warn("Horizontal Virtual DOM is not compatible with fitDataTable layout mode"),this.options("responsiveLayout")&&console.warn("Horizontal Virtual DOM is not compatible with responsive columns"),this.options("rtl")&&console.warn("Horizontal Virtual DOM is not currently compatible with RTL text direction")}layoutCheck(){this.isFitData=this.options("layout").startsWith("fitData")}vertScrollListen(){this.subscribe("scroll-vertical",this.clearVisRowCache.bind(this)),this.subscribe("data-refreshed",this.clearVisRowCache.bind(this))}clearVisRowCache(){this.visibleRows=null}renderColumns(e,r){this.dataChange()}scrollColumns(e,r){this.scrollLeft!=e&&(this.scrollLeft=e,this.scroll(e-(this.vDomScrollPosLeft+this.windowBuffer)))}calcWindowBuffer(){var e=this.elementVertical.clientWidth;this.table.columnManager.columnsByIndex.forEach(r=>{if(r.visible){var C=r.getWidth();C>e&&(e=C)}}),this.windowBuffer=e*2}rerenderColumns(e,r){var C={cols:this.columns,leftCol:this.leftCol,rightCol:this.rightCol},D=0;e&&!this.initialized||(this.clear(),this.calcWindowBuffer(),this.scrollLeft=this.elementVertical.scrollLeft,this.vDomScrollPosLeft=this.scrollLeft-this.windowBuffer,this.vDomScrollPosRight=this.scrollLeft+this.elementVertical.clientWidth+this.windowBuffer,this.table.columnManager.columnsByIndex.forEach(T=>{var p={},t;T.visible&&(T.modules.frozen||(t=T.getWidth(),p.leftPos=D,p.rightPos=D+t,p.width=t,this.isFitData&&(p.fitDataCheck=T.modules.vdomHoz?T.modules.vdomHoz.fitDataCheck:!0),D+t>this.vDomScrollPosLeft&&D{r.appendChild(C.getElement())}),e.element.appendChild(r),e.cells.forEach(C=>{C.cellRendered()})}}rerenderRowCells(e,r){this.reinitializeRow(e,r)}reinitializeColumnWidths(e){for(let r=this.leftCol;r<=this.rightCol;r++)this.columns[r].reinitializeWidth()}deinitialize(){this.initialized=!1}clear(){this.columns=[],this.leftCol=-1,this.rightCol=0,this.vDomScrollPosLeft=0,this.vDomScrollPosRight=0,this.vDomPadLeft=0,this.vDomPadRight=0}dataChange(){var e=!1,r,C;if(this.isFitData){if(this.table.columnManager.columnsByIndex.forEach(D=>{!D.definition.width&&D.visible&&(e=!0)}),e&&this.table.rowManager.getDisplayRows().length&&(this.vDomScrollPosRight=this.scrollLeft+this.elementVertical.clientWidth+this.windowBuffer,r=this.chain("rows-sample",[1],[],()=>this.table.rowManager.getDisplayRows())[0],r)){C=r.getElement(),r.generateCells(),this.tableElement.appendChild(C);for(let D=0;D{C!==this.columns[D]&&(r=!1)}),!r)}reinitializeRows(){var e=this.getVisibleRows(),r=this.table.rowManager.getRows().filter(C=>!e.includes(C));e.forEach(C=>{this.reinitializeRow(C,!0)}),r.forEach(C=>{C.deinitialize()})}getVisibleRows(){return this.visibleRows||(this.visibleRows=this.table.rowManager.getVisibleRows()),this.visibleRows}scroll(e){this.vDomScrollPosLeft+=e,this.vDomScrollPosRight+=e,Math.abs(e)>this.windowBuffer/2?this.rerenderColumns():e>0?(this.addColRight(),this.removeColLeft()):(this.addColLeft(),this.removeColRight())}colPositionAdjust(e,r,C){for(let D=e;D{if(D.type!=="group"){var T=D.getCell(C);D.getElement().insertBefore(T.getElement(),D.getCell(this.columns[this.rightCol]).getElement().nextSibling),T.cellRendered()}}),this.fitDataColActualWidthCheck(C),this.rightCol++,this.getVisibleRows().forEach(D=>{D.type!=="group"&&(D.modules.vdomHoz.rightCol=this.rightCol)}),this.rightCol>=this.columns.length-1?this.vDomPadRight=0:this.vDomPadRight-=C.getWidth()):r=!1}e&&(this.tableElement.style.paddingRight=this.vDomPadRight+"px")}addColLeft(){for(var e=!1,r=!0;r;){let C=this.columns[this.leftCol-1];if(C)if(C.modules.vdomHoz.rightPos>=this.vDomScrollPosLeft){e=!0,this.getVisibleRows().forEach(T=>{if(T.type!=="group"){var p=T.getCell(C);T.getElement().insertBefore(p.getElement(),T.getCell(this.columns[this.leftCol]).getElement()),p.cellRendered()}}),this.leftCol--,this.getVisibleRows().forEach(T=>{T.type!=="group"&&(T.modules.vdomHoz.leftCol=this.leftCol)}),this.leftCol<=0?this.vDomPadLeft=0:this.vDomPadLeft-=C.getWidth();let D=this.fitDataColActualWidthCheck(C);D&&(this.scrollLeft=this.elementVertical.scrollLeft=this.elementVertical.scrollLeft+D,this.vDomPadRight-=D)}else r=!1;else r=!1}e&&(this.tableElement.style.paddingLeft=this.vDomPadLeft+"px")}removeColRight(){for(var e=!1,r=!0;r;){let C=this.columns[this.rightCol];C&&C.modules.vdomHoz.leftPos>this.vDomScrollPosRight?(e=!0,this.getVisibleRows().forEach(D=>{if(D.type!=="group"){var T=D.getCell(C);try{D.getElement().removeChild(T.getElement())}catch(p){console.warn("Could not removeColRight",p.message)}}}),this.vDomPadRight+=C.getWidth(),this.rightCol--,this.getVisibleRows().forEach(D=>{D.type!=="group"&&(D.modules.vdomHoz.rightCol=this.rightCol)})):r=!1}e&&(this.tableElement.style.paddingRight=this.vDomPadRight+"px")}removeColLeft(){for(var e=!1,r=!0;r;){let C=this.columns[this.leftCol];C&&C.modules.vdomHoz.rightPos{if(D.type!=="group"){var T=D.getCell(C);try{D.getElement().removeChild(T.getElement())}catch(p){console.warn("Could not removeColLeft",p.message)}}}),this.vDomPadLeft+=C.getWidth(),this.leftCol++,this.getVisibleRows().forEach(D=>{D.type!=="group"&&(D.modules.vdomHoz.leftCol=this.leftCol)})):r=!1}e&&(this.tableElement.style.paddingLeft=this.vDomPadLeft+"px")}fitDataColActualWidthCheck(e){var r,C;return e.modules.vdomHoz.fitDataCheck&&(e.reinitializeWidth(),r=e.getWidth(),C=r-e.modules.vdomHoz.width,C&&(e.modules.vdomHoz.rightPos+=C,e.modules.vdomHoz.width=r,this.colPositionAdjust(this.columns.indexOf(e)+1,this.columns.length,C)),e.modules.vdomHoz.fitDataCheck=!1),C}initializeRow(e){if(e.type!=="group"){e.modules.vdomHoz={leftCol:this.leftCol,rightCol:this.rightCol},this.table.modules.frozenColumns&&this.table.modules.frozenColumns.leftColumns.forEach(r=>{this.appendCell(e,r)});for(let r=this.leftCol;r<=this.rightCol;r++)this.appendCell(e,this.columns[r]);this.table.modules.frozenColumns&&this.table.modules.frozenColumns.rightColumns.forEach(r=>{this.appendCell(e,r)})}}appendCell(e,r){if(r&&r.visible){let C=e.getCell(r);e.getElement().appendChild(C.getElement()),C.cellRendered()}}reinitializeRow(e,r){if(e.type!=="group"&&(r||!e.modules.vdomHoz||e.modules.vdomHoz.leftCol!==this.leftCol||e.modules.vdomHoz.rightCol!==this.rightCol)){for(var C=e.getElement();C.firstChild;)C.removeChild(C.firstChild);this.initializeRow(e)}}}class BP extends kl{constructor(e){super(e),this.blockHozScrollEvent=!1,this.headersElement=null,this.contentsElement=null,this.element=null,this.columns=[],this.columnsByIndex=[],this.columnsByField={},this.scrollLeft=0,this.optionsList=new QM(this.table,"column definition",PM),this.redrawBlock=!1,this.redrawBlockUpdate=null,this.renderer=null}initialize(){this.initializeRenderer(),this.headersElement=this.createHeadersElement(),this.contentsElement=this.createHeaderContentsElement(),this.element=this.createHeaderElement(),this.contentsElement.insertBefore(this.headersElement,this.contentsElement.firstChild),this.element.insertBefore(this.contentsElement,this.element.firstChild),this.initializeScrollWheelWatcher(),this.subscribe("scroll-horizontal",this.scrollHorizontal.bind(this)),this.subscribe("scrollbar-vertical",this.padVerticalScrollbar.bind(this))}padVerticalScrollbar(e){this.table.rtl?this.headersElement.style.marginLeft=e+"px":this.headersElement.style.marginRight=e+"px"}initializeRenderer(){var e,r={virtual:FP,basic:zP};typeof this.table.options.renderHorizontal=="string"?e=r[this.table.options.renderHorizontal]:e=this.table.options.renderHorizontal,e?(this.renderer=new e(this.table,this.element,this.tableElement),this.renderer.initialize()):console.error("Unable to find matching renderer:",this.table.options.renderHorizontal)}createHeadersElement(){var e=document.createElement("div");return e.classList.add("tabulator-headers"),e.setAttribute("role","row"),e}createHeaderContentsElement(){var e=document.createElement("div");return e.classList.add("tabulator-header-contents"),e.setAttribute("role","rowgroup"),e}createHeaderElement(){var e=document.createElement("div");return e.classList.add("tabulator-header"),e.setAttribute("role","rowgroup"),this.table.options.headerVisible||e.classList.add("tabulator-header-hidden"),e}getElement(){return this.element}getContentsElement(){return this.contentsElement}getHeadersElement(){return this.headersElement}scrollHorizontal(e){this.contentsElement.scrollLeft=e,this.scrollLeft=e,this.renderer.scrollColumns(e)}initializeScrollWheelWatcher(){this.contentsElement.addEventListener("wheel",e=>{var r;e.deltaX&&(r=this.contentsElement.scrollLeft+e.deltaX,this.table.rowManager.scrollHorizontal(r),this.table.columnManager.scrollHorizontal(r))})}generateColumnsFromRowData(e){var r=[],C=this.table.options.autoColumnsDefinitions,D,T;if(e&&e.length){D=e[0];for(var p in D){let t={field:p,title:p},d=D[p];switch(typeof d){case"undefined":T="string";break;case"boolean":T="boolean";break;case"object":Array.isArray(d)?T="array":T="string";break;default:!isNaN(d)&&d!==""?T="number":d.match(/((^[0-9]+[a-z]+)|(^[a-z]+[0-9]+))+$/i)?T="alphanum":T="string";break}t.sorter=T,r.push(t)}if(C)switch(typeof C){case"function":this.table.options.columns=C.call(this.table,r);break;case"object":Array.isArray(C)?r.forEach(t=>{var d=C.find(g=>g.field===t.field);d&&Object.assign(t,d)}):r.forEach(t=>{C[t.field]&&Object.assign(t,C[t.field])}),this.table.options.columns=r;break}else this.table.options.columns=r;this.setColumns(this.table.options.columns)}}setColumns(e,r){for(;this.headersElement.firstChild;)this.headersElement.removeChild(this.headersElement.firstChild);this.columns=[],this.columnsByIndex=[],this.columnsByField={},this.dispatch("columns-loading"),e.forEach((C,D)=>{this._addColumn(C)}),this._reIndexColumns(),this.dispatch("columns-loaded"),this.rerenderColumns(!1,!0),this.redraw(!0)}_addColumn(e,r,C){var D=new vh(e,this),T=D.getElement(),p=C&&this.findColumnIndex(C);if(C&&p>-1){var t=C.getTopColumn(),d=this.columns.indexOf(t),g=t.getElement();r?(this.columns.splice(d,0,D),g.parentNode.insertBefore(T,g)):(this.columns.splice(d+1,0,D),g.parentNode.insertBefore(T,g.nextSibling))}else r?(this.columns.unshift(D),this.headersElement.insertBefore(D.getElement(),this.headersElement.firstChild)):(this.columns.push(D),this.headersElement.appendChild(D.getElement()));return D.columnRendered(),D}registerColumnField(e){e.definition.field&&(this.columnsByField[e.definition.field]=e)}registerColumnPosition(e){this.columnsByIndex.push(e)}_reIndexColumns(){this.columnsByIndex=[],this.columns.forEach(function(e){e.reRegisterPosition()})}verticalAlignHeaders(){var e=0;this.redrawBlock||(this.headersElement.style.height="",this.columns.forEach(r=>{r.clearVerticalAlign()}),this.columns.forEach(r=>{var C=r.getHeight();C>e&&(e=C)}),this.headersElement.style.height=e+"px",this.columns.forEach(r=>{r.verticalAlign(this.table.options.columnHeaderVertAlign,e)}),this.table.rowManager.adjustTableSize())}findColumn(e){var r;if(typeof e=="object"){if(e instanceof vh)return e;if(e instanceof RM)return e._getSelf()||!1;if(typeof HTMLElement<"u"&&e instanceof HTMLElement)return r=[],this.columns.forEach(D=>{r.push(D),r=r.concat(D.getColumns(!0))}),r.find(D=>D.element===e)||!1}else return this.columnsByField[e]||!1;return!1}getColumnByField(e){return this.columnsByField[e]}getColumnsByFieldRoot(e){var r=[];return Object.keys(this.columnsByField).forEach(C=>{var D=this.table.options.nestedFieldSeparator?C.split(this.table.options.nestedFieldSeparator)[0]:C;D===e&&r.push(this.columnsByField[C])}),r}getColumnByIndex(e){return this.columnsByIndex[e]}getFirstVisibleColumn(){var e=this.columnsByIndex.findIndex(r=>r.visible);return e>-1?this.columnsByIndex[e]:!1}getVisibleColumnsByIndex(){return this.columnsByIndex.filter(e=>e.visible)}getColumns(){return this.columns}findColumnIndex(e){return this.columnsByIndex.findIndex(r=>e===r)}getRealColumns(){return this.columnsByIndex}traverse(e){this.columnsByIndex.forEach((r,C)=>{e(r,C)})}getDefinitions(e){var r=[];return this.columnsByIndex.forEach(C=>{(!e||e&&C.visible)&&r.push(C.getDefinition())}),r}getDefinitionTree(){var e=[];return this.columns.forEach(r=>{e.push(r.getDefinition(!0))}),e}getComponents(e){var r=[],C=e?this.columns:this.columnsByIndex;return C.forEach(D=>{r.push(D.getComponent())}),r}getWidth(){var e=0;return this.columnsByIndex.forEach(r=>{r.visible&&(e+=r.getWidth())}),e}moveColumn(e,r,C){r.element.parentNode.insertBefore(e.element,r.element),C&&r.element.parentNode.insertBefore(r.element,e.element),this.moveColumnActual(e,r,C),this.verticalAlignHeaders(),this.table.rowManager.reinitialize()}moveColumnActual(e,r,C){e.parent.isGroup?this._moveColumnInArray(e.parent.columns,e,r,C):this._moveColumnInArray(this.columns,e,r,C),this._moveColumnInArray(this.columnsByIndex,e,r,C,!0),this.rerenderColumns(!0),this.dispatch("column-moved",e,r,C),this.subscribedExternal("columnMoved")&&this.dispatchExternal("columnMoved",e.getComponent(),this.table.columnManager.getComponents())}_moveColumnInArray(e,r,C,D,T){var p=e.indexOf(r),t,d=[];p>-1&&(e.splice(p,1),t=e.indexOf(C),t>-1?D&&(t=t+1):t=p,e.splice(t,0,r),T&&(d=this.chain("column-moving-rows",[r,C,D],null,[])||[],d=d.concat(this.table.rowManager.rows),d.forEach(function(g){if(g.cells.length){var i=g.cells.splice(p,1)[0];g.cells.splice(t,0,i)}})))}scrollToColumn(e,r,C){var D=0,T=e.getLeftOffset(),p=0,t=e.getElement();return new Promise((d,g)=>{if(typeof r>"u"&&(r=this.table.options.scrollToColumnPosition),typeof C>"u"&&(C=this.table.options.scrollToColumnIfVisible),e.visible){switch(r){case"middle":case"center":p=-this.element.clientWidth/2;break;case"right":p=t.clientWidth-this.headersElement.clientWidth;break}if(!C&&T>0&&T+t.offsetWidth{r.push(C.generateCell(e))}),r}getFlexBaseWidth(){var e=this.table.element.clientWidth,r=0;return this.table.rowManager.element.scrollHeight>this.table.rowManager.element.clientHeight&&(e-=this.table.rowManager.element.offsetWidth-this.table.rowManager.element.clientWidth),this.columnsByIndex.forEach(function(C){var D,T,p;C.visible&&(D=C.definition.width||0,T=parseInt(C.minWidth),typeof D=="string"?D.indexOf("%")>-1?p=e/100*parseInt(D):p=parseInt(D):p=D,r+=p>T?p:T)}),r}addColumn(e,r,C){return new Promise((D,T)=>{var p=this._addColumn(e,r,C);this._reIndexColumns(),this.dispatch("column-add",e,r,C),this.layoutMode()!="fitColumns"&&p.reinitializeWidth(),this.redraw(!0),this.table.rowManager.reinitialize(),this.rerenderColumns(),D(p)})}deregisterColumn(e){var r=e.getField(),C;r&&delete this.columnsByField[r],C=this.columnsByIndex.indexOf(e),C>-1&&this.columnsByIndex.splice(C,1),C=this.columns.indexOf(e),C>-1&&this.columns.splice(C,1),this.verticalAlignHeaders(),this.redraw()}rerenderColumns(e,r){this.redrawBlock?(e===!1||e===!0&&this.redrawBlockUpdate===null)&&(this.redrawBlockUpdate=e):this.renderer.rerenderColumns(e,r)}blockRedraw(){this.redrawBlock=!0,this.redrawBlockUpdate=null}restoreRedraw(){this.redrawBlock=!1,this.verticalAlignHeaders(),this.renderer.rerenderColumns(this.redrawBlockUpdate)}redraw(e){oo.elVisible(this.element)&&this.verticalAlignHeaders(),e&&(this.table.rowManager.resetScroll(),this.table.rowManager.reinitialize()),this.confirm("table-redrawing",e)||this.layoutRefresh(e),this.dispatch("table-redraw",e),this.table.footerManager.redraw()}}class NP extends Zy{constructor(e){super(e),this.verticalFillMode="fill",this.scrollTop=0,this.scrollLeft=0,this.scrollTop=0,this.scrollLeft=0}clearRows(){for(var e=this.tableElement;e.firstChild;)e.removeChild(e.firstChild);e.scrollTop=0,e.scrollLeft=0,e.style.minWidth="",e.style.minHeight="",e.style.display="",e.style.visibility=""}renderRows(){var e=this.tableElement,r=!0,C=document.createDocumentFragment(),D=this.rows();D.forEach((T,p)=>{this.styleRow(T,p),T.initialize(!1,!0),T.type!=="group"&&(r=!1),C.appendChild(T.getElement())}),e.appendChild(C),D.forEach(T=>{T.rendered(),T.heightInitialized||T.calcHeight(!0)}),D.forEach(T=>{T.heightInitialized||T.setCellHeight()}),r?e.style.minWidth=this.table.columnManager.getWidth()+"px":e.style.minWidth=""}rerenderRows(e){this.clearRows(),e&&e(),this.renderRows(),this.rows().length||this.table.rowManager.tableEmpty()}scrollToRowNearestTop(e){var r=oo.elOffset(e.getElement()).top;return!(Math.abs(this.elementVertical.scrollTop-r)>Math.abs(this.elementVertical.scrollTop+this.elementVertical.clientHeight-r))}scrollToRow(e){var r=e.getElement();this.elementVertical.scrollTop=oo.elOffset(r).top-oo.elOffset(this.elementVertical).top+this.elementVertical.scrollTop}visibleRows(e){return this.rows()}}class VP extends Zy{constructor(e){super(e),this.verticalFillMode="fill",this.scrollTop=0,this.scrollLeft=0,this.vDomRowHeight=20,this.vDomTop=0,this.vDomBottom=0,this.vDomScrollPosTop=0,this.vDomScrollPosBottom=0,this.vDomTopPad=0,this.vDomBottomPad=0,this.vDomMaxRenderChain=90,this.vDomWindowBuffer=0,this.vDomWindowMinTotalRows=20,this.vDomWindowMinMarginRows=5,this.vDomTopNewRows=[],this.vDomBottomNewRows=[]}clearRows(){for(var e=this.tableElement;e.firstChild;)e.removeChild(e.firstChild);e.style.paddingTop="",e.style.paddingBottom="",e.style.minHeight="",e.style.display="",e.style.visibility="",this.elementVertical.scrollTop=0,this.elementVertical.scrollLeft=0,this.scrollTop=0,this.scrollLeft=0,this.vDomTop=0,this.vDomBottom=0,this.vDomTopPad=0,this.vDomBottomPad=0,this.vDomScrollPosTop=0,this.vDomScrollPosBottom=0}renderRows(){this._virtualRenderFill()}rerenderRows(e){for(var r=this.elementVertical.scrollTop,C=!1,D=!1,T=this.table.rowManager.scrollLeft,p=this.rows(),t=this.vDomTop;t<=this.vDomBottom;t++)if(p[t]){var d=r-p[t].getElement().offsetTop;if(D===!1||Math.abs(d){g.deinitializeHeight()}),e&&e(),this.rows().length?this._virtualRenderFill(C===!1?this.rows.length-1:C,!0,D||0):(this.clear(),this.table.rowManager.tableEmpty()),this.scrollColumns(T)}scrollColumns(e){this.table.rowManager.scrollHorizontal(e)}scrollRows(e,r){var C=e-this.vDomScrollPosTop,D=e-this.vDomScrollPosBottom,T=this.vDomWindowBuffer*2,p=this.rows();if(this.scrollTop=e,-C>T||D>T){var t=this.table.rowManager.scrollLeft;this._virtualRenderFill(Math.floor(this.elementVertical.scrollTop/this.elementVertical.scrollHeight*p.length)),this.scrollColumns(t)}else r?(C<0&&this._addTopRow(p,-C),D<0&&(this.vDomScrollHeight-this.scrollTop>this.vDomWindowBuffer?this._removeBottomRow(p,-D):this.vDomScrollPosBottom=this.scrollTop)):(D>=0&&this._addBottomRow(p,D),C>=0&&(this.scrollTop>this.vDomWindowBuffer?this._removeTopRow(p,C):this.vDomScrollPosTop=this.scrollTop))}resize(){this.vDomWindowBuffer=this.table.options.renderVerticalBuffer||this.elementVertical.clientHeight}scrollToRowNearestTop(e){var r=this.rows().indexOf(e);return!(Math.abs(this.vDomTop-r)>Math.abs(this.vDomBottom-r))}scrollToRow(e){var r=this.rows().indexOf(e);r>-1&&this._virtualRenderFill(r,!0)}visibleRows(e){var r=this.elementVertical.scrollTop,C=this.elementVertical.clientHeight+r,D=!1,T=0,p=0,t=this.rows();if(e)T=this.vDomTop,p=this.vDomBottom;else for(var d=this.vDomTop;d<=this.vDomBottom;d++)if(t[d])if(D)if(C-t[d].getElement().offsetTop>=0)p=d;else break;else if(r-t[d].getElement().offsetTop>=0)T=d;else if(D=!0,C-t[d].getElement().offsetTop>=0)p=d;else break;return t.slice(T,p+1)}_virtualRenderFill(e,r,C){var D=this.tableElement,T=this.elementVertical,p=0,t=0,d=0,g=0,i=0,M=0,v=this.rows(),f=v.length,l=0,a,u,o=[],s=0,c=0,h=this.table.rowManager.fixedHeight,m=this.elementVertical.clientHeight,w=this.table.options.rowHeight,y=!0;if(e=e||0,C=C||0,!e)this.clear();else{for(;D.firstChild;)D.removeChild(D.firstChild);g=(f-e+1)*this.vDomRowHeight,g{S.rendered(),S.heightInitialized||S.calcHeight(!0)}),o.forEach(S=>{S.heightInitialized||S.setCellHeight()}),o.forEach(S=>{d=S.getHeight(),sthis.vDomWindowBuffer&&(this.vDomWindowBuffer=d*2),s++}),y=this.table.rowManager.adjustTableSize(),m=this.elementVertical.clientHeight,y&&(h||this.table.options.maxHeight)&&(w=t/s,c=Math.max(this.vDomWindowMinTotalRows,Math.ceil(m/w+this.vDomWindowBuffer/w)))}e?(this.vDomTopPad=r?this.vDomRowHeight*this.vDomTop+C:this.scrollTop-i,this.vDomBottomPad=this.vDomBottom==f-1?0:Math.max(this.vDomScrollHeight-this.vDomTopPad-t-i,0)):(this.vDomTopPad=0,this.vDomRowHeight=Math.floor((t+i)/s),this.vDomBottomPad=this.vDomRowHeight*(f-this.vDomBottom-1),this.vDomScrollHeight=i+t+this.vDomBottomPad-m),D.style.paddingTop=this.vDomTopPad+"px",D.style.paddingBottom=this.vDomBottomPad+"px",r&&(this.scrollTop=this.vDomTopPad+i+C-(this.elementVertical.scrollWidth>this.elementVertical.clientWidth?this.elementVertical.offsetHeight-m:0)),this.scrollTop=Math.min(this.scrollTop,this.elementVertical.scrollHeight-m),this.elementVertical.scrollWidth>this.elementVertical.clientWidth&&r&&(this.scrollTop+=this.elementVertical.offsetHeight-m),this.vDomScrollPosTop=this.scrollTop,this.vDomScrollPosBottom=this.scrollTop,T.scrollTop=this.scrollTop,this.dispatch("render-virtual-fill")}}_addTopRow(e,r){for(var C=this.tableElement,D=[],T=0,p=this.vDomTop-1,t=0,d=!0;d;)if(this.vDomTop){let g=e[p],i,M;g&&t=i?(this.styleRow(g,p),C.insertBefore(g.getElement(),C.firstChild),(!g.initialized||!g.heightInitialized)&&D.push(g),g.initialize(),M||(i=g.getElement().offsetHeight,i>this.vDomWindowBuffer&&(this.vDomWindowBuffer=i*2)),r-=i,T+=i,this.vDomTop--,p--,t++):d=!1):d=!1}else d=!1;for(let g of D)g.clearCellHeight();this._quickNormalizeRowHeight(D),T&&(this.vDomTopPad-=T,this.vDomTopPad<0&&(this.vDomTopPad=p*this.vDomRowHeight),p<1&&(this.vDomTopPad=0),C.style.paddingTop=this.vDomTopPad+"px",this.vDomScrollPosTop-=T)}_removeTopRow(e,r){for(var C=[],D=0,T=0,p=!0;p;){let t=e[this.vDomTop],d;t&&T=d?(this.vDomTop++,r-=d,D+=d,C.push(t),T++):p=!1):p=!1}for(let t of C){let d=t.getElement();d.parentNode&&d.parentNode.removeChild(d)}D&&(this.vDomTopPad+=D,this.tableElement.style.paddingTop=this.vDomTopPad+"px",this.vDomScrollPosTop+=this.vDomTop?D:D+this.vDomWindowBuffer)}_addBottomRow(e,r){for(var C=this.tableElement,D=[],T=0,p=this.vDomBottom+1,t=0,d=!0;d;){let g=e[p],i,M;g&&t=i?(this.styleRow(g,p),C.appendChild(g.getElement()),(!g.initialized||!g.heightInitialized)&&D.push(g),g.initialize(),M||(i=g.getElement().offsetHeight,i>this.vDomWindowBuffer&&(this.vDomWindowBuffer=i*2)),r-=i,T+=i,this.vDomBottom++,p++,t++):d=!1):d=!1}for(let g of D)g.clearCellHeight();this._quickNormalizeRowHeight(D),T&&(this.vDomBottomPad-=T,(this.vDomBottomPad<0||p==e.length-1)&&(this.vDomBottomPad=0),C.style.paddingBottom=this.vDomBottomPad+"px",this.vDomScrollPosBottom+=T)}_removeBottomRow(e,r){for(var C=[],D=0,T=0,p=!0;p;){let t=e[this.vDomBottom],d;t&&T=d?(this.vDomBottom--,r-=d,D+=d,C.push(t),T++):p=!1):p=!1}for(let t of C){let d=t.getElement();d.parentNode&&d.parentNode.removeChild(d)}D&&(this.vDomBottomPad+=D,this.vDomBottomPad<0&&(this.vDomBottomPad=0),this.tableElement.style.paddingBottom=this.vDomBottomPad+"px",this.vDomScrollPosBottom-=D)}_quickNormalizeRowHeight(e){for(let r of e)r.calcHeight();for(let r of e)r.setCellHeight()}}class jP extends kl{constructor(e){super(e),this.element=this.createHolderElement(),this.tableElement=this.createTableElement(),this.heightFixer=this.createTableElement(),this.placeholder=null,this.placeholderContents=null,this.firstRender=!1,this.renderMode="virtual",this.fixedHeight=!1,this.rows=[],this.activeRowsPipeline=[],this.activeRows=[],this.activeRowsCount=0,this.displayRows=[],this.displayRowsCount=0,this.scrollTop=0,this.scrollLeft=0,this.redrawBlock=!1,this.redrawBlockRestoreConfig=!1,this.redrawBlockRenderInPosition=!1,this.dataPipeline=[],this.displayPipeline=[],this.scrollbarWidth=0,this.renderer=null}createHolderElement(){var e=document.createElement("div");return e.classList.add("tabulator-tableholder"),e.setAttribute("tabindex",0),e}createTableElement(){var e=document.createElement("div");return e.classList.add("tabulator-table"),e.setAttribute("role","rowgroup"),e}initializePlaceholder(){var e=this.table.options.placeholder;if(typeof e=="function"&&(e=e.call(this.table)),e=this.chain("placeholder",[e],e,e)||e,e){let r=document.createElement("div");if(r.classList.add("tabulator-placeholder"),typeof e=="string"){let C=document.createElement("div");C.classList.add("tabulator-placeholder-contents"),C.innerHTML=e,r.appendChild(C),this.placeholderContents=C}else typeof HTMLElement<"u"&&e instanceof HTMLElement?(r.appendChild(e),this.placeholderContents=e):(console.warn("Invalid placeholder provided, must be string or HTML Element",e),this.el=null);this.placeholder=r}}getElement(){return this.element}getTableElement(){return this.tableElement}initialize(){this.initializePlaceholder(),this.initializeRenderer(),this.element.appendChild(this.tableElement),this.firstRender=!0,this.element.addEventListener("scroll",()=>{var e=this.element.scrollLeft,r=this.scrollLeft>e,C=this.element.scrollTop,D=this.scrollTop>C;this.scrollLeft!=e&&(this.scrollLeft=e,this.dispatch("scroll-horizontal",e,r),this.dispatchExternal("scrollHorizontal",e,r),this._positionPlaceholder()),this.scrollTop!=C&&(this.scrollTop=C,this.renderer.scrollRows(C,D),this.dispatch("scroll-vertical",C,D),this.dispatchExternal("scrollVertical",C,D))})}findRow(e){if(typeof e=="object"){if(e instanceof vl)return e;if(e instanceof Wy)return e._getSelf()||!1;if(typeof HTMLElement<"u"&&e instanceof HTMLElement)return this.rows.find(C=>C.getElement()===e)||!1;if(e===null)return!1}else return typeof e>"u"?!1:this.rows.find(C=>C.data[this.table.options.index]==e)||!1;return!1}getRowFromDataObject(e){var r=this.rows.find(C=>C.data===e);return r||!1}getRowFromPosition(e){return this.getDisplayRows().find(r=>r.getPosition()===e&&r.isDisplayed())}scrollToRow(e,r,C){return this.renderer.scrollToRowPosition(e,r,C)}setData(e,r,C){return new Promise((D,T)=>{r&&this.getDisplayRows().length?this.table.options.pagination?this._setDataActual(e,!0):this.reRenderInPosition(()=>{this._setDataActual(e)}):(this.table.options.autoColumns&&C&&this.table.initialized&&this.table.columnManager.generateColumnsFromRowData(e),this.resetScroll(),this._setDataActual(e)),D()})}_setDataActual(e,r){this.dispatchExternal("dataProcessing",e),this._wipeElements(),Array.isArray(e)?(this.dispatch("data-processing",e),e.forEach((C,D)=>{if(C&&typeof C=="object"){var T=new vl(C,this);this.rows.push(T)}else console.warn("Data Loading Warning - Invalid row data detected and ignored, expecting object but received:",C)}),this.refreshActiveData(!1,!1,r),this.dispatch("data-processed",e),this.dispatchExternal("dataProcessed",e)):console.error(`Data Loading Error - Unable to process data due to invalid data type -Expecting: array -Received: `,typeof e,` -Data: `,e)}_wipeElements(){this.dispatch("rows-wipe"),this.destroy(),this.adjustTableSize(),this.dispatch("rows-wiped")}destroy(){this.rows.forEach(e=>{e.wipe()}),this.rows=[],this.activeRows=[],this.activeRowsPipeline=[],this.activeRowsCount=0,this.displayRows=[],this.displayRowsCount=0}deleteRow(e,r){var C=this.rows.indexOf(e),D=this.activeRows.indexOf(e);D>-1&&this.activeRows.splice(D,1),C>-1&&this.rows.splice(C,1),this.setActiveRows(this.activeRows),this.displayRowIterator(T=>{var p=T.indexOf(e);p>-1&&T.splice(p,1)}),r||this.reRenderInPosition(),this.regenerateRowPositions(),this.dispatchExternal("rowDeleted",e.getComponent()),this.displayRowsCount||this.tableEmpty(),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.getData())}addRow(e,r,C,D){var T=this.addRowActual(e,r,C,D);return T}addRows(e,r,C,D){var T=[];return new Promise((p,t)=>{r=this.findAddRowPos(r),Array.isArray(e)||(e=[e]),(typeof C>"u"&&r||typeof C<"u"&&!r)&&e.reverse(),e.forEach((d,g)=>{var i=this.addRow(d,r,C,!0);T.push(i),this.dispatch("row-added",i,d,r,C)}),this.refreshActiveData(D?"displayPipeline":!1,!1,!0),this.regenerateRowPositions(),this.displayRowsCount&&this._clearPlaceholder(),p(T)})}findAddRowPos(e){return typeof e>"u"&&(e=this.table.options.addRowPos),e==="pos"&&(e=!0),e==="bottom"&&(e=!1),e}addRowActual(e,r,C,D){var T=e instanceof vl?e:new vl(e||{},this),p=this.findAddRowPos(r),t=-1,d,g;return C||(g=this.chain("row-adding-position",[T,p],null,{index:C,top:p}),C=g.index,p=g.top),typeof C<"u"&&(C=this.findRow(C)),C=this.chain("row-adding-index",[T,C,p],null,C),C&&(t=this.rows.indexOf(C)),C&&t>-1?(d=this.activeRows.indexOf(C),this.displayRowIterator(function(i){var M=i.indexOf(C);M>-1&&i.splice(p?M:M+1,0,T)}),d>-1&&this.activeRows.splice(p?d:d+1,0,T),this.rows.splice(p?t:t+1,0,T)):p?(this.displayRowIterator(function(i){i.unshift(T)}),this.activeRows.unshift(T),this.rows.unshift(T)):(this.displayRowIterator(function(i){i.push(T)}),this.activeRows.push(T),this.rows.push(T)),this.setActiveRows(this.activeRows),this.dispatchExternal("rowAdded",T.getComponent()),this.subscribedExternal("dataChanged")&&this.dispatchExternal("dataChanged",this.table.rowManager.getData()),D||this.reRenderInPosition(),T}moveRow(e,r,C){this.dispatch("row-move",e,r,C),this.moveRowActual(e,r,C),this.regenerateRowPositions(),this.dispatch("row-moved",e,r,C),this.dispatchExternal("rowMoved",e.getComponent())}moveRowActual(e,r,C){this.moveRowInArray(this.rows,e,r,C),this.moveRowInArray(this.activeRows,e,r,C),this.displayRowIterator(D=>{this.moveRowInArray(D,e,r,C)}),this.dispatch("row-moving",e,r,C)}moveRowInArray(e,r,C,D){var T,p,t,d;if(r!==C&&(T=e.indexOf(r),T>-1&&(e.splice(T,1),p=e.indexOf(C),p>-1?D?e.splice(p+1,0,r):e.splice(p,0,r):e.splice(T,0,r)),e===this.getDisplayRows())){t=TT?p:T+1;for(let g=t;g<=d;g++)e[g]&&this.styleRow(e[g],g)}}clearData(){this.setData([])}getRowIndex(e){return this.findRowIndex(e,this.rows)}getDisplayRowIndex(e){var r=this.getDisplayRows().indexOf(e);return r>-1?r:!1}nextDisplayRow(e,r){var C=this.getDisplayRowIndex(e),D=!1;return C!==!1&&C-1)?C:!1}getData(e,r){var C=[],D=this.getRows(e);return D.forEach(function(T){T.type=="row"&&C.push(T.getData(r||"data"))}),C}getComponents(e){var r=[],C=this.getRows(e);return C.forEach(function(D){r.push(D.getComponent())}),r}getDataCount(e){var r=this.getRows(e);return r.length}scrollHorizontal(e){this.scrollLeft=e,this.element.scrollLeft=e,this.dispatch("scroll-horizontal",e)}registerDataPipelineHandler(e,r){typeof r<"u"?(this.dataPipeline.push({handler:e,priority:r}),this.dataPipeline.sort((C,D)=>C.priority-D.priority)):console.error("Data pipeline handlers must have a priority in order to be registered")}registerDisplayPipelineHandler(e,r){typeof r<"u"?(this.displayPipeline.push({handler:e,priority:r}),this.displayPipeline.sort((C,D)=>C.priority-D.priority)):console.error("Display pipeline handlers must have a priority in order to be registered")}refreshActiveData(e,r,C){var D=this.table,T="",p=0,t=["all","dataPipeline","display","displayPipeline","end"];if(!this.table.destroyed){if(typeof e=="function")if(p=this.dataPipeline.findIndex(d=>d.handler===e),p>-1)T="dataPipeline",r&&(p==this.dataPipeline.length-1?T="display":p++);else if(p=this.displayPipeline.findIndex(d=>d.handler===e),p>-1)T="displayPipeline",r&&(p==this.displayPipeline.length-1?T="end":p++);else{console.error("Unable to refresh data, invalid handler provided",e);return}else T=e||"all",p=0;if(this.redrawBlock){(!this.redrawBlockRestoreConfig||this.redrawBlockRestoreConfig&&(this.redrawBlockRestoreConfig.stage===T&&p{C.type==="row"&&(C.setPosition(r),r++)})}setActiveRows(e){this.activeRows=this.activeRows=Object.assign([],e),this.activeRowsCount=this.activeRows.length}resetDisplayRows(){this.displayRows=[],this.displayRows.push(this.activeRows.slice(0)),this.displayRowsCount=this.displayRows[0].length}setDisplayRows(e,r){this.displayRows[r]=e,r==this.displayRows.length-1&&(this.displayRowsCount=this.displayRows[this.displayRows.length-1].length)}getDisplayRows(e){return typeof e>"u"?this.displayRows.length?this.displayRows[this.displayRows.length-1]:[]:this.displayRows[e]||[]}getVisibleRows(e,r){var C=Object.assign([],this.renderer.visibleRows(!r));return e&&(C=this.chain("rows-visible",[r],C,C)),C}displayRowIterator(e){this.activeRowsPipeline.forEach(e),this.displayRows.forEach(e),this.displayRowsCount=this.displayRows[this.displayRows.length-1].length}getRows(e){var r=[];switch(e){case"active":r=this.activeRows;break;case"display":r=this.table.rowManager.getDisplayRows();break;case"visible":r=this.getVisibleRows(!1,!0);break;default:r=this.chain("rows-retrieve",e,null,this.rows)||this.rows}return r}reRenderInPosition(e){this.redrawBlock?e?e():this.redrawBlockRenderInPosition=!0:(this.dispatchExternal("renderStarted"),this.renderer.rerenderRows(e),this.fixedHeight||this.adjustTableSize(),this.scrollBarCheck(),this.dispatchExternal("renderComplete"))}scrollBarCheck(){var e=0;this.element.scrollHeight>this.element.clientHeight&&(e=this.element.offsetWidth-this.element.clientWidth),e!==this.scrollbarWidth&&(this.scrollbarWidth=e,this.dispatch("scrollbar-vertical",e))}initializeRenderer(){var e,r={virtual:VP,basic:NP};typeof this.table.options.renderVertical=="string"?e=r[this.table.options.renderVertical]:e=this.table.options.renderVertical,e?(this.renderMode=this.table.options.renderVertical,this.renderer=new e(this.table,this.element,this.tableElement),this.renderer.initialize(),(this.table.element.clientHeight||this.table.options.height)&&!(this.table.options.minHeight&&this.table.options.maxHeight)?this.fixedHeight=!0:this.fixedHeight=!1):console.error("Unable to find matching renderer:",this.table.options.renderVertical)}getRenderMode(){return this.renderMode}renderTable(){this.dispatchExternal("renderStarted"),this.element.scrollTop=0,this._clearTable(),this.displayRowsCount?(this.renderer.renderRows(),this.firstRender&&(this.firstRender=!1,this.fixedHeight||this.adjustTableSize(),this.layoutRefresh(!0))):this.renderEmptyScroll(),this.fixedHeight||this.adjustTableSize(),this.dispatch("table-layout"),this.displayRowsCount||this._showPlaceholder(),this.scrollBarCheck(),this.dispatchExternal("renderComplete")}renderEmptyScroll(){this.placeholder?this.tableElement.style.display="none":this.tableElement.style.minWidth=this.table.columnManager.getWidth()+"px"}_clearTable(){this._clearPlaceholder(),this.scrollTop=0,this.scrollLeft=0,this.renderer.clearRows()}tableEmpty(){this.renderEmptyScroll(),this._showPlaceholder()}checkPlaceholder(){this.displayRowsCount?this._clearPlaceholder():this.tableEmpty()}_showPlaceholder(){this.placeholder&&(this.placeholder&&this.placeholder.parentNode&&this.placeholder.parentNode.removeChild(this.placeholder),this.initializePlaceholder(),this.placeholder.setAttribute("tabulator-render-mode",this.renderMode),this.getElement().appendChild(this.placeholder),this._positionPlaceholder(),this.adjustTableSize())}_clearPlaceholder(){this.placeholder&&this.placeholder.parentNode&&this.placeholder.parentNode.removeChild(this.placeholder),this.tableElement.style.minWidth="",this.tableElement.style.display=""}_positionPlaceholder(){this.placeholder&&this.placeholder.parentNode&&(this.placeholder.style.width=this.table.columnManager.getWidth()+"px",this.placeholderContents.style.width=this.table.rowManager.element.clientWidth+"px",this.placeholderContents.style.marginLeft=this.scrollLeft+"px")}styleRow(e,r){var C=e.getElement();r%2?(C.classList.add("tabulator-row-even"),C.classList.remove("tabulator-row-odd")):(C.classList.add("tabulator-row-odd"),C.classList.remove("tabulator-row-even"))}normalizeHeight(){this.activeRows.forEach(function(e){e.normalizeHeight()})}adjustTableSize(){let e=this.element.clientHeight,r,C=!1;if(this.renderer.verticalFillMode==="fill"){let D=Math.floor(this.table.columnManager.getElement().getBoundingClientRect().height+(this.table.footerManager&&this.table.footerManager.active&&!this.table.footerManager.external?this.table.footerManager.getElement().getBoundingClientRect().height:0));if(this.fixedHeight){r=isNaN(this.table.options.minHeight)?this.table.options.minHeight:this.table.options.minHeight+"px";const T="calc(100% - "+D+"px)";this.element.style.minHeight=r||"calc(100% - "+D+"px)",this.element.style.height=T,this.element.style.maxHeight=T}else this.element.style.height="",this.element.style.height=this.table.element.clientHeight-D+"px",this.element.scrollTop=this.scrollTop;this.renderer.resize(),!this.fixedHeight&&e!=this.element.clientHeight&&(C=!0,this.subscribed("table-resize")?this.dispatch("table-resize"):this.redraw()),this.scrollBarCheck()}return this._positionPlaceholder(),C}reinitialize(){this.rows.forEach(function(e){e.reinitialize(!0)})}blockRedraw(){this.redrawBlock=!0,this.redrawBlockRestoreConfig=!1}restoreRedraw(){this.redrawBlock=!1,this.redrawBlockRestoreConfig?(this.refreshActiveData(this.redrawBlockRestoreConfig.handler,this.redrawBlockRestoreConfig.skipStage,this.redrawBlockRestoreConfig.renderInPosition),this.redrawBlockRestoreConfig=!1):this.redrawBlockRenderInPosition&&this.reRenderInPosition(),this.redrawBlockRenderInPosition=!1}redraw(e){this.adjustTableSize(),this.table.tableWidth=this.table.element.clientWidth,e?this.renderTable():(this.reRenderInPosition(),this.scrollHorizontal(this.scrollLeft))}resetScroll(){if(this.element.scrollLeft=0,this.element.scrollTop=0,this.table.browser==="ie"){var e=document.createEvent("Event");e.initEvent("scroll",!1,!0),this.element.dispatchEvent(e)}else this.element.dispatchEvent(new Event("scroll"))}}class UP extends kl{constructor(e){super(e),this.active=!1,this.element=this.createElement(),this.containerElement=this.createContainerElement(),this.external=!1}initialize(){this.initializeElement()}createElement(){var e=document.createElement("div");return e.classList.add("tabulator-footer"),e}createContainerElement(){var e=document.createElement("div");return e.classList.add("tabulator-footer-contents"),this.element.appendChild(e),e}initializeElement(){if(this.table.options.footerElement)switch(typeof this.table.options.footerElement){case"string":this.table.options.footerElement[0]==="<"?this.containerElement.innerHTML=this.table.options.footerElement:(this.external=!0,this.containerElement=document.querySelector(this.table.options.footerElement));break;default:this.element=this.table.options.footerElement;break}}getElement(){return this.element}append(e){this.activate(),this.containerElement.appendChild(e),this.table.rowManager.adjustTableSize()}prepend(e){this.activate(),this.element.insertBefore(e,this.element.firstChild),this.table.rowManager.adjustTableSize()}remove(e){e.parentNode.removeChild(e),this.deactivate()}deactivate(e){(!this.element.firstChild||e)&&(this.external||this.element.parentNode.removeChild(this.element),this.active=!1)}activate(){this.active||(this.active=!0,this.external||(this.table.element.appendChild(this.getElement()),this.table.element.style.display=""))}redraw(){this.dispatch("footer-redraw")}}class HP extends kl{constructor(e){super(e),this.el=null,this.abortClasses=["tabulator-headers","tabulator-table"],this.previousTargets={},this.listeners=["click","dblclick","contextmenu","mouseenter","mouseleave","mouseover","mouseout","mousemove","mouseup","mousedown","touchstart","touchend"],this.componentMap={"tabulator-cell":"cell","tabulator-row":"row","tabulator-group":"group","tabulator-col":"column"},this.pseudoTrackers={row:{subscriber:null,target:null},cell:{subscriber:null,target:null},group:{subscriber:null,target:null},column:{subscriber:null,target:null}},this.pseudoTracking=!1}initialize(){this.el=this.table.element,this.buildListenerMap(),this.bindSubscriptionWatchers()}buildListenerMap(){var e={};this.listeners.forEach(r=>{e[r]={handler:null,components:[]}}),this.listeners=e}bindPseudoEvents(){Object.keys(this.pseudoTrackers).forEach(e=>{this.pseudoTrackers[e].subscriber=this.pseudoMouseEnter.bind(this,e),this.subscribe(e+"-mouseover",this.pseudoTrackers[e].subscriber)}),this.pseudoTracking=!0}pseudoMouseEnter(e,r,C){this.pseudoTrackers[e].target!==C&&(this.pseudoTrackers[e].target&&this.dispatch(e+"-mouseleave",r,this.pseudoTrackers[e].target),this.pseudoMouseLeave(e,r),this.pseudoTrackers[e].target=C,this.dispatch(e+"-mouseenter",r,C))}pseudoMouseLeave(e,r){var C=Object.keys(this.pseudoTrackers),D={row:["cell"],cell:["row"]};C=C.filter(T=>{var p=D[e];return T!==e&&(!p||p&&!p.includes(T))}),C.forEach(T=>{var p=this.pseudoTrackers[T].target;this.pseudoTrackers[T].target&&(this.dispatch(T+"-mouseleave",r,p),this.pseudoTrackers[T].target=null)})}bindSubscriptionWatchers(){var e=Object.keys(this.listeners),r=Object.values(this.componentMap);for(let C of r)for(let D of e){let T=C+"-"+D;this.subscriptionChange(T,this.subscriptionChanged.bind(this,C,D))}this.subscribe("table-destroy",this.clearWatchers.bind(this))}subscriptionChanged(e,r,C){var D=this.listeners[r].components,T=D.indexOf(e),p=!1;C?T===-1&&(D.push(e),p=!0):this.subscribed(e+"-"+r)||T>-1&&(D.splice(T,1),p=!0),(r==="mouseenter"||r==="mouseleave")&&!this.pseudoTracking&&this.bindPseudoEvents(),p&&this.updateEventListeners()}updateEventListeners(){for(let e in this.listeners){let r=this.listeners[e];r.components.length?r.handler||(r.handler=this.track.bind(this,e),this.el.addEventListener(e,r.handler)):r.handler&&(this.el.removeEventListener(e,r.handler),r.handler=null)}}track(e,r){var C=r.composedPath&&r.composedPath()||r.path,D=this.findTargets(C);D=this.bindComponents(e,D),this.triggerEvents(e,r,D),this.pseudoTracking&&(e=="mouseover"||e=="mouseleave")&&!Object.keys(D).length&&this.pseudoMouseLeave("none",r)}findTargets(e){var r={};let C=Object.keys(this.componentMap);for(let D of e){let T=D.classList?[...D.classList]:[];if(T.filter(d=>this.abortClasses.includes(d)).length)break;let t=T.filter(d=>C.includes(d));for(let d of t)r[this.componentMap[d]]||(r[this.componentMap[d]]=D)}return r.group&&r.group===r.row&&delete r.row,r}bindComponents(e,r){var C=Object.keys(r).reverse(),D=this.listeners[e],T={},p={};for(let t of C){let d,g=r[t],i=this.previousTargets[t];if(i&&i.target===g)d=i.component;else switch(t){case"row":case"group":(D.components.includes("row")||D.components.includes("cell")||D.components.includes("group"))&&(d=this.table.rowManager.getVisibleRows(!0).find(v=>v.getElement()===g),r.row&&r.row.parentNode&&r.row.parentNode.closest(".tabulator-row")&&(r[t]=!1));break;case"column":D.components.includes("column")&&(d=this.table.columnManager.findColumn(g));break;case"cell":D.components.includes("cell")&&(T.row instanceof vl?d=T.row.findCell(g):r.row&&console.warn("Event Target Lookup Error - The row this cell is attached to cannot be found, has the table been reinitialized without being destroyed first?"));break}d&&(T[t]=d,p[t]={target:g,component:d})}return this.previousTargets=p,T}triggerEvents(e,r,C){var D=this.listeners[e];for(let T in C)C[T]&&D.components.includes(T)&&this.dispatch(T+"-"+e,r,C[T])}clearWatchers(){for(let e in this.listeners){let r=this.listeners[e];r.handler&&(this.el.removeEventListener(e,r.handler),r.handler=null)}}}class GP{constructor(e){this.table=e,this.bindings={}}bind(e,r,C){this.bindings[e]||(this.bindings[e]={}),this.bindings[e][r]?console.warn("Unable to bind component handler, a matching function name is already bound",e,r,C):this.bindings[e][r]=C}handle(e,r,C){if(this.bindings[e]&&this.bindings[e][C]&&typeof this.bindings[e][C].bind=="function")return this.bindings[e][C].bind(null,r);C!=="then"&&typeof C=="string"&&!C.startsWith("_")&&this.table.options.debugInvalidComponentFuncs&&console.error("The "+e+" component does not have a "+C+" function, have you checked that you have the correct Tabulator module installed?")}}class qP extends kl{constructor(e){super(e),this.requestOrder=0,this.loading=!1}initialize(){}load(e,r,C,D,T,p){var t=++this.requestOrder;if(this.table.destroyed)return Promise.resolve();if(this.dispatchExternal("dataLoading",e),e&&(e.indexOf("{")==0||e.indexOf("[")==0)&&(e=JSON.parse(e)),this.confirm("data-loading",[e,r,C,T])){this.loading=!0,T||this.alertLoader(),r=this.chain("data-params",[e,C,T],r||{},r||{}),r=this.mapParams(r,this.table.options.dataSendParams);var d=this.chain("data-load",[e,r,C,T],!1,Promise.resolve([]));return d.then(g=>{if(this.table.destroyed)console.warn("Data Load Response Blocked - Table has been destroyed");else{!Array.isArray(g)&&typeof g=="object"&&(g=this.mapParams(g,this.objectInvert(this.table.options.dataReceiveParams)));var i=this.chain("data-loaded",g,null,g);t==this.requestOrder?(this.clearAlert(),i!==!1&&(this.dispatchExternal("dataLoaded",i),this.table.rowManager.setData(i,D,typeof p>"u"?!D:p))):console.warn("Data Load Response Blocked - An active data load request was blocked by an attempt to change table data while the request was being made")}}).catch(g=>{console.error("Data Load Error: ",g),this.dispatchExternal("dataLoadError",g),T||this.alertError(),setTimeout(()=>{this.clearAlert()},this.table.options.dataLoaderErrorTimeout)}).finally(()=>{this.loading=!1})}else return this.dispatchExternal("dataLoaded",e),e||(e=[]),this.table.rowManager.setData(e,D,typeof p>"u"?!D:p),Promise.resolve()}mapParams(e,r){var C={};for(let D in e)C[r.hasOwnProperty(D)?r[D]:D]=e[D];return C}objectInvert(e){var r={};for(let C in e)r[e[C]]=C;return r}blockActiveLoad(){this.requestOrder++}alertLoader(){var e=typeof this.table.options.dataLoader=="function"?this.table.options.dataLoader():this.table.options.dataLoader;e&&this.table.alertManager.alert(this.table.options.dataLoaderLoading||this.langText("data|loading"))}alertError(){this.table.alertManager.alert(this.table.options.dataLoaderError||this.langText("data|error"),"error")}clearAlert(){this.table.alertManager.clear()}}class WP{constructor(e,r,C){this.table=e,this.events={},this.optionsList=r||{},this.subscriptionNotifiers={},this.dispatch=C?this._debugDispatch.bind(this):this._dispatch.bind(this),this.debug=C}subscriptionChange(e,r){this.subscriptionNotifiers[e]||(this.subscriptionNotifiers[e]=[]),this.subscriptionNotifiers[e].push(r),this.subscribed(e)&&this._notifySubscriptionChange(e,!0)}subscribe(e,r){this.events[e]||(this.events[e]=[]),this.events[e].push(r),this._notifySubscriptionChange(e,!0)}unsubscribe(e,r){var C;if(this.events[e])if(r)if(C=this.events[e].findIndex(D=>D===r),C>-1)this.events[e].splice(C,1);else{console.warn("Cannot remove event, no matching event found:",e,r);return}else delete this.events[e];else{console.warn("Cannot remove event, no events set on:",e);return}this._notifySubscriptionChange(e,!1)}subscribed(e){return this.events[e]&&this.events[e].length}_notifySubscriptionChange(e,r){var C=this.subscriptionNotifiers[e];C&&C.forEach(D=>{D(r)})}_dispatch(){var e=Array.from(arguments),r=e.shift(),C;return this.events[r]&&this.events[r].forEach((D,T)=>{let p=D.apply(this.table,e);T||(C=p)}),C}_debugDispatch(){var e=Array.from(arguments),r=e[0];return e[0]="ExternalEvent:"+e[0],(this.debug===!0||this.debug.includes(r))&&console.log(...e),this._dispatch(...arguments)}}class YP{constructor(e){this.events={},this.subscriptionNotifiers={},this.dispatch=e?this._debugDispatch.bind(this):this._dispatch.bind(this),this.chain=e?this._debugChain.bind(this):this._chain.bind(this),this.confirm=e?this._debugConfirm.bind(this):this._confirm.bind(this),this.debug=e}subscriptionChange(e,r){this.subscriptionNotifiers[e]||(this.subscriptionNotifiers[e]=[]),this.subscriptionNotifiers[e].push(r),this.subscribed(e)&&this._notifySubscriptionChange(e,!0)}subscribe(e,r,C=1e4){this.events[e]||(this.events[e]=[]),this.events[e].push({callback:r,priority:C}),this.events[e].sort((D,T)=>D.priority-T.priority),this._notifySubscriptionChange(e,!0)}unsubscribe(e,r){var C;if(this.events[e]){if(r)if(C=this.events[e].findIndex(D=>D.callback===r),C>-1)this.events[e].splice(C,1);else{console.warn("Cannot remove event, no matching event found:",e,r);return}}else{console.warn("Cannot remove event, no events set on:",e);return}this._notifySubscriptionChange(e,!1)}subscribed(e){return this.events[e]&&this.events[e].length}_chain(e,r,C,D){var T=C;return Array.isArray(r)||(r=[r]),this.subscribed(e)?(this.events[e].forEach((p,t)=>{T=p.callback.apply(this,r.concat([T]))}),T):typeof D=="function"?D():D}_confirm(e,r){var C=!1;return Array.isArray(r)||(r=[r]),this.subscribed(e)&&this.events[e].forEach((D,T)=>{D.callback.apply(this,r)&&(C=!0)}),C}_notifySubscriptionChange(e,r){var C=this.subscriptionNotifiers[e];C&&C.forEach(D=>{D(r)})}_dispatch(){var e=Array.from(arguments),r=e.shift();this.events[r]&&this.events[r].forEach(C=>{C.callback.apply(this,e)})}_debugDispatch(){var e=Array.from(arguments),r=e[0];return e[0]="InternalEvent:"+r,(this.debug===!0||this.debug.includes(r))&&console.log(...e),this._dispatch(...arguments)}_debugChain(){var e=Array.from(arguments),r=e[0];return e[0]="InternalEvent:"+r,(this.debug===!0||this.debug.includes(r))&&console.log(...e),this._chain(...arguments)}_debugConfirm(){var e=Array.from(arguments),r=e[0];return e[0]="InternalEvent:"+r,(this.debug===!0||this.debug.includes(r))&&console.log(...e),this._confirm(...arguments)}}class $P extends kl{constructor(e){super(e)}_warnUser(){this.options("debugDeprecation")&&console.warn(...arguments)}check(e,r,C){var D="";return typeof this.options(e)<"u"?(D="Deprecated Setup Option - Use of the %c"+e+"%c option is now deprecated",r?(D=D+", Please use the %c"+r+"%c option instead",this._warnUser(D,"font-weight: bold;","font-weight: normal;","font-weight: bold;","font-weight: normal;"),C&&(this.table.options[r]=this.table.options[e])):this._warnUser(D,"font-weight: bold;","font-weight: normal;"),!1):!0}checkMsg(e,r){return typeof this.options(e)<"u"?(this._warnUser("%cDeprecated Setup Option - Use of the %c"+e+" %c option is now deprecated, "+r,"font-weight: normal;","font-weight: bold;","font-weight: normal;"),!1):!0}msg(e){this._warnUser(e)}}class pu{static register(e){pu.tables.push(e)}static deregister(e){var r=pu.tables.indexOf(e);r>-1&&pu.tables.splice(r,1)}static lookupTable(e,r){var C=[],D,T;if(typeof e=="string"){if(D=document.querySelectorAll(e),D.length)for(var p=0;p{p.widthFixed||p.reinitializeWidth(),(this.table.options.responsiveLayout?p.modules.responsive.visible:p.visible)&&(T=p),p.visible&&(r+=p.getWidth())}),T?(D=C-r+T.getWidth(),this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&(T.setWidth(0),this.table.modules.responsiveLayout.update()),D>0?T.setWidth(D):T.reinitializeWidth()):this.table.options.responsiveLayout&&this.table.modExists("responsiveLayout",!0)&&this.table.modules.responsiveLayout.update()}function KP(n,e){var r=this.table.rowManager.element.getBoundingClientRect().width,C=0,D=0,T=0,p=0,t=[],d=[],g=0,i=0,M=0;function v(l){var a;return typeof l=="string"?l.indexOf("%")>-1?a=r/100*parseInt(l):a=parseInt(l):a=l,a}function f(l,a,u,o){var s=[],c=0,h=0,m=0,w=T,y=0,S=0,_=[];function k(x){return u*(x.column.definition.widthGrow||1)}function E(x){return v(x.width)-u*(x.column.definition.widthShrink||0)}return l.forEach(function(x,A){var L=o?E(x):k(x);x.column.minWidth>=L?s.push(x):x.column.maxWidth&&x.column.maxWidththis.table.rowManager.element.clientHeight&&(r-=this.table.rowManager.element.offsetWidth-this.table.rowManager.element.clientWidth),n.forEach(function(l){var a,u,o;l.visible&&(a=l.definition.width,u=parseInt(l.minWidth),a?(o=v(a),C+=o>u?o:u,l.definition.widthShrink&&(d.push({column:l,width:o>u?o:u}),g+=l.definition.widthShrink)):(t.push({column:l,width:0}),T+=l.definition.widthGrow||1))}),D=r-C,p=Math.floor(D/T),M=f(t,D,p,!1),t.length&&M>0&&(t[t.length-1].width+=M),t.forEach(function(l){D-=l.width}),i=Math.abs(M)+D,i>0&&g&&(M=f(d,i,Math.floor(i/g),!0)),M&&d.length&&(d[d.length-1].width-=M),t.forEach(function(l){l.column.setWidth(l.width)}),d.forEach(function(l){l.column.setWidth(l.width)})}var JP={fitData:ZP,fitDataFill:v5,fitDataTable:v5,fitDataStretch:XP,fitColumns:KP};class s0 extends qi{constructor(e){super(e,"layout"),this.mode=null,this.registerTableOption("layout","fitData"),this.registerTableOption("layoutColumnsOnNewData",!1),this.registerColumnOption("widthGrow"),this.registerColumnOption("widthShrink")}initialize(){var e=this.table.options.layout;s0.modes[e]?this.mode=e:(console.warn("Layout Error - invalid mode set, defaulting to 'fitData' : "+e),this.mode="fitData"),this.table.element.setAttribute("tabulator-layout",this.mode),this.subscribe("column-init",this.initializeColumn.bind(this))}initializeColumn(e){e.definition.widthGrow&&(e.definition.widthGrow=Number(e.definition.widthGrow)),e.definition.widthShrink&&(e.definition.widthShrink=Number(e.definition.widthShrink))}getMode(){return this.mode}layout(e){this.dispatch("layout-refreshing"),s0.modes[this.mode].call(this,this.table.columnManager.columnsByIndex,e),this.dispatch("layout-refreshed")}}s0.moduleName="layout";s0.modes=JP;var QP={default:{groups:{item:"item",items:"items"},columns:{},data:{loading:"Loading",error:"Error"},pagination:{page_size:"Page Size",page_title:"Show Page",first:"First",first_title:"First Page",last:"Last",last_title:"Last Page",prev:"Prev",prev_title:"Prev Page",next:"Next",next_title:"Next Page",all:"All",counter:{showing:"Showing",of:"of",rows:"rows",pages:"pages"}},headerFilters:{default:"filter column...",columns:{}}}};class ag extends qi{constructor(e){super(e),this.locale="default",this.lang=!1,this.bindings={},this.langList={},this.registerTableOption("locale",!1),this.registerTableOption("langs",{})}initialize(){this.langList=oo.deepClone(ag.langs),this.table.options.columnDefaults.headerFilterPlaceholder!==!1&&this.setHeaderFilterPlaceholder(this.table.options.columnDefaults.headerFilterPlaceholder);for(let e in this.table.options.langs)this.installLang(e,this.table.options.langs[e]);this.setLocale(this.table.options.locale),this.registerTableFunction("setLocale",this.setLocale.bind(this)),this.registerTableFunction("getLocale",this.getLocale.bind(this)),this.registerTableFunction("getLang",this.getLang.bind(this))}setHeaderFilterPlaceholder(e){this.langList.default.headerFilters.default=e}installLang(e,r){this.langList[e]?this._setLangProp(this.langList[e],r):this.langList[e]=r}_setLangProp(e,r){for(let C in r)e[C]&&typeof e[C]=="object"?this._setLangProp(e[C],r[C]):e[C]=r[C]}setLocale(e){e=e||"default";function r(C,D){for(var T in C)typeof C[T]=="object"?(D[T]||(D[T]={}),r(C[T],D[T])):D[T]=C[T]}if(e===!0&&navigator.language&&(e=navigator.language.toLowerCase()),e&&!this.langList[e]){let C=e.split("-")[0];this.langList[C]?(console.warn("Localization Error - Exact matching locale not found, using closest match: ",e,C),e=C):(console.warn("Localization Error - Matching locale not found, using default: ",e),e="default")}this.locale=e,this.lang=oo.deepClone(this.langList.default||{}),e!="default"&&r(this.langList[e],this.lang),this.dispatchExternal("localized",this.locale,this.lang),this._executeBindings()}getLocale(e){return this.locale}getLang(e){return e?this.langList[e]:this.lang}getText(e,r){var C=r?e+"|"+r:e,D=C.split("|"),T=this._getLangElement(D,this.locale);return T||""}_getLangElement(e,r){var C=this.lang;return e.forEach(function(D){var T;C&&(T=C[D],typeof T<"u"?C=T:C=!1)}),C}bind(e,r){this.bindings[e]||(this.bindings[e]=[]),this.bindings[e].push(r),r(this.getText(e),this.lang)}_executeBindings(){for(let e in this.bindings)this.bindings[e].forEach(r=>{r(this.getText(e),this.lang)})}}ag.moduleName="localize";ag.langs=QP;class e6 extends qi{constructor(e){super(e)}initialize(){this.registerTableFunction("tableComms",this.receive.bind(this))}getConnections(e){var r=[],C;return C=pu.lookupTable(e),C.forEach(D=>{this.table!==D&&r.push(D)}),r}send(e,r,C,D){var T=this.getConnections(e);T.forEach(p=>{p.tableComms(this.table.element,r,C,D)}),!T.length&&e&&console.warn("Table Connection Error - No tables matching selector found",e)}receive(e,r,C,D){if(this.table.modExists(r))return this.table.modules[r].commsReceived(e,C,D);console.warn("Inter-table Comms Error - no such module:",r)}}e6.moduleName="comms";var eO=Object.freeze({__proto__:null,LayoutModule:s0,LocalizeModule:ag,CommsModule:e6});class t6{constructor(e,r){this.bindStaticFunctionality(e),this.bindModules(e,eO,!0),r&&this.bindModules(e,r)}bindStaticFunctionality(e){e.moduleBindings={},e.extendModule=function(r,C,D){if(e.moduleBindings[r]){var T=e.moduleBindings[r][C];if(T)if(typeof D=="object")for(let p in D)T[p]=D[p];else console.warn("Module Error - Invalid value type, it must be an object");else console.warn("Module Error - property does not exist:",C)}else console.warn("Module Error - module does not exist:",r)},e.registerModule=function(r){Array.isArray(r)||(r=[r]),r.forEach(C=>{e.registerModuleBinding(C)})},e.registerModuleBinding=function(r){e.moduleBindings[r.moduleName]=r},e.findTable=function(r){var C=pu.lookupTable(r,!0);return Array.isArray(C)&&!C.length?!1:C},e.prototype.bindModules=function(){var r=[],C=[],D=[];this.modules={};for(var T in e.moduleBindings){let p=e.moduleBindings[T],t=new p(this);this.modules[T]=t,p.prototype.moduleCore?this.modulesCore.push(t):p.moduleInitOrder?p.moduleInitOrder<0?r.push(t):C.push(t):D.push(t)}r.sort((p,t)=>p.moduleInitOrder>t.moduleInitOrder?1:-1),C.sort((p,t)=>p.moduleInitOrder>t.moduleInitOrder?1:-1),this.modulesRegular=r.concat(D.concat(C))}}bindModules(e,r,C){var D=Object.values(r);C&&D.forEach(T=>{T.prototype.moduleCore=!0}),e.registerModule(D)}}class tO extends kl{constructor(e){super(e),this.element=this._createAlertElement(),this.msgElement=this._createMsgElement(),this.type=null,this.element.appendChild(this.msgElement)}_createAlertElement(){var e=document.createElement("div");return e.classList.add("tabulator-alert"),e}_createMsgElement(){var e=document.createElement("div");return e.classList.add("tabulator-alert-msg"),e.setAttribute("role","alert"),e}_typeClass(){return"tabulator-alert-state-"+this.type}alert(e,r="msg"){if(e){for(this.clear(),this.dispatch("alert-show",r),this.type=r;this.msgElement.firstChild;)this.msgElement.removeChild(this.msgElement.firstChild);this.msgElement.classList.add(this._typeClass()),typeof e=="function"&&(e=e()),e instanceof HTMLElement?this.msgElement.appendChild(e):this.msgElement.innerHTML=e,this.table.element.appendChild(this.element)}}clear(){this.dispatch("alert-hide",this.type),this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.msgElement.classList.remove(this._typeClass())}}class Yd{constructor(e,r){this.options={},this.columnManager=null,this.rowManager=null,this.footerManager=null,this.alertManager=null,this.vdomHoz=null,this.externalEvents=null,this.eventBus=null,this.interactionMonitor=!1,this.browser="",this.browserSlow=!1,this.browserMobile=!1,this.rtl=!1,this.originalElement=null,this.componentFunctionBinder=new GP(this),this.dataLoader=!1,this.modules={},this.modulesCore=[],this.modulesRegular=[],this.deprecationAdvisor=new $P(this),this.optionsList=new QM(this,"table constructor"),this.initialized=!1,this.destroyed=!1,this.initializeElement(e)&&(this.initializeCoreSystems(r),setTimeout(()=>{this._create()})),pu.register(this)}initializeElement(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement?(this.element=e,!0):typeof e=="string"?(this.element=document.querySelector(e),this.element?!0:(console.error("Tabulator Creation Error - no element found matching selector: ",e),!1)):(console.error("Tabulator Creation Error - Invalid element provided:",e),!1)}initializeCoreSystems(e){this.columnManager=new BP(this),this.rowManager=new jP(this),this.footerManager=new UP(this),this.dataLoader=new qP(this),this.alertManager=new tO(this),this.bindModules(),this.options=this.optionsList.generate(Yd.defaultOptions,e),this._clearObjectPointers(),this._mapDeprecatedFunctionality(),this.externalEvents=new WP(this,this.options,this.options.debugEventsExternal),this.eventBus=new YP(this.options.debugEventsInternal),this.interactionMonitor=new HP(this),this.dataLoader.initialize(),this.footerManager.initialize()}_mapDeprecatedFunctionality(){}_clearSelection(){this.element.classList.add("tabulator-block-select"),window.getSelection?window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().removeAllRanges():document.selection&&document.selection.empty(),this.element.classList.remove("tabulator-block-select")}_create(){this.externalEvents.dispatch("tableBuilding"),this.eventBus.dispatch("table-building"),this._rtlCheck(),this._buildElement(),this._initializeTable(),this._loadInitialData(),this.initialized=!0,this.externalEvents.dispatch("tableBuilt")}_rtlCheck(){var e=window.getComputedStyle(this.element);switch(this.options.textDirection){case"auto":if(e.direction!=="rtl")break;case"rtl":this.element.classList.add("tabulator-rtl"),this.rtl=!0;break;case"ltr":this.element.classList.add("tabulator-ltr");default:this.rtl=!1}}_clearObjectPointers(){this.options.columns=this.options.columns.slice(0),Array.isArray(this.options.data)&&!this.options.reactiveData&&(this.options.data=this.options.data.slice(0))}_buildElement(){var e=this.element,r=this.options,C;if(e.tagName==="TABLE"){this.originalElement=this.element,C=document.createElement("div");var D=e.attributes;for(var T in D)typeof D[T]=="object"&&C.setAttribute(D[T].name,D[T].value);e.parentNode.replaceChild(C,e),this.element=e=C}for(e.classList.add("tabulator"),e.setAttribute("role","grid");e.firstChild;)e.removeChild(e.firstChild);r.height&&(r.height=isNaN(r.height)?r.height:r.height+"px",e.style.height=r.height),r.minHeight!==!1&&(r.minHeight=isNaN(r.minHeight)?r.minHeight:r.minHeight+"px",e.style.minHeight=r.minHeight),r.maxHeight!==!1&&(r.maxHeight=isNaN(r.maxHeight)?r.maxHeight:r.maxHeight+"px",e.style.maxHeight=r.maxHeight)}_initializeTable(){var e=this.element,r=this.options;this.interactionMonitor.initialize(),this.columnManager.initialize(),this.rowManager.initialize(),this._detectBrowser(),this.modulesCore.forEach(C=>{C.initialize()}),e.appendChild(this.columnManager.getElement()),e.appendChild(this.rowManager.getElement()),r.footerElement&&this.footerManager.activate(),r.autoColumns&&r.data&&this.columnManager.generateColumnsFromRowData(this.options.data),this.modulesRegular.forEach(C=>{C.initialize()}),this.columnManager.setColumns(r.columns),this.eventBus.dispatch("table-built")}_loadInitialData(){this.dataLoader.load(this.options.data),this.columnManager.verticalAlignHeaders()}destroy(){var e=this.element;for(this.destroyed=!0,pu.deregister(this),this.eventBus.dispatch("table-destroy"),this.rowManager.destroy();e.firstChild;)e.removeChild(e.firstChild);e.classList.remove("tabulator"),this.externalEvents.dispatch("tableDestroyed")}_detectBrowser(){var e=navigator.userAgent||navigator.vendor||window.opera;e.indexOf("Trident")>-1?(this.browser="ie",this.browserSlow=!0):e.indexOf("Edge")>-1?(this.browser="edge",this.browserSlow=!0):e.indexOf("Firefox")>-1?(this.browser="firefox",this.browserSlow=!1):e.indexOf("Mac OS")>-1?(this.browser="safari",this.browserSlow=!1):(this.browser="other",this.browserSlow=!1),this.browserMobile=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e.slice(0,4))}initGuard(e,r){var C,D;return this.options.debugInitialization&&!this.initialized&&(e||(C=new Error().stack.split(` -`),D=C[0]=="Error"?C[2]:C[1],D[0]==" "?e=D.trim().split(" ")[1].split(".")[1]:e=D.trim().split("@")[0]),console.warn("Table Not Initialized - Calling the "+e+" function before the table is initialized may result in inconsistent behavior, Please wait for the `tableBuilt` event before calling this function."+(r?" "+r:""))),this.initialized}blockRedraw(){this.initGuard(),this.eventBus.dispatch("redraw-blocking"),this.rowManager.blockRedraw(),this.columnManager.blockRedraw(),this.eventBus.dispatch("redraw-blocked")}restoreRedraw(){this.initGuard(),this.eventBus.dispatch("redraw-restoring"),this.rowManager.restoreRedraw(),this.columnManager.restoreRedraw(),this.eventBus.dispatch("redraw-restored")}setData(e,r,C){return this.initGuard(!1,"To set initial data please use the 'data' property in the table constructor."),this.dataLoader.load(e,r,C,!1)}clearData(){this.initGuard(),this.dataLoader.blockActiveLoad(),this.rowManager.clearData()}getData(e){return this.rowManager.getData(e)}getDataCount(e){return this.rowManager.getDataCount(e)}replaceData(e,r,C){return this.initGuard(),this.dataLoader.load(e,r,C,!0,!0)}updateData(e){var r=0;return this.initGuard(),new Promise((C,D)=>{this.dataLoader.blockActiveLoad(),typeof e=="string"&&(e=JSON.parse(e)),e&&e.length>0?e.forEach(T=>{var p=this.rowManager.findRow(T[this.options.index]);p?(r++,p.updateData(T).then(()=>{r--,r||C()}).catch(t=>{D("Update Error - Unable to update row",T,t)})):D("Update Error - Unable to find row",T)}):(console.warn("Update Error - No data provided"),D("Update Error - No data provided"))})}addData(e,r,C){return this.initGuard(),new Promise((D,T)=>{this.dataLoader.blockActiveLoad(),typeof e=="string"&&(e=JSON.parse(e)),e?this.rowManager.addRows(e,r,C).then(p=>{var t=[];p.forEach(function(d){t.push(d.getComponent())}),D(t)}):(console.warn("Update Error - No data provided"),T("Update Error - No data provided"))})}updateOrAddData(e){var r=[],C=0;return this.initGuard(),new Promise((D,T)=>{this.dataLoader.blockActiveLoad(),typeof e=="string"&&(e=JSON.parse(e)),e&&e.length>0?e.forEach(p=>{var t=this.rowManager.findRow(p[this.options.index]);C++,t?t.updateData(p).then(()=>{C--,r.push(t.getComponent()),C||D(r)}):this.rowManager.addRows(p).then(d=>{C--,r.push(d[0].getComponent()),C||D(r)})}):(console.warn("Update Error - No data provided"),T("Update Error - No data provided"))})}getRow(e){var r=this.rowManager.findRow(e);return r?r.getComponent():(console.warn("Find Error - No matching row found:",e),!1)}getRowFromPosition(e){var r=this.rowManager.getRowFromPosition(e);return r?r.getComponent():(console.warn("Find Error - No matching row found:",e),!1)}deleteRow(e){var r=[];this.initGuard(),Array.isArray(e)||(e=[e]);for(let C of e){let D=this.rowManager.findRow(C,!0);if(D)r.push(D);else return console.error("Delete Error - No matching row found:",C),Promise.reject("Delete Error - No matching row found")}return r.sort((C,D)=>this.rowManager.rows.indexOf(C)>this.rowManager.rows.indexOf(D)?1:-1),r.forEach(C=>{C.delete()}),this.rowManager.reRenderInPosition(),Promise.resolve()}addRow(e,r,C){return this.initGuard(),typeof e=="string"&&(e=JSON.parse(e)),this.rowManager.addRows(e,r,C,!0).then(D=>D[0].getComponent())}updateOrAddRow(e,r){var C=this.rowManager.findRow(e);return this.initGuard(),typeof r=="string"&&(r=JSON.parse(r)),C?C.updateData(r).then(()=>C.getComponent()):this.rowManager.addRows(r).then(D=>D[0].getComponent())}updateRow(e,r){var C=this.rowManager.findRow(e);return this.initGuard(),typeof r=="string"&&(r=JSON.parse(r)),C?C.updateData(r).then(()=>Promise.resolve(C.getComponent())):(console.warn("Update Error - No matching row found:",e),Promise.reject("Update Error - No matching row found"))}scrollToRow(e,r,C){var D=this.rowManager.findRow(e);return D?this.rowManager.scrollToRow(D,r,C):(console.warn("Scroll Error - No matching row found:",e),Promise.reject("Scroll Error - No matching row found"))}moveRow(e,r,C){var D=this.rowManager.findRow(e);this.initGuard(),D?D.moveToRow(r,C):console.warn("Move Error - No matching row found:",e)}getRows(e){return this.rowManager.getComponents(e)}getRowPosition(e){var r=this.rowManager.findRow(e);return r?r.getPosition():(console.warn("Position Error - No matching row found:",e),!1)}setColumns(e){this.initGuard(!1,"To set initial columns please use the 'columns' property in the table constructor"),this.columnManager.setColumns(e)}getColumns(e){return this.columnManager.getComponents(e)}getColumn(e){var r=this.columnManager.findColumn(e);return r?r.getComponent():(console.warn("Find Error - No matching column found:",e),!1)}getColumnDefinitions(){return this.columnManager.getDefinitionTree()}showColumn(e){var r=this.columnManager.findColumn(e);if(this.initGuard(),r)r.show();else return console.warn("Column Show Error - No matching column found:",e),!1}hideColumn(e){var r=this.columnManager.findColumn(e);if(this.initGuard(),r)r.hide();else return console.warn("Column Hide Error - No matching column found:",e),!1}toggleColumn(e){var r=this.columnManager.findColumn(e);if(this.initGuard(),r)r.visible?r.hide():r.show();else return console.warn("Column Visibility Toggle Error - No matching column found:",e),!1}addColumn(e,r,C){var D=this.columnManager.findColumn(C);return this.initGuard(),this.columnManager.addColumn(e,r,D).then(T=>T.getComponent())}deleteColumn(e){var r=this.columnManager.findColumn(e);return this.initGuard(),r?r.delete():(console.warn("Column Delete Error - No matching column found:",e),Promise.reject())}updateColumnDefinition(e,r){var C=this.columnManager.findColumn(e);return this.initGuard(),C?C.updateDefinition(r):(console.warn("Column Update Error - No matching column found:",e),Promise.reject())}moveColumn(e,r,C){var D=this.columnManager.findColumn(e),T=this.columnManager.findColumn(r);this.initGuard(),D?T?this.columnManager.moveColumn(D,T,C):console.warn("Move Error - No matching column found:",T):console.warn("Move Error - No matching column found:",e)}scrollToColumn(e,r,C){return new Promise((D,T)=>{var p=this.columnManager.findColumn(e);return p?this.columnManager.scrollToColumn(p,r,C):(console.warn("Scroll Error - No matching column found:",e),Promise.reject("Scroll Error - No matching column found"))})}redraw(e){this.initGuard(),this.columnManager.redraw(e),this.rowManager.redraw(e)}setHeight(e){this.options.height=isNaN(e)?e:e+"px",this.element.style.height=this.options.height,this.rowManager.initializeRenderer(),this.rowManager.redraw(!0)}on(e,r){this.externalEvents.subscribe(e,r)}off(e,r){this.externalEvents.unsubscribe(e,r)}dispatchEvent(){var e=Array.from(arguments);e.shift(),this.externalEvents.dispatch(...arguments)}alert(e,r){this.initGuard(),this.alertManager.alert(e,r)}clearAlert(){this.initGuard(),this.alertManager.clear()}modExists(e,r){return this.modules[e]?!0:(r&&console.error("Tabulator Module Not Installed: "+e),!1)}module(e){var r=this.modules[e];return r||console.error("Tabulator module not installed: "+e),r}}Yd.defaultOptions=DP;new t6(Yd);class n6 extends Yd{}new t6(n6,OP);const nO=ns({name:"TabulatorTable",props:{tableIndexField:{type:String,required:!1,default:()=>"id"},tableData:{type:Object,required:!0},columnDefinitions:{type:Object,required:!0},title:{type:String,required:!1},index:{type:Number,required:!0},selectedRowIndexFromListening:{type:Number,required:!1,default:()=>{}},tableLayoutParam:{type:String,required:!1,default:()=>"fitDataFill"},defaultRow:{type:Number,required:!1,default:()=>-1},initialSort:{type:Array,required:!1,default:()=>{}}},emits:["rowSelected"],setup(){return{streamlitDataStore:Ns()}},data(){return{tabulator:void 0,initialized:0}},computed:{id(){return`table-${this.index}`},containerStyles(){return{display:"flex","flex-direction":"column","align-items":"center"}},tableClasses(){var n,e;return{"table-dark":((n=this.streamlitDataStore.theme)==null?void 0:n.base)==="dark","table-light":((e=this.streamlitDataStore.theme)==null?void 0:e.base)==="light","table-striped":!1,"table-bordered":!0,"table-sm":!0}},preparedTableData(){const n=[...this.columnDefinitions.map(e=>e.field),"id"];if(this.tableData!==void 0&&this.tableData.length>0){const e=[];return this.tableData.forEach((r,C)=>{const D={};n.forEach(T=>{T!==void 0&&(D[T]=r[T])}),this.tableData[0][this.tableIndexField]===void 0?e.push({...D,[this.tableIndexField]:C}):e.push({...D})}),e}return this.tableData}},watch:{tableData(){this.drawTable()},selectedRowIndexFromListening(n){n!==void 0&&this.onSelectedRowListener(n)}},mounted(){this.drawTable()},methods:{drawTable(){this.tabulator=new n6(`#${this.id}`,{index:this.tableIndexField,data:this.preparedTableData,minHeight:50,maxHeight:this.title?320:310,responsiveLayout:"collapse",layout:this.tableLayoutParam,selectable:1,columnDefaults:{title:"",hozAlign:"right"},columns:this.columnDefinitions.map(n=>(n.headerTooltip===void 0&&(n.headerTooltip=!0),n)),initialSort:this.initialSort}),this.tabulator.on("tableBuilt",()=>{this.selectedRowIndexFromListening!==void 0?this.onSelectedRowListener(this.selectedRowIndexFromListening):this.selectDefaultRow()})},selectDefaultRow(){var n;if(this.defaultRow>=0){const e=(n=this.tabulator)==null?void 0:n.getRows("active");e&&e.length>0&&this.defaultRow>=0&&this.defaultRow[ia(fo(n.title??""),1)])])]),ti("div",lO,[nb(n.$slots,"end-title-row")])])]),ti("div",{id:n.id,class:Ju(n.tableClasses),onClick:e[0]||(e[0]=(...t)=>n.onTableClick&&n.onTableClick(...t))},null,10,uO)])}const y0=hs(nO,[["render",cO]]),Df=n=>e=>e.getValue().toString().length>4?e.getValue().toFixed(n??4):e.getValue(),hO=ns({name:"TabulatorScanTable",components:{TabulatorTable:y0},props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Ns(),e=rc();return{streamlitDataStore:n,selectionStore:e}},data(){return{columnDefinitions:[{title:"Index",field:"id",sorter:"number",headerTooltip:"The sequential index of the spectrum in the dataset."},{title:"Scan Number",field:"Scan",sorter:"number",headerTooltip:"The identifier of the mass spectrometry scan."},{title:"MS Level",field:"MSLevel",sorter:"number",headerTooltip:"The level of mass spectrometry analysis (e.g., MS1 or MS2)."},{title:"Retention time",field:"RT",formatter:Df(),sorter:"number",headerTooltip:"The time at which the spectrum was detected during the chromatographic separation in seconds."},{title:"Precursor Mass",field:"PrecursorMass",formatter:Df(),sorter:"number",headerTooltip:"The mass of the precursor ion selected for fragmentation in Daltons."},{title:"#Masses",field:"#Masses",sorter:"number",headerTooltip:"The number of detected masses in the spectrum."}]}},computed:{tableData(){const n=this.streamlitDataStore.allDataForDrawing.per_scan_data;return n.forEach(e=>e.id=e.index),n},selectedRow(){return this.selectionStore.selectedScanIndex}},methods:{updateSelectedScan(n){n!==void 0&&(n!==this.selectionStore.selectedScanIndex&&this.selectionStore.updateSelectedMass(0),this.selectionStore.updateSelectedScan(n))}}});function fO(n,e,r,C,D,T){const p=Gr("TabulatorTable");return Rr(),za(p,{"table-data":n.tableData,"column-definitions":n.columnDefinitions,title:"Scan Table",index:n.index,"table-layout-param":"fitColumns",onRowSelected:n.updateSelectedScan,"selected-row-index-from-listening":n.selectedRow,"default-row":0},null,8,["table-data","column-definitions","index","onRowSelected","selected-row-index-from-listening"])}const dO=hs(hO,[["render",fO]]),pO={xPosScalingFactor:27.5,xPosScalingThreshold:30,enableManualZoom:!0,showChargeLabels:!0},y5={highlightColor:"#E4572E",selectedColor:"#F3A712",unhighlightedColor:"lightblue",highlightHiddenColor:"1f77b4",annotationColors:{massButton:"#E4572E",selectedMassButton:"#F3A712",sequenceArrow:"#E4572E",selectedSequenceArrow:"#F3A712",background:"#f0f0f0",buttonHover:"#e0e0e0"}},mO=ns({name:"PlotlyLineplotUnified",props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Ns(),e=rc();return{streamlitDataStore:n,selectionStore:e}},data(){return{manual:!1,manual_xRange:void 0,isInitialized:!1,annotationsVisible:!0,localTitle:""}},computed:{id(){return`graph-${this.index}`},isDataReady(){var n;try{const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!e||!Array.isArray(e)||e.length===0)return!1;const r=this.selectedScan;if(r===void 0||r>=e.length)return!1;const C=e[r];if(!C||typeof C!="object")return!1;const D=this.xColumn,T=this.yColumn;if(!D||!T)return!1;const p=C[D],t=C[T];return!(!Array.isArray(p)||!Array.isArray(t)||p.length===0||t.length===0)}catch(e){return this.handleError(e,"isDataReady-computation"),!1}},theme(){return this.streamlitDataStore.theme},isTnTMode(){return this.selectionStore.selectedTag!==void 0},config(){return{...pO,...this.args.config}},styling(){var n;return{...y5,...this.args.styling,annotationColors:{...y5.annotationColors,...(n=this.args.styling)==null?void 0:n.annotationColors}}},selectedScan(){var n;try{const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;return!e||e.length===0?void 0:0}catch(e){this.handleError(e,"selectedScan-computation");return}},selectedTag(){return this.isTnTMode?this.selectionStore.selectedTagIndex:void 0},selectedAA(){var n;return this.isTnTMode?(n=this.selectionStore.selectedTag)==null?void 0:n.selectedAA:void 0},currentTitle(){return this.localTitle||this.args.title},xAxisLabel(){switch(this.currentTitle){case"Annotated Spectrum":case"Augmented Annotated Spectrum":return"m/z";case"Deconvolved Spectrum":case"Augmented Deconvolved Spectrum":return"Monoisotopic Mass";default:return""}},yAxisLabel(){return"Intensity"},xColumn(){switch(this.currentTitle){case"Annotated Spectrum":case"Augmented Annotated Spectrum":return"MonoMass_Anno";case"Deconvolved Spectrum":case"Augmented Deconvolved Spectrum":return"MonoMass";default:return""}},yColumn(){switch(this.currentTitle){case"Annotated Spectrum":case"Augmented Annotated Spectrum":return"SumIntensity_Anno";case"Deconvolved Spectrum":case"Augmented Deconvolved Spectrum":return"SumIntensity";default:return""}},xValues(){var n;try{const e=[],r=this.selectedScan;if(r===void 0)return e;const C=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!C||r>=C.length)return e;const D=C[r];if(!D)return e;const T=D[this.xColumn];return!T||!Array.isArray(T)||T.forEach(p=>{typeof p=="number"&&!isNaN(p)&&e.push(p,p,p)}),e}catch(e){return this.handleError(e,"xValues-computation"),[]}},yValues(){var n;try{const e=[],r=this.selectedScan;if(r===void 0)return e;const C=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!C||r>=C.length)return e;const D=C[r];if(!D)return e;const T=D[this.yColumn];return!T||!Array.isArray(T)||T.forEach(p=>{typeof p=="number"&&!isNaN(p)&&e.push(-1e7,p,-1e7)}),e}catch(e){return this.handleError(e,"yValues-computation"),[]}},MassValues(){var n;try{if(this.selectedScan===void 0)return[];const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!e||this.selectedScan>=e.length)return[];const r=e[this.selectedScan],C=r==null?void 0:r.MonoMass;return Array.isArray(C)?C:[]}catch(e){return this.handleError(e,"xMassValues-computation"),[]}},MZValues(){var n;try{if(this.selectedScan===void 0)return[];const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!e||this.selectedScan>=e.length)return[];const r=e[this.selectedScan],C=r==null?void 0:r.MonoMass_Anno;return Array.isArray(C)?C:[]}catch(e){return this.handleError(e,"xMassValues-computation"),[]}},mzSignals(){var n;try{if(this.selectedScan===void 0)return[];const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!e||this.selectedScan>=e.length)return[];const r=e[this.selectedScan],C=r==null?void 0:r.SignalPeaks;return Array.isArray(C)?C:[]}catch(e){return this.handleError(e,"mzSignals-computation"),[]}},minCharge(){var n;try{if(this.selectedScan===void 0)return-10;const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!e||this.selectedScan>=e.length)return-10;const r=e[this.selectedScan],C=r==null?void 0:r.MinCharges;return!Array.isArray(C)||C.length===0?-10:Math.min(...C)}catch(e){return this.handleError(e,"minCharge-computation"),-10}},maxCharge(){var n;try{if(this.selectedScan===void 0)return-10;const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!e||this.selectedScan>=e.length)return-10;const r=e[this.selectedScan],C=r==null?void 0:r.MinCharges;return!Array.isArray(C)||C.length===0?-10:Math.max(...C)}catch(e){return this.handleError(e,"maxCharge-computation"),-10}},showBackButton(){return this.isTnTMode&&this.currentTitle==="Augmented Annotated Spectrum"},shouldHighlightMassIndex(){return this.currentTitle==="Deconvolved Spectrum"&&this.selectionStore.selectedMassIndex!==void 0},highlightedValues(){var n,e;try{let r=[];((n=this.selectionStore.selectedTag)==null?void 0:n.masses)!==void 0&&(r=(e=this.selectionStore.selectedTag)==null?void 0:e.masses);let C=[];r.forEach((t,d)=>{for(let g=0;g=0&&this.selectionStore.selectedMassIndex=D.length)continue;if(T.length===0){p.push({mass:this.MassValues[d],mzs:[],charges:[],intensity:[]});continue}const g=D[d];let i=[],M=[],v=[];const f=T[d];if(Array.isArray(f))for(let l=0;l=4&&(i.push(a[1]),v.push(a[2]),M.push(a[3]))}p.push({mass:g,mzs:i,charges:M,intensity:v})}return p}catch(r){return this.handleError(r,"highlightedValues-computation"),[]}},highlightedMassPos(){var n,e;try{const r=this.highlightedValues;if(r.length===0||!Array.isArray(this.MassValues))return new Array(((n=this.MassValues)==null?void 0:n.length)||0).fill(!1);const C=new Set(r.map(D=>D.mass));return this.MassValues.map(D=>C.has(D))}catch(r){return this.handleError(r,"booleanMassHighlightMask-computation"),new Array(((e=this.MassValues)==null?void 0:e.length)||0).fill(!1)}},highlightedMzPos(){var n,e;try{const r=this.highlightedValues;if(r.length===0||!Array.isArray(this.MZValues))return new Array(((n=this.MZValues)==null?void 0:n.length)||0).fill(!1);const C=new Set(r.flatMap(D=>D.mzs));return this.MZValues.map(D=>C.has(D))}catch(r){return this.handleError(r,"booleanHighlightMask-computation"),new Array(((e=this.MZValues)==null?void 0:e.length)||0).fill(!1)}},plotData(){var p,t;let n=[],e=[],r=[],C=[],D=[],T=[];for(let d=0;dArray.isArray(g.mzs)?g.mzs:[]).filter(g=>Number.isFinite(g)):r=e.map(g=>g.mass).filter(g=>!isNaN(g)),r.length===0)return[0,1];let C=Math.min(...r)*.98,D=Math.max(...r)*1.02;if(this.xAxisLabel==="m/z")return[C,D];let T=r.reduce((g,i)=>g+i,0)/r.length,p=.5*.9*this.maxAnnotationRange,t=[T-p,T+p];return this.calculateOptimalXRange(t)}catch(n){return this.handleError(n,"xRange-computation"),[0,1]}},yRange(){try{return this.computeYRange(this.xRange)}catch(n){return this.handleError(n,"yRange-computation"),[0,1]}},annotationData(){var n,e;try{if(!this.annotationsVisible)return{shapes:[],annotations:[],traces:[]};const r=this.highlightedValues;if(r.length===0)return{shapes:[],annotations:[],traces:[]};const C=this.getAnnotationPositioning;if(!C)return{shapes:[],annotations:[],traces:[]};const{ypos_low:D,ypos:T,ypos_high:p,xpos_scaling:t}=C;let d=[],g=[],i=[];if(this.xAxisLabel==="m/z"){if(this.selectionStore.selectedMassIndex===void 0)return{shapes:[],annotations:[],traces:[]};if(this.selectionStore.selectedMassIndex>=this.MassValues.length)return{shapes:[],annotations:[],traces:[]};let c=this.styling.annotationColors.massButton;const h=r[0],{mzs:m,charges:w,intensity:y}=h;if(!m||m.length===0)return{shapes:[],annotations:[],traces:[]};const S=new Map;for(let x=0;xx.type==="charge"&&x.visible);let E=0;return S.forEach((x,A)=>{const L=x.reduce((O,z)=>O+z.intensity,0),R=x.map(O=>O.intensity/L*O.mz).reduce((O,z)=>O+z,0);k.some(O=>O.index===E)&&(g.push({type:"rect",x0:R-.5*t,y0:D,x1:R+.5*t,y1:p,fillcolor:c,line:{width:0}}),i.push({x:R,y:T,xref:"x",yref:"y",text:"z="+A,showarrow:!1,font:{size:15}})),E++}),{shapes:g,annotations:i,traces:d}}let M=[];const v=(n=this.selectionStore.selectedTag)==null?void 0:n.selectedAA,l=this.annotationBoxData.filter(c=>c.type==="mass"&&c.visible),a=r.length===1?2:1;for(let c=0;cy.index===c)){let y=this.styling.annotationColors.massButton,S="sans-serif";(v===c||v===c-1)&&(y=this.styling.annotationColors.selectedMassButton,S="Arial Black, Arial Bold, Arial, sans-serif"),d.push({x:[m],y:[T],mode:"markers",marker:{size:20,opacity:0},hoverinfo:"text",hovertext:String(m.toFixed(2)),type:"scatter"}),g.push({type:"rect",x0:m-a*t,y0:D,x1:m+a*t,y1:p,fillcolor:y,line:{width:0}}),i.push({x:m,y:T,xref:"x",yref:"y",text:m.toFixed(2),showarrow:!1,font:{size:15,family:S}})}}const u=T*.5,o=T*.6,s=(e=this.selectionStore.selectedTag)==null?void 0:e.sequence;for(let c=0;cS.index===c),y=l.some(S=>S.index===c+1);if(w&&y){let S=this.styling.annotationColors.sequenceArrow,_="sans-serif";v===c&&(S=this.styling.annotationColors.selectedSequenceArrow,_="Arial Black, Arial Bold, Arial, sans-serif");let k=h.mass,E=m.mass;const x=(k+E)/2;let A=x,L=x;const b=Math.abs(k-E)*.9;let R="",I=0;if(s!==void 0&&s.length>0){const O=s.length-1-c;O>=0&&OE?(I=k-E,k-=b,A+=b*.1,E+=b,L-=b*.1):(I=E-k,k+=b,A-=b*.1,E-=b,L+=b*.1),M.push({ax:A,ay:u,xref:"x",yref:"y",x:k,y:u,axref:"x",ayref:"y",showarrow:!0,arrowhead:0,arrowsize:1,arrowwidth:2,arrowcolor:S}),M.push({ax:L,ay:u,xref:"x",yref:"y",x:E,y:u,axref:"x",ayref:"y",showarrow:!0,arrowhead:2,arrowsize:1,arrowwidth:2,arrowcolor:S}),M.push({x,y:o,xref:"x",yref:"y",text:R,hovertext:"Δ="+I.toFixed(2)+" Da",showarrow:!1,font:{size:15,color:S,family:_}})}}return{shapes:g,annotations:[...i,...M],traces:d}}catch(r){return this.handleError(r,"annotationData-computation"),{shapes:[],annotations:[],traces:[]}}},data(){let n=[];if(!this.annotationsVisible)return n.push({x:this.xValues,y:this.yValues,mode:"lines",type:"scatter",connectgaps:!1,marker:{color:this.styling.highlightHiddenColor}}),n;n.push({x:this.plotData.unhighlighted_x,y:this.plotData.unhighlighted_y,mode:"lines",type:"scatter",marker:{color:this.styling.unhighlightedColor}}),n.push({x:this.plotData.highlighted_x,y:this.plotData.highlighted_y,mode:"lines",type:"scatter",marker:{color:this.styling.highlightColor}}),n.push({x:this.plotData.selected_x,y:this.plotData.selected_y,mode:"lines",type:"scatter",marker:{color:this.styling.selectedColor}});const e=this.annotationData.traces;return n.push(...e),n},layout(){var e,r,C,D,T;const n={title:`${this.currentTitle}`,showlegend:!1,height:400,xaxis:{title:this.xAxisLabel,showgrid:!1,showline:!0,linecolor:"grey",linewidth:1},yaxis:{title:this.yAxisLabel,showgrid:!0,gridcolor:(e=this.theme)==null?void 0:e.secondaryBackgroundColor,rangemode:"nonnegative",fixedrange:!1,showline:!0,linecolor:"grey",linewidth:1},paper_bgcolor:(r=this.theme)==null?void 0:r.backgroundColor,plot_bgcolor:(C=this.theme)==null?void 0:C.backgroundColor,font:{color:(D=this.theme)==null?void 0:D.textColor,family:(T=this.theme)==null?void 0:T.font}};return n.xaxis.range=this.xRange,n.yaxis.range=this.yRange,n.shapes=this.annotationData.shapes,n.annotations=this.annotationData.annotations,n},cssCustomProperties(){return{"--highlight-color":this.styling.highlightColor,"--selected-color":this.styling.selectedColor,"--unhighlighted-color":this.styling.unhighlightedColor,"--annotation-background":this.styling.annotationColors.background,"--button-hover-color":this.styling.annotationColors.buttonHover}}},watch:{isDataReady:{handler(n){n&&this.safeGraph()},immediate:!0},"streamlitDataStore.allDataForDrawing.per_scan_data":{handler(){this.safeGraph()},deep:!0},selectedScan(){this.resetManualState(),this.safeGraph()},xValues(){this.safeGraph()},selectedTag(){this.resetManualState(),this.safeGraph()},annotationsVisible(){this.safeGraph()},"selectionStore.selectedMassIndex"(){this.manual=!1,this.safeGraph()}},mounted(){this.initializeComponent()},methods:{computeAnnotationBoxes(n,e){try{const r=this.highlightedValues;if(r.length===0)return[];if(e.length<2||e[1]<=0||n.length<2)return[];const C=e[1]/1.8,D=C*1.18,T=C*1.32,p=(n[1]-n[0])/this.xPosScalingFactor,t=[];if(this.xAxisLabel==="m/z"){if(this.selectionStore.selectedMassIndex===void 0||this.selectionStore.selectedMassIndex>=this.MassValues.length)return t;const d=r[0],{mzs:g,charges:i,intensity:M}=d;if(!g||g.length===0)return t;const v=new Map;for(let l=0;l{const u=l.reduce((c,h)=>c+h.intensity,0),s=l.map(c=>c.intensity/u*c.mz).reduce((c,h)=>c+h,0);t.push({x:s,y:(D+T)/2,width:p,height:T-D,type:"charge",index:f++,visible:!0})})}else{const d=r.length===1?2:1;for(let g=0;g1){let d=!1;for(let g=0;g{g.visible=!1})}return t}catch(r){return this.handleError(r,"computeAnnotationBoxes"),[]}},wouldAnnotationsBeVisible(n){try{const e=this.computeYRange(n);return this.computeAnnotationBoxes(n,e).some(C=>C.visible)}catch(e){return this.handleError(e,"wouldAnnotationsBeVisible"),!0}},calculateOptimalXRange(n){try{let C=[...n];for(let D=0;D<10;D++){if(this.wouldAnnotationsBeVisible(C))return C;const T=(C[0]+C[1])/2,t=(C[1]-C[0])/2*.8;if(C=[T-t,T+t],C[1]-C[0]<.1)break}return C}catch(e){return this.handleError(e,"calculateOptimalXRange"),n}},dataToScreenX(n){try{const e=this.xRange;if(e.length!==2||e[1]<=e[0])return 0;const r=800;return 80+(n-e[0])/(e[1]-e[0])*r}catch(e){return this.handleError(e,"dataToScreenX"),0}},dataToScreenY(n){try{const e=this.yRange;if(e.length!==2||e[1]<=e[0])return 0;const r=300;return 50+r-(n-e[0])/(e[1]-e[0])*r}catch(e){return this.handleError(e,"dataToScreenY"),0}},dataToScreenWidth(n){try{const e=this.xRange;if(e.length!==2||e[1]<=e[0])return 0;const r=800;return n/(e[1]-e[0])*r}catch(e){return this.handleError(e,"dataToScreenWidth"),0}},dataToScreenHeight(n){try{const e=this.yRange;if(e.length!==2||e[1]<=e[0])return 0;const r=300;return n/(e[1]-e[0])*r}catch(e){return this.handleError(e,"dataToScreenHeight"),0}},testBoxesOverlapForRange(n,e,r){try{if(r.length!==2||r[1]<=r[0])return!1;const C=(r[1]-r[0])*.01,D=n.height*.1,T=n.x-n.width/2-C,p=n.x+n.width/2+C,t=n.y-n.height/2-D,d=n.y+n.height/2+D,g=e.x-e.width/2-C,i=e.x+e.width/2+C,M=e.y-e.height/2-D,v=e.y+e.height/2+D;return!(p{this.toggleAnnotations()}},{title:"Download as SVG",name:"toImageSvg",icon:Wl.Icons.camera,click:r=>{Wl.downloadImage(r,{filename:"FLASHViewer-lineplot",height:400,width:1200,format:"svg"})}}],scrollZoom:!0});e.on("plotly_relayout",r=>{this.onRelayout(r)}),e.on("plotly_click",r=>{this.onPlotClick(r)})}catch(n){this.handleError(n,"graph-rendering")}},initializeComponent(){try{this.isInitialized=!0,this.localTitle=this.args.title,this.safeGraph()}catch(n){this.handleError(n,"initializeComponent"),this.renderFallback()}},resetManualState(){try{this.manual=!1,this.manual_xRange=void 0,this.localTitle==="Augmented Annotated Spectrum"&&(this.localTitle="Augmented Deconvolved Spectrum"),this.selectionStore.updateSelectedMass(void 0)}catch(n){this.handleError(n,"resetManualState")}},backButton(){this.resetManualState(),this.safeGraph()},toggleAnnotations(){this.annotationsVisible=!this.annotationsVisible,this.safeGraph()},onPlotClick(n){if(n.points&&n.points.length>0){const e=n.points[0].x;for(let r=0;r=n[1])return[0,1];let C=0;for(let D=0;D=n[1]||p>C&&(C=p)}return C===0?[0,1]:[0,C*1.8]}catch(e){return this.handleError(e,"computeYRange"),[0,1]}},getFallbackData(){return[{x:[0,1],y:[0,0],mode:"lines",type:"scatter",marker:{color:this.styling.unhighlightedColor},name:"No Data"}]},getFallbackLayout(){var n,e,r,C;return{title:"No Data Available",showlegend:!1,height:400,xaxis:{title:"X-axis",showgrid:!1},yaxis:{title:"Y-axis",showgrid:!0,rangemode:"nonnegative"},paper_bgcolor:((n=this.theme)==null?void 0:n.backgroundColor)||"white",plot_bgcolor:((e=this.theme)==null?void 0:e.backgroundColor)||"white",font:{color:((r=this.theme)==null?void 0:r.textColor)||"black",family:((C=this.theme)==null?void 0:C.font)||"Arial"}}},validateComponentState(){var n;try{if(!this.streamlitDataStore||!this.selectionStore)return console.warn("PlotlyLineplotUnified: Required stores not available"),!1;const e=(n=this.streamlitDataStore.allDataForDrawing)==null?void 0:n.per_scan_data;if(!Array.isArray(e))return console.warn("PlotlyLineplotUnified: Invalid scan data structure"),!1;const r=this.selectedScan;if(r!==void 0&&r0}};console.error(`PlotlyLineplotUnified error in ${e}:`,n,r)}}});const gO=["id"];function vO(n,e,r,C,D,T){return Rr(),ei("div",{id:n.id,class:"plot-container",style:zs(n.cssCustomProperties)},[n.showBackButton?(Rr(),ei("button",{key:0,class:"simple-button",onClick:e[0]||(e[0]=(...p)=>n.backButton&&n.backButton(...p))}," ↩ ")):Zi("",!0)],12,gO)}const yO=hs(mO,[["render",vO],["__scopeId","data-v-0b5cc4d2"]]),bO=ns({name:"Plotly3Dplot",props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Ns(),e=rc();return{streamlitDataStore:n,selectionStore:e}},data(){return{maximumIntensity:0}},computed:{id(){return`graph-${this.index}`},title(){return this.selectedScanRow===void 0?"":this.selectedMassRow===void 0?"Precursor signals":"Mass signals"},theme(){return this.streamlitDataStore.theme},selectedScanRow(){if(this.selectionStore.selectedScanIndex!==void 0)return this.streamlitDataStore.allDataForDrawing.per_scan_data.length===1?0:this.selectionStore.selectedScanIndex},selectedMassRow(){return this.selectionStore.selectedMassIndex},dataForDrawing(){var T,p;const n=this.selectedScanRow,e=this.streamlitDataStore.allDataForDrawing.per_scan_data,r=this.selectedMassRow;if(n===void 0)return[];const C=e[n]??{};let D={};return r===void 0?D=this.getPrecursorSignal(C):this.streamlitDataStore.allDataForDrawing.per_scan_data.length===1?D=this.getSignalNoiseObject(C.SignalPeaks,C.NoisyPeaks):D=this.getSignalNoiseObject(((T=C.SignalPeaks)==null?void 0:T[r])??[[]],((p=C.NoisyPeaks)==null?void 0:p[r])??[[]]),Object.keys(D).length===0?[]:(this.updateMaximumIntensity(D),[{name:"Signal",type:"scatter3d",mode:"lines",x:D.signal_x,y:D.signal_y,z:D.signal_z,line:{color:"#3366CC"}},{name:"Noise",type:"scatter3d",mode:"lines",x:D.noise_x,y:D.noise_y,z:D.noise_z,line:{color:"#DC3912"}}])},layout(){var n,e,r,C;return{title:`${this.title}`,paper_bgcolor:(n=this.theme)==null?void 0:n.backgroundColor,plot_bgcolor:(e=this.theme)==null?void 0:e.secondaryBackgroundColor,height:800,font:{color:(r=this.theme)==null?void 0:r.textColor,family:(C=this.theme)==null?void 0:C.font},scene:{xaxis:{title:"Mass"},yaxis:{title:"Charge"},zaxis:{title:"Intensity",range:[0,this.maximumIntensity]},camera:{eye:{x:2.5,y:0,z:.2}}},showlegend:!0}}},watch:{selectedScanRow(){this.graph()},selectedMassRow(){this.graph()}},mounted(){this.graph()},methods:{updateMaximumIntensity(n){this.maximumIntensity=n.signal_z.concat(n.noise_z).reduce((e,r)=>Math.max(e,r),-1/0)},async graph(){await Wl.newPlot(this.id,this.dataForDrawing,this.layout,{modeBarButtonsToRemove:["toImage","sendDataToCloud"],modeBarButtonsToAdd:[{title:"Download as SVG",name:"toImageSvg",icon:Wl.Icons.camera,click:function(n){Wl.downloadImage(n,{filename:"FLASHViewer-3d-plot",height:800,width:800,format:"svg"})}}]})},getPrecursorSignal(n){if(n.PrecursorScan==0)return{};const e=this.streamlitDataStore.allDataForDrawing.per_scan_data.find(D=>D.Scan===n.PrecursorScan);if(!e)return{};const r=e.MonoMass,C=n.PrecursorMass;for(let D=0,T=r.length;DC.field),r=[];return Object.entries(n).forEach(C=>{const D=C[0];if(!e.includes(D)||D==="id")return;C[1].forEach((p,t)=>{r[t]={...r[t],[D]:p}})}),r.map((C,D)=>C.id=D),r},selectedMassFromFragmentTable(){return this.selectionStore.selectedObservedMassFromFragmentTable}},watch:{selectedMassFromFragmentTable(n){const e=this.tableData.findIndex(r=>r.MonoMass===n);e!==-1&&(this.selectedMassIndex=e)}},methods:{updateSelectedMass(n){n!==void 0&&this.selectionStore.updateSelectedMass(n)}}});function kO(n,e,r,C,D,T){const p=Gr("TabulatorTable");return Rr(),za(p,{"table-data":n.tableData,"column-definitions":n.columnDefinitions,title:"Mass Table",index:n.index,onRowSelected:n.updateSelectedMass,"selected-row-index-from-listening":n.selectedMassTableRow,"default-row":0},null,8,["table-data","column-definitions","index","onRowSelected","selected-row-index-from-listening"])}const MO=hs(TO,[["render",kO]]),AO=ns({name:"TabulatorProteinTable",components:{TabulatorTable:y0},props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Ns(),e=rc();return{streamlitDataStore:n,selectionStore:e}},data(){return{columnDefinitions:[{title:"Scan No.",field:"Scan",sorter:"number",headerTooltip:"The identifier of the mass spectrometry scan associated with the identified proteoform."},{title:"Accession",field:"accession",headerTooltip:"The unique identifier for the protein in the reference database."},{title:"Description",field:"description",responsive:10},{title:"Length",field:"length",responsive:6,sorter:"number",headerTooltip:"The total number of amino acids in the matched protein."},{title:"Mass",field:"ProteoformMass",responsive:8,sorter:"number",headerTooltip:"The calculated mass of the proteoform in Daltons.",formatter:function(n){const e=n.getValue();return e==-1?"-":e}},{title:"No. of Matched Fragments",field:"MatchingFragments",sorter:"number",headerTooltip:"The number of fragment ions that match the protein sequence."},{title:"No. of Modifications",field:"ModCount",sorter:"number",headerTooltip:"The number of modifications identified in the protein."},{title:"No. of Tags",field:"TagCount",sorter:"number",headerTooltip:"The number of sequence tags associated with the proteoform match."},{title:"Score",field:"Score",sorter:"number",headerTooltip:"A score indicating the confidence of the protein match (higher is better)."},{title:"Q-Value (Proteoform Level)",field:"ProteoformLevelQvalue",sorter:"number",headerTooltip:"The confidence value of the protein match at the proteoform level.",formatter:function(n){const e=n.getValue();return e==-1?"-":e}}],initialSort:[{column:"Score",dir:"desc"}]}},computed:{selectedRow(){return this.selectionStore.selectedProteinIndex},tableData(){const n=this.streamlitDataStore.dataForDrawing.protein_table;return n.forEach(e=>e.id=e.index),n}},methods:{updateSelectedProtein(n){if(n!==void 0){this.selectionStore.updateSelectedProtein(n);const e=this.streamlitDataStore.dataForDrawing.protein_table[n].Scan;if(e!==void 0&&typeof e=="number"){const r=this.streamlitDataStore.allDataForDrawing.per_scan_data.findIndex(C=>C.Scan===e);this.selectionStore.updateSelectedScan(r)}this.selectionStore.updateSelectedTag(void 0),this.selectionStore.updateTagData(void 0)}}}});function SO(n,e,r,C,D,T){const p=Gr("TabulatorTable");return Rr(),za(p,{"table-data":n.tableData,"column-definitions":n.columnDefinitions,title:"Protein Table",index:n.index,"selected-row-index-from-listening":n.selectedRow,"default-row":0,"initial-sort":n.initialSort,onRowSelected:n.updateSelectedProtein},null,8,["table-data","column-definitions","index","selected-row-index-from-listening","initial-sort","onRowSelected"])}const CO=hs(AO,[["render",SO]]),EO=ns({name:"TabulatorTagTable",components:{TabulatorTable:y0},props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Ns(),e=rc();return{streamlitDataStore:n,selectionStore:e}},data(){return{columnDefinitions:[{title:"Scan Number",field:"Scan",sorter:"number",headerTooltip:"The identifier of the mass spectrometry scan containing the sequence tag."},{title:"Start Position",field:"StartPos",sorter:"number",headerTooltip:"The position in the protein sequence where the sequence tag begins."},{title:"End Position",field:"EndPos",sorter:"number",headerTooltip:"The position in the protein sequence where the sequence tag ends."},{title:"Sequence",field:"TagSequence",sorter:"number",headerTooltip:"The amino acid sequence of the identified tag."},{title:"Length",field:"Length",sorter:"number",headerTooltip:"The number of amino acids in the sequence tag."},{title:"Tag Score",field:"Score",sorter:"number",headerTooltip:"A score indicating the confidence of the sequence tag identification (higher is better)."},{title:"N mass",field:"Nmass",sorter:"number",headerTooltip:"The N-terminal mass offset from the start of the sequence tag in Daltons.",formatter:function(n){const e=n.getValue();return e==-1?"-":e}},{title:"C mass",field:"Cmass",sorter:"number",headerTooltip:"The C-terminal mass offset from the end of the sequence tag in Daltons.",formatter:function(n){const e=n.getValue();return e==-1?"-":e}},{title:"Δ mass",field:"DeltaMass",sorter:"number",headerTooltip:"Delta mass is the difference between the tag flanking mass and the (partial) proteoform mass, from its terminal to the tag boundary."}],initialSort:[{column:"Score",dir:"desc"}],selectedTagIndex:void 0}},computed:{selectedRow(){return this.selectionStore.selectedTagIndex},tableData(){let e=this.streamlitDataStore.dataForDrawing.tag_table.filter(C=>C.ProteinIndex===this.selectionStore.selectedProteinIndex);const r=this.selectionStore.selectedAApos;return r!==void 0&&(e=e.filter(C=>{const D=C.StartPos,T=C.EndPos;return typeof D=="number"&&typeof T=="number"&&D<=r&&T>=r})),e.forEach(C=>C.id=C.TagIndex),e}},watch:{},methods:{getRowByTagIndex(n){return this.tableData.find(C=>C.id===n)},updateSelectedTag(n){if(n===void 0)return;this.selectionStore.updateSelectedTag(n);const e=this.getRowByTagIndex(n);if(e===void 0)return;const r=e.mzs;let C=[];typeof r=="string"&&(C=r.split(",").map(Number).filter(i=>i!==0));const D=typeof e.StartPos=="number"?e.StartPos:0,T=typeof e.EndPos=="number"?e.EndPos:0;let p=-1e3;D!==void 0&&this.selectionStore.selectedAApos!==void 0&&typeof D=="number"&&(p=this.selectionStore.selectedAApos-D);const t=e.TagSequence;let d="";typeof t=="string"&&(d=t);let g=!1;e["N mass"]===-1&&(g=!0),this.selectionStore.updateTagData({sequence:d,nTerminal:g,masses:C,selectedAA:p,startPos:D,endPos:T})}}});function LO(n,e,r,C,D,T){const p=Gr("TabulatorTable");return Rr(),za(p,{"table-data":n.tableData,"column-definitions":n.columnDefinitions,title:"Tag Table",index:n.index,onRowSelected:n.updateSelectedTag,"default-row":0,"initial-sort":n.initialSort},null,8,["table-data","column-definitions","index","onRowSelected","initial-sort"])}const IO=hs(EO,[["render",LO]]),W2=i2("variable-mod",{state:()=>({variableMod:{}}),getters:{variableModifications:n=>n.variableMod,isEmpty:n=>Object.values(n.variableMod).filter(e=>e!==void 0&&e!==0).length===0},actions:{updateVariableModifications(n,e){this.variableMod={...this.variableMod,[n]:e}}}}),wv={Acetyl:42.010565,Methyl:14.01565,Phospho:79.966331,Oxidation:15.994915,Deamidated:.984016,Amidated:-.984016},r6={"N-term":["Acetyl","Methyl","Phospho"],"C-term":["Amidated"],C:["Acetyl","Methyl","Phospho"],E:["Methyl","Phospho"],D:["Methyl","Phospho"],H:["Methyl","Phospho"],I:["Methyl"],K:["Methyl","Phospho"],L:["Methyl"],M:["Oxidation"],N:["Methyl"],Q:["Deamidated","Methyl"],R:["Methyl","Phospho"],S:["Acetyl","Methyl","Phospho"],T:["Acetyl","Methyl","Phospho"],Y:["Phospho"]},RO={default:[{typeName:"",typeMass:0}],"water loss":[{typeName:"-H2O",typeMass:-18.0105646863}],"ammonium loss":[{typeName:"-NH3",typeMass:-17.0265491015}],"proton loss/addition":[{typeName:"-H",typeMass:-1.0078250319},{typeName:"+H",typeMass:1.0078250319}]},PO=ns({name:"AminoAcidCell",props:{sequenceObject:{type:Object,required:!0},index:{type:Number,required:!0},fixedModification:{type:Boolean,default:!1},disableVariableModificationSelection:{type:Boolean,default:!1},showTags:{type:Boolean,default:!1},showModifications:{type:Boolean,default:!0},showFragments:{type:Boolean,default:!0}},emits:["selected"],setup(){const n=Ns(),e=W2(),r=rc();return{streamlitData:n,variableModData:e,selectionStore:r}},data(){return{menuOpen:!1,selectedModification:void 0,customSelected:!1,customModMass:"0"}},computed:{id(){return`${this.aminoAcid}${this.index}`},theme(){return this.streamlitData.theme},aminoAcid(){return this.sequenceObject.aminoAcid},start(){var e;const n=(e=this.streamlitData.sequenceData)==null?void 0:e[this.selectedSequence].proteoform_start;return n===void 0?n:n<0?0:n},end(){var e;const n=(e=this.streamlitData.sequenceData)==null?void 0:e[this.selectedSequence].proteoform_end;return n===void 0?n:n<0&&this.length!==void 0?this.length-1:n},length(){var n;return(n=this.streamlitData.sequenceData)==null?void 0:n[this.selectedSequence].sequence.length},prefix(){if(this.start===void 0&&this.end===void 0)return this.index+1;if(this.end!==void 0&&this.index>this.end)return;if(this.start!==void 0&&this.index>=this.start)return this.index+1-this.start},protein_position(){return this.index+1},truncated_prefix(){if(!(this.start===void 0||this.index>=this.start))return this.index+1},suffix(){if(this.start===void 0&&this.end===void 0)return(length??0)-this.index;if(this.start!==void 0&&this.index0},selectedSequence(){return this.selectionStore.selectedProteinIndex!==void 0?this.selectionStore.selectedProteinIndex:0},coverage(){return this.sequenceObject.coverage!==void 0?this.sequenceObject.coverage:-1},isHighlighted(){return this.index===this.selectionStore.selectedAApos},isTruncated(){return this.sequenceObject.truncated},DoesThisAAHaveSequenceTags(){return this.coverage>0},modMass(){return this.customModMass!=="0"?parseFloat(this.customModMass).toLocaleString("en-US",{signDisplay:"always"}):this.sequenceObject.modMass}},methods:{toggleMenuOpen(){this.disableVariableModificationSelection||(this.menuOpen=!this.menuOpen)},selectCell(){this.DoesThisAAHaveSequenceTags&&this.showTags&&(this.selectionStore.selectedAApos===this.index?this.selectionStore.updateSelectedAA(void 0):this.selectionStore.updateSelectedAA(this.index)),this.DoesThisAAHaveMatchingFragments&&this.$emit("selected",this.index)},updateSelectedModification(n){if(n==="None")this.selectedModification=void 0;else if(n==="Custom"){this.customSelected=!0;return}else this.selectedModification=n;this.toggleMenuOpen(),this.customSelected=!1,this.variableModData.updateVariableModifications(this.index,this.selectedModification?wv[this.selectedModification]:0)},updateCustomModification(){this.variableModData.updateVariableModifications(this.index,parseFloat(this.customModMass)),this.toggleMenuOpen()}},watch:{selectedModification(){this.selectedModification!==void 0&&wv[this.selectedModification]!==void 0&&(this.sequenceObject.modMass=parseFloat(wv[this.selectedModification].toFixed(2)).toLocaleString("en-US",{signDisplay:"always"}))},showTags(){this.showTags||this.selectionStore.updateSelectedAA(void 0)}}});const Mu=n=>(Ty("data-v-fb6c82e8"),n=n(),ky(),n),OO=["id"],DO={key:0,class:"frag-marker-container-a"},zO=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"green",d:"M7, 1 L9, 3 L9, 7 L9, 3 L7, 1 z","stroke-width":"1.5"})],-1)),FO=[zO],BO={key:1,class:"frag-marker-container-b"},NO=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"blue",d:"M10, 0 V5 M10, 0 H5 z","stroke-width":"3"})],-1)),VO=[NO],jO={key:2,class:"frag-marker-container-c"},UO=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"red",d:"M4, 1 L9, 3 L9, 7 L9, 3 L4, 1 z","stroke-width":"1.5"})],-1)),HO=[UO],GO={key:3,class:"frag-marker-container-x"},qO=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"green",d:"M1, 3 L1, 7 L3, 9 L1, 7 L1, 3 z","stroke-width":"1.5"})],-1)),WO=[qO],YO={key:4,class:"frag-marker-container-y"},$O=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"blue",d:"M0, 10 V5 M0, 10 H5 z","stroke-width":"3"})],-1)),ZO=[$O],XO={key:5,class:"frag-marker-container-z"},KO=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("path",{stroke:"red",d:"M1, 3 L1, 7 L6, 9 L1, 7 L1, 3 z","stroke-width":"1.5"})],-1)),JO=[KO],QO={key:6,class:"rounded-lg tag-marker tag-start"},eD={key:7,class:"rounded-lg tag-marker tag-end"},tD={key:8,class:"rounded-lg mod-marker mod-start"},nD={key:9,class:"rounded-lg mod-marker mod-end"},rD={key:10,class:"mod-marker mod-start-cont"},iD={key:11,class:"mod-marker mod-end-cont"},aD={key:12,class:"mod-marker mod-center-cont"},oD={key:13,class:"rounded-lg mod-mass"},sD=Mu(()=>ti("br",null,null,-1)),lD=Mu(()=>ti("br",null,null,-1)),uD={key:14,class:"rounded-lg mod-mass-a"},cD={key:15,class:"rounded-lg mod-mass-b"},hD={key:16,class:"rounded-lg mod-mass-c"},fD={key:17,class:"frag-marker-extra-type"},dD=Mu(()=>ti("svg",{viewBox:"0 0 10 10"},[ti("circle",{cx:"5",cy:"5",r:"0.5",stroke:"black","stroke-width":"0.3",fill:"gold"})],-1)),pD=[dD],mD={class:"aa-text"},gD=Mu(()=>ti("br",null,null,-1)),vD=Mu(()=>ti("br",null,null,-1)),yD=Mu(()=>ti("br",null,null,-1)),bD=Mu(()=>ti("br",null,null,-1)),xD={key:4};function _D(n,e,r,C,D,T){const p=Gr("v-tooltip"),t=Gr("v-select"),d=Gr("v-list-item"),g=Gr("v-text-field"),i=Gr("v-btn"),M=Gr("v-form"),v=Gr("v-list"),f=Gr("v-menu");return Rr(),ei("div",{id:n.id,class:Ju(["d-flex justify-center align-center rounded-lg",[n.aminoAcidCellClass,{highlighted:n.isHighlighted},{truncated:n.isTruncated}]]),style:zs(n.aminoAcidCellStyles),onClick:e[5]||(e[5]=(...l)=>n.selectCell&&n.selectCell(...l)),onContextmenu:e[6]||(e[6]=jp((...l)=>n.toggleMenuOpen&&n.toggleMenuOpen(...l),["prevent"]))},[n.showFragments&&n.sequenceObject.aIon?(Rr(),ei("div",DO,FO)):Zi("",!0),n.showFragments&&n.sequenceObject.bIon?(Rr(),ei("div",BO,VO)):Zi("",!0),n.showFragments&&n.sequenceObject.cIon?(Rr(),ei("div",jO,HO)):Zi("",!0),n.showFragments&&n.sequenceObject.xIon?(Rr(),ei("div",GO,WO)):Zi("",!0),n.showFragments&&n.sequenceObject.yIon?(Rr(),ei("div",YO,ZO)):Zi("",!0),n.showFragments&&n.sequenceObject.zIon?(Rr(),ei("div",XO,JO)):Zi("",!0),n.showTags&&n.sequenceObject.tagStart?(Rr(),ei("div",QO)):Zi("",!0),n.showTags&&n.sequenceObject.tagEnd?(Rr(),ei("div",eD)):Zi("",!0),n.showModifications&&(n.sequenceObject.modStart||n.isThisAAmodified)?(Rr(),ei("div",tD)):Zi("",!0),n.showModifications&&(n.sequenceObject.modEnd||n.isThisAAmodified)?(Rr(),ei("div",nD)):Zi("",!0),n.showModifications&&n.sequenceObject.modStart&&!n.sequenceObject.modEnd?(Rr(),ei("div",rD)):Zi("",!0),n.showModifications&&!n.sequenceObject.modStart&&n.sequenceObject.modEnd?(Rr(),ei("div",iD)):Zi("",!0),n.showModifications&&n.sequenceObject.modCenter?(Rr(),ei("div",aD)):Zi("",!0),n.showModifications&&(n.sequenceObject.modEnd||n.isThisAAmodified)?(Rr(),ei("div",oD,[ia(fo(n.modMass)+" ",1),gt(p,{activator:"parent",class:"foreground"},{default:ci(()=>[ia(fo(`Modification Mass: ${n.modMass} Da`)+" ",1),sD,ia(" "+fo(`Possible Modifications: ${n.sequenceObject.modLabels}`)+" ",1),lD]),_:1})])):Zi("",!0),n.showFragments&&n.showModifications&&n.sequenceObject.modEnd&&n.sequenceObject.aIon&&!n.sequenceObject.bIon?(Rr(),ei("div",uD,fo(n.sequenceObject.modMass),1)):Zi("",!0),n.showFragments&&n.showModifications&&n.sequenceObject.modEnd&&n.sequenceObject.bIon?(Rr(),ei("div",cD,fo(n.sequenceObject.modMass),1)):Zi("",!0),n.showFragments&&n.showModifications&&n.sequenceObject.modEnd&&n.sequenceObject.cIon&&!n.sequenceObject.bIon?(Rr(),ei("div",hD,fo(n.sequenceObject.modMass),1)):Zi("",!0),n.showModifications&&n.DoesThisAAHaveExtraFragTypes?(Rr(),ei("div",fD,pD)):Zi("",!0),ti("div",mD,fo(n.aminoAcid),1),gt(f,{modelValue:n.menuOpen,"onUpdate:modelValue":e[4]||(e[4]=l=>n.menuOpen=l),activator:"parent",location:"end","open-on-click":!1,"close-on-content-click":!1,width:"200px"},{default:ci(()=>[gt(v,null,{default:ci(()=>[gt(d,null,{default:ci(()=>[gt(t,{modelValue:n.selectedModification,"onUpdate:modelValue":[e[0]||(e[0]=l=>n.selectedModification=l),n.updateSelectedModification],clearable:"true",label:"Modification",density:"compact",items:n.modificationsForSelect,"onClick:clear":e[1]||(e[1]=l=>n.selectedModification=void 0)},null,8,["modelValue","items","onUpdate:modelValue"])]),_:1}),n.customSelected?(Rr(),za(d,{key:0},{default:ci(()=>[gt(M,{onSubmit:e[3]||(e[3]=jp(()=>{},["prevent"]))},{default:ci(()=>[gt(g,{modelValue:n.customModMass,"onUpdate:modelValue":e[2]||(e[2]=l=>n.customModMass=l),"hide-details":"",label:"Monoisotopic mass in Da",type:"number"},null,8,["modelValue"]),gt(i,{type:"submit",block:"true",class:"mt-2",onClick:n.updateCustomModification},{default:ci(()=>[ia("Submit")]),_:1},8,["onClick"])]),_:1})]),_:1})):Zi("",!0)]),_:1})]),_:1},8,["modelValue"]),gt(p,{activator:"parent"},{default:ci(()=>[ti("div",null,fo(`Protein Position: ${n.protein_position}`),1),n.prefix!==void 0?(Rr(),ei(Yr,{key:0},[ia(fo(`Prefix: ${n.prefix}`)+" ",1),gD],64)):Zi("",!0),n.truncated_prefix!==void 0?(Rr(),ei(Yr,{key:1},[ia(fo(`Truncated Prefix: ${n.truncated_prefix}`)+" ",1),vD],64)):Zi("",!0),n.suffix!==void 0?(Rr(),ei(Yr,{key:2},[ia(fo(`Suffix: ${n.suffix}`)+" ",1),yD],64)):Zi("",!0),n.truncated_suffix!==void 0?(Rr(),ei(Yr,{key:3},[ia(fo(`Truncated Suffix: ${n.truncated_suffix}`)+" ",1),bD],64)):Zi("",!0),n.DoesThisAAHaveExtraFragTypes?(Rr(),ei("div",xD,fo(n.sequenceObject.extraTypes.join(", ")),1)):Zi("",!0)]),_:1})],46,OO)}const i6=hs(PO,[["render",_D],["__scopeId","data-v-fb6c82e8"]]),wD=ns({name:"ProteinTerminalCell",props:{proteinTerminal:{type:String,required:!0},index:{type:Number,required:!0},truncated:{type:Boolean,required:!1,default:!1},determined:{type:Boolean,required:!1,default:!0},disableVariableModificationSelection:{type:Boolean,default:!1}},setup(){const n=Ns(),e=W2();return{streamlitData:n,variableModData:e}},data(){return{menuOpen:!1,selectedModification:void 0,customSelected:!1,customModMass:"0"}},computed:{id(){return`${this.proteinTerminal}${this.index}`},theme(){return this.streamlitData.theme},proteinTerminalText(){return this.proteinTerminal.charAt(0)},hasVariableModification(){return this.variableModData.variableModifications[this.index]!==void 0&&this.variableModData.variableModifications[this.index]!==0},modificationsForSelect(){return["None","Custom",...this.potentialModifications]},proteinTerminalCellStyles(){var n,e;return{"--protein-terminal-cell-color":((n=this.theme)==null?void 0:n.textColor)??"#fff","--protein-terminal-cell-hover-color":"#fff","--protein-terminal-cell-hover-bg-color":((e=this.theme)==null?void 0:e.secondaryBackgroundColor)??"#000"}},proteinTerminalCellClasses(){return{"protein-terminal":this.selectedModification===void 0&&!this.hasVariableModification,"protein-terminal-modified":this.selectedModification!==void 0||this.hasVariableModification}},potentialModifications(){return r6[this.proteinTerminal]??[]}},methods:{toggleMenuOpen(){this.disableVariableModificationSelection||(this.menuOpen=!this.menuOpen)},updateSelectedModification(n){if(n==="None")this.selectedModification=void 0;else if(n==="Custom"){this.customSelected=!0;return}else this.selectedModification=n;this.toggleMenuOpen(),this.customSelected=!1,this.variableModData.updateVariableModifications(this.index,this.selectedModification?wv[this.selectedModification]:0)},updateCustomModification(){this.variableModData.updateVariableModifications(this.index,parseFloat(this.customModMass)),this.toggleMenuOpen()}}});const TD={key:0,class:"undetermined"};function kD(n,e,r,C,D,T){const p=Gr("v-select"),t=Gr("v-list-item"),d=Gr("v-text-field"),g=Gr("v-btn"),i=Gr("v-form"),M=Gr("v-list"),v=Gr("v-menu"),f=Gr("v-tooltip");return Rr(),ei("div",{class:Ju(["d-flex justify-center align-center rounded-lg",n.proteinTerminalCellClasses]),style:zs(n.proteinTerminalCellStyles),onClick:e[5]||(e[5]=jp(()=>{},["stop"])),onContextmenu:e[6]||(e[6]=jp((...l)=>n.toggleMenuOpen&&n.toggleMenuOpen(...l),["prevent"]))},[ti("div",{class:Ju(["terminal-text",{truncated:n.truncated}])},fo(n.proteinTerminalText),3),n.determined?Zi("",!0):(Rr(),ei("div",TD,"??")),gt(v,{activator:"parent",modelValue:n.menuOpen,"onUpdate:modelValue":e[4]||(e[4]=l=>n.menuOpen=l),location:"end","open-on-click":!1,"close-on-content-click":!1,width:"200px"},{default:ci(()=>[gt(M,null,{default:ci(()=>[gt(t,null,{default:ci(()=>[gt(p,{modelValue:n.selectedModification,"onUpdate:modelValue":[e[0]||(e[0]=l=>n.selectedModification=l),n.updateSelectedModification],clearable:"",label:"Modification",density:"compact",items:n.modificationsForSelect,"onClick:clear":e[1]||(e[1]=l=>n.selectedModification=void 0)},null,8,["modelValue","items","onUpdate:modelValue"])]),_:1}),n.customSelected?(Rr(),za(t,{key:0},{default:ci(()=>[gt(i,{onSubmit:e[3]||(e[3]=jp(()=>{},["prevent"]))},{default:ci(()=>[gt(d,{modelValue:n.customModMass,"onUpdate:modelValue":e[2]||(e[2]=l=>n.customModMass=l),"hide-details":"",label:"Monoisotopic mass in Da",type:"number"},null,8,["modelValue"]),gt(g,{type:"submit",block:"",class:"mt-2",onClick:n.updateCustomModification},{default:ci(()=>[ia("Submit")]),_:1},8,["onClick"])]),_:1})]),_:1})):Zi("",!0)]),_:1})]),_:1},8,["modelValue"]),gt(f,{activator:"parent"},{default:ci(()=>[ia(fo(n.proteinTerminalText),1)]),_:1})],38)}const MD=hs(wD,[["render",kD],["__scopeId","data-v-beee67fe"]]);var a6={exports:{}};/*! dom-to-image-more 26-04-2023 */(function(n,e){(function(r){const C=function(){let y=0;return{escape:function(A){return A.replace(/([.*+?^${}()|[]\/\\])/g,"\\$1")},isDataUrl:function(A){return A.search(/^(data:)/)!==-1},canvasToBlob:function(A){return A.toBlob?new Promise(function(L){A.toBlob(L)}):function(L){return new Promise(function(b){var R=f(L.toDataURL().split(",")[1]),I=R.length,O=new Uint8Array(I);for(let z=0;zte.style.removeProperty(X)),["left","right","top","bottom"].forEach(X=>{te.style.getPropertyValue(X)&&te.style.setProperty(X,"0px")})))}H(W,N)}function $(){const q=C.uid();function H(ne){const te=v(W,ne),Z=te.getPropertyValue("content");if(Z!==""&&Z!=="none"){let ie=function(){const oe=`.${q}:`+ne,ue=(te.cssText?ce:ye)();return document.createTextNode(oe+`{${ue}}`);function ce(){return`${te.cssText} content: ${Z};`}function ye(){return C.asArray(te).map(me).join("; ")+";";function me(pe){const xe=te.getPropertyValue(pe),Pe=te.getPropertyPriority(pe)?" !important":"";return pe+": "+xe+Pe}}};var X=ie;const Q=N.getAttribute("class")||"",re=(N.setAttribute("class",Q+" "+q),document.createElement("style"));re.appendChild(ie()),N.appendChild(re)}}[":before",":after"].forEach(function(ne){H(ne)})}function U(){C.isHTMLTextAreaElement(W)&&(N.innerHTML=W.value),C.isHTMLInputElement(W)&&N.setAttribute("value",W.value)}function G(){C.isSVGElement(N)&&(N.setAttribute("xmlns","http://www.w3.org/2000/svg"),C.isSVGRectElement(N))&&["width","height"].forEach(function(q){const H=N.getAttribute(q);H&&N.style.setProperty(q,H)})}}}(E,S,null)}).then(o).then(s).then(function(E){S.bgcolor&&(E.style.backgroundColor=S.bgcolor),S.width&&(E.style.width=S.width+"px"),S.height&&(E.style.height=S.height+"px"),S.style&&Object.keys(S.style).forEach(function(A){E.style[A]=S.style[A]});let x=null;return typeof S.onclone=="function"&&(x=S.onclone(E)),Promise.resolve(x).then(function(){return E})}).then(function(E){let x=S.width||C.width(E),A=S.height||C.height(E);return Promise.resolve(E).then(function(L){return L.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),new XMLSerializer().serializeToString(L)}).then(C.escapeXhtml).then(function(L){var b=(C.isDimensionMissing(x)?' width="100%"':` width="${x}"`)+(C.isDimensionMissing(A)?' height="100%"':` height="${A}"`);return`${L}`}).then(function(L){return"data:image/svg+xml;charset=utf-8,"+L})}).then(function(E){for(;0{h=null,m={}},2e4)}(),E})}function a(y,S){return l(y,S=S||{}).then(C.makeImage).then(function(_){var k=typeof S.scale!="number"?1:S.scale,E=function(A,L){let b=S.width||C.width(A),R=S.height||C.height(A);return C.isDimensionMissing(b)&&(b=C.isDimensionMissing(R)?300:2*R),C.isDimensionMissing(R)&&(R=b/2),A=document.createElement("canvas"),A.width=b*L,A.height=R*L,S.bgcolor&&((L=A.getContext("2d")).fillStyle=S.bgcolor,L.fillRect(0,0,A.width,A.height)),A}(y,k),x=E.getContext("2d");return x.msImageSmoothingEnabled=!1,x.imageSmoothingEnabled=!1,_&&(x.scale(k,k),x.drawImage(_,0,0)),E})}let u=null;function o(y){return T.resolveAll().then(function(S){var _;return S!==""&&(_=document.createElement("style"),y.appendChild(_),_.appendChild(document.createTextNode(S))),y})}function s(y){return t.inlineAll(y).then(function(){return y})}function c(y,S,_,k,E){const x=i.impl.options.copyDefaultStyles?function(L,I){var I=function(z){var F=[];do if(z.nodeType===M){var B=z.tagName;if(F.push(B),w.includes(B))break}while(z=z.parentNode,z);return F}(I),R=function(z){return(L.styleCaching!=="relaxed"?z:z.filter((F,B,N)=>B===0||B===N.length-1)).join(">")}(I);if(m[R])return m[R];var O=function(){if(u)return u.contentWindow;var z=document.characterSet||"UTF-8",F=document.doctype,F=F?(`":"";return(u=document.createElement("iframe")).id="domtoimage-sandbox-"+C.uid(),u.style.visibility="hidden",u.style.position="fixed",document.body.appendChild(u),function(N,W,j,$){try{return N.contentWindow.document.write(W+`${$}`),N.contentWindow}catch{}var U=document.createElement("meta");U.setAttribute("charset",j);try{var G=document.implementation.createHTMLDocument($),q=(G.head.appendChild(U),W+G.documentElement.outerHTML);return N.setAttribute("srcdoc",q),N.contentWindow}catch{}return N.contentDocument.head.appendChild(U),N.contentDocument.title=$,N.contentWindow}(u,F,z,"domtoimage-sandbox");function B(N){var W;return N?((W=document.createElement("div")).innerText=N,W.innerHTML):""}}(),I=function(z,F){let B=z.body;do{var N=F.pop(),N=z.createElement(N);B.appendChild(N),B=N}while(0{const r=this.$refs.downloadLink;r.download="FLASHViewer-sequence.svg",r.href=e,r.click()}).finally(()=>{this.svgDownloadTriggered=!1})}}}),ED={ref:"downloadLink",style:{visibility:"hidden"}};function LD(n,e,r,C,D,T){const p=Gr("v-btn"),t=Gr("v-tooltip"),d=Gr("v-progress-linear"),g=Gr("v-card-text"),i=Gr("v-card"),M=Gr("v-dialog");return Rr(),ei(Yr,null,[gt(p,{id:"download-button",variant:"text",size:"large",icon:"mdi-download",onClick:n.triggerDownload},null,8,["onClick"]),gt(t,{text:"Save as SVG",location:"bottom",activator:"#download-button"}),ti("a",ED,null,512),gt(M,{modelValue:n.svgDownloadTriggered,"onUpdate:modelValue":e[0]||(e[0]=v=>n.svgDownloadTriggered=v),persistent:"",width:"auto"},{default:ci(()=>[gt(i,{color:"primary"},{default:ci(()=>[gt(g,null,{default:ci(()=>[ia(" Please stand by "),gt(d,{indeterminate:"",color:"white",class:"mb-0"})]),_:1})]),_:1})]),_:1},8,["modelValue"])],64)}const o6=hs(CD,[["render",LD]]),ID=ns({name:"SequenceViewInformation",components:{AminoAcidCell:i6},setup(){return{streamlitDataStore:Ns()}},data(){return{dialog:!1,aIon:!0,bIon:!1,cIon:!1,xIon:!0,yIon:!0,zIon:!1,fixed_mod:!1,variable_mod:!1,originalAAClasses:void 0,waterLoss:!1,ammoniumLoss:!1,proton:!1}},computed:{theme(){return this.streamlitDataStore.theme},aaSequenceObject(){return{aminoAcid:"AA",aIon:this.aIon,bIon:this.bIon,cIon:this.cIon,xIon:this.xIon,yIon:this.yIon,zIon:this.zIon,modStart:this.variable_mod,modEnd:this.variable_mod,modMass:"+134.99",truncated:!1,extraTypes:this.extraFragTypes()}}},methods:{setAAWithVarMod(){var e;this.originalAAClasses===void 0&&(this.originalAAClasses=((e=document.getElementById("AA0"))==null?void 0:e.getAttribute("class"))??"");const n=document.getElementById("AA0");if(n){let r=this.originalAAClasses;this.fixed_mod&&(r="sequence-amino-acid-highlighted "+r),n.setAttribute("class",r)}},extraFragTypes(){let n="";if(this.aIon)n="a";else if(this.bIon)n="b";else if(this.cIon)n="c";else if(this.xIon)n="x";else if(this.yIon)n="y";else if(this.zIon)n="z";else return[];let e=[];return this.waterLoss&&e.push(`${n}-H20`),this.ammoniumLoss&&e.push(`${n}-NH3`),this.proton&&(e.push(`${n}-H`),e.push(`${n}+H`)),e}}});const s6=n=>(Ty("data-v-9a6912d6"),n=n(),ky(),n),RD=s6(()=>ti("div",{class:"text-h6 d-flex justify-center"},"Legend for Sequence Map",-1)),PD={class:"d-flex justify-center"},OD={class:"sequence-grid pa-6",style:{width:"150px","max-width":"100%"}},DD={class:"d-flex"},zD={class:"d-flex"},FD=s6(()=>ti("div",{class:"text-subtitle-2 d-flex justify-end align-end"}," * Click checkboxes to see the styles ",-1));function BD(n,e,r,C,D,T){var c;const p=Gr("v-btn"),t=Gr("v-card-title"),d=Gr("v-divider"),g=Gr("AminoAcidCell"),i=Gr("v-checkbox"),M=Gr("v-row"),v=Gr("v-list-item-title"),f=Gr("v-list-item"),l=Gr("v-list"),a=Gr("v-card-text"),u=Gr("v-card-actions"),o=Gr("v-card"),s=Gr("v-dialog");return Rr(),ei(Yr,null,[gt(p,{id:"info-button",variant:"text",size:"large",icon:"mdi-information"}),gt(s,{modelValue:n.dialog,"onUpdate:modelValue":e[13]||(e[13]=h=>n.dialog=h),activator:"#info-button",width:"auto",theme:((c=n.theme)==null?void 0:c.base)??"light"},{default:ci(()=>[gt(o,null,{default:ci(()=>[gt(t,null,{default:ci(()=>[ia("Sequence View legend")]),_:1}),gt(d),gt(a,null,{default:ci(()=>[RD,ti("div",PD,[ti("div",OD,[gt(g,{index:0,"sequence-object":n.aaSequenceObject,onSelected:e[0]||(e[0]=jp(()=>{},["stop"]))},null,8,["sequence-object"])])]),ia(" Fragment ion types "),gt(M,null,{default:ci(()=>[ti("div",DD,[gt(i,{modelValue:n.aIon,"onUpdate:modelValue":e[1]||(e[1]=h=>n.aIon=h),label:"a"},null,8,["modelValue"]),gt(i,{modelValue:n.bIon,"onUpdate:modelValue":e[2]||(e[2]=h=>n.bIon=h),label:"b"},null,8,["modelValue"]),gt(i,{modelValue:n.cIon,"onUpdate:modelValue":e[3]||(e[3]=h=>n.cIon=h),label:"c"},null,8,["modelValue"]),gt(i,{modelValue:n.xIon,"onUpdate:modelValue":e[4]||(e[4]=h=>n.xIon=h),label:"x"},null,8,["modelValue"]),gt(i,{modelValue:n.yIon,"onUpdate:modelValue":e[5]||(e[5]=h=>n.yIon=h),label:"y"},null,8,["modelValue"]),gt(i,{modelValue:n.zIon,"onUpdate:modelValue":e[6]||(e[6]=h=>n.zIon=h),label:"z"},null,8,["modelValue"]),gt(i,{modelValue:n.waterLoss,"onUpdate:modelValue":e[7]||(e[7]=h=>n.waterLoss=h),label:"water loss"},null,8,["modelValue"]),gt(i,{modelValue:n.ammoniumLoss,"onUpdate:modelValue":e[8]||(e[8]=h=>n.ammoniumLoss=h),label:"ammonium loss"},null,8,["modelValue"]),gt(i,{modelValue:n.proton,"onUpdate:modelValue":e[9]||(e[9]=h=>n.proton=h),label:"proton loss/addition"},null,8,["modelValue"])])]),_:1}),ia(" Modifications "),ti("div",zD,[gt(i,{modelValue:n.fixed_mod,"onUpdate:modelValue":[e[10]||(e[10]=h=>n.fixed_mod=h),n.setAAWithVarMod],label:"Fixed modifications","hide-details":"",density:"comfortable"},null,8,["modelValue","onUpdate:modelValue"]),gt(i,{modelValue:n.variable_mod,"onUpdate:modelValue":[e[11]||(e[11]=h=>n.variable_mod=h),n.setAAWithVarMod],label:"Variable modifications","hide-details":"",density:"comfortable"},null,8,["modelValue","onUpdate:modelValue"]),FD]),gt(l,{density:"compact"},{default:ci(()=>[gt(v,null,{default:ci(()=>[ia("Interaction tips")]),_:1}),gt(f,null,{default:ci(()=>[ia("Left click: highlights corresponding entries in Fragment Table and Mass Table")]),_:1}),gt(f,null,{default:ci(()=>[ia("Right click: opens variable modification menu (custom modification is available)")]),_:1})]),_:1})]),_:1}),gt(u,null,{default:ci(()=>[gt(p,{color:"primary",block:"true",onClick:e[12]||(e[12]=h=>n.dialog=!1)},{default:ci(()=>[ia("Close")]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue","theme"])],64)}const ND=hs(ID,[["render",BD],["__scopeId","data-v-9a6912d6"]]),VD=ns({name:"SequenceView",components:{SequenceViewInformation:ND,TabulatorTable:y0,AminoAcidCell:i6,ProteinTerminalCell:MD,SvgScreenshot:o6},props:{index:{type:Number,required:!0}},setup(){const n=Ns(),e=rc(),r=W2();return{streamlitDataStore:n,selectionStore:e,variableModData:r}},data(){return{rowWidth:35,massData:[],massTitle:"",ionTypes:[{text:"a",selected:!1},{text:"b",selected:!0},{text:"c",selected:!1},{text:"x",selected:!1},{text:"y",selected:!0},{text:"z",selected:!1}],ionTypesExtra:{"water loss":!1,"ammonium loss":!1,"proton loss/addition":!1},fragmentMassTolerance:10,visibilityOptions:[{text:"Fragments",selected:!0},{text:"Modifications",selected:!0}],fragmentTableColumnDefinitions:[{title:"Name",field:"Name",headerTooltip:"The name of the fragment ion, represented in Biemann notation."},{title:"Ion type",field:"IonType",headerTooltip:"The type of fragment ion identified in the spectrum."},{title:"Ion number",field:"IonNumber",sorter:"number",headerTooltip:"The position of the fragment ion within the sequence."},{title:"Theoretical mass",field:"TheoreticalMass",sorter:"number",headerTooltip:"The expected mass of the fragment ion."},{title:"Observed mass",field:"ObservedMass",formatter:Df(),sorter:"number",headerTooltip:"The mass of the fragment ion as observed in the spectrum."},{title:"Mass difference (Da)",field:"MassDiffDa",sorter:"number",headerTooltip:"The difference between the observed and theoretical masses of the fragment ion, in Daltons."},{title:"Mass difference (ppm)",field:"MassDiffPpm",sorter:"number",headerTooltip:"The difference between the observed and theoretical masses of the fragment ion, in parts per million (ppm)."}],fragmentTableData:[],fragmentTableTitle:"",residueCleavagePercentage:0,sequenceObjects:[],selectedFragTableRowIndex:void 0}},computed:{theme(){return this.streamlitDataStore.theme},selectedSequence(){const n=this.selectionStore.selectedProteinIndex;return typeof n=="number"?n:0},selectedTag(){return this.selectionStore.selectedTag},sequence(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.sequence)??[]},sequence_start_reported(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.proteoform_start)??0},sequence_start(){return this.sequence_start_reported<0?0:this.sequence_start_reported},n_truncation(){return this.sequence_start>0},n_determined(){return this.sequence_start_reported>=0},sequence_end_reported(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.proteoform_end)??this.sequence.length-1},sequence_end(){return this.sequence_end_reported<0?this.sequence.length-1:this.sequence_end_reported},c_truncation(){return this.sequence_end=0},modifications(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.modifications)??[]},coverage(){var e,r;const n=this.selectedSequence;return typeof n=="number"?((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.coverage)??[]:[]},maxCoverage(){var e,r;const n=this.selectedSequence;return typeof n=="number"?((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.maxCoverage)??-1:-1},theoreticalMass(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.theoretical_mass)??0},computedMass(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),(r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.computed_mass},fixedModificationSites(){var e,r;let n=this.selectedSequence;return n===void 0&&(n=0),((r=(e=this.streamlitDataStore.sequenceData)==null?void 0:e[n])==null?void 0:r.fixed_modifications)??[]},variableModifications(){return this.variableModData.variableModifications??{}},tickLabels(){return{20:"20",25:"25",30:"30",35:"35",40:"40"}},gridClasses(){return{"sequence-grid":!0,[`grid-width-${this.rowWidth}`]:!0}},proteinTerminalCellStyles(){var n;return{"--amino-acid-cell-hover-color":"#fff","--amino-acid-cell-hover-bg-color":((n=this.theme)==null?void 0:n.secondaryBackgroundColor)??"#000"}},selectedScanIndex(){if(this.selectionStore.selectedScanIndex!==void 0)return this.streamlitDataStore.allDataForDrawing.per_scan_data.length===1?0:this.selectionStore.selectedScanIndex},calculateCleavagePercentage(){let n=0;for(let e=0,r=this.sequenceObjects.length-1;ee.text==="Tags"))!=null&&n.selected):!1},showTruncations(){var n;return this.displayTnT?!!((n=this.visibilityOptions.find(e=>e.text==="Truncations"))!=null&&n.selected):!1},showModifications(){var n;return!!((n=this.visibilityOptions.find(e=>e.text==="Modifications"))!=null&&n.selected)},showFragments(){var n;return!!((n=this.visibilityOptions.find(e=>e.text==="Fragments"))!=null&&n.selected)}},watch:{selectedScanIndex(){this.preparePrecursorInfo(),this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},sequence(){this.selectionStore.updateSelectedAA(void 0),this.preparePrecursorInfo(),this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications(),this.updateSettings()},selectedTag(){this.updateTagPosition()},fragmentMassTolerance(){this.preparePrecursorInfo(),this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},ionTypes:{handler(){this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},deep:!0},ionTypesExtra:{handler(){this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},deep:!0},variableModifications(){this.preparePrecursorInfo(),this.initializeSequenceObjects(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()}},mounted(){this.selectionStore.updateSelectedAA(void 0),this.initializeSequenceObjects(),this.preparePrecursorInfo(),this.prepareFragmentTable(),this.prepareAmbigiousModifications()},methods:{getFragmentMasses(n){var r;let e=this.selectedSequence;return e===void 0&&(e=0),(r=this.streamlitDataStore.sequenceData)==null?void 0:r[e][`fragment_masses_${n}`]},updateMassTolerance(n){this.fragmentMassTolerance=Number.parseInt(n.target.value)},updateSettings(){var n,e;((n=this.streamlitDataStore.settings)==null?void 0:n.ion_types)!==void 0&&this.ionTypes.forEach(r=>{r.selected=this.streamlitDataStore.settings.ion_types.includes(r.text)}),((e=this.streamlitDataStore.settings)==null?void 0:e.tolerance)!==void 0&&(this.fragmentMassTolerance=this.streamlitDataStore.settings.tolerance)},toggleIonTypeSelected(n){this.ionTypes[n].selected=!this.ionTypes[n].selected},preparePrecursorInfo(){if(this.selectedScanIndex==null){this.massData=[];return}if(this.computedMass!==void 0){this.massTitle="Proteoform";let D="-",T="-";this.computedMass>0&&(D=this.computedMass.toFixed(2),T=Math.abs(this.theoreticalMass-this.computedMass).toFixed(2)),this.massData=[`Theoretical protein mass : ${this.theoreticalMass.toFixed(2)}`,`Observed proteoform mass : ${D}`,`Δ Mass (Da) : ${T}`],this.visibilityOptions.some(p=>p.text==="Tags")||(this.visibilityOptions.push({text:"Truncations",selected:!0}),this.visibilityOptions.push({text:"Tags",selected:!0}),this.updateSettings()),this.ionTypesExtra["ammonium loss"]=!1,this.ionTypesExtra["water loss"]=!1,this.ionTypesExtra["proton loss/addition"]=!1;return}const e=this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScanIndex].PrecursorMass;if(e===0){this.massData=[];return}let r=this.theoreticalMass;this.variableModData.isEmpty||(this.variableModifications.valueOf(),Object.values(this.variableModifications).forEach(D=>{r+=D}));const C=Math.abs(r-e);this.massTitle="Precursor",this.massData=[`Theoretical mass : ${r.toFixed(2)}`,`Observed mass : ${e.toFixed(2)}`,`Δ Mass (Da) : ${C.toFixed(2)}`]},prepareFragmentTable(){if(this.sequence.length<=0){this.fragmentTableTitle="";return}if(this.selectedScanIndex===void 0){this.fragmentTableTitle="";return}const e=this.streamlitDataStore.allDataForDrawing.per_scan_data[this.selectedScanIndex].MonoMass;let r=[];const C=this.sequence_end;this.ionTypes.filter(D=>D.selected).forEach(D=>{if((D.text==="a"||D.text==="b"||D.text==="c")&&this.sequence_start_reported<0||(D.text==="x"||D.text==="y"||D.text==="z")&&this.sequence_end_reported<0)return;const T=this.getFragmentMasses(D.text);for(let p=0,t=T.length;p{this.variableModData.isEmpty||((D.text==="a"||D.text==="b"||D.text==="c")&&Object.entries(this.variableModifications).forEach(([M,v])=>{parseInt(M)<=d&&(g+=v)}),(D.text==="x"||D.text==="y"||D.text==="z")&&Object.entries(this.variableModifications).forEach(([M,v])=>{C-parseInt(M)<=d&&(g+=v)}));const i=Object.entries(RO).filter(([M])=>this.ionTypesExtra[M]||M==="default").map(([M,v])=>v).flat();for(let M=0,v=e.length;M{const a=g+l,u=e[M]-a,o=u/a*1e6;if(Math.abs(o)>this.fragmentMassTolerance)return;const s={Name:`${D.text}${p+1}`,IonType:`${D.text}${f}`,IonNumber:p+1,TheoreticalMass:a.toFixed(3),ObservedMass:e[M],MassDiffDa:u.toFixed(3),MassDiffPpm:o.toFixed(3)};r.push(s);let c=d;(D.text==="a"||D.text==="b"||D.text==="c")&&(this.sequenceObjects[c][`${D.text}Ion`]=!0),(D.text==="x"||D.text==="y"||D.text==="z")&&(this.sequenceObjects[C-p][`${D.text}Ion`]=!0,c=C-p),f&&this.sequenceObjects[d].extraTypes.push(`${D.text}${f}`)})})}}),this.residueCleavagePercentage=this.calculateCleavagePercentage,this.fragmentTableData=r,this.fragmentTableTitle=`Matching fragments (# ${r.length})`},fixedModification(n){return this.fixedModificationSites.includes(n)},initializeSequenceObjects(){this.sequenceObjects=[],this.sequence.forEach((n,e)=>{const r=this.coverage[e];let C=!1;(this.sequence_start>e||this.sequence_endC.Name===e),this.selectionStore.selectedAminoAcid(this.fragmentTableData[this.selectedFragTableRowIndex].ObservedMass)},updateTagPosition(){this.sequence.length<=0||(this.sequenceObjects.length!==this.sequence.length&&this.initializeSequenceObjects(),this.sequence.forEach((n,e)=>{var D,T;const r=((D=this.selectedTag)==null?void 0:D.startPos)==e,C=((T=this.selectedTag)==null?void 0:T.endPos)==e;this.sequenceObjects[e].tagStart=r,this.sequenceObjects[e].tagEnd=C}))},prepareAmbigiousModifications(){this.modifications.forEach(n=>{const e=n.start,r=n.end,C=n.mass_diff.toFixed(2),D=n.labels,T=parseFloat(C).toLocaleString("en-US",{signDisplay:"always"});for(let p=e;p<=r;p++)p==e&&(this.sequenceObjects[p].modStart=!0),p==r&&(this.sequenceObjects[p].modEnd=!0,this.sequenceObjects[p].modMass=T,this.sequenceObjects[p].modLabels=D),p!=e&&p!=r&&(this.sequenceObjects[p].modCenter=!0)})}}});const Y2=n=>(Ty("data-v-14f01162"),n=n(),ky(),n),jD=Y2(()=>ti("div",{class:"d-flex justify-center"},[ti("h4",null,"Sequence View")],-1)),UD={class:"sequence-and-scale"},HD={id:"sequence-part"},GD={class:"d-flex justify-space-evenly"},qD={class:"d-flex justify-end px-4 mb-4"},WD={class:"d-flex justify-space-evenly"},YD={class:"d-flex justify-space-evenly"},$D={class:"d-flex justify-space-evenly"},ZD={key:0,class:"d-flex justify-center align-center"},XD={key:3,class:"d-flex justify-center align-center"},KD={key:0,class:"scale-container",title:"Sequence Tag Coverage"},JD={class:"scale-text"},QD=Y2(()=>ti("div",{class:"scale"},null,-1)),ez=Y2(()=>ti("div",{class:"scale-text"},"1x",-1)),tz={id:"sequence-view-table"};function nz(n,e,r,C,D,T){var w;const p=Gr("v-divider"),t=Gr("SvgScreenshot"),d=Gr("SequenceViewInformation"),g=Gr("v-btn"),i=Gr("v-list-item-title"),M=Gr("v-slider"),v=Gr("v-list-item"),f=Gr("v-checkbox"),l=Gr("v-text-field"),a=Gr("v-list"),u=Gr("v-card"),o=Gr("v-menu"),s=Gr("ProteinTerminalCell"),c=Gr("AminoAcidCell"),h=Gr("TabulatorTable"),m=Gr("v-sheet");return Rr(),ei(Yr,null,[jD,gt(m,{class:"pa-4 rounded-lg",style:{"max-width":"97%"},theme:((w=n.theme)==null?void 0:w.base)??"light",border:""},{default:ci(()=>[ti("div",UD,[ti("div",HD,[ti("div",GD,[n.massData.length!=0?(Rr(),ei(Yr,{key:0},[ti("h3",null,fo(n.massTitle),1),gt(p,{vertical:!0}),(Rr(!0),ei(Yr,null,Ul(n.massData,(y,S)=>(Rr(),ei(Yr,{key:S},[ia(fo(y)+" ",1),gt(p,{vertical:!0})],64))),128))],64)):Zi("",!0)]),ti("div",qD,[ti("div",null,[gt(t,{"element-id":"sequence-part"}),gt(d),gt(g,{id:"settings-button",variant:"text",icon:"mdi-cog",size:"large"}),gt(o,{"close-on-content-click":!1,activator:"#settings-button",location:"bottom"},{default:ci(()=>[gt(u,{"min-width":"300"},{default:ci(()=>[gt(a,null,{default:ci(()=>[gt(v,null,{default:ci(()=>[gt(i,null,{default:ci(()=>[ia("# amino acids per row")]),_:1}),gt(M,{modelValue:n.rowWidth,"onUpdate:modelValue":e[0]||(e[0]=y=>n.rowWidth=y),ticks:n.tickLabels,min:20,max:40,step:"5","show-ticks":"always","tick-size":"4"},null,8,["modelValue","ticks"])]),_:1}),gt(v,null,{default:ci(()=>[gt(i,null,{default:ci(()=>[ia("Visibility")]),_:1}),ti("div",WD,[(Rr(!0),ei(Yr,null,Ul(n.visibilityOptions,y=>(Rr(),za(f,{key:y.text,modelValue:y.selected,"onUpdate:modelValue":S=>y.selected=S,"hide-details":"",density:"comfortable",label:y.text},null,8,["modelValue","onUpdate:modelValue","label"]))),128))])]),_:1}),gt(v,null,{default:ci(()=>[gt(i,null,{default:ci(()=>[ia("Fragment ion types")]),_:1}),ti("div",YD,[(Rr(!0),ei(Yr,null,Ul(n.ionTypes,(y,S)=>(Rr(),za(f,{key:y.text,modelValue:y.selected,"onUpdate:modelValue":_=>y.selected=_,"hide-details":"",density:"comfortable",label:y.text,onClick:_=>n.toggleIonTypeSelected(S),disabled:!n.showFragments},null,8,["modelValue","onUpdate:modelValue","label","onClick","disabled"]))),128))]),ti("div",$D,[(Rr(!0),ei(Yr,null,Ul(Object.keys(n.ionTypesExtra),y=>(Rr(),za(f,{key:y,modelValue:n.ionTypesExtra[y],"onUpdate:modelValue":S=>n.ionTypesExtra[y]=S,"hide-details":"",density:"comfortable",label:y,disabled:!n.showFragments},null,8,["modelValue","onUpdate:modelValue","label","disabled"]))),128))])]),_:1}),gt(v,null,{default:ci(()=>[gt(i,null,{default:ci(()=>[ia("Fragment mass tolerance")]),_:1}),gt(l,{modelValue:n.fragmentMassTolerance,"onUpdate:modelValue":e[1]||(e[1]=y=>n.fragmentMassTolerance=y),type:"number","hide-details":"auto",label:"mass tolerance in ppm",onChange:n.updateMassTolerance,disabled:!n.showFragments},null,8,["modelValue","onChange","disabled"])]),_:1})]),_:1})]),_:1})]),_:1})])]),ti("div",{class:Ju(["pb-4 px-2",n.gridClasses]),style:{width:"100%","max-width":"100%"}},[(Rr(!0),ei(Yr,null,Ul(n.sequenceObjects,(y,S)=>(Rr(),ei(Yr,{key:S},[n.showTruncations&&S!==0&&S%n.rowWidth===0||!n.showTruncations&&S-n.sequence_start!==0&&(S-n.sequence_start)%n.rowWidth===0&&Sn.sequence_start?(Rr(),ei("div",ZD,fo(n.showTruncations?S+1:S-n.sequence_start+1),1)):Zi("",!0),S===0?(Rr(),za(s,{key:1,"protein-terminal":"N-term",truncated:n.n_truncation,index:-1,"disable-variable-modification-selection":n.disableVariableModifications,determined:n.n_determined},null,8,["truncated","disable-variable-modification-selection","determined"])):Zi("",!0),n.showTruncations||n.sequence_start<=S&&n.sequence_end>=S?(Rr(),za(c,{key:2,index:S,"sequence-object":y,"fixed-modification":n.fixedModification(y.aminoAcid),"disable-variable-modification-selection":n.disableVariableModifications,showTags:n.showTags,showFragments:n.showFragments,showModifications:n.showModifications,onSelected:n.aminoAcidSelected},null,8,["index","sequence-object","fixed-modification","disable-variable-modification-selection","showTags","showFragments","showModifications","onSelected"])):Zi("",!0),n.showTruncations&&S%n.rowWidth===n.rowWidth-1&&S!==n.sequence.length-1||!n.showTruncations&&(S-n.sequence_start)%n.rowWidth===n.rowWidth-1&&Sn.sequence_start?(Rr(),ei("div",XD,fo(n.showTruncations?S+1:S-n.sequence_start+1),1)):Zi("",!0),S===n.sequence.length-1?(Rr(),za(s,{key:4,"protein-terminal":"C-term",truncated:n.c_truncation,index:n.sequence.length,"disable-variable-modification-selection":n.disableVariableModifications,determined:n.c_determined},null,8,["truncated","index","disable-variable-modification-selection","determined"])):Zi("",!0)],64))),128))],2)]),n.maxCoverage>0&&n.showTags?(Rr(),ei("div",KD,[ti("div",JD,fo(n.maxCoverage+"x"),1),QD,ez])):Zi("",!0)]),ti("div",tz,[n.fragmentTableTitle!==""&&n.showFragments?(Rr(),za(h,{key:0,"table-data":n.fragmentTableData,"column-definitions":n.fragmentTableColumnDefinitions,index:n.index,"selected-row-index-from-listening":n.selectedFragTableRowIndex,"table-layout-param":"fitColumns"},{default:ci(()=>[ia(fo(n.fragmentTableTitle),1)]),"end-title-row":ci(()=>[ia("% Residue cleavage: "+fo(n.residueCleavagePercentage.toFixed(3))+"%",1)]),_:1},8,["table-data","column-definitions","index","selected-row-index-from-listening"])):Zi("",!0)])]),_:1},8,["theme"])],64)}const rz=hs(VD,[["render",nz],["__scopeId","data-v-14f01162"]]),iz=ns({name:"FLASHQuantView",components:{TabulatorTable:y0},setup(){return{streamlitDataStore:Ns()}},data(){return{setHeightInterval:null,featureGroupTableColumnDefinitions:[{title:"Index",field:"FeatureGroupIndex"},{title:"Monoisotopic Mass",field:"MonoisotopicMass"},{title:"Average Mass",field:"AverageMass"},{title:"Start Retention Time (FWHM)",field:"StartRetentionTime(FWHM)"},{title:"End Retention Time (FWHM)",field:"EndRetentionTime(FWHM)"},{title:"Feature Group Quantity",field:"FeatureGroupQuantity"},{title:"Feature Group Quantity",field:"FeatureGroupQuantity"},{title:"Min Charge",field:"MinCharge"},{title:"Max Charge",field:"MaxCharge"},{title:"Most Abundant Charge",field:"MostAbundantFeatureCharge"},{title:"Isotope Cosine Score",field:"IsotopeCosineScore"}],selectedFeatureGroupIndex:void 0,maximumIntensity:0}},computed:{theme(){return this.streamlitDataStore.theme},featureGroupTableData(){return this.streamlitDataStore.dataForDrawing.quant_data},trace3DgraphLayout(){var n,e,r,C;return{title:"Feature group signals",paper_bgcolor:(n=this.theme)==null?void 0:n.backgroundColor,plot_bgcolor:(e=this.theme)==null?void 0:e.secondaryBackgroundColor,height:800,font:{color:(r=this.theme)==null?void 0:r.textColor,family:(C=this.theme)==null?void 0:C.font},scene:{xaxis:{title:"m/z"},yaxis:{title:"retention time"},zaxis:{title:"intensity",range:[0,this.maximumIntensity]}},showlegend:!0}}},watch:{selectedFeatureGroupIndex(){this.trace3DGraph()}},mounted(){this.setHeightInterval=setInterval(()=>Wu.setFrameHeight(),500)},unmounted(){this.setHeightInterval!==null&&clearInterval(this.setHeightInterval)},methods:{async trace3DGraph(){await Wl.newPlot("trace3Dplot",this.trace3DgraphData(),this.trace3DgraphLayout,{responsive:!0})},updateSelectedFeatureGroupRow(n){n!==void 0&&(this.selectedFeatureGroupIndex=n)},trace3DgraphData(){if(this.selectedFeatureGroupIndex===void 0)return[];const n=this.featureGroupTableData[this.selectedFeatureGroupIndex],e=[...new Set(n.Charges)],r={};e.forEach(T=>{r[T]={mzs:[],rts:[],intys:[]}}),n.Charges.forEach((T,p)=>{const t=n.MZs[p].split(",").map(parseFloat),d=n.RTs[p].split(",").map(parseFloat),g=n.Intensities[p].split(",").map(parseFloat);r[T].mzs.push(t[0]),r[T].rts.push(d[0]),r[T].intys.push(-1e3),r[T].mzs.push(...t),r[T].rts.push(...d),r[T].intys.push(...g),r[T].mzs.push(t[-1]),r[T].rts.push(d[-1]),r[T].intys.push(-1e3)}),this.maximumIntensity=Math.max.apply(null,Object.values(r).map(T=>Math.max.apply(null,T.intys)));let D=[];return Object.entries(r).forEach(([T,p])=>{D.push({x:p.mzs,y:p.rts,z:p.intys,mode:"lines",line:{color:"#3366CC"},type:"scatter3d",name:`Charge: ${T}`})}),D}}}),az={class:"pa-4"},oz=ti("div",{id:"trace3Dplot",style:{width:"90%"}},null,-1);function sz(n,e,r,C,D,T){const p=Gr("TabulatorTable"),t=Gr("v-row");return Rr(),ei("div",az,[gt(t,{class:"flex-nowrap"},{default:ci(()=>[n.featureGroupTableData?(Rr(),za(p,{key:0,title:"Feature groups",index:0,"table-data":n.featureGroupTableData,"column-definitions":n.featureGroupTableColumnDefinitions,"table-index-field":"FeatureGroupIndex",onRowSelected:n.updateSelectedFeatureGroupRow,"default-row":0},null,8,["table-data","column-definitions","onRowSelected"])):Zi("",!0)]),_:1}),oz])}const lz=hs(iz,[["render",sz]]),uz=ns({name:"InternalFragmentMap",components:{SvgScreenshot:o6},props:{index:{type:Number,required:!0}},setup(){const n=Ns(),e=rc();return{streamlitData:n,selectionStore:e}},data(){return{fragmentMassTolerance:10,fragmentMassToleranceUnit:"ppm",fragmentMassTypes:{by:!0,cy:!0,bz:!0},fragmentDisplayOverlay:!1,fragOpacity:.2,fragOpacityMin:.01,fragOpacityMax:1}},computed:{theme(){return this.streamlitData.theme},internalFragmentData(){var n;return(n=this.streamlitData.internalFragmentData)==null?void 0:n[this.selectedSequence]},selectedSequence(){const n=this.selectionStore.selectedProteinIndex;return typeof n=="number"?n:0},displayTnT(){var e,r;let n=this.selectedSequence;return((r=(e=this.streamlitData.sequenceData)==null?void 0:e[n])==null?void 0:r.computed_mass)!==void 0},sequence(){var r,C,D,T;const n=(r=this.streamlitData.sequenceData)==null?void 0:r[this.selectedSequence].proteoform_start,e=(C=this.streamlitData.sequenceData)==null?void 0:C[this.selectedSequence].proteoform_end;return n!==void 0&&e!==void 0?(D=this.streamlitData.sequenceData)==null?void 0:D[this.selectedSequence].sequence.slice(n,e+1):(T=this.streamlitData.sequenceData)==null?void 0:T[this.selectedSequence].sequence},fragmentStyle(){var n;return{height:(94/(((n=this.sequence)==null?void 0:n.length)??1)).toFixed(2)+"vw","--frag-block-opacity-value":this.fragOpacity}},fragmentTypeContainerStyle(){return{height:this.fragmentDisplayOverlay?this.fragmentStyle.height:"auto"}},fragmentTypeOverlayStyle(){return{position:this.fragmentDisplayOverlay?"absolute":"static"}},fragmentDisplayOverlayLabels(){return this.fragmentDisplayOverlay?"Overlay fragments from the same type":"Stacked"},selectedScanInfo(){if(this.selectionStore.selectedScanIndex!==void 0)return this.streamlitData.allDataForDrawing.per_scan_data.length==1?this.streamlitData.allDataForDrawing.per_scan_data[0]:this.streamlitData.allDataForDrawing.per_scan_data[this.selectionStore.selectedScanIndex]},byData(){var C,D,T;if(this.selectedScanInfo===void 0||!((C=this.internalFragmentData)!=null&&C.fragment_masses_by)||!((D=this.internalFragmentData)!=null&&D.start_indices_by)||!((T=this.internalFragmentData)!=null&&T.end_indices_by))return[];if(this.selectedScanInfo.PrecursorMass===0&&!this.displayTnT)return[];const e=[],r=this.selectedScanInfo.MonoMass;return this.filterMatchingMasses(r,this.internalFragmentData.fragment_masses_by,this.internalFragmentData.start_indices_by,this.internalFragmentData.end_indices_by,e),e},cyData(){var C,D,T;if(this.selectedScanInfo===void 0||!((C=this.internalFragmentData)!=null&&C.fragment_masses_cy)||!((D=this.internalFragmentData)!=null&&D.start_indices_cy)||!((T=this.internalFragmentData)!=null&&T.end_indices_cy))return[];if(this.selectedScanInfo.PrecursorMass===0&&!this.displayTnT)return[];const e=[],r=this.selectedScanInfo.MonoMass;return this.filterMatchingMasses(r,this.internalFragmentData.fragment_masses_cy,this.internalFragmentData.start_indices_cy,this.internalFragmentData.end_indices_cy,e),e},bzData(){var C,D,T;if(this.selectedScanInfo===void 0||!((C=this.internalFragmentData)!=null&&C.fragment_masses_bz)||!((D=this.internalFragmentData)!=null&&D.start_indices_bz)||!((T=this.internalFragmentData)!=null&&T.end_indices_bz))return[];if(this.selectedScanInfo.PrecursorMass===0&&!this.displayTnT)return[];const e=[],r=this.selectedScanInfo.MonoMass;return this.filterMatchingMasses(r,this.internalFragmentData.fragment_masses_bz,this.internalFragmentData.start_indices_bz,this.internalFragmentData.end_indices_bz,e),e}},methods:{updateMassTolerance(n){this.fragmentMassTolerance=Number.parseInt(n.target.value)},fragmentClasses(n,e,r,C){const D=n>e&&n<=r;let T=C;return this.fragmentDisplayOverlay&&(T+="-overlayed"),{[T]:D,"not-in-fragment":!D}},filterMatchingMasses(n,e,r,C,D){for(let T=0,p=e.length;Tthis.fragmentMassTolerance)){D.push({mass:t,start:r[T],end:C[T]});break}}}}}});const cz=n=>(Ty("data-v-ece55ad7"),n=n(),ky(),n),hz=cz(()=>ti("div",{class:"d-flex justify-center"},[ti("h4",null,"Internal Fragment Map")],-1)),fz={class:"d-flex justify-space-between"},dz=UE('
by/cz
bz
cy
',1),pz={class:"d-flex justify-end px-4 mb-4",style:{"max-width":"97%"}},mz={class:"d-flex"},gz={class:"d-flex justify-space-between"},vz={id:"internal-fragment-part"},yz={class:"d-flex",style:{"border-bottom":"white","border-bottom-width":"1px","border-bottom-style":"solid"}};function bz(n,e,r,C,D,T){var o;const p=Gr("SvgScreenshot"),t=Gr("v-btn"),d=Gr("v-list-item-title"),g=Gr("v-switch"),i=Gr("v-list-item"),M=Gr("v-text-field"),v=Gr("v-slider"),f=Gr("v-list"),l=Gr("v-card"),a=Gr("v-menu"),u=Gr("v-sheet");return Rr(),ei(Yr,null,[hz,ti("div",fz,[dz,ti("div",pz,[gt(p,{"element-id":"internal-fragment-part"}),gt(t,{id:"internal-frag-settings-button",variant:"text",icon:"mdi-cog",size:"medium"}),gt(a,{"close-on-content-click":!1,activator:"#internal-frag-settings-button",location:"bottom"},{default:ci(()=>[gt(l,{"min-width":"300"},{default:ci(()=>[gt(f,null,{default:ci(()=>[gt(i,null,{default:ci(()=>[gt(d,null,{default:ci(()=>[ia("Fragments display style")]),_:1}),ti("div",mz,[gt(g,{modelValue:n.fragmentDisplayOverlay,"onUpdate:modelValue":e[0]||(e[0]=s=>n.fragmentDisplayOverlay=s),"hide-details":"",label:`${n.fragmentDisplayOverlayLabels}`,class:"mr-4"},null,8,["modelValue","label"])])]),_:1}),gt(i,null,{default:ci(()=>[gt(d,null,{default:ci(()=>[ia("Opacity of each fragment (If overlay display style)")]),_:1}),ti("div",{style:zs({background:`rgba(240, 164, 65, ${n.fragOpacity})`})},[gt(v,{modelValue:n.fragOpacity,"onUpdate:modelValue":e[2]||(e[2]=s=>n.fragOpacity=s),class:"align-center ml-4",max:n.fragOpacityMax,min:n.fragOpacityMin,"hide-details":""},{append:ci(()=>[gt(M,{modelValue:n.fragOpacity,"onUpdate:modelValue":e[1]||(e[1]=s=>n.fragOpacity=s),"hide-details":"","single-line":"",min:n.fragOpacityMin,max:n.fragOpacityMax,step:"0.01",density:"compact",type:"number",class:"textFieldFontSize"},null,8,["modelValue","min","max"])]),_:1},8,["modelValue","max","min"])],4)]),_:1}),gt(i,null,{default:ci(()=>[gt(d,null,{default:ci(()=>[ia("Fragment mass tolerance")]),_:1}),ti("div",gz,[gt(g,{modelValue:n.fragmentMassToleranceUnit,"onUpdate:modelValue":e[3]||(e[3]=s=>n.fragmentMassToleranceUnit=s),"true-value":"ppm","false-value":"Da","hide-details":"",label:`${n.fragmentMassToleranceUnit}`,class:"mr-4"},null,8,["modelValue","label"]),gt(M,{modelValue:n.fragmentMassTolerance,"onUpdate:modelValue":e[4]||(e[4]=s=>n.fragmentMassTolerance=s),type:"number","hide-details":"auto",label:"mass tolerance",onChange:n.updateMassTolerance},null,8,["modelValue","onChange"])])]),_:1})]),_:1})]),_:1})]),_:1})])]),gt(u,{class:"pa-4 rounded-lg",style:{"max-width":"97%"},theme:((o=n.theme)==null?void 0:o.base)??"light",border:""},{default:ci(()=>[ti("div",vz,[ti("div",yz,[(Rr(!0),ei(Yr,null,Ul(n.sequence,(s,c)=>(Rr(),ei("div",{key:`${s}-${c}`,class:"d-flex justify-center align-center fragment-segment sequence-text",style:zs(n.fragmentStyle)},fo(s),5))),128))]),ti("div",{style:zs(n.fragmentTypeContainerStyle)},[(Rr(!0),ei(Yr,null,Ul(n.byData,s=>(Rr(),ei("div",{key:s.mass,class:"d-flex",style:zs(n.fragmentTypeOverlayStyle)},[(Rr(!0),ei(Yr,null,Ul(n.sequence,(c,h)=>(Rr(),ei("div",{key:`${c}-${h}`,class:Ju(n.fragmentClasses(h,s.start,s.end,"by-fragment")),style:zs([{border:"1px solid white"},n.fragmentStyle])},null,6))),128))],4))),128))],4),ti("div",{style:zs(n.fragmentTypeContainerStyle)},[(Rr(!0),ei(Yr,null,Ul(n.cyData,s=>(Rr(),ei("div",{key:s.mass,class:"d-flex",style:zs(n.fragmentTypeOverlayStyle)},[(Rr(!0),ei(Yr,null,Ul(n.sequence,(c,h)=>(Rr(),ei("div",{key:`${c}-${h}`,class:Ju(n.fragmentClasses(h,s.start,s.end,"cy-fragment")),style:zs([{border:"1px solid white"},n.fragmentStyle])},null,6))),128))],4))),128))],4),ti("div",{style:zs(n.fragmentTypeContainerStyle)},[(Rr(!0),ei(Yr,null,Ul(n.bzData,s=>(Rr(),ei("div",{key:s.mass,class:"d-flex",style:zs(n.fragmentTypeOverlayStyle)},[(Rr(!0),ei(Yr,null,Ul(n.sequence,(c,h)=>(Rr(),ei("div",{key:`${c}-${h}`,class:Ju(n.fragmentClasses(h,s.start,s.end,"bz-fragment")),style:zs([{border:"1px solid white"},n.fragmentStyle])},null,6))),128))],4))),128))],4)])]),_:1},8,["theme"])],64)}const xz=hs(uz,[["render",bz],["__scopeId","data-v-ece55ad7"]]),_z=ns({name:"FDRPlotly",props:{args:{type:Object,required:!0},index:{type:Number,required:!0}},setup(){const n=Ns();return console.log("I exist!"),{streamlitDataStore:n}},computed:{xValues_target(){return this.streamlitDataStore.allDataForDrawing.density_target===void 0?[]:this.streamlitDataStore.allDataForDrawing.density_target.map(n=>n.x)},xValues_decoy(){return this.streamlitDataStore.allDataForDrawing.density_decoy===void 0?[]:this.streamlitDataStore.allDataForDrawing.density_decoy.map(n=>n.x)},yValues_target(){return this.streamlitDataStore.allDataForDrawing.density_target===void 0?[]:this.streamlitDataStore.allDataForDrawing.density_target.map(n=>n.y)},yValues_decoy(){return this.streamlitDataStore.allDataForDrawing.density_decoy===void 0?[]:this.streamlitDataStore.allDataForDrawing.density_decoy.map(n=>n.y)},id(){return`graph-${this.index}`},layout(){return{title:`${this.args.title}`,showlegend:!0,height:400,xaxis:{title:"QScore",showgrid:!1},yaxis:{title:"Density",showgrid:!0,rangemode:"nonnegative",fixedrange:!0},paper_bgcolor:"white",plot_bgcolor:"white",font:{color:"black",family:"Arial"}}},data(){return[{x:this.xValues_target,y:this.yValues_target,mode:"lines+markers",type:"scatter",name:"Target QScores",marker:{color:"green"}},{x:this.xValues_decoy,y:this.yValues_decoy,mode:"lines+markers",type:"scatter",name:"Decoy QScores",marker:{color:"red"}}]}},watch:{xValues_target(){this.graph()}},mounted(){this.graph()},methods:{async graph(){await Wl.newPlot(this.id,this.data,this.layout,{modeBarButtonsToRemove:["toImage","sendDataToCloud"],modeBarButtonsToAdd:[{title:"Download as SVG",name:"toImageSvg",icon:Wl.Icons.camera,click:n=>{Wl.downloadImage(n,{filename:"FDR-plot",height:400,width:1200,format:"svg"})}}]})}}}),wz=["id"];function Tz(n,e,r,C,D,T){return Rr(),ei("div",{id:n.id,style:{width:"100%"}},null,8,wz)}const kz=hs(_z,[["render",Tz]]),Mz=ns({name:"ComponentsRow",components:{InternalFragmentMap:xz,FLASHQuantView:lz,Plotly3Dplot:wO,PlotlyHeatmap:lR,TabulatorScanTable:dO,PlotlyLineplotUnified:yO,TabulatorMassTable:MO,TabulatorProteinTable:CO,TabulatorTagTable:IO,SequenceView:rz,FDRPlotly:kz},props:{components:{type:Object,required:!0},rowIndex:{type:Number,required:!0}},data(){return{componentHeightMapping:{TabulatorScanTable:"height-any",TabulatorMassTable:"height-any",TabulatorProteinTable:"height-any",TabulatorTagTable:"height-any",PlotlyLineplot:"height-any",PlotlyLineplotTagger:"height-any",PlotlyLineplotUnified:"height-any",PlotlyHeatmap:"height-any",Plotly3Dplot:"height-any",SequenceView:"height-any",InternalFragmentMap:"height-any",FDRPlotly:"height-any"}}},methods:{componentClasses(n){return{[this.componentHeightMapping[n]]:!0,[`component-width-${this.components.length}`]:!0}},componentIndex(n){return n+this.rowIndex*100}}});const Az={class:"component-row"};function Sz(n,e,r,C,D,T){const p=Gr("PlotlyHeatmap"),t=Gr("TabulatorScanTable"),d=Gr("TabulatorMassTable"),g=Gr("TabulatorProteinTable"),i=Gr("TabulatorTagTable"),M=Gr("PlotlyLineplotUnified"),v=Gr("Plotly3Dplot"),f=Gr("SequenceView"),l=Gr("InternalFragmentMap"),a=Gr("FLASHQuantView"),u=Gr("FDRPlotly");return Rr(),ei("div",Az,[(Rr(!0),ei(Yr,null,Ul(n.components,(o,s)=>(Rr(),ei("div",{key:s,class:Ju(n.componentClasses(o.componentArgs.componentName))},[o.componentArgs.componentName==="PlotlyHeatmap"?(Rr(),za(p,{key:0,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="TabulatorScanTable"?(Rr(),za(t,{key:1,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="TabulatorMassTable"?(Rr(),za(d,{key:2,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="TabulatorProteinTable"?(Rr(),za(g,{key:3,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="TabulatorTagTable"?(Rr(),za(i,{key:4,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="PlotlyLineplot"?(Rr(),za(M,{key:5,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="PlotlyLineplotTagger"?(Rr(),za(M,{key:6,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="Plotly3Dplot"?(Rr(),za(v,{key:7,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):o.componentArgs.componentName==="SequenceView"?(Rr(),za(f,{key:8,index:n.componentIndex(s)},null,8,["index"])):o.componentArgs.componentName==="InternalFragmentMap"?(Rr(),za(l,{key:9,index:n.componentIndex(s)},null,8,["index"])):o.componentArgs.componentName==="FLASHQuantView"?(Rr(),za(a,{key:10})):o.componentArgs.componentName==="FDRPlotly"?(Rr(),za(u,{key:11,args:o.componentArgs,index:n.componentIndex(s)},null,8,["args","index"])):Zi("",!0)],2))),128))])}const Cz=hs(Mz,[["render",Sz],["__scopeId","data-v-942c08f7"]]),Ez=ns({name:"ComponentsLayout",components:{ComponentsRow:Cz},props:{components:{type:Object,required:!0}},data(){return{columns:6}},methods:{componentRowClasses(){return{"[`height-${layout.height ?? 1}`]":!0,[`component-width-${this.components.length}`]:!0}}}});const Lz={class:"component-layout"};function Iz(n,e,r,C,D,T){const p=Gr("ComponentsRow");return Rr(),ei("div",Lz,[(Rr(!0),ei(Yr,null,Ul(n.components,(t,d)=>(Rr(),za(p,{key:d,components:t,"row-index":d},null,8,["components","row-index"]))),128))])}const Rz=hs(Ez,[["render",Iz],["__scopeId","data-v-721e06dc"]]),Pz=ns({name:"App",components:{ComponentsLayout:Rz},setup(){const n=Ns(),e=rc();return $r(e.$state,r=>{Wu.setComponentValue(wi(r))},{deep:!0,immediate:!0}),{streamlitDataStore:n,selectionStore:e}},data(){return{timer:void 0}},computed:{components(){var n;return(n=this.streamlitDataStore.args)==null?void 0:n.components}},created(){Wu.setComponentReady(),Wu.setFrameHeight(500),Wu.events.addEventListener(Wu.RENDER_EVENT,this.updateStreamlitData)},mounted(){this.timer=setInterval(()=>{Wu.setFrameHeight()},500)},unmounted(){Wu.events.removeEventListener(Wu.RENDER_EVENT,this.updateStreamlitData),clearInterval(this.timer)},updated(){Wu.setFrameHeight()},methods:{async updateStreamlitData(n){this.streamlitDataStore.updateRenderData(n.detail)}}});const Oz={key:0},Dz={key:1,class:"d-flex w-100",style:{height:"400px"}};function zz(n,e,r,C,D,T){const p=Gr("ComponentsLayout"),t=Gr("v-progress-linear"),d=Gr("v-alert");return n.components!==void 0&&n.components.length>0?(Rr(),ei("div",Oz,[gt(p,{components:n.components},null,8,["components"])])):(Rr(),ei("div",Dz,[gt(d,{class:"h-50 ma-16 pr-16",icon:"mdi-application-variable-outline",title:"FLASHViewer loading",type:"info"},{default:ci(()=>[gt(t,{indeterminate:""}),ia(" Please wait... ")]),_:1})]))}const Fz=hs(Pz,[["render",zz]]);const to=typeof window<"u",$2=to&&"IntersectionObserver"in window,Bz=to&&("ontouchstart"in window||window.navigator.maxTouchPoints>0);function b5(n,e,r){Nz(n,e),e.set(n,r)}function Nz(n,e){if(e.has(n))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Vz(n,e,r){var C=l6(n,e,"set");return jz(n,C,r),r}function jz(n,e,r){if(e.set)e.set.call(n,r);else{if(!e.writable)throw new TypeError("attempted to set read only private field");e.value=r}}function _d(n,e){var r=l6(n,e,"get");return Uz(n,r)}function l6(n,e,r){if(!e.has(n))throw new TypeError("attempted to "+r+" private field on non-instance");return e.get(n)}function Uz(n,e){return e.get?e.get.call(n):e.value}function u6(n,e,r){const C=e.length-1;if(C<0)return n===void 0?r:n;for(let D=0;Db0(n[C],e[C]))}function ix(n,e,r){return n==null||!e||typeof e!="string"?r:n[e]!==void 0?n[e]:(e=e.replace(/\[(\w+)\]/g,".$1"),e=e.replace(/^\./,""),u6(n,e.split("."),r))}function ph(n,e,r){if(e==null)return n===void 0?r:n;if(n!==Object(n)){if(typeof e!="function")return r;const D=e(n,r);return typeof D>"u"?r:D}if(typeof e=="string")return ix(n,e,r);if(Array.isArray(e))return u6(n,e,r);if(typeof e!="function")return r;const C=e(n,r);return typeof C>"u"?r:C}function Kh(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:n},(r,C)=>e+C)}function Qr(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(!(n==null||n===""))return isNaN(+n)?String(n):isFinite(+n)?`${Number(n)}${e}`:void 0}function ax(n){return n!==null&&typeof n=="object"&&!Array.isArray(n)}function ox(n){return n&&"$el"in n?n.$el:n}const x5=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16}),sx=Object.freeze({enter:"Enter",tab:"Tab",delete:"Delete",esc:"Escape",space:"Space",up:"ArrowUp",down:"ArrowDown",left:"ArrowLeft",right:"ArrowRight",end:"End",home:"Home",del:"Delete",backspace:"Backspace",insert:"Insert",pageup:"PageUp",pagedown:"PageDown",shift:"Shift"});function c6(n){return Object.keys(n)}function Od(n,e){return e.every(r=>n.hasOwnProperty(r))}function $d(n,e,r){const C=Object.create(null),D=Object.create(null);for(const T in n)e.some(p=>p instanceof RegExp?p.test(T):p===T)&&!(r!=null&&r.some(p=>p===T))?C[T]=n[T]:D[T]=n[T];return[C,D]}function ic(n,e){const r={...n};return e.forEach(C=>delete r[C]),r}const h6=/^on[^a-z]/,Z2=n=>h6.test(n),Hz=["onAfterscriptexecute","onAnimationcancel","onAnimationend","onAnimationiteration","onAnimationstart","onAuxclick","onBeforeinput","onBeforescriptexecute","onChange","onClick","onCompositionend","onCompositionstart","onCompositionupdate","onContextmenu","onCopy","onCut","onDblclick","onFocusin","onFocusout","onFullscreenchange","onFullscreenerror","onGesturechange","onGestureend","onGesturestart","onGotpointercapture","onInput","onKeydown","onKeypress","onKeyup","onLostpointercapture","onMousedown","onMousemove","onMouseout","onMouseover","onMouseup","onMousewheel","onPaste","onPointercancel","onPointerdown","onPointerenter","onPointerleave","onPointermove","onPointerout","onPointerover","onPointerup","onReset","onSelect","onSubmit","onTouchcancel","onTouchend","onTouchmove","onTouchstart","onTransitioncancel","onTransitionend","onTransitionrun","onTransitionstart","onWheel"];function Qd(n){const[e,r]=$d(n,[h6]),C=ic(e,Hz),[D,T]=$d(r,["class","style","id",/^data-/]);return Object.assign(D,e),Object.assign(T,C),[D,T]}function bu(n){return n==null?[]:Array.isArray(n)?n:[n]}function Zs(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(e,Math.min(r,n))}function _5(n){const e=n.toString().trim();return e.includes(".")?e.length-e.indexOf(".")-1:0}function w5(n,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0";return n+r.repeat(Math.max(0,e-n.length))}function Gz(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const r=[];let C=0;for(;C1&&arguments[1]!==void 0?arguments[1]:1e3;if(n=e&&C0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;const C={};for(const D in n)C[D]=n[D];for(const D in e){const T=n[D],p=e[D];if(ax(T)&&ax(p)){C[D]=Ku(T,p,r);continue}if(Array.isArray(T)&&Array.isArray(p)&&r){C[D]=r(T,p);continue}C[D]=p}return C}function f6(n){return n.map(e=>e.type===Yr?f6(e.children):e).flat()}function Ud(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(Ud.cache.has(n))return Ud.cache.get(n);const e=n.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return Ud.cache.set(n,e),e}Ud.cache=new Map;function ym(n,e){if(!e||typeof e!="object")return[];if(Array.isArray(e))return e.map(r=>ym(n,r)).flat(1);if(Array.isArray(e.children))return e.children.map(r=>ym(n,r)).flat(1);if(e.component){if(Object.getOwnPropertySymbols(e.component.provides).includes(n))return[e.component];if(e.component.subTree)return ym(n,e.component.subTree).flat(1)}return[]}var sv=new WeakMap,Sp=new WeakMap;class qz{constructor(e){b5(this,sv,{writable:!0,value:[]}),b5(this,Sp,{writable:!0,value:0}),this.size=e}push(e){_d(this,sv)[_d(this,Sp)]=e,Vz(this,Sp,(_d(this,Sp)+1)%this.size)}values(){return _d(this,sv).slice(_d(this,Sp)).concat(_d(this,sv).slice(0,_d(this,Sp)))}}function Wz(n){return"touches"in n?{clientX:n.touches[0].clientX,clientY:n.touches[0].clientY}:{clientX:n.clientX,clientY:n.clientY}}function X2(n){const e=yl({}),r=cn(n);return wu(()=>{for(const C in r.value)e[C]=r.value[C]},{flush:"sync"}),by(e)}function ly(n,e){return n.includes(e)}function d6(n){return n[2].toLowerCase()+n.slice(3)}const yh=()=>[Function,Array];function k5(n,e){return e="on"+sf(e),!!(n[e]||n[`${e}Once`]||n[`${e}Capture`]||n[`${e}OnceCapture`]||n[`${e}CaptureOnce`])}function K2(n){for(var e=arguments.length,r=new Array(e>1?e-1:0),C=1;C1&&arguments[1]!==void 0?arguments[1]:!0;const r=["button","[href]",'input:not([type="hidden"])',"select","textarea","[tabindex]"].map(C=>`${C}${e?':not([tabindex="-1"])':""}:not([disabled])`).join(", ");return[...n.querySelectorAll(r)]}function p6(n,e,r){let C,D=n.indexOf(document.activeElement);const T=e==="next"?1:-1;do D+=T,C=n[D];while((!C||C.offsetParent==null||!((r==null?void 0:r(C))??!0))&&D=0);return C}function uy(n,e){var C,D,T,p;const r=Dm(n);if(!e)(n===document.activeElement||!n.contains(document.activeElement))&&((C=r[0])==null||C.focus());else if(e==="first")(D=r[0])==null||D.focus();else if(e==="last")(T=r.at(-1))==null||T.focus();else if(typeof e=="number")(p=r[e])==null||p.focus();else{const t=p6(r,e);t?t.focus():uy(n,e==="next"?"first":"last")}}function m6(){}function l0(n,e){if(!(to&&typeof CSS<"u"&&typeof CSS.supports<"u"&&CSS.supports(`selector(${e})`)))return null;try{return!!n&&n.matches(e)}catch{return null}}const g6=["top","bottom"],Yz=["start","end","left","right"];function lx(n,e){let[r,C]=n.split(" ");return C||(C=ly(g6,r)?"start":ly(Yz,r)?"top":"center"),{side:ux(r,e),align:ux(C,e)}}function ux(n,e){return n==="start"?e?"right":"left":n==="end"?e?"left":"right":n}function gb(n){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[n.side],align:n.align}}function vb(n){return{side:n.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[n.align]}}function M5(n){return{side:n.align,align:n.side}}function A5(n){return ly(g6,n.side)?"y":"x"}class Yp{constructor(e){let{x:r,y:C,width:D,height:T}=e;this.x=r,this.y=C,this.width=D,this.height=T}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function S5(n,e){return{x:{before:Math.max(0,e.left-n.left),after:Math.max(0,n.right-e.right)},y:{before:Math.max(0,e.top-n.top),after:Math.max(0,n.bottom-e.bottom)}}}function J2(n){const e=n.getBoundingClientRect(),r=getComputedStyle(n),C=r.transform;if(C){let D,T,p,t,d;if(C.startsWith("matrix3d("))D=C.slice(9,-1).split(/, /),T=+D[0],p=+D[5],t=+D[12],d=+D[13];else if(C.startsWith("matrix("))D=C.slice(7,-1).split(/, /),T=+D[0],p=+D[3],t=+D[4],d=+D[5];else return new Yp(e);const g=r.transformOrigin,i=e.x-t-(1-T)*parseFloat(g),M=e.y-d-(1-p)*parseFloat(g.slice(g.indexOf(" ")+1)),v=T?e.width/T:n.offsetWidth+1,f=p?e.height/p:n.offsetHeight+1;return new Yp({x:i,y:M,width:v,height:f})}else return new Yp(e)}function Dd(n,e,r){if(typeof n.animate>"u")return{finished:Promise.resolve()};let C;try{C=n.animate(e,r)}catch{return{finished:Promise.resolve()}}return typeof C.finished>"u"&&(C.finished=new Promise(D=>{C.onfinish=()=>{D(C)}})),C}const Tv=new WeakMap;function $z(n,e){Object.keys(e).forEach(r=>{if(Z2(r)){const C=d6(r),D=Tv.get(n);if(e[r]==null)D==null||D.forEach(T=>{const[p,t]=T;p===C&&(n.removeEventListener(C,t),D.delete(T))});else if(!D||![...D].some(T=>T[0]===C&&T[1]===e[r])){n.addEventListener(C,e[r]);const T=D||new Set;T.add([C,e[r]]),Tv.has(n)||Tv.set(n,T)}}else e[r]==null?n.removeAttribute(r):n.setAttribute(r,e[r])})}function Zz(n,e){Object.keys(e).forEach(r=>{if(Z2(r)){const C=d6(r),D=Tv.get(n);D==null||D.forEach(T=>{const[p,t]=T;p===C&&(n.removeEventListener(C,t),D.delete(T))})}else n.removeAttribute(r)})}const Cp=2.4,C5=.2126729,E5=.7151522,L5=.072175,Xz=.55,Kz=.58,Jz=.57,Qz=.62,lv=.03,I5=1.45,eF=5e-4,tF=1.25,nF=1.25,R5=.078,P5=12.82051282051282,uv=.06,O5=.001;function D5(n,e){const r=(n.r/255)**Cp,C=(n.g/255)**Cp,D=(n.b/255)**Cp,T=(e.r/255)**Cp,p=(e.g/255)**Cp,t=(e.b/255)**Cp;let d=r*C5+C*E5+D*L5,g=T*C5+p*E5+t*L5;if(d<=lv&&(d+=(lv-d)**I5),g<=lv&&(g+=(lv-g)**I5),Math.abs(g-d)d){const M=(g**Xz-d**Kz)*tF;i=M-O5?0:M>-R5?M-M*P5*uv:M+uv}return i*100}function rF(n,e){e=Array.isArray(e)?e.slice(0,-1).map(r=>`'${r}'`).join(", ")+` or '${e.at(-1)}'`:`'${e}'`}const cy=.20689655172413793,iF=n=>n>cy**3?Math.cbrt(n):n/(3*cy**2)+4/29,aF=n=>n>cy?n**3:3*cy**2*(n-4/29);function v6(n){const e=iF,r=e(n[1]);return[116*r-16,500*(e(n[0]/.95047)-r),200*(r-e(n[2]/1.08883))]}function y6(n){const e=aF,r=(n[0]+16)/116;return[e(r+n[1]/500)*.95047,e(r),e(r-n[2]/200)*1.08883]}const oF=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],sF=n=>n<=.0031308?n*12.92:1.055*n**(1/2.4)-.055,lF=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],uF=n=>n<=.04045?n/12.92:((n+.055)/1.055)**2.4;function b6(n){const e=Array(3),r=sF,C=oF;for(let D=0;D<3;++D)e[D]=Math.round(Zs(r(C[D][0]*n[0]+C[D][1]*n[1]+C[D][2]*n[2]))*255);return{r:e[0],g:e[1],b:e[2]}}function Q2(n){let{r:e,g:r,b:C}=n;const D=[0,0,0],T=uF,p=lF;e=T(e/255),r=T(r/255),C=T(C/255);for(let t=0;t<3;++t)D[t]=p[t][0]*e+p[t][1]*r+p[t][2]*C;return D}function z5(n){return!!n&&/^(#|var\(--|(rgb|hsl)a?\()/.test(n)}const F5=/^(?(?:rgb|hsl)a?)\((?.+)\)/,cF={rgb:(n,e,r,C)=>({r:n,g:e,b:r,a:C}),rgba:(n,e,r,C)=>({r:n,g:e,b:r,a:C}),hsl:(n,e,r,C)=>B5({h:n,s:e,l:r,a:C}),hsla:(n,e,r,C)=>B5({h:n,s:e,l:r,a:C}),hsv:(n,e,r,C)=>rf({h:n,s:e,v:r,a:C}),hsva:(n,e,r,C)=>rf({h:n,s:e,v:r,a:C})};function Pc(n){if(typeof n=="number")return{r:(n&16711680)>>16,g:(n&65280)>>8,b:n&255};if(typeof n=="string"&&F5.test(n)){const{groups:e}=n.match(F5),{fn:r,values:C}=e,D=C.split(/,\s*/).map(T=>T.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(r)?parseFloat(T)/100:parseFloat(T));return cF[r](...D)}else if(typeof n=="string"){let e=n.startsWith("#")?n.slice(1):n;return[3,4].includes(e.length)?e=e.split("").map(r=>r+r).join(""):[6,8].includes(e.length),k6(e)}else if(typeof n=="object"){if(Od(n,["r","g","b"]))return n;if(Od(n,["h","s","l"]))return rf(e_(n));if(Od(n,["h","s","v"]))return rf(n)}throw new TypeError(`Invalid color: ${n==null?n:String(n)||n.constructor.name} -Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function rf(n){const{h:e,s:r,v:C,a:D}=n,T=t=>{const d=(t+e/60)%6;return C-C*r*Math.max(Math.min(d,4-d,1),0)},p=[T(5),T(3),T(1)].map(t=>Math.round(t*255));return{r:p[0],g:p[1],b:p[2],a:D}}function B5(n){return rf(e_(n))}function Xy(n){if(!n)return{h:0,s:1,v:1,a:1};const e=n.r/255,r=n.g/255,C=n.b/255,D=Math.max(e,r,C),T=Math.min(e,r,C);let p=0;D!==T&&(D===e?p=60*(0+(r-C)/(D-T)):D===r?p=60*(2+(C-e)/(D-T)):D===C&&(p=60*(4+(e-r)/(D-T)))),p<0&&(p=p+360);const t=D===0?0:(D-T)/D,d=[p,t,D];return{h:d[0],s:d[1],v:d[2],a:n.a}}function x6(n){const{h:e,s:r,v:C,a:D}=n,T=C-C*r/2,p=T===1||T===0?0:(C-T)/Math.min(T,1-T);return{h:e,s:p,l:T,a:D}}function e_(n){const{h:e,s:r,l:C,a:D}=n,T=C+r*Math.min(C,1-C),p=T===0?0:2-2*C/T;return{h:e,s:p,v:T,a:D}}function _6(n){let{r:e,g:r,b:C,a:D}=n;return D===void 0?`rgb(${e}, ${r}, ${C})`:`rgba(${e}, ${r}, ${C}, ${D})`}function w6(n){return _6(rf(n))}function cv(n){const e=Math.round(n).toString(16);return("00".substr(0,2-e.length)+e).toUpperCase()}function T6(n){let{r:e,g:r,b:C,a:D}=n;return`#${[cv(e),cv(r),cv(C),D!==void 0?cv(Math.round(D*255)):""].join("")}`}function k6(n){n=fF(n);let[e,r,C,D]=Gz(n,2).map(T=>parseInt(T,16));return D=D===void 0?D:D/255,{r:e,g:r,b:C,a:D}}function hF(n){const e=k6(n);return Xy(e)}function M6(n){return T6(rf(n))}function fF(n){return n.startsWith("#")&&(n=n.slice(1)),n=n.replace(/([^0-9a-f])/gi,"F"),(n.length===3||n.length===4)&&(n=n.split("").map(e=>e+e).join("")),n.length!==6&&(n=w5(w5(n,6),8,"F")),n}function dF(n,e){const r=v6(Q2(n));return r[0]=r[0]+e*10,b6(y6(r))}function pF(n,e){const r=v6(Q2(n));return r[0]=r[0]-e*10,b6(y6(r))}function cx(n){const e=Pc(n);return Q2(e)[1]}function mF(n,e){const r=cx(n),C=cx(e),D=Math.max(r,C),T=Math.min(r,C);return(D+.05)/(T+.05)}function A6(n){const e=Math.abs(D5(Pc(0),Pc(n)));return Math.abs(D5(Pc(16777215),Pc(n)))>Math.min(e,50)?"#fff":"#000"}function ur(n,e){return r=>Object.keys(n).reduce((C,D)=>{const p=typeof n[D]=="object"&&n[D]!=null&&!Array.isArray(n[D])?n[D]:{type:n[D]};return r&&D in r?C[D]={...p,default:r[D]}:C[D]=p,e&&!C[D].source&&(C[D].source=e),C},{})}const Zr=ur({class:[String,Array],style:{type:[String,Array,Object],default:null}},"component");function ac(n){if(n._setup=n._setup??n.setup,!n.name)return n;if(n._setup){n.props=ur(n.props??{},n.name)();const e=Object.keys(n.props);n.filterProps=function(C){return $d(C,e,["class","style"])},n.props._as=String,n.setup=function(C,D){const T=r_();if(!T.value)return n._setup(C,D);const{props:p,provideSubDefaults:t}=TF(C,C._as??n.name,T),d=n._setup(p,D);return t(),d}}return n}function Ar(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return e=>(n?ac:ns)(e)}function Nc(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",r=arguments.length>2?arguments[2]:void 0;return Ar()({name:r??sf(tc(n.replace(/__/g,"-"))),props:{tag:{type:String,default:e},...Zr()},setup(C,D){let{slots:T}=D;return()=>{var p;return Xf(C.tag,{class:[n,C.class],style:C.style},(p=T.default)==null?void 0:p.call(T))}}})}function S6(n){if(typeof n.getRootNode!="function"){for(;n.parentNode;)n=n.parentNode;return n!==document?null:document}const e=n.getRootNode();return e!==document&&e.getRootNode({composed:!0})!==document?null:e}const zm="cubic-bezier(0.4, 0, 0.2, 1)",gF="cubic-bezier(0.0, 0, 0.2, 1)",vF="cubic-bezier(0.4, 0, 1, 1)";function Ss(n,e){const r=Ey();if(!r)throw new Error(`[Vuetify] ${n} ${e||"must be called from inside a setup function"}`);return r}function ff(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables";const e=Ss(n).type;return Ud((e==null?void 0:e.aliasName)||(e==null?void 0:e.name))}let C6=0,kv=new WeakMap;function Js(){const n=Ss("getUid");if(kv.has(n))return kv.get(n);{const e=C6++;return kv.set(n,e),e}}Js.reset=()=>{C6=0,kv=new WeakMap};function t_(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(;n;){if(e?yF(n):n_(n))return n;n=n.parentElement}return document.scrollingElement}function hy(n,e){const r=[];if(e&&n&&!e.contains(n))return r;for(;n&&(n_(n)&&r.push(n),n!==e);)n=n.parentElement;return r}function n_(n){if(!n||n.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(n);return e.overflowY==="scroll"||e.overflowY==="auto"&&n.scrollHeight>n.clientHeight}function yF(n){if(!n||n.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(n);return["scroll","auto"].includes(e.overflowY)}function bF(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ss("injectSelf");const{provides:r}=e;if(r&&n in r)return r[n]}function xF(n){for(;n;){if(window.getComputedStyle(n).position==="fixed")return!0;n=n.offsetParent}return!1}function Or(n){const e=Ss("useRender");e.render=n}const u0=Symbol.for("vuetify:defaults");function _F(n){return Vr(n)}function r_(){const n=ka(u0);if(!n)throw new Error("[Vuetify] Could not find defaults instance");return n}function es(n,e){const r=r_(),C=Vr(n),D=cn(()=>{if(yu(e==null?void 0:e.disabled))return r.value;const p=yu(e==null?void 0:e.scoped),t=yu(e==null?void 0:e.reset),d=yu(e==null?void 0:e.root);if(C.value==null&&!(p||t||d))return r.value;let g=Ku(C.value,{prev:r.value});if(p)return g;if(t||d){const i=Number(t||1/0);for(let M=0;M<=i&&!(!g||!("prev"in g));M++)g=g.prev;return g&&typeof d=="string"&&d in g&&(g=Ku(Ku(g,{prev:g}),g[d])),g}return g.prev?Ku(g.prev,g):g});return ts(u0,D),D}function wF(n,e){var r,C;return typeof((r=n.props)==null?void 0:r[e])<"u"||typeof((C=n.props)==null?void 0:C[Ud(e)])<"u"}function TF(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:r_();const C=Ss("useDefaults");if(e=e??C.type.name??C.type.__name,!e)throw new Error("[Vuetify] Could not determine component name");const D=cn(()=>{var d;return(d=r.value)==null?void 0:d[n._as??e]}),T=new Proxy(n,{get(d,g){var M,v,f,l;const i=Reflect.get(d,g);return g==="class"||g==="style"?[(M=D.value)==null?void 0:M[g],i].filter(a=>a!=null):typeof g=="string"&&!wF(C.vnode,g)?((v=D.value)==null?void 0:v[g])??((l=(f=r.value)==null?void 0:f.global)==null?void 0:l[g])??i:i}}),p=Wr();wu(()=>{if(D.value){const d=Object.entries(D.value).filter(g=>{let[i]=g;return i.startsWith(i[0].toUpperCase())});p.value=d.length?Object.fromEntries(d):void 0}else p.value=void 0});function t(){const d=bF(u0,C);ts(u0,cn(()=>p.value?Ku((d==null?void 0:d.value)??{},p.value):d==null?void 0:d.value))}return{props:T,provideSubDefaults:t}}const Ky=["sm","md","lg","xl","xxl"],hx=Symbol.for("vuetify:display"),N5={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}},kF=function(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:N5;return Ku(N5,n)};function V5(n){return to&&!n?window.innerWidth:typeof n=="object"&&n.clientWidth||0}function j5(n){return to&&!n?window.innerHeight:typeof n=="object"&&n.clientHeight||0}function U5(n){const e=to&&!n?window.navigator.userAgent:"ssr";function r(l){return!!e.match(l)}const C=r(/android/i),D=r(/iphone|ipad|ipod/i),T=r(/cordova/i),p=r(/electron/i),t=r(/chrome/i),d=r(/edge/i),g=r(/firefox/i),i=r(/opera/i),M=r(/win/i),v=r(/mac/i),f=r(/linux/i);return{android:C,ios:D,cordova:T,electron:p,chrome:t,edge:d,firefox:g,opera:i,win:M,mac:v,linux:f,touch:Bz,ssr:e==="ssr"}}function MF(n,e){const{thresholds:r,mobileBreakpoint:C}=kF(n),D=Wr(j5(e)),T=Wr(U5(e)),p=yl({}),t=Wr(V5(e));function d(){D.value=j5(),t.value=V5()}function g(){d(),T.value=U5()}return wu(()=>{const i=t.value=r.xxl,u=i?"xs":M?"sm":v?"md":f?"lg":l?"xl":"xxl",o=typeof C=="number"?C:r[C],s=t.valueXf(a_,{...n,class:"mdi"})},bi=[String,Function,Object,Array],fx=Symbol.for("vuetify:icons"),Jy=ur({icon:{type:bi},tag:{type:String,required:!0}},"icon"),dx=Ar()({name:"VComponentIcon",props:Jy(),setup(n,e){let{slots:r}=e;return()=>{const C=n.icon;return gt(n.tag,null,{default:()=>{var D;return[n.icon?gt(C,null,null):(D=r.default)==null?void 0:D.call(r)]}})}}}),i_=ac({name:"VSvgIcon",inheritAttrs:!1,props:Jy(),setup(n,e){let{attrs:r}=e;return()=>gt(n.tag,qr(r,{style:null}),{default:()=>[gt("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(n.icon)?n.icon.map(C=>Array.isArray(C)?gt("path",{d:C[0],"fill-opacity":C[1]},null):gt("path",{d:C},null)):gt("path",{d:n.icon},null)])]})}}),CF=ac({name:"VLigatureIcon",props:Jy(),setup(n){return()=>gt(n.tag,null,{default:()=>[n.icon]})}}),a_=ac({name:"VClassIcon",props:Jy(),setup(n){return()=>gt(n.tag,{class:n.icon},null)}}),EF={svg:{component:i_},class:{component:a_}};function LF(n){return Ku({defaultSet:"mdi",sets:{...EF,mdi:SF},aliases:{...AF,vuetify:["M8.2241 14.2009L12 21L22 3H14.4459L8.2241 14.2009Z",["M7.26303 12.4733L7.00113 12L2 3H12.5261C12.5261 3 12.5261 3 12.5261 3L7.26303 12.4733Z",.6]],"vuetify-outline":"svg:M7.26 12.47 12.53 3H2L7.26 12.47ZM14.45 3 8.22 14.2 12 21 22 3H14.45ZM18.6 5 12 16.88 10.51 14.2 15.62 5ZM7.26 8.35 5.4 5H9.13L7.26 8.35Z"}},n)}const IF=n=>{const e=ka(fx);if(!e)throw new Error("Missing Vuetify Icons provide!");return{iconData:cn(()=>{var d;const C=yu(n);if(!C)return{component:dx};let D=C;if(typeof D=="string"&&(D=D.trim(),D.startsWith("$")&&(D=(d=e.aliases)==null?void 0:d[D.slice(1)])),!D)throw new Error(`Could not find aliased icon "${C}"`);if(Array.isArray(D))return{component:i_,icon:D};if(typeof D!="string")return{component:dx,icon:D};const T=Object.keys(e.sets).find(g=>typeof D=="string"&&D.startsWith(`${g}:`)),p=T?D.slice(T.length+1):D;return{component:e.sets[T??e.defaultSet].component,icon:p}})}},RF={badge:"Badge",open:"Open",close:"Close",dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},dateRangeInput:{divider:"to"},datePicker:{ok:"OK",cancel:"Cancel",range:{title:"Select dates",header:"Enter dates"},title:"Select date",header:"Enter date",input:{placeholder:"Enter date"}},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action",otp:"Please enter OTP character {0}"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},timePicker:{am:"AM",pm:"PM"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Go to page {0}",currentPage:"Page {0}, Current page",first:"First page",last:"Last page"}},stepper:{next:"Next",prev:"Previous"},rating:{ariaLabel:{item:"Rating {0} of {1}"}},loading:"Loading...",infiniteScroll:{loadMore:"Load more",empty:"No more"}},PF={af:!1,ar:!0,bg:!1,ca:!1,ckb:!1,cs:!1,de:!1,el:!1,en:!1,es:!1,et:!1,fa:!0,fi:!1,fr:!1,hr:!1,hu:!1,he:!0,id:!1,it:!1,ja:!1,ko:!1,lv:!1,lt:!1,nl:!1,no:!1,pl:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,srCyrl:!1,srLatn:!1,sv:!1,th:!1,tr:!1,az:!1,uk:!1,vi:!1,zhHans:!1,zhHant:!1};function $f(n,e){let r;function C(){r=Um(),r.run(()=>e.length?e(()=>{r==null||r.stop(),C()}):e())}$r(n,D=>{D&&!r?C():D||(r==null||r.stop(),r=void 0)},{immediate:!0}),wl(()=>{r==null||r.stop()})}function xi(n,e,r){let C=arguments.length>3&&arguments[3]!==void 0?arguments[3]:M=>M,D=arguments.length>4&&arguments[4]!==void 0?arguments[4]:M=>M;const T=Ss("useProxiedModel"),p=Vr(n[e]!==void 0?n[e]:r),t=Ud(e),g=cn(t!==e?()=>{var M,v,f,l;return n[e],!!(((M=T.vnode.props)!=null&&M.hasOwnProperty(e)||(v=T.vnode.props)!=null&&v.hasOwnProperty(t))&&((f=T.vnode.props)!=null&&f.hasOwnProperty(`onUpdate:${e}`)||(l=T.vnode.props)!=null&&l.hasOwnProperty(`onUpdate:${t}`)))}:()=>{var M,v;return n[e],!!((M=T.vnode.props)!=null&&M.hasOwnProperty(e)&&((v=T.vnode.props)!=null&&v.hasOwnProperty(`onUpdate:${e}`)))});$f(()=>!g.value,()=>{$r(()=>n[e],M=>{p.value=M})});const i=cn({get(){const M=n[e];return C(g.value?M:p.value)},set(M){const v=D(M),f=wi(g.value?n[e]:p.value);f===v||C(f)===M||(p.value=v,T==null||T.emit(`update:${e}`,v))}});return Object.defineProperty(i,"externalValue",{get:()=>g.value?n[e]:p.value}),i}const H5="$vuetify.",G5=(n,e)=>n.replace(/\{(\d+)\}/g,(r,C)=>String(e[+C])),E6=(n,e,r)=>function(C){for(var D=arguments.length,T=new Array(D>1?D-1:0),p=1;pnew Intl.NumberFormat([n.value,e.value],C).format(r)}function yb(n,e,r){const C=xi(n,e,n[e]??r.value);return C.value=n[e]??r.value,$r(r,D=>{n[e]==null&&(C.value=r.value)}),C}function I6(n){return e=>{const r=yb(e,"locale",n.current),C=yb(e,"fallback",n.fallback),D=yb(e,"messages",n.messages);return{name:"vuetify",current:r,fallback:C,messages:D,t:E6(r,C,D),n:L6(r,C),provide:I6({current:r,fallback:C,messages:D})}}}function OF(n){const e=Wr((n==null?void 0:n.locale)??"en"),r=Wr((n==null?void 0:n.fallback)??"en"),C=Vr({en:RF,...n==null?void 0:n.messages});return{name:"vuetify",current:e,fallback:r,messages:C,t:E6(e,r,C),n:L6(e,r),provide:I6({current:e,fallback:r,messages:C})}}const c0=Symbol.for("vuetify:locale");function DF(n){return n.name!=null}function zF(n){const e=n!=null&&n.adapter&&DF(n==null?void 0:n.adapter)?n==null?void 0:n.adapter:OF(n),r=BF(e,n);return{...e,...r}}function oc(){const n=ka(c0);if(!n)throw new Error("[Vuetify] Could not find injected locale instance");return n}function FF(n){const e=ka(c0);if(!e)throw new Error("[Vuetify] Could not find injected locale instance");const r=e.provide(n),C=NF(r,e.rtl,n),D={...r,...C};return ts(c0,D),D}function BF(n,e){const r=Vr((e==null?void 0:e.rtl)??PF),C=cn(()=>r.value[n.current.value]??!1);return{isRtl:C,rtl:r,rtlClasses:cn(()=>`v-locale--is-${C.value?"rtl":"ltr"}`)}}function NF(n,e,r){const C=cn(()=>r.rtl??e.value[n.current.value]??!1);return{isRtl:C,rtl:e,rtlClasses:cn(()=>`v-locale--is-${C.value?"rtl":"ltr"}`)}}function Cs(){const n=ka(c0);if(!n)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:n.isRtl,rtlClasses:n.rtlClasses}}const Fm=Symbol.for("vuetify:theme"),oa=ur({theme:String},"theme"),im={defaultTheme:"light",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-bright":"#FFFFFF","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#6200EE","primary-darken-1":"#3700B3",secondary:"#03DAC6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#F5F5F5","theme-on-code":"#000000"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-bright":"#ccbfd6","surface-variant":"#a3a3a3","on-surface-variant":"#424242",primary:"#BB86FC","primary-darken-1":"#3700B3",secondary:"#03DAC5","secondary-darken-1":"#03DAC5",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"high-emphasis-opacity":1,"medium-emphasis-opacity":.7,"disabled-opacity":.5,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC"}}}};function VF(){var r,C;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:im;if(!n)return{...im,isDisabled:!0};const e={};for(const[D,T]of Object.entries(n.themes??{})){const p=T.dark||D==="dark"?(r=im.themes)==null?void 0:r.dark:(C=im.themes)==null?void 0:C.light;e[D]=Ku(p,T)}return Ku(im,{...n,themes:e})}function jF(n){const e=VF(n),r=Vr(e.defaultTheme),C=Vr(e.themes),D=cn(()=>{const i={};for(const[M,v]of Object.entries(C.value)){const f=i[M]={...v,colors:{...v.colors}};if(e.variations)for(const l of e.variations.colors){const a=f.colors[l];if(a)for(const u of["lighten","darken"]){const o=u==="lighten"?dF:pF;for(const s of Kh(e.variations[u],1))f.colors[`${l}-${u}-${s}`]=T6(o(Pc(a),s))}}for(const l of Object.keys(f.colors)){if(/^on-[a-z]/.test(l)||f.colors[`on-${l}`])continue;const a=`on-${l}`,u=Pc(f.colors[l]);f.colors[a]=A6(u)}}return i}),T=cn(()=>D.value[r.value]),p=cn(()=>{const i=[];T.value.dark&&wd(i,":root",["color-scheme: dark"]),wd(i,":root",q5(T.value));for(const[l,a]of Object.entries(D.value))wd(i,`.v-theme--${l}`,[`color-scheme: ${a.dark?"dark":"normal"}`,...q5(a)]);const M=[],v=[],f=new Set(Object.values(D.value).flatMap(l=>Object.keys(l.colors)));for(const l of f)/^on-[a-z]/.test(l)?wd(v,`.${l}`,[`color: rgb(var(--v-theme-${l})) !important`]):(wd(M,`.bg-${l}`,[`--v-theme-overlay-multiplier: var(--v-theme-${l}-overlay-multiplier)`,`background-color: rgb(var(--v-theme-${l})) !important`,`color: rgb(var(--v-theme-on-${l})) !important`]),wd(v,`.text-${l}`,[`color: rgb(var(--v-theme-${l})) !important`]),wd(v,`.border-${l}`,[`--v-border-color: var(--v-theme-${l})`]));return i.push(...M,...v),i.map((l,a)=>a===0?l:` ${l}`).join("")});function t(){return{style:[{children:p.value,id:"vuetify-theme-stylesheet",nonce:e.cspNonce||!1}]}}function d(i){if(e.isDisabled)return;const M=i._context.provides.usehead;if(M)if(M.push){const f=M.push(t);to&&$r(p,()=>{f.patch(t)})}else to?(M.addHeadObjs(cn(t)),wu(()=>M.updateDOM())):M.addHeadObjs(t());else{let l=function(){if(typeof document<"u"&&!f){const a=document.createElement("style");a.type="text/css",a.id="vuetify-theme-stylesheet",e.cspNonce&&a.setAttribute("nonce",e.cspNonce),f=a,document.head.appendChild(f)}f&&(f.innerHTML=p.value)};var v=l;let f=to?document.getElementById("vuetify-theme-stylesheet"):null;to?$r(p,l,{immediate:!0}):l()}}const g=cn(()=>e.isDisabled?void 0:`v-theme--${r.value}`);return{install:d,isDisabled:e.isDisabled,name:r,themes:C,current:T,computedThemes:D,themeClasses:g,styles:p,global:{name:r,current:T}}}function Ma(n){Ss("provideTheme");const e=ka(Fm,null);if(!e)throw new Error("Could not find Vuetify theme injection");const r=cn(()=>n.theme??e.name.value),C=cn(()=>e.themes.value[r.value]),D=cn(()=>e.isDisabled?void 0:`v-theme--${r.value}`),T={...e,name:r,current:C,themeClasses:D};return ts(Fm,T),T}function R6(){Ss("useTheme");const n=ka(Fm,null);if(!n)throw new Error("Could not find Vuetify theme injection");return n}function wd(n,e,r){n.push(`${e} { -`,...r.map(C=>` ${C}; -`),`} -`)}function q5(n){const e=n.dark?2:1,r=n.dark?1:2,C=[];for(const[D,T]of Object.entries(n.colors)){const p=Pc(T);C.push(`--v-theme-${D}: ${p.r},${p.g},${p.b}`),D.startsWith("on-")||C.push(`--v-theme-${D}-overlay-multiplier: ${cx(T)>.18?e:r}`)}for(const[D,T]of Object.entries(n.variables)){const p=typeof T=="string"&&T.startsWith("#")?Pc(T):void 0,t=p?`${p.r}, ${p.g}, ${p.b}`:void 0;C.push(`--v-${D}: ${t??T}`)}return C}const px={"001":1,AD:1,AE:6,AF:6,AG:0,AI:1,AL:1,AM:1,AN:1,AR:1,AS:0,AT:1,AU:1,AX:1,AZ:1,BA:1,BD:0,BE:1,BG:1,BH:6,BM:1,BN:1,BR:0,BS:0,BT:0,BW:0,BY:1,BZ:0,CA:0,CH:1,CL:1,CM:1,CN:1,CO:0,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DM:0,DO:0,DZ:6,EC:1,EE:1,EG:6,ES:1,ET:0,FI:1,FJ:1,FO:1,FR:1,GB:1,"GB-alt-variant":0,GE:1,GF:1,GP:1,GR:1,GT:0,GU:0,HK:0,HN:0,HR:1,HU:1,ID:0,IE:1,IL:0,IN:0,IQ:6,IR:6,IS:1,IT:1,JM:0,JO:6,JP:0,KE:0,KG:1,KH:0,KR:0,KW:6,KZ:1,LA:0,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MH:0,MK:1,MM:0,MN:1,MO:0,MQ:1,MT:0,MV:5,MX:0,MY:1,MZ:0,NI:0,NL:1,NO:1,NP:0,NZ:1,OM:6,PA:0,PE:0,PH:0,PK:0,PL:1,PR:0,PT:0,PY:0,QA:6,RE:1,RO:1,RS:1,RU:1,SA:0,SD:6,SE:1,SG:0,SI:1,SK:1,SM:1,SV:0,SY:6,TH:0,TJ:1,TM:1,TR:1,TT:0,TW:0,UA:1,UM:0,US:0,UY:1,UZ:1,VA:1,VE:0,VI:0,VN:1,WS:0,XK:1,YE:0,ZA:0,ZW:0};function UF(n,e){const r=[];let C=[];const D=P6(n),T=O6(n),p=D.getDay()-px[e.slice(-2).toUpperCase()],t=T.getDay()-px[e.slice(-2).toUpperCase()];for(let d=0;d{const C=new Date(W5);return C.setDate(W5.getDate()+e+r),new Intl.DateTimeFormat(n,{weekday:"narrow"}).format(C)})}function YF(n,e,r){const C=new Date(n);let D={};switch(e){case"fullDateWithWeekday":D={weekday:"long",day:"numeric",month:"long",year:"numeric"};break;case"normalDateWithWeekday":D={weekday:"short",day:"numeric",month:"short"};break;case"keyboardDate":D={};break;case"monthAndDate":D={month:"long",day:"numeric"};break;case"monthAndYear":D={month:"long",year:"numeric"};break;case"dayOfMonth":D={day:"numeric"};break;default:D={timeZone:"UTC",timeZoneName:"short"}}return new Intl.DateTimeFormat(r,D).format(C)}function $F(n,e){const r=new Date(n);return r.setDate(r.getDate()+e),r}function ZF(n,e){const r=new Date(n);return r.setMonth(r.getMonth()+e),r}function XF(n){return n.getFullYear()}function KF(n){return n.getMonth()}function JF(n){return new Date(n.getFullYear(),0,1)}function QF(n){return new Date(n.getFullYear(),11,31)}function eB(n,e){return mx(n,e[0])&&nB(n,e[1])}function tB(n){if(!n||n==null)return!1;const e=new Date(n);return e instanceof Date&&!isNaN(e.getTime())}function mx(n,e){return n.getTime()>e.getTime()}function nB(n,e){return n.getTime()1&&arguments[1]!==void 0?arguments[1]:"content";const r=Vr(),C=Vr();if(to){const D=new ResizeObserver(T=>{n==null||n(T,D),T.length&&(e==="content"?C.value=T[0].contentRect:C.value=T[0].target.getBoundingClientRect())});Tl(()=>{D.disconnect()}),$r(r,(T,p)=>{p&&(D.unobserve(ox(p)),C.value=void 0),T&&D.observe(ox(T))},{flush:"post"})}return{resizeRef:r,contentRect:Hm(C)}}const fy=Symbol.for("vuetify:layout"),D6=Symbol.for("vuetify:layout-item"),Z5=1e3,z6=ur({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},"layout"),x0=ur({name:{type:String},order:{type:[Number,String],default:0},absolute:Boolean},"layout-item");function hB(){const n=ka(fy);if(!n)throw new Error("[Vuetify] Could not find injected layout");return{getLayoutItem:n.getLayoutItem,mainRect:n.mainRect,mainStyles:n.mainStyles}}function _0(n){const e=ka(fy);if(!e)throw new Error("[Vuetify] Could not find injected layout");const r=n.id??`layout-item-${Js()}`,C=Ss("useLayoutItem");ts(D6,{id:r});const D=Wr(!1);ZT(()=>D.value=!0),$T(()=>D.value=!1);const{layoutItemStyles:T,layoutItemScrimStyles:p}=e.register(C,{...n,active:cn(()=>D.value?!1:n.active.value),id:r});return Tl(()=>e.unregister(r)),{layoutItemStyles:T,layoutRect:e.layoutRect,layoutItemScrimStyles:p}}const fB=(n,e,r,C)=>{let D={top:0,left:0,right:0,bottom:0};const T=[{id:"",layer:{...D}}];for(const p of n){const t=e.get(p),d=r.get(p),g=C.get(p);if(!t||!d||!g)continue;const i={...D,[t.value]:parseInt(D[t.value],10)+(g.value?parseInt(d.value,10):0)};T.push({id:p,layer:i}),D=i}return T};function F6(n){const e=ka(fy,null),r=cn(()=>e?e.rootZIndex.value-100:Z5),C=Vr([]),D=yl(new Map),T=yl(new Map),p=yl(new Map),t=yl(new Map),d=yl(new Map),{resizeRef:g,contentRect:i}=Th(),M=cn(()=>{const w=new Map,y=n.overlaps??[];for(const S of y.filter(_=>_.includes(":"))){const[_,k]=S.split(":");if(!C.value.includes(_)||!C.value.includes(k))continue;const E=D.get(_),x=D.get(k),A=T.get(_),L=T.get(k);!E||!x||!A||!L||(w.set(k,{position:E.value,amount:parseInt(A.value,10)}),w.set(_,{position:x.value,amount:-parseInt(L.value,10)}))}return w}),v=cn(()=>{const w=[...new Set([...p.values()].map(S=>S.value))].sort((S,_)=>S-_),y=[];for(const S of w){const _=C.value.filter(k=>{var E;return((E=p.get(k))==null?void 0:E.value)===S});y.push(..._)}return fB(y,D,T,t)}),f=cn(()=>!Array.from(d.values()).some(w=>w.value)),l=cn(()=>v.value[v.value.length-1].layer),a=cn(()=>({"--v-layout-left":Qr(l.value.left),"--v-layout-right":Qr(l.value.right),"--v-layout-top":Qr(l.value.top),"--v-layout-bottom":Qr(l.value.bottom),...f.value?void 0:{transition:"none"}})),u=cn(()=>v.value.slice(1).map((w,y)=>{let{id:S}=w;const{layer:_}=v.value[y],k=T.get(S),E=D.get(S);return{id:S,..._,size:Number(k.value),position:E.value}})),o=w=>u.value.find(y=>y.id===w),s=Ss("createLayout"),c=Wr(!1);Ks(()=>{c.value=!0}),ts(fy,{register:(w,y)=>{let{id:S,order:_,position:k,layoutSize:E,elementSize:x,active:A,disableTransitions:L,absolute:b}=y;p.set(S,_),D.set(S,k),T.set(S,E),t.set(S,A),L&&d.set(S,L);const I=ym(D6,s==null?void 0:s.vnode).indexOf(w);I>-1?C.value.splice(I,0,S):C.value.push(S);const O=cn(()=>u.value.findIndex(N=>N.id===S)),z=cn(()=>r.value+v.value.length*2-O.value*2),F=cn(()=>{const N=k.value==="left"||k.value==="right",W=k.value==="right",j=k.value==="bottom",$={[k.value]:0,zIndex:z.value,transform:`translate${N?"X":"Y"}(${(A.value?0:-110)*(W||j?-1:1)}%)`,position:b.value||r.value!==Z5?"absolute":"fixed",...f.value?void 0:{transition:"none"}};if(!c.value)return $;const U=u.value[O.value];if(!U)throw new Error(`[Vuetify] Could not find layout item "${S}"`);const G=M.value.get(S);return G&&(U[G.position]+=G.amount),{...$,height:N?`calc(100% - ${U.top}px - ${U.bottom}px)`:x.value?`${x.value}px`:void 0,left:W?void 0:`${U.left}px`,right:W?`${U.right}px`:void 0,top:k.value!=="bottom"?`${U.top}px`:void 0,bottom:k.value!=="top"?`${U.bottom}px`:void 0,width:N?x.value?`${x.value}px`:void 0:`calc(100% - ${U.left}px - ${U.right}px)`}}),B=cn(()=>({zIndex:z.value-1}));return{layoutItemStyles:F,layoutItemScrimStyles:B,zIndex:z}},unregister:w=>{p.delete(w),D.delete(w),T.delete(w),t.delete(w),d.delete(w),C.value=C.value.filter(y=>y!==w)},mainRect:l,mainStyles:a,getLayoutItem:o,items:u,layoutRect:i,rootZIndex:r});const h=cn(()=>["v-layout",{"v-layout--full-height":n.fullHeight}]),m=cn(()=>({zIndex:r.value,position:e?"relative":void 0,overflow:e?"hidden":void 0}));return{layoutClasses:h,layoutStyles:m,getLayoutItem:o,items:u,layoutRect:i,layoutRef:g}}function B6(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{blueprint:e,...r}=n,C=Ku(e,r),{aliases:D={},components:T={},directives:p={}}=C,t=_F(C.defaults),d=MF(C.display,C.ssr),g=jF(C.theme),i=LF(C.icons),M=zF(C.locale),v=cB(C.date);return{install:l=>{for(const a in p)l.directive(a,p[a]);for(const a in T)l.component(a,T[a]);for(const a in D)l.component(a,ac({...D[a],name:a,aliasName:D[a].name}));if(g.install(l),l.provide(u0,t),l.provide(hx,d),l.provide(Fm,g),l.provide(fx,i),l.provide(c0,M),l.provide($5,v),to&&C.ssr)if(l.$nuxt)l.$nuxt.hook("app:suspense:resolve",()=>{d.update()});else{const{mount:a}=l;l.mount=function(){const u=a(...arguments);return Ua(()=>d.update()),l.mount=a,u}}Js.reset(),l.mixin({computed:{$vuetify(){return yl({defaults:Ep.call(this,u0),display:Ep.call(this,hx),theme:Ep.call(this,Fm),icons:Ep.call(this,fx),locale:Ep.call(this,c0),date:Ep.call(this,$5)})}}})},defaults:t,display:d,theme:g,icons:i,locale:M,date:v}}const dB="3.3.16";B6.version=dB;function Ep(n){var C,D;const e=this.$,r=((C=e.parent)==null?void 0:C.provides)??((D=e.vnode.appContext)==null?void 0:D.provides);if(r&&n in r)return r[n]}const pB=ur({...Zr(),...z6({fullHeight:!0}),...oa()},"VApp"),mB=Ar()({name:"VApp",props:pB(),setup(n,e){let{slots:r}=e;const C=Ma(n),{layoutClasses:D,layoutStyles:T,getLayoutItem:p,items:t,layoutRef:d}=F6(n),{rtlClasses:g}=Cs();return Or(()=>{var i;return gt("div",{ref:d,class:["v-application",C.themeClasses.value,D.value,g.value,n.class],style:[T.value,n.style]},[gt("div",{class:"v-application__wrap"},[(i=r.default)==null?void 0:i.call(r)])])}),{getLayoutItem:p,items:t,theme:C}}});const Si=ur({tag:{type:String,default:"div"}},"tag"),N6=ur({text:String,...Zr(),...Si()},"VToolbarTitle"),o_=Ar()({name:"VToolbarTitle",props:N6(),setup(n,e){let{slots:r}=e;return Or(()=>{const C=!!(r.default||r.text||n.text);return gt(n.tag,{class:["v-toolbar-title",n.class],style:n.style},{default:()=>{var D;return[C&>("div",{class:"v-toolbar-title__placeholder"},[r.text?r.text():n.text,(D=r.default)==null?void 0:D.call(r)])]}})}),{}}}),gB=ur({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function Au(n,e,r){return Ar()({name:n,props:gB({mode:r,origin:e}),setup(C,D){let{slots:T}=D;const p={onBeforeEnter(t){C.origin&&(t.style.transformOrigin=C.origin)},onLeave(t){if(C.leaveAbsolute){const{offsetTop:d,offsetLeft:g,offsetWidth:i,offsetHeight:M}=t;t._transitionInitialStyles={position:t.style.position,top:t.style.top,left:t.style.left,width:t.style.width,height:t.style.height},t.style.position="absolute",t.style.top=`${d}px`,t.style.left=`${g}px`,t.style.width=`${i}px`,t.style.height=`${M}px`}C.hideOnLeave&&t.style.setProperty("display","none","important")},onAfterLeave(t){if(C.leaveAbsolute&&(t!=null&&t._transitionInitialStyles)){const{position:d,top:g,left:i,width:M,height:v}=t._transitionInitialStyles;delete t._transitionInitialStyles,t.style.position=d||"",t.style.top=g||"",t.style.left=i||"",t.style.width=M||"",t.style.height=v||""}}};return()=>{const t=C.group?_7:bh;return Xf(t,{name:C.disabled?"":n,css:!C.disabled,...C.group?void 0:{mode:C.mode},...C.disabled?{}:p},T.default)}}})}function V6(n,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return Ar()({name:n,props:{mode:{type:String,default:r},disabled:Boolean},setup(C,D){let{slots:T}=D;return()=>Xf(bh,{name:C.disabled?"":n,css:!C.disabled,...C.disabled?{}:e},T.default)}})}function j6(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const r=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)?"width":"height",C=tc(`offset-${r}`);return{onBeforeEnter(p){p._parent=p.parentNode,p._initialStyle={transition:p.style.transition,overflow:p.style.overflow,[r]:p.style[r]}},onEnter(p){const t=p._initialStyle;p.style.setProperty("transition","none","important"),p.style.overflow="hidden";const d=`${p[C]}px`;p.style[r]="0",p.offsetHeight,p.style.transition=t.transition,n&&p._parent&&p._parent.classList.add(n),requestAnimationFrame(()=>{p.style[r]=d})},onAfterEnter:T,onEnterCancelled:T,onLeave(p){p._initialStyle={transition:"",overflow:p.style.overflow,[r]:p.style[r]},p.style.overflow="hidden",p.style[r]=`${p[C]}px`,p.offsetHeight,requestAnimationFrame(()=>p.style[r]="0")},onAfterLeave:D,onLeaveCancelled:D};function D(p){n&&p._parent&&p._parent.classList.remove(n),T(p)}function T(p){const t=p._initialStyle[r];p.style.overflow=p._initialStyle.overflow,t!=null&&(p.style[r]=t),delete p._initialStyle}}const vB=ur({target:Object},"v-dialog-transition"),Qy=Ar()({name:"VDialogTransition",props:vB(),setup(n,e){let{slots:r}=e;const C={onBeforeEnter(D){D.style.pointerEvents="none",D.style.visibility="hidden"},async onEnter(D,T){var v;await new Promise(f=>requestAnimationFrame(f)),await new Promise(f=>requestAnimationFrame(f)),D.style.visibility="";const{x:p,y:t,sx:d,sy:g,speed:i}=K5(n.target,D),M=Dd(D,[{transform:`translate(${p}px, ${t}px) scale(${d}, ${g})`,opacity:0},{}],{duration:225*i,easing:gF});(v=X5(D))==null||v.forEach(f=>{Dd(f,[{opacity:0},{opacity:0,offset:.33},{}],{duration:225*2*i,easing:zm})}),M.finished.then(()=>T())},onAfterEnter(D){D.style.removeProperty("pointer-events")},onBeforeLeave(D){D.style.pointerEvents="none"},async onLeave(D,T){var v;await new Promise(f=>requestAnimationFrame(f));const{x:p,y:t,sx:d,sy:g,speed:i}=K5(n.target,D);Dd(D,[{},{transform:`translate(${p}px, ${t}px) scale(${d}, ${g})`,opacity:0}],{duration:125*i,easing:vF}).finished.then(()=>T()),(v=X5(D))==null||v.forEach(f=>{Dd(f,[{},{opacity:0,offset:.2},{opacity:0}],{duration:125*2*i,easing:zm})})},onAfterLeave(D){D.style.removeProperty("pointer-events")}};return()=>n.target?gt(bh,qr({name:"dialog-transition"},C,{css:!1}),r):gt(bh,{name:"dialog-transition"},r)}});function X5(n){var r;const e=(r=n.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list"))==null?void 0:r.children;return e&&[...e]}function K5(n,e){const r=n.getBoundingClientRect(),C=J2(e),[D,T]=getComputedStyle(e).transformOrigin.split(" ").map(o=>parseFloat(o)),[p,t]=getComputedStyle(e).getPropertyValue("--v-overlay-anchor-origin").split(" ");let d=r.left+r.width/2;p==="left"||t==="left"?d-=r.width/2:(p==="right"||t==="right")&&(d+=r.width/2);let g=r.top+r.height/2;p==="top"||t==="top"?g-=r.height/2:(p==="bottom"||t==="bottom")&&(g+=r.height/2);const i=r.width/C.width,M=r.height/C.height,v=Math.max(1,i,M),f=i/v||0,l=M/v||0,a=C.width*C.height/(window.innerWidth*window.innerHeight),u=a>.12?Math.min(1.5,(a-.12)*10+1):1;return{x:d-(D+C.left),y:g-(T+C.top),sx:f,sy:l,speed:u}}const yB=Au("fab-transition","center center","out-in"),bB=Au("dialog-bottom-transition"),xB=Au("dialog-top-transition"),gx=Au("fade-transition"),s_=Au("scale-transition"),_B=Au("scroll-x-transition"),wB=Au("scroll-x-reverse-transition"),TB=Au("scroll-y-transition"),kB=Au("scroll-y-reverse-transition"),MB=Au("slide-x-transition"),AB=Au("slide-x-reverse-transition"),l_=Au("slide-y-transition"),SB=Au("slide-y-reverse-transition"),e1=V6("expand-transition",j6()),u_=V6("expand-x-transition",j6("",!0)),CB=ur({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),Fa=Ar(!1)({name:"VDefaultsProvider",props:CB(),setup(n,e){let{slots:r}=e;const{defaults:C,disabled:D,reset:T,root:p,scoped:t}=by(n);return es(C,{reset:T,root:p,scoped:t,disabled:D}),()=>{var d;return(d=r.default)==null?void 0:d.call(r)}}});const sc=ur({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function lc(n){return{dimensionStyles:cn(()=>({height:Qr(n.height),maxHeight:Qr(n.maxHeight),maxWidth:Qr(n.maxWidth),minHeight:Qr(n.minHeight),minWidth:Qr(n.minWidth),width:Qr(n.width)}))}}function EB(n){return{aspectStyles:cn(()=>{const e=Number(n.aspectRatio);return e?{paddingBottom:String(1/e*100)+"%"}:void 0})}}const U6=ur({aspectRatio:[String,Number],contentClass:String,inline:Boolean,...Zr(),...sc()},"VResponsive"),vx=Ar()({name:"VResponsive",props:U6(),setup(n,e){let{slots:r}=e;const{aspectStyles:C}=EB(n),{dimensionStyles:D}=lc(n);return Or(()=>{var T;return gt("div",{class:["v-responsive",{"v-responsive--inline":n.inline},n.class],style:[D.value,n.style]},[gt("div",{class:"v-responsive__sizer",style:C.value},null),(T=r.additional)==null?void 0:T.call(r),r.default&>("div",{class:["v-responsive__content",n.contentClass]},[r.default()])])}),{}}}),df=ur({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:n=>n!==!0}},"transition"),Oc=(n,e)=>{let{slots:r}=e;const{transition:C,disabled:D,...T}=n,{component:p=bh,...t}=typeof C=="object"?C:{};return Xf(p,qr(typeof C=="string"?{name:D?"":C}:t,T,{disabled:D}),r)};function LB(n,e){if(!$2)return;const r=e.modifiers||{},C=e.value,{handler:D,options:T}=typeof C=="object"?C:{handler:C,options:{}},p=new IntersectionObserver(function(){var M;let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],d=arguments.length>1?arguments[1]:void 0;const g=(M=n._observe)==null?void 0:M[e.instance.$.uid];if(!g)return;const i=t.some(v=>v.isIntersecting);D&&(!r.quiet||g.init)&&(!r.once||i||g.init)&&D(i,t,d),i&&r.once?H6(n,e):g.init=!0},T);n._observe=Object(n._observe),n._observe[e.instance.$.uid]={init:!1,observer:p},p.observe(n)}function H6(n,e){var C;const r=(C=n._observe)==null?void 0:C[e.instance.$.uid];r&&(r.observer.unobserve(n),delete n._observe[e.instance.$.uid])}const og={mounted:LB,unmounted:H6},G6=ur({alt:String,cover:Boolean,eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},sizes:String,src:{type:[String,Object],default:""},srcset:String,...U6(),...Zr(),...df()},"VImg"),Zd=Ar()({name:"VImg",directives:{intersect:og},props:G6(),emits:{loadstart:n=>!0,load:n=>!0,error:n=>!0},setup(n,e){let{emit:r,slots:C}=e;const D=Wr(""),T=Vr(),p=Wr(n.eager?"loading":"idle"),t=Wr(),d=Wr(),g=cn(()=>n.src&&typeof n.src=="object"?{src:n.src.src,srcset:n.srcset||n.src.srcset,lazySrc:n.lazySrc||n.src.lazySrc,aspect:Number(n.aspectRatio||n.src.aspect||0)}:{src:n.src,srcset:n.srcset,lazySrc:n.lazySrc,aspect:Number(n.aspectRatio||0)}),i=cn(()=>g.value.aspect||t.value/d.value||0);$r(()=>n.src,()=>{M(p.value!=="idle")}),$r(i,(S,_)=>{!S&&_&&T.value&&u(T.value)}),Sy(()=>M());function M(S){if(!(n.eager&&S)&&!($2&&!S&&!n.eager)){if(p.value="loading",g.value.lazySrc){const _=new Image;_.src=g.value.lazySrc,u(_,null)}g.value.src&&Ua(()=>{var _,k;if(r("loadstart",((_=T.value)==null?void 0:_.currentSrc)||g.value.src),(k=T.value)!=null&&k.complete){if(T.value.naturalWidth||f(),p.value==="error")return;i.value||u(T.value,null),v()}else i.value||u(T.value),l()})}}function v(){var S;l(),p.value="loaded",r("load",((S=T.value)==null?void 0:S.currentSrc)||g.value.src)}function f(){var S;p.value="error",r("error",((S=T.value)==null?void 0:S.currentSrc)||g.value.src)}function l(){const S=T.value;S&&(D.value=S.currentSrc||S.src)}let a=-1;function u(S){let _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const k=()=>{clearTimeout(a);const{naturalHeight:E,naturalWidth:x}=S;E||x?(t.value=x,d.value=E):!S.complete&&p.value==="loading"&&_!=null?a=window.setTimeout(k,_):(S.currentSrc.endsWith(".svg")||S.currentSrc.startsWith("data:image/svg+xml"))&&(t.value=1,d.value=1)};k()}const o=cn(()=>({"v-img__img--cover":n.cover,"v-img__img--contain":!n.cover})),s=()=>{var k;if(!g.value.src||p.value==="idle")return null;const S=gt("img",{class:["v-img__img",o.value],src:g.value.src,srcset:g.value.srcset,alt:n.alt,sizes:n.sizes,ref:T,onLoad:v,onError:f},null),_=(k=C.sources)==null?void 0:k.call(C);return gt(Oc,{transition:n.transition,appear:!0},{default:()=>[Co(_?gt("picture",{class:"v-img__picture"},[_,S]):S,[[kh,p.value==="loaded"]])]})},c=()=>gt(Oc,{transition:n.transition},{default:()=>[g.value.lazySrc&&p.value!=="loaded"&>("img",{class:["v-img__img","v-img__img--preload",o.value],src:g.value.lazySrc,alt:n.alt},null)]}),h=()=>C.placeholder?gt(Oc,{transition:n.transition,appear:!0},{default:()=>[(p.value==="loading"||p.value==="error"&&!C.error)&>("div",{class:"v-img__placeholder"},[C.placeholder()])]}):null,m=()=>C.error?gt(Oc,{transition:n.transition,appear:!0},{default:()=>[p.value==="error"&>("div",{class:"v-img__error"},[C.error()])]}):null,w=()=>n.gradient?gt("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${n.gradient})`}},null):null,y=Wr(!1);{const S=$r(i,_=>{_&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{y.value=!0})}),S())})}return Or(()=>{const[S]=vx.filterProps(n);return Co(gt(vx,qr({class:["v-img",{"v-img--booting":!y.value},n.class],style:[{width:Qr(n.width==="auto"?t.value:n.width)},n.style]},S,{aspectRatio:i.value,"aria-label":n.alt,role:n.alt?"img":void 0}),{additional:()=>gt(Yr,null,[gt(s,null,null),gt(c,null,null),gt(w,null,null),gt(h,null,null),gt(m,null,null)]),default:C.default}),[[Tu("intersect"),{handler:M,options:n.options},null,{once:!0}]])}),{currentSrc:D,image:T,state:p,naturalWidth:t,naturalHeight:d}}}),Su=ur({border:[Boolean,Number,String]},"border");function uc(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();return{borderClasses:cn(()=>{const C=eo(n)?n.value:n.border,D=[];if(C===!0||C==="")D.push(`${e}--border`);else if(typeof C=="string"||C===0)for(const T of String(C).split(" "))D.push(`border-${T}`);return D})}}function c_(n){return X2(()=>{const e=[],r={};if(n.value.background)if(z5(n.value.background)){if(r.backgroundColor=n.value.background,!n.value.text){const C=A6(r.backgroundColor);r.color=C,r.caretColor=C}}else e.push(`bg-${n.value.background}`);return n.value.text&&(z5(n.value.text)?(r.color=n.value.text,r.caretColor=n.value.text):e.push(`text-${n.value.text}`)),{colorClasses:e,colorStyles:r}})}function Xs(n,e){const r=cn(()=>({text:eo(n)?n.value:e?n[e]:null})),{colorClasses:C,colorStyles:D}=c_(r);return{textColorClasses:C,textColorStyles:D}}function Oo(n,e){const r=cn(()=>({background:eo(n)?n.value:e?n[e]:null})),{colorClasses:C,colorStyles:D}=c_(r);return{backgroundColorClasses:C,backgroundColorStyles:D}}const fs=ur({elevation:{type:[Number,String],validator(n){const e=parseInt(n);return!isNaN(e)&&e>=0&&e<=24}}},"elevation");function Vs(n){return{elevationClasses:cn(()=>{const r=eo(n)?n.value:n.elevation,C=[];return r==null||C.push(`elevation-${r}`),C})}}const lo=ur({rounded:{type:[Boolean,Number,String],default:void 0}},"rounded");function Eo(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();return{roundedClasses:cn(()=>{const C=eo(n)?n.value:n.rounded,D=[];if(C===!0||C==="")D.push(`${e}--rounded`);else if(typeof C=="string"||C===0)for(const T of String(C).split(" "))D.push(`rounded-${T}`);return D})}}const IB=[null,"prominent","default","comfortable","compact"],q6=ur({absolute:Boolean,collapse:Boolean,color:String,density:{type:String,default:"default",validator:n=>IB.includes(n)},extended:Boolean,extensionHeight:{type:[Number,String],default:48},flat:Boolean,floating:Boolean,height:{type:[Number,String],default:64},image:String,title:String,...Su(),...Zr(),...fs(),...lo(),...Si({tag:"header"}),...oa()},"VToolbar"),yx=Ar()({name:"VToolbar",props:q6(),setup(n,e){var f;let{slots:r}=e;const{backgroundColorClasses:C,backgroundColorStyles:D}=Oo(Cr(n,"color")),{borderClasses:T}=uc(n),{elevationClasses:p}=Vs(n),{roundedClasses:t}=Eo(n),{themeClasses:d}=Ma(n),{rtlClasses:g}=Cs(),i=Wr(!!(n.extended||(f=r.extension)!=null&&f.call(r))),M=cn(()=>parseInt(Number(n.height)+(n.density==="prominent"?Number(n.height):0)-(n.density==="comfortable"?8:0)-(n.density==="compact"?16:0),10)),v=cn(()=>i.value?parseInt(Number(n.extensionHeight)+(n.density==="prominent"?Number(n.extensionHeight):0)-(n.density==="comfortable"?4:0)-(n.density==="compact"?8:0),10):0);return es({VBtn:{variant:"text"}}),Or(()=>{var o;const l=!!(n.title||r.title),a=!!(r.image||n.image),u=(o=r.extension)==null?void 0:o.call(r);return i.value=!!(n.extended||u),gt(n.tag,{class:["v-toolbar",{"v-toolbar--absolute":n.absolute,"v-toolbar--collapse":n.collapse,"v-toolbar--flat":n.flat,"v-toolbar--floating":n.floating,[`v-toolbar--density-${n.density}`]:!0},C.value,T.value,p.value,t.value,d.value,g.value,n.class],style:[D.value,n.style]},{default:()=>[a&>("div",{key:"image",class:"v-toolbar__image"},[r.image?gt(Fa,{key:"image-defaults",disabled:!n.image,defaults:{VImg:{cover:!0,src:n.image}}},r.image):gt(Zd,{key:"image-img",cover:!0,src:n.image},null)]),gt(Fa,{defaults:{VTabs:{height:Qr(M.value)}}},{default:()=>{var s,c,h;return[gt("div",{class:"v-toolbar__content",style:{height:Qr(M.value)}},[r.prepend&>("div",{class:"v-toolbar__prepend"},[(s=r.prepend)==null?void 0:s.call(r)]),l&>(o_,{key:"title",text:n.title},{text:r.title}),(c=r.default)==null?void 0:c.call(r),r.append&>("div",{class:"v-toolbar__append"},[(h=r.append)==null?void 0:h.call(r)])])]}}),gt(Fa,{defaults:{VTabs:{height:Qr(v.value)}}},{default:()=>[gt(e1,null,{default:()=>[i.value&>("div",{class:"v-toolbar__extension",style:{height:Qr(v.value)}},[u])]})]})]})}),{contentHeight:M,extensionHeight:v}}}),RB=ur({scrollTarget:{type:String},scrollThreshold:{type:[String,Number],default:300}},"scroll");function PB(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{canScroll:r}=e;let C=0;const D=Vr(null),T=Wr(0),p=Wr(0),t=Wr(0),d=Wr(!1),g=Wr(!1),i=cn(()=>Number(n.scrollThreshold)),M=cn(()=>Zs((i.value-T.value)/i.value||0)),v=()=>{const f=D.value;!f||r&&!r.value||(C=T.value,T.value="window"in f?f.pageYOffset:f.scrollTop,g.value=T.value{p.value=p.value||T.value}),$r(d,()=>{p.value=0}),Ks(()=>{$r(()=>n.scrollTarget,f=>{var a;const l=f?document.querySelector(f):window;l&&l!==D.value&&((a=D.value)==null||a.removeEventListener("scroll",v),D.value=l,D.value.addEventListener("scroll",v,{passive:!0}))},{immediate:!0})}),Tl(()=>{var f;(f=D.value)==null||f.removeEventListener("scroll",v)}),r&&$r(r,v,{immediate:!0}),{scrollThreshold:i,currentScroll:T,currentThreshold:t,isScrollActive:d,scrollRatio:M,isScrollingUp:g,savedScroll:p}}function tp(){const n=Wr(!1);return Ks(()=>{window.requestAnimationFrame(()=>{n.value=!0})}),{ssrBootStyles:cn(()=>n.value?void 0:{transition:"none !important"}),isBooted:Hm(n)}}const OB=ur({scrollBehavior:String,modelValue:{type:Boolean,default:!0},location:{type:String,default:"top",validator:n=>["top","bottom"].includes(n)},...q6(),...x0(),...RB(),height:{type:[Number,String],default:64}},"VAppBar"),DB=Ar()({name:"VAppBar",props:OB(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const C=Vr(),D=xi(n,"modelValue"),T=cn(()=>{var s;const o=new Set(((s=n.scrollBehavior)==null?void 0:s.split(" "))??[]);return{hide:o.has("hide"),inverted:o.has("inverted"),collapse:o.has("collapse"),elevate:o.has("elevate"),fadeImage:o.has("fade-image")}}),p=cn(()=>{const o=T.value;return o.hide||o.inverted||o.collapse||o.elevate||o.fadeImage||!D.value}),{currentScroll:t,scrollThreshold:d,isScrollingUp:g,scrollRatio:i}=PB(n,{canScroll:p}),M=cn(()=>n.collapse||T.value.collapse&&(T.value.inverted?i.value>0:i.value===0)),v=cn(()=>n.flat||T.value.elevate&&(T.value.inverted?t.value>0:t.value===0)),f=cn(()=>T.value.fadeImage?T.value.inverted?1-i.value:i.value:void 0),l=cn(()=>{var c,h;if(T.value.hide&&T.value.inverted)return 0;const o=((c=C.value)==null?void 0:c.contentHeight)??0,s=((h=C.value)==null?void 0:h.extensionHeight)??0;return o+s});$f(cn(()=>!!n.scrollBehavior),()=>{wu(()=>{T.value.hide?T.value.inverted?D.value=t.value>d.value:D.value=g.value||t.valueparseInt(n.order,10)),position:Cr(n,"location"),layoutSize:l,elementSize:Wr(void 0),active:D,absolute:Cr(n,"absolute")});return Or(()=>{const[o]=yx.filterProps(n);return gt(yx,qr({ref:C,class:["v-app-bar",{"v-app-bar--bottom":n.location==="bottom"},n.class],style:[{...u.value,"--v-toolbar-image-opacity":f.value,height:void 0,...a.value},n.style]},o,{collapse:M.value,flat:v.value}),r)}),{}}});const zB=[null,"default","comfortable","compact"],ds=ur({density:{type:String,default:"default",validator:n=>zB.includes(n)}},"density");function Qs(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();return{densityClasses:cn(()=>`${e}--density-${n.density}`)}}const FB=["elevated","flat","tonal","outlined","text","plain"];function np(n,e){return gt(Yr,null,[n&>("span",{key:"overlay",class:`${e}__overlay`},null),gt("span",{key:"underlay",class:`${e}__underlay`},null)])}const cc=ur({color:String,variant:{type:String,default:"elevated",validator:n=>FB.includes(n)}},"variant");function rp(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();const r=cn(()=>{const{variant:T}=yu(n);return`${e}--variant-${T}`}),{colorClasses:C,colorStyles:D}=c_(cn(()=>{const{variant:T,color:p}=yu(n);return{[["elevated","flat"].includes(T)?"background":"text"]:p}}));return{colorClasses:C,colorStyles:D,variantClasses:r}}const W6=ur({divided:Boolean,...Su(),...Zr(),...ds(),...fs(),...lo(),...Si(),...oa(),...cc()},"VBtnGroup"),bx=Ar()({name:"VBtnGroup",props:W6(),setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{densityClasses:D}=Qs(n),{borderClasses:T}=uc(n),{elevationClasses:p}=Vs(n),{roundedClasses:t}=Eo(n);es({VBtn:{height:"auto",color:Cr(n,"color"),density:Cr(n,"density"),flat:!0,variant:Cr(n,"variant")}}),Or(()=>gt(n.tag,{class:["v-btn-group",{"v-btn-group--divided":n.divided},C.value,T.value,D.value,p.value,t.value,n.class],style:n.style},r))}}),w0=ur({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),T0=ur({value:null,disabled:Boolean,selectedClass:String},"group-item");function k0(n,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const C=Ss("useGroupItem");if(!C)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const D=Js();ts(Symbol.for(`${e.description}:id`),D);const T=ka(e,null);if(!T){if(!r)return T;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${e.description}`)}const p=Cr(n,"value"),t=cn(()=>!!(T.disabled.value||n.disabled));T.register({id:D,value:p,disabled:t},C),Tl(()=>{T.unregister(D)});const d=cn(()=>T.isSelected(D)),g=cn(()=>d.value&&[T.selectedClass.value,n.selectedClass]);return $r(d,i=>{C.emit("group:selected",{value:i})}),{id:D,isSelected:d,toggle:()=>T.select(D,!d.value),select:i=>T.select(D,i),selectedClass:g,value:p,disabled:t,group:T}}function ip(n,e){let r=!1;const C=yl([]),D=xi(n,"modelValue",[],v=>v==null?[]:Y6(C,bu(v)),v=>{const f=NB(C,v);return n.multiple?f:f[0]}),T=Ss("useGroup");function p(v,f){const l=v,a=Symbol.for(`${e.description}:id`),o=ym(a,T==null?void 0:T.vnode).indexOf(f);o>-1?C.splice(o,0,l):C.push(l)}function t(v){if(r)return;d();const f=C.findIndex(l=>l.id===v);C.splice(f,1)}function d(){const v=C.find(f=>!f.disabled);v&&n.mandatory==="force"&&!D.value.length&&(D.value=[v.id])}Ks(()=>{d()}),Tl(()=>{r=!0});function g(v,f){const l=C.find(a=>a.id===v);if(!(f&&(l!=null&&l.disabled)))if(n.multiple){const a=D.value.slice(),u=a.findIndex(s=>s===v),o=~u;if(f=f??!o,o&&n.mandatory&&a.length<=1||!o&&n.max!=null&&a.length+1>n.max)return;u<0&&f?a.push(v):u>=0&&!f&&a.splice(u,1),D.value=a}else{const a=D.value.includes(v);if(n.mandatory&&a)return;D.value=f??!a?[v]:[]}}function i(v){if(n.multiple,D.value.length){const f=D.value[0],l=C.findIndex(o=>o.id===f);let a=(l+v)%C.length,u=C[a];for(;u.disabled&&a!==l;)a=(a+v)%C.length,u=C[a];if(u.disabled)return;D.value=[C[a].id]}else{const f=C.find(l=>!l.disabled);f&&(D.value=[f.id])}}const M={register:p,unregister:t,selected:D,select:g,disabled:Cr(n,"disabled"),prev:()=>i(C.length-1),next:()=>i(1),isSelected:v=>D.value.includes(v),selectedClass:cn(()=>n.selectedClass),items:cn(()=>C),getItemIndex:v=>BB(C,v)};return ts(e,M),M}function BB(n,e){const r=Y6(n,[e]);return r.length?n.findIndex(C=>C.id===r[0]):-1}function Y6(n,e){const r=[];return e.forEach(C=>{const D=n.find(p=>b0(C,p.value)),T=n[C];(D==null?void 0:D.value)!=null?r.push(D.id):T!=null&&r.push(T.id)}),r}function NB(n,e){const r=[];return e.forEach(C=>{const D=n.findIndex(T=>T.id===C);if(~D){const T=n[D];r.push(T.value!=null?T.value:D)}}),r}const h_=Symbol.for("vuetify:v-btn-toggle"),VB=ur({...W6(),...w0()},"VBtnToggle"),jB=Ar()({name:"VBtnToggle",props:VB(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{isSelected:C,next:D,prev:T,select:p,selected:t}=ip(n,h_);return Or(()=>{const[d]=bx.filterProps(n);return gt(bx,qr({class:["v-btn-toggle",n.class]},d,{style:n.style}),{default:()=>{var g;return[(g=r.default)==null?void 0:g.call(r,{isSelected:C,next:D,prev:T,select:p,selected:t})]}})}),{next:D,prev:T,select:p}}});const UB=["x-small","small","default","large","x-large"],pf=ur({size:{type:[String,Number],default:"default"}},"size");function M0(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();return X2(()=>{let r,C;return ly(UB,n.size)?r=`${e}--size-${n.size}`:n.size&&(C={width:Qr(n.size),height:Qr(n.size)}),{sizeClasses:r,sizeStyles:C}})}const HB=ur({color:String,start:Boolean,end:Boolean,icon:bi,...Zr(),...pf(),...Si({tag:"i"}),...oa()},"VIcon"),ja=Ar()({name:"VIcon",props:HB(),setup(n,e){let{attrs:r,slots:C}=e;const D=Vr(),{themeClasses:T}=Ma(n),{iconData:p}=IF(cn(()=>D.value||n.icon)),{sizeClasses:t}=M0(n),{textColorClasses:d,textColorStyles:g}=Xs(Cr(n,"color"));return Or(()=>{var M,v;const i=(M=C.default)==null?void 0:M.call(C);return i&&(D.value=(v=f6(i).filter(f=>f.type===Gm&&f.children&&typeof f.children=="string")[0])==null?void 0:v.children),gt(p.value.component,{tag:n.tag,icon:p.value.icon,class:["v-icon","notranslate",T.value,t.value,d.value,{"v-icon--clickable":!!r.onClick,"v-icon--start":n.start,"v-icon--end":n.end},n.class],style:[t.value?void 0:{fontSize:Qr(n.size),height:Qr(n.size),width:Qr(n.size)},g.value,n.style],role:r.onClick?"button":void 0,"aria-hidden":!r.onClick},{default:()=>[i]})}),{}}});function f_(n,e){const r=Vr(),C=Wr(!1);if($2){const D=new IntersectionObserver(T=>{n==null||n(T,D),C.value=!!T.find(p=>p.isIntersecting)},e);Tl(()=>{D.disconnect()}),$r(r,(T,p)=>{p&&(D.unobserve(p),C.value=!1),T&&D.observe(T)},{flush:"post"})}return{intersectionRef:r,isIntersecting:C}}const GB=ur({bgColor:String,color:String,indeterminate:[Boolean,String],modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...Zr(),...pf(),...Si({tag:"div"}),...oa()},"VProgressCircular"),d_=Ar()({name:"VProgressCircular",props:GB(),setup(n,e){let{slots:r}=e;const C=20,D=2*Math.PI*C,T=Vr(),{themeClasses:p}=Ma(n),{sizeClasses:t,sizeStyles:d}=M0(n),{textColorClasses:g,textColorStyles:i}=Xs(Cr(n,"color")),{textColorClasses:M,textColorStyles:v}=Xs(Cr(n,"bgColor")),{intersectionRef:f,isIntersecting:l}=f_(),{resizeRef:a,contentRect:u}=Th(),o=cn(()=>Math.max(0,Math.min(100,parseFloat(n.modelValue)))),s=cn(()=>Number(n.width)),c=cn(()=>d.value?Number(n.size):u.value?u.value.width:Math.max(s.value,32)),h=cn(()=>C/(1-s.value/c.value)*2),m=cn(()=>s.value/c.value*h.value),w=cn(()=>Qr((100-o.value)/100*D));return wu(()=>{f.value=T.value,a.value=T.value}),Or(()=>gt(n.tag,{ref:T,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!n.indeterminate,"v-progress-circular--visible":l.value,"v-progress-circular--disable-shrink":n.indeterminate==="disable-shrink"},p.value,t.value,g.value,n.class],style:[d.value,i.value,n.style],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":n.indeterminate?void 0:o.value},{default:()=>[gt("svg",{style:{transform:`rotate(calc(-90deg + ${Number(n.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${h.value} ${h.value}`},[gt("circle",{class:["v-progress-circular__underlay",M.value],style:v.value,fill:"transparent",cx:"50%",cy:"50%",r:C,"stroke-width":m.value,"stroke-dasharray":D,"stroke-dashoffset":0},null),gt("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:C,"stroke-width":m.value,"stroke-dasharray":D,"stroke-dashoffset":w.value},null)]),r.default&>("div",{class:"v-progress-circular__content"},[r.default({value:o.value})])]})),{}}});const J5={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},ed=ur({location:String},"location");function td(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=arguments.length>2?arguments[2]:void 0;const{isRtl:C}=Cs();return{locationStyles:cn(()=>{if(!n.location)return{};const{side:T,align:p}=lx(n.location.split(" ").length>1?n.location:`${n.location} center`,C.value);function t(g){return r?r(g):0}const d={};return T!=="center"&&(e?d[J5[T]]=`calc(100% - ${t(T)}px)`:d[T]=0),p!=="center"?e?d[J5[p]]=`calc(100% - ${t(p)}px)`:d[p]=0:(T==="center"?d.top=d.left="50%":d[{top:"left",bottom:"left",left:"top",right:"top"}[T]]="50%",d.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[T]),d})}}const qB=ur({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...Zr(),...ed({location:"top"}),...lo(),...Si(),...oa()},"VProgressLinear"),p_=Ar()({name:"VProgressLinear",props:qB(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const C=xi(n,"modelValue"),{isRtl:D,rtlClasses:T}=Cs(),{themeClasses:p}=Ma(n),{locationStyles:t}=td(n),{textColorClasses:d,textColorStyles:g}=Xs(n,"color"),{backgroundColorClasses:i,backgroundColorStyles:M}=Oo(cn(()=>n.bgColor||n.color)),{backgroundColorClasses:v,backgroundColorStyles:f}=Oo(n,"color"),{roundedClasses:l}=Eo(n),{intersectionRef:a,isIntersecting:u}=f_(),o=cn(()=>parseInt(n.max,10)),s=cn(()=>parseInt(n.height,10)),c=cn(()=>parseFloat(n.bufferValue)/o.value*100),h=cn(()=>parseFloat(C.value)/o.value*100),m=cn(()=>D.value!==n.reverse),w=cn(()=>n.indeterminate?"fade-transition":"slide-x-transition"),y=cn(()=>n.bgOpacity==null?n.bgOpacity:parseFloat(n.bgOpacity));function S(_){if(!a.value)return;const{left:k,right:E,width:x}=a.value.getBoundingClientRect(),A=m.value?x-_.clientX+(E-x):_.clientX-k;C.value=Math.round(A/x*o.value)}return Or(()=>gt(n.tag,{ref:a,class:["v-progress-linear",{"v-progress-linear--absolute":n.absolute,"v-progress-linear--active":n.active&&u.value,"v-progress-linear--reverse":m.value,"v-progress-linear--rounded":n.rounded,"v-progress-linear--rounded-bar":n.roundedBar,"v-progress-linear--striped":n.striped},l.value,p.value,T.value,n.class],style:[{bottom:n.location==="bottom"?0:void 0,top:n.location==="top"?0:void 0,height:n.active?Qr(s.value):0,"--v-progress-linear-height":Qr(s.value),...t.value},n.style],role:"progressbar","aria-hidden":n.active?"false":"true","aria-valuemin":"0","aria-valuemax":n.max,"aria-valuenow":n.indeterminate?void 0:h.value,onClick:n.clickable&&S},{default:()=>[n.stream&>("div",{key:"stream",class:["v-progress-linear__stream",d.value],style:{...g.value,[m.value?"left":"right"]:Qr(-s.value),borderTop:`${Qr(s.value/2)} dotted`,opacity:y.value,top:`calc(50% - ${Qr(s.value/4)})`,width:Qr(100-c.value,"%"),"--v-progress-linear-stream-to":Qr(s.value*(m.value?1:-1))}},null),gt("div",{class:["v-progress-linear__background",i.value],style:[M.value,{opacity:y.value,width:Qr(n.stream?c.value:100,"%")}]},null),gt(bh,{name:w.value},{default:()=>[n.indeterminate?gt("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(_=>gt("div",{key:_,class:["v-progress-linear__indeterminate",_,v.value],style:f.value},null))]):gt("div",{class:["v-progress-linear__determinate",v.value],style:[f.value,{width:Qr(h.value,"%")}]},null)]}),r.default&>("div",{class:"v-progress-linear__content"},[r.default({value:h.value,buffer:c.value})])]})),{}}}),m_=ur({loading:[Boolean,String]},"loader");function t1(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();return{loaderClasses:cn(()=>({[`${e}--loading`]:n.loading}))}}function g_(n,e){var C;let{slots:r}=e;return gt("div",{class:`${n.name}__loader`},[((C=r.default)==null?void 0:C.call(r,{color:n.color,isActive:n.active}))||gt(p_,{active:n.active,color:n.color,height:"2",indeterminate:!0},null)])}const WB=["static","relative","fixed","absolute","sticky"],A0=ur({position:{type:String,validator:n=>WB.includes(n)}},"position");function S0(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();return{positionClasses:cn(()=>n.position?`${e}--${n.position}`:void 0)}}function $6(){var n,e;return(e=(n=Ss("useRouter"))==null?void 0:n.proxy)==null?void 0:e.$router}function sg(n,e){const r=yE("RouterLink"),C=cn(()=>!!(n.href||n.to)),D=cn(()=>(C==null?void 0:C.value)||k5(e,"click")||k5(n,"click"));if(typeof r=="string")return{isLink:C,isClickable:D,href:Cr(n,"href")};const T=n.to?r.useLink(n):void 0;return{isLink:C,isClickable:D,route:T==null?void 0:T.route,navigate:T==null?void 0:T.navigate,isActive:T&&cn(()=>{var p,t;return n.exact?(p=T.isExactActive)==null?void 0:p.value:(t=T.isActive)==null?void 0:t.value}),href:cn(()=>n.to?T==null?void 0:T.route.value.href:n.href)}}const lg=ur({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let bb=!1;function YB(n,e){let r=!1,C,D;to&&(Ua(()=>{window.addEventListener("popstate",T),C=n==null?void 0:n.beforeEach((p,t,d)=>{bb?r?e(d):d():setTimeout(()=>r?e(d):d()),bb=!0}),D=n==null?void 0:n.afterEach(()=>{bb=!1})}),wl(()=>{window.removeEventListener("popstate",T),C==null||C(),D==null||D()}));function T(p){var t;(t=p.state)!=null&&t.replaced||(r=!0,setTimeout(()=>r=!1))}}function $B(n,e){$r(()=>{var r;return(r=n.isActive)==null?void 0:r.value},r=>{n.isLink.value&&r&&e&&Ua(()=>{e(!0)})},{immediate:!0})}const xx=Symbol("rippleStop"),ZB=80;function Q5(n,e){n.style.transform=e,n.style.webkitTransform=e}function _x(n){return n.constructor.name==="TouchEvent"}function Z6(n){return n.constructor.name==="KeyboardEvent"}const XB=function(n,e){var M;let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},C=0,D=0;if(!Z6(n)){const v=e.getBoundingClientRect(),f=_x(n)?n.touches[n.touches.length-1]:n;C=f.clientX-v.left,D=f.clientY-v.top}let T=0,p=.3;(M=e._ripple)!=null&&M.circle?(p=.15,T=e.clientWidth/2,T=r.center?T:T+Math.sqrt((C-T)**2+(D-T)**2)/4):T=Math.sqrt(e.clientWidth**2+e.clientHeight**2)/2;const t=`${(e.clientWidth-T*2)/2}px`,d=`${(e.clientHeight-T*2)/2}px`,g=r.center?t:`${C-T}px`,i=r.center?d:`${D-T}px`;return{radius:T,scale:p,x:g,y:i,centerX:t,centerY:d}},dy={show(n,e){var f;let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((f=e==null?void 0:e._ripple)!=null&&f.enabled))return;const C=document.createElement("span"),D=document.createElement("span");C.appendChild(D),C.className="v-ripple__container",r.class&&(C.className+=` ${r.class}`);const{radius:T,scale:p,x:t,y:d,centerX:g,centerY:i}=XB(n,e,r),M=`${T*2}px`;D.className="v-ripple__animation",D.style.width=M,D.style.height=M,e.appendChild(C);const v=window.getComputedStyle(e);v&&v.position==="static"&&(e.style.position="relative",e.dataset.previousPosition="static"),D.classList.add("v-ripple__animation--enter"),D.classList.add("v-ripple__animation--visible"),Q5(D,`translate(${t}, ${d}) scale3d(${p},${p},${p})`),D.dataset.activated=String(performance.now()),setTimeout(()=>{D.classList.remove("v-ripple__animation--enter"),D.classList.add("v-ripple__animation--in"),Q5(D,`translate(${g}, ${i}) scale3d(1,1,1)`)},0)},hide(n){var T;if(!((T=n==null?void 0:n._ripple)!=null&&T.enabled))return;const e=n.getElementsByClassName("v-ripple__animation");if(e.length===0)return;const r=e[e.length-1];if(r.dataset.isHiding)return;r.dataset.isHiding="true";const C=performance.now()-Number(r.dataset.activated),D=Math.max(250-C,0);setTimeout(()=>{r.classList.remove("v-ripple__animation--in"),r.classList.add("v-ripple__animation--out"),setTimeout(()=>{var t;n.getElementsByClassName("v-ripple__animation").length===1&&n.dataset.previousPosition&&(n.style.position=n.dataset.previousPosition,delete n.dataset.previousPosition),((t=r.parentNode)==null?void 0:t.parentNode)===n&&n.removeChild(r.parentNode)},300)},D)}};function X6(n){return typeof n>"u"||!!n}function Bm(n){const e={},r=n.currentTarget;if(!(!(r!=null&&r._ripple)||r._ripple.touched||n[xx])){if(n[xx]=!0,_x(n))r._ripple.touched=!0,r._ripple.isTouch=!0;else if(r._ripple.isTouch)return;if(e.center=r._ripple.centered||Z6(n),r._ripple.class&&(e.class=r._ripple.class),_x(n)){if(r._ripple.showTimerCommit)return;r._ripple.showTimerCommit=()=>{dy.show(n,r,e)},r._ripple.showTimer=window.setTimeout(()=>{var C;(C=r==null?void 0:r._ripple)!=null&&C.showTimerCommit&&(r._ripple.showTimerCommit(),r._ripple.showTimerCommit=null)},ZB)}else dy.show(n,r,e)}}function eT(n){n[xx]=!0}function vu(n){const e=n.currentTarget;if(e!=null&&e._ripple){if(window.clearTimeout(e._ripple.showTimer),n.type==="touchend"&&e._ripple.showTimerCommit){e._ripple.showTimerCommit(),e._ripple.showTimerCommit=null,e._ripple.showTimer=window.setTimeout(()=>{vu(n)});return}window.setTimeout(()=>{e._ripple&&(e._ripple.touched=!1)}),dy.hide(e)}}function K6(n){const e=n.currentTarget;e!=null&&e._ripple&&(e._ripple.showTimerCommit&&(e._ripple.showTimerCommit=null),window.clearTimeout(e._ripple.showTimer))}let Nm=!1;function J6(n){!Nm&&(n.keyCode===x5.enter||n.keyCode===x5.space)&&(Nm=!0,Bm(n))}function Q6(n){Nm=!1,vu(n)}function eA(n){Nm&&(Nm=!1,vu(n))}function tA(n,e,r){const{value:C,modifiers:D}=e,T=X6(C);if(T||dy.hide(n),n._ripple=n._ripple??{},n._ripple.enabled=T,n._ripple.centered=D.center,n._ripple.circle=D.circle,ax(C)&&C.class&&(n._ripple.class=C.class),T&&!r){if(D.stop){n.addEventListener("touchstart",eT,{passive:!0}),n.addEventListener("mousedown",eT);return}n.addEventListener("touchstart",Bm,{passive:!0}),n.addEventListener("touchend",vu,{passive:!0}),n.addEventListener("touchmove",K6,{passive:!0}),n.addEventListener("touchcancel",vu),n.addEventListener("mousedown",Bm),n.addEventListener("mouseup",vu),n.addEventListener("mouseleave",vu),n.addEventListener("keydown",J6),n.addEventListener("keyup",Q6),n.addEventListener("blur",eA),n.addEventListener("dragstart",vu,{passive:!0})}else!T&&r&&nA(n)}function nA(n){n.removeEventListener("mousedown",Bm),n.removeEventListener("touchstart",Bm),n.removeEventListener("touchend",vu),n.removeEventListener("touchmove",K6),n.removeEventListener("touchcancel",vu),n.removeEventListener("mouseup",vu),n.removeEventListener("mouseleave",vu),n.removeEventListener("keydown",J6),n.removeEventListener("keyup",Q6),n.removeEventListener("dragstart",vu),n.removeEventListener("blur",eA)}function KB(n,e){tA(n,e,!1)}function JB(n){delete n._ripple,nA(n)}function QB(n,e){if(e.value===e.oldValue)return;const r=X6(e.oldValue);tA(n,e,r)}const nd={mounted:KB,unmounted:JB,updated:QB},v_=ur({active:{type:Boolean,default:void 0},symbol:{type:null,default:h_},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:bi,appendIcon:bi,block:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:String,...Su(),...Zr(),...ds(),...sc(),...fs(),...T0(),...m_(),...ed(),...A0(),...lo(),...lg(),...pf(),...Si({tag:"button"}),...oa(),...cc({variant:"elevated"})},"VBtn"),_l=Ar()({name:"VBtn",directives:{Ripple:nd},props:v_(),emits:{"group:selected":n=>!0},setup(n,e){let{attrs:r,slots:C}=e;const{themeClasses:D}=Ma(n),{borderClasses:T}=uc(n),{colorClasses:p,colorStyles:t,variantClasses:d}=rp(n),{densityClasses:g}=Qs(n),{dimensionStyles:i}=lc(n),{elevationClasses:M}=Vs(n),{loaderClasses:v}=t1(n),{locationStyles:f}=td(n),{positionClasses:l}=S0(n),{roundedClasses:a}=Eo(n),{sizeClasses:u,sizeStyles:o}=M0(n),s=k0(n,n.symbol,!1),c=sg(n,r),h=cn(()=>{var _;return n.active!==void 0?n.active:c.isLink.value?(_=c.isActive)==null?void 0:_.value:s==null?void 0:s.isSelected.value}),m=cn(()=>(s==null?void 0:s.disabled.value)||n.disabled),w=cn(()=>n.variant==="elevated"&&!(n.disabled||n.flat||n.border)),y=cn(()=>{if(n.value!==void 0)return Object(n.value)===n.value?JSON.stringify(n.value,null,0):n.value});function S(_){var k;m.value||c.isLink.value&&(_.metaKey||_.ctrlKey||_.shiftKey||_.button!==0||r.target==="_blank")||((k=c.navigate)==null||k.call(c,_),s==null||s.toggle())}return $B(c,s==null?void 0:s.select),Or(()=>{var L,b;const _=c.isLink.value?"a":n.tag,k=!!(n.prependIcon||C.prepend),E=!!(n.appendIcon||C.append),x=!!(n.icon&&n.icon!==!0),A=(s==null?void 0:s.isSelected.value)&&(!c.isLink.value||((L=c.isActive)==null?void 0:L.value))||!s||((b=c.isActive)==null?void 0:b.value);return Co(gt(_,{type:_==="a"?void 0:"button",class:["v-btn",s==null?void 0:s.selectedClass.value,{"v-btn--active":h.value,"v-btn--block":n.block,"v-btn--disabled":m.value,"v-btn--elevated":w.value,"v-btn--flat":n.flat,"v-btn--icon":!!n.icon,"v-btn--loading":n.loading,"v-btn--stacked":n.stacked},D.value,T.value,A?p.value:void 0,g.value,M.value,v.value,l.value,a.value,u.value,d.value,n.class],style:[A?t.value:void 0,i.value,f.value,o.value,n.style],disabled:m.value||void 0,href:c.href.value,onClick:S,value:y.value},{default:()=>{var R;return[np(!0,"v-btn"),!n.icon&&k&>("span",{key:"prepend",class:"v-btn__prepend"},[C.prepend?gt(Fa,{key:"prepend-defaults",disabled:!n.prependIcon,defaults:{VIcon:{icon:n.prependIcon}}},C.prepend):gt(ja,{key:"prepend-icon",icon:n.prependIcon},null)]),gt("span",{class:"v-btn__content","data-no-activator":""},[!C.default&&x?gt(ja,{key:"content-icon",icon:n.icon},null):gt(Fa,{key:"content-defaults",disabled:!x,defaults:{VIcon:{icon:n.icon}}},{default:()=>{var I;return[((I=C.default)==null?void 0:I.call(C))??n.text]}})]),!n.icon&&E&>("span",{key:"append",class:"v-btn__append"},[C.append?gt(Fa,{key:"append-defaults",disabled:!n.appendIcon,defaults:{VIcon:{icon:n.appendIcon}}},C.append):gt(ja,{key:"append-icon",icon:n.appendIcon},null)]),!!n.loading&>("span",{key:"loader",class:"v-btn__loader"},[((R=C.loader)==null?void 0:R.call(C))??gt(d_,{color:typeof n.loading=="boolean"?void 0:n.loading,indeterminate:!0,size:"23",width:"2"},null)])]}}),[[Tu("ripple"),!m.value&&n.ripple,null]])}),{}}}),eN=ur({...v_({icon:"$menu",variant:"text"})},"VAppBarNavIcon"),tN=Ar()({name:"VAppBarNavIcon",props:eN(),setup(n,e){let{slots:r}=e;return Or(()=>gt(_l,qr(n,{class:["v-app-bar-nav-icon"]}),r)),{}}}),nN=Ar()({name:"VAppBarTitle",props:N6(),setup(n,e){let{slots:r}=e;return Or(()=>gt(o_,qr(n,{class:"v-app-bar-title"}),r)),{}}});const rA=Nc("v-alert-title"),rN=["success","info","warning","error"],iN=ur({border:{type:[Boolean,String],validator:n=>typeof n=="boolean"||["top","end","bottom","start"].includes(n)},borderColor:String,closable:Boolean,closeIcon:{type:bi,default:"$close"},closeLabel:{type:String,default:"$vuetify.close"},icon:{type:[Boolean,String,Function,Object],default:null},modelValue:{type:Boolean,default:!0},prominent:Boolean,title:String,text:String,type:{type:String,validator:n=>rN.includes(n)},...Zr(),...ds(),...sc(),...fs(),...ed(),...A0(),...lo(),...Si(),...oa(),...cc({variant:"flat"})},"VAlert"),aN=Ar()({name:"VAlert",props:iN(),emits:{"click:close":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{emit:r,slots:C}=e;const D=xi(n,"modelValue"),T=cn(()=>{if(n.icon!==!1)return n.type?n.icon??`$${n.type}`:n.icon}),p=cn(()=>({color:n.color??n.type,variant:n.variant})),{themeClasses:t}=Ma(n),{colorClasses:d,colorStyles:g,variantClasses:i}=rp(p),{densityClasses:M}=Qs(n),{dimensionStyles:v}=lc(n),{elevationClasses:f}=Vs(n),{locationStyles:l}=td(n),{positionClasses:a}=S0(n),{roundedClasses:u}=Eo(n),{textColorClasses:o,textColorStyles:s}=Xs(Cr(n,"borderColor")),{t:c}=oc(),h=cn(()=>({"aria-label":c(n.closeLabel),onClick(m){D.value=!1,r("click:close",m)}}));return()=>{const m=!!(C.prepend||T.value),w=!!(C.title||n.title),y=!!(C.close||n.closable);return D.value&>(n.tag,{class:["v-alert",n.border&&{"v-alert--border":!!n.border,[`v-alert--border-${n.border===!0?"start":n.border}`]:!0},{"v-alert--prominent":n.prominent},t.value,d.value,M.value,f.value,a.value,u.value,i.value,n.class],style:[g.value,v.value,l.value,n.style],role:"alert"},{default:()=>{var S,_;return[np(!1,"v-alert"),n.border&>("div",{key:"border",class:["v-alert__border",o.value],style:s.value},null),m&>("div",{key:"prepend",class:"v-alert__prepend"},[C.prepend?gt(Fa,{key:"prepend-defaults",disabled:!T.value,defaults:{VIcon:{density:n.density,icon:T.value,size:n.prominent?44:28}}},C.prepend):gt(ja,{key:"prepend-icon",density:n.density,icon:T.value,size:n.prominent?44:28},null)]),gt("div",{class:"v-alert__content"},[w&>(rA,{key:"title"},{default:()=>{var k;return[((k=C.title)==null?void 0:k.call(C))??n.title]}}),((S=C.text)==null?void 0:S.call(C))??n.text,(_=C.default)==null?void 0:_.call(C)]),C.append&>("div",{key:"append",class:"v-alert__append"},[C.append()]),y&>("div",{key:"close",class:"v-alert__close"},[C.close?gt(Fa,{key:"close-defaults",defaults:{VBtn:{icon:n.closeIcon,size:"x-small",variant:"text"}}},{default:()=>{var k;return[(k=C.close)==null?void 0:k.call(C,{props:h.value})]}}):gt(_l,qr({key:"close-btn",icon:n.closeIcon,size:"x-small",variant:"text"},h.value),null)])]}})}}});const oN=ur({text:String,clickable:Boolean,...Zr(),...oa()},"VLabel"),C0=Ar()({name:"VLabel",props:oN(),setup(n,e){let{slots:r}=e;return Or(()=>{var C;return gt("label",{class:["v-label",{"v-label--clickable":n.clickable},n.class],style:n.style},[n.text,(C=r.default)==null?void 0:C.call(r)])}),{}}});const iA=Symbol.for("vuetify:selection-control-group"),y_=ur({color:String,disabled:{type:Boolean,default:null},defaultsTarget:String,error:Boolean,id:String,inline:Boolean,falseIcon:bi,trueIcon:bi,ripple:{type:Boolean,default:!0},multiple:{type:Boolean,default:null},name:String,readonly:Boolean,modelValue:null,type:String,valueComparator:{type:Function,default:b0},...Zr(),...ds(),...oa()},"SelectionControlGroup"),sN=ur({...y_({defaultsTarget:"VSelectionControl"})},"VSelectionControlGroup"),aA=Ar()({name:"VSelectionControlGroup",props:sN(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const C=xi(n,"modelValue"),D=Js(),T=cn(()=>n.id||`v-selection-control-group-${D}`),p=cn(()=>n.name||T.value),t=new Set;return ts(iA,{modelValue:C,forceUpdate:()=>{t.forEach(d=>d())},onForceUpdate:d=>{t.add(d),wl(()=>{t.delete(d)})}}),es({[n.defaultsTarget]:{color:Cr(n,"color"),disabled:Cr(n,"disabled"),density:Cr(n,"density"),error:Cr(n,"error"),inline:Cr(n,"inline"),modelValue:C,multiple:cn(()=>!!n.multiple||n.multiple==null&&Array.isArray(C.value)),name:p,falseIcon:Cr(n,"falseIcon"),trueIcon:Cr(n,"trueIcon"),readonly:Cr(n,"readonly"),ripple:Cr(n,"ripple"),type:Cr(n,"type"),valueComparator:Cr(n,"valueComparator")}}),Or(()=>{var d;return gt("div",{class:["v-selection-control-group",{"v-selection-control-group--inline":n.inline},n.class],style:n.style,role:n.type==="radio"?"radiogroup":void 0},[(d=r.default)==null?void 0:d.call(r)])}),{}}}),n1=ur({label:String,trueValue:null,falseValue:null,value:null,...Zr(),...y_()},"VSelectionControl");function lN(n){const e=ka(iA,void 0),{densityClasses:r}=Qs(n),C=xi(n,"modelValue"),D=cn(()=>n.trueValue!==void 0?n.trueValue:n.value!==void 0?n.value:!0),T=cn(()=>n.falseValue!==void 0?n.falseValue:!1),p=cn(()=>!!n.multiple||n.multiple==null&&Array.isArray(C.value)),t=cn({get(){const f=e?e.modelValue.value:C.value;return p.value?f.some(l=>n.valueComparator(l,D.value)):n.valueComparator(f,D.value)},set(f){if(n.readonly)return;const l=f?D.value:T.value;let a=l;p.value&&(a=f?[...bu(C.value),l]:bu(C.value).filter(u=>!n.valueComparator(u,D.value))),e?e.modelValue.value=a:C.value=a}}),{textColorClasses:d,textColorStyles:g}=Xs(cn(()=>t.value&&!n.error&&!n.disabled?n.color:void 0)),{backgroundColorClasses:i,backgroundColorStyles:M}=Oo(cn(()=>t.value&&!n.error&&!n.disabled?n.color:void 0)),v=cn(()=>t.value?n.trueIcon:n.falseIcon);return{group:e,densityClasses:r,trueValue:D,falseValue:T,model:t,textColorClasses:d,textColorStyles:g,backgroundColorClasses:i,backgroundColorStyles:M,icon:v}}const Xd=Ar()({name:"VSelectionControl",directives:{Ripple:nd},inheritAttrs:!1,props:n1(),emits:{"update:modelValue":n=>!0},setup(n,e){let{attrs:r,slots:C}=e;const{group:D,densityClasses:T,icon:p,model:t,textColorClasses:d,textColorStyles:g,backgroundColorClasses:i,backgroundColorStyles:M,trueValue:v}=lN(n),f=Js(),l=cn(()=>n.id||`input-${f}`),a=Wr(!1),u=Wr(!1),o=Vr();D==null||D.onForceUpdate(()=>{o.value&&(o.value.checked=t.value)});function s(m){a.value=!0,l0(m.target,":focus-visible")!==!1&&(u.value=!0)}function c(){a.value=!1,u.value=!1}function h(m){n.readonly&&D&&Ua(()=>D.forceUpdate()),t.value=m.target.checked}return Or(()=>{var _,k;const m=C.label?C.label({label:n.label,props:{for:l.value}}):n.label,[w,y]=Qd(r),S=gt("input",qr({ref:o,checked:t.value,disabled:!!(n.readonly||n.disabled),id:l.value,onBlur:c,onFocus:s,onInput:h,"aria-disabled":!!(n.readonly||n.disabled),type:n.type,value:v.value,name:n.name,"aria-checked":n.type==="checkbox"?t.value:void 0},y),null);return gt("div",qr({class:["v-selection-control",{"v-selection-control--dirty":t.value,"v-selection-control--disabled":n.disabled,"v-selection-control--error":n.error,"v-selection-control--focused":a.value,"v-selection-control--focus-visible":u.value,"v-selection-control--inline":n.inline},T.value,n.class]},w,{style:n.style}),[gt("div",{class:["v-selection-control__wrapper",d.value],style:g.value},[(_=C.default)==null?void 0:_.call(C,{backgroundColorClasses:i,backgroundColorStyles:M}),Co(gt("div",{class:["v-selection-control__input"]},[((k=C.input)==null?void 0:k.call(C,{model:t,textColorClasses:d,textColorStyles:g,backgroundColorClasses:i,backgroundColorStyles:M,inputNode:S,icon:p.value,props:{onFocus:s,onBlur:c,id:l.value}}))??gt(Yr,null,[p.value&>(ja,{key:"icon",icon:p.value},null),S])]),[[Tu("ripple"),n.ripple&&[!n.disabled&&!n.readonly,null,["center","circle"]]]])]),m&>(C0,{for:l.value,clickable:!0,onClick:E=>E.stopPropagation()},{default:()=>[m]})])}),{isFocused:a,input:o}}}),oA=ur({indeterminate:Boolean,indeterminateIcon:{type:bi,default:"$checkboxIndeterminate"},...n1({falseIcon:"$checkboxOff",trueIcon:"$checkboxOn"})},"VCheckboxBtn"),h0=Ar()({name:"VCheckboxBtn",props:oA(),emits:{"update:modelValue":n=>!0,"update:indeterminate":n=>!0},setup(n,e){let{slots:r}=e;const C=xi(n,"indeterminate"),D=xi(n,"modelValue");function T(d){C.value&&(C.value=!1)}const p=cn(()=>C.value?n.indeterminateIcon:n.falseIcon),t=cn(()=>C.value?n.indeterminateIcon:n.trueIcon);return Or(()=>{const d=ic(Xd.filterProps(n)[0],["modelValue"]);return gt(Xd,qr(d,{modelValue:D.value,"onUpdate:modelValue":[g=>D.value=g,T],class:["v-checkbox-btn",n.class],style:n.style,type:"checkbox",falseIcon:p.value,trueIcon:t.value,"aria-checked":C.value?"mixed":void 0}),r)}),{}}});function sA(n){const{t:e}=oc();function r(C){let{name:D}=C;const T={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[D],p=n[`onClick:${D}`],t=p&&T?e(`$vuetify.input.${T}`,n.label??""):void 0;return gt(ja,{icon:n[`${D}Icon`],"aria-label":t,onClick:p},null)}return{InputIcon:r}}const uN=ur({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...Zr(),...df({transition:{component:l_,leaveAbsolute:!0,group:!0}})},"VMessages"),lA=Ar()({name:"VMessages",props:uN(),setup(n,e){let{slots:r}=e;const C=cn(()=>bu(n.messages)),{textColorClasses:D,textColorStyles:T}=Xs(cn(()=>n.color));return Or(()=>gt(Oc,{transition:n.transition,tag:"div",class:["v-messages",D.value,n.class],style:[T.value,n.style],role:"alert","aria-live":"polite"},{default:()=>[n.active&&C.value.map((p,t)=>gt("div",{class:"v-messages__message",key:`${t}-${C.value}`},[r.message?r.message({message:p}):p]))]})),{}}}),r1=ur({focused:Boolean,"onUpdate:focused":yh()},"focus");function rd(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff();const r=xi(n,"focused"),C=cn(()=>({[`${e}--focused`]:r.value}));function D(){r.value=!0}function T(){r.value=!1}return{focusClasses:C,isFocused:r,focus:D,blur:T}}const uA=Symbol.for("vuetify:form"),cN=ur({disabled:Boolean,fastFail:Boolean,readonly:Boolean,modelValue:{type:Boolean,default:null},validateOn:{type:String,default:"input"}},"form");function hN(n){const e=xi(n,"modelValue"),r=cn(()=>n.disabled),C=cn(()=>n.readonly),D=Wr(!1),T=Vr([]),p=Vr([]);async function t(){const i=[];let M=!0;p.value=[],D.value=!0;for(const v of T.value){const f=await v.validate();if(f.length>0&&(M=!1,i.push({id:v.id,errorMessages:f})),!M&&n.fastFail)break}return p.value=i,D.value=!1,{valid:M,errors:p.value}}function d(){T.value.forEach(i=>i.reset())}function g(){T.value.forEach(i=>i.resetValidation())}return $r(T,()=>{let i=0,M=0;const v=[];for(const f of T.value)f.isValid===!1?(M++,v.push({id:f.id,errorMessages:f.errorMessages})):f.isValid===!0&&i++;p.value=v,e.value=M>0?!1:i===T.value.length?!0:null},{deep:!0}),ts(uA,{register:i=>{let{id:M,validate:v,reset:f,resetValidation:l}=i;T.value.some(a=>a.id===M),T.value.push({id:M,validate:v,reset:f,resetValidation:l,isValid:null,errorMessages:[]})},unregister:i=>{T.value=T.value.filter(M=>M.id!==i)},update:(i,M,v)=>{const f=T.value.find(l=>l.id===i);f&&(f.isValid=M,f.errorMessages=v)},isDisabled:r,isReadonly:C,isValidating:D,isValid:e,items:T,validateOn:Cr(n,"validateOn")}),{errors:p,isDisabled:r,isReadonly:C,isValidating:D,isValid:e,items:T,validate:t,reset:d,resetValidation:g}}function i1(){return ka(uA,null)}const cA=ur({disabled:{type:Boolean,default:null},error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,label:String,readonly:{type:Boolean,default:null},rules:{type:Array,default:()=>[]},modelValue:null,validateOn:String,validationValue:null,...r1()},"validation");function hA(n){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ff(),r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Js();const C=xi(n,"modelValue"),D=cn(()=>n.validationValue===void 0?C.value:n.validationValue),T=i1(),p=Vr([]),t=Wr(!0),d=cn(()=>!!(bu(C.value===""?null:C.value).length||bu(D.value===""?null:D.value).length)),g=cn(()=>!!(n.disabled??(T==null?void 0:T.isDisabled.value))),i=cn(()=>!!(n.readonly??(T==null?void 0:T.isReadonly.value))),M=cn(()=>n.errorMessages.length?bu(n.errorMessages).slice(0,Math.max(0,+n.maxErrors)):p.value),v=cn(()=>{let h=(n.validateOn??(T==null?void 0:T.validateOn.value))||"input";h==="lazy"&&(h="input lazy");const m=new Set((h==null?void 0:h.split(" "))??[]);return{blur:m.has("blur")||m.has("input"),input:m.has("input"),submit:m.has("submit"),lazy:m.has("lazy")}}),f=cn(()=>n.error||n.errorMessages.length?!1:n.rules.length?t.value?p.value.length||v.value.lazy?null:!0:!p.value.length:!0),l=Wr(!1),a=cn(()=>({[`${e}--error`]:f.value===!1,[`${e}--dirty`]:d.value,[`${e}--disabled`]:g.value,[`${e}--readonly`]:i.value})),u=cn(()=>n.name??yu(r));Sy(()=>{T==null||T.register({id:u.value,validate:c,reset:o,resetValidation:s})}),Tl(()=>{T==null||T.unregister(u.value)}),Ks(async()=>{v.value.lazy||await c(!0),T==null||T.update(u.value,f.value,M.value)}),$f(()=>v.value.input,()=>{$r(D,()=>{if(D.value!=null)c();else if(n.focused){const h=$r(()=>n.focused,m=>{m||c(),h()})}})}),$f(()=>v.value.blur,()=>{$r(()=>n.focused,h=>{h||c()})}),$r(f,()=>{T==null||T.update(u.value,f.value,M.value)});function o(){C.value=null,Ua(s)}function s(){t.value=!0,v.value.lazy?p.value=[]:c(!0)}async function c(){let h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const m=[];l.value=!0;for(const w of n.rules){if(m.length>=+(n.maxErrors??1))break;const S=await(typeof w=="function"?w:()=>w)(D.value);if(S!==!0){if(S!==!1&&typeof S!="string"){console.warn(`${S} is not a valid value. Rule functions must return boolean true or a string.`);continue}m.push(S||"")}}return p.value=m,l.value=!1,t.value=h,p.value}return{errorMessages:M,isDirty:d,isDisabled:g,isReadonly:i,isPristine:t,isValid:f,isValidating:l,reset:o,resetValidation:s,validate:c,validationClasses:a}}const mf=ur({id:String,appendIcon:bi,centerAffix:{type:Boolean,default:!0},prependIcon:bi,hideDetails:[Boolean,String],hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:n=>["horizontal","vertical"].includes(n)},"onClick:prepend":yh(),"onClick:append":yh(),...Zr(),...ds(),...cA()},"VInput"),Bs=Ar()({name:"VInput",props:{...mf()},emits:{"update:modelValue":n=>!0},setup(n,e){let{attrs:r,slots:C,emit:D}=e;const{densityClasses:T}=Qs(n),{rtlClasses:p}=Cs(),{InputIcon:t}=sA(n),d=Js(),g=cn(()=>n.id||`input-${d}`),i=cn(()=>`${g.value}-messages`),{errorMessages:M,isDirty:v,isDisabled:f,isReadonly:l,isPristine:a,isValid:u,isValidating:o,reset:s,resetValidation:c,validate:h,validationClasses:m}=hA(n,"v-input",g),w=cn(()=>({id:g,messagesId:i,isDirty:v,isDisabled:f,isReadonly:l,isPristine:a,isValid:u,isValidating:o,reset:s,resetValidation:c,validate:h})),y=cn(()=>{var S;return(S=n.errorMessages)!=null&&S.length||!a.value&&M.value.length?M.value:n.hint&&(n.persistentHint||n.focused)?n.hint:n.messages});return Or(()=>{var x,A,L,b;const S=!!(C.prepend||n.prependIcon),_=!!(C.append||n.appendIcon),k=y.value.length>0,E=!n.hideDetails||n.hideDetails==="auto"&&(k||!!C.details);return gt("div",{class:["v-input",`v-input--${n.direction}`,{"v-input--center-affix":n.centerAffix},T.value,p.value,m.value,n.class],style:n.style},[S&>("div",{key:"prepend",class:"v-input__prepend"},[(x=C.prepend)==null?void 0:x.call(C,w.value),n.prependIcon&>(t,{key:"prepend-icon",name:"prepend"},null)]),C.default&>("div",{class:"v-input__control"},[(A=C.default)==null?void 0:A.call(C,w.value)]),_&>("div",{key:"append",class:"v-input__append"},[n.appendIcon&>(t,{key:"append-icon",name:"append"},null),(L=C.append)==null?void 0:L.call(C,w.value)]),E&>("div",{class:"v-input__details"},[gt(lA,{id:i.value,active:k,messages:y.value},{message:C.message}),(b=C.details)==null?void 0:b.call(C,w.value)])])}),{reset:s,resetValidation:c,validate:h}}}),fN=ur({...mf(),...ic(oA(),["inline"])},"VCheckbox"),dN=Ar()({name:"VCheckbox",inheritAttrs:!1,props:fN(),emits:{"update:modelValue":n=>!0,"update:focused":n=>!0},setup(n,e){let{attrs:r,slots:C}=e;const D=xi(n,"modelValue"),{isFocused:T,focus:p,blur:t}=rd(n),d=Js(),g=cn(()=>n.id||`checkbox-${d}`);return Or(()=>{const[i,M]=Qd(r),[v,f]=Bs.filterProps(n),[l,a]=h0.filterProps(n);return gt(Bs,qr({class:["v-checkbox",n.class]},i,v,{modelValue:D.value,"onUpdate:modelValue":u=>D.value=u,id:g.value,focused:T.value,style:n.style}),{...C,default:u=>{let{id:o,messagesId:s,isDisabled:c,isReadonly:h}=u;return gt(h0,qr(l,{id:o.value,"aria-describedby":s.value,disabled:c.value,readonly:h.value},M,{modelValue:D.value,"onUpdate:modelValue":m=>D.value=m,onFocus:p,onBlur:t}),C)}})}),{}}});const pN=ur({start:Boolean,end:Boolean,icon:bi,image:String,...Zr(),...ds(),...lo(),...pf(),...Si(),...oa(),...cc({variant:"flat"})},"VAvatar"),Zf=Ar()({name:"VAvatar",props:pN(),setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{colorClasses:D,colorStyles:T,variantClasses:p}=rp(n),{densityClasses:t}=Qs(n),{roundedClasses:d}=Eo(n),{sizeClasses:g,sizeStyles:i}=M0(n);return Or(()=>gt(n.tag,{class:["v-avatar",{"v-avatar--start":n.start,"v-avatar--end":n.end},C.value,D.value,t.value,d.value,g.value,p.value,n.class],style:[T.value,i.value,n.style]},{default:()=>{var M;return[n.image?gt(Zd,{key:"image",src:n.image,alt:"",cover:!0},null):n.icon?gt(ja,{key:"icon",icon:n.icon},null):(M=r.default)==null?void 0:M.call(r),np(!1,"v-avatar")]}})),{}}});const fA=Symbol.for("vuetify:v-chip-group"),mN=ur({column:Boolean,filter:Boolean,valueComparator:{type:Function,default:b0},...Zr(),...w0({selectedClass:"v-chip--selected"}),...Si(),...oa(),...cc({variant:"tonal"})},"VChipGroup"),gN=Ar()({name:"VChipGroup",props:mN(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{isSelected:D,select:T,next:p,prev:t,selected:d}=ip(n,fA);return es({VChip:{color:Cr(n,"color"),disabled:Cr(n,"disabled"),filter:Cr(n,"filter"),variant:Cr(n,"variant")}}),Or(()=>gt(n.tag,{class:["v-chip-group",{"v-chip-group--column":n.column},C.value,n.class],style:n.style},{default:()=>{var g;return[(g=r.default)==null?void 0:g.call(r,{isSelected:D,select:T,next:p,prev:t,selected:d.value})]}})),{}}}),vN=ur({activeClass:String,appendAvatar:String,appendIcon:bi,closable:Boolean,closeIcon:{type:bi,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:{type:Boolean,default:void 0},pill:Boolean,prependAvatar:String,prependIcon:bi,ripple:{type:[Boolean,Object],default:!0},text:String,modelValue:{type:Boolean,default:!0},onClick:yh(),onClickOnce:yh(),...Su(),...Zr(),...ds(),...fs(),...T0(),...lo(),...lg(),...pf(),...Si({tag:"span"}),...oa(),...cc({variant:"tonal"})},"VChip"),ug=Ar()({name:"VChip",directives:{Ripple:nd},props:vN(),emits:{"click:close":n=>!0,"update:modelValue":n=>!0,"group:selected":n=>!0,click:n=>!0},setup(n,e){let{attrs:r,emit:C,slots:D}=e;const{t:T}=oc(),{borderClasses:p}=uc(n),{colorClasses:t,colorStyles:d,variantClasses:g}=rp(n),{densityClasses:i}=Qs(n),{elevationClasses:M}=Vs(n),{roundedClasses:v}=Eo(n),{sizeClasses:f}=M0(n),{themeClasses:l}=Ma(n),a=xi(n,"modelValue"),u=k0(n,fA,!1),o=sg(n,r),s=cn(()=>n.link!==!1&&o.isLink.value),c=cn(()=>!n.disabled&&n.link!==!1&&(!!u||n.link||o.isClickable.value)),h=cn(()=>({"aria-label":T(n.closeLabel),onClick(y){y.stopPropagation(),a.value=!1,C("click:close",y)}}));function m(y){var S;C("click",y),c.value&&((S=o.navigate)==null||S.call(o,y),u==null||u.toggle())}function w(y){(y.key==="Enter"||y.key===" ")&&(y.preventDefault(),m(y))}return()=>{const y=o.isLink.value?"a":n.tag,S=!!(n.appendIcon||n.appendAvatar),_=!!(S||D.append),k=!!(D.close||n.closable),E=!!(D.filter||n.filter)&&u,x=!!(n.prependIcon||n.prependAvatar),A=!!(x||D.prepend),L=!u||u.isSelected.value;return a.value&&Co(gt(y,{class:["v-chip",{"v-chip--disabled":n.disabled,"v-chip--label":n.label,"v-chip--link":c.value,"v-chip--filter":E,"v-chip--pill":n.pill},l.value,p.value,L?t.value:void 0,i.value,M.value,v.value,f.value,g.value,u==null?void 0:u.selectedClass.value,n.class],style:[L?d.value:void 0,n.style],disabled:n.disabled||void 0,draggable:n.draggable,href:o.href.value,tabindex:c.value?0:void 0,onClick:m,onKeydown:c.value&&!s.value&&w},{default:()=>{var b;return[np(c.value,"v-chip"),E&>(u_,{key:"filter"},{default:()=>[Co(gt("div",{class:"v-chip__filter"},[D.filter?gt(Fa,{key:"filter-defaults",disabled:!n.filterIcon,defaults:{VIcon:{icon:n.filterIcon}}},D.filter):gt(ja,{key:"filter-icon",icon:n.filterIcon},null)]),[[kh,u.isSelected.value]])]}),A&>("div",{key:"prepend",class:"v-chip__prepend"},[D.prepend?gt(Fa,{key:"prepend-defaults",disabled:!x,defaults:{VAvatar:{image:n.prependAvatar,start:!0},VIcon:{icon:n.prependIcon,start:!0}}},D.prepend):gt(Yr,null,[n.prependIcon&>(ja,{key:"prepend-icon",icon:n.prependIcon,start:!0},null),n.prependAvatar&>(Zf,{key:"prepend-avatar",image:n.prependAvatar,start:!0},null)])]),gt("div",{class:"v-chip__content"},[((b=D.default)==null?void 0:b.call(D,{isSelected:u==null?void 0:u.isSelected.value,selectedClass:u==null?void 0:u.selectedClass.value,select:u==null?void 0:u.select,toggle:u==null?void 0:u.toggle,value:u==null?void 0:u.value.value,disabled:n.disabled}))??n.text]),_&>("div",{key:"append",class:"v-chip__append"},[D.append?gt(Fa,{key:"append-defaults",disabled:!S,defaults:{VAvatar:{end:!0,image:n.appendAvatar},VIcon:{end:!0,icon:n.appendIcon}}},D.append):gt(Yr,null,[n.appendIcon&>(ja,{key:"append-icon",end:!0,icon:n.appendIcon},null),n.appendAvatar&>(Zf,{key:"append-avatar",end:!0,image:n.appendAvatar},null)])]),k&>("div",qr({key:"close",class:"v-chip__close"},h.value),[D.close?gt(Fa,{key:"close-defaults",defaults:{VIcon:{icon:n.closeIcon,size:"x-small"}}},D.close):gt(ja,{key:"close-icon",icon:n.closeIcon,size:"x-small"},null)])]}}),[[Tu("ripple"),c.value&&n.ripple,null]])}}});const wx=Symbol.for("vuetify:list");function dA(){const n=ka(wx,{hasPrepend:Wr(!1),updateHasPrepend:()=>null}),e={hasPrepend:Wr(!1),updateHasPrepend:r=>{r&&(e.hasPrepend.value=r)}};return ts(wx,e),n}function pA(){return ka(wx,null)}const yN={open:n=>{let{id:e,value:r,opened:C,parents:D}=n;if(r){const T=new Set;T.add(e);let p=D.get(e);for(;p!=null;)T.add(p),p=D.get(p);return T}else return C.delete(e),C},select:()=>null},mA={open:n=>{let{id:e,value:r,opened:C,parents:D}=n;if(r){let T=D.get(e);for(C.add(e);T!=null&&T!==e;)C.add(T),T=D.get(T);return C}else C.delete(e);return C},select:()=>null},bN={open:mA.open,select:n=>{let{id:e,value:r,opened:C,parents:D}=n;if(!r)return C;const T=[];let p=D.get(e);for(;p!=null;)T.push(p),p=D.get(p);return new Set(T)}},b_=n=>{const e={select:r=>{let{id:C,value:D,selected:T}=r;if(C=wi(C),n&&!D){const p=Array.from(T.entries()).reduce((t,d)=>{let[g,i]=d;return i==="on"?[...t,g]:t},[]);if(p.length===1&&p[0]===C)return T}return T.set(C,D?"on":"off"),T},in:(r,C,D)=>{let T=new Map;for(const p of r||[])T=e.select({id:p,value:!0,selected:new Map(T),children:C,parents:D});return T},out:r=>{const C=[];for(const[D,T]of r.entries())T==="on"&&C.push(D);return C}};return e},gA=n=>{const e=b_(n);return{select:C=>{let{selected:D,id:T,...p}=C;T=wi(T);const t=D.has(T)?new Map([[T,D.get(T)]]):new Map;return e.select({...p,id:T,selected:t})},in:(C,D,T)=>{let p=new Map;return C!=null&&C.length&&(p=e.in(C.slice(0,1),D,T)),p},out:(C,D,T)=>e.out(C,D,T)}},xN=n=>{const e=b_(n);return{select:C=>{let{id:D,selected:T,children:p,...t}=C;return D=wi(D),p.has(D)?T:e.select({id:D,selected:T,children:p,...t})},in:e.in,out:e.out}},_N=n=>{const e=gA(n);return{select:C=>{let{id:D,selected:T,children:p,...t}=C;return D=wi(D),p.has(D)?T:e.select({id:D,selected:T,children:p,...t})},in:e.in,out:e.out}},wN=n=>{const e={select:r=>{let{id:C,value:D,selected:T,children:p,parents:t}=r;C=wi(C);const d=new Map(T),g=[C];for(;g.length;){const M=g.shift();T.set(M,D?"on":"off"),p.has(M)&&g.push(...p.get(M))}let i=t.get(C);for(;i;){const M=p.get(i),v=M.every(l=>T.get(l)==="on"),f=M.every(l=>!T.has(l)||T.get(l)==="off");T.set(i,v?"on":f?"off":"indeterminate"),i=t.get(i)}return n&&!D&&Array.from(T.entries()).reduce((v,f)=>{let[l,a]=f;return a==="on"?[...v,l]:v},[]).length===0?d:T},in:(r,C,D)=>{let T=new Map;for(const p of r||[])T=e.select({id:p,value:!0,selected:new Map(T),children:C,parents:D});return T},out:(r,C)=>{const D=[];for(const[T,p]of r.entries())p==="on"&&!C.has(T)&&D.push(T);return D}};return e},Vm=Symbol.for("vuetify:nested"),vA={id:Wr(),root:{register:()=>null,unregister:()=>null,parents:Vr(new Map),children:Vr(new Map),open:()=>null,openOnSelect:()=>null,select:()=>null,opened:Vr(new Set),selected:Vr(new Map),selectedValues:Vr([])}},TN=ur({selectStrategy:[String,Function],openStrategy:[String,Object],opened:Array,selected:Array,mandatory:Boolean},"nested"),kN=n=>{let e=!1;const r=Vr(new Map),C=Vr(new Map),D=xi(n,"opened",n.opened,M=>new Set(M),M=>[...M.values()]),T=cn(()=>{if(typeof n.selectStrategy=="object")return n.selectStrategy;switch(n.selectStrategy){case"single-leaf":return _N(n.mandatory);case"leaf":return xN(n.mandatory);case"independent":return b_(n.mandatory);case"single-independent":return gA(n.mandatory);case"classic":default:return wN(n.mandatory)}}),p=cn(()=>{if(typeof n.openStrategy=="object")return n.openStrategy;switch(n.openStrategy){case"list":return bN;case"single":return yN;case"multiple":default:return mA}}),t=xi(n,"selected",n.selected,M=>T.value.in(M,r.value,C.value),M=>T.value.out(M,r.value,C.value));Tl(()=>{e=!0});function d(M){const v=[];let f=M;for(;f!=null;)v.unshift(f),f=C.value.get(f);return v}const g=Ss("nested"),i={id:Wr(),root:{opened:D,selected:t,selectedValues:cn(()=>{const M=[];for(const[v,f]of t.value.entries())f==="on"&&M.push(v);return M}),register:(M,v,f)=>{v&&M!==v&&C.value.set(M,v),f&&r.value.set(M,[]),v!=null&&r.value.set(v,[...r.value.get(v)||[],M])},unregister:M=>{if(e)return;r.value.delete(M);const v=C.value.get(M);if(v){const f=r.value.get(v)??[];r.value.set(v,f.filter(l=>l!==M))}C.value.delete(M),D.value.delete(M)},open:(M,v,f)=>{g.emit("click:open",{id:M,value:v,path:d(M),event:f});const l=p.value.open({id:M,value:v,opened:new Set(D.value),children:r.value,parents:C.value,event:f});l&&(D.value=l)},openOnSelect:(M,v,f)=>{const l=p.value.select({id:M,value:v,selected:new Map(t.value),opened:new Set(D.value),children:r.value,parents:C.value,event:f});l&&(D.value=l)},select:(M,v,f)=>{g.emit("click:select",{id:M,value:v,path:d(M),event:f});const l=T.value.select({id:M,value:v,selected:new Map(t.value),children:r.value,parents:C.value,event:f});l&&(t.value=l),i.root.openOnSelect(M,v,f)},children:r,parents:C}};return ts(Vm,i),i.root},yA=(n,e)=>{const r=ka(Vm,vA),C=Symbol(Js()),D=cn(()=>n.value!==void 0?n.value:C),T={...r,id:D,open:(p,t)=>r.root.open(D.value,p,t),openOnSelect:(p,t)=>r.root.openOnSelect(D.value,p,t),isOpen:cn(()=>r.root.opened.value.has(D.value)),parent:cn(()=>r.root.parents.value.get(D.value)),select:(p,t)=>r.root.select(D.value,p,t),isSelected:cn(()=>r.root.selected.value.get(wi(D.value))==="on"),isIndeterminate:cn(()=>r.root.selected.value.get(D.value)==="indeterminate"),isLeaf:cn(()=>!r.root.children.value.get(D.value)),isGroupActivator:r.isGroupActivator};return!r.isGroupActivator&&r.root.register(D.value,r.id.value,e),Tl(()=>{!r.isGroupActivator&&r.root.unregister(D.value)}),e&&ts(Vm,T),T},MN=()=>{const n=ka(Vm,vA);ts(Vm,{...n,isGroupActivator:!0})},AN=ac({name:"VListGroupActivator",setup(n,e){let{slots:r}=e;return MN(),()=>{var C;return(C=r.default)==null?void 0:C.call(r)}}}),SN=ur({activeColor:String,baseColor:String,color:String,collapseIcon:{type:bi,default:"$collapse"},expandIcon:{type:bi,default:"$expand"},prependIcon:bi,appendIcon:bi,fluid:Boolean,subgroup:Boolean,title:String,value:null,...Zr(),...Si()},"VListGroup"),Tx=Ar()({name:"VListGroup",props:SN(),setup(n,e){let{slots:r}=e;const{isOpen:C,open:D,id:T}=yA(Cr(n,"value"),!0),p=cn(()=>`v-list-group--id-${String(T.value)}`),t=pA(),{isBooted:d}=tp();function g(f){D(!C.value,f)}const i=cn(()=>({onClick:g,class:"v-list-group__header",id:p.value})),M=cn(()=>C.value?n.collapseIcon:n.expandIcon),v=cn(()=>({VListItem:{active:C.value,activeColor:n.activeColor,baseColor:n.baseColor,color:n.color,prependIcon:n.prependIcon||n.subgroup&&M.value,appendIcon:n.appendIcon||!n.subgroup&&M.value,title:n.title,value:n.value}}));return Or(()=>gt(n.tag,{class:["v-list-group",{"v-list-group--prepend":t==null?void 0:t.hasPrepend.value,"v-list-group--fluid":n.fluid,"v-list-group--subgroup":n.subgroup,"v-list-group--open":C.value},n.class],style:n.style},{default:()=>[r.activator&>(Fa,{defaults:v.value},{default:()=>[gt(AN,null,{default:()=>[r.activator({props:i.value,isOpen:C.value})]})]}),gt(Oc,{transition:{component:e1},disabled:!d.value},{default:()=>{var f;return[Co(gt("div",{class:"v-list-group__items",role:"group","aria-labelledby":p.value},[(f=r.default)==null?void 0:f.call(r)]),[[kh,C.value]])]}})]})),{}}});const bA=Nc("v-list-item-subtitle"),xA=Nc("v-list-item-title"),CN=ur({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:bi,baseColor:String,disabled:Boolean,lines:String,link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:bi,ripple:{type:[Boolean,Object],default:!0},subtitle:[String,Number,Boolean],title:[String,Number,Boolean],value:null,onClick:yh(),onClickOnce:yh(),...Su(),...Zr(),...ds(),...sc(),...fs(),...lo(),...lg(),...Si(),...oa(),...cc({variant:"text"})},"VListItem"),af=Ar()({name:"VListItem",directives:{Ripple:nd},props:CN(),emits:{click:n=>!0},setup(n,e){let{attrs:r,slots:C,emit:D}=e;const T=sg(n,r),p=cn(()=>n.value===void 0?T.href.value:n.value),{select:t,isSelected:d,isIndeterminate:g,isGroupActivator:i,root:M,parent:v,openOnSelect:f}=yA(p,!1),l=pA(),a=cn(()=>{var O;return n.active!==!1&&(n.active||((O=T.isActive)==null?void 0:O.value)||d.value)}),u=cn(()=>n.link!==!1&&T.isLink.value),o=cn(()=>!n.disabled&&n.link!==!1&&(n.link||T.isClickable.value||n.value!=null&&!!l)),s=cn(()=>n.rounded||n.nav),c=cn(()=>n.color??n.activeColor),h=cn(()=>({color:a.value?c.value??n.baseColor:n.baseColor,variant:n.variant}));$r(()=>{var O;return(O=T.isActive)==null?void 0:O.value},O=>{O&&v.value!=null&&M.open(v.value,!0),O&&f(O)},{immediate:!0});const{themeClasses:m}=Ma(n),{borderClasses:w}=uc(n),{colorClasses:y,colorStyles:S,variantClasses:_}=rp(h),{densityClasses:k}=Qs(n),{dimensionStyles:E}=lc(n),{elevationClasses:x}=Vs(n),{roundedClasses:A}=Eo(s),L=cn(()=>n.lines?`v-list-item--${n.lines}-line`:void 0),b=cn(()=>({isActive:a.value,select:t,isSelected:d.value,isIndeterminate:g.value}));function R(O){var z;D("click",O),!(i||!o.value)&&((z=T.navigate)==null||z.call(T,O),n.value!=null&&t(!d.value,O))}function I(O){(O.key==="Enter"||O.key===" ")&&(O.preventDefault(),R(O))}return Or(()=>{const O=u.value?"a":n.tag,z=C.title||n.title,F=C.subtitle||n.subtitle,B=!!(n.appendAvatar||n.appendIcon),N=!!(B||C.append),W=!!(n.prependAvatar||n.prependIcon),j=!!(W||C.prepend);return l==null||l.updateHasPrepend(j),n.activeColor&&rF("active-color",["color","base-color"]),Co(gt(O,{class:["v-list-item",{"v-list-item--active":a.value,"v-list-item--disabled":n.disabled,"v-list-item--link":o.value,"v-list-item--nav":n.nav,"v-list-item--prepend":!j&&(l==null?void 0:l.hasPrepend.value),[`${n.activeClass}`]:n.activeClass&&a.value},m.value,w.value,y.value,k.value,x.value,L.value,A.value,_.value,n.class],style:[S.value,E.value,n.style],href:T.href.value,tabindex:o.value?l?-2:0:void 0,onClick:R,onKeydown:o.value&&!u.value&&I},{default:()=>{var $;return[np(o.value||a.value,"v-list-item"),j&>("div",{key:"prepend",class:"v-list-item__prepend"},[C.prepend?gt(Fa,{key:"prepend-defaults",disabled:!W,defaults:{VAvatar:{density:n.density,image:n.prependAvatar},VIcon:{density:n.density,icon:n.prependIcon},VListItemAction:{start:!0}}},{default:()=>{var U;return[(U=C.prepend)==null?void 0:U.call(C,b.value)]}}):gt(Yr,null,[n.prependAvatar&>(Zf,{key:"prepend-avatar",density:n.density,image:n.prependAvatar},null),n.prependIcon&>(ja,{key:"prepend-icon",density:n.density,icon:n.prependIcon},null)]),gt("div",{class:"v-list-item__spacer"},null)]),gt("div",{class:"v-list-item__content","data-no-activator":""},[z&>(xA,{key:"title"},{default:()=>{var U;return[((U=C.title)==null?void 0:U.call(C,{title:n.title}))??n.title]}}),F&>(bA,{key:"subtitle"},{default:()=>{var U;return[((U=C.subtitle)==null?void 0:U.call(C,{subtitle:n.subtitle}))??n.subtitle]}}),($=C.default)==null?void 0:$.call(C,b.value)]),N&>("div",{key:"append",class:"v-list-item__append"},[C.append?gt(Fa,{key:"append-defaults",disabled:!B,defaults:{VAvatar:{density:n.density,image:n.appendAvatar},VIcon:{density:n.density,icon:n.appendIcon},VListItemAction:{end:!0}}},{default:()=>{var U;return[(U=C.append)==null?void 0:U.call(C,b.value)]}}):gt(Yr,null,[n.appendIcon&>(ja,{key:"append-icon",density:n.density,icon:n.appendIcon},null),n.appendAvatar&>(Zf,{key:"append-avatar",density:n.density,image:n.appendAvatar},null)]),gt("div",{class:"v-list-item__spacer"},null)])]}}),[[Tu("ripple"),o.value&&n.ripple]])}),{}}}),EN=ur({color:String,inset:Boolean,sticky:Boolean,title:String,...Zr(),...Si()},"VListSubheader"),_A=Ar()({name:"VListSubheader",props:EN(),setup(n,e){let{slots:r}=e;const{textColorClasses:C,textColorStyles:D}=Xs(Cr(n,"color"));return Or(()=>{const T=!!(r.default||n.title);return gt(n.tag,{class:["v-list-subheader",{"v-list-subheader--inset":n.inset,"v-list-subheader--sticky":n.sticky},C.value,n.class],style:[{textColorStyles:D},n.style]},{default:()=>{var p;return[T&>("div",{class:"v-list-subheader__text"},[((p=r.default)==null?void 0:p.call(r))??n.title])]}})}),{}}});const LN=ur({color:String,inset:Boolean,length:[Number,String],thickness:[Number,String],vertical:Boolean,...Zr(),...oa()},"VDivider"),wA=Ar()({name:"VDivider",props:LN(),setup(n,e){let{attrs:r}=e;const{themeClasses:C}=Ma(n),{textColorClasses:D,textColorStyles:T}=Xs(Cr(n,"color")),p=cn(()=>{const t={};return n.length&&(t[n.vertical?"maxHeight":"maxWidth"]=Qr(n.length)),n.thickness&&(t[n.vertical?"borderRightWidth":"borderTopWidth"]=Qr(n.thickness)),t});return Or(()=>gt("hr",{class:[{"v-divider":!0,"v-divider--inset":n.inset,"v-divider--vertical":n.vertical},C.value,D.value,n.class],style:[p.value,T.value,n.style],"aria-orientation":!r.role||r.role==="separator"?n.vertical?"vertical":"horizontal":void 0,role:`${r.role||"separator"}`},null)),{}}}),IN=ur({items:Array},"VListChildren"),TA=Ar()({name:"VListChildren",props:IN(),setup(n,e){let{slots:r}=e;return dA(),()=>{var C,D;return((C=r.default)==null?void 0:C.call(r))??((D=n.items)==null?void 0:D.map(T=>{var f,l;let{children:p,props:t,type:d,raw:g}=T;if(d==="divider")return((f=r.divider)==null?void 0:f.call(r,{props:t}))??gt(wA,t,null);if(d==="subheader")return((l=r.subheader)==null?void 0:l.call(r,{props:t}))??gt(_A,t,null);const i={subtitle:r.subtitle?a=>{var u;return(u=r.subtitle)==null?void 0:u.call(r,{...a,item:g})}:void 0,prepend:r.prepend?a=>{var u;return(u=r.prepend)==null?void 0:u.call(r,{...a,item:g})}:void 0,append:r.append?a=>{var u;return(u=r.append)==null?void 0:u.call(r,{...a,item:g})}:void 0,title:r.title?a=>{var u;return(u=r.title)==null?void 0:u.call(r,{...a,item:g})}:void 0},[M,v]=Tx.filterProps(t);return p?gt(Tx,qr({value:t==null?void 0:t.value},M),{activator:a=>{let{props:u}=a;return r.header?r.header({props:{...t,...u}}):gt(af,qr(t,u),i)},default:()=>gt(TA,{items:p},r)}):r.item?r.item({props:t}):gt(af,t,i)}))}}}),kA=ur({items:{type:Array,default:()=>[]},itemTitle:{type:[String,Array,Function],default:"title"},itemValue:{type:[String,Array,Function],default:"value"},itemChildren:{type:[Boolean,String,Array,Function],default:"children"},itemProps:{type:[Boolean,String,Array,Function],default:"props"},returnObject:Boolean,valueComparator:{type:Function,default:b0}},"list-items");function zd(n,e){const r=ph(e,n.itemTitle,e),C=ph(e,n.itemValue,r),D=ph(e,n.itemChildren),T=n.itemProps===!0?typeof e=="object"&&e!=null&&!Array.isArray(e)?"children"in e?$d(e,["children"])[1]:e:void 0:ph(e,n.itemProps),p={title:r,value:C,...T};return{title:String(p.title??""),value:p.value,props:p,children:Array.isArray(D)?MA(n,D):void 0,raw:e}}function MA(n,e){const r=[];for(const C of e)r.push(zd(n,C));return r}function x_(n){const e=cn(()=>MA(n,n.items)),r=cn(()=>e.value.some(T=>T.value===null));function C(T){return r.value||(T=T.filter(p=>p!==null)),T.map(p=>n.returnObject&&typeof p=="string"?zd(n,p):e.value.find(t=>n.valueComparator(p,t.value))||zd(n,p))}function D(T){return n.returnObject?T.map(p=>{let{raw:t}=p;return t}):T.map(p=>{let{value:t}=p;return t})}return{items:e,transformIn:C,transformOut:D}}function RN(n){return typeof n=="string"||typeof n=="number"||typeof n=="boolean"}function PN(n,e){const r=ph(e,n.itemType,"item"),C=RN(e)?e:ph(e,n.itemTitle),D=ph(e,n.itemValue,void 0),T=ph(e,n.itemChildren),p=n.itemProps===!0?$d(e,["children"])[1]:ph(e,n.itemProps),t={title:C,value:D,...p};return{type:r,title:t.title,value:t.value,props:t,children:r==="item"&&T?AA(n,T):void 0,raw:e}}function AA(n,e){const r=[];for(const C of e)r.push(PN(n,C));return r}function ON(n){return{items:cn(()=>AA(n,n.items))}}const DN=ur({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,lines:{type:[Boolean,String],default:"one"},nav:Boolean,...TN({selectStrategy:"single-leaf",openStrategy:"list"}),...Su(),...Zr(),...ds(),...sc(),...fs(),itemType:{type:String,default:"type"},...kA(),...lo(),...Si(),...oa(),...cc({variant:"text"})},"VList"),a1=Ar()({name:"VList",props:DN(),emits:{"update:selected":n=>!0,"update:opened":n=>!0,"click:open":n=>!0,"click:select":n=>!0},setup(n,e){let{slots:r}=e;const{items:C}=ON(n),{themeClasses:D}=Ma(n),{backgroundColorClasses:T,backgroundColorStyles:p}=Oo(Cr(n,"bgColor")),{borderClasses:t}=uc(n),{densityClasses:d}=Qs(n),{dimensionStyles:g}=lc(n),{elevationClasses:i}=Vs(n),{roundedClasses:M}=Eo(n),{open:v,select:f}=kN(n),l=cn(()=>n.lines?`v-list--${n.lines}-line`:void 0),a=Cr(n,"activeColor"),u=Cr(n,"baseColor"),o=Cr(n,"color");dA(),es({VListGroup:{activeColor:a,baseColor:u,color:o},VListItem:{activeClass:Cr(n,"activeClass"),activeColor:a,baseColor:u,color:o,density:Cr(n,"density"),disabled:Cr(n,"disabled"),lines:Cr(n,"lines"),nav:Cr(n,"nav"),variant:Cr(n,"variant")}});const s=Wr(!1),c=Vr();function h(_){s.value=!0}function m(_){s.value=!1}function w(_){var k;!s.value&&!(_.relatedTarget&&((k=c.value)!=null&&k.contains(_.relatedTarget)))&&S()}function y(_){if(c.value){if(_.key==="ArrowDown")S("next");else if(_.key==="ArrowUp")S("prev");else if(_.key==="Home")S("first");else if(_.key==="End")S("last");else return;_.preventDefault()}}function S(_){if(c.value)return uy(c.value,_)}return Or(()=>gt(n.tag,{ref:c,class:["v-list",{"v-list--disabled":n.disabled,"v-list--nav":n.nav},D.value,T.value,t.value,d.value,i.value,l.value,M.value,n.class],style:[p.value,g.value,n.style],tabindex:n.disabled||s.value?-1:0,role:"listbox","aria-activedescendant":void 0,onFocusin:h,onFocusout:m,onFocus:w,onKeydown:y},{default:()=>[gt(TA,{items:C.value},r)]})),{open:v,select:f,focus:S}}}),zN=Nc("v-list-img"),FN=ur({start:Boolean,end:Boolean,...Zr(),...Si()},"VListItemAction"),BN=Ar()({name:"VListItemAction",props:FN(),setup(n,e){let{slots:r}=e;return Or(()=>gt(n.tag,{class:["v-list-item-action",{"v-list-item-action--start":n.start,"v-list-item-action--end":n.end},n.class],style:n.style},r)),{}}}),NN=ur({start:Boolean,end:Boolean,...Zr(),...Si()},"VListItemMedia"),VN=Ar()({name:"VListItemMedia",props:NN(),setup(n,e){let{slots:r}=e;return Or(()=>gt(n.tag,{class:["v-list-item-media",{"v-list-item-media--start":n.start,"v-list-item-media--end":n.end},n.class],style:n.style},r)),{}}});function xb(n,e){return{x:n.x+e.x,y:n.y+e.y}}function jN(n,e){return{x:n.x-e.x,y:n.y-e.y}}function tT(n,e){if(n.side==="top"||n.side==="bottom"){const{side:r,align:C}=n,D=C==="left"?0:C==="center"?e.width/2:C==="right"?e.width:C,T=r==="top"?0:r==="bottom"?e.height:r;return xb({x:D,y:T},e)}else if(n.side==="left"||n.side==="right"){const{side:r,align:C}=n,D=r==="left"?0:r==="right"?e.width:r,T=C==="top"?0:C==="center"?e.height/2:C==="bottom"?e.height:C;return xb({x:D,y:T},e)}return xb({x:e.width/2,y:e.height/2},e)}const SA={static:GN,connected:WN},UN=ur({locationStrategy:{type:[String,Function],default:"static",validator:n=>typeof n=="function"||n in SA},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function HN(n,e){const r=Vr({}),C=Vr();to&&($f(()=>!!(e.isActive.value&&n.locationStrategy),T=>{var p,t;$r(()=>n.locationStrategy,T),wl(()=>{C.value=void 0}),typeof n.locationStrategy=="function"?C.value=(p=n.locationStrategy(e,n,r))==null?void 0:p.updateLocation:C.value=(t=SA[n.locationStrategy](e,n,r))==null?void 0:t.updateLocation}),window.addEventListener("resize",D,{passive:!0}),wl(()=>{window.removeEventListener("resize",D),C.value=void 0}));function D(T){var p;(p=C.value)==null||p.call(C,T)}return{contentStyles:r,updateLocation:C}}function GN(){}function qN(n,e){e?n.style.removeProperty("left"):n.style.removeProperty("right");const r=J2(n);return e?r.x+=parseFloat(n.style.right||0):r.x-=parseFloat(n.style.left||0),r.y-=parseFloat(n.style.top||0),r}function WN(n,e,r){xF(n.activatorEl.value)&&Object.assign(r.value,{position:"fixed",top:0,[n.isRtl.value?"right":"left"]:0});const{preferredAnchor:D,preferredOrigin:T}=X2(()=>{const l=lx(e.location,n.isRtl.value),a=e.origin==="overlap"?l:e.origin==="auto"?gb(l):lx(e.origin,n.isRtl.value);return l.side===a.side&&l.align===vb(a).align?{preferredAnchor:M5(l),preferredOrigin:M5(a)}:{preferredAnchor:l,preferredOrigin:a}}),[p,t,d,g]=["minWidth","minHeight","maxWidth","maxHeight"].map(l=>cn(()=>{const a=parseFloat(e[l]);return isNaN(a)?1/0:a})),i=cn(()=>{if(Array.isArray(e.offset))return e.offset;if(typeof e.offset=="string"){const l=e.offset.split(" ").map(parseFloat);return l.length<2&&l.push(0),l}return typeof e.offset=="number"?[e.offset,0]:[0,0]});let M=!1;const v=new ResizeObserver(()=>{M&&f()});$r([n.activatorEl,n.contentEl],(l,a)=>{let[u,o]=l,[s,c]=a;s&&v.unobserve(s),u&&v.observe(u),c&&v.unobserve(c),o&&v.observe(o)},{immediate:!0}),wl(()=>{v.disconnect()});function f(){if(M=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>M=!0)}),!n.activatorEl.value||!n.contentEl.value)return;const l=n.activatorEl.value.getBoundingClientRect(),a=qN(n.contentEl.value,n.isRtl.value),u=hy(n.contentEl.value),o=12;u.length||(u.push(document.documentElement),n.contentEl.value.style.top&&n.contentEl.value.style.left||(a.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),a.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const s=u.reduce((E,x)=>{const A=x.getBoundingClientRect(),L=new Yp({x:x===document.documentElement?0:A.x,y:x===document.documentElement?0:A.y,width:x.clientWidth,height:x.clientHeight});return E?new Yp({x:Math.max(E.left,L.left),y:Math.max(E.top,L.top),width:Math.min(E.right,L.right)-Math.max(E.left,L.left),height:Math.min(E.bottom,L.bottom)-Math.max(E.top,L.top)}):L},void 0);s.x+=o,s.y+=o,s.width-=o*2,s.height-=o*2;let c={anchor:D.value,origin:T.value};function h(E){const x=new Yp(a),A=tT(E.anchor,l),L=tT(E.origin,x);let{x:b,y:R}=jN(A,L);switch(E.anchor.side){case"top":R-=i.value[0];break;case"bottom":R+=i.value[0];break;case"left":b-=i.value[0];break;case"right":b+=i.value[0];break}switch(E.anchor.align){case"top":R-=i.value[1];break;case"bottom":R+=i.value[1];break;case"left":b-=i.value[1];break;case"right":b+=i.value[1];break}return x.x+=b,x.y+=R,x.width=Math.min(x.width,d.value),x.height=Math.min(x.height,g.value),{overflows:S5(x,s),x:b,y:R}}let m=0,w=0;const y={x:0,y:0},S={x:!1,y:!1};let _=-1;for(;!(_++>10);){const{x:E,y:x,overflows:A}=h(c);m+=E,w+=x,a.x+=E,a.y+=x;{const L=A5(c.anchor),b=A.x.before||A.x.after,R=A.y.before||A.y.after;let I=!1;if(["x","y"].forEach(O=>{if(O==="x"&&b&&!S.x||O==="y"&&R&&!S.y){const z={anchor:{...c.anchor},origin:{...c.origin}},F=O==="x"?L==="y"?vb:gb:L==="y"?gb:vb;z.anchor=F(z.anchor),z.origin=F(z.origin);const{overflows:B}=h(z);(B[O].before<=A[O].before&&B[O].after<=A[O].after||B[O].before+B[O].after<(A[O].before+A[O].after)/2)&&(c=z,I=S[O]=!0)}}),I)continue}A.x.before&&(m+=A.x.before,a.x+=A.x.before),A.x.after&&(m-=A.x.after,a.x-=A.x.after),A.y.before&&(w+=A.y.before,a.y+=A.y.before),A.y.after&&(w-=A.y.after,a.y-=A.y.after);{const L=S5(a,s);y.x=s.width-L.x.before-L.x.after,y.y=s.height-L.y.before-L.y.after,m+=L.x.before,a.x+=L.x.before,w+=L.y.before,a.y+=L.y.before}break}const k=A5(c.anchor);return Object.assign(r.value,{"--v-overlay-anchor-origin":`${c.anchor.side} ${c.anchor.align}`,transformOrigin:`${c.origin.side} ${c.origin.align}`,top:Qr(_b(w)),left:n.isRtl.value?void 0:Qr(_b(m)),right:n.isRtl.value?Qr(_b(-m)):void 0,minWidth:Qr(k==="y"?Math.min(p.value,l.width):p.value),maxWidth:Qr(nT(Zs(y.x,p.value===1/0?0:p.value,d.value))),maxHeight:Qr(nT(Zs(y.y,t.value===1/0?0:t.value,g.value)))}),{available:y,contentBox:a}}return $r(()=>[D.value,T.value,e.offset,e.minWidth,e.minHeight,e.maxWidth,e.maxHeight],()=>f()),Ua(()=>{const l=f();if(!l)return;const{available:a,contentBox:u}=l;u.height>a.y&&requestAnimationFrame(()=>{f(),requestAnimationFrame(()=>{f()})})}),{updateLocation:f}}function _b(n){return Math.round(n*devicePixelRatio)/devicePixelRatio}function nT(n){return Math.ceil(n*devicePixelRatio)/devicePixelRatio}let kx=!0;const py=[];function YN(n){!kx||py.length?(py.push(n),Mx()):(kx=!1,n(),Mx())}let rT=-1;function Mx(){cancelAnimationFrame(rT),rT=requestAnimationFrame(()=>{const n=py.shift();n&&n(),py.length?Mx():kx=!0})}const Mv={none:null,close:XN,block:KN,reposition:JN},$N=ur({scrollStrategy:{type:[String,Function],default:"block",validator:n=>typeof n=="function"||n in Mv}},"VOverlay-scroll-strategies");function ZN(n,e){if(!to)return;let r;wu(async()=>{r==null||r.stop(),e.isActive.value&&n.scrollStrategy&&(r=Um(),await Ua(),r.active&&r.run(()=>{var C;typeof n.scrollStrategy=="function"?n.scrollStrategy(e,n,r):(C=Mv[n.scrollStrategy])==null||C.call(Mv,e,n,r)}))}),wl(()=>{r==null||r.stop()})}function XN(n){function e(r){n.isActive.value=!1}CA(n.activatorEl.value??n.contentEl.value,e)}function KN(n,e){var p;const r=(p=n.root.value)==null?void 0:p.offsetParent,C=[...new Set([...hy(n.activatorEl.value,e.contained?r:void 0),...hy(n.contentEl.value,e.contained?r:void 0)])].filter(t=>!t.classList.contains("v-overlay-scroll-blocked")),D=window.innerWidth-document.documentElement.offsetWidth,T=(t=>n_(t)&&t)(r||document.documentElement);T&&n.root.value.classList.add("v-overlay--scroll-blocked"),C.forEach((t,d)=>{t.style.setProperty("--v-body-scroll-x",Qr(-t.scrollLeft)),t.style.setProperty("--v-body-scroll-y",Qr(-t.scrollTop)),t!==document.documentElement&&t.style.setProperty("--v-scrollbar-offset",Qr(D)),t.classList.add("v-overlay-scroll-blocked")}),wl(()=>{C.forEach((t,d)=>{const g=parseFloat(t.style.getPropertyValue("--v-body-scroll-x")),i=parseFloat(t.style.getPropertyValue("--v-body-scroll-y"));t.style.removeProperty("--v-body-scroll-x"),t.style.removeProperty("--v-body-scroll-y"),t.style.removeProperty("--v-scrollbar-offset"),t.classList.remove("v-overlay-scroll-blocked"),t.scrollLeft=-g,t.scrollTop=-i}),T&&n.root.value.classList.remove("v-overlay--scroll-blocked")})}function JN(n,e,r){let C=!1,D=-1,T=-1;function p(t){YN(()=>{var i,M;const d=performance.now();(M=(i=n.updateLocation).value)==null||M.call(i,t),C=(performance.now()-d)/(1e3/60)>2})}T=(typeof requestIdleCallback>"u"?t=>t():requestIdleCallback)(()=>{r.run(()=>{CA(n.activatorEl.value??n.contentEl.value,t=>{C?(cancelAnimationFrame(D),D=requestAnimationFrame(()=>{D=requestAnimationFrame(()=>{p(t)})})):p(t)})})}),wl(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(T),cancelAnimationFrame(D)})}function CA(n,e){const r=[document,...hy(n)];r.forEach(C=>{C.addEventListener("scroll",e,{passive:!0})}),wl(()=>{r.forEach(C=>{C.removeEventListener("scroll",e)})})}const Ax=Symbol.for("vuetify:v-menu"),EA=ur({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function LA(n,e){const r={},C=D=>()=>{if(!to)return Promise.resolve(!0);const T=D==="openDelay";return r.closeDelay&&window.clearTimeout(r.closeDelay),delete r.closeDelay,r.openDelay&&window.clearTimeout(r.openDelay),delete r.openDelay,new Promise(p=>{const t=parseInt(n[D]??0,10);r[D]=window.setTimeout(()=>{e==null||e(T),p(T)},t)})};return{runCloseDelay:C("closeDelay"),runOpenDelay:C("openDelay")}}const QN=ur({activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...EA()},"VOverlay-activator");function eV(n,e){let{isActive:r,isTop:C}=e;const D=Vr();let T=!1,p=!1,t=!0;const d=cn(()=>n.openOnFocus||n.openOnFocus==null&&n.openOnHover),g=cn(()=>n.openOnClick||n.openOnClick==null&&!n.openOnHover&&!d.value),{runOpenDelay:i,runCloseDelay:M}=LA(n,c=>{c===(n.openOnHover&&T||d.value&&p)&&!(n.openOnHover&&r.value&&!C.value)&&(r.value!==c&&(t=!0),r.value=c)}),v={onClick:c=>{c.stopPropagation(),D.value=c.currentTarget||c.target,r.value=!r.value},onMouseenter:c=>{var h;(h=c.sourceCapabilities)!=null&&h.firesTouchEvents||(T=!0,D.value=c.currentTarget||c.target,i())},onMouseleave:c=>{T=!1,M()},onFocus:c=>{l0(c.target,":focus-visible")!==!1&&(p=!0,c.stopPropagation(),D.value=c.currentTarget||c.target,i())},onBlur:c=>{p=!1,c.stopPropagation(),M()}},f=cn(()=>{const c={};return g.value&&(c.onClick=v.onClick),n.openOnHover&&(c.onMouseenter=v.onMouseenter,c.onMouseleave=v.onMouseleave),d.value&&(c.onFocus=v.onFocus,c.onBlur=v.onBlur),c}),l=cn(()=>{const c={};if(n.openOnHover&&(c.onMouseenter=()=>{T=!0,i()},c.onMouseleave=()=>{T=!1,M()}),d.value&&(c.onFocusin=()=>{p=!0,i()},c.onFocusout=()=>{p=!1,M()}),n.closeOnContentClick){const h=ka(Ax,null);c.onClick=()=>{r.value=!1,h==null||h.closeParents()}}return c}),a=cn(()=>{const c={};return n.openOnHover&&(c.onMouseenter=()=>{t&&(T=!0,t=!1,i())},c.onMouseleave=()=>{T=!1,M()}),c});$r(C,c=>{c&&(n.openOnHover&&!T&&(!d.value||!p)||d.value&&!p&&(!n.openOnHover||!T))&&(r.value=!1)});const u=Vr();wu(()=>{u.value&&Ua(()=>{D.value=ox(u.value)})});const o=Ss("useActivator");let s;return $r(()=>!!n.activator,c=>{c&&to?(s=Um(),s.run(()=>{tV(n,o,{activatorEl:D,activatorEvents:f})})):s&&s.stop()},{flush:"post",immediate:!0}),wl(()=>{s==null||s.stop()}),{activatorEl:D,activatorRef:u,activatorEvents:f,contentEvents:l,scrimEvents:a}}function tV(n,e,r){let{activatorEl:C,activatorEvents:D}=r;$r(()=>n.activator,(d,g)=>{if(g&&d!==g){const i=t(g);i&&p(i)}d&&Ua(()=>T())},{immediate:!0}),$r(()=>n.activatorProps,()=>{T()}),wl(()=>{p()});function T(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:t(),g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:n.activatorProps;d&&$z(d,qr(D.value,g))}function p(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:t(),g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:n.activatorProps;d&&Zz(d,qr(D.value,g))}function t(){var i,M;let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:n.activator,g;if(d)if(d==="parent"){let v=(M=(i=e==null?void 0:e.proxy)==null?void 0:i.$el)==null?void 0:M.parentNode;for(;v!=null&&v.hasAttribute("data-no-activator");)v=v.parentNode;g=v}else typeof d=="string"?g=document.querySelector(d):"$el"in d?g=d.$el:g=d;return C.value=(g==null?void 0:g.nodeType)===Node.ELEMENT_NODE?g:null,C.value}}function IA(){if(!to)return Wr(!1);const{ssr:n}=ep();if(n){const e=Wr(!1);return Ks(()=>{e.value=!0}),e}else return Wr(!0)}const o1=ur({eager:Boolean},"lazy");function __(n,e){const r=Wr(!1),C=cn(()=>r.value||n.eager||e.value);$r(e,()=>r.value=!0);function D(){n.eager||(r.value=!1)}return{isBooted:r,hasContent:C,onAfterLeave:D}}function E0(){const e=Ss("useScopeId").vnode.scopeId;return{scopeId:e?{[e]:""}:void 0}}const iT=Symbol.for("vuetify:stack"),am=yl([]);function nV(n,e,r){const C=Ss("useStack"),D=!r,T=ka(iT,void 0),p=yl({activeChildren:new Set});ts(iT,p);const t=Wr(+e.value);$f(n,()=>{var M;const i=(M=am.at(-1))==null?void 0:M[1];t.value=i?i+10:+e.value,D&&am.push([C.uid,t.value]),T==null||T.activeChildren.add(C.uid),wl(()=>{if(D){const v=wi(am).findIndex(f=>f[0]===C.uid);am.splice(v,1)}T==null||T.activeChildren.delete(C.uid)})});const d=Wr(!0);D&&wu(()=>{var M;const i=((M=am.at(-1))==null?void 0:M[0])===C.uid;setTimeout(()=>d.value=i)});const g=cn(()=>!p.activeChildren.size);return{globalTop:Hm(d),localTop:g,stackStyles:cn(()=>({zIndex:t.value}))}}function rV(n){return{teleportTarget:cn(()=>{const r=n.value;if(r===!0||!to)return;const C=r===!1?document.body:typeof r=="string"?document.querySelector(r):r;if(C==null)return;let D=C.querySelector(":scope > .v-overlay-container");return D||(D=document.createElement("div"),D.className="v-overlay-container",C.appendChild(D)),D})}}function iV(){return!0}function RA(n,e,r){if(!n||PA(n,r)===!1)return!1;const C=S6(e);if(typeof ShadowRoot<"u"&&C instanceof ShadowRoot&&C.host===n.target)return!1;const D=(typeof r.value=="object"&&r.value.include||(()=>[]))();return D.push(e),!D.some(T=>T==null?void 0:T.contains(n.target))}function PA(n,e){return(typeof e.value=="object"&&e.value.closeConditional||iV)(n)}function aV(n,e,r){const C=typeof r.value=="function"?r.value:r.value.handler;e._clickOutside.lastMousedownWasOutside&&RA(n,e,r)&&setTimeout(()=>{PA(n,r)&&C&&C(n)},0)}function aT(n,e){const r=S6(n);e(document),typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&e(r)}const OA={mounted(n,e){const r=D=>aV(D,n,e),C=D=>{n._clickOutside.lastMousedownWasOutside=RA(D,n,e)};aT(n,D=>{D.addEventListener("click",r,!0),D.addEventListener("mousedown",C,!0)}),n._clickOutside||(n._clickOutside={lastMousedownWasOutside:!1}),n._clickOutside[e.instance.$.uid]={onClick:r,onMousedown:C}},unmounted(n,e){n._clickOutside&&(aT(n,r=>{var T;if(!r||!((T=n._clickOutside)!=null&&T[e.instance.$.uid]))return;const{onClick:C,onMousedown:D}=n._clickOutside[e.instance.$.uid];r.removeEventListener("click",C,!0),r.removeEventListener("mousedown",D,!0)}),delete n._clickOutside[e.instance.$.uid])}};function oV(n){const{modelValue:e,color:r,...C}=n;return gt(bh,{name:"fade-transition",appear:!0},{default:()=>[n.modelValue&>("div",qr({class:["v-overlay__scrim",n.color.backgroundColorClasses.value],style:n.color.backgroundColorStyles.value},C),null)]})}const cg=ur({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...QN(),...Zr(),...sc(),...o1(),...UN(),...$N(),...oa(),...df()},"VOverlay"),of=Ar()({name:"VOverlay",directives:{ClickOutside:OA},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...cg()},emits:{"click:outside":n=>!0,"update:modelValue":n=>!0,afterLeave:()=>!0},setup(n,e){let{slots:r,attrs:C,emit:D}=e;const T=xi(n,"modelValue"),p=cn({get:()=>T.value,set:z=>{z&&n.disabled||(T.value=z)}}),{teleportTarget:t}=rV(cn(()=>n.attach||n.contained)),{themeClasses:d}=Ma(n),{rtlClasses:g,isRtl:i}=Cs(),{hasContent:M,onAfterLeave:v}=__(n,p),f=Oo(cn(()=>typeof n.scrim=="string"?n.scrim:null)),{globalTop:l,localTop:a,stackStyles:u}=nV(p,Cr(n,"zIndex"),n._disableGlobalStack),{activatorEl:o,activatorRef:s,activatorEvents:c,contentEvents:h,scrimEvents:m}=eV(n,{isActive:p,isTop:a}),{dimensionStyles:w}=lc(n),y=IA(),{scopeId:S}=E0();$r(()=>n.disabled,z=>{z&&(p.value=!1)});const _=Vr(),k=Vr(),{contentStyles:E,updateLocation:x}=HN(n,{isRtl:i,contentEl:k,activatorEl:o,isActive:p});ZN(n,{root:_,contentEl:k,activatorEl:o,isActive:p,updateLocation:x});function A(z){D("click:outside",z),n.persistent?O():p.value=!1}function L(){return p.value&&l.value}to&&$r(p,z=>{z?window.addEventListener("keydown",b):window.removeEventListener("keydown",b)},{immediate:!0});function b(z){var F,B;z.key==="Escape"&&l.value&&(n.persistent?O():(p.value=!1,(F=k.value)!=null&&F.contains(document.activeElement)&&((B=o.value)==null||B.focus())))}const R=$6();$f(()=>n.closeOnBack,()=>{YB(R,z=>{l.value&&p.value?(z(!1),n.persistent?O():p.value=!1):z()})});const I=Vr();$r(()=>p.value&&(n.absolute||n.contained)&&t.value==null,z=>{if(z){const F=t_(_.value);F&&F!==document.scrollingElement&&(I.value=F.scrollTop)}});function O(){n.noClickAnimation||k.value&&Dd(k.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:zm})}return Or(()=>{var z;return gt(Yr,null,[(z=r.activator)==null?void 0:z.call(r,{isActive:p.value,props:qr({ref:s},c.value,n.activatorProps)}),y.value&&M.value&>(BE,{disabled:!t.value,to:t.value},{default:()=>[gt("div",qr({class:["v-overlay",{"v-overlay--absolute":n.absolute||n.contained,"v-overlay--active":p.value,"v-overlay--contained":n.contained},d.value,g.value,n.class],style:[u.value,{top:Qr(I.value)},n.style],ref:_},S,C),[gt(oV,qr({color:f,modelValue:p.value&&!!n.scrim},m.value),null),gt(Oc,{appear:!0,persisted:!0,transition:n.transition,target:o.value,onAfterLeave:()=>{v(),D("afterLeave")}},{default:()=>{var F;return[Co(gt("div",qr({ref:k,class:["v-overlay__content",n.contentClass],style:[w.value,E.value]},h.value,n.contentProps),[(F=r.default)==null?void 0:F.call(r,{isActive:p})]),[[kh,p.value],[Tu("click-outside"),{handler:A,closeConditional:L,include:()=>[o.value]}]])]}})])]})])}),{activatorEl:o,animateClick:O,contentEl:k,globalTop:l,localTop:a,updateLocation:x}}}),wb=Symbol("Forwarded refs");function Tb(n,e){let r=n;for(;r;){const C=Reflect.getOwnPropertyDescriptor(r,e);if(C)return C;r=Object.getPrototypeOf(r)}}function Vc(n){for(var e=arguments.length,r=new Array(e>1?e-1:0),C=1;C!0},setup(n,e){let{slots:r}=e;const C=xi(n,"modelValue"),{scopeId:D}=E0(),T=Js(),p=cn(()=>n.id||`v-menu-${T}`),t=Vr(),d=ka(Ax,null),g=Wr(0);ts(Ax,{register(){++g.value},unregister(){--g.value},closeParents(){setTimeout(()=>{g.value||(C.value=!1,d==null||d.closeParents())},40)}});async function i(a){var s,c,h;const u=a.relatedTarget,o=a.target;await Ua(),C.value&&u!==o&&((s=t.value)!=null&&s.contentEl)&&((c=t.value)!=null&&c.globalTop)&&![document,t.value.contentEl].includes(o)&&!t.value.contentEl.contains(o)&&((h=Dm(t.value.contentEl)[0])==null||h.focus())}$r(C,a=>{a?(d==null||d.register(),document.addEventListener("focusin",i,{once:!0})):(d==null||d.unregister(),document.removeEventListener("focusin",i))});function M(){d==null||d.closeParents()}function v(a){var u,o,s;n.disabled||a.key==="Tab"&&(p6(Dm((u=t.value)==null?void 0:u.contentEl,!1),a.shiftKey?"prev":"next",h=>h.tabIndex>=0)||(C.value=!1,(s=(o=t.value)==null?void 0:o.activatorEl)==null||s.focus()))}function f(a){var o;if(n.disabled)return;const u=(o=t.value)==null?void 0:o.contentEl;u&&C.value?a.key==="ArrowDown"?(a.preventDefault(),uy(u,"next")):a.key==="ArrowUp"&&(a.preventDefault(),uy(u,"prev")):["ArrowDown","ArrowUp"].includes(a.key)&&(C.value=!0,a.preventDefault(),setTimeout(()=>setTimeout(()=>f(a))))}const l=cn(()=>qr({"aria-haspopup":"menu","aria-expanded":String(C.value),"aria-owns":p.value,onKeydown:f},n.activatorProps));return Or(()=>{const[a]=of.filterProps(n);return gt(of,qr({ref:t,class:["v-menu",n.class],style:n.style},a,{modelValue:C.value,"onUpdate:modelValue":u=>C.value=u,absolute:!0,activatorProps:l.value,"onClick:outside":M,onKeydown:v},D),{activator:r.activator,default:function(){for(var u=arguments.length,o=new Array(u),s=0;s{var c;return[(c=r.default)==null?void 0:c.call(r,...o)]}})}})}),Vc({id:p,ΨopenChildren:g},t)}});const lV=ur({active:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...Zr(),...df({transition:{component:l_}})},"VCounter"),l1=Ar()({name:"VCounter",functional:!0,props:lV(),setup(n,e){let{slots:r}=e;const C=cn(()=>n.max?`${n.value} / ${n.max}`:String(n.value));return Or(()=>gt(Oc,{transition:n.transition},{default:()=>[Co(gt("div",{class:["v-counter",n.class],style:n.style},[r.default?r.default({counter:C.value,max:n.max,value:n.value}):C.value]),[[kh,n.active]])]})),{}}});const uV=ur({floating:Boolean,...Zr()},"VFieldLabel"),um=Ar()({name:"VFieldLabel",props:uV(),setup(n,e){let{slots:r}=e;return Or(()=>gt(C0,{class:["v-field-label",{"v-field-label--floating":n.floating},n.class],style:n.style,"aria-hidden":n.floating||void 0},r)),{}}}),cV=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],u1=ur({appendInnerIcon:bi,bgColor:String,clearable:Boolean,clearIcon:{type:bi,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:bi,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:n=>cV.includes(n)},"onClick:clear":yh(),"onClick:appendInner":yh(),"onClick:prependInner":yh(),...Zr(),...m_(),...lo(),...oa()},"VField"),hg=Ar()({name:"VField",inheritAttrs:!1,props:{id:String,...r1(),...u1()},emits:{"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:C,slots:D}=e;const{themeClasses:T}=Ma(n),{loaderClasses:p}=t1(n),{focusClasses:t,isFocused:d,focus:g,blur:i}=rd(n),{InputIcon:M}=sA(n),{roundedClasses:v}=Eo(n),{rtlClasses:f}=Cs(),l=cn(()=>n.dirty||n.active),a=cn(()=>!n.singleLine&&!!(n.label||D.label)),u=Js(),o=cn(()=>n.id||`input-${u}`),s=cn(()=>`${o.value}-messages`),c=Vr(),h=Vr(),m=Vr(),w=cn(()=>["plain","underlined"].includes(n.variant)),{backgroundColorClasses:y,backgroundColorStyles:S}=Oo(Cr(n,"bgColor")),{textColorClasses:_,textColorStyles:k}=Xs(cn(()=>n.error||n.disabled?void 0:l.value&&d.value?n.color:n.baseColor));$r(l,A=>{if(a.value){const L=c.value.$el,b=h.value.$el;requestAnimationFrame(()=>{const R=J2(L),I=b.getBoundingClientRect(),O=I.x-R.x,z=I.y-R.y-(R.height/2-I.height/2),F=I.width/.75,B=Math.abs(F-R.width)>1?{maxWidth:Qr(F)}:void 0,N=getComputedStyle(L),W=getComputedStyle(b),j=parseFloat(N.transitionDuration)*1e3||150,$=parseFloat(W.getPropertyValue("--v-field-label-scale")),U=W.getPropertyValue("color");L.style.visibility="visible",b.style.visibility="hidden",Dd(L,{transform:`translate(${O}px, ${z}px) scale(${$})`,color:U,...B},{duration:j,easing:zm,direction:A?"normal":"reverse"}).finished.then(()=>{L.style.removeProperty("visibility"),b.style.removeProperty("visibility")})})}},{flush:"post"});const E=cn(()=>({isActive:l,isFocused:d,controlRef:m,blur:i,focus:g}));function x(A){A.target!==document.activeElement&&A.preventDefault()}return Or(()=>{var O,z,F;const A=n.variant==="outlined",L=D["prepend-inner"]||n.prependInnerIcon,b=!!(n.clearable||D.clear),R=!!(D["append-inner"]||n.appendInnerIcon||b),I=D.label?D.label({...E.value,label:n.label,props:{for:o.value}}):n.label;return gt("div",qr({class:["v-field",{"v-field--active":l.value,"v-field--appended":R,"v-field--center-affix":n.centerAffix??!w.value,"v-field--disabled":n.disabled,"v-field--dirty":n.dirty,"v-field--error":n.error,"v-field--flat":n.flat,"v-field--has-background":!!n.bgColor,"v-field--persistent-clear":n.persistentClear,"v-field--prepended":L,"v-field--reverse":n.reverse,"v-field--single-line":n.singleLine,"v-field--no-label":!I,[`v-field--variant-${n.variant}`]:!0},T.value,y.value,t.value,p.value,v.value,f.value,n.class],style:[S.value,n.style],onClick:x},r),[gt("div",{class:"v-field__overlay"},null),gt(g_,{name:"v-field",active:!!n.loading,color:n.error?"error":typeof n.loading=="string"?n.loading:n.color},{default:D.loader}),L&>("div",{key:"prepend",class:"v-field__prepend-inner"},[n.prependInnerIcon&>(M,{key:"prepend-icon",name:"prependInner"},null),(O=D["prepend-inner"])==null?void 0:O.call(D,E.value)]),gt("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(n.variant)&&a.value&>(um,{key:"floating-label",ref:h,class:[_.value],floating:!0,for:o.value,style:k.value},{default:()=>[I]}),gt(um,{ref:c,for:o.value},{default:()=>[I]}),(z=D.default)==null?void 0:z.call(D,{...E.value,props:{id:o.value,class:"v-field__input","aria-describedby":s.value},focus:g,blur:i})]),b&>(u_,{key:"clear"},{default:()=>[Co(gt("div",{class:"v-field__clearable",onMousedown:B=>{B.preventDefault(),B.stopPropagation()}},[D.clear?D.clear():gt(M,{name:"clear"},null)]),[[kh,n.dirty]])]}),R&>("div",{key:"append",class:"v-field__append-inner"},[(F=D["append-inner"])==null?void 0:F.call(D,E.value),n.appendInnerIcon&>(M,{key:"append-icon",name:"appendInner"},null)]),gt("div",{class:["v-field__outline",_.value],style:k.value},[A&>(Yr,null,[gt("div",{class:"v-field__outline__start"},null),a.value&>("div",{class:"v-field__outline__notch"},[gt(um,{ref:h,floating:!0,for:o.value},{default:()=>[I]})]),gt("div",{class:"v-field__outline__end"},null)]),w.value&&a.value&>(um,{ref:h,floating:!0,for:o.value},{default:()=>[I]})])])}),{controlRef:m}}});function w_(n){const e=Object.keys(hg.props).filter(r=>!Z2(r)&&r!=="class"&&r!=="style");return $d(n,e)}const hV=["color","file","time","date","datetime-local","week","month"],c1=ur({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object,...mf(),...u1()},"VTextField"),Kd=Ar()({name:"VTextField",directives:{Intersect:og},inheritAttrs:!1,props:c1(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:C,slots:D}=e;const T=xi(n,"modelValue"),{isFocused:p,focus:t,blur:d}=rd(n),g=cn(()=>typeof n.counterValue=="function"?n.counterValue(T.value):(T.value??"").toString().length),i=cn(()=>{if(r.maxlength)return r.maxlength;if(!(!n.counter||typeof n.counter!="number"&&typeof n.counter!="string"))return n.counter}),M=cn(()=>["plain","underlined"].includes(n.variant));function v(w,y){var S,_;!n.autofocus||!w||(_=(S=y[0].target)==null?void 0:S.focus)==null||_.call(S)}const f=Vr(),l=Vr(),a=Vr(),u=cn(()=>hV.includes(n.type)||n.persistentPlaceholder||p.value||n.active);function o(){var w;a.value!==document.activeElement&&((w=a.value)==null||w.focus()),p.value||t()}function s(w){C("mousedown:control",w),w.target!==a.value&&(o(),w.preventDefault())}function c(w){o(),C("click:control",w)}function h(w){w.stopPropagation(),o(),Ua(()=>{T.value=null,K2(n["onClick:clear"],w)})}function m(w){var S;const y=w.target;if(T.value=y.value,(S=n.modelModifiers)!=null&&S.trim&&["text","search","password","tel","url"].includes(n.type)){const _=[y.selectionStart,y.selectionEnd];Ua(()=>{y.selectionStart=_[0],y.selectionEnd=_[1]})}}return Or(()=>{const w=!!(D.counter||n.counter||n.counterValue),y=!!(w||D.details),[S,_]=Qd(r),[{modelValue:k,...E}]=Bs.filterProps(n),[x]=w_(n);return gt(Bs,qr({ref:f,modelValue:T.value,"onUpdate:modelValue":A=>T.value=A,class:["v-text-field",{"v-text-field--prefixed":n.prefix,"v-text-field--suffixed":n.suffix,"v-text-field--plain-underlined":["plain","underlined"].includes(n.variant)},n.class],style:n.style},S,E,{centerAffix:!M.value,focused:p.value}),{...D,default:A=>{let{id:L,isDisabled:b,isDirty:R,isReadonly:I,isValid:O}=A;return gt(hg,qr({ref:l,onMousedown:s,onClick:c,"onClick:clear":h,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"],role:n.role},x,{id:L.value,active:u.value||R.value,dirty:R.value||n.dirty,disabled:b.value,focused:p.value,error:O.value===!1}),{...D,default:z=>{let{props:{class:F,...B}}=z;const N=Co(gt("input",qr({ref:a,value:T.value,onInput:m,autofocus:n.autofocus,readonly:I.value,disabled:b.value,name:n.name,placeholder:n.placeholder,size:1,type:n.type,onFocus:o,onBlur:d},B,_),null),[[Tu("intersect"),{handler:v},null,{once:!0}]]);return gt(Yr,null,[n.prefix&>("span",{class:"v-text-field__prefix"},[gt("span",{class:"v-text-field__prefix__text"},[n.prefix])]),D.default?gt("div",{class:F,"data-no-activator":""},[D.default(),N]):tf(N,{class:F}),n.suffix&>("span",{class:"v-text-field__suffix"},[gt("span",{class:"v-text-field__suffix__text"},[n.suffix])])])}})},details:y?A=>{var L;return gt(Yr,null,[(L=D.details)==null?void 0:L.call(D,A),w&>(Yr,null,[gt("span",null,null),gt(l1,{active:n.persistentCounter||p.value,value:g.value,max:i.value},D.counter)])])}:void 0})}),Vc({},f,l,a)}});const fV=ur({renderless:Boolean,...Zr()},"VVirtualScrollItem"),dV=Ar()({name:"VVirtualScrollItem",inheritAttrs:!1,props:fV(),emits:{"update:height":n=>!0},setup(n,e){let{attrs:r,emit:C,slots:D}=e;const{resizeRef:T,contentRect:p}=Th(void 0,"border");$r(()=>{var t;return(t=p.value)==null?void 0:t.height},t=>{t!=null&&C("update:height",t)}),Or(()=>{var t,d;return n.renderless?gt(Yr,null,[(t=D.default)==null?void 0:t.call(D,{itemRef:T})]):gt("div",qr({ref:T,class:["v-virtual-scroll__item",n.class],style:n.style},r),[(d=D.default)==null?void 0:d.call(D)])})}}),oT=-1,sT=1,pV=ur({itemHeight:{type:[Number,String],default:48}},"virtual");function mV(n,e,r){const C=Wr(0),D=Wr(n.itemHeight),T=cn({get:()=>parseInt(D.value??0,10),set(y){D.value=y}}),p=Vr(),{resizeRef:t,contentRect:d}=Th();wu(()=>{t.value=p.value});const g=ep(),i=new Map;let M=Array.from({length:e.value.length});const v=cn(()=>{const y=(!d.value||p.value===document.documentElement?g.height.value:d.value.height)-((r==null?void 0:r.value)??0);return Math.ceil(y/T.value*1.7+1)});function f(y,S){T.value=Math.max(T.value,S),M[y]=S,i.set(e.value[y],S)}function l(y){return M.slice(0,y).reduce((S,_)=>S+(_||T.value),0)}function a(y){const S=e.value.length;let _=0,k=0;for(;k=A&&(C.value=Zs(x,0,e.value.length-v.value)),u=S}function s(y){if(!p.value)return;const S=l(y);p.value.scrollTop=S}const c=cn(()=>Math.min(e.value.length,C.value+v.value)),h=cn(()=>e.value.slice(C.value,c.value).map((y,S)=>({raw:y,index:S+C.value}))),m=cn(()=>l(C.value)),w=cn(()=>l(e.value.length)-l(c.value));return $r(()=>e.value.length,()=>{M=Kh(e.value.length).map(()=>T.value),i.forEach((y,S)=>{const _=e.value.indexOf(S);_===-1?i.delete(S):M[_]=y})}),{containerRef:p,computedItems:h,itemHeight:T,paddingTop:m,paddingBottom:w,scrollToIndex:s,handleScroll:o,handleItemResize:f}}const gV=ur({items:{type:Array,default:()=>[]},renderless:Boolean,...pV(),...Zr(),...sc()},"VVirtualScroll"),h1=Ar()({name:"VVirtualScroll",props:gV(),setup(n,e){let{slots:r}=e;const C=Ss("VVirtualScroll"),{dimensionStyles:D}=lc(n),{containerRef:T,handleScroll:p,handleItemResize:t,scrollToIndex:d,paddingTop:g,paddingBottom:i,computedItems:M}=mV(n,Cr(n,"items"));return $f(()=>n.renderless,()=>{Ks(()=>{var v;T.value=t_(C.vnode.el,!0),(v=T.value)==null||v.addEventListener("scroll",p)}),wl(()=>{var v;(v=T.value)==null||v.removeEventListener("scroll",p)})}),Or(()=>{const v=M.value.map(f=>gt(dV,{key:f.index,renderless:n.renderless,"onUpdate:height":l=>t(f.index,l)},{default:l=>{var a;return(a=r.default)==null?void 0:a.call(r,{item:f.raw,index:f.index,...l})}}));return n.renderless?gt(Yr,null,[gt("div",{class:"v-virtual-scroll__spacer",style:{paddingTop:Qr(g.value)}},null),v,gt("div",{class:"v-virtual-scroll__spacer",style:{paddingBottom:Qr(i.value)}},null)]):gt("div",{ref:T,class:["v-virtual-scroll",n.class],onScroll:p,style:[D.value,n.style]},[gt("div",{class:"v-virtual-scroll__container",style:{paddingTop:Qr(g.value),paddingBottom:Qr(i.value)}},[v])])}),{scrollToIndex:d}}});function T_(n,e){const r=Wr(!1);let C;function D(t){cancelAnimationFrame(C),r.value=!0,C=requestAnimationFrame(()=>{C=requestAnimationFrame(()=>{r.value=!1})})}async function T(){await new Promise(t=>requestAnimationFrame(t)),await new Promise(t=>requestAnimationFrame(t)),await new Promise(t=>requestAnimationFrame(t)),await new Promise(t=>{if(r.value){const d=$r(r,()=>{d(),t()})}else t()})}async function p(t){var i,M;if(t.key==="Tab"&&((i=e.value)==null||i.focus()),!["PageDown","PageUp","Home","End"].includes(t.key))return;const d=(M=n.value)==null?void 0:M.$el;if(!d)return;(t.key==="Home"||t.key==="End")&&d.scrollTo({top:t.key==="Home"?0:d.scrollHeight,behavior:"smooth"}),await T();const g=d.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");if(t.key==="PageDown"||t.key==="Home"){const v=d.getBoundingClientRect().top;for(const f of g)if(f.getBoundingClientRect().top>=v){f.focus();break}}else{const v=d.getBoundingClientRect().bottom;for(const f of[...g].reverse())if(f.getBoundingClientRect().bottom<=v){f.focus();break}}}return{onListScroll:D,onListKeydown:p}}const k_=ur({chips:Boolean,closableChips:Boolean,closeText:{type:String,default:"$vuetify.close"},openText:{type:String,default:"$vuetify.open"},eager:Boolean,hideNoData:Boolean,hideSelected:Boolean,menu:Boolean,menuIcon:{type:bi,default:"$dropdown"},menuProps:{type:Object},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,itemColor:String,...kA({itemChildren:!1})},"Select"),vV=ur({...k_(),...ic(c1({modelValue:null,role:"button"}),["validationValue","dirty","appendInnerIcon"]),...df({transition:{component:Qy}})},"VSelect"),yV=Ar()({name:"VSelect",props:vV(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,"update:menu":n=>!0},setup(n,e){let{slots:r}=e;const{t:C}=oc(),D=Vr(),T=Vr(),p=Vr(),t=xi(n,"menu"),d=cn({get:()=>t.value,set:R=>{var I;t.value&&!R&&((I=T.value)!=null&&I.ΨopenChildren)||(t.value=R)}}),{items:g,transformIn:i,transformOut:M}=x_(n),v=xi(n,"modelValue",[],R=>i(R===null?[null]:bu(R)),R=>{const I=M(R);return n.multiple?I:I[0]??null}),f=i1(),l=cn(()=>v.value.map(R=>R.value)),a=Wr(!1),u=cn(()=>d.value?n.closeText:n.openText);let o="",s;const c=cn(()=>n.hideSelected?g.value.filter(R=>!v.value.some(I=>I===R)):g.value),h=cn(()=>n.hideNoData&&!g.value.length||n.readonly||(f==null?void 0:f.isReadonly.value)),m=Vr(),{onListScroll:w,onListKeydown:y}=T_(m,D);function S(R){n.openOnClear&&(d.value=!0)}function _(){h.value||(d.value=!d.value)}function k(R){var B,N;if(!R.key||n.readonly||f!=null&&f.isReadonly.value)return;["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(R.key)&&R.preventDefault(),["Enter","ArrowDown"," "].includes(R.key)&&(d.value=!0),["Escape","Tab"].includes(R.key)&&(d.value=!1),R.key==="Home"?(B=m.value)==null||B.focus("first"):R.key==="End"&&((N=m.value)==null||N.focus("last"));const I=1e3;function O(W){const j=W.key.length===1,$=!W.ctrlKey&&!W.metaKey&&!W.altKey;return j&&$}if(n.multiple||!O(R))return;const z=performance.now();z-s>I&&(o=""),o+=R.key.toLowerCase(),s=z;const F=g.value.find(W=>W.title.toLowerCase().startsWith(o));F!==void 0&&(v.value=[F])}function E(R){if(n.multiple){const I=v.value.findIndex(O=>n.valueComparator(O.value,R.value));if(I===-1)v.value=[...v.value,R];else{const O=[...v.value];O.splice(I,1),v.value=O}}else v.value=[R],d.value=!1}function x(R){var I;(I=m.value)!=null&&I.$el.contains(R.relatedTarget)||(d.value=!1)}function A(){var R;a.value&&((R=D.value)==null||R.focus())}function L(R){a.value=!0}function b(R){if(R==null)v.value=[];else if(l0(D.value,":autofill")||l0(D.value,":-webkit-autofill")){const I=g.value.find(O=>O.title===R);I&&E(I)}else D.value&&(D.value.value="")}return $r(d,()=>{if(!n.hideSelected&&d.value&&v.value.length){const R=c.value.findIndex(I=>v.value.some(O=>n.valueComparator(O.value,I.value)));to&&window.requestAnimationFrame(()=>{var I;R>=0&&((I=p.value)==null||I.scrollToIndex(R))})}}),Or(()=>{const R=!!(n.chips||r.chip),I=!!(!n.hideNoData||c.value.length||r["prepend-item"]||r["append-item"]||r["no-data"]),O=v.value.length>0,[z]=Kd.filterProps(n),F=O||!a.value&&n.label&&!n.persistentPlaceholder?void 0:n.placeholder;return gt(Kd,qr({ref:D},z,{modelValue:v.value.map(B=>B.props.value).join(", "),"onUpdate:modelValue":b,focused:a.value,"onUpdate:focused":B=>a.value=B,validationValue:v.externalValue,dirty:O,class:["v-select",{"v-select--active-menu":d.value,"v-select--chips":!!n.chips,[`v-select--${n.multiple?"multiple":"single"}`]:!0,"v-select--selected":v.value.length,"v-select--selection-slot":!!r.selection},n.class],style:n.style,inputmode:"none",placeholder:F,"onClick:clear":S,"onMousedown:control":_,onBlur:x,onKeydown:k,"aria-label":C(u.value),title:C(u.value)}),{...r,default:()=>gt(Yr,null,[gt(s1,qr({ref:T,modelValue:d.value,"onUpdate:modelValue":B=>d.value=B,activator:"parent",contentClass:"v-select__content",disabled:h.value,eager:n.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:n.transition,onAfterLeave:A},n.menuProps),{default:()=>[I&>(a1,{ref:m,selected:l.value,selectStrategy:n.multiple?"independent":"single-independent",onMousedown:B=>B.preventDefault(),onKeydown:y,onFocusin:L,onScrollPassive:w,tabindex:"-1",color:n.itemColor??n.color},{default:()=>{var B,N,W;return[(B=r["prepend-item"])==null?void 0:B.call(r),!c.value.length&&!n.hideNoData&&(((N=r["no-data"])==null?void 0:N.call(r))??gt(af,{title:C(n.noDataText)},null)),gt(h1,{ref:p,renderless:!0,items:c.value},{default:j=>{var H;let{item:$,index:U,itemRef:G}=j;const q=qr($.props,{ref:G,key:U,onClick:()=>E($)});return((H=r.item)==null?void 0:H.call(r,{item:$,index:U,props:q}))??gt(af,q,{prepend:ne=>{let{isSelected:te}=ne;return gt(Yr,null,[n.multiple&&!n.hideSelected?gt(h0,{key:$.value,modelValue:te,ripple:!1,tabindex:"-1"},null):void 0,$.props.prependIcon&>(ja,{icon:$.props.prependIcon},null)])}})}}),(W=r["append-item"])==null?void 0:W.call(r)]}})]}),v.value.map((B,N)=>{var $;function W(U){U.stopPropagation(),U.preventDefault(),E(B)}const j={"onClick:close":W,onMousedown(U){U.preventDefault(),U.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return gt("div",{key:B.value,class:"v-select__selection"},[R?r.chip?gt(Fa,{key:"chip-defaults",defaults:{VChip:{closable:n.closableChips,size:"small",text:B.title}}},{default:()=>{var U;return[(U=r.chip)==null?void 0:U.call(r,{item:B,index:N,props:j})]}}):gt(ug,qr({key:"chip",closable:n.closableChips,size:"small",text:B.title},j),null):(($=r.selection)==null?void 0:$.call(r,{item:B,index:N}))??gt("span",{class:"v-select__selection-text"},[B.title,n.multiple&&Nn==null||e==null?-1:n.toString().toLocaleLowerCase().indexOf(e.toString().toLocaleLowerCase()),DA=ur({customFilter:Function,customKeyFilter:Object,filterKeys:[Array,String],filterMode:{type:String,default:"intersection"},noFilter:Boolean},"filter");function xV(n,e,r){var t;const C=[],D=(r==null?void 0:r.default)??bV,T=r!=null&&r.filterKeys?bu(r.filterKeys):!1,p=Object.keys((r==null?void 0:r.customKeyFilter)??{}).length;if(!(n!=null&&n.length))return C;e:for(let d=0;dC!=null&&C.transform?yu(e).map(d=>[d,C.transform(d)]):yu(e));wu(()=>{const d=typeof r=="function"?r():yu(r),g=typeof d!="string"&&typeof d!="number"?"":String(d),i=xV(p.value,g,{customKeyFilter:n.customKeyFilter,default:n.customFilter,filterKeys:n.filterKeys,filterMode:n.filterMode,noFilter:n.noFilter}),M=yu(e),v=[],f=new Map;i.forEach(l=>{let{index:a,matches:u}=l;const o=M[a];v.push(o),f.set(o.value,u)}),D.value=v,T.value=f});function t(d){return T.value.get(d.value)}return{filteredItems:D,filteredMatches:T,getMatches:t}}function _V(n,e,r){if(e==null)return n;if(Array.isArray(e))throw new Error("Multiple matches is not implemented");return typeof e=="number"&&~e?gt(Yr,null,[gt("span",{class:"v-autocomplete__unmask"},[n.substr(0,e)]),gt("span",{class:"v-autocomplete__mask"},[n.substr(e,r)]),gt("span",{class:"v-autocomplete__unmask"},[n.substr(e+r)])]):n}const wV=ur({autoSelectFirst:{type:[Boolean,String]},search:String,...DA({filterKeys:["title"]}),...k_(),...ic(c1({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...df({transition:!1})},"VAutocomplete"),TV=Ar()({name:"VAutocomplete",props:wV(),emits:{"update:focused":n=>!0,"update:search":n=>!0,"update:modelValue":n=>!0,"update:menu":n=>!0},setup(n,e){let{slots:r}=e;const{t:C}=oc(),D=Vr(),T=Wr(!1),p=Wr(!0),t=Wr(!1),d=Vr(),g=Vr(),i=xi(n,"menu"),M=cn({get:()=>i.value,set:q=>{var H;i.value&&!q&&((H=d.value)!=null&&H.ΨopenChildren)||(i.value=q)}}),v=Wr(-1),f=cn(()=>{var q;return(q=D.value)==null?void 0:q.color}),l=cn(()=>M.value?n.closeText:n.openText),{items:a,transformIn:u,transformOut:o}=x_(n),{textColorClasses:s,textColorStyles:c}=Xs(f),h=xi(n,"search",""),m=xi(n,"modelValue",[],q=>u(q===null?[null]:bu(q)),q=>{const H=o(q);return n.multiple?H:H[0]??null}),w=i1(),{filteredItems:y,getMatches:S}=zA(n,a,()=>p.value?"":h.value),_=cn(()=>n.hideSelected?y.value.filter(q=>!m.value.some(H=>H.value===q.value)):y.value),k=cn(()=>m.value.map(q=>q.props.value)),E=cn(()=>{var H;return(n.autoSelectFirst===!0||n.autoSelectFirst==="exact"&&h.value===((H=_.value[0])==null?void 0:H.title))&&_.value.length>0&&!p.value&&!t.value}),x=cn(()=>n.hideNoData&&!a.value.length||n.readonly||(w==null?void 0:w.isReadonly.value)),A=Vr(),{onListScroll:L,onListKeydown:b}=T_(A,D);function R(q){n.openOnClear&&(M.value=!0),h.value=""}function I(){x.value||(M.value=!0)}function O(q){x.value||(T.value&&(q.preventDefault(),q.stopPropagation()),M.value=!M.value)}function z(q){var te,Z,X;if(n.readonly||w!=null&&w.isReadonly.value)return;const H=D.value.selectionStart,ne=m.value.length;if((v.value>-1||["Enter","ArrowDown","ArrowUp"].includes(q.key))&&q.preventDefault(),["Enter","ArrowDown"].includes(q.key)&&(M.value=!0),["Escape"].includes(q.key)&&(M.value=!1),E.value&&["Enter","Tab"].includes(q.key)&&G(_.value[0]),q.key==="ArrowDown"&&E.value&&((te=A.value)==null||te.focus("next")),!!n.multiple){if(["Backspace","Delete"].includes(q.key)){if(v.value<0){q.key==="Backspace"&&!h.value&&(v.value=ne-1);return}const Q=v.value,re=m.value[v.value];re&&G(re),v.value=Q>=ne-1?ne-2:Q}if(q.key==="ArrowLeft"){if(v.value<0&&H>0)return;const Q=v.value>-1?v.value-1:ne-1;m.value[Q]?v.value=Q:(v.value=-1,D.value.setSelectionRange((Z=h.value)==null?void 0:Z.length,(X=h.value)==null?void 0:X.length))}if(q.key==="ArrowRight"){if(v.value<0)return;const Q=v.value+1;m.value[Q]?v.value=Q:(v.value=-1,D.value.setSelectionRange(0,0))}}}function F(q){h.value=q.target.value}function B(q){if(l0(D.value,":autofill")||l0(D.value,":-webkit-autofill")){const H=a.value.find(ne=>ne.title===q.target.value);H&&G(H)}}function N(){var q;T.value&&(p.value=!0,(q=D.value)==null||q.focus())}function W(q){T.value=!0,setTimeout(()=>{t.value=!0})}function j(q){t.value=!1}function $(q){(q==null||q===""&&!n.multiple)&&(m.value=[])}const U=Wr(!1);function G(q){if(n.multiple){const H=m.value.findIndex(ne=>n.valueComparator(ne.value,q.value));if(H===-1)m.value=[...m.value,q];else{const ne=[...m.value];ne.splice(H,1),m.value=ne}}else m.value=[q],U.value=!0,h.value=q.title,M.value=!1,p.value=!0,Ua(()=>U.value=!1)}return $r(T,(q,H)=>{var ne;q!==H&&(q?(U.value=!0,h.value=n.multiple?"":String(((ne=m.value.at(-1))==null?void 0:ne.props.title)??""),p.value=!0,Ua(()=>U.value=!1)):(!n.multiple&&!h.value?m.value=[]:E.value&&!t.value&&!m.value.some(te=>{let{value:Z}=te;return Z===_.value[0].value})&&G(_.value[0]),M.value=!1,h.value="",v.value=-1))}),$r(h,q=>{!T.value||U.value||(q&&(M.value=!0),p.value=!q)}),$r(M,()=>{if(!n.hideSelected&&M.value&&m.value.length){const q=_.value.findIndex(H=>m.value.some(ne=>H.value===ne.value));to&&window.requestAnimationFrame(()=>{var H;q>=0&&((H=g.value)==null||H.scrollToIndex(q))})}}),Or(()=>{const q=!!(n.chips||r.chip),H=!!(!n.hideNoData||_.value.length||r["prepend-item"]||r["append-item"]||r["no-data"]),ne=m.value.length>0,[te]=Kd.filterProps(n);return gt(Kd,qr({ref:D},te,{modelValue:h.value,"onUpdate:modelValue":$,focused:T.value,"onUpdate:focused":Z=>T.value=Z,validationValue:m.externalValue,dirty:ne,onInput:F,onChange:B,class:["v-autocomplete",`v-autocomplete--${n.multiple?"multiple":"single"}`,{"v-autocomplete--active-menu":M.value,"v-autocomplete--chips":!!n.chips,"v-autocomplete--selection-slot":!!r.selection,"v-autocomplete--selecting-index":v.value>-1},n.class],style:n.style,readonly:n.readonly,placeholder:ne?void 0:n.placeholder,"onClick:clear":R,"onMousedown:control":I,onKeydown:z}),{...r,default:()=>gt(Yr,null,[gt(s1,qr({ref:d,modelValue:M.value,"onUpdate:modelValue":Z=>M.value=Z,activator:"parent",contentClass:"v-autocomplete__content",disabled:x.value,eager:n.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:n.transition,onAfterLeave:N},n.menuProps),{default:()=>[H&>(a1,{ref:A,selected:k.value,selectStrategy:n.multiple?"independent":"single-independent",onMousedown:Z=>Z.preventDefault(),onKeydown:b,onFocusin:W,onFocusout:j,onScrollPassive:L,tabindex:"-1",color:n.itemColor??n.color},{default:()=>{var Z,X,Q;return[(Z=r["prepend-item"])==null?void 0:Z.call(r),!_.value.length&&!n.hideNoData&&(((X=r["no-data"])==null?void 0:X.call(r))??gt(af,{title:C(n.noDataText)},null)),gt(h1,{ref:g,renderless:!0,items:_.value},{default:re=>{var ye;let{item:ie,index:oe,itemRef:ue}=re;const ce=qr(ie.props,{ref:ue,key:oe,active:E.value&&oe===0?!0:void 0,onClick:()=>G(ie)});return((ye=r.item)==null?void 0:ye.call(r,{item:ie,index:oe,props:ce}))??gt(af,ce,{prepend:de=>{let{isSelected:me}=de;return gt(Yr,null,[n.multiple&&!n.hideSelected?gt(h0,{key:ie.value,modelValue:me,ripple:!1,tabindex:"-1"},null):void 0,ie.props.prependIcon&>(ja,{icon:ie.props.prependIcon},null)])},title:()=>{var de,me;return p.value?ie.title:_V(ie.title,(de=S(ie))==null?void 0:de.title,((me=h.value)==null?void 0:me.length)??0)}})}}),(Q=r["append-item"])==null?void 0:Q.call(r)]}})]}),m.value.map((Z,X)=>{var ie;function Q(oe){oe.stopPropagation(),oe.preventDefault(),G(Z)}const re={"onClick:close":Q,onMousedown(oe){oe.preventDefault(),oe.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return gt("div",{key:Z.value,class:["v-autocomplete__selection",X===v.value&&["v-autocomplete__selection--selected",s.value]],style:X===v.value?c.value:{}},[q?r.chip?gt(Fa,{key:"chip-defaults",defaults:{VChip:{closable:n.closableChips,size:"small",text:Z.title}}},{default:()=>{var oe;return[(oe=r.chip)==null?void 0:oe.call(r,{item:Z,index:X,props:re})]}}):gt(ug,qr({key:"chip",closable:n.closableChips,size:"small",text:Z.title},re),null):((ie=r.selection)==null?void 0:ie.call(r,{item:Z,index:X}))??gt("span",{class:"v-autocomplete__selection-text"},[Z.title,n.multiple&&X(n.floating?n.dot?2:4:n.dot?8:12)+(["top","bottom"].includes(i)?+(n.offsetY??0):["left","right"].includes(i)?+(n.offsetX??0):0));return Or(()=>{const i=Number(n.content),M=!n.max||isNaN(i)?n.content:i<=+n.max?i:`${n.max}+`,[v,f]=$d(e.attrs,["aria-atomic","aria-label","aria-live","role","title"]);return gt(n.tag,qr({class:["v-badge",{"v-badge--bordered":n.bordered,"v-badge--dot":n.dot,"v-badge--floating":n.floating,"v-badge--inline":n.inline},n.class]},f,{style:n.style}),{default:()=>{var l,a;return[gt("div",{class:"v-badge__wrapper"},[(a=(l=e.slots).default)==null?void 0:a.call(l),gt(Oc,{transition:n.transition},{default:()=>{var u,o;return[Co(gt("span",qr({class:["v-badge__badge",d.value,r.value,D.value,p.value],style:[C.value,t.value,n.inline?{}:g.value],"aria-atomic":"true","aria-label":T(n.label,i),"aria-live":"polite",role:"status"},v),[n.dot?void 0:e.slots.badge?(o=(u=e.slots).badge)==null?void 0:o.call(u):n.icon?gt(ja,{icon:n.icon},null):M]),[[kh,n.modelValue]])]}})])]}})}),{}}});const AV=ur({color:String,density:String,...Zr()},"VBannerActions"),FA=Ar()({name:"VBannerActions",props:AV(),setup(n,e){let{slots:r}=e;return es({VBtn:{color:n.color,density:n.density,variant:"text"}}),Or(()=>{var C;return gt("div",{class:["v-banner-actions",n.class],style:n.style},[(C=r.default)==null?void 0:C.call(r)])}),{}}}),BA=Nc("v-banner-text"),SV=ur({avatar:String,color:String,icon:bi,lines:String,stacked:Boolean,sticky:Boolean,text:String,...Su(),...Zr(),...ds(),...sc(),...fs(),...ed(),...A0(),...lo(),...Si(),...oa()},"VBanner"),CV=Ar()({name:"VBanner",props:SV(),setup(n,e){let{slots:r}=e;const{borderClasses:C}=uc(n),{densityClasses:D}=Qs(n),{mobile:T}=ep(),{dimensionStyles:p}=lc(n),{elevationClasses:t}=Vs(n),{locationStyles:d}=td(n),{positionClasses:g}=S0(n),{roundedClasses:i}=Eo(n),{themeClasses:M}=Ma(n),v=Cr(n,"color"),f=Cr(n,"density");es({VBannerActions:{color:v,density:f}}),Or(()=>{const l=!!(n.text||r.text),a=!!(n.avatar||n.icon),u=!!(a||r.prepend);return gt(n.tag,{class:["v-banner",{"v-banner--stacked":n.stacked||T.value,"v-banner--sticky":n.sticky,[`v-banner--${n.lines}-line`]:!!n.lines},C.value,D.value,t.value,g.value,i.value,M.value,n.class],style:[p.value,d.value,n.style],role:"banner"},{default:()=>{var o;return[u&>("div",{key:"prepend",class:"v-banner__prepend"},[r.prepend?gt(Fa,{key:"prepend-defaults",disabled:!a,defaults:{VAvatar:{color:v.value,density:f.value,icon:n.icon,image:n.avatar}}},r.prepend):gt(Zf,{key:"prepend-avatar",color:v.value,density:f.value,icon:n.icon,image:n.avatar},null)]),gt("div",{class:"v-banner__content"},[l&>(BA,{key:"text"},{default:()=>{var s;return[((s=r.text)==null?void 0:s.call(r))??n.text]}}),(o=r.default)==null?void 0:o.call(r)]),r.actions&>(FA,{key:"actions"},r.actions)]}})})}});const EV=ur({bgColor:String,color:String,grow:Boolean,mode:{type:String,validator:n=>!n||["horizontal","shift"].includes(n)},height:{type:[Number,String],default:56},active:{type:Boolean,default:!0},...Su(),...Zr(),...ds(),...fs(),...lo(),...x0({name:"bottom-navigation"}),...Si({tag:"header"}),...w0({modelValue:!0,selectedClass:"v-btn--selected"}),...oa()},"VBottomNavigation"),LV=Ar()({name:"VBottomNavigation",props:EV(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:C}=R6(),{borderClasses:D}=uc(n),{backgroundColorClasses:T,backgroundColorStyles:p}=Oo(Cr(n,"bgColor")),{densityClasses:t}=Qs(n),{elevationClasses:d}=Vs(n),{roundedClasses:g}=Eo(n),{ssrBootStyles:i}=tp(),M=cn(()=>Number(n.height)-(n.density==="comfortable"?8:0)-(n.density==="compact"?16:0)),v=Cr(n,"active"),{layoutItemStyles:f}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:cn(()=>"bottom"),layoutSize:cn(()=>v.value?M.value:0),elementSize:M,active:v,absolute:Cr(n,"absolute")});return ip(n,h_),es({VBtn:{color:Cr(n,"color"),density:Cr(n,"density"),stacked:cn(()=>n.mode!=="horizontal"),variant:"text"}},{scoped:!0}),Or(()=>gt(n.tag,{class:["v-bottom-navigation",{"v-bottom-navigation--active":v.value,"v-bottom-navigation--grow":n.grow,"v-bottom-navigation--shift":n.mode==="shift"},C.value,T.value,D.value,t.value,d.value,g.value,n.class],style:[p.value,f.value,{height:Qr(M.value),transform:`translateY(${Qr(v.value?0:100,"%")})`},i.value,n.style]},{default:()=>[r.default&>("div",{class:"v-bottom-navigation__content"},[r.default()])]})),{}}});const IV=ur({divider:[Number,String],...Zr()},"VBreadcrumbsDivider"),NA=Ar()({name:"VBreadcrumbsDivider",props:IV(),setup(n,e){let{slots:r}=e;return Or(()=>{var C;return gt("li",{class:["v-breadcrumbs-divider",n.class],style:n.style},[((C=r==null?void 0:r.default)==null?void 0:C.call(r))??n.divider])}),{}}}),RV=ur({active:Boolean,activeClass:String,activeColor:String,color:String,disabled:Boolean,title:String,...Zr(),...lg(),...Si({tag:"li"})},"VBreadcrumbsItem"),VA=Ar()({name:"VBreadcrumbsItem",props:RV(),setup(n,e){let{slots:r,attrs:C}=e;const D=sg(n,C),T=cn(()=>{var g;return n.active||((g=D.isActive)==null?void 0:g.value)}),p=cn(()=>T.value?n.activeColor:n.color),{textColorClasses:t,textColorStyles:d}=Xs(p);return Or(()=>gt(n.tag,{class:["v-breadcrumbs-item",{"v-breadcrumbs-item--active":T.value,"v-breadcrumbs-item--disabled":n.disabled,[`${n.activeClass}`]:T.value&&n.activeClass},t.value,n.class],style:[d.value,n.style],"aria-current":T.value?"page":void 0},{default:()=>{var g,i;return[D.isLink.value?gt("a",{class:"v-breadcrumbs-item--link",href:D.href.value,"aria-current":T.value?"page":void 0,onClick:D.navigate},[((i=r.default)==null?void 0:i.call(r))??n.title]):((g=r.default)==null?void 0:g.call(r))??n.title]}})),{}}}),PV=ur({activeClass:String,activeColor:String,bgColor:String,color:String,disabled:Boolean,divider:{type:String,default:"/"},icon:bi,items:{type:Array,default:()=>[]},...Zr(),...ds(),...lo(),...Si({tag:"ul"})},"VBreadcrumbs"),OV=Ar()({name:"VBreadcrumbs",props:PV(),setup(n,e){let{slots:r}=e;const{backgroundColorClasses:C,backgroundColorStyles:D}=Oo(Cr(n,"bgColor")),{densityClasses:T}=Qs(n),{roundedClasses:p}=Eo(n);es({VBreadcrumbsDivider:{divider:Cr(n,"divider")},VBreadcrumbsItem:{activeClass:Cr(n,"activeClass"),activeColor:Cr(n,"activeColor"),color:Cr(n,"color"),disabled:Cr(n,"disabled")}});const t=cn(()=>n.items.map(d=>typeof d=="string"?{item:{title:d},raw:d}:{item:d,raw:d}));return Or(()=>{const d=!!(r.prepend||n.icon);return gt(n.tag,{class:["v-breadcrumbs",C.value,T.value,p.value,n.class],style:[D.value,n.style]},{default:()=>{var g;return[d&>("li",{key:"prepend",class:"v-breadcrumbs__prepend"},[r.prepend?gt(Fa,{key:"prepend-defaults",disabled:!n.icon,defaults:{VIcon:{icon:n.icon,start:!0}}},r.prepend):gt(ja,{key:"prepend-icon",start:!0,icon:n.icon},null)]),t.value.map((i,M,v)=>{let{item:f,raw:l}=i;return gt(Yr,null,[gt(VA,qr({key:f.title,disabled:M>=v.length-1},f),{default:r.title?()=>{var a;return(a=r.title)==null?void 0:a.call(r,{item:l,index:M})}:void 0}),M{var a;return(a=r.divider)==null?void 0:a.call(r,{item:l,index:M})}:void 0})])}),(g=r.default)==null?void 0:g.call(r)]}})}),{}}});const jA=Ar()({name:"VCardActions",props:Zr(),setup(n,e){let{slots:r}=e;return es({VBtn:{variant:"text"}}),Or(()=>{var C;return gt("div",{class:["v-card-actions",n.class],style:n.style},[(C=r.default)==null?void 0:C.call(r)])}),{}}}),UA=Nc("v-card-subtitle"),HA=Nc("v-card-title"),DV=ur({appendAvatar:String,appendIcon:bi,prependAvatar:String,prependIcon:bi,subtitle:String,title:String,...Zr(),...ds()},"VCardItem"),GA=Ar()({name:"VCardItem",props:DV(),setup(n,e){let{slots:r}=e;return Or(()=>{var g;const C=!!(n.prependAvatar||n.prependIcon),D=!!(C||r.prepend),T=!!(n.appendAvatar||n.appendIcon),p=!!(T||r.append),t=!!(n.title||r.title),d=!!(n.subtitle||r.subtitle);return gt("div",{class:["v-card-item",n.class],style:n.style},[D&>("div",{key:"prepend",class:"v-card-item__prepend"},[r.prepend?gt(Fa,{key:"prepend-defaults",disabled:!C,defaults:{VAvatar:{density:n.density,icon:n.prependIcon,image:n.prependAvatar}}},r.prepend):C&>(Zf,{key:"prepend-avatar",density:n.density,icon:n.prependIcon,image:n.prependAvatar},null)]),gt("div",{class:"v-card-item__content"},[t&>(HA,{key:"title"},{default:()=>{var i;return[((i=r.title)==null?void 0:i.call(r))??n.title]}}),d&>(UA,{key:"subtitle"},{default:()=>{var i;return[((i=r.subtitle)==null?void 0:i.call(r))??n.subtitle]}}),(g=r.default)==null?void 0:g.call(r)]),p&>("div",{key:"append",class:"v-card-item__append"},[r.append?gt(Fa,{key:"append-defaults",disabled:!T,defaults:{VAvatar:{density:n.density,icon:n.appendIcon,image:n.appendAvatar}}},r.append):T&>(Zf,{key:"append-avatar",density:n.density,icon:n.appendIcon,image:n.appendAvatar},null)])])}),{}}}),qA=Nc("v-card-text"),zV=ur({appendAvatar:String,appendIcon:bi,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:bi,ripple:{type:[Boolean,Object],default:!0},subtitle:String,text:String,title:String,...Su(),...Zr(),...ds(),...sc(),...fs(),...m_(),...ed(),...A0(),...lo(),...lg(),...Si(),...oa(),...cc({variant:"elevated"})},"VCard"),FV=Ar()({name:"VCard",directives:{Ripple:nd},props:zV(),setup(n,e){let{attrs:r,slots:C}=e;const{themeClasses:D}=Ma(n),{borderClasses:T}=uc(n),{colorClasses:p,colorStyles:t,variantClasses:d}=rp(n),{densityClasses:g}=Qs(n),{dimensionStyles:i}=lc(n),{elevationClasses:M}=Vs(n),{loaderClasses:v}=t1(n),{locationStyles:f}=td(n),{positionClasses:l}=S0(n),{roundedClasses:a}=Eo(n),u=sg(n,r),o=cn(()=>n.link!==!1&&u.isLink.value),s=cn(()=>!n.disabled&&n.link!==!1&&(n.link||u.isClickable.value));return Or(()=>{const c=o.value?"a":n.tag,h=!!(C.title||n.title),m=!!(C.subtitle||n.subtitle),w=h||m,y=!!(C.append||n.appendAvatar||n.appendIcon),S=!!(C.prepend||n.prependAvatar||n.prependIcon),_=!!(C.image||n.image),k=w||S||y,E=!!(C.text||n.text);return Co(gt(c,{class:["v-card",{"v-card--disabled":n.disabled,"v-card--flat":n.flat,"v-card--hover":n.hover&&!(n.disabled||n.flat),"v-card--link":s.value},D.value,T.value,p.value,g.value,M.value,v.value,l.value,a.value,d.value,n.class],style:[t.value,i.value,f.value,n.style],href:u.href.value,onClick:s.value&&u.navigate,tabindex:n.disabled?-1:void 0},{default:()=>{var x;return[_&>("div",{key:"image",class:"v-card__image"},[C.image?gt(Fa,{key:"image-defaults",disabled:!n.image,defaults:{VImg:{cover:!0,src:n.image}}},C.image):gt(Zd,{key:"image-img",cover:!0,src:n.image},null)]),gt(g_,{name:"v-card",active:!!n.loading,color:typeof n.loading=="boolean"?void 0:n.loading},{default:C.loader}),k&>(GA,{key:"item",prependAvatar:n.prependAvatar,prependIcon:n.prependIcon,title:n.title,subtitle:n.subtitle,appendAvatar:n.appendAvatar,appendIcon:n.appendIcon},{default:C.item,prepend:C.prepend,title:C.title,subtitle:C.subtitle,append:C.append}),E&>(qA,{key:"text"},{default:()=>{var A;return[((A=C.text)==null?void 0:A.call(C))??n.text]}}),(x=C.default)==null?void 0:x.call(C),C.actions&>(jA,null,{default:C.actions}),np(s.value,"v-card")]}}),[[Tu("ripple"),s.value&&n.ripple]])}),{}}});const BV=n=>{const{touchstartX:e,touchendX:r,touchstartY:C,touchendY:D}=n,T=.5,p=16;n.offsetX=r-e,n.offsetY=D-C,Math.abs(n.offsetY)e+p&&n.right(n)),Math.abs(n.offsetX)C+p&&n.down(n))};function NV(n,e){var C;const r=n.changedTouches[0];e.touchstartX=r.clientX,e.touchstartY=r.clientY,(C=e.start)==null||C.call(e,{originalEvent:n,...e})}function VV(n,e){var C;const r=n.changedTouches[0];e.touchendX=r.clientX,e.touchendY=r.clientY,(C=e.end)==null||C.call(e,{originalEvent:n,...e}),BV(e)}function jV(n,e){var C;const r=n.changedTouches[0];e.touchmoveX=r.clientX,e.touchmoveY=r.clientY,(C=e.move)==null||C.call(e,{originalEvent:n,...e})}function UV(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const e={touchstartX:0,touchstartY:0,touchendX:0,touchendY:0,touchmoveX:0,touchmoveY:0,offsetX:0,offsetY:0,left:n.left,right:n.right,up:n.up,down:n.down,start:n.start,move:n.move,end:n.end};return{touchstart:r=>NV(r,e),touchend:r=>VV(r,e),touchmove:r=>jV(r,e)}}function HV(n,e){var t;const r=e.value,C=r!=null&&r.parent?n.parentElement:n,D=(r==null?void 0:r.options)??{passive:!0},T=(t=e.instance)==null?void 0:t.$.uid;if(!C||!T)return;const p=UV(e.value);C._touchHandlers=C._touchHandlers??Object.create(null),C._touchHandlers[T]=p,c6(p).forEach(d=>{C.addEventListener(d,p[d],D)})}function GV(n,e){var T,p;const r=(T=e.value)!=null&&T.parent?n.parentElement:n,C=(p=e.instance)==null?void 0:p.$.uid;if(!(r!=null&&r._touchHandlers)||!C)return;const D=r._touchHandlers[C];c6(D).forEach(t=>{r.removeEventListener(t,D[t])}),delete r._touchHandlers[C]}const M_={mounted:HV,unmounted:GV},WA=Symbol.for("vuetify:v-window"),YA=Symbol.for("vuetify:v-window-group"),$A=ur({continuous:Boolean,nextIcon:{type:[Boolean,String,Function,Object],default:"$next"},prevIcon:{type:[Boolean,String,Function,Object],default:"$prev"},reverse:Boolean,showArrows:{type:[Boolean,String],validator:n=>typeof n=="boolean"||n==="hover"},touch:{type:[Object,Boolean],default:void 0},direction:{type:String,default:"horizontal"},modelValue:null,disabled:Boolean,selectedClass:{type:String,default:"v-window-item--active"},mandatory:{type:[Boolean,String],default:"force"},...Zr(),...Si(),...oa()},"VWindow"),Sx=Ar()({name:"VWindow",directives:{Touch:M_},props:$A(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{isRtl:D}=Cs(),{t:T}=oc(),p=ip(n,YA),t=Vr(),d=cn(()=>D.value?!n.reverse:n.reverse),g=Wr(!1),i=cn(()=>{const h=n.direction==="vertical"?"y":"x",w=(d.value?!g.value:g.value)?"-reverse":"";return`v-window-${h}${w}-transition`}),M=Wr(0),v=Vr(void 0),f=cn(()=>p.items.value.findIndex(h=>p.selected.value.includes(h.id)));$r(f,(h,m)=>{const w=p.items.value.length,y=w-1;w<=2?g.value=hn.continuous||f.value!==0),a=cn(()=>n.continuous||f.value!==p.items.value.length-1);function u(){l.value&&p.prev()}function o(){a.value&&p.next()}const s=cn(()=>{const h=[],m={icon:D.value?n.nextIcon:n.prevIcon,class:`v-window__${d.value?"right":"left"}`,onClick:p.prev,ariaLabel:T("$vuetify.carousel.prev")};h.push(l.value?r.prev?r.prev({props:m}):gt(_l,m,null):gt("div",null,null));const w={icon:D.value?n.prevIcon:n.nextIcon,class:`v-window__${d.value?"left":"right"}`,onClick:p.next,ariaLabel:T("$vuetify.carousel.next")};return h.push(a.value?r.next?r.next({props:w}):gt(_l,w,null):gt("div",null,null)),h}),c=cn(()=>n.touch===!1?n.touch:{...{left:()=>{d.value?u():o()},right:()=>{d.value?o():u()},start:m=>{let{originalEvent:w}=m;w.stopPropagation()}},...n.touch===!0?{}:n.touch});return Or(()=>Co(gt(n.tag,{ref:t,class:["v-window",{"v-window--show-arrows-on-hover":n.showArrows==="hover"},C.value,n.class],style:n.style},{default:()=>{var h,m;return[gt("div",{class:"v-window__container",style:{height:v.value}},[(h=r.default)==null?void 0:h.call(r,{group:p}),n.showArrows!==!1&>("div",{class:"v-window__controls"},[s.value])]),(m=r.additional)==null?void 0:m.call(r,{group:p})]}}),[[Tu("touch"),c.value]])),{group:p}}}),qV=ur({color:String,cycle:Boolean,delimiterIcon:{type:bi,default:"$delimiter"},height:{type:[Number,String],default:500},hideDelimiters:Boolean,hideDelimiterBackground:Boolean,interval:{type:[Number,String],default:6e3,validator:n=>Number(n)>0},progress:[Boolean,String],verticalDelimiters:[Boolean,String],...$A({continuous:!0,mandatory:"force",showArrows:!0})},"VCarousel"),WV=Ar()({name:"VCarousel",props:qV(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const C=xi(n,"modelValue"),{t:D}=oc(),T=Vr();let p=-1;$r(C,d),$r(()=>n.interval,d),$r(()=>n.cycle,g=>{g?d():window.clearTimeout(p)}),Ks(t);function t(){!n.cycle||!T.value||(p=window.setTimeout(T.value.group.next,+n.interval>0?+n.interval:6e3))}function d(){window.clearTimeout(p),window.requestAnimationFrame(t)}return Or(()=>{const[g]=Sx.filterProps(n);return gt(Sx,qr({ref:T},g,{modelValue:C.value,"onUpdate:modelValue":i=>C.value=i,class:["v-carousel",{"v-carousel--hide-delimiter-background":n.hideDelimiterBackground,"v-carousel--vertical-delimiters":n.verticalDelimiters},n.class],style:[{height:Qr(n.height)},n.style]}),{default:r.default,additional:i=>{let{group:M}=i;return gt(Yr,null,[!n.hideDelimiters&>("div",{class:"v-carousel__controls",style:{left:n.verticalDelimiters==="left"&&n.verticalDelimiters?0:"auto",right:n.verticalDelimiters==="right"?0:"auto"}},[M.items.value.length>0&>(Fa,{defaults:{VBtn:{color:n.color,icon:n.delimiterIcon,size:"x-small",variant:"text"}},scoped:!0},{default:()=>[M.items.value.map((v,f)=>{const l={id:`carousel-item-${v.id}`,"aria-label":D("$vuetify.carousel.ariaLabel.delimiter",f+1,M.items.value.length),class:[M.isSelected(v.id)&&"v-btn--active"],onClick:()=>M.select(v.id,!0)};return r.item?r.item({props:l,item:v}):gt(_l,qr(v,l),null)})]})]),n.progress&>(p_,{class:"v-carousel__progress",color:typeof n.progress=="string"?n.progress:void 0,modelValue:(M.getItemIndex(C.value)+1)/M.items.value.length*100},null)])},prev:r.prev,next:r.next})}),{}}}),ZA=ur({reverseTransition:{type:[Boolean,String],default:void 0},transition:{type:[Boolean,String],default:void 0},...Zr(),...T0(),...o1()},"VWindowItem"),Cx=Ar()({name:"VWindowItem",directives:{Touch:M_},props:ZA(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const C=ka(WA),D=k0(n,YA),{isBooted:T}=tp();if(!C||!D)throw new Error("[Vuetify] VWindowItem must be used inside VWindow");const p=Wr(!1),t=cn(()=>T.value&&(C.isReversed.value?n.reverseTransition!==!1:n.transition!==!1));function d(){!p.value||!C||(p.value=!1,C.transitionCount.value>0&&(C.transitionCount.value-=1,C.transitionCount.value===0&&(C.transitionHeight.value=void 0)))}function g(){var l;p.value||!C||(p.value=!0,C.transitionCount.value===0&&(C.transitionHeight.value=Qr((l=C.rootRef.value)==null?void 0:l.clientHeight)),C.transitionCount.value+=1)}function i(){d()}function M(l){p.value&&Ua(()=>{!t.value||!p.value||!C||(C.transitionHeight.value=Qr(l.clientHeight))})}const v=cn(()=>{const l=C.isReversed.value?n.reverseTransition:n.transition;return t.value?{name:typeof l!="string"?C.transition.value:l,onBeforeEnter:g,onAfterEnter:d,onEnterCancelled:i,onBeforeLeave:g,onAfterLeave:d,onLeaveCancelled:i,onEnter:M}:!1}),{hasContent:f}=__(n,D.isSelected);return Or(()=>gt(Oc,{transition:v.value,disabled:!T.value},{default:()=>{var l;return[Co(gt("div",{class:["v-window-item",D.selectedClass.value,n.class],style:n.style},[f.value&&((l=r.default)==null?void 0:l.call(r))]),[[kh,D.isSelected.value]])]}})),{groupItem:D}}}),YV=ur({...G6(),...ZA()},"VCarouselItem"),$V=Ar()({name:"VCarouselItem",inheritAttrs:!1,props:YV(),setup(n,e){let{slots:r,attrs:C}=e;Or(()=>{const[D]=Zd.filterProps(n),[T]=Cx.filterProps(n);return gt(Cx,qr({class:"v-carousel-item"},T),{default:()=>[gt(Zd,qr(C,D),r)]})})}});const ZV=Nc("v-code");const XV=ur({color:{type:Object},disabled:Boolean,dotSize:{type:[Number,String],default:10},height:{type:[Number,String],default:150},width:{type:[Number,String],default:300},...Zr()},"VColorPickerCanvas"),KV=ac({name:"VColorPickerCanvas",props:XV(),emits:{"update:color":n=>!0,"update:position":n=>!0},setup(n,e){let{emit:r}=e;const C=Wr(!1),D=Vr(),T=Wr(parseFloat(n.width)),p=Wr(parseFloat(n.height)),t=Vr({x:0,y:0}),d=cn({get:()=>t.value,set(u){var c,h;if(!D.value)return;const{x:o,y:s}=u;r("update:color",{h:((c=n.color)==null?void 0:c.h)??0,s:Zs(o,0,T.value)/T.value,v:1-Zs(s,0,p.value)/p.value,a:((h=n.color)==null?void 0:h.a)??1})}}),g=cn(()=>{const{x:u,y:o}=d.value,s=parseInt(n.dotSize,10)/2;return{width:Qr(n.dotSize),height:Qr(n.dotSize),transform:`translate(${Qr(u-s)}, ${Qr(o-s)})`}}),{resizeRef:i}=Th(u=>{var c;if(!((c=i.value)!=null&&c.offsetParent))return;const{width:o,height:s}=u[0].contentRect;T.value=o,p.value=s});function M(u,o,s){const{left:c,top:h,width:m,height:w}=s;d.value={x:Zs(u-c,0,m),y:Zs(o-h,0,w)}}function v(u){u.type==="mousedown"&&u.preventDefault(),!n.disabled&&(f(u),window.addEventListener("mousemove",f),window.addEventListener("mouseup",l),window.addEventListener("touchmove",f),window.addEventListener("touchend",l))}function f(u){if(n.disabled||!D.value)return;C.value=!0;const o=Wz(u);M(o.clientX,o.clientY,D.value.getBoundingClientRect())}function l(){window.removeEventListener("mousemove",f),window.removeEventListener("mouseup",l),window.removeEventListener("touchmove",f),window.removeEventListener("touchend",l)}function a(){var h;if(!D.value)return;const u=D.value,o=u.getContext("2d");if(!o)return;const s=o.createLinearGradient(0,0,u.width,0);s.addColorStop(0,"hsla(0, 0%, 100%, 1)"),s.addColorStop(1,`hsla(${((h=n.color)==null?void 0:h.h)??0}, 100%, 50%, 1)`),o.fillStyle=s,o.fillRect(0,0,u.width,u.height);const c=o.createLinearGradient(0,0,0,u.height);c.addColorStop(0,"hsla(0, 0%, 100%, 0)"),c.addColorStop(1,"hsla(0, 0%, 0%, 1)"),o.fillStyle=c,o.fillRect(0,0,u.width,u.height)}return $r(()=>{var u;return(u=n.color)==null?void 0:u.h},a,{immediate:!0}),$r(()=>[T.value,p.value],(u,o)=>{a(),t.value={x:d.value.x*u[0]/o[0],y:d.value.y*u[1]/o[1]}},{flush:"post"}),$r(()=>n.color,()=>{if(C.value){C.value=!1;return}t.value=n.color?{x:n.color.s*T.value,y:(1-n.color.v)*p.value}:{x:0,y:0}},{deep:!0,immediate:!0}),Ks(()=>a()),Or(()=>gt("div",{ref:i,class:["v-color-picker-canvas",n.class],style:n.style,onMousedown:v,onTouchstartPassive:v},[gt("canvas",{ref:D,width:T.value,height:p.value},null),n.color&>("div",{class:["v-color-picker-canvas__dot",{"v-color-picker-canvas__dot--disabled":n.disabled}],style:g.value},null)])),{}}});function JV(n,e){if(e){const{a:r,...C}=n;return C}return n}function QV(n,e){if(e==null||typeof e=="string"){const r=M6(n);return n.a===1?r.slice(0,7):r}if(typeof e=="object"){let r;return Od(e,["r","g","b"])?r=rf(n):Od(e,["h","s","l"])?r=x6(n):Od(e,["h","s","v"])&&(r=n),JV(r,!Od(e,["a"])&&n.a===1)}return n}const bm={h:0,s:0,v:1,a:1},Ex={inputProps:{type:"number",min:0},inputs:[{label:"R",max:255,step:1,getValue:n=>Math.round(n.r),getColor:(n,e)=>({...n,r:Number(e)})},{label:"G",max:255,step:1,getValue:n=>Math.round(n.g),getColor:(n,e)=>({...n,g:Number(e)})},{label:"B",max:255,step:1,getValue:n=>Math.round(n.b),getColor:(n,e)=>({...n,b:Number(e)})},{label:"A",max:1,step:.01,getValue:n=>{let{a:e}=n;return e!=null?Math.round(e*100)/100:1},getColor:(n,e)=>({...n,a:Number(e)})}],to:rf,from:Xy};var pT;const ej={...Ex,inputs:(pT=Ex.inputs)==null?void 0:pT.slice(0,3)},Lx={inputProps:{type:"number",min:0},inputs:[{label:"H",max:360,step:1,getValue:n=>Math.round(n.h),getColor:(n,e)=>({...n,h:Number(e)})},{label:"S",max:1,step:.01,getValue:n=>Math.round(n.s*100)/100,getColor:(n,e)=>({...n,s:Number(e)})},{label:"L",max:1,step:.01,getValue:n=>Math.round(n.l*100)/100,getColor:(n,e)=>({...n,l:Number(e)})},{label:"A",max:1,step:.01,getValue:n=>{let{a:e}=n;return e!=null?Math.round(e*100)/100:1},getColor:(n,e)=>({...n,a:Number(e)})}],to:x6,from:e_},tj={...Lx,inputs:Lx.inputs.slice(0,3)},XA={inputProps:{type:"text"},inputs:[{label:"HEXA",getValue:n=>n,getColor:(n,e)=>e}],to:M6,from:hF},nj={...XA,inputs:[{label:"HEX",getValue:n=>n.slice(0,7),getColor:(n,e)=>e}]},Hd={rgb:ej,rgba:Ex,hsl:tj,hsla:Lx,hex:nj,hexa:XA},rj=n=>{let{label:e,...r}=n;return gt("div",{class:"v-color-picker-edit__input"},[gt("input",r,null),gt("span",null,[e])])},ij=ur({color:Object,disabled:Boolean,mode:{type:String,default:"rgba",validator:n=>Object.keys(Hd).includes(n)},modes:{type:Array,default:()=>Object.keys(Hd),validator:n=>Array.isArray(n)&&n.every(e=>Object.keys(Hd).includes(e))},...Zr()},"VColorPickerEdit"),aj=ac({name:"VColorPickerEdit",props:ij(),emits:{"update:color":n=>!0,"update:mode":n=>!0},setup(n,e){let{emit:r}=e;const C=cn(()=>n.modes.map(T=>({...Hd[T],name:T}))),D=cn(()=>{var t;const T=C.value.find(d=>d.name===n.mode);if(!T)return[];const p=n.color?T.to(n.color):null;return(t=T.inputs)==null?void 0:t.map(d=>{let{getValue:g,getColor:i,...M}=d;return{...T.inputProps,...M,disabled:n.disabled,value:p&&g(p),onChange:v=>{const f=v.target;f&&r("update:color",T.from(i(p??bm,f.value)))}}})});return Or(()=>{var T;return gt("div",{class:["v-color-picker-edit",n.class],style:n.style},[(T=D.value)==null?void 0:T.map(p=>gt(rj,p,null)),C.value.length>1&>(_l,{icon:"$unfold",size:"x-small",variant:"plain",onClick:()=>{const p=C.value.findIndex(t=>t.name===n.mode);r("update:mode",C.value[(p+1)%C.value.length].name)}},null)])}),{}}});const A_=Symbol.for("vuetify:v-slider");function Ix(n,e,r){const C=r==="vertical",D=e.getBoundingClientRect(),T="touches"in n?n.touches[0]:n;return C?T.clientY-(D.top+D.height/2):T.clientX-(D.left+D.width/2)}function oj(n,e){return"touches"in n&&n.touches.length?n.touches[0][e]:"changedTouches"in n&&n.changedTouches.length?n.changedTouches[0][e]:n[e]}const KA=ur({disabled:{type:Boolean,default:null},error:Boolean,readonly:{type:Boolean,default:null},max:{type:[Number,String],default:100},min:{type:[Number,String],default:0},step:{type:[Number,String],default:0},thumbColor:String,thumbLabel:{type:[Boolean,String],default:void 0,validator:n=>typeof n=="boolean"||n==="always"},thumbSize:{type:[Number,String],default:20},showTicks:{type:[Boolean,String],default:!1,validator:n=>typeof n=="boolean"||n==="always"},ticks:{type:[Array,Object]},tickSize:{type:[Number,String],default:2},color:String,trackColor:String,trackFillColor:String,trackSize:{type:[Number,String],default:4},direction:{type:String,default:"horizontal",validator:n=>["vertical","horizontal"].includes(n)},reverse:Boolean,...lo(),...fs({elevation:2})},"Slider"),JA=n=>{const e=cn(()=>parseFloat(n.min)),r=cn(()=>parseFloat(n.max)),C=cn(()=>+n.step>0?parseFloat(n.step):0),D=cn(()=>Math.max(_5(C.value),_5(e.value)));function T(p){if(p=parseFloat(p),C.value<=0)return p;const t=Zs(p,e.value,r.value),d=e.value%C.value,g=Math.round((t-d)/C.value)*C.value+d;return parseFloat(Math.min(g,r.value).toFixed(D.value))}return{min:e,max:r,step:C,decimals:D,roundValue:T}},QA=n=>{let{props:e,steps:r,onSliderStart:C,onSliderMove:D,onSliderEnd:T,getActiveThumb:p}=n;const{isRtl:t}=Cs(),d=Cr(e,"reverse"),g=cn(()=>{let U=t.value?"rtl":"ltr";return e.reverse&&(U=U==="rtl"?"ltr":"rtl"),U}),{min:i,max:M,step:v,decimals:f,roundValue:l}=r,a=cn(()=>parseInt(e.thumbSize,10)),u=cn(()=>parseInt(e.tickSize,10)),o=cn(()=>parseInt(e.trackSize,10)),s=cn(()=>(M.value-i.value)/v.value),c=Cr(e,"disabled"),h=cn(()=>e.direction==="vertical"),m=cn(()=>e.error||e.disabled?void 0:e.thumbColor??e.color),w=cn(()=>e.error||e.disabled?void 0:e.trackColor??e.color),y=cn(()=>e.error||e.disabled?void 0:e.trackFillColor??e.color),S=Wr(!1),_=Wr(0),k=Vr(),E=Vr();function x(U){var re;const G=e.direction==="vertical",q=G?"top":"left",H=G?"height":"width",ne=G?"clientY":"clientX",{[q]:te,[H]:Z}=(re=k.value)==null?void 0:re.$el.getBoundingClientRect(),X=oj(U,ne);let Q=Math.min(Math.max((X-te-_.value)/Z,0),1)||0;return(G||g.value==="rtl")&&(Q=1-Q),l(i.value+Q*(M.value-i.value))}const A=U=>{T({value:x(U)}),S.value=!1,_.value=0},L=U=>{E.value=p(U),E.value&&(E.value.focus(),S.value=!0,E.value.contains(U.target)?_.value=Ix(U,E.value,e.direction):(_.value=0,D({value:x(U)})),C({value:x(U)}))},b={passive:!0,capture:!0};function R(U){D({value:x(U)})}function I(U){U.stopPropagation(),U.preventDefault(),A(U),window.removeEventListener("mousemove",R,b),window.removeEventListener("mouseup",I)}function O(U){var G;A(U),window.removeEventListener("touchmove",R,b),(G=U.target)==null||G.removeEventListener("touchend",O)}function z(U){var G;L(U),window.addEventListener("touchmove",R,b),(G=U.target)==null||G.addEventListener("touchend",O,{passive:!1})}function F(U){U.preventDefault(),L(U),window.addEventListener("mousemove",R,b),window.addEventListener("mouseup",I,{passive:!1})}const B=U=>{const G=(U-i.value)/(M.value-i.value)*100;return Zs(isNaN(G)?0:G,0,100)},N=Cr(e,"showTicks"),W=cn(()=>N.value?e.ticks?Array.isArray(e.ticks)?e.ticks.map(U=>({value:U,position:B(U),label:U.toString()})):Object.keys(e.ticks).map(U=>({value:parseFloat(U),position:B(parseFloat(U)),label:e.ticks[U]})):s.value!==1/0?Kh(s.value+1).map(U=>{const G=i.value+U*v.value;return{value:G,position:B(G)}}):[]:[]),j=cn(()=>W.value.some(U=>{let{label:G}=U;return!!G})),$={activeThumbRef:E,color:Cr(e,"color"),decimals:f,disabled:c,direction:Cr(e,"direction"),elevation:Cr(e,"elevation"),hasLabels:j,horizontalDirection:g,isReversed:d,min:i,max:M,mousePressed:S,numTicks:s,onSliderMousedown:F,onSliderTouchstart:z,parsedTicks:W,parseMouseMove:x,position:B,readonly:Cr(e,"readonly"),rounded:Cr(e,"rounded"),roundValue:l,showTicks:N,startOffset:_,step:v,thumbSize:a,thumbColor:m,thumbLabel:Cr(e,"thumbLabel"),ticks:Cr(e,"ticks"),tickSize:u,trackColor:w,trackContainerRef:k,trackFillColor:y,trackSize:o,vertical:h};return ts(A_,$),$},sj=ur({focused:Boolean,max:{type:Number,required:!0},min:{type:Number,required:!0},modelValue:{type:Number,required:!0},position:{type:Number,required:!0},ripple:{type:[Boolean,Object],default:!0},...Zr()},"VSliderThumb"),Rx=Ar()({name:"VSliderThumb",directives:{Ripple:nd},props:sj(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r,emit:C}=e;const D=ka(A_),{rtlClasses:T}=Cs();if(!D)throw new Error("[Vuetify] v-slider-thumb must be used inside v-slider or v-range-slider");const{thumbColor:p,step:t,vertical:d,disabled:g,thumbSize:i,thumbLabel:M,direction:v,readonly:f,elevation:l,isReversed:a,horizontalDirection:u,mousePressed:o,decimals:s}=D,{textColorClasses:c,textColorStyles:h}=Xs(p),{pageup:m,pagedown:w,end:y,home:S,left:_,right:k,down:E,up:x}=sx,A=[m,w,y,S,_,k,E,x],L=cn(()=>t.value?[1,2,3]:[1,5,10]);function b(I,O){if(!A.includes(I.key))return;I.preventDefault();const z=t.value||.1,F=(n.max-n.min)/z;if([_,k,E,x].includes(I.key)){const N=(u.value==="rtl"?[_,x]:[k,x]).includes(I.key)?1:-1,W=I.shiftKey?2:I.ctrlKey?1:0;O=O+N*z*L.value[W]}else if(I.key===S)O=n.min;else if(I.key===y)O=n.max;else{const B=I.key===w?1:-1;O=O-B*z*(F>100?F/10:10)}return Math.max(n.min,Math.min(n.max,O))}function R(I){const O=b(I,n.modelValue);O!=null&&C("update:modelValue",O)}return Or(()=>{const I=Qr(d.value||a.value?100-n.position:n.position,"%"),{elevationClasses:O}=Vs(cn(()=>g.value?void 0:l.value));return gt("div",{class:["v-slider-thumb",{"v-slider-thumb--focused":n.focused,"v-slider-thumb--pressed":n.focused&&o.value},n.class,T.value],style:[{"--v-slider-thumb-position":I,"--v-slider-thumb-size":Qr(i.value)},n.style],role:"slider",tabindex:g.value?-1:0,"aria-valuemin":n.min,"aria-valuemax":n.max,"aria-valuenow":n.modelValue,"aria-readonly":!!f.value,"aria-orientation":v.value,onKeydown:f.value?void 0:R},[gt("div",{class:["v-slider-thumb__surface",c.value,O.value],style:{...h.value}},null),Co(gt("div",{class:["v-slider-thumb__ripple",c.value],style:h.value},null),[[Tu("ripple"),n.ripple,null,{circle:!0,center:!0}]]),gt(s_,{origin:"bottom center"},{default:()=>{var z;return[Co(gt("div",{class:"v-slider-thumb__label-container"},[gt("div",{class:["v-slider-thumb__label"]},[gt("div",null,[((z=r["thumb-label"])==null?void 0:z.call(r,{modelValue:n.modelValue}))??n.modelValue.toFixed(t.value?s.value:1)])])]),[[kh,M.value&&n.focused||M.value==="always"]])]}})])}),{}}});const lj=ur({start:{type:Number,required:!0},stop:{type:Number,required:!0},...Zr()},"VSliderTrack"),eS=Ar()({name:"VSliderTrack",props:lj(),emits:{},setup(n,e){let{slots:r}=e;const C=ka(A_);if(!C)throw new Error("[Vuetify] v-slider-track must be inside v-slider or v-range-slider");const{color:D,horizontalDirection:T,parsedTicks:p,rounded:t,showTicks:d,tickSize:g,trackColor:i,trackFillColor:M,trackSize:v,vertical:f,min:l,max:a}=C,{roundedClasses:u}=Eo(t),{backgroundColorClasses:o,backgroundColorStyles:s}=Oo(M),{backgroundColorClasses:c,backgroundColorStyles:h}=Oo(i),m=cn(()=>`inset-${f.value?"block-end":"inline-start"}`),w=cn(()=>f.value?"height":"width"),y=cn(()=>({[m.value]:"0%",[w.value]:"100%"})),S=cn(()=>n.stop-n.start),_=cn(()=>({[m.value]:Qr(n.start,"%"),[w.value]:Qr(S.value,"%")})),k=cn(()=>d.value?(f.value?p.value.slice().reverse():p.value).map((x,A)=>{var R;const L=f.value?"bottom":"margin-inline-start",b=x.value!==l.value&&x.value!==a.value?Qr(x.position,"%"):void 0;return gt("div",{key:x.value,class:["v-slider-track__tick",{"v-slider-track__tick--filled":x.position>=n.start&&x.position<=n.stop,"v-slider-track__tick--first":x.value===l.value,"v-slider-track__tick--last":x.value===a.value}],style:{[L]:b}},[(x.label||r["tick-label"])&>("div",{class:"v-slider-track__tick-label"},[((R=r["tick-label"])==null?void 0:R.call(r,{tick:x,index:A}))??x.label])])}):[]);return Or(()=>gt("div",{class:["v-slider-track",u.value,n.class],style:[{"--v-slider-track-size":Qr(v.value),"--v-slider-tick-size":Qr(g.value),direction:f.value?void 0:T.value},n.style]},[gt("div",{class:["v-slider-track__background",c.value,{"v-slider-track__background--opacity":!!D.value||!M.value}],style:{...y.value,...h.value}},null),gt("div",{class:["v-slider-track__fill",o.value],style:{..._.value,...s.value}},null),d.value&>("div",{class:["v-slider-track__ticks",{"v-slider-track__ticks--always-show":d.value==="always"}]},[k.value])])),{}}}),uj=ur({...r1(),...KA(),...mf(),modelValue:{type:[Number,String],default:0}},"VSlider"),Px=Ar()({name:"VSlider",props:uj(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,start:n=>!0,end:n=>!0},setup(n,e){let{slots:r,emit:C}=e;const D=Vr(),{rtlClasses:T}=Cs(),p=JA(n),t=xi(n,"modelValue",void 0,w=>p.roundValue(w??p.min.value)),{min:d,max:g,mousePressed:i,roundValue:M,onSliderMousedown:v,onSliderTouchstart:f,trackContainerRef:l,position:a,hasLabels:u,readonly:o}=QA({props:n,steps:p,onSliderStart:()=>{C("start",t.value)},onSliderEnd:w=>{let{value:y}=w;const S=M(y);t.value=S,C("end",S)},onSliderMove:w=>{let{value:y}=w;return t.value=M(y)},getActiveThumb:()=>{var w;return(w=D.value)==null?void 0:w.$el}}),{isFocused:s,focus:c,blur:h}=rd(n),m=cn(()=>a(t.value));return Or(()=>{const[w,y]=Bs.filterProps(n),S=!!(n.label||r.label||r.prepend);return gt(Bs,qr({class:["v-slider",{"v-slider--has-labels":!!r["tick-label"]||u.value,"v-slider--focused":s.value,"v-slider--pressed":i.value,"v-slider--disabled":n.disabled},T.value,n.class],style:n.style},w,{focused:s.value}),{...r,prepend:S?_=>{var k,E;return gt(Yr,null,[((k=r.label)==null?void 0:k.call(r,_))??n.label?gt(C0,{id:_.id.value,class:"v-slider__label",text:n.label},null):void 0,(E=r.prepend)==null?void 0:E.call(r,_)])}:void 0,default:_=>{let{id:k,messagesId:E}=_;return gt("div",{class:"v-slider__container",onMousedown:o.value?void 0:v,onTouchstartPassive:o.value?void 0:f},[gt("input",{id:k.value,name:n.name||k.value,disabled:!!n.disabled,readonly:!!n.readonly,tabindex:"-1",value:t.value},null),gt(eS,{ref:l,start:0,stop:m.value},{"tick-label":r["tick-label"]}),gt(Rx,{ref:D,"aria-describedby":E.value,focused:s.value,min:d.value,max:g.value,modelValue:t.value,"onUpdate:modelValue":x=>t.value=x,position:m.value,elevation:n.elevation,onFocus:c,onBlur:h},{"thumb-label":r["thumb-label"]})])}})}),{}}}),cj=ur({color:{type:Object},disabled:Boolean,hideAlpha:Boolean,...Zr()},"VColorPickerPreview"),hj=ac({name:"VColorPickerPreview",props:cj(),emits:{"update:color":n=>!0},setup(n,e){let{emit:r}=e;return Or(()=>{var C,D;return gt("div",{class:["v-color-picker-preview",{"v-color-picker-preview--hide-alpha":n.hideAlpha},n.class],style:n.style},[gt("div",{class:"v-color-picker-preview__dot"},[gt("div",{style:{background:w6(n.color??bm)}},null)]),gt("div",{class:"v-color-picker-preview__sliders"},[gt(Px,{class:"v-color-picker-preview__track v-color-picker-preview__hue",modelValue:(C=n.color)==null?void 0:C.h,"onUpdate:modelValue":T=>r("update:color",{...n.color??bm,h:T}),step:0,min:0,max:360,disabled:n.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null),!n.hideAlpha&>(Px,{class:"v-color-picker-preview__track v-color-picker-preview__alpha",modelValue:((D=n.color)==null?void 0:D.a)??1,"onUpdate:modelValue":T=>r("update:color",{...n.color??bm,a:T}),step:1/256,min:0,max:1,disabled:n.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null)])])}),{}}});const fj=Object.freeze({base:"#f44336",lighten5:"#ffebee",lighten4:"#ffcdd2",lighten3:"#ef9a9a",lighten2:"#e57373",lighten1:"#ef5350",darken1:"#e53935",darken2:"#d32f2f",darken3:"#c62828",darken4:"#b71c1c",accent1:"#ff8a80",accent2:"#ff5252",accent3:"#ff1744",accent4:"#d50000"}),dj=Object.freeze({base:"#e91e63",lighten5:"#fce4ec",lighten4:"#f8bbd0",lighten3:"#f48fb1",lighten2:"#f06292",lighten1:"#ec407a",darken1:"#d81b60",darken2:"#c2185b",darken3:"#ad1457",darken4:"#880e4f",accent1:"#ff80ab",accent2:"#ff4081",accent3:"#f50057",accent4:"#c51162"}),pj=Object.freeze({base:"#9c27b0",lighten5:"#f3e5f5",lighten4:"#e1bee7",lighten3:"#ce93d8",lighten2:"#ba68c8",lighten1:"#ab47bc",darken1:"#8e24aa",darken2:"#7b1fa2",darken3:"#6a1b9a",darken4:"#4a148c",accent1:"#ea80fc",accent2:"#e040fb",accent3:"#d500f9",accent4:"#aa00ff"}),mj=Object.freeze({base:"#673ab7",lighten5:"#ede7f6",lighten4:"#d1c4e9",lighten3:"#b39ddb",lighten2:"#9575cd",lighten1:"#7e57c2",darken1:"#5e35b1",darken2:"#512da8",darken3:"#4527a0",darken4:"#311b92",accent1:"#b388ff",accent2:"#7c4dff",accent3:"#651fff",accent4:"#6200ea"}),gj=Object.freeze({base:"#3f51b5",lighten5:"#e8eaf6",lighten4:"#c5cae9",lighten3:"#9fa8da",lighten2:"#7986cb",lighten1:"#5c6bc0",darken1:"#3949ab",darken2:"#303f9f",darken3:"#283593",darken4:"#1a237e",accent1:"#8c9eff",accent2:"#536dfe",accent3:"#3d5afe",accent4:"#304ffe"}),vj=Object.freeze({base:"#2196f3",lighten5:"#e3f2fd",lighten4:"#bbdefb",lighten3:"#90caf9",lighten2:"#64b5f6",lighten1:"#42a5f5",darken1:"#1e88e5",darken2:"#1976d2",darken3:"#1565c0",darken4:"#0d47a1",accent1:"#82b1ff",accent2:"#448aff",accent3:"#2979ff",accent4:"#2962ff"}),yj=Object.freeze({base:"#03a9f4",lighten5:"#e1f5fe",lighten4:"#b3e5fc",lighten3:"#81d4fa",lighten2:"#4fc3f7",lighten1:"#29b6f6",darken1:"#039be5",darken2:"#0288d1",darken3:"#0277bd",darken4:"#01579b",accent1:"#80d8ff",accent2:"#40c4ff",accent3:"#00b0ff",accent4:"#0091ea"}),bj=Object.freeze({base:"#00bcd4",lighten5:"#e0f7fa",lighten4:"#b2ebf2",lighten3:"#80deea",lighten2:"#4dd0e1",lighten1:"#26c6da",darken1:"#00acc1",darken2:"#0097a7",darken3:"#00838f",darken4:"#006064",accent1:"#84ffff",accent2:"#18ffff",accent3:"#00e5ff",accent4:"#00b8d4"}),xj=Object.freeze({base:"#009688",lighten5:"#e0f2f1",lighten4:"#b2dfdb",lighten3:"#80cbc4",lighten2:"#4db6ac",lighten1:"#26a69a",darken1:"#00897b",darken2:"#00796b",darken3:"#00695c",darken4:"#004d40",accent1:"#a7ffeb",accent2:"#64ffda",accent3:"#1de9b6",accent4:"#00bfa5"}),_j=Object.freeze({base:"#4caf50",lighten5:"#e8f5e9",lighten4:"#c8e6c9",lighten3:"#a5d6a7",lighten2:"#81c784",lighten1:"#66bb6a",darken1:"#43a047",darken2:"#388e3c",darken3:"#2e7d32",darken4:"#1b5e20",accent1:"#b9f6ca",accent2:"#69f0ae",accent3:"#00e676",accent4:"#00c853"}),wj=Object.freeze({base:"#8bc34a",lighten5:"#f1f8e9",lighten4:"#dcedc8",lighten3:"#c5e1a5",lighten2:"#aed581",lighten1:"#9ccc65",darken1:"#7cb342",darken2:"#689f38",darken3:"#558b2f",darken4:"#33691e",accent1:"#ccff90",accent2:"#b2ff59",accent3:"#76ff03",accent4:"#64dd17"}),Tj=Object.freeze({base:"#cddc39",lighten5:"#f9fbe7",lighten4:"#f0f4c3",lighten3:"#e6ee9c",lighten2:"#dce775",lighten1:"#d4e157",darken1:"#c0ca33",darken2:"#afb42b",darken3:"#9e9d24",darken4:"#827717",accent1:"#f4ff81",accent2:"#eeff41",accent3:"#c6ff00",accent4:"#aeea00"}),kj=Object.freeze({base:"#ffeb3b",lighten5:"#fffde7",lighten4:"#fff9c4",lighten3:"#fff59d",lighten2:"#fff176",lighten1:"#ffee58",darken1:"#fdd835",darken2:"#fbc02d",darken3:"#f9a825",darken4:"#f57f17",accent1:"#ffff8d",accent2:"#ffff00",accent3:"#ffea00",accent4:"#ffd600"}),Mj=Object.freeze({base:"#ffc107",lighten5:"#fff8e1",lighten4:"#ffecb3",lighten3:"#ffe082",lighten2:"#ffd54f",lighten1:"#ffca28",darken1:"#ffb300",darken2:"#ffa000",darken3:"#ff8f00",darken4:"#ff6f00",accent1:"#ffe57f",accent2:"#ffd740",accent3:"#ffc400",accent4:"#ffab00"}),Aj=Object.freeze({base:"#ff9800",lighten5:"#fff3e0",lighten4:"#ffe0b2",lighten3:"#ffcc80",lighten2:"#ffb74d",lighten1:"#ffa726",darken1:"#fb8c00",darken2:"#f57c00",darken3:"#ef6c00",darken4:"#e65100",accent1:"#ffd180",accent2:"#ffab40",accent3:"#ff9100",accent4:"#ff6d00"}),Sj=Object.freeze({base:"#ff5722",lighten5:"#fbe9e7",lighten4:"#ffccbc",lighten3:"#ffab91",lighten2:"#ff8a65",lighten1:"#ff7043",darken1:"#f4511e",darken2:"#e64a19",darken3:"#d84315",darken4:"#bf360c",accent1:"#ff9e80",accent2:"#ff6e40",accent3:"#ff3d00",accent4:"#dd2c00"}),Cj=Object.freeze({base:"#795548",lighten5:"#efebe9",lighten4:"#d7ccc8",lighten3:"#bcaaa4",lighten2:"#a1887f",lighten1:"#8d6e63",darken1:"#6d4c41",darken2:"#5d4037",darken3:"#4e342e",darken4:"#3e2723"}),Ej=Object.freeze({base:"#607d8b",lighten5:"#eceff1",lighten4:"#cfd8dc",lighten3:"#b0bec5",lighten2:"#90a4ae",lighten1:"#78909c",darken1:"#546e7a",darken2:"#455a64",darken3:"#37474f",darken4:"#263238"}),Lj=Object.freeze({base:"#9e9e9e",lighten5:"#fafafa",lighten4:"#f5f5f5",lighten3:"#eeeeee",lighten2:"#e0e0e0",lighten1:"#bdbdbd",darken1:"#757575",darken2:"#616161",darken3:"#424242",darken4:"#212121"}),Ij=Object.freeze({black:"#000000",white:"#ffffff",transparent:"#ffffff00"}),Rj=Object.freeze({red:fj,pink:dj,purple:pj,deepPurple:mj,indigo:gj,blue:vj,lightBlue:yj,cyan:bj,teal:xj,green:_j,lightGreen:wj,lime:Tj,yellow:kj,amber:Mj,orange:Aj,deepOrange:Sj,brown:Cj,blueGrey:Ej,grey:Lj,shades:Ij}),Pj=ur({swatches:{type:Array,default:()=>Oj(Rj)},disabled:Boolean,color:Object,maxHeight:[Number,String],...Zr()},"VColorPickerSwatches");function Oj(n){return Object.keys(n).map(e=>{const r=n[e];return r.base?[r.base,r.darken4,r.darken3,r.darken2,r.darken1,r.lighten1,r.lighten2,r.lighten3,r.lighten4,r.lighten5]:[r.black,r.white,r.transparent]})}const Dj=ac({name:"VColorPickerSwatches",props:Pj(),emits:{"update:color":n=>!0},setup(n,e){let{emit:r}=e;return Or(()=>gt("div",{class:["v-color-picker-swatches",n.class],style:[{maxHeight:Qr(n.maxHeight)},n.style]},[gt("div",null,[n.swatches.map(C=>gt("div",{class:"v-color-picker-swatches__swatch"},[C.map(D=>{const T=Pc(D),p=Xy(T),t=_6(T);return gt("div",{class:"v-color-picker-swatches__color",onClick:()=>p&&r("update:color",p)},[gt("div",{style:{background:t}},[n.color&&b0(n.color,p)?gt(ja,{size:"x-small",icon:"$success",color:mF(D,"#FFFFFF")>2?"white":"black"},null):void 0])])})]))])])),{}}});const tS=ur({color:String,...Su(),...Zr(),...sc(),...fs(),...ed(),...A0(),...lo(),...Si(),...oa()},"VSheet"),Ox=Ar()({name:"VSheet",props:tS(),setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{backgroundColorClasses:D,backgroundColorStyles:T}=Oo(Cr(n,"color")),{borderClasses:p}=uc(n),{dimensionStyles:t}=lc(n),{elevationClasses:d}=Vs(n),{locationStyles:g}=td(n),{positionClasses:i}=S0(n),{roundedClasses:M}=Eo(n);return Or(()=>gt(n.tag,{class:["v-sheet",C.value,D.value,p.value,d.value,i.value,M.value,n.class],style:[T.value,t.value,g.value,n.style]},r)),{}}}),zj=ur({canvasHeight:{type:[String,Number],default:150},disabled:Boolean,dotSize:{type:[Number,String],default:10},hideCanvas:Boolean,hideSliders:Boolean,hideInputs:Boolean,mode:{type:String,default:"rgba",validator:n=>Object.keys(Hd).includes(n)},modes:{type:Array,default:()=>Object.keys(Hd),validator:n=>Array.isArray(n)&&n.every(e=>Object.keys(Hd).includes(e))},showSwatches:Boolean,swatches:Array,swatchesMaxHeight:{type:[Number,String],default:150},modelValue:{type:[Object,String]},...ic(tS({width:300}),["height","location","minHeight","maxHeight","minWidth","maxWidth"])},"VColorPicker"),Fj=ac({name:"VColorPicker",props:zj(),emits:{"update:modelValue":n=>!0,"update:mode":n=>!0},setup(n){const e=xi(n,"mode"),r=Vr(null),C=xi(n,"modelValue",void 0,p=>{if(p==null||p==="")return null;let t;try{t=Xy(Pc(p))}catch{return null}return r.value&&(t={...t,h:r.value.h},r.value=null),t},p=>p?QV(p,n.modelValue):null),{rtlClasses:D}=Cs(),T=p=>{C.value=p,r.value=p};return Ks(()=>{n.modes.includes(e.value)||(e.value=n.modes[0])}),es({VSlider:{color:void 0,trackColor:void 0,trackFillColor:void 0}}),Or(()=>{const[p]=Ox.filterProps(n);return gt(Ox,qr({rounded:n.rounded,elevation:n.elevation,theme:n.theme,class:["v-color-picker",D.value,n.class],style:[{"--v-color-picker-color-hsv":w6({...C.value??bm,a:1})},n.style]},p,{maxWidth:n.width}),{default:()=>[!n.hideCanvas&>(KV,{key:"canvas",color:C.value,"onUpdate:color":T,disabled:n.disabled,dotSize:n.dotSize,width:n.width,height:n.canvasHeight},null),(!n.hideSliders||!n.hideInputs)&>("div",{key:"controls",class:"v-color-picker__controls"},[!n.hideSliders&>(hj,{key:"preview",color:C.value,"onUpdate:color":T,hideAlpha:!e.value.endsWith("a"),disabled:n.disabled},null),!n.hideInputs&>(aj,{key:"edit",modes:n.modes,mode:e.value,"onUpdate:mode":t=>e.value=t,color:C.value,"onUpdate:color":T,disabled:n.disabled},null)]),n.showSwatches&>(Dj,{key:"swatches",color:C.value,"onUpdate:color":T,maxHeight:n.swatchesMaxHeight,swatches:n.swatches,disabled:n.disabled},null)]})}),{}}});function Bj(n,e,r){if(e==null)return n;if(Array.isArray(e))throw new Error("Multiple matches is not implemented");return typeof e=="number"&&~e?gt(Yr,null,[gt("span",{class:"v-combobox__unmask"},[n.substr(0,e)]),gt("span",{class:"v-combobox__mask"},[n.substr(e,r)]),gt("span",{class:"v-combobox__unmask"},[n.substr(e+r)])]):n}const Nj=ur({autoSelectFirst:{type:[Boolean,String]},delimiters:Array,...DA({filterKeys:["title"]}),...k_({hideNoData:!0,returnObject:!0}),...ic(c1({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...df({transition:!1})},"VCombobox"),Vj=Ar()({name:"VCombobox",props:Nj(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,"update:search":n=>!0,"update:menu":n=>!0},setup(n,e){var q;let{emit:r,slots:C}=e;const{t:D}=oc(),T=Vr(),p=Wr(!1),t=Wr(!0),d=Wr(!1),g=Vr(),i=Vr(),M=xi(n,"menu"),v=cn({get:()=>M.value,set:H=>{var ne;M.value&&!H&&((ne=g.value)!=null&&ne.ΨopenChildren)||(M.value=H)}}),f=Wr(-1);let l=!1;const a=cn(()=>{var H;return(H=T.value)==null?void 0:H.color}),u=cn(()=>v.value?n.closeText:n.openText),{items:o,transformIn:s,transformOut:c}=x_(n),{textColorClasses:h,textColorStyles:m}=Xs(a),w=xi(n,"modelValue",[],H=>s(bu(H)),H=>{const ne=c(H);return n.multiple?ne:ne[0]??null}),y=i1(),S=Wr(n.multiple?"":((q=w.value[0])==null?void 0:q.title)??""),_=cn({get:()=>S.value,set:H=>{var ne;if(S.value=H,n.multiple||(w.value=[zd(n,H)]),H&&n.multiple&&((ne=n.delimiters)!=null&&ne.length)){const te=H.split(new RegExp(`(?:${n.delimiters.join("|")})+`));te.length>1&&(te.forEach(Z=>{Z=Z.trim(),Z&&j(zd(n,Z))}),S.value="")}H||(f.value=-1),t.value=!H}});$r(S,H=>{l?Ua(()=>l=!1):p.value&&!v.value&&(v.value=!0),r("update:search",H)}),$r(w,H=>{var ne;n.multiple||(S.value=((ne=H[0])==null?void 0:ne.title)??"")});const{filteredItems:k,getMatches:E}=zA(n,o,()=>t.value?"":_.value),x=cn(()=>n.hideSelected?k.value.filter(H=>!w.value.some(ne=>ne.value===H.value)):k.value),A=cn(()=>w.value.map(H=>H.value)),L=cn(()=>{var ne;return(n.autoSelectFirst===!0||n.autoSelectFirst==="exact"&&_.value===((ne=x.value[0])==null?void 0:ne.title))&&x.value.length>0&&!t.value&&!d.value}),b=cn(()=>n.hideNoData&&!o.value.length||n.readonly||(y==null?void 0:y.isReadonly.value)),R=Vr(),{onListScroll:I,onListKeydown:O}=T_(R,T);function z(H){l=!0,n.openOnClear&&(v.value=!0)}function F(){b.value||(v.value=!0)}function B(H){b.value||(p.value&&(H.preventDefault(),H.stopPropagation()),v.value=!v.value)}function N(H){var Z;if(n.readonly||y!=null&&y.isReadonly.value)return;const ne=T.value.selectionStart,te=w.value.length;if((f.value>-1||["Enter","ArrowDown","ArrowUp"].includes(H.key))&&H.preventDefault(),["Enter","ArrowDown"].includes(H.key)&&(v.value=!0),["Escape"].includes(H.key)&&(v.value=!1),["Enter","Escape","Tab"].includes(H.key)&&(L.value&&["Enter","Tab"].includes(H.key)&&j(k.value[0]),t.value=!0),H.key==="ArrowDown"&&L.value&&((Z=R.value)==null||Z.focus("next")),!!n.multiple){if(["Backspace","Delete"].includes(H.key)){if(f.value<0){H.key==="Backspace"&&!_.value&&(f.value=te-1);return}const X=f.value,Q=w.value[f.value];Q&&j(Q),f.value=X>=te-1?te-2:X}if(H.key==="ArrowLeft"){if(f.value<0&&ne>0)return;const X=f.value>-1?f.value-1:te-1;w.value[X]?f.value=X:(f.value=-1,T.value.setSelectionRange(_.value.length,_.value.length))}if(H.key==="ArrowRight"){if(f.value<0)return;const X=f.value+1;w.value[X]?f.value=X:(f.value=-1,T.value.setSelectionRange(0,0))}H.key==="Enter"&&_.value&&(j(zd(n,_.value)),_.value="")}}function W(){var H;p.value&&(t.value=!0,(H=T.value)==null||H.focus())}function j(H){if(n.multiple){const ne=w.value.findIndex(te=>n.valueComparator(te.value,H.value));if(ne===-1)w.value=[...w.value,H];else{const te=[...w.value];te.splice(ne,1),w.value=te}_.value=""}else w.value=[H],S.value=H.title,Ua(()=>{v.value=!1,t.value=!0})}function $(H){p.value=!0,setTimeout(()=>{d.value=!0})}function U(H){d.value=!1}function G(H){(H==null||H===""&&!n.multiple)&&(w.value=[])}return $r(k,H=>{!H.length&&n.hideNoData&&(v.value=!1)}),$r(p,(H,ne)=>{H||H===ne||(f.value=-1,v.value=!1,L.value&&!d.value&&!w.value.some(te=>{let{value:Z}=te;return Z===x.value[0].value})?j(x.value[0]):n.multiple&&_.value&&(w.value=[...w.value,zd(n,_.value)],_.value=""))}),$r(v,()=>{if(!n.hideSelected&&v.value&&w.value.length){const H=x.value.findIndex(ne=>w.value.some(te=>n.valueComparator(te.value,ne.value)));to&&window.requestAnimationFrame(()=>{var ne;H>=0&&((ne=i.value)==null||ne.scrollToIndex(H))})}}),Or(()=>{const H=!!(n.chips||C.chip),ne=!!(!n.hideNoData||x.value.length||C["prepend-item"]||C["append-item"]||C["no-data"]),te=w.value.length>0,[Z]=Kd.filterProps(n);return gt(Kd,qr({ref:T},Z,{modelValue:_.value,"onUpdate:modelValue":[X=>_.value=X,G],focused:p.value,"onUpdate:focused":X=>p.value=X,validationValue:w.externalValue,dirty:te,class:["v-combobox",{"v-combobox--active-menu":v.value,"v-combobox--chips":!!n.chips,"v-combobox--selection-slot":!!C.selection,"v-combobox--selecting-index":f.value>-1,[`v-combobox--${n.multiple?"multiple":"single"}`]:!0},n.class],style:n.style,readonly:n.readonly,placeholder:te?void 0:n.placeholder,"onClick:clear":z,"onMousedown:control":F,onKeydown:N}),{...C,default:()=>gt(Yr,null,[gt(s1,qr({ref:g,modelValue:v.value,"onUpdate:modelValue":X=>v.value=X,activator:"parent",contentClass:"v-combobox__content",disabled:b.value,eager:n.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:n.transition,onAfterLeave:W},n.menuProps),{default:()=>[ne&>(a1,{ref:R,selected:A.value,selectStrategy:n.multiple?"independent":"single-independent",onMousedown:X=>X.preventDefault(),onKeydown:O,onFocusin:$,onFocusout:U,onScrollPassive:I,tabindex:"-1",color:n.itemColor??n.color},{default:()=>{var X,Q,re;return[(X=C["prepend-item"])==null?void 0:X.call(C),!x.value.length&&!n.hideNoData&&(((Q=C["no-data"])==null?void 0:Q.call(C))??gt(af,{title:D(n.noDataText)},null)),gt(h1,{ref:i,renderless:!0,items:x.value},{default:ie=>{var de;let{item:oe,index:ue,itemRef:ce}=ie;const ye=qr(oe.props,{ref:ce,key:ue,active:L.value&&ue===0?!0:void 0,onClick:()=>j(oe)});return((de=C.item)==null?void 0:de.call(C,{item:oe,index:ue,props:ye}))??gt(af,ye,{prepend:me=>{let{isSelected:pe}=me;return gt(Yr,null,[n.multiple&&!n.hideSelected?gt(h0,{key:oe.value,modelValue:pe,ripple:!1,tabindex:"-1"},null):void 0,oe.props.prependIcon&>(ja,{icon:oe.props.prependIcon},null)])},title:()=>{var me,pe;return t.value?oe.title:Bj(oe.title,(me=E(oe))==null?void 0:me.title,((pe=_.value)==null?void 0:pe.length)??0)}})}}),(re=C["append-item"])==null?void 0:re.call(C)]}})]}),w.value.map((X,Q)=>{var oe;function re(ue){ue.stopPropagation(),ue.preventDefault(),j(X)}const ie={"onClick:close":re,onMousedown(ue){ue.preventDefault(),ue.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return gt("div",{key:X.value,class:["v-combobox__selection",Q===f.value&&["v-combobox__selection--selected",h.value]],style:Q===f.value?m.value:{}},[H?C.chip?gt(Fa,{key:"chip-defaults",defaults:{VChip:{closable:n.closableChips,size:"small",text:X.title}}},{default:()=>{var ue;return[(ue=C.chip)==null?void 0:ue.call(C,{item:X,index:Q,props:ie})]}}):gt(ug,qr({key:"chip",closable:n.closableChips,size:"small",text:X.title},ie),null):((oe=C.selection)==null?void 0:oe.call(C,{item:X,index:Q}))??gt("span",{class:"v-combobox__selection-text"},[X.title,n.multiple&&Q!0},setup(n,e){let{slots:r}=e;const C=xi(n,"modelValue"),{scopeId:D}=E0(),T=Vr();function p(d){var M,v;const g=d.relatedTarget,i=d.target;if(g!==i&&((M=T.value)!=null&&M.contentEl)&&((v=T.value)!=null&&v.globalTop)&&![document,T.value.contentEl].includes(i)&&!T.value.contentEl.contains(i)){const f=Dm(T.value.contentEl);if(!f.length)return;const l=f[0],a=f[f.length-1];g===l?a.focus():l.focus()}}to&&$r(()=>C.value&&n.retainFocus,d=>{d?document.addEventListener("focusin",p):document.removeEventListener("focusin",p)},{immediate:!0}),$r(C,async d=>{var g,i;await Ua(),d?(g=T.value.contentEl)==null||g.focus({preventScroll:!0}):(i=T.value.activatorEl)==null||i.focus({preventScroll:!0})});const t=cn(()=>qr({"aria-haspopup":"dialog","aria-expanded":String(C.value)},n.activatorProps));return Or(()=>{const[d]=of.filterProps(n);return gt(of,qr({ref:T,class:["v-dialog",{"v-dialog--fullscreen":n.fullscreen,"v-dialog--scrollable":n.scrollable},n.class],style:n.style},d,{modelValue:C.value,"onUpdate:modelValue":g=>C.value=g,"aria-modal":"true",activatorProps:t.value,role:"dialog"},D),{activator:r.activator,default:function(){for(var g=arguments.length,i=new Array(g),M=0;M{var v;return[(v=r.default)==null?void 0:v.call(r,...i)]}})}})}),Vc({},T)}});const jm=Symbol.for("vuetify:v-expansion-panel"),Hj=["default","accordion","inset","popout"],Gj=ur({color:String,variant:{type:String,default:"default",validator:n=>Hj.includes(n)},readonly:Boolean,...Zr(),...w0(),...Si(),...oa()},"VExpansionPanels"),qj=Ar()({name:"VExpansionPanels",props:Gj(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;ip(n,jm);const{themeClasses:C}=Ma(n),D=cn(()=>n.variant&&`v-expansion-panels--variant-${n.variant}`);return es({VExpansionPanel:{color:Cr(n,"color")},VExpansionPanelTitle:{readonly:Cr(n,"readonly")}}),Or(()=>gt(n.tag,{class:["v-expansion-panels",C.value,D.value,n.class],style:n.style},r)),{}}}),Wj=ur({...Zr(),...o1()},"VExpansionPanelText"),nS=Ar()({name:"VExpansionPanelText",props:Wj(),setup(n,e){let{slots:r}=e;const C=ka(jm);if(!C)throw new Error("[Vuetify] v-expansion-panel-text needs to be placed inside v-expansion-panel");const{hasContent:D,onAfterLeave:T}=__(n,C.isSelected);return Or(()=>gt(e1,{onAfterLeave:T},{default:()=>{var p;return[Co(gt("div",{class:["v-expansion-panel-text",n.class],style:n.style},[r.default&&D.value&>("div",{class:"v-expansion-panel-text__wrapper"},[(p=r.default)==null?void 0:p.call(r)])]),[[kh,C.isSelected.value]])]}})),{}}}),rS=ur({color:String,expandIcon:{type:bi,default:"$expand"},collapseIcon:{type:bi,default:"$collapse"},hideActions:Boolean,ripple:{type:[Boolean,Object],default:!1},readonly:Boolean,...Zr()},"VExpansionPanelTitle"),iS=Ar()({name:"VExpansionPanelTitle",directives:{Ripple:nd},props:rS(),setup(n,e){let{slots:r}=e;const C=ka(jm);if(!C)throw new Error("[Vuetify] v-expansion-panel-title needs to be placed inside v-expansion-panel");const{backgroundColorClasses:D,backgroundColorStyles:T}=Oo(n,"color"),p=cn(()=>({collapseIcon:n.collapseIcon,disabled:C.disabled.value,expanded:C.isSelected.value,expandIcon:n.expandIcon,readonly:n.readonly}));return Or(()=>{var t;return Co(gt("button",{class:["v-expansion-panel-title",{"v-expansion-panel-title--active":C.isSelected.value},D.value,n.class],style:[T.value,n.style],type:"button",tabindex:C.disabled.value?-1:void 0,disabled:C.disabled.value,"aria-expanded":C.isSelected.value,onClick:n.readonly?void 0:C.toggle},[gt("span",{class:"v-expansion-panel-title__overlay"},null),(t=r.default)==null?void 0:t.call(r,p.value),!n.hideActions&>("span",{class:"v-expansion-panel-title__icon"},[r.actions?r.actions(p.value):gt(ja,{icon:C.isSelected.value?n.collapseIcon:n.expandIcon},null)])]),[[Tu("ripple"),n.ripple]])}),{}}}),Yj=ur({title:String,text:String,bgColor:String,...Zr(),...fs(),...T0(),...o1(),...lo(),...Si(),...rS()},"VExpansionPanel"),$j=Ar()({name:"VExpansionPanel",props:Yj(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const C=k0(n,jm),{backgroundColorClasses:D,backgroundColorStyles:T}=Oo(n,"bgColor"),{elevationClasses:p}=Vs(n),{roundedClasses:t}=Eo(n),d=cn(()=>(C==null?void 0:C.disabled.value)||n.disabled),g=cn(()=>C.group.items.value.reduce((v,f,l)=>(C.group.selected.value.includes(f.id)&&v.push(l),v),[])),i=cn(()=>{const v=C.group.items.value.findIndex(f=>f.id===C.id);return!C.isSelected.value&&g.value.some(f=>f-v===1)}),M=cn(()=>{const v=C.group.items.value.findIndex(f=>f.id===C.id);return!C.isSelected.value&&g.value.some(f=>f-v===-1)});return ts(jm,C),es({VExpansionPanelText:{eager:Cr(n,"eager")}}),Or(()=>{const v=!!(r.text||n.text),f=!!(r.title||n.title);return gt(n.tag,{class:["v-expansion-panel",{"v-expansion-panel--active":C.isSelected.value,"v-expansion-panel--before-active":i.value,"v-expansion-panel--after-active":M.value,"v-expansion-panel--disabled":d.value},t.value,D.value,n.class],style:[T.value,n.style]},{default:()=>{var l;return[gt("div",{class:["v-expansion-panel__shadow",...p.value]},null),f&>(iS,{key:"title",collapseIcon:n.collapseIcon,color:n.color,expandIcon:n.expandIcon,hideActions:n.hideActions,ripple:n.ripple},{default:()=>[r.title?r.title():n.title]}),v&>(nS,{key:"text"},{default:()=>[r.text?r.text():n.text]}),(l=r.default)==null?void 0:l.call(r)]}})}),{}}});const Zj=ur({chips:Boolean,counter:Boolean,counterSizeString:{type:String,default:"$vuetify.fileInput.counterSize"},counterString:{type:String,default:"$vuetify.fileInput.counter"},multiple:Boolean,showSize:{type:[Boolean,Number],default:!1,validator:n=>typeof n=="boolean"||[1e3,1024].includes(n)},...mf({prependIcon:"$file"}),modelValue:{type:Array,default:()=>[],validator:n=>bu(n).every(e=>e!=null&&typeof e=="object")},...u1({clearable:!0})},"VFileInput"),Xj=Ar()({name:"VFileInput",inheritAttrs:!1,props:Zj(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:C,slots:D}=e;const{t:T}=oc(),p=xi(n,"modelValue"),{isFocused:t,focus:d,blur:g}=rd(n),i=cn(()=>typeof n.showSize!="boolean"?n.showSize:void 0),M=cn(()=>(p.value??[]).reduce((_,k)=>{let{size:E=0}=k;return _+E},0)),v=cn(()=>T5(M.value,i.value)),f=cn(()=>(p.value??[]).map(_=>{const{name:k="",size:E=0}=_;return n.showSize?`${k} (${T5(E,i.value)})`:k})),l=cn(()=>{var k;const _=((k=p.value)==null?void 0:k.length)??0;return n.showSize?T(n.counterSizeString,_,v.value):T(n.counterString,_)}),a=Vr(),u=Vr(),o=Vr(),s=cn(()=>t.value||n.active),c=cn(()=>["plain","underlined"].includes(n.variant));function h(){var _;o.value!==document.activeElement&&((_=o.value)==null||_.focus()),t.value||d()}function m(_){y(_)}function w(_){C("mousedown:control",_)}function y(_){var k;(k=o.value)==null||k.click(),C("click:control",_)}function S(_){_.stopPropagation(),h(),Ua(()=>{p.value=[],K2(n["onClick:clear"],_)})}return $r(p,_=>{(!Array.isArray(_)||!_.length)&&o.value&&(o.value.value="")}),Or(()=>{const _=!!(D.counter||n.counter),k=!!(_||D.details),[E,x]=Qd(r),[{modelValue:A,...L}]=Bs.filterProps(n),[b]=w_(n);return gt(Bs,qr({ref:a,modelValue:p.value,"onUpdate:modelValue":R=>p.value=R,class:["v-file-input",{"v-text-field--plain-underlined":c.value},n.class],style:n.style,"onClick:prepend":m},E,L,{centerAffix:!c.value,focused:t.value}),{...D,default:R=>{let{id:I,isDisabled:O,isDirty:z,isReadonly:F,isValid:B}=R;return gt(hg,qr({ref:u,"prepend-icon":n.prependIcon,onMousedown:w,onClick:y,"onClick:clear":S,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"]},b,{id:I.value,active:s.value||z.value,dirty:z.value,disabled:O.value,focused:t.value,error:B.value===!1}),{...D,default:N=>{var $;let{props:{class:W,...j}}=N;return gt(Yr,null,[gt("input",qr({ref:o,type:"file",readonly:F.value,disabled:O.value,multiple:n.multiple,name:n.name,onClick:U=>{U.stopPropagation(),F.value&&U.preventDefault(),h()},onChange:U=>{if(!U.target)return;const G=U.target;p.value=[...G.files??[]]},onFocus:h,onBlur:g},j,x),null),gt("div",{class:W},[!!(($=p.value)!=null&&$.length)&&(D.selection?D.selection({fileNames:f.value,totalBytes:M.value,totalBytesReadable:v.value}):n.chips?f.value.map(U=>gt(ug,{key:U,size:"small",color:n.color},{default:()=>[U]})):f.value.join(", "))])])}})},details:k?R=>{var I,O;return gt(Yr,null,[(I=D.details)==null?void 0:I.call(D,R),_&>(Yr,null,[gt("span",null,null),gt(l1,{active:!!((O=p.value)!=null&&O.length),value:l.value},D.counter)])])}:void 0})}),Vc({},a,u,o)}});const Kj=ur({app:Boolean,color:String,height:{type:[Number,String],default:"auto"},...Su(),...Zr(),...fs(),...x0(),...lo(),...Si({tag:"footer"}),...oa()},"VFooter"),Jj=Ar()({name:"VFooter",props:Kj(),setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{backgroundColorClasses:D,backgroundColorStyles:T}=Oo(Cr(n,"color")),{borderClasses:p}=uc(n),{elevationClasses:t}=Vs(n),{roundedClasses:d}=Eo(n),g=Wr(32),{resizeRef:i}=Th(f=>{f.length&&(g.value=f[0].target.clientHeight)}),M=cn(()=>n.height==="auto"?g.value:parseInt(n.height,10)),{layoutItemStyles:v}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:cn(()=>"bottom"),layoutSize:M,elementSize:cn(()=>n.height==="auto"?void 0:M.value),active:cn(()=>n.app),absolute:Cr(n,"absolute")});return Or(()=>gt(n.tag,{ref:i,class:["v-footer",C.value,D.value,p.value,t.value,d.value,n.class],style:[T.value,n.app?v.value:{height:Qr(n.height)},n.style]},r)),{}}}),Qj=ur({...Zr(),...cN()},"VForm"),eU=Ar()({name:"VForm",props:Qj(),emits:{"update:modelValue":n=>!0,submit:n=>!0},setup(n,e){let{slots:r,emit:C}=e;const D=hN(n),T=Vr();function p(d){d.preventDefault(),D.reset()}function t(d){const g=d,i=D.validate();g.then=i.then.bind(i),g.catch=i.catch.bind(i),g.finally=i.finally.bind(i),C("submit",g),g.defaultPrevented||i.then(M=>{var f;let{valid:v}=M;v&&((f=T.value)==null||f.submit())}),g.preventDefault()}return Or(()=>{var d;return gt("form",{ref:T,class:["v-form",n.class],style:n.style,novalidate:!0,onReset:p,onSubmit:t},[(d=r.default)==null?void 0:d.call(r,D)])}),Vc(D,T)}});const tU=ur({fluid:{type:Boolean,default:!1},...Zr(),...Si()},"VContainer"),nU=Ar()({name:"VContainer",props:tU(),setup(n,e){let{slots:r}=e;const{rtlClasses:C}=Cs();return Or(()=>gt(n.tag,{class:["v-container",{"v-container--fluid":n.fluid},C.value,n.class],style:n.style},r)),{}}}),aS=(()=>Ky.reduce((n,e)=>(n[e]={type:[Boolean,String,Number],default:!1},n),{}))(),oS=(()=>Ky.reduce((n,e)=>{const r="offset"+sf(e);return n[r]={type:[String,Number],default:null},n},{}))(),sS=(()=>Ky.reduce((n,e)=>{const r="order"+sf(e);return n[r]={type:[String,Number],default:null},n},{}))(),lT={col:Object.keys(aS),offset:Object.keys(oS),order:Object.keys(sS)};function rU(n,e,r){let C=n;if(!(r==null||r===!1)){if(e){const D=e.replace(n,"");C+=`-${D}`}return n==="col"&&(C="v-"+C),n==="col"&&(r===""||r===!0)||(C+=`-${r}`),C.toLowerCase()}}const iU=["auto","start","end","center","baseline","stretch"],aU=ur({cols:{type:[Boolean,String,Number],default:!1},...aS,offset:{type:[String,Number],default:null},...oS,order:{type:[String,Number],default:null},...sS,alignSelf:{type:String,default:null,validator:n=>iU.includes(n)},...Zr(),...Si()},"VCol"),oU=Ar()({name:"VCol",props:aU(),setup(n,e){let{slots:r}=e;const C=cn(()=>{const D=[];let T;for(T in lT)lT[T].forEach(t=>{const d=n[t],g=rU(T,t,d);g&&D.push(g)});const p=D.some(t=>t.startsWith("v-col-"));return D.push({"v-col":!p||!n.cols,[`v-col-${n.cols}`]:n.cols,[`offset-${n.offset}`]:n.offset,[`order-${n.order}`]:n.order,[`align-self-${n.alignSelf}`]:n.alignSelf}),D});return()=>{var D;return Xf(n.tag,{class:[C.value,n.class],style:n.style},(D=r.default)==null?void 0:D.call(r))}}}),S_=["start","end","center"],lS=["space-between","space-around","space-evenly"];function C_(n,e){return Ky.reduce((r,C)=>{const D=n+sf(C);return r[D]=e(),r},{})}const sU=[...S_,"baseline","stretch"],uS=n=>sU.includes(n),cS=C_("align",()=>({type:String,default:null,validator:uS})),lU=[...S_,...lS],hS=n=>lU.includes(n),fS=C_("justify",()=>({type:String,default:null,validator:hS})),uU=[...S_,...lS,"stretch"],dS=n=>uU.includes(n),pS=C_("alignContent",()=>({type:String,default:null,validator:dS})),uT={align:Object.keys(cS),justify:Object.keys(fS),alignContent:Object.keys(pS)},cU={align:"align",justify:"justify",alignContent:"align-content"};function hU(n,e,r){let C=cU[n];if(r!=null){if(e){const D=e.replace(n,"");C+=`-${D}`}return C+=`-${r}`,C.toLowerCase()}}const fU=ur({dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:uS},...cS,justify:{type:String,default:null,validator:hS},...fS,alignContent:{type:String,default:null,validator:dS},...pS,...Zr(),...Si()},"VRow"),dU=Ar()({name:"VRow",props:fU(),setup(n,e){let{slots:r}=e;const C=cn(()=>{const D=[];let T;for(T in uT)uT[T].forEach(p=>{const t=n[p],d=hU(T,p,t);d&&D.push(d)});return D.push({"v-row--no-gutters":n.noGutters,"v-row--dense":n.dense,[`align-${n.align}`]:n.align,[`justify-${n.justify}`]:n.justify,[`align-content-${n.alignContent}`]:n.alignContent}),D});return()=>{var D;return Xf(n.tag,{class:["v-row",C.value,n.class],style:n.style},(D=r.default)==null?void 0:D.call(r))}}}),pU=Nc("v-spacer","div","VSpacer"),mU=ur({disabled:Boolean,modelValue:{type:Boolean,default:void 0},...EA()},"VHover"),gU=Ar()({name:"VHover",props:mU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const C=xi(n,"modelValue"),{runOpenDelay:D,runCloseDelay:T}=LA(n,p=>!n.disabled&&(C.value=p));return()=>{var p;return(p=r.default)==null?void 0:p.call(r,{isHovering:C.value,props:{onMouseenter:D,onMouseleave:T}})}}});const mS=Symbol.for("vuetify:v-item-group"),vU=ur({...Zr(),...w0({selectedClass:"v-item--selected"}),...Si(),...oa()},"VItemGroup"),yU=Ar()({name:"VItemGroup",props:vU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{isSelected:D,select:T,next:p,prev:t,selected:d}=ip(n,mS);return()=>gt(n.tag,{class:["v-item-group",C.value,n.class],style:n.style},{default:()=>{var g;return[(g=r.default)==null?void 0:g.call(r,{isSelected:D,select:T,next:p,prev:t,selected:d.value})]}})}}),bU=Ar()({name:"VItem",props:T0(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const{isSelected:C,select:D,toggle:T,selectedClass:p,value:t,disabled:d}=k0(n,mS);return()=>{var g;return(g=r.default)==null?void 0:g.call(r,{isSelected:C.value,selectedClass:p.value,select:D,toggle:T,value:t.value,disabled:d.value})}}});const xU=Nc("v-kbd");const _U=ur({...Zr(),...z6()},"VLayout"),wU=Ar()({name:"VLayout",props:_U(),setup(n,e){let{slots:r}=e;const{layoutClasses:C,layoutStyles:D,getLayoutItem:T,items:p,layoutRef:t}=F6(n);return Or(()=>{var d;return gt("div",{ref:t,class:[C.value,n.class],style:[D.value,n.style]},[(d=r.default)==null?void 0:d.call(r)])}),{getLayoutItem:T,items:p}}});const TU=ur({position:{type:String,required:!0},size:{type:[Number,String],default:300},modelValue:Boolean,...Zr(),...x0()},"VLayoutItem"),kU=Ar()({name:"VLayoutItem",props:TU(),setup(n,e){let{slots:r}=e;const{layoutItemStyles:C}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:Cr(n,"position"),elementSize:Cr(n,"size"),layoutSize:Cr(n,"size"),active:Cr(n,"modelValue"),absolute:Cr(n,"absolute")});return()=>{var D;return gt("div",{class:["v-layout-item",n.class],style:[C.value,n.style]},[(D=r.default)==null?void 0:D.call(r)])}}}),MU=ur({modelValue:Boolean,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},...Zr(),...sc(),...Si(),...df({transition:"fade-transition"})},"VLazy"),AU=Ar()({name:"VLazy",directives:{intersect:og},props:MU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{dimensionStyles:C}=lc(n),D=xi(n,"modelValue");function T(p){D.value||(D.value=p)}return Or(()=>Co(gt(n.tag,{class:["v-lazy",n.class],style:[C.value,n.style]},{default:()=>[D.value&>(Oc,{transition:n.transition,appear:!0},{default:()=>{var p;return[(p=r.default)==null?void 0:p.call(r)]}})]}),[[Tu("intersect"),{handler:T,options:n.options},null]])),{}}});const SU=ur({locale:String,fallbackLocale:String,messages:Object,rtl:{type:Boolean,default:void 0},...Zr()},"VLocaleProvider"),CU=Ar()({name:"VLocaleProvider",props:SU(),setup(n,e){let{slots:r}=e;const{rtlClasses:C}=FF(n);return Or(()=>{var D;return gt("div",{class:["v-locale-provider",C.value,n.class],style:n.style},[(D=r.default)==null?void 0:D.call(r)])}),{}}});const EU=ur({scrollable:Boolean,...Zr(),...Si({tag:"main"})},"VMain"),LU=Ar()({name:"VMain",props:EU(),setup(n,e){let{slots:r}=e;const{mainStyles:C}=hB(),{ssrBootStyles:D}=tp();return Or(()=>gt(n.tag,{class:["v-main",{"v-main--scrollable":n.scrollable},n.class],style:[C.value,D.value,n.style]},{default:()=>{var T,p;return[n.scrollable?gt("div",{class:"v-main__scroller"},[(T=r.default)==null?void 0:T.call(r)]):(p=r.default)==null?void 0:p.call(r)]}})),{}}});function IU(n){let{rootEl:e,isSticky:r,layoutItemStyles:C}=n;const D=Wr(!1),T=Wr(0),p=cn(()=>{const g=typeof D.value=="boolean"?"top":D.value;return[r.value?{top:"auto",bottom:"auto",height:void 0}:void 0,D.value?{[g]:Qr(T.value)}:{top:C.value.top}]});Ks(()=>{$r(r,g=>{g?window.addEventListener("scroll",d,{passive:!0}):window.removeEventListener("scroll",d)},{immediate:!0})}),Tl(()=>{window.removeEventListener("scroll",d)});let t=0;function d(){const g=t>window.scrollY?"up":"down",i=e.value.getBoundingClientRect(),M=parseFloat(C.value.top??0),v=window.scrollY-Math.max(0,T.value-M),f=i.height+Math.max(T.value,M)-window.scrollY-window.innerHeight,l=parseFloat(getComputedStyle(e.value).getPropertyValue("--v-body-scroll-y"))||0;i.height0;r--){if(n[r].t===n[r-1].t)continue;const C=cT(e),D=(n[r].d-n[r-1].d)/(n[r].t-n[r-1].t);e+=(D-C)*Math.abs(D),r===n.length-1&&(e*=.5)}return cT(e)*1e3}function OU(){const n={};function e(D){Array.from(D.changedTouches).forEach(T=>{(n[T.identifier]??(n[T.identifier]=new qz(PU))).push([D.timeStamp,T])})}function r(D){Array.from(D.changedTouches).forEach(T=>{delete n[T.identifier]})}function C(D){var g;const T=(g=n[D])==null?void 0:g.values().reverse();if(!T)throw new Error(`No samples for touch id ${D}`);const p=T[0],t=[],d=[];for(const i of T){if(p[0]-i[0]>RU)break;t.push({t:i[0],d:i[1].clientX}),d.push({t:i[0],d:i[1].clientY})}return{x:hT(t),y:hT(d),get direction(){const{x:i,y:M}=this,[v,f]=[Math.abs(i),Math.abs(M)];return v>f&&i>=0?"right":v>f&&i<=0?"left":f>v&&M>=0?"down":f>v&&M<=0?"up":DU()}}}return{addMovement:e,endTouch:r,getVelocity:C}}function DU(){throw new Error}function zU(n){let{isActive:e,isTemporary:r,width:C,touchless:D,position:T}=n;Ks(()=>{window.addEventListener("touchstart",o,{passive:!0}),window.addEventListener("touchmove",s,{passive:!1}),window.addEventListener("touchend",c,{passive:!0})}),Tl(()=>{window.removeEventListener("touchstart",o),window.removeEventListener("touchmove",s),window.removeEventListener("touchend",c)});const p=cn(()=>["left","right"].includes(T.value)),{addMovement:t,endTouch:d,getVelocity:g}=OU();let i=!1;const M=Wr(!1),v=Wr(0),f=Wr(0);let l;function a(m,w){return(T.value==="left"?m:T.value==="right"?document.documentElement.clientWidth-m:T.value==="top"?m:T.value==="bottom"?document.documentElement.clientHeight-m:Lp())-(w?C.value:0)}function u(m){let w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const y=T.value==="left"?(m-f.value)/C.value:T.value==="right"?(document.documentElement.clientWidth-m-f.value)/C.value:T.value==="top"?(m-f.value)/C.value:T.value==="bottom"?(document.documentElement.clientHeight-m-f.value)/C.value:Lp();return w?Math.max(0,Math.min(1,y)):y}function o(m){if(D.value)return;const w=m.changedTouches[0].clientX,y=m.changedTouches[0].clientY,S=25,_=T.value==="left"?wdocument.documentElement.clientWidth-S:T.value==="top"?ydocument.documentElement.clientHeight-S:Lp(),k=e.value&&(T.value==="left"?wdocument.documentElement.clientWidth-C.value:T.value==="top"?ydocument.documentElement.clientHeight-C.value:Lp());(_||k||e.value&&r.value)&&(i=!0,l=[w,y],f.value=a(p.value?w:y,e.value),v.value=u(p.value?w:y),d(m),t(m))}function s(m){const w=m.changedTouches[0].clientX,y=m.changedTouches[0].clientY;if(i){if(!m.cancelable){i=!1;return}const _=Math.abs(w-l[0]),k=Math.abs(y-l[1]);(p.value?_>k&&_>3:k>_&&k>3)?(M.value=!0,i=!1):(p.value?k:_)>3&&(i=!1)}if(!M.value)return;m.preventDefault(),t(m);const S=u(p.value?w:y,!1);v.value=Math.max(0,Math.min(1,S)),S>1?f.value=a(p.value?w:y,!0):S<0&&(f.value=a(p.value?w:y,!1))}function c(m){if(i=!1,!M.value)return;t(m),M.value=!1;const w=g(m.changedTouches[0].identifier),y=Math.abs(w.x),S=Math.abs(w.y);(p.value?y>S&&y>400:S>y&&S>3)?e.value=w.direction===({left:"right",right:"left",top:"down",bottom:"up"}[T.value]||Lp()):e.value=v.value>.5}const h=cn(()=>M.value?{transform:T.value==="left"?`translateX(calc(-100% + ${v.value*C.value}px))`:T.value==="right"?`translateX(calc(100% - ${v.value*C.value}px))`:T.value==="top"?`translateY(calc(-100% + ${v.value*C.value}px))`:T.value==="bottom"?`translateY(calc(100% - ${v.value*C.value}px))`:Lp(),transition:"none"}:void 0);return{isDragging:M,dragProgress:v,dragStyles:h}}function Lp(){throw new Error}const FU=["start","end","left","right","top","bottom"],BU=ur({color:String,disableResizeWatcher:Boolean,disableRouteWatcher:Boolean,expandOnHover:Boolean,floating:Boolean,modelValue:{type:Boolean,default:null},permanent:Boolean,rail:{type:Boolean,default:null},railWidth:{type:[Number,String],default:56},scrim:{type:[Boolean,String],default:!0},image:String,temporary:Boolean,touchless:Boolean,width:{type:[Number,String],default:256},location:{type:String,default:"start",validator:n=>FU.includes(n)},sticky:Boolean,...Su(),...Zr(),...fs(),...x0(),...lo(),...Si({tag:"nav"}),...oa()},"VNavigationDrawer"),NU=Ar()({name:"VNavigationDrawer",props:BU(),emits:{"update:modelValue":n=>!0,"update:rail":n=>!0},setup(n,e){let{attrs:r,emit:C,slots:D}=e;const{isRtl:T}=Cs(),{themeClasses:p}=Ma(n),{borderClasses:t}=uc(n),{backgroundColorClasses:d,backgroundColorStyles:g}=Oo(Cr(n,"color")),{elevationClasses:i}=Vs(n),{mobile:M}=ep(),{roundedClasses:v}=Eo(n),f=$6(),l=xi(n,"modelValue",null,z=>!!z),{ssrBootStyles:a}=tp(),{scopeId:u}=E0(),o=Vr(),s=Wr(!1),c=cn(()=>n.rail&&n.expandOnHover&&s.value?Number(n.width):Number(n.rail?n.railWidth:n.width)),h=cn(()=>ux(n.location,T.value)),m=cn(()=>!n.permanent&&(M.value||n.temporary)),w=cn(()=>n.sticky&&!m.value&&h.value!=="bottom");n.expandOnHover&&n.rail!=null&&$r(s,z=>C("update:rail",!z)),n.disableResizeWatcher||$r(m,z=>!n.permanent&&Ua(()=>l.value=!z)),!n.disableRouteWatcher&&f&&$r(f.currentRoute,()=>m.value&&(l.value=!1)),$r(()=>n.permanent,z=>{z&&(l.value=!0)}),Sy(()=>{n.modelValue!=null||m.value||(l.value=n.permanent||!M.value)});const{isDragging:y,dragProgress:S,dragStyles:_}=zU({isActive:l,isTemporary:m,width:c,touchless:Cr(n,"touchless"),position:h}),k=cn(()=>{const z=m.value?0:n.rail&&n.expandOnHover?Number(n.railWidth):c.value;return y.value?z*S.value:z}),{layoutItemStyles:E,layoutItemScrimStyles:x}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:h,layoutSize:k,elementSize:c,active:cn(()=>l.value||y.value),disableTransitions:cn(()=>y.value),absolute:cn(()=>n.absolute||w.value&&typeof A.value!="string")}),{isStuck:A,stickyStyles:L}=IU({rootEl:o,isSticky:w,layoutItemStyles:E}),b=Oo(cn(()=>typeof n.scrim=="string"?n.scrim:null)),R=cn(()=>({...y.value?{opacity:S.value*.2,transition:"none"}:void 0,...x.value}));es({VList:{bgColor:"transparent"}});function I(){s.value=!0}function O(){s.value=!1}return Or(()=>{const z=D.image||n.image;return gt(Yr,null,[gt(n.tag,qr({ref:o,onMouseenter:I,onMouseleave:O,class:["v-navigation-drawer",`v-navigation-drawer--${h.value}`,{"v-navigation-drawer--expand-on-hover":n.expandOnHover,"v-navigation-drawer--floating":n.floating,"v-navigation-drawer--is-hovering":s.value,"v-navigation-drawer--rail":n.rail,"v-navigation-drawer--temporary":m.value,"v-navigation-drawer--active":l.value,"v-navigation-drawer--sticky":w.value},p.value,d.value,t.value,i.value,v.value,n.class],style:[g.value,E.value,_.value,a.value,L.value,n.style]},u,r),{default:()=>{var F,B,N,W;return[z&>("div",{key:"image",class:"v-navigation-drawer__img"},[D.image?(F=D.image)==null?void 0:F.call(D,{image:n.image}):gt("img",{src:n.image,alt:""},null)]),D.prepend&>("div",{class:"v-navigation-drawer__prepend"},[(B=D.prepend)==null?void 0:B.call(D)]),gt("div",{class:"v-navigation-drawer__content"},[(N=D.default)==null?void 0:N.call(D)]),D.append&>("div",{class:"v-navigation-drawer__append"},[(W=D.append)==null?void 0:W.call(D)])]}}),gt(bh,{name:"fade-transition"},{default:()=>[m.value&&(y.value||l.value)&&!!n.scrim&>("div",qr({class:["v-navigation-drawer__scrim",b.backgroundColorClasses.value],style:[R.value,b.backgroundColorStyles.value],onClick:()=>l.value=!1},u),null)]})])}),{isStuck:A}}}),VU=ac({name:"VNoSsr",setup(n,e){let{slots:r}=e;const C=IA();return()=>{var D;return C.value&&((D=r.default)==null?void 0:D.call(r))}}});function jU(){const n=Vr([]);KT(()=>n.value=[]);function e(r,C){n.value[C]=r}return{refs:n,updateRef:e}}const UU=ur({activeColor:String,start:{type:[Number,String],default:1},modelValue:{type:Number,default:n=>n.start},disabled:Boolean,length:{type:[Number,String],default:1,validator:n=>n%1===0},totalVisible:[Number,String],firstIcon:{type:bi,default:"$first"},prevIcon:{type:bi,default:"$prev"},nextIcon:{type:bi,default:"$next"},lastIcon:{type:bi,default:"$last"},ariaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.root"},pageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.page"},currentPageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.currentPage"},firstAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.first"},previousAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.previous"},nextAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.next"},lastAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.last"},ellipsis:{type:String,default:"..."},showFirstLastPage:Boolean,...Su(),...Zr(),...ds(),...fs(),...lo(),...pf(),...Si({tag:"nav"}),...oa(),...cc({variant:"text"})},"VPagination"),HU=Ar()({name:"VPagination",props:UU(),emits:{"update:modelValue":n=>!0,first:n=>!0,prev:n=>!0,next:n=>!0,last:n=>!0},setup(n,e){let{slots:r,emit:C}=e;const D=xi(n,"modelValue"),{t:T,n:p}=oc(),{isRtl:t}=Cs(),{themeClasses:d}=Ma(n),{width:g}=ep(),i=Wr(-1);es(void 0,{scoped:!0});const{resizeRef:M}=Th(S=>{if(!S.length)return;const{target:_,contentRect:k}=S[0],E=_.querySelector(".v-pagination__list > *");if(!E)return;const x=k.width,A=E.offsetWidth+parseFloat(getComputedStyle(E).marginRight)*2;i.value=a(x,A)}),v=cn(()=>parseInt(n.length,10)),f=cn(()=>parseInt(n.start,10)),l=cn(()=>n.totalVisible?parseInt(n.totalVisible,10):i.value>=0?i.value:a(g.value,58));function a(S,_){const k=n.showFirstLastPage?5:3;return Math.max(0,Math.floor(+((S-_*k)/_).toFixed(2)))}const u=cn(()=>{if(v.value<=0||isNaN(v.value)||v.value>Number.MAX_SAFE_INTEGER)return[];if(l.value<=1)return[D.value];if(v.value<=l.value)return Kh(v.value,f.value);const S=l.value%2===0,_=S?l.value/2:Math.floor(l.value/2),k=S?_:_+1,E=v.value-_;if(k-D.value>=0)return[...Kh(Math.max(1,l.value-1),f.value),n.ellipsis,v.value];if(D.value-E>=(S?1:0)){const x=l.value-1,A=v.value-x+f.value;return[f.value,n.ellipsis,...Kh(x,A)]}else{const x=Math.max(1,l.value-3),A=x===1?D.value:D.value-Math.ceil(x/2)+f.value;return[f.value,n.ellipsis,...Kh(x,A),n.ellipsis,v.value]}});function o(S,_,k){S.preventDefault(),D.value=_,k&&C(k,_)}const{refs:s,updateRef:c}=jU();es({VPaginationBtn:{color:Cr(n,"color"),border:Cr(n,"border"),density:Cr(n,"density"),size:Cr(n,"size"),variant:Cr(n,"variant"),rounded:Cr(n,"rounded"),elevation:Cr(n,"elevation")}});const h=cn(()=>u.value.map((S,_)=>{const k=E=>c(E,_);if(typeof S=="string")return{isActive:!1,key:`ellipsis-${_}`,page:S,props:{ref:k,ellipsis:!0,icon:!0,disabled:!0}};{const E=S===D.value;return{isActive:E,key:S,page:p(S),props:{ref:k,ellipsis:!1,icon:!0,disabled:!!n.disabled||+n.length<2,color:E?n.activeColor:n.color,ariaCurrent:E,ariaLabel:T(E?n.currentPageAriaLabel:n.pageAriaLabel,S),onClick:x=>o(x,S)}}}})),m=cn(()=>{const S=!!n.disabled||D.value<=f.value,_=!!n.disabled||D.value>=f.value+v.value-1;return{first:n.showFirstLastPage?{icon:t.value?n.lastIcon:n.firstIcon,onClick:k=>o(k,f.value,"first"),disabled:S,ariaLabel:T(n.firstAriaLabel),ariaDisabled:S}:void 0,prev:{icon:t.value?n.nextIcon:n.prevIcon,onClick:k=>o(k,D.value-1,"prev"),disabled:S,ariaLabel:T(n.previousAriaLabel),ariaDisabled:S},next:{icon:t.value?n.prevIcon:n.nextIcon,onClick:k=>o(k,D.value+1,"next"),disabled:_,ariaLabel:T(n.nextAriaLabel),ariaDisabled:_},last:n.showFirstLastPage?{icon:t.value?n.firstIcon:n.lastIcon,onClick:k=>o(k,f.value+v.value-1,"last"),disabled:_,ariaLabel:T(n.lastAriaLabel),ariaDisabled:_}:void 0}});function w(){var _;const S=D.value-f.value;(_=s.value[S])==null||_.$el.focus()}function y(S){S.key===sx.left&&!n.disabled&&D.value>+n.start?(D.value=D.value-1,Ua(w)):S.key===sx.right&&!n.disabled&&D.valuegt(n.tag,{ref:M,class:["v-pagination",d.value,n.class],style:n.style,role:"navigation","aria-label":T(n.ariaLabel),onKeydown:y,"data-test":"v-pagination-root"},{default:()=>[gt("ul",{class:"v-pagination__list"},[n.showFirstLastPage&>("li",{key:"first",class:"v-pagination__first","data-test":"v-pagination-first"},[r.first?r.first(m.value.first):gt(_l,qr({_as:"VPaginationBtn"},m.value.first),null)]),gt("li",{key:"prev",class:"v-pagination__prev","data-test":"v-pagination-prev"},[r.prev?r.prev(m.value.prev):gt(_l,qr({_as:"VPaginationBtn"},m.value.prev),null)]),h.value.map((S,_)=>gt("li",{key:S.key,class:["v-pagination__item",{"v-pagination__item--is-active":S.isActive}],"data-test":"v-pagination-item"},[r.item?r.item(S):gt(_l,qr({_as:"VPaginationBtn"},S.props),{default:()=>[S.page]})])),gt("li",{key:"next",class:"v-pagination__next","data-test":"v-pagination-next"},[r.next?r.next(m.value.next):gt(_l,qr({_as:"VPaginationBtn"},m.value.next),null)]),n.showFirstLastPage&>("li",{key:"last",class:"v-pagination__last","data-test":"v-pagination-last"},[r.last?r.last(m.value.last):gt(_l,qr({_as:"VPaginationBtn"},m.value.last),null)])])]})),{}}});function GU(n){return Math.floor(Math.abs(n))*Math.sign(n)}const qU=ur({scale:{type:[Number,String],default:.5},...Zr()},"VParallax"),WU=Ar()({name:"VParallax",props:qU(),setup(n,e){let{slots:r}=e;const{intersectionRef:C,isIntersecting:D}=f_(),{resizeRef:T,contentRect:p}=Th(),{height:t}=ep(),d=Vr();wu(()=>{var f;C.value=T.value=(f=d.value)==null?void 0:f.$el});let g;$r(D,f=>{f?(g=t_(C.value),g=g===document.scrollingElement?document:g,g.addEventListener("scroll",v,{passive:!0}),v()):g.removeEventListener("scroll",v)}),Tl(()=>{g==null||g.removeEventListener("scroll",v)}),$r(t,v),$r(()=>{var f;return(f=p.value)==null?void 0:f.height},v);const i=cn(()=>1-Zs(+n.scale));let M=-1;function v(){D.value&&(cancelAnimationFrame(M),M=requestAnimationFrame(()=>{var m;const f=((m=d.value)==null?void 0:m.$el).querySelector(".v-img__img");if(!f)return;const l=g instanceof Document?document.documentElement.clientHeight:g.clientHeight,a=g instanceof Document?window.scrollY:g.scrollTop,u=C.value.getBoundingClientRect().top+a,o=p.value.height,s=u+(o-l)/2,c=GU((a-s)*i.value),h=Math.max(1,(i.value*(l-o)+o)/o);f.style.setProperty("transform",`translateY(${c}px) scale(${h})`)}))}return Or(()=>gt(Zd,{class:["v-parallax",{"v-parallax--active":D.value},n.class],style:n.style,ref:d,cover:!0,onLoadstart:v,onLoad:v},r)),{}}}),YU=ur({...n1({falseIcon:"$radioOff",trueIcon:"$radioOn"})},"VRadio"),$U=Ar()({name:"VRadio",props:YU(),setup(n,e){let{slots:r}=e;return Or(()=>gt(Xd,qr(n,{class:["v-radio",n.class],style:n.style,type:"radio"}),r)),{}}});const ZU=ur({height:{type:[Number,String],default:"auto"},...mf(),...ic(y_(),["multiple"]),trueIcon:{type:bi,default:"$radioOn"},falseIcon:{type:bi,default:"$radioOff"},type:{type:String,default:"radio"}},"VRadioGroup"),XU=Ar()({name:"VRadioGroup",inheritAttrs:!1,props:ZU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{attrs:r,slots:C}=e;const D=Js(),T=cn(()=>n.id||`radio-group-${D}`),p=xi(n,"modelValue");return Or(()=>{const[t,d]=Qd(r),[g,i]=Bs.filterProps(n),[M,v]=Xd.filterProps(n),f=C.label?C.label({label:n.label,props:{for:T.value}}):n.label;return gt(Bs,qr({class:["v-radio-group",n.class],style:n.style},t,g,{modelValue:p.value,"onUpdate:modelValue":l=>p.value=l,id:T.value}),{...C,default:l=>{let{id:a,messagesId:u,isDisabled:o,isReadonly:s}=l;return gt(Yr,null,[f&>(C0,{id:a.value},{default:()=>[f]}),gt(aA,qr(M,{id:a.value,"aria-describedby":u.value,defaultsTarget:"VRadio",trueIcon:n.trueIcon,falseIcon:n.falseIcon,type:n.type,disabled:o.value,readonly:s.value,"aria-labelledby":f?a.value:void 0,multiple:!1},d,{modelValue:p.value,"onUpdate:modelValue":c=>p.value=c}),C)])}})}),{}}}),KU=ur({...r1(),...mf(),...KA(),strict:Boolean,modelValue:{type:Array,default:()=>[0,0]}},"VRangeSlider"),JU=Ar()({name:"VRangeSlider",props:KU(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,end:n=>!0,start:n=>!0},setup(n,e){let{slots:r,emit:C}=e;const D=Vr(),T=Vr(),p=Vr(),{rtlClasses:t}=Cs();function d(_){if(!D.value||!T.value)return;const k=Ix(_,D.value.$el,n.direction),E=Ix(_,T.value.$el,n.direction),x=Math.abs(k),A=Math.abs(E);return x_!=null&&_.length?_.map(k=>g.roundValue(k)):[0,0]),{activeThumbRef:M,hasLabels:v,max:f,min:l,mousePressed:a,onSliderMousedown:u,onSliderTouchstart:o,position:s,trackContainerRef:c}=QA({props:n,steps:g,onSliderStart:()=>{C("start",i.value)},onSliderEnd:_=>{var x;let{value:k}=_;const E=M.value===((x=D.value)==null?void 0:x.$el)?[k,i.value[1]]:[i.value[0],k];!n.strict&&E[0]{var A,L,b,R;let{value:k}=_;const[E,x]=i.value;!n.strict&&E===x&&E!==l.value&&(M.value=k>E?(A=T.value)==null?void 0:A.$el:(L=D.value)==null?void 0:L.$el,(b=M.value)==null||b.focus()),M.value===((R=D.value)==null?void 0:R.$el)?i.value=[Math.min(k,x),x]:i.value=[E,Math.max(E,k)]},getActiveThumb:d}),{isFocused:h,focus:m,blur:w}=rd(n),y=cn(()=>s(i.value[0])),S=cn(()=>s(i.value[1]));return Or(()=>{const[_,k]=Bs.filterProps(n),E=!!(n.label||r.label||r.prepend);return gt(Bs,qr({class:["v-slider","v-range-slider",{"v-slider--has-labels":!!r["tick-label"]||v.value,"v-slider--focused":h.value,"v-slider--pressed":a.value,"v-slider--disabled":n.disabled},t.value,n.class],style:n.style,ref:p},_,{focused:h.value}),{...r,prepend:E?x=>{var A,L;return gt(Yr,null,[((A=r.label)==null?void 0:A.call(r,x))??n.label?gt(C0,{class:"v-slider__label",text:n.label},null):void 0,(L=r.prepend)==null?void 0:L.call(r,x)])}:void 0,default:x=>{var b,R;let{id:A,messagesId:L}=x;return gt("div",{class:"v-slider__container",onMousedown:u,onTouchstartPassive:o},[gt("input",{id:`${A.value}_start`,name:n.name||A.value,disabled:!!n.disabled,readonly:!!n.readonly,tabindex:"-1",value:i.value[0]},null),gt("input",{id:`${A.value}_stop`,name:n.name||A.value,disabled:!!n.disabled,readonly:!!n.readonly,tabindex:"-1",value:i.value[1]},null),gt(eS,{ref:c,start:y.value,stop:S.value},{"tick-label":r["tick-label"]}),gt(Rx,{ref:D,"aria-describedby":L.value,focused:h&&M.value===((b=D.value)==null?void 0:b.$el),modelValue:i.value[0],"onUpdate:modelValue":I=>i.value=[I,i.value[1]],onFocus:I=>{var O,z,F,B;m(),M.value=(O=D.value)==null?void 0:O.$el,i.value[0]===i.value[1]&&i.value[1]===l.value&&I.relatedTarget!==((z=T.value)==null?void 0:z.$el)&&((F=D.value)==null||F.$el.blur(),(B=T.value)==null||B.$el.focus())},onBlur:()=>{w(),M.value=void 0},min:l.value,max:i.value[1],position:y.value},{"thumb-label":r["thumb-label"]}),gt(Rx,{ref:T,"aria-describedby":L.value,focused:h&&M.value===((R=T.value)==null?void 0:R.$el),modelValue:i.value[1],"onUpdate:modelValue":I=>i.value=[i.value[0],I],onFocus:I=>{var O,z,F,B;m(),M.value=(O=T.value)==null?void 0:O.$el,i.value[0]===i.value[1]&&i.value[0]===f.value&&I.relatedTarget!==((z=D.value)==null?void 0:z.$el)&&((F=T.value)==null||F.$el.blur(),(B=D.value)==null||B.$el.focus())},onBlur:()=>{w(),M.value=void 0},min:i.value[0],max:f.value,position:S.value},{"thumb-label":r["thumb-label"]})])}})}),{}}});const QU=ur({name:String,itemAriaLabel:{type:String,default:"$vuetify.rating.ariaLabel.item"},activeColor:String,color:String,clearable:Boolean,disabled:Boolean,emptyIcon:{type:bi,default:"$ratingEmpty"},fullIcon:{type:bi,default:"$ratingFull"},halfIncrements:Boolean,hover:Boolean,length:{type:[Number,String],default:5},readonly:Boolean,modelValue:{type:[Number,String],default:0},itemLabels:Array,itemLabelPosition:{type:String,default:"top",validator:n=>["top","bottom"].includes(n)},ripple:Boolean,...Zr(),...ds(),...pf(),...Si(),...oa()},"VRating"),eH=Ar()({name:"VRating",props:QU(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{t:C}=oc(),{themeClasses:D}=Ma(n),T=xi(n,"modelValue"),p=cn(()=>Zs(parseFloat(T.value),0,+n.length)),t=cn(()=>Kh(Number(n.length),1)),d=cn(()=>t.value.flatMap(a=>n.halfIncrements?[a-.5,a]:[a])),g=Wr(-1),i=cn(()=>d.value.map(a=>{const u=n.hover&&g.value>-1,o=p.value>=a,s=g.value>=a,h=(u?s:o)?n.fullIcon:n.emptyIcon,m=n.activeColor??n.color,w=o||s?m:n.color;return{isFilled:o,isHovered:s,icon:h,color:w}})),M=cn(()=>[0,...d.value].map(a=>{function u(){g.value=a}function o(){g.value=-1}function s(){n.disabled||n.readonly||(T.value=p.value===a&&n.clearable?0:a)}return{onMouseenter:n.hover?u:void 0,onMouseleave:n.hover?o:void 0,onClick:s}})),v=cn(()=>n.name??`v-rating-${Js()}`);function f(a){var S,_;let{value:u,index:o,showStar:s=!0}=a;const{onMouseenter:c,onMouseleave:h,onClick:m}=M.value[o+1],w=`${v.value}-${String(u).replace(".","-")}`,y={color:(S=i.value[o])==null?void 0:S.color,density:n.density,disabled:n.disabled,icon:(_=i.value[o])==null?void 0:_.icon,ripple:n.ripple,size:n.size,variant:"plain"};return gt(Yr,null,[gt("label",{for:w,class:{"v-rating__item--half":n.halfIncrements&&u%1>0,"v-rating__item--full":n.halfIncrements&&u%1===0},onMouseenter:c,onMouseleave:h,onClick:m},[gt("span",{class:"v-rating__hidden"},[C(n.itemAriaLabel,u,n.length)]),s?r.item?r.item({...i.value[o],props:y,value:u,index:o,rating:p.value}):gt(_l,qr({"aria-label":C(n.itemAriaLabel,u,n.length)},y),null):void 0]),gt("input",{class:"v-rating__hidden",name:v.value,id:w,type:"radio",value:u,checked:p.value===u,tabindex:-1,readonly:n.readonly,disabled:n.disabled},null)])}function l(a){return r["item-label"]?r["item-label"](a):a.label?gt("span",null,[a.label]):gt("span",null,[ia(" ")])}return Or(()=>{var u;const a=!!((u=n.itemLabels)!=null&&u.length)||r["item-label"];return gt(n.tag,{class:["v-rating",{"v-rating--hover":n.hover,"v-rating--readonly":n.readonly},D.value,n.class],style:n.style},{default:()=>[gt(f,{value:0,index:-1,showStar:!1},null),t.value.map((o,s)=>{var c,h;return gt("div",{class:"v-rating__wrapper"},[a&&n.itemLabelPosition==="top"?l({value:o,index:s,label:(c=n.itemLabels)==null?void 0:c[s]}):void 0,gt("div",{class:"v-rating__item"},[n.halfIncrements?gt(Yr,null,[gt(f,{value:o-.5,index:s*2},null),gt(f,{value:o,index:s*2+1},null)]):gt(f,{value:o,index:s},null)]),a&&n.itemLabelPosition==="bottom"?l({value:o,index:s,label:(h=n.itemLabels)==null?void 0:h[s]}):void 0])})]})}),{}}});function fT(n){const r=Math.abs(n);return Math.sign(n)*(r/((1/.501-2)*(1-r)+1))}function dT(n){let{selectedElement:e,containerSize:r,contentSize:C,isRtl:D,currentScrollOffset:T,isHorizontal:p}=n;const t=p?e.clientWidth:e.clientHeight,d=p?e.offsetLeft:e.offsetTop,g=D&&p?C-d-t:d,i=r+T,M=t+g,v=t*.4;return g<=T?T=Math.max(g-v,0):i<=M&&(T=Math.min(T-(i-M-v),C-r)),T}function tH(n){let{selectedElement:e,containerSize:r,contentSize:C,isRtl:D,isHorizontal:T}=n;const p=T?e.clientWidth:e.clientHeight,t=T?e.offsetLeft:e.offsetTop,d=D&&T?C-t-p/2-r/2:t+p/2-r/2;return Math.min(C-r,Math.max(0,d))}const gS=Symbol.for("vuetify:v-slide-group"),vS=ur({centerActive:Boolean,direction:{type:String,default:"horizontal"},symbol:{type:null,default:gS},nextIcon:{type:bi,default:"$next"},prevIcon:{type:bi,default:"$prev"},showArrows:{type:[Boolean,String],validator:n=>typeof n=="boolean"||["always","desktop","mobile"].includes(n)},...Zr(),...Si(),...w0({selectedClass:"v-slide-group-item--active"})},"VSlideGroup"),Dx=Ar()({name:"VSlideGroup",props:vS(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const{isRtl:C}=Cs(),{mobile:D}=ep(),T=ip(n,n.symbol),p=Wr(!1),t=Wr(0),d=Wr(0),g=Wr(0),i=cn(()=>n.direction==="horizontal"),{resizeRef:M,contentRect:v}=Th(),{resizeRef:f,contentRect:l}=Th(),a=cn(()=>T.selected.value.length?T.items.value.findIndex(F=>F.id===T.selected.value[0]):-1),u=cn(()=>T.selected.value.length?T.items.value.findIndex(F=>F.id===T.selected.value[T.selected.value.length-1]):-1);if(to){let F=-1;$r(()=>[T.selected.value,v.value,l.value,i.value],()=>{cancelAnimationFrame(F),F=requestAnimationFrame(()=>{if(v.value&&l.value){const B=i.value?"width":"height";d.value=v.value[B],g.value=l.value[B],p.value=d.value+1=0&&f.value){const B=f.value.children[u.value];a.value===0||!p.value?t.value=0:n.centerActive?t.value=tH({selectedElement:B,containerSize:d.value,contentSize:g.value,isRtl:C.value,isHorizontal:i.value}):p.value&&(t.value=dT({selectedElement:B,containerSize:d.value,contentSize:g.value,isRtl:C.value,currentScrollOffset:t.value,isHorizontal:i.value}))}})})}const o=Wr(!1);let s=0,c=0;function h(F){const B=i.value?"clientX":"clientY";c=(C.value&&i.value?-1:1)*t.value,s=F.touches[0][B],o.value=!0}function m(F){if(!p.value)return;const B=i.value?"clientX":"clientY",N=C.value&&i.value?-1:1;t.value=N*(c+s-F.touches[0][B])}function w(F){const B=g.value-d.value;t.value<0||!p.value?t.value=0:t.value>=B&&(t.value=B),o.value=!1}function y(){M.value&&(M.value[i.value?"scrollLeft":"scrollTop"]=0)}const S=Wr(!1);function _(F){if(S.value=!0,!(!p.value||!f.value)){for(const B of F.composedPath())for(const N of f.value.children)if(N===B){t.value=dT({selectedElement:N,containerSize:d.value,contentSize:g.value,isRtl:C.value,currentScrollOffset:t.value,isHorizontal:i.value});return}}}function k(F){S.value=!1}function E(F){var B;!S.value&&!(F.relatedTarget&&((B=f.value)!=null&&B.contains(F.relatedTarget)))&&A()}function x(F){f.value&&(i.value?F.key==="ArrowRight"?A(C.value?"prev":"next"):F.key==="ArrowLeft"&&A(C.value?"next":"prev"):F.key==="ArrowDown"?A("next"):F.key==="ArrowUp"&&A("prev"),F.key==="Home"?A("first"):F.key==="End"&&A("last"))}function A(F){var B,N,W,j,$;if(f.value)if(!F)(B=Dm(f.value)[0])==null||B.focus();else if(F==="next"){const U=(N=f.value.querySelector(":focus"))==null?void 0:N.nextElementSibling;U?U.focus():A("first")}else if(F==="prev"){const U=(W=f.value.querySelector(":focus"))==null?void 0:W.previousElementSibling;U?U.focus():A("last")}else F==="first"?(j=f.value.firstElementChild)==null||j.focus():F==="last"&&(($=f.value.lastElementChild)==null||$.focus())}function L(F){const B=t.value+(F==="prev"?-1:1)*d.value;t.value=Zs(B,0,g.value-d.value)}const b=cn(()=>{let F=t.value>g.value-d.value?-(g.value-d.value)+fT(g.value-d.value-t.value):-t.value;t.value<=0&&(F=fT(-t.value));const B=C.value&&i.value?-1:1;return{transform:`translate${i.value?"X":"Y"}(${B*F}px)`,transition:o.value?"none":"",willChange:o.value?"transform":""}}),R=cn(()=>({next:T.next,prev:T.prev,select:T.select,isSelected:T.isSelected})),I=cn(()=>{switch(n.showArrows){case"always":return!0;case"desktop":return!D.value;case!0:return p.value||Math.abs(t.value)>0;case"mobile":return D.value||p.value||Math.abs(t.value)>0;default:return!D.value&&(p.value||Math.abs(t.value)>0)}}),O=cn(()=>Math.abs(t.value)>0),z=cn(()=>g.value>Math.abs(t.value)+d.value);return Or(()=>gt(n.tag,{class:["v-slide-group",{"v-slide-group--vertical":!i.value,"v-slide-group--has-affixes":I.value,"v-slide-group--is-overflowing":p.value},n.class],style:n.style,tabindex:S.value||T.selected.value.length?-1:0,onFocus:E},{default:()=>{var F,B,N;return[I.value&>("div",{key:"prev",class:["v-slide-group__prev",{"v-slide-group__prev--disabled":!O.value}],onClick:()=>L("prev")},[((F=r.prev)==null?void 0:F.call(r,R.value))??gt(gx,null,{default:()=>[gt(ja,{icon:C.value?n.nextIcon:n.prevIcon},null)]})]),gt("div",{key:"container",ref:M,class:"v-slide-group__container",onScroll:y},[gt("div",{ref:f,class:"v-slide-group__content",style:b.value,onTouchstartPassive:h,onTouchmovePassive:m,onTouchendPassive:w,onFocusin:_,onFocusout:k,onKeydown:x},[(B=r.default)==null?void 0:B.call(r,R.value)])]),I.value&>("div",{key:"next",class:["v-slide-group__next",{"v-slide-group__next--disabled":!z.value}],onClick:()=>L("next")},[((N=r.next)==null?void 0:N.call(r,R.value))??gt(gx,null,{default:()=>[gt(ja,{icon:C.value?n.prevIcon:n.nextIcon},null)]})])]}})),{selected:T.selected,scrollTo:L,scrollOffset:t,focus:A}}}),nH=Ar()({name:"VSlideGroupItem",props:T0(),emits:{"group:selected":n=>!0},setup(n,e){let{slots:r}=e;const C=k0(n,gS);return()=>{var D;return(D=r.default)==null?void 0:D.call(r,{isSelected:C.isSelected.value,select:C.select,toggle:C.toggle,selectedClass:C.selectedClass.value})}}});const rH=ur({multiLine:Boolean,timeout:{type:[Number,String],default:5e3},vertical:Boolean,...ed({location:"bottom"}),...A0(),...lo(),...cc(),...oa(),...ic(cg({transition:"v-snackbar-transition"}),["persistent","noClickAnimation","scrim","scrollStrategy"])},"VSnackbar"),iH=Ar()({name:"VSnackbar",props:rH(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const C=xi(n,"modelValue"),{locationStyles:D}=td(n),{positionClasses:T}=S0(n),{scopeId:p}=E0(),{themeClasses:t}=Ma(n),{colorClasses:d,colorStyles:g,variantClasses:i}=rp(n),{roundedClasses:M}=Eo(n),v=Vr();$r(C,l),$r(()=>n.timeout,l),Ks(()=>{C.value&&l()});let f=-1;function l(){window.clearTimeout(f);const u=Number(n.timeout);!C.value||u===-1||(f=window.setTimeout(()=>{C.value=!1},u))}function a(){window.clearTimeout(f)}return Or(()=>{const[u]=of.filterProps(n);return gt(of,qr({ref:v,class:["v-snackbar",{"v-snackbar--active":C.value,"v-snackbar--multi-line":n.multiLine&&!n.vertical,"v-snackbar--vertical":n.vertical},T.value,n.class],style:n.style},u,{modelValue:C.value,"onUpdate:modelValue":o=>C.value=o,contentProps:qr({class:["v-snackbar__wrapper",t.value,d.value,M.value,i.value],style:[D.value,g.value],onPointerenter:a,onPointerleave:l},u.contentProps),persistent:!0,noClickAnimation:!0,scrim:!1,scrollStrategy:"none",_disableGlobalStack:!0},p),{default:()=>[np(!1,"v-snackbar"),r.default&>("div",{class:"v-snackbar__content",role:"status","aria-live":"polite"},[r.default()]),r.actions&>(Fa,{defaults:{VBtn:{variant:"text",ripple:!1}}},{default:()=>[gt("div",{class:"v-snackbar__actions"},[r.actions()])]})],activator:r.activator})}),Vc({},v)}});const aH=ur({indeterminate:Boolean,inset:Boolean,flat:Boolean,loading:{type:[Boolean,String],default:!1},...mf(),...n1()},"VSwitch"),oH=Ar()({name:"VSwitch",inheritAttrs:!1,props:aH(),emits:{"update:focused":n=>!0,"update:modelValue":()=>!0,"update:indeterminate":n=>!0},setup(n,e){let{attrs:r,slots:C}=e;const D=xi(n,"indeterminate"),T=xi(n,"modelValue"),{loaderClasses:p}=t1(n),{isFocused:t,focus:d,blur:g}=rd(n),i=Vr(),M=cn(()=>typeof n.loading=="string"&&n.loading!==""?n.loading:n.color),v=Js(),f=cn(()=>n.id||`switch-${v}`);function l(){D.value&&(D.value=!1)}function a(u){var o,s;u.stopPropagation(),u.preventDefault(),(s=(o=i.value)==null?void 0:o.input)==null||s.click()}return Or(()=>{const[u,o]=Qd(r),[s,c]=Bs.filterProps(n),[h,m]=Xd.filterProps(n);return gt(Bs,qr({class:["v-switch",{"v-switch--inset":n.inset},{"v-switch--indeterminate":D.value},p.value,n.class],style:n.style},u,s,{id:f.value,focused:t.value}),{...C,default:w=>{let{id:y,messagesId:S,isDisabled:_,isReadonly:k,isValid:E}=w;return gt(Xd,qr({ref:i},h,{modelValue:T.value,"onUpdate:modelValue":[x=>T.value=x,l],id:y.value,"aria-describedby":S.value,type:"checkbox","aria-checked":D.value?"mixed":void 0,disabled:_.value,readonly:k.value,onFocus:d,onBlur:g},o),{...C,default:x=>{let{backgroundColorClasses:A,backgroundColorStyles:L}=x;return gt("div",{class:["v-switch__track",...A.value],style:L.value,onClick:a},null)},input:x=>{let{inputNode:A,icon:L,backgroundColorClasses:b,backgroundColorStyles:R}=x;return gt(Yr,null,[A,gt("div",{class:["v-switch__thumb",{"v-switch__thumb--filled":L||n.loading},n.inset?void 0:b.value],style:n.inset?void 0:R.value},[gt(s_,null,{default:()=>[n.loading?gt(g_,{name:"v-switch",active:!0,color:E.value===!1?void 0:M.value},{default:I=>C.loader?C.loader(I):gt(d_,{active:I.isActive,color:I.color,indeterminate:!0,size:"16",width:"2"},null)}):L&>(ja,{key:L,icon:L,size:"x-small"},null)]})])])}})}})}),{}}});const sH=ur({color:String,height:[Number,String],window:Boolean,...Zr(),...fs(),...x0(),...lo(),...Si(),...oa()},"VSystemBar"),lH=Ar()({name:"VSystemBar",props:sH(),setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{backgroundColorClasses:D,backgroundColorStyles:T}=Oo(Cr(n,"color")),{elevationClasses:p}=Vs(n),{roundedClasses:t}=Eo(n),{ssrBootStyles:d}=tp(),g=cn(()=>n.height??(n.window?32:24)),{layoutItemStyles:i}=_0({id:n.name,order:cn(()=>parseInt(n.order,10)),position:Wr("top"),layoutSize:g,elementSize:g,active:cn(()=>!0),absolute:Cr(n,"absolute")});return Or(()=>gt(n.tag,{class:["v-system-bar",{"v-system-bar--window":n.window},C.value,D.value,p.value,t.value,n.class],style:[T.value,i.value,d.value,n.style]},r)),{}}});const yS=Symbol.for("vuetify:v-tabs"),uH=ur({fixed:Boolean,sliderColor:String,hideSlider:Boolean,direction:{type:String,default:"horizontal"},...ic(v_({selectedClass:"v-tab--selected",variant:"text"}),["active","block","flat","location","position","symbol"])},"VTab"),bS=Ar()({name:"VTab",props:uH(),setup(n,e){let{slots:r,attrs:C}=e;const{textColorClasses:D,textColorStyles:T}=Xs(n,"sliderColor"),p=cn(()=>n.direction==="horizontal"),t=Wr(!1),d=Vr(),g=Vr();function i(M){var f,l;let{value:v}=M;if(t.value=v,v){const a=(l=(f=d.value)==null?void 0:f.$el.parentElement)==null?void 0:l.querySelector(".v-tab--selected .v-tab__slider"),u=g.value;if(!a||!u)return;const o=getComputedStyle(a).color,s=a.getBoundingClientRect(),c=u.getBoundingClientRect(),h=p.value?"x":"y",m=p.value?"X":"Y",w=p.value?"right":"bottom",y=p.value?"width":"height",S=s[h],_=c[h],k=S>_?s[w]-c[w]:s[h]-c[h],E=Math.sign(k)>0?p.value?"right":"bottom":Math.sign(k)<0?p.value?"left":"top":"center",A=(Math.abs(k)+(Math.sign(k)<0?s[y]:c[y]))/Math.max(s[y],c[y])||0,L=s[y]/c[y]||0,b=1.5;Dd(u,{backgroundColor:[o,"currentcolor"],transform:[`translate${m}(${k}px) scale${m}(${L})`,`translate${m}(${k/b}px) scale${m}(${(A-1)/b+1})`,"none"],transformOrigin:Array(3).fill(E)},{duration:225,easing:zm})}}return Or(()=>{const[M]=_l.filterProps(n);return gt(_l,qr({symbol:yS,ref:d,class:["v-tab",n.class],style:n.style,tabindex:t.value?0:-1,role:"tab","aria-selected":String(t.value),active:!1},M,C,{block:n.fixed,maxWidth:n.fixed?300:void 0,"onGroup:selected":i}),{default:()=>{var v;return[((v=r.default)==null?void 0:v.call(r))??n.text,!n.hideSlider&>("div",{ref:g,class:["v-tab__slider",D.value],style:T.value},null)]}})}),{}}});function cH(n){return n?n.map(e=>typeof e=="string"?{title:e,value:e}:e):[]}const hH=ur({alignTabs:{type:String,default:"start"},color:String,fixedTabs:Boolean,items:{type:Array,default:()=>[]},stacked:Boolean,bgColor:String,grow:Boolean,height:{type:[Number,String],default:void 0},hideSlider:Boolean,sliderColor:String,...vS({mandatory:"force"}),...ds(),...Si()},"VTabs"),fH=Ar()({name:"VTabs",props:hH(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const C=xi(n,"modelValue"),D=cn(()=>cH(n.items)),{densityClasses:T}=Qs(n),{backgroundColorClasses:p,backgroundColorStyles:t}=Oo(Cr(n,"bgColor"));return es({VTab:{color:Cr(n,"color"),direction:Cr(n,"direction"),stacked:Cr(n,"stacked"),fixed:Cr(n,"fixedTabs"),sliderColor:Cr(n,"sliderColor"),hideSlider:Cr(n,"hideSlider")}}),Or(()=>{const[d]=Dx.filterProps(n);return gt(Dx,qr(d,{modelValue:C.value,"onUpdate:modelValue":g=>C.value=g,class:["v-tabs",`v-tabs--${n.direction}`,`v-tabs--align-tabs-${n.alignTabs}`,{"v-tabs--fixed-tabs":n.fixedTabs,"v-tabs--grow":n.grow,"v-tabs--stacked":n.stacked},T.value,p.value,n.class],style:[{"--v-tabs-height":Qr(n.height)},t.value,n.style],role:"tablist",symbol:yS}),{default:()=>[r.default?r.default():D.value.map(g=>gt(bS,qr(g,{key:g.title}),null))]})}),{}}});const dH=ur({fixedHeader:Boolean,fixedFooter:Boolean,height:[Number,String],hover:Boolean,...Zr(),...ds(),...Si(),...oa()},"VTable"),pH=Ar()({name:"VTable",props:dH(),setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{densityClasses:D}=Qs(n);return Or(()=>gt(n.tag,{class:["v-table",{"v-table--fixed-height":!!n.height,"v-table--fixed-header":n.fixedHeader,"v-table--fixed-footer":n.fixedFooter,"v-table--has-top":!!r.top,"v-table--has-bottom":!!r.bottom,"v-table--hover":n.hover},C.value,D.value,n.class],style:n.style},{default:()=>{var T,p,t;return[(T=r.top)==null?void 0:T.call(r),r.default?gt("div",{class:"v-table__wrapper",style:{height:Qr(n.height)}},[gt("table",null,[r.default()])]):(p=r.wrapper)==null?void 0:p.call(r),(t=r.bottom)==null?void 0:t.call(r)]}})),{}}});const mH=ur({autoGrow:Boolean,autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,noResize:Boolean,rows:{type:[Number,String],default:5,validator:n=>!isNaN(parseFloat(n))},maxRows:{type:[Number,String],validator:n=>!isNaN(parseFloat(n))},suffix:String,modelModifiers:Object,...mf(),...u1()},"VTextarea"),gH=Ar()({name:"VTextarea",directives:{Intersect:og},inheritAttrs:!1,props:mH(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,e){let{attrs:r,emit:C,slots:D}=e;const T=xi(n,"modelValue"),{isFocused:p,focus:t,blur:d}=rd(n),g=cn(()=>typeof n.counterValue=="function"?n.counterValue(T.value):(T.value||"").toString().length),i=cn(()=>{if(r.maxlength)return r.maxlength;if(!(!n.counter||typeof n.counter!="number"&&typeof n.counter!="string"))return n.counter});function M(E,x){var A,L;!n.autofocus||!E||(L=(A=x[0].target)==null?void 0:A.focus)==null||L.call(A)}const v=Vr(),f=Vr(),l=Wr(""),a=Vr(),u=cn(()=>n.persistentPlaceholder||p.value||n.active);function o(){var E;a.value!==document.activeElement&&((E=a.value)==null||E.focus()),p.value||t()}function s(E){o(),C("click:control",E)}function c(E){C("mousedown:control",E)}function h(E){E.stopPropagation(),o(),Ua(()=>{T.value="",K2(n["onClick:clear"],E)})}function m(E){var A;const x=E.target;if(T.value=x.value,(A=n.modelModifiers)!=null&&A.trim){const L=[x.selectionStart,x.selectionEnd];Ua(()=>{x.selectionStart=L[0],x.selectionEnd=L[1]})}}const w=Vr(),y=Vr(+n.rows),S=cn(()=>["plain","underlined"].includes(n.variant));wu(()=>{n.autoGrow||(y.value=+n.rows)});function _(){n.autoGrow&&Ua(()=>{if(!w.value||!f.value)return;const E=getComputedStyle(w.value),x=getComputedStyle(f.value.$el),A=parseFloat(E.getPropertyValue("--v-field-padding-top"))+parseFloat(E.getPropertyValue("--v-input-padding-top"))+parseFloat(E.getPropertyValue("--v-field-padding-bottom")),L=w.value.scrollHeight,b=parseFloat(E.lineHeight),R=Math.max(parseFloat(n.rows)*b+A,parseFloat(x.getPropertyValue("--v-input-control-height"))),I=parseFloat(n.maxRows)*b+A||1/0,O=Zs(L??0,R,I);y.value=Math.floor((O-A)/b),l.value=Qr(O)})}Ks(_),$r(T,_),$r(()=>n.rows,_),$r(()=>n.maxRows,_),$r(()=>n.density,_);let k;return $r(w,E=>{E?(k=new ResizeObserver(_),k.observe(w.value)):k==null||k.disconnect()}),Tl(()=>{k==null||k.disconnect()}),Or(()=>{const E=!!(D.counter||n.counter||n.counterValue),x=!!(E||D.details),[A,L]=Qd(r),[{modelValue:b,...R}]=Bs.filterProps(n),[I]=w_(n);return gt(Bs,qr({ref:v,modelValue:T.value,"onUpdate:modelValue":O=>T.value=O,class:["v-textarea v-text-field",{"v-textarea--prefixed":n.prefix,"v-textarea--suffixed":n.suffix,"v-text-field--prefixed":n.prefix,"v-text-field--suffixed":n.suffix,"v-textarea--auto-grow":n.autoGrow,"v-textarea--no-resize":n.noResize||n.autoGrow,"v-text-field--plain-underlined":S.value},n.class],style:n.style},A,R,{centerAffix:y.value===1&&!S.value,focused:p.value}),{...D,default:O=>{let{isDisabled:z,isDirty:F,isReadonly:B,isValid:N}=O;return gt(hg,qr({ref:f,style:{"--v-textarea-control-height":l.value},onClick:s,onMousedown:c,"onClick:clear":h,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"]},I,{active:u.value||F.value,centerAffix:y.value===1&&!S.value,dirty:F.value||n.dirty,disabled:z.value,focused:p.value,error:N.value===!1}),{...D,default:W=>{let{props:{class:j,...$}}=W;return gt(Yr,null,[n.prefix&>("span",{class:"v-text-field__prefix"},[n.prefix]),Co(gt("textarea",qr({ref:a,class:j,value:T.value,onInput:m,autofocus:n.autofocus,readonly:B.value,disabled:z.value,placeholder:n.placeholder,rows:n.rows,name:n.name,onFocus:o,onBlur:d},$,L),null),[[Tu("intersect"),{handler:M},null,{once:!0}]]),n.autoGrow&&Co(gt("textarea",{class:[j,"v-textarea__sizer"],id:`${$.id}-sizer`,"onUpdate:modelValue":U=>T.value=U,ref:w,readonly:!0,"aria-hidden":"true"},null),[[S7,T.value]]),n.suffix&>("span",{class:"v-text-field__suffix"},[n.suffix])])}})},details:x?O=>{var z;return gt(Yr,null,[(z=D.details)==null?void 0:z.call(D,O),E&>(Yr,null,[gt("span",null,null),gt(l1,{active:n.persistentCounter||p.value,value:g.value,max:i.value},D.counter)])])}:void 0})}),Vc({},v,f,a)}});const vH=ur({withBackground:Boolean,...Zr(),...oa(),...Si()},"VThemeProvider"),yH=Ar()({name:"VThemeProvider",props:vH(),setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n);return()=>{var D;return n.withBackground?gt(n.tag,{class:["v-theme-provider",C.value,n.class],style:n.style},{default:()=>{var T;return[(T=r.default)==null?void 0:T.call(r)]}}):(D=r.default)==null?void 0:D.call(r)}}});const bH=ur({align:{type:String,default:"center",validator:n=>["center","start"].includes(n)},direction:{type:String,default:"vertical",validator:n=>["vertical","horizontal"].includes(n)},justify:{type:String,default:"auto",validator:n=>["auto","center"].includes(n)},side:{type:String,validator:n=>n==null||["start","end"].includes(n)},lineInset:{type:[String,Number],default:0},lineThickness:{type:[String,Number],default:2},lineColor:String,truncateLine:{type:String,validator:n=>["start","end","both"].includes(n)},...Zr(),...ds(),...Si(),...oa()},"VTimeline"),xH=Ar()({name:"VTimeline",props:bH(),setup(n,e){let{slots:r}=e;const{themeClasses:C}=Ma(n),{densityClasses:D}=Qs(n),{rtlClasses:T}=Cs();es({VTimelineDivider:{lineColor:Cr(n,"lineColor")},VTimelineItem:{density:Cr(n,"density"),lineInset:Cr(n,"lineInset")}});const p=cn(()=>{const d=n.side?n.side:n.density!=="default"?"end":null;return d&&`v-timeline--side-${d}`}),t=cn(()=>{const d=["v-timeline--truncate-line-start","v-timeline--truncate-line-end"];switch(n.truncateLine){case"both":return d;case"start":return d[0];case"end":return d[1];default:return null}});return Or(()=>gt(n.tag,{class:["v-timeline",`v-timeline--${n.direction}`,`v-timeline--align-${n.align}`,`v-timeline--justify-${n.justify}`,t.value,{"v-timeline--inset-line":!!n.lineInset},C.value,D.value,p.value,T.value,n.class],style:[{"--v-timeline-line-thickness":Qr(n.lineThickness)},n.style]},r)),{}}}),_H=ur({dotColor:String,fillDot:Boolean,hideDot:Boolean,icon:bi,iconColor:String,lineColor:String,...Zr(),...lo(),...pf(),...fs()},"VTimelineDivider"),wH=Ar()({name:"VTimelineDivider",props:_H(),setup(n,e){let{slots:r}=e;const{sizeClasses:C,sizeStyles:D}=M0(n,"v-timeline-divider__dot"),{backgroundColorStyles:T,backgroundColorClasses:p}=Oo(Cr(n,"dotColor")),{roundedClasses:t}=Eo(n,"v-timeline-divider__dot"),{elevationClasses:d}=Vs(n),{backgroundColorClasses:g,backgroundColorStyles:i}=Oo(Cr(n,"lineColor"));return Or(()=>gt("div",{class:["v-timeline-divider",{"v-timeline-divider--fill-dot":n.fillDot},n.class],style:n.style},[gt("div",{class:["v-timeline-divider__before",g.value],style:i.value},null),!n.hideDot&>("div",{key:"dot",class:["v-timeline-divider__dot",d.value,t.value,C.value],style:D.value},[gt("div",{class:["v-timeline-divider__inner-dot",p.value,t.value],style:T.value},[r.default?gt(Fa,{key:"icon-defaults",disabled:!n.icon,defaults:{VIcon:{color:n.iconColor,icon:n.icon,size:n.size}}},r.default):gt(ja,{key:"icon",color:n.iconColor,icon:n.icon,size:n.size},null)])]),gt("div",{class:["v-timeline-divider__after",g.value],style:i.value},null)])),{}}}),TH=ur({density:String,dotColor:String,fillDot:Boolean,hideDot:Boolean,hideOpposite:{type:Boolean,default:void 0},icon:bi,iconColor:String,lineInset:[Number,String],...Zr(),...sc(),...fs(),...lo(),...pf(),...Si()},"VTimelineItem"),kH=Ar()({name:"VTimelineItem",props:TH(),setup(n,e){let{slots:r}=e;const{dimensionStyles:C}=lc(n),D=Wr(0),T=Vr();return $r(T,p=>{var t;p&&(D.value=((t=p.$el.querySelector(".v-timeline-divider__dot"))==null?void 0:t.getBoundingClientRect().width)??0)},{flush:"post"}),Or(()=>{var p,t;return gt("div",{class:["v-timeline-item",{"v-timeline-item--fill-dot":n.fillDot},n.class],style:[{"--v-timeline-dot-size":Qr(D.value),"--v-timeline-line-inset":n.lineInset?`calc(var(--v-timeline-dot-size) / 2 + ${Qr(n.lineInset)})`:Qr(0)},n.style]},[gt("div",{class:"v-timeline-item__body",style:C.value},[(p=r.default)==null?void 0:p.call(r)]),gt(wH,{ref:T,hideDot:n.hideDot,icon:n.icon,iconColor:n.iconColor,size:n.size,elevation:n.elevation,dotColor:n.dotColor,fillDot:n.fillDot,rounded:n.rounded},{default:r.icon}),n.density!=="compact"&>("div",{class:"v-timeline-item__opposite"},[!n.hideOpposite&&((t=r.opposite)==null?void 0:t.call(r))])])}),{}}}),MH=ur({...Zr(),...cc({variant:"text"})},"VToolbarItems"),AH=Ar()({name:"VToolbarItems",props:MH(),setup(n,e){let{slots:r}=e;return es({VBtn:{color:Cr(n,"color"),height:"inherit",variant:Cr(n,"variant")}}),Or(()=>{var C;return gt("div",{class:["v-toolbar-items",n.class],style:n.style},[(C=r.default)==null?void 0:C.call(r)])}),{}}});const SH=ur({id:String,text:String,...ic(cg({closeOnBack:!1,location:"end",locationStrategy:"connected",eager:!0,minWidth:0,offset:10,openOnClick:!1,openOnHover:!0,origin:"auto",scrim:!1,scrollStrategy:"reposition",transition:!1}),["absolute","persistent"])},"VTooltip"),CH=Ar()({name:"VTooltip",props:SH(),emits:{"update:modelValue":n=>!0},setup(n,e){let{slots:r}=e;const C=xi(n,"modelValue"),{scopeId:D}=E0(),T=Js(),p=cn(()=>n.id||`v-tooltip-${T}`),t=Vr(),d=cn(()=>n.location.split(" ").length>1?n.location:n.location+" center"),g=cn(()=>n.origin==="auto"||n.origin==="overlap"||n.origin.split(" ").length>1||n.location.split(" ").length>1?n.origin:n.origin+" center"),i=cn(()=>n.transition?n.transition:C.value?"scale-transition":"fade-transition"),M=cn(()=>qr({"aria-describedby":p.value},n.activatorProps));return Or(()=>{const[v]=of.filterProps(n);return gt(of,qr({ref:t,class:["v-tooltip",n.class],style:n.style,id:p.value},v,{modelValue:C.value,"onUpdate:modelValue":f=>C.value=f,transition:i.value,absolute:!0,location:d.value,origin:g.value,persistent:!0,role:"tooltip",activatorProps:M.value,_disableGlobalStack:!0},D),{activator:r.activator,default:function(){var u;for(var f=arguments.length,l=new Array(f),a=0;a!0},setup(n,e){let{slots:r}=e;const C=hA(n,"validation");return()=>{var D;return(D=r.default)==null?void 0:D.call(r,C)}}}),LH=Object.freeze(Object.defineProperty({__proto__:null,VAlert:aN,VAlertTitle:rA,VApp:mB,VAppBar:DB,VAppBarNavIcon:tN,VAppBarTitle:nN,VAutocomplete:TV,VAvatar:Zf,VBadge:MV,VBanner:CV,VBannerActions:FA,VBannerText:BA,VBottomNavigation:LV,VBreadcrumbs:OV,VBreadcrumbsDivider:NA,VBreadcrumbsItem:VA,VBtn:_l,VBtnGroup:bx,VBtnToggle:jB,VCard:FV,VCardActions:jA,VCardItem:GA,VCardSubtitle:UA,VCardText:qA,VCardTitle:HA,VCarousel:WV,VCarouselItem:$V,VCheckbox:dN,VCheckboxBtn:h0,VChip:ug,VChipGroup:gN,VClassIcon:a_,VCode:ZV,VCol:oU,VColorPicker:Fj,VCombobox:Vj,VComponentIcon:dx,VContainer:nU,VCounter:l1,VDefaultsProvider:Fa,VDialog:Uj,VDialogBottomTransition:bB,VDialogTopTransition:xB,VDialogTransition:Qy,VDivider:wA,VExpandTransition:e1,VExpandXTransition:u_,VExpansionPanel:$j,VExpansionPanelText:nS,VExpansionPanelTitle:iS,VExpansionPanels:qj,VFabTransition:yB,VFadeTransition:gx,VField:hg,VFieldLabel:um,VFileInput:Xj,VFooter:Jj,VForm:eU,VHover:gU,VIcon:ja,VImg:Zd,VInput:Bs,VItem:bU,VItemGroup:yU,VKbd:xU,VLabel:C0,VLayout:wU,VLayoutItem:kU,VLazy:AU,VLigatureIcon:CF,VList:a1,VListGroup:Tx,VListImg:zN,VListItem:af,VListItemAction:BN,VListItemMedia:VN,VListItemSubtitle:bA,VListItemTitle:xA,VListSubheader:_A,VLocaleProvider:CU,VMain:LU,VMenu:s1,VMessages:lA,VNavigationDrawer:NU,VNoSsr:VU,VOverlay:of,VPagination:HU,VParallax:WU,VProgressCircular:d_,VProgressLinear:p_,VRadio:$U,VRadioGroup:XU,VRangeSlider:JU,VRating:eH,VResponsive:vx,VRow:dU,VScaleTransition:s_,VScrollXReverseTransition:wB,VScrollXTransition:_B,VScrollYReverseTransition:kB,VScrollYTransition:TB,VSelect:yV,VSelectionControl:Xd,VSelectionControlGroup:aA,VSheet:Ox,VSlideGroup:Dx,VSlideGroupItem:nH,VSlideXReverseTransition:AB,VSlideXTransition:MB,VSlideYReverseTransition:SB,VSlideYTransition:l_,VSlider:Px,VSnackbar:iH,VSpacer:pU,VSvgIcon:i_,VSwitch:oH,VSystemBar:lH,VTab:bS,VTable:pH,VTabs:fH,VTextField:Kd,VTextarea:gH,VThemeProvider:yH,VTimeline:xH,VTimelineItem:kH,VToolbar:yx,VToolbarItems:AH,VToolbarTitle:o_,VTooltip:CH,VValidation:EH,VVirtualScroll:h1,VWindow:Sx,VWindowItem:Cx},Symbol.toStringTag,{value:"Module"}));function IH(n,e){const r=e.modifiers||{},C=e.value,{once:D,immediate:T,...p}=r,t=!Object.keys(p).length,{handler:d,options:g}=typeof C=="object"?C:{handler:C,options:{attributes:(p==null?void 0:p.attr)??t,characterData:(p==null?void 0:p.char)??t,childList:(p==null?void 0:p.child)??t,subtree:(p==null?void 0:p.sub)??t}},i=new MutationObserver(function(){let M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],v=arguments.length>1?arguments[1]:void 0;d==null||d(M,v),D&&xS(n,e)});T&&(d==null||d([],i)),n._mutate=Object(n._mutate),n._mutate[e.instance.$.uid]={observer:i},i.observe(n,g)}function xS(n,e){var r;(r=n._mutate)!=null&&r[e.instance.$.uid]&&(n._mutate[e.instance.$.uid].observer.disconnect(),delete n._mutate[e.instance.$.uid])}const RH={mounted:IH,unmounted:xS};function PH(n,e){var D,T;const r=e.value,C={passive:!((D=e.modifiers)!=null&&D.active)};window.addEventListener("resize",r,C),n._onResize=Object(n._onResize),n._onResize[e.instance.$.uid]={handler:r,options:C},(T=e.modifiers)!=null&&T.quiet||r()}function OH(n,e){var D;if(!((D=n._onResize)!=null&&D[e.instance.$.uid]))return;const{handler:r,options:C}=n._onResize[e.instance.$.uid];window.removeEventListener("resize",r,C),delete n._onResize[e.instance.$.uid]}const DH={mounted:PH,unmounted:OH};function _S(n,e){const{self:r=!1}=e.modifiers??{},C=e.value,D=typeof C=="object"&&C.options||{passive:!0},T=typeof C=="function"||"handleEvent"in C?C:C.handler,p=r?n:e.arg?document.querySelector(e.arg):window;p&&(p.addEventListener("scroll",T,D),n._onScroll=Object(n._onScroll),n._onScroll[e.instance.$.uid]={handler:T,options:D,target:r?void 0:p})}function wS(n,e){var T;if(!((T=n._onScroll)!=null&&T[e.instance.$.uid]))return;const{handler:r,options:C,target:D=n}=n._onScroll[e.instance.$.uid];D.removeEventListener("scroll",r,C),delete n._onScroll[e.instance.$.uid]}function zH(n,e){e.value!==e.oldValue&&(wS(n,e),_S(n,e))}const FH={mounted:_S,unmounted:wS,updated:zH},BH=Object.freeze(Object.defineProperty({__proto__:null,ClickOutside:OA,Intersect:og,Mutate:RH,Resize:DH,Ripple:nd,Scroll:FH,Touch:M_},Symbol.toStringTag,{value:"Module"})),E_=R7(Fz);E_.use(D7());E_.use(B6({components:LH,directives:BH}));E_.mount("#app"); ->>>>>>>> develop:js-component/dist/assets/index-1a66aa50.js diff --git a/js-component/dist/assets/index-955eea1e.css b/js-component/dist/assets/index-955eea1e.css index 006e8348..35dff3b6 100644 --- a/js-component/dist/assets/index-955eea1e.css +++ b/js-component/dist/assets/index-955eea1e.css @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:js-component/dist/assets/index-955eea1e.css .tabulator{position:relative;border:1px solid #dee2e6;background-color:#fff;font-size:16px;text-align:left;overflow:hidden;-webkit-transform:translateZ(0);-moz-transform:translateZ(0);-ms-transform:translateZ(0);-o-transform:translateZ(0);transform:translateZ(0)}.tabulator[tabulator-layout=fitDataFill] .tabulator-tableholder .tabulator-table{min-width:100%}.tabulator[tabulator-layout=fitDataTable]{display:inline-block}.tabulator.tabulator-block-select{-webkit-user-select:none;user-select:none}.tabulator.tabulator-ranges .tabulator-cell:not(.tabulator-editing){-webkit-user-select:none;user-select:none}.tabulator .tabulator-header{position:relative;box-sizing:border-box;width:100%;border-bottom:1px solid #dee2e6;background-color:#fff;color:#555;font-weight:700;white-space:nowrap;overflow:hidden;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none;outline:none}.tabulator .tabulator-header.tabulator-header-hidden{display:none}.tabulator .tabulator-header .tabulator-header-contents{position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-header-contents .tabulator-headers{display:inline-block}.tabulator .tabulator-header .tabulator-col{display:inline-flex;position:relative;box-sizing:border-box;flex-direction:column;justify-content:flex-start;border-right:1px solid #aaa;background:#fff;text-align:left;vertical-align:bottom;overflow:hidden}.tabulator .tabulator-header .tabulator-col.tabulator-moving{position:absolute;border:1px solid #dee2e6;background:#e6e6e6;pointer-events:none}.tabulator .tabulator-header .tabulator-col.tabulator-range-highlight{background-color:#d6d6d6;color:#000}.tabulator .tabulator-header .tabulator-col.tabulator-range-selected{background-color:#3876ca;color:#fff}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{box-sizing:border-box;position:relative;padding:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button{padding:0 8px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button:hover{cursor:pointer;opacity:.6}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title-holder{position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title{box-sizing:border-box;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title.tabulator-col-title-wrap{white-space:normal;text-overflow:initial}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-title-editor{box-sizing:border-box;width:100%;border:1px solid #999;padding:1px;background:#fff}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-header-popup-button+.tabulator-title-editor{width:calc(100% - 22px)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{display:flex;align-items:center;position:absolute;top:0;bottom:0;right:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #bbb}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{position:relative;display:flex;border-top:1px solid #aaa;overflow:hidden;margin-right:-1px}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter{position:relative;box-sizing:border-box;margin-top:2px;width:100%;text-align:center}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter textarea{height:auto!important}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter svg{margin-top:3px}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input::-ms-clear{width:0;height:0}.tabulator .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:25px}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable.tabulator-col-sorter-element:hover{cursor:pointer;background-color:#e6e6e6}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter{color:#bbb}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-bottom:6px solid #555}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid #bbb}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter{color:#666}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-bottom:6px solid #555}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid #666}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter{color:#666}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-top:6px solid #555}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-bottom:none;border-top:6px solid #666;color:#666}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical .tabulator-col-content .tabulator-col-title{writing-mode:vertical-rl;text-orientation:mixed;display:flex;align-items:center;justify-content:center}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-col-vertical-flip .tabulator-col-title{transform:rotate(180deg)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-title{padding-right:0;padding-top:20px}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable.tabulator-col-vertical-flip .tabulator-col-title{padding-right:0;padding-bottom:20px}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-sorter{justify-content:center;left:0;right:0;top:4px;bottom:auto}.tabulator .tabulator-header .tabulator-frozen{position:sticky;left:0;z-index:11}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-left{border-right:2px solid #dee2e6}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-right{border-left:2px solid #dee2e6}.tabulator .tabulator-header .tabulator-calcs-holder{box-sizing:border-box;display:inline-block;background:white!important;border-top:1px solid #dee2e6;border-bottom:1px solid #aaa}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row{background:white!important}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-header .tabulator-frozen-rows-holder{display:inline-block}.tabulator .tabulator-header .tabulator-frozen-rows-holder:empty{display:none}.tabulator .tabulator-tableholder{position:relative;width:100%;white-space:nowrap;overflow:auto;-webkit-overflow-scrolling:touch}.tabulator .tabulator-tableholder:focus{outline:none}.tabulator .tabulator-tableholder .tabulator-placeholder{box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-width:100%;width:100%}.tabulator .tabulator-tableholder .tabulator-placeholder[tabulator-render-mode=virtual]{min-height:100%}.tabulator .tabulator-tableholder .tabulator-placeholder .tabulator-placeholder-contents{display:inline-block;text-align:center;padding:10px;color:#ccc;font-weight:700;font-size:20px;white-space:normal}.tabulator .tabulator-tableholder .tabulator-table{position:relative;display:inline-block;background-color:#fff;white-space:nowrap;overflow:visible;color:#333}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs{font-weight:700;background:#ececec!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-top{border-bottom:2px solid #dee2e6}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-bottom{border-top:2px solid #dee2e6}.tabulator .tabulator-tableholder .tabulator-range-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;pointer-events:none}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range{position:absolute;box-sizing:border-box;border:1px solid #2975DD}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range.tabulator-range-active:after{content:"";position:absolute;right:-3px;bottom:-3px;width:6px;height:6px;background-color:#2975dd;border-radius:999px}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range-cell-active{position:absolute;box-sizing:border-box;border:2px solid #2975DD}.tabulator .tabulator-footer{border-top:1px solid #dee2e6;background-color:#e6e6e6;color:#555;font-weight:700;white-space:nowrap;user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator .tabulator-footer .tabulator-footer-contents{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:5px 10px}.tabulator .tabulator-footer .tabulator-footer-contents:empty{display:none}.tabulator .tabulator-footer .tabulator-calcs-holder{box-sizing:border-box;width:100%;text-align:left;background:#f3f3f3!important;border-bottom:1px solid #dee2e6;border-top:1px solid #dee2e6;overflow:hidden}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row{display:inline-block;background:#f3f3f3!important}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-footer .tabulator-calcs-holder:only-child{margin-bottom:-5px;border-bottom:none}.tabulator .tabulator-footer>*+.tabulator-page-counter{margin-left:10px}.tabulator .tabulator-footer .tabulator-page-counter{font-weight:400}.tabulator .tabulator-footer .tabulator-paginator{flex:1;text-align:right;color:#555;font-family:inherit;font-weight:inherit;font-size:inherit}.tabulator .tabulator-footer .tabulator-page-size{display:inline-block;margin:0 5px;padding:2px 5px;border:1px solid #dee2e6;border-radius:3px}.tabulator .tabulator-footer .tabulator-pages{margin:0 7px}.tabulator .tabulator-footer .tabulator-page{display:inline-block;margin:0 2px;padding:2px 5px;border:1px solid #dee2e6;border-radius:3px;background:rgba(255,255,255,.2)}.tabulator .tabulator-footer .tabulator-page.active{color:#fff}.tabulator .tabulator-footer .tabulator-page:disabled{opacity:.5}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-footer .tabulator-page:not(disabled):hover{cursor:pointer;background:rgba(0,0,0,.2);color:#fff}}.tabulator .tabulator-col-resize-handle{position:relative;display:inline-block;width:6px;margin-left:-3px;margin-right:-3px;z-index:11;vertical-align:middle}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-col-resize-handle:hover{cursor:ew-resize}}.tabulator .tabulator-col-resize-handle:last-of-type{width:3px;margin-right:0}.tabulator .tabulator-alert{position:absolute;display:flex;align-items:center;top:0;left:0;z-index:100;height:100%;width:100%;background:rgba(0,0,0,.4);text-align:center}.tabulator .tabulator-alert .tabulator-alert-msg{display:inline-block;margin:0 auto;padding:10px 20px;border-radius:10px;background:#fff;font-weight:700;font-size:16px}.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-msg{border:4px solid #333;color:#000}.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-error{border:4px solid #D00;color:#590000}.tabulator-row{position:relative;box-sizing:border-box;min-height:24px;background-color:#fff}.tabulator-row.tabulator-row-even{background-color:#f9f9f9}@media (hover: hover) and (pointer: fine){.tabulator-row.tabulator-selectable:hover{background-color:#f5f5f5;cursor:pointer}}.tabulator-row.tabulator-selected{background-color:#9abcea}@media (hover: hover) and (pointer: fine){.tabulator-row.tabulator-selected:hover{background-color:#769bcc;cursor:pointer}}.tabulator-row.tabulator-row-moving{border:1px solid #000;background:#fff}.tabulator-row.tabulator-moving{position:absolute;border-top:1px solid #dee2e6;border-bottom:1px solid #dee2e6;pointer-events:none;z-index:15}.tabulator-row.tabulator-range-highlight .tabulator-cell.tabulator-range-row-header{background-color:#d6d6d6;color:#000}.tabulator-row.tabulator-range-highlight.tabulator-range-selected .tabulator-cell.tabulator-range-row-header,.tabulator-row.tabulator-range-selected .tabulator-cell.tabulator-range-row-header{background-color:#3876ca;color:#fff}.tabulator-row .tabulator-row-resize-handle{position:absolute;right:0;bottom:0;left:0;height:5px}.tabulator-row .tabulator-row-resize-handle.prev{top:0;bottom:auto}@media (hover: hover) and (pointer: fine){.tabulator-row .tabulator-row-resize-handle:hover{cursor:ns-resize}}.tabulator-row .tabulator-responsive-collapse{box-sizing:border-box;padding:5px;border-top:1px solid #dee2e6;border-bottom:1px solid #dee2e6}.tabulator-row .tabulator-responsive-collapse:empty{display:none}.tabulator-row .tabulator-responsive-collapse table{font-size:16px}.tabulator-row .tabulator-responsive-collapse table tr td{position:relative}.tabulator-row .tabulator-responsive-collapse table tr td:first-of-type{padding-right:10px}.tabulator-row .tabulator-cell{display:inline-block;position:relative;box-sizing:border-box;padding:4px;border-right:1px solid #dee2e6;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;outline:none}.tabulator-row .tabulator-cell.tabulator-frozen{display:inline-block;position:sticky;left:0;background-color:inherit;z-index:11}.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-right:2px solid #dee2e6}.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-left:2px solid #dee2e6}.tabulator-row .tabulator-cell.tabulator-editing{border:1px solid #1D68CD;outline:none;padding:0}.tabulator-row .tabulator-cell.tabulator-editing input,.tabulator-row .tabulator-cell.tabulator-editing select{border:1px;background:transparent;outline:none}.tabulator-row .tabulator-cell.tabulator-validation-fail{border:1px solid #dd0000}.tabulator-row .tabulator-cell.tabulator-validation-fail input,.tabulator-row .tabulator-cell.tabulator-validation-fail select{border:1px;background:transparent;color:#d00}.tabulator-row .tabulator-cell.tabulator-row-handle{display:inline-flex;align-items:center;justify-content:center;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box{width:80%}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box .tabulator-row-handle-bar{width:100%;height:3px;margin-top:2px;background:#666}.tabulator-row .tabulator-cell.tabulator-range-selected:not(.tabulator-range-only-cell-selected):not(.tabulator-range-row-header){background-color:#9abcea}.tabulator-row .tabulator-cell .tabulator-data-tree-branch-empty{display:inline-block;width:7px}.tabulator-row .tabulator-cell .tabulator-data-tree-branch{display:inline-block;vertical-align:middle;height:9px;width:7px;margin-top:-9px;margin-right:5px;border-bottom-left-radius:1px;border-left:2px solid #dee2e6;border-bottom:2px solid #dee2e6}.tabulator-row .tabulator-cell .tabulator-data-tree-control{display:inline-flex;justify-content:center;align-items:center;vertical-align:middle;height:11px;width:11px;margin-right:5px;border:1px solid #333;border-radius:2px;background:rgba(0,0,0,.1);overflow:hidden}@media (hover: hover) and (pointer: fine){.tabulator-row .tabulator-cell .tabulator-data-tree-control:hover{cursor:pointer;background:rgba(0,0,0,.2)}}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse{display:inline-block;position:relative;height:7px;width:1px;background:transparent}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand{display:inline-block;position:relative;height:7px;width:1px;background:#333}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle{display:inline-flex;align-items:center;justify-content:center;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none;height:15px;width:15px;border-radius:20px;background:#666;color:#fff;font-weight:700;font-size:1.1em}@media (hover: hover) and (pointer: fine){.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle:hover{opacity:.7;cursor:pointer}}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-close{display:initial}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-open{display:none}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle svg{stroke:#fff}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle .tabulator-responsive-collapse-toggle-close{display:none}.tabulator-row .tabulator-cell .tabulator-traffic-light{display:inline-block;height:14px;width:14px;border-radius:14px}.tabulator-row.tabulator-group{box-sizing:border-box;border-bottom:1px solid #999;border-right:1px solid #dee2e6;border-top:1px solid #999;padding:5px 5px 5px 10px;background:#ccc;font-weight:700;min-width:100%}@media (hover: hover) and (pointer: fine){.tabulator-row.tabulator-group:hover{cursor:pointer;background-color:#0000001a}}.tabulator-row.tabulator-group.tabulator-group-visible .tabulator-arrow{margin-right:10px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #666;border-bottom:0}.tabulator-row.tabulator-group.tabulator-group-level-1{padding-left:30px}.tabulator-row.tabulator-group.tabulator-group-level-2{padding-left:50px}.tabulator-row.tabulator-group.tabulator-group-level-3{padding-left:70px}.tabulator-row.tabulator-group.tabulator-group-level-4{padding-left:90px}.tabulator-row.tabulator-group.tabulator-group-level-5{padding-left:110px}.tabulator-row.tabulator-group .tabulator-group-toggle{display:inline-block}.tabulator-row.tabulator-group .tabulator-arrow{display:inline-block;width:0;height:0;margin-right:16px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:0;border-left:6px solid #666;vertical-align:middle}.tabulator-row.tabulator-group span{margin-left:10px;color:#d00}.tabulator-popup-container{position:absolute;display:inline-block;box-sizing:border-box;background:#fff;border:1px solid #dee2e6;box-shadow:0 0 5px #0003;font-size:16px;overflow-y:auto;-webkit-overflow-scrolling:touch;z-index:10000}.tabulator-popup{padding:5px;border-radius:3px}.tabulator-tooltip{max-width:min(500px,100%);padding:3px 5px;border-radius:2px;box-shadow:none;font-size:12px;pointer-events:none}.tabulator-menu .tabulator-menu-item{position:relative;box-sizing:border-box;padding:5px 10px;-webkit-user-select:none;user-select:none}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-disabled{opacity:.5}@media (hover: hover) and (pointer: fine){.tabulator-menu .tabulator-menu-item:not(.tabulator-menu-item-disabled):hover{cursor:pointer;background:#f9f9f9}}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu{padding-right:25px}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu:after{display:inline-block;position:absolute;top:calc(5px + .4em);right:10px;height:7px;width:7px;content:"";border-width:1px 1px 0 0;border-style:solid;border-color:#dee2e6;vertical-align:top;transform:rotate(45deg)}.tabulator-menu .tabulator-menu-separator{border-top:1px solid #dee2e6}.tabulator-edit-list{max-height:200px;font-size:16px;overflow-y:auto;-webkit-overflow-scrolling:touch}.tabulator-edit-list .tabulator-edit-list-item{padding:4px;color:#333;outline:none}.tabulator-edit-list .tabulator-edit-list-item.active{color:#fff;background:#1D68CD}.tabulator-edit-list .tabulator-edit-list-item.active.focused{outline:1px solid rgba(255,255,255,.5)}.tabulator-edit-list .tabulator-edit-list-item.focused{outline:1px solid #1D68CD}@media (hover: hover) and (pointer: fine){.tabulator-edit-list .tabulator-edit-list-item:hover{cursor:pointer;color:#fff;background:#1D68CD}}.tabulator-edit-list .tabulator-edit-list-placeholder{padding:4px;color:#333;text-align:center}.tabulator-edit-list .tabulator-edit-list-group{border-bottom:1px solid #dee2e6;padding:6px 4px 4px;color:#333;font-weight:700}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-2,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-2{padding-left:12px}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-3,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-3{padding-left:20px}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-4,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-4{padding-left:28px}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-5,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-5{padding-left:36px}.tabulator.tabulator-ltr{direction:ltr}.tabulator.tabulator-rtl{text-align:initial;direction:rtl}.tabulator.tabulator-rtl .tabulator-header .tabulator-col{text-align:initial;border-left:1px solid #aaa;border-right:initial}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{margin-right:initial;margin-left:-1px}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:0;padding-left:25px}.tabulator.tabulator-rtl .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{left:8px;right:initial}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell{border-right:initial;border-left:1px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-branch{margin-right:initial;margin-left:5px;border-bottom-left-radius:initial;border-bottom-right-radius:1px;border-left:initial;border-right:2px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-control{margin-right:initial;margin-left:5px}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-left:2px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-right:2px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-col-resize-handle:last-of-type{width:3px;margin-left:0;margin-right:-3px}.tabulator.tabulator-rtl .tabulator-footer .tabulator-calcs-holder{text-align:initial}.tabulator-print-fullscreen{position:absolute;top:0;bottom:0;left:0;right:0;z-index:10000}body.tabulator-print-fullscreen-hide>*:not(.tabulator-print-fullscreen){display:none!important}.tabulator-print-table{border-collapse:collapse}.tabulator-print-table .tabulator-data-tree-branch{display:inline-block;vertical-align:middle;height:9px;width:7px;margin-top:-9px;margin-right:5px;border-bottom-left-radius:1px;border-left:2px solid #dee2e6;border-bottom:2px solid #dee2e6}.tabulator-print-table .tabulator-print-table-group{box-sizing:border-box;border-bottom:1px solid #999;border-right:1px solid #dee2e6;border-top:1px solid #999;padding:5px 5px 5px 10px;background:#ccc;font-weight:700;min-width:100%}@media (hover: hover) and (pointer: fine){.tabulator-print-table .tabulator-print-table-group:hover{cursor:pointer;background-color:#0000001a}}.tabulator-print-table .tabulator-print-table-group.tabulator-group-visible .tabulator-arrow{margin-right:10px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #666;border-bottom:0}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-1 td{padding-left:30px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-2 td{padding-left:50px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-3 td{padding-left:70px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-4 td{padding-left:90px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-5 td{padding-left:110px!important}.tabulator-print-table .tabulator-print-table-group .tabulator-group-toggle{display:inline-block}.tabulator-print-table .tabulator-print-table-group .tabulator-arrow{display:inline-block;width:0;height:0;margin-right:16px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:0;border-left:6px solid #666;vertical-align:middle}.tabulator-print-table .tabulator-print-table-group span{margin-left:10px;color:#d00}.tabulator-print-table .tabulator-data-tree-control{display:inline-flex;justify-content:center;align-items:center;vertical-align:middle;height:11px;width:11px;margin-right:5px;border:1px solid #333;border-radius:2px;background:rgba(0,0,0,.1);overflow:hidden}@media (hover: hover) and (pointer: fine){.tabulator-print-table .tabulator-data-tree-control:hover{cursor:pointer;background:rgba(0,0,0,.2)}}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse{display:inline-block;position:relative;height:7px;width:1px;background:transparent}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand{display:inline-block;position:relative;height:7px;width:1px;background:#333}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator{background-color:#fff;border:none}.tabulator .tabulator-header{border-top:1px solid #dee2e6;border-bottom:2px solid #dee2e6;color:inherit}.tabulator .tabulator-header .tabulator-col{border-right:none;background-color:#fff}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{padding:12px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{right:0}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{border-top:1px solid #dee2e6}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input{padding:.375rem .75rem;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;font-size:1rem;line-height:1.5;color:#495057}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input:focus{color:#495057;background-color:#fff;border:1px solid #1D68CD;outline:0}.tabulator .tabulator-header .tabulator-calcs-holder{width:100%;border-bottom:1px solid #dee2e6}.tabulator .tabulator-tableholder .tabulator-placeholder span{color:#000}.tabulator .tabulator-tableholder .tabulator-table,.tabulator .tabulator-footer,.tabulator .tabulator-footer .tabulator-paginator{color:inherit}.tabulator .tabulator-footer .tabulator-pages{margin:0}.tabulator .tabulator-footer .tabulator-page{margin:5px 0 0;padding:8px 12px}.tabulator .tabulator-footer .tabulator-page[data-page=first]{border-top-left-radius:4px;border-bottom-left-radius:4px}.tabulator .tabulator-footer .tabulator-page[data-page=last]{border:1px solid #dee2e6;border-top-right-radius:4px;border-bottom-right-radius:4px}.tabulator .tabulator-footer .tabulator-page.active{border-color:#007bff;background-color:#007bff;color:#fff}.tabulator .tabulator-footer .tabulator-page:disabled{border-color:#dee2e6;background:#fff;color:#6c757d}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-footer .tabulator-page:not(.disabled):hover{border-color:#dee2e6;background:#e9ecef;color:#0056b3}}.tabulator.thead-dark .tabulator-header,.tabulator.thead-dark .tabulator-header .tabulator-col{border-color:#32383e;background-color:#212529;color:#fff}.tabulator.table-dark{background-color:#212529}.tabulator.table-dark:not(.thead-light) .tabulator-header{border-color:#32383e;background-color:#212529;color:#fff}.tabulator.table-dark:not(.thead-light) .tabulator-header .tabulator-col{border-color:#32383e;background-color:#212529;color:#fff}.tabulator.table-dark .tabulator-tableholder{color:#fff}.tabulator.table-dark .tabulator-row{border-color:#32383e;background-color:#212529;color:#fff}@media (hover: hover) and (pointer: fine){.tabulator.table-dark .tabulator-row:hover{background-color:#32383e}.tabulator.table-dark .tabulator-row:hover .tabulator-cell{background-color:#ffffff13}}.tabulator.table-dark .tabulator-row.tabulator-selected{background-color:#9abcea}.tabulator.table-dark .tabulator-footer{border-color:#32383e!important}.tabulator.table-dark .tabulator-footer .tabulator-calcs-holder{border-color:#32383e!important;background:#212529!important}.tabulator.table-dark .tabulator-footer .tabulator-calcs-holder .tabulator-row{border-color:#32383e!important;background-color:#212529!important;color:#fff!important}.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even{background-color:#f9f9f9}.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even.tabulator-selected{background-color:#9abcea}@media (hover: hover) and (pointer: fine){.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even.tabulator-selectable:hover{background-color:#f5f5f5;cursor:pointer}.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even.tabulator-selected:hover{background-color:#769bcc;cursor:pointer}}.tabulator.table-striped.table-dark .tabulator-row:nth-child(2n) .tabulator-cell{background-color:#ffffff0d}.tabulator.table-bordered{border:1px solid #dee2e6}.tabulator.table-bordered .tabulator-header .tabulator-col,.tabulator.table-bordered .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell{border-right:1px solid #dee2e6}.tabulator.table-borderless .tabulator-header,.tabulator.table-borderless .tabulator-row{border:none}.tabulator.table-sm .tabulator-header .tabulator-col .tabulator-col-content{padding:5px!important}.tabulator.table-sm .tabulator-tableholder .tabulator-table .tabulator-row{min-height:26px}.tabulator.table-sm .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell{padding:5px!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-primary{background:#b8daff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-secondary{background:#d6d8db!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-success{background:#c3e6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-info{background:#bee5eb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-warning{background:#ffeeba!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-danger{background:#f5c6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-light{background:#fdfdfe!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-dark{background:#c6c8ca!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-active{background:#f5f5f5!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-primary{background:#007bff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-secondary{background:#6c757d!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-success{background:#28a745!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-info{background:#17a2b8!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-warning{background:#ffc107!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-danger{background:#dc3545!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-light{background:#f8f9fa!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-dark{background:#343a40!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-active{background:#f5f5f5!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-primary{background:#b8daff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-secondary{background:#d6d8db!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-success{background:#c3e6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-info{background:#bee5eb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-warning{background:#ffeeba!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-danger{background:#f5c6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-light{background:#fdfdfe!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-dark{background:#c6c8ca!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-active{background:#f5f5f5!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-primary{background:#007bff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-secondary{background:#6c757d!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-success{background:#28a745!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-info{background:#17a2b8!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-warning{background:#ffc107!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-danger{background:#dc3545!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-light{background:#f8f9fa!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-dark{background:#343a40!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-active{background:#f5f5f5!important}.tabulator-row{min-height:40px;border-bottom:1px solid #dee2e6}.tabulator-row .tabulator-cell{padding:12px;border-right:none}.tabulator-row .tabulator-cell:last-of-type{border-right:none}.tabulator-row .tabulator-cell .tabulator-data-tree-control{border:1px solid #ccc}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{background:#ccc}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand{background:#ccc}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{background:#ccc}.tabulator-row.tabulator-group{background:#fafafa}.tabulator-row.tabulator-group span{color:#666}.tabulator-edit-select-list{background:#fff}.tabulator-edit-select-list .tabulator-edit-select-list-item.active{color:#fff}.tabulator-edit-select-list .tabulator-edit-select-list-item.active.focused{outline:1px solid rgba(255,255,255,.5)}@media (hover: hover) and (pointer: fine){.tabulator-edit-select-list .tabulator-edit-select-list-item:hover{color:#fff}}.tabulator-edit-select-list .tabulator-edit-select-list-notice,.tabulator-edit-select-list .tabulator-edit-select-list-group{color:inherit}.tabulator.tabulator-rtl .tabulator-header .tabulator-col{text-align:initial;border-left:initial}.tabulator-print-table .tabulator-print-table-group{background:#fafafa}.tabulator-print-table .tabulator-print-table-group span{color:#666}.tabulator-print-table .tabulator-data-tree-control{color:inherit}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{background:#ccc}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand{background:#ccc}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{background:#ccc}.tabulator-col-title,.tabulator-cell{font-size:14px}.filter-badge{position:absolute;top:-4px;right:-4px;background-color:#f44336;color:#fff;border-radius:50%;min-width:18px;height:18px;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:500;line-height:1;z-index:10;box-shadow:0 1px 3px #0000004d}.plot-container[data-v-08e314b5]{position:relative;width:100%;color:var(--text-color);background-color:var(--background-color)}.simple-button[data-v-08e314b5]{position:absolute;top:17%;left:6.5%;z-index:1000;background-color:var(--annotation-background);border:none;border-radius:50%;width:30px;height:30px;text-align:center;line-height:230%;cursor:pointer}.simple-button[data-v-08e314b5]:hover{background-color:var(--button-hover-color)}.foreground[data-v-fb6c82e8]{position:relative;z-index:1000}.sequence-amino-acid-highlighted[data-v-fb6c82e8],.sequence-amino-acid.highlighted[data-v-fb6c82e8]{background-color:#f3a712;color:#000;outline:3px solid #29335C;font-weight:700}.sequence-amino-acid-truncated[data-v-fb6c82e8],.sequence-amino-acid.truncated .aa-text[data-v-fb6c82e8]{color:#8080804d;outline:rgba(128,128,128,.3);text-decoration:line-through!important}.sequence-amino-acid[data-v-fb6c82e8]{background-color:var(--amino-acid-cell-bg-color);color:var(--amino-acid-cell-color)}.sequence-amino-acid[data-v-fb6c82e8]:hover{background-color:var(--amino-acid-cell-hover-bg-color);color:var(--amino-acid-cell-hover-color)}.sequence-amino-acid-highlighted[data-v-fb6c82e8]{background-color:var(--amino-acid-cell-bg-color);color:#f3a712}.sequence-amino-acid-highlighted[data-v-fb6c82e8]:hover{background-color:var(--amino-acid-cell-hover-bg-color)}.sequence-amino-acid-modified[data-v-fb6c82e8]{background-color:#a79c91}.sequence-amino-acid-modified[data-v-fb6c82e8]:hover{background-color:#c5baaf}.frag-marker-container[data-v-fb6c82e8],.frag-marker-container-a[data-v-fb6c82e8],.frag-marker-container-b[data-v-fb6c82e8],.frag-marker-container-c[data-v-fb6c82e8],.frag-marker-container-x[data-v-fb6c82e8],.frag-marker-container-y[data-v-fb6c82e8],.frag-marker-container-z[data-v-fb6c82e8],.frag-marker-extra-type[data-v-fb6c82e8]{width:100%;height:100%;position:absolute;z-index:1000}.frag-marker-container-a[data-v-fb6c82e8]{top:-28%;left:15%}.frag-marker-container-b[data-v-fb6c82e8]{top:-8%;left:13%}.frag-marker-container-c[data-v-fb6c82e8]{top:-28%;left:15%}.frag-marker-container-x[data-v-fb6c82e8]{bottom:-32%;left:-10%}.frag-marker-container-y[data-v-fb6c82e8]{bottom:-8%;left:-10%}.frag-marker-container-z[data-v-fb6c82e8]{bottom:-32%;left:-10%}.frag-marker-extra-type[data-v-fb6c82e8]{top:-30%}.aa-text[data-v-fb6c82e8]{position:absolute}.tag-marker[data-v-fb6c82e8]{position:absolute;top:-7.5%;left:-7.5%;width:115%;height:115%;display:flex;align-items:center;justify-content:right;border-top:.3em solid black;border-right:.3em solid black;border-bottom:.3em solid black;border-left:.3em solid black;z-index:1100}.tag-start[data-v-fb6c82e8]{clip-path:inset(0 50% 0 0)}.tag-end[data-v-fb6c82e8]{clip-path:inset(0 0 0 50%)}.mod-marker[data-v-fb6c82e8]{position:absolute;width:100%;height:100%;display:flex;align-items:center;justify-content:right;background-image:radial-gradient(#676a9c .5px,transparent .5px),radial-gradient(#444cf7 .5px,#e5e5f7 .5px);background-size:15px 15px;background-position:0 0,10px 10px;background-repeat:repeat}.mod-mass[data-v-fb6c82e8]{background-color:#fff;display:inline-block;position:absolute;top:-15%;right:-25%;display:flex;align-items:center;justify-content:right;border-top:.1em solid #a79c91;border-right:.1em solid #a79c91;border-bottom:.1em solid #a79c91;border-left:.1em solid #a79c91;font-size:.7em;padding:0 .2em;z-index:1100}.mod-mass-a[data-v-fb6c82e8]{display:inline-block;position:absolute;top:-15%;right:-25%;display:flex;align-items:center;border-top:.2em solid green;border-right:.2em solid green;border-bottom:.2em solid green;border-radius:.5rem;padding:0 .2em;z-index:1200;font-size:.7em;color:#0000}.mod-mass-b[data-v-fb6c82e8]{display:inline-block;position:absolute;top:-15%;right:-25%;display:flex;align-items:center;border-top:.2em solid blue;border-right:.2em solid blue;border-bottom:.2em solid blue;border-radius:.5rem;z-index:1200;padding:0 .2em;font-size:.7em;color:#0000}.mod-mass-c[data-v-fb6c82e8]{display:inline-block;position:absolute;top:-15%;right:-25%;display:flex;align-items:center;border-top:.2em solid red;border-right:.2em solid red;border-bottom:.2em solid red;border-radius:.5rem;z-index:1200;font-size:.7em;padding:0 .2em;color:#0000}.mod-start[data-v-fb6c82e8]{clip-path:inset(0 50% 0 0)}.mod-end[data-v-fb6c82e8],.mod-start-cont[data-v-fb6c82e8]{clip-path:inset(0 0 0 50%)}.mod-end-cont[data-v-fb6c82e8]{clip-path:inset(0 50% 0 0)}.mod-center-cont[data-v-fb6c82e8]{width:125%}.undetermined[data-v-beee67fe]{position:relative;top:-20%;font-size:.7em;font-weight:1000;color:red;z-index:1100}.protein-terminal[data-v-beee67fe]:hover{background-color:var(--protein-terminal-cell-hover-bg-color);color:var(--protein-terminal-cell-hover-color)}.terminal-text[data-v-beee67fe]{font-weight:1000}.terminal-text.truncated[data-v-beee67fe]{color:#80808066;outline:rgba(128,128,128,.4)}.protein-terminal-modified[data-v-beee67fe]{background-color:#9c1e1e;color:var(--amino-acid-cell-color)}.protein-terminal-modified[data-v-beee67fe]:hover{background-color:#ff1e1e}.sequence-grid[data-v-9a6912d6]{display:grid;grid-template-rows:auto;gap:4px 4px}.sequence-grid>div[data-v-9a6912d6]{aspect-ratio:1}.sequence-amino-acid-modified[data-v-9a6912d6]{background-color:#9c1e1e!important}.sequence-amino-acid-modified[data-v-9a6912d6]:hover{background-color:#ff1e1e}.sequence-amino-acid-highlighted[data-v-9a6912d6]{background-color:var(--amino-acid-cell-bg-color);color:#f0a441}.sequence-amino-acid-highlighted[data-v-9a6912d6]:hover{background-color:var(--amino-acid-cell-hover-bg-color)}.sequence-grid[data-v-14f01162]{display:grid;grid-template-rows:auto;gap:4px 4px}.sequence-grid>div[data-v-14f01162]{aspect-ratio:1}.protein-terminal[data-v-14f01162]:hover{background-color:var(--amino-acid-cell-hover-bg-color);color:var(--amino-acid-cell-hover-color)}.grid-width-20[data-v-14f01162]{grid-template-columns:repeat(22,1fr)}.grid-width-25[data-v-14f01162]{grid-template-columns:repeat(27,1fr)}.grid-width-30[data-v-14f01162]{grid-template-columns:repeat(32,1fr)}.grid-width-35[data-v-14f01162]{grid-template-columns:repeat(37,1fr)}.grid-width-40[data-v-14f01162]{grid-template-columns:repeat(42,1fr)}.sequence-and-scale[data-v-14f01162]{display:flex;align-items:center}.scale-container[data-v-14f01162]{display:flex;flex-direction:column;align-items:center}#sequence-part[data-v-14f01162]{flex-grow:1}.scale[data-v-14f01162]{width:60px;height:100px;background:linear-gradient(to top,rgba(228,87,46,.1),rgba(228,87,46,.2) 10%,rgba(228,87,46,.4) 20%,rgba(228,87,46,.6) 40%,rgba(228,87,46,.8) 70%,#e4572e 100%)}.scale-text[data-v-14f01162]{text-align:center;font-size:14pt;font-weight:700}.sequence-text[data-v-ece55ad7]{font-size:8px}.fragment-segment[data-v-ece55ad7],.by-fragment[data-v-ece55ad7],.cy-fragment[data-v-ece55ad7],.bz-fragment[data-v-ece55ad7],.not-in-fragment[data-v-ece55ad7],.by-fragment-overlayed[data-v-ece55ad7],.by-fragment-legend[data-v-ece55ad7],.cy-fragment-overlayed[data-v-ece55ad7],.cy-fragment-legend[data-v-ece55ad7],.bz-fragment-overlayed[data-v-ece55ad7],.bz-fragment-legend[data-v-ece55ad7]{aspect-ratio:1}.by-fragment[data-v-ece55ad7],.by-fragment-overlayed[data-v-ece55ad7],.by-fragment-legend[data-v-ece55ad7]{background:#f0a441}.by-fragment-overlayed[data-v-ece55ad7]{opacity:var(--frag-block-opacity-value)}.by-fragment-legend[data-v-ece55ad7]{height:10px}.cy-fragment[data-v-ece55ad7],.cy-fragment-overlayed[data-v-ece55ad7],.cy-fragment-legend[data-v-ece55ad7]{background:#12871d}.cy-fragment-overlayed[data-v-ece55ad7]{opacity:var(--frag-block-opacity-value)}.cy-fragment-legend[data-v-ece55ad7]{height:10px}.bz-fragment[data-v-ece55ad7],.bz-fragment-overlayed[data-v-ece55ad7],.bz-fragment-legend[data-v-ece55ad7]{background:#7831cc}.bz-fragment-overlayed[data-v-ece55ad7]{opacity:var(--frag-block-opacity-value)}.bz-fragment-legend[data-v-ece55ad7]{height:10px}.not-in-fragment[data-v-ece55ad7]{background:transparent;aspect-ratio:1}.v-input.textFieldFontSize[data-v-ece55ad7]{width:100px}.component-row[data-v-942c08f7]{display:flex;flex-direction:row;align-items:center}.height-1[data-v-942c08f7]{min-height:200px;height:fit-content;max-height:400px}.height-2[data-v-942c08f7]{min-height:200px;height:fit-content;max-height:800px}.height-any[data-v-942c08f7]{min-height:200px;height:fit-content}.component-width-1[data-v-942c08f7]{flex-basis:100%;flex-grow:0}.component-width-2[data-v-942c08f7]{max-width:50%;flex-basis:50%;flex-grow:0}.component-width-3[data-v-942c08f7]{max-width:33%;flex-basis:33%;flex-grow:0}.component-layout[data-v-721e06dc]{display:flex;flex-direction:column}body{margin:0;font-family:Source Sans Pro,sans-serif}.tabulator-tooltip{background:#fff;color:#000}@font-face{font-family:Material Design Icons;src:url(./materialdesignicons-webfont-67d24abe.eot?v=7.2.96);src:url(./materialdesignicons-webfont-67d24abe.eot?#iefix&v=7.2.96) format("embedded-opentype"),url(./materialdesignicons-webfont-c1c004a9.woff2?v=7.2.96) format("woff2"),url(./materialdesignicons-webfont-80bb28b3.woff?v=7.2.96) format("woff"),url(./materialdesignicons-webfont-a58ecb54.ttf?v=7.2.96) format("truetype");font-weight:400;font-style:normal}.mdi:before,.mdi-set{display:inline-block;font: 24px/1 Material Design Icons;font-size:inherit;text-rendering:auto;line-height:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.mdi-ab-testing:before{content:"󰇉"}.mdi-abacus:before{content:"󱛠"}.mdi-abjad-arabic:before{content:"󱌨"}.mdi-abjad-hebrew:before{content:"󱌩"}.mdi-abugida-devanagari:before{content:"󱌪"}.mdi-abugida-thai:before{content:"󱌫"}.mdi-access-point:before{content:"󰀃"}.mdi-access-point-check:before{content:"󱔸"}.mdi-access-point-minus:before{content:"󱔹"}.mdi-access-point-network:before{content:"󰀂"}.mdi-access-point-network-off:before{content:"󰯡"}.mdi-access-point-off:before{content:"󱔑"}.mdi-access-point-plus:before{content:"󱔺"}.mdi-access-point-remove:before{content:"󱔻"}.mdi-account:before{content:"󰀄"}.mdi-account-alert:before{content:"󰀅"}.mdi-account-alert-outline:before{content:"󰭐"}.mdi-account-arrow-down:before{content:"󱡨"}.mdi-account-arrow-down-outline:before{content:"󱡩"}.mdi-account-arrow-left:before{content:"󰭑"}.mdi-account-arrow-left-outline:before{content:"󰭒"}.mdi-account-arrow-right:before{content:"󰭓"}.mdi-account-arrow-right-outline:before{content:"󰭔"}.mdi-account-arrow-up:before{content:"󱡧"}.mdi-account-arrow-up-outline:before{content:"󱡪"}.mdi-account-badge:before{content:"󱬊"}.mdi-account-badge-outline:before{content:"󱬋"}.mdi-account-box:before{content:"󰀆"}.mdi-account-box-multiple:before{content:"󰤴"}.mdi-account-box-multiple-outline:before{content:"󱀊"}.mdi-account-box-outline:before{content:"󰀇"}.mdi-account-cancel:before{content:"󱋟"}.mdi-account-cancel-outline:before{content:"󱋠"}.mdi-account-card:before{content:"󱮤"}.mdi-account-card-outline:before{content:"󱮥"}.mdi-account-cash:before{content:"󱂗"}.mdi-account-cash-outline:before{content:"󱂘"}.mdi-account-check:before{content:"󰀈"}.mdi-account-check-outline:before{content:"󰯢"}.mdi-account-child:before{content:"󰪉"}.mdi-account-child-circle:before{content:"󰪊"}.mdi-account-child-outline:before{content:"󱃈"}.mdi-account-circle:before{content:"󰀉"}.mdi-account-circle-outline:before{content:"󰭕"}.mdi-account-clock:before{content:"󰭖"}.mdi-account-clock-outline:before{content:"󰭗"}.mdi-account-cog:before{content:"󱍰"}.mdi-account-cog-outline:before{content:"󱍱"}.mdi-account-convert:before{content:"󰀊"}.mdi-account-convert-outline:before{content:"󱌁"}.mdi-account-cowboy-hat:before{content:"󰺛"}.mdi-account-cowboy-hat-outline:before{content:"󱟳"}.mdi-account-credit-card:before{content:"󱮦"}.mdi-account-credit-card-outline:before{content:"󱮧"}.mdi-account-details:before{content:"󰘱"}.mdi-account-details-outline:before{content:"󱍲"}.mdi-account-edit:before{content:"󰚼"}.mdi-account-edit-outline:before{content:"󰿻"}.mdi-account-eye:before{content:"󰐠"}.mdi-account-eye-outline:before{content:"󱉻"}.mdi-account-filter:before{content:"󰤶"}.mdi-account-filter-outline:before{content:"󰾝"}.mdi-account-group:before{content:"󰡉"}.mdi-account-group-outline:before{content:"󰭘"}.mdi-account-hard-hat:before{content:"󰖵"}.mdi-account-hard-hat-outline:before{content:"󱨟"}.mdi-account-heart:before{content:"󰢙"}.mdi-account-heart-outline:before{content:"󰯣"}.mdi-account-injury:before{content:"󱠕"}.mdi-account-injury-outline:before{content:"󱠖"}.mdi-account-key:before{content:"󰀋"}.mdi-account-key-outline:before{content:"󰯤"}.mdi-account-lock:before{content:"󱅞"}.mdi-account-lock-open:before{content:"󱥠"}.mdi-account-lock-open-outline:before{content:"󱥡"}.mdi-account-lock-outline:before{content:"󱅟"}.mdi-account-minus:before{content:"󰀍"}.mdi-account-minus-outline:before{content:"󰫬"}.mdi-account-multiple:before{content:"󰀎"}.mdi-account-multiple-check:before{content:"󰣅"}.mdi-account-multiple-check-outline:before{content:"󱇾"}.mdi-account-multiple-minus:before{content:"󰗓"}.mdi-account-multiple-minus-outline:before{content:"󰯥"}.mdi-account-multiple-outline:before{content:"󰀏"}.mdi-account-multiple-plus:before{content:"󰀐"}.mdi-account-multiple-plus-outline:before{content:"󰠀"}.mdi-account-multiple-remove:before{content:"󱈊"}.mdi-account-multiple-remove-outline:before{content:"󱈋"}.mdi-account-music:before{content:"󰠃"}.mdi-account-music-outline:before{content:"󰳩"}.mdi-account-network:before{content:"󰀑"}.mdi-account-network-off:before{content:"󱫱"}.mdi-account-network-off-outline:before{content:"󱫲"}.mdi-account-network-outline:before{content:"󰯦"}.mdi-account-off:before{content:"󰀒"}.mdi-account-off-outline:before{content:"󰯧"}.mdi-account-outline:before{content:"󰀓"}.mdi-account-plus:before{content:"󰀔"}.mdi-account-plus-outline:before{content:"󰠁"}.mdi-account-question:before{content:"󰭙"}.mdi-account-question-outline:before{content:"󰭚"}.mdi-account-reactivate:before{content:"󱔫"}.mdi-account-reactivate-outline:before{content:"󱔬"}.mdi-account-remove:before{content:"󰀕"}.mdi-account-remove-outline:before{content:"󰫭"}.mdi-account-school:before{content:"󱨠"}.mdi-account-school-outline:before{content:"󱨡"}.mdi-account-search:before{content:"󰀖"}.mdi-account-search-outline:before{content:"󰤵"}.mdi-account-settings:before{content:"󰘰"}.mdi-account-settings-outline:before{content:"󱃉"}.mdi-account-star:before{content:"󰀗"}.mdi-account-star-outline:before{content:"󰯨"}.mdi-account-supervisor:before{content:"󰪋"}.mdi-account-supervisor-circle:before{content:"󰪌"}.mdi-account-supervisor-circle-outline:before{content:"󱓬"}.mdi-account-supervisor-outline:before{content:"󱄭"}.mdi-account-switch:before{content:"󰀙"}.mdi-account-switch-outline:before{content:"󰓋"}.mdi-account-sync:before{content:"󱤛"}.mdi-account-sync-outline:before{content:"󱤜"}.mdi-account-tag:before{content:"󱰛"}.mdi-account-tag-outline:before{content:"󱰜"}.mdi-account-tie:before{content:"󰳣"}.mdi-account-tie-hat:before{content:"󱢘"}.mdi-account-tie-hat-outline:before{content:"󱢙"}.mdi-account-tie-outline:before{content:"󱃊"}.mdi-account-tie-voice:before{content:"󱌈"}.mdi-account-tie-voice-off:before{content:"󱌊"}.mdi-account-tie-voice-off-outline:before{content:"󱌋"}.mdi-account-tie-voice-outline:before{content:"󱌉"}.mdi-account-tie-woman:before{content:"󱪌"}.mdi-account-voice:before{content:"󰗋"}.mdi-account-voice-off:before{content:"󰻔"}.mdi-account-wrench:before{content:"󱢚"}.mdi-account-wrench-outline:before{content:"󱢛"}.mdi-adjust:before{content:"󰀚"}.mdi-advertisements:before{content:"󱤪"}.mdi-advertisements-off:before{content:"󱤫"}.mdi-air-conditioner:before{content:"󰀛"}.mdi-air-filter:before{content:"󰵃"}.mdi-air-horn:before{content:"󰶬"}.mdi-air-humidifier:before{content:"󱂙"}.mdi-air-humidifier-off:before{content:"󱑦"}.mdi-air-purifier:before{content:"󰵄"}.mdi-air-purifier-off:before{content:"󱭗"}.mdi-airbag:before{content:"󰯩"}.mdi-airballoon:before{content:"󰀜"}.mdi-airballoon-outline:before{content:"󱀋"}.mdi-airplane:before{content:"󰀝"}.mdi-airplane-alert:before{content:"󱡺"}.mdi-airplane-check:before{content:"󱡻"}.mdi-airplane-clock:before{content:"󱡼"}.mdi-airplane-cog:before{content:"󱡽"}.mdi-airplane-edit:before{content:"󱡾"}.mdi-airplane-landing:before{content:"󰗔"}.mdi-airplane-marker:before{content:"󱡿"}.mdi-airplane-minus:before{content:"󱢀"}.mdi-airplane-off:before{content:"󰀞"}.mdi-airplane-plus:before{content:"󱢁"}.mdi-airplane-remove:before{content:"󱢂"}.mdi-airplane-search:before{content:"󱢃"}.mdi-airplane-settings:before{content:"󱢄"}.mdi-airplane-takeoff:before{content:"󰗕"}.mdi-airport:before{content:"󰡋"}.mdi-alarm:before{content:"󰀠"}.mdi-alarm-bell:before{content:"󰞎"}.mdi-alarm-check:before{content:"󰀡"}.mdi-alarm-light:before{content:"󰞏"}.mdi-alarm-light-off:before{content:"󱜞"}.mdi-alarm-light-off-outline:before{content:"󱜟"}.mdi-alarm-light-outline:before{content:"󰯪"}.mdi-alarm-multiple:before{content:"󰀢"}.mdi-alarm-note:before{content:"󰹱"}.mdi-alarm-note-off:before{content:"󰹲"}.mdi-alarm-off:before{content:"󰀣"}.mdi-alarm-panel:before{content:"󱗄"}.mdi-alarm-panel-outline:before{content:"󱗅"}.mdi-alarm-plus:before{content:"󰀤"}.mdi-alarm-snooze:before{content:"󰚎"}.mdi-album:before{content:"󰀥"}.mdi-alert:before{content:"󰀦"}.mdi-alert-box:before{content:"󰀧"}.mdi-alert-box-outline:before{content:"󰳤"}.mdi-alert-circle:before{content:"󰀨"}.mdi-alert-circle-check:before{content:"󱇭"}.mdi-alert-circle-check-outline:before{content:"󱇮"}.mdi-alert-circle-outline:before{content:"󰗖"}.mdi-alert-decagram:before{content:"󰚽"}.mdi-alert-decagram-outline:before{content:"󰳥"}.mdi-alert-minus:before{content:"󱒻"}.mdi-alert-minus-outline:before{content:"󱒾"}.mdi-alert-octagon:before{content:"󰀩"}.mdi-alert-octagon-outline:before{content:"󰳦"}.mdi-alert-octagram:before{content:"󰝧"}.mdi-alert-octagram-outline:before{content:"󰳧"}.mdi-alert-outline:before{content:"󰀪"}.mdi-alert-plus:before{content:"󱒺"}.mdi-alert-plus-outline:before{content:"󱒽"}.mdi-alert-remove:before{content:"󱒼"}.mdi-alert-remove-outline:before{content:"󱒿"}.mdi-alert-rhombus:before{content:"󱇎"}.mdi-alert-rhombus-outline:before{content:"󱇏"}.mdi-alien:before{content:"󰢚"}.mdi-alien-outline:before{content:"󱃋"}.mdi-align-horizontal-center:before{content:"󱇃"}.mdi-align-horizontal-distribute:before{content:"󱥢"}.mdi-align-horizontal-left:before{content:"󱇂"}.mdi-align-horizontal-right:before{content:"󱇄"}.mdi-align-vertical-bottom:before{content:"󱇅"}.mdi-align-vertical-center:before{content:"󱇆"}.mdi-align-vertical-distribute:before{content:"󱥣"}.mdi-align-vertical-top:before{content:"󱇇"}.mdi-all-inclusive:before{content:"󰚾"}.mdi-all-inclusive-box:before{content:"󱢍"}.mdi-all-inclusive-box-outline:before{content:"󱢎"}.mdi-allergy:before{content:"󱉘"}.mdi-alpha:before{content:"󰀫"}.mdi-alpha-a:before{content:"󰫮"}.mdi-alpha-a-box:before{content:"󰬈"}.mdi-alpha-a-box-outline:before{content:"󰯫"}.mdi-alpha-a-circle:before{content:"󰯬"}.mdi-alpha-a-circle-outline:before{content:"󰯭"}.mdi-alpha-b:before{content:"󰫯"}.mdi-alpha-b-box:before{content:"󰬉"}.mdi-alpha-b-box-outline:before{content:"󰯮"}.mdi-alpha-b-circle:before{content:"󰯯"}.mdi-alpha-b-circle-outline:before{content:"󰯰"}.mdi-alpha-c:before{content:"󰫰"}.mdi-alpha-c-box:before{content:"󰬊"}.mdi-alpha-c-box-outline:before{content:"󰯱"}.mdi-alpha-c-circle:before{content:"󰯲"}.mdi-alpha-c-circle-outline:before{content:"󰯳"}.mdi-alpha-d:before{content:"󰫱"}.mdi-alpha-d-box:before{content:"󰬋"}.mdi-alpha-d-box-outline:before{content:"󰯴"}.mdi-alpha-d-circle:before{content:"󰯵"}.mdi-alpha-d-circle-outline:before{content:"󰯶"}.mdi-alpha-e:before{content:"󰫲"}.mdi-alpha-e-box:before{content:"󰬌"}.mdi-alpha-e-box-outline:before{content:"󰯷"}.mdi-alpha-e-circle:before{content:"󰯸"}.mdi-alpha-e-circle-outline:before{content:"󰯹"}.mdi-alpha-f:before{content:"󰫳"}.mdi-alpha-f-box:before{content:"󰬍"}.mdi-alpha-f-box-outline:before{content:"󰯺"}.mdi-alpha-f-circle:before{content:"󰯻"}.mdi-alpha-f-circle-outline:before{content:"󰯼"}.mdi-alpha-g:before{content:"󰫴"}.mdi-alpha-g-box:before{content:"󰬎"}.mdi-alpha-g-box-outline:before{content:"󰯽"}.mdi-alpha-g-circle:before{content:"󰯾"}.mdi-alpha-g-circle-outline:before{content:"󰯿"}.mdi-alpha-h:before{content:"󰫵"}.mdi-alpha-h-box:before{content:"󰬏"}.mdi-alpha-h-box-outline:before{content:"󰰀"}.mdi-alpha-h-circle:before{content:"󰰁"}.mdi-alpha-h-circle-outline:before{content:"󰰂"}.mdi-alpha-i:before{content:"󰫶"}.mdi-alpha-i-box:before{content:"󰬐"}.mdi-alpha-i-box-outline:before{content:"󰰃"}.mdi-alpha-i-circle:before{content:"󰰄"}.mdi-alpha-i-circle-outline:before{content:"󰰅"}.mdi-alpha-j:before{content:"󰫷"}.mdi-alpha-j-box:before{content:"󰬑"}.mdi-alpha-j-box-outline:before{content:"󰰆"}.mdi-alpha-j-circle:before{content:"󰰇"}.mdi-alpha-j-circle-outline:before{content:"󰰈"}.mdi-alpha-k:before{content:"󰫸"}.mdi-alpha-k-box:before{content:"󰬒"}.mdi-alpha-k-box-outline:before{content:"󰰉"}.mdi-alpha-k-circle:before{content:"󰰊"}.mdi-alpha-k-circle-outline:before{content:"󰰋"}.mdi-alpha-l:before{content:"󰫹"}.mdi-alpha-l-box:before{content:"󰬓"}.mdi-alpha-l-box-outline:before{content:"󰰌"}.mdi-alpha-l-circle:before{content:"󰰍"}.mdi-alpha-l-circle-outline:before{content:"󰰎"}.mdi-alpha-m:before{content:"󰫺"}.mdi-alpha-m-box:before{content:"󰬔"}.mdi-alpha-m-box-outline:before{content:"󰰏"}.mdi-alpha-m-circle:before{content:"󰰐"}.mdi-alpha-m-circle-outline:before{content:"󰰑"}.mdi-alpha-n:before{content:"󰫻"}.mdi-alpha-n-box:before{content:"󰬕"}.mdi-alpha-n-box-outline:before{content:"󰰒"}.mdi-alpha-n-circle:before{content:"󰰓"}.mdi-alpha-n-circle-outline:before{content:"󰰔"}.mdi-alpha-o:before{content:"󰫼"}.mdi-alpha-o-box:before{content:"󰬖"}.mdi-alpha-o-box-outline:before{content:"󰰕"}.mdi-alpha-o-circle:before{content:"󰰖"}.mdi-alpha-o-circle-outline:before{content:"󰰗"}.mdi-alpha-p:before{content:"󰫽"}.mdi-alpha-p-box:before{content:"󰬗"}.mdi-alpha-p-box-outline:before{content:"󰰘"}.mdi-alpha-p-circle:before{content:"󰰙"}.mdi-alpha-p-circle-outline:before{content:"󰰚"}.mdi-alpha-q:before{content:"󰫾"}.mdi-alpha-q-box:before{content:"󰬘"}.mdi-alpha-q-box-outline:before{content:"󰰛"}.mdi-alpha-q-circle:before{content:"󰰜"}.mdi-alpha-q-circle-outline:before{content:"󰰝"}.mdi-alpha-r:before{content:"󰫿"}.mdi-alpha-r-box:before{content:"󰬙"}.mdi-alpha-r-box-outline:before{content:"󰰞"}.mdi-alpha-r-circle:before{content:"󰰟"}.mdi-alpha-r-circle-outline:before{content:"󰰠"}.mdi-alpha-s:before{content:"󰬀"}.mdi-alpha-s-box:before{content:"󰬚"}.mdi-alpha-s-box-outline:before{content:"󰰡"}.mdi-alpha-s-circle:before{content:"󰰢"}.mdi-alpha-s-circle-outline:before{content:"󰰣"}.mdi-alpha-t:before{content:"󰬁"}.mdi-alpha-t-box:before{content:"󰬛"}.mdi-alpha-t-box-outline:before{content:"󰰤"}.mdi-alpha-t-circle:before{content:"󰰥"}.mdi-alpha-t-circle-outline:before{content:"󰰦"}.mdi-alpha-u:before{content:"󰬂"}.mdi-alpha-u-box:before{content:"󰬜"}.mdi-alpha-u-box-outline:before{content:"󰰧"}.mdi-alpha-u-circle:before{content:"󰰨"}.mdi-alpha-u-circle-outline:before{content:"󰰩"}.mdi-alpha-v:before{content:"󰬃"}.mdi-alpha-v-box:before{content:"󰬝"}.mdi-alpha-v-box-outline:before{content:"󰰪"}.mdi-alpha-v-circle:before{content:"󰰫"}.mdi-alpha-v-circle-outline:before{content:"󰰬"}.mdi-alpha-w:before{content:"󰬄"}.mdi-alpha-w-box:before{content:"󰬞"}.mdi-alpha-w-box-outline:before{content:"󰰭"}.mdi-alpha-w-circle:before{content:"󰰮"}.mdi-alpha-w-circle-outline:before{content:"󰰯"}.mdi-alpha-x:before{content:"󰬅"}.mdi-alpha-x-box:before{content:"󰬟"}.mdi-alpha-x-box-outline:before{content:"󰰰"}.mdi-alpha-x-circle:before{content:"󰰱"}.mdi-alpha-x-circle-outline:before{content:"󰰲"}.mdi-alpha-y:before{content:"󰬆"}.mdi-alpha-y-box:before{content:"󰬠"}.mdi-alpha-y-box-outline:before{content:"󰰳"}.mdi-alpha-y-circle:before{content:"󰰴"}.mdi-alpha-y-circle-outline:before{content:"󰰵"}.mdi-alpha-z:before{content:"󰬇"}.mdi-alpha-z-box:before{content:"󰬡"}.mdi-alpha-z-box-outline:before{content:"󰰶"}.mdi-alpha-z-circle:before{content:"󰰷"}.mdi-alpha-z-circle-outline:before{content:"󰰸"}.mdi-alphabet-aurebesh:before{content:"󱌬"}.mdi-alphabet-cyrillic:before{content:"󱌭"}.mdi-alphabet-greek:before{content:"󱌮"}.mdi-alphabet-latin:before{content:"󱌯"}.mdi-alphabet-piqad:before{content:"󱌰"}.mdi-alphabet-tengwar:before{content:"󱌷"}.mdi-alphabetical:before{content:"󰀬"}.mdi-alphabetical-off:before{content:"󱀌"}.mdi-alphabetical-variant:before{content:"󱀍"}.mdi-alphabetical-variant-off:before{content:"󱀎"}.mdi-altimeter:before{content:"󰗗"}.mdi-ambulance:before{content:"󰀯"}.mdi-ammunition:before{content:"󰳨"}.mdi-ampersand:before{content:"󰪍"}.mdi-amplifier:before{content:"󰀰"}.mdi-amplifier-off:before{content:"󱆵"}.mdi-anchor:before{content:"󰀱"}.mdi-android:before{content:"󰀲"}.mdi-android-studio:before{content:"󰀴"}.mdi-angle-acute:before{content:"󰤷"}.mdi-angle-obtuse:before{content:"󰤸"}.mdi-angle-right:before{content:"󰤹"}.mdi-angular:before{content:"󰚲"}.mdi-angularjs:before{content:"󰚿"}.mdi-animation:before{content:"󰗘"}.mdi-animation-outline:before{content:"󰪏"}.mdi-animation-play:before{content:"󰤺"}.mdi-animation-play-outline:before{content:"󰪐"}.mdi-ansible:before{content:"󱂚"}.mdi-antenna:before{content:"󱄙"}.mdi-anvil:before{content:"󰢛"}.mdi-apache-kafka:before{content:"󱀏"}.mdi-api:before{content:"󱂛"}.mdi-api-off:before{content:"󱉗"}.mdi-apple:before{content:"󰀵"}.mdi-apple-finder:before{content:"󰀶"}.mdi-apple-icloud:before{content:"󰀸"}.mdi-apple-ios:before{content:"󰀷"}.mdi-apple-keyboard-caps:before{content:"󰘲"}.mdi-apple-keyboard-command:before{content:"󰘳"}.mdi-apple-keyboard-control:before{content:"󰘴"}.mdi-apple-keyboard-option:before{content:"󰘵"}.mdi-apple-keyboard-shift:before{content:"󰘶"}.mdi-apple-safari:before{content:"󰀹"}.mdi-application:before{content:"󰣆"}.mdi-application-array:before{content:"󱃵"}.mdi-application-array-outline:before{content:"󱃶"}.mdi-application-braces:before{content:"󱃷"}.mdi-application-braces-outline:before{content:"󱃸"}.mdi-application-brackets:before{content:"󰲋"}.mdi-application-brackets-outline:before{content:"󰲌"}.mdi-application-cog:before{content:"󰙵"}.mdi-application-cog-outline:before{content:"󱕷"}.mdi-application-edit:before{content:"󰂮"}.mdi-application-edit-outline:before{content:"󰘙"}.mdi-application-export:before{content:"󰶭"}.mdi-application-import:before{content:"󰶮"}.mdi-application-outline:before{content:"󰘔"}.mdi-application-parentheses:before{content:"󱃹"}.mdi-application-parentheses-outline:before{content:"󱃺"}.mdi-application-settings:before{content:"󰭠"}.mdi-application-settings-outline:before{content:"󱕕"}.mdi-application-variable:before{content:"󱃻"}.mdi-application-variable-outline:before{content:"󱃼"}.mdi-approximately-equal:before{content:"󰾞"}.mdi-approximately-equal-box:before{content:"󰾟"}.mdi-apps:before{content:"󰀻"}.mdi-apps-box:before{content:"󰵆"}.mdi-arch:before{content:"󰣇"}.mdi-archive:before{content:"󰀼"}.mdi-archive-alert:before{content:"󱓽"}.mdi-archive-alert-outline:before{content:"󱓾"}.mdi-archive-arrow-down:before{content:"󱉙"}.mdi-archive-arrow-down-outline:before{content:"󱉚"}.mdi-archive-arrow-up:before{content:"󱉛"}.mdi-archive-arrow-up-outline:before{content:"󱉜"}.mdi-archive-cancel:before{content:"󱝋"}.mdi-archive-cancel-outline:before{content:"󱝌"}.mdi-archive-check:before{content:"󱝍"}.mdi-archive-check-outline:before{content:"󱝎"}.mdi-archive-clock:before{content:"󱝏"}.mdi-archive-clock-outline:before{content:"󱝐"}.mdi-archive-cog:before{content:"󱝑"}.mdi-archive-cog-outline:before{content:"󱝒"}.mdi-archive-edit:before{content:"󱝓"}.mdi-archive-edit-outline:before{content:"󱝔"}.mdi-archive-eye:before{content:"󱝕"}.mdi-archive-eye-outline:before{content:"󱝖"}.mdi-archive-lock:before{content:"󱝗"}.mdi-archive-lock-open:before{content:"󱝘"}.mdi-archive-lock-open-outline:before{content:"󱝙"}.mdi-archive-lock-outline:before{content:"󱝚"}.mdi-archive-marker:before{content:"󱝛"}.mdi-archive-marker-outline:before{content:"󱝜"}.mdi-archive-minus:before{content:"󱝝"}.mdi-archive-minus-outline:before{content:"󱝞"}.mdi-archive-music:before{content:"󱝟"}.mdi-archive-music-outline:before{content:"󱝠"}.mdi-archive-off:before{content:"󱝡"}.mdi-archive-off-outline:before{content:"󱝢"}.mdi-archive-outline:before{content:"󱈎"}.mdi-archive-plus:before{content:"󱝣"}.mdi-archive-plus-outline:before{content:"󱝤"}.mdi-archive-refresh:before{content:"󱝥"}.mdi-archive-refresh-outline:before{content:"󱝦"}.mdi-archive-remove:before{content:"󱝧"}.mdi-archive-remove-outline:before{content:"󱝨"}.mdi-archive-search:before{content:"󱝩"}.mdi-archive-search-outline:before{content:"󱝪"}.mdi-archive-settings:before{content:"󱝫"}.mdi-archive-settings-outline:before{content:"󱝬"}.mdi-archive-star:before{content:"󱝭"}.mdi-archive-star-outline:before{content:"󱝮"}.mdi-archive-sync:before{content:"󱝯"}.mdi-archive-sync-outline:before{content:"󱝰"}.mdi-arm-flex:before{content:"󰿗"}.mdi-arm-flex-outline:before{content:"󰿖"}.mdi-arrange-bring-forward:before{content:"󰀽"}.mdi-arrange-bring-to-front:before{content:"󰀾"}.mdi-arrange-send-backward:before{content:"󰀿"}.mdi-arrange-send-to-back:before{content:"󰁀"}.mdi-arrow-all:before{content:"󰁁"}.mdi-arrow-bottom-left:before{content:"󰁂"}.mdi-arrow-bottom-left-bold-box:before{content:"󱥤"}.mdi-arrow-bottom-left-bold-box-outline:before{content:"󱥥"}.mdi-arrow-bottom-left-bold-outline:before{content:"󰦷"}.mdi-arrow-bottom-left-thick:before{content:"󰦸"}.mdi-arrow-bottom-left-thin:before{content:"󱦶"}.mdi-arrow-bottom-left-thin-circle-outline:before{content:"󱖖"}.mdi-arrow-bottom-right:before{content:"󰁃"}.mdi-arrow-bottom-right-bold-box:before{content:"󱥦"}.mdi-arrow-bottom-right-bold-box-outline:before{content:"󱥧"}.mdi-arrow-bottom-right-bold-outline:before{content:"󰦹"}.mdi-arrow-bottom-right-thick:before{content:"󰦺"}.mdi-arrow-bottom-right-thin:before{content:"󱦷"}.mdi-arrow-bottom-right-thin-circle-outline:before{content:"󱖕"}.mdi-arrow-collapse:before{content:"󰘕"}.mdi-arrow-collapse-all:before{content:"󰁄"}.mdi-arrow-collapse-down:before{content:"󰞒"}.mdi-arrow-collapse-horizontal:before{content:"󰡌"}.mdi-arrow-collapse-left:before{content:"󰞓"}.mdi-arrow-collapse-right:before{content:"󰞔"}.mdi-arrow-collapse-up:before{content:"󰞕"}.mdi-arrow-collapse-vertical:before{content:"󰡍"}.mdi-arrow-decision:before{content:"󰦻"}.mdi-arrow-decision-auto:before{content:"󰦼"}.mdi-arrow-decision-auto-outline:before{content:"󰦽"}.mdi-arrow-decision-outline:before{content:"󰦾"}.mdi-arrow-down:before{content:"󰁅"}.mdi-arrow-down-bold:before{content:"󰜮"}.mdi-arrow-down-bold-box:before{content:"󰜯"}.mdi-arrow-down-bold-box-outline:before{content:"󰜰"}.mdi-arrow-down-bold-circle:before{content:"󰁇"}.mdi-arrow-down-bold-circle-outline:before{content:"󰁈"}.mdi-arrow-down-bold-hexagon-outline:before{content:"󰁉"}.mdi-arrow-down-bold-outline:before{content:"󰦿"}.mdi-arrow-down-box:before{content:"󰛀"}.mdi-arrow-down-circle:before{content:"󰳛"}.mdi-arrow-down-circle-outline:before{content:"󰳜"}.mdi-arrow-down-drop-circle:before{content:"󰁊"}.mdi-arrow-down-drop-circle-outline:before{content:"󰁋"}.mdi-arrow-down-left:before{content:"󱞡"}.mdi-arrow-down-left-bold:before{content:"󱞢"}.mdi-arrow-down-right:before{content:"󱞣"}.mdi-arrow-down-right-bold:before{content:"󱞤"}.mdi-arrow-down-thick:before{content:"󰁆"}.mdi-arrow-down-thin:before{content:"󱦳"}.mdi-arrow-down-thin-circle-outline:before{content:"󱖙"}.mdi-arrow-expand:before{content:"󰘖"}.mdi-arrow-expand-all:before{content:"󰁌"}.mdi-arrow-expand-down:before{content:"󰞖"}.mdi-arrow-expand-horizontal:before{content:"󰡎"}.mdi-arrow-expand-left:before{content:"󰞗"}.mdi-arrow-expand-right:before{content:"󰞘"}.mdi-arrow-expand-up:before{content:"󰞙"}.mdi-arrow-expand-vertical:before{content:"󰡏"}.mdi-arrow-horizontal-lock:before{content:"󱅛"}.mdi-arrow-left:before{content:"󰁍"}.mdi-arrow-left-bold:before{content:"󰜱"}.mdi-arrow-left-bold-box:before{content:"󰜲"}.mdi-arrow-left-bold-box-outline:before{content:"󰜳"}.mdi-arrow-left-bold-circle:before{content:"󰁏"}.mdi-arrow-left-bold-circle-outline:before{content:"󰁐"}.mdi-arrow-left-bold-hexagon-outline:before{content:"󰁑"}.mdi-arrow-left-bold-outline:before{content:"󰧀"}.mdi-arrow-left-bottom:before{content:"󱞥"}.mdi-arrow-left-bottom-bold:before{content:"󱞦"}.mdi-arrow-left-box:before{content:"󰛁"}.mdi-arrow-left-circle:before{content:"󰳝"}.mdi-arrow-left-circle-outline:before{content:"󰳞"}.mdi-arrow-left-drop-circle:before{content:"󰁒"}.mdi-arrow-left-drop-circle-outline:before{content:"󰁓"}.mdi-arrow-left-right:before{content:"󰹳"}.mdi-arrow-left-right-bold:before{content:"󰹴"}.mdi-arrow-left-right-bold-outline:before{content:"󰧁"}.mdi-arrow-left-thick:before{content:"󰁎"}.mdi-arrow-left-thin:before{content:"󱦱"}.mdi-arrow-left-thin-circle-outline:before{content:"󱖚"}.mdi-arrow-left-top:before{content:"󱞧"}.mdi-arrow-left-top-bold:before{content:"󱞨"}.mdi-arrow-projectile:before{content:"󱡀"}.mdi-arrow-projectile-multiple:before{content:"󱠿"}.mdi-arrow-right:before{content:"󰁔"}.mdi-arrow-right-bold:before{content:"󰜴"}.mdi-arrow-right-bold-box:before{content:"󰜵"}.mdi-arrow-right-bold-box-outline:before{content:"󰜶"}.mdi-arrow-right-bold-circle:before{content:"󰁖"}.mdi-arrow-right-bold-circle-outline:before{content:"󰁗"}.mdi-arrow-right-bold-hexagon-outline:before{content:"󰁘"}.mdi-arrow-right-bold-outline:before{content:"󰧂"}.mdi-arrow-right-bottom:before{content:"󱞩"}.mdi-arrow-right-bottom-bold:before{content:"󱞪"}.mdi-arrow-right-box:before{content:"󰛂"}.mdi-arrow-right-circle:before{content:"󰳟"}.mdi-arrow-right-circle-outline:before{content:"󰳠"}.mdi-arrow-right-drop-circle:before{content:"󰁙"}.mdi-arrow-right-drop-circle-outline:before{content:"󰁚"}.mdi-arrow-right-thick:before{content:"󰁕"}.mdi-arrow-right-thin:before{content:"󱦰"}.mdi-arrow-right-thin-circle-outline:before{content:"󱖘"}.mdi-arrow-right-top:before{content:"󱞫"}.mdi-arrow-right-top-bold:before{content:"󱞬"}.mdi-arrow-split-horizontal:before{content:"󰤻"}.mdi-arrow-split-vertical:before{content:"󰤼"}.mdi-arrow-top-left:before{content:"󰁛"}.mdi-arrow-top-left-bold-box:before{content:"󱥨"}.mdi-arrow-top-left-bold-box-outline:before{content:"󱥩"}.mdi-arrow-top-left-bold-outline:before{content:"󰧃"}.mdi-arrow-top-left-bottom-right:before{content:"󰹵"}.mdi-arrow-top-left-bottom-right-bold:before{content:"󰹶"}.mdi-arrow-top-left-thick:before{content:"󰧄"}.mdi-arrow-top-left-thin:before{content:"󱦵"}.mdi-arrow-top-left-thin-circle-outline:before{content:"󱖓"}.mdi-arrow-top-right:before{content:"󰁜"}.mdi-arrow-top-right-bold-box:before{content:"󱥪"}.mdi-arrow-top-right-bold-box-outline:before{content:"󱥫"}.mdi-arrow-top-right-bold-outline:before{content:"󰧅"}.mdi-arrow-top-right-bottom-left:before{content:"󰹷"}.mdi-arrow-top-right-bottom-left-bold:before{content:"󰹸"}.mdi-arrow-top-right-thick:before{content:"󰧆"}.mdi-arrow-top-right-thin:before{content:"󱦴"}.mdi-arrow-top-right-thin-circle-outline:before{content:"󱖔"}.mdi-arrow-u-down-left:before{content:"󱞭"}.mdi-arrow-u-down-left-bold:before{content:"󱞮"}.mdi-arrow-u-down-right:before{content:"󱞯"}.mdi-arrow-u-down-right-bold:before{content:"󱞰"}.mdi-arrow-u-left-bottom:before{content:"󱞱"}.mdi-arrow-u-left-bottom-bold:before{content:"󱞲"}.mdi-arrow-u-left-top:before{content:"󱞳"}.mdi-arrow-u-left-top-bold:before{content:"󱞴"}.mdi-arrow-u-right-bottom:before{content:"󱞵"}.mdi-arrow-u-right-bottom-bold:before{content:"󱞶"}.mdi-arrow-u-right-top:before{content:"󱞷"}.mdi-arrow-u-right-top-bold:before{content:"󱞸"}.mdi-arrow-u-up-left:before{content:"󱞹"}.mdi-arrow-u-up-left-bold:before{content:"󱞺"}.mdi-arrow-u-up-right:before{content:"󱞻"}.mdi-arrow-u-up-right-bold:before{content:"󱞼"}.mdi-arrow-up:before{content:"󰁝"}.mdi-arrow-up-bold:before{content:"󰜷"}.mdi-arrow-up-bold-box:before{content:"󰜸"}.mdi-arrow-up-bold-box-outline:before{content:"󰜹"}.mdi-arrow-up-bold-circle:before{content:"󰁟"}.mdi-arrow-up-bold-circle-outline:before{content:"󰁠"}.mdi-arrow-up-bold-hexagon-outline:before{content:"󰁡"}.mdi-arrow-up-bold-outline:before{content:"󰧇"}.mdi-arrow-up-box:before{content:"󰛃"}.mdi-arrow-up-circle:before{content:"󰳡"}.mdi-arrow-up-circle-outline:before{content:"󰳢"}.mdi-arrow-up-down:before{content:"󰹹"}.mdi-arrow-up-down-bold:before{content:"󰹺"}.mdi-arrow-up-down-bold-outline:before{content:"󰧈"}.mdi-arrow-up-drop-circle:before{content:"󰁢"}.mdi-arrow-up-drop-circle-outline:before{content:"󰁣"}.mdi-arrow-up-left:before{content:"󱞽"}.mdi-arrow-up-left-bold:before{content:"󱞾"}.mdi-arrow-up-right:before{content:"󱞿"}.mdi-arrow-up-right-bold:before{content:"󱟀"}.mdi-arrow-up-thick:before{content:"󰁞"}.mdi-arrow-up-thin:before{content:"󱦲"}.mdi-arrow-up-thin-circle-outline:before{content:"󱖗"}.mdi-arrow-vertical-lock:before{content:"󱅜"}.mdi-artboard:before{content:"󱮚"}.mdi-artstation:before{content:"󰭛"}.mdi-aspect-ratio:before{content:"󰨤"}.mdi-assistant:before{content:"󰁤"}.mdi-asterisk:before{content:"󰛄"}.mdi-asterisk-circle-outline:before{content:"󱨧"}.mdi-at:before{content:"󰁥"}.mdi-atlassian:before{content:"󰠄"}.mdi-atm:before{content:"󰵇"}.mdi-atom:before{content:"󰝨"}.mdi-atom-variant:before{content:"󰹻"}.mdi-attachment:before{content:"󰁦"}.mdi-attachment-check:before{content:"󱫁"}.mdi-attachment-lock:before{content:"󱧄"}.mdi-attachment-minus:before{content:"󱫂"}.mdi-attachment-off:before{content:"󱫃"}.mdi-attachment-plus:before{content:"󱫄"}.mdi-attachment-remove:before{content:"󱫅"}.mdi-atv:before{content:"󱭰"}.mdi-audio-input-rca:before{content:"󱡫"}.mdi-audio-input-stereo-minijack:before{content:"󱡬"}.mdi-audio-input-xlr:before{content:"󱡭"}.mdi-audio-video:before{content:"󰤽"}.mdi-audio-video-off:before{content:"󱆶"}.mdi-augmented-reality:before{content:"󰡐"}.mdi-aurora:before{content:"󱮹"}.mdi-auto-download:before{content:"󱍾"}.mdi-auto-fix:before{content:"󰁨"}.mdi-auto-mode:before{content:"󱰠"}.mdi-auto-upload:before{content:"󰁩"}.mdi-autorenew:before{content:"󰁪"}.mdi-autorenew-off:before{content:"󱧧"}.mdi-av-timer:before{content:"󰁫"}.mdi-awning:before{content:"󱮇"}.mdi-awning-outline:before{content:"󱮈"}.mdi-aws:before{content:"󰸏"}.mdi-axe:before{content:"󰣈"}.mdi-axe-battle:before{content:"󱡂"}.mdi-axis:before{content:"󰵈"}.mdi-axis-arrow:before{content:"󰵉"}.mdi-axis-arrow-info:before{content:"󱐎"}.mdi-axis-arrow-lock:before{content:"󰵊"}.mdi-axis-lock:before{content:"󰵋"}.mdi-axis-x-arrow:before{content:"󰵌"}.mdi-axis-x-arrow-lock:before{content:"󰵍"}.mdi-axis-x-rotate-clockwise:before{content:"󰵎"}.mdi-axis-x-rotate-counterclockwise:before{content:"󰵏"}.mdi-axis-x-y-arrow-lock:before{content:"󰵐"}.mdi-axis-y-arrow:before{content:"󰵑"}.mdi-axis-y-arrow-lock:before{content:"󰵒"}.mdi-axis-y-rotate-clockwise:before{content:"󰵓"}.mdi-axis-y-rotate-counterclockwise:before{content:"󰵔"}.mdi-axis-z-arrow:before{content:"󰵕"}.mdi-axis-z-arrow-lock:before{content:"󰵖"}.mdi-axis-z-rotate-clockwise:before{content:"󰵗"}.mdi-axis-z-rotate-counterclockwise:before{content:"󰵘"}.mdi-babel:before{content:"󰨥"}.mdi-baby:before{content:"󰁬"}.mdi-baby-bottle:before{content:"󰼹"}.mdi-baby-bottle-outline:before{content:"󰼺"}.mdi-baby-buggy:before{content:"󱏠"}.mdi-baby-buggy-off:before{content:"󱫳"}.mdi-baby-carriage:before{content:"󰚏"}.mdi-baby-carriage-off:before{content:"󰾠"}.mdi-baby-face:before{content:"󰹼"}.mdi-baby-face-outline:before{content:"󰹽"}.mdi-backburger:before{content:"󰁭"}.mdi-backspace:before{content:"󰁮"}.mdi-backspace-outline:before{content:"󰭜"}.mdi-backspace-reverse:before{content:"󰹾"}.mdi-backspace-reverse-outline:before{content:"󰹿"}.mdi-backup-restore:before{content:"󰁯"}.mdi-bacteria:before{content:"󰻕"}.mdi-bacteria-outline:before{content:"󰻖"}.mdi-badge-account:before{content:"󰶧"}.mdi-badge-account-alert:before{content:"󰶨"}.mdi-badge-account-alert-outline:before{content:"󰶩"}.mdi-badge-account-horizontal:before{content:"󰸍"}.mdi-badge-account-horizontal-outline:before{content:"󰸎"}.mdi-badge-account-outline:before{content:"󰶪"}.mdi-badminton:before{content:"󰡑"}.mdi-bag-carry-on:before{content:"󰼻"}.mdi-bag-carry-on-check:before{content:"󰵥"}.mdi-bag-carry-on-off:before{content:"󰼼"}.mdi-bag-checked:before{content:"󰼽"}.mdi-bag-personal:before{content:"󰸐"}.mdi-bag-personal-off:before{content:"󰸑"}.mdi-bag-personal-off-outline:before{content:"󰸒"}.mdi-bag-personal-outline:before{content:"󰸓"}.mdi-bag-personal-tag:before{content:"󱬌"}.mdi-bag-personal-tag-outline:before{content:"󱬍"}.mdi-bag-suitcase:before{content:"󱖋"}.mdi-bag-suitcase-off:before{content:"󱖍"}.mdi-bag-suitcase-off-outline:before{content:"󱖎"}.mdi-bag-suitcase-outline:before{content:"󱖌"}.mdi-baguette:before{content:"󰼾"}.mdi-balcony:before{content:"󱠗"}.mdi-balloon:before{content:"󰨦"}.mdi-ballot:before{content:"󰧉"}.mdi-ballot-outline:before{content:"󰧊"}.mdi-ballot-recount:before{content:"󰰹"}.mdi-ballot-recount-outline:before{content:"󰰺"}.mdi-bandage:before{content:"󰶯"}.mdi-bank:before{content:"󰁰"}.mdi-bank-check:before{content:"󱙕"}.mdi-bank-circle:before{content:"󱰃"}.mdi-bank-circle-outline:before{content:"󱰄"}.mdi-bank-minus:before{content:"󰶰"}.mdi-bank-off:before{content:"󱙖"}.mdi-bank-off-outline:before{content:"󱙗"}.mdi-bank-outline:before{content:"󰺀"}.mdi-bank-plus:before{content:"󰶱"}.mdi-bank-remove:before{content:"󰶲"}.mdi-bank-transfer:before{content:"󰨧"}.mdi-bank-transfer-in:before{content:"󰨨"}.mdi-bank-transfer-out:before{content:"󰨩"}.mdi-barcode:before{content:"󰁱"}.mdi-barcode-off:before{content:"󱈶"}.mdi-barcode-scan:before{content:"󰁲"}.mdi-barley:before{content:"󰁳"}.mdi-barley-off:before{content:"󰭝"}.mdi-barn:before{content:"󰭞"}.mdi-barrel:before{content:"󰁴"}.mdi-barrel-outline:before{content:"󱨨"}.mdi-baseball:before{content:"󰡒"}.mdi-baseball-bat:before{content:"󰡓"}.mdi-baseball-diamond:before{content:"󱗬"}.mdi-baseball-diamond-outline:before{content:"󱗭"}.mdi-baseball-outline:before{content:"󱱚"}.mdi-bash:before{content:"󱆃"}.mdi-basket:before{content:"󰁶"}.mdi-basket-check:before{content:"󱣥"}.mdi-basket-check-outline:before{content:"󱣦"}.mdi-basket-fill:before{content:"󰁷"}.mdi-basket-minus:before{content:"󱔣"}.mdi-basket-minus-outline:before{content:"󱔤"}.mdi-basket-off:before{content:"󱔥"}.mdi-basket-off-outline:before{content:"󱔦"}.mdi-basket-outline:before{content:"󱆁"}.mdi-basket-plus:before{content:"󱔧"}.mdi-basket-plus-outline:before{content:"󱔨"}.mdi-basket-remove:before{content:"󱔩"}.mdi-basket-remove-outline:before{content:"󱔪"}.mdi-basket-unfill:before{content:"󰁸"}.mdi-basketball:before{content:"󰠆"}.mdi-basketball-hoop:before{content:"󰰻"}.mdi-basketball-hoop-outline:before{content:"󰰼"}.mdi-bat:before{content:"󰭟"}.mdi-bathtub:before{content:"󱠘"}.mdi-bathtub-outline:before{content:"󱠙"}.mdi-battery:before{content:"󰁹"}.mdi-battery-10:before{content:"󰁺"}.mdi-battery-10-bluetooth:before{content:"󰤾"}.mdi-battery-20:before{content:"󰁻"}.mdi-battery-20-bluetooth:before{content:"󰤿"}.mdi-battery-30:before{content:"󰁼"}.mdi-battery-30-bluetooth:before{content:"󰥀"}.mdi-battery-40:before{content:"󰁽"}.mdi-battery-40-bluetooth:before{content:"󰥁"}.mdi-battery-50:before{content:"󰁾"}.mdi-battery-50-bluetooth:before{content:"󰥂"}.mdi-battery-60:before{content:"󰁿"}.mdi-battery-60-bluetooth:before{content:"󰥃"}.mdi-battery-70:before{content:"󰂀"}.mdi-battery-70-bluetooth:before{content:"󰥄"}.mdi-battery-80:before{content:"󰂁"}.mdi-battery-80-bluetooth:before{content:"󰥅"}.mdi-battery-90:before{content:"󰂂"}.mdi-battery-90-bluetooth:before{content:"󰥆"}.mdi-battery-alert:before{content:"󰂃"}.mdi-battery-alert-bluetooth:before{content:"󰥇"}.mdi-battery-alert-variant:before{content:"󱃌"}.mdi-battery-alert-variant-outline:before{content:"󱃍"}.mdi-battery-arrow-down:before{content:"󱟞"}.mdi-battery-arrow-down-outline:before{content:"󱟟"}.mdi-battery-arrow-up:before{content:"󱟠"}.mdi-battery-arrow-up-outline:before{content:"󱟡"}.mdi-battery-bluetooth:before{content:"󰥈"}.mdi-battery-bluetooth-variant:before{content:"󰥉"}.mdi-battery-charging:before{content:"󰂄"}.mdi-battery-charging-10:before{content:"󰢜"}.mdi-battery-charging-100:before{content:"󰂅"}.mdi-battery-charging-20:before{content:"󰂆"}.mdi-battery-charging-30:before{content:"󰂇"}.mdi-battery-charging-40:before{content:"󰂈"}.mdi-battery-charging-50:before{content:"󰢝"}.mdi-battery-charging-60:before{content:"󰂉"}.mdi-battery-charging-70:before{content:"󰢞"}.mdi-battery-charging-80:before{content:"󰂊"}.mdi-battery-charging-90:before{content:"󰂋"}.mdi-battery-charging-high:before{content:"󱊦"}.mdi-battery-charging-low:before{content:"󱊤"}.mdi-battery-charging-medium:before{content:"󱊥"}.mdi-battery-charging-outline:before{content:"󰢟"}.mdi-battery-charging-wireless:before{content:"󰠇"}.mdi-battery-charging-wireless-10:before{content:"󰠈"}.mdi-battery-charging-wireless-20:before{content:"󰠉"}.mdi-battery-charging-wireless-30:before{content:"󰠊"}.mdi-battery-charging-wireless-40:before{content:"󰠋"}.mdi-battery-charging-wireless-50:before{content:"󰠌"}.mdi-battery-charging-wireless-60:before{content:"󰠍"}.mdi-battery-charging-wireless-70:before{content:"󰠎"}.mdi-battery-charging-wireless-80:before{content:"󰠏"}.mdi-battery-charging-wireless-90:before{content:"󰠐"}.mdi-battery-charging-wireless-alert:before{content:"󰠑"}.mdi-battery-charging-wireless-outline:before{content:"󰠒"}.mdi-battery-check:before{content:"󱟢"}.mdi-battery-check-outline:before{content:"󱟣"}.mdi-battery-clock:before{content:"󱧥"}.mdi-battery-clock-outline:before{content:"󱧦"}.mdi-battery-heart:before{content:"󱈏"}.mdi-battery-heart-outline:before{content:"󱈐"}.mdi-battery-heart-variant:before{content:"󱈑"}.mdi-battery-high:before{content:"󱊣"}.mdi-battery-lock:before{content:"󱞜"}.mdi-battery-lock-open:before{content:"󱞝"}.mdi-battery-low:before{content:"󱊡"}.mdi-battery-medium:before{content:"󱊢"}.mdi-battery-minus:before{content:"󱟤"}.mdi-battery-minus-outline:before{content:"󱟥"}.mdi-battery-minus-variant:before{content:"󰂌"}.mdi-battery-negative:before{content:"󰂍"}.mdi-battery-off:before{content:"󱉝"}.mdi-battery-off-outline:before{content:"󱉞"}.mdi-battery-outline:before{content:"󰂎"}.mdi-battery-plus:before{content:"󱟦"}.mdi-battery-plus-outline:before{content:"󱟧"}.mdi-battery-plus-variant:before{content:"󰂏"}.mdi-battery-positive:before{content:"󰂐"}.mdi-battery-remove:before{content:"󱟨"}.mdi-battery-remove-outline:before{content:"󱟩"}.mdi-battery-sync:before{content:"󱠴"}.mdi-battery-sync-outline:before{content:"󱠵"}.mdi-battery-unknown:before{content:"󰂑"}.mdi-battery-unknown-bluetooth:before{content:"󰥊"}.mdi-beach:before{content:"󰂒"}.mdi-beaker:before{content:"󰳪"}.mdi-beaker-alert:before{content:"󱈩"}.mdi-beaker-alert-outline:before{content:"󱈪"}.mdi-beaker-check:before{content:"󱈫"}.mdi-beaker-check-outline:before{content:"󱈬"}.mdi-beaker-minus:before{content:"󱈭"}.mdi-beaker-minus-outline:before{content:"󱈮"}.mdi-beaker-outline:before{content:"󰚐"}.mdi-beaker-plus:before{content:"󱈯"}.mdi-beaker-plus-outline:before{content:"󱈰"}.mdi-beaker-question:before{content:"󱈱"}.mdi-beaker-question-outline:before{content:"󱈲"}.mdi-beaker-remove:before{content:"󱈳"}.mdi-beaker-remove-outline:before{content:"󱈴"}.mdi-bed:before{content:"󰋣"}.mdi-bed-clock:before{content:"󱮔"}.mdi-bed-double:before{content:"󰿔"}.mdi-bed-double-outline:before{content:"󰿓"}.mdi-bed-empty:before{content:"󰢠"}.mdi-bed-king:before{content:"󰿒"}.mdi-bed-king-outline:before{content:"󰿑"}.mdi-bed-outline:before{content:"󰂙"}.mdi-bed-queen:before{content:"󰿐"}.mdi-bed-queen-outline:before{content:"󰿛"}.mdi-bed-single:before{content:"󱁭"}.mdi-bed-single-outline:before{content:"󱁮"}.mdi-bee:before{content:"󰾡"}.mdi-bee-flower:before{content:"󰾢"}.mdi-beehive-off-outline:before{content:"󱏭"}.mdi-beehive-outline:before{content:"󱃎"}.mdi-beekeeper:before{content:"󱓢"}.mdi-beer:before{content:"󰂘"}.mdi-beer-outline:before{content:"󱌌"}.mdi-bell:before{content:"󰂚"}.mdi-bell-alert:before{content:"󰵙"}.mdi-bell-alert-outline:before{content:"󰺁"}.mdi-bell-badge:before{content:"󱅫"}.mdi-bell-badge-outline:before{content:"󰅸"}.mdi-bell-cancel:before{content:"󱏧"}.mdi-bell-cancel-outline:before{content:"󱏨"}.mdi-bell-check:before{content:"󱇥"}.mdi-bell-check-outline:before{content:"󱇦"}.mdi-bell-circle:before{content:"󰵚"}.mdi-bell-circle-outline:before{content:"󰵛"}.mdi-bell-cog:before{content:"󱨩"}.mdi-bell-cog-outline:before{content:"󱨪"}.mdi-bell-minus:before{content:"󱏩"}.mdi-bell-minus-outline:before{content:"󱏪"}.mdi-bell-off:before{content:"󰂛"}.mdi-bell-off-outline:before{content:"󰪑"}.mdi-bell-outline:before{content:"󰂜"}.mdi-bell-plus:before{content:"󰂝"}.mdi-bell-plus-outline:before{content:"󰪒"}.mdi-bell-remove:before{content:"󱏫"}.mdi-bell-remove-outline:before{content:"󱏬"}.mdi-bell-ring:before{content:"󰂞"}.mdi-bell-ring-outline:before{content:"󰂟"}.mdi-bell-sleep:before{content:"󰂠"}.mdi-bell-sleep-outline:before{content:"󰪓"}.mdi-bench:before{content:"󱰡"}.mdi-bench-back:before{content:"󱰢"}.mdi-beta:before{content:"󰂡"}.mdi-betamax:before{content:"󰧋"}.mdi-biathlon:before{content:"󰸔"}.mdi-bicycle:before{content:"󱂜"}.mdi-bicycle-basket:before{content:"󱈵"}.mdi-bicycle-cargo:before{content:"󱢜"}.mdi-bicycle-electric:before{content:"󱖴"}.mdi-bicycle-penny-farthing:before{content:"󱗩"}.mdi-bike:before{content:"󰂣"}.mdi-bike-fast:before{content:"󱄟"}.mdi-bike-pedal:before{content:"󱰣"}.mdi-bike-pedal-clipless:before{content:"󱰤"}.mdi-bike-pedal-mountain:before{content:"󱰥"}.mdi-billboard:before{content:"󱀐"}.mdi-billiards:before{content:"󰭡"}.mdi-billiards-rack:before{content:"󰭢"}.mdi-binoculars:before{content:"󰂥"}.mdi-bio:before{content:"󰂦"}.mdi-biohazard:before{content:"󰂧"}.mdi-bird:before{content:"󱗆"}.mdi-bitbucket:before{content:"󰂨"}.mdi-bitcoin:before{content:"󰠓"}.mdi-black-mesa:before{content:"󰂩"}.mdi-blender:before{content:"󰳫"}.mdi-blender-outline:before{content:"󱠚"}.mdi-blender-software:before{content:"󰂫"}.mdi-blinds:before{content:"󰂬"}.mdi-blinds-horizontal:before{content:"󱨫"}.mdi-blinds-horizontal-closed:before{content:"󱨬"}.mdi-blinds-open:before{content:"󱀑"}.mdi-blinds-vertical:before{content:"󱨭"}.mdi-blinds-vertical-closed:before{content:"󱨮"}.mdi-block-helper:before{content:"󰂭"}.mdi-blood-bag:before{content:"󰳬"}.mdi-bluetooth:before{content:"󰂯"}.mdi-bluetooth-audio:before{content:"󰂰"}.mdi-bluetooth-connect:before{content:"󰂱"}.mdi-bluetooth-off:before{content:"󰂲"}.mdi-bluetooth-settings:before{content:"󰂳"}.mdi-bluetooth-transfer:before{content:"󰂴"}.mdi-blur:before{content:"󰂵"}.mdi-blur-linear:before{content:"󰂶"}.mdi-blur-off:before{content:"󰂷"}.mdi-blur-radial:before{content:"󰂸"}.mdi-bolt:before{content:"󰶳"}.mdi-bomb:before{content:"󰚑"}.mdi-bomb-off:before{content:"󰛅"}.mdi-bone:before{content:"󰂹"}.mdi-bone-off:before{content:"󱧠"}.mdi-book:before{content:"󰂺"}.mdi-book-account:before{content:"󱎭"}.mdi-book-account-outline:before{content:"󱎮"}.mdi-book-alert:before{content:"󱙼"}.mdi-book-alert-outline:before{content:"󱙽"}.mdi-book-alphabet:before{content:"󰘝"}.mdi-book-arrow-down:before{content:"󱙾"}.mdi-book-arrow-down-outline:before{content:"󱙿"}.mdi-book-arrow-left:before{content:"󱚀"}.mdi-book-arrow-left-outline:before{content:"󱚁"}.mdi-book-arrow-right:before{content:"󱚂"}.mdi-book-arrow-right-outline:before{content:"󱚃"}.mdi-book-arrow-up:before{content:"󱚄"}.mdi-book-arrow-up-outline:before{content:"󱚅"}.mdi-book-cancel:before{content:"󱚆"}.mdi-book-cancel-outline:before{content:"󱚇"}.mdi-book-check:before{content:"󱓳"}.mdi-book-check-outline:before{content:"󱓴"}.mdi-book-clock:before{content:"󱚈"}.mdi-book-clock-outline:before{content:"󱚉"}.mdi-book-cog:before{content:"󱚊"}.mdi-book-cog-outline:before{content:"󱚋"}.mdi-book-cross:before{content:"󰂢"}.mdi-book-edit:before{content:"󱚌"}.mdi-book-edit-outline:before{content:"󱚍"}.mdi-book-education:before{content:"󱛉"}.mdi-book-education-outline:before{content:"󱛊"}.mdi-book-heart:before{content:"󱨝"}.mdi-book-heart-outline:before{content:"󱨞"}.mdi-book-information-variant:before{content:"󱁯"}.mdi-book-lock:before{content:"󰞚"}.mdi-book-lock-open:before{content:"󰞛"}.mdi-book-lock-open-outline:before{content:"󱚎"}.mdi-book-lock-outline:before{content:"󱚏"}.mdi-book-marker:before{content:"󱚐"}.mdi-book-marker-outline:before{content:"󱚑"}.mdi-book-minus:before{content:"󰗙"}.mdi-book-minus-multiple:before{content:"󰪔"}.mdi-book-minus-multiple-outline:before{content:"󰤋"}.mdi-book-minus-outline:before{content:"󱚒"}.mdi-book-multiple:before{content:"󰂻"}.mdi-book-multiple-outline:before{content:"󰐶"}.mdi-book-music:before{content:"󰁧"}.mdi-book-music-outline:before{content:"󱚓"}.mdi-book-off:before{content:"󱚔"}.mdi-book-off-outline:before{content:"󱚕"}.mdi-book-open:before{content:"󰂽"}.mdi-book-open-blank-variant:before{content:"󰂾"}.mdi-book-open-outline:before{content:"󰭣"}.mdi-book-open-page-variant:before{content:"󰗚"}.mdi-book-open-page-variant-outline:before{content:"󱗖"}.mdi-book-open-variant:before{content:"󱓷"}.mdi-book-outline:before{content:"󰭤"}.mdi-book-play:before{content:"󰺂"}.mdi-book-play-outline:before{content:"󰺃"}.mdi-book-plus:before{content:"󰗛"}.mdi-book-plus-multiple:before{content:"󰪕"}.mdi-book-plus-multiple-outline:before{content:"󰫞"}.mdi-book-plus-outline:before{content:"󱚖"}.mdi-book-refresh:before{content:"󱚗"}.mdi-book-refresh-outline:before{content:"󱚘"}.mdi-book-remove:before{content:"󰪗"}.mdi-book-remove-multiple:before{content:"󰪖"}.mdi-book-remove-multiple-outline:before{content:"󰓊"}.mdi-book-remove-outline:before{content:"󱚙"}.mdi-book-search:before{content:"󰺄"}.mdi-book-search-outline:before{content:"󰺅"}.mdi-book-settings:before{content:"󱚚"}.mdi-book-settings-outline:before{content:"󱚛"}.mdi-book-sync:before{content:"󱚜"}.mdi-book-sync-outline:before{content:"󱛈"}.mdi-book-variant:before{content:"󰂿"}.mdi-bookmark:before{content:"󰃀"}.mdi-bookmark-box:before{content:"󱭵"}.mdi-bookmark-box-multiple:before{content:"󱥬"}.mdi-bookmark-box-multiple-outline:before{content:"󱥭"}.mdi-bookmark-box-outline:before{content:"󱭶"}.mdi-bookmark-check:before{content:"󰃁"}.mdi-bookmark-check-outline:before{content:"󱍻"}.mdi-bookmark-minus:before{content:"󰧌"}.mdi-bookmark-minus-outline:before{content:"󰧍"}.mdi-bookmark-multiple:before{content:"󰸕"}.mdi-bookmark-multiple-outline:before{content:"󰸖"}.mdi-bookmark-music:before{content:"󰃂"}.mdi-bookmark-music-outline:before{content:"󱍹"}.mdi-bookmark-off:before{content:"󰧎"}.mdi-bookmark-off-outline:before{content:"󰧏"}.mdi-bookmark-outline:before{content:"󰃃"}.mdi-bookmark-plus:before{content:"󰃅"}.mdi-bookmark-plus-outline:before{content:"󰃄"}.mdi-bookmark-remove:before{content:"󰃆"}.mdi-bookmark-remove-outline:before{content:"󱍺"}.mdi-bookshelf:before{content:"󱉟"}.mdi-boom-gate:before{content:"󰺆"}.mdi-boom-gate-alert:before{content:"󰺇"}.mdi-boom-gate-alert-outline:before{content:"󰺈"}.mdi-boom-gate-arrow-down:before{content:"󰺉"}.mdi-boom-gate-arrow-down-outline:before{content:"󰺊"}.mdi-boom-gate-arrow-up:before{content:"󰺌"}.mdi-boom-gate-arrow-up-outline:before{content:"󰺍"}.mdi-boom-gate-outline:before{content:"󰺋"}.mdi-boom-gate-up:before{content:"󱟹"}.mdi-boom-gate-up-outline:before{content:"󱟺"}.mdi-boombox:before{content:"󰗜"}.mdi-boomerang:before{content:"󱃏"}.mdi-bootstrap:before{content:"󰛆"}.mdi-border-all:before{content:"󰃇"}.mdi-border-all-variant:before{content:"󰢡"}.mdi-border-bottom:before{content:"󰃈"}.mdi-border-bottom-variant:before{content:"󰢢"}.mdi-border-color:before{content:"󰃉"}.mdi-border-horizontal:before{content:"󰃊"}.mdi-border-inside:before{content:"󰃋"}.mdi-border-left:before{content:"󰃌"}.mdi-border-left-variant:before{content:"󰢣"}.mdi-border-none:before{content:"󰃍"}.mdi-border-none-variant:before{content:"󰢤"}.mdi-border-outside:before{content:"󰃎"}.mdi-border-radius:before{content:"󱫴"}.mdi-border-right:before{content:"󰃏"}.mdi-border-right-variant:before{content:"󰢥"}.mdi-border-style:before{content:"󰃐"}.mdi-border-top:before{content:"󰃑"}.mdi-border-top-variant:before{content:"󰢦"}.mdi-border-vertical:before{content:"󰃒"}.mdi-bottle-soda:before{content:"󱁰"}.mdi-bottle-soda-classic:before{content:"󱁱"}.mdi-bottle-soda-classic-outline:before{content:"󱍣"}.mdi-bottle-soda-outline:before{content:"󱁲"}.mdi-bottle-tonic:before{content:"󱄮"}.mdi-bottle-tonic-outline:before{content:"󱄯"}.mdi-bottle-tonic-plus:before{content:"󱄰"}.mdi-bottle-tonic-plus-outline:before{content:"󱄱"}.mdi-bottle-tonic-skull:before{content:"󱄲"}.mdi-bottle-tonic-skull-outline:before{content:"󱄳"}.mdi-bottle-wine:before{content:"󰡔"}.mdi-bottle-wine-outline:before{content:"󱌐"}.mdi-bow-arrow:before{content:"󱡁"}.mdi-bow-tie:before{content:"󰙸"}.mdi-bowl:before{content:"󰊎"}.mdi-bowl-mix:before{content:"󰘗"}.mdi-bowl-mix-outline:before{content:"󰋤"}.mdi-bowl-outline:before{content:"󰊩"}.mdi-bowling:before{content:"󰃓"}.mdi-box:before{content:"󰃔"}.mdi-box-cutter:before{content:"󰃕"}.mdi-box-cutter-off:before{content:"󰭊"}.mdi-box-shadow:before{content:"󰘷"}.mdi-boxing-glove:before{content:"󰭥"}.mdi-braille:before{content:"󰧐"}.mdi-brain:before{content:"󰧑"}.mdi-bread-slice:before{content:"󰳮"}.mdi-bread-slice-outline:before{content:"󰳯"}.mdi-bridge:before{content:"󰘘"}.mdi-briefcase:before{content:"󰃖"}.mdi-briefcase-account:before{content:"󰳰"}.mdi-briefcase-account-outline:before{content:"󰳱"}.mdi-briefcase-arrow-left-right:before{content:"󱪍"}.mdi-briefcase-arrow-left-right-outline:before{content:"󱪎"}.mdi-briefcase-arrow-up-down:before{content:"󱪏"}.mdi-briefcase-arrow-up-down-outline:before{content:"󱪐"}.mdi-briefcase-check:before{content:"󰃗"}.mdi-briefcase-check-outline:before{content:"󱌞"}.mdi-briefcase-clock:before{content:"󱃐"}.mdi-briefcase-clock-outline:before{content:"󱃑"}.mdi-briefcase-download:before{content:"󰃘"}.mdi-briefcase-download-outline:before{content:"󰰽"}.mdi-briefcase-edit:before{content:"󰪘"}.mdi-briefcase-edit-outline:before{content:"󰰾"}.mdi-briefcase-eye:before{content:"󱟙"}.mdi-briefcase-eye-outline:before{content:"󱟚"}.mdi-briefcase-minus:before{content:"󰨪"}.mdi-briefcase-minus-outline:before{content:"󰰿"}.mdi-briefcase-off:before{content:"󱙘"}.mdi-briefcase-off-outline:before{content:"󱙙"}.mdi-briefcase-outline:before{content:"󰠔"}.mdi-briefcase-plus:before{content:"󰨫"}.mdi-briefcase-plus-outline:before{content:"󰱀"}.mdi-briefcase-remove:before{content:"󰨬"}.mdi-briefcase-remove-outline:before{content:"󰱁"}.mdi-briefcase-search:before{content:"󰨭"}.mdi-briefcase-search-outline:before{content:"󰱂"}.mdi-briefcase-upload:before{content:"󰃙"}.mdi-briefcase-upload-outline:before{content:"󰱃"}.mdi-briefcase-variant:before{content:"󱒔"}.mdi-briefcase-variant-off:before{content:"󱙚"}.mdi-briefcase-variant-off-outline:before{content:"󱙛"}.mdi-briefcase-variant-outline:before{content:"󱒕"}.mdi-brightness-1:before{content:"󰃚"}.mdi-brightness-2:before{content:"󰃛"}.mdi-brightness-3:before{content:"󰃜"}.mdi-brightness-4:before{content:"󰃝"}.mdi-brightness-5:before{content:"󰃞"}.mdi-brightness-6:before{content:"󰃟"}.mdi-brightness-7:before{content:"󰃠"}.mdi-brightness-auto:before{content:"󰃡"}.mdi-brightness-percent:before{content:"󰳲"}.mdi-broadcast:before{content:"󱜠"}.mdi-broadcast-off:before{content:"󱜡"}.mdi-broom:before{content:"󰃢"}.mdi-brush:before{content:"󰃣"}.mdi-brush-off:before{content:"󱝱"}.mdi-brush-outline:before{content:"󱨍"}.mdi-brush-variant:before{content:"󱠓"}.mdi-bucket:before{content:"󱐕"}.mdi-bucket-outline:before{content:"󱐖"}.mdi-buffet:before{content:"󰕸"}.mdi-bug:before{content:"󰃤"}.mdi-bug-check:before{content:"󰨮"}.mdi-bug-check-outline:before{content:"󰨯"}.mdi-bug-outline:before{content:"󰨰"}.mdi-bug-pause:before{content:"󱫵"}.mdi-bug-pause-outline:before{content:"󱫶"}.mdi-bug-play:before{content:"󱫷"}.mdi-bug-play-outline:before{content:"󱫸"}.mdi-bug-stop:before{content:"󱫹"}.mdi-bug-stop-outline:before{content:"󱫺"}.mdi-bugle:before{content:"󰶴"}.mdi-bulkhead-light:before{content:"󱨯"}.mdi-bulldozer:before{content:"󰬢"}.mdi-bullet:before{content:"󰳳"}.mdi-bulletin-board:before{content:"󰃥"}.mdi-bullhorn:before{content:"󰃦"}.mdi-bullhorn-outline:before{content:"󰬣"}.mdi-bullhorn-variant:before{content:"󱥮"}.mdi-bullhorn-variant-outline:before{content:"󱥯"}.mdi-bullseye:before{content:"󰗝"}.mdi-bullseye-arrow:before{content:"󰣉"}.mdi-bulma:before{content:"󱋧"}.mdi-bunk-bed:before{content:"󱌂"}.mdi-bunk-bed-outline:before{content:"󰂗"}.mdi-bus:before{content:"󰃧"}.mdi-bus-alert:before{content:"󰪙"}.mdi-bus-articulated-end:before{content:"󰞜"}.mdi-bus-articulated-front:before{content:"󰞝"}.mdi-bus-clock:before{content:"󰣊"}.mdi-bus-double-decker:before{content:"󰞞"}.mdi-bus-electric:before{content:"󱤝"}.mdi-bus-marker:before{content:"󱈒"}.mdi-bus-multiple:before{content:"󰼿"}.mdi-bus-school:before{content:"󰞟"}.mdi-bus-side:before{content:"󰞠"}.mdi-bus-stop:before{content:"󱀒"}.mdi-bus-stop-covered:before{content:"󱀓"}.mdi-bus-stop-uncovered:before{content:"󱀔"}.mdi-butterfly:before{content:"󱖉"}.mdi-butterfly-outline:before{content:"󱖊"}.mdi-button-cursor:before{content:"󱭏"}.mdi-button-pointer:before{content:"󱭐"}.mdi-cabin-a-frame:before{content:"󱢌"}.mdi-cable-data:before{content:"󱎔"}.mdi-cached:before{content:"󰃨"}.mdi-cactus:before{content:"󰶵"}.mdi-cake:before{content:"󰃩"}.mdi-cake-layered:before{content:"󰃪"}.mdi-cake-variant:before{content:"󰃫"}.mdi-cake-variant-outline:before{content:"󱟰"}.mdi-calculator:before{content:"󰃬"}.mdi-calculator-variant:before{content:"󰪚"}.mdi-calculator-variant-outline:before{content:"󱖦"}.mdi-calendar:before{content:"󰃭"}.mdi-calendar-account:before{content:"󰻗"}.mdi-calendar-account-outline:before{content:"󰻘"}.mdi-calendar-alert:before{content:"󰨱"}.mdi-calendar-alert-outline:before{content:"󱭢"}.mdi-calendar-arrow-left:before{content:"󱄴"}.mdi-calendar-arrow-right:before{content:"󱄵"}.mdi-calendar-badge:before{content:"󱮝"}.mdi-calendar-badge-outline:before{content:"󱮞"}.mdi-calendar-blank:before{content:"󰃮"}.mdi-calendar-blank-multiple:before{content:"󱁳"}.mdi-calendar-blank-outline:before{content:"󰭦"}.mdi-calendar-check:before{content:"󰃯"}.mdi-calendar-check-outline:before{content:"󰱄"}.mdi-calendar-clock:before{content:"󰃰"}.mdi-calendar-clock-outline:before{content:"󱛡"}.mdi-calendar-collapse-horizontal:before{content:"󱢝"}.mdi-calendar-collapse-horizontal-outline:before{content:"󱭣"}.mdi-calendar-cursor:before{content:"󱕻"}.mdi-calendar-cursor-outline:before{content:"󱭤"}.mdi-calendar-edit:before{content:"󰢧"}.mdi-calendar-edit-outline:before{content:"󱭥"}.mdi-calendar-end:before{content:"󱙬"}.mdi-calendar-end-outline:before{content:"󱭦"}.mdi-calendar-expand-horizontal:before{content:"󱢞"}.mdi-calendar-expand-horizontal-outline:before{content:"󱭧"}.mdi-calendar-export:before{content:"󰬤"}.mdi-calendar-export-outline:before{content:"󱭨"}.mdi-calendar-filter:before{content:"󱨲"}.mdi-calendar-filter-outline:before{content:"󱨳"}.mdi-calendar-heart:before{content:"󰧒"}.mdi-calendar-heart-outline:before{content:"󱭩"}.mdi-calendar-import:before{content:"󰬥"}.mdi-calendar-import-outline:before{content:"󱭪"}.mdi-calendar-lock:before{content:"󱙁"}.mdi-calendar-lock-open:before{content:"󱭛"}.mdi-calendar-lock-open-outline:before{content:"󱭜"}.mdi-calendar-lock-outline:before{content:"󱙂"}.mdi-calendar-minus:before{content:"󰵜"}.mdi-calendar-minus-outline:before{content:"󱭫"}.mdi-calendar-month:before{content:"󰸗"}.mdi-calendar-month-outline:before{content:"󰸘"}.mdi-calendar-multiple:before{content:"󰃱"}.mdi-calendar-multiple-check:before{content:"󰃲"}.mdi-calendar-multiselect:before{content:"󰨲"}.mdi-calendar-multiselect-outline:before{content:"󱭕"}.mdi-calendar-outline:before{content:"󰭧"}.mdi-calendar-plus:before{content:"󰃳"}.mdi-calendar-plus-outline:before{content:"󱭬"}.mdi-calendar-question:before{content:"󰚒"}.mdi-calendar-question-outline:before{content:"󱭭"}.mdi-calendar-range:before{content:"󰙹"}.mdi-calendar-range-outline:before{content:"󰭨"}.mdi-calendar-refresh:before{content:"󰇡"}.mdi-calendar-refresh-outline:before{content:"󰈃"}.mdi-calendar-remove:before{content:"󰃴"}.mdi-calendar-remove-outline:before{content:"󰱅"}.mdi-calendar-search:before{content:"󰥌"}.mdi-calendar-search-outline:before{content:"󱭮"}.mdi-calendar-star:before{content:"󰧓"}.mdi-calendar-star-four-points:before{content:"󱰟"}.mdi-calendar-star-outline:before{content:"󱭓"}.mdi-calendar-start:before{content:"󱙭"}.mdi-calendar-start-outline:before{content:"󱭯"}.mdi-calendar-sync:before{content:"󰺎"}.mdi-calendar-sync-outline:before{content:"󰺏"}.mdi-calendar-text:before{content:"󰃵"}.mdi-calendar-text-outline:before{content:"󰱆"}.mdi-calendar-today:before{content:"󰃶"}.mdi-calendar-today-outline:before{content:"󱨰"}.mdi-calendar-week:before{content:"󰨳"}.mdi-calendar-week-begin:before{content:"󰨴"}.mdi-calendar-week-begin-outline:before{content:"󱨱"}.mdi-calendar-week-outline:before{content:"󱨴"}.mdi-calendar-weekend:before{content:"󰻙"}.mdi-calendar-weekend-outline:before{content:"󰻚"}.mdi-call-made:before{content:"󰃷"}.mdi-call-merge:before{content:"󰃸"}.mdi-call-missed:before{content:"󰃹"}.mdi-call-received:before{content:"󰃺"}.mdi-call-split:before{content:"󰃻"}.mdi-camcorder:before{content:"󰃼"}.mdi-camcorder-off:before{content:"󰃿"}.mdi-camera:before{content:"󰄀"}.mdi-camera-account:before{content:"󰣋"}.mdi-camera-burst:before{content:"󰚓"}.mdi-camera-control:before{content:"󰭩"}.mdi-camera-document:before{content:"󱡱"}.mdi-camera-document-off:before{content:"󱡲"}.mdi-camera-enhance:before{content:"󰄁"}.mdi-camera-enhance-outline:before{content:"󰭪"}.mdi-camera-flip:before{content:"󱗙"}.mdi-camera-flip-outline:before{content:"󱗚"}.mdi-camera-front:before{content:"󰄂"}.mdi-camera-front-variant:before{content:"󰄃"}.mdi-camera-gopro:before{content:"󰞡"}.mdi-camera-image:before{content:"󰣌"}.mdi-camera-iris:before{content:"󰄄"}.mdi-camera-lock:before{content:"󱨔"}.mdi-camera-lock-open:before{content:"󱰍"}.mdi-camera-lock-open-outline:before{content:"󱰎"}.mdi-camera-lock-outline:before{content:"󱨕"}.mdi-camera-marker:before{content:"󱦧"}.mdi-camera-marker-outline:before{content:"󱦨"}.mdi-camera-metering-center:before{content:"󰞢"}.mdi-camera-metering-matrix:before{content:"󰞣"}.mdi-camera-metering-partial:before{content:"󰞤"}.mdi-camera-metering-spot:before{content:"󰞥"}.mdi-camera-off:before{content:"󰗟"}.mdi-camera-off-outline:before{content:"󱦿"}.mdi-camera-outline:before{content:"󰵝"}.mdi-camera-party-mode:before{content:"󰄅"}.mdi-camera-plus:before{content:"󰻛"}.mdi-camera-plus-outline:before{content:"󰻜"}.mdi-camera-rear:before{content:"󰄆"}.mdi-camera-rear-variant:before{content:"󰄇"}.mdi-camera-retake:before{content:"󰸙"}.mdi-camera-retake-outline:before{content:"󰸚"}.mdi-camera-switch:before{content:"󰄈"}.mdi-camera-switch-outline:before{content:"󰡊"}.mdi-camera-timer:before{content:"󰄉"}.mdi-camera-wireless:before{content:"󰶶"}.mdi-camera-wireless-outline:before{content:"󰶷"}.mdi-campfire:before{content:"󰻝"}.mdi-cancel:before{content:"󰜺"}.mdi-candelabra:before{content:"󱟒"}.mdi-candelabra-fire:before{content:"󱟓"}.mdi-candle:before{content:"󰗢"}.mdi-candy:before{content:"󱥰"}.mdi-candy-off:before{content:"󱥱"}.mdi-candy-off-outline:before{content:"󱥲"}.mdi-candy-outline:before{content:"󱥳"}.mdi-candycane:before{content:"󰄊"}.mdi-cannabis:before{content:"󰞦"}.mdi-cannabis-off:before{content:"󱙮"}.mdi-caps-lock:before{content:"󰪛"}.mdi-car:before{content:"󰄋"}.mdi-car-2-plus:before{content:"󱀕"}.mdi-car-3-plus:before{content:"󱀖"}.mdi-car-arrow-left:before{content:"󱎲"}.mdi-car-arrow-right:before{content:"󱎳"}.mdi-car-back:before{content:"󰸛"}.mdi-car-battery:before{content:"󰄌"}.mdi-car-brake-abs:before{content:"󰱇"}.mdi-car-brake-alert:before{content:"󰱈"}.mdi-car-brake-fluid-level:before{content:"󱤉"}.mdi-car-brake-hold:before{content:"󰵞"}.mdi-car-brake-low-pressure:before{content:"󱤊"}.mdi-car-brake-parking:before{content:"󰵟"}.mdi-car-brake-retarder:before{content:"󱀗"}.mdi-car-brake-temperature:before{content:"󱤋"}.mdi-car-brake-worn-linings:before{content:"󱤌"}.mdi-car-child-seat:before{content:"󰾣"}.mdi-car-clock:before{content:"󱥴"}.mdi-car-clutch:before{content:"󱀘"}.mdi-car-cog:before{content:"󱏌"}.mdi-car-connected:before{content:"󰄍"}.mdi-car-convertible:before{content:"󰞧"}.mdi-car-coolant-level:before{content:"󱀙"}.mdi-car-cruise-control:before{content:"󰵠"}.mdi-car-defrost-front:before{content:"󰵡"}.mdi-car-defrost-rear:before{content:"󰵢"}.mdi-car-door:before{content:"󰭫"}.mdi-car-door-lock:before{content:"󱂝"}.mdi-car-electric:before{content:"󰭬"}.mdi-car-electric-outline:before{content:"󱖵"}.mdi-car-emergency:before{content:"󱘏"}.mdi-car-esp:before{content:"󰱉"}.mdi-car-estate:before{content:"󰞨"}.mdi-car-hatchback:before{content:"󰞩"}.mdi-car-info:before{content:"󱆾"}.mdi-car-key:before{content:"󰭭"}.mdi-car-lifted-pickup:before{content:"󱔭"}.mdi-car-light-alert:before{content:"󱤍"}.mdi-car-light-dimmed:before{content:"󰱊"}.mdi-car-light-fog:before{content:"󰱋"}.mdi-car-light-high:before{content:"󰱌"}.mdi-car-limousine:before{content:"󰣍"}.mdi-car-multiple:before{content:"󰭮"}.mdi-car-off:before{content:"󰸜"}.mdi-car-outline:before{content:"󱓭"}.mdi-car-parking-lights:before{content:"󰵣"}.mdi-car-pickup:before{content:"󰞪"}.mdi-car-search:before{content:"󱮍"}.mdi-car-search-outline:before{content:"󱮎"}.mdi-car-seat:before{content:"󰾤"}.mdi-car-seat-cooler:before{content:"󰾥"}.mdi-car-seat-heater:before{content:"󰾦"}.mdi-car-select:before{content:"󱡹"}.mdi-car-settings:before{content:"󱏍"}.mdi-car-shift-pattern:before{content:"󰽀"}.mdi-car-side:before{content:"󰞫"}.mdi-car-speed-limiter:before{content:"󱤎"}.mdi-car-sports:before{content:"󰞬"}.mdi-car-tire-alert:before{content:"󰱍"}.mdi-car-traction-control:before{content:"󰵤"}.mdi-car-turbocharger:before{content:"󱀚"}.mdi-car-wash:before{content:"󰄎"}.mdi-car-windshield:before{content:"󱀛"}.mdi-car-windshield-outline:before{content:"󱀜"}.mdi-car-wireless:before{content:"󱡸"}.mdi-car-wrench:before{content:"󱠔"}.mdi-carabiner:before{content:"󱓀"}.mdi-caravan:before{content:"󰞭"}.mdi-card:before{content:"󰭯"}.mdi-card-account-details:before{content:"󰗒"}.mdi-card-account-details-outline:before{content:"󰶫"}.mdi-card-account-details-star:before{content:"󰊣"}.mdi-card-account-details-star-outline:before{content:"󰛛"}.mdi-card-account-mail:before{content:"󰆎"}.mdi-card-account-mail-outline:before{content:"󰺘"}.mdi-card-account-phone:before{content:"󰺙"}.mdi-card-account-phone-outline:before{content:"󰺚"}.mdi-card-bulleted:before{content:"󰭰"}.mdi-card-bulleted-off:before{content:"󰭱"}.mdi-card-bulleted-off-outline:before{content:"󰭲"}.mdi-card-bulleted-outline:before{content:"󰭳"}.mdi-card-bulleted-settings:before{content:"󰭴"}.mdi-card-bulleted-settings-outline:before{content:"󰭵"}.mdi-card-minus:before{content:"󱘀"}.mdi-card-minus-outline:before{content:"󱘁"}.mdi-card-multiple:before{content:"󱟱"}.mdi-card-multiple-outline:before{content:"󱟲"}.mdi-card-off:before{content:"󱘂"}.mdi-card-off-outline:before{content:"󱘃"}.mdi-card-outline:before{content:"󰭶"}.mdi-card-plus:before{content:"󱇿"}.mdi-card-plus-outline:before{content:"󱈀"}.mdi-card-remove:before{content:"󱘄"}.mdi-card-remove-outline:before{content:"󱘅"}.mdi-card-search:before{content:"󱁴"}.mdi-card-search-outline:before{content:"󱁵"}.mdi-card-text:before{content:"󰭷"}.mdi-card-text-outline:before{content:"󰭸"}.mdi-cards:before{content:"󰘸"}.mdi-cards-club:before{content:"󰣎"}.mdi-cards-club-outline:before{content:"󱢟"}.mdi-cards-diamond:before{content:"󰣏"}.mdi-cards-diamond-outline:before{content:"󱀝"}.mdi-cards-heart:before{content:"󰣐"}.mdi-cards-heart-outline:before{content:"󱢠"}.mdi-cards-outline:before{content:"󰘹"}.mdi-cards-playing:before{content:"󱢡"}.mdi-cards-playing-club:before{content:"󱢢"}.mdi-cards-playing-club-multiple:before{content:"󱢣"}.mdi-cards-playing-club-multiple-outline:before{content:"󱢤"}.mdi-cards-playing-club-outline:before{content:"󱢥"}.mdi-cards-playing-diamond:before{content:"󱢦"}.mdi-cards-playing-diamond-multiple:before{content:"󱢧"}.mdi-cards-playing-diamond-multiple-outline:before{content:"󱢨"}.mdi-cards-playing-diamond-outline:before{content:"󱢩"}.mdi-cards-playing-heart:before{content:"󱢪"}.mdi-cards-playing-heart-multiple:before{content:"󱢫"}.mdi-cards-playing-heart-multiple-outline:before{content:"󱢬"}.mdi-cards-playing-heart-outline:before{content:"󱢭"}.mdi-cards-playing-outline:before{content:"󰘺"}.mdi-cards-playing-spade:before{content:"󱢮"}.mdi-cards-playing-spade-multiple:before{content:"󱢯"}.mdi-cards-playing-spade-multiple-outline:before{content:"󱢰"}.mdi-cards-playing-spade-outline:before{content:"󱢱"}.mdi-cards-spade:before{content:"󰣑"}.mdi-cards-spade-outline:before{content:"󱢲"}.mdi-cards-variant:before{content:"󰛇"}.mdi-carrot:before{content:"󰄏"}.mdi-cart:before{content:"󰄐"}.mdi-cart-arrow-down:before{content:"󰵦"}.mdi-cart-arrow-right:before{content:"󰱎"}.mdi-cart-arrow-up:before{content:"󰵧"}.mdi-cart-check:before{content:"󱗪"}.mdi-cart-heart:before{content:"󱣠"}.mdi-cart-minus:before{content:"󰵨"}.mdi-cart-off:before{content:"󰙫"}.mdi-cart-outline:before{content:"󰄑"}.mdi-cart-percent:before{content:"󱮮"}.mdi-cart-plus:before{content:"󰄒"}.mdi-cart-remove:before{content:"󰵩"}.mdi-cart-variant:before{content:"󱗫"}.mdi-case-sensitive-alt:before{content:"󰄓"}.mdi-cash:before{content:"󰄔"}.mdi-cash-100:before{content:"󰄕"}.mdi-cash-check:before{content:"󱓮"}.mdi-cash-clock:before{content:"󱪑"}.mdi-cash-fast:before{content:"󱡜"}.mdi-cash-lock:before{content:"󱓪"}.mdi-cash-lock-open:before{content:"󱓫"}.mdi-cash-marker:before{content:"󰶸"}.mdi-cash-minus:before{content:"󱉠"}.mdi-cash-multiple:before{content:"󰄖"}.mdi-cash-off:before{content:"󱱹"}.mdi-cash-plus:before{content:"󱉡"}.mdi-cash-refund:before{content:"󰪜"}.mdi-cash-register:before{content:"󰳴"}.mdi-cash-remove:before{content:"󱉢"}.mdi-cash-sync:before{content:"󱪒"}.mdi-cassette:before{content:"󰧔"}.mdi-cast:before{content:"󰄘"}.mdi-cast-audio:before{content:"󱀞"}.mdi-cast-audio-variant:before{content:"󱝉"}.mdi-cast-connected:before{content:"󰄙"}.mdi-cast-education:before{content:"󰸝"}.mdi-cast-off:before{content:"󰞊"}.mdi-cast-variant:before{content:"󰀟"}.mdi-castle:before{content:"󰄚"}.mdi-cat:before{content:"󰄛"}.mdi-cctv:before{content:"󰞮"}.mdi-cctv-off:before{content:"󱡟"}.mdi-ceiling-fan:before{content:"󱞗"}.mdi-ceiling-fan-light:before{content:"󱞘"}.mdi-ceiling-light:before{content:"󰝩"}.mdi-ceiling-light-multiple:before{content:"󱣝"}.mdi-ceiling-light-multiple-outline:before{content:"󱣞"}.mdi-ceiling-light-outline:before{content:"󱟇"}.mdi-cellphone:before{content:"󰄜"}.mdi-cellphone-arrow-down:before{content:"󰧕"}.mdi-cellphone-arrow-down-variant:before{content:"󱧅"}.mdi-cellphone-basic:before{content:"󰄞"}.mdi-cellphone-charging:before{content:"󱎗"}.mdi-cellphone-check:before{content:"󱟽"}.mdi-cellphone-cog:before{content:"󰥑"}.mdi-cellphone-dock:before{content:"󰄟"}.mdi-cellphone-information:before{content:"󰽁"}.mdi-cellphone-key:before{content:"󰥎"}.mdi-cellphone-link:before{content:"󰄡"}.mdi-cellphone-link-off:before{content:"󰄢"}.mdi-cellphone-lock:before{content:"󰥏"}.mdi-cellphone-marker:before{content:"󱠺"}.mdi-cellphone-message:before{content:"󰣓"}.mdi-cellphone-message-off:before{content:"󱃒"}.mdi-cellphone-nfc:before{content:"󰺐"}.mdi-cellphone-nfc-off:before{content:"󱋘"}.mdi-cellphone-off:before{content:"󰥐"}.mdi-cellphone-play:before{content:"󱀟"}.mdi-cellphone-remove:before{content:"󰥍"}.mdi-cellphone-screenshot:before{content:"󰨵"}.mdi-cellphone-settings:before{content:"󰄣"}.mdi-cellphone-sound:before{content:"󰥒"}.mdi-cellphone-text:before{content:"󰣒"}.mdi-cellphone-wireless:before{content:"󰠕"}.mdi-centos:before{content:"󱄚"}.mdi-certificate:before{content:"󰄤"}.mdi-certificate-outline:before{content:"󱆈"}.mdi-chair-rolling:before{content:"󰽈"}.mdi-chair-school:before{content:"󰄥"}.mdi-chandelier:before{content:"󱞓"}.mdi-charity:before{content:"󰱏"}.mdi-chart-arc:before{content:"󰄦"}.mdi-chart-areaspline:before{content:"󰄧"}.mdi-chart-areaspline-variant:before{content:"󰺑"}.mdi-chart-bar:before{content:"󰄨"}.mdi-chart-bar-stacked:before{content:"󰝪"}.mdi-chart-bell-curve:before{content:"󰱐"}.mdi-chart-bell-curve-cumulative:before{content:"󰾧"}.mdi-chart-box:before{content:"󱕍"}.mdi-chart-box-outline:before{content:"󱕎"}.mdi-chart-box-plus-outline:before{content:"󱕏"}.mdi-chart-bubble:before{content:"󰗣"}.mdi-chart-donut:before{content:"󰞯"}.mdi-chart-donut-variant:before{content:"󰞰"}.mdi-chart-gantt:before{content:"󰙬"}.mdi-chart-histogram:before{content:"󰄩"}.mdi-chart-line:before{content:"󰄪"}.mdi-chart-line-stacked:before{content:"󰝫"}.mdi-chart-line-variant:before{content:"󰞱"}.mdi-chart-multiline:before{content:"󰣔"}.mdi-chart-multiple:before{content:"󱈓"}.mdi-chart-pie:before{content:"󰄫"}.mdi-chart-pie-outline:before{content:"󱯟"}.mdi-chart-ppf:before{content:"󱎀"}.mdi-chart-sankey:before{content:"󱇟"}.mdi-chart-sankey-variant:before{content:"󱇠"}.mdi-chart-scatter-plot:before{content:"󰺒"}.mdi-chart-scatter-plot-hexbin:before{content:"󰙭"}.mdi-chart-timeline:before{content:"󰙮"}.mdi-chart-timeline-variant:before{content:"󰺓"}.mdi-chart-timeline-variant-shimmer:before{content:"󱖶"}.mdi-chart-tree:before{content:"󰺔"}.mdi-chart-waterfall:before{content:"󱤘"}.mdi-chat:before{content:"󰭹"}.mdi-chat-alert:before{content:"󰭺"}.mdi-chat-alert-outline:before{content:"󱋉"}.mdi-chat-minus:before{content:"󱐐"}.mdi-chat-minus-outline:before{content:"󱐓"}.mdi-chat-outline:before{content:"󰻞"}.mdi-chat-plus:before{content:"󱐏"}.mdi-chat-plus-outline:before{content:"󱐒"}.mdi-chat-processing:before{content:"󰭻"}.mdi-chat-processing-outline:before{content:"󱋊"}.mdi-chat-question:before{content:"󱜸"}.mdi-chat-question-outline:before{content:"󱜹"}.mdi-chat-remove:before{content:"󱐑"}.mdi-chat-remove-outline:before{content:"󱐔"}.mdi-chat-sleep:before{content:"󱋑"}.mdi-chat-sleep-outline:before{content:"󱋒"}.mdi-check:before{content:"󰄬"}.mdi-check-all:before{content:"󰄭"}.mdi-check-bold:before{content:"󰸞"}.mdi-check-circle:before{content:"󰗠"}.mdi-check-circle-outline:before{content:"󰗡"}.mdi-check-decagram:before{content:"󰞑"}.mdi-check-decagram-outline:before{content:"󱝀"}.mdi-check-network:before{content:"󰱓"}.mdi-check-network-outline:before{content:"󰱔"}.mdi-check-outline:before{content:"󰡕"}.mdi-check-underline:before{content:"󰸟"}.mdi-check-underline-circle:before{content:"󰸠"}.mdi-check-underline-circle-outline:before{content:"󰸡"}.mdi-checkbook:before{content:"󰪝"}.mdi-checkbook-arrow-left:before{content:"󱰝"}.mdi-checkbook-arrow-right:before{content:"󱰞"}.mdi-checkbox-blank:before{content:"󰄮"}.mdi-checkbox-blank-badge:before{content:"󱅶"}.mdi-checkbox-blank-badge-outline:before{content:"󰄗"}.mdi-checkbox-blank-circle:before{content:"󰄯"}.mdi-checkbox-blank-circle-outline:before{content:"󰄰"}.mdi-checkbox-blank-off:before{content:"󱋬"}.mdi-checkbox-blank-off-outline:before{content:"󱋭"}.mdi-checkbox-blank-outline:before{content:"󰄱"}.mdi-checkbox-intermediate:before{content:"󰡖"}.mdi-checkbox-intermediate-variant:before{content:"󱭔"}.mdi-checkbox-marked:before{content:"󰄲"}.mdi-checkbox-marked-circle:before{content:"󰄳"}.mdi-checkbox-marked-circle-auto-outline:before{content:"󱰦"}.mdi-checkbox-marked-circle-minus-outline:before{content:"󱰧"}.mdi-checkbox-marked-circle-outline:before{content:"󰄴"}.mdi-checkbox-marked-circle-plus-outline:before{content:"󱤧"}.mdi-checkbox-marked-outline:before{content:"󰄵"}.mdi-checkbox-multiple-blank:before{content:"󰄶"}.mdi-checkbox-multiple-blank-circle:before{content:"󰘻"}.mdi-checkbox-multiple-blank-circle-outline:before{content:"󰘼"}.mdi-checkbox-multiple-blank-outline:before{content:"󰄷"}.mdi-checkbox-multiple-marked:before{content:"󰄸"}.mdi-checkbox-multiple-marked-circle:before{content:"󰘽"}.mdi-checkbox-multiple-marked-circle-outline:before{content:"󰘾"}.mdi-checkbox-multiple-marked-outline:before{content:"󰄹"}.mdi-checkbox-multiple-outline:before{content:"󰱑"}.mdi-checkbox-outline:before{content:"󰱒"}.mdi-checkerboard:before{content:"󰄺"}.mdi-checkerboard-minus:before{content:"󱈂"}.mdi-checkerboard-plus:before{content:"󱈁"}.mdi-checkerboard-remove:before{content:"󱈃"}.mdi-cheese:before{content:"󱊹"}.mdi-cheese-off:before{content:"󱏮"}.mdi-chef-hat:before{content:"󰭼"}.mdi-chemical-weapon:before{content:"󰄻"}.mdi-chess-bishop:before{content:"󰡜"}.mdi-chess-king:before{content:"󰡗"}.mdi-chess-knight:before{content:"󰡘"}.mdi-chess-pawn:before{content:"󰡙"}.mdi-chess-queen:before{content:"󰡚"}.mdi-chess-rook:before{content:"󰡛"}.mdi-chevron-double-down:before{content:"󰄼"}.mdi-chevron-double-left:before{content:"󰄽"}.mdi-chevron-double-right:before{content:"󰄾"}.mdi-chevron-double-up:before{content:"󰄿"}.mdi-chevron-down:before{content:"󰅀"}.mdi-chevron-down-box:before{content:"󰧖"}.mdi-chevron-down-box-outline:before{content:"󰧗"}.mdi-chevron-down-circle:before{content:"󰬦"}.mdi-chevron-down-circle-outline:before{content:"󰬧"}.mdi-chevron-left:before{content:"󰅁"}.mdi-chevron-left-box:before{content:"󰧘"}.mdi-chevron-left-box-outline:before{content:"󰧙"}.mdi-chevron-left-circle:before{content:"󰬨"}.mdi-chevron-left-circle-outline:before{content:"󰬩"}.mdi-chevron-right:before{content:"󰅂"}.mdi-chevron-right-box:before{content:"󰧚"}.mdi-chevron-right-box-outline:before{content:"󰧛"}.mdi-chevron-right-circle:before{content:"󰬪"}.mdi-chevron-right-circle-outline:before{content:"󰬫"}.mdi-chevron-triple-down:before{content:"󰶹"}.mdi-chevron-triple-left:before{content:"󰶺"}.mdi-chevron-triple-right:before{content:"󰶻"}.mdi-chevron-triple-up:before{content:"󰶼"}.mdi-chevron-up:before{content:"󰅃"}.mdi-chevron-up-box:before{content:"󰧜"}.mdi-chevron-up-box-outline:before{content:"󰧝"}.mdi-chevron-up-circle:before{content:"󰬬"}.mdi-chevron-up-circle-outline:before{content:"󰬭"}.mdi-chili-alert:before{content:"󱟪"}.mdi-chili-alert-outline:before{content:"󱟫"}.mdi-chili-hot:before{content:"󰞲"}.mdi-chili-hot-outline:before{content:"󱟬"}.mdi-chili-medium:before{content:"󰞳"}.mdi-chili-medium-outline:before{content:"󱟭"}.mdi-chili-mild:before{content:"󰞴"}.mdi-chili-mild-outline:before{content:"󱟮"}.mdi-chili-off:before{content:"󱑧"}.mdi-chili-off-outline:before{content:"󱟯"}.mdi-chip:before{content:"󰘚"}.mdi-church:before{content:"󰅄"}.mdi-church-outline:before{content:"󱬂"}.mdi-cigar:before{content:"󱆉"}.mdi-cigar-off:before{content:"󱐛"}.mdi-circle:before{content:"󰝥"}.mdi-circle-box:before{content:"󱗜"}.mdi-circle-box-outline:before{content:"󱗝"}.mdi-circle-double:before{content:"󰺕"}.mdi-circle-edit-outline:before{content:"󰣕"}.mdi-circle-expand:before{content:"󰺖"}.mdi-circle-half:before{content:"󱎕"}.mdi-circle-half-full:before{content:"󱎖"}.mdi-circle-medium:before{content:"󰧞"}.mdi-circle-multiple:before{content:"󰬸"}.mdi-circle-multiple-outline:before{content:"󰚕"}.mdi-circle-off-outline:before{content:"󱃓"}.mdi-circle-opacity:before{content:"󱡓"}.mdi-circle-outline:before{content:"󰝦"}.mdi-circle-slice-1:before{content:"󰪞"}.mdi-circle-slice-2:before{content:"󰪟"}.mdi-circle-slice-3:before{content:"󰪠"}.mdi-circle-slice-4:before{content:"󰪡"}.mdi-circle-slice-5:before{content:"󰪢"}.mdi-circle-slice-6:before{content:"󰪣"}.mdi-circle-slice-7:before{content:"󰪤"}.mdi-circle-slice-8:before{content:"󰪥"}.mdi-circle-small:before{content:"󰧟"}.mdi-circular-saw:before{content:"󰸢"}.mdi-city:before{content:"󰅆"}.mdi-city-switch:before{content:"󱰨"}.mdi-city-variant:before{content:"󰨶"}.mdi-city-variant-outline:before{content:"󰨷"}.mdi-clipboard:before{content:"󰅇"}.mdi-clipboard-account:before{content:"󰅈"}.mdi-clipboard-account-outline:before{content:"󰱕"}.mdi-clipboard-alert:before{content:"󰅉"}.mdi-clipboard-alert-outline:before{content:"󰳷"}.mdi-clipboard-arrow-down:before{content:"󰅊"}.mdi-clipboard-arrow-down-outline:before{content:"󰱖"}.mdi-clipboard-arrow-left:before{content:"󰅋"}.mdi-clipboard-arrow-left-outline:before{content:"󰳸"}.mdi-clipboard-arrow-right:before{content:"󰳹"}.mdi-clipboard-arrow-right-outline:before{content:"󰳺"}.mdi-clipboard-arrow-up:before{content:"󰱗"}.mdi-clipboard-arrow-up-outline:before{content:"󰱘"}.mdi-clipboard-check:before{content:"󰅎"}.mdi-clipboard-check-multiple:before{content:"󱉣"}.mdi-clipboard-check-multiple-outline:before{content:"󱉤"}.mdi-clipboard-check-outline:before{content:"󰢨"}.mdi-clipboard-clock:before{content:"󱛢"}.mdi-clipboard-clock-outline:before{content:"󱛣"}.mdi-clipboard-edit:before{content:"󱓥"}.mdi-clipboard-edit-outline:before{content:"󱓦"}.mdi-clipboard-file:before{content:"󱉥"}.mdi-clipboard-file-outline:before{content:"󱉦"}.mdi-clipboard-flow:before{content:"󰛈"}.mdi-clipboard-flow-outline:before{content:"󱄗"}.mdi-clipboard-list:before{content:"󱃔"}.mdi-clipboard-list-outline:before{content:"󱃕"}.mdi-clipboard-minus:before{content:"󱘘"}.mdi-clipboard-minus-outline:before{content:"󱘙"}.mdi-clipboard-multiple:before{content:"󱉧"}.mdi-clipboard-multiple-outline:before{content:"󱉨"}.mdi-clipboard-off:before{content:"󱘚"}.mdi-clipboard-off-outline:before{content:"󱘛"}.mdi-clipboard-outline:before{content:"󰅌"}.mdi-clipboard-play:before{content:"󰱙"}.mdi-clipboard-play-multiple:before{content:"󱉩"}.mdi-clipboard-play-multiple-outline:before{content:"󱉪"}.mdi-clipboard-play-outline:before{content:"󰱚"}.mdi-clipboard-plus:before{content:"󰝑"}.mdi-clipboard-plus-outline:before{content:"󱌟"}.mdi-clipboard-pulse:before{content:"󰡝"}.mdi-clipboard-pulse-outline:before{content:"󰡞"}.mdi-clipboard-remove:before{content:"󱘜"}.mdi-clipboard-remove-outline:before{content:"󱘝"}.mdi-clipboard-search:before{content:"󱘞"}.mdi-clipboard-search-outline:before{content:"󱘟"}.mdi-clipboard-text:before{content:"󰅍"}.mdi-clipboard-text-clock:before{content:"󱣹"}.mdi-clipboard-text-clock-outline:before{content:"󱣺"}.mdi-clipboard-text-multiple:before{content:"󱉫"}.mdi-clipboard-text-multiple-outline:before{content:"󱉬"}.mdi-clipboard-text-off:before{content:"󱘠"}.mdi-clipboard-text-off-outline:before{content:"󱘡"}.mdi-clipboard-text-outline:before{content:"󰨸"}.mdi-clipboard-text-play:before{content:"󰱛"}.mdi-clipboard-text-play-outline:before{content:"󰱜"}.mdi-clipboard-text-search:before{content:"󱘢"}.mdi-clipboard-text-search-outline:before{content:"󱘣"}.mdi-clippy:before{content:"󰅏"}.mdi-clock:before{content:"󰥔"}.mdi-clock-alert:before{content:"󰥕"}.mdi-clock-alert-outline:before{content:"󰗎"}.mdi-clock-check:before{content:"󰾨"}.mdi-clock-check-outline:before{content:"󰾩"}.mdi-clock-digital:before{content:"󰺗"}.mdi-clock-edit:before{content:"󱦺"}.mdi-clock-edit-outline:before{content:"󱦻"}.mdi-clock-end:before{content:"󰅑"}.mdi-clock-fast:before{content:"󰅒"}.mdi-clock-in:before{content:"󰅓"}.mdi-clock-minus:before{content:"󱡣"}.mdi-clock-minus-outline:before{content:"󱡤"}.mdi-clock-out:before{content:"󰅔"}.mdi-clock-outline:before{content:"󰅐"}.mdi-clock-plus:before{content:"󱡡"}.mdi-clock-plus-outline:before{content:"󱡢"}.mdi-clock-remove:before{content:"󱡥"}.mdi-clock-remove-outline:before{content:"󱡦"}.mdi-clock-star-four-points:before{content:"󱰩"}.mdi-clock-star-four-points-outline:before{content:"󱰪"}.mdi-clock-start:before{content:"󰅕"}.mdi-clock-time-eight:before{content:"󱑆"}.mdi-clock-time-eight-outline:before{content:"󱑒"}.mdi-clock-time-eleven:before{content:"󱑉"}.mdi-clock-time-eleven-outline:before{content:"󱑕"}.mdi-clock-time-five:before{content:"󱑃"}.mdi-clock-time-five-outline:before{content:"󱑏"}.mdi-clock-time-four:before{content:"󱑂"}.mdi-clock-time-four-outline:before{content:"󱑎"}.mdi-clock-time-nine:before{content:"󱑇"}.mdi-clock-time-nine-outline:before{content:"󱑓"}.mdi-clock-time-one:before{content:"󱐿"}.mdi-clock-time-one-outline:before{content:"󱑋"}.mdi-clock-time-seven:before{content:"󱑅"}.mdi-clock-time-seven-outline:before{content:"󱑑"}.mdi-clock-time-six:before{content:"󱑄"}.mdi-clock-time-six-outline:before{content:"󱑐"}.mdi-clock-time-ten:before{content:"󱑈"}.mdi-clock-time-ten-outline:before{content:"󱑔"}.mdi-clock-time-three:before{content:"󱑁"}.mdi-clock-time-three-outline:before{content:"󱑍"}.mdi-clock-time-twelve:before{content:"󱑊"}.mdi-clock-time-twelve-outline:before{content:"󱑖"}.mdi-clock-time-two:before{content:"󱑀"}.mdi-clock-time-two-outline:before{content:"󱑌"}.mdi-close:before{content:"󰅖"}.mdi-close-box:before{content:"󰅗"}.mdi-close-box-multiple:before{content:"󰱝"}.mdi-close-box-multiple-outline:before{content:"󰱞"}.mdi-close-box-outline:before{content:"󰅘"}.mdi-close-circle:before{content:"󰅙"}.mdi-close-circle-multiple:before{content:"󰘪"}.mdi-close-circle-multiple-outline:before{content:"󰢃"}.mdi-close-circle-outline:before{content:"󰅚"}.mdi-close-network:before{content:"󰅛"}.mdi-close-network-outline:before{content:"󰱟"}.mdi-close-octagon:before{content:"󰅜"}.mdi-close-octagon-outline:before{content:"󰅝"}.mdi-close-outline:before{content:"󰛉"}.mdi-close-thick:before{content:"󱎘"}.mdi-closed-caption:before{content:"󰅞"}.mdi-closed-caption-outline:before{content:"󰶽"}.mdi-cloud:before{content:"󰅟"}.mdi-cloud-alert:before{content:"󰧠"}.mdi-cloud-alert-outline:before{content:"󱯠"}.mdi-cloud-arrow-down:before{content:"󱯡"}.mdi-cloud-arrow-down-outline:before{content:"󱯢"}.mdi-cloud-arrow-left:before{content:"󱯣"}.mdi-cloud-arrow-left-outline:before{content:"󱯤"}.mdi-cloud-arrow-right:before{content:"󱯥"}.mdi-cloud-arrow-right-outline:before{content:"󱯦"}.mdi-cloud-arrow-up:before{content:"󱯧"}.mdi-cloud-arrow-up-outline:before{content:"󱯨"}.mdi-cloud-braces:before{content:"󰞵"}.mdi-cloud-cancel:before{content:"󱯩"}.mdi-cloud-cancel-outline:before{content:"󱯪"}.mdi-cloud-check:before{content:"󱯫"}.mdi-cloud-check-outline:before{content:"󱯬"}.mdi-cloud-check-variant:before{content:"󰅠"}.mdi-cloud-check-variant-outline:before{content:"󱋌"}.mdi-cloud-circle:before{content:"󰅡"}.mdi-cloud-circle-outline:before{content:"󱯭"}.mdi-cloud-clock:before{content:"󱯮"}.mdi-cloud-clock-outline:before{content:"󱯯"}.mdi-cloud-cog:before{content:"󱯰"}.mdi-cloud-cog-outline:before{content:"󱯱"}.mdi-cloud-download:before{content:"󰅢"}.mdi-cloud-download-outline:before{content:"󰭽"}.mdi-cloud-lock:before{content:"󱇱"}.mdi-cloud-lock-open:before{content:"󱯲"}.mdi-cloud-lock-open-outline:before{content:"󱯳"}.mdi-cloud-lock-outline:before{content:"󱇲"}.mdi-cloud-minus:before{content:"󱯴"}.mdi-cloud-minus-outline:before{content:"󱯵"}.mdi-cloud-off:before{content:"󱯶"}.mdi-cloud-off-outline:before{content:"󰅤"}.mdi-cloud-outline:before{content:"󰅣"}.mdi-cloud-percent:before{content:"󱨵"}.mdi-cloud-percent-outline:before{content:"󱨶"}.mdi-cloud-plus:before{content:"󱯷"}.mdi-cloud-plus-outline:before{content:"󱯸"}.mdi-cloud-print:before{content:"󰅥"}.mdi-cloud-print-outline:before{content:"󰅦"}.mdi-cloud-question:before{content:"󰨹"}.mdi-cloud-question-outline:before{content:"󱯹"}.mdi-cloud-refresh:before{content:"󱯺"}.mdi-cloud-refresh-outline:before{content:"󱯻"}.mdi-cloud-refresh-variant:before{content:"󰔪"}.mdi-cloud-refresh-variant-outline:before{content:"󱯼"}.mdi-cloud-remove:before{content:"󱯽"}.mdi-cloud-remove-outline:before{content:"󱯾"}.mdi-cloud-search:before{content:"󰥖"}.mdi-cloud-search-outline:before{content:"󰥗"}.mdi-cloud-sync:before{content:"󰘿"}.mdi-cloud-sync-outline:before{content:"󱋖"}.mdi-cloud-tags:before{content:"󰞶"}.mdi-cloud-upload:before{content:"󰅧"}.mdi-cloud-upload-outline:before{content:"󰭾"}.mdi-clouds:before{content:"󱮕"}.mdi-clover:before{content:"󰠖"}.mdi-clover-outline:before{content:"󱱢"}.mdi-coach-lamp:before{content:"󱀠"}.mdi-coach-lamp-variant:before{content:"󱨷"}.mdi-coat-rack:before{content:"󱂞"}.mdi-code-array:before{content:"󰅨"}.mdi-code-braces:before{content:"󰅩"}.mdi-code-braces-box:before{content:"󱃖"}.mdi-code-brackets:before{content:"󰅪"}.mdi-code-equal:before{content:"󰅫"}.mdi-code-greater-than:before{content:"󰅬"}.mdi-code-greater-than-or-equal:before{content:"󰅭"}.mdi-code-json:before{content:"󰘦"}.mdi-code-less-than:before{content:"󰅮"}.mdi-code-less-than-or-equal:before{content:"󰅯"}.mdi-code-not-equal:before{content:"󰅰"}.mdi-code-not-equal-variant:before{content:"󰅱"}.mdi-code-parentheses:before{content:"󰅲"}.mdi-code-parentheses-box:before{content:"󱃗"}.mdi-code-string:before{content:"󰅳"}.mdi-code-tags:before{content:"󰅴"}.mdi-code-tags-check:before{content:"󰚔"}.mdi-codepen:before{content:"󰅵"}.mdi-coffee:before{content:"󰅶"}.mdi-coffee-maker:before{content:"󱂟"}.mdi-coffee-maker-check:before{content:"󱤱"}.mdi-coffee-maker-check-outline:before{content:"󱤲"}.mdi-coffee-maker-outline:before{content:"󱠛"}.mdi-coffee-off:before{content:"󰾪"}.mdi-coffee-off-outline:before{content:"󰾫"}.mdi-coffee-outline:before{content:"󰛊"}.mdi-coffee-to-go:before{content:"󰅷"}.mdi-coffee-to-go-outline:before{content:"󱌎"}.mdi-coffin:before{content:"󰭿"}.mdi-cog:before{content:"󰒓"}.mdi-cog-box:before{content:"󰒔"}.mdi-cog-clockwise:before{content:"󱇝"}.mdi-cog-counterclockwise:before{content:"󱇞"}.mdi-cog-off:before{content:"󱏎"}.mdi-cog-off-outline:before{content:"󱏏"}.mdi-cog-outline:before{content:"󰢻"}.mdi-cog-pause:before{content:"󱤳"}.mdi-cog-pause-outline:before{content:"󱤴"}.mdi-cog-play:before{content:"󱤵"}.mdi-cog-play-outline:before{content:"󱤶"}.mdi-cog-refresh:before{content:"󱑞"}.mdi-cog-refresh-outline:before{content:"󱑟"}.mdi-cog-stop:before{content:"󱤷"}.mdi-cog-stop-outline:before{content:"󱤸"}.mdi-cog-sync:before{content:"󱑠"}.mdi-cog-sync-outline:before{content:"󱑡"}.mdi-cog-transfer:before{content:"󱁛"}.mdi-cog-transfer-outline:before{content:"󱁜"}.mdi-cogs:before{content:"󰣖"}.mdi-collage:before{content:"󰙀"}.mdi-collapse-all:before{content:"󰪦"}.mdi-collapse-all-outline:before{content:"󰪧"}.mdi-color-helper:before{content:"󰅹"}.mdi-comma:before{content:"󰸣"}.mdi-comma-box:before{content:"󰸫"}.mdi-comma-box-outline:before{content:"󰸤"}.mdi-comma-circle:before{content:"󰸥"}.mdi-comma-circle-outline:before{content:"󰸦"}.mdi-comment:before{content:"󰅺"}.mdi-comment-account:before{content:"󰅻"}.mdi-comment-account-outline:before{content:"󰅼"}.mdi-comment-alert:before{content:"󰅽"}.mdi-comment-alert-outline:before{content:"󰅾"}.mdi-comment-arrow-left:before{content:"󰧡"}.mdi-comment-arrow-left-outline:before{content:"󰧢"}.mdi-comment-arrow-right:before{content:"󰧣"}.mdi-comment-arrow-right-outline:before{content:"󰧤"}.mdi-comment-bookmark:before{content:"󱖮"}.mdi-comment-bookmark-outline:before{content:"󱖯"}.mdi-comment-check:before{content:"󰅿"}.mdi-comment-check-outline:before{content:"󰆀"}.mdi-comment-edit:before{content:"󱆿"}.mdi-comment-edit-outline:before{content:"󱋄"}.mdi-comment-eye:before{content:"󰨺"}.mdi-comment-eye-outline:before{content:"󰨻"}.mdi-comment-flash:before{content:"󱖰"}.mdi-comment-flash-outline:before{content:"󱖱"}.mdi-comment-minus:before{content:"󱗟"}.mdi-comment-minus-outline:before{content:"󱗠"}.mdi-comment-multiple:before{content:"󰡟"}.mdi-comment-multiple-outline:before{content:"󰆁"}.mdi-comment-off:before{content:"󱗡"}.mdi-comment-off-outline:before{content:"󱗢"}.mdi-comment-outline:before{content:"󰆂"}.mdi-comment-plus:before{content:"󰧥"}.mdi-comment-plus-outline:before{content:"󰆃"}.mdi-comment-processing:before{content:"󰆄"}.mdi-comment-processing-outline:before{content:"󰆅"}.mdi-comment-question:before{content:"󰠗"}.mdi-comment-question-outline:before{content:"󰆆"}.mdi-comment-quote:before{content:"󱀡"}.mdi-comment-quote-outline:before{content:"󱀢"}.mdi-comment-remove:before{content:"󰗞"}.mdi-comment-remove-outline:before{content:"󰆇"}.mdi-comment-search:before{content:"󰨼"}.mdi-comment-search-outline:before{content:"󰨽"}.mdi-comment-text:before{content:"󰆈"}.mdi-comment-text-multiple:before{content:"󰡠"}.mdi-comment-text-multiple-outline:before{content:"󰡡"}.mdi-comment-text-outline:before{content:"󰆉"}.mdi-compare:before{content:"󰆊"}.mdi-compare-horizontal:before{content:"󱒒"}.mdi-compare-remove:before{content:"󱢳"}.mdi-compare-vertical:before{content:"󱒓"}.mdi-compass:before{content:"󰆋"}.mdi-compass-off:before{content:"󰮀"}.mdi-compass-off-outline:before{content:"󰮁"}.mdi-compass-outline:before{content:"󰆌"}.mdi-compass-rose:before{content:"󱎂"}.mdi-compost:before{content:"󱨸"}.mdi-cone:before{content:"󱥌"}.mdi-cone-off:before{content:"󱥍"}.mdi-connection:before{content:"󱘖"}.mdi-console:before{content:"󰆍"}.mdi-console-line:before{content:"󰞷"}.mdi-console-network:before{content:"󰢩"}.mdi-console-network-outline:before{content:"󰱠"}.mdi-consolidate:before{content:"󱃘"}.mdi-contactless-payment:before{content:"󰵪"}.mdi-contactless-payment-circle:before{content:"󰌡"}.mdi-contactless-payment-circle-outline:before{content:"󰐈"}.mdi-contacts:before{content:"󰛋"}.mdi-contacts-outline:before{content:"󰖸"}.mdi-contain:before{content:"󰨾"}.mdi-contain-end:before{content:"󰨿"}.mdi-contain-start:before{content:"󰩀"}.mdi-content-copy:before{content:"󰆏"}.mdi-content-cut:before{content:"󰆐"}.mdi-content-duplicate:before{content:"󰆑"}.mdi-content-paste:before{content:"󰆒"}.mdi-content-save:before{content:"󰆓"}.mdi-content-save-alert:before{content:"󰽂"}.mdi-content-save-alert-outline:before{content:"󰽃"}.mdi-content-save-all:before{content:"󰆔"}.mdi-content-save-all-outline:before{content:"󰽄"}.mdi-content-save-check:before{content:"󱣪"}.mdi-content-save-check-outline:before{content:"󱣫"}.mdi-content-save-cog:before{content:"󱑛"}.mdi-content-save-cog-outline:before{content:"󱑜"}.mdi-content-save-edit:before{content:"󰳻"}.mdi-content-save-edit-outline:before{content:"󰳼"}.mdi-content-save-minus:before{content:"󱭃"}.mdi-content-save-minus-outline:before{content:"󱭄"}.mdi-content-save-move:before{content:"󰸧"}.mdi-content-save-move-outline:before{content:"󰸨"}.mdi-content-save-off:before{content:"󱙃"}.mdi-content-save-off-outline:before{content:"󱙄"}.mdi-content-save-outline:before{content:"󰠘"}.mdi-content-save-plus:before{content:"󱭁"}.mdi-content-save-plus-outline:before{content:"󱭂"}.mdi-content-save-settings:before{content:"󰘛"}.mdi-content-save-settings-outline:before{content:"󰬮"}.mdi-contrast:before{content:"󰆕"}.mdi-contrast-box:before{content:"󰆖"}.mdi-contrast-circle:before{content:"󰆗"}.mdi-controller:before{content:"󰊴"}.mdi-controller-classic:before{content:"󰮂"}.mdi-controller-classic-outline:before{content:"󰮃"}.mdi-controller-off:before{content:"󰊵"}.mdi-cookie:before{content:"󰆘"}.mdi-cookie-alert:before{content:"󱛐"}.mdi-cookie-alert-outline:before{content:"󱛑"}.mdi-cookie-check:before{content:"󱛒"}.mdi-cookie-check-outline:before{content:"󱛓"}.mdi-cookie-clock:before{content:"󱛤"}.mdi-cookie-clock-outline:before{content:"󱛥"}.mdi-cookie-cog:before{content:"󱛔"}.mdi-cookie-cog-outline:before{content:"󱛕"}.mdi-cookie-edit:before{content:"󱛦"}.mdi-cookie-edit-outline:before{content:"󱛧"}.mdi-cookie-lock:before{content:"󱛨"}.mdi-cookie-lock-outline:before{content:"󱛩"}.mdi-cookie-minus:before{content:"󱛚"}.mdi-cookie-minus-outline:before{content:"󱛛"}.mdi-cookie-off:before{content:"󱛪"}.mdi-cookie-off-outline:before{content:"󱛫"}.mdi-cookie-outline:before{content:"󱛞"}.mdi-cookie-plus:before{content:"󱛖"}.mdi-cookie-plus-outline:before{content:"󱛗"}.mdi-cookie-refresh:before{content:"󱛬"}.mdi-cookie-refresh-outline:before{content:"󱛭"}.mdi-cookie-remove:before{content:"󱛘"}.mdi-cookie-remove-outline:before{content:"󱛙"}.mdi-cookie-settings:before{content:"󱛜"}.mdi-cookie-settings-outline:before{content:"󱛝"}.mdi-coolant-temperature:before{content:"󰏈"}.mdi-copyleft:before{content:"󱤹"}.mdi-copyright:before{content:"󰗦"}.mdi-cordova:before{content:"󰥘"}.mdi-corn:before{content:"󰞸"}.mdi-corn-off:before{content:"󱏯"}.mdi-cosine-wave:before{content:"󱑹"}.mdi-counter:before{content:"󰆙"}.mdi-countertop:before{content:"󱠜"}.mdi-countertop-outline:before{content:"󱠝"}.mdi-cow:before{content:"󰆚"}.mdi-cow-off:before{content:"󱣼"}.mdi-cpu-32-bit:before{content:"󰻟"}.mdi-cpu-64-bit:before{content:"󰻠"}.mdi-cradle:before{content:"󱦋"}.mdi-cradle-outline:before{content:"󱦑"}.mdi-crane:before{content:"󰡢"}.mdi-creation:before{content:"󰙴"}.mdi-creation-outline:before{content:"󱰫"}.mdi-creative-commons:before{content:"󰵫"}.mdi-credit-card:before{content:"󰿯"}.mdi-credit-card-check:before{content:"󱏐"}.mdi-credit-card-check-outline:before{content:"󱏑"}.mdi-credit-card-chip:before{content:"󱤏"}.mdi-credit-card-chip-outline:before{content:"󱤐"}.mdi-credit-card-clock:before{content:"󰻡"}.mdi-credit-card-clock-outline:before{content:"󰻢"}.mdi-credit-card-edit:before{content:"󱟗"}.mdi-credit-card-edit-outline:before{content:"󱟘"}.mdi-credit-card-fast:before{content:"󱤑"}.mdi-credit-card-fast-outline:before{content:"󱤒"}.mdi-credit-card-lock:before{content:"󱣧"}.mdi-credit-card-lock-outline:before{content:"󱣨"}.mdi-credit-card-marker:before{content:"󰚨"}.mdi-credit-card-marker-outline:before{content:"󰶾"}.mdi-credit-card-minus:before{content:"󰾬"}.mdi-credit-card-minus-outline:before{content:"󰾭"}.mdi-credit-card-multiple:before{content:"󰿰"}.mdi-credit-card-multiple-outline:before{content:"󰆜"}.mdi-credit-card-off:before{content:"󰿱"}.mdi-credit-card-off-outline:before{content:"󰗤"}.mdi-credit-card-outline:before{content:"󰆛"}.mdi-credit-card-plus:before{content:"󰿲"}.mdi-credit-card-plus-outline:before{content:"󰙶"}.mdi-credit-card-refresh:before{content:"󱙅"}.mdi-credit-card-refresh-outline:before{content:"󱙆"}.mdi-credit-card-refund:before{content:"󰿳"}.mdi-credit-card-refund-outline:before{content:"󰪨"}.mdi-credit-card-remove:before{content:"󰾮"}.mdi-credit-card-remove-outline:before{content:"󰾯"}.mdi-credit-card-scan:before{content:"󰿴"}.mdi-credit-card-scan-outline:before{content:"󰆝"}.mdi-credit-card-search:before{content:"󱙇"}.mdi-credit-card-search-outline:before{content:"󱙈"}.mdi-credit-card-settings:before{content:"󰿵"}.mdi-credit-card-settings-outline:before{content:"󰣗"}.mdi-credit-card-sync:before{content:"󱙉"}.mdi-credit-card-sync-outline:before{content:"󱙊"}.mdi-credit-card-wireless:before{content:"󰠂"}.mdi-credit-card-wireless-off:before{content:"󰕺"}.mdi-credit-card-wireless-off-outline:before{content:"󰕻"}.mdi-credit-card-wireless-outline:before{content:"󰵬"}.mdi-cricket:before{content:"󰵭"}.mdi-crop:before{content:"󰆞"}.mdi-crop-free:before{content:"󰆟"}.mdi-crop-landscape:before{content:"󰆠"}.mdi-crop-portrait:before{content:"󰆡"}.mdi-crop-rotate:before{content:"󰚖"}.mdi-crop-square:before{content:"󰆢"}.mdi-cross:before{content:"󰥓"}.mdi-cross-bolnisi:before{content:"󰳭"}.mdi-cross-celtic:before{content:"󰳵"}.mdi-cross-outline:before{content:"󰳶"}.mdi-crosshairs:before{content:"󰆣"}.mdi-crosshairs-gps:before{content:"󰆤"}.mdi-crosshairs-off:before{content:"󰽅"}.mdi-crosshairs-question:before{content:"󱄶"}.mdi-crowd:before{content:"󱥵"}.mdi-crown:before{content:"󰆥"}.mdi-crown-circle:before{content:"󱟜"}.mdi-crown-circle-outline:before{content:"󱟝"}.mdi-crown-outline:before{content:"󱇐"}.mdi-cryengine:before{content:"󰥙"}.mdi-crystal-ball:before{content:"󰬯"}.mdi-cube:before{content:"󰆦"}.mdi-cube-off:before{content:"󱐜"}.mdi-cube-off-outline:before{content:"󱐝"}.mdi-cube-outline:before{content:"󰆧"}.mdi-cube-scan:before{content:"󰮄"}.mdi-cube-send:before{content:"󰆨"}.mdi-cube-unfolded:before{content:"󰆩"}.mdi-cup:before{content:"󰆪"}.mdi-cup-off:before{content:"󰗥"}.mdi-cup-off-outline:before{content:"󱍽"}.mdi-cup-outline:before{content:"󱌏"}.mdi-cup-water:before{content:"󰆫"}.mdi-cupboard:before{content:"󰽆"}.mdi-cupboard-outline:before{content:"󰽇"}.mdi-cupcake:before{content:"󰥚"}.mdi-curling:before{content:"󰡣"}.mdi-currency-bdt:before{content:"󰡤"}.mdi-currency-brl:before{content:"󰮅"}.mdi-currency-btc:before{content:"󰆬"}.mdi-currency-cny:before{content:"󰞺"}.mdi-currency-eth:before{content:"󰞻"}.mdi-currency-eur:before{content:"󰆭"}.mdi-currency-eur-off:before{content:"󱌕"}.mdi-currency-fra:before{content:"󱨹"}.mdi-currency-gbp:before{content:"󰆮"}.mdi-currency-ils:before{content:"󰱡"}.mdi-currency-inr:before{content:"󰆯"}.mdi-currency-jpy:before{content:"󰞼"}.mdi-currency-krw:before{content:"󰞽"}.mdi-currency-kzt:before{content:"󰡥"}.mdi-currency-mnt:before{content:"󱔒"}.mdi-currency-ngn:before{content:"󰆰"}.mdi-currency-php:before{content:"󰧦"}.mdi-currency-rial:before{content:"󰺜"}.mdi-currency-rub:before{content:"󰆱"}.mdi-currency-rupee:before{content:"󱥶"}.mdi-currency-sign:before{content:"󰞾"}.mdi-currency-thb:before{content:"󱰅"}.mdi-currency-try:before{content:"󰆲"}.mdi-currency-twd:before{content:"󰞿"}.mdi-currency-uah:before{content:"󱮛"}.mdi-currency-usd:before{content:"󰇁"}.mdi-currency-usd-off:before{content:"󰙺"}.mdi-current-ac:before{content:"󱒀"}.mdi-current-dc:before{content:"󰥜"}.mdi-cursor-default:before{content:"󰇀"}.mdi-cursor-default-click:before{content:"󰳽"}.mdi-cursor-default-click-outline:before{content:"󰳾"}.mdi-cursor-default-gesture:before{content:"󱄧"}.mdi-cursor-default-gesture-outline:before{content:"󱄨"}.mdi-cursor-default-outline:before{content:"󰆿"}.mdi-cursor-move:before{content:"󰆾"}.mdi-cursor-pointer:before{content:"󰆽"}.mdi-cursor-text:before{content:"󰗧"}.mdi-curtains:before{content:"󱡆"}.mdi-curtains-closed:before{content:"󱡇"}.mdi-cylinder:before{content:"󱥎"}.mdi-cylinder-off:before{content:"󱥏"}.mdi-dance-ballroom:before{content:"󱗻"}.mdi-dance-pole:before{content:"󱕸"}.mdi-data-matrix:before{content:"󱔼"}.mdi-data-matrix-edit:before{content:"󱔽"}.mdi-data-matrix-minus:before{content:"󱔾"}.mdi-data-matrix-plus:before{content:"󱔿"}.mdi-data-matrix-remove:before{content:"󱕀"}.mdi-data-matrix-scan:before{content:"󱕁"}.mdi-database:before{content:"󰆼"}.mdi-database-alert:before{content:"󱘺"}.mdi-database-alert-outline:before{content:"󱘤"}.mdi-database-arrow-down:before{content:"󱘻"}.mdi-database-arrow-down-outline:before{content:"󱘥"}.mdi-database-arrow-left:before{content:"󱘼"}.mdi-database-arrow-left-outline:before{content:"󱘦"}.mdi-database-arrow-right:before{content:"󱘽"}.mdi-database-arrow-right-outline:before{content:"󱘧"}.mdi-database-arrow-up:before{content:"󱘾"}.mdi-database-arrow-up-outline:before{content:"󱘨"}.mdi-database-check:before{content:"󰪩"}.mdi-database-check-outline:before{content:"󱘩"}.mdi-database-clock:before{content:"󱘿"}.mdi-database-clock-outline:before{content:"󱘪"}.mdi-database-cog:before{content:"󱙋"}.mdi-database-cog-outline:before{content:"󱙌"}.mdi-database-edit:before{content:"󰮆"}.mdi-database-edit-outline:before{content:"󱘫"}.mdi-database-export:before{content:"󰥞"}.mdi-database-export-outline:before{content:"󱘬"}.mdi-database-eye:before{content:"󱤟"}.mdi-database-eye-off:before{content:"󱤠"}.mdi-database-eye-off-outline:before{content:"󱤡"}.mdi-database-eye-outline:before{content:"󱤢"}.mdi-database-import:before{content:"󰥝"}.mdi-database-import-outline:before{content:"󱘭"}.mdi-database-lock:before{content:"󰪪"}.mdi-database-lock-outline:before{content:"󱘮"}.mdi-database-marker:before{content:"󱋶"}.mdi-database-marker-outline:before{content:"󱘯"}.mdi-database-minus:before{content:"󰆻"}.mdi-database-minus-outline:before{content:"󱘰"}.mdi-database-off:before{content:"󱙀"}.mdi-database-off-outline:before{content:"󱘱"}.mdi-database-outline:before{content:"󱘲"}.mdi-database-plus:before{content:"󰆺"}.mdi-database-plus-outline:before{content:"󱘳"}.mdi-database-refresh:before{content:"󰗂"}.mdi-database-refresh-outline:before{content:"󱘴"}.mdi-database-remove:before{content:"󰴀"}.mdi-database-remove-outline:before{content:"󱘵"}.mdi-database-search:before{content:"󰡦"}.mdi-database-search-outline:before{content:"󱘶"}.mdi-database-settings:before{content:"󰴁"}.mdi-database-settings-outline:before{content:"󱘷"}.mdi-database-sync:before{content:"󰳿"}.mdi-database-sync-outline:before{content:"󱘸"}.mdi-death-star:before{content:"󰣘"}.mdi-death-star-variant:before{content:"󰣙"}.mdi-deathly-hallows:before{content:"󰮇"}.mdi-debian:before{content:"󰣚"}.mdi-debug-step-into:before{content:"󰆹"}.mdi-debug-step-out:before{content:"󰆸"}.mdi-debug-step-over:before{content:"󰆷"}.mdi-decagram:before{content:"󰝬"}.mdi-decagram-outline:before{content:"󰝭"}.mdi-decimal:before{content:"󱂡"}.mdi-decimal-comma:before{content:"󱂢"}.mdi-decimal-comma-decrease:before{content:"󱂣"}.mdi-decimal-comma-increase:before{content:"󱂤"}.mdi-decimal-decrease:before{content:"󰆶"}.mdi-decimal-increase:before{content:"󰆵"}.mdi-delete:before{content:"󰆴"}.mdi-delete-alert:before{content:"󱂥"}.mdi-delete-alert-outline:before{content:"󱂦"}.mdi-delete-circle:before{content:"󰚃"}.mdi-delete-circle-outline:before{content:"󰮈"}.mdi-delete-clock:before{content:"󱕖"}.mdi-delete-clock-outline:before{content:"󱕗"}.mdi-delete-empty:before{content:"󰛌"}.mdi-delete-empty-outline:before{content:"󰺝"}.mdi-delete-forever:before{content:"󰗨"}.mdi-delete-forever-outline:before{content:"󰮉"}.mdi-delete-off:before{content:"󱂧"}.mdi-delete-off-outline:before{content:"󱂨"}.mdi-delete-outline:before{content:"󰧧"}.mdi-delete-restore:before{content:"󰠙"}.mdi-delete-sweep:before{content:"󰗩"}.mdi-delete-sweep-outline:before{content:"󰱢"}.mdi-delete-variant:before{content:"󰆳"}.mdi-delta:before{content:"󰇂"}.mdi-desk:before{content:"󱈹"}.mdi-desk-lamp:before{content:"󰥟"}.mdi-desk-lamp-off:before{content:"󱬟"}.mdi-desk-lamp-on:before{content:"󱬠"}.mdi-deskphone:before{content:"󰇃"}.mdi-desktop-classic:before{content:"󰟀"}.mdi-desktop-tower:before{content:"󰇅"}.mdi-desktop-tower-monitor:before{content:"󰪫"}.mdi-details:before{content:"󰇆"}.mdi-dev-to:before{content:"󰵮"}.mdi-developer-board:before{content:"󰚗"}.mdi-deviantart:before{content:"󰇇"}.mdi-devices:before{content:"󰾰"}.mdi-dharmachakra:before{content:"󰥋"}.mdi-diabetes:before{content:"󱄦"}.mdi-dialpad:before{content:"󰘜"}.mdi-diameter:before{content:"󰱣"}.mdi-diameter-outline:before{content:"󰱤"}.mdi-diameter-variant:before{content:"󰱥"}.mdi-diamond:before{content:"󰮊"}.mdi-diamond-outline:before{content:"󰮋"}.mdi-diamond-stone:before{content:"󰇈"}.mdi-dice-1:before{content:"󰇊"}.mdi-dice-1-outline:before{content:"󱅊"}.mdi-dice-2:before{content:"󰇋"}.mdi-dice-2-outline:before{content:"󱅋"}.mdi-dice-3:before{content:"󰇌"}.mdi-dice-3-outline:before{content:"󱅌"}.mdi-dice-4:before{content:"󰇍"}.mdi-dice-4-outline:before{content:"󱅍"}.mdi-dice-5:before{content:"󰇎"}.mdi-dice-5-outline:before{content:"󱅎"}.mdi-dice-6:before{content:"󰇏"}.mdi-dice-6-outline:before{content:"󱅏"}.mdi-dice-d10:before{content:"󱅓"}.mdi-dice-d10-outline:before{content:"󰝯"}.mdi-dice-d12:before{content:"󱅔"}.mdi-dice-d12-outline:before{content:"󰡧"}.mdi-dice-d20:before{content:"󱅕"}.mdi-dice-d20-outline:before{content:"󰗪"}.mdi-dice-d4:before{content:"󱅐"}.mdi-dice-d4-outline:before{content:"󰗫"}.mdi-dice-d6:before{content:"󱅑"}.mdi-dice-d6-outline:before{content:"󰗭"}.mdi-dice-d8:before{content:"󱅒"}.mdi-dice-d8-outline:before{content:"󰗬"}.mdi-dice-multiple:before{content:"󰝮"}.mdi-dice-multiple-outline:before{content:"󱅖"}.mdi-digital-ocean:before{content:"󱈷"}.mdi-dip-switch:before{content:"󰟁"}.mdi-directions:before{content:"󰇐"}.mdi-directions-fork:before{content:"󰙁"}.mdi-disc:before{content:"󰗮"}.mdi-disc-alert:before{content:"󰇑"}.mdi-disc-player:before{content:"󰥠"}.mdi-dishwasher:before{content:"󰪬"}.mdi-dishwasher-alert:before{content:"󱆸"}.mdi-dishwasher-off:before{content:"󱆹"}.mdi-disqus:before{content:"󰇒"}.mdi-distribute-horizontal-center:before{content:"󱇉"}.mdi-distribute-horizontal-left:before{content:"󱇈"}.mdi-distribute-horizontal-right:before{content:"󱇊"}.mdi-distribute-vertical-bottom:before{content:"󱇋"}.mdi-distribute-vertical-center:before{content:"󱇌"}.mdi-distribute-vertical-top:before{content:"󱇍"}.mdi-diversify:before{content:"󱡷"}.mdi-diving:before{content:"󱥷"}.mdi-diving-flippers:before{content:"󰶿"}.mdi-diving-helmet:before{content:"󰷀"}.mdi-diving-scuba:before{content:"󱭷"}.mdi-diving-scuba-flag:before{content:"󰷂"}.mdi-diving-scuba-mask:before{content:"󰷁"}.mdi-diving-scuba-tank:before{content:"󰷃"}.mdi-diving-scuba-tank-multiple:before{content:"󰷄"}.mdi-diving-snorkel:before{content:"󰷅"}.mdi-division:before{content:"󰇔"}.mdi-division-box:before{content:"󰇕"}.mdi-dlna:before{content:"󰩁"}.mdi-dna:before{content:"󰚄"}.mdi-dns:before{content:"󰇖"}.mdi-dns-outline:before{content:"󰮌"}.mdi-dock-bottom:before{content:"󱂩"}.mdi-dock-left:before{content:"󱂪"}.mdi-dock-right:before{content:"󱂫"}.mdi-dock-top:before{content:"󱔓"}.mdi-dock-window:before{content:"󱂬"}.mdi-docker:before{content:"󰡨"}.mdi-doctor:before{content:"󰩂"}.mdi-dog:before{content:"󰩃"}.mdi-dog-service:before{content:"󰪭"}.mdi-dog-side:before{content:"󰩄"}.mdi-dog-side-off:before{content:"󱛮"}.mdi-dolby:before{content:"󰚳"}.mdi-dolly:before{content:"󰺞"}.mdi-dolphin:before{content:"󱢴"}.mdi-domain:before{content:"󰇗"}.mdi-domain-off:before{content:"󰵯"}.mdi-domain-plus:before{content:"󱂭"}.mdi-domain-remove:before{content:"󱂮"}.mdi-domain-switch:before{content:"󱰬"}.mdi-dome-light:before{content:"󱐞"}.mdi-domino-mask:before{content:"󱀣"}.mdi-donkey:before{content:"󰟂"}.mdi-door:before{content:"󰠚"}.mdi-door-closed:before{content:"󰠛"}.mdi-door-closed-lock:before{content:"󱂯"}.mdi-door-open:before{content:"󰠜"}.mdi-door-sliding:before{content:"󱠞"}.mdi-door-sliding-lock:before{content:"󱠟"}.mdi-door-sliding-open:before{content:"󱠠"}.mdi-doorbell:before{content:"󱋦"}.mdi-doorbell-video:before{content:"󰡩"}.mdi-dot-net:before{content:"󰪮"}.mdi-dots-circle:before{content:"󱥸"}.mdi-dots-grid:before{content:"󱗼"}.mdi-dots-hexagon:before{content:"󱗿"}.mdi-dots-horizontal:before{content:"󰇘"}.mdi-dots-horizontal-circle:before{content:"󰟃"}.mdi-dots-horizontal-circle-outline:before{content:"󰮍"}.mdi-dots-square:before{content:"󱗽"}.mdi-dots-triangle:before{content:"󱗾"}.mdi-dots-vertical:before{content:"󰇙"}.mdi-dots-vertical-circle:before{content:"󰟄"}.mdi-dots-vertical-circle-outline:before{content:"󰮎"}.mdi-download:before{content:"󰇚"}.mdi-download-box:before{content:"󱑢"}.mdi-download-box-outline:before{content:"󱑣"}.mdi-download-circle:before{content:"󱑤"}.mdi-download-circle-outline:before{content:"󱑥"}.mdi-download-lock:before{content:"󱌠"}.mdi-download-lock-outline:before{content:"󱌡"}.mdi-download-multiple:before{content:"󰧩"}.mdi-download-network:before{content:"󰛴"}.mdi-download-network-outline:before{content:"󰱦"}.mdi-download-off:before{content:"󱂰"}.mdi-download-off-outline:before{content:"󱂱"}.mdi-download-outline:before{content:"󰮏"}.mdi-drag:before{content:"󰇛"}.mdi-drag-horizontal:before{content:"󰇜"}.mdi-drag-horizontal-variant:before{content:"󱋰"}.mdi-drag-variant:before{content:"󰮐"}.mdi-drag-vertical:before{content:"󰇝"}.mdi-drag-vertical-variant:before{content:"󱋱"}.mdi-drama-masks:before{content:"󰴂"}.mdi-draw:before{content:"󰽉"}.mdi-draw-pen:before{content:"󱦹"}.mdi-drawing:before{content:"󰇞"}.mdi-drawing-box:before{content:"󰇟"}.mdi-dresser:before{content:"󰽊"}.mdi-dresser-outline:before{content:"󰽋"}.mdi-drone:before{content:"󰇢"}.mdi-dropbox:before{content:"󰇣"}.mdi-drupal:before{content:"󰇤"}.mdi-duck:before{content:"󰇥"}.mdi-dumbbell:before{content:"󰇦"}.mdi-dump-truck:before{content:"󰱧"}.mdi-ear-hearing:before{content:"󰟅"}.mdi-ear-hearing-loop:before{content:"󱫮"}.mdi-ear-hearing-off:before{content:"󰩅"}.mdi-earbuds:before{content:"󱡏"}.mdi-earbuds-off:before{content:"󱡐"}.mdi-earbuds-off-outline:before{content:"󱡑"}.mdi-earbuds-outline:before{content:"󱡒"}.mdi-earth:before{content:"󰇧"}.mdi-earth-arrow-right:before{content:"󱌑"}.mdi-earth-box:before{content:"󰛍"}.mdi-earth-box-minus:before{content:"󱐇"}.mdi-earth-box-off:before{content:"󰛎"}.mdi-earth-box-plus:before{content:"󱐆"}.mdi-earth-box-remove:before{content:"󱐈"}.mdi-earth-minus:before{content:"󱐄"}.mdi-earth-off:before{content:"󰇨"}.mdi-earth-plus:before{content:"󱐃"}.mdi-earth-remove:before{content:"󱐅"}.mdi-egg:before{content:"󰪯"}.mdi-egg-easter:before{content:"󰪰"}.mdi-egg-fried:before{content:"󱡊"}.mdi-egg-off:before{content:"󱏰"}.mdi-egg-off-outline:before{content:"󱏱"}.mdi-egg-outline:before{content:"󱏲"}.mdi-eiffel-tower:before{content:"󱕫"}.mdi-eight-track:before{content:"󰧪"}.mdi-eject:before{content:"󰇪"}.mdi-eject-circle:before{content:"󱬣"}.mdi-eject-circle-outline:before{content:"󱬤"}.mdi-eject-outline:before{content:"󰮑"}.mdi-electric-switch:before{content:"󰺟"}.mdi-electric-switch-closed:before{content:"󱃙"}.mdi-electron-framework:before{content:"󱀤"}.mdi-elephant:before{content:"󰟆"}.mdi-elevation-decline:before{content:"󰇫"}.mdi-elevation-rise:before{content:"󰇬"}.mdi-elevator:before{content:"󰇭"}.mdi-elevator-down:before{content:"󱋂"}.mdi-elevator-passenger:before{content:"󱎁"}.mdi-elevator-passenger-off:before{content:"󱥹"}.mdi-elevator-passenger-off-outline:before{content:"󱥺"}.mdi-elevator-passenger-outline:before{content:"󱥻"}.mdi-elevator-up:before{content:"󱋁"}.mdi-ellipse:before{content:"󰺠"}.mdi-ellipse-outline:before{content:"󰺡"}.mdi-email:before{content:"󰇮"}.mdi-email-alert:before{content:"󰛏"}.mdi-email-alert-outline:before{content:"󰵂"}.mdi-email-arrow-left:before{content:"󱃚"}.mdi-email-arrow-left-outline:before{content:"󱃛"}.mdi-email-arrow-right:before{content:"󱃜"}.mdi-email-arrow-right-outline:before{content:"󱃝"}.mdi-email-box:before{content:"󰴃"}.mdi-email-check:before{content:"󰪱"}.mdi-email-check-outline:before{content:"󰪲"}.mdi-email-edit:before{content:"󰻣"}.mdi-email-edit-outline:before{content:"󰻤"}.mdi-email-fast:before{content:"󱡯"}.mdi-email-fast-outline:before{content:"󱡰"}.mdi-email-heart-outline:before{content:"󱱛"}.mdi-email-lock:before{content:"󰇱"}.mdi-email-lock-outline:before{content:"󱭡"}.mdi-email-mark-as-unread:before{content:"󰮒"}.mdi-email-minus:before{content:"󰻥"}.mdi-email-minus-outline:before{content:"󰻦"}.mdi-email-multiple:before{content:"󰻧"}.mdi-email-multiple-outline:before{content:"󰻨"}.mdi-email-newsletter:before{content:"󰾱"}.mdi-email-off:before{content:"󱏣"}.mdi-email-off-outline:before{content:"󱏤"}.mdi-email-open:before{content:"󰇯"}.mdi-email-open-heart-outline:before{content:"󱱜"}.mdi-email-open-multiple:before{content:"󰻩"}.mdi-email-open-multiple-outline:before{content:"󰻪"}.mdi-email-open-outline:before{content:"󰗯"}.mdi-email-outline:before{content:"󰇰"}.mdi-email-plus:before{content:"󰧫"}.mdi-email-plus-outline:before{content:"󰧬"}.mdi-email-remove:before{content:"󱙡"}.mdi-email-remove-outline:before{content:"󱙢"}.mdi-email-seal:before{content:"󱥛"}.mdi-email-seal-outline:before{content:"󱥜"}.mdi-email-search:before{content:"󰥡"}.mdi-email-search-outline:before{content:"󰥢"}.mdi-email-sync:before{content:"󱋇"}.mdi-email-sync-outline:before{content:"󱋈"}.mdi-email-variant:before{content:"󰗰"}.mdi-ember:before{content:"󰬰"}.mdi-emby:before{content:"󰚴"}.mdi-emoticon:before{content:"󰱨"}.mdi-emoticon-angry:before{content:"󰱩"}.mdi-emoticon-angry-outline:before{content:"󰱪"}.mdi-emoticon-confused:before{content:"󱃞"}.mdi-emoticon-confused-outline:before{content:"󱃟"}.mdi-emoticon-cool:before{content:"󰱫"}.mdi-emoticon-cool-outline:before{content:"󰇳"}.mdi-emoticon-cry:before{content:"󰱬"}.mdi-emoticon-cry-outline:before{content:"󰱭"}.mdi-emoticon-dead:before{content:"󰱮"}.mdi-emoticon-dead-outline:before{content:"󰚛"}.mdi-emoticon-devil:before{content:"󰱯"}.mdi-emoticon-devil-outline:before{content:"󰇴"}.mdi-emoticon-excited:before{content:"󰱰"}.mdi-emoticon-excited-outline:before{content:"󰚜"}.mdi-emoticon-frown:before{content:"󰽌"}.mdi-emoticon-frown-outline:before{content:"󰽍"}.mdi-emoticon-happy:before{content:"󰱱"}.mdi-emoticon-happy-outline:before{content:"󰇵"}.mdi-emoticon-kiss:before{content:"󰱲"}.mdi-emoticon-kiss-outline:before{content:"󰱳"}.mdi-emoticon-lol:before{content:"󱈔"}.mdi-emoticon-lol-outline:before{content:"󱈕"}.mdi-emoticon-neutral:before{content:"󰱴"}.mdi-emoticon-neutral-outline:before{content:"󰇶"}.mdi-emoticon-outline:before{content:"󰇲"}.mdi-emoticon-poop:before{content:"󰇷"}.mdi-emoticon-poop-outline:before{content:"󰱵"}.mdi-emoticon-sad:before{content:"󰱶"}.mdi-emoticon-sad-outline:before{content:"󰇸"}.mdi-emoticon-sick:before{content:"󱕼"}.mdi-emoticon-sick-outline:before{content:"󱕽"}.mdi-emoticon-tongue:before{content:"󰇹"}.mdi-emoticon-tongue-outline:before{content:"󰱷"}.mdi-emoticon-wink:before{content:"󰱸"}.mdi-emoticon-wink-outline:before{content:"󰱹"}.mdi-engine:before{content:"󰇺"}.mdi-engine-off:before{content:"󰩆"}.mdi-engine-off-outline:before{content:"󰩇"}.mdi-engine-outline:before{content:"󰇻"}.mdi-epsilon:before{content:"󱃠"}.mdi-equal:before{content:"󰇼"}.mdi-equal-box:before{content:"󰇽"}.mdi-equalizer:before{content:"󰺢"}.mdi-equalizer-outline:before{content:"󰺣"}.mdi-eraser:before{content:"󰇾"}.mdi-eraser-variant:before{content:"󰙂"}.mdi-escalator:before{content:"󰇿"}.mdi-escalator-box:before{content:"󱎙"}.mdi-escalator-down:before{content:"󱋀"}.mdi-escalator-up:before{content:"󱊿"}.mdi-eslint:before{content:"󰱺"}.mdi-et:before{content:"󰪳"}.mdi-ethereum:before{content:"󰡪"}.mdi-ethernet:before{content:"󰈀"}.mdi-ethernet-cable:before{content:"󰈁"}.mdi-ethernet-cable-off:before{content:"󰈂"}.mdi-ev-plug-ccs1:before{content:"󱔙"}.mdi-ev-plug-ccs2:before{content:"󱔚"}.mdi-ev-plug-chademo:before{content:"󱔛"}.mdi-ev-plug-tesla:before{content:"󱔜"}.mdi-ev-plug-type1:before{content:"󱔝"}.mdi-ev-plug-type2:before{content:"󱔞"}.mdi-ev-station:before{content:"󰗱"}.mdi-evernote:before{content:"󰈄"}.mdi-excavator:before{content:"󱀥"}.mdi-exclamation:before{content:"󰈅"}.mdi-exclamation-thick:before{content:"󱈸"}.mdi-exit-run:before{content:"󰩈"}.mdi-exit-to-app:before{content:"󰈆"}.mdi-expand-all:before{content:"󰪴"}.mdi-expand-all-outline:before{content:"󰪵"}.mdi-expansion-card:before{content:"󰢮"}.mdi-expansion-card-variant:before{content:"󰾲"}.mdi-exponent:before{content:"󰥣"}.mdi-exponent-box:before{content:"󰥤"}.mdi-export:before{content:"󰈇"}.mdi-export-variant:before{content:"󰮓"}.mdi-eye:before{content:"󰈈"}.mdi-eye-arrow-left:before{content:"󱣽"}.mdi-eye-arrow-left-outline:before{content:"󱣾"}.mdi-eye-arrow-right:before{content:"󱣿"}.mdi-eye-arrow-right-outline:before{content:"󱤀"}.mdi-eye-check:before{content:"󰴄"}.mdi-eye-check-outline:before{content:"󰴅"}.mdi-eye-circle:before{content:"󰮔"}.mdi-eye-circle-outline:before{content:"󰮕"}.mdi-eye-lock:before{content:"󱰆"}.mdi-eye-lock-open:before{content:"󱰇"}.mdi-eye-lock-open-outline:before{content:"󱰈"}.mdi-eye-lock-outline:before{content:"󱰉"}.mdi-eye-minus:before{content:"󱀦"}.mdi-eye-minus-outline:before{content:"󱀧"}.mdi-eye-off:before{content:"󰈉"}.mdi-eye-off-outline:before{content:"󰛑"}.mdi-eye-outline:before{content:"󰛐"}.mdi-eye-plus:before{content:"󰡫"}.mdi-eye-plus-outline:before{content:"󰡬"}.mdi-eye-refresh:before{content:"󱥼"}.mdi-eye-refresh-outline:before{content:"󱥽"}.mdi-eye-remove:before{content:"󱗣"}.mdi-eye-remove-outline:before{content:"󱗤"}.mdi-eye-settings:before{content:"󰡭"}.mdi-eye-settings-outline:before{content:"󰡮"}.mdi-eyedropper:before{content:"󰈊"}.mdi-eyedropper-minus:before{content:"󱏝"}.mdi-eyedropper-off:before{content:"󱏟"}.mdi-eyedropper-plus:before{content:"󱏜"}.mdi-eyedropper-remove:before{content:"󱏞"}.mdi-eyedropper-variant:before{content:"󰈋"}.mdi-face-agent:before{content:"󰵰"}.mdi-face-man:before{content:"󰙃"}.mdi-face-man-outline:before{content:"󰮖"}.mdi-face-man-profile:before{content:"󰙄"}.mdi-face-man-shimmer:before{content:"󱗌"}.mdi-face-man-shimmer-outline:before{content:"󱗍"}.mdi-face-mask:before{content:"󱖆"}.mdi-face-mask-outline:before{content:"󱖇"}.mdi-face-recognition:before{content:"󰱻"}.mdi-face-woman:before{content:"󱁷"}.mdi-face-woman-outline:before{content:"󱁸"}.mdi-face-woman-profile:before{content:"󱁶"}.mdi-face-woman-shimmer:before{content:"󱗎"}.mdi-face-woman-shimmer-outline:before{content:"󱗏"}.mdi-facebook:before{content:"󰈌"}.mdi-facebook-gaming:before{content:"󰟝"}.mdi-facebook-messenger:before{content:"󰈎"}.mdi-facebook-workplace:before{content:"󰬱"}.mdi-factory:before{content:"󰈏"}.mdi-family-tree:before{content:"󱘎"}.mdi-fan:before{content:"󰈐"}.mdi-fan-alert:before{content:"󱑬"}.mdi-fan-auto:before{content:"󱜝"}.mdi-fan-chevron-down:before{content:"󱑭"}.mdi-fan-chevron-up:before{content:"󱑮"}.mdi-fan-clock:before{content:"󱨺"}.mdi-fan-minus:before{content:"󱑰"}.mdi-fan-off:before{content:"󰠝"}.mdi-fan-plus:before{content:"󱑯"}.mdi-fan-remove:before{content:"󱑱"}.mdi-fan-speed-1:before{content:"󱑲"}.mdi-fan-speed-2:before{content:"󱑳"}.mdi-fan-speed-3:before{content:"󱑴"}.mdi-fast-forward:before{content:"󰈑"}.mdi-fast-forward-10:before{content:"󰵱"}.mdi-fast-forward-15:before{content:"󱤺"}.mdi-fast-forward-30:before{content:"󰴆"}.mdi-fast-forward-45:before{content:"󱬒"}.mdi-fast-forward-5:before{content:"󱇸"}.mdi-fast-forward-60:before{content:"󱘋"}.mdi-fast-forward-outline:before{content:"󰛒"}.mdi-faucet:before{content:"󱬩"}.mdi-faucet-variant:before{content:"󱬪"}.mdi-fax:before{content:"󰈒"}.mdi-feather:before{content:"󰛓"}.mdi-feature-search:before{content:"󰩉"}.mdi-feature-search-outline:before{content:"󰩊"}.mdi-fedora:before{content:"󰣛"}.mdi-fence:before{content:"󱞚"}.mdi-fence-electric:before{content:"󱟶"}.mdi-fencing:before{content:"󱓁"}.mdi-ferris-wheel:before{content:"󰺤"}.mdi-ferry:before{content:"󰈓"}.mdi-file:before{content:"󰈔"}.mdi-file-account:before{content:"󰜻"}.mdi-file-account-outline:before{content:"󱀨"}.mdi-file-alert:before{content:"󰩋"}.mdi-file-alert-outline:before{content:"󰩌"}.mdi-file-arrow-left-right:before{content:"󱪓"}.mdi-file-arrow-left-right-outline:before{content:"󱪔"}.mdi-file-arrow-up-down:before{content:"󱪕"}.mdi-file-arrow-up-down-outline:before{content:"󱪖"}.mdi-file-cabinet:before{content:"󰪶"}.mdi-file-cad:before{content:"󰻫"}.mdi-file-cad-box:before{content:"󰻬"}.mdi-file-cancel:before{content:"󰷆"}.mdi-file-cancel-outline:before{content:"󰷇"}.mdi-file-certificate:before{content:"󱆆"}.mdi-file-certificate-outline:before{content:"󱆇"}.mdi-file-chart:before{content:"󰈕"}.mdi-file-chart-check:before{content:"󱧆"}.mdi-file-chart-check-outline:before{content:"󱧇"}.mdi-file-chart-outline:before{content:"󱀩"}.mdi-file-check:before{content:"󰈖"}.mdi-file-check-outline:before{content:"󰸩"}.mdi-file-clock:before{content:"󱋡"}.mdi-file-clock-outline:before{content:"󱋢"}.mdi-file-cloud:before{content:"󰈗"}.mdi-file-cloud-outline:before{content:"󱀪"}.mdi-file-code:before{content:"󰈮"}.mdi-file-code-outline:before{content:"󱀫"}.mdi-file-cog:before{content:"󱁻"}.mdi-file-cog-outline:before{content:"󱁼"}.mdi-file-compare:before{content:"󰢪"}.mdi-file-delimited:before{content:"󰈘"}.mdi-file-delimited-outline:before{content:"󰺥"}.mdi-file-document:before{content:"󰈙"}.mdi-file-document-alert:before{content:"󱪗"}.mdi-file-document-alert-outline:before{content:"󱪘"}.mdi-file-document-arrow-right:before{content:"󱰏"}.mdi-file-document-arrow-right-outline:before{content:"󱰐"}.mdi-file-document-check:before{content:"󱪙"}.mdi-file-document-check-outline:before{content:"󱪚"}.mdi-file-document-edit:before{content:"󰷈"}.mdi-file-document-edit-outline:before{content:"󰷉"}.mdi-file-document-minus:before{content:"󱪛"}.mdi-file-document-minus-outline:before{content:"󱪜"}.mdi-file-document-multiple:before{content:"󱔗"}.mdi-file-document-multiple-outline:before{content:"󱔘"}.mdi-file-document-outline:before{content:"󰧮"}.mdi-file-document-plus:before{content:"󱪝"}.mdi-file-document-plus-outline:before{content:"󱪞"}.mdi-file-document-refresh:before{content:"󱱺"}.mdi-file-document-refresh-outline:before{content:"󱱻"}.mdi-file-document-remove:before{content:"󱪟"}.mdi-file-document-remove-outline:before{content:"󱪠"}.mdi-file-download:before{content:"󰥥"}.mdi-file-download-outline:before{content:"󰥦"}.mdi-file-edit:before{content:"󱇧"}.mdi-file-edit-outline:before{content:"󱇨"}.mdi-file-excel:before{content:"󰈛"}.mdi-file-excel-box:before{content:"󰈜"}.mdi-file-excel-box-outline:before{content:"󱀬"}.mdi-file-excel-outline:before{content:"󱀭"}.mdi-file-export:before{content:"󰈝"}.mdi-file-export-outline:before{content:"󱀮"}.mdi-file-eye:before{content:"󰷊"}.mdi-file-eye-outline:before{content:"󰷋"}.mdi-file-find:before{content:"󰈞"}.mdi-file-find-outline:before{content:"󰮗"}.mdi-file-gif-box:before{content:"󰵸"}.mdi-file-hidden:before{content:"󰘓"}.mdi-file-image:before{content:"󰈟"}.mdi-file-image-marker:before{content:"󱝲"}.mdi-file-image-marker-outline:before{content:"󱝳"}.mdi-file-image-minus:before{content:"󱤻"}.mdi-file-image-minus-outline:before{content:"󱤼"}.mdi-file-image-outline:before{content:"󰺰"}.mdi-file-image-plus:before{content:"󱤽"}.mdi-file-image-plus-outline:before{content:"󱤾"}.mdi-file-image-remove:before{content:"󱤿"}.mdi-file-image-remove-outline:before{content:"󱥀"}.mdi-file-import:before{content:"󰈠"}.mdi-file-import-outline:before{content:"󱀯"}.mdi-file-jpg-box:before{content:"󰈥"}.mdi-file-key:before{content:"󱆄"}.mdi-file-key-outline:before{content:"󱆅"}.mdi-file-link:before{content:"󱅷"}.mdi-file-link-outline:before{content:"󱅸"}.mdi-file-lock:before{content:"󰈡"}.mdi-file-lock-open:before{content:"󱧈"}.mdi-file-lock-open-outline:before{content:"󱧉"}.mdi-file-lock-outline:before{content:"󱀰"}.mdi-file-marker:before{content:"󱝴"}.mdi-file-marker-outline:before{content:"󱝵"}.mdi-file-minus:before{content:"󱪡"}.mdi-file-minus-outline:before{content:"󱪢"}.mdi-file-move:before{content:"󰪹"}.mdi-file-move-outline:before{content:"󱀱"}.mdi-file-multiple:before{content:"󰈢"}.mdi-file-multiple-outline:before{content:"󱀲"}.mdi-file-music:before{content:"󰈣"}.mdi-file-music-outline:before{content:"󰸪"}.mdi-file-outline:before{content:"󰈤"}.mdi-file-pdf-box:before{content:"󰈦"}.mdi-file-percent:before{content:"󰠞"}.mdi-file-percent-outline:before{content:"󱀳"}.mdi-file-phone:before{content:"󱅹"}.mdi-file-phone-outline:before{content:"󱅺"}.mdi-file-plus:before{content:"󰝒"}.mdi-file-plus-outline:before{content:"󰻭"}.mdi-file-png-box:before{content:"󰸭"}.mdi-file-powerpoint:before{content:"󰈧"}.mdi-file-powerpoint-box:before{content:"󰈨"}.mdi-file-powerpoint-box-outline:before{content:"󱀴"}.mdi-file-powerpoint-outline:before{content:"󱀵"}.mdi-file-presentation-box:before{content:"󰈩"}.mdi-file-question:before{content:"󰡯"}.mdi-file-question-outline:before{content:"󱀶"}.mdi-file-refresh:before{content:"󰤘"}.mdi-file-refresh-outline:before{content:"󰕁"}.mdi-file-remove:before{content:"󰮘"}.mdi-file-remove-outline:before{content:"󱀷"}.mdi-file-replace:before{content:"󰬲"}.mdi-file-replace-outline:before{content:"󰬳"}.mdi-file-restore:before{content:"󰙰"}.mdi-file-restore-outline:before{content:"󱀸"}.mdi-file-rotate-left:before{content:"󱨻"}.mdi-file-rotate-left-outline:before{content:"󱨼"}.mdi-file-rotate-right:before{content:"󱨽"}.mdi-file-rotate-right-outline:before{content:"󱨾"}.mdi-file-search:before{content:"󰱼"}.mdi-file-search-outline:before{content:"󰱽"}.mdi-file-send:before{content:"󰈪"}.mdi-file-send-outline:before{content:"󱀹"}.mdi-file-settings:before{content:"󱁹"}.mdi-file-settings-outline:before{content:"󱁺"}.mdi-file-sign:before{content:"󱧃"}.mdi-file-star:before{content:"󱀺"}.mdi-file-star-four-points:before{content:"󱰭"}.mdi-file-star-four-points-outline:before{content:"󱰮"}.mdi-file-star-outline:before{content:"󱀻"}.mdi-file-swap:before{content:"󰾴"}.mdi-file-swap-outline:before{content:"󰾵"}.mdi-file-sync:before{content:"󱈖"}.mdi-file-sync-outline:before{content:"󱈗"}.mdi-file-table:before{content:"󰱾"}.mdi-file-table-box:before{content:"󱃡"}.mdi-file-table-box-multiple:before{content:"󱃢"}.mdi-file-table-box-multiple-outline:before{content:"󱃣"}.mdi-file-table-box-outline:before{content:"󱃤"}.mdi-file-table-outline:before{content:"󰱿"}.mdi-file-tree:before{content:"󰙅"}.mdi-file-tree-outline:before{content:"󱏒"}.mdi-file-undo:before{content:"󰣜"}.mdi-file-undo-outline:before{content:"󱀼"}.mdi-file-upload:before{content:"󰩍"}.mdi-file-upload-outline:before{content:"󰩎"}.mdi-file-video:before{content:"󰈫"}.mdi-file-video-outline:before{content:"󰸬"}.mdi-file-word:before{content:"󰈬"}.mdi-file-word-box:before{content:"󰈭"}.mdi-file-word-box-outline:before{content:"󱀽"}.mdi-file-word-outline:before{content:"󱀾"}.mdi-file-xml-box:before{content:"󱭋"}.mdi-film:before{content:"󰈯"}.mdi-filmstrip:before{content:"󰈰"}.mdi-filmstrip-box:before{content:"󰌲"}.mdi-filmstrip-box-multiple:before{content:"󰴘"}.mdi-filmstrip-off:before{content:"󰈱"}.mdi-filter:before{content:"󰈲"}.mdi-filter-check:before{content:"󱣬"}.mdi-filter-check-outline:before{content:"󱣭"}.mdi-filter-cog:before{content:"󱪣"}.mdi-filter-cog-outline:before{content:"󱪤"}.mdi-filter-menu:before{content:"󱃥"}.mdi-filter-menu-outline:before{content:"󱃦"}.mdi-filter-minus:before{content:"󰻮"}.mdi-filter-minus-outline:before{content:"󰻯"}.mdi-filter-multiple:before{content:"󱨿"}.mdi-filter-multiple-outline:before{content:"󱩀"}.mdi-filter-off:before{content:"󱓯"}.mdi-filter-off-outline:before{content:"󱓰"}.mdi-filter-outline:before{content:"󰈳"}.mdi-filter-plus:before{content:"󰻰"}.mdi-filter-plus-outline:before{content:"󰻱"}.mdi-filter-remove:before{content:"󰈴"}.mdi-filter-remove-outline:before{content:"󰈵"}.mdi-filter-settings:before{content:"󱪥"}.mdi-filter-settings-outline:before{content:"󱪦"}.mdi-filter-variant:before{content:"󰈶"}.mdi-filter-variant-minus:before{content:"󱄒"}.mdi-filter-variant-plus:before{content:"󱄓"}.mdi-filter-variant-remove:before{content:"󱀿"}.mdi-finance:before{content:"󰠟"}.mdi-find-replace:before{content:"󰛔"}.mdi-fingerprint:before{content:"󰈷"}.mdi-fingerprint-off:before{content:"󰺱"}.mdi-fire:before{content:"󰈸"}.mdi-fire-alert:before{content:"󱗗"}.mdi-fire-circle:before{content:"󱠇"}.mdi-fire-extinguisher:before{content:"󰻲"}.mdi-fire-hydrant:before{content:"󱄷"}.mdi-fire-hydrant-alert:before{content:"󱄸"}.mdi-fire-hydrant-off:before{content:"󱄹"}.mdi-fire-off:before{content:"󱜢"}.mdi-fire-truck:before{content:"󰢫"}.mdi-firebase:before{content:"󰥧"}.mdi-firefox:before{content:"󰈹"}.mdi-fireplace:before{content:"󰸮"}.mdi-fireplace-off:before{content:"󰸯"}.mdi-firewire:before{content:"󰖾"}.mdi-firework:before{content:"󰸰"}.mdi-firework-off:before{content:"󱜣"}.mdi-fish:before{content:"󰈺"}.mdi-fish-off:before{content:"󱏳"}.mdi-fishbowl:before{content:"󰻳"}.mdi-fishbowl-outline:before{content:"󰻴"}.mdi-fit-to-page:before{content:"󰻵"}.mdi-fit-to-page-outline:before{content:"󰻶"}.mdi-fit-to-screen:before{content:"󱣴"}.mdi-fit-to-screen-outline:before{content:"󱣵"}.mdi-flag:before{content:"󰈻"}.mdi-flag-checkered:before{content:"󰈼"}.mdi-flag-minus:before{content:"󰮙"}.mdi-flag-minus-outline:before{content:"󱂲"}.mdi-flag-off:before{content:"󱣮"}.mdi-flag-off-outline:before{content:"󱣯"}.mdi-flag-outline:before{content:"󰈽"}.mdi-flag-plus:before{content:"󰮚"}.mdi-flag-plus-outline:before{content:"󱂳"}.mdi-flag-remove:before{content:"󰮛"}.mdi-flag-remove-outline:before{content:"󱂴"}.mdi-flag-triangle:before{content:"󰈿"}.mdi-flag-variant:before{content:"󰉀"}.mdi-flag-variant-minus:before{content:"󱮴"}.mdi-flag-variant-minus-outline:before{content:"󱮵"}.mdi-flag-variant-off:before{content:"󱮰"}.mdi-flag-variant-off-outline:before{content:"󱮱"}.mdi-flag-variant-outline:before{content:"󰈾"}.mdi-flag-variant-plus:before{content:"󱮲"}.mdi-flag-variant-plus-outline:before{content:"󱮳"}.mdi-flag-variant-remove:before{content:"󱮶"}.mdi-flag-variant-remove-outline:before{content:"󱮷"}.mdi-flare:before{content:"󰵲"}.mdi-flash:before{content:"󰉁"}.mdi-flash-alert:before{content:"󰻷"}.mdi-flash-alert-outline:before{content:"󰻸"}.mdi-flash-auto:before{content:"󰉂"}.mdi-flash-off:before{content:"󰉃"}.mdi-flash-off-outline:before{content:"󱭅"}.mdi-flash-outline:before{content:"󰛕"}.mdi-flash-red-eye:before{content:"󰙻"}.mdi-flash-triangle:before{content:"󱬝"}.mdi-flash-triangle-outline:before{content:"󱬞"}.mdi-flashlight:before{content:"󰉄"}.mdi-flashlight-off:before{content:"󰉅"}.mdi-flask:before{content:"󰂓"}.mdi-flask-empty:before{content:"󰂔"}.mdi-flask-empty-minus:before{content:"󱈺"}.mdi-flask-empty-minus-outline:before{content:"󱈻"}.mdi-flask-empty-off:before{content:"󱏴"}.mdi-flask-empty-off-outline:before{content:"󱏵"}.mdi-flask-empty-outline:before{content:"󰂕"}.mdi-flask-empty-plus:before{content:"󱈼"}.mdi-flask-empty-plus-outline:before{content:"󱈽"}.mdi-flask-empty-remove:before{content:"󱈾"}.mdi-flask-empty-remove-outline:before{content:"󱈿"}.mdi-flask-minus:before{content:"󱉀"}.mdi-flask-minus-outline:before{content:"󱉁"}.mdi-flask-off:before{content:"󱏶"}.mdi-flask-off-outline:before{content:"󱏷"}.mdi-flask-outline:before{content:"󰂖"}.mdi-flask-plus:before{content:"󱉂"}.mdi-flask-plus-outline:before{content:"󱉃"}.mdi-flask-remove:before{content:"󱉄"}.mdi-flask-remove-outline:before{content:"󱉅"}.mdi-flask-round-bottom:before{content:"󱉋"}.mdi-flask-round-bottom-empty:before{content:"󱉌"}.mdi-flask-round-bottom-empty-outline:before{content:"󱉍"}.mdi-flask-round-bottom-outline:before{content:"󱉎"}.mdi-fleur-de-lis:before{content:"󱌃"}.mdi-flip-horizontal:before{content:"󱃧"}.mdi-flip-to-back:before{content:"󰉇"}.mdi-flip-to-front:before{content:"󰉈"}.mdi-flip-vertical:before{content:"󱃨"}.mdi-floor-lamp:before{content:"󰣝"}.mdi-floor-lamp-dual:before{content:"󱁀"}.mdi-floor-lamp-dual-outline:before{content:"󱟎"}.mdi-floor-lamp-outline:before{content:"󱟈"}.mdi-floor-lamp-torchiere:before{content:"󱝇"}.mdi-floor-lamp-torchiere-outline:before{content:"󱟖"}.mdi-floor-lamp-torchiere-variant:before{content:"󱁁"}.mdi-floor-lamp-torchiere-variant-outline:before{content:"󱟏"}.mdi-floor-plan:before{content:"󰠡"}.mdi-floppy:before{content:"󰉉"}.mdi-floppy-variant:before{content:"󰧯"}.mdi-flower:before{content:"󰉊"}.mdi-flower-outline:before{content:"󰧰"}.mdi-flower-pollen:before{content:"󱢅"}.mdi-flower-pollen-outline:before{content:"󱢆"}.mdi-flower-poppy:before{content:"󰴈"}.mdi-flower-tulip:before{content:"󰧱"}.mdi-flower-tulip-outline:before{content:"󰧲"}.mdi-focus-auto:before{content:"󰽎"}.mdi-focus-field:before{content:"󰽏"}.mdi-focus-field-horizontal:before{content:"󰽐"}.mdi-focus-field-vertical:before{content:"󰽑"}.mdi-folder:before{content:"󰉋"}.mdi-folder-account:before{content:"󰉌"}.mdi-folder-account-outline:before{content:"󰮜"}.mdi-folder-alert:before{content:"󰷌"}.mdi-folder-alert-outline:before{content:"󰷍"}.mdi-folder-arrow-down:before{content:"󱧨"}.mdi-folder-arrow-down-outline:before{content:"󱧩"}.mdi-folder-arrow-left:before{content:"󱧪"}.mdi-folder-arrow-left-outline:before{content:"󱧫"}.mdi-folder-arrow-left-right:before{content:"󱧬"}.mdi-folder-arrow-left-right-outline:before{content:"󱧭"}.mdi-folder-arrow-right:before{content:"󱧮"}.mdi-folder-arrow-right-outline:before{content:"󱧯"}.mdi-folder-arrow-up:before{content:"󱧰"}.mdi-folder-arrow-up-down:before{content:"󱧱"}.mdi-folder-arrow-up-down-outline:before{content:"󱧲"}.mdi-folder-arrow-up-outline:before{content:"󱧳"}.mdi-folder-cancel:before{content:"󱧴"}.mdi-folder-cancel-outline:before{content:"󱧵"}.mdi-folder-check:before{content:"󱥾"}.mdi-folder-check-outline:before{content:"󱥿"}.mdi-folder-clock:before{content:"󰪺"}.mdi-folder-clock-outline:before{content:"󰪻"}.mdi-folder-cog:before{content:"󱁿"}.mdi-folder-cog-outline:before{content:"󱂀"}.mdi-folder-download:before{content:"󰉍"}.mdi-folder-download-outline:before{content:"󱃩"}.mdi-folder-edit:before{content:"󰣞"}.mdi-folder-edit-outline:before{content:"󰷎"}.mdi-folder-eye:before{content:"󱞊"}.mdi-folder-eye-outline:before{content:"󱞋"}.mdi-folder-file:before{content:"󱧶"}.mdi-folder-file-outline:before{content:"󱧷"}.mdi-folder-google-drive:before{content:"󰉎"}.mdi-folder-heart:before{content:"󱃪"}.mdi-folder-heart-outline:before{content:"󱃫"}.mdi-folder-hidden:before{content:"󱞞"}.mdi-folder-home:before{content:"󱂵"}.mdi-folder-home-outline:before{content:"󱂶"}.mdi-folder-image:before{content:"󰉏"}.mdi-folder-information:before{content:"󱂷"}.mdi-folder-information-outline:before{content:"󱂸"}.mdi-folder-key:before{content:"󰢬"}.mdi-folder-key-network:before{content:"󰢭"}.mdi-folder-key-network-outline:before{content:"󰲀"}.mdi-folder-key-outline:before{content:"󱃬"}.mdi-folder-lock:before{content:"󰉐"}.mdi-folder-lock-open:before{content:"󰉑"}.mdi-folder-lock-open-outline:before{content:"󱪧"}.mdi-folder-lock-outline:before{content:"󱪨"}.mdi-folder-marker:before{content:"󱉭"}.mdi-folder-marker-outline:before{content:"󱉮"}.mdi-folder-minus:before{content:"󱭉"}.mdi-folder-minus-outline:before{content:"󱭊"}.mdi-folder-move:before{content:"󰉒"}.mdi-folder-move-outline:before{content:"󱉆"}.mdi-folder-multiple:before{content:"󰉓"}.mdi-folder-multiple-image:before{content:"󰉔"}.mdi-folder-multiple-outline:before{content:"󰉕"}.mdi-folder-multiple-plus:before{content:"󱑾"}.mdi-folder-multiple-plus-outline:before{content:"󱑿"}.mdi-folder-music:before{content:"󱍙"}.mdi-folder-music-outline:before{content:"󱍚"}.mdi-folder-network:before{content:"󰡰"}.mdi-folder-network-outline:before{content:"󰲁"}.mdi-folder-off:before{content:"󱧸"}.mdi-folder-off-outline:before{content:"󱧹"}.mdi-folder-open:before{content:"󰝰"}.mdi-folder-open-outline:before{content:"󰷏"}.mdi-folder-outline:before{content:"󰉖"}.mdi-folder-play:before{content:"󱧺"}.mdi-folder-play-outline:before{content:"󱧻"}.mdi-folder-plus:before{content:"󰉗"}.mdi-folder-plus-outline:before{content:"󰮝"}.mdi-folder-pound:before{content:"󰴉"}.mdi-folder-pound-outline:before{content:"󰴊"}.mdi-folder-question:before{content:"󱧊"}.mdi-folder-question-outline:before{content:"󱧋"}.mdi-folder-refresh:before{content:"󰝉"}.mdi-folder-refresh-outline:before{content:"󰕂"}.mdi-folder-remove:before{content:"󰉘"}.mdi-folder-remove-outline:before{content:"󰮞"}.mdi-folder-search:before{content:"󰥨"}.mdi-folder-search-outline:before{content:"󰥩"}.mdi-folder-settings:before{content:"󱁽"}.mdi-folder-settings-outline:before{content:"󱁾"}.mdi-folder-star:before{content:"󰚝"}.mdi-folder-star-multiple:before{content:"󱏓"}.mdi-folder-star-multiple-outline:before{content:"󱏔"}.mdi-folder-star-outline:before{content:"󰮟"}.mdi-folder-swap:before{content:"󰾶"}.mdi-folder-swap-outline:before{content:"󰾷"}.mdi-folder-sync:before{content:"󰴋"}.mdi-folder-sync-outline:before{content:"󰴌"}.mdi-folder-table:before{content:"󱋣"}.mdi-folder-table-outline:before{content:"󱋤"}.mdi-folder-text:before{content:"󰲂"}.mdi-folder-text-outline:before{content:"󰲃"}.mdi-folder-upload:before{content:"󰉙"}.mdi-folder-upload-outline:before{content:"󱃭"}.mdi-folder-wrench:before{content:"󱧼"}.mdi-folder-wrench-outline:before{content:"󱧽"}.mdi-folder-zip:before{content:"󰛫"}.mdi-folder-zip-outline:before{content:"󰞹"}.mdi-font-awesome:before{content:"󰀺"}.mdi-food:before{content:"󰉚"}.mdi-food-apple:before{content:"󰉛"}.mdi-food-apple-outline:before{content:"󰲄"}.mdi-food-croissant:before{content:"󰟈"}.mdi-food-drumstick:before{content:"󱐟"}.mdi-food-drumstick-off:before{content:"󱑨"}.mdi-food-drumstick-off-outline:before{content:"󱑩"}.mdi-food-drumstick-outline:before{content:"󱐠"}.mdi-food-fork-drink:before{content:"󰗲"}.mdi-food-halal:before{content:"󱕲"}.mdi-food-hot-dog:before{content:"󱡋"}.mdi-food-kosher:before{content:"󱕳"}.mdi-food-off:before{content:"󰗳"}.mdi-food-off-outline:before{content:"󱤕"}.mdi-food-outline:before{content:"󱤖"}.mdi-food-steak:before{content:"󱑪"}.mdi-food-steak-off:before{content:"󱑫"}.mdi-food-takeout-box:before{content:"󱠶"}.mdi-food-takeout-box-outline:before{content:"󱠷"}.mdi-food-turkey:before{content:"󱜜"}.mdi-food-variant:before{content:"󰉜"}.mdi-food-variant-off:before{content:"󱏥"}.mdi-foot-print:before{content:"󰽒"}.mdi-football:before{content:"󰉝"}.mdi-football-australian:before{content:"󰉞"}.mdi-football-helmet:before{content:"󰉟"}.mdi-forest:before{content:"󱢗"}.mdi-forest-outline:before{content:"󱱣"}.mdi-forklift:before{content:"󰟉"}.mdi-form-dropdown:before{content:"󱐀"}.mdi-form-select:before{content:"󱐁"}.mdi-form-textarea:before{content:"󱂕"}.mdi-form-textbox:before{content:"󰘎"}.mdi-form-textbox-lock:before{content:"󱍝"}.mdi-form-textbox-password:before{content:"󰟵"}.mdi-format-align-bottom:before{content:"󰝓"}.mdi-format-align-center:before{content:"󰉠"}.mdi-format-align-justify:before{content:"󰉡"}.mdi-format-align-left:before{content:"󰉢"}.mdi-format-align-middle:before{content:"󰝔"}.mdi-format-align-right:before{content:"󰉣"}.mdi-format-align-top:before{content:"󰝕"}.mdi-format-annotation-minus:before{content:"󰪼"}.mdi-format-annotation-plus:before{content:"󰙆"}.mdi-format-bold:before{content:"󰉤"}.mdi-format-clear:before{content:"󰉥"}.mdi-format-color-fill:before{content:"󰉦"}.mdi-format-color-highlight:before{content:"󰸱"}.mdi-format-color-marker-cancel:before{content:"󱌓"}.mdi-format-color-text:before{content:"󰚞"}.mdi-format-columns:before{content:"󰣟"}.mdi-format-float-center:before{content:"󰉧"}.mdi-format-float-left:before{content:"󰉨"}.mdi-format-float-none:before{content:"󰉩"}.mdi-format-float-right:before{content:"󰉪"}.mdi-format-font:before{content:"󰛖"}.mdi-format-font-size-decrease:before{content:"󰧳"}.mdi-format-font-size-increase:before{content:"󰧴"}.mdi-format-header-1:before{content:"󰉫"}.mdi-format-header-2:before{content:"󰉬"}.mdi-format-header-3:before{content:"󰉭"}.mdi-format-header-4:before{content:"󰉮"}.mdi-format-header-5:before{content:"󰉯"}.mdi-format-header-6:before{content:"󰉰"}.mdi-format-header-decrease:before{content:"󰉱"}.mdi-format-header-equal:before{content:"󰉲"}.mdi-format-header-increase:before{content:"󰉳"}.mdi-format-header-pound:before{content:"󰉴"}.mdi-format-horizontal-align-center:before{content:"󰘞"}.mdi-format-horizontal-align-left:before{content:"󰘟"}.mdi-format-horizontal-align-right:before{content:"󰘠"}.mdi-format-indent-decrease:before{content:"󰉵"}.mdi-format-indent-increase:before{content:"󰉶"}.mdi-format-italic:before{content:"󰉷"}.mdi-format-letter-case:before{content:"󰬴"}.mdi-format-letter-case-lower:before{content:"󰬵"}.mdi-format-letter-case-upper:before{content:"󰬶"}.mdi-format-letter-ends-with:before{content:"󰾸"}.mdi-format-letter-matches:before{content:"󰾹"}.mdi-format-letter-spacing:before{content:"󱥖"}.mdi-format-letter-spacing-variant:before{content:"󱫻"}.mdi-format-letter-starts-with:before{content:"󰾺"}.mdi-format-line-height:before{content:"󱫼"}.mdi-format-line-spacing:before{content:"󰉸"}.mdi-format-line-style:before{content:"󰗈"}.mdi-format-line-weight:before{content:"󰗉"}.mdi-format-list-bulleted:before{content:"󰉹"}.mdi-format-list-bulleted-square:before{content:"󰷐"}.mdi-format-list-bulleted-triangle:before{content:"󰺲"}.mdi-format-list-bulleted-type:before{content:"󰉺"}.mdi-format-list-checkbox:before{content:"󰥪"}.mdi-format-list-checks:before{content:"󰝖"}.mdi-format-list-group:before{content:"󱡠"}.mdi-format-list-group-plus:before{content:"󱭖"}.mdi-format-list-numbered:before{content:"󰉻"}.mdi-format-list-numbered-rtl:before{content:"󰴍"}.mdi-format-list-text:before{content:"󱉯"}.mdi-format-overline:before{content:"󰺳"}.mdi-format-page-break:before{content:"󰛗"}.mdi-format-page-split:before{content:"󱤗"}.mdi-format-paint:before{content:"󰉼"}.mdi-format-paragraph:before{content:"󰉽"}.mdi-format-paragraph-spacing:before{content:"󱫽"}.mdi-format-pilcrow:before{content:"󰛘"}.mdi-format-pilcrow-arrow-left:before{content:"󰊆"}.mdi-format-pilcrow-arrow-right:before{content:"󰊅"}.mdi-format-quote-close:before{content:"󰉾"}.mdi-format-quote-close-outline:before{content:"󱆨"}.mdi-format-quote-open:before{content:"󰝗"}.mdi-format-quote-open-outline:before{content:"󱆧"}.mdi-format-rotate-90:before{content:"󰚪"}.mdi-format-section:before{content:"󰚟"}.mdi-format-size:before{content:"󰉿"}.mdi-format-strikethrough:before{content:"󰊀"}.mdi-format-strikethrough-variant:before{content:"󰊁"}.mdi-format-subscript:before{content:"󰊂"}.mdi-format-superscript:before{content:"󰊃"}.mdi-format-text:before{content:"󰊄"}.mdi-format-text-rotation-angle-down:before{content:"󰾻"}.mdi-format-text-rotation-angle-up:before{content:"󰾼"}.mdi-format-text-rotation-down:before{content:"󰵳"}.mdi-format-text-rotation-down-vertical:before{content:"󰾽"}.mdi-format-text-rotation-none:before{content:"󰵴"}.mdi-format-text-rotation-up:before{content:"󰾾"}.mdi-format-text-rotation-vertical:before{content:"󰾿"}.mdi-format-text-variant:before{content:"󰸲"}.mdi-format-text-variant-outline:before{content:"󱔏"}.mdi-format-text-wrapping-clip:before{content:"󰴎"}.mdi-format-text-wrapping-overflow:before{content:"󰴏"}.mdi-format-text-wrapping-wrap:before{content:"󰴐"}.mdi-format-textbox:before{content:"󰴑"}.mdi-format-title:before{content:"󰗴"}.mdi-format-underline:before{content:"󰊇"}.mdi-format-underline-wavy:before{content:"󱣩"}.mdi-format-vertical-align-bottom:before{content:"󰘡"}.mdi-format-vertical-align-center:before{content:"󰘢"}.mdi-format-vertical-align-top:before{content:"󰘣"}.mdi-format-wrap-inline:before{content:"󰊈"}.mdi-format-wrap-square:before{content:"󰊉"}.mdi-format-wrap-tight:before{content:"󰊊"}.mdi-format-wrap-top-bottom:before{content:"󰊋"}.mdi-forum:before{content:"󰊌"}.mdi-forum-minus:before{content:"󱪩"}.mdi-forum-minus-outline:before{content:"󱪪"}.mdi-forum-outline:before{content:"󰠢"}.mdi-forum-plus:before{content:"󱪫"}.mdi-forum-plus-outline:before{content:"󱪬"}.mdi-forum-remove:before{content:"󱪭"}.mdi-forum-remove-outline:before{content:"󱪮"}.mdi-forward:before{content:"󰊍"}.mdi-forwardburger:before{content:"󰵵"}.mdi-fountain:before{content:"󰥫"}.mdi-fountain-pen:before{content:"󰴒"}.mdi-fountain-pen-tip:before{content:"󰴓"}.mdi-fraction-one-half:before{content:"󱦒"}.mdi-freebsd:before{content:"󰣠"}.mdi-french-fries:before{content:"󱥗"}.mdi-frequently-asked-questions:before{content:"󰺴"}.mdi-fridge:before{content:"󰊐"}.mdi-fridge-alert:before{content:"󱆱"}.mdi-fridge-alert-outline:before{content:"󱆲"}.mdi-fridge-bottom:before{content:"󰊒"}.mdi-fridge-industrial:before{content:"󱗮"}.mdi-fridge-industrial-alert:before{content:"󱗯"}.mdi-fridge-industrial-alert-outline:before{content:"󱗰"}.mdi-fridge-industrial-off:before{content:"󱗱"}.mdi-fridge-industrial-off-outline:before{content:"󱗲"}.mdi-fridge-industrial-outline:before{content:"󱗳"}.mdi-fridge-off:before{content:"󱆯"}.mdi-fridge-off-outline:before{content:"󱆰"}.mdi-fridge-outline:before{content:"󰊏"}.mdi-fridge-top:before{content:"󰊑"}.mdi-fridge-variant:before{content:"󱗴"}.mdi-fridge-variant-alert:before{content:"󱗵"}.mdi-fridge-variant-alert-outline:before{content:"󱗶"}.mdi-fridge-variant-off:before{content:"󱗷"}.mdi-fridge-variant-off-outline:before{content:"󱗸"}.mdi-fridge-variant-outline:before{content:"󱗹"}.mdi-fruit-cherries:before{content:"󱁂"}.mdi-fruit-cherries-off:before{content:"󱏸"}.mdi-fruit-citrus:before{content:"󱁃"}.mdi-fruit-citrus-off:before{content:"󱏹"}.mdi-fruit-grapes:before{content:"󱁄"}.mdi-fruit-grapes-outline:before{content:"󱁅"}.mdi-fruit-pear:before{content:"󱨎"}.mdi-fruit-pineapple:before{content:"󱁆"}.mdi-fruit-watermelon:before{content:"󱁇"}.mdi-fuel:before{content:"󰟊"}.mdi-fuel-cell:before{content:"󱢵"}.mdi-fullscreen:before{content:"󰊓"}.mdi-fullscreen-exit:before{content:"󰊔"}.mdi-function:before{content:"󰊕"}.mdi-function-variant:before{content:"󰡱"}.mdi-furigana-horizontal:before{content:"󱂁"}.mdi-furigana-vertical:before{content:"󱂂"}.mdi-fuse:before{content:"󰲅"}.mdi-fuse-alert:before{content:"󱐭"}.mdi-fuse-blade:before{content:"󰲆"}.mdi-fuse-off:before{content:"󱐬"}.mdi-gamepad:before{content:"󰊖"}.mdi-gamepad-circle:before{content:"󰸳"}.mdi-gamepad-circle-down:before{content:"󰸴"}.mdi-gamepad-circle-left:before{content:"󰸵"}.mdi-gamepad-circle-outline:before{content:"󰸶"}.mdi-gamepad-circle-right:before{content:"󰸷"}.mdi-gamepad-circle-up:before{content:"󰸸"}.mdi-gamepad-down:before{content:"󰸹"}.mdi-gamepad-left:before{content:"󰸺"}.mdi-gamepad-outline:before{content:"󱤙"}.mdi-gamepad-right:before{content:"󰸻"}.mdi-gamepad-round:before{content:"󰸼"}.mdi-gamepad-round-down:before{content:"󰸽"}.mdi-gamepad-round-left:before{content:"󰸾"}.mdi-gamepad-round-outline:before{content:"󰸿"}.mdi-gamepad-round-right:before{content:"󰹀"}.mdi-gamepad-round-up:before{content:"󰹁"}.mdi-gamepad-square:before{content:"󰺵"}.mdi-gamepad-square-outline:before{content:"󰺶"}.mdi-gamepad-up:before{content:"󰹂"}.mdi-gamepad-variant:before{content:"󰊗"}.mdi-gamepad-variant-outline:before{content:"󰺷"}.mdi-gamma:before{content:"󱃮"}.mdi-gantry-crane:before{content:"󰷑"}.mdi-garage:before{content:"󰛙"}.mdi-garage-alert:before{content:"󰡲"}.mdi-garage-alert-variant:before{content:"󱋕"}.mdi-garage-lock:before{content:"󱟻"}.mdi-garage-open:before{content:"󰛚"}.mdi-garage-open-variant:before{content:"󱋔"}.mdi-garage-variant:before{content:"󱋓"}.mdi-garage-variant-lock:before{content:"󱟼"}.mdi-gas-burner:before{content:"󱨛"}.mdi-gas-cylinder:before{content:"󰙇"}.mdi-gas-station:before{content:"󰊘"}.mdi-gas-station-off:before{content:"󱐉"}.mdi-gas-station-off-outline:before{content:"󱐊"}.mdi-gas-station-outline:before{content:"󰺸"}.mdi-gate:before{content:"󰊙"}.mdi-gate-alert:before{content:"󱟸"}.mdi-gate-and:before{content:"󰣡"}.mdi-gate-arrow-left:before{content:"󱟷"}.mdi-gate-arrow-right:before{content:"󱅩"}.mdi-gate-buffer:before{content:"󱫾"}.mdi-gate-nand:before{content:"󰣢"}.mdi-gate-nor:before{content:"󰣣"}.mdi-gate-not:before{content:"󰣤"}.mdi-gate-open:before{content:"󱅪"}.mdi-gate-or:before{content:"󰣥"}.mdi-gate-xnor:before{content:"󰣦"}.mdi-gate-xor:before{content:"󰣧"}.mdi-gatsby:before{content:"󰹃"}.mdi-gauge:before{content:"󰊚"}.mdi-gauge-empty:before{content:"󰡳"}.mdi-gauge-full:before{content:"󰡴"}.mdi-gauge-low:before{content:"󰡵"}.mdi-gavel:before{content:"󰊛"}.mdi-gender-female:before{content:"󰊜"}.mdi-gender-male:before{content:"󰊝"}.mdi-gender-male-female:before{content:"󰊞"}.mdi-gender-male-female-variant:before{content:"󱄿"}.mdi-gender-non-binary:before{content:"󱅀"}.mdi-gender-transgender:before{content:"󰊟"}.mdi-gentoo:before{content:"󰣨"}.mdi-gesture:before{content:"󰟋"}.mdi-gesture-double-tap:before{content:"󰜼"}.mdi-gesture-pinch:before{content:"󰪽"}.mdi-gesture-spread:before{content:"󰪾"}.mdi-gesture-swipe:before{content:"󰵶"}.mdi-gesture-swipe-down:before{content:"󰜽"}.mdi-gesture-swipe-horizontal:before{content:"󰪿"}.mdi-gesture-swipe-left:before{content:"󰜾"}.mdi-gesture-swipe-right:before{content:"󰜿"}.mdi-gesture-swipe-up:before{content:"󰝀"}.mdi-gesture-swipe-vertical:before{content:"󰫀"}.mdi-gesture-tap:before{content:"󰝁"}.mdi-gesture-tap-box:before{content:"󱊩"}.mdi-gesture-tap-button:before{content:"󱊨"}.mdi-gesture-tap-hold:before{content:"󰵷"}.mdi-gesture-two-double-tap:before{content:"󰝂"}.mdi-gesture-two-tap:before{content:"󰝃"}.mdi-ghost:before{content:"󰊠"}.mdi-ghost-off:before{content:"󰧵"}.mdi-ghost-off-outline:before{content:"󱙜"}.mdi-ghost-outline:before{content:"󱙝"}.mdi-gift:before{content:"󰹄"}.mdi-gift-off:before{content:"󱛯"}.mdi-gift-off-outline:before{content:"󱛰"}.mdi-gift-open:before{content:"󱛱"}.mdi-gift-open-outline:before{content:"󱛲"}.mdi-gift-outline:before{content:"󰊡"}.mdi-git:before{content:"󰊢"}.mdi-github:before{content:"󰊤"}.mdi-gitlab:before{content:"󰮠"}.mdi-glass-cocktail:before{content:"󰍖"}.mdi-glass-cocktail-off:before{content:"󱗦"}.mdi-glass-flute:before{content:"󰊥"}.mdi-glass-fragile:before{content:"󱡳"}.mdi-glass-mug:before{content:"󰊦"}.mdi-glass-mug-off:before{content:"󱗧"}.mdi-glass-mug-variant:before{content:"󱄖"}.mdi-glass-mug-variant-off:before{content:"󱗨"}.mdi-glass-pint-outline:before{content:"󱌍"}.mdi-glass-stange:before{content:"󰊧"}.mdi-glass-tulip:before{content:"󰊨"}.mdi-glass-wine:before{content:"󰡶"}.mdi-glasses:before{content:"󰊪"}.mdi-globe-light:before{content:"󰙯"}.mdi-globe-light-outline:before{content:"󱋗"}.mdi-globe-model:before{content:"󰣩"}.mdi-gmail:before{content:"󰊫"}.mdi-gnome:before{content:"󰊬"}.mdi-go-kart:before{content:"󰵹"}.mdi-go-kart-track:before{content:"󰵺"}.mdi-gog:before{content:"󰮡"}.mdi-gold:before{content:"󱉏"}.mdi-golf:before{content:"󰠣"}.mdi-golf-cart:before{content:"󱆤"}.mdi-golf-tee:before{content:"󱂃"}.mdi-gondola:before{content:"󰚆"}.mdi-goodreads:before{content:"󰵻"}.mdi-google:before{content:"󰊭"}.mdi-google-ads:before{content:"󰲇"}.mdi-google-analytics:before{content:"󰟌"}.mdi-google-assistant:before{content:"󰟍"}.mdi-google-cardboard:before{content:"󰊮"}.mdi-google-chrome:before{content:"󰊯"}.mdi-google-circles:before{content:"󰊰"}.mdi-google-circles-communities:before{content:"󰊱"}.mdi-google-circles-extended:before{content:"󰊲"}.mdi-google-circles-group:before{content:"󰊳"}.mdi-google-classroom:before{content:"󰋀"}.mdi-google-cloud:before{content:"󱇶"}.mdi-google-downasaur:before{content:"󱍢"}.mdi-google-drive:before{content:"󰊶"}.mdi-google-earth:before{content:"󰊷"}.mdi-google-fit:before{content:"󰥬"}.mdi-google-glass:before{content:"󰊸"}.mdi-google-hangouts:before{content:"󰋉"}.mdi-google-keep:before{content:"󰛜"}.mdi-google-lens:before{content:"󰧶"}.mdi-google-maps:before{content:"󰗵"}.mdi-google-my-business:before{content:"󱁈"}.mdi-google-nearby:before{content:"󰊹"}.mdi-google-play:before{content:"󰊼"}.mdi-google-plus:before{content:"󰊽"}.mdi-google-podcast:before{content:"󰺹"}.mdi-google-spreadsheet:before{content:"󰧷"}.mdi-google-street-view:before{content:"󰲈"}.mdi-google-translate:before{content:"󰊿"}.mdi-gradient-horizontal:before{content:"󱝊"}.mdi-gradient-vertical:before{content:"󰚠"}.mdi-grain:before{content:"󰵼"}.mdi-graph:before{content:"󱁉"}.mdi-graph-outline:before{content:"󱁊"}.mdi-graphql:before{content:"󰡷"}.mdi-grass:before{content:"󱔐"}.mdi-grave-stone:before{content:"󰮢"}.mdi-grease-pencil:before{content:"󰙈"}.mdi-greater-than:before{content:"󰥭"}.mdi-greater-than-or-equal:before{content:"󰥮"}.mdi-greenhouse:before{content:"󰀭"}.mdi-grid:before{content:"󰋁"}.mdi-grid-large:before{content:"󰝘"}.mdi-grid-off:before{content:"󰋂"}.mdi-grill:before{content:"󰹅"}.mdi-grill-outline:before{content:"󱆊"}.mdi-group:before{content:"󰋃"}.mdi-guitar-acoustic:before{content:"󰝱"}.mdi-guitar-electric:before{content:"󰋄"}.mdi-guitar-pick:before{content:"󰋅"}.mdi-guitar-pick-outline:before{content:"󰋆"}.mdi-guy-fawkes-mask:before{content:"󰠥"}.mdi-gymnastics:before{content:"󱩁"}.mdi-hail:before{content:"󰫁"}.mdi-hair-dryer:before{content:"󱃯"}.mdi-hair-dryer-outline:before{content:"󱃰"}.mdi-halloween:before{content:"󰮣"}.mdi-hamburger:before{content:"󰚅"}.mdi-hamburger-check:before{content:"󱝶"}.mdi-hamburger-minus:before{content:"󱝷"}.mdi-hamburger-off:before{content:"󱝸"}.mdi-hamburger-plus:before{content:"󱝹"}.mdi-hamburger-remove:before{content:"󱝺"}.mdi-hammer:before{content:"󰣪"}.mdi-hammer-screwdriver:before{content:"󱌢"}.mdi-hammer-sickle:before{content:"󱢇"}.mdi-hammer-wrench:before{content:"󱌣"}.mdi-hand-back-left:before{content:"󰹆"}.mdi-hand-back-left-off:before{content:"󱠰"}.mdi-hand-back-left-off-outline:before{content:"󱠲"}.mdi-hand-back-left-outline:before{content:"󱠬"}.mdi-hand-back-right:before{content:"󰹇"}.mdi-hand-back-right-off:before{content:"󱠱"}.mdi-hand-back-right-off-outline:before{content:"󱠳"}.mdi-hand-back-right-outline:before{content:"󱠭"}.mdi-hand-clap:before{content:"󱥋"}.mdi-hand-clap-off:before{content:"󱩂"}.mdi-hand-coin:before{content:"󱢏"}.mdi-hand-coin-outline:before{content:"󱢐"}.mdi-hand-cycle:before{content:"󱮜"}.mdi-hand-extended:before{content:"󱢶"}.mdi-hand-extended-outline:before{content:"󱢷"}.mdi-hand-front-left:before{content:"󱠫"}.mdi-hand-front-left-outline:before{content:"󱠮"}.mdi-hand-front-right:before{content:"󰩏"}.mdi-hand-front-right-outline:before{content:"󱠯"}.mdi-hand-heart:before{content:"󱃱"}.mdi-hand-heart-outline:before{content:"󱕾"}.mdi-hand-okay:before{content:"󰩐"}.mdi-hand-peace:before{content:"󰩑"}.mdi-hand-peace-variant:before{content:"󰩒"}.mdi-hand-pointing-down:before{content:"󰩓"}.mdi-hand-pointing-left:before{content:"󰩔"}.mdi-hand-pointing-right:before{content:"󰋇"}.mdi-hand-pointing-up:before{content:"󰩕"}.mdi-hand-saw:before{content:"󰹈"}.mdi-hand-wash:before{content:"󱕿"}.mdi-hand-wash-outline:before{content:"󱖀"}.mdi-hand-water:before{content:"󱎟"}.mdi-hand-wave:before{content:"󱠡"}.mdi-hand-wave-outline:before{content:"󱠢"}.mdi-handball:before{content:"󰽓"}.mdi-handcuffs:before{content:"󱄾"}.mdi-hands-pray:before{content:"󰕹"}.mdi-handshake:before{content:"󱈘"}.mdi-handshake-outline:before{content:"󱖡"}.mdi-hanger:before{content:"󰋈"}.mdi-hard-hat:before{content:"󰥯"}.mdi-harddisk:before{content:"󰋊"}.mdi-harddisk-plus:before{content:"󱁋"}.mdi-harddisk-remove:before{content:"󱁌"}.mdi-hat-fedora:before{content:"󰮤"}.mdi-hazard-lights:before{content:"󰲉"}.mdi-hdmi-port:before{content:"󱮸"}.mdi-hdr:before{content:"󰵽"}.mdi-hdr-off:before{content:"󰵾"}.mdi-head:before{content:"󱍞"}.mdi-head-alert:before{content:"󱌸"}.mdi-head-alert-outline:before{content:"󱌹"}.mdi-head-check:before{content:"󱌺"}.mdi-head-check-outline:before{content:"󱌻"}.mdi-head-cog:before{content:"󱌼"}.mdi-head-cog-outline:before{content:"󱌽"}.mdi-head-dots-horizontal:before{content:"󱌾"}.mdi-head-dots-horizontal-outline:before{content:"󱌿"}.mdi-head-flash:before{content:"󱍀"}.mdi-head-flash-outline:before{content:"󱍁"}.mdi-head-heart:before{content:"󱍂"}.mdi-head-heart-outline:before{content:"󱍃"}.mdi-head-lightbulb:before{content:"󱍄"}.mdi-head-lightbulb-outline:before{content:"󱍅"}.mdi-head-minus:before{content:"󱍆"}.mdi-head-minus-outline:before{content:"󱍇"}.mdi-head-outline:before{content:"󱍟"}.mdi-head-plus:before{content:"󱍈"}.mdi-head-plus-outline:before{content:"󱍉"}.mdi-head-question:before{content:"󱍊"}.mdi-head-question-outline:before{content:"󱍋"}.mdi-head-remove:before{content:"󱍌"}.mdi-head-remove-outline:before{content:"󱍍"}.mdi-head-snowflake:before{content:"󱍎"}.mdi-head-snowflake-outline:before{content:"󱍏"}.mdi-head-sync:before{content:"󱍐"}.mdi-head-sync-outline:before{content:"󱍑"}.mdi-headphones:before{content:"󰋋"}.mdi-headphones-bluetooth:before{content:"󰥰"}.mdi-headphones-box:before{content:"󰋌"}.mdi-headphones-off:before{content:"󰟎"}.mdi-headphones-settings:before{content:"󰋍"}.mdi-headset:before{content:"󰋎"}.mdi-headset-dock:before{content:"󰋏"}.mdi-headset-off:before{content:"󰋐"}.mdi-heart:before{content:"󰋑"}.mdi-heart-box:before{content:"󰋒"}.mdi-heart-box-outline:before{content:"󰋓"}.mdi-heart-broken:before{content:"󰋔"}.mdi-heart-broken-outline:before{content:"󰴔"}.mdi-heart-circle:before{content:"󰥱"}.mdi-heart-circle-outline:before{content:"󰥲"}.mdi-heart-cog:before{content:"󱙣"}.mdi-heart-cog-outline:before{content:"󱙤"}.mdi-heart-flash:before{content:"󰻹"}.mdi-heart-half:before{content:"󰛟"}.mdi-heart-half-full:before{content:"󰛞"}.mdi-heart-half-outline:before{content:"󰛠"}.mdi-heart-minus:before{content:"󱐯"}.mdi-heart-minus-outline:before{content:"󱐲"}.mdi-heart-multiple:before{content:"󰩖"}.mdi-heart-multiple-outline:before{content:"󰩗"}.mdi-heart-off:before{content:"󰝙"}.mdi-heart-off-outline:before{content:"󱐴"}.mdi-heart-outline:before{content:"󰋕"}.mdi-heart-plus:before{content:"󱐮"}.mdi-heart-plus-outline:before{content:"󱐱"}.mdi-heart-pulse:before{content:"󰗶"}.mdi-heart-remove:before{content:"󱐰"}.mdi-heart-remove-outline:before{content:"󱐳"}.mdi-heart-settings:before{content:"󱙥"}.mdi-heart-settings-outline:before{content:"󱙦"}.mdi-heat-pump:before{content:"󱩃"}.mdi-heat-pump-outline:before{content:"󱩄"}.mdi-heat-wave:before{content:"󱩅"}.mdi-heating-coil:before{content:"󱪯"}.mdi-helicopter:before{content:"󰫂"}.mdi-help:before{content:"󰋖"}.mdi-help-box:before{content:"󰞋"}.mdi-help-box-multiple:before{content:"󱰊"}.mdi-help-box-multiple-outline:before{content:"󱰋"}.mdi-help-box-outline:before{content:"󱰌"}.mdi-help-circle:before{content:"󰋗"}.mdi-help-circle-outline:before{content:"󰘥"}.mdi-help-network:before{content:"󰛵"}.mdi-help-network-outline:before{content:"󰲊"}.mdi-help-rhombus:before{content:"󰮥"}.mdi-help-rhombus-outline:before{content:"󰮦"}.mdi-hexadecimal:before{content:"󱊧"}.mdi-hexagon:before{content:"󰋘"}.mdi-hexagon-multiple:before{content:"󰛡"}.mdi-hexagon-multiple-outline:before{content:"󱃲"}.mdi-hexagon-outline:before{content:"󰋙"}.mdi-hexagon-slice-1:before{content:"󰫃"}.mdi-hexagon-slice-2:before{content:"󰫄"}.mdi-hexagon-slice-3:before{content:"󰫅"}.mdi-hexagon-slice-4:before{content:"󰫆"}.mdi-hexagon-slice-5:before{content:"󰫇"}.mdi-hexagon-slice-6:before{content:"󰫈"}.mdi-hexagram:before{content:"󰫉"}.mdi-hexagram-outline:before{content:"󰫊"}.mdi-high-definition:before{content:"󰟏"}.mdi-high-definition-box:before{content:"󰡸"}.mdi-highway:before{content:"󰗷"}.mdi-hiking:before{content:"󰵿"}.mdi-history:before{content:"󰋚"}.mdi-hockey-puck:before{content:"󰡹"}.mdi-hockey-sticks:before{content:"󰡺"}.mdi-hololens:before{content:"󰋛"}.mdi-home:before{content:"󰋜"}.mdi-home-account:before{content:"󰠦"}.mdi-home-alert:before{content:"󰡻"}.mdi-home-alert-outline:before{content:"󱗐"}.mdi-home-analytics:before{content:"󰺺"}.mdi-home-assistant:before{content:"󰟐"}.mdi-home-automation:before{content:"󰟑"}.mdi-home-battery:before{content:"󱤁"}.mdi-home-battery-outline:before{content:"󱤂"}.mdi-home-circle:before{content:"󰟒"}.mdi-home-circle-outline:before{content:"󱁍"}.mdi-home-city:before{content:"󰴕"}.mdi-home-city-outline:before{content:"󰴖"}.mdi-home-clock:before{content:"󱨒"}.mdi-home-clock-outline:before{content:"󱨓"}.mdi-home-edit:before{content:"󱅙"}.mdi-home-edit-outline:before{content:"󱅚"}.mdi-home-export-outline:before{content:"󰾛"}.mdi-home-flood:before{content:"󰻺"}.mdi-home-floor-0:before{content:"󰷒"}.mdi-home-floor-1:before{content:"󰶀"}.mdi-home-floor-2:before{content:"󰶁"}.mdi-home-floor-3:before{content:"󰶂"}.mdi-home-floor-a:before{content:"󰶃"}.mdi-home-floor-b:before{content:"󰶄"}.mdi-home-floor-g:before{content:"󰶅"}.mdi-home-floor-l:before{content:"󰶆"}.mdi-home-floor-negative-1:before{content:"󰷓"}.mdi-home-group:before{content:"󰷔"}.mdi-home-group-minus:before{content:"󱧁"}.mdi-home-group-plus:before{content:"󱧀"}.mdi-home-group-remove:before{content:"󱧂"}.mdi-home-heart:before{content:"󰠧"}.mdi-home-import-outline:before{content:"󰾜"}.mdi-home-lightbulb:before{content:"󱉑"}.mdi-home-lightbulb-outline:before{content:"󱉒"}.mdi-home-lightning-bolt:before{content:"󱤃"}.mdi-home-lightning-bolt-outline:before{content:"󱤄"}.mdi-home-lock:before{content:"󰣫"}.mdi-home-lock-open:before{content:"󰣬"}.mdi-home-map-marker:before{content:"󰗸"}.mdi-home-minus:before{content:"󰥴"}.mdi-home-minus-outline:before{content:"󱏕"}.mdi-home-modern:before{content:"󰋝"}.mdi-home-off:before{content:"󱩆"}.mdi-home-off-outline:before{content:"󱩇"}.mdi-home-outline:before{content:"󰚡"}.mdi-home-percent:before{content:"󱱼"}.mdi-home-percent-outline:before{content:"󱱽"}.mdi-home-plus:before{content:"󰥵"}.mdi-home-plus-outline:before{content:"󱏖"}.mdi-home-remove:before{content:"󱉇"}.mdi-home-remove-outline:before{content:"󱏗"}.mdi-home-roof:before{content:"󱄫"}.mdi-home-search:before{content:"󱎰"}.mdi-home-search-outline:before{content:"󱎱"}.mdi-home-silo:before{content:"󱮠"}.mdi-home-silo-outline:before{content:"󱮡"}.mdi-home-sound-in:before{content:"󱰯"}.mdi-home-sound-in-outline:before{content:"󱰰"}.mdi-home-sound-out:before{content:"󱰱"}.mdi-home-sound-out-outline:before{content:"󱰲"}.mdi-home-switch:before{content:"󱞔"}.mdi-home-switch-outline:before{content:"󱞕"}.mdi-home-thermometer:before{content:"󰽔"}.mdi-home-thermometer-outline:before{content:"󰽕"}.mdi-home-variant:before{content:"󰋞"}.mdi-home-variant-outline:before{content:"󰮧"}.mdi-hook:before{content:"󰛢"}.mdi-hook-off:before{content:"󰛣"}.mdi-hoop-house:before{content:"󰹖"}.mdi-hops:before{content:"󰋟"}.mdi-horizontal-rotate-clockwise:before{content:"󱃳"}.mdi-horizontal-rotate-counterclockwise:before{content:"󱃴"}.mdi-horse:before{content:"󱖿"}.mdi-horse-human:before{content:"󱗀"}.mdi-horse-variant:before{content:"󱗁"}.mdi-horse-variant-fast:before{content:"󱡮"}.mdi-horseshoe:before{content:"󰩘"}.mdi-hospital:before{content:"󰿶"}.mdi-hospital-box:before{content:"󰋠"}.mdi-hospital-box-outline:before{content:"󰿷"}.mdi-hospital-building:before{content:"󰋡"}.mdi-hospital-marker:before{content:"󰋢"}.mdi-hot-tub:before{content:"󰠨"}.mdi-hours-24:before{content:"󱑸"}.mdi-hubspot:before{content:"󰴗"}.mdi-hulu:before{content:"󰠩"}.mdi-human:before{content:"󰋦"}.mdi-human-baby-changing-table:before{content:"󱎋"}.mdi-human-cane:before{content:"󱖁"}.mdi-human-capacity-decrease:before{content:"󱖛"}.mdi-human-capacity-increase:before{content:"󱖜"}.mdi-human-child:before{content:"󰋧"}.mdi-human-dolly:before{content:"󱦀"}.mdi-human-edit:before{content:"󱓨"}.mdi-human-female:before{content:"󰙉"}.mdi-human-female-boy:before{content:"󰩙"}.mdi-human-female-dance:before{content:"󱗉"}.mdi-human-female-female:before{content:"󰩚"}.mdi-human-female-girl:before{content:"󰩛"}.mdi-human-greeting:before{content:"󱟄"}.mdi-human-greeting-proximity:before{content:"󱖝"}.mdi-human-greeting-variant:before{content:"󰙊"}.mdi-human-handsdown:before{content:"󰙋"}.mdi-human-handsup:before{content:"󰙌"}.mdi-human-male:before{content:"󰙍"}.mdi-human-male-board:before{content:"󰢐"}.mdi-human-male-board-poll:before{content:"󰡆"}.mdi-human-male-boy:before{content:"󰩜"}.mdi-human-male-child:before{content:"󱎌"}.mdi-human-male-female:before{content:"󰋨"}.mdi-human-male-female-child:before{content:"󱠣"}.mdi-human-male-girl:before{content:"󰩝"}.mdi-human-male-height:before{content:"󰻻"}.mdi-human-male-height-variant:before{content:"󰻼"}.mdi-human-male-male:before{content:"󰩞"}.mdi-human-non-binary:before{content:"󱡈"}.mdi-human-pregnant:before{content:"󰗏"}.mdi-human-queue:before{content:"󱕱"}.mdi-human-scooter:before{content:"󱇩"}.mdi-human-walker:before{content:"󱭱"}.mdi-human-wheelchair:before{content:"󱎍"}.mdi-human-white-cane:before{content:"󱦁"}.mdi-humble-bundle:before{content:"󰝄"}.mdi-hvac:before{content:"󱍒"}.mdi-hvac-off:before{content:"󱖞"}.mdi-hydraulic-oil-level:before{content:"󱌤"}.mdi-hydraulic-oil-temperature:before{content:"󱌥"}.mdi-hydro-power:before{content:"󱋥"}.mdi-hydrogen-station:before{content:"󱢔"}.mdi-ice-cream:before{content:"󰠪"}.mdi-ice-cream-off:before{content:"󰹒"}.mdi-ice-pop:before{content:"󰻽"}.mdi-id-card:before{content:"󰿀"}.mdi-identifier:before{content:"󰻾"}.mdi-ideogram-cjk:before{content:"󱌱"}.mdi-ideogram-cjk-variant:before{content:"󱌲"}.mdi-image:before{content:"󰋩"}.mdi-image-album:before{content:"󰋪"}.mdi-image-area:before{content:"󰋫"}.mdi-image-area-close:before{content:"󰋬"}.mdi-image-auto-adjust:before{content:"󰿁"}.mdi-image-broken:before{content:"󰋭"}.mdi-image-broken-variant:before{content:"󰋮"}.mdi-image-check:before{content:"󱬥"}.mdi-image-check-outline:before{content:"󱬦"}.mdi-image-edit:before{content:"󱇣"}.mdi-image-edit-outline:before{content:"󱇤"}.mdi-image-filter-black-white:before{content:"󰋰"}.mdi-image-filter-center-focus:before{content:"󰋱"}.mdi-image-filter-center-focus-strong:before{content:"󰻿"}.mdi-image-filter-center-focus-strong-outline:before{content:"󰼀"}.mdi-image-filter-center-focus-weak:before{content:"󰋲"}.mdi-image-filter-drama:before{content:"󰋳"}.mdi-image-filter-drama-outline:before{content:"󱯿"}.mdi-image-filter-frames:before{content:"󰋴"}.mdi-image-filter-hdr:before{content:"󰋵"}.mdi-image-filter-hdr-outline:before{content:"󱱤"}.mdi-image-filter-none:before{content:"󰋶"}.mdi-image-filter-tilt-shift:before{content:"󰋷"}.mdi-image-filter-vintage:before{content:"󰋸"}.mdi-image-frame:before{content:"󰹉"}.mdi-image-lock:before{content:"󱪰"}.mdi-image-lock-outline:before{content:"󱪱"}.mdi-image-marker:before{content:"󱝻"}.mdi-image-marker-outline:before{content:"󱝼"}.mdi-image-minus:before{content:"󱐙"}.mdi-image-minus-outline:before{content:"󱭇"}.mdi-image-move:before{content:"󰧸"}.mdi-image-multiple:before{content:"󰋹"}.mdi-image-multiple-outline:before{content:"󰋯"}.mdi-image-off:before{content:"󰠫"}.mdi-image-off-outline:before{content:"󱇑"}.mdi-image-outline:before{content:"󰥶"}.mdi-image-plus:before{content:"󰡼"}.mdi-image-plus-outline:before{content:"󱭆"}.mdi-image-refresh:before{content:"󱧾"}.mdi-image-refresh-outline:before{content:"󱧿"}.mdi-image-remove:before{content:"󱐘"}.mdi-image-remove-outline:before{content:"󱭈"}.mdi-image-search:before{content:"󰥷"}.mdi-image-search-outline:before{content:"󰥸"}.mdi-image-size-select-actual:before{content:"󰲍"}.mdi-image-size-select-large:before{content:"󰲎"}.mdi-image-size-select-small:before{content:"󰲏"}.mdi-image-sync:before{content:"󱨀"}.mdi-image-sync-outline:before{content:"󱨁"}.mdi-image-text:before{content:"󱘍"}.mdi-import:before{content:"󰋺"}.mdi-inbox:before{content:"󰚇"}.mdi-inbox-arrow-down:before{content:"󰋻"}.mdi-inbox-arrow-down-outline:before{content:"󱉰"}.mdi-inbox-arrow-up:before{content:"󰏑"}.mdi-inbox-arrow-up-outline:before{content:"󱉱"}.mdi-inbox-full:before{content:"󱉲"}.mdi-inbox-full-outline:before{content:"󱉳"}.mdi-inbox-multiple:before{content:"󰢰"}.mdi-inbox-multiple-outline:before{content:"󰮨"}.mdi-inbox-outline:before{content:"󱉴"}.mdi-inbox-remove:before{content:"󱖟"}.mdi-inbox-remove-outline:before{content:"󱖠"}.mdi-incognito:before{content:"󰗹"}.mdi-incognito-circle:before{content:"󱐡"}.mdi-incognito-circle-off:before{content:"󱐢"}.mdi-incognito-off:before{content:"󰁵"}.mdi-induction:before{content:"󱡌"}.mdi-infinity:before{content:"󰛤"}.mdi-information:before{content:"󰋼"}.mdi-information-box:before{content:"󱱥"}.mdi-information-box-outline:before{content:"󱱦"}.mdi-information-off:before{content:"󱞌"}.mdi-information-off-outline:before{content:"󱞍"}.mdi-information-outline:before{content:"󰋽"}.mdi-information-slab-box:before{content:"󱱧"}.mdi-information-slab-box-outline:before{content:"󱱨"}.mdi-information-slab-circle:before{content:"󱱩"}.mdi-information-slab-circle-outline:before{content:"󱱪"}.mdi-information-slab-symbol:before{content:"󱱫"}.mdi-information-symbol:before{content:"󱱬"}.mdi-information-variant:before{content:"󰙎"}.mdi-information-variant-box:before{content:"󱱭"}.mdi-information-variant-box-outline:before{content:"󱱮"}.mdi-information-variant-circle:before{content:"󱱯"}.mdi-information-variant-circle-outline:before{content:"󱱰"}.mdi-instagram:before{content:"󰋾"}.mdi-instrument-triangle:before{content:"󱁎"}.mdi-integrated-circuit-chip:before{content:"󱤓"}.mdi-invert-colors:before{content:"󰌁"}.mdi-invert-colors-off:before{content:"󰹊"}.mdi-iobroker:before{content:"󱋨"}.mdi-ip:before{content:"󰩟"}.mdi-ip-network:before{content:"󰩠"}.mdi-ip-network-outline:before{content:"󰲐"}.mdi-ip-outline:before{content:"󱦂"}.mdi-ipod:before{content:"󰲑"}.mdi-iron:before{content:"󱠤"}.mdi-iron-board:before{content:"󱠸"}.mdi-iron-outline:before{content:"󱠥"}.mdi-island:before{content:"󱁏"}.mdi-iv-bag:before{content:"󱂹"}.mdi-jabber:before{content:"󰷕"}.mdi-jeepney:before{content:"󰌂"}.mdi-jellyfish:before{content:"󰼁"}.mdi-jellyfish-outline:before{content:"󰼂"}.mdi-jira:before{content:"󰌃"}.mdi-jquery:before{content:"󰡽"}.mdi-jsfiddle:before{content:"󰌄"}.mdi-jump-rope:before{content:"󱋿"}.mdi-kabaddi:before{content:"󰶇"}.mdi-kangaroo:before{content:"󱕘"}.mdi-karate:before{content:"󰠬"}.mdi-kayaking:before{content:"󰢯"}.mdi-keg:before{content:"󰌅"}.mdi-kettle:before{content:"󰗺"}.mdi-kettle-alert:before{content:"󱌗"}.mdi-kettle-alert-outline:before{content:"󱌘"}.mdi-kettle-off:before{content:"󱌛"}.mdi-kettle-off-outline:before{content:"󱌜"}.mdi-kettle-outline:before{content:"󰽖"}.mdi-kettle-pour-over:before{content:"󱜼"}.mdi-kettle-steam:before{content:"󱌙"}.mdi-kettle-steam-outline:before{content:"󱌚"}.mdi-kettlebell:before{content:"󱌀"}.mdi-key:before{content:"󰌆"}.mdi-key-alert:before{content:"󱦃"}.mdi-key-alert-outline:before{content:"󱦄"}.mdi-key-arrow-right:before{content:"󱌒"}.mdi-key-chain:before{content:"󱕴"}.mdi-key-chain-variant:before{content:"󱕵"}.mdi-key-change:before{content:"󰌇"}.mdi-key-link:before{content:"󱆟"}.mdi-key-minus:before{content:"󰌈"}.mdi-key-outline:before{content:"󰷖"}.mdi-key-plus:before{content:"󰌉"}.mdi-key-remove:before{content:"󰌊"}.mdi-key-star:before{content:"󱆞"}.mdi-key-variant:before{content:"󰌋"}.mdi-key-wireless:before{content:"󰿂"}.mdi-keyboard:before{content:"󰌌"}.mdi-keyboard-backspace:before{content:"󰌍"}.mdi-keyboard-caps:before{content:"󰌎"}.mdi-keyboard-close:before{content:"󰌏"}.mdi-keyboard-close-outline:before{content:"󱰀"}.mdi-keyboard-esc:before{content:"󱊷"}.mdi-keyboard-f1:before{content:"󱊫"}.mdi-keyboard-f10:before{content:"󱊴"}.mdi-keyboard-f11:before{content:"󱊵"}.mdi-keyboard-f12:before{content:"󱊶"}.mdi-keyboard-f2:before{content:"󱊬"}.mdi-keyboard-f3:before{content:"󱊭"}.mdi-keyboard-f4:before{content:"󱊮"}.mdi-keyboard-f5:before{content:"󱊯"}.mdi-keyboard-f6:before{content:"󱊰"}.mdi-keyboard-f7:before{content:"󱊱"}.mdi-keyboard-f8:before{content:"󱊲"}.mdi-keyboard-f9:before{content:"󱊳"}.mdi-keyboard-off:before{content:"󰌐"}.mdi-keyboard-off-outline:before{content:"󰹋"}.mdi-keyboard-outline:before{content:"󰥻"}.mdi-keyboard-return:before{content:"󰌑"}.mdi-keyboard-settings:before{content:"󰧹"}.mdi-keyboard-settings-outline:before{content:"󰧺"}.mdi-keyboard-space:before{content:"󱁐"}.mdi-keyboard-tab:before{content:"󰌒"}.mdi-keyboard-tab-reverse:before{content:"󰌥"}.mdi-keyboard-variant:before{content:"󰌓"}.mdi-khanda:before{content:"󱃽"}.mdi-kickstarter:before{content:"󰝅"}.mdi-kite:before{content:"󱦅"}.mdi-kite-outline:before{content:"󱦆"}.mdi-kitesurfing:before{content:"󱝄"}.mdi-klingon:before{content:"󱍛"}.mdi-knife:before{content:"󰧻"}.mdi-knife-military:before{content:"󰧼"}.mdi-knob:before{content:"󱮖"}.mdi-koala:before{content:"󱜿"}.mdi-kodi:before{content:"󰌔"}.mdi-kubernetes:before{content:"󱃾"}.mdi-label:before{content:"󰌕"}.mdi-label-multiple:before{content:"󱍵"}.mdi-label-multiple-outline:before{content:"󱍶"}.mdi-label-off:before{content:"󰫋"}.mdi-label-off-outline:before{content:"󰫌"}.mdi-label-outline:before{content:"󰌖"}.mdi-label-percent:before{content:"󱋪"}.mdi-label-percent-outline:before{content:"󱋫"}.mdi-label-variant:before{content:"󰫍"}.mdi-label-variant-outline:before{content:"󰫎"}.mdi-ladder:before{content:"󱖢"}.mdi-ladybug:before{content:"󰠭"}.mdi-lambda:before{content:"󰘧"}.mdi-lamp:before{content:"󰚵"}.mdi-lamp-outline:before{content:"󱟐"}.mdi-lamps:before{content:"󱕶"}.mdi-lamps-outline:before{content:"󱟑"}.mdi-lan:before{content:"󰌗"}.mdi-lan-check:before{content:"󱊪"}.mdi-lan-connect:before{content:"󰌘"}.mdi-lan-disconnect:before{content:"󰌙"}.mdi-lan-pending:before{content:"󰌚"}.mdi-land-fields:before{content:"󱪲"}.mdi-land-plots:before{content:"󱪳"}.mdi-land-plots-circle:before{content:"󱪴"}.mdi-land-plots-circle-variant:before{content:"󱪵"}.mdi-land-plots-marker:before{content:"󱱝"}.mdi-land-rows-horizontal:before{content:"󱪶"}.mdi-land-rows-vertical:before{content:"󱪷"}.mdi-landslide:before{content:"󱩈"}.mdi-landslide-outline:before{content:"󱩉"}.mdi-language-c:before{content:"󰙱"}.mdi-language-cpp:before{content:"󰙲"}.mdi-language-csharp:before{content:"󰌛"}.mdi-language-css3:before{content:"󰌜"}.mdi-language-fortran:before{content:"󱈚"}.mdi-language-go:before{content:"󰟓"}.mdi-language-haskell:before{content:"󰲒"}.mdi-language-html5:before{content:"󰌝"}.mdi-language-java:before{content:"󰬷"}.mdi-language-javascript:before{content:"󰌞"}.mdi-language-kotlin:before{content:"󱈙"}.mdi-language-lua:before{content:"󰢱"}.mdi-language-markdown:before{content:"󰍔"}.mdi-language-markdown-outline:before{content:"󰽛"}.mdi-language-php:before{content:"󰌟"}.mdi-language-python:before{content:"󰌠"}.mdi-language-r:before{content:"󰟔"}.mdi-language-ruby:before{content:"󰴭"}.mdi-language-ruby-on-rails:before{content:"󰫏"}.mdi-language-rust:before{content:"󱘗"}.mdi-language-swift:before{content:"󰛥"}.mdi-language-typescript:before{content:"󰛦"}.mdi-language-xaml:before{content:"󰙳"}.mdi-laptop:before{content:"󰌢"}.mdi-laptop-account:before{content:"󱩊"}.mdi-laptop-off:before{content:"󰛧"}.mdi-laravel:before{content:"󰫐"}.mdi-laser-pointer:before{content:"󱒄"}.mdi-lasso:before{content:"󰼃"}.mdi-lastpass:before{content:"󰑆"}.mdi-latitude:before{content:"󰽗"}.mdi-launch:before{content:"󰌧"}.mdi-lava-lamp:before{content:"󰟕"}.mdi-layers:before{content:"󰌨"}.mdi-layers-edit:before{content:"󱢒"}.mdi-layers-minus:before{content:"󰹌"}.mdi-layers-off:before{content:"󰌩"}.mdi-layers-off-outline:before{content:"󰧽"}.mdi-layers-outline:before{content:"󰧾"}.mdi-layers-plus:before{content:"󰹍"}.mdi-layers-remove:before{content:"󰹎"}.mdi-layers-search:before{content:"󱈆"}.mdi-layers-search-outline:before{content:"󱈇"}.mdi-layers-triple:before{content:"󰽘"}.mdi-layers-triple-outline:before{content:"󰽙"}.mdi-lead-pencil:before{content:"󰙏"}.mdi-leaf:before{content:"󰌪"}.mdi-leaf-circle:before{content:"󱤅"}.mdi-leaf-circle-outline:before{content:"󱤆"}.mdi-leaf-maple:before{content:"󰲓"}.mdi-leaf-maple-off:before{content:"󱋚"}.mdi-leaf-off:before{content:"󱋙"}.mdi-leak:before{content:"󰷗"}.mdi-leak-off:before{content:"󰷘"}.mdi-lectern:before{content:"󱫰"}.mdi-led-off:before{content:"󰌫"}.mdi-led-on:before{content:"󰌬"}.mdi-led-outline:before{content:"󰌭"}.mdi-led-strip:before{content:"󰟖"}.mdi-led-strip-variant:before{content:"󱁑"}.mdi-led-strip-variant-off:before{content:"󱩋"}.mdi-led-variant-off:before{content:"󰌮"}.mdi-led-variant-on:before{content:"󰌯"}.mdi-led-variant-outline:before{content:"󰌰"}.mdi-leek:before{content:"󱅽"}.mdi-less-than:before{content:"󰥼"}.mdi-less-than-or-equal:before{content:"󰥽"}.mdi-library:before{content:"󰌱"}.mdi-library-outline:before{content:"󱨢"}.mdi-library-shelves:before{content:"󰮩"}.mdi-license:before{content:"󰿃"}.mdi-lifebuoy:before{content:"󰡾"}.mdi-light-flood-down:before{content:"󱦇"}.mdi-light-flood-up:before{content:"󱦈"}.mdi-light-recessed:before{content:"󱞛"}.mdi-light-switch:before{content:"󰥾"}.mdi-light-switch-off:before{content:"󱨤"}.mdi-lightbulb:before{content:"󰌵"}.mdi-lightbulb-alert:before{content:"󱧡"}.mdi-lightbulb-alert-outline:before{content:"󱧢"}.mdi-lightbulb-auto:before{content:"󱠀"}.mdi-lightbulb-auto-outline:before{content:"󱠁"}.mdi-lightbulb-cfl:before{content:"󱈈"}.mdi-lightbulb-cfl-off:before{content:"󱈉"}.mdi-lightbulb-cfl-spiral:before{content:"󱉵"}.mdi-lightbulb-cfl-spiral-off:before{content:"󱋃"}.mdi-lightbulb-fluorescent-tube:before{content:"󱠄"}.mdi-lightbulb-fluorescent-tube-outline:before{content:"󱠅"}.mdi-lightbulb-group:before{content:"󱉓"}.mdi-lightbulb-group-off:before{content:"󱋍"}.mdi-lightbulb-group-off-outline:before{content:"󱋎"}.mdi-lightbulb-group-outline:before{content:"󱉔"}.mdi-lightbulb-multiple:before{content:"󱉕"}.mdi-lightbulb-multiple-off:before{content:"󱋏"}.mdi-lightbulb-multiple-off-outline:before{content:"󱋐"}.mdi-lightbulb-multiple-outline:before{content:"󱉖"}.mdi-lightbulb-night:before{content:"󱩌"}.mdi-lightbulb-night-outline:before{content:"󱩍"}.mdi-lightbulb-off:before{content:"󰹏"}.mdi-lightbulb-off-outline:before{content:"󰹐"}.mdi-lightbulb-on:before{content:"󰛨"}.mdi-lightbulb-on-10:before{content:"󱩎"}.mdi-lightbulb-on-20:before{content:"󱩏"}.mdi-lightbulb-on-30:before{content:"󱩐"}.mdi-lightbulb-on-40:before{content:"󱩑"}.mdi-lightbulb-on-50:before{content:"󱩒"}.mdi-lightbulb-on-60:before{content:"󱩓"}.mdi-lightbulb-on-70:before{content:"󱩔"}.mdi-lightbulb-on-80:before{content:"󱩕"}.mdi-lightbulb-on-90:before{content:"󱩖"}.mdi-lightbulb-on-outline:before{content:"󰛩"}.mdi-lightbulb-outline:before{content:"󰌶"}.mdi-lightbulb-question:before{content:"󱧣"}.mdi-lightbulb-question-outline:before{content:"󱧤"}.mdi-lightbulb-spot:before{content:"󱟴"}.mdi-lightbulb-spot-off:before{content:"󱟵"}.mdi-lightbulb-variant:before{content:"󱠂"}.mdi-lightbulb-variant-outline:before{content:"󱠃"}.mdi-lighthouse:before{content:"󰧿"}.mdi-lighthouse-on:before{content:"󰨀"}.mdi-lightning-bolt:before{content:"󱐋"}.mdi-lightning-bolt-circle:before{content:"󰠠"}.mdi-lightning-bolt-outline:before{content:"󱐌"}.mdi-line-scan:before{content:"󰘤"}.mdi-lingerie:before{content:"󱑶"}.mdi-link:before{content:"󰌷"}.mdi-link-box:before{content:"󰴚"}.mdi-link-box-outline:before{content:"󰴛"}.mdi-link-box-variant:before{content:"󰴜"}.mdi-link-box-variant-outline:before{content:"󰴝"}.mdi-link-lock:before{content:"󱂺"}.mdi-link-off:before{content:"󰌸"}.mdi-link-plus:before{content:"󰲔"}.mdi-link-variant:before{content:"󰌹"}.mdi-link-variant-minus:before{content:"󱃿"}.mdi-link-variant-off:before{content:"󰌺"}.mdi-link-variant-plus:before{content:"󱄀"}.mdi-link-variant-remove:before{content:"󱄁"}.mdi-linkedin:before{content:"󰌻"}.mdi-linux:before{content:"󰌽"}.mdi-linux-mint:before{content:"󰣭"}.mdi-lipstick:before{content:"󱎵"}.mdi-liquid-spot:before{content:"󱠦"}.mdi-liquor:before{content:"󱤞"}.mdi-list-box:before{content:"󱭻"}.mdi-list-box-outline:before{content:"󱭼"}.mdi-list-status:before{content:"󱖫"}.mdi-litecoin:before{content:"󰩡"}.mdi-loading:before{content:"󰝲"}.mdi-location-enter:before{content:"󰿄"}.mdi-location-exit:before{content:"󰿅"}.mdi-lock:before{content:"󰌾"}.mdi-lock-alert:before{content:"󰣮"}.mdi-lock-alert-outline:before{content:"󱗑"}.mdi-lock-check:before{content:"󱎚"}.mdi-lock-check-outline:before{content:"󱚨"}.mdi-lock-clock:before{content:"󰥿"}.mdi-lock-minus:before{content:"󱚩"}.mdi-lock-minus-outline:before{content:"󱚪"}.mdi-lock-off:before{content:"󱙱"}.mdi-lock-off-outline:before{content:"󱙲"}.mdi-lock-open:before{content:"󰌿"}.mdi-lock-open-alert:before{content:"󱎛"}.mdi-lock-open-alert-outline:before{content:"󱗒"}.mdi-lock-open-check:before{content:"󱎜"}.mdi-lock-open-check-outline:before{content:"󱚫"}.mdi-lock-open-minus:before{content:"󱚬"}.mdi-lock-open-minus-outline:before{content:"󱚭"}.mdi-lock-open-outline:before{content:"󰍀"}.mdi-lock-open-plus:before{content:"󱚮"}.mdi-lock-open-plus-outline:before{content:"󱚯"}.mdi-lock-open-remove:before{content:"󱚰"}.mdi-lock-open-remove-outline:before{content:"󱚱"}.mdi-lock-open-variant:before{content:"󰿆"}.mdi-lock-open-variant-outline:before{content:"󰿇"}.mdi-lock-outline:before{content:"󰍁"}.mdi-lock-pattern:before{content:"󰛪"}.mdi-lock-percent:before{content:"󱰒"}.mdi-lock-percent-open:before{content:"󱰓"}.mdi-lock-percent-open-outline:before{content:"󱰔"}.mdi-lock-percent-open-variant:before{content:"󱰕"}.mdi-lock-percent-open-variant-outline:before{content:"󱰖"}.mdi-lock-percent-outline:before{content:"󱰗"}.mdi-lock-plus:before{content:"󰗻"}.mdi-lock-plus-outline:before{content:"󱚲"}.mdi-lock-question:before{content:"󰣯"}.mdi-lock-remove:before{content:"󱚳"}.mdi-lock-remove-outline:before{content:"󱚴"}.mdi-lock-reset:before{content:"󰝳"}.mdi-lock-smart:before{content:"󰢲"}.mdi-locker:before{content:"󰟗"}.mdi-locker-multiple:before{content:"󰟘"}.mdi-login:before{content:"󰍂"}.mdi-login-variant:before{content:"󰗼"}.mdi-logout:before{content:"󰍃"}.mdi-logout-variant:before{content:"󰗽"}.mdi-longitude:before{content:"󰽚"}.mdi-looks:before{content:"󰍄"}.mdi-lotion:before{content:"󱖂"}.mdi-lotion-outline:before{content:"󱖃"}.mdi-lotion-plus:before{content:"󱖄"}.mdi-lotion-plus-outline:before{content:"󱖅"}.mdi-loupe:before{content:"󰍅"}.mdi-lumx:before{content:"󰍆"}.mdi-lungs:before{content:"󱂄"}.mdi-mace:before{content:"󱡃"}.mdi-magazine-pistol:before{content:"󰌤"}.mdi-magazine-rifle:before{content:"󰌣"}.mdi-magic-staff:before{content:"󱡄"}.mdi-magnet:before{content:"󰍇"}.mdi-magnet-on:before{content:"󰍈"}.mdi-magnify:before{content:"󰍉"}.mdi-magnify-close:before{content:"󰦀"}.mdi-magnify-expand:before{content:"󱡴"}.mdi-magnify-minus:before{content:"󰍊"}.mdi-magnify-minus-cursor:before{content:"󰩢"}.mdi-magnify-minus-outline:before{content:"󰛬"}.mdi-magnify-plus:before{content:"󰍋"}.mdi-magnify-plus-cursor:before{content:"󰩣"}.mdi-magnify-plus-outline:before{content:"󰛭"}.mdi-magnify-remove-cursor:before{content:"󱈌"}.mdi-magnify-remove-outline:before{content:"󱈍"}.mdi-magnify-scan:before{content:"󱉶"}.mdi-mail:before{content:"󰺻"}.mdi-mailbox:before{content:"󰛮"}.mdi-mailbox-open:before{content:"󰶈"}.mdi-mailbox-open-outline:before{content:"󰶉"}.mdi-mailbox-open-up:before{content:"󰶊"}.mdi-mailbox-open-up-outline:before{content:"󰶋"}.mdi-mailbox-outline:before{content:"󰶌"}.mdi-mailbox-up:before{content:"󰶍"}.mdi-mailbox-up-outline:before{content:"󰶎"}.mdi-manjaro:before{content:"󱘊"}.mdi-map:before{content:"󰍍"}.mdi-map-check:before{content:"󰺼"}.mdi-map-check-outline:before{content:"󰺽"}.mdi-map-clock:before{content:"󰴞"}.mdi-map-clock-outline:before{content:"󰴟"}.mdi-map-legend:before{content:"󰨁"}.mdi-map-marker:before{content:"󰍎"}.mdi-map-marker-account:before{content:"󱣣"}.mdi-map-marker-account-outline:before{content:"󱣤"}.mdi-map-marker-alert:before{content:"󰼅"}.mdi-map-marker-alert-outline:before{content:"󰼆"}.mdi-map-marker-check:before{content:"󰲕"}.mdi-map-marker-check-outline:before{content:"󱋻"}.mdi-map-marker-circle:before{content:"󰍏"}.mdi-map-marker-distance:before{content:"󰣰"}.mdi-map-marker-down:before{content:"󱄂"}.mdi-map-marker-left:before{content:"󱋛"}.mdi-map-marker-left-outline:before{content:"󱋝"}.mdi-map-marker-minus:before{content:"󰙐"}.mdi-map-marker-minus-outline:before{content:"󱋹"}.mdi-map-marker-multiple:before{content:"󰍐"}.mdi-map-marker-multiple-outline:before{content:"󱉷"}.mdi-map-marker-off:before{content:"󰍑"}.mdi-map-marker-off-outline:before{content:"󱋽"}.mdi-map-marker-outline:before{content:"󰟙"}.mdi-map-marker-path:before{content:"󰴠"}.mdi-map-marker-plus:before{content:"󰙑"}.mdi-map-marker-plus-outline:before{content:"󱋸"}.mdi-map-marker-question:before{content:"󰼇"}.mdi-map-marker-question-outline:before{content:"󰼈"}.mdi-map-marker-radius:before{content:"󰍒"}.mdi-map-marker-radius-outline:before{content:"󱋼"}.mdi-map-marker-remove:before{content:"󰼉"}.mdi-map-marker-remove-outline:before{content:"󱋺"}.mdi-map-marker-remove-variant:before{content:"󰼊"}.mdi-map-marker-right:before{content:"󱋜"}.mdi-map-marker-right-outline:before{content:"󱋞"}.mdi-map-marker-star:before{content:"󱘈"}.mdi-map-marker-star-outline:before{content:"󱘉"}.mdi-map-marker-up:before{content:"󱄃"}.mdi-map-minus:before{content:"󰦁"}.mdi-map-outline:before{content:"󰦂"}.mdi-map-plus:before{content:"󰦃"}.mdi-map-search:before{content:"󰦄"}.mdi-map-search-outline:before{content:"󰦅"}.mdi-mapbox:before{content:"󰮪"}.mdi-margin:before{content:"󰍓"}.mdi-marker:before{content:"󰙒"}.mdi-marker-cancel:before{content:"󰷙"}.mdi-marker-check:before{content:"󰍕"}.mdi-mastodon:before{content:"󰫑"}.mdi-material-design:before{content:"󰦆"}.mdi-material-ui:before{content:"󰍗"}.mdi-math-compass:before{content:"󰍘"}.mdi-math-cos:before{content:"󰲖"}.mdi-math-integral:before{content:"󰿈"}.mdi-math-integral-box:before{content:"󰿉"}.mdi-math-log:before{content:"󱂅"}.mdi-math-norm:before{content:"󰿊"}.mdi-math-norm-box:before{content:"󰿋"}.mdi-math-sin:before{content:"󰲗"}.mdi-math-tan:before{content:"󰲘"}.mdi-matrix:before{content:"󰘨"}.mdi-medal:before{content:"󰦇"}.mdi-medal-outline:before{content:"󱌦"}.mdi-medical-bag:before{content:"󰛯"}.mdi-medical-cotton-swab:before{content:"󱪸"}.mdi-medication:before{content:"󱬔"}.mdi-medication-outline:before{content:"󱬕"}.mdi-meditation:before{content:"󱅻"}.mdi-memory:before{content:"󰍛"}.mdi-menorah:before{content:"󱟔"}.mdi-menorah-fire:before{content:"󱟕"}.mdi-menu:before{content:"󰍜"}.mdi-menu-down:before{content:"󰍝"}.mdi-menu-down-outline:before{content:"󰚶"}.mdi-menu-left:before{content:"󰍞"}.mdi-menu-left-outline:before{content:"󰨂"}.mdi-menu-open:before{content:"󰮫"}.mdi-menu-right:before{content:"󰍟"}.mdi-menu-right-outline:before{content:"󰨃"}.mdi-menu-swap:before{content:"󰩤"}.mdi-menu-swap-outline:before{content:"󰩥"}.mdi-menu-up:before{content:"󰍠"}.mdi-menu-up-outline:before{content:"󰚷"}.mdi-merge:before{content:"󰽜"}.mdi-message:before{content:"󰍡"}.mdi-message-alert:before{content:"󰍢"}.mdi-message-alert-outline:before{content:"󰨄"}.mdi-message-arrow-left:before{content:"󱋲"}.mdi-message-arrow-left-outline:before{content:"󱋳"}.mdi-message-arrow-right:before{content:"󱋴"}.mdi-message-arrow-right-outline:before{content:"󱋵"}.mdi-message-badge:before{content:"󱥁"}.mdi-message-badge-outline:before{content:"󱥂"}.mdi-message-bookmark:before{content:"󱖬"}.mdi-message-bookmark-outline:before{content:"󱖭"}.mdi-message-bulleted:before{content:"󰚢"}.mdi-message-bulleted-off:before{content:"󰚣"}.mdi-message-check:before{content:"󱮊"}.mdi-message-check-outline:before{content:"󱮋"}.mdi-message-cog:before{content:"󰛱"}.mdi-message-cog-outline:before{content:"󱅲"}.mdi-message-draw:before{content:"󰍣"}.mdi-message-fast:before{content:"󱧌"}.mdi-message-fast-outline:before{content:"󱧍"}.mdi-message-flash:before{content:"󱖩"}.mdi-message-flash-outline:before{content:"󱖪"}.mdi-message-image:before{content:"󰍤"}.mdi-message-image-outline:before{content:"󱅬"}.mdi-message-lock:before{content:"󰿌"}.mdi-message-lock-outline:before{content:"󱅭"}.mdi-message-minus:before{content:"󱅮"}.mdi-message-minus-outline:before{content:"󱅯"}.mdi-message-off:before{content:"󱙍"}.mdi-message-off-outline:before{content:"󱙎"}.mdi-message-outline:before{content:"󰍥"}.mdi-message-plus:before{content:"󰙓"}.mdi-message-plus-outline:before{content:"󱂻"}.mdi-message-processing:before{content:"󰍦"}.mdi-message-processing-outline:before{content:"󱅰"}.mdi-message-question:before{content:"󱜺"}.mdi-message-question-outline:before{content:"󱜻"}.mdi-message-reply:before{content:"󰍧"}.mdi-message-reply-outline:before{content:"󱜽"}.mdi-message-reply-text:before{content:"󰍨"}.mdi-message-reply-text-outline:before{content:"󱜾"}.mdi-message-settings:before{content:"󰛰"}.mdi-message-settings-outline:before{content:"󱅱"}.mdi-message-star:before{content:"󰚚"}.mdi-message-star-outline:before{content:"󱉐"}.mdi-message-text:before{content:"󰍩"}.mdi-message-text-clock:before{content:"󱅳"}.mdi-message-text-clock-outline:before{content:"󱅴"}.mdi-message-text-fast:before{content:"󱧎"}.mdi-message-text-fast-outline:before{content:"󱧏"}.mdi-message-text-lock:before{content:"󰿍"}.mdi-message-text-lock-outline:before{content:"󱅵"}.mdi-message-text-outline:before{content:"󰍪"}.mdi-message-video:before{content:"󰍫"}.mdi-meteor:before{content:"󰘩"}.mdi-meter-electric:before{content:"󱩗"}.mdi-meter-electric-outline:before{content:"󱩘"}.mdi-meter-gas:before{content:"󱩙"}.mdi-meter-gas-outline:before{content:"󱩚"}.mdi-metronome:before{content:"󰟚"}.mdi-metronome-tick:before{content:"󰟛"}.mdi-micro-sd:before{content:"󰟜"}.mdi-microphone:before{content:"󰍬"}.mdi-microphone-message:before{content:"󰔊"}.mdi-microphone-message-off:before{content:"󰔋"}.mdi-microphone-minus:before{content:"󰢳"}.mdi-microphone-off:before{content:"󰍭"}.mdi-microphone-outline:before{content:"󰍮"}.mdi-microphone-plus:before{content:"󰢴"}.mdi-microphone-question:before{content:"󱦉"}.mdi-microphone-question-outline:before{content:"󱦊"}.mdi-microphone-settings:before{content:"󰍯"}.mdi-microphone-variant:before{content:"󰍰"}.mdi-microphone-variant-off:before{content:"󰍱"}.mdi-microscope:before{content:"󰙔"}.mdi-microsoft:before{content:"󰍲"}.mdi-microsoft-access:before{content:"󱎎"}.mdi-microsoft-azure:before{content:"󰠅"}.mdi-microsoft-azure-devops:before{content:"󰿕"}.mdi-microsoft-bing:before{content:"󰂤"}.mdi-microsoft-dynamics-365:before{content:"󰦈"}.mdi-microsoft-edge:before{content:"󰇩"}.mdi-microsoft-excel:before{content:"󱎏"}.mdi-microsoft-internet-explorer:before{content:"󰌀"}.mdi-microsoft-office:before{content:"󰏆"}.mdi-microsoft-onedrive:before{content:"󰏊"}.mdi-microsoft-onenote:before{content:"󰝇"}.mdi-microsoft-outlook:before{content:"󰴢"}.mdi-microsoft-powerpoint:before{content:"󱎐"}.mdi-microsoft-sharepoint:before{content:"󱎑"}.mdi-microsoft-teams:before{content:"󰊻"}.mdi-microsoft-visual-studio:before{content:"󰘐"}.mdi-microsoft-visual-studio-code:before{content:"󰨞"}.mdi-microsoft-windows:before{content:"󰖳"}.mdi-microsoft-windows-classic:before{content:"󰨡"}.mdi-microsoft-word:before{content:"󱎒"}.mdi-microsoft-xbox:before{content:"󰖹"}.mdi-microsoft-xbox-controller:before{content:"󰖺"}.mdi-microsoft-xbox-controller-battery-alert:before{content:"󰝋"}.mdi-microsoft-xbox-controller-battery-charging:before{content:"󰨢"}.mdi-microsoft-xbox-controller-battery-empty:before{content:"󰝌"}.mdi-microsoft-xbox-controller-battery-full:before{content:"󰝍"}.mdi-microsoft-xbox-controller-battery-low:before{content:"󰝎"}.mdi-microsoft-xbox-controller-battery-medium:before{content:"󰝏"}.mdi-microsoft-xbox-controller-battery-unknown:before{content:"󰝐"}.mdi-microsoft-xbox-controller-menu:before{content:"󰹯"}.mdi-microsoft-xbox-controller-off:before{content:"󰖻"}.mdi-microsoft-xbox-controller-view:before{content:"󰹰"}.mdi-microwave:before{content:"󰲙"}.mdi-microwave-off:before{content:"󱐣"}.mdi-middleware:before{content:"󰽝"}.mdi-middleware-outline:before{content:"󰽞"}.mdi-midi:before{content:"󰣱"}.mdi-midi-port:before{content:"󰣲"}.mdi-mine:before{content:"󰷚"}.mdi-minecraft:before{content:"󰍳"}.mdi-mini-sd:before{content:"󰨅"}.mdi-minidisc:before{content:"󰨆"}.mdi-minus:before{content:"󰍴"}.mdi-minus-box:before{content:"󰍵"}.mdi-minus-box-multiple:before{content:"󱅁"}.mdi-minus-box-multiple-outline:before{content:"󱅂"}.mdi-minus-box-outline:before{content:"󰛲"}.mdi-minus-circle:before{content:"󰍶"}.mdi-minus-circle-multiple:before{content:"󰍚"}.mdi-minus-circle-multiple-outline:before{content:"󰫓"}.mdi-minus-circle-off:before{content:"󱑙"}.mdi-minus-circle-off-outline:before{content:"󱑚"}.mdi-minus-circle-outline:before{content:"󰍷"}.mdi-minus-network:before{content:"󰍸"}.mdi-minus-network-outline:before{content:"󰲚"}.mdi-minus-thick:before{content:"󱘹"}.mdi-mirror:before{content:"󱇽"}.mdi-mirror-rectangle:before{content:"󱞟"}.mdi-mirror-variant:before{content:"󱞠"}.mdi-mixed-martial-arts:before{content:"󰶏"}.mdi-mixed-reality:before{content:"󰡿"}.mdi-molecule:before{content:"󰮬"}.mdi-molecule-co:before{content:"󱋾"}.mdi-molecule-co2:before{content:"󰟤"}.mdi-monitor:before{content:"󰍹"}.mdi-monitor-account:before{content:"󱩛"}.mdi-monitor-arrow-down:before{content:"󱧐"}.mdi-monitor-arrow-down-variant:before{content:"󱧑"}.mdi-monitor-cellphone:before{content:"󰦉"}.mdi-monitor-cellphone-star:before{content:"󰦊"}.mdi-monitor-dashboard:before{content:"󰨇"}.mdi-monitor-edit:before{content:"󱋆"}.mdi-monitor-eye:before{content:"󱎴"}.mdi-monitor-lock:before{content:"󰷛"}.mdi-monitor-multiple:before{content:"󰍺"}.mdi-monitor-off:before{content:"󰶐"}.mdi-monitor-screenshot:before{content:"󰹑"}.mdi-monitor-share:before{content:"󱒃"}.mdi-monitor-shimmer:before{content:"󱄄"}.mdi-monitor-small:before{content:"󱡶"}.mdi-monitor-speaker:before{content:"󰽟"}.mdi-monitor-speaker-off:before{content:"󰽠"}.mdi-monitor-star:before{content:"󰷜"}.mdi-monitor-vertical:before{content:"󱰳"}.mdi-moon-first-quarter:before{content:"󰽡"}.mdi-moon-full:before{content:"󰽢"}.mdi-moon-last-quarter:before{content:"󰽣"}.mdi-moon-new:before{content:"󰽤"}.mdi-moon-waning-crescent:before{content:"󰽥"}.mdi-moon-waning-gibbous:before{content:"󰽦"}.mdi-moon-waxing-crescent:before{content:"󰽧"}.mdi-moon-waxing-gibbous:before{content:"󰽨"}.mdi-moped:before{content:"󱂆"}.mdi-moped-electric:before{content:"󱖷"}.mdi-moped-electric-outline:before{content:"󱖸"}.mdi-moped-outline:before{content:"󱖹"}.mdi-more:before{content:"󰍻"}.mdi-mortar-pestle:before{content:"󱝈"}.mdi-mortar-pestle-plus:before{content:"󰏱"}.mdi-mosque:before{content:"󰵅"}.mdi-mosque-outline:before{content:"󱠧"}.mdi-mother-heart:before{content:"󱌔"}.mdi-mother-nurse:before{content:"󰴡"}.mdi-motion:before{content:"󱖲"}.mdi-motion-outline:before{content:"󱖳"}.mdi-motion-pause:before{content:"󱖐"}.mdi-motion-pause-outline:before{content:"󱖒"}.mdi-motion-play:before{content:"󱖏"}.mdi-motion-play-outline:before{content:"󱖑"}.mdi-motion-sensor:before{content:"󰶑"}.mdi-motion-sensor-off:before{content:"󱐵"}.mdi-motorbike:before{content:"󰍼"}.mdi-motorbike-electric:before{content:"󱖺"}.mdi-motorbike-off:before{content:"󱬖"}.mdi-mouse:before{content:"󰍽"}.mdi-mouse-bluetooth:before{content:"󰦋"}.mdi-mouse-move-down:before{content:"󱕐"}.mdi-mouse-move-up:before{content:"󱕑"}.mdi-mouse-move-vertical:before{content:"󱕒"}.mdi-mouse-off:before{content:"󰍾"}.mdi-mouse-variant:before{content:"󰍿"}.mdi-mouse-variant-off:before{content:"󰎀"}.mdi-move-resize:before{content:"󰙕"}.mdi-move-resize-variant:before{content:"󰙖"}.mdi-movie:before{content:"󰎁"}.mdi-movie-check:before{content:"󱛳"}.mdi-movie-check-outline:before{content:"󱛴"}.mdi-movie-cog:before{content:"󱛵"}.mdi-movie-cog-outline:before{content:"󱛶"}.mdi-movie-edit:before{content:"󱄢"}.mdi-movie-edit-outline:before{content:"󱄣"}.mdi-movie-filter:before{content:"󱄤"}.mdi-movie-filter-outline:before{content:"󱄥"}.mdi-movie-minus:before{content:"󱛷"}.mdi-movie-minus-outline:before{content:"󱛸"}.mdi-movie-off:before{content:"󱛹"}.mdi-movie-off-outline:before{content:"󱛺"}.mdi-movie-open:before{content:"󰿎"}.mdi-movie-open-check:before{content:"󱛻"}.mdi-movie-open-check-outline:before{content:"󱛼"}.mdi-movie-open-cog:before{content:"󱛽"}.mdi-movie-open-cog-outline:before{content:"󱛾"}.mdi-movie-open-edit:before{content:"󱛿"}.mdi-movie-open-edit-outline:before{content:"󱜀"}.mdi-movie-open-minus:before{content:"󱜁"}.mdi-movie-open-minus-outline:before{content:"󱜂"}.mdi-movie-open-off:before{content:"󱜃"}.mdi-movie-open-off-outline:before{content:"󱜄"}.mdi-movie-open-outline:before{content:"󰿏"}.mdi-movie-open-play:before{content:"󱜅"}.mdi-movie-open-play-outline:before{content:"󱜆"}.mdi-movie-open-plus:before{content:"󱜇"}.mdi-movie-open-plus-outline:before{content:"󱜈"}.mdi-movie-open-remove:before{content:"󱜉"}.mdi-movie-open-remove-outline:before{content:"󱜊"}.mdi-movie-open-settings:before{content:"󱜋"}.mdi-movie-open-settings-outline:before{content:"󱜌"}.mdi-movie-open-star:before{content:"󱜍"}.mdi-movie-open-star-outline:before{content:"󱜎"}.mdi-movie-outline:before{content:"󰷝"}.mdi-movie-play:before{content:"󱜏"}.mdi-movie-play-outline:before{content:"󱜐"}.mdi-movie-plus:before{content:"󱜑"}.mdi-movie-plus-outline:before{content:"󱜒"}.mdi-movie-remove:before{content:"󱜓"}.mdi-movie-remove-outline:before{content:"󱜔"}.mdi-movie-roll:before{content:"󰟞"}.mdi-movie-search:before{content:"󱇒"}.mdi-movie-search-outline:before{content:"󱇓"}.mdi-movie-settings:before{content:"󱜕"}.mdi-movie-settings-outline:before{content:"󱜖"}.mdi-movie-star:before{content:"󱜗"}.mdi-movie-star-outline:before{content:"󱜘"}.mdi-mower:before{content:"󱙯"}.mdi-mower-bag:before{content:"󱙰"}.mdi-mower-bag-on:before{content:"󱭠"}.mdi-mower-on:before{content:"󱭟"}.mdi-muffin:before{content:"󰦌"}.mdi-multicast:before{content:"󱢓"}.mdi-multimedia:before{content:"󱮗"}.mdi-multiplication:before{content:"󰎂"}.mdi-multiplication-box:before{content:"󰎃"}.mdi-mushroom:before{content:"󰟟"}.mdi-mushroom-off:before{content:"󱏺"}.mdi-mushroom-off-outline:before{content:"󱏻"}.mdi-mushroom-outline:before{content:"󰟠"}.mdi-music:before{content:"󰝚"}.mdi-music-accidental-double-flat:before{content:"󰽩"}.mdi-music-accidental-double-sharp:before{content:"󰽪"}.mdi-music-accidental-flat:before{content:"󰽫"}.mdi-music-accidental-natural:before{content:"󰽬"}.mdi-music-accidental-sharp:before{content:"󰽭"}.mdi-music-box:before{content:"󰎄"}.mdi-music-box-multiple:before{content:"󰌳"}.mdi-music-box-multiple-outline:before{content:"󰼄"}.mdi-music-box-outline:before{content:"󰎅"}.mdi-music-circle:before{content:"󰎆"}.mdi-music-circle-outline:before{content:"󰫔"}.mdi-music-clef-alto:before{content:"󰽮"}.mdi-music-clef-bass:before{content:"󰽯"}.mdi-music-clef-treble:before{content:"󰽰"}.mdi-music-note:before{content:"󰎇"}.mdi-music-note-bluetooth:before{content:"󰗾"}.mdi-music-note-bluetooth-off:before{content:"󰗿"}.mdi-music-note-eighth:before{content:"󰎈"}.mdi-music-note-eighth-dotted:before{content:"󰽱"}.mdi-music-note-half:before{content:"󰎉"}.mdi-music-note-half-dotted:before{content:"󰽲"}.mdi-music-note-minus:before{content:"󱮉"}.mdi-music-note-off:before{content:"󰎊"}.mdi-music-note-off-outline:before{content:"󰽳"}.mdi-music-note-outline:before{content:"󰽴"}.mdi-music-note-plus:before{content:"󰷞"}.mdi-music-note-quarter:before{content:"󰎋"}.mdi-music-note-quarter-dotted:before{content:"󰽵"}.mdi-music-note-sixteenth:before{content:"󰎌"}.mdi-music-note-sixteenth-dotted:before{content:"󰽶"}.mdi-music-note-whole:before{content:"󰎍"}.mdi-music-note-whole-dotted:before{content:"󰽷"}.mdi-music-off:before{content:"󰝛"}.mdi-music-rest-eighth:before{content:"󰽸"}.mdi-music-rest-half:before{content:"󰽹"}.mdi-music-rest-quarter:before{content:"󰽺"}.mdi-music-rest-sixteenth:before{content:"󰽻"}.mdi-music-rest-whole:before{content:"󰽼"}.mdi-mustache:before{content:"󱗞"}.mdi-nail:before{content:"󰷟"}.mdi-nas:before{content:"󰣳"}.mdi-nativescript:before{content:"󰢀"}.mdi-nature:before{content:"󰎎"}.mdi-nature-outline:before{content:"󱱱"}.mdi-nature-people:before{content:"󰎏"}.mdi-nature-people-outline:before{content:"󱱲"}.mdi-navigation:before{content:"󰎐"}.mdi-navigation-outline:before{content:"󱘇"}.mdi-navigation-variant:before{content:"󱣰"}.mdi-navigation-variant-outline:before{content:"󱣱"}.mdi-near-me:before{content:"󰗍"}.mdi-necklace:before{content:"󰼋"}.mdi-needle:before{content:"󰎑"}.mdi-needle-off:before{content:"󱧒"}.mdi-netflix:before{content:"󰝆"}.mdi-network:before{content:"󰛳"}.mdi-network-off:before{content:"󰲛"}.mdi-network-off-outline:before{content:"󰲜"}.mdi-network-outline:before{content:"󰲝"}.mdi-network-pos:before{content:"󱫋"}.mdi-network-strength-1:before{content:"󰣴"}.mdi-network-strength-1-alert:before{content:"󰣵"}.mdi-network-strength-2:before{content:"󰣶"}.mdi-network-strength-2-alert:before{content:"󰣷"}.mdi-network-strength-3:before{content:"󰣸"}.mdi-network-strength-3-alert:before{content:"󰣹"}.mdi-network-strength-4:before{content:"󰣺"}.mdi-network-strength-4-alert:before{content:"󰣻"}.mdi-network-strength-4-cog:before{content:"󱤚"}.mdi-network-strength-off:before{content:"󰣼"}.mdi-network-strength-off-outline:before{content:"󰣽"}.mdi-network-strength-outline:before{content:"󰣾"}.mdi-new-box:before{content:"󰎔"}.mdi-newspaper:before{content:"󰎕"}.mdi-newspaper-check:before{content:"󱥃"}.mdi-newspaper-minus:before{content:"󰼌"}.mdi-newspaper-plus:before{content:"󰼍"}.mdi-newspaper-remove:before{content:"󱥄"}.mdi-newspaper-variant:before{content:"󱀁"}.mdi-newspaper-variant-multiple:before{content:"󱀂"}.mdi-newspaper-variant-multiple-outline:before{content:"󱀃"}.mdi-newspaper-variant-outline:before{content:"󱀄"}.mdi-nfc:before{content:"󰎖"}.mdi-nfc-search-variant:before{content:"󰹓"}.mdi-nfc-tap:before{content:"󰎗"}.mdi-nfc-variant:before{content:"󰎘"}.mdi-nfc-variant-off:before{content:"󰹔"}.mdi-ninja:before{content:"󰝴"}.mdi-nintendo-game-boy:before{content:"󱎓"}.mdi-nintendo-switch:before{content:"󰟡"}.mdi-nintendo-wii:before{content:"󰖫"}.mdi-nintendo-wiiu:before{content:"󰜭"}.mdi-nix:before{content:"󱄅"}.mdi-nodejs:before{content:"󰎙"}.mdi-noodles:before{content:"󱅾"}.mdi-not-equal:before{content:"󰦍"}.mdi-not-equal-variant:before{content:"󰦎"}.mdi-note:before{content:"󰎚"}.mdi-note-alert:before{content:"󱝽"}.mdi-note-alert-outline:before{content:"󱝾"}.mdi-note-check:before{content:"󱝿"}.mdi-note-check-outline:before{content:"󱞀"}.mdi-note-edit:before{content:"󱞁"}.mdi-note-edit-outline:before{content:"󱞂"}.mdi-note-minus:before{content:"󱙏"}.mdi-note-minus-outline:before{content:"󱙐"}.mdi-note-multiple:before{content:"󰚸"}.mdi-note-multiple-outline:before{content:"󰚹"}.mdi-note-off:before{content:"󱞃"}.mdi-note-off-outline:before{content:"󱞄"}.mdi-note-outline:before{content:"󰎛"}.mdi-note-plus:before{content:"󰎜"}.mdi-note-plus-outline:before{content:"󰎝"}.mdi-note-remove:before{content:"󱙑"}.mdi-note-remove-outline:before{content:"󱙒"}.mdi-note-search:before{content:"󱙓"}.mdi-note-search-outline:before{content:"󱙔"}.mdi-note-text:before{content:"󰎞"}.mdi-note-text-outline:before{content:"󱇗"}.mdi-notebook:before{content:"󰠮"}.mdi-notebook-check:before{content:"󱓵"}.mdi-notebook-check-outline:before{content:"󱓶"}.mdi-notebook-edit:before{content:"󱓧"}.mdi-notebook-edit-outline:before{content:"󱓩"}.mdi-notebook-heart:before{content:"󱨋"}.mdi-notebook-heart-outline:before{content:"󱨌"}.mdi-notebook-minus:before{content:"󱘐"}.mdi-notebook-minus-outline:before{content:"󱘑"}.mdi-notebook-multiple:before{content:"󰹕"}.mdi-notebook-outline:before{content:"󰺿"}.mdi-notebook-plus:before{content:"󱘒"}.mdi-notebook-plus-outline:before{content:"󱘓"}.mdi-notebook-remove:before{content:"󱘔"}.mdi-notebook-remove-outline:before{content:"󱘕"}.mdi-notification-clear-all:before{content:"󰎟"}.mdi-npm:before{content:"󰛷"}.mdi-nuke:before{content:"󰚤"}.mdi-null:before{content:"󰟢"}.mdi-numeric:before{content:"󰎠"}.mdi-numeric-0:before{content:"󰬹"}.mdi-numeric-0-box:before{content:"󰎡"}.mdi-numeric-0-box-multiple:before{content:"󰼎"}.mdi-numeric-0-box-multiple-outline:before{content:"󰎢"}.mdi-numeric-0-box-outline:before{content:"󰎣"}.mdi-numeric-0-circle:before{content:"󰲞"}.mdi-numeric-0-circle-outline:before{content:"󰲟"}.mdi-numeric-1:before{content:"󰬺"}.mdi-numeric-1-box:before{content:"󰎤"}.mdi-numeric-1-box-multiple:before{content:"󰼏"}.mdi-numeric-1-box-multiple-outline:before{content:"󰎥"}.mdi-numeric-1-box-outline:before{content:"󰎦"}.mdi-numeric-1-circle:before{content:"󰲠"}.mdi-numeric-1-circle-outline:before{content:"󰲡"}.mdi-numeric-10:before{content:"󰿩"}.mdi-numeric-10-box:before{content:"󰽽"}.mdi-numeric-10-box-multiple:before{content:"󰿪"}.mdi-numeric-10-box-multiple-outline:before{content:"󰿫"}.mdi-numeric-10-box-outline:before{content:"󰽾"}.mdi-numeric-10-circle:before{content:"󰿬"}.mdi-numeric-10-circle-outline:before{content:"󰿭"}.mdi-numeric-2:before{content:"󰬻"}.mdi-numeric-2-box:before{content:"󰎧"}.mdi-numeric-2-box-multiple:before{content:"󰼐"}.mdi-numeric-2-box-multiple-outline:before{content:"󰎨"}.mdi-numeric-2-box-outline:before{content:"󰎩"}.mdi-numeric-2-circle:before{content:"󰲢"}.mdi-numeric-2-circle-outline:before{content:"󰲣"}.mdi-numeric-3:before{content:"󰬼"}.mdi-numeric-3-box:before{content:"󰎪"}.mdi-numeric-3-box-multiple:before{content:"󰼑"}.mdi-numeric-3-box-multiple-outline:before{content:"󰎫"}.mdi-numeric-3-box-outline:before{content:"󰎬"}.mdi-numeric-3-circle:before{content:"󰲤"}.mdi-numeric-3-circle-outline:before{content:"󰲥"}.mdi-numeric-4:before{content:"󰬽"}.mdi-numeric-4-box:before{content:"󰎭"}.mdi-numeric-4-box-multiple:before{content:"󰼒"}.mdi-numeric-4-box-multiple-outline:before{content:"󰎲"}.mdi-numeric-4-box-outline:before{content:"󰎮"}.mdi-numeric-4-circle:before{content:"󰲦"}.mdi-numeric-4-circle-outline:before{content:"󰲧"}.mdi-numeric-5:before{content:"󰬾"}.mdi-numeric-5-box:before{content:"󰎱"}.mdi-numeric-5-box-multiple:before{content:"󰼓"}.mdi-numeric-5-box-multiple-outline:before{content:"󰎯"}.mdi-numeric-5-box-outline:before{content:"󰎰"}.mdi-numeric-5-circle:before{content:"󰲨"}.mdi-numeric-5-circle-outline:before{content:"󰲩"}.mdi-numeric-6:before{content:"󰬿"}.mdi-numeric-6-box:before{content:"󰎳"}.mdi-numeric-6-box-multiple:before{content:"󰼔"}.mdi-numeric-6-box-multiple-outline:before{content:"󰎴"}.mdi-numeric-6-box-outline:before{content:"󰎵"}.mdi-numeric-6-circle:before{content:"󰲪"}.mdi-numeric-6-circle-outline:before{content:"󰲫"}.mdi-numeric-7:before{content:"󰭀"}.mdi-numeric-7-box:before{content:"󰎶"}.mdi-numeric-7-box-multiple:before{content:"󰼕"}.mdi-numeric-7-box-multiple-outline:before{content:"󰎷"}.mdi-numeric-7-box-outline:before{content:"󰎸"}.mdi-numeric-7-circle:before{content:"󰲬"}.mdi-numeric-7-circle-outline:before{content:"󰲭"}.mdi-numeric-8:before{content:"󰭁"}.mdi-numeric-8-box:before{content:"󰎹"}.mdi-numeric-8-box-multiple:before{content:"󰼖"}.mdi-numeric-8-box-multiple-outline:before{content:"󰎺"}.mdi-numeric-8-box-outline:before{content:"󰎻"}.mdi-numeric-8-circle:before{content:"󰲮"}.mdi-numeric-8-circle-outline:before{content:"󰲯"}.mdi-numeric-9:before{content:"󰭂"}.mdi-numeric-9-box:before{content:"󰎼"}.mdi-numeric-9-box-multiple:before{content:"󰼗"}.mdi-numeric-9-box-multiple-outline:before{content:"󰎽"}.mdi-numeric-9-box-outline:before{content:"󰎾"}.mdi-numeric-9-circle:before{content:"󰲰"}.mdi-numeric-9-circle-outline:before{content:"󰲱"}.mdi-numeric-9-plus:before{content:"󰿮"}.mdi-numeric-9-plus-box:before{content:"󰎿"}.mdi-numeric-9-plus-box-multiple:before{content:"󰼘"}.mdi-numeric-9-plus-box-multiple-outline:before{content:"󰏀"}.mdi-numeric-9-plus-box-outline:before{content:"󰏁"}.mdi-numeric-9-plus-circle:before{content:"󰲲"}.mdi-numeric-9-plus-circle-outline:before{content:"󰲳"}.mdi-numeric-negative-1:before{content:"󱁒"}.mdi-numeric-off:before{content:"󱧓"}.mdi-numeric-positive-1:before{content:"󱗋"}.mdi-nut:before{content:"󰛸"}.mdi-nutrition:before{content:"󰏂"}.mdi-nuxt:before{content:"󱄆"}.mdi-oar:before{content:"󰙼"}.mdi-ocarina:before{content:"󰷠"}.mdi-oci:before{content:"󱋩"}.mdi-ocr:before{content:"󱄺"}.mdi-octagon:before{content:"󰏃"}.mdi-octagon-outline:before{content:"󰏄"}.mdi-octagram:before{content:"󰛹"}.mdi-octagram-edit:before{content:"󱰴"}.mdi-octagram-edit-outline:before{content:"󱰵"}.mdi-octagram-minus:before{content:"󱰶"}.mdi-octagram-minus-outline:before{content:"󱰷"}.mdi-octagram-outline:before{content:"󰝵"}.mdi-octagram-plus:before{content:"󱰸"}.mdi-octagram-plus-outline:before{content:"󱰹"}.mdi-octahedron:before{content:"󱥐"}.mdi-octahedron-off:before{content:"󱥑"}.mdi-odnoklassniki:before{content:"󰏅"}.mdi-offer:before{content:"󱈛"}.mdi-office-building:before{content:"󰦑"}.mdi-office-building-cog:before{content:"󱥉"}.mdi-office-building-cog-outline:before{content:"󱥊"}.mdi-office-building-marker:before{content:"󱔠"}.mdi-office-building-marker-outline:before{content:"󱔡"}.mdi-office-building-minus:before{content:"󱮪"}.mdi-office-building-minus-outline:before{content:"󱮫"}.mdi-office-building-outline:before{content:"󱔟"}.mdi-office-building-plus:before{content:"󱮨"}.mdi-office-building-plus-outline:before{content:"󱮩"}.mdi-office-building-remove:before{content:"󱮬"}.mdi-office-building-remove-outline:before{content:"󱮭"}.mdi-oil:before{content:"󰏇"}.mdi-oil-lamp:before{content:"󰼙"}.mdi-oil-level:before{content:"󱁓"}.mdi-oil-temperature:before{content:"󰿸"}.mdi-om:before{content:"󰥳"}.mdi-omega:before{content:"󰏉"}.mdi-one-up:before{content:"󰮭"}.mdi-onepassword:before{content:"󰢁"}.mdi-opacity:before{content:"󰗌"}.mdi-open-in-app:before{content:"󰏋"}.mdi-open-in-new:before{content:"󰏌"}.mdi-open-source-initiative:before{content:"󰮮"}.mdi-openid:before{content:"󰏍"}.mdi-opera:before{content:"󰏎"}.mdi-orbit:before{content:"󰀘"}.mdi-orbit-variant:before{content:"󱗛"}.mdi-order-alphabetical-ascending:before{content:"󰈍"}.mdi-order-alphabetical-descending:before{content:"󰴇"}.mdi-order-bool-ascending:before{content:"󰊾"}.mdi-order-bool-ascending-variant:before{content:"󰦏"}.mdi-order-bool-descending:before{content:"󱎄"}.mdi-order-bool-descending-variant:before{content:"󰦐"}.mdi-order-numeric-ascending:before{content:"󰕅"}.mdi-order-numeric-descending:before{content:"󰕆"}.mdi-origin:before{content:"󰭃"}.mdi-ornament:before{content:"󰏏"}.mdi-ornament-variant:before{content:"󰏐"}.mdi-outdoor-lamp:before{content:"󱁔"}.mdi-overscan:before{content:"󱀅"}.mdi-owl:before{content:"󰏒"}.mdi-pac-man:before{content:"󰮯"}.mdi-package:before{content:"󰏓"}.mdi-package-check:before{content:"󱭑"}.mdi-package-down:before{content:"󰏔"}.mdi-package-up:before{content:"󰏕"}.mdi-package-variant:before{content:"󰏖"}.mdi-package-variant-closed:before{content:"󰏗"}.mdi-package-variant-closed-check:before{content:"󱭒"}.mdi-package-variant-closed-minus:before{content:"󱧔"}.mdi-package-variant-closed-plus:before{content:"󱧕"}.mdi-package-variant-closed-remove:before{content:"󱧖"}.mdi-package-variant-minus:before{content:"󱧗"}.mdi-package-variant-plus:before{content:"󱧘"}.mdi-package-variant-remove:before{content:"󱧙"}.mdi-page-first:before{content:"󰘀"}.mdi-page-last:before{content:"󰘁"}.mdi-page-layout-body:before{content:"󰛺"}.mdi-page-layout-footer:before{content:"󰛻"}.mdi-page-layout-header:before{content:"󰛼"}.mdi-page-layout-header-footer:before{content:"󰽿"}.mdi-page-layout-sidebar-left:before{content:"󰛽"}.mdi-page-layout-sidebar-right:before{content:"󰛾"}.mdi-page-next:before{content:"󰮰"}.mdi-page-next-outline:before{content:"󰮱"}.mdi-page-previous:before{content:"󰮲"}.mdi-page-previous-outline:before{content:"󰮳"}.mdi-pail:before{content:"󱐗"}.mdi-pail-minus:before{content:"󱐷"}.mdi-pail-minus-outline:before{content:"󱐼"}.mdi-pail-off:before{content:"󱐹"}.mdi-pail-off-outline:before{content:"󱐾"}.mdi-pail-outline:before{content:"󱐺"}.mdi-pail-plus:before{content:"󱐶"}.mdi-pail-plus-outline:before{content:"󱐻"}.mdi-pail-remove:before{content:"󱐸"}.mdi-pail-remove-outline:before{content:"󱐽"}.mdi-palette:before{content:"󰏘"}.mdi-palette-advanced:before{content:"󰏙"}.mdi-palette-outline:before{content:"󰸌"}.mdi-palette-swatch:before{content:"󰢵"}.mdi-palette-swatch-outline:before{content:"󱍜"}.mdi-palette-swatch-variant:before{content:"󱥚"}.mdi-palm-tree:before{content:"󱁕"}.mdi-pan:before{content:"󰮴"}.mdi-pan-bottom-left:before{content:"󰮵"}.mdi-pan-bottom-right:before{content:"󰮶"}.mdi-pan-down:before{content:"󰮷"}.mdi-pan-horizontal:before{content:"󰮸"}.mdi-pan-left:before{content:"󰮹"}.mdi-pan-right:before{content:"󰮺"}.mdi-pan-top-left:before{content:"󰮻"}.mdi-pan-top-right:before{content:"󰮼"}.mdi-pan-up:before{content:"󰮽"}.mdi-pan-vertical:before{content:"󰮾"}.mdi-panda:before{content:"󰏚"}.mdi-pandora:before{content:"󰏛"}.mdi-panorama:before{content:"󰏜"}.mdi-panorama-fisheye:before{content:"󰏝"}.mdi-panorama-horizontal:before{content:"󱤨"}.mdi-panorama-horizontal-outline:before{content:"󰏞"}.mdi-panorama-outline:before{content:"󱦌"}.mdi-panorama-sphere:before{content:"󱦍"}.mdi-panorama-sphere-outline:before{content:"󱦎"}.mdi-panorama-variant:before{content:"󱦏"}.mdi-panorama-variant-outline:before{content:"󱦐"}.mdi-panorama-vertical:before{content:"󱤩"}.mdi-panorama-vertical-outline:before{content:"󰏟"}.mdi-panorama-wide-angle:before{content:"󱥟"}.mdi-panorama-wide-angle-outline:before{content:"󰏠"}.mdi-paper-cut-vertical:before{content:"󰏡"}.mdi-paper-roll:before{content:"󱅗"}.mdi-paper-roll-outline:before{content:"󱅘"}.mdi-paperclip:before{content:"󰏢"}.mdi-paperclip-check:before{content:"󱫆"}.mdi-paperclip-lock:before{content:"󱧚"}.mdi-paperclip-minus:before{content:"󱫇"}.mdi-paperclip-off:before{content:"󱫈"}.mdi-paperclip-plus:before{content:"󱫉"}.mdi-paperclip-remove:before{content:"󱫊"}.mdi-parachute:before{content:"󰲴"}.mdi-parachute-outline:before{content:"󰲵"}.mdi-paragliding:before{content:"󱝅"}.mdi-parking:before{content:"󰏣"}.mdi-party-popper:before{content:"󱁖"}.mdi-passport:before{content:"󰟣"}.mdi-passport-biometric:before{content:"󰷡"}.mdi-pasta:before{content:"󱅠"}.mdi-patio-heater:before{content:"󰾀"}.mdi-patreon:before{content:"󰢂"}.mdi-pause:before{content:"󰏤"}.mdi-pause-box:before{content:"󰂼"}.mdi-pause-box-outline:before{content:"󱭺"}.mdi-pause-circle:before{content:"󰏥"}.mdi-pause-circle-outline:before{content:"󰏦"}.mdi-pause-octagon:before{content:"󰏧"}.mdi-pause-octagon-outline:before{content:"󰏨"}.mdi-paw:before{content:"󰏩"}.mdi-paw-off:before{content:"󰙗"}.mdi-paw-off-outline:before{content:"󱙶"}.mdi-paw-outline:before{content:"󱙵"}.mdi-peace:before{content:"󰢄"}.mdi-peanut:before{content:"󰿼"}.mdi-peanut-off:before{content:"󰿽"}.mdi-peanut-off-outline:before{content:"󰿿"}.mdi-peanut-outline:before{content:"󰿾"}.mdi-pen:before{content:"󰏪"}.mdi-pen-lock:before{content:"󰷢"}.mdi-pen-minus:before{content:"󰷣"}.mdi-pen-off:before{content:"󰷤"}.mdi-pen-plus:before{content:"󰷥"}.mdi-pen-remove:before{content:"󰷦"}.mdi-pencil:before{content:"󰏫"}.mdi-pencil-box:before{content:"󰏬"}.mdi-pencil-box-multiple:before{content:"󱅄"}.mdi-pencil-box-multiple-outline:before{content:"󱅅"}.mdi-pencil-box-outline:before{content:"󰏭"}.mdi-pencil-circle:before{content:"󰛿"}.mdi-pencil-circle-outline:before{content:"󰝶"}.mdi-pencil-lock:before{content:"󰏮"}.mdi-pencil-lock-outline:before{content:"󰷧"}.mdi-pencil-minus:before{content:"󰷨"}.mdi-pencil-minus-outline:before{content:"󰷩"}.mdi-pencil-off:before{content:"󰏯"}.mdi-pencil-off-outline:before{content:"󰷪"}.mdi-pencil-outline:before{content:"󰲶"}.mdi-pencil-plus:before{content:"󰷫"}.mdi-pencil-plus-outline:before{content:"󰷬"}.mdi-pencil-remove:before{content:"󰷭"}.mdi-pencil-remove-outline:before{content:"󰷮"}.mdi-pencil-ruler:before{content:"󱍓"}.mdi-pencil-ruler-outline:before{content:"󱰑"}.mdi-penguin:before{content:"󰻀"}.mdi-pentagon:before{content:"󰜁"}.mdi-pentagon-outline:before{content:"󰜀"}.mdi-pentagram:before{content:"󱙧"}.mdi-percent:before{content:"󰏰"}.mdi-percent-box:before{content:"󱨂"}.mdi-percent-box-outline:before{content:"󱨃"}.mdi-percent-circle:before{content:"󱨄"}.mdi-percent-circle-outline:before{content:"󱨅"}.mdi-percent-outline:before{content:"󱉸"}.mdi-periodic-table:before{content:"󰢶"}.mdi-perspective-less:before{content:"󰴣"}.mdi-perspective-more:before{content:"󰴤"}.mdi-ph:before{content:"󱟅"}.mdi-phone:before{content:"󰏲"}.mdi-phone-alert:before{content:"󰼚"}.mdi-phone-alert-outline:before{content:"󱆎"}.mdi-phone-bluetooth:before{content:"󰏳"}.mdi-phone-bluetooth-outline:before{content:"󱆏"}.mdi-phone-cancel:before{content:"󱂼"}.mdi-phone-cancel-outline:before{content:"󱆐"}.mdi-phone-check:before{content:"󱆩"}.mdi-phone-check-outline:before{content:"󱆪"}.mdi-phone-classic:before{content:"󰘂"}.mdi-phone-classic-off:before{content:"󱉹"}.mdi-phone-clock:before{content:"󱧛"}.mdi-phone-dial:before{content:"󱕙"}.mdi-phone-dial-outline:before{content:"󱕚"}.mdi-phone-forward:before{content:"󰏴"}.mdi-phone-forward-outline:before{content:"󱆑"}.mdi-phone-hangup:before{content:"󰏵"}.mdi-phone-hangup-outline:before{content:"󱆒"}.mdi-phone-in-talk:before{content:"󰏶"}.mdi-phone-in-talk-outline:before{content:"󱆂"}.mdi-phone-incoming:before{content:"󰏷"}.mdi-phone-incoming-outgoing:before{content:"󱬿"}.mdi-phone-incoming-outgoing-outline:before{content:"󱭀"}.mdi-phone-incoming-outline:before{content:"󱆓"}.mdi-phone-lock:before{content:"󰏸"}.mdi-phone-lock-outline:before{content:"󱆔"}.mdi-phone-log:before{content:"󰏹"}.mdi-phone-log-outline:before{content:"󱆕"}.mdi-phone-message:before{content:"󱆖"}.mdi-phone-message-outline:before{content:"󱆗"}.mdi-phone-minus:before{content:"󰙘"}.mdi-phone-minus-outline:before{content:"󱆘"}.mdi-phone-missed:before{content:"󰏺"}.mdi-phone-missed-outline:before{content:"󱆥"}.mdi-phone-off:before{content:"󰷯"}.mdi-phone-off-outline:before{content:"󱆦"}.mdi-phone-outgoing:before{content:"󰏻"}.mdi-phone-outgoing-outline:before{content:"󱆙"}.mdi-phone-outline:before{content:"󰷰"}.mdi-phone-paused:before{content:"󰏼"}.mdi-phone-paused-outline:before{content:"󱆚"}.mdi-phone-plus:before{content:"󰙙"}.mdi-phone-plus-outline:before{content:"󱆛"}.mdi-phone-refresh:before{content:"󱦓"}.mdi-phone-refresh-outline:before{content:"󱦔"}.mdi-phone-remove:before{content:"󱔯"}.mdi-phone-remove-outline:before{content:"󱔰"}.mdi-phone-return:before{content:"󰠯"}.mdi-phone-return-outline:before{content:"󱆜"}.mdi-phone-ring:before{content:"󱆫"}.mdi-phone-ring-outline:before{content:"󱆬"}.mdi-phone-rotate-landscape:before{content:"󰢅"}.mdi-phone-rotate-portrait:before{content:"󰢆"}.mdi-phone-settings:before{content:"󰏽"}.mdi-phone-settings-outline:before{content:"󱆝"}.mdi-phone-sync:before{content:"󱦕"}.mdi-phone-sync-outline:before{content:"󱦖"}.mdi-phone-voip:before{content:"󰏾"}.mdi-pi:before{content:"󰏿"}.mdi-pi-box:before{content:"󰐀"}.mdi-pi-hole:before{content:"󰷱"}.mdi-piano:before{content:"󰙽"}.mdi-piano-off:before{content:"󰚘"}.mdi-pickaxe:before{content:"󰢷"}.mdi-picture-in-picture-bottom-right:before{content:"󰹗"}.mdi-picture-in-picture-bottom-right-outline:before{content:"󰹘"}.mdi-picture-in-picture-top-right:before{content:"󰹙"}.mdi-picture-in-picture-top-right-outline:before{content:"󰹚"}.mdi-pier:before{content:"󰢇"}.mdi-pier-crane:before{content:"󰢈"}.mdi-pig:before{content:"󰐁"}.mdi-pig-variant:before{content:"󱀆"}.mdi-pig-variant-outline:before{content:"󱙸"}.mdi-piggy-bank:before{content:"󱀇"}.mdi-piggy-bank-outline:before{content:"󱙹"}.mdi-pill:before{content:"󰐂"}.mdi-pill-multiple:before{content:"󱭌"}.mdi-pill-off:before{content:"󱩜"}.mdi-pillar:before{content:"󰜂"}.mdi-pin:before{content:"󰐃"}.mdi-pin-off:before{content:"󰐄"}.mdi-pin-off-outline:before{content:"󰤰"}.mdi-pin-outline:before{content:"󰤱"}.mdi-pine-tree:before{content:"󰐅"}.mdi-pine-tree-box:before{content:"󰐆"}.mdi-pine-tree-fire:before{content:"󱐚"}.mdi-pine-tree-variant:before{content:"󱱳"}.mdi-pine-tree-variant-outline:before{content:"󱱴"}.mdi-pinterest:before{content:"󰐇"}.mdi-pinwheel:before{content:"󰫕"}.mdi-pinwheel-outline:before{content:"󰫖"}.mdi-pipe:before{content:"󰟥"}.mdi-pipe-disconnected:before{content:"󰟦"}.mdi-pipe-leak:before{content:"󰢉"}.mdi-pipe-valve:before{content:"󱡍"}.mdi-pipe-wrench:before{content:"󱍔"}.mdi-pirate:before{content:"󰨈"}.mdi-pistol:before{content:"󰜃"}.mdi-piston:before{content:"󰢊"}.mdi-pitchfork:before{content:"󱕓"}.mdi-pizza:before{content:"󰐉"}.mdi-plane-car:before{content:"󱫿"}.mdi-plane-train:before{content:"󱬀"}.mdi-play:before{content:"󰐊"}.mdi-play-box:before{content:"󱉺"}.mdi-play-box-edit-outline:before{content:"󱰺"}.mdi-play-box-lock:before{content:"󱨖"}.mdi-play-box-lock-open:before{content:"󱨗"}.mdi-play-box-lock-open-outline:before{content:"󱨘"}.mdi-play-box-lock-outline:before{content:"󱨙"}.mdi-play-box-multiple:before{content:"󰴙"}.mdi-play-box-multiple-outline:before{content:"󱏦"}.mdi-play-box-outline:before{content:"󰐋"}.mdi-play-circle:before{content:"󰐌"}.mdi-play-circle-outline:before{content:"󰐍"}.mdi-play-network:before{content:"󰢋"}.mdi-play-network-outline:before{content:"󰲷"}.mdi-play-outline:before{content:"󰼛"}.mdi-play-pause:before{content:"󰐎"}.mdi-play-protected-content:before{content:"󰐏"}.mdi-play-speed:before{content:"󰣿"}.mdi-playlist-check:before{content:"󰗇"}.mdi-playlist-edit:before{content:"󰤀"}.mdi-playlist-minus:before{content:"󰐐"}.mdi-playlist-music:before{content:"󰲸"}.mdi-playlist-music-outline:before{content:"󰲹"}.mdi-playlist-play:before{content:"󰐑"}.mdi-playlist-plus:before{content:"󰐒"}.mdi-playlist-remove:before{content:"󰐓"}.mdi-playlist-star:before{content:"󰷲"}.mdi-plex:before{content:"󰚺"}.mdi-pliers:before{content:"󱦤"}.mdi-plus:before{content:"󰐕"}.mdi-plus-box:before{content:"󰐖"}.mdi-plus-box-multiple:before{content:"󰌴"}.mdi-plus-box-multiple-outline:before{content:"󱅃"}.mdi-plus-box-outline:before{content:"󰜄"}.mdi-plus-circle:before{content:"󰐗"}.mdi-plus-circle-multiple:before{content:"󰍌"}.mdi-plus-circle-multiple-outline:before{content:"󰐘"}.mdi-plus-circle-outline:before{content:"󰐙"}.mdi-plus-lock:before{content:"󱩝"}.mdi-plus-lock-open:before{content:"󱩞"}.mdi-plus-minus:before{content:"󰦒"}.mdi-plus-minus-box:before{content:"󰦓"}.mdi-plus-minus-variant:before{content:"󱓉"}.mdi-plus-network:before{content:"󰐚"}.mdi-plus-network-outline:before{content:"󰲺"}.mdi-plus-outline:before{content:"󰜅"}.mdi-plus-thick:before{content:"󱇬"}.mdi-podcast:before{content:"󰦔"}.mdi-podium:before{content:"󰴥"}.mdi-podium-bronze:before{content:"󰴦"}.mdi-podium-gold:before{content:"󰴧"}.mdi-podium-silver:before{content:"󰴨"}.mdi-point-of-sale:before{content:"󰶒"}.mdi-pokeball:before{content:"󰐝"}.mdi-pokemon-go:before{content:"󰨉"}.mdi-poker-chip:before{content:"󰠰"}.mdi-polaroid:before{content:"󰐞"}.mdi-police-badge:before{content:"󱅧"}.mdi-police-badge-outline:before{content:"󱅨"}.mdi-police-station:before{content:"󱠹"}.mdi-poll:before{content:"󰐟"}.mdi-polo:before{content:"󱓃"}.mdi-polymer:before{content:"󰐡"}.mdi-pool:before{content:"󰘆"}.mdi-pool-thermometer:before{content:"󱩟"}.mdi-popcorn:before{content:"󰐢"}.mdi-post:before{content:"󱀈"}.mdi-post-lamp:before{content:"󱩠"}.mdi-post-outline:before{content:"󱀉"}.mdi-postage-stamp:before{content:"󰲻"}.mdi-pot:before{content:"󰋥"}.mdi-pot-mix:before{content:"󰙛"}.mdi-pot-mix-outline:before{content:"󰙷"}.mdi-pot-outline:before{content:"󰋿"}.mdi-pot-steam:before{content:"󰙚"}.mdi-pot-steam-outline:before{content:"󰌦"}.mdi-pound:before{content:"󰐣"}.mdi-pound-box:before{content:"󰐤"}.mdi-pound-box-outline:before{content:"󱅿"}.mdi-power:before{content:"󰐥"}.mdi-power-cycle:before{content:"󰤁"}.mdi-power-off:before{content:"󰤂"}.mdi-power-on:before{content:"󰤃"}.mdi-power-plug:before{content:"󰚥"}.mdi-power-plug-battery:before{content:"󱰻"}.mdi-power-plug-battery-outline:before{content:"󱰼"}.mdi-power-plug-off:before{content:"󰚦"}.mdi-power-plug-off-outline:before{content:"󱐤"}.mdi-power-plug-outline:before{content:"󱐥"}.mdi-power-settings:before{content:"󰐦"}.mdi-power-sleep:before{content:"󰤄"}.mdi-power-socket:before{content:"󰐧"}.mdi-power-socket-au:before{content:"󰤅"}.mdi-power-socket-ch:before{content:"󰾳"}.mdi-power-socket-de:before{content:"󱄇"}.mdi-power-socket-eu:before{content:"󰟧"}.mdi-power-socket-fr:before{content:"󱄈"}.mdi-power-socket-it:before{content:"󱓿"}.mdi-power-socket-jp:before{content:"󱄉"}.mdi-power-socket-uk:before{content:"󰟨"}.mdi-power-socket-us:before{content:"󰟩"}.mdi-power-standby:before{content:"󰤆"}.mdi-powershell:before{content:"󰨊"}.mdi-prescription:before{content:"󰜆"}.mdi-presentation:before{content:"󰐨"}.mdi-presentation-play:before{content:"󰐩"}.mdi-pretzel:before{content:"󱕢"}.mdi-printer:before{content:"󰐪"}.mdi-printer-3d:before{content:"󰐫"}.mdi-printer-3d-nozzle:before{content:"󰹛"}.mdi-printer-3d-nozzle-alert:before{content:"󱇀"}.mdi-printer-3d-nozzle-alert-outline:before{content:"󱇁"}.mdi-printer-3d-nozzle-heat:before{content:"󱢸"}.mdi-printer-3d-nozzle-heat-outline:before{content:"󱢹"}.mdi-printer-3d-nozzle-off:before{content:"󱬙"}.mdi-printer-3d-nozzle-off-outline:before{content:"󱬚"}.mdi-printer-3d-nozzle-outline:before{content:"󰹜"}.mdi-printer-3d-off:before{content:"󱬎"}.mdi-printer-alert:before{content:"󰐬"}.mdi-printer-check:before{content:"󱅆"}.mdi-printer-eye:before{content:"󱑘"}.mdi-printer-off:before{content:"󰹝"}.mdi-printer-off-outline:before{content:"󱞅"}.mdi-printer-outline:before{content:"󱞆"}.mdi-printer-pos:before{content:"󱁗"}.mdi-printer-pos-alert:before{content:"󱮼"}.mdi-printer-pos-alert-outline:before{content:"󱮽"}.mdi-printer-pos-cancel:before{content:"󱮾"}.mdi-printer-pos-cancel-outline:before{content:"󱮿"}.mdi-printer-pos-check:before{content:"󱯀"}.mdi-printer-pos-check-outline:before{content:"󱯁"}.mdi-printer-pos-cog:before{content:"󱯂"}.mdi-printer-pos-cog-outline:before{content:"󱯃"}.mdi-printer-pos-edit:before{content:"󱯄"}.mdi-printer-pos-edit-outline:before{content:"󱯅"}.mdi-printer-pos-minus:before{content:"󱯆"}.mdi-printer-pos-minus-outline:before{content:"󱯇"}.mdi-printer-pos-network:before{content:"󱯈"}.mdi-printer-pos-network-outline:before{content:"󱯉"}.mdi-printer-pos-off:before{content:"󱯊"}.mdi-printer-pos-off-outline:before{content:"󱯋"}.mdi-printer-pos-outline:before{content:"󱯌"}.mdi-printer-pos-pause:before{content:"󱯍"}.mdi-printer-pos-pause-outline:before{content:"󱯎"}.mdi-printer-pos-play:before{content:"󱯏"}.mdi-printer-pos-play-outline:before{content:"󱯐"}.mdi-printer-pos-plus:before{content:"󱯑"}.mdi-printer-pos-plus-outline:before{content:"󱯒"}.mdi-printer-pos-refresh:before{content:"󱯓"}.mdi-printer-pos-refresh-outline:before{content:"󱯔"}.mdi-printer-pos-remove:before{content:"󱯕"}.mdi-printer-pos-remove-outline:before{content:"󱯖"}.mdi-printer-pos-star:before{content:"󱯗"}.mdi-printer-pos-star-outline:before{content:"󱯘"}.mdi-printer-pos-stop:before{content:"󱯙"}.mdi-printer-pos-stop-outline:before{content:"󱯚"}.mdi-printer-pos-sync:before{content:"󱯛"}.mdi-printer-pos-sync-outline:before{content:"󱯜"}.mdi-printer-pos-wrench:before{content:"󱯝"}.mdi-printer-pos-wrench-outline:before{content:"󱯞"}.mdi-printer-search:before{content:"󱑗"}.mdi-printer-settings:before{content:"󰜇"}.mdi-printer-wireless:before{content:"󰨋"}.mdi-priority-high:before{content:"󰘃"}.mdi-priority-low:before{content:"󰘄"}.mdi-professional-hexagon:before{content:"󰐭"}.mdi-progress-alert:before{content:"󰲼"}.mdi-progress-check:before{content:"󰦕"}.mdi-progress-clock:before{content:"󰦖"}.mdi-progress-close:before{content:"󱄊"}.mdi-progress-download:before{content:"󰦗"}.mdi-progress-helper:before{content:"󱮢"}.mdi-progress-pencil:before{content:"󱞇"}.mdi-progress-question:before{content:"󱔢"}.mdi-progress-star:before{content:"󱞈"}.mdi-progress-star-four-points:before{content:"󱰽"}.mdi-progress-upload:before{content:"󰦘"}.mdi-progress-wrench:before{content:"󰲽"}.mdi-projector:before{content:"󰐮"}.mdi-projector-off:before{content:"󱨣"}.mdi-projector-screen:before{content:"󰐯"}.mdi-projector-screen-off:before{content:"󱠍"}.mdi-projector-screen-off-outline:before{content:"󱠎"}.mdi-projector-screen-outline:before{content:"󱜤"}.mdi-projector-screen-variant:before{content:"󱠏"}.mdi-projector-screen-variant-off:before{content:"󱠐"}.mdi-projector-screen-variant-off-outline:before{content:"󱠑"}.mdi-projector-screen-variant-outline:before{content:"󱠒"}.mdi-propane-tank:before{content:"󱍗"}.mdi-propane-tank-outline:before{content:"󱍘"}.mdi-protocol:before{content:"󰿘"}.mdi-publish:before{content:"󰚧"}.mdi-publish-off:before{content:"󱥅"}.mdi-pulse:before{content:"󰐰"}.mdi-pump:before{content:"󱐂"}.mdi-pump-off:before{content:"󱬢"}.mdi-pumpkin:before{content:"󰮿"}.mdi-purse:before{content:"󰼜"}.mdi-purse-outline:before{content:"󰼝"}.mdi-puzzle:before{content:"󰐱"}.mdi-puzzle-check:before{content:"󱐦"}.mdi-puzzle-check-outline:before{content:"󱐧"}.mdi-puzzle-edit:before{content:"󱓓"}.mdi-puzzle-edit-outline:before{content:"󱓙"}.mdi-puzzle-heart:before{content:"󱓔"}.mdi-puzzle-heart-outline:before{content:"󱓚"}.mdi-puzzle-minus:before{content:"󱓑"}.mdi-puzzle-minus-outline:before{content:"󱓗"}.mdi-puzzle-outline:before{content:"󰩦"}.mdi-puzzle-plus:before{content:"󱓐"}.mdi-puzzle-plus-outline:before{content:"󱓖"}.mdi-puzzle-remove:before{content:"󱓒"}.mdi-puzzle-remove-outline:before{content:"󱓘"}.mdi-puzzle-star:before{content:"󱓕"}.mdi-puzzle-star-outline:before{content:"󱓛"}.mdi-pyramid:before{content:"󱥒"}.mdi-pyramid-off:before{content:"󱥓"}.mdi-qi:before{content:"󰦙"}.mdi-qqchat:before{content:"󰘅"}.mdi-qrcode:before{content:"󰐲"}.mdi-qrcode-edit:before{content:"󰢸"}.mdi-qrcode-minus:before{content:"󱆌"}.mdi-qrcode-plus:before{content:"󱆋"}.mdi-qrcode-remove:before{content:"󱆍"}.mdi-qrcode-scan:before{content:"󰐳"}.mdi-quadcopter:before{content:"󰐴"}.mdi-quality-high:before{content:"󰐵"}.mdi-quality-low:before{content:"󰨌"}.mdi-quality-medium:before{content:"󰨍"}.mdi-quora:before{content:"󰴩"}.mdi-rabbit:before{content:"󰤇"}.mdi-rabbit-variant:before{content:"󱩡"}.mdi-rabbit-variant-outline:before{content:"󱩢"}.mdi-racing-helmet:before{content:"󰶓"}.mdi-racquetball:before{content:"󰶔"}.mdi-radar:before{content:"󰐷"}.mdi-radiator:before{content:"󰐸"}.mdi-radiator-disabled:before{content:"󰫗"}.mdi-radiator-off:before{content:"󰫘"}.mdi-radio:before{content:"󰐹"}.mdi-radio-am:before{content:"󰲾"}.mdi-radio-fm:before{content:"󰲿"}.mdi-radio-handheld:before{content:"󰐺"}.mdi-radio-off:before{content:"󱈜"}.mdi-radio-tower:before{content:"󰐻"}.mdi-radioactive:before{content:"󰐼"}.mdi-radioactive-circle:before{content:"󱡝"}.mdi-radioactive-circle-outline:before{content:"󱡞"}.mdi-radioactive-off:before{content:"󰻁"}.mdi-radiobox-blank:before{content:"󰐽"}.mdi-radiobox-indeterminate-variant:before{content:"󱱞"}.mdi-radiobox-marked:before{content:"󰐾"}.mdi-radiology-box:before{content:"󱓅"}.mdi-radiology-box-outline:before{content:"󱓆"}.mdi-radius:before{content:"󰳀"}.mdi-radius-outline:before{content:"󰳁"}.mdi-railroad-light:before{content:"󰼞"}.mdi-rake:before{content:"󱕄"}.mdi-raspberry-pi:before{content:"󰐿"}.mdi-raw:before{content:"󱨏"}.mdi-raw-off:before{content:"󱨐"}.mdi-ray-end:before{content:"󰑀"}.mdi-ray-end-arrow:before{content:"󰑁"}.mdi-ray-start:before{content:"󰑂"}.mdi-ray-start-arrow:before{content:"󰑃"}.mdi-ray-start-end:before{content:"󰑄"}.mdi-ray-start-vertex-end:before{content:"󱗘"}.mdi-ray-vertex:before{content:"󰑅"}.mdi-razor-double-edge:before{content:"󱦗"}.mdi-razor-single-edge:before{content:"󱦘"}.mdi-react:before{content:"󰜈"}.mdi-read:before{content:"󰑇"}.mdi-receipt:before{content:"󰠤"}.mdi-receipt-clock:before{content:"󱰾"}.mdi-receipt-clock-outline:before{content:"󱰿"}.mdi-receipt-outline:before{content:"󰓷"}.mdi-receipt-send:before{content:"󱱀"}.mdi-receipt-send-outline:before{content:"󱱁"}.mdi-receipt-text:before{content:"󰑉"}.mdi-receipt-text-arrow-left:before{content:"󱱂"}.mdi-receipt-text-arrow-left-outline:before{content:"󱱃"}.mdi-receipt-text-arrow-right:before{content:"󱱄"}.mdi-receipt-text-arrow-right-outline:before{content:"󱱅"}.mdi-receipt-text-check:before{content:"󱩣"}.mdi-receipt-text-check-outline:before{content:"󱩤"}.mdi-receipt-text-clock:before{content:"󱱆"}.mdi-receipt-text-clock-outline:before{content:"󱱇"}.mdi-receipt-text-edit:before{content:"󱱈"}.mdi-receipt-text-edit-outline:before{content:"󱱉"}.mdi-receipt-text-minus:before{content:"󱩥"}.mdi-receipt-text-minus-outline:before{content:"󱩦"}.mdi-receipt-text-outline:before{content:"󱧜"}.mdi-receipt-text-plus:before{content:"󱩧"}.mdi-receipt-text-plus-outline:before{content:"󱩨"}.mdi-receipt-text-remove:before{content:"󱩩"}.mdi-receipt-text-remove-outline:before{content:"󱩪"}.mdi-receipt-text-send:before{content:"󱱊"}.mdi-receipt-text-send-outline:before{content:"󱱋"}.mdi-record:before{content:"󰑊"}.mdi-record-circle:before{content:"󰻂"}.mdi-record-circle-outline:before{content:"󰻃"}.mdi-record-player:before{content:"󰦚"}.mdi-record-rec:before{content:"󰑋"}.mdi-rectangle:before{content:"󰹞"}.mdi-rectangle-outline:before{content:"󰹟"}.mdi-recycle:before{content:"󰑌"}.mdi-recycle-variant:before{content:"󱎝"}.mdi-reddit:before{content:"󰑍"}.mdi-redhat:before{content:"󱄛"}.mdi-redo:before{content:"󰑎"}.mdi-redo-variant:before{content:"󰑏"}.mdi-reflect-horizontal:before{content:"󰨎"}.mdi-reflect-vertical:before{content:"󰨏"}.mdi-refresh:before{content:"󰑐"}.mdi-refresh-auto:before{content:"󱣲"}.mdi-refresh-circle:before{content:"󱍷"}.mdi-regex:before{content:"󰑑"}.mdi-registered-trademark:before{content:"󰩧"}.mdi-reiterate:before{content:"󱖈"}.mdi-relation-many-to-many:before{content:"󱒖"}.mdi-relation-many-to-one:before{content:"󱒗"}.mdi-relation-many-to-one-or-many:before{content:"󱒘"}.mdi-relation-many-to-only-one:before{content:"󱒙"}.mdi-relation-many-to-zero-or-many:before{content:"󱒚"}.mdi-relation-many-to-zero-or-one:before{content:"󱒛"}.mdi-relation-one-or-many-to-many:before{content:"󱒜"}.mdi-relation-one-or-many-to-one:before{content:"󱒝"}.mdi-relation-one-or-many-to-one-or-many:before{content:"󱒞"}.mdi-relation-one-or-many-to-only-one:before{content:"󱒟"}.mdi-relation-one-or-many-to-zero-or-many:before{content:"󱒠"}.mdi-relation-one-or-many-to-zero-or-one:before{content:"󱒡"}.mdi-relation-one-to-many:before{content:"󱒢"}.mdi-relation-one-to-one:before{content:"󱒣"}.mdi-relation-one-to-one-or-many:before{content:"󱒤"}.mdi-relation-one-to-only-one:before{content:"󱒥"}.mdi-relation-one-to-zero-or-many:before{content:"󱒦"}.mdi-relation-one-to-zero-or-one:before{content:"󱒧"}.mdi-relation-only-one-to-many:before{content:"󱒨"}.mdi-relation-only-one-to-one:before{content:"󱒩"}.mdi-relation-only-one-to-one-or-many:before{content:"󱒪"}.mdi-relation-only-one-to-only-one:before{content:"󱒫"}.mdi-relation-only-one-to-zero-or-many:before{content:"󱒬"}.mdi-relation-only-one-to-zero-or-one:before{content:"󱒭"}.mdi-relation-zero-or-many-to-many:before{content:"󱒮"}.mdi-relation-zero-or-many-to-one:before{content:"󱒯"}.mdi-relation-zero-or-many-to-one-or-many:before{content:"󱒰"}.mdi-relation-zero-or-many-to-only-one:before{content:"󱒱"}.mdi-relation-zero-or-many-to-zero-or-many:before{content:"󱒲"}.mdi-relation-zero-or-many-to-zero-or-one:before{content:"󱒳"}.mdi-relation-zero-or-one-to-many:before{content:"󱒴"}.mdi-relation-zero-or-one-to-one:before{content:"󱒵"}.mdi-relation-zero-or-one-to-one-or-many:before{content:"󱒶"}.mdi-relation-zero-or-one-to-only-one:before{content:"󱒷"}.mdi-relation-zero-or-one-to-zero-or-many:before{content:"󱒸"}.mdi-relation-zero-or-one-to-zero-or-one:before{content:"󱒹"}.mdi-relative-scale:before{content:"󰑒"}.mdi-reload:before{content:"󰑓"}.mdi-reload-alert:before{content:"󱄋"}.mdi-reminder:before{content:"󰢌"}.mdi-remote:before{content:"󰑔"}.mdi-remote-desktop:before{content:"󰢹"}.mdi-remote-off:before{content:"󰻄"}.mdi-remote-tv:before{content:"󰻅"}.mdi-remote-tv-off:before{content:"󰻆"}.mdi-rename:before{content:"󱰘"}.mdi-rename-box:before{content:"󰑕"}.mdi-rename-box-outline:before{content:"󱰙"}.mdi-rename-outline:before{content:"󱰚"}.mdi-reorder-horizontal:before{content:"󰚈"}.mdi-reorder-vertical:before{content:"󰚉"}.mdi-repeat:before{content:"󰑖"}.mdi-repeat-off:before{content:"󰑗"}.mdi-repeat-once:before{content:"󰑘"}.mdi-repeat-variant:before{content:"󰕇"}.mdi-replay:before{content:"󰑙"}.mdi-reply:before{content:"󰑚"}.mdi-reply-all:before{content:"󰑛"}.mdi-reply-all-outline:before{content:"󰼟"}.mdi-reply-circle:before{content:"󱆮"}.mdi-reply-outline:before{content:"󰼠"}.mdi-reproduction:before{content:"󰑜"}.mdi-resistor:before{content:"󰭄"}.mdi-resistor-nodes:before{content:"󰭅"}.mdi-resize:before{content:"󰩨"}.mdi-resize-bottom-right:before{content:"󰑝"}.mdi-responsive:before{content:"󰑞"}.mdi-restart:before{content:"󰜉"}.mdi-restart-alert:before{content:"󱄌"}.mdi-restart-off:before{content:"󰶕"}.mdi-restore:before{content:"󰦛"}.mdi-restore-alert:before{content:"󱄍"}.mdi-rewind:before{content:"󰑟"}.mdi-rewind-10:before{content:"󰴪"}.mdi-rewind-15:before{content:"󱥆"}.mdi-rewind-30:before{content:"󰶖"}.mdi-rewind-45:before{content:"󱬓"}.mdi-rewind-5:before{content:"󱇹"}.mdi-rewind-60:before{content:"󱘌"}.mdi-rewind-outline:before{content:"󰜊"}.mdi-rhombus:before{content:"󰜋"}.mdi-rhombus-medium:before{content:"󰨐"}.mdi-rhombus-medium-outline:before{content:"󱓜"}.mdi-rhombus-outline:before{content:"󰜌"}.mdi-rhombus-split:before{content:"󰨑"}.mdi-rhombus-split-outline:before{content:"󱓝"}.mdi-ribbon:before{content:"󰑠"}.mdi-rice:before{content:"󰟪"}.mdi-rickshaw:before{content:"󱖻"}.mdi-rickshaw-electric:before{content:"󱖼"}.mdi-ring:before{content:"󰟫"}.mdi-rivet:before{content:"󰹠"}.mdi-road:before{content:"󰑡"}.mdi-road-variant:before{content:"󰑢"}.mdi-robber:before{content:"󱁘"}.mdi-robot:before{content:"󰚩"}.mdi-robot-angry:before{content:"󱚝"}.mdi-robot-angry-outline:before{content:"󱚞"}.mdi-robot-confused:before{content:"󱚟"}.mdi-robot-confused-outline:before{content:"󱚠"}.mdi-robot-dead:before{content:"󱚡"}.mdi-robot-dead-outline:before{content:"󱚢"}.mdi-robot-excited:before{content:"󱚣"}.mdi-robot-excited-outline:before{content:"󱚤"}.mdi-robot-happy:before{content:"󱜙"}.mdi-robot-happy-outline:before{content:"󱜚"}.mdi-robot-industrial:before{content:"󰭆"}.mdi-robot-industrial-outline:before{content:"󱨚"}.mdi-robot-love:before{content:"󱚥"}.mdi-robot-love-outline:before{content:"󱚦"}.mdi-robot-mower:before{content:"󱇷"}.mdi-robot-mower-outline:before{content:"󱇳"}.mdi-robot-off:before{content:"󱚧"}.mdi-robot-off-outline:before{content:"󱙻"}.mdi-robot-outline:before{content:"󱙺"}.mdi-robot-vacuum:before{content:"󰜍"}.mdi-robot-vacuum-alert:before{content:"󱭝"}.mdi-robot-vacuum-off:before{content:"󱰁"}.mdi-robot-vacuum-variant:before{content:"󰤈"}.mdi-robot-vacuum-variant-alert:before{content:"󱭞"}.mdi-robot-vacuum-variant-off:before{content:"󱰂"}.mdi-rocket:before{content:"󰑣"}.mdi-rocket-launch:before{content:"󱓞"}.mdi-rocket-launch-outline:before{content:"󱓟"}.mdi-rocket-outline:before{content:"󱎯"}.mdi-rodent:before{content:"󱌧"}.mdi-roller-shade:before{content:"󱩫"}.mdi-roller-shade-closed:before{content:"󱩬"}.mdi-roller-skate:before{content:"󰴫"}.mdi-roller-skate-off:before{content:"󰅅"}.mdi-rollerblade:before{content:"󰴬"}.mdi-rollerblade-off:before{content:"󰀮"}.mdi-rollupjs:before{content:"󰯀"}.mdi-rolodex:before{content:"󱪹"}.mdi-rolodex-outline:before{content:"󱪺"}.mdi-roman-numeral-1:before{content:"󱂈"}.mdi-roman-numeral-10:before{content:"󱂑"}.mdi-roman-numeral-2:before{content:"󱂉"}.mdi-roman-numeral-3:before{content:"󱂊"}.mdi-roman-numeral-4:before{content:"󱂋"}.mdi-roman-numeral-5:before{content:"󱂌"}.mdi-roman-numeral-6:before{content:"󱂍"}.mdi-roman-numeral-7:before{content:"󱂎"}.mdi-roman-numeral-8:before{content:"󱂏"}.mdi-roman-numeral-9:before{content:"󱂐"}.mdi-room-service:before{content:"󰢍"}.mdi-room-service-outline:before{content:"󰶗"}.mdi-rotate-360:before{content:"󱦙"}.mdi-rotate-3d:before{content:"󰻇"}.mdi-rotate-3d-variant:before{content:"󰑤"}.mdi-rotate-left:before{content:"󰑥"}.mdi-rotate-left-variant:before{content:"󰑦"}.mdi-rotate-orbit:before{content:"󰶘"}.mdi-rotate-right:before{content:"󰑧"}.mdi-rotate-right-variant:before{content:"󰑨"}.mdi-rounded-corner:before{content:"󰘇"}.mdi-router:before{content:"󱇢"}.mdi-router-network:before{content:"󱂇"}.mdi-router-wireless:before{content:"󰑩"}.mdi-router-wireless-off:before{content:"󱖣"}.mdi-router-wireless-settings:before{content:"󰩩"}.mdi-routes:before{content:"󰑪"}.mdi-routes-clock:before{content:"󱁙"}.mdi-rowing:before{content:"󰘈"}.mdi-rss:before{content:"󰑫"}.mdi-rss-box:before{content:"󰑬"}.mdi-rss-off:before{content:"󰼡"}.mdi-rug:before{content:"󱑵"}.mdi-rugby:before{content:"󰶙"}.mdi-ruler:before{content:"󰑭"}.mdi-ruler-square:before{content:"󰳂"}.mdi-ruler-square-compass:before{content:"󰺾"}.mdi-run:before{content:"󰜎"}.mdi-run-fast:before{content:"󰑮"}.mdi-rv-truck:before{content:"󱇔"}.mdi-sack:before{content:"󰴮"}.mdi-sack-outline:before{content:"󱱌"}.mdi-sack-percent:before{content:"󰴯"}.mdi-safe:before{content:"󰩪"}.mdi-safe-square:before{content:"󱉼"}.mdi-safe-square-outline:before{content:"󱉽"}.mdi-safety-goggles:before{content:"󰴰"}.mdi-sail-boat:before{content:"󰻈"}.mdi-sail-boat-sink:before{content:"󱫯"}.mdi-sale:before{content:"󰑯"}.mdi-sale-outline:before{content:"󱨆"}.mdi-salesforce:before{content:"󰢎"}.mdi-sass:before{content:"󰟬"}.mdi-satellite:before{content:"󰑰"}.mdi-satellite-uplink:before{content:"󰤉"}.mdi-satellite-variant:before{content:"󰑱"}.mdi-sausage:before{content:"󰢺"}.mdi-sausage-off:before{content:"󱞉"}.mdi-saw-blade:before{content:"󰹡"}.mdi-sawtooth-wave:before{content:"󱑺"}.mdi-saxophone:before{content:"󰘉"}.mdi-scale:before{content:"󰑲"}.mdi-scale-balance:before{content:"󰗑"}.mdi-scale-bathroom:before{content:"󰑳"}.mdi-scale-off:before{content:"󱁚"}.mdi-scale-unbalanced:before{content:"󱦸"}.mdi-scan-helper:before{content:"󱏘"}.mdi-scanner:before{content:"󰚫"}.mdi-scanner-off:before{content:"󰤊"}.mdi-scatter-plot:before{content:"󰻉"}.mdi-scatter-plot-outline:before{content:"󰻊"}.mdi-scent:before{content:"󱥘"}.mdi-scent-off:before{content:"󱥙"}.mdi-school:before{content:"󰑴"}.mdi-school-outline:before{content:"󱆀"}.mdi-scissors-cutting:before{content:"󰩫"}.mdi-scooter:before{content:"󱖽"}.mdi-scooter-electric:before{content:"󱖾"}.mdi-scoreboard:before{content:"󱉾"}.mdi-scoreboard-outline:before{content:"󱉿"}.mdi-screen-rotation:before{content:"󰑵"}.mdi-screen-rotation-lock:before{content:"󰑸"}.mdi-screw-flat-top:before{content:"󰷳"}.mdi-screw-lag:before{content:"󰷴"}.mdi-screw-machine-flat-top:before{content:"󰷵"}.mdi-screw-machine-round-top:before{content:"󰷶"}.mdi-screw-round-top:before{content:"󰷷"}.mdi-screwdriver:before{content:"󰑶"}.mdi-script:before{content:"󰯁"}.mdi-script-outline:before{content:"󰑷"}.mdi-script-text:before{content:"󰯂"}.mdi-script-text-key:before{content:"󱜥"}.mdi-script-text-key-outline:before{content:"󱜦"}.mdi-script-text-outline:before{content:"󰯃"}.mdi-script-text-play:before{content:"󱜧"}.mdi-script-text-play-outline:before{content:"󱜨"}.mdi-sd:before{content:"󰑹"}.mdi-seal:before{content:"󰑺"}.mdi-seal-variant:before{content:"󰿙"}.mdi-search-web:before{content:"󰜏"}.mdi-seat:before{content:"󰳃"}.mdi-seat-flat:before{content:"󰑻"}.mdi-seat-flat-angled:before{content:"󰑼"}.mdi-seat-individual-suite:before{content:"󰑽"}.mdi-seat-legroom-extra:before{content:"󰑾"}.mdi-seat-legroom-normal:before{content:"󰑿"}.mdi-seat-legroom-reduced:before{content:"󰒀"}.mdi-seat-outline:before{content:"󰳄"}.mdi-seat-passenger:before{content:"󱉉"}.mdi-seat-recline-extra:before{content:"󰒁"}.mdi-seat-recline-normal:before{content:"󰒂"}.mdi-seatbelt:before{content:"󰳅"}.mdi-security:before{content:"󰒃"}.mdi-security-network:before{content:"󰒄"}.mdi-seed:before{content:"󰹢"}.mdi-seed-off:before{content:"󱏽"}.mdi-seed-off-outline:before{content:"󱏾"}.mdi-seed-outline:before{content:"󰹣"}.mdi-seed-plus:before{content:"󱩭"}.mdi-seed-plus-outline:before{content:"󱩮"}.mdi-seesaw:before{content:"󱖤"}.mdi-segment:before{content:"󰻋"}.mdi-select:before{content:"󰒅"}.mdi-select-all:before{content:"󰒆"}.mdi-select-arrow-down:before{content:"󱭙"}.mdi-select-arrow-up:before{content:"󱭘"}.mdi-select-color:before{content:"󰴱"}.mdi-select-compare:before{content:"󰫙"}.mdi-select-drag:before{content:"󰩬"}.mdi-select-group:before{content:"󰾂"}.mdi-select-inverse:before{content:"󰒇"}.mdi-select-marker:before{content:"󱊀"}.mdi-select-multiple:before{content:"󱊁"}.mdi-select-multiple-marker:before{content:"󱊂"}.mdi-select-off:before{content:"󰒈"}.mdi-select-place:before{content:"󰿚"}.mdi-select-remove:before{content:"󱟁"}.mdi-select-search:before{content:"󱈄"}.mdi-selection:before{content:"󰒉"}.mdi-selection-drag:before{content:"󰩭"}.mdi-selection-ellipse:before{content:"󰴲"}.mdi-selection-ellipse-arrow-inside:before{content:"󰼢"}.mdi-selection-ellipse-remove:before{content:"󱟂"}.mdi-selection-marker:before{content:"󱊃"}.mdi-selection-multiple:before{content:"󱊅"}.mdi-selection-multiple-marker:before{content:"󱊄"}.mdi-selection-off:before{content:"󰝷"}.mdi-selection-remove:before{content:"󱟃"}.mdi-selection-search:before{content:"󱈅"}.mdi-semantic-web:before{content:"󱌖"}.mdi-send:before{content:"󰒊"}.mdi-send-check:before{content:"󱅡"}.mdi-send-check-outline:before{content:"󱅢"}.mdi-send-circle:before{content:"󰷸"}.mdi-send-circle-outline:before{content:"󰷹"}.mdi-send-clock:before{content:"󱅣"}.mdi-send-clock-outline:before{content:"󱅤"}.mdi-send-lock:before{content:"󰟭"}.mdi-send-lock-outline:before{content:"󱅦"}.mdi-send-outline:before{content:"󱅥"}.mdi-send-variant:before{content:"󱱍"}.mdi-send-variant-clock:before{content:"󱱾"}.mdi-send-variant-clock-outline:before{content:"󱱿"}.mdi-send-variant-outline:before{content:"󱱎"}.mdi-serial-port:before{content:"󰙜"}.mdi-server:before{content:"󰒋"}.mdi-server-minus:before{content:"󰒌"}.mdi-server-network:before{content:"󰒍"}.mdi-server-network-off:before{content:"󰒎"}.mdi-server-off:before{content:"󰒏"}.mdi-server-plus:before{content:"󰒐"}.mdi-server-remove:before{content:"󰒑"}.mdi-server-security:before{content:"󰒒"}.mdi-set-all:before{content:"󰝸"}.mdi-set-center:before{content:"󰝹"}.mdi-set-center-right:before{content:"󰝺"}.mdi-set-left:before{content:"󰝻"}.mdi-set-left-center:before{content:"󰝼"}.mdi-set-left-right:before{content:"󰝽"}.mdi-set-merge:before{content:"󱓠"}.mdi-set-none:before{content:"󰝾"}.mdi-set-right:before{content:"󰝿"}.mdi-set-split:before{content:"󱓡"}.mdi-set-square:before{content:"󱑝"}.mdi-set-top-box:before{content:"󰦟"}.mdi-settings-helper:before{content:"󰩮"}.mdi-shaker:before{content:"󱄎"}.mdi-shaker-outline:before{content:"󱄏"}.mdi-shape:before{content:"󰠱"}.mdi-shape-circle-plus:before{content:"󰙝"}.mdi-shape-outline:before{content:"󰠲"}.mdi-shape-oval-plus:before{content:"󱇺"}.mdi-shape-plus:before{content:"󰒕"}.mdi-shape-plus-outline:before{content:"󱱏"}.mdi-shape-polygon-plus:before{content:"󰙞"}.mdi-shape-rectangle-plus:before{content:"󰙟"}.mdi-shape-square-plus:before{content:"󰙠"}.mdi-shape-square-rounded-plus:before{content:"󱓺"}.mdi-share:before{content:"󰒖"}.mdi-share-all:before{content:"󱇴"}.mdi-share-all-outline:before{content:"󱇵"}.mdi-share-circle:before{content:"󱆭"}.mdi-share-off:before{content:"󰼣"}.mdi-share-off-outline:before{content:"󰼤"}.mdi-share-outline:before{content:"󰤲"}.mdi-share-variant:before{content:"󰒗"}.mdi-share-variant-outline:before{content:"󱔔"}.mdi-shark:before{content:"󱢺"}.mdi-shark-fin:before{content:"󱙳"}.mdi-shark-fin-outline:before{content:"󱙴"}.mdi-shark-off:before{content:"󱢻"}.mdi-sheep:before{content:"󰳆"}.mdi-shield:before{content:"󰒘"}.mdi-shield-account:before{content:"󰢏"}.mdi-shield-account-outline:before{content:"󰨒"}.mdi-shield-account-variant:before{content:"󱖧"}.mdi-shield-account-variant-outline:before{content:"󱖨"}.mdi-shield-airplane:before{content:"󰚻"}.mdi-shield-airplane-outline:before{content:"󰳇"}.mdi-shield-alert:before{content:"󰻌"}.mdi-shield-alert-outline:before{content:"󰻍"}.mdi-shield-bug:before{content:"󱏚"}.mdi-shield-bug-outline:before{content:"󱏛"}.mdi-shield-car:before{content:"󰾃"}.mdi-shield-check:before{content:"󰕥"}.mdi-shield-check-outline:before{content:"󰳈"}.mdi-shield-cross:before{content:"󰳉"}.mdi-shield-cross-outline:before{content:"󰳊"}.mdi-shield-crown:before{content:"󱢼"}.mdi-shield-crown-outline:before{content:"󱢽"}.mdi-shield-edit:before{content:"󱆠"}.mdi-shield-edit-outline:before{content:"󱆡"}.mdi-shield-half:before{content:"󱍠"}.mdi-shield-half-full:before{content:"󰞀"}.mdi-shield-home:before{content:"󰚊"}.mdi-shield-home-outline:before{content:"󰳋"}.mdi-shield-key:before{content:"󰯄"}.mdi-shield-key-outline:before{content:"󰯅"}.mdi-shield-link-variant:before{content:"󰴳"}.mdi-shield-link-variant-outline:before{content:"󰴴"}.mdi-shield-lock:before{content:"󰦝"}.mdi-shield-lock-open:before{content:"󱦚"}.mdi-shield-lock-open-outline:before{content:"󱦛"}.mdi-shield-lock-outline:before{content:"󰳌"}.mdi-shield-moon:before{content:"󱠨"}.mdi-shield-moon-outline:before{content:"󱠩"}.mdi-shield-off:before{content:"󰦞"}.mdi-shield-off-outline:before{content:"󰦜"}.mdi-shield-outline:before{content:"󰒙"}.mdi-shield-plus:before{content:"󰫚"}.mdi-shield-plus-outline:before{content:"󰫛"}.mdi-shield-refresh:before{content:"󰂪"}.mdi-shield-refresh-outline:before{content:"󰇠"}.mdi-shield-remove:before{content:"󰫜"}.mdi-shield-remove-outline:before{content:"󰫝"}.mdi-shield-search:before{content:"󰶚"}.mdi-shield-star:before{content:"󱄻"}.mdi-shield-star-outline:before{content:"󱄼"}.mdi-shield-sun:before{content:"󱁝"}.mdi-shield-sun-outline:before{content:"󱁞"}.mdi-shield-sword:before{content:"󱢾"}.mdi-shield-sword-outline:before{content:"󱢿"}.mdi-shield-sync:before{content:"󱆢"}.mdi-shield-sync-outline:before{content:"󱆣"}.mdi-shimmer:before{content:"󱕅"}.mdi-ship-wheel:before{content:"󰠳"}.mdi-shipping-pallet:before{content:"󱡎"}.mdi-shoe-ballet:before{content:"󱗊"}.mdi-shoe-cleat:before{content:"󱗇"}.mdi-shoe-formal:before{content:"󰭇"}.mdi-shoe-heel:before{content:"󰭈"}.mdi-shoe-print:before{content:"󰷺"}.mdi-shoe-sneaker:before{content:"󱗈"}.mdi-shopping:before{content:"󰒚"}.mdi-shopping-music:before{content:"󰒛"}.mdi-shopping-outline:before{content:"󱇕"}.mdi-shopping-search:before{content:"󰾄"}.mdi-shopping-search-outline:before{content:"󱩯"}.mdi-shore:before{content:"󱓹"}.mdi-shovel:before{content:"󰜐"}.mdi-shovel-off:before{content:"󰜑"}.mdi-shower:before{content:"󰦠"}.mdi-shower-head:before{content:"󰦡"}.mdi-shredder:before{content:"󰒜"}.mdi-shuffle:before{content:"󰒝"}.mdi-shuffle-disabled:before{content:"󰒞"}.mdi-shuffle-variant:before{content:"󰒟"}.mdi-shuriken:before{content:"󱍿"}.mdi-sickle:before{content:"󱣀"}.mdi-sigma:before{content:"󰒠"}.mdi-sigma-lower:before{content:"󰘫"}.mdi-sign-caution:before{content:"󰒡"}.mdi-sign-direction:before{content:"󰞁"}.mdi-sign-direction-minus:before{content:"󱀀"}.mdi-sign-direction-plus:before{content:"󰿜"}.mdi-sign-direction-remove:before{content:"󰿝"}.mdi-sign-language:before{content:"󱭍"}.mdi-sign-language-outline:before{content:"󱭎"}.mdi-sign-pole:before{content:"󱓸"}.mdi-sign-real-estate:before{content:"󱄘"}.mdi-sign-text:before{content:"󰞂"}.mdi-sign-yield:before{content:"󱮯"}.mdi-signal:before{content:"󰒢"}.mdi-signal-2g:before{content:"󰜒"}.mdi-signal-3g:before{content:"󰜓"}.mdi-signal-4g:before{content:"󰜔"}.mdi-signal-5g:before{content:"󰩯"}.mdi-signal-cellular-1:before{content:"󰢼"}.mdi-signal-cellular-2:before{content:"󰢽"}.mdi-signal-cellular-3:before{content:"󰢾"}.mdi-signal-cellular-outline:before{content:"󰢿"}.mdi-signal-distance-variant:before{content:"󰹤"}.mdi-signal-hspa:before{content:"󰜕"}.mdi-signal-hspa-plus:before{content:"󰜖"}.mdi-signal-off:before{content:"󰞃"}.mdi-signal-variant:before{content:"󰘊"}.mdi-signature:before{content:"󰷻"}.mdi-signature-freehand:before{content:"󰷼"}.mdi-signature-image:before{content:"󰷽"}.mdi-signature-text:before{content:"󰷾"}.mdi-silo:before{content:"󱮟"}.mdi-silo-outline:before{content:"󰭉"}.mdi-silverware:before{content:"󰒣"}.mdi-silverware-clean:before{content:"󰿞"}.mdi-silverware-fork:before{content:"󰒤"}.mdi-silverware-fork-knife:before{content:"󰩰"}.mdi-silverware-spoon:before{content:"󰒥"}.mdi-silverware-variant:before{content:"󰒦"}.mdi-sim:before{content:"󰒧"}.mdi-sim-alert:before{content:"󰒨"}.mdi-sim-alert-outline:before{content:"󱗓"}.mdi-sim-off:before{content:"󰒩"}.mdi-sim-off-outline:before{content:"󱗔"}.mdi-sim-outline:before{content:"󱗕"}.mdi-simple-icons:before{content:"󱌝"}.mdi-sina-weibo:before{content:"󰫟"}.mdi-sine-wave:before{content:"󰥛"}.mdi-sitemap:before{content:"󰒪"}.mdi-sitemap-outline:before{content:"󱦜"}.mdi-size-l:before{content:"󱎦"}.mdi-size-m:before{content:"󱎥"}.mdi-size-s:before{content:"󱎤"}.mdi-size-xl:before{content:"󱎧"}.mdi-size-xs:before{content:"󱎣"}.mdi-size-xxl:before{content:"󱎨"}.mdi-size-xxs:before{content:"󱎢"}.mdi-size-xxxl:before{content:"󱎩"}.mdi-skate:before{content:"󰴵"}.mdi-skate-off:before{content:"󰚙"}.mdi-skateboard:before{content:"󱓂"}.mdi-skateboarding:before{content:"󰔁"}.mdi-skew-less:before{content:"󰴶"}.mdi-skew-more:before{content:"󰴷"}.mdi-ski:before{content:"󱌄"}.mdi-ski-cross-country:before{content:"󱌅"}.mdi-ski-water:before{content:"󱌆"}.mdi-skip-backward:before{content:"󰒫"}.mdi-skip-backward-outline:before{content:"󰼥"}.mdi-skip-forward:before{content:"󰒬"}.mdi-skip-forward-outline:before{content:"󰼦"}.mdi-skip-next:before{content:"󰒭"}.mdi-skip-next-circle:before{content:"󰙡"}.mdi-skip-next-circle-outline:before{content:"󰙢"}.mdi-skip-next-outline:before{content:"󰼧"}.mdi-skip-previous:before{content:"󰒮"}.mdi-skip-previous-circle:before{content:"󰙣"}.mdi-skip-previous-circle-outline:before{content:"󰙤"}.mdi-skip-previous-outline:before{content:"󰼨"}.mdi-skull:before{content:"󰚌"}.mdi-skull-crossbones:before{content:"󰯆"}.mdi-skull-crossbones-outline:before{content:"󰯇"}.mdi-skull-outline:before{content:"󰯈"}.mdi-skull-scan:before{content:"󱓇"}.mdi-skull-scan-outline:before{content:"󱓈"}.mdi-skype:before{content:"󰒯"}.mdi-skype-business:before{content:"󰒰"}.mdi-slack:before{content:"󰒱"}.mdi-slash-forward:before{content:"󰿟"}.mdi-slash-forward-box:before{content:"󰿠"}.mdi-sledding:before{content:"󰐛"}.mdi-sleep:before{content:"󰒲"}.mdi-sleep-off:before{content:"󰒳"}.mdi-slide:before{content:"󱖥"}.mdi-slope-downhill:before{content:"󰷿"}.mdi-slope-uphill:before{content:"󰸀"}.mdi-slot-machine:before{content:"󱄔"}.mdi-slot-machine-outline:before{content:"󱄕"}.mdi-smart-card:before{content:"󱂽"}.mdi-smart-card-off:before{content:"󱣷"}.mdi-smart-card-off-outline:before{content:"󱣸"}.mdi-smart-card-outline:before{content:"󱂾"}.mdi-smart-card-reader:before{content:"󱂿"}.mdi-smart-card-reader-outline:before{content:"󱃀"}.mdi-smog:before{content:"󰩱"}.mdi-smoke:before{content:"󱞙"}.mdi-smoke-detector:before{content:"󰎒"}.mdi-smoke-detector-alert:before{content:"󱤮"}.mdi-smoke-detector-alert-outline:before{content:"󱤯"}.mdi-smoke-detector-off:before{content:"󱠉"}.mdi-smoke-detector-off-outline:before{content:"󱠊"}.mdi-smoke-detector-outline:before{content:"󱠈"}.mdi-smoke-detector-variant:before{content:"󱠋"}.mdi-smoke-detector-variant-alert:before{content:"󱤰"}.mdi-smoke-detector-variant-off:before{content:"󱠌"}.mdi-smoking:before{content:"󰒴"}.mdi-smoking-off:before{content:"󰒵"}.mdi-smoking-pipe:before{content:"󱐍"}.mdi-smoking-pipe-off:before{content:"󱐨"}.mdi-snail:before{content:"󱙷"}.mdi-snake:before{content:"󱔎"}.mdi-snapchat:before{content:"󰒶"}.mdi-snowboard:before{content:"󱌇"}.mdi-snowflake:before{content:"󰜗"}.mdi-snowflake-alert:before{content:"󰼩"}.mdi-snowflake-check:before{content:"󱩰"}.mdi-snowflake-melt:before{content:"󱋋"}.mdi-snowflake-off:before{content:"󱓣"}.mdi-snowflake-thermometer:before{content:"󱩱"}.mdi-snowflake-variant:before{content:"󰼪"}.mdi-snowman:before{content:"󰒷"}.mdi-snowmobile:before{content:"󰛝"}.mdi-snowshoeing:before{content:"󱩲"}.mdi-soccer:before{content:"󰒸"}.mdi-soccer-field:before{content:"󰠴"}.mdi-social-distance-2-meters:before{content:"󱕹"}.mdi-social-distance-6-feet:before{content:"󱕺"}.mdi-sofa:before{content:"󰒹"}.mdi-sofa-outline:before{content:"󱕭"}.mdi-sofa-single:before{content:"󱕮"}.mdi-sofa-single-outline:before{content:"󱕯"}.mdi-solar-panel:before{content:"󰶛"}.mdi-solar-panel-large:before{content:"󰶜"}.mdi-solar-power:before{content:"󰩲"}.mdi-solar-power-variant:before{content:"󱩳"}.mdi-solar-power-variant-outline:before{content:"󱩴"}.mdi-soldering-iron:before{content:"󱂒"}.mdi-solid:before{content:"󰚍"}.mdi-sony-playstation:before{content:"󰐔"}.mdi-sort:before{content:"󰒺"}.mdi-sort-alphabetical-ascending:before{content:"󰖽"}.mdi-sort-alphabetical-ascending-variant:before{content:"󱅈"}.mdi-sort-alphabetical-descending:before{content:"󰖿"}.mdi-sort-alphabetical-descending-variant:before{content:"󱅉"}.mdi-sort-alphabetical-variant:before{content:"󰒻"}.mdi-sort-ascending:before{content:"󰒼"}.mdi-sort-bool-ascending:before{content:"󱎅"}.mdi-sort-bool-ascending-variant:before{content:"󱎆"}.mdi-sort-bool-descending:before{content:"󱎇"}.mdi-sort-bool-descending-variant:before{content:"󱎈"}.mdi-sort-calendar-ascending:before{content:"󱕇"}.mdi-sort-calendar-descending:before{content:"󱕈"}.mdi-sort-clock-ascending:before{content:"󱕉"}.mdi-sort-clock-ascending-outline:before{content:"󱕊"}.mdi-sort-clock-descending:before{content:"󱕋"}.mdi-sort-clock-descending-outline:before{content:"󱕌"}.mdi-sort-descending:before{content:"󰒽"}.mdi-sort-numeric-ascending:before{content:"󱎉"}.mdi-sort-numeric-ascending-variant:before{content:"󰤍"}.mdi-sort-numeric-descending:before{content:"󱎊"}.mdi-sort-numeric-descending-variant:before{content:"󰫒"}.mdi-sort-numeric-variant:before{content:"󰒾"}.mdi-sort-reverse-variant:before{content:"󰌼"}.mdi-sort-variant:before{content:"󰒿"}.mdi-sort-variant-lock:before{content:"󰳍"}.mdi-sort-variant-lock-open:before{content:"󰳎"}.mdi-sort-variant-off:before{content:"󱪻"}.mdi-sort-variant-remove:before{content:"󱅇"}.mdi-soundbar:before{content:"󱟛"}.mdi-soundcloud:before{content:"󰓀"}.mdi-source-branch:before{content:"󰘬"}.mdi-source-branch-check:before{content:"󱓏"}.mdi-source-branch-minus:before{content:"󱓋"}.mdi-source-branch-plus:before{content:"󱓊"}.mdi-source-branch-refresh:before{content:"󱓍"}.mdi-source-branch-remove:before{content:"󱓌"}.mdi-source-branch-sync:before{content:"󱓎"}.mdi-source-commit:before{content:"󰜘"}.mdi-source-commit-end:before{content:"󰜙"}.mdi-source-commit-end-local:before{content:"󰜚"}.mdi-source-commit-local:before{content:"󰜛"}.mdi-source-commit-next-local:before{content:"󰜜"}.mdi-source-commit-start:before{content:"󰜝"}.mdi-source-commit-start-next-local:before{content:"󰜞"}.mdi-source-fork:before{content:"󰓁"}.mdi-source-merge:before{content:"󰘭"}.mdi-source-pull:before{content:"󰓂"}.mdi-source-repository:before{content:"󰳏"}.mdi-source-repository-multiple:before{content:"󰳐"}.mdi-soy-sauce:before{content:"󰟮"}.mdi-soy-sauce-off:before{content:"󱏼"}.mdi-spa:before{content:"󰳑"}.mdi-spa-outline:before{content:"󰳒"}.mdi-space-invaders:before{content:"󰯉"}.mdi-space-station:before{content:"󱎃"}.mdi-spade:before{content:"󰹥"}.mdi-speaker:before{content:"󰓃"}.mdi-speaker-bluetooth:before{content:"󰦢"}.mdi-speaker-message:before{content:"󱬑"}.mdi-speaker-multiple:before{content:"󰴸"}.mdi-speaker-off:before{content:"󰓄"}.mdi-speaker-pause:before{content:"󱭳"}.mdi-speaker-play:before{content:"󱭲"}.mdi-speaker-stop:before{content:"󱭴"}.mdi-speaker-wireless:before{content:"󰜟"}.mdi-spear:before{content:"󱡅"}.mdi-speedometer:before{content:"󰓅"}.mdi-speedometer-medium:before{content:"󰾅"}.mdi-speedometer-slow:before{content:"󰾆"}.mdi-spellcheck:before{content:"󰓆"}.mdi-sphere:before{content:"󱥔"}.mdi-sphere-off:before{content:"󱥕"}.mdi-spider:before{content:"󱇪"}.mdi-spider-outline:before{content:"󱱵"}.mdi-spider-thread:before{content:"󱇫"}.mdi-spider-web:before{content:"󰯊"}.mdi-spirit-level:before{content:"󱓱"}.mdi-spoon-sugar:before{content:"󱐩"}.mdi-spotify:before{content:"󰓇"}.mdi-spotlight:before{content:"󰓈"}.mdi-spotlight-beam:before{content:"󰓉"}.mdi-spray:before{content:"󰙥"}.mdi-spray-bottle:before{content:"󰫠"}.mdi-sprinkler:before{content:"󱁟"}.mdi-sprinkler-fire:before{content:"󱦝"}.mdi-sprinkler-variant:before{content:"󱁠"}.mdi-sprout:before{content:"󰹦"}.mdi-sprout-outline:before{content:"󰹧"}.mdi-square:before{content:"󰝤"}.mdi-square-circle:before{content:"󱔀"}.mdi-square-circle-outline:before{content:"󱱐"}.mdi-square-edit-outline:before{content:"󰤌"}.mdi-square-medium:before{content:"󰨓"}.mdi-square-medium-outline:before{content:"󰨔"}.mdi-square-off:before{content:"󱋮"}.mdi-square-off-outline:before{content:"󱋯"}.mdi-square-opacity:before{content:"󱡔"}.mdi-square-outline:before{content:"󰝣"}.mdi-square-root:before{content:"󰞄"}.mdi-square-root-box:before{content:"󰦣"}.mdi-square-rounded:before{content:"󱓻"}.mdi-square-rounded-badge:before{content:"󱨇"}.mdi-square-rounded-badge-outline:before{content:"󱨈"}.mdi-square-rounded-outline:before{content:"󱓼"}.mdi-square-small:before{content:"󰨕"}.mdi-square-wave:before{content:"󱑻"}.mdi-squeegee:before{content:"󰫡"}.mdi-ssh:before{content:"󰣀"}.mdi-stack-exchange:before{content:"󰘋"}.mdi-stack-overflow:before{content:"󰓌"}.mdi-stackpath:before{content:"󰍙"}.mdi-stadium:before{content:"󰿹"}.mdi-stadium-outline:before{content:"󱬃"}.mdi-stadium-variant:before{content:"󰜠"}.mdi-stairs:before{content:"󰓍"}.mdi-stairs-box:before{content:"󱎞"}.mdi-stairs-down:before{content:"󱊾"}.mdi-stairs-up:before{content:"󱊽"}.mdi-stamper:before{content:"󰴹"}.mdi-standard-definition:before{content:"󰟯"}.mdi-star:before{content:"󰓎"}.mdi-star-box:before{content:"󰩳"}.mdi-star-box-multiple:before{content:"󱊆"}.mdi-star-box-multiple-outline:before{content:"󱊇"}.mdi-star-box-outline:before{content:"󰩴"}.mdi-star-check:before{content:"󱕦"}.mdi-star-check-outline:before{content:"󱕪"}.mdi-star-circle:before{content:"󰓏"}.mdi-star-circle-outline:before{content:"󰦤"}.mdi-star-cog:before{content:"󱙨"}.mdi-star-cog-outline:before{content:"󱙩"}.mdi-star-crescent:before{content:"󰥹"}.mdi-star-david:before{content:"󰥺"}.mdi-star-face:before{content:"󰦥"}.mdi-star-four-points:before{content:"󰫢"}.mdi-star-four-points-box:before{content:"󱱑"}.mdi-star-four-points-box-outline:before{content:"󱱒"}.mdi-star-four-points-circle:before{content:"󱱓"}.mdi-star-four-points-circle-outline:before{content:"󱱔"}.mdi-star-four-points-outline:before{content:"󰫣"}.mdi-star-four-points-small:before{content:"󱱕"}.mdi-star-half:before{content:"󰉆"}.mdi-star-half-full:before{content:"󰓐"}.mdi-star-minus:before{content:"󱕤"}.mdi-star-minus-outline:before{content:"󱕨"}.mdi-star-off:before{content:"󰓑"}.mdi-star-off-outline:before{content:"󱕛"}.mdi-star-outline:before{content:"󰓒"}.mdi-star-plus:before{content:"󱕣"}.mdi-star-plus-outline:before{content:"󱕧"}.mdi-star-remove:before{content:"󱕥"}.mdi-star-remove-outline:before{content:"󱕩"}.mdi-star-settings:before{content:"󱙪"}.mdi-star-settings-outline:before{content:"󱙫"}.mdi-star-shooting:before{content:"󱝁"}.mdi-star-shooting-outline:before{content:"󱝂"}.mdi-star-three-points:before{content:"󰫤"}.mdi-star-three-points-outline:before{content:"󰫥"}.mdi-state-machine:before{content:"󱇯"}.mdi-steam:before{content:"󰓓"}.mdi-steering:before{content:"󰓔"}.mdi-steering-off:before{content:"󰤎"}.mdi-step-backward:before{content:"󰓕"}.mdi-step-backward-2:before{content:"󰓖"}.mdi-step-forward:before{content:"󰓗"}.mdi-step-forward-2:before{content:"󰓘"}.mdi-stethoscope:before{content:"󰓙"}.mdi-sticker:before{content:"󱍤"}.mdi-sticker-alert:before{content:"󱍥"}.mdi-sticker-alert-outline:before{content:"󱍦"}.mdi-sticker-check:before{content:"󱍧"}.mdi-sticker-check-outline:before{content:"󱍨"}.mdi-sticker-circle-outline:before{content:"󰗐"}.mdi-sticker-emoji:before{content:"󰞅"}.mdi-sticker-minus:before{content:"󱍩"}.mdi-sticker-minus-outline:before{content:"󱍪"}.mdi-sticker-outline:before{content:"󱍫"}.mdi-sticker-plus:before{content:"󱍬"}.mdi-sticker-plus-outline:before{content:"󱍭"}.mdi-sticker-remove:before{content:"󱍮"}.mdi-sticker-remove-outline:before{content:"󱍯"}.mdi-sticker-text:before{content:"󱞎"}.mdi-sticker-text-outline:before{content:"󱞏"}.mdi-stocking:before{content:"󰓚"}.mdi-stomach:before{content:"󱂓"}.mdi-stool:before{content:"󱥝"}.mdi-stool-outline:before{content:"󱥞"}.mdi-stop:before{content:"󰓛"}.mdi-stop-circle:before{content:"󰙦"}.mdi-stop-circle-outline:before{content:"󰙧"}.mdi-storage-tank:before{content:"󱩵"}.mdi-storage-tank-outline:before{content:"󱩶"}.mdi-store:before{content:"󰓜"}.mdi-store-24-hour:before{content:"󰓝"}.mdi-store-alert:before{content:"󱣁"}.mdi-store-alert-outline:before{content:"󱣂"}.mdi-store-check:before{content:"󱣃"}.mdi-store-check-outline:before{content:"󱣄"}.mdi-store-clock:before{content:"󱣅"}.mdi-store-clock-outline:before{content:"󱣆"}.mdi-store-cog:before{content:"󱣇"}.mdi-store-cog-outline:before{content:"󱣈"}.mdi-store-edit:before{content:"󱣉"}.mdi-store-edit-outline:before{content:"󱣊"}.mdi-store-marker:before{content:"󱣋"}.mdi-store-marker-outline:before{content:"󱣌"}.mdi-store-minus:before{content:"󱙞"}.mdi-store-minus-outline:before{content:"󱣍"}.mdi-store-off:before{content:"󱣎"}.mdi-store-off-outline:before{content:"󱣏"}.mdi-store-outline:before{content:"󱍡"}.mdi-store-plus:before{content:"󱙟"}.mdi-store-plus-outline:before{content:"󱣐"}.mdi-store-remove:before{content:"󱙠"}.mdi-store-remove-outline:before{content:"󱣑"}.mdi-store-search:before{content:"󱣒"}.mdi-store-search-outline:before{content:"󱣓"}.mdi-store-settings:before{content:"󱣔"}.mdi-store-settings-outline:before{content:"󱣕"}.mdi-storefront:before{content:"󰟇"}.mdi-storefront-check:before{content:"󱭽"}.mdi-storefront-check-outline:before{content:"󱭾"}.mdi-storefront-edit:before{content:"󱭿"}.mdi-storefront-edit-outline:before{content:"󱮀"}.mdi-storefront-minus:before{content:"󱮃"}.mdi-storefront-minus-outline:before{content:"󱮄"}.mdi-storefront-outline:before{content:"󱃁"}.mdi-storefront-plus:before{content:"󱮁"}.mdi-storefront-plus-outline:before{content:"󱮂"}.mdi-storefront-remove:before{content:"󱮅"}.mdi-storefront-remove-outline:before{content:"󱮆"}.mdi-stove:before{content:"󰓞"}.mdi-strategy:before{content:"󱇖"}.mdi-stretch-to-page:before{content:"󰼫"}.mdi-stretch-to-page-outline:before{content:"󰼬"}.mdi-string-lights:before{content:"󱊺"}.mdi-string-lights-off:before{content:"󱊻"}.mdi-subdirectory-arrow-left:before{content:"󰘌"}.mdi-subdirectory-arrow-right:before{content:"󰘍"}.mdi-submarine:before{content:"󱕬"}.mdi-subtitles:before{content:"󰨖"}.mdi-subtitles-outline:before{content:"󰨗"}.mdi-subway:before{content:"󰚬"}.mdi-subway-alert-variant:before{content:"󰶝"}.mdi-subway-variant:before{content:"󰓟"}.mdi-summit:before{content:"󰞆"}.mdi-sun-angle:before{content:"󱬧"}.mdi-sun-angle-outline:before{content:"󱬨"}.mdi-sun-clock:before{content:"󱩷"}.mdi-sun-clock-outline:before{content:"󱩸"}.mdi-sun-compass:before{content:"󱦥"}.mdi-sun-snowflake:before{content:"󱞖"}.mdi-sun-snowflake-variant:before{content:"󱩹"}.mdi-sun-thermometer:before{content:"󱣖"}.mdi-sun-thermometer-outline:before{content:"󱣗"}.mdi-sun-wireless:before{content:"󱟾"}.mdi-sun-wireless-outline:before{content:"󱟿"}.mdi-sunglasses:before{content:"󰓠"}.mdi-surfing:before{content:"󱝆"}.mdi-surround-sound:before{content:"󰗅"}.mdi-surround-sound-2-0:before{content:"󰟰"}.mdi-surround-sound-2-1:before{content:"󱜩"}.mdi-surround-sound-3-1:before{content:"󰟱"}.mdi-surround-sound-5-1:before{content:"󰟲"}.mdi-surround-sound-5-1-2:before{content:"󱜪"}.mdi-surround-sound-7-1:before{content:"󰟳"}.mdi-svg:before{content:"󰜡"}.mdi-swap-horizontal:before{content:"󰓡"}.mdi-swap-horizontal-bold:before{content:"󰯍"}.mdi-swap-horizontal-circle:before{content:"󰿡"}.mdi-swap-horizontal-circle-outline:before{content:"󰿢"}.mdi-swap-horizontal-variant:before{content:"󰣁"}.mdi-swap-vertical:before{content:"󰓢"}.mdi-swap-vertical-bold:before{content:"󰯎"}.mdi-swap-vertical-circle:before{content:"󰿣"}.mdi-swap-vertical-circle-outline:before{content:"󰿤"}.mdi-swap-vertical-variant:before{content:"󰣂"}.mdi-swim:before{content:"󰓣"}.mdi-switch:before{content:"󰓤"}.mdi-sword:before{content:"󰓥"}.mdi-sword-cross:before{content:"󰞇"}.mdi-syllabary-hangul:before{content:"󱌳"}.mdi-syllabary-hiragana:before{content:"󱌴"}.mdi-syllabary-katakana:before{content:"󱌵"}.mdi-syllabary-katakana-halfwidth:before{content:"󱌶"}.mdi-symbol:before{content:"󱔁"}.mdi-symfony:before{content:"󰫦"}.mdi-synagogue:before{content:"󱬄"}.mdi-synagogue-outline:before{content:"󱬅"}.mdi-sync:before{content:"󰓦"}.mdi-sync-alert:before{content:"󰓧"}.mdi-sync-circle:before{content:"󱍸"}.mdi-sync-off:before{content:"󰓨"}.mdi-tab:before{content:"󰓩"}.mdi-tab-minus:before{content:"󰭋"}.mdi-tab-plus:before{content:"󰝜"}.mdi-tab-remove:before{content:"󰭌"}.mdi-tab-search:before{content:"󱦞"}.mdi-tab-unselected:before{content:"󰓪"}.mdi-table:before{content:"󰓫"}.mdi-table-account:before{content:"󱎹"}.mdi-table-alert:before{content:"󱎺"}.mdi-table-arrow-down:before{content:"󱎻"}.mdi-table-arrow-left:before{content:"󱎼"}.mdi-table-arrow-right:before{content:"󱎽"}.mdi-table-arrow-up:before{content:"󱎾"}.mdi-table-border:before{content:"󰨘"}.mdi-table-cancel:before{content:"󱎿"}.mdi-table-chair:before{content:"󱁡"}.mdi-table-check:before{content:"󱏀"}.mdi-table-clock:before{content:"󱏁"}.mdi-table-cog:before{content:"󱏂"}.mdi-table-column:before{content:"󰠵"}.mdi-table-column-plus-after:before{content:"󰓬"}.mdi-table-column-plus-before:before{content:"󰓭"}.mdi-table-column-remove:before{content:"󰓮"}.mdi-table-column-width:before{content:"󰓯"}.mdi-table-edit:before{content:"󰓰"}.mdi-table-eye:before{content:"󱂔"}.mdi-table-eye-off:before{content:"󱏃"}.mdi-table-filter:before{content:"󱮌"}.mdi-table-furniture:before{content:"󰖼"}.mdi-table-headers-eye:before{content:"󱈝"}.mdi-table-headers-eye-off:before{content:"󱈞"}.mdi-table-heart:before{content:"󱏄"}.mdi-table-key:before{content:"󱏅"}.mdi-table-large:before{content:"󰓱"}.mdi-table-large-plus:before{content:"󰾇"}.mdi-table-large-remove:before{content:"󰾈"}.mdi-table-lock:before{content:"󱏆"}.mdi-table-merge-cells:before{content:"󰦦"}.mdi-table-minus:before{content:"󱏇"}.mdi-table-multiple:before{content:"󱏈"}.mdi-table-network:before{content:"󱏉"}.mdi-table-of-contents:before{content:"󰠶"}.mdi-table-off:before{content:"󱏊"}.mdi-table-picnic:before{content:"󱝃"}.mdi-table-pivot:before{content:"󱠼"}.mdi-table-plus:before{content:"󰩵"}.mdi-table-question:before{content:"󱬡"}.mdi-table-refresh:before{content:"󱎠"}.mdi-table-remove:before{content:"󰩶"}.mdi-table-row:before{content:"󰠷"}.mdi-table-row-height:before{content:"󰓲"}.mdi-table-row-plus-after:before{content:"󰓳"}.mdi-table-row-plus-before:before{content:"󰓴"}.mdi-table-row-remove:before{content:"󰓵"}.mdi-table-search:before{content:"󰤏"}.mdi-table-settings:before{content:"󰠸"}.mdi-table-split-cell:before{content:"󱐪"}.mdi-table-star:before{content:"󱏋"}.mdi-table-sync:before{content:"󱎡"}.mdi-table-tennis:before{content:"󰹨"}.mdi-tablet:before{content:"󰓶"}.mdi-tablet-cellphone:before{content:"󰦧"}.mdi-tablet-dashboard:before{content:"󰻎"}.mdi-taco:before{content:"󰝢"}.mdi-tag:before{content:"󰓹"}.mdi-tag-arrow-down:before{content:"󱜫"}.mdi-tag-arrow-down-outline:before{content:"󱜬"}.mdi-tag-arrow-left:before{content:"󱜭"}.mdi-tag-arrow-left-outline:before{content:"󱜮"}.mdi-tag-arrow-right:before{content:"󱜯"}.mdi-tag-arrow-right-outline:before{content:"󱜰"}.mdi-tag-arrow-up:before{content:"󱜱"}.mdi-tag-arrow-up-outline:before{content:"󱜲"}.mdi-tag-check:before{content:"󱩺"}.mdi-tag-check-outline:before{content:"󱩻"}.mdi-tag-faces:before{content:"󰓺"}.mdi-tag-heart:before{content:"󰚋"}.mdi-tag-heart-outline:before{content:"󰯏"}.mdi-tag-hidden:before{content:"󱱶"}.mdi-tag-minus:before{content:"󰤐"}.mdi-tag-minus-outline:before{content:"󱈟"}.mdi-tag-multiple:before{content:"󰓻"}.mdi-tag-multiple-outline:before{content:"󱋷"}.mdi-tag-off:before{content:"󱈠"}.mdi-tag-off-outline:before{content:"󱈡"}.mdi-tag-outline:before{content:"󰓼"}.mdi-tag-plus:before{content:"󰜢"}.mdi-tag-plus-outline:before{content:"󱈢"}.mdi-tag-remove:before{content:"󰜣"}.mdi-tag-remove-outline:before{content:"󱈣"}.mdi-tag-search:before{content:"󱤇"}.mdi-tag-search-outline:before{content:"󱤈"}.mdi-tag-text:before{content:"󱈤"}.mdi-tag-text-outline:before{content:"󰓽"}.mdi-tailwind:before{content:"󱏿"}.mdi-tally-mark-1:before{content:"󱪼"}.mdi-tally-mark-2:before{content:"󱪽"}.mdi-tally-mark-3:before{content:"󱪾"}.mdi-tally-mark-4:before{content:"󱪿"}.mdi-tally-mark-5:before{content:"󱫀"}.mdi-tangram:before{content:"󰓸"}.mdi-tank:before{content:"󰴺"}.mdi-tanker-truck:before{content:"󰿥"}.mdi-tape-drive:before{content:"󱛟"}.mdi-tape-measure:before{content:"󰭍"}.mdi-target:before{content:"󰓾"}.mdi-target-account:before{content:"󰯐"}.mdi-target-variant:before{content:"󰩷"}.mdi-taxi:before{content:"󰓿"}.mdi-tea:before{content:"󰶞"}.mdi-tea-outline:before{content:"󰶟"}.mdi-teamviewer:before{content:"󰔀"}.mdi-teddy-bear:before{content:"󱣻"}.mdi-telescope:before{content:"󰭎"}.mdi-television:before{content:"󰔂"}.mdi-television-ambient-light:before{content:"󱍖"}.mdi-television-box:before{content:"󰠹"}.mdi-television-classic:before{content:"󰟴"}.mdi-television-classic-off:before{content:"󰠺"}.mdi-television-guide:before{content:"󰔃"}.mdi-television-off:before{content:"󰠻"}.mdi-television-pause:before{content:"󰾉"}.mdi-television-play:before{content:"󰻏"}.mdi-television-shimmer:before{content:"󱄐"}.mdi-television-speaker:before{content:"󱬛"}.mdi-television-speaker-off:before{content:"󱬜"}.mdi-television-stop:before{content:"󰾊"}.mdi-temperature-celsius:before{content:"󰔄"}.mdi-temperature-fahrenheit:before{content:"󰔅"}.mdi-temperature-kelvin:before{content:"󰔆"}.mdi-temple-buddhist:before{content:"󱬆"}.mdi-temple-buddhist-outline:before{content:"󱬇"}.mdi-temple-hindu:before{content:"󱬈"}.mdi-temple-hindu-outline:before{content:"󱬉"}.mdi-tennis:before{content:"󰶠"}.mdi-tennis-ball:before{content:"󰔇"}.mdi-tennis-ball-outline:before{content:"󱱟"}.mdi-tent:before{content:"󰔈"}.mdi-terraform:before{content:"󱁢"}.mdi-terrain:before{content:"󰔉"}.mdi-test-tube:before{content:"󰙨"}.mdi-test-tube-empty:before{content:"󰤑"}.mdi-test-tube-off:before{content:"󰤒"}.mdi-text:before{content:"󰦨"}.mdi-text-account:before{content:"󱕰"}.mdi-text-box:before{content:"󰈚"}.mdi-text-box-check:before{content:"󰺦"}.mdi-text-box-check-outline:before{content:"󰺧"}.mdi-text-box-edit:before{content:"󱩼"}.mdi-text-box-edit-outline:before{content:"󱩽"}.mdi-text-box-minus:before{content:"󰺨"}.mdi-text-box-minus-outline:before{content:"󰺩"}.mdi-text-box-multiple:before{content:"󰪷"}.mdi-text-box-multiple-outline:before{content:"󰪸"}.mdi-text-box-outline:before{content:"󰧭"}.mdi-text-box-plus:before{content:"󰺪"}.mdi-text-box-plus-outline:before{content:"󰺫"}.mdi-text-box-remove:before{content:"󰺬"}.mdi-text-box-remove-outline:before{content:"󰺭"}.mdi-text-box-search:before{content:"󰺮"}.mdi-text-box-search-outline:before{content:"󰺯"}.mdi-text-long:before{content:"󰦪"}.mdi-text-recognition:before{content:"󱄽"}.mdi-text-search:before{content:"󱎸"}.mdi-text-search-variant:before{content:"󱩾"}.mdi-text-shadow:before{content:"󰙩"}.mdi-text-short:before{content:"󰦩"}.mdi-texture:before{content:"󰔌"}.mdi-texture-box:before{content:"󰿦"}.mdi-theater:before{content:"󰔍"}.mdi-theme-light-dark:before{content:"󰔎"}.mdi-thermometer:before{content:"󰔏"}.mdi-thermometer-alert:before{content:"󰸁"}.mdi-thermometer-auto:before{content:"󱬏"}.mdi-thermometer-bluetooth:before{content:"󱢕"}.mdi-thermometer-check:before{content:"󱩿"}.mdi-thermometer-chevron-down:before{content:"󰸂"}.mdi-thermometer-chevron-up:before{content:"󰸃"}.mdi-thermometer-high:before{content:"󱃂"}.mdi-thermometer-lines:before{content:"󰔐"}.mdi-thermometer-low:before{content:"󱃃"}.mdi-thermometer-minus:before{content:"󰸄"}.mdi-thermometer-off:before{content:"󱔱"}.mdi-thermometer-plus:before{content:"󰸅"}.mdi-thermometer-probe:before{content:"󱬫"}.mdi-thermometer-probe-off:before{content:"󱬬"}.mdi-thermometer-water:before{content:"󱪀"}.mdi-thermostat:before{content:"󰎓"}.mdi-thermostat-auto:before{content:"󱬗"}.mdi-thermostat-box:before{content:"󰢑"}.mdi-thermostat-box-auto:before{content:"󱬘"}.mdi-thermostat-cog:before{content:"󱲀"}.mdi-thought-bubble:before{content:"󰟶"}.mdi-thought-bubble-outline:before{content:"󰟷"}.mdi-thumb-down:before{content:"󰔑"}.mdi-thumb-down-outline:before{content:"󰔒"}.mdi-thumb-up:before{content:"󰔓"}.mdi-thumb-up-outline:before{content:"󰔔"}.mdi-thumbs-up-down:before{content:"󰔕"}.mdi-thumbs-up-down-outline:before{content:"󱤔"}.mdi-ticket:before{content:"󰔖"}.mdi-ticket-account:before{content:"󰔗"}.mdi-ticket-confirmation:before{content:"󰔘"}.mdi-ticket-confirmation-outline:before{content:"󱎪"}.mdi-ticket-outline:before{content:"󰤓"}.mdi-ticket-percent:before{content:"󰜤"}.mdi-ticket-percent-outline:before{content:"󱐫"}.mdi-tie:before{content:"󰔙"}.mdi-tilde:before{content:"󰜥"}.mdi-tilde-off:before{content:"󱣳"}.mdi-timelapse:before{content:"󰔚"}.mdi-timeline:before{content:"󰯑"}.mdi-timeline-alert:before{content:"󰾕"}.mdi-timeline-alert-outline:before{content:"󰾘"}.mdi-timeline-check:before{content:"󱔲"}.mdi-timeline-check-outline:before{content:"󱔳"}.mdi-timeline-clock:before{content:"󱇻"}.mdi-timeline-clock-outline:before{content:"󱇼"}.mdi-timeline-minus:before{content:"󱔴"}.mdi-timeline-minus-outline:before{content:"󱔵"}.mdi-timeline-outline:before{content:"󰯒"}.mdi-timeline-plus:before{content:"󰾖"}.mdi-timeline-plus-outline:before{content:"󰾗"}.mdi-timeline-question:before{content:"󰾙"}.mdi-timeline-question-outline:before{content:"󰾚"}.mdi-timeline-remove:before{content:"󱔶"}.mdi-timeline-remove-outline:before{content:"󱔷"}.mdi-timeline-text:before{content:"󰯓"}.mdi-timeline-text-outline:before{content:"󰯔"}.mdi-timer:before{content:"󱎫"}.mdi-timer-10:before{content:"󰔜"}.mdi-timer-3:before{content:"󰔝"}.mdi-timer-alert:before{content:"󱫌"}.mdi-timer-alert-outline:before{content:"󱫍"}.mdi-timer-cancel:before{content:"󱫎"}.mdi-timer-cancel-outline:before{content:"󱫏"}.mdi-timer-check:before{content:"󱫐"}.mdi-timer-check-outline:before{content:"󱫑"}.mdi-timer-cog:before{content:"󱤥"}.mdi-timer-cog-outline:before{content:"󱤦"}.mdi-timer-edit:before{content:"󱫒"}.mdi-timer-edit-outline:before{content:"󱫓"}.mdi-timer-lock:before{content:"󱫔"}.mdi-timer-lock-open:before{content:"󱫕"}.mdi-timer-lock-open-outline:before{content:"󱫖"}.mdi-timer-lock-outline:before{content:"󱫗"}.mdi-timer-marker:before{content:"󱫘"}.mdi-timer-marker-outline:before{content:"󱫙"}.mdi-timer-minus:before{content:"󱫚"}.mdi-timer-minus-outline:before{content:"󱫛"}.mdi-timer-music:before{content:"󱫜"}.mdi-timer-music-outline:before{content:"󱫝"}.mdi-timer-off:before{content:"󱎬"}.mdi-timer-off-outline:before{content:"󰔞"}.mdi-timer-outline:before{content:"󰔛"}.mdi-timer-pause:before{content:"󱫞"}.mdi-timer-pause-outline:before{content:"󱫟"}.mdi-timer-play:before{content:"󱫠"}.mdi-timer-play-outline:before{content:"󱫡"}.mdi-timer-plus:before{content:"󱫢"}.mdi-timer-plus-outline:before{content:"󱫣"}.mdi-timer-refresh:before{content:"󱫤"}.mdi-timer-refresh-outline:before{content:"󱫥"}.mdi-timer-remove:before{content:"󱫦"}.mdi-timer-remove-outline:before{content:"󱫧"}.mdi-timer-sand:before{content:"󰔟"}.mdi-timer-sand-complete:before{content:"󱦟"}.mdi-timer-sand-empty:before{content:"󰚭"}.mdi-timer-sand-full:before{content:"󰞌"}.mdi-timer-sand-paused:before{content:"󱦠"}.mdi-timer-settings:before{content:"󱤣"}.mdi-timer-settings-outline:before{content:"󱤤"}.mdi-timer-star:before{content:"󱫨"}.mdi-timer-star-outline:before{content:"󱫩"}.mdi-timer-stop:before{content:"󱫪"}.mdi-timer-stop-outline:before{content:"󱫫"}.mdi-timer-sync:before{content:"󱫬"}.mdi-timer-sync-outline:before{content:"󱫭"}.mdi-timetable:before{content:"󰔠"}.mdi-tire:before{content:"󱢖"}.mdi-toaster:before{content:"󱁣"}.mdi-toaster-off:before{content:"󱆷"}.mdi-toaster-oven:before{content:"󰳓"}.mdi-toggle-switch:before{content:"󰔡"}.mdi-toggle-switch-off:before{content:"󰔢"}.mdi-toggle-switch-off-outline:before{content:"󰨙"}.mdi-toggle-switch-outline:before{content:"󰨚"}.mdi-toggle-switch-variant:before{content:"󱨥"}.mdi-toggle-switch-variant-off:before{content:"󱨦"}.mdi-toilet:before{content:"󰦫"}.mdi-toolbox:before{content:"󰦬"}.mdi-toolbox-outline:before{content:"󰦭"}.mdi-tools:before{content:"󱁤"}.mdi-tooltip:before{content:"󰔣"}.mdi-tooltip-account:before{content:"󰀌"}.mdi-tooltip-cellphone:before{content:"󱠻"}.mdi-tooltip-check:before{content:"󱕜"}.mdi-tooltip-check-outline:before{content:"󱕝"}.mdi-tooltip-edit:before{content:"󰔤"}.mdi-tooltip-edit-outline:before{content:"󱋅"}.mdi-tooltip-image:before{content:"󰔥"}.mdi-tooltip-image-outline:before{content:"󰯕"}.mdi-tooltip-minus:before{content:"󱕞"}.mdi-tooltip-minus-outline:before{content:"󱕟"}.mdi-tooltip-outline:before{content:"󰔦"}.mdi-tooltip-plus:before{content:"󰯖"}.mdi-tooltip-plus-outline:before{content:"󰔧"}.mdi-tooltip-question:before{content:"󱮺"}.mdi-tooltip-question-outline:before{content:"󱮻"}.mdi-tooltip-remove:before{content:"󱕠"}.mdi-tooltip-remove-outline:before{content:"󱕡"}.mdi-tooltip-text:before{content:"󰔨"}.mdi-tooltip-text-outline:before{content:"󰯗"}.mdi-tooth:before{content:"󰣃"}.mdi-tooth-outline:before{content:"󰔩"}.mdi-toothbrush:before{content:"󱄩"}.mdi-toothbrush-electric:before{content:"󱄬"}.mdi-toothbrush-paste:before{content:"󱄪"}.mdi-torch:before{content:"󱘆"}.mdi-tortoise:before{content:"󰴻"}.mdi-toslink:before{content:"󱊸"}.mdi-touch-text-outline:before{content:"󱱠"}.mdi-tournament:before{content:"󰦮"}.mdi-tow-truck:before{content:"󰠼"}.mdi-tower-beach:before{content:"󰚁"}.mdi-tower-fire:before{content:"󰚂"}.mdi-town-hall:before{content:"󱡵"}.mdi-toy-brick:before{content:"󱊈"}.mdi-toy-brick-marker:before{content:"󱊉"}.mdi-toy-brick-marker-outline:before{content:"󱊊"}.mdi-toy-brick-minus:before{content:"󱊋"}.mdi-toy-brick-minus-outline:before{content:"󱊌"}.mdi-toy-brick-outline:before{content:"󱊍"}.mdi-toy-brick-plus:before{content:"󱊎"}.mdi-toy-brick-plus-outline:before{content:"󱊏"}.mdi-toy-brick-remove:before{content:"󱊐"}.mdi-toy-brick-remove-outline:before{content:"󱊑"}.mdi-toy-brick-search:before{content:"󱊒"}.mdi-toy-brick-search-outline:before{content:"󱊓"}.mdi-track-light:before{content:"󰤔"}.mdi-track-light-off:before{content:"󱬁"}.mdi-trackpad:before{content:"󰟸"}.mdi-trackpad-lock:before{content:"󰤳"}.mdi-tractor:before{content:"󰢒"}.mdi-tractor-variant:before{content:"󱓄"}.mdi-trademark:before{content:"󰩸"}.mdi-traffic-cone:before{content:"󱍼"}.mdi-traffic-light:before{content:"󰔫"}.mdi-traffic-light-outline:before{content:"󱠪"}.mdi-train:before{content:"󰔬"}.mdi-train-car:before{content:"󰯘"}.mdi-train-car-autorack:before{content:"󱬭"}.mdi-train-car-box:before{content:"󱬮"}.mdi-train-car-box-full:before{content:"󱬯"}.mdi-train-car-box-open:before{content:"󱬰"}.mdi-train-car-caboose:before{content:"󱬱"}.mdi-train-car-centerbeam:before{content:"󱬲"}.mdi-train-car-centerbeam-full:before{content:"󱬳"}.mdi-train-car-container:before{content:"󱬴"}.mdi-train-car-flatbed:before{content:"󱬵"}.mdi-train-car-flatbed-car:before{content:"󱬶"}.mdi-train-car-flatbed-tank:before{content:"󱬷"}.mdi-train-car-gondola:before{content:"󱬸"}.mdi-train-car-gondola-full:before{content:"󱬹"}.mdi-train-car-hopper:before{content:"󱬺"}.mdi-train-car-hopper-covered:before{content:"󱬻"}.mdi-train-car-hopper-full:before{content:"󱬼"}.mdi-train-car-intermodal:before{content:"󱬽"}.mdi-train-car-passenger:before{content:"󱜳"}.mdi-train-car-passenger-door:before{content:"󱜴"}.mdi-train-car-passenger-door-open:before{content:"󱜵"}.mdi-train-car-passenger-variant:before{content:"󱜶"}.mdi-train-car-tank:before{content:"󱬾"}.mdi-train-variant:before{content:"󰣄"}.mdi-tram:before{content:"󰔭"}.mdi-tram-side:before{content:"󰿧"}.mdi-transcribe:before{content:"󰔮"}.mdi-transcribe-close:before{content:"󰔯"}.mdi-transfer:before{content:"󱁥"}.mdi-transfer-down:before{content:"󰶡"}.mdi-transfer-left:before{content:"󰶢"}.mdi-transfer-right:before{content:"󰔰"}.mdi-transfer-up:before{content:"󰶣"}.mdi-transit-connection:before{content:"󰴼"}.mdi-transit-connection-horizontal:before{content:"󱕆"}.mdi-transit-connection-variant:before{content:"󰴽"}.mdi-transit-detour:before{content:"󰾋"}.mdi-transit-skip:before{content:"󱔕"}.mdi-transit-transfer:before{content:"󰚮"}.mdi-transition:before{content:"󰤕"}.mdi-transition-masked:before{content:"󰤖"}.mdi-translate:before{content:"󰗊"}.mdi-translate-off:before{content:"󰸆"}.mdi-translate-variant:before{content:"󱮙"}.mdi-transmission-tower:before{content:"󰴾"}.mdi-transmission-tower-export:before{content:"󱤬"}.mdi-transmission-tower-import:before{content:"󱤭"}.mdi-transmission-tower-off:before{content:"󱧝"}.mdi-trash-can:before{content:"󰩹"}.mdi-trash-can-outline:before{content:"󰩺"}.mdi-tray:before{content:"󱊔"}.mdi-tray-alert:before{content:"󱊕"}.mdi-tray-arrow-down:before{content:"󰄠"}.mdi-tray-arrow-up:before{content:"󰄝"}.mdi-tray-full:before{content:"󱊖"}.mdi-tray-minus:before{content:"󱊗"}.mdi-tray-plus:before{content:"󱊘"}.mdi-tray-remove:before{content:"󱊙"}.mdi-treasure-chest:before{content:"󰜦"}.mdi-treasure-chest-outline:before{content:"󱱷"}.mdi-tree:before{content:"󰔱"}.mdi-tree-outline:before{content:"󰹩"}.mdi-trello:before{content:"󰔲"}.mdi-trending-down:before{content:"󰔳"}.mdi-trending-neutral:before{content:"󰔴"}.mdi-trending-up:before{content:"󰔵"}.mdi-triangle:before{content:"󰔶"}.mdi-triangle-down:before{content:"󱱖"}.mdi-triangle-down-outline:before{content:"󱱗"}.mdi-triangle-outline:before{content:"󰔷"}.mdi-triangle-small-down:before{content:"󱨉"}.mdi-triangle-small-up:before{content:"󱨊"}.mdi-triangle-wave:before{content:"󱑼"}.mdi-triforce:before{content:"󰯙"}.mdi-trophy:before{content:"󰔸"}.mdi-trophy-award:before{content:"󰔹"}.mdi-trophy-broken:before{content:"󰶤"}.mdi-trophy-outline:before{content:"󰔺"}.mdi-trophy-variant:before{content:"󰔻"}.mdi-trophy-variant-outline:before{content:"󰔼"}.mdi-truck:before{content:"󰔽"}.mdi-truck-alert:before{content:"󱧞"}.mdi-truck-alert-outline:before{content:"󱧟"}.mdi-truck-cargo-container:before{content:"󱣘"}.mdi-truck-check:before{content:"󰳔"}.mdi-truck-check-outline:before{content:"󱊚"}.mdi-truck-delivery:before{content:"󰔾"}.mdi-truck-delivery-outline:before{content:"󱊛"}.mdi-truck-fast:before{content:"󰞈"}.mdi-truck-fast-outline:before{content:"󱊜"}.mdi-truck-flatbed:before{content:"󱢑"}.mdi-truck-minus:before{content:"󱦮"}.mdi-truck-minus-outline:before{content:"󱦽"}.mdi-truck-outline:before{content:"󱊝"}.mdi-truck-plus:before{content:"󱦭"}.mdi-truck-plus-outline:before{content:"󱦼"}.mdi-truck-remove:before{content:"󱦯"}.mdi-truck-remove-outline:before{content:"󱦾"}.mdi-truck-snowflake:before{content:"󱦦"}.mdi-truck-trailer:before{content:"󰜧"}.mdi-trumpet:before{content:"󱂖"}.mdi-tshirt-crew:before{content:"󰩻"}.mdi-tshirt-crew-outline:before{content:"󰔿"}.mdi-tshirt-v:before{content:"󰩼"}.mdi-tshirt-v-outline:before{content:"󰕀"}.mdi-tsunami:before{content:"󱪁"}.mdi-tumble-dryer:before{content:"󰤗"}.mdi-tumble-dryer-alert:before{content:"󱆺"}.mdi-tumble-dryer-off:before{content:"󱆻"}.mdi-tune:before{content:"󰘮"}.mdi-tune-variant:before{content:"󱕂"}.mdi-tune-vertical:before{content:"󰙪"}.mdi-tune-vertical-variant:before{content:"󱕃"}.mdi-tunnel:before{content:"󱠽"}.mdi-tunnel-outline:before{content:"󱠾"}.mdi-turbine:before{content:"󱪂"}.mdi-turkey:before{content:"󱜛"}.mdi-turnstile:before{content:"󰳕"}.mdi-turnstile-outline:before{content:"󰳖"}.mdi-turtle:before{content:"󰳗"}.mdi-twitch:before{content:"󰕃"}.mdi-twitter:before{content:"󰕄"}.mdi-two-factor-authentication:before{content:"󰦯"}.mdi-typewriter:before{content:"󰼭"}.mdi-ubisoft:before{content:"󰯚"}.mdi-ubuntu:before{content:"󰕈"}.mdi-ufo:before{content:"󱃄"}.mdi-ufo-outline:before{content:"󱃅"}.mdi-ultra-high-definition:before{content:"󰟹"}.mdi-umbraco:before{content:"󰕉"}.mdi-umbrella:before{content:"󰕊"}.mdi-umbrella-beach:before{content:"󱢊"}.mdi-umbrella-beach-outline:before{content:"󱢋"}.mdi-umbrella-closed:before{content:"󰦰"}.mdi-umbrella-closed-outline:before{content:"󱏢"}.mdi-umbrella-closed-variant:before{content:"󱏡"}.mdi-umbrella-outline:before{content:"󰕋"}.mdi-undo:before{content:"󰕌"}.mdi-undo-variant:before{content:"󰕍"}.mdi-unfold-less-horizontal:before{content:"󰕎"}.mdi-unfold-less-vertical:before{content:"󰝠"}.mdi-unfold-more-horizontal:before{content:"󰕏"}.mdi-unfold-more-vertical:before{content:"󰝡"}.mdi-ungroup:before{content:"󰕐"}.mdi-unicode:before{content:"󰻐"}.mdi-unicorn:before{content:"󱗂"}.mdi-unicorn-variant:before{content:"󱗃"}.mdi-unicycle:before{content:"󱗥"}.mdi-unity:before{content:"󰚯"}.mdi-unreal:before{content:"󰦱"}.mdi-update:before{content:"󰚰"}.mdi-upload:before{content:"󰕒"}.mdi-upload-lock:before{content:"󱍳"}.mdi-upload-lock-outline:before{content:"󱍴"}.mdi-upload-multiple:before{content:"󰠽"}.mdi-upload-network:before{content:"󰛶"}.mdi-upload-network-outline:before{content:"󰳘"}.mdi-upload-off:before{content:"󱃆"}.mdi-upload-off-outline:before{content:"󱃇"}.mdi-upload-outline:before{content:"󰸇"}.mdi-usb:before{content:"󰕓"}.mdi-usb-flash-drive:before{content:"󱊞"}.mdi-usb-flash-drive-outline:before{content:"󱊟"}.mdi-usb-port:before{content:"󱇰"}.mdi-vacuum:before{content:"󱦡"}.mdi-vacuum-outline:before{content:"󱦢"}.mdi-valve:before{content:"󱁦"}.mdi-valve-closed:before{content:"󱁧"}.mdi-valve-open:before{content:"󱁨"}.mdi-van-passenger:before{content:"󰟺"}.mdi-van-utility:before{content:"󰟻"}.mdi-vanish:before{content:"󰟼"}.mdi-vanish-quarter:before{content:"󱕔"}.mdi-vanity-light:before{content:"󱇡"}.mdi-variable:before{content:"󰫧"}.mdi-variable-box:before{content:"󱄑"}.mdi-vector-arrange-above:before{content:"󰕔"}.mdi-vector-arrange-below:before{content:"󰕕"}.mdi-vector-bezier:before{content:"󰫨"}.mdi-vector-circle:before{content:"󰕖"}.mdi-vector-circle-variant:before{content:"󰕗"}.mdi-vector-combine:before{content:"󰕘"}.mdi-vector-curve:before{content:"󰕙"}.mdi-vector-difference:before{content:"󰕚"}.mdi-vector-difference-ab:before{content:"󰕛"}.mdi-vector-difference-ba:before{content:"󰕜"}.mdi-vector-ellipse:before{content:"󰢓"}.mdi-vector-intersection:before{content:"󰕝"}.mdi-vector-line:before{content:"󰕞"}.mdi-vector-link:before{content:"󰿨"}.mdi-vector-point:before{content:"󰇄"}.mdi-vector-point-edit:before{content:"󰧨"}.mdi-vector-point-minus:before{content:"󱭸"}.mdi-vector-point-plus:before{content:"󱭹"}.mdi-vector-point-select:before{content:"󰕟"}.mdi-vector-polygon:before{content:"󰕠"}.mdi-vector-polygon-variant:before{content:"󱡖"}.mdi-vector-polyline:before{content:"󰕡"}.mdi-vector-polyline-edit:before{content:"󱈥"}.mdi-vector-polyline-minus:before{content:"󱈦"}.mdi-vector-polyline-plus:before{content:"󱈧"}.mdi-vector-polyline-remove:before{content:"󱈨"}.mdi-vector-radius:before{content:"󰝊"}.mdi-vector-rectangle:before{content:"󰗆"}.mdi-vector-selection:before{content:"󰕢"}.mdi-vector-square:before{content:"󰀁"}.mdi-vector-square-close:before{content:"󱡗"}.mdi-vector-square-edit:before{content:"󱣙"}.mdi-vector-square-minus:before{content:"󱣚"}.mdi-vector-square-open:before{content:"󱡘"}.mdi-vector-square-plus:before{content:"󱣛"}.mdi-vector-square-remove:before{content:"󱣜"}.mdi-vector-triangle:before{content:"󰕣"}.mdi-vector-union:before{content:"󰕤"}.mdi-vhs:before{content:"󰨛"}.mdi-vibrate:before{content:"󰕦"}.mdi-vibrate-off:before{content:"󰳙"}.mdi-video:before{content:"󰕧"}.mdi-video-2d:before{content:"󱨜"}.mdi-video-3d:before{content:"󰟽"}.mdi-video-3d-off:before{content:"󱏙"}.mdi-video-3d-variant:before{content:"󰻑"}.mdi-video-4k-box:before{content:"󰠾"}.mdi-video-account:before{content:"󰤙"}.mdi-video-box:before{content:"󰃽"}.mdi-video-box-off:before{content:"󰃾"}.mdi-video-check:before{content:"󱁩"}.mdi-video-check-outline:before{content:"󱁪"}.mdi-video-high-definition:before{content:"󱔮"}.mdi-video-image:before{content:"󰤚"}.mdi-video-input-antenna:before{content:"󰠿"}.mdi-video-input-component:before{content:"󰡀"}.mdi-video-input-hdmi:before{content:"󰡁"}.mdi-video-input-scart:before{content:"󰾌"}.mdi-video-input-svideo:before{content:"󰡂"}.mdi-video-marker:before{content:"󱦩"}.mdi-video-marker-outline:before{content:"󱦪"}.mdi-video-minus:before{content:"󰦲"}.mdi-video-minus-outline:before{content:"󰊺"}.mdi-video-off:before{content:"󰕨"}.mdi-video-off-outline:before{content:"󰯛"}.mdi-video-outline:before{content:"󰯜"}.mdi-video-plus:before{content:"󰦳"}.mdi-video-plus-outline:before{content:"󰇓"}.mdi-video-stabilization:before{content:"󰤛"}.mdi-video-switch:before{content:"󰕩"}.mdi-video-switch-outline:before{content:"󰞐"}.mdi-video-vintage:before{content:"󰨜"}.mdi-video-wireless:before{content:"󰻒"}.mdi-video-wireless-outline:before{content:"󰻓"}.mdi-view-agenda:before{content:"󰕪"}.mdi-view-agenda-outline:before{content:"󱇘"}.mdi-view-array:before{content:"󰕫"}.mdi-view-array-outline:before{content:"󱒅"}.mdi-view-carousel:before{content:"󰕬"}.mdi-view-carousel-outline:before{content:"󱒆"}.mdi-view-column:before{content:"󰕭"}.mdi-view-column-outline:before{content:"󱒇"}.mdi-view-comfy:before{content:"󰹪"}.mdi-view-comfy-outline:before{content:"󱒈"}.mdi-view-compact:before{content:"󰹫"}.mdi-view-compact-outline:before{content:"󰹬"}.mdi-view-dashboard:before{content:"󰕮"}.mdi-view-dashboard-edit:before{content:"󱥇"}.mdi-view-dashboard-edit-outline:before{content:"󱥈"}.mdi-view-dashboard-outline:before{content:"󰨝"}.mdi-view-dashboard-variant:before{content:"󰡃"}.mdi-view-dashboard-variant-outline:before{content:"󱒉"}.mdi-view-day:before{content:"󰕯"}.mdi-view-day-outline:before{content:"󱒊"}.mdi-view-gallery:before{content:"󱢈"}.mdi-view-gallery-outline:before{content:"󱢉"}.mdi-view-grid:before{content:"󰕰"}.mdi-view-grid-compact:before{content:"󱱡"}.mdi-view-grid-outline:before{content:"󱇙"}.mdi-view-grid-plus:before{content:"󰾍"}.mdi-view-grid-plus-outline:before{content:"󱇚"}.mdi-view-headline:before{content:"󰕱"}.mdi-view-list:before{content:"󰕲"}.mdi-view-list-outline:before{content:"󱒋"}.mdi-view-module:before{content:"󰕳"}.mdi-view-module-outline:before{content:"󱒌"}.mdi-view-parallel:before{content:"󰜨"}.mdi-view-parallel-outline:before{content:"󱒍"}.mdi-view-quilt:before{content:"󰕴"}.mdi-view-quilt-outline:before{content:"󱒎"}.mdi-view-sequential:before{content:"󰜩"}.mdi-view-sequential-outline:before{content:"󱒏"}.mdi-view-split-horizontal:before{content:"󰯋"}.mdi-view-split-vertical:before{content:"󰯌"}.mdi-view-stream:before{content:"󰕵"}.mdi-view-stream-outline:before{content:"󱒐"}.mdi-view-week:before{content:"󰕶"}.mdi-view-week-outline:before{content:"󱒑"}.mdi-vimeo:before{content:"󰕷"}.mdi-violin:before{content:"󰘏"}.mdi-virtual-reality:before{content:"󰢔"}.mdi-virus:before{content:"󱎶"}.mdi-virus-off:before{content:"󱣡"}.mdi-virus-off-outline:before{content:"󱣢"}.mdi-virus-outline:before{content:"󱎷"}.mdi-vlc:before{content:"󰕼"}.mdi-voicemail:before{content:"󰕽"}.mdi-volcano:before{content:"󱪃"}.mdi-volcano-outline:before{content:"󱪄"}.mdi-volleyball:before{content:"󰦴"}.mdi-volume-equal:before{content:"󱬐"}.mdi-volume-high:before{content:"󰕾"}.mdi-volume-low:before{content:"󰕿"}.mdi-volume-medium:before{content:"󰖀"}.mdi-volume-minus:before{content:"󰝞"}.mdi-volume-mute:before{content:"󰝟"}.mdi-volume-off:before{content:"󰖁"}.mdi-volume-plus:before{content:"󰝝"}.mdi-volume-source:before{content:"󱄠"}.mdi-volume-variant-off:before{content:"󰸈"}.mdi-volume-vibrate:before{content:"󱄡"}.mdi-vote:before{content:"󰨟"}.mdi-vote-outline:before{content:"󰨠"}.mdi-vpn:before{content:"󰖂"}.mdi-vuejs:before{content:"󰡄"}.mdi-vuetify:before{content:"󰹭"}.mdi-walk:before{content:"󰖃"}.mdi-wall:before{content:"󰟾"}.mdi-wall-fire:before{content:"󱨑"}.mdi-wall-sconce:before{content:"󰤜"}.mdi-wall-sconce-flat:before{content:"󰤝"}.mdi-wall-sconce-flat-outline:before{content:"󱟉"}.mdi-wall-sconce-flat-variant:before{content:"󰐜"}.mdi-wall-sconce-flat-variant-outline:before{content:"󱟊"}.mdi-wall-sconce-outline:before{content:"󱟋"}.mdi-wall-sconce-round:before{content:"󰝈"}.mdi-wall-sconce-round-outline:before{content:"󱟌"}.mdi-wall-sconce-round-variant:before{content:"󰤞"}.mdi-wall-sconce-round-variant-outline:before{content:"󱟍"}.mdi-wallet:before{content:"󰖄"}.mdi-wallet-bifold:before{content:"󱱘"}.mdi-wallet-bifold-outline:before{content:"󱱙"}.mdi-wallet-giftcard:before{content:"󰖅"}.mdi-wallet-membership:before{content:"󰖆"}.mdi-wallet-outline:before{content:"󰯝"}.mdi-wallet-plus:before{content:"󰾎"}.mdi-wallet-plus-outline:before{content:"󰾏"}.mdi-wallet-travel:before{content:"󰖇"}.mdi-wallpaper:before{content:"󰸉"}.mdi-wan:before{content:"󰖈"}.mdi-wardrobe:before{content:"󰾐"}.mdi-wardrobe-outline:before{content:"󰾑"}.mdi-warehouse:before{content:"󰾁"}.mdi-washing-machine:before{content:"󰜪"}.mdi-washing-machine-alert:before{content:"󱆼"}.mdi-washing-machine-off:before{content:"󱆽"}.mdi-watch:before{content:"󰖉"}.mdi-watch-export:before{content:"󰖊"}.mdi-watch-export-variant:before{content:"󰢕"}.mdi-watch-import:before{content:"󰖋"}.mdi-watch-import-variant:before{content:"󰢖"}.mdi-watch-variant:before{content:"󰢗"}.mdi-watch-vibrate:before{content:"󰚱"}.mdi-watch-vibrate-off:before{content:"󰳚"}.mdi-water:before{content:"󰖌"}.mdi-water-alert:before{content:"󱔂"}.mdi-water-alert-outline:before{content:"󱔃"}.mdi-water-boiler:before{content:"󰾒"}.mdi-water-boiler-alert:before{content:"󱆳"}.mdi-water-boiler-auto:before{content:"󱮘"}.mdi-water-boiler-off:before{content:"󱆴"}.mdi-water-check:before{content:"󱔄"}.mdi-water-check-outline:before{content:"󱔅"}.mdi-water-circle:before{content:"󱠆"}.mdi-water-minus:before{content:"󱔆"}.mdi-water-minus-outline:before{content:"󱔇"}.mdi-water-off:before{content:"󰖍"}.mdi-water-off-outline:before{content:"󱔈"}.mdi-water-opacity:before{content:"󱡕"}.mdi-water-outline:before{content:"󰸊"}.mdi-water-percent:before{content:"󰖎"}.mdi-water-percent-alert:before{content:"󱔉"}.mdi-water-plus:before{content:"󱔊"}.mdi-water-plus-outline:before{content:"󱔋"}.mdi-water-polo:before{content:"󱊠"}.mdi-water-pump:before{content:"󰖏"}.mdi-water-pump-off:before{content:"󰾓"}.mdi-water-remove:before{content:"󱔌"}.mdi-water-remove-outline:before{content:"󱔍"}.mdi-water-sync:before{content:"󱟆"}.mdi-water-thermometer:before{content:"󱪅"}.mdi-water-thermometer-outline:before{content:"󱪆"}.mdi-water-well:before{content:"󱁫"}.mdi-water-well-outline:before{content:"󱁬"}.mdi-waterfall:before{content:"󱡉"}.mdi-watering-can:before{content:"󱒁"}.mdi-watering-can-outline:before{content:"󱒂"}.mdi-watermark:before{content:"󰘒"}.mdi-wave:before{content:"󰼮"}.mdi-waveform:before{content:"󱑽"}.mdi-waves:before{content:"󰞍"}.mdi-waves-arrow-left:before{content:"󱡙"}.mdi-waves-arrow-right:before{content:"󱡚"}.mdi-waves-arrow-up:before{content:"󱡛"}.mdi-waze:before{content:"󰯞"}.mdi-weather-cloudy:before{content:"󰖐"}.mdi-weather-cloudy-alert:before{content:"󰼯"}.mdi-weather-cloudy-arrow-right:before{content:"󰹮"}.mdi-weather-cloudy-clock:before{content:"󱣶"}.mdi-weather-dust:before{content:"󱭚"}.mdi-weather-fog:before{content:"󰖑"}.mdi-weather-hail:before{content:"󰖒"}.mdi-weather-hazy:before{content:"󰼰"}.mdi-weather-hurricane:before{content:"󰢘"}.mdi-weather-hurricane-outline:before{content:"󱱸"}.mdi-weather-lightning:before{content:"󰖓"}.mdi-weather-lightning-rainy:before{content:"󰙾"}.mdi-weather-night:before{content:"󰖔"}.mdi-weather-night-partly-cloudy:before{content:"󰼱"}.mdi-weather-partly-cloudy:before{content:"󰖕"}.mdi-weather-partly-lightning:before{content:"󰼲"}.mdi-weather-partly-rainy:before{content:"󰼳"}.mdi-weather-partly-snowy:before{content:"󰼴"}.mdi-weather-partly-snowy-rainy:before{content:"󰼵"}.mdi-weather-pouring:before{content:"󰖖"}.mdi-weather-rainy:before{content:"󰖗"}.mdi-weather-snowy:before{content:"󰖘"}.mdi-weather-snowy-heavy:before{content:"󰼶"}.mdi-weather-snowy-rainy:before{content:"󰙿"}.mdi-weather-sunny:before{content:"󰖙"}.mdi-weather-sunny-alert:before{content:"󰼷"}.mdi-weather-sunny-off:before{content:"󱓤"}.mdi-weather-sunset:before{content:"󰖚"}.mdi-weather-sunset-down:before{content:"󰖛"}.mdi-weather-sunset-up:before{content:"󰖜"}.mdi-weather-tornado:before{content:"󰼸"}.mdi-weather-windy:before{content:"󰖝"}.mdi-weather-windy-variant:before{content:"󰖞"}.mdi-web:before{content:"󰖟"}.mdi-web-box:before{content:"󰾔"}.mdi-web-cancel:before{content:"󱞐"}.mdi-web-check:before{content:"󰞉"}.mdi-web-clock:before{content:"󱉊"}.mdi-web-minus:before{content:"󱂠"}.mdi-web-off:before{content:"󰪎"}.mdi-web-plus:before{content:"󰀳"}.mdi-web-refresh:before{content:"󱞑"}.mdi-web-remove:before{content:"󰕑"}.mdi-web-sync:before{content:"󱞒"}.mdi-webcam:before{content:"󰖠"}.mdi-webcam-off:before{content:"󱜷"}.mdi-webhook:before{content:"󰘯"}.mdi-webpack:before{content:"󰜫"}.mdi-webrtc:before{content:"󱉈"}.mdi-wechat:before{content:"󰘑"}.mdi-weight:before{content:"󰖡"}.mdi-weight-gram:before{content:"󰴿"}.mdi-weight-kilogram:before{content:"󰖢"}.mdi-weight-lifter:before{content:"󱅝"}.mdi-weight-pound:before{content:"󰦵"}.mdi-whatsapp:before{content:"󰖣"}.mdi-wheel-barrow:before{content:"󱓲"}.mdi-wheelchair:before{content:"󱪇"}.mdi-wheelchair-accessibility:before{content:"󰖤"}.mdi-whistle:before{content:"󰦶"}.mdi-whistle-outline:before{content:"󱊼"}.mdi-white-balance-auto:before{content:"󰖥"}.mdi-white-balance-incandescent:before{content:"󰖦"}.mdi-white-balance-iridescent:before{content:"󰖧"}.mdi-white-balance-sunny:before{content:"󰖨"}.mdi-widgets:before{content:"󰜬"}.mdi-widgets-outline:before{content:"󱍕"}.mdi-wifi:before{content:"󰖩"}.mdi-wifi-alert:before{content:"󱚵"}.mdi-wifi-arrow-down:before{content:"󱚶"}.mdi-wifi-arrow-left:before{content:"󱚷"}.mdi-wifi-arrow-left-right:before{content:"󱚸"}.mdi-wifi-arrow-right:before{content:"󱚹"}.mdi-wifi-arrow-up:before{content:"󱚺"}.mdi-wifi-arrow-up-down:before{content:"󱚻"}.mdi-wifi-cancel:before{content:"󱚼"}.mdi-wifi-check:before{content:"󱚽"}.mdi-wifi-cog:before{content:"󱚾"}.mdi-wifi-lock:before{content:"󱚿"}.mdi-wifi-lock-open:before{content:"󱛀"}.mdi-wifi-marker:before{content:"󱛁"}.mdi-wifi-minus:before{content:"󱛂"}.mdi-wifi-off:before{content:"󰖪"}.mdi-wifi-plus:before{content:"󱛃"}.mdi-wifi-refresh:before{content:"󱛄"}.mdi-wifi-remove:before{content:"󱛅"}.mdi-wifi-settings:before{content:"󱛆"}.mdi-wifi-star:before{content:"󰸋"}.mdi-wifi-strength-1:before{content:"󰤟"}.mdi-wifi-strength-1-alert:before{content:"󰤠"}.mdi-wifi-strength-1-lock:before{content:"󰤡"}.mdi-wifi-strength-1-lock-open:before{content:"󱛋"}.mdi-wifi-strength-2:before{content:"󰤢"}.mdi-wifi-strength-2-alert:before{content:"󰤣"}.mdi-wifi-strength-2-lock:before{content:"󰤤"}.mdi-wifi-strength-2-lock-open:before{content:"󱛌"}.mdi-wifi-strength-3:before{content:"󰤥"}.mdi-wifi-strength-3-alert:before{content:"󰤦"}.mdi-wifi-strength-3-lock:before{content:"󰤧"}.mdi-wifi-strength-3-lock-open:before{content:"󱛍"}.mdi-wifi-strength-4:before{content:"󰤨"}.mdi-wifi-strength-4-alert:before{content:"󰤩"}.mdi-wifi-strength-4-lock:before{content:"󰤪"}.mdi-wifi-strength-4-lock-open:before{content:"󱛎"}.mdi-wifi-strength-alert-outline:before{content:"󰤫"}.mdi-wifi-strength-lock-open-outline:before{content:"󱛏"}.mdi-wifi-strength-lock-outline:before{content:"󰤬"}.mdi-wifi-strength-off:before{content:"󰤭"}.mdi-wifi-strength-off-outline:before{content:"󰤮"}.mdi-wifi-strength-outline:before{content:"󰤯"}.mdi-wifi-sync:before{content:"󱛇"}.mdi-wikipedia:before{content:"󰖬"}.mdi-wind-power:before{content:"󱪈"}.mdi-wind-power-outline:before{content:"󱪉"}.mdi-wind-turbine:before{content:"󰶥"}.mdi-wind-turbine-alert:before{content:"󱦫"}.mdi-wind-turbine-check:before{content:"󱦬"}.mdi-window-close:before{content:"󰖭"}.mdi-window-closed:before{content:"󰖮"}.mdi-window-closed-variant:before{content:"󱇛"}.mdi-window-maximize:before{content:"󰖯"}.mdi-window-minimize:before{content:"󰖰"}.mdi-window-open:before{content:"󰖱"}.mdi-window-open-variant:before{content:"󱇜"}.mdi-window-restore:before{content:"󰖲"}.mdi-window-shutter:before{content:"󱄜"}.mdi-window-shutter-alert:before{content:"󱄝"}.mdi-window-shutter-auto:before{content:"󱮣"}.mdi-window-shutter-cog:before{content:"󱪊"}.mdi-window-shutter-open:before{content:"󱄞"}.mdi-window-shutter-settings:before{content:"󱪋"}.mdi-windsock:before{content:"󱗺"}.mdi-wiper:before{content:"󰫩"}.mdi-wiper-wash:before{content:"󰶦"}.mdi-wiper-wash-alert:before{content:"󱣟"}.mdi-wizard-hat:before{content:"󱑷"}.mdi-wordpress:before{content:"󰖴"}.mdi-wrap:before{content:"󰖶"}.mdi-wrap-disabled:before{content:"󰯟"}.mdi-wrench:before{content:"󰖷"}.mdi-wrench-check:before{content:"󱮏"}.mdi-wrench-check-outline:before{content:"󱮐"}.mdi-wrench-clock:before{content:"󱦣"}.mdi-wrench-clock-outline:before{content:"󱮓"}.mdi-wrench-cog:before{content:"󱮑"}.mdi-wrench-cog-outline:before{content:"󱮒"}.mdi-wrench-outline:before{content:"󰯠"}.mdi-xamarin:before{content:"󰡅"}.mdi-xml:before{content:"󰗀"}.mdi-xmpp:before{content:"󰟿"}.mdi-yahoo:before{content:"󰭏"}.mdi-yeast:before{content:"󰗁"}.mdi-yin-yang:before{content:"󰚀"}.mdi-yoga:before{content:"󱅼"}.mdi-youtube:before{content:"󰗃"}.mdi-youtube-gaming:before{content:"󰡈"}.mdi-youtube-studio:before{content:"󰡇"}.mdi-youtube-subscription:before{content:"󰵀"}.mdi-youtube-tv:before{content:"󰑈"}.mdi-yurt:before{content:"󱔖"}.mdi-z-wave:before{content:"󰫪"}.mdi-zend:before{content:"󰫫"}.mdi-zigbee:before{content:"󰵁"}.mdi-zip-box:before{content:"󰗄"}.mdi-zip-box-outline:before{content:"󰿺"}.mdi-zip-disk:before{content:"󰨣"}.mdi-zodiac-aquarius:before{content:"󰩽"}.mdi-zodiac-aries:before{content:"󰩾"}.mdi-zodiac-cancer:before{content:"󰩿"}.mdi-zodiac-capricorn:before{content:"󰪀"}.mdi-zodiac-gemini:before{content:"󰪁"}.mdi-zodiac-leo:before{content:"󰪂"}.mdi-zodiac-libra:before{content:"󰪃"}.mdi-zodiac-pisces:before{content:"󰪄"}.mdi-zodiac-sagittarius:before{content:"󰪅"}.mdi-zodiac-scorpio:before{content:"󰪆"}.mdi-zodiac-taurus:before{content:"󰪇"}.mdi-zodiac-virgo:before{content:"󰪈"}.mdi-blank:before{content:"";visibility:hidden}.mdi-18px.mdi-set,.mdi-18px.mdi:before{font-size:18px}.mdi-24px.mdi-set,.mdi-24px.mdi:before{font-size:24px}.mdi-36px.mdi-set,.mdi-36px.mdi:before{font-size:36px}.mdi-48px.mdi-set,.mdi-48px.mdi:before{font-size:48px}.mdi-dark:before{color:#0000008a}.mdi-dark.mdi-inactive:before{color:#00000042}.mdi-light:before{color:#fff}.mdi-light.mdi-inactive:before{color:#ffffff4d}.mdi-rotate-45:before{-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.mdi-rotate-90:before{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.mdi-rotate-135:before{-webkit-transform:rotate(135deg);-ms-transform:rotate(135deg);transform:rotate(135deg)}.mdi-rotate-180:before{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.mdi-rotate-225:before{-webkit-transform:rotate(225deg);-ms-transform:rotate(225deg);transform:rotate(225deg)}.mdi-rotate-270:before{-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.mdi-rotate-315:before{-webkit-transform:rotate(315deg);-ms-transform:rotate(315deg);transform:rotate(315deg)}.mdi-flip-h:before{-webkit-transform:scaleX(-1);transform:scaleX(-1);filter:FlipH;-ms-filter:"FlipH"}.mdi-flip-v:before{-webkit-transform:scaleY(-1);transform:scaleY(-1);filter:FlipV;-ms-filter:"FlipV"}.mdi-spin:before{-webkit-animation:mdi-spin 2s infinite linear;animation:mdi-spin 2s infinite linear}@-webkit-keyframes mdi-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes mdi-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes v-shake{59%{margin-left:0}60%,80%{margin-left:2px}70%,90%{margin-left:-2px}}.bg-black{background-color:#000!important;color:#fff!important}.bg-white{background-color:#fff!important;color:#000!important}.bg-transparent{background-color:transparent!important;color:currentColor!important}.bg-red{background-color:#f44336!important;color:#fff!important}.bg-red-lighten-5{background-color:#ffebee!important;color:#000!important}.bg-red-lighten-4{background-color:#ffcdd2!important;color:#000!important}.bg-red-lighten-3{background-color:#ef9a9a!important;color:#000!important}.bg-red-lighten-2{background-color:#e57373!important;color:#fff!important}.bg-red-lighten-1{background-color:#ef5350!important;color:#fff!important}.bg-red-darken-1{background-color:#e53935!important;color:#fff!important}.bg-red-darken-2{background-color:#d32f2f!important;color:#fff!important}.bg-red-darken-3{background-color:#c62828!important;color:#fff!important}.bg-red-darken-4{background-color:#b71c1c!important;color:#fff!important}.bg-red-accent-1{background-color:#ff8a80!important;color:#000!important}.bg-red-accent-2{background-color:#ff5252!important;color:#fff!important}.bg-red-accent-3{background-color:#ff1744!important;color:#fff!important}.bg-red-accent-4{background-color:#d50000!important;color:#fff!important}.bg-pink{background-color:#e91e63!important;color:#fff!important}.bg-pink-lighten-5{background-color:#fce4ec!important;color:#000!important}.bg-pink-lighten-4{background-color:#f8bbd0!important;color:#000!important}.bg-pink-lighten-3{background-color:#f48fb1!important;color:#000!important}.bg-pink-lighten-2{background-color:#f06292!important;color:#fff!important}.bg-pink-lighten-1{background-color:#ec407a!important;color:#fff!important}.bg-pink-darken-1{background-color:#d81b60!important;color:#fff!important}.bg-pink-darken-2{background-color:#c2185b!important;color:#fff!important}.bg-pink-darken-3{background-color:#ad1457!important;color:#fff!important}.bg-pink-darken-4{background-color:#880e4f!important;color:#fff!important}.bg-pink-accent-1{background-color:#ff80ab!important;color:#fff!important}.bg-pink-accent-2{background-color:#ff4081!important;color:#fff!important}.bg-pink-accent-3{background-color:#f50057!important;color:#fff!important}.bg-pink-accent-4{background-color:#c51162!important;color:#fff!important}.bg-purple{background-color:#9c27b0!important;color:#fff!important}.bg-purple-lighten-5{background-color:#f3e5f5!important;color:#000!important}.bg-purple-lighten-4{background-color:#e1bee7!important;color:#000!important}.bg-purple-lighten-3{background-color:#ce93d8!important;color:#fff!important}.bg-purple-lighten-2{background-color:#ba68c8!important;color:#fff!important}.bg-purple-lighten-1{background-color:#ab47bc!important;color:#fff!important}.bg-purple-darken-1{background-color:#8e24aa!important;color:#fff!important}.bg-purple-darken-2{background-color:#7b1fa2!important;color:#fff!important}.bg-purple-darken-3{background-color:#6a1b9a!important;color:#fff!important}.bg-purple-darken-4{background-color:#4a148c!important;color:#fff!important}.bg-purple-accent-1{background-color:#ea80fc!important;color:#fff!important}.bg-purple-accent-2{background-color:#e040fb!important;color:#fff!important}.bg-purple-accent-3{background-color:#d500f9!important;color:#fff!important}.bg-purple-accent-4{background-color:#a0f!important;color:#fff!important}.bg-deep-purple{background-color:#673ab7!important;color:#fff!important}.bg-deep-purple-lighten-5{background-color:#ede7f6!important;color:#000!important}.bg-deep-purple-lighten-4{background-color:#d1c4e9!important;color:#000!important}.bg-deep-purple-lighten-3{background-color:#b39ddb!important;color:#fff!important}.bg-deep-purple-lighten-2{background-color:#9575cd!important;color:#fff!important}.bg-deep-purple-lighten-1{background-color:#7e57c2!important;color:#fff!important}.bg-deep-purple-darken-1{background-color:#5e35b1!important;color:#fff!important}.bg-deep-purple-darken-2{background-color:#512da8!important;color:#fff!important}.bg-deep-purple-darken-3{background-color:#4527a0!important;color:#fff!important}.bg-deep-purple-darken-4{background-color:#311b92!important;color:#fff!important}.bg-deep-purple-accent-1{background-color:#b388ff!important;color:#fff!important}.bg-deep-purple-accent-2{background-color:#7c4dff!important;color:#fff!important}.bg-deep-purple-accent-3{background-color:#651fff!important;color:#fff!important}.bg-deep-purple-accent-4{background-color:#6200ea!important;color:#fff!important}.bg-indigo{background-color:#3f51b5!important;color:#fff!important}.bg-indigo-lighten-5{background-color:#e8eaf6!important;color:#000!important}.bg-indigo-lighten-4{background-color:#c5cae9!important;color:#000!important}.bg-indigo-lighten-3{background-color:#9fa8da!important;color:#fff!important}.bg-indigo-lighten-2{background-color:#7986cb!important;color:#fff!important}.bg-indigo-lighten-1{background-color:#5c6bc0!important;color:#fff!important}.bg-indigo-darken-1{background-color:#3949ab!important;color:#fff!important}.bg-indigo-darken-2{background-color:#303f9f!important;color:#fff!important}.bg-indigo-darken-3{background-color:#283593!important;color:#fff!important}.bg-indigo-darken-4{background-color:#1a237e!important;color:#fff!important}.bg-indigo-accent-1{background-color:#8c9eff!important;color:#fff!important}.bg-indigo-accent-2{background-color:#536dfe!important;color:#fff!important}.bg-indigo-accent-3{background-color:#3d5afe!important;color:#fff!important}.bg-indigo-accent-4{background-color:#304ffe!important;color:#fff!important}.bg-blue{background-color:#2196f3!important;color:#fff!important}.bg-blue-lighten-5{background-color:#e3f2fd!important;color:#000!important}.bg-blue-lighten-4{background-color:#bbdefb!important;color:#000!important}.bg-blue-lighten-3{background-color:#90caf9!important;color:#000!important}.bg-blue-lighten-2{background-color:#64b5f6!important;color:#000!important}.bg-blue-lighten-1{background-color:#42a5f5!important;color:#fff!important}.bg-blue-darken-1{background-color:#1e88e5!important;color:#fff!important}.bg-blue-darken-2{background-color:#1976d2!important;color:#fff!important}.bg-blue-darken-3{background-color:#1565c0!important;color:#fff!important}.bg-blue-darken-4{background-color:#0d47a1!important;color:#fff!important}.bg-blue-accent-1{background-color:#82b1ff!important;color:#000!important}.bg-blue-accent-2{background-color:#448aff!important;color:#fff!important}.bg-blue-accent-3{background-color:#2979ff!important;color:#fff!important}.bg-blue-accent-4{background-color:#2962ff!important;color:#fff!important}.bg-light-blue{background-color:#03a9f4!important;color:#fff!important}.bg-light-blue-lighten-5{background-color:#e1f5fe!important;color:#000!important}.bg-light-blue-lighten-4{background-color:#b3e5fc!important;color:#000!important}.bg-light-blue-lighten-3{background-color:#81d4fa!important;color:#000!important}.bg-light-blue-lighten-2{background-color:#4fc3f7!important;color:#000!important}.bg-light-blue-lighten-1{background-color:#29b6f6!important;color:#000!important}.bg-light-blue-darken-1{background-color:#039be5!important;color:#fff!important}.bg-light-blue-darken-2{background-color:#0288d1!important;color:#fff!important}.bg-light-blue-darken-3{background-color:#0277bd!important;color:#fff!important}.bg-light-blue-darken-4{background-color:#01579b!important;color:#fff!important}.bg-light-blue-accent-1{background-color:#80d8ff!important;color:#000!important}.bg-light-blue-accent-2{background-color:#40c4ff!important;color:#000!important}.bg-light-blue-accent-3{background-color:#00b0ff!important;color:#fff!important}.bg-light-blue-accent-4{background-color:#0091ea!important;color:#fff!important}.bg-cyan{background-color:#00bcd4!important;color:#000!important}.bg-cyan-lighten-5{background-color:#e0f7fa!important;color:#000!important}.bg-cyan-lighten-4{background-color:#b2ebf2!important;color:#000!important}.bg-cyan-lighten-3{background-color:#80deea!important;color:#000!important}.bg-cyan-lighten-2{background-color:#4dd0e1!important;color:#000!important}.bg-cyan-lighten-1{background-color:#26c6da!important;color:#000!important}.bg-cyan-darken-1{background-color:#00acc1!important;color:#fff!important}.bg-cyan-darken-2{background-color:#0097a7!important;color:#fff!important}.bg-cyan-darken-3{background-color:#00838f!important;color:#fff!important}.bg-cyan-darken-4{background-color:#006064!important;color:#fff!important}.bg-cyan-accent-1{background-color:#84ffff!important;color:#000!important}.bg-cyan-accent-2{background-color:#18ffff!important;color:#000!important}.bg-cyan-accent-3{background-color:#00e5ff!important;color:#000!important}.bg-cyan-accent-4{background-color:#00b8d4!important;color:#fff!important}.bg-teal{background-color:#009688!important;color:#fff!important}.bg-teal-lighten-5{background-color:#e0f2f1!important;color:#000!important}.bg-teal-lighten-4{background-color:#b2dfdb!important;color:#000!important}.bg-teal-lighten-3{background-color:#80cbc4!important;color:#000!important}.bg-teal-lighten-2{background-color:#4db6ac!important;color:#fff!important}.bg-teal-lighten-1{background-color:#26a69a!important;color:#fff!important}.bg-teal-darken-1{background-color:#00897b!important;color:#fff!important}.bg-teal-darken-2{background-color:#00796b!important;color:#fff!important}.bg-teal-darken-3{background-color:#00695c!important;color:#fff!important}.bg-teal-darken-4{background-color:#004d40!important;color:#fff!important}.bg-teal-accent-1{background-color:#a7ffeb!important;color:#000!important}.bg-teal-accent-2{background-color:#64ffda!important;color:#000!important}.bg-teal-accent-3{background-color:#1de9b6!important;color:#000!important}.bg-teal-accent-4{background-color:#00bfa5!important;color:#fff!important}.bg-green{background-color:#4caf50!important;color:#fff!important}.bg-green-lighten-5{background-color:#e8f5e9!important;color:#000!important}.bg-green-lighten-4{background-color:#c8e6c9!important;color:#000!important}.bg-green-lighten-3{background-color:#a5d6a7!important;color:#000!important}.bg-green-lighten-2{background-color:#81c784!important;color:#000!important}.bg-green-lighten-1{background-color:#66bb6a!important;color:#fff!important}.bg-green-darken-1{background-color:#43a047!important;color:#fff!important}.bg-green-darken-2{background-color:#388e3c!important;color:#fff!important}.bg-green-darken-3{background-color:#2e7d32!important;color:#fff!important}.bg-green-darken-4{background-color:#1b5e20!important;color:#fff!important}.bg-green-accent-1{background-color:#b9f6ca!important;color:#000!important}.bg-green-accent-2{background-color:#69f0ae!important;color:#000!important}.bg-green-accent-3{background-color:#00e676!important;color:#000!important}.bg-green-accent-4{background-color:#00c853!important;color:#000!important}.bg-light-green{background-color:#8bc34a!important;color:#000!important}.bg-light-green-lighten-5{background-color:#f1f8e9!important;color:#000!important}.bg-light-green-lighten-4{background-color:#dcedc8!important;color:#000!important}.bg-light-green-lighten-3{background-color:#c5e1a5!important;color:#000!important}.bg-light-green-lighten-2{background-color:#aed581!important;color:#000!important}.bg-light-green-lighten-1{background-color:#9ccc65!important;color:#000!important}.bg-light-green-darken-1{background-color:#7cb342!important;color:#fff!important}.bg-light-green-darken-2{background-color:#689f38!important;color:#fff!important}.bg-light-green-darken-3{background-color:#558b2f!important;color:#fff!important}.bg-light-green-darken-4{background-color:#33691e!important;color:#fff!important}.bg-light-green-accent-1{background-color:#ccff90!important;color:#000!important}.bg-light-green-accent-2{background-color:#b2ff59!important;color:#000!important}.bg-light-green-accent-3{background-color:#76ff03!important;color:#000!important}.bg-light-green-accent-4{background-color:#64dd17!important;color:#000!important}.bg-lime{background-color:#cddc39!important;color:#000!important}.bg-lime-lighten-5{background-color:#f9fbe7!important;color:#000!important}.bg-lime-lighten-4{background-color:#f0f4c3!important;color:#000!important}.bg-lime-lighten-3{background-color:#e6ee9c!important;color:#000!important}.bg-lime-lighten-2{background-color:#dce775!important;color:#000!important}.bg-lime-lighten-1{background-color:#d4e157!important;color:#000!important}.bg-lime-darken-1{background-color:#c0ca33!important;color:#000!important}.bg-lime-darken-2{background-color:#afb42b!important;color:#000!important}.bg-lime-darken-3{background-color:#9e9d24!important;color:#fff!important}.bg-lime-darken-4{background-color:#827717!important;color:#fff!important}.bg-lime-accent-1{background-color:#f4ff81!important;color:#000!important}.bg-lime-accent-2{background-color:#eeff41!important;color:#000!important}.bg-lime-accent-3{background-color:#c6ff00!important;color:#000!important}.bg-lime-accent-4{background-color:#aeea00!important;color:#000!important}.bg-yellow{background-color:#ffeb3b!important;color:#000!important}.bg-yellow-lighten-5{background-color:#fffde7!important;color:#000!important}.bg-yellow-lighten-4{background-color:#fff9c4!important;color:#000!important}.bg-yellow-lighten-3{background-color:#fff59d!important;color:#000!important}.bg-yellow-lighten-2{background-color:#fff176!important;color:#000!important}.bg-yellow-lighten-1{background-color:#ffee58!important;color:#000!important}.bg-yellow-darken-1{background-color:#fdd835!important;color:#000!important}.bg-yellow-darken-2{background-color:#fbc02d!important;color:#000!important}.bg-yellow-darken-3{background-color:#f9a825!important;color:#000!important}.bg-yellow-darken-4{background-color:#f57f17!important;color:#fff!important}.bg-yellow-accent-1{background-color:#ffff8d!important;color:#000!important}.bg-yellow-accent-2{background-color:#ff0!important;color:#000!important}.bg-yellow-accent-3{background-color:#ffea00!important;color:#000!important}.bg-yellow-accent-4{background-color:#ffd600!important;color:#000!important}.bg-amber{background-color:#ffc107!important;color:#000!important}.bg-amber-lighten-5{background-color:#fff8e1!important;color:#000!important}.bg-amber-lighten-4{background-color:#ffecb3!important;color:#000!important}.bg-amber-lighten-3{background-color:#ffe082!important;color:#000!important}.bg-amber-lighten-2{background-color:#ffd54f!important;color:#000!important}.bg-amber-lighten-1{background-color:#ffca28!important;color:#000!important}.bg-amber-darken-1{background-color:#ffb300!important;color:#000!important}.bg-amber-darken-2{background-color:#ffa000!important;color:#000!important}.bg-amber-darken-3{background-color:#ff8f00!important;color:#000!important}.bg-amber-darken-4{background-color:#ff6f00!important;color:#fff!important}.bg-amber-accent-1{background-color:#ffe57f!important;color:#000!important}.bg-amber-accent-2{background-color:#ffd740!important;color:#000!important}.bg-amber-accent-3{background-color:#ffc400!important;color:#000!important}.bg-amber-accent-4{background-color:#ffab00!important;color:#000!important}.bg-orange{background-color:#ff9800!important;color:#000!important}.bg-orange-lighten-5{background-color:#fff3e0!important;color:#000!important}.bg-orange-lighten-4{background-color:#ffe0b2!important;color:#000!important}.bg-orange-lighten-3{background-color:#ffcc80!important;color:#000!important}.bg-orange-lighten-2{background-color:#ffb74d!important;color:#000!important}.bg-orange-lighten-1{background-color:#ffa726!important;color:#000!important}.bg-orange-darken-1{background-color:#fb8c00!important;color:#fff!important}.bg-orange-darken-2{background-color:#f57c00!important;color:#fff!important}.bg-orange-darken-3{background-color:#ef6c00!important;color:#fff!important}.bg-orange-darken-4{background-color:#e65100!important;color:#fff!important}.bg-orange-accent-1{background-color:#ffd180!important;color:#000!important}.bg-orange-accent-2{background-color:#ffab40!important;color:#000!important}.bg-orange-accent-3{background-color:#ff9100!important;color:#000!important}.bg-orange-accent-4{background-color:#ff6d00!important;color:#fff!important}.bg-deep-orange{background-color:#ff5722!important;color:#fff!important}.bg-deep-orange-lighten-5{background-color:#fbe9e7!important;color:#000!important}.bg-deep-orange-lighten-4{background-color:#ffccbc!important;color:#000!important}.bg-deep-orange-lighten-3{background-color:#ffab91!important;color:#000!important}.bg-deep-orange-lighten-2{background-color:#ff8a65!important;color:#000!important}.bg-deep-orange-lighten-1{background-color:#ff7043!important;color:#fff!important}.bg-deep-orange-darken-1{background-color:#f4511e!important;color:#fff!important}.bg-deep-orange-darken-2{background-color:#e64a19!important;color:#fff!important}.bg-deep-orange-darken-3{background-color:#d84315!important;color:#fff!important}.bg-deep-orange-darken-4{background-color:#bf360c!important;color:#fff!important}.bg-deep-orange-accent-1{background-color:#ff9e80!important;color:#000!important}.bg-deep-orange-accent-2{background-color:#ff6e40!important;color:#fff!important}.bg-deep-orange-accent-3{background-color:#ff3d00!important;color:#fff!important}.bg-deep-orange-accent-4{background-color:#dd2c00!important;color:#fff!important}.bg-brown{background-color:#795548!important;color:#fff!important}.bg-brown-lighten-5{background-color:#efebe9!important;color:#000!important}.bg-brown-lighten-4{background-color:#d7ccc8!important;color:#000!important}.bg-brown-lighten-3{background-color:#bcaaa4!important;color:#000!important}.bg-brown-lighten-2{background-color:#a1887f!important;color:#fff!important}.bg-brown-lighten-1{background-color:#8d6e63!important;color:#fff!important}.bg-brown-darken-1{background-color:#6d4c41!important;color:#fff!important}.bg-brown-darken-2{background-color:#5d4037!important;color:#fff!important}.bg-brown-darken-3{background-color:#4e342e!important;color:#fff!important}.bg-brown-darken-4{background-color:#3e2723!important;color:#fff!important}.bg-blue-grey{background-color:#607d8b!important;color:#fff!important}.bg-blue-grey-lighten-5{background-color:#eceff1!important;color:#000!important}.bg-blue-grey-lighten-4{background-color:#cfd8dc!important;color:#000!important}.bg-blue-grey-lighten-3{background-color:#b0bec5!important;color:#000!important}.bg-blue-grey-lighten-2{background-color:#90a4ae!important;color:#fff!important}.bg-blue-grey-lighten-1{background-color:#78909c!important;color:#fff!important}.bg-blue-grey-darken-1{background-color:#546e7a!important;color:#fff!important}.bg-blue-grey-darken-2{background-color:#455a64!important;color:#fff!important}.bg-blue-grey-darken-3{background-color:#37474f!important;color:#fff!important}.bg-blue-grey-darken-4{background-color:#263238!important;color:#fff!important}.bg-grey{background-color:#9e9e9e!important;color:#fff!important}.bg-grey-lighten-5{background-color:#fafafa!important;color:#000!important}.bg-grey-lighten-4{background-color:#f5f5f5!important;color:#000!important}.bg-grey-lighten-3{background-color:#eee!important;color:#000!important}.bg-grey-lighten-2{background-color:#e0e0e0!important;color:#000!important}.bg-grey-lighten-1{background-color:#bdbdbd!important;color:#000!important}.bg-grey-darken-1{background-color:#757575!important;color:#fff!important}.bg-grey-darken-2{background-color:#616161!important;color:#fff!important}.bg-grey-darken-3{background-color:#424242!important;color:#fff!important}.bg-grey-darken-4{background-color:#212121!important;color:#fff!important}.bg-shades-black{background-color:#000!important;color:#fff!important}.bg-shades-white{background-color:#fff!important;color:#000!important}.bg-shades-transparent{background-color:transparent!important;color:currentColor!important}.text-black{color:#000!important}.text-white{color:#fff!important}.text-transparent{color:transparent!important}.text-red{color:#f44336!important}.text-red-lighten-5{color:#ffebee!important}.text-red-lighten-4{color:#ffcdd2!important}.text-red-lighten-3{color:#ef9a9a!important}.text-red-lighten-2{color:#e57373!important}.text-red-lighten-1{color:#ef5350!important}.text-red-darken-1{color:#e53935!important}.text-red-darken-2{color:#d32f2f!important}.text-red-darken-3{color:#c62828!important}.text-red-darken-4{color:#b71c1c!important}.text-red-accent-1{color:#ff8a80!important}.text-red-accent-2{color:#ff5252!important}.text-red-accent-3{color:#ff1744!important}.text-red-accent-4{color:#d50000!important}.text-pink{color:#e91e63!important}.text-pink-lighten-5{color:#fce4ec!important}.text-pink-lighten-4{color:#f8bbd0!important}.text-pink-lighten-3{color:#f48fb1!important}.text-pink-lighten-2{color:#f06292!important}.text-pink-lighten-1{color:#ec407a!important}.text-pink-darken-1{color:#d81b60!important}.text-pink-darken-2{color:#c2185b!important}.text-pink-darken-3{color:#ad1457!important}.text-pink-darken-4{color:#880e4f!important}.text-pink-accent-1{color:#ff80ab!important}.text-pink-accent-2{color:#ff4081!important}.text-pink-accent-3{color:#f50057!important}.text-pink-accent-4{color:#c51162!important}.text-purple{color:#9c27b0!important}.text-purple-lighten-5{color:#f3e5f5!important}.text-purple-lighten-4{color:#e1bee7!important}.text-purple-lighten-3{color:#ce93d8!important}.text-purple-lighten-2{color:#ba68c8!important}.text-purple-lighten-1{color:#ab47bc!important}.text-purple-darken-1{color:#8e24aa!important}.text-purple-darken-2{color:#7b1fa2!important}.text-purple-darken-3{color:#6a1b9a!important}.text-purple-darken-4{color:#4a148c!important}.text-purple-accent-1{color:#ea80fc!important}.text-purple-accent-2{color:#e040fb!important}.text-purple-accent-3{color:#d500f9!important}.text-purple-accent-4{color:#a0f!important}.text-deep-purple{color:#673ab7!important}.text-deep-purple-lighten-5{color:#ede7f6!important}.text-deep-purple-lighten-4{color:#d1c4e9!important}.text-deep-purple-lighten-3{color:#b39ddb!important}.text-deep-purple-lighten-2{color:#9575cd!important}.text-deep-purple-lighten-1{color:#7e57c2!important}.text-deep-purple-darken-1{color:#5e35b1!important}.text-deep-purple-darken-2{color:#512da8!important}.text-deep-purple-darken-3{color:#4527a0!important}.text-deep-purple-darken-4{color:#311b92!important}.text-deep-purple-accent-1{color:#b388ff!important}.text-deep-purple-accent-2{color:#7c4dff!important}.text-deep-purple-accent-3{color:#651fff!important}.text-deep-purple-accent-4{color:#6200ea!important}.text-indigo{color:#3f51b5!important}.text-indigo-lighten-5{color:#e8eaf6!important}.text-indigo-lighten-4{color:#c5cae9!important}.text-indigo-lighten-3{color:#9fa8da!important}.text-indigo-lighten-2{color:#7986cb!important}.text-indigo-lighten-1{color:#5c6bc0!important}.text-indigo-darken-1{color:#3949ab!important}.text-indigo-darken-2{color:#303f9f!important}.text-indigo-darken-3{color:#283593!important}.text-indigo-darken-4{color:#1a237e!important}.text-indigo-accent-1{color:#8c9eff!important}.text-indigo-accent-2{color:#536dfe!important}.text-indigo-accent-3{color:#3d5afe!important}.text-indigo-accent-4{color:#304ffe!important}.text-blue{color:#2196f3!important}.text-blue-lighten-5{color:#e3f2fd!important}.text-blue-lighten-4{color:#bbdefb!important}.text-blue-lighten-3{color:#90caf9!important}.text-blue-lighten-2{color:#64b5f6!important}.text-blue-lighten-1{color:#42a5f5!important}.text-blue-darken-1{color:#1e88e5!important}.text-blue-darken-2{color:#1976d2!important}.text-blue-darken-3{color:#1565c0!important}.text-blue-darken-4{color:#0d47a1!important}.text-blue-accent-1{color:#82b1ff!important}.text-blue-accent-2{color:#448aff!important}.text-blue-accent-3{color:#2979ff!important}.text-blue-accent-4{color:#2962ff!important}.text-light-blue{color:#03a9f4!important}.text-light-blue-lighten-5{color:#e1f5fe!important}.text-light-blue-lighten-4{color:#b3e5fc!important}.text-light-blue-lighten-3{color:#81d4fa!important}.text-light-blue-lighten-2{color:#4fc3f7!important}.text-light-blue-lighten-1{color:#29b6f6!important}.text-light-blue-darken-1{color:#039be5!important}.text-light-blue-darken-2{color:#0288d1!important}.text-light-blue-darken-3{color:#0277bd!important}.text-light-blue-darken-4{color:#01579b!important}.text-light-blue-accent-1{color:#80d8ff!important}.text-light-blue-accent-2{color:#40c4ff!important}.text-light-blue-accent-3{color:#00b0ff!important}.text-light-blue-accent-4{color:#0091ea!important}.text-cyan{color:#00bcd4!important}.text-cyan-lighten-5{color:#e0f7fa!important}.text-cyan-lighten-4{color:#b2ebf2!important}.text-cyan-lighten-3{color:#80deea!important}.text-cyan-lighten-2{color:#4dd0e1!important}.text-cyan-lighten-1{color:#26c6da!important}.text-cyan-darken-1{color:#00acc1!important}.text-cyan-darken-2{color:#0097a7!important}.text-cyan-darken-3{color:#00838f!important}.text-cyan-darken-4{color:#006064!important}.text-cyan-accent-1{color:#84ffff!important}.text-cyan-accent-2{color:#18ffff!important}.text-cyan-accent-3{color:#00e5ff!important}.text-cyan-accent-4{color:#00b8d4!important}.text-teal{color:#009688!important}.text-teal-lighten-5{color:#e0f2f1!important}.text-teal-lighten-4{color:#b2dfdb!important}.text-teal-lighten-3{color:#80cbc4!important}.text-teal-lighten-2{color:#4db6ac!important}.text-teal-lighten-1{color:#26a69a!important}.text-teal-darken-1{color:#00897b!important}.text-teal-darken-2{color:#00796b!important}.text-teal-darken-3{color:#00695c!important}.text-teal-darken-4{color:#004d40!important}.text-teal-accent-1{color:#a7ffeb!important}.text-teal-accent-2{color:#64ffda!important}.text-teal-accent-3{color:#1de9b6!important}.text-teal-accent-4{color:#00bfa5!important}.text-green{color:#4caf50!important}.text-green-lighten-5{color:#e8f5e9!important}.text-green-lighten-4{color:#c8e6c9!important}.text-green-lighten-3{color:#a5d6a7!important}.text-green-lighten-2{color:#81c784!important}.text-green-lighten-1{color:#66bb6a!important}.text-green-darken-1{color:#43a047!important}.text-green-darken-2{color:#388e3c!important}.text-green-darken-3{color:#2e7d32!important}.text-green-darken-4{color:#1b5e20!important}.text-green-accent-1{color:#b9f6ca!important}.text-green-accent-2{color:#69f0ae!important}.text-green-accent-3{color:#00e676!important}.text-green-accent-4{color:#00c853!important}.text-light-green{color:#8bc34a!important}.text-light-green-lighten-5{color:#f1f8e9!important}.text-light-green-lighten-4{color:#dcedc8!important}.text-light-green-lighten-3{color:#c5e1a5!important}.text-light-green-lighten-2{color:#aed581!important}.text-light-green-lighten-1{color:#9ccc65!important}.text-light-green-darken-1{color:#7cb342!important}.text-light-green-darken-2{color:#689f38!important}.text-light-green-darken-3{color:#558b2f!important}.text-light-green-darken-4{color:#33691e!important}.text-light-green-accent-1{color:#ccff90!important}.text-light-green-accent-2{color:#b2ff59!important}.text-light-green-accent-3{color:#76ff03!important}.text-light-green-accent-4{color:#64dd17!important}.text-lime{color:#cddc39!important}.text-lime-lighten-5{color:#f9fbe7!important}.text-lime-lighten-4{color:#f0f4c3!important}.text-lime-lighten-3{color:#e6ee9c!important}.text-lime-lighten-2{color:#dce775!important}.text-lime-lighten-1{color:#d4e157!important}.text-lime-darken-1{color:#c0ca33!important}.text-lime-darken-2{color:#afb42b!important}.text-lime-darken-3{color:#9e9d24!important}.text-lime-darken-4{color:#827717!important}.text-lime-accent-1{color:#f4ff81!important}.text-lime-accent-2{color:#eeff41!important}.text-lime-accent-3{color:#c6ff00!important}.text-lime-accent-4{color:#aeea00!important}.text-yellow{color:#ffeb3b!important}.text-yellow-lighten-5{color:#fffde7!important}.text-yellow-lighten-4{color:#fff9c4!important}.text-yellow-lighten-3{color:#fff59d!important}.text-yellow-lighten-2{color:#fff176!important}.text-yellow-lighten-1{color:#ffee58!important}.text-yellow-darken-1{color:#fdd835!important}.text-yellow-darken-2{color:#fbc02d!important}.text-yellow-darken-3{color:#f9a825!important}.text-yellow-darken-4{color:#f57f17!important}.text-yellow-accent-1{color:#ffff8d!important}.text-yellow-accent-2{color:#ff0!important}.text-yellow-accent-3{color:#ffea00!important}.text-yellow-accent-4{color:#ffd600!important}.text-amber{color:#ffc107!important}.text-amber-lighten-5{color:#fff8e1!important}.text-amber-lighten-4{color:#ffecb3!important}.text-amber-lighten-3{color:#ffe082!important}.text-amber-lighten-2{color:#ffd54f!important}.text-amber-lighten-1{color:#ffca28!important}.text-amber-darken-1{color:#ffb300!important}.text-amber-darken-2{color:#ffa000!important}.text-amber-darken-3{color:#ff8f00!important}.text-amber-darken-4{color:#ff6f00!important}.text-amber-accent-1{color:#ffe57f!important}.text-amber-accent-2{color:#ffd740!important}.text-amber-accent-3{color:#ffc400!important}.text-amber-accent-4{color:#ffab00!important}.text-orange{color:#ff9800!important}.text-orange-lighten-5{color:#fff3e0!important}.text-orange-lighten-4{color:#ffe0b2!important}.text-orange-lighten-3{color:#ffcc80!important}.text-orange-lighten-2{color:#ffb74d!important}.text-orange-lighten-1{color:#ffa726!important}.text-orange-darken-1{color:#fb8c00!important}.text-orange-darken-2{color:#f57c00!important}.text-orange-darken-3{color:#ef6c00!important}.text-orange-darken-4{color:#e65100!important}.text-orange-accent-1{color:#ffd180!important}.text-orange-accent-2{color:#ffab40!important}.text-orange-accent-3{color:#ff9100!important}.text-orange-accent-4{color:#ff6d00!important}.text-deep-orange{color:#ff5722!important}.text-deep-orange-lighten-5{color:#fbe9e7!important}.text-deep-orange-lighten-4{color:#ffccbc!important}.text-deep-orange-lighten-3{color:#ffab91!important}.text-deep-orange-lighten-2{color:#ff8a65!important}.text-deep-orange-lighten-1{color:#ff7043!important}.text-deep-orange-darken-1{color:#f4511e!important}.text-deep-orange-darken-2{color:#e64a19!important}.text-deep-orange-darken-3{color:#d84315!important}.text-deep-orange-darken-4{color:#bf360c!important}.text-deep-orange-accent-1{color:#ff9e80!important}.text-deep-orange-accent-2{color:#ff6e40!important}.text-deep-orange-accent-3{color:#ff3d00!important}.text-deep-orange-accent-4{color:#dd2c00!important}.text-brown{color:#795548!important}.text-brown-lighten-5{color:#efebe9!important}.text-brown-lighten-4{color:#d7ccc8!important}.text-brown-lighten-3{color:#bcaaa4!important}.text-brown-lighten-2{color:#a1887f!important}.text-brown-lighten-1{color:#8d6e63!important}.text-brown-darken-1{color:#6d4c41!important}.text-brown-darken-2{color:#5d4037!important}.text-brown-darken-3{color:#4e342e!important}.text-brown-darken-4{color:#3e2723!important}.text-blue-grey{color:#607d8b!important}.text-blue-grey-lighten-5{color:#eceff1!important}.text-blue-grey-lighten-4{color:#cfd8dc!important}.text-blue-grey-lighten-3{color:#b0bec5!important}.text-blue-grey-lighten-2{color:#90a4ae!important}.text-blue-grey-lighten-1{color:#78909c!important}.text-blue-grey-darken-1{color:#546e7a!important}.text-blue-grey-darken-2{color:#455a64!important}.text-blue-grey-darken-3{color:#37474f!important}.text-blue-grey-darken-4{color:#263238!important}.text-grey{color:#9e9e9e!important}.text-grey-lighten-5{color:#fafafa!important}.text-grey-lighten-4{color:#f5f5f5!important}.text-grey-lighten-3{color:#eee!important}.text-grey-lighten-2{color:#e0e0e0!important}.text-grey-lighten-1{color:#bdbdbd!important}.text-grey-darken-1{color:#757575!important}.text-grey-darken-2{color:#616161!important}.text-grey-darken-3{color:#424242!important}.text-grey-darken-4{color:#212121!important}.text-shades-black{color:#000!important}.text-shades-white{color:#fff!important}.text-shades-transparent{color:transparent!important}/*! -======== -.tabulator{position:relative;border:1px solid #dee2e6;background-color:#fff;font-size:16px;text-align:left;overflow:hidden;-webkit-transform:translateZ(0);-moz-transform:translateZ(0);-ms-transform:translateZ(0);-o-transform:translateZ(0);transform:translateZ(0)}.tabulator[tabulator-layout=fitDataFill] .tabulator-tableholder .tabulator-table{min-width:100%}.tabulator[tabulator-layout=fitDataTable]{display:inline-block}.tabulator.tabulator-block-select{-webkit-user-select:none;user-select:none}.tabulator.tabulator-ranges .tabulator-cell:not(.tabulator-editing){-webkit-user-select:none;user-select:none}.tabulator .tabulator-header{position:relative;box-sizing:border-box;width:100%;border-bottom:1px solid #dee2e6;background-color:#fff;color:#555;font-weight:700;white-space:nowrap;overflow:hidden;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none;outline:none}.tabulator .tabulator-header.tabulator-header-hidden{display:none}.tabulator .tabulator-header .tabulator-header-contents{position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-header-contents .tabulator-headers{display:inline-block}.tabulator .tabulator-header .tabulator-col{display:inline-flex;position:relative;box-sizing:border-box;flex-direction:column;justify-content:flex-start;border-right:1px solid #aaa;background:#fff;text-align:left;vertical-align:bottom;overflow:hidden}.tabulator .tabulator-header .tabulator-col.tabulator-moving{position:absolute;border:1px solid #dee2e6;background:#e6e6e6;pointer-events:none}.tabulator .tabulator-header .tabulator-col.tabulator-range-highlight{background-color:#d6d6d6;color:#000}.tabulator .tabulator-header .tabulator-col.tabulator-range-selected{background-color:#3876ca;color:#fff}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{box-sizing:border-box;position:relative;padding:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button{padding:0 8px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button:hover{cursor:pointer;opacity:.6}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title-holder{position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title{box-sizing:border-box;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title.tabulator-col-title-wrap{white-space:normal;text-overflow:initial}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-title-editor{box-sizing:border-box;width:100%;border:1px solid #999;padding:1px;background:#fff}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-header-popup-button+.tabulator-title-editor{width:calc(100% - 22px)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{display:flex;align-items:center;position:absolute;top:0;bottom:0;right:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #bbb}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{position:relative;display:flex;border-top:1px solid #aaa;overflow:hidden;margin-right:-1px}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter{position:relative;box-sizing:border-box;margin-top:2px;width:100%;text-align:center}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter textarea{height:auto!important}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter svg{margin-top:3px}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input::-ms-clear{width:0;height:0}.tabulator .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:25px}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable.tabulator-col-sorter-element:hover{cursor:pointer;background-color:#e6e6e6}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter{color:#bbb}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-bottom:6px solid #555}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid #bbb}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter{color:#666}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-bottom:6px solid #555}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid #666}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter{color:#666}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-top:6px solid #555}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-bottom:none;border-top:6px solid #666;color:#666}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical .tabulator-col-content .tabulator-col-title{writing-mode:vertical-rl;text-orientation:mixed;display:flex;align-items:center;justify-content:center}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-col-vertical-flip .tabulator-col-title{transform:rotate(180deg)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-title{padding-right:0;padding-top:20px}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable.tabulator-col-vertical-flip .tabulator-col-title{padding-right:0;padding-bottom:20px}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-sorter{justify-content:center;left:0;right:0;top:4px;bottom:auto}.tabulator .tabulator-header .tabulator-frozen{position:sticky;left:0;z-index:11}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-left{border-right:2px solid #dee2e6}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-right{border-left:2px solid #dee2e6}.tabulator .tabulator-header .tabulator-calcs-holder{box-sizing:border-box;display:inline-block;background:white!important;border-top:1px solid #dee2e6;border-bottom:1px solid #aaa}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row{background:white!important}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-header .tabulator-frozen-rows-holder{display:inline-block}.tabulator .tabulator-header .tabulator-frozen-rows-holder:empty{display:none}.tabulator .tabulator-tableholder{position:relative;width:100%;white-space:nowrap;overflow:auto;-webkit-overflow-scrolling:touch}.tabulator .tabulator-tableholder:focus{outline:none}.tabulator .tabulator-tableholder .tabulator-placeholder{box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-width:100%;width:100%}.tabulator .tabulator-tableholder .tabulator-placeholder[tabulator-render-mode=virtual]{min-height:100%}.tabulator .tabulator-tableholder .tabulator-placeholder .tabulator-placeholder-contents{display:inline-block;text-align:center;padding:10px;color:#ccc;font-weight:700;font-size:20px;white-space:normal}.tabulator .tabulator-tableholder .tabulator-table{position:relative;display:inline-block;background-color:#fff;white-space:nowrap;overflow:visible;color:#333}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs{font-weight:700;background:#ececec!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-top{border-bottom:2px solid #dee2e6}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-bottom{border-top:2px solid #dee2e6}.tabulator .tabulator-tableholder .tabulator-range-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;pointer-events:none}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range{position:absolute;box-sizing:border-box;border:1px solid #2975DD}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range.tabulator-range-active:after{content:"";position:absolute;right:-3px;bottom:-3px;width:6px;height:6px;background-color:#2975dd;border-radius:999px}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range-cell-active{position:absolute;box-sizing:border-box;border:2px solid #2975DD}.tabulator .tabulator-footer{border-top:1px solid #dee2e6;background-color:#e6e6e6;color:#555;font-weight:700;white-space:nowrap;user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator .tabulator-footer .tabulator-footer-contents{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:5px 10px}.tabulator .tabulator-footer .tabulator-footer-contents:empty{display:none}.tabulator .tabulator-footer .tabulator-calcs-holder{box-sizing:border-box;width:100%;text-align:left;background:#f3f3f3!important;border-bottom:1px solid #dee2e6;border-top:1px solid #dee2e6;overflow:hidden}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row{display:inline-block;background:#f3f3f3!important}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-footer .tabulator-calcs-holder:only-child{margin-bottom:-5px;border-bottom:none}.tabulator .tabulator-footer>*+.tabulator-page-counter{margin-left:10px}.tabulator .tabulator-footer .tabulator-page-counter{font-weight:400}.tabulator .tabulator-footer .tabulator-paginator{flex:1;text-align:right;color:#555;font-family:inherit;font-weight:inherit;font-size:inherit}.tabulator .tabulator-footer .tabulator-page-size{display:inline-block;margin:0 5px;padding:2px 5px;border:1px solid #dee2e6;border-radius:3px}.tabulator .tabulator-footer .tabulator-pages{margin:0 7px}.tabulator .tabulator-footer .tabulator-page{display:inline-block;margin:0 2px;padding:2px 5px;border:1px solid #dee2e6;border-radius:3px;background:rgba(255,255,255,.2)}.tabulator .tabulator-footer .tabulator-page.active{color:#fff}.tabulator .tabulator-footer .tabulator-page:disabled{opacity:.5}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-footer .tabulator-page:not(disabled):hover{cursor:pointer;background:rgba(0,0,0,.2);color:#fff}}.tabulator .tabulator-col-resize-handle{position:relative;display:inline-block;width:6px;margin-left:-3px;margin-right:-3px;z-index:11;vertical-align:middle}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-col-resize-handle:hover{cursor:ew-resize}}.tabulator .tabulator-col-resize-handle:last-of-type{width:3px;margin-right:0}.tabulator .tabulator-alert{position:absolute;display:flex;align-items:center;top:0;left:0;z-index:100;height:100%;width:100%;background:rgba(0,0,0,.4);text-align:center}.tabulator .tabulator-alert .tabulator-alert-msg{display:inline-block;margin:0 auto;padding:10px 20px;border-radius:10px;background:#fff;font-weight:700;font-size:16px}.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-msg{border:4px solid #333;color:#000}.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-error{border:4px solid #D00;color:#590000}.tabulator-row{position:relative;box-sizing:border-box;min-height:24px;background-color:#fff}.tabulator-row.tabulator-row-even{background-color:#f9f9f9}@media (hover: hover) and (pointer: fine){.tabulator-row.tabulator-selectable:hover{background-color:#f5f5f5;cursor:pointer}}.tabulator-row.tabulator-selected{background-color:#9abcea}@media (hover: hover) and (pointer: fine){.tabulator-row.tabulator-selected:hover{background-color:#769bcc;cursor:pointer}}.tabulator-row.tabulator-row-moving{border:1px solid #000;background:#fff}.tabulator-row.tabulator-moving{position:absolute;border-top:1px solid #dee2e6;border-bottom:1px solid #dee2e6;pointer-events:none;z-index:15}.tabulator-row.tabulator-range-highlight .tabulator-cell.tabulator-range-row-header{background-color:#d6d6d6;color:#000}.tabulator-row.tabulator-range-highlight.tabulator-range-selected .tabulator-cell.tabulator-range-row-header,.tabulator-row.tabulator-range-selected .tabulator-cell.tabulator-range-row-header{background-color:#3876ca;color:#fff}.tabulator-row .tabulator-row-resize-handle{position:absolute;right:0;bottom:0;left:0;height:5px}.tabulator-row .tabulator-row-resize-handle.prev{top:0;bottom:auto}@media (hover: hover) and (pointer: fine){.tabulator-row .tabulator-row-resize-handle:hover{cursor:ns-resize}}.tabulator-row .tabulator-responsive-collapse{box-sizing:border-box;padding:5px;border-top:1px solid #dee2e6;border-bottom:1px solid #dee2e6}.tabulator-row .tabulator-responsive-collapse:empty{display:none}.tabulator-row .tabulator-responsive-collapse table{font-size:16px}.tabulator-row .tabulator-responsive-collapse table tr td{position:relative}.tabulator-row .tabulator-responsive-collapse table tr td:first-of-type{padding-right:10px}.tabulator-row .tabulator-cell{display:inline-block;position:relative;box-sizing:border-box;padding:4px;border-right:1px solid #dee2e6;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;outline:none}.tabulator-row .tabulator-cell.tabulator-frozen{display:inline-block;position:sticky;left:0;background-color:inherit;z-index:11}.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-right:2px solid #dee2e6}.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-left:2px solid #dee2e6}.tabulator-row .tabulator-cell.tabulator-editing{border:1px solid #1D68CD;outline:none;padding:0}.tabulator-row .tabulator-cell.tabulator-editing input,.tabulator-row .tabulator-cell.tabulator-editing select{border:1px;background:transparent;outline:none}.tabulator-row .tabulator-cell.tabulator-validation-fail{border:1px solid #dd0000}.tabulator-row .tabulator-cell.tabulator-validation-fail input,.tabulator-row .tabulator-cell.tabulator-validation-fail select{border:1px;background:transparent;color:#d00}.tabulator-row .tabulator-cell.tabulator-row-handle{display:inline-flex;align-items:center;justify-content:center;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box{width:80%}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box .tabulator-row-handle-bar{width:100%;height:3px;margin-top:2px;background:#666}.tabulator-row .tabulator-cell.tabulator-range-selected:not(.tabulator-range-only-cell-selected):not(.tabulator-range-row-header){background-color:#9abcea}.tabulator-row .tabulator-cell .tabulator-data-tree-branch-empty{display:inline-block;width:7px}.tabulator-row .tabulator-cell .tabulator-data-tree-branch{display:inline-block;vertical-align:middle;height:9px;width:7px;margin-top:-9px;margin-right:5px;border-bottom-left-radius:1px;border-left:2px solid #dee2e6;border-bottom:2px solid #dee2e6}.tabulator-row .tabulator-cell .tabulator-data-tree-control{display:inline-flex;justify-content:center;align-items:center;vertical-align:middle;height:11px;width:11px;margin-right:5px;border:1px solid #333;border-radius:2px;background:rgba(0,0,0,.1);overflow:hidden}@media (hover: hover) and (pointer: fine){.tabulator-row .tabulator-cell .tabulator-data-tree-control:hover{cursor:pointer;background:rgba(0,0,0,.2)}}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse{display:inline-block;position:relative;height:7px;width:1px;background:transparent}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand{display:inline-block;position:relative;height:7px;width:1px;background:#333}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle{display:inline-flex;align-items:center;justify-content:center;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none;height:15px;width:15px;border-radius:20px;background:#666;color:#fff;font-weight:700;font-size:1.1em}@media (hover: hover) and (pointer: fine){.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle:hover{opacity:.7;cursor:pointer}}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-close{display:initial}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-open{display:none}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle svg{stroke:#fff}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle .tabulator-responsive-collapse-toggle-close{display:none}.tabulator-row .tabulator-cell .tabulator-traffic-light{display:inline-block;height:14px;width:14px;border-radius:14px}.tabulator-row.tabulator-group{box-sizing:border-box;border-bottom:1px solid #999;border-right:1px solid #dee2e6;border-top:1px solid #999;padding:5px 5px 5px 10px;background:#ccc;font-weight:700;min-width:100%}@media (hover: hover) and (pointer: fine){.tabulator-row.tabulator-group:hover{cursor:pointer;background-color:#0000001a}}.tabulator-row.tabulator-group.tabulator-group-visible .tabulator-arrow{margin-right:10px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #666;border-bottom:0}.tabulator-row.tabulator-group.tabulator-group-level-1{padding-left:30px}.tabulator-row.tabulator-group.tabulator-group-level-2{padding-left:50px}.tabulator-row.tabulator-group.tabulator-group-level-3{padding-left:70px}.tabulator-row.tabulator-group.tabulator-group-level-4{padding-left:90px}.tabulator-row.tabulator-group.tabulator-group-level-5{padding-left:110px}.tabulator-row.tabulator-group .tabulator-group-toggle{display:inline-block}.tabulator-row.tabulator-group .tabulator-arrow{display:inline-block;width:0;height:0;margin-right:16px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:0;border-left:6px solid #666;vertical-align:middle}.tabulator-row.tabulator-group span{margin-left:10px;color:#d00}.tabulator-popup-container{position:absolute;display:inline-block;box-sizing:border-box;background:#fff;border:1px solid #dee2e6;box-shadow:0 0 5px #0003;font-size:16px;overflow-y:auto;-webkit-overflow-scrolling:touch;z-index:10000}.tabulator-popup{padding:5px;border-radius:3px}.tabulator-tooltip{max-width:min(500px,100%);padding:3px 5px;border-radius:2px;box-shadow:none;font-size:12px;pointer-events:none}.tabulator-menu .tabulator-menu-item{position:relative;box-sizing:border-box;padding:5px 10px;-webkit-user-select:none;user-select:none}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-disabled{opacity:.5}@media (hover: hover) and (pointer: fine){.tabulator-menu .tabulator-menu-item:not(.tabulator-menu-item-disabled):hover{cursor:pointer;background:#f9f9f9}}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu{padding-right:25px}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu:after{display:inline-block;position:absolute;top:calc(5px + .4em);right:10px;height:7px;width:7px;content:"";border-width:1px 1px 0 0;border-style:solid;border-color:#dee2e6;vertical-align:top;transform:rotate(45deg)}.tabulator-menu .tabulator-menu-separator{border-top:1px solid #dee2e6}.tabulator-edit-list{max-height:200px;font-size:16px;overflow-y:auto;-webkit-overflow-scrolling:touch}.tabulator-edit-list .tabulator-edit-list-item{padding:4px;color:#333;outline:none}.tabulator-edit-list .tabulator-edit-list-item.active{color:#fff;background:#1D68CD}.tabulator-edit-list .tabulator-edit-list-item.active.focused{outline:1px solid rgba(255,255,255,.5)}.tabulator-edit-list .tabulator-edit-list-item.focused{outline:1px solid #1D68CD}@media (hover: hover) and (pointer: fine){.tabulator-edit-list .tabulator-edit-list-item:hover{cursor:pointer;color:#fff;background:#1D68CD}}.tabulator-edit-list .tabulator-edit-list-placeholder{padding:4px;color:#333;text-align:center}.tabulator-edit-list .tabulator-edit-list-group{border-bottom:1px solid #dee2e6;padding:6px 4px 4px;color:#333;font-weight:700}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-2,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-2{padding-left:12px}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-3,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-3{padding-left:20px}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-4,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-4{padding-left:28px}.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-5,.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-5{padding-left:36px}.tabulator.tabulator-ltr{direction:ltr}.tabulator.tabulator-rtl{text-align:initial;direction:rtl}.tabulator.tabulator-rtl .tabulator-header .tabulator-col{text-align:initial;border-left:1px solid #aaa;border-right:initial}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{margin-right:initial;margin-left:-1px}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:0;padding-left:25px}.tabulator.tabulator-rtl .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{left:8px;right:initial}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell{border-right:initial;border-left:1px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-branch{margin-right:initial;margin-left:5px;border-bottom-left-radius:initial;border-bottom-right-radius:1px;border-left:initial;border-right:2px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-control{margin-right:initial;margin-left:5px}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-left:2px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-right:2px solid #dee2e6}.tabulator.tabulator-rtl .tabulator-row .tabulator-col-resize-handle:last-of-type{width:3px;margin-left:0;margin-right:-3px}.tabulator.tabulator-rtl .tabulator-footer .tabulator-calcs-holder{text-align:initial}.tabulator-print-fullscreen{position:absolute;top:0;bottom:0;left:0;right:0;z-index:10000}body.tabulator-print-fullscreen-hide>*:not(.tabulator-print-fullscreen){display:none!important}.tabulator-print-table{border-collapse:collapse}.tabulator-print-table .tabulator-data-tree-branch{display:inline-block;vertical-align:middle;height:9px;width:7px;margin-top:-9px;margin-right:5px;border-bottom-left-radius:1px;border-left:2px solid #dee2e6;border-bottom:2px solid #dee2e6}.tabulator-print-table .tabulator-print-table-group{box-sizing:border-box;border-bottom:1px solid #999;border-right:1px solid #dee2e6;border-top:1px solid #999;padding:5px 5px 5px 10px;background:#ccc;font-weight:700;min-width:100%}@media (hover: hover) and (pointer: fine){.tabulator-print-table .tabulator-print-table-group:hover{cursor:pointer;background-color:#0000001a}}.tabulator-print-table .tabulator-print-table-group.tabulator-group-visible .tabulator-arrow{margin-right:10px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #666;border-bottom:0}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-1 td{padding-left:30px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-2 td{padding-left:50px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-3 td{padding-left:70px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-4 td{padding-left:90px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-5 td{padding-left:110px!important}.tabulator-print-table .tabulator-print-table-group .tabulator-group-toggle{display:inline-block}.tabulator-print-table .tabulator-print-table-group .tabulator-arrow{display:inline-block;width:0;height:0;margin-right:16px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:0;border-left:6px solid #666;vertical-align:middle}.tabulator-print-table .tabulator-print-table-group span{margin-left:10px;color:#d00}.tabulator-print-table .tabulator-data-tree-control{display:inline-flex;justify-content:center;align-items:center;vertical-align:middle;height:11px;width:11px;margin-right:5px;border:1px solid #333;border-radius:2px;background:rgba(0,0,0,.1);overflow:hidden}@media (hover: hover) and (pointer: fine){.tabulator-print-table .tabulator-data-tree-control:hover{cursor:pointer;background:rgba(0,0,0,.2)}}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse{display:inline-block;position:relative;height:7px;width:1px;background:transparent}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand{display:inline-block;position:relative;height:7px;width:1px;background:#333}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator{background-color:#fff;border:none}.tabulator .tabulator-header{border-top:1px solid #dee2e6;border-bottom:2px solid #dee2e6;color:inherit}.tabulator .tabulator-header .tabulator-col{border-right:none;background-color:#fff}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{padding:12px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{right:0}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{border-top:1px solid #dee2e6}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input{padding:.375rem .75rem;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;font-size:1rem;line-height:1.5;color:#495057}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input:focus{color:#495057;background-color:#fff;border:1px solid #1D68CD;outline:0}.tabulator .tabulator-header .tabulator-calcs-holder{width:100%;border-bottom:1px solid #dee2e6}.tabulator .tabulator-tableholder .tabulator-placeholder span{color:#000}.tabulator .tabulator-tableholder .tabulator-table,.tabulator .tabulator-footer,.tabulator .tabulator-footer .tabulator-paginator{color:inherit}.tabulator .tabulator-footer .tabulator-pages{margin:0}.tabulator .tabulator-footer .tabulator-page{margin:5px 0 0;padding:8px 12px}.tabulator .tabulator-footer .tabulator-page[data-page=first]{border-top-left-radius:4px;border-bottom-left-radius:4px}.tabulator .tabulator-footer .tabulator-page[data-page=last]{border:1px solid #dee2e6;border-top-right-radius:4px;border-bottom-right-radius:4px}.tabulator .tabulator-footer .tabulator-page.active{border-color:#007bff;background-color:#007bff;color:#fff}.tabulator .tabulator-footer .tabulator-page:disabled{border-color:#dee2e6;background:#fff;color:#6c757d}@media (hover: hover) and (pointer: fine){.tabulator .tabulator-footer .tabulator-page:not(.disabled):hover{border-color:#dee2e6;background:#e9ecef;color:#0056b3}}.tabulator.thead-dark .tabulator-header,.tabulator.thead-dark .tabulator-header .tabulator-col{border-color:#32383e;background-color:#212529;color:#fff}.tabulator.table-dark{background-color:#212529}.tabulator.table-dark:not(.thead-light) .tabulator-header{border-color:#32383e;background-color:#212529;color:#fff}.tabulator.table-dark:not(.thead-light) .tabulator-header .tabulator-col{border-color:#32383e;background-color:#212529;color:#fff}.tabulator.table-dark .tabulator-tableholder{color:#fff}.tabulator.table-dark .tabulator-row{border-color:#32383e;background-color:#212529;color:#fff}@media (hover: hover) and (pointer: fine){.tabulator.table-dark .tabulator-row:hover{background-color:#32383e}.tabulator.table-dark .tabulator-row:hover .tabulator-cell{background-color:#ffffff13}}.tabulator.table-dark .tabulator-row.tabulator-selected{background-color:#9abcea}.tabulator.table-dark .tabulator-footer{border-color:#32383e!important}.tabulator.table-dark .tabulator-footer .tabulator-calcs-holder{border-color:#32383e!important;background:#212529!important}.tabulator.table-dark .tabulator-footer .tabulator-calcs-holder .tabulator-row{border-color:#32383e!important;background-color:#212529!important;color:#fff!important}.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even{background-color:#f9f9f9}.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even.tabulator-selected{background-color:#9abcea}@media (hover: hover) and (pointer: fine){.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even.tabulator-selectable:hover{background-color:#f5f5f5;cursor:pointer}.tabulator.table-striped:not(.table-dark) .tabulator-row.tabulator-row-even.tabulator-selected:hover{background-color:#769bcc;cursor:pointer}}.tabulator.table-striped.table-dark .tabulator-row:nth-child(2n) .tabulator-cell{background-color:#ffffff0d}.tabulator.table-bordered{border:1px solid #dee2e6}.tabulator.table-bordered .tabulator-header .tabulator-col,.tabulator.table-bordered .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell{border-right:1px solid #dee2e6}.tabulator.table-borderless .tabulator-header,.tabulator.table-borderless .tabulator-row{border:none}.tabulator.table-sm .tabulator-header .tabulator-col .tabulator-col-content{padding:5px!important}.tabulator.table-sm .tabulator-tableholder .tabulator-table .tabulator-row{min-height:26px}.tabulator.table-sm .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell{padding:5px!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-primary{background:#b8daff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-secondary{background:#d6d8db!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-success{background:#c3e6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-info{background:#bee5eb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-warning{background:#ffeeba!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-danger{background:#f5c6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-light{background:#fdfdfe!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-dark{background:#c6c8ca!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.table-active{background:#f5f5f5!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-primary{background:#007bff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-secondary{background:#6c757d!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-success{background:#28a745!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-info{background:#17a2b8!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-warning{background:#ffc107!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-danger{background:#dc3545!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-light{background:#f8f9fa!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-dark{background:#343a40!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.bg-active{background:#f5f5f5!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-primary{background:#b8daff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-secondary{background:#d6d8db!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-success{background:#c3e6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-info{background:#bee5eb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-warning{background:#ffeeba!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-danger{background:#f5c6cb!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-light{background:#fdfdfe!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-dark{background:#c6c8ca!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.table-active{background:#f5f5f5!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-primary{background:#007bff!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-secondary{background:#6c757d!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-success{background:#28a745!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-info{background:#17a2b8!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-warning{background:#ffc107!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-danger{background:#dc3545!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-light{background:#f8f9fa!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-dark{background:#343a40!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell.bg-active{background:#f5f5f5!important}.tabulator-row{min-height:40px;border-bottom:1px solid #dee2e6}.tabulator-row .tabulator-cell{padding:12px;border-right:none}.tabulator-row .tabulator-cell:last-of-type{border-right:none}.tabulator-row .tabulator-cell .tabulator-data-tree-control{border:1px solid #ccc}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{background:#ccc}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand{background:#ccc}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{background:#ccc}.tabulator-row.tabulator-group{background:#fafafa}.tabulator-row.tabulator-group span{color:#666}.tabulator-edit-select-list{background:#fff}.tabulator-edit-select-list .tabulator-edit-select-list-item.active{color:#fff}.tabulator-edit-select-list .tabulator-edit-select-list-item.active.focused{outline:1px solid rgba(255,255,255,.5)}@media (hover: hover) and (pointer: fine){.tabulator-edit-select-list .tabulator-edit-select-list-item:hover{color:#fff}}.tabulator-edit-select-list .tabulator-edit-select-list-notice,.tabulator-edit-select-list .tabulator-edit-select-list-group{color:inherit}.tabulator.tabulator-rtl .tabulator-header .tabulator-col{text-align:initial;border-left:initial}.tabulator-print-table .tabulator-print-table-group{background:#fafafa}.tabulator-print-table .tabulator-print-table-group span{color:#666}.tabulator-print-table .tabulator-data-tree-control{color:inherit}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{background:#ccc}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand{background:#ccc}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{background:#ccc}.tabulator-col-title,.tabulator-cell{font-size:14px}.plot-container[data-v-0b5cc4d2]{position:relative;width:100%;color:var(--text-color);background-color:var(--background-color)}.simple-button[data-v-0b5cc4d2]{position:absolute;top:17%;left:6.5%;z-index:1000;background-color:var(--annotation-background);border:none;border-radius:50%;width:30px;height:30px;text-align:center;line-height:230%;cursor:pointer}.simple-button[data-v-0b5cc4d2]:hover{background-color:var(--button-hover-color)}.foreground[data-v-fb6c82e8]{position:relative;z-index:1000}.sequence-amino-acid-highlighted[data-v-fb6c82e8],.sequence-amino-acid.highlighted[data-v-fb6c82e8]{background-color:#f3a712;color:#000;outline:3px solid #29335C;font-weight:700}.sequence-amino-acid-truncated[data-v-fb6c82e8],.sequence-amino-acid.truncated .aa-text[data-v-fb6c82e8]{color:#8080804d;outline:rgba(128,128,128,.3);text-decoration:line-through!important}.sequence-amino-acid[data-v-fb6c82e8]{background-color:var(--amino-acid-cell-bg-color);color:var(--amino-acid-cell-color)}.sequence-amino-acid[data-v-fb6c82e8]:hover{background-color:var(--amino-acid-cell-hover-bg-color);color:var(--amino-acid-cell-hover-color)}.sequence-amino-acid-highlighted[data-v-fb6c82e8]{background-color:var(--amino-acid-cell-bg-color);color:#f3a712}.sequence-amino-acid-highlighted[data-v-fb6c82e8]:hover{background-color:var(--amino-acid-cell-hover-bg-color)}.sequence-amino-acid-modified[data-v-fb6c82e8]{background-color:#a79c91}.sequence-amino-acid-modified[data-v-fb6c82e8]:hover{background-color:#c5baaf}.frag-marker-container[data-v-fb6c82e8],.frag-marker-container-a[data-v-fb6c82e8],.frag-marker-container-b[data-v-fb6c82e8],.frag-marker-container-c[data-v-fb6c82e8],.frag-marker-container-x[data-v-fb6c82e8],.frag-marker-container-y[data-v-fb6c82e8],.frag-marker-container-z[data-v-fb6c82e8],.frag-marker-extra-type[data-v-fb6c82e8]{width:100%;height:100%;position:absolute;z-index:1000}.frag-marker-container-a[data-v-fb6c82e8]{top:-28%;left:15%}.frag-marker-container-b[data-v-fb6c82e8]{top:-8%;left:13%}.frag-marker-container-c[data-v-fb6c82e8]{top:-28%;left:15%}.frag-marker-container-x[data-v-fb6c82e8]{bottom:-32%;left:-10%}.frag-marker-container-y[data-v-fb6c82e8]{bottom:-8%;left:-10%}.frag-marker-container-z[data-v-fb6c82e8]{bottom:-32%;left:-10%}.frag-marker-extra-type[data-v-fb6c82e8]{top:-30%}.aa-text[data-v-fb6c82e8]{position:absolute}.tag-marker[data-v-fb6c82e8]{position:absolute;top:-7.5%;left:-7.5%;width:115%;height:115%;display:flex;align-items:center;justify-content:right;border-top:.3em solid black;border-right:.3em solid black;border-bottom:.3em solid black;border-left:.3em solid black;z-index:1100}.tag-start[data-v-fb6c82e8]{clip-path:inset(0 50% 0 0)}.tag-end[data-v-fb6c82e8]{clip-path:inset(0 0 0 50%)}.mod-marker[data-v-fb6c82e8]{position:absolute;width:100%;height:100%;display:flex;align-items:center;justify-content:right;background-image:radial-gradient(#676a9c .5px,transparent .5px),radial-gradient(#444cf7 .5px,#e5e5f7 .5px);background-size:15px 15px;background-position:0 0,10px 10px;background-repeat:repeat}.mod-mass[data-v-fb6c82e8]{background-color:#fff;display:inline-block;position:absolute;top:-15%;right:-25%;display:flex;align-items:center;justify-content:right;border-top:.1em solid #a79c91;border-right:.1em solid #a79c91;border-bottom:.1em solid #a79c91;border-left:.1em solid #a79c91;font-size:.7em;padding:0 .2em;z-index:1100}.mod-mass-a[data-v-fb6c82e8]{display:inline-block;position:absolute;top:-15%;right:-25%;display:flex;align-items:center;border-top:.2em solid green;border-right:.2em solid green;border-bottom:.2em solid green;border-radius:.5rem;padding:0 .2em;z-index:1200;font-size:.7em;color:#0000}.mod-mass-b[data-v-fb6c82e8]{display:inline-block;position:absolute;top:-15%;right:-25%;display:flex;align-items:center;border-top:.2em solid blue;border-right:.2em solid blue;border-bottom:.2em solid blue;border-radius:.5rem;z-index:1200;padding:0 .2em;font-size:.7em;color:#0000}.mod-mass-c[data-v-fb6c82e8]{display:inline-block;position:absolute;top:-15%;right:-25%;display:flex;align-items:center;border-top:.2em solid red;border-right:.2em solid red;border-bottom:.2em solid red;border-radius:.5rem;z-index:1200;font-size:.7em;padding:0 .2em;color:#0000}.mod-start[data-v-fb6c82e8]{clip-path:inset(0 50% 0 0)}.mod-end[data-v-fb6c82e8],.mod-start-cont[data-v-fb6c82e8]{clip-path:inset(0 0 0 50%)}.mod-end-cont[data-v-fb6c82e8]{clip-path:inset(0 50% 0 0)}.mod-center-cont[data-v-fb6c82e8]{width:125%}.undetermined[data-v-beee67fe]{position:relative;top:-20%;font-size:.7em;font-weight:1000;color:red;z-index:1100}.protein-terminal[data-v-beee67fe]:hover{background-color:var(--protein-terminal-cell-hover-bg-color);color:var(--protein-terminal-cell-hover-color)}.terminal-text[data-v-beee67fe]{font-weight:1000}.terminal-text.truncated[data-v-beee67fe]{color:#80808066;outline:rgba(128,128,128,.4)}.protein-terminal-modified[data-v-beee67fe]{background-color:#9c1e1e;color:var(--amino-acid-cell-color)}.protein-terminal-modified[data-v-beee67fe]:hover{background-color:#ff1e1e}.sequence-grid[data-v-9a6912d6]{display:grid;grid-template-rows:auto;gap:4px 4px}.sequence-grid>div[data-v-9a6912d6]{aspect-ratio:1}.sequence-amino-acid-modified[data-v-9a6912d6]{background-color:#9c1e1e!important}.sequence-amino-acid-modified[data-v-9a6912d6]:hover{background-color:#ff1e1e}.sequence-amino-acid-highlighted[data-v-9a6912d6]{background-color:var(--amino-acid-cell-bg-color);color:#f0a441}.sequence-amino-acid-highlighted[data-v-9a6912d6]:hover{background-color:var(--amino-acid-cell-hover-bg-color)}.sequence-grid[data-v-14f01162]{display:grid;grid-template-rows:auto;gap:4px 4px}.sequence-grid>div[data-v-14f01162]{aspect-ratio:1}.protein-terminal[data-v-14f01162]:hover{background-color:var(--amino-acid-cell-hover-bg-color);color:var(--amino-acid-cell-hover-color)}.grid-width-20[data-v-14f01162]{grid-template-columns:repeat(22,1fr)}.grid-width-25[data-v-14f01162]{grid-template-columns:repeat(27,1fr)}.grid-width-30[data-v-14f01162]{grid-template-columns:repeat(32,1fr)}.grid-width-35[data-v-14f01162]{grid-template-columns:repeat(37,1fr)}.grid-width-40[data-v-14f01162]{grid-template-columns:repeat(42,1fr)}.sequence-and-scale[data-v-14f01162]{display:flex;align-items:center}.scale-container[data-v-14f01162]{display:flex;flex-direction:column;align-items:center}#sequence-part[data-v-14f01162]{flex-grow:1}.scale[data-v-14f01162]{width:60px;height:100px;background:linear-gradient(to top,rgba(228,87,46,.1),rgba(228,87,46,.2) 10%,rgba(228,87,46,.4) 20%,rgba(228,87,46,.6) 40%,rgba(228,87,46,.8) 70%,#e4572e 100%)}.scale-text[data-v-14f01162]{text-align:center;font-size:14pt;font-weight:700}.sequence-text[data-v-ece55ad7]{font-size:8px}.fragment-segment[data-v-ece55ad7],.by-fragment[data-v-ece55ad7],.cy-fragment[data-v-ece55ad7],.bz-fragment[data-v-ece55ad7],.not-in-fragment[data-v-ece55ad7],.by-fragment-overlayed[data-v-ece55ad7],.by-fragment-legend[data-v-ece55ad7],.cy-fragment-overlayed[data-v-ece55ad7],.cy-fragment-legend[data-v-ece55ad7],.bz-fragment-overlayed[data-v-ece55ad7],.bz-fragment-legend[data-v-ece55ad7]{aspect-ratio:1}.by-fragment[data-v-ece55ad7],.by-fragment-overlayed[data-v-ece55ad7],.by-fragment-legend[data-v-ece55ad7]{background:#f0a441}.by-fragment-overlayed[data-v-ece55ad7]{opacity:var(--frag-block-opacity-value)}.by-fragment-legend[data-v-ece55ad7]{height:10px}.cy-fragment[data-v-ece55ad7],.cy-fragment-overlayed[data-v-ece55ad7],.cy-fragment-legend[data-v-ece55ad7]{background:#12871d}.cy-fragment-overlayed[data-v-ece55ad7]{opacity:var(--frag-block-opacity-value)}.cy-fragment-legend[data-v-ece55ad7]{height:10px}.bz-fragment[data-v-ece55ad7],.bz-fragment-overlayed[data-v-ece55ad7],.bz-fragment-legend[data-v-ece55ad7]{background:#7831cc}.bz-fragment-overlayed[data-v-ece55ad7]{opacity:var(--frag-block-opacity-value)}.bz-fragment-legend[data-v-ece55ad7]{height:10px}.not-in-fragment[data-v-ece55ad7]{background:transparent;aspect-ratio:1}.v-input.textFieldFontSize[data-v-ece55ad7]{width:100px}.component-row[data-v-942c08f7]{display:flex;flex-direction:row;align-items:center}.height-1[data-v-942c08f7]{min-height:200px;height:fit-content;max-height:400px}.height-2[data-v-942c08f7]{min-height:200px;height:fit-content;max-height:800px}.height-any[data-v-942c08f7]{min-height:200px;height:fit-content}.component-width-1[data-v-942c08f7]{flex-basis:100%;flex-grow:0}.component-width-2[data-v-942c08f7]{max-width:50%;flex-basis:50%;flex-grow:0}.component-width-3[data-v-942c08f7]{max-width:33%;flex-basis:33%;flex-grow:0}.component-layout[data-v-721e06dc]{display:flex;flex-direction:column}body{margin:0;font-family:Source Sans Pro,sans-serif}.tabulator-tooltip{background:#fff;color:#000}@font-face{font-family:Material Design Icons;src:url(./materialdesignicons-webfont-67d24abe.eot?v=7.2.96);src:url(./materialdesignicons-webfont-67d24abe.eot?#iefix&v=7.2.96) format("embedded-opentype"),url(./materialdesignicons-webfont-c1c004a9.woff2?v=7.2.96) format("woff2"),url(./materialdesignicons-webfont-80bb28b3.woff?v=7.2.96) format("woff"),url(./materialdesignicons-webfont-a58ecb54.ttf?v=7.2.96) format("truetype");font-weight:400;font-style:normal}.mdi:before,.mdi-set{display:inline-block;font: 24px/1 Material Design Icons;font-size:inherit;text-rendering:auto;line-height:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.mdi-ab-testing:before{content:"󰇉"}.mdi-abacus:before{content:"󱛠"}.mdi-abjad-arabic:before{content:"󱌨"}.mdi-abjad-hebrew:before{content:"󱌩"}.mdi-abugida-devanagari:before{content:"󱌪"}.mdi-abugida-thai:before{content:"󱌫"}.mdi-access-point:before{content:"󰀃"}.mdi-access-point-check:before{content:"󱔸"}.mdi-access-point-minus:before{content:"󱔹"}.mdi-access-point-network:before{content:"󰀂"}.mdi-access-point-network-off:before{content:"󰯡"}.mdi-access-point-off:before{content:"󱔑"}.mdi-access-point-plus:before{content:"󱔺"}.mdi-access-point-remove:before{content:"󱔻"}.mdi-account:before{content:"󰀄"}.mdi-account-alert:before{content:"󰀅"}.mdi-account-alert-outline:before{content:"󰭐"}.mdi-account-arrow-down:before{content:"󱡨"}.mdi-account-arrow-down-outline:before{content:"󱡩"}.mdi-account-arrow-left:before{content:"󰭑"}.mdi-account-arrow-left-outline:before{content:"󰭒"}.mdi-account-arrow-right:before{content:"󰭓"}.mdi-account-arrow-right-outline:before{content:"󰭔"}.mdi-account-arrow-up:before{content:"󱡧"}.mdi-account-arrow-up-outline:before{content:"󱡪"}.mdi-account-badge:before{content:"󱬊"}.mdi-account-badge-outline:before{content:"󱬋"}.mdi-account-box:before{content:"󰀆"}.mdi-account-box-multiple:before{content:"󰤴"}.mdi-account-box-multiple-outline:before{content:"󱀊"}.mdi-account-box-outline:before{content:"󰀇"}.mdi-account-cancel:before{content:"󱋟"}.mdi-account-cancel-outline:before{content:"󱋠"}.mdi-account-card:before{content:"󱮤"}.mdi-account-card-outline:before{content:"󱮥"}.mdi-account-cash:before{content:"󱂗"}.mdi-account-cash-outline:before{content:"󱂘"}.mdi-account-check:before{content:"󰀈"}.mdi-account-check-outline:before{content:"󰯢"}.mdi-account-child:before{content:"󰪉"}.mdi-account-child-circle:before{content:"󰪊"}.mdi-account-child-outline:before{content:"󱃈"}.mdi-account-circle:before{content:"󰀉"}.mdi-account-circle-outline:before{content:"󰭕"}.mdi-account-clock:before{content:"󰭖"}.mdi-account-clock-outline:before{content:"󰭗"}.mdi-account-cog:before{content:"󱍰"}.mdi-account-cog-outline:before{content:"󱍱"}.mdi-account-convert:before{content:"󰀊"}.mdi-account-convert-outline:before{content:"󱌁"}.mdi-account-cowboy-hat:before{content:"󰺛"}.mdi-account-cowboy-hat-outline:before{content:"󱟳"}.mdi-account-credit-card:before{content:"󱮦"}.mdi-account-credit-card-outline:before{content:"󱮧"}.mdi-account-details:before{content:"󰘱"}.mdi-account-details-outline:before{content:"󱍲"}.mdi-account-edit:before{content:"󰚼"}.mdi-account-edit-outline:before{content:"󰿻"}.mdi-account-eye:before{content:"󰐠"}.mdi-account-eye-outline:before{content:"󱉻"}.mdi-account-filter:before{content:"󰤶"}.mdi-account-filter-outline:before{content:"󰾝"}.mdi-account-group:before{content:"󰡉"}.mdi-account-group-outline:before{content:"󰭘"}.mdi-account-hard-hat:before{content:"󰖵"}.mdi-account-hard-hat-outline:before{content:"󱨟"}.mdi-account-heart:before{content:"󰢙"}.mdi-account-heart-outline:before{content:"󰯣"}.mdi-account-injury:before{content:"󱠕"}.mdi-account-injury-outline:before{content:"󱠖"}.mdi-account-key:before{content:"󰀋"}.mdi-account-key-outline:before{content:"󰯤"}.mdi-account-lock:before{content:"󱅞"}.mdi-account-lock-open:before{content:"󱥠"}.mdi-account-lock-open-outline:before{content:"󱥡"}.mdi-account-lock-outline:before{content:"󱅟"}.mdi-account-minus:before{content:"󰀍"}.mdi-account-minus-outline:before{content:"󰫬"}.mdi-account-multiple:before{content:"󰀎"}.mdi-account-multiple-check:before{content:"󰣅"}.mdi-account-multiple-check-outline:before{content:"󱇾"}.mdi-account-multiple-minus:before{content:"󰗓"}.mdi-account-multiple-minus-outline:before{content:"󰯥"}.mdi-account-multiple-outline:before{content:"󰀏"}.mdi-account-multiple-plus:before{content:"󰀐"}.mdi-account-multiple-plus-outline:before{content:"󰠀"}.mdi-account-multiple-remove:before{content:"󱈊"}.mdi-account-multiple-remove-outline:before{content:"󱈋"}.mdi-account-music:before{content:"󰠃"}.mdi-account-music-outline:before{content:"󰳩"}.mdi-account-network:before{content:"󰀑"}.mdi-account-network-off:before{content:"󱫱"}.mdi-account-network-off-outline:before{content:"󱫲"}.mdi-account-network-outline:before{content:"󰯦"}.mdi-account-off:before{content:"󰀒"}.mdi-account-off-outline:before{content:"󰯧"}.mdi-account-outline:before{content:"󰀓"}.mdi-account-plus:before{content:"󰀔"}.mdi-account-plus-outline:before{content:"󰠁"}.mdi-account-question:before{content:"󰭙"}.mdi-account-question-outline:before{content:"󰭚"}.mdi-account-reactivate:before{content:"󱔫"}.mdi-account-reactivate-outline:before{content:"󱔬"}.mdi-account-remove:before{content:"󰀕"}.mdi-account-remove-outline:before{content:"󰫭"}.mdi-account-school:before{content:"󱨠"}.mdi-account-school-outline:before{content:"󱨡"}.mdi-account-search:before{content:"󰀖"}.mdi-account-search-outline:before{content:"󰤵"}.mdi-account-settings:before{content:"󰘰"}.mdi-account-settings-outline:before{content:"󱃉"}.mdi-account-star:before{content:"󰀗"}.mdi-account-star-outline:before{content:"󰯨"}.mdi-account-supervisor:before{content:"󰪋"}.mdi-account-supervisor-circle:before{content:"󰪌"}.mdi-account-supervisor-circle-outline:before{content:"󱓬"}.mdi-account-supervisor-outline:before{content:"󱄭"}.mdi-account-switch:before{content:"󰀙"}.mdi-account-switch-outline:before{content:"󰓋"}.mdi-account-sync:before{content:"󱤛"}.mdi-account-sync-outline:before{content:"󱤜"}.mdi-account-tag:before{content:"󱰛"}.mdi-account-tag-outline:before{content:"󱰜"}.mdi-account-tie:before{content:"󰳣"}.mdi-account-tie-hat:before{content:"󱢘"}.mdi-account-tie-hat-outline:before{content:"󱢙"}.mdi-account-tie-outline:before{content:"󱃊"}.mdi-account-tie-voice:before{content:"󱌈"}.mdi-account-tie-voice-off:before{content:"󱌊"}.mdi-account-tie-voice-off-outline:before{content:"󱌋"}.mdi-account-tie-voice-outline:before{content:"󱌉"}.mdi-account-tie-woman:before{content:"󱪌"}.mdi-account-voice:before{content:"󰗋"}.mdi-account-voice-off:before{content:"󰻔"}.mdi-account-wrench:before{content:"󱢚"}.mdi-account-wrench-outline:before{content:"󱢛"}.mdi-adjust:before{content:"󰀚"}.mdi-advertisements:before{content:"󱤪"}.mdi-advertisements-off:before{content:"󱤫"}.mdi-air-conditioner:before{content:"󰀛"}.mdi-air-filter:before{content:"󰵃"}.mdi-air-horn:before{content:"󰶬"}.mdi-air-humidifier:before{content:"󱂙"}.mdi-air-humidifier-off:before{content:"󱑦"}.mdi-air-purifier:before{content:"󰵄"}.mdi-air-purifier-off:before{content:"󱭗"}.mdi-airbag:before{content:"󰯩"}.mdi-airballoon:before{content:"󰀜"}.mdi-airballoon-outline:before{content:"󱀋"}.mdi-airplane:before{content:"󰀝"}.mdi-airplane-alert:before{content:"󱡺"}.mdi-airplane-check:before{content:"󱡻"}.mdi-airplane-clock:before{content:"󱡼"}.mdi-airplane-cog:before{content:"󱡽"}.mdi-airplane-edit:before{content:"󱡾"}.mdi-airplane-landing:before{content:"󰗔"}.mdi-airplane-marker:before{content:"󱡿"}.mdi-airplane-minus:before{content:"󱢀"}.mdi-airplane-off:before{content:"󰀞"}.mdi-airplane-plus:before{content:"󱢁"}.mdi-airplane-remove:before{content:"󱢂"}.mdi-airplane-search:before{content:"󱢃"}.mdi-airplane-settings:before{content:"󱢄"}.mdi-airplane-takeoff:before{content:"󰗕"}.mdi-airport:before{content:"󰡋"}.mdi-alarm:before{content:"󰀠"}.mdi-alarm-bell:before{content:"󰞎"}.mdi-alarm-check:before{content:"󰀡"}.mdi-alarm-light:before{content:"󰞏"}.mdi-alarm-light-off:before{content:"󱜞"}.mdi-alarm-light-off-outline:before{content:"󱜟"}.mdi-alarm-light-outline:before{content:"󰯪"}.mdi-alarm-multiple:before{content:"󰀢"}.mdi-alarm-note:before{content:"󰹱"}.mdi-alarm-note-off:before{content:"󰹲"}.mdi-alarm-off:before{content:"󰀣"}.mdi-alarm-panel:before{content:"󱗄"}.mdi-alarm-panel-outline:before{content:"󱗅"}.mdi-alarm-plus:before{content:"󰀤"}.mdi-alarm-snooze:before{content:"󰚎"}.mdi-album:before{content:"󰀥"}.mdi-alert:before{content:"󰀦"}.mdi-alert-box:before{content:"󰀧"}.mdi-alert-box-outline:before{content:"󰳤"}.mdi-alert-circle:before{content:"󰀨"}.mdi-alert-circle-check:before{content:"󱇭"}.mdi-alert-circle-check-outline:before{content:"󱇮"}.mdi-alert-circle-outline:before{content:"󰗖"}.mdi-alert-decagram:before{content:"󰚽"}.mdi-alert-decagram-outline:before{content:"󰳥"}.mdi-alert-minus:before{content:"󱒻"}.mdi-alert-minus-outline:before{content:"󱒾"}.mdi-alert-octagon:before{content:"󰀩"}.mdi-alert-octagon-outline:before{content:"󰳦"}.mdi-alert-octagram:before{content:"󰝧"}.mdi-alert-octagram-outline:before{content:"󰳧"}.mdi-alert-outline:before{content:"󰀪"}.mdi-alert-plus:before{content:"󱒺"}.mdi-alert-plus-outline:before{content:"󱒽"}.mdi-alert-remove:before{content:"󱒼"}.mdi-alert-remove-outline:before{content:"󱒿"}.mdi-alert-rhombus:before{content:"󱇎"}.mdi-alert-rhombus-outline:before{content:"󱇏"}.mdi-alien:before{content:"󰢚"}.mdi-alien-outline:before{content:"󱃋"}.mdi-align-horizontal-center:before{content:"󱇃"}.mdi-align-horizontal-distribute:before{content:"󱥢"}.mdi-align-horizontal-left:before{content:"󱇂"}.mdi-align-horizontal-right:before{content:"󱇄"}.mdi-align-vertical-bottom:before{content:"󱇅"}.mdi-align-vertical-center:before{content:"󱇆"}.mdi-align-vertical-distribute:before{content:"󱥣"}.mdi-align-vertical-top:before{content:"󱇇"}.mdi-all-inclusive:before{content:"󰚾"}.mdi-all-inclusive-box:before{content:"󱢍"}.mdi-all-inclusive-box-outline:before{content:"󱢎"}.mdi-allergy:before{content:"󱉘"}.mdi-alpha:before{content:"󰀫"}.mdi-alpha-a:before{content:"󰫮"}.mdi-alpha-a-box:before{content:"󰬈"}.mdi-alpha-a-box-outline:before{content:"󰯫"}.mdi-alpha-a-circle:before{content:"󰯬"}.mdi-alpha-a-circle-outline:before{content:"󰯭"}.mdi-alpha-b:before{content:"󰫯"}.mdi-alpha-b-box:before{content:"󰬉"}.mdi-alpha-b-box-outline:before{content:"󰯮"}.mdi-alpha-b-circle:before{content:"󰯯"}.mdi-alpha-b-circle-outline:before{content:"󰯰"}.mdi-alpha-c:before{content:"󰫰"}.mdi-alpha-c-box:before{content:"󰬊"}.mdi-alpha-c-box-outline:before{content:"󰯱"}.mdi-alpha-c-circle:before{content:"󰯲"}.mdi-alpha-c-circle-outline:before{content:"󰯳"}.mdi-alpha-d:before{content:"󰫱"}.mdi-alpha-d-box:before{content:"󰬋"}.mdi-alpha-d-box-outline:before{content:"󰯴"}.mdi-alpha-d-circle:before{content:"󰯵"}.mdi-alpha-d-circle-outline:before{content:"󰯶"}.mdi-alpha-e:before{content:"󰫲"}.mdi-alpha-e-box:before{content:"󰬌"}.mdi-alpha-e-box-outline:before{content:"󰯷"}.mdi-alpha-e-circle:before{content:"󰯸"}.mdi-alpha-e-circle-outline:before{content:"󰯹"}.mdi-alpha-f:before{content:"󰫳"}.mdi-alpha-f-box:before{content:"󰬍"}.mdi-alpha-f-box-outline:before{content:"󰯺"}.mdi-alpha-f-circle:before{content:"󰯻"}.mdi-alpha-f-circle-outline:before{content:"󰯼"}.mdi-alpha-g:before{content:"󰫴"}.mdi-alpha-g-box:before{content:"󰬎"}.mdi-alpha-g-box-outline:before{content:"󰯽"}.mdi-alpha-g-circle:before{content:"󰯾"}.mdi-alpha-g-circle-outline:before{content:"󰯿"}.mdi-alpha-h:before{content:"󰫵"}.mdi-alpha-h-box:before{content:"󰬏"}.mdi-alpha-h-box-outline:before{content:"󰰀"}.mdi-alpha-h-circle:before{content:"󰰁"}.mdi-alpha-h-circle-outline:before{content:"󰰂"}.mdi-alpha-i:before{content:"󰫶"}.mdi-alpha-i-box:before{content:"󰬐"}.mdi-alpha-i-box-outline:before{content:"󰰃"}.mdi-alpha-i-circle:before{content:"󰰄"}.mdi-alpha-i-circle-outline:before{content:"󰰅"}.mdi-alpha-j:before{content:"󰫷"}.mdi-alpha-j-box:before{content:"󰬑"}.mdi-alpha-j-box-outline:before{content:"󰰆"}.mdi-alpha-j-circle:before{content:"󰰇"}.mdi-alpha-j-circle-outline:before{content:"󰰈"}.mdi-alpha-k:before{content:"󰫸"}.mdi-alpha-k-box:before{content:"󰬒"}.mdi-alpha-k-box-outline:before{content:"󰰉"}.mdi-alpha-k-circle:before{content:"󰰊"}.mdi-alpha-k-circle-outline:before{content:"󰰋"}.mdi-alpha-l:before{content:"󰫹"}.mdi-alpha-l-box:before{content:"󰬓"}.mdi-alpha-l-box-outline:before{content:"󰰌"}.mdi-alpha-l-circle:before{content:"󰰍"}.mdi-alpha-l-circle-outline:before{content:"󰰎"}.mdi-alpha-m:before{content:"󰫺"}.mdi-alpha-m-box:before{content:"󰬔"}.mdi-alpha-m-box-outline:before{content:"󰰏"}.mdi-alpha-m-circle:before{content:"󰰐"}.mdi-alpha-m-circle-outline:before{content:"󰰑"}.mdi-alpha-n:before{content:"󰫻"}.mdi-alpha-n-box:before{content:"󰬕"}.mdi-alpha-n-box-outline:before{content:"󰰒"}.mdi-alpha-n-circle:before{content:"󰰓"}.mdi-alpha-n-circle-outline:before{content:"󰰔"}.mdi-alpha-o:before{content:"󰫼"}.mdi-alpha-o-box:before{content:"󰬖"}.mdi-alpha-o-box-outline:before{content:"󰰕"}.mdi-alpha-o-circle:before{content:"󰰖"}.mdi-alpha-o-circle-outline:before{content:"󰰗"}.mdi-alpha-p:before{content:"󰫽"}.mdi-alpha-p-box:before{content:"󰬗"}.mdi-alpha-p-box-outline:before{content:"󰰘"}.mdi-alpha-p-circle:before{content:"󰰙"}.mdi-alpha-p-circle-outline:before{content:"󰰚"}.mdi-alpha-q:before{content:"󰫾"}.mdi-alpha-q-box:before{content:"󰬘"}.mdi-alpha-q-box-outline:before{content:"󰰛"}.mdi-alpha-q-circle:before{content:"󰰜"}.mdi-alpha-q-circle-outline:before{content:"󰰝"}.mdi-alpha-r:before{content:"󰫿"}.mdi-alpha-r-box:before{content:"󰬙"}.mdi-alpha-r-box-outline:before{content:"󰰞"}.mdi-alpha-r-circle:before{content:"󰰟"}.mdi-alpha-r-circle-outline:before{content:"󰰠"}.mdi-alpha-s:before{content:"󰬀"}.mdi-alpha-s-box:before{content:"󰬚"}.mdi-alpha-s-box-outline:before{content:"󰰡"}.mdi-alpha-s-circle:before{content:"󰰢"}.mdi-alpha-s-circle-outline:before{content:"󰰣"}.mdi-alpha-t:before{content:"󰬁"}.mdi-alpha-t-box:before{content:"󰬛"}.mdi-alpha-t-box-outline:before{content:"󰰤"}.mdi-alpha-t-circle:before{content:"󰰥"}.mdi-alpha-t-circle-outline:before{content:"󰰦"}.mdi-alpha-u:before{content:"󰬂"}.mdi-alpha-u-box:before{content:"󰬜"}.mdi-alpha-u-box-outline:before{content:"󰰧"}.mdi-alpha-u-circle:before{content:"󰰨"}.mdi-alpha-u-circle-outline:before{content:"󰰩"}.mdi-alpha-v:before{content:"󰬃"}.mdi-alpha-v-box:before{content:"󰬝"}.mdi-alpha-v-box-outline:before{content:"󰰪"}.mdi-alpha-v-circle:before{content:"󰰫"}.mdi-alpha-v-circle-outline:before{content:"󰰬"}.mdi-alpha-w:before{content:"󰬄"}.mdi-alpha-w-box:before{content:"󰬞"}.mdi-alpha-w-box-outline:before{content:"󰰭"}.mdi-alpha-w-circle:before{content:"󰰮"}.mdi-alpha-w-circle-outline:before{content:"󰰯"}.mdi-alpha-x:before{content:"󰬅"}.mdi-alpha-x-box:before{content:"󰬟"}.mdi-alpha-x-box-outline:before{content:"󰰰"}.mdi-alpha-x-circle:before{content:"󰰱"}.mdi-alpha-x-circle-outline:before{content:"󰰲"}.mdi-alpha-y:before{content:"󰬆"}.mdi-alpha-y-box:before{content:"󰬠"}.mdi-alpha-y-box-outline:before{content:"󰰳"}.mdi-alpha-y-circle:before{content:"󰰴"}.mdi-alpha-y-circle-outline:before{content:"󰰵"}.mdi-alpha-z:before{content:"󰬇"}.mdi-alpha-z-box:before{content:"󰬡"}.mdi-alpha-z-box-outline:before{content:"󰰶"}.mdi-alpha-z-circle:before{content:"󰰷"}.mdi-alpha-z-circle-outline:before{content:"󰰸"}.mdi-alphabet-aurebesh:before{content:"󱌬"}.mdi-alphabet-cyrillic:before{content:"󱌭"}.mdi-alphabet-greek:before{content:"󱌮"}.mdi-alphabet-latin:before{content:"󱌯"}.mdi-alphabet-piqad:before{content:"󱌰"}.mdi-alphabet-tengwar:before{content:"󱌷"}.mdi-alphabetical:before{content:"󰀬"}.mdi-alphabetical-off:before{content:"󱀌"}.mdi-alphabetical-variant:before{content:"󱀍"}.mdi-alphabetical-variant-off:before{content:"󱀎"}.mdi-altimeter:before{content:"󰗗"}.mdi-ambulance:before{content:"󰀯"}.mdi-ammunition:before{content:"󰳨"}.mdi-ampersand:before{content:"󰪍"}.mdi-amplifier:before{content:"󰀰"}.mdi-amplifier-off:before{content:"󱆵"}.mdi-anchor:before{content:"󰀱"}.mdi-android:before{content:"󰀲"}.mdi-android-studio:before{content:"󰀴"}.mdi-angle-acute:before{content:"󰤷"}.mdi-angle-obtuse:before{content:"󰤸"}.mdi-angle-right:before{content:"󰤹"}.mdi-angular:before{content:"󰚲"}.mdi-angularjs:before{content:"󰚿"}.mdi-animation:before{content:"󰗘"}.mdi-animation-outline:before{content:"󰪏"}.mdi-animation-play:before{content:"󰤺"}.mdi-animation-play-outline:before{content:"󰪐"}.mdi-ansible:before{content:"󱂚"}.mdi-antenna:before{content:"󱄙"}.mdi-anvil:before{content:"󰢛"}.mdi-apache-kafka:before{content:"󱀏"}.mdi-api:before{content:"󱂛"}.mdi-api-off:before{content:"󱉗"}.mdi-apple:before{content:"󰀵"}.mdi-apple-finder:before{content:"󰀶"}.mdi-apple-icloud:before{content:"󰀸"}.mdi-apple-ios:before{content:"󰀷"}.mdi-apple-keyboard-caps:before{content:"󰘲"}.mdi-apple-keyboard-command:before{content:"󰘳"}.mdi-apple-keyboard-control:before{content:"󰘴"}.mdi-apple-keyboard-option:before{content:"󰘵"}.mdi-apple-keyboard-shift:before{content:"󰘶"}.mdi-apple-safari:before{content:"󰀹"}.mdi-application:before{content:"󰣆"}.mdi-application-array:before{content:"󱃵"}.mdi-application-array-outline:before{content:"󱃶"}.mdi-application-braces:before{content:"󱃷"}.mdi-application-braces-outline:before{content:"󱃸"}.mdi-application-brackets:before{content:"󰲋"}.mdi-application-brackets-outline:before{content:"󰲌"}.mdi-application-cog:before{content:"󰙵"}.mdi-application-cog-outline:before{content:"󱕷"}.mdi-application-edit:before{content:"󰂮"}.mdi-application-edit-outline:before{content:"󰘙"}.mdi-application-export:before{content:"󰶭"}.mdi-application-import:before{content:"󰶮"}.mdi-application-outline:before{content:"󰘔"}.mdi-application-parentheses:before{content:"󱃹"}.mdi-application-parentheses-outline:before{content:"󱃺"}.mdi-application-settings:before{content:"󰭠"}.mdi-application-settings-outline:before{content:"󱕕"}.mdi-application-variable:before{content:"󱃻"}.mdi-application-variable-outline:before{content:"󱃼"}.mdi-approximately-equal:before{content:"󰾞"}.mdi-approximately-equal-box:before{content:"󰾟"}.mdi-apps:before{content:"󰀻"}.mdi-apps-box:before{content:"󰵆"}.mdi-arch:before{content:"󰣇"}.mdi-archive:before{content:"󰀼"}.mdi-archive-alert:before{content:"󱓽"}.mdi-archive-alert-outline:before{content:"󱓾"}.mdi-archive-arrow-down:before{content:"󱉙"}.mdi-archive-arrow-down-outline:before{content:"󱉚"}.mdi-archive-arrow-up:before{content:"󱉛"}.mdi-archive-arrow-up-outline:before{content:"󱉜"}.mdi-archive-cancel:before{content:"󱝋"}.mdi-archive-cancel-outline:before{content:"󱝌"}.mdi-archive-check:before{content:"󱝍"}.mdi-archive-check-outline:before{content:"󱝎"}.mdi-archive-clock:before{content:"󱝏"}.mdi-archive-clock-outline:before{content:"󱝐"}.mdi-archive-cog:before{content:"󱝑"}.mdi-archive-cog-outline:before{content:"󱝒"}.mdi-archive-edit:before{content:"󱝓"}.mdi-archive-edit-outline:before{content:"󱝔"}.mdi-archive-eye:before{content:"󱝕"}.mdi-archive-eye-outline:before{content:"󱝖"}.mdi-archive-lock:before{content:"󱝗"}.mdi-archive-lock-open:before{content:"󱝘"}.mdi-archive-lock-open-outline:before{content:"󱝙"}.mdi-archive-lock-outline:before{content:"󱝚"}.mdi-archive-marker:before{content:"󱝛"}.mdi-archive-marker-outline:before{content:"󱝜"}.mdi-archive-minus:before{content:"󱝝"}.mdi-archive-minus-outline:before{content:"󱝞"}.mdi-archive-music:before{content:"󱝟"}.mdi-archive-music-outline:before{content:"󱝠"}.mdi-archive-off:before{content:"󱝡"}.mdi-archive-off-outline:before{content:"󱝢"}.mdi-archive-outline:before{content:"󱈎"}.mdi-archive-plus:before{content:"󱝣"}.mdi-archive-plus-outline:before{content:"󱝤"}.mdi-archive-refresh:before{content:"󱝥"}.mdi-archive-refresh-outline:before{content:"󱝦"}.mdi-archive-remove:before{content:"󱝧"}.mdi-archive-remove-outline:before{content:"󱝨"}.mdi-archive-search:before{content:"󱝩"}.mdi-archive-search-outline:before{content:"󱝪"}.mdi-archive-settings:before{content:"󱝫"}.mdi-archive-settings-outline:before{content:"󱝬"}.mdi-archive-star:before{content:"󱝭"}.mdi-archive-star-outline:before{content:"󱝮"}.mdi-archive-sync:before{content:"󱝯"}.mdi-archive-sync-outline:before{content:"󱝰"}.mdi-arm-flex:before{content:"󰿗"}.mdi-arm-flex-outline:before{content:"󰿖"}.mdi-arrange-bring-forward:before{content:"󰀽"}.mdi-arrange-bring-to-front:before{content:"󰀾"}.mdi-arrange-send-backward:before{content:"󰀿"}.mdi-arrange-send-to-back:before{content:"󰁀"}.mdi-arrow-all:before{content:"󰁁"}.mdi-arrow-bottom-left:before{content:"󰁂"}.mdi-arrow-bottom-left-bold-box:before{content:"󱥤"}.mdi-arrow-bottom-left-bold-box-outline:before{content:"󱥥"}.mdi-arrow-bottom-left-bold-outline:before{content:"󰦷"}.mdi-arrow-bottom-left-thick:before{content:"󰦸"}.mdi-arrow-bottom-left-thin:before{content:"󱦶"}.mdi-arrow-bottom-left-thin-circle-outline:before{content:"󱖖"}.mdi-arrow-bottom-right:before{content:"󰁃"}.mdi-arrow-bottom-right-bold-box:before{content:"󱥦"}.mdi-arrow-bottom-right-bold-box-outline:before{content:"󱥧"}.mdi-arrow-bottom-right-bold-outline:before{content:"󰦹"}.mdi-arrow-bottom-right-thick:before{content:"󰦺"}.mdi-arrow-bottom-right-thin:before{content:"󱦷"}.mdi-arrow-bottom-right-thin-circle-outline:before{content:"󱖕"}.mdi-arrow-collapse:before{content:"󰘕"}.mdi-arrow-collapse-all:before{content:"󰁄"}.mdi-arrow-collapse-down:before{content:"󰞒"}.mdi-arrow-collapse-horizontal:before{content:"󰡌"}.mdi-arrow-collapse-left:before{content:"󰞓"}.mdi-arrow-collapse-right:before{content:"󰞔"}.mdi-arrow-collapse-up:before{content:"󰞕"}.mdi-arrow-collapse-vertical:before{content:"󰡍"}.mdi-arrow-decision:before{content:"󰦻"}.mdi-arrow-decision-auto:before{content:"󰦼"}.mdi-arrow-decision-auto-outline:before{content:"󰦽"}.mdi-arrow-decision-outline:before{content:"󰦾"}.mdi-arrow-down:before{content:"󰁅"}.mdi-arrow-down-bold:before{content:"󰜮"}.mdi-arrow-down-bold-box:before{content:"󰜯"}.mdi-arrow-down-bold-box-outline:before{content:"󰜰"}.mdi-arrow-down-bold-circle:before{content:"󰁇"}.mdi-arrow-down-bold-circle-outline:before{content:"󰁈"}.mdi-arrow-down-bold-hexagon-outline:before{content:"󰁉"}.mdi-arrow-down-bold-outline:before{content:"󰦿"}.mdi-arrow-down-box:before{content:"󰛀"}.mdi-arrow-down-circle:before{content:"󰳛"}.mdi-arrow-down-circle-outline:before{content:"󰳜"}.mdi-arrow-down-drop-circle:before{content:"󰁊"}.mdi-arrow-down-drop-circle-outline:before{content:"󰁋"}.mdi-arrow-down-left:before{content:"󱞡"}.mdi-arrow-down-left-bold:before{content:"󱞢"}.mdi-arrow-down-right:before{content:"󱞣"}.mdi-arrow-down-right-bold:before{content:"󱞤"}.mdi-arrow-down-thick:before{content:"󰁆"}.mdi-arrow-down-thin:before{content:"󱦳"}.mdi-arrow-down-thin-circle-outline:before{content:"󱖙"}.mdi-arrow-expand:before{content:"󰘖"}.mdi-arrow-expand-all:before{content:"󰁌"}.mdi-arrow-expand-down:before{content:"󰞖"}.mdi-arrow-expand-horizontal:before{content:"󰡎"}.mdi-arrow-expand-left:before{content:"󰞗"}.mdi-arrow-expand-right:before{content:"󰞘"}.mdi-arrow-expand-up:before{content:"󰞙"}.mdi-arrow-expand-vertical:before{content:"󰡏"}.mdi-arrow-horizontal-lock:before{content:"󱅛"}.mdi-arrow-left:before{content:"󰁍"}.mdi-arrow-left-bold:before{content:"󰜱"}.mdi-arrow-left-bold-box:before{content:"󰜲"}.mdi-arrow-left-bold-box-outline:before{content:"󰜳"}.mdi-arrow-left-bold-circle:before{content:"󰁏"}.mdi-arrow-left-bold-circle-outline:before{content:"󰁐"}.mdi-arrow-left-bold-hexagon-outline:before{content:"󰁑"}.mdi-arrow-left-bold-outline:before{content:"󰧀"}.mdi-arrow-left-bottom:before{content:"󱞥"}.mdi-arrow-left-bottom-bold:before{content:"󱞦"}.mdi-arrow-left-box:before{content:"󰛁"}.mdi-arrow-left-circle:before{content:"󰳝"}.mdi-arrow-left-circle-outline:before{content:"󰳞"}.mdi-arrow-left-drop-circle:before{content:"󰁒"}.mdi-arrow-left-drop-circle-outline:before{content:"󰁓"}.mdi-arrow-left-right:before{content:"󰹳"}.mdi-arrow-left-right-bold:before{content:"󰹴"}.mdi-arrow-left-right-bold-outline:before{content:"󰧁"}.mdi-arrow-left-thick:before{content:"󰁎"}.mdi-arrow-left-thin:before{content:"󱦱"}.mdi-arrow-left-thin-circle-outline:before{content:"󱖚"}.mdi-arrow-left-top:before{content:"󱞧"}.mdi-arrow-left-top-bold:before{content:"󱞨"}.mdi-arrow-projectile:before{content:"󱡀"}.mdi-arrow-projectile-multiple:before{content:"󱠿"}.mdi-arrow-right:before{content:"󰁔"}.mdi-arrow-right-bold:before{content:"󰜴"}.mdi-arrow-right-bold-box:before{content:"󰜵"}.mdi-arrow-right-bold-box-outline:before{content:"󰜶"}.mdi-arrow-right-bold-circle:before{content:"󰁖"}.mdi-arrow-right-bold-circle-outline:before{content:"󰁗"}.mdi-arrow-right-bold-hexagon-outline:before{content:"󰁘"}.mdi-arrow-right-bold-outline:before{content:"󰧂"}.mdi-arrow-right-bottom:before{content:"󱞩"}.mdi-arrow-right-bottom-bold:before{content:"󱞪"}.mdi-arrow-right-box:before{content:"󰛂"}.mdi-arrow-right-circle:before{content:"󰳟"}.mdi-arrow-right-circle-outline:before{content:"󰳠"}.mdi-arrow-right-drop-circle:before{content:"󰁙"}.mdi-arrow-right-drop-circle-outline:before{content:"󰁚"}.mdi-arrow-right-thick:before{content:"󰁕"}.mdi-arrow-right-thin:before{content:"󱦰"}.mdi-arrow-right-thin-circle-outline:before{content:"󱖘"}.mdi-arrow-right-top:before{content:"󱞫"}.mdi-arrow-right-top-bold:before{content:"󱞬"}.mdi-arrow-split-horizontal:before{content:"󰤻"}.mdi-arrow-split-vertical:before{content:"󰤼"}.mdi-arrow-top-left:before{content:"󰁛"}.mdi-arrow-top-left-bold-box:before{content:"󱥨"}.mdi-arrow-top-left-bold-box-outline:before{content:"󱥩"}.mdi-arrow-top-left-bold-outline:before{content:"󰧃"}.mdi-arrow-top-left-bottom-right:before{content:"󰹵"}.mdi-arrow-top-left-bottom-right-bold:before{content:"󰹶"}.mdi-arrow-top-left-thick:before{content:"󰧄"}.mdi-arrow-top-left-thin:before{content:"󱦵"}.mdi-arrow-top-left-thin-circle-outline:before{content:"󱖓"}.mdi-arrow-top-right:before{content:"󰁜"}.mdi-arrow-top-right-bold-box:before{content:"󱥪"}.mdi-arrow-top-right-bold-box-outline:before{content:"󱥫"}.mdi-arrow-top-right-bold-outline:before{content:"󰧅"}.mdi-arrow-top-right-bottom-left:before{content:"󰹷"}.mdi-arrow-top-right-bottom-left-bold:before{content:"󰹸"}.mdi-arrow-top-right-thick:before{content:"󰧆"}.mdi-arrow-top-right-thin:before{content:"󱦴"}.mdi-arrow-top-right-thin-circle-outline:before{content:"󱖔"}.mdi-arrow-u-down-left:before{content:"󱞭"}.mdi-arrow-u-down-left-bold:before{content:"󱞮"}.mdi-arrow-u-down-right:before{content:"󱞯"}.mdi-arrow-u-down-right-bold:before{content:"󱞰"}.mdi-arrow-u-left-bottom:before{content:"󱞱"}.mdi-arrow-u-left-bottom-bold:before{content:"󱞲"}.mdi-arrow-u-left-top:before{content:"󱞳"}.mdi-arrow-u-left-top-bold:before{content:"󱞴"}.mdi-arrow-u-right-bottom:before{content:"󱞵"}.mdi-arrow-u-right-bottom-bold:before{content:"󱞶"}.mdi-arrow-u-right-top:before{content:"󱞷"}.mdi-arrow-u-right-top-bold:before{content:"󱞸"}.mdi-arrow-u-up-left:before{content:"󱞹"}.mdi-arrow-u-up-left-bold:before{content:"󱞺"}.mdi-arrow-u-up-right:before{content:"󱞻"}.mdi-arrow-u-up-right-bold:before{content:"󱞼"}.mdi-arrow-up:before{content:"󰁝"}.mdi-arrow-up-bold:before{content:"󰜷"}.mdi-arrow-up-bold-box:before{content:"󰜸"}.mdi-arrow-up-bold-box-outline:before{content:"󰜹"}.mdi-arrow-up-bold-circle:before{content:"󰁟"}.mdi-arrow-up-bold-circle-outline:before{content:"󰁠"}.mdi-arrow-up-bold-hexagon-outline:before{content:"󰁡"}.mdi-arrow-up-bold-outline:before{content:"󰧇"}.mdi-arrow-up-box:before{content:"󰛃"}.mdi-arrow-up-circle:before{content:"󰳡"}.mdi-arrow-up-circle-outline:before{content:"󰳢"}.mdi-arrow-up-down:before{content:"󰹹"}.mdi-arrow-up-down-bold:before{content:"󰹺"}.mdi-arrow-up-down-bold-outline:before{content:"󰧈"}.mdi-arrow-up-drop-circle:before{content:"󰁢"}.mdi-arrow-up-drop-circle-outline:before{content:"󰁣"}.mdi-arrow-up-left:before{content:"󱞽"}.mdi-arrow-up-left-bold:before{content:"󱞾"}.mdi-arrow-up-right:before{content:"󱞿"}.mdi-arrow-up-right-bold:before{content:"󱟀"}.mdi-arrow-up-thick:before{content:"󰁞"}.mdi-arrow-up-thin:before{content:"󱦲"}.mdi-arrow-up-thin-circle-outline:before{content:"󱖗"}.mdi-arrow-vertical-lock:before{content:"󱅜"}.mdi-artboard:before{content:"󱮚"}.mdi-artstation:before{content:"󰭛"}.mdi-aspect-ratio:before{content:"󰨤"}.mdi-assistant:before{content:"󰁤"}.mdi-asterisk:before{content:"󰛄"}.mdi-asterisk-circle-outline:before{content:"󱨧"}.mdi-at:before{content:"󰁥"}.mdi-atlassian:before{content:"󰠄"}.mdi-atm:before{content:"󰵇"}.mdi-atom:before{content:"󰝨"}.mdi-atom-variant:before{content:"󰹻"}.mdi-attachment:before{content:"󰁦"}.mdi-attachment-check:before{content:"󱫁"}.mdi-attachment-lock:before{content:"󱧄"}.mdi-attachment-minus:before{content:"󱫂"}.mdi-attachment-off:before{content:"󱫃"}.mdi-attachment-plus:before{content:"󱫄"}.mdi-attachment-remove:before{content:"󱫅"}.mdi-atv:before{content:"󱭰"}.mdi-audio-input-rca:before{content:"󱡫"}.mdi-audio-input-stereo-minijack:before{content:"󱡬"}.mdi-audio-input-xlr:before{content:"󱡭"}.mdi-audio-video:before{content:"󰤽"}.mdi-audio-video-off:before{content:"󱆶"}.mdi-augmented-reality:before{content:"󰡐"}.mdi-aurora:before{content:"󱮹"}.mdi-auto-download:before{content:"󱍾"}.mdi-auto-fix:before{content:"󰁨"}.mdi-auto-mode:before{content:"󱰠"}.mdi-auto-upload:before{content:"󰁩"}.mdi-autorenew:before{content:"󰁪"}.mdi-autorenew-off:before{content:"󱧧"}.mdi-av-timer:before{content:"󰁫"}.mdi-awning:before{content:"󱮇"}.mdi-awning-outline:before{content:"󱮈"}.mdi-aws:before{content:"󰸏"}.mdi-axe:before{content:"󰣈"}.mdi-axe-battle:before{content:"󱡂"}.mdi-axis:before{content:"󰵈"}.mdi-axis-arrow:before{content:"󰵉"}.mdi-axis-arrow-info:before{content:"󱐎"}.mdi-axis-arrow-lock:before{content:"󰵊"}.mdi-axis-lock:before{content:"󰵋"}.mdi-axis-x-arrow:before{content:"󰵌"}.mdi-axis-x-arrow-lock:before{content:"󰵍"}.mdi-axis-x-rotate-clockwise:before{content:"󰵎"}.mdi-axis-x-rotate-counterclockwise:before{content:"󰵏"}.mdi-axis-x-y-arrow-lock:before{content:"󰵐"}.mdi-axis-y-arrow:before{content:"󰵑"}.mdi-axis-y-arrow-lock:before{content:"󰵒"}.mdi-axis-y-rotate-clockwise:before{content:"󰵓"}.mdi-axis-y-rotate-counterclockwise:before{content:"󰵔"}.mdi-axis-z-arrow:before{content:"󰵕"}.mdi-axis-z-arrow-lock:before{content:"󰵖"}.mdi-axis-z-rotate-clockwise:before{content:"󰵗"}.mdi-axis-z-rotate-counterclockwise:before{content:"󰵘"}.mdi-babel:before{content:"󰨥"}.mdi-baby:before{content:"󰁬"}.mdi-baby-bottle:before{content:"󰼹"}.mdi-baby-bottle-outline:before{content:"󰼺"}.mdi-baby-buggy:before{content:"󱏠"}.mdi-baby-buggy-off:before{content:"󱫳"}.mdi-baby-carriage:before{content:"󰚏"}.mdi-baby-carriage-off:before{content:"󰾠"}.mdi-baby-face:before{content:"󰹼"}.mdi-baby-face-outline:before{content:"󰹽"}.mdi-backburger:before{content:"󰁭"}.mdi-backspace:before{content:"󰁮"}.mdi-backspace-outline:before{content:"󰭜"}.mdi-backspace-reverse:before{content:"󰹾"}.mdi-backspace-reverse-outline:before{content:"󰹿"}.mdi-backup-restore:before{content:"󰁯"}.mdi-bacteria:before{content:"󰻕"}.mdi-bacteria-outline:before{content:"󰻖"}.mdi-badge-account:before{content:"󰶧"}.mdi-badge-account-alert:before{content:"󰶨"}.mdi-badge-account-alert-outline:before{content:"󰶩"}.mdi-badge-account-horizontal:before{content:"󰸍"}.mdi-badge-account-horizontal-outline:before{content:"󰸎"}.mdi-badge-account-outline:before{content:"󰶪"}.mdi-badminton:before{content:"󰡑"}.mdi-bag-carry-on:before{content:"󰼻"}.mdi-bag-carry-on-check:before{content:"󰵥"}.mdi-bag-carry-on-off:before{content:"󰼼"}.mdi-bag-checked:before{content:"󰼽"}.mdi-bag-personal:before{content:"󰸐"}.mdi-bag-personal-off:before{content:"󰸑"}.mdi-bag-personal-off-outline:before{content:"󰸒"}.mdi-bag-personal-outline:before{content:"󰸓"}.mdi-bag-personal-tag:before{content:"󱬌"}.mdi-bag-personal-tag-outline:before{content:"󱬍"}.mdi-bag-suitcase:before{content:"󱖋"}.mdi-bag-suitcase-off:before{content:"󱖍"}.mdi-bag-suitcase-off-outline:before{content:"󱖎"}.mdi-bag-suitcase-outline:before{content:"󱖌"}.mdi-baguette:before{content:"󰼾"}.mdi-balcony:before{content:"󱠗"}.mdi-balloon:before{content:"󰨦"}.mdi-ballot:before{content:"󰧉"}.mdi-ballot-outline:before{content:"󰧊"}.mdi-ballot-recount:before{content:"󰰹"}.mdi-ballot-recount-outline:before{content:"󰰺"}.mdi-bandage:before{content:"󰶯"}.mdi-bank:before{content:"󰁰"}.mdi-bank-check:before{content:"󱙕"}.mdi-bank-circle:before{content:"󱰃"}.mdi-bank-circle-outline:before{content:"󱰄"}.mdi-bank-minus:before{content:"󰶰"}.mdi-bank-off:before{content:"󱙖"}.mdi-bank-off-outline:before{content:"󱙗"}.mdi-bank-outline:before{content:"󰺀"}.mdi-bank-plus:before{content:"󰶱"}.mdi-bank-remove:before{content:"󰶲"}.mdi-bank-transfer:before{content:"󰨧"}.mdi-bank-transfer-in:before{content:"󰨨"}.mdi-bank-transfer-out:before{content:"󰨩"}.mdi-barcode:before{content:"󰁱"}.mdi-barcode-off:before{content:"󱈶"}.mdi-barcode-scan:before{content:"󰁲"}.mdi-barley:before{content:"󰁳"}.mdi-barley-off:before{content:"󰭝"}.mdi-barn:before{content:"󰭞"}.mdi-barrel:before{content:"󰁴"}.mdi-barrel-outline:before{content:"󱨨"}.mdi-baseball:before{content:"󰡒"}.mdi-baseball-bat:before{content:"󰡓"}.mdi-baseball-diamond:before{content:"󱗬"}.mdi-baseball-diamond-outline:before{content:"󱗭"}.mdi-baseball-outline:before{content:"󱱚"}.mdi-bash:before{content:"󱆃"}.mdi-basket:before{content:"󰁶"}.mdi-basket-check:before{content:"󱣥"}.mdi-basket-check-outline:before{content:"󱣦"}.mdi-basket-fill:before{content:"󰁷"}.mdi-basket-minus:before{content:"󱔣"}.mdi-basket-minus-outline:before{content:"󱔤"}.mdi-basket-off:before{content:"󱔥"}.mdi-basket-off-outline:before{content:"󱔦"}.mdi-basket-outline:before{content:"󱆁"}.mdi-basket-plus:before{content:"󱔧"}.mdi-basket-plus-outline:before{content:"󱔨"}.mdi-basket-remove:before{content:"󱔩"}.mdi-basket-remove-outline:before{content:"󱔪"}.mdi-basket-unfill:before{content:"󰁸"}.mdi-basketball:before{content:"󰠆"}.mdi-basketball-hoop:before{content:"󰰻"}.mdi-basketball-hoop-outline:before{content:"󰰼"}.mdi-bat:before{content:"󰭟"}.mdi-bathtub:before{content:"󱠘"}.mdi-bathtub-outline:before{content:"󱠙"}.mdi-battery:before{content:"󰁹"}.mdi-battery-10:before{content:"󰁺"}.mdi-battery-10-bluetooth:before{content:"󰤾"}.mdi-battery-20:before{content:"󰁻"}.mdi-battery-20-bluetooth:before{content:"󰤿"}.mdi-battery-30:before{content:"󰁼"}.mdi-battery-30-bluetooth:before{content:"󰥀"}.mdi-battery-40:before{content:"󰁽"}.mdi-battery-40-bluetooth:before{content:"󰥁"}.mdi-battery-50:before{content:"󰁾"}.mdi-battery-50-bluetooth:before{content:"󰥂"}.mdi-battery-60:before{content:"󰁿"}.mdi-battery-60-bluetooth:before{content:"󰥃"}.mdi-battery-70:before{content:"󰂀"}.mdi-battery-70-bluetooth:before{content:"󰥄"}.mdi-battery-80:before{content:"󰂁"}.mdi-battery-80-bluetooth:before{content:"󰥅"}.mdi-battery-90:before{content:"󰂂"}.mdi-battery-90-bluetooth:before{content:"󰥆"}.mdi-battery-alert:before{content:"󰂃"}.mdi-battery-alert-bluetooth:before{content:"󰥇"}.mdi-battery-alert-variant:before{content:"󱃌"}.mdi-battery-alert-variant-outline:before{content:"󱃍"}.mdi-battery-arrow-down:before{content:"󱟞"}.mdi-battery-arrow-down-outline:before{content:"󱟟"}.mdi-battery-arrow-up:before{content:"󱟠"}.mdi-battery-arrow-up-outline:before{content:"󱟡"}.mdi-battery-bluetooth:before{content:"󰥈"}.mdi-battery-bluetooth-variant:before{content:"󰥉"}.mdi-battery-charging:before{content:"󰂄"}.mdi-battery-charging-10:before{content:"󰢜"}.mdi-battery-charging-100:before{content:"󰂅"}.mdi-battery-charging-20:before{content:"󰂆"}.mdi-battery-charging-30:before{content:"󰂇"}.mdi-battery-charging-40:before{content:"󰂈"}.mdi-battery-charging-50:before{content:"󰢝"}.mdi-battery-charging-60:before{content:"󰂉"}.mdi-battery-charging-70:before{content:"󰢞"}.mdi-battery-charging-80:before{content:"󰂊"}.mdi-battery-charging-90:before{content:"󰂋"}.mdi-battery-charging-high:before{content:"󱊦"}.mdi-battery-charging-low:before{content:"󱊤"}.mdi-battery-charging-medium:before{content:"󱊥"}.mdi-battery-charging-outline:before{content:"󰢟"}.mdi-battery-charging-wireless:before{content:"󰠇"}.mdi-battery-charging-wireless-10:before{content:"󰠈"}.mdi-battery-charging-wireless-20:before{content:"󰠉"}.mdi-battery-charging-wireless-30:before{content:"󰠊"}.mdi-battery-charging-wireless-40:before{content:"󰠋"}.mdi-battery-charging-wireless-50:before{content:"󰠌"}.mdi-battery-charging-wireless-60:before{content:"󰠍"}.mdi-battery-charging-wireless-70:before{content:"󰠎"}.mdi-battery-charging-wireless-80:before{content:"󰠏"}.mdi-battery-charging-wireless-90:before{content:"󰠐"}.mdi-battery-charging-wireless-alert:before{content:"󰠑"}.mdi-battery-charging-wireless-outline:before{content:"󰠒"}.mdi-battery-check:before{content:"󱟢"}.mdi-battery-check-outline:before{content:"󱟣"}.mdi-battery-clock:before{content:"󱧥"}.mdi-battery-clock-outline:before{content:"󱧦"}.mdi-battery-heart:before{content:"󱈏"}.mdi-battery-heart-outline:before{content:"󱈐"}.mdi-battery-heart-variant:before{content:"󱈑"}.mdi-battery-high:before{content:"󱊣"}.mdi-battery-lock:before{content:"󱞜"}.mdi-battery-lock-open:before{content:"󱞝"}.mdi-battery-low:before{content:"󱊡"}.mdi-battery-medium:before{content:"󱊢"}.mdi-battery-minus:before{content:"󱟤"}.mdi-battery-minus-outline:before{content:"󱟥"}.mdi-battery-minus-variant:before{content:"󰂌"}.mdi-battery-negative:before{content:"󰂍"}.mdi-battery-off:before{content:"󱉝"}.mdi-battery-off-outline:before{content:"󱉞"}.mdi-battery-outline:before{content:"󰂎"}.mdi-battery-plus:before{content:"󱟦"}.mdi-battery-plus-outline:before{content:"󱟧"}.mdi-battery-plus-variant:before{content:"󰂏"}.mdi-battery-positive:before{content:"󰂐"}.mdi-battery-remove:before{content:"󱟨"}.mdi-battery-remove-outline:before{content:"󱟩"}.mdi-battery-sync:before{content:"󱠴"}.mdi-battery-sync-outline:before{content:"󱠵"}.mdi-battery-unknown:before{content:"󰂑"}.mdi-battery-unknown-bluetooth:before{content:"󰥊"}.mdi-beach:before{content:"󰂒"}.mdi-beaker:before{content:"󰳪"}.mdi-beaker-alert:before{content:"󱈩"}.mdi-beaker-alert-outline:before{content:"󱈪"}.mdi-beaker-check:before{content:"󱈫"}.mdi-beaker-check-outline:before{content:"󱈬"}.mdi-beaker-minus:before{content:"󱈭"}.mdi-beaker-minus-outline:before{content:"󱈮"}.mdi-beaker-outline:before{content:"󰚐"}.mdi-beaker-plus:before{content:"󱈯"}.mdi-beaker-plus-outline:before{content:"󱈰"}.mdi-beaker-question:before{content:"󱈱"}.mdi-beaker-question-outline:before{content:"󱈲"}.mdi-beaker-remove:before{content:"󱈳"}.mdi-beaker-remove-outline:before{content:"󱈴"}.mdi-bed:before{content:"󰋣"}.mdi-bed-clock:before{content:"󱮔"}.mdi-bed-double:before{content:"󰿔"}.mdi-bed-double-outline:before{content:"󰿓"}.mdi-bed-empty:before{content:"󰢠"}.mdi-bed-king:before{content:"󰿒"}.mdi-bed-king-outline:before{content:"󰿑"}.mdi-bed-outline:before{content:"󰂙"}.mdi-bed-queen:before{content:"󰿐"}.mdi-bed-queen-outline:before{content:"󰿛"}.mdi-bed-single:before{content:"󱁭"}.mdi-bed-single-outline:before{content:"󱁮"}.mdi-bee:before{content:"󰾡"}.mdi-bee-flower:before{content:"󰾢"}.mdi-beehive-off-outline:before{content:"󱏭"}.mdi-beehive-outline:before{content:"󱃎"}.mdi-beekeeper:before{content:"󱓢"}.mdi-beer:before{content:"󰂘"}.mdi-beer-outline:before{content:"󱌌"}.mdi-bell:before{content:"󰂚"}.mdi-bell-alert:before{content:"󰵙"}.mdi-bell-alert-outline:before{content:"󰺁"}.mdi-bell-badge:before{content:"󱅫"}.mdi-bell-badge-outline:before{content:"󰅸"}.mdi-bell-cancel:before{content:"󱏧"}.mdi-bell-cancel-outline:before{content:"󱏨"}.mdi-bell-check:before{content:"󱇥"}.mdi-bell-check-outline:before{content:"󱇦"}.mdi-bell-circle:before{content:"󰵚"}.mdi-bell-circle-outline:before{content:"󰵛"}.mdi-bell-cog:before{content:"󱨩"}.mdi-bell-cog-outline:before{content:"󱨪"}.mdi-bell-minus:before{content:"󱏩"}.mdi-bell-minus-outline:before{content:"󱏪"}.mdi-bell-off:before{content:"󰂛"}.mdi-bell-off-outline:before{content:"󰪑"}.mdi-bell-outline:before{content:"󰂜"}.mdi-bell-plus:before{content:"󰂝"}.mdi-bell-plus-outline:before{content:"󰪒"}.mdi-bell-remove:before{content:"󱏫"}.mdi-bell-remove-outline:before{content:"󱏬"}.mdi-bell-ring:before{content:"󰂞"}.mdi-bell-ring-outline:before{content:"󰂟"}.mdi-bell-sleep:before{content:"󰂠"}.mdi-bell-sleep-outline:before{content:"󰪓"}.mdi-bench:before{content:"󱰡"}.mdi-bench-back:before{content:"󱰢"}.mdi-beta:before{content:"󰂡"}.mdi-betamax:before{content:"󰧋"}.mdi-biathlon:before{content:"󰸔"}.mdi-bicycle:before{content:"󱂜"}.mdi-bicycle-basket:before{content:"󱈵"}.mdi-bicycle-cargo:before{content:"󱢜"}.mdi-bicycle-electric:before{content:"󱖴"}.mdi-bicycle-penny-farthing:before{content:"󱗩"}.mdi-bike:before{content:"󰂣"}.mdi-bike-fast:before{content:"󱄟"}.mdi-bike-pedal:before{content:"󱰣"}.mdi-bike-pedal-clipless:before{content:"󱰤"}.mdi-bike-pedal-mountain:before{content:"󱰥"}.mdi-billboard:before{content:"󱀐"}.mdi-billiards:before{content:"󰭡"}.mdi-billiards-rack:before{content:"󰭢"}.mdi-binoculars:before{content:"󰂥"}.mdi-bio:before{content:"󰂦"}.mdi-biohazard:before{content:"󰂧"}.mdi-bird:before{content:"󱗆"}.mdi-bitbucket:before{content:"󰂨"}.mdi-bitcoin:before{content:"󰠓"}.mdi-black-mesa:before{content:"󰂩"}.mdi-blender:before{content:"󰳫"}.mdi-blender-outline:before{content:"󱠚"}.mdi-blender-software:before{content:"󰂫"}.mdi-blinds:before{content:"󰂬"}.mdi-blinds-horizontal:before{content:"󱨫"}.mdi-blinds-horizontal-closed:before{content:"󱨬"}.mdi-blinds-open:before{content:"󱀑"}.mdi-blinds-vertical:before{content:"󱨭"}.mdi-blinds-vertical-closed:before{content:"󱨮"}.mdi-block-helper:before{content:"󰂭"}.mdi-blood-bag:before{content:"󰳬"}.mdi-bluetooth:before{content:"󰂯"}.mdi-bluetooth-audio:before{content:"󰂰"}.mdi-bluetooth-connect:before{content:"󰂱"}.mdi-bluetooth-off:before{content:"󰂲"}.mdi-bluetooth-settings:before{content:"󰂳"}.mdi-bluetooth-transfer:before{content:"󰂴"}.mdi-blur:before{content:"󰂵"}.mdi-blur-linear:before{content:"󰂶"}.mdi-blur-off:before{content:"󰂷"}.mdi-blur-radial:before{content:"󰂸"}.mdi-bolt:before{content:"󰶳"}.mdi-bomb:before{content:"󰚑"}.mdi-bomb-off:before{content:"󰛅"}.mdi-bone:before{content:"󰂹"}.mdi-bone-off:before{content:"󱧠"}.mdi-book:before{content:"󰂺"}.mdi-book-account:before{content:"󱎭"}.mdi-book-account-outline:before{content:"󱎮"}.mdi-book-alert:before{content:"󱙼"}.mdi-book-alert-outline:before{content:"󱙽"}.mdi-book-alphabet:before{content:"󰘝"}.mdi-book-arrow-down:before{content:"󱙾"}.mdi-book-arrow-down-outline:before{content:"󱙿"}.mdi-book-arrow-left:before{content:"󱚀"}.mdi-book-arrow-left-outline:before{content:"󱚁"}.mdi-book-arrow-right:before{content:"󱚂"}.mdi-book-arrow-right-outline:before{content:"󱚃"}.mdi-book-arrow-up:before{content:"󱚄"}.mdi-book-arrow-up-outline:before{content:"󱚅"}.mdi-book-cancel:before{content:"󱚆"}.mdi-book-cancel-outline:before{content:"󱚇"}.mdi-book-check:before{content:"󱓳"}.mdi-book-check-outline:before{content:"󱓴"}.mdi-book-clock:before{content:"󱚈"}.mdi-book-clock-outline:before{content:"󱚉"}.mdi-book-cog:before{content:"󱚊"}.mdi-book-cog-outline:before{content:"󱚋"}.mdi-book-cross:before{content:"󰂢"}.mdi-book-edit:before{content:"󱚌"}.mdi-book-edit-outline:before{content:"󱚍"}.mdi-book-education:before{content:"󱛉"}.mdi-book-education-outline:before{content:"󱛊"}.mdi-book-heart:before{content:"󱨝"}.mdi-book-heart-outline:before{content:"󱨞"}.mdi-book-information-variant:before{content:"󱁯"}.mdi-book-lock:before{content:"󰞚"}.mdi-book-lock-open:before{content:"󰞛"}.mdi-book-lock-open-outline:before{content:"󱚎"}.mdi-book-lock-outline:before{content:"󱚏"}.mdi-book-marker:before{content:"󱚐"}.mdi-book-marker-outline:before{content:"󱚑"}.mdi-book-minus:before{content:"󰗙"}.mdi-book-minus-multiple:before{content:"󰪔"}.mdi-book-minus-multiple-outline:before{content:"󰤋"}.mdi-book-minus-outline:before{content:"󱚒"}.mdi-book-multiple:before{content:"󰂻"}.mdi-book-multiple-outline:before{content:"󰐶"}.mdi-book-music:before{content:"󰁧"}.mdi-book-music-outline:before{content:"󱚓"}.mdi-book-off:before{content:"󱚔"}.mdi-book-off-outline:before{content:"󱚕"}.mdi-book-open:before{content:"󰂽"}.mdi-book-open-blank-variant:before{content:"󰂾"}.mdi-book-open-outline:before{content:"󰭣"}.mdi-book-open-page-variant:before{content:"󰗚"}.mdi-book-open-page-variant-outline:before{content:"󱗖"}.mdi-book-open-variant:before{content:"󱓷"}.mdi-book-outline:before{content:"󰭤"}.mdi-book-play:before{content:"󰺂"}.mdi-book-play-outline:before{content:"󰺃"}.mdi-book-plus:before{content:"󰗛"}.mdi-book-plus-multiple:before{content:"󰪕"}.mdi-book-plus-multiple-outline:before{content:"󰫞"}.mdi-book-plus-outline:before{content:"󱚖"}.mdi-book-refresh:before{content:"󱚗"}.mdi-book-refresh-outline:before{content:"󱚘"}.mdi-book-remove:before{content:"󰪗"}.mdi-book-remove-multiple:before{content:"󰪖"}.mdi-book-remove-multiple-outline:before{content:"󰓊"}.mdi-book-remove-outline:before{content:"󱚙"}.mdi-book-search:before{content:"󰺄"}.mdi-book-search-outline:before{content:"󰺅"}.mdi-book-settings:before{content:"󱚚"}.mdi-book-settings-outline:before{content:"󱚛"}.mdi-book-sync:before{content:"󱚜"}.mdi-book-sync-outline:before{content:"󱛈"}.mdi-book-variant:before{content:"󰂿"}.mdi-bookmark:before{content:"󰃀"}.mdi-bookmark-box:before{content:"󱭵"}.mdi-bookmark-box-multiple:before{content:"󱥬"}.mdi-bookmark-box-multiple-outline:before{content:"󱥭"}.mdi-bookmark-box-outline:before{content:"󱭶"}.mdi-bookmark-check:before{content:"󰃁"}.mdi-bookmark-check-outline:before{content:"󱍻"}.mdi-bookmark-minus:before{content:"󰧌"}.mdi-bookmark-minus-outline:before{content:"󰧍"}.mdi-bookmark-multiple:before{content:"󰸕"}.mdi-bookmark-multiple-outline:before{content:"󰸖"}.mdi-bookmark-music:before{content:"󰃂"}.mdi-bookmark-music-outline:before{content:"󱍹"}.mdi-bookmark-off:before{content:"󰧎"}.mdi-bookmark-off-outline:before{content:"󰧏"}.mdi-bookmark-outline:before{content:"󰃃"}.mdi-bookmark-plus:before{content:"󰃅"}.mdi-bookmark-plus-outline:before{content:"󰃄"}.mdi-bookmark-remove:before{content:"󰃆"}.mdi-bookmark-remove-outline:before{content:"󱍺"}.mdi-bookshelf:before{content:"󱉟"}.mdi-boom-gate:before{content:"󰺆"}.mdi-boom-gate-alert:before{content:"󰺇"}.mdi-boom-gate-alert-outline:before{content:"󰺈"}.mdi-boom-gate-arrow-down:before{content:"󰺉"}.mdi-boom-gate-arrow-down-outline:before{content:"󰺊"}.mdi-boom-gate-arrow-up:before{content:"󰺌"}.mdi-boom-gate-arrow-up-outline:before{content:"󰺍"}.mdi-boom-gate-outline:before{content:"󰺋"}.mdi-boom-gate-up:before{content:"󱟹"}.mdi-boom-gate-up-outline:before{content:"󱟺"}.mdi-boombox:before{content:"󰗜"}.mdi-boomerang:before{content:"󱃏"}.mdi-bootstrap:before{content:"󰛆"}.mdi-border-all:before{content:"󰃇"}.mdi-border-all-variant:before{content:"󰢡"}.mdi-border-bottom:before{content:"󰃈"}.mdi-border-bottom-variant:before{content:"󰢢"}.mdi-border-color:before{content:"󰃉"}.mdi-border-horizontal:before{content:"󰃊"}.mdi-border-inside:before{content:"󰃋"}.mdi-border-left:before{content:"󰃌"}.mdi-border-left-variant:before{content:"󰢣"}.mdi-border-none:before{content:"󰃍"}.mdi-border-none-variant:before{content:"󰢤"}.mdi-border-outside:before{content:"󰃎"}.mdi-border-radius:before{content:"󱫴"}.mdi-border-right:before{content:"󰃏"}.mdi-border-right-variant:before{content:"󰢥"}.mdi-border-style:before{content:"󰃐"}.mdi-border-top:before{content:"󰃑"}.mdi-border-top-variant:before{content:"󰢦"}.mdi-border-vertical:before{content:"󰃒"}.mdi-bottle-soda:before{content:"󱁰"}.mdi-bottle-soda-classic:before{content:"󱁱"}.mdi-bottle-soda-classic-outline:before{content:"󱍣"}.mdi-bottle-soda-outline:before{content:"󱁲"}.mdi-bottle-tonic:before{content:"󱄮"}.mdi-bottle-tonic-outline:before{content:"󱄯"}.mdi-bottle-tonic-plus:before{content:"󱄰"}.mdi-bottle-tonic-plus-outline:before{content:"󱄱"}.mdi-bottle-tonic-skull:before{content:"󱄲"}.mdi-bottle-tonic-skull-outline:before{content:"󱄳"}.mdi-bottle-wine:before{content:"󰡔"}.mdi-bottle-wine-outline:before{content:"󱌐"}.mdi-bow-arrow:before{content:"󱡁"}.mdi-bow-tie:before{content:"󰙸"}.mdi-bowl:before{content:"󰊎"}.mdi-bowl-mix:before{content:"󰘗"}.mdi-bowl-mix-outline:before{content:"󰋤"}.mdi-bowl-outline:before{content:"󰊩"}.mdi-bowling:before{content:"󰃓"}.mdi-box:before{content:"󰃔"}.mdi-box-cutter:before{content:"󰃕"}.mdi-box-cutter-off:before{content:"󰭊"}.mdi-box-shadow:before{content:"󰘷"}.mdi-boxing-glove:before{content:"󰭥"}.mdi-braille:before{content:"󰧐"}.mdi-brain:before{content:"󰧑"}.mdi-bread-slice:before{content:"󰳮"}.mdi-bread-slice-outline:before{content:"󰳯"}.mdi-bridge:before{content:"󰘘"}.mdi-briefcase:before{content:"󰃖"}.mdi-briefcase-account:before{content:"󰳰"}.mdi-briefcase-account-outline:before{content:"󰳱"}.mdi-briefcase-arrow-left-right:before{content:"󱪍"}.mdi-briefcase-arrow-left-right-outline:before{content:"󱪎"}.mdi-briefcase-arrow-up-down:before{content:"󱪏"}.mdi-briefcase-arrow-up-down-outline:before{content:"󱪐"}.mdi-briefcase-check:before{content:"󰃗"}.mdi-briefcase-check-outline:before{content:"󱌞"}.mdi-briefcase-clock:before{content:"󱃐"}.mdi-briefcase-clock-outline:before{content:"󱃑"}.mdi-briefcase-download:before{content:"󰃘"}.mdi-briefcase-download-outline:before{content:"󰰽"}.mdi-briefcase-edit:before{content:"󰪘"}.mdi-briefcase-edit-outline:before{content:"󰰾"}.mdi-briefcase-eye:before{content:"󱟙"}.mdi-briefcase-eye-outline:before{content:"󱟚"}.mdi-briefcase-minus:before{content:"󰨪"}.mdi-briefcase-minus-outline:before{content:"󰰿"}.mdi-briefcase-off:before{content:"󱙘"}.mdi-briefcase-off-outline:before{content:"󱙙"}.mdi-briefcase-outline:before{content:"󰠔"}.mdi-briefcase-plus:before{content:"󰨫"}.mdi-briefcase-plus-outline:before{content:"󰱀"}.mdi-briefcase-remove:before{content:"󰨬"}.mdi-briefcase-remove-outline:before{content:"󰱁"}.mdi-briefcase-search:before{content:"󰨭"}.mdi-briefcase-search-outline:before{content:"󰱂"}.mdi-briefcase-upload:before{content:"󰃙"}.mdi-briefcase-upload-outline:before{content:"󰱃"}.mdi-briefcase-variant:before{content:"󱒔"}.mdi-briefcase-variant-off:before{content:"󱙚"}.mdi-briefcase-variant-off-outline:before{content:"󱙛"}.mdi-briefcase-variant-outline:before{content:"󱒕"}.mdi-brightness-1:before{content:"󰃚"}.mdi-brightness-2:before{content:"󰃛"}.mdi-brightness-3:before{content:"󰃜"}.mdi-brightness-4:before{content:"󰃝"}.mdi-brightness-5:before{content:"󰃞"}.mdi-brightness-6:before{content:"󰃟"}.mdi-brightness-7:before{content:"󰃠"}.mdi-brightness-auto:before{content:"󰃡"}.mdi-brightness-percent:before{content:"󰳲"}.mdi-broadcast:before{content:"󱜠"}.mdi-broadcast-off:before{content:"󱜡"}.mdi-broom:before{content:"󰃢"}.mdi-brush:before{content:"󰃣"}.mdi-brush-off:before{content:"󱝱"}.mdi-brush-outline:before{content:"󱨍"}.mdi-brush-variant:before{content:"󱠓"}.mdi-bucket:before{content:"󱐕"}.mdi-bucket-outline:before{content:"󱐖"}.mdi-buffet:before{content:"󰕸"}.mdi-bug:before{content:"󰃤"}.mdi-bug-check:before{content:"󰨮"}.mdi-bug-check-outline:before{content:"󰨯"}.mdi-bug-outline:before{content:"󰨰"}.mdi-bug-pause:before{content:"󱫵"}.mdi-bug-pause-outline:before{content:"󱫶"}.mdi-bug-play:before{content:"󱫷"}.mdi-bug-play-outline:before{content:"󱫸"}.mdi-bug-stop:before{content:"󱫹"}.mdi-bug-stop-outline:before{content:"󱫺"}.mdi-bugle:before{content:"󰶴"}.mdi-bulkhead-light:before{content:"󱨯"}.mdi-bulldozer:before{content:"󰬢"}.mdi-bullet:before{content:"󰳳"}.mdi-bulletin-board:before{content:"󰃥"}.mdi-bullhorn:before{content:"󰃦"}.mdi-bullhorn-outline:before{content:"󰬣"}.mdi-bullhorn-variant:before{content:"󱥮"}.mdi-bullhorn-variant-outline:before{content:"󱥯"}.mdi-bullseye:before{content:"󰗝"}.mdi-bullseye-arrow:before{content:"󰣉"}.mdi-bulma:before{content:"󱋧"}.mdi-bunk-bed:before{content:"󱌂"}.mdi-bunk-bed-outline:before{content:"󰂗"}.mdi-bus:before{content:"󰃧"}.mdi-bus-alert:before{content:"󰪙"}.mdi-bus-articulated-end:before{content:"󰞜"}.mdi-bus-articulated-front:before{content:"󰞝"}.mdi-bus-clock:before{content:"󰣊"}.mdi-bus-double-decker:before{content:"󰞞"}.mdi-bus-electric:before{content:"󱤝"}.mdi-bus-marker:before{content:"󱈒"}.mdi-bus-multiple:before{content:"󰼿"}.mdi-bus-school:before{content:"󰞟"}.mdi-bus-side:before{content:"󰞠"}.mdi-bus-stop:before{content:"󱀒"}.mdi-bus-stop-covered:before{content:"󱀓"}.mdi-bus-stop-uncovered:before{content:"󱀔"}.mdi-butterfly:before{content:"󱖉"}.mdi-butterfly-outline:before{content:"󱖊"}.mdi-button-cursor:before{content:"󱭏"}.mdi-button-pointer:before{content:"󱭐"}.mdi-cabin-a-frame:before{content:"󱢌"}.mdi-cable-data:before{content:"󱎔"}.mdi-cached:before{content:"󰃨"}.mdi-cactus:before{content:"󰶵"}.mdi-cake:before{content:"󰃩"}.mdi-cake-layered:before{content:"󰃪"}.mdi-cake-variant:before{content:"󰃫"}.mdi-cake-variant-outline:before{content:"󱟰"}.mdi-calculator:before{content:"󰃬"}.mdi-calculator-variant:before{content:"󰪚"}.mdi-calculator-variant-outline:before{content:"󱖦"}.mdi-calendar:before{content:"󰃭"}.mdi-calendar-account:before{content:"󰻗"}.mdi-calendar-account-outline:before{content:"󰻘"}.mdi-calendar-alert:before{content:"󰨱"}.mdi-calendar-alert-outline:before{content:"󱭢"}.mdi-calendar-arrow-left:before{content:"󱄴"}.mdi-calendar-arrow-right:before{content:"󱄵"}.mdi-calendar-badge:before{content:"󱮝"}.mdi-calendar-badge-outline:before{content:"󱮞"}.mdi-calendar-blank:before{content:"󰃮"}.mdi-calendar-blank-multiple:before{content:"󱁳"}.mdi-calendar-blank-outline:before{content:"󰭦"}.mdi-calendar-check:before{content:"󰃯"}.mdi-calendar-check-outline:before{content:"󰱄"}.mdi-calendar-clock:before{content:"󰃰"}.mdi-calendar-clock-outline:before{content:"󱛡"}.mdi-calendar-collapse-horizontal:before{content:"󱢝"}.mdi-calendar-collapse-horizontal-outline:before{content:"󱭣"}.mdi-calendar-cursor:before{content:"󱕻"}.mdi-calendar-cursor-outline:before{content:"󱭤"}.mdi-calendar-edit:before{content:"󰢧"}.mdi-calendar-edit-outline:before{content:"󱭥"}.mdi-calendar-end:before{content:"󱙬"}.mdi-calendar-end-outline:before{content:"󱭦"}.mdi-calendar-expand-horizontal:before{content:"󱢞"}.mdi-calendar-expand-horizontal-outline:before{content:"󱭧"}.mdi-calendar-export:before{content:"󰬤"}.mdi-calendar-export-outline:before{content:"󱭨"}.mdi-calendar-filter:before{content:"󱨲"}.mdi-calendar-filter-outline:before{content:"󱨳"}.mdi-calendar-heart:before{content:"󰧒"}.mdi-calendar-heart-outline:before{content:"󱭩"}.mdi-calendar-import:before{content:"󰬥"}.mdi-calendar-import-outline:before{content:"󱭪"}.mdi-calendar-lock:before{content:"󱙁"}.mdi-calendar-lock-open:before{content:"󱭛"}.mdi-calendar-lock-open-outline:before{content:"󱭜"}.mdi-calendar-lock-outline:before{content:"󱙂"}.mdi-calendar-minus:before{content:"󰵜"}.mdi-calendar-minus-outline:before{content:"󱭫"}.mdi-calendar-month:before{content:"󰸗"}.mdi-calendar-month-outline:before{content:"󰸘"}.mdi-calendar-multiple:before{content:"󰃱"}.mdi-calendar-multiple-check:before{content:"󰃲"}.mdi-calendar-multiselect:before{content:"󰨲"}.mdi-calendar-multiselect-outline:before{content:"󱭕"}.mdi-calendar-outline:before{content:"󰭧"}.mdi-calendar-plus:before{content:"󰃳"}.mdi-calendar-plus-outline:before{content:"󱭬"}.mdi-calendar-question:before{content:"󰚒"}.mdi-calendar-question-outline:before{content:"󱭭"}.mdi-calendar-range:before{content:"󰙹"}.mdi-calendar-range-outline:before{content:"󰭨"}.mdi-calendar-refresh:before{content:"󰇡"}.mdi-calendar-refresh-outline:before{content:"󰈃"}.mdi-calendar-remove:before{content:"󰃴"}.mdi-calendar-remove-outline:before{content:"󰱅"}.mdi-calendar-search:before{content:"󰥌"}.mdi-calendar-search-outline:before{content:"󱭮"}.mdi-calendar-star:before{content:"󰧓"}.mdi-calendar-star-four-points:before{content:"󱰟"}.mdi-calendar-star-outline:before{content:"󱭓"}.mdi-calendar-start:before{content:"󱙭"}.mdi-calendar-start-outline:before{content:"󱭯"}.mdi-calendar-sync:before{content:"󰺎"}.mdi-calendar-sync-outline:before{content:"󰺏"}.mdi-calendar-text:before{content:"󰃵"}.mdi-calendar-text-outline:before{content:"󰱆"}.mdi-calendar-today:before{content:"󰃶"}.mdi-calendar-today-outline:before{content:"󱨰"}.mdi-calendar-week:before{content:"󰨳"}.mdi-calendar-week-begin:before{content:"󰨴"}.mdi-calendar-week-begin-outline:before{content:"󱨱"}.mdi-calendar-week-outline:before{content:"󱨴"}.mdi-calendar-weekend:before{content:"󰻙"}.mdi-calendar-weekend-outline:before{content:"󰻚"}.mdi-call-made:before{content:"󰃷"}.mdi-call-merge:before{content:"󰃸"}.mdi-call-missed:before{content:"󰃹"}.mdi-call-received:before{content:"󰃺"}.mdi-call-split:before{content:"󰃻"}.mdi-camcorder:before{content:"󰃼"}.mdi-camcorder-off:before{content:"󰃿"}.mdi-camera:before{content:"󰄀"}.mdi-camera-account:before{content:"󰣋"}.mdi-camera-burst:before{content:"󰚓"}.mdi-camera-control:before{content:"󰭩"}.mdi-camera-document:before{content:"󱡱"}.mdi-camera-document-off:before{content:"󱡲"}.mdi-camera-enhance:before{content:"󰄁"}.mdi-camera-enhance-outline:before{content:"󰭪"}.mdi-camera-flip:before{content:"󱗙"}.mdi-camera-flip-outline:before{content:"󱗚"}.mdi-camera-front:before{content:"󰄂"}.mdi-camera-front-variant:before{content:"󰄃"}.mdi-camera-gopro:before{content:"󰞡"}.mdi-camera-image:before{content:"󰣌"}.mdi-camera-iris:before{content:"󰄄"}.mdi-camera-lock:before{content:"󱨔"}.mdi-camera-lock-open:before{content:"󱰍"}.mdi-camera-lock-open-outline:before{content:"󱰎"}.mdi-camera-lock-outline:before{content:"󱨕"}.mdi-camera-marker:before{content:"󱦧"}.mdi-camera-marker-outline:before{content:"󱦨"}.mdi-camera-metering-center:before{content:"󰞢"}.mdi-camera-metering-matrix:before{content:"󰞣"}.mdi-camera-metering-partial:before{content:"󰞤"}.mdi-camera-metering-spot:before{content:"󰞥"}.mdi-camera-off:before{content:"󰗟"}.mdi-camera-off-outline:before{content:"󱦿"}.mdi-camera-outline:before{content:"󰵝"}.mdi-camera-party-mode:before{content:"󰄅"}.mdi-camera-plus:before{content:"󰻛"}.mdi-camera-plus-outline:before{content:"󰻜"}.mdi-camera-rear:before{content:"󰄆"}.mdi-camera-rear-variant:before{content:"󰄇"}.mdi-camera-retake:before{content:"󰸙"}.mdi-camera-retake-outline:before{content:"󰸚"}.mdi-camera-switch:before{content:"󰄈"}.mdi-camera-switch-outline:before{content:"󰡊"}.mdi-camera-timer:before{content:"󰄉"}.mdi-camera-wireless:before{content:"󰶶"}.mdi-camera-wireless-outline:before{content:"󰶷"}.mdi-campfire:before{content:"󰻝"}.mdi-cancel:before{content:"󰜺"}.mdi-candelabra:before{content:"󱟒"}.mdi-candelabra-fire:before{content:"󱟓"}.mdi-candle:before{content:"󰗢"}.mdi-candy:before{content:"󱥰"}.mdi-candy-off:before{content:"󱥱"}.mdi-candy-off-outline:before{content:"󱥲"}.mdi-candy-outline:before{content:"󱥳"}.mdi-candycane:before{content:"󰄊"}.mdi-cannabis:before{content:"󰞦"}.mdi-cannabis-off:before{content:"󱙮"}.mdi-caps-lock:before{content:"󰪛"}.mdi-car:before{content:"󰄋"}.mdi-car-2-plus:before{content:"󱀕"}.mdi-car-3-plus:before{content:"󱀖"}.mdi-car-arrow-left:before{content:"󱎲"}.mdi-car-arrow-right:before{content:"󱎳"}.mdi-car-back:before{content:"󰸛"}.mdi-car-battery:before{content:"󰄌"}.mdi-car-brake-abs:before{content:"󰱇"}.mdi-car-brake-alert:before{content:"󰱈"}.mdi-car-brake-fluid-level:before{content:"󱤉"}.mdi-car-brake-hold:before{content:"󰵞"}.mdi-car-brake-low-pressure:before{content:"󱤊"}.mdi-car-brake-parking:before{content:"󰵟"}.mdi-car-brake-retarder:before{content:"󱀗"}.mdi-car-brake-temperature:before{content:"󱤋"}.mdi-car-brake-worn-linings:before{content:"󱤌"}.mdi-car-child-seat:before{content:"󰾣"}.mdi-car-clock:before{content:"󱥴"}.mdi-car-clutch:before{content:"󱀘"}.mdi-car-cog:before{content:"󱏌"}.mdi-car-connected:before{content:"󰄍"}.mdi-car-convertible:before{content:"󰞧"}.mdi-car-coolant-level:before{content:"󱀙"}.mdi-car-cruise-control:before{content:"󰵠"}.mdi-car-defrost-front:before{content:"󰵡"}.mdi-car-defrost-rear:before{content:"󰵢"}.mdi-car-door:before{content:"󰭫"}.mdi-car-door-lock:before{content:"󱂝"}.mdi-car-electric:before{content:"󰭬"}.mdi-car-electric-outline:before{content:"󱖵"}.mdi-car-emergency:before{content:"󱘏"}.mdi-car-esp:before{content:"󰱉"}.mdi-car-estate:before{content:"󰞨"}.mdi-car-hatchback:before{content:"󰞩"}.mdi-car-info:before{content:"󱆾"}.mdi-car-key:before{content:"󰭭"}.mdi-car-lifted-pickup:before{content:"󱔭"}.mdi-car-light-alert:before{content:"󱤍"}.mdi-car-light-dimmed:before{content:"󰱊"}.mdi-car-light-fog:before{content:"󰱋"}.mdi-car-light-high:before{content:"󰱌"}.mdi-car-limousine:before{content:"󰣍"}.mdi-car-multiple:before{content:"󰭮"}.mdi-car-off:before{content:"󰸜"}.mdi-car-outline:before{content:"󱓭"}.mdi-car-parking-lights:before{content:"󰵣"}.mdi-car-pickup:before{content:"󰞪"}.mdi-car-search:before{content:"󱮍"}.mdi-car-search-outline:before{content:"󱮎"}.mdi-car-seat:before{content:"󰾤"}.mdi-car-seat-cooler:before{content:"󰾥"}.mdi-car-seat-heater:before{content:"󰾦"}.mdi-car-select:before{content:"󱡹"}.mdi-car-settings:before{content:"󱏍"}.mdi-car-shift-pattern:before{content:"󰽀"}.mdi-car-side:before{content:"󰞫"}.mdi-car-speed-limiter:before{content:"󱤎"}.mdi-car-sports:before{content:"󰞬"}.mdi-car-tire-alert:before{content:"󰱍"}.mdi-car-traction-control:before{content:"󰵤"}.mdi-car-turbocharger:before{content:"󱀚"}.mdi-car-wash:before{content:"󰄎"}.mdi-car-windshield:before{content:"󱀛"}.mdi-car-windshield-outline:before{content:"󱀜"}.mdi-car-wireless:before{content:"󱡸"}.mdi-car-wrench:before{content:"󱠔"}.mdi-carabiner:before{content:"󱓀"}.mdi-caravan:before{content:"󰞭"}.mdi-card:before{content:"󰭯"}.mdi-card-account-details:before{content:"󰗒"}.mdi-card-account-details-outline:before{content:"󰶫"}.mdi-card-account-details-star:before{content:"󰊣"}.mdi-card-account-details-star-outline:before{content:"󰛛"}.mdi-card-account-mail:before{content:"󰆎"}.mdi-card-account-mail-outline:before{content:"󰺘"}.mdi-card-account-phone:before{content:"󰺙"}.mdi-card-account-phone-outline:before{content:"󰺚"}.mdi-card-bulleted:before{content:"󰭰"}.mdi-card-bulleted-off:before{content:"󰭱"}.mdi-card-bulleted-off-outline:before{content:"󰭲"}.mdi-card-bulleted-outline:before{content:"󰭳"}.mdi-card-bulleted-settings:before{content:"󰭴"}.mdi-card-bulleted-settings-outline:before{content:"󰭵"}.mdi-card-minus:before{content:"󱘀"}.mdi-card-minus-outline:before{content:"󱘁"}.mdi-card-multiple:before{content:"󱟱"}.mdi-card-multiple-outline:before{content:"󱟲"}.mdi-card-off:before{content:"󱘂"}.mdi-card-off-outline:before{content:"󱘃"}.mdi-card-outline:before{content:"󰭶"}.mdi-card-plus:before{content:"󱇿"}.mdi-card-plus-outline:before{content:"󱈀"}.mdi-card-remove:before{content:"󱘄"}.mdi-card-remove-outline:before{content:"󱘅"}.mdi-card-search:before{content:"󱁴"}.mdi-card-search-outline:before{content:"󱁵"}.mdi-card-text:before{content:"󰭷"}.mdi-card-text-outline:before{content:"󰭸"}.mdi-cards:before{content:"󰘸"}.mdi-cards-club:before{content:"󰣎"}.mdi-cards-club-outline:before{content:"󱢟"}.mdi-cards-diamond:before{content:"󰣏"}.mdi-cards-diamond-outline:before{content:"󱀝"}.mdi-cards-heart:before{content:"󰣐"}.mdi-cards-heart-outline:before{content:"󱢠"}.mdi-cards-outline:before{content:"󰘹"}.mdi-cards-playing:before{content:"󱢡"}.mdi-cards-playing-club:before{content:"󱢢"}.mdi-cards-playing-club-multiple:before{content:"󱢣"}.mdi-cards-playing-club-multiple-outline:before{content:"󱢤"}.mdi-cards-playing-club-outline:before{content:"󱢥"}.mdi-cards-playing-diamond:before{content:"󱢦"}.mdi-cards-playing-diamond-multiple:before{content:"󱢧"}.mdi-cards-playing-diamond-multiple-outline:before{content:"󱢨"}.mdi-cards-playing-diamond-outline:before{content:"󱢩"}.mdi-cards-playing-heart:before{content:"󱢪"}.mdi-cards-playing-heart-multiple:before{content:"󱢫"}.mdi-cards-playing-heart-multiple-outline:before{content:"󱢬"}.mdi-cards-playing-heart-outline:before{content:"󱢭"}.mdi-cards-playing-outline:before{content:"󰘺"}.mdi-cards-playing-spade:before{content:"󱢮"}.mdi-cards-playing-spade-multiple:before{content:"󱢯"}.mdi-cards-playing-spade-multiple-outline:before{content:"󱢰"}.mdi-cards-playing-spade-outline:before{content:"󱢱"}.mdi-cards-spade:before{content:"󰣑"}.mdi-cards-spade-outline:before{content:"󱢲"}.mdi-cards-variant:before{content:"󰛇"}.mdi-carrot:before{content:"󰄏"}.mdi-cart:before{content:"󰄐"}.mdi-cart-arrow-down:before{content:"󰵦"}.mdi-cart-arrow-right:before{content:"󰱎"}.mdi-cart-arrow-up:before{content:"󰵧"}.mdi-cart-check:before{content:"󱗪"}.mdi-cart-heart:before{content:"󱣠"}.mdi-cart-minus:before{content:"󰵨"}.mdi-cart-off:before{content:"󰙫"}.mdi-cart-outline:before{content:"󰄑"}.mdi-cart-percent:before{content:"󱮮"}.mdi-cart-plus:before{content:"󰄒"}.mdi-cart-remove:before{content:"󰵩"}.mdi-cart-variant:before{content:"󱗫"}.mdi-case-sensitive-alt:before{content:"󰄓"}.mdi-cash:before{content:"󰄔"}.mdi-cash-100:before{content:"󰄕"}.mdi-cash-check:before{content:"󱓮"}.mdi-cash-clock:before{content:"󱪑"}.mdi-cash-fast:before{content:"󱡜"}.mdi-cash-lock:before{content:"󱓪"}.mdi-cash-lock-open:before{content:"󱓫"}.mdi-cash-marker:before{content:"󰶸"}.mdi-cash-minus:before{content:"󱉠"}.mdi-cash-multiple:before{content:"󰄖"}.mdi-cash-off:before{content:"󱱹"}.mdi-cash-plus:before{content:"󱉡"}.mdi-cash-refund:before{content:"󰪜"}.mdi-cash-register:before{content:"󰳴"}.mdi-cash-remove:before{content:"󱉢"}.mdi-cash-sync:before{content:"󱪒"}.mdi-cassette:before{content:"󰧔"}.mdi-cast:before{content:"󰄘"}.mdi-cast-audio:before{content:"󱀞"}.mdi-cast-audio-variant:before{content:"󱝉"}.mdi-cast-connected:before{content:"󰄙"}.mdi-cast-education:before{content:"󰸝"}.mdi-cast-off:before{content:"󰞊"}.mdi-cast-variant:before{content:"󰀟"}.mdi-castle:before{content:"󰄚"}.mdi-cat:before{content:"󰄛"}.mdi-cctv:before{content:"󰞮"}.mdi-cctv-off:before{content:"󱡟"}.mdi-ceiling-fan:before{content:"󱞗"}.mdi-ceiling-fan-light:before{content:"󱞘"}.mdi-ceiling-light:before{content:"󰝩"}.mdi-ceiling-light-multiple:before{content:"󱣝"}.mdi-ceiling-light-multiple-outline:before{content:"󱣞"}.mdi-ceiling-light-outline:before{content:"󱟇"}.mdi-cellphone:before{content:"󰄜"}.mdi-cellphone-arrow-down:before{content:"󰧕"}.mdi-cellphone-arrow-down-variant:before{content:"󱧅"}.mdi-cellphone-basic:before{content:"󰄞"}.mdi-cellphone-charging:before{content:"󱎗"}.mdi-cellphone-check:before{content:"󱟽"}.mdi-cellphone-cog:before{content:"󰥑"}.mdi-cellphone-dock:before{content:"󰄟"}.mdi-cellphone-information:before{content:"󰽁"}.mdi-cellphone-key:before{content:"󰥎"}.mdi-cellphone-link:before{content:"󰄡"}.mdi-cellphone-link-off:before{content:"󰄢"}.mdi-cellphone-lock:before{content:"󰥏"}.mdi-cellphone-marker:before{content:"󱠺"}.mdi-cellphone-message:before{content:"󰣓"}.mdi-cellphone-message-off:before{content:"󱃒"}.mdi-cellphone-nfc:before{content:"󰺐"}.mdi-cellphone-nfc-off:before{content:"󱋘"}.mdi-cellphone-off:before{content:"󰥐"}.mdi-cellphone-play:before{content:"󱀟"}.mdi-cellphone-remove:before{content:"󰥍"}.mdi-cellphone-screenshot:before{content:"󰨵"}.mdi-cellphone-settings:before{content:"󰄣"}.mdi-cellphone-sound:before{content:"󰥒"}.mdi-cellphone-text:before{content:"󰣒"}.mdi-cellphone-wireless:before{content:"󰠕"}.mdi-centos:before{content:"󱄚"}.mdi-certificate:before{content:"󰄤"}.mdi-certificate-outline:before{content:"󱆈"}.mdi-chair-rolling:before{content:"󰽈"}.mdi-chair-school:before{content:"󰄥"}.mdi-chandelier:before{content:"󱞓"}.mdi-charity:before{content:"󰱏"}.mdi-chart-arc:before{content:"󰄦"}.mdi-chart-areaspline:before{content:"󰄧"}.mdi-chart-areaspline-variant:before{content:"󰺑"}.mdi-chart-bar:before{content:"󰄨"}.mdi-chart-bar-stacked:before{content:"󰝪"}.mdi-chart-bell-curve:before{content:"󰱐"}.mdi-chart-bell-curve-cumulative:before{content:"󰾧"}.mdi-chart-box:before{content:"󱕍"}.mdi-chart-box-outline:before{content:"󱕎"}.mdi-chart-box-plus-outline:before{content:"󱕏"}.mdi-chart-bubble:before{content:"󰗣"}.mdi-chart-donut:before{content:"󰞯"}.mdi-chart-donut-variant:before{content:"󰞰"}.mdi-chart-gantt:before{content:"󰙬"}.mdi-chart-histogram:before{content:"󰄩"}.mdi-chart-line:before{content:"󰄪"}.mdi-chart-line-stacked:before{content:"󰝫"}.mdi-chart-line-variant:before{content:"󰞱"}.mdi-chart-multiline:before{content:"󰣔"}.mdi-chart-multiple:before{content:"󱈓"}.mdi-chart-pie:before{content:"󰄫"}.mdi-chart-pie-outline:before{content:"󱯟"}.mdi-chart-ppf:before{content:"󱎀"}.mdi-chart-sankey:before{content:"󱇟"}.mdi-chart-sankey-variant:before{content:"󱇠"}.mdi-chart-scatter-plot:before{content:"󰺒"}.mdi-chart-scatter-plot-hexbin:before{content:"󰙭"}.mdi-chart-timeline:before{content:"󰙮"}.mdi-chart-timeline-variant:before{content:"󰺓"}.mdi-chart-timeline-variant-shimmer:before{content:"󱖶"}.mdi-chart-tree:before{content:"󰺔"}.mdi-chart-waterfall:before{content:"󱤘"}.mdi-chat:before{content:"󰭹"}.mdi-chat-alert:before{content:"󰭺"}.mdi-chat-alert-outline:before{content:"󱋉"}.mdi-chat-minus:before{content:"󱐐"}.mdi-chat-minus-outline:before{content:"󱐓"}.mdi-chat-outline:before{content:"󰻞"}.mdi-chat-plus:before{content:"󱐏"}.mdi-chat-plus-outline:before{content:"󱐒"}.mdi-chat-processing:before{content:"󰭻"}.mdi-chat-processing-outline:before{content:"󱋊"}.mdi-chat-question:before{content:"󱜸"}.mdi-chat-question-outline:before{content:"󱜹"}.mdi-chat-remove:before{content:"󱐑"}.mdi-chat-remove-outline:before{content:"󱐔"}.mdi-chat-sleep:before{content:"󱋑"}.mdi-chat-sleep-outline:before{content:"󱋒"}.mdi-check:before{content:"󰄬"}.mdi-check-all:before{content:"󰄭"}.mdi-check-bold:before{content:"󰸞"}.mdi-check-circle:before{content:"󰗠"}.mdi-check-circle-outline:before{content:"󰗡"}.mdi-check-decagram:before{content:"󰞑"}.mdi-check-decagram-outline:before{content:"󱝀"}.mdi-check-network:before{content:"󰱓"}.mdi-check-network-outline:before{content:"󰱔"}.mdi-check-outline:before{content:"󰡕"}.mdi-check-underline:before{content:"󰸟"}.mdi-check-underline-circle:before{content:"󰸠"}.mdi-check-underline-circle-outline:before{content:"󰸡"}.mdi-checkbook:before{content:"󰪝"}.mdi-checkbook-arrow-left:before{content:"󱰝"}.mdi-checkbook-arrow-right:before{content:"󱰞"}.mdi-checkbox-blank:before{content:"󰄮"}.mdi-checkbox-blank-badge:before{content:"󱅶"}.mdi-checkbox-blank-badge-outline:before{content:"󰄗"}.mdi-checkbox-blank-circle:before{content:"󰄯"}.mdi-checkbox-blank-circle-outline:before{content:"󰄰"}.mdi-checkbox-blank-off:before{content:"󱋬"}.mdi-checkbox-blank-off-outline:before{content:"󱋭"}.mdi-checkbox-blank-outline:before{content:"󰄱"}.mdi-checkbox-intermediate:before{content:"󰡖"}.mdi-checkbox-intermediate-variant:before{content:"󱭔"}.mdi-checkbox-marked:before{content:"󰄲"}.mdi-checkbox-marked-circle:before{content:"󰄳"}.mdi-checkbox-marked-circle-auto-outline:before{content:"󱰦"}.mdi-checkbox-marked-circle-minus-outline:before{content:"󱰧"}.mdi-checkbox-marked-circle-outline:before{content:"󰄴"}.mdi-checkbox-marked-circle-plus-outline:before{content:"󱤧"}.mdi-checkbox-marked-outline:before{content:"󰄵"}.mdi-checkbox-multiple-blank:before{content:"󰄶"}.mdi-checkbox-multiple-blank-circle:before{content:"󰘻"}.mdi-checkbox-multiple-blank-circle-outline:before{content:"󰘼"}.mdi-checkbox-multiple-blank-outline:before{content:"󰄷"}.mdi-checkbox-multiple-marked:before{content:"󰄸"}.mdi-checkbox-multiple-marked-circle:before{content:"󰘽"}.mdi-checkbox-multiple-marked-circle-outline:before{content:"󰘾"}.mdi-checkbox-multiple-marked-outline:before{content:"󰄹"}.mdi-checkbox-multiple-outline:before{content:"󰱑"}.mdi-checkbox-outline:before{content:"󰱒"}.mdi-checkerboard:before{content:"󰄺"}.mdi-checkerboard-minus:before{content:"󱈂"}.mdi-checkerboard-plus:before{content:"󱈁"}.mdi-checkerboard-remove:before{content:"󱈃"}.mdi-cheese:before{content:"󱊹"}.mdi-cheese-off:before{content:"󱏮"}.mdi-chef-hat:before{content:"󰭼"}.mdi-chemical-weapon:before{content:"󰄻"}.mdi-chess-bishop:before{content:"󰡜"}.mdi-chess-king:before{content:"󰡗"}.mdi-chess-knight:before{content:"󰡘"}.mdi-chess-pawn:before{content:"󰡙"}.mdi-chess-queen:before{content:"󰡚"}.mdi-chess-rook:before{content:"󰡛"}.mdi-chevron-double-down:before{content:"󰄼"}.mdi-chevron-double-left:before{content:"󰄽"}.mdi-chevron-double-right:before{content:"󰄾"}.mdi-chevron-double-up:before{content:"󰄿"}.mdi-chevron-down:before{content:"󰅀"}.mdi-chevron-down-box:before{content:"󰧖"}.mdi-chevron-down-box-outline:before{content:"󰧗"}.mdi-chevron-down-circle:before{content:"󰬦"}.mdi-chevron-down-circle-outline:before{content:"󰬧"}.mdi-chevron-left:before{content:"󰅁"}.mdi-chevron-left-box:before{content:"󰧘"}.mdi-chevron-left-box-outline:before{content:"󰧙"}.mdi-chevron-left-circle:before{content:"󰬨"}.mdi-chevron-left-circle-outline:before{content:"󰬩"}.mdi-chevron-right:before{content:"󰅂"}.mdi-chevron-right-box:before{content:"󰧚"}.mdi-chevron-right-box-outline:before{content:"󰧛"}.mdi-chevron-right-circle:before{content:"󰬪"}.mdi-chevron-right-circle-outline:before{content:"󰬫"}.mdi-chevron-triple-down:before{content:"󰶹"}.mdi-chevron-triple-left:before{content:"󰶺"}.mdi-chevron-triple-right:before{content:"󰶻"}.mdi-chevron-triple-up:before{content:"󰶼"}.mdi-chevron-up:before{content:"󰅃"}.mdi-chevron-up-box:before{content:"󰧜"}.mdi-chevron-up-box-outline:before{content:"󰧝"}.mdi-chevron-up-circle:before{content:"󰬬"}.mdi-chevron-up-circle-outline:before{content:"󰬭"}.mdi-chili-alert:before{content:"󱟪"}.mdi-chili-alert-outline:before{content:"󱟫"}.mdi-chili-hot:before{content:"󰞲"}.mdi-chili-hot-outline:before{content:"󱟬"}.mdi-chili-medium:before{content:"󰞳"}.mdi-chili-medium-outline:before{content:"󱟭"}.mdi-chili-mild:before{content:"󰞴"}.mdi-chili-mild-outline:before{content:"󱟮"}.mdi-chili-off:before{content:"󱑧"}.mdi-chili-off-outline:before{content:"󱟯"}.mdi-chip:before{content:"󰘚"}.mdi-church:before{content:"󰅄"}.mdi-church-outline:before{content:"󱬂"}.mdi-cigar:before{content:"󱆉"}.mdi-cigar-off:before{content:"󱐛"}.mdi-circle:before{content:"󰝥"}.mdi-circle-box:before{content:"󱗜"}.mdi-circle-box-outline:before{content:"󱗝"}.mdi-circle-double:before{content:"󰺕"}.mdi-circle-edit-outline:before{content:"󰣕"}.mdi-circle-expand:before{content:"󰺖"}.mdi-circle-half:before{content:"󱎕"}.mdi-circle-half-full:before{content:"󱎖"}.mdi-circle-medium:before{content:"󰧞"}.mdi-circle-multiple:before{content:"󰬸"}.mdi-circle-multiple-outline:before{content:"󰚕"}.mdi-circle-off-outline:before{content:"󱃓"}.mdi-circle-opacity:before{content:"󱡓"}.mdi-circle-outline:before{content:"󰝦"}.mdi-circle-slice-1:before{content:"󰪞"}.mdi-circle-slice-2:before{content:"󰪟"}.mdi-circle-slice-3:before{content:"󰪠"}.mdi-circle-slice-4:before{content:"󰪡"}.mdi-circle-slice-5:before{content:"󰪢"}.mdi-circle-slice-6:before{content:"󰪣"}.mdi-circle-slice-7:before{content:"󰪤"}.mdi-circle-slice-8:before{content:"󰪥"}.mdi-circle-small:before{content:"󰧟"}.mdi-circular-saw:before{content:"󰸢"}.mdi-city:before{content:"󰅆"}.mdi-city-switch:before{content:"󱰨"}.mdi-city-variant:before{content:"󰨶"}.mdi-city-variant-outline:before{content:"󰨷"}.mdi-clipboard:before{content:"󰅇"}.mdi-clipboard-account:before{content:"󰅈"}.mdi-clipboard-account-outline:before{content:"󰱕"}.mdi-clipboard-alert:before{content:"󰅉"}.mdi-clipboard-alert-outline:before{content:"󰳷"}.mdi-clipboard-arrow-down:before{content:"󰅊"}.mdi-clipboard-arrow-down-outline:before{content:"󰱖"}.mdi-clipboard-arrow-left:before{content:"󰅋"}.mdi-clipboard-arrow-left-outline:before{content:"󰳸"}.mdi-clipboard-arrow-right:before{content:"󰳹"}.mdi-clipboard-arrow-right-outline:before{content:"󰳺"}.mdi-clipboard-arrow-up:before{content:"󰱗"}.mdi-clipboard-arrow-up-outline:before{content:"󰱘"}.mdi-clipboard-check:before{content:"󰅎"}.mdi-clipboard-check-multiple:before{content:"󱉣"}.mdi-clipboard-check-multiple-outline:before{content:"󱉤"}.mdi-clipboard-check-outline:before{content:"󰢨"}.mdi-clipboard-clock:before{content:"󱛢"}.mdi-clipboard-clock-outline:before{content:"󱛣"}.mdi-clipboard-edit:before{content:"󱓥"}.mdi-clipboard-edit-outline:before{content:"󱓦"}.mdi-clipboard-file:before{content:"󱉥"}.mdi-clipboard-file-outline:before{content:"󱉦"}.mdi-clipboard-flow:before{content:"󰛈"}.mdi-clipboard-flow-outline:before{content:"󱄗"}.mdi-clipboard-list:before{content:"󱃔"}.mdi-clipboard-list-outline:before{content:"󱃕"}.mdi-clipboard-minus:before{content:"󱘘"}.mdi-clipboard-minus-outline:before{content:"󱘙"}.mdi-clipboard-multiple:before{content:"󱉧"}.mdi-clipboard-multiple-outline:before{content:"󱉨"}.mdi-clipboard-off:before{content:"󱘚"}.mdi-clipboard-off-outline:before{content:"󱘛"}.mdi-clipboard-outline:before{content:"󰅌"}.mdi-clipboard-play:before{content:"󰱙"}.mdi-clipboard-play-multiple:before{content:"󱉩"}.mdi-clipboard-play-multiple-outline:before{content:"󱉪"}.mdi-clipboard-play-outline:before{content:"󰱚"}.mdi-clipboard-plus:before{content:"󰝑"}.mdi-clipboard-plus-outline:before{content:"󱌟"}.mdi-clipboard-pulse:before{content:"󰡝"}.mdi-clipboard-pulse-outline:before{content:"󰡞"}.mdi-clipboard-remove:before{content:"󱘜"}.mdi-clipboard-remove-outline:before{content:"󱘝"}.mdi-clipboard-search:before{content:"󱘞"}.mdi-clipboard-search-outline:before{content:"󱘟"}.mdi-clipboard-text:before{content:"󰅍"}.mdi-clipboard-text-clock:before{content:"󱣹"}.mdi-clipboard-text-clock-outline:before{content:"󱣺"}.mdi-clipboard-text-multiple:before{content:"󱉫"}.mdi-clipboard-text-multiple-outline:before{content:"󱉬"}.mdi-clipboard-text-off:before{content:"󱘠"}.mdi-clipboard-text-off-outline:before{content:"󱘡"}.mdi-clipboard-text-outline:before{content:"󰨸"}.mdi-clipboard-text-play:before{content:"󰱛"}.mdi-clipboard-text-play-outline:before{content:"󰱜"}.mdi-clipboard-text-search:before{content:"󱘢"}.mdi-clipboard-text-search-outline:before{content:"󱘣"}.mdi-clippy:before{content:"󰅏"}.mdi-clock:before{content:"󰥔"}.mdi-clock-alert:before{content:"󰥕"}.mdi-clock-alert-outline:before{content:"󰗎"}.mdi-clock-check:before{content:"󰾨"}.mdi-clock-check-outline:before{content:"󰾩"}.mdi-clock-digital:before{content:"󰺗"}.mdi-clock-edit:before{content:"󱦺"}.mdi-clock-edit-outline:before{content:"󱦻"}.mdi-clock-end:before{content:"󰅑"}.mdi-clock-fast:before{content:"󰅒"}.mdi-clock-in:before{content:"󰅓"}.mdi-clock-minus:before{content:"󱡣"}.mdi-clock-minus-outline:before{content:"󱡤"}.mdi-clock-out:before{content:"󰅔"}.mdi-clock-outline:before{content:"󰅐"}.mdi-clock-plus:before{content:"󱡡"}.mdi-clock-plus-outline:before{content:"󱡢"}.mdi-clock-remove:before{content:"󱡥"}.mdi-clock-remove-outline:before{content:"󱡦"}.mdi-clock-star-four-points:before{content:"󱰩"}.mdi-clock-star-four-points-outline:before{content:"󱰪"}.mdi-clock-start:before{content:"󰅕"}.mdi-clock-time-eight:before{content:"󱑆"}.mdi-clock-time-eight-outline:before{content:"󱑒"}.mdi-clock-time-eleven:before{content:"󱑉"}.mdi-clock-time-eleven-outline:before{content:"󱑕"}.mdi-clock-time-five:before{content:"󱑃"}.mdi-clock-time-five-outline:before{content:"󱑏"}.mdi-clock-time-four:before{content:"󱑂"}.mdi-clock-time-four-outline:before{content:"󱑎"}.mdi-clock-time-nine:before{content:"󱑇"}.mdi-clock-time-nine-outline:before{content:"󱑓"}.mdi-clock-time-one:before{content:"󱐿"}.mdi-clock-time-one-outline:before{content:"󱑋"}.mdi-clock-time-seven:before{content:"󱑅"}.mdi-clock-time-seven-outline:before{content:"󱑑"}.mdi-clock-time-six:before{content:"󱑄"}.mdi-clock-time-six-outline:before{content:"󱑐"}.mdi-clock-time-ten:before{content:"󱑈"}.mdi-clock-time-ten-outline:before{content:"󱑔"}.mdi-clock-time-three:before{content:"󱑁"}.mdi-clock-time-three-outline:before{content:"󱑍"}.mdi-clock-time-twelve:before{content:"󱑊"}.mdi-clock-time-twelve-outline:before{content:"󱑖"}.mdi-clock-time-two:before{content:"󱑀"}.mdi-clock-time-two-outline:before{content:"󱑌"}.mdi-close:before{content:"󰅖"}.mdi-close-box:before{content:"󰅗"}.mdi-close-box-multiple:before{content:"󰱝"}.mdi-close-box-multiple-outline:before{content:"󰱞"}.mdi-close-box-outline:before{content:"󰅘"}.mdi-close-circle:before{content:"󰅙"}.mdi-close-circle-multiple:before{content:"󰘪"}.mdi-close-circle-multiple-outline:before{content:"󰢃"}.mdi-close-circle-outline:before{content:"󰅚"}.mdi-close-network:before{content:"󰅛"}.mdi-close-network-outline:before{content:"󰱟"}.mdi-close-octagon:before{content:"󰅜"}.mdi-close-octagon-outline:before{content:"󰅝"}.mdi-close-outline:before{content:"󰛉"}.mdi-close-thick:before{content:"󱎘"}.mdi-closed-caption:before{content:"󰅞"}.mdi-closed-caption-outline:before{content:"󰶽"}.mdi-cloud:before{content:"󰅟"}.mdi-cloud-alert:before{content:"󰧠"}.mdi-cloud-alert-outline:before{content:"󱯠"}.mdi-cloud-arrow-down:before{content:"󱯡"}.mdi-cloud-arrow-down-outline:before{content:"󱯢"}.mdi-cloud-arrow-left:before{content:"󱯣"}.mdi-cloud-arrow-left-outline:before{content:"󱯤"}.mdi-cloud-arrow-right:before{content:"󱯥"}.mdi-cloud-arrow-right-outline:before{content:"󱯦"}.mdi-cloud-arrow-up:before{content:"󱯧"}.mdi-cloud-arrow-up-outline:before{content:"󱯨"}.mdi-cloud-braces:before{content:"󰞵"}.mdi-cloud-cancel:before{content:"󱯩"}.mdi-cloud-cancel-outline:before{content:"󱯪"}.mdi-cloud-check:before{content:"󱯫"}.mdi-cloud-check-outline:before{content:"󱯬"}.mdi-cloud-check-variant:before{content:"󰅠"}.mdi-cloud-check-variant-outline:before{content:"󱋌"}.mdi-cloud-circle:before{content:"󰅡"}.mdi-cloud-circle-outline:before{content:"󱯭"}.mdi-cloud-clock:before{content:"󱯮"}.mdi-cloud-clock-outline:before{content:"󱯯"}.mdi-cloud-cog:before{content:"󱯰"}.mdi-cloud-cog-outline:before{content:"󱯱"}.mdi-cloud-download:before{content:"󰅢"}.mdi-cloud-download-outline:before{content:"󰭽"}.mdi-cloud-lock:before{content:"󱇱"}.mdi-cloud-lock-open:before{content:"󱯲"}.mdi-cloud-lock-open-outline:before{content:"󱯳"}.mdi-cloud-lock-outline:before{content:"󱇲"}.mdi-cloud-minus:before{content:"󱯴"}.mdi-cloud-minus-outline:before{content:"󱯵"}.mdi-cloud-off:before{content:"󱯶"}.mdi-cloud-off-outline:before{content:"󰅤"}.mdi-cloud-outline:before{content:"󰅣"}.mdi-cloud-percent:before{content:"󱨵"}.mdi-cloud-percent-outline:before{content:"󱨶"}.mdi-cloud-plus:before{content:"󱯷"}.mdi-cloud-plus-outline:before{content:"󱯸"}.mdi-cloud-print:before{content:"󰅥"}.mdi-cloud-print-outline:before{content:"󰅦"}.mdi-cloud-question:before{content:"󰨹"}.mdi-cloud-question-outline:before{content:"󱯹"}.mdi-cloud-refresh:before{content:"󱯺"}.mdi-cloud-refresh-outline:before{content:"󱯻"}.mdi-cloud-refresh-variant:before{content:"󰔪"}.mdi-cloud-refresh-variant-outline:before{content:"󱯼"}.mdi-cloud-remove:before{content:"󱯽"}.mdi-cloud-remove-outline:before{content:"󱯾"}.mdi-cloud-search:before{content:"󰥖"}.mdi-cloud-search-outline:before{content:"󰥗"}.mdi-cloud-sync:before{content:"󰘿"}.mdi-cloud-sync-outline:before{content:"󱋖"}.mdi-cloud-tags:before{content:"󰞶"}.mdi-cloud-upload:before{content:"󰅧"}.mdi-cloud-upload-outline:before{content:"󰭾"}.mdi-clouds:before{content:"󱮕"}.mdi-clover:before{content:"󰠖"}.mdi-clover-outline:before{content:"󱱢"}.mdi-coach-lamp:before{content:"󱀠"}.mdi-coach-lamp-variant:before{content:"󱨷"}.mdi-coat-rack:before{content:"󱂞"}.mdi-code-array:before{content:"󰅨"}.mdi-code-braces:before{content:"󰅩"}.mdi-code-braces-box:before{content:"󱃖"}.mdi-code-brackets:before{content:"󰅪"}.mdi-code-equal:before{content:"󰅫"}.mdi-code-greater-than:before{content:"󰅬"}.mdi-code-greater-than-or-equal:before{content:"󰅭"}.mdi-code-json:before{content:"󰘦"}.mdi-code-less-than:before{content:"󰅮"}.mdi-code-less-than-or-equal:before{content:"󰅯"}.mdi-code-not-equal:before{content:"󰅰"}.mdi-code-not-equal-variant:before{content:"󰅱"}.mdi-code-parentheses:before{content:"󰅲"}.mdi-code-parentheses-box:before{content:"󱃗"}.mdi-code-string:before{content:"󰅳"}.mdi-code-tags:before{content:"󰅴"}.mdi-code-tags-check:before{content:"󰚔"}.mdi-codepen:before{content:"󰅵"}.mdi-coffee:before{content:"󰅶"}.mdi-coffee-maker:before{content:"󱂟"}.mdi-coffee-maker-check:before{content:"󱤱"}.mdi-coffee-maker-check-outline:before{content:"󱤲"}.mdi-coffee-maker-outline:before{content:"󱠛"}.mdi-coffee-off:before{content:"󰾪"}.mdi-coffee-off-outline:before{content:"󰾫"}.mdi-coffee-outline:before{content:"󰛊"}.mdi-coffee-to-go:before{content:"󰅷"}.mdi-coffee-to-go-outline:before{content:"󱌎"}.mdi-coffin:before{content:"󰭿"}.mdi-cog:before{content:"󰒓"}.mdi-cog-box:before{content:"󰒔"}.mdi-cog-clockwise:before{content:"󱇝"}.mdi-cog-counterclockwise:before{content:"󱇞"}.mdi-cog-off:before{content:"󱏎"}.mdi-cog-off-outline:before{content:"󱏏"}.mdi-cog-outline:before{content:"󰢻"}.mdi-cog-pause:before{content:"󱤳"}.mdi-cog-pause-outline:before{content:"󱤴"}.mdi-cog-play:before{content:"󱤵"}.mdi-cog-play-outline:before{content:"󱤶"}.mdi-cog-refresh:before{content:"󱑞"}.mdi-cog-refresh-outline:before{content:"󱑟"}.mdi-cog-stop:before{content:"󱤷"}.mdi-cog-stop-outline:before{content:"󱤸"}.mdi-cog-sync:before{content:"󱑠"}.mdi-cog-sync-outline:before{content:"󱑡"}.mdi-cog-transfer:before{content:"󱁛"}.mdi-cog-transfer-outline:before{content:"󱁜"}.mdi-cogs:before{content:"󰣖"}.mdi-collage:before{content:"󰙀"}.mdi-collapse-all:before{content:"󰪦"}.mdi-collapse-all-outline:before{content:"󰪧"}.mdi-color-helper:before{content:"󰅹"}.mdi-comma:before{content:"󰸣"}.mdi-comma-box:before{content:"󰸫"}.mdi-comma-box-outline:before{content:"󰸤"}.mdi-comma-circle:before{content:"󰸥"}.mdi-comma-circle-outline:before{content:"󰸦"}.mdi-comment:before{content:"󰅺"}.mdi-comment-account:before{content:"󰅻"}.mdi-comment-account-outline:before{content:"󰅼"}.mdi-comment-alert:before{content:"󰅽"}.mdi-comment-alert-outline:before{content:"󰅾"}.mdi-comment-arrow-left:before{content:"󰧡"}.mdi-comment-arrow-left-outline:before{content:"󰧢"}.mdi-comment-arrow-right:before{content:"󰧣"}.mdi-comment-arrow-right-outline:before{content:"󰧤"}.mdi-comment-bookmark:before{content:"󱖮"}.mdi-comment-bookmark-outline:before{content:"󱖯"}.mdi-comment-check:before{content:"󰅿"}.mdi-comment-check-outline:before{content:"󰆀"}.mdi-comment-edit:before{content:"󱆿"}.mdi-comment-edit-outline:before{content:"󱋄"}.mdi-comment-eye:before{content:"󰨺"}.mdi-comment-eye-outline:before{content:"󰨻"}.mdi-comment-flash:before{content:"󱖰"}.mdi-comment-flash-outline:before{content:"󱖱"}.mdi-comment-minus:before{content:"󱗟"}.mdi-comment-minus-outline:before{content:"󱗠"}.mdi-comment-multiple:before{content:"󰡟"}.mdi-comment-multiple-outline:before{content:"󰆁"}.mdi-comment-off:before{content:"󱗡"}.mdi-comment-off-outline:before{content:"󱗢"}.mdi-comment-outline:before{content:"󰆂"}.mdi-comment-plus:before{content:"󰧥"}.mdi-comment-plus-outline:before{content:"󰆃"}.mdi-comment-processing:before{content:"󰆄"}.mdi-comment-processing-outline:before{content:"󰆅"}.mdi-comment-question:before{content:"󰠗"}.mdi-comment-question-outline:before{content:"󰆆"}.mdi-comment-quote:before{content:"󱀡"}.mdi-comment-quote-outline:before{content:"󱀢"}.mdi-comment-remove:before{content:"󰗞"}.mdi-comment-remove-outline:before{content:"󰆇"}.mdi-comment-search:before{content:"󰨼"}.mdi-comment-search-outline:before{content:"󰨽"}.mdi-comment-text:before{content:"󰆈"}.mdi-comment-text-multiple:before{content:"󰡠"}.mdi-comment-text-multiple-outline:before{content:"󰡡"}.mdi-comment-text-outline:before{content:"󰆉"}.mdi-compare:before{content:"󰆊"}.mdi-compare-horizontal:before{content:"󱒒"}.mdi-compare-remove:before{content:"󱢳"}.mdi-compare-vertical:before{content:"󱒓"}.mdi-compass:before{content:"󰆋"}.mdi-compass-off:before{content:"󰮀"}.mdi-compass-off-outline:before{content:"󰮁"}.mdi-compass-outline:before{content:"󰆌"}.mdi-compass-rose:before{content:"󱎂"}.mdi-compost:before{content:"󱨸"}.mdi-cone:before{content:"󱥌"}.mdi-cone-off:before{content:"󱥍"}.mdi-connection:before{content:"󱘖"}.mdi-console:before{content:"󰆍"}.mdi-console-line:before{content:"󰞷"}.mdi-console-network:before{content:"󰢩"}.mdi-console-network-outline:before{content:"󰱠"}.mdi-consolidate:before{content:"󱃘"}.mdi-contactless-payment:before{content:"󰵪"}.mdi-contactless-payment-circle:before{content:"󰌡"}.mdi-contactless-payment-circle-outline:before{content:"󰐈"}.mdi-contacts:before{content:"󰛋"}.mdi-contacts-outline:before{content:"󰖸"}.mdi-contain:before{content:"󰨾"}.mdi-contain-end:before{content:"󰨿"}.mdi-contain-start:before{content:"󰩀"}.mdi-content-copy:before{content:"󰆏"}.mdi-content-cut:before{content:"󰆐"}.mdi-content-duplicate:before{content:"󰆑"}.mdi-content-paste:before{content:"󰆒"}.mdi-content-save:before{content:"󰆓"}.mdi-content-save-alert:before{content:"󰽂"}.mdi-content-save-alert-outline:before{content:"󰽃"}.mdi-content-save-all:before{content:"󰆔"}.mdi-content-save-all-outline:before{content:"󰽄"}.mdi-content-save-check:before{content:"󱣪"}.mdi-content-save-check-outline:before{content:"󱣫"}.mdi-content-save-cog:before{content:"󱑛"}.mdi-content-save-cog-outline:before{content:"󱑜"}.mdi-content-save-edit:before{content:"󰳻"}.mdi-content-save-edit-outline:before{content:"󰳼"}.mdi-content-save-minus:before{content:"󱭃"}.mdi-content-save-minus-outline:before{content:"󱭄"}.mdi-content-save-move:before{content:"󰸧"}.mdi-content-save-move-outline:before{content:"󰸨"}.mdi-content-save-off:before{content:"󱙃"}.mdi-content-save-off-outline:before{content:"󱙄"}.mdi-content-save-outline:before{content:"󰠘"}.mdi-content-save-plus:before{content:"󱭁"}.mdi-content-save-plus-outline:before{content:"󱭂"}.mdi-content-save-settings:before{content:"󰘛"}.mdi-content-save-settings-outline:before{content:"󰬮"}.mdi-contrast:before{content:"󰆕"}.mdi-contrast-box:before{content:"󰆖"}.mdi-contrast-circle:before{content:"󰆗"}.mdi-controller:before{content:"󰊴"}.mdi-controller-classic:before{content:"󰮂"}.mdi-controller-classic-outline:before{content:"󰮃"}.mdi-controller-off:before{content:"󰊵"}.mdi-cookie:before{content:"󰆘"}.mdi-cookie-alert:before{content:"󱛐"}.mdi-cookie-alert-outline:before{content:"󱛑"}.mdi-cookie-check:before{content:"󱛒"}.mdi-cookie-check-outline:before{content:"󱛓"}.mdi-cookie-clock:before{content:"󱛤"}.mdi-cookie-clock-outline:before{content:"󱛥"}.mdi-cookie-cog:before{content:"󱛔"}.mdi-cookie-cog-outline:before{content:"󱛕"}.mdi-cookie-edit:before{content:"󱛦"}.mdi-cookie-edit-outline:before{content:"󱛧"}.mdi-cookie-lock:before{content:"󱛨"}.mdi-cookie-lock-outline:before{content:"󱛩"}.mdi-cookie-minus:before{content:"󱛚"}.mdi-cookie-minus-outline:before{content:"󱛛"}.mdi-cookie-off:before{content:"󱛪"}.mdi-cookie-off-outline:before{content:"󱛫"}.mdi-cookie-outline:before{content:"󱛞"}.mdi-cookie-plus:before{content:"󱛖"}.mdi-cookie-plus-outline:before{content:"󱛗"}.mdi-cookie-refresh:before{content:"󱛬"}.mdi-cookie-refresh-outline:before{content:"󱛭"}.mdi-cookie-remove:before{content:"󱛘"}.mdi-cookie-remove-outline:before{content:"󱛙"}.mdi-cookie-settings:before{content:"󱛜"}.mdi-cookie-settings-outline:before{content:"󱛝"}.mdi-coolant-temperature:before{content:"󰏈"}.mdi-copyleft:before{content:"󱤹"}.mdi-copyright:before{content:"󰗦"}.mdi-cordova:before{content:"󰥘"}.mdi-corn:before{content:"󰞸"}.mdi-corn-off:before{content:"󱏯"}.mdi-cosine-wave:before{content:"󱑹"}.mdi-counter:before{content:"󰆙"}.mdi-countertop:before{content:"󱠜"}.mdi-countertop-outline:before{content:"󱠝"}.mdi-cow:before{content:"󰆚"}.mdi-cow-off:before{content:"󱣼"}.mdi-cpu-32-bit:before{content:"󰻟"}.mdi-cpu-64-bit:before{content:"󰻠"}.mdi-cradle:before{content:"󱦋"}.mdi-cradle-outline:before{content:"󱦑"}.mdi-crane:before{content:"󰡢"}.mdi-creation:before{content:"󰙴"}.mdi-creation-outline:before{content:"󱰫"}.mdi-creative-commons:before{content:"󰵫"}.mdi-credit-card:before{content:"󰿯"}.mdi-credit-card-check:before{content:"󱏐"}.mdi-credit-card-check-outline:before{content:"󱏑"}.mdi-credit-card-chip:before{content:"󱤏"}.mdi-credit-card-chip-outline:before{content:"󱤐"}.mdi-credit-card-clock:before{content:"󰻡"}.mdi-credit-card-clock-outline:before{content:"󰻢"}.mdi-credit-card-edit:before{content:"󱟗"}.mdi-credit-card-edit-outline:before{content:"󱟘"}.mdi-credit-card-fast:before{content:"󱤑"}.mdi-credit-card-fast-outline:before{content:"󱤒"}.mdi-credit-card-lock:before{content:"󱣧"}.mdi-credit-card-lock-outline:before{content:"󱣨"}.mdi-credit-card-marker:before{content:"󰚨"}.mdi-credit-card-marker-outline:before{content:"󰶾"}.mdi-credit-card-minus:before{content:"󰾬"}.mdi-credit-card-minus-outline:before{content:"󰾭"}.mdi-credit-card-multiple:before{content:"󰿰"}.mdi-credit-card-multiple-outline:before{content:"󰆜"}.mdi-credit-card-off:before{content:"󰿱"}.mdi-credit-card-off-outline:before{content:"󰗤"}.mdi-credit-card-outline:before{content:"󰆛"}.mdi-credit-card-plus:before{content:"󰿲"}.mdi-credit-card-plus-outline:before{content:"󰙶"}.mdi-credit-card-refresh:before{content:"󱙅"}.mdi-credit-card-refresh-outline:before{content:"󱙆"}.mdi-credit-card-refund:before{content:"󰿳"}.mdi-credit-card-refund-outline:before{content:"󰪨"}.mdi-credit-card-remove:before{content:"󰾮"}.mdi-credit-card-remove-outline:before{content:"󰾯"}.mdi-credit-card-scan:before{content:"󰿴"}.mdi-credit-card-scan-outline:before{content:"󰆝"}.mdi-credit-card-search:before{content:"󱙇"}.mdi-credit-card-search-outline:before{content:"󱙈"}.mdi-credit-card-settings:before{content:"󰿵"}.mdi-credit-card-settings-outline:before{content:"󰣗"}.mdi-credit-card-sync:before{content:"󱙉"}.mdi-credit-card-sync-outline:before{content:"󱙊"}.mdi-credit-card-wireless:before{content:"󰠂"}.mdi-credit-card-wireless-off:before{content:"󰕺"}.mdi-credit-card-wireless-off-outline:before{content:"󰕻"}.mdi-credit-card-wireless-outline:before{content:"󰵬"}.mdi-cricket:before{content:"󰵭"}.mdi-crop:before{content:"󰆞"}.mdi-crop-free:before{content:"󰆟"}.mdi-crop-landscape:before{content:"󰆠"}.mdi-crop-portrait:before{content:"󰆡"}.mdi-crop-rotate:before{content:"󰚖"}.mdi-crop-square:before{content:"󰆢"}.mdi-cross:before{content:"󰥓"}.mdi-cross-bolnisi:before{content:"󰳭"}.mdi-cross-celtic:before{content:"󰳵"}.mdi-cross-outline:before{content:"󰳶"}.mdi-crosshairs:before{content:"󰆣"}.mdi-crosshairs-gps:before{content:"󰆤"}.mdi-crosshairs-off:before{content:"󰽅"}.mdi-crosshairs-question:before{content:"󱄶"}.mdi-crowd:before{content:"󱥵"}.mdi-crown:before{content:"󰆥"}.mdi-crown-circle:before{content:"󱟜"}.mdi-crown-circle-outline:before{content:"󱟝"}.mdi-crown-outline:before{content:"󱇐"}.mdi-cryengine:before{content:"󰥙"}.mdi-crystal-ball:before{content:"󰬯"}.mdi-cube:before{content:"󰆦"}.mdi-cube-off:before{content:"󱐜"}.mdi-cube-off-outline:before{content:"󱐝"}.mdi-cube-outline:before{content:"󰆧"}.mdi-cube-scan:before{content:"󰮄"}.mdi-cube-send:before{content:"󰆨"}.mdi-cube-unfolded:before{content:"󰆩"}.mdi-cup:before{content:"󰆪"}.mdi-cup-off:before{content:"󰗥"}.mdi-cup-off-outline:before{content:"󱍽"}.mdi-cup-outline:before{content:"󱌏"}.mdi-cup-water:before{content:"󰆫"}.mdi-cupboard:before{content:"󰽆"}.mdi-cupboard-outline:before{content:"󰽇"}.mdi-cupcake:before{content:"󰥚"}.mdi-curling:before{content:"󰡣"}.mdi-currency-bdt:before{content:"󰡤"}.mdi-currency-brl:before{content:"󰮅"}.mdi-currency-btc:before{content:"󰆬"}.mdi-currency-cny:before{content:"󰞺"}.mdi-currency-eth:before{content:"󰞻"}.mdi-currency-eur:before{content:"󰆭"}.mdi-currency-eur-off:before{content:"󱌕"}.mdi-currency-fra:before{content:"󱨹"}.mdi-currency-gbp:before{content:"󰆮"}.mdi-currency-ils:before{content:"󰱡"}.mdi-currency-inr:before{content:"󰆯"}.mdi-currency-jpy:before{content:"󰞼"}.mdi-currency-krw:before{content:"󰞽"}.mdi-currency-kzt:before{content:"󰡥"}.mdi-currency-mnt:before{content:"󱔒"}.mdi-currency-ngn:before{content:"󰆰"}.mdi-currency-php:before{content:"󰧦"}.mdi-currency-rial:before{content:"󰺜"}.mdi-currency-rub:before{content:"󰆱"}.mdi-currency-rupee:before{content:"󱥶"}.mdi-currency-sign:before{content:"󰞾"}.mdi-currency-thb:before{content:"󱰅"}.mdi-currency-try:before{content:"󰆲"}.mdi-currency-twd:before{content:"󰞿"}.mdi-currency-uah:before{content:"󱮛"}.mdi-currency-usd:before{content:"󰇁"}.mdi-currency-usd-off:before{content:"󰙺"}.mdi-current-ac:before{content:"󱒀"}.mdi-current-dc:before{content:"󰥜"}.mdi-cursor-default:before{content:"󰇀"}.mdi-cursor-default-click:before{content:"󰳽"}.mdi-cursor-default-click-outline:before{content:"󰳾"}.mdi-cursor-default-gesture:before{content:"󱄧"}.mdi-cursor-default-gesture-outline:before{content:"󱄨"}.mdi-cursor-default-outline:before{content:"󰆿"}.mdi-cursor-move:before{content:"󰆾"}.mdi-cursor-pointer:before{content:"󰆽"}.mdi-cursor-text:before{content:"󰗧"}.mdi-curtains:before{content:"󱡆"}.mdi-curtains-closed:before{content:"󱡇"}.mdi-cylinder:before{content:"󱥎"}.mdi-cylinder-off:before{content:"󱥏"}.mdi-dance-ballroom:before{content:"󱗻"}.mdi-dance-pole:before{content:"󱕸"}.mdi-data-matrix:before{content:"󱔼"}.mdi-data-matrix-edit:before{content:"󱔽"}.mdi-data-matrix-minus:before{content:"󱔾"}.mdi-data-matrix-plus:before{content:"󱔿"}.mdi-data-matrix-remove:before{content:"󱕀"}.mdi-data-matrix-scan:before{content:"󱕁"}.mdi-database:before{content:"󰆼"}.mdi-database-alert:before{content:"󱘺"}.mdi-database-alert-outline:before{content:"󱘤"}.mdi-database-arrow-down:before{content:"󱘻"}.mdi-database-arrow-down-outline:before{content:"󱘥"}.mdi-database-arrow-left:before{content:"󱘼"}.mdi-database-arrow-left-outline:before{content:"󱘦"}.mdi-database-arrow-right:before{content:"󱘽"}.mdi-database-arrow-right-outline:before{content:"󱘧"}.mdi-database-arrow-up:before{content:"󱘾"}.mdi-database-arrow-up-outline:before{content:"󱘨"}.mdi-database-check:before{content:"󰪩"}.mdi-database-check-outline:before{content:"󱘩"}.mdi-database-clock:before{content:"󱘿"}.mdi-database-clock-outline:before{content:"󱘪"}.mdi-database-cog:before{content:"󱙋"}.mdi-database-cog-outline:before{content:"󱙌"}.mdi-database-edit:before{content:"󰮆"}.mdi-database-edit-outline:before{content:"󱘫"}.mdi-database-export:before{content:"󰥞"}.mdi-database-export-outline:before{content:"󱘬"}.mdi-database-eye:before{content:"󱤟"}.mdi-database-eye-off:before{content:"󱤠"}.mdi-database-eye-off-outline:before{content:"󱤡"}.mdi-database-eye-outline:before{content:"󱤢"}.mdi-database-import:before{content:"󰥝"}.mdi-database-import-outline:before{content:"󱘭"}.mdi-database-lock:before{content:"󰪪"}.mdi-database-lock-outline:before{content:"󱘮"}.mdi-database-marker:before{content:"󱋶"}.mdi-database-marker-outline:before{content:"󱘯"}.mdi-database-minus:before{content:"󰆻"}.mdi-database-minus-outline:before{content:"󱘰"}.mdi-database-off:before{content:"󱙀"}.mdi-database-off-outline:before{content:"󱘱"}.mdi-database-outline:before{content:"󱘲"}.mdi-database-plus:before{content:"󰆺"}.mdi-database-plus-outline:before{content:"󱘳"}.mdi-database-refresh:before{content:"󰗂"}.mdi-database-refresh-outline:before{content:"󱘴"}.mdi-database-remove:before{content:"󰴀"}.mdi-database-remove-outline:before{content:"󱘵"}.mdi-database-search:before{content:"󰡦"}.mdi-database-search-outline:before{content:"󱘶"}.mdi-database-settings:before{content:"󰴁"}.mdi-database-settings-outline:before{content:"󱘷"}.mdi-database-sync:before{content:"󰳿"}.mdi-database-sync-outline:before{content:"󱘸"}.mdi-death-star:before{content:"󰣘"}.mdi-death-star-variant:before{content:"󰣙"}.mdi-deathly-hallows:before{content:"󰮇"}.mdi-debian:before{content:"󰣚"}.mdi-debug-step-into:before{content:"󰆹"}.mdi-debug-step-out:before{content:"󰆸"}.mdi-debug-step-over:before{content:"󰆷"}.mdi-decagram:before{content:"󰝬"}.mdi-decagram-outline:before{content:"󰝭"}.mdi-decimal:before{content:"󱂡"}.mdi-decimal-comma:before{content:"󱂢"}.mdi-decimal-comma-decrease:before{content:"󱂣"}.mdi-decimal-comma-increase:before{content:"󱂤"}.mdi-decimal-decrease:before{content:"󰆶"}.mdi-decimal-increase:before{content:"󰆵"}.mdi-delete:before{content:"󰆴"}.mdi-delete-alert:before{content:"󱂥"}.mdi-delete-alert-outline:before{content:"󱂦"}.mdi-delete-circle:before{content:"󰚃"}.mdi-delete-circle-outline:before{content:"󰮈"}.mdi-delete-clock:before{content:"󱕖"}.mdi-delete-clock-outline:before{content:"󱕗"}.mdi-delete-empty:before{content:"󰛌"}.mdi-delete-empty-outline:before{content:"󰺝"}.mdi-delete-forever:before{content:"󰗨"}.mdi-delete-forever-outline:before{content:"󰮉"}.mdi-delete-off:before{content:"󱂧"}.mdi-delete-off-outline:before{content:"󱂨"}.mdi-delete-outline:before{content:"󰧧"}.mdi-delete-restore:before{content:"󰠙"}.mdi-delete-sweep:before{content:"󰗩"}.mdi-delete-sweep-outline:before{content:"󰱢"}.mdi-delete-variant:before{content:"󰆳"}.mdi-delta:before{content:"󰇂"}.mdi-desk:before{content:"󱈹"}.mdi-desk-lamp:before{content:"󰥟"}.mdi-desk-lamp-off:before{content:"󱬟"}.mdi-desk-lamp-on:before{content:"󱬠"}.mdi-deskphone:before{content:"󰇃"}.mdi-desktop-classic:before{content:"󰟀"}.mdi-desktop-tower:before{content:"󰇅"}.mdi-desktop-tower-monitor:before{content:"󰪫"}.mdi-details:before{content:"󰇆"}.mdi-dev-to:before{content:"󰵮"}.mdi-developer-board:before{content:"󰚗"}.mdi-deviantart:before{content:"󰇇"}.mdi-devices:before{content:"󰾰"}.mdi-dharmachakra:before{content:"󰥋"}.mdi-diabetes:before{content:"󱄦"}.mdi-dialpad:before{content:"󰘜"}.mdi-diameter:before{content:"󰱣"}.mdi-diameter-outline:before{content:"󰱤"}.mdi-diameter-variant:before{content:"󰱥"}.mdi-diamond:before{content:"󰮊"}.mdi-diamond-outline:before{content:"󰮋"}.mdi-diamond-stone:before{content:"󰇈"}.mdi-dice-1:before{content:"󰇊"}.mdi-dice-1-outline:before{content:"󱅊"}.mdi-dice-2:before{content:"󰇋"}.mdi-dice-2-outline:before{content:"󱅋"}.mdi-dice-3:before{content:"󰇌"}.mdi-dice-3-outline:before{content:"󱅌"}.mdi-dice-4:before{content:"󰇍"}.mdi-dice-4-outline:before{content:"󱅍"}.mdi-dice-5:before{content:"󰇎"}.mdi-dice-5-outline:before{content:"󱅎"}.mdi-dice-6:before{content:"󰇏"}.mdi-dice-6-outline:before{content:"󱅏"}.mdi-dice-d10:before{content:"󱅓"}.mdi-dice-d10-outline:before{content:"󰝯"}.mdi-dice-d12:before{content:"󱅔"}.mdi-dice-d12-outline:before{content:"󰡧"}.mdi-dice-d20:before{content:"󱅕"}.mdi-dice-d20-outline:before{content:"󰗪"}.mdi-dice-d4:before{content:"󱅐"}.mdi-dice-d4-outline:before{content:"󰗫"}.mdi-dice-d6:before{content:"󱅑"}.mdi-dice-d6-outline:before{content:"󰗭"}.mdi-dice-d8:before{content:"󱅒"}.mdi-dice-d8-outline:before{content:"󰗬"}.mdi-dice-multiple:before{content:"󰝮"}.mdi-dice-multiple-outline:before{content:"󱅖"}.mdi-digital-ocean:before{content:"󱈷"}.mdi-dip-switch:before{content:"󰟁"}.mdi-directions:before{content:"󰇐"}.mdi-directions-fork:before{content:"󰙁"}.mdi-disc:before{content:"󰗮"}.mdi-disc-alert:before{content:"󰇑"}.mdi-disc-player:before{content:"󰥠"}.mdi-dishwasher:before{content:"󰪬"}.mdi-dishwasher-alert:before{content:"󱆸"}.mdi-dishwasher-off:before{content:"󱆹"}.mdi-disqus:before{content:"󰇒"}.mdi-distribute-horizontal-center:before{content:"󱇉"}.mdi-distribute-horizontal-left:before{content:"󱇈"}.mdi-distribute-horizontal-right:before{content:"󱇊"}.mdi-distribute-vertical-bottom:before{content:"󱇋"}.mdi-distribute-vertical-center:before{content:"󱇌"}.mdi-distribute-vertical-top:before{content:"󱇍"}.mdi-diversify:before{content:"󱡷"}.mdi-diving:before{content:"󱥷"}.mdi-diving-flippers:before{content:"󰶿"}.mdi-diving-helmet:before{content:"󰷀"}.mdi-diving-scuba:before{content:"󱭷"}.mdi-diving-scuba-flag:before{content:"󰷂"}.mdi-diving-scuba-mask:before{content:"󰷁"}.mdi-diving-scuba-tank:before{content:"󰷃"}.mdi-diving-scuba-tank-multiple:before{content:"󰷄"}.mdi-diving-snorkel:before{content:"󰷅"}.mdi-division:before{content:"󰇔"}.mdi-division-box:before{content:"󰇕"}.mdi-dlna:before{content:"󰩁"}.mdi-dna:before{content:"󰚄"}.mdi-dns:before{content:"󰇖"}.mdi-dns-outline:before{content:"󰮌"}.mdi-dock-bottom:before{content:"󱂩"}.mdi-dock-left:before{content:"󱂪"}.mdi-dock-right:before{content:"󱂫"}.mdi-dock-top:before{content:"󱔓"}.mdi-dock-window:before{content:"󱂬"}.mdi-docker:before{content:"󰡨"}.mdi-doctor:before{content:"󰩂"}.mdi-dog:before{content:"󰩃"}.mdi-dog-service:before{content:"󰪭"}.mdi-dog-side:before{content:"󰩄"}.mdi-dog-side-off:before{content:"󱛮"}.mdi-dolby:before{content:"󰚳"}.mdi-dolly:before{content:"󰺞"}.mdi-dolphin:before{content:"󱢴"}.mdi-domain:before{content:"󰇗"}.mdi-domain-off:before{content:"󰵯"}.mdi-domain-plus:before{content:"󱂭"}.mdi-domain-remove:before{content:"󱂮"}.mdi-domain-switch:before{content:"󱰬"}.mdi-dome-light:before{content:"󱐞"}.mdi-domino-mask:before{content:"󱀣"}.mdi-donkey:before{content:"󰟂"}.mdi-door:before{content:"󰠚"}.mdi-door-closed:before{content:"󰠛"}.mdi-door-closed-lock:before{content:"󱂯"}.mdi-door-open:before{content:"󰠜"}.mdi-door-sliding:before{content:"󱠞"}.mdi-door-sliding-lock:before{content:"󱠟"}.mdi-door-sliding-open:before{content:"󱠠"}.mdi-doorbell:before{content:"󱋦"}.mdi-doorbell-video:before{content:"󰡩"}.mdi-dot-net:before{content:"󰪮"}.mdi-dots-circle:before{content:"󱥸"}.mdi-dots-grid:before{content:"󱗼"}.mdi-dots-hexagon:before{content:"󱗿"}.mdi-dots-horizontal:before{content:"󰇘"}.mdi-dots-horizontal-circle:before{content:"󰟃"}.mdi-dots-horizontal-circle-outline:before{content:"󰮍"}.mdi-dots-square:before{content:"󱗽"}.mdi-dots-triangle:before{content:"󱗾"}.mdi-dots-vertical:before{content:"󰇙"}.mdi-dots-vertical-circle:before{content:"󰟄"}.mdi-dots-vertical-circle-outline:before{content:"󰮎"}.mdi-download:before{content:"󰇚"}.mdi-download-box:before{content:"󱑢"}.mdi-download-box-outline:before{content:"󱑣"}.mdi-download-circle:before{content:"󱑤"}.mdi-download-circle-outline:before{content:"󱑥"}.mdi-download-lock:before{content:"󱌠"}.mdi-download-lock-outline:before{content:"󱌡"}.mdi-download-multiple:before{content:"󰧩"}.mdi-download-network:before{content:"󰛴"}.mdi-download-network-outline:before{content:"󰱦"}.mdi-download-off:before{content:"󱂰"}.mdi-download-off-outline:before{content:"󱂱"}.mdi-download-outline:before{content:"󰮏"}.mdi-drag:before{content:"󰇛"}.mdi-drag-horizontal:before{content:"󰇜"}.mdi-drag-horizontal-variant:before{content:"󱋰"}.mdi-drag-variant:before{content:"󰮐"}.mdi-drag-vertical:before{content:"󰇝"}.mdi-drag-vertical-variant:before{content:"󱋱"}.mdi-drama-masks:before{content:"󰴂"}.mdi-draw:before{content:"󰽉"}.mdi-draw-pen:before{content:"󱦹"}.mdi-drawing:before{content:"󰇞"}.mdi-drawing-box:before{content:"󰇟"}.mdi-dresser:before{content:"󰽊"}.mdi-dresser-outline:before{content:"󰽋"}.mdi-drone:before{content:"󰇢"}.mdi-dropbox:before{content:"󰇣"}.mdi-drupal:before{content:"󰇤"}.mdi-duck:before{content:"󰇥"}.mdi-dumbbell:before{content:"󰇦"}.mdi-dump-truck:before{content:"󰱧"}.mdi-ear-hearing:before{content:"󰟅"}.mdi-ear-hearing-loop:before{content:"󱫮"}.mdi-ear-hearing-off:before{content:"󰩅"}.mdi-earbuds:before{content:"󱡏"}.mdi-earbuds-off:before{content:"󱡐"}.mdi-earbuds-off-outline:before{content:"󱡑"}.mdi-earbuds-outline:before{content:"󱡒"}.mdi-earth:before{content:"󰇧"}.mdi-earth-arrow-right:before{content:"󱌑"}.mdi-earth-box:before{content:"󰛍"}.mdi-earth-box-minus:before{content:"󱐇"}.mdi-earth-box-off:before{content:"󰛎"}.mdi-earth-box-plus:before{content:"󱐆"}.mdi-earth-box-remove:before{content:"󱐈"}.mdi-earth-minus:before{content:"󱐄"}.mdi-earth-off:before{content:"󰇨"}.mdi-earth-plus:before{content:"󱐃"}.mdi-earth-remove:before{content:"󱐅"}.mdi-egg:before{content:"󰪯"}.mdi-egg-easter:before{content:"󰪰"}.mdi-egg-fried:before{content:"󱡊"}.mdi-egg-off:before{content:"󱏰"}.mdi-egg-off-outline:before{content:"󱏱"}.mdi-egg-outline:before{content:"󱏲"}.mdi-eiffel-tower:before{content:"󱕫"}.mdi-eight-track:before{content:"󰧪"}.mdi-eject:before{content:"󰇪"}.mdi-eject-circle:before{content:"󱬣"}.mdi-eject-circle-outline:before{content:"󱬤"}.mdi-eject-outline:before{content:"󰮑"}.mdi-electric-switch:before{content:"󰺟"}.mdi-electric-switch-closed:before{content:"󱃙"}.mdi-electron-framework:before{content:"󱀤"}.mdi-elephant:before{content:"󰟆"}.mdi-elevation-decline:before{content:"󰇫"}.mdi-elevation-rise:before{content:"󰇬"}.mdi-elevator:before{content:"󰇭"}.mdi-elevator-down:before{content:"󱋂"}.mdi-elevator-passenger:before{content:"󱎁"}.mdi-elevator-passenger-off:before{content:"󱥹"}.mdi-elevator-passenger-off-outline:before{content:"󱥺"}.mdi-elevator-passenger-outline:before{content:"󱥻"}.mdi-elevator-up:before{content:"󱋁"}.mdi-ellipse:before{content:"󰺠"}.mdi-ellipse-outline:before{content:"󰺡"}.mdi-email:before{content:"󰇮"}.mdi-email-alert:before{content:"󰛏"}.mdi-email-alert-outline:before{content:"󰵂"}.mdi-email-arrow-left:before{content:"󱃚"}.mdi-email-arrow-left-outline:before{content:"󱃛"}.mdi-email-arrow-right:before{content:"󱃜"}.mdi-email-arrow-right-outline:before{content:"󱃝"}.mdi-email-box:before{content:"󰴃"}.mdi-email-check:before{content:"󰪱"}.mdi-email-check-outline:before{content:"󰪲"}.mdi-email-edit:before{content:"󰻣"}.mdi-email-edit-outline:before{content:"󰻤"}.mdi-email-fast:before{content:"󱡯"}.mdi-email-fast-outline:before{content:"󱡰"}.mdi-email-heart-outline:before{content:"󱱛"}.mdi-email-lock:before{content:"󰇱"}.mdi-email-lock-outline:before{content:"󱭡"}.mdi-email-mark-as-unread:before{content:"󰮒"}.mdi-email-minus:before{content:"󰻥"}.mdi-email-minus-outline:before{content:"󰻦"}.mdi-email-multiple:before{content:"󰻧"}.mdi-email-multiple-outline:before{content:"󰻨"}.mdi-email-newsletter:before{content:"󰾱"}.mdi-email-off:before{content:"󱏣"}.mdi-email-off-outline:before{content:"󱏤"}.mdi-email-open:before{content:"󰇯"}.mdi-email-open-heart-outline:before{content:"󱱜"}.mdi-email-open-multiple:before{content:"󰻩"}.mdi-email-open-multiple-outline:before{content:"󰻪"}.mdi-email-open-outline:before{content:"󰗯"}.mdi-email-outline:before{content:"󰇰"}.mdi-email-plus:before{content:"󰧫"}.mdi-email-plus-outline:before{content:"󰧬"}.mdi-email-remove:before{content:"󱙡"}.mdi-email-remove-outline:before{content:"󱙢"}.mdi-email-seal:before{content:"󱥛"}.mdi-email-seal-outline:before{content:"󱥜"}.mdi-email-search:before{content:"󰥡"}.mdi-email-search-outline:before{content:"󰥢"}.mdi-email-sync:before{content:"󱋇"}.mdi-email-sync-outline:before{content:"󱋈"}.mdi-email-variant:before{content:"󰗰"}.mdi-ember:before{content:"󰬰"}.mdi-emby:before{content:"󰚴"}.mdi-emoticon:before{content:"󰱨"}.mdi-emoticon-angry:before{content:"󰱩"}.mdi-emoticon-angry-outline:before{content:"󰱪"}.mdi-emoticon-confused:before{content:"󱃞"}.mdi-emoticon-confused-outline:before{content:"󱃟"}.mdi-emoticon-cool:before{content:"󰱫"}.mdi-emoticon-cool-outline:before{content:"󰇳"}.mdi-emoticon-cry:before{content:"󰱬"}.mdi-emoticon-cry-outline:before{content:"󰱭"}.mdi-emoticon-dead:before{content:"󰱮"}.mdi-emoticon-dead-outline:before{content:"󰚛"}.mdi-emoticon-devil:before{content:"󰱯"}.mdi-emoticon-devil-outline:before{content:"󰇴"}.mdi-emoticon-excited:before{content:"󰱰"}.mdi-emoticon-excited-outline:before{content:"󰚜"}.mdi-emoticon-frown:before{content:"󰽌"}.mdi-emoticon-frown-outline:before{content:"󰽍"}.mdi-emoticon-happy:before{content:"󰱱"}.mdi-emoticon-happy-outline:before{content:"󰇵"}.mdi-emoticon-kiss:before{content:"󰱲"}.mdi-emoticon-kiss-outline:before{content:"󰱳"}.mdi-emoticon-lol:before{content:"󱈔"}.mdi-emoticon-lol-outline:before{content:"󱈕"}.mdi-emoticon-neutral:before{content:"󰱴"}.mdi-emoticon-neutral-outline:before{content:"󰇶"}.mdi-emoticon-outline:before{content:"󰇲"}.mdi-emoticon-poop:before{content:"󰇷"}.mdi-emoticon-poop-outline:before{content:"󰱵"}.mdi-emoticon-sad:before{content:"󰱶"}.mdi-emoticon-sad-outline:before{content:"󰇸"}.mdi-emoticon-sick:before{content:"󱕼"}.mdi-emoticon-sick-outline:before{content:"󱕽"}.mdi-emoticon-tongue:before{content:"󰇹"}.mdi-emoticon-tongue-outline:before{content:"󰱷"}.mdi-emoticon-wink:before{content:"󰱸"}.mdi-emoticon-wink-outline:before{content:"󰱹"}.mdi-engine:before{content:"󰇺"}.mdi-engine-off:before{content:"󰩆"}.mdi-engine-off-outline:before{content:"󰩇"}.mdi-engine-outline:before{content:"󰇻"}.mdi-epsilon:before{content:"󱃠"}.mdi-equal:before{content:"󰇼"}.mdi-equal-box:before{content:"󰇽"}.mdi-equalizer:before{content:"󰺢"}.mdi-equalizer-outline:before{content:"󰺣"}.mdi-eraser:before{content:"󰇾"}.mdi-eraser-variant:before{content:"󰙂"}.mdi-escalator:before{content:"󰇿"}.mdi-escalator-box:before{content:"󱎙"}.mdi-escalator-down:before{content:"󱋀"}.mdi-escalator-up:before{content:"󱊿"}.mdi-eslint:before{content:"󰱺"}.mdi-et:before{content:"󰪳"}.mdi-ethereum:before{content:"󰡪"}.mdi-ethernet:before{content:"󰈀"}.mdi-ethernet-cable:before{content:"󰈁"}.mdi-ethernet-cable-off:before{content:"󰈂"}.mdi-ev-plug-ccs1:before{content:"󱔙"}.mdi-ev-plug-ccs2:before{content:"󱔚"}.mdi-ev-plug-chademo:before{content:"󱔛"}.mdi-ev-plug-tesla:before{content:"󱔜"}.mdi-ev-plug-type1:before{content:"󱔝"}.mdi-ev-plug-type2:before{content:"󱔞"}.mdi-ev-station:before{content:"󰗱"}.mdi-evernote:before{content:"󰈄"}.mdi-excavator:before{content:"󱀥"}.mdi-exclamation:before{content:"󰈅"}.mdi-exclamation-thick:before{content:"󱈸"}.mdi-exit-run:before{content:"󰩈"}.mdi-exit-to-app:before{content:"󰈆"}.mdi-expand-all:before{content:"󰪴"}.mdi-expand-all-outline:before{content:"󰪵"}.mdi-expansion-card:before{content:"󰢮"}.mdi-expansion-card-variant:before{content:"󰾲"}.mdi-exponent:before{content:"󰥣"}.mdi-exponent-box:before{content:"󰥤"}.mdi-export:before{content:"󰈇"}.mdi-export-variant:before{content:"󰮓"}.mdi-eye:before{content:"󰈈"}.mdi-eye-arrow-left:before{content:"󱣽"}.mdi-eye-arrow-left-outline:before{content:"󱣾"}.mdi-eye-arrow-right:before{content:"󱣿"}.mdi-eye-arrow-right-outline:before{content:"󱤀"}.mdi-eye-check:before{content:"󰴄"}.mdi-eye-check-outline:before{content:"󰴅"}.mdi-eye-circle:before{content:"󰮔"}.mdi-eye-circle-outline:before{content:"󰮕"}.mdi-eye-lock:before{content:"󱰆"}.mdi-eye-lock-open:before{content:"󱰇"}.mdi-eye-lock-open-outline:before{content:"󱰈"}.mdi-eye-lock-outline:before{content:"󱰉"}.mdi-eye-minus:before{content:"󱀦"}.mdi-eye-minus-outline:before{content:"󱀧"}.mdi-eye-off:before{content:"󰈉"}.mdi-eye-off-outline:before{content:"󰛑"}.mdi-eye-outline:before{content:"󰛐"}.mdi-eye-plus:before{content:"󰡫"}.mdi-eye-plus-outline:before{content:"󰡬"}.mdi-eye-refresh:before{content:"󱥼"}.mdi-eye-refresh-outline:before{content:"󱥽"}.mdi-eye-remove:before{content:"󱗣"}.mdi-eye-remove-outline:before{content:"󱗤"}.mdi-eye-settings:before{content:"󰡭"}.mdi-eye-settings-outline:before{content:"󰡮"}.mdi-eyedropper:before{content:"󰈊"}.mdi-eyedropper-minus:before{content:"󱏝"}.mdi-eyedropper-off:before{content:"󱏟"}.mdi-eyedropper-plus:before{content:"󱏜"}.mdi-eyedropper-remove:before{content:"󱏞"}.mdi-eyedropper-variant:before{content:"󰈋"}.mdi-face-agent:before{content:"󰵰"}.mdi-face-man:before{content:"󰙃"}.mdi-face-man-outline:before{content:"󰮖"}.mdi-face-man-profile:before{content:"󰙄"}.mdi-face-man-shimmer:before{content:"󱗌"}.mdi-face-man-shimmer-outline:before{content:"󱗍"}.mdi-face-mask:before{content:"󱖆"}.mdi-face-mask-outline:before{content:"󱖇"}.mdi-face-recognition:before{content:"󰱻"}.mdi-face-woman:before{content:"󱁷"}.mdi-face-woman-outline:before{content:"󱁸"}.mdi-face-woman-profile:before{content:"󱁶"}.mdi-face-woman-shimmer:before{content:"󱗎"}.mdi-face-woman-shimmer-outline:before{content:"󱗏"}.mdi-facebook:before{content:"󰈌"}.mdi-facebook-gaming:before{content:"󰟝"}.mdi-facebook-messenger:before{content:"󰈎"}.mdi-facebook-workplace:before{content:"󰬱"}.mdi-factory:before{content:"󰈏"}.mdi-family-tree:before{content:"󱘎"}.mdi-fan:before{content:"󰈐"}.mdi-fan-alert:before{content:"󱑬"}.mdi-fan-auto:before{content:"󱜝"}.mdi-fan-chevron-down:before{content:"󱑭"}.mdi-fan-chevron-up:before{content:"󱑮"}.mdi-fan-clock:before{content:"󱨺"}.mdi-fan-minus:before{content:"󱑰"}.mdi-fan-off:before{content:"󰠝"}.mdi-fan-plus:before{content:"󱑯"}.mdi-fan-remove:before{content:"󱑱"}.mdi-fan-speed-1:before{content:"󱑲"}.mdi-fan-speed-2:before{content:"󱑳"}.mdi-fan-speed-3:before{content:"󱑴"}.mdi-fast-forward:before{content:"󰈑"}.mdi-fast-forward-10:before{content:"󰵱"}.mdi-fast-forward-15:before{content:"󱤺"}.mdi-fast-forward-30:before{content:"󰴆"}.mdi-fast-forward-45:before{content:"󱬒"}.mdi-fast-forward-5:before{content:"󱇸"}.mdi-fast-forward-60:before{content:"󱘋"}.mdi-fast-forward-outline:before{content:"󰛒"}.mdi-faucet:before{content:"󱬩"}.mdi-faucet-variant:before{content:"󱬪"}.mdi-fax:before{content:"󰈒"}.mdi-feather:before{content:"󰛓"}.mdi-feature-search:before{content:"󰩉"}.mdi-feature-search-outline:before{content:"󰩊"}.mdi-fedora:before{content:"󰣛"}.mdi-fence:before{content:"󱞚"}.mdi-fence-electric:before{content:"󱟶"}.mdi-fencing:before{content:"󱓁"}.mdi-ferris-wheel:before{content:"󰺤"}.mdi-ferry:before{content:"󰈓"}.mdi-file:before{content:"󰈔"}.mdi-file-account:before{content:"󰜻"}.mdi-file-account-outline:before{content:"󱀨"}.mdi-file-alert:before{content:"󰩋"}.mdi-file-alert-outline:before{content:"󰩌"}.mdi-file-arrow-left-right:before{content:"󱪓"}.mdi-file-arrow-left-right-outline:before{content:"󱪔"}.mdi-file-arrow-up-down:before{content:"󱪕"}.mdi-file-arrow-up-down-outline:before{content:"󱪖"}.mdi-file-cabinet:before{content:"󰪶"}.mdi-file-cad:before{content:"󰻫"}.mdi-file-cad-box:before{content:"󰻬"}.mdi-file-cancel:before{content:"󰷆"}.mdi-file-cancel-outline:before{content:"󰷇"}.mdi-file-certificate:before{content:"󱆆"}.mdi-file-certificate-outline:before{content:"󱆇"}.mdi-file-chart:before{content:"󰈕"}.mdi-file-chart-check:before{content:"󱧆"}.mdi-file-chart-check-outline:before{content:"󱧇"}.mdi-file-chart-outline:before{content:"󱀩"}.mdi-file-check:before{content:"󰈖"}.mdi-file-check-outline:before{content:"󰸩"}.mdi-file-clock:before{content:"󱋡"}.mdi-file-clock-outline:before{content:"󱋢"}.mdi-file-cloud:before{content:"󰈗"}.mdi-file-cloud-outline:before{content:"󱀪"}.mdi-file-code:before{content:"󰈮"}.mdi-file-code-outline:before{content:"󱀫"}.mdi-file-cog:before{content:"󱁻"}.mdi-file-cog-outline:before{content:"󱁼"}.mdi-file-compare:before{content:"󰢪"}.mdi-file-delimited:before{content:"󰈘"}.mdi-file-delimited-outline:before{content:"󰺥"}.mdi-file-document:before{content:"󰈙"}.mdi-file-document-alert:before{content:"󱪗"}.mdi-file-document-alert-outline:before{content:"󱪘"}.mdi-file-document-arrow-right:before{content:"󱰏"}.mdi-file-document-arrow-right-outline:before{content:"󱰐"}.mdi-file-document-check:before{content:"󱪙"}.mdi-file-document-check-outline:before{content:"󱪚"}.mdi-file-document-edit:before{content:"󰷈"}.mdi-file-document-edit-outline:before{content:"󰷉"}.mdi-file-document-minus:before{content:"󱪛"}.mdi-file-document-minus-outline:before{content:"󱪜"}.mdi-file-document-multiple:before{content:"󱔗"}.mdi-file-document-multiple-outline:before{content:"󱔘"}.mdi-file-document-outline:before{content:"󰧮"}.mdi-file-document-plus:before{content:"󱪝"}.mdi-file-document-plus-outline:before{content:"󱪞"}.mdi-file-document-refresh:before{content:"󱱺"}.mdi-file-document-refresh-outline:before{content:"󱱻"}.mdi-file-document-remove:before{content:"󱪟"}.mdi-file-document-remove-outline:before{content:"󱪠"}.mdi-file-download:before{content:"󰥥"}.mdi-file-download-outline:before{content:"󰥦"}.mdi-file-edit:before{content:"󱇧"}.mdi-file-edit-outline:before{content:"󱇨"}.mdi-file-excel:before{content:"󰈛"}.mdi-file-excel-box:before{content:"󰈜"}.mdi-file-excel-box-outline:before{content:"󱀬"}.mdi-file-excel-outline:before{content:"󱀭"}.mdi-file-export:before{content:"󰈝"}.mdi-file-export-outline:before{content:"󱀮"}.mdi-file-eye:before{content:"󰷊"}.mdi-file-eye-outline:before{content:"󰷋"}.mdi-file-find:before{content:"󰈞"}.mdi-file-find-outline:before{content:"󰮗"}.mdi-file-gif-box:before{content:"󰵸"}.mdi-file-hidden:before{content:"󰘓"}.mdi-file-image:before{content:"󰈟"}.mdi-file-image-marker:before{content:"󱝲"}.mdi-file-image-marker-outline:before{content:"󱝳"}.mdi-file-image-minus:before{content:"󱤻"}.mdi-file-image-minus-outline:before{content:"󱤼"}.mdi-file-image-outline:before{content:"󰺰"}.mdi-file-image-plus:before{content:"󱤽"}.mdi-file-image-plus-outline:before{content:"󱤾"}.mdi-file-image-remove:before{content:"󱤿"}.mdi-file-image-remove-outline:before{content:"󱥀"}.mdi-file-import:before{content:"󰈠"}.mdi-file-import-outline:before{content:"󱀯"}.mdi-file-jpg-box:before{content:"󰈥"}.mdi-file-key:before{content:"󱆄"}.mdi-file-key-outline:before{content:"󱆅"}.mdi-file-link:before{content:"󱅷"}.mdi-file-link-outline:before{content:"󱅸"}.mdi-file-lock:before{content:"󰈡"}.mdi-file-lock-open:before{content:"󱧈"}.mdi-file-lock-open-outline:before{content:"󱧉"}.mdi-file-lock-outline:before{content:"󱀰"}.mdi-file-marker:before{content:"󱝴"}.mdi-file-marker-outline:before{content:"󱝵"}.mdi-file-minus:before{content:"󱪡"}.mdi-file-minus-outline:before{content:"󱪢"}.mdi-file-move:before{content:"󰪹"}.mdi-file-move-outline:before{content:"󱀱"}.mdi-file-multiple:before{content:"󰈢"}.mdi-file-multiple-outline:before{content:"󱀲"}.mdi-file-music:before{content:"󰈣"}.mdi-file-music-outline:before{content:"󰸪"}.mdi-file-outline:before{content:"󰈤"}.mdi-file-pdf-box:before{content:"󰈦"}.mdi-file-percent:before{content:"󰠞"}.mdi-file-percent-outline:before{content:"󱀳"}.mdi-file-phone:before{content:"󱅹"}.mdi-file-phone-outline:before{content:"󱅺"}.mdi-file-plus:before{content:"󰝒"}.mdi-file-plus-outline:before{content:"󰻭"}.mdi-file-png-box:before{content:"󰸭"}.mdi-file-powerpoint:before{content:"󰈧"}.mdi-file-powerpoint-box:before{content:"󰈨"}.mdi-file-powerpoint-box-outline:before{content:"󱀴"}.mdi-file-powerpoint-outline:before{content:"󱀵"}.mdi-file-presentation-box:before{content:"󰈩"}.mdi-file-question:before{content:"󰡯"}.mdi-file-question-outline:before{content:"󱀶"}.mdi-file-refresh:before{content:"󰤘"}.mdi-file-refresh-outline:before{content:"󰕁"}.mdi-file-remove:before{content:"󰮘"}.mdi-file-remove-outline:before{content:"󱀷"}.mdi-file-replace:before{content:"󰬲"}.mdi-file-replace-outline:before{content:"󰬳"}.mdi-file-restore:before{content:"󰙰"}.mdi-file-restore-outline:before{content:"󱀸"}.mdi-file-rotate-left:before{content:"󱨻"}.mdi-file-rotate-left-outline:before{content:"󱨼"}.mdi-file-rotate-right:before{content:"󱨽"}.mdi-file-rotate-right-outline:before{content:"󱨾"}.mdi-file-search:before{content:"󰱼"}.mdi-file-search-outline:before{content:"󰱽"}.mdi-file-send:before{content:"󰈪"}.mdi-file-send-outline:before{content:"󱀹"}.mdi-file-settings:before{content:"󱁹"}.mdi-file-settings-outline:before{content:"󱁺"}.mdi-file-sign:before{content:"󱧃"}.mdi-file-star:before{content:"󱀺"}.mdi-file-star-four-points:before{content:"󱰭"}.mdi-file-star-four-points-outline:before{content:"󱰮"}.mdi-file-star-outline:before{content:"󱀻"}.mdi-file-swap:before{content:"󰾴"}.mdi-file-swap-outline:before{content:"󰾵"}.mdi-file-sync:before{content:"󱈖"}.mdi-file-sync-outline:before{content:"󱈗"}.mdi-file-table:before{content:"󰱾"}.mdi-file-table-box:before{content:"󱃡"}.mdi-file-table-box-multiple:before{content:"󱃢"}.mdi-file-table-box-multiple-outline:before{content:"󱃣"}.mdi-file-table-box-outline:before{content:"󱃤"}.mdi-file-table-outline:before{content:"󰱿"}.mdi-file-tree:before{content:"󰙅"}.mdi-file-tree-outline:before{content:"󱏒"}.mdi-file-undo:before{content:"󰣜"}.mdi-file-undo-outline:before{content:"󱀼"}.mdi-file-upload:before{content:"󰩍"}.mdi-file-upload-outline:before{content:"󰩎"}.mdi-file-video:before{content:"󰈫"}.mdi-file-video-outline:before{content:"󰸬"}.mdi-file-word:before{content:"󰈬"}.mdi-file-word-box:before{content:"󰈭"}.mdi-file-word-box-outline:before{content:"󱀽"}.mdi-file-word-outline:before{content:"󱀾"}.mdi-file-xml-box:before{content:"󱭋"}.mdi-film:before{content:"󰈯"}.mdi-filmstrip:before{content:"󰈰"}.mdi-filmstrip-box:before{content:"󰌲"}.mdi-filmstrip-box-multiple:before{content:"󰴘"}.mdi-filmstrip-off:before{content:"󰈱"}.mdi-filter:before{content:"󰈲"}.mdi-filter-check:before{content:"󱣬"}.mdi-filter-check-outline:before{content:"󱣭"}.mdi-filter-cog:before{content:"󱪣"}.mdi-filter-cog-outline:before{content:"󱪤"}.mdi-filter-menu:before{content:"󱃥"}.mdi-filter-menu-outline:before{content:"󱃦"}.mdi-filter-minus:before{content:"󰻮"}.mdi-filter-minus-outline:before{content:"󰻯"}.mdi-filter-multiple:before{content:"󱨿"}.mdi-filter-multiple-outline:before{content:"󱩀"}.mdi-filter-off:before{content:"󱓯"}.mdi-filter-off-outline:before{content:"󱓰"}.mdi-filter-outline:before{content:"󰈳"}.mdi-filter-plus:before{content:"󰻰"}.mdi-filter-plus-outline:before{content:"󰻱"}.mdi-filter-remove:before{content:"󰈴"}.mdi-filter-remove-outline:before{content:"󰈵"}.mdi-filter-settings:before{content:"󱪥"}.mdi-filter-settings-outline:before{content:"󱪦"}.mdi-filter-variant:before{content:"󰈶"}.mdi-filter-variant-minus:before{content:"󱄒"}.mdi-filter-variant-plus:before{content:"󱄓"}.mdi-filter-variant-remove:before{content:"󱀿"}.mdi-finance:before{content:"󰠟"}.mdi-find-replace:before{content:"󰛔"}.mdi-fingerprint:before{content:"󰈷"}.mdi-fingerprint-off:before{content:"󰺱"}.mdi-fire:before{content:"󰈸"}.mdi-fire-alert:before{content:"󱗗"}.mdi-fire-circle:before{content:"󱠇"}.mdi-fire-extinguisher:before{content:"󰻲"}.mdi-fire-hydrant:before{content:"󱄷"}.mdi-fire-hydrant-alert:before{content:"󱄸"}.mdi-fire-hydrant-off:before{content:"󱄹"}.mdi-fire-off:before{content:"󱜢"}.mdi-fire-truck:before{content:"󰢫"}.mdi-firebase:before{content:"󰥧"}.mdi-firefox:before{content:"󰈹"}.mdi-fireplace:before{content:"󰸮"}.mdi-fireplace-off:before{content:"󰸯"}.mdi-firewire:before{content:"󰖾"}.mdi-firework:before{content:"󰸰"}.mdi-firework-off:before{content:"󱜣"}.mdi-fish:before{content:"󰈺"}.mdi-fish-off:before{content:"󱏳"}.mdi-fishbowl:before{content:"󰻳"}.mdi-fishbowl-outline:before{content:"󰻴"}.mdi-fit-to-page:before{content:"󰻵"}.mdi-fit-to-page-outline:before{content:"󰻶"}.mdi-fit-to-screen:before{content:"󱣴"}.mdi-fit-to-screen-outline:before{content:"󱣵"}.mdi-flag:before{content:"󰈻"}.mdi-flag-checkered:before{content:"󰈼"}.mdi-flag-minus:before{content:"󰮙"}.mdi-flag-minus-outline:before{content:"󱂲"}.mdi-flag-off:before{content:"󱣮"}.mdi-flag-off-outline:before{content:"󱣯"}.mdi-flag-outline:before{content:"󰈽"}.mdi-flag-plus:before{content:"󰮚"}.mdi-flag-plus-outline:before{content:"󱂳"}.mdi-flag-remove:before{content:"󰮛"}.mdi-flag-remove-outline:before{content:"󱂴"}.mdi-flag-triangle:before{content:"󰈿"}.mdi-flag-variant:before{content:"󰉀"}.mdi-flag-variant-minus:before{content:"󱮴"}.mdi-flag-variant-minus-outline:before{content:"󱮵"}.mdi-flag-variant-off:before{content:"󱮰"}.mdi-flag-variant-off-outline:before{content:"󱮱"}.mdi-flag-variant-outline:before{content:"󰈾"}.mdi-flag-variant-plus:before{content:"󱮲"}.mdi-flag-variant-plus-outline:before{content:"󱮳"}.mdi-flag-variant-remove:before{content:"󱮶"}.mdi-flag-variant-remove-outline:before{content:"󱮷"}.mdi-flare:before{content:"󰵲"}.mdi-flash:before{content:"󰉁"}.mdi-flash-alert:before{content:"󰻷"}.mdi-flash-alert-outline:before{content:"󰻸"}.mdi-flash-auto:before{content:"󰉂"}.mdi-flash-off:before{content:"󰉃"}.mdi-flash-off-outline:before{content:"󱭅"}.mdi-flash-outline:before{content:"󰛕"}.mdi-flash-red-eye:before{content:"󰙻"}.mdi-flash-triangle:before{content:"󱬝"}.mdi-flash-triangle-outline:before{content:"󱬞"}.mdi-flashlight:before{content:"󰉄"}.mdi-flashlight-off:before{content:"󰉅"}.mdi-flask:before{content:"󰂓"}.mdi-flask-empty:before{content:"󰂔"}.mdi-flask-empty-minus:before{content:"󱈺"}.mdi-flask-empty-minus-outline:before{content:"󱈻"}.mdi-flask-empty-off:before{content:"󱏴"}.mdi-flask-empty-off-outline:before{content:"󱏵"}.mdi-flask-empty-outline:before{content:"󰂕"}.mdi-flask-empty-plus:before{content:"󱈼"}.mdi-flask-empty-plus-outline:before{content:"󱈽"}.mdi-flask-empty-remove:before{content:"󱈾"}.mdi-flask-empty-remove-outline:before{content:"󱈿"}.mdi-flask-minus:before{content:"󱉀"}.mdi-flask-minus-outline:before{content:"󱉁"}.mdi-flask-off:before{content:"󱏶"}.mdi-flask-off-outline:before{content:"󱏷"}.mdi-flask-outline:before{content:"󰂖"}.mdi-flask-plus:before{content:"󱉂"}.mdi-flask-plus-outline:before{content:"󱉃"}.mdi-flask-remove:before{content:"󱉄"}.mdi-flask-remove-outline:before{content:"󱉅"}.mdi-flask-round-bottom:before{content:"󱉋"}.mdi-flask-round-bottom-empty:before{content:"󱉌"}.mdi-flask-round-bottom-empty-outline:before{content:"󱉍"}.mdi-flask-round-bottom-outline:before{content:"󱉎"}.mdi-fleur-de-lis:before{content:"󱌃"}.mdi-flip-horizontal:before{content:"󱃧"}.mdi-flip-to-back:before{content:"󰉇"}.mdi-flip-to-front:before{content:"󰉈"}.mdi-flip-vertical:before{content:"󱃨"}.mdi-floor-lamp:before{content:"󰣝"}.mdi-floor-lamp-dual:before{content:"󱁀"}.mdi-floor-lamp-dual-outline:before{content:"󱟎"}.mdi-floor-lamp-outline:before{content:"󱟈"}.mdi-floor-lamp-torchiere:before{content:"󱝇"}.mdi-floor-lamp-torchiere-outline:before{content:"󱟖"}.mdi-floor-lamp-torchiere-variant:before{content:"󱁁"}.mdi-floor-lamp-torchiere-variant-outline:before{content:"󱟏"}.mdi-floor-plan:before{content:"󰠡"}.mdi-floppy:before{content:"󰉉"}.mdi-floppy-variant:before{content:"󰧯"}.mdi-flower:before{content:"󰉊"}.mdi-flower-outline:before{content:"󰧰"}.mdi-flower-pollen:before{content:"󱢅"}.mdi-flower-pollen-outline:before{content:"󱢆"}.mdi-flower-poppy:before{content:"󰴈"}.mdi-flower-tulip:before{content:"󰧱"}.mdi-flower-tulip-outline:before{content:"󰧲"}.mdi-focus-auto:before{content:"󰽎"}.mdi-focus-field:before{content:"󰽏"}.mdi-focus-field-horizontal:before{content:"󰽐"}.mdi-focus-field-vertical:before{content:"󰽑"}.mdi-folder:before{content:"󰉋"}.mdi-folder-account:before{content:"󰉌"}.mdi-folder-account-outline:before{content:"󰮜"}.mdi-folder-alert:before{content:"󰷌"}.mdi-folder-alert-outline:before{content:"󰷍"}.mdi-folder-arrow-down:before{content:"󱧨"}.mdi-folder-arrow-down-outline:before{content:"󱧩"}.mdi-folder-arrow-left:before{content:"󱧪"}.mdi-folder-arrow-left-outline:before{content:"󱧫"}.mdi-folder-arrow-left-right:before{content:"󱧬"}.mdi-folder-arrow-left-right-outline:before{content:"󱧭"}.mdi-folder-arrow-right:before{content:"󱧮"}.mdi-folder-arrow-right-outline:before{content:"󱧯"}.mdi-folder-arrow-up:before{content:"󱧰"}.mdi-folder-arrow-up-down:before{content:"󱧱"}.mdi-folder-arrow-up-down-outline:before{content:"󱧲"}.mdi-folder-arrow-up-outline:before{content:"󱧳"}.mdi-folder-cancel:before{content:"󱧴"}.mdi-folder-cancel-outline:before{content:"󱧵"}.mdi-folder-check:before{content:"󱥾"}.mdi-folder-check-outline:before{content:"󱥿"}.mdi-folder-clock:before{content:"󰪺"}.mdi-folder-clock-outline:before{content:"󰪻"}.mdi-folder-cog:before{content:"󱁿"}.mdi-folder-cog-outline:before{content:"󱂀"}.mdi-folder-download:before{content:"󰉍"}.mdi-folder-download-outline:before{content:"󱃩"}.mdi-folder-edit:before{content:"󰣞"}.mdi-folder-edit-outline:before{content:"󰷎"}.mdi-folder-eye:before{content:"󱞊"}.mdi-folder-eye-outline:before{content:"󱞋"}.mdi-folder-file:before{content:"󱧶"}.mdi-folder-file-outline:before{content:"󱧷"}.mdi-folder-google-drive:before{content:"󰉎"}.mdi-folder-heart:before{content:"󱃪"}.mdi-folder-heart-outline:before{content:"󱃫"}.mdi-folder-hidden:before{content:"󱞞"}.mdi-folder-home:before{content:"󱂵"}.mdi-folder-home-outline:before{content:"󱂶"}.mdi-folder-image:before{content:"󰉏"}.mdi-folder-information:before{content:"󱂷"}.mdi-folder-information-outline:before{content:"󱂸"}.mdi-folder-key:before{content:"󰢬"}.mdi-folder-key-network:before{content:"󰢭"}.mdi-folder-key-network-outline:before{content:"󰲀"}.mdi-folder-key-outline:before{content:"󱃬"}.mdi-folder-lock:before{content:"󰉐"}.mdi-folder-lock-open:before{content:"󰉑"}.mdi-folder-lock-open-outline:before{content:"󱪧"}.mdi-folder-lock-outline:before{content:"󱪨"}.mdi-folder-marker:before{content:"󱉭"}.mdi-folder-marker-outline:before{content:"󱉮"}.mdi-folder-minus:before{content:"󱭉"}.mdi-folder-minus-outline:before{content:"󱭊"}.mdi-folder-move:before{content:"󰉒"}.mdi-folder-move-outline:before{content:"󱉆"}.mdi-folder-multiple:before{content:"󰉓"}.mdi-folder-multiple-image:before{content:"󰉔"}.mdi-folder-multiple-outline:before{content:"󰉕"}.mdi-folder-multiple-plus:before{content:"󱑾"}.mdi-folder-multiple-plus-outline:before{content:"󱑿"}.mdi-folder-music:before{content:"󱍙"}.mdi-folder-music-outline:before{content:"󱍚"}.mdi-folder-network:before{content:"󰡰"}.mdi-folder-network-outline:before{content:"󰲁"}.mdi-folder-off:before{content:"󱧸"}.mdi-folder-off-outline:before{content:"󱧹"}.mdi-folder-open:before{content:"󰝰"}.mdi-folder-open-outline:before{content:"󰷏"}.mdi-folder-outline:before{content:"󰉖"}.mdi-folder-play:before{content:"󱧺"}.mdi-folder-play-outline:before{content:"󱧻"}.mdi-folder-plus:before{content:"󰉗"}.mdi-folder-plus-outline:before{content:"󰮝"}.mdi-folder-pound:before{content:"󰴉"}.mdi-folder-pound-outline:before{content:"󰴊"}.mdi-folder-question:before{content:"󱧊"}.mdi-folder-question-outline:before{content:"󱧋"}.mdi-folder-refresh:before{content:"󰝉"}.mdi-folder-refresh-outline:before{content:"󰕂"}.mdi-folder-remove:before{content:"󰉘"}.mdi-folder-remove-outline:before{content:"󰮞"}.mdi-folder-search:before{content:"󰥨"}.mdi-folder-search-outline:before{content:"󰥩"}.mdi-folder-settings:before{content:"󱁽"}.mdi-folder-settings-outline:before{content:"󱁾"}.mdi-folder-star:before{content:"󰚝"}.mdi-folder-star-multiple:before{content:"󱏓"}.mdi-folder-star-multiple-outline:before{content:"󱏔"}.mdi-folder-star-outline:before{content:"󰮟"}.mdi-folder-swap:before{content:"󰾶"}.mdi-folder-swap-outline:before{content:"󰾷"}.mdi-folder-sync:before{content:"󰴋"}.mdi-folder-sync-outline:before{content:"󰴌"}.mdi-folder-table:before{content:"󱋣"}.mdi-folder-table-outline:before{content:"󱋤"}.mdi-folder-text:before{content:"󰲂"}.mdi-folder-text-outline:before{content:"󰲃"}.mdi-folder-upload:before{content:"󰉙"}.mdi-folder-upload-outline:before{content:"󱃭"}.mdi-folder-wrench:before{content:"󱧼"}.mdi-folder-wrench-outline:before{content:"󱧽"}.mdi-folder-zip:before{content:"󰛫"}.mdi-folder-zip-outline:before{content:"󰞹"}.mdi-font-awesome:before{content:"󰀺"}.mdi-food:before{content:"󰉚"}.mdi-food-apple:before{content:"󰉛"}.mdi-food-apple-outline:before{content:"󰲄"}.mdi-food-croissant:before{content:"󰟈"}.mdi-food-drumstick:before{content:"󱐟"}.mdi-food-drumstick-off:before{content:"󱑨"}.mdi-food-drumstick-off-outline:before{content:"󱑩"}.mdi-food-drumstick-outline:before{content:"󱐠"}.mdi-food-fork-drink:before{content:"󰗲"}.mdi-food-halal:before{content:"󱕲"}.mdi-food-hot-dog:before{content:"󱡋"}.mdi-food-kosher:before{content:"󱕳"}.mdi-food-off:before{content:"󰗳"}.mdi-food-off-outline:before{content:"󱤕"}.mdi-food-outline:before{content:"󱤖"}.mdi-food-steak:before{content:"󱑪"}.mdi-food-steak-off:before{content:"󱑫"}.mdi-food-takeout-box:before{content:"󱠶"}.mdi-food-takeout-box-outline:before{content:"󱠷"}.mdi-food-turkey:before{content:"󱜜"}.mdi-food-variant:before{content:"󰉜"}.mdi-food-variant-off:before{content:"󱏥"}.mdi-foot-print:before{content:"󰽒"}.mdi-football:before{content:"󰉝"}.mdi-football-australian:before{content:"󰉞"}.mdi-football-helmet:before{content:"󰉟"}.mdi-forest:before{content:"󱢗"}.mdi-forest-outline:before{content:"󱱣"}.mdi-forklift:before{content:"󰟉"}.mdi-form-dropdown:before{content:"󱐀"}.mdi-form-select:before{content:"󱐁"}.mdi-form-textarea:before{content:"󱂕"}.mdi-form-textbox:before{content:"󰘎"}.mdi-form-textbox-lock:before{content:"󱍝"}.mdi-form-textbox-password:before{content:"󰟵"}.mdi-format-align-bottom:before{content:"󰝓"}.mdi-format-align-center:before{content:"󰉠"}.mdi-format-align-justify:before{content:"󰉡"}.mdi-format-align-left:before{content:"󰉢"}.mdi-format-align-middle:before{content:"󰝔"}.mdi-format-align-right:before{content:"󰉣"}.mdi-format-align-top:before{content:"󰝕"}.mdi-format-annotation-minus:before{content:"󰪼"}.mdi-format-annotation-plus:before{content:"󰙆"}.mdi-format-bold:before{content:"󰉤"}.mdi-format-clear:before{content:"󰉥"}.mdi-format-color-fill:before{content:"󰉦"}.mdi-format-color-highlight:before{content:"󰸱"}.mdi-format-color-marker-cancel:before{content:"󱌓"}.mdi-format-color-text:before{content:"󰚞"}.mdi-format-columns:before{content:"󰣟"}.mdi-format-float-center:before{content:"󰉧"}.mdi-format-float-left:before{content:"󰉨"}.mdi-format-float-none:before{content:"󰉩"}.mdi-format-float-right:before{content:"󰉪"}.mdi-format-font:before{content:"󰛖"}.mdi-format-font-size-decrease:before{content:"󰧳"}.mdi-format-font-size-increase:before{content:"󰧴"}.mdi-format-header-1:before{content:"󰉫"}.mdi-format-header-2:before{content:"󰉬"}.mdi-format-header-3:before{content:"󰉭"}.mdi-format-header-4:before{content:"󰉮"}.mdi-format-header-5:before{content:"󰉯"}.mdi-format-header-6:before{content:"󰉰"}.mdi-format-header-decrease:before{content:"󰉱"}.mdi-format-header-equal:before{content:"󰉲"}.mdi-format-header-increase:before{content:"󰉳"}.mdi-format-header-pound:before{content:"󰉴"}.mdi-format-horizontal-align-center:before{content:"󰘞"}.mdi-format-horizontal-align-left:before{content:"󰘟"}.mdi-format-horizontal-align-right:before{content:"󰘠"}.mdi-format-indent-decrease:before{content:"󰉵"}.mdi-format-indent-increase:before{content:"󰉶"}.mdi-format-italic:before{content:"󰉷"}.mdi-format-letter-case:before{content:"󰬴"}.mdi-format-letter-case-lower:before{content:"󰬵"}.mdi-format-letter-case-upper:before{content:"󰬶"}.mdi-format-letter-ends-with:before{content:"󰾸"}.mdi-format-letter-matches:before{content:"󰾹"}.mdi-format-letter-spacing:before{content:"󱥖"}.mdi-format-letter-spacing-variant:before{content:"󱫻"}.mdi-format-letter-starts-with:before{content:"󰾺"}.mdi-format-line-height:before{content:"󱫼"}.mdi-format-line-spacing:before{content:"󰉸"}.mdi-format-line-style:before{content:"󰗈"}.mdi-format-line-weight:before{content:"󰗉"}.mdi-format-list-bulleted:before{content:"󰉹"}.mdi-format-list-bulleted-square:before{content:"󰷐"}.mdi-format-list-bulleted-triangle:before{content:"󰺲"}.mdi-format-list-bulleted-type:before{content:"󰉺"}.mdi-format-list-checkbox:before{content:"󰥪"}.mdi-format-list-checks:before{content:"󰝖"}.mdi-format-list-group:before{content:"󱡠"}.mdi-format-list-group-plus:before{content:"󱭖"}.mdi-format-list-numbered:before{content:"󰉻"}.mdi-format-list-numbered-rtl:before{content:"󰴍"}.mdi-format-list-text:before{content:"󱉯"}.mdi-format-overline:before{content:"󰺳"}.mdi-format-page-break:before{content:"󰛗"}.mdi-format-page-split:before{content:"󱤗"}.mdi-format-paint:before{content:"󰉼"}.mdi-format-paragraph:before{content:"󰉽"}.mdi-format-paragraph-spacing:before{content:"󱫽"}.mdi-format-pilcrow:before{content:"󰛘"}.mdi-format-pilcrow-arrow-left:before{content:"󰊆"}.mdi-format-pilcrow-arrow-right:before{content:"󰊅"}.mdi-format-quote-close:before{content:"󰉾"}.mdi-format-quote-close-outline:before{content:"󱆨"}.mdi-format-quote-open:before{content:"󰝗"}.mdi-format-quote-open-outline:before{content:"󱆧"}.mdi-format-rotate-90:before{content:"󰚪"}.mdi-format-section:before{content:"󰚟"}.mdi-format-size:before{content:"󰉿"}.mdi-format-strikethrough:before{content:"󰊀"}.mdi-format-strikethrough-variant:before{content:"󰊁"}.mdi-format-subscript:before{content:"󰊂"}.mdi-format-superscript:before{content:"󰊃"}.mdi-format-text:before{content:"󰊄"}.mdi-format-text-rotation-angle-down:before{content:"󰾻"}.mdi-format-text-rotation-angle-up:before{content:"󰾼"}.mdi-format-text-rotation-down:before{content:"󰵳"}.mdi-format-text-rotation-down-vertical:before{content:"󰾽"}.mdi-format-text-rotation-none:before{content:"󰵴"}.mdi-format-text-rotation-up:before{content:"󰾾"}.mdi-format-text-rotation-vertical:before{content:"󰾿"}.mdi-format-text-variant:before{content:"󰸲"}.mdi-format-text-variant-outline:before{content:"󱔏"}.mdi-format-text-wrapping-clip:before{content:"󰴎"}.mdi-format-text-wrapping-overflow:before{content:"󰴏"}.mdi-format-text-wrapping-wrap:before{content:"󰴐"}.mdi-format-textbox:before{content:"󰴑"}.mdi-format-title:before{content:"󰗴"}.mdi-format-underline:before{content:"󰊇"}.mdi-format-underline-wavy:before{content:"󱣩"}.mdi-format-vertical-align-bottom:before{content:"󰘡"}.mdi-format-vertical-align-center:before{content:"󰘢"}.mdi-format-vertical-align-top:before{content:"󰘣"}.mdi-format-wrap-inline:before{content:"󰊈"}.mdi-format-wrap-square:before{content:"󰊉"}.mdi-format-wrap-tight:before{content:"󰊊"}.mdi-format-wrap-top-bottom:before{content:"󰊋"}.mdi-forum:before{content:"󰊌"}.mdi-forum-minus:before{content:"󱪩"}.mdi-forum-minus-outline:before{content:"󱪪"}.mdi-forum-outline:before{content:"󰠢"}.mdi-forum-plus:before{content:"󱪫"}.mdi-forum-plus-outline:before{content:"󱪬"}.mdi-forum-remove:before{content:"󱪭"}.mdi-forum-remove-outline:before{content:"󱪮"}.mdi-forward:before{content:"󰊍"}.mdi-forwardburger:before{content:"󰵵"}.mdi-fountain:before{content:"󰥫"}.mdi-fountain-pen:before{content:"󰴒"}.mdi-fountain-pen-tip:before{content:"󰴓"}.mdi-fraction-one-half:before{content:"󱦒"}.mdi-freebsd:before{content:"󰣠"}.mdi-french-fries:before{content:"󱥗"}.mdi-frequently-asked-questions:before{content:"󰺴"}.mdi-fridge:before{content:"󰊐"}.mdi-fridge-alert:before{content:"󱆱"}.mdi-fridge-alert-outline:before{content:"󱆲"}.mdi-fridge-bottom:before{content:"󰊒"}.mdi-fridge-industrial:before{content:"󱗮"}.mdi-fridge-industrial-alert:before{content:"󱗯"}.mdi-fridge-industrial-alert-outline:before{content:"󱗰"}.mdi-fridge-industrial-off:before{content:"󱗱"}.mdi-fridge-industrial-off-outline:before{content:"󱗲"}.mdi-fridge-industrial-outline:before{content:"󱗳"}.mdi-fridge-off:before{content:"󱆯"}.mdi-fridge-off-outline:before{content:"󱆰"}.mdi-fridge-outline:before{content:"󰊏"}.mdi-fridge-top:before{content:"󰊑"}.mdi-fridge-variant:before{content:"󱗴"}.mdi-fridge-variant-alert:before{content:"󱗵"}.mdi-fridge-variant-alert-outline:before{content:"󱗶"}.mdi-fridge-variant-off:before{content:"󱗷"}.mdi-fridge-variant-off-outline:before{content:"󱗸"}.mdi-fridge-variant-outline:before{content:"󱗹"}.mdi-fruit-cherries:before{content:"󱁂"}.mdi-fruit-cherries-off:before{content:"󱏸"}.mdi-fruit-citrus:before{content:"󱁃"}.mdi-fruit-citrus-off:before{content:"󱏹"}.mdi-fruit-grapes:before{content:"󱁄"}.mdi-fruit-grapes-outline:before{content:"󱁅"}.mdi-fruit-pear:before{content:"󱨎"}.mdi-fruit-pineapple:before{content:"󱁆"}.mdi-fruit-watermelon:before{content:"󱁇"}.mdi-fuel:before{content:"󰟊"}.mdi-fuel-cell:before{content:"󱢵"}.mdi-fullscreen:before{content:"󰊓"}.mdi-fullscreen-exit:before{content:"󰊔"}.mdi-function:before{content:"󰊕"}.mdi-function-variant:before{content:"󰡱"}.mdi-furigana-horizontal:before{content:"󱂁"}.mdi-furigana-vertical:before{content:"󱂂"}.mdi-fuse:before{content:"󰲅"}.mdi-fuse-alert:before{content:"󱐭"}.mdi-fuse-blade:before{content:"󰲆"}.mdi-fuse-off:before{content:"󱐬"}.mdi-gamepad:before{content:"󰊖"}.mdi-gamepad-circle:before{content:"󰸳"}.mdi-gamepad-circle-down:before{content:"󰸴"}.mdi-gamepad-circle-left:before{content:"󰸵"}.mdi-gamepad-circle-outline:before{content:"󰸶"}.mdi-gamepad-circle-right:before{content:"󰸷"}.mdi-gamepad-circle-up:before{content:"󰸸"}.mdi-gamepad-down:before{content:"󰸹"}.mdi-gamepad-left:before{content:"󰸺"}.mdi-gamepad-outline:before{content:"󱤙"}.mdi-gamepad-right:before{content:"󰸻"}.mdi-gamepad-round:before{content:"󰸼"}.mdi-gamepad-round-down:before{content:"󰸽"}.mdi-gamepad-round-left:before{content:"󰸾"}.mdi-gamepad-round-outline:before{content:"󰸿"}.mdi-gamepad-round-right:before{content:"󰹀"}.mdi-gamepad-round-up:before{content:"󰹁"}.mdi-gamepad-square:before{content:"󰺵"}.mdi-gamepad-square-outline:before{content:"󰺶"}.mdi-gamepad-up:before{content:"󰹂"}.mdi-gamepad-variant:before{content:"󰊗"}.mdi-gamepad-variant-outline:before{content:"󰺷"}.mdi-gamma:before{content:"󱃮"}.mdi-gantry-crane:before{content:"󰷑"}.mdi-garage:before{content:"󰛙"}.mdi-garage-alert:before{content:"󰡲"}.mdi-garage-alert-variant:before{content:"󱋕"}.mdi-garage-lock:before{content:"󱟻"}.mdi-garage-open:before{content:"󰛚"}.mdi-garage-open-variant:before{content:"󱋔"}.mdi-garage-variant:before{content:"󱋓"}.mdi-garage-variant-lock:before{content:"󱟼"}.mdi-gas-burner:before{content:"󱨛"}.mdi-gas-cylinder:before{content:"󰙇"}.mdi-gas-station:before{content:"󰊘"}.mdi-gas-station-off:before{content:"󱐉"}.mdi-gas-station-off-outline:before{content:"󱐊"}.mdi-gas-station-outline:before{content:"󰺸"}.mdi-gate:before{content:"󰊙"}.mdi-gate-alert:before{content:"󱟸"}.mdi-gate-and:before{content:"󰣡"}.mdi-gate-arrow-left:before{content:"󱟷"}.mdi-gate-arrow-right:before{content:"󱅩"}.mdi-gate-buffer:before{content:"󱫾"}.mdi-gate-nand:before{content:"󰣢"}.mdi-gate-nor:before{content:"󰣣"}.mdi-gate-not:before{content:"󰣤"}.mdi-gate-open:before{content:"󱅪"}.mdi-gate-or:before{content:"󰣥"}.mdi-gate-xnor:before{content:"󰣦"}.mdi-gate-xor:before{content:"󰣧"}.mdi-gatsby:before{content:"󰹃"}.mdi-gauge:before{content:"󰊚"}.mdi-gauge-empty:before{content:"󰡳"}.mdi-gauge-full:before{content:"󰡴"}.mdi-gauge-low:before{content:"󰡵"}.mdi-gavel:before{content:"󰊛"}.mdi-gender-female:before{content:"󰊜"}.mdi-gender-male:before{content:"󰊝"}.mdi-gender-male-female:before{content:"󰊞"}.mdi-gender-male-female-variant:before{content:"󱄿"}.mdi-gender-non-binary:before{content:"󱅀"}.mdi-gender-transgender:before{content:"󰊟"}.mdi-gentoo:before{content:"󰣨"}.mdi-gesture:before{content:"󰟋"}.mdi-gesture-double-tap:before{content:"󰜼"}.mdi-gesture-pinch:before{content:"󰪽"}.mdi-gesture-spread:before{content:"󰪾"}.mdi-gesture-swipe:before{content:"󰵶"}.mdi-gesture-swipe-down:before{content:"󰜽"}.mdi-gesture-swipe-horizontal:before{content:"󰪿"}.mdi-gesture-swipe-left:before{content:"󰜾"}.mdi-gesture-swipe-right:before{content:"󰜿"}.mdi-gesture-swipe-up:before{content:"󰝀"}.mdi-gesture-swipe-vertical:before{content:"󰫀"}.mdi-gesture-tap:before{content:"󰝁"}.mdi-gesture-tap-box:before{content:"󱊩"}.mdi-gesture-tap-button:before{content:"󱊨"}.mdi-gesture-tap-hold:before{content:"󰵷"}.mdi-gesture-two-double-tap:before{content:"󰝂"}.mdi-gesture-two-tap:before{content:"󰝃"}.mdi-ghost:before{content:"󰊠"}.mdi-ghost-off:before{content:"󰧵"}.mdi-ghost-off-outline:before{content:"󱙜"}.mdi-ghost-outline:before{content:"󱙝"}.mdi-gift:before{content:"󰹄"}.mdi-gift-off:before{content:"󱛯"}.mdi-gift-off-outline:before{content:"󱛰"}.mdi-gift-open:before{content:"󱛱"}.mdi-gift-open-outline:before{content:"󱛲"}.mdi-gift-outline:before{content:"󰊡"}.mdi-git:before{content:"󰊢"}.mdi-github:before{content:"󰊤"}.mdi-gitlab:before{content:"󰮠"}.mdi-glass-cocktail:before{content:"󰍖"}.mdi-glass-cocktail-off:before{content:"󱗦"}.mdi-glass-flute:before{content:"󰊥"}.mdi-glass-fragile:before{content:"󱡳"}.mdi-glass-mug:before{content:"󰊦"}.mdi-glass-mug-off:before{content:"󱗧"}.mdi-glass-mug-variant:before{content:"󱄖"}.mdi-glass-mug-variant-off:before{content:"󱗨"}.mdi-glass-pint-outline:before{content:"󱌍"}.mdi-glass-stange:before{content:"󰊧"}.mdi-glass-tulip:before{content:"󰊨"}.mdi-glass-wine:before{content:"󰡶"}.mdi-glasses:before{content:"󰊪"}.mdi-globe-light:before{content:"󰙯"}.mdi-globe-light-outline:before{content:"󱋗"}.mdi-globe-model:before{content:"󰣩"}.mdi-gmail:before{content:"󰊫"}.mdi-gnome:before{content:"󰊬"}.mdi-go-kart:before{content:"󰵹"}.mdi-go-kart-track:before{content:"󰵺"}.mdi-gog:before{content:"󰮡"}.mdi-gold:before{content:"󱉏"}.mdi-golf:before{content:"󰠣"}.mdi-golf-cart:before{content:"󱆤"}.mdi-golf-tee:before{content:"󱂃"}.mdi-gondola:before{content:"󰚆"}.mdi-goodreads:before{content:"󰵻"}.mdi-google:before{content:"󰊭"}.mdi-google-ads:before{content:"󰲇"}.mdi-google-analytics:before{content:"󰟌"}.mdi-google-assistant:before{content:"󰟍"}.mdi-google-cardboard:before{content:"󰊮"}.mdi-google-chrome:before{content:"󰊯"}.mdi-google-circles:before{content:"󰊰"}.mdi-google-circles-communities:before{content:"󰊱"}.mdi-google-circles-extended:before{content:"󰊲"}.mdi-google-circles-group:before{content:"󰊳"}.mdi-google-classroom:before{content:"󰋀"}.mdi-google-cloud:before{content:"󱇶"}.mdi-google-downasaur:before{content:"󱍢"}.mdi-google-drive:before{content:"󰊶"}.mdi-google-earth:before{content:"󰊷"}.mdi-google-fit:before{content:"󰥬"}.mdi-google-glass:before{content:"󰊸"}.mdi-google-hangouts:before{content:"󰋉"}.mdi-google-keep:before{content:"󰛜"}.mdi-google-lens:before{content:"󰧶"}.mdi-google-maps:before{content:"󰗵"}.mdi-google-my-business:before{content:"󱁈"}.mdi-google-nearby:before{content:"󰊹"}.mdi-google-play:before{content:"󰊼"}.mdi-google-plus:before{content:"󰊽"}.mdi-google-podcast:before{content:"󰺹"}.mdi-google-spreadsheet:before{content:"󰧷"}.mdi-google-street-view:before{content:"󰲈"}.mdi-google-translate:before{content:"󰊿"}.mdi-gradient-horizontal:before{content:"󱝊"}.mdi-gradient-vertical:before{content:"󰚠"}.mdi-grain:before{content:"󰵼"}.mdi-graph:before{content:"󱁉"}.mdi-graph-outline:before{content:"󱁊"}.mdi-graphql:before{content:"󰡷"}.mdi-grass:before{content:"󱔐"}.mdi-grave-stone:before{content:"󰮢"}.mdi-grease-pencil:before{content:"󰙈"}.mdi-greater-than:before{content:"󰥭"}.mdi-greater-than-or-equal:before{content:"󰥮"}.mdi-greenhouse:before{content:"󰀭"}.mdi-grid:before{content:"󰋁"}.mdi-grid-large:before{content:"󰝘"}.mdi-grid-off:before{content:"󰋂"}.mdi-grill:before{content:"󰹅"}.mdi-grill-outline:before{content:"󱆊"}.mdi-group:before{content:"󰋃"}.mdi-guitar-acoustic:before{content:"󰝱"}.mdi-guitar-electric:before{content:"󰋄"}.mdi-guitar-pick:before{content:"󰋅"}.mdi-guitar-pick-outline:before{content:"󰋆"}.mdi-guy-fawkes-mask:before{content:"󰠥"}.mdi-gymnastics:before{content:"󱩁"}.mdi-hail:before{content:"󰫁"}.mdi-hair-dryer:before{content:"󱃯"}.mdi-hair-dryer-outline:before{content:"󱃰"}.mdi-halloween:before{content:"󰮣"}.mdi-hamburger:before{content:"󰚅"}.mdi-hamburger-check:before{content:"󱝶"}.mdi-hamburger-minus:before{content:"󱝷"}.mdi-hamburger-off:before{content:"󱝸"}.mdi-hamburger-plus:before{content:"󱝹"}.mdi-hamburger-remove:before{content:"󱝺"}.mdi-hammer:before{content:"󰣪"}.mdi-hammer-screwdriver:before{content:"󱌢"}.mdi-hammer-sickle:before{content:"󱢇"}.mdi-hammer-wrench:before{content:"󱌣"}.mdi-hand-back-left:before{content:"󰹆"}.mdi-hand-back-left-off:before{content:"󱠰"}.mdi-hand-back-left-off-outline:before{content:"󱠲"}.mdi-hand-back-left-outline:before{content:"󱠬"}.mdi-hand-back-right:before{content:"󰹇"}.mdi-hand-back-right-off:before{content:"󱠱"}.mdi-hand-back-right-off-outline:before{content:"󱠳"}.mdi-hand-back-right-outline:before{content:"󱠭"}.mdi-hand-clap:before{content:"󱥋"}.mdi-hand-clap-off:before{content:"󱩂"}.mdi-hand-coin:before{content:"󱢏"}.mdi-hand-coin-outline:before{content:"󱢐"}.mdi-hand-cycle:before{content:"󱮜"}.mdi-hand-extended:before{content:"󱢶"}.mdi-hand-extended-outline:before{content:"󱢷"}.mdi-hand-front-left:before{content:"󱠫"}.mdi-hand-front-left-outline:before{content:"󱠮"}.mdi-hand-front-right:before{content:"󰩏"}.mdi-hand-front-right-outline:before{content:"󱠯"}.mdi-hand-heart:before{content:"󱃱"}.mdi-hand-heart-outline:before{content:"󱕾"}.mdi-hand-okay:before{content:"󰩐"}.mdi-hand-peace:before{content:"󰩑"}.mdi-hand-peace-variant:before{content:"󰩒"}.mdi-hand-pointing-down:before{content:"󰩓"}.mdi-hand-pointing-left:before{content:"󰩔"}.mdi-hand-pointing-right:before{content:"󰋇"}.mdi-hand-pointing-up:before{content:"󰩕"}.mdi-hand-saw:before{content:"󰹈"}.mdi-hand-wash:before{content:"󱕿"}.mdi-hand-wash-outline:before{content:"󱖀"}.mdi-hand-water:before{content:"󱎟"}.mdi-hand-wave:before{content:"󱠡"}.mdi-hand-wave-outline:before{content:"󱠢"}.mdi-handball:before{content:"󰽓"}.mdi-handcuffs:before{content:"󱄾"}.mdi-hands-pray:before{content:"󰕹"}.mdi-handshake:before{content:"󱈘"}.mdi-handshake-outline:before{content:"󱖡"}.mdi-hanger:before{content:"󰋈"}.mdi-hard-hat:before{content:"󰥯"}.mdi-harddisk:before{content:"󰋊"}.mdi-harddisk-plus:before{content:"󱁋"}.mdi-harddisk-remove:before{content:"󱁌"}.mdi-hat-fedora:before{content:"󰮤"}.mdi-hazard-lights:before{content:"󰲉"}.mdi-hdmi-port:before{content:"󱮸"}.mdi-hdr:before{content:"󰵽"}.mdi-hdr-off:before{content:"󰵾"}.mdi-head:before{content:"󱍞"}.mdi-head-alert:before{content:"󱌸"}.mdi-head-alert-outline:before{content:"󱌹"}.mdi-head-check:before{content:"󱌺"}.mdi-head-check-outline:before{content:"󱌻"}.mdi-head-cog:before{content:"󱌼"}.mdi-head-cog-outline:before{content:"󱌽"}.mdi-head-dots-horizontal:before{content:"󱌾"}.mdi-head-dots-horizontal-outline:before{content:"󱌿"}.mdi-head-flash:before{content:"󱍀"}.mdi-head-flash-outline:before{content:"󱍁"}.mdi-head-heart:before{content:"󱍂"}.mdi-head-heart-outline:before{content:"󱍃"}.mdi-head-lightbulb:before{content:"󱍄"}.mdi-head-lightbulb-outline:before{content:"󱍅"}.mdi-head-minus:before{content:"󱍆"}.mdi-head-minus-outline:before{content:"󱍇"}.mdi-head-outline:before{content:"󱍟"}.mdi-head-plus:before{content:"󱍈"}.mdi-head-plus-outline:before{content:"󱍉"}.mdi-head-question:before{content:"󱍊"}.mdi-head-question-outline:before{content:"󱍋"}.mdi-head-remove:before{content:"󱍌"}.mdi-head-remove-outline:before{content:"󱍍"}.mdi-head-snowflake:before{content:"󱍎"}.mdi-head-snowflake-outline:before{content:"󱍏"}.mdi-head-sync:before{content:"󱍐"}.mdi-head-sync-outline:before{content:"󱍑"}.mdi-headphones:before{content:"󰋋"}.mdi-headphones-bluetooth:before{content:"󰥰"}.mdi-headphones-box:before{content:"󰋌"}.mdi-headphones-off:before{content:"󰟎"}.mdi-headphones-settings:before{content:"󰋍"}.mdi-headset:before{content:"󰋎"}.mdi-headset-dock:before{content:"󰋏"}.mdi-headset-off:before{content:"󰋐"}.mdi-heart:before{content:"󰋑"}.mdi-heart-box:before{content:"󰋒"}.mdi-heart-box-outline:before{content:"󰋓"}.mdi-heart-broken:before{content:"󰋔"}.mdi-heart-broken-outline:before{content:"󰴔"}.mdi-heart-circle:before{content:"󰥱"}.mdi-heart-circle-outline:before{content:"󰥲"}.mdi-heart-cog:before{content:"󱙣"}.mdi-heart-cog-outline:before{content:"󱙤"}.mdi-heart-flash:before{content:"󰻹"}.mdi-heart-half:before{content:"󰛟"}.mdi-heart-half-full:before{content:"󰛞"}.mdi-heart-half-outline:before{content:"󰛠"}.mdi-heart-minus:before{content:"󱐯"}.mdi-heart-minus-outline:before{content:"󱐲"}.mdi-heart-multiple:before{content:"󰩖"}.mdi-heart-multiple-outline:before{content:"󰩗"}.mdi-heart-off:before{content:"󰝙"}.mdi-heart-off-outline:before{content:"󱐴"}.mdi-heart-outline:before{content:"󰋕"}.mdi-heart-plus:before{content:"󱐮"}.mdi-heart-plus-outline:before{content:"󱐱"}.mdi-heart-pulse:before{content:"󰗶"}.mdi-heart-remove:before{content:"󱐰"}.mdi-heart-remove-outline:before{content:"󱐳"}.mdi-heart-settings:before{content:"󱙥"}.mdi-heart-settings-outline:before{content:"󱙦"}.mdi-heat-pump:before{content:"󱩃"}.mdi-heat-pump-outline:before{content:"󱩄"}.mdi-heat-wave:before{content:"󱩅"}.mdi-heating-coil:before{content:"󱪯"}.mdi-helicopter:before{content:"󰫂"}.mdi-help:before{content:"󰋖"}.mdi-help-box:before{content:"󰞋"}.mdi-help-box-multiple:before{content:"󱰊"}.mdi-help-box-multiple-outline:before{content:"󱰋"}.mdi-help-box-outline:before{content:"󱰌"}.mdi-help-circle:before{content:"󰋗"}.mdi-help-circle-outline:before{content:"󰘥"}.mdi-help-network:before{content:"󰛵"}.mdi-help-network-outline:before{content:"󰲊"}.mdi-help-rhombus:before{content:"󰮥"}.mdi-help-rhombus-outline:before{content:"󰮦"}.mdi-hexadecimal:before{content:"󱊧"}.mdi-hexagon:before{content:"󰋘"}.mdi-hexagon-multiple:before{content:"󰛡"}.mdi-hexagon-multiple-outline:before{content:"󱃲"}.mdi-hexagon-outline:before{content:"󰋙"}.mdi-hexagon-slice-1:before{content:"󰫃"}.mdi-hexagon-slice-2:before{content:"󰫄"}.mdi-hexagon-slice-3:before{content:"󰫅"}.mdi-hexagon-slice-4:before{content:"󰫆"}.mdi-hexagon-slice-5:before{content:"󰫇"}.mdi-hexagon-slice-6:before{content:"󰫈"}.mdi-hexagram:before{content:"󰫉"}.mdi-hexagram-outline:before{content:"󰫊"}.mdi-high-definition:before{content:"󰟏"}.mdi-high-definition-box:before{content:"󰡸"}.mdi-highway:before{content:"󰗷"}.mdi-hiking:before{content:"󰵿"}.mdi-history:before{content:"󰋚"}.mdi-hockey-puck:before{content:"󰡹"}.mdi-hockey-sticks:before{content:"󰡺"}.mdi-hololens:before{content:"󰋛"}.mdi-home:before{content:"󰋜"}.mdi-home-account:before{content:"󰠦"}.mdi-home-alert:before{content:"󰡻"}.mdi-home-alert-outline:before{content:"󱗐"}.mdi-home-analytics:before{content:"󰺺"}.mdi-home-assistant:before{content:"󰟐"}.mdi-home-automation:before{content:"󰟑"}.mdi-home-battery:before{content:"󱤁"}.mdi-home-battery-outline:before{content:"󱤂"}.mdi-home-circle:before{content:"󰟒"}.mdi-home-circle-outline:before{content:"󱁍"}.mdi-home-city:before{content:"󰴕"}.mdi-home-city-outline:before{content:"󰴖"}.mdi-home-clock:before{content:"󱨒"}.mdi-home-clock-outline:before{content:"󱨓"}.mdi-home-edit:before{content:"󱅙"}.mdi-home-edit-outline:before{content:"󱅚"}.mdi-home-export-outline:before{content:"󰾛"}.mdi-home-flood:before{content:"󰻺"}.mdi-home-floor-0:before{content:"󰷒"}.mdi-home-floor-1:before{content:"󰶀"}.mdi-home-floor-2:before{content:"󰶁"}.mdi-home-floor-3:before{content:"󰶂"}.mdi-home-floor-a:before{content:"󰶃"}.mdi-home-floor-b:before{content:"󰶄"}.mdi-home-floor-g:before{content:"󰶅"}.mdi-home-floor-l:before{content:"󰶆"}.mdi-home-floor-negative-1:before{content:"󰷓"}.mdi-home-group:before{content:"󰷔"}.mdi-home-group-minus:before{content:"󱧁"}.mdi-home-group-plus:before{content:"󱧀"}.mdi-home-group-remove:before{content:"󱧂"}.mdi-home-heart:before{content:"󰠧"}.mdi-home-import-outline:before{content:"󰾜"}.mdi-home-lightbulb:before{content:"󱉑"}.mdi-home-lightbulb-outline:before{content:"󱉒"}.mdi-home-lightning-bolt:before{content:"󱤃"}.mdi-home-lightning-bolt-outline:before{content:"󱤄"}.mdi-home-lock:before{content:"󰣫"}.mdi-home-lock-open:before{content:"󰣬"}.mdi-home-map-marker:before{content:"󰗸"}.mdi-home-minus:before{content:"󰥴"}.mdi-home-minus-outline:before{content:"󱏕"}.mdi-home-modern:before{content:"󰋝"}.mdi-home-off:before{content:"󱩆"}.mdi-home-off-outline:before{content:"󱩇"}.mdi-home-outline:before{content:"󰚡"}.mdi-home-percent:before{content:"󱱼"}.mdi-home-percent-outline:before{content:"󱱽"}.mdi-home-plus:before{content:"󰥵"}.mdi-home-plus-outline:before{content:"󱏖"}.mdi-home-remove:before{content:"󱉇"}.mdi-home-remove-outline:before{content:"󱏗"}.mdi-home-roof:before{content:"󱄫"}.mdi-home-search:before{content:"󱎰"}.mdi-home-search-outline:before{content:"󱎱"}.mdi-home-silo:before{content:"󱮠"}.mdi-home-silo-outline:before{content:"󱮡"}.mdi-home-sound-in:before{content:"󱰯"}.mdi-home-sound-in-outline:before{content:"󱰰"}.mdi-home-sound-out:before{content:"󱰱"}.mdi-home-sound-out-outline:before{content:"󱰲"}.mdi-home-switch:before{content:"󱞔"}.mdi-home-switch-outline:before{content:"󱞕"}.mdi-home-thermometer:before{content:"󰽔"}.mdi-home-thermometer-outline:before{content:"󰽕"}.mdi-home-variant:before{content:"󰋞"}.mdi-home-variant-outline:before{content:"󰮧"}.mdi-hook:before{content:"󰛢"}.mdi-hook-off:before{content:"󰛣"}.mdi-hoop-house:before{content:"󰹖"}.mdi-hops:before{content:"󰋟"}.mdi-horizontal-rotate-clockwise:before{content:"󱃳"}.mdi-horizontal-rotate-counterclockwise:before{content:"󱃴"}.mdi-horse:before{content:"󱖿"}.mdi-horse-human:before{content:"󱗀"}.mdi-horse-variant:before{content:"󱗁"}.mdi-horse-variant-fast:before{content:"󱡮"}.mdi-horseshoe:before{content:"󰩘"}.mdi-hospital:before{content:"󰿶"}.mdi-hospital-box:before{content:"󰋠"}.mdi-hospital-box-outline:before{content:"󰿷"}.mdi-hospital-building:before{content:"󰋡"}.mdi-hospital-marker:before{content:"󰋢"}.mdi-hot-tub:before{content:"󰠨"}.mdi-hours-24:before{content:"󱑸"}.mdi-hubspot:before{content:"󰴗"}.mdi-hulu:before{content:"󰠩"}.mdi-human:before{content:"󰋦"}.mdi-human-baby-changing-table:before{content:"󱎋"}.mdi-human-cane:before{content:"󱖁"}.mdi-human-capacity-decrease:before{content:"󱖛"}.mdi-human-capacity-increase:before{content:"󱖜"}.mdi-human-child:before{content:"󰋧"}.mdi-human-dolly:before{content:"󱦀"}.mdi-human-edit:before{content:"󱓨"}.mdi-human-female:before{content:"󰙉"}.mdi-human-female-boy:before{content:"󰩙"}.mdi-human-female-dance:before{content:"󱗉"}.mdi-human-female-female:before{content:"󰩚"}.mdi-human-female-girl:before{content:"󰩛"}.mdi-human-greeting:before{content:"󱟄"}.mdi-human-greeting-proximity:before{content:"󱖝"}.mdi-human-greeting-variant:before{content:"󰙊"}.mdi-human-handsdown:before{content:"󰙋"}.mdi-human-handsup:before{content:"󰙌"}.mdi-human-male:before{content:"󰙍"}.mdi-human-male-board:before{content:"󰢐"}.mdi-human-male-board-poll:before{content:"󰡆"}.mdi-human-male-boy:before{content:"󰩜"}.mdi-human-male-child:before{content:"󱎌"}.mdi-human-male-female:before{content:"󰋨"}.mdi-human-male-female-child:before{content:"󱠣"}.mdi-human-male-girl:before{content:"󰩝"}.mdi-human-male-height:before{content:"󰻻"}.mdi-human-male-height-variant:before{content:"󰻼"}.mdi-human-male-male:before{content:"󰩞"}.mdi-human-non-binary:before{content:"󱡈"}.mdi-human-pregnant:before{content:"󰗏"}.mdi-human-queue:before{content:"󱕱"}.mdi-human-scooter:before{content:"󱇩"}.mdi-human-walker:before{content:"󱭱"}.mdi-human-wheelchair:before{content:"󱎍"}.mdi-human-white-cane:before{content:"󱦁"}.mdi-humble-bundle:before{content:"󰝄"}.mdi-hvac:before{content:"󱍒"}.mdi-hvac-off:before{content:"󱖞"}.mdi-hydraulic-oil-level:before{content:"󱌤"}.mdi-hydraulic-oil-temperature:before{content:"󱌥"}.mdi-hydro-power:before{content:"󱋥"}.mdi-hydrogen-station:before{content:"󱢔"}.mdi-ice-cream:before{content:"󰠪"}.mdi-ice-cream-off:before{content:"󰹒"}.mdi-ice-pop:before{content:"󰻽"}.mdi-id-card:before{content:"󰿀"}.mdi-identifier:before{content:"󰻾"}.mdi-ideogram-cjk:before{content:"󱌱"}.mdi-ideogram-cjk-variant:before{content:"󱌲"}.mdi-image:before{content:"󰋩"}.mdi-image-album:before{content:"󰋪"}.mdi-image-area:before{content:"󰋫"}.mdi-image-area-close:before{content:"󰋬"}.mdi-image-auto-adjust:before{content:"󰿁"}.mdi-image-broken:before{content:"󰋭"}.mdi-image-broken-variant:before{content:"󰋮"}.mdi-image-check:before{content:"󱬥"}.mdi-image-check-outline:before{content:"󱬦"}.mdi-image-edit:before{content:"󱇣"}.mdi-image-edit-outline:before{content:"󱇤"}.mdi-image-filter-black-white:before{content:"󰋰"}.mdi-image-filter-center-focus:before{content:"󰋱"}.mdi-image-filter-center-focus-strong:before{content:"󰻿"}.mdi-image-filter-center-focus-strong-outline:before{content:"󰼀"}.mdi-image-filter-center-focus-weak:before{content:"󰋲"}.mdi-image-filter-drama:before{content:"󰋳"}.mdi-image-filter-drama-outline:before{content:"󱯿"}.mdi-image-filter-frames:before{content:"󰋴"}.mdi-image-filter-hdr:before{content:"󰋵"}.mdi-image-filter-hdr-outline:before{content:"󱱤"}.mdi-image-filter-none:before{content:"󰋶"}.mdi-image-filter-tilt-shift:before{content:"󰋷"}.mdi-image-filter-vintage:before{content:"󰋸"}.mdi-image-frame:before{content:"󰹉"}.mdi-image-lock:before{content:"󱪰"}.mdi-image-lock-outline:before{content:"󱪱"}.mdi-image-marker:before{content:"󱝻"}.mdi-image-marker-outline:before{content:"󱝼"}.mdi-image-minus:before{content:"󱐙"}.mdi-image-minus-outline:before{content:"󱭇"}.mdi-image-move:before{content:"󰧸"}.mdi-image-multiple:before{content:"󰋹"}.mdi-image-multiple-outline:before{content:"󰋯"}.mdi-image-off:before{content:"󰠫"}.mdi-image-off-outline:before{content:"󱇑"}.mdi-image-outline:before{content:"󰥶"}.mdi-image-plus:before{content:"󰡼"}.mdi-image-plus-outline:before{content:"󱭆"}.mdi-image-refresh:before{content:"󱧾"}.mdi-image-refresh-outline:before{content:"󱧿"}.mdi-image-remove:before{content:"󱐘"}.mdi-image-remove-outline:before{content:"󱭈"}.mdi-image-search:before{content:"󰥷"}.mdi-image-search-outline:before{content:"󰥸"}.mdi-image-size-select-actual:before{content:"󰲍"}.mdi-image-size-select-large:before{content:"󰲎"}.mdi-image-size-select-small:before{content:"󰲏"}.mdi-image-sync:before{content:"󱨀"}.mdi-image-sync-outline:before{content:"󱨁"}.mdi-image-text:before{content:"󱘍"}.mdi-import:before{content:"󰋺"}.mdi-inbox:before{content:"󰚇"}.mdi-inbox-arrow-down:before{content:"󰋻"}.mdi-inbox-arrow-down-outline:before{content:"󱉰"}.mdi-inbox-arrow-up:before{content:"󰏑"}.mdi-inbox-arrow-up-outline:before{content:"󱉱"}.mdi-inbox-full:before{content:"󱉲"}.mdi-inbox-full-outline:before{content:"󱉳"}.mdi-inbox-multiple:before{content:"󰢰"}.mdi-inbox-multiple-outline:before{content:"󰮨"}.mdi-inbox-outline:before{content:"󱉴"}.mdi-inbox-remove:before{content:"󱖟"}.mdi-inbox-remove-outline:before{content:"󱖠"}.mdi-incognito:before{content:"󰗹"}.mdi-incognito-circle:before{content:"󱐡"}.mdi-incognito-circle-off:before{content:"󱐢"}.mdi-incognito-off:before{content:"󰁵"}.mdi-induction:before{content:"󱡌"}.mdi-infinity:before{content:"󰛤"}.mdi-information:before{content:"󰋼"}.mdi-information-box:before{content:"󱱥"}.mdi-information-box-outline:before{content:"󱱦"}.mdi-information-off:before{content:"󱞌"}.mdi-information-off-outline:before{content:"󱞍"}.mdi-information-outline:before{content:"󰋽"}.mdi-information-slab-box:before{content:"󱱧"}.mdi-information-slab-box-outline:before{content:"󱱨"}.mdi-information-slab-circle:before{content:"󱱩"}.mdi-information-slab-circle-outline:before{content:"󱱪"}.mdi-information-slab-symbol:before{content:"󱱫"}.mdi-information-symbol:before{content:"󱱬"}.mdi-information-variant:before{content:"󰙎"}.mdi-information-variant-box:before{content:"󱱭"}.mdi-information-variant-box-outline:before{content:"󱱮"}.mdi-information-variant-circle:before{content:"󱱯"}.mdi-information-variant-circle-outline:before{content:"󱱰"}.mdi-instagram:before{content:"󰋾"}.mdi-instrument-triangle:before{content:"󱁎"}.mdi-integrated-circuit-chip:before{content:"󱤓"}.mdi-invert-colors:before{content:"󰌁"}.mdi-invert-colors-off:before{content:"󰹊"}.mdi-iobroker:before{content:"󱋨"}.mdi-ip:before{content:"󰩟"}.mdi-ip-network:before{content:"󰩠"}.mdi-ip-network-outline:before{content:"󰲐"}.mdi-ip-outline:before{content:"󱦂"}.mdi-ipod:before{content:"󰲑"}.mdi-iron:before{content:"󱠤"}.mdi-iron-board:before{content:"󱠸"}.mdi-iron-outline:before{content:"󱠥"}.mdi-island:before{content:"󱁏"}.mdi-iv-bag:before{content:"󱂹"}.mdi-jabber:before{content:"󰷕"}.mdi-jeepney:before{content:"󰌂"}.mdi-jellyfish:before{content:"󰼁"}.mdi-jellyfish-outline:before{content:"󰼂"}.mdi-jira:before{content:"󰌃"}.mdi-jquery:before{content:"󰡽"}.mdi-jsfiddle:before{content:"󰌄"}.mdi-jump-rope:before{content:"󱋿"}.mdi-kabaddi:before{content:"󰶇"}.mdi-kangaroo:before{content:"󱕘"}.mdi-karate:before{content:"󰠬"}.mdi-kayaking:before{content:"󰢯"}.mdi-keg:before{content:"󰌅"}.mdi-kettle:before{content:"󰗺"}.mdi-kettle-alert:before{content:"󱌗"}.mdi-kettle-alert-outline:before{content:"󱌘"}.mdi-kettle-off:before{content:"󱌛"}.mdi-kettle-off-outline:before{content:"󱌜"}.mdi-kettle-outline:before{content:"󰽖"}.mdi-kettle-pour-over:before{content:"󱜼"}.mdi-kettle-steam:before{content:"󱌙"}.mdi-kettle-steam-outline:before{content:"󱌚"}.mdi-kettlebell:before{content:"󱌀"}.mdi-key:before{content:"󰌆"}.mdi-key-alert:before{content:"󱦃"}.mdi-key-alert-outline:before{content:"󱦄"}.mdi-key-arrow-right:before{content:"󱌒"}.mdi-key-chain:before{content:"󱕴"}.mdi-key-chain-variant:before{content:"󱕵"}.mdi-key-change:before{content:"󰌇"}.mdi-key-link:before{content:"󱆟"}.mdi-key-minus:before{content:"󰌈"}.mdi-key-outline:before{content:"󰷖"}.mdi-key-plus:before{content:"󰌉"}.mdi-key-remove:before{content:"󰌊"}.mdi-key-star:before{content:"󱆞"}.mdi-key-variant:before{content:"󰌋"}.mdi-key-wireless:before{content:"󰿂"}.mdi-keyboard:before{content:"󰌌"}.mdi-keyboard-backspace:before{content:"󰌍"}.mdi-keyboard-caps:before{content:"󰌎"}.mdi-keyboard-close:before{content:"󰌏"}.mdi-keyboard-close-outline:before{content:"󱰀"}.mdi-keyboard-esc:before{content:"󱊷"}.mdi-keyboard-f1:before{content:"󱊫"}.mdi-keyboard-f10:before{content:"󱊴"}.mdi-keyboard-f11:before{content:"󱊵"}.mdi-keyboard-f12:before{content:"󱊶"}.mdi-keyboard-f2:before{content:"󱊬"}.mdi-keyboard-f3:before{content:"󱊭"}.mdi-keyboard-f4:before{content:"󱊮"}.mdi-keyboard-f5:before{content:"󱊯"}.mdi-keyboard-f6:before{content:"󱊰"}.mdi-keyboard-f7:before{content:"󱊱"}.mdi-keyboard-f8:before{content:"󱊲"}.mdi-keyboard-f9:before{content:"󱊳"}.mdi-keyboard-off:before{content:"󰌐"}.mdi-keyboard-off-outline:before{content:"󰹋"}.mdi-keyboard-outline:before{content:"󰥻"}.mdi-keyboard-return:before{content:"󰌑"}.mdi-keyboard-settings:before{content:"󰧹"}.mdi-keyboard-settings-outline:before{content:"󰧺"}.mdi-keyboard-space:before{content:"󱁐"}.mdi-keyboard-tab:before{content:"󰌒"}.mdi-keyboard-tab-reverse:before{content:"󰌥"}.mdi-keyboard-variant:before{content:"󰌓"}.mdi-khanda:before{content:"󱃽"}.mdi-kickstarter:before{content:"󰝅"}.mdi-kite:before{content:"󱦅"}.mdi-kite-outline:before{content:"󱦆"}.mdi-kitesurfing:before{content:"󱝄"}.mdi-klingon:before{content:"󱍛"}.mdi-knife:before{content:"󰧻"}.mdi-knife-military:before{content:"󰧼"}.mdi-knob:before{content:"󱮖"}.mdi-koala:before{content:"󱜿"}.mdi-kodi:before{content:"󰌔"}.mdi-kubernetes:before{content:"󱃾"}.mdi-label:before{content:"󰌕"}.mdi-label-multiple:before{content:"󱍵"}.mdi-label-multiple-outline:before{content:"󱍶"}.mdi-label-off:before{content:"󰫋"}.mdi-label-off-outline:before{content:"󰫌"}.mdi-label-outline:before{content:"󰌖"}.mdi-label-percent:before{content:"󱋪"}.mdi-label-percent-outline:before{content:"󱋫"}.mdi-label-variant:before{content:"󰫍"}.mdi-label-variant-outline:before{content:"󰫎"}.mdi-ladder:before{content:"󱖢"}.mdi-ladybug:before{content:"󰠭"}.mdi-lambda:before{content:"󰘧"}.mdi-lamp:before{content:"󰚵"}.mdi-lamp-outline:before{content:"󱟐"}.mdi-lamps:before{content:"󱕶"}.mdi-lamps-outline:before{content:"󱟑"}.mdi-lan:before{content:"󰌗"}.mdi-lan-check:before{content:"󱊪"}.mdi-lan-connect:before{content:"󰌘"}.mdi-lan-disconnect:before{content:"󰌙"}.mdi-lan-pending:before{content:"󰌚"}.mdi-land-fields:before{content:"󱪲"}.mdi-land-plots:before{content:"󱪳"}.mdi-land-plots-circle:before{content:"󱪴"}.mdi-land-plots-circle-variant:before{content:"󱪵"}.mdi-land-plots-marker:before{content:"󱱝"}.mdi-land-rows-horizontal:before{content:"󱪶"}.mdi-land-rows-vertical:before{content:"󱪷"}.mdi-landslide:before{content:"󱩈"}.mdi-landslide-outline:before{content:"󱩉"}.mdi-language-c:before{content:"󰙱"}.mdi-language-cpp:before{content:"󰙲"}.mdi-language-csharp:before{content:"󰌛"}.mdi-language-css3:before{content:"󰌜"}.mdi-language-fortran:before{content:"󱈚"}.mdi-language-go:before{content:"󰟓"}.mdi-language-haskell:before{content:"󰲒"}.mdi-language-html5:before{content:"󰌝"}.mdi-language-java:before{content:"󰬷"}.mdi-language-javascript:before{content:"󰌞"}.mdi-language-kotlin:before{content:"󱈙"}.mdi-language-lua:before{content:"󰢱"}.mdi-language-markdown:before{content:"󰍔"}.mdi-language-markdown-outline:before{content:"󰽛"}.mdi-language-php:before{content:"󰌟"}.mdi-language-python:before{content:"󰌠"}.mdi-language-r:before{content:"󰟔"}.mdi-language-ruby:before{content:"󰴭"}.mdi-language-ruby-on-rails:before{content:"󰫏"}.mdi-language-rust:before{content:"󱘗"}.mdi-language-swift:before{content:"󰛥"}.mdi-language-typescript:before{content:"󰛦"}.mdi-language-xaml:before{content:"󰙳"}.mdi-laptop:before{content:"󰌢"}.mdi-laptop-account:before{content:"󱩊"}.mdi-laptop-off:before{content:"󰛧"}.mdi-laravel:before{content:"󰫐"}.mdi-laser-pointer:before{content:"󱒄"}.mdi-lasso:before{content:"󰼃"}.mdi-lastpass:before{content:"󰑆"}.mdi-latitude:before{content:"󰽗"}.mdi-launch:before{content:"󰌧"}.mdi-lava-lamp:before{content:"󰟕"}.mdi-layers:before{content:"󰌨"}.mdi-layers-edit:before{content:"󱢒"}.mdi-layers-minus:before{content:"󰹌"}.mdi-layers-off:before{content:"󰌩"}.mdi-layers-off-outline:before{content:"󰧽"}.mdi-layers-outline:before{content:"󰧾"}.mdi-layers-plus:before{content:"󰹍"}.mdi-layers-remove:before{content:"󰹎"}.mdi-layers-search:before{content:"󱈆"}.mdi-layers-search-outline:before{content:"󱈇"}.mdi-layers-triple:before{content:"󰽘"}.mdi-layers-triple-outline:before{content:"󰽙"}.mdi-lead-pencil:before{content:"󰙏"}.mdi-leaf:before{content:"󰌪"}.mdi-leaf-circle:before{content:"󱤅"}.mdi-leaf-circle-outline:before{content:"󱤆"}.mdi-leaf-maple:before{content:"󰲓"}.mdi-leaf-maple-off:before{content:"󱋚"}.mdi-leaf-off:before{content:"󱋙"}.mdi-leak:before{content:"󰷗"}.mdi-leak-off:before{content:"󰷘"}.mdi-lectern:before{content:"󱫰"}.mdi-led-off:before{content:"󰌫"}.mdi-led-on:before{content:"󰌬"}.mdi-led-outline:before{content:"󰌭"}.mdi-led-strip:before{content:"󰟖"}.mdi-led-strip-variant:before{content:"󱁑"}.mdi-led-strip-variant-off:before{content:"󱩋"}.mdi-led-variant-off:before{content:"󰌮"}.mdi-led-variant-on:before{content:"󰌯"}.mdi-led-variant-outline:before{content:"󰌰"}.mdi-leek:before{content:"󱅽"}.mdi-less-than:before{content:"󰥼"}.mdi-less-than-or-equal:before{content:"󰥽"}.mdi-library:before{content:"󰌱"}.mdi-library-outline:before{content:"󱨢"}.mdi-library-shelves:before{content:"󰮩"}.mdi-license:before{content:"󰿃"}.mdi-lifebuoy:before{content:"󰡾"}.mdi-light-flood-down:before{content:"󱦇"}.mdi-light-flood-up:before{content:"󱦈"}.mdi-light-recessed:before{content:"󱞛"}.mdi-light-switch:before{content:"󰥾"}.mdi-light-switch-off:before{content:"󱨤"}.mdi-lightbulb:before{content:"󰌵"}.mdi-lightbulb-alert:before{content:"󱧡"}.mdi-lightbulb-alert-outline:before{content:"󱧢"}.mdi-lightbulb-auto:before{content:"󱠀"}.mdi-lightbulb-auto-outline:before{content:"󱠁"}.mdi-lightbulb-cfl:before{content:"󱈈"}.mdi-lightbulb-cfl-off:before{content:"󱈉"}.mdi-lightbulb-cfl-spiral:before{content:"󱉵"}.mdi-lightbulb-cfl-spiral-off:before{content:"󱋃"}.mdi-lightbulb-fluorescent-tube:before{content:"󱠄"}.mdi-lightbulb-fluorescent-tube-outline:before{content:"󱠅"}.mdi-lightbulb-group:before{content:"󱉓"}.mdi-lightbulb-group-off:before{content:"󱋍"}.mdi-lightbulb-group-off-outline:before{content:"󱋎"}.mdi-lightbulb-group-outline:before{content:"󱉔"}.mdi-lightbulb-multiple:before{content:"󱉕"}.mdi-lightbulb-multiple-off:before{content:"󱋏"}.mdi-lightbulb-multiple-off-outline:before{content:"󱋐"}.mdi-lightbulb-multiple-outline:before{content:"󱉖"}.mdi-lightbulb-night:before{content:"󱩌"}.mdi-lightbulb-night-outline:before{content:"󱩍"}.mdi-lightbulb-off:before{content:"󰹏"}.mdi-lightbulb-off-outline:before{content:"󰹐"}.mdi-lightbulb-on:before{content:"󰛨"}.mdi-lightbulb-on-10:before{content:"󱩎"}.mdi-lightbulb-on-20:before{content:"󱩏"}.mdi-lightbulb-on-30:before{content:"󱩐"}.mdi-lightbulb-on-40:before{content:"󱩑"}.mdi-lightbulb-on-50:before{content:"󱩒"}.mdi-lightbulb-on-60:before{content:"󱩓"}.mdi-lightbulb-on-70:before{content:"󱩔"}.mdi-lightbulb-on-80:before{content:"󱩕"}.mdi-lightbulb-on-90:before{content:"󱩖"}.mdi-lightbulb-on-outline:before{content:"󰛩"}.mdi-lightbulb-outline:before{content:"󰌶"}.mdi-lightbulb-question:before{content:"󱧣"}.mdi-lightbulb-question-outline:before{content:"󱧤"}.mdi-lightbulb-spot:before{content:"󱟴"}.mdi-lightbulb-spot-off:before{content:"󱟵"}.mdi-lightbulb-variant:before{content:"󱠂"}.mdi-lightbulb-variant-outline:before{content:"󱠃"}.mdi-lighthouse:before{content:"󰧿"}.mdi-lighthouse-on:before{content:"󰨀"}.mdi-lightning-bolt:before{content:"󱐋"}.mdi-lightning-bolt-circle:before{content:"󰠠"}.mdi-lightning-bolt-outline:before{content:"󱐌"}.mdi-line-scan:before{content:"󰘤"}.mdi-lingerie:before{content:"󱑶"}.mdi-link:before{content:"󰌷"}.mdi-link-box:before{content:"󰴚"}.mdi-link-box-outline:before{content:"󰴛"}.mdi-link-box-variant:before{content:"󰴜"}.mdi-link-box-variant-outline:before{content:"󰴝"}.mdi-link-lock:before{content:"󱂺"}.mdi-link-off:before{content:"󰌸"}.mdi-link-plus:before{content:"󰲔"}.mdi-link-variant:before{content:"󰌹"}.mdi-link-variant-minus:before{content:"󱃿"}.mdi-link-variant-off:before{content:"󰌺"}.mdi-link-variant-plus:before{content:"󱄀"}.mdi-link-variant-remove:before{content:"󱄁"}.mdi-linkedin:before{content:"󰌻"}.mdi-linux:before{content:"󰌽"}.mdi-linux-mint:before{content:"󰣭"}.mdi-lipstick:before{content:"󱎵"}.mdi-liquid-spot:before{content:"󱠦"}.mdi-liquor:before{content:"󱤞"}.mdi-list-box:before{content:"󱭻"}.mdi-list-box-outline:before{content:"󱭼"}.mdi-list-status:before{content:"󱖫"}.mdi-litecoin:before{content:"󰩡"}.mdi-loading:before{content:"󰝲"}.mdi-location-enter:before{content:"󰿄"}.mdi-location-exit:before{content:"󰿅"}.mdi-lock:before{content:"󰌾"}.mdi-lock-alert:before{content:"󰣮"}.mdi-lock-alert-outline:before{content:"󱗑"}.mdi-lock-check:before{content:"󱎚"}.mdi-lock-check-outline:before{content:"󱚨"}.mdi-lock-clock:before{content:"󰥿"}.mdi-lock-minus:before{content:"󱚩"}.mdi-lock-minus-outline:before{content:"󱚪"}.mdi-lock-off:before{content:"󱙱"}.mdi-lock-off-outline:before{content:"󱙲"}.mdi-lock-open:before{content:"󰌿"}.mdi-lock-open-alert:before{content:"󱎛"}.mdi-lock-open-alert-outline:before{content:"󱗒"}.mdi-lock-open-check:before{content:"󱎜"}.mdi-lock-open-check-outline:before{content:"󱚫"}.mdi-lock-open-minus:before{content:"󱚬"}.mdi-lock-open-minus-outline:before{content:"󱚭"}.mdi-lock-open-outline:before{content:"󰍀"}.mdi-lock-open-plus:before{content:"󱚮"}.mdi-lock-open-plus-outline:before{content:"󱚯"}.mdi-lock-open-remove:before{content:"󱚰"}.mdi-lock-open-remove-outline:before{content:"󱚱"}.mdi-lock-open-variant:before{content:"󰿆"}.mdi-lock-open-variant-outline:before{content:"󰿇"}.mdi-lock-outline:before{content:"󰍁"}.mdi-lock-pattern:before{content:"󰛪"}.mdi-lock-percent:before{content:"󱰒"}.mdi-lock-percent-open:before{content:"󱰓"}.mdi-lock-percent-open-outline:before{content:"󱰔"}.mdi-lock-percent-open-variant:before{content:"󱰕"}.mdi-lock-percent-open-variant-outline:before{content:"󱰖"}.mdi-lock-percent-outline:before{content:"󱰗"}.mdi-lock-plus:before{content:"󰗻"}.mdi-lock-plus-outline:before{content:"󱚲"}.mdi-lock-question:before{content:"󰣯"}.mdi-lock-remove:before{content:"󱚳"}.mdi-lock-remove-outline:before{content:"󱚴"}.mdi-lock-reset:before{content:"󰝳"}.mdi-lock-smart:before{content:"󰢲"}.mdi-locker:before{content:"󰟗"}.mdi-locker-multiple:before{content:"󰟘"}.mdi-login:before{content:"󰍂"}.mdi-login-variant:before{content:"󰗼"}.mdi-logout:before{content:"󰍃"}.mdi-logout-variant:before{content:"󰗽"}.mdi-longitude:before{content:"󰽚"}.mdi-looks:before{content:"󰍄"}.mdi-lotion:before{content:"󱖂"}.mdi-lotion-outline:before{content:"󱖃"}.mdi-lotion-plus:before{content:"󱖄"}.mdi-lotion-plus-outline:before{content:"󱖅"}.mdi-loupe:before{content:"󰍅"}.mdi-lumx:before{content:"󰍆"}.mdi-lungs:before{content:"󱂄"}.mdi-mace:before{content:"󱡃"}.mdi-magazine-pistol:before{content:"󰌤"}.mdi-magazine-rifle:before{content:"󰌣"}.mdi-magic-staff:before{content:"󱡄"}.mdi-magnet:before{content:"󰍇"}.mdi-magnet-on:before{content:"󰍈"}.mdi-magnify:before{content:"󰍉"}.mdi-magnify-close:before{content:"󰦀"}.mdi-magnify-expand:before{content:"󱡴"}.mdi-magnify-minus:before{content:"󰍊"}.mdi-magnify-minus-cursor:before{content:"󰩢"}.mdi-magnify-minus-outline:before{content:"󰛬"}.mdi-magnify-plus:before{content:"󰍋"}.mdi-magnify-plus-cursor:before{content:"󰩣"}.mdi-magnify-plus-outline:before{content:"󰛭"}.mdi-magnify-remove-cursor:before{content:"󱈌"}.mdi-magnify-remove-outline:before{content:"󱈍"}.mdi-magnify-scan:before{content:"󱉶"}.mdi-mail:before{content:"󰺻"}.mdi-mailbox:before{content:"󰛮"}.mdi-mailbox-open:before{content:"󰶈"}.mdi-mailbox-open-outline:before{content:"󰶉"}.mdi-mailbox-open-up:before{content:"󰶊"}.mdi-mailbox-open-up-outline:before{content:"󰶋"}.mdi-mailbox-outline:before{content:"󰶌"}.mdi-mailbox-up:before{content:"󰶍"}.mdi-mailbox-up-outline:before{content:"󰶎"}.mdi-manjaro:before{content:"󱘊"}.mdi-map:before{content:"󰍍"}.mdi-map-check:before{content:"󰺼"}.mdi-map-check-outline:before{content:"󰺽"}.mdi-map-clock:before{content:"󰴞"}.mdi-map-clock-outline:before{content:"󰴟"}.mdi-map-legend:before{content:"󰨁"}.mdi-map-marker:before{content:"󰍎"}.mdi-map-marker-account:before{content:"󱣣"}.mdi-map-marker-account-outline:before{content:"󱣤"}.mdi-map-marker-alert:before{content:"󰼅"}.mdi-map-marker-alert-outline:before{content:"󰼆"}.mdi-map-marker-check:before{content:"󰲕"}.mdi-map-marker-check-outline:before{content:"󱋻"}.mdi-map-marker-circle:before{content:"󰍏"}.mdi-map-marker-distance:before{content:"󰣰"}.mdi-map-marker-down:before{content:"󱄂"}.mdi-map-marker-left:before{content:"󱋛"}.mdi-map-marker-left-outline:before{content:"󱋝"}.mdi-map-marker-minus:before{content:"󰙐"}.mdi-map-marker-minus-outline:before{content:"󱋹"}.mdi-map-marker-multiple:before{content:"󰍐"}.mdi-map-marker-multiple-outline:before{content:"󱉷"}.mdi-map-marker-off:before{content:"󰍑"}.mdi-map-marker-off-outline:before{content:"󱋽"}.mdi-map-marker-outline:before{content:"󰟙"}.mdi-map-marker-path:before{content:"󰴠"}.mdi-map-marker-plus:before{content:"󰙑"}.mdi-map-marker-plus-outline:before{content:"󱋸"}.mdi-map-marker-question:before{content:"󰼇"}.mdi-map-marker-question-outline:before{content:"󰼈"}.mdi-map-marker-radius:before{content:"󰍒"}.mdi-map-marker-radius-outline:before{content:"󱋼"}.mdi-map-marker-remove:before{content:"󰼉"}.mdi-map-marker-remove-outline:before{content:"󱋺"}.mdi-map-marker-remove-variant:before{content:"󰼊"}.mdi-map-marker-right:before{content:"󱋜"}.mdi-map-marker-right-outline:before{content:"󱋞"}.mdi-map-marker-star:before{content:"󱘈"}.mdi-map-marker-star-outline:before{content:"󱘉"}.mdi-map-marker-up:before{content:"󱄃"}.mdi-map-minus:before{content:"󰦁"}.mdi-map-outline:before{content:"󰦂"}.mdi-map-plus:before{content:"󰦃"}.mdi-map-search:before{content:"󰦄"}.mdi-map-search-outline:before{content:"󰦅"}.mdi-mapbox:before{content:"󰮪"}.mdi-margin:before{content:"󰍓"}.mdi-marker:before{content:"󰙒"}.mdi-marker-cancel:before{content:"󰷙"}.mdi-marker-check:before{content:"󰍕"}.mdi-mastodon:before{content:"󰫑"}.mdi-material-design:before{content:"󰦆"}.mdi-material-ui:before{content:"󰍗"}.mdi-math-compass:before{content:"󰍘"}.mdi-math-cos:before{content:"󰲖"}.mdi-math-integral:before{content:"󰿈"}.mdi-math-integral-box:before{content:"󰿉"}.mdi-math-log:before{content:"󱂅"}.mdi-math-norm:before{content:"󰿊"}.mdi-math-norm-box:before{content:"󰿋"}.mdi-math-sin:before{content:"󰲗"}.mdi-math-tan:before{content:"󰲘"}.mdi-matrix:before{content:"󰘨"}.mdi-medal:before{content:"󰦇"}.mdi-medal-outline:before{content:"󱌦"}.mdi-medical-bag:before{content:"󰛯"}.mdi-medical-cotton-swab:before{content:"󱪸"}.mdi-medication:before{content:"󱬔"}.mdi-medication-outline:before{content:"󱬕"}.mdi-meditation:before{content:"󱅻"}.mdi-memory:before{content:"󰍛"}.mdi-menorah:before{content:"󱟔"}.mdi-menorah-fire:before{content:"󱟕"}.mdi-menu:before{content:"󰍜"}.mdi-menu-down:before{content:"󰍝"}.mdi-menu-down-outline:before{content:"󰚶"}.mdi-menu-left:before{content:"󰍞"}.mdi-menu-left-outline:before{content:"󰨂"}.mdi-menu-open:before{content:"󰮫"}.mdi-menu-right:before{content:"󰍟"}.mdi-menu-right-outline:before{content:"󰨃"}.mdi-menu-swap:before{content:"󰩤"}.mdi-menu-swap-outline:before{content:"󰩥"}.mdi-menu-up:before{content:"󰍠"}.mdi-menu-up-outline:before{content:"󰚷"}.mdi-merge:before{content:"󰽜"}.mdi-message:before{content:"󰍡"}.mdi-message-alert:before{content:"󰍢"}.mdi-message-alert-outline:before{content:"󰨄"}.mdi-message-arrow-left:before{content:"󱋲"}.mdi-message-arrow-left-outline:before{content:"󱋳"}.mdi-message-arrow-right:before{content:"󱋴"}.mdi-message-arrow-right-outline:before{content:"󱋵"}.mdi-message-badge:before{content:"󱥁"}.mdi-message-badge-outline:before{content:"󱥂"}.mdi-message-bookmark:before{content:"󱖬"}.mdi-message-bookmark-outline:before{content:"󱖭"}.mdi-message-bulleted:before{content:"󰚢"}.mdi-message-bulleted-off:before{content:"󰚣"}.mdi-message-check:before{content:"󱮊"}.mdi-message-check-outline:before{content:"󱮋"}.mdi-message-cog:before{content:"󰛱"}.mdi-message-cog-outline:before{content:"󱅲"}.mdi-message-draw:before{content:"󰍣"}.mdi-message-fast:before{content:"󱧌"}.mdi-message-fast-outline:before{content:"󱧍"}.mdi-message-flash:before{content:"󱖩"}.mdi-message-flash-outline:before{content:"󱖪"}.mdi-message-image:before{content:"󰍤"}.mdi-message-image-outline:before{content:"󱅬"}.mdi-message-lock:before{content:"󰿌"}.mdi-message-lock-outline:before{content:"󱅭"}.mdi-message-minus:before{content:"󱅮"}.mdi-message-minus-outline:before{content:"󱅯"}.mdi-message-off:before{content:"󱙍"}.mdi-message-off-outline:before{content:"󱙎"}.mdi-message-outline:before{content:"󰍥"}.mdi-message-plus:before{content:"󰙓"}.mdi-message-plus-outline:before{content:"󱂻"}.mdi-message-processing:before{content:"󰍦"}.mdi-message-processing-outline:before{content:"󱅰"}.mdi-message-question:before{content:"󱜺"}.mdi-message-question-outline:before{content:"󱜻"}.mdi-message-reply:before{content:"󰍧"}.mdi-message-reply-outline:before{content:"󱜽"}.mdi-message-reply-text:before{content:"󰍨"}.mdi-message-reply-text-outline:before{content:"󱜾"}.mdi-message-settings:before{content:"󰛰"}.mdi-message-settings-outline:before{content:"󱅱"}.mdi-message-star:before{content:"󰚚"}.mdi-message-star-outline:before{content:"󱉐"}.mdi-message-text:before{content:"󰍩"}.mdi-message-text-clock:before{content:"󱅳"}.mdi-message-text-clock-outline:before{content:"󱅴"}.mdi-message-text-fast:before{content:"󱧎"}.mdi-message-text-fast-outline:before{content:"󱧏"}.mdi-message-text-lock:before{content:"󰿍"}.mdi-message-text-lock-outline:before{content:"󱅵"}.mdi-message-text-outline:before{content:"󰍪"}.mdi-message-video:before{content:"󰍫"}.mdi-meteor:before{content:"󰘩"}.mdi-meter-electric:before{content:"󱩗"}.mdi-meter-electric-outline:before{content:"󱩘"}.mdi-meter-gas:before{content:"󱩙"}.mdi-meter-gas-outline:before{content:"󱩚"}.mdi-metronome:before{content:"󰟚"}.mdi-metronome-tick:before{content:"󰟛"}.mdi-micro-sd:before{content:"󰟜"}.mdi-microphone:before{content:"󰍬"}.mdi-microphone-message:before{content:"󰔊"}.mdi-microphone-message-off:before{content:"󰔋"}.mdi-microphone-minus:before{content:"󰢳"}.mdi-microphone-off:before{content:"󰍭"}.mdi-microphone-outline:before{content:"󰍮"}.mdi-microphone-plus:before{content:"󰢴"}.mdi-microphone-question:before{content:"󱦉"}.mdi-microphone-question-outline:before{content:"󱦊"}.mdi-microphone-settings:before{content:"󰍯"}.mdi-microphone-variant:before{content:"󰍰"}.mdi-microphone-variant-off:before{content:"󰍱"}.mdi-microscope:before{content:"󰙔"}.mdi-microsoft:before{content:"󰍲"}.mdi-microsoft-access:before{content:"󱎎"}.mdi-microsoft-azure:before{content:"󰠅"}.mdi-microsoft-azure-devops:before{content:"󰿕"}.mdi-microsoft-bing:before{content:"󰂤"}.mdi-microsoft-dynamics-365:before{content:"󰦈"}.mdi-microsoft-edge:before{content:"󰇩"}.mdi-microsoft-excel:before{content:"󱎏"}.mdi-microsoft-internet-explorer:before{content:"󰌀"}.mdi-microsoft-office:before{content:"󰏆"}.mdi-microsoft-onedrive:before{content:"󰏊"}.mdi-microsoft-onenote:before{content:"󰝇"}.mdi-microsoft-outlook:before{content:"󰴢"}.mdi-microsoft-powerpoint:before{content:"󱎐"}.mdi-microsoft-sharepoint:before{content:"󱎑"}.mdi-microsoft-teams:before{content:"󰊻"}.mdi-microsoft-visual-studio:before{content:"󰘐"}.mdi-microsoft-visual-studio-code:before{content:"󰨞"}.mdi-microsoft-windows:before{content:"󰖳"}.mdi-microsoft-windows-classic:before{content:"󰨡"}.mdi-microsoft-word:before{content:"󱎒"}.mdi-microsoft-xbox:before{content:"󰖹"}.mdi-microsoft-xbox-controller:before{content:"󰖺"}.mdi-microsoft-xbox-controller-battery-alert:before{content:"󰝋"}.mdi-microsoft-xbox-controller-battery-charging:before{content:"󰨢"}.mdi-microsoft-xbox-controller-battery-empty:before{content:"󰝌"}.mdi-microsoft-xbox-controller-battery-full:before{content:"󰝍"}.mdi-microsoft-xbox-controller-battery-low:before{content:"󰝎"}.mdi-microsoft-xbox-controller-battery-medium:before{content:"󰝏"}.mdi-microsoft-xbox-controller-battery-unknown:before{content:"󰝐"}.mdi-microsoft-xbox-controller-menu:before{content:"󰹯"}.mdi-microsoft-xbox-controller-off:before{content:"󰖻"}.mdi-microsoft-xbox-controller-view:before{content:"󰹰"}.mdi-microwave:before{content:"󰲙"}.mdi-microwave-off:before{content:"󱐣"}.mdi-middleware:before{content:"󰽝"}.mdi-middleware-outline:before{content:"󰽞"}.mdi-midi:before{content:"󰣱"}.mdi-midi-port:before{content:"󰣲"}.mdi-mine:before{content:"󰷚"}.mdi-minecraft:before{content:"󰍳"}.mdi-mini-sd:before{content:"󰨅"}.mdi-minidisc:before{content:"󰨆"}.mdi-minus:before{content:"󰍴"}.mdi-minus-box:before{content:"󰍵"}.mdi-minus-box-multiple:before{content:"󱅁"}.mdi-minus-box-multiple-outline:before{content:"󱅂"}.mdi-minus-box-outline:before{content:"󰛲"}.mdi-minus-circle:before{content:"󰍶"}.mdi-minus-circle-multiple:before{content:"󰍚"}.mdi-minus-circle-multiple-outline:before{content:"󰫓"}.mdi-minus-circle-off:before{content:"󱑙"}.mdi-minus-circle-off-outline:before{content:"󱑚"}.mdi-minus-circle-outline:before{content:"󰍷"}.mdi-minus-network:before{content:"󰍸"}.mdi-minus-network-outline:before{content:"󰲚"}.mdi-minus-thick:before{content:"󱘹"}.mdi-mirror:before{content:"󱇽"}.mdi-mirror-rectangle:before{content:"󱞟"}.mdi-mirror-variant:before{content:"󱞠"}.mdi-mixed-martial-arts:before{content:"󰶏"}.mdi-mixed-reality:before{content:"󰡿"}.mdi-molecule:before{content:"󰮬"}.mdi-molecule-co:before{content:"󱋾"}.mdi-molecule-co2:before{content:"󰟤"}.mdi-monitor:before{content:"󰍹"}.mdi-monitor-account:before{content:"󱩛"}.mdi-monitor-arrow-down:before{content:"󱧐"}.mdi-monitor-arrow-down-variant:before{content:"󱧑"}.mdi-monitor-cellphone:before{content:"󰦉"}.mdi-monitor-cellphone-star:before{content:"󰦊"}.mdi-monitor-dashboard:before{content:"󰨇"}.mdi-monitor-edit:before{content:"󱋆"}.mdi-monitor-eye:before{content:"󱎴"}.mdi-monitor-lock:before{content:"󰷛"}.mdi-monitor-multiple:before{content:"󰍺"}.mdi-monitor-off:before{content:"󰶐"}.mdi-monitor-screenshot:before{content:"󰹑"}.mdi-monitor-share:before{content:"󱒃"}.mdi-monitor-shimmer:before{content:"󱄄"}.mdi-monitor-small:before{content:"󱡶"}.mdi-monitor-speaker:before{content:"󰽟"}.mdi-monitor-speaker-off:before{content:"󰽠"}.mdi-monitor-star:before{content:"󰷜"}.mdi-monitor-vertical:before{content:"󱰳"}.mdi-moon-first-quarter:before{content:"󰽡"}.mdi-moon-full:before{content:"󰽢"}.mdi-moon-last-quarter:before{content:"󰽣"}.mdi-moon-new:before{content:"󰽤"}.mdi-moon-waning-crescent:before{content:"󰽥"}.mdi-moon-waning-gibbous:before{content:"󰽦"}.mdi-moon-waxing-crescent:before{content:"󰽧"}.mdi-moon-waxing-gibbous:before{content:"󰽨"}.mdi-moped:before{content:"󱂆"}.mdi-moped-electric:before{content:"󱖷"}.mdi-moped-electric-outline:before{content:"󱖸"}.mdi-moped-outline:before{content:"󱖹"}.mdi-more:before{content:"󰍻"}.mdi-mortar-pestle:before{content:"󱝈"}.mdi-mortar-pestle-plus:before{content:"󰏱"}.mdi-mosque:before{content:"󰵅"}.mdi-mosque-outline:before{content:"󱠧"}.mdi-mother-heart:before{content:"󱌔"}.mdi-mother-nurse:before{content:"󰴡"}.mdi-motion:before{content:"󱖲"}.mdi-motion-outline:before{content:"󱖳"}.mdi-motion-pause:before{content:"󱖐"}.mdi-motion-pause-outline:before{content:"󱖒"}.mdi-motion-play:before{content:"󱖏"}.mdi-motion-play-outline:before{content:"󱖑"}.mdi-motion-sensor:before{content:"󰶑"}.mdi-motion-sensor-off:before{content:"󱐵"}.mdi-motorbike:before{content:"󰍼"}.mdi-motorbike-electric:before{content:"󱖺"}.mdi-motorbike-off:before{content:"󱬖"}.mdi-mouse:before{content:"󰍽"}.mdi-mouse-bluetooth:before{content:"󰦋"}.mdi-mouse-move-down:before{content:"󱕐"}.mdi-mouse-move-up:before{content:"󱕑"}.mdi-mouse-move-vertical:before{content:"󱕒"}.mdi-mouse-off:before{content:"󰍾"}.mdi-mouse-variant:before{content:"󰍿"}.mdi-mouse-variant-off:before{content:"󰎀"}.mdi-move-resize:before{content:"󰙕"}.mdi-move-resize-variant:before{content:"󰙖"}.mdi-movie:before{content:"󰎁"}.mdi-movie-check:before{content:"󱛳"}.mdi-movie-check-outline:before{content:"󱛴"}.mdi-movie-cog:before{content:"󱛵"}.mdi-movie-cog-outline:before{content:"󱛶"}.mdi-movie-edit:before{content:"󱄢"}.mdi-movie-edit-outline:before{content:"󱄣"}.mdi-movie-filter:before{content:"󱄤"}.mdi-movie-filter-outline:before{content:"󱄥"}.mdi-movie-minus:before{content:"󱛷"}.mdi-movie-minus-outline:before{content:"󱛸"}.mdi-movie-off:before{content:"󱛹"}.mdi-movie-off-outline:before{content:"󱛺"}.mdi-movie-open:before{content:"󰿎"}.mdi-movie-open-check:before{content:"󱛻"}.mdi-movie-open-check-outline:before{content:"󱛼"}.mdi-movie-open-cog:before{content:"󱛽"}.mdi-movie-open-cog-outline:before{content:"󱛾"}.mdi-movie-open-edit:before{content:"󱛿"}.mdi-movie-open-edit-outline:before{content:"󱜀"}.mdi-movie-open-minus:before{content:"󱜁"}.mdi-movie-open-minus-outline:before{content:"󱜂"}.mdi-movie-open-off:before{content:"󱜃"}.mdi-movie-open-off-outline:before{content:"󱜄"}.mdi-movie-open-outline:before{content:"󰿏"}.mdi-movie-open-play:before{content:"󱜅"}.mdi-movie-open-play-outline:before{content:"󱜆"}.mdi-movie-open-plus:before{content:"󱜇"}.mdi-movie-open-plus-outline:before{content:"󱜈"}.mdi-movie-open-remove:before{content:"󱜉"}.mdi-movie-open-remove-outline:before{content:"󱜊"}.mdi-movie-open-settings:before{content:"󱜋"}.mdi-movie-open-settings-outline:before{content:"󱜌"}.mdi-movie-open-star:before{content:"󱜍"}.mdi-movie-open-star-outline:before{content:"󱜎"}.mdi-movie-outline:before{content:"󰷝"}.mdi-movie-play:before{content:"󱜏"}.mdi-movie-play-outline:before{content:"󱜐"}.mdi-movie-plus:before{content:"󱜑"}.mdi-movie-plus-outline:before{content:"󱜒"}.mdi-movie-remove:before{content:"󱜓"}.mdi-movie-remove-outline:before{content:"󱜔"}.mdi-movie-roll:before{content:"󰟞"}.mdi-movie-search:before{content:"󱇒"}.mdi-movie-search-outline:before{content:"󱇓"}.mdi-movie-settings:before{content:"󱜕"}.mdi-movie-settings-outline:before{content:"󱜖"}.mdi-movie-star:before{content:"󱜗"}.mdi-movie-star-outline:before{content:"󱜘"}.mdi-mower:before{content:"󱙯"}.mdi-mower-bag:before{content:"󱙰"}.mdi-mower-bag-on:before{content:"󱭠"}.mdi-mower-on:before{content:"󱭟"}.mdi-muffin:before{content:"󰦌"}.mdi-multicast:before{content:"󱢓"}.mdi-multimedia:before{content:"󱮗"}.mdi-multiplication:before{content:"󰎂"}.mdi-multiplication-box:before{content:"󰎃"}.mdi-mushroom:before{content:"󰟟"}.mdi-mushroom-off:before{content:"󱏺"}.mdi-mushroom-off-outline:before{content:"󱏻"}.mdi-mushroom-outline:before{content:"󰟠"}.mdi-music:before{content:"󰝚"}.mdi-music-accidental-double-flat:before{content:"󰽩"}.mdi-music-accidental-double-sharp:before{content:"󰽪"}.mdi-music-accidental-flat:before{content:"󰽫"}.mdi-music-accidental-natural:before{content:"󰽬"}.mdi-music-accidental-sharp:before{content:"󰽭"}.mdi-music-box:before{content:"󰎄"}.mdi-music-box-multiple:before{content:"󰌳"}.mdi-music-box-multiple-outline:before{content:"󰼄"}.mdi-music-box-outline:before{content:"󰎅"}.mdi-music-circle:before{content:"󰎆"}.mdi-music-circle-outline:before{content:"󰫔"}.mdi-music-clef-alto:before{content:"󰽮"}.mdi-music-clef-bass:before{content:"󰽯"}.mdi-music-clef-treble:before{content:"󰽰"}.mdi-music-note:before{content:"󰎇"}.mdi-music-note-bluetooth:before{content:"󰗾"}.mdi-music-note-bluetooth-off:before{content:"󰗿"}.mdi-music-note-eighth:before{content:"󰎈"}.mdi-music-note-eighth-dotted:before{content:"󰽱"}.mdi-music-note-half:before{content:"󰎉"}.mdi-music-note-half-dotted:before{content:"󰽲"}.mdi-music-note-minus:before{content:"󱮉"}.mdi-music-note-off:before{content:"󰎊"}.mdi-music-note-off-outline:before{content:"󰽳"}.mdi-music-note-outline:before{content:"󰽴"}.mdi-music-note-plus:before{content:"󰷞"}.mdi-music-note-quarter:before{content:"󰎋"}.mdi-music-note-quarter-dotted:before{content:"󰽵"}.mdi-music-note-sixteenth:before{content:"󰎌"}.mdi-music-note-sixteenth-dotted:before{content:"󰽶"}.mdi-music-note-whole:before{content:"󰎍"}.mdi-music-note-whole-dotted:before{content:"󰽷"}.mdi-music-off:before{content:"󰝛"}.mdi-music-rest-eighth:before{content:"󰽸"}.mdi-music-rest-half:before{content:"󰽹"}.mdi-music-rest-quarter:before{content:"󰽺"}.mdi-music-rest-sixteenth:before{content:"󰽻"}.mdi-music-rest-whole:before{content:"󰽼"}.mdi-mustache:before{content:"󱗞"}.mdi-nail:before{content:"󰷟"}.mdi-nas:before{content:"󰣳"}.mdi-nativescript:before{content:"󰢀"}.mdi-nature:before{content:"󰎎"}.mdi-nature-outline:before{content:"󱱱"}.mdi-nature-people:before{content:"󰎏"}.mdi-nature-people-outline:before{content:"󱱲"}.mdi-navigation:before{content:"󰎐"}.mdi-navigation-outline:before{content:"󱘇"}.mdi-navigation-variant:before{content:"󱣰"}.mdi-navigation-variant-outline:before{content:"󱣱"}.mdi-near-me:before{content:"󰗍"}.mdi-necklace:before{content:"󰼋"}.mdi-needle:before{content:"󰎑"}.mdi-needle-off:before{content:"󱧒"}.mdi-netflix:before{content:"󰝆"}.mdi-network:before{content:"󰛳"}.mdi-network-off:before{content:"󰲛"}.mdi-network-off-outline:before{content:"󰲜"}.mdi-network-outline:before{content:"󰲝"}.mdi-network-pos:before{content:"󱫋"}.mdi-network-strength-1:before{content:"󰣴"}.mdi-network-strength-1-alert:before{content:"󰣵"}.mdi-network-strength-2:before{content:"󰣶"}.mdi-network-strength-2-alert:before{content:"󰣷"}.mdi-network-strength-3:before{content:"󰣸"}.mdi-network-strength-3-alert:before{content:"󰣹"}.mdi-network-strength-4:before{content:"󰣺"}.mdi-network-strength-4-alert:before{content:"󰣻"}.mdi-network-strength-4-cog:before{content:"󱤚"}.mdi-network-strength-off:before{content:"󰣼"}.mdi-network-strength-off-outline:before{content:"󰣽"}.mdi-network-strength-outline:before{content:"󰣾"}.mdi-new-box:before{content:"󰎔"}.mdi-newspaper:before{content:"󰎕"}.mdi-newspaper-check:before{content:"󱥃"}.mdi-newspaper-minus:before{content:"󰼌"}.mdi-newspaper-plus:before{content:"󰼍"}.mdi-newspaper-remove:before{content:"󱥄"}.mdi-newspaper-variant:before{content:"󱀁"}.mdi-newspaper-variant-multiple:before{content:"󱀂"}.mdi-newspaper-variant-multiple-outline:before{content:"󱀃"}.mdi-newspaper-variant-outline:before{content:"󱀄"}.mdi-nfc:before{content:"󰎖"}.mdi-nfc-search-variant:before{content:"󰹓"}.mdi-nfc-tap:before{content:"󰎗"}.mdi-nfc-variant:before{content:"󰎘"}.mdi-nfc-variant-off:before{content:"󰹔"}.mdi-ninja:before{content:"󰝴"}.mdi-nintendo-game-boy:before{content:"󱎓"}.mdi-nintendo-switch:before{content:"󰟡"}.mdi-nintendo-wii:before{content:"󰖫"}.mdi-nintendo-wiiu:before{content:"󰜭"}.mdi-nix:before{content:"󱄅"}.mdi-nodejs:before{content:"󰎙"}.mdi-noodles:before{content:"󱅾"}.mdi-not-equal:before{content:"󰦍"}.mdi-not-equal-variant:before{content:"󰦎"}.mdi-note:before{content:"󰎚"}.mdi-note-alert:before{content:"󱝽"}.mdi-note-alert-outline:before{content:"󱝾"}.mdi-note-check:before{content:"󱝿"}.mdi-note-check-outline:before{content:"󱞀"}.mdi-note-edit:before{content:"󱞁"}.mdi-note-edit-outline:before{content:"󱞂"}.mdi-note-minus:before{content:"󱙏"}.mdi-note-minus-outline:before{content:"󱙐"}.mdi-note-multiple:before{content:"󰚸"}.mdi-note-multiple-outline:before{content:"󰚹"}.mdi-note-off:before{content:"󱞃"}.mdi-note-off-outline:before{content:"󱞄"}.mdi-note-outline:before{content:"󰎛"}.mdi-note-plus:before{content:"󰎜"}.mdi-note-plus-outline:before{content:"󰎝"}.mdi-note-remove:before{content:"󱙑"}.mdi-note-remove-outline:before{content:"󱙒"}.mdi-note-search:before{content:"󱙓"}.mdi-note-search-outline:before{content:"󱙔"}.mdi-note-text:before{content:"󰎞"}.mdi-note-text-outline:before{content:"󱇗"}.mdi-notebook:before{content:"󰠮"}.mdi-notebook-check:before{content:"󱓵"}.mdi-notebook-check-outline:before{content:"󱓶"}.mdi-notebook-edit:before{content:"󱓧"}.mdi-notebook-edit-outline:before{content:"󱓩"}.mdi-notebook-heart:before{content:"󱨋"}.mdi-notebook-heart-outline:before{content:"󱨌"}.mdi-notebook-minus:before{content:"󱘐"}.mdi-notebook-minus-outline:before{content:"󱘑"}.mdi-notebook-multiple:before{content:"󰹕"}.mdi-notebook-outline:before{content:"󰺿"}.mdi-notebook-plus:before{content:"󱘒"}.mdi-notebook-plus-outline:before{content:"󱘓"}.mdi-notebook-remove:before{content:"󱘔"}.mdi-notebook-remove-outline:before{content:"󱘕"}.mdi-notification-clear-all:before{content:"󰎟"}.mdi-npm:before{content:"󰛷"}.mdi-nuke:before{content:"󰚤"}.mdi-null:before{content:"󰟢"}.mdi-numeric:before{content:"󰎠"}.mdi-numeric-0:before{content:"󰬹"}.mdi-numeric-0-box:before{content:"󰎡"}.mdi-numeric-0-box-multiple:before{content:"󰼎"}.mdi-numeric-0-box-multiple-outline:before{content:"󰎢"}.mdi-numeric-0-box-outline:before{content:"󰎣"}.mdi-numeric-0-circle:before{content:"󰲞"}.mdi-numeric-0-circle-outline:before{content:"󰲟"}.mdi-numeric-1:before{content:"󰬺"}.mdi-numeric-1-box:before{content:"󰎤"}.mdi-numeric-1-box-multiple:before{content:"󰼏"}.mdi-numeric-1-box-multiple-outline:before{content:"󰎥"}.mdi-numeric-1-box-outline:before{content:"󰎦"}.mdi-numeric-1-circle:before{content:"󰲠"}.mdi-numeric-1-circle-outline:before{content:"󰲡"}.mdi-numeric-10:before{content:"󰿩"}.mdi-numeric-10-box:before{content:"󰽽"}.mdi-numeric-10-box-multiple:before{content:"󰿪"}.mdi-numeric-10-box-multiple-outline:before{content:"󰿫"}.mdi-numeric-10-box-outline:before{content:"󰽾"}.mdi-numeric-10-circle:before{content:"󰿬"}.mdi-numeric-10-circle-outline:before{content:"󰿭"}.mdi-numeric-2:before{content:"󰬻"}.mdi-numeric-2-box:before{content:"󰎧"}.mdi-numeric-2-box-multiple:before{content:"󰼐"}.mdi-numeric-2-box-multiple-outline:before{content:"󰎨"}.mdi-numeric-2-box-outline:before{content:"󰎩"}.mdi-numeric-2-circle:before{content:"󰲢"}.mdi-numeric-2-circle-outline:before{content:"󰲣"}.mdi-numeric-3:before{content:"󰬼"}.mdi-numeric-3-box:before{content:"󰎪"}.mdi-numeric-3-box-multiple:before{content:"󰼑"}.mdi-numeric-3-box-multiple-outline:before{content:"󰎫"}.mdi-numeric-3-box-outline:before{content:"󰎬"}.mdi-numeric-3-circle:before{content:"󰲤"}.mdi-numeric-3-circle-outline:before{content:"󰲥"}.mdi-numeric-4:before{content:"󰬽"}.mdi-numeric-4-box:before{content:"󰎭"}.mdi-numeric-4-box-multiple:before{content:"󰼒"}.mdi-numeric-4-box-multiple-outline:before{content:"󰎲"}.mdi-numeric-4-box-outline:before{content:"󰎮"}.mdi-numeric-4-circle:before{content:"󰲦"}.mdi-numeric-4-circle-outline:before{content:"󰲧"}.mdi-numeric-5:before{content:"󰬾"}.mdi-numeric-5-box:before{content:"󰎱"}.mdi-numeric-5-box-multiple:before{content:"󰼓"}.mdi-numeric-5-box-multiple-outline:before{content:"󰎯"}.mdi-numeric-5-box-outline:before{content:"󰎰"}.mdi-numeric-5-circle:before{content:"󰲨"}.mdi-numeric-5-circle-outline:before{content:"󰲩"}.mdi-numeric-6:before{content:"󰬿"}.mdi-numeric-6-box:before{content:"󰎳"}.mdi-numeric-6-box-multiple:before{content:"󰼔"}.mdi-numeric-6-box-multiple-outline:before{content:"󰎴"}.mdi-numeric-6-box-outline:before{content:"󰎵"}.mdi-numeric-6-circle:before{content:"󰲪"}.mdi-numeric-6-circle-outline:before{content:"󰲫"}.mdi-numeric-7:before{content:"󰭀"}.mdi-numeric-7-box:before{content:"󰎶"}.mdi-numeric-7-box-multiple:before{content:"󰼕"}.mdi-numeric-7-box-multiple-outline:before{content:"󰎷"}.mdi-numeric-7-box-outline:before{content:"󰎸"}.mdi-numeric-7-circle:before{content:"󰲬"}.mdi-numeric-7-circle-outline:before{content:"󰲭"}.mdi-numeric-8:before{content:"󰭁"}.mdi-numeric-8-box:before{content:"󰎹"}.mdi-numeric-8-box-multiple:before{content:"󰼖"}.mdi-numeric-8-box-multiple-outline:before{content:"󰎺"}.mdi-numeric-8-box-outline:before{content:"󰎻"}.mdi-numeric-8-circle:before{content:"󰲮"}.mdi-numeric-8-circle-outline:before{content:"󰲯"}.mdi-numeric-9:before{content:"󰭂"}.mdi-numeric-9-box:before{content:"󰎼"}.mdi-numeric-9-box-multiple:before{content:"󰼗"}.mdi-numeric-9-box-multiple-outline:before{content:"󰎽"}.mdi-numeric-9-box-outline:before{content:"󰎾"}.mdi-numeric-9-circle:before{content:"󰲰"}.mdi-numeric-9-circle-outline:before{content:"󰲱"}.mdi-numeric-9-plus:before{content:"󰿮"}.mdi-numeric-9-plus-box:before{content:"󰎿"}.mdi-numeric-9-plus-box-multiple:before{content:"󰼘"}.mdi-numeric-9-plus-box-multiple-outline:before{content:"󰏀"}.mdi-numeric-9-plus-box-outline:before{content:"󰏁"}.mdi-numeric-9-plus-circle:before{content:"󰲲"}.mdi-numeric-9-plus-circle-outline:before{content:"󰲳"}.mdi-numeric-negative-1:before{content:"󱁒"}.mdi-numeric-off:before{content:"󱧓"}.mdi-numeric-positive-1:before{content:"󱗋"}.mdi-nut:before{content:"󰛸"}.mdi-nutrition:before{content:"󰏂"}.mdi-nuxt:before{content:"󱄆"}.mdi-oar:before{content:"󰙼"}.mdi-ocarina:before{content:"󰷠"}.mdi-oci:before{content:"󱋩"}.mdi-ocr:before{content:"󱄺"}.mdi-octagon:before{content:"󰏃"}.mdi-octagon-outline:before{content:"󰏄"}.mdi-octagram:before{content:"󰛹"}.mdi-octagram-edit:before{content:"󱰴"}.mdi-octagram-edit-outline:before{content:"󱰵"}.mdi-octagram-minus:before{content:"󱰶"}.mdi-octagram-minus-outline:before{content:"󱰷"}.mdi-octagram-outline:before{content:"󰝵"}.mdi-octagram-plus:before{content:"󱰸"}.mdi-octagram-plus-outline:before{content:"󱰹"}.mdi-octahedron:before{content:"󱥐"}.mdi-octahedron-off:before{content:"󱥑"}.mdi-odnoklassniki:before{content:"󰏅"}.mdi-offer:before{content:"󱈛"}.mdi-office-building:before{content:"󰦑"}.mdi-office-building-cog:before{content:"󱥉"}.mdi-office-building-cog-outline:before{content:"󱥊"}.mdi-office-building-marker:before{content:"󱔠"}.mdi-office-building-marker-outline:before{content:"󱔡"}.mdi-office-building-minus:before{content:"󱮪"}.mdi-office-building-minus-outline:before{content:"󱮫"}.mdi-office-building-outline:before{content:"󱔟"}.mdi-office-building-plus:before{content:"󱮨"}.mdi-office-building-plus-outline:before{content:"󱮩"}.mdi-office-building-remove:before{content:"󱮬"}.mdi-office-building-remove-outline:before{content:"󱮭"}.mdi-oil:before{content:"󰏇"}.mdi-oil-lamp:before{content:"󰼙"}.mdi-oil-level:before{content:"󱁓"}.mdi-oil-temperature:before{content:"󰿸"}.mdi-om:before{content:"󰥳"}.mdi-omega:before{content:"󰏉"}.mdi-one-up:before{content:"󰮭"}.mdi-onepassword:before{content:"󰢁"}.mdi-opacity:before{content:"󰗌"}.mdi-open-in-app:before{content:"󰏋"}.mdi-open-in-new:before{content:"󰏌"}.mdi-open-source-initiative:before{content:"󰮮"}.mdi-openid:before{content:"󰏍"}.mdi-opera:before{content:"󰏎"}.mdi-orbit:before{content:"󰀘"}.mdi-orbit-variant:before{content:"󱗛"}.mdi-order-alphabetical-ascending:before{content:"󰈍"}.mdi-order-alphabetical-descending:before{content:"󰴇"}.mdi-order-bool-ascending:before{content:"󰊾"}.mdi-order-bool-ascending-variant:before{content:"󰦏"}.mdi-order-bool-descending:before{content:"󱎄"}.mdi-order-bool-descending-variant:before{content:"󰦐"}.mdi-order-numeric-ascending:before{content:"󰕅"}.mdi-order-numeric-descending:before{content:"󰕆"}.mdi-origin:before{content:"󰭃"}.mdi-ornament:before{content:"󰏏"}.mdi-ornament-variant:before{content:"󰏐"}.mdi-outdoor-lamp:before{content:"󱁔"}.mdi-overscan:before{content:"󱀅"}.mdi-owl:before{content:"󰏒"}.mdi-pac-man:before{content:"󰮯"}.mdi-package:before{content:"󰏓"}.mdi-package-check:before{content:"󱭑"}.mdi-package-down:before{content:"󰏔"}.mdi-package-up:before{content:"󰏕"}.mdi-package-variant:before{content:"󰏖"}.mdi-package-variant-closed:before{content:"󰏗"}.mdi-package-variant-closed-check:before{content:"󱭒"}.mdi-package-variant-closed-minus:before{content:"󱧔"}.mdi-package-variant-closed-plus:before{content:"󱧕"}.mdi-package-variant-closed-remove:before{content:"󱧖"}.mdi-package-variant-minus:before{content:"󱧗"}.mdi-package-variant-plus:before{content:"󱧘"}.mdi-package-variant-remove:before{content:"󱧙"}.mdi-page-first:before{content:"󰘀"}.mdi-page-last:before{content:"󰘁"}.mdi-page-layout-body:before{content:"󰛺"}.mdi-page-layout-footer:before{content:"󰛻"}.mdi-page-layout-header:before{content:"󰛼"}.mdi-page-layout-header-footer:before{content:"󰽿"}.mdi-page-layout-sidebar-left:before{content:"󰛽"}.mdi-page-layout-sidebar-right:before{content:"󰛾"}.mdi-page-next:before{content:"󰮰"}.mdi-page-next-outline:before{content:"󰮱"}.mdi-page-previous:before{content:"󰮲"}.mdi-page-previous-outline:before{content:"󰮳"}.mdi-pail:before{content:"󱐗"}.mdi-pail-minus:before{content:"󱐷"}.mdi-pail-minus-outline:before{content:"󱐼"}.mdi-pail-off:before{content:"󱐹"}.mdi-pail-off-outline:before{content:"󱐾"}.mdi-pail-outline:before{content:"󱐺"}.mdi-pail-plus:before{content:"󱐶"}.mdi-pail-plus-outline:before{content:"󱐻"}.mdi-pail-remove:before{content:"󱐸"}.mdi-pail-remove-outline:before{content:"󱐽"}.mdi-palette:before{content:"󰏘"}.mdi-palette-advanced:before{content:"󰏙"}.mdi-palette-outline:before{content:"󰸌"}.mdi-palette-swatch:before{content:"󰢵"}.mdi-palette-swatch-outline:before{content:"󱍜"}.mdi-palette-swatch-variant:before{content:"󱥚"}.mdi-palm-tree:before{content:"󱁕"}.mdi-pan:before{content:"󰮴"}.mdi-pan-bottom-left:before{content:"󰮵"}.mdi-pan-bottom-right:before{content:"󰮶"}.mdi-pan-down:before{content:"󰮷"}.mdi-pan-horizontal:before{content:"󰮸"}.mdi-pan-left:before{content:"󰮹"}.mdi-pan-right:before{content:"󰮺"}.mdi-pan-top-left:before{content:"󰮻"}.mdi-pan-top-right:before{content:"󰮼"}.mdi-pan-up:before{content:"󰮽"}.mdi-pan-vertical:before{content:"󰮾"}.mdi-panda:before{content:"󰏚"}.mdi-pandora:before{content:"󰏛"}.mdi-panorama:before{content:"󰏜"}.mdi-panorama-fisheye:before{content:"󰏝"}.mdi-panorama-horizontal:before{content:"󱤨"}.mdi-panorama-horizontal-outline:before{content:"󰏞"}.mdi-panorama-outline:before{content:"󱦌"}.mdi-panorama-sphere:before{content:"󱦍"}.mdi-panorama-sphere-outline:before{content:"󱦎"}.mdi-panorama-variant:before{content:"󱦏"}.mdi-panorama-variant-outline:before{content:"󱦐"}.mdi-panorama-vertical:before{content:"󱤩"}.mdi-panorama-vertical-outline:before{content:"󰏟"}.mdi-panorama-wide-angle:before{content:"󱥟"}.mdi-panorama-wide-angle-outline:before{content:"󰏠"}.mdi-paper-cut-vertical:before{content:"󰏡"}.mdi-paper-roll:before{content:"󱅗"}.mdi-paper-roll-outline:before{content:"󱅘"}.mdi-paperclip:before{content:"󰏢"}.mdi-paperclip-check:before{content:"󱫆"}.mdi-paperclip-lock:before{content:"󱧚"}.mdi-paperclip-minus:before{content:"󱫇"}.mdi-paperclip-off:before{content:"󱫈"}.mdi-paperclip-plus:before{content:"󱫉"}.mdi-paperclip-remove:before{content:"󱫊"}.mdi-parachute:before{content:"󰲴"}.mdi-parachute-outline:before{content:"󰲵"}.mdi-paragliding:before{content:"󱝅"}.mdi-parking:before{content:"󰏣"}.mdi-party-popper:before{content:"󱁖"}.mdi-passport:before{content:"󰟣"}.mdi-passport-biometric:before{content:"󰷡"}.mdi-pasta:before{content:"󱅠"}.mdi-patio-heater:before{content:"󰾀"}.mdi-patreon:before{content:"󰢂"}.mdi-pause:before{content:"󰏤"}.mdi-pause-box:before{content:"󰂼"}.mdi-pause-box-outline:before{content:"󱭺"}.mdi-pause-circle:before{content:"󰏥"}.mdi-pause-circle-outline:before{content:"󰏦"}.mdi-pause-octagon:before{content:"󰏧"}.mdi-pause-octagon-outline:before{content:"󰏨"}.mdi-paw:before{content:"󰏩"}.mdi-paw-off:before{content:"󰙗"}.mdi-paw-off-outline:before{content:"󱙶"}.mdi-paw-outline:before{content:"󱙵"}.mdi-peace:before{content:"󰢄"}.mdi-peanut:before{content:"󰿼"}.mdi-peanut-off:before{content:"󰿽"}.mdi-peanut-off-outline:before{content:"󰿿"}.mdi-peanut-outline:before{content:"󰿾"}.mdi-pen:before{content:"󰏪"}.mdi-pen-lock:before{content:"󰷢"}.mdi-pen-minus:before{content:"󰷣"}.mdi-pen-off:before{content:"󰷤"}.mdi-pen-plus:before{content:"󰷥"}.mdi-pen-remove:before{content:"󰷦"}.mdi-pencil:before{content:"󰏫"}.mdi-pencil-box:before{content:"󰏬"}.mdi-pencil-box-multiple:before{content:"󱅄"}.mdi-pencil-box-multiple-outline:before{content:"󱅅"}.mdi-pencil-box-outline:before{content:"󰏭"}.mdi-pencil-circle:before{content:"󰛿"}.mdi-pencil-circle-outline:before{content:"󰝶"}.mdi-pencil-lock:before{content:"󰏮"}.mdi-pencil-lock-outline:before{content:"󰷧"}.mdi-pencil-minus:before{content:"󰷨"}.mdi-pencil-minus-outline:before{content:"󰷩"}.mdi-pencil-off:before{content:"󰏯"}.mdi-pencil-off-outline:before{content:"󰷪"}.mdi-pencil-outline:before{content:"󰲶"}.mdi-pencil-plus:before{content:"󰷫"}.mdi-pencil-plus-outline:before{content:"󰷬"}.mdi-pencil-remove:before{content:"󰷭"}.mdi-pencil-remove-outline:before{content:"󰷮"}.mdi-pencil-ruler:before{content:"󱍓"}.mdi-pencil-ruler-outline:before{content:"󱰑"}.mdi-penguin:before{content:"󰻀"}.mdi-pentagon:before{content:"󰜁"}.mdi-pentagon-outline:before{content:"󰜀"}.mdi-pentagram:before{content:"󱙧"}.mdi-percent:before{content:"󰏰"}.mdi-percent-box:before{content:"󱨂"}.mdi-percent-box-outline:before{content:"󱨃"}.mdi-percent-circle:before{content:"󱨄"}.mdi-percent-circle-outline:before{content:"󱨅"}.mdi-percent-outline:before{content:"󱉸"}.mdi-periodic-table:before{content:"󰢶"}.mdi-perspective-less:before{content:"󰴣"}.mdi-perspective-more:before{content:"󰴤"}.mdi-ph:before{content:"󱟅"}.mdi-phone:before{content:"󰏲"}.mdi-phone-alert:before{content:"󰼚"}.mdi-phone-alert-outline:before{content:"󱆎"}.mdi-phone-bluetooth:before{content:"󰏳"}.mdi-phone-bluetooth-outline:before{content:"󱆏"}.mdi-phone-cancel:before{content:"󱂼"}.mdi-phone-cancel-outline:before{content:"󱆐"}.mdi-phone-check:before{content:"󱆩"}.mdi-phone-check-outline:before{content:"󱆪"}.mdi-phone-classic:before{content:"󰘂"}.mdi-phone-classic-off:before{content:"󱉹"}.mdi-phone-clock:before{content:"󱧛"}.mdi-phone-dial:before{content:"󱕙"}.mdi-phone-dial-outline:before{content:"󱕚"}.mdi-phone-forward:before{content:"󰏴"}.mdi-phone-forward-outline:before{content:"󱆑"}.mdi-phone-hangup:before{content:"󰏵"}.mdi-phone-hangup-outline:before{content:"󱆒"}.mdi-phone-in-talk:before{content:"󰏶"}.mdi-phone-in-talk-outline:before{content:"󱆂"}.mdi-phone-incoming:before{content:"󰏷"}.mdi-phone-incoming-outgoing:before{content:"󱬿"}.mdi-phone-incoming-outgoing-outline:before{content:"󱭀"}.mdi-phone-incoming-outline:before{content:"󱆓"}.mdi-phone-lock:before{content:"󰏸"}.mdi-phone-lock-outline:before{content:"󱆔"}.mdi-phone-log:before{content:"󰏹"}.mdi-phone-log-outline:before{content:"󱆕"}.mdi-phone-message:before{content:"󱆖"}.mdi-phone-message-outline:before{content:"󱆗"}.mdi-phone-minus:before{content:"󰙘"}.mdi-phone-minus-outline:before{content:"󱆘"}.mdi-phone-missed:before{content:"󰏺"}.mdi-phone-missed-outline:before{content:"󱆥"}.mdi-phone-off:before{content:"󰷯"}.mdi-phone-off-outline:before{content:"󱆦"}.mdi-phone-outgoing:before{content:"󰏻"}.mdi-phone-outgoing-outline:before{content:"󱆙"}.mdi-phone-outline:before{content:"󰷰"}.mdi-phone-paused:before{content:"󰏼"}.mdi-phone-paused-outline:before{content:"󱆚"}.mdi-phone-plus:before{content:"󰙙"}.mdi-phone-plus-outline:before{content:"󱆛"}.mdi-phone-refresh:before{content:"󱦓"}.mdi-phone-refresh-outline:before{content:"󱦔"}.mdi-phone-remove:before{content:"󱔯"}.mdi-phone-remove-outline:before{content:"󱔰"}.mdi-phone-return:before{content:"󰠯"}.mdi-phone-return-outline:before{content:"󱆜"}.mdi-phone-ring:before{content:"󱆫"}.mdi-phone-ring-outline:before{content:"󱆬"}.mdi-phone-rotate-landscape:before{content:"󰢅"}.mdi-phone-rotate-portrait:before{content:"󰢆"}.mdi-phone-settings:before{content:"󰏽"}.mdi-phone-settings-outline:before{content:"󱆝"}.mdi-phone-sync:before{content:"󱦕"}.mdi-phone-sync-outline:before{content:"󱦖"}.mdi-phone-voip:before{content:"󰏾"}.mdi-pi:before{content:"󰏿"}.mdi-pi-box:before{content:"󰐀"}.mdi-pi-hole:before{content:"󰷱"}.mdi-piano:before{content:"󰙽"}.mdi-piano-off:before{content:"󰚘"}.mdi-pickaxe:before{content:"󰢷"}.mdi-picture-in-picture-bottom-right:before{content:"󰹗"}.mdi-picture-in-picture-bottom-right-outline:before{content:"󰹘"}.mdi-picture-in-picture-top-right:before{content:"󰹙"}.mdi-picture-in-picture-top-right-outline:before{content:"󰹚"}.mdi-pier:before{content:"󰢇"}.mdi-pier-crane:before{content:"󰢈"}.mdi-pig:before{content:"󰐁"}.mdi-pig-variant:before{content:"󱀆"}.mdi-pig-variant-outline:before{content:"󱙸"}.mdi-piggy-bank:before{content:"󱀇"}.mdi-piggy-bank-outline:before{content:"󱙹"}.mdi-pill:before{content:"󰐂"}.mdi-pill-multiple:before{content:"󱭌"}.mdi-pill-off:before{content:"󱩜"}.mdi-pillar:before{content:"󰜂"}.mdi-pin:before{content:"󰐃"}.mdi-pin-off:before{content:"󰐄"}.mdi-pin-off-outline:before{content:"󰤰"}.mdi-pin-outline:before{content:"󰤱"}.mdi-pine-tree:before{content:"󰐅"}.mdi-pine-tree-box:before{content:"󰐆"}.mdi-pine-tree-fire:before{content:"󱐚"}.mdi-pine-tree-variant:before{content:"󱱳"}.mdi-pine-tree-variant-outline:before{content:"󱱴"}.mdi-pinterest:before{content:"󰐇"}.mdi-pinwheel:before{content:"󰫕"}.mdi-pinwheel-outline:before{content:"󰫖"}.mdi-pipe:before{content:"󰟥"}.mdi-pipe-disconnected:before{content:"󰟦"}.mdi-pipe-leak:before{content:"󰢉"}.mdi-pipe-valve:before{content:"󱡍"}.mdi-pipe-wrench:before{content:"󱍔"}.mdi-pirate:before{content:"󰨈"}.mdi-pistol:before{content:"󰜃"}.mdi-piston:before{content:"󰢊"}.mdi-pitchfork:before{content:"󱕓"}.mdi-pizza:before{content:"󰐉"}.mdi-plane-car:before{content:"󱫿"}.mdi-plane-train:before{content:"󱬀"}.mdi-play:before{content:"󰐊"}.mdi-play-box:before{content:"󱉺"}.mdi-play-box-edit-outline:before{content:"󱰺"}.mdi-play-box-lock:before{content:"󱨖"}.mdi-play-box-lock-open:before{content:"󱨗"}.mdi-play-box-lock-open-outline:before{content:"󱨘"}.mdi-play-box-lock-outline:before{content:"󱨙"}.mdi-play-box-multiple:before{content:"󰴙"}.mdi-play-box-multiple-outline:before{content:"󱏦"}.mdi-play-box-outline:before{content:"󰐋"}.mdi-play-circle:before{content:"󰐌"}.mdi-play-circle-outline:before{content:"󰐍"}.mdi-play-network:before{content:"󰢋"}.mdi-play-network-outline:before{content:"󰲷"}.mdi-play-outline:before{content:"󰼛"}.mdi-play-pause:before{content:"󰐎"}.mdi-play-protected-content:before{content:"󰐏"}.mdi-play-speed:before{content:"󰣿"}.mdi-playlist-check:before{content:"󰗇"}.mdi-playlist-edit:before{content:"󰤀"}.mdi-playlist-minus:before{content:"󰐐"}.mdi-playlist-music:before{content:"󰲸"}.mdi-playlist-music-outline:before{content:"󰲹"}.mdi-playlist-play:before{content:"󰐑"}.mdi-playlist-plus:before{content:"󰐒"}.mdi-playlist-remove:before{content:"󰐓"}.mdi-playlist-star:before{content:"󰷲"}.mdi-plex:before{content:"󰚺"}.mdi-pliers:before{content:"󱦤"}.mdi-plus:before{content:"󰐕"}.mdi-plus-box:before{content:"󰐖"}.mdi-plus-box-multiple:before{content:"󰌴"}.mdi-plus-box-multiple-outline:before{content:"󱅃"}.mdi-plus-box-outline:before{content:"󰜄"}.mdi-plus-circle:before{content:"󰐗"}.mdi-plus-circle-multiple:before{content:"󰍌"}.mdi-plus-circle-multiple-outline:before{content:"󰐘"}.mdi-plus-circle-outline:before{content:"󰐙"}.mdi-plus-lock:before{content:"󱩝"}.mdi-plus-lock-open:before{content:"󱩞"}.mdi-plus-minus:before{content:"󰦒"}.mdi-plus-minus-box:before{content:"󰦓"}.mdi-plus-minus-variant:before{content:"󱓉"}.mdi-plus-network:before{content:"󰐚"}.mdi-plus-network-outline:before{content:"󰲺"}.mdi-plus-outline:before{content:"󰜅"}.mdi-plus-thick:before{content:"󱇬"}.mdi-podcast:before{content:"󰦔"}.mdi-podium:before{content:"󰴥"}.mdi-podium-bronze:before{content:"󰴦"}.mdi-podium-gold:before{content:"󰴧"}.mdi-podium-silver:before{content:"󰴨"}.mdi-point-of-sale:before{content:"󰶒"}.mdi-pokeball:before{content:"󰐝"}.mdi-pokemon-go:before{content:"󰨉"}.mdi-poker-chip:before{content:"󰠰"}.mdi-polaroid:before{content:"󰐞"}.mdi-police-badge:before{content:"󱅧"}.mdi-police-badge-outline:before{content:"󱅨"}.mdi-police-station:before{content:"󱠹"}.mdi-poll:before{content:"󰐟"}.mdi-polo:before{content:"󱓃"}.mdi-polymer:before{content:"󰐡"}.mdi-pool:before{content:"󰘆"}.mdi-pool-thermometer:before{content:"󱩟"}.mdi-popcorn:before{content:"󰐢"}.mdi-post:before{content:"󱀈"}.mdi-post-lamp:before{content:"󱩠"}.mdi-post-outline:before{content:"󱀉"}.mdi-postage-stamp:before{content:"󰲻"}.mdi-pot:before{content:"󰋥"}.mdi-pot-mix:before{content:"󰙛"}.mdi-pot-mix-outline:before{content:"󰙷"}.mdi-pot-outline:before{content:"󰋿"}.mdi-pot-steam:before{content:"󰙚"}.mdi-pot-steam-outline:before{content:"󰌦"}.mdi-pound:before{content:"󰐣"}.mdi-pound-box:before{content:"󰐤"}.mdi-pound-box-outline:before{content:"󱅿"}.mdi-power:before{content:"󰐥"}.mdi-power-cycle:before{content:"󰤁"}.mdi-power-off:before{content:"󰤂"}.mdi-power-on:before{content:"󰤃"}.mdi-power-plug:before{content:"󰚥"}.mdi-power-plug-battery:before{content:"󱰻"}.mdi-power-plug-battery-outline:before{content:"󱰼"}.mdi-power-plug-off:before{content:"󰚦"}.mdi-power-plug-off-outline:before{content:"󱐤"}.mdi-power-plug-outline:before{content:"󱐥"}.mdi-power-settings:before{content:"󰐦"}.mdi-power-sleep:before{content:"󰤄"}.mdi-power-socket:before{content:"󰐧"}.mdi-power-socket-au:before{content:"󰤅"}.mdi-power-socket-ch:before{content:"󰾳"}.mdi-power-socket-de:before{content:"󱄇"}.mdi-power-socket-eu:before{content:"󰟧"}.mdi-power-socket-fr:before{content:"󱄈"}.mdi-power-socket-it:before{content:"󱓿"}.mdi-power-socket-jp:before{content:"󱄉"}.mdi-power-socket-uk:before{content:"󰟨"}.mdi-power-socket-us:before{content:"󰟩"}.mdi-power-standby:before{content:"󰤆"}.mdi-powershell:before{content:"󰨊"}.mdi-prescription:before{content:"󰜆"}.mdi-presentation:before{content:"󰐨"}.mdi-presentation-play:before{content:"󰐩"}.mdi-pretzel:before{content:"󱕢"}.mdi-printer:before{content:"󰐪"}.mdi-printer-3d:before{content:"󰐫"}.mdi-printer-3d-nozzle:before{content:"󰹛"}.mdi-printer-3d-nozzle-alert:before{content:"󱇀"}.mdi-printer-3d-nozzle-alert-outline:before{content:"󱇁"}.mdi-printer-3d-nozzle-heat:before{content:"󱢸"}.mdi-printer-3d-nozzle-heat-outline:before{content:"󱢹"}.mdi-printer-3d-nozzle-off:before{content:"󱬙"}.mdi-printer-3d-nozzle-off-outline:before{content:"󱬚"}.mdi-printer-3d-nozzle-outline:before{content:"󰹜"}.mdi-printer-3d-off:before{content:"󱬎"}.mdi-printer-alert:before{content:"󰐬"}.mdi-printer-check:before{content:"󱅆"}.mdi-printer-eye:before{content:"󱑘"}.mdi-printer-off:before{content:"󰹝"}.mdi-printer-off-outline:before{content:"󱞅"}.mdi-printer-outline:before{content:"󱞆"}.mdi-printer-pos:before{content:"󱁗"}.mdi-printer-pos-alert:before{content:"󱮼"}.mdi-printer-pos-alert-outline:before{content:"󱮽"}.mdi-printer-pos-cancel:before{content:"󱮾"}.mdi-printer-pos-cancel-outline:before{content:"󱮿"}.mdi-printer-pos-check:before{content:"󱯀"}.mdi-printer-pos-check-outline:before{content:"󱯁"}.mdi-printer-pos-cog:before{content:"󱯂"}.mdi-printer-pos-cog-outline:before{content:"󱯃"}.mdi-printer-pos-edit:before{content:"󱯄"}.mdi-printer-pos-edit-outline:before{content:"󱯅"}.mdi-printer-pos-minus:before{content:"󱯆"}.mdi-printer-pos-minus-outline:before{content:"󱯇"}.mdi-printer-pos-network:before{content:"󱯈"}.mdi-printer-pos-network-outline:before{content:"󱯉"}.mdi-printer-pos-off:before{content:"󱯊"}.mdi-printer-pos-off-outline:before{content:"󱯋"}.mdi-printer-pos-outline:before{content:"󱯌"}.mdi-printer-pos-pause:before{content:"󱯍"}.mdi-printer-pos-pause-outline:before{content:"󱯎"}.mdi-printer-pos-play:before{content:"󱯏"}.mdi-printer-pos-play-outline:before{content:"󱯐"}.mdi-printer-pos-plus:before{content:"󱯑"}.mdi-printer-pos-plus-outline:before{content:"󱯒"}.mdi-printer-pos-refresh:before{content:"󱯓"}.mdi-printer-pos-refresh-outline:before{content:"󱯔"}.mdi-printer-pos-remove:before{content:"󱯕"}.mdi-printer-pos-remove-outline:before{content:"󱯖"}.mdi-printer-pos-star:before{content:"󱯗"}.mdi-printer-pos-star-outline:before{content:"󱯘"}.mdi-printer-pos-stop:before{content:"󱯙"}.mdi-printer-pos-stop-outline:before{content:"󱯚"}.mdi-printer-pos-sync:before{content:"󱯛"}.mdi-printer-pos-sync-outline:before{content:"󱯜"}.mdi-printer-pos-wrench:before{content:"󱯝"}.mdi-printer-pos-wrench-outline:before{content:"󱯞"}.mdi-printer-search:before{content:"󱑗"}.mdi-printer-settings:before{content:"󰜇"}.mdi-printer-wireless:before{content:"󰨋"}.mdi-priority-high:before{content:"󰘃"}.mdi-priority-low:before{content:"󰘄"}.mdi-professional-hexagon:before{content:"󰐭"}.mdi-progress-alert:before{content:"󰲼"}.mdi-progress-check:before{content:"󰦕"}.mdi-progress-clock:before{content:"󰦖"}.mdi-progress-close:before{content:"󱄊"}.mdi-progress-download:before{content:"󰦗"}.mdi-progress-helper:before{content:"󱮢"}.mdi-progress-pencil:before{content:"󱞇"}.mdi-progress-question:before{content:"󱔢"}.mdi-progress-star:before{content:"󱞈"}.mdi-progress-star-four-points:before{content:"󱰽"}.mdi-progress-upload:before{content:"󰦘"}.mdi-progress-wrench:before{content:"󰲽"}.mdi-projector:before{content:"󰐮"}.mdi-projector-off:before{content:"󱨣"}.mdi-projector-screen:before{content:"󰐯"}.mdi-projector-screen-off:before{content:"󱠍"}.mdi-projector-screen-off-outline:before{content:"󱠎"}.mdi-projector-screen-outline:before{content:"󱜤"}.mdi-projector-screen-variant:before{content:"󱠏"}.mdi-projector-screen-variant-off:before{content:"󱠐"}.mdi-projector-screen-variant-off-outline:before{content:"󱠑"}.mdi-projector-screen-variant-outline:before{content:"󱠒"}.mdi-propane-tank:before{content:"󱍗"}.mdi-propane-tank-outline:before{content:"󱍘"}.mdi-protocol:before{content:"󰿘"}.mdi-publish:before{content:"󰚧"}.mdi-publish-off:before{content:"󱥅"}.mdi-pulse:before{content:"󰐰"}.mdi-pump:before{content:"󱐂"}.mdi-pump-off:before{content:"󱬢"}.mdi-pumpkin:before{content:"󰮿"}.mdi-purse:before{content:"󰼜"}.mdi-purse-outline:before{content:"󰼝"}.mdi-puzzle:before{content:"󰐱"}.mdi-puzzle-check:before{content:"󱐦"}.mdi-puzzle-check-outline:before{content:"󱐧"}.mdi-puzzle-edit:before{content:"󱓓"}.mdi-puzzle-edit-outline:before{content:"󱓙"}.mdi-puzzle-heart:before{content:"󱓔"}.mdi-puzzle-heart-outline:before{content:"󱓚"}.mdi-puzzle-minus:before{content:"󱓑"}.mdi-puzzle-minus-outline:before{content:"󱓗"}.mdi-puzzle-outline:before{content:"󰩦"}.mdi-puzzle-plus:before{content:"󱓐"}.mdi-puzzle-plus-outline:before{content:"󱓖"}.mdi-puzzle-remove:before{content:"󱓒"}.mdi-puzzle-remove-outline:before{content:"󱓘"}.mdi-puzzle-star:before{content:"󱓕"}.mdi-puzzle-star-outline:before{content:"󱓛"}.mdi-pyramid:before{content:"󱥒"}.mdi-pyramid-off:before{content:"󱥓"}.mdi-qi:before{content:"󰦙"}.mdi-qqchat:before{content:"󰘅"}.mdi-qrcode:before{content:"󰐲"}.mdi-qrcode-edit:before{content:"󰢸"}.mdi-qrcode-minus:before{content:"󱆌"}.mdi-qrcode-plus:before{content:"󱆋"}.mdi-qrcode-remove:before{content:"󱆍"}.mdi-qrcode-scan:before{content:"󰐳"}.mdi-quadcopter:before{content:"󰐴"}.mdi-quality-high:before{content:"󰐵"}.mdi-quality-low:before{content:"󰨌"}.mdi-quality-medium:before{content:"󰨍"}.mdi-quora:before{content:"󰴩"}.mdi-rabbit:before{content:"󰤇"}.mdi-rabbit-variant:before{content:"󱩡"}.mdi-rabbit-variant-outline:before{content:"󱩢"}.mdi-racing-helmet:before{content:"󰶓"}.mdi-racquetball:before{content:"󰶔"}.mdi-radar:before{content:"󰐷"}.mdi-radiator:before{content:"󰐸"}.mdi-radiator-disabled:before{content:"󰫗"}.mdi-radiator-off:before{content:"󰫘"}.mdi-radio:before{content:"󰐹"}.mdi-radio-am:before{content:"󰲾"}.mdi-radio-fm:before{content:"󰲿"}.mdi-radio-handheld:before{content:"󰐺"}.mdi-radio-off:before{content:"󱈜"}.mdi-radio-tower:before{content:"󰐻"}.mdi-radioactive:before{content:"󰐼"}.mdi-radioactive-circle:before{content:"󱡝"}.mdi-radioactive-circle-outline:before{content:"󱡞"}.mdi-radioactive-off:before{content:"󰻁"}.mdi-radiobox-blank:before{content:"󰐽"}.mdi-radiobox-indeterminate-variant:before{content:"󱱞"}.mdi-radiobox-marked:before{content:"󰐾"}.mdi-radiology-box:before{content:"󱓅"}.mdi-radiology-box-outline:before{content:"󱓆"}.mdi-radius:before{content:"󰳀"}.mdi-radius-outline:before{content:"󰳁"}.mdi-railroad-light:before{content:"󰼞"}.mdi-rake:before{content:"󱕄"}.mdi-raspberry-pi:before{content:"󰐿"}.mdi-raw:before{content:"󱨏"}.mdi-raw-off:before{content:"󱨐"}.mdi-ray-end:before{content:"󰑀"}.mdi-ray-end-arrow:before{content:"󰑁"}.mdi-ray-start:before{content:"󰑂"}.mdi-ray-start-arrow:before{content:"󰑃"}.mdi-ray-start-end:before{content:"󰑄"}.mdi-ray-start-vertex-end:before{content:"󱗘"}.mdi-ray-vertex:before{content:"󰑅"}.mdi-razor-double-edge:before{content:"󱦗"}.mdi-razor-single-edge:before{content:"󱦘"}.mdi-react:before{content:"󰜈"}.mdi-read:before{content:"󰑇"}.mdi-receipt:before{content:"󰠤"}.mdi-receipt-clock:before{content:"󱰾"}.mdi-receipt-clock-outline:before{content:"󱰿"}.mdi-receipt-outline:before{content:"󰓷"}.mdi-receipt-send:before{content:"󱱀"}.mdi-receipt-send-outline:before{content:"󱱁"}.mdi-receipt-text:before{content:"󰑉"}.mdi-receipt-text-arrow-left:before{content:"󱱂"}.mdi-receipt-text-arrow-left-outline:before{content:"󱱃"}.mdi-receipt-text-arrow-right:before{content:"󱱄"}.mdi-receipt-text-arrow-right-outline:before{content:"󱱅"}.mdi-receipt-text-check:before{content:"󱩣"}.mdi-receipt-text-check-outline:before{content:"󱩤"}.mdi-receipt-text-clock:before{content:"󱱆"}.mdi-receipt-text-clock-outline:before{content:"󱱇"}.mdi-receipt-text-edit:before{content:"󱱈"}.mdi-receipt-text-edit-outline:before{content:"󱱉"}.mdi-receipt-text-minus:before{content:"󱩥"}.mdi-receipt-text-minus-outline:before{content:"󱩦"}.mdi-receipt-text-outline:before{content:"󱧜"}.mdi-receipt-text-plus:before{content:"󱩧"}.mdi-receipt-text-plus-outline:before{content:"󱩨"}.mdi-receipt-text-remove:before{content:"󱩩"}.mdi-receipt-text-remove-outline:before{content:"󱩪"}.mdi-receipt-text-send:before{content:"󱱊"}.mdi-receipt-text-send-outline:before{content:"󱱋"}.mdi-record:before{content:"󰑊"}.mdi-record-circle:before{content:"󰻂"}.mdi-record-circle-outline:before{content:"󰻃"}.mdi-record-player:before{content:"󰦚"}.mdi-record-rec:before{content:"󰑋"}.mdi-rectangle:before{content:"󰹞"}.mdi-rectangle-outline:before{content:"󰹟"}.mdi-recycle:before{content:"󰑌"}.mdi-recycle-variant:before{content:"󱎝"}.mdi-reddit:before{content:"󰑍"}.mdi-redhat:before{content:"󱄛"}.mdi-redo:before{content:"󰑎"}.mdi-redo-variant:before{content:"󰑏"}.mdi-reflect-horizontal:before{content:"󰨎"}.mdi-reflect-vertical:before{content:"󰨏"}.mdi-refresh:before{content:"󰑐"}.mdi-refresh-auto:before{content:"󱣲"}.mdi-refresh-circle:before{content:"󱍷"}.mdi-regex:before{content:"󰑑"}.mdi-registered-trademark:before{content:"󰩧"}.mdi-reiterate:before{content:"󱖈"}.mdi-relation-many-to-many:before{content:"󱒖"}.mdi-relation-many-to-one:before{content:"󱒗"}.mdi-relation-many-to-one-or-many:before{content:"󱒘"}.mdi-relation-many-to-only-one:before{content:"󱒙"}.mdi-relation-many-to-zero-or-many:before{content:"󱒚"}.mdi-relation-many-to-zero-or-one:before{content:"󱒛"}.mdi-relation-one-or-many-to-many:before{content:"󱒜"}.mdi-relation-one-or-many-to-one:before{content:"󱒝"}.mdi-relation-one-or-many-to-one-or-many:before{content:"󱒞"}.mdi-relation-one-or-many-to-only-one:before{content:"󱒟"}.mdi-relation-one-or-many-to-zero-or-many:before{content:"󱒠"}.mdi-relation-one-or-many-to-zero-or-one:before{content:"󱒡"}.mdi-relation-one-to-many:before{content:"󱒢"}.mdi-relation-one-to-one:before{content:"󱒣"}.mdi-relation-one-to-one-or-many:before{content:"󱒤"}.mdi-relation-one-to-only-one:before{content:"󱒥"}.mdi-relation-one-to-zero-or-many:before{content:"󱒦"}.mdi-relation-one-to-zero-or-one:before{content:"󱒧"}.mdi-relation-only-one-to-many:before{content:"󱒨"}.mdi-relation-only-one-to-one:before{content:"󱒩"}.mdi-relation-only-one-to-one-or-many:before{content:"󱒪"}.mdi-relation-only-one-to-only-one:before{content:"󱒫"}.mdi-relation-only-one-to-zero-or-many:before{content:"󱒬"}.mdi-relation-only-one-to-zero-or-one:before{content:"󱒭"}.mdi-relation-zero-or-many-to-many:before{content:"󱒮"}.mdi-relation-zero-or-many-to-one:before{content:"󱒯"}.mdi-relation-zero-or-many-to-one-or-many:before{content:"󱒰"}.mdi-relation-zero-or-many-to-only-one:before{content:"󱒱"}.mdi-relation-zero-or-many-to-zero-or-many:before{content:"󱒲"}.mdi-relation-zero-or-many-to-zero-or-one:before{content:"󱒳"}.mdi-relation-zero-or-one-to-many:before{content:"󱒴"}.mdi-relation-zero-or-one-to-one:before{content:"󱒵"}.mdi-relation-zero-or-one-to-one-or-many:before{content:"󱒶"}.mdi-relation-zero-or-one-to-only-one:before{content:"󱒷"}.mdi-relation-zero-or-one-to-zero-or-many:before{content:"󱒸"}.mdi-relation-zero-or-one-to-zero-or-one:before{content:"󱒹"}.mdi-relative-scale:before{content:"󰑒"}.mdi-reload:before{content:"󰑓"}.mdi-reload-alert:before{content:"󱄋"}.mdi-reminder:before{content:"󰢌"}.mdi-remote:before{content:"󰑔"}.mdi-remote-desktop:before{content:"󰢹"}.mdi-remote-off:before{content:"󰻄"}.mdi-remote-tv:before{content:"󰻅"}.mdi-remote-tv-off:before{content:"󰻆"}.mdi-rename:before{content:"󱰘"}.mdi-rename-box:before{content:"󰑕"}.mdi-rename-box-outline:before{content:"󱰙"}.mdi-rename-outline:before{content:"󱰚"}.mdi-reorder-horizontal:before{content:"󰚈"}.mdi-reorder-vertical:before{content:"󰚉"}.mdi-repeat:before{content:"󰑖"}.mdi-repeat-off:before{content:"󰑗"}.mdi-repeat-once:before{content:"󰑘"}.mdi-repeat-variant:before{content:"󰕇"}.mdi-replay:before{content:"󰑙"}.mdi-reply:before{content:"󰑚"}.mdi-reply-all:before{content:"󰑛"}.mdi-reply-all-outline:before{content:"󰼟"}.mdi-reply-circle:before{content:"󱆮"}.mdi-reply-outline:before{content:"󰼠"}.mdi-reproduction:before{content:"󰑜"}.mdi-resistor:before{content:"󰭄"}.mdi-resistor-nodes:before{content:"󰭅"}.mdi-resize:before{content:"󰩨"}.mdi-resize-bottom-right:before{content:"󰑝"}.mdi-responsive:before{content:"󰑞"}.mdi-restart:before{content:"󰜉"}.mdi-restart-alert:before{content:"󱄌"}.mdi-restart-off:before{content:"󰶕"}.mdi-restore:before{content:"󰦛"}.mdi-restore-alert:before{content:"󱄍"}.mdi-rewind:before{content:"󰑟"}.mdi-rewind-10:before{content:"󰴪"}.mdi-rewind-15:before{content:"󱥆"}.mdi-rewind-30:before{content:"󰶖"}.mdi-rewind-45:before{content:"󱬓"}.mdi-rewind-5:before{content:"󱇹"}.mdi-rewind-60:before{content:"󱘌"}.mdi-rewind-outline:before{content:"󰜊"}.mdi-rhombus:before{content:"󰜋"}.mdi-rhombus-medium:before{content:"󰨐"}.mdi-rhombus-medium-outline:before{content:"󱓜"}.mdi-rhombus-outline:before{content:"󰜌"}.mdi-rhombus-split:before{content:"󰨑"}.mdi-rhombus-split-outline:before{content:"󱓝"}.mdi-ribbon:before{content:"󰑠"}.mdi-rice:before{content:"󰟪"}.mdi-rickshaw:before{content:"󱖻"}.mdi-rickshaw-electric:before{content:"󱖼"}.mdi-ring:before{content:"󰟫"}.mdi-rivet:before{content:"󰹠"}.mdi-road:before{content:"󰑡"}.mdi-road-variant:before{content:"󰑢"}.mdi-robber:before{content:"󱁘"}.mdi-robot:before{content:"󰚩"}.mdi-robot-angry:before{content:"󱚝"}.mdi-robot-angry-outline:before{content:"󱚞"}.mdi-robot-confused:before{content:"󱚟"}.mdi-robot-confused-outline:before{content:"󱚠"}.mdi-robot-dead:before{content:"󱚡"}.mdi-robot-dead-outline:before{content:"󱚢"}.mdi-robot-excited:before{content:"󱚣"}.mdi-robot-excited-outline:before{content:"󱚤"}.mdi-robot-happy:before{content:"󱜙"}.mdi-robot-happy-outline:before{content:"󱜚"}.mdi-robot-industrial:before{content:"󰭆"}.mdi-robot-industrial-outline:before{content:"󱨚"}.mdi-robot-love:before{content:"󱚥"}.mdi-robot-love-outline:before{content:"󱚦"}.mdi-robot-mower:before{content:"󱇷"}.mdi-robot-mower-outline:before{content:"󱇳"}.mdi-robot-off:before{content:"󱚧"}.mdi-robot-off-outline:before{content:"󱙻"}.mdi-robot-outline:before{content:"󱙺"}.mdi-robot-vacuum:before{content:"󰜍"}.mdi-robot-vacuum-alert:before{content:"󱭝"}.mdi-robot-vacuum-off:before{content:"󱰁"}.mdi-robot-vacuum-variant:before{content:"󰤈"}.mdi-robot-vacuum-variant-alert:before{content:"󱭞"}.mdi-robot-vacuum-variant-off:before{content:"󱰂"}.mdi-rocket:before{content:"󰑣"}.mdi-rocket-launch:before{content:"󱓞"}.mdi-rocket-launch-outline:before{content:"󱓟"}.mdi-rocket-outline:before{content:"󱎯"}.mdi-rodent:before{content:"󱌧"}.mdi-roller-shade:before{content:"󱩫"}.mdi-roller-shade-closed:before{content:"󱩬"}.mdi-roller-skate:before{content:"󰴫"}.mdi-roller-skate-off:before{content:"󰅅"}.mdi-rollerblade:before{content:"󰴬"}.mdi-rollerblade-off:before{content:"󰀮"}.mdi-rollupjs:before{content:"󰯀"}.mdi-rolodex:before{content:"󱪹"}.mdi-rolodex-outline:before{content:"󱪺"}.mdi-roman-numeral-1:before{content:"󱂈"}.mdi-roman-numeral-10:before{content:"󱂑"}.mdi-roman-numeral-2:before{content:"󱂉"}.mdi-roman-numeral-3:before{content:"󱂊"}.mdi-roman-numeral-4:before{content:"󱂋"}.mdi-roman-numeral-5:before{content:"󱂌"}.mdi-roman-numeral-6:before{content:"󱂍"}.mdi-roman-numeral-7:before{content:"󱂎"}.mdi-roman-numeral-8:before{content:"󱂏"}.mdi-roman-numeral-9:before{content:"󱂐"}.mdi-room-service:before{content:"󰢍"}.mdi-room-service-outline:before{content:"󰶗"}.mdi-rotate-360:before{content:"󱦙"}.mdi-rotate-3d:before{content:"󰻇"}.mdi-rotate-3d-variant:before{content:"󰑤"}.mdi-rotate-left:before{content:"󰑥"}.mdi-rotate-left-variant:before{content:"󰑦"}.mdi-rotate-orbit:before{content:"󰶘"}.mdi-rotate-right:before{content:"󰑧"}.mdi-rotate-right-variant:before{content:"󰑨"}.mdi-rounded-corner:before{content:"󰘇"}.mdi-router:before{content:"󱇢"}.mdi-router-network:before{content:"󱂇"}.mdi-router-wireless:before{content:"󰑩"}.mdi-router-wireless-off:before{content:"󱖣"}.mdi-router-wireless-settings:before{content:"󰩩"}.mdi-routes:before{content:"󰑪"}.mdi-routes-clock:before{content:"󱁙"}.mdi-rowing:before{content:"󰘈"}.mdi-rss:before{content:"󰑫"}.mdi-rss-box:before{content:"󰑬"}.mdi-rss-off:before{content:"󰼡"}.mdi-rug:before{content:"󱑵"}.mdi-rugby:before{content:"󰶙"}.mdi-ruler:before{content:"󰑭"}.mdi-ruler-square:before{content:"󰳂"}.mdi-ruler-square-compass:before{content:"󰺾"}.mdi-run:before{content:"󰜎"}.mdi-run-fast:before{content:"󰑮"}.mdi-rv-truck:before{content:"󱇔"}.mdi-sack:before{content:"󰴮"}.mdi-sack-outline:before{content:"󱱌"}.mdi-sack-percent:before{content:"󰴯"}.mdi-safe:before{content:"󰩪"}.mdi-safe-square:before{content:"󱉼"}.mdi-safe-square-outline:before{content:"󱉽"}.mdi-safety-goggles:before{content:"󰴰"}.mdi-sail-boat:before{content:"󰻈"}.mdi-sail-boat-sink:before{content:"󱫯"}.mdi-sale:before{content:"󰑯"}.mdi-sale-outline:before{content:"󱨆"}.mdi-salesforce:before{content:"󰢎"}.mdi-sass:before{content:"󰟬"}.mdi-satellite:before{content:"󰑰"}.mdi-satellite-uplink:before{content:"󰤉"}.mdi-satellite-variant:before{content:"󰑱"}.mdi-sausage:before{content:"󰢺"}.mdi-sausage-off:before{content:"󱞉"}.mdi-saw-blade:before{content:"󰹡"}.mdi-sawtooth-wave:before{content:"󱑺"}.mdi-saxophone:before{content:"󰘉"}.mdi-scale:before{content:"󰑲"}.mdi-scale-balance:before{content:"󰗑"}.mdi-scale-bathroom:before{content:"󰑳"}.mdi-scale-off:before{content:"󱁚"}.mdi-scale-unbalanced:before{content:"󱦸"}.mdi-scan-helper:before{content:"󱏘"}.mdi-scanner:before{content:"󰚫"}.mdi-scanner-off:before{content:"󰤊"}.mdi-scatter-plot:before{content:"󰻉"}.mdi-scatter-plot-outline:before{content:"󰻊"}.mdi-scent:before{content:"󱥘"}.mdi-scent-off:before{content:"󱥙"}.mdi-school:before{content:"󰑴"}.mdi-school-outline:before{content:"󱆀"}.mdi-scissors-cutting:before{content:"󰩫"}.mdi-scooter:before{content:"󱖽"}.mdi-scooter-electric:before{content:"󱖾"}.mdi-scoreboard:before{content:"󱉾"}.mdi-scoreboard-outline:before{content:"󱉿"}.mdi-screen-rotation:before{content:"󰑵"}.mdi-screen-rotation-lock:before{content:"󰑸"}.mdi-screw-flat-top:before{content:"󰷳"}.mdi-screw-lag:before{content:"󰷴"}.mdi-screw-machine-flat-top:before{content:"󰷵"}.mdi-screw-machine-round-top:before{content:"󰷶"}.mdi-screw-round-top:before{content:"󰷷"}.mdi-screwdriver:before{content:"󰑶"}.mdi-script:before{content:"󰯁"}.mdi-script-outline:before{content:"󰑷"}.mdi-script-text:before{content:"󰯂"}.mdi-script-text-key:before{content:"󱜥"}.mdi-script-text-key-outline:before{content:"󱜦"}.mdi-script-text-outline:before{content:"󰯃"}.mdi-script-text-play:before{content:"󱜧"}.mdi-script-text-play-outline:before{content:"󱜨"}.mdi-sd:before{content:"󰑹"}.mdi-seal:before{content:"󰑺"}.mdi-seal-variant:before{content:"󰿙"}.mdi-search-web:before{content:"󰜏"}.mdi-seat:before{content:"󰳃"}.mdi-seat-flat:before{content:"󰑻"}.mdi-seat-flat-angled:before{content:"󰑼"}.mdi-seat-individual-suite:before{content:"󰑽"}.mdi-seat-legroom-extra:before{content:"󰑾"}.mdi-seat-legroom-normal:before{content:"󰑿"}.mdi-seat-legroom-reduced:before{content:"󰒀"}.mdi-seat-outline:before{content:"󰳄"}.mdi-seat-passenger:before{content:"󱉉"}.mdi-seat-recline-extra:before{content:"󰒁"}.mdi-seat-recline-normal:before{content:"󰒂"}.mdi-seatbelt:before{content:"󰳅"}.mdi-security:before{content:"󰒃"}.mdi-security-network:before{content:"󰒄"}.mdi-seed:before{content:"󰹢"}.mdi-seed-off:before{content:"󱏽"}.mdi-seed-off-outline:before{content:"󱏾"}.mdi-seed-outline:before{content:"󰹣"}.mdi-seed-plus:before{content:"󱩭"}.mdi-seed-plus-outline:before{content:"󱩮"}.mdi-seesaw:before{content:"󱖤"}.mdi-segment:before{content:"󰻋"}.mdi-select:before{content:"󰒅"}.mdi-select-all:before{content:"󰒆"}.mdi-select-arrow-down:before{content:"󱭙"}.mdi-select-arrow-up:before{content:"󱭘"}.mdi-select-color:before{content:"󰴱"}.mdi-select-compare:before{content:"󰫙"}.mdi-select-drag:before{content:"󰩬"}.mdi-select-group:before{content:"󰾂"}.mdi-select-inverse:before{content:"󰒇"}.mdi-select-marker:before{content:"󱊀"}.mdi-select-multiple:before{content:"󱊁"}.mdi-select-multiple-marker:before{content:"󱊂"}.mdi-select-off:before{content:"󰒈"}.mdi-select-place:before{content:"󰿚"}.mdi-select-remove:before{content:"󱟁"}.mdi-select-search:before{content:"󱈄"}.mdi-selection:before{content:"󰒉"}.mdi-selection-drag:before{content:"󰩭"}.mdi-selection-ellipse:before{content:"󰴲"}.mdi-selection-ellipse-arrow-inside:before{content:"󰼢"}.mdi-selection-ellipse-remove:before{content:"󱟂"}.mdi-selection-marker:before{content:"󱊃"}.mdi-selection-multiple:before{content:"󱊅"}.mdi-selection-multiple-marker:before{content:"󱊄"}.mdi-selection-off:before{content:"󰝷"}.mdi-selection-remove:before{content:"󱟃"}.mdi-selection-search:before{content:"󱈅"}.mdi-semantic-web:before{content:"󱌖"}.mdi-send:before{content:"󰒊"}.mdi-send-check:before{content:"󱅡"}.mdi-send-check-outline:before{content:"󱅢"}.mdi-send-circle:before{content:"󰷸"}.mdi-send-circle-outline:before{content:"󰷹"}.mdi-send-clock:before{content:"󱅣"}.mdi-send-clock-outline:before{content:"󱅤"}.mdi-send-lock:before{content:"󰟭"}.mdi-send-lock-outline:before{content:"󱅦"}.mdi-send-outline:before{content:"󱅥"}.mdi-send-variant:before{content:"󱱍"}.mdi-send-variant-clock:before{content:"󱱾"}.mdi-send-variant-clock-outline:before{content:"󱱿"}.mdi-send-variant-outline:before{content:"󱱎"}.mdi-serial-port:before{content:"󰙜"}.mdi-server:before{content:"󰒋"}.mdi-server-minus:before{content:"󰒌"}.mdi-server-network:before{content:"󰒍"}.mdi-server-network-off:before{content:"󰒎"}.mdi-server-off:before{content:"󰒏"}.mdi-server-plus:before{content:"󰒐"}.mdi-server-remove:before{content:"󰒑"}.mdi-server-security:before{content:"󰒒"}.mdi-set-all:before{content:"󰝸"}.mdi-set-center:before{content:"󰝹"}.mdi-set-center-right:before{content:"󰝺"}.mdi-set-left:before{content:"󰝻"}.mdi-set-left-center:before{content:"󰝼"}.mdi-set-left-right:before{content:"󰝽"}.mdi-set-merge:before{content:"󱓠"}.mdi-set-none:before{content:"󰝾"}.mdi-set-right:before{content:"󰝿"}.mdi-set-split:before{content:"󱓡"}.mdi-set-square:before{content:"󱑝"}.mdi-set-top-box:before{content:"󰦟"}.mdi-settings-helper:before{content:"󰩮"}.mdi-shaker:before{content:"󱄎"}.mdi-shaker-outline:before{content:"󱄏"}.mdi-shape:before{content:"󰠱"}.mdi-shape-circle-plus:before{content:"󰙝"}.mdi-shape-outline:before{content:"󰠲"}.mdi-shape-oval-plus:before{content:"󱇺"}.mdi-shape-plus:before{content:"󰒕"}.mdi-shape-plus-outline:before{content:"󱱏"}.mdi-shape-polygon-plus:before{content:"󰙞"}.mdi-shape-rectangle-plus:before{content:"󰙟"}.mdi-shape-square-plus:before{content:"󰙠"}.mdi-shape-square-rounded-plus:before{content:"󱓺"}.mdi-share:before{content:"󰒖"}.mdi-share-all:before{content:"󱇴"}.mdi-share-all-outline:before{content:"󱇵"}.mdi-share-circle:before{content:"󱆭"}.mdi-share-off:before{content:"󰼣"}.mdi-share-off-outline:before{content:"󰼤"}.mdi-share-outline:before{content:"󰤲"}.mdi-share-variant:before{content:"󰒗"}.mdi-share-variant-outline:before{content:"󱔔"}.mdi-shark:before{content:"󱢺"}.mdi-shark-fin:before{content:"󱙳"}.mdi-shark-fin-outline:before{content:"󱙴"}.mdi-shark-off:before{content:"󱢻"}.mdi-sheep:before{content:"󰳆"}.mdi-shield:before{content:"󰒘"}.mdi-shield-account:before{content:"󰢏"}.mdi-shield-account-outline:before{content:"󰨒"}.mdi-shield-account-variant:before{content:"󱖧"}.mdi-shield-account-variant-outline:before{content:"󱖨"}.mdi-shield-airplane:before{content:"󰚻"}.mdi-shield-airplane-outline:before{content:"󰳇"}.mdi-shield-alert:before{content:"󰻌"}.mdi-shield-alert-outline:before{content:"󰻍"}.mdi-shield-bug:before{content:"󱏚"}.mdi-shield-bug-outline:before{content:"󱏛"}.mdi-shield-car:before{content:"󰾃"}.mdi-shield-check:before{content:"󰕥"}.mdi-shield-check-outline:before{content:"󰳈"}.mdi-shield-cross:before{content:"󰳉"}.mdi-shield-cross-outline:before{content:"󰳊"}.mdi-shield-crown:before{content:"󱢼"}.mdi-shield-crown-outline:before{content:"󱢽"}.mdi-shield-edit:before{content:"󱆠"}.mdi-shield-edit-outline:before{content:"󱆡"}.mdi-shield-half:before{content:"󱍠"}.mdi-shield-half-full:before{content:"󰞀"}.mdi-shield-home:before{content:"󰚊"}.mdi-shield-home-outline:before{content:"󰳋"}.mdi-shield-key:before{content:"󰯄"}.mdi-shield-key-outline:before{content:"󰯅"}.mdi-shield-link-variant:before{content:"󰴳"}.mdi-shield-link-variant-outline:before{content:"󰴴"}.mdi-shield-lock:before{content:"󰦝"}.mdi-shield-lock-open:before{content:"󱦚"}.mdi-shield-lock-open-outline:before{content:"󱦛"}.mdi-shield-lock-outline:before{content:"󰳌"}.mdi-shield-moon:before{content:"󱠨"}.mdi-shield-moon-outline:before{content:"󱠩"}.mdi-shield-off:before{content:"󰦞"}.mdi-shield-off-outline:before{content:"󰦜"}.mdi-shield-outline:before{content:"󰒙"}.mdi-shield-plus:before{content:"󰫚"}.mdi-shield-plus-outline:before{content:"󰫛"}.mdi-shield-refresh:before{content:"󰂪"}.mdi-shield-refresh-outline:before{content:"󰇠"}.mdi-shield-remove:before{content:"󰫜"}.mdi-shield-remove-outline:before{content:"󰫝"}.mdi-shield-search:before{content:"󰶚"}.mdi-shield-star:before{content:"󱄻"}.mdi-shield-star-outline:before{content:"󱄼"}.mdi-shield-sun:before{content:"󱁝"}.mdi-shield-sun-outline:before{content:"󱁞"}.mdi-shield-sword:before{content:"󱢾"}.mdi-shield-sword-outline:before{content:"󱢿"}.mdi-shield-sync:before{content:"󱆢"}.mdi-shield-sync-outline:before{content:"󱆣"}.mdi-shimmer:before{content:"󱕅"}.mdi-ship-wheel:before{content:"󰠳"}.mdi-shipping-pallet:before{content:"󱡎"}.mdi-shoe-ballet:before{content:"󱗊"}.mdi-shoe-cleat:before{content:"󱗇"}.mdi-shoe-formal:before{content:"󰭇"}.mdi-shoe-heel:before{content:"󰭈"}.mdi-shoe-print:before{content:"󰷺"}.mdi-shoe-sneaker:before{content:"󱗈"}.mdi-shopping:before{content:"󰒚"}.mdi-shopping-music:before{content:"󰒛"}.mdi-shopping-outline:before{content:"󱇕"}.mdi-shopping-search:before{content:"󰾄"}.mdi-shopping-search-outline:before{content:"󱩯"}.mdi-shore:before{content:"󱓹"}.mdi-shovel:before{content:"󰜐"}.mdi-shovel-off:before{content:"󰜑"}.mdi-shower:before{content:"󰦠"}.mdi-shower-head:before{content:"󰦡"}.mdi-shredder:before{content:"󰒜"}.mdi-shuffle:before{content:"󰒝"}.mdi-shuffle-disabled:before{content:"󰒞"}.mdi-shuffle-variant:before{content:"󰒟"}.mdi-shuriken:before{content:"󱍿"}.mdi-sickle:before{content:"󱣀"}.mdi-sigma:before{content:"󰒠"}.mdi-sigma-lower:before{content:"󰘫"}.mdi-sign-caution:before{content:"󰒡"}.mdi-sign-direction:before{content:"󰞁"}.mdi-sign-direction-minus:before{content:"󱀀"}.mdi-sign-direction-plus:before{content:"󰿜"}.mdi-sign-direction-remove:before{content:"󰿝"}.mdi-sign-language:before{content:"󱭍"}.mdi-sign-language-outline:before{content:"󱭎"}.mdi-sign-pole:before{content:"󱓸"}.mdi-sign-real-estate:before{content:"󱄘"}.mdi-sign-text:before{content:"󰞂"}.mdi-sign-yield:before{content:"󱮯"}.mdi-signal:before{content:"󰒢"}.mdi-signal-2g:before{content:"󰜒"}.mdi-signal-3g:before{content:"󰜓"}.mdi-signal-4g:before{content:"󰜔"}.mdi-signal-5g:before{content:"󰩯"}.mdi-signal-cellular-1:before{content:"󰢼"}.mdi-signal-cellular-2:before{content:"󰢽"}.mdi-signal-cellular-3:before{content:"󰢾"}.mdi-signal-cellular-outline:before{content:"󰢿"}.mdi-signal-distance-variant:before{content:"󰹤"}.mdi-signal-hspa:before{content:"󰜕"}.mdi-signal-hspa-plus:before{content:"󰜖"}.mdi-signal-off:before{content:"󰞃"}.mdi-signal-variant:before{content:"󰘊"}.mdi-signature:before{content:"󰷻"}.mdi-signature-freehand:before{content:"󰷼"}.mdi-signature-image:before{content:"󰷽"}.mdi-signature-text:before{content:"󰷾"}.mdi-silo:before{content:"󱮟"}.mdi-silo-outline:before{content:"󰭉"}.mdi-silverware:before{content:"󰒣"}.mdi-silverware-clean:before{content:"󰿞"}.mdi-silverware-fork:before{content:"󰒤"}.mdi-silverware-fork-knife:before{content:"󰩰"}.mdi-silverware-spoon:before{content:"󰒥"}.mdi-silverware-variant:before{content:"󰒦"}.mdi-sim:before{content:"󰒧"}.mdi-sim-alert:before{content:"󰒨"}.mdi-sim-alert-outline:before{content:"󱗓"}.mdi-sim-off:before{content:"󰒩"}.mdi-sim-off-outline:before{content:"󱗔"}.mdi-sim-outline:before{content:"󱗕"}.mdi-simple-icons:before{content:"󱌝"}.mdi-sina-weibo:before{content:"󰫟"}.mdi-sine-wave:before{content:"󰥛"}.mdi-sitemap:before{content:"󰒪"}.mdi-sitemap-outline:before{content:"󱦜"}.mdi-size-l:before{content:"󱎦"}.mdi-size-m:before{content:"󱎥"}.mdi-size-s:before{content:"󱎤"}.mdi-size-xl:before{content:"󱎧"}.mdi-size-xs:before{content:"󱎣"}.mdi-size-xxl:before{content:"󱎨"}.mdi-size-xxs:before{content:"󱎢"}.mdi-size-xxxl:before{content:"󱎩"}.mdi-skate:before{content:"󰴵"}.mdi-skate-off:before{content:"󰚙"}.mdi-skateboard:before{content:"󱓂"}.mdi-skateboarding:before{content:"󰔁"}.mdi-skew-less:before{content:"󰴶"}.mdi-skew-more:before{content:"󰴷"}.mdi-ski:before{content:"󱌄"}.mdi-ski-cross-country:before{content:"󱌅"}.mdi-ski-water:before{content:"󱌆"}.mdi-skip-backward:before{content:"󰒫"}.mdi-skip-backward-outline:before{content:"󰼥"}.mdi-skip-forward:before{content:"󰒬"}.mdi-skip-forward-outline:before{content:"󰼦"}.mdi-skip-next:before{content:"󰒭"}.mdi-skip-next-circle:before{content:"󰙡"}.mdi-skip-next-circle-outline:before{content:"󰙢"}.mdi-skip-next-outline:before{content:"󰼧"}.mdi-skip-previous:before{content:"󰒮"}.mdi-skip-previous-circle:before{content:"󰙣"}.mdi-skip-previous-circle-outline:before{content:"󰙤"}.mdi-skip-previous-outline:before{content:"󰼨"}.mdi-skull:before{content:"󰚌"}.mdi-skull-crossbones:before{content:"󰯆"}.mdi-skull-crossbones-outline:before{content:"󰯇"}.mdi-skull-outline:before{content:"󰯈"}.mdi-skull-scan:before{content:"󱓇"}.mdi-skull-scan-outline:before{content:"󱓈"}.mdi-skype:before{content:"󰒯"}.mdi-skype-business:before{content:"󰒰"}.mdi-slack:before{content:"󰒱"}.mdi-slash-forward:before{content:"󰿟"}.mdi-slash-forward-box:before{content:"󰿠"}.mdi-sledding:before{content:"󰐛"}.mdi-sleep:before{content:"󰒲"}.mdi-sleep-off:before{content:"󰒳"}.mdi-slide:before{content:"󱖥"}.mdi-slope-downhill:before{content:"󰷿"}.mdi-slope-uphill:before{content:"󰸀"}.mdi-slot-machine:before{content:"󱄔"}.mdi-slot-machine-outline:before{content:"󱄕"}.mdi-smart-card:before{content:"󱂽"}.mdi-smart-card-off:before{content:"󱣷"}.mdi-smart-card-off-outline:before{content:"󱣸"}.mdi-smart-card-outline:before{content:"󱂾"}.mdi-smart-card-reader:before{content:"󱂿"}.mdi-smart-card-reader-outline:before{content:"󱃀"}.mdi-smog:before{content:"󰩱"}.mdi-smoke:before{content:"󱞙"}.mdi-smoke-detector:before{content:"󰎒"}.mdi-smoke-detector-alert:before{content:"󱤮"}.mdi-smoke-detector-alert-outline:before{content:"󱤯"}.mdi-smoke-detector-off:before{content:"󱠉"}.mdi-smoke-detector-off-outline:before{content:"󱠊"}.mdi-smoke-detector-outline:before{content:"󱠈"}.mdi-smoke-detector-variant:before{content:"󱠋"}.mdi-smoke-detector-variant-alert:before{content:"󱤰"}.mdi-smoke-detector-variant-off:before{content:"󱠌"}.mdi-smoking:before{content:"󰒴"}.mdi-smoking-off:before{content:"󰒵"}.mdi-smoking-pipe:before{content:"󱐍"}.mdi-smoking-pipe-off:before{content:"󱐨"}.mdi-snail:before{content:"󱙷"}.mdi-snake:before{content:"󱔎"}.mdi-snapchat:before{content:"󰒶"}.mdi-snowboard:before{content:"󱌇"}.mdi-snowflake:before{content:"󰜗"}.mdi-snowflake-alert:before{content:"󰼩"}.mdi-snowflake-check:before{content:"󱩰"}.mdi-snowflake-melt:before{content:"󱋋"}.mdi-snowflake-off:before{content:"󱓣"}.mdi-snowflake-thermometer:before{content:"󱩱"}.mdi-snowflake-variant:before{content:"󰼪"}.mdi-snowman:before{content:"󰒷"}.mdi-snowmobile:before{content:"󰛝"}.mdi-snowshoeing:before{content:"󱩲"}.mdi-soccer:before{content:"󰒸"}.mdi-soccer-field:before{content:"󰠴"}.mdi-social-distance-2-meters:before{content:"󱕹"}.mdi-social-distance-6-feet:before{content:"󱕺"}.mdi-sofa:before{content:"󰒹"}.mdi-sofa-outline:before{content:"󱕭"}.mdi-sofa-single:before{content:"󱕮"}.mdi-sofa-single-outline:before{content:"󱕯"}.mdi-solar-panel:before{content:"󰶛"}.mdi-solar-panel-large:before{content:"󰶜"}.mdi-solar-power:before{content:"󰩲"}.mdi-solar-power-variant:before{content:"󱩳"}.mdi-solar-power-variant-outline:before{content:"󱩴"}.mdi-soldering-iron:before{content:"󱂒"}.mdi-solid:before{content:"󰚍"}.mdi-sony-playstation:before{content:"󰐔"}.mdi-sort:before{content:"󰒺"}.mdi-sort-alphabetical-ascending:before{content:"󰖽"}.mdi-sort-alphabetical-ascending-variant:before{content:"󱅈"}.mdi-sort-alphabetical-descending:before{content:"󰖿"}.mdi-sort-alphabetical-descending-variant:before{content:"󱅉"}.mdi-sort-alphabetical-variant:before{content:"󰒻"}.mdi-sort-ascending:before{content:"󰒼"}.mdi-sort-bool-ascending:before{content:"󱎅"}.mdi-sort-bool-ascending-variant:before{content:"󱎆"}.mdi-sort-bool-descending:before{content:"󱎇"}.mdi-sort-bool-descending-variant:before{content:"󱎈"}.mdi-sort-calendar-ascending:before{content:"󱕇"}.mdi-sort-calendar-descending:before{content:"󱕈"}.mdi-sort-clock-ascending:before{content:"󱕉"}.mdi-sort-clock-ascending-outline:before{content:"󱕊"}.mdi-sort-clock-descending:before{content:"󱕋"}.mdi-sort-clock-descending-outline:before{content:"󱕌"}.mdi-sort-descending:before{content:"󰒽"}.mdi-sort-numeric-ascending:before{content:"󱎉"}.mdi-sort-numeric-ascending-variant:before{content:"󰤍"}.mdi-sort-numeric-descending:before{content:"󱎊"}.mdi-sort-numeric-descending-variant:before{content:"󰫒"}.mdi-sort-numeric-variant:before{content:"󰒾"}.mdi-sort-reverse-variant:before{content:"󰌼"}.mdi-sort-variant:before{content:"󰒿"}.mdi-sort-variant-lock:before{content:"󰳍"}.mdi-sort-variant-lock-open:before{content:"󰳎"}.mdi-sort-variant-off:before{content:"󱪻"}.mdi-sort-variant-remove:before{content:"󱅇"}.mdi-soundbar:before{content:"󱟛"}.mdi-soundcloud:before{content:"󰓀"}.mdi-source-branch:before{content:"󰘬"}.mdi-source-branch-check:before{content:"󱓏"}.mdi-source-branch-minus:before{content:"󱓋"}.mdi-source-branch-plus:before{content:"󱓊"}.mdi-source-branch-refresh:before{content:"󱓍"}.mdi-source-branch-remove:before{content:"󱓌"}.mdi-source-branch-sync:before{content:"󱓎"}.mdi-source-commit:before{content:"󰜘"}.mdi-source-commit-end:before{content:"󰜙"}.mdi-source-commit-end-local:before{content:"󰜚"}.mdi-source-commit-local:before{content:"󰜛"}.mdi-source-commit-next-local:before{content:"󰜜"}.mdi-source-commit-start:before{content:"󰜝"}.mdi-source-commit-start-next-local:before{content:"󰜞"}.mdi-source-fork:before{content:"󰓁"}.mdi-source-merge:before{content:"󰘭"}.mdi-source-pull:before{content:"󰓂"}.mdi-source-repository:before{content:"󰳏"}.mdi-source-repository-multiple:before{content:"󰳐"}.mdi-soy-sauce:before{content:"󰟮"}.mdi-soy-sauce-off:before{content:"󱏼"}.mdi-spa:before{content:"󰳑"}.mdi-spa-outline:before{content:"󰳒"}.mdi-space-invaders:before{content:"󰯉"}.mdi-space-station:before{content:"󱎃"}.mdi-spade:before{content:"󰹥"}.mdi-speaker:before{content:"󰓃"}.mdi-speaker-bluetooth:before{content:"󰦢"}.mdi-speaker-message:before{content:"󱬑"}.mdi-speaker-multiple:before{content:"󰴸"}.mdi-speaker-off:before{content:"󰓄"}.mdi-speaker-pause:before{content:"󱭳"}.mdi-speaker-play:before{content:"󱭲"}.mdi-speaker-stop:before{content:"󱭴"}.mdi-speaker-wireless:before{content:"󰜟"}.mdi-spear:before{content:"󱡅"}.mdi-speedometer:before{content:"󰓅"}.mdi-speedometer-medium:before{content:"󰾅"}.mdi-speedometer-slow:before{content:"󰾆"}.mdi-spellcheck:before{content:"󰓆"}.mdi-sphere:before{content:"󱥔"}.mdi-sphere-off:before{content:"󱥕"}.mdi-spider:before{content:"󱇪"}.mdi-spider-outline:before{content:"󱱵"}.mdi-spider-thread:before{content:"󱇫"}.mdi-spider-web:before{content:"󰯊"}.mdi-spirit-level:before{content:"󱓱"}.mdi-spoon-sugar:before{content:"󱐩"}.mdi-spotify:before{content:"󰓇"}.mdi-spotlight:before{content:"󰓈"}.mdi-spotlight-beam:before{content:"󰓉"}.mdi-spray:before{content:"󰙥"}.mdi-spray-bottle:before{content:"󰫠"}.mdi-sprinkler:before{content:"󱁟"}.mdi-sprinkler-fire:before{content:"󱦝"}.mdi-sprinkler-variant:before{content:"󱁠"}.mdi-sprout:before{content:"󰹦"}.mdi-sprout-outline:before{content:"󰹧"}.mdi-square:before{content:"󰝤"}.mdi-square-circle:before{content:"󱔀"}.mdi-square-circle-outline:before{content:"󱱐"}.mdi-square-edit-outline:before{content:"󰤌"}.mdi-square-medium:before{content:"󰨓"}.mdi-square-medium-outline:before{content:"󰨔"}.mdi-square-off:before{content:"󱋮"}.mdi-square-off-outline:before{content:"󱋯"}.mdi-square-opacity:before{content:"󱡔"}.mdi-square-outline:before{content:"󰝣"}.mdi-square-root:before{content:"󰞄"}.mdi-square-root-box:before{content:"󰦣"}.mdi-square-rounded:before{content:"󱓻"}.mdi-square-rounded-badge:before{content:"󱨇"}.mdi-square-rounded-badge-outline:before{content:"󱨈"}.mdi-square-rounded-outline:before{content:"󱓼"}.mdi-square-small:before{content:"󰨕"}.mdi-square-wave:before{content:"󱑻"}.mdi-squeegee:before{content:"󰫡"}.mdi-ssh:before{content:"󰣀"}.mdi-stack-exchange:before{content:"󰘋"}.mdi-stack-overflow:before{content:"󰓌"}.mdi-stackpath:before{content:"󰍙"}.mdi-stadium:before{content:"󰿹"}.mdi-stadium-outline:before{content:"󱬃"}.mdi-stadium-variant:before{content:"󰜠"}.mdi-stairs:before{content:"󰓍"}.mdi-stairs-box:before{content:"󱎞"}.mdi-stairs-down:before{content:"󱊾"}.mdi-stairs-up:before{content:"󱊽"}.mdi-stamper:before{content:"󰴹"}.mdi-standard-definition:before{content:"󰟯"}.mdi-star:before{content:"󰓎"}.mdi-star-box:before{content:"󰩳"}.mdi-star-box-multiple:before{content:"󱊆"}.mdi-star-box-multiple-outline:before{content:"󱊇"}.mdi-star-box-outline:before{content:"󰩴"}.mdi-star-check:before{content:"󱕦"}.mdi-star-check-outline:before{content:"󱕪"}.mdi-star-circle:before{content:"󰓏"}.mdi-star-circle-outline:before{content:"󰦤"}.mdi-star-cog:before{content:"󱙨"}.mdi-star-cog-outline:before{content:"󱙩"}.mdi-star-crescent:before{content:"󰥹"}.mdi-star-david:before{content:"󰥺"}.mdi-star-face:before{content:"󰦥"}.mdi-star-four-points:before{content:"󰫢"}.mdi-star-four-points-box:before{content:"󱱑"}.mdi-star-four-points-box-outline:before{content:"󱱒"}.mdi-star-four-points-circle:before{content:"󱱓"}.mdi-star-four-points-circle-outline:before{content:"󱱔"}.mdi-star-four-points-outline:before{content:"󰫣"}.mdi-star-four-points-small:before{content:"󱱕"}.mdi-star-half:before{content:"󰉆"}.mdi-star-half-full:before{content:"󰓐"}.mdi-star-minus:before{content:"󱕤"}.mdi-star-minus-outline:before{content:"󱕨"}.mdi-star-off:before{content:"󰓑"}.mdi-star-off-outline:before{content:"󱕛"}.mdi-star-outline:before{content:"󰓒"}.mdi-star-plus:before{content:"󱕣"}.mdi-star-plus-outline:before{content:"󱕧"}.mdi-star-remove:before{content:"󱕥"}.mdi-star-remove-outline:before{content:"󱕩"}.mdi-star-settings:before{content:"󱙪"}.mdi-star-settings-outline:before{content:"󱙫"}.mdi-star-shooting:before{content:"󱝁"}.mdi-star-shooting-outline:before{content:"󱝂"}.mdi-star-three-points:before{content:"󰫤"}.mdi-star-three-points-outline:before{content:"󰫥"}.mdi-state-machine:before{content:"󱇯"}.mdi-steam:before{content:"󰓓"}.mdi-steering:before{content:"󰓔"}.mdi-steering-off:before{content:"󰤎"}.mdi-step-backward:before{content:"󰓕"}.mdi-step-backward-2:before{content:"󰓖"}.mdi-step-forward:before{content:"󰓗"}.mdi-step-forward-2:before{content:"󰓘"}.mdi-stethoscope:before{content:"󰓙"}.mdi-sticker:before{content:"󱍤"}.mdi-sticker-alert:before{content:"󱍥"}.mdi-sticker-alert-outline:before{content:"󱍦"}.mdi-sticker-check:before{content:"󱍧"}.mdi-sticker-check-outline:before{content:"󱍨"}.mdi-sticker-circle-outline:before{content:"󰗐"}.mdi-sticker-emoji:before{content:"󰞅"}.mdi-sticker-minus:before{content:"󱍩"}.mdi-sticker-minus-outline:before{content:"󱍪"}.mdi-sticker-outline:before{content:"󱍫"}.mdi-sticker-plus:before{content:"󱍬"}.mdi-sticker-plus-outline:before{content:"󱍭"}.mdi-sticker-remove:before{content:"󱍮"}.mdi-sticker-remove-outline:before{content:"󱍯"}.mdi-sticker-text:before{content:"󱞎"}.mdi-sticker-text-outline:before{content:"󱞏"}.mdi-stocking:before{content:"󰓚"}.mdi-stomach:before{content:"󱂓"}.mdi-stool:before{content:"󱥝"}.mdi-stool-outline:before{content:"󱥞"}.mdi-stop:before{content:"󰓛"}.mdi-stop-circle:before{content:"󰙦"}.mdi-stop-circle-outline:before{content:"󰙧"}.mdi-storage-tank:before{content:"󱩵"}.mdi-storage-tank-outline:before{content:"󱩶"}.mdi-store:before{content:"󰓜"}.mdi-store-24-hour:before{content:"󰓝"}.mdi-store-alert:before{content:"󱣁"}.mdi-store-alert-outline:before{content:"󱣂"}.mdi-store-check:before{content:"󱣃"}.mdi-store-check-outline:before{content:"󱣄"}.mdi-store-clock:before{content:"󱣅"}.mdi-store-clock-outline:before{content:"󱣆"}.mdi-store-cog:before{content:"󱣇"}.mdi-store-cog-outline:before{content:"󱣈"}.mdi-store-edit:before{content:"󱣉"}.mdi-store-edit-outline:before{content:"󱣊"}.mdi-store-marker:before{content:"󱣋"}.mdi-store-marker-outline:before{content:"󱣌"}.mdi-store-minus:before{content:"󱙞"}.mdi-store-minus-outline:before{content:"󱣍"}.mdi-store-off:before{content:"󱣎"}.mdi-store-off-outline:before{content:"󱣏"}.mdi-store-outline:before{content:"󱍡"}.mdi-store-plus:before{content:"󱙟"}.mdi-store-plus-outline:before{content:"󱣐"}.mdi-store-remove:before{content:"󱙠"}.mdi-store-remove-outline:before{content:"󱣑"}.mdi-store-search:before{content:"󱣒"}.mdi-store-search-outline:before{content:"󱣓"}.mdi-store-settings:before{content:"󱣔"}.mdi-store-settings-outline:before{content:"󱣕"}.mdi-storefront:before{content:"󰟇"}.mdi-storefront-check:before{content:"󱭽"}.mdi-storefront-check-outline:before{content:"󱭾"}.mdi-storefront-edit:before{content:"󱭿"}.mdi-storefront-edit-outline:before{content:"󱮀"}.mdi-storefront-minus:before{content:"󱮃"}.mdi-storefront-minus-outline:before{content:"󱮄"}.mdi-storefront-outline:before{content:"󱃁"}.mdi-storefront-plus:before{content:"󱮁"}.mdi-storefront-plus-outline:before{content:"󱮂"}.mdi-storefront-remove:before{content:"󱮅"}.mdi-storefront-remove-outline:before{content:"󱮆"}.mdi-stove:before{content:"󰓞"}.mdi-strategy:before{content:"󱇖"}.mdi-stretch-to-page:before{content:"󰼫"}.mdi-stretch-to-page-outline:before{content:"󰼬"}.mdi-string-lights:before{content:"󱊺"}.mdi-string-lights-off:before{content:"󱊻"}.mdi-subdirectory-arrow-left:before{content:"󰘌"}.mdi-subdirectory-arrow-right:before{content:"󰘍"}.mdi-submarine:before{content:"󱕬"}.mdi-subtitles:before{content:"󰨖"}.mdi-subtitles-outline:before{content:"󰨗"}.mdi-subway:before{content:"󰚬"}.mdi-subway-alert-variant:before{content:"󰶝"}.mdi-subway-variant:before{content:"󰓟"}.mdi-summit:before{content:"󰞆"}.mdi-sun-angle:before{content:"󱬧"}.mdi-sun-angle-outline:before{content:"󱬨"}.mdi-sun-clock:before{content:"󱩷"}.mdi-sun-clock-outline:before{content:"󱩸"}.mdi-sun-compass:before{content:"󱦥"}.mdi-sun-snowflake:before{content:"󱞖"}.mdi-sun-snowflake-variant:before{content:"󱩹"}.mdi-sun-thermometer:before{content:"󱣖"}.mdi-sun-thermometer-outline:before{content:"󱣗"}.mdi-sun-wireless:before{content:"󱟾"}.mdi-sun-wireless-outline:before{content:"󱟿"}.mdi-sunglasses:before{content:"󰓠"}.mdi-surfing:before{content:"󱝆"}.mdi-surround-sound:before{content:"󰗅"}.mdi-surround-sound-2-0:before{content:"󰟰"}.mdi-surround-sound-2-1:before{content:"󱜩"}.mdi-surround-sound-3-1:before{content:"󰟱"}.mdi-surround-sound-5-1:before{content:"󰟲"}.mdi-surround-sound-5-1-2:before{content:"󱜪"}.mdi-surround-sound-7-1:before{content:"󰟳"}.mdi-svg:before{content:"󰜡"}.mdi-swap-horizontal:before{content:"󰓡"}.mdi-swap-horizontal-bold:before{content:"󰯍"}.mdi-swap-horizontal-circle:before{content:"󰿡"}.mdi-swap-horizontal-circle-outline:before{content:"󰿢"}.mdi-swap-horizontal-variant:before{content:"󰣁"}.mdi-swap-vertical:before{content:"󰓢"}.mdi-swap-vertical-bold:before{content:"󰯎"}.mdi-swap-vertical-circle:before{content:"󰿣"}.mdi-swap-vertical-circle-outline:before{content:"󰿤"}.mdi-swap-vertical-variant:before{content:"󰣂"}.mdi-swim:before{content:"󰓣"}.mdi-switch:before{content:"󰓤"}.mdi-sword:before{content:"󰓥"}.mdi-sword-cross:before{content:"󰞇"}.mdi-syllabary-hangul:before{content:"󱌳"}.mdi-syllabary-hiragana:before{content:"󱌴"}.mdi-syllabary-katakana:before{content:"󱌵"}.mdi-syllabary-katakana-halfwidth:before{content:"󱌶"}.mdi-symbol:before{content:"󱔁"}.mdi-symfony:before{content:"󰫦"}.mdi-synagogue:before{content:"󱬄"}.mdi-synagogue-outline:before{content:"󱬅"}.mdi-sync:before{content:"󰓦"}.mdi-sync-alert:before{content:"󰓧"}.mdi-sync-circle:before{content:"󱍸"}.mdi-sync-off:before{content:"󰓨"}.mdi-tab:before{content:"󰓩"}.mdi-tab-minus:before{content:"󰭋"}.mdi-tab-plus:before{content:"󰝜"}.mdi-tab-remove:before{content:"󰭌"}.mdi-tab-search:before{content:"󱦞"}.mdi-tab-unselected:before{content:"󰓪"}.mdi-table:before{content:"󰓫"}.mdi-table-account:before{content:"󱎹"}.mdi-table-alert:before{content:"󱎺"}.mdi-table-arrow-down:before{content:"󱎻"}.mdi-table-arrow-left:before{content:"󱎼"}.mdi-table-arrow-right:before{content:"󱎽"}.mdi-table-arrow-up:before{content:"󱎾"}.mdi-table-border:before{content:"󰨘"}.mdi-table-cancel:before{content:"󱎿"}.mdi-table-chair:before{content:"󱁡"}.mdi-table-check:before{content:"󱏀"}.mdi-table-clock:before{content:"󱏁"}.mdi-table-cog:before{content:"󱏂"}.mdi-table-column:before{content:"󰠵"}.mdi-table-column-plus-after:before{content:"󰓬"}.mdi-table-column-plus-before:before{content:"󰓭"}.mdi-table-column-remove:before{content:"󰓮"}.mdi-table-column-width:before{content:"󰓯"}.mdi-table-edit:before{content:"󰓰"}.mdi-table-eye:before{content:"󱂔"}.mdi-table-eye-off:before{content:"󱏃"}.mdi-table-filter:before{content:"󱮌"}.mdi-table-furniture:before{content:"󰖼"}.mdi-table-headers-eye:before{content:"󱈝"}.mdi-table-headers-eye-off:before{content:"󱈞"}.mdi-table-heart:before{content:"󱏄"}.mdi-table-key:before{content:"󱏅"}.mdi-table-large:before{content:"󰓱"}.mdi-table-large-plus:before{content:"󰾇"}.mdi-table-large-remove:before{content:"󰾈"}.mdi-table-lock:before{content:"󱏆"}.mdi-table-merge-cells:before{content:"󰦦"}.mdi-table-minus:before{content:"󱏇"}.mdi-table-multiple:before{content:"󱏈"}.mdi-table-network:before{content:"󱏉"}.mdi-table-of-contents:before{content:"󰠶"}.mdi-table-off:before{content:"󱏊"}.mdi-table-picnic:before{content:"󱝃"}.mdi-table-pivot:before{content:"󱠼"}.mdi-table-plus:before{content:"󰩵"}.mdi-table-question:before{content:"󱬡"}.mdi-table-refresh:before{content:"󱎠"}.mdi-table-remove:before{content:"󰩶"}.mdi-table-row:before{content:"󰠷"}.mdi-table-row-height:before{content:"󰓲"}.mdi-table-row-plus-after:before{content:"󰓳"}.mdi-table-row-plus-before:before{content:"󰓴"}.mdi-table-row-remove:before{content:"󰓵"}.mdi-table-search:before{content:"󰤏"}.mdi-table-settings:before{content:"󰠸"}.mdi-table-split-cell:before{content:"󱐪"}.mdi-table-star:before{content:"󱏋"}.mdi-table-sync:before{content:"󱎡"}.mdi-table-tennis:before{content:"󰹨"}.mdi-tablet:before{content:"󰓶"}.mdi-tablet-cellphone:before{content:"󰦧"}.mdi-tablet-dashboard:before{content:"󰻎"}.mdi-taco:before{content:"󰝢"}.mdi-tag:before{content:"󰓹"}.mdi-tag-arrow-down:before{content:"󱜫"}.mdi-tag-arrow-down-outline:before{content:"󱜬"}.mdi-tag-arrow-left:before{content:"󱜭"}.mdi-tag-arrow-left-outline:before{content:"󱜮"}.mdi-tag-arrow-right:before{content:"󱜯"}.mdi-tag-arrow-right-outline:before{content:"󱜰"}.mdi-tag-arrow-up:before{content:"󱜱"}.mdi-tag-arrow-up-outline:before{content:"󱜲"}.mdi-tag-check:before{content:"󱩺"}.mdi-tag-check-outline:before{content:"󱩻"}.mdi-tag-faces:before{content:"󰓺"}.mdi-tag-heart:before{content:"󰚋"}.mdi-tag-heart-outline:before{content:"󰯏"}.mdi-tag-hidden:before{content:"󱱶"}.mdi-tag-minus:before{content:"󰤐"}.mdi-tag-minus-outline:before{content:"󱈟"}.mdi-tag-multiple:before{content:"󰓻"}.mdi-tag-multiple-outline:before{content:"󱋷"}.mdi-tag-off:before{content:"󱈠"}.mdi-tag-off-outline:before{content:"󱈡"}.mdi-tag-outline:before{content:"󰓼"}.mdi-tag-plus:before{content:"󰜢"}.mdi-tag-plus-outline:before{content:"󱈢"}.mdi-tag-remove:before{content:"󰜣"}.mdi-tag-remove-outline:before{content:"󱈣"}.mdi-tag-search:before{content:"󱤇"}.mdi-tag-search-outline:before{content:"󱤈"}.mdi-tag-text:before{content:"󱈤"}.mdi-tag-text-outline:before{content:"󰓽"}.mdi-tailwind:before{content:"󱏿"}.mdi-tally-mark-1:before{content:"󱪼"}.mdi-tally-mark-2:before{content:"󱪽"}.mdi-tally-mark-3:before{content:"󱪾"}.mdi-tally-mark-4:before{content:"󱪿"}.mdi-tally-mark-5:before{content:"󱫀"}.mdi-tangram:before{content:"󰓸"}.mdi-tank:before{content:"󰴺"}.mdi-tanker-truck:before{content:"󰿥"}.mdi-tape-drive:before{content:"󱛟"}.mdi-tape-measure:before{content:"󰭍"}.mdi-target:before{content:"󰓾"}.mdi-target-account:before{content:"󰯐"}.mdi-target-variant:before{content:"󰩷"}.mdi-taxi:before{content:"󰓿"}.mdi-tea:before{content:"󰶞"}.mdi-tea-outline:before{content:"󰶟"}.mdi-teamviewer:before{content:"󰔀"}.mdi-teddy-bear:before{content:"󱣻"}.mdi-telescope:before{content:"󰭎"}.mdi-television:before{content:"󰔂"}.mdi-television-ambient-light:before{content:"󱍖"}.mdi-television-box:before{content:"󰠹"}.mdi-television-classic:before{content:"󰟴"}.mdi-television-classic-off:before{content:"󰠺"}.mdi-television-guide:before{content:"󰔃"}.mdi-television-off:before{content:"󰠻"}.mdi-television-pause:before{content:"󰾉"}.mdi-television-play:before{content:"󰻏"}.mdi-television-shimmer:before{content:"󱄐"}.mdi-television-speaker:before{content:"󱬛"}.mdi-television-speaker-off:before{content:"󱬜"}.mdi-television-stop:before{content:"󰾊"}.mdi-temperature-celsius:before{content:"󰔄"}.mdi-temperature-fahrenheit:before{content:"󰔅"}.mdi-temperature-kelvin:before{content:"󰔆"}.mdi-temple-buddhist:before{content:"󱬆"}.mdi-temple-buddhist-outline:before{content:"󱬇"}.mdi-temple-hindu:before{content:"󱬈"}.mdi-temple-hindu-outline:before{content:"󱬉"}.mdi-tennis:before{content:"󰶠"}.mdi-tennis-ball:before{content:"󰔇"}.mdi-tennis-ball-outline:before{content:"󱱟"}.mdi-tent:before{content:"󰔈"}.mdi-terraform:before{content:"󱁢"}.mdi-terrain:before{content:"󰔉"}.mdi-test-tube:before{content:"󰙨"}.mdi-test-tube-empty:before{content:"󰤑"}.mdi-test-tube-off:before{content:"󰤒"}.mdi-text:before{content:"󰦨"}.mdi-text-account:before{content:"󱕰"}.mdi-text-box:before{content:"󰈚"}.mdi-text-box-check:before{content:"󰺦"}.mdi-text-box-check-outline:before{content:"󰺧"}.mdi-text-box-edit:before{content:"󱩼"}.mdi-text-box-edit-outline:before{content:"󱩽"}.mdi-text-box-minus:before{content:"󰺨"}.mdi-text-box-minus-outline:before{content:"󰺩"}.mdi-text-box-multiple:before{content:"󰪷"}.mdi-text-box-multiple-outline:before{content:"󰪸"}.mdi-text-box-outline:before{content:"󰧭"}.mdi-text-box-plus:before{content:"󰺪"}.mdi-text-box-plus-outline:before{content:"󰺫"}.mdi-text-box-remove:before{content:"󰺬"}.mdi-text-box-remove-outline:before{content:"󰺭"}.mdi-text-box-search:before{content:"󰺮"}.mdi-text-box-search-outline:before{content:"󰺯"}.mdi-text-long:before{content:"󰦪"}.mdi-text-recognition:before{content:"󱄽"}.mdi-text-search:before{content:"󱎸"}.mdi-text-search-variant:before{content:"󱩾"}.mdi-text-shadow:before{content:"󰙩"}.mdi-text-short:before{content:"󰦩"}.mdi-texture:before{content:"󰔌"}.mdi-texture-box:before{content:"󰿦"}.mdi-theater:before{content:"󰔍"}.mdi-theme-light-dark:before{content:"󰔎"}.mdi-thermometer:before{content:"󰔏"}.mdi-thermometer-alert:before{content:"󰸁"}.mdi-thermometer-auto:before{content:"󱬏"}.mdi-thermometer-bluetooth:before{content:"󱢕"}.mdi-thermometer-check:before{content:"󱩿"}.mdi-thermometer-chevron-down:before{content:"󰸂"}.mdi-thermometer-chevron-up:before{content:"󰸃"}.mdi-thermometer-high:before{content:"󱃂"}.mdi-thermometer-lines:before{content:"󰔐"}.mdi-thermometer-low:before{content:"󱃃"}.mdi-thermometer-minus:before{content:"󰸄"}.mdi-thermometer-off:before{content:"󱔱"}.mdi-thermometer-plus:before{content:"󰸅"}.mdi-thermometer-probe:before{content:"󱬫"}.mdi-thermometer-probe-off:before{content:"󱬬"}.mdi-thermometer-water:before{content:"󱪀"}.mdi-thermostat:before{content:"󰎓"}.mdi-thermostat-auto:before{content:"󱬗"}.mdi-thermostat-box:before{content:"󰢑"}.mdi-thermostat-box-auto:before{content:"󱬘"}.mdi-thermostat-cog:before{content:"󱲀"}.mdi-thought-bubble:before{content:"󰟶"}.mdi-thought-bubble-outline:before{content:"󰟷"}.mdi-thumb-down:before{content:"󰔑"}.mdi-thumb-down-outline:before{content:"󰔒"}.mdi-thumb-up:before{content:"󰔓"}.mdi-thumb-up-outline:before{content:"󰔔"}.mdi-thumbs-up-down:before{content:"󰔕"}.mdi-thumbs-up-down-outline:before{content:"󱤔"}.mdi-ticket:before{content:"󰔖"}.mdi-ticket-account:before{content:"󰔗"}.mdi-ticket-confirmation:before{content:"󰔘"}.mdi-ticket-confirmation-outline:before{content:"󱎪"}.mdi-ticket-outline:before{content:"󰤓"}.mdi-ticket-percent:before{content:"󰜤"}.mdi-ticket-percent-outline:before{content:"󱐫"}.mdi-tie:before{content:"󰔙"}.mdi-tilde:before{content:"󰜥"}.mdi-tilde-off:before{content:"󱣳"}.mdi-timelapse:before{content:"󰔚"}.mdi-timeline:before{content:"󰯑"}.mdi-timeline-alert:before{content:"󰾕"}.mdi-timeline-alert-outline:before{content:"󰾘"}.mdi-timeline-check:before{content:"󱔲"}.mdi-timeline-check-outline:before{content:"󱔳"}.mdi-timeline-clock:before{content:"󱇻"}.mdi-timeline-clock-outline:before{content:"󱇼"}.mdi-timeline-minus:before{content:"󱔴"}.mdi-timeline-minus-outline:before{content:"󱔵"}.mdi-timeline-outline:before{content:"󰯒"}.mdi-timeline-plus:before{content:"󰾖"}.mdi-timeline-plus-outline:before{content:"󰾗"}.mdi-timeline-question:before{content:"󰾙"}.mdi-timeline-question-outline:before{content:"󰾚"}.mdi-timeline-remove:before{content:"󱔶"}.mdi-timeline-remove-outline:before{content:"󱔷"}.mdi-timeline-text:before{content:"󰯓"}.mdi-timeline-text-outline:before{content:"󰯔"}.mdi-timer:before{content:"󱎫"}.mdi-timer-10:before{content:"󰔜"}.mdi-timer-3:before{content:"󰔝"}.mdi-timer-alert:before{content:"󱫌"}.mdi-timer-alert-outline:before{content:"󱫍"}.mdi-timer-cancel:before{content:"󱫎"}.mdi-timer-cancel-outline:before{content:"󱫏"}.mdi-timer-check:before{content:"󱫐"}.mdi-timer-check-outline:before{content:"󱫑"}.mdi-timer-cog:before{content:"󱤥"}.mdi-timer-cog-outline:before{content:"󱤦"}.mdi-timer-edit:before{content:"󱫒"}.mdi-timer-edit-outline:before{content:"󱫓"}.mdi-timer-lock:before{content:"󱫔"}.mdi-timer-lock-open:before{content:"󱫕"}.mdi-timer-lock-open-outline:before{content:"󱫖"}.mdi-timer-lock-outline:before{content:"󱫗"}.mdi-timer-marker:before{content:"󱫘"}.mdi-timer-marker-outline:before{content:"󱫙"}.mdi-timer-minus:before{content:"󱫚"}.mdi-timer-minus-outline:before{content:"󱫛"}.mdi-timer-music:before{content:"󱫜"}.mdi-timer-music-outline:before{content:"󱫝"}.mdi-timer-off:before{content:"󱎬"}.mdi-timer-off-outline:before{content:"󰔞"}.mdi-timer-outline:before{content:"󰔛"}.mdi-timer-pause:before{content:"󱫞"}.mdi-timer-pause-outline:before{content:"󱫟"}.mdi-timer-play:before{content:"󱫠"}.mdi-timer-play-outline:before{content:"󱫡"}.mdi-timer-plus:before{content:"󱫢"}.mdi-timer-plus-outline:before{content:"󱫣"}.mdi-timer-refresh:before{content:"󱫤"}.mdi-timer-refresh-outline:before{content:"󱫥"}.mdi-timer-remove:before{content:"󱫦"}.mdi-timer-remove-outline:before{content:"󱫧"}.mdi-timer-sand:before{content:"󰔟"}.mdi-timer-sand-complete:before{content:"󱦟"}.mdi-timer-sand-empty:before{content:"󰚭"}.mdi-timer-sand-full:before{content:"󰞌"}.mdi-timer-sand-paused:before{content:"󱦠"}.mdi-timer-settings:before{content:"󱤣"}.mdi-timer-settings-outline:before{content:"󱤤"}.mdi-timer-star:before{content:"󱫨"}.mdi-timer-star-outline:before{content:"󱫩"}.mdi-timer-stop:before{content:"󱫪"}.mdi-timer-stop-outline:before{content:"󱫫"}.mdi-timer-sync:before{content:"󱫬"}.mdi-timer-sync-outline:before{content:"󱫭"}.mdi-timetable:before{content:"󰔠"}.mdi-tire:before{content:"󱢖"}.mdi-toaster:before{content:"󱁣"}.mdi-toaster-off:before{content:"󱆷"}.mdi-toaster-oven:before{content:"󰳓"}.mdi-toggle-switch:before{content:"󰔡"}.mdi-toggle-switch-off:before{content:"󰔢"}.mdi-toggle-switch-off-outline:before{content:"󰨙"}.mdi-toggle-switch-outline:before{content:"󰨚"}.mdi-toggle-switch-variant:before{content:"󱨥"}.mdi-toggle-switch-variant-off:before{content:"󱨦"}.mdi-toilet:before{content:"󰦫"}.mdi-toolbox:before{content:"󰦬"}.mdi-toolbox-outline:before{content:"󰦭"}.mdi-tools:before{content:"󱁤"}.mdi-tooltip:before{content:"󰔣"}.mdi-tooltip-account:before{content:"󰀌"}.mdi-tooltip-cellphone:before{content:"󱠻"}.mdi-tooltip-check:before{content:"󱕜"}.mdi-tooltip-check-outline:before{content:"󱕝"}.mdi-tooltip-edit:before{content:"󰔤"}.mdi-tooltip-edit-outline:before{content:"󱋅"}.mdi-tooltip-image:before{content:"󰔥"}.mdi-tooltip-image-outline:before{content:"󰯕"}.mdi-tooltip-minus:before{content:"󱕞"}.mdi-tooltip-minus-outline:before{content:"󱕟"}.mdi-tooltip-outline:before{content:"󰔦"}.mdi-tooltip-plus:before{content:"󰯖"}.mdi-tooltip-plus-outline:before{content:"󰔧"}.mdi-tooltip-question:before{content:"󱮺"}.mdi-tooltip-question-outline:before{content:"󱮻"}.mdi-tooltip-remove:before{content:"󱕠"}.mdi-tooltip-remove-outline:before{content:"󱕡"}.mdi-tooltip-text:before{content:"󰔨"}.mdi-tooltip-text-outline:before{content:"󰯗"}.mdi-tooth:before{content:"󰣃"}.mdi-tooth-outline:before{content:"󰔩"}.mdi-toothbrush:before{content:"󱄩"}.mdi-toothbrush-electric:before{content:"󱄬"}.mdi-toothbrush-paste:before{content:"󱄪"}.mdi-torch:before{content:"󱘆"}.mdi-tortoise:before{content:"󰴻"}.mdi-toslink:before{content:"󱊸"}.mdi-touch-text-outline:before{content:"󱱠"}.mdi-tournament:before{content:"󰦮"}.mdi-tow-truck:before{content:"󰠼"}.mdi-tower-beach:before{content:"󰚁"}.mdi-tower-fire:before{content:"󰚂"}.mdi-town-hall:before{content:"󱡵"}.mdi-toy-brick:before{content:"󱊈"}.mdi-toy-brick-marker:before{content:"󱊉"}.mdi-toy-brick-marker-outline:before{content:"󱊊"}.mdi-toy-brick-minus:before{content:"󱊋"}.mdi-toy-brick-minus-outline:before{content:"󱊌"}.mdi-toy-brick-outline:before{content:"󱊍"}.mdi-toy-brick-plus:before{content:"󱊎"}.mdi-toy-brick-plus-outline:before{content:"󱊏"}.mdi-toy-brick-remove:before{content:"󱊐"}.mdi-toy-brick-remove-outline:before{content:"󱊑"}.mdi-toy-brick-search:before{content:"󱊒"}.mdi-toy-brick-search-outline:before{content:"󱊓"}.mdi-track-light:before{content:"󰤔"}.mdi-track-light-off:before{content:"󱬁"}.mdi-trackpad:before{content:"󰟸"}.mdi-trackpad-lock:before{content:"󰤳"}.mdi-tractor:before{content:"󰢒"}.mdi-tractor-variant:before{content:"󱓄"}.mdi-trademark:before{content:"󰩸"}.mdi-traffic-cone:before{content:"󱍼"}.mdi-traffic-light:before{content:"󰔫"}.mdi-traffic-light-outline:before{content:"󱠪"}.mdi-train:before{content:"󰔬"}.mdi-train-car:before{content:"󰯘"}.mdi-train-car-autorack:before{content:"󱬭"}.mdi-train-car-box:before{content:"󱬮"}.mdi-train-car-box-full:before{content:"󱬯"}.mdi-train-car-box-open:before{content:"󱬰"}.mdi-train-car-caboose:before{content:"󱬱"}.mdi-train-car-centerbeam:before{content:"󱬲"}.mdi-train-car-centerbeam-full:before{content:"󱬳"}.mdi-train-car-container:before{content:"󱬴"}.mdi-train-car-flatbed:before{content:"󱬵"}.mdi-train-car-flatbed-car:before{content:"󱬶"}.mdi-train-car-flatbed-tank:before{content:"󱬷"}.mdi-train-car-gondola:before{content:"󱬸"}.mdi-train-car-gondola-full:before{content:"󱬹"}.mdi-train-car-hopper:before{content:"󱬺"}.mdi-train-car-hopper-covered:before{content:"󱬻"}.mdi-train-car-hopper-full:before{content:"󱬼"}.mdi-train-car-intermodal:before{content:"󱬽"}.mdi-train-car-passenger:before{content:"󱜳"}.mdi-train-car-passenger-door:before{content:"󱜴"}.mdi-train-car-passenger-door-open:before{content:"󱜵"}.mdi-train-car-passenger-variant:before{content:"󱜶"}.mdi-train-car-tank:before{content:"󱬾"}.mdi-train-variant:before{content:"󰣄"}.mdi-tram:before{content:"󰔭"}.mdi-tram-side:before{content:"󰿧"}.mdi-transcribe:before{content:"󰔮"}.mdi-transcribe-close:before{content:"󰔯"}.mdi-transfer:before{content:"󱁥"}.mdi-transfer-down:before{content:"󰶡"}.mdi-transfer-left:before{content:"󰶢"}.mdi-transfer-right:before{content:"󰔰"}.mdi-transfer-up:before{content:"󰶣"}.mdi-transit-connection:before{content:"󰴼"}.mdi-transit-connection-horizontal:before{content:"󱕆"}.mdi-transit-connection-variant:before{content:"󰴽"}.mdi-transit-detour:before{content:"󰾋"}.mdi-transit-skip:before{content:"󱔕"}.mdi-transit-transfer:before{content:"󰚮"}.mdi-transition:before{content:"󰤕"}.mdi-transition-masked:before{content:"󰤖"}.mdi-translate:before{content:"󰗊"}.mdi-translate-off:before{content:"󰸆"}.mdi-translate-variant:before{content:"󱮙"}.mdi-transmission-tower:before{content:"󰴾"}.mdi-transmission-tower-export:before{content:"󱤬"}.mdi-transmission-tower-import:before{content:"󱤭"}.mdi-transmission-tower-off:before{content:"󱧝"}.mdi-trash-can:before{content:"󰩹"}.mdi-trash-can-outline:before{content:"󰩺"}.mdi-tray:before{content:"󱊔"}.mdi-tray-alert:before{content:"󱊕"}.mdi-tray-arrow-down:before{content:"󰄠"}.mdi-tray-arrow-up:before{content:"󰄝"}.mdi-tray-full:before{content:"󱊖"}.mdi-tray-minus:before{content:"󱊗"}.mdi-tray-plus:before{content:"󱊘"}.mdi-tray-remove:before{content:"󱊙"}.mdi-treasure-chest:before{content:"󰜦"}.mdi-treasure-chest-outline:before{content:"󱱷"}.mdi-tree:before{content:"󰔱"}.mdi-tree-outline:before{content:"󰹩"}.mdi-trello:before{content:"󰔲"}.mdi-trending-down:before{content:"󰔳"}.mdi-trending-neutral:before{content:"󰔴"}.mdi-trending-up:before{content:"󰔵"}.mdi-triangle:before{content:"󰔶"}.mdi-triangle-down:before{content:"󱱖"}.mdi-triangle-down-outline:before{content:"󱱗"}.mdi-triangle-outline:before{content:"󰔷"}.mdi-triangle-small-down:before{content:"󱨉"}.mdi-triangle-small-up:before{content:"󱨊"}.mdi-triangle-wave:before{content:"󱑼"}.mdi-triforce:before{content:"󰯙"}.mdi-trophy:before{content:"󰔸"}.mdi-trophy-award:before{content:"󰔹"}.mdi-trophy-broken:before{content:"󰶤"}.mdi-trophy-outline:before{content:"󰔺"}.mdi-trophy-variant:before{content:"󰔻"}.mdi-trophy-variant-outline:before{content:"󰔼"}.mdi-truck:before{content:"󰔽"}.mdi-truck-alert:before{content:"󱧞"}.mdi-truck-alert-outline:before{content:"󱧟"}.mdi-truck-cargo-container:before{content:"󱣘"}.mdi-truck-check:before{content:"󰳔"}.mdi-truck-check-outline:before{content:"󱊚"}.mdi-truck-delivery:before{content:"󰔾"}.mdi-truck-delivery-outline:before{content:"󱊛"}.mdi-truck-fast:before{content:"󰞈"}.mdi-truck-fast-outline:before{content:"󱊜"}.mdi-truck-flatbed:before{content:"󱢑"}.mdi-truck-minus:before{content:"󱦮"}.mdi-truck-minus-outline:before{content:"󱦽"}.mdi-truck-outline:before{content:"󱊝"}.mdi-truck-plus:before{content:"󱦭"}.mdi-truck-plus-outline:before{content:"󱦼"}.mdi-truck-remove:before{content:"󱦯"}.mdi-truck-remove-outline:before{content:"󱦾"}.mdi-truck-snowflake:before{content:"󱦦"}.mdi-truck-trailer:before{content:"󰜧"}.mdi-trumpet:before{content:"󱂖"}.mdi-tshirt-crew:before{content:"󰩻"}.mdi-tshirt-crew-outline:before{content:"󰔿"}.mdi-tshirt-v:before{content:"󰩼"}.mdi-tshirt-v-outline:before{content:"󰕀"}.mdi-tsunami:before{content:"󱪁"}.mdi-tumble-dryer:before{content:"󰤗"}.mdi-tumble-dryer-alert:before{content:"󱆺"}.mdi-tumble-dryer-off:before{content:"󱆻"}.mdi-tune:before{content:"󰘮"}.mdi-tune-variant:before{content:"󱕂"}.mdi-tune-vertical:before{content:"󰙪"}.mdi-tune-vertical-variant:before{content:"󱕃"}.mdi-tunnel:before{content:"󱠽"}.mdi-tunnel-outline:before{content:"󱠾"}.mdi-turbine:before{content:"󱪂"}.mdi-turkey:before{content:"󱜛"}.mdi-turnstile:before{content:"󰳕"}.mdi-turnstile-outline:before{content:"󰳖"}.mdi-turtle:before{content:"󰳗"}.mdi-twitch:before{content:"󰕃"}.mdi-twitter:before{content:"󰕄"}.mdi-two-factor-authentication:before{content:"󰦯"}.mdi-typewriter:before{content:"󰼭"}.mdi-ubisoft:before{content:"󰯚"}.mdi-ubuntu:before{content:"󰕈"}.mdi-ufo:before{content:"󱃄"}.mdi-ufo-outline:before{content:"󱃅"}.mdi-ultra-high-definition:before{content:"󰟹"}.mdi-umbraco:before{content:"󰕉"}.mdi-umbrella:before{content:"󰕊"}.mdi-umbrella-beach:before{content:"󱢊"}.mdi-umbrella-beach-outline:before{content:"󱢋"}.mdi-umbrella-closed:before{content:"󰦰"}.mdi-umbrella-closed-outline:before{content:"󱏢"}.mdi-umbrella-closed-variant:before{content:"󱏡"}.mdi-umbrella-outline:before{content:"󰕋"}.mdi-undo:before{content:"󰕌"}.mdi-undo-variant:before{content:"󰕍"}.mdi-unfold-less-horizontal:before{content:"󰕎"}.mdi-unfold-less-vertical:before{content:"󰝠"}.mdi-unfold-more-horizontal:before{content:"󰕏"}.mdi-unfold-more-vertical:before{content:"󰝡"}.mdi-ungroup:before{content:"󰕐"}.mdi-unicode:before{content:"󰻐"}.mdi-unicorn:before{content:"󱗂"}.mdi-unicorn-variant:before{content:"󱗃"}.mdi-unicycle:before{content:"󱗥"}.mdi-unity:before{content:"󰚯"}.mdi-unreal:before{content:"󰦱"}.mdi-update:before{content:"󰚰"}.mdi-upload:before{content:"󰕒"}.mdi-upload-lock:before{content:"󱍳"}.mdi-upload-lock-outline:before{content:"󱍴"}.mdi-upload-multiple:before{content:"󰠽"}.mdi-upload-network:before{content:"󰛶"}.mdi-upload-network-outline:before{content:"󰳘"}.mdi-upload-off:before{content:"󱃆"}.mdi-upload-off-outline:before{content:"󱃇"}.mdi-upload-outline:before{content:"󰸇"}.mdi-usb:before{content:"󰕓"}.mdi-usb-flash-drive:before{content:"󱊞"}.mdi-usb-flash-drive-outline:before{content:"󱊟"}.mdi-usb-port:before{content:"󱇰"}.mdi-vacuum:before{content:"󱦡"}.mdi-vacuum-outline:before{content:"󱦢"}.mdi-valve:before{content:"󱁦"}.mdi-valve-closed:before{content:"󱁧"}.mdi-valve-open:before{content:"󱁨"}.mdi-van-passenger:before{content:"󰟺"}.mdi-van-utility:before{content:"󰟻"}.mdi-vanish:before{content:"󰟼"}.mdi-vanish-quarter:before{content:"󱕔"}.mdi-vanity-light:before{content:"󱇡"}.mdi-variable:before{content:"󰫧"}.mdi-variable-box:before{content:"󱄑"}.mdi-vector-arrange-above:before{content:"󰕔"}.mdi-vector-arrange-below:before{content:"󰕕"}.mdi-vector-bezier:before{content:"󰫨"}.mdi-vector-circle:before{content:"󰕖"}.mdi-vector-circle-variant:before{content:"󰕗"}.mdi-vector-combine:before{content:"󰕘"}.mdi-vector-curve:before{content:"󰕙"}.mdi-vector-difference:before{content:"󰕚"}.mdi-vector-difference-ab:before{content:"󰕛"}.mdi-vector-difference-ba:before{content:"󰕜"}.mdi-vector-ellipse:before{content:"󰢓"}.mdi-vector-intersection:before{content:"󰕝"}.mdi-vector-line:before{content:"󰕞"}.mdi-vector-link:before{content:"󰿨"}.mdi-vector-point:before{content:"󰇄"}.mdi-vector-point-edit:before{content:"󰧨"}.mdi-vector-point-minus:before{content:"󱭸"}.mdi-vector-point-plus:before{content:"󱭹"}.mdi-vector-point-select:before{content:"󰕟"}.mdi-vector-polygon:before{content:"󰕠"}.mdi-vector-polygon-variant:before{content:"󱡖"}.mdi-vector-polyline:before{content:"󰕡"}.mdi-vector-polyline-edit:before{content:"󱈥"}.mdi-vector-polyline-minus:before{content:"󱈦"}.mdi-vector-polyline-plus:before{content:"󱈧"}.mdi-vector-polyline-remove:before{content:"󱈨"}.mdi-vector-radius:before{content:"󰝊"}.mdi-vector-rectangle:before{content:"󰗆"}.mdi-vector-selection:before{content:"󰕢"}.mdi-vector-square:before{content:"󰀁"}.mdi-vector-square-close:before{content:"󱡗"}.mdi-vector-square-edit:before{content:"󱣙"}.mdi-vector-square-minus:before{content:"󱣚"}.mdi-vector-square-open:before{content:"󱡘"}.mdi-vector-square-plus:before{content:"󱣛"}.mdi-vector-square-remove:before{content:"󱣜"}.mdi-vector-triangle:before{content:"󰕣"}.mdi-vector-union:before{content:"󰕤"}.mdi-vhs:before{content:"󰨛"}.mdi-vibrate:before{content:"󰕦"}.mdi-vibrate-off:before{content:"󰳙"}.mdi-video:before{content:"󰕧"}.mdi-video-2d:before{content:"󱨜"}.mdi-video-3d:before{content:"󰟽"}.mdi-video-3d-off:before{content:"󱏙"}.mdi-video-3d-variant:before{content:"󰻑"}.mdi-video-4k-box:before{content:"󰠾"}.mdi-video-account:before{content:"󰤙"}.mdi-video-box:before{content:"󰃽"}.mdi-video-box-off:before{content:"󰃾"}.mdi-video-check:before{content:"󱁩"}.mdi-video-check-outline:before{content:"󱁪"}.mdi-video-high-definition:before{content:"󱔮"}.mdi-video-image:before{content:"󰤚"}.mdi-video-input-antenna:before{content:"󰠿"}.mdi-video-input-component:before{content:"󰡀"}.mdi-video-input-hdmi:before{content:"󰡁"}.mdi-video-input-scart:before{content:"󰾌"}.mdi-video-input-svideo:before{content:"󰡂"}.mdi-video-marker:before{content:"󱦩"}.mdi-video-marker-outline:before{content:"󱦪"}.mdi-video-minus:before{content:"󰦲"}.mdi-video-minus-outline:before{content:"󰊺"}.mdi-video-off:before{content:"󰕨"}.mdi-video-off-outline:before{content:"󰯛"}.mdi-video-outline:before{content:"󰯜"}.mdi-video-plus:before{content:"󰦳"}.mdi-video-plus-outline:before{content:"󰇓"}.mdi-video-stabilization:before{content:"󰤛"}.mdi-video-switch:before{content:"󰕩"}.mdi-video-switch-outline:before{content:"󰞐"}.mdi-video-vintage:before{content:"󰨜"}.mdi-video-wireless:before{content:"󰻒"}.mdi-video-wireless-outline:before{content:"󰻓"}.mdi-view-agenda:before{content:"󰕪"}.mdi-view-agenda-outline:before{content:"󱇘"}.mdi-view-array:before{content:"󰕫"}.mdi-view-array-outline:before{content:"󱒅"}.mdi-view-carousel:before{content:"󰕬"}.mdi-view-carousel-outline:before{content:"󱒆"}.mdi-view-column:before{content:"󰕭"}.mdi-view-column-outline:before{content:"󱒇"}.mdi-view-comfy:before{content:"󰹪"}.mdi-view-comfy-outline:before{content:"󱒈"}.mdi-view-compact:before{content:"󰹫"}.mdi-view-compact-outline:before{content:"󰹬"}.mdi-view-dashboard:before{content:"󰕮"}.mdi-view-dashboard-edit:before{content:"󱥇"}.mdi-view-dashboard-edit-outline:before{content:"󱥈"}.mdi-view-dashboard-outline:before{content:"󰨝"}.mdi-view-dashboard-variant:before{content:"󰡃"}.mdi-view-dashboard-variant-outline:before{content:"󱒉"}.mdi-view-day:before{content:"󰕯"}.mdi-view-day-outline:before{content:"󱒊"}.mdi-view-gallery:before{content:"󱢈"}.mdi-view-gallery-outline:before{content:"󱢉"}.mdi-view-grid:before{content:"󰕰"}.mdi-view-grid-compact:before{content:"󱱡"}.mdi-view-grid-outline:before{content:"󱇙"}.mdi-view-grid-plus:before{content:"󰾍"}.mdi-view-grid-plus-outline:before{content:"󱇚"}.mdi-view-headline:before{content:"󰕱"}.mdi-view-list:before{content:"󰕲"}.mdi-view-list-outline:before{content:"󱒋"}.mdi-view-module:before{content:"󰕳"}.mdi-view-module-outline:before{content:"󱒌"}.mdi-view-parallel:before{content:"󰜨"}.mdi-view-parallel-outline:before{content:"󱒍"}.mdi-view-quilt:before{content:"󰕴"}.mdi-view-quilt-outline:before{content:"󱒎"}.mdi-view-sequential:before{content:"󰜩"}.mdi-view-sequential-outline:before{content:"󱒏"}.mdi-view-split-horizontal:before{content:"󰯋"}.mdi-view-split-vertical:before{content:"󰯌"}.mdi-view-stream:before{content:"󰕵"}.mdi-view-stream-outline:before{content:"󱒐"}.mdi-view-week:before{content:"󰕶"}.mdi-view-week-outline:before{content:"󱒑"}.mdi-vimeo:before{content:"󰕷"}.mdi-violin:before{content:"󰘏"}.mdi-virtual-reality:before{content:"󰢔"}.mdi-virus:before{content:"󱎶"}.mdi-virus-off:before{content:"󱣡"}.mdi-virus-off-outline:before{content:"󱣢"}.mdi-virus-outline:before{content:"󱎷"}.mdi-vlc:before{content:"󰕼"}.mdi-voicemail:before{content:"󰕽"}.mdi-volcano:before{content:"󱪃"}.mdi-volcano-outline:before{content:"󱪄"}.mdi-volleyball:before{content:"󰦴"}.mdi-volume-equal:before{content:"󱬐"}.mdi-volume-high:before{content:"󰕾"}.mdi-volume-low:before{content:"󰕿"}.mdi-volume-medium:before{content:"󰖀"}.mdi-volume-minus:before{content:"󰝞"}.mdi-volume-mute:before{content:"󰝟"}.mdi-volume-off:before{content:"󰖁"}.mdi-volume-plus:before{content:"󰝝"}.mdi-volume-source:before{content:"󱄠"}.mdi-volume-variant-off:before{content:"󰸈"}.mdi-volume-vibrate:before{content:"󱄡"}.mdi-vote:before{content:"󰨟"}.mdi-vote-outline:before{content:"󰨠"}.mdi-vpn:before{content:"󰖂"}.mdi-vuejs:before{content:"󰡄"}.mdi-vuetify:before{content:"󰹭"}.mdi-walk:before{content:"󰖃"}.mdi-wall:before{content:"󰟾"}.mdi-wall-fire:before{content:"󱨑"}.mdi-wall-sconce:before{content:"󰤜"}.mdi-wall-sconce-flat:before{content:"󰤝"}.mdi-wall-sconce-flat-outline:before{content:"󱟉"}.mdi-wall-sconce-flat-variant:before{content:"󰐜"}.mdi-wall-sconce-flat-variant-outline:before{content:"󱟊"}.mdi-wall-sconce-outline:before{content:"󱟋"}.mdi-wall-sconce-round:before{content:"󰝈"}.mdi-wall-sconce-round-outline:before{content:"󱟌"}.mdi-wall-sconce-round-variant:before{content:"󰤞"}.mdi-wall-sconce-round-variant-outline:before{content:"󱟍"}.mdi-wallet:before{content:"󰖄"}.mdi-wallet-bifold:before{content:"󱱘"}.mdi-wallet-bifold-outline:before{content:"󱱙"}.mdi-wallet-giftcard:before{content:"󰖅"}.mdi-wallet-membership:before{content:"󰖆"}.mdi-wallet-outline:before{content:"󰯝"}.mdi-wallet-plus:before{content:"󰾎"}.mdi-wallet-plus-outline:before{content:"󰾏"}.mdi-wallet-travel:before{content:"󰖇"}.mdi-wallpaper:before{content:"󰸉"}.mdi-wan:before{content:"󰖈"}.mdi-wardrobe:before{content:"󰾐"}.mdi-wardrobe-outline:before{content:"󰾑"}.mdi-warehouse:before{content:"󰾁"}.mdi-washing-machine:before{content:"󰜪"}.mdi-washing-machine-alert:before{content:"󱆼"}.mdi-washing-machine-off:before{content:"󱆽"}.mdi-watch:before{content:"󰖉"}.mdi-watch-export:before{content:"󰖊"}.mdi-watch-export-variant:before{content:"󰢕"}.mdi-watch-import:before{content:"󰖋"}.mdi-watch-import-variant:before{content:"󰢖"}.mdi-watch-variant:before{content:"󰢗"}.mdi-watch-vibrate:before{content:"󰚱"}.mdi-watch-vibrate-off:before{content:"󰳚"}.mdi-water:before{content:"󰖌"}.mdi-water-alert:before{content:"󱔂"}.mdi-water-alert-outline:before{content:"󱔃"}.mdi-water-boiler:before{content:"󰾒"}.mdi-water-boiler-alert:before{content:"󱆳"}.mdi-water-boiler-auto:before{content:"󱮘"}.mdi-water-boiler-off:before{content:"󱆴"}.mdi-water-check:before{content:"󱔄"}.mdi-water-check-outline:before{content:"󱔅"}.mdi-water-circle:before{content:"󱠆"}.mdi-water-minus:before{content:"󱔆"}.mdi-water-minus-outline:before{content:"󱔇"}.mdi-water-off:before{content:"󰖍"}.mdi-water-off-outline:before{content:"󱔈"}.mdi-water-opacity:before{content:"󱡕"}.mdi-water-outline:before{content:"󰸊"}.mdi-water-percent:before{content:"󰖎"}.mdi-water-percent-alert:before{content:"󱔉"}.mdi-water-plus:before{content:"󱔊"}.mdi-water-plus-outline:before{content:"󱔋"}.mdi-water-polo:before{content:"󱊠"}.mdi-water-pump:before{content:"󰖏"}.mdi-water-pump-off:before{content:"󰾓"}.mdi-water-remove:before{content:"󱔌"}.mdi-water-remove-outline:before{content:"󱔍"}.mdi-water-sync:before{content:"󱟆"}.mdi-water-thermometer:before{content:"󱪅"}.mdi-water-thermometer-outline:before{content:"󱪆"}.mdi-water-well:before{content:"󱁫"}.mdi-water-well-outline:before{content:"󱁬"}.mdi-waterfall:before{content:"󱡉"}.mdi-watering-can:before{content:"󱒁"}.mdi-watering-can-outline:before{content:"󱒂"}.mdi-watermark:before{content:"󰘒"}.mdi-wave:before{content:"󰼮"}.mdi-waveform:before{content:"󱑽"}.mdi-waves:before{content:"󰞍"}.mdi-waves-arrow-left:before{content:"󱡙"}.mdi-waves-arrow-right:before{content:"󱡚"}.mdi-waves-arrow-up:before{content:"󱡛"}.mdi-waze:before{content:"󰯞"}.mdi-weather-cloudy:before{content:"󰖐"}.mdi-weather-cloudy-alert:before{content:"󰼯"}.mdi-weather-cloudy-arrow-right:before{content:"󰹮"}.mdi-weather-cloudy-clock:before{content:"󱣶"}.mdi-weather-dust:before{content:"󱭚"}.mdi-weather-fog:before{content:"󰖑"}.mdi-weather-hail:before{content:"󰖒"}.mdi-weather-hazy:before{content:"󰼰"}.mdi-weather-hurricane:before{content:"󰢘"}.mdi-weather-hurricane-outline:before{content:"󱱸"}.mdi-weather-lightning:before{content:"󰖓"}.mdi-weather-lightning-rainy:before{content:"󰙾"}.mdi-weather-night:before{content:"󰖔"}.mdi-weather-night-partly-cloudy:before{content:"󰼱"}.mdi-weather-partly-cloudy:before{content:"󰖕"}.mdi-weather-partly-lightning:before{content:"󰼲"}.mdi-weather-partly-rainy:before{content:"󰼳"}.mdi-weather-partly-snowy:before{content:"󰼴"}.mdi-weather-partly-snowy-rainy:before{content:"󰼵"}.mdi-weather-pouring:before{content:"󰖖"}.mdi-weather-rainy:before{content:"󰖗"}.mdi-weather-snowy:before{content:"󰖘"}.mdi-weather-snowy-heavy:before{content:"󰼶"}.mdi-weather-snowy-rainy:before{content:"󰙿"}.mdi-weather-sunny:before{content:"󰖙"}.mdi-weather-sunny-alert:before{content:"󰼷"}.mdi-weather-sunny-off:before{content:"󱓤"}.mdi-weather-sunset:before{content:"󰖚"}.mdi-weather-sunset-down:before{content:"󰖛"}.mdi-weather-sunset-up:before{content:"󰖜"}.mdi-weather-tornado:before{content:"󰼸"}.mdi-weather-windy:before{content:"󰖝"}.mdi-weather-windy-variant:before{content:"󰖞"}.mdi-web:before{content:"󰖟"}.mdi-web-box:before{content:"󰾔"}.mdi-web-cancel:before{content:"󱞐"}.mdi-web-check:before{content:"󰞉"}.mdi-web-clock:before{content:"󱉊"}.mdi-web-minus:before{content:"󱂠"}.mdi-web-off:before{content:"󰪎"}.mdi-web-plus:before{content:"󰀳"}.mdi-web-refresh:before{content:"󱞑"}.mdi-web-remove:before{content:"󰕑"}.mdi-web-sync:before{content:"󱞒"}.mdi-webcam:before{content:"󰖠"}.mdi-webcam-off:before{content:"󱜷"}.mdi-webhook:before{content:"󰘯"}.mdi-webpack:before{content:"󰜫"}.mdi-webrtc:before{content:"󱉈"}.mdi-wechat:before{content:"󰘑"}.mdi-weight:before{content:"󰖡"}.mdi-weight-gram:before{content:"󰴿"}.mdi-weight-kilogram:before{content:"󰖢"}.mdi-weight-lifter:before{content:"󱅝"}.mdi-weight-pound:before{content:"󰦵"}.mdi-whatsapp:before{content:"󰖣"}.mdi-wheel-barrow:before{content:"󱓲"}.mdi-wheelchair:before{content:"󱪇"}.mdi-wheelchair-accessibility:before{content:"󰖤"}.mdi-whistle:before{content:"󰦶"}.mdi-whistle-outline:before{content:"󱊼"}.mdi-white-balance-auto:before{content:"󰖥"}.mdi-white-balance-incandescent:before{content:"󰖦"}.mdi-white-balance-iridescent:before{content:"󰖧"}.mdi-white-balance-sunny:before{content:"󰖨"}.mdi-widgets:before{content:"󰜬"}.mdi-widgets-outline:before{content:"󱍕"}.mdi-wifi:before{content:"󰖩"}.mdi-wifi-alert:before{content:"󱚵"}.mdi-wifi-arrow-down:before{content:"󱚶"}.mdi-wifi-arrow-left:before{content:"󱚷"}.mdi-wifi-arrow-left-right:before{content:"󱚸"}.mdi-wifi-arrow-right:before{content:"󱚹"}.mdi-wifi-arrow-up:before{content:"󱚺"}.mdi-wifi-arrow-up-down:before{content:"󱚻"}.mdi-wifi-cancel:before{content:"󱚼"}.mdi-wifi-check:before{content:"󱚽"}.mdi-wifi-cog:before{content:"󱚾"}.mdi-wifi-lock:before{content:"󱚿"}.mdi-wifi-lock-open:before{content:"󱛀"}.mdi-wifi-marker:before{content:"󱛁"}.mdi-wifi-minus:before{content:"󱛂"}.mdi-wifi-off:before{content:"󰖪"}.mdi-wifi-plus:before{content:"󱛃"}.mdi-wifi-refresh:before{content:"󱛄"}.mdi-wifi-remove:before{content:"󱛅"}.mdi-wifi-settings:before{content:"󱛆"}.mdi-wifi-star:before{content:"󰸋"}.mdi-wifi-strength-1:before{content:"󰤟"}.mdi-wifi-strength-1-alert:before{content:"󰤠"}.mdi-wifi-strength-1-lock:before{content:"󰤡"}.mdi-wifi-strength-1-lock-open:before{content:"󱛋"}.mdi-wifi-strength-2:before{content:"󰤢"}.mdi-wifi-strength-2-alert:before{content:"󰤣"}.mdi-wifi-strength-2-lock:before{content:"󰤤"}.mdi-wifi-strength-2-lock-open:before{content:"󱛌"}.mdi-wifi-strength-3:before{content:"󰤥"}.mdi-wifi-strength-3-alert:before{content:"󰤦"}.mdi-wifi-strength-3-lock:before{content:"󰤧"}.mdi-wifi-strength-3-lock-open:before{content:"󱛍"}.mdi-wifi-strength-4:before{content:"󰤨"}.mdi-wifi-strength-4-alert:before{content:"󰤩"}.mdi-wifi-strength-4-lock:before{content:"󰤪"}.mdi-wifi-strength-4-lock-open:before{content:"󱛎"}.mdi-wifi-strength-alert-outline:before{content:"󰤫"}.mdi-wifi-strength-lock-open-outline:before{content:"󱛏"}.mdi-wifi-strength-lock-outline:before{content:"󰤬"}.mdi-wifi-strength-off:before{content:"󰤭"}.mdi-wifi-strength-off-outline:before{content:"󰤮"}.mdi-wifi-strength-outline:before{content:"󰤯"}.mdi-wifi-sync:before{content:"󱛇"}.mdi-wikipedia:before{content:"󰖬"}.mdi-wind-power:before{content:"󱪈"}.mdi-wind-power-outline:before{content:"󱪉"}.mdi-wind-turbine:before{content:"󰶥"}.mdi-wind-turbine-alert:before{content:"󱦫"}.mdi-wind-turbine-check:before{content:"󱦬"}.mdi-window-close:before{content:"󰖭"}.mdi-window-closed:before{content:"󰖮"}.mdi-window-closed-variant:before{content:"󱇛"}.mdi-window-maximize:before{content:"󰖯"}.mdi-window-minimize:before{content:"󰖰"}.mdi-window-open:before{content:"󰖱"}.mdi-window-open-variant:before{content:"󱇜"}.mdi-window-restore:before{content:"󰖲"}.mdi-window-shutter:before{content:"󱄜"}.mdi-window-shutter-alert:before{content:"󱄝"}.mdi-window-shutter-auto:before{content:"󱮣"}.mdi-window-shutter-cog:before{content:"󱪊"}.mdi-window-shutter-open:before{content:"󱄞"}.mdi-window-shutter-settings:before{content:"󱪋"}.mdi-windsock:before{content:"󱗺"}.mdi-wiper:before{content:"󰫩"}.mdi-wiper-wash:before{content:"󰶦"}.mdi-wiper-wash-alert:before{content:"󱣟"}.mdi-wizard-hat:before{content:"󱑷"}.mdi-wordpress:before{content:"󰖴"}.mdi-wrap:before{content:"󰖶"}.mdi-wrap-disabled:before{content:"󰯟"}.mdi-wrench:before{content:"󰖷"}.mdi-wrench-check:before{content:"󱮏"}.mdi-wrench-check-outline:before{content:"󱮐"}.mdi-wrench-clock:before{content:"󱦣"}.mdi-wrench-clock-outline:before{content:"󱮓"}.mdi-wrench-cog:before{content:"󱮑"}.mdi-wrench-cog-outline:before{content:"󱮒"}.mdi-wrench-outline:before{content:"󰯠"}.mdi-xamarin:before{content:"󰡅"}.mdi-xml:before{content:"󰗀"}.mdi-xmpp:before{content:"󰟿"}.mdi-yahoo:before{content:"󰭏"}.mdi-yeast:before{content:"󰗁"}.mdi-yin-yang:before{content:"󰚀"}.mdi-yoga:before{content:"󱅼"}.mdi-youtube:before{content:"󰗃"}.mdi-youtube-gaming:before{content:"󰡈"}.mdi-youtube-studio:before{content:"󰡇"}.mdi-youtube-subscription:before{content:"󰵀"}.mdi-youtube-tv:before{content:"󰑈"}.mdi-yurt:before{content:"󱔖"}.mdi-z-wave:before{content:"󰫪"}.mdi-zend:before{content:"󰫫"}.mdi-zigbee:before{content:"󰵁"}.mdi-zip-box:before{content:"󰗄"}.mdi-zip-box-outline:before{content:"󰿺"}.mdi-zip-disk:before{content:"󰨣"}.mdi-zodiac-aquarius:before{content:"󰩽"}.mdi-zodiac-aries:before{content:"󰩾"}.mdi-zodiac-cancer:before{content:"󰩿"}.mdi-zodiac-capricorn:before{content:"󰪀"}.mdi-zodiac-gemini:before{content:"󰪁"}.mdi-zodiac-leo:before{content:"󰪂"}.mdi-zodiac-libra:before{content:"󰪃"}.mdi-zodiac-pisces:before{content:"󰪄"}.mdi-zodiac-sagittarius:before{content:"󰪅"}.mdi-zodiac-scorpio:before{content:"󰪆"}.mdi-zodiac-taurus:before{content:"󰪇"}.mdi-zodiac-virgo:before{content:"󰪈"}.mdi-blank:before{content:"";visibility:hidden}.mdi-18px.mdi-set,.mdi-18px.mdi:before{font-size:18px}.mdi-24px.mdi-set,.mdi-24px.mdi:before{font-size:24px}.mdi-36px.mdi-set,.mdi-36px.mdi:before{font-size:36px}.mdi-48px.mdi-set,.mdi-48px.mdi:before{font-size:48px}.mdi-dark:before{color:#0000008a}.mdi-dark.mdi-inactive:before{color:#00000042}.mdi-light:before{color:#fff}.mdi-light.mdi-inactive:before{color:#ffffff4d}.mdi-rotate-45:before{-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.mdi-rotate-90:before{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.mdi-rotate-135:before{-webkit-transform:rotate(135deg);-ms-transform:rotate(135deg);transform:rotate(135deg)}.mdi-rotate-180:before{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.mdi-rotate-225:before{-webkit-transform:rotate(225deg);-ms-transform:rotate(225deg);transform:rotate(225deg)}.mdi-rotate-270:before{-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.mdi-rotate-315:before{-webkit-transform:rotate(315deg);-ms-transform:rotate(315deg);transform:rotate(315deg)}.mdi-flip-h:before{-webkit-transform:scaleX(-1);transform:scaleX(-1);filter:FlipH;-ms-filter:"FlipH"}.mdi-flip-v:before{-webkit-transform:scaleY(-1);transform:scaleY(-1);filter:FlipV;-ms-filter:"FlipV"}.mdi-spin:before{-webkit-animation:mdi-spin 2s infinite linear;animation:mdi-spin 2s infinite linear}@-webkit-keyframes mdi-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes mdi-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes v-shake{59%{margin-left:0}60%,80%{margin-left:2px}70%,90%{margin-left:-2px}}.bg-black{background-color:#000!important;color:#fff!important}.bg-white{background-color:#fff!important;color:#000!important}.bg-transparent{background-color:transparent!important;color:currentColor!important}.bg-red{background-color:#f44336!important;color:#fff!important}.bg-red-lighten-5{background-color:#ffebee!important;color:#000!important}.bg-red-lighten-4{background-color:#ffcdd2!important;color:#000!important}.bg-red-lighten-3{background-color:#ef9a9a!important;color:#000!important}.bg-red-lighten-2{background-color:#e57373!important;color:#fff!important}.bg-red-lighten-1{background-color:#ef5350!important;color:#fff!important}.bg-red-darken-1{background-color:#e53935!important;color:#fff!important}.bg-red-darken-2{background-color:#d32f2f!important;color:#fff!important}.bg-red-darken-3{background-color:#c62828!important;color:#fff!important}.bg-red-darken-4{background-color:#b71c1c!important;color:#fff!important}.bg-red-accent-1{background-color:#ff8a80!important;color:#000!important}.bg-red-accent-2{background-color:#ff5252!important;color:#fff!important}.bg-red-accent-3{background-color:#ff1744!important;color:#fff!important}.bg-red-accent-4{background-color:#d50000!important;color:#fff!important}.bg-pink{background-color:#e91e63!important;color:#fff!important}.bg-pink-lighten-5{background-color:#fce4ec!important;color:#000!important}.bg-pink-lighten-4{background-color:#f8bbd0!important;color:#000!important}.bg-pink-lighten-3{background-color:#f48fb1!important;color:#000!important}.bg-pink-lighten-2{background-color:#f06292!important;color:#fff!important}.bg-pink-lighten-1{background-color:#ec407a!important;color:#fff!important}.bg-pink-darken-1{background-color:#d81b60!important;color:#fff!important}.bg-pink-darken-2{background-color:#c2185b!important;color:#fff!important}.bg-pink-darken-3{background-color:#ad1457!important;color:#fff!important}.bg-pink-darken-4{background-color:#880e4f!important;color:#fff!important}.bg-pink-accent-1{background-color:#ff80ab!important;color:#fff!important}.bg-pink-accent-2{background-color:#ff4081!important;color:#fff!important}.bg-pink-accent-3{background-color:#f50057!important;color:#fff!important}.bg-pink-accent-4{background-color:#c51162!important;color:#fff!important}.bg-purple{background-color:#9c27b0!important;color:#fff!important}.bg-purple-lighten-5{background-color:#f3e5f5!important;color:#000!important}.bg-purple-lighten-4{background-color:#e1bee7!important;color:#000!important}.bg-purple-lighten-3{background-color:#ce93d8!important;color:#fff!important}.bg-purple-lighten-2{background-color:#ba68c8!important;color:#fff!important}.bg-purple-lighten-1{background-color:#ab47bc!important;color:#fff!important}.bg-purple-darken-1{background-color:#8e24aa!important;color:#fff!important}.bg-purple-darken-2{background-color:#7b1fa2!important;color:#fff!important}.bg-purple-darken-3{background-color:#6a1b9a!important;color:#fff!important}.bg-purple-darken-4{background-color:#4a148c!important;color:#fff!important}.bg-purple-accent-1{background-color:#ea80fc!important;color:#fff!important}.bg-purple-accent-2{background-color:#e040fb!important;color:#fff!important}.bg-purple-accent-3{background-color:#d500f9!important;color:#fff!important}.bg-purple-accent-4{background-color:#a0f!important;color:#fff!important}.bg-deep-purple{background-color:#673ab7!important;color:#fff!important}.bg-deep-purple-lighten-5{background-color:#ede7f6!important;color:#000!important}.bg-deep-purple-lighten-4{background-color:#d1c4e9!important;color:#000!important}.bg-deep-purple-lighten-3{background-color:#b39ddb!important;color:#fff!important}.bg-deep-purple-lighten-2{background-color:#9575cd!important;color:#fff!important}.bg-deep-purple-lighten-1{background-color:#7e57c2!important;color:#fff!important}.bg-deep-purple-darken-1{background-color:#5e35b1!important;color:#fff!important}.bg-deep-purple-darken-2{background-color:#512da8!important;color:#fff!important}.bg-deep-purple-darken-3{background-color:#4527a0!important;color:#fff!important}.bg-deep-purple-darken-4{background-color:#311b92!important;color:#fff!important}.bg-deep-purple-accent-1{background-color:#b388ff!important;color:#fff!important}.bg-deep-purple-accent-2{background-color:#7c4dff!important;color:#fff!important}.bg-deep-purple-accent-3{background-color:#651fff!important;color:#fff!important}.bg-deep-purple-accent-4{background-color:#6200ea!important;color:#fff!important}.bg-indigo{background-color:#3f51b5!important;color:#fff!important}.bg-indigo-lighten-5{background-color:#e8eaf6!important;color:#000!important}.bg-indigo-lighten-4{background-color:#c5cae9!important;color:#000!important}.bg-indigo-lighten-3{background-color:#9fa8da!important;color:#fff!important}.bg-indigo-lighten-2{background-color:#7986cb!important;color:#fff!important}.bg-indigo-lighten-1{background-color:#5c6bc0!important;color:#fff!important}.bg-indigo-darken-1{background-color:#3949ab!important;color:#fff!important}.bg-indigo-darken-2{background-color:#303f9f!important;color:#fff!important}.bg-indigo-darken-3{background-color:#283593!important;color:#fff!important}.bg-indigo-darken-4{background-color:#1a237e!important;color:#fff!important}.bg-indigo-accent-1{background-color:#8c9eff!important;color:#fff!important}.bg-indigo-accent-2{background-color:#536dfe!important;color:#fff!important}.bg-indigo-accent-3{background-color:#3d5afe!important;color:#fff!important}.bg-indigo-accent-4{background-color:#304ffe!important;color:#fff!important}.bg-blue{background-color:#2196f3!important;color:#fff!important}.bg-blue-lighten-5{background-color:#e3f2fd!important;color:#000!important}.bg-blue-lighten-4{background-color:#bbdefb!important;color:#000!important}.bg-blue-lighten-3{background-color:#90caf9!important;color:#000!important}.bg-blue-lighten-2{background-color:#64b5f6!important;color:#000!important}.bg-blue-lighten-1{background-color:#42a5f5!important;color:#fff!important}.bg-blue-darken-1{background-color:#1e88e5!important;color:#fff!important}.bg-blue-darken-2{background-color:#1976d2!important;color:#fff!important}.bg-blue-darken-3{background-color:#1565c0!important;color:#fff!important}.bg-blue-darken-4{background-color:#0d47a1!important;color:#fff!important}.bg-blue-accent-1{background-color:#82b1ff!important;color:#000!important}.bg-blue-accent-2{background-color:#448aff!important;color:#fff!important}.bg-blue-accent-3{background-color:#2979ff!important;color:#fff!important}.bg-blue-accent-4{background-color:#2962ff!important;color:#fff!important}.bg-light-blue{background-color:#03a9f4!important;color:#fff!important}.bg-light-blue-lighten-5{background-color:#e1f5fe!important;color:#000!important}.bg-light-blue-lighten-4{background-color:#b3e5fc!important;color:#000!important}.bg-light-blue-lighten-3{background-color:#81d4fa!important;color:#000!important}.bg-light-blue-lighten-2{background-color:#4fc3f7!important;color:#000!important}.bg-light-blue-lighten-1{background-color:#29b6f6!important;color:#000!important}.bg-light-blue-darken-1{background-color:#039be5!important;color:#fff!important}.bg-light-blue-darken-2{background-color:#0288d1!important;color:#fff!important}.bg-light-blue-darken-3{background-color:#0277bd!important;color:#fff!important}.bg-light-blue-darken-4{background-color:#01579b!important;color:#fff!important}.bg-light-blue-accent-1{background-color:#80d8ff!important;color:#000!important}.bg-light-blue-accent-2{background-color:#40c4ff!important;color:#000!important}.bg-light-blue-accent-3{background-color:#00b0ff!important;color:#fff!important}.bg-light-blue-accent-4{background-color:#0091ea!important;color:#fff!important}.bg-cyan{background-color:#00bcd4!important;color:#000!important}.bg-cyan-lighten-5{background-color:#e0f7fa!important;color:#000!important}.bg-cyan-lighten-4{background-color:#b2ebf2!important;color:#000!important}.bg-cyan-lighten-3{background-color:#80deea!important;color:#000!important}.bg-cyan-lighten-2{background-color:#4dd0e1!important;color:#000!important}.bg-cyan-lighten-1{background-color:#26c6da!important;color:#000!important}.bg-cyan-darken-1{background-color:#00acc1!important;color:#fff!important}.bg-cyan-darken-2{background-color:#0097a7!important;color:#fff!important}.bg-cyan-darken-3{background-color:#00838f!important;color:#fff!important}.bg-cyan-darken-4{background-color:#006064!important;color:#fff!important}.bg-cyan-accent-1{background-color:#84ffff!important;color:#000!important}.bg-cyan-accent-2{background-color:#18ffff!important;color:#000!important}.bg-cyan-accent-3{background-color:#00e5ff!important;color:#000!important}.bg-cyan-accent-4{background-color:#00b8d4!important;color:#fff!important}.bg-teal{background-color:#009688!important;color:#fff!important}.bg-teal-lighten-5{background-color:#e0f2f1!important;color:#000!important}.bg-teal-lighten-4{background-color:#b2dfdb!important;color:#000!important}.bg-teal-lighten-3{background-color:#80cbc4!important;color:#000!important}.bg-teal-lighten-2{background-color:#4db6ac!important;color:#fff!important}.bg-teal-lighten-1{background-color:#26a69a!important;color:#fff!important}.bg-teal-darken-1{background-color:#00897b!important;color:#fff!important}.bg-teal-darken-2{background-color:#00796b!important;color:#fff!important}.bg-teal-darken-3{background-color:#00695c!important;color:#fff!important}.bg-teal-darken-4{background-color:#004d40!important;color:#fff!important}.bg-teal-accent-1{background-color:#a7ffeb!important;color:#000!important}.bg-teal-accent-2{background-color:#64ffda!important;color:#000!important}.bg-teal-accent-3{background-color:#1de9b6!important;color:#000!important}.bg-teal-accent-4{background-color:#00bfa5!important;color:#fff!important}.bg-green{background-color:#4caf50!important;color:#fff!important}.bg-green-lighten-5{background-color:#e8f5e9!important;color:#000!important}.bg-green-lighten-4{background-color:#c8e6c9!important;color:#000!important}.bg-green-lighten-3{background-color:#a5d6a7!important;color:#000!important}.bg-green-lighten-2{background-color:#81c784!important;color:#000!important}.bg-green-lighten-1{background-color:#66bb6a!important;color:#fff!important}.bg-green-darken-1{background-color:#43a047!important;color:#fff!important}.bg-green-darken-2{background-color:#388e3c!important;color:#fff!important}.bg-green-darken-3{background-color:#2e7d32!important;color:#fff!important}.bg-green-darken-4{background-color:#1b5e20!important;color:#fff!important}.bg-green-accent-1{background-color:#b9f6ca!important;color:#000!important}.bg-green-accent-2{background-color:#69f0ae!important;color:#000!important}.bg-green-accent-3{background-color:#00e676!important;color:#000!important}.bg-green-accent-4{background-color:#00c853!important;color:#000!important}.bg-light-green{background-color:#8bc34a!important;color:#000!important}.bg-light-green-lighten-5{background-color:#f1f8e9!important;color:#000!important}.bg-light-green-lighten-4{background-color:#dcedc8!important;color:#000!important}.bg-light-green-lighten-3{background-color:#c5e1a5!important;color:#000!important}.bg-light-green-lighten-2{background-color:#aed581!important;color:#000!important}.bg-light-green-lighten-1{background-color:#9ccc65!important;color:#000!important}.bg-light-green-darken-1{background-color:#7cb342!important;color:#fff!important}.bg-light-green-darken-2{background-color:#689f38!important;color:#fff!important}.bg-light-green-darken-3{background-color:#558b2f!important;color:#fff!important}.bg-light-green-darken-4{background-color:#33691e!important;color:#fff!important}.bg-light-green-accent-1{background-color:#ccff90!important;color:#000!important}.bg-light-green-accent-2{background-color:#b2ff59!important;color:#000!important}.bg-light-green-accent-3{background-color:#76ff03!important;color:#000!important}.bg-light-green-accent-4{background-color:#64dd17!important;color:#000!important}.bg-lime{background-color:#cddc39!important;color:#000!important}.bg-lime-lighten-5{background-color:#f9fbe7!important;color:#000!important}.bg-lime-lighten-4{background-color:#f0f4c3!important;color:#000!important}.bg-lime-lighten-3{background-color:#e6ee9c!important;color:#000!important}.bg-lime-lighten-2{background-color:#dce775!important;color:#000!important}.bg-lime-lighten-1{background-color:#d4e157!important;color:#000!important}.bg-lime-darken-1{background-color:#c0ca33!important;color:#000!important}.bg-lime-darken-2{background-color:#afb42b!important;color:#000!important}.bg-lime-darken-3{background-color:#9e9d24!important;color:#fff!important}.bg-lime-darken-4{background-color:#827717!important;color:#fff!important}.bg-lime-accent-1{background-color:#f4ff81!important;color:#000!important}.bg-lime-accent-2{background-color:#eeff41!important;color:#000!important}.bg-lime-accent-3{background-color:#c6ff00!important;color:#000!important}.bg-lime-accent-4{background-color:#aeea00!important;color:#000!important}.bg-yellow{background-color:#ffeb3b!important;color:#000!important}.bg-yellow-lighten-5{background-color:#fffde7!important;color:#000!important}.bg-yellow-lighten-4{background-color:#fff9c4!important;color:#000!important}.bg-yellow-lighten-3{background-color:#fff59d!important;color:#000!important}.bg-yellow-lighten-2{background-color:#fff176!important;color:#000!important}.bg-yellow-lighten-1{background-color:#ffee58!important;color:#000!important}.bg-yellow-darken-1{background-color:#fdd835!important;color:#000!important}.bg-yellow-darken-2{background-color:#fbc02d!important;color:#000!important}.bg-yellow-darken-3{background-color:#f9a825!important;color:#000!important}.bg-yellow-darken-4{background-color:#f57f17!important;color:#fff!important}.bg-yellow-accent-1{background-color:#ffff8d!important;color:#000!important}.bg-yellow-accent-2{background-color:#ff0!important;color:#000!important}.bg-yellow-accent-3{background-color:#ffea00!important;color:#000!important}.bg-yellow-accent-4{background-color:#ffd600!important;color:#000!important}.bg-amber{background-color:#ffc107!important;color:#000!important}.bg-amber-lighten-5{background-color:#fff8e1!important;color:#000!important}.bg-amber-lighten-4{background-color:#ffecb3!important;color:#000!important}.bg-amber-lighten-3{background-color:#ffe082!important;color:#000!important}.bg-amber-lighten-2{background-color:#ffd54f!important;color:#000!important}.bg-amber-lighten-1{background-color:#ffca28!important;color:#000!important}.bg-amber-darken-1{background-color:#ffb300!important;color:#000!important}.bg-amber-darken-2{background-color:#ffa000!important;color:#000!important}.bg-amber-darken-3{background-color:#ff8f00!important;color:#000!important}.bg-amber-darken-4{background-color:#ff6f00!important;color:#fff!important}.bg-amber-accent-1{background-color:#ffe57f!important;color:#000!important}.bg-amber-accent-2{background-color:#ffd740!important;color:#000!important}.bg-amber-accent-3{background-color:#ffc400!important;color:#000!important}.bg-amber-accent-4{background-color:#ffab00!important;color:#000!important}.bg-orange{background-color:#ff9800!important;color:#000!important}.bg-orange-lighten-5{background-color:#fff3e0!important;color:#000!important}.bg-orange-lighten-4{background-color:#ffe0b2!important;color:#000!important}.bg-orange-lighten-3{background-color:#ffcc80!important;color:#000!important}.bg-orange-lighten-2{background-color:#ffb74d!important;color:#000!important}.bg-orange-lighten-1{background-color:#ffa726!important;color:#000!important}.bg-orange-darken-1{background-color:#fb8c00!important;color:#fff!important}.bg-orange-darken-2{background-color:#f57c00!important;color:#fff!important}.bg-orange-darken-3{background-color:#ef6c00!important;color:#fff!important}.bg-orange-darken-4{background-color:#e65100!important;color:#fff!important}.bg-orange-accent-1{background-color:#ffd180!important;color:#000!important}.bg-orange-accent-2{background-color:#ffab40!important;color:#000!important}.bg-orange-accent-3{background-color:#ff9100!important;color:#000!important}.bg-orange-accent-4{background-color:#ff6d00!important;color:#fff!important}.bg-deep-orange{background-color:#ff5722!important;color:#fff!important}.bg-deep-orange-lighten-5{background-color:#fbe9e7!important;color:#000!important}.bg-deep-orange-lighten-4{background-color:#ffccbc!important;color:#000!important}.bg-deep-orange-lighten-3{background-color:#ffab91!important;color:#000!important}.bg-deep-orange-lighten-2{background-color:#ff8a65!important;color:#000!important}.bg-deep-orange-lighten-1{background-color:#ff7043!important;color:#fff!important}.bg-deep-orange-darken-1{background-color:#f4511e!important;color:#fff!important}.bg-deep-orange-darken-2{background-color:#e64a19!important;color:#fff!important}.bg-deep-orange-darken-3{background-color:#d84315!important;color:#fff!important}.bg-deep-orange-darken-4{background-color:#bf360c!important;color:#fff!important}.bg-deep-orange-accent-1{background-color:#ff9e80!important;color:#000!important}.bg-deep-orange-accent-2{background-color:#ff6e40!important;color:#fff!important}.bg-deep-orange-accent-3{background-color:#ff3d00!important;color:#fff!important}.bg-deep-orange-accent-4{background-color:#dd2c00!important;color:#fff!important}.bg-brown{background-color:#795548!important;color:#fff!important}.bg-brown-lighten-5{background-color:#efebe9!important;color:#000!important}.bg-brown-lighten-4{background-color:#d7ccc8!important;color:#000!important}.bg-brown-lighten-3{background-color:#bcaaa4!important;color:#000!important}.bg-brown-lighten-2{background-color:#a1887f!important;color:#fff!important}.bg-brown-lighten-1{background-color:#8d6e63!important;color:#fff!important}.bg-brown-darken-1{background-color:#6d4c41!important;color:#fff!important}.bg-brown-darken-2{background-color:#5d4037!important;color:#fff!important}.bg-brown-darken-3{background-color:#4e342e!important;color:#fff!important}.bg-brown-darken-4{background-color:#3e2723!important;color:#fff!important}.bg-blue-grey{background-color:#607d8b!important;color:#fff!important}.bg-blue-grey-lighten-5{background-color:#eceff1!important;color:#000!important}.bg-blue-grey-lighten-4{background-color:#cfd8dc!important;color:#000!important}.bg-blue-grey-lighten-3{background-color:#b0bec5!important;color:#000!important}.bg-blue-grey-lighten-2{background-color:#90a4ae!important;color:#fff!important}.bg-blue-grey-lighten-1{background-color:#78909c!important;color:#fff!important}.bg-blue-grey-darken-1{background-color:#546e7a!important;color:#fff!important}.bg-blue-grey-darken-2{background-color:#455a64!important;color:#fff!important}.bg-blue-grey-darken-3{background-color:#37474f!important;color:#fff!important}.bg-blue-grey-darken-4{background-color:#263238!important;color:#fff!important}.bg-grey{background-color:#9e9e9e!important;color:#fff!important}.bg-grey-lighten-5{background-color:#fafafa!important;color:#000!important}.bg-grey-lighten-4{background-color:#f5f5f5!important;color:#000!important}.bg-grey-lighten-3{background-color:#eee!important;color:#000!important}.bg-grey-lighten-2{background-color:#e0e0e0!important;color:#000!important}.bg-grey-lighten-1{background-color:#bdbdbd!important;color:#000!important}.bg-grey-darken-1{background-color:#757575!important;color:#fff!important}.bg-grey-darken-2{background-color:#616161!important;color:#fff!important}.bg-grey-darken-3{background-color:#424242!important;color:#fff!important}.bg-grey-darken-4{background-color:#212121!important;color:#fff!important}.bg-shades-black{background-color:#000!important;color:#fff!important}.bg-shades-white{background-color:#fff!important;color:#000!important}.bg-shades-transparent{background-color:transparent!important;color:currentColor!important}.text-black{color:#000!important}.text-white{color:#fff!important}.text-transparent{color:transparent!important}.text-red{color:#f44336!important}.text-red-lighten-5{color:#ffebee!important}.text-red-lighten-4{color:#ffcdd2!important}.text-red-lighten-3{color:#ef9a9a!important}.text-red-lighten-2{color:#e57373!important}.text-red-lighten-1{color:#ef5350!important}.text-red-darken-1{color:#e53935!important}.text-red-darken-2{color:#d32f2f!important}.text-red-darken-3{color:#c62828!important}.text-red-darken-4{color:#b71c1c!important}.text-red-accent-1{color:#ff8a80!important}.text-red-accent-2{color:#ff5252!important}.text-red-accent-3{color:#ff1744!important}.text-red-accent-4{color:#d50000!important}.text-pink{color:#e91e63!important}.text-pink-lighten-5{color:#fce4ec!important}.text-pink-lighten-4{color:#f8bbd0!important}.text-pink-lighten-3{color:#f48fb1!important}.text-pink-lighten-2{color:#f06292!important}.text-pink-lighten-1{color:#ec407a!important}.text-pink-darken-1{color:#d81b60!important}.text-pink-darken-2{color:#c2185b!important}.text-pink-darken-3{color:#ad1457!important}.text-pink-darken-4{color:#880e4f!important}.text-pink-accent-1{color:#ff80ab!important}.text-pink-accent-2{color:#ff4081!important}.text-pink-accent-3{color:#f50057!important}.text-pink-accent-4{color:#c51162!important}.text-purple{color:#9c27b0!important}.text-purple-lighten-5{color:#f3e5f5!important}.text-purple-lighten-4{color:#e1bee7!important}.text-purple-lighten-3{color:#ce93d8!important}.text-purple-lighten-2{color:#ba68c8!important}.text-purple-lighten-1{color:#ab47bc!important}.text-purple-darken-1{color:#8e24aa!important}.text-purple-darken-2{color:#7b1fa2!important}.text-purple-darken-3{color:#6a1b9a!important}.text-purple-darken-4{color:#4a148c!important}.text-purple-accent-1{color:#ea80fc!important}.text-purple-accent-2{color:#e040fb!important}.text-purple-accent-3{color:#d500f9!important}.text-purple-accent-4{color:#a0f!important}.text-deep-purple{color:#673ab7!important}.text-deep-purple-lighten-5{color:#ede7f6!important}.text-deep-purple-lighten-4{color:#d1c4e9!important}.text-deep-purple-lighten-3{color:#b39ddb!important}.text-deep-purple-lighten-2{color:#9575cd!important}.text-deep-purple-lighten-1{color:#7e57c2!important}.text-deep-purple-darken-1{color:#5e35b1!important}.text-deep-purple-darken-2{color:#512da8!important}.text-deep-purple-darken-3{color:#4527a0!important}.text-deep-purple-darken-4{color:#311b92!important}.text-deep-purple-accent-1{color:#b388ff!important}.text-deep-purple-accent-2{color:#7c4dff!important}.text-deep-purple-accent-3{color:#651fff!important}.text-deep-purple-accent-4{color:#6200ea!important}.text-indigo{color:#3f51b5!important}.text-indigo-lighten-5{color:#e8eaf6!important}.text-indigo-lighten-4{color:#c5cae9!important}.text-indigo-lighten-3{color:#9fa8da!important}.text-indigo-lighten-2{color:#7986cb!important}.text-indigo-lighten-1{color:#5c6bc0!important}.text-indigo-darken-1{color:#3949ab!important}.text-indigo-darken-2{color:#303f9f!important}.text-indigo-darken-3{color:#283593!important}.text-indigo-darken-4{color:#1a237e!important}.text-indigo-accent-1{color:#8c9eff!important}.text-indigo-accent-2{color:#536dfe!important}.text-indigo-accent-3{color:#3d5afe!important}.text-indigo-accent-4{color:#304ffe!important}.text-blue{color:#2196f3!important}.text-blue-lighten-5{color:#e3f2fd!important}.text-blue-lighten-4{color:#bbdefb!important}.text-blue-lighten-3{color:#90caf9!important}.text-blue-lighten-2{color:#64b5f6!important}.text-blue-lighten-1{color:#42a5f5!important}.text-blue-darken-1{color:#1e88e5!important}.text-blue-darken-2{color:#1976d2!important}.text-blue-darken-3{color:#1565c0!important}.text-blue-darken-4{color:#0d47a1!important}.text-blue-accent-1{color:#82b1ff!important}.text-blue-accent-2{color:#448aff!important}.text-blue-accent-3{color:#2979ff!important}.text-blue-accent-4{color:#2962ff!important}.text-light-blue{color:#03a9f4!important}.text-light-blue-lighten-5{color:#e1f5fe!important}.text-light-blue-lighten-4{color:#b3e5fc!important}.text-light-blue-lighten-3{color:#81d4fa!important}.text-light-blue-lighten-2{color:#4fc3f7!important}.text-light-blue-lighten-1{color:#29b6f6!important}.text-light-blue-darken-1{color:#039be5!important}.text-light-blue-darken-2{color:#0288d1!important}.text-light-blue-darken-3{color:#0277bd!important}.text-light-blue-darken-4{color:#01579b!important}.text-light-blue-accent-1{color:#80d8ff!important}.text-light-blue-accent-2{color:#40c4ff!important}.text-light-blue-accent-3{color:#00b0ff!important}.text-light-blue-accent-4{color:#0091ea!important}.text-cyan{color:#00bcd4!important}.text-cyan-lighten-5{color:#e0f7fa!important}.text-cyan-lighten-4{color:#b2ebf2!important}.text-cyan-lighten-3{color:#80deea!important}.text-cyan-lighten-2{color:#4dd0e1!important}.text-cyan-lighten-1{color:#26c6da!important}.text-cyan-darken-1{color:#00acc1!important}.text-cyan-darken-2{color:#0097a7!important}.text-cyan-darken-3{color:#00838f!important}.text-cyan-darken-4{color:#006064!important}.text-cyan-accent-1{color:#84ffff!important}.text-cyan-accent-2{color:#18ffff!important}.text-cyan-accent-3{color:#00e5ff!important}.text-cyan-accent-4{color:#00b8d4!important}.text-teal{color:#009688!important}.text-teal-lighten-5{color:#e0f2f1!important}.text-teal-lighten-4{color:#b2dfdb!important}.text-teal-lighten-3{color:#80cbc4!important}.text-teal-lighten-2{color:#4db6ac!important}.text-teal-lighten-1{color:#26a69a!important}.text-teal-darken-1{color:#00897b!important}.text-teal-darken-2{color:#00796b!important}.text-teal-darken-3{color:#00695c!important}.text-teal-darken-4{color:#004d40!important}.text-teal-accent-1{color:#a7ffeb!important}.text-teal-accent-2{color:#64ffda!important}.text-teal-accent-3{color:#1de9b6!important}.text-teal-accent-4{color:#00bfa5!important}.text-green{color:#4caf50!important}.text-green-lighten-5{color:#e8f5e9!important}.text-green-lighten-4{color:#c8e6c9!important}.text-green-lighten-3{color:#a5d6a7!important}.text-green-lighten-2{color:#81c784!important}.text-green-lighten-1{color:#66bb6a!important}.text-green-darken-1{color:#43a047!important}.text-green-darken-2{color:#388e3c!important}.text-green-darken-3{color:#2e7d32!important}.text-green-darken-4{color:#1b5e20!important}.text-green-accent-1{color:#b9f6ca!important}.text-green-accent-2{color:#69f0ae!important}.text-green-accent-3{color:#00e676!important}.text-green-accent-4{color:#00c853!important}.text-light-green{color:#8bc34a!important}.text-light-green-lighten-5{color:#f1f8e9!important}.text-light-green-lighten-4{color:#dcedc8!important}.text-light-green-lighten-3{color:#c5e1a5!important}.text-light-green-lighten-2{color:#aed581!important}.text-light-green-lighten-1{color:#9ccc65!important}.text-light-green-darken-1{color:#7cb342!important}.text-light-green-darken-2{color:#689f38!important}.text-light-green-darken-3{color:#558b2f!important}.text-light-green-darken-4{color:#33691e!important}.text-light-green-accent-1{color:#ccff90!important}.text-light-green-accent-2{color:#b2ff59!important}.text-light-green-accent-3{color:#76ff03!important}.text-light-green-accent-4{color:#64dd17!important}.text-lime{color:#cddc39!important}.text-lime-lighten-5{color:#f9fbe7!important}.text-lime-lighten-4{color:#f0f4c3!important}.text-lime-lighten-3{color:#e6ee9c!important}.text-lime-lighten-2{color:#dce775!important}.text-lime-lighten-1{color:#d4e157!important}.text-lime-darken-1{color:#c0ca33!important}.text-lime-darken-2{color:#afb42b!important}.text-lime-darken-3{color:#9e9d24!important}.text-lime-darken-4{color:#827717!important}.text-lime-accent-1{color:#f4ff81!important}.text-lime-accent-2{color:#eeff41!important}.text-lime-accent-3{color:#c6ff00!important}.text-lime-accent-4{color:#aeea00!important}.text-yellow{color:#ffeb3b!important}.text-yellow-lighten-5{color:#fffde7!important}.text-yellow-lighten-4{color:#fff9c4!important}.text-yellow-lighten-3{color:#fff59d!important}.text-yellow-lighten-2{color:#fff176!important}.text-yellow-lighten-1{color:#ffee58!important}.text-yellow-darken-1{color:#fdd835!important}.text-yellow-darken-2{color:#fbc02d!important}.text-yellow-darken-3{color:#f9a825!important}.text-yellow-darken-4{color:#f57f17!important}.text-yellow-accent-1{color:#ffff8d!important}.text-yellow-accent-2{color:#ff0!important}.text-yellow-accent-3{color:#ffea00!important}.text-yellow-accent-4{color:#ffd600!important}.text-amber{color:#ffc107!important}.text-amber-lighten-5{color:#fff8e1!important}.text-amber-lighten-4{color:#ffecb3!important}.text-amber-lighten-3{color:#ffe082!important}.text-amber-lighten-2{color:#ffd54f!important}.text-amber-lighten-1{color:#ffca28!important}.text-amber-darken-1{color:#ffb300!important}.text-amber-darken-2{color:#ffa000!important}.text-amber-darken-3{color:#ff8f00!important}.text-amber-darken-4{color:#ff6f00!important}.text-amber-accent-1{color:#ffe57f!important}.text-amber-accent-2{color:#ffd740!important}.text-amber-accent-3{color:#ffc400!important}.text-amber-accent-4{color:#ffab00!important}.text-orange{color:#ff9800!important}.text-orange-lighten-5{color:#fff3e0!important}.text-orange-lighten-4{color:#ffe0b2!important}.text-orange-lighten-3{color:#ffcc80!important}.text-orange-lighten-2{color:#ffb74d!important}.text-orange-lighten-1{color:#ffa726!important}.text-orange-darken-1{color:#fb8c00!important}.text-orange-darken-2{color:#f57c00!important}.text-orange-darken-3{color:#ef6c00!important}.text-orange-darken-4{color:#e65100!important}.text-orange-accent-1{color:#ffd180!important}.text-orange-accent-2{color:#ffab40!important}.text-orange-accent-3{color:#ff9100!important}.text-orange-accent-4{color:#ff6d00!important}.text-deep-orange{color:#ff5722!important}.text-deep-orange-lighten-5{color:#fbe9e7!important}.text-deep-orange-lighten-4{color:#ffccbc!important}.text-deep-orange-lighten-3{color:#ffab91!important}.text-deep-orange-lighten-2{color:#ff8a65!important}.text-deep-orange-lighten-1{color:#ff7043!important}.text-deep-orange-darken-1{color:#f4511e!important}.text-deep-orange-darken-2{color:#e64a19!important}.text-deep-orange-darken-3{color:#d84315!important}.text-deep-orange-darken-4{color:#bf360c!important}.text-deep-orange-accent-1{color:#ff9e80!important}.text-deep-orange-accent-2{color:#ff6e40!important}.text-deep-orange-accent-3{color:#ff3d00!important}.text-deep-orange-accent-4{color:#dd2c00!important}.text-brown{color:#795548!important}.text-brown-lighten-5{color:#efebe9!important}.text-brown-lighten-4{color:#d7ccc8!important}.text-brown-lighten-3{color:#bcaaa4!important}.text-brown-lighten-2{color:#a1887f!important}.text-brown-lighten-1{color:#8d6e63!important}.text-brown-darken-1{color:#6d4c41!important}.text-brown-darken-2{color:#5d4037!important}.text-brown-darken-3{color:#4e342e!important}.text-brown-darken-4{color:#3e2723!important}.text-blue-grey{color:#607d8b!important}.text-blue-grey-lighten-5{color:#eceff1!important}.text-blue-grey-lighten-4{color:#cfd8dc!important}.text-blue-grey-lighten-3{color:#b0bec5!important}.text-blue-grey-lighten-2{color:#90a4ae!important}.text-blue-grey-lighten-1{color:#78909c!important}.text-blue-grey-darken-1{color:#546e7a!important}.text-blue-grey-darken-2{color:#455a64!important}.text-blue-grey-darken-3{color:#37474f!important}.text-blue-grey-darken-4{color:#263238!important}.text-grey{color:#9e9e9e!important}.text-grey-lighten-5{color:#fafafa!important}.text-grey-lighten-4{color:#f5f5f5!important}.text-grey-lighten-3{color:#eee!important}.text-grey-lighten-2{color:#e0e0e0!important}.text-grey-lighten-1{color:#bdbdbd!important}.text-grey-darken-1{color:#757575!important}.text-grey-darken-2{color:#616161!important}.text-grey-darken-3{color:#424242!important}.text-grey-darken-4{color:#212121!important}.text-shades-black{color:#000!important}.text-shades-white{color:#fff!important}.text-shades-transparent{color:transparent!important}/*! ->>>>>>>> develop:js-component/dist/assets/index-36755211.css * ress.css • v2.0.4 * MIT License * github.com/filipelinhares/ress diff --git a/js-component/dist/index.html b/js-component/dist/index.html index e5fd577d..972e368f 100644 --- a/js-component/dist/index.html +++ b/js-component/dist/index.html @@ -5,13 +5,8 @@ openms-streamlit-vue-component -<<<<<<< HEAD -======= - - ->>>>>>> develop